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__Trai...

1 line
537 KiB

This file contains invisible Unicode characters!

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

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

(self.webpackChunk=self.webpackChunk||[]).push([[9649],{65030:function(e,t,n){"use strict";n.d(t,{Z:function(){return q}});var r=n(33885),i=n(42978),o=n(75931),a=n(43403),s=n(92310),u=n.n(s),c=n(29301),l=n(76846),d=n(96452),p=n(6089),f=n(80402),h=n(34280),_=n(49658),m=n(59301),v=n(54476),g=n(77900),y=n(8654);function b(e){var t=e.prefixCls,n=e.align,r=e.arrow,i=e.arrowPos,o=r||{},a=o.className,s=o.content,c=i.x,l=void 0===c?0:c,d=i.y,p=void 0===d?0:d,f=m.useRef();if(!n||!n.points)return null;var h={position:"absolute"};if(!1!==n.autoArrow){var _=n.points[0],v=n.points[1],g=_[0],y=_[1],b=v[0],w=v[1];g!==b&&["t","b"].includes(g)?"t"===g?h.top=0:h.bottom=0:h.top=p,y!==w&&["l","r"].includes(y)?"l"===y?h.left=0:h.right=0:h.left=l}return m.createElement("div",{ref:f,className:u()("".concat(t,"-arrow"),a),style:h},s)}function w(e){var t=e.prefixCls,n=e.open,r=e.zIndex,i=e.mask,o=e.motion;return i?m.createElement(g.default,(0,v.Z)({},o,{motionAppear:!0,visible:n,removeOnLeave:!0}),(function(e){var n=e.className;return m.createElement("div",{style:{zIndex:r},className:u()("".concat(t,"-mask"),n)})})):null}var x=m.memo((function(e){return e.children}),(function(e,t){return t.cache}));var C=m.forwardRef((function(e,t){var n=e.popup,o=e.className,a=e.prefixCls,s=e.style,l=e.target,d=e.onVisibleChanged,p=e.open,f=e.keepDom,_=e.fresh,C=e.onClick,k=e.mask,E=e.arrow,N=e.arrowPos,Z=e.align,S=e.motion,R=e.maskMotion,O=e.forceRender,A=e.getPopupContainer,T=e.autoDestroy,D=e.portal,P=e.zIndex,I=e.onMouseEnter,M=e.onMouseLeave,L=e.onPointerEnter,K=e.onPointerDownCapture,j=e.ready,z=e.offsetX,B=e.offsetY,F=e.offsetR,W=e.offsetB,V=e.onAlign,H=e.onPrepare,U=e.stretch,q=e.targetWidth,Y=e.targetHeight,G="function"==typeof n?n():n,X=p||f,J=(null==A?void 0:A.length)>0,Q=m.useState(!A||!J),$=(0,i.Z)(Q,2),ee=$[0],te=$[1];if((0,h.Z)((function(){!ee&&J&&l&&te(!0)}),[ee,J,l]),!ee)return null;var ne="auto",re={left:"-1000vw",top:"-1000vh",right:ne,bottom:ne};if(j||!p){var ie,oe=Z.points,ae=Z.dynamicInset||(null===(ie=Z._experimental)||void 0===ie?void 0:ie.dynamicInset),se=ae&&"r"===oe[0][1],ue=ae&&"b"===oe[0][0];se?(re.right=F,re.left=ne):(re.left=z,re.right=ne),ue?(re.bottom=W,re.top=ne):(re.top=B,re.bottom=ne)}var ce={};return U&&(U.includes("height")&&Y?ce.height=Y:U.includes("minHeight")&&Y&&(ce.minHeight=Y),U.includes("width")&&q?ce.width=q:U.includes("minWidth")&&q&&(ce.minWidth=q)),p||(ce.pointerEvents="none"),m.createElement(D,{open:O||X,getContainer:A&&function(){return A(l)},autoDestroy:T},m.createElement(w,{prefixCls:a,open:p,zIndex:P,mask:k,motion:R}),m.createElement(c.Z,{onResize:V,disabled:!p},(function(e){return m.createElement(g.default,(0,v.Z)({motionAppear:!0,motionEnter:!0,motionLeave:!0,removeOnLeave:!1,forceRender:O,leavedClassName:"".concat(a,"-hidden")},S,{onAppearPrepare:H,onEnterPrepare:H,visible:p,onVisibleChanged:function(e){var t;null==S||null===(t=S.onVisibleChanged)||void 0===t||t.call(S,e),d(e)}}),(function(n,i){var c=n.className,l=n.style,d=u()(a,c,o);return m.createElement("div",{ref:(0,y.sQ)(e,t,i),className:d,style:(0,r.Z)((0,r.Z)((0,r.Z)((0,r.Z)({"--arrow-x":"".concat(N.x||0,"px"),"--arrow-y":"".concat(N.y||0,"px")},re),ce),l),{},{boxSizing:"border-box",zIndex:P},s),onMouseEnter:I,onMouseLeave:M,onPointerEnter:L,onClick:C,onPointerDownCapture:K},E&&m.createElement(b,{prefixCls:a,arrow:E,arrowPos:N,align:Z}),m.createElement(x,{cache:!p&&!_},G))}))})))}));var k=m.forwardRef((function(e,t){var n=e.children,r=e.getTriggerDOMNode,i=(0,y.Yr)(n),o=m.useCallback((function(e){(0,y.mH)(t,r?r(e):e)}),[r]),a=(0,y.x1)(o,(0,y.C4)(n));return i?m.cloneElement(n,{ref:a}):n})),E=m.createContext(null);function N(e){return e?Array.isArray(e)?e:[e]:[]}function Z(e,t,n,r){return m.useMemo((function(){var i=N(null!=n?n:t),o=N(null!=r?r:t),a=new Set(i),s=new Set(o);return e&&(a.has("hover")&&(a.delete("hover"),a.add("click")),s.has("hover")&&(s.delete("hover"),s.add("click"))),[a,s]}),[e,t,n,r])}var S=n(29194);function R(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>2?arguments[2]:void 0;return n?e[0]===t[0]:e[0]===t[0]&&e[1]===t[1]}function O(e,t,n,r){for(var i=n.points,o=Object.keys(e),a=0;a<o.length;a+=1){var s,u=o[a];if(R(null===(s=e[u])||void 0===s?void 0:s.points,i,r))return"".concat(t,"-placement-").concat(u)}return""}function A(e,t,n,r){return t||(n?{motionName:"".concat(e,"-").concat(n)}:r?{motionName:r}:null)}function T(e){return e.ownerDocument.defaultView}function D(e){for(var t=[],n=null==e?void 0:e.parentElement,r=["hidden","scroll","clip","auto"];n;){var i=T(n).getComputedStyle(n);[i.overflowX,i.overflowY,i.overflow].some((function(e){return r.includes(e)}))&&t.push(n),n=n.parentElement}return t}function P(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;return Number.isNaN(e)?t:e}function I(e){return P(parseFloat(e),0)}function M(e,t){var n=(0,r.Z)({},e);return(t||[]).forEach((function(e){if(!(e instanceof HTMLBodyElement||e instanceof HTMLHtmlElement)){var t=T(e).getComputedStyle(e),r=t.overflow,i=t.overflowClipMargin,o=t.borderTopWidth,a=t.borderBottomWidth,s=t.borderLeftWidth,u=t.borderRightWidth,c=e.getBoundingClientRect(),l=e.offsetHeight,d=e.clientHeight,p=e.offsetWidth,f=e.clientWidth,h=I(o),_=I(a),m=I(s),v=I(u),g=P(Math.round(c.width/p*1e3)/1e3),y=P(Math.round(c.height/l*1e3)/1e3),b=(p-f-m-v)*g,w=(l-d-h-_)*y,x=h*y,C=_*y,k=m*g,E=v*g,N=0,Z=0;if("clip"===r){var S=I(i);N=S*g,Z=S*y}var R=c.x+k-N,O=c.y+x-Z,A=R+c.width+2*N-k-E-b,D=O+c.height+2*Z-x-C-w;n.left=Math.max(n.left,R),n.top=Math.max(n.top,O),n.right=Math.min(n.right,A),n.bottom=Math.min(n.bottom,D)}})),n}function L(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n="".concat(t),r=n.match(/^(.*)\%$/);return r?e*(parseFloat(r[1])/100):parseFloat(n)}function K(e,t){var n=t||[],r=(0,i.Z)(n,2),o=r[0],a=r[1];return[L(e.width,o),L(e.height,a)]}function j(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return[e[0],e[1]]}function z(e,t){var n,r=t[0],i=t[1];return n="t"===r?e.y:"b"===r?e.y+e.height:e.y+e.height/2,{x:"l"===i?e.x:"r"===i?e.x+e.width:e.x+e.width/2,y:n}}function B(e,t){var n={t:"b",b:"t",l:"r",r:"l"};return e.map((function(e,r){return r===t?n[e]||"c":e})).join("")}function F(e,t,n,o,a,s,u){var c=m.useState({ready:!1,offsetX:0,offsetY:0,offsetR:0,offsetB:0,arrowX:0,arrowY:0,scaleX:1,scaleY:1,align:a[o]||{}}),d=(0,i.Z)(c,2),f=d[0],_=d[1],v=m.useRef(0),g=m.useMemo((function(){return t?D(t):[]}),[t]),y=m.useRef({});e||(y.current={});var b=(0,p.Z)((function(){if(t&&n&&e){var c,d,p,f,h,m=t,v=m.ownerDocument,b=T(m),w=b.getComputedStyle(m).position,x=m.style.left,C=m.style.top,k=m.style.right,E=m.style.bottom,N=m.style.overflow,Z=(0,r.Z)((0,r.Z)({},a[o]),s),R=v.createElement("div");if(null===(c=m.parentElement)||void 0===c||c.appendChild(R),R.style.left="".concat(m.offsetLeft,"px"),R.style.top="".concat(m.offsetTop,"px"),R.style.position=w,R.style.height="".concat(m.offsetHeight,"px"),R.style.width="".concat(m.offsetWidth,"px"),m.style.left="0",m.style.top="0",m.style.right="auto",m.style.bottom="auto",m.style.overflow="hidden",Array.isArray(n))h={x:n[0],y:n[1],width:0,height:0};else{var O,A,D=n.getBoundingClientRect();D.x=null!==(O=D.x)&&void 0!==O?O:D.left,D.y=null!==(A=D.y)&&void 0!==A?A:D.top,h={x:D.x,y:D.y,width:D.width,height:D.height}}var I=m.getBoundingClientRect(),L=b.getComputedStyle(m),F=L.height,W=L.width;I.x=null!==(d=I.x)&&void 0!==d?d:I.left,I.y=null!==(p=I.y)&&void 0!==p?p:I.top;var V=v.documentElement,H=V.clientWidth,U=V.clientHeight,q=V.scrollWidth,Y=V.scrollHeight,G=V.scrollTop,X=V.scrollLeft,J=I.height,Q=I.width,$=h.height,ee=h.width,te={left:0,top:0,right:H,bottom:U},ne={left:-X,top:-G,right:q-X,bottom:Y-G},re=Z.htmlRegion,ie="visible",oe="visibleFirst";"scroll"!==re&&re!==oe&&(re=ie);var ae=re===oe,se=M(ne,g),ue=M(te,g),ce=re===ie?ue:se,le=ae?ue:ce;m.style.left="auto",m.style.top="auto",m.style.right="0",m.style.bottom="0";var de=m.getBoundingClientRect();m.style.left=x,m.style.top=C,m.style.right=k,m.style.bottom=E,m.style.overflow=N,null===(f=m.parentElement)||void 0===f||f.removeChild(R);var pe=P(Math.round(Q/parseFloat(W)*1e3)/1e3),fe=P(Math.round(J/parseFloat(F)*1e3)/1e3);if(0===pe||0===fe||(0,l.Sh)(n)&&!(0,S.Z)(n))return;var he=Z.offset,_e=Z.targetOffset,me=K(I,he),ve=(0,i.Z)(me,2),ge=ve[0],ye=ve[1],be=K(h,_e),we=(0,i.Z)(be,2),xe=we[0],Ce=we[1];h.x-=xe,h.y-=Ce;var ke=Z.points||[],Ee=(0,i.Z)(ke,2),Ne=Ee[0],Ze=j(Ee[1]),Se=j(Ne),Re=z(h,Ze),Oe=z(I,Se),Ae=(0,r.Z)({},Z),Te=Re.x-Oe.x+ge,De=Re.y-Oe.y+ye;function Nt(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:ce,r=I.x+e,i=I.y+t,o=r+Q,a=i+J,s=Math.max(r,n.left),u=Math.max(i,n.top),c=Math.min(o,n.right),l=Math.min(a,n.bottom);return Math.max(0,(c-s)*(l-u))}var Pe,Ie,Me,Le,Ke=Nt(Te,De),je=Nt(Te,De,ue),ze=z(h,["t","l"]),Be=z(I,["t","l"]),Fe=z(h,["b","r"]),We=z(I,["b","r"]),Ve=Z.overflow||{},He=Ve.adjustX,Ue=Ve.adjustY,qe=Ve.shiftX,Ye=Ve.shiftY,Ge=function(e){return"boolean"==typeof e?e:e>=0};function Zt(){Pe=I.y+De,Ie=Pe+J,Me=I.x+Te,Le=Me+Q}Zt();var Xe=Ge(Ue),Je=Se[0]===Ze[0];if(Xe&&"t"===Se[0]&&(Ie>le.bottom||y.current.bt)){var Qe=De;Je?Qe-=J-$:Qe=ze.y-We.y-ye;var $e=Nt(Te,Qe),et=Nt(Te,Qe,ue);$e>Ke||$e===Ke&&(!ae||et>=je)?(y.current.bt=!0,De=Qe,ye=-ye,Ae.points=[B(Se,0),B(Ze,0)]):y.current.bt=!1}if(Xe&&"b"===Se[0]&&(Pe<le.top||y.current.tb)){var tt=De;Je?tt+=J-$:tt=Fe.y-Be.y-ye;var nt=Nt(Te,tt),rt=Nt(Te,tt,ue);nt>Ke||nt===Ke&&(!ae||rt>=je)?(y.current.tb=!0,De=tt,ye=-ye,Ae.points=[B(Se,0),B(Ze,0)]):y.current.tb=!1}var it=Ge(He),ot=Se[1]===Ze[1];if(it&&"l"===Se[1]&&(Le>le.right||y.current.rl)){var at=Te;ot?at-=Q-ee:at=ze.x-We.x-ge;var st=Nt(at,De),ut=Nt(at,De,ue);st>Ke||st===Ke&&(!ae||ut>=je)?(y.current.rl=!0,Te=at,ge=-ge,Ae.points=[B(Se,1),B(Ze,1)]):y.current.rl=!1}if(it&&"r"===Se[1]&&(Me<le.left||y.current.lr)){var ct=Te;ot?ct+=Q-ee:ct=Fe.x-Be.x-ge;var lt=Nt(ct,De),dt=Nt(ct,De,ue);lt>Ke||lt===Ke&&(!ae||dt>=je)?(y.current.lr=!0,Te=ct,ge=-ge,Ae.points=[B(Se,1),B(Ze,1)]):y.current.lr=!1}Zt();var pt=!0===qe?0:qe;"number"==typeof pt&&(Me<ue.left&&(Te-=Me-ue.left-ge,h.x+ee<ue.left+pt&&(Te+=h.x-ue.left+ee-pt)),Le>ue.right&&(Te-=Le-ue.right-ge,h.x>ue.right-pt&&(Te+=h.x-ue.right+pt)));var ft=!0===Ye?0:Ye;"number"==typeof ft&&(Pe<ue.top&&(De-=Pe-ue.top-ye,h.y+$<ue.top+ft&&(De+=h.y-ue.top+$-ft)),Ie>ue.bottom&&(De-=Ie-ue.bottom-ye,h.y>ue.bottom-ft&&(De+=h.y-ue.bottom+ft)));var ht=I.x+Te,_t=ht+Q,mt=I.y+De,vt=mt+J,gt=h.x,yt=gt+ee,bt=h.y,wt=bt+$,xt=(Math.max(ht,gt)+Math.min(_t,yt))/2-ht,Ct=(Math.max(mt,bt)+Math.min(vt,wt))/2-mt;null==u||u(t,Ae);var kt=de.right-I.x-(Te+I.width),Et=de.bottom-I.y-(De+I.height);1===pe&&(Te=Math.round(Te),kt=Math.round(kt)),1===fe&&(De=Math.round(De),Et=Math.round(Et)),_({ready:!0,offsetX:Te/pe,offsetY:De/fe,offsetR:kt/pe,offsetB:Et/fe,arrowX:xt/pe,arrowY:Ct/fe,scaleX:pe,scaleY:fe,align:Ae})}})),w=function(){_((function(e){return(0,r.Z)((0,r.Z)({},e),{},{ready:!1})}))};return(0,h.Z)(w,[o]),(0,h.Z)((function(){e||w()}),[e]),[f.ready,f.offsetX,f.offsetY,f.offsetR,f.offsetB,f.arrowX,f.arrowY,f.scaleX,f.scaleY,f.align,function(){v.current+=1;var e=v.current;Promise.resolve().then((function(){v.current===e&&b()}))}]}var W=n(94480);function V(e,t,n,r,i){(0,h.Z)((function(){if(e&&t&&n){var o=n,a=D(t),s=D(o),u=T(o),c=new Set([u].concat((0,W.Z)(a),(0,W.Z)(s)));function l(){r(),i()}return c.forEach((function(e){e.addEventListener("scroll",l,{passive:!0})})),u.addEventListener("resize",l,{passive:!0}),r(),function(){c.forEach((function(e){e.removeEventListener("scroll",l),u.removeEventListener("resize",l)}))}}}),[e,t,n])}n(48736);function H(e,t,n,r,i,o,a,s){var u=m.useRef(e);u.current=e;var c=m.useRef(!1);return m.useEffect((function(){if(t&&r&&(!i||o)){var e=function(){c.current=!1},l=function(e){var t;!u.current||a((null===(t=e.composedPath)||void 0===t||null===(t=t.call(e))||void 0===t?void 0:t[0])||e.target)||c.current||s(!1)},p=T(r);p.addEventListener("pointerdown",e,!0),p.addEventListener("mousedown",l,!0),p.addEventListener("contextmenu",l,!0);var f=(0,d.A)(n);return f&&(f.addEventListener("mousedown",l,!0),f.addEventListener("contextmenu",l,!0)),function(){p.removeEventListener("pointerdown",e,!0),p.removeEventListener("mousedown",l,!0),p.removeEventListener("contextmenu",l,!0),f&&(f.removeEventListener("mousedown",l,!0),f.removeEventListener("contextmenu",l,!0))}}}),[t,n,r,i,o]),function(){c.current=!0}}var U=["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"];var q=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:a.Z,t=m.forwardRef((function(t,n){var a=t.prefixCls,s=void 0===a?"rc-trigger-popup":a,v=t.children,g=t.action,y=void 0===g?"hover":g,b=t.showAction,w=t.hideAction,x=t.popupVisible,N=t.defaultPopupVisible,S=t.onPopupVisibleChange,R=t.afterPopupVisibleChange,T=t.mouseEnterDelay,D=t.mouseLeaveDelay,P=void 0===D?.1:D,I=t.focusDelay,M=t.blurDelay,L=t.mask,K=t.maskClosable,j=void 0===K||K,z=t.getPopupContainer,B=t.forceRender,W=t.autoDestroy,q=t.destroyPopupOnHide,Y=t.popup,G=t.popupClassName,X=t.popupStyle,J=t.popupPlacement,Q=t.builtinPlacements,$=void 0===Q?{}:Q,ee=t.popupAlign,te=t.zIndex,ne=t.stretch,re=t.getPopupClassNameFromAlign,ie=t.fresh,oe=t.alignPoint,ae=t.onPopupClick,se=t.onPopupAlign,ue=t.arrow,ce=t.popupMotion,le=t.maskMotion,de=t.popupTransitionName,pe=t.popupAnimation,fe=t.maskTransitionName,he=t.maskAnimation,_e=t.className,me=t.getTriggerDOMNode,ve=(0,o.Z)(t,U),ge=W||q||!1,ye=m.useState(!1),be=(0,i.Z)(ye,2),we=be[0],xe=be[1];(0,h.Z)((function(){xe((0,_.Z)())}),[]);var Ce=m.useRef({}),ke=m.useContext(E),Ee=m.useMemo((function(){return{registerSubPopup:function(e,t){Ce.current[e]=t,null==ke||ke.registerSubPopup(e,t)}}}),[ke]),Ne=(0,f.Z)(),Ze=m.useState(null),Se=(0,i.Z)(Ze,2),Re=Se[0],Oe=Se[1],Ae=m.useRef(null),Te=(0,p.Z)((function(e){Ae.current=e,(0,l.Sh)(e)&&Re!==e&&Oe(e),null==ke||ke.registerSubPopup(Ne,e)})),De=m.useState(null),Pe=(0,i.Z)(De,2),Ie=Pe[0],Me=Pe[1],Le=m.useRef(null),Ke=(0,p.Z)((function(e){(0,l.Sh)(e)&&Ie!==e&&(Me(e),Le.current=e)})),je=m.Children.only(v),ze=(null==je?void 0:je.props)||{},Be={},Fe=(0,p.Z)((function(e){var t,n,r=Ie;return(null==r?void 0:r.contains(e))||(null===(t=(0,d.A)(r))||void 0===t?void 0:t.host)===e||e===r||(null==Re?void 0:Re.contains(e))||(null===(n=(0,d.A)(Re))||void 0===n?void 0:n.host)===e||e===Re||Object.values(Ce.current).some((function(t){return(null==t?void 0:t.contains(e))||e===t}))})),We=A(s,ce,pe,de),Ve=A(s,le,he,fe),He=m.useState(N||!1),Ue=(0,i.Z)(He,2),qe=Ue[0],Ye=Ue[1],Ge=null!=x?x:qe,Xe=(0,p.Z)((function(e){void 0===x&&Ye(e)}));(0,h.Z)((function(){Ye(x||!1)}),[x]);var Je=m.useRef(Ge);Je.current=Ge;var Qe=m.useRef([]);Qe.current=[];var $e=(0,p.Z)((function(e){var t;Xe(e),(null!==(t=Qe.current[Qe.current.length-1])&&void 0!==t?t:Ge)!==e&&(Qe.current.push(e),null==S||S(e))})),et=m.useRef(),tt=function(){clearTimeout(et.current)},nt=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;tt(),0===t?$e(e):et.current=setTimeout((function(){$e(e)}),1e3*t)};m.useEffect((function(){return tt}),[]);var rt=m.useState(!1),it=(0,i.Z)(rt,2),ot=it[0],at=it[1];(0,h.Z)((function(e){e&&!Ge||at(!0)}),[Ge]);var st=m.useState(null),ut=(0,i.Z)(st,2),ct=ut[0],lt=ut[1],dt=m.useState(null),pt=(0,i.Z)(dt,2),ft=pt[0],ht=pt[1],_t=function(e){ht([e.clientX,e.clientY])},mt=F(Ge,Re,oe&&null!==ft?ft:Ie,J,$,ee,se),vt=(0,i.Z)(mt,11),gt=vt[0],yt=vt[1],bt=vt[2],wt=vt[3],xt=vt[4],Ct=vt[5],kt=vt[6],Et=vt[7],Nt=vt[8],Zt=vt[9],St=vt[10],Rt=Z(we,y,b,w),Ot=(0,i.Z)(Rt,2),At=Ot[0],Tt=Ot[1],Dt=At.has("click"),Pt=Tt.has("click")||Tt.has("contextMenu"),It=(0,p.Z)((function(){ot||St()}));V(Ge,Ie,Re,It,(function(){Je.current&&oe&&Pt&&nt(!1)})),(0,h.Z)((function(){It()}),[ft,J]),(0,h.Z)((function(){!Ge||null!=$&&$[J]||It()}),[JSON.stringify(ee)]);var Mt=m.useMemo((function(){var e=O($,s,Zt,oe);return u()(e,null==re?void 0:re(Zt))}),[Zt,re,$,s,oe]);m.useImperativeHandle(n,(function(){return{nativeElement:Le.current,popupElement:Ae.current,forceAlign:It}}));var Lt=m.useState(0),Kt=(0,i.Z)(Lt,2),jt=Kt[0],zt=Kt[1],Bt=m.useState(0),Ft=(0,i.Z)(Bt,2),Wt=Ft[0],Vt=Ft[1],Ht=function(){if(ne&&Ie){var e=Ie.getBoundingClientRect();zt(e.width),Vt(e.height)}};function Ut(e,t,n,r){Be[e]=function(i){var o;null==r||r(i),nt(t,n);for(var a=arguments.length,s=new Array(a>1?a-1:0),u=1;u<a;u++)s[u-1]=arguments[u];null===(o=ze[e])||void 0===o||o.call.apply(o,[ze,i].concat(s))}}(0,h.Z)((function(){ct&&(St(),ct(),lt(null))}),[ct]),(Dt||Pt)&&(Be.onClick=function(e){var t;Je.current&&Pt?nt(!1):!Je.current&&Dt&&(_t(e),nt(!0));for(var n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];null===(t=ze.onClick)||void 0===t||t.call.apply(t,[ze,e].concat(r))});var qt,Yt,Gt=H(Ge,Pt,Ie,Re,L,j,Fe,nt),Xt=At.has("hover"),Jt=Tt.has("hover");Xt&&(Ut("onMouseEnter",!0,T,(function(e){_t(e)})),Ut("onPointerEnter",!0,T,(function(e){_t(e)})),qt=function(e){(Ge||ot)&&null!=Re&&Re.contains(e.target)&&nt(!0,T)},oe&&(Be.onMouseMove=function(e){var t;null===(t=ze.onMouseMove)||void 0===t||t.call(ze,e)})),Jt&&(Ut("onMouseLeave",!1,P),Ut("onPointerLeave",!1,P),Yt=function(){nt(!1,P)}),At.has("focus")&&Ut("onFocus",!0,I),Tt.has("focus")&&Ut("onBlur",!1,M),At.has("contextMenu")&&(Be.onContextMenu=function(e){var t;Je.current&&Tt.has("contextMenu")?nt(!1):(_t(e),nt(!0)),e.preventDefault();for(var n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];null===(t=ze.onContextMenu)||void 0===t||t.call.apply(t,[ze,e].concat(r))}),_e&&(Be.className=u()(ze.className,_e));var Qt=m.useRef(!1);Qt.current||(Qt.current=B||Ge||ot);var $t=(0,r.Z)((0,r.Z)({},ze),Be),en={};["onContextMenu","onClick","onMouseDown","onTouchStart","onMouseEnter","onMouseLeave","onFocus","onBlur"].forEach((function(e){ve[e]&&(en[e]=function(){for(var t,n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];null===(t=$t[e])||void 0===t||t.call.apply(t,[$t].concat(r)),ve[e].apply(ve,r)})}));var tn=m.cloneElement(je,(0,r.Z)((0,r.Z)({},$t),en)),nn={x:Ct,y:kt},rn=ue?(0,r.Z)({},!0!==ue?ue:{}):null;return m.createElement(m.Fragment,null,m.createElement(c.Z,{disabled:!Ge,ref:Ke,onResize:function(){Ht(),It()}},m.createElement(k,{getTriggerDOMNode:me},tn)),Qt.current&&m.createElement(E.Provider,{value:Ee},m.createElement(C,{portal:e,ref:Te,prefixCls:s,popup:Y,className:u()(G,Mt),style:X,target:Ie,onMouseEnter:qt,onMouseLeave:Yt,onPointerEnter:qt,zIndex:te,open:Ge,keepDom:ot,fresh:ie,onClick:ae,onPointerDownCapture:Gt,mask:L,motion:We,maskMotion:Ve,onVisibleChanged:function(e){at(!1),St(),null==R||R(e)},onPrepare:function(){return new Promise((function(e){Ht(),lt((function(){return e}))}))},forceRender:B,autoDestroy:ge,getPopupContainer:z,align:Zt,arrow:rn,arrowPos:nn,ready:gt,offsetX:yt,offsetY:bt,offsetR:wt,offsetB:xt,onAlign:It,stretch:ne,targetWidth:jt/Et,targetHeight:Wt/Nt})))}));return t}(a.Z)},37286:function(e,t,n){"use strict";var r=n(82242),i=n.n(r),o=(n(59301),n(93314)),a=n(99571),s=n(37712);t.Z=function(e){var t=e.img,n=e.buttonProps,r=void 0===n?{}:n,u=e.styles,c=void 0===u?{}:u,l=e.customText,d=e.ButtonText,p=e.ButtonClick,f=e.Buttonclass,h=e.ButtonTwo,_=e.imgStyles,m=e.loading,v=void 0!==m&&m,g=e.className,y=void 0===g?"":g;return(0,s.jsxs)("section",{className:"tc animated fadeIn ".concat(y),style:i()({color:"#999",margin:"100px auto",visibility:v?"hidden":"visible"},c),children:[(0,s.jsx)("img",{src:t||o,style:i()(i()({},_),{},{pointerEvents:"none",userSelect:"none"})}),(0,s.jsx)("p",{className:"mt20 font14",children:l||"暂时还没有相关数据哦!"}),d&&(0,s.jsx)(a.ZP,i()(i()({className:f,onClick:p},r),{},{children:d})),h&&h]})}},92216:function(e,t,n){"use strict";n.d(t,{Z:function(){return C}});var r=n(82242),i=n.n(r),o=n(7557),a=n.n(o),s=n(41498),u=n.n(s),c=n(79800),l=n.n(c),d=n(59301),p={wrp:"wrp___dq7YK",bgBlack:"bgBlack___ARIUV",monaco:"monaco___VnZC3",darkBlue:"darkBlue___UprA9",close:"close___LKoWu",embed:"embed___hvpEJ"},f=n(99571),h=n(70557),_=n(50062),m=n(25399),v=n(30406),g=n(62928),y=n(37286),b=n(51200),w=n(12116),x=n(37712),C=function(e){var t,n,r,o,s,c,C=e.editOffice,k=void 0===C?"view":C,E=e.data,N=e.issaver,Z=e.onSaver,S=(e.theme,e.type),R=e.filename,O=e.monacoEditor,A=e.className,T=e.style,D=e.close,P=e.onClose,I=e.hasMask,M=e.disabledDownload,L=e.onImgDimensions,K=e.showNodata,j=e.recordInfo,z=(0,d.useState)("https://view.officeapps.live.com/op/view.aspx?src=http://testgs.educoder.net//rails/active_storage/blobs/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBCZz09IiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--03541f6234b93d7ac3b2d84e7eb0e6594a952945/1.ppt"),B=l()(z,2),F=(B[0],B[1],(0,d.useState)("")),W=l()(F,2),V=(W[0],W[1]),H=(0,d.useState)(),U=l()(H,2),q=U[0],Y=U[1],G="build"===window.ENV?"/react/build":"",X=location.host.startsWith("localhost")?b.Z.PROXY_SERVER:b.Z.API_SERVER,J=(0,d.useRef)();null!==(t=E)&&void 0!==t&&t.startsWith("/api")&&"txt"!==S&&(E=b.Z.API_SERVER+E);function Q(e){return $.apply(this,arguments)}function $(){return($=u()(a()().mark((function e(t){return a()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:"pdfdata"===t.data.type&&(Z(t.data.data),window.removeEventListener("message",Q,!1)),console.log("mess---:",t.data);case 2:case"end":return e.stop()}}),e)})))).apply(this,arguments)}R&&O&&(O.filename=R),(0,d.useEffect)((function(){var e,t=null===(e=document.cookie)||void 0===e||null===(e=e.replace(/\s/g,""))||void 0===e?void 0:e.split(";");null==t||t.map((function(e){var t=e.split("=");"_educoder_session"===t[0]&&V(t[1])}))}),[]),(0,d.useEffect)((function(){var e;"office"===S&&(E.indexOf("bigfilescdn.")>-1||E.indexOf("bigfiles1")>-1?Y({url:E,fileType:(e=E,e.substring(e.lastIndexOf("/")+1).split(".").pop()),model:E.indexOf("model=edit")?"edit":"view"}):ee())}),[S,E]);var ee=function(){var e=u()(a()().mark((function e(){var t,n,r;return a()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return console.log("data:",E),t=E,E.startsWith("http")||(t=location.origin+t),n=new URL(t).pathname.split("/").pop(),e.next=6,(0,g.gJ)({attachment_id:n});case 6:(r=e.sent).url=X+r.url,Y(r);case 9:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),te=function(){E.startsWith("http")||E.startsWith("blob:")?ne():(0,v.Sv)(R||"educoder",E,R)},ne=function(){j&&(0,w.fc)({id:null==j?void 0:j.id,watch_type:1,course_id:null==j?void 0:j.course_id}),(0,v.Nd)(R||"educoder",decodeURIComponent(E))};return(0,x.jsxs)("div",{style:i()({},T||{}),className:"".concat(I&&p.bgBlack," ").concat(S?p.wrp:"hide"),children:[D&&(0,x.jsxs)("div",{className:p.close,ref:J,children:[!!L&&(0,x.jsx)(m.Z,{title:"点击对图片进行批注",getPopupContainer:function(){return J.current},children:(0,x.jsx)("span",{onClick:function(){P(),L()},children:(0,x.jsx)("i",{className:"icon-yulanpizhu"})})}),!M&&(0,x.jsx)(m.Z,{title:"点击下载此文件",getPopupContainer:function(){return J.current},children:(0,x.jsx)("span",{onClick:ne,children:(0,x.jsx)("i",{className:"icon-quxiaozhiding"})})}),N&&(0,x.jsx)(m.Z,{title:"保存pdf并退出",getPopupContainer:function(){return J.current},children:(0,x.jsx)("span",{className:"",onClick:function(){var e=document.getElementById("pdfiframe");window.addEventListener("message",Q,!1),setTimeout((function(){e.contentWindow.postMessage("getData","*")}),300)},children:(0,x.jsx)("i",{className:"icon-baocun"})})}),(0,x.jsx)(m.Z,{title:"关闭",getPopupContainer:function(){return J.current},children:(0,x.jsx)("span",{className:"",onClick:function(){P()},children:(0,x.jsx)("i",{className:"icon-guanbi1"})})})]}),(0,x.jsx)("div",{className:"".concat(p[A]," ").concat(A," ").concat(p.monaco," ").concat("txt"===S?"show":"hide"),children:"txt"===S&&(0,x.jsx)(x.Fragment,{children:(0,x.jsx)(_.ZP,i()({},O))})}),"audio"===S&&(0,x.jsx)("audio",{src:"".concat((null===(n=E)||void 0===n?void 0:n.indexOf("http://"))>-1||(null===(r=E)||void 0===r?void 0:r.indexOf("https://"))>-1?"":"data:audio/mp3;base64,").concat(E),autoPlay:!0}),"video"===S&&(0,x.jsx)(x.Fragment,{children:(null===(o=E)||void 0===o?void 0:o.indexOf("http"))>-1?(0,x.jsx)("video",{controls:!0,src:"".concat(E),autoPlay:!0}):(0,x.jsx)("video",{controls:!0,src:"data:video/mp4;base64,".concat(E),autoPlay:!0})}),"office"===S&&q&&(0,x.jsx)("iframe",{src:"".concat(G,"/office.html?key=").concat(q.key,"&url=").concat(btoa(q.url),"&callbackUrl=").concat(X+(q.callbackUrl||""),"&fileType=").concat(q.fileType,"&title=").concat(q.title||"","&model=").concat(k,"&officeServer=").concat(b.Z.ONLYOFFICE,"&disabledDownload=").concat(!!M)}),"html"===S&&(0,x.jsx)("iframe",{src:E+"&disposition=inline"}),"pdf"===S&&(0,x.jsx)("iframe",{id:"pdfiframe",src:"".concat(G,"/js/pdfview/index.html?filename=").concat(R||"educoder.pdf","&url=").concat(encodeURIComponent(E),"&disabledDownload=").concat(!!M,"&model=").concat(k)}),"image"===S&&(0,x.jsx)("img",{src:"".concat((null===(s=E)||void 0===s?void 0:s.indexOf("http://"))>-1||(null===(c=E)||void 0===c?void 0:c.indexOf("https://"))>-1?"":"data:image/png;base64,").concat(E)}),("other"===S||"download"===S)&&(0,x.jsx)(x.Fragment,{children:K?(0,x.jsx)(y.Z,{customText:"当前文件不支持预览,可点击下载查看",ButtonTwo:(0,x.jsx)(f.ZP,{icon:(0,x.jsx)("i",{className:"iconfont icon-xiazai4 font14"}),type:"primary",size:"middle",onClick:te,disabled:M,children:"下载"})}):(0,x.jsxs)(f.ZP,{type:"primary",size:"middle",onClick:te,disabled:M,children:[(0,x.jsx)(h.Z,{}),"点击下载"]})}),"flowChart"===S&&(0,x.jsx)("div",{className:"embed",children:(0,x.jsx)("iframe",{src:"/drawio/src/main/webapp/viewer.html?id=".concat(E||"","&gapi=0&od=0&db=0&gh=0&gl=0"),width:"100%",height:"100%",frameBorder:"0"})})]})}},50062:function(e,t,n){"use strict";n.d(t,{SV:function(){return J},ZP:function(){return X}});var r=n(82242),i=n.n(r),o=n(37205),a=n.n(o),s=n(91232),u=n.n(s),c=n(79800),l=n.n(c),d=n(39647),p=n.n(d),f=n(7557),h=n.n(f),_=n(41498),m=n.n(_),v=n(59301),g=n(76374),y=["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"],b={quickKey:[{label:"main",content:["public static void main(String[] args) {","\t$0","}"].join("\n")},{label:"System.out.println",content:["System.out.println($0)"].join("\n")},{label:"System.out.print",content:["System.out.print($0)"].join("\n")}],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"]},w={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}) {","\t$0","} else {","\t","}"].join("\n")},{label:"include",content:"include<$0>"},{label:"printf",content:"printf($0)"},{label:"system",content:'system("$0")'},{label:"main",content:["int main () {","\t$0","}"].join("\n")},{label:"if",content:["if () {","\t$0","}"].join("\n")},{label:"for",content:["for(int j=0 ; j<10; j++){","\t$0","}"].join("\n")},{label:"trycatch",content:["try{","\t$0","}catch(ExceptionName e){","}"].join("\n")},{label:"using namespace std;",content:["using namespace std;"].join("\n")},{label:"include <iostream>",content:["#include <iostream>"].join("\n")},{label:"include <vector>",content:["#include <vector>"].join("\n")},{label:"include <cstdio>",content:["#include <cstdio>"].join("\n")},{label:"include <cstring>",content:["#include <cstring>"].join("\n")},{label:"include <sstream>",content:["#include <sstream>"].join("\n")},{label:"include <fstream>",content:["#include <fstream>"].join("\n")},{label:"include <map>",content:["#include <map>"].join("\n")},{label:"include <string>",content:["#include <string>"].join("\n")},{label:"include <cmath>",content:["#include <cmath>"].join("\n")}]},x={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("\n")}]},C={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("\n")}]},k=n(53184),E=n.n(k),N={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"]}},Z=function(e,t,n,r){e.languages.registerCompletionItemProvider(t,{provideCompletionItems:function(t,i){var o=t.getWordUntilPosition(i),s={startLineNumber:i.lineNumber,endLineNumber:i.lineNumber,startColumn:o.startColumn,endColumn:o.endColumn},u=t.getLineContent(i.lineNumber).substring(o.startColumn-2,o.endColumn),c=function(e,t,n,r){var i=t.getValueInRange({startLineNumber:1,startColumn:1,endLineNumber:n.lineNumber,endColumn:n.column});return Array.from(new Set(i.match(/\b\w{2,}\b/g)||[])).map((function(t){return{label:t,kind:e.languages.CompletionItemKind.Text,insertText:t,range:r}}))}(e,t,i,s);return{suggestions:[].concat(a()(c),a()(n.map((function(t){return{label:t,kind:e.languages.CompletionItemKind.Keyword,documentation:t,insertText:t,insertTextRules:e.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:s}}))),a()(r.map((function(t){return{label:t.label,kind:e.languages.CompletionItemKind.Snippet,documentation:t.content,insertText:u.startsWith("#")?t.content.replace(/#/,""):t.content,insertTextRules:e.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:s}}))))}}})},S=n(82100),R=n.n(S),O=n(29186),A=n.n(O),T=n(85573),D=n.n(T),P=function(){function e(t,n,r){var i=this;R()(this,e),this.placeholder=t,this.editor=n,this.monaco=r,n.onDidChangeModelContent((function(){return i.onDidChangeModelContent()})),this.onDidChangeModelContent()}return A()(e,[{key:"onDidChangeModelContent",value:function(){""===this.editor.getValue()?this.editor.addContentWidget(this):this.editor.removeContentWidget(this)}},{key:"getId",value:function(){return e.ID}},{key:"getDomNode",value:function(){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}},{key:"getPosition",value:function(){return{position:{lineNumber:1,column:1},preference:[this.monaco.editor.ContentWidgetPositionPreference.EXACT]}}},{key:"dispose",value:function(){this.editor.removeContentWidget(this)}}]),e}();D()(P,"ID","editor.widget.placeholderHint");var I=P,M=n(96236),L=n(6767),K=n(25399),j=n(89392),z=n(82210),B=n(56102),F=n(37712),W=["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"];function V(e){return/^\d+$/.test(e)?"".concat(e,"px"):e}function H(){}var U={"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 q(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=e;if(Array.isArray(e)){for(var n=0;n<e.length;n++){var r=U[e[n]];if(r)return r}return t[0]}return U[t]||t}var Y=null,G=function(){var e=m()(h()().mark((function e(){return h()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,navigator.clipboard.writeText(" ");case 3:console.log("内容已自动复制到剪贴板:"),e.next=9;break;case 6:e.prev=6,e.t0=e.catch(0),console.error("自动复制失败:",e.t0);case 9:case"end":return e.stop()}}),e,null,[[0,6]])})));return function(){return e.apply(this,arguments)}}(),X=function(e){var t=e.width,r=void 0===t?"100%":t,o=e.height,s=void 0===o?"100%":o,c=e.value,d=e.language,f=void 0===d?"javascript":d,_=e.style,k=void 0===_?{}:_,S=e.options,R=void 0===S?{}:S,O=e.overrideServices,A=void 0===O?{}:O,T=e.theme,D=void 0===T?"vs-dark":T,P=e.onEditBlur,U=e.isCopy,X=void 0!==U&&U,J=e.onSave,Q=e.autoHeight,$=void 0!==Q&&Q,ee=e.forbidCopy,te=void 0!==ee&&ee,ne=e.onChange,re=void 0===ne?H:ne,ie=e.editorDidMount,oe=void 0===ie?H:ie,ae=e.onFocus,se=void 0===ae?H:ae,ue=e.onBreakPoint,ce=void 0===ue?H:ue,le=e.breakPointValue,de=void 0===le?[]:le,pe=e.filename,fe=void 0===pe?"educoder.txt":pe,he=e.errorLine,_e=e.errorContent,me=void 0===_e?"":_e,ve=e.highlightLine,ge=e.openBreakPoint,ye=void 0!==ge&&ge,be=e.placeholder,we=void 0===be?"":be,xe=e.showMiniMap,Ce=void 0===xe||xe,ke=(p()(e,W),(0,v.useRef)()),Ee=(0,v.useRef)({}),Ne=(0,v.useRef)(),Ze=(0,v.useRef)(),Se=(0,v.useRef)([]),Re=(0,v.useRef)(!1),Oe=(0,v.useRef)(),Ae=(0,v.useRef)(),Te=(0,v.useRef)(!1),De=(0,v.useState)(!1),Pe=l()(De,2),Ie=Pe[0],Me=Pe[1];(0,v.useEffect)((function(){var e=z.Z.subscribe("formatDocument",(function(e){var t,n=Ee.current.instance;null==n||null===(t=n.getAction)||void 0===t||t.call(n,"editor.action.formatDocument").run()}));return window.updateMonacoValue=function(e){re(e)},e}),[]),(0,v.useEffect)((function(){var e,t=Ee.current.instance;(Ze.current&&clearTimeout(Ze.current),Ze.current=setTimeout((function(){!function(){var e=Ee.current.instance;if(null!=c&&e&&Ie){var t=e.getModel();t&&c!==t.getValue()&&(!0,t.setValue(c),e.layout(),!1)}}()}),500),c&&null!=c&&c.length)&&(null==t||null===(e=t.updateOptions)||void 0===e||e.call(t,{lineNumbersMinChars:Math.max(Math.floor(Math.log10(c.split(/\r\n|\r|\n/g).length))+3,5)}))}),[c,Ie,Ee.current]),(0,v.useEffect)((function(){if(he&&Ee.current&&Ee.current.instance){var e=Ee.current.instance;e.changeViewZones((function(e){var t=document.createElement("div");t.style.padding="10px 20px",t.style.width="calc(100% - 20px)",t.className="my-error-line-wrp",t.innerHTML=me,e.addZone({afterLineNumber:he||11,heightInLines:3,domNode:t})}));var t={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}};e.addOverlayWidget(t),e.revealPositionInCenter({lineNumber:20,column:1})}}),[he,Ee.current,Ie]);var Le=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1?arguments[1]:void 0;if(!e||""===e.trim())return!0;for(var n=Ee.current.instance.getModel(),r=n.getLineTokens(t),i=!1,o=0;o<2;o++)1===r.getStandardTokenType(o)&&(i=!0);return i};function Ke(e){(window.navigator.platform.match("Mac")?e.metaKey:e.ctrlKey)&&83==e.keyCode&&(e.preventDefault(),J())}(0,v.useEffect)((function(){var e,t=null===(e=Ee.current)||void 0===e?void 0:e.instance;if(t&&Ie&&te){var n=t.onDidBlurEditorWidget((function(){Te.current=!1})),r=t.onDidFocusEditorText((function(){Te.current=!0}));return function(){n.dispose(),r.dispose()}}}),[Ee.current,Ie,te]),(0,v.useEffect)((function(){var e;if(null!==(e=Ee.current)&&void 0!==e&&e.instance&&Ie&&ye){var t=Ee.current.instance,n=t.getModel();if(!n)return;!function(){var e,r=[],i=[],o=n.getAllDecorations(),a=u()(o);try{for(a.s();!(e=a.n()).done;){var s,c=e.value;if("highlighted-line"===c.options.className)r.push(null==c||null===(s=c.range)||void 0===s?void 0:s.startLineNumber),i.push(null==c?void 0:c.id)}}catch(e){a.e(e)}finally{a.f()}if(ve!==r[0]){n.deltaDecorations(i,[]);var l=n.getLineCount();ve&&ve<=l&&(t.deltaDecorations([],[{range:new Y.Range(ve,1,ve,n.getLineMaxColumn(ve)),options:{isWholeLine:!0,className:"highlighted-line"}}]),t.revealLineInCenter(ve))}}();var r=function(){var e,t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],r=[],i=[],o=n.getAllDecorations(),a=u()(o);try{for(a.s();!(e=a.n()).done;){var s,c=e.value;if("breakpoints-select"===c.options.linesDecorationsClassName)r.push(null==c||null===(s=c.range)||void 0===s?void 0:s.startLineNumber),i.push(null==c?void 0:c.id)}}catch(e){a.e(e)}finally{a.f()}if(t)return{lines:r,ids:i};ce(r)},i=function(){var e=m()(h()().mark((function e(t){var i;return h()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return i={range:new Y.Range(t,1,t,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-select"}},e.next=3,n.deltaDecorations([],[i]);case 3:r();case 4:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),o=function(){var e=m()(h()().mark((function e(i){var o,a,s,c,l;return h()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:o=[],a=t.getLineDecorations(i),s=u()(a);try{for(s.s();!(c=s.n()).done;)"breakpoints-select"===(l=c.value).options.linesDecorationsClassName&&o.push(l.id)}catch(e){s.e(e)}finally{s.f()}return e.next=6,n.deltaDecorations(o,[]);case 6:r();case 7:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),a=function(e){var n,r=t.getLineDecorations(e),i=u()(r);try{for(i.s();!(n=i.n()).done;){if("breakpoints-select"===n.value.options.linesDecorationsClassName)return!0}}catch(e){i.e(e)}finally{i.f()}return!1};if(!(0,j.isEqual)(de,r(!0).lines)){n.deltaDecorations(r(!0).ids,[]);var s=de.map((function(e){return{range:new Y.Range(e,1,e,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-select"}}}));n.deltaDecorations([],s)}var c=t.onDidChangeModelContent((function(e){var s=t.getPosition();if(s){var u=s.lineNumber;clearTimeout(Ae.current),Ae.current=setTimeout((function(){Le(n.getLineContent(u),u)?o(u):a(u)?(o(u),i(u)):r()}),100)}})),l=t.onMouseDown((function(e){var t;if(e.target.detail&&null!==(t=e.target)&&void 0!==t&&null!==(t=t.element)&&void 0!==t&&null!==(t=t.className)&&void 0!==t&&t.includes("line-numbers")){var r=e.target.position.lineNumber;if(Le(n.getLineContent(r),r))return;a(r)?o(r):i(r)}})),d=function(){Se.current=t.deltaDecorations(Se.current,[])},p=t.onMouseMove((function(e){var r;if(d(),e.target.detail&&null!==(r=e.target)&&void 0!==r&&null!==(r=r.element)&&void 0!==r&&null!==(r=r.className)&&void 0!==r&&r.includes("line-numbers")){var i=e.target.position.lineNumber;if(Le(n.getLineContent(i),i))return;!function(e){var n={range:new Y.Range(e,1,e,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-fake"}};Se.current=t.deltaDecorations(Se.current,[n])}(i)}})),f=t.onMouseLeave((function(){d()}));return function(){c.dispose(),l.dispose(),p.dispose(),f.dispose()}}}),[Ee.current,Ie,de,ve,ye,f]),(0,v.useEffect)((function(){var e;null!==(e=Ee.current)&&void 0!==e&&e.instance&&ye&&Ee.current.instance.setPosition({lineNumber:0,column:0})}),[ve]);var je=function(){if($&&Ee.current.instance){var e=Ee.current.instance.getContentHeight();Ye(e<s?s:e)}else Ye(s)};var ze=function(e){if(Te.current){var t=e.keyCode,n=e.ctrlKey,r=e.metaKey,i=e.target;return"paste"!==e.type&&(67!==t&&86!==t||!r&&!n)||"TEXTAREA"!==i.nodeName||(L.ZP.warning({content:decodeURIComponent("该任务关卡设置了禁止复制粘贴,请手动输入代码。"),key:"monaco-editor-tip"}),e.preventDefault()),!1}};function Be(e,t){var n,r,i=window.URL||window.webkitURL||window,o=new Blob([t]),a=document.createElementNS("http://www.w3.org/1999/xhtml","a");a.href=i.createObjectURL(o),a.download=e,n=a,(r=document.createEvent("MouseEvents")).initMouseEvent("click",!0,!1,window,0,0,0,0,0,!1,!1,!1,!1,0,null),n.dispatchEvent(r)}(0,v.useEffect)((function(){je()}),[je]),(0,v.useEffect)((function(){ke.current&&!Ie&&Promise.all([n.e(8909),n.e(4474)]).then(n.bind(n,71448)).then((function(e){try{Y=e,Ee.current.instance=Y.editor.create(ke.current,{value:c,language:q(f),theme:D,requireConfig:{"vs/nls":{availableLanguages:{"*":"zh-cn"}}},wordWrap:!0,autoIndent:!0,contextmenu:!0,formatOnType:!0,minimap:{enabled:Ce||!1}},A);var t=Ee.current.instance,n=M.BH._menuItems,r=a()(n).find((function(e){return"EditorContext"==e[0]._debugName}))[1];if(oe(t,Y),setTimeout((function(){je(),Ee.current.instance.addAction({id:"d123123",label:"Download File",contextMenuGroupId:"9_cutcopypaste",run:function(){Be(fe||"educoder.txt",t.getValue())}})}),500),Ee.current.subscription=t.onDidChangeModelContent((function(e){Re.current?clearTimeout(Oe.current):(je(),re(t.getValue(),e)),Oe.current=setTimeout((function(){Re.current=!1}),500)})),window.Monaco||function(e){N.languages.forEach((function(t){e.languages.registerDocumentFormattingEditProvider(t,{provideDocumentFormattingEdits:function(e){return m()(h()().mark((function t(){var n;return h()().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=E()(e.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}),t.abrupt("return",[{range:e.getFullModelRange(),text:n}]);case 2:case"end":return t.stop()}}),t)})))()}})})),Z(e,"java",b.keywords,b.quickKey),Z(e,"cpp",w.keywords,w.quickKey),Z(e,"c",y,[]),Z(e,"python",x.keywords,x.quickKey),Z(e,"scala",C.keywords,C.quickKey)}(Y,q(f)),te&&(!function(e,t){var n=e._first;do{var r;t.includes(null===(r=n.element)||void 0===r||null===(r=r.command)||void 0===r?void 0:r.id)&&e._remove(n)}while(n=n.next)}(r,["editor.action.clipboardCopyWithSyntaxHighlightingAction","editor.action.quickCommand","editor.action.clipboardCopyAction","editor.action.clipboardPasteAction","editor.action.clipboardCutAction"]),ke.current.classList.add("noCopyPaste"),window.removeEventListener("keydown",ze),window.removeEventListener("paste",ze),window.addEventListener("keydown",ze),window.addEventListener("paste",ze)),window.Monaco=Y,P&&t.onDidBlurEditorWidget((function(){P(t.getValue())})),se&&t.onDidFocusEditorText((function(){te&&G(),se(t.getValue())})),te){G();try{t.onDidPaste((function(e){var n=t.getSelection(),r=Ee.current.pastePos||{};new Y.Range(r.startLineNumber||n.endLineNumber,r.startColumn||n.endColumn,r.endLineNumber||n.endLineNumber,r.endColumn||n.endColumn);t.executeEdits("",[{range:e.range,text:""}])}))}catch(e){}}var i=function(){var e;return ke.current&&(e=new g.Z((function(e){var t,n=u()(e);try{for(n.s();!(t=n.n()).done;){var r=t.value;(r.target.offsetHeight>0||r.target.offsetWidth>0)&&Ee.current.instance.layout()}}catch(e){n.e(e)}finally{n.f()}}))).observe(ke.current),e}();return we&&"string"==typeof we&&new I(we,t,Y),Me(!0),function(){var e=Ee.current.instance;e.dispose();var t=e.getModel();t&&t.dispose(),Ee.current.subscription&&Ee.current.subscription.dispose(),i.unobserve(ke.current)}}catch(e){}}))}),[]),(0,v.useEffect)((function(){if(Ee.current.instance&&Ie)return document.addEventListener("keydown",Ke,!1),function(){document.removeEventListener("keydown",Ke)}}),[J,Ie]),(0,v.useEffect)((function(){var e=Ee.current.instance;if(e&&Ie){var t=q(f);Y.editor.setModelLanguage(e.getModel(),t)}}),[f,Ie]),(0,v.useEffect)((function(){Ee.current.instance&&Ie&&Y.editor.setTheme(D)}),[D,Ie]),(0,v.useEffect)((function(){var e=Ee.current.instance;Ne.current=R,e&&Ie&&(e.updateOptions(i()({},R)),setTimeout((function(){e.getModel().updateOptions(i()({},R))}),200))}),[JSON.stringify(R),Ie]),(0,v.useEffect)((function(){var e=Ee.current.instance;e&&Ie&&e.layout()}),[r,s,Ie]);var Fe=(0,v.useState)(V(r)),We=l()(Fe,2),Ve=We[0],He=(We[1],(0,v.useState)(V(s))),Ue=l()(He,2),qe=Ue[0],Ye=Ue[1],Ge=i()(i()({},k),{},{width:Ve,height:qe,position:"relative"});return(0,F.jsx)("div",{className:"my-monaco-editor",ref:ke,style:Ge,children:X&&(0,F.jsx)(B.CopyToClipboard,{text:c,onCopy:function(){return L.ZP.success("复制成功")},children:(0,F.jsx)(K.Z,{title:"复制代码",children:(0,F.jsxs)("div",{style:{position:"absolute",top:0,right:10,cursor:"pointer",zIndex:10,color:"#165DFF"},children:[(0,F.jsx)("i",{className:"iconfont icon-fuzhi8",style:{fontSize:14}})," 复制代码"]})})})})};function J(e){var t=e.width,r=void 0===t?"100%":t,o=e.height,a=void 0===o?"100%":o,s=e.original,c=e.modified,d=e.language,p=e.options,f=void 0===p?{}:p,h=(0,v.useRef)(),_=(0,v.useState)(null),m=l()(_,2),y=m[0],b=m[1];(0,v.useEffect)((function(){return h.current&&Promise.all([n.e(8909),n.e(9404)]).then(n.bind(n,2550)).then((function(e){var t=(Y=e).editor.createDiffEditor(h.current,i()(i()({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},f),{},{wordWrap:!0}));b(t);var n=function(e){var t;return h.current&&(t=new g.Z((function(t){var n,r=u()(t);try{for(r.s();!(n=r.n()).done;){var i=n.value;(i.target.offsetHeight>0||i.target.offsetWidth>0)&&e.layout()}}catch(e){r.e(e)}finally{r.f()}}))).observe(h.current),t}(t);return function(){t.dispose();var e=t.getModel();e&&e.dispose(),n.unobserve(h.current)}})),function(){window.removeEventListener("keydown",checkPaste),window.removeEventListener("paste",checkPaste)}}),[]),(0,v.useEffect)((function(){y&&y.setModel({original:Y.editor.createModel(s,d),modified:Y.editor.createModel(c,d)})}),[s,c,d,y]);var w={width:V(r),height:V(a)};return(0,F.jsx)("div",{className:"my-diff-editor",ref:h,style:w})}},50533:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return Z}});var r=n(7557),i=n.n(r),o=n(82242),a=n.n(o),s=n(41498),u=n.n(s),c=n(79800),l=n.n(c),d=n(59301),p={flex_box_center:"flex_box_center___3dsSw",flex_space_between:"flex_space_between___UViQa",flex_box_vertical_center:"flex_box_vertical_center___VRHmE",flex_box_center_end:"flex_box_center_end___Sap6p",flex_box_column:"flex_box_column___cXZm0",wrap:"wrap___JbEle",title:"title___PD779",control:"control___xPMqa",label:"label___JqmpT",customTable:"customTable___YjprJ"},f=n(76805),h=n(6767),_=n(25399),m=n(62957),v=n(82326),g=n(99571),y=n(54172),b=n(87169),w=n(45517),x=n(87281),C=n(6924),k=n(53378),E=n(92216),N=n(37712),Z=(0,f.connect)((function(e){return{user:e.user}}))((function(e){var t,n=e.user,r=(0,d.useState)({page:1,per_page:20,total:0,ec_major_school_id:0,ec_year_id:0,category:1,sort_by:null,sort_direction:null,school_id:null}),o=l()(r,2),s=o[0],c=o[1],Z=(0,d.useState)(!0),S=l()(Z,2),R=S[0],O=S[1],A=(0,d.useState)([]),T=l()(A,2),D=T[0],P=T[1],I=(0,d.useState)([]),M=l()(I,2),L=M[0],K=M[1],j=(0,d.useState)([]),z=l()(j,2),B=z[0],F=z[1],W=(0,d.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}}}),V=l()(W,2),H=V[0],U=V[1],q=function(){var e=u()(i()().mark((function e(t){var r,o;return i()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return O(!0),t.school_id=null==n||null===(r=n.userInfo)||void 0===r?void 0:r.school_id,e.next=4,(0,x.ZP)("/api/ec_major_schools/".concat((null==t?void 0:t.ec_major_school_id)||0,"/ec_years.json"),{method:"get",params:a()(a()({},t),{},{year:0===(null==t?void 0:t.ec_year_id)?null:null==t?void 0:t.ec_year_id,ec_year_id:(null==t||t.ec_year_id,null)})});case 4:(o=e.sent)&&(P(null==o?void 0:o.ec_years),O(!1),s.total=null==o?void 0:o.count,c(a()({},s)));case 6:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}();function Y(){return(Y=u()(i()().mark((function e(){var t,r;return i()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,x.ZP)("/api/schools/".concat(null==n||null===(t=n.userInfo)||void 0===t?void 0:t.school_id,"/ec_majors/get_major_list.json"),{method:"get"});case 2:r=e.sent,K(null==r?void 0:r.data);case 4:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function G(){return(G=u()(i()().mark((function e(){var t;return i()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,x.ZP)("/api/ec_major_schools/1/ec_years/select_year.json",{method:"get"});case 2:t=e.sent,F(null==t?void 0:t.year_arr);case 4:case"end":return e.stop()}}),e)})))).apply(this,arguments)}(0,d.useEffect)((function(){var e;null!==(e=n.userInfo)&&void 0!==e&&e.school_id&&(!function(){Y.apply(this,arguments)}(),function(){G.apply(this,arguments)}(),q(s))}),[null==n||null===(t=n.userInfo)||void 0===t?void 0:t.school_id]);var X=function(e,t){s.page=1,s[t]="number"==typeof e?e:null,c(a()({},s)),q(s)},J=[{title:"序号",dataIndex:"index",width:54,render:function(e,t,n){return s.per_page*(s.page-1)+n+1}},{title:"培养方案",dataIndex:"name",width:"17%",ellipsis:!0,key:"name",render:function(e,t,n){return(0,N.jsx)(f.Link,{to:"/engineering/training/program/edit?ec_year_id=".concat(null==t?void 0:t.id),children:e})}},{title:"培养方案文件",dataIndex:"file_name",width:"10%",ellipsis:!0,key:"name",render:function(e,t,n){return(0,N.jsx)("a",{onClick:function(){["xlsx","docx","pptx"].includes(null==t?void 0:t.type)?(H.editOffice="edit",U(a()(a()({},H),{},{type:t.file_type,data:"/api/attachments/".concat(t.attachment_id)}))):h.ZP.info("当前文件不支持编辑")},children:e||"- -"})}},{title:"届别",width:"5%",dataIndex:"year",render:function(e,t,n){return e+"届"}},{title:"培养目标(项)",width:"8%",dataIndex:"training_subitem_count",render:function(e,t,n){return e||(0,N.jsx)("a",{href:"/engineering/training/objectives?ids=".concat(null==t?void 0:t.ec_major_school_id,",").concat(null==t?void 0:t.id),children:"设置"})}},{title:"毕业要求(项)",width:"8%",dataIndex:"graduation_requirement_count",render:function(e,t,n){return e||(0,N.jsx)("a",{href:"/engineering/graduated/index?ec_major_school_id=".concat(null==t?void 0:t.ec_major_school_id,"&ec_year_id=").concat(null==t?void 0:t.id),children:"设置"})}},{title:"授课教师/学生(人)",width:"10%",dataIndex:"teacher_count",render:function(e,t,n){return e+"/"+(null==t?void 0:t.student_count)}},{title:"课程(门)",width:"7%",dataIndex:"course_count",render:function(e,t,n){return e||(0,N.jsx)("a",{href:"/engineering/course/list?ec_major_school_id=".concat(null==t?void 0:t.ec_major_school_id,"&ec_year_id=").concat(null==t?void 0:t.id),children:"设置"})}},{title:"课程达成度",width:"9%",dataIndex:"achieved_graduation_course_count",render:function(e,t,n){return(0,N.jsx)(_.Z,{title:"已达成课程数:".concat(e," / 课程总数:").concat(null==t?void 0:t.course_count),children:(0,N.jsx)("span",{style:{color:null!=t&&t.course_count?parseInt(e)===parseInt(null==t?void 0:t.course_count)?"#07C160":"#E30000":""},children:null!=t&&t.course_count?e+"/"+(null==t?void 0:t.course_count):"- -"})})}},{title:"毕业要求达成度",width:"8%",dataIndex:"achieved_graduation_objective_count",render:function(e,t,n){return(0,N.jsx)(_.Z,{title:"已达成毕业要求数:".concat(e," / 毕业要求总数:").concat(null==t?void 0:t.graduation_requirement_count),children:(0,N.jsx)("span",{style:{color:null!=t&&t.graduation_requirement_count?parseInt(e)===parseInt(null==t?void 0:t.graduation_requirement_count)?"#07C160":"#E30000":""},children:null!=t&&t.graduation_requirement_count?e+"/"+(null==t?void 0:t.graduation_requirement_count):"- -"})})}},{title:"评价结果",width:"7%",dataIndex:"status",render:function(e,t,n){return(0,N.jsx)("span",{style:{color:"achieved"===e?"#E30000":"#07C160"},children:"achieved"===e?"未达成":"达成"})}},{title:"操作",dataIndex:"id",width:64,render:function(e,t,r){return(0,N.jsxs)("div",{style:{display:"flex"},children:[(0,N.jsx)("i",{onClick:u()(i()().mark((function e(){return i()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:f.history.push("/engineering/training/program/edit?ec_year_id=".concat(null==t?void 0:t.id));case 1:case"end":return e.stop()}}),e)}))),style:{color:"#0152d9",cursor:"pointer",marginRight:"5px"},className:"iconfont icon-bianji6"}),(0,N.jsx)("i",{onClick:function(){var t;m.Z.confirm({title:"确认是否删除?",icon:(0,N.jsx)(b.Z,{}),okText:"确认",cancelText:"取消",onOk:(t=u()(i()().mark((function t(){var r;return i()().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,(0,x.ZP)("/api/ec_major_schools/1/ec_years/".concat(e),{method:"delete"});case 2:t.sent&&(k.U.clear(null==n||null===(r=n.userInfo)||void 0===r?void 0:r.login),h.ZP.info("删除成功"),q(s));case 4:case"end":return t.stop()}}),t)}))),function(){return t.apply(this,arguments)}),onCancel:function(){}})},style:{marginRight:"5px",color:"#0152d9",cursor:"pointer"},className:"iconfont icon-shanchu9"}),(0,N.jsx)("i",{onClick:u()(i()().mark((function t(){var r;return i()().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:(0,w.xm)({ec_year_id:e,school_id:null==n||null===(r=n.userInfo)||void 0===r?void 0:r.school_id});case 1:case"end":return t.stop()}}),t)}))),style:{color:"#0152d9",cursor:"pointer"},className:"iconfont icon-daochubeifen"})]})}}];return(0,N.jsxs)("div",{className:p.wrap,children:[(0,N.jsx)(C.p,{title:"培养方案",style:{padding:"12px 0 0 20px"}}),(0,N.jsx)("div",{style:{clear:"both"}}),(0,N.jsxs)("div",{className:p.control,children:[(0,N.jsx)("div",{className:p.label,children:"认证专业"}),(0,N.jsxs)(v.default,{style:{width:240},allowClear:!0,placeholder:"专业",value:null==s?void 0:s.ec_major_school_id,onChange:function(e){return X(e,"ec_major_school_id")},children:[(0,N.jsx)(v.default.Option,{value:0,children:"全部"}),null==L?void 0:L.map((function(e,t){return(0,N.jsx)(v.default.Option,{value:null==e?void 0:e.ec_major_school_id,children:null==e?void 0:e.name})}))]}),(0,N.jsx)("div",{className:p.label,children:"认证届别"}),(0,N.jsxs)(v.default,{style:{width:140},allowClear:!0,placeholder:"请选择届别",value:null==s?void 0:s.ec_year_id,onChange:function(e){return X(e,"ec_year_id")},children:[(0,N.jsx)(v.default.Option,{value:0,children:"全部"}),null==B?void 0:B.map((function(e,t){return(0,N.jsxs)(v.default.Option,{value:e,children:[e,"届"]})}))]}),(0,N.jsx)("div",{style:{flex:1,textAlign:"end"},children:(0,N.jsxs)(g.ZP,{onClick:function(){f.history.push("/engineering/training/program/add")},style:{height:"30px",width:"135px"},type:"primary",children:[(0,N.jsx)("i",{style:{marginRight:"7px"},className:"iconfont icon-xinzeng"}),"新增培养方案"]})})]}),(0,N.jsx)(y.Z,{className:p.customTable,dataSource:D,bordered:!1,rowKey:function(e){return e.id},columns:J,rowClassName:p.row,loading:R,onChange:function(e,t,n){s.page=null==e?void 0:e.current,s.per_page=null==e?void 0:e.pageSize,null!=n&&n.order?(s.sort_by=null==n?void 0:n.field,s.sort_direction="ascend"===(null==n?void 0:n.order)?"asc":"desc"):(s.sort_by=null,s.sort_direction=null),c(a()({},s)),q(s)},pagination:{pageSize:s.per_page,total:s.total,current:s.page,showQuickJumper:!0,hideOnSinglePage:!0,showSizeChanger:!1,size:"default",position:["bottomCenter"],showTotal:function(e){return(0,N.jsxs)("span",{className:"mr10",children:["共",(0,N.jsx)("span",{className:"c-orange",children:e}),"条数据"]})}}}),(0,N.jsx)(E.Z,a()(a()({},H),{},{onClose:function(){U(a()(a()({},H),{},{type:""}))}}))]})}))},6924:function(e,t,n){"use strict";n.d(t,{p:function(){return o},v:function(){return s}});n(59301);var r="panelTitleContainer___Ypuh_",i=n(37712),o=function(e){var t=e.title,n=e.style,o=void 0===n?{}:n;return(0,i.jsx)("div",{className:r,style:o,children:(0,i.jsx)("div",{children:t})})},a="selectWrapContainer___qocIH",s=function(e){var t=e.title,n=e.children;return(0,i.jsxs)("div",{className:a,children:[(0,i.jsx)("span",{children:t}),n]})}},45517:function(e,t,n){"use strict";n.d(t,{AD:function(){return T},BA:function(){return $},D9:function(){return j},Hp:function(){return k},IM:function(){return B},Iy:function(){return N},KM:function(){return Q},KU:function(){return H},MJ:function(){return E},Ne:function(){return z},ON:function(){return q},Uj:function(){return X},VY:function(){return V},YO:function(){return G},YX:function(){return Y},Zn:function(){return m},_g:function(){return w},_k:function(){return L},c6:function(){return O},cr:function(){return v},eV:function(){return A},fi:function(){return g},gh:function(){return S},hS:function(){return F},iA:function(){return y},j6:function(){return x},je:function(){return I},jj:function(){return C},kS:function(){return U},lS:function(){return M},o6:function(){return R},pO:function(){return J},rQ:function(){return D},sA:function(){return Z},xm:function(){return K},xo:function(){return W},y8:function(){return P},yd:function(){return b}});var r=n(7557),i=n.n(r),o=n(82242),a=n.n(o),s=n(41498),u=n.n(s),c=n(21204),l=n(76805),d=n(30406),p=n(6767),f=n(51200),h=function(){(0,l.getDvaApp)()._store.dispatch({type:"globalSetting/setGlobalLoading",payload:{show:!0,text:"正在生成文件,请稍后..."}})},_=function(){(0,l.getDvaApp)()._store.dispatch({type:"globalSetting/setGlobalLoading",payload:{show:!1,text:""}})},m=function(){var e=u()(i()().mark((function e(t){return i()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return h(),e.next=3,(0,c.YR)(a()({},t));case 3:if(0!==e.sent.status){e.next=7;break}return e.next=7,(0,d.QH)("",(0,d.NY)({url:f.Z.API_SERVER+"/api/courses/".concat(t.coursesId,"/export_couser_info.json"),query:t}));case 7:_();case 8:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),v=function(){var e=u()(i()().mark((function e(t){var n;return i()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,c.yS)(a()({},t));case 2:if(0!==(n=e.sent).status){e.next=8;break}p.ZP.info("导出任务生成成功"),l.history.push("/classrooms/".concat(t.coursesId,"/exportlist/course_member_act_score")),e.next=13;break;case 8:if(-2!==n.status){e.next=12;break}return e.abrupt("return",n);case 12:-3===n.status&&((0,l.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"导出提醒"}}),l.history.push("/classrooms/".concat(t.coursesId,"/exportlist/course_member_act_score")));case 13:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),g=function(){var e=u()(i()().mark((function e(t){var n;return i()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,c.W0)(a()({},t));case 2:if(0!==(n=e.sent).status){e.next=8;break}p.ZP.info("导出任务生成成功"),l.history.push("/classrooms/".concat(t.coursesId,"/exportlist/course_total_score")),e.next=13;break;case 8:if(-4!==n.status){e.next=12;break}return e.abrupt("return",n);case 12:-3===n.status&&((0,l.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"导出提醒"}}),l.history.push("/classrooms/".concat(t.coursesId,"/exportlist/course_total_score")));case 13:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),y=function(){var e=u()(i()().mark((function e(t){var n;return i()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,c.Nl)(a()({},t));case 2:if(0!==(n=e.sent).status){e.next=8;break}p.ZP.info("导出任务生成成功"),l.history.push("/classrooms/".concat(t.coursesId,"/exportlist/course_total_exercise_and_other")),e.next=13;break;case 8:if(-4!==n.status){e.next=12;break}return e.abrupt("return",n);case 12:-3===n.status&&((0,l.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"导出提醒"}}),l.history.push("/classrooms/".concat(t.coursesId,"/exportlist/course_total_exercise_and_other")));case 13:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),b=function(){var e=u()(i()().mark((function e(t){var n;return i()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,c.IU)(a()({},t));case 2:if(0!==(n=e.sent).status){e.next=8;break}p.ZP.info("导出任务生成成功"),l.history.push("/classrooms/".concat(t.coursesId,"/exportlist/export_star_user")),e.next=13;break;case 8:if(-4!==n.status){e.next=12;break}return e.abrupt("return",n);case 12:-3===n.status&&((0,l.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"导出提醒"}}),l.history.push("/classrooms/".concat(t.coursesId,"/exportlist/export_star_user")));case 13:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),w=function(){var e=u()(i()().mark((function e(t){var n;return i()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,c.td)(a()({},t));case 2:if(0!==(n=e.sent).status){e.next=8;break}p.ZP.info("导出任务生成成功"),l.history.push("/classrooms/".concat(t.coursesId,"/exportlist/course_total_exercise_and_other")),e.next=19;break;case 8:if(-2!==n.status){e.next=12;break}return e.abrupt("return",n);case 12:if(-3!==n.status){e.next=17;break}(0,l.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"导出提醒"}}),l.history.push("/classrooms/".concat(t.coursesId,"/exportlist/course_total_exercise_and_other")),e.next=19;break;case 17:if(-4!==n.status){e.next=19;break}return e.abrupt("return",n);case 19:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),x=function(){var e=u()(i()().mark((function e(t){var n;return i()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,c.QX)(a()({},t));case 2:if(0!==(n=e.sent).status){e.next=8;break}p.ZP.info("导出任务生成成功"),l.history.push("/classrooms/".concat(t.coursesId,"/exportlist/course_total_homework")),e.next=13;break;case 8:if(-4!==n.status){e.next=12;break}return e.abrupt("return",n);case 12:-3===n.status&&((0,l.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"导出提醒"}}),l.history.push("/classrooms/".concat(t.coursesId,"/exportlist/course_total_homework")));case 13:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),C=function(){var e=u()(i()().mark((function e(t,n){var r;return i()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,c.o_)(a()({},t));case 2:0===(r=e.sent).status?(p.ZP.info("导出任务生成成功导出后文件保存时间为7天请及时下载"),l.history.push("/classrooms/".concat(t.coursesId,"/exportlist/").concat(n))):-3===r.status&&((0,l.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"导出提醒"}}),l.history.push("/classrooms/".concat(t.coursesId,"/exportlist/").concat(n)));case 4:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}(),k=function(){var e=u()(i()().mark((function e(t,n){var r;return i()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,c.ZL)(a()({},t));case 2:0===(r=e.sent).status?(p.ZP.info("导出任务生成成功导出后文件保存时间为7天请及时下载"),l.history.push("/classrooms/".concat(t.coursesId,"/exportlist/").concat(n))):-3===r.status&&((0,l.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"导出提醒"}}),l.history.push("/classrooms/".concat(t.coursesId,"/exportlist/").concat(n)));case 4:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}(),E=function(){var e=u()(i()().mark((function e(t,n){var r;return i()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,c.vV)(a()({},t));case 2:0===(r=e.sent).status?(p.ZP.info("导出任务生成成功导出后文件保存时间为7天请及时下载"),l.history.push("/classrooms/".concat(t.coursesId,"/exportlist/").concat(n))):-3===r.status&&((0,l.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"导出提醒"}}),l.history.push("/classrooms/".concat(t.coursesId,"/exportlist/").concat(n)));case 4:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}(),N=function(){var e=u()(i()().mark((function e(t,n){var r;return i()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,c.aP)(a()({},t));case 2:0===(r=e.sent).status?(p.ZP.info("导出任务生成成功"),l.history.push("/classrooms/".concat(t.coursesId,"/exportlist/").concat(n))):-3===r.status&&((0,l.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"导出提醒"}}),l.history.push("/classrooms/".concat(t.coursesId,"/exportlist/").concat(n)));case 4:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}(),Z=function(){var e=u()(i()().mark((function e(t){return i()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return h(),e.next=3,(0,d.FH)("",f.Z.API_SERVER+"/api/polls/".concat(t.categoryId,"/commit_result.xlsx"));case 3:_();case 4:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),S=function(){var e=u()(i()().mark((function e(t){return i()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,d.FH)("",(0,d.NY)({url:f.Z.API_SERVER+"/api/courses/".concat(t.coursesId,"/attendances/export_xlsx_data.xlsx"),query:t}));case 2:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),R=function(){var e=u()(i()().mark((function e(t){return i()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,d.FH)("",(0,d.NY)({url:f.Z.API_SERVER+"/api/courses/".concat(t.coursesId,"/video_study_statics.xlsx"),query:t}));case 2:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),O=function(){var e=u()(i()().mark((function e(t){return i()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,d.FH)("",(0,d.NY)({url:f.Z.API_SERVER+"/api/courses/".concat(t.coursesId,"/export_video_study.xlsx"),query:t}));case 2:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),A=function(){var e=u()(i()().mark((function e(t){return i()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,d.FH)("",(0,d.NY)({url:f.Z.API_SERVER+"/api/courses/".concat(t.coursesId,"/export_course_students_info.xlsx"),query:t}));case 2:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),T=function(){var e=u()(i()().mark((function e(t){return i()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,d.FH)("",(0,d.NY)({url:f.Z.API_SERVER+"/api/school_manages/students.xlsx",query:t}));case 2:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),D=function(){var e=u()(i()().mark((function e(t){return i()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,d.FH)("",(0,d.NY)({url:f.Z.API_SERVER+"/api/item_banks/export.xlsx",query:t}));case 2:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),P=function(){var e=u()(i()().mark((function e(t){return i()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,d.FH)("",(0,d.NY)({url:f.Z.API_SERVER+"/api/competitions/region_reports.xlsx",query:t}));case 2:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),I=function(){var e=u()(i()().mark((function e(t){var n;return i()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,c.Uy)(a()({},t));case 2:0===(n=e.sent).status?(p.ZP.info("导出任务生成成功"),l.history.push("/classrooms/".concat(t.coursesId,"/exportlist/exercise_score,export_exercise_users"))):-3===n.status&&((0,l.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"导出提醒"}}),l.history.push("/classrooms/".concat(t.coursesId,"/exportlist/exercise_score,export_exercise_users")));case 4:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),M=function(){var e=u()(i()().mark((function e(t){var n;return i()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,c.tg)(a()({},t));case 2:0===(n=e.sent).status?(p.ZP.info("导出任务生成成功"),l.history.push("/classrooms/".concat(t.coursesId,"/exportlist/exercise_score,export_exercise_report"))):-3===n.status&&((0,l.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"导出提醒"}}),l.history.push("/classrooms/".concat(t.coursesId,"/exportlist/exercise_score,export_exercise_report")));case 4:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),L=function(){var e=u()(i()().mark((function e(t){return i()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return console.log("----------","调用下载"),e.next=3,(0,d.FH)("",(0,d.NY)({url:f.Z.API_SERVER+"/api/export_records/".concat(t.id,".xlsx"),query:t}));case 3:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),K=function(){var e=u()(i()().mark((function e(t){return i()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,d.FH)("",(0,d.NY)({url:f.Z.API_SERVER+"/api/ec_major_schools/0/ec_years.xlsx",query:t}));case 2:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),j=function(){var e=u()(i()().mark((function e(t){return i()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,d.FH)("",(0,d.NY)({url:f.Z.API_SERVER+"/api/courses/".concat(null==t?void 0:t.coursesId,"/").concat(t.menuKey,"_statistic.xlsx?").concat(t.checkedList.map((function(e){return"course_group_id[]=".concat(e)})).join("&")),query:t}));case 2:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),z=function(){var e=u()(i()().mark((function e(t){return i()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,d.FH)("",(0,d.NY)({url:f.Z.API_SERVER+"/api/ec_years/".concat(null==t?void 0:t.ec_year_id,"/ec_training_objectives.xlsx"),query:t}));case 2:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),B=function(){var e=u()(i()().mark((function e(t){return i()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,d.FH)(null==t?void 0:t.name,(0,d.NY)({url:f.Z.API_SERVER+"/api/attachments/get_ecs_attachment.docx",query:t}));case 2:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),F=function(){var e=u()(i()().mark((function e(t){return i()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,d.FH)("",(0,d.NY)({url:f.Z.API_SERVER+"/api/ec_years/".concat(null==t?void 0:t.ec_year_id,"/ec_courses.xlsx"),query:t}));case 2:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),W=function(){var e=u()(i()().mark((function e(t){return i()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,d.FH)("",(0,d.NY)({url:f.Z.API_SERVER+"/api/ec_years/".concat(null==t?void 0:t.ec_year_id,"/ec_graduation_requirements.xlsx"),query:t}));case 2:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),V=function(){var e=u()(i()().mark((function e(t){return i()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,d.FH)("",(0,d.NY)({url:f.Z.API_SERVER+"/api/courses/rank_list.xlsx",query:t}));case 2:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),H=function(){var e=u()(i()().mark((function e(t){return i()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,d.FH)("",(0,d.NY)({url:f.Z.API_SERVER+"/api/exercises/".concat(t.categoryId,"/rank_list.xlsx"),query:t}));case 2:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),U=function(){var e=u()(i()().mark((function e(t){return i()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,d.FH)("",(0,d.NY)({url:f.Z.API_SERVER+"/api/courses/question_rank_list.xlsx",query:t}));case 2:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),q=function(){var e=u()(i()().mark((function e(t){return i()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,d.FH)("",(0,d.NY)({url:f.Z.API_SERVER+"/api/examination_banks/".concat(t.id,".json"),query:t}));case 2:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),Y=function(){var e=u()(i()().mark((function e(t){return i()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,d.FH)("",(0,d.NY)({url:f.Z.API_SERVER+"/api/exercises/".concat(t.categoryId,".json"),query:t}));case 2:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),G=function(){var e=u()(i()().mark((function e(t){return i()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,d.FH)("",(0,d.NY)({url:f.Z.API_SERVER+"/api/polls/".concat(null==t?void 0:t.id,"/commit_result.json"),query:t}));case 2:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),X=function(){var e=u()(i()().mark((function e(t){return i()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,d.FH)("",(0,d.NY)({url:f.Z.API_SERVER+"/api/paths/get_task_pass.json",query:t}));case 2:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),J=function(){var e=u()(i()().mark((function e(t,n){return i()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,d.FH)(n||"",(0,d.NY)({url:f.Z.API_SERVER+"/api/exercises/".concat(null==t?void 0:t.exercise_id,"/consult_exercise.json"),query:t}));case 2:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}(),Q=function(){var e=u()(i()().mark((function e(t){return i()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,d.FH)("",(0,d.NY)({url:f.Z.API_SERVER+"/api/competitions/".concat(null==t?void 0:t.identifier,"/competition_commit_records/member_works.xlsx"),query:t}));case 2:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),$=function(){var e=u()(i()().mark((function e(t){return i()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,d.FH)("",(0,d.NY)({url:f.Z.API_SERVER+"/api/courses/".concat(null==t?void 0:t.coursesId,"/group_homeworks/import_group_template.xlsx"),query:t}));case 2:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()},25769:function(e,t,n){"use strict";var r=n(98040),i={"text/plain":"Text","text/html":"Url",default:"Text"};e.exports=function(e,t){var n,o,a,s,u,c,l=!1;t||(t={}),n=t.debug||!1;try{if(a=r(),s=document.createRange(),u=document.getSelection(),(c=document.createElement("span")).textContent=e,c.ariaHidden="true",c.style.all="unset",c.style.position="fixed",c.style.top=0,c.style.clip="rect(0, 0, 0, 0)",c.style.whiteSpace="pre",c.style.webkitUserSelect="text",c.style.MozUserSelect="text",c.style.msUserSelect="text",c.style.userSelect="text",c.addEventListener("copy",(function(r){if(r.stopPropagation(),t.format)if(r.preventDefault(),void 0===r.clipboardData){n&&console.warn("unable to use e.clipboardData"),n&&console.warn("trying IE specific stuff"),window.clipboardData.clearData();var o=i[t.format]||i.default;window.clipboardData.setData(o,e)}else r.clipboardData.clearData(),r.clipboardData.setData(t.format,e);t.onCopy&&(r.preventDefault(),t.onCopy(r.clipboardData))})),document.body.appendChild(c),s.selectNodeContents(c),u.addRange(s),!document.execCommand("copy"))throw new Error("copy command was unsuccessful");l=!0}catch(r){n&&console.error("unable to copy using execCommand: ",r),n&&console.warn("trying IE specific stuff");try{window.clipboardData.setData(t.format||"text",e),t.onCopy&&t.onCopy(window.clipboardData),l=!0}catch(r){n&&console.error("unable to copy using clipboardData: ",r),n&&console.error("falling back to prompt"),o=function(e){var t=(/mac os x/i.test(navigator.userAgent)?"⌘":"Ctrl")+"+C";return e.replace(/#{\s*key\s*}/g,t)}("message"in t?t.message:"Copy to clipboard: #{key}, Enter"),window.prompt(o,e)}}finally{u&&("function"==typeof u.removeRange?u.removeRange(s):u.removeAllRanges()),c&&document.body.removeChild(c),a()}return l}},53184:function(e,t,n){"use strict";var r,i;r=[n(58553),n(87804),n(40998)],void 0===(i=function(e,t,n){return function(e,t,n){var r=function(t,n){return e.js_beautify(t,n)};return r.js=e.js_beautify,r.css=t.css_beautify,r.html=n.html_beautify,r.js_beautify=e.js_beautify,r.css_beautify=t.css_beautify,r.html_beautify=n.html_beautify,r}(e,t,n)}.apply(t,r))||(e.exports=i)},87804:function(e,t){var n;!function(){var r;!function(){"use strict";var e=[,,function(e){function t(e){this.__parent=e,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=[]}function n(e,t){this.__cache=[""],this.__indent_size=e.indent_size,this.__indent_string=e.indent_char,e.indent_with_tabs||(this.__indent_string=new Array(e.indent_size+1).join(e.indent_char)),t=t||"",e.indent_level>0&&(t=new Array(e.indent_level+1).join(this.__indent_string)),this.__base_string=t,this.__base_string_length=t.length}function r(e,r){this.__indent_cache=new n(e,r),this.raw=!1,this._end_with_newline=e.end_with_newline,this.indent_size=e.indent_size,this.wrap_line_length=e.wrap_line_length,this.indent_empty_lines=e.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()}t.prototype.clone_empty=function(){var e=new t(this.__parent);return e.set_indent(this.__indent_count,this.__alignment_count),e},t.prototype.item=function(e){return e<0?this.__items[this.__items.length+e]:this.__items[e]},t.prototype.has_match=function(e){for(var t=this.__items.length-1;t>=0;t--)if(this.__items[t].match(e))return!0;return!1},t.prototype.set_indent=function(e,t){this.is_empty()&&(this.__indent_count=e||0,this.__alignment_count=t||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 e=this.__parent.current_line;return e.set_indent(this.__wrap_point_indent_count,this.__wrap_point_alignment_count),e.__items=this.__items.slice(this.__wrap_point_index),this.__items=this.__items.slice(0,this.__wrap_point_index),e.__character_count+=this.__character_count-this.__wrap_point_character_count,this.__character_count=this.__wrap_point_character_count," "===e.__items[0]&&(e.__items.splice(0,1),e.__character_count-=1),!0}return!1},t.prototype.is_empty=function(){return 0===this.__items.length},t.prototype.last=function(){return this.is_empty()?null:this.__items[this.__items.length-1]},t.prototype.push=function(e){this.__items.push(e);var t=e.lastIndexOf("\n");-1!==t?this.__character_count=e.length-t:this.__character_count+=e.length},t.prototype.pop=function(){var e=null;return this.is_empty()||(e=this.__items.pop(),this.__character_count-=e.length),e},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 e="";return this.is_empty()?this.__parent.indent_empty_lines&&(e=this.__parent.get_indent_string(this.__indent_count)):(e=this.__parent.get_indent_string(this.__indent_count,this.__alignment_count),e+=this.__items.join("")),e},n.prototype.get_indent_size=function(e,t){var n=this.__base_string_length;return t=t||0,e<0&&(n=0),n+=e*this.__indent_size,n+=t},n.prototype.get_indent_string=function(e,t){var n=this.__base_string;return t=t||0,e<0&&(e=0,n=""),t+=e*this.__indent_size,this.__ensure_cache(t),n+=this.__cache[t]},n.prototype.__ensure_cache=function(e){for(;e>=this.__cache.length;)this.__add_column()},n.prototype.__add_column=function(){var e=this.__cache.length,t=0,n="";this.__indent_size&&e>=this.__indent_size&&(e-=(t=Math.floor(e/this.__indent_size))*this.__indent_size,n=new Array(t+1).join(this.__indent_string)),e&&(n+=new Array(e+1).join(" ")),this.__cache.push(n)},r.prototype.__add_outputline=function(){this.previous_line=this.current_line,this.current_line=this.next_line.clone_empty(),this.__lines.push(this.current_line)},r.prototype.get_line_number=function(){return this.__lines.length},r.prototype.get_indent_string=function(e,t){return this.__indent_cache.get_indent_string(e,t)},r.prototype.get_indent_size=function(e,t){return this.__indent_cache.get_indent_size(e,t)},r.prototype.is_empty=function(){return!this.previous_line&&this.current_line.is_empty()},r.prototype.add_new_line=function(e){return!(this.is_empty()||!e&&this.just_added_newline())&&(this.raw||this.__add_outputline(),!0)},r.prototype.get_code=function(e){this.trim(!0);var t=this.current_line.pop();t&&("\n"===t[t.length-1]&&(t=t.replace(/\n+$/g,"")),this.current_line.push(t)),this._end_with_newline&&this.__add_outputline();var n=this.__lines.join("\n");return"\n"!==e&&(n=n.replace(/[\n]/g,e)),n},r.prototype.set_wrap_point=function(){this.current_line._set_wrap_point()},r.prototype.set_indent=function(e,t){return e=e||0,t=t||0,this.next_line.set_indent(e,t),this.__lines.length>1?(this.current_line.set_indent(e,t),!0):(this.current_line.set_indent(),!1)},r.prototype.add_raw_token=function(e){for(var t=0;t<e.newlines;t++)this.__add_outputline();this.current_line.set_indent(-1),this.current_line.push(e.whitespace_before),this.current_line.push(e.text),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=!1},r.prototype.add_token=function(e){this.__add_space_before_token(),this.current_line.push(e),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=this.current_line._allow_wrap()},r.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(" "))},r.prototype.remove_indent=function(e){for(var t=this.__lines.length;e<t;)this.__lines[e]._remove_indent(),e++;this.current_line._remove_wrap_indent()},r.prototype.trim=function(e){for(e=void 0!==e&&e,this.current_line.trim();e&&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},r.prototype.just_added_newline=function(){return this.current_line.is_empty()},r.prototype.just_added_blankline=function(){return this.is_empty()||this.current_line.is_empty()&&this.previous_line.is_empty()},r.prototype.ensure_empty_line_above=function(e,n){for(var r=this.__lines.length-2;r>=0;){var i=this.__lines[r];if(i.is_empty())break;if(0!==i.item(0).indexOf(e)&&i.item(-1)!==n){this.__lines.splice(r+1,0,new t(this)),this.previous_line=this.__lines[this.__lines.length-2];break}r--}},e.exports.Output=r},,,,function(e){function t(e,t){this.raw_options=n(e,t),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","\t"===this.indent_char),this.indent_with_tabs&&(this.indent_char="\t",1===this.indent_size&&(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"])}function n(e,t){var n,i={};for(n in e=r(e))n!==t&&(i[n]=e[n]);if(t&&e[t])for(n in e[t])i[n]=e[t][n];return i}function r(e){var t,n={};for(t in e){n[t.replace(/-/g,"_")]=e[t]}return n}t.prototype._get_array=function(e,t){var n=this.raw_options[e],r=t||[];return"object"==typeof n?null!==n&&"function"==typeof n.concat&&(r=n.concat()):"string"==typeof n&&(r=n.split(/[^a-zA-Z0-9_\/\-]+/)),r},t.prototype._get_boolean=function(e,t){var n=this.raw_options[e];return void 0===n?!!t:!!n},t.prototype._get_characters=function(e,t){var n=this.raw_options[e],r=t||"";return"string"==typeof n&&(r=n.replace(/\\r/,"\r").replace(/\\n/,"\n").replace(/\\t/,"\t")),r},t.prototype._get_number=function(e,t){var n=this.raw_options[e];t=parseInt(t,10),isNaN(t)&&(t=0);var r=parseInt(n,10);return isNaN(r)&&(r=t),r},t.prototype._get_selection=function(e,t,n){var r=this._get_selection_list(e,t,n);if(1!==r.length)throw new Error("Invalid Option Value: The option '"+e+"' can only be one of the following values:\n"+t+"\nYou passed in: '"+this.raw_options[e]+"'");return r[0]},t.prototype._get_selection_list=function(e,t,n){if(!t||0===t.length)throw new Error("Selection list cannot be empty.");if(n=n||[t[0]],!this._is_valid_selection(n,t))throw new Error("Invalid Default Value!");var r=this._get_array(e,n);if(!this._is_valid_selection(r,t))throw new Error("Invalid Option Value: The option '"+e+"' can contain only the following values:\n"+t+"\nYou passed in: '"+this.raw_options[e]+"'");return r},t.prototype._is_valid_selection=function(e,t){return e.length&&t.length&&!e.some((function(e){return-1===t.indexOf(e)}))},e.exports.Options=t,e.exports.normalizeOpts=r,e.exports.mergeOpts=n},,function(e){var t=RegExp.prototype.hasOwnProperty("sticky");function n(e){this.__input=e||"",this.__input_length=this.__input.length,this.__position=0}n.prototype.restart=function(){this.__position=0},n.prototype.back=function(){this.__position>0&&(this.__position-=1)},n.prototype.hasNext=function(){return this.__position<this.__input_length},n.prototype.next=function(){var e=null;return this.hasNext()&&(e=this.__input.charAt(this.__position),this.__position+=1),e},n.prototype.peek=function(e){var t=null;return e=e||0,(e+=this.__position)>=0&&e<this.__input_length&&(t=this.__input.charAt(e)),t},n.prototype.__match=function(e,n){e.lastIndex=n;var r=e.exec(this.__input);return!r||t&&e.sticky||r.index!==n&&(r=null),r},n.prototype.test=function(e,t){return t=t||0,(t+=this.__position)>=0&&t<this.__input_length&&!!this.__match(e,t)},n.prototype.testChar=function(e,t){var n=this.peek(t);return e.lastIndex=0,null!==n&&e.test(n)},n.prototype.match=function(e){var t=this.__match(e,this.__position);return t?this.__position+=t[0].length:t=null,t},n.prototype.read=function(e,t,n){var r,i="";return e&&(r=this.match(e))&&(i+=r[0]),!t||!r&&e||(i+=this.readUntil(t,n)),i},n.prototype.readUntil=function(e,t){var n,r=this.__position;e.lastIndex=this.__position;var i=e.exec(this.__input);return i?(r=i.index,t&&(r+=i[0].length)):r=this.__input_length,n=this.__input.substring(this.__position,r),this.__position=r,n},n.prototype.readUntilAfter=function(e){return this.readUntil(e,!0)},n.prototype.get_regexp=function(e,n){var r=null,i="g";return n&&t&&(i="y"),"string"==typeof e&&""!==e?r=new RegExp(e,i):e&&(r=new RegExp(e.source,i)),r},n.prototype.get_literal_regexp=function(e){return RegExp(e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&"))},n.prototype.peekUntilAfter=function(e){var t=this.__position,n=this.readUntilAfter(e);return this.__position=t,n},n.prototype.lookBack=function(e){var t=this.__position-1;return t>=e.length&&this.__input.substring(t-e.length,t).toLowerCase()===e},e.exports.InputScanner=n},,,,,function(e){function t(e,t){e="string"==typeof e?e:e.source,t="string"==typeof t?t:t.source,this.__directives_block_pattern=new RegExp(e+/ beautify( \w+[:]\w+)+ /.source+t,"g"),this.__directive_pattern=/ (\w+)[:](\w+)/g,this.__directives_end_ignore_pattern=new RegExp(e+/\sbeautify\signore:end\s/.source+t,"g")}t.prototype.get_directives=function(e){if(!e.match(this.__directives_block_pattern))return null;var t={};this.__directive_pattern.lastIndex=0;for(var n=this.__directive_pattern.exec(e);n;)t[n[1]]=n[2],n=this.__directive_pattern.exec(e);return t},t.prototype.readIgnored=function(e){return e.readUntilAfter(this.__directives_end_ignore_pattern)},e.exports.Directives=t},,function(e,t,n){var r=n(16).Beautifier,i=n(17).Options;e.exports=function(e,t){return new r(e,t).beautify()},e.exports.defaultOptions=function(){return new i}},function(e,t,n){var r=n(17).Options,i=n(2).Output,o=n(8).InputScanner,a=new(0,n(13).Directives)(/\/\*/,/\*\//),s=/\r\n|[\r\n]/,u=/\r\n|[\r\n]/g,c=/\s/,l=/(?:\s|\n)+/g,d=/\/\*(?:[\s\S]*?)((?:\*\/)|$)/g,p=/\/\/(?:[^\n\r\u2028\u2029]*)/g;function f(e,t){this._source_text=e||"",this._options=new r(t),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"]}f.prototype.eatString=function(e){var t="";for(this._ch=this._input.next();this._ch;){if(t+=this._ch,"\\"===this._ch)t+=this._input.next();else if(-1!==e.indexOf(this._ch)||"\n"===this._ch)break;this._ch=this._input.next()}return t},f.prototype.eatWhitespace=function(e){for(var t=c.test(this._input.peek()),n=0;c.test(this._input.peek());)this._ch=this._input.next(),e&&"\n"===this._ch&&(0===n||n<this._options.max_preserve_newlines)&&(n++,this._output.add_new_line(!0));return t},f.prototype.foundNestedPseudoClass=function(){for(var e=0,t=1,n=this._input.peek(t);n;){if("{"===n)return!0;if("("===n)e+=1;else if(")"===n){if(0===e)return!1;e-=1}else if(";"===n||"}"===n)return!1;t++,n=this._input.peek(t)}return!1},f.prototype.print_string=function(e){this._output.set_indent(this._indentLevel),this._output.non_breaking_space=!0,this._output.add_token(e)},f.prototype.preserveSingleSpace=function(e){e&&(this._output.space_before_token=!0)},f.prototype.indent=function(){this._indentLevel++},f.prototype.outdent=function(){this._indentLevel>0&&this._indentLevel--},f.prototype.beautify=function(){if(this._options.disabled)return this._source_text;var e=this._source_text,t=this._options.eol;"auto"===t&&(t="\n",e&&s.test(e||"")&&(t=e.match(s)[0]));var n=(e=e.replace(u,"\n")).match(/^[\t ]*/)[0];this._output=new i(this._options,n),this._input=new o(e),this._indentLevel=0,this._nestedLevel=0,this._ch=null;for(var r,f,h=0,_=!1,m=!1,v=!1,g=!1,y=!1,b=this._ch,w=!1;r=""!==this._input.read(l),f=b,this._ch=this._input.next(),"\\"===this._ch&&this._input.hasNext()&&(this._ch+=this._input.next()),b=this._ch,this._ch;)if("/"===this._ch&&"*"===this._input.peek()){this._output.add_new_line(),this._input.back();var x=this._input.read(d),C=a.get_directives(x);C&&"start"===C.ignore&&(x+=a.readIgnored(this._input)),this.print_string(x),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(p)),this.eatWhitespace(!0);else if("$"===this._ch){this.preserveSingleSpace(r),this.print_string(this._ch);var k=this._input.peekUntilAfter(/[: ,;{}()[\]\/='"]/g);k.match(/[ :]$/)&&(k=this.eatString(": ").replace(/\s+$/,""),this.print_string(k),this._output.space_before_token=!0),0===h&&-1!==k.indexOf(":")&&(m=!0,this.indent())}else if("@"===this._ch)if(this.preserveSingleSpace(r),"{"===this._input.peek())this.print_string(this._ch+this.eatString("}"));else{this.print_string(this._ch);var E=this._input.peekUntilAfter(/[: ,;{}()[\]\/='"]/g);E.match(/[ :]$/)&&(E=this.eatString(": ").replace(/\s+$/,""),this.print_string(E),this._output.space_before_token=!0),0===h&&-1!==E.indexOf(":")?(m=!0,this.indent()):E in this.NESTED_AT_RULE?(this._nestedLevel+=1,E in this.CONDITIONAL_GROUP_RULE&&(v=!0)):0!==h||m||(g=!0)}else if("#"===this._ch&&"{"===this._input.peek())this.preserveSingleSpace(r),this.print_string(this._ch+this.eatString("}"));else if("{"===this._ch)m&&(m=!1,this.outdent()),g=!1,v?(v=!1,_=this._indentLevel>=this._nestedLevel):_=this._indentLevel>=this._nestedLevel-1,this._options.newline_between_rules&&_&&this._output.previous_line&&"{"!==this._output.previous_line.item(-1)&&this._output.ensure_empty_line_above("/",","),this._output.space_before_token=!0,"expand"===this._options.brace_style?(this._output.add_new_line(),this.print_string(this._ch),this.indent(),this._output.set_indent(this._indentLevel)):("("===f?this._output.space_before_token=!1:","!==f&&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(),"{"===f&&this._output.trim(!0),m&&(this.outdent(),m=!1),this.print_string(this._ch),_=!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),"expand"===this._options.brace_style&&this._output.add_new_line(!0));else if(":"===this._ch){for(var N=0;N<this.NON_SEMICOLON_NEWLINE_PROPERTY.length;N++)if(this._input.lookBack(this.NON_SEMICOLON_NEWLINE_PROPERTY[N])){w=!0;break}!_&&!v||this._input.lookBack("&")||this.foundNestedPseudoClass()||this._input.lookBack("(")||g||0!==h?(this._input.lookBack(" ")&&(this._output.space_before_token=!0),":"===this._input.peek()?(this._ch=this._input.next(),this.print_string("::")):this.print_string(":")):(this.print_string(":"),m||(m=!0,this._output.space_before_token=!0,this.eatWhitespace(!0),this.indent()))}else if('"'===this._ch||"'"===this._ch){var Z='"'===f||"'"===f;this.preserveSingleSpace(Z||r),this.print_string(this._ch+this.eatString(this._ch)),this.eatWhitespace(!0)}else if(";"===this._ch)w=!1,0===h?(m&&(this.outdent(),m=!1),g=!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(),h++,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(")")),h&&(h--,this.outdent()));else{var S=!1;this._input.lookBack("with")&&(S=!0),this.preserveSingleSpace(r||S),this.print_string(this._ch),m&&"$"===f&&this._options.selector_separator_newline?(this._output.add_new_line(),y=!0):(this.eatWhitespace(),h++,this.indent())}else if(")"===this._ch)h&&(h--,this.outdent()),y&&";"===this._input.peek()&&this._options.selector_separator_newline&&(y=!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||m&&!y||0!==h||g?this._output.space_before_token=!0:this._output.add_new_line();else if(">"!==this._ch&&"+"!==this._ch&&"~"!==this._ch||m||0!==h)if("]"===this._ch)this.print_string(this._ch);else if("["===this._ch)this.preserveSingleSpace(r),this.print_string(this._ch);else if("="===this._ch)this.eatWhitespace(),this.print_string("="),c.test(this._ch)&&(this._ch="");else if("!"!==this._ch||this._input.lookBack("\\")){var R='"'===f||"'"===f;this.preserveSingleSpace(R||r),this.print_string(this._ch),!this._output.just_added_newline()&&"\n"===this._input.peek()&&w&&this._output.add_new_line()}else this._output.space_before_token=!0,this.print_string(this._ch);else 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&&c.test(this._ch)&&(this._ch=""));return this._output.get_code(t)},e.exports.Beautifier=f},function(e,t,n){var r=n(6).Options;function i(e){r.call(this,e,"css"),this.selector_separator_newline=this._get_boolean("selector_separator_newline",!0),this.newline_between_rules=this._get_boolean("newline_between_rules",!0);var t=this._get_boolean("space_around_selector_separator");this.space_around_combinator=this._get_boolean("space_around_combinator")||t;var n=this._get_selection_list("brace_style",["collapse","expand","end-expand","none","preserve-inline"]);this.brace_style="collapse";for(var i=0;i<n.length;i++)"expand"!==n[i]?this.brace_style="collapse":this.brace_style=n[i]}i.prototype=new r,e.exports.Options=i}],t={};var n=function n(r){var i=t[r];if(void 0!==i)return i.exports;var o=t[r]={exports:{}};return e[r](o,o.exports,n),o.exports}(15);r=n}();var i=r;void 0===(n=function(){return{css_beautify:i}}.apply(t,[]))||(e.exports=n)}()},40998:function(e,t,n){var r,i;!function(){var o;!function(){"use strict";var e=[,,function(e){function t(e){this.__parent=e,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=[]}function n(e,t){this.__cache=[""],this.__indent_size=e.indent_size,this.__indent_string=e.indent_char,e.indent_with_tabs||(this.__indent_string=new Array(e.indent_size+1).join(e.indent_char)),t=t||"",e.indent_level>0&&(t=new Array(e.indent_level+1).join(this.__indent_string)),this.__base_string=t,this.__base_string_length=t.length}function r(e,r){this.__indent_cache=new n(e,r),this.raw=!1,this._end_with_newline=e.end_with_newline,this.indent_size=e.indent_size,this.wrap_line_length=e.wrap_line_length,this.indent_empty_lines=e.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()}t.prototype.clone_empty=function(){var e=new t(this.__parent);return e.set_indent(this.__indent_count,this.__alignment_count),e},t.prototype.item=function(e){return e<0?this.__items[this.__items.length+e]:this.__items[e]},t.prototype.has_match=function(e){for(var t=this.__items.length-1;t>=0;t--)if(this.__items[t].match(e))return!0;return!1},t.prototype.set_indent=function(e,t){this.is_empty()&&(this.__indent_count=e||0,this.__alignment_count=t||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 e=this.__parent.current_line;return e.set_indent(this.__wrap_point_indent_count,this.__wrap_point_alignment_count),e.__items=this.__items.slice(this.__wrap_point_index),this.__items=this.__items.slice(0,this.__wrap_point_index),e.__character_count+=this.__character_count-this.__wrap_point_character_count,this.__character_count=this.__wrap_point_character_count," "===e.__items[0]&&(e.__items.splice(0,1),e.__character_count-=1),!0}return!1},t.prototype.is_empty=function(){return 0===this.__items.length},t.prototype.last=function(){return this.is_empty()?null:this.__items[this.__items.length-1]},t.prototype.push=function(e){this.__items.push(e);var t=e.lastIndexOf("\n");-1!==t?this.__character_count=e.length-t:this.__character_count+=e.length},t.prototype.pop=function(){var e=null;return this.is_empty()||(e=this.__items.pop(),this.__character_count-=e.length),e},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 e="";return this.is_empty()?this.__parent.indent_empty_lines&&(e=this.__parent.get_indent_string(this.__indent_count)):(e=this.__parent.get_indent_string(this.__indent_count,this.__alignment_count),e+=this.__items.join("")),e},n.prototype.get_indent_size=function(e,t){var n=this.__base_string_length;return t=t||0,e<0&&(n=0),n+=e*this.__indent_size,n+=t},n.prototype.get_indent_string=function(e,t){var n=this.__base_string;return t=t||0,e<0&&(e=0,n=""),t+=e*this.__indent_size,this.__ensure_cache(t),n+=this.__cache[t]},n.prototype.__ensure_cache=function(e){for(;e>=this.__cache.length;)this.__add_column()},n.prototype.__add_column=function(){var e=this.__cache.length,t=0,n="";this.__indent_size&&e>=this.__indent_size&&(e-=(t=Math.floor(e/this.__indent_size))*this.__indent_size,n=new Array(t+1).join(this.__indent_string)),e&&(n+=new Array(e+1).join(" ")),this.__cache.push(n)},r.prototype.__add_outputline=function(){this.previous_line=this.current_line,this.current_line=this.next_line.clone_empty(),this.__lines.push(this.current_line)},r.prototype.get_line_number=function(){return this.__lines.length},r.prototype.get_indent_string=function(e,t){return this.__indent_cache.get_indent_string(e,t)},r.prototype.get_indent_size=function(e,t){return this.__indent_cache.get_indent_size(e,t)},r.prototype.is_empty=function(){return!this.previous_line&&this.current_line.is_empty()},r.prototype.add_new_line=function(e){return!(this.is_empty()||!e&&this.just_added_newline())&&(this.raw||this.__add_outputline(),!0)},r.prototype.get_code=function(e){this.trim(!0);var t=this.current_line.pop();t&&("\n"===t[t.length-1]&&(t=t.replace(/\n+$/g,"")),this.current_line.push(t)),this._end_with_newline&&this.__add_outputline();var n=this.__lines.join("\n");return"\n"!==e&&(n=n.replace(/[\n]/g,e)),n},r.prototype.set_wrap_point=function(){this.current_line._set_wrap_point()},r.prototype.set_indent=function(e,t){return e=e||0,t=t||0,this.next_line.set_indent(e,t),this.__lines.length>1?(this.current_line.set_indent(e,t),!0):(this.current_line.set_indent(),!1)},r.prototype.add_raw_token=function(e){for(var t=0;t<e.newlines;t++)this.__add_outputline();this.current_line.set_indent(-1),this.current_line.push(e.whitespace_before),this.current_line.push(e.text),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=!1},r.prototype.add_token=function(e){this.__add_space_before_token(),this.current_line.push(e),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=this.current_line._allow_wrap()},r.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(" "))},r.prototype.remove_indent=function(e){for(var t=this.__lines.length;e<t;)this.__lines[e]._remove_indent(),e++;this.current_line._remove_wrap_indent()},r.prototype.trim=function(e){for(e=void 0!==e&&e,this.current_line.trim();e&&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},r.prototype.just_added_newline=function(){return this.current_line.is_empty()},r.prototype.just_added_blankline=function(){return this.is_empty()||this.current_line.is_empty()&&this.previous_line.is_empty()},r.prototype.ensure_empty_line_above=function(e,n){for(var r=this.__lines.length-2;r>=0;){var i=this.__lines[r];if(i.is_empty())break;if(0!==i.item(0).indexOf(e)&&i.item(-1)!==n){this.__lines.splice(r+1,0,new t(this)),this.previous_line=this.__lines[this.__lines.length-2];break}r--}},e.exports.Output=r},function(e){e.exports.Token=function(e,t,n,r){this.type=e,this.text=t,this.comments_before=null,this.newlines=n||0,this.whitespace_before=r||"",this.parent=null,this.next=null,this.previous=null,this.opened=null,this.closed=null,this.directives=null}},,,function(e){function t(e,t){this.raw_options=n(e,t),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","\t"===this.indent_char),this.indent_with_tabs&&(this.indent_char="\t",1===this.indent_size&&(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"])}function n(e,t){var n,i={};for(n in e=r(e))n!==t&&(i[n]=e[n]);if(t&&e[t])for(n in e[t])i[n]=e[t][n];return i}function r(e){var t,n={};for(t in e){n[t.replace(/-/g,"_")]=e[t]}return n}t.prototype._get_array=function(e,t){var n=this.raw_options[e],r=t||[];return"object"==typeof n?null!==n&&"function"==typeof n.concat&&(r=n.concat()):"string"==typeof n&&(r=n.split(/[^a-zA-Z0-9_\/\-]+/)),r},t.prototype._get_boolean=function(e,t){var n=this.raw_options[e];return void 0===n?!!t:!!n},t.prototype._get_characters=function(e,t){var n=this.raw_options[e],r=t||"";return"string"==typeof n&&(r=n.replace(/\\r/,"\r").replace(/\\n/,"\n").replace(/\\t/,"\t")),r},t.prototype._get_number=function(e,t){var n=this.raw_options[e];t=parseInt(t,10),isNaN(t)&&(t=0);var r=parseInt(n,10);return isNaN(r)&&(r=t),r},t.prototype._get_selection=function(e,t,n){var r=this._get_selection_list(e,t,n);if(1!==r.length)throw new Error("Invalid Option Value: The option '"+e+"' can only be one of the following values:\n"+t+"\nYou passed in: '"+this.raw_options[e]+"'");return r[0]},t.prototype._get_selection_list=function(e,t,n){if(!t||0===t.length)throw new Error("Selection list cannot be empty.");if(n=n||[t[0]],!this._is_valid_selection(n,t))throw new Error("Invalid Default Value!");var r=this._get_array(e,n);if(!this._is_valid_selection(r,t))throw new Error("Invalid Option Value: The option '"+e+"' can contain only the following values:\n"+t+"\nYou passed in: '"+this.raw_options[e]+"'");return r},t.prototype._is_valid_selection=function(e,t){return e.length&&t.length&&!e.some((function(e){return-1===t.indexOf(e)}))},e.exports.Options=t,e.exports.normalizeOpts=r,e.exports.mergeOpts=n},,function(e){var t=RegExp.prototype.hasOwnProperty("sticky");function n(e){this.__input=e||"",this.__input_length=this.__input.length,this.__position=0}n.prototype.restart=function(){this.__position=0},n.prototype.back=function(){this.__position>0&&(this.__position-=1)},n.prototype.hasNext=function(){return this.__position<this.__input_length},n.prototype.next=function(){var e=null;return this.hasNext()&&(e=this.__input.charAt(this.__position),this.__position+=1),e},n.prototype.peek=function(e){var t=null;return e=e||0,(e+=this.__position)>=0&&e<this.__input_length&&(t=this.__input.charAt(e)),t},n.prototype.__match=function(e,n){e.lastIndex=n;var r=e.exec(this.__input);return!r||t&&e.sticky||r.index!==n&&(r=null),r},n.prototype.test=function(e,t){return t=t||0,(t+=this.__position)>=0&&t<this.__input_length&&!!this.__match(e,t)},n.prototype.testChar=function(e,t){var n=this.peek(t);return e.lastIndex=0,null!==n&&e.test(n)},n.prototype.match=function(e){var t=this.__match(e,this.__position);return t?this.__position+=t[0].length:t=null,t},n.prototype.read=function(e,t,n){var r,i="";return e&&(r=this.match(e))&&(i+=r[0]),!t||!r&&e||(i+=this.readUntil(t,n)),i},n.prototype.readUntil=function(e,t){var n,r=this.__position;e.lastIndex=this.__position;var i=e.exec(this.__input);return i?(r=i.index,t&&(r+=i[0].length)):r=this.__input_length,n=this.__input.substring(this.__position,r),this.__position=r,n},n.prototype.readUntilAfter=function(e){return this.readUntil(e,!0)},n.prototype.get_regexp=function(e,n){var r=null,i="g";return n&&t&&(i="y"),"string"==typeof e&&""!==e?r=new RegExp(e,i):e&&(r=new RegExp(e.source,i)),r},n.prototype.get_literal_regexp=function(e){return RegExp(e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&"))},n.prototype.peekUntilAfter=function(e){var t=this.__position,n=this.readUntilAfter(e);return this.__position=t,n},n.prototype.lookBack=function(e){var t=this.__position-1;return t>=e.length&&this.__input.substring(t-e.length,t).toLowerCase()===e},e.exports.InputScanner=n},function(e,t,n){var r=n(8).InputScanner,i=n(3).Token,o=n(10).TokenStream,a=n(11).WhitespacePattern,s={START:"TK_START",RAW:"TK_RAW",EOF:"TK_EOF"},u=function(e,t){this._input=new r(e),this._options=t||{},this.__tokens=null,this._patterns={},this._patterns.whitespace=new a(this._input)};u.prototype.tokenize=function(){var e;this._input.restart(),this.__tokens=new o,this._reset();for(var t=new i(s.START,""),n=null,r=[],a=new o;t.type!==s.EOF;){for(e=this._get_next_token(t,n);this._is_comment(e);)a.add(e),e=this._get_next_token(t,n);a.isEmpty()||(e.comments_before=a,a=new o),e.parent=n,this._is_opening(e)?(r.push(n),n=e):n&&this._is_closing(e,n)&&(e.opened=n,n.closed=e,n=r.pop(),e.parent=n),e.previous=t,t.next=e,this.__tokens.add(e),t=e}return this.__tokens},u.prototype._is_first_token=function(){return this.__tokens.isEmpty()},u.prototype._reset=function(){},u.prototype._get_next_token=function(e,t){this._readWhitespace();var n=this._input.read(/.+/g);return n?this._create_token(s.RAW,n):this._create_token(s.EOF,"")},u.prototype._is_comment=function(e){return!1},u.prototype._is_opening=function(e){return!1},u.prototype._is_closing=function(e,t){return!1},u.prototype._create_token=function(e,t){return new i(e,t,this._patterns.whitespace.newline_count,this._patterns.whitespace.whitespace_before_token)},u.prototype._readWhitespace=function(){return this._patterns.whitespace.read()},e.exports.Tokenizer=u,e.exports.TOKEN=s},function(e){function t(e){this.__tokens=[],this.__tokens_length=this.__tokens.length,this.__position=0,this.__parent_token=e}t.prototype.restart=function(){this.__position=0},t.prototype.isEmpty=function(){return 0===this.__tokens_length},t.prototype.hasNext=function(){return this.__position<this.__tokens_length},t.prototype.next=function(){var e=null;return this.hasNext()&&(e=this.__tokens[this.__position],this.__position+=1),e},t.prototype.peek=function(e){var t=null;return e=e||0,(e+=this.__position)>=0&&e<this.__tokens_length&&(t=this.__tokens[e]),t},t.prototype.add=function(e){this.__parent_token&&(e.parent=this.__parent_token),this.__tokens.push(e),this.__tokens_length+=1},e.exports.TokenStream=t},function(e,t,n){var r=n(12).Pattern;function i(e,t){r.call(this,e,t),t?this._line_regexp=this._input.get_regexp(t._line_regexp):this.__set_whitespace_patterns("",""),this.newline_count=0,this.whitespace_before_token=""}i.prototype=new r,i.prototype.__set_whitespace_patterns=function(e,t){e+="\\t ",t+="\\n\\r",this._match_pattern=this._input.get_regexp("["+e+t+"]+",!0),this._newline_regexp=this._input.get_regexp("\\r\\n|["+t+"]")},i.prototype.read=function(){this.newline_count=0,this.whitespace_before_token="";var e=this._input.read(this._match_pattern);if(" "===e)this.whitespace_before_token=" ";else if(e){var t=this.__split(this._newline_regexp,e);this.newline_count=t.length-1,this.whitespace_before_token=t[this.newline_count]}return e},i.prototype.matching=function(e,t){var n=this._create();return n.__set_whitespace_patterns(e,t),n._update(),n},i.prototype._create=function(){return new i(this._input,this)},i.prototype.__split=function(e,t){e.lastIndex=0;for(var n=0,r=[],i=e.exec(t);i;)r.push(t.substring(n,i.index)),n=i.index+i[0].length,i=e.exec(t);return n<t.length?r.push(t.substring(n,t.length)):r.push(""),r},e.exports.WhitespacePattern=i},function(e){function t(e,t){this._input=e,this._starting_pattern=null,this._match_pattern=null,this._until_pattern=null,this._until_after=!1,t&&(this._starting_pattern=this._input.get_regexp(t._starting_pattern,!0),this._match_pattern=this._input.get_regexp(t._match_pattern,!0),this._until_pattern=this._input.get_regexp(t._until_pattern),this._until_after=t._until_after)}t.prototype.read=function(){var e=this._input.read(this._starting_pattern);return this._starting_pattern&&!e||(e+=this._input.read(this._match_pattern,this._until_pattern,this._until_after)),e},t.prototype.read_match=function(){return this._input.match(this._match_pattern)},t.prototype.until_after=function(e){var t=this._create();return t._until_after=!0,t._until_pattern=this._input.get_regexp(e),t._update(),t},t.prototype.until=function(e){var t=this._create();return t._until_after=!1,t._until_pattern=this._input.get_regexp(e),t._update(),t},t.prototype.starting_with=function(e){var t=this._create();return t._starting_pattern=this._input.get_regexp(e,!0),t._update(),t},t.prototype.matching=function(e){var t=this._create();return t._match_pattern=this._input.get_regexp(e,!0),t._update(),t},t.prototype._create=function(){return new t(this._input,this)},t.prototype._update=function(){},e.exports.Pattern=t},function(e){function t(e,t){e="string"==typeof e?e:e.source,t="string"==typeof t?t:t.source,this.__directives_block_pattern=new RegExp(e+/ beautify( \w+[:]\w+)+ /.source+t,"g"),this.__directive_pattern=/ (\w+)[:](\w+)/g,this.__directives_end_ignore_pattern=new RegExp(e+/\sbeautify\signore:end\s/.source+t,"g")}t.prototype.get_directives=function(e){if(!e.match(this.__directives_block_pattern))return null;var t={};this.__directive_pattern.lastIndex=0;for(var n=this.__directive_pattern.exec(e);n;)t[n[1]]=n[2],n=this.__directive_pattern.exec(e);return t},t.prototype.readIgnored=function(e){return e.readUntilAfter(this.__directives_end_ignore_pattern)},e.exports.Directives=t},function(e,t,n){var r=n(12).Pattern,i={django:!1,erb:!1,handlebars:!1,php:!1,smarty:!1,angular:!1};function o(e,t){r.call(this,e,t),this.__template_pattern=null,this._disabled=Object.assign({},i),this._excluded=Object.assign({},i),t&&(this.__template_pattern=this._input.get_regexp(t.__template_pattern),this._excluded=Object.assign(this._excluded,t._excluded),this._disabled=Object.assign(this._disabled,t._disabled));var n=new r(e);this.__patterns={handlebars_comment:n.starting_with(/{{!--/).until_after(/--}}/),handlebars_unescaped:n.starting_with(/{{{/).until_after(/}}}/),handlebars:n.starting_with(/{{/).until_after(/}}/),php:n.starting_with(/<\?(?:[= ]|php)/).until_after(/\?>/),erb:n.starting_with(/<%[^%]/).until_after(/[^%]%>/),django:n.starting_with(/{%/).until_after(/%}/),django_value:n.starting_with(/{{/).until_after(/}}/),django_comment:n.starting_with(/{#/).until_after(/#}/),smarty:n.starting_with(/{(?=[^}{\s\n])/).until_after(/[^\s\n]}/),smarty_comment:n.starting_with(/{\*/).until_after(/\*}/),smarty_literal:n.starting_with(/{literal}/).until_after(/{\/literal}/)}}o.prototype=new r,o.prototype._create=function(){return new o(this._input,this)},o.prototype._update=function(){this.__set_templated_pattern()},o.prototype.disable=function(e){var t=this._create();return t._disabled[e]=!0,t._update(),t},o.prototype.read_options=function(e){var t=this._create();for(var n in i)t._disabled[n]=-1===e.templating.indexOf(n);return t._update(),t},o.prototype.exclude=function(e){var t=this._create();return t._excluded[e]=!0,t._update(),t},o.prototype.read=function(){var e="";e=this._match_pattern?this._input.read(this._starting_pattern):this._input.read(this._starting_pattern,this.__template_pattern);for(var t=this._read_template();t;)this._match_pattern?t+=this._input.read(this._match_pattern):t+=this._input.readUntil(this.__template_pattern),e+=t,t=this._read_template();return this._until_after&&(e+=this._input.readUntilAfter(this._until_pattern)),e},o.prototype.__set_templated_pattern=function(){var e=[];this._disabled.php||e.push(this.__patterns.php._starting_pattern.source),this._disabled.handlebars||e.push(this.__patterns.handlebars._starting_pattern.source),this._disabled.angular||e.push(this.__patterns.handlebars._starting_pattern.source),this._disabled.erb||e.push(this.__patterns.erb._starting_pattern.source),this._disabled.django||(e.push(this.__patterns.django._starting_pattern.source),e.push(this.__patterns.django_value._starting_pattern.source),e.push(this.__patterns.django_comment._starting_pattern.source)),this._disabled.smarty||e.push(this.__patterns.smarty._starting_pattern.source),this._until_pattern&&e.push(this._until_pattern.source),this.__template_pattern=this._input.get_regexp("(?:"+e.join("|")+")")},o.prototype._read_template=function(){var e="",t=this._input.peek();if("<"===t){var n=this._input.peek(1);this._disabled.php||this._excluded.php||"?"!==n||(e=e||this.__patterns.php.read()),this._disabled.erb||this._excluded.erb||"%"!==n||(e=e||this.__patterns.erb.read())}else"{"===t&&(this._disabled.handlebars||this._excluded.handlebars||(e=(e=(e=e||this.__patterns.handlebars_comment.read())||this.__patterns.handlebars_unescaped.read())||this.__patterns.handlebars.read()),this._disabled.django||(this._excluded.django||this._excluded.handlebars||(e=e||this.__patterns.django_value.read()),this._excluded.django||(e=(e=e||this.__patterns.django_comment.read())||this.__patterns.django.read())),this._disabled.smarty||this._disabled.django&&this._disabled.handlebars&&(e=(e=(e=e||this.__patterns.smarty_comment.read())||this.__patterns.smarty_literal.read())||this.__patterns.smarty.read()));return e},e.exports.TemplatablePattern=o},,,,function(e,t,n){var r=n(19).Beautifier,i=n(20).Options;e.exports=function(e,t,n,i){return new r(e,t,n,i).beautify()},e.exports.defaultOptions=function(){return new i}},function(e,t,n){var r=n(20).Options,i=n(2).Output,o=n(21).Tokenizer,a=n(21).TOKEN,s=/\r\n|[\r\n]/,u=/\r\n|[\r\n]/g,c=function(e,t){this.indent_level=0,this.alignment_size=0,this.max_preserve_newlines=e.max_preserve_newlines,this.preserve_newlines=e.preserve_newlines,this._output=new i(e,t)};c.prototype.current_line_has_match=function(e){return this._output.current_line.has_match(e)},c.prototype.set_space_before_token=function(e,t){this._output.space_before_token=e,this._output.non_breaking_space=t},c.prototype.set_wrap_point=function(){this._output.set_indent(this.indent_level,this.alignment_size),this._output.set_wrap_point()},c.prototype.add_raw_token=function(e){this._output.add_raw_token(e)},c.prototype.print_preserved_newlines=function(e){var t=0;e.type!==a.TEXT&&e.previous.type!==a.TEXT&&(t=e.newlines?1:0),this.preserve_newlines&&(t=e.newlines<this.max_preserve_newlines+1?e.newlines:this.max_preserve_newlines+1);for(var n=0;n<t;n++)this.print_newline(n>0);return 0!==t},c.prototype.traverse_whitespace=function(e){return!(!e.whitespace_before&&!e.newlines)&&(this.print_preserved_newlines(e)||(this._output.space_before_token=!0),!0)},c.prototype.previous_token_wrapped=function(){return this._output.previous_token_wrapped},c.prototype.print_newline=function(e){this._output.add_new_line(e)},c.prototype.print_token=function(e){e.text&&(this._output.set_indent(this.indent_level,this.alignment_size),this._output.add_token(e.text))},c.prototype.indent=function(){this.indent_level++},c.prototype.deindent=function(){this.indent_level>0&&(this.indent_level--,this._output.set_indent(this.indent_level,this.alignment_size))},c.prototype.get_full_indent=function(e){return(e=this.indent_level+(e||0))<1?"":this._output.get_indent_string(e)};var l=function(e,t){var n=null,r=null;return t.closed?("script"===e?n="text/javascript":"style"===e&&(n="text/css"),n=function(e){for(var t=null,n=e.next;n.type!==a.EOF&&e.closed!==n;){if(n.type===a.ATTRIBUTE&&"type"===n.text){n.next&&n.next.type===a.EQUALS&&n.next.next&&n.next.next.type===a.VALUE&&(t=n.next.next.text);break}n=n.next}return t}(t)||n,n.search("text/css")>-1?r="css":n.search(/module|((text|application|dojo)\/(x-)?(javascript|ecmascript|jscript|livescript|(ld\+)?json|method|aspect))/)>-1?r="javascript":n.search(/(text|application|dojo)\/(x-)?(html)/)>-1?r="html":n.search(/test\/null/)>-1&&(r="null"),r):null};function d(e,t){return-1!==t.indexOf(e)}function p(e,t,n){this.parent=e||null,this.tag=t?t.tag_name:"",this.indent_level=n||0,this.parser_token=t||null}function f(e){this._printer=e,this._current_frame=null}function h(e,t,n,i){this._source_text=e||"",t=t||{},this._js_beautify=n,this._css_beautify=i,this._tag_stack=null;var o=new r(t,"html");this._options=o,this._is_wrap_attributes_force="force"===this._options.wrap_attributes.substr(0,"force".length),this._is_wrap_attributes_force_expand_multiline="force-expand-multiline"===this._options.wrap_attributes,this._is_wrap_attributes_force_aligned="force-aligned"===this._options.wrap_attributes,this._is_wrap_attributes_aligned_multiple="aligned-multiple"===this._options.wrap_attributes,this._is_wrap_attributes_preserve="preserve"===this._options.wrap_attributes.substr(0,"preserve".length),this._is_wrap_attributes_preserve_aligned="preserve-aligned"===this._options.wrap_attributes}f.prototype.get_parser_token=function(){return this._current_frame?this._current_frame.parser_token:null},f.prototype.record_tag=function(e){var t=new p(this._current_frame,e,this._printer.indent_level);this._current_frame=t},f.prototype._try_pop_frame=function(e){var t=null;return e&&(t=e.parser_token,this._printer.indent_level=e.indent_level,this._current_frame=e.parent),t},f.prototype._get_frame=function(e,t){for(var n=this._current_frame;n&&-1===e.indexOf(n.tag);){if(t&&-1!==t.indexOf(n.tag)){n=null;break}n=n.parent}return n},f.prototype.try_pop=function(e,t){var n=this._get_frame([e],t);return this._try_pop_frame(n)},f.prototype.indent_to_tag=function(e){var t=this._get_frame(e);t&&(this._printer.indent_level=t.indent_level)},h.prototype.beautify=function(){if(this._options.disabled)return this._source_text;var e=this._source_text,t=this._options.eol;"auto"===this._options.eol&&(t="\n",e&&s.test(e)&&(t=e.match(s)[0]));var n=(e=e.replace(u,"\n")).match(/^[\t ]*/)[0],r={text:"",type:""},i=new _(this._options),l=new c(this._options,n),d=new o(e,this._options).tokenize();this._tag_stack=new f(l);for(var p=null,h=d.next();h.type!==a.EOF;)h.type===a.TAG_OPEN||h.type===a.COMMENT?i=p=this._handle_tag_open(l,h,i,r,d):h.type===a.ATTRIBUTE||h.type===a.EQUALS||h.type===a.VALUE||h.type===a.TEXT&&!i.tag_complete?p=this._handle_inside_tag(l,h,i,r):h.type===a.TAG_CLOSE?p=this._handle_tag_close(l,h,i):h.type===a.TEXT?p=this._handle_text(l,h,i):h.type===a.CONTROL_FLOW_OPEN?p=this._handle_control_flow_open(l,h):h.type===a.CONTROL_FLOW_CLOSE?p=this._handle_control_flow_close(l,h):l.add_raw_token(h),r=p,h=d.next();return l._output.get_code(t)},h.prototype._handle_control_flow_open=function(e,t){var n={text:t.text,type:t.type};return e.set_space_before_token(t.newlines||""!==t.whitespace_before,!0),t.newlines?e.print_preserved_newlines(t):e.set_space_before_token(t.newlines||""!==t.whitespace_before,!0),e.print_token(t),e.indent(),n},h.prototype._handle_control_flow_close=function(e,t){var n={text:t.text,type:t.type};return e.deindent(),t.newlines?e.print_preserved_newlines(t):e.set_space_before_token(t.newlines||""!==t.whitespace_before,!0),e.print_token(t),n},h.prototype._handle_tag_close=function(e,t,n){var r={text:t.text,type:t.type};return e.alignment_size=0,n.tag_complete=!0,e.set_space_before_token(t.newlines||""!==t.whitespace_before,!0),n.is_unformatted?e.add_raw_token(t):("<"===n.tag_start_char&&(e.set_space_before_token("/"===t.text[0],!0),this._is_wrap_attributes_force_expand_multiline&&n.has_wrapped_attrs&&e.print_newline(!1)),e.print_token(t)),!n.indent_content||n.is_unformatted||n.is_content_unformatted||(e.indent(),n.indent_content=!1),n.is_inline_element||n.is_unformatted||n.is_content_unformatted||e.set_wrap_point(),r},h.prototype._handle_inside_tag=function(e,t,n,r){var i=n.has_wrapped_attrs,o={text:t.text,type:t.type};return e.set_space_before_token(t.newlines||""!==t.whitespace_before,!0),n.is_unformatted?e.add_raw_token(t):"{"===n.tag_start_char&&t.type===a.TEXT?e.print_preserved_newlines(t)?(t.newlines=0,e.add_raw_token(t)):e.print_token(t):(t.type===a.ATTRIBUTE?e.set_space_before_token(!0):(t.type===a.EQUALS||t.type===a.VALUE&&t.previous.type===a.EQUALS)&&e.set_space_before_token(!1),t.type===a.ATTRIBUTE&&"<"===n.tag_start_char&&((this._is_wrap_attributes_preserve||this._is_wrap_attributes_preserve_aligned)&&(e.traverse_whitespace(t),i=i||0!==t.newlines),this._is_wrap_attributes_force&&n.attr_count>=this._options.wrap_attributes_min_attrs&&(r.type!==a.TAG_OPEN||this._is_wrap_attributes_force_expand_multiline)&&(e.print_newline(!1),i=!0)),e.print_token(t),i=i||e.previous_token_wrapped(),n.has_wrapped_attrs=i),o},h.prototype._handle_text=function(e,t,n){var r={text:t.text,type:"TK_CONTENT"};return n.custom_beautifier_name?this._print_custom_beatifier_text(e,t,n):n.is_unformatted||n.is_content_unformatted?e.add_raw_token(t):(e.traverse_whitespace(t),e.print_token(t)),r},h.prototype._print_custom_beatifier_text=function(e,t,n){var r=this;if(""!==t.text){var i,o=t.text,a=1,s="",u="";"javascript"===n.custom_beautifier_name&&"function"==typeof this._js_beautify?i=this._js_beautify:"css"===n.custom_beautifier_name&&"function"==typeof this._css_beautify?i=this._css_beautify:"html"===n.custom_beautifier_name&&(i=function(e,t){return new h(e,t,r._js_beautify,r._css_beautify).beautify()}),"keep"===this._options.indent_scripts?a=0:"separate"===this._options.indent_scripts&&(a=-e.indent_level);var c=e.get_full_indent(a);if(o=o.replace(/\n[ \t]*$/,""),"html"!==n.custom_beautifier_name&&"<"===o[0]&&o.match(/^(<!--|<!\[CDATA\[)/)){var l=/^(<!--[^\n]*|<!\[CDATA\[)(\n?)([ \t\n]*)([\s\S]*)(-->|]]>)$/.exec(o);if(!l)return void e.add_raw_token(t);s=c+l[1]+"\n",o=l[4],l[5]&&(u=c+l[5]),o=o.replace(/\n[ \t]*$/,""),(l[2]||-1!==l[3].indexOf("\n"))&&(l=l[3].match(/[ \t]+$/))&&(t.whitespace_before=l[0])}if(o)if(i){var d=function(){this.eol="\n"};d.prototype=this._options.raw_options,o=i(c+o,new d)}else{var p=t.whitespace_before;p&&(o=o.replace(new RegExp("\n("+p+")?","g"),"\n")),o=c+o.replace(/\n/g,"\n"+c)}s&&(o=o?s+o+"\n"+u:s+u),e.print_newline(!1),o&&(t.text=o,t.whitespace_before="",t.newlines=0,e.add_raw_token(t),e.print_newline(!0))}},h.prototype._handle_tag_open=function(e,t,n,r,i){var o=this._get_tag_open_token(t);if(!n.is_unformatted&&!n.is_content_unformatted||n.is_empty_element||t.type!==a.TAG_OPEN||o.is_start_tag?(e.traverse_whitespace(t),this._set_tag_position(e,t,o,n,r),o.is_inline_element||e.set_wrap_point(),e.print_token(t)):(e.add_raw_token(t),o.start_tag_token=this._tag_stack.try_pop(o.tag_name)),o.is_start_tag&&this._is_wrap_attributes_force){var s,u=0;do{(s=i.peek(u)).type===a.ATTRIBUTE&&(o.attr_count+=1),u+=1}while(s.type!==a.EOF&&s.type!==a.TAG_CLOSE)}return(this._is_wrap_attributes_force_aligned||this._is_wrap_attributes_aligned_multiple||this._is_wrap_attributes_preserve_aligned)&&(o.alignment_size=t.text.length+1),o.tag_complete||o.is_unformatted||(e.alignment_size=o.alignment_size),o};var _=function(e,t,n){if(this.parent=t||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="",n){var r;this.tag_start_char=n.text[0],this.text=n.text,"<"===this.tag_start_char?(r=n.text.match(/^<([^\s>]*)/),this.tag_check=r?r[1]:""):(r=n.text.match(/^{{~?(?:[\^]|#\*?)?([^\s}]+)/),this.tag_check=r?r[1]:"",(n.text.startsWith("{{#>")||n.text.startsWith("{{~#>"))&&">"===this.tag_check[0]&&(">"===this.tag_check&&null!==n.next?this.tag_check=n.next.text.split(" ")[0]:this.tag_check=n.text.split(">")[1])),this.tag_check=this.tag_check.toLowerCase(),n.type===a.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||n.closed&&"/>"===n.closed.text;var i=2;"{"===this.tag_start_char&&this.text.length>=3&&"~"===this.text.charAt(2)&&(i=3),this.is_end_tag=this.is_end_tag||"{"===this.tag_start_char&&(!e.indent_handlebars||this.text.length<3||/[^#\^]/.test(this.text.charAt(i)))}else this.tag_complete=!0};h.prototype._get_tag_open_token=function(e){var t=new _(this._options,this._tag_stack.get_parser_token(),e);return t.alignment_size=this._options.wrap_attributes_indent_size,t.is_end_tag=t.is_end_tag||d(t.tag_check,this._options.void_elements),t.is_empty_element=t.tag_complete||t.is_start_tag&&t.is_end_tag,t.is_unformatted=!t.tag_complete&&d(t.tag_check,this._options.unformatted),t.is_content_unformatted=!t.is_empty_element&&d(t.tag_check,this._options.content_unformatted),t.is_inline_element=d(t.tag_name,this._options.inline)||this._options.inline_custom_elements&&t.tag_name.includes("-")||"{"===t.tag_start_char,t},h.prototype._set_tag_position=function(e,t,n,r,i){if(n.is_empty_element||(n.is_end_tag?n.start_tag_token=this._tag_stack.try_pop(n.tag_name):(this._do_optional_end_element(n)&&(n.is_inline_element||e.print_newline(!1)),this._tag_stack.record_tag(n),"script"!==n.tag_name&&"style"!==n.tag_name||n.is_unformatted||n.is_content_unformatted||(n.custom_beautifier_name=l(n.tag_check,t)))),d(n.tag_check,this._options.extra_liners)&&(e.print_newline(!1),e._output.just_added_blankline()||e.print_newline(!0)),n.is_empty_element){if("{"===n.tag_start_char&&"else"===n.tag_check)this._tag_stack.indent_to_tag(["if","unless","each"]),n.indent_content=!0,e.current_line_has_match(/{{#if/)||e.print_newline(!1);"!--"===n.tag_name&&i.type===a.TAG_CLOSE&&r.is_end_tag&&-1===n.text.indexOf("\n")||(n.is_inline_element||n.is_unformatted||e.print_newline(!1),this._calcluate_parent_multiline(e,n))}else if(n.is_end_tag){var o=!1;o=(o=n.start_tag_token&&n.start_tag_token.multiline_content)||!n.is_inline_element&&!(r.is_inline_element||r.is_unformatted)&&!(i.type===a.TAG_CLOSE&&n.start_tag_token===r)&&"TK_CONTENT"!==i.type,(n.is_content_unformatted||n.is_unformatted)&&(o=!1),o&&e.print_newline(!1)}else n.indent_content=!n.custom_beautifier_name,"<"===n.tag_start_char&&("html"===n.tag_name?n.indent_content=this._options.indent_inner_html:"head"===n.tag_name?n.indent_content=this._options.indent_head_inner_html:"body"===n.tag_name&&(n.indent_content=this._options.indent_body_inner_html)),n.is_inline_element||n.is_unformatted||"TK_CONTENT"===i.type&&!n.is_content_unformatted||e.print_newline(!1),this._calcluate_parent_multiline(e,n)},h.prototype._calcluate_parent_multiline=function(e,t){!t.parent||!e._output.just_added_newline()||(t.is_inline_element||t.is_unformatted)&&t.parent.is_inline_element||(t.parent.multiline_content=!0)};var m=["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"],v=["a","audio","del","ins","map","noscript","video"];h.prototype._do_optional_end_element=function(e){var t=null;if(!e.is_empty_element&&e.is_start_tag&&e.parent){if("body"===e.tag_name)t=t||this._tag_stack.try_pop("head");else if("li"===e.tag_name)t=t||this._tag_stack.try_pop("li",["ol","ul","menu"]);else if("dd"===e.tag_name||"dt"===e.tag_name)t=(t=t||this._tag_stack.try_pop("dt",["dl"]))||this._tag_stack.try_pop("dd",["dl"]);else if("p"===e.parent.tag_name&&-1!==m.indexOf(e.tag_name)){var n=e.parent.parent;n&&-1!==v.indexOf(n.tag_name)||(t=t||this._tag_stack.try_pop("p"))}else"rp"===e.tag_name||"rt"===e.tag_name?t=(t=t||this._tag_stack.try_pop("rt",["ruby","rtc"]))||this._tag_stack.try_pop("rp",["ruby","rtc"]):"optgroup"===e.tag_name?t=t||this._tag_stack.try_pop("optgroup",["select"]):"option"===e.tag_name?t=t||this._tag_stack.try_pop("option",["select","datalist","optgroup"]):"colgroup"===e.tag_name?t=t||this._tag_stack.try_pop("caption",["table"]):"thead"===e.tag_name?t=(t=t||this._tag_stack.try_pop("caption",["table"]))||this._tag_stack.try_pop("colgroup",["table"]):"tbody"===e.tag_name||"tfoot"===e.tag_name?t=(t=(t=(t=t||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"]):"tr"===e.tag_name?t=(t=(t=t||this._tag_stack.try_pop("caption",["table"]))||this._tag_stack.try_pop("colgroup",["table"]))||this._tag_stack.try_pop("tr",["table","thead","tbody","tfoot"]):"th"!==e.tag_name&&"td"!==e.tag_name||(t=(t=t||this._tag_stack.try_pop("td",["table","thead","tbody","tfoot","tr"]))||this._tag_stack.try_pop("th",["table","thead","tbody","tfoot","tr"]));return e.parent=this._tag_stack.get_parser_token(),t}},e.exports.Beautifier=h},function(e,t,n){var r=n(6).Options;function i(e){r.call(this,e,"html"),1===this.templating.length&&"auto"===this.templating[0]&&(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"])}i.prototype=new r,e.exports.Options=i},function(e,t,n){var r=n(9).Tokenizer,i=n(9).TOKEN,o=n(13).Directives,a=n(14).TemplatablePattern,s=n(12).Pattern,u={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:i.START,RAW:i.RAW,EOF:i.EOF},c=new o(/<\!--/,/-->/),l=function(e,t){r.call(this,e,t),this._current_tag_name="";var n=new a(this._input).read_options(this._options),i=new s(this._input);if(this.__patterns={word:n.until(/[\n\r\t <]/),word_control_flow_close_excluded:n.until(/[\n\r\t <}]/),single_quote:n.until_after(/'/),double_quote:n.until_after(/"/),attribute:n.until(/[\n\r\t =>]|\/>/),element_name:n.until(/[\n\r\t >\/]/),angular_control_flow_start:i.matching(/\@[a-zA-Z]+[^({]*[({]/),handlebars_comment:i.starting_with(/{{!--/).until_after(/--}}/),handlebars:i.starting_with(/{{/).until_after(/}}/),handlebars_open:i.until(/[\n\r\t }]/),handlebars_raw_close:i.until(/}}/),comment:i.starting_with(/<!--/).until_after(/-->/),cdata:i.starting_with(/<!\[CDATA\[/).until_after(/]]>/),conditional_comment:i.starting_with(/<!\[/).until_after(/]>/),processing:i.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 o=this._input.get_literal_regexp(this._options.unformatted_content_delimiter);this.__patterns.unformatted_content_delimiter=i.matching(o).until_after(o)}};(l.prototype=new r)._is_comment=function(e){return!1},l.prototype._is_opening=function(e){return e.type===u.TAG_OPEN||e.type===u.CONTROL_FLOW_OPEN},l.prototype._is_closing=function(e,t){return e.type===u.TAG_CLOSE&&t&&((">"===e.text||"/>"===e.text)&&"<"===t.text[0]||"}}"===e.text&&"{"===t.text[0]&&"{"===t.text[1])||e.type===u.CONTROL_FLOW_CLOSE&&"}"===e.text&&t.text.endsWith("{")},l.prototype._reset=function(){this._current_tag_name=""},l.prototype._get_next_token=function(e,t){var n=null;this._readWhitespace();var r=this._input.peek();return null===r?this._create_token(u.EOF,""):n=(n=(n=(n=(n=(n=(n=(n=(n=(n=(n=n||this._read_open_handlebars(r,t))||this._read_attribute(r,e,t))||this._read_close(r,t))||this._read_script_and_style(r,e))||this._read_control_flows(r,t))||this._read_raw_content(r,e,t))||this._read_content_word(r,t))||this._read_comment_or_cdata(r))||this._read_processing(r))||this._read_open(r,t))||this._create_token(u.UNKNOWN,this._input.next())},l.prototype._read_comment_or_cdata=function(e){var t=null,n=null,r=null;"<"===e&&("!"===this._input.peek(1)&&((n=this.__patterns.comment.read())?(r=c.get_directives(n))&&"start"===r.ignore&&(n+=c.readIgnored(this._input)):n=this.__patterns.cdata.read()),n&&((t=this._create_token(u.COMMENT,n)).directives=r));return t},l.prototype._read_processing=function(e){var t=null,n=null;if("<"===e){var r=this._input.peek(1);"!"!==r&&"?"!==r||(n=(n=this.__patterns.conditional_comment.read())||this.__patterns.processing.read()),n&&((t=this._create_token(u.COMMENT,n)).directives=null)}return t},l.prototype._read_open=function(e,t){var n=null,r=null;return t&&t.type!==u.CONTROL_FLOW_OPEN||"<"===e&&(n=this._input.next(),"/"===this._input.peek()&&(n+=this._input.next()),n+=this.__patterns.element_name.read(),r=this._create_token(u.TAG_OPEN,n)),r},l.prototype._read_open_handlebars=function(e,t){var n=null,r=null;return t&&t.type!==u.CONTROL_FLOW_OPEN||(this._options.templating.includes("angular")||this._options.indent_handlebars)&&"{"===e&&"{"===this._input.peek(1)&&(this._options.indent_handlebars&&"!"===this._input.peek(2)?(n=(n=this.__patterns.handlebars_comment.read())||this.__patterns.handlebars.read(),r=this._create_token(u.COMMENT,n)):(n=this.__patterns.handlebars_open.read(),r=this._create_token(u.TAG_OPEN,n))),r},l.prototype._read_control_flows=function(e,t){var n="",r=null;if(!this._options.templating.includes("angular"))return r;if("@"===e){if(""===(n=this.__patterns.angular_control_flow_start.read()))return r;for(var i=n.endsWith("(")?1:0,o=0;!n.endsWith("{")||i!==o;){var a=this._input.next();if(null===a)break;"("===a?i++:")"===a&&o++,n+=a}r=this._create_token(u.CONTROL_FLOW_OPEN,n)}else"}"===e&&t&&t.type===u.CONTROL_FLOW_OPEN&&(n=this._input.next(),r=this._create_token(u.CONTROL_FLOW_CLOSE,n));return r},l.prototype._read_close=function(e,t){var n=null,r=null;return t&&t.type===u.TAG_OPEN&&("<"===t.text[0]&&(">"===e||"/"===e&&">"===this._input.peek(1))?(n=this._input.next(),"/"===e&&(n+=this._input.next()),r=this._create_token(u.TAG_CLOSE,n)):"{"===t.text[0]&&"}"===e&&"}"===this._input.peek(1)&&(this._input.next(),this._input.next(),r=this._create_token(u.TAG_CLOSE,"}}"))),r},l.prototype._read_attribute=function(e,t,n){var r=null,i="";if(n&&"<"===n.text[0])if("="===e)r=this._create_token(u.EQUALS,this._input.next());else if('"'===e||"'"===e){var o=this._input.next();o+='"'===e?this.__patterns.double_quote.read():this.__patterns.single_quote.read(),r=this._create_token(u.VALUE,o)}else(i=this.__patterns.attribute.read())&&(r=t.type===u.EQUALS?this._create_token(u.VALUE,i):this._create_token(u.ATTRIBUTE,i));return r},l.prototype._is_content_unformatted=function(e){return-1===this._options.void_elements.indexOf(e)&&(-1!==this._options.content_unformatted.indexOf(e)||-1!==this._options.unformatted.indexOf(e))},l.prototype._read_raw_content=function(e,t,n){var r="";if(n&&"{"===n.text[0])r=this.__patterns.handlebars_raw_close.read();else if(t.type===u.TAG_CLOSE&&"<"===t.opened.text[0]&&"/"!==t.text[0]){var i=t.opened.text.substr(1).toLowerCase();this._is_content_unformatted(i)&&(r=this._input.readUntil(new RegExp("</"+i+"[\\n\\r\\t ]*?>","ig")))}return r?this._create_token(u.TEXT,r):null},l.prototype._read_script_and_style=function(e,t){if(t.type===u.TAG_CLOSE&&"<"===t.opened.text[0]&&"/"!==t.text[0]){var n=t.opened.text.substr(1).toLowerCase();if("script"===n||"style"===n){var r=this._read_comment_or_cdata(e);if(r)return r.type=u.TEXT,r;var i=this._input.readUntil(new RegExp("</"+n+"[\\n\\r\\t ]*?>","ig"));if(i)return this._create_token(u.TEXT,i)}}return null},l.prototype._read_content_word=function(e,t){var n="";return this._options.unformatted_content_delimiter&&e===this._options.unformatted_content_delimiter[0]&&(n=this.__patterns.unformatted_content_delimiter.read()),n||(n=t&&t.type===u.CONTROL_FLOW_OPEN?this.__patterns.word_control_flow_close_excluded.read():this.__patterns.word.read()),n?this._create_token(u.TEXT,n):null},e.exports.Tokenizer=l,e.exports.TOKEN=u}],t={};var n=function n(r){var i=t[r];if(void 0!==i)return i.exports;var o=t[r]={exports:{}};return e[r](o,o.exports,n),o.exports}(18);o=n}();var a=o;r=[n,n(58553),n(87804)],i=function(e){var t=n(58553),r=n(87804);return{html_beautify:function(e,n){return a(e,n,t.js_beautify,r.css_beautify)}}}.apply(t,r),void 0===i||(e.exports=i)}()},58553:function(e,t){var n;!function(){var r;!function(){"use strict";var e=[function(e,t,n){var r=n(1).Beautifier,i=n(5).Options;e.exports=function(e,t){return new r(e,t).beautify()},e.exports.defaultOptions=function(){return new i}},function(e,t,n){var r=n(2).Output,i=n(3).Token,o=n(4),a=n(5).Options,s=n(7).Tokenizer,u=n(7).line_starters,c=n(7).positionable_operators,l=n(7).TOKEN;function d(e,t){return-1!==t.indexOf(e)}function p(e,t){return e&&e.type===l.RESERVED&&e.text===t}function f(e,t){return e&&e.type===l.RESERVED&&d(e.text,t)}var h=["case","return","do","if","throw","else","await","break","continue","async"],_=function(e){for(var t={},n=0;n<e.length;n++)t[e[n].replace(/-/g,"_")]=e[n];return t}(["before-newline","after-newline","preserve-newline"]),m=[_.before_newline,_.preserve_newline],v="BlockStatement",g="Statement",y="ObjectLiteral",b="ArrayLiteral",w="ForInitializer",x="Conditional",C="Expression";function k(e,t){t.multiline_frame||t.mode===w||t.mode===x||e.remove_indent(t.start_line_index)}function E(e){return e===b}function N(e){return d(e,[C,w,x])}function Z(e,t){t=t||{},this._source_text=e||"",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 a(t)}Z.prototype.create_flags=function(e,t){var n=0;return e&&(n=e.indentation_level,!this._output.just_added_newline()&&e.line_indent_level>n&&(n=e.line_indent_level)),{mode:t,parent:e,last_token:e?e.last_token:new i(l.START_BLOCK,""),last_word:e?e.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:n,alignment:0,line_indent_level:e?e.line_indent_level:n,start_line_index:this._output.get_line_number(),ternary_depth:0}},Z.prototype._reset=function(e){var t=e.match(/^[\t ]*/)[0];this._last_last_text="",this._output=new r(this._options,t),this._output.raw=this._options.test_output_raw,this._flag_store=[],this.set_mode(v);var n=new s(e,this._options);return this._tokens=n.tokenize(),e},Z.prototype.beautify=function(){if(this._options.disabled)return this._source_text;var e=this._reset(this._source_text),t=this._options.eol;"auto"===this._options.eol&&(t="\n",e&&o.lineBreak.test(e||"")&&(t=e.match(o.lineBreak)[0]));for(var n=this._tokens.next();n;)this.handle_token(n),this._last_last_text=this._flags.last_token.text,this._flags.last_token=n,n=this._tokens.next();return this._output.get_code(t)},Z.prototype.handle_token=function(e,t){e.type===l.START_EXPR?this.handle_start_expr(e):e.type===l.END_EXPR?this.handle_end_expr(e):e.type===l.START_BLOCK?this.handle_start_block(e):e.type===l.END_BLOCK?this.handle_end_block(e):e.type===l.WORD||e.type===l.RESERVED?this.handle_word(e):e.type===l.SEMICOLON?this.handle_semicolon(e):e.type===l.STRING?this.handle_string(e):e.type===l.EQUALS?this.handle_equals(e):e.type===l.OPERATOR?this.handle_operator(e):e.type===l.COMMA?this.handle_comma(e):e.type===l.BLOCK_COMMENT?this.handle_block_comment(e,t):e.type===l.COMMENT?this.handle_comment(e,t):e.type===l.DOT?this.handle_dot(e):e.type===l.EOF?this.handle_eof(e):(e.type,l.UNKNOWN,this.handle_unknown(e,t))},Z.prototype.handle_whitespace_and_comments=function(e,t){var n=e.newlines,r=this._options.keep_array_indentation&&E(this._flags.mode);if(e.comments_before)for(var i=e.comments_before.next();i;)this.handle_whitespace_and_comments(i,t),this.handle_token(i,t),i=e.comments_before.next();if(r)for(var o=0;o<n;o+=1)this.print_newline(o>0,t);else if(this._options.max_preserve_newlines&&n>this._options.max_preserve_newlines&&(n=this._options.max_preserve_newlines),this._options.preserve_newlines&&n>1){this.print_newline(!1,t);for(var a=1;a<n;a+=1)this.print_newline(!0,t)}};var S=["async","break","continue","return","throw","yield"];Z.prototype.allow_wrap_or_preserved_newline=function(e,t){if(t=void 0!==t&&t,!this._output.just_added_newline()){var n=this._options.preserve_newlines&&e.newlines||t;if(d(this._flags.last_token.text,c)||d(e.text,c)){var r=d(this._flags.last_token.text,c)&&d(this._options.operator_position,m)||d(e.text,c);n=n&&r}if(n)this.print_newline(!1,!0);else if(this._options.wrap_line_length){if(f(this._flags.last_token,S))return;this._output.set_wrap_point()}}},Z.prototype.print_newline=function(e,t){if(!t&&";"!==this._flags.last_token.text&&","!==this._flags.last_token.text&&"="!==this._flags.last_token.text&&(this._flags.last_token.type!==l.OPERATOR||"--"===this._flags.last_token.text||"++"===this._flags.last_token.text))for(var n=this._tokens.peek();!(this._flags.mode!==g||this._flags.if_block&&p(n,"else")||this._flags.do_block);)this.restore_mode();this._output.add_new_line(e)&&(this._flags.multiline_frame=!0)},Z.prototype.print_token_line_indentation=function(e){this._output.just_added_newline()&&(this._options.keep_array_indentation&&e.newlines&&("["===e.text||E(this._flags.mode))?(this._output.current_line.set_indent(-1),this._output.current_line.push(e.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))},Z.prototype.print_token=function(e){if(this._output.raw)this._output.add_raw_token(e);else{if(this._options.comma_first&&e.previous&&e.previous.type===l.COMMA&&this._output.just_added_newline()&&","===this._output.previous_line.last()){var t=this._output.previous_line.pop();this._output.previous_line.is_empty()&&(this._output.previous_line.push(t),this._output.trim(!0),this._output.current_line.pop(),this._output.trim()),this.print_token_line_indentation(e),this._output.add_token(","),this._output.space_before_token=!0}this.print_token_line_indentation(e),this._output.non_breaking_space=!0,this._output.add_token(e.text),this._output.previous_token_wrapped&&(this._flags.multiline_frame=!0)}},Z.prototype.indent=function(){this._flags.indentation_level+=1,this._output.set_indent(this._flags.indentation_level,this._flags.alignment)},Z.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))},Z.prototype.set_mode=function(e){this._flags?(this._flag_store.push(this._flags),this._previous_flags=this._flags):this._previous_flags=this.create_flags(null,e),this._flags=this.create_flags(this._previous_flags,e),this._output.set_indent(this._flags.indentation_level,this._flags.alignment)},Z.prototype.restore_mode=function(){this._flag_store.length>0&&(this._previous_flags=this._flags,this._flags=this._flag_store.pop(),this._previous_flags.mode===g&&k(this._output,this._previous_flags),this._output.set_indent(this._flags.indentation_level,this._flags.alignment))},Z.prototype.start_of_object_property=function(){return this._flags.parent.mode===y&&this._flags.mode===g&&(":"===this._flags.last_token.text&&0===this._flags.ternary_depth||f(this._flags.last_token,["get","set"]))},Z.prototype.start_of_statement=function(e){var t=!1;return!!(t=(t=(t=(t=(t=(t=(t=t||f(this._flags.last_token,["var","let","const"])&&e.type===l.WORD)||p(this._flags.last_token,"do"))||!(this._flags.parent.mode===y&&this._flags.mode===g)&&f(this._flags.last_token,S)&&!e.newlines)||p(this._flags.last_token,"else")&&!(p(e,"if")&&!e.comments_before))||this._flags.last_token.type===l.END_EXPR&&(this._previous_flags.mode===w||this._previous_flags.mode===x))||this._flags.last_token.type===l.WORD&&this._flags.mode===v&&!this._flags.in_case&&!("--"===e.text||"++"===e.text)&&"function"!==this._last_last_text&&e.type!==l.WORD&&e.type!==l.RESERVED)||this._flags.mode===y&&(":"===this._flags.last_token.text&&0===this._flags.ternary_depth||f(this._flags.last_token,["get","set"])))&&(this.set_mode(g),this.indent(),this.handle_whitespace_and_comments(e,!0),this.start_of_object_property()||this.allow_wrap_or_preserved_newline(e,f(e,["do","for","if","while"])),!0)},Z.prototype.handle_start_expr=function(e){this.start_of_statement(e)||this.handle_whitespace_and_comments(e);var t=C;if("["===e.text){if(this._flags.last_token.type===l.WORD||")"===this._flags.last_token.text)return f(this._flags.last_token,u)&&(this._output.space_before_token=!0),this.print_token(e),this.set_mode(t),this.indent(),void(this._options.space_in_paren&&(this._output.space_before_token=!0));t=b,E(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()),d(this._flags.last_token.type,[l.START_EXPR,l.END_EXPR,l.WORD,l.OPERATOR,l.DOT])||(this._output.space_before_token=!0)}else{if(this._flags.last_token.type===l.RESERVED)"for"===this._flags.last_token.text?(this._output.space_before_token=this._options.space_before_conditional,t=w):d(this._flags.last_token.text,["if","while","switch"])?(this._output.space_before_token=this._options.space_before_conditional,t=x):d(this._flags.last_word,["await","async"])?this._output.space_before_token=!0:"import"===this._flags.last_token.text&&""===e.whitespace_before?this._output.space_before_token=!1:(d(this._flags.last_token.text,u)||"catch"===this._flags.last_token.text)&&(this._output.space_before_token=!0);else if(this._flags.last_token.type===l.EQUALS||this._flags.last_token.type===l.OPERATOR)this.start_of_object_property()||this.allow_wrap_or_preserved_newline(e);else if(this._flags.last_token.type===l.WORD){this._output.space_before_token=!1;var n=this._tokens.peek(-3);if(this._options.space_after_named_function&&n){var r=this._tokens.peek(-4);f(n,["async","function"])||"*"===n.text&&f(r,["async","function"])?this._output.space_before_token=!0:this._flags.mode===y?"{"!==n.text&&","!==n.text&&("*"!==n.text||"{"!==r.text&&","!==r.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(e);(this._flags.last_token.type===l.RESERVED&&("function"===this._flags.last_word||"typeof"===this._flags.last_word)||"*"===this._flags.last_token.text&&(d(this._last_last_text,["function","yield"])||this._flags.mode===y&&d(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===l.START_BLOCK?this.print_newline():this._flags.last_token.type!==l.END_EXPR&&this._flags.last_token.type!==l.START_EXPR&&this._flags.last_token.type!==l.END_BLOCK&&"."!==this._flags.last_token.text&&this._flags.last_token.type!==l.COMMA||this.allow_wrap_or_preserved_newline(e,e.newlines),this.print_token(e),this.set_mode(t),this._options.space_in_paren&&(this._output.space_before_token=!0),this.indent()},Z.prototype.handle_end_expr=function(e){for(;this._flags.mode===g;)this.restore_mode();this.handle_whitespace_and_comments(e),this._flags.multiline_frame&&this.allow_wrap_or_preserved_newline(e,"]"===e.text&&E(this._flags.mode)&&!this._options.keep_array_indentation),this._options.space_in_paren&&(this._flags.last_token.type!==l.START_EXPR||this._options.space_in_empty_paren?this._output.space_before_token=!0:(this._output.trim(),this._output.space_before_token=!1)),this.deindent(),this.print_token(e),this.restore_mode(),k(this._output,this._previous_flags),this._flags.do_while&&this._previous_flags.mode===x&&(this._previous_flags.mode=C,this._flags.do_block=!1,this._flags.do_while=!1)},Z.prototype.handle_start_block=function(e){this.handle_whitespace_and_comments(e);var t=this._tokens.peek(),n=this._tokens.peek(1);"switch"===this._flags.last_word&&this._flags.last_token.type===l.END_EXPR?(this.set_mode(v),this._flags.in_case_statement=!0):this._flags.case_body?this.set_mode(v):n&&(d(n.text,[":",","])&&d(t.type,[l.STRING,l.WORD,l.RESERVED])||d(t.text,["get","set","..."])&&d(n.type,[l.WORD,l.RESERVED]))?d(this._last_last_text,["class","interface"])&&!d(n.text,[":",","])?this.set_mode(v):this.set_mode(y):this._flags.last_token.type===l.OPERATOR&&"=>"===this._flags.last_token.text?this.set_mode(v):d(this._flags.last_token.type,[l.EQUALS,l.START_EXPR,l.COMMA,l.OPERATOR])||f(this._flags.last_token,["return","throw","import","default"])?this.set_mode(y):this.set_mode(v),this._flags.last_token&&f(this._flags.last_token.previous,["class","extends"])&&(this._flags.class_start_block=!0);var r=!t.comments_before&&"}"===t.text,i=r&&"function"===this._flags.last_word&&this._flags.last_token.type===l.END_EXPR;if(this._options.brace_preserve_inline){var o=0,a=null;this._flags.inline_frame=!0;do{if(o+=1,(a=this._tokens.peek(o-1)).newlines){this._flags.inline_frame=!1;break}}while(a.type!==l.EOF&&(a.type!==l.END_BLOCK||a.opened!==e))}("expand"===this._options.brace_style||"none"===this._options.brace_style&&e.newlines)&&!this._flags.inline_frame?this._flags.last_token.type!==l.OPERATOR&&(i||this._flags.last_token.type===l.EQUALS||f(this._flags.last_token,h)&&"else"!==this._flags.last_token.text)?this._output.space_before_token=!0:this.print_newline(!1,!0):(!E(this._previous_flags.mode)||this._flags.last_token.type!==l.START_EXPR&&this._flags.last_token.type!==l.COMMA||((this._flags.last_token.type===l.COMMA||this._options.space_in_paren)&&(this._output.space_before_token=!0),(this._flags.last_token.type===l.COMMA||this._flags.last_token.type===l.START_EXPR&&this._flags.inline_frame)&&(this.allow_wrap_or_preserved_newline(e),this._previous_flags.multiline_frame=this._previous_flags.multiline_frame||this._flags.multiline_frame,this._flags.multiline_frame=!1)),this._flags.last_token.type!==l.OPERATOR&&this._flags.last_token.type!==l.START_EXPR&&(d(this._flags.last_token.type,[l.START_BLOCK,l.SEMICOLON])&&!this._flags.inline_frame?this.print_newline():this._output.space_before_token=!0)),this.print_token(e),this.indent(),r||this._options.brace_preserve_inline&&this._flags.inline_frame||this.print_newline()},Z.prototype.handle_end_block=function(e){for(this.handle_whitespace_and_comments(e);this._flags.mode===g;)this.restore_mode();var t=this._flags.last_token.type===l.START_BLOCK;this._flags.inline_frame&&!t?this._output.space_before_token=!0:"expand"===this._options.brace_style?t||this.print_newline():t||(E(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(e)},Z.prototype.handle_word=function(e){if(e.type===l.RESERVED)if(d(e.text,["set","get"])&&this._flags.mode!==y)e.type=l.WORD;else if("import"===e.text&&d(this._tokens.peek().text,["(","."]))e.type=l.WORD;else if(d(e.text,["as","from"])&&!this._flags.import_block)e.type=l.WORD;else if(this._flags.mode===y){":"===this._tokens.peek().text&&(e.type=l.WORD)}if(this.start_of_statement(e)?f(this._flags.last_token,["var","let","const"])&&e.type===l.WORD&&(this._flags.declaration_statement=!0):!e.newlines||N(this._flags.mode)||this._flags.last_token.type===l.OPERATOR&&"--"!==this._flags.last_token.text&&"++"!==this._flags.last_token.text||this._flags.last_token.type===l.EQUALS||!this._options.preserve_newlines&&f(this._flags.last_token,["var","let","const","set","get"])?this.handle_whitespace_and_comments(e):(this.handle_whitespace_and_comments(e),this.print_newline()),this._flags.do_block&&!this._flags.do_while){if(p(e,"while"))return this._output.space_before_token=!0,this.print_token(e),this._output.space_before_token=!0,void(this._flags.do_while=!0);this.print_newline(),this._flags.do_block=!1}if(this._flags.if_block)if(!this._flags.else_block&&p(e,"else"))this._flags.else_block=!0;else{for(;this._flags.mode===g;)this.restore_mode();this._flags.if_block=!1,this._flags.else_block=!1}if(this._flags.in_case_statement&&f(e,["case","default"]))return 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(e),void(this._flags.in_case=!0);if(this._flags.last_token.type!==l.COMMA&&this._flags.last_token.type!==l.START_EXPR&&this._flags.last_token.type!==l.EQUALS&&this._flags.last_token.type!==l.OPERATOR||this.start_of_object_property()||d(this._flags.last_token.text,["+","-"])&&":"===this._last_last_text&&this._flags.parent.mode===y||this.allow_wrap_or_preserved_newline(e),p(e,"function"))return(d(this._flags.last_token.text,["}",";"])||this._output.just_added_newline()&&!d(this._flags.last_token.text,["(","[","{",":","=",","])&&this._flags.last_token.type!==l.OPERATOR)&&(this._output.just_added_blankline()||e.comments_before||(this.print_newline(),this.print_newline(!0))),this._flags.last_token.type===l.RESERVED||this._flags.last_token.type===l.WORD?f(this._flags.last_token,["get","set","new","export"])||f(this._flags.last_token,S)||p(this._flags.last_token,"default")&&"export"===this._last_last_text||"declare"===this._flags.last_token.text?this._output.space_before_token=!0:this.print_newline():this._flags.last_token.type===l.OPERATOR||"="===this._flags.last_token.text?this._output.space_before_token=!0:(this._flags.multiline_frame||!N(this._flags.mode)&&!E(this._flags.mode))&&this.print_newline(),this.print_token(e),void(this._flags.last_word=e.text);var t="NONE";(this._flags.last_token.type===l.END_BLOCK?this._previous_flags.inline_frame?t="SPACE":f(e,["else","catch","finally","from"])?"expand"===this._options.brace_style||"end-expand"===this._options.brace_style||"none"===this._options.brace_style&&e.newlines?t="NEWLINE":(t="SPACE",this._output.space_before_token=!0):t="NEWLINE":this._flags.last_token.type===l.SEMICOLON&&this._flags.mode===v?t="NEWLINE":this._flags.last_token.type===l.SEMICOLON&&N(this._flags.mode)?t="SPACE":this._flags.last_token.type===l.STRING?t="NEWLINE":this._flags.last_token.type===l.RESERVED||this._flags.last_token.type===l.WORD||"*"===this._flags.last_token.text&&(d(this._last_last_text,["function","yield"])||this._flags.mode===y&&d(this._last_last_text,["{",","]))?t="SPACE":this._flags.last_token.type===l.START_BLOCK?t=this._flags.inline_frame?"SPACE":"NEWLINE":this._flags.last_token.type===l.END_EXPR&&(this._output.space_before_token=!0,t="NEWLINE"),f(e,u)&&")"!==this._flags.last_token.text&&(t=this._flags.inline_frame||"else"===this._flags.last_token.text||"export"===this._flags.last_token.text?"SPACE":"NEWLINE"),f(e,["else","catch","finally"]))?(this._flags.last_token.type!==l.END_BLOCK||this._previous_flags.mode!==v||"expand"===this._options.brace_style||"end-expand"===this._options.brace_style||"none"===this._options.brace_style&&e.newlines)&&!this._flags.inline_frame?this.print_newline():(this._output.trim(!0),"}"!==this._output.current_line.last()&&this.print_newline(),this._output.space_before_token=!0):"NEWLINE"===t?f(this._flags.last_token,h)||"declare"===this._flags.last_token.text&&f(e,["var","let","const"])?this._output.space_before_token=!0:this._flags.last_token.type!==l.END_EXPR?this._flags.last_token.type===l.START_EXPR&&f(e,["var","let","const"])||":"===this._flags.last_token.text||(p(e,"if")&&p(e.previous,"else")?this._output.space_before_token=!0:this.print_newline()):f(e,u)&&")"!==this._flags.last_token.text&&this.print_newline():this._flags.multiline_frame&&E(this._flags.mode)&&","===this._flags.last_token.text&&"}"===this._last_last_text?this.print_newline():"SPACE"===t&&(this._output.space_before_token=!0);!e.previous||e.previous.type!==l.WORD&&e.previous.type!==l.RESERVED||(this._output.space_before_token=!0),this.print_token(e),this._flags.last_word=e.text,e.type===l.RESERVED&&("do"===e.text?this._flags.do_block=!0:"if"===e.text?this._flags.if_block=!0:"import"===e.text?this._flags.import_block=!0:this._flags.import_block&&p(e,"from")&&(this._flags.import_block=!1))},Z.prototype.handle_semicolon=function(e){this.start_of_statement(e)?this._output.space_before_token=!1:this.handle_whitespace_and_comments(e);for(var t=this._tokens.peek();!(this._flags.mode!==g||this._flags.if_block&&p(t,"else")||this._flags.do_block);)this.restore_mode();this._flags.import_block&&(this._flags.import_block=!1),this.print_token(e)},Z.prototype.handle_string=function(e){(!e.text.startsWith("`")||0!==e.newlines||""!==e.whitespace_before||")"!==e.previous.text&&this._flags.last_token.type!==l.WORD)&&(this.start_of_statement(e)?this._output.space_before_token=!0:(this.handle_whitespace_and_comments(e),this._flags.last_token.type===l.RESERVED||this._flags.last_token.type===l.WORD||this._flags.inline_frame?this._output.space_before_token=!0:this._flags.last_token.type===l.COMMA||this._flags.last_token.type===l.START_EXPR||this._flags.last_token.type===l.EQUALS||this._flags.last_token.type===l.OPERATOR?this.start_of_object_property()||this.allow_wrap_or_preserved_newline(e):!e.text.startsWith("`")||this._flags.last_token.type!==l.END_EXPR||"]"!==e.previous.text&&")"!==e.previous.text||0!==e.newlines?this.print_newline():this._output.space_before_token=!0)),this.print_token(e)},Z.prototype.handle_equals=function(e){this.start_of_statement(e)||this.handle_whitespace_and_comments(e),this._flags.declaration_statement&&(this._flags.declaration_assignment=!0),this._output.space_before_token=!0,this.print_token(e),this._output.space_before_token=!0},Z.prototype.handle_comma=function(e){this.handle_whitespace_and_comments(e,!0),this.print_token(e),this._output.space_before_token=!0,this._flags.declaration_statement?(N(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(e)):this._flags.mode===y||this._flags.mode===g&&this._flags.parent.mode===y?(this._flags.mode===g&&this.restore_mode(),this._flags.inline_frame||this.print_newline()):this._options.comma_first&&this.allow_wrap_or_preserved_newline(e)},Z.prototype.handle_operator=function(e){var t="*"===e.text&&(f(this._flags.last_token,["function","yield"])||d(this._flags.last_token.type,[l.START_BLOCK,l.COMMA,l.END_BLOCK,l.SEMICOLON])),n=d(e.text,["-","+"])&&(d(this._flags.last_token.type,[l.START_BLOCK,l.START_EXPR,l.EQUALS,l.OPERATOR])||d(this._flags.last_token.text,u)||","===this._flags.last_token.text);if(this.start_of_statement(e));else{var r=!t;this.handle_whitespace_and_comments(e,r)}if("*"!==e.text||this._flags.last_token.type!==l.DOT)if("::"!==e.text)if(d(e.text,["-","+"])&&this.start_of_object_property())this.print_token(e);else{if(this._flags.last_token.type===l.OPERATOR&&d(this._options.operator_position,m)&&this.allow_wrap_or_preserved_newline(e),":"===e.text&&this._flags.in_case)return this.print_token(e),this._flags.in_case=!1,this._flags.case_body=!0,void(this._tokens.peek().type!==l.START_BLOCK?(this.indent(),this.print_newline(),this._flags.case_block=!1):(this._flags.case_block=!0,this._output.space_before_token=!0));var i=!0,o=!0,a=!1;if(":"===e.text?0===this._flags.ternary_depth?i=!1:(this._flags.ternary_depth-=1,a=!0):"?"===e.text&&(this._flags.ternary_depth+=1),!n&&!t&&this._options.preserve_newlines&&d(e.text,c)){var s=":"===e.text,p=s&&a,y=s&&!a;switch(this._options.operator_position){case _.before_newline:return this._output.space_before_token=!y,this.print_token(e),s&&!p||this.allow_wrap_or_preserved_newline(e),void(this._output.space_before_token=!0);case _.after_newline:return this._output.space_before_token=!0,!s||p?this._tokens.peek().newlines?this.print_newline(!1,!0):this.allow_wrap_or_preserved_newline(e):this._output.space_before_token=!1,this.print_token(e),void(this._output.space_before_token=!0);case _.preserve_newline:return y||this.allow_wrap_or_preserved_newline(e),i=!(this._output.just_added_newline()||y),this._output.space_before_token=i,this.print_token(e),void(this._output.space_before_token=!0)}}if(t){this.allow_wrap_or_preserved_newline(e),i=!1;var b=this._tokens.peek();o=b&&d(b.type,[l.WORD,l.RESERVED])}else if("..."===e.text)this.allow_wrap_or_preserved_newline(e),i=this._flags.last_token.type===l.START_BLOCK,o=!1;else if(d(e.text,["--","++","!","~"])||n){if(this._flags.last_token.type!==l.COMMA&&this._flags.last_token.type!==l.START_EXPR||this.allow_wrap_or_preserved_newline(e),i=!1,o=!1,e.newlines&&("--"===e.text||"++"===e.text||"~"===e.text)){var w=f(this._flags.last_token,h)&&e.newlines;w&&(this._previous_flags.if_block||this._previous_flags.else_block)&&this.restore_mode(),this.print_newline(w,!0)}";"===this._flags.last_token.text&&N(this._flags.mode)&&(i=!0),this._flags.last_token.type===l.RESERVED?i=!0:this._flags.last_token.type===l.END_EXPR?i=!("]"===this._flags.last_token.text&&("--"===e.text||"++"===e.text)):this._flags.last_token.type===l.OPERATOR&&(i=d(e.text,["--","-","++","+"])&&d(this._flags.last_token.text,["--","-","++","+"]),d(e.text,["+","-"])&&d(this._flags.last_token.text,["--","++"])&&(o=!0)),(this._flags.mode!==v||this._flags.inline_frame)&&this._flags.mode!==g||"{"!==this._flags.last_token.text&&";"!==this._flags.last_token.text||this.print_newline()}this._output.space_before_token=this._output.space_before_token||i,this.print_token(e),this._output.space_before_token=o}else this.print_token(e);else this.print_token(e)},Z.prototype.handle_block_comment=function(e,t){return this._output.raw?(this._output.add_raw_token(e),void(e.directives&&"end"===e.directives.preserve&&(this._output.raw=this._options.test_output_raw))):e.directives?(this.print_newline(!1,t),this.print_token(e),"start"===e.directives.preserve&&(this._output.raw=!0),void this.print_newline(!1,!0)):o.newline.test(e.text)||e.newlines?void this.print_block_commment(e,t):(this._output.space_before_token=!0,this.print_token(e),void(this._output.space_before_token=!0))},Z.prototype.print_block_commment=function(e,t){var n,r=function(e){for(var t=[],n=(e=e.replace(o.allLineBreaks,"\n")).indexOf("\n");-1!==n;)t.push(e.substring(0,n)),n=(e=e.substring(n+1)).indexOf("\n");return e.length&&t.push(e),t}(e.text),i=!1,a=!1,s=e.whitespace_before,u=s.length;if(this.print_newline(!1,t),this.print_token_line_indentation(e),this._output.add_token(r[0]),this.print_newline(!1,t),r.length>1){for(i=function(e,t){for(var n=0;n<e.length;n++)if(e[n].trim().charAt(0)!==t)return!1;return!0}(r=r.slice(1),"*"),a=function(e,t){for(var n,r=0,i=e.length;r<i;r++)if((n=e[r])&&0!==n.indexOf(t))return!1;return!0}(r,s),i&&(this._flags.alignment=1),n=0;n<r.length;n++)i?(this.print_token_line_indentation(e),this._output.add_token(r[n].replace(/^\s+/g,""))):a&&r[n]?(this.print_token_line_indentation(e),this._output.add_token(r[n].substring(u))):(this._output.current_line.set_indent(-1),this._output.add_token(r[n])),this.print_newline(!1,t);this._flags.alignment=0}},Z.prototype.handle_comment=function(e,t){e.newlines?this.print_newline(!1,t):this._output.trim(!0),this._output.space_before_token=!0,this.print_token(e),this.print_newline(!1,t)},Z.prototype.handle_dot=function(e){this.start_of_statement(e)||this.handle_whitespace_and_comments(e,!0),this._flags.last_token.text.match("^[0-9]+$")&&(this._output.space_before_token=!0),f(this._flags.last_token,h)?this._output.space_before_token=!1:this.allow_wrap_or_preserved_newline(e,")"===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(e)},Z.prototype.handle_unknown=function(e,t){this.print_token(e),"\n"===e.text[e.text.length-1]&&this.print_newline(!1,t)},Z.prototype.handle_eof=function(e){for(;this._flags.mode===g;)this.restore_mode();this.handle_whitespace_and_comments(e)},e.exports.Beautifier=Z},function(e){function t(e){this.__parent=e,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=[]}function n(e,t){this.__cache=[""],this.__indent_size=e.indent_size,this.__indent_string=e.indent_char,e.indent_with_tabs||(this.__indent_string=new Array(e.indent_size+1).join(e.indent_char)),t=t||"",e.indent_level>0&&(t=new Array(e.indent_level+1).join(this.__indent_string)),this.__base_string=t,this.__base_string_length=t.length}function r(e,r){this.__indent_cache=new n(e,r),this.raw=!1,this._end_with_newline=e.end_with_newline,this.indent_size=e.indent_size,this.wrap_line_length=e.wrap_line_length,this.indent_empty_lines=e.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()}t.prototype.clone_empty=function(){var e=new t(this.__parent);return e.set_indent(this.__indent_count,this.__alignment_count),e},t.prototype.item=function(e){return e<0?this.__items[this.__items.length+e]:this.__items[e]},t.prototype.has_match=function(e){for(var t=this.__items.length-1;t>=0;t--)if(this.__items[t].match(e))return!0;return!1},t.prototype.set_indent=function(e,t){this.is_empty()&&(this.__indent_count=e||0,this.__alignment_count=t||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 e=this.__parent.current_line;return e.set_indent(this.__wrap_point_indent_count,this.__wrap_point_alignment_count),e.__items=this.__items.slice(this.__wrap_point_index),this.__items=this.__items.slice(0,this.__wrap_point_index),e.__character_count+=this.__character_count-this.__wrap_point_character_count,this.__character_count=this.__wrap_point_character_count," "===e.__items[0]&&(e.__items.splice(0,1),e.__character_count-=1),!0}return!1},t.prototype.is_empty=function(){return 0===this.__items.length},t.prototype.last=function(){return this.is_empty()?null:this.__items[this.__items.length-1]},t.prototype.push=function(e){this.__items.push(e);var t=e.lastIndexOf("\n");-1!==t?this.__character_count=e.length-t:this.__character_count+=e.length},t.prototype.pop=function(){var e=null;return this.is_empty()||(e=this.__items.pop(),this.__character_count-=e.length),e},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 e="";return this.is_empty()?this.__parent.indent_empty_lines&&(e=this.__parent.get_indent_string(this.__indent_count)):(e=this.__parent.get_indent_string(this.__indent_count,this.__alignment_count),e+=this.__items.join("")),e},n.prototype.get_indent_size=function(e,t){var n=this.__base_string_length;return t=t||0,e<0&&(n=0),n+=e*this.__indent_size,n+=t},n.prototype.get_indent_string=function(e,t){var n=this.__base_string;return t=t||0,e<0&&(e=0,n=""),t+=e*this.__indent_size,this.__ensure_cache(t),n+=this.__cache[t]},n.prototype.__ensure_cache=function(e){for(;e>=this.__cache.length;)this.__add_column()},n.prototype.__add_column=function(){var e=this.__cache.length,t=0,n="";this.__indent_size&&e>=this.__indent_size&&(e-=(t=Math.floor(e/this.__indent_size))*this.__indent_size,n=new Array(t+1).join(this.__indent_string)),e&&(n+=new Array(e+1).join(" ")),this.__cache.push(n)},r.prototype.__add_outputline=function(){this.previous_line=this.current_line,this.current_line=this.next_line.clone_empty(),this.__lines.push(this.current_line)},r.prototype.get_line_number=function(){return this.__lines.length},r.prototype.get_indent_string=function(e,t){return this.__indent_cache.get_indent_string(e,t)},r.prototype.get_indent_size=function(e,t){return this.__indent_cache.get_indent_size(e,t)},r.prototype.is_empty=function(){return!this.previous_line&&this.current_line.is_empty()},r.prototype.add_new_line=function(e){return!(this.is_empty()||!e&&this.just_added_newline())&&(this.raw||this.__add_outputline(),!0)},r.prototype.get_code=function(e){this.trim(!0);var t=this.current_line.pop();t&&("\n"===t[t.length-1]&&(t=t.replace(/\n+$/g,"")),this.current_line.push(t)),this._end_with_newline&&this.__add_outputline();var n=this.__lines.join("\n");return"\n"!==e&&(n=n.replace(/[\n]/g,e)),n},r.prototype.set_wrap_point=function(){this.current_line._set_wrap_point()},r.prototype.set_indent=function(e,t){return e=e||0,t=t||0,this.next_line.set_indent(e,t),this.__lines.length>1?(this.current_line.set_indent(e,t),!0):(this.current_line.set_indent(),!1)},r.prototype.add_raw_token=function(e){for(var t=0;t<e.newlines;t++)this.__add_outputline();this.current_line.set_indent(-1),this.current_line.push(e.whitespace_before),this.current_line.push(e.text),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=!1},r.prototype.add_token=function(e){this.__add_space_before_token(),this.current_line.push(e),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=this.current_line._allow_wrap()},r.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(" "))},r.prototype.remove_indent=function(e){for(var t=this.__lines.length;e<t;)this.__lines[e]._remove_indent(),e++;this.current_line._remove_wrap_indent()},r.prototype.trim=function(e){for(e=void 0!==e&&e,this.current_line.trim();e&&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},r.prototype.just_added_newline=function(){return this.current_line.is_empty()},r.prototype.just_added_blankline=function(){return this.is_empty()||this.current_line.is_empty()&&this.previous_line.is_empty()},r.prototype.ensure_empty_line_above=function(e,n){for(var r=this.__lines.length-2;r>=0;){var i=this.__lines[r];if(i.is_empty())break;if(0!==i.item(0).indexOf(e)&&i.item(-1)!==n){this.__lines.splice(r+1,0,new t(this)),this.previous_line=this.__lines[this.__lines.length-2];break}r--}},e.exports.Output=r},function(e){e.exports.Token=function(e,t,n,r){this.type=e,this.text=t,this.comments_before=null,this.newlines=n||0,this.whitespace_before=r||"",this.parent=null,this.next=null,this.previous=null,this.opened=null,this.closed=null,this.directives=null}},function(e,t){var n="\\x24\\x30-\\x39\\x41-\\x5a\\x5f\\x61-\\x7a",r="\\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",i="\\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",o="\\\\u[0-9a-fA-F]{4}|\\\\u\\{[0-9a-fA-F]+\\}",a="(?:"+o+"|[\\x23\\x24\\x40\\x41-\\x5a\\x5f\\x61-\\x7a"+r+"])",s="(?:"+o+"|["+n+r+i+"])*";t.identifier=new RegExp(a+s,"g"),t.identifierStart=new RegExp(a),t.identifierMatch=new RegExp("(?:"+o+"|["+n+r+i+"])+");t.newline=/[\n\r\u2028\u2029]/,t.lineBreak=new RegExp("\r\n|"+t.newline.source),t.allLineBreaks=new RegExp(t.lineBreak.source,"g")},function(e,t,n){var r=n(6).Options,i=["before-newline","after-newline","preserve-newline"];function o(e){r.call(this,e,"js");var t=this.raw_options.brace_style||null;"expand-strict"===t?this.raw_options.brace_style="expand":"collapse-preserve-inline"===t?this.raw_options.brace_style="collapse,preserve-inline":void 0!==this.raw_options.braces_on_own_line&&(this.raw_options.brace_style=this.raw_options.braces_on_own_line?"expand":"collapse");var n=this._get_selection_list("brace_style",["collapse","expand","end-expand","none","preserve-inline"]);this.brace_preserve_inline=!1,this.brace_style="collapse";for(var o=0;o<n.length;o++)"preserve-inline"===n[o]?this.brace_preserve_inline=!0:this.brace_style=n[o];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",i),this.test_output_raw=this._get_boolean("test_output_raw"),this.jslint_happy&&(this.space_after_anon_function=!0)}o.prototype=new r,e.exports.Options=o},function(e){function t(e,t){this.raw_options=n(e,t),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","\t"===this.indent_char),this.indent_with_tabs&&(this.indent_char="\t",1===this.indent_size&&(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"])}function n(e,t){var n,i={};for(n in e=r(e))n!==t&&(i[n]=e[n]);if(t&&e[t])for(n in e[t])i[n]=e[t][n];return i}function r(e){var t,n={};for(t in e){n[t.replace(/-/g,"_")]=e[t]}return n}t.prototype._get_array=function(e,t){var n=this.raw_options[e],r=t||[];return"object"==typeof n?null!==n&&"function"==typeof n.concat&&(r=n.concat()):"string"==typeof n&&(r=n.split(/[^a-zA-Z0-9_\/\-]+/)),r},t.prototype._get_boolean=function(e,t){var n=this.raw_options[e];return void 0===n?!!t:!!n},t.prototype._get_characters=function(e,t){var n=this.raw_options[e],r=t||"";return"string"==typeof n&&(r=n.replace(/\\r/,"\r").replace(/\\n/,"\n").replace(/\\t/,"\t")),r},t.prototype._get_number=function(e,t){var n=this.raw_options[e];t=parseInt(t,10),isNaN(t)&&(t=0);var r=parseInt(n,10);return isNaN(r)&&(r=t),r},t.prototype._get_selection=function(e,t,n){var r=this._get_selection_list(e,t,n);if(1!==r.length)throw new Error("Invalid Option Value: The option '"+e+"' can only be one of the following values:\n"+t+"\nYou passed in: '"+this.raw_options[e]+"'");return r[0]},t.prototype._get_selection_list=function(e,t,n){if(!t||0===t.length)throw new Error("Selection list cannot be empty.");if(n=n||[t[0]],!this._is_valid_selection(n,t))throw new Error("Invalid Default Value!");var r=this._get_array(e,n);if(!this._is_valid_selection(r,t))throw new Error("Invalid Option Value: The option '"+e+"' can contain only the following values:\n"+t+"\nYou passed in: '"+this.raw_options[e]+"'");return r},t.prototype._is_valid_selection=function(e,t){return e.length&&t.length&&!e.some((function(e){return-1===t.indexOf(e)}))},e.exports.Options=t,e.exports.normalizeOpts=r,e.exports.mergeOpts=n},function(e,t,n){var r=n(8).InputScanner,i=n(9).Tokenizer,o=n(9).TOKEN,a=n(13).Directives,s=n(4),u=n(12).Pattern,c=n(14).TemplatablePattern;function l(e,t){return-1!==t.indexOf(e)}var d={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:o.START,RAW:o.RAW,EOF:o.EOF},p=new a(/\/\*/,/\*\//),f=/0[xX][0123456789abcdefABCDEF_]*n?|0[oO][01234567_]*n?|0[bB][01_]*n?|\d[\d_]*n|(?:\.\d[\d_]*|\d[\d_]*\.?[\d_]*)(?:[eE][+-]?[\d_]+)?/,h=/[0-9]/,_=/[^\d\.]/,m=">>> === !== &&= ??= ||= << && >= ** != == <= >> || ?? |> < / - + > : & % ? ^ | *".split(" "),v=">>>= ... >>= <<= === >>> !== **= &&= ??= ||= => ^= :: /= << <= == && -= >= >> != -- += ** || ?? ++ %= &= *= |= |> = ! ? > < : / ^ - + * & % ~ |";v=(v="\\?\\.(?!\\d) "+(v=v.replace(/[-[\]{}()*+?.,\\^$|#]/g,"\\$&"))).replace(/ /g,"|");var g,y=new RegExp(v),b="continue,try,throw,return,var,let,const,if,switch,case,default,for,while,break,function,import,export".split(","),w=b.concat(["do","in","of","else","get","set","new","catch","finally","typeof","yield","async","await","from","as","class","extends"]),x=new RegExp("^(?:"+w.join("|")+")$"),C=function(e,t){i.call(this,e,t),this._patterns.whitespace=this._patterns.whitespace.matching(/\u00A0\u1680\u180e\u2000-\u200a\u202f\u205f\u3000\ufeff/.source,/\u2028\u2029/.source);var n=new u(this._input),r=new c(this._input).read_options(this._options);this.__patterns={template:r,identifier:r.starting_with(s.identifier).matching(s.identifierMatch),number:n.matching(f),punct:n.matching(y),comment:n.starting_with(/\/\//).until(/[\n\r\u2028\u2029]/),block_comment:n.starting_with(/\/\*/).until_after(/\*\//),html_comment_start:n.matching(/<!--/),html_comment_end:n.matching(/-->/),include:n.starting_with(/#include/).until_after(s.lineBreak),shebang:n.starting_with(/#!/).until_after(s.lineBreak),xml:n.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:r.until(/['\\\n\r\u2028\u2029]/),double_quote:r.until(/["\\\n\r\u2028\u2029]/),template_text:r.until(/[`\\$]/),template_expression:r.until(/[`}\\]/)}};(C.prototype=new i)._is_comment=function(e){return e.type===d.COMMENT||e.type===d.BLOCK_COMMENT||e.type===d.UNKNOWN},C.prototype._is_opening=function(e){return e.type===d.START_BLOCK||e.type===d.START_EXPR},C.prototype._is_closing=function(e,t){return(e.type===d.END_BLOCK||e.type===d.END_EXPR)&&t&&("]"===e.text&&"["===t.text||")"===e.text&&"("===t.text||"}"===e.text&&"{"===t.text)},C.prototype._reset=function(){g=!1},C.prototype._get_next_token=function(e,t){var n=null;this._readWhitespace();var r=this._input.peek();return null===r?this._create_token(d.EOF,""):n=(n=(n=(n=(n=(n=(n=(n=(n=(n=n||this._read_non_javascript(r))||this._read_string(r))||this._read_pair(r,this._input.peek(1)))||this._read_word(e))||this._read_singles(r))||this._read_comment(r))||this._read_regexp(r,e))||this._read_xml(r,e))||this._read_punctuation())||this._create_token(d.UNKNOWN,this._input.next())},C.prototype._read_word=function(e){var t;return""!==(t=this.__patterns.identifier.read())?(t=t.replace(s.allLineBreaks,"\n"),e.type!==d.DOT&&(e.type!==d.RESERVED||"set"!==e.text&&"get"!==e.text)&&x.test(t)?"in"!==t&&"of"!==t||e.type!==d.WORD&&e.type!==d.STRING?this._create_token(d.RESERVED,t):this._create_token(d.OPERATOR,t):this._create_token(d.WORD,t)):""!==(t=this.__patterns.number.read())?this._create_token(d.WORD,t):void 0},C.prototype._read_singles=function(e){var t=null;return"("===e||"["===e?t=this._create_token(d.START_EXPR,e):")"===e||"]"===e?t=this._create_token(d.END_EXPR,e):"{"===e?t=this._create_token(d.START_BLOCK,e):"}"===e?t=this._create_token(d.END_BLOCK,e):";"===e?t=this._create_token(d.SEMICOLON,e):"."===e&&_.test(this._input.peek(1))?t=this._create_token(d.DOT,e):","===e&&(t=this._create_token(d.COMMA,e)),t&&this._input.next(),t},C.prototype._read_pair=function(e,t){var n=null;return"#"===e&&"{"===t&&(n=this._create_token(d.START_BLOCK,e+t)),n&&(this._input.next(),this._input.next()),n},C.prototype._read_punctuation=function(){var e=this.__patterns.punct.read();if(""!==e)return"="===e?this._create_token(d.EQUALS,e):"?."===e?this._create_token(d.DOT,e):this._create_token(d.OPERATOR,e)},C.prototype._read_non_javascript=function(e){var t="";if("#"===e){if(this._is_first_token()&&(t=this.__patterns.shebang.read()))return this._create_token(d.UNKNOWN,t.trim()+"\n");if(t=this.__patterns.include.read())return this._create_token(d.UNKNOWN,t.trim()+"\n");e=this._input.next();var n="#";if(this._input.hasNext()&&this._input.testChar(h)){do{n+=e=this._input.next()}while(this._input.hasNext()&&"#"!==e&&"="!==e);return"#"===e||("["===this._input.peek()&&"]"===this._input.peek(1)?(n+="[]",this._input.next(),this._input.next()):"{"===this._input.peek()&&"}"===this._input.peek(1)&&(n+="{}",this._input.next(),this._input.next())),this._create_token(d.WORD,n)}this._input.back()}else if("<"===e&&this._is_first_token()){if(t=this.__patterns.html_comment_start.read()){for(;this._input.hasNext()&&!this._input.testChar(s.newline);)t+=this._input.next();return g=!0,this._create_token(d.COMMENT,t)}}else if(g&&"-"===e&&(t=this.__patterns.html_comment_end.read()))return g=!1,this._create_token(d.COMMENT,t);return null},C.prototype._read_comment=function(e){var t=null;if("/"===e){var n="";if("*"===this._input.peek(1)){n=this.__patterns.block_comment.read();var r=p.get_directives(n);r&&"start"===r.ignore&&(n+=p.readIgnored(this._input)),n=n.replace(s.allLineBreaks,"\n"),(t=this._create_token(d.BLOCK_COMMENT,n)).directives=r}else"/"===this._input.peek(1)&&(n=this.__patterns.comment.read(),t=this._create_token(d.COMMENT,n))}return t},C.prototype._read_string=function(e){if("`"===e||"'"===e||'"'===e){var t=this._input.next();return this.has_char_escapes=!1,t+="`"===e?this._read_string_recursive("`",!0,"${"):this._read_string_recursive(e),this.has_char_escapes&&this._options.unescape_strings&&(t=function(e){var t="",n=0,i=new r(e),o=null;for(;i.hasNext();)if((o=i.match(/([\s]|[^\\]|\\\\)+/g))&&(t+=o[0]),"\\"===i.peek()){if(i.next(),"x"===i.peek())o=i.match(/x([0-9A-Fa-f]{2})/g);else{if("u"!==i.peek()){t+="\\",i.hasNext()&&(t+=i.next());continue}(o=i.match(/u([0-9A-Fa-f]{4})/g))||(o=i.match(/u\{([0-9A-Fa-f]+)\}/g))}if(!o)return e;if((n=parseInt(o[1],16))>126&&n<=255&&0===o[0].indexOf("x"))return e;t+=n>=0&&n<32||n>1114111?"\\"+o[0]:34===n||39===n||92===n?"\\"+String.fromCharCode(n):String.fromCharCode(n)}return t}(t)),this._input.peek()===e&&(t+=this._input.next()),t=t.replace(s.allLineBreaks,"\n"),this._create_token(d.STRING,t)}return null},C.prototype._allow_regexp_or_xml=function(e){return e.type===d.RESERVED&&l(e.text,["return","case","throw","else","do","typeof","yield"])||e.type===d.END_EXPR&&")"===e.text&&e.opened.previous.type===d.RESERVED&&l(e.opened.previous.text,["if","while","for"])||l(e.type,[d.COMMENT,d.START_EXPR,d.START_BLOCK,d.START,d.END_BLOCK,d.OPERATOR,d.EQUALS,d.EOF,d.SEMICOLON,d.COMMA])},C.prototype._read_regexp=function(e,t){if("/"===e&&this._allow_regexp_or_xml(t)){for(var n=this._input.next(),r=!1,i=!1;this._input.hasNext()&&(r||i||this._input.peek()!==e)&&!this._input.testChar(s.newline);)n+=this._input.peek(),r?r=!1:(r="\\"===this._input.peek(),"["===this._input.peek()?i=!0:"]"===this._input.peek()&&(i=!1)),this._input.next();return this._input.peek()===e&&(n+=this._input.next(),n+=this._input.read(s.identifier)),this._create_token(d.STRING,n)}return null},C.prototype._read_xml=function(e,t){if(this._options.e4x&&"<"===e&&this._allow_regexp_or_xml(t)){var n="",r=this.__patterns.xml.read_match();if(r){for(var i=r[2].replace(/^{\s+/,"{").replace(/\s+}$/,"}"),o=0===i.indexOf("{"),a=0;r;){var u=!!r[1],c=r[2];if(!(!!r[r.length-1]||"![CDATA["===c.slice(0,8))&&(c===i||o&&c.replace(/^{\s+/,"{").replace(/\s+}$/,"}"))&&(u?--a:++a),n+=r[0],a<=0)break;r=this.__patterns.xml.read_match()}return r||(n+=this._input.match(/[\s\S]*/g)[0]),n=n.replace(s.allLineBreaks,"\n"),this._create_token(d.STRING,n)}}return null},C.prototype._read_string_recursive=function(e,t,n){var r,i;"'"===e?i=this.__patterns.single_quote:'"'===e?i=this.__patterns.double_quote:"`"===e?i=this.__patterns.template_text:"}"===e&&(i=this.__patterns.template_expression);for(var o=i.read(),a="";this._input.hasNext();){if((a=this._input.next())===e||!t&&s.newline.test(a)){this._input.back();break}"\\"===a&&this._input.hasNext()?("x"===(r=this._input.peek())||"u"===r?this.has_char_escapes=!0:"\r"===r&&"\n"===this._input.peek(1)&&this._input.next(),a+=this._input.next()):n&&("${"===n&&"$"===a&&"{"===this._input.peek()&&(a+=this._input.next()),n===a&&(a+="`"===e?this._read_string_recursive("}",t,"`"):this._read_string_recursive("`",t,"${"),this._input.hasNext()&&(a+=this._input.next()))),o+=a+=i.read()}return o},e.exports.Tokenizer=C,e.exports.TOKEN=d,e.exports.positionable_operators=m.slice(),e.exports.line_starters=b.slice()},function(e){var t=RegExp.prototype.hasOwnProperty("sticky");function n(e){this.__input=e||"",this.__input_length=this.__input.length,this.__position=0}n.prototype.restart=function(){this.__position=0},n.prototype.back=function(){this.__position>0&&(this.__position-=1)},n.prototype.hasNext=function(){return this.__position<this.__input_length},n.prototype.next=function(){var e=null;return this.hasNext()&&(e=this.__input.charAt(this.__position),this.__position+=1),e},n.prototype.peek=function(e){var t=null;return e=e||0,(e+=this.__position)>=0&&e<this.__input_length&&(t=this.__input.charAt(e)),t},n.prototype.__match=function(e,n){e.lastIndex=n;var r=e.exec(this.__input);return!r||t&&e.sticky||r.index!==n&&(r=null),r},n.prototype.test=function(e,t){return t=t||0,(t+=this.__position)>=0&&t<this.__input_length&&!!this.__match(e,t)},n.prototype.testChar=function(e,t){var n=this.peek(t);return e.lastIndex=0,null!==n&&e.test(n)},n.prototype.match=function(e){var t=this.__match(e,this.__position);return t?this.__position+=t[0].length:t=null,t},n.prototype.read=function(e,t,n){var r,i="";return e&&(r=this.match(e))&&(i+=r[0]),!t||!r&&e||(i+=this.readUntil(t,n)),i},n.prototype.readUntil=function(e,t){var n,r=this.__position;e.lastIndex=this.__position;var i=e.exec(this.__input);return i?(r=i.index,t&&(r+=i[0].length)):r=this.__input_length,n=this.__input.substring(this.__position,r),this.__position=r,n},n.prototype.readUntilAfter=function(e){return this.readUntil(e,!0)},n.prototype.get_regexp=function(e,n){var r=null,i="g";return n&&t&&(i="y"),"string"==typeof e&&""!==e?r=new RegExp(e,i):e&&(r=new RegExp(e.source,i)),r},n.prototype.get_literal_regexp=function(e){return RegExp(e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&"))},n.prototype.peekUntilAfter=function(e){var t=this.__position,n=this.readUntilAfter(e);return this.__position=t,n},n.prototype.lookBack=function(e){var t=this.__position-1;return t>=e.length&&this.__input.substring(t-e.length,t).toLowerCase()===e},e.exports.InputScanner=n},function(e,t,n){var r=n(8).InputScanner,i=n(3).Token,o=n(10).TokenStream,a=n(11).WhitespacePattern,s={START:"TK_START",RAW:"TK_RAW",EOF:"TK_EOF"},u=function(e,t){this._input=new r(e),this._options=t||{},this.__tokens=null,this._patterns={},this._patterns.whitespace=new a(this._input)};u.prototype.tokenize=function(){var e;this._input.restart(),this.__tokens=new o,this._reset();for(var t=new i(s.START,""),n=null,r=[],a=new o;t.type!==s.EOF;){for(e=this._get_next_token(t,n);this._is_comment(e);)a.add(e),e=this._get_next_token(t,n);a.isEmpty()||(e.comments_before=a,a=new o),e.parent=n,this._is_opening(e)?(r.push(n),n=e):n&&this._is_closing(e,n)&&(e.opened=n,n.closed=e,n=r.pop(),e.parent=n),e.previous=t,t.next=e,this.__tokens.add(e),t=e}return this.__tokens},u.prototype._is_first_token=function(){return this.__tokens.isEmpty()},u.prototype._reset=function(){},u.prototype._get_next_token=function(e,t){this._readWhitespace();var n=this._input.read(/.+/g);return n?this._create_token(s.RAW,n):this._create_token(s.EOF,"")},u.prototype._is_comment=function(e){return!1},u.prototype._is_opening=function(e){return!1},u.prototype._is_closing=function(e,t){return!1},u.prototype._create_token=function(e,t){return new i(e,t,this._patterns.whitespace.newline_count,this._patterns.whitespace.whitespace_before_token)},u.prototype._readWhitespace=function(){return this._patterns.whitespace.read()},e.exports.Tokenizer=u,e.exports.TOKEN=s},function(e){function t(e){this.__tokens=[],this.__tokens_length=this.__tokens.length,this.__position=0,this.__parent_token=e}t.prototype.restart=function(){this.__position=0},t.prototype.isEmpty=function(){return 0===this.__tokens_length},t.prototype.hasNext=function(){return this.__position<this.__tokens_length},t.prototype.next=function(){var e=null;return this.hasNext()&&(e=this.__tokens[this.__position],this.__position+=1),e},t.prototype.peek=function(e){var t=null;return e=e||0,(e+=this.__position)>=0&&e<this.__tokens_length&&(t=this.__tokens[e]),t},t.prototype.add=function(e){this.__parent_token&&(e.parent=this.__parent_token),this.__tokens.push(e),this.__tokens_length+=1},e.exports.TokenStream=t},function(e,t,n){var r=n(12).Pattern;function i(e,t){r.call(this,e,t),t?this._line_regexp=this._input.get_regexp(t._line_regexp):this.__set_whitespace_patterns("",""),this.newline_count=0,this.whitespace_before_token=""}i.prototype=new r,i.prototype.__set_whitespace_patterns=function(e,t){e+="\\t ",t+="\\n\\r",this._match_pattern=this._input.get_regexp("["+e+t+"]+",!0),this._newline_regexp=this._input.get_regexp("\\r\\n|["+t+"]")},i.prototype.read=function(){this.newline_count=0,this.whitespace_before_token="";var e=this._input.read(this._match_pattern);if(" "===e)this.whitespace_before_token=" ";else if(e){var t=this.__split(this._newline_regexp,e);this.newline_count=t.length-1,this.whitespace_before_token=t[this.newline_count]}return e},i.prototype.matching=function(e,t){var n=this._create();return n.__set_whitespace_patterns(e,t),n._update(),n},i.prototype._create=function(){return new i(this._input,this)},i.prototype.__split=function(e,t){e.lastIndex=0;for(var n=0,r=[],i=e.exec(t);i;)r.push(t.substring(n,i.index)),n=i.index+i[0].length,i=e.exec(t);return n<t.length?r.push(t.substring(n,t.length)):r.push(""),r},e.exports.WhitespacePattern=i},function(e){function t(e,t){this._input=e,this._starting_pattern=null,this._match_pattern=null,this._until_pattern=null,this._until_after=!1,t&&(this._starting_pattern=this._input.get_regexp(t._starting_pattern,!0),this._match_pattern=this._input.get_regexp(t._match_pattern,!0),this._until_pattern=this._input.get_regexp(t._until_pattern),this._until_after=t._until_after)}t.prototype.read=function(){var e=this._input.read(this._starting_pattern);return this._starting_pattern&&!e||(e+=this._input.read(this._match_pattern,this._until_pattern,this._until_after)),e},t.prototype.read_match=function(){return this._input.match(this._match_pattern)},t.prototype.until_after=function(e){var t=this._create();return t._until_after=!0,t._until_pattern=this._input.get_regexp(e),t._update(),t},t.prototype.until=function(e){var t=this._create();return t._until_after=!1,t._until_pattern=this._input.get_regexp(e),t._update(),t},t.prototype.starting_with=function(e){var t=this._create();return t._starting_pattern=this._input.get_regexp(e,!0),t._update(),t},t.prototype.matching=function(e){var t=this._create();return t._match_pattern=this._input.get_regexp(e,!0),t._update(),t},t.prototype._create=function(){return new t(this._input,this)},t.prototype._update=function(){},e.exports.Pattern=t},function(e){function t(e,t){e="string"==typeof e?e:e.source,t="string"==typeof t?t:t.source,this.__directives_block_pattern=new RegExp(e+/ beautify( \w+[:]\w+)+ /.source+t,"g"),this.__directive_pattern=/ (\w+)[:](\w+)/g,this.__directives_end_ignore_pattern=new RegExp(e+/\sbeautify\signore:end\s/.source+t,"g")}t.prototype.get_directives=function(e){if(!e.match(this.__directives_block_pattern))return null;var t={};this.__directive_pattern.lastIndex=0;for(var n=this.__directive_pattern.exec(e);n;)t[n[1]]=n[2],n=this.__directive_pattern.exec(e);return t},t.prototype.readIgnored=function(e){return e.readUntilAfter(this.__directives_end_ignore_pattern)},e.exports.Directives=t},function(e,t,n){var r=n(12).Pattern,i={django:!1,erb:!1,handlebars:!1,php:!1,smarty:!1,angular:!1};function o(e,t){r.call(this,e,t),this.__template_pattern=null,this._disabled=Object.assign({},i),this._excluded=Object.assign({},i),t&&(this.__template_pattern=this._input.get_regexp(t.__template_pattern),this._excluded=Object.assign(this._excluded,t._excluded),this._disabled=Object.assign(this._disabled,t._disabled));var n=new r(e);this.__patterns={handlebars_comment:n.starting_with(/{{!--/).until_after(/--}}/),handlebars_unescaped:n.starting_with(/{{{/).until_after(/}}}/),handlebars:n.starting_with(/{{/).until_after(/}}/),php:n.starting_with(/<\?(?:[= ]|php)/).until_after(/\?>/),erb:n.starting_with(/<%[^%]/).until_after(/[^%]%>/),django:n.starting_with(/{%/).until_after(/%}/),django_value:n.starting_with(/{{/).until_after(/}}/),django_comment:n.starting_with(/{#/).until_after(/#}/),smarty:n.starting_with(/{(?=[^}{\s\n])/).until_after(/[^\s\n]}/),smarty_comment:n.starting_with(/{\*/).until_after(/\*}/),smarty_literal:n.starting_with(/{literal}/).until_after(/{\/literal}/)}}o.prototype=new r,o.prototype._create=function(){return new o(this._input,this)},o.prototype._update=function(){this.__set_templated_pattern()},o.prototype.disable=function(e){var t=this._create();return t._disabled[e]=!0,t._update(),t},o.prototype.read_options=function(e){var t=this._create();for(var n in i)t._disabled[n]=-1===e.templating.indexOf(n);return t._update(),t},o.prototype.exclude=function(e){var t=this._create();return t._excluded[e]=!0,t._update(),t},o.prototype.read=function(){var e="";e=this._match_pattern?this._input.read(this._starting_pattern):this._input.read(this._starting_pattern,this.__template_pattern);for(var t=this._read_template();t;)this._match_pattern?t+=this._input.read(this._match_pattern):t+=this._input.readUntil(this.__template_pattern),e+=t,t=this._read_template();return this._until_after&&(e+=this._input.readUntilAfter(this._until_pattern)),e},o.prototype.__set_templated_pattern=function(){var e=[];this._disabled.php||e.push(this.__patterns.php._starting_pattern.source),this._disabled.handlebars||e.push(this.__patterns.handlebars._starting_pattern.source),this._disabled.angular||e.push(this.__patterns.handlebars._starting_pattern.source),this._disabled.erb||e.push(this.__patterns.erb._starting_pattern.source),this._disabled.django||(e.push(this.__patterns.django._starting_pattern.source),e.push(this.__patterns.django_value._starting_pattern.source),e.push(this.__patterns.django_comment._starting_pattern.source)),this._disabled.smarty||e.push(this.__patterns.smarty._starting_pattern.source),this._until_pattern&&e.push(this._until_pattern.source),this.__template_pattern=this._input.get_regexp("(?:"+e.join("|")+")")},o.prototype._read_template=function(){var e="",t=this._input.peek();if("<"===t){var n=this._input.peek(1);this._disabled.php||this._excluded.php||"?"!==n||(e=e||this.__patterns.php.read()),this._disabled.erb||this._excluded.erb||"%"!==n||(e=e||this.__patterns.erb.read())}else"{"===t&&(this._disabled.handlebars||this._excluded.handlebars||(e=(e=(e=e||this.__patterns.handlebars_comment.read())||this.__patterns.handlebars_unescaped.read())||this.__patterns.handlebars.read()),this._disabled.django||(this._excluded.django||this._excluded.handlebars||(e=e||this.__patterns.django_value.read()),this._excluded.django||(e=(e=e||this.__patterns.django_comment.read())||this.__patterns.django.read())),this._disabled.smarty||this._disabled.django&&this._disabled.handlebars&&(e=(e=(e=e||this.__patterns.smarty_comment.read())||this.__patterns.smarty_literal.read())||this.__patterns.smarty.read()));return e},e.exports.TemplatablePattern=o}],t={};var n=function n(r){var i=t[r];if(void 0!==i)return i.exports;var o=t[r]={exports:{}};return e[r](o,o.exports,n),o.exports}(0);r=n}();var i=r;void 0===(n=function(){return{js_beautify:i}}.apply(t,[]))||(e.exports=n)}()},75918:function(e,t,n){"use strict";n.d(t,{Wi:function(){return u},Z0:function(){return c},aU:function(){return s},eZ:function(){return d},wY:function(){return l}});var r=n(4348),i=n(69323),o=n(13268),a=function(e,t,n,r){return new(n||(n=Promise))((function(i,o){function a(e){try{u(r.next(e))}catch(e){o(e)}}function s(e){try{u(r.throw(e))}catch(e){o(e)}}function u(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}u((r=r.apply(e,t||[])).next())}))};class s extends i.JT{constructor(e,t="",n="",i=!0,o){super(),this._onDidChange=this._register(new r.Q5),this.onDidChange=this._onDidChange.event,this._enabled=!0,this._id=e,this._label=t,this._cssClass=n,this._enabled=i,this._actionCallback=o}get id(){return this._id}get label(){return this._label}set label(e){this._setLabel(e)}_setLabel(e){this._label!==e&&(this._label=e,this._onDidChange.fire({label:e}))}get tooltip(){return this._tooltip||""}set tooltip(e){this._setTooltip(e)}_setTooltip(e){this._tooltip!==e&&(this._tooltip=e,this._onDidChange.fire({tooltip:e}))}get class(){return this._cssClass}set class(e){this._setClass(e)}_setClass(e){this._cssClass!==e&&(this._cssClass=e,this._onDidChange.fire({class:e}))}get enabled(){return this._enabled}set enabled(e){this._setEnabled(e)}_setEnabled(e){this._enabled!==e&&(this._enabled=e,this._onDidChange.fire({enabled:e}))}get checked(){return this._checked}set checked(e){this._setChecked(e)}_setChecked(e){this._checked!==e&&(this._checked=e,this._onDidChange.fire({checked:e}))}run(e,t){return a(this,void 0,void 0,(function*(){this._actionCallback&&(yield this._actionCallback(e))}))}}class u extends i.JT{constructor(){super(...arguments),this._onBeforeRun=this._register(new r.Q5),this.onBeforeRun=this._onBeforeRun.event,this._onDidRun=this._register(new r.Q5),this.onDidRun=this._onDidRun.event}run(e,t){return a(this,void 0,void 0,(function*(){if(!e.enabled)return;let n;this._onBeforeRun.fire({action:e});try{yield this.runAction(e,t)}catch(e){n=e}this._onDidRun.fire({action:e,error:n})}))}runAction(e,t){return a(this,void 0,void 0,(function*(){yield e.run(t)}))}}class c extends s{constructor(e){super(c.ID,e,e?"separator text":"separator"),this.checked=!1,this.enabled=!1}}c.ID="vs.actions.separator";class l{constructor(e,t,n,r){this.tooltip="",this.enabled=!0,this.checked=!1,this.id=e,this.label=t,this.class=r,this._actions=n}get actions(){return this._actions}dispose(){}run(){return a(this,void 0,void 0,(function*(){}))}}class d extends s{constructor(){super(d.ID,o.N("submenu.empty","(empty)"),void 0,!1)}}d.ID="vs.actions.empty"},76068:function(e,t,n){"use strict";function r(e,t){if(!e)throw new Error(t?`Assertion failed (${t})`:"Assertion Failed")}n.d(t,{ok:function(){return r}})},52615:function(e,t,n){"use strict";n.d(t,{CM:function(){return a},JL:function(){return s},dT:function(){return c},fK:function(){return o},lA:function(){return u}});var r=n(4348);const i=new class{constructor(){this._icons=new Map,this._onDidRegister=new r.Q5}add(e){const t=this._icons.get(e.id);t?e.description?t.description=e.description:console.error(`Duplicate registration of codicon ${e.id}`):(this._icons.set(e.id,e),this._onDidRegister.fire(e))}get(e){return this._icons.get(e)}get all(){return this._icons.values()}get onDidRegister(){return this._onDidRegister.event}},o=i;function a(e,t){return new u(e,t)}function s(e){return e?e.replace(/\$\((.*?)\)/g,((e,t)=>` ${t} `)).trim():""}class u{constructor(e,t,n){this.id=e,this.definition=t,this.description=n,i.add(this)}get classNames(){return"codicon codicon-"+this.id}get classNamesArray(){return["codicon","codicon-"+this.id]}get cssSelector(){return".codicon.codicon-"+this.id}}var c;!function(e){e.iconNameSegment="[A-Za-z0-9]+",e.iconNameExpression="[A-Za-z0-9\\-]+",e.iconModifierExpression="~[A-Za-z]+";const t=new RegExp(`^(${e.iconNameExpression})(${e.iconModifierExpression})?$`);function n(e){if(e instanceof u)return["codicon","codicon-"+e.id];const r=t.exec(e.id);if(!r)return n(u.error);let[,i,o]=r;const a=["codicon","codicon-"+i];return o&&a.push("codicon-modifier-"+o.substr(1)),a}e.asClassNameArray=n,e.asClassName=function(e){return n(e).join(" ")},e.asCSSSelector=function(e){return"."+n(e).join(".")}}(c||(c={})),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"})}(u||(u={}))},79881:function(e,t,n){"use strict";n.d(t,{B8:function(){return p},Cp:function(){return o},F0:function(){return c},L6:function(){return d},VV:function(){return u},b1:function(){return l},dL:function(){return i},ri:function(){return a}});const r=new class{constructor(){this.listeners=[],this.unexpectedErrorHandler=function(e){setTimeout((()=>{if(e.stack)throw new Error(e.message+"\n\n"+e.stack);throw e}),0)}}emit(e){this.listeners.forEach((t=>{t(e)}))}onUnexpectedError(e){this.unexpectedErrorHandler(e),this.emit(e)}onUnexpectedExternalError(e){this.unexpectedErrorHandler(e)}};function i(e){u(e)||r.onUnexpectedError(e)}function o(e){u(e)||r.onUnexpectedExternalError(e)}function a(e){if(e instanceof Error){let{name:t,message:n}=e;return{$isError:!0,name:t,message:n,stack:e.stacktrace||e.stack}}return e}const s="Canceled";function u(e){return e instanceof Error&&e.name===s&&e.message===s}function c(){const e=new Error(s);return e.name=e.message,e}function l(e){return e?new Error(`Illegal argument: ${e}`):new Error("Illegal argument")}function d(e){return e?new Error(`Illegal state: ${e}`):new Error("Illegal state")}class p extends Error{constructor(e){super("NotSupported"),e&&(this.message=e)}}},4348:function(e,t,n){"use strict";n.d(t,{D0:function(){return d},E7:function(){return p},K3:function(){return l},Q5:function(){return c},ZD:function(){return f},ju:function(){return r}});var r,i=n(79881),o=n(69323),a=n(34502),s=n(95830);!function(e){function t(e){return(t,n=null,r)=>{let i,o=!1;return i=e((e=>{if(!o)return i?i.dispose():o=!0,t.call(n,e)}),null,r),o&&i.dispose(),i}}function n(e,t){return s(((n,r=null,i)=>e((e=>n.call(r,t(e))),null,i)))}function r(e,t){return s(((n,r=null,i)=>e((e=>{t(e),n.call(r,e)}),null,i)))}function i(e,t){return s(((n,r=null,i)=>e((e=>t(e)&&n.call(r,e)),null,i)))}function a(e,t,r){let i=r;return n(e,(e=>(i=t(i,e),i)))}function s(e){let t;const n=new c({onFirstListenerAdd(){t=e(n.fire,n)},onLastListenerRemove(){t.dispose()}});return n.event}function u(e,t,n=100,r=!1,i){let o,a,s,u=0;const l=new c({leakWarningThreshold:i,onFirstListenerAdd(){o=e((e=>{u++,a=t(a,e),r&&!s&&(l.fire(a),a=void 0),clearTimeout(s),s=setTimeout((()=>{const e=a;a=void 0,s=void 0,(!r||u>1)&&l.fire(e),u=0}),n)}))},onLastListenerRemove(){o.dispose()}});return l.event}function l(e,t=((e,t)=>e===t)){let n,r=!0;return i(e,(e=>{const i=r||!t(e,n);return r=!1,n=e,i}))}e.None=()=>o.JT.None,e.once=t,e.map=n,e.forEach=r,e.filter=i,e.signal=function(e){return e},e.any=function(...e){return(t,n=null,r)=>(0,o.F8)(...e.map((e=>e((e=>t.call(n,e)),null,r))))},e.reduce=a,e.debounce=u,e.latch=l,e.split=function(t,n){return[e.filter(t,n),e.filter(t,(e=>!n(e)))]},e.buffer=function(e,t=!1,n=[]){let r=n.slice(),i=e((e=>{r?r.push(e):a.fire(e)}));const o=()=>{r&&r.forEach((e=>a.fire(e))),r=null},a=new c({onFirstListenerAdd(){i||(i=e((e=>a.fire(e))))},onFirstListenerDidAdd(){r&&(t?setTimeout(o):o())},onLastListenerRemove(){i&&i.dispose(),i=null}});return a.event};class d{constructor(e){this.event=e}map(e){return new d(n(this.event,e))}forEach(e){return new d(r(this.event,e))}filter(e){return new d(i(this.event,e))}reduce(e,t){return new d(a(this.event,e,t))}latch(){return new d(l(this.event))}debounce(e,t=100,n=!1,r){return new d(u(this.event,e,t,n,r))}on(e,t,n){return this.event(e,t,n)}once(e,n,r){return t(this.event)(e,n,r)}}e.chain=function(e){return new d(e)},e.fromNodeEventEmitter=function(e,t,n=(e=>e)){const r=(...e)=>i.fire(n(...e)),i=new c({onFirstListenerAdd:()=>e.on(t,r),onLastListenerRemove:()=>e.removeListener(t,r)});return i.event},e.fromDOMEventEmitter=function(e,t,n=(e=>e)){const r=(...e)=>i.fire(n(...e)),i=new c({onFirstListenerAdd:()=>e.addEventListener(t,r),onLastListenerRemove:()=>e.removeEventListener(t,r)});return i.event},e.toPromise=function(e){return new Promise((n=>t(e)(n)))}}(r||(r={}));class u{constructor(e){this._listenerCount=0,this._invocationCount=0,this._elapsedOverall=0,this._name=`${e}_${u._idPool++}`}start(e){this._stopWatch=new s.G(!0),this._listenerCount=e}stop(){if(this._stopWatch){const e=this._stopWatch.elapsed();this._elapsedOverall+=e,this._invocationCount+=1,console.info(`did FIRE ${this._name}: elapsed_ms: ${e.toFixed(5)}, listener: ${this._listenerCount} (elapsed_overall: ${this._elapsedOverall.toFixed(2)}, invocations: ${this._invocationCount})`),this._stopWatch=void 0}}}u._idPool=0;class c{constructor(e){var t;this._disposed=!1,this._options=e,this._leakageMon=void 0,this._perfMon=(null===(t=this._options)||void 0===t?void 0:t._profName)?new u(this._options._profName):void 0}get event(){return this._event||(this._event=(e,t,n)=>{var r;this._listeners||(this._listeners=new a.S);const i=this._listeners.isEmpty();i&&this._options&&this._options.onFirstListenerAdd&&this._options.onFirstListenerAdd(this);const s=this._listeners.push(t?[e,t]:e);i&&this._options&&this._options.onFirstListenerDidAdd&&this._options.onFirstListenerDidAdd(this),this._options&&this._options.onListenerDidAdd&&this._options.onListenerDidAdd(this,e,t);const u=null===(r=this._leakageMon)||void 0===r?void 0:r.check(this._listeners.size),c=(0,o.OF)((()=>{if(u&&u(),!this._disposed&&(s(),this._options&&this._options.onLastListenerRemove)){this._listeners&&!this._listeners.isEmpty()||this._options.onLastListenerRemove(this)}}));return n instanceof o.SL?n.add(c):Array.isArray(n)&&n.push(c),c}),this._event}fire(e){var t,n;if(this._listeners){this._deliveryQueue||(this._deliveryQueue=new a.S);for(let t of this._listeners)this._deliveryQueue.push([t,e]);for(null===(t=this._perfMon)||void 0===t||t.start(this._deliveryQueue.size);this._deliveryQueue.size>0;){const[e,t]=this._deliveryQueue.shift();try{"function"==typeof e?e.call(void 0,t):e[0].call(e[1],t)}catch(e){(0,i.dL)(e)}}null===(n=this._perfMon)||void 0===n||n.stop()}}dispose(){var e,t,n,r,i;this._disposed||(this._disposed=!0,null===(e=this._listeners)||void 0===e||e.clear(),null===(t=this._deliveryQueue)||void 0===t||t.clear(),null===(r=null===(n=this._options)||void 0===n?void 0:n.onLastListenerRemove)||void 0===r||r.call(n),null===(i=this._leakageMon)||void 0===i||i.dispose())}}class l extends c{constructor(e){super(e),this._isPaused=0,this._eventQueue=new a.S,this._mergeFn=null==e?void 0:e.merge}pause(){this._isPaused++}resume(){if(0!==this._isPaused&&0==--this._isPaused)if(this._mergeFn){const e=Array.from(this._eventQueue);this._eventQueue.clear(),super.fire(this._mergeFn(e))}else for(;!this._isPaused&&0!==this._eventQueue.size;)super.fire(this._eventQueue.shift())}fire(e){this._listeners&&(0!==this._isPaused?this._eventQueue.push(e):super.fire(e))}}class d extends l{constructor(e){var t;super(e),this._delay=null!==(t=e.delay)&&void 0!==t?t:100}fire(e){this._handle||(this.pause(),this._handle=setTimeout((()=>{this._handle=void 0,this.resume()}),this._delay)),super.fire(e)}}class p{constructor(){this.buffers=[]}wrapEvent(e){return(t,n,r)=>e((e=>{const r=this.buffers[this.buffers.length-1];r?r.push((()=>t.call(n,e))):t.call(n,e)}),void 0,r)}bufferEvents(e){const t=[];this.buffers.push(t);const n=e();return this.buffers.pop(),t.forEach((e=>e())),n}}class f{constructor(){this.listening=!1,this.inputEvent=r.None,this.inputEventListener=o.JT.None,this.emitter=new c({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(e){this.inputEvent=e,this.listening&&(this.inputEventListener.dispose(),this.inputEventListener=e(this.emitter.fire,this.emitter))}dispose(){this.inputEventListener.dispose(),this.emitter.dispose()}}},17845:function(e,t,n){"use strict";function r(e){const t=this;let n,r=!1;return function(){return r||(r=!0,n=e.apply(t,arguments)),n}}n.d(t,{I:function(){return r}})},88226:function(e,t,n){"use strict";var r;n.d(t,{$:function(){return r}}),function(e){e.is=function(e){return e&&"object"==typeof e&&"function"==typeof e[Symbol.iterator]};const t=Object.freeze([]);e.empty=function(){return t},e.single=function*(e){yield e},e.from=function(e){return e||t},e.isEmpty=function(e){return!e||!0===e[Symbol.iterator]().next().done},e.first=function(e){return e[Symbol.iterator]().next().value},e.some=function(e,t){for(const n of e)if(t(n))return!0;return!1},e.find=function(e,t){for(const n of e)if(t(n))return n},e.filter=function*(e,t){for(const n of e)t(n)&&(yield n)},e.map=function*(e,t){let n=0;for(const r of e)yield t(r,n++)},e.concat=function*(...e){for(const t of e)for(const e of t)yield e},e.concatNested=function*(e){for(const t of e)for(const e of t)yield e},e.reduce=function(e,t,n){let r=n;for(const n of e)r=t(r,n);return r},e.slice=function*(e,t,n=e.length){for(t<0&&(t+=e.length),n<0?n+=e.length:n>e.length&&(n=e.length);t<n;t++)yield e[t]},e.consume=function(t,n=Number.POSITIVE_INFINITY){const r=[];if(0===n)return[r,t];const i=t[Symbol.iterator]();for(let t=0;t<n;t++){const t=i.next();if(t.done)return[r,e.empty()];r.push(t.value)}return[r,{[Symbol.iterator](){return i}}]},e.equals=function(e,t,n=((e,t)=>e===t)){const r=e[Symbol.iterator](),i=t[Symbol.iterator]();for(;;){const e=r.next(),t=i.next();if(e.done!==t.done)return!1;if(e.done)return!0;if(!n(e.value,t.value))return!1}}}(r||(r={}))},69323:function(e,t,n){"use strict";n.d(t,{B9:function(){return p},F8:function(){return f},JT:function(){return m},Jz:function(){return g},OF:function(){return h},SL:function(){return _},Wf:function(){return d},XK:function(){return v},dk:function(){return c}});var r=n(17845),i=n(88226);let o=null;function a(e){return null==o||o.trackDisposable(e),e}function s(e){null==o||o.markAsDisposed(e)}function u(e,t){null==o||o.setParent(e,t)}function c(e){return null==o||o.markAsSingleton(e),e}class l extends Error{constructor(e){super(`Encountered errors while disposing of store. Errors: [${e.join(", ")}]`),this.errors=e}}function d(e){return"function"==typeof e.dispose&&0===e.dispose.length}function p(e){if(i.$.is(e)){let t=[];for(const n of e)if(n)try{n.dispose()}catch(e){t.push(e)}if(1===t.length)throw t[0];if(t.length>1)throw new l(t);return Array.isArray(e)?[]:e}if(e)return e.dispose(),e}function f(...e){const t=h((()=>p(e)));return function(e,t){if(o)for(const n of e)o.setParent(n,t)}(e,t),t}function h(e){const t=a({dispose:(0,r.I)((()=>{s(t),e()}))});return t}class _{constructor(){this._toDispose=new Set,this._isDisposed=!1,a(this)}dispose(){this._isDisposed||(s(this),this._isDisposed=!0,this.clear())}clear(){try{p(this._toDispose.values())}finally{this._toDispose.clear()}}add(e){if(!e)return e;if(e===this)throw new Error("Cannot register a disposable on itself!");return u(e,this),this._isDisposed?_.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(e),e}}_.DISABLE_DISPOSED_WARNING=!1;class m{constructor(){this._store=new _,a(this),u(this._store,this)}dispose(){s(this),this._store.dispose()}_register(e){if(e===this)throw new Error("Cannot register a disposable on itself!");return this._store.add(e)}}m.None=Object.freeze({dispose(){}});class v{constructor(){this._isDisposed=!1,a(this)}get value(){return this._isDisposed?void 0:this._value}set value(e){var t;this._isDisposed||e===this._value||(null===(t=this._value)||void 0===t||t.dispose(),e&&u(e,this),this._value=e)}clear(){this.value=void 0}dispose(){var e;this._isDisposed=!0,s(this),null===(e=this._value)||void 0===e||e.dispose(),this._value=void 0}clearAndLeak(){const e=this._value;return this._value=void 0,e&&u(e,null),e}}class g{constructor(e){this.object=e}dispose(){}}},34502:function(e,t,n){"use strict";n.d(t,{S:function(){return i}});class r{constructor(e){this.element=e,this.next=r.Undefined,this.prev=r.Undefined}}r.Undefined=new r(void 0);class i{constructor(){this._first=r.Undefined,this._last=r.Undefined,this._size=0}get size(){return this._size}isEmpty(){return this._first===r.Undefined}clear(){let e=this._first;for(;e!==r.Undefined;){const t=e.next;e.prev=r.Undefined,e.next=r.Undefined,e=t}this._first=r.Undefined,this._last=r.Undefined,this._size=0}unshift(e){return this._insert(e,!1)}push(e){return this._insert(e,!0)}_insert(e,t){const n=new r(e);if(this._first===r.Undefined)this._first=n,this._last=n;else if(t){const e=this._last;this._last=n,n.prev=e,e.next=n}else{const e=this._first;this._first=n,n.next=e,e.prev=n}this._size+=1;let i=!1;return()=>{i||(i=!0,this._remove(n))}}shift(){if(this._first!==r.Undefined){const e=this._first.element;return this._remove(this._first),e}}pop(){if(this._last!==r.Undefined){const e=this._last.element;return this._remove(this._last),e}}_remove(e){if(e.prev!==r.Undefined&&e.next!==r.Undefined){const t=e.prev;t.next=e.next,e.next.prev=t}else e.prev===r.Undefined&&e.next===r.Undefined?(this._first=r.Undefined,this._last=r.Undefined):e.next===r.Undefined?(this._last=this._last.prev,this._last.next=r.Undefined):e.prev===r.Undefined&&(this._first=this._first.next,this._first.prev=r.Undefined);this._size-=1}*[Symbol.iterator](){let e=this._first;for(;e!==r.Undefined;)yield e.element,e=e.next}}},23345:function(e,t,n){"use strict";n.d(t,{$L:function(){return E},ED:function(){return w},IJ:function(){return C},OS:function(){return R},WE:function(){return Z},dz:function(){return x},gn:function(){return N},li:function(){return v},r:function(){return T},tY:function(){return k},xS:function(){return S}});var r,i=n(97671);const o="en";let a,s,u=!1,c=!1,l=!1,d=!1,p=!1,f=!1,h=!1,_=null,m=null;const v="object"==typeof self?self:"object"==typeof n.g?n.g:{};let g;void 0!==v.vscode&&void 0!==v.vscode.process?g=v.vscode.process:void 0!==i&&(g=i);const y="string"==typeof(null===(r=null==g?void 0:g.versions)||void 0===r?void 0:r.electron)&&"renderer"===g.type;if("object"!=typeof navigator||y)if("object"==typeof g){u="win32"===g.platform,c="darwin"===g.platform,l="linux"===g.platform,d=l&&!!g.env.SNAP&&!!g.env.SNAP_REVISION,a=o,_=o;const e=g.env.VSCODE_NLS_CONFIG;if(e)try{const t=JSON.parse(e),n=t.availableLanguages["*"];a=t.locale,_=n||o,m=t._translationsConfigFile}catch(e){}p=!0}else console.error("Unable to resolve platform.");else s=navigator.userAgent,u=s.indexOf("Windows")>=0,c=s.indexOf("Macintosh")>=0,h=(s.indexOf("Macintosh")>=0||s.indexOf("iPad")>=0||s.indexOf("iPhone")>=0)&&!!navigator.maxTouchPoints&&navigator.maxTouchPoints>0,l=s.indexOf("Linux")>=0,f=!0,a=navigator.language,_=a;let b=0;c?b=1:u?b=3:l&&(b=2);const w=u,x=c,C=l,k=p,E=f,N=h,Z=s,S=function(){if(v.setImmediate)return v.setImmediate.bind(v);if("function"==typeof v.postMessage&&!v.importScripts){let e=[];v.addEventListener("message",(t=>{if(t.data&&t.data.vscodeSetImmediateId)for(let n=0,r=e.length;n<r;n++){const r=e[n];if(r.id===t.data.vscodeSetImmediateId)return e.splice(n,1),void r.callback()}}));let t=0;return n=>{const r=++t;e.push({id:r,callback:n}),v.postMessage({vscodeSetImmediateId:r},"*")}}if("function"==typeof(null==g?void 0:g.nextTick))return g.nextTick.bind(g);const e=Promise.resolve();return t=>e.then(t)}(),R=c||h?2:u?1:3;let O=!0,A=!1;function T(){if(!A){A=!0;const e=new Uint8Array(2);e[0]=1,e[1]=2;const t=new Uint16Array(e.buffer);O=513===t[0]}return O}},95830:function(e,t,n){"use strict";n.d(t,{G:function(){return o}});var r=n(23345);const i=r.li.performance&&"function"==typeof r.li.performance.now;class o{constructor(e){this._highResolution=i&&e,this._startTime=this._now(),this._stopTime=-1}static create(e=!0){return new o(e)}stop(){this._stopTime=this._now()}elapsed(){return-1!==this._stopTime?this._stopTime-this._startTime:this._now()-this._startTime}_now(){return this._highResolution?r.li.performance.now():Date.now()}}},82983:function(e,t,n){"use strict";function r(e){return!e||"string"!=typeof e||0===e.trim().length}n.d(t,{$i:function(){return F},C8:function(){return q},GF:function(){return f},HO:function(){return M},IO:function(){return h},K7:function(){return U},Kw:function(){return X},LC:function(){return v},Mh:function(){return S},P1:function(){return R},PJ:function(){return J},Qe:function(){return W},R1:function(){return p},RP:function(){return z},S6:function(){return Q},TT:function(){return w},Ut:function(){return K},V8:function(){return g},WU:function(){return o},YK:function(){return A},YU:function(){return a},ZG:function(){return O},ZH:function(){return D},ab:function(){return V},c1:function(){return Y},df:function(){return E},ec:function(){return s},fi:function(){return $},fy:function(){return u},j3:function(){return c},j_:function(){return C},m5:function(){return r},mK:function(){return k},mr:function(){return _},oH:function(){return te},oL:function(){return l},ok:function(){return Z},ow:function(){return y},qq:function(){return N},qu:function(){return b},rL:function(){return T},uS:function(){return G},un:function(){return d},uq:function(){return m},vH:function(){return I},xe:function(){return H},zY:function(){return x}});const i=/{(\d+)}/g;function o(e,...t){return 0===t.length?e:e.replace(i,(function(e,n){const r=parseInt(n,10);return isNaN(r)||r<0||r>=t.length?e:t[r]}))}function a(e){return e.replace(/[<>&]/g,(function(e){switch(e){case"<":return"&lt;";case">":return"&gt;";case"&":return"&amp;";default:return e}}))}function s(e){return e.replace(/[\\\{\}\*\+\?\|\^\$\.\[\]\(\)]/g,"\\$&")}function u(e,t=" "){return l(c(e,t),t)}function c(e,t){if(!e||!t)return e;const n=t.length;if(0===n||0===e.length)return e;let r=0;for(;e.indexOf(t,r)===r;)r+=n;return e.substring(r)}function l(e,t){if(!e||!t)return e;const n=t.length,r=e.length;if(0===n||0===r)return e;let i=r,o=-1;for(;o=e.lastIndexOf(t,i-1),-1!==o&&o+n===i;){if(0===o)return"";i=o}return e.substring(0,i)}function d(e){return e.replace(/[\-\\\{\}\+\?\|\^\$\.\,\[\]\(\)\#\s]/g,"\\$&").replace(/[\*]/g,".*")}function p(e){return e.replace(/\*/g,"")}function f(e,t,n={}){if(!e)throw new Error("Cannot create regex from empty string");t||(e=s(e)),n.wholeWord&&(/\B/.test(e.charAt(0))||(e="\\b"+e),/\B/.test(e.charAt(e.length-1))||(e+="\\b"));let r="";return n.global&&(r+="g"),n.matchCase||(r+="i"),n.multiline&&(r+="m"),n.unicode&&(r+="u"),new RegExp(e,r)}function h(e){if("^"===e.source||"^$"===e.source||"$"===e.source||"^\\s*$"===e.source)return!1;return!(!e.exec("")||0!==e.lastIndex)}function _(e){return(e.global?"g":"")+(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")}function m(e){return e.split(/\r\n|\r|\n/)}function v(e){for(let t=0,n=e.length;t<n;t++){const n=e.charCodeAt(t);if(32!==n&&9!==n)return t}return-1}function g(e,t=0,n=e.length){for(let r=t;r<n;r++){const n=e.charCodeAt(r);if(32!==n&&9!==n)return e.substring(t,r)}return e.substring(t,n)}function y(e,t=e.length-1){for(let n=t;n>=0;n--){const t=e.charCodeAt(n);if(32!==t&&9!==t)return n}return-1}function b(e,t){return e<t?-1:e>t?1:0}function w(e,t,n=0,r=e.length,i=0,o=t.length){for(;n<r&&i<o;n++,i++){let r=e.charCodeAt(n),o=t.charCodeAt(i);if(r<o)return-1;if(r>o)return 1}const a=r-n,s=o-i;return a<s?-1:a>s?1:0}function x(e,t){return C(e,t,0,e.length,0,t.length)}function C(e,t,n=0,r=e.length,i=0,o=t.length){for(;n<r&&i<o;n++,i++){let a=e.charCodeAt(n),s=t.charCodeAt(i);if(a===s)continue;if(a>=128||s>=128)return w(e.toLowerCase(),t.toLowerCase(),n,r,i,o);k(a)&&(a-=32),k(s)&&(s-=32);const u=a-s;if(0!==u)return u}const a=r-n,s=o-i;return a<s?-1:a>s?1:0}function k(e){return e>=97&&e<=122}function E(e){return e>=65&&e<=90}function N(e,t){return e.length===t.length&&0===C(e,t)}function Z(e,t){const n=t.length;return!(t.length>e.length)&&0===C(e,t,0,n)}function S(e,t){let n,r=Math.min(e.length,t.length);for(n=0;n<r;n++)if(e.charCodeAt(n)!==t.charCodeAt(n))return n;return r}function R(e,t){let n,r=Math.min(e.length,t.length);const i=e.length-1,o=t.length-1;for(n=0;n<r;n++)if(e.charCodeAt(i-n)!==t.charCodeAt(o-n))return n;return r}function O(e){return 55296<=e&&e<=56319}function A(e){return 56320<=e&&e<=57343}function T(e,t){return t-56320+(e-55296<<10)+65536}function D(e,t,n){const r=e.charCodeAt(n);if(O(r)&&n+1<t){const t=e.charCodeAt(n+1);if(A(t))return T(r,t)}return r}function P(e,t){const n=e.charCodeAt(t-1);if(A(n)&&t>1){const r=e.charCodeAt(t-2);if(O(r))return T(r,n)}return n}function I(e,t){const n=ee.getInstance(),r=t,i=e.length,o=D(e,i,t);t+=o>=65536?2:1;let a=n.getGraphemeBreakType(o);for(;t<i;){const r=D(e,i,t),o=n.getGraphemeBreakType(r);if($(a,o))break;t+=r>=65536?2:1,a=o}return t-r}function M(e,t){const n=ee.getInstance(),r=t,i=P(e,t);t-=i>=65536?2:1;let o=n.getGraphemeBreakType(i);for(;t>0;){const r=P(e,t),i=n.getGraphemeBreakType(r);if($(i,o))break;t-=r>=65536?2:1,o=i}return r-t}const L=/(?:[\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 K(e){return L.test(e)}const j=/(?:[\u231A\u231B\u23F0\u23F3\u2600-\u27BF\u2B50\u2B55]|\uD83C[\uDDE6-\uDDFF\uDF00-\uDFFF]|\uD83D[\uDC00-\uDE4F\uDE80-\uDEFC\uDFE0-\uDFEB]|\uD83E[\uDD00-\uDDFF\uDE70-\uDED6])/;function z(e){return j.test(e)}const B=/^[\t\n\r\x20-\x7E]*$/;function F(e){return B.test(e)}const W=/[\u2028\u2029]/;function V(e){return W.test(e)}function H(e){for(let t=0,n=e.length;t<n;t++)if(U(e.charCodeAt(t)))return!0;return!1}function U(e){return(e=+e)>=11904&&e<=55215||e>=63744&&e<=64255||e>=65281&&e<=65374}function q(e){return e>=127462&&e<=127487||8986===e||8987===e||9200===e||9203===e||e>=9728&&e<=10175||11088===e||11093===e||e>=127744&&e<=128591||e>=128640&&e<=128764||e>=128992&&e<=129003||e>=129280&&e<=129535||e>=129648&&e<=129750}const Y=String.fromCharCode(65279);function G(e){return!!(e&&e.length>0&&65279===e.charCodeAt(0))}function X(e,t=!1){return!!e&&(t&&(e=e.replace(/\\./g,"")),e.toLowerCase()!==e)}function J(e){return(e%=52)<26?String.fromCharCode(97+e):String.fromCharCode(65+e-26)}function Q(e){return ee.getInstance().getGraphemeBreakType(e)}function $(e,t){return 0===e?5!==t&&7!==t:(2!==e||3!==t)&&(4===e||2===e||3===e||(4===t||2===t||3===t||(8!==e||8!==t&&9!==t&&11!==t&&12!==t)&&((11!==e&&9!==e||9!==t&&10!==t)&&((12!==e&&10!==e||10!==t)&&(5!==t&&13!==t&&(7!==t&&(1!==e&&((13!==e||14!==t)&&(6!==e||6!==t)))))))))}class ee{constructor(){this._data=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]")}static getInstance(){return ee._INSTANCE||(ee._INSTANCE=new ee),ee._INSTANCE}getGraphemeBreakType(e){if(e<32)return 10===e?3:13===e?2:4;if(e<127)return 0;const t=this._data,n=t.length/3;let r=1;for(;r<=n;)if(e<t[3*r])r*=2;else{if(!(e>t[3*r+1]))return t[3*r+2];r=2*r+1}return 0}}function te(e,t){if(0===e)return 0;const n=function(e,t){let n=P(t,e);e-=ne(n);for(;re(n)||65039===n||8419===n;){if(0===e)return;n=P(t,e),e-=ne(n)}if(!q(n))return;if(e>=0){const n=P(t,e);8205===n&&(e-=ne(n))}return e}(e,t);if(void 0!==n)return n;return e-=ne(P(t,e))}function ne(e){return e>=65536?2:1}function re(e){return 127995<=e&&e<=127999}ee._INSTANCE=null},72999:function(e,t,n){"use strict";function r(e){return Array.isArray(e)}function i(e){return"string"==typeof e}function o(e){return!("object"!=typeof e||null===e||Array.isArray(e)||e instanceof RegExp||e instanceof Date)}function a(e){return"number"==typeof e&&!isNaN(e)}function s(e){return!0===e||!1===e}function u(e){return void 0===e}function c(e){return!l(e)}function l(e){return u(e)||null===e}function d(e,t){if(!e)throw new Error(t?`Unexpected type, expected '${t}'`:"Unexpected type")}function p(e){if(l(e))throw new Error("Assertion Failed: argument is undefined or null");return e}function f(e){return"function"==typeof e}function h(e,t){const n=Math.min(e.length,t.length);for(let r=0;r<n;r++)_(e[r],t[r])}function _(e,t){if(i(t)){if(typeof e!==t)throw new Error(`argument does not match constraint: typeof ${t}`)}else if(f(t)){try{if(e instanceof t)return}catch(e){}if(!l(e)&&e.constructor===t)return;if(1===t.length&&!0===t.call(void 0,e))return;throw new Error("argument does not match one of these constraints: arg instanceof constraint, arg.constructor === constraint, nor constraint(arg) === true")}}function m(e){const t=[];for(const n of function(e){let t=[],n=Object.getPrototypeOf(e);for(;Object.prototype!==n;)t=t.concat(Object.getOwnPropertyNames(n)),n=Object.getPrototypeOf(n);return t}(e))"function"==typeof e[n]&&t.push(n);return t}function v(e,t){const n=e=>function(){const n=Array.prototype.slice.call(arguments,0);return t(e,n)};let r={};for(const t of e)r[t]=n(t);return r}function g(e){return null===e?void 0:e}function y(e,t="Unreachable"){throw new Error(t)}n.d(t,{$E:function(){return m},$K:function(){return c},D8:function(){return h},HD:function(){return i},IU:function(){return v},Jp:function(){return l},Kn:function(){return o},cW:function(){return p},f6:function(){return g},hj:function(){return a},jn:function(){return s},kJ:function(){return r},mf:function(){return f},o8:function(){return u},p_:function(){return d},vE:function(){return y}})},13268:function(e,t,n){"use strict";function r(e,t,...n){return function(e,t){let n;return n=0===t.length?e:e.replace(/\{(\d+)\}/g,(function(e,n){const r=n[0];return void 0!==t[r]?t[r]:e})),n}(t,n)}n.d(t,{N:function(){return r}})},96236:function(e,t,n){"use strict";n.d(t,{BH:function(){return g},NZ:function(){return y},U8:function(){return b},co:function(){return v},eH:function(){return m},vr:function(){return _}});var r=n(75918),i=n(52615),o=n(4348),a=n(88226),s=n(69323),u=n(34502),c=n(35884),l=n(90689),d=n(16925),p=n(49055),f=function(e,t,n,r){var i,o=arguments.length,a=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,n,a):i(t,n))||a);return o>3&&a&&Object.defineProperty(t,n,a),a},h=function(e,t){return function(n,r){t(n,r,e)}};function _(e){return void 0!==e.command}class m{constructor(e){this.id=m._idPool++,this._debugName=e}}m._idPool=0,m.CommandPalette=new m("CommandPalette"),m.EditorContext=new m("EditorContext"),m.SimpleEditorContext=new m("SimpleEditorContext"),m.EditorContextCopy=new m("EditorContextCopy"),m.EditorContextPeek=new m("EditorContextPeek"),m.MenubarEditMenu=new m("MenubarEditMenu"),m.MenubarCopy=new m("MenubarCopy"),m.MenubarGoMenu=new m("MenubarGoMenu"),m.MenubarSelectionMenu=new m("MenubarSelectionMenu"),m.InlineCompletionsActions=new m("InlineCompletionsActions");const v=(0,d.yh)("menuService"),g=new class{constructor(){this._commands=new Map,this._menuItems=new Map,this._onDidChangeMenu=new o.Q5,this.onDidChangeMenu=this._onDidChangeMenu.event,this._commandPaletteChangeEvent={has:e=>e===m.CommandPalette}}addCommand(e){return this.addCommands(a.$.single(e))}addCommands(e){for(const t of e)this._commands.set(t.id,t);return this._onDidChangeMenu.fire(this._commandPaletteChangeEvent),(0,s.OF)((()=>{let t=!1;for(const n of e)t=this._commands.delete(n.id)||t;t&&this._onDidChangeMenu.fire(this._commandPaletteChangeEvent)}))}getCommand(e){return this._commands.get(e)}getCommands(){const e=new Map;return this._commands.forEach(((t,n)=>e.set(n,t))),e}appendMenuItem(e,t){return this.appendMenuItems(a.$.single({id:e,item:t}))}appendMenuItems(e){const t=new Set,n=new u.S;for(const{id:r,item:i}of e){let e=this._menuItems.get(r);e||(e=new u.S,this._menuItems.set(r,e)),n.push(e.push(i)),t.add(r)}return this._onDidChangeMenu.fire(t),(0,s.OF)((()=>{if(n.size>0){for(let e of n)e();this._onDidChangeMenu.fire(t),n.clear()}}))}getMenuItems(e){let t;return t=this._menuItems.has(e)?[...this._menuItems.get(e)]:[],e===m.CommandPalette&&this._appendImplicitItems(t),t}_appendImplicitItems(e){const t=new Set;for(const n of e)_(n)&&(t.add(n.command.id),n.alt&&t.add(n.alt.id));this._commands.forEach(((n,r)=>{t.has(r)||e.push({command:n})}))}};class y extends r.wY{constructor(e,t,n,r){super(`submenuitem.${e.submenu.id}`,"string"==typeof e.title?e.title:e.title.value,[],"submenu"),this.item=e,this._menuService=t,this._contextKeyService=n,this._options=r}get actions(){const e=[],t=this._menuService.createMenu(this.item.submenu,this._contextKeyService),n=t.getActions(this._options);t.dispose();for(const[,t]of n)t.length>0&&(e.push(...t),e.push(new r.Z0));return e.length&&e.pop(),e}}let b=class e{constructor(t,n,r,o,a){var s,u;if(this._commandService=a,this.id=t.id,this.label=(null==r?void 0:r.renderShortTitle)&&t.shortTitle?"string"==typeof t.shortTitle?t.shortTitle:t.shortTitle.value:"string"==typeof t.title?t.title:t.title.value,this.tooltip=null!==(u="string"==typeof t.tooltip?t.tooltip:null===(s=t.tooltip)||void 0===s?void 0:s.value)&&void 0!==u?u:"",this.enabled=!t.precondition||o.contextMatchesRules(t.precondition),this.checked=void 0,t.toggled){const e=t.toggled.condition?t.toggled:{condition:t.toggled};this.checked=o.contextMatchesRules(e.condition),this.checked&&e.tooltip&&(this.tooltip="string"==typeof e.tooltip?e.tooltip:e.tooltip.value),e.title&&(this.label="string"==typeof e.title?e.title:e.title.value)}this.item=t,this.alt=n?new e(n,void 0,r,o,a):void 0,this._options=r,p.kS.isThemeIcon(t.icon)&&(this.class=i.dT.asClassName(t.icon))}dispose(){}run(...e){var t,n;let r=[];return(null===(t=this._options)||void 0===t?void 0:t.arg)&&(r=[...r,this._options.arg]),(null===(n=this._options)||void 0===n?void 0:n.shouldForwardArgs)&&(r=[...r,...e]),this._commandService.executeCommand(this.id,...r)}};b=f([h(3,l.i6),h(4,c.H)],b)},35884:function(e,t,n){"use strict";n.d(t,{H:function(){return u},P:function(){return c}});var r=n(4348),i=n(88226),o=n(69323),a=n(34502),s=n(72999);const u=(0,n(16925).yh)("commandService"),c=new class{constructor(){this._commands=new Map,this._onDidRegisterCommand=new r.Q5,this.onDidRegisterCommand=this._onDidRegisterCommand.event}registerCommand(e,t){if(!e)throw new Error("invalid command");if("string"==typeof e){if(!t)throw new Error("invalid command");return this.registerCommand({id:e,handler:t})}if(e.description){const t=[];for(let n of e.description.args)t.push(n.constraint);const n=e.handler;e.handler=function(e,...r){return(0,s.D8)(r,t),n(e,...r)}}const{id:n}=e;let r=this._commands.get(n);r||(r=new a.S,this._commands.set(n,r));let i=r.unshift(e),u=(0,o.OF)((()=>{i();const e=this._commands.get(n);(null==e?void 0:e.isEmpty())&&this._commands.delete(n)}));return this._onDidRegisterCommand.fire(n),u}registerCommandAlias(e,t){return c.registerCommand(e,((e,...n)=>e.get(u).executeCommand(t,...n)))}getCommand(e){const t=this._commands.get(e);if(t&&!t.isEmpty())return i.$.first(t)}getCommands(){const e=new Map;for(const t of this._commands.keys()){const n=this.getCommand(t);n&&e.set(t,n)}return e}};c.registerCommand("noop",(()=>{}))},90689:function(e,t,n){"use strict";n.d(t,{Ao:function(){return c},Eq:function(){return T},Fb:function(){return l},K8:function(){return I},i6:function(){return A},uy:function(){return O}});var r=n(23345),i=n(82983),o=n(16925);let a=r.WE||"";const s=new Map;s.set("false",!1),s.set("true",!0),s.set("isMac",r.dz),s.set("isLinux",r.IJ),s.set("isWindows",r.ED),s.set("isWeb",r.$L),s.set("isMacNative",r.dz&&!r.$L),s.set("isEdge",a.indexOf("Edg/")>=0),s.set("isFirefox",a.indexOf("Firefox")>=0),s.set("isChrome",a.indexOf("Chrome")>=0),s.set("isSafari",a.indexOf("Safari")>=0);const u=Object.prototype.hasOwnProperty;class c{static has(e){return h.create(e)}static equals(e,t){return _.create(e,t)}static regex(e,t){return E.create(e,t)}static not(e){return y.create(e)}static and(...e){return S.create(e,null)}static or(...e){return R.create(e,null,!0)}static deserialize(e,t=!1){if(e)return this._deserializeOrExpression(e,t)}static _deserializeOrExpression(e,t){let n=e.split("||");return R.create(n.map((e=>this._deserializeAndExpression(e,t))),null,!0)}static _deserializeAndExpression(e,t){let n=e.split("&&");return S.create(n.map((e=>this._deserializeOne(e,t))),null)}static _deserializeOne(e,t){if((e=e.trim()).indexOf("!=")>=0){let n=e.split("!=");return g.create(n[0].trim(),this._deserializeValue(n[1],t))}if(e.indexOf("==")>=0){let n=e.split("==");return _.create(n[0].trim(),this._deserializeValue(n[1],t))}if(e.indexOf("=~")>=0){let n=e.split("=~");return E.create(n[0].trim(),this._deserializeRegexValue(n[1],t))}if(e.indexOf(" in ")>=0){let t=e.split(" in ");return m.create(t[0].trim(),t[1].trim())}if(/^[^<=>]+>=[^<=>]+$/.test(e)){const t=e.split(">=");return x.create(t[0].trim(),t[1].trim())}if(/^[^<=>]+>[^<=>]+$/.test(e)){const t=e.split(">");return w.create(t[0].trim(),t[1].trim())}if(/^[^<=>]+<=[^<=>]+$/.test(e)){const t=e.split("<=");return k.create(t[0].trim(),t[1].trim())}if(/^[^<=>]+<[^<=>]+$/.test(e)){const t=e.split("<");return C.create(t[0].trim(),t[1].trim())}return/^\!\s*/.test(e)?y.create(e.substr(1).trim()):h.create(e)}static _deserializeValue(e,t){if("true"===(e=e.trim()))return!0;if("false"===e)return!1;let n=/^'([^']*)'$/.exec(e);return n?n[1].trim():e}static _deserializeRegexValue(e,t){if((0,i.m5)(e)){if(t)throw new Error("missing regexp-value for =~-expression");return console.warn("missing regexp-value for =~-expression"),null}let n=e.indexOf("/"),r=e.lastIndexOf("/");if(n===r||n<0){if(t)throw new Error(`bad regexp-value '${e}', missing /-enclosure`);return console.warn(`bad regexp-value '${e}', missing /-enclosure`),null}let o=e.slice(n+1,r),a="i"===e[r+1]?"i":"";try{return new RegExp(o,a)}catch(n){if(t)throw new Error(`bad regexp-value '${e}', parse error: ${n}`);return console.warn(`bad regexp-value '${e}', parse error: ${n}`),null}}}function l(e,t){const n=e?e.substituteConstants():void 0,r=t?t.substituteConstants():void 0;return!n&&!r||!(!n||!r)&&n.equals(r)}function d(e,t){return e.cmp(t)}class p{constructor(){this.type=0}cmp(e){return this.type-e.type}equals(e){return e.type===this.type}substituteConstants(){return this}evaluate(e){return!1}serialize(){return"false"}keys(){return[]}negate(){return f.INSTANCE}}p.INSTANCE=new p;class f{constructor(){this.type=1}cmp(e){return this.type-e.type}equals(e){return e.type===this.type}substituteConstants(){return this}evaluate(e){return!0}serialize(){return"true"}keys(){return[]}negate(){return p.INSTANCE}}f.INSTANCE=new f;class h{constructor(e,t){this.key=e,this.negated=t,this.type=2}static create(e,t=null){const n=s.get(e);return"boolean"==typeof n?n?f.INSTANCE:p.INSTANCE:new h(e,t)}cmp(e){return e.type!==this.type?this.type-e.type:D(this.key,e.key)}equals(e){return e.type===this.type&&this.key===e.key}substituteConstants(){const e=s.get(this.key);return"boolean"==typeof e?e?f.INSTANCE:p.INSTANCE:this}evaluate(e){return!!e.getValue(this.key)}serialize(){return this.key}keys(){return[this.key]}negate(){return this.negated||(this.negated=y.create(this.key,this)),this.negated}}class _{constructor(e,t,n){this.key=e,this.value=t,this.negated=n,this.type=4}static create(e,t,n=null){if("boolean"==typeof t)return t?h.create(e,n):y.create(e,n);const r=s.get(e);if("boolean"==typeof r){return t===(r?"true":"false")?f.INSTANCE:p.INSTANCE}return new _(e,t,n)}cmp(e){return e.type!==this.type?this.type-e.type:P(this.key,this.value,e.key,e.value)}equals(e){return e.type===this.type&&(this.key===e.key&&this.value===e.value)}substituteConstants(){const e=s.get(this.key);if("boolean"==typeof e){const t=e?"true":"false";return this.value===t?f.INSTANCE:p.INSTANCE}return this}evaluate(e){return e.getValue(this.key)==this.value}serialize(){return`${this.key} == '${this.value}'`}keys(){return[this.key]}negate(){return this.negated||(this.negated=g.create(this.key,this.value,this)),this.negated}}class m{constructor(e,t){this.key=e,this.valueKey=t,this.type=10,this.negated=null}static create(e,t){return new m(e,t)}cmp(e){return e.type!==this.type?this.type-e.type:P(this.key,this.valueKey,e.key,e.valueKey)}equals(e){return e.type===this.type&&(this.key===e.key&&this.valueKey===e.valueKey)}substituteConstants(){return this}evaluate(e){const t=e.getValue(this.valueKey),n=e.getValue(this.key);return Array.isArray(t)?t.indexOf(n)>=0:"string"==typeof n&&"object"==typeof t&&null!==t&&u.call(t,n)}serialize(){return`${this.key} in '${this.valueKey}'`}keys(){return[this.key,this.valueKey]}negate(){return this.negated||(this.negated=v.create(this)),this.negated}}class v{constructor(e){this._actual=e,this.type=11}static create(e){return new v(e)}cmp(e){return e.type!==this.type?this.type-e.type:this._actual.cmp(e._actual)}equals(e){return e.type===this.type&&this._actual.equals(e._actual)}substituteConstants(){return this}evaluate(e){return!this._actual.evaluate(e)}serialize(){throw new Error("Method not implemented.")}keys(){return this._actual.keys()}negate(){return this._actual}}class g{constructor(e,t,n){this.key=e,this.value=t,this.negated=n,this.type=5}static create(e,t,n=null){if("boolean"==typeof t)return t?y.create(e,n):h.create(e,n);const r=s.get(e);if("boolean"==typeof r){return t===(r?"true":"false")?p.INSTANCE:f.INSTANCE}return new g(e,t,n)}cmp(e){return e.type!==this.type?this.type-e.type:P(this.key,this.value,e.key,e.value)}equals(e){return e.type===this.type&&(this.key===e.key&&this.value===e.value)}substituteConstants(){const e=s.get(this.key);if("boolean"==typeof e){const t=e?"true":"false";return this.value===t?p.INSTANCE:f.INSTANCE}return this}evaluate(e){return e.getValue(this.key)!=this.value}serialize(){return`${this.key} != '${this.value}'`}keys(){return[this.key]}negate(){return this.negated||(this.negated=_.create(this.key,this.value,this)),this.negated}}class y{constructor(e,t){this.key=e,this.negated=t,this.type=3}static create(e,t=null){const n=s.get(e);return"boolean"==typeof n?n?p.INSTANCE:f.INSTANCE:new y(e,t)}cmp(e){return e.type!==this.type?this.type-e.type:D(this.key,e.key)}equals(e){return e.type===this.type&&this.key===e.key}substituteConstants(){const e=s.get(this.key);return"boolean"==typeof e?e?p.INSTANCE:f.INSTANCE:this}evaluate(e){return!e.getValue(this.key)}serialize(){return`!${this.key}`}keys(){return[this.key]}negate(){return this.negated||(this.negated=h.create(this.key,this)),this.negated}}function b(e,t){if("string"==typeof e){const t=parseFloat(e);isNaN(t)||(e=t)}return"string"==typeof e||"number"==typeof e?t(e):p.INSTANCE}class w{constructor(e,t,n){this.key=e,this.value=t,this.negated=n,this.type=12}static create(e,t,n=null){return b(t,(t=>new w(e,t,n)))}cmp(e){return e.type!==this.type?this.type-e.type:P(this.key,this.value,e.key,e.value)}equals(e){return e.type===this.type&&(this.key===e.key&&this.value===e.value)}substituteConstants(){return this}evaluate(e){return"string"!=typeof this.value&&parseFloat(e.getValue(this.key))>this.value}serialize(){return`${this.key} > ${this.value}`}keys(){return[this.key]}negate(){return this.negated||(this.negated=k.create(this.key,this.value,this)),this.negated}}class x{constructor(e,t,n){this.key=e,this.value=t,this.negated=n,this.type=13}static create(e,t,n=null){return b(t,(t=>new x(e,t,n)))}cmp(e){return e.type!==this.type?this.type-e.type:P(this.key,this.value,e.key,e.value)}equals(e){return e.type===this.type&&(this.key===e.key&&this.value===e.value)}substituteConstants(){return this}evaluate(e){return"string"!=typeof this.value&&parseFloat(e.getValue(this.key))>=this.value}serialize(){return`${this.key} >= ${this.value}`}keys(){return[this.key]}negate(){return this.negated||(this.negated=C.create(this.key,this.value,this)),this.negated}}class C{constructor(e,t,n){this.key=e,this.value=t,this.negated=n,this.type=14}static create(e,t,n=null){return b(t,(t=>new C(e,t,n)))}cmp(e){return e.type!==this.type?this.type-e.type:P(this.key,this.value,e.key,e.value)}equals(e){return e.type===this.type&&(this.key===e.key&&this.value===e.value)}substituteConstants(){return this}evaluate(e){return"string"!=typeof this.value&&parseFloat(e.getValue(this.key))<this.value}serialize(){return`${this.key} < ${this.value}`}keys(){return[this.key]}negate(){return this.negated||(this.negated=x.create(this.key,this.value,this)),this.negated}}class k{constructor(e,t,n){this.key=e,this.value=t,this.negated=n,this.type=15}static create(e,t,n=null){return b(t,(t=>new k(e,t,n)))}cmp(e){return e.type!==this.type?this.type-e.type:P(this.key,this.value,e.key,e.value)}equals(e){return e.type===this.type&&(this.key===e.key&&this.value===e.value)}substituteConstants(){return this}evaluate(e){return"string"!=typeof this.value&&parseFloat(e.getValue(this.key))<=this.value}serialize(){return`${this.key} <= ${this.value}`}keys(){return[this.key]}negate(){return this.negated||(this.negated=w.create(this.key,this.value,this)),this.negated}}class E{constructor(e,t){this.key=e,this.regexp=t,this.type=7,this.negated=null}static create(e,t){return new E(e,t)}cmp(e){if(e.type!==this.type)return this.type-e.type;if(this.key<e.key)return-1;if(this.key>e.key)return 1;const t=this.regexp?this.regexp.source:"",n=e.regexp?e.regexp.source:"";return t<n?-1:t>n?1:0}equals(e){if(e.type===this.type){const t=this.regexp?this.regexp.source:"",n=e.regexp?e.regexp.source:"";return this.key===e.key&&t===n}return!1}substituteConstants(){return this}evaluate(e){let t=e.getValue(this.key);return!!this.regexp&&this.regexp.test(t)}serialize(){const e=this.regexp?`/${this.regexp.source}/${this.regexp.ignoreCase?"i":""}`:"/invalid/";return`${this.key} =~ ${e}`}keys(){return[this.key]}negate(){return this.negated||(this.negated=N.create(this)),this.negated}}class N{constructor(e){this._actual=e,this.type=8}static create(e){return new N(e)}cmp(e){return e.type!==this.type?this.type-e.type:this._actual.cmp(e._actual)}equals(e){return e.type===this.type&&this._actual.equals(e._actual)}substituteConstants(){return this}evaluate(e){return!this._actual.evaluate(e)}serialize(){throw new Error("Method not implemented.")}keys(){return this._actual.keys()}negate(){return this._actual}}function Z(e){let t=null;for(let n=0,r=e.length;n<r;n++){const r=e[n].substituteConstants();if(e[n]!==r&&null===t){t=[];for(let r=0;r<n;r++)t[r]=e[r]}null!==t&&(t[n]=r)}return null===t?e:t}class S{constructor(e,t){this.expr=e,this.negated=t,this.type=6}static create(e,t){return S._normalizeArr(e,t)}cmp(e){if(e.type!==this.type)return this.type-e.type;if(this.expr.length<e.expr.length)return-1;if(this.expr.length>e.expr.length)return 1;for(let t=0,n=this.expr.length;t<n;t++){const n=d(this.expr[t],e.expr[t]);if(0!==n)return n}return 0}equals(e){if(e.type===this.type){if(this.expr.length!==e.expr.length)return!1;for(let t=0,n=this.expr.length;t<n;t++)if(!this.expr[t].equals(e.expr[t]))return!1;return!0}return!1}substituteConstants(){const e=Z(this.expr);return e===this.expr?this:S.create(e,this.negated)}evaluate(e){for(let t=0,n=this.expr.length;t<n;t++)if(!this.expr[t].evaluate(e))return!1;return!0}static _normalizeArr(e,t){const n=[];let r=!1;for(const t of e)if(t)if(1!==t.type){if(0===t.type)return p.INSTANCE;6!==t.type?n.push(t):n.push(...t.expr)}else r=!0;if(0===n.length&&r)return f.INSTANCE;if(0!==n.length){if(1===n.length)return n[0];n.sort(d);for(let e=1;e<n.length;e++)n[e-1].equals(n[e])&&(n.splice(e,1),e--);if(1===n.length)return n[0];for(;n.length>1;){const e=n[n.length-1];if(9!==e.type)break;n.pop();const t=n.pop(),r=0===n.length,i=R.create(e.expr.map((e=>S.create([e,t],null))),null,r);i&&(n.push(i),n.sort(d))}return 1===n.length?n[0]:new S(n,t)}}serialize(){return this.expr.map((e=>e.serialize())).join(" && ")}keys(){const e=[];for(let t of this.expr)e.push(...t.keys());return e}negate(){if(!this.negated){const e=[];for(let t of this.expr)e.push(t.negate());this.negated=R.create(e,this,!0)}return this.negated}}class R{constructor(e,t){this.expr=e,this.negated=t,this.type=9}static create(e,t,n){return R._normalizeArr(e,t,n)}cmp(e){if(e.type!==this.type)return this.type-e.type;if(this.expr.length<e.expr.length)return-1;if(this.expr.length>e.expr.length)return 1;for(let t=0,n=this.expr.length;t<n;t++){const n=d(this.expr[t],e.expr[t]);if(0!==n)return n}return 0}equals(e){if(e.type===this.type){if(this.expr.length!==e.expr.length)return!1;for(let t=0,n=this.expr.length;t<n;t++)if(!this.expr[t].equals(e.expr[t]))return!1;return!0}return!1}substituteConstants(){const e=Z(this.expr);return e===this.expr?this:R.create(e,this.negated,!1)}evaluate(e){for(let t=0,n=this.expr.length;t<n;t++)if(this.expr[t].evaluate(e))return!0;return!1}static _normalizeArr(e,t,n){let r=[],i=!1;if(e){for(let t=0,n=e.length;t<n;t++){const n=e[t];if(n)if(0!==n.type){if(1===n.type)return f.INSTANCE;9!==n.type?r.push(n):r=r.concat(n.expr)}else i=!0}if(0===r.length&&i)return p.INSTANCE;r.sort(d)}if(0!==r.length){if(1===r.length)return r[0];for(let e=1;e<r.length;e++)r[e-1].equals(r[e])&&(r.splice(e,1),e--);if(1===r.length)return r[0];if(n){for(let e=0;e<r.length;e++)for(let t=e+1;t<r.length;t++)I(r[e],r[t])&&(r.splice(t,1),t--);if(1===r.length)return r[0]}return new R(r,t)}}serialize(){return this.expr.map((e=>e.serialize())).join(" || ")}keys(){const e=[];for(let t of this.expr)e.push(...t.keys());return e}negate(){if(!this.negated){let e=[];for(let t of this.expr)e.push(t.negate());for(;e.length>1;){const t=e.shift(),n=e.shift(),r=[];for(const e of M(t))for(const t of M(n))r.push(S.create([e,t],null));const i=0===e.length;e.unshift(R.create(r,null,i))}this.negated=e[0]}return this.negated}}class O extends h{constructor(e,t,n){super(e,null),this._defaultValue=t,"object"==typeof n?O._info.push(Object.assign(Object.assign({},n),{key:e})):!0!==n&&O._info.push({key:e,description:n,type:null!=t?typeof t:void 0})}static all(){return O._info.values()}bindTo(e){return e.createKey(this.key,this._defaultValue)}getValue(e){return e.getContextKeyValue(this.key)}toNegated(){return this.negate()}isEqualTo(e){return _.create(this.key,e)}}O._info=[];const A=(0,o.yh)("contextKeyService"),T="setContext";function D(e,t){return e<t?-1:e>t?1:0}function P(e,t,n,r){return e<n?-1:e>n?1:t<r?-1:t>r?1:0}function I(e,t){if(6===t.type&&9!==e.type&&6!==e.type)for(const n of t.expr)if(e.equals(n))return!0;const n=M(e.negate()).concat(M(t));n.sort(d);for(let e=0;e<n.length;e++){const t=n[e].negate();for(let r=e+1;r<n.length;r++){const e=n[r];if(t.equals(e))return!0}}return!1}function M(e){return 9===e.type?e.expr:[e]}},16925:function(e,t,n){"use strict";var r;n.d(t,{I8:function(){return r},TG:function(){return i},jt:function(){return s},yh:function(){return a}}),function(e){e.serviceIds=new Map,e.DI_TARGET="$di$target",e.DI_DEPENDENCIES="$di$dependencies",e.getServiceDependencies=function(t){return t[e.DI_DEPENDENCIES]||[]}}(r||(r={}));const i=a("instantiationService");function o(e,t,n,i){t[r.DI_TARGET]===t?t[r.DI_DEPENDENCIES].push({id:e,index:n,optional:i}):(t[r.DI_DEPENDENCIES]=[{id:e,index:n,optional:i}],t[r.DI_TARGET]=t)}function a(e){if(r.serviceIds.has(e))return r.serviceIds.get(e);const t=function(e,n,r){if(3!==arguments.length)throw new Error("@IServiceName-decorator can only be used to decorate a parameter");o(t,e,r,!1)};return t.toString=()=>e,r.serviceIds.set(e,t),t}function s(e){return function(t,n,r){if(3!==arguments.length)throw new Error("@optional-decorator can only be used to decorate a parameter");o(e,t,r,!0)}}},44650:function(e,t,n){"use strict";n.d(t,{B:function(){return o}});var r=n(76068),i=n(72999);const o=new class{constructor(){this.data=new Map}add(e,t){r.ok(i.HD(e)),r.ok(i.Kn(t)),r.ok(!this.data.has(e),"There is already an extension with this id"),this.data.set(e,t)}as(e){return this.data.get(e)||null}}},66213:function(e,t,n){"use strict";var r;n.d(t,{e:function(){return r}}),function(e){e.DARK="dark",e.LIGHT="light",e.HIGH_CONTRAST="hc"}(r||(r={}))},49055:function(e,t,n){"use strict";n.d(t,{EN:function(){return p},IP:function(){return h},Ic:function(){return m},XE:function(){return c},bB:function(){return v},kS:function(){return d},m6:function(){return f}});var r=n(52615),i=n(4348),o=n(69323),a=n(16925),s=n(44650),u=n(66213);const c=(0,a.yh)("themeService");var l,d;function p(e){return{id:e}}function f(e){switch(e){case u.e.DARK:return"vs-dark";case u.e.HIGH_CONTRAST:return"hc-black";default:return"vs"}}!function(e){e.isThemeColor=function(e){return e&&"object"==typeof e&&"string"==typeof e.id}}(l||(l={})),function(e){e.isThemeIcon=function(e){return e&&"object"==typeof e&&"string"==typeof e.id&&(void 0===e.color||l.isThemeColor(e.color))};const t=new RegExp(`^\\$\\((${r.dT.iconNameExpression}(?:${r.dT.iconModifierExpression})?)\\)$`);e.fromString=function(e){const n=t.exec(e);if(!n)return;let[,r]=n;return{id:r}},e.modify=function(e,t){let n=e.id;const r=n.lastIndexOf("~");return-1!==r&&(n=n.substring(0,r)),t&&(n=`${n}~${t}`),{id:n}},e.isEqual=function(e,t){var n,r;return e.id===t.id&&(null===(n=e.color)||void 0===n?void 0:n.id)===(null===(r=t.color)||void 0===r?void 0:r.id)},e.asThemeIcon=function(e,t){return{id:e.id,color:t?p(t):void 0}},e.asClassNameArray=r.dT.asClassNameArray,e.asClassName=r.dT.asClassName,e.asCSSSelector=r.dT.asCSSSelector}(d||(d={}));const h={ThemingContribution:"base.contributions.theming"};let _=new class{constructor(){this.themingParticipants=[],this.themingParticipants=[],this.onThemingParticipantAddedEmitter=new i.Q5}onColorThemeChange(e){return this.themingParticipants.push(e),this.onThemingParticipantAddedEmitter.fire(e),(0,o.OF)((()=>{const t=this.themingParticipants.indexOf(e);this.themingParticipants.splice(t,1)}))}getThemingParticipants(){return this.themingParticipants}};function m(e){return _.onColorThemeChange(e)}s.B.add(h.ThemingContribution,_);class v extends o.JT{constructor(e){super(),this.themeService=e,this.theme=e.getColorTheme(),this._register(this.themeService.onDidColorThemeChange((e=>this.onThemeChange(e))))}onThemeChange(e){this.theme=e,this.updateStyles()}updateStyles(){}}},16632:function(e,t,n){"use strict";var r=n(54476),i=n(33885),o=n(20068),a=n(42978),s=n(75931),u=n(92310),c=n.n(u),l=n(18929),d=n(59301),p=["prefixCls","className","style","checked","disabled","defaultChecked","type","title","onChange"],f=(0,d.forwardRef)((function(e,t){var n=e.prefixCls,u=void 0===n?"rc-checkbox":n,f=e.className,h=e.style,_=e.checked,m=e.disabled,v=e.defaultChecked,g=void 0!==v&&v,y=e.type,b=void 0===y?"checkbox":y,w=e.title,x=e.onChange,C=(0,s.Z)(e,p),k=(0,d.useRef)(null),E=(0,d.useRef)(null),N=(0,l.Z)(g,{value:_}),Z=(0,a.Z)(N,2),S=Z[0],R=Z[1];(0,d.useImperativeHandle)(t,(function(){return{focus:function(e){var t;null===(t=k.current)||void 0===t||t.focus(e)},blur:function(){var e;null===(e=k.current)||void 0===e||e.blur()},input:k.current,nativeElement:E.current}}));var O=c()(u,f,(0,o.Z)((0,o.Z)({},"".concat(u,"-checked"),S),"".concat(u,"-disabled"),m));return d.createElement("span",{className:O,title:w,style:h,ref:E},d.createElement("input",(0,r.Z)({},C,{className:"".concat(u,"-input"),ref:k,onChange:function(t){m||("checked"in e||R(t.target.checked),null==x||x({target:(0,i.Z)((0,i.Z)({},e),{},{type:b,checked:t.target.checked}),stopPropagation:function(){t.stopPropagation()},preventDefault:function(){t.preventDefault()},nativeEvent:t.nativeEvent}))},disabled:m,checked:!!S,type:b})),d.createElement("span",{className:"".concat(u,"-inner")}))}));t.Z=f},96478:function(e,t,n){"use strict";n.d(t,{Z:function(){return x}});var r=n(54476),i=n(20068),o=n(42978),a=n(75931),s=n(65030),u=n(92310),c=n.n(u),l=n(8654),d=n(59301),p=n(10228),f=n(16089),h=p.Z.ESC,_=p.Z.TAB;var m=(0,d.forwardRef)((function(e,t){var n=e.overlay,r=e.arrow,i=e.prefixCls,o=(0,d.useMemo)((function(){return"function"==typeof n?n():n}),[n]),a=(0,l.sQ)(t,(0,l.C4)(o));return d.createElement(d.Fragment,null,r&&d.createElement("div",{className:"".concat(i,"-arrow")}),d.cloneElement(o,{ref:(0,l.Yr)(o)?a:void 0}))})),v={adjustX:1,adjustY:1},g=[0,0],y={topLeft:{points:["bl","tl"],overflow:v,offset:[0,-4],targetOffset:g},top:{points:["bc","tc"],overflow:v,offset:[0,-4],targetOffset:g},topRight:{points:["br","tr"],overflow:v,offset:[0,-4],targetOffset:g},bottomLeft:{points:["tl","bl"],overflow:v,offset:[0,4],targetOffset:g},bottom:{points:["tc","bc"],overflow:v,offset:[0,4],targetOffset:g},bottomRight:{points:["tr","br"],overflow:v,offset:[0,4],targetOffset:g}},b=["arrow","prefixCls","transitionName","animation","align","placement","placements","getPopupContainer","showAction","hideAction","overlayClassName","overlayStyle","visible","trigger","autoFocus","overlay","children","onVisibleChange"];function w(e,t){var n,u=e.arrow,p=void 0!==u&&u,v=e.prefixCls,g=void 0===v?"rc-dropdown":v,w=e.transitionName,x=e.animation,C=e.align,k=e.placement,E=void 0===k?"bottomLeft":k,N=e.placements,Z=void 0===N?y:N,S=e.getPopupContainer,R=e.showAction,O=e.hideAction,A=e.overlayClassName,T=e.overlayStyle,D=e.visible,P=e.trigger,I=void 0===P?["hover"]:P,M=e.autoFocus,L=e.overlay,K=e.children,j=e.onVisibleChange,z=(0,a.Z)(e,b),B=d.useState(),F=(0,o.Z)(B,2),W=F[0],V=F[1],H="visible"in e?D:W,U=d.useRef(null),q=d.useRef(null),Y=d.useRef(null);d.useImperativeHandle(t,(function(){return U.current}));var G=function(e){V(e),null==j||j(e)};!function(e){var t=e.visible,n=e.triggerRef,r=e.onVisibleChange,i=e.autoFocus,o=e.overlayRef,a=d.useRef(!1),s=function(){var e,i;t&&(null===(e=n.current)||void 0===e||null===(i=e.focus)||void 0===i||i.call(e),null==r||r(!1))},u=function(){var e;return!(null===(e=o.current)||void 0===e||!e.focus||(o.current.focus(),a.current=!0,0))},c=function(e){switch(e.keyCode){case h:s();break;case _:var t=!1;a.current||(t=u()),t?e.preventDefault():s()}};d.useEffect((function(){return t?(window.addEventListener("keydown",c),i&&(0,f.Z)(u,3),function(){window.removeEventListener("keydown",c),a.current=!1}):function(){a.current=!1}}),[t])}({visible:H,triggerRef:Y,onVisibleChange:G,autoFocus:M,overlayRef:q});var X,J,Q,$=function(){return d.createElement(m,{ref:q,overlay:L,prefixCls:g,arrow:p})},ee=d.cloneElement(K,{className:c()(null===(n=K.props)||void 0===n?void 0:n.className,H&&(X=e.openClassName,void 0!==X?X:"".concat(g,"-open"))),ref:(0,l.Yr)(K)?(0,l.sQ)(Y,(0,l.C4)(K)):void 0}),te=O;return te||-1===I.indexOf("contextMenu")||(te=["click"]),d.createElement(s.Z,(0,r.Z)({builtinPlacements:Z},z,{prefixCls:g,ref:U,popupClassName:c()(A,(0,i.Z)({},"".concat(g,"-show-arrow"),p)),popupStyle:T,action:I,showAction:R,hideAction:te,popupPlacement:E,popupAlign:C,popupTransitionName:w,popupAnimation:x,popupVisible:H,stretch:(J=e.minOverlayWidthMatchTrigger,Q=e.alignPoint,("minOverlayWidthMatchTrigger"in e?J:!Q)?"minWidth":""),popup:"function"==typeof L?$:$(),onPopupVisibleChange:G,onPopupClick:function(t){var n=e.onOverlayClick;V(!1),n&&n(t)},getPopupContainer:S}),ee)}var x=d.forwardRef(w)},66003:function(e,t,n){"use strict";n.d(t,{Z:function(){return u}});var r=n(75931),i=n(33885),o=n(76190),a=n(59301),s=["show"];function u(e,t){return a.useMemo((function(){var n={};t&&(n.show="object"===(0,o.Z)(t)&&t.formatter?t.formatter:!!t);var a=n=(0,i.Z)((0,i.Z)({},n),e),u=a.show,c=(0,r.Z)(a,s);return(0,i.Z)((0,i.Z)({},c),{},{show:!!u,showFormatter:"function"==typeof u?u:void 0,strategy:c.strategy||function(e){return e.length}})}),[e,t])}},36901:function(e,t,n){"use strict";n.r(t),n.d(t,{BaseInput:function(){return d},default:function(){return y}});var r=n(33885),i=n(54476),o=n(20068),a=n(76190),s=n(92310),u=n.n(s),c=n(59301),l=n(30292),d=c.forwardRef((function(e,t){var n,s,d,p=e.inputElement,f=e.children,h=e.prefixCls,_=e.prefix,m=e.suffix,v=e.addonBefore,g=e.addonAfter,y=e.className,b=e.style,w=e.disabled,x=e.readOnly,C=e.focused,k=e.triggerFocus,E=e.allowClear,N=e.value,Z=e.handleReset,S=e.hidden,R=e.classes,O=e.classNames,A=e.dataAttrs,T=e.styles,D=e.components,P=e.onClear,I=null!=f?f:p,M=(null==D?void 0:D.affixWrapper)||"span",L=(null==D?void 0:D.groupWrapper)||"span",K=(null==D?void 0:D.wrapper)||"span",j=(null==D?void 0:D.groupAddon)||"span",z=(0,c.useRef)(null),B=(0,l.X3)(e),F=(0,c.cloneElement)(I,{value:N,className:u()(null===(n=I.props)||void 0===n?void 0:n.className,!B&&(null==O?void 0:O.variant))||null}),W=(0,c.useRef)(null);if(c.useImperativeHandle(t,(function(){return{nativeElement:W.current||z.current}})),B){var V=null;if(E){var H=!w&&!x&&N,U="".concat(h,"-clear-icon"),q="object"===(0,a.Z)(E)&&null!=E&&E.clearIcon?E.clearIcon:"✖";V=c.createElement("button",{type:"button",tabIndex:-1,onClick:function(e){null==Z||Z(e),null==P||P()},onMouseDown:function(e){return e.preventDefault()},className:u()(U,(0,o.Z)((0,o.Z)({},"".concat(U,"-hidden"),!H),"".concat(U,"-has-suffix"),!!m))},q)}var Y="".concat(h,"-affix-wrapper"),G=u()(Y,(0,o.Z)((0,o.Z)((0,o.Z)((0,o.Z)((0,o.Z)({},"".concat(h,"-disabled"),w),"".concat(Y,"-disabled"),w),"".concat(Y,"-focused"),C),"".concat(Y,"-readonly"),x),"".concat(Y,"-input-with-clear-btn"),m&&E&&N),null==R?void 0:R.affixWrapper,null==O?void 0:O.affixWrapper,null==O?void 0:O.variant),X=(m||E)&&c.createElement("span",{className:u()("".concat(h,"-suffix"),null==O?void 0:O.suffix),style:null==T?void 0:T.suffix},V,m);F=c.createElement(M,(0,i.Z)({className:G,style:null==T?void 0:T.affixWrapper,onClick:function(e){var t;null!==(t=z.current)&&void 0!==t&&t.contains(e.target)&&(null==k||k())}},null==A?void 0:A.affixWrapper,{ref:z}),_&&c.createElement("span",{className:u()("".concat(h,"-prefix"),null==O?void 0:O.prefix),style:null==T?void 0:T.prefix},_),F,X)}if((0,l.He)(e)){var J="".concat(h,"-group"),Q="".concat(J,"-addon"),$="".concat(J,"-wrapper"),ee=u()("".concat(h,"-wrapper"),J,null==R?void 0:R.wrapper,null==O?void 0:O.wrapper),te=u()($,(0,o.Z)({},"".concat($,"-disabled"),w),null==R?void 0:R.group,null==O?void 0:O.groupWrapper);F=c.createElement(L,{className:te,ref:W},c.createElement(K,{className:ee},v&&c.createElement(j,{className:Q},v),F,g&&c.createElement(j,{className:Q},g)))}return c.cloneElement(F,{className:u()(null===(s=F.props)||void 0===s?void 0:s.className,y)||null,style:(0,r.Z)((0,r.Z)({},null===(d=F.props)||void 0===d?void 0:d.style),b),hidden:S})})),p=n(94480),f=n(42978),h=n(75931),_=n(18929),m=n(2738),v=n(66003),g=["autoComplete","onChange","onFocus","onBlur","onPressEnter","onKeyDown","onKeyUp","prefixCls","disabled","htmlSize","className","maxLength","suffix","showCount","count","type","classes","classNames","styles","onCompositionStart","onCompositionEnd"],y=(0,c.forwardRef)((function(e,t){var n=e.autoComplete,a=e.onChange,s=e.onFocus,y=e.onBlur,b=e.onPressEnter,w=e.onKeyDown,x=e.onKeyUp,C=e.prefixCls,k=void 0===C?"rc-input":C,E=e.disabled,N=e.htmlSize,Z=e.className,S=e.maxLength,R=e.suffix,O=e.showCount,A=e.count,T=e.type,D=void 0===T?"text":T,P=e.classes,I=e.classNames,M=e.styles,L=e.onCompositionStart,K=e.onCompositionEnd,j=(0,h.Z)(e,g),z=(0,c.useState)(!1),B=(0,f.Z)(z,2),F=B[0],W=B[1],V=(0,c.useRef)(!1),H=(0,c.useRef)(!1),U=(0,c.useRef)(null),q=(0,c.useRef)(null),Y=function(e){U.current&&(0,l.nH)(U.current,e)},G=(0,_.Z)(e.defaultValue,{value:e.value}),X=(0,f.Z)(G,2),J=X[0],Q=X[1],$=null==J?"":String(J),ee=(0,c.useState)(null),te=(0,f.Z)(ee,2),ne=te[0],re=te[1],ie=(0,v.Z)(A,O),oe=ie.max||S,ae=ie.strategy($),se=!!oe&&ae>oe;(0,c.useImperativeHandle)(t,(function(){var e;return{focus:Y,blur:function(){var e;null===(e=U.current)||void 0===e||e.blur()},setSelectionRange:function(e,t,n){var r;null===(r=U.current)||void 0===r||r.setSelectionRange(e,t,n)},select:function(){var e;null===(e=U.current)||void 0===e||e.select()},input:U.current,nativeElement:(null===(e=q.current)||void 0===e?void 0:e.nativeElement)||U.current}})),(0,c.useEffect)((function(){H.current&&(H.current=!1),W((function(e){return(!e||!E)&&e}))}),[E]);var ue=function(e,t,n){var r,i,o=t;if(!V.current&&ie.exceedFormatter&&ie.max&&ie.strategy(t)>ie.max)t!==(o=ie.exceedFormatter(t,{max:ie.max}))&&re([(null===(r=U.current)||void 0===r?void 0:r.selectionStart)||0,(null===(i=U.current)||void 0===i?void 0:i.selectionEnd)||0]);else if("compositionEnd"===n.source)return;Q(o),U.current&&(0,l.rJ)(U.current,e,a,o)};(0,c.useEffect)((function(){var e;ne&&(null===(e=U.current)||void 0===e||e.setSelectionRange.apply(e,(0,p.Z)(ne)))}),[ne]);var ce,le=function(e){ue(e,e.target.value,{source:"change"})},de=function(e){V.current=!1,ue(e,e.currentTarget.value,{source:"compositionEnd"}),null==K||K(e)},pe=function(e){b&&"Enter"===e.key&&!H.current&&(H.current=!0,b(e)),null==w||w(e)},fe=function(e){"Enter"===e.key&&(H.current=!1),null==x||x(e)},he=function(e){W(!0),null==s||s(e)},_e=function(e){H.current&&(H.current=!1),W(!1),null==y||y(e)},me=se&&"".concat(k,"-out-of-range");return c.createElement(d,(0,i.Z)({},j,{prefixCls:k,className:u()(Z,me),handleReset:function(e){Q(""),Y(),U.current&&(0,l.rJ)(U.current,e,a)},value:$,focused:F,triggerFocus:Y,suffix:function(){var e=Number(oe)>0;if(R||ie.show){var t=ie.showFormatter?ie.showFormatter({value:$,count:ae,maxLength:oe}):"".concat(ae).concat(e?" / ".concat(oe):"");return c.createElement(c.Fragment,null,ie.show&&c.createElement("span",{className:u()("".concat(k,"-show-count-suffix"),(0,o.Z)({},"".concat(k,"-show-count-has-suffix"),!!R),null==I?void 0:I.count),style:(0,r.Z)({},null==M?void 0:M.count)},t),R)}return null}(),disabled:E,classes:P,classNames:I,styles:M}),(ce=(0,m.Z)(e,["prefixCls","onPressEnter","addonBefore","addonAfter","prefix","suffix","allowClear","defaultValue","showCount","count","classes","htmlSize","styles","classNames","onClear"]),c.createElement("input",(0,i.Z)({autoComplete:n},ce,{onChange:le,onFocus:he,onBlur:_e,onKeyDown:pe,onKeyUp:fe,className:u()(k,(0,o.Z)({},"".concat(k,"-disabled"),E),null==I?void 0:I.input),style:null==M?void 0:M.input,ref:U,size:N,type:D,onCompositionStart:function(e){V.current=!0,null==L||L(e)},onCompositionEnd:de}))))}))},30292:function(e,t,n){"use strict";function r(e){return!(!e.addonBefore&&!e.addonAfter)}function i(e){return!!(e.prefix||e.suffix||e.allowClear)}function o(e,t,n){var r=t.cloneNode(!0),i=Object.create(e,{target:{value:r},currentTarget:{value:r}});return r.value=n,"number"==typeof t.selectionStart&&"number"==typeof t.selectionEnd&&(r.selectionStart=t.selectionStart,r.selectionEnd=t.selectionEnd),r.setSelectionRange=function(){t.setSelectionRange.apply(t,arguments)},i}function a(e,t,n,r){if(n){var i=t;"click"!==t.type?"file"===e.type||void 0===r?n(i):n(i=o(t,e,r)):n(i=o(t,e,""))}}function s(e,t){if(e){e.focus(t);var n=(t||{}).cursor;if(n){var r=e.value.length;switch(n){case"start":e.setSelectionRange(0,0);break;case"end":e.setSelectionRange(r,r);break;default:e.setSelectionRange(0,r)}}}}n.d(t,{He:function(){return r},X3:function(){return i},nH:function(){return s},rJ:function(){return a}})},28321:function(e,t,n){"use strict";n.d(t,{iz:function(){return ze},ck:function(){return ye},BW:function(){return We},sN:function(){return ye},Wd:function(){return Ke},ZP:function(){return Je},Xl:function(){return S}});var r=n(54476),i=n(20068),o=n(33885),a=n(94480),s=n(42978),u=n(75931),c=n(92310),l=n.n(c),d=n(11780),p=n(18929),f=n(13697),h=n(48736),_=n(59301),m=n(4676),v=_.createContext(null);function g(e,t){return void 0===e?null:"".concat(e,"-").concat(t)}function y(e){return g(_.useContext(v),e)}var b=n(80547),w=["children","locked"],x=_.createContext(null);function C(e){var t=e.children,n=e.locked,r=(0,u.Z)(e,w),i=_.useContext(x),a=(0,b.Z)((function(){return e=i,t=r,n=(0,o.Z)({},e),Object.keys(t).forEach((function(e){var r=t[e];void 0!==r&&(n[e]=r)})),n;var e,t,n}),[i,r],(function(e,t){return!(n||e[0]===t[0]&&(0,f.Z)(e[1],t[1],!0))}));return _.createElement(x.Provider,{value:a},t)}var k=[],E=_.createContext(null);function N(){return _.useContext(E)}var Z=_.createContext(k);function S(e){var t=_.useContext(Z);return _.useMemo((function(){return void 0!==e?[].concat((0,a.Z)(t),[e]):t}),[t,e])}var R=_.createContext(null),O=_.createContext({}),A=n(29194);function T(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if((0,A.Z)(e)){var n=e.nodeName.toLowerCase(),r=["input","select","textarea","button"].includes(n)||e.isContentEditable||"a"===n&&!!e.getAttribute("href"),i=e.getAttribute("tabindex"),o=Number(i),a=null;return i&&!Number.isNaN(o)?a=o:r&&null===a&&(a=0),r&&e.disabled&&(a=null),null!==a&&(a>=0||t&&a<0)}return!1}function D(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=(0,a.Z)(e.querySelectorAll("*")).filter((function(e){return T(e,t)}));return T(e,t)&&n.unshift(e),n}var P=n(10228),I=n(16089),M=P.Z.LEFT,L=P.Z.RIGHT,K=P.Z.UP,j=P.Z.DOWN,z=P.Z.ENTER,B=P.Z.ESC,F=P.Z.HOME,W=P.Z.END,V=[K,j,M,L];function H(e,t){return D(e,!0).filter((function(e){return t.has(e)}))}function U(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:1;if(!e)return null;var i=H(e,t),o=i.length,a=i.findIndex((function(e){return n===e}));return r<0?-1===a?a=o-1:a-=1:r>0&&(a+=1),i[a=(a+o)%o]}var q=function(e,t){var n=new Set,r=new Map,i=new Map;return e.forEach((function(e){var o=document.querySelector("[data-menu-id='".concat(g(t,e),"']"));o&&(n.add(o),i.set(o,e),r.set(e,o))})),{elements:n,key2element:r,element2key:i}};function Y(e,t,n,r,o,a,s,u,c,l){var d=_.useRef(),p=_.useRef();p.current=t;var f=function(){I.Z.cancel(d.current)};return _.useEffect((function(){return function(){f()}}),[]),function(h){var _=h.which;if([].concat(V,[z,B,F,W]).includes(_)){var m=a(),v=q(m,r),g=v,y=g.elements,b=g.key2element,w=g.element2key,x=function(e,t){for(var n=e||document.activeElement;n;){if(t.has(n))return n;n=n.parentElement}return null}(b.get(t),y),C=w.get(x),k=function(e,t,n,r){var o,a="prev",s="next",u="children",c="parent";if("inline"===e&&r===z)return{inlineTrigger:!0};var l=(0,i.Z)((0,i.Z)({},K,a),j,s),d=(0,i.Z)((0,i.Z)((0,i.Z)((0,i.Z)({},M,n?s:a),L,n?a:s),j,u),z,u),p=(0,i.Z)((0,i.Z)((0,i.Z)((0,i.Z)((0,i.Z)((0,i.Z)({},K,a),j,s),z,u),B,c),M,n?u:c),L,n?c:u);switch(null===(o={inline:l,horizontal:d,vertical:p,inlineSub:l,horizontalSub:p,verticalSub:p}["".concat(e).concat(t?"":"Sub")])||void 0===o?void 0:o[r]){case a:return{offset:-1,sibling:!0};case s:return{offset:1,sibling:!0};case c:return{offset:-1,sibling:!1};case u:return{offset:1,sibling:!1};default:return null}}(e,1===s(C,!0).length,n,_);if(!k&&_!==F&&_!==W)return;(V.includes(_)||[F,W].includes(_))&&h.preventDefault();var E=function(e){if(e){var t=e,n=e.querySelector("a");null!=n&&n.getAttribute("href")&&(t=n);var r=w.get(e);u(r),f(),d.current=(0,I.Z)((function(){p.current===r&&t.focus()}))}};if([F,W].includes(_)||k.sibling||!x){var N,Z,S=H(N=x&&"inline"!==e?function(e){for(var t=e;t;){if(t.getAttribute("data-menu-list"))return t;t=t.parentElement}return null}(x):o.current,y);Z=_===F?S[0]:_===W?S[S.length-1]:U(N,y,x,k.offset),E(Z)}else if(k.inlineTrigger)c(C);else if(k.offset>0)c(C,!0),f(),d.current=(0,I.Z)((function(){v=q(m,r);var e=x.getAttribute("aria-controls"),t=U(document.getElementById(e),v.elements);E(t)}),5);else if(k.offset<0){var R=s(C,!0),O=R[R.length-2],A=b.get(O);c(O,!1),E(A)}}null==l||l(h)}}var G="__RC_UTIL_PATH_SPLIT__",X=function(e){return e.join(G)},J="rc-menu-more";function Q(){var e=_.useState({}),t=(0,s.Z)(e,2)[1],n=(0,_.useRef)(new Map),r=(0,_.useRef)(new Map),i=_.useState([]),o=(0,s.Z)(i,2),u=o[0],c=o[1],l=(0,_.useRef)(0),d=(0,_.useRef)(!1),p=(0,_.useCallback)((function(e,i){var o=X(i);r.current.set(o,e),n.current.set(e,o),l.current+=1;var a,s=l.current;a=function(){s===l.current&&(d.current||t({}))},Promise.resolve().then(a)}),[]),f=(0,_.useCallback)((function(e,t){var i=X(t);r.current.delete(i),n.current.delete(e)}),[]),h=(0,_.useCallback)((function(e){c(e)}),[]),m=(0,_.useCallback)((function(e,t){var r=n.current.get(e)||"",i=r.split(G);return t&&u.includes(i[0])&&i.unshift(J),i}),[u]),v=(0,_.useCallback)((function(e,t){return e.filter((function(e){return void 0!==e})).some((function(e){return m(e,!0).includes(t)}))}),[m]),g=(0,_.useCallback)((function(e){var t="".concat(n.current.get(e)).concat(G),i=new Set;return(0,a.Z)(r.current.keys()).forEach((function(e){e.startsWith(t)&&i.add(r.current.get(e))})),i}),[]);return _.useEffect((function(){return function(){d.current=!0}}),[]),{registerPath:p,unregisterPath:f,refreshOverflowKeys:h,isSubPathKey:v,getKeyPath:m,getKeys:function(){var e=(0,a.Z)(n.current.keys());return u.length&&e.push(J),e},getSubPathKeys:g}}function $(e){var t=_.useRef(e);t.current=e;var n=_.useCallback((function(){for(var e,n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return null===(e=t.current)||void 0===e?void 0:e.call.apply(e,[t].concat(r))}),[]);return e?n:void 0}var ee=Math.random().toFixed(5).toString().slice(2),te=0;var ne=n(67732),re=n(83652),ie=n(42403),oe=n(158),ae=n(2738),se=n(8654);function ue(e,t,n,r){var i=_.useContext(x),o=i.activeKey,a=i.onActive,s=i.onInactive,u={active:o===e};return t||(u.onMouseEnter=function(t){null==n||n({key:e,domEvent:t}),a(e)},u.onMouseLeave=function(t){null==r||r({key:e,domEvent:t}),s(e)}),u}function ce(e){var t=_.useContext(x),n=t.mode,r=t.rtl,i=t.inlineIndent;if("inline"!==n)return null;return r?{paddingRight:e*i}:{paddingLeft:e*i}}function le(e){var t,n=e.icon,r=e.props,i=e.children;return null===n||!1===n?null:("function"==typeof n?t=_.createElement(n,(0,o.Z)({},r)):"boolean"!=typeof n&&(t=n),t||i||null)}var de=["item"];function pe(e){var t=e.item,n=(0,u.Z)(e,de);return Object.defineProperty(n,"item",{get:function(){return(0,h.ZP)(!1,"`info.item` is deprecated since we will move to function component that not provides React Node instance in future."),t}}),n}var fe=["title","attribute","elementRef"],he=["style","className","eventKey","warnKey","disabled","itemIcon","children","role","onMouseEnter","onMouseLeave","onClick","onKeyDown","onFocus"],_e=["active"],me=function(e){(0,ie.Z)(n,e);var t=(0,oe.Z)(n);function n(){return(0,ne.Z)(this,n),t.apply(this,arguments)}return(0,re.Z)(n,[{key:"render",value:function(){var e=this.props,t=e.title,n=e.attribute,i=e.elementRef,o=(0,u.Z)(e,fe),a=(0,ae.Z)(o,["eventKey","popupClassName","popupOffset","onTitleClick"]);return(0,h.ZP)(!n,"`attribute` of Menu.Item is deprecated. Please pass attribute directly."),_.createElement(d.Z.Item,(0,r.Z)({},n,{title:"string"==typeof t?t:void 0},a,{ref:i}))}}]),n}(_.Component),ve=_.forwardRef((function(e,t){var n=e.style,s=e.className,c=e.eventKey,d=(e.warnKey,e.disabled),p=e.itemIcon,f=e.children,h=e.role,m=e.onMouseEnter,v=e.onMouseLeave,g=e.onClick,b=e.onKeyDown,w=e.onFocus,C=(0,u.Z)(e,he),k=y(c),E=_.useContext(x),N=E.prefixCls,Z=E.onItemClick,R=E.disabled,A=E.overflowDisabled,T=E.itemIcon,D=E.selectedKeys,I=E.onActive,M=_.useContext(O)._internalRenderMenuItem,L="".concat(N,"-item"),K=_.useRef(),j=_.useRef(),z=R||d,B=(0,se.x1)(t,j),F=S(c);var W=function(e){return{key:c,keyPath:(0,a.Z)(F).reverse(),item:K.current,domEvent:e}},V=p||T,H=ue(c,z,m,v),U=H.active,q=(0,u.Z)(H,_e),Y=D.includes(c),G=ce(F.length),X={};"option"===e.role&&(X["aria-selected"]=Y);var J=_.createElement(me,(0,r.Z)({ref:K,elementRef:B,role:null===h?"none":h||"menuitem",tabIndex:d?null:-1,"data-menu-id":A&&k?null:k},(0,ae.Z)(C,["extra"]),q,X,{component:"li","aria-disabled":d,style:(0,o.Z)((0,o.Z)({},G),n),className:l()(L,(0,i.Z)((0,i.Z)((0,i.Z)({},"".concat(L,"-active"),U),"".concat(L,"-selected"),Y),"".concat(L,"-disabled"),z),s),onClick:function(e){if(!z){var t=W(e);null==g||g(pe(t)),Z(t)}},onKeyDown:function(e){if(null==b||b(e),e.which===P.Z.ENTER){var t=W(e);null==g||g(pe(t)),Z(t)}},onFocus:function(e){I(c),null==w||w(e)}}),f,_.createElement(le,{props:(0,o.Z)((0,o.Z)({},e),{},{isSelected:Y}),icon:V}));return M&&(J=M(J,e,{selected:Y})),J}));function ge(e,t){var n=e.eventKey,i=N(),o=S(n);return _.useEffect((function(){if(i)return i.registerPath(n,o),function(){i.unregisterPath(n,o)}}),[o]),i?null:_.createElement(ve,(0,r.Z)({},e,{ref:t}))}var ye=_.forwardRef(ge),be=["className","children"],we=function(e,t){var n=e.className,i=e.children,o=(0,u.Z)(e,be),a=_.useContext(x),s=a.prefixCls,c=a.mode,d=a.rtl;return _.createElement("ul",(0,r.Z)({className:l()(s,d&&"".concat(s,"-rtl"),"".concat(s,"-sub"),"".concat(s,"-").concat("inline"===c?"inline":"vertical"),n),role:"menu"},o,{"data-menu-list":!0,ref:t}),i)},xe=_.forwardRef(we);xe.displayName="SubMenuList";var Ce=xe,ke=n(11592);function Ee(e,t){return(0,ke.Z)(e).map((function(e,n){if(_.isValidElement(e)){var r,i,o=e.key,s=null!==(r=null===(i=e.props)||void 0===i?void 0:i.eventKey)&&void 0!==r?r:o;null==s&&(s="tmp_key-".concat([].concat((0,a.Z)(t),[n]).join("-")));var u={key:s,eventKey:s};return _.cloneElement(e,u)}return e}))}var Ne=n(65030),Ze={adjustX:1,adjustY:1},Se={topLeft:{points:["bl","tl"],overflow:Ze},topRight:{points:["br","tr"],overflow:Ze},bottomLeft:{points:["tl","bl"],overflow:Ze},bottomRight:{points:["tr","br"],overflow:Ze},leftTop:{points:["tr","tl"],overflow:Ze},leftBottom:{points:["br","bl"],overflow:Ze},rightTop:{points:["tl","tr"],overflow:Ze},rightBottom:{points:["bl","br"],overflow:Ze}},Re={topLeft:{points:["bl","tl"],overflow:Ze},topRight:{points:["br","tr"],overflow:Ze},bottomLeft:{points:["tl","bl"],overflow:Ze},bottomRight:{points:["tr","br"],overflow:Ze},rightTop:{points:["tr","tl"],overflow:Ze},rightBottom:{points:["br","bl"],overflow:Ze},leftTop:{points:["tl","tr"],overflow:Ze},leftBottom:{points:["bl","br"],overflow:Ze}};function Oe(e,t,n){return t||(n?n[e]||n.other:void 0)}var Ae={horizontal:"bottomLeft",vertical:"rightTop","vertical-left":"rightTop","vertical-right":"leftTop"};function Te(e){var t=e.prefixCls,n=e.visible,r=e.children,a=e.popup,u=e.popupStyle,c=e.popupClassName,d=e.popupOffset,p=e.disabled,f=e.mode,h=e.onVisibleChange,m=_.useContext(x),v=m.getPopupContainer,g=m.rtl,y=m.subMenuOpenDelay,b=m.subMenuCloseDelay,w=m.builtinPlacements,C=m.triggerSubMenuAction,k=m.forceSubMenuRender,E=m.rootClassName,N=m.motion,Z=m.defaultMotions,S=_.useState(!1),R=(0,s.Z)(S,2),O=R[0],A=R[1],T=g?(0,o.Z)((0,o.Z)({},Re),w):(0,o.Z)((0,o.Z)({},Se),w),D=Ae[f],P=Oe(f,N,Z),M=_.useRef(P);"inline"!==f&&(M.current=P);var L=(0,o.Z)((0,o.Z)({},M.current),{},{leavedClassName:"".concat(t,"-hidden"),removeOnLeave:!1,motionAppear:!0}),K=_.useRef();return _.useEffect((function(){return K.current=(0,I.Z)((function(){A(n)})),function(){I.Z.cancel(K.current)}}),[n]),_.createElement(Ne.Z,{prefixCls:t,popupClassName:l()("".concat(t,"-popup"),(0,i.Z)({},"".concat(t,"-rtl"),g),c,E),stretch:"horizontal"===f?"minWidth":null,getPopupContainer:v,builtinPlacements:T,popupPlacement:D,popupVisible:O,popup:a,popupStyle:u,popupAlign:d&&{offset:d},action:p?[]:[C],mouseEnterDelay:y,mouseLeaveDelay:b,onPopupVisibleChange:h,forceRender:k,popupMotion:L,fresh:!0},r)}var De=n(77900);function Pe(e){var t=e.id,n=e.open,i=e.keyPath,a=e.children,u="inline",c=_.useContext(x),l=c.prefixCls,d=c.forceSubMenuRender,p=c.motion,f=c.defaultMotions,h=c.mode,m=_.useRef(!1);m.current=h===u;var v=_.useState(!m.current),g=(0,s.Z)(v,2),y=g[0],b=g[1],w=!!m.current&&n;_.useEffect((function(){m.current&&b(!1)}),[h]);var k=(0,o.Z)({},Oe(u,p,f));i.length>1&&(k.motionAppear=!1);var E=k.onVisibleChanged;return k.onVisibleChanged=function(e){return m.current||e||b(!0),null==E?void 0:E(e)},y?null:_.createElement(C,{mode:u,locked:!m.current},_.createElement(De.default,(0,r.Z)({visible:w},k,{forceRender:d,removeOnLeave:!1,leavedClassName:"".concat(l,"-hidden")}),(function(e){var n=e.className,r=e.style;return _.createElement(Ce,{id:t,className:n,style:r},a)})))}var Ie=["style","className","title","eventKey","warnKey","disabled","internalPopupClose","children","itemIcon","expandIcon","popupClassName","popupOffset","popupStyle","onClick","onMouseEnter","onMouseLeave","onTitleClick","onTitleMouseEnter","onTitleMouseLeave"],Me=["active"],Le=_.forwardRef((function(e,t){var n=e.style,a=e.className,c=e.title,p=e.eventKey,f=(e.warnKey,e.disabled),h=e.internalPopupClose,m=e.children,v=e.itemIcon,g=e.expandIcon,b=e.popupClassName,w=e.popupOffset,k=e.popupStyle,E=e.onClick,N=e.onMouseEnter,Z=e.onMouseLeave,A=e.onTitleClick,T=e.onTitleMouseEnter,D=e.onTitleMouseLeave,P=(0,u.Z)(e,Ie),I=y(p),M=_.useContext(x),L=M.prefixCls,K=M.mode,j=M.openKeys,z=M.disabled,B=M.overflowDisabled,F=M.activeKey,W=M.selectedKeys,V=M.itemIcon,H=M.expandIcon,U=M.onItemClick,q=M.onOpenChange,Y=M.onActive,G=_.useContext(O)._internalRenderSubMenuItem,X=_.useContext(R).isSubPathKey,J=S(),Q="".concat(L,"-submenu"),ee=z||f,te=_.useRef(),ne=_.useRef();var re=null!=v?v:V,ie=null!=g?g:H,oe=j.includes(p),ae=!B&&oe,se=X(W,p),de=ue(p,ee,T,D),fe=de.active,he=(0,u.Z)(de,Me),_e=_.useState(!1),me=(0,s.Z)(_e,2),ve=me[0],ge=me[1],ye=function(e){ee||ge(e)},be=_.useMemo((function(){return fe||"inline"!==K&&(ve||X([F],p))}),[K,fe,F,ve,p,X]),we=ce(J.length),xe=$((function(e){null==E||E(pe(e)),U(e)})),ke=I&&"".concat(I,"-popup"),Ee=_.useMemo((function(){return _.createElement(le,{icon:"horizontal"!==K?ie:void 0,props:(0,o.Z)((0,o.Z)({},e),{},{isOpen:ae,isSubMenu:!0})},_.createElement("i",{className:"".concat(Q,"-arrow")}))}),[K,ie,e,ae,Q]),Ne=_.createElement("div",(0,r.Z)({role:"menuitem",style:we,className:"".concat(Q,"-title"),tabIndex:ee?null:-1,ref:te,title:"string"==typeof c?c:null,"data-menu-id":B&&I?null:I,"aria-expanded":ae,"aria-haspopup":!0,"aria-controls":ke,"aria-disabled":ee,onClick:function(e){ee||(null==A||A({key:p,domEvent:e}),"inline"===K&&q(p,!oe))},onFocus:function(){Y(p)}},he),c,Ee),Ze=_.useRef(K);if("inline"!==K&&J.length>1?Ze.current="vertical":Ze.current=K,!B){var Se=Ze.current;Ne=_.createElement(Te,{mode:Se,prefixCls:Q,visible:!h&&ae&&"inline"!==K,popupClassName:b,popupOffset:w,popupStyle:k,popup:_.createElement(C,{mode:"horizontal"===Se?"vertical":Se},_.createElement(Ce,{id:ke,ref:ne},m)),disabled:ee,onVisibleChange:function(e){"inline"!==K&&q(p,e)}},Ne)}var Re=_.createElement(d.Z.Item,(0,r.Z)({ref:t,role:"none"},P,{component:"li",style:n,className:l()(Q,"".concat(Q,"-").concat(K),a,(0,i.Z)((0,i.Z)((0,i.Z)((0,i.Z)({},"".concat(Q,"-open"),ae),"".concat(Q,"-active"),be),"".concat(Q,"-selected"),se),"".concat(Q,"-disabled"),ee)),onMouseEnter:function(e){ye(!0),null==N||N({key:p,domEvent:e})},onMouseLeave:function(e){ye(!1),null==Z||Z({key:p,domEvent:e})}}),Ne,!B&&_.createElement(Pe,{id:ke,open:ae,keyPath:J},m));return G&&(Re=G(Re,e,{selected:se,active:be,open:ae,disabled:ee})),_.createElement(C,{onItemClick:xe,mode:"horizontal"===K?"vertical":K,itemIcon:re,expandIcon:ie},Re)}));var Ke=_.forwardRef((function(e,t){var n,i=e.eventKey,o=e.children,a=S(i),s=Ee(o,a),u=N();return _.useEffect((function(){if(u)return u.registerPath(i,a),function(){u.unregisterPath(i,a)}}),[a]),n=u?s:_.createElement(Le,(0,r.Z)({ref:t},e),s),_.createElement(Z.Provider,{value:a},n)})),je=n(76190);function ze(e){var t=e.className,n=e.style,r=_.useContext(x).prefixCls;return N()?null:_.createElement("li",{role:"separator",className:l()("".concat(r,"-item-divider"),t),style:n})}var Be=["className","title","eventKey","children"],Fe=_.forwardRef((function(e,t){var n=e.className,i=e.title,o=(e.eventKey,e.children),a=(0,u.Z)(e,Be),s=_.useContext(x).prefixCls,c="".concat(s,"-item-group");return _.createElement("li",(0,r.Z)({ref:t,role:"presentation"},a,{onClick:function(e){return e.stopPropagation()},className:l()(c,n)}),_.createElement("div",{role:"presentation",className:"".concat(c,"-title"),title:"string"==typeof i?i:void 0},i),_.createElement("ul",{role:"group",className:"".concat(c,"-list")},o))}));var We=_.forwardRef((function(e,t){var n=e.eventKey,i=Ee(e.children,S(n));return N()?i:_.createElement(Fe,(0,r.Z)({ref:t},(0,ae.Z)(e,["warnKey"])),i)})),Ve=["label","children","key","type","extra"];function He(e,t,n){var i=t.item,o=t.group,a=t.submenu,s=t.divider;return(e||[]).map((function(e,c){if(e&&"object"===(0,je.Z)(e)){var l=e,d=l.label,p=l.children,f=l.key,h=l.type,m=l.extra,v=(0,u.Z)(l,Ve),g=null!=f?f:"tmp-".concat(c);return p||"group"===h?"group"===h?_.createElement(o,(0,r.Z)({key:g},v,{title:d}),He(p,t,n)):_.createElement(a,(0,r.Z)({key:g},v,{title:d}),He(p,t,n)):"divider"===h?_.createElement(s,(0,r.Z)({key:g},v)):_.createElement(i,(0,r.Z)({key:g},v,{extra:m}),d,(!!m||0===m)&&_.createElement("span",{className:"".concat(n,"-item-extra")},m))}return null})).filter((function(e){return e}))}function Ue(e,t,n,r,i){var a=e,s=(0,o.Z)({divider:ze,item:ye,group:We,submenu:Ke},r);return t&&(a=He(t,s,i)),Ee(a,n)}var qe=["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"],Ye=[],Ge=_.forwardRef((function(e,t){var n,c=e,h=c.prefixCls,g=void 0===h?"rc-menu":h,y=c.rootClassName,b=c.style,w=c.className,x=c.tabIndex,k=void 0===x?0:x,N=c.items,Z=c.children,S=c.direction,A=c.id,T=c.mode,D=void 0===T?"vertical":T,P=c.inlineCollapsed,I=c.disabled,M=c.disabledOverflow,L=c.subMenuOpenDelay,K=void 0===L?.1:L,j=c.subMenuCloseDelay,z=void 0===j?.1:j,B=c.forceSubMenuRender,F=c.defaultOpenKeys,W=c.openKeys,V=c.activeKey,U=c.defaultActiveFirst,G=c.selectable,X=void 0===G||G,ne=c.multiple,re=void 0!==ne&&ne,ie=c.defaultSelectedKeys,oe=c.selectedKeys,ae=c.onSelect,se=c.onDeselect,ue=c.inlineIndent,ce=void 0===ue?24:ue,le=c.motion,de=c.defaultMotions,fe=c.triggerSubMenuAction,he=void 0===fe?"hover":fe,_e=c.builtinPlacements,me=c.itemIcon,ve=c.expandIcon,ge=c.overflowedIndicator,be=void 0===ge?"...":ge,we=c.overflowedIndicatorPopupClassName,xe=c.getPopupContainer,Ce=c.onClick,ke=c.onOpenChange,Ee=c.onKeyDown,Ne=(c.openAnimation,c.openTransitionName,c._internalRenderMenuItem),Ze=c._internalRenderSubMenuItem,Se=c._internalComponents,Re=(0,u.Z)(c,qe),Oe=_.useMemo((function(){return[Ue(Z,N,Ye,Se,g),Ue(Z,N,Ye,{},g)]}),[Z,N,Se]),Ae=(0,s.Z)(Oe,2),Te=Ae[0],De=Ae[1],Pe=_.useState(!1),Ie=(0,s.Z)(Pe,2),Me=Ie[0],Le=Ie[1],je=_.useRef(),ze=function(e){var t=(0,p.Z)(e,{value:e}),n=(0,s.Z)(t,2),r=n[0],i=n[1];return _.useEffect((function(){te+=1;var e="".concat(ee,"-").concat(te);i("rc-menu-uuid-".concat(e))}),[]),r}(A),Be="rtl"===S;var Fe=(0,p.Z)(F,{value:W,postState:function(e){return e||Ye}}),We=(0,s.Z)(Fe,2),Ve=We[0],He=We[1],Ge=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];function n(){He(e),null==ke||ke(e)}t?(0,m.flushSync)(n):n()},Xe=_.useState(Ve),Je=(0,s.Z)(Xe,2),Qe=Je[0],$e=Je[1],et=_.useRef(!1),tt=_.useMemo((function(){return"inline"!==D&&"vertical"!==D||!P?[D,!1]:["vertical",P]}),[D,P]),nt=(0,s.Z)(tt,2),rt=nt[0],it=nt[1],ot="inline"===rt,at=_.useState(rt),st=(0,s.Z)(at,2),ut=st[0],ct=st[1],lt=_.useState(it),dt=(0,s.Z)(lt,2),pt=dt[0],ft=dt[1];_.useEffect((function(){ct(rt),ft(it),et.current&&(ot?He(Qe):Ge(Ye))}),[rt,it]);var ht=_.useState(0),_t=(0,s.Z)(ht,2),mt=_t[0],vt=_t[1],gt=mt>=Te.length-1||"horizontal"!==ut||M;_.useEffect((function(){ot&&$e(Ve)}),[Ve]),_.useEffect((function(){return et.current=!0,function(){et.current=!1}}),[]);var yt=Q(),bt=yt.registerPath,wt=yt.unregisterPath,xt=yt.refreshOverflowKeys,Ct=yt.isSubPathKey,kt=yt.getKeyPath,Et=yt.getKeys,Nt=yt.getSubPathKeys,Zt=_.useMemo((function(){return{registerPath:bt,unregisterPath:wt}}),[bt,wt]),St=_.useMemo((function(){return{isSubPathKey:Ct}}),[Ct]);_.useEffect((function(){xt(gt?Ye:Te.slice(mt+1).map((function(e){return e.key})))}),[mt,gt]);var Rt=(0,p.Z)(V||U&&(null===(n=Te[0])||void 0===n?void 0:n.key),{value:V}),Ot=(0,s.Z)(Rt,2),At=Ot[0],Tt=Ot[1],Dt=$((function(e){Tt(e)})),Pt=$((function(){Tt(void 0)}));(0,_.useImperativeHandle)(t,(function(){return{list:je.current,focus:function(e){var t,n,r=Et(),i=q(r,ze),o=i.elements,a=i.key2element,s=i.element2key,u=H(je.current,o),c=null!=At?At:u[0]?s.get(u[0]):null===(t=Te.find((function(e){return!e.props.disabled})))||void 0===t?void 0:t.key,l=a.get(c);c&&l&&(null==l||null===(n=l.focus)||void 0===n||n.call(l,e))}}}));var It=(0,p.Z)(ie||[],{value:oe,postState:function(e){return Array.isArray(e)?e:null==e?Ye:[e]}}),Mt=(0,s.Z)(It,2),Lt=Mt[0],Kt=Mt[1],jt=$((function(e){null==Ce||Ce(pe(e)),function(e){if(X){var t,n=e.key,r=Lt.includes(n);t=re?r?Lt.filter((function(e){return e!==n})):[].concat((0,a.Z)(Lt),[n]):[n],Kt(t);var i=(0,o.Z)((0,o.Z)({},e),{},{selectedKeys:t});r?null==se||se(i):null==ae||ae(i)}!re&&Ve.length&&"inline"!==ut&&Ge(Ye)}(e)})),zt=$((function(e,t){var n=Ve.filter((function(t){return t!==e}));if(t)n.push(e);else if("inline"!==ut){var r=Nt(e);n=n.filter((function(e){return!r.has(e)}))}(0,f.Z)(Ve,n,!0)||Ge(n,!0)})),Bt=Y(ut,At,Be,ze,je,Et,kt,Tt,(function(e,t){var n=null!=t?t:!Ve.includes(e);zt(e,n)}),Ee);_.useEffect((function(){Le(!0)}),[]);var Ft=_.useMemo((function(){return{_internalRenderMenuItem:Ne,_internalRenderSubMenuItem:Ze}}),[Ne,Ze]),Wt="horizontal"!==ut||M?Te:Te.map((function(e,t){return _.createElement(C,{key:e.key,overflowDisabled:t>mt},e)})),Vt=_.createElement(d.Z,(0,r.Z)({id:A,ref:je,prefixCls:"".concat(g,"-overflow"),component:"ul",itemComponent:ye,className:l()(g,"".concat(g,"-root"),"".concat(g,"-").concat(ut),w,(0,i.Z)((0,i.Z)({},"".concat(g,"-inline-collapsed"),pt),"".concat(g,"-rtl"),Be),y),dir:S,style:b,role:"menu",tabIndex:k,data:Wt,renderRawItem:function(e){return e},renderRawRest:function(e){var t=e.length,n=t?Te.slice(-t):null;return _.createElement(Ke,{eventKey:J,title:be,disabled:gt,internalPopupClose:0===t,popupClassName:we},n)},maxCount:"horizontal"!==ut||M?d.Z.INVALIDATE:d.Z.RESPONSIVE,ssr:"full","data-menu-list":!0,onVisibleChange:function(e){vt(e)},onKeyDown:Bt},Re));return _.createElement(O.Provider,{value:Ft},_.createElement(v.Provider,{value:ze},_.createElement(C,{prefixCls:g,rootClassName:y,mode:ut,openKeys:Ve,rtl:Be,disabled:I,motion:Me?le:null,defaultMotions:Me?de:null,activeKey:At,onActive:Dt,onInactive:Pt,selectedKeys:Lt,inlineIndent:ce,subMenuOpenDelay:K,subMenuCloseDelay:z,forceSubMenuRender:B,builtinPlacements:_e,triggerSubMenuAction:he,getPopupContainer:xe,itemIcon:me,expandIcon:ve,onItemClick:jt,onOpenChange:zt},_.createElement(R.Provider,{value:St},Vt),_.createElement("div",{style:{display:"none"},"aria-hidden":!0},_.createElement(E.Provider,{value:Zt},De)))))})),Xe=Ge;Xe.Item=ye,Xe.SubMenu=Ke,Xe.ItemGroup=We,Xe.Divider=ze;var Je=Xe},11780:function(e,t,n){"use strict";n.d(t,{Z:function(){return I}});var r=n(54476),i=n(33885),o=n(42978),a=n(75931),s=n(59301),u=n(92310),c=n.n(u),l=n(29301),d=n(34280),p=["prefixCls","invalidate","item","renderItem","responsive","responsiveDisabled","registerSize","itemKey","className","style","children","display","order","component"],f=void 0;function h(e,t){var n=e.prefixCls,o=e.invalidate,u=e.item,d=e.renderItem,h=e.responsive,_=e.responsiveDisabled,m=e.registerSize,v=e.itemKey,g=e.className,y=e.style,b=e.children,w=e.display,x=e.order,C=e.component,k=void 0===C?"div":C,E=(0,a.Z)(e,p),N=h&&!w;function Z(e){m(v,e)}s.useEffect((function(){return function(){Z(null)}}),[]);var S,R=d&&u!==f?d(u,{index:x}):b;o||(S={opacity:N?0:1,height:N?0:f,overflowY:N?"hidden":f,order:h?x:f,pointerEvents:N?"none":f,position:N?"absolute":f});var O={};N&&(O["aria-hidden"]=!0);var A=s.createElement(k,(0,r.Z)({className:c()(!o&&n,g),style:(0,i.Z)((0,i.Z)({},S),y)},O,E,{ref:t}),R);return h&&(A=s.createElement(l.Z,{onResize:function(e){Z(e.offsetWidth)},disabled:_},A)),A}var _=s.forwardRef(h);_.displayName="Item";var m=_,v=n(6089),g=n(4676),y=n(16089);function b(){var e=s.useRef(null);return function(t){e.current||(e.current=[],function(e){if("undefined"==typeof MessageChannel)(0,y.Z)(e);else{var t=new MessageChannel;t.port1.onmessage=function(){return e()},t.port2.postMessage(void 0)}}((function(){(0,g.unstable_batchedUpdates)((function(){e.current.forEach((function(e){e()})),e.current=null}))}))),e.current.push(t)}}function w(e,t){var n=s.useState(t),r=(0,o.Z)(n,2),i=r[0],a=r[1];return[i,(0,v.Z)((function(t){e((function(){a(t)}))}))]}var x=s.createContext(null),C=["component"],k=["className"],E=["className"],N=function(e,t){var n=s.useContext(x);if(!n){var i=e.component,o=void 0===i?"div":i,u=(0,a.Z)(e,C);return s.createElement(o,(0,r.Z)({},u,{ref:t}))}var l=n.className,d=(0,a.Z)(n,k),p=e.className,f=(0,a.Z)(e,E);return s.createElement(x.Provider,{value:null},s.createElement(m,(0,r.Z)({ref:t,className:c()(l,p)},d,f)))},Z=s.forwardRef(N);Z.displayName="RawItem";var S=Z,R=["prefixCls","data","renderItem","renderRawItem","itemKey","itemWidth","ssr","style","className","maxCount","renderRest","renderRawRest","suffix","component","itemComponent","onVisibleChange"],O="responsive",A="invalidate";function T(e){return"+ ".concat(e.length," ...")}function D(e,t){var n=e.prefixCls,u=void 0===n?"rc-overflow":n,p=e.data,f=void 0===p?[]:p,h=e.renderItem,_=e.renderRawItem,v=e.itemKey,g=e.itemWidth,y=void 0===g?10:g,C=e.ssr,k=e.style,E=e.className,N=e.maxCount,Z=e.renderRest,S=e.renderRawRest,D=e.suffix,P=e.component,I=void 0===P?"div":P,M=e.itemComponent,L=e.onVisibleChange,K=(0,a.Z)(e,R),j="full"===C,z=b(),B=w(z,null),F=(0,o.Z)(B,2),W=F[0],V=F[1],H=W||0,U=w(z,new Map),q=(0,o.Z)(U,2),Y=q[0],G=q[1],X=w(z,0),J=(0,o.Z)(X,2),Q=J[0],$=J[1],ee=w(z,0),te=(0,o.Z)(ee,2),ne=te[0],re=te[1],ie=w(z,0),oe=(0,o.Z)(ie,2),ae=oe[0],se=oe[1],ue=(0,s.useState)(null),ce=(0,o.Z)(ue,2),le=ce[0],de=ce[1],pe=(0,s.useState)(null),fe=(0,o.Z)(pe,2),he=fe[0],_e=fe[1],me=s.useMemo((function(){return null===he&&j?Number.MAX_SAFE_INTEGER:he||0}),[he,W]),ve=(0,s.useState)(!1),ge=(0,o.Z)(ve,2),ye=ge[0],be=ge[1],we="".concat(u,"-item"),xe=Math.max(Q,ne),Ce=N===O,ke=f.length&&Ce,Ee=N===A,Ne=ke||"number"==typeof N&&f.length>N,Ze=(0,s.useMemo)((function(){var e=f;return ke?e=null===W&&j?f:f.slice(0,Math.min(f.length,H/y)):"number"==typeof N&&(e=f.slice(0,N)),e}),[f,y,W,N,ke]),Se=(0,s.useMemo)((function(){return ke?f.slice(me+1):f.slice(Ze.length)}),[f,Ze,ke,me]),Re=(0,s.useCallback)((function(e,t){var n;return"function"==typeof v?v(e):null!==(n=v&&(null==e?void 0:e[v]))&&void 0!==n?n:t}),[v]),Oe=(0,s.useCallback)(h||function(e){return e},[h]);function Ae(e,t,n){(he!==e||void 0!==t&&t!==le)&&(_e(e),n||(be(e<f.length-1),null==L||L(e)),void 0!==t&&de(t))}function Te(e,t){G((function(n){var r=new Map(n);return null===t?r.delete(e):r.set(e,t),r}))}function De(e){return Y.get(Re(Ze[e],e))}(0,d.Z)((function(){if(H&&"number"==typeof xe&&Ze){var e=ae,t=Ze.length,n=t-1;if(!t)return void Ae(0,null);for(var r=0;r<t;r+=1){var i=De(r);if(j&&(i=i||0),void 0===i){Ae(r-1,void 0,!0);break}if(e+=i,0===n&&e<=H||r===n-1&&e+De(n)<=H){Ae(n,null);break}if(e+xe>H){Ae(r-1,e-i-ae+ne);break}}D&&De(0)+ae>H&&de(null)}}),[H,Y,ne,ae,Re,Ze]);var Pe=ye&&!!Se.length,Ie={};null!==le&&ke&&(Ie={position:"absolute",left:le,top:0});var Me={prefixCls:we,responsive:ke,component:M,invalidate:Ee},Le=_?function(e,t){var n=Re(e,t);return s.createElement(x.Provider,{key:n,value:(0,i.Z)((0,i.Z)({},Me),{},{order:t,item:e,itemKey:n,registerSize:Te,display:t<=me})},_(e,t))}:function(e,t){var n=Re(e,t);return s.createElement(m,(0,r.Z)({},Me,{order:t,key:n,item:e,renderItem:Oe,itemKey:n,registerSize:Te,display:t<=me}))},Ke={order:Pe?me:Number.MAX_SAFE_INTEGER,className:"".concat(we,"-rest"),registerSize:function(e,t){re(t),$(ne)},display:Pe},je=Z||T,ze=S?s.createElement(x.Provider,{value:(0,i.Z)((0,i.Z)({},Me),Ke)},S(Se)):s.createElement(m,(0,r.Z)({},Me,Ke),"function"==typeof je?je(Se):je),Be=s.createElement(I,(0,r.Z)({className:c()(!Ee&&u,E),style:k,ref:t},K),Ze.map(Le),Ne?ze:null,D&&s.createElement(m,(0,r.Z)({},Me,{responsive:Ce,responsiveDisabled:!ke,order:me,className:"".concat(we,"-suffix"),registerSize:function(e,t){se(t)},display:!0,style:Ie}),D));return Ce?s.createElement(l.Z,{onResize:function(e,t){V(t.clientWidth)},disabled:!ke},Be):Be}var P=s.forwardRef(D);P.displayName="Overflow",P.Item=S,P.RESPONSIVE=O,P.INVALIDATE=A;var I=P},23425:function(e,t,n){"use strict";n.d(t,{Z:function(){return x}});var r=n(20068),i=n(54476),o=n(76190),a=n(33885),s=n(42978),u=n(92310),c=n.n(u),l=n(18929),d=n(10228),p=n(26112),f=(n(48736),n(59301)),h=n(17119),_=[10,20,50,100];var m=function(e){var t=e.pageSizeOptions,n=void 0===t?_:t,r=e.locale,i=e.changeSize,o=e.pageSize,a=e.goButton,u=e.quickGo,c=e.rootPrefixCls,l=e.disabled,p=e.buildOptionText,h=e.showSizeChanger,m=e.sizeChangerRender,v=f.useState(""),g=(0,s.Z)(v,2),y=g[0],b=g[1],w=function(){return!y||Number.isNaN(y)?void 0:Number(y)},x="function"==typeof p?p:function(e){return"".concat(e," ").concat(r.items_per_page)},C=function(e){""!==y&&(e.keyCode!==d.Z.ENTER&&"click"!==e.type||(b(""),null==u||u(w())))},k="".concat(c,"-options");if(!h&&!u)return null;var E=null,N=null,Z=null;return h&&m&&(E=m({disabled:l,size:o,onSizeChange:function(e){null==i||i(Number(e))},"aria-label":r.page_size,className:"".concat(k,"-size-changer"),options:(n.some((function(e){return e.toString()===o.toString()}))?n:n.concat([o]).sort((function(e,t){return(Number.isNaN(Number(e))?0:Number(e))-(Number.isNaN(Number(t))?0:Number(t))}))).map((function(e){return{label:x(e),value:e}}))})),u&&(a&&(Z="boolean"==typeof a?f.createElement("button",{type:"button",onClick:C,onKeyUp:C,disabled:l,className:"".concat(k,"-quick-jumper-button")},r.jump_to_confirm):f.createElement("span",{onClick:C,onKeyUp:C},a)),N=f.createElement("div",{className:"".concat(k,"-quick-jumper")},r.jump_to,f.createElement("input",{disabled:l,type:"text",value:y,onChange:function(e){b(e.target.value)},onKeyUp:C,onBlur:function(e){a||""===y||(b(""),e.relatedTarget&&(e.relatedTarget.className.indexOf("".concat(c,"-item-link"))>=0||e.relatedTarget.className.indexOf("".concat(c,"-item"))>=0)||null==u||u(w()))},"aria-label":r.page}),r.page,Z)),f.createElement("li",{className:k},E,N)};var v=function(e){var t=e.rootPrefixCls,n=e.page,i=e.active,o=e.className,a=e.showTitle,s=e.onClick,u=e.onKeyPress,l=e.itemRender,d="".concat(t,"-item"),p=c()(d,"".concat(d,"-").concat(n),(0,r.Z)((0,r.Z)({},"".concat(d,"-active"),i),"".concat(d,"-disabled"),!n),o),h=l(n,"page",f.createElement("a",{rel:"nofollow"},n));return h?f.createElement("li",{title:a?String(n):null,className:p,onClick:function(){s(n)},onKeyDown:function(e){u(e,s,n)},tabIndex:0},h):null},g=function(e,t,n){return n};function y(){}function b(e){var t=Number(e);return"number"==typeof t&&!Number.isNaN(t)&&isFinite(t)&&Math.floor(t)===t}function w(e,t,n){var r=void 0===e?t:e;return Math.floor((n-1)/r)+1}var x=function(e){var t=e.prefixCls,n=void 0===t?"rc-pagination":t,u=e.selectPrefixCls,_=void 0===u?"rc-select":u,x=e.className,C=e.current,k=e.defaultCurrent,E=void 0===k?1:k,N=e.total,Z=void 0===N?0:N,S=e.pageSize,R=e.defaultPageSize,O=void 0===R?10:R,A=e.onChange,T=void 0===A?y:A,D=e.hideOnSinglePage,P=e.align,I=e.showPrevNextJumpers,M=void 0===I||I,L=e.showQuickJumper,K=e.showLessItems,j=e.showTitle,z=void 0===j||j,B=e.onShowSizeChange,F=void 0===B?y:B,W=e.locale,V=void 0===W?h.Z:W,H=e.style,U=e.totalBoundaryShowSizeChanger,q=void 0===U?50:U,Y=e.disabled,G=e.simple,X=e.showTotal,J=e.showSizeChanger,Q=void 0===J?Z>q:J,$=e.sizeChangerRender,ee=e.pageSizeOptions,te=e.itemRender,ne=void 0===te?g:te,re=e.jumpPrevIcon,ie=e.jumpNextIcon,oe=e.prevIcon,ae=e.nextIcon,se=f.useRef(null),ue=(0,l.Z)(10,{value:S,defaultValue:O}),ce=(0,s.Z)(ue,2),le=ce[0],de=ce[1],pe=(0,l.Z)(1,{value:C,defaultValue:E,postState:function(e){return Math.max(1,Math.min(e,w(void 0,le,Z)))}}),fe=(0,s.Z)(pe,2),he=fe[0],_e=fe[1],me=f.useState(he),ve=(0,s.Z)(me,2),ge=ve[0],ye=ve[1];(0,f.useEffect)((function(){ye(he)}),[he]);var be=Math.max(1,he-(K?3:5)),we=Math.min(w(void 0,le,Z),he+(K?3:5));function xe(t,r){var i=t||f.createElement("button",{type:"button","aria-label":r,className:"".concat(n,"-item-link")});return"function"==typeof t&&(i=f.createElement(t,(0,a.Z)({},e))),i}function Ce(e){var t=e.target.value,n=w(void 0,le,Z);return""===t?t:Number.isNaN(Number(t))?ge:t>=n?n:Number(t)}var ke=Z>le&&L;function Ee(e){var t=Ce(e);switch(t!==ge&&ye(t),e.keyCode){case d.Z.ENTER:Ne(t);break;case d.Z.UP:Ne(t-1);break;case d.Z.DOWN:Ne(t+1)}}function Ne(e){if(function(e){return b(e)&&e!==he&&b(Z)&&Z>0}(e)&&!Y){var t=w(void 0,le,Z),n=e;return e>t?n=t:e<1&&(n=1),n!==ge&&ye(n),_e(n),null==T||T(n,le),n}return he}var Ze=he>1,Se=he<w(void 0,le,Z);function Re(){Ze&&Ne(he-1)}function Oe(){Se&&Ne(he+1)}function Ae(){Ne(be)}function Te(){Ne(we)}function De(e,t){if("Enter"===e.key||e.charCode===d.Z.ENTER||e.keyCode===d.Z.ENTER){for(var n=arguments.length,r=new Array(n>2?n-2:0),i=2;i<n;i++)r[i-2]=arguments[i];t.apply(void 0,r)}}function Pe(e){"click"!==e.type&&e.keyCode!==d.Z.ENTER||Ne(ge)}var Ie=null,Me=(0,p.Z)(e,{aria:!0,data:!0}),Le=X&&f.createElement("li",{className:"".concat(n,"-total-text")},X(Z,[0===Z?0:(he-1)*le+1,he*le>Z?Z:he*le])),Ke=null,je=w(void 0,le,Z);if(D&&Z<=le)return null;var ze=[],Be={rootPrefixCls:n,onClick:Ne,onKeyPress:De,showTitle:z,itemRender:ne,page:-1},Fe=he-1>0?he-1:0,We=he+1<je?he+1:je,Ve=L&&L.goButton,He="object"===(0,o.Z)(G)?G.readOnly:!G,Ue=Ve,qe=null;G&&(Ve&&(Ue="boolean"==typeof Ve?f.createElement("button",{type:"button",onClick:Pe,onKeyUp:Pe},V.jump_to_confirm):f.createElement("span",{onClick:Pe,onKeyUp:Pe},Ve),Ue=f.createElement("li",{title:z?"".concat(V.jump_to).concat(he,"/").concat(je):null,className:"".concat(n,"-simple-pager")},Ue)),qe=f.createElement("li",{title:z?"".concat(he,"/").concat(je):null,className:"".concat(n,"-simple-pager")},He?ge:f.createElement("input",{type:"text","aria-label":V.jump_to,value:ge,disabled:Y,onKeyDown:function(e){e.keyCode!==d.Z.UP&&e.keyCode!==d.Z.DOWN||e.preventDefault()},onKeyUp:Ee,onChange:Ee,onBlur:function(e){Ne(Ce(e))},size:3}),f.createElement("span",{className:"".concat(n,"-slash")},"/"),je));var Ye=K?1:2;if(je<=3+2*Ye){je||ze.push(f.createElement(v,(0,i.Z)({},Be,{key:"noPager",page:1,className:"".concat(n,"-item-disabled")})));for(var Ge=1;Ge<=je;Ge+=1)ze.push(f.createElement(v,(0,i.Z)({},Be,{key:Ge,page:Ge,active:he===Ge})))}else{var Xe=K?V.prev_3:V.prev_5,Je=K?V.next_3:V.next_5,Qe=ne(be,"jump-prev",xe(re,"prev page")),$e=ne(we,"jump-next",xe(ie,"next page"));M&&(Ie=Qe?f.createElement("li",{title:z?Xe:null,key:"prev",onClick:Ae,tabIndex:0,onKeyDown:function(e){De(e,Ae)},className:c()("".concat(n,"-jump-prev"),(0,r.Z)({},"".concat(n,"-jump-prev-custom-icon"),!!re))},Qe):null,Ke=$e?f.createElement("li",{title:z?Je:null,key:"next",onClick:Te,tabIndex:0,onKeyDown:function(e){De(e,Te)},className:c()("".concat(n,"-jump-next"),(0,r.Z)({},"".concat(n,"-jump-next-custom-icon"),!!ie))},$e):null);var et=Math.max(1,he-Ye),tt=Math.min(he+Ye,je);he-1<=Ye&&(tt=1+2*Ye),je-he<=Ye&&(et=je-2*Ye);for(var nt=et;nt<=tt;nt+=1)ze.push(f.createElement(v,(0,i.Z)({},Be,{key:nt,page:nt,active:he===nt})));if(he-1>=2*Ye&&3!==he&&(ze[0]=f.cloneElement(ze[0],{className:c()("".concat(n,"-item-after-jump-prev"),ze[0].props.className)}),ze.unshift(Ie)),je-he>=2*Ye&&he!==je-2){var rt=ze[ze.length-1];ze[ze.length-1]=f.cloneElement(rt,{className:c()("".concat(n,"-item-before-jump-next"),rt.props.className)}),ze.push(Ke)}1!==et&&ze.unshift(f.createElement(v,(0,i.Z)({},Be,{key:1,page:1}))),tt!==je&&ze.push(f.createElement(v,(0,i.Z)({},Be,{key:je,page:je})))}var it=function(e){var t=ne(e,"prev",xe(oe,"prev page"));return f.isValidElement(t)?f.cloneElement(t,{disabled:!Ze}):t}(Fe);if(it){var ot=!Ze||!je;it=f.createElement("li",{title:z?V.prev_page:null,onClick:Re,tabIndex:ot?null:0,onKeyDown:function(e){De(e,Re)},className:c()("".concat(n,"-prev"),(0,r.Z)({},"".concat(n,"-disabled"),ot)),"aria-disabled":ot},it)}var at,st,ut=function(e){var t=ne(e,"next",xe(ae,"next page"));return f.isValidElement(t)?f.cloneElement(t,{disabled:!Se}):t}(We);ut&&(G?(at=!Se,st=Ze?0:null):st=(at=!Se||!je)?null:0,ut=f.createElement("li",{title:z?V.next_page:null,onClick:Oe,tabIndex:st,onKeyDown:function(e){De(e,Oe)},className:c()("".concat(n,"-next"),(0,r.Z)({},"".concat(n,"-disabled"),at)),"aria-disabled":at},ut));var ct=c()(n,x,(0,r.Z)((0,r.Z)((0,r.Z)((0,r.Z)((0,r.Z)({},"".concat(n,"-start"),"start"===P),"".concat(n,"-center"),"center"===P),"".concat(n,"-end"),"end"===P),"".concat(n,"-simple"),G),"".concat(n,"-disabled"),Y));return f.createElement("ul",(0,i.Z)({className:ct,style:H,ref:se},Me),Le,it,G?qe:ze,ut,f.createElement(m,{locale:V,rootPrefixCls:n,disabled:Y,selectPrefixCls:_,changeSize:function(e){var t=w(e,le,Z),n=he>t&&0!==t?t:he;de(e),ye(n),null==F||F(he,e),_e(n),null==T||T(n,e)},pageSize:le,pageSizeOptions:ee,quickGo:ke?Ne:null,goButton:Ue,showSizeChanger:Q,sizeChangerRender:$}))}},29301:function(e,t,n){"use strict";n.d(t,{Z:function(){return C}});var r=n(54476),i=n(59301),o=n(11592),a=(n(48736),n(33885)),s=n(76190),u=n(76846),c=n(8654),l=i.createContext(null);var d=n(76374),p=new Map;var f=new d.Z((function(e){e.forEach((function(e){var t,n=e.target;null===(t=p.get(n))||void 0===t||t.forEach((function(e){return e(n)}))}))}));var h=n(67732),_=n(83652),m=n(42403),v=n(158),g=function(e){(0,m.Z)(n,e);var t=(0,v.Z)(n);function n(){return(0,h.Z)(this,n),t.apply(this,arguments)}return(0,_.Z)(n,[{key:"render",value:function(){return this.props.children}}]),n}(i.Component);function y(e,t){var n=e.children,r=e.disabled,o=i.useRef(null),d=i.useRef(null),h=i.useContext(l),_="function"==typeof n,m=_?n(o):n,v=i.useRef({width:-1,height:-1,offsetWidth:-1,offsetHeight:-1}),y=!_&&i.isValidElement(m)&&(0,c.Yr)(m),b=y?(0,c.C4)(m):null,w=(0,c.x1)(b,o),x=function(){var e;return(0,u.ZP)(o.current)||(o.current&&"object"===(0,s.Z)(o.current)?(0,u.ZP)(null===(e=o.current)||void 0===e?void 0:e.nativeElement):null)||(0,u.ZP)(d.current)};i.useImperativeHandle(t,(function(){return x()}));var C=i.useRef(e);C.current=e;var k=i.useCallback((function(e){var t=C.current,n=t.onResize,r=t.data,i=e.getBoundingClientRect(),o=i.width,s=i.height,u=e.offsetWidth,c=e.offsetHeight,l=Math.floor(o),d=Math.floor(s);if(v.current.width!==l||v.current.height!==d||v.current.offsetWidth!==u||v.current.offsetHeight!==c){var p={width:l,height:d,offsetWidth:u,offsetHeight:c};v.current=p;var f=u===Math.round(o)?o:u,_=c===Math.round(s)?s:c,m=(0,a.Z)((0,a.Z)({},p),{},{offsetWidth:f,offsetHeight:_});null==h||h(m,e,r),n&&Promise.resolve().then((function(){n(m,e)}))}}),[]);return i.useEffect((function(){var e,t,n=x();return n&&!r&&(e=n,t=k,p.has(e)||(p.set(e,new Set),f.observe(e)),p.get(e).add(t)),function(){return function(e,t){p.has(e)&&(p.get(e).delete(t),p.get(e).size||(f.unobserve(e),p.delete(e)))}(n,k)}}),[o.current,r]),i.createElement(g,{ref:d},y?i.cloneElement(m,{ref:w}):m)}var b=i.forwardRef(y);function w(e,t){var n=e.children;return("function"==typeof n?[n]:(0,o.Z)(n)).map((function(n,o){var a=(null==n?void 0:n.key)||"".concat("rc-observer-key","-").concat(o);return i.createElement(b,(0,r.Z)({},e,{key:a,ref:0===o?t:void 0}),n)}))}var x=i.forwardRef(w);x.Collection=function(e){var t=e.children,n=e.onBatchResize,r=i.useRef(0),o=i.useRef([]),a=i.useContext(l),s=i.useCallback((function(e,t,i){r.current+=1;var s=r.current;o.current.push({size:e,element:t,data:i}),Promise.resolve().then((function(){s===r.current&&(null==n||n(o.current),o.current=[])})),null==a||a(e,t,i)}),[n,a]);return i.createElement(l.Provider,{value:s},t)};var C=x},6551:function(e,t,n){"use strict";n.d(t,{ZP:function(){return u}});var r=n(42978),i=n(59301),o=n(47273),a=0,s=(0,o.Z)();function u(e){var t=i.useState(),n=(0,r.Z)(t,2),o=n[0],u=n[1];return i.useEffect((function(){var e;u("rc_select_".concat((s?(e=a,a+=1):e="TEST_OR_SSR",e)))}),[]),e||o}},37463:function(e,t,n){"use strict";n.d(t,{Ac:function(){return ee},Xo:function(){return ne},Wx:function(){return ie},ZP:function(){return Ee},lk:function(){return b}});var r=n(54476),i=n(94480),o=n(20068),a=n(33885),s=n(42978),u=n(75931),c=n(76190),l=n(18929),d=n(48736),p=n(59301),f=n(92310),h=n.n(f),_=n(34280),m=n(49658),v=n(8654),g=function(e){var t=e.className,n=e.customizeIcon,r=e.customizeIconProps,i=e.children,o=e.onMouseDown,a=e.onClick,s="function"==typeof n?n(r):n;return p.createElement("span",{className:t,onMouseDown:function(e){e.preventDefault(),null==o||o(e)},style:{userSelect:"none",WebkitUserSelect:"none"},unselectable:"on",onClick:a,"aria-hidden":!0},void 0!==s?s:p.createElement("span",{className:h()(t.split(/\s+/).map((function(e){return"".concat(e,"-icon")})))},i))},y=p.createContext(null);function b(){return p.useContext(y)}function w(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:250,t=p.useRef(null),n=p.useRef(null);function r(r){(r||null===t.current)&&(t.current=r),window.clearTimeout(n.current),n.current=window.setTimeout((function(){t.current=null}),e)}return p.useEffect((function(){return function(){window.clearTimeout(n.current)}}),[]),[function(){return t.current},r]}var x=n(10228);var C=n(26112),k=n(11780);var E=function(e,t,n){var r=(0,a.Z)((0,a.Z)({},e),n?t:{});return Object.keys(t).forEach((function(n){var i=t[n];"function"==typeof i&&(r[n]=function(){for(var t,r=arguments.length,o=new Array(r),a=0;a<r;a++)o[a]=arguments[a];return i.apply(void 0,o),null===(t=e[n])||void 0===t?void 0:t.call.apply(t,[e].concat(o))})})),r},N=["prefixCls","id","inputElement","autoFocus","autoComplete","editable","activeDescendantId","value","open","attrs"],Z=function(e,t){var n=e.prefixCls,r=e.id,i=e.inputElement,o=e.autoFocus,s=e.autoComplete,c=e.editable,l=e.activeDescendantId,f=e.value,_=e.open,m=e.attrs,g=(0,u.Z)(e,N),y=i||p.createElement("input",null),b=y,w=b.ref,x=b.props;return(0,d.Kp)(!("maxLength"in y.props),"Passing 'maxLength' to input element directly may not work because input in BaseSelect is controlled."),y=p.cloneElement(y,(0,a.Z)((0,a.Z)((0,a.Z)({type:"search"},E(g,x,!0)),{},{id:r,ref:(0,v.sQ)(t,w),autoComplete:s||"off",autoFocus:o,className:h()("".concat(n,"-selection-search-input"),null==x?void 0:x.className),role:"combobox","aria-expanded":_||!1,"aria-haspopup":"listbox","aria-owns":"".concat(r,"_list"),"aria-autocomplete":"list","aria-controls":"".concat(r,"_list"),"aria-activedescendant":_?l:void 0},m),{},{value:c?f:"",readOnly:!c,unselectable:c?null:"on",style:(0,a.Z)((0,a.Z)({},x.style),{},{opacity:c?null:0})}))};var S=p.forwardRef(Z);function R(e){return Array.isArray(e)?e:void 0!==e?[e]:[]}var O="undefined"!=typeof window&&window.document&&window.document.documentElement;function A(e){return["string","number"].includes((0,c.Z)(e))}function T(e){var t=void 0;return e&&(A(e.title)?t=e.title.toString():A(e.label)&&(t=e.label.toString())),t}function D(e){var t;return null!==(t=e.key)&&void 0!==t?t:e.value}var P=function(e){e.preventDefault(),e.stopPropagation()},I=function(e){var t,n,r=e.id,i=e.prefixCls,a=e.values,u=e.open,c=e.searchValue,l=e.autoClearSearchValue,d=e.inputRef,f=e.placeholder,_=e.disabled,m=e.mode,v=e.showSearch,y=e.autoFocus,b=e.autoComplete,w=e.activeDescendantId,x=e.tabIndex,E=e.removeIcon,N=e.maxTagCount,Z=e.maxTagTextLength,R=e.maxTagPlaceholder,A=void 0===R?function(e){return"+ ".concat(e.length," ...")}:R,I=e.tagRender,M=e.onToggleOpen,L=e.onRemove,K=e.onInputChange,j=e.onInputPaste,z=e.onInputKeyDown,B=e.onInputMouseDown,F=e.onInputCompositionStart,W=e.onInputCompositionEnd,V=e.onInputBlur,H=p.useRef(null),U=(0,p.useState)(0),q=(0,s.Z)(U,2),Y=q[0],G=q[1],X=(0,p.useState)(!1),J=(0,s.Z)(X,2),Q=J[0],$=J[1],ee="".concat(i,"-selection"),te=u||"multiple"===m&&!1===l||"tags"===m?c:"",ne="tags"===m||"multiple"===m&&!1===l||v&&(u||Q);t=function(){G(H.current.scrollWidth)},n=[te],O?p.useLayoutEffect(t,n):p.useEffect(t,n);var re=function(e,t,n,r,i){return p.createElement("span",{title:T(e),className:h()("".concat(ee,"-item"),(0,o.Z)({},"".concat(ee,"-item-disabled"),n))},p.createElement("span",{className:"".concat(ee,"-item-content")},t),r&&p.createElement(g,{className:"".concat(ee,"-item-remove"),onMouseDown:P,onClick:i,customizeIcon:E},"×"))},ie=function(e,t,n,r,i,o){return p.createElement("span",{onMouseDown:function(e){P(e),M(!u)}},I({label:t,value:e,disabled:n,closable:r,onClose:i,isMaxTag:!!o}))},oe=p.createElement("div",{className:"".concat(ee,"-search"),style:{width:Y},onFocus:function(){$(!0)},onBlur:function(){$(!1)}},p.createElement(S,{ref:d,open:u,prefixCls:i,id:r,inputElement:null,disabled:_,autoFocus:y,autoComplete:b,editable:ne,activeDescendantId:w,value:te,onKeyDown:z,onMouseDown:B,onChange:K,onPaste:j,onCompositionStart:F,onCompositionEnd:W,onBlur:V,tabIndex:x,attrs:(0,C.Z)(e,!0)}),p.createElement("span",{ref:H,className:"".concat(ee,"-search-mirror"),"aria-hidden":!0},te," ")),ae=p.createElement(k.Z,{prefixCls:"".concat(ee,"-overflow"),data:a,renderItem:function(e){var t=e.disabled,n=e.label,r=e.value,i=!_&&!t,o=n;if("number"==typeof Z&&("string"==typeof n||"number"==typeof n)){var a=String(o);a.length>Z&&(o="".concat(a.slice(0,Z),"..."))}var s=function(t){t&&t.stopPropagation(),L(e)};return"function"==typeof I?ie(r,o,t,i,s):re(e,o,t,i,s)},renderRest:function(e){if(!a.length)return null;var t="function"==typeof A?A(e):A;return"function"==typeof I?ie(void 0,t,!1,!1,void 0,!0):re({title:t},t,!1)},suffix:oe,itemKey:D,maxCount:N});return p.createElement("span",{className:"".concat(ee,"-wrap")},ae,!a.length&&!te&&p.createElement("span",{className:"".concat(ee,"-placeholder")},f))},M=function(e){var t=e.inputElement,n=e.prefixCls,r=e.id,i=e.inputRef,o=e.disabled,a=e.autoFocus,u=e.autoComplete,c=e.activeDescendantId,l=e.mode,d=e.open,f=e.values,h=e.placeholder,_=e.tabIndex,m=e.showSearch,v=e.searchValue,g=e.activeValue,y=e.maxLength,b=e.onInputKeyDown,w=e.onInputMouseDown,x=e.onInputChange,k=e.onInputPaste,E=e.onInputCompositionStart,N=e.onInputCompositionEnd,Z=e.onInputBlur,R=e.title,O=p.useState(!1),A=(0,s.Z)(O,2),D=A[0],P=A[1],I="combobox"===l,M=I||m,L=f[0],K=v||"";I&&g&&!D&&(K=g),p.useEffect((function(){I&&P(!1)}),[I,g]);var j=!("combobox"!==l&&!d&&!m)&&!!K,z=void 0===R?T(L):R,B=p.useMemo((function(){return L?null:p.createElement("span",{className:"".concat(n,"-selection-placeholder"),style:j?{visibility:"hidden"}:void 0},h)}),[L,j,h,n]);return p.createElement("span",{className:"".concat(n,"-selection-wrap")},p.createElement("span",{className:"".concat(n,"-selection-search")},p.createElement(S,{ref:i,prefixCls:n,id:r,open:d,inputElement:t,disabled:o,autoFocus:a,autoComplete:u,editable:M,activeDescendantId:c,value:K,onKeyDown:b,onMouseDown:w,onChange:function(e){P(!0),x(e)},onPaste:k,onCompositionStart:E,onCompositionEnd:N,onBlur:Z,tabIndex:_,attrs:(0,C.Z)(e,!0),maxLength:I?y:void 0})),!I&&L?p.createElement("span",{className:"".concat(n,"-selection-item"),title:z,style:j?{visibility:"hidden"}:void 0},L.label):null,B)},L=function(e,t){var n=(0,p.useRef)(null),i=(0,p.useRef)(!1),o=e.prefixCls,a=e.open,u=e.mode,c=e.showSearch,l=e.tokenWithEnter,d=e.disabled,f=e.prefix,h=e.autoClearSearchValue,_=e.onSearch,m=e.onSearchSubmit,v=e.onToggleOpen,g=e.onInputKeyDown,y=e.onInputBlur,b=e.domRef;p.useImperativeHandle(t,(function(){return{focus:function(e){n.current.focus(e)},blur:function(){n.current.blur()}}}));var C=w(0),k=(0,s.Z)(C,2),E=k[0],N=k[1],Z=(0,p.useRef)(null),S=function(e){!1!==_(e,!0,i.current)&&v(!0)},R={inputRef:n,onInputKeyDown:function(e){var t,r=e.which,o=n.current instanceof HTMLTextAreaElement;(o||!a||r!==x.Z.UP&&r!==x.Z.DOWN||e.preventDefault(),g&&g(e),r!==x.Z.ENTER||"tags"!==u||i.current||a||null==m||m(e.target.value),o&&!a&&~[x.Z.UP,x.Z.DOWN,x.Z.LEFT,x.Z.RIGHT].indexOf(r))||(t=r)&&![x.Z.ESC,x.Z.SHIFT,x.Z.BACKSPACE,x.Z.TAB,x.Z.WIN_KEY,x.Z.ALT,x.Z.META,x.Z.WIN_KEY_RIGHT,x.Z.CTRL,x.Z.SEMICOLON,x.Z.EQUALS,x.Z.CAPS_LOCK,x.Z.CONTEXT_MENU,x.Z.F1,x.Z.F2,x.Z.F3,x.Z.F4,x.Z.F5,x.Z.F6,x.Z.F7,x.Z.F8,x.Z.F9,x.Z.F10,x.Z.F11,x.Z.F12].includes(t)&&v(!0)},onInputMouseDown:function(){N(!0)},onInputChange:function(e){var t=e.target.value;if(l&&Z.current&&/[\r\n]/.test(Z.current)){var n=Z.current.replace(/[\r\n]+$/,"").replace(/\r\n/g," ").replace(/[\r\n]/g," ");t=t.replace(n,Z.current)}Z.current=null,S(t)},onInputPaste:function(e){var t=e.clipboardData,n=null==t?void 0:t.getData("text");Z.current=n||""},onInputCompositionStart:function(){i.current=!0},onInputCompositionEnd:function(e){i.current=!1,"combobox"!==u&&S(e.target.value)},onInputBlur:y},O="multiple"===u||"tags"===u?p.createElement(I,(0,r.Z)({},e,R)):p.createElement(M,(0,r.Z)({},e,R));return p.createElement("div",{ref:b,className:"".concat(o,"-selector"),onClick:function(e){e.target!==n.current&&(void 0!==document.body.style.msTouchAction?setTimeout((function(){n.current.focus()})):n.current.focus())},onMouseDown:function(e){var t=E();e.target===n.current||t||"combobox"===u&&d||e.preventDefault(),("combobox"===u||c&&t)&&a||(a&&!1!==h&&_("",!0,!1),v())}},f&&p.createElement("div",{className:"".concat(o,"-prefix")},f),O)};var K=p.forwardRef(L),j=n(65030),z=["prefixCls","disabled","visible","children","popupElement","animation","transitionName","dropdownStyle","dropdownClassName","direction","placement","builtinPlacements","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","getPopupContainer","empty","getTriggerDOMNode","onPopupVisibleChange","onPopupMouseEnter"],B=function(e,t){var n=e.prefixCls,i=(e.disabled,e.visible),s=e.children,c=e.popupElement,l=e.animation,d=e.transitionName,f=e.dropdownStyle,_=e.dropdownClassName,m=e.direction,v=void 0===m?"ltr":m,g=e.placement,y=e.builtinPlacements,b=e.dropdownMatchSelectWidth,w=e.dropdownRender,x=e.dropdownAlign,C=e.getPopupContainer,k=e.empty,E=e.getTriggerDOMNode,N=e.onPopupVisibleChange,Z=e.onPopupMouseEnter,S=(0,u.Z)(e,z),R="".concat(n,"-dropdown"),O=c;w&&(O=w(c));var A=p.useMemo((function(){return y||function(e){var t=!0===e?0:1;return{bottomLeft:{points:["tl","bl"],offset:[0,4],overflow:{adjustX:t,adjustY:1},htmlRegion:"scroll"},bottomRight:{points:["tr","br"],offset:[0,4],overflow:{adjustX:t,adjustY:1},htmlRegion:"scroll"},topLeft:{points:["bl","tl"],offset:[0,-4],overflow:{adjustX:t,adjustY:1},htmlRegion:"scroll"},topRight:{points:["br","tr"],offset:[0,-4],overflow:{adjustX:t,adjustY:1},htmlRegion:"scroll"}}}(b)}),[y,b]),T=l?"".concat(R,"-").concat(l):d,D="number"==typeof b,P=p.useMemo((function(){return D?null:!1===b?"minWidth":"width"}),[b,D]),I=f;D&&(I=(0,a.Z)((0,a.Z)({},I),{},{width:b}));var M=p.useRef(null);return p.useImperativeHandle(t,(function(){return{getPopupElement:function(){var e;return null===(e=M.current)||void 0===e?void 0:e.popupElement}}})),p.createElement(j.Z,(0,r.Z)({},S,{showAction:N?["click"]:[],hideAction:N?["click"]:[],popupPlacement:g||("rtl"===v?"bottomRight":"bottomLeft"),builtinPlacements:A,prefixCls:R,popupTransitionName:T,popup:p.createElement("div",{onMouseEnter:Z},O),ref:M,stretch:P,popupAlign:x,popupVisible:i,getPopupContainer:C,popupClassName:h()(_,(0,o.Z)({},"".concat(R,"-empty"),k)),popupStyle:I,getTriggerDOMNode:E,onPopupVisibleChange:N}),s)};var F=p.forwardRef(B),W=n(66712);function V(e,t){var n,r=e.key;return"value"in e&&(n=e.value),null!=r?r:void 0!==n?n:"rc-index-key-".concat(t)}function H(e){return void 0!==e&&!Number.isNaN(e)}function U(e,t){var n=e||{},r=n.label||(t?"children":"label");return{label:r,value:n.value||"value",options:n.options||"options",groupLabel:n.groupLabel||r}}function q(e){var t=(0,a.Z)({},e);return"props"in t||Object.defineProperty(t,"props",{get:function(){return(0,d.ZP)(!1,"Return type is option instead of Option instance. Please read value directly instead of reading from `props`."),t}}),t}var Y=p.createContext(null);function G(e){var t=e.visible,n=e.values;if(!t)return null;return p.createElement("span",{"aria-live":"polite",style:{width:0,height:0,position:"absolute",overflow:"hidden",opacity:0}},"".concat(n.slice(0,50).map((function(e){var t=e.label,n=e.value;return["number","string"].includes((0,c.Z)(t))?t:n})).join(", ")),n.length>50?", ...":null)}var X=["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"],J=["value","onChange","removeIcon","placeholder","autoFocus","maxTagCount","maxTagTextLength","maxTagPlaceholder","choiceTransitionName","onInputKeyDown","onPopupScroll","tabIndex"],Q=function(e){return"tags"===e||"multiple"===e},$=p.forwardRef((function(e,t){var n,d=e.id,f=e.prefixCls,b=e.className,x=e.showSearch,C=e.tagRender,k=e.direction,E=e.omitDomProps,N=e.displayValues,Z=e.onDisplayValuesChange,S=e.emptyOptions,R=e.notFoundContent,O=void 0===R?"Not Found":R,A=e.onClear,T=e.mode,D=e.disabled,P=e.loading,I=e.getInputElement,M=e.getRawInputElement,L=e.open,j=e.defaultOpen,z=e.onDropdownVisibleChange,B=e.activeValue,V=e.onActiveValueChange,U=e.activeDescendantId,q=e.searchValue,$=e.autoClearSearchValue,ee=e.onSearch,te=e.onSearchSplit,ne=e.tokenSeparators,re=e.allowClear,ie=e.prefix,oe=e.suffixIcon,ae=e.clearIcon,se=e.OptionList,ue=e.animation,ce=e.transitionName,le=e.dropdownStyle,de=e.dropdownClassName,pe=e.dropdownMatchSelectWidth,fe=e.dropdownRender,he=e.dropdownAlign,_e=e.placement,me=e.builtinPlacements,ve=e.getPopupContainer,ge=e.showAction,ye=void 0===ge?[]:ge,be=e.onFocus,we=e.onBlur,xe=e.onKeyUp,Ce=e.onKeyDown,ke=e.onMouseDown,Ee=(0,u.Z)(e,X),Ne=Q(T),Ze=(void 0!==x?x:Ne)||"combobox"===T,Se=(0,a.Z)({},Ee);J.forEach((function(e){delete Se[e]})),null==E||E.forEach((function(e){delete Se[e]}));var Re=p.useState(!1),Oe=(0,s.Z)(Re,2),Ae=Oe[0],Te=Oe[1];p.useEffect((function(){Te((0,m.Z)())}),[]);var De=p.useRef(null),Pe=p.useRef(null),Ie=p.useRef(null),Me=p.useRef(null),Le=p.useRef(null),Ke=p.useRef(!1),je=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:10,t=p.useState(!1),n=(0,s.Z)(t,2),r=n[0],i=n[1],o=p.useRef(null),a=function(){window.clearTimeout(o.current)};return p.useEffect((function(){return a}),[]),[r,function(t,n){a(),o.current=window.setTimeout((function(){i(t),n&&n()}),e)},a]}(),ze=(0,s.Z)(je,3),Be=ze[0],Fe=ze[1],We=ze[2];p.useImperativeHandle(t,(function(){var e,t;return{focus:null===(e=Me.current)||void 0===e?void 0:e.focus,blur:null===(t=Me.current)||void 0===t?void 0:t.blur,scrollTo:function(e){var t;return null===(t=Le.current)||void 0===t?void 0:t.scrollTo(e)},nativeElement:De.current||Pe.current}}));var Ve=p.useMemo((function(){var e;if("combobox"!==T)return q;var t=null===(e=N[0])||void 0===e?void 0:e.value;return"string"==typeof t||"number"==typeof t?String(t):""}),[q,T,N]),He="combobox"===T&&"function"==typeof I&&I()||null,Ue="function"==typeof M&&M(),qe=(0,v.x1)(Pe,null==Ue||null===(n=Ue.props)||void 0===n?void 0:n.ref),Ye=p.useState(!1),Ge=(0,s.Z)(Ye,2),Xe=Ge[0],Je=Ge[1];(0,_.Z)((function(){Je(!0)}),[]);var Qe=(0,l.Z)(!1,{defaultValue:j,value:L}),$e=(0,s.Z)(Qe,2),et=$e[0],tt=$e[1],nt=!!Xe&&et,rt=!O&&S;(D||rt&&nt&&"combobox"===T)&&(nt=!1);var it=!rt&&nt,ot=p.useCallback((function(e){var t=void 0!==e?e:!nt;D||(tt(t),nt!==t&&(null==z||z(t)))}),[D,nt,tt,z]),at=p.useMemo((function(){return(ne||[]).some((function(e){return["\n","\r\n"].includes(e)}))}),[ne]),st=p.useContext(Y)||{},ut=st.maxCount,ct=st.rawValues,lt=function(e,t,n){if(!(Ne&&H(ut)&&(null==ct?void 0:ct.size)>=ut)){var r=!0,o=e;null==V||V(null);var a=function(e,t,n){if(!t||!t.length)return null;var r=!1,o=function e(t,n){var o=(0,W.Z)(n),a=o[0],s=o.slice(1);if(!a)return[t];var u=t.split(a);return r=r||u.length>1,u.reduce((function(t,n){return[].concat((0,i.Z)(t),(0,i.Z)(e(n,s)))}),[]).filter(Boolean)}(e,t);return r?void 0!==n?o.slice(0,n):o:null}(e,ne,H(ut)?ut-ct.size:void 0),s=n?null:a;return"combobox"!==T&&s&&(o="",null==te||te(s),ot(!1),r=!1),ee&&Ve!==o&&ee(o,{source:t?"typing":"effect"}),r}};p.useEffect((function(){nt||Ne||"combobox"===T||lt("",!1,!1)}),[nt]),p.useEffect((function(){et&&D&&tt(!1),D&&!Ke.current&&Fe(!1)}),[D]);var dt=w(),pt=(0,s.Z)(dt,2),ft=pt[0],ht=pt[1],_t=p.useRef(!1),mt=p.useRef(!1),vt=[];p.useEffect((function(){return function(){vt.forEach((function(e){return clearTimeout(e)})),vt.splice(0,vt.length)}}),[]);var gt,yt=p.useState({}),bt=(0,s.Z)(yt,2)[1];Ue&&(gt=function(e){ot(e)}),function(e,t,n,r){var i=p.useRef(null);i.current={open:t,triggerOpen:n,customizedTrigger:r},p.useEffect((function(){function t(t){var n;if(null===(n=i.current)||void 0===n||!n.customizedTrigger){var r=t.target;r.shadowRoot&&t.composed&&(r=t.composedPath()[0]||r),i.current.open&&e().filter((function(e){return e})).every((function(e){return!e.contains(r)&&e!==r}))&&i.current.triggerOpen(!1)}}return window.addEventListener("mousedown",t),function(){return window.removeEventListener("mousedown",t)}}),[])}((function(){var e;return[De.current,null===(e=Ie.current)||void 0===e?void 0:e.getPopupElement()]}),it,ot,!!Ue);var wt,xt=p.useMemo((function(){return(0,a.Z)((0,a.Z)({},e),{},{notFoundContent:O,open:nt,triggerOpen:it,id:d,showSearch:Ze,multiple:Ne,toggleOpen:ot})}),[e,O,it,nt,d,Ze,Ne,ot]),Ct=!!oe||P;Ct&&(wt=p.createElement(g,{className:h()("".concat(f,"-arrow"),(0,o.Z)({},"".concat(f,"-arrow-loading"),P)),customizeIcon:oe,customizeIconProps:{loading:P,searchValue:Ve,open:nt,focused:Be,showSearch:Ze}}));var kt,Et=function(e,t,n,r,i){var o=arguments.length>5&&void 0!==arguments[5]&&arguments[5],a=arguments.length>6?arguments[6]:void 0,s=arguments.length>7?arguments[7]:void 0,u=p.useMemo((function(){return"object"===(0,c.Z)(r)?r.clearIcon:i||void 0}),[r,i]),l=p.useMemo((function(){return!(o||!r||!n.length&&!a||"combobox"===s&&""===a)}),[r,o,n.length,a,s]);return{allowClear:l,clearIcon:p.createElement(g,{className:"".concat(e,"-clear"),onMouseDown:t,customizeIcon:u},"×")}}(f,(function(){var e;null==A||A(),null===(e=Me.current)||void 0===e||e.focus(),Z([],{type:"clear",values:N}),lt("",!1,!1)}),N,re,ae,D,Ve,T),Nt=Et.allowClear,Zt=Et.clearIcon,St=p.createElement(se,{ref:Le}),Rt=h()(f,b,(0,o.Z)((0,o.Z)((0,o.Z)((0,o.Z)((0,o.Z)((0,o.Z)((0,o.Z)((0,o.Z)((0,o.Z)((0,o.Z)({},"".concat(f,"-focused"),Be),"".concat(f,"-multiple"),Ne),"".concat(f,"-single"),!Ne),"".concat(f,"-allow-clear"),re),"".concat(f,"-show-arrow"),Ct),"".concat(f,"-disabled"),D),"".concat(f,"-loading"),P),"".concat(f,"-open"),nt),"".concat(f,"-customize-input"),He),"".concat(f,"-show-search"),Ze)),Ot=p.createElement(F,{ref:Ie,disabled:D,prefixCls:f,visible:it,popupElement:St,animation:ue,transitionName:ce,dropdownStyle:le,dropdownClassName:de,direction:k,dropdownMatchSelectWidth:pe,dropdownRender:fe,dropdownAlign:he,placement:_e,builtinPlacements:me,getPopupContainer:ve,empty:S,getTriggerDOMNode:function(e){return Pe.current||e},onPopupVisibleChange:gt,onPopupMouseEnter:function(){bt({})}},Ue?p.cloneElement(Ue,{ref:qe}):p.createElement(K,(0,r.Z)({},e,{domRef:Pe,prefixCls:f,inputElement:He,ref:Me,id:d,prefix:ie,showSearch:Ze,autoClearSearchValue:$,mode:T,activeDescendantId:U,tagRender:C,values:N,open:nt,onToggleOpen:ot,activeValue:B,searchValue:Ve,onSearch:lt,onSearchSubmit:function(e){e&&e.trim()&&ee(e,{source:"submit"})},onRemove:function(e){var t=N.filter((function(t){return t!==e}));Z(t,{type:"remove",values:[e]})},tokenWithEnter:at,onInputBlur:function(){_t.current=!1}})));return kt=Ue?Ot:p.createElement("div",(0,r.Z)({className:Rt},Se,{ref:De,onMouseDown:function(e){var t,n=e.target,r=null===(t=Ie.current)||void 0===t?void 0:t.getPopupElement();if(r&&r.contains(n)){var i=setTimeout((function(){var e,t=vt.indexOf(i);-1!==t&&vt.splice(t,1),We(),Ae||r.contains(document.activeElement)||null===(e=Me.current)||void 0===e||e.focus()}));vt.push(i)}for(var o=arguments.length,a=new Array(o>1?o-1:0),s=1;s<o;s++)a[s-1]=arguments[s];null==ke||ke.apply(void 0,[e].concat(a))},onKeyDown:function(e){var t,n=ft(),r=e.key,o="Enter"===r;if(o&&("combobox"!==T&&e.preventDefault(),nt||ot(!0)),ht(!!Ve),"Backspace"===r&&!n&&Ne&&!Ve&&N.length){for(var a=(0,i.Z)(N),s=null,u=a.length-1;u>=0;u-=1){var c=a[u];if(!c.disabled){a.splice(u,1),s=c;break}}s&&Z(a,{type:"remove",values:[s]})}for(var l=arguments.length,d=new Array(l>1?l-1:0),p=1;p<l;p++)d[p-1]=arguments[p];!nt||o&&_t.current||(o&&(_t.current=!0),null===(t=Le.current)||void 0===t||t.onKeyDown.apply(t,[e].concat(d))),null==Ce||Ce.apply(void 0,[e].concat(d))},onKeyUp:function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];var i;nt&&(null===(i=Le.current)||void 0===i||i.onKeyUp.apply(i,[e].concat(n))),"Enter"===e.key&&(_t.current=!1),null==xe||xe.apply(void 0,[e].concat(n))},onFocus:function(){Fe(!0),D||(be&&!mt.current&&be.apply(void 0,arguments),ye.includes("focus")&&ot(!0)),mt.current=!0},onBlur:function(){Ke.current=!0,Fe(!1,(function(){mt.current=!1,Ke.current=!1,ot(!1)})),D||(Ve&&("tags"===T?ee(Ve,{source:"submit"}):"multiple"===T&&ee("",{source:"blur"})),we&&we.apply(void 0,arguments))}}),p.createElement(G,{visible:Be&&!nt,values:N}),Ot,wt,Nt&&Zt),p.createElement(y.Provider,{value:xt},kt)}));var ee=$,te=function(){return null};te.isSelectOptGroup=!0;var ne=te,re=function(){return null};re.isSelectOption=!0;var ie=re,oe=n(80547),ae=n(2738),se=n(48911);var ue=["disabled","title","children","style","className"];function ce(e){return"string"==typeof e||"number"==typeof e}var le=function(e,t){var n=b(),a=n.prefixCls,c=n.id,l=n.open,d=n.multiple,f=n.mode,_=n.searchValue,m=n.toggleOpen,v=n.notFoundContent,y=n.onPopupScroll,w=p.useContext(Y),k=w.maxCount,E=w.flattenOptions,N=w.onActiveValue,Z=w.defaultActiveFirstOption,S=w.onSelect,R=w.menuItemSelectedIcon,O=w.rawValues,A=w.fieldNames,T=w.virtual,D=w.direction,P=w.listHeight,I=w.listItemHeight,M=w.optionRender,L="".concat(a,"-item"),K=(0,oe.Z)((function(){return E}),[l,E],(function(e,t){return t[0]&&e[1]!==t[1]})),j=p.useRef(null),z=p.useMemo((function(){return d&&H(k)&&(null==O?void 0:O.size)>=k}),[d,k,null==O?void 0:O.size]),B=function(e){e.preventDefault()},F=function(e){var t;null===(t=j.current)||void 0===t||t.scrollTo("number"==typeof e?{index:e}:e)},W=p.useCallback((function(e){return"combobox"!==f&&O.has(e)}),[f,(0,i.Z)(O).toString(),O.size]),V=function(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,n=K.length,r=0;r<n;r+=1){var i=(e+r*t+n)%n,o=K[i]||{},a=o.group,s=o.data;if(!a&&(null==s||!s.disabled)&&(W(s.value)||!z))return i}return-1},U=p.useState((function(){return V(0)})),q=(0,s.Z)(U,2),G=q[0],X=q[1],J=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];X(e);var n={source:t?"keyboard":"mouse"},r=K[e];r?N(r.value,e,n):N(null,-1,n)};(0,p.useEffect)((function(){J(!1!==Z?V(0):-1)}),[K.length,_]);var Q=p.useCallback((function(e){return"combobox"===f?String(e).toLowerCase()===_.toLowerCase():O.has(e)}),[f,_,(0,i.Z)(O).toString(),O.size]);(0,p.useEffect)((function(){var e,t=setTimeout((function(){if(!d&&l&&1===O.size){var e=Array.from(O)[0],t=K.findIndex((function(t){var n=t.data;return _?String(n.value).startsWith(_):n.value===e}));-1!==t&&(J(t),F(t))}}));l&&(null===(e=j.current)||void 0===e||e.scrollTo(void 0));return function(){return clearTimeout(t)}}),[l,_]);var $=function(e){void 0!==e&&S(e,{selected:!O.has(e)}),d||m(!1)};if(p.useImperativeHandle(t,(function(){return{onKeyDown:function(e){var t=e.which,n=e.ctrlKey;switch(t){case x.Z.N:case x.Z.P:case x.Z.UP:case x.Z.DOWN:var r=0;if(t===x.Z.UP?r=-1:t===x.Z.DOWN?r=1:/(mac\sos|macintosh)/i.test(navigator.appVersion)&&n&&(t===x.Z.N?r=1:t===x.Z.P&&(r=-1)),0!==r){var i=V(G+r,r);F(i),J(i,!0)}break;case x.Z.TAB:case x.Z.ENTER:var o,a=K[G];!a||null!=a&&null!==(o=a.data)&&void 0!==o&&o.disabled||z?$(void 0):$(a.value),l&&e.preventDefault();break;case x.Z.ESC:m(!1),l&&e.stopPropagation()}},onKeyUp:function(){},scrollTo:function(e){F(e)}}})),0===K.length)return p.createElement("div",{role:"listbox",id:"".concat(c,"_list"),className:"".concat(L,"-empty"),onMouseDown:B},v);var ee=Object.keys(A).map((function(e){return A[e]})),te=function(e){return e.label};function ne(e,t){return{role:e.group?"presentation":"option",id:"".concat(c,"_list_").concat(t)}}var re=function(e){var t=K[e];if(!t)return null;var n=t.data||{},i=n.value,o=t.group,a=(0,C.Z)(n,!0),s=te(t);return t?p.createElement("div",(0,r.Z)({"aria-label":"string"!=typeof s||o?null:s},a,{key:e},ne(t,e),{"aria-selected":Q(i)}),i):null},ie={role:"listbox",id:"".concat(c,"_list")};return p.createElement(p.Fragment,null,T&&p.createElement("div",(0,r.Z)({},ie,{style:{height:0,width:0,overflow:"hidden"}}),re(G-1),re(G),re(G+1)),p.createElement(se.Z,{itemKey:"key",ref:j,data:K,height:P,itemHeight:I,fullHeight:!1,onMouseDown:B,onScroll:y,virtual:T,direction:D,innerProps:T?null:ie},(function(e,t){var n=e.group,i=e.groupOption,a=e.data,s=e.label,c=e.value,l=a.key;if(n){var d,f=null!==(d=a.title)&&void 0!==d?d:ce(s)?s.toString():void 0;return p.createElement("div",{className:h()(L,"".concat(L,"-group"),a.className),title:f},void 0!==s?s:l)}var _=a.disabled,m=a.title,v=(a.children,a.style),y=a.className,b=(0,u.Z)(a,ue),w=(0,ae.Z)(b,ee),x=W(c),k=_||!x&&z,E="".concat(L,"-option"),N=h()(L,E,y,(0,o.Z)((0,o.Z)((0,o.Z)((0,o.Z)({},"".concat(E,"-grouped"),i),"".concat(E,"-active"),G===t&&!k),"".concat(E,"-disabled"),k),"".concat(E,"-selected"),x)),Z=te(e),S=!R||"function"==typeof R||x,O="number"==typeof Z?Z:Z||c,A=ce(O)?O.toString():void 0;return void 0!==m&&(A=m),p.createElement("div",(0,r.Z)({},(0,C.Z)(w),T?{}:ne(e,t),{"aria-selected":Q(c),className:N,title:A,onMouseMove:function(){G===t||k||J(t)},onClick:function(){k||$(c)},style:v}),p.createElement("div",{className:"".concat(E,"-content")},"function"==typeof M?M(e,{index:t}):O),p.isValidElement(R)||x,S&&p.createElement(g,{className:"".concat(L,"-option-state"),customizeIcon:R,customizeIconProps:{value:c,disabled:k,isSelected:x}},x?"✓":null))})))};var de=p.forwardRef(le);function pe(e,t){return R(e).join("").toUpperCase().includes(t)}var fe=n(6551),he=n(11592),_e=["children","value"],me=["children"];function ve(e){var t=e,n=t.key,r=t.props,i=r.children,o=r.value,s=(0,u.Z)(r,_e);return(0,a.Z)({key:n,value:void 0!==o?o:n,children:i},s)}function ge(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return(0,he.Z)(e).map((function(e,n){if(!p.isValidElement(e)||!e.type)return null;var r=e,i=r.type.isSelectOptGroup,o=r.key,s=r.props,c=s.children,l=(0,u.Z)(s,me);return t||!i?ve(e):(0,a.Z)((0,a.Z)({key:"__RC_SELECT_GRP__".concat(null===o?n:o,"__"),label:o},l),{},{options:ge(c)})})).filter((function(e){return e}))}var ye=function(e,t,n,r,i){return p.useMemo((function(){var o=e;!e&&(o=ge(t));var a=new Map,s=new Map,u=function(e,t,n){n&&"string"==typeof n&&e.set(t[n],t)};return function e(t){for(var o=arguments.length>1&&void 0!==arguments[1]&&arguments[1],c=0;c<t.length;c+=1){var l=t[c];!l[n.options]||o?(a.set(l[n.value],l),u(s,l,n.label),u(s,l,r),u(s,l,i)):e(l[n.options],!0)}}(o),{options:o,valueOptions:a,labelOptions:s}}),[e,t,n,r,i])};function be(e){var t=p.useRef();t.current=e;var n=p.useCallback((function(){return t.current.apply(t,arguments)}),[]);return n}var we=["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"],xe=["inputValue"];var Ce=p.forwardRef((function(e,t){var n=e.id,d=e.mode,f=e.prefixCls,h=void 0===f?"rc-select":f,_=e.backfill,m=e.fieldNames,v=e.inputValue,g=e.searchValue,y=e.onSearch,b=e.autoClearSearchValue,w=void 0===b||b,x=e.onSelect,C=e.onDeselect,k=e.dropdownMatchSelectWidth,E=void 0===k||k,N=e.filterOption,Z=e.filterSort,S=e.optionFilterProp,O=e.optionLabelProp,A=e.options,T=e.optionRender,D=e.children,P=e.defaultActiveFirstOption,I=e.menuItemSelectedIcon,M=e.virtual,L=e.direction,K=e.listHeight,j=void 0===K?200:K,z=e.listItemHeight,B=void 0===z?20:z,F=e.labelRender,W=e.value,H=e.defaultValue,G=e.labelInValue,X=e.onChange,J=e.maxCount,$=(0,u.Z)(e,we),te=(0,fe.ZP)(n),ne=Q(d),re=!(A||!D),ie=p.useMemo((function(){return(void 0!==N||"combobox"!==d)&&N}),[N,d]),oe=p.useMemo((function(){return U(m,re)}),[JSON.stringify(m),re]),ae=(0,l.Z)("",{value:void 0!==g?g:v,postState:function(e){return e||""}}),se=(0,s.Z)(ae,2),ue=se[0],ce=se[1],le=ye(A,D,oe,S,O),he=le.valueOptions,_e=le.labelOptions,me=le.options,ve=p.useCallback((function(e){return R(e).map((function(e){var t,n,r,i,o,a;(function(e){return!e||"object"!==(0,c.Z)(e)})(e)?t=e:(r=e.key,n=e.label,t=null!==(a=e.value)&&void 0!==a?a:r);var s,u=he.get(t);u&&(void 0===n&&(n=null==u?void 0:u[O||oe.label]),void 0===r&&(r=null!==(s=null==u?void 0:u.key)&&void 0!==s?s:t),i=null==u?void 0:u.disabled,o=null==u?void 0:u.title);return{label:n,value:t,key:r,disabled:i,title:o}}))}),[oe,O,he]),ge=(0,l.Z)(H,{value:W}),Ce=(0,s.Z)(ge,2),ke=Ce[0],Ee=Ce[1],Ne=p.useMemo((function(){var e,t=ve(ne&&null===ke?[]:ke);return"combobox"===d&&function(e){return!e&&0!==e}(null===(e=t[0])||void 0===e?void 0:e.value)?[]:t}),[ke,ve,d,ne]),Ze=function(e,t){var n=p.useRef({values:new Map,options:new Map});return[p.useMemo((function(){var r=n.current,i=r.values,o=r.options,s=e.map((function(e){var t;return void 0===e.label?(0,a.Z)((0,a.Z)({},e),{},{label:null===(t=i.get(e.value))||void 0===t?void 0:t.label}):e})),u=new Map,c=new Map;return s.forEach((function(e){u.set(e.value,e),c.set(e.value,t.get(e.value)||o.get(e.value))})),n.current.values=u,n.current.options=c,s}),[e,t]),p.useCallback((function(e){return t.get(e)||n.current.options.get(e)}),[t])]}(Ne,he),Se=(0,s.Z)(Ze,2),Re=Se[0],Oe=Se[1],Ae=p.useMemo((function(){if(!d&&1===Re.length){var e=Re[0];if(null===e.value&&(null===e.label||void 0===e.label))return[]}return Re.map((function(e){var t;return(0,a.Z)((0,a.Z)({},e),{},{label:null!==(t="function"==typeof F?F(e):e.label)&&void 0!==t?t:e.value})}))}),[d,Re,F]),Te=p.useMemo((function(){return new Set(Re.map((function(e){return e.value})))}),[Re]);p.useEffect((function(){if("combobox"===d){var e,t=null===(e=Re[0])||void 0===e?void 0:e.value;ce(function(e){return null!=e}(t)?String(t):"")}}),[Re]);var De=be((function(e,t){var n=null!=t?t:e;return(0,o.Z)((0,o.Z)({},oe.value,e),oe.label,n)})),Pe=function(e,t,n,r,i){return p.useMemo((function(){if(!n||!1===r)return e;var s=t.options,u=t.label,c=t.value,l=[],d="function"==typeof r,p=n.toUpperCase(),f=d?r:function(e,t){return i?pe(t[i],p):t[s]?pe(t["children"!==u?u:"label"],p):pe(t[c],p)},h=d?function(e){return q(e)}:function(e){return e};return e.forEach((function(e){if(e[s])if(f(n,h(e)))l.push(e);else{var t=e[s].filter((function(e){return f(n,h(e))}));t.length&&l.push((0,a.Z)((0,a.Z)({},e),{},(0,o.Z)({},s,t)))}else f(n,h(e))&&l.push(e)})),l}),[e,r,i,n,t])}(p.useMemo((function(){if("tags"!==d)return me;var e=(0,i.Z)(me);return(0,i.Z)(Re).sort((function(e,t){return e.value<t.value?-1:1})).forEach((function(t){var n=t.value;(function(e){return he.has(e)})(n)||e.push(De(n,t.label))})),e}),[De,me,he,Re,d]),oe,ue,ie,S),Ie=p.useMemo((function(){return"tags"!==d||!ue||Pe.some((function(e){return e[S||"value"]===ue}))||Pe.some((function(e){return e[oe.value]===ue}))?Pe:[De(ue)].concat((0,i.Z)(Pe))}),[De,S,d,Pe,ue,oe]),Me=function e(t){return(0,i.Z)(t).sort((function(e,t){return Z(e,t,{searchValue:ue})})).map((function(t){return Array.isArray(t.options)?(0,a.Z)((0,a.Z)({},t),{},{options:t.options.length>0?e(t.options):t.options}):t}))},Le=p.useMemo((function(){return Z?Me(Ie):Ie}),[Ie,Z,ue]),Ke=p.useMemo((function(){return function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.fieldNames,r=t.childrenAsData,i=[],o=U(n,!1),a=o.label,s=o.value,u=o.options,c=o.groupLabel;function l(e,t){Array.isArray(e)&&e.forEach((function(e){if(t||!(u in e)){var n=e[s];i.push({key:V(e,i.length),groupOption:t,data:e,label:e[a],value:n})}else{var o=e[c];void 0===o&&r&&(o=e.label),i.push({key:V(e,i.length),group:!0,data:e,label:o}),l(e[u],!0)}}))}return l(e,!1),i}(Le,{fieldNames:oe,childrenAsData:re})}),[Le,oe,re]),je=function(e){var t=ve(e);if(Ee(t),X&&(t.length!==Re.length||t.some((function(e,t){var n;return(null===(n=Re[t])||void 0===n?void 0:n.value)!==(null==e?void 0:e.value)})))){var n=G?t:t.map((function(e){return e.value})),r=t.map((function(e){return q(Oe(e.value))}));X(ne?n:n[0],ne?r:r[0])}},ze=p.useState(null),Be=(0,s.Z)(ze,2),Fe=Be[0],We=Be[1],Ve=p.useState(0),He=(0,s.Z)(Ve,2),Ue=He[0],qe=He[1],Ye=void 0!==P?P:"combobox"!==d,Ge=p.useCallback((function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=n.source,i=void 0===r?"keyboard":r;qe(t),_&&"combobox"===d&&null!==e&&"keyboard"===i&&We(String(e))}),[_,d]),Xe=function(e,t,n){var r=function(){var t,n=Oe(e);return[G?{label:null==n?void 0:n[oe.label],value:e,key:null!==(t=null==n?void 0:n.key)&&void 0!==t?t:e}:e,q(n)]};if(t&&x){var i=r(),o=(0,s.Z)(i,2),a=o[0],u=o[1];x(a,u)}else if(!t&&C&&"clear"!==n){var c=r(),l=(0,s.Z)(c,2),d=l[0],p=l[1];C(d,p)}},Je=be((function(e,t){var n,r=!ne||t.selected;n=r?ne?[].concat((0,i.Z)(Re),[e]):[e]:Re.filter((function(t){return t.value!==e})),je(n),Xe(e,r),"combobox"===d?We(""):Q&&!w||(ce(""),We(""))})),Qe=p.useMemo((function(){var e=!1!==M&&!1!==E;return(0,a.Z)((0,a.Z)({},le),{},{flattenOptions:Ke,onActiveValue:Ge,defaultActiveFirstOption:Ye,onSelect:Je,menuItemSelectedIcon:I,rawValues:Te,fieldNames:oe,virtual:e,direction:L,listHeight:j,listItemHeight:B,childrenAsData:re,maxCount:J,optionRender:T})}),[J,le,Ke,Ge,Ye,Je,I,Te,oe,M,E,L,j,B,re,T]);return p.createElement(Y.Provider,{value:Qe},p.createElement(ee,(0,r.Z)({},$,{id:te,prefixCls:h,ref:t,omitDomProps:xe,mode:d,displayValues:Ae,onDisplayValuesChange:function(e,t){je(e);var n=t.type,r=t.values;"remove"!==n&&"clear"!==n||r.forEach((function(e){Xe(e.value,!1,n)}))},direction:L,searchValue:ue,onSearch:function(e,t){if(ce(e),We(null),"submit"!==t.source)"blur"!==t.source&&("combobox"===d&&je(e),null==y||y(e));else{var n=(e||"").trim();if(n){var r=Array.from(new Set([].concat((0,i.Z)(Te),[n])));je(r),Xe(n,!0),ce("")}}},autoClearSearchValue:w,onSearchSplit:function(e){var t=e;"tags"!==d&&(t=e.map((function(e){var t=_e.get(e);return null==t?void 0:t.value})).filter((function(e){return void 0!==e})));var n=Array.from(new Set([].concat((0,i.Z)(Te),(0,i.Z)(t))));je(n),n.forEach((function(e){Xe(e,!0)}))},dropdownMatchSelectWidth:E,OptionList:de,emptyOptions:!Ke.length,activeValue:Fe,activeDescendantId:"".concat(te,"_list_").concat(Ue)})))}));var ke=Ce;ke.Option=ie,ke.OptGroup=ne;var Ee=ke},86351:function(e,t,n){"use strict";n.d(t,{R:function(){return i},w:function(){return r}});var r={},i="rc-table-internal-hook"},97347:function(e,t,n){"use strict";n.d(t,{L:function(){return m},Z:function(){return y}});var r=n(42978),i=n(20068),o=n(94480),a=n(76190),s=n(33885),u=n(75931),c=n(11592),l=(n(48736),n(59301)),d=n(86351),p=n(54451);function f(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return"number"==typeof t?t:t.endsWith("%")?e*parseFloat(t)/100:null}var h=["children"],_=["fixed"];function m(e){return(0,c.Z)(e).filter((function(e){return l.isValidElement(e)})).map((function(e){var t=e.key,n=e.props,r=n.children,i=(0,u.Z)(n,h),o=(0,s.Z)({key:t},i);return r&&(o.children=m(r)),o}))}function v(e){return e.filter((function(e){return e&&"object"===(0,a.Z)(e)&&!e.hidden})).map((function(e){var t=e.children;return t&&t.length>0?(0,s.Z)((0,s.Z)({},e),{},{children:v(t)}):e}))}function g(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"key";return e.filter((function(e){return e&&"object"===(0,a.Z)(e)})).reduce((function(e,n,r){var i=n.fixed,a=!0===i?"left":i,u="".concat(t,"-").concat(r),c=n.children;return c&&c.length>0?[].concat((0,o.Z)(e),(0,o.Z)(g(c,u).map((function(e){return(0,s.Z)({fixed:a},e)})))):[].concat((0,o.Z)(e),[(0,s.Z)((0,s.Z)({key:u},n),{},{fixed:a})])}),[])}var y=function(e,t){var n=e.prefixCls,o=e.columns,a=e.children,c=e.expandable,h=e.expandedKeys,y=e.columnTitle,b=e.getRowKey,w=e.onTriggerExpand,x=e.expandIcon,C=e.rowExpandable,k=e.expandIconColumnIndex,E=e.direction,N=e.expandRowByClick,Z=e.columnWidth,S=e.fixed,R=e.scrollWidth,O=e.clientWidth,A=l.useMemo((function(){return v((o||m(a)||[]).slice())}),[o,a]),T=l.useMemo((function(){if(c){var e=A.slice();if(!e.includes(d.w)){var t=k||0;t>=0&&(t||"left"===S||!S)&&e.splice(t,0,d.w),"right"===S&&e.splice(A.length,0,d.w)}0;var r=e.indexOf(d.w);e=e.filter((function(e,t){return e!==d.w||t===r}));var o,a=A[r];o=S||(a?a.fixed:null);var s=(0,i.Z)((0,i.Z)((0,i.Z)((0,i.Z)((0,i.Z)((0,i.Z)({},p.v,{className:"".concat(n,"-expand-icon-col"),columnType:"EXPAND_COLUMN"}),"title",y),"fixed",o),"className","".concat(n,"-row-expand-icon-cell")),"width",Z),"render",(function(e,t,r){var i=b(t,r),o=h.has(i),a=!C||C(t),s=x({prefixCls:n,expanded:o,expandable:a,record:t,onExpand:w});return N?l.createElement("span",{onClick:function(e){return e.stopPropagation()}},s):s}));return e.map((function(e){return e===d.w?s:e}))}return A.filter((function(e){return e!==d.w}))}),[c,A,b,h,x,E]),D=l.useMemo((function(){var e=T;return t&&(e=t(e)),e.length||(e=[{render:function(){return null}}]),e}),[t,T,E]),P=l.useMemo((function(){return"rtl"===E?function(e){return e.map((function(e){var t=e.fixed,n=(0,u.Z)(e,_),r=t;return"left"===t?r="right":"right"===t&&(r="left"),(0,s.Z)({fixed:r},n)}))}(g(D)):g(D)}),[D,E,R]),I=l.useMemo((function(){for(var e=-1,t=P.length-1;t>=0;t-=1){var n=P[t].fixed;if("left"===n||!0===n){e=t;break}}if(e>=0)for(var r=0;r<=e;r+=1){var i=P[r].fixed;if("left"!==i&&!0!==i)return!0}var o=P.findIndex((function(e){return"right"===e.fixed}));if(o>=0)for(var a=o;a<P.length;a+=1){if("right"!==P[a].fixed)return!0}return!1}),[P]),M=function(e,t,n){return l.useMemo((function(){if(t&&t>0){var r=0,i=0;e.forEach((function(e){var n=f(t,e.width);n?r+=n:i+=1}));var o=Math.max(t,n),a=Math.max(o-r,i),u=i,c=a/i,l=0,d=e.map((function(e){var n=(0,s.Z)({},e),r=f(t,n.width);if(r)n.width=r;else{var i=Math.floor(c);n.width=1===u?a:i,a-=i,u-=1}return l+=n.width,n}));if(l<o){var p=o/l;a=o,d.forEach((function(e,t){var n=Math.floor(e.width*p);e.width=t===d.length-1?a:n,a-=n}))}return[d,Math.max(l,o)]}return[e,t]}),[e,t,n])}(P,R,O),L=(0,r.Z)(M,2),K=L[0],j=L[1];return[D,K,j,I]}},4030:function(e,t,n){"use strict";n.d(t,{w2:function(){return r.w},vP:function(){return oe.v},RQ:function(){return r.R},ER:function(){return F},Q$:function(){return Te},TN:function(){return He}});var r=n(86351),i=n(42978),o=n(6089),a=n(34280),s=n(13697),u=n(59301),c=n(4676);function l(e){var t=u.createContext(void 0);return{Context:t,Provider:function(e){var n=e.value,r=e.children,o=u.useRef(n);o.current=n;var s=u.useState((function(){return{getValue:function(){return o.current},listeners:new Set}})),l=(0,i.Z)(s,1)[0];return(0,a.Z)((function(){(0,c.unstable_batchedUpdates)((function(){l.listeners.forEach((function(e){e(n)}))}))}),[n]),u.createElement(t.Provider,{value:l},r)},defaultValue:e}}function d(e,t){var n=(0,o.Z)("function"==typeof t?t:function(e){if(void 0===t)return e;if(!Array.isArray(t))return e[t];var n={};return t.forEach((function(t){n[t]=e[t]})),n}),r=u.useContext(null==e?void 0:e.Context),c=r||{},l=c.listeners,d=c.getValue,p=u.useRef();p.current=n(r?d():null==e?void 0:e.defaultValue);var f=u.useState({}),h=(0,i.Z)(f,2)[1];return(0,a.Z)((function(){if(r)return l.add(e),function(){l.delete(e)};function e(e){var t=n(e);(0,s.Z)(p.current,t,!0)||h({})}}),[r]),p.current}var p=n(54476),f=n(8654);function h(){var e=u.createContext(null);function t(){return u.useContext(e)}return{makeImmutable:function(n,r){var i=(0,f.Yr)(n),o=function(o,a){var s=i?{ref:a}:{},c=u.useRef(0),l=u.useRef(o);return null!==t()?u.createElement(n,(0,p.Z)({},o,s)):(r&&!r(l.current,o)||(c.current+=1),l.current=o,u.createElement(e.Provider,{value:c.current},u.createElement(n,(0,p.Z)({},o,s))))};return i?u.forwardRef(o):o},responseImmutable:function(e,n){var r=(0,f.Yr)(e),i=function(n,i){var o=r?{ref:i}:{};return t(),u.createElement(e,(0,p.Z)({},n,o))};return r?u.memo(u.forwardRef(i),n):u.memo(i,n)},useImmutableMark:t}}var _=h(),m=(_.makeImmutable,_.responseImmutable,_.useImmutableMark,h()),v=m.makeImmutable,g=m.responseImmutable,y=m.useImmutableMark,b=l();var w=n(76190),x=n(33885),C=n(20068),k=n(92310),E=n.n(k),N=n(80547),Z=n(97938),S=(n(48736),u.createContext({renderWithProps:!1}));function R(e){var t=[],n={};return e.forEach((function(e){for(var r,i=e||{},o=i.key,a=i.dataIndex,s=o||(r=a,null==r?[]:Array.isArray(r)?r:[r]).join("-")||"RC_TABLE_KEY";n[s];)s="".concat(s,"_next");n[s]=!0,t.push(s)})),t}function O(e){return null!=e}function A(e,t,n,r,o,a){var c=u.useContext(S),l=y();return(0,N.Z)((function(){if(O(r))return[r];var i,a=null==t||""===t?[]:Array.isArray(t)?t:[t],s=(0,Z.Z)(e,a),l=s,d=void 0;if(o){var p=o(s,e,n);!(i=p)||"object"!==(0,w.Z)(i)||Array.isArray(i)||u.isValidElement(i)?l=p:(l=p.children,d=p.props,c.renderWithProps=!0)}return[l,d]}),[l,e,r,t,o,n],(function(e,t){if(a){var n=(0,i.Z)(e,2)[1],r=(0,i.Z)(t,2)[1];return a(r,n)}return!!c.renderWithProps||!(0,s.Z)(e,t,!0)}))}var T=n(70425);function D(e){var t,n,r,o,a,s,c,l;var f=e.component,h=e.children,_=e.ellipsis,m=e.scope,v=e.prefixCls,g=e.className,y=e.align,k=e.record,N=e.render,Z=e.dataIndex,S=e.renderIndex,R=e.shouldCellUpdate,O=e.index,D=e.rowType,P=e.colSpan,I=e.rowSpan,M=e.fixLeft,L=e.fixRight,K=e.firstFixLeft,j=e.lastFixLeft,z=e.firstFixRight,B=e.lastFixRight,F=e.appendNode,W=e.additionalProps,V=void 0===W?{}:W,H=e.isSticky,U="".concat(v,"-cell"),q=d(b,["supportSticky","allColumnsFixedLeft","rowHoverable"]),Y=q.supportSticky,G=q.allColumnsFixedLeft,X=q.rowHoverable,J=A(k,Z,S,h,N,R),Q=(0,i.Z)(J,2),$=Q[0],ee=Q[1],te={},ne="number"==typeof M&&Y,re="number"==typeof L&&Y;ne&&(te.position="sticky",te.left=M),re&&(te.position="sticky",te.right=L);var ie=null!==(t=null!==(n=null!==(r=null==ee?void 0:ee.colSpan)&&void 0!==r?r:V.colSpan)&&void 0!==n?n:P)&&void 0!==t?t:1,oe=null!==(o=null!==(a=null!==(s=null==ee?void 0:ee.rowSpan)&&void 0!==s?s:V.rowSpan)&&void 0!==a?a:I)&&void 0!==o?o:1,ae=function(e,t){return d(b,(function(n){var r,i,o,a;return[(r=e,i=t||1,o=n.hoverStartRow,a=n.hoverEndRow,r<=a&&r+i-1>=o),n.onHover]}))}(O,oe),se=(0,i.Z)(ae,2),ue=se[0],ce=se[1],le=(0,T.zX)((function(e){var t;k&&ce(O,O+oe-1),null==V||null===(t=V.onMouseEnter)||void 0===t||t.call(V,e)})),de=(0,T.zX)((function(e){var t;k&&ce(-1,-1),null==V||null===(t=V.onMouseLeave)||void 0===t||t.call(V,e)}));if(0===ie||0===oe)return null;var pe=null!==(c=V.title)&&void 0!==c?c:function(e){var t,n=e.ellipsis,r=e.rowType,i=e.children,o=!0===n?{showTitle:!0}:n;return o&&(o.showTitle||"header"===r)&&("string"==typeof i||"number"==typeof i?t=i.toString():u.isValidElement(i)&&"string"==typeof i.props.children&&(t=i.props.children)),t}({rowType:D,ellipsis:_,children:$}),fe=E()(U,g,(l={},(0,C.Z)((0,C.Z)((0,C.Z)((0,C.Z)((0,C.Z)((0,C.Z)((0,C.Z)((0,C.Z)((0,C.Z)((0,C.Z)(l,"".concat(U,"-fix-left"),ne&&Y),"".concat(U,"-fix-left-first"),K&&Y),"".concat(U,"-fix-left-last"),j&&Y),"".concat(U,"-fix-left-all"),j&&G&&Y),"".concat(U,"-fix-right"),re&&Y),"".concat(U,"-fix-right-first"),z&&Y),"".concat(U,"-fix-right-last"),B&&Y),"".concat(U,"-ellipsis"),_),"".concat(U,"-with-append"),F),"".concat(U,"-fix-sticky"),(ne||re)&&H&&Y),(0,C.Z)(l,"".concat(U,"-row-hover"),!ee&&ue)),V.className,null==ee?void 0:ee.className),he={};y&&(he.textAlign=y);var _e=(0,x.Z)((0,x.Z)((0,x.Z)((0,x.Z)({},null==ee?void 0:ee.style),te),he),V.style),me=$;return"object"!==(0,w.Z)(me)||Array.isArray(me)||u.isValidElement(me)||(me=null),_&&(j||z)&&(me=u.createElement("span",{className:"".concat(U,"-content")},me)),u.createElement(f,(0,p.Z)({},ee,V,{className:fe,style:_e,title:pe,scope:m,onMouseEnter:X?le:void 0,onMouseLeave:X?de:void 0,colSpan:1!==ie?ie:null,rowSpan:1!==oe?oe:null}),F,me)}var P=u.memo(D);function I(e,t,n,r,i){var o,a,s=n[e]||{},u=n[t]||{};"left"===s.fixed?o=r.left["rtl"===i?t:e]:"right"===u.fixed&&(a=r.right["rtl"===i?e:t]);var c=!1,l=!1,d=!1,p=!1,f=n[t+1],h=n[e-1],_=f&&!f.fixed||h&&!h.fixed||n.every((function(e){return"left"===e.fixed}));if("rtl"===i){if(void 0!==o)p=!(h&&"left"===h.fixed)&&_;else if(void 0!==a){d=!(f&&"right"===f.fixed)&&_}}else if(void 0!==o){c=!(f&&"left"===f.fixed)&&_}else if(void 0!==a){l=!(h&&"right"===h.fixed)&&_}return{fixLeft:o,fixRight:a,lastFixLeft:c,firstFixRight:l,lastFixRight:d,firstFixLeft:p,isSticky:r.isSticky}}var M=u.createContext({});var L=n(75931),K=["children"];function j(e){return e.children}j.Row=function(e){var t=e.children,n=(0,L.Z)(e,K);return u.createElement("tr",n,t)},j.Cell=function(e){var t=e.className,n=e.index,r=e.children,i=e.colSpan,o=void 0===i?1:i,a=e.rowSpan,s=e.align,c=d(b,["prefixCls","direction"]),l=c.prefixCls,f=c.direction,h=u.useContext(M),_=h.scrollColumnIndex,m=h.stickyOffsets,v=n+o-1+1===_?o+1:o,g=I(n,n+v-1,h.flattenColumns,m,f);return u.createElement(P,(0,p.Z)({className:t,index:n,component:"td",prefixCls:l,record:null,dataIndex:null,align:s,colSpan:v,rowSpan:a,render:function(){return r}},g))};var z=j;var B=g((function(e){var t=e.children,n=e.stickyOffsets,r=e.flattenColumns,i=d(b,"prefixCls"),o=r.length-1,a=r[o],s=u.useMemo((function(){return{stickyOffsets:n,flattenColumns:r,scrollColumnIndex:null!=a&&a.scrollbar?o:null}}),[a,r,o,n]);return u.createElement(M.Provider,{value:s},u.createElement("tfoot",{className:"".concat(i,"-summary")},t))})),F=z,W=n(29301),V=n(24514),H=n(75152),U=n(26112);function q(e,t,n,r,i,o,a){e.push({record:t,indent:n,index:a});var s=o(t),u=null==i?void 0:i.has(s);if(t&&Array.isArray(t[r])&&u)for(var c=0;c<t[r].length;c+=1)q(e,t[r][c],n+1,r,i,o,c)}function Y(e,t,n,r){return u.useMemo((function(){if(null!=n&&n.size){for(var i=[],o=0;o<(null==e?void 0:e.length);o+=1){q(i,e[o],0,t,n,r,o)}return i}return null==e?void 0:e.map((function(e,t){return{record:e,indent:0,index:t}}))}),[e,t,n,r])}function G(e,t,n,r){var i,o=d(b,["prefixCls","fixedInfoList","flattenColumns","expandableType","expandRowByClick","onTriggerExpand","rowClassName","expandedRowClassName","indentSize","expandIcon","expandedRowRender","expandIconColumnIndex","expandedKeys","childrenColumnName","rowExpandable","onRow"]),a=o.flattenColumns,s=o.expandableType,u=o.expandedKeys,c=o.childrenColumnName,l=o.onTriggerExpand,p=o.rowExpandable,f=o.onRow,h=o.expandRowByClick,_=o.rowClassName,m="nest"===s,v="row"===s&&(!p||p(e)),g=v||m,y=u&&u.has(t),w=c&&e&&e[c],C=(0,T.zX)(l),k=null==f?void 0:f(e,n),N=null==k?void 0:k.onClick;"string"==typeof _?i=_:"function"==typeof _&&(i=_(e,n,r));var Z=R(a);return(0,x.Z)((0,x.Z)({},o),{},{columnsKey:Z,nestExpandable:m,expanded:y,hasNestChildren:w,record:e,onTriggerExpand:C,rowSupportExpand:v,expandable:g,rowProps:(0,x.Z)((0,x.Z)({},k),{},{className:E()(i,null==k?void 0:k.className),onClick:function(t){h&&g&&l(e,t);for(var n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];null==N||N.apply(void 0,[t].concat(r))}})})}var X=function(e){var t=e.prefixCls,n=e.children,r=e.component,i=e.cellComponent,o=e.className,a=e.expanded,s=e.colSpan,c=e.isEmpty,l=d(b,["scrollbarSize","fixHeader","fixColumn","componentWidth","horizonScroll"]),p=l.scrollbarSize,f=l.fixHeader,h=l.fixColumn,_=l.componentWidth,m=l.horizonScroll,v=n;return(c?m&&_:h)&&(v=u.createElement("div",{style:{width:_-(f&&!c?p:0),position:"sticky",left:0,overflow:"hidden"},className:"".concat(t,"-expanded-row-fixed")},v)),u.createElement(r,{className:o,style:{display:a?null:"none"}},u.createElement(P,{component:i,prefixCls:t,colSpan:s},v))};function J(e){var t=e.prefixCls,n=e.record,r=e.onExpand,i=e.expanded,o=e.expandable,a="".concat(t,"-row-expand-icon");if(!o)return u.createElement("span",{className:E()(a,"".concat(t,"-row-spaced"))});return u.createElement("span",{className:E()(a,(0,C.Z)((0,C.Z)({},"".concat(t,"-row-expanded"),i),"".concat(t,"-row-collapsed"),!i)),onClick:function(e){r(n,e),e.stopPropagation()}})}function Q(e,t,n,r){return"string"==typeof e?e:"function"==typeof e?e(t,n,r):""}function $(e,t,n,r,i){var o,a,s=e.record,c=e.prefixCls,l=e.columnsKey,d=e.fixedInfoList,p=e.expandIconColumnIndex,f=e.nestExpandable,h=e.indentSize,_=e.expandIcon,m=e.expanded,v=e.hasNestChildren,g=e.onTriggerExpand,y=l[n],b=d[n];return n===(p||0)&&f&&(o=u.createElement(u.Fragment,null,u.createElement("span",{style:{paddingLeft:"".concat(h*r,"px")},className:"".concat(c,"-row-indent indent-level-").concat(r)}),_({prefixCls:c,expanded:m,expandable:v,record:s,onExpand:g}))),t.onCell&&(a=t.onCell(s,i)),{key:y,fixedInfo:b,appendCellNode:o,additionalCellProps:a||{}}}var ee=g((function(e){var t=e.className,n=e.style,r=e.record,i=e.index,o=e.renderIndex,a=e.rowKey,s=e.indent,c=void 0===s?0:s,l=e.rowComponent,d=e.cellComponent,f=e.scopeCellComponent,h=G(r,a,i,c),_=h.prefixCls,m=h.flattenColumns,v=h.expandedRowClassName,g=h.expandedRowRender,y=h.rowProps,b=h.expanded,w=h.rowSupportExpand,k=u.useRef(!1);k.current||(k.current=b);var N,Z=Q(v,r,i,c),S=u.createElement(l,(0,p.Z)({},y,{"data-row-key":a,className:E()(t,"".concat(_,"-row"),"".concat(_,"-row-level-").concat(c),null==y?void 0:y.className,(0,C.Z)({},Z,c>=1)),style:(0,x.Z)((0,x.Z)({},n),null==y?void 0:y.style)}),m.map((function(e,t){var n=e.render,a=e.dataIndex,s=e.className,l=$(h,e,t,c,i),m=l.key,v=l.fixedInfo,g=l.appendCellNode,y=l.additionalCellProps;return u.createElement(P,(0,p.Z)({className:s,ellipsis:e.ellipsis,align:e.align,scope:e.rowScope,component:e.rowScope?f:d,prefixCls:_,key:m,record:r,index:i,renderIndex:o,dataIndex:a,render:n,shouldCellUpdate:e.shouldCellUpdate},v,{appendNode:g,additionalProps:y}))})));if(w&&(k.current||b)){var R=g(r,i,c+1,b);N=u.createElement(X,{expanded:b,className:E()("".concat(_,"-expanded-row"),"".concat(_,"-expanded-row-level-").concat(c+1),Z),prefixCls:_,component:l,cellComponent:d,colSpan:m.length,isEmpty:!1},R)}return u.createElement(u.Fragment,null,S,N)}));function te(e){var t=e.columnKey,n=e.onColumnResize,r=u.useRef();return(0,a.Z)((function(){r.current&&n(t,r.current.offsetWidth)}),[]),u.createElement(W.Z,{data:t},u.createElement("td",{ref:r,style:{padding:0,border:0,height:0}},u.createElement("div",{style:{height:0,overflow:"hidden"}}," ")))}var ne=n(29194);function re(e){var t=e.prefixCls,n=e.columnsKey,r=e.onColumnResize,i=u.useRef(null);return u.createElement("tr",{"aria-hidden":"true",className:"".concat(t,"-measure-row"),style:{height:0,fontSize:0},ref:i},u.createElement(W.Z.Collection,{onBatchResize:function(e){(0,ne.Z)(i.current)&&e.forEach((function(e){var t=e.data,n=e.size;r(t,n.offsetWidth)}))}},n.map((function(e){return u.createElement(te,{key:e,columnKey:e,onColumnResize:r})}))))}var ie=g((function(e){var t,n=e.data,r=e.measureColumnWidth,i=d(b,["prefixCls","getComponent","onColumnResize","flattenColumns","getRowKey","expandedKeys","childrenColumnName","emptyNode"]),o=i.prefixCls,a=i.getComponent,s=i.onColumnResize,c=i.flattenColumns,l=i.getRowKey,p=i.expandedKeys,f=i.childrenColumnName,h=i.emptyNode,_=Y(n,f,p,l),m=u.useRef({renderWithProps:!1}),v=a(["body","wrapper"],"tbody"),g=a(["body","row"],"tr"),y=a(["body","cell"],"td"),w=a(["body","cell"],"th");t=n.length?_.map((function(e,t){var n=e.record,r=e.indent,i=e.index,o=l(n,t);return u.createElement(ee,{key:o,rowKey:o,record:n,index:t,renderIndex:i,rowComponent:g,cellComponent:y,scopeCellComponent:w,indent:r})})):u.createElement(X,{expanded:!0,className:"".concat(o,"-placeholder"),prefixCls:o,component:g,cellComponent:y,colSpan:c.length,isEmpty:!0},h);var x=R(c);return u.createElement(S.Provider,{value:m.current},u.createElement(v,{className:"".concat(o,"-tbody")},r&&u.createElement(re,{prefixCls:o,columnsKey:x,onColumnResize:s}),t))})),oe=n(54451),ae=["columnType"];var se=function(e){for(var t=e.colWidths,n=e.columns,r=e.columCount,i=d(b,["tableLayout"]).tableLayout,o=[],a=!1,s=(r||n.length)-1;s>=0;s-=1){var c=t[s],l=n&&n[s],f=void 0,h=void 0;if(l&&(f=l[oe.v],"auto"===i&&(h=l.minWidth)),c||h||f||a){var _=f||{},m=(_.columnType,(0,L.Z)(_,ae));o.unshift(u.createElement("col",(0,p.Z)({key:s,style:{width:c,minWidth:h}},m))),a=!0}}return u.createElement("colgroup",null,o)},ue=n(94480),ce=["className","noData","columns","flattenColumns","colWidths","columCount","stickyOffsets","direction","fixHeader","stickyTopOffset","stickyBottomOffset","stickyClassName","onScroll","maxContentScroll","children"];var le=u.forwardRef((function(e,t){var n=e.className,r=e.noData,i=e.columns,o=e.flattenColumns,a=e.colWidths,s=e.columCount,c=e.stickyOffsets,l=e.direction,p=e.fixHeader,h=e.stickyTopOffset,_=e.stickyBottomOffset,m=e.stickyClassName,v=e.onScroll,g=e.maxContentScroll,y=e.children,w=(0,L.Z)(e,ce),k=d(b,["prefixCls","scrollbarSize","isSticky","getComponent"]),N=k.prefixCls,Z=k.scrollbarSize,S=k.isSticky,R=(0,k.getComponent)(["header","table"],"table"),O=S&&!p?0:Z,A=u.useRef(null),T=u.useCallback((function(e){(0,f.mH)(t,e),(0,f.mH)(A,e)}),[]);u.useEffect((function(){var e;function t(e){var t=e,n=t.currentTarget,r=t.deltaX;r&&(v({currentTarget:n,scrollLeft:n.scrollLeft+r}),e.preventDefault())}return null===(e=A.current)||void 0===e||e.addEventListener("wheel",t,{passive:!1}),function(){var e;null===(e=A.current)||void 0===e||e.removeEventListener("wheel",t)}}),[]);var D=u.useMemo((function(){return o.every((function(e){return e.width}))}),[o]),P=o[o.length-1],I={fixed:P?P.fixed:null,scrollbar:!0,onHeaderCell:function(){return{className:"".concat(N,"-cell-scrollbar")}}},M=(0,u.useMemo)((function(){return O?[].concat((0,ue.Z)(i),[I]):i}),[O,i]),K=(0,u.useMemo)((function(){return O?[].concat((0,ue.Z)(o),[I]):o}),[O,o]),j=(0,u.useMemo)((function(){var e=c.right,t=c.left;return(0,x.Z)((0,x.Z)({},c),{},{left:"rtl"===l?[].concat((0,ue.Z)(t.map((function(e){return e+O}))),[0]):t,right:"rtl"===l?e:[].concat((0,ue.Z)(e.map((function(e){return e+O}))),[0]),isSticky:S})}),[O,c,S]),z=function(e,t){return(0,u.useMemo)((function(){for(var n=[],r=0;r<t;r+=1){var i=e[r];if(void 0===i)return null;n[r]=i}return n}),[e.join("_"),t])}(a,s);return u.createElement("div",{style:(0,x.Z)({overflow:"hidden"},S?{top:h,bottom:_}:{}),ref:T,className:E()(n,(0,C.Z)({},m,!!m))},u.createElement(R,{style:{tableLayout:"fixed",visibility:r||z?null:"hidden"}},(!r||!g||D)&&u.createElement(se,{colWidths:z?[].concat((0,ue.Z)(z),[O]):[],columCount:s+1,columns:K}),y((0,x.Z)((0,x.Z)({},w),{},{stickyOffsets:j,columns:M,flattenColumns:K}))))}));var de=u.memo(le);var pe=function(e){var t,n=e.cells,r=e.stickyOffsets,i=e.flattenColumns,o=e.rowComponent,a=e.cellComponent,s=e.onHeaderRow,c=e.index,l=d(b,["prefixCls","direction"]),f=l.prefixCls,h=l.direction;s&&(t=s(n.map((function(e){return e.column})),c));var _=R(n.map((function(e){return e.column})));return u.createElement(o,t,n.map((function(e,t){var n,o=e.column,s=I(e.colStart,e.colEnd,i,r,h);return o&&o.onHeaderCell&&(n=e.column.onHeaderCell(o)),u.createElement(P,(0,p.Z)({},e,{scope:o.title?e.colSpan>1?"colgroup":"col":null,ellipsis:o.ellipsis,align:o.align,component:a,prefixCls:f,key:_[t]},s,{additionalProps:n,rowType:"header"}))})))};var fe=g((function(e){var t=e.stickyOffsets,n=e.columns,r=e.flattenColumns,i=e.onHeaderRow,o=d(b,["prefixCls","getComponent"]),a=o.prefixCls,s=o.getComponent,c=u.useMemo((function(){return function(e){var t=[];!function e(n,r){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;t[i]=t[i]||[];var o=r;return n.filter(Boolean).map((function(n){var r={key:n.key,className:n.className||"",children:n.title,column:n,colStart:o},a=1,s=n.children;return s&&s.length>0&&(a=e(s,o,i+1).reduce((function(e,t){return e+t}),0),r.hasSubColumns=!0),"colSpan"in n&&(a=n.colSpan),"rowSpan"in n&&(r.rowSpan=n.rowSpan),r.colSpan=a,r.colEnd=r.colStart+a-1,t[i].push(r),o+=a,a}))}(e,0);for(var n=t.length,r=function(e){t[e].forEach((function(t){"rowSpan"in t||t.hasSubColumns||(t.rowSpan=n-e)}))},i=0;i<n;i+=1)r(i);return t}(n)}),[n]),l=s(["header","wrapper"],"thead"),p=s(["header","row"],"tr"),f=s(["header","cell"],"th");return u.createElement(l,{className:"".concat(a,"-thead")},c.map((function(e,n){return u.createElement(pe,{key:n,flattenColumns:r,cells:e,stickyOffsets:t,rowComponent:p,cellComponent:f,onHeaderRow:i,index:n})})))})),he=n(97347);var _e=(0,n(47273).Z)()?window:null;var me=function(e,t,n){return(0,u.useMemo)((function(){var r=t.length,i=function(n,r,i){for(var o=[],a=0,s=n;s!==r;s+=i)o.push(a),t[s].fixed&&(a+=e[s]||0);return o},o=i(0,r,1),a=i(r-1,-1,-1).reverse();return"rtl"===n?{left:a,right:o}:{left:o,right:a}}),[e,t,n])};var ve=function(e){var t=e.className,n=e.children;return u.createElement("div",{className:t},n)},ge=n(8224),ye=n(16089),be=n(76846);function we(e){var t=(0,be.bn)(e).getBoundingClientRect(),n=document.documentElement;return{left:t.left+(window.pageXOffset||n.scrollLeft)-(n.clientLeft||document.body.clientLeft||0),top:t.top+(window.pageYOffset||n.scrollTop)-(n.clientTop||document.body.clientTop||0)}}var xe=function(e,t){var n,r,o,a,s,c,l,p,f=e.scrollBodyRef,h=e.onScroll,_=e.offsetScroll,m=e.container,v=e.direction,g=d(b,"prefixCls"),y=(null===(n=f.current)||void 0===n?void 0:n.scrollWidth)||0,w=(null===(r=f.current)||void 0===r?void 0:r.clientWidth)||0,k=y&&w*(w/y),N=u.useRef(),Z=(o={scrollLeft:0,isHiddenScrollBar:!0},a=(0,u.useRef)(o),s=(0,u.useState)({}),c=(0,i.Z)(s,2)[1],l=(0,u.useRef)(null),p=(0,u.useRef)([]),(0,u.useEffect)((function(){return function(){l.current=null}}),[]),[a.current,function(e){p.current.push(e);var t=Promise.resolve();l.current=t,t.then((function(){if(l.current===t){var e=p.current,n=a.current;p.current=[],e.forEach((function(e){a.current=e(a.current)})),l.current=null,n!==a.current&&c({})}}))}]),S=(0,i.Z)(Z,2),R=S[0],O=S[1],A=u.useRef({delta:0,x:0}),T=u.useState(!1),D=(0,i.Z)(T,2),P=D[0],I=D[1],M=u.useRef(null);u.useEffect((function(){return function(){ye.Z.cancel(M.current)}}),[]);var L=function(){I(!1)},K=function(e){var t,n=(e||(null===(t=window)||void 0===t?void 0:t.event)).buttons;if(P&&0!==n){var r=A.current.x+e.pageX-A.current.x-A.current.delta,i="rtl"===v;r=Math.max(i?k-w:0,Math.min(i?0:w-k,r)),(!i||Math.abs(r)+Math.abs(k)<w)&&(h({scrollLeft:r/w*(y+2)}),A.current.x=e.pageX)}else P&&I(!1)},j=function(){ye.Z.cancel(M.current),M.current=(0,ye.Z)((function(){if(f.current){var e=we(f.current).top,t=e+f.current.offsetHeight,n=m===window?document.documentElement.scrollTop+window.innerHeight:we(m).top+m.clientHeight;t-(0,H.Z)()<=n||e>=n-_?O((function(e){return(0,x.Z)((0,x.Z)({},e),{},{isHiddenScrollBar:!0})})):O((function(e){return(0,x.Z)((0,x.Z)({},e),{},{isHiddenScrollBar:!1})}))}}))},z=function(e){O((function(t){return(0,x.Z)((0,x.Z)({},t),{},{scrollLeft:e/y*w||0})}))};return u.useImperativeHandle(t,(function(){return{setScrollLeft:z,checkScrollBarVisible:j}})),u.useEffect((function(){var e=(0,ge.Z)(document.body,"mouseup",L,!1),t=(0,ge.Z)(document.body,"mousemove",K,!1);return j(),function(){e.remove(),t.remove()}}),[k,P]),u.useEffect((function(){if(f.current){for(var e=[],t=(0,be.bn)(f.current);t;)e.push(t),t=t.parentElement;return e.forEach((function(e){return e.addEventListener("scroll",j,!1)})),window.addEventListener("resize",j,!1),window.addEventListener("scroll",j,!1),m.addEventListener("scroll",j,!1),function(){e.forEach((function(e){return e.removeEventListener("scroll",j)})),window.removeEventListener("resize",j),window.removeEventListener("scroll",j),m.removeEventListener("scroll",j)}}}),[m]),u.useEffect((function(){R.isHiddenScrollBar||O((function(e){var t=f.current;return t?(0,x.Z)((0,x.Z)({},e),{},{scrollLeft:t.scrollLeft/t.scrollWidth*t.clientWidth}):e}))}),[R.isHiddenScrollBar]),y<=w||!k||R.isHiddenScrollBar?null:u.createElement("div",{style:{height:(0,H.Z)(),width:w,bottom:_},className:"".concat(g,"-sticky-scroll")},u.createElement("div",{onMouseDown:function(e){e.persist(),A.current.delta=e.pageX-R.scrollLeft,A.current.x=0,I(!0),e.preventDefault()},ref:N,className:E()("".concat(g,"-sticky-scroll-bar"),(0,C.Z)({},"".concat(g,"-sticky-scroll-bar-active"),P)),style:{width:"".concat(k,"px"),transform:"translate3d(".concat(R.scrollLeft,"px, 0, 0)")}}))},Ce=u.forwardRef(xe);var ke=function(e){return null};var Ee=function(e){return null},Ne="rc-table",Ze=[],Se={};function Re(){return"No Data"}function Oe(e,t){var n=(0,x.Z)({rowKey:"key",prefixCls:Ne,emptyText:Re},e),c=n.prefixCls,l=n.className,d=n.rowClassName,f=n.style,h=n.data,_=n.rowKey,m=n.scroll,v=n.tableLayout,g=n.direction,y=n.title,k=n.footer,S=n.summary,A=n.caption,T=n.id,D=n.showHeader,P=n.components,M=n.emptyText,L=n.onRow,K=n.onHeaderRow,j=n.onScroll,F=n.internalHooks,q=n.transformColumns,Y=n.internalRefs,G=n.tailor,X=n.getContainerWidth,Q=n.sticky,$=n.rowHoverable,ee=void 0===$||$,te=h||Ze,ne=!!te.length,re=F===r.R;var ae=u.useCallback((function(e,t){return(0,Z.Z)(P,e)||t}),[P]),ce=u.useMemo((function(){return"function"==typeof _?_:function(e){return e&&e[_]}}),[_]),le=ae(["body"]),pe=function(){var e=u.useState(-1),t=(0,i.Z)(e,2),n=t[0],r=t[1],o=u.useState(-1),a=(0,i.Z)(o,2),s=a[0],c=a[1];return[n,s,u.useCallback((function(e,t){r(e),c(t)}),[])]}(),ge=(0,i.Z)(pe,3),ye=ge[0],we=ge[1],xe=ge[2],ke=function(e,t,n){var o=(0,oe.g)(e),a=o.expandIcon,s=o.expandedRowKeys,c=o.defaultExpandedRowKeys,l=o.defaultExpandAllRows,d=o.expandedRowRender,p=o.onExpand,f=o.onExpandedRowsChange,h=a||J,_=o.childrenColumnName||"children",m=u.useMemo((function(){return d?"row":!!(e.expandable&&e.internalHooks===r.R&&e.expandable.__PARENT_RENDER_ICON__||t.some((function(e){return e&&"object"===(0,w.Z)(e)&&e[_]})))&&"nest"}),[!!d,t]),v=u.useState((function(){return c||(l?function(e,t,n){var r=[];return function e(i){(i||[]).forEach((function(i,o){r.push(t(i,o)),e(i[n])}))}(e),r}(t,n,_):[])})),g=(0,i.Z)(v,2),y=g[0],b=g[1],x=u.useMemo((function(){return new Set(s||y||[])}),[s,y]),C=u.useCallback((function(e){var r,i=n(e,t.indexOf(e)),o=x.has(i);o?(x.delete(i),r=(0,ue.Z)(x)):r=[].concat((0,ue.Z)(x),[i]),b(r),p&&p(!o,e),f&&f(r)}),[n,x,t,p,f]);return[o,m,x,h,_,C]}(n,te,ce),Ee=(0,i.Z)(ke,6),Oe=Ee[0],Ae=Ee[1],Te=Ee[2],De=Ee[3],Pe=Ee[4],Ie=Ee[5],Me=null==m?void 0:m.x,Le=u.useState(0),Ke=(0,i.Z)(Le,2),je=Ke[0],ze=Ke[1],Be=(0,he.Z)((0,x.Z)((0,x.Z)((0,x.Z)({},n),Oe),{},{expandable:!!Oe.expandedRowRender,columnTitle:Oe.columnTitle,expandedKeys:Te,getRowKey:ce,onTriggerExpand:Ie,expandIcon:De,expandIconColumnIndex:Oe.expandIconColumnIndex,direction:g,scrollWidth:re&&G&&"number"==typeof Me?Me:null,clientWidth:je}),re?q:null),Fe=(0,i.Z)(Be,4),We=Fe[0],Ve=Fe[1],He=Fe[2],Ue=Fe[3],qe=null!=He?He:Me,Ye=u.useMemo((function(){return{columns:We,flattenColumns:Ve}}),[We,Ve]),Ge=u.useRef(),Xe=u.useRef(),Je=u.useRef(),Qe=u.useRef();u.useImperativeHandle(t,(function(){return{nativeElement:Ge.current,scrollTo:function(e){var t,n;if(Je.current instanceof HTMLElement){var r=e.index,i=e.top,o=e.key;if("number"!=typeof(n=i)||Number.isNaN(n)){var a,s=null!=o?o:ce(te[r]);null===(a=Je.current.querySelector('[data-row-key="'.concat(s,'"]')))||void 0===a||a.scrollIntoView()}else{var u;null===(u=Je.current)||void 0===u||u.scrollTo({top:i})}}else null!==(t=Je.current)&&void 0!==t&&t.scrollTo&&Je.current.scrollTo(e)}}}));var $e,et,tt,nt=u.useRef(),rt=u.useState(!1),it=(0,i.Z)(rt,2),ot=it[0],at=it[1],st=u.useState(!1),ut=(0,i.Z)(st,2),ct=ut[0],lt=ut[1],dt=u.useState(new Map),pt=(0,i.Z)(dt,2),ft=pt[0],ht=pt[1],_t=R(Ve).map((function(e){return ft.get(e)})),mt=u.useMemo((function(){return _t}),[_t.join("_")]),vt=me(mt,Ve,g),gt=m&&O(m.y),yt=m&&O(qe)||Boolean(Oe.fixed),bt=yt&&Ve.some((function(e){return e.fixed})),wt=u.useRef(),xt=function(e,t){var n="object"===(0,w.Z)(e)?e:{},r=n.offsetHeader,i=void 0===r?0:r,o=n.offsetSummary,a=void 0===o?0:o,s=n.offsetScroll,c=void 0===s?0:s,l=n.getContainer,d=(void 0===l?function(){return _e}:l)()||_e,p=!!e;return u.useMemo((function(){return{isSticky:p,stickyClassName:p?"".concat(t,"-sticky-holder"):"",offsetHeader:i,offsetSummary:a,offsetScroll:c,container:d}}),[p,c,i,a,t,d])}(Q,c),Ct=xt.isSticky,kt=xt.offsetHeader,Et=xt.offsetSummary,Nt=xt.offsetScroll,Zt=xt.stickyClassName,St=xt.container,Rt=u.useMemo((function(){return null==S?void 0:S(te)}),[S,te]),Ot=(gt||Ct)&&u.isValidElement(Rt)&&Rt.type===z&&Rt.props.fixed;gt&&(et={overflowY:ne?"scroll":"auto",maxHeight:m.y}),yt&&($e={overflowX:"auto"},gt||(et={overflowY:"hidden"}),tt={width:!0===qe?"auto":qe,minWidth:"100%"});var At=u.useCallback((function(e,t){ht((function(n){if(n.get(e)!==t){var r=new Map(n);return r.set(e,t),r}return n}))}),[]),Tt=function(e){var t=(0,u.useRef)(e||null),n=(0,u.useRef)();function r(){window.clearTimeout(n.current)}return(0,u.useEffect)((function(){return r}),[]),[function(e){t.current=e,r(),n.current=window.setTimeout((function(){t.current=null,n.current=void 0}),100)},function(){return t.current}]}(null),Dt=(0,i.Z)(Tt,2),Pt=Dt[0],It=Dt[1];function Mt(e,t){t&&("function"==typeof t?t(e):t.scrollLeft!==e&&(t.scrollLeft=e,t.scrollLeft!==e&&setTimeout((function(){t.scrollLeft=e}),0)))}var Lt=(0,o.Z)((function(e){var t,n=e.currentTarget,r=e.scrollLeft,i="rtl"===g,o="number"==typeof r?r:n.scrollLeft,a=n||Se;It()&&It()!==a||(Pt(a),Mt(o,Xe.current),Mt(o,Je.current),Mt(o,nt.current),Mt(o,null===(t=wt.current)||void 0===t?void 0:t.setScrollLeft));var s=n||Xe.current;if(s){var u=re&&G&&"number"==typeof qe?qe:s.scrollWidth,c=s.clientWidth;if(u===c)return at(!1),void lt(!1);i?(at(-o<u-c),lt(-o>0)):(at(o>0),lt(o<u-c))}})),Kt=(0,o.Z)((function(e){Lt(e),null==j||j(e)})),jt=function(){var e;yt&&Je.current?Lt({currentTarget:(0,be.bn)(Je.current),scrollLeft:null===(e=Je.current)||void 0===e?void 0:e.scrollLeft}):(at(!1),lt(!1))},zt=u.useRef(!1);u.useEffect((function(){zt.current&&jt()}),[yt,h,We.length]),u.useEffect((function(){zt.current=!0}),[]);var Bt=u.useState(0),Ft=(0,i.Z)(Bt,2),Wt=Ft[0],Vt=Ft[1],Ht=u.useState(!0),Ut=(0,i.Z)(Ht,2),qt=Ut[0],Yt=Ut[1];(0,a.Z)((function(){G&&re||(Je.current instanceof Element?Vt((0,H.o)(Je.current).width):Vt((0,H.o)(Qe.current).width)),Yt((0,V.G)("position","sticky"))}),[]),u.useEffect((function(){re&&Y&&(Y.body.current=Je.current)}));var Gt,Xt=u.useCallback((function(e){return u.createElement(u.Fragment,null,u.createElement(fe,e),"top"===Ot&&u.createElement(B,e,Rt))}),[Ot,Rt]),Jt=u.useCallback((function(e){return u.createElement(B,e,Rt)}),[Rt]),Qt=ae(["table"],"table"),$t=u.useMemo((function(){return v||(bt?"max-content"===qe?"auto":"fixed":gt||Ct||Ve.some((function(e){return e.ellipsis}))?"fixed":"auto")}),[gt,bt,Ve,v,Ct]),en={colWidths:mt,columCount:Ve.length,stickyOffsets:vt,onHeaderRow:K,fixHeader:gt,scroll:m},tn=u.useMemo((function(){return ne?null:"function"==typeof M?M():M}),[ne,M]),nn=u.createElement(ie,{data:te,measureColumnWidth:gt||yt||Ct}),rn=u.createElement(se,{colWidths:Ve.map((function(e){return e.width})),columns:Ve}),on=null!=A?u.createElement("caption",{className:"".concat(c,"-caption")},A):void 0,an=(0,U.Z)(n,{data:!0}),sn=(0,U.Z)(n,{aria:!0});if(gt||Ct){var un;"function"==typeof le?(un=le(te,{scrollbarSize:Wt,ref:Je,onScroll:Lt}),en.colWidths=Ve.map((function(e,t){var n=e.width,r=t===Ve.length-1?n-Wt:n;return"number"!=typeof r||Number.isNaN(r)?0:r}))):un=u.createElement("div",{style:(0,x.Z)((0,x.Z)({},$e),et),onScroll:Kt,ref:Je,className:E()("".concat(c,"-body"))},u.createElement(Qt,(0,p.Z)({style:(0,x.Z)((0,x.Z)({},tt),{},{tableLayout:$t})},sn),on,rn,nn,!Ot&&Rt&&u.createElement(B,{stickyOffsets:vt,flattenColumns:Ve},Rt)));var cn=(0,x.Z)((0,x.Z)((0,x.Z)({noData:!te.length,maxContentScroll:yt&&"max-content"===qe},en),Ye),{},{direction:g,stickyClassName:Zt,onScroll:Lt});Gt=u.createElement(u.Fragment,null,!1!==D&&u.createElement(de,(0,p.Z)({},cn,{stickyTopOffset:kt,className:"".concat(c,"-header"),ref:Xe}),Xt),un,Ot&&"top"!==Ot&&u.createElement(de,(0,p.Z)({},cn,{stickyBottomOffset:Et,className:"".concat(c,"-summary"),ref:nt}),Jt),Ct&&Je.current&&Je.current instanceof Element&&u.createElement(Ce,{ref:wt,offsetScroll:Nt,scrollBodyRef:Je,onScroll:Lt,container:St,direction:g}))}else Gt=u.createElement("div",{style:(0,x.Z)((0,x.Z)({},$e),et),className:E()("".concat(c,"-content")),onScroll:Lt,ref:Je},u.createElement(Qt,(0,p.Z)({style:(0,x.Z)((0,x.Z)({},tt),{},{tableLayout:$t})},sn),on,rn,!1!==D&&u.createElement(fe,(0,p.Z)({},en,Ye)),nn,Rt&&u.createElement(B,{stickyOffsets:vt,flattenColumns:Ve},Rt)));var ln=u.createElement("div",(0,p.Z)({className:E()(c,l,(0,C.Z)((0,C.Z)((0,C.Z)((0,C.Z)((0,C.Z)((0,C.Z)((0,C.Z)((0,C.Z)((0,C.Z)((0,C.Z)({},"".concat(c,"-rtl"),"rtl"===g),"".concat(c,"-ping-left"),ot),"".concat(c,"-ping-right"),ct),"".concat(c,"-layout-fixed"),"fixed"===v),"".concat(c,"-fixed-header"),gt),"".concat(c,"-fixed-column"),bt),"".concat(c,"-fixed-column-gapped"),bt&&Ue),"".concat(c,"-scroll-horizontal"),yt),"".concat(c,"-has-fix-left"),Ve[0]&&Ve[0].fixed),"".concat(c,"-has-fix-right"),Ve[Ve.length-1]&&"right"===Ve[Ve.length-1].fixed)),style:f,id:T,ref:Ge},an),y&&u.createElement(ve,{className:"".concat(c,"-title")},y(te)),u.createElement("div",{ref:Qe,className:"".concat(c,"-container")},Gt),k&&u.createElement(ve,{className:"".concat(c,"-footer")},k(te)));yt&&(ln=u.createElement(W.Z,{onResize:function(e){var t,n=e.width;null===(t=wt.current)||void 0===t||t.checkScrollBarVisible();var r=Ge.current?Ge.current.offsetWidth:n;re&&X&&Ge.current&&(r=X(Ge.current,r)||r),r!==je&&(jt(),ze(r))}},ln));var dn=function(e,t,n){var r=e.map((function(r,i){return I(i,i,e,t,n)}));return(0,N.Z)((function(){return r}),[r],(function(e,t){return!(0,s.Z)(e,t)}))}(Ve,vt,g),pn=u.useMemo((function(){return{scrollX:qe,prefixCls:c,getComponent:ae,scrollbarSize:Wt,direction:g,fixedInfoList:dn,isSticky:Ct,supportSticky:qt,componentWidth:je,fixHeader:gt,fixColumn:bt,horizonScroll:yt,tableLayout:$t,rowClassName:d,expandedRowClassName:Oe.expandedRowClassName,expandIcon:De,expandableType:Ae,expandRowByClick:Oe.expandRowByClick,expandedRowRender:Oe.expandedRowRender,onTriggerExpand:Ie,expandIconColumnIndex:Oe.expandIconColumnIndex,indentSize:Oe.indentSize,allColumnsFixedLeft:Ve.every((function(e){return"left"===e.fixed})),emptyNode:tn,columns:We,flattenColumns:Ve,onColumnResize:At,hoverStartRow:ye,hoverEndRow:we,onHover:xe,rowExpandable:Oe.rowExpandable,onRow:L,getRowKey:ce,expandedKeys:Te,childrenColumnName:Pe,rowHoverable:ee}}),[qe,c,ae,Wt,g,dn,Ct,qt,je,gt,bt,yt,$t,d,Oe.expandedRowClassName,De,Ae,Oe.expandRowByClick,Oe.expandedRowRender,Ie,Oe.expandIconColumnIndex,Oe.indentSize,tn,We,Ve,At,ye,we,xe,Oe.rowExpandable,L,ce,Te,Pe,ee]);return u.createElement(b.Provider,{value:pn},ln)}var Ae=u.forwardRef(Oe);function Te(e){return v(Ae,e)}var De=Te();De.EXPAND_COLUMN=r.w,De.INTERNAL_HOOKS=r.R,De.Column=ke,De.ColumnGroup=Ee,De.Summary=F;var Pe=De,Ie=n(48911),Me=l(null),Le=l(null);var Ke=function(e){var t=e.rowInfo,n=e.column,r=e.colIndex,i=e.indent,o=e.index,a=e.component,s=e.renderIndex,c=e.record,l=e.style,f=e.className,h=e.inverse,_=e.getHeight,m=n.render,v=n.dataIndex,g=n.className,y=n.width,b=d(Le,["columnsOffset"]).columnsOffset,w=$(t,n,r,i,o),C=w.key,k=w.fixedInfo,N=w.appendCellNode,Z=w.additionalCellProps,S=Z.style,R=Z.colSpan,O=void 0===R?1:R,A=Z.rowSpan,T=void 0===A?1:A,D=function(e,t,n){return n[e+(t||1)]-(n[e]||0)}(r-1,O,b),I=O>1?y-D:0,M=(0,x.Z)((0,x.Z)((0,x.Z)({},S),l),{},{flex:"0 0 ".concat(D,"px"),width:"".concat(D,"px"),marginRight:I,pointerEvents:"auto"}),L=u.useMemo((function(){return h?T<=1:0===O||0===T||T>1}),[T,O,h]);L?M.visibility="hidden":h&&(M.height=null==_?void 0:_(T));var K=L?function(){return null}:m,j={};return 0!==T&&0!==O||(j.rowSpan=1,j.colSpan=1),u.createElement(P,(0,p.Z)({className:E()(g,f),ellipsis:n.ellipsis,align:n.align,scope:n.rowScope,component:a,prefixCls:t.prefixCls,key:C,record:c,index:o,renderIndex:s,dataIndex:v,render:K,shouldCellUpdate:n.shouldCellUpdate},k,{appendNode:N,additionalProps:(0,x.Z)((0,x.Z)({},Z),{},{style:M},j)}))},je=["data","index","className","rowKey","style","extra","getHeight"];var ze=g(u.forwardRef((function(e,t){var n,r=e.data,i=e.index,o=e.className,a=e.rowKey,s=e.style,c=e.extra,l=e.getHeight,f=(0,L.Z)(e,je),h=r.record,_=r.indent,m=r.index,v=d(b,["prefixCls","flattenColumns","fixColumn","componentWidth","scrollX"]),g=v.scrollX,y=v.flattenColumns,w=v.prefixCls,k=v.fixColumn,N=v.componentWidth,Z=d(Me,["getComponent"]).getComponent,S=G(h,a,i,_),R=Z(["body","row"],"div"),O=Z(["body","cell"],"div"),A=S.rowSupportExpand,T=S.expanded,D=S.rowProps,I=S.expandedRowRender,M=S.expandedRowClassName;if(A&&T){var K=I(h,i,_+1,T),j=Q(M,h,i,_),z={};k&&(z={style:(0,C.Z)({},"--virtual-width","".concat(N,"px"))});var B="".concat(w,"-expanded-row-cell");n=u.createElement(R,{className:E()("".concat(w,"-expanded-row"),"".concat(w,"-expanded-row-level-").concat(_+1),j)},u.createElement(P,{component:O,prefixCls:w,className:E()(B,(0,C.Z)({},"".concat(B,"-fixed"),k)),additionalProps:z},K))}var F=(0,x.Z)((0,x.Z)({},s),{},{width:g});c&&(F.position="absolute",F.pointerEvents="none");var W=u.createElement(R,(0,p.Z)({},D,f,{"data-row-key":a,ref:A?null:t,className:E()(o,"".concat(w,"-row"),null==D?void 0:D.className,(0,C.Z)({},"".concat(w,"-row-extra"),c)),style:(0,x.Z)((0,x.Z)({},F),null==D?void 0:D.style)}),y.map((function(e,t){return u.createElement(Ke,{key:t,component:O,rowInfo:S,column:e,colIndex:t,indent:_,index:i,renderIndex:m,record:h,inverse:c,getHeight:l})})));return A?u.createElement("div",{ref:t},W,n):W})));var Be=g(u.forwardRef((function(e,t){var n=e.data,r=e.onScroll,o=d(b,["flattenColumns","onColumnResize","getRowKey","prefixCls","expandedKeys","childrenColumnName","scrollX","direction"]),a=o.flattenColumns,s=o.onColumnResize,c=o.getRowKey,l=o.expandedKeys,p=o.prefixCls,f=o.childrenColumnName,h=o.scrollX,_=o.direction,m=d(Me),v=m.sticky,g=m.scrollY,y=m.listItemHeight,x=m.getComponent,C=m.onScroll,k=u.useRef(),E=Y(n,f,l,c),N=u.useMemo((function(){var e=0;return a.map((function(t){var n=t.width;return[t.key,n,e+=n]}))}),[a]),Z=u.useMemo((function(){return N.map((function(e){return e[2]}))}),[N]);u.useEffect((function(){N.forEach((function(e){var t=(0,i.Z)(e,2),n=t[0],r=t[1];s(n,r)}))}),[N]),u.useImperativeHandle(t,(function(){var e,t={scrollTo:function(e){var t;null===(t=k.current)||void 0===t||t.scrollTo(e)},nativeElement:null===(e=k.current)||void 0===e?void 0:e.nativeElement};return Object.defineProperty(t,"scrollLeft",{get:function(){var e;return(null===(e=k.current)||void 0===e?void 0:e.getScrollInfo().x)||0},set:function(e){var t;null===(t=k.current)||void 0===t||t.scrollTo({left:e})}}),t}));var S=function(e,t){var n,r=null===(n=E[t])||void 0===n?void 0:n.record,i=e.onCell;if(i){var o,a=i(r,t);return null!==(o=null==a?void 0:a.rowSpan)&&void 0!==o?o:1}return 1},R=u.useMemo((function(){return{columnsOffset:Z}}),[Z]),O="".concat(p,"-tbody"),A=x(["body","wrapper"]),T={};return v&&(T.position="sticky",T.bottom=0,"object"===(0,w.Z)(v)&&v.offsetScroll&&(T.bottom=v.offsetScroll)),u.createElement(Le.Provider,{value:R},u.createElement(Ie.Z,{fullHeight:!1,ref:k,prefixCls:"".concat(O,"-virtual"),styles:{horizontalScrollBar:T},className:O,height:g,itemHeight:y||24,data:E,itemKey:function(e){return c(e.record)},component:A,scrollWidth:h,direction:_,onVirtualScroll:function(e){var t,n=e.x;r({currentTarget:null===(t=k.current)||void 0===t?void 0:t.nativeElement,scrollLeft:n})},onScroll:C,extraRender:function(e){var t=e.start,n=e.end,r=e.getSize,i=e.offsetY;if(n<0)return null;for(var o=a.filter((function(e){return 0===S(e,t)})),s=t,l=function(e){if(!(o=o.filter((function(t){return 0===S(t,e)}))).length)return s=e,1},d=t;d>=0&&!l(d);d-=1);for(var p=a.filter((function(e){return 1!==S(e,n)})),f=n,h=function(e){if(!(p=p.filter((function(t){return 1!==S(t,e)}))).length)return f=Math.max(e-1,n),1},_=n;_<E.length&&!h(_);_+=1);for(var m=[],v=function(e){if(!E[e])return 1;a.some((function(t){return S(t,e)>1}))&&m.push(e)},g=s;g<=f;g+=1)v(g);return m.map((function(e){var t=E[e],n=c(t.record,e),o=r(n);return u.createElement(ze,{key:e,data:t,rowKey:n,index:e,style:{top:-i+o.top},extra:!0,getHeight:function(t){var i=e+t-1,o=c(E[i].record,i),a=r(n,o);return a.bottom-a.top}})}))}},(function(e,t,n){var r=c(e.record,t);return u.createElement(ze,{data:e,rowKey:r,index:t,style:n.style})})))}))),Fe=function(e,t){var n=t.ref,r=t.onScroll;return u.createElement(Be,{ref:n,data:e,onScroll:r})};function We(e,t){var n=e.data,i=e.columns,o=e.scroll,a=e.sticky,s=e.prefixCls,c=void 0===s?Ne:s,l=e.className,d=e.listItemHeight,f=e.components,h=e.onScroll,_=o||{},m=_.x,v=_.y;"number"!=typeof m&&(m=1),"number"!=typeof v&&(v=500);var g=(0,T.zX)((function(e,t){return(0,Z.Z)(f,e)||t})),y=(0,T.zX)(h),b=u.useMemo((function(){return{sticky:a,scrollY:v,listItemHeight:d,getComponent:g,onScroll:y}}),[a,v,d,g,y]);return u.createElement(Me.Provider,{value:b},u.createElement(Pe,(0,p.Z)({},e,{className:E()(l,"".concat(c,"-virtual")),scroll:(0,x.Z)((0,x.Z)({},o),{},{x:m}),components:(0,x.Z)((0,x.Z)({},f),{},{body:null!=n&&n.length?Fe:void 0}),columns:i,internalHooks:r.R,tailor:!0,ref:t})))}var Ve=u.forwardRef(We);function He(e){return v(Ve,e)}He()},54451:function(e,t,n){"use strict";n.d(t,{g:function(){return s},v:function(){return a}});var r=n(33885),i=n(75931),o=(n(48736),["expandable"]),a="RC_TABLE_INTERNAL_COL_DEFINE";function s(e){var t,n=e.expandable,a=(0,i.Z)(e,o);return!1===(t="expandable"in e?(0,r.Z)((0,r.Z)({},a),n):a).showExpandColumn&&(t.expandIconColumnIndex=-1),t}},29125:function(e,t,n){"use strict";n.d(t,{G:function(){return a},Z:function(){return g}});var r=n(92310),i=n.n(r),o=n(59301);function a(e){var t=e.children,n=e.prefixCls,r=e.id,a=e.overlayInnerStyle,s=e.bodyClassName,u=e.className,c=e.style;return o.createElement("div",{className:i()("".concat(n,"-content"),u),style:c},o.createElement("div",{className:i()("".concat(n,"-inner"),s),id:r,role:"tooltip",style:a},"function"==typeof t?t():t))}var s=n(54476),u=n(33885),c=n(75931),l=n(65030),d={shiftX:64,adjustY:1},p={adjustX:1,shiftY:!0},f=[0,0],h={left:{points:["cr","cl"],overflow:p,offset:[-4,0],targetOffset:f},right:{points:["cl","cr"],overflow:p,offset:[4,0],targetOffset:f},top:{points:["bc","tc"],overflow:d,offset:[0,-4],targetOffset:f},bottom:{points:["tc","bc"],overflow:d,offset:[0,4],targetOffset:f},topLeft:{points:["bl","tl"],overflow:d,offset:[0,-4],targetOffset:f},leftTop:{points:["tr","tl"],overflow:p,offset:[-4,0],targetOffset:f},topRight:{points:["br","tr"],overflow:d,offset:[0,-4],targetOffset:f},rightTop:{points:["tl","tr"],overflow:p,offset:[4,0],targetOffset:f},bottomRight:{points:["tr","br"],overflow:d,offset:[0,4],targetOffset:f},rightBottom:{points:["bl","br"],overflow:p,offset:[4,0],targetOffset:f},bottomLeft:{points:["tl","bl"],overflow:d,offset:[0,4],targetOffset:f},leftBottom:{points:["br","bl"],overflow:p,offset:[-4,0],targetOffset:f}},_=n(80402),m=["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(e,t){var n=e.overlayClassName,r=e.trigger,d=void 0===r?["hover"]:r,p=e.mouseEnterDelay,f=void 0===p?0:p,v=e.mouseLeaveDelay,g=void 0===v?.1:v,y=e.overlayStyle,b=e.prefixCls,w=void 0===b?"rc-tooltip":b,x=e.children,C=e.onVisibleChange,k=e.afterVisibleChange,E=e.transitionName,N=e.animation,Z=e.motion,S=e.placement,R=void 0===S?"right":S,O=e.align,A=void 0===O?{}:O,T=e.destroyTooltipOnHide,D=void 0!==T&&T,P=e.defaultVisible,I=e.getTooltipContainer,M=e.overlayInnerStyle,L=(e.arrowContent,e.overlay),K=e.id,j=e.showArrow,z=void 0===j||j,B=e.classNames,F=e.styles,W=(0,c.Z)(e,m),V=(0,_.Z)(K),H=(0,o.useRef)(null);(0,o.useImperativeHandle)(t,(function(){return H.current}));var U=(0,u.Z)({},W);"visible"in e&&(U.popupVisible=e.visible);var q,Y,G;return o.createElement(l.Z,(0,s.Z)({popupClassName:i()(n,null==B?void 0:B.root),prefixCls:w,popup:function(){return o.createElement(a,{key:"content",prefixCls:w,id:V,bodyClassName:null==B?void 0:B.body,overlayInnerStyle:(0,u.Z)((0,u.Z)({},M),null==F?void 0:F.body)},L)},action:d,builtinPlacements:h,popupPlacement:R,ref:H,popupAlign:A,getPopupContainer:I,onPopupVisibleChange:C,afterPopupVisibleChange:k,popupTransitionName:E,popupAnimation:N,popupMotion:Z,defaultPopupVisible:P,autoDestroy:D,mouseLeaveDelay:g,popupStyle:(0,u.Z)((0,u.Z)({},y),null==F?void 0:F.root),mouseEnterDelay:f,arrow:z},U),(q=o.Children.only(x),Y=(null==q?void 0:q.props)||{},G=(0,u.Z)((0,u.Z)({},Y),{},{"aria-describedby":L?V:null}),o.cloneElement(x,G)))},g=(0,o.forwardRef)(v)},639:function(e,t,n){"use strict";n.d(t,{Z:function(){return w}});var r=n(54476),i=n(20068),o=n(33885),a=n(42978),s=n(75931),u=n(59301),c=n(92310),l=n.n(c),d=n(26112),p=n(30699),f=function(e){for(var t=e.prefixCls,n=e.level,r=e.isStart,o=e.isEnd,a="".concat(t,"-indent-unit"),s=[],c=0;c<n;c+=1)s.push(u.createElement("span",{key:c,className:l()(a,(0,i.Z)((0,i.Z)({},"".concat(a,"-start"),r[c]),"".concat(a,"-end"),o[c]))}));return u.createElement("span",{"aria-hidden":"true",className:"".concat(t,"-indent")},s)},h=u.memo(f),_=n(65065),m=n(34061),v=["eventKey","className","style","dragOver","dragOverGapTop","dragOverGapBottom","isLeaf","isStart","isEnd","expanded","selected","checked","halfChecked","loading","domRef","active","data","onMouseMove","selectable"],g="open",y="close",b=function(e){var t,n,c,f=e.eventKey,b=e.className,w=e.style,x=e.dragOver,C=e.dragOverGapTop,k=e.dragOverGapBottom,E=e.isLeaf,N=e.isStart,Z=e.isEnd,S=e.expanded,R=e.selected,O=e.checked,A=e.halfChecked,T=e.loading,D=e.domRef,P=e.active,I=e.data,M=e.onMouseMove,L=e.selectable,K=(0,s.Z)(e,v),j=u.useContext(p.k),z=u.useContext(p.y),B=u.useRef(null),F=u.useState(!1),W=(0,a.Z)(F,2),V=W[0],H=W[1],U=!!(j.disabled||e.disabled||null!==(t=z.nodeDisabled)&&void 0!==t&&t.call(z,I)),q=u.useMemo((function(){return!(!j.checkable||!1===e.checkable)&&j.checkable}),[j.checkable,e.checkable]),Y=function(t){U||q&&!e.disableCheckbox&&j.onNodeCheck(t,(0,m.F)(e),!O)},G=u.useMemo((function(){return"boolean"==typeof L?L:j.selectable}),[L,j.selectable]),X=function(t){j.onNodeClick(t,(0,m.F)(e)),G?function(t){U||j.onNodeSelect(t,(0,m.F)(e))}(t):Y(t)},J=function(t){j.onNodeDoubleClick(t,(0,m.F)(e))},Q=function(t){j.onNodeMouseEnter(t,(0,m.F)(e))},$=function(t){j.onNodeMouseLeave(t,(0,m.F)(e))},ee=function(t){j.onNodeContextMenu(t,(0,m.F)(e))},te=u.useMemo((function(){return!(!j.draggable||j.draggable.nodeDraggable&&!j.draggable.nodeDraggable(I))}),[j.draggable,I]),ne=function(t){T||j.onNodeExpand(t,(0,m.F)(e))},re=u.useMemo((function(){var e=((0,_.Z)(j.keyEntities,f)||{}).children;return Boolean((e||[]).length)}),[j.keyEntities,f]),ie=u.useMemo((function(){return!1!==E&&(E||!j.loadData&&!re||j.loadData&&e.loaded&&!re)}),[E,j.loadData,re,e.loaded]);u.useEffect((function(){T||"function"!=typeof j.loadData||!S||ie||e.loaded||j.onNodeLoad((0,m.F)(e))}),[T,j.loadData,j.onNodeLoad,S,ie,e]);var oe=u.useMemo((function(){var e;return null!==(e=j.draggable)&&void 0!==e&&e.icon?u.createElement("span",{className:"".concat(j.prefixCls,"-draggable-icon")},j.draggable.icon):null}),[j.draggable]),ae=function(t){var n=e.switcherIcon||j.switcherIcon;return"function"==typeof n?n((0,o.Z)((0,o.Z)({},e),{},{isLeaf:t})):n},se=u.useMemo((function(){if(!q)return null;var t="boolean"!=typeof q?q:null;return u.createElement("span",{className:l()("".concat(j.prefixCls,"-checkbox"),(0,i.Z)((0,i.Z)((0,i.Z)({},"".concat(j.prefixCls,"-checkbox-checked"),O),"".concat(j.prefixCls,"-checkbox-indeterminate"),!O&&A),"".concat(j.prefixCls,"-checkbox-disabled"),U||e.disableCheckbox)),onClick:Y,role:"checkbox","aria-checked":A?"mixed":O,"aria-disabled":U||e.disableCheckbox,"aria-label":"Select ".concat("string"==typeof e.title?e.title:"tree node")},t)}),[q,O,A,U,e.disableCheckbox,e.title]),ue=u.useMemo((function(){return ie?null:S?g:y}),[ie,S]),ce=u.useMemo((function(){return u.createElement("span",{className:l()("".concat(j.prefixCls,"-iconEle"),"".concat(j.prefixCls,"-icon__").concat(ue||"docu"),(0,i.Z)({},"".concat(j.prefixCls,"-icon_loading"),T))})}),[j.prefixCls,ue,T]),le=u.useMemo((function(){var t=Boolean(j.draggable);return!e.disabled&&t&&j.dragOverNodeKey===f?j.dropIndicatorRender({dropPosition:j.dropPosition,dropLevelOffset:j.dropLevelOffset,indent:j.indent,prefixCls:j.prefixCls,direction:j.direction}):null}),[j.dropPosition,j.dropLevelOffset,j.indent,j.prefixCls,j.direction,j.draggable,j.dragOverNodeKey,j.dropIndicatorRender]),de=u.useMemo((function(){var t,n,r=e.title,o=void 0===r?"---":r,a="".concat(j.prefixCls,"-node-content-wrapper");if(j.showIcon){var s=e.icon||j.icon;t=s?u.createElement("span",{className:l()("".concat(j.prefixCls,"-iconEle"),"".concat(j.prefixCls,"-icon__customize"))},"function"==typeof s?s(e):s):ce}else j.loadData&&T&&(t=ce);return n="function"==typeof o?o(I):j.titleRender?j.titleRender(I):o,u.createElement("span",{ref:B,title:"string"==typeof o?o:"",className:l()(a,"".concat(a,"-").concat(ue||"normal"),(0,i.Z)({},"".concat(j.prefixCls,"-node-selected"),!U&&(R||V))),onMouseEnter:Q,onMouseLeave:$,onContextMenu:ee,onClick:X,onDoubleClick:J},t,u.createElement("span",{className:"".concat(j.prefixCls,"-title")},n),le)}),[j.prefixCls,j.showIcon,e,j.icon,ce,j.titleRender,I,ue,Q,$,ee,X,J]),pe=(0,d.Z)(K,{aria:!0,data:!0}),fe=((0,_.Z)(j.keyEntities,f)||{}).level,he=Z[Z.length-1],_e=!U&&te,me=j.draggingNodeKey===f,ve=void 0!==L?{"aria-selected":!!L}:void 0;return u.createElement("div",(0,r.Z)({ref:D,role:"treeitem","aria-expanded":E?void 0:S,className:l()(b,"".concat(j.prefixCls,"-treenode"),(c={},(0,i.Z)((0,i.Z)((0,i.Z)((0,i.Z)((0,i.Z)((0,i.Z)((0,i.Z)((0,i.Z)((0,i.Z)((0,i.Z)(c,"".concat(j.prefixCls,"-treenode-disabled"),U),"".concat(j.prefixCls,"-treenode-switcher-").concat(S?"open":"close"),!E),"".concat(j.prefixCls,"-treenode-checkbox-checked"),O),"".concat(j.prefixCls,"-treenode-checkbox-indeterminate"),A),"".concat(j.prefixCls,"-treenode-selected"),R),"".concat(j.prefixCls,"-treenode-loading"),T),"".concat(j.prefixCls,"-treenode-active"),P),"".concat(j.prefixCls,"-treenode-leaf-last"),he),"".concat(j.prefixCls,"-treenode-draggable"),te),"dragging",me),(0,i.Z)((0,i.Z)((0,i.Z)((0,i.Z)((0,i.Z)((0,i.Z)((0,i.Z)(c,"drop-target",j.dropTargetKey===f),"drop-container",j.dropContainerKey===f),"drag-over",!U&&x),"drag-over-gap-top",!U&&C),"drag-over-gap-bottom",!U&&k),"filter-node",null===(n=j.filterTreeNode)||void 0===n?void 0:n.call(j,(0,m.F)(e))),"".concat(j.prefixCls,"-treenode-leaf"),ie))),style:w,draggable:_e,onDragStart:_e?function(t){t.stopPropagation(),H(!0),j.onNodeDragStart(t,e);try{t.dataTransfer.setData("text/plain","")}catch(e){}}:void 0,onDragEnter:te?function(t){t.preventDefault(),t.stopPropagation(),j.onNodeDragEnter(t,e)}:void 0,onDragOver:te?function(t){t.preventDefault(),t.stopPropagation(),j.onNodeDragOver(t,e)}:void 0,onDragLeave:te?function(t){t.stopPropagation(),j.onNodeDragLeave(t,e)}:void 0,onDrop:te?function(t){t.preventDefault(),t.stopPropagation(),H(!1),j.onNodeDrop(t,e)}:void 0,onDragEnd:te?function(t){t.stopPropagation(),H(!1),j.onNodeDragEnd(t,e)}:void 0,onMouseMove:M},ve,pe),u.createElement(h,{prefixCls:j.prefixCls,level:fe,isStart:N,isEnd:Z}),oe,function(){if(ie){var e=ae(!0);return!1!==e?u.createElement("span",{className:l()("".concat(j.prefixCls,"-switcher"),"".concat(j.prefixCls,"-switcher-noop"))},e):null}var t=ae(!1);return!1!==t?u.createElement("span",{onClick:ne,className:l()("".concat(j.prefixCls,"-switcher"),"".concat(j.prefixCls,"-switcher_").concat(S?g:y))},t):null}(),se,de)};b.isTreeNode=1;var w=b},30699:function(e,t,n){"use strict";n.d(t,{k:function(){return i},y:function(){return o}});var r=n(59301),i=r.createContext(null),o=r.createContext({})},3741:function(e,t,n){"use strict";n.d(t,{OF:function(){return Z.Z},y6:function(){return y.y},ZP:function(){return Y}});var r=n(54476),i=n(76190),o=n(33885),a=n(94480),s=n(67732),u=n(83652),c=n(31226),l=n(42403),d=n(158),p=n(20068),f=n(92310),h=n.n(f),_=n(10228),m=n(26112),v=n(48736),g=n(59301),y=n(30699);var b=function(e){var t=e.dropPosition,n=e.dropLevelOffset,r=e.indent,i={pointerEvents:"none",position:"absolute",right:0,backgroundColor:"red",height:2};switch(t){case-1:i.top=0,i.left=-n*r;break;case 1:i.bottom=0,i.left=-n*r;break;case 0:i.bottom=0,i.left=r}return g.createElement("div",{style:i})};function w(e){if(null==e)throw new TypeError("Cannot destructure "+e)}var x=n(42978),C=n(75931),k=n(34280),E=n(48911),N=n(77900),Z=n(639);var S=function(e,t){var n=g.useState(!1),r=(0,x.Z)(n,2),i=r[0],o=r[1];(0,k.Z)((function(){if(i)return e(),function(){t()}}),[i]),(0,k.Z)((function(){return o(!0),function(){o(!1)}}),[])},R=n(34061),O=["className","style","motion","motionNodes","motionType","onMotionStart","onMotionEnd","active","treeNodeRequiredProps"];var A=g.forwardRef((function(e,t){var n=e.className,i=e.style,o=e.motion,a=e.motionNodes,s=e.motionType,u=e.onMotionStart,c=e.onMotionEnd,l=e.active,d=e.treeNodeRequiredProps,p=(0,C.Z)(e,O),f=g.useState(!0),_=(0,x.Z)(f,2),m=_[0],v=_[1],b=g.useContext(y.k).prefixCls,E=a&&"hide"!==s;(0,k.Z)((function(){a&&E!==m&&v(E)}),[a]);var A=g.useRef(!1),T=function(){a&&!A.current&&(A.current=!0,c())};S((function(){a&&u()}),T);return a?g.createElement(N.default,(0,r.Z)({ref:t,visible:m},o,{motionAppear:"show"===s,onVisibleChanged:function(e){E===e&&T()}}),(function(e,t){var n=e.className,i=e.style;return g.createElement("div",{ref:t,className:h()("".concat(b,"-treenode-motion"),n),style:i},a.map((function(e){var t=Object.assign({},(w(e.data),e.data)),n=e.title,i=e.key,o=e.isStart,a=e.isEnd;delete t.children;var s=(0,R.H8)(i,d);return g.createElement(Z.Z,(0,r.Z)({},t,s,{title:n,active:l,data:e.data,key:i,isStart:o,isEnd:a}))})))})):g.createElement(Z.Z,(0,r.Z)({domRef:t,className:n,style:i},p,{active:l}))}));function T(e,t,n){var r=e.findIndex((function(e){return e.key===n})),i=e[r+1],o=t.findIndex((function(e){return e.key===n}));if(i){var a=t.findIndex((function(e){return e.key===i.key}));return t.slice(o+1,a)}return t.slice(o+1)}var D=["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"],P={width:0,height:0,display:"flex",overflow:"hidden",opacity:0,border:0,padding:0,margin:0},I=function(){},M="RC_TREE_MOTION_".concat(Math.random()),L={key:M},K={key:M,level:0,index:0,pos:"0",node:L,nodes:[L]},j={parent:null,children:[],pos:K.pos,data:L,title:null,key:M,isStart:[],isEnd:[]};function z(e,t,n,r){return!1!==t&&n?e.slice(0,Math.ceil(n/r)+1):e}function B(e){var t=e.key,n=e.pos;return(0,R.km)(t,n)}var F=g.forwardRef((function(e,t){var n=e.prefixCls,i=e.data,o=(e.selectable,e.checkable,e.expandedKeys),a=e.selectedKeys,s=e.checkedKeys,u=e.loadedKeys,c=e.loadingKeys,l=e.halfCheckedKeys,d=e.keyEntities,p=e.disabled,f=e.dragging,h=e.dragOverNodeKey,_=e.dropPosition,m=e.motion,v=e.height,y=e.itemHeight,b=e.virtual,N=e.scrollWidth,Z=e.focusable,S=e.activeItem,O=e.focused,L=e.tabIndex,K=e.onKeyDown,F=e.onFocus,W=e.onBlur,V=e.onActiveChange,H=e.onListChangeStart,U=e.onListChangeEnd,q=(0,C.Z)(e,D),Y=g.useRef(null),G=g.useRef(null);g.useImperativeHandle(t,(function(){return{scrollTo:function(e){Y.current.scrollTo(e)},getIndentWidth:function(){return G.current.offsetWidth}}}));var X=g.useState(o),J=(0,x.Z)(X,2),Q=J[0],$=J[1],ee=g.useState(i),te=(0,x.Z)(ee,2),ne=te[0],re=te[1],ie=g.useState(i),oe=(0,x.Z)(ie,2),ae=oe[0],se=oe[1],ue=g.useState([]),ce=(0,x.Z)(ue,2),le=ce[0],de=ce[1],pe=g.useState(null),fe=(0,x.Z)(pe,2),he=fe[0],_e=fe[1],me=g.useRef(i);function ve(){var e=me.current;re(e),se(e),de([]),_e(null),U()}me.current=i,(0,k.Z)((function(){$(o);var e=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=e.length,r=t.length;if(1!==Math.abs(n-r))return{add:!1,key:null};function i(e,t){var n=new Map;e.forEach((function(e){n.set(e,!0)}));var r=t.filter((function(e){return!n.has(e)}));return 1===r.length?r[0]:null}return n<r?{add:!0,key:i(e,t)}:{add:!1,key:i(t,e)}}(Q,o);if(null!==e.key)if(e.add){var t=ne.findIndex((function(t){return t.key===e.key})),n=z(T(ne,i,e.key),b,v,y),r=ne.slice();r.splice(t+1,0,j),se(r),de(n),_e("show")}else{var a=i.findIndex((function(t){return t.key===e.key})),s=z(T(i,ne,e.key),b,v,y),u=i.slice();u.splice(a+1,0,j),se(u),de(s),_e("hide")}else ne!==i&&(re(i),se(i))}),[o,i]),g.useEffect((function(){f||ve()}),[f]);var ge=m?ae:i,ye={expandedKeys:o,selectedKeys:a,loadedKeys:u,loadingKeys:c,checkedKeys:s,halfCheckedKeys:l,dragOverNodeKey:h,dropPosition:_,keyEntities:d};return g.createElement(g.Fragment,null,O&&S&&g.createElement("span",{style:P,"aria-live":"assertive"},function(e){for(var t=String(e.data.key),n=e;n.parent;)n=n.parent,t="".concat(n.data.key," > ").concat(t);return t}(S)),g.createElement("div",null,g.createElement("input",{style:P,disabled:!1===Z||p,tabIndex:!1!==Z?L:null,onKeyDown:K,onFocus:F,onBlur:W,value:"",onChange:I,"aria-label":"for screen reader"})),g.createElement("div",{className:"".concat(n,"-treenode"),"aria-hidden":!0,style:{position:"absolute",pointerEvents:"none",visibility:"hidden",height:0,overflow:"hidden",border:0,padding:0}},g.createElement("div",{className:"".concat(n,"-indent")},g.createElement("div",{ref:G,className:"".concat(n,"-indent-unit")}))),g.createElement(E.Z,(0,r.Z)({},q,{data:ge,itemKey:B,height:v,fullHeight:!1,virtual:b,itemHeight:y,scrollWidth:N,prefixCls:"".concat(n,"-list"),ref:Y,role:"tree",onVisibleChange:function(e){e.every((function(e){return B(e)!==M}))&&ve()}}),(function(e){var t=e.pos,n=Object.assign({},(w(e.data),e.data)),i=e.title,o=e.key,a=e.isStart,s=e.isEnd,u=(0,R.km)(o,t);delete n.key,delete n.children;var c=(0,R.H8)(u,ye);return g.createElement(A,(0,r.Z)({},n,c,{title:i,active:!!S&&o===S.key,pos:t,data:e.data,isStart:a,isEnd:s,motion:m,motionNodes:o===M?le:null,motionType:he,onMotionStart:H,onMotionEnd:ve,treeNodeRequiredProps:ye,onMouseMove:function(){V(null)}}))})))}));var W=F,V=n(82661),H=n(34643),U=n(65065),q=function(e){(0,l.Z)(n,e);var t=(0,d.Z)(n);function n(){var e;(0,s.Z)(this,n);for(var r=arguments.length,i=new Array(r),u=0;u<r;u++)i[u]=arguments[u];return e=t.call.apply(t,[this].concat(i)),(0,p.Z)((0,c.Z)(e),"destroyed",!1),(0,p.Z)((0,c.Z)(e),"delayedDragEnterLogic",void 0),(0,p.Z)((0,c.Z)(e),"loadingRetryTimes",{}),(0,p.Z)((0,c.Z)(e),"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,R.w$)()}),(0,p.Z)((0,c.Z)(e),"dragStartMousePosition",null),(0,p.Z)((0,c.Z)(e),"dragNodeProps",null),(0,p.Z)((0,c.Z)(e),"currentMouseOverDroppableNodeKey",null),(0,p.Z)((0,c.Z)(e),"listRef",g.createRef()),(0,p.Z)((0,c.Z)(e),"onNodeDragStart",(function(t,n){var r=e.state,i=r.expandedKeys,o=r.keyEntities,a=e.props.onDragStart,s=n.eventKey;e.dragNodeProps=n,e.dragStartMousePosition={x:t.clientX,y:t.clientY};var u=(0,V._5)(i,s);e.setState({draggingNodeKey:s,dragChildrenKeys:(0,V.wA)(s,o),indent:e.listRef.current.getIndentWidth()}),e.setExpandedKeys(u),window.addEventListener("dragend",e.onWindowDragEnd),null==a||a({event:t,node:(0,R.F)(n)})})),(0,p.Z)((0,c.Z)(e),"onNodeDragEnter",(function(t,n){var r=e.state,i=r.expandedKeys,o=r.keyEntities,s=r.dragChildrenKeys,u=r.flattenNodes,c=r.indent,l=e.props,d=l.onDragEnter,p=l.onExpand,f=l.allowDrop,h=l.direction,_=n.pos,m=n.eventKey;if(e.currentMouseOverDroppableNodeKey!==m&&(e.currentMouseOverDroppableNodeKey=m),e.dragNodeProps){var v=(0,V.OM)(t,e.dragNodeProps,n,c,e.dragStartMousePosition,f,u,o,i,h),g=v.dropPosition,y=v.dropLevelOffset,b=v.dropTargetKey,w=v.dropContainerKey,x=v.dropTargetPos,C=v.dropAllowed,k=v.dragOverNodeKey;!s.includes(b)&&C?(e.delayedDragEnterLogic||(e.delayedDragEnterLogic={}),Object.keys(e.delayedDragEnterLogic).forEach((function(t){clearTimeout(e.delayedDragEnterLogic[t])})),e.dragNodeProps.eventKey!==n.eventKey&&(t.persist(),e.delayedDragEnterLogic[_]=window.setTimeout((function(){if(null!==e.state.draggingNodeKey){var r=(0,a.Z)(i),s=(0,U.Z)(o,n.eventKey);s&&(s.children||[]).length&&(r=(0,V.L0)(i,n.eventKey)),e.props.hasOwnProperty("expandedKeys")||e.setExpandedKeys(r),null==p||p(r,{node:(0,R.F)(n),expanded:!0,nativeEvent:t.nativeEvent})}}),800)),e.dragNodeProps.eventKey!==b||0!==y?(e.setState({dragOverNodeKey:k,dropPosition:g,dropLevelOffset:y,dropTargetKey:b,dropContainerKey:w,dropTargetPos:x,dropAllowed:C}),null==d||d({event:t,node:(0,R.F)(n),expandedKeys:i})):e.resetDragState()):e.resetDragState()}else e.resetDragState()})),(0,p.Z)((0,c.Z)(e),"onNodeDragOver",(function(t,n){var r=e.state,i=r.dragChildrenKeys,o=r.flattenNodes,a=r.keyEntities,s=r.expandedKeys,u=r.indent,c=e.props,l=c.onDragOver,d=c.allowDrop,p=c.direction;if(e.dragNodeProps){var f=(0,V.OM)(t,e.dragNodeProps,n,u,e.dragStartMousePosition,d,o,a,s,p),h=f.dropPosition,_=f.dropLevelOffset,m=f.dropTargetKey,v=f.dropContainerKey,g=f.dropTargetPos,y=f.dropAllowed,b=f.dragOverNodeKey;!i.includes(m)&&y&&(e.dragNodeProps.eventKey===m&&0===_?null===e.state.dropPosition&&null===e.state.dropLevelOffset&&null===e.state.dropTargetKey&&null===e.state.dropContainerKey&&null===e.state.dropTargetPos&&!1===e.state.dropAllowed&&null===e.state.dragOverNodeKey||e.resetDragState():h===e.state.dropPosition&&_===e.state.dropLevelOffset&&m===e.state.dropTargetKey&&v===e.state.dropContainerKey&&g===e.state.dropTargetPos&&y===e.state.dropAllowed&&b===e.state.dragOverNodeKey||e.setState({dropPosition:h,dropLevelOffset:_,dropTargetKey:m,dropContainerKey:v,dropTargetPos:g,dropAllowed:y,dragOverNodeKey:b}),null==l||l({event:t,node:(0,R.F)(n)}))}})),(0,p.Z)((0,c.Z)(e),"onNodeDragLeave",(function(t,n){e.currentMouseOverDroppableNodeKey!==n.eventKey||t.currentTarget.contains(t.relatedTarget)||(e.resetDragState(),e.currentMouseOverDroppableNodeKey=null);var r=e.props.onDragLeave;null==r||r({event:t,node:(0,R.F)(n)})})),(0,p.Z)((0,c.Z)(e),"onWindowDragEnd",(function(t){e.onNodeDragEnd(t,null,!0),window.removeEventListener("dragend",e.onWindowDragEnd)})),(0,p.Z)((0,c.Z)(e),"onNodeDragEnd",(function(t,n){var r=e.props.onDragEnd;e.setState({dragOverNodeKey:null}),e.cleanDragState(),null==r||r({event:t,node:(0,R.F)(n)}),e.dragNodeProps=null,window.removeEventListener("dragend",e.onWindowDragEnd)})),(0,p.Z)((0,c.Z)(e),"onNodeDrop",(function(t,n){var r,i=arguments.length>2&&void 0!==arguments[2]&&arguments[2],a=e.state,s=a.dragChildrenKeys,u=a.dropPosition,c=a.dropTargetKey,l=a.dropTargetPos,d=a.dropAllowed;if(d){var p=e.props.onDrop;if(e.setState({dragOverNodeKey:null}),e.cleanDragState(),null!==c){var f=(0,o.Z)((0,o.Z)({},(0,R.H8)(c,e.getTreeNodeRequiredProps())),{},{active:(null===(r=e.getActiveItem())||void 0===r?void 0:r.key)===c,data:(0,U.Z)(e.state.keyEntities,c).node}),h=s.includes(c);(0,v.ZP)(!h,"Can not drop to dragNode's children node. This is a bug of rc-tree. Please report an issue.");var _=(0,V.yx)(l),m={event:t,node:(0,R.F)(f),dragNode:e.dragNodeProps?(0,R.F)(e.dragNodeProps):null,dragNodesKeys:[e.dragNodeProps.eventKey].concat(s),dropToGap:0!==u,dropPosition:u+Number(_[_.length-1])};i||null==p||p(m),e.dragNodeProps=null}}})),(0,p.Z)((0,c.Z)(e),"cleanDragState",(function(){null!==e.state.draggingNodeKey&&e.setState({draggingNodeKey:null,dropPosition:null,dropContainerKey:null,dropTargetKey:null,dropLevelOffset:null,dropAllowed:!0,dragOverNodeKey:null}),e.dragStartMousePosition=null,e.currentMouseOverDroppableNodeKey=null})),(0,p.Z)((0,c.Z)(e),"triggerExpandActionExpand",(function(t,n){var r=e.state,i=r.expandedKeys,a=r.flattenNodes,s=n.expanded,u=n.key;if(!(n.isLeaf||t.shiftKey||t.metaKey||t.ctrlKey)){var c=a.filter((function(e){return e.key===u}))[0],l=(0,R.F)((0,o.Z)((0,o.Z)({},(0,R.H8)(u,e.getTreeNodeRequiredProps())),{},{data:c.data}));e.setExpandedKeys(s?(0,V._5)(i,u):(0,V.L0)(i,u)),e.onNodeExpand(t,l)}})),(0,p.Z)((0,c.Z)(e),"onNodeClick",(function(t,n){var r=e.props,i=r.onClick;"click"===r.expandAction&&e.triggerExpandActionExpand(t,n),null==i||i(t,n)})),(0,p.Z)((0,c.Z)(e),"onNodeDoubleClick",(function(t,n){var r=e.props,i=r.onDoubleClick;"doubleClick"===r.expandAction&&e.triggerExpandActionExpand(t,n),null==i||i(t,n)})),(0,p.Z)((0,c.Z)(e),"onNodeSelect",(function(t,n){var r=e.state.selectedKeys,i=e.state,o=i.keyEntities,a=i.fieldNames,s=e.props,u=s.onSelect,c=s.multiple,l=n.selected,d=n[a.key],p=!l,f=(r=p?c?(0,V.L0)(r,d):[d]:(0,V._5)(r,d)).map((function(e){var t=(0,U.Z)(o,e);return t?t.node:null})).filter(Boolean);e.setUncontrolledState({selectedKeys:r}),null==u||u(r,{event:"select",selected:p,node:n,selectedNodes:f,nativeEvent:t.nativeEvent})})),(0,p.Z)((0,c.Z)(e),"onNodeCheck",(function(t,n,r){var i,o=e.state,s=o.keyEntities,u=o.checkedKeys,c=o.halfCheckedKeys,l=e.props,d=l.checkStrictly,p=l.onCheck,f=n.key,h={event:"check",node:n,checked:r,nativeEvent:t.nativeEvent};if(d){var _=r?(0,V.L0)(u,f):(0,V._5)(u,f);i={checked:_,halfChecked:(0,V._5)(c,f)},h.checkedNodes=_.map((function(e){return(0,U.Z)(s,e)})).filter(Boolean).map((function(e){return e.node})),e.setUncontrolledState({checkedKeys:_})}else{var m=(0,H.S)([].concat((0,a.Z)(u),[f]),!0,s),v=m.checkedKeys,g=m.halfCheckedKeys;if(!r){var y=new Set(v);y.delete(f);var b=(0,H.S)(Array.from(y),{checked:!1,halfCheckedKeys:g},s);v=b.checkedKeys,g=b.halfCheckedKeys}i=v,h.checkedNodes=[],h.checkedNodesPositions=[],h.halfCheckedKeys=g,v.forEach((function(e){var t=(0,U.Z)(s,e);if(t){var n=t.node,r=t.pos;h.checkedNodes.push(n),h.checkedNodesPositions.push({node:n,pos:r})}})),e.setUncontrolledState({checkedKeys:v},!1,{halfCheckedKeys:g})}null==p||p(i,h)})),(0,p.Z)((0,c.Z)(e),"onNodeLoad",(function(t){var n,r=t.key,i=e.state.keyEntities,o=(0,U.Z)(i,r);if(null==o||null===(n=o.children)||void 0===n||!n.length){var a=new Promise((function(n,i){e.setState((function(o){var a=o.loadedKeys,s=void 0===a?[]:a,u=o.loadingKeys,c=void 0===u?[]:u,l=e.props,d=l.loadData,p=l.onLoad;return!d||s.includes(r)||c.includes(r)?null:(d(t).then((function(){var i=e.state.loadedKeys,o=(0,V.L0)(i,r);null==p||p(o,{event:"load",node:t}),e.setUncontrolledState({loadedKeys:o}),e.setState((function(e){return{loadingKeys:(0,V._5)(e.loadingKeys,r)}})),n()})).catch((function(t){if(e.setState((function(e){return{loadingKeys:(0,V._5)(e.loadingKeys,r)}})),e.loadingRetryTimes[r]=(e.loadingRetryTimes[r]||0)+1,e.loadingRetryTimes[r]>=10){var o=e.state.loadedKeys;(0,v.ZP)(!1,"Retry for `loadData` many times but still failed. No more retry."),e.setUncontrolledState({loadedKeys:(0,V.L0)(o,r)}),n()}i(t)})),{loadingKeys:(0,V.L0)(c,r)})}))}));return a.catch((function(){})),a}})),(0,p.Z)((0,c.Z)(e),"onNodeMouseEnter",(function(t,n){var r=e.props.onMouseEnter;null==r||r({event:t,node:n})})),(0,p.Z)((0,c.Z)(e),"onNodeMouseLeave",(function(t,n){var r=e.props.onMouseLeave;null==r||r({event:t,node:n})})),(0,p.Z)((0,c.Z)(e),"onNodeContextMenu",(function(t,n){var r=e.props.onRightClick;r&&(t.preventDefault(),r({event:t,node:n}))})),(0,p.Z)((0,c.Z)(e),"onFocus",(function(){var t=e.props.onFocus;e.setState({focused:!0});for(var n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];null==t||t.apply(void 0,r)})),(0,p.Z)((0,c.Z)(e),"onBlur",(function(){var t=e.props.onBlur;e.setState({focused:!1}),e.onActiveChange(null);for(var n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];null==t||t.apply(void 0,r)})),(0,p.Z)((0,c.Z)(e),"getTreeNodeRequiredProps",(function(){var t=e.state;return{expandedKeys:t.expandedKeys||[],selectedKeys:t.selectedKeys||[],loadedKeys:t.loadedKeys||[],loadingKeys:t.loadingKeys||[],checkedKeys:t.checkedKeys||[],halfCheckedKeys:t.halfCheckedKeys||[],dragOverNodeKey:t.dragOverNodeKey,dropPosition:t.dropPosition,keyEntities:t.keyEntities}})),(0,p.Z)((0,c.Z)(e),"setExpandedKeys",(function(t){var n=e.state,r=n.treeData,i=n.fieldNames,o=(0,R.oH)(r,t,i);e.setUncontrolledState({expandedKeys:t,flattenNodes:o},!0)})),(0,p.Z)((0,c.Z)(e),"onNodeExpand",(function(t,n){var r=e.state.expandedKeys,i=e.state,o=i.listChanging,a=i.fieldNames,s=e.props,u=s.onExpand,c=s.loadData,l=n.expanded,d=n[a.key];if(!o){var p=r.includes(d),f=!l;if((0,v.ZP)(l&&p||!l&&!p,"Expand state not sync with index check"),r=f?(0,V.L0)(r,d):(0,V._5)(r,d),e.setExpandedKeys(r),null==u||u(r,{node:n,expanded:f,nativeEvent:t.nativeEvent}),f&&c){var h=e.onNodeLoad(n);h&&h.then((function(){var t=(0,R.oH)(e.state.treeData,r,a);e.setUncontrolledState({flattenNodes:t})})).catch((function(){var t=e.state.expandedKeys,n=(0,V._5)(t,d);e.setExpandedKeys(n)}))}}})),(0,p.Z)((0,c.Z)(e),"onListChangeStart",(function(){e.setUncontrolledState({listChanging:!0})})),(0,p.Z)((0,c.Z)(e),"onListChangeEnd",(function(){setTimeout((function(){e.setUncontrolledState({listChanging:!1})}))})),(0,p.Z)((0,c.Z)(e),"onActiveChange",(function(t){var n=e.state.activeKey,r=e.props,i=r.onActiveChange,o=r.itemScrollOffset,a=void 0===o?0:o;n!==t&&(e.setState({activeKey:t}),null!==t&&e.scrollTo({key:t,offset:a}),null==i||i(t))})),(0,p.Z)((0,c.Z)(e),"getActiveItem",(function(){var t=e.state,n=t.activeKey,r=t.flattenNodes;return null===n?null:r.find((function(e){return e.key===n}))||null})),(0,p.Z)((0,c.Z)(e),"offsetActiveKey",(function(t){var n=e.state,r=n.flattenNodes,i=n.activeKey,o=r.findIndex((function(e){return e.key===i}));-1===o&&t<0&&(o=r.length);var a=r[o=(o+t+r.length)%r.length];if(a){var s=a.key;e.onActiveChange(s)}else e.onActiveChange(null)})),(0,p.Z)((0,c.Z)(e),"onKeyDown",(function(t){var n=e.state,r=n.activeKey,i=n.expandedKeys,a=n.checkedKeys,s=n.fieldNames,u=e.props,c=u.onKeyDown,l=u.checkable,d=u.selectable;switch(t.which){case _.Z.UP:e.offsetActiveKey(-1),t.preventDefault();break;case _.Z.DOWN:e.offsetActiveKey(1),t.preventDefault()}var p=e.getActiveItem();if(p&&p.data){var f=e.getTreeNodeRequiredProps(),h=!1===p.data.isLeaf||!!(p.data[s.children]||[]).length,m=(0,R.F)((0,o.Z)((0,o.Z)({},(0,R.H8)(r,f)),{},{data:p.data,active:!0}));switch(t.which){case _.Z.LEFT:h&&i.includes(r)?e.onNodeExpand({},m):p.parent&&e.onActiveChange(p.parent.key),t.preventDefault();break;case _.Z.RIGHT:h&&!i.includes(r)?e.onNodeExpand({},m):p.children&&p.children.length&&e.onActiveChange(p.children[0].key),t.preventDefault();break;case _.Z.ENTER:case _.Z.SPACE:!l||m.disabled||!1===m.checkable||m.disableCheckbox?l||!d||m.disabled||!1===m.selectable||e.onNodeSelect({},m):e.onNodeCheck({},m,!a.includes(r))}}null==c||c(t)})),(0,p.Z)((0,c.Z)(e),"setUncontrolledState",(function(t){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;if(!e.destroyed){var i=!1,a=!0,s={};Object.keys(t).forEach((function(n){e.props.hasOwnProperty(n)?a=!1:(i=!0,s[n]=t[n])})),!i||n&&!a||e.setState((0,o.Z)((0,o.Z)({},s),r))}})),(0,p.Z)((0,c.Z)(e),"scrollTo",(function(t){e.listRef.current.scrollTo(t)})),e}return(0,u.Z)(n,[{key:"componentDidMount",value:function(){this.destroyed=!1,this.onUpdated()}},{key:"componentDidUpdate",value:function(){this.onUpdated()}},{key:"onUpdated",value:function(){var e=this.props,t=e.activeKey,n=e.itemScrollOffset,r=void 0===n?0:n;void 0!==t&&t!==this.state.activeKey&&(this.setState({activeKey:t}),null!==t&&this.scrollTo({key:t,offset:r}))}},{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 e,t=this.state,n=t.focused,o=t.flattenNodes,a=t.keyEntities,s=t.draggingNodeKey,u=t.activeKey,c=t.dropLevelOffset,l=t.dropContainerKey,d=t.dropTargetKey,f=t.dropPosition,_=t.dragOverNodeKey,v=t.indent,b=this.props,w=b.prefixCls,x=b.className,C=b.style,k=b.showLine,E=b.focusable,N=b.tabIndex,Z=void 0===N?0:N,S=b.selectable,R=b.showIcon,O=b.icon,A=b.switcherIcon,T=b.draggable,D=b.checkable,P=b.checkStrictly,I=b.disabled,M=b.motion,L=b.loadData,K=b.filterTreeNode,j=b.height,z=b.itemHeight,B=b.scrollWidth,F=b.virtual,V=b.titleRender,H=b.dropIndicatorRender,U=b.onContextMenu,q=b.onScroll,Y=b.direction,G=b.rootClassName,X=b.rootStyle,J=(0,m.Z)(this.props,{aria:!0,data:!0});T&&(e="object"===(0,i.Z)(T)?T:"function"==typeof T?{nodeDraggable:T}:{});var Q={prefixCls:w,selectable:S,showIcon:R,icon:O,switcherIcon:A,draggable:e,draggingNodeKey:s,checkable:D,checkStrictly:P,disabled:I,keyEntities:a,dropLevelOffset:c,dropContainerKey:l,dropTargetKey:d,dropPosition:f,dragOverNodeKey:_,indent:v,direction:Y,dropIndicatorRender:H,loadData:L,filterTreeNode:K,titleRender:V,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 g.createElement(y.k.Provider,{value:Q},g.createElement("div",{className:h()(w,x,G,(0,p.Z)((0,p.Z)((0,p.Z)({},"".concat(w,"-show-line"),k),"".concat(w,"-focused"),n),"".concat(w,"-active-focused"),null!==u)),style:X},g.createElement(W,(0,r.Z)({ref:this.listRef,prefixCls:w,style:C,data:o,disabled:I,selectable:S,checkable:!!D,motion:M,dragging:null!==s,height:j,itemHeight:z,virtual:F,focusable:E,focused:n,tabIndex:Z,activeItem:this.getActiveItem(),onFocus:this.onFocus,onBlur:this.onBlur,onKeyDown:this.onKeyDown,onActiveChange:this.onActiveChange,onListChangeStart:this.onListChangeStart,onListChangeEnd:this.onListChangeEnd,onContextMenu:U,onScroll:q,scrollWidth:B},this.getTreeNodeRequiredProps(),J))))}}],[{key:"getDerivedStateFromProps",value:function(e,t){var n,r=t.prevProps,i={prevProps:e};function a(t){return!r&&e.hasOwnProperty(t)||r&&r[t]!==e[t]}var s=t.fieldNames;if(a("fieldNames")&&(s=(0,R.w$)(e.fieldNames),i.fieldNames=s),a("treeData")?n=e.treeData:a("children")&&((0,v.ZP)(!1,"`children` of Tree is deprecated. Please use `treeData` instead."),n=(0,R.zn)(e.children)),n){i.treeData=n;var u=(0,R.I8)(n,{fieldNames:s});i.keyEntities=(0,o.Z)((0,p.Z)({},M,K),u.keyEntities)}var c,l=i.keyEntities||t.keyEntities;if(a("expandedKeys")||r&&a("autoExpandParent"))i.expandedKeys=e.autoExpandParent||!r&&e.defaultExpandParent?(0,V.r7)(e.expandedKeys,l):e.expandedKeys;else if(!r&&e.defaultExpandAll){var d=(0,o.Z)({},l);delete d[M];var f=[];Object.keys(d).forEach((function(e){var t=d[e];t.children&&t.children.length&&f.push(t.key)})),i.expandedKeys=f}else!r&&e.defaultExpandedKeys&&(i.expandedKeys=e.autoExpandParent||e.defaultExpandParent?(0,V.r7)(e.defaultExpandedKeys,l):e.defaultExpandedKeys);if(i.expandedKeys||delete i.expandedKeys,n||i.expandedKeys){var h=(0,R.oH)(n||t.treeData,i.expandedKeys||t.expandedKeys,s);i.flattenNodes=h}if((e.selectable&&(a("selectedKeys")?i.selectedKeys=(0,V.BT)(e.selectedKeys,e):!r&&e.defaultSelectedKeys&&(i.selectedKeys=(0,V.BT)(e.defaultSelectedKeys,e))),e.checkable)&&(a("checkedKeys")?c=(0,V.E6)(e.checkedKeys)||{}:!r&&e.defaultCheckedKeys?c=(0,V.E6)(e.defaultCheckedKeys)||{}:n&&(c=(0,V.E6)(e.checkedKeys)||{checkedKeys:t.checkedKeys,halfCheckedKeys:t.halfCheckedKeys}),c)){var _=c,m=_.checkedKeys,g=void 0===m?[]:m,y=_.halfCheckedKeys,b=void 0===y?[]:y;if(!e.checkStrictly){var w=(0,H.S)(g,!0,l);g=w.checkedKeys,b=w.halfCheckedKeys}i.checkedKeys=g,i.halfCheckedKeys=b}return a("loadedKeys")&&(i.loadedKeys=e.loadedKeys),i}}]),n}(g.Component);(0,p.Z)(q,"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:b,allowDrop:function(){return!0},expandAction:!1}),(0,p.Z)(q,"TreeNode",Z.Z);var Y=q},82661:function(e,t,n){"use strict";n.d(t,{BT:function(){return f},E6:function(){return h},L0:function(){return u},OM:function(){return p},_5:function(){return s},r7:function(){return _},wA:function(){return l},yx:function(){return c}});var r=n(94480),i=n(76190),o=n(48736),a=(n(59301),n(639),n(65065));n(34061);function s(e,t){if(!e)return[];var n=e.slice(),r=n.indexOf(t);return r>=0&&n.splice(r,1),n}function u(e,t){var n=(e||[]).slice();return-1===n.indexOf(t)&&n.push(t),n}function c(e){return e.split("-")}function l(e,t){var n=[];return function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];t.forEach((function(t){var r=t.key,i=t.children;n.push(r),e(i)}))}((0,a.Z)(t,e).children),n}function d(e){if(e.parent){var t=c(e.pos);return Number(t[t.length-1])===e.parent.children.length-1}return!1}function p(e,t,n,r,i,o,s,u,l,p){var f,h=e.clientX,_=e.clientY,m=e.target.getBoundingClientRect(),v=m.top,g=m.height,y=(("rtl"===p?-1:1)*(((null==i?void 0:i.x)||0)-h)-12)/r,b=l.filter((function(e){var t;return null===(t=u[e])||void 0===t||null===(t=t.children)||void 0===t?void 0:t.length})),w=(0,a.Z)(u,n.eventKey);if(_<v+g/2){var x=s.findIndex((function(e){return e.key===w.key})),C=s[x<=0?0:x-1].key;w=(0,a.Z)(u,C)}var k=w.key,E=w,N=w.key,Z=0,S=0;if(!b.includes(k))for(var R=0;R<y&&d(w);R+=1)w=w.parent,S+=1;var O,A=t.data,T=w.node,D=!0;return O=c(w.pos),0===Number(O[O.length-1])&&0===w.level&&_<v+g/2&&o({dragNode:A,dropNode:T,dropPosition:-1})&&w.key===n.eventKey?Z=-1:(E.children||[]).length&&b.includes(N)?o({dragNode:A,dropNode:T,dropPosition:0})?Z=0:D=!1:0===S?y>-1.5?o({dragNode:A,dropNode:T,dropPosition:1})?Z=1:D=!1:o({dragNode:A,dropNode:T,dropPosition:0})?Z=0:o({dragNode:A,dropNode:T,dropPosition:1})?Z=1:D=!1:o({dragNode:A,dropNode:T,dropPosition:1})?Z=1:D=!1,{dropPosition:Z,dropLevelOffset:S,dropTargetKey:w.key,dropTargetPos:w.pos,dragOverNodeKey:N,dropContainerKey:0===Z?null:(null===(f=w.parent)||void 0===f?void 0:f.key)||null,dropAllowed:D}}function f(e,t){if(e)return t.multiple?e.slice():e.length?[e[0]]:e}function h(e){if(!e)return null;var t;if(Array.isArray(e))t={checkedKeys:e,halfCheckedKeys:void 0};else{if("object"!==(0,i.Z)(e))return(0,o.ZP)(!1,"`checkedKeys` is not an array or an object"),null;t={checkedKeys:e.checked||void 0,halfCheckedKeys:e.halfChecked||void 0}}return t}function _(e,t){var n=new Set;function i(e){if(!n.has(e)){var r=(0,a.Z)(t,e);if(r){n.add(e);var o=r.parent;r.node.disabled||o&&i(o.key)}}}return(e||[]).forEach((function(e){i(e)})),(0,r.Z)(n)}},34643:function(e,t,n){"use strict";n.d(t,{S:function(){return s}});var r=n(48736),i=n(65065);function o(e,t){var n=new Set;return e.forEach((function(e){t.has(e)||n.add(e)})),n}function a(e){var t=e||{},n=t.disabled,r=t.disableCheckbox,i=t.checkable;return!(!n&&!r)||!1===i}function s(e,t,n,s){var u,c=[];u=s||a;var l,d=new Set(e.filter((function(e){var t=!!(0,i.Z)(n,e);return t||c.push(e),t}))),p=new Map,f=0;return Object.keys(n).forEach((function(e){var t=n[e],r=t.level,i=p.get(r);i||(i=new Set,p.set(r,i)),i.add(t),f=Math.max(f,r)})),(0,r.ZP)(!c.length,"Tree missing follow keys: ".concat(c.slice(0,100).map((function(e){return"'".concat(e,"'")})).join(", "))),l=!0===t?function(e,t,n,r){for(var i=new Set(e),a=new Set,s=0;s<=n;s+=1)(t.get(s)||new Set).forEach((function(e){var t=e.key,n=e.node,o=e.children,a=void 0===o?[]:o;i.has(t)&&!r(n)&&a.filter((function(e){return!r(e.node)})).forEach((function(e){i.add(e.key)}))}));for(var u=new Set,c=n;c>=0;c-=1)(t.get(c)||new Set).forEach((function(e){var t=e.parent,n=e.node;if(!r(n)&&e.parent&&!u.has(e.parent.key))if(r(e.parent.node))u.add(t.key);else{var o=!0,s=!1;(t.children||[]).filter((function(e){return!r(e.node)})).forEach((function(e){var t=e.key,n=i.has(t);o&&!n&&(o=!1),s||!n&&!a.has(t)||(s=!0)})),o&&i.add(t.key),s&&a.add(t.key),u.add(t.key)}}));return{checkedKeys:Array.from(i),halfCheckedKeys:Array.from(o(a,i))}}(d,p,f,u):function(e,t,n,r,i){for(var a=new Set(e),s=new Set(t),u=0;u<=r;u+=1)(n.get(u)||new Set).forEach((function(e){var t=e.key,n=e.node,r=e.children,o=void 0===r?[]:r;a.has(t)||s.has(t)||i(n)||o.filter((function(e){return!i(e.node)})).forEach((function(e){a.delete(e.key)}))}));s=new Set;for(var c=new Set,l=r;l>=0;l-=1)(n.get(l)||new Set).forEach((function(e){var t=e.parent,n=e.node;if(!i(n)&&e.parent&&!c.has(e.parent.key))if(i(e.parent.node))c.add(t.key);else{var r=!0,o=!1;(t.children||[]).filter((function(e){return!i(e.node)})).forEach((function(e){var t=e.key,n=a.has(t);r&&!n&&(r=!1),o||!n&&!s.has(t)||(o=!0)})),r||a.delete(t.key),o&&s.add(t.key),c.add(t.key)}}));return{checkedKeys:Array.from(a),halfCheckedKeys:Array.from(o(s,a))}}(d,t.halfCheckedKeys,p,f,u),l}},65065:function(e,t,n){"use strict";function r(e,t){return e[t]}n.d(t,{Z:function(){return r}})},34061:function(e,t,n){"use strict";n.d(t,{F:function(){return b},H8:function(){return y},I8:function(){return g},km:function(){return f},oH:function(){return m},w$:function(){return h},zn:function(){return _}});var r=n(76190),i=n(94480),o=n(33885),a=n(75931),s=n(11592),u=n(2738),c=n(48736),l=n(65065),d=["children"];function p(e,t){return"".concat(e,"-").concat(t)}function f(e,t){return null!=e?e:t}function h(e){var t=e||{},n=t.title||"title";return{title:n,_title:t._title||[n],key:t.key||"key",children:t.children||"children"}}function _(e){return function e(t){return(0,s.Z)(t).map((function(t){if(!function(e){return e&&e.type&&e.type.isTreeNode}(t))return(0,c.ZP)(!t,"Tree/TreeNode can only accept TreeNode as children."),null;var n=t.key,r=t.props,i=r.children,s=(0,a.Z)(r,d),u=(0,o.Z)({key:n},s),l=e(i);return l.length&&(u.children=l),u})).filter((function(e){return e}))}(e)}function m(e,t,n){var r=h(n),o=r._title,a=r.key,s=r.children,c=new Set(!0===t?[]:t),l=[];return function e(n){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return n.map((function(d,h){for(var _,m=p(r?r.pos:"0",h),v=f(d[a],m),g=0;g<o.length;g+=1){var y=o[g];if(void 0!==d[y]){_=d[y];break}}var b=Object.assign((0,u.Z)(d,[].concat((0,i.Z)(o),[a,s])),{title:_,key:v,parent:r,pos:m,children:null,data:d,isStart:[].concat((0,i.Z)(r?r.isStart:[]),[0===h]),isEnd:[].concat((0,i.Z)(r?r.isEnd:[]),[h===n.length-1])});return l.push(b),!0===t||c.has(v)?b.children=e(d[s]||[],b):b.children=[],b}))}(e),l}function v(e,t,n){var o,a=("object"===(0,r.Z)(n)?n:{externalGetKey:n})||{},s=a.childrenPropName,u=a.externalGetKey,c=h(a.fieldNames),l=c.key,d=c.children,_=s||d;u?"string"==typeof u?o=function(e){return e[u]}:"function"==typeof u&&(o=function(e){return u(e)}):o=function(e,t){return f(e[l],t)},function n(r,a,s,u){var c=r?r[_]:e,l=r?p(s.pos,a):"0",d=r?[].concat((0,i.Z)(u),[r]):[];if(r){var f=o(r,l),h={node:r,index:a,pos:l,key:f,parentPos:s.node?s.pos:null,level:s.level+1,nodes:d};t(h)}c&&c.forEach((function(e,t){n(e,t,{node:r,pos:l,level:s?s.level+1:-1},d)}))}(null)}function g(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.initWrapper,r=t.processEntity,i=t.onProcessFinished,o=t.externalGetKey,a=t.childrenPropName,s=t.fieldNames,u=arguments.length>2?arguments[2]:void 0,c=o||u,l={},d={},p={posEntities:l,keyEntities:d};return n&&(p=n(p)||p),v(e,(function(e){var t=e.node,n=e.index,i=e.pos,o=e.key,a=e.parentPos,s=e.level,u={node:t,nodes:e.nodes,index:n,key:o,pos:i,level:s},c=f(o,i);l[i]=u,d[c]=u,u.parent=l[a],u.parent&&(u.parent.children=u.parent.children||[],u.parent.children.push(u)),r&&r(u,p)}),{externalGetKey:c,childrenPropName:a,fieldNames:s}),i&&i(p),p}function y(e,t){var n=t.expandedKeys,r=t.selectedKeys,i=t.loadedKeys,o=t.loadingKeys,a=t.checkedKeys,s=t.halfCheckedKeys,u=t.dragOverNodeKey,c=t.dropPosition,d=t.keyEntities,p=(0,l.Z)(d,e);return{eventKey:e,expanded:-1!==n.indexOf(e),selected:-1!==r.indexOf(e),loaded:-1!==i.indexOf(e),loading:-1!==o.indexOf(e),checked:-1!==a.indexOf(e),halfChecked:-1!==s.indexOf(e),pos:String(p?p.pos:""),dragOver:u===e&&0===c,dragOverGapTop:u===e&&-1===c,dragOverGapBottom:u===e&&1===c}}function b(e){var t=e.data,n=e.expanded,r=e.selected,i=e.checked,a=e.loaded,s=e.loading,u=e.halfChecked,l=e.dragOver,d=e.dragOverGapTop,p=e.dragOverGapBottom,f=e.pos,h=e.active,_=e.eventKey,m=(0,o.Z)((0,o.Z)({},t),{},{expanded:n,selected:r,checked:i,loaded:a,loading:s,halfChecked:u,dragOver:l,dragOverGapTop:d,dragOverGapBottom:p,pos:f,active:h,key:_});return"props"in m||Object.defineProperty(m,"props",{get:function(){return(0,c.ZP)(!1,"Second param return from event is node data instead of TreeNode instance. Please read value directly instead of reading from `props`."),e}}),m}},8224:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(4676);function i(e,t,n,i){var o=r.unstable_batchedUpdates?function(e){r.unstable_batchedUpdates(n,e)}:n;return null!=e&&e.addEventListener&&e.addEventListener(t,o,i),{remove:function(){null!=e&&e.removeEventListener&&e.removeEventListener(t,o,i)}}}},24514:function(e,t,n){"use strict";n.d(t,{G:function(){return o}});var r=n(47273),i=function(e){if((0,r.Z)()&&window.document.documentElement){var t=Array.isArray(e)?e:[e],n=window.document.documentElement;return t.some((function(e){return e in n.style}))}return!1};function o(e,t){return Array.isArray(e)||void 0===t?i(e):function(e,t){if(!i(e))return!1;var n=document.createElement("div"),r=n.style[e];return n.style[e]=t,n.style[e]!==r}(e,t)}},49658:function(e,t){"use strict";t.Z=function(){if("undefined"==typeof navigator||"undefined"==typeof window)return!1;var e=navigator.userAgent||navigator.vendor||window.opera;return/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i.test(e)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw-(n|u)|c55\/|capi|ccwa|cdm-|cell|chtm|cldc|cmd-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc-s|devi|dica|dmob|do(c|p)o|ds(12|-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(-|_)|g1 u|g560|gene|gf-5|g-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd-(m|p|t)|hei-|hi(pt|ta)|hp( i|ip)|hs-c|ht(c(-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i-(20|go|ma)|i230|iac( |-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|-[a-w])|libw|lynx|m1-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|-([1-8]|c))|phil|pire|pl(ay|uc)|pn-2|po(ck|rt|se)|prox|psio|pt-g|qa-a|qc(07|12|21|32|60|-[2-7]|i-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h-|oo|p-)|sdk\/|se(c(-|0|1)|47|mc|nd|ri)|sgh-|shar|sie(-|m)|sk-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h-|v-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl-|tdg-|tel(i|m)|tim-|t-mo|to(pl|sh)|ts(70|m-|m3|m5)|tx-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas-|your|zeto|zte-/i.test(null==e?void 0:e.substr(0,4))}},48911:function(e,t,n){"use strict";n.d(t,{Z:function(){return K}});var r=n(54476),i=n(76190),o=n(33885),a=n(20068),s=n(42978),u=n(75931),c=n(92310),l=n.n(c),d=n(29301),p=n(70425),f=n(34280),h=n(59301),_=n(4676),m=h.forwardRef((function(e,t){var n=e.height,i=e.offsetY,s=e.offsetX,u=e.children,c=e.prefixCls,p=e.onInnerResize,f=e.innerProps,_=e.rtl,m=e.extra,v={},g={display:"flex",flexDirection:"column"};return void 0!==i&&(v={height:n,position:"relative",overflow:"hidden"},g=(0,o.Z)((0,o.Z)({},g),{},(0,a.Z)((0,a.Z)((0,a.Z)((0,a.Z)((0,a.Z)({transform:"translateY(".concat(i,"px)")},_?"marginRight":"marginLeft",-s),"position","absolute"),"left",0),"right",0),"top",0))),h.createElement("div",{style:v},h.createElement(d.Z,{onResize:function(e){e.offsetHeight&&p&&p()}},h.createElement("div",(0,r.Z)({style:g,className:l()((0,a.Z)({},"".concat(c,"-holder-inner"),c)),ref:t},f),u,m)))}));m.displayName="Filler";var v=m;function g(e){var t=e.children,n=e.setRef,r=h.useCallback((function(e){n(e)}),[]);return h.cloneElement(t,{ref:r})}function y(e,t,n){var r=h.useState(e),i=(0,s.Z)(r,2),o=i[0],a=i[1],u=h.useState(null),c=(0,s.Z)(u,2),l=c[0],d=c[1];return h.useEffect((function(){var r=function(e,t,n){var r,i,o=e.length,a=t.length;if(0===o&&0===a)return null;o<a?(r=e,i=t):(r=t,i=e);var s={__EMPTY_ITEM__:!0};function u(e){return void 0!==e?n(e):s}for(var c=null,l=1!==Math.abs(o-a),d=0;d<i.length;d+=1){var p=u(r[d]);if(p!==u(i[d])){c=d,l=l||p!==u(i[d+1]);break}}return null===c?null:{index:c,multiple:l}}(o||[],e||[],t);void 0!==(null==r?void 0:r.index)&&(null==n||n(r.index),d(e[r.index])),a(e)}),[e]),[l]}var b=n(16089),w="object"===("undefined"==typeof navigator?"undefined":(0,i.Z)(navigator))&&/Firefox/i.test(navigator.userAgent),x=function(e,t,n,r){var i=(0,h.useRef)(!1),o=(0,h.useRef)(null);function a(){clearTimeout(o.current),i.current=!0,o.current=setTimeout((function(){i.current=!1}),50)}var s=(0,h.useRef)({top:e,bottom:t,left:n,right:r});return s.current.top=e,s.current.bottom=t,s.current.left=n,s.current.right=r,function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=e?t<0&&s.current.left||t>0&&s.current.right:t<0&&s.current.top||t>0&&s.current.bottom;return n&&r?(clearTimeout(o.current),i.current=!1):r&&!i.current||a(),!i.current&&r}};function C(e,t,n,r,i,o,a){var s=(0,h.useRef)(0),u=(0,h.useRef)(null),c=(0,h.useRef)(null),l=(0,h.useRef)(!1),d=x(t,n,r,i);var p=(0,h.useRef)(null),f=(0,h.useRef)(null);return[function(t){if(e){b.Z.cancel(f.current),f.current=(0,b.Z)((function(){p.current=null}),2);var n=t.deltaX,r=t.deltaY,i=t.shiftKey,h=n,_=r;("sx"===p.current||!p.current&&i&&r&&!n)&&(h=r,_=0,p.current="sx");var m=Math.abs(h),v=Math.abs(_);null===p.current&&(p.current=o&&m>v?"x":"y"),"y"===p.current?function(e,t){if(b.Z.cancel(u.current),!d(!1,t)){var n=e;n._virtualHandled||(n._virtualHandled=!0,s.current+=t,c.current=t,w||n.preventDefault(),u.current=(0,b.Z)((function(){var e=l.current?10:1;a(s.current*e,!1),s.current=0})))}}(t,_):function(e,t){a(t,!0),w||e.preventDefault()}(t,h)}},function(t){e&&(l.current=t.detail===c.current)}]}var k=n(67732),E=n(83652),N=function(){function e(){(0,k.Z)(this,e),(0,a.Z)(this,"maps",void 0),(0,a.Z)(this,"id",0),(0,a.Z)(this,"diffRecords",new Map),this.maps=Object.create(null)}return(0,E.Z)(e,[{key:"set",value:function(e,t){this.diffRecords.set(e,this.maps[e]),this.maps[e]=t,this.id+=1}},{key:"get",value:function(e){return this.maps[e]}},{key:"resetRecord",value:function(){this.diffRecords.clear()}},{key:"getRecord",value:function(){return this.diffRecords}}]),e}();function Z(e){var t=parseFloat(e);return isNaN(t)?0:t}var S=14/15;function R(e){return Math.floor(Math.pow(e,.5))}function O(e,t){return("touches"in e?e.touches[0]:e)[t?"pageX":"pageY"]-window[t?"scrollX":"scrollY"]}var A=h.forwardRef((function(e,t){var n=e.prefixCls,r=e.rtl,i=e.scrollOffset,u=e.scrollRange,c=e.onStartMove,d=e.onStopMove,p=e.onScroll,f=e.horizontal,_=e.spinSize,m=e.containerSize,v=e.style,g=e.thumbStyle,y=e.showScrollBar,w=h.useState(!1),x=(0,s.Z)(w,2),C=x[0],k=x[1],E=h.useState(null),N=(0,s.Z)(E,2),Z=N[0],S=N[1],R=h.useState(null),A=(0,s.Z)(R,2),T=A[0],D=A[1],P=!r,I=h.useRef(),M=h.useRef(),L=h.useState(y),K=(0,s.Z)(L,2),j=K[0],z=K[1],B=h.useRef(),F=function(){!0!==y&&!1!==y&&(clearTimeout(B.current),z(!0),B.current=setTimeout((function(){z(!1)}),3e3))},W=u-m||0,V=m-_||0,H=h.useMemo((function(){return 0===i||0===W?0:i/W*V}),[i,W,V]),U=h.useRef({top:H,dragging:C,pageY:Z,startTop:T});U.current={top:H,dragging:C,pageY:Z,startTop:T};var q=function(e){k(!0),S(O(e,f)),D(U.current.top),c(),e.stopPropagation(),e.preventDefault()};h.useEffect((function(){var e=function(e){e.preventDefault()},t=I.current,n=M.current;return t.addEventListener("touchstart",e,{passive:!1}),n.addEventListener("touchstart",q,{passive:!1}),function(){t.removeEventListener("touchstart",e),n.removeEventListener("touchstart",q)}}),[]);var Y=h.useRef();Y.current=W;var G=h.useRef();G.current=V,h.useEffect((function(){if(C){var e,t=function(t){var n=U.current,r=n.dragging,i=n.pageY,o=n.startTop;b.Z.cancel(e);var a=I.current.getBoundingClientRect(),s=m/(f?a.width:a.height);if(r){var u=(O(t,f)-i)*s,c=o;!P&&f?c-=u:c+=u;var l=Y.current,d=G.current,h=d?c/d:0,_=Math.ceil(h*l);_=Math.max(_,0),_=Math.min(_,l),e=(0,b.Z)((function(){p(_,f)}))}},n=function(){k(!1),d()};return window.addEventListener("mousemove",t,{passive:!0}),window.addEventListener("touchmove",t,{passive:!0}),window.addEventListener("mouseup",n,{passive:!0}),window.addEventListener("touchend",n,{passive:!0}),function(){window.removeEventListener("mousemove",t),window.removeEventListener("touchmove",t),window.removeEventListener("mouseup",n),window.removeEventListener("touchend",n),b.Z.cancel(e)}}}),[C]),h.useEffect((function(){return F(),function(){clearTimeout(B.current)}}),[i]),h.useImperativeHandle(t,(function(){return{delayHidden:F}}));var X="".concat(n,"-scrollbar"),J={position:"absolute",visibility:j?null:"hidden"},Q={position:"absolute",borderRadius:99,background:"var(--rc-virtual-list-scrollbar-bg, rgba(0, 0, 0, 0.5))",cursor:"pointer",userSelect:"none"};return f?(Object.assign(J,{height:8,left:0,right:0,bottom:0}),Object.assign(Q,(0,a.Z)({height:"100%",width:_},P?"left":"right",H))):(Object.assign(J,(0,a.Z)({width:8,top:0,bottom:0},P?"right":"left",0)),Object.assign(Q,{width:"100%",height:_,top:H})),h.createElement("div",{ref:I,className:l()(X,(0,a.Z)((0,a.Z)((0,a.Z)({},"".concat(X,"-horizontal"),f),"".concat(X,"-vertical"),!f),"".concat(X,"-visible"),j)),style:(0,o.Z)((0,o.Z)({},J),v),onMouseDown:function(e){e.stopPropagation(),e.preventDefault()},onMouseMove:F},h.createElement("div",{ref:M,className:l()("".concat(X,"-thumb"),(0,a.Z)({},"".concat(X,"-thumb-moving"),C)),style:(0,o.Z)((0,o.Z)({},Q),g),onMouseDown:q}))}));function T(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=e/t*e;return isNaN(n)&&(n=0),n=Math.max(n,20),Math.floor(n)}var D=["prefixCls","className","height","itemHeight","fullHeight","style","data","children","itemKey","virtual","direction","scrollWidth","component","onScroll","onVirtualScroll","onVisibleChange","innerProps","extraRender","styles","showScrollBar"],P=[],I={overflowY:"auto",overflowAnchor:"none"};function M(e,t){var n=e.prefixCls,c=void 0===n?"rc-virtual-list":n,m=e.className,w=e.height,k=e.itemHeight,E=e.fullHeight,M=void 0===E||E,L=e.style,K=e.data,j=e.children,z=e.itemKey,B=e.virtual,F=e.direction,W=e.scrollWidth,V=e.component,H=void 0===V?"div":V,U=e.onScroll,q=e.onVirtualScroll,Y=e.onVisibleChange,G=e.innerProps,X=e.extraRender,J=e.styles,Q=e.showScrollBar,$=void 0===Q?"optional":Q,ee=(0,u.Z)(e,D),te=h.useCallback((function(e){return"function"==typeof z?z(e):null==e?void 0:e[z]}),[z]),ne=function(e,t,n){var r=h.useState(0),i=(0,s.Z)(r,2),o=i[0],a=i[1],u=(0,h.useRef)(new Map),c=(0,h.useRef)(new N),l=(0,h.useRef)(0);function d(){l.current+=1}function p(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];d();var t=function(){var e=!1;u.current.forEach((function(t,n){if(t&&t.offsetParent){var r=t.offsetHeight,i=getComputedStyle(t),o=i.marginTop,a=i.marginBottom,s=r+Z(o)+Z(a);c.current.get(n)!==s&&(c.current.set(n,s),e=!0)}})),e&&a((function(e){return e+1}))};if(e)t();else{l.current+=1;var n=l.current;Promise.resolve().then((function(){n===l.current&&t()}))}}return(0,h.useEffect)((function(){return d}),[]),[function(r,i){var o=e(r),a=u.current.get(o);i?(u.current.set(o,i),p()):u.current.delete(o),!a!=!i&&(i?null==t||t(r):null==n||n(r))},p,c.current,o]}(te,null,null),re=(0,s.Z)(ne,4),ie=re[0],oe=re[1],ae=re[2],se=re[3],ue=!(!1===B||!w||!k),ce=h.useMemo((function(){return Object.values(ae.maps).reduce((function(e,t){return e+t}),0)}),[ae.id,ae.maps]),le=ue&&K&&(Math.max(k*K.length,ce)>w||!!W),de="rtl"===F,pe=l()(c,(0,a.Z)({},"".concat(c,"-rtl"),de),m),fe=K||P,he=(0,h.useRef)(),_e=(0,h.useRef)(),me=(0,h.useRef)(),ve=(0,h.useState)(0),ge=(0,s.Z)(ve,2),ye=ge[0],be=ge[1],we=(0,h.useState)(0),xe=(0,s.Z)(we,2),Ce=xe[0],ke=xe[1],Ee=(0,h.useState)(!1),Ne=(0,s.Z)(Ee,2),Ze=Ne[0],Se=Ne[1],Re=function(){Se(!0)},Oe=function(){Se(!1)},Ae={getKey:te};function Te(e){be((function(t){var n=function(e){var t=e;Number.isNaN(Je.current)||(t=Math.min(t,Je.current));return t=Math.max(t,0),t}("function"==typeof e?e(t):e);return he.current.scrollTop=n,n}))}var De=(0,h.useRef)({start:0,end:fe.length}),Pe=(0,h.useRef)(),Ie=y(fe,te),Me=(0,s.Z)(Ie,1)[0];Pe.current=Me;var Le=h.useMemo((function(){if(!ue)return{scrollHeight:void 0,start:0,end:fe.length-1,offset:void 0};var e;if(!le)return{scrollHeight:(null===(e=_e.current)||void 0===e?void 0:e.offsetHeight)||0,start:0,end:fe.length-1,offset:void 0};for(var t,n,r,i=0,o=fe.length,a=0;a<o;a+=1){var s=fe[a],u=te(s),c=ae.get(u),l=i+(void 0===c?k:c);l>=ye&&void 0===t&&(t=a,n=i),l>ye+w&&void 0===r&&(r=a),i=l}return void 0===t&&(t=0,n=0,r=Math.ceil(w/k)),void 0===r&&(r=fe.length-1),{scrollHeight:i,start:t,end:r=Math.min(r+1,fe.length-1),offset:n}}),[le,ue,ye,fe,se,w]),Ke=Le.scrollHeight,je=Le.start,ze=Le.end,Be=Le.offset;De.current.start=je,De.current.end=ze,h.useLayoutEffect((function(){var e=ae.getRecord();if(1===e.size){var t=Array.from(e.keys())[0],n=e.get(t),r=fe[je];if(r&&void 0===n)if(te(r)===t){var i=ae.get(t)-k;Te((function(e){return e+i}))}}ae.resetRecord()}),[Ke]);var Fe=h.useState({width:0,height:w}),We=(0,s.Z)(Fe,2),Ve=We[0],He=We[1],Ue=(0,h.useRef)(),qe=(0,h.useRef)(),Ye=h.useMemo((function(){return T(Ve.width,W)}),[Ve.width,W]),Ge=h.useMemo((function(){return T(Ve.height,Ke)}),[Ve.height,Ke]),Xe=Ke-w,Je=(0,h.useRef)(Xe);Je.current=Xe;var Qe=ye<=0,$e=ye>=Xe,et=Ce<=0,tt=Ce>=W,nt=x(Qe,$e,et,tt),rt=function(){return{x:de?-Ce:Ce,y:ye}},it=(0,h.useRef)(rt()),ot=(0,p.zX)((function(e){if(q){var t=(0,o.Z)((0,o.Z)({},rt()),e);it.current.x===t.x&&it.current.y===t.y||(q(t),it.current=t)}}));function at(e,t){var n=e;t?((0,_.flushSync)((function(){ke(n)})),ot()):Te(n)}var st=function(e){var t=e,n=W?W-Ve.width:0;return t=Math.max(t,0),t=Math.min(t,n)},ut=(0,p.zX)((function(e,t){t?((0,_.flushSync)((function(){ke((function(t){return st(t+(de?-e:e))}))})),ot()):Te((function(t){return t+e}))})),ct=C(ue,Qe,$e,et,tt,!!W,ut),lt=(0,s.Z)(ct,2),dt=lt[0],pt=lt[1];!function(e,t,n){var r,i=(0,h.useRef)(!1),o=(0,h.useRef)(0),a=(0,h.useRef)(0),s=(0,h.useRef)(null),u=(0,h.useRef)(null),c=function(e){if(i.current){var t=Math.ceil(e.touches[0].pageX),r=Math.ceil(e.touches[0].pageY),s=o.current-t,c=a.current-r,l=Math.abs(s)>Math.abs(c);l?o.current=t:a.current=r;var d=n(l,l?s:c,!1,e);d&&e.preventDefault(),clearInterval(u.current),d&&(u.current=setInterval((function(){l?s*=S:c*=S;var e=Math.floor(l?s:c);(!n(l,e,!0)||Math.abs(e)<=.1)&&clearInterval(u.current)}),16))}},l=function(){i.current=!1,r()},d=function(e){r(),1!==e.touches.length||i.current||(i.current=!0,o.current=Math.ceil(e.touches[0].pageX),a.current=Math.ceil(e.touches[0].pageY),s.current=e.target,s.current.addEventListener("touchmove",c,{passive:!1}),s.current.addEventListener("touchend",l,{passive:!0}))};r=function(){s.current&&(s.current.removeEventListener("touchmove",c),s.current.removeEventListener("touchend",l))},(0,f.Z)((function(){return e&&t.current.addEventListener("touchstart",d,{passive:!0}),function(){var e;null===(e=t.current)||void 0===e||e.removeEventListener("touchstart",d),r(),clearInterval(u.current)}}),[e])}(ue,he,(function(e,t,n,r){var i=r;return!nt(e,t,n)&&((!i||!i._virtualHandled)&&(i&&(i._virtualHandled=!0),dt({preventDefault:function(){},deltaX:e?t:0,deltaY:e?0:t}),!0))})),function(e,t,n){h.useEffect((function(){var r=t.current;if(e&&r){var i,o,a=!1,s=function(){b.Z.cancel(i)},u=function e(){s(),i=(0,b.Z)((function(){n(o),e()}))},c=function(){a=!1,s()},l=function(e){if(!e.target.draggable&&0===e.button){var t=e;t._virtualHandled||(t._virtualHandled=!0,a=!0)}},d=function(e){if(a){var t=O(e,!1),n=r.getBoundingClientRect(),i=n.top,c=n.bottom;t<=i?(o=-R(i-t),u()):t>=c?(o=R(t-c),u()):s()}};return r.addEventListener("mousedown",l),r.ownerDocument.addEventListener("mouseup",c),r.ownerDocument.addEventListener("mousemove",d),r.ownerDocument.addEventListener("dragend",c),function(){r.removeEventListener("mousedown",l),r.ownerDocument.removeEventListener("mouseup",c),r.ownerDocument.removeEventListener("mousemove",d),r.ownerDocument.removeEventListener("dragend",c),s()}}}),[e])}(le,he,(function(e){Te((function(t){return t+e}))})),(0,f.Z)((function(){function e(e){var t=Qe&&e.detail<0,n=$e&&e.detail>0;!ue||t||n||e.preventDefault()}var t=he.current;return t.addEventListener("wheel",dt,{passive:!1}),t.addEventListener("DOMMouseScroll",pt,{passive:!0}),t.addEventListener("MozMousePixelScroll",e,{passive:!1}),function(){t.removeEventListener("wheel",dt),t.removeEventListener("DOMMouseScroll",pt),t.removeEventListener("MozMousePixelScroll",e)}}),[ue,Qe,$e]),(0,f.Z)((function(){if(W){var e=st(Ce);ke(e),ot({x:e})}}),[Ve.width,W]);var ft=function(){var e,t;null===(e=Ue.current)||void 0===e||e.delayHidden(),null===(t=qe.current)||void 0===t||t.delayHidden()},ht=function(e,t,n,r,a,u,c,l){var d=h.useRef(),p=h.useState(null),_=(0,s.Z)(p,2),m=_[0],v=_[1];return(0,f.Z)((function(){if(m&&m.times<10){if(!e.current)return void v((function(e){return(0,o.Z)({},e)}));u();var i=m.targetAlign,s=m.originAlign,l=m.index,d=m.offset,p=e.current.clientHeight,f=!1,h=i,_=null;if(p){for(var g=i||s,y=0,b=0,w=0,x=Math.min(t.length-1,l),C=0;C<=x;C+=1){var k=a(t[C]);b=y;var E=n.get(k);y=w=b+(void 0===E?r:E)}for(var N="top"===g?d:p-d,Z=x;Z>=0;Z-=1){var S=a(t[Z]),R=n.get(S);if(void 0===R){f=!0;break}if((N-=R)<=0)break}switch(g){case"top":_=b-d;break;case"bottom":_=w-p+d;break;default:var O=e.current.scrollTop;b<O?h="top":w>O+p&&(h="bottom")}null!==_&&c(_),_!==m.lastTop&&(f=!0)}f&&v((0,o.Z)((0,o.Z)({},m),{},{times:m.times+1,targetAlign:h,lastTop:_}))}}),[m,e.current]),function(e){if(null!=e){if(b.Z.cancel(d.current),"number"==typeof e)c(e);else if(e&&"object"===(0,i.Z)(e)){var n,r=e.align;n="index"in e?e.index:t.findIndex((function(t){return a(t)===e.key}));var o=e.offset;v({times:0,index:n,offset:void 0===o?0:o,originAlign:r})}}else l()}}(he,fe,ae,k,te,(function(){return oe(!0)}),Te,ft);h.useImperativeHandle(t,(function(){return{nativeElement:me.current,getScrollInfo:rt,scrollTo:function(e){var t;(t=e)&&"object"===(0,i.Z)(t)&&("left"in t||"top"in t)?(void 0!==e.left&&ke(st(e.left)),ht(e.top)):ht(e)}}})),(0,f.Z)((function(){if(Y){var e=fe.slice(je,ze+1);Y(e,fe)}}),[je,ze,fe]);var _t=function(e,t,n,r){var i=h.useMemo((function(){return[new Map,[]]}),[e,n.id,r]),o=(0,s.Z)(i,2),a=o[0],u=o[1];return function(i){var o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:i,s=a.get(i),c=a.get(o);if(void 0===s||void 0===c)for(var l=e.length,d=u.length;d<l;d+=1){var p,f=e[d],h=t(f);a.set(h,d);var _=null!==(p=n.get(h))&&void 0!==p?p:r;if(u[d]=(u[d-1]||0)+_,h===i&&(s=d),h===o&&(c=d),void 0!==s&&void 0!==c)break}return{top:u[s-1]||0,bottom:u[c]}}}(fe,te,ae,k),mt=null==X?void 0:X({start:je,end:ze,virtual:le,offsetX:Ce,offsetY:Be,rtl:de,getSize:_t}),vt=function(e,t,n,r,i,o,a,s){var u=s.getKey;return e.slice(t,n+1).map((function(e,n){var s=a(e,t+n,{style:{width:r},offsetX:i}),c=u(e);return h.createElement(g,{key:c,setRef:function(t){return o(e,t)}},s)}))}(fe,je,ze,W,Ce,ie,j,Ae),gt=null;w&&(gt=(0,o.Z)((0,a.Z)({},M?"height":"maxHeight",w),I),ue&&(gt.overflowY="hidden",W&&(gt.overflowX="hidden"),Ze&&(gt.pointerEvents="none")));var yt={};return de&&(yt.dir="rtl"),h.createElement("div",(0,r.Z)({ref:me,style:(0,o.Z)((0,o.Z)({},L),{},{position:"relative"}),className:pe},yt,ee),h.createElement(d.Z,{onResize:function(e){He({width:e.offsetWidth,height:e.offsetHeight})}},h.createElement(H,{className:"".concat(c,"-holder"),style:gt,ref:he,onScroll:function(e){var t=e.currentTarget.scrollTop;t!==ye&&Te(t),null==U||U(e),ot()},onMouseEnter:ft},h.createElement(v,{prefixCls:c,height:Ke,offsetX:Ce,offsetY:Be,scrollWidth:W,onInnerResize:oe,ref:_e,innerProps:G,rtl:de,extra:mt},vt))),le&&Ke>w&&h.createElement(A,{ref:Ue,prefixCls:c,scrollOffset:ye,scrollRange:Ke,rtl:de,onScroll:at,onStartMove:Re,onStopMove:Oe,spinSize:Ge,containerSize:Ve.height,style:null==J?void 0:J.verticalScrollBar,thumbStyle:null==J?void 0:J.verticalScrollBarThumb,showScrollBar:$}),le&&W>Ve.width&&h.createElement(A,{ref:qe,prefixCls:c,scrollOffset:Ce,scrollRange:W,rtl:de,onScroll:at,onStartMove:Re,onStopMove:Oe,spinSize:Ye,containerSize:Ve.width,horizontal:!0,style:null==J?void 0:J.horizontalScrollBar,thumbStyle:null==J?void 0:J.horizontalScrollBarThumb,showScrollBar:$}))}var L=h.forwardRef(M);L.displayName="List";var K=L},83145:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CopyToClipboard=void 0;var r=o(n(59301)),i=o(n(25769));function o(e){return e&&e.__esModule?e:{default:e}}function a(e){return a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a(e)}function s(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function u(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function c(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function l(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function d(e,t){return!t||"object"!==a(t)&&"function"!=typeof t?f(e):t}function p(e){return p=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},p(e)}function f(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function h(e,t){return h=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},h(e,t)}function _(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var m=function(e){function t(){var e,n;c(this,t);for(var o=arguments.length,a=new Array(o),s=0;s<o;s++)a[s]=arguments[s];return _(f(n=d(this,(e=p(t)).call.apply(e,[this].concat(a)))),"onClick",(function(e){var t=n.props,o=t.text,a=t.onCopy,s=t.children,u=t.options,c=r.default.Children.only(s),l=(0,i.default)(o,u);a&&a(o,l),c&&c.props&&"function"==typeof c.props.onClick&&c.props.onClick(e)})),n}var n,o,a;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&h(e,t)}(t,e),n=t,o=[{key:"render",value:function(){var e=this.props,t=(e.text,e.onCopy,e.options,e.children),n=u(e,["text","onCopy","options","children"]),i=r.default.Children.only(t);return r.default.cloneElement(i,function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?s(n,!0).forEach((function(t){_(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):s(n).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},n,{onClick:this.onClick}))}}],o&&l(n.prototype,o),a&&l(n,a),t}(r.default.PureComponent);t.CopyToClipboard=m,_(m,"defaultProps",{onCopy:void 0,options:void 0})},56102:function(e,t,n){"use strict";var r=n(83145).CopyToClipboard;r.CopyToClipboard=r,e.exports=r},76374:function(e,t,n){"use strict";var r=function(){if("undefined"!=typeof Map)return Map;function e(e,t){var n=-1;return e.some((function(e,r){return e[0]===t&&(n=r,!0)})),n}return function(){function t(){this.__entries__=[]}return Object.defineProperty(t.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),t.prototype.get=function(t){var n=e(this.__entries__,t),r=this.__entries__[n];return r&&r[1]},t.prototype.set=function(t,n){var r=e(this.__entries__,t);~r?this.__entries__[r][1]=n:this.__entries__.push([t,n])},t.prototype.delete=function(t){var n=this.__entries__,r=e(n,t);~r&&n.splice(r,1)},t.prototype.has=function(t){return!!~e(this.__entries__,t)},t.prototype.clear=function(){this.__entries__.splice(0)},t.prototype.forEach=function(e,t){void 0===t&&(t=null);for(var n=0,r=this.__entries__;n<r.length;n++){var i=r[n];e.call(t,i[1],i[0])}},t}()}(),i="undefined"!=typeof window&&"undefined"!=typeof document&&window.document===document,o=void 0!==n.g&&n.g.Math===Math?n.g:"undefined"!=typeof self&&self.Math===Math?self:"undefined"!=typeof window&&window.Math===Math?window:Function("return this")(),a="function"==typeof requestAnimationFrame?requestAnimationFrame.bind(o):function(e){return setTimeout((function(){return e(Date.now())}),1e3/60)};var s=["top","right","bottom","left","width","height","size","weight"],u="undefined"!=typeof MutationObserver,c=function(){function e(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=function(e,t){var n=!1,r=!1,i=0;function o(){n&&(n=!1,e()),r&&u()}function s(){a(o)}function u(){var e=Date.now();if(n){if(e-i<2)return;r=!0}else n=!0,r=!1,setTimeout(s,t);i=e}return u}(this.refresh.bind(this),20)}return e.prototype.addObserver=function(e){~this.observers_.indexOf(e)||this.observers_.push(e),this.connected_||this.connect_()},e.prototype.removeObserver=function(e){var t=this.observers_,n=t.indexOf(e);~n&&t.splice(n,1),!t.length&&this.connected_&&this.disconnect_()},e.prototype.refresh=function(){this.updateObservers_()&&this.refresh()},e.prototype.updateObservers_=function(){var e=this.observers_.filter((function(e){return e.gatherActive(),e.hasActive()}));return e.forEach((function(e){return e.broadcastActive()})),e.length>0},e.prototype.connect_=function(){i&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),u?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},e.prototype.disconnect_=function(){i&&this.connected_&&(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},e.prototype.onTransitionEnd_=function(e){var t=e.propertyName,n=void 0===t?"":t;s.some((function(e){return!!~n.indexOf(e)}))&&this.refresh()},e.getInstance=function(){return this.instance_||(this.instance_=new e),this.instance_},e.instance_=null,e}(),l=function(e,t){for(var n=0,r=Object.keys(t);n<r.length;n++){var i=r[n];Object.defineProperty(e,i,{value:t[i],enumerable:!1,writable:!1,configurable:!0})}return e},d=function(e){return e&&e.ownerDocument&&e.ownerDocument.defaultView||o},p=g(0,0,0,0);function f(e){return parseFloat(e)||0}function h(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return t.reduce((function(t,n){return t+f(e["border-"+n+"-width"])}),0)}function _(e){var t=e.clientWidth,n=e.clientHeight;if(!t&&!n)return p;var r=d(e).getComputedStyle(e),i=function(e){for(var t={},n=0,r=["top","right","bottom","left"];n<r.length;n++){var i=r[n],o=e["padding-"+i];t[i]=f(o)}return t}(r),o=i.left+i.right,a=i.top+i.bottom,s=f(r.width),u=f(r.height);if("border-box"===r.boxSizing&&(Math.round(s+o)!==t&&(s-=h(r,"left","right")+o),Math.round(u+a)!==n&&(u-=h(r,"top","bottom")+a)),!function(e){return e===d(e).document.documentElement}(e)){var c=Math.round(s+o)-t,l=Math.round(u+a)-n;1!==Math.abs(c)&&(s-=c),1!==Math.abs(l)&&(u-=l)}return g(i.left,i.top,s,u)}var m="undefined"!=typeof SVGGraphicsElement?function(e){return e instanceof d(e).SVGGraphicsElement}:function(e){return e instanceof d(e).SVGElement&&"function"==typeof e.getBBox};function v(e){return i?m(e)?function(e){var t=e.getBBox();return g(0,0,t.width,t.height)}(e):_(e):p}function g(e,t,n,r){return{x:e,y:t,width:n,height:r}}var y=function(){function e(e){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=g(0,0,0,0),this.target=e}return e.prototype.isActive=function(){var e=v(this.target);return this.contentRect_=e,e.width!==this.broadcastWidth||e.height!==this.broadcastHeight},e.prototype.broadcastRect=function(){var e=this.contentRect_;return this.broadcastWidth=e.width,this.broadcastHeight=e.height,e},e}(),b=function(e,t){var n,r,i,o,a,s,u,c=(r=(n=t).x,i=n.y,o=n.width,a=n.height,s="undefined"!=typeof DOMRectReadOnly?DOMRectReadOnly:Object,u=Object.create(s.prototype),l(u,{x:r,y:i,width:o,height:a,top:i,right:r+o,bottom:a+i,left:r}),u);l(this,{target:e,contentRect:c})},w=function(){function e(e,t,n){if(this.activeObservations_=[],this.observations_=new r,"function"!=typeof e)throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=e,this.controller_=t,this.callbackCtx_=n}return e.prototype.observe=function(e){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(e instanceof d(e).Element))throw new TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)||(t.set(e,new y(e)),this.controller_.addObserver(this),this.controller_.refresh())}},e.prototype.unobserve=function(e){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(e instanceof d(e).Element))throw new TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)&&(t.delete(e),t.size||this.controller_.removeObserver(this))}},e.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},e.prototype.gatherActive=function(){var e=this;this.clearActive(),this.observations_.forEach((function(t){t.isActive()&&e.activeObservations_.push(t)}))},e.prototype.broadcastActive=function(){if(this.hasActive()){var e=this.callbackCtx_,t=this.activeObservations_.map((function(e){return new b(e.target,e.broadcastRect())}));this.callback_.call(e,t,e),this.clearActive()}},e.prototype.clearActive=function(){this.activeObservations_.splice(0)},e.prototype.hasActive=function(){return this.activeObservations_.length>0},e}(),x="undefined"!=typeof WeakMap?new WeakMap:new r,C=function e(t){if(!(this instanceof e))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var n=c.getInstance(),r=new w(t,n,this);x.set(this,r)};["observe","unobserve","disconnect"].forEach((function(e){C.prototype[e]=function(){var t;return(t=x.get(this))[e].apply(t,arguments)}}));var k=void 0!==o.ResizeObserver?o.ResizeObserver:C;t.Z=k},98040:function(e){e.exports=function(){var e=document.getSelection();if(!e.rangeCount)return function(){};for(var t=document.activeElement,n=[],r=0;r<e.rangeCount;r++)n.push(e.getRangeAt(r));switch(t.tagName.toUpperCase()){case"INPUT":case"TEXTAREA":t.blur();break;default:t=null}return e.removeAllRanges(),function(){"Caret"===e.type&&e.removeAllRanges(),e.rangeCount||n.forEach((function(t){e.addRange(t)})),t&&t.focus()}}},93314:function(e){"use strict";e.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=="}}]);