You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
NewEduCoderBuild/p__Engineering__Lists__Docu...

94 lines
565 KiB

(self.webpackChunk=self.webpackChunk||[]).push([[5775],{65352:function(It,Fe,l){"use strict";l.d(Fe,{Z:function(){return we}});var T=l(89490),A=l(11036),j=l(39224),X=l(43403),V=l(92310),h=l.n(V),$=l(29301),G=l(76846),e=l(96452),s=l(6089),c=l(80402),t=l(34280),r=l(49658),i=l(59301),o=l(71409),v=l(77900),b=l(8654);function S(E){var B=E.prefixCls,O=E.align,q=E.arrow,ie=E.arrowPos,R=q||{},g=R.className,P=R.content,z=ie.x,D=z===void 0?0:z,U=ie.y,Z=U===void 0?0:U,te=i.useRef();if(!O||!O.points)return null;var J={position:"absolute"};if(O.autoArrow!==!1){var ce=O.points[0],Ee=O.points[1],xe=ce[0],Be=ce[1],Ie=Ee[0],fe=Ee[1];xe===Ie||!["t","b"].includes(xe)?J.top=Z:xe==="t"?J.top=0:J.bottom=0,Be===fe||!["l","r"].includes(Be)?J.left=D:Be==="l"?J.left=0:J.right=0}return i.createElement("div",{ref:te,className:h()("".concat(B,"-arrow"),g),style:J},P)}function p(E){var B=E.prefixCls,O=E.open,q=E.zIndex,ie=E.mask,R=E.motion;return ie?i.createElement(v.default,(0,o.Z)({},R,{motionAppear:!0,visible:O,removeOnLeave:!0}),function(g){var P=g.className;return i.createElement("div",{style:{zIndex:q},className:h()("".concat(B,"-mask"),P)})}):null}var m=i.memo(function(E){var B=E.children;return B},function(E,B){return B.cache}),f=m,u=i.forwardRef(function(E,B){var O=E.popup,q=E.className,ie=E.prefixCls,R=E.style,g=E.target,P=E.onVisibleChanged,z=E.open,D=E.keepDom,U=E.fresh,Z=E.onClick,te=E.mask,J=E.arrow,ce=E.arrowPos,Ee=E.align,xe=E.motion,Be=E.maskMotion,Ie=E.forceRender,fe=E.getPopupContainer,Ze=E.autoDestroy,Oe=E.portal,De=E.zIndex,rt=E.onMouseEnter,Ct=E.onMouseLeave,Qe=E.onPointerEnter,Ot=E.onPointerDownCapture,tn=E.ready,ht=E.offsetX,at=E.offsetY,bt=E.offsetR,Xt=E.offsetB,Mt=E.onAlign,Yt=E.onPrepare,rn=E.stretch,Jt=E.targetWidth,Ve=E.targetHeight,_t=typeof O=="function"?O():O,Vt=z||D,gn=(fe==null?void 0:fe.length)>0,Zt=i.useState(!fe||!gn),An=(0,A.Z)(Zt,2),Vn=An[0],wn=An[1];if((0,t.Z)(function(){!Vn&&gn&&g&&wn(!0)},[Vn,gn,g]),!Vn)return null;var zt="auto",Nn={left:"-1000vw",top:"-1000vh",right:zt,bottom:zt};if(tn||!z){var Cn,On=Ee.points,_n=Ee.dynamicInset||((Cn=Ee._experimental)===null||Cn===void 0?void 0:Cn.dynamicInset),Sn=_n&&On[0][1]==="r",Mn=_n&&On[0][0]==="b";Sn?(Nn.right=bt,Nn.left=zt):(Nn.left=ht,Nn.right=zt),Mn?(Nn.bottom=Xt,Nn.top=zt):(Nn.top=at,Nn.bottom=zt)}var fn={};return rn&&(rn.includes("height")&&Ve?fn.height=Ve:rn.includes("minHeight")&&Ve&&(fn.minHeight=Ve),rn.includes("width")&&Jt?fn.width=Jt:rn.includes("minWidth")&&Jt&&(fn.minWidth=Jt)),z||(fn.pointerEvents="none"),i.createElement(Oe,{open:Ie||Vt,getContainer:fe&&function(){return fe(g)},autoDestroy:Ze},i.createElement(p,{prefixCls:ie,open:z,zIndex:De,mask:te,motion:Be}),i.createElement($.Z,{onResize:Mt,disabled:!z},function(dn){return i.createElement(v.default,(0,o.Z)({motionAppear:!0,motionEnter:!0,motionLeave:!0,removeOnLeave:!1,forceRender:Ie,leavedClassName:"".concat(ie,"-hidden")},xe,{onAppearPrepare:Yt,onEnterPrepare:Yt,visible:z,onVisibleChanged:function(Fn){var ne;xe==null||(ne=xe.onVisibleChanged)===null||ne===void 0||ne.call(xe,Fn),P(Fn)}}),function(Zn,Fn){var ne=Zn.className,Q=Zn.style,We=h()(ie,ne,q);return i.createElement("div",{ref:(0,b.sQ)(dn,B,Fn),className:We,style:(0,T.Z)((0,T.Z)((0,T.Z)((0,T.Z)({"--arrow-x":"".concat(ce.x||0,"px"),"--arrow-y":"".concat(ce.y||0,"px")},Nn),fn),Q),{},{boxSizing:"border-box",zIndex:De},R),onMouseEnter:rt,onMouseLeave:Ct,onPointerEnter:Qe,onClick:Z,onPointerDownCapture:Ot},J&&i.createElement(S,{prefixCls:ie,arrow:J,arrowPos:ce,align:Ee}),i.createElement(f,{cache:!z&&!U},_t))})}))}),k=u,I=i.forwardRef(function(E,B){var O=E.children,q=E.getTriggerDOMNode,ie=(0,b.Yr)(O),R=i.useCallback(function(P){(0,b.mH)(B,q?q(P):P)},[q]),g=(0,b.x1)(R,(0,b.C4)(O));return ie?i.cloneElement(O,{ref:g}):O}),F=I,K=i.createContext(null),Y=K;function W(E){return E?Array.isArray(E)?E:[E]:[]}function Pe(E,B,O,q){return i.useMemo(function(){var ie=W(O!=null?O:B),R=W(q!=null?q:B),g=new Set(ie),P=new Set(R);return E&&(g.has("hover")&&(g.delete("hover"),g.add("click")),P.has("hover")&&(P.delete("hover"),P.add("click"))),[g,P]},[E,B,O,q])}var w=l(29194);function _(){var E=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],B=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],O=arguments.length>2?arguments[2]:void 0;return O?E[0]===B[0]:E[0]===B[0]&&E[1]===B[1]}function x(E,B,O,q){for(var ie=O.points,R=Object.keys(E),g=0;g<R.length;g+=1){var P,z=R[g];if(_((P=E[z])===null||P===void 0?void 0:P.points,ie,q))return"".concat(B,"-placement-").concat(z)}return""}function N(E,B,O,q){return B||(O?{motionName:"".concat(E,"-").concat(O)}:q?{motionName:q}:null)}function C(E){return E.ownerDocument.defaultView}function y(E){for(var B=[],O=E==null?void 0:E.parentElement,q=["hidden","scroll","clip","auto"];O;){var ie=C(O).getComputedStyle(O),R=ie.overflowX,g=ie.overflowY,P=ie.overflow;[R,g,P].some(function(z){return q.includes(z)})&&B.push(O),O=O.parentElement}return B}function n(E){var B=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;return Number.isNaN(E)?B:E}function a(E){return n(parseFloat(E),0)}function d(E,B){var O=(0,T.Z)({},E);return(B||[]).forEach(function(q){if(!(q instanceof HTMLBodyElement||q instanceof HTMLHtmlElement)){var ie=C(q).getComputedStyle(q),R=ie.overflow,g=ie.overflowClipMargin,P=ie.borderTopWidth,z=ie.borderBottomWidth,D=ie.borderLeftWidth,U=ie.borderRightWidth,Z=q.getBoundingClientRect(),te=q.offsetHeight,J=q.clientHeight,ce=q.offsetWidth,Ee=q.clientWidth,xe=a(P),Be=a(z),Ie=a(D),fe=a(U),Ze=n(Math.round(Z.width/ce*1e3)/1e3),Oe=n(Math.round(Z.height/te*1e3)/1e3),De=(ce-Ee-Ie-fe)*Ze,rt=(te-J-xe-Be)*Oe,Ct=xe*Oe,Qe=Be*Oe,Ot=Ie*Ze,tn=fe*Ze,ht=0,at=0;if(R==="clip"){var bt=a(g);ht=bt*Ze,at=bt*Oe}var Xt=Z.x+Ot-ht,Mt=Z.y+Ct-at,Yt=Xt+Z.width+2*ht-Ot-tn-De,rn=Mt+Z.height+2*at-Ct-Qe-rt;O.left=Math.max(O.left,Xt),O.top=Math.max(O.top,Mt),O.right=Math.min(O.right,Yt),O.bottom=Math.min(O.bottom,rn)}}),O}function M(E){var B=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,O="".concat(B),q=O.match(/^(.*)\%$/);return q?E*(parseFloat(q[1])/100):parseFloat(O)}function ae(E,B){var O=B||[],q=(0,A.Z)(O,2),ie=q[0],R=q[1];return[M(E.width,ie),M(E.height,R)]}function de(){var E=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return[E[0],E[1]]}function ye(E,B){var O=B[0],q=B[1],ie,R;return O==="t"?R=E.y:O==="b"?R=E.y+E.height:R=E.y+E.height/2,q==="l"?ie=E.x:q==="r"?ie=E.x+E.width:ie=E.x+E.width/2,{x:ie,y:R}}function Ae(E,B){var O={t:"b",b:"t",l:"r",r:"l"};return E.map(function(q,ie){return ie===B?O[q]||"c":q}).join("")}function He(E,B,O,q,ie,R,g){var P=i.useState({ready:!1,offsetX:0,offsetY:0,offsetR:0,offsetB:0,arrowX:0,arrowY:0,scaleX:1,scaleY:1,align:ie[q]||{}}),z=(0,A.Z)(P,2),D=z[0],U=z[1],Z=i.useRef(0),te=i.useMemo(function(){return B?y(B):[]},[B]),J=i.useRef({}),ce=function(){J.current={}};E||ce();var Ee=(0,s.Z)(function(){if(B&&O&&E){let Wn=function(xn,En){var St=arguments.length>2&&arguments[2]!==void 0?arguments[2]:ct,nn=Zt.x+xn,en=Zt.y+En,ln=nn+Sn,Dn=en+_n,Bn=Math.max(nn,St.left),Rt=Math.max(en,St.top),Wt=Math.min(ln,St.right),Rn=Math.min(Dn,St.bottom);return Math.max(0,(Wt-Bn)*(Rn-Rt))},Kn=function(){_e=Zt.y+xt,Se=_e+_n,je=Zt.x+yt,ke=je+Sn};var Ie,fe,Ze,Oe,De=B,rt=De.ownerDocument,Ct=C(De),Qe=Ct.getComputedStyle(De),Ot=Qe.width,tn=Qe.height,ht=Qe.position,at=De.style.left,bt=De.style.top,Xt=De.style.right,Mt=De.style.bottom,Yt=De.style.overflow,rn=(0,T.Z)((0,T.Z)({},ie[q]),R),Jt=rt.createElement("div");(Ie=De.parentElement)===null||Ie===void 0||Ie.appendChild(Jt),Jt.style.left="".concat(De.offsetLeft,"px"),Jt.style.top="".concat(De.offsetTop,"px"),Jt.style.position=ht,Jt.style.height="".concat(De.offsetHeight,"px"),Jt.style.width="".concat(De.offsetWidth,"px"),De.style.left="0",De.style.top="0",De.style.right="auto",De.style.bottom="auto",De.style.overflow="hidden";var Ve;if(Array.isArray(O))Ve={x:O[0],y:O[1],width:0,height:0};else{var _t,Vt,gn=O.getBoundingClientRect();gn.x=(_t=gn.x)!==null&&_t!==void 0?_t:gn.left,gn.y=(Vt=gn.y)!==null&&Vt!==void 0?Vt:gn.top,Ve={x:gn.x,y:gn.y,width:gn.width,height:gn.height}}var Zt=De.getBoundingClientRect();Zt.x=(fe=Zt.x)!==null&&fe!==void 0?fe:Zt.left,Zt.y=(Ze=Zt.y)!==null&&Ze!==void 0?Ze:Zt.top;var An=rt.documentElement,Vn=An.clientWidth,wn=An.clientHeight,zt=An.scrollWidth,Nn=An.scrollHeight,Cn=An.scrollTop,On=An.scrollLeft,_n=Zt.height,Sn=Zt.width,Mn=Ve.height,fn=Ve.width,dn={left:0,top:0,right:Vn,bottom:wn},Zn={left:-On,top:-Cn,right:zt-On,bottom:Nn-Cn},Fn=rn.htmlRegion,ne="visible",Q="visibleFirst";Fn!=="scroll"&&Fn!==Q&&(Fn=ne);var We=Fn===Q,ze=d(Zn,te),Le=d(dn,te),ct=Fn===ne?Le:ze,ge=We?Le:ct;De.style.left="auto",De.style.top="auto",De.style.right="0",De.style.bottom="0";var pe=De.getBoundingClientRect();De.style.left=at,De.style.top=bt,De.style.right=Xt,De.style.bottom=Mt,De.style.overflow=Yt,(Oe=De.parentElement)===null||Oe===void 0||Oe.removeChild(Jt);var Ke=n(Math.round(Sn/parseFloat(Ot)*1e3)/1e3),Xe=n(Math.round(_n/parseFloat(tn)*1e3)/1e3);if(Ke===0||Xe===0||(0,G.Sh)(O)&&!(0,w.Z)(O))return;var lt=rn.offset,wt=rn.targetOffset,et=ae(Zt,lt),$e=(0,A.Z)(et,2),H=$e[0],se=$e[1],ve=ae(Ve,wt),he=(0,A.Z)(ve,2),Me=he[0],Ue=he[1];Ve.x-=Me,Ve.y-=Ue;var Te=rn.points||[],Ye=(0,A.Z)(Te,2),qe=Ye[0],ot=Ye[1],Dt=de(ot),it=de(qe),Lt=ye(Ve,Dt),Ft=ye(Zt,it),Bt=(0,T.Z)({},rn),yt=Lt.x-Ft.x+H,xt=Lt.y-Ft.y+se,Ut=Wn(yt,xt),nt=Wn(yt,xt,Le),ft=ye(Ve,["t","l"]),vt=ye(Zt,["t","l"]),Ht=ye(Ve,["b","r"]),Tt=ye(Zt,["b","r"]),jt=rn.overflow||{},Ln=jt.adjustX,L=jt.adjustY,oe=jt.shiftX,ee=jt.shiftY,le=function(En){return typeof En=="boolean"?En:En>=0},_e,Se,je,ke;Kn();var Ne=le(L),re=it[0]===Dt[0];if(Ne&&it[0]==="t"&&(Se>ge.bottom||J.current.bt)){var ue=xt;re?ue-=_n-Mn:ue=ft.y-Tt.y-se;var me=Wn(yt,ue),Ce=Wn(yt,ue,Le);me>Ut||me===Ut&&(!We||Ce>=nt)?(J.current.bt=!0,xt=ue,se=-se,Bt.points=[Ae(it,0),Ae(Dt,0)]):J.current.bt=!1}if(Ne&&it[0]==="b"&&(_e<ge.top||J.current.tb)){var Re=xt;re?Re+=_n-Mn:Re=Ht.y-vt.y-se;var Je=Wn(yt,Re),pt=Wn(yt,Re,Le);Je>Ut||Je===Ut&&(!We||pt>=nt)?(J.current.tb=!0,xt=Re,se=-se,Bt.points=[Ae(it,0),Ae(Dt,0)]):J.current.tb=!1}var tt=le(Ln),Pt=it[1]===Dt[1];if(tt&&it[1]==="l"&&(ke>ge.right||J.current.rl)){var At=yt;Pt?At-=Sn-fn:At=ft.x-Tt.x-H;var kt=Wn(At,xt),Qt=Wn(At,xt,Le);kt>Ut||kt===Ut&&(!We||Qt>=nt)?(J.current.rl=!0,yt=At,H=-H,Bt.points=[Ae(it,1),Ae(Dt,1)]):J.current.rl=!1}if(tt&&it[1]==="r"&&(je<ge.left||J.current.lr)){var dt=yt;Pt?dt+=Sn-fn:dt=Ht.x-vt.x-H;var mn=Wn(dt,xt),un=Wn(dt,xt,Le);mn>Ut||mn===Ut&&(!We||un>=nt)?(J.current.lr=!0,yt=dt,H=-H,Bt.points=[Ae(it,1),Ae(Dt,1)]):J.current.lr=!1}Kn();var sn=oe===!0?0:oe;typeof sn=="number"&&(je<Le.left&&(yt-=je-Le.left-H,Ve.x+fn<Le.left+sn&&(yt+=Ve.x-Le.left+fn-sn)),ke>Le.right&&(yt-=ke-Le.right-H,Ve.x>Le.right-sn&&(yt+=Ve.x-Le.right+sn)));var $t=ee===!0?0:ee;typeof $t=="number"&&(_e<Le.top&&(xt-=_e-Le.top-se,Ve.y+Mn<Le.top+$t&&(xt+=Ve.y-Le.top+Mn-$t)),Se>Le.bottom&&(xt-=Se-Le.bottom-se,Ve.y>Le.bottom-$t&&(xt+=Ve.y-Le.bottom+$t)));var on=Zt.x+yt,yn=on+Sn,an=Zt.y+xt,vn=an+_n,Kt=Ve.x,gt=Kt+fn,Nt=Ve.y,qt=Nt+Mn,pn=Math.max(on,Kt),cn=Math.min(yn,gt),hn=(pn+cn)/2,Un=hn-on,Jn=Math.max(an,Nt),Gn=Math.min(vn,qt),sr=(Jn+Gn)/2,ar=sr-an;g==null||g(B,Bt);var Yn=pe.right-Zt.x-(yt+Zt.width),bn=pe.bottom-Zt.y-(xt+Zt.height);Ke===1&&(yt=Math.round(yt),Yn=Math.round(Yn)),Xe===1&&(xt=Math.round(xt),bn=Math.round(bn));var In={ready:!0,offsetX:yt/Ke,offsetY:xt/Xe,offsetR:Yn/Ke,offsetB:bn/Xe,arrowX:Un/Ke,arrowY:ar/Xe,scaleX:Ke,scaleY:Xe,align:Bt};U(In)}}),xe=function(){Z.current+=1;var fe=Z.current;Promise.resolve().then(function(){Z.current===fe&&Ee()})},Be=function(){U(function(fe){return(0,T.Z)((0,T.Z)({},fe),{},{ready:!1})})};return(0,t.Z)(Be,[q]),(0,t.Z)(function(){E||Be()},[E]),[D.ready,D.offsetX,D.offsetY,D.offsetR,D.offsetB,D.arrowX,D.arrowY,D.scaleX,D.scaleY,D.align,xe]}var mt=l(62730);function be(E,B,O,q,ie){(0,t.Z)(function(){if(E&&B&&O){let Z=function(){q(),ie()};var R=B,g=O,P=y(R),z=y(g),D=C(g),U=new Set([D].concat((0,mt.Z)(P),(0,mt.Z)(z)));return U.forEach(function(te){te.addEventListener("scroll",Z,{passive:!0})}),D.addEventListener("resize",Z,{passive:!0}),q(),function(){U.forEach(function(te){te.removeEventListener("scroll",Z),D.removeEventListener("resize",Z)})}}},[E,B,O])}var Ge=l(48736);function ut(E,B,O,q,ie,R,g,P){var z=i.useRef(E);z.current=E;var D=i.useRef(!1);i.useEffect(function(){if(B&&q&&(!ie||R)){var Z=function(){D.current=!1},te=function(Ze){var Oe;z.current&&!g(((Oe=Ze.composedPath)===null||Oe===void 0||(Oe=Oe.call(Ze))===null||Oe===void 0?void 0:Oe[0])||Ze.target)&&!D.current&&P(!1)},J=C(q);J.addEventListener("pointerdown",Z,!0),J.addEventListener("mousedown",te,!0),J.addEventListener("contextmenu",te,!0);var ce=(0,e.A)(O);if(ce&&(ce.addEventListener("mousedown",te,!0),ce.addEventListener("contextmenu",te,!0)),0)var Ee,xe,Be,Ie;return function(){J.removeEventListener("pointerdown",Z,!0),J.removeEventListener("mousedown",te,!0),J.removeEventListener("contextmenu",te,!0),ce&&(ce.removeEventListener("mousedown",te,!0),ce.removeEventListener("contextmenu",te,!0))}}},[B,O,q,ie,R]);function U(){D.current=!0}return U}var Et=["prefixCls","children","action","showAction","hideAction","popupVisible","defaultPopupVisible","onPopupVisibleChange","afterPopupVisibleChange","mouseEnterDelay","mouseLeaveDelay","focusDelay","blurDelay","mask","maskClosable","getPopupContainer","forceRender","autoDestroy","destroyPopupOnHide","popup","popupClassName","popupStyle","popupPlacement","builtinPlacements","popupAlign","zIndex","stretch","getPopupClassNameFromAlign","fresh","alignPoint","onPopupClick","onPopupAlign","arrow","popupMotion","maskMotion","popupTransitionName","popupAnimation","maskTransitionName","maskAnimation","className","getTriggerDOMNode"];function st(){var E=arguments.length>0&&arguments[0]!==void 0?arguments[0]:X.Z,B=i.forwardRef(function(O,q){var ie=O.prefixCls,R=ie===void 0?"rc-trigger-popup":ie,g=O.children,P=O.action,z=P===void 0?"hover":P,D=O.showAction,U=O.hideAction,Z=O.popupVisible,te=O.defaultPopupVisible,J=O.onPopupVisibleChange,ce=O.afterPopupVisibleChange,Ee=O.mouseEnterDelay,xe=O.mouseLeaveDelay,Be=xe===void 0?.1:xe,Ie=O.focusDelay,fe=O.blurDelay,Ze=O.mask,Oe=O.maskClosable,De=Oe===void 0?!0:Oe,rt=O.getPopupContainer,Ct=O.forceRender,Qe=O.autoDestroy,Ot=O.destroyPopupOnHide,tn=O.popup,ht=O.popupClassName,at=O.popupStyle,bt=O.popupPlacement,Xt=O.builtinPlacements,Mt=Xt===void 0?{}:Xt,Yt=O.popupAlign,rn=O.zIndex,Jt=O.stretch,Ve=O.getPopupClassNameFromAlign,_t=O.fresh,Vt=O.alignPoint,gn=O.onPopupClick,Zt=O.onPopupAlign,An=O.arrow,Vn=O.popupMotion,wn=O.maskMotion,zt=O.popupTransitionName,Nn=O.popupAnimation,Cn=O.maskTransitionName,On=O.maskAnimation,_n=O.className,Sn=O.getTriggerDOMNode,Mn=(0,j.Z)(O,Et),fn=Qe||Ot||!1,dn=i.useState(!1),Zn=(0,A.Z)(dn,2),Fn=Zn[0],ne=Zn[1];(0,t.Z)(function(){ne((0,r.Z)())},[]);var Q=i.useRef({}),We=i.useContext(Y),ze=i.useMemo(function(){return{registerSubPopup:function(Wt,Rn){Q.current[Wt]=Rn,We==null||We.registerSubPopup(Wt,Rn)}}},[We]),Le=(0,c.Z)(),ct=i.useState(null),ge=(0,A.Z)(ct,2),pe=ge[0],Ke=ge[1],Xe=i.useRef(null),lt=(0,s.Z)(function(Rt){Xe.current=Rt,(0,G.Sh)(Rt)&&pe!==Rt&&Ke(Rt),We==null||We.registerSubPopup(Le,Rt)}),wt=i.useState(null),et=(0,A.Z)(wt,2),$e=et[0],H=et[1],se=i.useRef(null),ve=(0,s.Z)(function(Rt){(0,G.Sh)(Rt)&&$e!==Rt&&(H(Rt),se.current=Rt)}),he=i.Children.only(g),Me=(he==null?void 0:he.props)||{},Ue={},Te=(0,s.Z)(function(Rt){var Wt,Rn,Gt=$e;return(Gt==null?void 0:Gt.contains(Rt))||((Wt=(0,e.A)(Gt))===null||Wt===void 0?void 0:Wt.host)===Rt||Rt===Gt||(pe==null?void 0:pe.contains(Rt))||((Rn=(0,e.A)(pe))===null||Rn===void 0?void 0:Rn.host)===Rt||Rt===pe||Object.values(Q.current).some(function(Tn){return(Tn==null?void 0:Tn.contains(Rt))||Rt===Tn})}),Ye=N(R,Vn,Nn,zt),qe=N(R,wn,On,Cn),ot=i.useState(te||!1),Dt=(0,A.Z)(ot,2),it=Dt[0],Lt=Dt[1],Ft=Z!=null?Z:it,Bt=(0,s.Z)(function(Rt){Z===void 0&&Lt(Rt)});(0,t.Z)(function(){Lt(Z||!1)},[Z]);var yt=i.useRef(Ft);yt.current=Ft;var xt=i.useRef([]);xt.current=[];var Ut=(0,s.Z)(function(Rt){var Wt;Bt(Rt),((Wt=xt.current[xt.current.length-1])!==null&&Wt!==void 0?Wt:Ft)!==Rt&&(xt.current.push(Rt),J==null||J(Rt))}),nt=i.useRef(),ft=function(){clearTimeout(nt.current)},vt=function(Wt){var Rn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;ft(),Rn===0?Ut(Wt):nt.current=setTimeout(function(){Ut(Wt)},Rn*1e3)};i.useEffect(function(){return ft},[]);var Ht=i.useState(!1),Tt=(0,A.Z)(Ht,2),jt=Tt[0],Ln=Tt[1];(0,t.Z)(function(Rt){(!Rt||Ft)&&Ln(!0)},[Ft]);var L=i.useState(null),oe=(0,A.Z)(L,2),ee=oe[0],le=oe[1],_e=i.useState(null),Se=(0,A.Z)(_e,2),je=Se[0],ke=Se[1],Ne=function(Wt){ke([Wt.clientX,Wt.clientY])},re=He(Ft,pe,Vt&&je!==null?je:$e,bt,Mt,Yt,Zt),ue=(0,A.Z)(re,11),me=ue[0],Ce=ue[1],Re=ue[2],Je=ue[3],pt=ue[4],tt=ue[5],Pt=ue[6],At=ue[7],kt=ue[8],Qt=ue[9],dt=ue[10],mn=Pe(Fn,z,D,U),un=(0,A.Z)(mn,2),sn=un[0],$t=un[1],on=sn.has("click"),yn=$t.has("click")||$t.has("contextMenu"),an=(0,s.Z)(function(){jt||dt()}),vn=function(){yt.current&&Vt&&yn&&vt(!1)};be(Ft,$e,pe,an,vn),(0,t.Z)(function(){an()},[je,bt]),(0,t.Z)(function(){Ft&&!(Mt!=null&&Mt[bt])&&an()},[JSON.stringify(Yt)]);var Kt=i.useMemo(function(){var Rt=x(Mt,R,Qt,Vt);return h()(Rt,Ve==null?void 0:Ve(Qt))},[Qt,Ve,Mt,R,Vt]);i.useImperativeHandle(q,function(){return{nativeElement:se.current,popupElement:Xe.current,forceAlign:an}});var gt=i.useState(0),Nt=(0,A.Z)(gt,2),qt=Nt[0],pn=Nt[1],cn=i.useState(0),hn=(0,A.Z)(cn,2),Un=hn[0],Jn=hn[1],Gn=function(){if(Jt&&$e){var Wt=$e.getBoundingClientRect();pn(Wt.width),Jn(Wt.height)}},sr=function(){Gn(),an()},ar=function(Wt){Ln(!1),dt(),ce==null||ce(Wt)},Yn=function(){return new Promise(function(Wt){Gn(),le(function(){return Wt})})};(0,t.Z)(function(){ee&&(dt(),ee(),le(null))},[ee]);function bn(Rt,Wt,Rn,Gt){Ue[Rt]=function(Tn){var or;Gt==null||Gt(Tn),vt(Wt,Rn);for(var $n=arguments.length,fr=new Array($n>1?$n-1:0),ur=1;ur<$n;ur++)fr[ur-1]=arguments[ur];(or=Me[Rt])===null||or===void 0||or.call.apply(or,[Me,Tn].concat(fr))}}(on||yn)&&(Ue.onClick=function(Rt){var Wt;yt.current&&yn?vt(!1):!yt.current&&on&&(Ne(Rt),vt(!0));for(var Rn=arguments.length,Gt=new Array(Rn>1?Rn-1:0),Tn=1;Tn<Rn;Tn++)Gt[Tn-1]=arguments[Tn];(Wt=Me.onClick)===null||Wt===void 0||Wt.call.apply(Wt,[Me,Rt].concat(Gt))});var In=ut(Ft,yn,$e,pe,Ze,De,Te,vt),Wn=sn.has("hover"),Kn=$t.has("hover"),xn,En;Wn&&(bn("onMouseEnter",!0,Ee,function(Rt){Ne(Rt)}),bn("onPointerEnter",!0,Ee,function(Rt){Ne(Rt)}),xn=function(Wt){(Ft||jt)&&pe!==null&&pe!==void 0&&pe.contains(Wt.target)&&vt(!0,Ee)},Vt&&(Ue.onMouseMove=function(Rt){var Wt;(Wt=Me.onMouseMove)===null||Wt===void 0||Wt.call(Me,Rt)})),Kn&&(bn("onMouseLeave",!1,Be),bn("onPointerLeave",!1,Be),En=function(){vt(!1,Be)}),sn.has("focus")&&bn("onFocus",!0,Ie),$t.has("focus")&&bn("onBlur",!1,fe),sn.has("contextMenu")&&(Ue.onContextMenu=function(Rt){var Wt;yt.current&&$t.has("contextMenu")?vt(!1):(Ne(Rt),vt(!0)),Rt.preventDefault();for(var Rn=arguments.length,Gt=new Array(Rn>1?Rn-1:0),Tn=1;Tn<Rn;Tn++)Gt[Tn-1]=arguments[Tn];(Wt=Me.onContextMenu)===null||Wt===void 0||Wt.call.apply(Wt,[Me,Rt].concat(Gt))}),_n&&(Ue.className=h()(Me.className,_n));var St=(0,T.Z)((0,T.Z)({},Me),Ue),nn={},en=["onContextMenu","onClick","onMouseDown","onTouchStart","onMouseEnter","onMouseLeave","onFocus","onBlur"];en.forEach(function(Rt){Mn[Rt]&&(nn[Rt]=function(){for(var Wt,Rn=arguments.length,Gt=new Array(Rn),Tn=0;Tn<Rn;Tn++)Gt[Tn]=arguments[Tn];(Wt=St[Rt])===null||Wt===void 0||Wt.call.apply(Wt,[St].concat(Gt)),Mn[Rt].apply(Mn,Gt)})});var ln=i.cloneElement(he,(0,T.Z)((0,T.Z)({},St),nn)),Dn={x:tt,y:Pt},Bn=An?(0,T.Z)({},An!==!0?An:{}):null;return i.createElement(i.Fragment,null,i.createElement($.Z,{disabled:!Ft,ref:ve,onResize:sr},i.createElement(F,{getTriggerDOMNode:Sn},ln)),i.createElement(Y.Provider,{value:ze},i.createElement(k,{portal:E,ref:lt,prefixCls:R,popup:tn,className:h()(ht,Kt),style:at,target:$e,onMouseEnter:xn,onMouseLeave:En,onPointerEnter:xn,zIndex:rn,open:Ft,keepDom:jt,fresh:_t,onClick:gn,onPointerDownCapture:In,mask:Ze,motion:Ye,maskMotion:qe,onVisibleChanged:ar,onPrepare:Yn,forceRender:Ct,autoDestroy:fn,getPopupContainer:rt,align:Qt,arrow:Bn,arrowPos:Dn,ready:me,offsetX:Ce,offsetY:Re,offsetR:Je,offsetB:pt,onAlign:an,stretch:Jt,targetWidth:qt/At,targetHeight:Un/kt})))});return B}var we=st(X.Z)},28426:function(It,Fe,l){"use strict";var T=l(59301),A=l(93314),j=l(99571),X=Object.defineProperty,V=Object.defineProperties,h=Object.getOwnPropertyDescriptors,$=Object.getOwnPropertySymbols,G=Object.prototype.hasOwnProperty,e=Object.prototype.propertyIsEnumerable,s=(i,o,v)=>o in i?X(i,o,{enumerable:!0,configurable:!0,writable:!0,value:v}):i[o]=v,c=(i,o)=>{for(var v in o||(o={}))G.call(o,v)&&s(i,v,o[v]);if($)for(var v of $(o))e.call(o,v)&&s(i,v,o[v]);return i},t=(i,o)=>V(i,h(o));const r=({img:i,buttonProps:o={},styles:v={},customText:b,ButtonText:S,ButtonClick:p,Buttonclass:m,ButtonTwo:f,imgStyles:u,loading:k=!1,className:I=""})=>T.createElement("section",{className:`tc animated fadeIn ${I}`,style:c({color:"#999",margin:"100px auto",visibility:k?"hidden":"visible"},v)},T.createElement("img",{src:i||A,style:t(c({},u),{pointerEvents:"none",userSelect:"none"})}),T.createElement("p",{className:"mt20 font14"},b||"\u6682\u65F6\u8FD8\u6CA1\u6709\u76F8\u5173\u6570\u636E\u54E6!"),S&&T.createElement(j.ZP,c({className:m,onClick:p},o),S),f&&f);Fe.Z=r},45677:function(It,Fe,l){"use strict";l.d(Fe,{Z:function(){return m}});var T=l(59301),A={wrp:"wrp___dq7YK",bgBlack:"bgBlack___ARIUV",monaco:"monaco___VnZC3",darkBlue:"darkBlue___UprA9",close:"close___LKoWu",embed:"embed___hvpEJ"},j=l(99571),X=l(70557),V=l(75975),h=l(25399),$=l(51257),G=l(81722),e=l(28426),s=l(346),c=l(44203),t=l(59301),r=Object.defineProperty,i=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,v=Object.prototype.propertyIsEnumerable,b=(f,u,k)=>u in f?r(f,u,{enumerable:!0,configurable:!0,writable:!0,value:k}):f[u]=k,S=(f,u)=>{for(var k in u||(u={}))o.call(u,k)&&b(f,k,u[k]);if(i)for(var k of i(u))v.call(u,k)&&b(f,k,u[k]);return f},p=(f,u,k)=>new Promise((I,F)=>{var K=Pe=>{try{W(k.next(Pe))}catch(w){F(w)}},Y=Pe=>{try{W(k.throw(Pe))}catch(w){F(w)}},W=Pe=>Pe.done?I(Pe.value):Promise.resolve(Pe.value).then(K,Y);W((k=k.apply(f,u)).next())}),m=({editOffice:f="view",data:u,issaver:k,onSaver:I,theme:F,type:K,filename:Y,monacoEditor:W,className:Pe,style:w,close:_,onClose:x,hasMask:N,disabledDownload:C,onImgDimensions:y,showNodata:n,recordInfo:a})=>{const[d,M]=(0,T.useState)("https://view.officeapps.live.com/op/view.aspx?src=http://testgs.educoder.net//rails/active_storage/blobs/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBCZz09IiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--03541f6234b93d7ac3b2d84e7eb0e6594a952945/1.ppt"),[ae,de]=(0,T.useState)(""),[ye,Ae]=(0,T.useState)(),He=window.ENV==="build"?"/react/build":"",mt=location.host.startsWith("localhost")?s.Z.PROXY_SERVER:s.Z.API_SERVER,Ge=10*(1024*1024),ut=(0,T.useRef)();u!=null&&u.startsWith("/api")&&K!=="txt"&&(u=s.Z.API_SERVER+u);const Et=O=>O.substring(O.lastIndexOf("/")+1).split(".").pop();Y&&W&&(W.filename=Y),(0,T.useEffect)(()=>{var O,q;const ie=(q=(O=document.cookie)==null?void 0:O.replace(/\s/g,""))==null?void 0:q.split(";");ie==null||ie.map(R=>{let g=R.split("=");g[0]==="_educoder_session"&&de(g[1])})},[]),(0,T.useEffect)(()=>{K==="office"&&(u.indexOf("bigfilescdn.")>-1||u.indexOf("bigfiles1")>-1?Ae({url:u,fileType:Et(u),model:u.indexOf("model=edit")?"edit":"view"}):we())},[K,u]);function st(O){return p(this,null,function*(){O.data.type==="pdfdata"&&(I(O.data.data),window.removeEventListener("message",st,!1)),console.log("mess---:",O.data)})}const we=()=>p(void 0,null,function*(){console.log("data:",u);let O=u;u.startsWith("http")||(O=location.origin+O);let q=new URL(O).pathname.split("/").pop();const ie=yield(0,G.gJ)({attachment_id:q});ie.url=mt+ie.url,Ae(ie)}),E=()=>{if(u.startsWith("http")||u.startsWith("blob:")){B();return}(0,$.Sv)(Y||"educoder",u,Y)},B=()=>{a&&(0,c.fc)({id:a==null?void 0:a.id,watch_type:1,course_id:a==null?void 0:a.course_id}),(0,$.Nd)(Y||"educoder",decodeURIComponent(u))};return t.createElement("div",{style:S({},w||{}),className:`${N&&A.bgBlack} ${K?A.wrp:"hide"}`},_&&t.createElement("div",{className:A.close,ref:ut},!!y&&t.createElement(h.Z,{title:"\u70B9\u51FB\u5BF9\u56FE\u7247\u8FDB\u884C\u6279\u6CE8",getPopupContainer:()=>ut.current},t.createElement("span",{onClick:()=>{x(),y()}},t.createElement("i",{className:"icon-yulanpizhu"}))),!C&&t.createElement(h.Z,{title:"\u70B9\u51FB\u4E0B\u8F7D\u6B64\u6587\u4EF6",getPopupContainer:()=>ut.current},t.createElement("span",{onClick:B},t.createElement("i",{className:"icon-quxiaozhiding"}))),k&&t.createElement(h.Z,{title:"\u4FDD\u5B58pdf\u5E76\u9000\u51FA",getPopupContainer:()=>ut.current},t.createElement("span",{className:"",onClick:()=>{const O=document.getElementById("pdfiframe");window.addEventListener("message",st,!1),setTimeout(()=>{O.contentWindow.postMessage("getData","*")},300)}},t.createElement("i",{className:"icon-baocun"}))),t.createElement(h.Z,{title:"\u5173\u95ED",getPopupContainer:()=>ut.current},t.createElement("span",{className:"",onClick:()=>{x()}},t.createElement("i",{className:"icon-guanbi1"})))),t.createElement("div",{className:`${A[Pe]} ${Pe} ${A.monaco} ${K==="txt"?"show":"hide"}`},K==="txt"&&t.createElement(t.Fragment,null,t.createElement(V.ZP,S({},W)))),K==="audio"&&t.createElement("audio",{src:`${(u==null?void 0:u.indexOf("http://"))>-1||(u==null?void 0:u.indexOf("https://"))>-1?"":"data:audio/mp3;base64,"}${u}`,autoPlay:!0}),K==="video"&&t.createElement(t.Fragment,null,(u==null?void 0:u.indexOf("http"))>-1?t.createElement("video",{controls:!0,src:`${u}`,autoPlay:!0}):t.createElement("video",{controls:!0,src:`data:video/mp4;base64,${u}`,autoPlay:!0})),K==="office"&&ye&&t.createElement("iframe",{src:`${He}/office.html?key=${ye.key}&url=${btoa(ye.url)}&callbackUrl=${mt+(ye.callbackUrl||"")}&fileType=${ye.fileType}&title=${ye.title||""}&model=${f}&officeServer=${s.Z.ONLYOFFICE}&disabledDownload=${!!C}`}),K==="html"&&t.createElement("iframe",{src:u+"&disposition=inline"}),K==="pdf"&&t.createElement("iframe",{id:"pdfiframe",src:`${He}/js/pdfview/index.html?filename=${Y||"educoder.pdf"}&url=${encodeURIComponent(u)}&disabledDownload=${!!C}&model=${f}`}),K==="image"&&t.createElement("img",{src:`${(u==null?void 0:u.indexOf("http://"))>-1||(u==null?void 0:u.indexOf("https://"))>-1?"":"data:image/png;base64,"}${u}`}),(K==="other"||K==="download")&&t.createElement(t.Fragment,null,n?t.createElement(e.Z,{customText:"\u5F53\u524D\u6587\u4EF6\u4E0D\u652F\u6301\u9884\u89C8\uFF0C\u53EF\u70B9\u51FB\u4E0B\u8F7D\u67E5\u770B",ButtonTwo:t.createElement(j.ZP,{icon:t.createElement("i",{className:"iconfont icon-xiazai4 font14"}),type:"primary",size:"middle",onClick:E,disabled:C},"\u4E0B\u8F7D")}):t.createElement(j.ZP,{type:"primary",size:"middle",onClick:E,disabled:C},t.createElement(X.Z,null),"\u70B9\u51FB\u4E0B\u8F7D")))}},75975:function(It,Fe,l){"use strict";l.d(Fe,{SV:function(){return g},ZP:function(){return R}});var T=l(59301),A=l(76374);const j={keywords:["print","auto","break","case","char","const","continue","default","do","double","else","enum","extern","float","for","goto","if","int","long","register","return","short","signed","sizeof","static","struct","switch","typedef","union","unsigned","void","volatile","while"]},X={quickKey:[{label:"main",content:["public static void main(String[] args) {"," $0","}"].join(`
`)},{label:"System.out.println",content:["System.out.println($0)"].join(`
`)},{label:"System.out.print",content:["System.out.print($0)"].join(`
`)}],keywords:["abstract","continue","for","new","switch","assert","default","goto","package","synchronized","boolean","do","if","private","this","break","double","implements","protected","throw","byte","else","import","public","throws","case","enum","instanceof","return","transient","catch","extends","int","short","try","char","final","interface","static","void","class","finally","long","strictfp","volatile","const","float","native","super","while","true","false"]},V={keywords:["abstract","amp","array","auto","bool","break","case","catch","char","class","const","constexpr","const_cast","continue","cpu","decltype","default","delegate","delete","do","double","dynamic_cast","each","else","enum","event","explicit","export","extern","false","final","finally","float","friend","gcnew","generic","goto","in","initonly","inline","int","interface","interior_ptr","internal","literal","long","mutable","namespace","new","noexcept","nullptr","__nullptr","operator","override","partial","pascal","pin_ptr","private","property","protected","public","ref","register","reinterpret_cast","restrict","return","safe_cast","sealed","short","signed","sizeof","static","static_assert","static_cast","struct","switch","template","this","thread_local","throw","tile_static","true","try","typedef","typeid","typename","union","unsigned","using","virtual","void","volatile","wchar_t","where","while","_asm","_based","_cdecl","_declspec","_fastcall","_if_exists","_if_not_exists","_inline","_multiple_inheritance","_pascal","_single_inheritance","_stdcall","_virtual_inheritance","_w64","__abstract","__alignof","__asm","__assume","__based","__box","__builtin_alignof","__cdecl","__clrcall","__declspec","__delegate","__event","__except","__fastcall","__finally","__forceinline","__gc","__hook","__identifier","__if_exists","__if_not_exists","__inline","__int128","__int16","__int32","__int64","__int8","__interface","__leave","__m128","__m128d","__m128i","__m256","__m256d","__m256i","__m64","__multiple_inheritance","__newslot","__nogc","__noop","__nounwind","__novtordisp","__pascal","__pin","__pragma","__property","__ptr32","__ptr64","__raise","__restrict","__resume","__sealed","__single_inheritance","__stdcall","__super","__thiscall","__try","__try_cast","__typeof","__unaligned","__unhook","__uuidof","__value","__virtual_inheritance","__w64","__wchar_t"],operators:["=",">","<","!","~","?",":","==","<=",">=","!=","&&","||","++","--","+","-","*","/","&","|","^","%","<<",">>",">>>","+=","-=","*=","/=","&=","|=","^=","%=","<<=",">>=",">>>="],quickKey:[{label:"ifelse",content:["if (${1:condition}) {"," $0","} else {"," ","}"].join(`
`)},{label:"include",content:"include<$0>"},{label:"printf",content:"printf($0)"},{label:"system",content:'system("$0")'},{label:"main",content:["int main () {"," $0","}"].join(`
`)},{label:"if",content:["if () {"," $0","}"].join(`
`)},{label:"for",content:["for(int j=0 ; j<10; j++){"," $0","}"].join(`
`)},{label:"trycatch",content:["try{"," $0","}catch(ExceptionName e){","}"].join(`
`)},{label:"using namespace std;",content:["using namespace std;"].join(`
`)},{label:"include <iostream>",content:["#include <iostream>"].join(`
`)},{label:"include <vector>",content:["#include <vector>"].join(`
`)},{label:"include <cstdio>",content:["#include <cstdio>"].join(`
`)},{label:"include <cstring>",content:["#include <cstring>"].join(`
`)},{label:"include <sstream>",content:["#include <sstream>"].join(`
`)},{label:"include <fstream>",content:["#include <fstream>"].join(`
`)},{label:"include <map>",content:["#include <map>"].join(`
`)},{label:"include <string>",content:["#include <string>"].join(`
`)},{label:"include <cmath>",content:["#include <cmath>"].join(`
`)}]},h={keywords:["and","as","assert","break","class","continue","def","del","elif","else","except","exec","finally","for","from","global","if","import","in","is","lambda","None","not","or","pass","raise","return","self","try","while","with","yield","int","float","long","complex","hex","abs","all","any","apply","basestring","bin","bool","buffer","bytearray","callable","chr","classmethod","cmp","coerce","compile","complex","delattr","dict","dir","divmod","enumerate","eval","execfile","file","filter","format","frozenset","getattr","globals","hasattr","hash","help","id","input","intern","isinstance","issubclass","iter","len","locals","list","map","max","memoryview","min","next","object","oct","open","ord","pow","print","property","reversed","range","raw_input","reduce","reload","repr","reversed","round","set","setattr","slice","sorted","staticmethod","str","sum","super","tuple","type","unichr","unicode","vars","xrange","zip","True","False","__dict__","__methods__","__members__","__class__","__bases__","__name__","__mro__","__subclasses__","__init__","__import__"],quickKey:[{label:"print",content:["print($0)"].join(`
`)}]},$={keywords:["asInstanceOf","catch","class","classOf","def","do","else","extends","finally","for","foreach","forSome","if","import","isInstanceOf","macro","match","new","object","package","return","throw","trait","try","type","until","val","var","while","with","yield","given","enum","then"],quickKey:[{label:"println",content:["println($0)"].join(`
`)}]};var G=l(53184),e=l.n(G),s=Object.defineProperty,c=Object.defineProperties,t=Object.getOwnPropertyDescriptors,r=Object.getOwnPropertySymbols,i=Object.prototype.hasOwnProperty,o=Object.prototype.propertyIsEnumerable,v=(P,z,D)=>z in P?s(P,z,{enumerable:!0,configurable:!0,writable:!0,value:D}):P[z]=D,b=(P,z)=>{for(var D in z||(z={}))i.call(z,D)&&v(P,D,z[D]);if(r)for(var D of r(z))o.call(z,D)&&v(P,D,z[D]);return P},S=(P,z)=>c(P,t(z)),p=(P,z,D)=>new Promise((U,Z)=>{var te=Ee=>{try{ce(D.next(Ee))}catch(xe){Z(xe)}},J=Ee=>{try{ce(D.throw(Ee))}catch(xe){Z(xe)}},ce=Ee=>Ee.done?U(Ee.value):Promise.resolve(Ee.value).then(te,J);ce((D=D.apply(P,z)).next())});const m={languages:["c","abap","apex","azcli","bat","cameligo","clojure","coffee","cpp","csharp","csp","css","dockerfile","fsharp","go","graphql","handlebars","html","ini","java","javascript","json","kotlin","less","lua","markdown","mips","msdax","mysql","objective-c","pascal","pascaligo","perl","pgsql","php","postiats","powerquery","powershell","pug","python","r","razor","redis","redshift","restructuredtext","ruby","rust","sb","scheme","scss","shell","solidity","sophia","sql","st","swift","tcl","twig","vb","xml","yaml'"],tables:{users:["name","id","email","phone","password"],roles:["id","name","order","created_at","updated_at","deleted_at"]}},f=(P,z)=>z.map(D=>({label:D,kind:P.languages.CompletionItemKind.Keyword,insertText:D})),u=P=>Object.keys(m.tables).map(z=>({label:z,kind:P.languages.CompletionItemKind.Variable,insertText:z})),k=(P,z)=>{const D=m.tables[P];return D?D.map(U=>({label:U,kind:z.languages.CompletionItemKind.Field,insertText:U})):[]};function I(P,z,D,U,Z){let te=z.getWordUntilPosition(D),J={startLineNumber:D.lineNumber,endLineNumber:D.lineNumber,startColumn:te.startColumn,endColumn:te.endColumn},ce=U.map(Ee=>({label:Ee,kind:P.languages.CompletionItemKind.Keyword,insertText:Ee,insertTextRules:P.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:J}));return Z.map(Ee=>{ce.push(S(b({},Ee),{range:J}))}),ce}var F=P=>{m.languages.map(Z=>(P.languages.registerDocumentFormattingEditProvider(Z,{provideDocumentFormattingEdits(te,J,ce){return p(this,null,function*(){const Ee=e()(te.getValue(),{indent_size:"2",indent_char:" ",max_preserve_newlines:"2",preserve_newlines:!0,keep_array_indentation:!0,break_chained_methods:!1,indent_scripts:"normal",brace_style:"collapse",space_before_conditional:!0,unescape_strings:!1,jslint_happy:!1,end_with_newline:!0,wrap_line_length:"0",indent_inner_html:!1,comma_first:!1,e4x:!1,indent_empty_lines:!1});return[{range:te.getFullModelRange(),text:Ee}]})}}),Z));const z=V.quickKey.map(Z=>({label:Z.label,kind:P.languages.CompletionItemKind.Method,insertText:Z.content,insertTextRules:P.languages.CompletionItemInsertTextRule.InsertAsSnippet})),D=h.quickKey.map(Z=>({label:Z.label,kind:P.languages.CompletionItemKind.Method,insertText:Z.content,insertTextRules:P.languages.CompletionItemInsertTextRule.InsertAsSnippet})),U=X.quickKey.map(Z=>({label:Z.label,kind:P.languages.CompletionItemKind.Method,insertText:Z.content,insertTextRules:P.languages.CompletionItemInsertTextRule.InsertAsSnippet}));P.languages.registerCompletionItemProvider("cpp",{provideCompletionItems:function(Z,te){var J=Z.getWordUntilPosition(te),ce={startLineNumber:te.lineNumber,endLineNumber:te.lineNumber,startColumn:J.startColumn,endColumn:J.endColumn},Ee=Z.getLineContent(te.lineNumber).substring(J.startColumn-2,J.endColumn);return{suggestions:[...V.keywords.map(xe=>({label:xe,kind:P.languages.CompletionItemKind.Function,documentation:xe,insertText:xe,insertTextRules:P.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:ce})),...V.quickKey.map(xe=>({label:xe.label,kind:P.languages.CompletionItemKind.Function,documentation:xe.content,insertText:Ee.startsWith("#")?xe.content.replace(/#/,""):xe.content,insertTextRules:P.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:ce}))]}}}),P.languages.registerCompletionItemProvider("c",{provideCompletionItems:function(Z,te){var J=Z.getWordUntilPosition(te),ce={startLineNumber:te.lineNumber,endLineNumber:te.lineNumber,startColumn:J.startColumn,endColumn:J.endColumn};return{suggestions:[...j.keywords.map(Ee=>({label:Ee,kind:P.languages.CompletionItemKind.Function,documentation:Ee,insertText:Ee,insertTextRules:P.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:ce}))]}}}),P.languages.registerCompletionItemProvider("java",{provideCompletionItems:function(Z,te){var J=Z.getWordUntilPosition(te),ce={startLineNumber:te.lineNumber,endLineNumber:te.lineNumber,startColumn:J.startColumn,endColumn:J.endColumn},Ee=Z.getLineContent(te.lineNumber).substring(J.startColumn-2,J.endColumn);return{suggestions:[...X.keywords.map(xe=>({label:xe,kind:P.languages.CompletionItemKind.Function,documentation:xe,insertText:xe,insertTextRules:P.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:ce})),...X.quickKey.map(xe=>({label:xe.label,kind:P.languages.CompletionItemKind.Function,documentation:xe.content,insertText:Ee.startsWith("#")?xe.content.replace(/#/,""):xe.content,insertTextRules:P.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:ce}))]}}}),P.languages.registerCompletionItemProvider("scala",{provideCompletionItems:function(Z,te){var J=Z.getWordUntilPosition(te),ce={startLineNumber:te.lineNumber,endLineNumber:te.lineNumber,startColumn:J.startColumn,endColumn:J.endColumn},Ee=Z.getLineContent(te.lineNumber).substring(J.startColumn-2,J.endColumn);return{suggestions:[...$.keywords.map(xe=>({label:xe,kind:P.languages.CompletionItemKind.Function,documentation:xe,insertText:xe,insertTextRules:P.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:ce})),...$.quickKey.map(xe=>({label:xe.label,kind:P.languages.CompletionItemKind.Function,documentation:xe.content,insertText:Ee.startsWith("#")?xe.content.replace(/#/,""):xe.content,insertTextRules:P.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:ce}))]}}}),P.languages.registerCompletionItemProvider("python",{provideCompletionItems:function(Z,te){var J=Z.getWordUntilPosition(te),ce={startLineNumber:te.lineNumber,endLineNumber:te.lineNumber,startColumn:J.startColumn,endColumn:J.endColumn},Ee=Z.getLineContent(te.lineNumber).substring(J.startColumn-2,J.endColumn);return{suggestions:[...h.keywords.map(xe=>({label:xe,kind:P.languages.CompletionItemKind.Function,documentation:xe,insertText:xe,insertTextRules:P.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:ce})),...h.quickKey.map(xe=>({label:xe.label,kind:P.languages.CompletionItemKind.Function,documentation:xe.content,insertText:Ee.startsWith("#")?xe.content.replace(/#/,""):xe.content,insertTextRules:P.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:ce}))]}}})};const K="\u8BE5\u4EFB\u52A1\u5173\u5361\u8BBE\u7F6E\u4E86\u7981\u6B62\u590D\u5236\u7C98\u8D34\uFF0C\u8BF7\u624B\u52A8\u8F93\u5165\u4EE3\u7801\u3002";var Y=Object.defineProperty,W=(P,z,D)=>z in P?Y(P,z,{enumerable:!0,configurable:!0,writable:!0,value:D}):P[z]=D,Pe=(P,z,D)=>W(P,typeof z!="symbol"?z+"":z,D);const w=class ya{constructor(z,D,U){this.placeholder=z,this.editor=D,this.monaco=U,D.onDidChangeModelContent(()=>this.onDidChangeModelContent()),this.onDidChangeModelContent()}onDidChangeModelContent(){this.editor.getValue()===""?this.editor.addContentWidget(this):this.editor.removeContentWidget(this)}getId(){return ya.ID}getDomNode(){return this.domNode||(this.domNode=document.createElement("div"),this.domNode.style.width="max-content",this.domNode.textContent=this.placeholder,this.domNode.style.fontStyle="initial",this.domNode.style.color="#D7D7D7",this.domNode.style.pointerEvents="none",this.editor.applyFontInfo(this.domNode)),this.domNode}getPosition(){return{position:{lineNumber:1,column:1},preference:[this.monaco.editor.ContentWidgetPositionPreference.EXACT]}}dispose(){this.editor.removeContentWidget(this)}};Pe(w,"ID","editor.widget.placeholderHint");var x=w,N=l(96236),C=l(6767),y=l(25399),n=l(89392),a=l(49535),d=l(56102),M=Object.defineProperty,ae=Object.defineProperties,de=Object.getOwnPropertyDescriptors,ye=Object.getOwnPropertySymbols,Ae=Object.prototype.hasOwnProperty,He=Object.prototype.propertyIsEnumerable,mt=(P,z,D)=>z in P?M(P,z,{enumerable:!0,configurable:!0,writable:!0,value:D}):P[z]=D,be=(P,z)=>{for(var D in z||(z={}))Ae.call(z,D)&&mt(P,D,z[D]);if(ye)for(var D of ye(z))He.call(z,D)&&mt(P,D,z[D]);return P},Ge=(P,z)=>ae(P,de(z)),ut=(P,z)=>{var D={};for(var U in P)Ae.call(P,U)&&z.indexOf(U)<0&&(D[U]=P[U]);if(P!=null&&ye)for(var U of ye(P))z.indexOf(U)<0&&He.call(P,U)&&(D[U]=P[U]);return D},Et=(P,z,D)=>new Promise((U,Z)=>{var te=Ee=>{try{ce(D.next(Ee))}catch(xe){Z(xe)}},J=Ee=>{try{ce(D.throw(Ee))}catch(xe){Z(xe)}},ce=Ee=>Ee.done?U(Ee.value):Promise.resolve(Ee.value).then(te,J);ce((D=D.apply(P,z)).next())});function st(P){return/^\d+$/.test(P)?`${P}px`:P}function we(){}let E=!1;const B={"Python3.6":"python","Python2.7":"python",Dynamips:"cpp",Java:"java",Web:"php",Html:"html",Hive:"sql",Hadoop:"java",SDL:"cpp",PHP:"php",Matlab:"python",Git:"python",Python:"python","C/C++":"cpp","C++":"cpp",C:"cpp",Ruby:"ruby",Shell:"shell",JavaScript:"javascript",Perl6:"perl",Kotlin:"kotlin",Elixir:"elixir",Android:"java",JavaWeb:"java",Go:"go",Spark:"sql",MachineLearning:"python",Verilog:"xml","Verilog/VNC":"xml",Docker:"dockerfile","C#":"csharp",SQLite3:"sql",Oracle:"sql",Vhdl:"vhdl",R:"r",Swift:"swift",SQLServer:"mysql",MySQL:"mysql",Mongo:"sql",PostgreSql:"pgsql",Hbase:"powershell",Sqoop:"sql",Nasm:"cpp",Kafka:"java",Flink:"java",Sml:"javascript",OpenGL:"cpp",Perl5:"perl",Orange:"python",Scala:"scale",solidity:"sol"};function O(P=[]){let z=P;if(Array.isArray(P)){for(let D=0;D<P.length;D++){let U=B[P[D]];if(U)return U}return z[0]}return B[z]||z}let q=null;const ie=()=>Et(void 0,null,function*(){try{yield navigator.clipboard.writeText(" "),console.log("\u5185\u5BB9\u5DF2\u81EA\u52A8\u590D\u5236\u5230\u526A\u8D34\u677F:")}catch(P){console.error("\u81EA\u52A8\u590D\u5236\u5931\u8D25:",P)}});var R=P=>{var z=P,{width:D="100%",height:U="100%",value:Z,language:te="javascript",style:J={},options:ce={},overrideServices:Ee={},theme:xe="vs-dark",onEditBlur:Be,isCopy:Ie=!1,onSave:fe,autoHeight:Ze=!1,forbidCopy:Oe=!1,onChange:De=we,editorDidMount:rt=we,onFocus:Ct=we,onBreakPoint:Qe=we,breakPointValue:Ot=[],filename:tn="educoder.txt",errorLine:ht,errorContent:at="",highlightLine:bt,openBreakPoint:Xt=!1,placeholder:Mt="",showMiniMap:Yt=!0}=z,rn=ut(z,["width","height","value","language","style","options","overrideServices","theme","onEditBlur","isCopy","onSave","autoHeight","forbidCopy","onChange","editorDidMount","onFocus","onBreakPoint","breakPointValue","filename","errorLine","errorContent","highlightLine","openBreakPoint","placeholder","showMiniMap"]);const Jt=(0,T.useRef)(),Ve=(0,T.useRef)({}),_t=(0,T.useRef)(),Vt=(0,T.useRef)(),gn=(0,T.useRef)([]),Zt=(0,T.useRef)(!1),An=(0,T.useRef)(),Vn=(0,T.useRef)(),wn=(0,T.useRef)(!1),[zt,Nn]=(0,T.useState)(!1);function Cn(){let ge;return Jt.current&&(ge=new A.Z(pe=>{for(let Ke of pe)(Ke.target.offsetHeight>0||Ke.target.offsetWidth>0)&&Ve.current.instance.layout()}),ge.observe(Jt.current)),ge}function On(){C.ZP.warning({content:decodeURIComponent(K),key:"monaco-editor-tip"})}const _n=()=>{let ge=Ve.current.instance;if(Z!=null&&ge&&zt){const pe=ge.getModel();pe&&Z!==pe.getValue()&&(E=!0,pe.setValue(Z),ge.layout(),E=!1)}};(0,T.useEffect)(()=>{const ge=a.Z.subscribe("formatDocument",pe=>{var Ke;let Xe=Ve.current.instance;(Ke=Xe==null?void 0:Xe.getAction)==null||Ke.call(Xe,"editor.action.formatDocument").run()});return window.updateMonacoValue=pe=>{De(pe)},ge},[]),(0,T.useEffect)(()=>{var ge;let pe=Ve.current.instance;Vt.current&&clearTimeout(Vt.current),Vt.current=setTimeout(()=>{_n()},500),Z&&(Z!=null&&Z.length)&&((ge=pe==null?void 0:pe.updateOptions)==null||ge.call(pe,{lineNumbersMinChars:Math.max(Math.floor(Math.log10(Z.split(/\r\n|\r|\n/g).length))+3,5)}))},[Z,zt,Ve.current]),(0,T.useEffect)(()=>{if(ht&&Ve.current&&Ve.current.instance){let pe=Ve.current.instance;pe.changeViewZones(function(Ke){var Xe=document.createElement("div");Xe.style.padding="10px 20px",Xe.style.width="calc(100% - 20px)",Xe.className="my-error-line-wrp",Xe.innerHTML=at,Ke.addZone({afterLineNumber:ht||11,heightInLines:3,domNode:Xe})});var ge={domNode:null,getId:function(){return"my.overlay.widget"},getDomNode:function(){return this.domNode||(this.domNode=document.createElement("div"),this.domNode.innerHTML="",this.domNode.style.width="100%",this.domNode.style.padding="20px 100px",this.domNode.style.right="0px",this.domNode.style.top="50px",this.domNode.style.position="relative",this.domNode.style.color="#333"),this.domNode},getPosition:function(){return null}};pe.addOverlayWidget(ge),pe.revealPositionInCenter({lineNumber:20,column:1})}},[ht,Ve.current,zt]);const Sn=(ge="",pe)=>{if(!ge||ge.trim()==="")return!0;const Xe=Ve.current.instance.getModel().getLineTokens(pe);let lt=!1;for(let wt=0;wt<2;wt++)Xe.getStandardTokenType(wt)===1&&(lt=!0);return lt};(0,T.useEffect)(()=>{var ge;const pe=(ge=Ve.current)==null?void 0:ge.instance;if(pe&&zt&&Oe){const Ke=pe.onDidBlurEditorWidget(()=>{wn.current=!1}),Xe=pe.onDidFocusEditorText(()=>{wn.current=!0});return()=>{Ke.dispose(),Xe.dispose()}}},[Ve.current,zt,Oe]),(0,T.useEffect)(()=>{var ge;if((ge=Ve.current)!=null&&ge.instance&&zt&&Xt){let pe=Ve.current.instance,Ke=pe.getModel();if(!Ke)return;(()=>{var Te;let Ye=[],qe=[];const ot=Ke.getAllDecorations();for(let it of ot)it.options.className==="highlighted-line"&&(Ye.push((Te=it==null?void 0:it.range)==null?void 0:Te.startLineNumber),qe.push(it==null?void 0:it.id));if(bt===Ye[0])return;Ke.deltaDecorations(qe,[]);const Dt=Ke.getLineCount();bt&&bt<=Dt&&(pe.deltaDecorations([],[{range:new q.Range(bt,1,bt,Ke.getLineMaxColumn(bt)),options:{isWholeLine:!0,className:"highlighted-line"}}]),pe.revealLineInCenter(bt))})();const lt=(Te=!1)=>{var Ye;let qe=[],ot=[];const Dt=Ke.getAllDecorations();for(let it of Dt)it.options.linesDecorationsClassName==="breakpoints-select"&&(qe.push((Ye=it==null?void 0:it.range)==null?void 0:Ye.startLineNumber),ot.push(it==null?void 0:it.id));if(Te)return{lines:qe,ids:ot};Qe(qe)},wt=Te=>Et(void 0,null,function*(){let Ye={range:new q.Range(Te,1,Te,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-select"}};yield Ke.deltaDecorations([],[Ye]),lt()}),et=Te=>Et(void 0,null,function*(){let Ye=[];const qe=pe.getLineDecorations(Te);for(let ot of qe)ot.options.linesDecorationsClassName==="breakpoints-select"&&Ye.push(ot.id);yield Ke.deltaDecorations(Ye,[]),lt()}),$e=Te=>{let Ye=pe.getLineDecorations(Te);for(let qe of Ye)if(qe.options.linesDecorationsClassName==="breakpoints-select")return!0;return!1};if(!(0,n.isEqual)(Ot,lt(!0).lines)){Ke.deltaDecorations(lt(!0).ids,[]);const Te=Ot.map(Ye=>({range:new q.Range(Ye,1,Ye,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-select"}}));Ke.deltaDecorations([],Te)}const H=pe.onDidChangeModelContent(Te=>{let Ye=pe.getPosition();if(Ye){let qe=Ye.lineNumber;clearTimeout(Vn.current),Vn.current=setTimeout(()=>{Sn(Ke.getLineContent(qe),qe)?et(qe):$e(qe)?(et(qe),wt(qe)):lt()},100)}}),se=pe.onMouseDown(Te=>{var Ye,qe,ot;if(Te.target.detail&&((ot=(qe=(Ye=Te.target)==null?void 0:Ye.element)==null?void 0:qe.className)!=null&&ot.includes("line-numbers"))){let Dt=Te.target.position.lineNumber;if(Sn(Ke.getLineContent(Dt),Dt))return;$e(Dt)?et(Dt):wt(Dt)}}),ve=Te=>{let Ye={range:new q.Range(Te,1,Te,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-fake"}};gn.current=pe.deltaDecorations(gn.current,[Ye])},he=()=>{gn.current=pe.deltaDecorations(gn.current,[])},Me=pe.onMouseMove(Te=>{var Ye,qe,ot;if(he(),Te.target.detail&&((ot=(qe=(Ye=Te.target)==null?void 0:Ye.element)==null?void 0:qe.className)!=null&&ot.includes("line-numbers"))){let Dt=Te.target.position.lineNumber;if(Sn(Ke.getLineContent(Dt),Dt))return;ve(Dt)}}),Ue=pe.onMouseLeave(()=>{he()});return()=>{H.dispose(),se.dispose(),Me.dispose(),Ue.dispose()}}},[Ve.current,zt,Ot,bt,Xt,te]),(0,T.useEffect)(()=>{var ge;(ge=Ve.current)!=null&&ge.instance&&Xt&&Ve.current.instance.setPosition({lineNumber:0,column:0})},[bt]);function Mn(){let ge=Ve.current.instance;if(ge){const pe=ge.getSelection(),Ke=Ve.current.pastePos||{},Xe=new q.Range(Ke.startLineNumber||pe.endLineNumber,Ke.startColumn||pe.endColumn,Ke.endLineNumber||pe.endLineNumber,Ke.endColumn||pe.endColumn);setTimeout(()=>{ge.executeEdits("",[{range:Xe,text:""}])},300)}}function fn(ge){(window.navigator.platform.match("Mac")?ge.metaKey:ge.ctrlKey)&&ge.keyCode==83&&(ge.preventDefault(),fe())}const dn=()=>{if(Ze&&Ve.current.instance){const ge=Ve.current.instance.getContentHeight();Le(ge<U?U:ge)}else Le(U)};function Zn(ge){var pe=document.createEvent("MouseEvents");pe.initMouseEvent("click",!0,!1,window,0,0,0,0,0,!1,!1,!1,!1,0,null),ge.dispatchEvent(pe)}const Fn=ge=>{if(!wn.current)return;const{keyCode:pe,ctrlKey:Ke,metaKey:Xe,target:lt,type:wt}=ge;return(wt==="paste"||(pe===67||pe===86)&&(Xe||Ke))&&lt.nodeName==="TEXTAREA"&&(On(),ge.preventDefault()),!1};function ne(ge,pe){var Ke=window.URL||window.webkitURL||window,Xe=new Blob([pe]),lt=document.createElementNS("http://www.w3.org/1999/xhtml","a");lt.href=Ke.createObjectURL(Xe),lt.download=ge,Zn(lt)}(0,T.useEffect)(()=>{dn()},[dn]),(0,T.useEffect)(()=>{Jt.current&&!zt&&Promise.all([l.e(8909),l.e(6656)]).then(l.bind(l,71448)).then(ge=>{try{q=ge,Ve.current.instance=q.editor.create(Jt.current,{value:Z,language:O(te),theme:xe,requireConfig:{"vs/nls":{availableLanguages:{"*":"zh-cn"}}},wordWrap:!0,autoIndent:!0,contextmenu:!0,formatOnType:!0,minimap:{enabled:Yt||!1}},Ee);const pe=Ve.current.instance;let lt=[...N.BH._menuItems].find(H=>H[0]._debugName=="EditorContext")[1],wt=["editor.action.clipboardCopyWithSyntaxHighlightingAction","editor.action.quickCommand","editor.action.clipboardCopyAction","editor.action.clipboardPasteAction","editor.action.clipboardCutAction"],et=(H,se)=>{var ve,he;let Me=H._first;do se.includes((he=(ve=Me.element)==null?void 0:ve.command)==null?void 0:he.id)&&H._remove(Me);while(Me=Me.next)};if(rt(pe,q),setTimeout(()=>{dn(),Ve.current.instance.addAction({id:"d123123",label:"Download File",contextMenuGroupId:"9_cutcopypaste",run:()=>{ne(tn||"educoder.txt",pe.getValue())}})},500),Ve.current.subscription=pe.onDidChangeModelContent(H=>{Zt.current?clearTimeout(An.current):(dn(),De(pe.getValue(),H)),An.current=setTimeout(()=>{Zt.current=!1},500)}),window.Monaco||F(q,O(te)),Oe&&(et(lt,wt),Jt.current.classList.add("noCopyPaste"),window.removeEventListener("keydown",Fn),window.removeEventListener("paste",Fn),window.addEventListener("keydown",Fn),window.addEventListener("paste",Fn)),window.Monaco=q,Be&&pe.onDidBlurEditorWidget(()=>{Be(pe.getValue())}),Ct&&pe.onDidFocusEditorText(()=>{Oe&&ie(),Ct(pe.getValue())}),Oe){ie();try{pe.onDidPaste(H=>{const se=pe.getSelection(),ve=Ve.current.pastePos||{},he=new q.Range(ve.startLineNumber||se.endLineNumber,ve.startColumn||se.endColumn,ve.endLineNumber||se.endLineNumber,ve.endColumn||se.endColumn);pe.executeEdits("",[{range:H.range,text:""}])})}catch(H){}}let $e=Cn();return Mt&&typeof Mt=="string"&&new x(Mt,pe,q),Nn(!0),()=>{const H=Ve.current.instance;H.dispose();const se=H.getModel();se&&se.dispose(),Ve.current.subscription&&Ve.current.subscription.dispose(),$e.unobserve(Jt.current)}}catch(pe){}})},[]),(0,T.useEffect)(()=>{if(Ve.current.instance&&zt)return document.addEventListener("keydown",fn,!1),()=>{document.removeEventListener("keydown",fn)}},[fe,zt]),(0,T.useEffect)(()=>{let ge=Ve.current.instance;if(ge&&zt){let pe=O(te);q.editor.setModelLanguage(ge.getModel(),pe)}},[te,zt]),(0,T.useEffect)(()=>{Ve.current.instance&&zt&&q.editor.setTheme(xe)},[xe,zt]),(0,T.useEffect)(()=>{let ge=Ve.current.instance;_t.current=ce,ge&&zt&&(ge.updateOptions(be({},ce)),setTimeout(()=>{ge.getModel().updateOptions(be({},ce))},200))},[JSON.stringify(ce),zt]),(0,T.useEffect)(()=>{let ge=Ve.current.instance;ge&&zt&&ge.layout()},[D,U,zt]);const[Q,We]=(0,T.useState)(st(D)),[ze,Le]=(0,T.useState)(st(U)),ct=Ge(be({},J),{width:Q,height:ze,position:"relative"});return T.createElement("div",{className:"my-monaco-editor",ref:Jt,style:ct},Ie&&T.createElement(d.CopyToClipboard,{text:Z,onCopy:()=>C.ZP.success("\u590D\u5236\u6210\u529F")},T.createElement(y.Z,{title:"\u590D\u5236\u4EE3\u7801"},T.createElement("div",{style:{position:"absolute",top:0,right:10,cursor:"pointer",zIndex:10,color:"#165DFF"}},T.createElement("i",{className:"iconfont icon-fuzhi8",style:{fontSize:14}})," \u590D\u5236\u4EE3\u7801"))))};function g({width:P="100%",height:z="100%",original:D,modified:U,language:Z,options:te={}}){const J=(0,T.useRef)(),[ce,Ee]=(0,T.useState)(null);function xe(Ze){let Oe;return J.current&&(Oe=new A.Z(De=>{for(let rt of De)(rt.target.offsetHeight>0||rt.target.offsetWidth>0)&&Ze.layout()}),Oe.observe(J.current)),Oe}(0,T.useEffect)(()=>(J.current&&Promise.all([l.e(8909),l.e(9404)]).then(l.bind(l,2550)).then(Ze=>{q=Ze;const Oe=q.editor.createDiffEditor(J.current,Ge(be({enableSplitViewResizing:!1,scrollBeyondLastLine:!1,roundedSelection:!1,renderIndicators:!1,useShadows:!1,horizontal:"hidden",lineNumbers:"off",wordWrap:"off",ignoreTrimWhitespace:!1,"semanticHighlighting.enabled":!0,followsCaret:!0,ignoreCharChanges:!0,minimap:{enabled:!1},readOnly:!0},te),{wordWrap:!0}));Ee(Oe);let De=xe(Oe);return()=>{Oe.dispose();const rt=Oe.getModel();rt&&rt.dispose(),De.unobserve(J.current)}}),()=>{window.removeEventListener("keydown",checkPaste),window.removeEventListener("paste",checkPaste)}),[]),(0,T.useEffect)(()=>{ce&&ce.setModel({original:q.editor.createModel(D,Z),modified:q.editor.createModel(U,Z)})},[D,U,Z,ce]);const Be=st(P),Ie=st(z),fe={width:Be,height:Ie};return T.createElement("div",{className:"my-diff-editor",ref:J,style:fe})}},15920:function(It,Fe,l){"use strict";l.r(Fe),l.d(Fe,{default:function(){return N}});var T=l(59301),A={flex_box_center:"flex_box_center___n3nXI",flex_space_between:"flex_space_between___SVr_u",flex_box_vertical_center:"flex_box_vertical_center___nGcce",flex_box_center_end:"flex_box_center_end___kaizF",flex_box_column:"flex_box_column___sMn1m",wrap:"wrap___LP3mu",title:"title___BPtTv",control:"control___zxfZc",label:"label___lVocU",tagWrap:"tagWrap___Wvbu8",tag:"tag___QaDfC",button:"button___z4kBY",customTable:"customTable___ehECY",form:"form___zV9o6",customModal:"customModal___TybkU"},j=l(25690),X=l(38986),V=l(89392),h=l(28284),$=l(62957),G=l(25399),e=l(6767),s=l(37568),c=l(82326),t=l(77736),r=l(99571),i=l(54172),o=l(346),v=l(81722),b=l(23029),S=l(96999),p=l(40133),m=l(45677),f=Object.defineProperty,u=Object.defineProperties,k=Object.getOwnPropertyDescriptors,I=Object.getOwnPropertySymbols,F=Object.prototype.hasOwnProperty,K=Object.prototype.propertyIsEnumerable,Y=(C,y,n)=>y in C?f(C,y,{enumerable:!0,configurable:!0,writable:!0,value:n}):C[y]=n,W=(C,y)=>{for(var n in y||(y={}))F.call(y,n)&&Y(C,n,y[n]);if(I)for(var n of I(y))K.call(y,n)&&Y(C,n,y[n]);return C},Pe=(C,y)=>u(C,k(y)),w=(C,y,n)=>new Promise((a,d)=>{var M=ye=>{try{de(n.next(ye))}catch(Ae){d(Ae)}},ae=ye=>{try{de(n.throw(ye))}catch(Ae){d(Ae)}},de=ye=>ye.done?a(ye.value):Promise.resolve(ye.value).then(M,ae);de((n=n.apply(C,y)).next())});let _=[{id:1,content:"\u4E13\u4E1A\u6BD5\u4E1A\u8981\u6C42\u6307\u6807\u70B9\u5206\u89E3\u53CA\u5173\u8054\u8BFE\u7A0B"},{id:2,content:"\u5B66\u751F\u6BD5\u4E1A\u8981\u6C42\u8FBE\u6210\u60C5\u51B5\u8BC4\u4EF7\u4F9D\u636E\u8868"},{id:3,content:"\u6BD5\u4E1A\u8981\u6C42\u8FBE\u6210\u60C5\u51B5\u76F4\u63A5\u8BC4\u4EF7\u7ED3\u679C"},{id:4,content:"\u8BFE\u7A0B\u603B\u7ED3\u62A5\u544A"}];const x=({user:C})=>{var y,n;const a={page:1,per_page:20,total:0,ec_major_school_id:null,ec_year_id:null,sort_by:null,direction:null,formvalues:{}};let[d,M]=(0,T.useState)(a);const[ae,de]=(0,T.useState)(!0),[ye,Ae]=(0,T.useState)(!1),[He,mt]=(0,T.useState)([]),[be,Ge]=(0,T.useState)([]),[ut,Et]=(0,T.useState)([]),[st]=h.default.useForm(),we=(0,j.useLocation)(),E=location.host.startsWith("localhost")?o.Z.PROXY_SERVER:o.Z.API_SERVER,[B,O]=(0,T.useState)(!1),[q,ie]=(0,T.useState)(!1),[R,g]=(0,T.useState)([]),[P,z]=(0,T.useState)(""),[D,U]=(0,T.useState)({filename:"",editOffice:"view",type:"",className:"",data:"",close:!0,hasMask:!0,style:{position:"fixed",zIndex:9999,background:"rgba(0,0,0,.7)"},monacoEditor:{value:"",language:"",theme:"vs",options:{readOnly:!0}}});(0,T.useEffect)(()=>{var fe;(fe=C==null?void 0:C.userInfo)!=null&&fe.school_id&&te()},[(y=C==null?void 0:C.userInfo)==null?void 0:y.school_id]);const Z=fe=>w(void 0,null,function*(){var Ze;const Oe=(0,V.cloneDeep)(fe);S.U.setItem((Ze=C==null?void 0:C.userInfo)==null?void 0:Ze.login,[Oe==null?void 0:Oe.ec_major_school_id,Oe==null?void 0:Oe.ec_year_id]),de(!0);const De=yield(0,X.ZP)(`/api/ec_years/${d.ec_year_id}/ec_docs.json`,{method:"get",params:Oe});De!=null&&De.data&&(Et((De==null?void 0:De.data)||[]),d.total=De==null?void 0:De.count,M(W({},d))),de(!1)}),te=()=>w(void 0,null,function*(){var fe,Ze,Oe,De,rt,Ct,Qe,Ot,tn,ht;const at=yield(0,X.ZP)(`/api/schools/${(fe=C==null?void 0:C.userInfo)==null?void 0:fe.school_id}/ec_majors/get_major_list.json`,{method:"get"});if(!((Oe=(Ze=at==null?void 0:at.data)==null?void 0:Ze[0])!=null&&Oe.ec_major_school_id)){de(!1),Ae(!0);return}const bt=S.U.getItem((De=C==null?void 0:C.userInfo)==null?void 0:De.login),Xt=Number((rt=we==null?void 0:we.query)==null?void 0:rt.ec_major_school_id)||bt[0]||((Qe=(Ct=at==null?void 0:at.data)==null?void 0:Ct[0])==null?void 0:Qe.ec_major_school_id),Mt=yield(0,X.ZP)(`/api/ec_major_schools/${Xt}/ec_years/get_year_list.json`,{method:"get"});d.ec_major_school_id=Xt,d.ec_year_id=Number((Ot=we==null?void 0:we.query)==null?void 0:Ot.ec_year_id)||bt[1]||((ht=(tn=Mt==null?void 0:Mt.data)==null?void 0:tn[0])==null?void 0:ht.ec_year_id),ce(d.ec_year_id),mt((at==null?void 0:at.data)||[]),Ge((Mt==null?void 0:Mt.data)||[]),M(d),Z(d)}),J=fe=>w(void 0,null,function*(){var Ze,Oe;const De=yield(0,X.ZP)(`/api/ec_major_schools/${fe}/ec_years/get_year_list.json`,{method:"get"});d.ec_major_school_id=fe,d.ec_year_id=(Oe=(Ze=De==null?void 0:De.data)==null?void 0:Ze[0])==null?void 0:Oe.ec_year_id,Ge((De==null?void 0:De.data)||[]),M(d),Z(d)}),ce=fe=>w(void 0,null,function*(){const Ze=yield(0,X.ZP)(`/api/ec_years/${fe}/ec_courses/get_courses.json`,{method:"get"});g((Ze==null?void 0:Ze.data)||[])}),Ee=(fe,Ze)=>{if(d.page=1,d[Ze]=fe,Ze==="ec_major_school_id"){J(fe);return}Ze==="ec_year_id"&&(M(W({},d)),Z(d),ce(fe))},xe=fe=>{$.default.confirm({centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:"\u786E\u8BA4\u8981\u5220\u9664\u5417\uFF1F",onOk:()=>w(void 0,null,function*(){const Ze=yield(0,X.ZP)(`/api/ec_years/${d.ec_year_id}/ec_docs/${fe}.json`,{method:"delete"});(Ze==null?void 0:Ze.status)===0&&(d.page=1,M(W({},d)),Z(d))})})},Be=[{title:"\u5E8F\u53F7",dataIndex:"index",width:90,render:(fe,Ze,Oe)=>T.createElement("span",{className:"pl20"},d.per_page*(d.page-1)+Oe+1)},{title:"\u6587\u6863\u540D\u79F0",dataIndex:"name",ellipsis:!0,width:200,render:fe=>fe||"-"},{title:"\u751F\u6210\u65F6\u95F4",dataIndex:"created_at",ellipsis:!0,width:200,render:fe=>fe||"-"},{title:"\u6700\u540E\u66F4\u65B0\u65F6\u95F4",dataIndex:"updated_at",width:200,ellipsis:!0,render:fe=>fe||"-"},{title:"\u64CD\u4F5C",width:120,dataIndex:"id",render:(fe,Ze)=>T.createElement("span",{style:{display:"inline-flex",transform:"translateY(1px)",width:"80%",color:"#0152D9",justifyContent:"space-between"}},T.createElement(G.Z,{title:"\u4FEE\u6539\u6807\u9898"},T.createElement("i",{style:{cursor:"pointer"},onClick:()=>{var Oe;let De=Ze.name.substr(0,(Oe=Ze.name)==null?void 0:Oe.lastIndexOf("."));if(!De.replaceAll(" ","")){e.ZP.info("\u6587\u4EF6\u540D\u4E0D\u80FD\u4E3A\u7A7A");return}$.default.confirm({title:"\u91CD\u547D\u540D",icon:!1,content:T.createElement(s.default,{defaultValue:De,maxLength:100,onChange:rt=>{De=rt.target.value}}),okText:"\u786E\u8BA4",cancelText:"\u53D6\u6D88",onOk:()=>w(void 0,null,function*(){let rt=yield(0,X.ZP)(`/api/ec_years/${d==null?void 0:d.ec_year_id}/ec_docs/${fe}.json`,{method:"put",body:{ec_year_id:d==null?void 0:d.ec_year_id,id:fe,name:De}});(rt==null?void 0:rt.status)===0&&(e.ZP.info("\u4FEE\u6539\u6210\u529F"),d.page=1,M(W({},d)),Z(d))})})},className:"iconfont icon-xiugaibiaoti"})),T.createElement(G.Z,{title:"\u5728\u7EBF\u7F16\u8F91"},T.createElement("i",{onClick:()=>w(void 0,null,function*(){if(["xlsx","docx","pptx"].includes(Ze==null?void 0:Ze.type)){const Oe=yield(0,v.gJ)({attachment_id:Ze.attachment_id});window.open(`/office.html?key=${Ze.attachment_id}&url=${E+(Oe==null?void 0:Oe.url)}&callbackUrl=${E+(Oe==null?void 0:Oe.callbackUrl)}&fileType=docx&title=${Oe==null?void 0:Oe.title}&model=edit&officeServer=${o.Z.ONLYOFFICE}&disabledDownload=false`)}else{e.ZP.info("\u5F53\u524D\u6587\u4EF6\u4E0D\u652F\u6301\u7F16\u8F91");return}}),style:{cursor:"pointer"},className:"iconfont icon-bianji10"})),T.createElement(G.Z,{title:"\u4E0B\u8F7D"},T.createElement("i",{style:{cursor:"pointer"},onClick:()=>{(0,p.IM)({name:Ze==null?void 0:Ze.name,attachment_id:Ze==null?void 0:Ze.attachment_id})},className:"iconfont icon-xiazai4"})),T.createElement(G.Z,{title:"\u5220\u9664"},T.createElement("i",{style:{cursor:"pointer"},onClick:()=>{xe(fe)},className:"iconfont icon-shanchu11"})))}],Ie=ae||ye;return T.createElement("div",{className:A.wrap},T.createElement(b.p,{title:"\u6587\u6863\u751F\u6210",style:{padding:"12px 0 0 20px"}}),T.createElement("div",{className:A.control},T.createElement("div",{className:A.label},"\u8BA4\u8BC1\u4E13\u4E1A"),T.createElement(c.default,{disabled:Ie,style:{width:240},placeholder:"\u8BF7\u9009\u62E9\u8BA4\u8BC1\u4E13\u4E1A",value:d==null?void 0:d.ec_major_school_id,onChange:fe=>Ee(fe,"ec_major_school_id")},He==null?void 0:He.map(fe=>T.createElement(c.default.Option,{value:fe.ec_major_school_id},fe.name))),T.createElement("div",{className:A.label},"\u8BA4\u8BC1\u5C4A\u522B"),T.createElement(c.default,{disabled:Ie,style:{width:140},placeholder:"\u8BF7\u9009\u62E9\u5C4A\u522B",value:d==null?void 0:d.ec_year_id,onChange:fe=>Ee(fe,"ec_year_id")},be==null?void 0:be.map(fe=>T.createElement(c.default.Option,{value:fe.ec_year_id},fe.year))),T.createElement(t.Z,{className:A.button,size:10},T.createElement(r.ZP,{disabled:Ie,style:{transition:"0s"},onClick:()=>{O(!0)},type:"primary"},T.createElement("i",{className:"iconfont icon-xinzeng font14 mr5"}),"\u751F\u6210\u6587\u6863"))),T.createElement(i.default,{className:A.customTable,dataSource:ut,bordered:!1,rowKey:"id",columns:Be,rowClassName:A.row,loading:ae,pagination:{pageSize:d.per_page,total:d.total,current:d.page,showQuickJumper:!0,hideOnSinglePage:!1,showSizeChanger:!0,size:"default",position:["bottomCenter"],showTotal:fe=>T.createElement("span",{className:"mr10"},"\u5171",T.createElement("span",{className:"c-orange"},fe),"\u6761\u6570\u636E")}}),T.createElement($.default,{title:"\u751F\u6210\u6587\u6863",open:B,onOk:()=>{st.submit()},okButtonProps:{loading:q},onCancel:()=>{O(!1),st.setFieldsValue({export_type:"",ec_course_id:""})}},console.log("---",d),T.createElement(h.default,{labelCol:{span:7},wrapperCol:{span:17},form:st,onValuesChange:fe=>{fe.export_type&&(d.formvalues=fe),M(W({},d))},onFinish:fe=>w(void 0,null,function*(){ie(!0);let Ze=`/api/ec_years/${d==null?void 0:d.ec_year_id}/ec_docs.json`,Oe=yield(0,X.ZP)(Ze,{method:"post",body:W({ec_year_id:d.ec_year_id},fe)});ie(!1),Oe.status===0&&(e.ZP.info("\u751F\u6210\u6210\u529F"),Z(d),st.setFieldsValue({export_type:"",ec_course_id:""}),O(!1))})},T.createElement(h.default.Item,{label:"\u9009\u62E9\u8981\u751F\u6210\u7684\u6587\u6863",name:"export_type",rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u8981\u751F\u6210\u7684\u6587\u6863"}]},T.createElement(c.default,{placeholder:"\u8BF7\u9009\u62E9\u8981\u751F\u6210\u7684\u6587\u6863"},_==null?void 0:_.map((fe,Ze)=>T.createElement(c.default.Option,{key:Ze,value:fe==null?void 0:fe.id},fe==null?void 0:fe.content)))),((n=d.formvalues)==null?void 0:n.export_type)===4&&T.createElement(h.default.Item,{label:"\u9009\u62E9\u5BF9\u5E94\u7684\u8BFE\u7A0B",name:"ec_course_id",rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u5BF9\u5E94\u7684\u8BFE\u7A0B"}]},T.createElement(c.default,{placeholder:"\u8BF7\u9009\u62E9\u5BF9\u5E94\u7684\u8BFE\u7A0B"},R==null?void 0:R.map((fe,Ze)=>T.createElement(c.default.Option,{key:Ze,value:fe==null?void 0:fe.id},fe==null?void 0:fe.name)))))),T.createElement(m.Z,Pe(W({},D),{onClose:()=>{U(Pe(W({},D),{type:""}))}})))};var N=(0,j.connect)(({user:C})=>({user:C}))(x)},23029:function(It,Fe,l){"use strict";l.d(Fe,{p:function(){return X},v:function(){return $}});var T=l(59301),A={panelTitleContainer:"panelTitleContainer___Ypuh_"},X=({title:G,style:e={}})=>T.createElement("div",{className:A.panelTitleContainer,style:e},T.createElement("div",null,G)),V={selectWrapContainer:"selectWrapContainer___qocIH"},$=({title:G,children:e})=>T.createElement("div",{className:V.selectWrapContainer},T.createElement("span",null,G),e)},40133:function(It,Fe,l){"use strict";l.d(Fe,{AD:function(){return x},D9:function(){return M},Hp:function(){return k},IM:function(){return de},Iy:function(){return F},KM:function(){return we},MJ:function(){return I},Ne:function(){return ae},ON:function(){return be},Uj:function(){return Et},VY:function(){return He},YO:function(){return ut},YX:function(){return Ge},Zn:function(){return o},_g:function(){return m},_k:function(){return a},c6:function(){return w},cr:function(){return v},eV:function(){return _},fi:function(){return b},gh:function(){return W},hS:function(){return ye},iA:function(){return S},j6:function(){return f},je:function(){return y},jj:function(){return u},kS:function(){return mt},lS:function(){return n},o6:function(){return Pe},pO:function(){return st},rQ:function(){return N},sA:function(){return Y},xm:function(){return d},xo:function(){return Ae},y8:function(){return C},yd:function(){return p}});var T=l(82264),A=l(25690),j=l(51257),X=l(6767),V=l(346),h=Object.defineProperty,$=Object.getOwnPropertySymbols,G=Object.prototype.hasOwnProperty,e=Object.prototype.propertyIsEnumerable,s=(E,B,O)=>B in E?h(E,B,{enumerable:!0,configurable:!0,writable:!0,value:O}):E[B]=O,c=(E,B)=>{for(var O in B||(B={}))G.call(B,O)&&s(E,O,B[O]);if($)for(var O of $(B))e.call(B,O)&&s(E,O,B[O]);return E},t=(E,B,O)=>new Promise((q,ie)=>{var R=z=>{try{P(O.next(z))}catch(D){ie(D)}},g=z=>{try{P(O.throw(z))}catch(D){ie(D)}},P=z=>z.done?q(z.value):Promise.resolve(z.value).then(R,g);P((O=O.apply(E,B)).next())});const r=()=>{(0,A.getDvaApp)()._store.dispatch({type:"globalSetting/setGlobalLoading",payload:{show:!0,text:"\u6B63\u5728\u751F\u6210\u6587\u4EF6\uFF0C\u8BF7\u7A0D\u540E..."}})},i=()=>{(0,A.getDvaApp)()._store.dispatch({type:"globalSetting/setGlobalLoading",payload:{show:!1,text:""}})},o=E=>t(void 0,null,function*(){r(),(yield(0,T.YR)(c({},E))).status===0&&(yield(0,j.QH)("",(0,j.NY)({url:V.Z.API_SERVER+`/api/courses/${E.coursesId}/export_couser_info.json`,query:E}))),i()}),v=E=>t(void 0,null,function*(){const B=yield(0,T.yS)(c({},E));if(B.status===0)X.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),A.history.push(`/classrooms/${E.coursesId}/exportlist/course_member_act_score`);else{if(B.status===-2)return B;B.status===-3&&((0,A.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),A.history.push(`/classrooms/${E.coursesId}/exportlist/course_member_act_score`))}}),b=E=>t(void 0,null,function*(){const B=yield(0,T.W0)(c({},E));if(B.status===0)X.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),A.history.push(`/classrooms/${E.coursesId}/exportlist/course_total_score`);else{if(B.status===-4)return B;B.status===-3&&((0,A.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),A.history.push(`/classrooms/${E.coursesId}/exportlist/course_total_score`))}}),S=E=>t(void 0,null,function*(){const B=yield(0,T.Nl)(c({},E));if(B.status===0)X.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),A.history.push(`/classrooms/${E.coursesId}/exportlist/course_total_exercise_and_other`);else{if(B.status===-4)return B;B.status===-3&&((0,A.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),A.history.push(`/classrooms/${E.coursesId}/exportlist/course_total_exercise_and_other`))}}),p=E=>t(void 0,null,function*(){const B=yield(0,T.IU)(c({},E));if(B.status===0)X.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),A.history.push(`/classrooms/${E.coursesId}/exportlist/export_star_user`);else{if(B.status===-4)return B;B.status===-3&&((0,A.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),A.history.push(`/classrooms/${E.coursesId}/exportlist/export_star_user`))}}),m=E=>t(void 0,null,function*(){const B=yield(0,T.td)(c({},E));if(B.status===0)X.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),A.history.push(`/classrooms/${E.coursesId}/exportlist/course_total_exercise_and_other`);else{if(B.status===-2)return B;if(B.status===-3)(0,A.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),A.history.push(`/classrooms/${E.coursesId}/exportlist/course_total_exercise_and_other`);else if(B.status===-4)return B}}),f=E=>t(void 0,null,function*(){const B=yield(0,T.QX)(c({},E));if(B.status===0)X.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),A.history.push(`/classrooms/${E.coursesId}/exportlist/course_total_homework`);else{if(B.status===-4)return B;B.status===-3&&((0,A.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),A.history.push(`/classrooms/${E.coursesId}/exportlist/course_total_homework`))}}),u=(E,B)=>t(void 0,null,function*(){const O=yield(0,T.o_)(c({},E));O.status===0?(X.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F\uFF01\u5BFC\u51FA\u540E\u6587\u4EF6\u4FDD\u5B58\u65F6\u95F4\u4E3A7\u5929\uFF0C\u8BF7\u53CA\u65F6\u4E0B\u8F7D"),A.history.push(`/classrooms/${E.coursesId}/exportlist/${B}`)):O.status===-3&&((0,A.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),A.history.push(`/classrooms/${E.coursesId}/exportlist/${B}`))}),k=(E,B)=>t(void 0,null,function*(){const O=yield(0,T.ZL)(c({},E));O.status===0?(X.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F\uFF01\u5BFC\u51FA\u540E\u6587\u4EF6\u4FDD\u5B58\u65F6\u95F4\u4E3A7\u5929\uFF0C\u8BF7\u53CA\u65F6\u4E0B\u8F7D"),A.history.push(`/classrooms/${E.coursesId}/exportlist/${B}`)):O.status===-3&&((0,A.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),A.history.push(`/classrooms/${E.coursesId}/exportlist/${B}`))}),I=(E,B)=>t(void 0,null,function*(){const O=yield(0,T.vV)(c({},E));O.status===0?(X.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F\uFF01\u5BFC\u51FA\u540E\u6587\u4EF6\u4FDD\u5B58\u65F6\u95F4\u4E3A7\u5929\uFF0C\u8BF7\u53CA\u65F6\u4E0B\u8F7D"),A.history.push(`/classrooms/${E.coursesId}/exportlist/${B}`)):O.status===-3&&((0,A.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),A.history.push(`/classrooms/${E.coursesId}/exportlist/${B}`))}),F=(E,B)=>t(void 0,null,function*(){const O=yield(0,T.aP)(c({},E));O.status===0?(X.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),A.history.push(`/classrooms/${E.coursesId}/exportlist/${B}`)):O.status===-3&&((0,A.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),A.history.push(`/classrooms/${E.coursesId}/exportlist/${B}`))}),K=E=>t(void 0,null,function*(){r(),(yield exportCourseWorkListAppendix(c({},E))).status===0&&(yield downLoadFileIframe("",setUrlQuery({url:ENV.API_SERVER+`/api/homework_commons/${E.categoryId}/works_list.zip`,query:E}))),i()}),Y=E=>t(void 0,null,function*(){r(),yield(0,j.QH)("",V.Z.API_SERVER+`/api/polls/${E.categoryId}/commit_result.xlsx`),i()}),W=E=>t(void 0,null,function*(){yield(0,j.FH)("",(0,j.NY)({url:V.Z.API_SERVER+`/api/courses/${E.coursesId}/attendances/export_xlsx_data.xlsx`,query:E}))}),Pe=E=>t(void 0,null,function*(){yield(0,j.FH)("",(0,j.NY)({url:V.Z.API_SERVER+`/api/courses/${E.coursesId}/video_study_statics.xlsx`,query:E}))}),w=E=>t(void 0,null,function*(){yield(0,j.FH)("",(0,j.NY)({url:V.Z.API_SERVER+`/api/courses/${E.coursesId}/export_video_study.xlsx`,query:E}))}),_=E=>t(void 0,null,function*(){yield(0,j.FH)("",(0,j.NY)({url:V.Z.API_SERVER+`/api/courses/${E.coursesId}/export_course_students_info.xlsx`,query:E}))}),x=E=>t(void 0,null,function*(){yield(0,j.FH)("",(0,j.NY)({url:V.Z.API_SERVER+"/api/school_manages/students.xlsx",query:E}))}),N=E=>t(void 0,null,function*(){yield(0,j.FH)("",(0,j.NY)({url:V.Z.API_SERVER+"/api/item_banks/export.xlsx",query:E}))}),C=E=>t(void 0,null,function*(){yield(0,j.FH)("",(0,j.NY)({url:V.Z.API_SERVER+"/api/competitions/region_reports.xlsx",query:E}))}),y=E=>t(void 0,null,function*(){const B=yield(0,T.Uy)(c({},E));B.status===0?(X.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),A.history.push(`/classrooms/${E.coursesId}/exportlist/exercise_score,export_exercise_users`)):B.status===-3&&((0,A.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),A.history.push(`/classrooms/${E.coursesId}/exportlist/exercise_score,export_exercise_users`))}),n=E=>t(void 0,null,function*(){const B=yield(0,T.tg)(c({},E));B.status===0?(X.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),A.history.push(`/classrooms/${E.coursesId}/exportlist/exercise_score,export_exercise_report`)):B.status===-3&&((0,A.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),A.history.push(`/classrooms/${E.coursesId}/exportlist/exercise_score,export_exercise_report`))}),a=E=>t(void 0,null,function*(){console.log("----------","\u8C03\u7528\u4E0B\u8F7D"),yield(0,j.FH)("",(0,j.NY)({url:V.Z.API_SERVER+`/api/export_records/${E.id}.xlsx`,query:E}))}),d=E=>t(void 0,null,function*(){yield(0,j.FH)("",(0,j.NY)({url:V.Z.API_SERVER+"/api/ec_major_schools/0/ec_years.xlsx",query:E}))}),M=E=>t(void 0,null,function*(){yield(0,j.FH)("",(0,j.NY)({url:V.Z.API_SERVER+`/api/courses/${E==null?void 0:E.coursesId}/${E.menuKey}_statistic.xlsx?${E.checkedList.map(B=>`course_group_id[]=${B}`).join("&")}`,query:E}))}),ae=E=>t(void 0,null,function*(){yield(0,j.FH)("",(0,j.NY)({url:V.Z.API_SERVER+`/api/ec_years/${E==null?void 0:E.ec_year_id}/ec_training_objectives.xlsx`,query:E}))}),de=E=>t(void 0,null,function*(){yield(0,j.FH)(E==null?void 0:E.name,(0,j.NY)({url:V.Z.API_SERVER+"/api/attachments/get_ecs_attachment.docx",query:E}))}),ye=E=>t(void 0,null,function*(){yield(0,j.FH)("",(0,j.NY)({url:V.Z.API_SERVER+`/api/ec_years/${E==null?void 0:E.ec_year_id}/ec_courses.xlsx`,query:E}))}),Ae=E=>t(void 0,null,function*(){yield(0,j.FH)("",(0,j.NY)({url:V.Z.API_SERVER+`/api/ec_years/${E==null?void 0:E.ec_year_id}/ec_graduation_requirements.xlsx`,query:E}))}),He=E=>t(void 0,null,function*(){yield(0,j.FH)("",(0,j.NY)({url:V.Z.API_SERVER+"/api/courses/rank_list.xlsx",query:E}))}),mt=E=>t(void 0,null,function*(){yield(0,j.FH)("",(0,j.NY)({url:V.Z.API_SERVER+"/api/courses/question_rank_list.xlsx",query:E}))}),be=E=>t(void 0,null,function*(){yield(0,j.FH)("",(0,j.NY)({url:V.Z.API_SERVER+`/api/examination_banks/${E.id}.json`,query:E}))}),Ge=E=>t(void 0,null,function*(){yield(0,j.FH)("",(0,j.NY)({url:V.Z.API_SERVER+`/api/exercises/${E.categoryId}.json`,query:E}))}),ut=E=>t(void 0,null,function*(){yield(0,j.FH)("",(0,j.NY)({url:V.Z.API_SERVER+`/api/polls/${E==null?void 0:E.id}/commit_result.json`,query:E}))}),Et=E=>t(void 0,null,function*(){yield(0,j.FH)("",(0,j.NY)({url:V.Z.API_SERVER+"/api/paths/get_task_pass.json",query:E}))}),st=(E,B)=>t(void 0,null,function*(){yield(0,j.FH)(B||"",(0,j.NY)({url:V.Z.API_SERVER+`/api/exercises/${E==null?void 0:E.exercise_id}/consult_exercise.json`,query:E}))}),we=E=>t(void 0,null,function*(){yield(0,j.FH)("",(0,j.NY)({url:V.Z.API_SERVER+`/api/competitions/${E==null?void 0:E.identifier}/competition_commit_records/member_works.xlsx`,query:E}))})},25769:function(It,Fe,l){"use strict";var T=l(98040),A={"text/plain":"Text","text/html":"Url",default:"Text"},j="Copy to clipboard: #{key}, Enter";function X(h){var $=(/mac os x/i.test(navigator.userAgent)?"\u2318":"Ctrl")+"+C";return h.replace(/#{\s*key\s*}/g,$)}function V(h,$){var G,e,s,c,t,r,i=!1;$||($={}),G=$.debug||!1;try{s=T(),c=document.createRange(),t=document.getSelection(),r=document.createElement("span"),r.textContent=h,r.ariaHidden="true",r.style.all="unset",r.style.position="fixed",r.style.top=0,r.style.clip="rect(0, 0, 0, 0)",r.style.whiteSpace="pre",r.style.webkitUserSelect="text",r.style.MozUserSelect="text",r.style.msUserSelect="text",r.style.userSelect="text",r.addEventListener("copy",function(v){if(v.stopPropagation(),$.format)if(v.preventDefault(),typeof v.clipboardData=="undefined"){G&&console.warn("unable to use e.clipboardData"),G&&console.warn("trying IE specific stuff"),window.clipboardData.clearData();var b=A[$.format]||A.default;window.clipboardData.setData(b,h)}else v.clipboardData.clearData(),v.clipboardData.setData($.format,h);$.onCopy&&(v.preventDefault(),$.onCopy(v.clipboardData))}),document.body.appendChild(r),c.selectNodeContents(r),t.addRange(c);var o=document.execCommand("copy");if(!o)throw new Error("copy command was unsuccessful");i=!0}catch(v){G&&console.error("unable to copy using execCommand: ",v),G&&console.warn("trying IE specific stuff");try{window.clipboardData.setData($.format||"text",h),$.onCopy&&$.onCopy(window.clipboardData),i=!0}catch(b){G&&console.error("unable to copy using clipboardData: ",b),G&&console.error("falling back to prompt"),e=X("message"in $?$.message:j),window.prompt(e,h)}}finally{t&&(typeof t.removeRange=="function"?t.removeRange(c):t.removeAllRanges()),r&&document.body.removeChild(r),s()}return i}It.exports=V},53184:function(It,Fe,l){"use strict";var T,A;function j(X,V,h){var $=function(G,e){return X.js_beautify(G,e)};return $.js=X.js_beautify,$.css=V.css_beautify,$.html=h.html_beautify,$.js_beautify=X.js_beautify,$.css_beautify=V.css_beautify,$.html_beautify=h.html_beautify,$}T=[l(58553),l(87804),l(40998)],A=function(X,V,h){return j(X,V,h)}.apply(Fe,T),A!==void 0&&(It.exports=A)},87804:function(It,Fe){var l,T;(function(){var A;(function(){"use strict";var X=[,,function(G){function e(t){this.__parent=t,this.__character_count=0,this.__indent_count=-1,this.__alignment_count=0,this.__wrap_point_index=0,this.__wrap_point_character_count=0,this.__wrap_point_indent_count=-1,this.__wrap_point_alignment_count=0,this.__items=[]}e.prototype.clone_empty=function(){var t=new e(this.__parent);return t.set_indent(this.__indent_count,this.__alignment_count),t},e.prototype.item=function(t){return t<0?this.__items[this.__items.length+t]:this.__items[t]},e.prototype.has_match=function(t){for(var r=this.__items.length-1;r>=0;r--)if(this.__items[r].match(t))return!0;return!1},e.prototype.set_indent=function(t,r){this.is_empty()&&(this.__indent_count=t||0,this.__alignment_count=r||0,this.__character_count=this.__parent.get_indent_size(this.__indent_count,this.__alignment_count))},e.prototype._set_wrap_point=function(){this.__parent.wrap_line_length&&(this.__wrap_point_index=this.__items.length,this.__wrap_point_character_count=this.__character_count,this.__wrap_point_indent_count=this.__parent.next_line.__indent_count,this.__wrap_point_alignment_count=this.__parent.next_line.__alignment_count)},e.prototype._should_wrap=function(){return this.__wrap_point_index&&this.__character_count>this.__parent.wrap_line_length&&this.__wrap_point_character_count>this.__parent.next_line.__character_count},e.prototype._allow_wrap=function(){if(this._should_wrap()){this.__parent.add_new_line();var t=this.__parent.current_line;return t.set_indent(this.__wrap_point_indent_count,this.__wrap_point_alignment_count),t.__items=this.__items.slice(this.__wrap_point_index),this.__items=this.__items.slice(0,this.__wrap_point_index),t.__character_count+=this.__character_count-this.__wrap_point_character_count,this.__character_count=this.__wrap_point_character_count,t.__items[0]===" "&&(t.__items.splice(0,1),t.__character_count-=1),!0}return!1},e.prototype.is_empty=function(){return this.__items.length===0},e.prototype.last=function(){return this.is_empty()?null:this.__items[this.__items.length-1]},e.prototype.push=function(t){this.__items.push(t);var r=t.lastIndexOf(`
`);r!==-1?this.__character_count=t.length-r:this.__character_count+=t.length},e.prototype.pop=function(){var t=null;return this.is_empty()||(t=this.__items.pop(),this.__character_count-=t.length),t},e.prototype._remove_indent=function(){this.__indent_count>0&&(this.__indent_count-=1,this.__character_count-=this.__parent.indent_size)},e.prototype._remove_wrap_indent=function(){this.__wrap_point_indent_count>0&&(this.__wrap_point_indent_count-=1)},e.prototype.trim=function(){for(;this.last()===" ";)this.__items.pop(),this.__character_count-=1},e.prototype.toString=function(){var t="";return this.is_empty()?this.__parent.indent_empty_lines&&(t=this.__parent.get_indent_string(this.__indent_count)):(t=this.__parent.get_indent_string(this.__indent_count,this.__alignment_count),t+=this.__items.join("")),t};function s(t,r){this.__cache=[""],this.__indent_size=t.indent_size,this.__indent_string=t.indent_char,t.indent_with_tabs||(this.__indent_string=new Array(t.indent_size+1).join(t.indent_char)),r=r||"",t.indent_level>0&&(r=new Array(t.indent_level+1).join(this.__indent_string)),this.__base_string=r,this.__base_string_length=r.length}s.prototype.get_indent_size=function(t,r){var i=this.__base_string_length;return r=r||0,t<0&&(i=0),i+=t*this.__indent_size,i+=r,i},s.prototype.get_indent_string=function(t,r){var i=this.__base_string;return r=r||0,t<0&&(t=0,i=""),r+=t*this.__indent_size,this.__ensure_cache(r),i+=this.__cache[r],i},s.prototype.__ensure_cache=function(t){for(;t>=this.__cache.length;)this.__add_column()},s.prototype.__add_column=function(){var t=this.__cache.length,r=0,i="";this.__indent_size&&t>=this.__indent_size&&(r=Math.floor(t/this.__indent_size),t-=r*this.__indent_size,i=new Array(r+1).join(this.__indent_string)),t&&(i+=new Array(t+1).join(" ")),this.__cache.push(i)};function c(t,r){this.__indent_cache=new s(t,r),this.raw=!1,this._end_with_newline=t.end_with_newline,this.indent_size=t.indent_size,this.wrap_line_length=t.wrap_line_length,this.indent_empty_lines=t.indent_empty_lines,this.__lines=[],this.previous_line=null,this.current_line=null,this.next_line=new e(this),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=!1,this.__add_outputline()}c.prototype.__add_outputline=function(){this.previous_line=this.current_line,this.current_line=this.next_line.clone_empty(),this.__lines.push(this.current_line)},c.prototype.get_line_number=function(){return this.__lines.length},c.prototype.get_indent_string=function(t,r){return this.__indent_cache.get_indent_string(t,r)},c.prototype.get_indent_size=function(t,r){return this.__indent_cache.get_indent_size(t,r)},c.prototype.is_empty=function(){return!this.previous_line&&this.current_line.is_empty()},c.prototype.add_new_line=function(t){return this.is_empty()||!t&&this.just_added_newline()?!1:(this.raw||this.__add_outputline(),!0)},c.prototype.get_code=function(t){this.trim(!0);var r=this.current_line.pop();r&&(r[r.length-1]===`
`&&(r=r.replace(/\n+$/g,"")),this.current_line.push(r)),this._end_with_newline&&this.__add_outputline();var i=this.__lines.join(`
`);return t!==`
`&&(i=i.replace(/[\n]/g,t)),i},c.prototype.set_wrap_point=function(){this.current_line._set_wrap_point()},c.prototype.set_indent=function(t,r){return t=t||0,r=r||0,this.next_line.set_indent(t,r),this.__lines.length>1?(this.current_line.set_indent(t,r),!0):(this.current_line.set_indent(),!1)},c.prototype.add_raw_token=function(t){for(var r=0;r<t.newlines;r++)this.__add_outputline();this.current_line.set_indent(-1),this.current_line.push(t.whitespace_before),this.current_line.push(t.text),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=!1},c.prototype.add_token=function(t){this.__add_space_before_token(),this.current_line.push(t),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=this.current_line._allow_wrap()},c.prototype.__add_space_before_token=function(){this.space_before_token&&!this.just_added_newline()&&(this.non_breaking_space||this.set_wrap_point(),this.current_line.push(" "))},c.prototype.remove_indent=function(t){for(var r=this.__lines.length;t<r;)this.__lines[t]._remove_indent(),t++;this.current_line._remove_wrap_indent()},c.prototype.trim=function(t){for(t=t===void 0?!1:t,this.current_line.trim();t&&this.__lines.length>1&&this.current_line.is_empty();)this.__lines.pop(),this.current_line=this.__lines[this.__lines.length-1],this.current_line.trim();this.previous_line=this.__lines.length>1?this.__lines[this.__lines.length-2]:null},c.prototype.just_added_newline=function(){return this.current_line.is_empty()},c.prototype.just_added_blankline=function(){return this.is_empty()||this.current_line.is_empty()&&this.previous_line.is_empty()},c.prototype.ensure_empty_line_above=function(t,r){for(var i=this.__lines.length-2;i>=0;){var o=this.__lines[i];if(o.is_empty())break;if(o.item(0).indexOf(t)!==0&&o.item(-1)!==r){this.__lines.splice(i+1,0,new e(this)),this.previous_line=this.__lines[this.__lines.length-2];break}i--}},G.exports.Output=c},,,,function(G){function e(t,r){this.raw_options=s(t,r),this.disabled=this._get_boolean("disabled"),this.eol=this._get_characters("eol","auto"),this.end_with_newline=this._get_boolean("end_with_newline"),this.indent_size=this._get_number("indent_size",4),this.indent_char=this._get_characters("indent_char"," "),this.indent_level=this._get_number("indent_level"),this.preserve_newlines=this._get_boolean("preserve_newlines",!0),this.max_preserve_newlines=this._get_number("max_preserve_newlines",32786),this.preserve_newlines||(this.max_preserve_newlines=0),this.indent_with_tabs=this._get_boolean("indent_with_tabs",this.indent_char===" "),this.indent_with_tabs&&(this.indent_char=" ",this.indent_size===1&&(this.indent_size=4)),this.wrap_line_length=this._get_number("wrap_line_length",this._get_number("max_char")),this.indent_empty_lines=this._get_boolean("indent_empty_lines"),this.templating=this._get_selection_list("templating",["auto","none","angular","django","erb","handlebars","php","smarty"],["auto"])}e.prototype._get_array=function(t,r){var i=this.raw_options[t],o=r||[];return typeof i=="object"?i!==null&&typeof i.concat=="function"&&(o=i.concat()):typeof i=="string"&&(o=i.split(/[^a-zA-Z0-9_\/\-]+/)),o},e.prototype._get_boolean=function(t,r){var i=this.raw_options[t],o=i===void 0?!!r:!!i;return o},e.prototype._get_characters=function(t,r){var i=this.raw_options[t],o=r||"";return typeof i=="string"&&(o=i.replace(/\\r/,"\r").replace(/\\n/,`
`).replace(/\\t/," ")),o},e.prototype._get_number=function(t,r){var i=this.raw_options[t];r=parseInt(r,10),isNaN(r)&&(r=0);var o=parseInt(i,10);return isNaN(o)&&(o=r),o},e.prototype._get_selection=function(t,r,i){var o=this._get_selection_list(t,r,i);if(o.length!==1)throw new Error("Invalid Option Value: The option '"+t+`' can only be one of the following values:
`+r+`
You passed in: '`+this.raw_options[t]+"'");return o[0]},e.prototype._get_selection_list=function(t,r,i){if(!r||r.length===0)throw new Error("Selection list cannot be empty.");if(i=i||[r[0]],!this._is_valid_selection(i,r))throw new Error("Invalid Default Value!");var o=this._get_array(t,i);if(!this._is_valid_selection(o,r))throw new Error("Invalid Option Value: The option '"+t+`' can contain only the following values:
`+r+`
You passed in: '`+this.raw_options[t]+"'");return o},e.prototype._is_valid_selection=function(t,r){return t.length&&r.length&&!t.some(function(i){return r.indexOf(i)===-1})};function s(t,r){var i={};t=c(t);var o;for(o in t)o!==r&&(i[o]=t[o]);if(r&&t[r])for(o in t[r])i[o]=t[r][o];return i}function c(t){var r={},i;for(i in t){var o=i.replace(/-/g,"_");r[o]=t[i]}return r}G.exports.Options=e,G.exports.normalizeOpts=c,G.exports.mergeOpts=s},,function(G){var e=RegExp.prototype.hasOwnProperty("sticky");function s(c){this.__input=c||"",this.__input_length=this.__input.length,this.__position=0}s.prototype.restart=function(){this.__position=0},s.prototype.back=function(){this.__position>0&&(this.__position-=1)},s.prototype.hasNext=function(){return this.__position<this.__input_length},s.prototype.next=function(){var c=null;return this.hasNext()&&(c=this.__input.charAt(this.__position),this.__position+=1),c},s.prototype.peek=function(c){var t=null;return c=c||0,c+=this.__position,c>=0&&c<this.__input_length&&(t=this.__input.charAt(c)),t},s.prototype.__match=function(c,t){c.lastIndex=t;var r=c.exec(this.__input);return r&&!(e&&c.sticky)&&r.index!==t&&(r=null),r},s.prototype.test=function(c,t){return t=t||0,t+=this.__position,t>=0&&t<this.__input_length?!!this.__match(c,t):!1},s.prototype.testChar=function(c,t){var r=this.peek(t);return c.lastIndex=0,r!==null&&c.test(r)},s.prototype.match=function(c){var t=this.__match(c,this.__position);return t?this.__position+=t[0].length:t=null,t},s.prototype.read=function(c,t,r){var i="",o;return c&&(o=this.match(c),o&&(i+=o[0])),t&&(o||!c)&&(i+=this.readUntil(t,r)),i},s.prototype.readUntil=function(c,t){var r="",i=this.__position;c.lastIndex=this.__position;var o=c.exec(this.__input);return o?(i=o.index,t&&(i+=o[0].length)):i=this.__input_length,r=this.__input.substring(this.__position,i),this.__position=i,r},s.prototype.readUntilAfter=function(c){return this.readUntil(c,!0)},s.prototype.get_regexp=function(c,t){var r=null,i="g";return t&&e&&(i="y"),typeof c=="string"&&c!==""?r=new RegExp(c,i):c&&(r=new RegExp(c.source,i)),r},s.prototype.get_literal_regexp=function(c){return RegExp(c.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&"))},s.prototype.peekUntilAfter=function(c){var t=this.__position,r=this.readUntilAfter(c);return this.__position=t,r},s.prototype.lookBack=function(c){var t=this.__position-1;return t>=c.length&&this.__input.substring(t-c.length,t).toLowerCase()===c},G.exports.InputScanner=s},,,,,function(G){function e(s,c){s=typeof s=="string"?s:s.source,c=typeof c=="string"?c:c.source,this.__directives_block_pattern=new RegExp(s+/ beautify( \w+[:]\w+)+ /.source+c,"g"),this.__directive_pattern=/ (\w+)[:](\w+)/g,this.__directives_end_ignore_pattern=new RegExp(s+/\sbeautify\signore:end\s/.source+c,"g")}e.prototype.get_directives=function(s){if(!s.match(this.__directives_block_pattern))return null;var c={};this.__directive_pattern.lastIndex=0;for(var t=this.__directive_pattern.exec(s);t;)c[t[1]]=t[2],t=this.__directive_pattern.exec(s);return c},e.prototype.readIgnored=function(s){return s.readUntilAfter(this.__directives_end_ignore_pattern)},G.exports.Directives=e},,function(G,e,s){var c=s(16).Beautifier,t=s(17).Options;function r(i,o){var v=new c(i,o);return v.beautify()}G.exports=r,G.exports.defaultOptions=function(){return new t}},function(G,e,s){var c=s(17).Options,t=s(2).Output,r=s(8).InputScanner,i=s(13).Directives,o=new i(/\/\*/,/\*\//),v=/\r\n|[\r\n]/,b=/\r\n|[\r\n]/g,S=/\s/,p=/(?:\s|\n)+/g,m=/\/\*(?:[\s\S]*?)((?:\*\/)|$)/g,f=/\/\/(?:[^\n\r\u2028\u2029]*)/g;function u(k,I){this._source_text=k||"",this._options=new c(I),this._ch=null,this._input=null,this.NESTED_AT_RULE={page:!0,"font-face":!0,keyframes:!0,media:!0,supports:!0,document:!0},this.CONDITIONAL_GROUP_RULE={media:!0,supports:!0,document:!0},this.NON_SEMICOLON_NEWLINE_PROPERTY=["grid-template-areas","grid-template"]}u.prototype.eatString=function(k){var I="";for(this._ch=this._input.next();this._ch;){if(I+=this._ch,this._ch==="\\")I+=this._input.next();else if(k.indexOf(this._ch)!==-1||this._ch===`
`)break;this._ch=this._input.next()}return I},u.prototype.eatWhitespace=function(k){for(var I=S.test(this._input.peek()),F=0;S.test(this._input.peek());)this._ch=this._input.next(),k&&this._ch===`
`&&(F===0||F<this._options.max_preserve_newlines)&&(F++,this._output.add_new_line(!0));return I},u.prototype.foundNestedPseudoClass=function(){for(var k=0,I=1,F=this._input.peek(I);F;){if(F==="{")return!0;if(F==="(")k+=1;else if(F===")"){if(k===0)return!1;k-=1}else if(F===";"||F==="}")return!1;I++,F=this._input.peek(I)}return!1},u.prototype.print_string=function(k){this._output.set_indent(this._indentLevel),this._output.non_breaking_space=!0,this._output.add_token(k)},u.prototype.preserveSingleSpace=function(k){k&&(this._output.space_before_token=!0)},u.prototype.indent=function(){this._indentLevel++},u.prototype.outdent=function(){this._indentLevel>0&&this._indentLevel--},u.prototype.beautify=function(){if(this._options.disabled)return this._source_text;var k=this._source_text,I=this._options.eol;I==="auto"&&(I=`
`,k&&v.test(k||"")&&(I=k.match(v)[0])),k=k.replace(b,`
`);var F=k.match(/^[\t ]*/)[0];this._output=new t(this._options,F),this._input=new r(k),this._indentLevel=0,this._nestedLevel=0,this._ch=null;for(var K=0,Y=!1,W=!1,Pe=!1,w=!1,_=!1,x=this._ch,N=!1,C,y,n;C=this._input.read(p),y=C!=="",n=x,this._ch=this._input.next(),this._ch==="\\"&&this._input.hasNext()&&(this._ch+=this._input.next()),x=this._ch,this._ch;)if(this._ch==="/"&&this._input.peek()==="*"){this._output.add_new_line(),this._input.back();var a=this._input.read(m),d=o.get_directives(a);d&&d.ignore==="start"&&(a+=o.readIgnored(this._input)),this.print_string(a),this.eatWhitespace(!0),this._output.add_new_line()}else if(this._ch==="/"&&this._input.peek()==="/")this._output.space_before_token=!0,this._input.back(),this.print_string(this._input.read(f)),this.eatWhitespace(!0);else if(this._ch==="$"){this.preserveSingleSpace(y),this.print_string(this._ch);var M=this._input.peekUntilAfter(/[: ,;{}()[\]\/='"]/g);M.match(/[ :]$/)&&(M=this.eatString(": ").replace(/\s+$/,""),this.print_string(M),this._output.space_before_token=!0),K===0&&M.indexOf(":")!==-1&&(W=!0,this.indent())}else if(this._ch==="@")if(this.preserveSingleSpace(y),this._input.peek()==="{")this.print_string(this._ch+this.eatString("}"));else{this.print_string(this._ch);var ae=this._input.peekUntilAfter(/[: ,;{}()[\]\/='"]/g);ae.match(/[ :]$/)&&(ae=this.eatString(": ").replace(/\s+$/,""),this.print_string(ae),this._output.space_before_token=!0),K===0&&ae.indexOf(":")!==-1?(W=!0,this.indent()):ae in this.NESTED_AT_RULE?(this._nestedLevel+=1,ae in this.CONDITIONAL_GROUP_RULE&&(Pe=!0)):K===0&&!W&&(w=!0)}else if(this._ch==="#"&&this._input.peek()==="{")this.preserveSingleSpace(y),this.print_string(this._ch+this.eatString("}"));else if(this._ch==="{")W&&(W=!1,this.outdent()),w=!1,Pe?(Pe=!1,Y=this._indentLevel>=this._nestedLevel):Y=this._indentLevel>=this._nestedLevel-1,this._options.newline_between_rules&&Y&&this._output.previous_line&&this._output.previous_line.item(-1)!=="{"&&this._output.ensure_empty_line_above("/",","),this._output.space_before_token=!0,this._options.brace_style==="expand"?(this._output.add_new_line(),this.print_string(this._ch),this.indent(),this._output.set_indent(this._indentLevel)):(n==="("?this._output.space_before_token=!1:n!==","&&this.indent(),this.print_string(this._ch)),this.eatWhitespace(!0),this._output.add_new_line();else if(this._ch==="}")this.outdent(),this._output.add_new_line(),n==="{"&&this._output.trim(!0),W&&(this.outdent(),W=!1),this.print_string(this._ch),Y=!1,this._nestedLevel&&this._nestedLevel--,this.eatWhitespace(!0),this._output.add_new_line(),this._options.newline_between_rules&&!this._output.just_added_blankline()&&this._input.peek()!=="}"&&this._output.add_new_line(!0),this._input.peek()===")"&&(this._output.trim(!0),this._options.brace_style==="expand"&&this._output.add_new_line(!0));else if(this._ch===":"){for(var de=0;de<this.NON_SEMICOLON_NEWLINE_PROPERTY.length;de++)if(this._input.lookBack(this.NON_SEMICOLON_NEWLINE_PROPERTY[de])){N=!0;break}(Y||Pe)&&!(this._input.lookBack("&")||this.foundNestedPseudoClass())&&!this._input.lookBack("(")&&!w&&K===0?(this.print_string(":"),W||(W=!0,this._output.space_before_token=!0,this.eatWhitespace(!0),this.indent())):(this._input.lookBack(" ")&&(this._output.space_before_token=!0),this._input.peek()===":"?(this._ch=this._input.next(),this.print_string("::")):this.print_string(":"))}else if(this._ch==='"'||this._ch==="'"){var ye=n==='"'||n==="'";this.preserveSingleSpace(ye||y),this.print_string(this._ch+this.eatString(this._ch)),this.eatWhitespace(!0)}else if(this._ch===";")N=!1,K===0?(W&&(this.outdent(),W=!1),w=!1,this.print_string(this._ch),this.eatWhitespace(!0),this._input.peek()!=="/"&&this._output.add_new_line()):(this.print_string(this._ch),this.eatWhitespace(!0),this._output.space_before_token=!0);else if(this._ch==="(")if(this._input.lookBack("url"))this.print_string(this._ch),this.eatWhitespace(),K++,this.indent(),this._ch=this._input.next(),this._ch===")"||this._ch==='"'||this._ch==="'"?this._input.back():this._ch&&(this.print_string(this._ch+this.eatString(")")),K&&(K--,this.outdent()));else{var Ae=!1;this._input.lookBack("with")&&(Ae=!0),this.preserveSingleSpace(y||Ae),this.print_string(this._ch),W&&n==="$"&&this._options.selector_separator_newline?(this._output.add_new_line(),_=!0):(this.eatWhitespace(),K++,this.indent())}else if(this._ch===")")K&&(K--,this.outdent()),_&&this._input.peek()===";"&&this._options.selector_separator_newline&&(_=!1,this.outdent(),this._output.add_new_line()),this.print_string(this._ch);else if(this._ch===",")this.print_string(this._ch),this.eatWhitespace(!0),this._options.selector_separator_newline&&(!W||_)&&K===0&&!w?this._output.add_new_line():this._output.space_before_token=!0;else if((this._ch===">"||this._ch==="+"||this._ch==="~")&&!W&&K===0)this._options.space_around_combinator?(this._output.space_before_token=!0,this.print_string(this._ch),this._output.space_before_token=!0):(this.print_string(this._ch),this.eatWhitespace(),this._ch&&S.test(this._ch)&&(this._ch=""));else if(this._ch==="]")this.print_string(this._ch);else if(this._ch==="[")this.preserveSingleSpace(y),this.print_string(this._ch);else if(this._ch==="=")this.eatWhitespace(),this.print_string("="),S.test(this._ch)&&(this._ch="");else if(this._ch==="!"&&!this._input.lookBack("\\"))this._output.space_before_token=!0,this.print_string(this._ch);else{var He=n==='"'||n==="'";this.preserveSingleSpace(He||y),this.print_string(this._ch),!this._output.just_added_newline()&&this._input.peek()===`
`&&N&&this._output.add_new_line()}var mt=this._output.get_code(I);return mt},G.exports.Beautifier=u},function(G,e,s){var c=s(6).Options;function t(r){c.call(this,r,"css"),this.selector_separator_newline=this._get_boolean("selector_separator_newline",!0),this.newline_between_rules=this._get_boolean("newline_between_rules",!0);var i=this._get_boolean("space_around_selector_separator");this.space_around_combinator=this._get_boolean("space_around_combinator")||i;var o=this._get_selection_list("brace_style",["collapse","expand","end-expand","none","preserve-inline"]);this.brace_style="collapse";for(var v=0;v<o.length;v++)o[v]!=="expand"?this.brace_style="collapse":this.brace_style=o[v]}t.prototype=new c,G.exports.Options=t}],V={};function h(G){var e=V[G];if(e!==void 0)return e.exports;var s=V[G]={exports:{}};return X[G](s,s.exports,h),s.exports}var $=h(15);A=$})();var j=A;l=[],T=function(){return{css_beautify:j}}.apply(Fe,l),T!==void 0&&(It.exports=T)})()},40998:function(It,Fe,l){var T,A;(function(){var j;(function(){"use strict";var $=[,,function(c){function t(o){this.__parent=o,this.__character_count=0,this.__indent_count=-1,this.__alignment_count=0,this.__wrap_point_index=0,this.__wrap_point_character_count=0,this.__wrap_point_indent_count=-1,this.__wrap_point_alignment_count=0,this.__items=[]}t.prototype.clone_empty=function(){var o=new t(this.__parent);return o.set_indent(this.__indent_count,this.__alignment_count),o},t.prototype.item=function(o){return o<0?this.__items[this.__items.length+o]:this.__items[o]},t.prototype.has_match=function(o){for(var v=this.__items.length-1;v>=0;v--)if(this.__items[v].match(o))return!0;return!1},t.prototype.set_indent=function(o,v){this.is_empty()&&(this.__indent_count=o||0,this.__alignment_count=v||0,this.__character_count=this.__parent.get_indent_size(this.__indent_count,this.__alignment_count))},t.prototype._set_wrap_point=function(){this.__parent.wrap_line_length&&(this.__wrap_point_index=this.__items.length,this.__wrap_point_character_count=this.__character_count,this.__wrap_point_indent_count=this.__parent.next_line.__indent_count,this.__wrap_point_alignment_count=this.__parent.next_line.__alignment_count)},t.prototype._should_wrap=function(){return this.__wrap_point_index&&this.__character_count>this.__parent.wrap_line_length&&this.__wrap_point_character_count>this.__parent.next_line.__character_count},t.prototype._allow_wrap=function(){if(this._should_wrap()){this.__parent.add_new_line();var o=this.__parent.current_line;return o.set_indent(this.__wrap_point_indent_count,this.__wrap_point_alignment_count),o.__items=this.__items.slice(this.__wrap_point_index),this.__items=this.__items.slice(0,this.__wrap_point_index),o.__character_count+=this.__character_count-this.__wrap_point_character_count,this.__character_count=this.__wrap_point_character_count,o.__items[0]===" "&&(o.__items.splice(0,1),o.__character_count-=1),!0}return!1},t.prototype.is_empty=function(){return this.__items.length===0},t.prototype.last=function(){return this.is_empty()?null:this.__items[this.__items.length-1]},t.prototype.push=function(o){this.__items.push(o);var v=o.lastIndexOf(`
`);v!==-1?this.__character_count=o.length-v:this.__character_count+=o.length},t.prototype.pop=function(){var o=null;return this.is_empty()||(o=this.__items.pop(),this.__character_count-=o.length),o},t.prototype._remove_indent=function(){this.__indent_count>0&&(this.__indent_count-=1,this.__character_count-=this.__parent.indent_size)},t.prototype._remove_wrap_indent=function(){this.__wrap_point_indent_count>0&&(this.__wrap_point_indent_count-=1)},t.prototype.trim=function(){for(;this.last()===" ";)this.__items.pop(),this.__character_count-=1},t.prototype.toString=function(){var o="";return this.is_empty()?this.__parent.indent_empty_lines&&(o=this.__parent.get_indent_string(this.__indent_count)):(o=this.__parent.get_indent_string(this.__indent_count,this.__alignment_count),o+=this.__items.join("")),o};function r(o,v){this.__cache=[""],this.__indent_size=o.indent_size,this.__indent_string=o.indent_char,o.indent_with_tabs||(this.__indent_string=new Array(o.indent_size+1).join(o.indent_char)),v=v||"",o.indent_level>0&&(v=new Array(o.indent_level+1).join(this.__indent_string)),this.__base_string=v,this.__base_string_length=v.length}r.prototype.get_indent_size=function(o,v){var b=this.__base_string_length;return v=v||0,o<0&&(b=0),b+=o*this.__indent_size,b+=v,b},r.prototype.get_indent_string=function(o,v){var b=this.__base_string;return v=v||0,o<0&&(o=0,b=""),v+=o*this.__indent_size,this.__ensure_cache(v),b+=this.__cache[v],b},r.prototype.__ensure_cache=function(o){for(;o>=this.__cache.length;)this.__add_column()},r.prototype.__add_column=function(){var o=this.__cache.length,v=0,b="";this.__indent_size&&o>=this.__indent_size&&(v=Math.floor(o/this.__indent_size),o-=v*this.__indent_size,b=new Array(v+1).join(this.__indent_string)),o&&(b+=new Array(o+1).join(" ")),this.__cache.push(b)};function i(o,v){this.__indent_cache=new r(o,v),this.raw=!1,this._end_with_newline=o.end_with_newline,this.indent_size=o.indent_size,this.wrap_line_length=o.wrap_line_length,this.indent_empty_lines=o.indent_empty_lines,this.__lines=[],this.previous_line=null,this.current_line=null,this.next_line=new t(this),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=!1,this.__add_outputline()}i.prototype.__add_outputline=function(){this.previous_line=this.current_line,this.current_line=this.next_line.clone_empty(),this.__lines.push(this.current_line)},i.prototype.get_line_number=function(){return this.__lines.length},i.prototype.get_indent_string=function(o,v){return this.__indent_cache.get_indent_string(o,v)},i.prototype.get_indent_size=function(o,v){return this.__indent_cache.get_indent_size(o,v)},i.prototype.is_empty=function(){return!this.previous_line&&this.current_line.is_empty()},i.prototype.add_new_line=function(o){return this.is_empty()||!o&&this.just_added_newline()?!1:(this.raw||this.__add_outputline(),!0)},i.prototype.get_code=function(o){this.trim(!0);var v=this.current_line.pop();v&&(v[v.length-1]===`
`&&(v=v.replace(/\n+$/g,"")),this.current_line.push(v)),this._end_with_newline&&this.__add_outputline();var b=this.__lines.join(`
`);return o!==`
`&&(b=b.replace(/[\n]/g,o)),b},i.prototype.set_wrap_point=function(){this.current_line._set_wrap_point()},i.prototype.set_indent=function(o,v){return o=o||0,v=v||0,this.next_line.set_indent(o,v),this.__lines.length>1?(this.current_line.set_indent(o,v),!0):(this.current_line.set_indent(),!1)},i.prototype.add_raw_token=function(o){for(var v=0;v<o.newlines;v++)this.__add_outputline();this.current_line.set_indent(-1),this.current_line.push(o.whitespace_before),this.current_line.push(o.text),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=!1},i.prototype.add_token=function(o){this.__add_space_before_token(),this.current_line.push(o),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=this.current_line._allow_wrap()},i.prototype.__add_space_before_token=function(){this.space_before_token&&!this.just_added_newline()&&(this.non_breaking_space||this.set_wrap_point(),this.current_line.push(" "))},i.prototype.remove_indent=function(o){for(var v=this.__lines.length;o<v;)this.__lines[o]._remove_indent(),o++;this.current_line._remove_wrap_indent()},i.prototype.trim=function(o){for(o=o===void 0?!1:o,this.current_line.trim();o&&this.__lines.length>1&&this.current_line.is_empty();)this.__lines.pop(),this.current_line=this.__lines[this.__lines.length-1],this.current_line.trim();this.previous_line=this.__lines.length>1?this.__lines[this.__lines.length-2]:null},i.prototype.just_added_newline=function(){return this.current_line.is_empty()},i.prototype.just_added_blankline=function(){return this.is_empty()||this.current_line.is_empty()&&this.previous_line.is_empty()},i.prototype.ensure_empty_line_above=function(o,v){for(var b=this.__lines.length-2;b>=0;){var S=this.__lines[b];if(S.is_empty())break;if(S.item(0).indexOf(o)!==0&&S.item(-1)!==v){this.__lines.splice(b+1,0,new t(this)),this.previous_line=this.__lines[this.__lines.length-2];break}b--}},c.exports.Output=i},function(c){function t(r,i,o,v){this.type=r,this.text=i,this.comments_before=null,this.newlines=o||0,this.whitespace_before=v||"",this.parent=null,this.next=null,this.previous=null,this.opened=null,this.closed=null,this.directives=null}c.exports.Token=t},,,function(c){function t(o,v){this.raw_options=r(o,v),this.disabled=this._get_boolean("disabled"),this.eol=this._get_characters("eol","auto"),this.end_with_newline=this._get_boolean("end_with_newline"),this.indent_size=this._get_number("indent_size",4),this.indent_char=this._get_characters("indent_char"," "),this.indent_level=this._get_number("indent_level"),this.preserve_newlines=this._get_boolean("preserve_newlines",!0),this.max_preserve_newlines=this._get_number("max_preserve_newlines",32786),this.preserve_newlines||(this.max_preserve_newlines=0),this.indent_with_tabs=this._get_boolean("indent_with_tabs",this.indent_char===" "),this.indent_with_tabs&&(this.indent_char=" ",this.indent_size===1&&(this.indent_size=4)),this.wrap_line_length=this._get_number("wrap_line_length",this._get_number("max_char")),this.indent_empty_lines=this._get_boolean("indent_empty_lines"),this.templating=this._get_selection_list("templating",["auto","none","angular","django","erb","handlebars","php","smarty"],["auto"])}t.prototype._get_array=function(o,v){var b=this.raw_options[o],S=v||[];return typeof b=="object"?b!==null&&typeof b.concat=="function"&&(S=b.concat()):typeof b=="string"&&(S=b.split(/[^a-zA-Z0-9_\/\-]+/)),S},t.prototype._get_boolean=function(o,v){var b=this.raw_options[o],S=b===void 0?!!v:!!b;return S},t.prototype._get_characters=function(o,v){var b=this.raw_options[o],S=v||"";return typeof b=="string"&&(S=b.replace(/\\r/,"\r").replace(/\\n/,`
`).replace(/\\t/," ")),S},t.prototype._get_number=function(o,v){var b=this.raw_options[o];v=parseInt(v,10),isNaN(v)&&(v=0);var S=parseInt(b,10);return isNaN(S)&&(S=v),S},t.prototype._get_selection=function(o,v,b){var S=this._get_selection_list(o,v,b);if(S.length!==1)throw new Error("Invalid Option Value: The option '"+o+`' can only be one of the following values:
`+v+`
You passed in: '`+this.raw_options[o]+"'");return S[0]},t.prototype._get_selection_list=function(o,v,b){if(!v||v.length===0)throw new Error("Selection list cannot be empty.");if(b=b||[v[0]],!this._is_valid_selection(b,v))throw new Error("Invalid Default Value!");var S=this._get_array(o,b);if(!this._is_valid_selection(S,v))throw new Error("Invalid Option Value: The option '"+o+`' can contain only the following values:
`+v+`
You passed in: '`+this.raw_options[o]+"'");return S},t.prototype._is_valid_selection=function(o,v){return o.length&&v.length&&!o.some(function(b){return v.indexOf(b)===-1})};function r(o,v){var b={};o=i(o);var S;for(S in o)S!==v&&(b[S]=o[S]);if(v&&o[v])for(S in o[v])b[S]=o[v][S];return b}function i(o){var v={},b;for(b in o){var S=b.replace(/-/g,"_");v[S]=o[b]}return v}c.exports.Options=t,c.exports.normalizeOpts=i,c.exports.mergeOpts=r},,function(c){var t=RegExp.prototype.hasOwnProperty("sticky");function r(i){this.__input=i||"",this.__input_length=this.__input.length,this.__position=0}r.prototype.restart=function(){this.__position=0},r.prototype.back=function(){this.__position>0&&(this.__position-=1)},r.prototype.hasNext=function(){return this.__position<this.__input_length},r.prototype.next=function(){var i=null;return this.hasNext()&&(i=this.__input.charAt(this.__position),this.__position+=1),i},r.prototype.peek=function(i){var o=null;return i=i||0,i+=this.__position,i>=0&&i<this.__input_length&&(o=this.__input.charAt(i)),o},r.prototype.__match=function(i,o){i.lastIndex=o;var v=i.exec(this.__input);return v&&!(t&&i.sticky)&&v.index!==o&&(v=null),v},r.prototype.test=function(i,o){return o=o||0,o+=this.__position,o>=0&&o<this.__input_length?!!this.__match(i,o):!1},r.prototype.testChar=function(i,o){var v=this.peek(o);return i.lastIndex=0,v!==null&&i.test(v)},r.prototype.match=function(i){var o=this.__match(i,this.__position);return o?this.__position+=o[0].length:o=null,o},r.prototype.read=function(i,o,v){var b="",S;return i&&(S=this.match(i),S&&(b+=S[0])),o&&(S||!i)&&(b+=this.readUntil(o,v)),b},r.prototype.readUntil=function(i,o){var v="",b=this.__position;i.lastIndex=this.__position;var S=i.exec(this.__input);return S?(b=S.index,o&&(b+=S[0].length)):b=this.__input_length,v=this.__input.substring(this.__position,b),this.__position=b,v},r.prototype.readUntilAfter=function(i){return this.readUntil(i,!0)},r.prototype.get_regexp=function(i,o){var v=null,b="g";return o&&t&&(b="y"),typeof i=="string"&&i!==""?v=new RegExp(i,b):i&&(v=new RegExp(i.source,b)),v},r.prototype.get_literal_regexp=function(i){return RegExp(i.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&"))},r.prototype.peekUntilAfter=function(i){var o=this.__position,v=this.readUntilAfter(i);return this.__position=o,v},r.prototype.lookBack=function(i){var o=this.__position-1;return o>=i.length&&this.__input.substring(o-i.length,o).toLowerCase()===i},c.exports.InputScanner=r},function(c,t,r){var i=r(8).InputScanner,o=r(3).Token,v=r(10).TokenStream,b=r(11).WhitespacePattern,S={START:"TK_START",RAW:"TK_RAW",EOF:"TK_EOF"},p=function(m,f){this._input=new i(m),this._options=f||{},this.__tokens=null,this._patterns={},this._patterns.whitespace=new b(this._input)};p.prototype.tokenize=function(){this._input.restart(),this.__tokens=new v,this._reset();for(var m,f=new o(S.START,""),u=null,k=[],I=new v;f.type!==S.EOF;){for(m=this._get_next_token(f,u);this._is_comment(m);)I.add(m),m=this._get_next_token(f,u);I.isEmpty()||(m.comments_before=I,I=new v),m.parent=u,this._is_opening(m)?(k.push(u),u=m):u&&this._is_closing(m,u)&&(m.opened=u,u.closed=m,u=k.pop(),m.parent=u),m.previous=f,f.next=m,this.__tokens.add(m),f=m}return this.__tokens},p.prototype._is_first_token=function(){return this.__tokens.isEmpty()},p.prototype._reset=function(){},p.prototype._get_next_token=function(m,f){this._readWhitespace();var u=this._input.read(/.+/g);return u?this._create_token(S.RAW,u):this._create_token(S.EOF,"")},p.prototype._is_comment=function(m){return!1},p.prototype._is_opening=function(m){return!1},p.prototype._is_closing=function(m,f){return!1},p.prototype._create_token=function(m,f){var u=new o(m,f,this._patterns.whitespace.newline_count,this._patterns.whitespace.whitespace_before_token);return u},p.prototype._readWhitespace=function(){return this._patterns.whitespace.read()},c.exports.Tokenizer=p,c.exports.TOKEN=S},function(c){function t(r){this.__tokens=[],this.__tokens_length=this.__tokens.length,this.__position=0,this.__parent_token=r}t.prototype.restart=function(){this.__position=0},t.prototype.isEmpty=function(){return this.__tokens_length===0},t.prototype.hasNext=function(){return this.__position<this.__tokens_length},t.prototype.next=function(){var r=null;return this.hasNext()&&(r=this.__tokens[this.__position],this.__position+=1),r},t.prototype.peek=function(r){var i=null;return r=r||0,r+=this.__position,r>=0&&r<this.__tokens_length&&(i=this.__tokens[r]),i},t.prototype.add=function(r){this.__parent_token&&(r.parent=this.__parent_token),this.__tokens.push(r),this.__tokens_length+=1},c.exports.TokenStream=t},function(c,t,r){var i=r(12).Pattern;function o(v,b){i.call(this,v,b),b?this._line_regexp=this._input.get_regexp(b._line_regexp):this.__set_whitespace_patterns("",""),this.newline_count=0,this.whitespace_before_token=""}o.prototype=new i,o.prototype.__set_whitespace_patterns=function(v,b){v+="\\t ",b+="\\n\\r",this._match_pattern=this._input.get_regexp("["+v+b+"]+",!0),this._newline_regexp=this._input.get_regexp("\\r\\n|["+b+"]")},o.prototype.read=function(){this.newline_count=0,this.whitespace_before_token="";var v=this._input.read(this._match_pattern);if(v===" ")this.whitespace_before_token=" ";else if(v){var b=this.__split(this._newline_regexp,v);this.newline_count=b.length-1,this.whitespace_before_token=b[this.newline_count]}return v},o.prototype.matching=function(v,b){var S=this._create();return S.__set_whitespace_patterns(v,b),S._update(),S},o.prototype._create=function(){return new o(this._input,this)},o.prototype.__split=function(v,b){v.lastIndex=0;for(var S=0,p=[],m=v.exec(b);m;)p.push(b.substring(S,m.index)),S=m.index+m[0].length,m=v.exec(b);return S<b.length?p.push(b.substring(S,b.length)):p.push(""),p},c.exports.WhitespacePattern=o},function(c){function t(r,i){this._input=r,this._starting_pattern=null,this._match_pattern=null,this._until_pattern=null,this._until_after=!1,i&&(this._starting_pattern=this._input.get_regexp(i._starting_pattern,!0),this._match_pattern=this._input.get_regexp(i._match_pattern,!0),this._until_pattern=this._input.get_regexp(i._until_pattern),this._until_after=i._until_after)}t.prototype.read=function(){var r=this._input.read(this._starting_pattern);return(!this._starting_pattern||r)&&(r+=this._input.read(this._match_pattern,this._until_pattern,this._until_after)),r},t.prototype.read_match=function(){return this._input.match(this._match_pattern)},t.prototype.until_after=function(r){var i=this._create();return i._until_after=!0,i._until_pattern=this._input.get_regexp(r),i._update(),i},t.prototype.until=function(r){var i=this._create();return i._until_after=!1,i._until_pattern=this._input.get_regexp(r),i._update(),i},t.prototype.starting_with=function(r){var i=this._create();return i._starting_pattern=this._input.get_regexp(r,!0),i._update(),i},t.prototype.matching=function(r){var i=this._create();return i._match_pattern=this._input.get_regexp(r,!0),i._update(),i},t.prototype._create=function(){return new t(this._input,this)},t.prototype._update=function(){},c.exports.Pattern=t},function(c){function t(r,i){r=typeof r=="string"?r:r.source,i=typeof i=="string"?i:i.source,this.__directives_block_pattern=new RegExp(r+/ beautify( \w+[:]\w+)+ /.source+i,"g"),this.__directive_pattern=/ (\w+)[:](\w+)/g,this.__directives_end_ignore_pattern=new RegExp(r+/\sbeautify\signore:end\s/.source+i,"g")}t.prototype.get_directives=function(r){if(!r.match(this.__directives_block_pattern))return null;var i={};this.__directive_pattern.lastIndex=0;for(var o=this.__directive_pattern.exec(r);o;)i[o[1]]=o[2],o=this.__directive_pattern.exec(r);return i},t.prototype.readIgnored=function(r){return r.readUntilAfter(this.__directives_end_ignore_pattern)},c.exports.Directives=t},function(c,t,r){var i=r(12).Pattern,o={django:!1,erb:!1,handlebars:!1,php:!1,smarty:!1,angular:!1};function v(b,S){i.call(this,b,S),this.__template_pattern=null,this._disabled=Object.assign({},o),this._excluded=Object.assign({},o),S&&(this.__template_pattern=this._input.get_regexp(S.__template_pattern),this._excluded=Object.assign(this._excluded,S._excluded),this._disabled=Object.assign(this._disabled,S._disabled));var p=new i(b);this.__patterns={handlebars_comment:p.starting_with(/{{!--/).until_after(/--}}/),handlebars_unescaped:p.starting_with(/{{{/).until_after(/}}}/),handlebars:p.starting_with(/{{/).until_after(/}}/),php:p.starting_with(/<\?(?:[= ]|php)/).until_after(/\?>/),erb:p.starting_with(/<%[^%]/).until_after(/[^%]%>/),django:p.starting_with(/{%/).until_after(/%}/),django_value:p.starting_with(/{{/).until_after(/}}/),django_comment:p.starting_with(/{#/).until_after(/#}/),smarty:p.starting_with(/{(?=[^}{\s\n])/).until_after(/[^\s\n]}/),smarty_comment:p.starting_with(/{\*/).until_after(/\*}/),smarty_literal:p.starting_with(/{literal}/).until_after(/{\/literal}/)}}v.prototype=new i,v.prototype._create=function(){return new v(this._input,this)},v.prototype._update=function(){this.__set_templated_pattern()},v.prototype.disable=function(b){var S=this._create();return S._disabled[b]=!0,S._update(),S},v.prototype.read_options=function(b){var S=this._create();for(var p in o)S._disabled[p]=b.templating.indexOf(p)===-1;return S._update(),S},v.prototype.exclude=function(b){var S=this._create();return S._excluded[b]=!0,S._update(),S},v.prototype.read=function(){var b="";this._match_pattern?b=this._input.read(this._starting_pattern):b=this._input.read(this._starting_pattern,this.__template_pattern);for(var S=this._read_template();S;)this._match_pattern?S+=this._input.read(this._match_pattern):S+=this._input.readUntil(this.__template_pattern),b+=S,S=this._read_template();return this._until_after&&(b+=this._input.readUntilAfter(this._until_pattern)),b},v.prototype.__set_templated_pattern=function(){var b=[];this._disabled.php||b.push(this.__patterns.php._starting_pattern.source),this._disabled.handlebars||b.push(this.__patterns.handlebars._starting_pattern.source),this._disabled.angular||b.push(this.__patterns.handlebars._starting_pattern.source),this._disabled.erb||b.push(this.__patterns.erb._starting_pattern.source),this._disabled.django||(b.push(this.__patterns.django._starting_pattern.source),b.push(this.__patterns.django_value._starting_pattern.source),b.push(this.__patterns.django_comment._starting_pattern.source)),this._disabled.smarty||b.push(this.__patterns.smarty._starting_pattern.source),this._until_pattern&&b.push(this._until_pattern.source),this.__template_pattern=this._input.get_regexp("(?:"+b.join("|")+")")},v.prototype._read_template=function(){var b="",S=this._input.peek();if(S==="<"){var p=this._input.peek(1);!this._disabled.php&&!this._excluded.php&&p==="?"&&(b=b||this.__patterns.php.read()),!this._disabled.erb&&!this._excluded.erb&&p==="%"&&(b=b||this.__patterns.erb.read())}else S==="{"&&(!this._disabled.handlebars&&!this._excluded.handlebars&&(b=b||this.__patterns.handlebars_comment.read(),b=b||this.__patterns.handlebars_unescaped.read(),b=b||this.__patterns.handlebars.read()),this._disabled.django||(!this._excluded.django&&!this._excluded.handlebars&&(b=b||this.__patterns.django_value.read()),this._excluded.django||(b=b||this.__patterns.django_comment.read(),b=b||this.__patterns.django.read())),this._disabled.smarty||this._disabled.django&&this._disabled.handlebars&&(b=b||this.__patterns.smarty_comment.read(),b=b||this.__patterns.smarty_literal.read(),b=b||this.__patterns.smarty.read()));return b},c.exports.TemplatablePattern=v},,,,function(c,t,r){var i=r(19).Beautifier,o=r(20).Options;function v(b,S,p,m){var f=new i(b,S,p,m);return f.beautify()}c.exports=v,c.exports.defaultOptions=function(){return new o}},function(c,t,r){var i=r(20).Options,o=r(2).Output,v=r(21).Tokenizer,b=r(21).TOKEN,S=/\r\n|[\r\n]/,p=/\r\n|[\r\n]/g,m=function(w,_){this.indent_level=0,this.alignment_size=0,this.max_preserve_newlines=w.max_preserve_newlines,this.preserve_newlines=w.preserve_newlines,this._output=new o(w,_)};m.prototype.current_line_has_match=function(w){return this._output.current_line.has_match(w)},m.prototype.set_space_before_token=function(w,_){this._output.space_before_token=w,this._output.non_breaking_space=_},m.prototype.set_wrap_point=function(){this._output.set_indent(this.indent_level,this.alignment_size),this._output.set_wrap_point()},m.prototype.add_raw_token=function(w){this._output.add_raw_token(w)},m.prototype.print_preserved_newlines=function(w){var _=0;w.type!==b.TEXT&&w.previous.type!==b.TEXT&&(_=w.newlines?1:0),this.preserve_newlines&&(_=w.newlines<this.max_preserve_newlines+1?w.newlines:this.max_preserve_newlines+1);for(var x=0;x<_;x++)this.print_newline(x>0);return _!==0},m.prototype.traverse_whitespace=function(w){return w.whitespace_before||w.newlines?(this.print_preserved_newlines(w)||(this._output.space_before_token=!0),!0):!1},m.prototype.previous_token_wrapped=function(){return this._output.previous_token_wrapped},m.prototype.print_newline=function(w){this._output.add_new_line(w)},m.prototype.print_token=function(w){w.text&&(this._output.set_indent(this.indent_level,this.alignment_size),this._output.add_token(w.text))},m.prototype.indent=function(){this.indent_level++},m.prototype.deindent=function(){this.indent_level>0&&(this.indent_level--,this._output.set_indent(this.indent_level,this.alignment_size))},m.prototype.get_full_indent=function(w){return w=this.indent_level+(w||0),w<1?"":this._output.get_indent_string(w)};var f=function(w){for(var _=null,x=w.next;x.type!==b.EOF&&w.closed!==x;){if(x.type===b.ATTRIBUTE&&x.text==="type"){x.next&&x.next.type===b.EQUALS&&x.next.next&&x.next.next.type===b.VALUE&&(_=x.next.next.text);break}x=x.next}return _},u=function(w,_){var x=null,N=null;return _.closed?(w==="script"?x="text/javascript":w==="style"&&(x="text/css"),x=f(_)||x,x.search("text/css")>-1?N="css":x.search(/module|((text|application|dojo)\/(x-)?(javascript|ecmascript|jscript|livescript|(ld\+)?json|method|aspect))/)>-1?N="javascript":x.search(/(text|application|dojo)\/(x-)?(html)/)>-1?N="html":x.search(/test\/null/)>-1&&(N="null"),N):null};function k(w,_){return _.indexOf(w)!==-1}function I(w,_,x){this.parent=w||null,this.tag=_?_.tag_name:"",this.indent_level=x||0,this.parser_token=_||null}function F(w){this._printer=w,this._current_frame=null}F.prototype.get_parser_token=function(){return this._current_frame?this._current_frame.parser_token:null},F.prototype.record_tag=function(w){var _=new I(this._current_frame,w,this._printer.indent_level);this._current_frame=_},F.prototype._try_pop_frame=function(w){var _=null;return w&&(_=w.parser_token,this._printer.indent_level=w.indent_level,this._current_frame=w.parent),_},F.prototype._get_frame=function(w,_){for(var x=this._current_frame;x&&w.indexOf(x.tag)===-1;){if(_&&_.indexOf(x.tag)!==-1){x=null;break}x=x.parent}return x},F.prototype.try_pop=function(w,_){var x=this._get_frame([w],_);return this._try_pop_frame(x)},F.prototype.indent_to_tag=function(w){var _=this._get_frame(w);_&&(this._printer.indent_level=_.indent_level)};function K(w,_,x,N){this._source_text=w||"",_=_||{},this._js_beautify=x,this._css_beautify=N,this._tag_stack=null;var C=new i(_,"html");this._options=C,this._is_wrap_attributes_force=this._options.wrap_attributes.substr(0,5)==="force",this._is_wrap_attributes_force_expand_multiline=this._options.wrap_attributes==="force-expand-multiline",this._is_wrap_attributes_force_aligned=this._options.wrap_attributes==="force-aligned",this._is_wrap_attributes_aligned_multiple=this._options.wrap_attributes==="aligned-multiple",this._is_wrap_attributes_preserve=this._options.wrap_attributes.substr(0,8)==="preserve",this._is_wrap_attributes_preserve_aligned=this._options.wrap_attributes==="preserve-aligned"}K.prototype.beautify=function(){if(this._options.disabled)return this._source_text;var w=this._source_text,_=this._options.eol;this._options.eol==="auto"&&(_=`
`,w&&S.test(w)&&(_=w.match(S)[0])),w=w.replace(p,`
`);var x=w.match(/^[\t ]*/)[0],N={text:"",type:""},C=new Y(this._options),y=new m(this._options,x),n=new v(w,this._options).tokenize();this._tag_stack=new F(y);for(var a=null,d=n.next();d.type!==b.EOF;)d.type===b.TAG_OPEN||d.type===b.COMMENT?(a=this._handle_tag_open(y,d,C,N,n),C=a):d.type===b.ATTRIBUTE||d.type===b.EQUALS||d.type===b.VALUE||d.type===b.TEXT&&!C.tag_complete?a=this._handle_inside_tag(y,d,C,N):d.type===b.TAG_CLOSE?a=this._handle_tag_close(y,d,C):d.type===b.TEXT?a=this._handle_text(y,d,C):d.type===b.CONTROL_FLOW_OPEN?a=this._handle_control_flow_open(y,d):d.type===b.CONTROL_FLOW_CLOSE?a=this._handle_control_flow_close(y,d):y.add_raw_token(d),N=a,d=n.next();var M=y._output.get_code(_);return M},K.prototype._handle_control_flow_open=function(w,_){var x={text:_.text,type:_.type};return w.set_space_before_token(_.newlines||_.whitespace_before!=="",!0),_.newlines?w.print_preserved_newlines(_):w.set_space_before_token(_.newlines||_.whitespace_before!=="",!0),w.print_token(_),w.indent(),x},K.prototype._handle_control_flow_close=function(w,_){var x={text:_.text,type:_.type};return w.deindent(),_.newlines?w.print_preserved_newlines(_):w.set_space_before_token(_.newlines||_.whitespace_before!=="",!0),w.print_token(_),x},K.prototype._handle_tag_close=function(w,_,x){var N={text:_.text,type:_.type};return w.alignment_size=0,x.tag_complete=!0,w.set_space_before_token(_.newlines||_.whitespace_before!=="",!0),x.is_unformatted?w.add_raw_token(_):(x.tag_start_char==="<"&&(w.set_space_before_token(_.text[0]==="/",!0),this._is_wrap_attributes_force_expand_multiline&&x.has_wrapped_attrs&&w.print_newline(!1)),w.print_token(_)),x.indent_content&&!(x.is_unformatted||x.is_content_unformatted)&&(w.indent(),x.indent_content=!1),!x.is_inline_element&&!(x.is_unformatted||x.is_content_unformatted)&&w.set_wrap_point(),N},K.prototype._handle_inside_tag=function(w,_,x,N){var C=x.has_wrapped_attrs,y={text:_.text,type:_.type};return w.set_space_before_token(_.newlines||_.whitespace_before!=="",!0),x.is_unformatted?w.add_raw_token(_):x.tag_start_char==="{"&&_.type===b.TEXT?w.print_preserved_newlines(_)?(_.newlines=0,w.add_raw_token(_)):w.print_token(_):(_.type===b.ATTRIBUTE?w.set_space_before_token(!0):(_.type===b.EQUALS||_.type===b.VALUE&&_.previous.type===b.EQUALS)&&w.set_space_before_token(!1),_.type===b.ATTRIBUTE&&x.tag_start_char==="<"&&((this._is_wrap_attributes_preserve||this._is_wrap_attributes_preserve_aligned)&&(w.traverse_whitespace(_),C=C||_.newlines!==0),this._is_wrap_attributes_force&&x.attr_count>=this._options.wrap_attributes_min_attrs&&(N.type!==b.TAG_OPEN||this._is_wrap_attributes_force_expand_multiline)&&(w.print_newline(!1),C=!0)),w.print_token(_),C=C||w.previous_token_wrapped(),x.has_wrapped_attrs=C),y},K.prototype._handle_text=function(w,_,x){var N={text:_.text,type:"TK_CONTENT"};return x.custom_beautifier_name?this._print_custom_beatifier_text(w,_,x):x.is_unformatted||x.is_content_unformatted?w.add_raw_token(_):(w.traverse_whitespace(_),w.print_token(_)),N},K.prototype._print_custom_beatifier_text=function(w,_,x){var N=this;if(_.text!==""){var C=_.text,y,n=1,a="",d="";x.custom_beautifier_name==="javascript"&&typeof this._js_beautify=="function"?y=this._js_beautify:x.custom_beautifier_name==="css"&&typeof this._css_beautify=="function"?y=this._css_beautify:x.custom_beautifier_name==="html"&&(y=function(He,mt){var be=new K(He,mt,N._js_beautify,N._css_beautify);return be.beautify()}),this._options.indent_scripts==="keep"?n=0:this._options.indent_scripts==="separate"&&(n=-w.indent_level);var M=w.get_full_indent(n);if(C=C.replace(/\n[ \t]*$/,""),x.custom_beautifier_name!=="html"&&C[0]==="<"&&C.match(/^(<!--|<!\[CDATA\[)/)){var ae=/^(<!--[^\n]*|<!\[CDATA\[)(\n?)([ \t\n]*)([\s\S]*)(-->|]]>)$/.exec(C);if(!ae){w.add_raw_token(_);return}a=M+ae[1]+`
`,C=ae[4],ae[5]&&(d=M+ae[5]),C=C.replace(/\n[ \t]*$/,""),(ae[2]||ae[3].indexOf(`
`)!==-1)&&(ae=ae[3].match(/[ \t]+$/),ae&&(_.whitespace_before=ae[0]))}if(C)if(y){var de=function(){this.eol=`
`};de.prototype=this._options.raw_options;var ye=new de;C=y(M+C,ye)}else{var Ae=_.whitespace_before;Ae&&(C=C.replace(new RegExp(`
(`+Ae+")?","g"),`
`)),C=M+C.replace(/\n/g,`
`+M)}a&&(C?C=a+C+`
`+d:C=a+d),w.print_newline(!1),C&&(_.text=C,_.whitespace_before="",_.newlines=0,w.add_raw_token(_),w.print_newline(!0))}},K.prototype._handle_tag_open=function(w,_,x,N,C){var y=this._get_tag_open_token(_);if((x.is_unformatted||x.is_content_unformatted)&&!x.is_empty_element&&_.type===b.TAG_OPEN&&!y.is_start_tag?(w.add_raw_token(_),y.start_tag_token=this._tag_stack.try_pop(y.tag_name)):(w.traverse_whitespace(_),this._set_tag_position(w,_,y,x,N),y.is_inline_element||w.set_wrap_point(),w.print_token(_)),y.is_start_tag&&this._is_wrap_attributes_force){var n=0,a;do a=C.peek(n),a.type===b.ATTRIBUTE&&(y.attr_count+=1),n+=1;while(a.type!==b.EOF&&a.type!==b.TAG_CLOSE)}return(this._is_wrap_attributes_force_aligned||this._is_wrap_attributes_aligned_multiple||this._is_wrap_attributes_preserve_aligned)&&(y.alignment_size=_.text.length+1),!y.tag_complete&&!y.is_unformatted&&(w.alignment_size=y.alignment_size),y};var Y=function(w,_,x){if(this.parent=_||null,this.text="",this.type="TK_TAG_OPEN",this.tag_name="",this.is_inline_element=!1,this.is_unformatted=!1,this.is_content_unformatted=!1,this.is_empty_element=!1,this.is_start_tag=!1,this.is_end_tag=!1,this.indent_content=!1,this.multiline_content=!1,this.custom_beautifier_name=null,this.start_tag_token=null,this.attr_count=0,this.has_wrapped_attrs=!1,this.alignment_size=0,this.tag_complete=!1,this.tag_start_char="",this.tag_check="",!x)this.tag_complete=!0;else{var N;this.tag_start_char=x.text[0],this.text=x.text,this.tag_start_char==="<"?(N=x.text.match(/^<([^\s>]*)/),this.tag_check=N?N[1]:""):(N=x.text.match(/^{{~?(?:[\^]|#\*?)?([^\s}]+)/),this.tag_check=N?N[1]:"",(x.text.startsWith("{{#>")||x.text.startsWith("{{~#>"))&&this.tag_check[0]===">"&&(this.tag_check===">"&&x.next!==null?this.tag_check=x.next.text.split(" ")[0]:this.tag_check=x.text.split(">")[1])),this.tag_check=this.tag_check.toLowerCase(),x.type===b.COMMENT&&(this.tag_complete=!0),this.is_start_tag=this.tag_check.charAt(0)!=="/",this.tag_name=this.is_start_tag?this.tag_check:this.tag_check.substr(1),this.is_end_tag=!this.is_start_tag||x.closed&&x.closed.text==="/>";var C=2;this.tag_start_char==="{"&&this.text.length>=3&&this.text.charAt(2)==="~"&&(C=3),this.is_end_tag=this.is_end_tag||this.tag_start_char==="{"&&(!w.indent_handlebars||this.text.length<3||/[^#\^]/.test(this.text.charAt(C)))}};K.prototype._get_tag_open_token=function(w){var _=new Y(this._options,this._tag_stack.get_parser_token(),w);return _.alignment_size=this._options.wrap_attributes_indent_size,_.is_end_tag=_.is_end_tag||k(_.tag_check,this._options.void_elements),_.is_empty_element=_.tag_complete||_.is_start_tag&&_.is_end_tag,_.is_unformatted=!_.tag_complete&&k(_.tag_check,this._options.unformatted),_.is_content_unformatted=!_.is_empty_element&&k(_.tag_check,this._options.content_unformatted),_.is_inline_element=k(_.tag_name,this._options.inline)||this._options.inline_custom_elements&&_.tag_name.includes("-")||_.tag_start_char==="{",_},K.prototype._set_tag_position=function(w,_,x,N,C){if(x.is_empty_element||(x.is_end_tag?x.start_tag_token=this._tag_stack.try_pop(x.tag_name):(this._do_optional_end_element(x)&&(x.is_inline_element||w.print_newline(!1)),this._tag_stack.record_tag(x),(x.tag_name==="script"||x.tag_name==="style")&&!(x.is_unformatted||x.is_content_unformatted)&&(x.custom_beautifier_name=u(x.tag_check,_)))),k(x.tag_check,this._options.extra_liners)&&(w.print_newline(!1),w._output.just_added_blankline()||w.print_newline(!0)),x.is_empty_element){if(x.tag_start_char==="{"&&x.tag_check==="else"){this._tag_stack.indent_to_tag(["if","unless","each"]),x.indent_content=!0;var y=w.current_line_has_match(/{{#if/);y||w.print_newline(!1)}x.tag_name==="!--"&&C.type===b.TAG_CLOSE&&N.is_end_tag&&x.text.indexOf(`
`)===-1||(x.is_inline_element||x.is_unformatted||w.print_newline(!1),this._calcluate_parent_multiline(w,x))}else if(x.is_end_tag){var n=!1;n=x.start_tag_token&&x.start_tag_token.multiline_content,n=n||!x.is_inline_element&&!(N.is_inline_element||N.is_unformatted)&&!(C.type===b.TAG_CLOSE&&x.start_tag_token===N)&&C.type!=="TK_CONTENT",(x.is_content_unformatted||x.is_unformatted)&&(n=!1),n&&w.print_newline(!1)}else x.indent_content=!x.custom_beautifier_name,x.tag_start_char==="<"&&(x.tag_name==="html"?x.indent_content=this._options.indent_inner_html:x.tag_name==="head"?x.indent_content=this._options.indent_head_inner_html:x.tag_name==="body"&&(x.indent_content=this._options.indent_body_inner_html)),!(x.is_inline_element||x.is_unformatted)&&(C.type!=="TK_CONTENT"||x.is_content_unformatted)&&w.print_newline(!1),this._calcluate_parent_multiline(w,x)},K.prototype._calcluate_parent_multiline=function(w,_){_.parent&&w._output.just_added_newline()&&!((_.is_inline_element||_.is_unformatted)&&_.parent.is_inline_element)&&(_.parent.multiline_content=!0)};var W=["address","article","aside","blockquote","details","div","dl","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hr","main","menu","nav","ol","p","pre","section","table","ul"],Pe=["a","audio","del","ins","map","noscript","video"];K.prototype._do_optional_end_element=function(w){var _=null;if(!(w.is_empty_element||!w.is_start_tag||!w.parent)){if(w.tag_name==="body")_=_||this._tag_stack.try_pop("head");else if(w.tag_name==="li")_=_||this._tag_stack.try_pop("li",["ol","ul","menu"]);else if(w.tag_name==="dd"||w.tag_name==="dt")_=_||this._tag_stack.try_pop("dt",["dl"]),_=_||this._tag_stack.try_pop("dd",["dl"]);else if(w.parent.tag_name==="p"&&W.indexOf(w.tag_name)!==-1){var x=w.parent.parent;(!x||Pe.indexOf(x.tag_name)===-1)&&(_=_||this._tag_stack.try_pop("p"))}else w.tag_name==="rp"||w.tag_name==="rt"?(_=_||this._tag_stack.try_pop("rt",["ruby","rtc"]),_=_||this._tag_stack.try_pop("rp",["ruby","rtc"])):w.tag_name==="optgroup"?_=_||this._tag_stack.try_pop("optgroup",["select"]):w.tag_name==="option"?_=_||this._tag_stack.try_pop("option",["select","datalist","optgroup"]):w.tag_name==="colgroup"?_=_||this._tag_stack.try_pop("caption",["table"]):w.tag_name==="thead"?(_=_||this._tag_stack.try_pop("caption",["table"]),_=_||this._tag_stack.try_pop("colgroup",["table"])):w.tag_name==="tbody"||w.tag_name==="tfoot"?(_=_||this._tag_stack.try_pop("caption",["table"]),_=_||this._tag_stack.try_pop("colgroup",["table"]),_=_||this._tag_stack.try_pop("thead",["table"]),_=_||this._tag_stack.try_pop("tbody",["table"])):w.tag_name==="tr"?(_=_||this._tag_stack.try_pop("caption",["table"]),_=_||this._tag_stack.try_pop("colgroup",["table"]),_=_||this._tag_stack.try_pop("tr",["table","thead","tbody","tfoot"])):(w.tag_name==="th"||w.tag_name==="td")&&(_=_||this._tag_stack.try_pop("td",["table","thead","tbody","tfoot","tr"]),_=_||this._tag_stack.try_pop("th",["table","thead","tbody","tfoot","tr"]));return w.parent=this._tag_stack.get_parser_token(),_}},c.exports.Beautifier=K},function(c,t,r){var i=r(6).Options;function o(v){i.call(this,v,"html"),this.templating.length===1&&this.templating[0]==="auto"&&(this.templating=["django","erb","handlebars","php"]),this.indent_inner_html=this._get_boolean("indent_inner_html"),this.indent_body_inner_html=this._get_boolean("indent_body_inner_html",!0),this.indent_head_inner_html=this._get_boolean("indent_head_inner_html",!0),this.indent_handlebars=this._get_boolean("indent_handlebars",!0),this.wrap_attributes=this._get_selection("wrap_attributes",["auto","force","force-aligned","force-expand-multiline","aligned-multiple","preserve","preserve-aligned"]),this.wrap_attributes_min_attrs=this._get_number("wrap_attributes_min_attrs",2),this.wrap_attributes_indent_size=this._get_number("wrap_attributes_indent_size",this.indent_size),this.extra_liners=this._get_array("extra_liners",["head","body","/html"]),this.inline=this._get_array("inline",["a","abbr","area","audio","b","bdi","bdo","br","button","canvas","cite","code","data","datalist","del","dfn","em","embed","i","iframe","img","input","ins","kbd","keygen","label","map","mark","math","meter","noscript","object","output","progress","q","ruby","s","samp","select","small","span","strong","sub","sup","svg","template","textarea","time","u","var","video","wbr","text","acronym","big","strike","tt"]),this.inline_custom_elements=this._get_boolean("inline_custom_elements",!0),this.void_elements=this._get_array("void_elements",["area","base","br","col","embed","hr","img","input","keygen","link","menuitem","meta","param","source","track","wbr","!doctype","?xml","basefont","isindex"]),this.unformatted=this._get_array("unformatted",[]),this.content_unformatted=this._get_array("content_unformatted",["pre","textarea"]),this.unformatted_content_delimiter=this._get_characters("unformatted_content_delimiter"),this.indent_scripts=this._get_selection("indent_scripts",["normal","keep","separate"])}o.prototype=new i,c.exports.Options=o},function(c,t,r){var i=r(9).Tokenizer,o=r(9).TOKEN,v=r(13).Directives,b=r(14).TemplatablePattern,S=r(12).Pattern,p={TAG_OPEN:"TK_TAG_OPEN",TAG_CLOSE:"TK_TAG_CLOSE",CONTROL_FLOW_OPEN:"TK_CONTROL_FLOW_OPEN",CONTROL_FLOW_CLOSE:"TK_CONTROL_FLOW_CLOSE",ATTRIBUTE:"TK_ATTRIBUTE",EQUALS:"TK_EQUALS",VALUE:"TK_VALUE",COMMENT:"TK_COMMENT",TEXT:"TK_TEXT",UNKNOWN:"TK_UNKNOWN",START:o.START,RAW:o.RAW,EOF:o.EOF},m=new v(/<\!--/,/-->/),f=function(u,k){i.call(this,u,k),this._current_tag_name="";var I=new b(this._input).read_options(this._options),F=new S(this._input);if(this.__patterns={word:I.until(/[\n\r\t <]/),word_control_flow_close_excluded:I.until(/[\n\r\t <}]/),single_quote:I.until_after(/'/),double_quote:I.until_after(/"/),attribute:I.until(/[\n\r\t =>]|\/>/),element_name:I.until(/[\n\r\t >\/]/),angular_control_flow_start:F.matching(/\@[a-zA-Z]+[^({]*[({]/),handlebars_comment:F.starting_with(/{{!--/).until_after(/--}}/),handlebars:F.starting_with(/{{/).until_after(/}}/),handlebars_open:F.until(/[\n\r\t }]/),handlebars_raw_close:F.until(/}}/),comment:F.starting_with(/<!--/).until_after(/-->/),cdata:F.starting_with(/<!\[CDATA\[/).until_after(/]]>/),conditional_comment:F.starting_with(/<!\[/).until_after(/]>/),processing:F.starting_with(/<\?/).until_after(/\?>/)},this._options.indent_handlebars&&(this.__patterns.word=this.__patterns.word.exclude("handlebars"),this.__patterns.word_control_flow_close_excluded=this.__patterns.word_control_flow_close_excluded.exclude("handlebars")),this._unformatted_content_delimiter=null,this._options.unformatted_content_delimiter){var K=this._input.get_literal_regexp(this._options.unformatted_content_delimiter);this.__patterns.unformatted_content_delimiter=F.matching(K).until_after(K)}};f.prototype=new i,f.prototype._is_comment=function(u){return!1},f.prototype._is_opening=function(u){return u.type===p.TAG_OPEN||u.type===p.CONTROL_FLOW_OPEN},f.prototype._is_closing=function(u,k){return u.type===p.TAG_CLOSE&&k&&((u.text===">"||u.text==="/>")&&k.text[0]==="<"||u.text==="}}"&&k.text[0]==="{"&&k.text[1]==="{")||u.type===p.CONTROL_FLOW_CLOSE&&u.text==="}"&&k.text.endsWith("{")},f.prototype._reset=function(){this._current_tag_name=""},f.prototype._get_next_token=function(u,k){var I=null;this._readWhitespace();var F=this._input.peek();return F===null?this._create_token(p.EOF,""):(I=I||this._read_open_handlebars(F,k),I=I||this._read_attribute(F,u,k),I=I||this._read_close(F,k),I=I||this._read_script_and_style(F,u),I=I||this._read_control_flows(F,k),I=I||this._read_raw_content(F,u,k),I=I||this._read_content_word(F,k),I=I||this._read_comment_or_cdata(F),I=I||this._read_processing(F),I=I||this._read_open(F,k),I=I||this._create_token(p.UNKNOWN,this._input.next()),I)},f.prototype._read_comment_or_cdata=function(u){var k=null,I=null,F=null;if(u==="<"){var K=this._input.peek(1);K==="!"&&(I=this.__patterns.comment.read(),I?(F=m.get_directives(I),F&&F.ignore==="start"&&(I+=m.readIgnored(this._input))):I=this.__patterns.cdata.read()),I&&(k=this._create_token(p.COMMENT,I),k.directives=F)}return k},f.prototype._read_processing=function(u){var k=null,I=null,F=null;if(u==="<"){var K=this._input.peek(1);(K==="!"||K==="?")&&(I=this.__patterns.conditional_comment.read(),I=I||this.__patterns.processing.read()),I&&(k=this._create_token(p.COMMENT,I),k.directives=F)}return k},f.prototype._read_open=function(u,k){var I=null,F=null;return(!k||k.type===p.CONTROL_FLOW_OPEN)&&u==="<"&&(I=this._input.next(),this._input.peek()==="/"&&(I+=this._input.next()),I+=this.__patterns.element_name.read(),F=this._create_token(p.TAG_OPEN,I)),F},f.prototype._read_open_handlebars=function(u,k){var I=null,F=null;return(!k||k.type===p.CONTROL_FLOW_OPEN)&&(this._options.templating.includes("angular")||this._options.indent_handlebars)&&u==="{"&&this._input.peek(1)==="{"&&(this._options.indent_handlebars&&this._input.peek(2)==="!"?(I=this.__patterns.handlebars_comment.read(),I=I||this.__patterns.handlebars.read(),F=this._create_token(p.COMMENT,I)):(I=this.__patterns.handlebars_open.read(),F=this._create_token(p.TAG_OPEN,I))),F},f.prototype._read_control_flows=function(u,k){var I="",F=null;if(!this._options.templating.includes("angular"))return F;if(u==="@"){if(I=this.__patterns.angular_control_flow_start.read(),I==="")return F;for(var K=I.endsWith("(")?1:0,Y=0;!(I.endsWith("{")&&K===Y);){var W=this._input.next();if(W===null)break;W==="("?K++:W===")"&&Y++,I+=W}F=this._create_token(p.CONTROL_FLOW_OPEN,I)}else u==="}"&&k&&k.type===p.CONTROL_FLOW_OPEN&&(I=this._input.next(),F=this._create_token(p.CONTROL_FLOW_CLOSE,I));return F},f.prototype._read_close=function(u,k){var I=null,F=null;return k&&k.type===p.TAG_OPEN&&(k.text[0]==="<"&&(u===">"||u==="/"&&this._input.peek(1)===">")?(I=this._input.next(),u==="/"&&(I+=this._input.next()),F=this._create_token(p.TAG_CLOSE,I)):k.text[0]==="{"&&u==="}"&&this._input.peek(1)==="}"&&(this._input.next(),this._input.next(),F=this._create_token(p.TAG_CLOSE,"}}"))),F},f.prototype._read_attribute=function(u,k,I){var F=null,K="";if(I&&I.text[0]==="<")if(u==="=")F=this._create_token(p.EQUALS,this._input.next());else if(u==='"'||u==="'"){var Y=this._input.next();u==='"'?Y+=this.__patterns.double_quote.read():Y+=this.__patterns.single_quote.read(),F=this._create_token(p.VALUE,Y)}else K=this.__patterns.attribute.read(),K&&(k.type===p.EQUALS?F=this._create_token(p.VALUE,K):F=this._create_token(p.ATTRIBUTE,K));return F},f.prototype._is_content_unformatted=function(u){return this._options.void_elements.indexOf(u)===-1&&(this._options.content_unformatted.indexOf(u)!==-1||this._options.unformatted.indexOf(u)!==-1)},f.prototype._read_raw_content=function(u,k,I){var F="";if(I&&I.text[0]==="{")F=this.__patterns.handlebars_raw_close.read();else if(k.type===p.TAG_CLOSE&&k.opened.text[0]==="<"&&k.text[0]!=="/"){var K=k.opened.text.substr(1).toLowerCase();this._is_content_unformatted(K)&&(F=this._input.readUntil(new RegExp("</"+K+"[\\n\\r\\t ]*?>","ig")))}return F?this._create_token(p.TEXT,F):null},f.prototype._read_script_and_style=function(u,k){if(k.type===p.TAG_CLOSE&&k.opened.text[0]==="<"&&k.text[0]!=="/"){var I=k.opened.text.substr(1).toLowerCase();if(I==="script"||I==="style"){var F=this._read_comment_or_cdata(u);if(F)return F.type=p.TEXT,F;var K=this._input.readUntil(new RegExp("</"+I+"[\\n\\r\\t ]*?>","ig"));if(K)return this._create_token(p.TEXT,K)}}return null},f.prototype._read_content_word=function(u,k){var I="";return this._options.unformatted_content_delimiter&&u===this._options.unformatted_content_delimiter[0]&&(I=this.__patterns.unformatted_content_delimiter.read()),I||(I=k&&k.type===p.CONTROL_FLOW_OPEN?this.__patterns.word_control_flow_close_excluded.read():this.__patterns.word.read()),I?this._create_token(p.TEXT,I):null},c.exports.Tokenizer=f,c.exports.TOKEN=p}],G={};function e(c){var t=G[c];if(t!==void 0)return t.exports;var r=G[c]={exports:{}};return $[c](r,r.exports,e),r.exports}var s=e(18);j=s})();var X=j;if(1)T=[l,l(58553),l(87804)],A=function($){var G=l(58553),e=l(87804);return{html_beautify:function(s,c){return X(s,c,G.js_beautify,e.css_beautify)}}}.apply(Fe,T),A!==void 0&&(It.exports=A);else var V,h})()},58553:function(It,Fe){var l,T;(function(){var A;(function(){"use strict";var X=[function(G,e,s){var c=s(1).Beautifier,t=s(5).Options;function r(i,o){var v=new c(i,o);return v.beautify()}G.exports=r,G.exports.defaultOptions=function(){return new t}},function(G,e,s){var c=s(2).Output,t=s(3).Token,r=s(4),i=s(5).Options,o=s(7).Tokenizer,v=s(7).line_starters,b=s(7).positionable_operators,S=s(7).TOKEN;function p(a,d){return d.indexOf(a)!==-1}function m(a){return a.replace(/^\s+/g,"")}function f(a){for(var d={},M=0;M<a.length;M++)d[a[M].replace(/-/g,"_")]=a[M];return d}function u(a,d){return a&&a.type===S.RESERVED&&a.text===d}function k(a,d){return a&&a.type===S.RESERVED&&p(a.text,d)}var I=["case","return","do","if","throw","else","await","break","continue","async"],F=["before-newline","after-newline","preserve-newline"],K=f(F),Y=[K.before_newline,K.preserve_newline],W={BlockStatement:"BlockStatement",Statement:"Statement",ObjectLiteral:"ObjectLiteral",ArrayLiteral:"ArrayLiteral",ForInitializer:"ForInitializer",Conditional:"Conditional",Expression:"Expression"};function Pe(a,d){d.multiline_frame||d.mode===W.ForInitializer||d.mode===W.Conditional||a.remove_indent(d.start_line_index)}function w(a){a=a.replace(r.allLineBreaks,`
`);for(var d=[],M=a.indexOf(`
`);M!==-1;)d.push(a.substring(0,M)),a=a.substring(M+1),M=a.indexOf(`
`);return a.length&&d.push(a),d}function _(a){return a===W.ArrayLiteral}function x(a){return p(a,[W.Expression,W.ForInitializer,W.Conditional])}function N(a,d){for(var M=0;M<a.length;M++){var ae=a[M].trim();if(ae.charAt(0)!==d)return!1}return!0}function C(a,d){for(var M=0,ae=a.length,de;M<ae;M++)if(de=a[M],de&&de.indexOf(d)!==0)return!1;return!0}function y(a,d){d=d||{},this._source_text=a||"",this._output=null,this._tokens=null,this._last_last_text=null,this._flags=null,this._previous_flags=null,this._flag_store=null,this._options=new i(d)}y.prototype.create_flags=function(a,d){var M=0;a&&(M=a.indentation_level,!this._output.just_added_newline()&&a.line_indent_level>M&&(M=a.line_indent_level));var ae={mode:d,parent:a,last_token:a?a.last_token:new t(S.START_BLOCK,""),last_word:a?a.last_word:"",declaration_statement:!1,declaration_assignment:!1,multiline_frame:!1,inline_frame:!1,if_block:!1,else_block:!1,class_start_block:!1,do_block:!1,do_while:!1,import_block:!1,in_case_statement:!1,in_case:!1,case_body:!1,case_block:!1,indentation_level:M,alignment:0,line_indent_level:a?a.line_indent_level:M,start_line_index:this._output.get_line_number(),ternary_depth:0};return ae},y.prototype._reset=function(a){var d=a.match(/^[\t ]*/)[0];this._last_last_text="",this._output=new c(this._options,d),this._output.raw=this._options.test_output_raw,this._flag_store=[],this.set_mode(W.BlockStatement);var M=new o(a,this._options);return this._tokens=M.tokenize(),a},y.prototype.beautify=function(){if(this._options.disabled)return this._source_text;var a,d=this._reset(this._source_text),M=this._options.eol;this._options.eol==="auto"&&(M=`
`,d&&r.lineBreak.test(d||"")&&(M=d.match(r.lineBreak)[0]));for(var ae=this._tokens.next();ae;)this.handle_token(ae),this._last_last_text=this._flags.last_token.text,this._flags.last_token=ae,ae=this._tokens.next();return a=this._output.get_code(M),a},y.prototype.handle_token=function(a,d){a.type===S.START_EXPR?this.handle_start_expr(a):a.type===S.END_EXPR?this.handle_end_expr(a):a.type===S.START_BLOCK?this.handle_start_block(a):a.type===S.END_BLOCK?this.handle_end_block(a):a.type===S.WORD?this.handle_word(a):a.type===S.RESERVED?this.handle_word(a):a.type===S.SEMICOLON?this.handle_semicolon(a):a.type===S.STRING?this.handle_string(a):a.type===S.EQUALS?this.handle_equals(a):a.type===S.OPERATOR?this.handle_operator(a):a.type===S.COMMA?this.handle_comma(a):a.type===S.BLOCK_COMMENT?this.handle_block_comment(a,d):a.type===S.COMMENT?this.handle_comment(a,d):a.type===S.DOT?this.handle_dot(a):a.type===S.EOF?this.handle_eof(a):a.type===S.UNKNOWN?this.handle_unknown(a,d):this.handle_unknown(a,d)},y.prototype.handle_whitespace_and_comments=function(a,d){var M=a.newlines,ae=this._options.keep_array_indentation&&_(this._flags.mode);if(a.comments_before)for(var de=a.comments_before.next();de;)this.handle_whitespace_and_comments(de,d),this.handle_token(de,d),de=a.comments_before.next();if(ae)for(var ye=0;ye<M;ye+=1)this.print_newline(ye>0,d);else if(this._options.max_preserve_newlines&&M>this._options.max_preserve_newlines&&(M=this._options.max_preserve_newlines),this._options.preserve_newlines&&M>1){this.print_newline(!1,d);for(var Ae=1;Ae<M;Ae+=1)this.print_newline(!0,d)}};var n=["async","break","continue","return","throw","yield"];y.prototype.allow_wrap_or_preserved_newline=function(a,d){if(d=d===void 0?!1:d,!this._output.just_added_newline()){var M=this._options.preserve_newlines&&a.newlines||d,ae=p(this._flags.last_token.text,b)||p(a.text,b);if(ae){var de=p(this._flags.last_token.text,b)&&p(this._options.operator_position,Y)||p(a.text,b);M=M&&de}if(M)this.print_newline(!1,!0);else if(this._options.wrap_line_length){if(k(this._flags.last_token,n))return;this._output.set_wrap_point()}}},y.prototype.print_newline=function(a,d){if(!d&&this._flags.last_token.text!==";"&&this._flags.last_token.text!==","&&this._flags.last_token.text!=="="&&(this._flags.last_token.type!==S.OPERATOR||this._flags.last_token.text==="--"||this._flags.last_token.text==="++"))for(var M=this._tokens.peek();this._flags.mode===W.Statement&&!(this._flags.if_block&&u(M,"else"))&&!this._flags.do_block;)this.restore_mode();this._output.add_new_line(a)&&(this._flags.multiline_frame=!0)},y.prototype.print_token_line_indentation=function(a){this._output.just_added_newline()&&(this._options.keep_array_indentation&&a.newlines&&(a.text==="["||_(this._flags.mode))?(this._output.current_line.set_indent(-1),this._output.current_line.push(a.whitespace_before),this._output.space_before_token=!1):this._output.set_indent(this._flags.indentation_level,this._flags.alignment)&&(this._flags.line_indent_level=this._flags.indentation_level))},y.prototype.print_token=function(a){if(this._output.raw){this._output.add_raw_token(a);return}if(this._options.comma_first&&a.previous&&a.previous.type===S.COMMA&&this._output.just_added_newline()&&this._output.previous_line.last()===","){var d=this._output.previous_line.pop();this._output.previous_line.is_empty()&&(this._output.previous_line.push(d),this._output.trim(!0),this._output.current_line.pop(),this._output.trim()),this.print_token_line_indentation(a),this._output.add_token(","),this._output.space_before_token=!0}this.print_token_line_indentation(a),this._output.non_breaking_space=!0,this._output.add_token(a.text),this._output.previous_token_wrapped&&(this._flags.multiline_frame=!0)},y.prototype.indent=function(){this._flags.indentation_level+=1,this._output.set_indent(this._flags.indentation_level,this._flags.alignment)},y.prototype.deindent=function(){this._flags.indentation_level>0&&(!this._flags.parent||this._flags.indentation_level>this._flags.parent.indentation_level)&&(this._flags.indentation_level-=1,this._output.set_indent(this._flags.indentation_level,this._flags.alignment))},y.prototype.set_mode=function(a){this._flags?(this._flag_store.push(this._flags),this._previous_flags=this._flags):this._previous_flags=this.create_flags(null,a),this._flags=this.create_flags(this._previous_flags,a),this._output.set_indent(this._flags.indentation_level,this._flags.alignment)},y.prototype.restore_mode=function(){this._flag_store.length>0&&(this._previous_flags=this._flags,this._flags=this._flag_store.pop(),this._previous_flags.mode===W.Statement&&Pe(this._output,this._previous_flags),this._output.set_indent(this._flags.indentation_level,this._flags.alignment))},y.prototype.start_of_object_property=function(){return this._flags.parent.mode===W.ObjectLiteral&&this._flags.mode===W.Statement&&(this._flags.last_token.text===":"&&this._flags.ternary_depth===0||k(this._flags.last_token,["get","set"]))},y.prototype.start_of_statement=function(a){var d=!1;return d=d||k(this._flags.last_token,["var","let","const"])&&a.type===S.WORD,d=d||u(this._flags.last_token,"do"),d=d||!(this._flags.parent.mode===W.ObjectLiteral&&this._flags.mode===W.Statement)&&k(this._flags.last_token,n)&&!a.newlines,d=d||u(this._flags.last_token,"else")&&!(u(a,"if")&&!a.comments_before),d=d||this._flags.last_token.type===S.END_EXPR&&(this._previous_flags.mode===W.ForInitializer||this._previous_flags.mode===W.Conditional),d=d||this._flags.last_token.type===S.WORD&&this._flags.mode===W.BlockStatement&&!this._flags.in_case&&!(a.text==="--"||a.text==="++")&&this._last_last_text!=="function"&&a.type!==S.WORD&&a.type!==S.RESERVED,d=d||this._flags.mode===W.ObjectLiteral&&(this._flags.last_token.text===":"&&this._flags.ternary_depth===0||k(this._flags.last_token,["get","set"])),d?(this.set_mode(W.Statement),this.indent(),this.handle_whitespace_and_comments(a,!0),this.start_of_object_property()||this.allow_wrap_or_preserved_newline(a,k(a,["do","for","if","while"])),!0):!1},y.prototype.handle_start_expr=function(a){this.start_of_statement(a)||this.handle_whitespace_and_comments(a);var d=W.Expression;if(a.text==="["){if(this._flags.last_token.type===S.WORD||this._flags.last_token.text===")"){k(this._flags.last_token,v)&&(this._output.space_before_token=!0),this.print_token(a),this.set_mode(d),this.indent(),this._options.space_in_paren&&(this._output.space_before_token=!0);return}d=W.ArrayLiteral,_(this._flags.mode)&&(this._flags.last_token.text==="["||this._flags.last_token.text===","&&(this._last_last_text==="]"||this._last_last_text==="}"))&&(this._options.keep_array_indentation||this.print_newline()),p(this._flags.last_token.type,[S.START_EXPR,S.END_EXPR,S.WORD,S.OPERATOR,S.DOT])||(this._output.space_before_token=!0)}else{if(this._flags.last_token.type===S.RESERVED)this._flags.last_token.text==="for"?(this._output.space_before_token=this._options.space_before_conditional,d=W.ForInitializer):p(this._flags.last_token.text,["if","while","switch"])?(this._output.space_before_token=this._options.space_before_conditional,d=W.Conditional):p(this._flags.last_word,["await","async"])?this._output.space_before_token=!0:this._flags.last_token.text==="import"&&a.whitespace_before===""?this._output.space_before_token=!1:(p(this._flags.last_token.text,v)||this._flags.last_token.text==="catch")&&(this._output.space_before_token=!0);else if(this._flags.last_token.type===S.EQUALS||this._flags.last_token.type===S.OPERATOR)this.start_of_object_property()||this.allow_wrap_or_preserved_newline(a);else if(this._flags.last_token.type===S.WORD){this._output.space_before_token=!1;var M=this._tokens.peek(-3);if(this._options.space_after_named_function&&M){var ae=this._tokens.peek(-4);k(M,["async","function"])||M.text==="*"&&k(ae,["async","function"])?this._output.space_before_token=!0:this._flags.mode===W.ObjectLiteral?(M.text==="{"||M.text===","||M.text==="*"&&(ae.text==="{"||ae.text===","))&&(this._output.space_before_token=!0):this._flags.parent&&this._flags.parent.class_start_block&&(this._output.space_before_token=!0)}}else this.allow_wrap_or_preserved_newline(a);(this._flags.last_token.type===S.RESERVED&&(this._flags.last_word==="function"||this._flags.last_word==="typeof")||this._flags.last_token.text==="*"&&(p(this._last_last_text,["function","yield"])||this._flags.mode===W.ObjectLiteral&&p(this._last_last_text,["{",","])))&&(this._output.space_before_token=this._options.space_after_anon_function)}this._flags.last_token.text===";"||this._flags.last_token.type===S.START_BLOCK?this.print_newline():(this._flags.last_token.type===S.END_EXPR||this._flags.last_token.type===S.START_EXPR||this._flags.last_token.type===S.END_BLOCK||this._flags.last_token.text==="."||this._flags.last_token.type===S.COMMA)&&this.allow_wrap_or_preserved_newline(a,a.newlines),this.print_token(a),this.set_mode(d),this._options.space_in_paren&&(this._output.space_before_token=!0),this.indent()},y.prototype.handle_end_expr=function(a){for(;this._flags.mode===W.Statement;)this.restore_mode();this.handle_whitespace_and_comments(a),this._flags.multiline_frame&&this.allow_wrap_or_preserved_newline(a,a.text==="]"&&_(this._flags.mode)&&!this._options.keep_array_indentation),this._options.space_in_paren&&(this._flags.last_token.type===S.START_EXPR&&!this._options.space_in_empty_paren?(this._output.trim(),this._output.space_before_token=!1):this._output.space_before_token=!0),this.deindent(),this.print_token(a),this.restore_mode(),Pe(this._output,this._previous_flags),this._flags.do_while&&this._previous_flags.mode===W.Conditional&&(this._previous_flags.mode=W.Expression,this._flags.do_block=!1,this._flags.do_while=!1)},y.prototype.handle_start_block=function(a){this.handle_whitespace_and_comments(a);var d=this._tokens.peek(),M=this._tokens.peek(1);this._flags.last_word==="switch"&&this._flags.last_token.type===S.END_EXPR?(this.set_mode(W.BlockStatement),this._flags.in_case_statement=!0):this._flags.case_body?this.set_mode(W.BlockStatement):M&&(p(M.text,[":",","])&&p(d.type,[S.STRING,S.WORD,S.RESERVED])||p(d.text,["get","set","..."])&&p(M.type,[S.WORD,S.RESERVED]))?p(this._last_last_text,["class","interface"])&&!p(M.text,[":",","])?this.set_mode(W.BlockStatement):this.set_mode(W.ObjectLiteral):this._flags.last_token.type===S.OPERATOR&&this._flags.last_token.text==="=>"?this.set_mode(W.BlockStatement):p(this._flags.last_token.type,[S.EQUALS,S.START_EXPR,S.COMMA,S.OPERATOR])||k(this._flags.last_token,["return","throw","import","default"])?this.set_mode(W.ObjectLiteral):this.set_mode(W.BlockStatement),this._flags.last_token&&k(this._flags.last_token.previous,["class","extends"])&&(this._flags.class_start_block=!0);var ae=!d.comments_before&&d.text==="}",de=ae&&this._flags.last_word==="function"&&this._flags.last_token.type===S.END_EXPR;if(this._options.brace_preserve_inline){var ye=0,Ae=null;this._flags.inline_frame=!0;do if(ye+=1,Ae=this._tokens.peek(ye-1),Ae.newlines){this._flags.inline_frame=!1;break}while(Ae.type!==S.EOF&&!(Ae.type===S.END_BLOCK&&Ae.opened===a))}(this._options.brace_style==="expand"||this._options.brace_style==="none"&&a.newlines)&&!this._flags.inline_frame?this._flags.last_token.type!==S.OPERATOR&&(de||this._flags.last_token.type===S.EQUALS||k(this._flags.last_token,I)&&this._flags.last_token.text!=="else")?this._output.space_before_token=!0:this.print_newline(!1,!0):(_(this._previous_flags.mode)&&(this._flags.last_token.type===S.START_EXPR||this._flags.last_token.type===S.COMMA)&&((this._flags.last_token.type===S.COMMA||this._options.space_in_paren)&&(this._output.space_before_token=!0),(this._flags.last_token.type===S.COMMA||this._flags.last_token.type===S.START_EXPR&&this._flags.inline_frame)&&(this.allow_wrap_or_preserved_newline(a),this._previous_flags.multiline_frame=this._previous_flags.multiline_frame||this._flags.multiline_frame,this._flags.multiline_frame=!1)),this._flags.last_token.type!==S.OPERATOR&&this._flags.last_token.type!==S.START_EXPR&&(p(this._flags.last_token.type,[S.START_BLOCK,S.SEMICOLON])&&!this._flags.inline_frame?this.print_newline():this._output.space_before_token=!0)),this.print_token(a),this.indent(),!ae&&!(this._options.brace_preserve_inline&&this._flags.inline_frame)&&this.print_newline()},y.prototype.handle_end_block=function(a){for(this.handle_whitespace_and_comments(a);this._flags.mode===W.Statement;)this.restore_mode();var d=this._flags.last_token.type===S.START_BLOCK;this._flags.inline_frame&&!d?this._output.space_before_token=!0:this._options.brace_style==="expand"?d||this.print_newline():d||(_(this._flags.mode)&&this._options.keep_array_indentation?(this._options.keep_array_indentation=!1,this.print_newline(),this._options.keep_array_indentation=!0):this.print_newline()),this.restore_mode(),this.print_token(a)},y.prototype.handle_word=function(a){if(a.type===S.RESERVED){if(p(a.text,["set","get"])&&this._flags.mode!==W.ObjectLiteral)a.type=S.WORD;else if(a.text==="import"&&p(this._tokens.peek().text,["(","."]))a.type=S.WORD;else if(p(a.text,["as","from"])&&!this._flags.import_block)a.type=S.WORD;else if(this._flags.mode===W.ObjectLiteral){var d=this._tokens.peek();d.text===":"&&(a.type=S.WORD)}}if(this.start_of_statement(a)?k(this._flags.last_token,["var","let","const"])&&a.type===S.WORD&&(this._flags.declaration_statement=!0):a.newlines&&!x(this._flags.mode)&&(this._flags.last_token.type!==S.OPERATOR||this._flags.last_token.text==="--"||this._flags.last_token.text==="++")&&this._flags.last_token.type!==S.EQUALS&&(this._options.preserve_newlines||!k(this._flags.last_token,["var","let","const","set","get"]))?(this.handle_whitespace_and_comments(a),this.print_newline()):this.handle_whitespace_and_comments(a),this._flags.do_block&&!this._flags.do_while)if(u(a,"while")){this._output.space_before_token=!0,this.print_token(a),this._output.space_before_token=!0,this._flags.do_while=!0;return}else this.print_newline(),this._flags.do_block=!1;if(this._flags.if_block)if(!this._flags.else_block&&u(a,"else"))this._flags.else_block=!0;else{for(;this._flags.mode===W.Statement;)this.restore_mode();this._flags.if_block=!1,this._flags.else_block=!1}if(this._flags.in_case_statement&&k(a,["case","default"])){this.print_newline(),!this._flags.case_block&&(this._flags.case_body||this._options.jslint_happy)&&this.deindent(),this._flags.case_body=!1,this.print_token(a),this._flags.in_case=!0;return}if((this._flags.last_token.type===S.COMMA||this._flags.last_token.type===S.START_EXPR||this._flags.last_token.type===S.EQUALS||this._flags.last_token.type===S.OPERATOR)&&!this.start_of_object_property()&&!(p(this._flags.last_token.text,["+","-"])&&this._last_last_text===":"&&this._flags.parent.mode===W.ObjectLiteral)&&this.allow_wrap_or_preserved_newline(a),u(a,"function")){(p(this._flags.last_token.text,["}",";"])||this._output.just_added_newline()&&!(p(this._flags.last_token.text,["(","[","{",":","=",","])||this._flags.last_token.type===S.OPERATOR))&&!this._output.just_added_blankline()&&!a.comments_before&&(this.print_newline(),this.print_newline(!0)),this._flags.last_token.type===S.RESERVED||this._flags.last_token.type===S.WORD?k(this._flags.last_token,["get","set","new","export"])||k(this._flags.last_token,n)?this._output.space_before_token=!0:u(this._flags.last_token,"default")&&this._last_last_text==="export"?this._output.space_before_token=!0:this._flags.last_token.text==="declare"?this._output.space_before_token=!0:this.print_newline():this._flags.last_token.type===S.OPERATOR||this._flags.last_token.text==="="?this._output.space_before_token=!0:!this._flags.multiline_frame&&(x(this._flags.mode)||_(this._flags.mode))||this.print_newline(),this.print_token(a),this._flags.last_word=a.text;return}var M="NONE";if(this._flags.last_token.type===S.END_BLOCK?this._previous_flags.inline_frame?M="SPACE":k(a,["else","catch","finally","from"])?this._options.brace_style==="expand"||this._options.brace_style==="end-expand"||this._options.brace_style==="none"&&a.newlines?M="NEWLINE":(M="SPACE",this._output.space_before_token=!0):M="NEWLINE":this._flags.last_token.type===S.SEMICOLON&&this._flags.mode===W.BlockStatement?M="NEWLINE":this._flags.last_token.type===S.SEMICOLON&&x(this._flags.mode)?M="SPACE":this._flags.last_token.type===S.STRING?M="NEWLINE":this._flags.last_token.type===S.RESERVED||this._flags.last_token.type===S.WORD||this._flags.last_token.text==="*"&&(p(this._last_last_text,["function","yield"])||this._flags.mode===W.ObjectLiteral&&p(this._last_last_text,["{",","]))?M="SPACE":this._flags.last_token.type===S.START_BLOCK?this._flags.inline_frame?M="SPACE":M="NEWLINE":this._flags.last_token.type===S.END_EXPR&&(this._output.space_before_token=!0,M="NEWLINE"),k(a,v)&&this._flags.last_token.text!==")"&&(this._flags.inline_frame||this._flags.last_token.text==="else"||this._flags.last_token.text==="export"?M="SPACE":M="NEWLINE"),k(a,["else","catch","finally"]))if((!(this._flags.last_token.type===S.END_BLOCK&&this._previous_flags.mode===W.BlockStatement)||this._options.brace_style==="expand"||this._options.brace_style==="end-expand"||this._options.brace_style==="none"&&a.newlines)&&!this._flags.inline_frame)this.print_newline();else{this._output.trim(!0);var ae=this._output.current_line;ae.last()!=="}"&&this.print_newline(),this._output.space_before_token=!0}else M==="NEWLINE"?k(this._flags.last_token,I)?this._output.space_before_token=!0:this._flags.last_token.text==="declare"&&k(a,["var","let","const"])?this._output.space_before_token=!0:this._flags.last_token.type!==S.END_EXPR?(this._flags.last_token.type!==S.START_EXPR||!k(a,["var","let","const"]))&&this._flags.last_token.text!==":"&&(u(a,"if")&&u(a.previous,"else")?this._output.space_before_token=!0:this.print_newline()):k(a,v)&&this._flags.last_token.text!==")"&&this.print_newline():this._flags.multiline_frame&&_(this._flags.mode)&&this._flags.last_token.text===","&&this._last_last_text==="}"?this.print_newline():M==="SPACE"&&(this._output.space_before_token=!0);a.previous&&(a.previous.type===S.WORD||a.previous.type===S.RESERVED)&&(this._output.space_before_token=!0),this.print_token(a),this._flags.last_word=a.text,a.type===S.RESERVED&&(a.text==="do"?this._flags.do_block=!0:a.text==="if"?this._flags.if_block=!0:a.text==="import"?this._flags.import_block=!0:this._flags.import_block&&u(a,"from")&&(this._flags.import_block=!1))},y.prototype.handle_semicolon=function(a){this.start_of_statement(a)?this._output.space_before_token=!1:this.handle_whitespace_and_comments(a);for(var d=this._tokens.peek();this._flags.mode===W.Statement&&!(this._flags.if_block&&u(d,"else"))&&!this._flags.do_block;)this.restore_mode();this._flags.import_block&&(this._flags.import_block=!1),this.print_token(a)},y.prototype.handle_string=function(a){a.text.startsWith("`")&&a.newlines===0&&a.whitespace_before===""&&(a.previous.text===")"||this._flags.last_token.type===S.WORD)||(this.start_of_statement(a)?this._output.space_before_token=!0:(this.handle_whitespace_and_comments(a),this._flags.last_token.type===S.RESERVED||this._flags.last_token.type===S.WORD||this._flags.inline_frame?this._output.space_before_token=!0:this._flags.last_token.type===S.COMMA||this._flags.last_token.type===S.START_EXPR||this._flags.last_token.type===S.EQUALS||this._flags.last_token.type===S.OPERATOR?this.start_of_object_property()||this.allow_wrap_or_preserved_newline(a):a.text.startsWith("`")&&this._flags.last_token.type===S.END_EXPR&&(a.previous.text==="]"||a.previous.text===")")&&a.newlines===0?this._output.space_before_token=!0:this.print_newline())),this.print_token(a)},y.prototype.handle_equals=function(a){this.start_of_statement(a)||this.handle_whitespace_and_comments(a),this._flags.declaration_statement&&(this._flags.declaration_assignment=!0),this._output.space_before_token=!0,this.print_token(a),this._output.space_before_token=!0},y.prototype.handle_comma=function(a){this.handle_whitespace_and_comments(a,!0),this.print_token(a),this._output.space_before_token=!0,this._flags.declaration_statement?(x(this._flags.parent.mode)&&(this._flags.declaration_assignment=!1),this._flags.declaration_assignment?(this._flags.declaration_assignment=!1,this.print_newline(!1,!0)):this._options.comma_first&&this.allow_wrap_or_preserved_newline(a)):this._flags.mode===W.ObjectLiteral||this._flags.mode===W.Statement&&this._flags.parent.mode===W.ObjectLiteral?(this._flags.mode===W.Statement&&this.restore_mode(),this._flags.inline_frame||this.print_newline()):this._options.comma_first&&this.allow_wrap_or_preserved_newline(a)},y.prototype.handle_operator=function(a){var d=a.text==="*"&&(k(this._flags.last_token,["function","yield"])||p(this._flags.last_token.type,[S.START_BLOCK,S.COMMA,S.END_BLOCK,S.SEMICOLON])),M=p(a.text,["-","+"])&&(p(this._flags.last_token.type,[S.START_BLOCK,S.START_EXPR,S.EQUALS,S.OPERATOR])||p(this._flags.last_token.text,v)||this._flags.last_token.text===",");if(!this.start_of_statement(a)){var ae=!d;this.handle_whitespace_and_comments(a,ae)}if(a.text==="*"&&this._flags.last_token.type===S.DOT){this.print_token(a);return}if(a.text==="::"){this.print_token(a);return}if(p(a.text,["-","+"])&&this.start_of_object_property()){this.print_token(a);return}if(this._flags.last_token.type===S.OPERATOR&&p(this._options.operator_position,Y)&&this.allow_wrap_or_preserved_newline(a),a.text===":"&&this._flags.in_case){this.print_token(a),this._flags.in_case=!1,this._flags.case_body=!0,this._tokens.peek().type!==S.START_BLOCK?(this.indent(),this.print_newline(),this._flags.case_block=!1):(this._flags.case_block=!0,this._output.space_before_token=!0);return}var de=!0,ye=!0,Ae=!1;if(a.text===":"?this._flags.ternary_depth===0?de=!1:(this._flags.ternary_depth-=1,Ae=!0):a.text==="?"&&(this._flags.ternary_depth+=1),!M&&!d&&this._options.preserve_newlines&&p(a.text,b)){var He=a.text===":",mt=He&&Ae,be=He&&!Ae;switch(this._options.operator_position){case K.before_newline:this._output.space_before_token=!be,this.print_token(a),(!He||mt)&&this.allow_wrap_or_preserved_newline(a),this._output.space_before_token=!0;return;case K.after_newline:this._output.space_before_token=!0,!He||mt?this._tokens.peek().newlines?this.print_newline(!1,!0):this.allow_wrap_or_preserved_newline(a):this._output.space_before_token=!1,this.print_token(a),this._output.space_before_token=!0;return;case K.preserve_newline:be||this.allow_wrap_or_preserved_newline(a),de=!(this._output.just_added_newline()||be),this._output.space_before_token=de,this.print_token(a),this._output.space_before_token=!0;return}}if(d){this.allow_wrap_or_preserved_newline(a),de=!1;var Ge=this._tokens.peek();ye=Ge&&p(Ge.type,[S.WORD,S.RESERVED])}else if(a.text==="...")this.allow_wrap_or_preserved_newline(a),de=this._flags.last_token.type===S.START_BLOCK,ye=!1;else if(p(a.text,["--","++","!","~"])||M){if((this._flags.last_token.type===S.COMMA||this._flags.last_token.type===S.START_EXPR)&&this.allow_wrap_or_preserved_newline(a),de=!1,ye=!1,a.newlines&&(a.text==="--"||a.text==="++"||a.text==="~")){var ut=k(this._flags.last_token,I)&&a.newlines;ut&&(this._previous_flags.if_block||this._previous_flags.else_block)&&this.restore_mode(),this.print_newline(ut,!0)}this._flags.last_token.text===";"&&x(this._flags.mode)&&(de=!0),this._flags.last_token.type===S.RESERVED?de=!0:this._flags.last_token.type===S.END_EXPR?de=!(this._flags.last_token.text==="]"&&(a.text==="--"||a.text==="++")):this._flags.last_token.type===S.OPERATOR&&(de=p(a.text,["--","-","++","+"])&&p(this._flags.last_token.text,["--","-","++","+"]),p(a.text,["+","-"])&&p(this._flags.last_token.text,["--","++"])&&(ye=!0)),(this._flags.mode===W.BlockStatement&&!this._flags.inline_frame||this._flags.mode===W.Statement)&&(this._flags.last_token.text==="{"||this._flags.last_token.text===";")&&this.print_newline()}this._output.space_before_token=this._output.space_before_token||de,this.print_token(a),this._output.space_before_token=ye},y.prototype.handle_block_comment=function(a,d){if(this._output.raw){this._output.add_raw_token(a),a.directives&&a.directives.preserve==="end"&&(this._output.raw=this._options.test_output_raw);return}if(a.directives){this.print_newline(!1,d),this.print_token(a),a.directives.preserve==="start"&&(this._output.raw=!0),this.print_newline(!1,!0);return}if(!r.newline.test(a.text)&&!a.newlines){this._output.space_before_token=!0,this.print_token(a),this._output.space_before_token=!0;return}else this.print_block_commment(a,d)},y.prototype.print_block_commment=function(a,d){var M=w(a.text),ae,de=!1,ye=!1,Ae=a.whitespace_before,He=Ae.length;if(this.print_newline(!1,d),this.print_token_line_indentation(a),this._output.add_token(M[0]),this.print_newline(!1,d),M.length>1){for(M=M.slice(1),de=N(M,"*"),ye=C(M,Ae),de&&(this._flags.alignment=1),ae=0;ae<M.length;ae++)de?(this.print_token_line_indentation(a),this._output.add_token(m(M[ae]))):ye&&M[ae]?(this.print_token_line_indentation(a),this._output.add_token(M[ae].substring(He))):(this._output.current_line.set_indent(-1),this._output.add_token(M[ae])),this.print_newline(!1,d);this._flags.alignment=0}},y.prototype.handle_comment=function(a,d){a.newlines?this.print_newline(!1,d):this._output.trim(!0),this._output.space_before_token=!0,this.print_token(a),this.print_newline(!1,d)},y.prototype.handle_dot=function(a){this.start_of_statement(a)||this.handle_whitespace_and_comments(a,!0),this._flags.last_token.text.match("^[0-9]+$")&&(this._output.space_before_token=!0),k(this._flags.last_token,I)?this._output.space_before_token=!1:this.allow_wrap_or_preserved_newline(a,this._flags.last_token.text===")"&&this._options.break_chained_methods),this._options.unindent_chained_methods&&this._output.just_added_newline()&&this.deindent(),this.print_token(a)},y.prototype.handle_unknown=function(a,d){this.print_token(a),a.text[a.text.length-1]===`
`&&this.print_newline(!1,d)},y.prototype.handle_eof=function(a){for(;this._flags.mode===W.Statement;)this.restore_mode();this.handle_whitespace_and_comments(a)},G.exports.Beautifier=y},function(G){function e(t){this.__parent=t,this.__character_count=0,this.__indent_count=-1,this.__alignment_count=0,this.__wrap_point_index=0,this.__wrap_point_character_count=0,this.__wrap_point_indent_count=-1,this.__wrap_point_alignment_count=0,this.__items=[]}e.prototype.clone_empty=function(){var t=new e(this.__parent);return t.set_indent(this.__indent_count,this.__alignment_count),t},e.prototype.item=function(t){return t<0?this.__items[this.__items.length+t]:this.__items[t]},e.prototype.has_match=function(t){for(var r=this.__items.length-1;r>=0;r--)if(this.__items[r].match(t))return!0;return!1},e.prototype.set_indent=function(t,r){this.is_empty()&&(this.__indent_count=t||0,this.__alignment_count=r||0,this.__character_count=this.__parent.get_indent_size(this.__indent_count,this.__alignment_count))},e.prototype._set_wrap_point=function(){this.__parent.wrap_line_length&&(this.__wrap_point_index=this.__items.length,this.__wrap_point_character_count=this.__character_count,this.__wrap_point_indent_count=this.__parent.next_line.__indent_count,this.__wrap_point_alignment_count=this.__parent.next_line.__alignment_count)},e.prototype._should_wrap=function(){return this.__wrap_point_index&&this.__character_count>this.__parent.wrap_line_length&&this.__wrap_point_character_count>this.__parent.next_line.__character_count},e.prototype._allow_wrap=function(){if(this._should_wrap()){this.__parent.add_new_line();var t=this.__parent.current_line;return t.set_indent(this.__wrap_point_indent_count,this.__wrap_point_alignment_count),t.__items=this.__items.slice(this.__wrap_point_index),this.__items=this.__items.slice(0,this.__wrap_point_index),t.__character_count+=this.__character_count-this.__wrap_point_character_count,this.__character_count=this.__wrap_point_character_count,t.__items[0]===" "&&(t.__items.splice(0,1),t.__character_count-=1),!0}return!1},e.prototype.is_empty=function(){return this.__items.length===0},e.prototype.last=function(){return this.is_empty()?null:this.__items[this.__items.length-1]},e.prototype.push=function(t){this.__items.push(t);var r=t.lastIndexOf(`
`);r!==-1?this.__character_count=t.length-r:this.__character_count+=t.length},e.prototype.pop=function(){var t=null;return this.is_empty()||(t=this.__items.pop(),this.__character_count-=t.length),t},e.prototype._remove_indent=function(){this.__indent_count>0&&(this.__indent_count-=1,this.__character_count-=this.__parent.indent_size)},e.prototype._remove_wrap_indent=function(){this.__wrap_point_indent_count>0&&(this.__wrap_point_indent_count-=1)},e.prototype.trim=function(){for(;this.last()===" ";)this.__items.pop(),this.__character_count-=1},e.prototype.toString=function(){var t="";return this.is_empty()?this.__parent.indent_empty_lines&&(t=this.__parent.get_indent_string(this.__indent_count)):(t=this.__parent.get_indent_string(this.__indent_count,this.__alignment_count),t+=this.__items.join("")),t};function s(t,r){this.__cache=[""],this.__indent_size=t.indent_size,this.__indent_string=t.indent_char,t.indent_with_tabs||(this.__indent_string=new Array(t.indent_size+1).join(t.indent_char)),r=r||"",t.indent_level>0&&(r=new Array(t.indent_level+1).join(this.__indent_string)),this.__base_string=r,this.__base_string_length=r.length}s.prototype.get_indent_size=function(t,r){var i=this.__base_string_length;return r=r||0,t<0&&(i=0),i+=t*this.__indent_size,i+=r,i},s.prototype.get_indent_string=function(t,r){var i=this.__base_string;return r=r||0,t<0&&(t=0,i=""),r+=t*this.__indent_size,this.__ensure_cache(r),i+=this.__cache[r],i},s.prototype.__ensure_cache=function(t){for(;t>=this.__cache.length;)this.__add_column()},s.prototype.__add_column=function(){var t=this.__cache.length,r=0,i="";this.__indent_size&&t>=this.__indent_size&&(r=Math.floor(t/this.__indent_size),t-=r*this.__indent_size,i=new Array(r+1).join(this.__indent_string)),t&&(i+=new Array(t+1).join(" ")),this.__cache.push(i)};function c(t,r){this.__indent_cache=new s(t,r),this.raw=!1,this._end_with_newline=t.end_with_newline,this.indent_size=t.indent_size,this.wrap_line_length=t.wrap_line_length,this.indent_empty_lines=t.indent_empty_lines,this.__lines=[],this.previous_line=null,this.current_line=null,this.next_line=new e(this),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=!1,this.__add_outputline()}c.prototype.__add_outputline=function(){this.previous_line=this.current_line,this.current_line=this.next_line.clone_empty(),this.__lines.push(this.current_line)},c.prototype.get_line_number=function(){return this.__lines.length},c.prototype.get_indent_string=function(t,r){return this.__indent_cache.get_indent_string(t,r)},c.prototype.get_indent_size=function(t,r){return this.__indent_cache.get_indent_size(t,r)},c.prototype.is_empty=function(){return!this.previous_line&&this.current_line.is_empty()},c.prototype.add_new_line=function(t){return this.is_empty()||!t&&this.just_added_newline()?!1:(this.raw||this.__add_outputline(),!0)},c.prototype.get_code=function(t){this.trim(!0);var r=this.current_line.pop();r&&(r[r.length-1]===`
`&&(r=r.replace(/\n+$/g,"")),this.current_line.push(r)),this._end_with_newline&&this.__add_outputline();var i=this.__lines.join(`
`);return t!==`
`&&(i=i.replace(/[\n]/g,t)),i},c.prototype.set_wrap_point=function(){this.current_line._set_wrap_point()},c.prototype.set_indent=function(t,r){return t=t||0,r=r||0,this.next_line.set_indent(t,r),this.__lines.length>1?(this.current_line.set_indent(t,r),!0):(this.current_line.set_indent(),!1)},c.prototype.add_raw_token=function(t){for(var r=0;r<t.newlines;r++)this.__add_outputline();this.current_line.set_indent(-1),this.current_line.push(t.whitespace_before),this.current_line.push(t.text),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=!1},c.prototype.add_token=function(t){this.__add_space_before_token(),this.current_line.push(t),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=this.current_line._allow_wrap()},c.prototype.__add_space_before_token=function(){this.space_before_token&&!this.just_added_newline()&&(this.non_breaking_space||this.set_wrap_point(),this.current_line.push(" "))},c.prototype.remove_indent=function(t){for(var r=this.__lines.length;t<r;)this.__lines[t]._remove_indent(),t++;this.current_line._remove_wrap_indent()},c.prototype.trim=function(t){for(t=t===void 0?!1:t,this.current_line.trim();t&&this.__lines.length>1&&this.current_line.is_empty();)this.__lines.pop(),this.current_line=this.__lines[this.__lines.length-1],this.current_line.trim();this.previous_line=this.__lines.length>1?this.__lines[this.__lines.length-2]:null},c.prototype.just_added_newline=function(){return this.current_line.is_empty()},c.prototype.just_added_blankline=function(){return this.is_empty()||this.current_line.is_empty()&&this.previous_line.is_empty()},c.prototype.ensure_empty_line_above=function(t,r){for(var i=this.__lines.length-2;i>=0;){var o=this.__lines[i];if(o.is_empty())break;if(o.item(0).indexOf(t)!==0&&o.item(-1)!==r){this.__lines.splice(i+1,0,new e(this)),this.previous_line=this.__lines[this.__lines.length-2];break}i--}},G.exports.Output=c},function(G){function e(s,c,t,r){this.type=s,this.text=c,this.comments_before=null,this.newlines=t||0,this.whitespace_before=r||"",this.parent=null,this.next=null,this.previous=null,this.opened=null,this.closed=null,this.directives=null}G.exports.Token=e},function(G,e){var s="\\x23\\x24\\x40\\x41-\\x5a\\x5f\\x61-\\x7a",c="\\x24\\x30-\\x39\\x41-\\x5a\\x5f\\x61-\\x7a",t="\\xaa\\xb5\\xba\\xc0-\\xd6\\xd8-\\xf6\\xf8-\\u02c1\\u02c6-\\u02d1\\u02e0-\\u02e4\\u02ec\\u02ee\\u0370-\\u0374\\u0376\\u0377\\u037a-\\u037d\\u0386\\u0388-\\u038a\\u038c\\u038e-\\u03a1\\u03a3-\\u03f5\\u03f7-\\u0481\\u048a-\\u0527\\u0531-\\u0556\\u0559\\u0561-\\u0587\\u05d0-\\u05ea\\u05f0-\\u05f2\\u0620-\\u064a\\u066e\\u066f\\u0671-\\u06d3\\u06d5\\u06e5\\u06e6\\u06ee\\u06ef\\u06fa-\\u06fc\\u06ff\\u0710\\u0712-\\u072f\\u074d-\\u07a5\\u07b1\\u07ca-\\u07ea\\u07f4\\u07f5\\u07fa\\u0800-\\u0815\\u081a\\u0824\\u0828\\u0840-\\u0858\\u08a0\\u08a2-\\u08ac\\u0904-\\u0939\\u093d\\u0950\\u0958-\\u0961\\u0971-\\u0977\\u0979-\\u097f\\u0985-\\u098c\\u098f\\u0990\\u0993-\\u09a8\\u09aa-\\u09b0\\u09b2\\u09b6-\\u09b9\\u09bd\\u09ce\\u09dc\\u09dd\\u09df-\\u09e1\\u09f0\\u09f1\\u0a05-\\u0a0a\\u0a0f\\u0a10\\u0a13-\\u0a28\\u0a2a-\\u0a30\\u0a32\\u0a33\\u0a35\\u0a36\\u0a38\\u0a39\\u0a59-\\u0a5c\\u0a5e\\u0a72-\\u0a74\\u0a85-\\u0a8d\\u0a8f-\\u0a91\\u0a93-\\u0aa8\\u0aaa-\\u0ab0\\u0ab2\\u0ab3\\u0ab5-\\u0ab9\\u0abd\\u0ad0\\u0ae0\\u0ae1\\u0b05-\\u0b0c\\u0b0f\\u0b10\\u0b13-\\u0b28\\u0b2a-\\u0b30\\u0b32\\u0b33\\u0b35-\\u0b39\\u0b3d\\u0b5c\\u0b5d\\u0b5f-\\u0b61\\u0b71\\u0b83\\u0b85-\\u0b8a\\u0b8e-\\u0b90\\u0b92-\\u0b95\\u0b99\\u0b9a\\u0b9c\\u0b9e\\u0b9f\\u0ba3\\u0ba4\\u0ba8-\\u0baa\\u0bae-\\u0bb9\\u0bd0\\u0c05-\\u0c0c\\u0c0e-\\u0c10\\u0c12-\\u0c28\\u0c2a-\\u0c33\\u0c35-\\u0c39\\u0c3d\\u0c58\\u0c59\\u0c60\\u0c61\\u0c85-\\u0c8c\\u0c8e-\\u0c90\\u0c92-\\u0ca8\\u0caa-\\u0cb3\\u0cb5-\\u0cb9\\u0cbd\\u0cde\\u0ce0\\u0ce1\\u0cf1\\u0cf2\\u0d05-\\u0d0c\\u0d0e-\\u0d10\\u0d12-\\u0d3a\\u0d3d\\u0d4e\\u0d60\\u0d61\\u0d7a-\\u0d7f\\u0d85-\\u0d96\\u0d9a-\\u0db1\\u0db3-\\u0dbb\\u0dbd\\u0dc0-\\u0dc6\\u0e01-\\u0e30\\u0e32\\u0e33\\u0e40-\\u0e46\\u0e81\\u0e82\\u0e84\\u0e87\\u0e88\\u0e8a\\u0e8d\\u0e94-\\u0e97\\u0e99-\\u0e9f\\u0ea1-\\u0ea3\\u0ea5\\u0ea7\\u0eaa\\u0eab\\u0ead-\\u0eb0\\u0eb2\\u0eb3\\u0ebd\\u0ec0-\\u0ec4\\u0ec6\\u0edc-\\u0edf\\u0f00\\u0f40-\\u0f47\\u0f49-\\u0f6c\\u0f88-\\u0f8c\\u1000-\\u102a\\u103f\\u1050-\\u1055\\u105a-\\u105d\\u1061\\u1065\\u1066\\u106e-\\u1070\\u1075-\\u1081\\u108e\\u10a0-\\u10c5\\u10c7\\u10cd\\u10d0-\\u10fa\\u10fc-\\u1248\\u124a-\\u124d\\u1250-\\u1256\\u1258\\u125a-\\u125d\\u1260-\\u1288\\u128a-\\u128d\\u1290-\\u12b0\\u12b2-\\u12b5\\u12b8-\\u12be\\u12c0\\u12c2-\\u12c5\\u12c8-\\u12d6\\u12d8-\\u1310\\u1312-\\u1315\\u1318-\\u135a\\u1380-\\u138f\\u13a0-\\u13f4\\u1401-\\u166c\\u166f-\\u167f\\u1681-\\u169a\\u16a0-\\u16ea\\u16ee-\\u16f0\\u1700-\\u170c\\u170e-\\u1711\\u1720-\\u1731\\u1740-\\u1751\\u1760-\\u176c\\u176e-\\u1770\\u1780-\\u17b3\\u17d7\\u17dc\\u1820-\\u1877\\u1880-\\u18a8\\u18aa\\u18b0-\\u18f5\\u1900-\\u191c\\u1950-\\u196d\\u1970-\\u1974\\u1980-\\u19ab\\u19c1-\\u19c7\\u1a00-\\u1a16\\u1a20-\\u1a54\\u1aa7\\u1b05-\\u1b33\\u1b45-\\u1b4b\\u1b83-\\u1ba0\\u1bae\\u1baf\\u1bba-\\u1be5\\u1c00-\\u1c23\\u1c4d-\\u1c4f\\u1c5a-\\u1c7d\\u1ce9-\\u1cec\\u1cee-\\u1cf1\\u1cf5\\u1cf6\\u1d00-\\u1dbf\\u1e00-\\u1f15\\u1f18-\\u1f1d\\u1f20-\\u1f45\\u1f48-\\u1f4d\\u1f50-\\u1f57\\u1f59\\u1f5b\\u1f5d\\u1f5f-\\u1f7d\\u1f80-\\u1fb4\\u1fb6-\\u1fbc\\u1fbe\\u1fc2-\\u1fc4\\u1fc6-\\u1fcc\\u1fd0-\\u1fd3\\u1fd6-\\u1fdb\\u1fe0-\\u1fec\\u1ff2-\\u1ff4\\u1ff6-\\u1ffc\\u2071\\u207f\\u2090-\\u209c\\u2102\\u2107\\u210a-\\u2113\\u2115\\u2119-\\u211d\\u2124\\u2126\\u2128\\u212a-\\u212d\\u212f-\\u2139\\u213c-\\u213f\\u2145-\\u2149\\u214e\\u2160-\\u2188\\u2c00-\\u2c2e\\u2c30-\\u2c5e\\u2c60-\\u2ce4\\u2ceb-\\u2cee\\u2cf2\\u2cf3\\u2d00-\\u2d25\\u2d27\\u2d2d\\u2d30-\\u2d67\\u2d6f\\u2d80-\\u2d96\\u2da0-\\u2da6\\u2da8-\\u2dae\\u2db0-\\u2db6\\u2db8-\\u2dbe\\u2dc0-\\u2dc6\\u2dc8-\\u2dce\\u2dd0-\\u2dd6\\u2dd8-\\u2dde\\u2e2f\\u3005-\\u3007\\u3021-\\u3029\\u3031-\\u3035\\u3038-\\u303c\\u3041-\\u3096\\u309d-\\u309f\\u30a1-\\u30fa\\u30fc-\\u30ff\\u3105-\\u312d\\u3131-\\u318e\\u31a0-\\u31ba\\u31f0-\\u31ff\\u3400-\\u4db5\\u4e00-\\u9fcc\\ua000-\\ua48c\\ua4d0-\\ua4fd\\ua500-\\ua60c\\ua610-\\ua61f\\ua62a\\ua62b\\ua640-\\ua66e\\ua67f-\\ua697\\ua6a0-\\ua6ef\\ua717-\\ua71f\\ua722-\\ua788\\ua78b-\\ua78e\\ua790-\\ua793\\ua7a0-\\ua7aa\\ua7f8-\\ua801\\ua803-\\ua805\\ua807-\\ua80a\\ua80c-\\ua822\\ua840-\\ua873\\ua882-\\ua8b3\\ua8f2-\\ua8f7\\ua8fb\\ua90a-\\ua925\\ua930-\\ua946\\ua960-\\ua97c\\ua984-\\ua9b2\\ua9cf\\uaa00-\\uaa28\\uaa40-\\uaa42\\uaa44-\\uaa4b\\uaa60-\\uaa76\\uaa7a\\uaa80-\\uaaaf\\uaab1\\uaab5\\uaab6\\uaab9-\\uaabd\\uaac0\\uaac2\\uaadb-\\uaadd\\uaae0-\\uaaea\\uaaf2-\\uaaf4\\uab01-\\uab06\\uab09-\\uab0e\\uab11-\\uab16\\uab20-\\uab26\\uab28-\\uab2e\\uabc0-\\uabe2\\uac00-\\ud7a3\\ud7b0-\\ud7c6\\ud7cb-\\ud7fb\\uf900-\\ufa6d\\ufa70-\\ufad9\\ufb00-\\ufb06\\ufb13-\\ufb17\\ufb1d\\ufb1f-\\ufb28\\ufb2a-\\ufb36\\ufb38-\\ufb3c\\ufb3e\\ufb40\\ufb41\\ufb43\\ufb44\\ufb46-\\ufbb1\\ufbd3-\\ufd3d\\ufd50-\\ufd8f\\ufd92-\\ufdc7\\ufdf0-\\ufdfb\\ufe70-\\ufe74\\ufe76-\\ufefc\\uff21-\\uff3a\\uff41-\\uff5a\\uff66-\\uffbe\\uffc2-\\uffc7\\uffca-\\uffcf\\uffd2-\\uffd7\\uffda-\\uffdc",r="\\u0300-\\u036f\\u0483-\\u0487\\u0591-\\u05bd\\u05bf\\u05c1\\u05c2\\u05c4\\u05c5\\u05c7\\u0610-\\u061a\\u0620-\\u0649\\u0672-\\u06d3\\u06e7-\\u06e8\\u06fb-\\u06fc\\u0730-\\u074a\\u0800-\\u0814\\u081b-\\u0823\\u0825-\\u0827\\u0829-\\u082d\\u0840-\\u0857\\u08e4-\\u08fe\\u0900-\\u0903\\u093a-\\u093c\\u093e-\\u094f\\u0951-\\u0957\\u0962-\\u0963\\u0966-\\u096f\\u0981-\\u0983\\u09bc\\u09be-\\u09c4\\u09c7\\u09c8\\u09d7\\u09df-\\u09e0\\u0a01-\\u0a03\\u0a3c\\u0a3e-\\u0a42\\u0a47\\u0a48\\u0a4b-\\u0a4d\\u0a51\\u0a66-\\u0a71\\u0a75\\u0a81-\\u0a83\\u0abc\\u0abe-\\u0ac5\\u0ac7-\\u0ac9\\u0acb-\\u0acd\\u0ae2-\\u0ae3\\u0ae6-\\u0aef\\u0b01-\\u0b03\\u0b3c\\u0b3e-\\u0b44\\u0b47\\u0b48\\u0b4b-\\u0b4d\\u0b56\\u0b57\\u0b5f-\\u0b60\\u0b66-\\u0b6f\\u0b82\\u0bbe-\\u0bc2\\u0bc6-\\u0bc8\\u0bca-\\u0bcd\\u0bd7\\u0be6-\\u0bef\\u0c01-\\u0c03\\u0c46-\\u0c48\\u0c4a-\\u0c4d\\u0c55\\u0c56\\u0c62-\\u0c63\\u0c66-\\u0c6f\\u0c82\\u0c83\\u0cbc\\u0cbe-\\u0cc4\\u0cc6-\\u0cc8\\u0cca-\\u0ccd\\u0cd5\\u0cd6\\u0ce2-\\u0ce3\\u0ce6-\\u0cef\\u0d02\\u0d03\\u0d46-\\u0d48\\u0d57\\u0d62-\\u0d63\\u0d66-\\u0d6f\\u0d82\\u0d83\\u0dca\\u0dcf-\\u0dd4\\u0dd6\\u0dd8-\\u0ddf\\u0df2\\u0df3\\u0e34-\\u0e3a\\u0e40-\\u0e45\\u0e50-\\u0e59\\u0eb4-\\u0eb9\\u0ec8-\\u0ecd\\u0ed0-\\u0ed9\\u0f18\\u0f19\\u0f20-\\u0f29\\u0f35\\u0f37\\u0f39\\u0f41-\\u0f47\\u0f71-\\u0f84\\u0f86-\\u0f87\\u0f8d-\\u0f97\\u0f99-\\u0fbc\\u0fc6\\u1000-\\u1029\\u1040-\\u1049\\u1067-\\u106d\\u1071-\\u1074\\u1082-\\u108d\\u108f-\\u109d\\u135d-\\u135f\\u170e-\\u1710\\u1720-\\u1730\\u1740-\\u1750\\u1772\\u1773\\u1780-\\u17b2\\u17dd\\u17e0-\\u17e9\\u180b-\\u180d\\u1810-\\u1819\\u1920-\\u192b\\u1930-\\u193b\\u1951-\\u196d\\u19b0-\\u19c0\\u19c8-\\u19c9\\u19d0-\\u19d9\\u1a00-\\u1a15\\u1a20-\\u1a53\\u1a60-\\u1a7c\\u1a7f-\\u1a89\\u1a90-\\u1a99\\u1b46-\\u1b4b\\u1b50-\\u1b59\\u1b6b-\\u1b73\\u1bb0-\\u1bb9\\u1be6-\\u1bf3\\u1c00-\\u1c22\\u1c40-\\u1c49\\u1c5b-\\u1c7d\\u1cd0-\\u1cd2\\u1d00-\\u1dbe\\u1e01-\\u1f15\\u200c\\u200d\\u203f\\u2040\\u2054\\u20d0-\\u20dc\\u20e1\\u20e5-\\u20f0\\u2d81-\\u2d96\\u2de0-\\u2dff\\u3021-\\u3028\\u3099\\u309a\\ua640-\\ua66d\\ua674-\\ua67d\\ua69f\\ua6f0-\\ua6f1\\ua7f8-\\ua800\\ua806\\ua80b\\ua823-\\ua827\\ua880-\\ua881\\ua8b4-\\ua8c4\\ua8d0-\\ua8d9\\ua8f3-\\ua8f7\\ua900-\\ua909\\ua926-\\ua92d\\ua930-\\ua945\\ua980-\\ua983\\ua9b3-\\ua9c0\\uaa00-\\uaa27\\uaa40-\\uaa41\\uaa4c-\\uaa4d\\uaa50-\\uaa59\\uaa7b\\uaae0-\\uaae9\\uaaf2-\\uaaf3\\uabc0-\\uabe1\\uabec\\uabed\\uabf0-\\uabf9\\ufb20-\\ufb28\\ufe00-\\ufe0f\\ufe20-\\ufe26\\ufe33\\ufe34\\ufe4d-\\ufe4f\\uff10-\\uff19\\uff3f",i="\\\\u[0-9a-fA-F]{4}|\\\\u\\{[0-9a-fA-F]+\\}",o="(?:"+i+"|["+s+t+"])",v="(?:"+i+"|["+c+t+r+"])*";e.identifier=new RegExp(o+v,"g"),e.identifierStart=new RegExp(o),e.identifierMatch=new RegExp("(?:"+i+"|["+c+t+r+"])+");var b=/[\u1680\u180e\u2000-\u200a\u202f\u205f\u3000\ufeff]/;e.newline=/[\n\r\u2028\u2029]/,e.lineBreak=new RegExp(`\r
|`+e.newline.source),e.allLineBreaks=new RegExp(e.lineBreak.source,"g")},function(G,e,s){var c=s(6).Options,t=["before-newline","after-newline","preserve-newline"];function r(i){c.call(this,i,"js");var o=this.raw_options.brace_style||null;o==="expand-strict"?this.raw_options.brace_style="expand":o==="collapse-preserve-inline"?this.raw_options.brace_style="collapse,preserve-inline":this.raw_options.braces_on_own_line!==void 0&&(this.raw_options.brace_style=this.raw_options.braces_on_own_line?"expand":"collapse");var v=this._get_selection_list("brace_style",["collapse","expand","end-expand","none","preserve-inline"]);this.brace_preserve_inline=!1,this.brace_style="collapse";for(var b=0;b<v.length;b++)v[b]==="preserve-inline"?this.brace_preserve_inline=!0:this.brace_style=v[b];this.unindent_chained_methods=this._get_boolean("unindent_chained_methods"),this.break_chained_methods=this._get_boolean("break_chained_methods"),this.space_in_paren=this._get_boolean("space_in_paren"),this.space_in_empty_paren=this._get_boolean("space_in_empty_paren"),this.jslint_happy=this._get_boolean("jslint_happy"),this.space_after_anon_function=this._get_boolean("space_after_anon_function"),this.space_after_named_function=this._get_boolean("space_after_named_function"),this.keep_array_indentation=this._get_boolean("keep_array_indentation"),this.space_before_conditional=this._get_boolean("space_before_conditional",!0),this.unescape_strings=this._get_boolean("unescape_strings"),this.e4x=this._get_boolean("e4x"),this.comma_first=this._get_boolean("comma_first"),this.operator_position=this._get_selection("operator_position",t),this.test_output_raw=this._get_boolean("test_output_raw"),this.jslint_happy&&(this.space_after_anon_function=!0)}r.prototype=new c,G.exports.Options=r},function(G){function e(t,r){this.raw_options=s(t,r),this.disabled=this._get_boolean("disabled"),this.eol=this._get_characters("eol","auto"),this.end_with_newline=this._get_boolean("end_with_newline"),this.indent_size=this._get_number("indent_size",4),this.indent_char=this._get_characters("indent_char"," "),this.indent_level=this._get_number("indent_level"),this.preserve_newlines=this._get_boolean("preserve_newlines",!0),this.max_preserve_newlines=this._get_number("max_preserve_newlines",32786),this.preserve_newlines||(this.max_preserve_newlines=0),this.indent_with_tabs=this._get_boolean("indent_with_tabs",this.indent_char===" "),this.indent_with_tabs&&(this.indent_char=" ",this.indent_size===1&&(this.indent_size=4)),this.wrap_line_length=this._get_number("wrap_line_length",this._get_number("max_char")),this.indent_empty_lines=this._get_boolean("indent_empty_lines"),this.templating=this._get_selection_list("templating",["auto","none","angular","django","erb","handlebars","php","smarty"],["auto"])}e.prototype._get_array=function(t,r){var i=this.raw_options[t],o=r||[];return typeof i=="object"?i!==null&&typeof i.concat=="function"&&(o=i.concat()):typeof i=="string"&&(o=i.split(/[^a-zA-Z0-9_\/\-]+/)),o},e.prototype._get_boolean=function(t,r){var i=this.raw_options[t],o=i===void 0?!!r:!!i;return o},e.prototype._get_characters=function(t,r){var i=this.raw_options[t],o=r||"";return typeof i=="string"&&(o=i.replace(/\\r/,"\r").replace(/\\n/,`
`).replace(/\\t/," ")),o},e.prototype._get_number=function(t,r){var i=this.raw_options[t];r=parseInt(r,10),isNaN(r)&&(r=0);var o=parseInt(i,10);return isNaN(o)&&(o=r),o},e.prototype._get_selection=function(t,r,i){var o=this._get_selection_list(t,r,i);if(o.length!==1)throw new Error("Invalid Option Value: The option '"+t+`' can only be one of the following values:
`+r+`
You passed in: '`+this.raw_options[t]+"'");return o[0]},e.prototype._get_selection_list=function(t,r,i){if(!r||r.length===0)throw new Error("Selection list cannot be empty.");if(i=i||[r[0]],!this._is_valid_selection(i,r))throw new Error("Invalid Default Value!");var o=this._get_array(t,i);if(!this._is_valid_selection(o,r))throw new Error("Invalid Option Value: The option '"+t+`' can contain only the following values:
`+r+`
You passed in: '`+this.raw_options[t]+"'");return o},e.prototype._is_valid_selection=function(t,r){return t.length&&r.length&&!t.some(function(i){return r.indexOf(i)===-1})};function s(t,r){var i={};t=c(t);var o;for(o in t)o!==r&&(i[o]=t[o]);if(r&&t[r])for(o in t[r])i[o]=t[r][o];return i}function c(t){var r={},i;for(i in t){var o=i.replace(/-/g,"_");r[o]=t[i]}return r}G.exports.Options=e,G.exports.normalizeOpts=c,G.exports.mergeOpts=s},function(G,e,s){var c=s(8).InputScanner,t=s(9).Tokenizer,r=s(9).TOKEN,i=s(13).Directives,o=s(4),v=s(12).Pattern,b=s(14).TemplatablePattern;function S(N,C){return C.indexOf(N)!==-1}var p={START_EXPR:"TK_START_EXPR",END_EXPR:"TK_END_EXPR",START_BLOCK:"TK_START_BLOCK",END_BLOCK:"TK_END_BLOCK",WORD:"TK_WORD",RESERVED:"TK_RESERVED",SEMICOLON:"TK_SEMICOLON",STRING:"TK_STRING",EQUALS:"TK_EQUALS",OPERATOR:"TK_OPERATOR",COMMA:"TK_COMMA",BLOCK_COMMENT:"TK_BLOCK_COMMENT",COMMENT:"TK_COMMENT",DOT:"TK_DOT",UNKNOWN:"TK_UNKNOWN",START:r.START,RAW:r.RAW,EOF:r.EOF},m=new i(/\/\*/,/\*\//),f=/0[xX][0123456789abcdefABCDEF_]*n?|0[oO][01234567_]*n?|0[bB][01_]*n?|\d[\d_]*n|(?:\.\d[\d_]*|\d[\d_]*\.?[\d_]*)(?:[eE][+-]?[\d_]+)?/,u=/[0-9]/,k=/[^\d\.]/,I=">>> === !== &&= ??= ||= << && >= ** != == <= >> || ?? |> < / - + > : & % ? ^ | *".split(" "),F=">>>= ... >>= <<= === >>> !== **= &&= ??= ||= => ^= :: /= << <= == && -= >= >> != -- += ** || ?? ++ %= &= *= |= |> = ! ? > < : / ^ - + * & % ~ |";F=F.replace(/[-[\]{}()*+?.,\\^$|#]/g,"\\$&"),F="\\?\\.(?!\\d) "+F,F=F.replace(/ /g,"|");var K=new RegExp(F),Y="continue,try,throw,return,var,let,const,if,switch,case,default,for,while,break,function,import,export".split(","),W=Y.concat(["do","in","of","else","get","set","new","catch","finally","typeof","yield","async","await","from","as","class","extends"]),Pe=new RegExp("^(?:"+W.join("|")+")$"),w,_=function(N,C){t.call(this,N,C),this._patterns.whitespace=this._patterns.whitespace.matching(/\u00A0\u1680\u180e\u2000-\u200a\u202f\u205f\u3000\ufeff/.source,/\u2028\u2029/.source);var y=new v(this._input),n=new b(this._input).read_options(this._options);this.__patterns={template:n,identifier:n.starting_with(o.identifier).matching(o.identifierMatch),number:y.matching(f),punct:y.matching(K),comment:y.starting_with(/\/\//).until(/[\n\r\u2028\u2029]/),block_comment:y.starting_with(/\/\*/).until_after(/\*\//),html_comment_start:y.matching(/<!--/),html_comment_end:y.matching(/-->/),include:y.starting_with(/#include/).until_after(o.lineBreak),shebang:y.starting_with(/#!/).until_after(o.lineBreak),xml:y.matching(/[\s\S]*?<(\/?)([-a-zA-Z:0-9_.]+|{[^}]+?}|!\[CDATA\[[^\]]*?\]\]|)(\s*{[^}]+?}|\s+[-a-zA-Z:0-9_.]+|\s+[-a-zA-Z:0-9_.]+\s*=\s*('[^']*'|"[^"]*"|{([^{}]|{[^}]+?})+?}))*\s*(\/?)\s*>/),single_quote:n.until(/['\\\n\r\u2028\u2029]/),double_quote:n.until(/["\\\n\r\u2028\u2029]/),template_text:n.until(/[`\\$]/),template_expression:n.until(/[`}\\]/)}};_.prototype=new t,_.prototype._is_comment=function(N){return N.type===p.COMMENT||N.type===p.BLOCK_COMMENT||N.type===p.UNKNOWN},_.prototype._is_opening=function(N){return N.type===p.START_BLOCK||N.type===p.START_EXPR},_.prototype._is_closing=function(N,C){return(N.type===p.END_BLOCK||N.type===p.END_EXPR)&&C&&(N.text==="]"&&C.text==="["||N.text===")"&&C.text==="("||N.text==="}"&&C.text==="{")},_.prototype._reset=function(){w=!1},_.prototype._get_next_token=function(N,C){var y=null;this._readWhitespace();var n=this._input.peek();return n===null?this._create_token(p.EOF,""):(y=y||this._read_non_javascript(n),y=y||this._read_string(n),y=y||this._read_pair(n,this._input.peek(1)),y=y||this._read_word(N),y=y||this._read_singles(n),y=y||this._read_comment(n),y=y||this._read_regexp(n,N),y=y||this._read_xml(n,N),y=y||this._read_punctuation(),y=y||this._create_token(p.UNKNOWN,this._input.next()),y)},_.prototype._read_word=function(N){var C;if(C=this.__patterns.identifier.read(),C!=="")return C=C.replace(o.allLineBreaks,`
`),!(N.type===p.DOT||N.type===p.RESERVED&&(N.text==="set"||N.text==="get"))&&Pe.test(C)?(C==="in"||C==="of")&&(N.type===p.WORD||N.type===p.STRING)?this._create_token(p.OPERATOR,C):this._create_token(p.RESERVED,C):this._create_token(p.WORD,C);if(C=this.__patterns.number.read(),C!=="")return this._create_token(p.WORD,C)},_.prototype._read_singles=function(N){var C=null;return N==="("||N==="["?C=this._create_token(p.START_EXPR,N):N===")"||N==="]"?C=this._create_token(p.END_EXPR,N):N==="{"?C=this._create_token(p.START_BLOCK,N):N==="}"?C=this._create_token(p.END_BLOCK,N):N===";"?C=this._create_token(p.SEMICOLON,N):N==="."&&k.test(this._input.peek(1))?C=this._create_token(p.DOT,N):N===","&&(C=this._create_token(p.COMMA,N)),C&&this._input.next(),C},_.prototype._read_pair=function(N,C){var y=null;return N==="#"&&C==="{"&&(y=this._create_token(p.START_BLOCK,N+C)),y&&(this._input.next(),this._input.next()),y},_.prototype._read_punctuation=function(){var N=this.__patterns.punct.read();if(N!=="")return N==="="?this._create_token(p.EQUALS,N):N==="?."?this._create_token(p.DOT,N):this._create_token(p.OPERATOR,N)},_.prototype._read_non_javascript=function(N){var C="";if(N==="#"){if(this._is_first_token()&&(C=this.__patterns.shebang.read(),C))return this._create_token(p.UNKNOWN,C.trim()+`
`);if(C=this.__patterns.include.read(),C)return this._create_token(p.UNKNOWN,C.trim()+`
`);N=this._input.next();var y="#";if(this._input.hasNext()&&this._input.testChar(u)){do N=this._input.next(),y+=N;while(this._input.hasNext()&&N!=="#"&&N!=="=");return N==="#"||(this._input.peek()==="["&&this._input.peek(1)==="]"?(y+="[]",this._input.next(),this._input.next()):this._input.peek()==="{"&&this._input.peek(1)==="}"&&(y+="{}",this._input.next(),this._input.next())),this._create_token(p.WORD,y)}this._input.back()}else if(N==="<"&&this._is_first_token()){if(C=this.__patterns.html_comment_start.read(),C){for(;this._input.hasNext()&&!this._input.testChar(o.newline);)C+=this._input.next();return w=!0,this._create_token(p.COMMENT,C)}}else if(w&&N==="-"&&(C=this.__patterns.html_comment_end.read(),C))return w=!1,this._create_token(p.COMMENT,C);return null},_.prototype._read_comment=function(N){var C=null;if(N==="/"){var y="";if(this._input.peek(1)==="*"){y=this.__patterns.block_comment.read();var n=m.get_directives(y);n&&n.ignore==="start"&&(y+=m.readIgnored(this._input)),y=y.replace(o.allLineBreaks,`
`),C=this._create_token(p.BLOCK_COMMENT,y),C.directives=n}else this._input.peek(1)==="/"&&(y=this.__patterns.comment.read(),C=this._create_token(p.COMMENT,y))}return C},_.prototype._read_string=function(N){if(N==="`"||N==="'"||N==='"'){var C=this._input.next();return this.has_char_escapes=!1,N==="`"?C+=this._read_string_recursive("`",!0,"${"):C+=this._read_string_recursive(N),this.has_char_escapes&&this._options.unescape_strings&&(C=x(C)),this._input.peek()===N&&(C+=this._input.next()),C=C.replace(o.allLineBreaks,`
`),this._create_token(p.STRING,C)}return null},_.prototype._allow_regexp_or_xml=function(N){return N.type===p.RESERVED&&S(N.text,["return","case","throw","else","do","typeof","yield"])||N.type===p.END_EXPR&&N.text===")"&&N.opened.previous.type===p.RESERVED&&S(N.opened.previous.text,["if","while","for"])||S(N.type,[p.COMMENT,p.START_EXPR,p.START_BLOCK,p.START,p.END_BLOCK,p.OPERATOR,p.EQUALS,p.EOF,p.SEMICOLON,p.COMMA])},_.prototype._read_regexp=function(N,C){if(N==="/"&&this._allow_regexp_or_xml(C)){for(var y=this._input.next(),n=!1,a=!1;this._input.hasNext()&&(n||a||this._input.peek()!==N)&&!this._input.testChar(o.newline);)y+=this._input.peek(),n?n=!1:(n=this._input.peek()==="\\",this._input.peek()==="["?a=!0:this._input.peek()==="]"&&(a=!1)),this._input.next();return this._input.peek()===N&&(y+=this._input.next(),y+=this._input.read(o.identifier)),this._create_token(p.STRING,y)}return null},_.prototype._read_xml=function(N,C){if(this._options.e4x&&N==="<"&&this._allow_regexp_or_xml(C)){var y="",n=this.__patterns.xml.read_match();if(n){for(var a=n[2].replace(/^{\s+/,"{").replace(/\s+}$/,"}"),d=a.indexOf("{")===0,M=0;n;){var ae=!!n[1],de=n[2],ye=!!n[n.length-1]||de.slice(0,8)==="![CDATA[";if(!ye&&(de===a||d&&de.replace(/^{\s+/,"{").replace(/\s+}$/,"}"))&&(ae?--M:++M),y+=n[0],M<=0)break;n=this.__patterns.xml.read_match()}return n||(y+=this._input.match(/[\s\S]*/g)[0]),y=y.replace(o.allLineBreaks,`
`),this._create_token(p.STRING,y)}}return null};function x(N){for(var C="",y=0,n=new c(N),a=null;n.hasNext();)if(a=n.match(/([\s]|[^\\]|\\\\)+/g),a&&(C+=a[0]),n.peek()==="\\"){if(n.next(),n.peek()==="x")a=n.match(/x([0-9A-Fa-f]{2})/g);else if(n.peek()==="u")a=n.match(/u([0-9A-Fa-f]{4})/g),a||(a=n.match(/u\{([0-9A-Fa-f]+)\}/g));else{C+="\\",n.hasNext()&&(C+=n.next());continue}if(!a||(y=parseInt(a[1],16),y>126&&y<=255&&a[0].indexOf("x")===0))return N;y>=0&&y<32||y>1114111?C+="\\"+a[0]:y===34||y===39||y===92?C+="\\"+String.fromCharCode(y):C+=String.fromCharCode(y)}return C}_.prototype._read_string_recursive=function(N,C,y){var n,a;N==="'"?a=this.__patterns.single_quote:N==='"'?a=this.__patterns.double_quote:N==="`"?a=this.__patterns.template_text:N==="}"&&(a=this.__patterns.template_expression);for(var d=a.read(),M="";this._input.hasNext();){if(M=this._input.next(),M===N||!C&&o.newline.test(M)){this._input.back();break}else M==="\\"&&this._input.hasNext()?(n=this._input.peek(),n==="x"||n==="u"?this.has_char_escapes=!0:n==="\r"&&this._input.peek(1)===`
`&&this._input.next(),M+=this._input.next()):y&&(y==="${"&&M==="$"&&this._input.peek()==="{"&&(M+=this._input.next()),y===M&&(N==="`"?M+=this._read_string_recursive("}",C,"`"):M+=this._read_string_recursive("`",C,"${"),this._input.hasNext()&&(M+=this._input.next())));M+=a.read(),d+=M}return d},G.exports.Tokenizer=_,G.exports.TOKEN=p,G.exports.positionable_operators=I.slice(),G.exports.line_starters=Y.slice()},function(G){var e=RegExp.prototype.hasOwnProperty("sticky");function s(c){this.__input=c||"",this.__input_length=this.__input.length,this.__position=0}s.prototype.restart=function(){this.__position=0},s.prototype.back=function(){this.__position>0&&(this.__position-=1)},s.prototype.hasNext=function(){return this.__position<this.__input_length},s.prototype.next=function(){var c=null;return this.hasNext()&&(c=this.__input.charAt(this.__position),this.__position+=1),c},s.prototype.peek=function(c){var t=null;return c=c||0,c+=this.__position,c>=0&&c<this.__input_length&&(t=this.__input.charAt(c)),t},s.prototype.__match=function(c,t){c.lastIndex=t;var r=c.exec(this.__input);return r&&!(e&&c.sticky)&&r.index!==t&&(r=null),r},s.prototype.test=function(c,t){return t=t||0,t+=this.__position,t>=0&&t<this.__input_length?!!this.__match(c,t):!1},s.prototype.testChar=function(c,t){var r=this.peek(t);return c.lastIndex=0,r!==null&&c.test(r)},s.prototype.match=function(c){var t=this.__match(c,this.__position);return t?this.__position+=t[0].length:t=null,t},s.prototype.read=function(c,t,r){var i="",o;return c&&(o=this.match(c),o&&(i+=o[0])),t&&(o||!c)&&(i+=this.readUntil(t,r)),i},s.prototype.readUntil=function(c,t){var r="",i=this.__position;c.lastIndex=this.__position;var o=c.exec(this.__input);return o?(i=o.index,t&&(i+=o[0].length)):i=this.__input_length,r=this.__input.substring(this.__position,i),this.__position=i,r},s.prototype.readUntilAfter=function(c){return this.readUntil(c,!0)},s.prototype.get_regexp=function(c,t){var r=null,i="g";return t&&e&&(i="y"),typeof c=="string"&&c!==""?r=new RegExp(c,i):c&&(r=new RegExp(c.source,i)),r},s.prototype.get_literal_regexp=function(c){return RegExp(c.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&"))},s.prototype.peekUntilAfter=function(c){var t=this.__position,r=this.readUntilAfter(c);return this.__position=t,r},s.prototype.lookBack=function(c){var t=this.__position-1;return t>=c.length&&this.__input.substring(t-c.length,t).toLowerCase()===c},G.exports.InputScanner=s},function(G,e,s){var c=s(8).InputScanner,t=s(3).Token,r=s(10).TokenStream,i=s(11).WhitespacePattern,o={START:"TK_START",RAW:"TK_RAW",EOF:"TK_EOF"},v=function(b,S){this._input=new c(b),this._options=S||{},this.__tokens=null,this._patterns={},this._patterns.whitespace=new i(this._input)};v.prototype.tokenize=function(){this._input.restart(),this.__tokens=new r,this._reset();for(var b,S=new t(o.START,""),p=null,m=[],f=new r;S.type!==o.EOF;){for(b=this._get_next_token(S,p);this._is_comment(b);)f.add(b),b=this._get_next_token(S,p);f.isEmpty()||(b.comments_before=f,f=new r),b.parent=p,this._is_opening(b)?(m.push(p),p=b):p&&this._is_closing(b,p)&&(b.opened=p,p.closed=b,p=m.pop(),b.parent=p),b.previous=S,S.next=b,this.__tokens.add(b),S=b}return this.__tokens},v.prototype._is_first_token=function(){return this.__tokens.isEmpty()},v.prototype._reset=function(){},v.prototype._get_next_token=function(b,S){this._readWhitespace();var p=this._input.read(/.+/g);return p?this._create_token(o.RAW,p):this._create_token(o.EOF,"")},v.prototype._is_comment=function(b){return!1},v.prototype._is_opening=function(b){return!1},v.prototype._is_closing=function(b,S){return!1},v.prototype._create_token=function(b,S){var p=new t(b,S,this._patterns.whitespace.newline_count,this._patterns.whitespace.whitespace_before_token);return p},v.prototype._readWhitespace=function(){return this._patterns.whitespace.read()},G.exports.Tokenizer=v,G.exports.TOKEN=o},function(G){function e(s){this.__tokens=[],this.__tokens_length=this.__tokens.length,this.__position=0,this.__parent_token=s}e.prototype.restart=function(){this.__position=0},e.prototype.isEmpty=function(){return this.__tokens_length===0},e.prototype.hasNext=function(){return this.__position<this.__tokens_length},e.prototype.next=function(){var s=null;return this.hasNext()&&(s=this.__tokens[this.__position],this.__position+=1),s},e.prototype.peek=function(s){var c=null;return s=s||0,s+=this.__position,s>=0&&s<this.__tokens_length&&(c=this.__tokens[s]),c},e.prototype.add=function(s){this.__parent_token&&(s.parent=this.__parent_token),this.__tokens.push(s),this.__tokens_length+=1},G.exports.TokenStream=e},function(G,e,s){var c=s(12).Pattern;function t(r,i){c.call(this,r,i),i?this._line_regexp=this._input.get_regexp(i._line_regexp):this.__set_whitespace_patterns("",""),this.newline_count=0,this.whitespace_before_token=""}t.prototype=new c,t.prototype.__set_whitespace_patterns=function(r,i){r+="\\t ",i+="\\n\\r",this._match_pattern=this._input.get_regexp("["+r+i+"]+",!0),this._newline_regexp=this._input.get_regexp("\\r\\n|["+i+"]")},t.prototype.read=function(){this.newline_count=0,this.whitespace_before_token="";var r=this._input.read(this._match_pattern);if(r===" ")this.whitespace_before_token=" ";else if(r){var i=this.__split(this._newline_regexp,r);this.newline_count=i.length-1,this.whitespace_before_token=i[this.newline_count]}return r},t.prototype.matching=function(r,i){var o=this._create();return o.__set_whitespace_patterns(r,i),o._update(),o},t.prototype._create=function(){return new t(this._input,this)},t.prototype.__split=function(r,i){r.lastIndex=0;for(var o=0,v=[],b=r.exec(i);b;)v.push(i.substring(o,b.index)),o=b.index+b[0].length,b=r.exec(i);return o<i.length?v.push(i.substring(o,i.length)):v.push(""),v},G.exports.WhitespacePattern=t},function(G){function e(s,c){this._input=s,this._starting_pattern=null,this._match_pattern=null,this._until_pattern=null,this._until_after=!1,c&&(this._starting_pattern=this._input.get_regexp(c._starting_pattern,!0),this._match_pattern=this._input.get_regexp(c._match_pattern,!0),this._until_pattern=this._input.get_regexp(c._until_pattern),this._until_after=c._until_after)}e.prototype.read=function(){var s=this._input.read(this._starting_pattern);return(!this._starting_pattern||s)&&(s+=this._input.read(this._match_pattern,this._until_pattern,this._until_after)),s},e.prototype.read_match=function(){return this._input.match(this._match_pattern)},e.prototype.until_after=function(s){var c=this._create();return c._until_after=!0,c._until_pattern=this._input.get_regexp(s),c._update(),c},e.prototype.until=function(s){var c=this._create();return c._until_after=!1,c._until_pattern=this._input.get_regexp(s),c._update(),c},e.prototype.starting_with=function(s){var c=this._create();return c._starting_pattern=this._input.get_regexp(s,!0),c._update(),c},e.prototype.matching=function(s){var c=this._create();return c._match_pattern=this._input.get_regexp(s,!0),c._update(),c},e.prototype._create=function(){return new e(this._input,this)},e.prototype._update=function(){},G.exports.Pattern=e},function(G){function e(s,c){s=typeof s=="string"?s:s.source,c=typeof c=="string"?c:c.source,this.__directives_block_pattern=new RegExp(s+/ beautify( \w+[:]\w+)+ /.source+c,"g"),this.__directive_pattern=/ (\w+)[:](\w+)/g,this.__directives_end_ignore_pattern=new RegExp(s+/\sbeautify\signore:end\s/.source+c,"g")}e.prototype.get_directives=function(s){if(!s.match(this.__directives_block_pattern))return null;var c={};this.__directive_pattern.lastIndex=0;for(var t=this.__directive_pattern.exec(s);t;)c[t[1]]=t[2],t=this.__directive_pattern.exec(s);return c},e.prototype.readIgnored=function(s){return s.readUntilAfter(this.__directives_end_ignore_pattern)},G.exports.Directives=e},function(G,e,s){var c=s(12).Pattern,t={django:!1,erb:!1,handlebars:!1,php:!1,smarty:!1,angular:!1};function r(i,o){c.call(this,i,o),this.__template_pattern=null,this._disabled=Object.assign({},t),this._excluded=Object.assign({},t),o&&(this.__template_pattern=this._input.get_regexp(o.__template_pattern),this._excluded=Object.assign(this._excluded,o._excluded),this._disabled=Object.assign(this._disabled,o._disabled));var v=new c(i);this.__patterns={handlebars_comment:v.starting_with(/{{!--/).until_after(/--}}/),handlebars_unescaped:v.starting_with(/{{{/).until_after(/}}}/),handlebars:v.starting_with(/{{/).until_after(/}}/),php:v.starting_with(/<\?(?:[= ]|php)/).until_after(/\?>/),erb:v.starting_with(/<%[^%]/).until_after(/[^%]%>/),django:v.starting_with(/{%/).until_after(/%}/),django_value:v.starting_with(/{{/).until_after(/}}/),django_comment:v.starting_with(/{#/).until_after(/#}/),smarty:v.starting_with(/{(?=[^}{\s\n])/).until_after(/[^\s\n]}/),smarty_comment:v.starting_with(/{\*/).until_after(/\*}/),smarty_literal:v.starting_with(/{literal}/).until_after(/{\/literal}/)}}r.prototype=new c,r.prototype._create=function(){return new r(this._input,this)},r.prototype._update=function(){this.__set_templated_pattern()},r.prototype.disable=function(i){var o=this._create();return o._disabled[i]=!0,o._update(),o},r.prototype.read_options=function(i){var o=this._create();for(var v in t)o._disabled[v]=i.templating.indexOf(v)===-1;return o._update(),o},r.prototype.exclude=function(i){var o=this._create();return o._excluded[i]=!0,o._update(),o},r.prototype.read=function(){var i="";this._match_pattern?i=this._input.read(this._starting_pattern):i=this._input.read(this._starting_pattern,this.__template_pattern);for(var o=this._read_template();o;)this._match_pattern?o+=this._input.read(this._match_pattern):o+=this._input.readUntil(this.__template_pattern),i+=o,o=this._read_template();return this._until_after&&(i+=this._input.readUntilAfter(this._until_pattern)),i},r.prototype.__set_templated_pattern=function(){var i=[];this._disabled.php||i.push(this.__patterns.php._starting_pattern.source),this._disabled.handlebars||i.push(this.__patterns.handlebars._starting_pattern.source),this._disabled.angular||i.push(this.__patterns.handlebars._starting_pattern.source),this._disabled.erb||i.push(this.__patterns.erb._starting_pattern.source),this._disabled.django||(i.push(this.__patterns.django._starting_pattern.source),i.push(this.__patterns.django_value._starting_pattern.source),i.push(this.__patterns.django_comment._starting_pattern.source)),this._disabled.smarty||i.push(this.__patterns.smarty._starting_pattern.source),this._until_pattern&&i.push(this._until_pattern.source),this.__template_pattern=this._input.get_regexp("(?:"+i.join("|")+")")},r.prototype._read_template=function(){var i="",o=this._input.peek();if(o==="<"){var v=this._input.peek(1);!this._disabled.php&&!this._excluded.php&&v==="?"&&(i=i||this.__patterns.php.read()),!this._disabled.erb&&!this._excluded.erb&&v==="%"&&(i=i||this.__patterns.erb.read())}else o==="{"&&(!this._disabled.handlebars&&!this._excluded.handlebars&&(i=i||this.__patterns.handlebars_comment.read(),i=i||this.__patterns.handlebars_unescaped.read(),i=i||this.__patterns.handlebars.read()),this._disabled.django||(!this._excluded.django&&!this._excluded.handlebars&&(i=i||this.__patterns.django_value.read()),this._excluded.django||(i=i||this.__patterns.django_comment.read(),i=i||this.__patterns.django.read())),this._disabled.smarty||this._disabled.django&&this._disabled.handlebars&&(i=i||this.__patterns.smarty_comment.read(),i=i||this.__patterns.smarty_literal.read(),i=i||this.__patterns.smarty.read()));return i},G.exports.TemplatablePattern=r}],V={};function h(G){var e=V[G];if(e!==void 0)return e.exports;var s=V[G]={exports:{}};return X[G](s,s.exports,h),s.exports}var $=h(0);A=$})();var j=A;l=[],T=function(){return{js_beautify:j}}.apply(Fe,l),T!==void 0&&(It.exports=T)})()},75918:function(It,Fe,l){"use strict";l.d(Fe,{Wi:function(){return h},Z0:function(){return $},aU:function(){return V},eZ:function(){return e},wY:function(){return G}});var T=l(4348),A=l(69323),j=l(13268),X=function(s,c,t,r){function i(o){return o instanceof t?o:new t(function(v){v(o)})}return new(t||(t=Promise))(function(o,v){function b(m){try{p(r.next(m))}catch(f){v(f)}}function S(m){try{p(r.throw(m))}catch(f){v(f)}}function p(m){m.done?o(m.value):i(m.value).then(b,S)}p((r=r.apply(s,c||[])).next())})};class V extends A.JT{constructor(c,t="",r="",i=!0,o){super(),this._onDidChange=this._register(new T.Q5),this.onDidChange=this._onDidChange.event,this._enabled=!0,this._id=c,this._label=t,this._cssClass=r,this._enabled=i,this._actionCallback=o}get id(){return this._id}get label(){return this._label}set label(c){this._setLabel(c)}_setLabel(c){this._label!==c&&(this._label=c,this._onDidChange.fire({label:c}))}get tooltip(){return this._tooltip||""}set tooltip(c){this._setTooltip(c)}_setTooltip(c){this._tooltip!==c&&(this._tooltip=c,this._onDidChange.fire({tooltip:c}))}get class(){return this._cssClass}set class(c){this._setClass(c)}_setClass(c){this._cssClass!==c&&(this._cssClass=c,this._onDidChange.fire({class:c}))}get enabled(){return this._enabled}set enabled(c){this._setEnabled(c)}_setEnabled(c){this._enabled!==c&&(this._enabled=c,this._onDidChange.fire({enabled:c}))}get checked(){return this._checked}set checked(c){this._setChecked(c)}_setChecked(c){this._checked!==c&&(this._checked=c,this._onDidChange.fire({checked:c}))}run(c,t){return X(this,void 0,void 0,function*(){this._actionCallback&&(yield this._actionCallback(c))})}}class h extends A.JT{constructor(){super(...arguments),this._onBeforeRun=this._register(new T.Q5),this.onBeforeRun=this._onBeforeRun.event,this._onDidRun=this._register(new T.Q5),this.onDidRun=this._onDidRun.event}run(c,t){return X(this,void 0,void 0,function*(){if(!c.enabled)return;this._onBeforeRun.fire({action:c});let r;try{yield this.runAction(c,t)}catch(i){r=i}this._onDidRun.fire({action:c,error:r})})}runAction(c,t){return X(this,void 0,void 0,function*(){yield c.run(t)})}}class $ extends V{constructor(c){super($.ID,c,c?"separator text":"separator"),this.checked=!1,this.enabled=!1}}$.ID="vs.actions.separator";class G{constructor(c,t,r,i){this.tooltip="",this.enabled=!0,this.checked=!1,this.id=c,this.label=t,this.class=i,this._actions=r}get actions(){return this._actions}dispose(){}run(){return X(this,void 0,void 0,function*(){})}}class e extends V{constructor(){super(e.ID,j.N("submenu.empty","(empty)"),void 0,!1)}}e.ID="vs.actions.empty"},76068:function(It,Fe,l){"use strict";l.d(Fe,{ok:function(){return T}});function T(A,j){if(!A)throw new Error(j?`Assertion failed (${j})`:"Assertion Failed")}},52615:function(It,Fe,l){"use strict";l.d(Fe,{CM:function(){return V},JL:function(){return h},dT:function(){return G},fK:function(){return X},lA:function(){return $}});var T=l(4348);class A{constructor(){this._icons=new Map,this._onDidRegister=new T.Q5}add(s){const c=this._icons.get(s.id);c?s.description?c.description=s.description:console.error(`Duplicate registration of codicon ${s.id}`):(this._icons.set(s.id,s),this._onDidRegister.fire(s))}get(s){return this._icons.get(s)}get all(){return this._icons.values()}get onDidRegister(){return this._onDidRegister.event}}const j=new A,X=j;function V(e,s){return new $(e,s)}function h(e){return e?e.replace(/\$\((.*?)\)/g,(s,c)=>` ${c} `).trim():""}class ${constructor(s,c,t){this.id=s,this.definition=c,this.description=t,j.add(this)}get classNames(){return"codicon codicon-"+this.id}get classNamesArray(){return["codicon","codicon-"+this.id]}get cssSelector(){return".codicon.codicon-"+this.id}}var G;(function(e){e.iconNameSegment="[A-Za-z0-9]+",e.iconNameExpression="[A-Za-z0-9\\-]+",e.iconModifierExpression="~[A-Za-z]+";const s=new RegExp(`^(${e.iconNameExpression})(${e.iconModifierExpression})?$`);function c(i){if(i instanceof $)return["codicon","codicon-"+i.id];const o=s.exec(i.id);if(!o)return c($.error);let[,v,b]=o;const S=["codicon","codicon-"+v];return b&&S.push("codicon-modifier-"+b.substr(1)),S}e.asClassNameArray=c;function t(i){return c(i).join(" ")}e.asClassName=t;function r(i){return"."+c(i).join(".")}e.asCSSSelector=r})(G||(G={})),function(e){e.add=new e("add",{fontCharacter:"\\ea60"}),e.plus=new e("plus",e.add.definition),e.gistNew=new e("gist-new",e.add.definition),e.repoCreate=new e("repo-create",e.add.definition),e.lightbulb=new e("lightbulb",{fontCharacter:"\\ea61"}),e.lightBulb=new e("light-bulb",{fontCharacter:"\\ea61"}),e.repo=new e("repo",{fontCharacter:"\\ea62"}),e.repoDelete=new e("repo-delete",{fontCharacter:"\\ea62"}),e.gistFork=new e("gist-fork",{fontCharacter:"\\ea63"}),e.repoForked=new e("repo-forked",{fontCharacter:"\\ea63"}),e.gitPullRequest=new e("git-pull-request",{fontCharacter:"\\ea64"}),e.gitPullRequestAbandoned=new e("git-pull-request-abandoned",{fontCharacter:"\\ea64"}),e.recordKeys=new e("record-keys",{fontCharacter:"\\ea65"}),e.keyboard=new e("keyboard",{fontCharacter:"\\ea65"}),e.tag=new e("tag",{fontCharacter:"\\ea66"}),e.tagAdd=new e("tag-add",{fontCharacter:"\\ea66"}),e.tagRemove=new e("tag-remove",{fontCharacter:"\\ea66"}),e.person=new e("person",{fontCharacter:"\\ea67"}),e.personFollow=new e("person-follow",{fontCharacter:"\\ea67"}),e.personOutline=new e("person-outline",{fontCharacter:"\\ea67"}),e.personFilled=new e("person-filled",{fontCharacter:"\\ea67"}),e.gitBranch=new e("git-branch",{fontCharacter:"\\ea68"}),e.gitBranchCreate=new e("git-branch-create",{fontCharacter:"\\ea68"}),e.gitBranchDelete=new e("git-branch-delete",{fontCharacter:"\\ea68"}),e.sourceControl=new e("source-control",{fontCharacter:"\\ea68"}),e.mirror=new e("mirror",{fontCharacter:"\\ea69"}),e.mirrorPublic=new e("mirror-public",{fontCharacter:"\\ea69"}),e.star=new e("star",{fontCharacter:"\\ea6a"}),e.starAdd=new e("star-add",{fontCharacter:"\\ea6a"}),e.starDelete=new e("star-delete",{fontCharacter:"\\ea6a"}),e.starEmpty=new e("star-empty",{fontCharacter:"\\ea6a"}),e.comment=new e("comment",{fontCharacter:"\\ea6b"}),e.commentAdd=new e("comment-add",{fontCharacter:"\\ea6b"}),e.alert=new e("alert",{fontCharacter:"\\ea6c"}),e.warning=new e("warning",{fontCharacter:"\\ea6c"}),e.search=new e("search",{fontCharacter:"\\ea6d"}),e.searchSave=new e("search-save",{fontCharacter:"\\ea6d"}),e.logOut=new e("log-out",{fontCharacter:"\\ea6e"}),e.signOut=new e("sign-out",{fontCharacter:"\\ea6e"}),e.logIn=new e("log-in",{fontCharacter:"\\ea6f"}),e.signIn=new e("sign-in",{fontCharacter:"\\ea6f"}),e.eye=new e("eye",{fontCharacter:"\\ea70"}),e.eyeUnwatch=new e("eye-unwatch",{fontCharacter:"\\ea70"}),e.eyeWatch=new e("eye-watch",{fontCharacter:"\\ea70"}),e.circleFilled=new e("circle-filled",{fontCharacter:"\\ea71"}),e.primitiveDot=new e("primitive-dot",{fontCharacter:"\\ea71"}),e.closeDirty=new e("close-dirty",{fontCharacter:"\\ea71"}),e.debugBreakpoint=new e("debug-breakpoint",{fontCharacter:"\\ea71"}),e.debugBreakpointDisabled=new e("debug-breakpoint-disabled",{fontCharacter:"\\ea71"}),e.debugHint=new e("debug-hint",{fontCharacter:"\\ea71"}),e.primitiveSquare=new e("primitive-square",{fontCharacter:"\\ea72"}),e.edit=new e("edit",{fontCharacter:"\\ea73"}),e.pencil=new e("pencil",{fontCharacter:"\\ea73"}),e.info=new e("info",{fontCharacter:"\\ea74"}),e.issueOpened=new e("issue-opened",{fontCharacter:"\\ea74"}),e.gistPrivate=new e("gist-private",{fontCharacter:"\\ea75"}),e.gitForkPrivate=new e("git-fork-private",{fontCharacter:"\\ea75"}),e.lock=new e("lock",{fontCharacter:"\\ea75"}),e.mirrorPrivate=new e("mirror-private",{fontCharacter:"\\ea75"}),e.close=new e("close",{fontCharacter:"\\ea76"}),e.removeClose=new e("remove-close",{fontCharacter:"\\ea76"}),e.x=new e("x",{fontCharacter:"\\ea76"}),e.repoSync=new e("repo-sync",{fontCharacter:"\\ea77"}),e.sync=new e("sync",{fontCharacter:"\\ea77"}),e.clone=new e("clone",{fontCharacter:"\\ea78"}),e.desktopDownload=new e("desktop-download",{fontCharacter:"\\ea78"}),e.beaker=new e("beaker",{fontCharacter:"\\ea79"}),e.microscope=new e("microscope",{fontCharacter:"\\ea79"}),e.vm=new e("vm",{fontCharacter:"\\ea7a"}),e.deviceDesktop=new e("device-desktop",{fontCharacter:"\\ea7a"}),e.file=new e("file",{fontCharacter:"\\ea7b"}),e.fileText=new e("file-text",{fontCharacter:"\\ea7b"}),e.more=new e("more",{fontCharacter:"\\ea7c"}),e.ellipsis=new e("ellipsis",{fontCharacter:"\\ea7c"}),e.kebabHorizontal=new e("kebab-horizontal",{fontCharacter:"\\ea7c"}),e.mailReply=new e("mail-reply",{fontCharacter:"\\ea7d"}),e.reply=new e("reply",{fontCharacter:"\\ea7d"}),e.organization=new e("organization",{fontCharacter:"\\ea7e"}),e.organizationFilled=new e("organization-filled",{fontCharacter:"\\ea7e"}),e.organizationOutline=new e("organization-outline",{fontCharacter:"\\ea7e"}),e.newFile=new e("new-file",{fontCharacter:"\\ea7f"}),e.fileAdd=new e("file-add",{fontCharacter:"\\ea7f"}),e.newFolder=new e("new-folder",{fontCharacter:"\\ea80"}),e.fileDirectoryCreate=new e("file-directory-create",{fontCharacter:"\\ea80"}),e.trash=new e("trash",{fontCharacter:"\\ea81"}),e.trashcan=new e("trashcan",{fontCharacter:"\\ea81"}),e.history=new e("history",{fontCharacter:"\\ea82"}),e.clock=new e("clock",{fontCharacter:"\\ea82"}),e.folder=new e("folder",{fontCharacter:"\\ea83"}),e.fileDirectory=new e("file-directory",{fontCharacter:"\\ea83"}),e.symbolFolder=new e("symbol-folder",{fontCharacter:"\\ea83"}),e.logoGithub=new e("logo-github",{fontCharacter:"\\ea84"}),e.markGithub=new e("mark-github",{fontCharacter:"\\ea84"}),e.github=new e("github",{fontCharacter:"\\ea84"}),e.terminal=new e("terminal",{fontCharacter:"\\ea85"}),e.console=new e("console",{fontCharacter:"\\ea85"}),e.repl=new e("repl",{fontCharacter:"\\ea85"}),e.zap=new e("zap",{fontCharacter:"\\ea86"}),e.symbolEvent=new e("symbol-event",{fontCharacter:"\\ea86"}),e.error=new e("error",{fontCharacter:"\\ea87"}),e.stop=new e("stop",{fontCharacter:"\\ea87"}),e.variable=new e("variable",{fontCharacter:"\\ea88"}),e.symbolVariable=new e("symbol-variable",{fontCharacter:"\\ea88"}),e.array=new e("array",{fontCharacter:"\\ea8a"}),e.symbolArray=new e("symbol-array",{fontCharacter:"\\ea8a"}),e.symbolModule=new e("symbol-module",{fontCharacter:"\\ea8b"}),e.symbolPackage=new e("symbol-package",{fontCharacter:"\\ea8b"}),e.symbolNamespace=new e("symbol-namespace",{fontCharacter:"\\ea8b"}),e.symbolObject=new e("symbol-object",{fontCharacter:"\\ea8b"}),e.symbolMethod=new e("symbol-method",{fontCharacter:"\\ea8c"}),e.symbolFunction=new e("symbol-function",{fontCharacter:"\\ea8c"}),e.symbolConstructor=new e("symbol-constructor",{fontCharacter:"\\ea8c"}),e.symbolBoolean=new e("symbol-boolean",{fontCharacter:"\\ea8f"}),e.symbolNull=new e("symbol-null",{fontCharacter:"\\ea8f"}),e.symbolNumeric=new e("symbol-numeric",{fontCharacter:"\\ea90"}),e.symbolNumber=new e("symbol-number",{fontCharacter:"\\ea90"}),e.symbolStructure=new e("symbol-structure",{fontCharacter:"\\ea91"}),e.symbolStruct=new e("symbol-struct",{fontCharacter:"\\ea91"}),e.symbolParameter=new e("symbol-parameter",{fontCharacter:"\\ea92"}),e.symbolTypeParameter=new e("symbol-type-parameter",{fontCharacter:"\\ea92"}),e.symbolKey=new e("symbol-key",{fontCharacter:"\\ea93"}),e.symbolText=new e("symbol-text",{fontCharacter:"\\ea93"}),e.symbolReference=new e("symbol-reference",{fontCharacter:"\\ea94"}),e.goToFile=new e("go-to-file",{fontCharacter:"\\ea94"}),e.symbolEnum=new e("symbol-enum",{fontCharacter:"\\ea95"}),e.symbolValue=new e("symbol-value",{fontCharacter:"\\ea95"}),e.symbolRuler=new e("symbol-ruler",{fontCharacter:"\\ea96"}),e.symbolUnit=new e("symbol-unit",{fontCharacter:"\\ea96"}),e.activateBreakpoints=new e("activate-breakpoints",{fontCharacter:"\\ea97"}),e.archive=new e("archive",{fontCharacter:"\\ea98"}),e.arrowBoth=new e("arrow-both",{fontCharacter:"\\ea99"}),e.arrowDown=new e("arrow-down",{fontCharacter:"\\ea9a"}),e.arrowLeft=new e("arrow-left",{fontCharacter:"\\ea9b"}),e.arrowRight=new e("arrow-right",{fontCharacter:"\\ea9c"}),e.arrowSmallDown=new e("arrow-small-down",{fontCharacter:"\\ea9d"}),e.arrowSmallLeft=new e("arrow-small-left",{fontCharacter:"\\ea9e"}),e.arrowSmallRight=new e("arrow-small-right",{fontCharacter:"\\ea9f"}),e.arrowSmallUp=new e("arrow-small-up",{fontCharacter:"\\eaa0"}),e.arrowUp=new e("arrow-up",{fontCharacter:"\\eaa1"}),e.bell=new e("bell",{fontCharacter:"\\eaa2"}),e.bold=new e("bold",{fontCharacter:"\\eaa3"}),e.book=new e("book",{fontCharacter:"\\eaa4"}),e.bookmark=new e("bookmark",{fontCharacter:"\\eaa5"}),e.debugBreakpointConditionalUnverified=new e("debug-breakpoint-conditional-unverified",{fontCharacter:"\\eaa6"}),e.debugBreakpointConditional=new e("debug-breakpoint-conditional",{fontCharacter:"\\eaa7"}),e.debugBreakpointConditionalDisabled=new e("debug-breakpoint-conditional-disabled",{fontCharacter:"\\eaa7"}),e.debugBreakpointDataUnverified=new e("debug-breakpoint-data-unverified",{fontCharacter:"\\eaa8"}),e.debugBreakpointData=new e("debug-breakpoint-data",{fontCharacter:"\\eaa9"}),e.debugBreakpointDataDisabled=new e("debug-breakpoint-data-disabled",{fontCharacter:"\\eaa9"}),e.debugBreakpointLogUnverified=new e("debug-breakpoint-log-unverified",{fontCharacter:"\\eaaa"}),e.debugBreakpointLog=new e("debug-breakpoint-log",{fontCharacter:"\\eaab"}),e.debugBreakpointLogDisabled=new e("debug-breakpoint-log-disabled",{fontCharacter:"\\eaab"}),e.briefcase=new e("briefcase",{fontCharacter:"\\eaac"}),e.broadcast=new e("broadcast",{fontCharacter:"\\eaad"}),e.browser=new e("browser",{fontCharacter:"\\eaae"}),e.bug=new e("bug",{fontCharacter:"\\eaaf"}),e.calendar=new e("calendar",{fontCharacter:"\\eab0"}),e.caseSensitive=new e("case-sensitive",{fontCharacter:"\\eab1"}),e.check=new e("check",{fontCharacter:"\\eab2"}),e.checklist=new e("checklist",{fontCharacter:"\\eab3"}),e.chevronDown=new e("chevron-down",{fontCharacter:"\\eab4"}),e.dropDownButton=new e("drop-down-button",e.chevronDown.definition),e.chevronLeft=new e("chevron-left",{fontCharacter:"\\eab5"}),e.chevronRight=new e("chevron-right",{fontCharacter:"\\eab6"}),e.chevronUp=new e("chevron-up",{fontCharacter:"\\eab7"}),e.chromeClose=new e("chrome-close",{fontCharacter:"\\eab8"}),e.chromeMaximize=new e("chrome-maximize",{fontCharacter:"\\eab9"}),e.chromeMinimize=new e("chrome-minimize",{fontCharacter:"\\eaba"}),e.chromeRestore=new e("chrome-restore",{fontCharacter:"\\eabb"}),e.circleOutline=new e("circle-outline",{fontCharacter:"\\eabc"}),e.debugBreakpointUnverified=new e("debug-breakpoint-unverified",{fontCharacter:"\\eabc"}),e.circleSlash=new e("circle-slash",{fontCharacter:"\\eabd"}),e.circuitBoard=new e("circuit-board",{fontCharacter:"\\eabe"}),e.clearAll=new e("clear-all",{fontCharacter:"\\eabf"}),e.clippy=new e("clippy",{fontCharacter:"\\eac0"}),e.closeAll=new e("close-all",{fontCharacter:"\\eac1"}),e.cloudDownload=new e("cloud-download",{fontCharacter:"\\eac2"}),e.cloudUpload=new e("cloud-upload",{fontCharacter:"\\eac3"}),e.code=new e("code",{fontCharacter:"\\eac4"}),e.collapseAll=new e("collapse-all",{fontCharacter:"\\eac5"}),e.colorMode=new e("color-mode",{fontCharacter:"\\eac6"}),e.commentDiscussion=new e("comment-discussion",{fontCharacter:"\\eac7"}),e.compareChanges=new e("compare-changes",{fontCharacter:"\\eafd"}),e.creditCard=new e("credit-card",{fontCharacter:"\\eac9"}),e.dash=new e("dash",{fontCharacter:"\\eacc"}),e.dashboard=new e("dashboard",{fontCharacter:"\\eacd"}),e.database=new e("database",{fontCharacter:"\\eace"}),e.debugContinue=new e("debug-continue",{fontCharacter:"\\eacf"}),e.debugDisconnect=new e("debug-disconnect",{fontCharacter:"\\ead0"}),e.debugPause=new e("debug-pause",{fontCharacter:"\\ead1"}),e.debugRestart=new e("debug-restart",{fontCharacter:"\\ead2"}),e.debugStart=new e("debug-start",{fontCharacter:"\\ead3"}),e.debugStepInto=new e("debug-step-into",{fontCharacter:"\\ead4"}),e.debugStepOut=new e("debug-step-out",{fontCharacter:"\\ead5"}),e.debugStepOver=new e("debug-step-over",{fontCharacter:"\\ead6"}),e.debugStop=new e("debug-stop",{fontCharacter:"\\ead7"}),e.debug=new e("debug",{fontCharacter:"\\ead8"}),e.deviceCameraVideo=new e("device-camera-video",{fontCharacter:"\\ead9"}),e.deviceCamera=new e("device-camera",{fontCharacter:"\\eada"}),e.deviceMobile=new e("device-mobile",{fontCharacter:"\\eadb"}),e.diffAdded=new e("diff-added",{fontCharacter:"\\eadc"}),e.diffIgnored=new e("diff-ignored",{fontCharacter:"\\eadd"}),e.diffModified=new e("diff-modified",{fontCharacter:"\\eade"}),e.diffRemoved=new e("diff-removed",{fontCharacter:"\\eadf"}),e.diffRenamed=new e("diff-renamed",{fontCharacter:"\\eae0"}),e.diff=new e("diff",{fontCharacter:"\\eae1"}),e.discard=new e("discard",{fontCharacter:"\\eae2"}),e.editorLayout=new e("editor-layout",{fontCharacter:"\\eae3"}),e.emptyWindow=new e("empty-window",{fontCharacter:"\\eae4"}),e.exclude=new e("exclude",{fontCharacter:"\\eae5"}),e.extensions=new e("extensions",{fontCharacter:"\\eae6"}),e.eyeClosed=new e("eye-closed",{fontCharacter:"\\eae7"}),e.fileBinary=new e("file-binary",{fontCharacter:"\\eae8"}),e.fileCode=new e("file-code",{fontCharacter:"\\eae9"}),e.fileMedia=new e("file-media",{fontCharacter:"\\eaea"}),e.filePdf=new e("file-pdf",{fontCharacter:"\\eaeb"}),e.fileSubmodule=new e("file-submodule",{fontCharacter:"\\eaec"}),e.fileSymlinkDirectory=new e("file-symlink-directory",{fontCharacter:"\\eaed"}),e.fileSymlinkFile=new e("file-symlink-file",{fontCharacter:"\\eaee"}),e.fileZip=new e("file-zip",{fontCharacter:"\\eaef"}),e.files=new e("files",{fontCharacter:"\\eaf0"}),e.filter=new e("filter",{fontCharacter:"\\eaf1"}),e.flame=new e("flame",{fontCharacter:"\\eaf2"}),e.foldDown=new e("fold-down",{fontCharacter:"\\eaf3"}),e.foldUp=new e("fold-up",{fontCharacter:"\\eaf4"}),e.fold=new e("fold",{fontCharacter:"\\eaf5"}),e.folderActive=new e("folder-active",{fontCharacter:"\\eaf6"}),e.folderOpened=new e("folder-opened",{fontCharacter:"\\eaf7"}),e.gear=new e("gear",{fontCharacter:"\\eaf8"}),e.gift=new e("gift",{fontCharacter:"\\eaf9"}),e.gistSecret=new e("gist-secret",{fontCharacter:"\\eafa"}),e.gist=new e("gist",{fontCharacter:"\\eafb"}),e.gitCommit=new e("git-commit",{fontCharacter:"\\eafc"}),e.gitCompare=new e("git-compare",{fontCharacter:"\\eafd"}),e.gitMerge=new e("git-merge",{fontCharacter:"\\eafe"}),e.githubAction=new e("github-action",{fontCharacter:"\\eaff"}),e.githubAlt=new e("github-alt",{fontCharacter:"\\eb00"}),e.globe=new e("globe",{fontCharacter:"\\eb01"}),e.grabber=new e("grabber",{fontCharacter:"\\eb02"}),e.graph=new e("graph",{fontCharacter:"\\eb03"}),e.gripper=new e("gripper",{fontCharacter:"\\eb04"}),e.heart=new e("heart",{fontCharacter:"\\eb05"}),e.home=new e("home",{fontCharacter:"\\eb06"}),e.horizontalRule=new e("horizontal-rule",{fontCharacter:"\\eb07"}),e.hubot=new e("hubot",{fontCharacter:"\\eb08"}),e.inbox=new e("inbox",{fontCharacter:"\\eb09"}),e.issueClosed=new e("issue-closed",{fontCharacter:"\\eba4"}),e.issueReopened=new e("issue-reopened",{fontCharacter:"\\eb0b"}),e.issues=new e("issues",{fontCharacter:"\\eb0c"}),e.italic=new e("italic",{fontCharacter:"\\eb0d"}),e.jersey=new e("jersey",{fontCharacter:"\\eb0e"}),e.json=new e("json",{fontCharacter:"\\eb0f"}),e.kebabVertical=new e("kebab-vertical",{fontCharacter:"\\eb10"}),e.key=new e("key",{fontCharacter:"\\eb11"}),e.law=new e("law",{fontCharacter:"\\eb12"}),e.lightbulbAutofix=new e("lightbulb-autofix",{fontCharacter:"\\eb13"}),e.linkExternal=new e("link-external",{fontCharacter:"\\eb14"}),e.link=new e("link",{fontCharacter:"\\eb15"}),e.listOrdered=new e("list-ordered",{fontCharacter:"\\eb16"}),e.listUnordered=new e("list-unordered",{fontCharacter:"\\eb17"}),e.liveShare=new e("live-share",{fontCharacter:"\\eb18"}),e.loading=new e("loading",{fontCharacter:"\\eb19"}),e.location=new e("location",{fontCharacter:"\\eb1a"}),e.mailRead=new e("mail-read",{fontCharacter:"\\eb1b"}),e.mail=new e("mail",{fontCharacter:"\\eb1c"}),e.markdown=new e("markdown",{fontCharacter:"\\eb1d"}),e.megaphone=new e("megaphone",{fontCharacter:"\\eb1e"}),e.mention=new e("mention",{fontCharacter:"\\eb1f"}),e.milestone=new e("milestone",{fontCharacter:"\\eb20"}),e.mortarBoard=new e("mortar-board",{fontCharacter:"\\eb21"}),e.move=new e("move",{fontCharacter:"\\eb22"}),e.multipleWindows=new e("multiple-windows",{fontCharacter:"\\eb23"}),e.mute=new e("mute",{fontCharacter:"\\eb24"}),e.noNewline=new e("no-newline",{fontCharacter:"\\eb25"}),e.note=new e("note",{fontCharacter:"\\eb26"}),e.octoface=new e("octoface",{fontCharacter:"\\eb27"}),e.openPreview=new e("open-preview",{fontCharacter:"\\eb28"}),e.package_=new e("package",{fontCharacter:"\\eb29"}),e.paintcan=new e("paintcan",{fontCharacter:"\\eb2a"}),e.pin=new e("pin",{fontCharacter:"\\eb2b"}),e.play=new e("play",{fontCharacter:"\\eb2c"}),e.run=new e("run",{fontCharacter:"\\eb2c"}),e.plug=new e("plug",{fontCharacter:"\\eb2d"}),e.preserveCase=new e("preserve-case",{fontCharacter:"\\eb2e"}),e.preview=new e("preview",{fontCharacter:"\\eb2f"}),e.project=new e("project",{fontCharacter:"\\eb30"}),e.pulse=new e("pulse",{fontCharacter:"\\eb31"}),e.question=new e("question",{fontCharacter:"\\eb32"}),e.quote=new e("quote",{fontCharacter:"\\eb33"}),e.radioTower=new e("radio-tower",{fontCharacter:"\\eb34"}),e.reactions=new e("reactions",{fontCharacter:"\\eb35"}),e.references=new e("references",{fontCharacter:"\\eb36"}),e.refresh=new e("refresh",{fontCharacter:"\\eb37"}),e.regex=new e("regex",{fontCharacter:"\\eb38"}),e.remoteExplorer=new e("remote-explorer",{fontCharacter:"\\eb39"}),e.remote=new e("remote",{fontCharacter:"\\eb3a"}),e.remove=new e("remove",{fontCharacter:"\\eb3b"}),e.replaceAll=new e("replace-all",{fontCharacter:"\\eb3c"}),e.replace=new e("replace",{fontCharacter:"\\eb3d"}),e.repoClone=new e("repo-clone",{fontCharacter:"\\eb3e"}),e.repoForcePush=new e("repo-force-push",{fontCharacter:"\\eb3f"}),e.repoPull=new e("repo-pull",{fontCharacter:"\\eb40"}),e.repoPush=new e("repo-push",{fontCharacter:"\\eb41"}),e.report=new e("report",{fontCharacter:"\\eb42"}),e.requestChanges=new e("request-changes",{fontCharacter:"\\eb43"}),e.rocket=new e("rocket",{fontCharacter:"\\eb44"}),e.rootFolderOpened=new e("root-folder-opened",{fontCharacter:"\\eb45"}),e.rootFolder=new e("root-folder",{fontCharacter:"\\eb46"}),e.rss=new e("rss",{fontCharacter:"\\eb47"}),e.ruby=new e("ruby",{fontCharacter:"\\eb48"}),e.saveAll=new e("save-all",{fontCharacter:"\\eb49"}),e.saveAs=new e("save-as",{fontCharacter:"\\eb4a"}),e.save=new e("save",{fontCharacter:"\\eb4b"}),e.screenFull=new e("screen-full",{fontCharacter:"\\eb4c"}),e.screenNormal=new e("screen-normal",{fontCharacter:"\\eb4d"}),e.searchStop=new e("search-stop",{fontCharacter:"\\eb4e"}),e.server=new e("server",{fontCharacter:"\\eb50"}),e.settingsGear=new e("settings-gear",{fontCharacter:"\\eb51"}),e.settings=new e("settings",{fontCharacter:"\\eb52"}),e.shield=new e("shield",{fontCharacter:"\\eb53"}),e.smiley=new e("smiley",{fontCharacter:"\\eb54"}),e.sortPrecedence=new e("sort-precedence",{fontCharacter:"\\eb55"}),e.splitHorizontal=new e("split-horizontal",{fontCharacter:"\\eb56"}),e.splitVertical=new e("split-vertical",{fontCharacter:"\\eb57"}),e.squirrel=new e("squirrel",{fontCharacter:"\\eb58"}),e.starFull=new e("star-full",{fontCharacter:"\\eb59"}),e.starHalf=new e("star-half",{fontCharacter:"\\eb5a"}),e.symbolClass=new e("symbol-class",{fontCharacter:"\\eb5b"}),e.symbolColor=new e("symbol-color",{fontCharacter:"\\eb5c"}),e.symbolConstant=new e("symbol-constant",{fontCharacter:"\\eb5d"}),e.symbolEnumMember=new e("symbol-enum-member",{fontCharacter:"\\eb5e"}),e.symbolField=new e("symbol-field",{fontCharacter:"\\eb5f"}),e.symbolFile=new e("symbol-file",{fontCharacter:"\\eb60"}),e.symbolInterface=new e("symbol-interface",{fontCharacter:"\\eb61"}),e.symbolKeyword=new e("symbol-keyword",{fontCharacter:"\\eb62"}),e.symbolMisc=new e("symbol-misc",{fontCharacter:"\\eb63"}),e.symbolOperator=new e("symbol-operator",{fontCharacter:"\\eb64"}),e.symbolProperty=new e("symbol-property",{fontCharacter:"\\eb65"}),e.wrench=new e("wrench",{fontCharacter:"\\eb65"}),e.wrenchSubaction=new e("wrench-subaction",{fontCharacter:"\\eb65"}),e.symbolSnippet=new e("symbol-snippet",{fontCharacter:"\\eb66"}),e.tasklist=new e("tasklist",{fontCharacter:"\\eb67"}),e.telescope=new e("telescope",{fontCharacter:"\\eb68"}),e.textSize=new e("text-size",{fontCharacter:"\\eb69"}),e.threeBars=new e("three-bars",{fontCharacter:"\\eb6a"}),e.thumbsdown=new e("thumbsdown",{fontCharacter:"\\eb6b"}),e.thumbsup=new e("thumbsup",{fontCharacter:"\\eb6c"}),e.tools=new e("tools",{fontCharacter:"\\eb6d"}),e.triangleDown=new e("triangle-down",{fontCharacter:"\\eb6e"}),e.triangleLeft=new e("triangle-left",{fontCharacter:"\\eb6f"}),e.triangleRight=new e("triangle-right",{fontCharacter:"\\eb70"}),e.triangleUp=new e("triangle-up",{fontCharacter:"\\eb71"}),e.twitter=new e("twitter",{fontCharacter:"\\eb72"}),e.unfold=new e("unfold",{fontCharacter:"\\eb73"}),e.unlock=new e("unlock",{fontCharacter:"\\eb74"}),e.unmute=new e("unmute",{fontCharacter:"\\eb75"}),e.unverified=new e("unverified",{fontCharacter:"\\eb76"}),e.verified=new e("verified",{fontCharacter:"\\eb77"}),e.versions=new e("versions",{fontCharacter:"\\eb78"}),e.vmActive=new e("vm-active",{fontCharacter:"\\eb79"}),e.vmOutline=new e("vm-outline",{fontCharacter:"\\eb7a"}),e.vmRunning=new e("vm-running",{fontCharacter:"\\eb7b"}),e.watch=new e("watch",{fontCharacter:"\\eb7c"}),e.whitespace=new e("whitespace",{fontCharacter:"\\eb7d"}),e.wholeWord=new e("whole-word",{fontCharacter:"\\eb7e"}),e.window=new e("window",{fontCharacter:"\\eb7f"}),e.wordWrap=new e("word-wrap",{fontCharacter:"\\eb80"}),e.zoomIn=new e("zoom-in",{fontCharacter:"\\eb81"}),e.zoomOut=new e("zoom-out",{fontCharacter:"\\eb82"}),e.listFilter=new e("list-filter",{fontCharacter:"\\eb83"}),e.listFlat=new e("list-flat",{fontCharacter:"\\eb84"}),e.listSelection=new e("list-selection",{fontCharacter:"\\eb85"}),e.selection=new e("selection",{fontCharacter:"\\eb85"}),e.listTree=new e("list-tree",{fontCharacter:"\\eb86"}),e.debugBreakpointFunctionUnverified=new e("debug-breakpoint-function-unverified",{fontCharacter:"\\eb87"}),e.debugBreakpointFunction=new e("debug-breakpoint-function",{fontCharacter:"\\eb88"}),e.debugBreakpointFunctionDisabled=new e("debug-breakpoint-function-disabled",{fontCharacter:"\\eb88"}),e.debugStackframeActive=new e("debug-stackframe-active",{fontCharacter:"\\eb89"}),e.debugStackframeDot=new e("debug-stackframe-dot",{fontCharacter:"\\eb8a"}),e.debugStackframe=new e("debug-stackframe",{fontCharacter:"\\eb8b"}),e.debugStackframeFocused=new e("debug-stackframe-focused",{fontCharacter:"\\eb8b"}),e.debugBreakpointUnsupported=new e("debug-breakpoint-unsupported",{fontCharacter:"\\eb8c"}),e.symbolString=new e("symbol-string",{fontCharacter:"\\eb8d"}),e.debugReverseContinue=new e("debug-reverse-continue",{fontCharacter:"\\eb8e"}),e.debugStepBack=new e("debug-step-back",{fontCharacter:"\\eb8f"}),e.debugRestartFrame=new e("debug-restart-frame",{fontCharacter:"\\eb90"}),e.callIncoming=new e("call-incoming",{fontCharacter:"\\eb92"}),e.callOutgoing=new e("call-outgoing",{fontCharacter:"\\eb93"}),e.menu=new e("menu",{fontCharacter:"\\eb94"}),e.expandAll=new e("expand-all",{fontCharacter:"\\eb95"}),e.feedback=new e("feedback",{fontCharacter:"\\eb96"}),e.groupByRefType=new e("group-by-ref-type",{fontCharacter:"\\eb97"}),e.ungroupByRefType=new e("ungroup-by-ref-type",{fontCharacter:"\\eb98"}),e.account=new e("account",{fontCharacter:"\\eb99"}),e.bellDot=new e("bell-dot",{fontCharacter:"\\eb9a"}),e.debugConsole=new e("debug-console",{fontCharacter:"\\eb9b"}),e.library=new e("library",{fontCharacter:"\\eb9c"}),e.output=new e("output",{fontCharacter:"\\eb9d"}),e.runAll=new e("run-all",{fontCharacter:"\\eb9e"}),e.syncIgnored=new e("sync-ignored",{fontCharacter:"\\eb9f"}),e.pinned=new e("pinned",{fontCharacter:"\\eba0"}),e.githubInverted=new e("github-inverted",{fontCharacter:"\\eba1"}),e.debugAlt=new e("debug-alt",{fontCharacter:"\\eb91"}),e.serverProcess=new e("server-process",{fontCharacter:"\\eba2"}),e.serverEnvironment=new e("server-environment",{fontCharacter:"\\eba3"}),e.pass=new e("pass",{fontCharacter:"\\eba4"}),e.stopCircle=new e("stop-circle",{fontCharacter:"\\eba5"}),e.playCircle=new e("play-circle",{fontCharacter:"\\eba6"}),e.record=new e("record",{fontCharacter:"\\eba7"}),e.debugAltSmall=new e("debug-alt-small",{fontCharacter:"\\eba8"}),e.vmConnect=new e("vm-connect",{fontCharacter:"\\eba9"}),e.cloud=new e("cloud",{fontCharacter:"\\ebaa"}),e.merge=new e("merge",{fontCharacter:"\\ebab"}),e.exportIcon=new e("export",{fontCharacter:"\\ebac"}),e.graphLeft=new e("graph-left",{fontCharacter:"\\ebad"}),e.magnet=new e("magnet",{fontCharacter:"\\ebae"}),e.notebook=new e("notebook",{fontCharacter:"\\ebaf"}),e.redo=new e("redo",{fontCharacter:"\\ebb0"}),e.checkAll=new e("check-all",{fontCharacter:"\\ebb1"}),e.pinnedDirty=new e("pinned-dirty",{fontCharacter:"\\ebb2"}),e.passFilled=new e("pass-filled",{fontCharacter:"\\ebb3"}),e.circleLargeFilled=new e("circle-large-filled",{fontCharacter:"\\ebb4"}),e.circleLargeOutline=new e("circle-large-outline",{fontCharacter:"\\ebb5"}),e.combine=new e("combine",{fontCharacter:"\\ebb6"}),e.gather=new e("gather",{fontCharacter:"\\ebb6"}),e.table=new e("table",{fontCharacter:"\\ebb7"}),e.variableGroup=new e("variable-group",{fontCharacter:"\\ebb8"}),e.typeHierarchy=new e("type-hierarchy",{fontCharacter:"\\ebb9"}),e.typeHierarchySub=new e("type-hierarchy-sub",{fontCharacter:"\\ebba"}),e.typeHierarchySuper=new e("type-hierarchy-super",{fontCharacter:"\\ebbb"}),e.gitPullRequestCreate=new e("git-pull-request-create",{fontCharacter:"\\ebbc"}),e.runAbove=new e("run-above",{fontCharacter:"\\ebbd"}),e.runBelow=new e("run-below",{fontCharacter:"\\ebbe"}),e.notebookTemplate=new e("notebook-template",{fontCharacter:"\\ebbf"}),e.debugRerun=new e("debug-rerun",{fontCharacter:"\\ebc0"}),e.workspaceTrusted=new e("workspace-trusted",{fontCharacter:"\\ebc1"}),e.workspaceUntrusted=new e("workspace-untrusted",{fontCharacter:"\\ebc2"}),e.workspaceUnspecified=new e("workspace-unspecified",{fontCharacter:"\\ebc3"}),e.terminalCmd=new e("terminal-cmd",{fontCharacter:"\\ebc4"}),e.terminalDebian=new e("terminal-debian",{fontCharacter:"\\ebc5"}),e.terminalLinux=new e("terminal-linux",{fontCharacter:"\\ebc6"}),e.terminalPowershell=new e("terminal-powershell",{fontCharacter:"\\ebc7"}),e.terminalTmux=new e("terminal-tmux",{fontCharacter:"\\ebc8"}),e.terminalUbuntu=new e("terminal-ubuntu",{fontCharacter:"\\ebc9"}),e.terminalBash=new e("terminal-bash",{fontCharacter:"\\ebca"}),e.arrowSwap=new e("arrow-swap",{fontCharacter:"\\ebcb"}),e.copy=new e("copy",{fontCharacter:"\\ebcc"}),e.personAdd=new e("person-add",{fontCharacter:"\\ebcd"}),e.filterFilled=new e("filter-filled",{fontCharacter:"\\ebce"}),e.wand=new e("wand",{fontCharacter:"\\ebcf"}),e.debugLineByLine=new e("debug-line-by-line",{fontCharacter:"\\ebd0"}),e.inspect=new e("inspect",{fontCharacter:"\\ebd1"}),e.layers=new e("layers",{fontCharacter:"\\ebd2"}),e.layersDot=new e("layers-dot",{fontCharacter:"\\ebd3"}),e.layersActive=new e("layers-active",{fontCharacter:"\\ebd4"}),e.compass=new e("compass",{fontCharacter:"\\ebd5"}),e.compassDot=new e("compass-dot",{fontCharacter:"\\ebd6"}),e.compassActive=new e("compass-active",{fontCharacter:"\\ebd7"}),e.azure=new e("azure",{fontCharacter:"\\ebd8"}),e.issueDraft=new e("issue-draft",{fontCharacter:"\\ebd9"}),e.gitPullRequestClosed=new e("git-pull-request-closed",{fontCharacter:"\\ebda"}),e.gitPullRequestDraft=new e("git-pull-request-draft",{fontCharacter:"\\ebdb"}),e.debugAll=new e("debug-all",{fontCharacter:"\\ebdc"}),e.debugCoverage=new e("debug-coverage",{fontCharacter:"\\ebdd"}),e.runErrors=new e("run-errors",{fontCharacter:"\\ebde"}),e.folderLibrary=new e("folder-library",{fontCharacter:"\\ebdf"}),e.debugContinueSmall=new e("debug-continue-small",{fontCharacter:"\\ebe0"}),e.beakerStop=new e("beaker-stop",{fontCharacter:"\\ebe1"}),e.graphLine=new e("graph-line",{fontCharacter:"\\ebe2"}),e.graphScatter=new e("graph-scatter",{fontCharacter:"\\ebe3"}),e.pieChart=new e("pie-chart",{fontCharacter:"\\ebe4"}),e.bracket=new e("bracket",e.json.definition),e.bracketDot=new e("bracket-dot",{fontCharacter:"\\ebe5"}),e.bracketError=new e("bracket-error",{fontCharacter:"\\ebe6"}),e.lockSmall=new e("lock-small",{fontCharacter:"\\ebe7"}),e.azureDevops=new e("azure-devops",{fontCharacter:"\\ebe8"}),e.verifiedFilled=new e("verified-filled",{fontCharacter:"\\ebe9"})}($||($={}))},79881:function(It,Fe,l){"use strict";l.d(Fe,{B8:function(){return c},Cp:function(){return X},F0:function(){return G},L6:function(){return s},VV:function(){return $},b1:function(){return e},dL:function(){return j},ri:function(){return V}});class T{constructor(){this.listeners=[],this.unexpectedErrorHandler=function(r){setTimeout(()=>{throw r.stack?new Error(r.message+`
`+r.stack):r},0)}}emit(r){this.listeners.forEach(i=>{i(r)})}onUnexpectedError(r){this.unexpectedErrorHandler(r),this.emit(r)}onUnexpectedExternalError(r){this.unexpectedErrorHandler(r)}}const A=new T;function j(t){$(t)||A.onUnexpectedError(t)}function X(t){$(t)||A.onUnexpectedExternalError(t)}function V(t){if(t instanceof Error){let{name:r,message:i}=t;const o=t.stacktrace||t.stack;return{$isError:!0,name:r,message:i,stack:o}}return t}const h="Canceled";function $(t){return t instanceof Error&&t.name===h&&t.message===h}function G(){const t=new Error(h);return t.name=t.message,t}function e(t){return t?new Error(`Illegal argument: ${t}`):new Error("Illegal argument")}function s(t){return t?new Error(`Illegal state: ${t}`):new Error("Illegal state")}class c extends Error{constructor(r){super("NotSupported"),r&&(this.message=r)}}},4348:function(It,Fe,l){"use strict";l.d(Fe,{D0:function(){return c},E7:function(){return t},K3:function(){return s},Q5:function(){return e},ZD:function(){return r},ju:function(){return V}});var T=l(79881),A=l(69323),j=l(34502),X=l(95830),V;(function(i){i.None=()=>A.JT.None;function o(x){return(N,C=null,y)=>{let n=!1,a;return a=x(d=>{if(!n)return a?a.dispose():n=!0,N.call(C,d)},null,y),n&&a.dispose(),a}}i.once=o;function v(x,N){return u((C,y=null,n)=>x(a=>C.call(y,N(a)),null,n))}i.map=v;function b(x,N){return u((C,y=null,n)=>x(a=>{N(a),C.call(y,a)},null,n))}i.forEach=b;function S(x,N){return u((C,y=null,n)=>x(a=>N(a)&&C.call(y,a),null,n))}i.filter=S;function p(x){return x}i.signal=p;function m(...x){return(N,C=null,y)=>(0,A.F8)(...x.map(n=>n(a=>N.call(C,a),null,y)))}i.any=m;function f(x,N,C){let y=C;return v(x,n=>(y=N(y,n),y))}i.reduce=f;function u(x){let N;const C=new e({onFirstListenerAdd(){N=x(C.fire,C)},onLastListenerRemove(){N.dispose()}});return C.event}function k(x,N,C=100,y=!1,n){let a,d,M,ae=0;const de=new e({leakWarningThreshold:n,onFirstListenerAdd(){a=x(ye=>{ae++,d=N(d,ye),y&&!M&&(de.fire(d),d=void 0),clearTimeout(M),M=setTimeout(()=>{const Ae=d;d=void 0,M=void 0,(!y||ae>1)&&de.fire(Ae),ae=0},C)})},onLastListenerRemove(){a.dispose()}});return de.event}i.debounce=k;function I(x,N=(C,y)=>C===y){let C=!0,y;return S(x,n=>{const a=C||!N(n,y);return C=!1,y=n,a})}i.latch=I;function F(x,N){return[i.filter(x,N),i.filter(x,C=>!N(C))]}i.split=F;function K(x,N=!1,C=[]){let y=C.slice(),n=x(M=>{y?y.push(M):d.fire(M)});const a=()=>{y&&y.forEach(M=>d.fire(M)),y=null},d=new e({onFirstListenerAdd(){n||(n=x(M=>d.fire(M)))},onFirstListenerDidAdd(){y&&(N?setTimeout(a):a())},onLastListenerRemove(){n&&n.dispose(),n=null}});return d.event}i.buffer=K;class Y{constructor(N){this.event=N}map(N){return new Y(v(this.event,N))}forEach(N){return new Y(b(this.event,N))}filter(N){return new Y(S(this.event,N))}reduce(N,C){return new Y(f(this.event,N,C))}latch(){return new Y(I(this.event))}debounce(N,C=100,y=!1,n){return new Y(k(this.event,N,C,y,n))}on(N,C,y){return this.event(N,C,y)}once(N,C,y){return o(this.event)(N,C,y)}}function W(x){return new Y(x)}i.chain=W;function Pe(x,N,C=y=>y){const y=(...M)=>d.fire(C(...M)),n=()=>x.on(N,y),a=()=>x.removeListener(N,y),d=new e({onFirstListenerAdd:n,onLastListenerRemove:a});return d.event}i.fromNodeEventEmitter=Pe;function w(x,N,C=y=>y){const y=(...M)=>d.fire(C(...M)),n=()=>x.addEventListener(N,y),a=()=>x.removeEventListener(N,y),d=new e({onFirstListenerAdd:n,onLastListenerRemove:a});return d.event}i.fromDOMEventEmitter=w;function _(x){return new Promise(N=>o(x)(N))}i.toPromise=_})(V||(V={}));class h{constructor(o){this._listenerCount=0,this._invocationCount=0,this._elapsedOverall=0,this._name=`${o}_${h._idPool++}`}start(o){this._stopWatch=new X.G(!0),this._listenerCount=o}stop(){if(this._stopWatch){const o=this._stopWatch.elapsed();this._elapsedOverall+=o,this._invocationCount+=1,console.info(`did FIRE ${this._name}: elapsed_ms: ${o.toFixed(5)}, listener: ${this._listenerCount} (elapsed_overall: ${this._elapsedOverall.toFixed(2)}, invocations: ${this._invocationCount})`),this._stopWatch=void 0}}}h._idPool=0;let $=-1;class G{constructor(o,v=Math.random().toString(18).slice(2,5)){this.customThreshold=o,this.name=v,this._warnCountdown=0}dispose(){this._stacks&&this._stacks.clear()}check(o){let v=$;if(typeof this.customThreshold=="number"&&(v=this.customThreshold),v<=0||o<v)return;this._stacks||(this._stacks=new Map);const b=new Error().stack.split(`
`).slice(3).join(`
`),S=this._stacks.get(b)||0;if(this._stacks.set(b,S+1),this._warnCountdown-=1,this._warnCountdown<=0){this._warnCountdown=v*.5;let p,m=0;for(const[f,u]of this._stacks)(!p||m<u)&&(p=f,m=u);console.warn(`[${this.name}] potential listener LEAK detected, having ${o} listeners already. MOST frequent listener (${m}):`),console.warn(p)}return()=>{const p=this._stacks.get(b)||0;this._stacks.set(b,p-1)}}}class e{constructor(o){var v;this._disposed=!1,this._options=o,this._leakageMon=$>0?new G(this._options&&this._options.leakWarningThreshold):void 0,this._perfMon=!((v=this._options)===null||v===void 0)&&v._profName?new h(this._options._profName):void 0}get event(){return this._event||(this._event=(o,v,b)=>{var S;this._listeners||(this._listeners=new j.S);const p=this._listeners.isEmpty();p&&this._options&&this._options.onFirstListenerAdd&&this._options.onFirstListenerAdd(this);const m=this._listeners.push(v?[o,v]:o);p&&this._options&&this._options.onFirstListenerDidAdd&&this._options.onFirstListenerDidAdd(this),this._options&&this._options.onListenerDidAdd&&this._options.onListenerDidAdd(this,o,v);const f=(S=this._leakageMon)===null||S===void 0?void 0:S.check(this._listeners.size),u=(0,A.OF)(()=>{f&&f(),this._disposed||(m(),this._options&&this._options.onLastListenerRemove&&(this._listeners&&!this._listeners.isEmpty()||this._options.onLastListenerRemove(this)))});return b instanceof A.SL?b.add(u):Array.isArray(b)&&b.push(u),u}),this._event}fire(o){var v,b;if(this._listeners){this._deliveryQueue||(this._deliveryQueue=new j.S);for(let S of this._listeners)this._deliveryQueue.push([S,o]);for((v=this._perfMon)===null||v===void 0||v.start(this._deliveryQueue.size);this._deliveryQueue.size>0;){const[S,p]=this._deliveryQueue.shift();try{typeof S=="function"?S.call(void 0,p):S[0].call(S[1],p)}catch(m){(0,T.dL)(m)}}(b=this._perfMon)===null||b===void 0||b.stop()}}dispose(){var o,v,b,S,p;this._disposed||(this._disposed=!0,(o=this._listeners)===null||o===void 0||o.clear(),(v=this._deliveryQueue)===null||v===void 0||v.clear(),(S=(b=this._options)===null||b===void 0?void 0:b.onLastListenerRemove)===null||S===void 0||S.call(b),(p=this._leakageMon)===null||p===void 0||p.dispose())}}class s extends e{constructor(o){super(o),this._isPaused=0,this._eventQueue=new j.S,this._mergeFn=o==null?void 0:o.merge}pause(){this._isPaused++}resume(){if(this._isPaused!==0&&--this._isPaused===0)if(this._mergeFn){const o=Array.from(this._eventQueue);this._eventQueue.clear(),super.fire(this._mergeFn(o))}else for(;!this._isPaused&&this._eventQueue.size!==0;)super.fire(this._eventQueue.shift())}fire(o){this._listeners&&(this._isPaused!==0?this._eventQueue.push(o):super.fire(o))}}class c extends s{constructor(o){var v;super(o),this._delay=(v=o.delay)!==null&&v!==void 0?v:100}fire(o){this._handle||(this.pause(),this._handle=setTimeout(()=>{this._handle=void 0,this.resume()},this._delay)),super.fire(o)}}class t{constructor(){this.buffers=[]}wrapEvent(o){return(v,b,S)=>o(p=>{const m=this.buffers[this.buffers.length-1];m?m.push(()=>v.call(b,p)):v.call(b,p)},void 0,S)}bufferEvents(o){const v=[];this.buffers.push(v);const b=o();return this.buffers.pop(),v.forEach(S=>S()),b}}class r{constructor(){this.listening=!1,this.inputEvent=V.None,this.inputEventListener=A.JT.None,this.emitter=new e({onFirstListenerDidAdd:()=>{this.listening=!0,this.inputEventListener=this.inputEvent(this.emitter.fire,this.emitter)},onLastListenerRemove:()=>{this.listening=!1,this.inputEventListener.dispose()}}),this.event=this.emitter.event}set input(o){this.inputEvent=o,this.listening&&(this.inputEventListener.dispose(),this.inputEventListener=o(this.emitter.fire,this.emitter))}dispose(){this.inputEventListener.dispose(),this.emitter.dispose()}}},17845:function(It,Fe,l){"use strict";l.d(Fe,{I:function(){return T}});function T(A){const j=this;let X=!1,V;return function(){return X||(X=!0,V=A.apply(j,arguments)),V}}},88226:function(It,Fe,l){"use strict";l.d(Fe,{$:function(){return T}});var T;(function(A){function j(m){return m&&typeof m=="object"&&typeof m[Symbol.iterator]=="function"}A.is=j;const X=Object.freeze([]);function V(){return X}A.empty=V;function*h(m){yield m}A.single=h;function $(m){return m||X}A.from=$;function G(m){return!m||m[Symbol.iterator]().next().done===!0}A.isEmpty=G;function e(m){return m[Symbol.iterator]().next().value}A.first=e;function s(m,f){for(const u of m)if(f(u))return!0;return!1}A.some=s;function c(m,f){for(const u of m)if(f(u))return u}A.find=c;function*t(m,f){for(const u of m)f(u)&&(yield u)}A.filter=t;function*r(m,f){let u=0;for(const k of m)yield f(k,u++)}A.map=r;function*i(...m){for(const f of m)for(const u of f)yield u}A.concat=i;function*o(m){for(const f of m)for(const u of f)yield u}A.concatNested=o;function v(m,f,u){let k=u;for(const I of m)k=f(k,I);return k}A.reduce=v;function*b(m,f,u=m.length){for(f<0&&(f+=m.length),u<0?u+=m.length:u>m.length&&(u=m.length);f<u;f++)yield m[f]}A.slice=b;function S(m,f=Number.POSITIVE_INFINITY){const u=[];if(f===0)return[u,m];const k=m[Symbol.iterator]();for(let I=0;I<f;I++){const F=k.next();if(F.done)return[u,A.empty()];u.push(F.value)}return[u,{[Symbol.iterator](){return k}}]}A.consume=S;function p(m,f,u=(k,I)=>k===I){const k=m[Symbol.iterator](),I=f[Symbol.iterator]();for(;;){const F=k.next(),K=I.next();if(F.done!==K.done)return!1;if(F.done)return!0;if(!u(F.value,K.value))return!1}}A.equals=p})(T||(T={}))},69323:function(It,Fe,l){"use strict";l.d(Fe,{B9:function(){return r},F8:function(){return i},JT:function(){return b},Jz:function(){return p},OF:function(){return o},SL:function(){return v},Wf:function(){return t},XK:function(){return S},dk:function(){return s}});var T=l(17845),A=l(88226);const j=!1;let X=null;function V(m){X=m}if(j){const m="__is_disposable_tracked__";V(new class{trackDisposable(f){const u=new Error("Potentially leaked disposable").stack;setTimeout(()=>{f[m]||console.log(u)},3e3)}setParent(f,u){if(f&&f!==b.None)try{f[m]=!0}catch(k){}}markAsDisposed(f){if(f&&f!==b.None)try{f[m]=!0}catch(u){}}markAsSingleton(f){}})}function h(m){return X==null||X.trackDisposable(m),m}function $(m){X==null||X.markAsDisposed(m)}function G(m,f){X==null||X.setParent(m,f)}function e(m,f){if(X)for(const u of m)X.setParent(u,f)}function s(m){return X==null||X.markAsSingleton(m),m}class c extends Error{constructor(f){super(`Encountered errors while disposing of store. Errors: [${f.join(", ")}]`),this.errors=f}}function t(m){return typeof m.dispose=="function"&&m.dispose.length===0}function r(m){if(A.$.is(m)){let f=[];for(const u of m)if(u)try{u.dispose()}catch(k){f.push(k)}if(f.length===1)throw f[0];if(f.length>1)throw new c(f);return Array.isArray(m)?[]:m}else if(m)return m.dispose(),m}function i(...m){const f=o(()=>r(m));return e(m,f),f}function o(m){const f=h({dispose:(0,T.I)(()=>{$(f),m()})});return f}class v{constructor(){this._toDispose=new Set,this._isDisposed=!1,h(this)}dispose(){this._isDisposed||($(this),this._isDisposed=!0,this.clear())}clear(){try{r(this._toDispose.values())}finally{this._toDispose.clear()}}add(f){if(!f)return f;if(f===this)throw new Error("Cannot register a disposable on itself!");return G(f,this),this._isDisposed?v.DISABLE_DISPOSED_WARNING||console.warn(new Error("Trying to add a disposable to a DisposableStore that has already been disposed of. The added object will be leaked!").stack):this._toDispose.add(f),f}}v.DISABLE_DISPOSED_WARNING=!1;class b{constructor(){this._store=new v,h(this),G(this._store,this)}dispose(){$(this),this._store.dispose()}_register(f){if(f===this)throw new Error("Cannot register a disposable on itself!");return this._store.add(f)}}b.None=Object.freeze({dispose(){}});class S{constructor(){this._isDisposed=!1,h(this)}get value(){return this._isDisposed?void 0:this._value}set value(f){var u;this._isDisposed||f===this._value||((u=this._value)===null||u===void 0||u.dispose(),f&&G(f,this),this._value=f)}clear(){this.value=void 0}dispose(){var f;this._isDisposed=!0,$(this),(f=this._value)===null||f===void 0||f.dispose(),this._value=void 0}clearAndLeak(){const f=this._value;return this._value=void 0,f&&G(f,null),f}}class p{constructor(f){this.object=f}dispose(){}}},34502:function(It,Fe,l){"use strict";l.d(Fe,{S:function(){return A}});class T{constructor(X){this.element=X,this.next=T.Undefined,this.prev=T.Undefined}}T.Undefined=new T(void 0);class A{constructor(){this._first=T.Undefined,this._last=T.Undefined,this._size=0}get size(){return this._size}isEmpty(){return this._first===T.Undefined}clear(){let X=this._first;for(;X!==T.Undefined;){const V=X.next;X.prev=T.Undefined,X.next=T.Undefined,X=V}this._first=T.Undefined,this._last=T.Undefined,this._size=0}unshift(X){return this._insert(X,!1)}push(X){return this._insert(X,!0)}_insert(X,V){const h=new T(X);if(this._first===T.Undefined)this._first=h,this._last=h;else if(V){const G=this._last;this._last=h,h.prev=G,G.next=h}else{const G=this._first;this._first=h,h.next=G,G.prev=h}this._size+=1;let $=!1;return()=>{$||($=!0,this._remove(h))}}shift(){if(this._first!==T.Undefined){const X=this._first.element;return this._remove(this._first),X}}pop(){if(this._last!==T.Undefined){const X=this._last.element;return this._remove(this._last),X}}_remove(X){if(X.prev!==T.Undefined&&X.next!==T.Undefined){const V=X.prev;V.next=X.next,X.next.prev=V}else X.prev===T.Undefined&&X.next===T.Undefined?(this._first=T.Undefined,this._last=T.Undefined):X.next===T.Undefined?(this._last=this._last.prev,this._last.next=T.Undefined):X.prev===T.Undefined&&(this._first=this._first.next,this._first.prev=T.Undefined);this._size-=1}*[Symbol.iterator](){let X=this._first;for(;X!==T.Undefined;)yield X.element,X=X.next}}},23345:function(It,Fe,l){"use strict";l.d(Fe,{$L:function(){return k},ED:function(){return p},IJ:function(){return f},OS:function(){return Y},WE:function(){return F},dz:function(){return m},gn:function(){return I},li:function(){return o},r:function(){return w},tY:function(){return u},xS:function(){return K}});var T=l(97671),A;const j="en";let X=!1,V=!1,h=!1,$=!1,G=!1,e=!1,s=!1,c,t=null,r=null,i;const o=typeof self=="object"?self:typeof l.g=="object"?l.g:{};let v;typeof o.vscode!="undefined"&&typeof o.vscode.process!="undefined"?v=o.vscode.process:typeof T!="undefined"&&(v=T);const b=typeof((A=v==null?void 0:v.versions)===null||A===void 0?void 0:A.electron)=="string"&&v.type==="renderer";if(typeof navigator=="object"&&!b)i=navigator.userAgent,X=i.indexOf("Windows")>=0,V=i.indexOf("Macintosh")>=0,s=(i.indexOf("Macintosh")>=0||i.indexOf("iPad")>=0||i.indexOf("iPhone")>=0)&&!!navigator.maxTouchPoints&&navigator.maxTouchPoints>0,h=i.indexOf("Linux")>=0,e=!0,c=navigator.language,t=c;else if(typeof v=="object"){X=v.platform==="win32",V=v.platform==="darwin",h=v.platform==="linux",$=h&&!!v.env.SNAP&&!!v.env.SNAP_REVISION,c=j,t=j;const _=v.env.VSCODE_NLS_CONFIG;if(_)try{const x=JSON.parse(_),N=x.availableLanguages["*"];c=x.locale,t=N||j,r=x._translationsConfigFile}catch(x){}G=!0}else console.error("Unable to resolve platform.");let S=0;V?S=1:X?S=3:h&&(S=2);const p=X,m=V,f=h,u=G,k=e,I=s,F=i,K=function(){if(o.setImmediate)return o.setImmediate.bind(o);if(typeof o.postMessage=="function"&&!o.importScripts){let N=[];o.addEventListener("message",y=>{if(y.data&&y.data.vscodeSetImmediateId)for(let n=0,a=N.length;n<a;n++){const d=N[n];if(d.id===y.data.vscodeSetImmediateId){N.splice(n,1),d.callback();return}}});let C=0;return y=>{const n=++C;N.push({id:n,callback:y}),o.postMessage({vscodeSetImmediateId:n},"*")}}if(typeof(v==null?void 0:v.nextTick)=="function")return v.nextTick.bind(v);const x=Promise.resolve();return N=>x.then(N)}(),Y=V||s?2:X?1:3;let W=!0,Pe=!1;function w(){if(!Pe){Pe=!0;const _=new Uint8Array(2);_[0]=1,_[1]=2,W=new Uint16Array(_.buffer)[0]===513}return W}},95830:function(It,Fe,l){"use strict";l.d(Fe,{G:function(){return j}});var T=l(23345);const A=T.li.performance&&typeof T.li.performance.now=="function";class j{constructor(V){this._highResolution=A&&V,this._startTime=this._now(),this._stopTime=-1}static create(V=!0){return new j(V)}stop(){this._stopTime=this._now()}elapsed(){return this._stopTime!==-1?this._stopTime-this._startTime:this._now()-this._startTime}_now(){return this._highResolution?T.li.performance.now():Date.now()}}},82983:function(It,Fe,l){"use strict";l.d(Fe,{$i:function(){return ae},C8:function(){return mt},GF:function(){return c},HO:function(){return C},IO:function(){return t},K7:function(){return He},Kw:function(){return ut},LC:function(){return o},Mh:function(){return K},P1:function(){return Y},PJ:function(){return Et},Qe:function(){return de},R1:function(){return s},RP:function(){return d},S6:function(){return st},TT:function(){return p},Ut:function(){return n},V8:function(){return v},WU:function(){return j},YK:function(){return Pe},YU:function(){return X},ZG:function(){return W},ZH:function(){return _},ab:function(){return ye},c1:function(){return be},df:function(){return k},ec:function(){return V},fi:function(){return we},fy:function(){return h},j3:function(){return $},j_:function(){return f},m5:function(){return T},mK:function(){return u},mr:function(){return r},oH:function(){return O},oL:function(){return G},ok:function(){return F},ow:function(){return b},qq:function(){return I},qu:function(){return S},rL:function(){return w},uS:function(){return Ge},un:function(){return e},uq:function(){return i},vH:function(){return N},xe:function(){return Ae},zY:function(){return m}});function T(g){return!g||typeof g!="string"?!0:g.trim().length===0}const A=/{(\d+)}/g;function j(g,...P){return P.length===0?g:g.replace(A,function(z,D){const U=parseInt(D,10);return isNaN(U)||U<0||U>=P.length?z:P[U]})}function X(g){return g.replace(/[<>&]/g,function(P){switch(P){case"<":return"&lt;";case">":return"&gt;";case"&":return"&amp;";default:return P}})}function V(g){return g.replace(/[\\\{\}\*\+\?\|\^\$\.\[\]\(\)]/g,"\\$&")}function h(g,P=" "){const z=$(g,P);return G(z,P)}function $(g,P){if(!g||!P)return g;const z=P.length;if(z===0||g.length===0)return g;let D=0;for(;g.indexOf(P,D)===D;)D=D+z;return g.substring(D)}function G(g,P){if(!g||!P)return g;const z=P.length,D=g.length;if(z===0||D===0)return g;let U=D,Z=-1;for(;Z=g.lastIndexOf(P,U-1),!(Z===-1||Z+z!==U);){if(Z===0)return"";U=Z}return g.substring(0,U)}function e(g){return g.replace(/[\-\\\{\}\+\?\|\^\$\.\,\[\]\(\)\#\s]/g,"\\$&").replace(/[\*]/g,".*")}function s(g){return g.replace(/\*/g,"")}function c(g,P,z={}){if(!g)throw new Error("Cannot create regex from empty string");P||(g=V(g)),z.wholeWord&&(/\B/.test(g.charAt(0))||(g="\\b"+g),/\B/.test(g.charAt(g.length-1))||(g=g+"\\b"));let D="";return z.global&&(D+="g"),z.matchCase||(D+="i"),z.multiline&&(D+="m"),z.unicode&&(D+="u"),new RegExp(g,D)}function t(g){return g.source==="^"||g.source==="^$"||g.source==="$"||g.source==="^\\s*$"?!1:!!(g.exec("")&&g.lastIndex===0)}function r(g){return(g.global?"g":"")+(g.ignoreCase?"i":"")+(g.multiline?"m":"")+(g.unicode?"u":"")}function i(g){return g.split(/\r\n|\r|\n/)}function o(g){for(let P=0,z=g.length;P<z;P++){const D=g.charCodeAt(P);if(D!==32&&D!==9)return P}return-1}function v(g,P=0,z=g.length){for(let D=P;D<z;D++){const U=g.charCodeAt(D);if(U!==32&&U!==9)return g.substring(P,D)}return g.substring(P,z)}function b(g,P=g.length-1){for(let z=P;z>=0;z--){const D=g.charCodeAt(z);if(D!==32&&D!==9)return z}return-1}function S(g,P){return g<P?-1:g>P?1:0}function p(g,P,z=0,D=g.length,U=0,Z=P.length){for(;z<D&&U<Z;z++,U++){let ce=g.charCodeAt(z),Ee=P.charCodeAt(U);if(ce<Ee)return-1;if(ce>Ee)return 1}const te=D-z,J=Z-U;return te<J?-1:te>J?1:0}function m(g,P){return f(g,P,0,g.length,0,P.length)}function f(g,P,z=0,D=g.length,U=0,Z=P.length){for(;z<D&&U<Z;z++,U++){let ce=g.charCodeAt(z),Ee=P.charCodeAt(U);if(ce===Ee)continue;if(ce>=128||Ee>=128)return p(g.toLowerCase(),P.toLowerCase(),z,D,U,Z);u(ce)&&(ce-=32),u(Ee)&&(Ee-=32);const xe=ce-Ee;if(xe!==0)return xe}const te=D-z,J=Z-U;return te<J?-1:te>J?1:0}function u(g){return g>=97&&g<=122}function k(g){return g>=65&&g<=90}function I(g,P){return g.length===P.length&&f(g,P)===0}function F(g,P){const z=P.length;return P.length>g.length?!1:f(g,P,0,z)===0}function K(g,P){let z,D=Math.min(g.length,P.length);for(z=0;z<D;z++)if(g.charCodeAt(z)!==P.charCodeAt(z))return z;return D}function Y(g,P){let z,D=Math.min(g.length,P.length);const U=g.length-1,Z=P.length-1;for(z=0;z<D;z++)if(g.charCodeAt(U-z)!==P.charCodeAt(Z-z))return z;return D}function W(g){return 55296<=g&&g<=56319}function Pe(g){return 56320<=g&&g<=57343}function w(g,P){return(g-55296<<10)+(P-56320)+65536}function _(g,P,z){const D=g.charCodeAt(z);if(W(D)&&z+1<P){const U=g.charCodeAt(z+1);if(Pe(U))return w(D,U)}return D}function x(g,P){const z=g.charCodeAt(P-1);if(Pe(z)&&P>1){const D=g.charCodeAt(P-2);if(W(D))return w(D,z)}return z}function N(g,P){const z=E.getInstance(),D=P,U=g.length,Z=_(g,U,P);P+=Z>=65536?2:1;let te=z.getGraphemeBreakType(Z);for(;P<U;){const J=_(g,U,P),ce=z.getGraphemeBreakType(J);if(we(te,ce))break;P+=J>=65536?2:1,te=ce}return P-D}function C(g,P){const z=E.getInstance(),D=P,U=x(g,P);P-=U>=65536?2:1;let Z=z.getGraphemeBreakType(U);for(;P>0;){const te=x(g,P),J=z.getGraphemeBreakType(te);if(we(J,Z))break;P-=te>=65536?2:1,Z=J}return D-P}const y=/(?:[\u05BE\u05C0\u05C3\u05C6\u05D0-\u05F4\u0608\u060B\u060D\u061B-\u064A\u066D-\u066F\u0671-\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u0710\u0712-\u072F\u074D-\u07A5\u07B1-\u07EA\u07F4\u07F5\u07FA-\u0815\u081A\u0824\u0828\u0830-\u0858\u085E-\u08BD\u200F\uFB1D\uFB1F-\uFB28\uFB2A-\uFD3D\uFD50-\uFDFC\uFE70-\uFEFC]|\uD802[\uDC00-\uDD1B\uDD20-\uDE00\uDE10-\uDE33\uDE40-\uDEE4\uDEEB-\uDF35\uDF40-\uDFFF]|\uD803[\uDC00-\uDCFF]|\uD83A[\uDC00-\uDCCF\uDD00-\uDD43\uDD50-\uDFFF]|\uD83B[\uDC00-\uDEBB])/;function n(g){return y.test(g)}const a=/(?:[\u231A\u231B\u23F0\u23F3\u2600-\u27BF\u2B50\u2B55]|\uD83C[\uDDE6-\uDDFF\uDF00-\uDFFF]|\uD83D[\uDC00-\uDE4F\uDE80-\uDEFC\uDFE0-\uDFEB]|\uD83E[\uDD00-\uDDFF\uDE70-\uDED6])/;function d(g){return a.test(g)}const M=/^[\t\n\r\x20-\x7E]*$/;function ae(g){return M.test(g)}const de=/[\u2028\u2029]/;function ye(g){return de.test(g)}function Ae(g){for(let P=0,z=g.length;P<z;P++)if(He(g.charCodeAt(P)))return!0;return!1}function He(g){return g=+g,g>=11904&&g<=55215||g>=63744&&g<=64255||g>=65281&&g<=65374}function mt(g){return g>=127462&&g<=127487||g===8986||g===8987||g===9200||g===9203||g>=9728&&g<=10175||g===11088||g===11093||g>=127744&&g<=128591||g>=128640&&g<=128764||g>=128992&&g<=129003||g>=129280&&g<=129535||g>=129648&&g<=129750}const be="\uFEFF";function Ge(g){return!!(g&&g.length>0&&g.charCodeAt(0)===65279)}function ut(g,P=!1){return g?(P&&(g=g.replace(/\\./g,"")),g.toLowerCase()!==g):!1}function Et(g){return g=g%(2*26),g<26?String.fromCharCode(97+g):String.fromCharCode(65+g-26)}function st(g){return E.getInstance().getGraphemeBreakType(g)}function we(g,P){return g===0?P!==5&&P!==7:g===2&&P===3?!1:g===4||g===2||g===3||P===4||P===2||P===3?!0:!(g===8&&(P===8||P===9||P===11||P===12)||(g===11||g===9)&&(P===9||P===10)||(g===12||g===10)&&P===10||P===5||P===13||P===7||g===1||g===13&&P===14||g===6&&P===6)}class E{constructor(){this._data=B()}static getInstance(){return E._INSTANCE||(E._INSTANCE=new E),E._INSTANCE}getGraphemeBreakType(P){if(P<32)return P===10?3:P===13?2:4;if(P<127)return 0;const z=this._data,D=z.length/3;let U=1;for(;U<=D;)if(P<z[3*U])U=2*U;else if(P>z[3*U+1])U=2*U+1;else return z[3*U+2];return 0}}E._INSTANCE=null;function B(){return JSON.parse("[0,0,0,51592,51592,11,44424,44424,11,72251,72254,5,7150,7150,7,48008,48008,11,55176,55176,11,128420,128420,14,3276,3277,5,9979,9980,14,46216,46216,11,49800,49800,11,53384,53384,11,70726,70726,5,122915,122916,5,129320,129327,14,2558,2558,5,5906,5908,5,9762,9763,14,43360,43388,8,45320,45320,11,47112,47112,11,48904,48904,11,50696,50696,11,52488,52488,11,54280,54280,11,70082,70083,1,71350,71350,7,73111,73111,5,127892,127893,14,128726,128727,14,129473,129474,14,2027,2035,5,2901,2902,5,3784,3789,5,6754,6754,5,8418,8420,5,9877,9877,14,11088,11088,14,44008,44008,5,44872,44872,11,45768,45768,11,46664,46664,11,47560,47560,11,48456,48456,11,49352,49352,11,50248,50248,11,51144,51144,11,52040,52040,11,52936,52936,11,53832,53832,11,54728,54728,11,69811,69814,5,70459,70460,5,71096,71099,7,71998,71998,5,72874,72880,5,119149,119149,7,127374,127374,14,128335,128335,14,128482,128482,14,128765,128767,14,129399,129400,14,129680,129685,14,1476,1477,5,2377,2380,7,2759,2760,5,3137,3140,7,3458,3459,7,4153,4154,5,6432,6434,5,6978,6978,5,7675,7679,5,9723,9726,14,9823,9823,14,9919,9923,14,10035,10036,14,42736,42737,5,43596,43596,5,44200,44200,11,44648,44648,11,45096,45096,11,45544,45544,11,45992,45992,11,46440,46440,11,46888,46888,11,47336,47336,11,47784,47784,11,48232,48232,11,48680,48680,11,49128,49128,11,49576,49576,11,50024,50024,11,50472,50472,11,50920,50920,11,51368,51368,11,51816,51816,11,52264,52264,11,52712,52712,11,53160,53160,11,53608,53608,11,54056,54056,11,54504,54504,11,54952,54952,11,68108,68111,5,69933,69940,5,70197,70197,7,70498,70499,7,70845,70845,5,71229,71229,5,71727,71735,5,72154,72155,5,72344,72345,5,73023,73029,5,94095,94098,5,121403,121452,5,126981,127182,14,127538,127546,14,127990,127990,14,128391,128391,14,128445,128449,14,128500,128505,14,128752,128752,14,129160,129167,14,129356,129356,14,129432,129442,14,129648,129651,14,129751,131069,14,173,173,4,1757,1757,1,2274,2274,1,2494,2494,5,2641,2641,5,2876,2876,5,3014,3016,7,3262,3262,7,3393,3396,5,3570,3571,7,3968,3972,5,4228,4228,7,6086,6086,5,6679,6680,5,6912,6915,5,7080,7081,5,7380,7392,5,8252,8252,14,9096,9096,14,9748,9749,14,9784,9786,14,9833,9850,14,9890,9894,14,9938,9938,14,9999,9999,14,10085,10087,14,12349,12349,14,43136,43137,7,43454,43456,7,43755,43755,7,44088,44088,11,44312,44312,11,44536,44536,11,44760,44760,11,44984,44984,11,45208,45208,11,45432,45432,11,45656,45656,11,45880,45880,11,46104,46104,11,46328,46328,11,46552,46552,11,46776,46776,11,47000,47000,11,47224,47224,11,47448,47448,11,47672,47672,11,47896,47896,11,48120,48120,11,48344,48344,11,48568,48568,11,48792,48792,11,49016,49016,11,49240,49240,11,49464,49464,11,49688,49688,11,49912,49912,11,50136,50136,11,50360,50360,11,50584,50584,11,50808,50808,11,51032,51032,11,51256,51256,11,51480,51480,11,51704,51704,11,51928,51928,11,52152,52152,11,52376,52376,11,52600,52600,11,52824,52824,11,53048,53048,11,53272,53272,11,53496,53496,11,53720,53720,11,53944,53944,11,54168,54168,11,54392,54392,11,54616,54616,11,54840,54840,11,55064,55064,11,65438,65439,5,69633,69633,5,69837,69837,1,70018,70018,7,70188,70190,7,70368,70370,7,70465,70468,7,70712,70719,5,70835,70840,5,70850,70851,5,71132,71133,5,71340,71340,7,71458,71461,5,71985,71989,7,72002,72002,7,72193,72202,5,72281,72283,5,72766,72766,7,72885,72886,5,73104,73105,5,92912,92916,5,113824,113827,4,119173,119179,5,121505,121519,5,125136,125142,5,127279,127279,14,127489,127490,14,127570,127743,14,127900,127901,14,128254,128254,14,128369,128370,14,128400,128400,14,128425,128432,14,128468,128475,14,128489,128494,14,128715,128720,14,128745,128745,14,128759,128760,14,129004,129023,14,129296,129304,14,129340,129342,14,129388,129392,14,129404,129407,14,129454,129455,14,129485,129487,14,129659,129663,14,129719,129727,14,917536,917631,5,13,13,2,1160,1161,5,1564,1564,4,1807,1807,1,2085,2087,5,2363,2363,7,2402,2403,5,2507,2508,7,2622,2624,7,2691,2691,7,2786,2787,5,2881,2884,5,3006,3006,5,3072,3072,5,3170,3171,5,3267,3268,7,3330,3331,7,3406,3406,1,3538,3540,5,3655,3662,5,3897,3897,5,4038,4038,5,4184,4185,5,4352,4447,8,6068,6069,5,6155,6157,5,6448,6449,7,6742,6742,5,6783,6783,5,6966,6970,5,7042,7042,7,7143,7143,7,7212,7219,5,7412,7412,5,8206,8207,4,8294,8303,4,8596,8601,14,9410,9410,14,9742,9742,14,9757,9757,14,9770,9770,14,9794,9794,14,9828,9828,14,9855,9855,14,9882,9882,14,9900,9903,14,9929,9933,14,9963,9967,14,9987,9988,14,10006,10006,14,10062,10062,14,10175,10175,14,11744,11775,5,42607,42607,5,43043,43044,7,43263,43263,5,43444,43445,7,43569,43570,5,43698,43700,5,43766,43766,5,44032,44032,11,44144,44144,11,44256,44256,11,44368,44368,11,44480,44480,11,44592,44592,11,44704,44704,11,44816,44816,11,44928,44928,11,45040,45040,11,45152,45152,11,45264,45264,11,45376,45376,11,45488,45488,11,45600,45600,11,45712,45712,11,45824,45824,11,45936,45936,11,46048,46048,11,46160,46160,11,46272,46272,11,46384,46384,11,46496,46496,11,46608,46608,11,46720,46720,11,46832,46832,11,46944,46944,11,47056,47056,11,47168,47168,11,47280,47280,11,47392,47392,11,47504,47504,11,47616,47616,11,47728,47728,11,47840,47840,11,47952,47952,11,48064,48064,11,48176,48176,11,48288,48288,11,48400,48400,11,48512,48512,11,48624,48624,11,48736,48736,11,48848,48848,11,48960,48960,11,49072,49072,11,49184,49184,11,49296,49296,11,49408,49408,11,49520,49520,11,49632,49632,11,49744,49744,11,49856,49856,11,49968,49968,11,50080,50080,11,50192,50192,11,50304,50304,11,50416,50416,11,50528,50528,11,50640,50640,11,50752,50752,11,50864,50864,11,50976,50976,11,51088,51088,11,51200,51200,11,51312,51312,11,51424,51424,11,51536,51536,11,51648,51648,11,51760,51760,11,51872,51872,11,51984,51984,11,52096,52096,11,52208,52208,11,52320,52320,11,52432,52432,11,52544,52544,11,52656,52656,11,52768,52768,11,52880,52880,11,52992,52992,11,53104,53104,11,53216,53216,11,53328,53328,11,53440,53440,11,53552,53552,11,53664,53664,11,53776,53776,11,53888,53888,11,54000,54000,11,54112,54112,11,54224,54224,11,54336,54336,11,54448,54448,11,54560,54560,11,54672,54672,11,54784,54784,11,54896,54896,11,55008,55008,11,55120,55120,11,64286,64286,5,66272,66272,5,68900,68903,5,69762,69762,7,69817,69818,5,69927,69931,5,70003,70003,5,70070,70078,5,70094,70094,7,70194,70195,7,70206,70206,5,70400,70401,5,70463,70463,7,70475,70477,7,70512,70516,5,70722,70724,5,70832,70832,5,70842,70842,5,70847,70848,5,71088,71089,7,71102,71102,7,71219,71226,5,71231,71232,5,71342,71343,7,71453,71455,5,71463,71467,5,71737,71738,5,71995,71996,5,72000,72000,7,72145,72147,7,72160,72160,5,72249,72249,7,72273,72278,5,72330,72342,5,72752,72758,5,72850,72871,5,72882,72883,5,73018,73018,5,73031,73031,5,73109,73109,5,73461,73462,7,94031,94031,5,94192,94193,7,119142,119142,7,119155,119162,4,119362,119364,5,121476,121476,5,122888,122904,5,123184,123190,5,126976,126979,14,127184,127231,14,127344,127345,14,127405,127461,14,127514,127514,14,127561,127567,14,127778,127779,14,127896,127896,14,127985,127986,14,127995,127999,5,128326,128328,14,128360,128366,14,128378,128378,14,128394,128397,14,128405,128406,14,128422,128423,14,128435,128443,14,128453,128464,14,128479,128480,14,128484,128487,14,128496,128498,14,128640,128709,14,128723,128724,14,128736,128741,14,128747,128748,14,128755,128755,14,128762,128762,14,128981,128991,14,129096,129103,14,129292,129292,14,129311,129311,14,129329,129330,14,129344,129349,14,129360,129374,14,129394,129394,14,129402,129402,14,129413,129425,14,129445,129450,14,129466,129471,14,129483,129483,14,129511,129535,14,129653,129655,14,129667,129670,14,129705,129711,14,129731,129743,14,917505,917505,4,917760,917999,5,10,10,3,127,159,4,768,879,5,1471,1471,5,1536,1541,1,1648,1648,5,1767,1768,5,1840,1866,5,2070,2073,5,2137,2139,5,2307,2307,7,2366,2368,7,2382,2383,7,2434,2435,7,2497,2500,5,2519,2519,5,2563,2563,7,2631,2632,5,2677,2677,5,2750,2752,7,2763,2764,7,2817,2817,5,2879,2879,5,2891,2892,7,2914,2915,5,3008,3008,5,3021,3021,5,3076,3076,5,3146,3149,5,3202,3203,7,3264,3265,7,3271,3272,7,3298,3299,5,3390,3390,5,3402,3404,7,3426,3427,5,3535,3535,5,3544,3550,7,3635,3635,7,3763,3763,7,3893,3893,5,3953,3966,5,3981,3991,5,4145,4145,7,4157,4158,5,4209,4212,5,4237,4237,5,4520,4607,10,5970,5971,5,6071,6077,5,6089,6099,5,6277,6278,5,6439,6440,5,6451,6456,7,6683,6683,5,6744,6750,5,6765,6770,7,6846,6846,5,6964,6964,5,6972,6972,5,7019,7027,5,7074,7077,5,7083,7085,5,7146,7148,7,7154,7155,7,7222,7223,5,7394,7400,5,7416,7417,5,8204,8204,5,8233,8233,4,8288,8292,4,8413,8416,5,8482,8482,14,8986,8987,14,9193,9203,14,9654,9654,14,9733,9733,14,9745,9745,14,9752,9752,14,9760,9760,14,9766,9766,14,9774,9775,14,9792,9792,14,9800,9811,14,9825,9826,14,9831,9831,14,9852,9853,14,9872,9873,14,9880,9880,14,9885,9887,14,9896,9897,14,9906,9916,14,9926,9927,14,9936,9936,14,9941,9960,14,9974,9974,14,9982,9985,14,9992,9997,14,10002,10002,14,10017,10017,14,10055,10055,14,10071,10071,14,10145,10145,14,11013,11015,14,11503,11505,5,12334,12335,5,12951,12951,14,42612,42621,5,43014,43014,5,43047,43047,7,43204,43205,5,43335,43345,5,43395,43395,7,43450,43451,7,43561,43566,5,43573,43574,5,43644,43644,5,43710,43711,5,43758,43759,7,44005,44005,5,44012,44012,7,44060,44060,11,44116,44116,11,44172,44172,11,44228,44228,11,44284,44284,11,44340,44340,11,44396,44396,11,44452,44452,11,44508,44508,11,44564,44564,11,44620,44620,11,44676,44676,11,44732,44732,11,44788,44788,11,44844,44844,11,44900,44900,11,44956,44956,11,45012,45012,11,45068,45068,11,45124,45124,11,45180,45180,11,45236,45236,11,45292,45292,11,45348,45348,11,45404,45404,11,45460,45460,11,45516,45516,11,45572,45572,11,45628,45628,11,45684,45684,11,45740,45740,11,45796,45796,11,45852,45852,11,45908,45908,11,45964,45964,11,46020,46020,11,46076,46076,11,46132,46132,11,46188,46188,11,46244,46244,11,46300,46300,11,46356,46356,11,46412,46412,11,46468,46468,11,46524,46524,11,46580,46580,11,46636,46636,11,46692,46692,11,46748,46748,11,46804,46804,11,46860,46860,11,46916,46916,11,46972,46972,11,47028,47028,11,47084,47084,11,47140,47140,11,47196,47196,11,47252,47252,11,47308,47308,11,47364,47364,11,47420,47420,11,47476,47476,11,47532,47532,11,47588,47588,11,47644,47644,11,47700,47700,11,47756,47756,11,47812,47812,11,47868,47868,11,47924,47924,11,47980,47980,11,48036,48036,11,48092,48092,11,48148,48148,11,48204,48204,11,48260,48260,11,48316,48316,11,48372,48372,11,48428,48428,11,48484,48484,11,48540,48540,11,48596,48596,11,48652,48652,11,48708,48708,11,48764,48764,11,48820,48820,11,48876,48876,11,48932,48932,11,48988,48988,11,49044,49044,11,49100,49100,11,49156,49156,11,49212,49212,11,49268,49268,11,49324,49324,11,49380,49380,11,49436,49436,11,49492,49492,11,49548,49548,11,49604,49604,11,49660,49660,11,49716,49716,11,49772,49772,11,49828,49828,11,49884,49884,11,49940,49940,11,49996,49996,11,50052,50052,11,50108,50108,11,50164,50164,11,50220,50220,11,50276,50276,11,50332,50332,11,50388,50388,11,50444,50444,11,50500,50500,11,50556,50556,11,50612,50612,11,50668,50668,11,50724,50724,11,50780,50780,11,50836,50836,11,50892,50892,11,50948,50948,11,51004,51004,11,51060,51060,11,51116,51116,11,51172,51172,11,51228,51228,11,51284,51284,11,51340,51340,11,51396,51396,11,51452,51452,11,51508,51508,11,51564,51564,11,51620,51620,11,51676,51676,11,51732,51732,11,51788,51788,11,51844,51844,11,51900,51900,11,51956,51956,11,52012,52012,11,52068,52068,11,52124,52124,11,52180,52180,11,52236,52236,11,52292,52292,11,52348,52348,11,52404,52404,11,52460,52460,11,52516,52516,11,52572,52572,11,52628,52628,11,52684,52684,11,52740,52740,11,52796,52796,11,52852,52852,11,52908,52908,11,52964,52964,11,53020,53020,11,53076,53076,11,53132,53132,11,53188,53188,11,53244,53244,11,53300,53300,11,53356,53356,11,53412,53412,11,53468,53468,11,53524,53524,11,53580,53580,11,53636,53636,11,53692,53692,11,53748,53748,11,53804,53804,11,53860,53860,11,53916,53916,11,53972,53972,11,54028,54028,11,54084,54084,11,54140,54140,11,54196,54196,11,54252,54252,11,54308,54308,11,54364,54364,11,54420,54420,11,54476,54476,11,54532,54532,11,54588,54588,11,54644,54644,11,54700,54700,11,54756,54756,11,54812,54812,11,54868,54868,11,54924,54924,11,54980,54980,11,55036,55036,11,55092,55092,11,55148,55148,11,55216,55238,9,65056,65071,5,65529,65531,4,68097,68099,5,68159,68159,5,69446,69456,5,69688,69702,5,69808,69810,7,69815,69816,7,69821,69821,1,69888,69890,5,69932,69932,7,69957,69958,7,70016,70017,5,70067,70069,7,70079,70080,7,70089,70092,5,70095,70095,5,70191,70193,5,70196,70196,5,70198,70199,5,70367,70367,5,70371,70378,5,70402,70403,7,70462,70462,5,70464,70464,5,70471,70472,7,70487,70487,5,70502,70508,5,70709,70711,7,70720,70721,7,70725,70725,7,70750,70750,5,70833,70834,7,70841,70841,7,70843,70844,7,70846,70846,7,70849,70849,7,71087,71087,5,71090,71093,5,71100,71101,5,71103,71104,5,71216,71218,7,71227,71228,7,71230,71230,7,71339,71339,5,71341,71341,5,71344,71349,5,71351,71351,5,71456,71457,7,71462,71462,7,71724,71726,7,71736,71736,7,71984,71984,5,71991,71992,7,71997,71997,7,71999,71999,1,72001,72001,1,72003,72003,5,72148,72151,5,72156,72159,7,72164,72164,7,72243,72248,5,72250,72250,1,72263,72263,5,72279,72280,7,72324,72329,1,72343,72343,7,72751,72751,7,72760,72765,5,72767,72767,5,72873,72873,7,72881,72881,7,72884,72884,7,73009,73014,5,73020,73021,5,73030,73030,1,73098,73102,7,73107,73108,7,73110,73110,7,73459,73460,5,78896,78904,4,92976,92982,5,94033,94087,7,94180,94180,5,113821,113822,5,119141,119141,5,119143,119145,5,119150,119154,5,119163,119170,5,119210,119213,5,121344,121398,5,121461,121461,5,121499,121503,5,122880,122886,5,122907,122913,5,122918,122922,5,123628,123631,5,125252,125258,5,126980,126980,14,127183,127183,14,127245,127247,14,127340,127343,14,127358,127359,14,127377,127386,14,127462,127487,6,127491,127503,14,127535,127535,14,127548,127551,14,127568,127569,14,127744,127777,14,127780,127891,14,127894,127895,14,127897,127899,14,127902,127984,14,127987,127989,14,127991,127994,14,128000,128253,14,128255,128317,14,128329,128334,14,128336,128359,14,128367,128368,14,128371,128377,14,128379,128390,14,128392,128393,14,128398,128399,14,128401,128404,14,128407,128419,14,128421,128421,14,128424,128424,14,128433,128434,14,128444,128444,14,128450,128452,14,128465,128467,14,128476,128478,14,128481,128481,14,128483,128483,14,128488,128488,14,128495,128495,14,128499,128499,14,128506,128591,14,128710,128714,14,128721,128722,14,128725,128725,14,128728,128735,14,128742,128744,14,128746,128746,14,128749,128751,14,128753,128754,14,128756,128758,14,128761,128761,14,128763,128764,14,128884,128895,14,128992,129003,14,129036,129039,14,129114,129119,14,129198,129279,14,129293,129295,14,129305,129310,14,129312,129319,14,129328,129328,14,129331,129338,14,129343,129343,14,129351,129355,14,129357,129359,14,129375,129387,14,129393,129393,14,129395,129398,14,129401,129401,14,129403,129403,14,129408,129412,14,129426,129431,14,129443,129444,14,129451,129453,14,129456,129465,14,129472,129472,14,129475,129482,14,129484,129484,14,129488,129510,14,129536,129647,14,129652,129652,14,129656,129658,14,129664,129666,14,129671,129679,14,129686,129704,14,129712,129718,14,129728,129730,14,129744,129750,14,917504,917504,4,917506,917535,4,917632,917759,4,918000,921599,4,0,9,4,11,12,4,14,31,4,169,169,14,174,174,14,1155,1159,5,1425,1469,5,1473,1474,5,1479,1479,5,1552,1562,5,1611,1631,5,1750,1756,5,1759,1764,5,1770,1773,5,1809,1809,5,1958,1968,5,2045,2045,5,2075,2083,5,2089,2093,5,2259,2273,5,2275,2306,5,2362,2362,5,2364,2364,5,2369,2376,5,2381,2381,5,2385,2391,5,2433,2433,5,2492,2492,5,2495,2496,7,2503,2504,7,2509,2509,5,2530,2531,5,2561,2562,5,2620,2620,5,2625,2626,5,2635,2637,5,2672,2673,5,2689,2690,5,2748,2748,5,2753,2757,5,2761,2761,7,2765,2765,5,2810,2815,5,2818,2819,7,2878,2878,5,2880,2880,7,2887,2888,7,2893,2893,5,2903,2903,5,2946,2946,5,3007,3007,7,3009,3010,7,3018,3020,7,3031,3031,5,3073,3075,7,3134,3136,5,3142,3144,5,3157,3158,5,3201,3201,5,3260,3260,5,3263,3263,5,3266,3266,5,3270,3270,5,3274,3275,7,3285,3286,5,3328,3329,5,3387,3388,5,3391,3392,7,3398,3400,7,3405,3405,5,3415,3415,5,3457,3457,5,3530,3530,5,3536,3537,7,3542,3542,5,3551,3551,5,3633,3633,5,3636,3642,5,3761,3761,5,3764,3772,5,3864,3865,5,3895,3895,5,3902,3903,7,3967,3967,7,3974,3975,5,3993,4028,5,4141,4144,5,4146,4151,5,4155,4156,7,4182,4183,7,4190,4192,5,4226,4226,5,4229,4230,5,4253,4253,5,4448,4519,9,4957,4959,5,5938,5940,5,6002,6003,5,6070,6070,7,6078,6085,7,6087,6088,7,6109,6109,5,6158,6158,4,6313,6313,5,6435,6438,7,6441,6443,7,6450,6450,5,6457,6459,5,6681,6682,7,6741,6741,7,6743,6743,7,6752,6752,5,6757,6764,5,6771,6780,5,6832,6845,5,6847,6848,5,6916,6916,7,6965,6965,5,6971,6971,7,6973,6977,7,6979,6980,7,7040,7041,5,7073,7073,7,7078,7079,7,7082,7082,7,7142,7142,5,7144,7145,5,7149,7149,5,7151,7153,5,7204,7211,7,7220,7221,7,7376,7378,5,7393,7393,7,7405,7405,5,7415,7415,7,7616,7673,5,8203,8203,4,8205,8205,13,8232,8232,4,8234,8238,4,8265,8265,14,8293,8293,4,8400,8412,5,8417,8417,5,8421,8432,5,8505,8505,14,8617,8618,14,9000,9000,14,9167,9167,14,9208,9210,14,9642,9643,14,9664,9664,14,9728,9732,14,9735,9741,14,9743,9744,14,9746,9746,14,9750,9751,14,9753,9756,14,9758,9759,14,9761,9761,14,9764,9765,14,9767,9769,14,9771,9773,14,9776,9783,14,9787,9791,14,9793,9793,14,9795,9799,14,9812,9822,14,9824,9824,14,9827,9827,14,9829,9830,14,9832,9832,14,9851,9851,14,9854,9854,14,9856,9861,14,9874,9876,14,9878,9879,14,9881,9881,14,9883,9884,14,9888,9889,14,9895,9895,14,9898,9899,14,9904,9905,14,9917,9918,14,9924,9925,14,9928,9928,14,9934,9935,14,9937,9937,14,9939,9940,14,9961,9962,14,9968,9973,14,9975,9978,14,9981,9981,14,9986,9986,14,9989,9989,14,9998,9998,14,10000,10001,14,10004,10004,14,10013,10013,14,10024,10024,14,10052,10052,14,10060,10060,14,10067,10069,14,10083,10084,14,10133,10135,14,10160,10160,14,10548,10549,14,11035,11036,14,11093,11093,14,11647,11647,5,12330,12333,5,12336,12336,14,12441,12442,5,12953,12953,14,42608,42610,5,42654,42655,5,43010,43010,5,43019,43019,5,43045,43046,5,43052,43052,5,43188,43203,7,43232,43249,5,43302,43309,5,43346,43347,7,43392,43394,5,43443,43443,5,43446,43449,5,43452,43453,5,43493,43493,5,43567,43568,7,43571,43572,7,43587,43587,5,43597,43597,7,43696,43696,5,43703,43704,5,43713,43713,5,43756,43757,5,43765,43765,7,44003,44004,7,44006,44007,7,44009,44010,7,44013,44013,5,44033,44059,12,44061,44087,12,44089,44115,12,44117,44143,12,44145,44171,12,44173,44199,12,44201,44227,12,44229,44255,12,44257,44283,12,44285,44311,12,44313,44339,12,44341,44367,12,44369,44395,12,44397,44423,12,44425,44451,12,44453,44479,12,44481,44507,12,44509,44535,12,44537,44563,12,44565,44591,12,44593,44619,12,44621,44647,12,44649,44675,12,44677,44703,12,44705,44731,12,44733,44759,12,44761,44787,12,44789,44815,12,44817,44843,12,44845,44871,12,44873,44899,12,44901,44927,12,44929,44955,12,44957,44983,12,44985,45011,12,45013,45039,12,45041,45067,12,45069,45095,12,45097,45123,12,45125,45151,12,45153,45179,12,45181,45207,12,45209,45235,12,45237,45263,12,45265,45291,12,45293,45319,12,45321,45347,12,45349,45375,12,45377,45403,12,45405,45431,12,45433,45459,12,45461,45487,12,45489,45515,12,45517,45543,12,45545,45571,12,45573,45599,12,45601,45627,12,45629,45655,12,45657,45683,12,45685,45711,12,45713,45739,12,45741,45767,12,45769,45795,12,45797,45823,12,45825,45851,12,45853,45879,12,45881,45907,12,45909,45935,12,45937,45963,12,45965,45991,12,45993,46019,12,46021,46047,12,46049,46075,12,46077,46103,12,46105,46131,12,46133,46159,12,46161,46187,12,46189,46215,12,46217,46243,12,46245,46271,12,46273,46299,12,46301,46327,12,46329,46355,12,46357,46383,12,46385,46411,12,46413,46439,12,46441,46467,12,46469,46495,12,46497,46523,12,46525,46551,12,46553,46579,12,46581,46607,12,46609,46635,12,46637,46663,12,46665,46691,12,46693,46719,12,46721,46747,12,46749,46775,12,46777,46803,12,46805,46831,12,46833,46859,12,46861,46887,12,46889,46915,12,46917,46943,12,46945,46971,12,46973,46999,12,47001,47027,12,47029,47055,12,47057,47083,12,47085,47111,12,47113,47139,12,47141,47167,12,47169,47195,12,47197,47223,12,47225,47251,12,47253,47279,12,47281,47307,12,47309,47335,12,47337,47363,12,47365,47391,12,47393,47419,12,47421,47447,12,47449,47475,12,47477,47503,12,47505,47531,12,47533,47559,12,47561,47587,12,47589,47615,12,47617,47643,12,47645,47671,12,47673,47699,12,47701,47727,12,47729,47755,12,47757,47783,12,47785,47811,12,47813,47839,12,47841,47867,12,47869,47895,12,47897,47923,12,47925,47951,12,47953,47979,12,47981,48007,12,48009,48035,12,48037,48063,12,48065,48091,12,48093,48119,12,48121,48147,12,48149,48175,12,48177,48203,12,48205,48231,12,48233,48259,12,48261,48287,12,48289,48315,12,48317,48343,12,48345,48371,12,48373,48399,12,48401,48427,12,48429,48455,12,48457,48483,12,48485,48511,12,48513,48539,12,48541,48567,12,48569,48595,12,48597,48623,12,48625,48651,12,48653,48679,12,48681,48707,12,48709,48735,12,48737,48763,12,48765,48791,12,48793,48819,12,48821,48847,12,48849,48875,12,48877,48903,12,48905,48931,12,48933,48959,12,48961,48987,12,48989,49015,12,49017,49043,12,49045,49071,12,49073,49099,12,49101,49127,12,49129,49155,12,49157,49183,12,49185,49211,12,49213,49239,12,49241,49267,12,49269,49295,12,49297,49323,12,49325,49351,12,49353,49379,12,49381,49407,12,49409,49435,12,49437,49463,12,49465,49491,12,49493,49519,12,49521,49547,12,49549,49575,12,49577,49603,12,49605,49631,12,49633,49659,12,49661,49687,12,49689,49715,12,49717,49743,12,49745,49771,12,49773,49799,12,49801,49827,12,49829,49855,12,49857,49883,12,49885,49911,12,49913,49939,12,49941,49967,12,49969,49995,12,49997,50023,12,50025,50051,12,50053,50079,12,50081,50107,12,50109,50135,12,50137,50163,12,50165,50191,12,50193,50219,12,50221,50247,12,50249,50275,12,50277,50303,12,50305,50331,12,50333,50359,12,50361,50387,12,50389,50415,12,50417,50443,12,50445,50471,12,50473,50499,12,50501,50527,12,50529,50555,12,50557,50583,12,50585,50611,12,50613,50639,12,50641,50667,12,50669,50695,12,50697,50723,12,50725,50751,12,50753,50779,12,50781,50807,12,50809,50835,12,50837,50863,12,50865,50891,12,50893,50919,12,50921,50947,12,50949,50975,12,50977,51003,12,51005,51031,12,51033,51059,12,51061,51087,12,51089,51115,12,51117,51143,12,51145,51171,12,51173,51199,12,51201,51227,12,51229,51255,12,51257,51283,12,51285,51311,12,51313,51339,12,51341,51367,12,51369,51395,12,51397,51423,12,51425,51451,12,51453,51479,12,51481,51507,12,51509,51535,12,51537,51563,12,51565,51591,12,51593,51619,12,51621,51647,12,51649,51675,12,51677,51703,12,51705,51731,12,51733,51759,12,51761,51787,12,51789,51815,12,51817,51843,12,51845,51871,12,51873,51899,12,51901,51927,12,51929,51955,12,51957,51983,12,51985,52011,12,52013,52039,12,52041,52067,12,52069,52095,12,52097,52123,12,52125,52151,12,52153,52179,12,52181,52207,12,52209,52235,12,52237,52263,12,52265,52291,12,52293,52319,12,52321,52347,12,52349,52375,12,52377,52403,12,52405,52431,12,52433,52459,12,52461,52487,12,52489,52515,12,52517,52543,12,52545,52571,12,52573,52599,12,52601,52627,12,52629,52655,12,52657,52683,12,52685,52711,12,52713,52739,12,52741,52767,12,52769,52795,12,52797,52823,12,52825,52851,12,52853,52879,12,52881,52907,12,52909,52935,12,52937,52963,12,52965,52991,12,52993,53019,12,53021,53047,12,53049,53075,12,53077,53103,12,53105,53131,12,53133,53159,12,53161,53187,12,53189,53215,12,53217,53243,12,53245,53271,12,53273,53299,12,53301,53327,12,53329,53355,12,53357,53383,12,53385,53411,12,53413,53439,12,53441,53467,12,53469,53495,12,53497,53523,12,53525,53551,12,53553,53579,12,53581,53607,12,53609,53635,12,53637,53663,12,53665,53691,12,53693,53719,12,53721,53747,12,53749,53775,12,53777,53803,12,53805,53831,12,53833,53859,12,53861,53887,12,53889,53915,12,53917,53943,12,53945,53971,12,53973,53999,12,54001,54027,12,54029,54055,12,54057,54083,12,54085,54111,12,54113,54139,12,54141,54167,12,54169,54195,12,54197,54223,12,54225,54251,12,54253,54279,12,54281,54307,12,54309,54335,12,54337,54363,12,54365,54391,12,54393,54419,12,54421,54447,12,54449,54475,12,54477,54503,12,54505,54531,12,54533,54559,12,54561,54587,12,54589,54615,12,54617,54643,12,54645,54671,12,54673,54699,12,54701,54727,12,54729,54755,12,54757,54783,12,54785,54811,12,54813,54839,12,54841,54867,12,54869,54895,12,54897,54923,12,54925,54951,12,54953,54979,12,54981,55007,12,55009,55035,12,55037,55063,12,55065,55091,12,55093,55119,12,55121,55147,12,55149,55175,12,55177,55203,12,55243,55291,10,65024,65039,5,65279,65279,4,65520,65528,4,66045,66045,5,66422,66426,5,68101,68102,5,68152,68154,5,68325,68326,5,69291,69292,5,69632,69632,7,69634,69634,7,69759,69761,5]")}function O(g,P){if(g===0)return 0;const z=q(g,P);if(z!==void 0)return z;const D=x(P,g);return g-=ie(D),g}function q(g,P){let z=x(P,g);for(g-=ie(z);R(z)||z===65039||z===8419;){if(g===0)return;z=x(P,g),g-=ie(z)}if(mt(z)){if(g>=0){const D=x(P,g);D===8205&&(g-=ie(D))}return g}}function ie(g){return g>=65536?2:1}function R(g){return 127995<=g&&g<=127999}},72999:function(It,Fe,l){"use strict";l.d(Fe,{$E:function(){return o},$K:function(){return $},D8:function(){return t},HD:function(){return A},IU:function(){return v},Jp:function(){return G},Kn:function(){return j},cW:function(){return s},f6:function(){return b},hj:function(){return X},jn:function(){return V},kJ:function(){return T},mf:function(){return c},o8:function(){return h},p_:function(){return e},vE:function(){return S}});function T(p){return Array.isArray(p)}function A(p){return typeof p=="string"}function j(p){return typeof p=="object"&&p!==null&&!Array.isArray(p)&&!(p instanceof RegExp)&&!(p instanceof Date)}function X(p){return typeof p=="number"&&!isNaN(p)}function V(p){return p===!0||p===!1}function h(p){return typeof p=="undefined"}function $(p){return!G(p)}function G(p){return h(p)||p===null}function e(p,m){if(!p)throw new Error(m?`Unexpected type, expected '${m}'`:"Unexpected type")}function s(p){if(G(p))throw new Error("Assertion Failed: argument is undefined or null");return p}function c(p){return typeof p=="function"}function t(p,m){const f=Math.min(p.length,m.length);for(let u=0;u<f;u++)r(p[u],m[u])}function r(p,m){if(A(m)){if(typeof p!==m)throw new Error(`argument does not match constraint: typeof ${m}`)}else if(c(m)){try{if(p instanceof m)return}catch(f){}if(!G(p)&&p.constructor===m||m.length===1&&m.call(void 0,p)===!0)return;throw new Error("argument does not match one of these constraints: arg instanceof constraint, arg.constructor === constraint, nor constraint(arg) === true")}}function i(p){let m=[],f=Object.getPrototypeOf(p);for(;Object.prototype!==f;)m=m.concat(Object.getOwnPropertyNames(f)),f=Object.getPrototypeOf(f);return m}function o(p){const m=[];for(const f of i(p))typeof p[f]=="function"&&m.push(f);return m}function v(p,m){const f=k=>function(){const I=Array.prototype.slice.call(arguments,0);return m(k,I)};let u={};for(const k of p)u[k]=f(k);return u}function b(p){return p===null?void 0:p}function S(p,m="Unreachable"){throw new Error(m)}},13268:function(It,Fe,l){"use strict";l.d(Fe,{N:function(){return A}});function T(j,X){let V;return X.length===0?V=j:V=j.replace(/\{(\d+)\}/g,function(h,$){const G=$[0];return typeof X[G]!="undefined"?X[G]:h}),V}function A(j,X,...V){return T(X,V)}},96236:function(It,Fe,l){"use strict";l.d(Fe,{BH:function(){return v},NZ:function(){return b},U8:function(){return S},co:function(){return o},eH:function(){return i},vr:function(){return r}});var T=l(75918),A=l(52615),j=l(4348),X=l(88226),V=l(69323),h=l(34502),$=l(35884),G=l(90689),e=l(16925),s=l(49055),c=function(p,m,f,u){var k=arguments.length,I=k<3?m:u===null?u=Object.getOwnPropertyDescriptor(m,f):u,F;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")I=Reflect.decorate(p,m,f,u);else for(var K=p.length-1;K>=0;K--)(F=p[K])&&(I=(k<3?F(I):k>3?F(m,f,I):F(m,f))||I);return k>3&&I&&Object.defineProperty(m,f,I),I},t=function(p,m){return function(f,u){m(f,u,p)}};function r(p){return p.command!==void 0}class i{constructor(m){this.id=i._idPool++,this._debugName=m}}i._idPool=0,i.CommandPalette=new i("CommandPalette"),i.EditorContext=new i("EditorContext"),i.SimpleEditorContext=new i("SimpleEditorContext"),i.EditorContextCopy=new i("EditorContextCopy"),i.EditorContextPeek=new i("EditorContextPeek"),i.MenubarEditMenu=new i("MenubarEditMenu"),i.MenubarCopy=new i("MenubarCopy"),i.MenubarGoMenu=new i("MenubarGoMenu"),i.MenubarSelectionMenu=new i("MenubarSelectionMenu"),i.InlineCompletionsActions=new i("InlineCompletionsActions");const o=(0,e.yh)("menuService"),v=new class{constructor(){this._commands=new Map,this._menuItems=new Map,this._onDidChangeMenu=new j.Q5,this.onDidChangeMenu=this._onDidChangeMenu.event,this._commandPaletteChangeEvent={has:p=>p===i.CommandPalette}}addCommand(p){return this.addCommands(X.$.single(p))}addCommands(p){for(const m of p)this._commands.set(m.id,m);return this._onDidChangeMenu.fire(this._commandPaletteChangeEvent),(0,V.OF)(()=>{let m=!1;for(const f of p)m=this._commands.delete(f.id)||m;m&&this._onDidChangeMenu.fire(this._commandPaletteChangeEvent)})}getCommand(p){return this._commands.get(p)}getCommands(){const p=new Map;return this._commands.forEach((m,f)=>p.set(f,m)),p}appendMenuItem(p,m){return this.appendMenuItems(X.$.single({id:p,item:m}))}appendMenuItems(p){const m=new Set,f=new h.S;for(const{id:u,item:k}of p){let I=this._menuItems.get(u);I||(I=new h.S,this._menuItems.set(u,I)),f.push(I.push(k)),m.add(u)}return this._onDidChangeMenu.fire(m),(0,V.OF)(()=>{if(f.size>0){for(let u of f)u();this._onDidChangeMenu.fire(m),f.clear()}})}getMenuItems(p){let m;return this._menuItems.has(p)?m=[...this._menuItems.get(p)]:m=[],p===i.CommandPalette&&this._appendImplicitItems(m),m}_appendImplicitItems(p){const m=new Set;for(const f of p)r(f)&&(m.add(f.command.id),f.alt&&m.add(f.alt.id));this._commands.forEach((f,u)=>{m.has(u)||p.push({command:f})})}};class b extends T.wY{constructor(m,f,u,k){super(`submenuitem.${m.submenu.id}`,typeof m.title=="string"?m.title:m.title.value,[],"submenu"),this.item=m,this._menuService=f,this._contextKeyService=u,this._options=k}get actions(){const m=[],f=this._menuService.createMenu(this.item.submenu,this._contextKeyService),u=f.getActions(this._options);f.dispose();for(const[,k]of u)k.length>0&&(m.push(...k),m.push(new T.Z0));return m.length&&m.pop(),m}}let S=class ba{constructor(m,f,u,k,I){var F,K;if(this._commandService=I,this.id=m.id,this.label=u!=null&&u.renderShortTitle&&m.shortTitle?typeof m.shortTitle=="string"?m.shortTitle:m.shortTitle.value:typeof m.title=="string"?m.title:m.title.value,this.tooltip=(K=typeof m.tooltip=="string"?m.tooltip:(F=m.tooltip)===null||F===void 0?void 0:F.value)!==null&&K!==void 0?K:"",this.enabled=!m.precondition||k.contextMatchesRules(m.precondition),this.checked=void 0,m.toggled){const Y=m.toggled.condition?m.toggled:{condition:m.toggled};this.checked=k.contextMatchesRules(Y.condition),this.checked&&Y.tooltip&&(this.tooltip=typeof Y.tooltip=="string"?Y.tooltip:Y.tooltip.value),Y.title&&(this.label=typeof Y.title=="string"?Y.title:Y.title.value)}this.item=m,this.alt=f?new ba(f,void 0,u,k,I):void 0,this._options=u,s.kS.isThemeIcon(m.icon)&&(this.class=A.dT.asClassName(m.icon))}dispose(){}run(...m){var f,u;let k=[];return!((f=this._options)===null||f===void 0)&&f.arg&&(k=[...k,this._options.arg]),!((u=this._options)===null||u===void 0)&&u.shouldForwardArgs&&(k=[...k,...m]),this._commandService.executeCommand(this.id,...k)}};S=c([t(3,G.i6),t(4,$.H)],S)},35884:function(It,Fe,l){"use strict";l.d(Fe,{H:function(){return $},P:function(){return G}});var T=l(4348),A=l(88226),j=l(69323),X=l(34502),V=l(72999),h=l(16925);const $=(0,h.yh)("commandService"),G=new class{constructor(){this._commands=new Map,this._onDidRegisterCommand=new T.Q5,this.onDidRegisterCommand=this._onDidRegisterCommand.event}registerCommand(e,s){if(!e)throw new Error("invalid command");if(typeof e=="string"){if(!s)throw new Error("invalid command");return this.registerCommand({id:e,handler:s})}if(e.description){const o=[];for(let b of e.description.args)o.push(b.constraint);const v=e.handler;e.handler=function(b,...S){return(0,V.D8)(S,o),v(b,...S)}}const{id:c}=e;let t=this._commands.get(c);t||(t=new X.S,this._commands.set(c,t));let r=t.unshift(e),i=(0,j.OF)(()=>{r();const o=this._commands.get(c);o!=null&&o.isEmpty()&&this._commands.delete(c)});return this._onDidRegisterCommand.fire(c),i}registerCommandAlias(e,s){return G.registerCommand(e,(c,...t)=>c.get($).executeCommand(s,...t))}getCommand(e){const s=this._commands.get(e);if(!(!s||s.isEmpty()))return A.$.first(s)}getCommands(){const e=new Map;for(const s of this._commands.keys()){const c=this.getCommand(s);c&&e.set(s,c)}return e}};G.registerCommand("noop",()=>{})},90689:function(It,Fe,l){"use strict";l.d(Fe,{Ao:function(){return $},Eq:function(){return w},Fb:function(){return G},K8:function(){return N},i6:function(){return Pe},uy:function(){return W}});var T=l(23345),A=l(82983),j=l(16925);let X=T.WE||"";const V=new Map;V.set("false",!1),V.set("true",!0),V.set("isMac",T.dz),V.set("isLinux",T.IJ),V.set("isWindows",T.ED),V.set("isWeb",T.$L),V.set("isMacNative",T.dz&&!T.$L),V.set("isEdge",X.indexOf("Edg/")>=0),V.set("isFirefox",X.indexOf("Firefox")>=0),V.set("isChrome",X.indexOf("Chrome")>=0),V.set("isSafari",X.indexOf("Safari")>=0);const h=Object.prototype.hasOwnProperty;class ${static has(n){return t.create(n)}static equals(n,a){return r.create(n,a)}static regex(n,a){return k.create(n,a)}static not(n){return b.create(n)}static and(...n){return K.create(n,null)}static or(...n){return Y.create(n,null,!0)}static deserialize(n,a=!1){if(n)return this._deserializeOrExpression(n,a)}static _deserializeOrExpression(n,a){let d=n.split("||");return Y.create(d.map(M=>this._deserializeAndExpression(M,a)),null,!0)}static _deserializeAndExpression(n,a){let d=n.split("&&");return K.create(d.map(M=>this._deserializeOne(M,a)),null)}static _deserializeOne(n,a){if(n=n.trim(),n.indexOf("!=")>=0){let d=n.split("!=");return v.create(d[0].trim(),this._deserializeValue(d[1],a))}if(n.indexOf("==")>=0){let d=n.split("==");return r.create(d[0].trim(),this._deserializeValue(d[1],a))}if(n.indexOf("=~")>=0){let d=n.split("=~");return k.create(d[0].trim(),this._deserializeRegexValue(d[1],a))}if(n.indexOf(" in ")>=0){let d=n.split(" in ");return i.create(d[0].trim(),d[1].trim())}if(/^[^<=>]+>=[^<=>]+$/.test(n)){const d=n.split(">=");return m.create(d[0].trim(),d[1].trim())}if(/^[^<=>]+>[^<=>]+$/.test(n)){const d=n.split(">");return p.create(d[0].trim(),d[1].trim())}if(/^[^<=>]+<=[^<=>]+$/.test(n)){const d=n.split("<=");return u.create(d[0].trim(),d[1].trim())}if(/^[^<=>]+<[^<=>]+$/.test(n)){const d=n.split("<");return f.create(d[0].trim(),d[1].trim())}return/^\!\s*/.test(n)?b.create(n.substr(1).trim()):t.create(n)}static _deserializeValue(n,a){if(n=n.trim(),n==="true")return!0;if(n==="false")return!1;let d=/^'([^']*)'$/.exec(n);return d?d[1].trim():n}static _deserializeRegexValue(n,a){if((0,A.m5)(n)){if(a)throw new Error("missing regexp-value for =~-expression");return console.warn("missing regexp-value for =~-expression"),null}let d=n.indexOf("/"),M=n.lastIndexOf("/");if(d===M||d<0){if(a)throw new Error(`bad regexp-value '${n}', missing /-enclosure`);return console.warn(`bad regexp-value '${n}', missing /-enclosure`),null}let ae=n.slice(d+1,M),de=n[M+1]==="i"?"i":"";try{return new RegExp(ae,de)}catch(ye){if(a)throw new Error(`bad regexp-value '${n}', parse error: ${ye}`);return console.warn(`bad regexp-value '${n}', parse error: ${ye}`),null}}}function G(y,n){const a=y?y.substituteConstants():void 0,d=n?n.substituteConstants():void 0;return!a&&!d?!0:!a||!d?!1:a.equals(d)}function e(y,n){return y.cmp(n)}class s{constructor(){this.type=0}cmp(n){return this.type-n.type}equals(n){return n.type===this.type}substituteConstants(){return this}evaluate(n){return!1}serialize(){return"false"}keys(){return[]}negate(){return c.INSTANCE}}s.INSTANCE=new s;class c{constructor(){this.type=1}cmp(n){return this.type-n.type}equals(n){return n.type===this.type}substituteConstants(){return this}evaluate(n){return!0}serialize(){return"true"}keys(){return[]}negate(){return s.INSTANCE}}c.INSTANCE=new c;class t{constructor(n,a){this.key=n,this.negated=a,this.type=2}static create(n,a=null){const d=V.get(n);return typeof d=="boolean"?d?c.INSTANCE:s.INSTANCE:new t(n,a)}cmp(n){return n.type!==this.type?this.type-n.type:_(this.key,n.key)}equals(n){return n.type===this.type?this.key===n.key:!1}substituteConstants(){const n=V.get(this.key);return typeof n=="boolean"?n?c.INSTANCE:s.INSTANCE:this}evaluate(n){return!!n.getValue(this.key)}serialize(){return this.key}keys(){return[this.key]}negate(){return this.negated||(this.negated=b.create(this.key,this)),this.negated}}class r{constructor(n,a,d){this.key=n,this.value=a,this.negated=d,this.type=4}static create(n,a,d=null){if(typeof a=="boolean")return a?t.create(n,d):b.create(n,d);const M=V.get(n);return typeof M=="boolean"?a===(M?"true":"false")?c.INSTANCE:s.INSTANCE:new r(n,a,d)}cmp(n){return n.type!==this.type?this.type-n.type:x(this.key,this.value,n.key,n.value)}equals(n){return n.type===this.type?this.key===n.key&&this.value===n.value:!1}substituteConstants(){const n=V.get(this.key);if(typeof n=="boolean"){const a=n?"true":"false";return this.value===a?c.INSTANCE:s.INSTANCE}return this}evaluate(n){return n.getValue(this.key)==this.value}serialize(){return`${this.key} == '${this.value}'`}keys(){return[this.key]}negate(){return this.negated||(this.negated=v.create(this.key,this.value,this)),this.negated}}class i{constructor(n,a){this.key=n,this.valueKey=a,this.type=10,this.negated=null}static create(n,a){return new i(n,a)}cmp(n){return n.type!==this.type?this.type-n.type:x(this.key,this.valueKey,n.key,n.valueKey)}equals(n){return n.type===this.type?this.key===n.key&&this.valueKey===n.valueKey:!1}substituteConstants(){return this}evaluate(n){const a=n.getValue(this.valueKey),d=n.getValue(this.key);return Array.isArray(a)?a.indexOf(d)>=0:typeof d=="string"&&typeof a=="object"&&a!==null?h.call(a,d):!1}serialize(){return`${this.key} in '${this.valueKey}'`}keys(){return[this.key,this.valueKey]}negate(){return this.negated||(this.negated=o.create(this)),this.negated}}class o{constructor(n){this._actual=n,this.type=11}static create(n){return new o(n)}cmp(n){return n.type!==this.type?this.type-n.type:this._actual.cmp(n._actual)}equals(n){return n.type===this.type?this._actual.equals(n._actual):!1}substituteConstants(){return this}evaluate(n){return!this._actual.evaluate(n)}serialize(){throw new Error("Method not implemented.")}keys(){return this._actual.keys()}negate(){return this._actual}}class v{constructor(n,a,d){this.key=n,this.value=a,this.negated=d,this.type=5}static create(n,a,d=null){if(typeof a=="boolean")return a?b.create(n,d):t.create(n,d);const M=V.get(n);return typeof M=="boolean"?a===(M?"true":"false")?s.INSTANCE:c.INSTANCE:new v(n,a,d)}cmp(n){return n.type!==this.type?this.type-n.type:x(this.key,this.value,n.key,n.value)}equals(n){return n.type===this.type?this.key===n.key&&this.value===n.value:!1}substituteConstants(){const n=V.get(this.key);if(typeof n=="boolean"){const a=n?"true":"false";return this.value===a?s.INSTANCE:c.INSTANCE}return this}evaluate(n){return n.getValue(this.key)!=this.value}serialize(){return`${this.key} != '${this.value}'`}keys(){return[this.key]}negate(){return this.negated||(this.negated=r.create(this.key,this.value,this)),this.negated}}class b{constructor(n,a){this.key=n,this.negated=a,this.type=3}static create(n,a=null){const d=V.get(n);return typeof d=="boolean"?d?s.INSTANCE:c.INSTANCE:new b(n,a)}cmp(n){return n.type!==this.type?this.type-n.type:_(this.key,n.key)}equals(n){return n.type===this.type?this.key===n.key:!1}substituteConstants(){const n=V.get(this.key);return typeof n=="boolean"?n?s.INSTANCE:c.INSTANCE:this}evaluate(n){return!n.getValue(this.key)}serialize(){return`!${this.key}`}keys(){return[this.key]}negate(){return this.negated||(this.negated=t.create(this.key,this)),this.negated}}function S(y,n){if(typeof y=="string"){const a=parseFloat(y);isNaN(a)||(y=a)}return typeof y=="string"||typeof y=="number"?n(y):s.INSTANCE}class p{constructor(n,a,d){this.key=n,this.value=a,this.negated=d,this.type=12}static create(n,a,d=null){return S(a,M=>new p(n,M,d))}cmp(n){return n.type!==this.type?this.type-n.type:x(this.key,this.value,n.key,n.value)}equals(n){return n.type===this.type?this.key===n.key&&this.value===n.value:!1}substituteConstants(){return this}evaluate(n){return typeof this.value=="string"?!1:parseFloat(n.getValue(this.key))>this.value}serialize(){return`${this.key} > ${this.value}`}keys(){return[this.key]}negate(){return this.negated||(this.negated=u.create(this.key,this.value,this)),this.negated}}class m{constructor(n,a,d){this.key=n,this.value=a,this.negated=d,this.type=13}static create(n,a,d=null){return S(a,M=>new m(n,M,d))}cmp(n){return n.type!==this.type?this.type-n.type:x(this.key,this.value,n.key,n.value)}equals(n){return n.type===this.type?this.key===n.key&&this.value===n.value:!1}substituteConstants(){return this}evaluate(n){return typeof this.value=="string"?!1:parseFloat(n.getValue(this.key))>=this.value}serialize(){return`${this.key} >= ${this.value}`}keys(){return[this.key]}negate(){return this.negated||(this.negated=f.create(this.key,this.value,this)),this.negated}}class f{constructor(n,a,d){this.key=n,this.value=a,this.negated=d,this.type=14}static create(n,a,d=null){return S(a,M=>new f(n,M,d))}cmp(n){return n.type!==this.type?this.type-n.type:x(this.key,this.value,n.key,n.value)}equals(n){return n.type===this.type?this.key===n.key&&this.value===n.value:!1}substituteConstants(){return this}evaluate(n){return typeof this.value=="string"?!1:parseFloat(n.getValue(this.key))<this.value}serialize(){return`${this.key} < ${this.value}`}keys(){return[this.key]}negate(){return this.negated||(this.negated=m.create(this.key,this.value,this)),this.negated}}class u{constructor(n,a,d){this.key=n,this.value=a,this.negated=d,this.type=15}static create(n,a,d=null){return S(a,M=>new u(n,M,d))}cmp(n){return n.type!==this.type?this.type-n.type:x(this.key,this.value,n.key,n.value)}equals(n){return n.type===this.type?this.key===n.key&&this.value===n.value:!1}substituteConstants(){return this}evaluate(n){return typeof this.value=="string"?!1:parseFloat(n.getValue(this.key))<=this.value}serialize(){return`${this.key} <= ${this.value}`}keys(){return[this.key]}negate(){return this.negated||(this.negated=p.create(this.key,this.value,this)),this.negated}}class k{constructor(n,a){this.key=n,this.regexp=a,this.type=7,this.negated=null}static create(n,a){return new k(n,a)}cmp(n){if(n.type!==this.type)return this.type-n.type;if(this.key<n.key)return-1;if(this.key>n.key)return 1;const a=this.regexp?this.regexp.source:"",d=n.regexp?n.regexp.source:"";return a<d?-1:a>d?1:0}equals(n){if(n.type===this.type){const a=this.regexp?this.regexp.source:"",d=n.regexp?n.regexp.source:"";return this.key===n.key&&a===d}return!1}substituteConstants(){return this}evaluate(n){let a=n.getValue(this.key);return this.regexp?this.regexp.test(a):!1}serialize(){const n=this.regexp?`/${this.regexp.source}/${this.regexp.ignoreCase?"i":""}`:"/invalid/";return`${this.key} =~ ${n}`}keys(){return[this.key]}negate(){return this.negated||(this.negated=I.create(this)),this.negated}}class I{constructor(n){this._actual=n,this.type=8}static create(n){return new I(n)}cmp(n){return n.type!==this.type?this.type-n.type:this._actual.cmp(n._actual)}equals(n){return n.type===this.type?this._actual.equals(n._actual):!1}substituteConstants(){return this}evaluate(n){return!this._actual.evaluate(n)}serialize(){throw new Error("Method not implemented.")}keys(){return this._actual.keys()}negate(){return this._actual}}function F(y){let n=null;for(let a=0,d=y.length;a<d;a++){const M=y[a].substituteConstants();if(y[a]!==M&&n===null){n=[];for(let ae=0;ae<a;ae++)n[ae]=y[ae]}n!==null&&(n[a]=M)}return n===null?y:n}class K{constructor(n,a){this.expr=n,this.negated=a,this.type=6}static create(n,a){return K._normalizeArr(n,a)}cmp(n){if(n.type!==this.type)return this.type-n.type;if(this.expr.length<n.expr.length)return-1;if(this.expr.length>n.expr.length)return 1;for(let a=0,d=this.expr.length;a<d;a++){const M=e(this.expr[a],n.expr[a]);if(M!==0)return M}return 0}equals(n){if(n.type===this.type){if(this.expr.length!==n.expr.length)return!1;for(let a=0,d=this.expr.length;a<d;a++)if(!this.expr[a].equals(n.expr[a]))return!1;return!0}return!1}substituteConstants(){const n=F(this.expr);return n===this.expr?this:K.create(n,this.negated)}evaluate(n){for(let a=0,d=this.expr.length;a<d;a++)if(!this.expr[a].evaluate(n))return!1;return!0}static _normalizeArr(n,a){const d=[];let M=!1;for(const ae of n)if(ae){if(ae.type===1){M=!0;continue}if(ae.type===0)return s.INSTANCE;if(ae.type===6){d.push(...ae.expr);continue}d.push(ae)}if(d.length===0&&M)return c.INSTANCE;if(d.length!==0){if(d.length===1)return d[0];d.sort(e);for(let ae=1;ae<d.length;ae++)d[ae-1].equals(d[ae])&&(d.splice(ae,1),ae--);if(d.length===1)return d[0];for(;d.length>1;){const ae=d[d.length-1];if(ae.type!==9)break;d.pop();const de=d.pop(),ye=d.length===0,Ae=Y.create(ae.expr.map(He=>K.create([He,de],null)),null,ye);Ae&&(d.push(Ae),d.sort(e))}return d.length===1?d[0]:new K(d,a)}}serialize(){return this.expr.map(n=>n.serialize()).join(" && ")}keys(){const n=[];for(let a of this.expr)n.push(...a.keys());return n}negate(){if(!this.negated){const n=[];for(let a of this.expr)n.push(a.negate());this.negated=Y.create(n,this,!0)}return this.negated}}class Y{constructor(n,a){this.expr=n,this.negated=a,this.type=9}static create(n,a,d){return Y._normalizeArr(n,a,d)}cmp(n){if(n.type!==this.type)return this.type-n.type;if(this.expr.length<n.expr.length)return-1;if(this.expr.length>n.expr.length)return 1;for(let a=0,d=this.expr.length;a<d;a++){const M=e(this.expr[a],n.expr[a]);if(M!==0)return M}return 0}equals(n){if(n.type===this.type){if(this.expr.length!==n.expr.length)return!1;for(let a=0,d=this.expr.length;a<d;a++)if(!this.expr[a].equals(n.expr[a]))return!1;return!0}return!1}substituteConstants(){const n=F(this.expr);return n===this.expr?this:Y.create(n,this.negated,!1)}evaluate(n){for(let a=0,d=this.expr.length;a<d;a++)if(this.expr[a].evaluate(n))return!0;return!1}static _normalizeArr(n,a,d){let M=[],ae=!1;if(n){for(let de=0,ye=n.length;de<ye;de++){const Ae=n[de];if(Ae){if(Ae.type===0){ae=!0;continue}if(Ae.type===1)return c.INSTANCE;if(Ae.type===9){M=M.concat(Ae.expr);continue}M.push(Ae)}}if(M.length===0&&ae)return s.INSTANCE;M.sort(e)}if(M.length!==0){if(M.length===1)return M[0];for(let de=1;de<M.length;de++)M[de-1].equals(M[de])&&(M.splice(de,1),de--);if(M.length===1)return M[0];if(d){for(let de=0;de<M.length;de++)for(let ye=de+1;ye<M.length;ye++)N(M[de],M[ye])&&(M.splice(ye,1),ye--);if(M.length===1)return M[0]}return new Y(M,a)}}serialize(){return this.expr.map(n=>n.serialize()).join(" || ")}keys(){const n=[];for(let a of this.expr)n.push(...a.keys());return n}negate(){if(!this.negated){let n=[];for(let a of this.expr)n.push(a.negate());for(;n.length>1;){const a=n.shift(),d=n.shift(),M=[];for(const de of C(a))for(const ye of C(d))M.push(K.create([de,ye],null));const ae=n.length===0;n.unshift(Y.create(M,null,ae))}this.negated=n[0]}return this.negated}}class W extends t{constructor(n,a,d){super(n,null),this._defaultValue=a,typeof d=="object"?W._info.push(Object.assign(Object.assign({},d),{key:n})):d!==!0&&W._info.push({key:n,description:d,type:a!=null?typeof a:void 0})}static all(){return W._info.values()}bindTo(n){return n.createKey(this.key,this._defaultValue)}getValue(n){return n.getContextKeyValue(this.key)}toNegated(){return this.negate()}isEqualTo(n){return r.create(this.key,n)}}W._info=[];const Pe=(0,j.yh)("contextKeyService"),w="setContext";function _(y,n){return y<n?-1:y>n?1:0}function x(y,n,a,d){return y<a?-1:y>a?1:n<d?-1:n>d?1:0}function N(y,n){if(n.type===6&&y.type!==9&&y.type!==6){for(const M of n.expr)if(y.equals(M))return!0}const a=y.negate(),d=C(a).concat(C(n));d.sort(e);for(let M=0;M<d.length;M++){const de=d[M].negate();for(let ye=M+1;ye<d.length;ye++){const Ae=d[ye];if(de.equals(Ae))return!0}}return!1}function C(y){return y.type===9?y.expr:[y]}},16925:function(It,Fe,l){"use strict";l.d(Fe,{I8:function(){return T},TG:function(){return A},jt:function(){return V},yh:function(){return X}});var T;(function(h){h.serviceIds=new Map,h.DI_TARGET="$di$target",h.DI_DEPENDENCIES="$di$dependencies";function $(G){return G[h.DI_DEPENDENCIES]||[]}h.getServiceDependencies=$})(T||(T={}));const A=X("instantiationService");function j(h,$,G,e){$[T.DI_TARGET]===$?$[T.DI_DEPENDENCIES].push({id:h,index:G,optional:e}):($[T.DI_DEPENDENCIES]=[{id:h,index:G,optional:e}],$[T.DI_TARGET]=$)}function X(h){if(T.serviceIds.has(h))return T.serviceIds.get(h);const $=function(G,e,s){if(arguments.length!==3)throw new Error("@IServiceName-decorator can only be used to decorate a parameter");j($,G,s,!1)};return $.toString=()=>h,T.serviceIds.set(h,$),$}function V(h){return function($,G,e){if(arguments.length!==3)throw new Error("@optional-decorator can only be used to decorate a parameter");j(h,$,e,!0)}}},44650:function(It,Fe,l){"use strict";l.d(Fe,{B:function(){return X}});var T=l(76068),A=l(72999);class j{constructor(){this.data=new Map}add(h,$){T.ok(A.HD(h)),T.ok(A.Kn($)),T.ok(!this.data.has(h),"There is already an extension with this id"),this.data.set(h,$)}as(h){return this.data.get(h)||null}}const X=new j},66213:function(It,Fe,l){"use strict";l.d(Fe,{e:function(){return T}});var T;(function(A){A.DARK="dark",A.LIGHT="light",A.HIGH_CONTRAST="hc"})(T||(T={}))},49055:function(It,Fe,l){"use strict";l.d(Fe,{EN:function(){return e},IP:function(){return t},Ic:function(){return o},XE:function(){return $},bB:function(){return v},kS:function(){return s},m6:function(){return c}});var T=l(52615),A=l(4348),j=l(69323),X=l(16925),V=l(44650),h=l(66213);const $=(0,X.yh)("themeService");var G;(function(b){function S(p){return p&&typeof p=="object"&&typeof p.id=="string"}b.isThemeColor=S})(G||(G={}));function e(b){return{id:b}}var s;(function(b){function S(I){return I&&typeof I=="object"&&typeof I.id=="string"&&(typeof I.color=="undefined"||G.isThemeColor(I.color))}b.isThemeIcon=S;const p=new RegExp(`^\\$\\((${T.dT.iconNameExpression}(?:${T.dT.iconModifierExpression})?)\\)$`);function m(I){const F=p.exec(I);if(!F)return;let[,K]=F;return{id:K}}b.fromString=m;function f(I,F){let K=I.id;const Y=K.lastIndexOf("~");return Y!==-1&&(K=K.substring(0,Y)),F&&(K=`${K}~${F}`),{id:K}}b.modify=f;function u(I,F){var K,Y;return I.id===F.id&&((K=I.color)===null||K===void 0?void 0:K.id)===((Y=F.color)===null||Y===void 0?void 0:Y.id)}b.isEqual=u;function k(I,F){return{id:I.id,color:F?e(F):void 0}}b.asThemeIcon=k,b.asClassNameArray=T.dT.asClassNameArray,b.asClassName=T.dT.asClassName,b.asCSSSelector=T.dT.asCSSSelector})(s||(s={}));function c(b){switch(b){case h.e.DARK:return"vs-dark";case h.e.HIGH_CONTRAST:return"hc-black";default:return"vs"}}const t={ThemingContribution:"base.contributions.theming"};class r{constructor(){this.themingParticipants=[],this.themingParticipants=[],this.onThemingParticipantAddedEmitter=new A.Q5}onColorThemeChange(S){return this.themingParticipants.push(S),this.onThemingParticipantAddedEmitter.fire(S),(0,j.OF)(()=>{const p=this.themingParticipants.indexOf(S);this.themingParticipants.splice(p,1)})}getThemingParticipants(){return this.themingParticipants}}let i=new r;V.B.add(t.ThemingContribution,i);function o(b){return i.onColorThemeChange(b)}class v extends j.JT{constructor(S){super(),this.themeService=S,this.theme=S.getColorTheme(),this._register(this.themeService.onDidColorThemeChange(p=>this.onThemeChange(p)))}onThemeChange(S){this.theme=S,this.updateStyles()}updateStyles(){}}},16632:function(It,Fe,l){"use strict";var T=l(71409),A=l(89490),j=l(87075),X=l(11036),V=l(39224),h=l(92310),$=l.n(h),G=l(18929),e=l(59301),s=["prefixCls","className","style","checked","disabled","defaultChecked","type","title","onChange"],c=(0,e.forwardRef)(function(t,r){var i=t.prefixCls,o=i===void 0?"rc-checkbox":i,v=t.className,b=t.style,S=t.checked,p=t.disabled,m=t.defaultChecked,f=m===void 0?!1:m,u=t.type,k=u===void 0?"checkbox":u,I=t.title,F=t.onChange,K=(0,V.Z)(t,s),Y=(0,e.useRef)(null),W=(0,e.useRef)(null),Pe=(0,G.Z)(f,{value:S}),w=(0,X.Z)(Pe,2),_=w[0],x=w[1];(0,e.useImperativeHandle)(r,function(){return{focus:function(n){var a;(a=Y.current)===null||a===void 0||a.focus(n)},blur:function(){var n;(n=Y.current)===null||n===void 0||n.blur()},input:Y.current,nativeElement:W.current}});var N=$()(o,v,(0,j.Z)((0,j.Z)({},"".concat(o,"-checked"),_),"".concat(o,"-disabled"),p)),C=function(n){p||("checked"in t||x(n.target.checked),F==null||F({target:(0,A.Z)((0,A.Z)({},t),{},{type:k,checked:n.target.checked}),stopPropagation:function(){n.stopPropagation()},preventDefault:function(){n.preventDefault()},nativeEvent:n.nativeEvent}))};return e.createElement("span",{className:N,title:I,style:b,ref:W},e.createElement("input",(0,T.Z)({},K,{className:"".concat(o,"-input"),ref:Y,onChange:C,disabled:p,checked:!!_,type:k})),e.createElement("span",{className:"".concat(o,"-inner")}))});Fe.Z=c},96478:function(It,Fe,l){"use strict";l.d(Fe,{Z:function(){return I}});var T=l(71409),A=l(87075),j=l(11036),X=l(39224),V=l(65352),h=l(92310),$=l.n(h),G=l(8654),e=l(59301),s=l(10228),c=l(16089),t=s.Z.ESC,r=s.Z.TAB;function i(F){var K=F.visible,Y=F.triggerRef,W=F.onVisibleChange,Pe=F.autoFocus,w=F.overlayRef,_=e.useRef(!1),x=function(){if(K){var n,a;(n=Y.current)===null||n===void 0||(a=n.focus)===null||a===void 0||a.call(n),W==null||W(!1)}},N=function(){var n;return(n=w.current)!==null&&n!==void 0&&n.focus?(w.current.focus(),_.current=!0,!0):!1},C=function(n){switch(n.keyCode){case t:x();break;case r:{var a=!1;_.current||(a=N()),a?n.preventDefault():x();break}}};e.useEffect(function(){return K?(window.addEventListener("keydown",C),Pe&&(0,c.Z)(N,3),function(){window.removeEventListener("keydown",C),_.current=!1}):function(){_.current=!1}},[K])}var o=(0,e.forwardRef)(function(F,K){var Y=F.overlay,W=F.arrow,Pe=F.prefixCls,w=(0,e.useMemo)(function(){var x;return typeof Y=="function"?x=Y():x=Y,x},[Y]),_=(0,G.sQ)(K,(0,G.C4)(w));return e.createElement(e.Fragment,null,W&&e.createElement("div",{className:"".concat(Pe,"-arrow")}),e.cloneElement(w,{ref:(0,G.Yr)(w)?_:void 0}))}),v=o,b={adjustX:1,adjustY:1},S=[0,0],p={topLeft:{points:["bl","tl"],overflow:b,offset:[0,-4],targetOffset:S},top:{points:["bc","tc"],overflow:b,offset:[0,-4],targetOffset:S},topRight:{points:["br","tr"],overflow:b,offset:[0,-4],targetOffset:S},bottomLeft:{points:["tl","bl"],overflow:b,offset:[0,4],targetOffset:S},bottom:{points:["tc","bc"],overflow:b,offset:[0,4],targetOffset:S},bottomRight:{points:["tr","br"],overflow:b,offset:[0,4],targetOffset:S}},m=p,f=["arrow","prefixCls","transitionName","animation","align","placement","placements","getPopupContainer","showAction","hideAction","overlayClassName","overlayStyle","visible","trigger","autoFocus","overlay","children","onVisibleChange"];function u(F,K){var Y,W=F.arrow,Pe=W===void 0?!1:W,w=F.prefixCls,_=w===void 0?"rc-dropdown":w,x=F.transitionName,N=F.animation,C=F.align,y=F.placement,n=y===void 0?"bottomLeft":y,a=F.placements,d=a===void 0?m:a,M=F.getPopupContainer,ae=F.showAction,de=F.hideAction,ye=F.overlayClassName,Ae=F.overlayStyle,He=F.visible,mt=F.trigger,be=mt===void 0?["hover"]:mt,Ge=F.autoFocus,ut=F.overlay,Et=F.children,st=F.onVisibleChange,we=(0,X.Z)(F,f),E=e.useState(),B=(0,j.Z)(E,2),O=B[0],q=B[1],ie="visible"in F?He:O,R=e.useRef(null),g=e.useRef(null),P=e.useRef(null);e.useImperativeHandle(K,function(){return R.current});var z=function(Be){q(Be),st==null||st(Be)};i({visible:ie,triggerRef:P,onVisibleChange:z,autoFocus:Ge,overlayRef:g});var D=function(Be){var Ie=F.onOverlayClick;q(!1),Ie&&Ie(Be)},U=function(){return e.createElement(v,{ref:g,overlay:ut,prefixCls:_,arrow:Pe})},Z=function(){return typeof ut=="function"?U:U()},te=function(){var Be=F.minOverlayWidthMatchTrigger,Ie=F.alignPoint;return"minOverlayWidthMatchTrigger"in F?Be:!Ie},J=function(){var Be=F.openClassName;return Be!==void 0?Be:"".concat(_,"-open")},ce=e.cloneElement(Et,{className:$()((Y=Et.props)===null||Y===void 0?void 0:Y.className,ie&&J()),ref:(0,G.Yr)(Et)?(0,G.sQ)(P,(0,G.C4)(Et)):void 0}),Ee=de;return!Ee&&be.indexOf("contextMenu")!==-1&&(Ee=["click"]),e.createElement(V.Z,(0,T.Z)({builtinPlacements:d},we,{prefixCls:_,ref:R,popupClassName:$()(ye,(0,A.Z)({},"".concat(_,"-show-arrow"),Pe)),popupStyle:Ae,action:be,showAction:ae,hideAction:Ee,popupPlacement:n,popupAlign:C,popupTransitionName:x,popupAnimation:N,popupVisible:ie,stretch:te()?"minWidth":"",popup:Z(),onPopupVisibleChange:z,onPopupClick:D,getPopupContainer:M}),ce)}var k=e.forwardRef(u),I=k},66003:function(It,Fe,l){"use strict";l.d(Fe,{Z:function(){return $}});var T=l(39224),A=l(89490),j=l(28788),X=l(59301),V=["show"];function h(G,e){if(!e.max)return!0;var s=e.strategy(G);return s<=e.max}function $(G,e){return X.useMemo(function(){var s={};e&&(s.show=(0,j.Z)(e)==="object"&&e.formatter?e.formatter:!!e),s=(0,A.Z)((0,A.Z)({},s),G);var c=s,t=c.show,r=(0,T.Z)(c,V);return(0,A.Z)((0,A.Z)({},r),{},{show:!!t,showFormatter:typeof t=="function"?t:void 0,strategy:r.strategy||function(i){return i.length}})},[G,e])}},36901:function(It,Fe,l){"use strict";l.r(Fe),l.d(Fe,{BaseInput:function(){return s},default:function(){return m}});var T=l(89490),A=l(71409),j=l(87075),X=l(28788),V=l(92310),h=l.n(V),$=l(59301),G=l(30292),e=$.forwardRef(function(f,u){var k,I,F,K=f.inputElement,Y=f.children,W=f.prefixCls,Pe=f.prefix,w=f.suffix,_=f.addonBefore,x=f.addonAfter,N=f.className,C=f.style,y=f.disabled,n=f.readOnly,a=f.focused,d=f.triggerFocus,M=f.allowClear,ae=f.value,de=f.handleReset,ye=f.hidden,Ae=f.classes,He=f.classNames,mt=f.dataAttrs,be=f.styles,Ge=f.components,ut=f.onClear,Et=Y!=null?Y:K,st=(Ge==null?void 0:Ge.affixWrapper)||"span",we=(Ge==null?void 0:Ge.groupWrapper)||"span",E=(Ge==null?void 0:Ge.wrapper)||"span",B=(Ge==null?void 0:Ge.groupAddon)||"span",O=(0,$.useRef)(null),q=function(Ze){var Oe;(Oe=O.current)!==null&&Oe!==void 0&&Oe.contains(Ze.target)&&(d==null||d())},ie=(0,G.X3)(f),R=(0,$.cloneElement)(Et,{value:ae,className:h()((k=Et.props)===null||k===void 0?void 0:k.className,!ie&&(He==null?void 0:He.variant))||null}),g=(0,$.useRef)(null);if($.useImperativeHandle(u,function(){return{nativeElement:g.current||O.current}}),ie){var P=null;if(M){var z=!y&&!n&&ae,D="".concat(W,"-clear-icon"),U=(0,X.Z)(M)==="object"&&M!==null&&M!==void 0&&M.clearIcon?M.clearIcon:"\u2716";P=$.createElement("button",{type:"button",tabIndex:-1,onClick:function(Ze){de==null||de(Ze),ut==null||ut()},onMouseDown:function(Ze){return Ze.preventDefault()},className:h()(D,(0,j.Z)((0,j.Z)({},"".concat(D,"-hidden"),!z),"".concat(D,"-has-suffix"),!!w))},U)}var Z="".concat(W,"-affix-wrapper"),te=h()(Z,(0,j.Z)((0,j.Z)((0,j.Z)((0,j.Z)((0,j.Z)({},"".concat(W,"-disabled"),y),"".concat(Z,"-disabled"),y),"".concat(Z,"-focused"),a),"".concat(Z,"-readonly"),n),"".concat(Z,"-input-with-clear-btn"),w&&M&&ae),Ae==null?void 0:Ae.affixWrapper,He==null?void 0:He.affixWrapper,He==null?void 0:He.variant),J=(w||M)&&$.createElement("span",{className:h()("".concat(W,"-suffix"),He==null?void 0:He.suffix),style:be==null?void 0:be.suffix},P,w);R=$.createElement(st,(0,A.Z)({className:te,style:be==null?void 0:be.affixWrapper,onClick:q},mt==null?void 0:mt.affixWrapper,{ref:O}),Pe&&$.createElement("span",{className:h()("".concat(W,"-prefix"),He==null?void 0:He.prefix),style:be==null?void 0:be.prefix},Pe),R,J)}if((0,G.He)(f)){var ce="".concat(W,"-group"),Ee="".concat(ce,"-addon"),xe="".concat(ce,"-wrapper"),Be=h()("".concat(W,"-wrapper"),ce,Ae==null?void 0:Ae.wrapper,He==null?void 0:He.wrapper),Ie=h()(xe,(0,j.Z)({},"".concat(xe,"-disabled"),y),Ae==null?void 0:Ae.group,He==null?void 0:He.groupWrapper);R=$.createElement(we,{className:Ie,ref:g},$.createElement(E,{className:Be},_&&$.createElement(B,{className:Ee},_),R,x&&$.createElement(B,{className:Ee},x)))}return $.cloneElement(R,{className:h()((I=R.props)===null||I===void 0?void 0:I.className,N)||null,style:(0,T.Z)((0,T.Z)({},(F=R.props)===null||F===void 0?void 0:F.style),C),hidden:ye})}),s=e,c=l(62730),t=l(11036),r=l(39224),i=l(18929),o=l(2738),v=l(66003),b=["autoComplete","onChange","onFocus","onBlur","onPressEnter","onKeyDown","onKeyUp","prefixCls","disabled","htmlSize","className","maxLength","suffix","showCount","count","type","classes","classNames","styles","onCompositionStart","onCompositionEnd"],S=(0,$.forwardRef)(function(f,u){var k=f.autoComplete,I=f.onChange,F=f.onFocus,K=f.onBlur,Y=f.onPressEnter,W=f.onKeyDown,Pe=f.onKeyUp,w=f.prefixCls,_=w===void 0?"rc-input":w,x=f.disabled,N=f.htmlSize,C=f.className,y=f.maxLength,n=f.suffix,a=f.showCount,d=f.count,M=f.type,ae=M===void 0?"text":M,de=f.classes,ye=f.classNames,Ae=f.styles,He=f.onCompositionStart,mt=f.onCompositionEnd,be=(0,r.Z)(f,b),Ge=(0,$.useState)(!1),ut=(0,t.Z)(Ge,2),Et=ut[0],st=ut[1],we=(0,$.useRef)(!1),E=(0,$.useRef)(!1),B=(0,$.useRef)(null),O=(0,$.useRef)(null),q=function(at){B.current&&(0,G.nH)(B.current,at)},ie=(0,i.Z)(f.defaultValue,{value:f.value}),R=(0,t.Z)(ie,2),g=R[0],P=R[1],z=g==null?"":String(g),D=(0,$.useState)(null),U=(0,t.Z)(D,2),Z=U[0],te=U[1],J=(0,v.Z)(d,a),ce=J.max||y,Ee=J.strategy(z),xe=!!ce&&Ee>ce;(0,$.useImperativeHandle)(u,function(){var ht;return{focus:q,blur:function(){var bt;(bt=B.current)===null||bt===void 0||bt.blur()},setSelectionRange:function(bt,Xt,Mt){var Yt;(Yt=B.current)===null||Yt===void 0||Yt.setSelectionRange(bt,Xt,Mt)},select:function(){var bt;(bt=B.current)===null||bt===void 0||bt.select()},input:B.current,nativeElement:((ht=O.current)===null||ht===void 0?void 0:ht.nativeElement)||B.current}}),(0,$.useEffect)(function(){E.current&&(E.current=!1),st(function(ht){return ht&&x?!1:ht})},[x]);var Be=function(at,bt,Xt){var Mt=bt;if(!we.current&&J.exceedFormatter&&J.max&&J.strategy(bt)>J.max){if(Mt=J.exceedFormatter(bt,{max:J.max}),bt!==Mt){var Yt,rn;te([((Yt=B.current)===null||Yt===void 0?void 0:Yt.selectionStart)||0,((rn=B.current)===null||rn===void 0?void 0:rn.selectionEnd)||0])}}else if(Xt.source==="compositionEnd")return;P(Mt),B.current&&(0,G.rJ)(B.current,at,I,Mt)};(0,$.useEffect)(function(){if(Z){var ht;(ht=B.current)===null||ht===void 0||ht.setSelectionRange.apply(ht,(0,c.Z)(Z))}},[Z]);var Ie=function(at){Be(at,at.target.value,{source:"change"})},fe=function(at){we.current=!1,Be(at,at.currentTarget.value,{source:"compositionEnd"}),mt==null||mt(at)},Ze=function(at){Y&&at.key==="Enter"&&!E.current&&(E.current=!0,Y(at)),W==null||W(at)},Oe=function(at){at.key==="Enter"&&(E.current=!1),Pe==null||Pe(at)},De=function(at){st(!0),F==null||F(at)},rt=function(at){E.current&&(E.current=!1),st(!1),K==null||K(at)},Ct=function(at){P(""),q(),B.current&&(0,G.rJ)(B.current,at,I)},Qe=xe&&"".concat(_,"-out-of-range"),Ot=function(){var at=(0,o.Z)(f,["prefixCls","onPressEnter","addonBefore","addonAfter","prefix","suffix","allowClear","defaultValue","showCount","count","classes","htmlSize","styles","classNames","onClear"]);return $.createElement("input",(0,A.Z)({autoComplete:k},at,{onChange:Ie,onFocus:De,onBlur:rt,onKeyDown:Ze,onKeyUp:Oe,className:h()(_,(0,j.Z)({},"".concat(_,"-disabled"),x),ye==null?void 0:ye.input),style:Ae==null?void 0:Ae.input,ref:B,size:N,type:ae,onCompositionStart:function(Xt){we.current=!0,He==null||He(Xt)},onCompositionEnd:fe}))},tn=function(){var at=Number(ce)>0;if(n||J.show){var bt=J.showFormatter?J.showFormatter({value:z,count:Ee,maxLength:ce}):"".concat(Ee).concat(at?" / ".concat(ce):"");return $.createElement($.Fragment,null,J.show&&$.createElement("span",{className:h()("".concat(_,"-show-count-suffix"),(0,j.Z)({},"".concat(_,"-show-count-has-suffix"),!!n),ye==null?void 0:ye.count),style:(0,T.Z)({},Ae==null?void 0:Ae.count)},bt),n)}return null};return $.createElement(s,(0,A.Z)({},be,{prefixCls:_,className:h()(C,Qe),handleReset:Ct,value:z,focused:Et,triggerFocus:q,suffix:tn(),disabled:x,classes:de,classNames:ye,styles:Ae}),Ot())}),p=S,m=p},30292:function(It,Fe,l){"use strict";l.d(Fe,{He:function(){return T},X3:function(){return A},nH:function(){return V},rJ:function(){return X}});function T(h){return!!(h.addonBefore||h.addonAfter)}function A(h){return!!(h.prefix||h.suffix||h.allowClear)}function j(h,$,G){var e=$.cloneNode(!0),s=Object.create(h,{target:{value:e},currentTarget:{value:e}});return e.value=G,typeof $.selectionStart=="number"&&typeof $.selectionEnd=="number"&&(e.selectionStart=$.selectionStart,e.selectionEnd=$.selectionEnd),e.setSelectionRange=function(){$.setSelectionRange.apply($,arguments)},s}function X(h,$,G,e){if(G){var s=$;if($.type==="click"){s=j($,h,""),G(s);return}if(h.type!=="file"&&e!==void 0){s=j($,h,e),G(s);return}G(s)}}function V(h,$){if(h){h.focus($);var G=$||{},e=G.cursor;if(e){var s=h.value.length;switch(e){case"start":h.setSelectionRange(0,0);break;case"end":h.setSelectionRange(s,s);break;default:h.setSelectionRange(0,s)}}}}},28321:function(It,Fe,l){"use strict";l.d(Fe,{iz:function(){return ne},ck:function(){return Mt},BW:function(){return Le},sN:function(){return Mt},Wd:function(){return Zn},ZP:function(){return $e},Xl:function(){return Y}});var T=l(71409),A=l(87075),j=l(89490),X=l(62730),V=l(11036),h=l(39224),$=l(92310),G=l.n($),e=l(11780),s=l(18929),c=l(13697),t=l(48736),r=l(59301),i=l(4676),o=r.createContext(null);function v(H,se){return H===void 0?null:"".concat(H,"-").concat(se)}function b(H){var se=r.useContext(o);return v(se,H)}var S=l(80547),p=["children","locked"],m=r.createContext(null);function f(H,se){var ve=(0,j.Z)({},H);return Object.keys(se).forEach(function(he){var Me=se[he];Me!==void 0&&(ve[he]=Me)}),ve}function u(H){var se=H.children,ve=H.locked,he=(0,h.Z)(H,p),Me=r.useContext(m),Ue=(0,S.Z)(function(){return f(Me,he)},[Me,he],function(Te,Ye){return!ve&&(Te[0]!==Ye[0]||!(0,c.Z)(Te[1],Ye[1],!0))});return r.createElement(m.Provider,{value:Ue},se)}var k=[],I=r.createContext(null);function F(){return r.useContext(I)}var K=r.createContext(k);function Y(H){var se=r.useContext(K);return r.useMemo(function(){return H!==void 0?[].concat((0,X.Z)(se),[H]):se},[se,H])}var W=r.createContext(null),Pe=r.createContext({}),w=Pe,_=l(29194);function x(H){var se=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if((0,_.Z)(H)){var ve=H.nodeName.toLowerCase(),he=["input","select","textarea","button"].includes(ve)||H.isContentEditable||ve==="a"&&!!H.getAttribute("href"),Me=H.getAttribute("tabindex"),Ue=Number(Me),Te=null;return Me&&!Number.isNaN(Ue)?Te=Ue:he&&Te===null&&(Te=0),he&&H.disabled&&(Te=null),Te!==null&&(Te>=0||se&&Te<0)}return!1}function N(H){var se=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,ve=(0,X.Z)(H.querySelectorAll("*")).filter(function(he){return x(he,se)});return x(H,se)&&ve.unshift(H),ve}var C=null;function y(){C=document.activeElement}function n(){C=null}function a(){if(C)try{C.focus()}catch(H){}}function d(H,se){if(se.keyCode===9){var ve=N(H),he=ve[se.shiftKey?0:ve.length-1],Me=he===document.activeElement||H===document.activeElement;if(Me){var Ue=ve[se.shiftKey?ve.length-1:0];Ue.focus(),se.preventDefault()}}}var M=l(10228),ae=l(16089),de=M.Z.LEFT,ye=M.Z.RIGHT,Ae=M.Z.UP,He=M.Z.DOWN,mt=M.Z.ENTER,be=M.Z.ESC,Ge=M.Z.HOME,ut=M.Z.END,Et=[Ae,He,de,ye];function st(H,se,ve,he){var Me,Ue="prev",Te="next",Ye="children",qe="parent";if(H==="inline"&&he===mt)return{inlineTrigger:!0};var ot=(0,A.Z)((0,A.Z)({},Ae,Ue),He,Te),Dt=(0,A.Z)((0,A.Z)((0,A.Z)((0,A.Z)({},de,ve?Te:Ue),ye,ve?Ue:Te),He,Ye),mt,Ye),it=(0,A.Z)((0,A.Z)((0,A.Z)((0,A.Z)((0,A.Z)((0,A.Z)({},Ae,Ue),He,Te),mt,Ye),be,qe),de,ve?Ye:qe),ye,ve?qe:Ye),Lt={inline:ot,horizontal:Dt,vertical:it,inlineSub:ot,horizontalSub:it,verticalSub:it},Ft=(Me=Lt["".concat(H).concat(se?"":"Sub")])===null||Me===void 0?void 0:Me[he];switch(Ft){case Ue:return{offset:-1,sibling:!0};case Te:return{offset:1,sibling:!0};case qe:return{offset:-1,sibling:!1};case Ye:return{offset:1,sibling:!1};default:return null}}function we(H){for(var se=H;se;){if(se.getAttribute("data-menu-list"))return se;se=se.parentElement}return null}function E(H,se){for(var ve=H||document.activeElement;ve;){if(se.has(ve))return ve;ve=ve.parentElement}return null}function B(H,se){var ve=N(H,!0);return ve.filter(function(he){return se.has(he)})}function O(H,se,ve){var he=arguments.length>3&&arguments[3]!==void 0?arguments[3]:1;if(!H)return null;var Me=B(H,se),Ue=Me.length,Te=Me.findIndex(function(Ye){return ve===Ye});return he<0?Te===-1?Te=Ue-1:Te-=1:he>0&&(Te+=1),Te=(Te+Ue)%Ue,Me[Te]}var q=function(se,ve){var he=new Set,Me=new Map,Ue=new Map;return se.forEach(function(Te){var Ye=document.querySelector("[data-menu-id='".concat(v(ve,Te),"']"));Ye&&(he.add(Ye),Ue.set(Ye,Te),Me.set(Te,Ye))}),{elements:he,key2element:Me,element2key:Ue}};function ie(H,se,ve,he,Me,Ue,Te,Ye,qe,ot){var Dt=r.useRef(),it=r.useRef();it.current=se;var Lt=function(){ae.Z.cancel(Dt.current)};return r.useEffect(function(){return function(){Lt()}},[]),function(Ft){var Bt=Ft.which;if([].concat(Et,[mt,be,Ge,ut]).includes(Bt)){var yt=Ue(),xt=q(yt,he),Ut=xt,nt=Ut.elements,ft=Ut.key2element,vt=Ut.element2key,Ht=ft.get(se),Tt=E(Ht,nt),jt=vt.get(Tt),Ln=st(H,Te(jt,!0).length===1,ve,Bt);if(!Ln&&Bt!==Ge&&Bt!==ut)return;(Et.includes(Bt)||[Ge,ut].includes(Bt))&&Ft.preventDefault();var L=function(Ne){if(Ne){var re=Ne,ue=Ne.querySelector("a");ue!=null&&ue.getAttribute("href")&&(re=ue);var me=vt.get(Ne);Ye(me),Lt(),Dt.current=(0,ae.Z)(function(){it.current===me&&re.focus()})}};if([Ge,ut].includes(Bt)||Ln.sibling||!Tt){var oe;!Tt||H==="inline"?oe=Me.current:oe=we(Tt);var ee,le=B(oe,nt);Bt===Ge?ee=le[0]:Bt===ut?ee=le[le.length-1]:ee=O(oe,nt,Tt,Ln.offset),L(ee)}else if(Ln.inlineTrigger)qe(jt);else if(Ln.offset>0)qe(jt,!0),Lt(),Dt.current=(0,ae.Z)(function(){xt=q(yt,he);var ke=Tt.getAttribute("aria-controls"),Ne=document.getElementById(ke),re=O(Ne,xt.elements);L(re)},5);else if(Ln.offset<0){var _e=Te(jt,!0),Se=_e[_e.length-2],je=ft.get(Se);qe(Se,!1),L(je)}}ot==null||ot(Ft)}}function R(H){Promise.resolve().then(H)}var g="__RC_UTIL_PATH_SPLIT__",P=function(se){return se.join(g)},z=function(se){return se.split(g)},D="rc-menu-more";function U(){var H=r.useState({}),se=(0,V.Z)(H,2),ve=se[1],he=(0,r.useRef)(new Map),Me=(0,r.useRef)(new Map),Ue=r.useState([]),Te=(0,V.Z)(Ue,2),Ye=Te[0],qe=Te[1],ot=(0,r.useRef)(0),Dt=(0,r.useRef)(!1),it=function(){Dt.current||ve({})},Lt=(0,r.useCallback)(function(ft,vt){var Ht=P(vt);Me.current.set(Ht,ft),he.current.set(ft,Ht),ot.current+=1;var Tt=ot.current;R(function(){Tt===ot.current&&it()})},[]),Ft=(0,r.useCallback)(function(ft,vt){var Ht=P(vt);Me.current.delete(Ht),he.current.delete(ft)},[]),Bt=(0,r.useCallback)(function(ft){qe(ft)},[]),yt=(0,r.useCallback)(function(ft,vt){var Ht=he.current.get(ft)||"",Tt=z(Ht);return vt&&Ye.includes(Tt[0])&&Tt.unshift(D),Tt},[Ye]),xt=(0,r.useCallback)(function(ft,vt){return ft.filter(function(Ht){return Ht!==void 0}).some(function(Ht){var Tt=yt(Ht,!0);return Tt.includes(vt)})},[yt]),Ut=function(){var vt=(0,X.Z)(he.current.keys());return Ye.length&&vt.push(D),vt},nt=(0,r.useCallback)(function(ft){var vt="".concat(he.current.get(ft)).concat(g),Ht=new Set;return(0,X.Z)(Me.current.keys()).forEach(function(Tt){Tt.startsWith(vt)&&Ht.add(Me.current.get(Tt))}),Ht},[]);return r.useEffect(function(){return function(){Dt.current=!0}},[]),{registerPath:Lt,unregisterPath:Ft,refreshOverflowKeys:Bt,isSubPathKey:xt,getKeyPath:yt,getKeys:Ut,getSubPathKeys:nt}}function Z(H){var se=r.useRef(H);se.current=H;var ve=r.useCallback(function(){for(var he,Me=arguments.length,Ue=new Array(Me),Te=0;Te<Me;Te++)Ue[Te]=arguments[Te];return(he=se.current)===null||he===void 0?void 0:he.call.apply(he,[se].concat(Ue))},[]);return H?ve:void 0}var te=Math.random().toFixed(5).toString().slice(2),J=0;function ce(H){var se=(0,s.Z)(H,{value:H}),ve=(0,V.Z)(se,2),he=ve[0],Me=ve[1];return r.useEffect(function(){J+=1;var Ue="".concat(te,"-").concat(J);Me("rc-menu-uuid-".concat(Ue))},[]),he}var Ee=l(16552),xe=l(19210),Be=l(46654),Ie=l(37205),fe=l(2738),Ze=l(8654);function Oe(H,se,ve,he){var Me=r.useContext(m),Ue=Me.activeKey,Te=Me.onActive,Ye=Me.onInactive,qe={active:Ue===H};return se||(qe.onMouseEnter=function(ot){ve==null||ve({key:H,domEvent:ot}),Te(H)},qe.onMouseLeave=function(ot){he==null||he({key:H,domEvent:ot}),Ye(H)}),qe}function De(H){var se=r.useContext(m),ve=se.mode,he=se.rtl,Me=se.inlineIndent;if(ve!=="inline")return null;var Ue=H;return he?{paddingRight:Ue*Me}:{paddingLeft:Ue*Me}}function rt(H){var se=H.icon,ve=H.props,he=H.children,Me;return se===null||se===!1?null:(typeof se=="function"?Me=r.createElement(se,(0,j.Z)({},ve)):typeof se!="boolean"&&(Me=se),Me||he||null)}var Ct=["item"];function Qe(H){var se=H.item,ve=(0,h.Z)(H,Ct);return Object.defineProperty(ve,"item",{get:function(){return(0,t.ZP)(!1,"`info.item` is deprecated since we will move to function component that not provides React Node instance in future."),se}}),ve}var Ot=["title","attribute","elementRef"],tn=["style","className","eventKey","warnKey","disabled","itemIcon","children","role","onMouseEnter","onMouseLeave","onClick","onKeyDown","onFocus"],ht=["active"],at=function(H){(0,Be.Z)(ve,H);var se=(0,Ie.Z)(ve);function ve(){return(0,Ee.Z)(this,ve),se.apply(this,arguments)}return(0,xe.Z)(ve,[{key:"render",value:function(){var Me=this.props,Ue=Me.title,Te=Me.attribute,Ye=Me.elementRef,qe=(0,h.Z)(Me,Ot),ot=(0,fe.Z)(qe,["eventKey","popupClassName","popupOffset","onTitleClick"]);return(0,t.ZP)(!Te,"`attribute` of Menu.Item is deprecated. Please pass attribute directly."),r.createElement(e.Z.Item,(0,T.Z)({},Te,{title:typeof Ue=="string"?Ue:void 0},ot,{ref:Ye}))}}]),ve}(r.Component),bt=r.forwardRef(function(H,se){var ve=H.style,he=H.className,Me=H.eventKey,Ue=H.warnKey,Te=H.disabled,Ye=H.itemIcon,qe=H.children,ot=H.role,Dt=H.onMouseEnter,it=H.onMouseLeave,Lt=H.onClick,Ft=H.onKeyDown,Bt=H.onFocus,yt=(0,h.Z)(H,tn),xt=b(Me),Ut=r.useContext(m),nt=Ut.prefixCls,ft=Ut.onItemClick,vt=Ut.disabled,Ht=Ut.overflowDisabled,Tt=Ut.itemIcon,jt=Ut.selectedKeys,Ln=Ut.onActive,L=r.useContext(w),oe=L._internalRenderMenuItem,ee="".concat(nt,"-item"),le=r.useRef(),_e=r.useRef(),Se=vt||Te,je=(0,Ze.x1)(se,_e),ke=Y(Me),Ne=function(dt){return{key:Me,keyPath:(0,X.Z)(ke).reverse(),item:le.current,domEvent:dt}},re=Ye||Tt,ue=Oe(Me,Se,Dt,it),me=ue.active,Ce=(0,h.Z)(ue,ht),Re=jt.includes(Me),Je=De(ke.length),pt=function(dt){if(!Se){var mn=Ne(dt);Lt==null||Lt(Qe(mn)),ft(mn)}},tt=function(dt){if(Ft==null||Ft(dt),dt.which===M.Z.ENTER){var mn=Ne(dt);Lt==null||Lt(Qe(mn)),ft(mn)}},Pt=function(dt){Ln(Me),Bt==null||Bt(dt)},At={};H.role==="option"&&(At["aria-selected"]=Re);var kt=r.createElement(at,(0,T.Z)({ref:le,elementRef:je,role:ot===null?"none":ot||"menuitem",tabIndex:Te?null:-1,"data-menu-id":Ht&&xt?null:xt},(0,fe.Z)(yt,["extra"]),Ce,At,{component:"li","aria-disabled":Te,style:(0,j.Z)((0,j.Z)({},Je),ve),className:G()(ee,(0,A.Z)((0,A.Z)((0,A.Z)({},"".concat(ee,"-active"),me),"".concat(ee,"-selected"),Re),"".concat(ee,"-disabled"),Se),he),onClick:pt,onKeyDown:tt,onFocus:Pt}),qe,r.createElement(rt,{props:(0,j.Z)((0,j.Z)({},H),{},{isSelected:Re}),icon:re}));return oe&&(kt=oe(kt,H,{selected:Re})),kt});function Xt(H,se){var ve=H.eventKey,he=F(),Me=Y(ve);return r.useEffect(function(){if(he)return he.registerPath(ve,Me),function(){he.unregisterPath(ve,Me)}},[Me]),he?null:r.createElement(bt,(0,T.Z)({},H,{ref:se}))}var Mt=r.forwardRef(Xt),Yt=["className","children"],rn=function(se,ve){var he=se.className,Me=se.children,Ue=(0,h.Z)(se,Yt),Te=r.useContext(m),Ye=Te.prefixCls,qe=Te.mode,ot=Te.rtl;return r.createElement("ul",(0,T.Z)({className:G()(Ye,ot&&"".concat(Ye,"-rtl"),"".concat(Ye,"-sub"),"".concat(Ye,"-").concat(qe==="inline"?"inline":"vertical"),he),role:"menu"},Ue,{"data-menu-list":!0,ref:ve}),Me)},Jt=r.forwardRef(rn);Jt.displayName="SubMenuList";var Ve=Jt,_t=l(11592);function Vt(H,se){return(0,_t.Z)(H).map(function(ve,he){if(r.isValidElement(ve)){var Me,Ue,Te=ve.key,Ye=(Me=(Ue=ve.props)===null||Ue===void 0?void 0:Ue.eventKey)!==null&&Me!==void 0?Me:Te,qe=Ye==null;qe&&(Ye="tmp_key-".concat([].concat((0,X.Z)(se),[he]).join("-")));var ot={key:Ye,eventKey:Ye};return r.cloneElement(ve,ot)}return ve})}var gn=l(65352),Zt={adjustX:1,adjustY:1},An={topLeft:{points:["bl","tl"],overflow:Zt},topRight:{points:["br","tr"],overflow:Zt},bottomLeft:{points:["tl","bl"],overflow:Zt},bottomRight:{points:["tr","br"],overflow:Zt},leftTop:{points:["tr","tl"],overflow:Zt},leftBottom:{points:["br","bl"],overflow:Zt},rightTop:{points:["tl","tr"],overflow:Zt},rightBottom:{points:["bl","br"],overflow:Zt}},Vn={topLeft:{points:["bl","tl"],overflow:Zt},topRight:{points:["br","tr"],overflow:Zt},bottomLeft:{points:["tl","bl"],overflow:Zt},bottomRight:{points:["tr","br"],overflow:Zt},rightTop:{points:["tr","tl"],overflow:Zt},rightBottom:{points:["br","bl"],overflow:Zt},leftTop:{points:["tl","tr"],overflow:Zt},leftBottom:{points:["bl","br"],overflow:Zt}},wn=null;function zt(H,se,ve){if(se)return se;if(ve)return ve[H]||ve.other}var Nn={horizontal:"bottomLeft",vertical:"rightTop","vertical-left":"rightTop","vertical-right":"leftTop"};function Cn(H){var se=H.prefixCls,ve=H.visible,he=H.children,Me=H.popup,Ue=H.popupStyle,Te=H.popupClassName,Ye=H.popupOffset,qe=H.disabled,ot=H.mode,Dt=H.onVisibleChange,it=r.useContext(m),Lt=it.getPopupContainer,Ft=it.rtl,Bt=it.subMenuOpenDelay,yt=it.subMenuCloseDelay,xt=it.builtinPlacements,Ut=it.triggerSubMenuAction,nt=it.forceSubMenuRender,ft=it.rootClassName,vt=it.motion,Ht=it.defaultMotions,Tt=r.useState(!1),jt=(0,V.Z)(Tt,2),Ln=jt[0],L=jt[1],oe=Ft?(0,j.Z)((0,j.Z)({},Vn),xt):(0,j.Z)((0,j.Z)({},An),xt),ee=Nn[ot],le=zt(ot,vt,Ht),_e=r.useRef(le);ot!=="inline"&&(_e.current=le);var Se=(0,j.Z)((0,j.Z)({},_e.current),{},{leavedClassName:"".concat(se,"-hidden"),removeOnLeave:!1,motionAppear:!0}),je=r.useRef();return r.useEffect(function(){return je.current=(0,ae.Z)(function(){L(ve)}),function(){ae.Z.cancel(je.current)}},[ve]),r.createElement(gn.Z,{prefixCls:se,popupClassName:G()("".concat(se,"-popup"),(0,A.Z)({},"".concat(se,"-rtl"),Ft),Te,ft),stretch:ot==="horizontal"?"minWidth":null,getPopupContainer:Lt,builtinPlacements:oe,popupPlacement:ee,popupVisible:Ln,popup:Me,popupStyle:Ue,popupAlign:Ye&&{offset:Ye},action:qe?[]:[Ut],mouseEnterDelay:Bt,mouseLeaveDelay:yt,onPopupVisibleChange:Dt,forceRender:nt,popupMotion:Se,fresh:!0},he)}var On=l(77900);function _n(H){var se=H.id,ve=H.open,he=H.keyPath,Me=H.children,Ue="inline",Te=r.useContext(m),Ye=Te.prefixCls,qe=Te.forceSubMenuRender,ot=Te.motion,Dt=Te.defaultMotions,it=Te.mode,Lt=r.useRef(!1);Lt.current=it===Ue;var Ft=r.useState(!Lt.current),Bt=(0,V.Z)(Ft,2),yt=Bt[0],xt=Bt[1],Ut=Lt.current?ve:!1;r.useEffect(function(){Lt.current&&xt(!1)},[it]);var nt=(0,j.Z)({},zt(Ue,ot,Dt));he.length>1&&(nt.motionAppear=!1);var ft=nt.onVisibleChanged;return nt.onVisibleChanged=function(vt){return!Lt.current&&!vt&&xt(!0),ft==null?void 0:ft(vt)},yt?null:r.createElement(u,{mode:Ue,locked:!Lt.current},r.createElement(On.default,(0,T.Z)({visible:Ut},nt,{forceRender:qe,removeOnLeave:!1,leavedClassName:"".concat(Ye,"-hidden")}),function(vt){var Ht=vt.className,Tt=vt.style;return r.createElement(Ve,{id:se,className:Ht,style:Tt},Me)}))}var Sn=["style","className","title","eventKey","warnKey","disabled","internalPopupClose","children","itemIcon","expandIcon","popupClassName","popupOffset","popupStyle","onClick","onMouseEnter","onMouseLeave","onTitleClick","onTitleMouseEnter","onTitleMouseLeave"],Mn=["active"],fn=r.forwardRef(function(H,se){var ve=H.style,he=H.className,Me=H.title,Ue=H.eventKey,Te=H.warnKey,Ye=H.disabled,qe=H.internalPopupClose,ot=H.children,Dt=H.itemIcon,it=H.expandIcon,Lt=H.popupClassName,Ft=H.popupOffset,Bt=H.popupStyle,yt=H.onClick,xt=H.onMouseEnter,Ut=H.onMouseLeave,nt=H.onTitleClick,ft=H.onTitleMouseEnter,vt=H.onTitleMouseLeave,Ht=(0,h.Z)(H,Sn),Tt=b(Ue),jt=r.useContext(m),Ln=jt.prefixCls,L=jt.mode,oe=jt.openKeys,ee=jt.disabled,le=jt.overflowDisabled,_e=jt.activeKey,Se=jt.selectedKeys,je=jt.itemIcon,ke=jt.expandIcon,Ne=jt.onItemClick,re=jt.onOpenChange,ue=jt.onActive,me=r.useContext(w),Ce=me._internalRenderSubMenuItem,Re=r.useContext(W),Je=Re.isSubPathKey,pt=Y(),tt="".concat(Ln,"-submenu"),Pt=ee||Ye,At=r.useRef(),kt=r.useRef(),Qt=Dt!=null?Dt:je,dt=it!=null?it:ke,mn=oe.includes(Ue),un=!le&&mn,sn=Je(Se,Ue),$t=Oe(Ue,Pt,ft,vt),on=$t.active,yn=(0,h.Z)($t,Mn),an=r.useState(!1),vn=(0,V.Z)(an,2),Kt=vn[0],gt=vn[1],Nt=function(En){Pt||gt(En)},qt=function(En){Nt(!0),xt==null||xt({key:Ue,domEvent:En})},pn=function(En){Nt(!1),Ut==null||Ut({key:Ue,domEvent:En})},cn=r.useMemo(function(){return on||(L!=="inline"?Kt||Je([_e],Ue):!1)},[L,on,_e,Kt,Ue,Je]),hn=De(pt.length),Un=function(En){Pt||(nt==null||nt({key:Ue,domEvent:En}),L==="inline"&&re(Ue,!mn))},Jn=Z(function(xn){yt==null||yt(Qe(xn)),Ne(xn)}),Gn=function(En){L!=="inline"&&re(Ue,En)},sr=function(){ue(Ue)},ar=Tt&&"".concat(Tt,"-popup"),Yn=r.useMemo(function(){return r.createElement(rt,{icon:L!=="horizontal"?dt:void 0,props:(0,j.Z)((0,j.Z)({},H),{},{isOpen:un,isSubMenu:!0})},r.createElement("i",{className:"".concat(tt,"-arrow")}))},[L,dt,H,un,tt]),bn=r.createElement("div",(0,T.Z)({role:"menuitem",style:hn,className:"".concat(tt,"-title"),tabIndex:Pt?null:-1,ref:At,title:typeof Me=="string"?Me:null,"data-menu-id":le&&Tt?null:Tt,"aria-expanded":un,"aria-haspopup":!0,"aria-controls":ar,"aria-disabled":Pt,onClick:Un,onFocus:sr},yn),Me,Yn),In=r.useRef(L);if(L!=="inline"&&pt.length>1?In.current="vertical":In.current=L,!le){var Wn=In.current;bn=r.createElement(Cn,{mode:Wn,prefixCls:tt,visible:!qe&&un&&L!=="inline",popupClassName:Lt,popupOffset:Ft,popupStyle:Bt,popup:r.createElement(u,{mode:Wn==="horizontal"?"vertical":Wn},r.createElement(Ve,{id:ar,ref:kt},ot)),disabled:Pt,onVisibleChange:Gn},bn)}var Kn=r.createElement(e.Z.Item,(0,T.Z)({ref:se,role:"none"},Ht,{component:"li",style:ve,className:G()(tt,"".concat(tt,"-").concat(L),he,(0,A.Z)((0,A.Z)((0,A.Z)((0,A.Z)({},"".concat(tt,"-open"),un),"".concat(tt,"-active"),cn),"".concat(tt,"-selected"),sn),"".concat(tt,"-disabled"),Pt)),onMouseEnter:qt,onMouseLeave:pn}),bn,!le&&r.createElement(_n,{id:ar,open:un,keyPath:pt},ot));return Ce&&(Kn=Ce(Kn,H,{selected:sn,active:cn,open:un,disabled:Pt})),r.createElement(u,{onItemClick:Jn,mode:L==="horizontal"?"vertical":L,itemIcon:Qt,expandIcon:dt},Kn)}),dn=r.forwardRef(function(H,se){var ve=H.eventKey,he=H.children,Me=Y(ve),Ue=Vt(he,Me),Te=F();r.useEffect(function(){if(Te)return Te.registerPath(ve,Me),function(){Te.unregisterPath(ve,Me)}},[Me]);var Ye;return Te?Ye=Ue:Ye=r.createElement(fn,(0,T.Z)({ref:se},H),Ue),r.createElement(K.Provider,{value:Me},Ye)}),Zn=dn,Fn=l(28788);function ne(H){var se=H.className,ve=H.style,he=r.useContext(m),Me=he.prefixCls,Ue=F();return Ue?null:r.createElement("li",{role:"separator",className:G()("".concat(Me,"-item-divider"),se),style:ve})}var Q=["className","title","eventKey","children"],We=r.forwardRef(function(H,se){var ve=H.className,he=H.title,Me=H.eventKey,Ue=H.children,Te=(0,h.Z)(H,Q),Ye=r.useContext(m),qe=Ye.prefixCls,ot="".concat(qe,"-item-group");return r.createElement("li",(0,T.Z)({ref:se,role:"presentation"},Te,{onClick:function(it){return it.stopPropagation()},className:G()(ot,ve)}),r.createElement("div",{role:"presentation",className:"".concat(ot,"-title"),title:typeof he=="string"?he:void 0},he),r.createElement("ul",{role:"group",className:"".concat(ot,"-list")},Ue))}),ze=r.forwardRef(function(H,se){var ve=H.eventKey,he=H.children,Me=Y(ve),Ue=Vt(he,Me),Te=F();return Te?Ue:r.createElement(We,(0,T.Z)({ref:se},(0,fe.Z)(H,["warnKey"])),Ue)}),Le=ze,ct=["label","children","key","type","extra"];function ge(H,se,ve){var he=se.item,Me=se.group,Ue=se.submenu,Te=se.divider;return(H||[]).map(function(Ye,qe){if(Ye&&(0,Fn.Z)(Ye)==="object"){var ot=Ye,Dt=ot.label,it=ot.children,Lt=ot.key,Ft=ot.type,Bt=ot.extra,yt=(0,h.Z)(ot,ct),xt=Lt!=null?Lt:"tmp-".concat(qe);return it||Ft==="group"?Ft==="group"?r.createElement(Me,(0,T.Z)({key:xt},yt,{title:Dt}),ge(it,se,ve)):r.createElement(Ue,(0,T.Z)({key:xt},yt,{title:Dt}),ge(it,se,ve)):Ft==="divider"?r.createElement(Te,(0,T.Z)({key:xt},yt)):r.createElement(he,(0,T.Z)({key:xt},yt,{extra:Bt}),Dt,(!!Bt||Bt===0)&&r.createElement("span",{className:"".concat(ve,"-item-extra")},Bt))}return null}).filter(function(Ye){return Ye})}function pe(H,se,ve,he,Me){var Ue=H,Te=(0,j.Z)({divider:ne,item:Mt,group:Le,submenu:Zn},he);return se&&(Ue=ge(se,Te,Me)),Vt(Ue,ve)}var Ke=["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","_internalComponents"],Xe=[],lt=r.forwardRef(function(H,se){var ve,he=H,Me=he.prefixCls,Ue=Me===void 0?"rc-menu":Me,Te=he.rootClassName,Ye=he.style,qe=he.className,ot=he.tabIndex,Dt=ot===void 0?0:ot,it=he.items,Lt=he.children,Ft=he.direction,Bt=he.id,yt=he.mode,xt=yt===void 0?"vertical":yt,Ut=he.inlineCollapsed,nt=he.disabled,ft=he.disabledOverflow,vt=he.subMenuOpenDelay,Ht=vt===void 0?.1:vt,Tt=he.subMenuCloseDelay,jt=Tt===void 0?.1:Tt,Ln=he.forceSubMenuRender,L=he.defaultOpenKeys,oe=he.openKeys,ee=he.activeKey,le=he.defaultActiveFirst,_e=he.selectable,Se=_e===void 0?!0:_e,je=he.multiple,ke=je===void 0?!1:je,Ne=he.defaultSelectedKeys,re=he.selectedKeys,ue=he.onSelect,me=he.onDeselect,Ce=he.inlineIndent,Re=Ce===void 0?24:Ce,Je=he.motion,pt=he.defaultMotions,tt=he.triggerSubMenuAction,Pt=tt===void 0?"hover":tt,At=he.builtinPlacements,kt=he.itemIcon,Qt=he.expandIcon,dt=he.overflowedIndicator,mn=dt===void 0?"...":dt,un=he.overflowedIndicatorPopupClassName,sn=he.getPopupContainer,$t=he.onClick,on=he.onOpenChange,yn=he.onKeyDown,an=he.openAnimation,vn=he.openTransitionName,Kt=he._internalRenderMenuItem,gt=he._internalRenderSubMenuItem,Nt=he._internalComponents,qt=(0,h.Z)(he,Ke),pn=r.useMemo(function(){return[pe(Lt,it,Xe,Nt,Ue),pe(Lt,it,Xe,{},Ue)]},[Lt,it,Nt]),cn=(0,V.Z)(pn,2),hn=cn[0],Un=cn[1],Jn=r.useState(!1),Gn=(0,V.Z)(Jn,2),sr=Gn[0],ar=Gn[1],Yn=r.useRef(),bn=ce(Bt),In=Ft==="rtl",Wn=(0,s.Z)(L,{value:oe,postState:function(Hn){return Hn||Xe}}),Kn=(0,V.Z)(Wn,2),xn=Kn[0],En=Kn[1],St=function(Hn){var Xn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;function _r(){En(Hn),on==null||on(Hn)}Xn?(0,i.flushSync)(_r):_r()},nn=r.useState(xn),en=(0,V.Z)(nn,2),ln=en[0],Dn=en[1],Bn=r.useRef(!1),Rt=r.useMemo(function(){return(xt==="inline"||xt==="vertical")&&Ut?["vertical",Ut]:[xt,!1]},[xt,Ut]),Wt=(0,V.Z)(Rt,2),Rn=Wt[0],Gt=Wt[1],Tn=Rn==="inline",or=r.useState(Rn),$n=(0,V.Z)(or,2),fr=$n[0],ur=$n[1],vr=r.useState(Gt),Qn=(0,V.Z)(vr,2),Fr=Qn[0],Br=Qn[1];r.useEffect(function(){ur(Rn),Br(Gt),Bn.current&&(Tn?En(ln):St(Xe))},[Rn,Gt]);var Sr=r.useState(0),kr=(0,V.Z)(Sr,2),Nr=kr[0],Or=kr[1],Ar=Nr>=hn.length-1||fr!=="horizontal"||ft;r.useEffect(function(){Tn&&Dn(xn)},[xn]),r.useEffect(function(){return Bn.current=!0,function(){Bn.current=!1}},[]);var br=U(),Ir=br.registerPath,Pr=br.unregisterPath,zr=br.refreshOverflowKeys,Dr=br.isSubPathKey,$r=br.getKeyPath,Mr=br.getKeys,Gr=br.getSubPathKeys,jr=r.useMemo(function(){return{registerPath:Ir,unregisterPath:Pr}},[Ir,Pr]),Wr=r.useMemo(function(){return{isSubPathKey:Dr}},[Dr]);r.useEffect(function(){zr(Ar?Xe:hn.slice(Nr+1).map(function(tr){return tr.key}))},[Nr,Ar]);var Tr=(0,s.Z)(ee||le&&((ve=hn[0])===null||ve===void 0?void 0:ve.key),{value:ee}),dr=(0,V.Z)(Tr,2),lr=dr[0],kn=dr[1],Pn=Z(function(tr){kn(tr)}),nr=Z(function(){kn(void 0)});(0,r.useImperativeHandle)(se,function(){return{list:Yn.current,focus:function(Hn){var Xn,_r=Mr(),cr=q(_r,bn),Cr=cr.elements,Xr=cr.key2element,ea=cr.element2key,ta=B(Yn.current,Cr),Jr=lr!=null?lr:ta[0]?ea.get(ta[0]):(Xn=hn.find(function(Vr){return!Vr.props.disabled}))===null||Xn===void 0?void 0:Xn.key,Zr=Xr.get(Jr);if(Jr&&Zr){var Ur;Zr==null||(Ur=Zr.focus)===null||Ur===void 0||Ur.call(Zr,Hn)}}}});var qn=(0,s.Z)(Ne||[],{value:re,postState:function(Hn){return Array.isArray(Hn)?Hn:Hn==null?Xe:[Hn]}}),er=(0,V.Z)(qn,2),rr=er[0],yr=er[1],gr=function(Hn){if(Se){var Xn=Hn.key,_r=rr.includes(Xn),cr;ke?_r?cr=rr.filter(function(Xr){return Xr!==Xn}):cr=[].concat((0,X.Z)(rr),[Xn]):cr=[Xn],yr(cr);var Cr=(0,j.Z)((0,j.Z)({},Hn),{},{selectedKeys:cr});_r?me==null||me(Cr):ue==null||ue(Cr)}!ke&&xn.length&&fr!=="inline"&&St(Xe)},xr=Z(function(tr){$t==null||$t(Qe(tr)),gr(tr)}),ir=Z(function(tr,Hn){var Xn=xn.filter(function(cr){return cr!==tr});if(Hn)Xn.push(tr);else if(fr!=="inline"){var _r=Gr(tr);Xn=Xn.filter(function(cr){return!_r.has(cr)})}(0,c.Z)(xn,Xn,!0)||St(Xn,!0)}),mr=function(Hn,Xn){var _r=Xn!=null?Xn:!xn.includes(Hn);ir(Hn,_r)},Rr=ie(fr,lr,In,bn,Yn,Mr,$r,kn,mr,yn);r.useEffect(function(){ar(!0)},[]);var Er=r.useMemo(function(){return{_internalRenderMenuItem:Kt,_internalRenderSubMenuItem:gt}},[Kt,gt]),Yr=fr!=="horizontal"||ft?hn:hn.map(function(tr,Hn){return r.createElement(u,{key:tr.key,overflowDisabled:Hn>Nr},tr)}),qr=r.createElement(e.Z,(0,T.Z)({id:Bt,ref:Yn,prefixCls:"".concat(Ue,"-overflow"),component:"ul",itemComponent:Mt,className:G()(Ue,"".concat(Ue,"-root"),"".concat(Ue,"-").concat(fr),qe,(0,A.Z)((0,A.Z)({},"".concat(Ue,"-inline-collapsed"),Fr),"".concat(Ue,"-rtl"),In),Te),dir:Ft,style:Ye,role:"menu",tabIndex:Dt,data:Yr,renderRawItem:function(Hn){return Hn},renderRawRest:function(Hn){var Xn=Hn.length,_r=Xn?hn.slice(-Xn):null;return r.createElement(Zn,{eventKey:D,title:mn,disabled:Ar,internalPopupClose:Xn===0,popupClassName:un},_r)},maxCount:fr!=="horizontal"||ft?e.Z.INVALIDATE:e.Z.RESPONSIVE,ssr:"full","data-menu-list":!0,onVisibleChange:function(Hn){Or(Hn)},onKeyDown:Rr},qt));return r.createElement(w.Provider,{value:Er},r.createElement(o.Provider,{value:bn},r.createElement(u,{prefixCls:Ue,rootClassName:Te,mode:fr,openKeys:xn,rtl:In,disabled:nt,motion:sr?Je:null,defaultMotions:sr?pt:null,activeKey:lr,onActive:Pn,onInactive:nr,selectedKeys:rr,inlineIndent:Re,subMenuOpenDelay:Ht,subMenuCloseDelay:jt,forceSubMenuRender:Ln,builtinPlacements:At,triggerSubMenuAction:Pt,getPopupContainer:sn,itemIcon:kt,expandIcon:Qt,onItemClick:xr,onOpenChange:ir},r.createElement(W.Provider,{value:Wr},qr),r.createElement("div",{style:{display:"none"},"aria-hidden":!0},r.createElement(I.Provider,{value:jr},Un)))))}),wt=lt,et=wt;et.Item=Mt,et.SubMenu=Zn,et.ItemGroup=Le,et.Divider=ne;var $e=et},11780:function(It,Fe,l){"use strict";l.d(Fe,{Z:function(){return y}});var T=l(71409),A=l(89490),j=l(11036),X=l(39224),V=l(59301),h=l(92310),$=l.n(h),G=l(29301),e=l(34280),s=["prefixCls","invalidate","item","renderItem","responsive","responsiveDisabled","registerSize","itemKey","className","style","children","display","order","component"],c=void 0;function t(n,a){var d=n.prefixCls,M=n.invalidate,ae=n.item,de=n.renderItem,ye=n.responsive,Ae=n.responsiveDisabled,He=n.registerSize,mt=n.itemKey,be=n.className,Ge=n.style,ut=n.children,Et=n.display,st=n.order,we=n.component,E=we===void 0?"div":we,B=(0,X.Z)(n,s),O=ye&&!Et;function q(z){He(mt,z)}V.useEffect(function(){return function(){q(null)}},[]);var ie=de&&ae!==c?de(ae,{index:st}):ut,R;M||(R={opacity:O?0:1,height:O?0:c,overflowY:O?"hidden":c,order:ye?st:c,pointerEvents:O?"none":c,position:O?"absolute":c});var g={};O&&(g["aria-hidden"]=!0);var P=V.createElement(E,(0,T.Z)({className:$()(!M&&d,be),style:(0,A.Z)((0,A.Z)({},R),Ge)},g,B,{ref:a}),ie);return ye&&(P=V.createElement(G.Z,{onResize:function(D){var U=D.offsetWidth;q(U)},disabled:Ae},P)),P}var r=V.forwardRef(t);r.displayName="Item";var i=r,o=l(6089),v=l(4676),b=l(16089);function S(n){if(typeof MessageChannel=="undefined")(0,b.Z)(n);else{var a=new MessageChannel;a.port1.onmessage=function(){return n()},a.port2.postMessage(void 0)}}function p(){var n=V.useRef(null),a=function(M){n.current||(n.current=[],S(function(){(0,v.unstable_batchedUpdates)(function(){n.current.forEach(function(ae){ae()}),n.current=null})})),n.current.push(M)};return a}function m(n,a){var d=V.useState(a),M=(0,j.Z)(d,2),ae=M[0],de=M[1],ye=(0,o.Z)(function(Ae){n(function(){de(Ae)})});return[ae,ye]}var f=V.createContext(null),u=["component"],k=["className"],I=["className"],F=function(a,d){var M=V.useContext(f);if(!M){var ae=a.component,de=ae===void 0?"div":ae,ye=(0,X.Z)(a,u);return V.createElement(de,(0,T.Z)({},ye,{ref:d}))}var Ae=M.className,He=(0,X.Z)(M,k),mt=a.className,be=(0,X.Z)(a,I);return V.createElement(f.Provider,{value:null},V.createElement(i,(0,T.Z)({ref:d,className:$()(Ae,mt)},He,be)))},K=V.forwardRef(F);K.displayName="RawItem";var Y=K,W=["prefixCls","data","renderItem","renderRawItem","itemKey","itemWidth","ssr","style","className","maxCount","renderRest","renderRawRest","suffix","component","itemComponent","onVisibleChange"],Pe="responsive",w="invalidate";function _(n){return"+ ".concat(n.length," ...")}function x(n,a){var d=n.prefixCls,M=d===void 0?"rc-overflow":d,ae=n.data,de=ae===void 0?[]:ae,ye=n.renderItem,Ae=n.renderRawItem,He=n.itemKey,mt=n.itemWidth,be=mt===void 0?10:mt,Ge=n.ssr,ut=n.style,Et=n.className,st=n.maxCount,we=n.renderRest,E=n.renderRawRest,B=n.suffix,O=n.component,q=O===void 0?"div":O,ie=n.itemComponent,R=n.onVisibleChange,g=(0,X.Z)(n,W),P=Ge==="full",z=p(),D=m(z,null),U=(0,j.Z)(D,2),Z=U[0],te=U[1],J=Z||0,ce=m(z,new Map),Ee=(0,j.Z)(ce,2),xe=Ee[0],Be=Ee[1],Ie=m(z,0),fe=(0,j.Z)(Ie,2),Ze=fe[0],Oe=fe[1],De=m(z,0),rt=(0,j.Z)(De,2),Ct=rt[0],Qe=rt[1],Ot=m(z,0),tn=(0,j.Z)(Ot,2),ht=tn[0],at=tn[1],bt=(0,V.useState)(null),Xt=(0,j.Z)(bt,2),Mt=Xt[0],Yt=Xt[1],rn=(0,V.useState)(null),Jt=(0,j.Z)(rn,2),Ve=Jt[0],_t=Jt[1],Vt=V.useMemo(function(){return Ve===null&&P?Number.MAX_SAFE_INTEGER:Ve||0},[Ve,Z]),gn=(0,V.useState)(!1),Zt=(0,j.Z)(gn,2),An=Zt[0],Vn=Zt[1],wn="".concat(M,"-item"),zt=Math.max(Ze,Ct),Nn=st===Pe,Cn=de.length&&Nn,On=st===w,_n=Cn||typeof st=="number"&&de.length>st,Sn=(0,V.useMemo)(function(){var et=de;return Cn?Z===null&&P?et=de:et=de.slice(0,Math.min(de.length,J/be)):typeof st=="number"&&(et=de.slice(0,st)),et},[de,be,Z,st,Cn]),Mn=(0,V.useMemo)(function(){return Cn?de.slice(Vt+1):de.slice(Sn.length)},[de,Sn,Cn,Vt]),fn=(0,V.useCallback)(function(et,$e){var H;return typeof He=="function"?He(et):(H=He&&(et==null?void 0:et[He]))!==null&&H!==void 0?H:$e},[He]),dn=(0,V.useCallback)(ye||function(et){return et},[ye]);function Zn(et,$e,H){Ve===et&&($e===void 0||$e===Mt)||(_t(et),H||(Vn(et<de.length-1),R==null||R(et)),$e!==void 0&&Yt($e))}function Fn(et,$e){te($e.clientWidth)}function ne(et,$e){Be(function(H){var se=new Map(H);return $e===null?se.delete(et):se.set(et,$e),se})}function Q(et,$e){Qe($e),Oe(Ct)}function We(et,$e){at($e)}function ze(et){return xe.get(fn(Sn[et],et))}(0,e.Z)(function(){if(J&&typeof zt=="number"&&Sn){var et=ht,$e=Sn.length,H=$e-1;if(!$e){Zn(0,null);return}for(var se=0;se<$e;se+=1){var ve=ze(se);if(P&&(ve=ve||0),ve===void 0){Zn(se-1,void 0,!0);break}if(et+=ve,H===0&&et<=J||se===H-1&&et+ze(H)<=J){Zn(H,null);break}else if(et+zt>J){Zn(se-1,et-ve-ht+Ct);break}}B&&ze(0)+ht>J&&Yt(null)}},[J,xe,Ct,ht,fn,Sn]);var Le=An&&!!Mn.length,ct={};Mt!==null&&Cn&&(ct={position:"absolute",left:Mt,top:0});var ge={prefixCls:wn,responsive:Cn,component:ie,invalidate:On},pe=Ae?function(et,$e){var H=fn(et,$e);return V.createElement(f.Provider,{key:H,value:(0,A.Z)((0,A.Z)({},ge),{},{order:$e,item:et,itemKey:H,registerSize:ne,display:$e<=Vt})},Ae(et,$e))}:function(et,$e){var H=fn(et,$e);return V.createElement(i,(0,T.Z)({},ge,{order:$e,key:H,item:et,renderItem:dn,itemKey:H,registerSize:ne,display:$e<=Vt}))},Ke={order:Le?Vt:Number.MAX_SAFE_INTEGER,className:"".concat(wn,"-rest"),registerSize:Q,display:Le},Xe=we||_,lt=E?V.createElement(f.Provider,{value:(0,A.Z)((0,A.Z)({},ge),Ke)},E(Mn)):V.createElement(i,(0,T.Z)({},ge,Ke),typeof Xe=="function"?Xe(Mn):Xe),wt=V.createElement(q,(0,T.Z)({className:$()(!On&&M,Et),style:ut,ref:a},g),Sn.map(pe),_n?lt:null,B&&V.createElement(i,(0,T.Z)({},ge,{responsive:Nn,responsiveDisabled:!Cn,order:Vt,className:"".concat(wn,"-suffix"),registerSize:We,display:!0,style:ct}),B));return Nn?V.createElement(G.Z,{onResize:Fn,disabled:!Cn},wt):wt}var N=V.forwardRef(x);N.displayName="Overflow",N.Item=Y,N.RESPONSIVE=Pe,N.INVALIDATE=w;var C=N,y=C},23425:function(It,Fe,l){"use strict";l.d(Fe,{Z:function(){return I}});var T=l(87075),A=l(71409),j=l(28788),X=l(89490),V=l(11036),h=l(92310),$=l.n(h),G=l(18929),e=l(10228),s=l(26112),c=l(48736),t=l(59301),r=l(17119),i=[10,20,50,100],o=function(K){var Y=K.pageSizeOptions,W=Y===void 0?i:Y,Pe=K.locale,w=K.changeSize,_=K.pageSize,x=K.goButton,N=K.quickGo,C=K.rootPrefixCls,y=K.disabled,n=K.buildOptionText,a=K.showSizeChanger,d=K.sizeChangerRender,M=t.useState(""),ae=(0,V.Z)(M,2),de=ae[0],ye=ae[1],Ae=function(){return!de||Number.isNaN(de)?void 0:Number(de)},He=typeof n=="function"?n:function(B){return"".concat(B," ").concat(Pe.items_per_page)},mt=function(O){ye(O.target.value)},be=function(O){x||de===""||(ye(""),!(O.relatedTarget&&(O.relatedTarget.className.indexOf("".concat(C,"-item-link"))>=0||O.relatedTarget.className.indexOf("".concat(C,"-item"))>=0))&&(N==null||N(Ae())))},Ge=function(O){de!==""&&(O.keyCode===e.Z.ENTER||O.type==="click")&&(ye(""),N==null||N(Ae()))},ut=function(){return W.some(function(O){return O.toString()===_.toString()})?W:W.concat([_]).sort(function(O,q){var ie=Number.isNaN(Number(O))?0:Number(O),R=Number.isNaN(Number(q))?0:Number(q);return ie-R})},Et="".concat(C,"-options");if(!a&&!N)return null;var st=null,we=null,E=null;return a&&d&&(st=d({disabled:y,size:_,onSizeChange:function(O){w==null||w(Number(O))},"aria-label":Pe.page_size,className:"".concat(Et,"-size-changer"),options:ut().map(function(B){return{label:He(B),value:B}})})),N&&(x&&(E=typeof x=="boolean"?t.createElement("button",{type:"button",onClick:Ge,onKeyUp:Ge,disabled:y,className:"".concat(Et,"-quick-jumper-button")},Pe.jump_to_confirm):t.createElement("span",{onClick:Ge,onKeyUp:Ge},x)),we=t.createElement("div",{className:"".concat(Et,"-quick-jumper")},Pe.jump_to,t.createElement("input",{disabled:y,type:"text",value:de,onChange:mt,onKeyUp:Ge,onBlur:be,"aria-label":Pe.page}),Pe.page,E)),t.createElement("li",{className:Et},st,we)},v=o,b=function(K){var Y=K.rootPrefixCls,W=K.page,Pe=K.active,w=K.className,_=K.showTitle,x=K.onClick,N=K.onKeyPress,C=K.itemRender,y="".concat(Y,"-item"),n=$()(y,"".concat(y,"-").concat(W),(0,T.Z)((0,T.Z)({},"".concat(y,"-active"),Pe),"".concat(y,"-disabled"),!W),w),a=function(){x(W)},d=function(de){N(de,x,W)},M=C(W,"page",t.createElement("a",{rel:"nofollow"},W));return M?t.createElement("li",{title:_?String(W):null,className:n,onClick:a,onKeyDown:d,tabIndex:0},M):null},S=b,p=function(K,Y,W){return W};function m(){}function f(F){var K=Number(F);return typeof K=="number"&&!Number.isNaN(K)&&isFinite(K)&&Math.floor(K)===K}function u(F,K,Y){var W=typeof F=="undefined"?K:F;return Math.floor((Y-1)/W)+1}var k=function(K){var Y=K.prefixCls,W=Y===void 0?"rc-pagination":Y,Pe=K.selectPrefixCls,w=Pe===void 0?"rc-select":Pe,_=K.className,x=K.current,N=K.defaultCurrent,C=N===void 0?1:N,y=K.total,n=y===void 0?0:y,a=K.pageSize,d=K.defaultPageSize,M=d===void 0?10:d,ae=K.onChange,de=ae===void 0?m:ae,ye=K.hideOnSinglePage,Ae=K.align,He=K.showPrevNextJumpers,mt=He===void 0?!0:He,be=K.showQuickJumper,Ge=K.showLessItems,ut=K.showTitle,Et=ut===void 0?!0:ut,st=K.onShowSizeChange,we=st===void 0?m:st,E=K.locale,B=E===void 0?r.Z:E,O=K.style,q=K.totalBoundaryShowSizeChanger,ie=q===void 0?50:q,R=K.disabled,g=K.simple,P=K.showTotal,z=K.showSizeChanger,D=z===void 0?n>ie:z,U=K.sizeChangerRender,Z=K.pageSizeOptions,te=K.itemRender,J=te===void 0?p:te,ce=K.jumpPrevIcon,Ee=K.jumpNextIcon,xe=K.prevIcon,Be=K.nextIcon,Ie=t.useRef(null),fe=(0,G.Z)(10,{value:a,defaultValue:M}),Ze=(0,V.Z)(fe,2),Oe=Ze[0],De=Ze[1],rt=(0,G.Z)(1,{value:x,defaultValue:C,postState:function(ft){return Math.max(1,Math.min(ft,u(void 0,Oe,n)))}}),Ct=(0,V.Z)(rt,2),Qe=Ct[0],Ot=Ct[1],tn=t.useState(Qe),ht=(0,V.Z)(tn,2),at=ht[0],bt=ht[1];(0,t.useEffect)(function(){bt(Qe)},[Qe]);var Xt=de!==m,Mt="current"in K,Yt=Math.max(1,Qe-(Ge?3:5)),rn=Math.min(u(void 0,Oe,n),Qe+(Ge?3:5));function Jt(nt,ft){var vt=nt||t.createElement("button",{type:"button","aria-label":ft,className:"".concat(W,"-item-link")});return typeof nt=="function"&&(vt=t.createElement(nt,(0,X.Z)({},K))),vt}function Ve(nt){var ft=nt.target.value,vt=u(void 0,Oe,n),Ht;return ft===""?Ht=ft:Number.isNaN(Number(ft))?Ht=at:ft>=vt?Ht=vt:Ht=Number(ft),Ht}function _t(nt){return f(nt)&&nt!==Qe&&f(n)&&n>0}var Vt=n>Oe?be:!1;function gn(nt){(nt.keyCode===e.Z.UP||nt.keyCode===e.Z.DOWN)&&nt.preventDefault()}function Zt(nt){var ft=Ve(nt);switch(ft!==at&&bt(ft),nt.keyCode){case e.Z.ENTER:wn(ft);break;case e.Z.UP:wn(ft-1);break;case e.Z.DOWN:wn(ft+1);break;default:break}}function An(nt){wn(Ve(nt))}function Vn(nt){var ft=u(nt,Oe,n),vt=Qe>ft&&ft!==0?ft:Qe;De(nt),bt(vt),we==null||we(Qe,nt),Ot(vt),de==null||de(vt,nt)}function wn(nt){if(_t(nt)&&!R){var ft=u(void 0,Oe,n),vt=nt;return nt>ft?vt=ft:nt<1&&(vt=1),vt!==at&&bt(vt),Ot(vt),de==null||de(vt,Oe),vt}return Qe}var zt=Qe>1,Nn=Qe<u(void 0,Oe,n);function Cn(){zt&&wn(Qe-1)}function On(){Nn&&wn(Qe+1)}function _n(){wn(Yt)}function Sn(){wn(rn)}function Mn(nt,ft){if(nt.key==="Enter"||nt.charCode===e.Z.ENTER||nt.keyCode===e.Z.ENTER){for(var vt=arguments.length,Ht=new Array(vt>2?vt-2:0),Tt=2;Tt<vt;Tt++)Ht[Tt-2]=arguments[Tt];ft.apply(void 0,Ht)}}function fn(nt){Mn(nt,Cn)}function dn(nt){Mn(nt,On)}function Zn(nt){Mn(nt,_n)}function Fn(nt){Mn(nt,Sn)}function ne(nt){var ft=J(nt,"prev",Jt(xe,"prev page"));return t.isValidElement(ft)?t.cloneElement(ft,{disabled:!zt}):ft}function Q(nt){var ft=J(nt,"next",Jt(Be,"next page"));return t.isValidElement(ft)?t.cloneElement(ft,{disabled:!Nn}):ft}function We(nt){(nt.type==="click"||nt.keyCode===e.Z.ENTER)&&wn(at)}var ze=null,Le=(0,s.Z)(K,{aria:!0,data:!0}),ct=P&&t.createElement("li",{className:"".concat(W,"-total-text")},P(n,[n===0?0:(Qe-1)*Oe+1,Qe*Oe>n?n:Qe*Oe])),ge=null,pe=u(void 0,Oe,n);if(ye&&n<=Oe)return null;var Ke=[],Xe={rootPrefixCls:W,onClick:wn,onKeyPress:Mn,showTitle:Et,itemRender:J,page:-1},lt=Qe-1>0?Qe-1:0,wt=Qe+1<pe?Qe+1:pe,et=be&&be.goButton,$e=(0,j.Z)(g)==="object"?g.readOnly:!g,H=et,se=null;g&&(et&&(typeof et=="boolean"?H=t.createElement("button",{type:"button",onClick:We,onKeyUp:We},B.jump_to_confirm):H=t.createElement("span",{onClick:We,onKeyUp:We},et),H=t.createElement("li",{title:Et?"".concat(B.jump_to).concat(Qe,"/").concat(pe):null,className:"".concat(W,"-simple-pager")},H)),se=t.createElement("li",{title:Et?"".concat(Qe,"/").concat(pe):null,className:"".concat(W,"-simple-pager")},$e?at:t.createElement("input",{type:"text","aria-label":B.jump_to,value:at,disabled:R,onKeyDown:gn,onKeyUp:Zt,onChange:Zt,onBlur:An,size:3}),t.createElement("span",{className:"".concat(W,"-slash")},"/"),pe));var ve=Ge?1:2;if(pe<=3+ve*2){pe||Ke.push(t.createElement(S,(0,A.Z)({},Xe,{key:"noPager",page:1,className:"".concat(W,"-item-disabled")})));for(var he=1;he<=pe;he+=1)Ke.push(t.createElement(S,(0,A.Z)({},Xe,{key:he,page:he,active:Qe===he})))}else{var Me=Ge?B.prev_3:B.prev_5,Ue=Ge?B.next_3:B.next_5,Te=J(Yt,"jump-prev",Jt(ce,"prev page")),Ye=J(rn,"jump-next",Jt(Ee,"next page"));mt&&(ze=Te?t.createElement("li",{title:Et?Me:null,key:"prev",onClick:_n,tabIndex:0,onKeyDown:Zn,className:$()("".concat(W,"-jump-prev"),(0,T.Z)({},"".concat(W,"-jump-prev-custom-icon"),!!ce))},Te):null,ge=Ye?t.createElement("li",{title:Et?Ue:null,key:"next",onClick:Sn,tabIndex:0,onKeyDown:Fn,className:$()("".concat(W,"-jump-next"),(0,T.Z)({},"".concat(W,"-jump-next-custom-icon"),!!Ee))},Ye):null);var qe=Math.max(1,Qe-ve),ot=Math.min(Qe+ve,pe);Qe-1<=ve&&(ot=1+ve*2),pe-Qe<=ve&&(qe=pe-ve*2);for(var Dt=qe;Dt<=ot;Dt+=1)Ke.push(t.createElement(S,(0,A.Z)({},Xe,{key:Dt,page:Dt,active:Qe===Dt})));if(Qe-1>=ve*2&&Qe!==3&&(Ke[0]=t.cloneElement(Ke[0],{className:$()("".concat(W,"-item-after-jump-prev"),Ke[0].props.className)}),Ke.unshift(ze)),pe-Qe>=ve*2&&Qe!==pe-2){var it=Ke[Ke.length-1];Ke[Ke.length-1]=t.cloneElement(it,{className:$()("".concat(W,"-item-before-jump-next"),it.props.className)}),Ke.push(ge)}qe!==1&&Ke.unshift(t.createElement(S,(0,A.Z)({},Xe,{key:1,page:1}))),ot!==pe&&Ke.push(t.createElement(S,(0,A.Z)({},Xe,{key:pe,page:pe})))}var Lt=ne(lt);if(Lt){var Ft=!zt||!pe;Lt=t.createElement("li",{title:Et?B.prev_page:null,onClick:Cn,tabIndex:Ft?null:0,onKeyDown:fn,className:$()("".concat(W,"-prev"),(0,T.Z)({},"".concat(W,"-disabled"),Ft)),"aria-disabled":Ft},Lt)}var Bt=Q(wt);if(Bt){var yt,xt;g?(yt=!Nn,xt=zt?0:null):(yt=!Nn||!pe,xt=yt?null:0),Bt=t.createElement("li",{title:Et?B.next_page:null,onClick:On,tabIndex:xt,onKeyDown:dn,className:$()("".concat(W,"-next"),(0,T.Z)({},"".concat(W,"-disabled"),yt)),"aria-disabled":yt},Bt)}var Ut=$()(W,_,(0,T.Z)((0,T.Z)((0,T.Z)((0,T.Z)((0,T.Z)({},"".concat(W,"-start"),Ae==="start"),"".concat(W,"-center"),Ae==="center"),"".concat(W,"-end"),Ae==="end"),"".concat(W,"-simple"),g),"".concat(W,"-disabled"),R));return t.createElement("ul",(0,A.Z)({className:Ut,style:O,ref:Ie},Le),ct,Lt,g?se:Ke,Bt,t.createElement(v,{locale:B,rootPrefixCls:W,disabled:R,selectPrefixCls:w,changeSize:Vn,pageSize:Oe,pageSizeOptions:Z,quickGo:Vt?wn:null,goButton:H,showSizeChanger:D,sizeChangerRender:U}))},I=k},29301:function(It,Fe,l){"use strict";l.d(Fe,{Z:function(){return w}});var T=l(71409),A=l(59301),j=l(11592),X=l(48736),V=l(89490),h=l(28788),$=l(76846),G=l(8654),e=A.createContext(null);function s(_){var x=_.children,N=_.onBatchResize,C=A.useRef(0),y=A.useRef([]),n=A.useContext(e),a=A.useCallback(function(d,M,ae){C.current+=1;var de=C.current;y.current.push({size:d,element:M,data:ae}),Promise.resolve().then(function(){de===C.current&&(N==null||N(y.current),y.current=[])}),n==null||n(d,M,ae)},[N,n]);return A.createElement(e.Provider,{value:a},x)}var c=l(76374),t=new Map;function r(_){_.forEach(function(x){var N,C=x.target;(N=t.get(C))===null||N===void 0||N.forEach(function(y){return y(C)})})}var i=new c.Z(r),o=null,v=null;function b(_,x){t.has(_)||(t.set(_,new Set),i.observe(_)),t.get(_).add(x)}function S(_,x){t.has(_)&&(t.get(_).delete(x),t.get(_).size||(i.unobserve(_),t.delete(_)))}var p=l(16552),m=l(19210),f=l(46654),u=l(37205),k=function(_){(0,f.Z)(N,_);var x=(0,u.Z)(N);function N(){return(0,p.Z)(this,N),x.apply(this,arguments)}return(0,m.Z)(N,[{key:"render",value:function(){return this.props.children}}]),N}(A.Component);function I(_,x){var N=_.children,C=_.disabled,y=A.useRef(null),n=A.useRef(null),a=A.useContext(e),d=typeof N=="function",M=d?N(y):N,ae=A.useRef({width:-1,height:-1,offsetWidth:-1,offsetHeight:-1}),de=!d&&A.isValidElement(M)&&(0,G.Yr)(M),ye=de?(0,G.C4)(M):null,Ae=(0,G.x1)(ye,y),He=function(){var ut;return(0,$.ZP)(y.current)||(y.current&&(0,h.Z)(y.current)==="object"?(0,$.ZP)((ut=y.current)===null||ut===void 0?void 0:ut.nativeElement):null)||(0,$.ZP)(n.current)};A.useImperativeHandle(x,function(){return He()});var mt=A.useRef(_);mt.current=_;var be=A.useCallback(function(Ge){var ut=mt.current,Et=ut.onResize,st=ut.data,we=Ge.getBoundingClientRect(),E=we.width,B=we.height,O=Ge.offsetWidth,q=Ge.offsetHeight,ie=Math.floor(E),R=Math.floor(B);if(ae.current.width!==ie||ae.current.height!==R||ae.current.offsetWidth!==O||ae.current.offsetHeight!==q){var g={width:ie,height:R,offsetWidth:O,offsetHeight:q};ae.current=g;var P=O===Math.round(E)?E:O,z=q===Math.round(B)?B:q,D=(0,V.Z)((0,V.Z)({},g),{},{offsetWidth:P,offsetHeight:z});a==null||a(D,Ge,st),Et&&Promise.resolve().then(function(){Et(D,Ge)})}},[]);return A.useEffect(function(){var Ge=He();return Ge&&!C&&b(Ge,be),function(){return S(Ge,be)}},[y.current,C]),A.createElement(k,{ref:n},de?A.cloneElement(M,{ref:Ae}):M)}var F=A.forwardRef(I),K=F,Y="rc-observer-key";function W(_,x){var N=_.children,C=typeof N=="function"?[N]:(0,j.Z)(N);return C.map(function(y,n){var a=(y==null?void 0:y.key)||"".concat(Y,"-").concat(n);return A.createElement(K,(0,T.Z)({},_,{key:a,ref:n===0?x:void 0}),y)})}var Pe=A.forwardRef(W);Pe.Collection=s;var w=Pe},6551:function(It,Fe,l){"use strict";l.d(Fe,{ZP:function(){return $}});var T=l(11036),A=l(59301),j=l(47273),X=0,V=(0,j.Z)();function h(){var G;return V?(G=X,X+=1):G="TEST_OR_SSR",G}function $(G){var e=A.useState(),s=(0,T.Z)(e,2),c=s[0],t=s[1];return A.useEffect(function(){t("rc_select_".concat(h()))},[]),G||c}},37463:function(It,Fe,l){"use strict";l.d(Fe,{Ac:function(){return fe},Xo:function(){return Oe},Wx:function(){return rt},ZP:function(){return Fn},lk:function(){return m}});var T=l(71409),A=l(62730),j=l(87075),X=l(89490),V=l(11036),h=l(39224),$=l(28788),G=l(18929),e=l(48736),s=l(59301),c=l(92310),t=l.n(c),r=l(34280),i=l(49658),o=l(8654),v=function(Q){var We=Q.className,ze=Q.customizeIcon,Le=Q.customizeIconProps,ct=Q.children,ge=Q.onMouseDown,pe=Q.onClick,Ke=typeof ze=="function"?ze(Le):ze;return s.createElement("span",{className:We,onMouseDown:function(lt){lt.preventDefault(),ge==null||ge(lt)},style:{userSelect:"none",WebkitUserSelect:"none"},unselectable:"on",onClick:pe,"aria-hidden":!0},Ke!==void 0?Ke:s.createElement("span",{className:t()(We.split(/\s+/).map(function(Xe){return"".concat(Xe,"-icon")}))},ct))},b=v,S=function(Q,We,ze,Le,ct){var ge=arguments.length>5&&arguments[5]!==void 0?arguments[5]:!1,pe=arguments.length>6?arguments[6]:void 0,Ke=arguments.length>7?arguments[7]:void 0,Xe=s.useMemo(function(){if((0,$.Z)(Le)==="object")return Le.clearIcon;if(ct)return ct},[Le,ct]),lt=s.useMemo(function(){return!!(!ge&&Le&&(ze.length||pe)&&!(Ke==="combobox"&&pe===""))},[Le,ge,ze.length,pe,Ke]);return{allowClear:lt,clearIcon:s.createElement(b,{className:"".concat(Q,"-clear"),onMouseDown:We,customizeIcon:Xe},"\xD7")}},p=s.createContext(null);function m(){return s.useContext(p)}function f(){var ne=arguments.length>0&&arguments[0]!==void 0?arguments[0]:10,Q=s.useState(!1),We=(0,V.Z)(Q,2),ze=We[0],Le=We[1],ct=s.useRef(null),ge=function(){window.clearTimeout(ct.current)};s.useEffect(function(){return ge},[]);var pe=function(Xe,lt){ge(),ct.current=window.setTimeout(function(){Le(Xe),lt&&lt()},ne)};return[ze,pe,ge]}function u(){var ne=arguments.length>0&&arguments[0]!==void 0?arguments[0]:250,Q=s.useRef(null),We=s.useRef(null);s.useEffect(function(){return function(){window.clearTimeout(We.current)}},[]);function ze(Le){(Le||Q.current===null)&&(Q.current=Le),window.clearTimeout(We.current),We.current=window.setTimeout(function(){Q.current=null},ne)}return[function(){return Q.current},ze]}function k(ne,Q,We,ze){var Le=s.useRef(null);Le.current={open:Q,triggerOpen:We,customizedTrigger:ze},s.useEffect(function(){function ct(ge){var pe;if(!((pe=Le.current)!==null&&pe!==void 0&&pe.customizedTrigger)){var Ke=ge.target;Ke.shadowRoot&&ge.composed&&(Ke=ge.composedPath()[0]||Ke),Le.current.open&&ne().filter(function(Xe){return Xe}).every(function(Xe){return!Xe.contains(Ke)&&Xe!==Ke})&&Le.current.triggerOpen(!1)}}return window.addEventListener("mousedown",ct),function(){return window.removeEventListener("mousedown",ct)}},[])}var I=l(10228);function F(ne){return ne&&![I.Z.ESC,I.Z.SHIFT,I.Z.BACKSPACE,I.Z.TAB,I.Z.WIN_KEY,I.Z.ALT,I.Z.META,I.Z.WIN_KEY_RIGHT,I.Z.CTRL,I.Z.SEMICOLON,I.Z.EQUALS,I.Z.CAPS_LOCK,I.Z.CONTEXT_MENU,I.Z.F1,I.Z.F2,I.Z.F3,I.Z.F4,I.Z.F5,I.Z.F6,I.Z.F7,I.Z.F8,I.Z.F9,I.Z.F10,I.Z.F11,I.Z.F12].includes(ne)}var K=l(26112),Y=l(11780);function W(ne,Q,We){var ze=(0,X.Z)((0,X.Z)({},ne),We?Q:{});return Object.keys(Q).forEach(function(Le){var ct=Q[Le];typeof ct=="function"&&(ze[Le]=function(){for(var ge,pe=arguments.length,Ke=new Array(pe),Xe=0;Xe<pe;Xe++)Ke[Xe]=arguments[Xe];return ct.apply(void 0,Ke),(ge=ne[Le])===null||ge===void 0?void 0:ge.call.apply(ge,[ne].concat(Ke))})}),ze}var Pe=W,w=["prefixCls","id","inputElement","autoFocus","autoComplete","editable","activeDescendantId","value","open","attrs"],_=function(Q,We){var ze=Q.prefixCls,Le=Q.id,ct=Q.inputElement,ge=Q.autoFocus,pe=Q.autoComplete,Ke=Q.editable,Xe=Q.activeDescendantId,lt=Q.value,wt=Q.open,et=Q.attrs,$e=(0,h.Z)(Q,w),H=ct||s.createElement("input",null),se=H,ve=se.ref,he=se.props;return(0,e.Kp)(!("maxLength"in H.props),"Passing 'maxLength' to input element directly may not work because input in BaseSelect is controlled."),H=s.cloneElement(H,(0,X.Z)((0,X.Z)((0,X.Z)({type:"search"},Pe($e,he,!0)),{},{id:Le,ref:(0,o.sQ)(We,ve),autoComplete:pe||"off",autoFocus:ge,className:t()("".concat(ze,"-selection-search-input"),he==null?void 0:he.className),role:"combobox","aria-expanded":wt||!1,"aria-haspopup":"listbox","aria-owns":"".concat(Le,"_list"),"aria-autocomplete":"list","aria-controls":"".concat(Le,"_list"),"aria-activedescendant":wt?Xe:void 0},et),{},{value:Ke?lt:"",readOnly:!Ke,unselectable:Ke?null:"on",style:(0,X.Z)((0,X.Z)({},he.style),{},{opacity:Ke?null:0})})),H},x=s.forwardRef(_),N=x;function C(ne){return Array.isArray(ne)?ne:ne!==void 0?[ne]:[]}var y=typeof window!="undefined"&&window.document&&window.document.documentElement,n=y;function a(ne){return ne!=null}function d(ne){return!ne&&ne!==0}function M(ne){return["string","number"].includes((0,$.Z)(ne))}function ae(ne){var Q=void 0;return ne&&(M(ne.title)?Q=ne.title.toString():M(ne.label)&&(Q=ne.label.toString())),Q}function de(ne,Q){n?s.useLayoutEffect(ne,Q):s.useEffect(ne,Q)}function ye(ne){var Q;return(Q=ne.key)!==null&&Q!==void 0?Q:ne.value}var Ae=function(Q){Q.preventDefault(),Q.stopPropagation()},He=function(Q){var We=Q.id,ze=Q.prefixCls,Le=Q.values,ct=Q.open,ge=Q.searchValue,pe=Q.autoClearSearchValue,Ke=Q.inputRef,Xe=Q.placeholder,lt=Q.disabled,wt=Q.mode,et=Q.showSearch,$e=Q.autoFocus,H=Q.autoComplete,se=Q.activeDescendantId,ve=Q.tabIndex,he=Q.removeIcon,Me=Q.maxTagCount,Ue=Q.maxTagTextLength,Te=Q.maxTagPlaceholder,Ye=Te===void 0?function(me){return"+ ".concat(me.length," ...")}:Te,qe=Q.tagRender,ot=Q.onToggleOpen,Dt=Q.onRemove,it=Q.onInputChange,Lt=Q.onInputPaste,Ft=Q.onInputKeyDown,Bt=Q.onInputMouseDown,yt=Q.onInputCompositionStart,xt=Q.onInputCompositionEnd,Ut=Q.onInputBlur,nt=s.useRef(null),ft=(0,s.useState)(0),vt=(0,V.Z)(ft,2),Ht=vt[0],Tt=vt[1],jt=(0,s.useState)(!1),Ln=(0,V.Z)(jt,2),L=Ln[0],oe=Ln[1],ee="".concat(ze,"-selection"),le=ct||wt==="multiple"&&pe===!1||wt==="tags"?ge:"",_e=wt==="tags"||wt==="multiple"&&pe===!1||et&&(ct||L);de(function(){Tt(nt.current.scrollWidth)},[le]);var Se=function(Ce,Re,Je,pt,tt){return s.createElement("span",{title:ae(Ce),className:t()("".concat(ee,"-item"),(0,j.Z)({},"".concat(ee,"-item-disabled"),Je))},s.createElement("span",{className:"".concat(ee,"-item-content")},Re),pt&&s.createElement(b,{className:"".concat(ee,"-item-remove"),onMouseDown:Ae,onClick:tt,customizeIcon:he},"\xD7"))},je=function(Ce,Re,Je,pt,tt,Pt){var At=function(Qt){Ae(Qt),ot(!ct)};return s.createElement("span",{onMouseDown:At},qe({label:Re,value:Ce,disabled:Je,closable:pt,onClose:tt,isMaxTag:!!Pt}))},ke=function(Ce){var Re=Ce.disabled,Je=Ce.label,pt=Ce.value,tt=!lt&&!Re,Pt=Je;if(typeof Ue=="number"&&(typeof Je=="string"||typeof Je=="number")){var At=String(Pt);At.length>Ue&&(Pt="".concat(At.slice(0,Ue),"..."))}var kt=function(dt){dt&&dt.stopPropagation(),Dt(Ce)};return typeof qe=="function"?je(pt,Pt,Re,tt,kt):Se(Ce,Pt,Re,tt,kt)},Ne=function(Ce){if(!Le.length)return null;var Re=typeof Ye=="function"?Ye(Ce):Ye;return typeof qe=="function"?je(void 0,Re,!1,!1,void 0,!0):Se({title:Re},Re,!1)},re=s.createElement("div",{className:"".concat(ee,"-search"),style:{width:Ht},onFocus:function(){oe(!0)},onBlur:function(){oe(!1)}},s.createElement(N,{ref:Ke,open:ct,prefixCls:ze,id:We,inputElement:null,disabled:lt,autoFocus:$e,autoComplete:H,editable:_e,activeDescendantId:se,value:le,onKeyDown:Ft,onMouseDown:Bt,onChange:it,onPaste:Lt,onCompositionStart:yt,onCompositionEnd:xt,onBlur:Ut,tabIndex:ve,attrs:(0,K.Z)(Q,!0)}),s.createElement("span",{ref:nt,className:"".concat(ee,"-search-mirror"),"aria-hidden":!0},le,"\xA0")),ue=s.createElement(Y.Z,{prefixCls:"".concat(ee,"-overflow"),data:Le,renderItem:ke,renderRest:Ne,suffix:re,itemKey:ye,maxCount:Me});return s.createElement("span",{className:"".concat(ee,"-wrap")},ue,!Le.length&&!le&&s.createElement("span",{className:"".concat(ee,"-placeholder")},Xe))},mt=He,be=function(Q){var We=Q.inputElement,ze=Q.prefixCls,Le=Q.id,ct=Q.inputRef,ge=Q.disabled,pe=Q.autoFocus,Ke=Q.autoComplete,Xe=Q.activeDescendantId,lt=Q.mode,wt=Q.open,et=Q.values,$e=Q.placeholder,H=Q.tabIndex,se=Q.showSearch,ve=Q.searchValue,he=Q.activeValue,Me=Q.maxLength,Ue=Q.onInputKeyDown,Te=Q.onInputMouseDown,Ye=Q.onInputChange,qe=Q.onInputPaste,ot=Q.onInputCompositionStart,Dt=Q.onInputCompositionEnd,it=Q.onInputBlur,Lt=Q.title,Ft=s.useState(!1),Bt=(0,V.Z)(Ft,2),yt=Bt[0],xt=Bt[1],Ut=lt==="combobox",nt=Ut||se,ft=et[0],vt=ve||"";Ut&&he&&!yt&&(vt=he),s.useEffect(function(){Ut&&xt(!1)},[Ut,he]);var Ht=lt!=="combobox"&&!wt&&!se?!1:!!vt,Tt=Lt===void 0?ae(ft):Lt,jt=s.useMemo(function(){return ft?null:s.createElement("span",{className:"".concat(ze,"-selection-placeholder"),style:Ht?{visibility:"hidden"}:void 0},$e)},[ft,Ht,$e,ze]);return s.createElement("span",{className:"".concat(ze,"-selection-wrap")},s.createElement("span",{className:"".concat(ze,"-selection-search")},s.createElement(N,{ref:ct,prefixCls:ze,id:Le,open:wt,inputElement:We,disabled:ge,autoFocus:pe,autoComplete:Ke,editable:nt,activeDescendantId:Xe,value:vt,onKeyDown:Ue,onMouseDown:Te,onChange:function(L){xt(!0),Ye(L)},onPaste:qe,onCompositionStart:ot,onCompositionEnd:Dt,onBlur:it,tabIndex:H,attrs:(0,K.Z)(Q,!0),maxLength:Ut?Me:void 0})),!Ut&&ft?s.createElement("span",{className:"".concat(ze,"-selection-item"),title:Tt,style:Ht?{visibility:"hidden"}:void 0},ft.label):null,jt)},Ge=be,ut=function(Q,We){var ze=(0,s.useRef)(null),Le=(0,s.useRef)(!1),ct=Q.prefixCls,ge=Q.open,pe=Q.mode,Ke=Q.showSearch,Xe=Q.tokenWithEnter,lt=Q.disabled,wt=Q.prefix,et=Q.autoClearSearchValue,$e=Q.onSearch,H=Q.onSearchSubmit,se=Q.onToggleOpen,ve=Q.onInputKeyDown,he=Q.onInputBlur,Me=Q.domRef;s.useImperativeHandle(We,function(){return{focus:function(Tt){ze.current.focus(Tt)},blur:function(){ze.current.blur()}}});var Ue=u(0),Te=(0,V.Z)(Ue,2),Ye=Te[0],qe=Te[1],ot=function(Tt){var jt=Tt.which,Ln=ze.current instanceof HTMLTextAreaElement;!Ln&&ge&&(jt===I.Z.UP||jt===I.Z.DOWN)&&Tt.preventDefault(),ve&&ve(Tt),jt===I.Z.ENTER&&pe==="tags"&&!Le.current&&!ge&&(H==null||H(Tt.target.value)),!(Ln&&!ge&&~[I.Z.UP,I.Z.DOWN,I.Z.LEFT,I.Z.RIGHT].indexOf(jt))&&F(jt)&&se(!0)},Dt=function(){qe(!0)},it=(0,s.useRef)(null),Lt=function(Tt){$e(Tt,!0,Le.current)!==!1&&se(!0)},Ft=function(){Le.current=!0},Bt=function(Tt){Le.current=!1,pe!=="combobox"&&Lt(Tt.target.value)},yt=function(Tt){var jt=Tt.target.value;if(Xe&&it.current&&/[\r\n]/.test(it.current)){var Ln=it.current.replace(/[\r\n]+$/,"").replace(/\r\n/g," ").replace(/[\r\n]/g," ");jt=jt.replace(Ln,it.current)}it.current=null,Lt(jt)},xt=function(Tt){var jt=Tt.clipboardData,Ln=jt==null?void 0:jt.getData("text");it.current=Ln||""},Ut=function(Tt){var jt=Tt.target;if(jt!==ze.current){var Ln=document.body.style.msTouchAction!==void 0;Ln?setTimeout(function(){ze.current.focus()}):ze.current.focus()}},nt=function(Tt){var jt=Ye();Tt.target!==ze.current&&!jt&&!(pe==="combobox"&&lt)&&Tt.preventDefault(),(pe!=="combobox"&&(!Ke||!jt)||!ge)&&(ge&&et!==!1&&$e("",!0,!1),se())},ft={inputRef:ze,onInputKeyDown:ot,onInputMouseDown:Dt,onInputChange:yt,onInputPaste:xt,onInputCompositionStart:Ft,onInputCompositionEnd:Bt,onInputBlur:he},vt=pe==="multiple"||pe==="tags"?s.createElement(mt,(0,T.Z)({},Q,ft)):s.createElement(Ge,(0,T.Z)({},Q,ft));return s.createElement("div",{ref:Me,className:"".concat(ct,"-selector"),onClick:Ut,onMouseDown:nt},wt&&s.createElement("div",{className:"".concat(ct,"-prefix")},wt),vt)},Et=s.forwardRef(ut),st=Et,we=l(65352),E=["prefixCls","disabled","visible","children","popupElement","animation","transitionName","dropdownStyle","dropdownClassName","direction","placement","builtinPlacements","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","getPopupContainer","empty","getTriggerDOMNode","onPopupVisibleChange","onPopupMouseEnter"],B=function(Q){var We=Q===!0?0:1;return{bottomLeft:{points:["tl","bl"],offset:[0,4],overflow:{adjustX:We,adjustY:1},htmlRegion:"scroll"},bottomRight:{points:["tr","br"],offset:[0,4],overflow:{adjustX:We,adjustY:1},htmlRegion:"scroll"},topLeft:{points:["bl","tl"],offset:[0,-4],overflow:{adjustX:We,adjustY:1},htmlRegion:"scroll"},topRight:{points:["br","tr"],offset:[0,-4],overflow:{adjustX:We,adjustY:1},htmlRegion:"scroll"}}},O=function(Q,We){var ze=Q.prefixCls,Le=Q.disabled,ct=Q.visible,ge=Q.children,pe=Q.popupElement,Ke=Q.animation,Xe=Q.transitionName,lt=Q.dropdownStyle,wt=Q.dropdownClassName,et=Q.direction,$e=et===void 0?"ltr":et,H=Q.placement,se=Q.builtinPlacements,ve=Q.dropdownMatchSelectWidth,he=Q.dropdownRender,Me=Q.dropdownAlign,Ue=Q.getPopupContainer,Te=Q.empty,Ye=Q.getTriggerDOMNode,qe=Q.onPopupVisibleChange,ot=Q.onPopupMouseEnter,Dt=(0,h.Z)(Q,E),it="".concat(ze,"-dropdown"),Lt=pe;he&&(Lt=he(pe));var Ft=s.useMemo(function(){return se||B(ve)},[se,ve]),Bt=Ke?"".concat(it,"-").concat(Ke):Xe,yt=typeof ve=="number",xt=s.useMemo(function(){return yt?null:ve===!1?"minWidth":"width"},[ve,yt]),Ut=lt;yt&&(Ut=(0,X.Z)((0,X.Z)({},Ut),{},{width:ve}));var nt=s.useRef(null);return s.useImperativeHandle(We,function(){return{getPopupElement:function(){var vt;return(vt=nt.current)===null||vt===void 0?void 0:vt.popupElement}}}),s.createElement(we.Z,(0,T.Z)({},Dt,{showAction:qe?["click"]:[],hideAction:qe?["click"]:[],popupPlacement:H||($e==="rtl"?"bottomRight":"bottomLeft"),builtinPlacements:Ft,prefixCls:it,popupTransitionName:Bt,popup:s.createElement("div",{onMouseEnter:ot},Lt),ref:nt,stretch:xt,popupAlign:Me,popupVisible:ct,getPopupContainer:Ue,popupClassName:t()(wt,(0,j.Z)({},"".concat(it,"-empty"),Te)),popupStyle:Ut,getTriggerDOMNode:Ye,onPopupVisibleChange:qe}),ge)},q=s.forwardRef(O),ie=q,R=l(67900);function g(ne,Q){var We=ne.key,ze;return"value"in ne&&(ze=ne.value),We!=null?We:ze!==void 0?ze:"rc-index-key-".concat(Q)}function P(ne){return typeof ne!="undefined"&&!Number.isNaN(ne)}function z(ne,Q){var We=ne||{},ze=We.label,Le=We.value,ct=We.options,ge=We.groupLabel,pe=ze||(Q?"children":"label");return{label:pe,value:Le||"value",options:ct||"options",groupLabel:ge||pe}}function D(ne){var Q=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},We=Q.fieldNames,ze=Q.childrenAsData,Le=[],ct=z(We,!1),ge=ct.label,pe=ct.value,Ke=ct.options,Xe=ct.groupLabel;function lt(wt,et){Array.isArray(wt)&&wt.forEach(function($e){if(et||!(Ke in $e)){var H=$e[pe];Le.push({key:g($e,Le.length),groupOption:et,data:$e,label:$e[ge],value:H})}else{var se=$e[Xe];se===void 0&&ze&&(se=$e.label),Le.push({key:g($e,Le.length),group:!0,data:$e,label:se}),lt($e[Ke],!0)}})}return lt(ne,!1),Le}function U(ne){var Q=(0,X.Z)({},ne);return"props"in Q||Object.defineProperty(Q,"props",{get:function(){return(0,e.ZP)(!1,"Return type is option instead of Option instance. Please read value directly instead of reading from `props`."),Q}}),Q}var Z=function(Q,We,ze){if(!We||!We.length)return null;var Le=!1,ct=function pe(Ke,Xe){var lt=(0,R.Z)(Xe),wt=lt[0],et=lt.slice(1);if(!wt)return[Ke];var $e=Ke.split(wt);return Le=Le||$e.length>1,$e.reduce(function(H,se){return[].concat((0,A.Z)(H),(0,A.Z)(pe(se,et)))},[]).filter(Boolean)},ge=ct(Q,We);return Le?typeof ze!="undefined"?ge.slice(0,ze):ge:null},te=s.createContext(null),J=te;function ce(ne){var Q=ne.visible,We=ne.values;if(!Q)return null;var ze=50;return s.createElement("span",{"aria-live":"polite",style:{width:0,height:0,position:"absolute",overflow:"hidden",opacity:0}},"".concat(We.slice(0,ze).map(function(Le){var ct=Le.label,ge=Le.value;return["number","string"].includes((0,$.Z)(ct))?ct:ge}).join(", ")),We.length>ze?", ...":null)}var Ee=["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","prefix","suffixIcon","clearIcon","OptionList","animation","transitionName","dropdownStyle","dropdownClassName","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","placement","builtinPlacements","getPopupContainer","showAction","onFocus","onBlur","onKeyUp","onKeyDown","onMouseDown"],xe=["value","onChange","removeIcon","placeholder","autoFocus","maxTagCount","maxTagTextLength","maxTagPlaceholder","choiceTransitionName","onInputKeyDown","onPopupScroll","tabIndex"],Be=function(Q){return Q==="tags"||Q==="multiple"},Ie=s.forwardRef(function(ne,Q){var We,ze=ne.id,Le=ne.prefixCls,ct=ne.className,ge=ne.showSearch,pe=ne.tagRender,Ke=ne.direction,Xe=ne.omitDomProps,lt=ne.displayValues,wt=ne.onDisplayValuesChange,et=ne.emptyOptions,$e=ne.notFoundContent,H=$e===void 0?"Not Found":$e,se=ne.onClear,ve=ne.mode,he=ne.disabled,Me=ne.loading,Ue=ne.getInputElement,Te=ne.getRawInputElement,Ye=ne.open,qe=ne.defaultOpen,ot=ne.onDropdownVisibleChange,Dt=ne.activeValue,it=ne.onActiveValueChange,Lt=ne.activeDescendantId,Ft=ne.searchValue,Bt=ne.autoClearSearchValue,yt=ne.onSearch,xt=ne.onSearchSplit,Ut=ne.tokenSeparators,nt=ne.allowClear,ft=ne.prefix,vt=ne.suffixIcon,Ht=ne.clearIcon,Tt=ne.OptionList,jt=ne.animation,Ln=ne.transitionName,L=ne.dropdownStyle,oe=ne.dropdownClassName,ee=ne.dropdownMatchSelectWidth,le=ne.dropdownRender,_e=ne.dropdownAlign,Se=ne.placement,je=ne.builtinPlacements,ke=ne.getPopupContainer,Ne=ne.showAction,re=Ne===void 0?[]:Ne,ue=ne.onFocus,me=ne.onBlur,Ce=ne.onKeyUp,Re=ne.onKeyDown,Je=ne.onMouseDown,pt=(0,h.Z)(ne,Ee),tt=Be(ve),Pt=(ge!==void 0?ge:tt)||ve==="combobox",At=(0,X.Z)({},pt);xe.forEach(function(kn){delete At[kn]}),Xe==null||Xe.forEach(function(kn){delete At[kn]});var kt=s.useState(!1),Qt=(0,V.Z)(kt,2),dt=Qt[0],mn=Qt[1];s.useEffect(function(){mn((0,i.Z)())},[]);var un=s.useRef(null),sn=s.useRef(null),$t=s.useRef(null),on=s.useRef(null),yn=s.useRef(null),an=s.useRef(!1),vn=f(),Kt=(0,V.Z)(vn,3),gt=Kt[0],Nt=Kt[1],qt=Kt[2];s.useImperativeHandle(Q,function(){var kn,Pn;return{focus:(kn=on.current)===null||kn===void 0?void 0:kn.focus,blur:(Pn=on.current)===null||Pn===void 0?void 0:Pn.blur,scrollTo:function(qn){var er;return(er=yn.current)===null||er===void 0?void 0:er.scrollTo(qn)},nativeElement:un.current||sn.current}});var pn=s.useMemo(function(){var kn;if(ve!=="combobox")return Ft;var Pn=(kn=lt[0])===null||kn===void 0?void 0:kn.value;return typeof Pn=="string"||typeof Pn=="number"?String(Pn):""},[Ft,ve,lt]),cn=ve==="combobox"&&typeof Ue=="function"&&Ue()||null,hn=typeof Te=="function"&&Te(),Un=(0,o.x1)(sn,hn==null||(We=hn.props)===null||We===void 0?void 0:We.ref),Jn=s.useState(!1),Gn=(0,V.Z)(Jn,2),sr=Gn[0],ar=Gn[1];(0,r.Z)(function(){ar(!0)},[]);var Yn=(0,G.Z)(!1,{defaultValue:qe,value:Ye}),bn=(0,V.Z)(Yn,2),In=bn[0],Wn=bn[1],Kn=sr?In:!1,xn=!H&&et;(he||xn&&Kn&&ve==="combobox")&&(Kn=!1);var En=xn?!1:Kn,St=s.useCallback(function(kn){var Pn=kn!==void 0?kn:!Kn;he||(Wn(Pn),Kn!==Pn&&(ot==null||ot(Pn)))},[he,Kn,Wn,ot]),nn=s.useMemo(function(){return(Ut||[]).some(function(kn){return[`
`,`\r
`].includes(kn)})},[Ut]),en=s.useContext(J)||{},ln=en.maxCount,Dn=en.rawValues,Bn=function(Pn,nr,qn){if(!(tt&&P(ln)&&(Dn==null?void 0:Dn.size)>=ln)){var er=!0,rr=Pn;it==null||it(null);var yr=Z(Pn,Ut,P(ln)?ln-Dn.size:void 0),gr=qn?null:yr;return ve!=="combobox"&&gr&&(rr="",xt==null||xt(gr),St(!1),er=!1),yt&&pn!==rr&&yt(rr,{source:nr?"typing":"effect"}),er}},Rt=function(Pn){!Pn||!Pn.trim()||yt(Pn,{source:"submit"})};s.useEffect(function(){!Kn&&!tt&&ve!=="combobox"&&Bn("",!1,!1)},[Kn]),s.useEffect(function(){In&&he&&Wn(!1),he&&!an.current&&Nt(!1)},[he]);var Wt=u(),Rn=(0,V.Z)(Wt,2),Gt=Rn[0],Tn=Rn[1],or=s.useRef(!1),$n=function(Pn){var nr=Gt(),qn=Pn.key,er=qn==="Enter";if(er&&(ve!=="combobox"&&Pn.preventDefault(),Kn||St(!0)),Tn(!!pn),qn==="Backspace"&&!nr&&tt&&!pn&&lt.length){for(var rr=(0,A.Z)(lt),yr=null,gr=rr.length-1;gr>=0;gr-=1){var xr=rr[gr];if(!xr.disabled){rr.splice(gr,1),yr=xr;break}}yr&&wt(rr,{type:"remove",values:[yr]})}for(var ir=arguments.length,mr=new Array(ir>1?ir-1:0),Rr=1;Rr<ir;Rr++)mr[Rr-1]=arguments[Rr];if(Kn&&(!er||!or.current)){var Er;er&&(or.current=!0),(Er=yn.current)===null||Er===void 0||Er.onKeyDown.apply(Er,[Pn].concat(mr))}Re==null||Re.apply(void 0,[Pn].concat(mr))},fr=function(Pn){for(var nr=arguments.length,qn=new Array(nr>1?nr-1:0),er=1;er<nr;er++)qn[er-1]=arguments[er];if(Kn){var rr;(rr=yn.current)===null||rr===void 0||rr.onKeyUp.apply(rr,[Pn].concat(qn))}Pn.key==="Enter"&&(or.current=!1),Ce==null||Ce.apply(void 0,[Pn].concat(qn))},ur=function(Pn){var nr=lt.filter(function(qn){return qn!==Pn});wt(nr,{type:"remove",values:[Pn]})},vr=function(){or.current=!1},Qn=s.useRef(!1),Fr=function(){Nt(!0),he||(ue&&!Qn.current&&ue.apply(void 0,arguments),re.includes("focus")&&St(!0)),Qn.current=!0},Br=function(){an.current=!0,Nt(!1,function(){Qn.current=!1,an.current=!1,St(!1)}),!he&&(pn&&(ve==="tags"?yt(pn,{source:"submit"}):ve==="multiple"&&yt("",{source:"blur"})),me&&me.apply(void 0,arguments))},Sr=[];s.useEffect(function(){return function(){Sr.forEach(function(kn){return clearTimeout(kn)}),Sr.splice(0,Sr.length)}},[]);var kr=function(Pn){var nr,qn=Pn.target,er=(nr=$t.current)===null||nr===void 0?void 0:nr.getPopupElement();if(er&&er.contains(qn)){var rr=setTimeout(function(){var ir=Sr.indexOf(rr);if(ir!==-1&&Sr.splice(ir,1),qt(),!dt&&!er.contains(document.activeElement)){var mr;(mr=on.current)===null||mr===void 0||mr.focus()}});Sr.push(rr)}for(var yr=arguments.length,gr=new Array(yr>1?yr-1:0),xr=1;xr<yr;xr++)gr[xr-1]=arguments[xr];Je==null||Je.apply(void 0,[Pn].concat(gr))},Nr=s.useState({}),Or=(0,V.Z)(Nr,2),Ar=Or[1];function br(){Ar({})}var Ir;hn&&(Ir=function(Pn){St(Pn)}),k(function(){var kn;return[un.current,(kn=$t.current)===null||kn===void 0?void 0:kn.getPopupElement()]},En,St,!!hn);var Pr=s.useMemo(function(){return(0,X.Z)((0,X.Z)({},ne),{},{notFoundContent:H,open:Kn,triggerOpen:En,id:ze,showSearch:Pt,multiple:tt,toggleOpen:St})},[ne,H,En,Kn,ze,Pt,tt,St]),zr=!!vt||Me,Dr;zr&&(Dr=s.createElement(b,{className:t()("".concat(Le,"-arrow"),(0,j.Z)({},"".concat(Le,"-arrow-loading"),Me)),customizeIcon:vt,customizeIconProps:{loading:Me,searchValue:pn,open:Kn,focused:gt,showSearch:Pt}}));var $r=function(){var Pn;se==null||se(),(Pn=on.current)===null||Pn===void 0||Pn.focus(),wt([],{type:"clear",values:lt}),Bn("",!1,!1)},Mr=S(Le,$r,lt,nt,Ht,he,pn,ve),Gr=Mr.allowClear,jr=Mr.clearIcon,Wr=s.createElement(Tt,{ref:yn}),Tr=t()(Le,ct,(0,j.Z)((0,j.Z)((0,j.Z)((0,j.Z)((0,j.Z)((0,j.Z)((0,j.Z)((0,j.Z)((0,j.Z)((0,j.Z)({},"".concat(Le,"-focused"),gt),"".concat(Le,"-multiple"),tt),"".concat(Le,"-single"),!tt),"".concat(Le,"-allow-clear"),nt),"".concat(Le,"-show-arrow"),zr),"".concat(Le,"-disabled"),he),"".concat(Le,"-loading"),Me),"".concat(Le,"-open"),Kn),"".concat(Le,"-customize-input"),cn),"".concat(Le,"-show-search"),Pt)),dr=s.createElement(ie,{ref:$t,disabled:he,prefixCls:Le,visible:En,popupElement:Wr,animation:jt,transitionName:Ln,dropdownStyle:L,dropdownClassName:oe,direction:Ke,dropdownMatchSelectWidth:ee,dropdownRender:le,dropdownAlign:_e,placement:Se,builtinPlacements:je,getPopupContainer:ke,empty:et,getTriggerDOMNode:function(Pn){return sn.current||Pn},onPopupVisibleChange:Ir,onPopupMouseEnter:br},hn?s.cloneElement(hn,{ref:Un}):s.createElement(st,(0,T.Z)({},ne,{domRef:sn,prefixCls:Le,inputElement:cn,ref:on,id:ze,prefix:ft,showSearch:Pt,autoClearSearchValue:Bt,mode:ve,activeDescendantId:Lt,tagRender:pe,values:lt,open:Kn,onToggleOpen:St,activeValue:Dt,searchValue:pn,onSearch:Bn,onSearchSubmit:Rt,onRemove:ur,tokenWithEnter:nn,onInputBlur:vr}))),lr;return hn?lr=dr:lr=s.createElement("div",(0,T.Z)({className:Tr},At,{ref:un,onMouseDown:kr,onKeyDown:$n,onKeyUp:fr,onFocus:Fr,onBlur:Br}),s.createElement(ce,{visible:gt&&!Kn,values:lt}),dr,Dr,Gr&&jr),s.createElement(p.Provider,{value:Pr},lr)}),fe=Ie,Ze=function(){return null};Ze.isSelectOptGroup=!0;var Oe=Ze,De=function(){return null};De.isSelectOption=!0;var rt=De,Ct=l(80547),Qe=l(2738),Ot=l(65283);function tn(){return/(mac\sos|macintosh)/i.test(navigator.appVersion)}var ht=["disabled","title","children","style","className"];function at(ne){return typeof ne=="string"||typeof ne=="number"}var bt=function(Q,We){var ze=m(),Le=ze.prefixCls,ct=ze.id,ge=ze.open,pe=ze.multiple,Ke=ze.mode,Xe=ze.searchValue,lt=ze.toggleOpen,wt=ze.notFoundContent,et=ze.onPopupScroll,$e=s.useContext(J),H=$e.maxCount,se=$e.flattenOptions,ve=$e.onActiveValue,he=$e.defaultActiveFirstOption,Me=$e.onSelect,Ue=$e.menuItemSelectedIcon,Te=$e.rawValues,Ye=$e.fieldNames,qe=$e.virtual,ot=$e.direction,Dt=$e.listHeight,it=$e.listItemHeight,Lt=$e.optionRender,Ft="".concat(Le,"-item"),Bt=(0,Ct.Z)(function(){return se},[ge,se],function(Ne,re){return re[0]&&Ne[1]!==re[1]}),yt=s.useRef(null),xt=s.useMemo(function(){return pe&&P(H)&&(Te==null?void 0:Te.size)>=H},[pe,H,Te==null?void 0:Te.size]),Ut=function(re){re.preventDefault()},nt=function(re){var ue;(ue=yt.current)===null||ue===void 0||ue.scrollTo(typeof re=="number"?{index:re}:re)},ft=s.useCallback(function(Ne){return Ke==="combobox"?!1:Te.has(Ne)},[Ke,(0,A.Z)(Te).toString(),Te.size]),vt=function(re){for(var ue=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1,me=Bt.length,Ce=0;Ce<me;Ce+=1){var Re=(re+Ce*ue+me)%me,Je=Bt[Re]||{},pt=Je.group,tt=Je.data;if(!pt&&!(tt!=null&&tt.disabled)&&(ft(tt.value)||!xt))return Re}return-1},Ht=s.useState(function(){return vt(0)}),Tt=(0,V.Z)(Ht,2),jt=Tt[0],Ln=Tt[1],L=function(re){var ue=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;Ln(re);var me={source:ue?"keyboard":"mouse"},Ce=Bt[re];if(!Ce){ve(null,-1,me);return}ve(Ce.value,re,me)};(0,s.useEffect)(function(){L(he!==!1?vt(0):-1)},[Bt.length,Xe]);var oe=s.useCallback(function(Ne){return Ke==="combobox"?String(Ne).toLowerCase()===Xe.toLowerCase():Te.has(Ne)},[Ke,Xe,(0,A.Z)(Te).toString(),Te.size]);(0,s.useEffect)(function(){var Ne=setTimeout(function(){if(!pe&&ge&&Te.size===1){var ue=Array.from(Te)[0],me=Bt.findIndex(function(Ce){var Re=Ce.data;return Xe?String(Re.value).startsWith(Xe):Re.value===ue});me!==-1&&(L(me),nt(me))}});if(ge){var re;(re=yt.current)===null||re===void 0||re.scrollTo(void 0)}return function(){return clearTimeout(Ne)}},[ge,Xe]);var ee=function(re){re!==void 0&&Me(re,{selected:!Te.has(re)}),pe||lt(!1)};if(s.useImperativeHandle(We,function(){return{onKeyDown:function(re){var ue=re.which,me=re.ctrlKey;switch(ue){case I.Z.N:case I.Z.P:case I.Z.UP:case I.Z.DOWN:{var Ce=0;if(ue===I.Z.UP?Ce=-1:ue===I.Z.DOWN?Ce=1:tn()&&me&&(ue===I.Z.N?Ce=1:ue===I.Z.P&&(Ce=-1)),Ce!==0){var Re=vt(jt+Ce,Ce);nt(Re),L(Re,!0)}break}case I.Z.TAB:case I.Z.ENTER:{var Je,pt=Bt[jt];pt&&!(pt!=null&&(Je=pt.data)!==null&&Je!==void 0&&Je.disabled)&&!xt?ee(pt.value):ee(void 0),ge&&re.preventDefault();break}case I.Z.ESC:lt(!1),ge&&re.stopPropagation()}},onKeyUp:function(){},scrollTo:function(re){nt(re)}}}),Bt.length===0)return s.createElement("div",{role:"listbox",id:"".concat(ct,"_list"),className:"".concat(Ft,"-empty"),onMouseDown:Ut},wt);var le=Object.keys(Ye).map(function(Ne){return Ye[Ne]}),_e=function(re){return re.label};function Se(Ne,re){var ue=Ne.group;return{role:ue?"presentation":"option",id:"".concat(ct,"_list_").concat(re)}}var je=function(re){var ue=Bt[re];if(!ue)return null;var me=ue.data||{},Ce=me.value,Re=ue.group,Je=(0,K.Z)(me,!0),pt=_e(ue);return ue?s.createElement("div",(0,T.Z)({"aria-label":typeof pt=="string"&&!Re?pt:null},Je,{key:re},Se(ue,re),{"aria-selected":oe(Ce)}),Ce):null},ke={role:"listbox",id:"".concat(ct,"_list")};return s.createElement(s.Fragment,null,qe&&s.createElement("div",(0,T.Z)({},ke,{style:{height:0,width:0,overflow:"hidden"}}),je(jt-1),je(jt),je(jt+1)),s.createElement(Ot.Z,{itemKey:"key",ref:yt,data:Bt,height:Dt,itemHeight:it,fullHeight:!1,onMouseDown:Ut,onScroll:et,virtual:qe,direction:ot,innerProps:qe?null:ke},function(Ne,re){var ue=Ne.group,me=Ne.groupOption,Ce=Ne.data,Re=Ne.label,Je=Ne.value,pt=Ce.key;if(ue){var tt,Pt=(tt=Ce.title)!==null&&tt!==void 0?tt:at(Re)?Re.toString():void 0;return s.createElement("div",{className:t()(Ft,"".concat(Ft,"-group"),Ce.className),title:Pt},Re!==void 0?Re:pt)}var At=Ce.disabled,kt=Ce.title,Qt=Ce.children,dt=Ce.style,mn=Ce.className,un=(0,h.Z)(Ce,ht),sn=(0,Qe.Z)(un,le),$t=ft(Je),on=At||!$t&&xt,yn="".concat(Ft,"-option"),an=t()(Ft,yn,mn,(0,j.Z)((0,j.Z)((0,j.Z)((0,j.Z)({},"".concat(yn,"-grouped"),me),"".concat(yn,"-active"),jt===re&&!on),"".concat(yn,"-disabled"),on),"".concat(yn,"-selected"),$t)),vn=_e(Ne),Kt=!Ue||typeof Ue=="function"||$t,gt=typeof vn=="number"?vn:vn||Je,Nt=at(gt)?gt.toString():void 0;return kt!==void 0&&(Nt=kt),s.createElement("div",(0,T.Z)({},(0,K.Z)(sn),qe?{}:Se(Ne,re),{"aria-selected":oe(Je),className:an,title:Nt,onMouseMove:function(){jt===re||on||L(re)},onClick:function(){on||ee(Je)},style:dt}),s.createElement("div",{className:"".concat(yn,"-content")},typeof Lt=="function"?Lt(Ne,{index:re}):gt),s.isValidElement(Ue)||$t,Kt&&s.createElement(b,{className:"".concat(Ft,"-option-state"),customizeIcon:Ue,customizeIconProps:{value:Je,disabled:on,isSelected:$t}},$t?"\u2713":null))}))},Xt=s.forwardRef(bt),Mt=Xt,Yt=function(ne,Q){var We=s.useRef({values:new Map,options:new Map}),ze=s.useMemo(function(){var ct=We.current,ge=ct.values,pe=ct.options,Ke=ne.map(function(wt){if(wt.label===void 0){var et;return(0,X.Z)((0,X.Z)({},wt),{},{label:(et=ge.get(wt.value))===null||et===void 0?void 0:et.label})}return wt}),Xe=new Map,lt=new Map;return Ke.forEach(function(wt){Xe.set(wt.value,wt),lt.set(wt.value,Q.get(wt.value)||pe.get(wt.value))}),We.current.values=Xe,We.current.options=lt,Ke},[ne,Q]),Le=s.useCallback(function(ct){return Q.get(ct)||We.current.options.get(ct)},[Q]);return[ze,Le]};function rn(ne,Q){return C(ne).join("").toUpperCase().includes(Q)}var Jt=function(ne,Q,We,ze,Le){return s.useMemo(function(){if(!We||ze===!1)return ne;var ct=Q.options,ge=Q.label,pe=Q.value,Ke=[],Xe=typeof ze=="function",lt=We.toUpperCase(),wt=Xe?ze:function($e,H){return Le?rn(H[Le],lt):H[ct]?rn(H[ge!=="children"?ge:"label"],lt):rn(H[pe],lt)},et=Xe?function($e){return U($e)}:function($e){return $e};return ne.forEach(function($e){if($e[ct]){var H=wt(We,et($e));if(H)Ke.push($e);else{var se=$e[ct].filter(function(ve){return wt(We,et(ve))});se.length&&Ke.push((0,X.Z)((0,X.Z)({},$e),{},(0,j.Z)({},ct,se)))}return}wt(We,et($e))&&Ke.push($e)}),Ke},[ne,ze,Le,We,Q])},Ve=l(6551),_t=l(11592),Vt=["children","value"],gn=["children"];function Zt(ne){var Q=ne,We=Q.key,ze=Q.props,Le=ze.children,ct=ze.value,ge=(0,h.Z)(ze,Vt);return(0,X.Z)({key:We,value:ct!==void 0?ct:We,children:Le},ge)}function An(ne){var Q=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return(0,_t.Z)(ne).map(function(We,ze){if(!s.isValidElement(We)||!We.type)return null;var Le=We,ct=Le.type.isSelectOptGroup,ge=Le.key,pe=Le.props,Ke=pe.children,Xe=(0,h.Z)(pe,gn);return Q||!ct?Zt(We):(0,X.Z)((0,X.Z)({key:"__RC_SELECT_GRP__".concat(ge===null?ze:ge,"__"),label:ge},Xe),{},{options:An(Ke)})}).filter(function(We){return We})}var Vn=function(Q,We,ze,Le,ct){return s.useMemo(function(){var ge=Q,pe=!Q;pe&&(ge=An(We));var Ke=new Map,Xe=new Map,lt=function($e,H,se){se&&typeof se=="string"&&$e.set(H[se],H)},wt=function et($e){for(var H=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,se=0;se<$e.length;se+=1){var ve=$e[se];!ve[ze.options]||H?(Ke.set(ve[ze.value],ve),lt(Xe,ve,ze.label),lt(Xe,ve,Le),lt(Xe,ve,ct)):et(ve[ze.options],!0)}};return wt(ge),{options:ge,valueOptions:Ke,labelOptions:Xe}},[Q,We,ze,Le,ct])},wn=Vn;function zt(ne){var Q=s.useRef();Q.current=ne;var We=s.useCallback(function(){return Q.current.apply(Q,arguments)},[]);return We}function Nn(ne){var Q=ne.mode,We=ne.options,ze=ne.children,Le=ne.backfill,ct=ne.allowClear,ge=ne.placeholder,pe=ne.getInputElement,Ke=ne.showSearch,Xe=ne.onSearch,lt=ne.defaultOpen,wt=ne.autoFocus,et=ne.labelInValue,$e=ne.value,H=ne.inputValue,se=ne.optionLabelProp,ve=isMultiple(Q),he=Ke!==void 0?Ke:ve||Q==="combobox",Me=We||convertChildrenToData(ze);if(warning(Q!=="tags"||Me.every(function(qe){return!qe.disabled}),"Please avoid setting option to disabled in tags mode since user can always type text as tag."),Q==="tags"||Q==="combobox"){var Ue=Me.some(function(qe){return qe.options?qe.options.some(function(ot){return typeof("value"in ot?ot.value:ot.key)=="number"}):typeof("value"in qe?qe.value:qe.key)=="number"});warning(!Ue,"`value` of Option should not use number type when `mode` is `tags` or `combobox`.")}if(warning(Q!=="combobox"||!se,"`combobox` mode not support `optionLabelProp`. Please set `value` on Option directly."),warning(Q==="combobox"||!Le,"`backfill` only works with `combobox` mode."),warning(Q==="combobox"||!pe,"`getInputElement` only work with `combobox` mode."),noteOnce(Q!=="combobox"||!pe||!ct||!ge,"Customize `getInputElement` should customize clear and placeholder logic instead of configuring `allowClear` and `placeholder`."),Xe&&!he&&Q!=="combobox"&&Q!=="tags"&&warning(!1,"`onSearch` should work with `showSearch` instead of use alone."),noteOnce(!lt||wt,"`defaultOpen` makes Select open without focus which means it will not close by click outside. You can set `autoFocus` if needed."),$e!=null){var Te=toArray($e);warning(!et||Te.every(function(qe){return _typeof(qe)==="object"&&("key"in qe||"value"in qe)}),"`value` should in shape of `{ value: string | number, label?: ReactNode }` when you set `labelInValue` to `true`"),warning(!ve||Array.isArray($e),"`value` should be array when `mode` is `multiple` or `tags`")}if(ze){var Ye=null;toNodeArray(ze).some(function(qe){if(!React.isValidElement(qe)||!qe.type)return!1;var ot=qe,Dt=ot.type;if(Dt.isSelectOption)return!1;if(Dt.isSelectOptGroup){var it=toNodeArray(qe.props.children).every(function(Lt){return!React.isValidElement(Lt)||!qe.type||Lt.type.isSelectOption?!0:(Ye=Lt.type,!1)});return!it}return Ye=Dt,!0}),Ye&&warning(!1,"`children` should be `Select.Option` or `Select.OptGroup` instead of `".concat(Ye.displayName||Ye.name||Ye,"`.")),warning(H===void 0,"`inputValue` is deprecated, please use `searchValue` instead.")}}function Cn(ne,Q){if(ne){var We=function ze(Le){for(var ct=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,ge=0;ge<Le.length;ge++){var pe=Le[ge];if(pe[Q==null?void 0:Q.value]===null)return warning(!1,"`value` in Select options should not be `null`."),!0;if(!ct&&Array.isArray(pe[Q==null?void 0:Q.options])&&ze(pe[Q==null?void 0:Q.options],!0))break}};We(ne)}}var On=null,_n=["id","mode","prefixCls","backfill","fieldNames","inputValue","searchValue","onSearch","autoClearSearchValue","onSelect","onDeselect","dropdownMatchSelectWidth","filterOption","filterSort","optionFilterProp","optionLabelProp","options","optionRender","children","defaultActiveFirstOption","menuItemSelectedIcon","virtual","direction","listHeight","listItemHeight","labelRender","value","defaultValue","labelInValue","onChange","maxCount"],Sn=["inputValue"];function Mn(ne){return!ne||(0,$.Z)(ne)!=="object"}var fn=s.forwardRef(function(ne,Q){var We=ne.id,ze=ne.mode,Le=ne.prefixCls,ct=Le===void 0?"rc-select":Le,ge=ne.backfill,pe=ne.fieldNames,Ke=ne.inputValue,Xe=ne.searchValue,lt=ne.onSearch,wt=ne.autoClearSearchValue,et=wt===void 0?!0:wt,$e=ne.onSelect,H=ne.onDeselect,se=ne.dropdownMatchSelectWidth,ve=se===void 0?!0:se,he=ne.filterOption,Me=ne.filterSort,Ue=ne.optionFilterProp,Te=ne.optionLabelProp,Ye=ne.options,qe=ne.optionRender,ot=ne.children,Dt=ne.defaultActiveFirstOption,it=ne.menuItemSelectedIcon,Lt=ne.virtual,Ft=ne.direction,Bt=ne.listHeight,yt=Bt===void 0?200:Bt,xt=ne.listItemHeight,Ut=xt===void 0?20:xt,nt=ne.labelRender,ft=ne.value,vt=ne.defaultValue,Ht=ne.labelInValue,Tt=ne.onChange,jt=ne.maxCount,Ln=(0,h.Z)(ne,_n),L=(0,Ve.ZP)(We),oe=Be(ze),ee=!!(!Ye&&ot),le=s.useMemo(function(){return he===void 0&&ze==="combobox"?!1:he},[he,ze]),_e=s.useMemo(function(){return z(pe,ee)},[JSON.stringify(pe),ee]),Se=(0,G.Z)("",{value:Xe!==void 0?Xe:Ke,postState:function(nn){return nn||""}}),je=(0,V.Z)(Se,2),ke=je[0],Ne=je[1],re=wn(Ye,ot,_e,Ue,Te),ue=re.valueOptions,me=re.labelOptions,Ce=re.options,Re=s.useCallback(function(St){var nn=C(St);return nn.map(function(en){var ln,Dn,Bn,Rt,Wt;if(Mn(en))ln=en;else{var Rn;Bn=en.key,Dn=en.label,ln=(Rn=en.value)!==null&&Rn!==void 0?Rn:Bn}var Gt=ue.get(ln);if(Gt){var Tn;if(Dn===void 0&&(Dn=Gt==null?void 0:Gt[Te||_e.label]),Bn===void 0&&(Bn=(Tn=Gt==null?void 0:Gt.key)!==null&&Tn!==void 0?Tn:ln),Rt=Gt==null?void 0:Gt.disabled,Wt=Gt==null?void 0:Gt.title,0)var or}return{label:Dn,value:ln,key:Bn,disabled:Rt,title:Wt}})},[_e,Te,ue]),Je=(0,G.Z)(vt,{value:ft}),pt=(0,V.Z)(Je,2),tt=pt[0],Pt=pt[1],At=s.useMemo(function(){var St,nn=oe&&tt===null?[]:tt,en=Re(nn);return ze==="combobox"&&d((St=en[0])===null||St===void 0?void 0:St.value)?[]:en},[tt,Re,ze,oe]),kt=Yt(At,ue),Qt=(0,V.Z)(kt,2),dt=Qt[0],mn=Qt[1],un=s.useMemo(function(){if(!ze&&dt.length===1){var St=dt[0];if(St.value===null&&(St.label===null||St.label===void 0))return[]}return dt.map(function(nn){var en;return(0,X.Z)((0,X.Z)({},nn),{},{label:(en=typeof nt=="function"?nt(nn):nn.label)!==null&&en!==void 0?en:nn.value})})},[ze,dt,nt]),sn=s.useMemo(function(){return new Set(dt.map(function(St){return St.value}))},[dt]);s.useEffect(function(){if(ze==="combobox"){var St,nn=(St=dt[0])===null||St===void 0?void 0:St.value;Ne(a(nn)?String(nn):"")}},[dt]);var $t=zt(function(St,nn){var en=nn!=null?nn:St;return(0,j.Z)((0,j.Z)({},_e.value,St),_e.label,en)}),on=s.useMemo(function(){if(ze!=="tags")return Ce;var St=(0,A.Z)(Ce),nn=function(ln){return ue.has(ln)};return(0,A.Z)(dt).sort(function(en,ln){return en.value<ln.value?-1:1}).forEach(function(en){var ln=en.value;nn(ln)||St.push($t(ln,en.label))}),St},[$t,Ce,ue,dt,ze]),yn=Jt(on,_e,ke,le,Ue),an=s.useMemo(function(){return ze!=="tags"||!ke||yn.some(function(St){return St[Ue||"value"]===ke})||yn.some(function(St){return St[_e.value]===ke})?yn:[$t(ke)].concat((0,A.Z)(yn))},[$t,Ue,ze,yn,ke,_e]),vn=function St(nn){var en=(0,A.Z)(nn).sort(function(ln,Dn){return Me(ln,Dn,{searchValue:ke})});return en.map(function(ln){return Array.isArray(ln.options)?(0,X.Z)((0,X.Z)({},ln),{},{options:ln.options.length>0?St(ln.options):ln.options}):ln})},Kt=s.useMemo(function(){return Me?vn(an):an},[an,Me,ke]),gt=s.useMemo(function(){return D(Kt,{fieldNames:_e,childrenAsData:ee})},[Kt,_e,ee]),Nt=function(nn){var en=Re(nn);if(Pt(en),Tt&&(en.length!==dt.length||en.some(function(Bn,Rt){var Wt;return((Wt=dt[Rt])===null||Wt===void 0?void 0:Wt.value)!==(Bn==null?void 0:Bn.value)}))){var ln=Ht?en:en.map(function(Bn){return Bn.value}),Dn=en.map(function(Bn){return U(mn(Bn.value))});Tt(oe?ln:ln[0],oe?Dn:Dn[0])}},qt=s.useState(null),pn=(0,V.Z)(qt,2),cn=pn[0],hn=pn[1],Un=s.useState(0),Jn=(0,V.Z)(Un,2),Gn=Jn[0],sr=Jn[1],ar=Dt!==void 0?Dt:ze!=="combobox",Yn=s.useCallback(function(St,nn){var en=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},ln=en.source,Dn=ln===void 0?"keyboard":ln;sr(nn),ge&&ze==="combobox"&&St!==null&&Dn==="keyboard"&&hn(String(St))},[ge,ze]),bn=function(nn,en,ln){var Dn=function(){var ur,vr=mn(nn);return[Ht?{label:vr==null?void 0:vr[_e.label],value:nn,key:(ur=vr==null?void 0:vr.key)!==null&&ur!==void 0?ur:nn}:nn,U(vr)]};if(en&&$e){var Bn=Dn(),Rt=(0,V.Z)(Bn,2),Wt=Rt[0],Rn=Rt[1];$e(Wt,Rn)}else if(!en&&H&&ln!=="clear"){var Gt=Dn(),Tn=(0,V.Z)(Gt,2),or=Tn[0],$n=Tn[1];H(or,$n)}},In=zt(function(St,nn){var en,ln=oe?nn.selected:!0;ln?en=oe?[].concat((0,A.Z)(dt),[St]):[St]:en=dt.filter(function(Dn){return Dn.value!==St}),Nt(en),bn(St,ln),ze==="combobox"?hn(""):(!Be||et)&&(Ne(""),hn(""))}),Wn=function(nn,en){Nt(nn);var ln=en.type,Dn=en.values;(ln==="remove"||ln==="clear")&&Dn.forEach(function(Bn){bn(Bn.value,!1,ln)})},Kn=function(nn,en){if(Ne(nn),hn(null),en.source==="submit"){var ln=(nn||"").trim();if(ln){var Dn=Array.from(new Set([].concat((0,A.Z)(sn),[ln])));Nt(Dn),bn(ln,!0),Ne("")}return}en.source!=="blur"&&(ze==="combobox"&&Nt(nn),lt==null||lt(nn))},xn=function(nn){var en=nn;ze!=="tags"&&(en=nn.map(function(Dn){var Bn=me.get(Dn);return Bn==null?void 0:Bn.value}).filter(function(Dn){return Dn!==void 0}));var ln=Array.from(new Set([].concat((0,A.Z)(sn),(0,A.Z)(en))));Nt(ln),ln.forEach(function(Dn){bn(Dn,!0)})},En=s.useMemo(function(){var St=Lt!==!1&&ve!==!1;return(0,X.Z)((0,X.Z)({},re),{},{flattenOptions:gt,onActiveValue:Yn,defaultActiveFirstOption:ar,onSelect:In,menuItemSelectedIcon:it,rawValues:sn,fieldNames:_e,virtual:St,direction:Ft,listHeight:yt,listItemHeight:Ut,childrenAsData:ee,maxCount:jt,optionRender:qe})},[jt,re,gt,Yn,ar,In,it,sn,_e,Lt,ve,Ft,yt,Ut,ee,qe]);return s.createElement(J.Provider,{value:En},s.createElement(fe,(0,T.Z)({},Ln,{id:L,prefixCls:ct,ref:Q,omitDomProps:Sn,mode:ze,displayValues:un,onDisplayValuesChange:Wn,direction:Ft,searchValue:ke,onSearch:Kn,autoClearSearchValue:et,onSearchSplit:xn,dropdownMatchSelectWidth:ve,OptionList:Mt,emptyOptions:!gt.length,activeValue:cn,activeDescendantId:"".concat(L,"_list_").concat(Gn)})))}),dn=fn;dn.Option=rt,dn.OptGroup=Oe;var Zn=dn,Fn=Zn},86351:function(It,Fe,l){"use strict";l.d(Fe,{R:function(){return A},w:function(){return T}});var T={},A="rc-table-internal-hook"},97347:function(It,Fe,l){"use strict";l.d(Fe,{L:function(){return v},Z:function(){return f}});var T=l(11036),A=l(87075),j=l(62730),X=l(28788),V=l(89490),h=l(39224),$=l(11592),G=l(48736),e=l(59301),s=l(86351),c=l(54451);function t(u){var k=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";return typeof k=="number"?k:k.endsWith("%")?u*parseFloat(k)/100:null}function r(u,k,I){return e.useMemo(function(){if(k&&k>0){var F=0,K=0;u.forEach(function(C){var y=t(k,C.width);y?F+=y:K+=1});var Y=Math.max(k,I),W=Math.max(Y-F,K),Pe=K,w=W/K,_=0,x=u.map(function(C){var y=(0,V.Z)({},C),n=t(k,y.width);if(n)y.width=n;else{var a=Math.floor(w);y.width=Pe===1?W:a,W-=a,Pe-=1}return _+=y.width,y});if(_<Y){var N=Y/_;W=Y,x.forEach(function(C,y){var n=Math.floor(C.width*N);C.width=y===x.length-1?W:n,W-=n})}return[x,Math.max(_,Y)]}return[u,k]},[u,k,I])}var i=["children"],o=["fixed"];function v(u){return(0,$.Z)(u).filter(function(k){return e.isValidElement(k)}).map(function(k){var I=k.key,F=k.props,K=F.children,Y=(0,h.Z)(F,i),W=(0,V.Z)({key:I},Y);return K&&(W.children=v(K)),W})}function b(u){return u.filter(function(k){return k&&(0,X.Z)(k)==="object"&&!k.hidden}).map(function(k){var I=k.children;return I&&I.length>0?(0,V.Z)((0,V.Z)({},k),{},{children:b(I)}):k})}function S(u){var k=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"key";return u.filter(function(I){return I&&(0,X.Z)(I)==="object"}).reduce(function(I,F,K){var Y=F.fixed,W=Y===!0?"left":Y,Pe="".concat(k,"-").concat(K),w=F.children;return w&&w.length>0?[].concat((0,j.Z)(I),(0,j.Z)(S(w,Pe).map(function(_){return(0,V.Z)({fixed:W},_)}))):[].concat((0,j.Z)(I),[(0,V.Z)((0,V.Z)({key:Pe},F),{},{fixed:W})])},[])}function p(u){return u.map(function(k){var I=k.fixed,F=(0,h.Z)(k,o),K=I;return I==="left"?K="right":I==="right"&&(K="left"),(0,V.Z)({fixed:K},F)})}function m(u,k){var I=u.prefixCls,F=u.columns,K=u.children,Y=u.expandable,W=u.expandedKeys,Pe=u.columnTitle,w=u.getRowKey,_=u.onTriggerExpand,x=u.expandIcon,N=u.rowExpandable,C=u.expandIconColumnIndex,y=u.direction,n=u.expandRowByClick,a=u.columnWidth,d=u.fixed,M=u.scrollWidth,ae=u.clientWidth,de=e.useMemo(function(){var st=F||v(K)||[];return b(st.slice())},[F,K]),ye=e.useMemo(function(){if(Y){var st=de.slice();if(!st.includes(s.w)){var we=C||0;we>=0&&(we||d==="left"||!d)&&st.splice(we,0,s.w),d==="right"&&st.splice(de.length,0,s.w)}var E=st.indexOf(s.w);st=st.filter(function(ie,R){return ie!==s.w||R===E});var B=de[E],O;d?O=d:O=B?B.fixed:null;var q=(0,A.Z)((0,A.Z)((0,A.Z)((0,A.Z)((0,A.Z)((0,A.Z)({},c.v,{className:"".concat(I,"-expand-icon-col"),columnType:"EXPAND_COLUMN"}),"title",Pe),"fixed",O),"className","".concat(I,"-row-expand-icon-cell")),"width",a),"render",function(R,g,P){var z=w(g,P),D=W.has(z),U=N?N(g):!0,Z=x({prefixCls:I,expanded:D,expandable:U,record:g,onExpand:_});return n?e.createElement("span",{onClick:function(J){return J.stopPropagation()}},Z):Z});return st.map(function(ie){return ie===s.w?q:ie})}return de.filter(function(ie){return ie!==s.w})},[Y,de,w,W,x,y]),Ae=e.useMemo(function(){var st=ye;return k&&(st=k(st)),st.length||(st=[{render:function(){return null}}]),st},[k,ye,y]),He=e.useMemo(function(){return y==="rtl"?p(S(Ae)):S(Ae)},[Ae,y,M]),mt=e.useMemo(function(){for(var st=-1,we=He.length-1;we>=0;we-=1){var E=He[we].fixed;if(E==="left"||E===!0){st=we;break}}if(st>=0)for(var B=0;B<=st;B+=1){var O=He[B].fixed;if(O!=="left"&&O!==!0)return!0}var q=He.findIndex(function(g){var P=g.fixed;return P==="right"});if(q>=0)for(var ie=q;ie<He.length;ie+=1){var R=He[ie].fixed;if(R!=="right")return!0}return!1},[He]),be=r(He,M,ae),Ge=(0,T.Z)(be,2),ut=Ge[0],Et=Ge[1];return[Ae,ut,Et,mt]}var f=m},4030:function(It,Fe,l){"use strict";l.d(Fe,{w2:function(){return T.w},vP:function(){return at.v},RQ:function(){return T.R},ER:function(){return z},Q$:function(){return he},TN:function(){return Tt}});var T=l(86351),A=l(11036),j=l(6089),X=l(34280),V=l(13697),h=l(59301),$=l(4676);function G(L){var oe=h.createContext(void 0),ee=function(_e){var Se=_e.value,je=_e.children,ke=h.useRef(Se);ke.current=Se;var Ne=h.useState(function(){return{getValue:function(){return ke.current},listeners:new Set}}),re=(0,A.Z)(Ne,1),ue=re[0];return(0,X.Z)(function(){(0,$.unstable_batchedUpdates)(function(){ue.listeners.forEach(function(me){me(Se)})})},[Se]),h.createElement(oe.Provider,{value:ue},je)};return{Context:oe,Provider:ee,defaultValue:L}}function e(L,oe){var ee=(0,j.Z)(typeof oe=="function"?oe:function(me){if(oe===void 0)return me;if(!Array.isArray(oe))return me[oe];var Ce={};return oe.forEach(function(Re){Ce[Re]=me[Re]}),Ce}),le=h.useContext(L==null?void 0:L.Context),_e=le||{},Se=_e.listeners,je=_e.getValue,ke=h.useRef();ke.current=ee(le?je():L==null?void 0:L.defaultValue);var Ne=h.useState({}),re=(0,A.Z)(Ne,2),ue=re[1];return(0,X.Z)(function(){if(!le)return;function me(Ce){var Re=ee(Ce);(0,V.Z)(ke.current,Re,!0)||ue({})}return Se.add(me),function(){Se.delete(me)}},[le]),ke.current}var s=l(71409),c=l(8654);function t(){var L=h.createContext(null);function oe(){return h.useContext(L)}function ee(_e,Se){var je=(0,c.Yr)(_e),ke=function(re,ue){var me=je?{ref:ue}:{},Ce=h.useRef(0),Re=h.useRef(re),Je=oe();return Je!==null?h.createElement(_e,(0,s.Z)({},re,me)):((!Se||Se(Re.current,re))&&(Ce.current+=1),Re.current=re,h.createElement(L.Provider,{value:Ce.current},h.createElement(_e,(0,s.Z)({},re,me))))};return je?h.forwardRef(ke):ke}function le(_e,Se){var je=(0,c.Yr)(_e),ke=function(re,ue){var me=je?{ref:ue}:{};return oe(),h.createElement(_e,(0,s.Z)({},re,me))};return je?h.memo(h.forwardRef(ke),Se):h.memo(ke,Se)}return{makeImmutable:ee,responseImmutable:le,useImmutableMark:oe}}var r=t(),i=r.makeImmutable,o=r.responseImmutable,v=r.useImmutableMark,b=t(),S=b.makeImmutable,p=b.responseImmutable,m=b.useImmutableMark,f=G(),u=f;function k(L,oe){var ee=React.useRef(0);ee.current+=1;var le=React.useRef(L),_e=[];Object.keys(L||{}).map(function(je){var ke;(L==null?void 0:L[je])!==((ke=le.current)===null||ke===void 0?void 0:ke[je])&&_e.push(je)}),le.current=L;var Se=React.useRef([]);return _e.length&&(Se.current=_e),React.useDebugValue(ee.current),React.useDebugValue(Se.current.join(", ")),oe&&console.log("".concat(oe,":"),ee.current,Se.current),ee.current}var I=null,F=null,K=l(28788),Y=l(89490),W=l(87075),Pe=l(92310),w=l.n(Pe),_=l(80547),x=l(97938),N=l(48736),C=h.createContext({renderWithProps:!1}),y=C,n="RC_TABLE_KEY";function a(L){return L==null?[]:Array.isArray(L)?L:[L]}function d(L){var oe=[],ee={};return L.forEach(function(le){for(var _e=le||{},Se=_e.key,je=_e.dataIndex,ke=Se||a(je).join("-")||n;ee[ke];)ke="".concat(ke,"_next");ee[ke]=!0,oe.push(ke)}),oe}function M(L){return L!=null}function ae(L){return typeof L=="number"&&!Number.isNaN(L)}function de(L){return L&&(0,K.Z)(L)==="object"&&!Array.isArray(L)&&!h.isValidElement(L)}function ye(L,oe,ee,le,_e,Se){var je=h.useContext(y),ke=m(),Ne=(0,_.Z)(function(){if(M(le))return[le];var re=oe==null||oe===""?[]:Array.isArray(oe)?oe:[oe],ue=(0,x.Z)(L,re),me=ue,Ce=void 0;if(_e){var Re=_e(ue,L,ee);de(Re)?(me=Re.children,Ce=Re.props,je.renderWithProps=!0):me=Re}return[me,Ce]},[ke,L,le,oe,_e,ee],function(re,ue){if(Se){var me=(0,A.Z)(re,2),Ce=me[1],Re=(0,A.Z)(ue,2),Je=Re[1];return Se(Je,Ce)}return je.renderWithProps?!0:!(0,V.Z)(re,ue,!0)});return Ne}function Ae(L,oe,ee,le){var _e=L+oe-1;return L<=le&&_e>=ee}function He(L,oe){return e(u,function(ee){var le=Ae(L,oe||1,ee.hoverStartRow,ee.hoverEndRow);return[le,ee.onHover]})}var mt=l(70425),be=function(oe){var ee=oe.ellipsis,le=oe.rowType,_e=oe.children,Se,je=ee===!0?{showTitle:!0}:ee;return je&&(je.showTitle||le==="header")&&(typeof _e=="string"||typeof _e=="number"?Se=_e.toString():h.isValidElement(_e)&&typeof _e.props.children=="string"&&(Se=_e.props.children)),Se};function Ge(L){var oe,ee,le,_e,Se,je,ke,Ne,re=L.component,ue=L.children,me=L.ellipsis,Ce=L.scope,Re=L.prefixCls,Je=L.className,pt=L.align,tt=L.record,Pt=L.render,At=L.dataIndex,kt=L.renderIndex,Qt=L.shouldCellUpdate,dt=L.index,mn=L.rowType,un=L.colSpan,sn=L.rowSpan,$t=L.fixLeft,on=L.fixRight,yn=L.firstFixLeft,an=L.lastFixLeft,vn=L.firstFixRight,Kt=L.lastFixRight,gt=L.appendNode,Nt=L.additionalProps,qt=Nt===void 0?{}:Nt,pn=L.isSticky,cn="".concat(Re,"-cell"),hn=e(u,["supportSticky","allColumnsFixedLeft","rowHoverable"]),Un=hn.supportSticky,Jn=hn.allColumnsFixedLeft,Gn=hn.rowHoverable,sr=ye(tt,At,kt,ue,Pt,Qt),ar=(0,A.Z)(sr,2),Yn=ar[0],bn=ar[1],In={},Wn=typeof $t=="number"&&Un,Kn=typeof on=="number"&&Un;Wn&&(In.position="sticky",In.left=$t),Kn&&(In.position="sticky",In.right=on);var xn=(oe=(ee=(le=bn==null?void 0:bn.colSpan)!==null&&le!==void 0?le:qt.colSpan)!==null&&ee!==void 0?ee:un)!==null&&oe!==void 0?oe:1,En=(_e=(Se=(je=bn==null?void 0:bn.rowSpan)!==null&&je!==void 0?je:qt.rowSpan)!==null&&Se!==void 0?Se:sn)!==null&&_e!==void 0?_e:1,St=He(dt,En),nn=(0,A.Z)(St,2),en=nn[0],ln=nn[1],Dn=(0,mt.zX)(function(or){var $n;tt&&ln(dt,dt+En-1),qt==null||($n=qt.onMouseEnter)===null||$n===void 0||$n.call(qt,or)}),Bn=(0,mt.zX)(function(or){var $n;tt&&ln(-1,-1),qt==null||($n=qt.onMouseLeave)===null||$n===void 0||$n.call(qt,or)});if(xn===0||En===0)return null;var Rt=(ke=qt.title)!==null&&ke!==void 0?ke:be({rowType:mn,ellipsis:me,children:Yn}),Wt=w()(cn,Je,(Ne={},(0,W.Z)((0,W.Z)((0,W.Z)((0,W.Z)((0,W.Z)((0,W.Z)((0,W.Z)((0,W.Z)((0,W.Z)((0,W.Z)(Ne,"".concat(cn,"-fix-left"),Wn&&Un),"".concat(cn,"-fix-left-first"),yn&&Un),"".concat(cn,"-fix-left-last"),an&&Un),"".concat(cn,"-fix-left-all"),an&&Jn&&Un),"".concat(cn,"-fix-right"),Kn&&Un),"".concat(cn,"-fix-right-first"),vn&&Un),"".concat(cn,"-fix-right-last"),Kt&&Un),"".concat(cn,"-ellipsis"),me),"".concat(cn,"-with-append"),gt),"".concat(cn,"-fix-sticky"),(Wn||Kn)&&pn&&Un),(0,W.Z)(Ne,"".concat(cn,"-row-hover"),!bn&&en)),qt.className,bn==null?void 0:bn.className),Rn={};pt&&(Rn.textAlign=pt);var Gt=(0,Y.Z)((0,Y.Z)((0,Y.Z)((0,Y.Z)({},bn==null?void 0:bn.style),In),Rn),qt.style),Tn=Yn;return(0,K.Z)(Tn)==="object"&&!Array.isArray(Tn)&&!h.isValidElement(Tn)&&(Tn=null),me&&(an||vn)&&(Tn=h.createElement("span",{className:"".concat(cn,"-content")},Tn)),h.createElement(re,(0,s.Z)({},bn,qt,{className:Wt,style:Gt,title:Rt,scope:Ce,onMouseEnter:Gn?Dn:void 0,onMouseLeave:Gn?Bn:void 0,colSpan:xn!==1?xn:null,rowSpan:En!==1?En:null}),gt,Tn)}var ut=h.memo(Ge);function Et(L,oe,ee,le,_e){var Se=ee[L]||{},je=ee[oe]||{},ke,Ne;Se.fixed==="left"?ke=le.left[_e==="rtl"?oe:L]:je.fixed==="right"&&(Ne=le.right[_e==="rtl"?L:oe]);var re=!1,ue=!1,me=!1,Ce=!1,Re=ee[oe+1],Je=ee[L-1],pt=Re&&!Re.fixed||Je&&!Je.fixed||ee.every(function(Qt){return Qt.fixed==="left"});if(_e==="rtl"){if(ke!==void 0){var tt=Je&&Je.fixed==="left";Ce=!tt&&pt}else if(Ne!==void 0){var Pt=Re&&Re.fixed==="right";me=!Pt&&pt}}else if(ke!==void 0){var At=Re&&Re.fixed==="left";re=!At&&pt}else if(Ne!==void 0){var kt=Je&&Je.fixed==="right";ue=!kt&&pt}return{fixLeft:ke,fixRight:Ne,lastFixLeft:re,firstFixRight:ue,lastFixRight:me,firstFixLeft:Ce,isSticky:le.isSticky}}var st=h.createContext({}),we=st;function E(L){var oe=L.className,ee=L.index,le=L.children,_e=L.colSpan,Se=_e===void 0?1:_e,je=L.rowSpan,ke=L.align,Ne=e(u,["prefixCls","direction"]),re=Ne.prefixCls,ue=Ne.direction,me=h.useContext(we),Ce=me.scrollColumnIndex,Re=me.stickyOffsets,Je=me.flattenColumns,pt=ee+Se-1,tt=pt+1===Ce?Se+1:Se,Pt=Et(ee,ee+tt-1,Je,Re,ue);return h.createElement(ut,(0,s.Z)({className:oe,index:ee,component:"td",prefixCls:re,record:null,dataIndex:null,align:ke,colSpan:tt,rowSpan:je,render:function(){return le}},Pt))}var B=l(39224),O=["children"];function q(L){var oe=L.children,ee=(0,B.Z)(L,O);return h.createElement("tr",ee,oe)}function ie(L){var oe=L.children;return oe}ie.Row=q,ie.Cell=E;var R=ie;function g(L){var oe=L.children,ee=L.stickyOffsets,le=L.flattenColumns,_e=e(u,"prefixCls"),Se=le.length-1,je=le[Se],ke=h.useMemo(function(){return{stickyOffsets:ee,flattenColumns:le,scrollColumnIndex:je!=null&&je.scrollbar?Se:null}},[je,le,Se,ee]);return h.createElement(we.Provider,{value:ke},h.createElement("tfoot",{className:"".concat(_e,"-summary")},oe))}var P=p(g),z=R,D=l(29301),U=l(24514),Z=l(75152),te=l(26112);function J(L,oe,ee,le,_e,Se,je){L.push({record:oe,indent:ee,index:je});var ke=Se(oe),Ne=_e==null?void 0:_e.has(ke);if(oe&&Array.isArray(oe[le])&&Ne)for(var re=0;re<oe[le].length;re+=1)J(L,oe[le][re],ee+1,le,_e,Se,re)}function ce(L,oe,ee,le){var _e=h.useMemo(function(){if(ee!=null&&ee.size){for(var Se=[],je=0;je<(L==null?void 0:L.length);je+=1){var ke=L[je];J(Se,ke,0,oe,ee,le,je)}return Se}return L==null?void 0:L.map(function(Ne,re){return{record:Ne,indent:0,index:re}})},[L,oe,ee,le]);return _e}function Ee(L,oe,ee,le){var _e=e(u,["prefixCls","fixedInfoList","flattenColumns","expandableType","expandRowByClick","onTriggerExpand","rowClassName","expandedRowClassName","indentSize","expandIcon","expandedRowRender","expandIconColumnIndex","expandedKeys","childrenColumnName","rowExpandable","onRow"]),Se=_e.flattenColumns,je=_e.expandableType,ke=_e.expandedKeys,Ne=_e.childrenColumnName,re=_e.onTriggerExpand,ue=_e.rowExpandable,me=_e.onRow,Ce=_e.expandRowByClick,Re=_e.rowClassName,Je=je==="nest",pt=je==="row"&&(!ue||ue(L)),tt=pt||Je,Pt=ke&&ke.has(oe),At=Ne&&L&&L[Ne],kt=(0,mt.zX)(re),Qt=me==null?void 0:me(L,ee),dt=Qt==null?void 0:Qt.onClick,mn=function(on){Ce&&tt&&re(L,on);for(var yn=arguments.length,an=new Array(yn>1?yn-1:0),vn=1;vn<yn;vn++)an[vn-1]=arguments[vn];dt==null||dt.apply(void 0,[on].concat(an))},un;typeof Re=="string"?un=Re:typeof Re=="function"&&(un=Re(L,ee,le));var sn=d(Se);return(0,Y.Z)((0,Y.Z)({},_e),{},{columnsKey:sn,nestExpandable:Je,expanded:Pt,hasNestChildren:At,record:L,onTriggerExpand:kt,rowSupportExpand:pt,expandable:tt,rowProps:(0,Y.Z)((0,Y.Z)({},Qt),{},{className:w()(un,Qt==null?void 0:Qt.className),onClick:mn})})}function xe(L){var oe=L.prefixCls,ee=L.children,le=L.component,_e=L.cellComponent,Se=L.className,je=L.expanded,ke=L.colSpan,Ne=L.isEmpty,re=e(u,["scrollbarSize","fixHeader","fixColumn","componentWidth","horizonScroll"]),ue=re.scrollbarSize,me=re.fixHeader,Ce=re.fixColumn,Re=re.componentWidth,Je=re.horizonScroll,pt=ee;return(Ne?Je&&Re:Ce)&&(pt=h.createElement("div",{style:{width:Re-(me&&!Ne?ue:0),position:"sticky",left:0,overflow:"hidden"},className:"".concat(oe,"-expanded-row-fixed")},pt)),h.createElement(le,{className:Se,style:{display:je?null:"none"}},h.createElement(ut,{component:_e,prefixCls:oe,colSpan:ke},pt))}var Be=xe;function Ie(L){var oe=L.prefixCls,ee=L.record,le=L.onExpand,_e=L.expanded,Se=L.expandable,je="".concat(oe,"-row-expand-icon");if(!Se)return h.createElement("span",{className:w()(je,"".concat(oe,"-row-spaced"))});var ke=function(re){le(ee,re),re.stopPropagation()};return h.createElement("span",{className:w()(je,(0,W.Z)((0,W.Z)({},"".concat(oe,"-row-expanded"),_e),"".concat(oe,"-row-collapsed"),!_e)),onClick:ke})}function fe(L,oe,ee){var le=[];function _e(Se){(Se||[]).forEach(function(je,ke){le.push(oe(je,ke)),_e(je[ee])})}return _e(L),le}function Ze(L,oe,ee,le){return typeof L=="string"?L:typeof L=="function"?L(oe,ee,le):""}function Oe(L,oe,ee,le,_e){var Se=L.record,je=L.prefixCls,ke=L.columnsKey,Ne=L.fixedInfoList,re=L.expandIconColumnIndex,ue=L.nestExpandable,me=L.indentSize,Ce=L.expandIcon,Re=L.expanded,Je=L.hasNestChildren,pt=L.onTriggerExpand,tt=ke[ee],Pt=Ne[ee],At;ee===(re||0)&&ue&&(At=h.createElement(h.Fragment,null,h.createElement("span",{style:{paddingLeft:"".concat(me*le,"px")},className:"".concat(je,"-row-indent indent-level-").concat(le)}),Ce({prefixCls:je,expanded:Re,expandable:Je,record:Se,onExpand:pt})));var kt;return oe.onCell&&(kt=oe.onCell(Se,_e)),{key:tt,fixedInfo:Pt,appendCellNode:At,additionalCellProps:kt||{}}}function De(L){var oe=L.className,ee=L.style,le=L.record,_e=L.index,Se=L.renderIndex,je=L.rowKey,ke=L.indent,Ne=ke===void 0?0:ke,re=L.rowComponent,ue=L.cellComponent,me=L.scopeCellComponent,Ce=Ee(le,je,_e,Ne),Re=Ce.prefixCls,Je=Ce.flattenColumns,pt=Ce.expandedRowClassName,tt=Ce.expandedRowRender,Pt=Ce.rowProps,At=Ce.expanded,kt=Ce.rowSupportExpand,Qt=h.useRef(!1);Qt.current||(Qt.current=At);var dt=Ze(pt,le,_e,Ne),mn=h.createElement(re,(0,s.Z)({},Pt,{"data-row-key":je,className:w()(oe,"".concat(Re,"-row"),"".concat(Re,"-row-level-").concat(Ne),Pt==null?void 0:Pt.className,(0,W.Z)({},dt,Ne>=1)),style:(0,Y.Z)((0,Y.Z)({},ee),Pt==null?void 0:Pt.style)}),Je.map(function($t,on){var yn=$t.render,an=$t.dataIndex,vn=$t.className,Kt=Oe(Ce,$t,on,Ne,_e),gt=Kt.key,Nt=Kt.fixedInfo,qt=Kt.appendCellNode,pn=Kt.additionalCellProps;return h.createElement(ut,(0,s.Z)({className:vn,ellipsis:$t.ellipsis,align:$t.align,scope:$t.rowScope,component:$t.rowScope?me:ue,prefixCls:Re,key:gt,record:le,index:_e,renderIndex:Se,dataIndex:an,render:yn,shouldCellUpdate:$t.shouldCellUpdate},Nt,{appendNode:qt,additionalProps:pn}))})),un;if(kt&&(Qt.current||At)){var sn=tt(le,_e,Ne+1,At);un=h.createElement(Be,{expanded:At,className:w()("".concat(Re,"-expanded-row"),"".concat(Re,"-expanded-row-level-").concat(Ne+1),dt),prefixCls:Re,component:re,cellComponent:ue,colSpan:Je.length,isEmpty:!1},sn)}return h.createElement(h.Fragment,null,mn,un)}var rt=p(De);function Ct(L){var oe=L.columnKey,ee=L.onColumnResize,le=h.useRef();return(0,X.Z)(function(){le.current&&ee(oe,le.current.offsetWidth)},[]),h.createElement(D.Z,{data:oe},h.createElement("td",{ref:le,style:{padding:0,border:0,height:0}},h.createElement("div",{style:{height:0,overflow:"hidden"}},"\xA0")))}var Qe=l(29194);function Ot(L){var oe=L.prefixCls,ee=L.columnsKey,le=L.onColumnResize,_e=h.useRef(null);return h.createElement("tr",{"aria-hidden":"true",className:"".concat(oe,"-measure-row"),style:{height:0,fontSize:0},ref:_e},h.createElement(D.Z.Collection,{onBatchResize:function(je){(0,Qe.Z)(_e.current)&&je.forEach(function(ke){var Ne=ke.data,re=ke.size;le(Ne,re.offsetWidth)})}},ee.map(function(Se){return h.createElement(Ct,{key:Se,columnKey:Se,onColumnResize:le})})))}function tn(L){var oe=L.data,ee=L.measureColumnWidth,le=e(u,["prefixCls","getComponent","onColumnResize","flattenColumns","getRowKey","expandedKeys","childrenColumnName","emptyNode"]),_e=le.prefixCls,Se=le.getComponent,je=le.onColumnResize,ke=le.flattenColumns,Ne=le.getRowKey,re=le.expandedKeys,ue=le.childrenColumnName,me=le.emptyNode,Ce=ce(oe,ue,re,Ne),Re=h.useRef({renderWithProps:!1}),Je=Se(["body","wrapper"],"tbody"),pt=Se(["body","row"],"tr"),tt=Se(["body","cell"],"td"),Pt=Se(["body","cell"],"th"),At;oe.length?At=Ce.map(function(Qt,dt){var mn=Qt.record,un=Qt.indent,sn=Qt.index,$t=Ne(mn,dt);return h.createElement(rt,{key:$t,rowKey:$t,record:mn,index:dt,renderIndex:sn,rowComponent:pt,cellComponent:tt,scopeCellComponent:Pt,indent:un})}):At=h.createElement(Be,{expanded:!0,className:"".concat(_e,"-placeholder"),prefixCls:_e,component:pt,cellComponent:tt,colSpan:ke.length,isEmpty:!0},me);var kt=d(ke);return h.createElement(y.Provider,{value:Re.current},h.createElement(Je,{className:"".concat(_e,"-tbody")},ee&&h.createElement(Ot,{prefixCls:_e,columnsKey:kt,onColumnResize:je}),At))}var ht=p(tn),at=l(54451),bt=["columnType"];function Xt(L){for(var oe=L.colWidths,ee=L.columns,le=L.columCount,_e=e(u,["tableLayout"]),Se=_e.tableLayout,je=[],ke=le||ee.length,Ne=!1,re=ke-1;re>=0;re-=1){var ue=oe[re],me=ee&&ee[re],Ce=void 0,Re=void 0;if(me&&(Ce=me[at.v],Se==="auto"&&(Re=me.minWidth)),ue||Re||Ce||Ne){var Je=Ce||{},pt=Je.columnType,tt=(0,B.Z)(Je,bt);je.unshift(h.createElement("col",(0,s.Z)({key:re,style:{width:ue,minWidth:Re}},tt))),Ne=!0}}return h.createElement("colgroup",null,je)}var Mt=Xt,Yt=l(62730),rn=["className","noData","columns","flattenColumns","colWidths","columCount","stickyOffsets","direction","fixHeader","stickyTopOffset","stickyBottomOffset","stickyClassName","onScroll","maxContentScroll","children"];function Jt(L,oe){return(0,h.useMemo)(function(){for(var ee=[],le=0;le<oe;le+=1){var _e=L[le];if(_e!==void 0)ee[le]=_e;else return null}return ee},[L.join("_"),oe])}var Ve=h.forwardRef(function(L,oe){var ee=L.className,le=L.noData,_e=L.columns,Se=L.flattenColumns,je=L.colWidths,ke=L.columCount,Ne=L.stickyOffsets,re=L.direction,ue=L.fixHeader,me=L.stickyTopOffset,Ce=L.stickyBottomOffset,Re=L.stickyClassName,Je=L.onScroll,pt=L.maxContentScroll,tt=L.children,Pt=(0,B.Z)(L,rn),At=e(u,["prefixCls","scrollbarSize","isSticky","getComponent"]),kt=At.prefixCls,Qt=At.scrollbarSize,dt=At.isSticky,mn=At.getComponent,un=mn(["header","table"],"table"),sn=dt&&!ue?0:Qt,$t=h.useRef(null),on=h.useCallback(function(pn){(0,c.mH)(oe,pn),(0,c.mH)($t,pn)},[]);h.useEffect(function(){var pn;function cn(hn){var Un=hn,Jn=Un.currentTarget,Gn=Un.deltaX;Gn&&(Je({currentTarget:Jn,scrollLeft:Jn.scrollLeft+Gn}),hn.preventDefault())}return(pn=$t.current)===null||pn===void 0||pn.addEventListener("wheel",cn,{passive:!1}),function(){var hn;(hn=$t.current)===null||hn===void 0||hn.removeEventListener("wheel",cn)}},[]);var yn=h.useMemo(function(){return Se.every(function(pn){return pn.width})},[Se]),an=Se[Se.length-1],vn={fixed:an?an.fixed:null,scrollbar:!0,onHeaderCell:function(){return{className:"".concat(kt,"-cell-scrollbar")}}},Kt=(0,h.useMemo)(function(){return sn?[].concat((0,Yt.Z)(_e),[vn]):_e},[sn,_e]),gt=(0,h.useMemo)(function(){return sn?[].concat((0,Yt.Z)(Se),[vn]):Se},[sn,Se]),Nt=(0,h.useMemo)(function(){var pn=Ne.right,cn=Ne.left;return(0,Y.Z)((0,Y.Z)({},Ne),{},{left:re==="rtl"?[].concat((0,Yt.Z)(cn.map(function(hn){return hn+sn})),[0]):cn,right:re==="rtl"?pn:[].concat((0,Yt.Z)(pn.map(function(hn){return hn+sn})),[0]),isSticky:dt})},[sn,Ne,dt]),qt=Jt(je,ke);return h.createElement("div",{style:(0,Y.Z)({overflow:"hidden"},dt?{top:me,bottom:Ce}:{}),ref:on,className:w()(ee,(0,W.Z)({},Re,!!Re))},h.createElement(un,{style:{tableLayout:"fixed",visibility:le||qt?null:"hidden"}},(!le||!pt||yn)&&h.createElement(Mt,{colWidths:qt?[].concat((0,Yt.Z)(qt),[sn]):[],columCount:ke+1,columns:gt}),tt((0,Y.Z)((0,Y.Z)({},Pt),{},{stickyOffsets:Nt,columns:Kt,flattenColumns:gt}))))}),_t=h.memo(Ve),Vt=function(oe){var ee=oe.cells,le=oe.stickyOffsets,_e=oe.flattenColumns,Se=oe.rowComponent,je=oe.cellComponent,ke=oe.onHeaderRow,Ne=oe.index,re=e(u,["prefixCls","direction"]),ue=re.prefixCls,me=re.direction,Ce;ke&&(Ce=ke(ee.map(function(Je){return Je.column}),Ne));var Re=d(ee.map(function(Je){return Je.column}));return h.createElement(Se,Ce,ee.map(function(Je,pt){var tt=Je.column,Pt=Et(Je.colStart,Je.colEnd,_e,le,me),At;return tt&&tt.onHeaderCell&&(At=Je.column.onHeaderCell(tt)),h.createElement(ut,(0,s.Z)({},Je,{scope:tt.title?Je.colSpan>1?"colgroup":"col":null,ellipsis:tt.ellipsis,align:tt.align,component:je,prefixCls:ue,key:Re[pt]},Pt,{additionalProps:At,rowType:"header"}))}))},gn=Vt;function Zt(L){var oe=[];function ee(je,ke){var Ne=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0;oe[Ne]=oe[Ne]||[];var re=ke,ue=je.filter(Boolean).map(function(me){var Ce={key:me.key,className:me.className||"",children:me.title,column:me,colStart:re},Re=1,Je=me.children;return Je&&Je.length>0&&(Re=ee(Je,re,Ne+1).reduce(function(pt,tt){return pt+tt},0),Ce.hasSubColumns=!0),"colSpan"in me&&(Re=me.colSpan),"rowSpan"in me&&(Ce.rowSpan=me.rowSpan),Ce.colSpan=Re,Ce.colEnd=Ce.colStart+Re-1,oe[Ne].push(Ce),re+=Re,Re});return ue}ee(L,0);for(var le=oe.length,_e=function(ke){oe[ke].forEach(function(Ne){!("rowSpan"in Ne)&&!Ne.hasSubColumns&&(Ne.rowSpan=le-ke)})},Se=0;Se<le;Se+=1)_e(Se);return oe}var An=function(oe){var ee=oe.stickyOffsets,le=oe.columns,_e=oe.flattenColumns,Se=oe.onHeaderRow,je=e(u,["prefixCls","getComponent"]),ke=je.prefixCls,Ne=je.getComponent,re=h.useMemo(function(){return Zt(le)},[le]),ue=Ne(["header","wrapper"],"thead"),me=Ne(["header","row"],"tr"),Ce=Ne(["header","cell"],"th");return h.createElement(ue,{className:"".concat(ke,"-thead")},re.map(function(Re,Je){var pt=h.createElement(gn,{key:Je,flattenColumns:_e,cells:Re,stickyOffsets:ee,rowComponent:me,cellComponent:Ce,onHeaderRow:Se,index:Je});return pt}))},Vn=p(An),wn=l(97347);function zt(L,oe,ee){var le=(0,at.g)(L),_e=le.expandIcon,Se=le.expandedRowKeys,je=le.defaultExpandedRowKeys,ke=le.defaultExpandAllRows,Ne=le.expandedRowRender,re=le.onExpand,ue=le.onExpandedRowsChange,me=le.childrenColumnName,Ce=_e||Ie,Re=me||"children",Je=h.useMemo(function(){return Ne?"row":L.expandable&&L.internalHooks===T.R&&L.expandable.__PARENT_RENDER_ICON__||oe.some(function(dt){return dt&&(0,K.Z)(dt)==="object"&&dt[Re]})?"nest":!1},[!!Ne,oe]),pt=h.useState(function(){return je||(ke?fe(oe,ee,Re):[])}),tt=(0,A.Z)(pt,2),Pt=tt[0],At=tt[1],kt=h.useMemo(function(){return new Set(Se||Pt||[])},[Se,Pt]),Qt=h.useCallback(function(dt){var mn=ee(dt,oe.indexOf(dt)),un,sn=kt.has(mn);sn?(kt.delete(mn),un=(0,Yt.Z)(kt)):un=[].concat((0,Yt.Z)(kt),[mn]),At(un),re&&re(!sn,dt),ue&&ue(un)},[ee,kt,oe,re,ue]);return[le,Je,kt,Ce,Re,Qt]}function Nn(L,oe,ee){var le=L.map(function(_e,Se){return Et(Se,Se,L,oe,ee)});return(0,_.Z)(function(){return le},[le],function(_e,Se){return!(0,V.Z)(_e,Se)})}function Cn(L){var oe=(0,h.useRef)(L),ee=(0,h.useState)({}),le=(0,A.Z)(ee,2),_e=le[1],Se=(0,h.useRef)(null),je=(0,h.useRef)([]);function ke(Ne){je.current.push(Ne);var re=Promise.resolve();Se.current=re,re.then(function(){if(Se.current===re){var ue=je.current,me=oe.current;je.current=[],ue.forEach(function(Ce){oe.current=Ce(oe.current)}),Se.current=null,me!==oe.current&&_e({})}})}return(0,h.useEffect)(function(){return function(){Se.current=null}},[]),[oe.current,ke]}function On(L){var oe=(0,h.useRef)(L||null),ee=(0,h.useRef)();function le(){window.clearTimeout(ee.current)}function _e(je){oe.current=je,le(),ee.current=window.setTimeout(function(){oe.current=null,ee.current=void 0},100)}function Se(){return oe.current}return(0,h.useEffect)(function(){return le},[]),[_e,Se]}function _n(){var L=h.useState(-1),oe=(0,A.Z)(L,2),ee=oe[0],le=oe[1],_e=h.useState(-1),Se=(0,A.Z)(_e,2),je=Se[0],ke=Se[1],Ne=h.useCallback(function(re,ue){le(re),ke(ue)},[]);return[ee,je,Ne]}var Sn=l(47273),Mn=(0,Sn.Z)()?window:null;function fn(L,oe){var ee=(0,K.Z)(L)==="object"?L:{},le=ee.offsetHeader,_e=le===void 0?0:le,Se=ee.offsetSummary,je=Se===void 0?0:Se,ke=ee.offsetScroll,Ne=ke===void 0?0:ke,re=ee.getContainer,ue=re===void 0?function(){return Mn}:re,me=ue()||Mn,Ce=!!L;return h.useMemo(function(){return{isSticky:Ce,stickyClassName:Ce?"".concat(oe,"-sticky-holder"):"",offsetHeader:_e,offsetSummary:je,offsetScroll:Ne,container:me}},[Ce,Ne,_e,je,oe,me])}function dn(L,oe,ee){var le=(0,h.useMemo)(function(){var _e=oe.length,Se=function(re,ue,me){for(var Ce=[],Re=0,Je=re;Je!==ue;Je+=me)Ce.push(Re),oe[Je].fixed&&(Re+=L[Je]||0);return Ce},je=Se(0,_e,1),ke=Se(_e-1,-1,-1).reverse();return ee==="rtl"?{left:ke,right:je}:{left:je,right:ke}},[L,oe,ee]);return le}var Zn=dn;function Fn(L){var oe=L.className,ee=L.children;return h.createElement("div",{className:oe},ee)}var ne=Fn,Q=l(8224),We=l(16089),ze=l(76846);function Le(L){var oe=(0,ze.bn)(L),ee=oe.getBoundingClientRect(),le=document.documentElement;return{left:ee.left+(window.pageXOffset||le.scrollLeft)-(le.clientLeft||document.body.clientLeft||0),top:ee.top+(window.pageYOffset||le.scrollTop)-(le.clientTop||document.body.clientTop||0)}}var ct=function(oe,ee){var le,_e,Se=oe.scrollBodyRef,je=oe.onScroll,ke=oe.offsetScroll,Ne=oe.container,re=oe.direction,ue=e(u,"prefixCls"),me=((le=Se.current)===null||le===void 0?void 0:le.scrollWidth)||0,Ce=((_e=Se.current)===null||_e===void 0?void 0:_e.clientWidth)||0,Re=me&&Ce*(Ce/me),Je=h.useRef(),pt=Cn({scrollLeft:0,isHiddenScrollBar:!0}),tt=(0,A.Z)(pt,2),Pt=tt[0],At=tt[1],kt=h.useRef({delta:0,x:0}),Qt=h.useState(!1),dt=(0,A.Z)(Qt,2),mn=dt[0],un=dt[1],sn=h.useRef(null);h.useEffect(function(){return function(){We.Z.cancel(sn.current)}},[]);var $t=function(){un(!1)},on=function(gt){gt.persist(),kt.current.delta=gt.pageX-Pt.scrollLeft,kt.current.x=0,un(!0),gt.preventDefault()},yn=function(gt){var Nt,qt=gt||((Nt=window)===null||Nt===void 0?void 0:Nt.event),pn=qt.buttons;if(!mn||pn===0){mn&&un(!1);return}var cn=kt.current.x+gt.pageX-kt.current.x-kt.current.delta,hn=re==="rtl";cn=Math.max(hn?Re-Ce:0,Math.min(hn?0:Ce-Re,cn));var Un=!hn||Math.abs(cn)+Math.abs(Re)<Ce;Un&&(je({scrollLeft:cn/Ce*(me+2)}),kt.current.x=gt.pageX)},an=function(){We.Z.cancel(sn.current),sn.current=(0,We.Z)(function(){if(Se.current){var gt=Le(Se.current).top,Nt=gt+Se.current.offsetHeight,qt=Ne===window?document.documentElement.scrollTop+window.innerHeight:Le(Ne).top+Ne.clientHeight;Nt-(0,Z.Z)()<=qt||gt>=qt-ke?At(function(pn){return(0,Y.Z)((0,Y.Z)({},pn),{},{isHiddenScrollBar:!0})}):At(function(pn){return(0,Y.Z)((0,Y.Z)({},pn),{},{isHiddenScrollBar:!1})})}})},vn=function(gt){At(function(Nt){return(0,Y.Z)((0,Y.Z)({},Nt),{},{scrollLeft:gt/me*Ce||0})})};return h.useImperativeHandle(ee,function(){return{setScrollLeft:vn,checkScrollBarVisible:an}}),h.useEffect(function(){var Kt=(0,Q.Z)(document.body,"mouseup",$t,!1),gt=(0,Q.Z)(document.body,"mousemove",yn,!1);return an(),function(){Kt.remove(),gt.remove()}},[Re,mn]),h.useEffect(function(){if(Se.current){for(var Kt=[],gt=(0,ze.bn)(Se.current);gt;)Kt.push(gt),gt=gt.parentElement;return Kt.forEach(function(Nt){return Nt.addEventListener("scroll",an,!1)}),window.addEventListener("resize",an,!1),window.addEventListener("scroll",an,!1),Ne.addEventListener("scroll",an,!1),function(){Kt.forEach(function(Nt){return Nt.removeEventListener("scroll",an)}),window.removeEventListener("resize",an),window.removeEventListener("scroll",an),Ne.removeEventListener("scroll",an)}}},[Ne]),h.useEffect(function(){Pt.isHiddenScrollBar||At(function(Kt){var gt=Se.current;return gt?(0,Y.Z)((0,Y.Z)({},Kt),{},{scrollLeft:gt.scrollLeft/gt.scrollWidth*gt.clientWidth}):Kt})},[Pt.isHiddenScrollBar]),me<=Ce||!Re||Pt.isHiddenScrollBar?null:h.createElement("div",{style:{height:(0,Z.Z)(),width:Ce,bottom:ke},className:"".concat(ue,"-sticky-scroll")},h.createElement("div",{onMouseDown:on,ref:Je,className:w()("".concat(ue,"-sticky-scroll-bar"),(0,W.Z)({},"".concat(ue,"-sticky-scroll-bar-active"),mn)),style:{width:"".concat(Re,"px"),transform:"translate3d(".concat(Pt.scrollLeft,"px, 0, 0)")}}))},ge=h.forwardRef(ct);function pe(L){return null}var Ke=pe;function Xe(L){return null}var lt=Xe,wt="rc-table",et=[],$e={};function H(){return"No Data"}function se(L,oe){var ee=(0,Y.Z)({rowKey:"key",prefixCls:wt,emptyText:H},L),le=ee.prefixCls,_e=ee.className,Se=ee.rowClassName,je=ee.style,ke=ee.data,Ne=ee.rowKey,re=ee.scroll,ue=ee.tableLayout,me=ee.direction,Ce=ee.title,Re=ee.footer,Je=ee.summary,pt=ee.caption,tt=ee.id,Pt=ee.showHeader,At=ee.components,kt=ee.emptyText,Qt=ee.onRow,dt=ee.onHeaderRow,mn=ee.onScroll,un=ee.internalHooks,sn=ee.transformColumns,$t=ee.internalRefs,on=ee.tailor,yn=ee.getContainerWidth,an=ee.sticky,vn=ee.rowHoverable,Kt=vn===void 0?!0:vn,gt=ke||et,Nt=!!gt.length,qt=un===T.R,pn=h.useCallback(function(zn,jn){return(0,x.Z)(At,zn)||jn},[At]),cn=h.useMemo(function(){return typeof Ne=="function"?Ne:function(zn){var jn=zn&&zn[Ne];return jn}},[Ne]),hn=pn(["body"]),Un=_n(),Jn=(0,A.Z)(Un,3),Gn=Jn[0],sr=Jn[1],ar=Jn[2],Yn=zt(ee,gt,cn),bn=(0,A.Z)(Yn,6),In=bn[0],Wn=bn[1],Kn=bn[2],xn=bn[3],En=bn[4],St=bn[5],nn=re==null?void 0:re.x,en=h.useState(0),ln=(0,A.Z)(en,2),Dn=ln[0],Bn=ln[1],Rt=(0,wn.Z)((0,Y.Z)((0,Y.Z)((0,Y.Z)({},ee),In),{},{expandable:!!In.expandedRowRender,columnTitle:In.columnTitle,expandedKeys:Kn,getRowKey:cn,onTriggerExpand:St,expandIcon:xn,expandIconColumnIndex:In.expandIconColumnIndex,direction:me,scrollWidth:qt&&on&&typeof nn=="number"?nn:null,clientWidth:Dn}),qt?sn:null),Wt=(0,A.Z)(Rt,4),Rn=Wt[0],Gt=Wt[1],Tn=Wt[2],or=Wt[3],$n=Tn!=null?Tn:nn,fr=h.useMemo(function(){return{columns:Rn,flattenColumns:Gt}},[Rn,Gt]),ur=h.useRef(),vr=h.useRef(),Qn=h.useRef(),Fr=h.useRef();h.useImperativeHandle(oe,function(){return{nativeElement:ur.current,scrollTo:function(jn){var hr;if(Qn.current instanceof HTMLElement){var wr=jn.index,pr=jn.top,Hr=jn.key;if(ae(pr)){var Lr;(Lr=Qn.current)===null||Lr===void 0||Lr.scrollTo({top:pr})}else{var Kr,Qr=Hr!=null?Hr:cn(gt[wr]);(Kr=Qn.current.querySelector('[data-row-key="'.concat(Qr,'"]')))===null||Kr===void 0||Kr.scrollIntoView()}}else(hr=Qn.current)!==null&&hr!==void 0&&hr.scrollTo&&Qn.current.scrollTo(jn)}}});var Br=h.useRef(),Sr=h.useState(!1),kr=(0,A.Z)(Sr,2),Nr=kr[0],Or=kr[1],Ar=h.useState(!1),br=(0,A.Z)(Ar,2),Ir=br[0],Pr=br[1],zr=h.useState(new Map),Dr=(0,A.Z)(zr,2),$r=Dr[0],Mr=Dr[1],Gr=d(Gt),jr=Gr.map(function(zn){return $r.get(zn)}),Wr=h.useMemo(function(){return jr},[jr.join("_")]),Tr=Zn(Wr,Gt,me),dr=re&&M(re.y),lr=re&&M($n)||!!In.fixed,kn=lr&&Gt.some(function(zn){var jn=zn.fixed;return jn}),Pn=h.useRef(),nr=fn(an,le),qn=nr.isSticky,er=nr.offsetHeader,rr=nr.offsetSummary,yr=nr.offsetScroll,gr=nr.stickyClassName,xr=nr.container,ir=h.useMemo(function(){return Je==null?void 0:Je(gt)},[Je,gt]),mr=(dr||qn)&&h.isValidElement(ir)&&ir.type===R&&ir.props.fixed,Rr,Er,Yr;dr&&(Er={overflowY:Nt?"scroll":"auto",maxHeight:re.y}),lr&&(Rr={overflowX:"auto"},dr||(Er={overflowY:"hidden"}),Yr={width:$n===!0?"auto":$n,minWidth:"100%"});var qr=h.useCallback(function(zn,jn){Mr(function(hr){if(hr.get(zn)!==jn){var wr=new Map(hr);return wr.set(zn,jn),wr}return hr})},[]),tr=On(null),Hn=(0,A.Z)(tr,2),Xn=Hn[0],_r=Hn[1];function cr(zn,jn){jn&&(typeof jn=="function"?jn(zn):jn.scrollLeft!==zn&&(jn.scrollLeft=zn,jn.scrollLeft!==zn&&setTimeout(function(){jn.scrollLeft=zn},0)))}var Cr=(0,j.Z)(function(zn){var jn=zn.currentTarget,hr=zn.scrollLeft,wr=me==="rtl",pr=typeof hr=="number"?hr:jn.scrollLeft,Hr=jn||$e;if(!_r()||_r()===Hr){var Lr;Xn(Hr),cr(pr,vr.current),cr(pr,Qn.current),cr(pr,Br.current),cr(pr,(Lr=Pn.current)===null||Lr===void 0?void 0:Lr.setScrollLeft)}var Kr=jn||vr.current;if(Kr){var Qr=qt&&on&&typeof $n=="number"?$n:Kr.scrollWidth,oa=Kr.clientWidth;if(Qr===oa){Or(!1),Pr(!1);return}wr?(Or(-pr<Qr-oa),Pr(-pr>0)):(Or(pr>0),Pr(pr<Qr-oa))}}),Xr=(0,j.Z)(function(zn){Cr(zn),mn==null||mn(zn)}),ea=function(){if(lr&&Qn.current){var jn;Cr({currentTarget:(0,ze.bn)(Qn.current),scrollLeft:(jn=Qn.current)===null||jn===void 0?void 0:jn.scrollLeft})}else Or(!1),Pr(!1)},ta=function(jn){var hr,wr=jn.width;(hr=Pn.current)===null||hr===void 0||hr.checkScrollBarVisible();var pr=ur.current?ur.current.offsetWidth:wr;qt&&yn&&ur.current&&(pr=yn(ur.current,pr)||pr),pr!==Dn&&(ea(),Bn(pr))},Jr=h.useRef(!1);h.useEffect(function(){Jr.current&&ea()},[lr,ke,Rn.length]),h.useEffect(function(){Jr.current=!0},[]);var Zr=h.useState(0),Ur=(0,A.Z)(Zr,2),Vr=Ur[0],la=Ur[1],wa=h.useState(!0),ua=(0,A.Z)(wa,2),ca=ua[0],xa=ua[1];(0,X.Z)(function(){(!on||!qt)&&(Qn.current instanceof Element?la((0,Z.o)(Qn.current).width):la((0,Z.o)(Fr.current).width)),xa((0,U.G)("position","sticky"))},[]),h.useEffect(function(){qt&&$t&&($t.body.current=Qn.current)});var Ea=h.useCallback(function(zn){return h.createElement(h.Fragment,null,h.createElement(Vn,zn),mr==="top"&&h.createElement(P,zn,ir))},[mr,ir]),Ca=h.useCallback(function(zn){return h.createElement(P,zn,ir)},[ir]),fa=pn(["table"],"table"),na=h.useMemo(function(){return ue||(kn?$n==="max-content"?"auto":"fixed":dr||qn||Gt.some(function(zn){var jn=zn.ellipsis;return jn})?"fixed":"auto")},[dr,kn,Gt,ue,qn]),ra,aa={colWidths:Wr,columCount:Gt.length,stickyOffsets:Tr,onHeaderRow:dt,fixHeader:dr,scroll:re},da=h.useMemo(function(){return Nt?null:typeof kt=="function"?kt():kt},[Nt,kt]),ha=h.createElement(ht,{data:gt,measureColumnWidth:dr||lr||qn}),pa=h.createElement(Mt,{colWidths:Gt.map(function(zn){var jn=zn.width;return jn}),columns:Gt}),_a=pt!=null?h.createElement("caption",{className:"".concat(le,"-caption")},pt):void 0,Sa=(0,te.Z)(ee,{data:!0}),va=(0,te.Z)(ee,{aria:!0});if(dr||qn){var ia;typeof hn=="function"?(ia=hn(gt,{scrollbarSize:Vr,ref:Qn,onScroll:Cr}),aa.colWidths=Gt.map(function(zn,jn){var hr=zn.width,wr=jn===Gt.length-1?hr-Vr:hr;return typeof wr=="number"&&!Number.isNaN(wr)?wr:0})):ia=h.createElement("div",{style:(0,Y.Z)((0,Y.Z)({},Rr),Er),onScroll:Xr,ref:Qn,className:w()("".concat(le,"-body"))},h.createElement(fa,(0,s.Z)({style:(0,Y.Z)((0,Y.Z)({},Yr),{},{tableLayout:na})},va),_a,pa,ha,!mr&&ir&&h.createElement(P,{stickyOffsets:Tr,flattenColumns:Gt},ir)));var ma=(0,Y.Z)((0,Y.Z)((0,Y.Z)({noData:!gt.length,maxContentScroll:lr&&$n==="max-content"},aa),fr),{},{direction:me,stickyClassName:gr,onScroll:Cr});ra=h.createElement(h.Fragment,null,Pt!==!1&&h.createElement(_t,(0,s.Z)({},ma,{stickyTopOffset:er,className:"".concat(le,"-header"),ref:vr}),Ea),ia,mr&&mr!=="top"&&h.createElement(_t,(0,s.Z)({},ma,{stickyBottomOffset:rr,className:"".concat(le,"-summary"),ref:Br}),Ca),qn&&Qn.current&&Qn.current instanceof Element&&h.createElement(ge,{ref:Pn,offsetScroll:yr,scrollBodyRef:Qn,onScroll:Cr,container:xr,direction:me}))}else ra=h.createElement("div",{style:(0,Y.Z)((0,Y.Z)({},Rr),Er),className:w()("".concat(le,"-content")),onScroll:Cr,ref:Qn},h.createElement(fa,(0,s.Z)({style:(0,Y.Z)((0,Y.Z)({},Yr),{},{tableLayout:na})},va),_a,pa,Pt!==!1&&h.createElement(Vn,(0,s.Z)({},aa,fr)),ha,ir&&h.createElement(P,{stickyOffsets:Tr,flattenColumns:Gt},ir)));var sa=h.createElement("div",(0,s.Z)({className:w()(le,_e,(0,W.Z)((0,W.Z)((0,W.Z)((0,W.Z)((0,W.Z)((0,W.Z)((0,W.Z)((0,W.Z)((0,W.Z)((0,W.Z)({},"".concat(le,"-rtl"),me==="rtl"),"".concat(le,"-ping-left"),Nr),"".concat(le,"-ping-right"),Ir),"".concat(le,"-layout-fixed"),ue==="fixed"),"".concat(le,"-fixed-header"),dr),"".concat(le,"-fixed-column"),kn),"".concat(le,"-fixed-column-gapped"),kn&&or),"".concat(le,"-scroll-horizontal"),lr),"".concat(le,"-has-fix-left"),Gt[0]&&Gt[0].fixed),"".concat(le,"-has-fix-right"),Gt[Gt.length-1]&&Gt[Gt.length-1].fixed==="right")),style:je,id:tt,ref:ur},Sa),Ce&&h.createElement(ne,{className:"".concat(le,"-title")},Ce(gt)),h.createElement("div",{ref:Fr,className:"".concat(le,"-container")},ra),Re&&h.createElement(ne,{className:"".concat(le,"-footer")},Re(gt)));lr&&(sa=h.createElement(D.Z,{onResize:ta},sa));var ga=Nn(Gt,Tr,me),Ra=h.useMemo(function(){return{scrollX:$n,prefixCls:le,getComponent:pn,scrollbarSize:Vr,direction:me,fixedInfoList:ga,isSticky:qn,supportSticky:ca,componentWidth:Dn,fixHeader:dr,fixColumn:kn,horizonScroll:lr,tableLayout:na,rowClassName:Se,expandedRowClassName:In.expandedRowClassName,expandIcon:xn,expandableType:Wn,expandRowByClick:In.expandRowByClick,expandedRowRender:In.expandedRowRender,onTriggerExpand:St,expandIconColumnIndex:In.expandIconColumnIndex,indentSize:In.indentSize,allColumnsFixedLeft:Gt.every(function(zn){return zn.fixed==="left"}),emptyNode:da,columns:Rn,flattenColumns:Gt,onColumnResize:qr,hoverStartRow:Gn,hoverEndRow:sr,onHover:ar,rowExpandable:In.rowExpandable,onRow:Qt,getRowKey:cn,expandedKeys:Kn,childrenColumnName:En,rowHoverable:Kt}},[$n,le,pn,Vr,me,ga,qn,ca,Dn,dr,kn,lr,na,Se,In.expandedRowClassName,xn,Wn,In.expandRowByClick,In.expandedRowRender,St,In.expandIconColumnIndex,In.indentSize,da,Rn,Gt,qr,Gn,sr,ar,In.rowExpandable,Qt,cn,Kn,En,Kt]);return h.createElement(u.Provider,{value:Ra},sa)}var ve=h.forwardRef(se);function he(L){return S(ve,L)}var Me=he();Me.EXPAND_COLUMN=T.w,Me.INTERNAL_HOOKS=T.R,Me.Column=Ke,Me.ColumnGroup=lt,Me.Summary=z;var Ue=Me,Te=l(65283),Ye=G(null),qe=G(null);function ot(L,oe,ee){var le=oe||1;return ee[L+le]-(ee[L]||0)}function Dt(L){var oe=L.rowInfo,ee=L.column,le=L.colIndex,_e=L.indent,Se=L.index,je=L.component,ke=L.renderIndex,Ne=L.record,re=L.style,ue=L.className,me=L.inverse,Ce=L.getHeight,Re=ee.render,Je=ee.dataIndex,pt=ee.className,tt=ee.width,Pt=e(qe,["columnsOffset"]),At=Pt.columnsOffset,kt=Oe(oe,ee,le,_e,Se),Qt=kt.key,dt=kt.fixedInfo,mn=kt.appendCellNode,un=kt.additionalCellProps,sn=un.style,$t=un.colSpan,on=$t===void 0?1:$t,yn=un.rowSpan,an=yn===void 0?1:yn,vn=le-1,Kt=ot(vn,on,At),gt=on>1?tt-Kt:0,Nt=(0,Y.Z)((0,Y.Z)((0,Y.Z)({},sn),re),{},{flex:"0 0 ".concat(Kt,"px"),width:"".concat(Kt,"px"),marginRight:gt,pointerEvents:"auto"}),qt=h.useMemo(function(){return me?an<=1:on===0||an===0||an>1},[an,on,me]);qt?Nt.visibility="hidden":me&&(Nt.height=Ce==null?void 0:Ce(an));var pn=qt?function(){return null}:Re,cn={};return(an===0||on===0)&&(cn.rowSpan=1,cn.colSpan=1),h.createElement(ut,(0,s.Z)({className:w()(pt,ue),ellipsis:ee.ellipsis,align:ee.align,scope:ee.rowScope,component:je,prefixCls:oe.prefixCls,key:Qt,record:Ne,index:Se,renderIndex:ke,dataIndex:Je,render:pn,shouldCellUpdate:ee.shouldCellUpdate},dt,{appendNode:mn,additionalProps:(0,Y.Z)((0,Y.Z)({},un),{},{style:Nt},cn)}))}var it=Dt,Lt=["data","index","className","rowKey","style","extra","getHeight"],Ft=h.forwardRef(function(L,oe){var ee=L.data,le=L.index,_e=L.className,Se=L.rowKey,je=L.style,ke=L.extra,Ne=L.getHeight,re=(0,B.Z)(L,Lt),ue=ee.record,me=ee.indent,Ce=ee.index,Re=e(u,["prefixCls","flattenColumns","fixColumn","componentWidth","scrollX"]),Je=Re.scrollX,pt=Re.flattenColumns,tt=Re.prefixCls,Pt=Re.fixColumn,At=Re.componentWidth,kt=e(Ye,["getComponent"]),Qt=kt.getComponent,dt=Ee(ue,Se,le,me),mn=Qt(["body","row"],"div"),un=Qt(["body","cell"],"div"),sn=dt.rowSupportExpand,$t=dt.expanded,on=dt.rowProps,yn=dt.expandedRowRender,an=dt.expandedRowClassName,vn;if(sn&&$t){var Kt=yn(ue,le,me+1,$t),gt=Ze(an,ue,le,me),Nt={};Pt&&(Nt={style:(0,W.Z)({},"--virtual-width","".concat(At,"px"))});var qt="".concat(tt,"-expanded-row-cell");vn=h.createElement(mn,{className:w()("".concat(tt,"-expanded-row"),"".concat(tt,"-expanded-row-level-").concat(me+1),gt)},h.createElement(ut,{component:un,prefixCls:tt,className:w()(qt,(0,W.Z)({},"".concat(qt,"-fixed"),Pt)),additionalProps:Nt},Kt))}var pn=(0,Y.Z)((0,Y.Z)({},je),{},{width:Je});ke&&(pn.position="absolute",pn.pointerEvents="none");var cn=h.createElement(mn,(0,s.Z)({},on,re,{"data-row-key":Se,ref:sn?null:oe,className:w()(_e,"".concat(tt,"-row"),on==null?void 0:on.className,(0,W.Z)({},"".concat(tt,"-row-extra"),ke)),style:(0,Y.Z)((0,Y.Z)({},pn),on==null?void 0:on.style)}),pt.map(function(hn,Un){return h.createElement(it,{key:Un,component:un,rowInfo:dt,column:hn,colIndex:Un,indent:me,index:le,renderIndex:Ce,record:ue,inverse:ke,getHeight:Ne})}));return sn?h.createElement("div",{ref:oe},cn,vn):cn}),Bt=p(Ft),yt=Bt,xt=h.forwardRef(function(L,oe){var ee=L.data,le=L.onScroll,_e=e(u,["flattenColumns","onColumnResize","getRowKey","prefixCls","expandedKeys","childrenColumnName","scrollX","direction"]),Se=_e.flattenColumns,je=_e.onColumnResize,ke=_e.getRowKey,Ne=_e.expandedKeys,re=_e.prefixCls,ue=_e.childrenColumnName,me=_e.scrollX,Ce=_e.direction,Re=e(Ye),Je=Re.sticky,pt=Re.scrollY,tt=Re.listItemHeight,Pt=Re.getComponent,At=Re.onScroll,kt=h.useRef(),Qt=ce(ee,ue,Ne,ke),dt=h.useMemo(function(){var vn=0;return Se.map(function(Kt){var gt=Kt.width,Nt=Kt.key;return vn+=gt,[Nt,gt,vn]})},[Se]),mn=h.useMemo(function(){return dt.map(function(vn){return vn[2]})},[dt]);h.useEffect(function(){dt.forEach(function(vn){var Kt=(0,A.Z)(vn,2),gt=Kt[0],Nt=Kt[1];je(gt,Nt)})},[dt]),h.useImperativeHandle(oe,function(){var vn,Kt={scrollTo:function(Nt){var qt;(qt=kt.current)===null||qt===void 0||qt.scrollTo(Nt)},nativeElement:(vn=kt.current)===null||vn===void 0?void 0:vn.nativeElement};return Object.defineProperty(Kt,"scrollLeft",{get:function(){var Nt;return((Nt=kt.current)===null||Nt===void 0?void 0:Nt.getScrollInfo().x)||0},set:function(Nt){var qt;(qt=kt.current)===null||qt===void 0||qt.scrollTo({left:Nt})}}),Kt});var un=function(Kt,gt){var Nt,qt=(Nt=Qt[gt])===null||Nt===void 0?void 0:Nt.record,pn=Kt.onCell;if(pn){var cn,hn=pn(qt,gt);return(cn=hn==null?void 0:hn.rowSpan)!==null&&cn!==void 0?cn:1}return 1},sn=function(Kt){var gt=Kt.start,Nt=Kt.end,qt=Kt.getSize,pn=Kt.offsetY;if(Nt<0)return null;for(var cn=Se.filter(function(xn){return un(xn,gt)===0}),hn=gt,Un=function(En){if(cn=cn.filter(function(St){return un(St,En)===0}),!cn.length)return hn=En,1},Jn=gt;Jn>=0&&!Un(Jn);Jn-=1);for(var Gn=Se.filter(function(xn){return un(xn,Nt)!==1}),sr=Nt,ar=function(En){if(Gn=Gn.filter(function(St){return un(St,En)!==1}),!Gn.length)return sr=Math.max(En-1,Nt),1},Yn=Nt;Yn<Qt.length&&!ar(Yn);Yn+=1);for(var bn=[],In=function(En){var St=Qt[En];if(!St)return 1;Se.some(function(nn){return un(nn,En)>1})&&bn.push(En)},Wn=hn;Wn<=sr;Wn+=1)In(Wn);var Kn=bn.map(function(xn){var En=Qt[xn],St=ke(En.record,xn),nn=function(Dn){var Bn=xn+Dn-1,Rt=ke(Qt[Bn].record,Bn),Wt=qt(St,Rt);return Wt.bottom-Wt.top},en=qt(St);return h.createElement(yt,{key:xn,data:En,rowKey:St,index:xn,style:{top:-pn+en.top},extra:!0,getHeight:nn})});return Kn},$t=h.useMemo(function(){return{columnsOffset:mn}},[mn]),on="".concat(re,"-tbody"),yn=Pt(["body","wrapper"]),an={};return Je&&(an.position="sticky",an.bottom=0,(0,K.Z)(Je)==="object"&&Je.offsetScroll&&(an.bottom=Je.offsetScroll)),h.createElement(qe.Provider,{value:$t},h.createElement(Te.Z,{fullHeight:!1,ref:kt,prefixCls:"".concat(on,"-virtual"),styles:{horizontalScrollBar:an},className:on,height:pt,itemHeight:tt||24,data:Qt,itemKey:function(Kt){return ke(Kt.record)},component:yn,scrollWidth:me,direction:Ce,onVirtualScroll:function(Kt){var gt,Nt=Kt.x;le({currentTarget:(gt=kt.current)===null||gt===void 0?void 0:gt.nativeElement,scrollLeft:Nt})},onScroll:At,extraRender:sn},function(vn,Kt,gt){var Nt=ke(vn.record,Kt);return h.createElement(yt,{data:vn,rowKey:Nt,index:Kt,style:gt.style})}))}),Ut=p(xt),nt=Ut,ft=function(oe,ee){var le=ee.ref,_e=ee.onScroll;return h.createElement(nt,{ref:le,data:oe,onScroll:_e})};function vt(L,oe){var ee=L.data,le=L.columns,_e=L.scroll,Se=L.sticky,je=L.prefixCls,ke=je===void 0?wt:je,Ne=L.className,re=L.listItemHeight,ue=L.components,me=L.onScroll,Ce=_e||{},Re=Ce.x,Je=Ce.y;typeof Re!="number"&&(Re=1),typeof Je!="number"&&(Je=500);var pt=(0,mt.zX)(function(At,kt){return(0,x.Z)(ue,At)||kt}),tt=(0,mt.zX)(me),Pt=h.useMemo(function(){return{sticky:Se,scrollY:Je,listItemHeight:re,getComponent:pt,onScroll:tt}},[Se,Je,re,pt,tt]);return h.createElement(Ye.Provider,{value:Pt},h.createElement(Ue,(0,s.Z)({},L,{className:w()(Ne,"".concat(ke,"-virtual")),scroll:(0,Y.Z)((0,Y.Z)({},_e),{},{x:Re}),components:(0,Y.Z)((0,Y.Z)({},ue),{},{body:ee!=null&&ee.length?ft:void 0}),columns:le,internalHooks:T.R,tailor:!0,ref:oe})))}var Ht=h.forwardRef(vt);function Tt(L){return S(Ht,L)}var jt=Tt(),Ln=null},54451:function(It,Fe,l){"use strict";l.d(Fe,{g:function(){return h},v:function(){return V}});var T=l(89490),A=l(39224),j=l(48736),X=["expandable"],V="RC_TABLE_INTERNAL_COL_DEFINE";function h($){var G=$.expandable,e=(0,A.Z)($,X),s;return"expandable"in $?s=(0,T.Z)((0,T.Z)({},e),G):s=e,s.showExpandColumn===!1&&(s.expandIconColumnIndex=-1),s}},22711:function(It,Fe,l){"use strict";l.r(Fe),l.d(Fe,{ResizableTextArea:function(){return Pe},default:function(){return N}});var T=l(71409),A=l(87075),j=l(89490),X=l(62730),V=l(11036),h=l(39224),$=l(92310),G=l.n($),e=l(36901),s=l(66003),c=l(30292),t=l(18929),r=l(59301),i=l(28788),o=l(29301),v=l(34280),b=l(16089),S=`
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;
`,p=["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","white-space"],m={},f;function u(C){var y=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,n=C.getAttribute("id")||C.getAttribute("data-reactid")||C.getAttribute("name");if(y&&m[n])return m[n];var a=window.getComputedStyle(C),d=a.getPropertyValue("box-sizing")||a.getPropertyValue("-moz-box-sizing")||a.getPropertyValue("-webkit-box-sizing"),M=parseFloat(a.getPropertyValue("padding-bottom"))+parseFloat(a.getPropertyValue("padding-top")),ae=parseFloat(a.getPropertyValue("border-bottom-width"))+parseFloat(a.getPropertyValue("border-top-width")),de=p.map(function(Ae){return"".concat(Ae,":").concat(a.getPropertyValue(Ae))}).join(";"),ye={sizingStyle:de,paddingSize:M,borderSize:ae,boxSizing:d};return y&&n&&(m[n]=ye),ye}function k(C){var y=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null;f||(f=document.createElement("textarea"),f.setAttribute("tab-index","-1"),f.setAttribute("aria-hidden","true"),f.setAttribute("name","hiddenTextarea"),document.body.appendChild(f)),C.getAttribute("wrap")?f.setAttribute("wrap",C.getAttribute("wrap")):f.removeAttribute("wrap");var d=u(C,y),M=d.paddingSize,ae=d.borderSize,de=d.boxSizing,ye=d.sizingStyle;f.setAttribute("style","".concat(ye,";").concat(S)),f.value=C.value||C.placeholder||"";var Ae=void 0,He=void 0,mt,be=f.scrollHeight;if(de==="border-box"?be+=ae:de==="content-box"&&(be-=M),n!==null||a!==null){f.value=" ";var Ge=f.scrollHeight-M;n!==null&&(Ae=Ge*n,de==="border-box"&&(Ae=Ae+M+ae),be=Math.max(Ae,be)),a!==null&&(He=Ge*a,de==="border-box"&&(He=He+M+ae),mt=be>He?"":"hidden",be=Math.min(He,be))}var ut={height:be,overflowY:mt,resize:"none"};return Ae&&(ut.minHeight=Ae),He&&(ut.maxHeight=He),ut}var I=["prefixCls","defaultValue","value","autoSize","onResize","className","style","disabled","onChange","onInternalAutoSize"],F=0,K=1,Y=2,W=r.forwardRef(function(C,y){var n=C,a=n.prefixCls,d=n.defaultValue,M=n.value,ae=n.autoSize,de=n.onResize,ye=n.className,Ae=n.style,He=n.disabled,mt=n.onChange,be=n.onInternalAutoSize,Ge=(0,h.Z)(n,I),ut=(0,t.Z)(d,{value:M,postState:function(rt){return rt!=null?rt:""}}),Et=(0,V.Z)(ut,2),st=Et[0],we=Et[1],E=function(rt){we(rt.target.value),mt==null||mt(rt)},B=r.useRef();r.useImperativeHandle(y,function(){return{textArea:B.current}});var O=r.useMemo(function(){return ae&&(0,i.Z)(ae)==="object"?[ae.minRows,ae.maxRows]:[]},[ae]),q=(0,V.Z)(O,2),ie=q[0],R=q[1],g=!!ae,P=function(){try{if(document.activeElement===B.current){var rt=B.current,Ct=rt.selectionStart,Qe=rt.selectionEnd,Ot=rt.scrollTop;B.current.setSelectionRange(Ct,Qe),B.current.scrollTop=Ot}}catch(tn){}},z=r.useState(Y),D=(0,V.Z)(z,2),U=D[0],Z=D[1],te=r.useState(),J=(0,V.Z)(te,2),ce=J[0],Ee=J[1],xe=function(){Z(F)};(0,v.Z)(function(){g&&xe()},[M,ie,R,g]),(0,v.Z)(function(){if(U===F)Z(K);else if(U===K){var De=k(B.current,!1,ie,R);Z(Y),Ee(De)}else P()},[U]);var Be=r.useRef(),Ie=function(){b.Z.cancel(Be.current)},fe=function(rt){U===Y&&(de==null||de(rt),ae&&(Ie(),Be.current=(0,b.Z)(function(){xe()})))};r.useEffect(function(){return Ie},[]);var Ze=g?ce:null,Oe=(0,j.Z)((0,j.Z)({},Ae),Ze);return(U===F||U===K)&&(Oe.overflowY="hidden",Oe.overflowX="hidden"),r.createElement(o.Z,{onResize:fe,disabled:!(ae||de)},r.createElement("textarea",(0,T.Z)({},Ge,{ref:B,style:Oe,className:G()(a,ye,(0,A.Z)({},"".concat(a,"-disabled"),He)),disabled:He,value:st,onChange:E})))}),Pe=W,w=["defaultValue","value","onFocus","onBlur","onChange","allowClear","maxLength","onCompositionStart","onCompositionEnd","suffix","prefixCls","showCount","count","className","style","disabled","hidden","classNames","styles","onResize","onClear","onPressEnter","readOnly","autoSize","onKeyDown"],_=r.forwardRef(function(C,y){var n,a=C.defaultValue,d=C.value,M=C.onFocus,ae=C.onBlur,de=C.onChange,ye=C.allowClear,Ae=C.maxLength,He=C.onCompositionStart,mt=C.onCompositionEnd,be=C.suffix,Ge=C.prefixCls,ut=Ge===void 0?"rc-textarea":Ge,Et=C.showCount,st=C.count,we=C.className,E=C.style,B=C.disabled,O=C.hidden,q=C.classNames,ie=C.styles,R=C.onResize,g=C.onClear,P=C.onPressEnter,z=C.readOnly,D=C.autoSize,U=C.onKeyDown,Z=(0,h.Z)(C,w),te=(0,t.Z)(a,{value:d,defaultValue:a}),J=(0,V.Z)(te,2),ce=J[0],Ee=J[1],xe=ce==null?"":String(ce),Be=r.useState(!1),Ie=(0,V.Z)(Be,2),fe=Ie[0],Ze=Ie[1],Oe=r.useRef(!1),De=r.useState(null),rt=(0,V.Z)(De,2),Ct=rt[0],Qe=rt[1],Ot=(0,r.useRef)(null),tn=(0,r.useRef)(null),ht=function(){var dn;return(dn=tn.current)===null||dn===void 0?void 0:dn.textArea},at=function(){ht().focus()};(0,r.useImperativeHandle)(y,function(){var fn;return{resizableTextArea:tn.current,focus:at,blur:function(){ht().blur()},nativeElement:((fn=Ot.current)===null||fn===void 0?void 0:fn.nativeElement)||ht()}}),(0,r.useEffect)(function(){Ze(function(fn){return!B&&fn})},[B]);var bt=r.useState(null),Xt=(0,V.Z)(bt,2),Mt=Xt[0],Yt=Xt[1];r.useEffect(function(){if(Mt){var fn;(fn=ht()).setSelectionRange.apply(fn,(0,X.Z)(Mt))}},[Mt]);var rn=(0,s.Z)(st,Et),Jt=(n=rn.max)!==null&&n!==void 0?n:Ae,Ve=Number(Jt)>0,_t=rn.strategy(xe),Vt=!!Jt&&_t>Jt,gn=function(dn,Zn){var Fn=Zn;!Oe.current&&rn.exceedFormatter&&rn.max&&rn.strategy(Zn)>rn.max&&(Fn=rn.exceedFormatter(Zn,{max:rn.max}),Zn!==Fn&&Yt([ht().selectionStart||0,ht().selectionEnd||0])),Ee(Fn),(0,c.rJ)(dn.currentTarget,dn,de,Fn)},Zt=function(dn){Oe.current=!0,He==null||He(dn)},An=function(dn){Oe.current=!1,gn(dn,dn.currentTarget.value),mt==null||mt(dn)},Vn=function(dn){gn(dn,dn.target.value)},wn=function(dn){dn.key==="Enter"&&P&&P(dn),U==null||U(dn)},zt=function(dn){Ze(!0),M==null||M(dn)},Nn=function(dn){Ze(!1),ae==null||ae(dn)},Cn=function(dn){Ee(""),at(),(0,c.rJ)(ht(),dn,de)},On=be,_n;rn.show&&(rn.showFormatter?_n=rn.showFormatter({value:xe,count:_t,maxLength:Jt}):_n="".concat(_t).concat(Ve?" / ".concat(Jt):""),On=r.createElement(r.Fragment,null,On,r.createElement("span",{className:G()("".concat(ut,"-data-count"),q==null?void 0:q.count),style:ie==null?void 0:ie.count},_n)));var Sn=function(dn){var Zn;R==null||R(dn),(Zn=ht())!==null&&Zn!==void 0&&Zn.style.height&&Qe(!0)},Mn=!D&&!Et&&!ye;return r.createElement(e.BaseInput,{ref:Ot,value:xe,allowClear:ye,handleReset:Cn,suffix:On,prefixCls:ut,classNames:(0,j.Z)((0,j.Z)({},q),{},{affixWrapper:G()(q==null?void 0:q.affixWrapper,(0,A.Z)((0,A.Z)({},"".concat(ut,"-show-count"),Et),"".concat(ut,"-textarea-allow-clear"),ye))}),disabled:B,focused:fe,className:G()(we,Vt&&"".concat(ut,"-out-of-range")),style:(0,j.Z)((0,j.Z)({},E),Ct&&!Mn?{height:"auto"}:{}),dataAttrs:{affixWrapper:{"data-count":typeof _n=="string"?_n:void 0}},hidden:O,readOnly:z,onClear:g},r.createElement(Pe,(0,T.Z)({},Z,{autoSize:D,maxLength:Ae,onKeyDown:wn,onChange:Vn,onFocus:zt,onBlur:Nn,onCompositionStart:Zt,onCompositionEnd:An,className:G()(q==null?void 0:q.textarea),style:(0,j.Z)((0,j.Z)({},ie==null?void 0:ie.textarea),{},{resize:E==null?void 0:E.resize}),disabled:B,prefixCls:ut,onResize:Sn,ref:tn,readOnly:z})))}),x=_,N=x},29125:function(It,Fe,l){"use strict";l.d(Fe,{G:function(){return X},Z:function(){return S}});var T=l(92310),A=l.n(T),j=l(59301);function X(p){var m=p.children,f=p.prefixCls,u=p.id,k=p.overlayInnerStyle,I=p.bodyClassName,F=p.className,K=p.style;return j.createElement("div",{className:A()("".concat(f,"-content"),F),style:K},j.createElement("div",{className:A()("".concat(f,"-inner"),I),id:u,role:"tooltip",style:k},typeof m=="function"?m():m))}var V=l(71409),h=l(89490),$=l(39224),G=l(65352),e={shiftX:64,adjustY:1},s={adjustX:1,shiftY:!0},c=[0,0],t={left:{points:["cr","cl"],overflow:s,offset:[-4,0],targetOffset:c},right:{points:["cl","cr"],overflow:s,offset:[4,0],targetOffset:c},top:{points:["bc","tc"],overflow:e,offset:[0,-4],targetOffset:c},bottom:{points:["tc","bc"],overflow:e,offset:[0,4],targetOffset:c},topLeft:{points:["bl","tl"],overflow:e,offset:[0,-4],targetOffset:c},leftTop:{points:["tr","tl"],overflow:s,offset:[-4,0],targetOffset:c},topRight:{points:["br","tr"],overflow:e,offset:[0,-4],targetOffset:c},rightTop:{points:["tl","tr"],overflow:s,offset:[4,0],targetOffset:c},bottomRight:{points:["tr","br"],overflow:e,offset:[0,4],targetOffset:c},rightBottom:{points:["bl","br"],overflow:s,offset:[4,0],targetOffset:c},bottomLeft:{points:["tl","bl"],overflow:e,offset:[0,4],targetOffset:c},leftBottom:{points:["br","bl"],overflow:s,offset:[-4,0],targetOffset:c}},r=null,i=l(80402),o=["overlayClassName","trigger","mouseEnterDelay","mouseLeaveDelay","overlayStyle","prefixCls","children","onVisibleChange","afterVisibleChange","transitionName","animation","motion","placement","align","destroyTooltipOnHide","defaultVisible","getTooltipContainer","overlayInnerStyle","arrowContent","overlay","id","showArrow","classNames","styles"],v=function(m,f){var u=m.overlayClassName,k=m.trigger,I=k===void 0?["hover"]:k,F=m.mouseEnterDelay,K=F===void 0?0:F,Y=m.mouseLeaveDelay,W=Y===void 0?.1:Y,Pe=m.overlayStyle,w=m.prefixCls,_=w===void 0?"rc-tooltip":w,x=m.children,N=m.onVisibleChange,C=m.afterVisibleChange,y=m.transitionName,n=m.animation,a=m.motion,d=m.placement,M=d===void 0?"right":d,ae=m.align,de=ae===void 0?{}:ae,ye=m.destroyTooltipOnHide,Ae=ye===void 0?!1:ye,He=m.defaultVisible,mt=m.getTooltipContainer,be=m.overlayInnerStyle,Ge=m.arrowContent,ut=m.overlay,Et=m.id,st=m.showArrow,we=st===void 0?!0:st,E=m.classNames,B=m.styles,O=(0,$.Z)(m,o),q=(0,i.Z)(Et),ie=(0,j.useRef)(null);(0,j.useImperativeHandle)(f,function(){return ie.current});var R=(0,h.Z)({},O);"visible"in m&&(R.popupVisible=m.visible);var g=function(){return j.createElement(X,{key:"content",prefixCls:_,id:q,bodyClassName:E==null?void 0:E.body,overlayInnerStyle:(0,h.Z)((0,h.Z)({},be),B==null?void 0:B.body)},ut)},P=function(){var D=j.Children.only(x),U=(D==null?void 0:D.props)||{},Z=(0,h.Z)((0,h.Z)({},U),{},{"aria-describedby":ut?q:null});return j.cloneElement(x,Z)};return j.createElement(G.Z,(0,V.Z)({popupClassName:A()(u,E==null?void 0:E.root),prefixCls:_,popup:g,action:I,builtinPlacements:t,popupPlacement:M,ref:ie,popupAlign:de,getPopupContainer:mt,onPopupVisibleChange:N,afterPopupVisibleChange:C,popupTransitionName:y,popupAnimation:n,popupMotion:a,defaultPopupVisible:He,autoDestroy:Ae,mouseLeaveDelay:W,popupStyle:(0,h.Z)((0,h.Z)({},Pe),B==null?void 0:B.root),mouseEnterDelay:K,arrow:we},R),P())},b=(0,j.forwardRef)(v),S=b},639:function(It,Fe,l){"use strict";l.d(Fe,{Z:function(){return m}});var T=l(71409),A=l(87075),j=l(89490),X=l(11036),V=l(39224),h=l(59301),$=l(92310),G=l.n($),e=l(26112),s=l(30699),c=function(u){for(var k=u.prefixCls,I=u.level,F=u.isStart,K=u.isEnd,Y="".concat(k,"-indent-unit"),W=[],Pe=0;Pe<I;Pe+=1)W.push(h.createElement("span",{key:Pe,className:G()(Y,(0,A.Z)((0,A.Z)({},"".concat(Y,"-start"),F[Pe]),"".concat(Y,"-end"),K[Pe]))}));return h.createElement("span",{"aria-hidden":"true",className:"".concat(k,"-indent")},W)},t=h.memo(c),r=l(65065),i=l(34061),o=["eventKey","className","style","dragOver","dragOverGapTop","dragOverGapBottom","isLeaf","isStart","isEnd","expanded","selected","checked","halfChecked","loading","domRef","active","data","onMouseMove","selectable"],v="open",b="close",S="---",p=function(u){var k,I,F,K=u.eventKey,Y=u.className,W=u.style,Pe=u.dragOver,w=u.dragOverGapTop,_=u.dragOverGapBottom,x=u.isLeaf,N=u.isStart,C=u.isEnd,y=u.expanded,n=u.selected,a=u.checked,d=u.halfChecked,M=u.loading,ae=u.domRef,de=u.active,ye=u.data,Ae=u.onMouseMove,He=u.selectable,mt=(0,V.Z)(u,o),be=h.useContext(s.k),Ge=h.useContext(s.y),ut=h.useRef(null),Et=h.useState(!1),st=(0,X.Z)(Et,2),we=st[0],E=st[1],B=!!(be.disabled||u.disabled||(k=Ge.nodeDisabled)!==null&&k!==void 0&&k.call(Ge,ye)),O=h.useMemo(function(){return!be.checkable||u.checkable===!1?!1:be.checkable},[be.checkable,u.checkable]),q=function(_t){B||be.onNodeSelect(_t,(0,i.F)(u))},ie=function(_t){B||!O||u.disableCheckbox||be.onNodeCheck(_t,(0,i.F)(u),!a)},R=h.useMemo(function(){return typeof He=="boolean"?He:be.selectable},[He,be.selectable]),g=function(_t){be.onNodeClick(_t,(0,i.F)(u)),R?q(_t):ie(_t)},P=function(_t){be.onNodeDoubleClick(_t,(0,i.F)(u))},z=function(_t){be.onNodeMouseEnter(_t,(0,i.F)(u))},D=function(_t){be.onNodeMouseLeave(_t,(0,i.F)(u))},U=function(_t){be.onNodeContextMenu(_t,(0,i.F)(u))},Z=h.useMemo(function(){return!!(be.draggable&&(!be.draggable.nodeDraggable||be.draggable.nodeDraggable(ye)))},[be.draggable,ye]),te=function(_t){_t.stopPropagation(),E(!0),be.onNodeDragStart(_t,u);try{_t.dataTransfer.setData("text/plain","")}catch(Vt){}},J=function(_t){_t.preventDefault(),_t.stopPropagation(),be.onNodeDragEnter(_t,u)},ce=function(_t){_t.preventDefault(),_t.stopPropagation(),be.onNodeDragOver(_t,u)},Ee=function(_t){_t.stopPropagation(),be.onNodeDragLeave(_t,u)},xe=function(_t){_t.stopPropagation(),E(!1),be.onNodeDragEnd(_t,u)},Be=function(_t){_t.preventDefault(),_t.stopPropagation(),E(!1),be.onNodeDrop(_t,u)},Ie=function(_t){M||be.onNodeExpand(_t,(0,i.F)(u))},fe=h.useMemo(function(){var Ve=(0,r.Z)(be.keyEntities,K)||{},_t=Ve.children;return!!(_t||[]).length},[be.keyEntities,K]),Ze=h.useMemo(function(){return x===!1?!1:x||!be.loadData&&!fe||be.loadData&&u.loaded&&!fe},[x,be.loadData,fe,u.loaded]);h.useEffect(function(){M||typeof be.loadData=="function"&&y&&!Ze&&!u.loaded&&be.onNodeLoad((0,i.F)(u))},[M,be.loadData,be.onNodeLoad,y,Ze,u]);var Oe=h.useMemo(function(){var Ve;return(Ve=be.draggable)!==null&&Ve!==void 0&&Ve.icon?h.createElement("span",{className:"".concat(be.prefixCls,"-draggable-icon")},be.draggable.icon):null},[be.draggable]),De=function(_t){var Vt=u.switcherIcon||be.switcherIcon;return typeof Vt=="function"?Vt((0,j.Z)((0,j.Z)({},u),{},{isLeaf:_t})):Vt},rt=function(){if(Ze){var _t=De(!0);return _t!==!1?h.createElement("span",{className:G()("".concat(be.prefixCls,"-switcher"),"".concat(be.prefixCls,"-switcher-noop"))},_t):null}var Vt=De(!1);return Vt!==!1?h.createElement("span",{onClick:Ie,className:G()("".concat(be.prefixCls,"-switcher"),"".concat(be.prefixCls,"-switcher_").concat(y?v:b))},Vt):null},Ct=h.useMemo(function(){if(!O)return null;var Ve=typeof O!="boolean"?O:null;return h.createElement("span",{className:G()("".concat(be.prefixCls,"-checkbox"),(0,A.Z)((0,A.Z)((0,A.Z)({},"".concat(be.prefixCls,"-checkbox-checked"),a),"".concat(be.prefixCls,"-checkbox-indeterminate"),!a&&d),"".concat(be.prefixCls,"-checkbox-disabled"),B||u.disableCheckbox)),onClick:ie,role:"checkbox","aria-checked":d?"mixed":a,"aria-disabled":B||u.disableCheckbox,"aria-label":"Select ".concat(typeof u.title=="string"?u.title:"tree node")},Ve)},[O,a,d,B,u.disableCheckbox,u.title]),Qe=h.useMemo(function(){return Ze?null:y?v:b},[Ze,y]),Ot=h.useMemo(function(){return h.createElement("span",{className:G()("".concat(be.prefixCls,"-iconEle"),"".concat(be.prefixCls,"-icon__").concat(Qe||"docu"),(0,A.Z)({},"".concat(be.prefixCls,"-icon_loading"),M))})},[be.prefixCls,Qe,M]),tn=h.useMemo(function(){var Ve=!!be.draggable,_t=!u.disabled&&Ve&&be.dragOverNodeKey===K;return _t?be.dropIndicatorRender({dropPosition:be.dropPosition,dropLevelOffset:be.dropLevelOffset,indent:be.indent,prefixCls:be.prefixCls,direction:be.direction}):null},[be.dropPosition,be.dropLevelOffset,be.indent,be.prefixCls,be.direction,be.draggable,be.dragOverNodeKey,be.dropIndicatorRender]),ht=h.useMemo(function(){var Ve=u.title,_t=Ve===void 0?S:Ve,Vt="".concat(be.prefixCls,"-node-content-wrapper"),gn;if(be.showIcon){var Zt=u.icon||be.icon;gn=Zt?h.createElement("span",{className:G()("".concat(be.prefixCls,"-iconEle"),"".concat(be.prefixCls,"-icon__customize"))},typeof Zt=="function"?Zt(u):Zt):Ot}else be.loadData&&M&&(gn=Ot);var An;return typeof _t=="function"?An=_t(ye):be.titleRender?An=be.titleRender(ye):An=_t,h.createElement("span",{ref:ut,title:typeof _t=="string"?_t:"",className:G()(Vt,"".concat(Vt,"-").concat(Qe||"normal"),(0,A.Z)({},"".concat(be.prefixCls,"-node-selected"),!B&&(n||we))),onMouseEnter:z,onMouseLeave:D,onContextMenu:U,onClick:g,onDoubleClick:P},gn,h.createElement("span",{className:"".concat(be.prefixCls,"-title")},An),tn)},[be.prefixCls,be.showIcon,u,be.icon,Ot,be.titleRender,ye,Qe,z,D,U,g,P]),at=(0,e.Z)(mt,{aria:!0,data:!0}),bt=(0,r.Z)(be.keyEntities,K)||{},Xt=bt.level,Mt=C[C.length-1],Yt=!B&&Z,rn=be.draggingNodeKey===K,Jt=He!==void 0?{"aria-selected":!!He}:void 0;return h.createElement("div",(0,T.Z)({ref:ae,role:"treeitem","aria-expanded":x?void 0:y,className:G()(Y,"".concat(be.prefixCls,"-treenode"),(F={},(0,A.Z)((0,A.Z)((0,A.Z)((0,A.Z)((0,A.Z)((0,A.Z)((0,A.Z)((0,A.Z)((0,A.Z)((0,A.Z)(F,"".concat(be.prefixCls,"-treenode-disabled"),B),"".concat(be.prefixCls,"-treenode-switcher-").concat(y?"open":"close"),!x),"".concat(be.prefixCls,"-treenode-checkbox-checked"),a),"".concat(be.prefixCls,"-treenode-checkbox-indeterminate"),d),"".concat(be.prefixCls,"-treenode-selected"),n),"".concat(be.prefixCls,"-treenode-loading"),M),"".concat(be.prefixCls,"-treenode-active"),de),"".concat(be.prefixCls,"-treenode-leaf-last"),Mt),"".concat(be.prefixCls,"-treenode-draggable"),Z),"dragging",rn),(0,A.Z)((0,A.Z)((0,A.Z)((0,A.Z)((0,A.Z)((0,A.Z)((0,A.Z)(F,"drop-target",be.dropTargetKey===K),"drop-container",be.dropContainerKey===K),"drag-over",!B&&Pe),"drag-over-gap-top",!B&&w),"drag-over-gap-bottom",!B&&_),"filter-node",(I=be.filterTreeNode)===null||I===void 0?void 0:I.call(be,(0,i.F)(u))),"".concat(be.prefixCls,"-treenode-leaf"),Ze))),style:W,draggable:Yt,onDragStart:Yt?te:void 0,onDragEnter:Z?J:void 0,onDragOver:Z?ce:void 0,onDragLeave:Z?Ee:void 0,onDrop:Z?Be:void 0,onDragEnd:Z?xe:void 0,onMouseMove:Ae},Jt,at),h.createElement(t,{prefixCls:be.prefixCls,level:Xt,isStart:N,isEnd:C}),Oe,rt(),Ct,ht)};p.isTreeNode=1;var m=p},30699:function(It,Fe,l){"use strict";l.d(Fe,{k:function(){return A},y:function(){return j}});var T=l(59301),A=T.createContext(null),j=T.createContext({})},62379:function(It,Fe,l){"use strict";l.d(Fe,{OF:function(){return K.Z},y6:function(){return b.y},ZP:function(){return B}});var T=l(71409),A=l(28788),j=l(89490),X=l(62730),V=l(16552),h=l(19210),$=l(90264),G=l(46654),e=l(37205),s=l(87075),c=l(92310),t=l.n(c),r=l(10228),i=l(26112),o=l(48736),v=l(59301),b=l(30699),S=function(q){var ie=q.dropPosition,R=q.dropLevelOffset,g=q.indent,P={pointerEvents:"none",position:"absolute",right:0,backgroundColor:"red",height:2};switch(ie){case-1:P.top=0,P.left=-R*g;break;case 1:P.bottom=0,P.left=-R*g;break;case 0:P.bottom=0,P.left=g;break}return v.createElement("div",{style:P})},p=S;function m(O){if(O==null)throw new TypeError("Cannot destructure "+O)}var f=l(11036),u=l(39224),k=l(34280),I=l(65283),F=l(77900),K=l(639);function Y(O,q){var ie=v.useState(!1),R=(0,f.Z)(ie,2),g=R[0],P=R[1];(0,k.Z)(function(){if(g)return O(),function(){q()}},[g]),(0,k.Z)(function(){return P(!0),function(){P(!1)}},[])}var W=Y,Pe=l(34061),w=["className","style","motion","motionNodes","motionType","onMotionStart","onMotionEnd","active","treeNodeRequiredProps"],_=v.forwardRef(function(O,q){var ie=O.className,R=O.style,g=O.motion,P=O.motionNodes,z=O.motionType,D=O.onMotionStart,U=O.onMotionEnd,Z=O.active,te=O.treeNodeRequiredProps,J=(0,u.Z)(O,w),ce=v.useState(!0),Ee=(0,f.Z)(ce,2),xe=Ee[0],Be=Ee[1],Ie=v.useContext(b.k),fe=Ie.prefixCls,Ze=P&&z!=="hide";(0,k.Z)(function(){P&&Ze!==xe&&Be(Ze)},[P]);var Oe=function(){P&&D()},De=v.useRef(!1),rt=function(){P&&!De.current&&(De.current=!0,U())};W(Oe,rt);var Ct=function(Ot){Ze===Ot&&rt()};return P?v.createElement(F.default,(0,T.Z)({ref:q,visible:xe},g,{motionAppear:z==="show",onVisibleChanged:Ct}),function(Qe,Ot){var tn=Qe.className,ht=Qe.style;return v.createElement("div",{ref:Ot,className:t()("".concat(fe,"-treenode-motion"),tn),style:ht},P.map(function(at){var bt=Object.assign({},(m(at.data),at.data)),Xt=at.title,Mt=at.key,Yt=at.isStart,rn=at.isEnd;delete bt.children;var Jt=(0,Pe.H8)(Mt,te);return v.createElement(K.Z,(0,T.Z)({},bt,Jt,{title:Xt,active:Z,data:at.data,key:Mt,isStart:Yt,isEnd:rn}))}))}):v.createElement(K.Z,(0,T.Z)({domRef:q,className:ie,style:R},J,{active:Z}))}),x=_;function N(){var O=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],q=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],ie=O.length,R=q.length;if(Math.abs(ie-R)!==1)return{add:!1,key:null};function g(P,z){var D=new Map;P.forEach(function(Z){D.set(Z,!0)});var U=z.filter(function(Z){return!D.has(Z)});return U.length===1?U[0]:null}return ie<R?{add:!0,key:g(O,q)}:{add:!1,key:g(q,O)}}function C(O,q,ie){var R=O.findIndex(function(D){return D.key===ie}),g=O[R+1],P=q.findIndex(function(D){return D.key===ie});if(g){var z=q.findIndex(function(D){return D.key===g.key});return q.slice(P+1,z)}return q.slice(P+1)}var y=["prefixCls","data","selectable","checkable","expandedKeys","selectedKeys","checkedKeys","loadedKeys","loadingKeys","halfCheckedKeys","keyEntities","disabled","dragging","dragOverNodeKey","dropPosition","motion","height","itemHeight","virtual","scrollWidth","focusable","activeItem","focused","tabIndex","onKeyDown","onFocus","onBlur","onActiveChange","onListChangeStart","onListChangeEnd"],n={width:0,height:0,display:"flex",overflow:"hidden",opacity:0,border:0,padding:0,margin:0},a=function(){},d="RC_TREE_MOTION_".concat(Math.random()),M={key:d},ae={key:d,level:0,index:0,pos:"0",node:M,nodes:[M]},de={parent:null,children:[],pos:ae.pos,data:M,title:null,key:d,isStart:[],isEnd:[]};function ye(O,q,ie,R){return q===!1||!ie?O:O.slice(0,Math.ceil(ie/R)+1)}function Ae(O){var q=O.key,ie=O.pos;return(0,Pe.km)(q,ie)}function He(O){for(var q=String(O.data.key),ie=O;ie.parent;)ie=ie.parent,q="".concat(ie.data.key," > ").concat(q);return q}var mt=v.forwardRef(function(O,q){var ie=O.prefixCls,R=O.data,g=O.selectable,P=O.checkable,z=O.expandedKeys,D=O.selectedKeys,U=O.checkedKeys,Z=O.loadedKeys,te=O.loadingKeys,J=O.halfCheckedKeys,ce=O.keyEntities,Ee=O.disabled,xe=O.dragging,Be=O.dragOverNodeKey,Ie=O.dropPosition,fe=O.motion,Ze=O.height,Oe=O.itemHeight,De=O.virtual,rt=O.scrollWidth,Ct=O.focusable,Qe=O.activeItem,Ot=O.focused,tn=O.tabIndex,ht=O.onKeyDown,at=O.onFocus,bt=O.onBlur,Xt=O.onActiveChange,Mt=O.onListChangeStart,Yt=O.onListChangeEnd,rn=(0,u.Z)(O,y),Jt=v.useRef(null),Ve=v.useRef(null);v.useImperativeHandle(q,function(){return{scrollTo:function(pe){Jt.current.scrollTo(pe)},getIndentWidth:function(){return Ve.current.offsetWidth}}});var _t=v.useState(z),Vt=(0,f.Z)(_t,2),gn=Vt[0],Zt=Vt[1],An=v.useState(R),Vn=(0,f.Z)(An,2),wn=Vn[0],zt=Vn[1],Nn=v.useState(R),Cn=(0,f.Z)(Nn,2),On=Cn[0],_n=Cn[1],Sn=v.useState([]),Mn=(0,f.Z)(Sn,2),fn=Mn[0],dn=Mn[1],Zn=v.useState(null),Fn=(0,f.Z)(Zn,2),ne=Fn[0],Q=Fn[1],We=v.useRef(R);We.current=R;function ze(){var ge=We.current;zt(ge),_n(ge),dn([]),Q(null),Yt()}(0,k.Z)(function(){Zt(z);var ge=N(gn,z);if(ge.key!==null)if(ge.add){var pe=wn.findIndex(function($e){var H=$e.key;return H===ge.key}),Ke=ye(C(wn,R,ge.key),De,Ze,Oe),Xe=wn.slice();Xe.splice(pe+1,0,de),_n(Xe),dn(Ke),Q("show")}else{var lt=R.findIndex(function($e){var H=$e.key;return H===ge.key}),wt=ye(C(R,wn,ge.key),De,Ze,Oe),et=R.slice();et.splice(lt+1,0,de),_n(et),dn(wt),Q("hide")}else wn!==R&&(zt(R),_n(R))},[z,R]),v.useEffect(function(){xe||ze()},[xe]);var Le=fe?On:R,ct={expandedKeys:z,selectedKeys:D,loadedKeys:Z,loadingKeys:te,checkedKeys:U,halfCheckedKeys:J,dragOverNodeKey:Be,dropPosition:Ie,keyEntities:ce};return v.createElement(v.Fragment,null,Ot&&Qe&&v.createElement("span",{style:n,"aria-live":"assertive"},He(Qe)),v.createElement("div",null,v.createElement("input",{style:n,disabled:Ct===!1||Ee,tabIndex:Ct!==!1?tn:null,onKeyDown:ht,onFocus:at,onBlur:bt,value:"",onChange:a,"aria-label":"for screen reader"})),v.createElement("div",{className:"".concat(ie,"-treenode"),"aria-hidden":!0,style:{position:"absolute",pointerEvents:"none",visibility:"hidden",height:0,overflow:"hidden",border:0,padding:0}},v.createElement("div",{className:"".concat(ie,"-indent")},v.createElement("div",{ref:Ve,className:"".concat(ie,"-indent-unit")}))),v.createElement(I.Z,(0,T.Z)({},rn,{data:Le,itemKey:Ae,height:Ze,fullHeight:!1,virtual:De,itemHeight:Oe,scrollWidth:rt,prefixCls:"".concat(ie,"-list"),ref:Jt,role:"tree",onVisibleChange:function(pe){pe.every(function(Ke){return Ae(Ke)!==d})&&ze()}}),function(ge){var pe=ge.pos,Ke=Object.assign({},(m(ge.data),ge.data)),Xe=ge.title,lt=ge.key,wt=ge.isStart,et=ge.isEnd,$e=(0,Pe.km)(lt,pe);delete Ke.key,delete Ke.children;var H=(0,Pe.H8)($e,ct);return v.createElement(x,(0,T.Z)({},Ke,H,{title:Xe,active:!!Qe&&lt===Qe.key,pos:pe,data:ge.data,isStart:wt,isEnd:et,motion:fe,motionNodes:lt===d?fn:null,motionType:ne,onMotionStart:Mt,onMotionEnd:ze,treeNodeRequiredProps:ct,onMouseMove:function(){Xt(null)}}))}))}),be=mt,Ge=l(82661),ut=l(34643),Et=l(65065),st=10,we=function(O){(0,G.Z)(ie,O);var q=(0,e.Z)(ie);function ie(){var R;(0,V.Z)(this,ie);for(var g=arguments.length,P=new Array(g),z=0;z<g;z++)P[z]=arguments[z];return R=q.call.apply(q,[this].concat(P)),(0,s.Z)((0,$.Z)(R),"destroyed",!1),(0,s.Z)((0,$.Z)(R),"delayedDragEnterLogic",void 0),(0,s.Z)((0,$.Z)(R),"loadingRetryTimes",{}),(0,s.Z)((0,$.Z)(R),"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:(0,Pe.w$)()}),(0,s.Z)((0,$.Z)(R),"dragStartMousePosition",null),(0,s.Z)((0,$.Z)(R),"dragNodeProps",null),(0,s.Z)((0,$.Z)(R),"currentMouseOverDroppableNodeKey",null),(0,s.Z)((0,$.Z)(R),"listRef",v.createRef()),(0,s.Z)((0,$.Z)(R),"onNodeDragStart",function(D,U){var Z=R.state,te=Z.expandedKeys,J=Z.keyEntities,ce=R.props.onDragStart,Ee=U.eventKey;R.dragNodeProps=U,R.dragStartMousePosition={x:D.clientX,y:D.clientY};var xe=(0,Ge._5)(te,Ee);R.setState({draggingNodeKey:Ee,dragChildrenKeys:(0,Ge.wA)(Ee,J),indent:R.listRef.current.getIndentWidth()}),R.setExpandedKeys(xe),window.addEventListener("dragend",R.onWindowDragEnd),ce==null||ce({event:D,node:(0,Pe.F)(U)})}),(0,s.Z)((0,$.Z)(R),"onNodeDragEnter",function(D,U){var Z=R.state,te=Z.expandedKeys,J=Z.keyEntities,ce=Z.dragChildrenKeys,Ee=Z.flattenNodes,xe=Z.indent,Be=R.props,Ie=Be.onDragEnter,fe=Be.onExpand,Ze=Be.allowDrop,Oe=Be.direction,De=U.pos,rt=U.eventKey;if(R.currentMouseOverDroppableNodeKey!==rt&&(R.currentMouseOverDroppableNodeKey=rt),!R.dragNodeProps){R.resetDragState();return}var Ct=(0,Ge.OM)(D,R.dragNodeProps,U,xe,R.dragStartMousePosition,Ze,Ee,J,te,Oe),Qe=Ct.dropPosition,Ot=Ct.dropLevelOffset,tn=Ct.dropTargetKey,ht=Ct.dropContainerKey,at=Ct.dropTargetPos,bt=Ct.dropAllowed,Xt=Ct.dragOverNodeKey;if(ce.includes(tn)||!bt){R.resetDragState();return}if(R.delayedDragEnterLogic||(R.delayedDragEnterLogic={}),Object.keys(R.delayedDragEnterLogic).forEach(function(Mt){clearTimeout(R.delayedDragEnterLogic[Mt])}),R.dragNodeProps.eventKey!==U.eventKey&&(D.persist(),R.delayedDragEnterLogic[De]=window.setTimeout(function(){if(R.state.draggingNodeKey!==null){var Mt=(0,X.Z)(te),Yt=(0,Et.Z)(J,U.eventKey);Yt&&(Yt.children||[]).length&&(Mt=(0,Ge.L0)(te,U.eventKey)),R.props.hasOwnProperty("expandedKeys")||R.setExpandedKeys(Mt),fe==null||fe(Mt,{node:(0,Pe.F)(U),expanded:!0,nativeEvent:D.nativeEvent})}},800)),R.dragNodeProps.eventKey===tn&&Ot===0){R.resetDragState();return}R.setState({dragOverNodeKey:Xt,dropPosition:Qe,dropLevelOffset:Ot,dropTargetKey:tn,dropContainerKey:ht,dropTargetPos:at,dropAllowed:bt}),Ie==null||Ie({event:D,node:(0,Pe.F)(U),expandedKeys:te})}),(0,s.Z)((0,$.Z)(R),"onNodeDragOver",function(D,U){var Z=R.state,te=Z.dragChildrenKeys,J=Z.flattenNodes,ce=Z.keyEntities,Ee=Z.expandedKeys,xe=Z.indent,Be=R.props,Ie=Be.onDragOver,fe=Be.allowDrop,Ze=Be.direction;if(R.dragNodeProps){var Oe=(0,Ge.OM)(D,R.dragNodeProps,U,xe,R.dragStartMousePosition,fe,J,ce,Ee,Ze),De=Oe.dropPosition,rt=Oe.dropLevelOffset,Ct=Oe.dropTargetKey,Qe=Oe.dropContainerKey,Ot=Oe.dropTargetPos,tn=Oe.dropAllowed,ht=Oe.dragOverNodeKey;te.includes(Ct)||!tn||(R.dragNodeProps.eventKey===Ct&&rt===0?R.state.dropPosition===null&&R.state.dropLevelOffset===null&&R.state.dropTargetKey===null&&R.state.dropContainerKey===null&&R.state.dropTargetPos===null&&R.state.dropAllowed===!1&&R.state.dragOverNodeKey===null||R.resetDragState():De===R.state.dropPosition&&rt===R.state.dropLevelOffset&&Ct===R.state.dropTargetKey&&Qe===R.state.dropContainerKey&&Ot===R.state.dropTargetPos&&tn===R.state.dropAllowed&&ht===R.state.dragOverNodeKey||R.setState({dropPosition:De,dropLevelOffset:rt,dropTargetKey:Ct,dropContainerKey:Qe,dropTargetPos:Ot,dropAllowed:tn,dragOverNodeKey:ht}),Ie==null||Ie({event:D,node:(0,Pe.F)(U)}))}}),(0,s.Z)((0,$.Z)(R),"onNodeDragLeave",function(D,U){R.currentMouseOverDroppableNodeKey===U.eventKey&&!D.currentTarget.contains(D.relatedTarget)&&(R.resetDragState(),R.currentMouseOverDroppableNodeKey=null);var Z=R.props.onDragLeave;Z==null||Z({event:D,node:(0,Pe.F)(U)})}),(0,s.Z)((0,$.Z)(R),"onWindowDragEnd",function(D){R.onNodeDragEnd(D,null,!0),window.removeEventListener("dragend",R.onWindowDragEnd)}),(0,s.Z)((0,$.Z)(R),"onNodeDragEnd",function(D,U){var Z=R.props.onDragEnd;R.setState({dragOverNodeKey:null}),R.cleanDragState(),Z==null||Z({event:D,node:(0,Pe.F)(U)}),R.dragNodeProps=null,window.removeEventListener("dragend",R.onWindowDragEnd)}),(0,s.Z)((0,$.Z)(R),"onNodeDrop",function(D,U){var Z,te=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,J=R.state,ce=J.dragChildrenKeys,Ee=J.dropPosition,xe=J.dropTargetKey,Be=J.dropTargetPos,Ie=J.dropAllowed;if(Ie){var fe=R.props.onDrop;if(R.setState({dragOverNodeKey:null}),R.cleanDragState(),xe!==null){var Ze=(0,j.Z)((0,j.Z)({},(0,Pe.H8)(xe,R.getTreeNodeRequiredProps())),{},{active:((Z=R.getActiveItem())===null||Z===void 0?void 0:Z.key)===xe,data:(0,Et.Z)(R.state.keyEntities,xe).node}),Oe=ce.includes(xe);(0,o.ZP)(!Oe,"Can not drop to dragNode's children node. This is a bug of rc-tree. Please report an issue.");var De=(0,Ge.yx)(Be),rt={event:D,node:(0,Pe.F)(Ze),dragNode:R.dragNodeProps?(0,Pe.F)(R.dragNodeProps):null,dragNodesKeys:[R.dragNodeProps.eventKey].concat(ce),dropToGap:Ee!==0,dropPosition:Ee+Number(De[De.length-1])};te||fe==null||fe(rt),R.dragNodeProps=null}}}),(0,s.Z)((0,$.Z)(R),"cleanDragState",function(){var D=R.state.draggingNodeKey;D!==null&&R.setState({draggingNodeKey:null,dropPosition:null,dropContainerKey:null,dropTargetKey:null,dropLevelOffset:null,dropAllowed:!0,dragOverNodeKey:null}),R.dragStartMousePosition=null,R.currentMouseOverDroppableNodeKey=null}),(0,s.Z)((0,$.Z)(R),"triggerExpandActionExpand",function(D,U){var Z=R.state,te=Z.expandedKeys,J=Z.flattenNodes,ce=U.expanded,Ee=U.key,xe=U.isLeaf;if(!(xe||D.shiftKey||D.metaKey||D.ctrlKey)){var Be=J.filter(function(fe){return fe.key===Ee})[0],Ie=(0,Pe.F)((0,j.Z)((0,j.Z)({},(0,Pe.H8)(Ee,R.getTreeNodeRequiredProps())),{},{data:Be.data}));R.setExpandedKeys(ce?(0,Ge._5)(te,Ee):(0,Ge.L0)(te,Ee)),R.onNodeExpand(D,Ie)}}),(0,s.Z)((0,$.Z)(R),"onNodeClick",function(D,U){var Z=R.props,te=Z.onClick,J=Z.expandAction;J==="click"&&R.triggerExpandActionExpand(D,U),te==null||te(D,U)}),(0,s.Z)((0,$.Z)(R),"onNodeDoubleClick",function(D,U){var Z=R.props,te=Z.onDoubleClick,J=Z.expandAction;J==="doubleClick"&&R.triggerExpandActionExpand(D,U),te==null||te(D,U)}),(0,s.Z)((0,$.Z)(R),"onNodeSelect",function(D,U){var Z=R.state.selectedKeys,te=R.state,J=te.keyEntities,ce=te.fieldNames,Ee=R.props,xe=Ee.onSelect,Be=Ee.multiple,Ie=U.selected,fe=U[ce.key],Ze=!Ie;Ze?Be?Z=(0,Ge.L0)(Z,fe):Z=[fe]:Z=(0,Ge._5)(Z,fe);var Oe=Z.map(function(De){var rt=(0,Et.Z)(J,De);return rt?rt.node:null}).filter(Boolean);R.setUncontrolledState({selectedKeys:Z}),xe==null||xe(Z,{event:"select",selected:Ze,node:U,selectedNodes:Oe,nativeEvent:D.nativeEvent})}),(0,s.Z)((0,$.Z)(R),"onNodeCheck",function(D,U,Z){var te=R.state,J=te.keyEntities,ce=te.checkedKeys,Ee=te.halfCheckedKeys,xe=R.props,Be=xe.checkStrictly,Ie=xe.onCheck,fe=U.key,Ze,Oe={event:"check",node:U,checked:Z,nativeEvent:D.nativeEvent};if(Be){var De=Z?(0,Ge.L0)(ce,fe):(0,Ge._5)(ce,fe),rt=(0,Ge._5)(Ee,fe);Ze={checked:De,halfChecked:rt},Oe.checkedNodes=De.map(function(at){return(0,Et.Z)(J,at)}).filter(Boolean).map(function(at){return at.node}),R.setUncontrolledState({checkedKeys:De})}else{var Ct=(0,ut.S)([].concat((0,X.Z)(ce),[fe]),!0,J),Qe=Ct.checkedKeys,Ot=Ct.halfCheckedKeys;if(!Z){var tn=new Set(Qe);tn.delete(fe);var ht=(0,ut.S)(Array.from(tn),{checked:!1,halfCheckedKeys:Ot},J);Qe=ht.checkedKeys,Ot=ht.halfCheckedKeys}Ze=Qe,Oe.checkedNodes=[],Oe.checkedNodesPositions=[],Oe.halfCheckedKeys=Ot,Qe.forEach(function(at){var bt=(0,Et.Z)(J,at);if(bt){var Xt=bt.node,Mt=bt.pos;Oe.checkedNodes.push(Xt),Oe.checkedNodesPositions.push({node:Xt,pos:Mt})}}),R.setUncontrolledState({checkedKeys:Qe},!1,{halfCheckedKeys:Ot})}Ie==null||Ie(Ze,Oe)}),(0,s.Z)((0,$.Z)(R),"onNodeLoad",function(D){var U,Z=D.key,te=R.state.keyEntities,J=(0,Et.Z)(te,Z);if(!(J!=null&&(U=J.children)!==null&&U!==void 0&&U.length)){var ce=new Promise(function(Ee,xe){R.setState(function(Be){var Ie=Be.loadedKeys,fe=Ie===void 0?[]:Ie,Ze=Be.loadingKeys,Oe=Ze===void 0?[]:Ze,De=R.props,rt=De.loadData,Ct=De.onLoad;if(!rt||fe.includes(Z)||Oe.includes(Z))return null;var Qe=rt(D);return Qe.then(function(){var Ot=R.state.loadedKeys,tn=(0,Ge.L0)(Ot,Z);Ct==null||Ct(tn,{event:"load",node:D}),R.setUncontrolledState({loadedKeys:tn}),R.setState(function(ht){return{loadingKeys:(0,Ge._5)(ht.loadingKeys,Z)}}),Ee()}).catch(function(Ot){if(R.setState(function(ht){return{loadingKeys:(0,Ge._5)(ht.loadingKeys,Z)}}),R.loadingRetryTimes[Z]=(R.loadingRetryTimes[Z]||0)+1,R.loadingRetryTimes[Z]>=st){var tn=R.state.loadedKeys;(0,o.ZP)(!1,"Retry for `loadData` many times but still failed. No more retry."),R.setUncontrolledState({loadedKeys:(0,Ge.L0)(tn,Z)}),Ee()}xe(Ot)}),{loadingKeys:(0,Ge.L0)(Oe,Z)}})});return ce.catch(function(){}),ce}}),(0,s.Z)((0,$.Z)(R),"onNodeMouseEnter",function(D,U){var Z=R.props.onMouseEnter;Z==null||Z({event:D,node:U})}),(0,s.Z)((0,$.Z)(R),"onNodeMouseLeave",function(D,U){var Z=R.props.onMouseLeave;Z==null||Z({event:D,node:U})}),(0,s.Z)((0,$.Z)(R),"onNodeContextMenu",function(D,U){var Z=R.props.onRightClick;Z&&(D.preventDefault(),Z({event:D,node:U}))}),(0,s.Z)((0,$.Z)(R),"onFocus",function(){var D=R.props.onFocus;R.setState({focused:!0});for(var U=arguments.length,Z=new Array(U),te=0;te<U;te++)Z[te]=arguments[te];D==null||D.apply(void 0,Z)}),(0,s.Z)((0,$.Z)(R),"onBlur",function(){var D=R.props.onBlur;R.setState({focused:!1}),R.onActiveChange(null);for(var U=arguments.length,Z=new Array(U),te=0;te<U;te++)Z[te]=arguments[te];D==null||D.apply(void 0,Z)}),(0,s.Z)((0,$.Z)(R),"getTreeNodeRequiredProps",function(){var D=R.state,U=D.expandedKeys,Z=D.selectedKeys,te=D.loadedKeys,J=D.loadingKeys,ce=D.checkedKeys,Ee=D.halfCheckedKeys,xe=D.dragOverNodeKey,Be=D.dropPosition,Ie=D.keyEntities;return{expandedKeys:U||[],selectedKeys:Z||[],loadedKeys:te||[],loadingKeys:J||[],checkedKeys:ce||[],halfCheckedKeys:Ee||[],dragOverNodeKey:xe,dropPosition:Be,keyEntities:Ie}}),(0,s.Z)((0,$.Z)(R),"setExpandedKeys",function(D){var U=R.state,Z=U.treeData,te=U.fieldNames,J=(0,Pe.oH)(Z,D,te);R.setUncontrolledState({expandedKeys:D,flattenNodes:J},!0)}),(0,s.Z)((0,$.Z)(R),"onNodeExpand",function(D,U){var Z=R.state.expandedKeys,te=R.state,J=te.listChanging,ce=te.fieldNames,Ee=R.props,xe=Ee.onExpand,Be=Ee.loadData,Ie=U.expanded,fe=U[ce.key];if(!J){var Ze=Z.includes(fe),Oe=!Ie;if((0,o.ZP)(Ie&&Ze||!Ie&&!Ze,"Expand state not sync with index check"),Z=Oe?(0,Ge.L0)(Z,fe):(0,Ge._5)(Z,fe),R.setExpandedKeys(Z),xe==null||xe(Z,{node:U,expanded:Oe,nativeEvent:D.nativeEvent}),Oe&&Be){var De=R.onNodeLoad(U);De&&De.then(function(){var rt=(0,Pe.oH)(R.state.treeData,Z,ce);R.setUncontrolledState({flattenNodes:rt})}).catch(function(){var rt=R.state.expandedKeys,Ct=(0,Ge._5)(rt,fe);R.setExpandedKeys(Ct)})}}}),(0,s.Z)((0,$.Z)(R),"onListChangeStart",function(){R.setUncontrolledState({listChanging:!0})}),(0,s.Z)((0,$.Z)(R),"onListChangeEnd",function(){setTimeout(function(){R.setUncontrolledState({listChanging:!1})})}),(0,s.Z)((0,$.Z)(R),"onActiveChange",function(D){var U=R.state.activeKey,Z=R.props,te=Z.onActiveChange,J=Z.itemScrollOffset,ce=J===void 0?0:J;U!==D&&(R.setState({activeKey:D}),D!==null&&R.scrollTo({key:D,offset:ce}),te==null||te(D))}),(0,s.Z)((0,$.Z)(R),"getActiveItem",function(){var D=R.state,U=D.activeKey,Z=D.flattenNodes;return U===null?null:Z.find(function(te){var J=te.key;return J===U})||null}),(0,s.Z)((0,$.Z)(R),"offsetActiveKey",function(D){var U=R.state,Z=U.flattenNodes,te=U.activeKey,J=Z.findIndex(function(xe){var Be=xe.key;return Be===te});J===-1&&D<0&&(J=Z.length),J=(J+D+Z.length)%Z.length;var ce=Z[J];if(ce){var Ee=ce.key;R.onActiveChange(Ee)}else R.onActiveChange(null)}),(0,s.Z)((0,$.Z)(R),"onKeyDown",function(D){var U=R.state,Z=U.activeKey,te=U.expandedKeys,J=U.checkedKeys,ce=U.fieldNames,Ee=R.props,xe=Ee.onKeyDown,Be=Ee.checkable,Ie=Ee.selectable;switch(D.which){case r.Z.UP:{R.offsetActiveKey(-1),D.preventDefault();break}case r.Z.DOWN:{R.offsetActiveKey(1),D.preventDefault();break}}var fe=R.getActiveItem();if(fe&&fe.data){var Ze=R.getTreeNodeRequiredProps(),Oe=fe.data.isLeaf===!1||!!(fe.data[ce.children]||[]).length,De=(0,Pe.F)((0,j.Z)((0,j.Z)({},(0,Pe.H8)(Z,Ze)),{},{data:fe.data,active:!0}));switch(D.which){case r.Z.LEFT:{Oe&&te.includes(Z)?R.onNodeExpand({},De):fe.parent&&R.onActiveChange(fe.parent.key),D.preventDefault();break}case r.Z.RIGHT:{Oe&&!te.includes(Z)?R.onNodeExpand({},De):fe.children&&fe.children.length&&R.onActiveChange(fe.children[0].key),D.preventDefault();break}case r.Z.ENTER:case r.Z.SPACE:{Be&&!De.disabled&&De.checkable!==!1&&!De.disableCheckbox?R.onNodeCheck({},De,!J.includes(Z)):!Be&&Ie&&!De.disabled&&De.selectable!==!1&&R.onNodeSelect({},De);break}}}xe==null||xe(D)}),(0,s.Z)((0,$.Z)(R),"setUncontrolledState",function(D){var U=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Z=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;if(!R.destroyed){var te=!1,J=!0,ce={};Object.keys(D).forEach(function(Ee){if(R.props.hasOwnProperty(Ee)){J=!1;return}te=!0,ce[Ee]=D[Ee]}),te&&(!U||J)&&R.setState((0,j.Z)((0,j.Z)({},ce),Z))}}),(0,s.Z)((0,$.Z)(R),"scrollTo",function(D){R.listRef.current.scrollTo(D)}),R}return(0,h.Z)(ie,[{key:"componentDidMount",value:function(){this.destroyed=!1,this.onUpdated()}},{key:"componentDidUpdate",value:function(){this.onUpdated()}},{key:"onUpdated",value:function(){var g=this.props,P=g.activeKey,z=g.itemScrollOffset,D=z===void 0?0:z;P!==void 0&&P!==this.state.activeKey&&(this.setState({activeKey:P}),P!==null&&this.scrollTo({key:P,offset:D}))}},{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 g=this.state,P=g.focused,z=g.flattenNodes,D=g.keyEntities,U=g.draggingNodeKey,Z=g.activeKey,te=g.dropLevelOffset,J=g.dropContainerKey,ce=g.dropTargetKey,Ee=g.dropPosition,xe=g.dragOverNodeKey,Be=g.indent,Ie=this.props,fe=Ie.prefixCls,Ze=Ie.className,Oe=Ie.style,De=Ie.showLine,rt=Ie.focusable,Ct=Ie.tabIndex,Qe=Ct===void 0?0:Ct,Ot=Ie.selectable,tn=Ie.showIcon,ht=Ie.icon,at=Ie.switcherIcon,bt=Ie.draggable,Xt=Ie.checkable,Mt=Ie.checkStrictly,Yt=Ie.disabled,rn=Ie.motion,Jt=Ie.loadData,Ve=Ie.filterTreeNode,_t=Ie.height,Vt=Ie.itemHeight,gn=Ie.scrollWidth,Zt=Ie.virtual,An=Ie.titleRender,Vn=Ie.dropIndicatorRender,wn=Ie.onContextMenu,zt=Ie.onScroll,Nn=Ie.direction,Cn=Ie.rootClassName,On=Ie.rootStyle,_n=(0,i.Z)(this.props,{aria:!0,data:!0}),Sn;bt&&((0,A.Z)(bt)==="object"?Sn=bt:typeof bt=="function"?Sn={nodeDraggable:bt}:Sn={});var Mn={prefixCls:fe,selectable:Ot,showIcon:tn,icon:ht,switcherIcon:at,draggable:Sn,draggingNodeKey:U,checkable:Xt,checkStrictly:Mt,disabled:Yt,keyEntities:D,dropLevelOffset:te,dropContainerKey:J,dropTargetKey:ce,dropPosition:Ee,dragOverNodeKey:xe,indent:Be,direction:Nn,dropIndicatorRender:Vn,loadData:Jt,filterTreeNode:Ve,titleRender:An,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};return v.createElement(b.k.Provider,{value:Mn},v.createElement("div",{className:t()(fe,Ze,Cn,(0,s.Z)((0,s.Z)((0,s.Z)({},"".concat(fe,"-show-line"),De),"".concat(fe,"-focused"),P),"".concat(fe,"-active-focused"),Z!==null)),style:On},v.createElement(be,(0,T.Z)({ref:this.listRef,prefixCls:fe,style:Oe,data:z,disabled:Yt,selectable:Ot,checkable:!!Xt,motion:rn,dragging:U!==null,height:_t,itemHeight:Vt,virtual:Zt,focusable:rt,focused:P,tabIndex:Qe,activeItem:this.getActiveItem(),onFocus:this.onFocus,onBlur:this.onBlur,onKeyDown:this.onKeyDown,onActiveChange:this.onActiveChange,onListChangeStart:this.onListChangeStart,onListChangeEnd:this.onListChangeEnd,onContextMenu:wn,onScroll:zt,scrollWidth:gn},this.getTreeNodeRequiredProps(),_n))))}}],[{key:"getDerivedStateFromProps",value:function(g,P){var z=P.prevProps,D={prevProps:g};function U(Qe){return!z&&g.hasOwnProperty(Qe)||z&&z[Qe]!==g[Qe]}var Z,te=P.fieldNames;if(U("fieldNames")&&(te=(0,Pe.w$)(g.fieldNames),D.fieldNames=te),U("treeData")?Z=g.treeData:U("children")&&((0,o.ZP)(!1,"`children` of Tree is deprecated. Please use `treeData` instead."),Z=(0,Pe.zn)(g.children)),Z){D.treeData=Z;var J=(0,Pe.I8)(Z,{fieldNames:te});D.keyEntities=(0,j.Z)((0,s.Z)({},d,ae),J.keyEntities)}var ce=D.keyEntities||P.keyEntities;if(U("expandedKeys")||z&&U("autoExpandParent"))D.expandedKeys=g.autoExpandParent||!z&&g.defaultExpandParent?(0,Ge.r7)(g.expandedKeys,ce):g.expandedKeys;else if(!z&&g.defaultExpandAll){var Ee=(0,j.Z)({},ce);delete Ee[d];var xe=[];Object.keys(Ee).forEach(function(Qe){var Ot=Ee[Qe];Ot.children&&Ot.children.length&&xe.push(Ot.key)}),D.expandedKeys=xe}else!z&&g.defaultExpandedKeys&&(D.expandedKeys=g.autoExpandParent||g.defaultExpandParent?(0,Ge.r7)(g.defaultExpandedKeys,ce):g.defaultExpandedKeys);if(D.expandedKeys||delete D.expandedKeys,Z||D.expandedKeys){var Be=(0,Pe.oH)(Z||P.treeData,D.expandedKeys||P.expandedKeys,te);D.flattenNodes=Be}if(g.selectable&&(U("selectedKeys")?D.selectedKeys=(0,Ge.BT)(g.selectedKeys,g):!z&&g.defaultSelectedKeys&&(D.selectedKeys=(0,Ge.BT)(g.defaultSelectedKeys,g))),g.checkable){var Ie;if(U("checkedKeys")?Ie=(0,Ge.E6)(g.checkedKeys)||{}:!z&&g.defaultCheckedKeys?Ie=(0,Ge.E6)(g.defaultCheckedKeys)||{}:Z&&(Ie=(0,Ge.E6)(g.checkedKeys)||{checkedKeys:P.checkedKeys,halfCheckedKeys:P.halfCheckedKeys}),Ie){var fe=Ie,Ze=fe.checkedKeys,Oe=Ze===void 0?[]:Ze,De=fe.halfCheckedKeys,rt=De===void 0?[]:De;if(!g.checkStrictly){var Ct=(0,ut.S)(Oe,!0,ce);Oe=Ct.checkedKeys,rt=Ct.halfCheckedKeys}D.checkedKeys=Oe,D.halfCheckedKeys=rt}}return U("loadedKeys")&&(D.loadedKeys=g.loadedKeys),D}}]),ie}(v.Component);(0,s.Z)(we,"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:p,allowDrop:function(){return!0},expandAction:!1}),(0,s.Z)(we,"TreeNode",K.Z);var E=we,B=E},82661:function(It,Fe,l){"use strict";l.d(Fe,{BT:function(){return v},E6:function(){return p},L0:function(){return s},OM:function(){return o},_5:function(){return e},r7:function(){return m},wA:function(){return t},yx:function(){return c}});var T=l(62730),A=l(28788),j=l(48736),X=l(59301),V=l(639),h=l(65065),$=l(34061),G=null;function e(f,u){if(!f)return[];var k=f.slice(),I=k.indexOf(u);return I>=0&&k.splice(I,1),k}function s(f,u){var k=(f||[]).slice();return k.indexOf(u)===-1&&k.push(u),k}function c(f){return f.split("-")}function t(f,u){var k=[],I=(0,h.Z)(u,f);function F(){var K=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];K.forEach(function(Y){var W=Y.key,Pe=Y.children;k.push(W),F(Pe)})}return F(I.children),k}function r(f){if(f.parent){var u=c(f.pos);return Number(u[u.length-1])===f.parent.children.length-1}return!1}function i(f){var u=c(f.pos);return Number(u[u.length-1])===0}function o(f,u,k,I,F,K,Y,W,Pe,w){var _,x=f.clientX,N=f.clientY,C=f.target.getBoundingClientRect(),y=C.top,n=C.height,a=(w==="rtl"?-1:1)*(((F==null?void 0:F.x)||0)-x),d=(a-12)/I,M=Pe.filter(function(B){var O;return(O=W[B])===null||O===void 0||(O=O.children)===null||O===void 0?void 0:O.length}),ae=(0,h.Z)(W,k.eventKey);if(N<y+n/2){var de=Y.findIndex(function(B){return B.key===ae.key}),ye=de<=0?0:de-1,Ae=Y[ye].key;ae=(0,h.Z)(W,Ae)}var He=ae.key,mt=ae,be=ae.key,Ge=0,ut=0;if(!M.includes(He))for(var Et=0;Et<d&&r(ae);Et+=1)ae=ae.parent,ut+=1;var st=u.data,we=ae.node,E=!0;return i(ae)&&ae.level===0&&N<y+n/2&&K({dragNode:st,dropNode:we,dropPosition:-1})&&ae.key===k.eventKey?Ge=-1:(mt.children||[]).length&&M.includes(be)?K({dragNode:st,dropNode:we,dropPosition:0})?Ge=0:E=!1:ut===0?d>-1.5?K({dragNode:st,dropNode:we,dropPosition:1})?Ge=1:E=!1:K({dragNode:st,dropNode:we,dropPosition:0})?Ge=0:K({dragNode:st,dropNode:we,dropPosition:1})?Ge=1:E=!1:K({dragNode:st,dropNode:we,dropPosition:1})?Ge=1:E=!1,{dropPosition:Ge,dropLevelOffset:ut,dropTargetKey:ae.key,dropTargetPos:ae.pos,dragOverNodeKey:be,dropContainerKey:Ge===0?null:((_=ae.parent)===null||_===void 0?void 0:_.key)||null,dropAllowed:E}}function v(f,u){if(f){var k=u.multiple;return k?f.slice():f.length?[f[0]]:f}}var b=function(u){return u};function S(f,u){if(!f)return[];var k=u||{},I=k.processProps,F=I===void 0?b:I,K=Array.isArray(f)?f:[f];return K.map(function(Y){var W=Y.children,Pe=_objectWithoutProperties(Y,G),w=S(W,u);return React.createElement(TreeNode,_extends({key:Pe.key},F(Pe)),w)})}function p(f){if(!f)return null;var u;if(Array.isArray(f))u={checkedKeys:f,halfCheckedKeys:void 0};else if((0,A.Z)(f)==="object")u={checkedKeys:f.checked||void 0,halfCheckedKeys:f.halfChecked||void 0};else return(0,j.ZP)(!1,"`checkedKeys` is not an array or an object"),null;return u}function m(f,u){var k=new Set;function I(F){if(!k.has(F)){var K=(0,h.Z)(u,F);if(K){k.add(F);var Y=K.parent,W=K.node;W.disabled||Y&&I(Y.key)}}}return(f||[]).forEach(function(F){I(F)}),(0,T.Z)(k)}},34643:function(It,Fe,l){"use strict";l.d(Fe,{S:function(){return $}});var T=l(48736),A=l(65065);function j(G,e){var s=new Set;return G.forEach(function(c){e.has(c)||s.add(c)}),s}function X(G){var e=G||{},s=e.disabled,c=e.disableCheckbox,t=e.checkable;return!!(s||c)||t===!1}function V(G,e,s,c){for(var t=new Set(G),r=new Set,i=0;i<=s;i+=1){var o=e.get(i)||new Set;o.forEach(function(p){var m=p.key,f=p.node,u=p.children,k=u===void 0?[]:u;t.has(m)&&!c(f)&&k.filter(function(I){return!c(I.node)}).forEach(function(I){t.add(I.key)})})}for(var v=new Set,b=s;b>=0;b-=1){var S=e.get(b)||new Set;S.forEach(function(p){var m=p.parent,f=p.node;if(!(c(f)||!p.parent||v.has(p.parent.key))){if(c(p.parent.node)){v.add(m.key);return}var u=!0,k=!1;(m.children||[]).filter(function(I){return!c(I.node)}).forEach(function(I){var F=I.key,K=t.has(F);u&&!K&&(u=!1),!k&&(K||r.has(F))&&(k=!0)}),u&&t.add(m.key),k&&r.add(m.key),v.add(m.key)}})}return{checkedKeys:Array.from(t),halfCheckedKeys:Array.from(j(r,t))}}function h(G,e,s,c,t){for(var r=new Set(G),i=new Set(e),o=0;o<=c;o+=1){var v=s.get(o)||new Set;v.forEach(function(m){var f=m.key,u=m.node,k=m.children,I=k===void 0?[]:k;!r.has(f)&&!i.has(f)&&!t(u)&&I.filter(function(F){return!t(F.node)}).forEach(function(F){r.delete(F.key)})})}i=new Set;for(var b=new Set,S=c;S>=0;S-=1){var p=s.get(S)||new Set;p.forEach(function(m){var f=m.parent,u=m.node;if(!(t(u)||!m.parent||b.has(m.parent.key))){if(t(m.parent.node)){b.add(f.key);return}var k=!0,I=!1;(f.children||[]).filter(function(F){return!t(F.node)}).forEach(function(F){var K=F.key,Y=r.has(K);k&&!Y&&(k=!1),!I&&(Y||i.has(K))&&(I=!0)}),k||r.delete(f.key),I&&i.add(f.key),b.add(f.key)}})}return{checkedKeys:Array.from(r),halfCheckedKeys:Array.from(j(i,r))}}function $(G,e,s,c){var t=[],r;c?r=c:r=X;var i=new Set(G.filter(function(S){var p=!!(0,A.Z)(s,S);return p||t.push(S),p})),o=new Map,v=0;Object.keys(s).forEach(function(S){var p=s[S],m=p.level,f=o.get(m);f||(f=new Set,o.set(m,f)),f.add(p),v=Math.max(v,m)}),(0,T.ZP)(!t.length,"Tree missing follow keys: ".concat(t.slice(0,100).map(function(S){return"'".concat(S,"'")}).join(", ")));var b;return e===!0?b=V(i,o,v,r):b=h(i,e.halfCheckedKeys,o,v,r),b}},65065:function(It,Fe,l){"use strict";l.d(Fe,{Z:function(){return T}});function T(A,j){return A[j]}},34061:function(It,Fe,l){"use strict";l.d(Fe,{F:function(){return m},H8:function(){return p},I8:function(){return S},km:function(){return t},oH:function(){return v},w$:function(){return r},zn:function(){return o}});var T=l(28788),A=l(62730),j=l(89490),X=l(39224),V=l(11592),h=l(2738),$=l(48736),G=l(65065),e=["children"];function s(f,u){return"".concat(f,"-").concat(u)}function c(f){return f&&f.type&&f.type.isTreeNode}function t(f,u){return f!=null?f:u}function r(f){var u=f||{},k=u.title,I=u._title,F=u.key,K=u.children,Y=k||"title";return{title:Y,_title:I||[Y],key:F||"key",children:K||"children"}}function i(f,u){var k=new Map;function I(F){var K=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";(F||[]).forEach(function(Y){var W=Y[u.key],Pe=Y[u.children];warning(W!=null,"Tree node must have a certain key: [".concat(K).concat(W,"]"));var w=String(W);warning(!k.has(w)||W===null||W===void 0,"Same 'key' exist in the Tree: ".concat(w)),k.set(w,!0),I(Pe,"".concat(K).concat(w," > "))})}I(f)}function o(f){function u(k){var I=(0,V.Z)(k);return I.map(function(F){if(!c(F))return(0,$.ZP)(!F,"Tree/TreeNode can only accept TreeNode as children."),null;var K=F.key,Y=F.props,W=Y.children,Pe=(0,X.Z)(Y,e),w=(0,j.Z)({key:K},Pe),_=u(W);return _.length&&(w.children=_),w}).filter(function(F){return F})}return u(f)}function v(f,u,k){var I=r(k),F=I._title,K=I.key,Y=I.children,W=new Set(u===!0?[]:u),Pe=[];function w(_){var x=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return _.map(function(N,C){for(var y=s(x?x.pos:"0",C),n=t(N[K],y),a,d=0;d<F.length;d+=1){var M=F[d];if(N[M]!==void 0){a=N[M];break}}var ae=Object.assign((0,h.Z)(N,[].concat((0,A.Z)(F),[K,Y])),{title:a,key:n,parent:x,pos:y,children:null,data:N,isStart:[].concat((0,A.Z)(x?x.isStart:[]),[C===0]),isEnd:[].concat((0,A.Z)(x?x.isEnd:[]),[C===_.length-1])});return Pe.push(ae),u===!0||W.has(n)?ae.children=w(N[Y]||[],ae):ae.children=[],ae})}return w(f),Pe}function b(f,u,k){var I={};(0,T.Z)(k)==="object"?I=k:I={externalGetKey:k},I=I||{};var F=I,K=F.childrenPropName,Y=F.externalGetKey,W=F.fieldNames,Pe=r(W),w=Pe.key,_=Pe.children,x=K||_,N;Y?typeof Y=="string"?N=function(n){return n[Y]}:typeof Y=="function"&&(N=function(n){return Y(n)}):N=function(n,a){return t(n[w],a)};function C(y,n,a,d){var M=y?y[x]:f,ae=y?s(a.pos,n):"0",de=y?[].concat((0,A.Z)(d),[y]):[];if(y){var ye=N(y,ae),Ae={node:y,index:n,pos:ae,key:ye,parentPos:a.node?a.pos:null,level:a.level+1,nodes:de};u(Ae)}M&&M.forEach(function(He,mt){C(He,mt,{node:y,pos:ae,level:a?a.level+1:-1},de)})}C(null)}function S(f){var u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},k=u.initWrapper,I=u.processEntity,F=u.onProcessFinished,K=u.externalGetKey,Y=u.childrenPropName,W=u.fieldNames,Pe=arguments.length>2?arguments[2]:void 0,w=K||Pe,_={},x={},N={posEntities:_,keyEntities:x};return k&&(N=k(N)||N),b(f,function(C){var y=C.node,n=C.index,a=C.pos,d=C.key,M=C.parentPos,ae=C.level,de=C.nodes,ye={node:y,nodes:de,index:n,key:d,pos:a,level:ae},Ae=t(d,a);_[a]=ye,x[Ae]=ye,ye.parent=_[M],ye.parent&&(ye.parent.children=ye.parent.children||[],ye.parent.children.push(ye)),I&&I(ye,N)},{externalGetKey:w,childrenPropName:Y,fieldNames:W}),F&&F(N),N}function p(f,u){var k=u.expandedKeys,I=u.selectedKeys,F=u.loadedKeys,K=u.loadingKeys,Y=u.checkedKeys,W=u.halfCheckedKeys,Pe=u.dragOverNodeKey,w=u.dropPosition,_=u.keyEntities,x=(0,G.Z)(_,f),N={eventKey:f,expanded:k.indexOf(f)!==-1,selected:I.indexOf(f)!==-1,loaded:F.indexOf(f)!==-1,loading:K.indexOf(f)!==-1,checked:Y.indexOf(f)!==-1,halfChecked:W.indexOf(f)!==-1,pos:String(x?x.pos:""),dragOver:Pe===f&&w===0,dragOverGapTop:Pe===f&&w===-1,dragOverGapBottom:Pe===f&&w===1};return N}function m(f){var u=f.data,k=f.expanded,I=f.selected,F=f.checked,K=f.loaded,Y=f.loading,W=f.halfChecked,Pe=f.dragOver,w=f.dragOverGapTop,_=f.dragOverGapBottom,x=f.pos,N=f.active,C=f.eventKey,y=(0,j.Z)((0,j.Z)({},u),{},{expanded:k,selected:I,checked:F,loaded:K,loading:Y,halfChecked:W,dragOver:Pe,dragOverGapTop:w,dragOverGapBottom:_,pos:x,active:N,key:C});return"props"in y||Object.defineProperty(y,"props",{get:function(){return(0,$.ZP)(!1,"Second param return from event is node data instead of TreeNode instance. Please read value directly instead of reading from `props`."),f}}),y}},8224:function(It,Fe,l){"use strict";l.d(Fe,{Z:function(){return A}});var T=l(4676);function A(j,X,V,h){var $=T.unstable_batchedUpdates?function(e){T.unstable_batchedUpdates(V,e)}:V;return j!=null&&j.addEventListener&&j.addEventListener(X,$,h),{remove:function(){j!=null&&j.removeEventListener&&j.removeEventListener(X,$,h)}}}},24514:function(It,Fe,l){"use strict";l.d(Fe,{G:function(){return X}});var T=l(47273),A=function(h){if((0,T.Z)()&&window.document.documentElement){var $=Array.isArray(h)?h:[h],G=window.document.documentElement;return $.some(function(e){return e in G.style})}return!1},j=function(h,$){if(!A(h))return!1;var G=document.createElement("div"),e=G.style[h];return G.style[h]=$,G.style[h]!==e};function X(V,h){return!Array.isArray(V)&&h!==void 0?j(V,h):A(V)}},49658:function(It,Fe){"use strict";Fe.Z=function(){if(typeof navigator=="undefined"||typeof window=="undefined")return!1;var l=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(l)||/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(l==null?void 0:l.substr(0,4))}},65283:function(It,Fe,l){"use strict";l.d(Fe,{Z:function(){return st}});var T=l(71409),A=l(28788),j=l(89490),X=l(87075),V=l(11036),h=l(39224),$=l(92310),G=l.n($),e=l(29301),s=l(70425),c=l(34280),t=l(59301),r=l(4676),i=t.forwardRef(function(we,E){var B=we.height,O=we.offsetY,q=we.offsetX,ie=we.children,R=we.prefixCls,g=we.onInnerResize,P=we.innerProps,z=we.rtl,D=we.extra,U={},Z={display:"flex",flexDirection:"column"};return O!==void 0&&(U={height:B,position:"relative",overflow:"hidden"},Z=(0,j.Z)((0,j.Z)({},Z),{},(0,X.Z)((0,X.Z)((0,X.Z)((0,X.Z)((0,X.Z)({transform:"translateY(".concat(O,"px)")},z?"marginRight":"marginLeft",-q),"position","absolute"),"left",0),"right",0),"top",0))),t.createElement("div",{style:U},t.createElement(e.Z,{onResize:function(J){var ce=J.offsetHeight;ce&&g&&g()}},t.createElement("div",(0,T.Z)({style:Z,className:G()((0,X.Z)({},"".concat(R,"-holder-inner"),R)),ref:E},P),ie,D)))});i.displayName="Filler";var o=i;function v(we){var E=we.children,B=we.setRef,O=t.useCallback(function(q){B(q)},[]);return t.cloneElement(E,{ref:O})}function b(we,E,B,O,q,ie,R,g){var P=g.getKey;return we.slice(E,B+1).map(function(z,D){var U=E+D,Z=R(z,U,{style:{width:O},offsetX:q}),te=P(z);return t.createElement(v,{key:te,setRef:function(ce){return ie(z,ce)}},Z)})}function S(we,E,B,O){var q=B-we,ie=E-B,R=Math.min(q,ie)*2;if(O<=R){var g=Math.floor(O/2);return O%2?B+g+1:B-g}return q>ie?B-(O-ie):B+(O-q)}function p(we,E,B){var O=we.length,q=E.length,ie,R;if(O===0&&q===0)return null;O<q?(ie=we,R=E):(ie=E,R=we);var g={__EMPTY_ITEM__:!0};function P(J){return J!==void 0?B(J):g}for(var z=null,D=Math.abs(O-q)!==1,U=0;U<R.length;U+=1){var Z=P(ie[U]),te=P(R[U]);if(Z!==te){z=U,D=D||Z!==P(R[U+1]);break}}return z===null?null:{index:z,multiple:D}}function m(we,E,B){var O=t.useState(we),q=(0,V.Z)(O,2),ie=q[0],R=q[1],g=t.useState(null),P=(0,V.Z)(g,2),z=P[0],D=P[1];return t.useEffect(function(){var U=p(ie||[],we||[],E);(U==null?void 0:U.index)!==void 0&&(B==null||B(U.index),D(we[U.index])),R(we)},[we]),[z]}var f=l(16089),u=(typeof navigator=="undefined"?"undefined":(0,A.Z)(navigator))==="object"&&/Firefox/i.test(navigator.userAgent),k=u,I=function(we,E,B,O){var q=(0,t.useRef)(!1),ie=(0,t.useRef)(null);function R(){clearTimeout(ie.current),q.current=!0,ie.current=setTimeout(function(){q.current=!1},50)}var g=(0,t.useRef)({top:we,bottom:E,left:B,right:O});return g.current.top=we,g.current.bottom=E,g.current.left=B,g.current.right=O,function(P,z){var D=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,U=P?z<0&&g.current.left||z>0&&g.current.right:z<0&&g.current.top||z>0&&g.current.bottom;return D&&U?(clearTimeout(ie.current),q.current=!1):(!U||q.current)&&R(),!q.current&&U}};function F(we,E,B,O,q,ie,R){var g=(0,t.useRef)(0),P=(0,t.useRef)(null),z=(0,t.useRef)(null),D=(0,t.useRef)(!1),U=I(E,B,O,q);function Z(Be,Ie){if(f.Z.cancel(P.current),!U(!1,Ie)){var fe=Be;if(!fe._virtualHandled)fe._virtualHandled=!0;else return;g.current+=Ie,z.current=Ie,k||fe.preventDefault(),P.current=(0,f.Z)(function(){var Ze=D.current?10:1;R(g.current*Ze,!1),g.current=0})}}function te(Be,Ie){R(Ie,!0),k||Be.preventDefault()}var J=(0,t.useRef)(null),ce=(0,t.useRef)(null);function Ee(Be){if(we){f.Z.cancel(ce.current),ce.current=(0,f.Z)(function(){J.current=null},2);var Ie=Be.deltaX,fe=Be.deltaY,Ze=Be.shiftKey,Oe=Ie,De=fe;(J.current==="sx"||!J.current&&Ze&&fe&&!Ie)&&(Oe=fe,De=0,J.current="sx");var rt=Math.abs(Oe),Ct=Math.abs(De);J.current===null&&(J.current=ie&&rt>Ct?"x":"y"),J.current==="y"?Z(Be,De):te(Be,Oe)}}function xe(Be){we&&(D.current=Be.detail===z.current)}return[Ee,xe]}function K(we,E,B,O){var q=t.useMemo(function(){return[new Map,[]]},[we,B.id,O]),ie=(0,V.Z)(q,2),R=ie[0],g=ie[1],P=function(D){var U=arguments.length>1&&arguments[1]!==void 0?arguments[1]:D,Z=R.get(D),te=R.get(U);if(Z===void 0||te===void 0)for(var J=we.length,ce=g.length;ce<J;ce+=1){var Ee,xe=we[ce],Be=E(xe);R.set(Be,ce);var Ie=(Ee=B.get(Be))!==null&&Ee!==void 0?Ee:O;if(g[ce]=(g[ce-1]||0)+Ie,Be===D&&(Z=ce),Be===U&&(te=ce),Z!==void 0&&te!==void 0)break}return{top:g[Z-1]||0,bottom:g[te]}};return P}var Y=l(16552),W=l(19210),Pe=function(){function we(){(0,Y.Z)(this,we),(0,X.Z)(this,"maps",void 0),(0,X.Z)(this,"id",0),(0,X.Z)(this,"diffRecords",new Map),this.maps=Object.create(null)}return(0,W.Z)(we,[{key:"set",value:function(B,O){this.diffRecords.set(B,this.maps[B]),this.maps[B]=O,this.id+=1}},{key:"get",value:function(B){return this.maps[B]}},{key:"resetRecord",value:function(){this.diffRecords.clear()}},{key:"getRecord",value:function(){return this.diffRecords}}]),we}(),w=Pe;function _(we){var E=parseFloat(we);return isNaN(E)?0:E}function x(we,E,B){var O=t.useState(0),q=(0,V.Z)(O,2),ie=q[0],R=q[1],g=(0,t.useRef)(new Map),P=(0,t.useRef)(new w),z=(0,t.useRef)(0);function D(){z.current+=1}function U(){var te=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;D();var J=function(){var xe=!1;g.current.forEach(function(Be,Ie){if(Be&&Be.offsetParent){var fe=Be.offsetHeight,Ze=getComputedStyle(Be),Oe=Ze.marginTop,De=Ze.marginBottom,rt=_(Oe),Ct=_(De),Qe=fe+rt+Ct;P.current.get(Ie)!==Qe&&(P.current.set(Ie,Qe),xe=!0)}}),xe&&R(function(Be){return Be+1})};if(te)J();else{z.current+=1;var ce=z.current;Promise.resolve().then(function(){ce===z.current&&J()})}}function Z(te,J){var ce=we(te),Ee=g.current.get(ce);J?(g.current.set(ce,J),U()):g.current.delete(ce),!Ee!=!J&&(J?E==null||E(te):B==null||B(te))}return(0,t.useEffect)(function(){return D},[]),[Z,U,P.current,ie]}var N=14/15;function C(we,E,B){var O=(0,t.useRef)(!1),q=(0,t.useRef)(0),ie=(0,t.useRef)(0),R=(0,t.useRef)(null),g=(0,t.useRef)(null),P,z=function(te){if(O.current){var J=Math.ceil(te.touches[0].pageX),ce=Math.ceil(te.touches[0].pageY),Ee=q.current-J,xe=ie.current-ce,Be=Math.abs(Ee)>Math.abs(xe);Be?q.current=J:ie.current=ce;var Ie=B(Be,Be?Ee:xe,!1,te);Ie&&te.preventDefault(),clearInterval(g.current),Ie&&(g.current=setInterval(function(){Be?Ee*=N:xe*=N;var fe=Math.floor(Be?Ee:xe);(!B(Be,fe,!0)||Math.abs(fe)<=.1)&&clearInterval(g.current)},16))}},D=function(){O.current=!1,P()},U=function(te){P(),te.touches.length===1&&!O.current&&(O.current=!0,q.current=Math.ceil(te.touches[0].pageX),ie.current=Math.ceil(te.touches[0].pageY),R.current=te.target,R.current.addEventListener("touchmove",z,{passive:!1}),R.current.addEventListener("touchend",D,{passive:!0}))};P=function(){R.current&&(R.current.removeEventListener("touchmove",z),R.current.removeEventListener("touchend",D))},(0,c.Z)(function(){return we&&E.current.addEventListener("touchstart",U,{passive:!0}),function(){var Z;(Z=E.current)===null||Z===void 0||Z.removeEventListener("touchstart",U),P(),clearInterval(g.current)}},[we])}function y(we){return Math.floor(Math.pow(we,.5))}function n(we,E){var B="touches"in we?we.touches[0]:we;return B[E?"pageX":"pageY"]-window[E?"scrollX":"scrollY"]}function a(we,E,B){t.useEffect(function(){var O=E.current;if(we&&O){var q=!1,ie,R,g=function(){f.Z.cancel(ie)},P=function Z(){g(),ie=(0,f.Z)(function(){B(R),Z()})},z=function(te){if(!(te.target.draggable||te.button!==0)){var J=te;J._virtualHandled||(J._virtualHandled=!0,q=!0)}},D=function(){q=!1,g()},U=function(te){if(q){var J=n(te,!1),ce=O.getBoundingClientRect(),Ee=ce.top,xe=ce.bottom;if(J<=Ee){var Be=Ee-J;R=-y(Be),P()}else if(J>=xe){var Ie=J-xe;R=y(Ie),P()}else g()}};return O.addEventListener("mousedown",z),O.ownerDocument.addEventListener("mouseup",D),O.ownerDocument.addEventListener("mousemove",U),function(){O.removeEventListener("mousedown",z),O.ownerDocument.removeEventListener("mouseup",D),O.ownerDocument.removeEventListener("mousemove",U),g()}}},[we])}var d=10;function M(we,E,B,O,q,ie,R,g){var P=t.useRef(),z=t.useState(null),D=(0,V.Z)(z,2),U=D[0],Z=D[1];return(0,c.Z)(function(){if(U&&U.times<d){if(!we.current){Z(function(rn){return(0,j.Z)({},rn)});return}ie();var te=U.targetAlign,J=U.originAlign,ce=U.index,Ee=U.offset,xe=we.current.clientHeight,Be=!1,Ie=te,fe=null;if(xe){for(var Ze=te||J,Oe=0,De=0,rt=0,Ct=Math.min(E.length-1,ce),Qe=0;Qe<=Ct;Qe+=1){var Ot=q(E[Qe]);De=Oe;var tn=B.get(Ot);rt=De+(tn===void 0?O:tn),Oe=rt}for(var ht=Ze==="top"?Ee:xe-Ee,at=Ct;at>=0;at-=1){var bt=q(E[at]),Xt=B.get(bt);if(Xt===void 0){Be=!0;break}if(ht-=Xt,ht<=0)break}switch(Ze){case"top":fe=De-Ee;break;case"bottom":fe=rt-xe+Ee;break;default:{var Mt=we.current.scrollTop,Yt=Mt+xe;De<Mt?Ie="top":rt>Yt&&(Ie="bottom")}}fe!==null&&R(fe),fe!==U.lastTop&&(Be=!0)}Be&&Z((0,j.Z)((0,j.Z)({},U),{},{times:U.times+1,targetAlign:Ie,lastTop:fe}))}},[U,we.current]),function(te){if(te==null){g();return}if(f.Z.cancel(P.current),typeof te=="number")R(te);else if(te&&(0,A.Z)(te)==="object"){var J,ce=te.align;"index"in te?J=te.index:J=E.findIndex(function(Be){return q(Be)===te.key});var Ee=te.offset,xe=Ee===void 0?0:Ee;Z({times:0,index:J,offset:xe,originAlign:ce})}}}var ae=t.forwardRef(function(we,E){var B=we.prefixCls,O=we.rtl,q=we.scrollOffset,ie=we.scrollRange,R=we.onStartMove,g=we.onStopMove,P=we.onScroll,z=we.horizontal,D=we.spinSize,U=we.containerSize,Z=we.style,te=we.thumbStyle,J=we.showScrollBar,ce=t.useState(!1),Ee=(0,V.Z)(ce,2),xe=Ee[0],Be=Ee[1],Ie=t.useState(null),fe=(0,V.Z)(Ie,2),Ze=fe[0],Oe=fe[1],De=t.useState(null),rt=(0,V.Z)(De,2),Ct=rt[0],Qe=rt[1],Ot=!O,tn=t.useRef(),ht=t.useRef(),at=t.useState(J),bt=(0,V.Z)(at,2),Xt=bt[0],Mt=bt[1],Yt=t.useRef(),rn=function(){J===!0||J===!1||(clearTimeout(Yt.current),Mt(!0),Yt.current=setTimeout(function(){Mt(!1)},3e3))},Jt=ie-U||0,Ve=U-D||0,_t=t.useMemo(function(){if(q===0||Jt===0)return 0;var Cn=q/Jt;return Cn*Ve},[q,Jt,Ve]),Vt=function(On){On.stopPropagation(),On.preventDefault()},gn=t.useRef({top:_t,dragging:xe,pageY:Ze,startTop:Ct});gn.current={top:_t,dragging:xe,pageY:Ze,startTop:Ct};var Zt=function(On){Be(!0),Oe(n(On,z)),Qe(gn.current.top),R(),On.stopPropagation(),On.preventDefault()};t.useEffect(function(){var Cn=function(Mn){Mn.preventDefault()},On=tn.current,_n=ht.current;return On.addEventListener("touchstart",Cn,{passive:!1}),_n.addEventListener("touchstart",Zt,{passive:!1}),function(){On.removeEventListener("touchstart",Cn),_n.removeEventListener("touchstart",Zt)}},[]);var An=t.useRef();An.current=Jt;var Vn=t.useRef();Vn.current=Ve,t.useEffect(function(){if(xe){var Cn,On=function(Mn){var fn=gn.current,dn=fn.dragging,Zn=fn.pageY,Fn=fn.startTop;f.Z.cancel(Cn);var ne=tn.current.getBoundingClientRect(),Q=U/(z?ne.width:ne.height);if(dn){var We=(n(Mn,z)-Zn)*Q,ze=Fn;!Ot&&z?ze-=We:ze+=We;var Le=An.current,ct=Vn.current,ge=ct?ze/ct:0,pe=Math.ceil(ge*Le);pe=Math.max(pe,0),pe=Math.min(pe,Le),Cn=(0,f.Z)(function(){P(pe,z)})}},_n=function(){Be(!1),g()};return window.addEventListener("mousemove",On,{passive:!0}),window.addEventListener("touchmove",On,{passive:!0}),window.addEventListener("mouseup",_n,{passive:!0}),window.addEventListener("touchend",_n,{passive:!0}),function(){window.removeEventListener("mousemove",On),window.removeEventListener("touchmove",On),window.removeEventListener("mouseup",_n),window.removeEventListener("touchend",_n),f.Z.cancel(Cn)}}},[xe]),t.useEffect(function(){return rn(),function(){clearTimeout(Yt.current)}},[q]),t.useImperativeHandle(E,function(){return{delayHidden:rn}});var wn="".concat(B,"-scrollbar"),zt={position:"absolute",visibility:Xt?null:"hidden"},Nn={position:"absolute",background:"rgba(0, 0, 0, 0.5)",borderRadius:99,cursor:"pointer",userSelect:"none"};return z?(zt.height=8,zt.left=0,zt.right=0,zt.bottom=0,Nn.height="100%",Nn.width=D,Ot?Nn.left=_t:Nn.right=_t):(zt.width=8,zt.top=0,zt.bottom=0,Ot?zt.right=0:zt.left=0,Nn.width="100%",Nn.height=D,Nn.top=_t),t.createElement("div",{ref:tn,className:G()(wn,(0,X.Z)((0,X.Z)((0,X.Z)({},"".concat(wn,"-horizontal"),z),"".concat(wn,"-vertical"),!z),"".concat(wn,"-visible"),Xt)),style:(0,j.Z)((0,j.Z)({},zt),Z),onMouseDown:Vt,onMouseMove:rn},t.createElement("div",{ref:ht,className:G()("".concat(wn,"-thumb"),(0,X.Z)({},"".concat(wn,"-thumb-moving"),xe)),style:(0,j.Z)((0,j.Z)({},Nn),te),onMouseDown:Zt}))}),de=ae,ye=20;function Ae(){var we=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,E=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,B=we/E*we;return isNaN(B)&&(B=0),B=Math.max(B,ye),Math.floor(B)}var He=["prefixCls","className","height","itemHeight","fullHeight","style","data","children","itemKey","virtual","direction","scrollWidth","component","onScroll","onVirtualScroll","onVisibleChange","innerProps","extraRender","styles","showScrollBar"],mt=[],be={overflowY:"auto",overflowAnchor:"none"};function Ge(we,E){var B=we.prefixCls,O=B===void 0?"rc-virtual-list":B,q=we.className,ie=we.height,R=we.itemHeight,g=we.fullHeight,P=g===void 0?!0:g,z=we.style,D=we.data,U=we.children,Z=we.itemKey,te=we.virtual,J=we.direction,ce=we.scrollWidth,Ee=we.component,xe=Ee===void 0?"div":Ee,Be=we.onScroll,Ie=we.onVirtualScroll,fe=we.onVisibleChange,Ze=we.innerProps,Oe=we.extraRender,De=we.styles,rt=we.showScrollBar,Ct=rt===void 0?"optional":rt,Qe=(0,h.Z)(we,He),Ot=t.useCallback(function(re){return typeof Z=="function"?Z(re):re==null?void 0:re[Z]},[Z]),tn=x(Ot,null,null),ht=(0,V.Z)(tn,4),at=ht[0],bt=ht[1],Xt=ht[2],Mt=ht[3],Yt=!!(te!==!1&&ie&&R),rn=t.useMemo(function(){return Object.values(Xt.maps).reduce(function(re,ue){return re+ue},0)},[Xt.id,Xt.maps]),Jt=Yt&&D&&(Math.max(R*D.length,rn)>ie||!!ce),Ve=J==="rtl",_t=G()(O,(0,X.Z)({},"".concat(O,"-rtl"),Ve),q),Vt=D||mt,gn=(0,t.useRef)(),Zt=(0,t.useRef)(),An=(0,t.useRef)(),Vn=(0,t.useState)(0),wn=(0,V.Z)(Vn,2),zt=wn[0],Nn=wn[1],Cn=(0,t.useState)(0),On=(0,V.Z)(Cn,2),_n=On[0],Sn=On[1],Mn=(0,t.useState)(!1),fn=(0,V.Z)(Mn,2),dn=fn[0],Zn=fn[1],Fn=function(){Zn(!0)},ne=function(){Zn(!1)},Q={getKey:Ot};function We(re){Nn(function(ue){var me;typeof re=="function"?me=re(ue):me=re;var Ce=Dt(me);return gn.current.scrollTop=Ce,Ce})}var ze=(0,t.useRef)({start:0,end:Vt.length}),Le=(0,t.useRef)(),ct=m(Vt,Ot),ge=(0,V.Z)(ct,1),pe=ge[0];Le.current=pe;var Ke=t.useMemo(function(){if(!Yt)return{scrollHeight:void 0,start:0,end:Vt.length-1,offset:void 0};if(!Jt){var re;return{scrollHeight:((re=Zt.current)===null||re===void 0?void 0:re.offsetHeight)||0,start:0,end:Vt.length-1,offset:void 0}}for(var ue=0,me,Ce,Re,Je=Vt.length,pt=0;pt<Je;pt+=1){var tt=Vt[pt],Pt=Ot(tt),At=Xt.get(Pt),kt=ue+(At===void 0?R:At);kt>=zt&&me===void 0&&(me=pt,Ce=ue),kt>zt+ie&&Re===void 0&&(Re=pt),ue=kt}return me===void 0&&(me=0,Ce=0,Re=Math.ceil(ie/R)),Re===void 0&&(Re=Vt.length-1),Re=Math.min(Re+1,Vt.length-1),{scrollHeight:ue,start:me,end:Re,offset:Ce}},[Jt,Yt,zt,Vt,Mt,ie]),Xe=Ke.scrollHeight,lt=Ke.start,wt=Ke.end,et=Ke.offset;ze.current.start=lt,ze.current.end=wt,t.useLayoutEffect(function(){var re=Xt.getRecord();if(re.size===1){var ue=Array.from(re.keys())[0],me=re.get(ue),Ce=Vt[lt];if(Ce&&me===void 0){var Re=Ot(Ce);if(Re===ue){var Je=Xt.get(ue),pt=Je-R;We(function(tt){return tt+pt})}}}Xt.resetRecord()},[Xe]);var $e=t.useState({width:0,height:ie}),H=(0,V.Z)($e,2),se=H[0],ve=H[1],he=function(ue){ve({width:ue.offsetWidth,height:ue.offsetHeight})},Me=(0,t.useRef)(),Ue=(0,t.useRef)(),Te=t.useMemo(function(){return Ae(se.width,ce)},[se.width,ce]),Ye=t.useMemo(function(){return Ae(se.height,Xe)},[se.height,Xe]),qe=Xe-ie,ot=(0,t.useRef)(qe);ot.current=qe;function Dt(re){var ue=re;return Number.isNaN(ot.current)||(ue=Math.min(ue,ot.current)),ue=Math.max(ue,0),ue}var it=zt<=0,Lt=zt>=qe,Ft=_n<=0,Bt=_n>=ce,yt=I(it,Lt,Ft,Bt),xt=function(){return{x:Ve?-_n:_n,y:zt}},Ut=(0,t.useRef)(xt()),nt=(0,s.zX)(function(re){if(Ie){var ue=(0,j.Z)((0,j.Z)({},xt()),re);(Ut.current.x!==ue.x||Ut.current.y!==ue.y)&&(Ie(ue),Ut.current=ue)}});function ft(re,ue){var me=re;ue?((0,r.flushSync)(function(){Sn(me)}),nt()):We(me)}function vt(re){var ue=re.currentTarget.scrollTop;ue!==zt&&We(ue),Be==null||Be(re),nt()}var Ht=function(ue){var me=ue,Ce=ce?ce-se.width:0;return me=Math.max(me,0),me=Math.min(me,Ce),me},Tt=(0,s.zX)(function(re,ue){ue?((0,r.flushSync)(function(){Sn(function(me){var Ce=me+(Ve?-re:re);return Ht(Ce)})}),nt()):We(function(me){var Ce=me+re;return Ce})}),jt=F(Yt,it,Lt,Ft,Bt,!!ce,Tt),Ln=(0,V.Z)(jt,2),L=Ln[0],oe=Ln[1];C(Yt,gn,function(re,ue,me,Ce){var Re=Ce;return yt(re,ue,me)?!1:!Re||!Re._virtualHandled?(Re&&(Re._virtualHandled=!0),L({preventDefault:function(){},deltaX:re?ue:0,deltaY:re?0:ue}),!0):!1}),a(Jt,gn,function(re){We(function(ue){return ue+re})}),(0,c.Z)(function(){function re(me){var Ce=it&&me.detail<0,Re=Lt&&me.detail>0;Yt&&!Ce&&!Re&&me.preventDefault()}var ue=gn.current;return ue.addEventListener("wheel",L,{passive:!1}),ue.addEventListener("DOMMouseScroll",oe,{passive:!0}),ue.addEventListener("MozMousePixelScroll",re,{passive:!1}),function(){ue.removeEventListener("wheel",L),ue.removeEventListener("DOMMouseScroll",oe),ue.removeEventListener("MozMousePixelScroll",re)}},[Yt,it,Lt]),(0,c.Z)(function(){if(ce){var re=Ht(_n);Sn(re),nt({x:re})}},[se.width,ce]);var ee=function(){var ue,me;(ue=Me.current)===null||ue===void 0||ue.delayHidden(),(me=Ue.current)===null||me===void 0||me.delayHidden()},le=M(gn,Vt,Xt,R,Ot,function(){return bt(!0)},We,ee);t.useImperativeHandle(E,function(){return{nativeElement:An.current,getScrollInfo:xt,scrollTo:function(ue){function me(Ce){return Ce&&(0,A.Z)(Ce)==="object"&&("left"in Ce||"top"in Ce)}me(ue)?(ue.left!==void 0&&Sn(Ht(ue.left)),le(ue.top)):le(ue)}}}),(0,c.Z)(function(){if(fe){var re=Vt.slice(lt,wt+1);fe(re,Vt)}},[lt,wt,Vt]);var _e=K(Vt,Ot,Xt,R),Se=Oe==null?void 0:Oe({start:lt,end:wt,virtual:Jt,offsetX:_n,offsetY:et,rtl:Ve,getSize:_e}),je=b(Vt,lt,wt,ce,_n,at,U,Q),ke=null;ie&&(ke=(0,j.Z)((0,X.Z)({},P?"height":"maxHeight",ie),be),Yt&&(ke.overflowY="hidden",ce&&(ke.overflowX="hidden"),dn&&(ke.pointerEvents="none")));var Ne={};return Ve&&(Ne.dir="rtl"),t.createElement("div",(0,T.Z)({ref:An,style:(0,j.Z)((0,j.Z)({},z),{},{position:"relative"}),className:_t},Ne,Qe),t.createElement(e.Z,{onResize:he},t.createElement(xe,{className:"".concat(O,"-holder"),style:ke,ref:gn,onScroll:vt,onMouseEnter:ee},t.createElement(o,{prefixCls:O,height:Xe,offsetX:_n,offsetY:et,scrollWidth:ce,onInnerResize:bt,ref:Zt,innerProps:Ze,rtl:Ve,extra:Se},je))),Jt&&Xe>ie&&t.createElement(de,{ref:Me,prefixCls:O,scrollOffset:zt,scrollRange:Xe,rtl:Ve,onScroll:ft,onStartMove:Fn,onStopMove:ne,spinSize:Ye,containerSize:se.height,style:De==null?void 0:De.verticalScrollBar,thumbStyle:De==null?void 0:De.verticalScrollBarThumb,showScrollBar:Ct}),Jt&&ce>se.width&&t.createElement(de,{ref:Ue,prefixCls:O,scrollOffset:_n,scrollRange:ce,rtl:Ve,onScroll:ft,onStartMove:Fn,onStopMove:ne,spinSize:Te,containerSize:se.width,horizontal:!0,style:De==null?void 0:De.horizontalScrollBar,thumbStyle:De==null?void 0:De.horizontalScrollBarThumb,showScrollBar:Ct}))}var ut=t.forwardRef(Ge);ut.displayName="List";var Et=ut,st=Et},83145:function(It,Fe,l){"use strict";Object.defineProperty(Fe,"__esModule",{value:!0}),Fe.CopyToClipboard=void 0;var T=j(l(59301)),A=j(l(25769));function j(p){return p&&p.__esModule?p:{default:p}}function X(p){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?X=function(f){return typeof f}:X=function(f){return f&&typeof Symbol=="function"&&f.constructor===Symbol&&f!==Symbol.prototype?"symbol":typeof f},X(p)}function V(p,m){var f=Object.keys(p);if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(p);m&&(u=u.filter(function(k){return Object.getOwnPropertyDescriptor(p,k).enumerable})),f.push.apply(f,u)}return f}function h(p){for(var m=1;m<arguments.length;m++){var f=arguments[m]!=null?arguments[m]:{};m%2?V(f,!0).forEach(function(u){b(p,u,f[u])}):Object.getOwnPropertyDescriptors?Object.defineProperties(p,Object.getOwnPropertyDescriptors(f)):V(f).forEach(function(u){Object.defineProperty(p,u,Object.getOwnPropertyDescriptor(f,u))})}return p}function $(p,m){if(p==null)return{};var f=G(p,m),u,k;if(Object.getOwnPropertySymbols){var I=Object.getOwnPropertySymbols(p);for(k=0;k<I.length;k++)u=I[k],!(m.indexOf(u)>=0)&&Object.prototype.propertyIsEnumerable.call(p,u)&&(f[u]=p[u])}return f}function G(p,m){if(p==null)return{};var f={},u=Object.keys(p),k,I;for(I=0;I<u.length;I++)k=u[I],!(m.indexOf(k)>=0)&&(f[k]=p[k]);return f}function e(p,m){if(!(p instanceof m))throw new TypeError("Cannot call a class as a function")}function s(p,m){for(var f=0;f<m.length;f++){var u=m[f];u.enumerable=u.enumerable||!1,u.configurable=!0,"value"in u&&(u.writable=!0),Object.defineProperty(p,u.key,u)}}function c(p,m,f){return m&&s(p.prototype,m),f&&s(p,f),p}function t(p,m){return m&&(X(m)==="object"||typeof m=="function")?m:i(p)}function r(p){return r=Object.setPrototypeOf?Object.getPrototypeOf:function(f){return f.__proto__||Object.getPrototypeOf(f)},r(p)}function i(p){if(p===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return p}function o(p,m){if(typeof m!="function"&&m!==null)throw new TypeError("Super expression must either be null or a function");p.prototype=Object.create(m&&m.prototype,{constructor:{value:p,writable:!0,configurable:!0}}),m&&v(p,m)}function v(p,m){return v=Object.setPrototypeOf||function(u,k){return u.__proto__=k,u},v(p,m)}function b(p,m,f){return m in p?Object.defineProperty(p,m,{value:f,enumerable:!0,configurable:!0,writable:!0}):p[m]=f,p}var S=function(p){o(m,p);function m(){var f,u;e(this,m);for(var k=arguments.length,I=new Array(k),F=0;F<k;F++)I[F]=arguments[F];return u=t(this,(f=r(m)).call.apply(f,[this].concat(I))),b(i(u),"onClick",function(K){var Y=u.props,W=Y.text,Pe=Y.onCopy,w=Y.children,_=Y.options,x=T.default.Children.only(w),N=(0,A.default)(W,_);Pe&&Pe(W,N),x&&x.props&&typeof x.props.onClick=="function"&&x.props.onClick(K)}),u}return c(m,[{key:"render",value:function(){var u=this.props,k=u.text,I=u.onCopy,F=u.options,K=u.children,Y=$(u,["text","onCopy","options","children"]),W=T.default.Children.only(K);return T.default.cloneElement(W,h({},Y,{onClick:this.onClick}))}}]),m}(T.default.PureComponent);Fe.CopyToClipboard=S,b(S,"defaultProps",{onCopy:void 0,options:void 0})},56102:function(It,Fe,l){"use strict";var T=l(83145),A=T.CopyToClipboard;A.CopyToClipboard=A,It.exports=A},76374:function(It,Fe,l){"use strict";var T=function(){if(typeof Map!="undefined")return Map;function w(_,x){var N=-1;return _.some(function(C,y){return C[0]===x?(N=y,!0):!1}),N}return function(){function _(){this.__entries__=[]}return Object.defineProperty(_.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),_.prototype.get=function(x){var N=w(this.__entries__,x),C=this.__entries__[N];return C&&C[1]},_.prototype.set=function(x,N){var C=w(this.__entries__,x);~C?this.__entries__[C][1]=N:this.__entries__.push([x,N])},_.prototype.delete=function(x){var N=this.__entries__,C=w(N,x);~C&&N.splice(C,1)},_.prototype.has=function(x){return!!~w(this.__entries__,x)},_.prototype.clear=function(){this.__entries__.splice(0)},_.prototype.forEach=function(x,N){N===void 0&&(N=null);for(var C=0,y=this.__entries__;C<y.length;C++){var n=y[C];x.call(N,n[1],n[0])}},_}()}(),A=typeof window!="undefined"&&typeof document!="undefined"&&window.document===document,j=function(){return typeof l.g!="undefined"&&l.g.Math===Math?l.g:typeof self!="undefined"&&self.Math===Math?self:typeof window!="undefined"&&window.Math===Math?window:Function("return this")()}(),X=function(){return typeof requestAnimationFrame=="function"?requestAnimationFrame.bind(j):function(w){return setTimeout(function(){return w(Date.now())},1e3/60)}}(),V=2;function h(w,_){var x=!1,N=!1,C=0;function y(){x&&(x=!1,w()),N&&a()}function n(){X(y)}function a(){var d=Date.now();if(x){if(d-C<V)return;N=!0}else x=!0,N=!1,setTimeout(n,_);C=d}return a}var $=20,G=["top","right","bottom","left","width","height","size","weight"],e=typeof MutationObserver!="undefined",s=function(){function w(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=h(this.refresh.bind(this),$)}return w.prototype.addObserver=function(_){~this.observers_.indexOf(_)||this.observers_.push(_),this.connected_||this.connect_()},w.prototype.removeObserver=function(_){var x=this.observers_,N=x.indexOf(_);~N&&x.splice(N,1),!x.length&&this.connected_&&this.disconnect_()},w.prototype.refresh=function(){var _=this.updateObservers_();_&&this.refresh()},w.prototype.updateObservers_=function(){var _=this.observers_.filter(function(x){return x.gatherActive(),x.hasActive()});return _.forEach(function(x){return x.broadcastActive()}),_.length>0},w.prototype.connect_=function(){!A||this.connected_||(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),e?(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)},w.prototype.disconnect_=function(){!A||!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)},w.prototype.onTransitionEnd_=function(_){var x=_.propertyName,N=x===void 0?"":x,C=G.some(function(y){return!!~N.indexOf(y)});C&&this.refresh()},w.getInstance=function(){return this.instance_||(this.instance_=new w),this.instance_},w.instance_=null,w}(),c=function(w,_){for(var x=0,N=Object.keys(_);x<N.length;x++){var C=N[x];Object.defineProperty(w,C,{value:_[C],enumerable:!1,writable:!1,configurable:!0})}return w},t=function(w){var _=w&&w.ownerDocument&&w.ownerDocument.defaultView;return _||j},r=k(0,0,0,0);function i(w){return parseFloat(w)||0}function o(w){for(var _=[],x=1;x<arguments.length;x++)_[x-1]=arguments[x];return _.reduce(function(N,C){var y=w["border-"+C+"-width"];return N+i(y)},0)}function v(w){for(var _=["top","right","bottom","left"],x={},N=0,C=_;N<C.length;N++){var y=C[N],n=w["padding-"+y];x[y]=i(n)}return x}function b(w){var _=w.getBBox();return k(0,0,_.width,_.height)}function S(w){var _=w.clientWidth,x=w.clientHeight;if(!_&&!x)return r;var N=t(w).getComputedStyle(w),C=v(N),y=C.left+C.right,n=C.top+C.bottom,a=i(N.width),d=i(N.height);if(N.boxSizing==="border-box"&&(Math.round(a+y)!==_&&(a-=o(N,"left","right")+y),Math.round(d+n)!==x&&(d-=o(N,"top","bottom")+n)),!m(w)){var M=Math.round(a+y)-_,ae=Math.round(d+n)-x;Math.abs(M)!==1&&(a-=M),Math.abs(ae)!==1&&(d-=ae)}return k(C.left,C.top,a,d)}var p=function(){return typeof SVGGraphicsElement!="undefined"?function(w){return w instanceof t(w).SVGGraphicsElement}:function(w){return w instanceof t(w).SVGElement&&typeof w.getBBox=="function"}}();function m(w){return w===t(w).document.documentElement}function f(w){return A?p(w)?b(w):S(w):r}function u(w){var _=w.x,x=w.y,N=w.width,C=w.height,y=typeof DOMRectReadOnly!="undefined"?DOMRectReadOnly:Object,n=Object.create(y.prototype);return c(n,{x:_,y:x,width:N,height:C,top:x,right:_+N,bottom:C+x,left:_}),n}function k(w,_,x,N){return{x:w,y:_,width:x,height:N}}var I=function(){function w(_){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=k(0,0,0,0),this.target=_}return w.prototype.isActive=function(){var _=f(this.target);return this.contentRect_=_,_.width!==this.broadcastWidth||_.height!==this.broadcastHeight},w.prototype.broadcastRect=function(){var _=this.contentRect_;return this.broadcastWidth=_.width,this.broadcastHeight=_.height,_},w}(),F=function(){function w(_,x){var N=u(x);c(this,{target:_,contentRect:N})}return w}(),K=function(){function w(_,x,N){if(this.activeObservations_=[],this.observations_=new T,typeof _!="function")throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=_,this.controller_=x,this.callbackCtx_=N}return w.prototype.observe=function(_){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if(!(typeof Element=="undefined"||!(Element instanceof Object))){if(!(_ instanceof t(_).Element))throw new TypeError('parameter 1 is not of type "Element".');var x=this.observations_;x.has(_)||(x.set(_,new I(_)),this.controller_.addObserver(this),this.controller_.refresh())}},w.prototype.unobserve=function(_){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if(!(typeof Element=="undefined"||!(Element instanceof Object))){if(!(_ instanceof t(_).Element))throw new TypeError('parameter 1 is not of type "Element".');var x=this.observations_;x.has(_)&&(x.delete(_),x.size||this.controller_.removeObserver(this))}},w.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},w.prototype.gatherActive=function(){var _=this;this.clearActive(),this.observations_.forEach(function(x){x.isActive()&&_.activeObservations_.push(x)})},w.prototype.broadcastActive=function(){if(this.hasActive()){var _=this.callbackCtx_,x=this.activeObservations_.map(function(N){return new F(N.target,N.broadcastRect())});this.callback_.call(_,x,_),this.clearActive()}},w.prototype.clearActive=function(){this.activeObservations_.splice(0)},w.prototype.hasActive=function(){return this.activeObservations_.length>0},w}(),Y=typeof WeakMap!="undefined"?new WeakMap:new T,W=function(){function w(_){if(!(this instanceof w))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var x=s.getInstance(),N=new K(_,x,this);Y.set(this,N)}return w}();["observe","unobserve","disconnect"].forEach(function(w){W.prototype[w]=function(){var _;return(_=Y.get(this))[w].apply(_,arguments)}});var Pe=function(){return typeof j.ResizeObserver!="undefined"?j.ResizeObserver:W}();Fe.Z=Pe},98040:function(It){It.exports=function(){var Fe=document.getSelection();if(!Fe.rangeCount)return function(){};for(var l=document.activeElement,T=[],A=0;A<Fe.rangeCount;A++)T.push(Fe.getRangeAt(A));switch(l.tagName.toUpperCase()){case"INPUT":case"TEXTAREA":l.blur();break;default:l=null;break}return Fe.removeAllRanges(),function(){Fe.type==="Caret"&&Fe.removeAllRanges(),Fe.rangeCount||T.forEach(function(j){Fe.addRange(j)}),l&&l.focus()}}},93314:function(It){"use strict";It.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMwAAACaCAYAAADl9acYAAAAAXNSR0IArs4c6QAAIABJREFUeF7tXQd4U1Ubfs/NaJtO9kzLahFQEJkiUBBFUFFkCCjiAAVFERT5FREQQQXBBcpysWRP2RtkKRsEOphNodCZdDfjnv85CU2TZt2bhABNDw9PmtzvrO+c957xLQIP0pkz1yrQIEmwwcDzHhTj91klEo7jpcG5zetWUJdmRjmPvTM9GI9JgSGvadOoLE9KJJ5kPp2YXLtZdO1kT8ooz2vigCNelvPYezPEG7z0CDAn4pJqPvJA5A3vdcl/S3LEy3Iee29OeIOX5YDx3nh4VFI5YDxin6DM5YARxKb7g6gcMHd+nMoBc+d57LKGhCQ1ZURBCoVL2nKCO8sBZWW50x1TOWDuLP8FlV4OGEFs8glROWB8wmbPKikHjGf882bucsB4k5t3qKxywNwhxrpRbJkGTOx0ehlA3d9e5VEtzA3ulGe55zmg1QOfrCVo34BgQGvr5rLDRl4RRZG+5NjBESBc4FHw1LlrCAuPsCo0JjKi7J5hYqfTXADBq4byCJLf82Nf3kA3OfD9LgKdgeCzZ4CUTJ1VKQFyKQgpmeMSjiKvQC+oplspN/wOMDcBVFv0Bo+KwYJ4VE50H3Jg7j6CWzkEX74A3MrSgTfeKZpSaBCHcAVn/JunBHlFPDR5BkG9LMjPt7mZLOtbskQADea9wqOW9coqiGHlRPcHBxYcJriQQvB9P+v2cqCwWFxgoOJk6JeTNX4HmJMAHv6xP4/6VXw/+OxNx/bM/pIohdUE9VW/VxwjOHiJYO5A6xolpGSpYW3jIW4w/A8wM+h+UHSY2pvHgzV9NXymeor0wPc7Cf7XzWJ/4Nsm+Ly2LzZx+OwZ3yuVbzhNsPEMwcI3rM8wMikHiURi5gNbbQoKrc84zpjkj2eYzQC6f96DomUd305ctrp8tp5gSk/f1utzlFhUOHYthy9f8D1gdpwnWHiEYOVQ6zNM6QM/AY+CImHnF9YtfwTMCgB9P+5G0SHa9xP3bk2gT9cBU3r6Hjp95nBYNcz3gDlwkRhX843vlfS59PmFHfjFzgC/2pJ1nEEnEIpIAG+834Wia2Ox7PJ8wt0twLz7J8Gsl3zf316zCVYPsz5oe85F1yUcu0YwcQPBjlElZyjL8wsrQeyBn+XxK8DETqefgyACFCPe6kjxfDPfT6C7BpilBLMG+L6/A34h+P1VikCZ60nuTYpzN4AxqznjCqPOMZ1RSp9f2OVLYZH1lbOrNvjVlswIGEAKYOyrj1K82NL3E+huAWbEMnbFSn1+Qzd4AcE3fajPZV6X04D3lnHGM4xOawKFJwLLYiD5H2AoCkHwJQMLA42v090CzJjVBBN7UCh8rN3AgDrqCYq6lX3L6RQ1MGQRhwWvA7UrALbnFzCJjOhG+d2WjFCkUYKZPZpSDIv1PWDGrycY34NCahI0+yxN/Ivg3c4UlUN8VqWxok/XEfRrSdG0tm/rzcoHBv7KYc5AILqqLWDcOb/45RmGEFyhFL8/0Yga33y+Tl9uJhjxOEVIoG9rnrqVKSJSRFb0fb3tG1A81sC39TLRSu85HL57Eaii0Bm3oqEKqZXSJaUURUxTU0Tyuy0ZAc5SYCUbxE+6+x4w3+0kGNiWooqP3/Qz9xB0bUTRsLqI2eEFUlbvA9WBJxv5ltdMit9jFocpLwB1InQIkBEQTmLUHStOBoMBOr24K2+/AwwPHOKArS2iKCY9VzKIg34jyMgTv6f1wpwqL8JLHKgUTLHwjZIxZTKg0V2Bzg2tLzvYBYA75xe/25J1mkEnGAzYyXE40KQmMK23uLeLN8b1j0ME7epTxFTzRmnCy/jzXyCqIny+NVryDzFeKfd+xLcrDOMMO8MMfgx45iFrOZA7AstiTvvVoZ91usM3tClHcLpeZWDmAN8DZtlRgkY1KJr5+BC87hQQLAeebCwcZN6gXH6MgG2P+rfyDmD+WLoV8xZugkIRiNh2TTHghcfRoF4tFBZpkXgpGQ81rmdu9puLOLzwMPBYPR1Cgzw/v7CC/WpLxjrc/jtaT2LApRrhwC+DfA+Y9aeI0dKzbT3vTCChk3r7eaBABzzfTGgO79CtPUmM9b7U2jv9bf3kOyjSlihLcoSg93MdkZ2Th227j2Hoq8/inTeeNzZ+xFIOsTHAsw/pAeL5+cUvAdPuG1pVRnArQgEsGex7wGw7RxAgBTo19M4EEjqtD1wEkrPYm15oDu/QbfkPSM0hHsu8du0/gSnfLkFGVrbThjFLynULJ6FOZHUw2RNbyd/qUJLFHZV+ywr9aksWO4Ou0BK8KueRz/bVq++CUuD+RGbhB3R/0LeAOZEEnFIRvPGYb+vdGw+cvU7w3uOe1dv+mfeRk5svCMUfvz8AA3o9jgkbCJQVgPe7lGTz5MDvj4f+VXs/JH1ip1PmAkHy17u8z42bjl4lxjf9C809m0CCZo4FUVwKsDPOJLz0ZTp6Fdh6jtnWe1bvuCm/4q/tRwQ1/b03e2LIwGfw1RaCkADg425AOvPkYCHZd0cG43dbsk4zaDFgWHiHcG85wjBQoEhnMhAzf5r/Jihkf9/+fjXDtDXqGA108+Eqcy0DYAfwMU95NnEFzVgLovibwK8HCab19qze61s24Pf5K7A5KwB5vHM1CblMij9m/Q87rtc1jsek54CMPIBayGD0BgP0ImUw/gwYFiqjllhHGAcvAkuPcijU8cgv0KGgSGv8LNJqweu1MOh14A3ss+S78W+Dzuo3RsPoTy0YgIjQALFz0C36tBzg570EE3p4NnHFVn5TA0zaSPDzy57Vu2bIS6jF67BDHYBHgnVI0kow+6ZjLyZNm9RD+35jkZINfNO7ZIVhEn+e16NQ6157/OqWjJ1h9n1IXoydTi8AeGD+KzxqinCEsfkswfBJC2HQacXOG7v0B+e9CGXVUK+U5aoQdm5iE3eqh296R/XoDEBu0e3/hcz3FzF+Z292trI91Zgav7N2tKrDrrfFTdgTI4dAl61BipZDDXYINRCMvBrusNvBikAMHT8LTM3/pwElK4xMAuQV6uBuKK4yA5hEVfY8SvmmHCETGyjDtzqbQLHf0KMgaCnWEcaW/whGT1mAHHZP6oW09bueaFy3khdKcl0EO+y+v4xgphs2MWxbs+K46bLCDIoi6+9iVLKY4PbTp8UB5t8h/UB53qimz1aJA9lyLExz7H1vyMCnUa15L/x9EfhtkIk/nh74y9ShPz5JnUGA26qFZIdcTofWqR5xxd5Uip1O9wDoJNYRxs4LBB9PXYxUdaHrGSqAYuWUp9GmSQ0BlN4h8cTq8qVfOGgKStpBeAoJb4DEYPrPsU89b/5e/LvEYPubLCIQX06NEtWpfwa/yA4h0FEgqVCK71OCUeTARdLLfbpg9PAXsfGsBBtOA0uHmKpyV0PZsqFl5lo5QaXWgRqNw4pTHiEYGa2M+KX0yMROpxsA9BDrCGNvAsG4GcuQdMt45eJx+nXsk3iyNbOY9k161wOry8/GqZCr1t4GBA/O3T0Nm7gSDl/89IBRHiU0nRk3CgU3knEmT4pZN51rrjI5TN2oGmCOMP44BKx7B8jINemP8ZRCK2Y5LNXAMrMlS0hSpwKw9TRGME+XHf5ekybEfPCInU7/BDBArCOMw5cIPvt+JRJUGqHj7JRu2rsd0P+JGBuanELTTVpwwO3/cnjFxNcTwMz95hquxud5pd+skIEfR6NJA+F2y6o1S3Fj4xpj/X9lBmK7OsDuChMUKMf+v36AXC4Fc4QxYwew/X0gM8/k5VKvN0BvcF9gfc8CJuGWuh4twgoQnJSBzK+nDP+3eLTsBahJSNL8DdD29kaUAFsDSU4vpVJp3FTETqdzAbwl1hHGySSCCTPX41RimlcmzthBrTCsV1Obss5cJ2hWXQupTIoiHUW+1nRYZkcn5kRbTzlIOQq5hBmimfRu2RwoeU4gl5rAFiI3Odpmb/NRK0zXu+zgKzZtWZWK/VvTxWZzSP/EK5HoEivcxsFQWIBzk8caVxmWmMT+g6thNlfMg/p1xYfv9DXSMEcYEzYAu247wnBXQ9myE/fslixRpf6FUgw2N5bgDChmk6Lw33MMqkqlg8JeVKmn8hRjHI0QIdgbiJynGWhiZ9AZoPhgaEeK50Q4wmDCvwmzt+HwGe8EcH67V1N8MshWV4UBpnlNLQID3Lcn5nkKrZ6iUEex4azEqC08di0BW1XDgsTP+2NHsrH6F+/0m9Xetns1PN9b3IWHPi8XyetXIOPoEeg1WbhYKMGK9CCoiiSoWq0SnuvWzqhLVuyoz+wI411mmi3epZI9Lt2zgElIUht9INtpdDJPMUsSGf59NCFFxc8TknI6AoZ9LqbCmj+V4X33zMAEAOMHtaXoJ0KLVpUJjJuzD3v+vSh+xtnJ0ffxaMwY0dHuCtO8pg6BAcK3LI4axCTai/4hRsBM3kww5DGK6o5vYx32S52pw9QxbEi8k6o2DMeoj2q5VVhqNnB29JsI0TP5M6Dj5Gg7dwmkpVZOsyOMtyg4joDyBhRq3d+Osbru3S2ZSp0LCmf+9ZM5CUY3qBWx3LREUy5RpbkKQOl0FAimvrksPAME08Q6wmD74DGz/8H2A/+5NdClM8U2r4VFE7rZBcwjtXQIkHsOGLbSLP7XBJhvdxD0fJiinhs+pVk5n41IBM/UFryQSHggvpxRooovpsgdFwjoD8MQri3ZIso/XYzm9a2FwDfUAFPxX/AaRYSCeCR/KW7fvQuYJE0RQF3vSQh2UQn3bsOaYXEJSZrPADrJBfP5BceCVx+4LO0r1hGG3gC8//Np/LXrmJjxdUhbv1YE9vzU22eAmbOPBRmieNCNFzvP8/jhaxVSL3vn4M9zBJN/bgSZgJsyplZ0KQ24oSZgq8vmE4V4+9hrkNIS8O5uPhbNOz+CprWpWRhd7Ahj9svMYM871rT38pbM/q2XvelHoeU4bpxBgt+Jjr8MAqfi80NXZEW/H1UEuOMIY/zCRPyxZr9XABMSJMP5pbelahYlsjNMi1p6402Pp8lyhWEhIBpVp2hdV1yp6nwgPAhYvzQF/+zOEpfZCfXgz6LRIMrxKsq0B5YcKsL6UxRFvBygelBdLjhZGMCx/RfTKWMCUGZzbAClvJEmtiGH97oEGLdhzBHGjL4UDyvLOmBUmn9AaamAay7GimAXgdErzG1RlX36k9el+PlgsPFtK9YRxtwtNzBl7havTZoLywYhuJRbSCNgauvBlAg9TQYDjyVHOeOWbOVxoEoo0Mn2JttpNZvOcmhfn0KTXoTr8TlITSnCrRSt8TMvV7gj79KVPDskCo+1tb/rZkLScavzcTlTARBrZUu+MB1coHNHZ8rQXEzvH4T+8yWY9DzQrj6QptFDzzRlPUj37JbM5pZMeCfZK5CNgsPt3PlbEny3LwSlHWEIqWLzcTWGfbFaCKkgml0zeyNaaa3QdqcAs+msSa2k+4OCmmYm2nyWQ98W9idabo4eqSla3EopMn6m3mRgKkJ6KlM6dV5Plz418ES3CjZE7Ar9w2X5UGXbv3bmC1NBAiqBEOf34zFhKlzLq40PuxK0i8qFutBzRdd7FjDx1zSDCKELxA2tmZoyyztqqc9tUdDlDAm+2hUCdxxhHIwrwOAJy5EvIkSCsz78Nq4rnmhpfU/BANOytgEydwQmpSpjQro/b68we+JNArzej4jjKouz0q+luDwGAzWCxnI1Kr0qPfpEZTzXv6pVwUzf6+MVBTiX6vi+hxoKQfUF4AJswWZZGF+UCUN2IsYMaINnbcVd4jp0m/qePcNcvJlTldcaUm5vVN3qnKNM1zUcJm4LhTuOMP65qMWYGWtxJcU76jGT3nwUrz1j7ZnCCBilAbLS96RucIFJtv88ZpLD/HMZSEgFXmkrrqANp2yjEYsroYRar6f44I3zxh9qNwnH8FHWNxBLj2ix6F85SKltmGV9lBrAF6RConCuh8fotCn7MSC2Fob3ELkPddDBexYwrL2JSZqtFPQpdwfHUT7mf+zjTWFwxxHG8St6zPhtCw6cZXcSnqdhLzTF2FethZcMMK2UBki9DBgmbz18mYAJbMUk5shiYBsxORzT5ucZ8PHbcUaC4OpBGDe55AbiShqP9/40gHLOt058UZbxXMPJnQuUKK+DLi8DEs0R/PJBLIIVwjULHPXgnt2SsQbHq7JeIJSYFIi8mNgeeeT6cFRQAItFOsL4L5li0do9WLrLriK06FZ2e7QO5v3PwugcgDcBo9MbsPT2CnMxFcYwdiNFuMhlKjcs/J23AMMEoONHJhj5JA2T44tvS2TTo5cX4kKqY5X9YuYacq9CEhzlMngmr8uGQasFLUpDPcUV/DCiKwrcNBwrrvueBsyKFVTSvG32aQraRPRMdJKBWaa+vSrcqNAo1hEGsyD8Y/1R/LzmjFea1EBZAbtn9rIqywiYSB5Siecey3U6A5YeN23JmCCPORIcK8IWhV0ps1Wpj8hzjyPmsDPN5P+ZNCWInMOXPz9g/PtgohZfbpEZ3SE5TxSGXBUkIa61vPnCDLCzFEuGrOMY1q02Xunq2VS6p7dkrKOJ17N7UAPP1PG9moatCoOBJ9go0hEGe+P+vC4e3yw84JX2VAoLxMmFL9sApnUkD4kXAKPV6bHsuNQIGDb5p28nmCwixmZSJnA5jeCZh1x3NzfpKi7M/xlFGRmo0qoNqnfohPAG1mcH1dUCfDP+sqkwjuCreY2Mf478swiJGa6V3Az518EFVgHhXMu0DYUZ4G8Dhuqy0Sg0EfM+8myHf88DhjEzIUmzAaA9XA+ZcIqR60KRp+XgjiOM3Sdu4s0vtyAkSIrgQCmCg6QIYZ+BMuPf7Dfzs9vP2bPi34ICZTh2szJ6NM41HuyrV7f2G8tWmNZRPCSc5yuMJWCYGcjHawm+7Sv8DPPfdSBfS9C5oWveHhg+GFqNyfRBEhgIeWgY2kz7AZysRDh5KT4fP0y5vZ0lwBdzGoO9FwbOK4S6KMDpCkP1eaD6fCNghCSDNhe8zmTsVznrMD59XIGa7Wx194SUVUxzT2/JihuZmJJThWoNZ0HgNY/EH28MRUY+B7GOMFibcrJzkJuXB3Z1zXHc7U9ivNlh0mX2aXpm/7ekLA57E6R44zHm5slWAs0A0ybKpDDoaWLhHJafMK0wLIm1ujx0iYD56WgrQO3ryuplSN6xzajkqM83+RCr1aUrol95A5zUJIT971QO5n2bZPybXYRNntsYvx4guLJrL1qkbsD2moOQHP6wlUskRkt5PfiCm5AEC/exa9DmgNcVoVL2KQy59RsqhAQg6tPvwAU5U1F0zvH7AjCsC4mqnE6UGpitvsfSJ0IIHb8lmNzIlkCsIwxPJzDLf10NrDtJMNyBjzDvAkaH5SdkbgOGOf5oVAN4sKawnl+YOwspf+81EzPIh9VvgCbvfoDAKlVx9JAai+ZcNz4PVBBE9W+M07uPo9/laeBgknSeC22ObbVeQ06QCRzselivuQhZBNveCX+JGAoyEZEThyE3fkIYNa00yh69UPdF6y2wsJ6ZqO6LLZl5pUlW9wHFMkrh6mTokgdf7QzG5UwpxDrCcFmwAAImPPztIMHorva3RkbA1GEhGoRPDkfVMj/EVoARaabM2vliCxj9QQtJ1GDAtU3rcGPXDmjVWWDfWWJbtHp9BiCwRScU6KQICJRg4VEp4g8ex4tXvrFSpGT0JxXNsKraIEgVFaHLuQ5ZSE1wAeLsEioRFZ5PnAVlTok5hiQwCG1+mAupwr1V5r4CDGNkgkrzEij93Znqi5CB/XafAhduySDWEYaQsl3RFGiB6Tsce4NkgGlbx+WtqatqjM9ZlOAVJ0tWmPeWEvzYX3gYcOY9cuKzsLE1EVK5oagQJ7/4DDlXS67gZTVqI6dlXxwNaIXrJ06j75UZkFhoHbNyK7Zqh2E3usHAlCupDgFhtSAJEmdsxsqJqZSHevmJaHPoC6vm1nvpNdTu7t6R+L4DjAk06t7M+tKuDb+QkQTw00EFTl2XQawjDIHFOyVj6h+frSeY4uC2it1MRVXgIeUIpBLTWcjdxMJArDgpN2/JPlpF8PlzwoPDjl9v0vZ1N2k1apz+ehJyVaZzS3HimUMKIoWUWrusqtDqUTR46308/bUKekghU1QBkbq+PbPXPkNuEog8DAOS5+ABzVEzSWj9GDSf+JVbXbovAcNs+oODFYSjsp8oqCm2gcj06z9BOHJNbjTZ7RDt/oQQWa2ZXEw0ZWY1yYzYGdCYuj5L7AJNwgBlvHRgj3mjnfvtx0YlS/Zcp9dj6wU5nmpiysccdLMYm5UECr3HruHwQ3/P+KPLzcWZ6VOQfdG5xWbVzl0R9fJgEI7DjO0Eu85rQSTuH1lbV45HbmYSzl1OR+2im4g0ZEJpyETdAC26zpnv1tDdt4AptulPNJ1rplMKUY6uFh8PxL5LARDrCMMtLtvJJAYw3qqTlcOCw7JYLUoBwWHZWWvBIYJxz3jeAiZxv7R0AZJ3bIetdT1B7T4voebTPc0VMbe2G08Wur26sII+6JyD5x4JQU6+FkfOp+DA2es4fO4GsvO1qFk5BE3qVEaTupWNn9G1K0AmILT1fQ8YxhhKqfTi9ewBoPQjSiFAxAasOh2AbfGBRr0qMY4wPJ86phLuFmBm7ibo2oSioYAL+uPXgKvpBIMe9VavgctnE5C7fyuyz58Bc2oRVKMWaj7XBxVbWGuELjxMsOxIAYjUtaqMo9Z90CkHz7WwXkoNPMXZy2k4ePYGDvx3HVdSTHIjBqCVn7verJQJwBQzjKnzJyRlPcZJuJ6UxwsAHEoP/joXgA3nAiHWEYa3ps7dAgyTeTwSRdHcuecDYzdXHCN4oBrwaH3v9Fqr55GWmY2ICNe3XWtOEvyy17MVZmRsLnq2dH4bdv5qBt6Ytg3d29TDOAFvhjIFmNLDGp+c1UxCycs8xTu3jcrMJDvi5VhxOghiHWF4Z+rcvRXGGBy2EvCYABB8sZHggycpqoa6f+lgya/MXC20RUUIDXV9gGJueb/d5tkZ5r0OOejd2nldm/+5gkkLDuOzQe3QrY1r2+0yDZjiwbp4PUNJeelKSqlZSX3/ZRkWHVNArCMMbwFm/AaC8c9Qt65rPWkDCw7Lggw9YVLhcprWnCCoH5qKGmHUaC4tl8sgl0kgl7FPqWhdt6upuQiWc1AoXN96MSd849ez62/31YPeeSwHL7Z1DpixvxzA7hNJWP9lL1RmjgtcJL8ADOOBSkWDCqiGaQoYlYn+TZJh/hEF3HGE4YqpQp7/sC0PrzRPhYxPg9yQjmCkoTA/HUV5aZDq0wBZBQQ0my6kKFE028/BGODpOYHBYfPy8qDT6aDT6Y2flolpUxeDhznscAWkfxKzEFNDAbncteIk8xIzYinxSBj1VrtcvPSo4y0Zs0Z96qPVqFpBgcXjnhXEx/saMCZfZNmTQCjTmZCAEC0oUglPU3iOnDEYtCcb16nCrDaN6ZxKU1HK0xOEIOrMDSlmHnDPEYZLzhoKAW0aivLSQXRpCKRp4HTpKMxNAy1KN36XE+cRAHjKIb/pckhk7h967bXz70STao47wWHZ9bZebwJOMYDY38Zrb4vEtKwZeAKMq5IJSDKZFOuPpqFr8yqCNBjYDd3AXwwgnPu+2Qa3zccrjzleNY7G3cR7P+7G8+2jMWaAMH8r9zVg4pKynudA1jmawExnjKf8fwRkAwF+j46MuJSoyupEKdkdnyoh0/e65wjDUX1c3MdA3hUEEO+YL6fU+BwRNUQa07tAM7v5OpNM8LoXg8PqDXrotHrojUDSQafXgXmrKZ3i0uV4vKkwiT2TJ/WcqYWBBLp8PzkieK1NIV5r71iO8/2qE1i2O8542GeHfiHpvgbMRVX2RzzlpwnpKCGEOa76i5dynxCeTriaTvpP2RnqliMMhwC9MBaBBaeFNEcQTU7FvpDWeU0QrVCiCynA7jjHip9Cy3FFxxz/mVYi0//sPD2u5wWgXUOBSmkAXvtVj7R819s3R215ta0Orz/m2FVVnwkbkJyWa7xOZtfKQtJ9DZiEpKzXAfKbkI6W0JAiQrDyZjZ5adyWUM4dRxiO6qOqRVCkLRPXHCfUt2gjhLXw7jmGBYdl18Uf+Tg47K4LBCz0uZh6P1oJnL/p/qH/5dYGvNnBfv5rN7PRb9JGVAoLwoavrC1enQ3gfQ2YC1ey6kil3CV2lhE7S7MKuMIxf4UGuuMIw1FdhszjCLk6XmxTHNLrqRT5TVdAJnNfPaR04cbgsPsIJjzrmbqL2E4evgxsPy+uXubM7+Vfmbss9661X2lDMdhuABRgyc4LmLnmJGKbKfHlW8KNyu5rwLBBS0zSbKBuWGOyWCoj1rrnCMPRZNEX5SLk3ACmVih2PjmkV9WYiso1RHrec1I7i1HJ5Ct3Kjiso6rPXgeY9P6bPsKB2uSRWKSlZbjNy3FjhuOTD5kIzja9891OnEhMxVs9muHVbsL5e98DJu5ydkNOxh934enfhmPsUDl0ZRgCZUS0IwyHWzJmqPPfcATorrk9yKUzZld5DTKlKUCQNxLr98jlJhV/X6ZrmcBXmwnmDBReb2R0CxQWmiOaiG5uj+5dsOyPH23yMd2ybmNWg6nJfDv8cbRpLDzO6H0PGMaN2zYyi8Q6/Ru+Ogw6A8FfIh1hOBs5evE7KLJ3ih5cRxluSR5FWLNxXiuPFeRJ6D53G5KWC3y4gmDhG8IAw7Ssa9Vlpsrup8jaNXHh+A6bAnYcu4bPfjto/H3z1D4IZ5JcgalMAIb1NVGlHkwpmQ1QwRf3H6wPRU6Re44wHPHXcGMTQm7+LJD9rsnU+soIaO2ux1z75Yu163fdStcUuYXA6wsIVg4VBpjMLDUeaOrgAOK6OjNFcvwhVCiluzbh90PYdvQqqlcMxuovSjSkhRRbZgDDOnsxOaczpYaFlEKQp4Sxm0KQlidxyxGGI+Zqs+IRfuUDIbwXTJMWsxghIc79CAsu7C6Ndg0lAAAdVklEQVStMEws88Jsgg3DhQEmSXUdLdt55hLJuIKs/g2x7UvcdrJtWPcxq40q/h2bKfGViAM/K69MAYZ16NKlzHCDlHwBwr0FUKdr7efbQpCs8a4jjMKCfITHDQRH3d97l578qmqTUblWczGYcErLzjDT+/hej63HLA5r32YOCl135dyFeHTuahtsynVOa4qvPv8II4aVyLJOXUzFsG9NW+bXuz+EISK9lJc5wBSz69KNzEheLxlFQVnEIrvmUlN3B+NiuncdYWi1OsjjP0KQznvxIDVVh0Bem1kreCcZg8N2pwhzX4juVkN6zebwx+u8oHr/OXoCPXrZBpsSW/GAvj3wy6yvzdl+WnsKi3aYnKFPHtIBnZu79qBpWWeZBUxxJ69coYE6ae4zlOqfIyBPM59uxc++36/AuZvedYTBJNz6+OkIL3AVn1b40N8K6oawRu8Jz+CCcvImgiEdKKoLF7p7pe4B8zl8148XVO+uPQcwYNAwj+tt0iga/+4t0Z4a8MUms9HY0vE9ECnUHc7tlpR5wFhyfA+l0lqq7L4A/QlAhTmHgnA8We51Rxh5FxejcvZSjwe7uIAk/cOo0nqK18qbsYPghebUGO7Dl+n1Pzh89iwvqN71G7fhzbc/9Lh5LALCzr+PQVMkR2w0Na4u566m49J1tVElRqyDEb8CTDH3LyblPMhTw67fjwZVPXTV+44wspP2oVq6IBU3QRPiprYWwtvOE0QrhGj2PoKO0dSoR+fL9O5SDm/H8oLq/XP5Gowc7R2tic9/XIlNyU2wY5RH1gJGVvklYFjHL6k0Ty85EbhxV6KceNsRRuatS6h1fYTX5mK+IQR5TZcbDb+8kVhw2MY1KFrV8UZpwsv4ZC3BCw8LC0o7/7fF+HRCydnDWS1FOSmQh1S363aX5XtlxGTEBfbCxveAIMFCB/s1+i1gGDsGL9Cvvpgm6eVtRxgZGZmomTQYHNUKn01OKHlIcEG5AfWE+eB2WefKY0DVMCDWO0G5XNZXTMDOTu3qUzxuinDhNH0/cx6+nGYrpS+diflxLkhPgFRRGfIQ+wzq9OxA5DUei5VDgYruObw0V+vXgOn8LR3L85jibUcY6iw1KiV9CLnhpqt5Ieg5DxkOV16PRyKFyTBcFbrxDPNZJj44rKtyXT1nvsYaVqeC4k1OmfoDfpjl2ncYb9CiMOOS0edyUOVoEGM4cuvUuGkrBHdbgIVvALWs4++6arLNc78GTOx0yq6efvS2I4zs7ByEJY1HkNYUactZ4kkg9FwE9JIKMEgijH8bjN/Z36bftCQcudLaeKC6q9KEPd8dB2Tliw8OK6x0x1Q/7SWoGkrRt4XrksZN/Brzfl3skpB59S9IN13hy0KrQxZkK+ANCQ1Do7ePYO5AoIF1DFqX5Zcm8G/AfENfB8Fv3naEkZubi6CkbxCou2yc9CZARJgBwcCRVlgZV3KC0aSmAhwnQYBcYowHI5FIwIN9MjPfkt/shcUQPdq3Mxy5DLDwfQNFBod1t77ifMyxuVxCBdX7wZgJWLzUdXh3Zh7NtmSgPCQBIQgIt+8/qtmw3fj5zep4yDoGregu+TVgOk2nTNl8pbcdYeTnFyA9U2MMDhQYIIFcwoGTSGCgnHHLECTnIJVIMG2H1BjywtcCRBYc9shlgrdEBocVPbtKZVjyDwGLLyqk3mHvjsGa9ZtdV0k4FGZdBa/NM/JbUcX+wSy692z8PDoWAjwpOa3TvwEzjXajHLa0b0DxSXfvnA9cj3AJxfe7TG5bq4aKyeU5bWIqsOkswcguvu3zyuPE6IBDSL2DBr+Hrdv3uOxshVqNkZqwH7q8NCNtYKUG4CS2V2G1OozE7ClvoZOHFx3+DZjptD0F/m4RRTHpOd9OHja4c/cRdHuQGh3r+TKxScuMuXz9kmDRmM/dgKB6+wwYgv0HjrhkS6+Bb2PlbzNQpDbZILEtGdualU4VH3gaX0/92ii89HZSVpY7NQllzvOLfYG7W7d7Nqe3a/NGA1hR7WfQZhKKU0yAN62396wkhTKFyUPa1qVo6KXDvNB62YH/2x0EXzzv/cnjrA07zhPsT4SgepkeGdMnc5V++nE6Phz/PTITmEIlhSykOmQK24M/W3mmzV2Lpxp7f5z9BjCPT6P1DRwuetMRhqsBtnzOnFHEVAMeVvp24hbpmata4lHcFzH9LKZl8TJXn4Cgep98+kWcPmtSknSWVi/7BZNmrsc/G2eC1xVAqqgEeYjtVRjhpPji1wN49qE7x+uYyAi7C4E3XvA+XWFU6Vo1ABsP2MzJwvDlMnjTEYarAbZ8zrYoVUKBR+vduUF01J67YUR2OhmYs49g9suu+9uhy/OIT2DyFedpz/bVWLXtFL77/F3o8zMhCQxHQJh9nZ/RU5diYJc7p95QZgCTnKHLppTaHK3Zm3bwYhkqKIDFg72/VLsabLZFYbYhnRu6nkCuyhL7/G4AJuEWwKT9QsyUWz3WDdeSkl1268zR3ThwLgtDBzyFIo0KnDwYgRH2VfYrP/jCzKTdX3pPZ8ll60wE990Kk5yhi6OU2kSaZx5OBy2UIkDqPUcYAnloJDtwkSC7AHj6Dm4THK4wIoPDiumXI1pVJjBqBcGqYa5fEA+16IxbqaabL2cp+dJJ3MqRoGXL1si7cRKcNAiBFe2vIopqDZemn133kqsyvf38fgTMJkops4WxSUOWSFGoI9joRUcYQhl+SgUkZZK7EtBp3DpgsjhzdqHdckiXlQcMWcReTq4Bw+z5mV2/sxQcrMCVuH+NoQof7DwESf/+aTz4B1WyH8tDHl7zhDpxlwA9A4+7alXAfQcYVYb2V1C8YY8N7y6XQl1AsGoojyD3vZK6zWHm9siDmK9u13u3Mgrtb71GbZCbm+e0mbVq1cDJIyavMK99OAvrfp0IfVEOFJWj7earUKUG9mxZ45WuOzqv2Cv8vgNMcqZuCuXpWHudGb1GipvZxKuOMLwyIn5eSGSDR8AiQDtLDzZ+ALu3rTKSzPrzAMa//xK0OSlQVLHZfd8uhuDQ/p1QKDyPiFCmAaNK17KD3g/2mP/ZXxJcyeAw/xUeNT3UZPXzOe7V7tes2wx6vcFpme3btcaa5SbX2gfP56Dnk62NipiKqo7tB1at+BMPPdjE47a6kr1YVnD/rTAZ+r6U8ivscWnyVgnibnL4sT+P+l6yN/F4NMoLQLXIh2zizpRmy9PduuCP+ab3YE4h8OCjzyMzfrvDMwyjm/rVZPR8vofHHC7TgLmRpetoMFC7Ximm75TgVDJn1G96srHrw6jHnC4vQBAHqipd+zvu/2JP/Dhjsrm8zv0n4sSWHx3KYRjh0DcH44NRnt8sl2nApGTROnqD7oq9kZq1T4IjV0Q7/xc06OVE7nPg6DS2bXL+AqvW4hVEdvnEXEna2bW4uGY4pEGO99ZPPv4YZs3y3DNpmQYM42hyujaBAjbXJxvOcFhxggHGI+UD92dGeU67HDg6/SGAd36GqfHoMNTuULJaFGZexem5T4CTOL7ufCCmAf7dv0EQ11MyrWN6WmYq84C5lqEdyVF8J4hTlkQc+URZUSbMG4PowsVlSEhSO3zlBtm5+alR0UOPD+KaZ5fa0aQryM+3oi/d/ocfaYOCQudxQCeOHYUPRrxpLocZk8U0i8Wt1HSHLQ+Qy3Hj0jFjzE1Xya8Bw4IuJWfoFgJ42RWjip8TQlbVqijtbwz3dw8kfwJM23YdkaXWOOX6tMljMWzIQCuawW9/hJVrNznNt37Fr+jc8VGXI+rXgCnmjipT353w/Es80IIALDAIM56QMFBQSpmkLAUEJzmeX1qrSuBfLrnqQwJ/AkyXJ7sh+bo5ALZdLs+cPgmvDuxj9ezPFesxbETJucZexrfeeAnTv3QdQqTMAyY5TdeZEspcjdjXjfDm5Ka4REDerF1F5tos0Ev1+hNger7QGxfiLzrl3PyfpqJfb+sr4vSMTDR4qCOYy15HSVmrJs4ddx3Dp8wDRpWhvQQKYfGjvTGJCS4rK8nvPDhvt9WfADPwlUE4etx5ROpFv/6A55950mYkn+zxMv45etLpCB/esw5NGjm3Vy77gEnX+lyQIua2xFOM+hNghg8fjp17Djhl2aolc9C1i21A1x9//h3jJn3jNO+EsaPwocWFgT3isg+Y8hXGatzv51uyTz75GGvWb3E66Teu+h0dLYIlFRNfuapCs7bOgzG1a9MCW9ezKI+OU5kHTPkZxnrw72fAfP3VFPy+yK42k7mTOzf+idYt7cfB7PBkH6cmzsz/29ULhxAe5thlT5kHjOV0SUzKfp6CLwkMAnIjJjLcyo3bRZV6Kk8xxpyPIjsmqiQgYkKS5jpAzfauBFzP6Miw9Z5urdzN709bsjmzZ+K7mb84ZdWBnavR9MFGdmm+/XE+Jn7pXOy2cP536NnD8UrkX4BRaSZQSieauUnIphhl+LNWoFJpFlFKSy7yCYmLUYabRyBBpdkISp8pzkMImRitDP/c3QnvaT5/AsyyJQswYcq3Tll29O+NaBht/45HyLZs0Et9MOvbSQ7r8DfArKOUPm/BjSkxkRFWl++JKvUuSvF4CSCwO1oZ0aX4e0KSmmn2fWoBmPXRynAf2ymW9MCfALNt8zqMGD3BKWDOHt2BKKVj36+du/XD8VNnHZZRu2YNnD+xqxwwjAOJKvU1SlHiDYGgT4wywspZb8I19QUQlBhPULokJqqCecVJUKl7g8JkocS0zQiSopURUZ6uFO7m9yfA/HtoL14Z8r5TViWe2Y9qVR2HUftp7kJ84iLGjLNVqsysMKcTk2s3i67t0KXIheTsSlJK0yilJRqVFPVjoiIuW59z1Ew5q8T9EsE3McoI85km4Zq6HgjMvn4IIVRPSJVGtcMy3J30nuTzJ8AkXjiJZ3uXRD+2xzdV/BGEhzsO1JlyMxWNHnncqRDzmymfYuhg+9pS3gKMq/kqZE54pBp85sy1CjRIEmww2BfnKoKC23NEsrzk/IKc/PycRjzTzrudQoLCAi3BwH6mlH6eV5Bjjo3HEUIUitALoDBfpfDU0C+/IM+5gEAIB9ygCVGEXXeUrawpX2bcvIx2jzuPHJ167SQCA5yHZevR9w3s+9uxy9mnn+qMZQtYyFPb5Awwaek3BcUBkEg4jhQY8po2jcpyY8gtprAnuV3kTVCpPwKFOcgkIdgbrYzobJntokrTgKfUKjY4B/RvEBlRAjTT1m4Ppehk0fIxMcoI51KxO9Q3f1phaFEmHmhuNWQ2XNWknHMYpq+YePGytXhnpPkYalNGSEgwkuIOQyq11V721grjjeng0QrjqgGJKs0SSqmF/ynyfUxk+CjLfAlJWR0BYmWFKZVyHevVDPvbmk7zHUBHFv9GCPkzWhkuWOPZVVvFPPcnwFQI5lE1qrlD9jA1/bSkUy7Zl52TiwYPdkBhUZFD2u0blqBta9u6/AcwSZrzFNR8PcxR8mqDqHCm2m9O8Uma/gTUKjY4R0h0A2W4lcbfxWuaQTyhC8yAAbkQHRne2OVI3QECfwIME7pWr9sC+QUFdjkZFhqK5MR/BHH5taEfOtUa+GT0u/hk9Ds2ZfkFYG7coIo8gyabUpiDHUqItGl9ZYjV/WJikmYUBbW66A+RhgfXrEmsLJsuqXIfMlD9mZIVBoZgSXhYaTpBI+chkb8BpknLJ6BKvmGXa1WrVMbFs/sFcXT7rv3o8/Iwh7SO1GT8AjCJydmPUp4/ZMGdwmhleCghRG+11VKpp4HiI4vfNDGRETbG4JRSaaJKk8Ni9ZhBw3HtomuHHRY0Wl4kEgsYL1bt9aJcWVyyCnv1HYBz5+x78K9Zswb27NwqqF16gwGxnZ9Eerr9y01mffnv4QNQKIIElceIfKl0y+q7Y2eY+CTNOwS05NqDkKMxyvDWpTmRqNIsppRanEXIhRgHW60ElYb5I21VXAYFGd4wMtxzTwqCh8dE6G+AGfzW2zhwwPLdV8KwunXqYOtm4VpKX0+bjt//cKxs+cu8n9Gh/WOCR6TMACZRlT2PUr7E0Jtw82KUYUNLcyL+mno3ISi5hiFkV4wy/Al7HEtQZc8F5d8q2ZZx86OVYebvgrnsIaG/Aeaj/43Fhr/smxs3bBiDDWtXCubohbg49OzVzyH9kMGv46MPzXc7LsstO4BJ0hyloC3Nkxt4JzoyYnZpDiRcU8eBwOxTlFK6uGFUhVfscSoxSf02BcwrCgE5Fh0Zbl5xXHLXSwRiAXM/ayuztn88/mv8PM/qrsbMyRbNH8KeLVYSAJdcZnKd/87H26Vr3uxB7NtmrR1d5s8w7LxxUZWdQ0Etzhvk0eja4TaSq4Qko4cFs5iYI9y0Bsqw/9kFTLKmLeWp+cxCQAobKMNszkUuR8xDAn8DzLTv5mDy1B/tcq1d25bYus4+mByxedacBRg7cardxxzH4VrcYSt1/zIPmMuqzKZ6ylnatRpCpPlhNWvWtLr5unmTBmdrNbmWnCOUjIqOCv/eHjdv3LihyNUrspmzjOLnUsI3q6esaL498xALgrL7G2B+W7gcI8fYVw5/PPYxrFvO3DcIT2npGWj4cGfo9Vb3P+YCmMSfSf6LU5kHTPy17FcJ4f8o2Y6R89GR4Taepy+pNNEGShOsAYN+0VERDi2WEpM05yioWf5CKfdaw6gws3xG+LC5T+lvgNmwaQcGDravgNm9a2csX2hfpcUZh/u/+i42b9ttl2T40Ffx1eclm4wyD5jEJM131FoqvyRaGW7tuMqo7pIVSynZa8k1Cr5jw8iKVlJ+y+elb9UIyPfRpbQH3IeCsJz+BphDR46jW0+7x0qj4RczABObNm7ZhZdef89uNmaMxozS/GaFSVSp91KKWAtufBQTGTG9NHcuXtf05w3WUn4CNIiOjHAYhTQhST0agFmHjBDsi1ZGlOiYiR05N+j9DTDxiZfRqoOVzZ+Za/369MD8WfbPI85Yq9Pp0fDhTmDumEondo5hZssRtzWgy/QKw1T5L6o0WZbq+pTiiYZRETYWQolJ2R9Q8DMsGRakDFcoCbGvhwEg/pq6CyEwO7MigKaBMrwCU/l3Y+67lcXfAMNC9tVp1M4ur159uQ9mznBsLemMwWMnTMOsueaduxXp0j9m4ZluJpvCMg2YxCR1fQqY9cDYRA4MC6usDCc2r5KEJDVbKdiKUZzUMZERFZwxWaXSVCwE0i1tbFytSm6hwkkmR4Cxp9rPirnfr5WZM75KymYwGGw99Qr1XmmPnefjEtG2k6UxbgmV5TmmbAMmWd2H8jBLsgjBtWhlhN1wuglJmiWAlTbz+Rg7lwOlmZ2oUl+lFGaLS8Khb3TtCLNFprcBUro8fwMM6z/zYpmaZutc/L23X8eUCZaaTeK437l7Pxw/aWu+3Oyhxvh7h2lIyzZgktRTKGCOY0kI1kUrI+xaICUkqZl715LzB8WumKgIu1J+y2FIVKnXUgqzTT8BvoyOjHBsbCFuDF1SiwWMywLvIoEQXTLWvB49+yAhwcpsydjqYUOHYNT79g/vQrq1bPkqTPj8CxtSdo759/DfCA1lLrcdp/te0p+g0myCRWhx5jGmYVQFu5f4CSpNHCg1S/kJIYuileGDXDE6/lrWBOY5xkxHyOYYZbjZq4yr/J4+90fAvPbGWzh8xFaNf8S772D4OzYaT4JZnJubi/Ydu9gNqTF39kx0irX1qGlZuM8Bc+PGZa86k8jVVzwGwOwRQQLD4CCpxq5LkFxDxXOgCC5mAOEwO5jLdHnlUqAP72KA5FcLxqWHSDPNajiCR8tNwlx9xav2sjo6w9ymTeCobjTR3bpjQlaDvLbddjnrptAV5oPRH2PTZlsPmLVrVv1q7+bf57rJSmO2Zu36TM3LLzArmAVWqo+qD/dD96c6Y1T3CiASx/F1JNpku9t9T9rjLO8d01a+Uw0uL/fucCCoSqPvCYGN9JJS8n5B2nn7ejMCmxpUpUl7TsL9HRHdBVWbD0CYspXRNZA+Lz394IQq91SI4HLACBxUfydTVGs8FpROseUDHZafGufRCtNxOh1nyM+YKFVUMqs86fLSaW7y0U1n5j/teahlLw5eOWC8yMyyXJSiWqMhoLBRGiOUvpaXFueRalLsdPongAGMfwUZl6G4sARtcw4e/XrXNhv7qbvN43sCMGcSUyy1Asw8aRpdw+gcw9FzMcwrLktMnnLaEg4oqjV8DpSzsRSjPAYUpF9Y5gmvOs2gbXke069tm8A9l7enaYNQWXCAhKMNK4ZFdl6yxqHfO0/qdDfvPQEYdxtfns93HIj9xpBm0BVUpgYteH0ReL0W1FAEWXDl/w5+VvEhIS1JSbli98VYnLdGjbr7furWZVGYXDawYlAAgmTSMY8vXn1XXGk56k+ZBYw3ViV7TLvXVipXk1DIRHZGwyYxex47nf4LwJ6xXuK+0cR5CDERjdjzWs8IXsvdvJRTGDDt7HXt9QLtmIJbF34QUcQdJS2zgLmjXPPHwmu2UCj0+SxYr1XiCN8l91a8fT19kXwqBv9Xg975fuHZaw9reZN6YLWqlfYe2rGoRO4motxiwIvI4pS0HDDe4qSflDPrqS5aA6UyAtAR23dz3u52gyffH3vj9HYWrcE0Nyl0lCOjC255dnXtrXaWA8ZbnPSTcna/3PsyBa0LILPLkjWVvN3tyk2emp+fljTEVC5N43j0zU2Ps/KM6u06xZRXDhgx3Cqnxe6Xe12gYKFJSF6XJaudK3qJ5xdRVG3ETNvZJcI5nqPPFt6ME629IL5a4TnKNGAopfLkbIRIDAgBj2BQnUJPiUIqQRD7JNSgAIgCBIGUkkCOIIAHH0gIFwBKAkH5QEogJwRyUCKn4OWEcDJCIQeBnFLIACoFAfOgLQX7TnH7O5UCHAdQCQjhQKkEIKbvAGf8m4DAFAqEEGIcCnLbbMH4m3FDAtDbtj70dtADCmb7w/6B8gB4gBiMfxNiAGW/se8sogLRg0IPYvyvA2D6DqIn7DuFlhJoKeV1BJwWhGophZZQaEG4QhBaSClfxIEr/HbR1mZrli2unp/8X6tcHW92bhJdv/6cLRvW/AIiyweHPIMEubXDkEsI0QqfhibK4KqNXqEA86hxOF9X1B1Zl5mDlHsq3dOASU2lIQYZKuv0usrgSCUJIRUBvgLlSQVKEMGBhPOgEaB8OEDCKBBGYAyJEUKBEAI2ocuTOxw4dfoMzp0/j/j4RJw5+x/i4uJZGBKbotq0boWFf9jGwKSAjgDMwUkuBXIIkA3QbBBOw4GoeVANoVATjmYBXJaB0syWrR79SSaX33rhuef7zpr2P/u+ad3pjBfz3BXAUEq5lCzUNhj0dQmhUQBRArQWBalBCGoAtBqlqAZAuM9QLzKlvCjgzaHDceCgydslc+Eqk8nNoSiYIRn7r9PpUCEiAn/vMxvAepN1BYTgFkBuUYoUApoCEBYcWEUpuSaRSK/UqIBkQghbZX2W7jhgKKWylCx9WwOPdoTQhylIE0IRbemzzGe9La+oTHGA+aWjBIkE9Byl5JSEw6EaFaRHCCFs+3lH0h0FTHK6bjIFhoNtm8pTOQd8wgGiJsBPtSvLrAIPe6vqOw8YguGg5YDx1oCVl+OCA4SoCb1PAcO6Zt6SAe0IpQ9TigcBRANwHhSxfGaUc8A1B1g4s0RC8B8l5JQE9/mWzFF/iw/9hOjrGkCiYKDmQz9AaxKCqpSSagAtP/S7njRllIIUEELZgT+VgqZwIDeMh34JUUlAr1FaRg/9noxm8bUy1esq6+1cK5vORiS8/FrZEy7fmbzOrpUBqgGImhCoCUqulaU8zSBSWbpEh/SqVYmVz+0700rxpd7RM4z45ng3hz3BJSREoadQSDkSZKBQgPIKUAeCS8IHMiElE16aBZeAnICTWQouCYHUJMQ0Ci9vCy6JlIJKOJOAkqNMcGkrwCTMFJdYCCwtBZilBZbsO5NWwiQPoaUFlsQouGQSS8oTkzCzRHAJGIWVtLTgEryOAtpiwSUTWjJhJqi14JKnKCKEFoKgEITLlxDk63laICXIh4Hme0Nw6d3RvzOl/R8AdGoXzom1qQAAAABJRU5ErkJggg=="},16722:function(It,Fe,l){"use strict";l.d(Fe,{Z:function(){return G}});const T=e=>typeof e=="object"&&e!=null&&e.nodeType===1,A=(e,s)=>(!s||e!=="hidden")&&e!=="visible"&&e!=="clip",j=(e,s)=>{if(e.clientHeight<e.scrollHeight||e.clientWidth<e.scrollWidth){const c=getComputedStyle(e,null);return A(c.overflowY,s)||A(c.overflowX,s)||(t=>{const r=(i=>{if(!i.ownerDocument||!i.ownerDocument.defaultView)return null;try{return i.ownerDocument.defaultView.frameElement}catch(o){return null}})(t);return!!r&&(r.clientHeight<t.scrollHeight||r.clientWidth<t.scrollWidth)})(e)}return!1},X=(e,s,c,t,r,i,o,v)=>i<e&&o>s||i>e&&o<s?0:i<=e&&v<=c||o>=s&&v>=c?i-e-t:o>s&&v<c||i<e&&v>c?o-s+r:0,V=e=>{const s=e.parentElement;return s==null?e.getRootNode().host||null:s},h=(e,s)=>{var c,t,r,i;if(typeof document=="undefined")return[];const{scrollMode:o,block:v,inline:b,boundary:S,skipOverflowHiddenElements:p}=s,m=typeof S=="function"?S:de=>de!==S;if(!T(e))throw new TypeError("Invalid target");const f=document.scrollingElement||document.documentElement,u=[];let k=e;for(;T(k)&&m(k);){if(k=V(k),k===f){u.push(k);break}k!=null&&k===document.body&&j(k)&&!j(document.documentElement)||k!=null&&j(k,p)&&u.push(k)}const I=(t=(c=window.visualViewport)==null?void 0:c.width)!=null?t:innerWidth,F=(i=(r=window.visualViewport)==null?void 0:r.height)!=null?i:innerHeight,{scrollX:K,scrollY:Y}=window,{height:W,width:Pe,top:w,right:_,bottom:x,left:N}=e.getBoundingClientRect(),{top:C,right:y,bottom:n,left:a}=(de=>{const ye=window.getComputedStyle(de);return{top:parseFloat(ye.scrollMarginTop)||0,right:parseFloat(ye.scrollMarginRight)||0,bottom:parseFloat(ye.scrollMarginBottom)||0,left:parseFloat(ye.scrollMarginLeft)||0}})(e);let d=v==="start"||v==="nearest"?w-C:v==="end"?x+n:w+W/2-C+n,M=b==="center"?N+Pe/2-a+y:b==="end"?_+y:N-a;const ae=[];for(let de=0;de<u.length;de++){const ye=u[de],{height:Ae,width:He,top:mt,right:be,bottom:Ge,left:ut}=ye.getBoundingClientRect();if(o==="if-needed"&&w>=0&&N>=0&&x<=F&&_<=I&&(ye===f&&!j(ye)||w>=mt&&x<=Ge&&N>=ut&&_<=be))return ae;const Et=getComputedStyle(ye),st=parseInt(Et.borderLeftWidth,10),we=parseInt(Et.borderTopWidth,10),E=parseInt(Et.borderRightWidth,10),B=parseInt(Et.borderBottomWidth,10);let O=0,q=0;const ie="offsetWidth"in ye?ye.offsetWidth-ye.clientWidth-st-E:0,R="offsetHeight"in ye?ye.offsetHeight-ye.clientHeight-we-B:0,g="offsetWidth"in ye?ye.offsetWidth===0?0:He/ye.offsetWidth:0,P="offsetHeight"in ye?ye.offsetHeight===0?0:Ae/ye.offsetHeight:0;if(f===ye)O=v==="start"?d:v==="end"?d-F:v==="nearest"?X(Y,Y+F,F,we,B,Y+d,Y+d+W,W):d-F/2,q=b==="start"?M:b==="center"?M-I/2:b==="end"?M-I:X(K,K+I,I,st,E,K+M,K+M+Pe,Pe),O=Math.max(0,O+Y),q=Math.max(0,q+K);else{O=v==="start"?d-mt-we:v==="end"?d-Ge+B+R:v==="nearest"?X(mt,Ge,Ae,we,B+R,d,d+W,W):d-(mt+Ae/2)+R/2,q=b==="start"?M-ut-st:b==="center"?M-(ut+He/2)+ie/2:b==="end"?M-be+E+ie:X(ut,be,He,st,E+ie,M,M+Pe,Pe);const{scrollLeft:z,scrollTop:D}=ye;O=P===0?0:Math.max(0,Math.min(D+O/P,ye.scrollHeight-Ae/P+R)),q=g===0?0:Math.max(0,Math.min(z+q/g,ye.scrollWidth-He/g+ie)),d+=D-O,M+=z-q}ae.push({el:ye,top:O,left:q})}return ae},$=e=>e===!1?{block:"end",inline:"nearest"}:(s=>s===Object(s)&&Object.keys(s).length!==0)(e)?e:{block:"start",inline:"nearest"};function G(e,s){if(!e.isConnected||!(r=>{let i=r;for(;i&&i.parentNode;){if(i.parentNode===document)return!0;i=i.parentNode instanceof ShadowRoot?i.parentNode.host:i.parentNode}return!1})(e))return;const c=(r=>{const i=window.getComputedStyle(r);return{top:parseFloat(i.scrollMarginTop)||0,right:parseFloat(i.scrollMarginRight)||0,bottom:parseFloat(i.scrollMarginBottom)||0,left:parseFloat(i.scrollMarginLeft)||0}})(e);if((r=>typeof r=="object"&&typeof r.behavior=="function")(s))return s.behavior(h(e,s));const t=typeof s=="boolean"||s==null?void 0:s.behavior;for(const{el:r,top:i,left:o}of h(e,$(s))){const v=i-c.top+c.bottom,b=o-c.left+c.right;r.scroll({top:v,left:b,behavior:t})}}}}]);