1!function(){try{var e="u">typeof window?window:"u">typeof global?global:"u">typeof globalThis?globalThis:"u">typeof self?self:{};e._sentryModuleMetadata=e._sentryModuleMetadata||{},e._sentryModuleMetadata[(new e.Error).stack]=function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];if(null!=n)for(var o in n)n.hasOwnProperty(o)&&(e[o]=n[o])}return e}({},e._sentryModuleMetadata[(new e.Error).stack],{"_sentryBundlerPluginAppKey:vmake-web":!0});var t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="d03bbaea-92a9-496b-8730-8187d24a0526",e._sentryDebugIdIdentifier="sentry-dbid-d03bbaea-92a9-496b-8730-8187d24a0526")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3512],{20960:()=>{},21770:(e,t,n)=>{"use strict";n.d(t,{A:()=>d});var o=n(72239),a=n(42122),r=n.n(a),i=n(22896),l=n(4354),c=n(40131),s=function(e){if(!e)return 0;var t=r()(e).valueOf()-Date.now();return t<0?0:t};let d=function(e){void 0===e&&(e={});var t=e||{},n=t.leftTime,a=t.targetDate,r=t.interval,d=void 0===r?1e3:r,u=t.onEnd,f=(0,i.useMemo)(function(){return(0,c.Et)(n)&&n>0?Date.now()+n:void 0},[n]),m="leftTime"in e?f:a,p=(0,o.zs)((0,i.useState)(function(){return s(m)}),2),v=p[0],g=p[1],b=(0,l.A)(u);(0,i.useEffect)(function(){if(!m)return void g(0);g(s(m));var e=setInterval(function(){var t,n=s(m);g(n),0===n&&(clearInterval(e),null==(t=b.current)||t.call(b))},d);return function(){return clearInterval(e)}},[m,d]);var h=(0,i.useMemo)(function(){return{days:Math.floor(v/864e5),hours:Math.floor(v/36e5)%24,minutes:Math.floor(v/6e4)%60,seconds:Math.floor(v/1e3)%60,milliseconds:Math.floor(v)%1e3}},[v]);return[v,h]}},22992:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var o=n(13497);let a=function(e){return(0,o.A)(e).toUpperCase()}},24842:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var o=n(91348),a=n(55867),r=function(e,t){return e.every(function(e,n){return(0,o.L)(e,t[n])})};let i=function(e,t){(0,a.A)(e,t,r)}},41247:(e,t,n)=>{"use strict";n.d(t,{A:()=>eb});var o=n(22896),a=n(21354),r=n(72847),i=n(91595);let l={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M482 152h60q8 0 8 8v704q0 8-8 8h-60q-8 0-8-8V160q0-8 8-8z"}},{tag:"path",attrs:{d:"M192 474h672q8 0 8 8v60q0 8-8 8H160q-8 0-8-8v-60q0-8 8-8z"}}]},name:"plus",theme:"outlined"};var c=n(50449),s=o.forwardRef(function(e,t){return o.createElement(c.A,(0,i.A)({},e,{ref:t,icon:l}))}),d=n(9829),u=n.n(d),f=n(63756),m=n(58672),p=n(1669),v=n(47995),g=n(53038),b=n(28855),h=n(62100);let y=(0,o.createContext)(null);var $=n(57428),w=n(74831),x=n(51358),A=n(56175),S=n(76723);let k=function(e){var t=e.activeTabOffset,n=e.horizontal,a=e.rtl,r=e.indicator,i=void 0===r?{}:r,l=i.size,c=i.align,s=void 0===c?"center":c,d=(0,o.useState)(),u=(0,p.A)(d,2),f=u[0],m=u[1],v=(0,o.useRef)(),g=o.useCallback(function(e){return"function"==typeof l?l(e):"number"==typeof l?l:e},[l]);function b(){S.A.cancel(v.current)}return(0,o.useEffect)(function(){var e={};if(t)if(n){e.width=g(t.width);var o=a?"right":"left";"start"===s&&(e[o]=t[o]),"center"===s&&(e[o]=t[o]+t.width/2,e.transform=a?"translateX(50%)":"translateX(-50%)"),"end"===s&&(e[o]=t[o]+t.width,e.transform="translateX(-100%)")}else e.height=g(t.height),"start"===s&&(e.top=t.top),"center"===s&&(e.top=t.top+t.height/2,e.transform="translateY(-50%)"),"end"===s&&(e.top=t.top+t.height,e.transform="translateY(-100%)");return b(),v.current=(0,S.A)(function(){m(e)}),b},[t,n,a,s,g]),{style:f}};var C={width:0,height:0,left:0,top:0};function E(e,t){var n=o.useRef(e),a=o.useState({}),r=(0,p.A)(a,2)[1];return[n.current,function(e){var o="function"==typeof e?e(n.current):e;o!==n.current&&t(o,n.current),n.current=o,r({})}]}var O=n(81161);function z(e){var t=(0,o.useState)(0),n=(0,p.A)(t,2),a=n[0],r=n[1],i=(0,o.useRef)(0),l=(0,o.useRef)();return l.current=e,(0,O.o)(function(){var e;null==(e=l.current)||e.call(l)},[a]),function(){i.current===a&&(i.current+=1,r(i.current))}}var I={width:0,height:0,left:0,top:0,right:0};function N(e){var t;return e instanceof Map?(t={},e.forEach(function(e,n){t[n]=e})):t=e,JSON.stringify(t)}function M(e){return String(e).replace(/"/g,"TABS_DQ")}function R(e,t,n,o){return!!n&&!o&&!1!==e&&(void 0!==e||!1!==t&&null!==t)}var j=o.forwardRef(function(e,t){var n=e.prefixCls,a=e.editable,r=e.locale,i=e.style;return a&&!1!==a.showAdd?o.createElement("button",{ref:t,type:"button",className:"".concat(n,"-nav-add"),style:i,"aria-label":(null==r?void 0:r.addAriaLabel)||"Add tab",onClick:function(e){a.onEdit("add",{event:e})}},a.addIcon||"+"):null}),P=o.forwardRef(function(e,t){var n,a=e.position,r=e.prefixCls,i=e.extra;if(!i)return null;var l={};return"object"!==(0,v.A)(i)||o.isValidElement(i)?l.right=i:l=i,"right"===a&&(n=l.right),"left"===a&&(n=l.left),n?o.createElement("div",{className:"".concat(r,"-extra-content"),ref:t},n):null}),T=n(99245),_=n(10364),D=n(90408),L=o.forwardRef(function(e,t){var n=e.prefixCls,a=e.id,r=e.tabs,l=e.locale,c=e.mobile,s=e.more,d=void 0===s?{}:s,m=e.style,v=e.className,g=e.editable,b=e.tabBarGutter,h=e.rtl,y=e.removeAriaLabel,$=e.onTabClick,w=e.getPopupContainer,x=e.popupClassName,A=(0,o.useState)(!1),S=(0,p.A)(A,2),k=S[0],C=S[1],E=(0,o.useState)(null),O=(0,p.A)(E,2),z=O[0],I=O[1],N=d.icon,M="".concat(a,"-more-popup"),P="".concat(n,"-dropdown"),L=null!==z?"".concat(M,"-").concat(z):null,B=null==l?void 0:l.dropdownAriaLabel,X=o.createElement(_.Ay,{onClick:function(e){$(e.key,e.domEvent),C(!1)},prefixCls:"".concat(P,"-menu"),id:M,tabIndex:-1,role:"listbox","aria-activedescendant":L,selectedKeys:[z],"aria-label":void 0!==B?B:"expanded dropdown"},r.map(function(e){var t=e.closable,n=e.disabled,r=e.closeIcon,i=e.key,l=e.label,c=R(t,r,g,n);return o.createElement(_.Dr,{key:i,id:"".concat(M,"-").concat(i),role:"option","aria-controls":a&&"".concat(a,"-panel-").concat(i),disabled:n},o.createElement("span",null,l),c&&o.createElement("button",{type:"button","aria-label":y||"remove",tabIndex:0,className:"".concat(P,"-menu-item-remove"),onClick:function(e){e.stopPropagation(),e.preventDefault(),e.stopPropagation(),g.onEdit("remove",{key:i,event:e})}},r||g.removeIcon||"\xd7"))}));function H(e){for(var t=r.filter(function(e){return!e.disabled}),n=t.findIndex(function(e){return e.key===z})||0,o=t.length,a=0;a<o;a+=1){var i=t[n=(n+e+o)%o];if(!i.disabled)return void I(i.key)}}(0,o.useEffect)(function(){var e=document.getElementById(L);e&&e.scrollIntoView&&e.scrollIntoView(!1)},[z]),(0,o.useEffect)(function(){k||I(null)},[k]);var W=(0,f.A)({},h?"marginRight":"marginLeft",b);r.length||(W.visibility="hidden",W.order=1);var G=u()((0,f.A)({},"".concat(P,"-rtl"),h)),Y=c?null:o.createElement(T.A,(0,i.A)({prefixCls:P,overlay:X,visible:!!r.length&&k,onVisibleChange:C,overlayClassName:u()(G,x),mouseEnterDelay:.1,mouseLeaveDelay:.1,getPopupContainer:w}
1,d),o.createElement("button",{type:"button",className:"".concat(n,"-nav-more"),style:W,tabIndex:-1,"aria-hidden":"true","aria-haspopup":"listbox","aria-controls":M,id:"".concat(a,"-more"),"aria-expanded":k,onKeyDown:function(e){var t=e.which;if(!k){[D.A.DOWN,D.A.SPACE,D.A.ENTER].includes(t)&&(C(!0),e.preventDefault());return}switch(t){case D.A.UP:H(-1),e.preventDefault();break;case D.A.DOWN:H(1),e.preventDefault();break;case D.A.ESC:C(!1);break;case D.A.SPACE:case D.A.ENTER:null!==z&&$(z,e)}}},void 0===N?"More":N));return o.createElement("div",{className:u()("".concat(n,"-nav-operations"),v),style:m,ref:t},Y,o.createElement(j,{prefixCls:n,locale:l,editable:g}))});let B=o.memo(L,function(e,t){return t.tabMoving}),X=function(e){var t=e.prefixCls,n=e.id,a=e.active,r=e.tab,i=r.key,l=r.label,c=r.disabled,s=r.closeIcon,d=r.icon,m=e.closable,p=e.renderWrapper,v=e.removeAriaLabel,g=e.editable,b=e.onClick,h=e.onFocus,y=e.style,$="".concat(t,"-tab"),w=R(m,s,g,c);function x(e){c||b(e)}var A=o.useMemo(function(){return d&&"string"==typeof l?o.createElement("span",null,l):l},[l,d]),S=o.createElement("div",{key:i,"data-node-key":M(i),className:u()($,(0,f.A)((0,f.A)((0,f.A)({},"".concat($,"-with-remove"),w),"".concat($,"-active"),a),"".concat($,"-disabled"),c)),style:y,onClick:x},o.createElement("div",{role:"tab","aria-selected":a,id:n&&"".concat(n,"-tab-").concat(i),className:"".concat($,"-btn"),"aria-controls":n&&"".concat(n,"-panel-").concat(i),"aria-disabled":c,tabIndex:c?null:0,onClick:function(e){e.stopPropagation(),x(e)},onKeyDown:function(e){[D.A.SPACE,D.A.ENTER].includes(e.which)&&(e.preventDefault(),x(e))},onFocus:h},d&&o.createElement("span",{className:"".concat($,"-icon")},d),l&&A),w&&o.createElement("button",{type:"button","aria-label":v||"remove",tabIndex:0,className:"".concat($,"-remove"),onClick:function(e){e.stopPropagation(),e.preventDefault(),e.stopPropagation(),g.onEdit("remove",{key:i,event:e})}},s||g.removeIcon||"\xd7"));return p?p(S):S};var H=function(e,t){var n=e.offsetWidth,o=e.offsetHeight,a=e.offsetTop,r=e.offsetLeft,i=e.getBoundingClientRect(),l=i.width,c=i.height,s=i.left,d=i.top;return 1>Math.abs(l-n)?[l,c,s-t.left,d-t.top]:[n,o,r,a]},W=function(e){var t=e.current||{},n=t.offsetWidth,o=void 0===n?0:n,a=t.offsetHeight;if(e.current){var r=e.current.getBoundingClientRect(),i=r.width,l=r.height;if(1>Math.abs(i-o))return[i,l]}return[o,void 0===a?0:a]},G=function(e,t){return e[+!t]},Y=o.forwardRef(function(e,t){var n,a,r,l,c,s,d,v,g,b,h,S,O,R,T,_,D,L,Y,q,F,K,V,Z,U,Q,J,ee,et,en,eo,ea,er,ei,el,ec,es,ed,eu,ef=e.className,em=e.style,ep=e.id,ev=e.animated,eg=e.activeKey,eb=e.rtl,eh=e.extra,ey=e.editable,e$=e.locale,ew=e.tabPosition,ex=e.tabBarGutter,eA=e.children,eS=e.onTabClick,ek=e.onTabScroll,eC=e.indicator,eE=o.useContext(y),eO=eE.prefixCls,ez=eE.tabs,eI=(0,o.useRef)(null),eN=(0,o.useRef)(null),eM=(0,o.useRef)(null),eR=(0,o.useRef)(null),ej=(0,o.useRef)(null),eP=(0,o.useRef)(null),eT=(0,o.useRef)(null),e_="top"===ew||"bottom"===ew,eD=E(0,function(e,t){e_&&ek&&ek({direction:e>t?"left":"right"})}),eL=(0,p.A)(eD,2),eB=eL[0],eX=eL[1],eH=E(0,function(e,t){!e_&&ek&&ek({direction:e>t?"top":"bottom"})}),eW=(0,p.A)(eH,2),eG=eW[0],eY=eW[1],eq=(0,o.useState)([0,0]),eF=(0,p.A)(eq,2),eK=eF[0],eV=eF[1],eZ=(0,o.useState)([0,0]),eU=(0,p.A)(eZ,2),eQ=eU[0],eJ=eU[1],e0=(0,o.useState)([0,0]),e1=(0,p.A)(e0,2),e2=e1[0],e8=e1[1],e4=(0,o.useState)([0,0]),e3=(0,p.A)(e4,2),e5=e3[0],e6=e3[1],e9=(n=new Map,a=(0,o.useRef)([]),r=(0,o.useState)({}),l=(0,p.A)(r,2)[1],c=(0,o.useRef)("function"==typeof n?n():n),s=z(function(){var e=c.current;a.current.forEach(function(t){e=t(e)}),a.current=[],c.current=e,l({})}),[c.current,function(e){a.current.push(e),s()}]),e7=(0,p.A)(e9,2),te=e7[0],tt=e7[1],tn=(d=eQ[0],(0,o.useMemo)(function(){for(var e=new Map,t=te.get(null==(a=ez[0])?void 0:a.key)||C,n=t.left+t.width,o=0;o<ez.length;o+=1){var a,r,i=ez[o].key,l=te.get(i);l||(l=te.get(null==(r=ez[o-1])?void 0:r.key)||C);var c=e.get(i)||(0,m.A)({},l);c.right=n-c.left-c.width,e.set(i,c)}return e},[ez.map(function(e){return e.key}).join("_"),te,d])),to=G(eK,e_),ta=G(eQ,e_),tr=G(e2,e_),ti=G(e5,e_),tl=Math.floor(to)<Math.floor(ta+tr),tc=tl?to-ti:to-tr,ts="".concat(eO,"-nav-operations-hidden"),td=0,tu=0;function tf(e){return e<td?td:e>tu?tu:e}e_&&eb?(td=0,tu=Math.max(0,ta-tc)):(td=Math.min(0,tc-ta),tu=0);var tm=(0,o.useRef)(null),tp=(0,o.useState)(),tv=(0,p.A)(tp,2),tg=tv[0],tb=tv[1];function th(){tb(Date.now())}function ty(){tm.current&&clearTimeout(tm.current)}v=function(e,t){function n(e,t){e(function(e){return tf(e+t)})}return!!tl&&(e_?n(eX,e):n(eY,t),ty(),th(),!0)},g=(0,o.useState)(),h=(b=(0,p.A)(g,2))[0],S=b[1],O=(0,o.useState)(0),T=(R=(0,p.A)(O,2))[0],_=R[1],D=(0,o.useState)(0),Y=(L=(0,p.A)(D,2))[0],q=L[1],F=(0,o.useState)(),V=(K=(0,p.A)(F,2))[0],Z=K[1],U=(0,o.useRef)(),Q=(0,o.useRef)(),(J=(0,o.useRef)(null)).current={onTouchStart:function(e){var t=e.touches[0];S({x:t.screenX,y:t.screenY}),window.clearInterval(U.current)},onTouchMove:function(e){if(h){var t=e.touches[0],n=t.screenX,o=t.screenY;S({x:n,y:o});var a=n-h.x,r=o-h.y;v(a,r);var i=Date.now();_(i),q(i-T),Z({x:a,y:r})}},onTouchEnd:function(){if(h&&(S(null),Z(null),V)){var e=V.x/Y,t=V.y/Y;if(!(.1>Math.max(Math.abs(e),Math.abs(t)))){var n=e,o=t;U.current=window.setInterval(function(){.01>Math.abs(n)&&.01>Math.abs(o)?window.clearInterval(U.current):(n*=.9046104802746175,o*=.9046104802746175,v(20*n,20*o))},20)}}},onWheel:function(e){var t=e.deltaX,n=e.deltaY,o=0,a=Math.abs(t),r=Math.abs(n);a===r?o="x"===Q.current?t:n:a>r?(o=t,Q.current="x"):(o=n,Q.current="y"),v(-o,-o)&&e.preventDefault()}},o.useEffect(function(){function e(e){J.current.onTouchMove(e)}function t(e){J.current.onTouchEnd(e)}return document.addEventListener("touchmove",e,{passive:!1}),document.addEventListener("touchend",t,{passive:!0}),eR.current.addEventListener("touchstart",function(e){J.current.onTouchStart(e)},{passive:!0}),eR.current.addEventListener("wheel",function(e){J.current.onWheel(e)},{passive:!1}),function(){document.removeEventListener("touchmove",e),document.removeEventListener("touchend",t)}},[]),(0,o.useEffect)(function(){return ty(),tg&&(tm.current=setTimeout(function(){tb(0)},100)),ty},[tg]);var t$=(ee=e_?eB:eG,er=(et=(0,m.A)((0,m.A)({},e),{},{tabs:ez})).tabs,ei=et.tabPosition,el=et.rtl,["top","bottom"].includes(ei)?(en="width",eo=el?"right":"left",ea=Math.abs(ee)):(en="height",eo="top",ea=-ee),(0,o.useMemo)(function(){if(!er.length)return[0,0];for(var e=er.length,t=e,n=0;n<e;n+=1){var o=tn.get(er[n].key)||I;if(Math.floor(o[eo]+o[en])>Math.floor(ea+tc)){t=n-1;break}}for(var a=0,r=e-1;r>=0;r-=1)if((tn.get(er[r].key)||I)[eo]<ea){a=r+1;break}return a>=t?[0,0]:[a,t]},[tn,tc,ta,tr,ti,ea,ei,er.map(function(e){return e.key}).join("_"),el])),tw=(0,p.A)(t$,2),tx=tw[0],tA=tw[1],tS=(0,x.A)(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:eg,t=tn.get(e)||{width:0,height:0,left:0,right:0,top:0};if(e_){var n=eB;eb?t.right<eB?n=t.right:t.right+t.width>eB+tc&&(n=t.right+t.width-tc):t.left<-eB?n=-t.left:t.left+t.width>-eB+tc&&(n=-(t.left+t.width-tc)),eY(0),eX(tf(n))}else{var o=eG;
1t.top<-eG?o=-t.top:t.top+t.height>-eG+tc&&(o=-(t.top+t.height-tc)),eX(0),eY(tf(o))}}),tk={};"top"===ew||"bottom"===ew?tk[eb?"marginRight":"marginLeft"]=ex:tk.marginTop=ex;var tC=ez.map(function(e,t){var n=e.key;return o.createElement(X,{id:ep,prefixCls:eO,key:n,tab:e,style:0===t?void 0:tk,closable:e.closable,editable:ey,active:n===eg,renderWrapper:eA,removeAriaLabel:null==e$?void 0:e$.removeAriaLabel,onClick:function(e){eS(n,e)},onFocus:function(){tS(n),th(),eR.current&&(eb||(eR.current.scrollLeft=0),eR.current.scrollTop=0)}})}),tE=function(){return tt(function(){var e,t=new Map,n=null==(e=ej.current)?void 0:e.getBoundingClientRect();return ez.forEach(function(e){var o,a=e.key,r=null==(o=ej.current)?void 0:o.querySelector('[data-node-key="'.concat(M(a),'"]'));if(r){var i=H(r,n),l=(0,p.A)(i,4),c=l[0],s=l[1],d=l[2],u=l[3];t.set(a,{width:c,height:s,left:d,top:u})}}),t})};(0,o.useEffect)(function(){tE()},[ez.map(function(e){return e.key}).join("_")]);var tO=z(function(){var e=W(eI),t=W(eN),n=W(eM);eV([e[0]-t[0]-n[0],e[1]-t[1]-n[1]]);var o=W(eT);e8(o),e6(W(eP));var a=W(ej);eJ([a[0]-o[0],a[1]-o[1]]),tE()}),tz=ez.slice(0,tx),tI=ez.slice(tA+1),tN=[].concat((0,$.A)(tz),(0,$.A)(tI)),tM=tn.get(eg),tR=k({activeTabOffset:tM,horizontal:e_,indicator:eC,rtl:eb}).style;(0,o.useEffect)(function(){tS()},[eg,td,tu,N(tM),N(tn),e_]),(0,o.useEffect)(function(){tO()},[eb]);var tj=!!tN.length,tP="".concat(eO,"-nav-wrap");return e_?eb?(es=eB>0,ec=eB!==tu):(ec=eB<0,es=eB!==td):(ed=eG<0,eu=eG!==td),o.createElement(w.A,{onResize:tO},o.createElement("div",{ref:(0,A.xK)(t,eI),role:"tablist",className:u()("".concat(eO,"-nav"),ef),style:em,onKeyDown:function(){th()}},o.createElement(P,{ref:eN,position:"left",extra:eh,prefixCls:eO}),o.createElement(w.A,{onResize:tO},o.createElement("div",{className:u()(tP,(0,f.A)((0,f.A)((0,f.A)((0,f.A)({},"".concat(tP,"-ping-left"),ec),"".concat(tP,"-ping-right"),es),"".concat(tP,"-ping-top"),ed),"".concat(tP,"-ping-bottom"),eu)),ref:eR},o.createElement(w.A,{onResize:tO},o.createElement("div",{ref:ej,className:"".concat(eO,"-nav-list"),style:{transform:"translate(".concat(eB,"px, ").concat(eG,"px)"),transition:tg?"none":void 0}},tC,o.createElement(j,{ref:eT,prefixCls:eO,locale:e$,editable:ey,style:(0,m.A)((0,m.A)({},0===tC.length?void 0:tk),{},{visibility:tj?"hidden":null})}),o.createElement("div",{className:u()("".concat(eO,"-ink-bar"),(0,f.A)({},"".concat(eO,"-ink-bar-animated"),ev.inkBar)),style:tR}))))),o.createElement(B,(0,i.A)({},e,{removeAriaLabel:null==e$?void 0:e$.removeAriaLabel,ref:eP,prefixCls:eO,tabs:tN,className:!tj&&ts,tabMoving:!!tg})),o.createElement(P,{ref:eM,position:"right",extra:eh,prefixCls:eO})))}),q=o.forwardRef(function(e,t){var n=e.prefixCls,a=e.className,r=e.style,i=e.id,l=e.active,c=e.tabKey,s=e.children;return o.createElement("div",{id:i&&"".concat(i,"-panel-").concat(c),role:"tabpanel",tabIndex:l?0:-1,"aria-labelledby":i&&"".concat(i,"-tab-").concat(c),"aria-hidden":!l,style:r,className:u()(n,l&&"".concat(n,"-active"),a),ref:t},s)}),F=["renderTabBar"],K=["label","key"];let V=function(e){var t=e.renderTabBar,n=(0,g.A)(e,F),a=o.useContext(y).tabs;return t?t((0,m.A)((0,m.A)({},n),{},{panes:a.map(function(e){var t=e.label,n=e.key,a=(0,g.A)(e,K);return o.createElement(q,(0,i.A)({tab:t,key:n,tabKey:n},a))})}),Y):o.createElement(Y,n)};var Z=n(80230),U=["key","forceRender","style","className","destroyInactiveTabPane"];let Q=function(e){var t=e.id,n=e.activeKey,a=e.animated,r=e.tabPosition,l=e.destroyInactiveTabPane,c=o.useContext(y),s=c.prefixCls,d=c.tabs,p=a.tabPane,v="".concat(s,"-tabpane");return o.createElement("div",{className:u()("".concat(s,"-content-holder"))},o.createElement("div",{className:u()("".concat(s,"-content"),"".concat(s,"-content-").concat(r),(0,f.A)({},"".concat(s,"-content-animated"),p))},d.map(function(e){var r=e.key,c=e.forceRender,s=e.style,d=e.className,f=e.destroyInactiveTabPane,b=(0,g.A)(e,U),h=r===n;return o.createElement(Z.Ay,(0,i.A)({key:r,visible:h,forceRender:c,removeOnLeave:!!(l||f),leavedClassName:"".concat(v,"-hidden")},a.tabPaneMotion),function(e,n){var a=e.style,l=e.className;return o.createElement(q,(0,i.A)({},b,{prefixCls:v,id:t,tabKey:r,animated:p,active:h,style:(0,m.A)((0,m.A)({},s),a),className:u()(d,l),ref:n}))})})))};n(97362);var J=["id","prefixCls","className","items","direction","activeKey","defaultActiveKey","editable","animated","tabPosition","tabBarGutter","tabBarStyle","tabBarExtraContent","locale","more","destroyInactiveTabPane","renderTabBar","onChange","onTabClick","onTabScroll","getPopupContainer","popupClassName","indicator"],ee=0,et=o.forwardRef(function(e,t){var n=e.id,a=e.prefixCls,r=void 0===a?"rc-tabs":a,l=e.className,c=e.items,s=e.direction,d=e.activeKey,$=e.defaultActiveKey,w=e.editable,x=e.animated,A=e.tabPosition,S=void 0===A?"top":A,k=e.tabBarGutter,C=e.tabBarStyle,E=e.tabBarExtraContent,O=e.locale,z=e.more,I=e.destroyInactiveTabPane,N=e.renderTabBar,M=e.onChange,R=e.onTabClick,j=e.onTabScroll,P=e.getPopupContainer,T=e.popupClassName,_=e.indicator,D=(0,g.A)(e,J),L=o.useMemo(function(){return(c||[]).filter(function(e){return e&&"object"===(0,v.A)(e)&&"key"in e})},[c]),B="rtl"===s,X=function(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{inkBar:!0,tabPane:!1};return(e=!1===t?{inkBar:!1,tabPane:!1}:!0===t?{inkBar:!0,tabPane:!1}:(0,m.A)({inkBar:!0},"object"===(0,v.A)(t)?t:{})).tabPaneMotion&&void 0===e.tabPane&&(e.tabPane=!0),!e.tabPaneMotion&&e.tabPane&&(e.tabPane=!1),e}(x),H=(0,o.useState)(!1),W=(0,p.A)(H,2),G=W[0],Y=W[1];(0,o.useEffect)(function(){Y((0,h.A)())},[]);var q=(0,b.A)(function(){var e;return null==(e=L[0])?void 0:e.key},{value:d,defaultValue:$}),F=(0,p.A)(q,2),K=F[0],Z=F[1],U=(0,o.useState)(function(){return L.findIndex(function(e){return e.key===K})}),et=(0,p.A)(U,2),en=et[0],eo=et[1];(0,o.useEffect)(function(){var e,t=L.findIndex(function(e){return e.key===K});-1===t&&(t=Math.max(0,Math.min(en,L.length-1)),Z(null==(e=L[t])?void 0:e.key)),eo(t)},[L.map(function(e){return e.key}).join("_"),K,en]);var ea=(0,b.A)(null,{value:n}),er=(0,p.A)(ea,2),ei=er[0],el=er[1];(0,o.useEffect)(function(){n||(el("rc-tabs-".concat(ee)),ee+=1)},[]);var ec={id:ei,activeKey:K,animated:X,tabPosition:S,rtl:B,mobile:G},es=(0,m.A)((0,m.A)({},ec),{},{editable:w,locale:O,more:z,tabBarGutter:k,onTabClick:function(e,t){null==R||R(e,t);var n=e!==K;Z(e),n&&(null==M||M(e))},onTabScroll:j,extra:E,style:C,panes:null,getPopupContainer:P,popupClassName:T,indicator:_});return o.createElement(y.Provider,{value:{tabs:L,prefixCls:r}},o.createElement("div",(0,i.A)({ref:t,id:n,className:u()(r,"".concat(r,"-").concat(S),(0,f.A)((0,f.A)((0,f.A)({},"".concat(r,"-mobile"),G),"".concat(r,"-editable"),w),"".concat(r,"-rtl"),B),l)},D),o.createElement(V,(0,i.A)({},es,{renderTabBar:N})),o.createElement(Q,(0,i.A)({destroyInactiveTabPane:I},ec,{animated:X}))))}),en=n(48298),eo=n(60635),ea=n(61200),er=n(9022);let ei={motionAppear:!1,motionEnter:!0,motionLeave:!0};var el=n(92564),ec=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&0>t.indexOf(o)&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,o=Object.getOwnPropertySymbols(e);a<o.length;a++)0>t.indexOf(o[a])&&Object.prototype.propertyIsEnumerable.call(e,o[a])&&(n[o[a]]=e[o[a]]);return n},es=n(49412),ed=n(15556),eu=n(37827),ef=n(57982),em=n(65676);let ep=(0,eu.OF)("Tabs",e=>{let t=(0,ef.oX)(e,{tabsCardPadding:e.cardPadding,dropdownEdgeChildVerticalPadding:e.paddingXXS,tabsActiveTextShadow:"0 0 0.25px currentcolor",tabsDropdownHeight:200,tabsDropdownWidth:120,tabsHorizontalItemMargin:`0 0 0 ${(0,es.zA)(e.horizontalItemGutter)}`,tabsHorizontalItemMarginRTL:`0 0 0 ${(0,es.zA)(e.horizontalItemGutter)}`});return[(e=>{let{componentCls:t,cardPaddingSM:n,cardPaddingLG:o,horizontalItemPaddingSM:a,horizontalItemPaddingLG:r}=e;return{[t]:{"&-small":{[`> ${t}-nav`]:{[`${t}-tab`]:{padding:a,fontSize:e.titleFontSizeSM}}},"&-large":{[`> ${t}-nav`]:{[`${t}-tab`]:{padding:r,fontSize:e.titleFontSizeLG}}}},[`${t}-card`]:{[`&${t}-small`]:{[`> ${t}-nav`]:{[`${t}-tab`]:{padding:n}},[`&${t}-bottom`]:{[`> ${t}-nav ${t}-tab`]:{borderRadius:`0 0 ${(0,es.zA)(e.borderRadius)} ${(0,es.zA)(e.borderRadius)}`}},[`&${t}-top`]:{[`> ${t}-nav ${t}-tab`]:{borderRadius:`${(0,es.zA)(e.borderRadius)} ${(0,es.zA)(e.borderRadius)} 0 0`}},[`&${t}-right`]:{[`> ${t}-nav ${t}-tab`]:{borderRadius:{_skip_check_:!0,value:`0 ${(0,es.zA)(e.borderRadius)} ${(0,es.zA)(e.borderRadius)} 0`}}},[`&${t}-left`]:{[`> ${t}-nav ${t}-tab`]:{borderRadius:{_skip_check_:!0,value:`${(0,es.zA)(e.borderRadius)} 0 0 ${(0,es.zA)(e.borderRadius)}`}}}},[`&${t}-large`]:{[`> ${t}-nav`]:{[`${t}-tab`]:{padding:o}}}}}})(t),(e=>{let{componentCls:t,tabsHorizontalItemMarginRTL:n,iconCls:o,cardGutter:a,calc:r}=e;return{[`${t}-rtl`]:{direction:"rtl",[`${t}-nav`]:{[`${t}-tab`]:{margin:{_skip_check_:!0,value:n},[`${t}-tab:last-of-type`]:{marginLeft:{_skip_check_:!0,value:0}},[o]:{marginRight:{_skip_check_:!0,value:0},marginLeft:{_skip_check_:!0,value:(0,es.zA)(e.marginSM)}},[`${t}-tab-remove`]:{marginRight:{_skip_check_:!0,value:(0,es.zA)(e.marginXS)},marginLeft:{_skip_check_:!0,value:(0,es.zA)(r(e.marginXXS).mul(-1).equal())},[o]:{margin:0}}}},[`&${t}-left`]:{[`> ${t}-nav`]:{order:1},[`> ${t}-content-holder`]:{order:0}},[`&${t}-right`]:{[`> ${t}-nav`]:{order:0},[`> ${t}-content-holder`]:{order:1}},[`&${t}-card${t}-top, &${t}-card${t}-bottom`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab + ${t}-tab`]:{marginRight:{_skip_check_:!0,value:a},marginLeft:{_skip_check_:!0,value:0}}}}},[`${t}-dropdown-rtl`]:{direction:"rtl"},[`${t}-menu-item`]:{[`${t}-dropdown-rtl`]:{textAlign:{_skip_check_:!0,value:"right"}}}}})(t),(e=>{let{componentCls:t,margin:n,colorBorderSecondary:o,horizontalMargin:a,verticalItemPadding:r,verticalItemMargin:i,calc:l}=e;return{[`${t}-top, ${t}-bottom`]:{flexDirection:"column",[`> ${t}-nav, > div > ${t}-nav`]:{margin:a,"&::before":{position:"absolute",right:{_skip_check_:!0,value:0},left:{_skip_check_:!0,value:0},borderBottom:`${(0,es.zA)(e.lineWidth)} ${e.lineType} ${o}`,content:"''"},[`${t}-ink-bar`]:{height:e.lineWidthBold,"&-animated":{transition:`width ${e.motionDurationSlow}, left ${e.motionDurationSlow}, 2 right ${e.motionDurationSlow}`}},[`${t}-nav-wrap`]:{"&::before, &::after":{top:0,bottom:0,width:e.controlHeight},"&::before":{left:{_skip_check_:!0,value:0}
vendor: 4,205 bytes, lines 2-3
2,boxShadow:e.boxShadowTabsOverflowLeft},"&::after":{right:{_skip_check_:!0,value:0},boxShadow:e.boxShadowTabsOverflowRight},[`&${t}-nav-wrap-ping-left::before`]:{opacity:1},[`&${t}-nav-wrap-ping-right::after`]:{opacity:1}}}},[`${t}-top`]:{[`> ${t}-nav, 3 > div > ${t}-nav`]:{"&::before":{bottom:0},[`${t}-ink-bar`]:{bottom:0}}},[`${t}-bottom`]:{[`> ${t}-nav, > div > ${t}-nav`]:{order:1,marginTop:n,marginBottom:0,"&::before":{top:0},[`${t}-ink-bar`]:{top:0}},[`> ${t}-content-holder, > div > ${t}-content-holder`]:{order:0}},[`${t}-left, ${t}-right`]:{[`> ${t}-nav, > div > ${t}-nav`]:{flexDirection:"column",minWidth:l(e.controlHeight).mul(1.25).equal(),[`${t}-tab`]:{padding:r,textAlign:"center"},[`${t}-tab + ${t}-tab`]:{margin:i},[`${t}-nav-wrap`]:{flexDirection:"column","&::before, &::after":{right:{_skip_check_:!0,value:0},left:{_skip_check_:!0,value:0},height:e.controlHeight},"&::before":{top:0,boxShadow:e.boxShadowTabsOverflowTop},"&::after":{bottom:0,boxShadow:e.boxShadowTabsOverflowBottom},[`&${t}-nav-wrap-ping-top::before`]:{opacity:1},[`&${t}-nav-wrap-ping-bottom::after`]:{opacity:1}},[`${t}-ink-bar`]:{width:e.lineWidthBold,"&-animated":{transition:`height ${e.motionDurationSlow}, top ${e.motionDurationSlow}`}},[`${t}-nav-list, ${t}-nav-operations`]:{flex:"1 0 auto",flexDirection:"column"}}},[`${t}-left`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-ink-bar`]:{right:{_skip_check_:!0,value:0}}},[`> ${t}-content-holder, > div > ${t}-content-holder`]:{marginLeft:{_skip_check_:!0,value:(0,es.zA)(l(e.lineWidth).mul(-1).equal())},borderLeft:{_skip_check_:!0,value:`${(0,es.zA)(e.lineWidth)} ${e.lineType} ${e.colorBorder}`},[`> ${t}-content > ${t}-tabpane`]:{paddingLeft:{_skip_check_:!0,value:e.paddingLG}}}},[`${t}-right`]:{[`> ${t}-nav, > div > ${t}-nav`]:{order:1,[`${t}-ink-bar`]:{left:{_skip_check_:!0,value:0}}},[`> ${t}-content-holder, > div > ${t}-content-holder`]:{order:0,marginRight:{_skip_check_:!0,value:l(e.lineWidth).mul(-1).equal()},borderRight:{_skip_check_:!0,value:`${(0,es.zA)(e.lineWidth)} ${e.lineType} ${e.colorBorder}`},[`> ${t}-content > ${t}-tabpane`]:{paddingRight:{_skip_check_:!0,value:e.paddingLG}}}}}})(t),(e=>{let{componentCls:t,itemHoverColor:n,dropdownEdgeChildVerticalPadding:o}=e;return{[`${t}-dropdown`]:Object.assign(Object.assign({},(0,ed.dF)(e)),{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:e.zIndexPopup,display:"block","&-hidden":{display:"none"},[`${t}-dropdown-menu`]:{maxHeight:e.tabsDropdownHeight,margin:0,padding:`${(0,es.zA)(o)} 0`,overflowX:"hidden",overflowY:"auto",textAlign:{_skip_check_:!0,value:"left"},listStyleType:"none",backgroundColor:e.colorBgContainer,backgroundClip:"padding-box",borderRadius:e.borderRadiusLG,outline:"none",boxShadow:e.boxShadowSecondary,"&-item":Object.assign(Object.assign({},ed.L9),{display:"flex",alignItems:"center",minWidth:e.tabsDropdownWidth,margin:0,padding:`${(0,es.zA)(e.paddingXXS)} ${(0,es.zA)(e.paddingSM)}`,color:e.colorText,fontWeight:"normal",fontSize:e.fontSize,lineHeight:e.lineHeight,cursor:"pointer",transition:`all ${e.motionDurationSlow}`,"> span":{flex:1,whiteSpace:"nowrap"},"&-remove":{flex:"none",marginLeft:{_skip_check_:!0,value:e.marginSM},color:e.colorTextDescription,fontSize:e.fontSizeSM,background:"transparent",border:0,cursor:"pointer","&:hover":{color:n}},"&:hover":{background:e.controlItemBgHover},"&-disabled":{"&, &:hover":{color:e.colorTextDisabled,background:"transparent",cursor:"not-allowed"}}})}})}})(t),(e=>{let{componentCls:t,tabsCardPadding:n,cardBg:o,cardGutter:a,colorBorderSecondary:r,itemSelectedColor:i}=e;return{[`${t}-card`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{margin:0,padding:n,background:o,border:`${(0,es.zA)(e.lineWidth)} ${e.lineType} ${r}`,transition:`all ${e.motionDurationSlow} ${e.motionEaseInOut}`},[`${t}-tab-active`]:{color:i,background:e.colorBgContainer},[`${t}-ink-bar`]:{visibility:"hidden"}},[`&${t}-top, &${t}-bottom`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab + ${t}-tab`]:{marginLeft:{_skip_check_:!0,value:(0,es.zA)(a)}}}},[`&${t}-top`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{borderRadius:`${(0,es.zA)(e.borderRadiusLG)} ${(0,es.zA)(e.borderRadiusLG)} 0 0`},[`${t}
3-tab-active`]:{borderBottomColor:e.colorBgContainer}}},[`&${t}-bottom`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{borderRadius:`0 0 ${(0,es.zA)(e.borderRadiusLG)} ${(0,es.zA)(e.borderRadiusLG)}`},[`${t}-tab-active`]:{borderTopColor:e.colorBgContainer}}},[`&${t}-left, &${t}-right`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab + ${t}-tab`]:{marginTop:(0,es.zA)(a)}}},[`&${t}-left`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{borderRadius:{_skip_check_:!0,value:`${(0,es.zA)(e.borderRadiusLG)} 0 0 ${(0,es.zA)(e.borderRadiusLG)}`}},[`${t}-tab-active`]:{borderRightColor:{_skip_check_:!0,value:e.colorBgContainer}}}},[`&${t}-right`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{borderRadius:{_skip_check_:!0,value:`0 ${(0,es.zA)(e.borderRadiusLG)} ${(0,es.zA)(e.borderRadiusLG)} 0`}},[`${t}-tab-active`]:{borderLeftColor:{_skip_check_:!0,value:e.colorBgContainer}}}}}}})(t),(e=>{let{componentCls:t,tabsCardPadding:n,cardHeight:o,cardGutter:a,itemHoverColor:r,itemActiveColor:i,colorBorderSecondary:l}=e;return{[t]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,ed.dF)(e)),{display:"flex",[`> ${t}-nav, > div > ${t}-nav`]:{position:"relative",display:"flex",flex:"none",alignItems:"center",[`${t}-nav-wrap`]:{position:"relative",display:"flex",flex:"auto",alignSelf:"stretch",overflow:"hidden",whiteSpace:"nowrap",transform:"translate(0)","&::before, &::after":{position:"absolute",zIndex:1,opacity:0,transition:`opacity ${e.motionDurationSlow}`,content:"''",pointerEvents:"none"}},[`${t}-nav-list`]:{position:"relative",display:"flex",transition:`opacity ${e.motionDurationSlow}`},[`${t}-nav-operations`]:{display:"flex",alignSelf:"stretch"},[`${t}-nav-operations-hidden`]:{position:"absolute",visibility:"hidden",pointerEvents:"none"},[`${t}-nav-more`]:{position:"relative",padding:n,background:"transparent",border:0,color:e.colorText,"&::after":{position:"absolute",right:{_skip_check_:!0,value:0},bottom:0,left:{_skip_check_:!0,value:0},height:e.calc(e.controlHeightLG).div(8).equal(),transform:"translateY(100%)",content:"''"}},[`${t}-nav-add`]:Object.assign({minWidth:o,marginLeft:{_skip_check_:!0,value:a},padding:(0,es.zA)(e.paddingXS),background:"transparent",border:`${(0,es.zA)(e.lineWidth)} ${e.lineType} ${l}`,borderRadius:`${(0,es.zA)(e.borderRadiusLG)} ${(0,es.zA)(e.borderRadiusLG)} 0 0`,outline:"none",cursor:"pointer",color:e.colorText,transition:`all ${e.motionDurationSlow} ${e.motionEaseInOut}`,"&:hover":{color:r},"&:active, &:focus:not(:focus-visible)":{color:i}},(0,ed.K8)(e))},[`${t}-extra-content`]:{flex:"none"},[`${t}-ink-bar`]:{position:"absolute",background:e.inkBarColor,pointerEvents:"none"}}),(e=>{let{componentCls:t,itemActiveColor:n,itemHoverColor:o,iconCls:a,tabsHorizontalItemMargin:r,horizontalItemPadding:i,itemSelectedColor:l,itemColor:c}=e,s=`${t}-tab`;return{[s]:{position:"relative",WebkitTouchCallout:"none",WebkitTapHighlightColor:"transparent",display:"inline-flex",alignItems:"center",padding:i,fontSize:e.titleFontSize,background:"transparent",border:0,outline:"none",cursor:"pointer",color:c,"&-btn, &-remove":Object.assign({"&:focus:not(:focus-visible), &:active":{color:n}},(0,ed.K8)(e)),"&-btn":{outline:"none",transition:`all ${e.motionDurationSlow}`,[`${s}-icon:not(:last-child)`]:{marginInlineEnd:e.marginSM}},"&-remove":{flex:"none",marginRight:{_skip_check_:!0,value:e.calc(e.marginXXS).mul(-1).equal()},marginLeft:{_skip_check_:!0,value:e.marginXS},color:e.colorTextDescription,fontSize:e.fontSizeSM,background:"transparent",border:"none",outline:"none",cursor:"pointer",transition:`all ${e.motionDurationSlow}`,"&:hover":{color:e.colorTextHeading}},"&:hover":{color:o},[`&${s}-active ${s}-btn`]:{color:l,textShadow:e.tabsActiveTextShadow},[`&${s}-disabled`]:{color:e.colorTextDisabled,cursor:"not-allowed"},[`&${s}-disabled ${s}-btn, &${s}-disabled ${t}-remove`]:{"&:focus, &:active":{color:e.colorTextDisabled}},[`& ${s}-remove ${a}`]:{margin:0},[`${a}:not(:last-child)`]:{marginRight:{_skip_check_:!0,value:e.marginSM}}},[`${s} + ${s}`]:{margin:{_skip_check_:!0,value:r}}}})(e)),{[`${t}-content`]:{position:"relative",width:"100%"},[`${t}-content-holder`]:{flex:"auto",minWidth:0,minHeight:0},[`${t}-tabpane`]:{outline:"none","&-hidden":{display:"none"}}}),[`${t}-centered`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-nav-wrap`]:{[`&:not([class*='${t}-nav-wrap-ping']) > ${t}-nav-list`]:{margin:"auto"}}}}}})(t),(e=>{let{componentCls:t,motionDurationSlow:n}=e;return[{[t]:{[`${t}-switch`]:{"&-appear, &-enter":{transition:"none","&-start":{opacity:0}
3,"&-active":{opacity:1,transition:`opacity ${n}`}},"&-leave":{position:"absolute",transition:"none",inset:0,"&-start":{opacity:1},"&-active":{opacity:0,transition:`opacity ${n}`}}}}},[(0,em._j)(e,"slide-up"),(0,em._j)(e,"slide-down")]]})(t)]},e=>{let t=e.controlHeightLG;return{zIndexPopup:e.zIndexPopupBase+50,cardBg:e.colorFillAlter,cardHeight:t,cardPadding:`${(t-Math.round(e.fontSize*e.lineHeight))/2-e.lineWidth}px ${e.padding}px`,cardPaddingSM:`${1.5*e.paddingXXS}px ${e.padding}px`,cardPaddingLG:`${e.paddingXS}px ${e.padding}px ${1.5*e.paddingXXS}px`,titleFontSize:e.fontSize,titleFontSizeLG:e.fontSizeLG,titleFontSizeSM:e.fontSize,inkBarColor:e.colorPrimary,horizontalMargin:`0 0 ${e.margin}px 0`,horizontalItemGutter:32,horizontalItemMargin:"",horizontalItemMarginRTL:"",horizontalItemPadding:`${e.paddingSM}px 0`,horizontalItemPaddingSM:`${e.paddingXS}px 0`,horizontalItemPaddingLG:`${e.padding}px 0`,verticalItemPadding:`${e.paddingXS}px ${e.paddingLG}px`,verticalItemMargin:`${e.margin}px 0 0 0`,itemColor:e.colorText,itemSelectedColor:e.colorPrimary,itemHoverColor:e.colorPrimaryHover,itemActiveColor:e.colorPrimaryActive,cardGutter:e.marginXXS/2}});var ev=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&0>t.indexOf(o)&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,o=Object.getOwnPropertySymbols(e);a<o.length;a++)0>t.indexOf(o[a])&&Object.prototype.propertyIsEnumerable.call(e,o[a])&&(n[o[a]]=e[o[a]]);return n};let eg=e=>{var t,n,i,l,c,d,f,m,p,v,g,b,h;let y,{type:$,className:w,rootClassName:x,size:A,onEdit:S,hideAdd:k,centered:C,addIcon:E,removeIcon:O,moreIcon:z,more:I,popupClassName:N,children:M,items:R,animated:j,style:P,indicatorSize:T,indicator:_}=e,D=ev(e,["type","className","rootClassName","size","onEdit","hideAdd","centered","addIcon","removeIcon","moreIcon","more","popupClassName","children","items","animated","style","indicatorSize","indicator"]),{prefixCls:L}=D,{direction:B,tabs:X,getPrefixCls:H,getPopupContainer:W}=o.useContext(en.QO),G=H("tabs",L),Y=(0,eo.A)(G),[q,F,K]=ep(G,Y);"editable-card"===$&&(y={onEdit:(e,t)=>{let{key:n,event:o}=t;null==S||S("add"===e?o:n,e)},removeIcon:null!=(t=null!=O?O:null==X?void 0:X.removeIcon)?t:o.createElement(a.A,null),addIcon:(null!=E?E:null==X?void 0:X.addIcon)||o.createElement(s,null),showAdd:!0!==k});let V=H(),Z=(0,ea.A)(A),U=(b=R,h=M,b?b:(0,el.A)(h).map(e=>{if(o.isValidElement(e)){let{key:t,props:n}=e,o=n||{},{tab:a}=o,r=ec(o,["tab"]);return Object.assign(Object.assign({key:String(t)},r),{label:a})}return null}).filter(e=>e)),Q=function(e){let t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{inkBar:!0,tabPane:!1};return(t=!1===n?{inkBar:!1,tabPane:!1}:!0===n?{inkBar:!0,tabPane:!0}:Object.assign({inkBar:!0},"object"==typeof n?n:{})).tabPane&&(t.tabPaneMotion=Object.assign(Object.assign({},ei),{motionName:(0,er.b)(e,"switch")})),t}(G,j),J=Object.assign(Object.assign({},null==X?void 0:X.style),P),ee={align:null!=(n=null==_?void 0:_.align)?n:null==(i=null==X?void 0:X.indicator)?void 0:i.align,size:null!=(f=null!=(c=null!=(l=null==_?void 0:_.size)?l:T)?c:null==(d=null==X?void 0:X.indicator)?void 0:d.size)?f:null==X?void 0:X.indicatorSize};return q(o.createElement(et,Object.assign({direction:B,getPopupContainer:W},D,{items:U,className:u()({[`${G}-${Z}`]:Z,[`${G}-card`]:["card","editable-card"].includes($),[`${G}-editable-card`]:"editable-card"===$,[`${G}-centered`]:C},null==X?void 0:X.className,w,x,F,K,Y),popupClassName:u()(N,F,K,Y),style:J,editable:y,more:Object.assign({icon:null!=(g=null!=(v=null!=(p=null==(m=null==X?void 0:X.more)?void 0:m.icon)?p:null==X?void 0:X.moreIcon)?v:z)?g:o.createElement(r.A,null),transitionName:`${V}-slide-up`},I),prefixCls:G,animated:Q,indicator:ee})))};eg.TabPane=()=>null;let eb=eg},44527:(e,t,n)=>{"use strict";n.d(t,{A:()=>b});var o=n(22896),a=n(9829),r=n.n(a),i=n(10415),l=n(55589),c=n(48298),s=n(37827),d=n(57982);let u=["wrap","nowrap","wrap-reverse"],f=["flex-start","flex-end","start","end","center","space-between","space-around","space-evenly","stretch","normal","left","right"],m=["center","start","end","flex-start","flex-end","self-start","self-end","baseline","normal","stretch"],p=function(e,t){let n,o,a;return r()(Object.assign(Object.assign(Object.assign({},(n=!0===t.wrap?"wrap":t.wrap,{[`${e}-wrap-${n}`]:n&&u.includes(n)})),(o={},m.forEach(n=>{o[`${e}-align-${n}`]=t.align===n}),o[`${e}-align-stretch`]=!t.align&&!!t.vertical,o)),(a={},f.forEach(n=>{a[`${e}-justify-${n}`]=t.justify===n}),a)))},v=(0,s.OF)("Flex",e=>{let{paddingXS:t,padding:n,paddingLG:o}=e,a=(0,d.oX)(e,{flexGapSM:t,flexGap:n,flexGapLG:o});return[(e=>{let{componentCls:t}=e;return{[t]:{display:"flex","&-vertical":{flexDirection:"column"},"&-rtl":{direction:"rtl"},"&:empty":{display:"none"}}}})(a),(e=>{let{componentCls:t}=e;return{[t]:{"&-gap-small":{gap:e.flexGapSM},"&-gap-middle":{gap:e.flexGap},"&-gap-large":{gap:e.flexGapLG}}}})(a),(e=>{let{componentCls:t}=e,n={};
3return u.forEach(e=>{n[`${t}-wrap-${e}`]={flexWrap:e}}),n})(a),(e=>{let{componentCls:t}=e,n={};return m.forEach(e=>{n[`${t}-align-${e}`]={alignItems:e}}),n})(a),(e=>{let{componentCls:t}=e,n={};return f.forEach(e=>{n[`${t}-justify-${e}`]={justifyContent:e}}),n})(a)]},()=>({}),{resetStyle:!1});var g=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&0>t.indexOf(o)&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,o=Object.getOwnPropertySymbols(e);a<o.length;a++)0>t.indexOf(o[a])&&Object.prototype.propertyIsEnumerable.call(e,o[a])&&(n[o[a]]=e[o[a]]);return n};let b=o.forwardRef((e,t)=>{let{prefixCls:n,rootClassName:a,className:s,style:d,flex:u,gap:f,children:m,vertical:b=!1,component:h="div"}=e,y=g(e,["prefixCls","rootClassName","className","style","flex","gap","children","vertical","component"]),{flex:$,direction:w,getPrefixCls:x}=o.useContext(c.QO),A=x("flex",n),[S,k,C]=v(A),E=null!=b?b:null==$?void 0:$.vertical,O=r()(s,a,null==$?void 0:$.className,A,k,C,p(A,e),{[`${A}-rtl`]:"rtl"===w,[`${A}-gap-${f}`]:(0,l.X)(f),[`${A}-vertical`]:E}),z=Object.assign(Object.assign({},null==$?void 0:$.style),d);return u&&(z.flex=u),f&&!(0,l.X)(f)&&(z.gap=f),S(o.createElement(h,Object.assign({ref:t,className:O,style:z},(0,i.A)(y,["justify","wrap","align"])),m))})},53134:(e,t,n)=>{"use strict";n.d(t,{A:()=>j});var o=n(22896),a=n(9829),r=n.n(a),i=n(91595),l=n(1669),c=n(53038),s=n(63756),d=n(58672),u=n(47995),f=n(28855),m=n(10415),p=n(56175),v=n(80230),g=n(81161),b=function(e,t){if(!e)return null;var n={left:e.offsetLeft,right:e.parentElement.clientWidth-e.clientWidth-e.offsetLeft,width:e.clientWidth,top:e.offsetTop,bottom:e.parentElement.clientHeight-e.clientHeight-e.offsetTop,height:e.clientHeight};return t?{left:0,right:0,width:0,top:n.top,bottom:n.bottom,height:n.height}:{left:n.left,right:n.right,width:n.width,top:0,bottom:0,height:0}},h=function(e){return void 0!==e?"".concat(e,"px"):void 0};function y(e){var t=e.prefixCls,n=e.containerRef,a=e.value,i=e.getValueIndex,c=e.motionName,s=e.onMotionStart,u=e.onMotionEnd,f=e.direction,m=e.vertical,y=void 0!==m&&m,$=o.useRef(null),w=o.useState(a),x=(0,l.A)(w,2),A=x[0],S=x[1],k=function(e){var o,a=i(e),r=null==(o=n.current)?void 0:o.querySelectorAll(".".concat(t,"-item"))[a];return(null==r?void 0:r.offsetParent)&&r},C=o.useState(null),E=(0,l.A)(C,2),O=E[0],z=E[1],I=o.useState(null),N=(0,l.A)(I,2),M=N[0],R=N[1];(0,g.A)(function(){if(A!==a){var e=k(A),t=k(a),n=b(e,y),o=b(t,y);S(a),z(n),R(o),e&&t?s():u()}},[a]);var j=o.useMemo(function(){if(y){var e;return h(null!=(e=null==O?void 0:O.top)?e:0)}return"rtl"===f?h(-(null==O?void 0:O.right)):h(null==O?void 0:O.left)},[y,f,O]),P=o.useMemo(function(){if(y){var e;return h(null!=(e=null==M?void 0:M.top)?e:0)}return"rtl"===f?h(-(null==M?void 0:M.right)):h(null==M?void 0:M.left)},[y,f,M]);return O&&M?o.createElement(v.Ay,{visible:!0,motionName:c,motionAppear:!0,onAppearStart:function(){return y?{transform:"translateY(var(--thumb-start-top))",height:"var(--thumb-start-height)"}:{transform:"translateX(var(--thumb-start-left))",width:"var(--thumb-start-width)"}},onAppearActive:function(){return y?{transform:"translateY(var(--thumb-active-top))",height:"var(--thumb-active-height)"}:{transform:"translateX(var(--thumb-active-left))",width:"var(--thumb-active-width)"}},onVisibleChanged:function(){z(null),R(null),u()}},function(e,n){var a=e.className,i=e.style,l=(0,d.A)((0,d.A)({},i),{},{"--thumb-start-left":j,"--thumb-start-width":h(null==O?void 0:O.width),"--thumb-active-left":P,"--thumb-active-width":h(null==M?void 0:M.width),"--thumb-start-top":j,"--thumb-start-height":h(null==O?void 0:O.height),"--thumb-active-top":P,"--thumb-active-height":h(null==M?void 0:M.height)}),c={ref:(0,p.K4)($,n),style:l,className:r()("".concat(t,"-thumb"),a)};return o.createElement("div",c)}):null}var $=["prefixCls","direction","vertical","options","disabled","defaultValue","value","onChange","className","motionName"],w=function(e){var t=e.prefixCls,n=e.className,a=e.disabled,i=e.checked,l=e.label,c=e.title,d=e.value,u=e.onChange;return o.createElement("label",{className:r()(n,(0,s.A)({},"".concat(t,"-item-disabled"),a))},o.createElement("input",{className:"".concat(t,"-item-input"),type:"radio",disabled:a,checked:i,onChange:function(e){a||u(e,d)}}),o.createElement("div",{className:"".concat(t,"-item-label"),title:c,role:"option","aria-selected":i},l))},x=o.forwardRef(function(e,t){var n,a,v=e.prefixCls,g=void 0===v?"rc-segmented":v,b=e.direction,h=e.vertical,x=e.options,A=void 0===x?[]:x,S=e.disabled,k=e.defaultValue,C=e.value,E=e.onCh
3ange,O=e.className,z=e.motionName,I=(0,c.A)(e,$),N=o.useRef(null),M=o.useMemo(function(){return(0,p.K4)(N,t)},[N,t]),R=o.useMemo(function(){return A.map(function(e){if("object"===(0,u.A)(e)&&null!==e){var t=function(e){if(void 0!==e.title)return e.title;if("object"!==(0,u.A)(e.label)){var t;return null==(t=e.label)?void 0:t.toString()}}(e);return(0,d.A)((0,d.A)({},e),{},{title:t})}return{label:null==e?void 0:e.toString(),title:null==e?void 0:e.toString(),value:e}})},[A]),j=(0,f.A)(null==(n=R[0])?void 0:n.value,{value:C,defaultValue:k}),P=(0,l.A)(j,2),T=P[0],_=P[1],D=o.useState(!1),L=(0,l.A)(D,2),B=L[0],X=L[1],H=function(e,t){S||(_(t),null==E||E(t))},W=(0,m.A)(I,["children"]);return o.createElement("div",(0,i.A)({role:"listbox","aria-label":"segmented control"},W,{className:r()(g,(a={},(0,s.A)(a,"".concat(g,"-rtl"),"rtl"===b),(0,s.A)(a,"".concat(g,"-disabled"),S),(0,s.A)(a,"".concat(g,"-vertical"),h),a),void 0===O?"":O),ref:M}),o.createElement("div",{className:"".concat(g,"-group")},o.createElement(y,{vertical:h,prefixCls:g,value:T,containerRef:N,motionName:"".concat(g,"-").concat(void 0===z?"thumb-motion":z),direction:b,getValueIndex:function(e){return R.findIndex(function(t){return t.value===e})},onMotionStart:function(){X(!0)},onMotionEnd:function(){X(!1)}}),R.map(function(e){return o.createElement(w,(0,i.A)({},e,{key:e.value,prefixCls:g,className:r()(e.className,"".concat(g,"-item"),(0,s.A)({},"".concat(g,"-item-selected"),e.value===T&&!B)),checked:e.value===T,onChange:H,disabled:!!S||!!e.disabled}))})))}),A=n(48298),S=n(61200),k=n(49412),C=n(15556),E=n(37827),O=n(57982);function z(e,t){return{[`${e}, ${e}:hover, ${e}:focus`]:{color:t.colorTextDisabled,cursor:"not-allowed"}}}function I(e){return{backgroundColor:e.itemSelectedBg,boxShadow:e.boxShadowTertiary}}let N=Object.assign({overflow:"hidden"},C.L9),M=(0,E.OF)("Segmented",e=>{let{lineWidth:t,calc:n}=e;return[(e=>{let{componentCls:t}=e,n=e.calc(e.controlHeight).sub(e.calc(e.trackPadding).mul(2)).equal(),o=e.calc(e.controlHeightLG).sub(e.calc(e.trackPadding).mul(2)).equal(),a=e.calc(e.controlHeightSM).sub(e.calc(e.trackPadding).mul(2)).equal();return{[t]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,C.dF)(e)),{display:"inline-block",padding:e.trackPadding,color:e.itemColor,background:e.trackBg,borderRadius:e.borderRadius,transition:`all ${e.motionDurationMid} ${e.motionEaseInOut}`,[`${t}-group`]:{position:"relative",display:"flex",alignItems:"stretch",justifyItems:"flex-start",flexDirection:"row",width:"100%"},[`&${t}-rtl`]:{direction:"rtl"},[`&${t}-vertical`]:{[`${t}-group`]:{flexDirection:"column"},[`${t}-thumb`]:{width:"100%",height:0,padding:`0 ${(0,k.zA)(e.paddingXXS)}`}},[`&${t}-block`]:{display:"flex"},[`&${t}-block ${t}-item`]:{flex:1,minWidth:0},[`${t}-item`]:{position:"relative",textAlign:"center",cursor:"pointer",transition:`color ${e.motionDurationMid} ${e.motionEaseInOut}`,borderRadius:e.borderRadiusSM,transform:"translateZ(0)","&-selected":Object.assign(Object.assign({},I(e)),{color:e.itemSelectedColor}),"&::after":{content:'""',position:"absolute",zIndex:-1,width:"100%",height:"100%",top:0,insetInlineStart:0,borderRadius:"inherit",transition:`background-color ${e.motionDurationMid}`,pointerEvents:"none"},[`&:hover:not(${t}-item-selected):not(${t}-item-disabled)`]:{color:e.itemHoverColor,"&::after":{backgroundColor:e.itemHoverBg}},[`&:active:not(${t}-item-selected):not(${t}-item-disabled)`]:{color:e.itemHoverColor,"&::after":{backgroundColor:e.itemActiveBg}},"&-label":Object.assign({minHeight:n,lineHeight:(0,k.zA)(n),padding:`0 ${(0,k.zA)(e.segmentedPaddingHorizontal)}`},N),"&-icon + *":{marginInlineStart:e.calc(e.marginSM).div(2).equal()},"&-input":{position:"absolute",insetBlockStart:0,insetInlineStart:0,width:0,height:0,opacity:0,pointerEvents:"none"}},[`${t}-thumb`]:Object.assign(Object.assign({},I(e)),{position:"absolute",insetBlockStart:0,insetInlineStart:0,width:0,height:"100%",padding:`${(0,k.zA)(e.paddingXXS)} 0`,borderRadius:e.borderRadiusSM,transition:`transform ${e.motionDurationSlow} ${e.motionEaseInOut}, height ${e.motionDurationSlow} ${e.motionEaseInOut}`,[`& ~ ${t}-item:not(${t}-item-selected):not(${t}-item-disabled)::after`]:{backgroundColor:"transparent"}}),[`&${t}-lg`]:{borderRadius:e.borderRadiusLG,[`${t}-item-label`]:{minHeight:o,lineHeight:(0,k.zA)(o),padding:`0 ${(0,k.zA)(e.segmentedPaddingHorizontal)}`,fontSize:e.fontSizeLG},[`${t}-item, ${t}-thumb`]:{borderRadius:e.borderRadius}},[`&${t}-sm`]:{borderRadius:e.borderRadiusSM,[`${t}-item-label`]:{minHeight:a,lineHeight:(0,k.zA)(a),padding:`0 ${(0,k.zA)(e.segmentedPaddingHorizontalSM)}`},[`${t}-item, ${t}-thumb`]:{borderRadius:e.borderRadiusXS}}}),z(`&-disabled ${t}-item`,e)),z(`${t}-item-disabled`,e)),{[`${t}-thumb-motion-appear-active`]:{transition:`transform ${e.motionDurationSlow} ${e.motionEaseInOut}, width ${e.motionDurationSlow} ${e.motionEaseInOut}`,willChange:"transform, width"}})}})((0,O.oX)(e,{segmentedPaddingHorizontal:n(e.controlPaddingHorizontal).sub(t).equal(),segmentedPaddingHorizontalSM:n(e.controlPaddingHorizontalSM).sub(t).equal()}))]},e=>{let{colorTextLabel:t,colorText:n,colorFillSecondary:o,colorBgElevated:a,colorFill:r,lineWidthBold:i,colorBgLayout:l}=e;return{trackPadding:i,trackBg:l,itemColor:t,itemHoverColor:n,itemHoverBg:o,itemSelectedBg:a,itemActiveBg:r,itemSelectedColor:n}});var R=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&0>t.indexOf(o)&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,o=Object.getOwnPropertySymbols(e);a<o.length;a++)0>t.indexOf(o[a])&&Object.prototype.propertyIsEnumerable.call(e,o[a])&&(n[o[a]]=e[o[a]]);return n};let j=o.forwardRef((e,t)=>
3{let{prefixCls:n,className:a,rootClassName:i,block:l,options:c=[],size:s="middle",style:d,vertical:u}=e,f=R(e,["prefixCls","className","rootClassName","block","options","size","style","vertical"]),{getPrefixCls:m,direction:p,segmented:v}=o.useContext(A.QO),g=m("segmented",n),[b,h,y]=M(g),$=(0,S.A)(s),w=o.useMemo(()=>c.map(e=>{if("object"==typeof e&&(null==e?void 0:e.icon)){let{icon:t,label:n}=e;return Object.assign(Object.assign({},R(e,["icon","label"])),{label:o.createElement(o.Fragment,null,o.createElement("span",{className:`${g}-item-icon`},t),n&&o.createElement("span",null,n))})}return e}),[c,g]),k=r()(a,i,null==v?void 0:v.className,{[`${g}-block`]:l,[`${g}-sm`]:"small"===$,[`${g}-lg`]:"large"===$,[`${g}-vertical`]:u},h,y),C=Object.assign(Object.assign({},null==v?void 0:v.style),d);return b(o.createElement(x,Object.assign({},f,{className:k,style:C,options:w,ref:t,prefixCls:g,direction:p,vertical:u})))})},57093:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var o=n(13497);let a=function(e){return(0,o.A)(e).toLowerCase()}},78334:(e,t,n)=>{"use strict";n.d(t,{A:()=>Y});var o=n(22896),a=n(9829),r=n.n(a),i=n(58672),l=n(1669),c=n(53967),s=n(81161),d=o.createContext(null),u=o.createContext({}),f=n(63756),m=n(91595),p=n(80230),v=n(90408),g=n(66957),b=n(53038),h=n(56175),y=["prefixCls","className","containerRef"];let $=function(e){var t=e.prefixCls,n=e.className,a=e.containerRef,i=(0,b.A)(e,y),l=o.useContext(u).panel,c=(0,h.xK)(l,a);return o.createElement("div",(0,m.A)({className:r()("".concat(t,"-content"),n),role:"dialog",ref:c},(0,g.A)(e,{aria:!0}),{"aria-modal":"true"},i))};var w=n(97362);function x(e){return"string"==typeof e&&String(Number(e))===e?((0,w.Ay)(!1,"Invalid value type of `width` or `height` which should be number type instead."),Number(e)):e}var A={width:0,height:0,overflow:"hidden",outline:"none",position:"absolute"},S=o.forwardRef(function(e,t){var n,a,c,s=e.prefixCls,u=e.open,b=e.placement,h=e.inline,y=e.push,w=e.forceRender,S=e.autoFocus,k=e.keyboard,C=e.classNames,E=e.rootClassName,O=e.rootStyle,z=e.zIndex,I=e.className,N=e.id,M=e.style,R=e.motion,j=e.width,P=e.height,T=e.children,_=e.mask,D=e.maskClosable,L=e.maskMotion,B=e.maskClassName,X=e.maskStyle,H=e.afterOpenChange,W=e.onClose,G=e.onMouseEnter,Y=e.onMouseOver,q=e.onMouseLeave,F=e.onClick,K=e.onKeyDown,V=e.onKeyUp,Z=e.styles,U=e.drawerRender,Q=o.useRef(),J=o.useRef(),ee=o.useRef();o.useImperativeHandle(t,function(){return Q.current}),o.useEffect(function(){if(u&&S){var e;null==(e=Q.current)||e.focus({preventScroll:!0})}},[u]);var et=o.useState(!1),en=(0,l.A)(et,2),eo=en[0],ea=en[1],er=o.useContext(d),ei=null!=(n=null!=(a=null==(c="boolean"==typeof y?y?{}:{distance:0}:y||{})?void 0:c.distance)?a:null==er?void 0:er.pushDistance)?n:180,el=o.useMemo(function(){return{pushDistance:ei,push:function(){ea(!0)},pull:function(){ea(!1)}}},[ei]);o.useEffect(function(){var e,t;u?null==er||null==(e=er.push)||e.call(er):null==er||null==(t=er.pull)||t.call(er)},[u]),o.useEffect(function(){return function(){var e;null==er||null==(e=er.pull)||e.call(er)}},[]);var ec=_&&o.createElement(p.Ay,(0,m.A)({key:"mask"},L,{visible:u}),function(e,t){var n=e.className,a=e.style;return o.createElement("div",{className:r()("".concat(s,"-mask"),n,null==C?void 0:C.mask,B),style:(0,i.A)((0,i.A)((0,i.A)({},a),X),null==Z?void 0:Z.mask),onClick:D&&u?W:void 0,ref:t})}),es="function"==typeof R?R(b):R,ed={};if(eo&&ei)switch(b){case"top":ed.transform="translateY(".concat(ei,"px)");break;case"bottom":ed.transform="translateY(".concat(-ei,"px)");break;case"left":ed.transform="translateX(".concat(ei,"px)");break;default:ed.transform="translateX(".concat(-ei,"px)")}"left"===b||"right"===b?ed.width=x(j):ed.height=x(P);var eu={onMouseEnter:G,onMouseOver:Y,onMouseLeave:q,onClick:F,onKeyDown:K,onKeyUp:V},ef=o.createElement(p.Ay,(0,m.A)({key:"panel"},es,{visible:u,forceRender:w,onVisibleChanged:function(e){null==H||H(e)},removeOnLeave:!1,leavedClassName:"".concat(s,"-content-wrapper-hidden")}),function(t,n){var a=t.className,l=t.style,c=o.createElement($,(0,m.A)({id:N,containerRef:n,prefixCls:s,className:r()(I,null==C?void 0:C.content),style:(0,i.A)((0,i.A)({},M),null==Z?void 0:Z.content)},(0,g.A)(e,{aria:!0}),eu),T);return o.createElement("div",(0,m.A)({className:r()("".concat(s,"-content-wrapper"),null==C?void 0:C.wrapper,a),style:(0,i.A)((0,i.A)((0,i.A)({},ed),l),null==Z?void 0:Z.wrapper)},(0,g.A)(e,{data:!0})),U?U(c):c)}),em=(0,i.A)({},O);return z&&(em.zIndex=z),o.createElement(d.Provider,{value:el},o.createElement("div",{className:r()(s,"".concat(s,"-").concat(b),E,(0,f.A)((0,f.A)({},"".concat(s,"-open"),u),"".concat(s,"-inline"),h)),style:em,tabIndex:-1,ref:Q,onKeyDown:function(e){var t,n,o=e.keyCode,a=e.shiftKey;switch(o){case v.A.TAB:o===v.A.TAB&&(a||document.activeElement!==ee.current?a&&document.activeElement===J.current&&(null==(n=ee.current)||n.focus({preventScroll:!0}
3)):null==(t=J.current)||t.focus({preventScroll:!0}));break;case v.A.ESC:W&&k&&(e.stopPropagation(),W(e))}}},ec,o.createElement("div",{tabIndex:0,ref:J,style:A,"aria-hidden":"true","data-sentinel":"start"}),ef,o.createElement("div",{tabIndex:0,ref:ee,style:A,"aria-hidden":"true","data-sentinel":"end"})))});let k=function(e){var t=e.open,n=e.prefixCls,a=e.placement,r=e.autoFocus,d=e.keyboard,f=e.width,m=e.mask,p=void 0===m||m,v=e.maskClosable,g=e.getContainer,b=e.forceRender,h=e.afterOpenChange,y=e.destroyOnClose,$=e.onMouseEnter,w=e.onMouseOver,x=e.onMouseLeave,A=e.onClick,k=e.onKeyDown,C=e.onKeyUp,E=e.panelRef,O=o.useState(!1),z=(0,l.A)(O,2),I=z[0],N=z[1],M=o.useState(!1),R=(0,l.A)(M,2),j=R[0],P=R[1];(0,s.A)(function(){P(!0)},[]);var T=!!j&&void 0!==t&&t,_=o.useRef(),D=o.useRef();(0,s.A)(function(){T&&(D.current=document.activeElement)},[T]);var L=o.useMemo(function(){return{panel:E}},[E]);if(!b&&!I&&!T&&y)return null;var B=(0,i.A)((0,i.A)({},e),{},{open:T,prefixCls:void 0===n?"rc-drawer":n,placement:void 0===a?"right":a,autoFocus:void 0===r||r,keyboard:void 0===d||d,width:void 0===f?378:f,mask:p,maskClosable:void 0===v||v,inline:!1===g,afterOpenChange:function(e){var t,n;N(e),null==h||h(e),e||!D.current||null!=(t=_.current)&&t.contains(D.current)||null==(n=D.current)||n.focus({preventScroll:!0})},ref:_},{onMouseEnter:$,onMouseOver:w,onMouseLeave:x,onClick:A,onKeyDown:k,onKeyUp:C});return o.createElement(u.Provider,{value:L},o.createElement(c.A,{open:T||b||I,autoDestroy:!1,getContainer:g,autoLock:p&&(T||I)},o.createElement(S,B)))};var C=n(67972),E=n(20774),O=n(9022),z=n(73917),I=n(48298),N=n(43392),M=n(52741),R=n(83876);let j=e=>{var t,n;let{prefixCls:a,title:i,footer:l,extra:c,loading:s,onClose:d,headerStyle:u,bodyStyle:f,footerStyle:m,children:p,classNames:v,styles:g}=e,{drawer:b}=o.useContext(I.QO),h=o.useCallback(e=>o.createElement("button",{type:"button",onClick:d,"aria-label":"Close",className:`${a}-close`},e),[d]),[y,$]=(0,M.A)((0,M.d)(e),(0,M.d)(b),{closable:!0,closeIconRender:h}),w=o.useMemo(()=>{var e,t;return i||y?o.createElement("div",{style:Object.assign(Object.assign(Object.assign({},null==(e=null==b?void 0:b.styles)?void 0:e.header),u),null==g?void 0:g.header),className:r()(`${a}-header`,{[`${a}-header-close-only`]:y&&!i&&!c},null==(t=null==b?void 0:b.classNames)?void 0:t.header,null==v?void 0:v.header)},o.createElement("div",{className:`${a}-header-title`},$,i&&o.createElement("div",{className:`${a}-title`},i)),c&&o.createElement("div",{className:`${a}-extra`},c)):null},[y,$,c,u,a,i]),x=o.useMemo(()=>{var e,t;if(!l)return null;let n=`${a}-footer`;return o.createElement("div",{className:r()(n,null==(e=null==b?void 0:b.classNames)?void 0:e.footer,null==v?void 0:v.footer),style:Object.assign(Object.assign(Object.assign({},null==(t=null==b?void 0:b.styles)?void 0:t.footer),m),null==g?void 0:g.footer)},l)},[l,m,a]);return o.createElement(o.Fragment,null,w,o.createElement("div",{className:r()(`${a}-body`,null==v?void 0:v.body,null==(t=null==b?void 0:b.classNames)?void 0:t.body),style:Object.assign(Object.assign(Object.assign({},null==(n=null==b?void 0:b.styles)?void 0:n.body),f),null==g?void 0:g.body)},s?o.createElement(R.A,{active:!0,title:!1,paragraph:{rows:5},className:`${a}-body-skeleton`}):p),x)};var P=n(49412),T=n(15556),_=n(37827),D=n(57982);let L=(e,t)=>({"&-enter, &-appear":Object.assign(Object.assign({},e),{"&-active":t}),"&-leave":Object.assign(Object.assign({},t),{"&-active":e})}),B=(e,t)=>Object.assign({"&-enter, &-appear, &-leave":{"&-start":{transition:"none"},"&-active":{transition:`all ${t}`}}},L({opacity:e},{opacity:1})),X=(0,_.OF)("Drawer",e=>{let t=(0,D.oX)(e,{});return[(e=>{let{borderRadiusSM:t,componentCls:n,zIndexPopup:o,colorBgMask:a,colorBgElevated:r,motionDurationSlow:i,motionDurationMid:l,paddingXS:c,padding:s,paddingLG:d,fontSizeLG:u,lineHeightLG:f,lineWidth:m,lineType:p,colorSplit:v,marginXS:g,colorIcon:b,colorIconHover:h,colorBgTextHover:y,colorBgTextActive:$,colorText:w,fontWeightStrong:x,footerPaddingBlock:A,footerPaddingInline:S,calc:k}=e,C=`${n}-content-wrapper`;return{[n]:{position:"fixed",inset:0,zIndex:o,pointerEvents:"none",color:w,"&-pure":{position:"relative",background:r,display:"flex",flexDirection:"column",[`&${n}-left`]:{boxShadow:e.boxShadowDrawerLeft},[`&${n}-right`]:{boxShadow:e.boxShadowDrawerRight},[`&${n}-top`]:{boxShadow:e.boxShadowDrawerUp},[`&${n}-bottom`]:{boxShadow:e.boxShadowDrawerDown}},"&-inline":{position:"absolute"},[`${n}-mask`]:{position:"absolute",inset:0,zIndex:o,background:a,pointerEvents:"auto"},[C]:{position:"absolute",zIndex:o,maxWidth:"100vw",transition:`all ${i}`,"&-hidden":{display:"none"}},[`&-left > ${C}`]:{top:0,bottom:0,left:{_skip_check_:!0,value:0}
3,boxShadow:e.boxShadowDrawerLeft},[`&-right > ${C}`]:{top:0,right:{_skip_check_:!0,value:0},bottom:0,boxShadow:e.boxShadowDrawerRight},[`&-top > ${C}`]:{top:0,insetInline:0,boxShadow:e.boxShadowDrawerUp},[`&-bottom > ${C}`]:{bottom:0,insetInline:0,boxShadow:e.boxShadowDrawerDown},[`${n}-content`]:{display:"flex",flexDirection:"column",width:"100%",height:"100%",overflow:"auto",background:r,pointerEvents:"auto"},[`${n}-header`]:{display:"flex",flex:0,alignItems:"center",padding:`${(0,P.zA)(s)} ${(0,P.zA)(d)}`,fontSize:u,lineHeight:f,borderBottom:`${(0,P.zA)(m)} ${p} ${v}`,"&-title":{display:"flex",flex:1,alignItems:"center",minWidth:0,minHeight:0}},[`${n}-extra`]:{flex:"none"},[`${n}-close`]:Object.assign({display:"inline-flex",width:k(u).add(c).equal(),height:k(u).add(c).equal(),borderRadius:t,justifyContent:"center",alignItems:"center",marginInlineEnd:g,color:b,fontWeight:x,fontSize:u,fontStyle:"normal",lineHeight:1,textAlign:"center",textTransform:"none",textDecoration:"none",background:"transparent",border:0,cursor:"pointer",transition:`all ${l}`,textRendering:"auto","&:hover":{color:h,backgroundColor:y,textDecoration:"none"},"&:active":{backgroundColor:$}},(0,T.K8)(e)),[`${n}-title`]:{flex:1,margin:0,fontWeight:e.fontWeightStrong,fontSize:u,lineHeight:f},[`${n}-body`]:{flex:1,minWidth:0,minHeight:0,padding:d,overflow:"auto",[`${n}-body-skeleton`]:{width:"100%",height:"100%",display:"flex",justifyContent:"center"}},[`${n}-footer`]:{flexShrink:0,padding:`${(0,P.zA)(A)} ${(0,P.zA)(S)}`,borderTop:`${(0,P.zA)(m)} ${p} ${v}`},"&-rtl":{direction:"rtl"}}}})(t),(e=>{let{componentCls:t,motionDurationSlow:n}=e;return{[t]:{[`${t}-mask-motion`]:B(0,n),[`${t}-panel-motion`]:["left","right","top","bottom"].reduce((e,t)=>{let o;return Object.assign(Object.assign({},e),{[`&-${t}`]:[B(.7,n),L({transform:(o="100%",({left:`translateX(-${o})`,right:`translateX(${o})`,top:`translateY(-${o})`,bottom:`translateY(${o})`})[t])},{transform:"none"})]})},{})}}})(t)]},e=>({zIndexPopup:e.zIndexPopupBase,footerPaddingBlock:e.paddingXS,footerPaddingInline:e.padding}));var H=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&0>t.indexOf(o)&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,o=Object.getOwnPropertySymbols(e);a<o.length;a++)0>t.indexOf(o[a])&&Object.prototype.propertyIsEnumerable.call(e,o[a])&&(n[o[a]]=e[o[a]]);return n};let W={distance:180},G=e=>{let{rootClassName:t,width:n,height:a,size:i="default",mask:l=!0,push:c=W,open:s,afterOpenChange:d,onClose:u,prefixCls:f,getContainer:m,style:p,className:v,visible:g,afterVisibleChange:b,maskStyle:h,drawerStyle:y,contentWrapperStyle:$}=e,w=H(e,["rootClassName","width","height","size","mask","push","open","afterOpenChange","onClose","prefixCls","getContainer","style","className","visible","afterVisibleChange","maskStyle","drawerStyle","contentWrapperStyle"]),{getPopupContainer:x,getPrefixCls:A,direction:S,drawer:M}=o.useContext(I.QO),R=A("drawer",f),[P,T,_]=X(R),D=void 0===m&&x?()=>x(document.body):m,L=r()({"no-mask":!l,[`${R}-rtl`]:"rtl"===S},t,T,_),B=o.useMemo(()=>null!=n?n:"large"===i?736:378,[n,i]),G=o.useMemo(()=>null!=a?a:"large"===i?736:378,[a,i]),Y={motionName:(0,O.b)(R,"mask-motion"),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500},q=(0,N.f)(),[F,K]=(0,E.YK)("Drawer",w.zIndex),{classNames:V={},styles:Z={}}=w,{classNames:U={},styles:Q={}}=M||{};return P(o.createElement(C.A,{form:!0,space:!0},o.createElement(z.A.Provider,{value:K},o.createElement(k,Object.assign({prefixCls:R,onClose:u,maskMotion:Y,motion:e=>({motionName:(0,O.b)(R,`panel-motion-${e}`),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500})},w,{classNames:{mask:r()(V.mask,U.mask),content:r()(V.content,U.content),wrapper:r()(V.wrapper,U.wrapper)},styles:{mask:Object.assign(Object.assign(Object.assign({},Z.mask),h),Q.mask),content:Object.assign(Object.assign(Object.assign({},Z.content),y),Q.content),wrapper:Object.assign(Object.assign(Object.assign({},Z.wrapper),$),Q.wrapper)},open:null!=s?s:g,mask:l,push:c,width:B,height:G,style:Object.assign(Object.assign({},null==M?void 0:M.style),p),className:r()(null==M?void 0:M.className,v),rootClassName:L,getContainer:D,afterOpenChange:null!=d?d:b,panelRef:q,zIndex:F}),o.createElement(j,Object.assign({prefixCls:R},w,{onClose:u}))))))};G._InternalPanelDoNotUseOrYouWillBeFired=e=>{let{prefixCls:t,style:n,className:a,placement:i="right"}=e,l=H(e,["prefixCls","style","className","placement"]),{getPrefixCls:c}=o.useContext(I.QO),s=c("drawer",t),[d,u,f]=X(s),m=r()(s,`${s}-pure`,`${s}-${i}`,u,f,a);return d(o.createElement("div",{className:m,style:n},o.createElement(j,Object.assign({prefixCls:s},l))))};let Y=G}
3,82512:(e,t,n)=>{"use strict";n.d(t,{A:()=>m});var o=n(22896),a=n(9829),r=n.n(a),i=n(48298),l=n(49412),c=n(15556),s=n(37827),d=n(57982);let u=(0,s.OF)("Divider",e=>[(e=>{let{componentCls:t,sizePaddingEdgeHorizontal:n,colorSplit:o,lineWidth:a,textPaddingInline:r,orientationMargin:i,verticalMarginInline:s}=e;return{[t]:Object.assign(Object.assign({},(0,c.dF)(e)),{borderBlockStart:`${(0,l.zA)(a)} solid ${o}`,"&-vertical":{position:"relative",top:"-0.06em",display:"inline-block",height:"0.9em",marginInline:s,marginBlock:0,verticalAlign:"middle",borderTop:0,borderInlineStart:`${(0,l.zA)(a)} solid ${o}`},"&-horizontal":{display:"flex",clear:"both",width:"100%",minWidth:"100%",margin:`${(0,l.zA)(e.dividerHorizontalGutterMargin)} 0`},[`&-horizontal${t}-with-text`]:{display:"flex",alignItems:"center",margin:`${(0,l.zA)(e.dividerHorizontalWithTextGutterMargin)} 0`,color:e.colorTextHeading,fontWeight:500,fontSize:e.fontSizeLG,whiteSpace:"nowrap",textAlign:"center",borderBlockStart:`0 ${o}`,"&::before, &::after":{position:"relative",width:"50%",borderBlockStart:`${(0,l.zA)(a)} solid transparent`,borderBlockStartColor:"inherit",borderBlockEnd:0,transform:"translateY(50%)",content:"''"}},[`&-horizontal${t}-with-text-left`]:{"&::before":{width:`calc(${i} * 100%)`},"&::after":{width:`calc(100% - ${i} * 100%)`}},[`&-horizontal${t}-with-text-right`]:{"&::before":{width:`calc(100% - ${i} * 100%)`},"&::after":{width:`calc(${i} * 100%)`}},[`${t}-inner-text`]:{display:"inline-block",paddingBlock:0,paddingInline:r},"&-dashed":{background:"none",borderColor:o,borderStyle:"dashed",borderWidth:`${(0,l.zA)(a)} 0 0`},[`&-horizontal${t}-with-text${t}-dashed`]:{"&::before, &::after":{borderStyle:"dashed none none"}},[`&-vertical${t}-dashed`]:{borderInlineStartWidth:a,borderInlineEnd:0,borderBlockStart:0,borderBlockEnd:0},"&-dotted":{background:"none",borderColor:o,borderStyle:"dotted",borderWidth:`${(0,l.zA)(a)} 0 0`},[`&-horizontal${t}-with-text${t}-dotted`]:{"&::before, &::after":{borderStyle:"dotted none none"}},[`&-vertical${t}-dotted`]:{borderInlineStartWidth:a,borderInlineEnd:0,borderBlockStart:0,borderBlockEnd:0},[`&-plain${t}-with-text`]:{color:e.colorText,fontWeight:"normal",fontSize:e.fontSize},[`&-horizontal${t}-with-text-left${t}-no-default-orientation-margin-left`]:{"&::before":{width:0},"&::after":{width:"100%"},[`${t}-inner-text`]:{paddingInlineStart:n}},[`&-horizontal${t}-with-text-right${t}-no-default-orientation-margin-right`]:{"&::before":{width:"100%"},"&::after":{width:0},[`${t}-inner-text`]:{paddingInlineEnd:n}}})}})((0,d.oX)(e,{dividerHorizontalWithTextGutterMargin:e.margin,dividerHorizontalGutterMargin:e.marginLG,sizePaddingEdgeHorizontal:0}))],e=>({textPaddingInline:"1em",orientationMargin:.05,verticalMarginInline:e.marginXS}),{unitless:{orientationMargin:!0}});var f=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&0>t.indexOf(o)&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,o=Object.getOwnPropertySymbols(e);a<o.length;a++)0>t.indexOf(o[a])&&Object.prototype.propertyIsEnumerable.call(e,o[a])&&(n[o[a]]=e[o[a]]);return n};let m=e=>{let{getPrefixCls:t,direction:n,divider:a}=o.useContext(i.QO),{prefixCls:l,type:c="horizontal",orientation:s="center",orientationMargin:d,className:m,rootClassName:p,children:v,dashed:g,variant:b="solid",plain:h,style:y}=e,$=f(e,["prefixCls","type","orientation","orientationMargin","className","rootClassName","children","dashed","variant","plain","style"]),w=t("divider",l),[x,A,S]=u(w),k=!!v,C="left"===s&&null!=d,E="right"===s&&null!=d,O=r()(w,null==a?void 0:a.className,A,S,`${w}-${c}`,{[`${w}-with-text`]:k,[`${w}-with-text-${s}`]:k,[`${w}-dashed`]:!!g,[`${w}-${b}`]:"solid"!==b,[`${w}-plain`]:!!h,[`${w}-rtl`]:"rtl"===n,[`${w}-no-default-orientation-margin-left`]:C,[`${w}-no-default-orientation-margin-right`]:E},m,p),z=o.useMemo(()=>"number"==typeof d?d:/^\d+$/.test(d)?Number(d):d,[d]),I=Object.assign(Object.assign({},C&&{marginLeft:z}),E&&{marginRight:z});return x(o.createElement("div",Object.assign({className:O,style:Object.assign(Object.assign({},null==a?void 0:a.style),y)},$,{role:"separator"}),v&&"vertical"!==c&&o.createElement("span",{className:`${w}-inner-text`,style:I},v)))}},82990:(e,t,n)=>{"use strict";let o;n.d(t,{A:()=>k});var a=n(22896),r=n(9829),i=n.n(r),l=n(48298),c=n(62943),s=n(81161);let d=80*Math.PI,u=e=>{let{dotClassName:t,style:n,hasCircleCls:o}=e;return a.createElement("circle",{className:i()(`${t}-circle`,{[`${t}-circle-bg`]:o}),r:40,cx:50,cy:50,strokeWidth:20,style:n})},f=e=>{let{percent:t,prefixCls:n}=e,o=`${n}-dot`,r=`${o}
3-holder`,l=`${r}-hidden`,[c,f]=a.useState(!1);(0,s.A)(()=>{0!==t&&f(!0)},[0!==t]);let m=Math.max(Math.min(t,100),0);if(!c)return null;let p={strokeDashoffset:`${d/4}`,strokeDasharray:`${d*m/100} ${d*(100-m)/100}`};return a.createElement("span",{className:i()(r,`${o}-progress`,m<=0&&l)},a.createElement("svg",{viewBox:"0 0 100 100",role:"progressbar","aria-valuemin":0,"aria-valuemax":100,"aria-valuenow":m},a.createElement(u,{dotClassName:o,hasCircleCls:!0}),a.createElement(u,{dotClassName:o,style:p})))};function m(e){let{prefixCls:t,percent:n=0}=e,o=`${t}-dot`,r=`${o}-holder`,l=`${r}-hidden`;return a.createElement(a.Fragment,null,a.createElement("span",{className:i()(r,n>0&&l)},a.createElement("span",{className:i()(o,`${t}-dot-spin`)},[1,2,3,4].map(e=>a.createElement("i",{className:`${t}-dot-item`,key:e})))),a.createElement(f,{prefixCls:t,percent:n}))}function p(e){let{prefixCls:t,indicator:n,percent:o}=e,r=`${t}-dot`;return n&&a.isValidElement(n)?(0,c.Ob)(n,{className:i()(n.props.className,r),percent:o}):a.createElement(m,{prefixCls:t,percent:o})}var v=n(14107),g=n(15556),b=n(37827),h=n(57982);let y=new v.Mo("antSpinMove",{to:{opacity:1}}),$=new v.Mo("antRotate",{to:{transform:"rotate(405deg)"}}),w=(0,b.OF)("Spin",e=>[(e=>{let{componentCls:t,calc:n}=e;return{[t]:Object.assign(Object.assign({},(0,g.dF)(e)),{position:"absolute",display:"none",color:e.colorPrimary,fontSize:0,textAlign:"center",verticalAlign:"middle",opacity:0,transition:`transform ${e.motionDurationSlow} ${e.motionEaseInOutCirc}`,"&-spinning":{position:"relative",display:"inline-block",opacity:1},[`${t}-text`]:{fontSize:e.fontSize,paddingTop:n(n(e.dotSize).sub(e.fontSize)).div(2).add(2).equal()},"&-fullscreen":{position:"fixed",width:"100vw",height:"100vh",backgroundColor:e.colorBgMask,zIndex:e.zIndexPopupBase,inset:0,display:"flex",alignItems:"center",flexDirection:"column",justifyContent:"center",opacity:0,visibility:"hidden",transition:`all ${e.motionDurationMid}`,"&-show":{opacity:1,visibility:"visible"},[t]:{[`${t}-dot-holder`]:{color:e.colorWhite},[`${t}-text`]:{color:e.colorTextLightSolid}}},"&-nested-loading":{position:"relative",[`> div > ${t}`]:{position:"absolute",top:0,insetInlineStart:0,zIndex:4,display:"block",width:"100%",height:"100%",maxHeight:e.contentHeight,[`${t}-dot`]:{position:"absolute",top:"50%",insetInlineStart:"50%",margin:n(e.dotSize).mul(-1).div(2).equal()},[`${t}-text`]:{position:"absolute",top:"50%",width:"100%",textShadow:`0 1px 2px ${e.colorBgContainer}`},[`&${t}-show-text ${t}-dot`]:{marginTop:n(e.dotSize).div(2).mul(-1).sub(10).equal()},"&-sm":{[`${t}-dot`]:{margin:n(e.dotSizeSM).mul(-1).div(2).equal()},[`${t}-text`]:{paddingTop:n(n(e.dotSizeSM).sub(e.fontSize)).div(2).add(2).equal()},[`&${t}-show-text ${t}-dot`]:{marginTop:n(e.dotSizeSM).div(2).mul(-1).sub(10).equal()}},"&-lg":{[`${t}-dot`]:{margin:n(e.dotSizeLG).mul(-1).div(2).equal()},[`${t}-text`]:{paddingTop:n(n(e.dotSizeLG).sub(e.fontSize)).div(2).add(2).equal()},[`&${t}-show-text ${t}-dot`]:{marginTop:n(e.dotSizeLG).div(2).mul(-1).sub(10).equal()}}},[`${t}-container`]:{position:"relative",transition:`opacity ${e.motionDurationSlow}`,"&::after":{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,zIndex:10,width:"100%",height:"100%",background:e.colorBgContainer,opacity:0,transition:`all ${e.motionDurationSlow}`,content:'""',pointerEvents:"none"}},[`${t}-blur`]:{clear:"both",opacity:.5,userSelect:"none",pointerEvents:"none","&::after":{opacity:.4,pointerEvents:"auto"}}},"&-tip":{color:e.spinDotDefault},[`${t}-dot-holder`]:{width:"1em",height:"1em",fontSize:e.dotSize,display:"inline-block",transition:`transform ${e.motionDurationSlow} ease, opacity ${e.motionDurationSlow} ease`,transformOrigin:"50% 50%",lineHeight:1,color:e.colorPrimary,"&-hidden":{transform:"scale(0.3)",opacity:0}
3},[`${t}-dot-progress`]:{position:"absolute",top:"50%",transform:"translate(-50%, -50%)",insetInlineStart:"50%"},[`${t}-dot`]:{position:"relative",display:"inline-block",fontSize:e.dotSize,width:"1em",height:"1em","&-item":{position:"absolute",display:"block",width:n(e.dotSize).sub(n(e.marginXXS).div(2)).div(2).equal(),height:n(e.dotSize).sub(n(e.marginXXS).div(2)).div(2).equal(),background:"currentColor",borderRadius:"100%",transform:"scale(0.75)",transformOrigin:"50% 50%",opacity:.3,animationName:y,animationDuration:"1s",animationIterationCount:"infinite",animationTimingFunction:"linear",animationDirection:"alternate","&:nth-child(1)":{top:0,insetInlineStart:0,animationDelay:"0s"},"&:nth-child(2)":{top:0,insetInlineEnd:0,animationDelay:"0.4s"},"&:nth-child(3)":{insetInlineEnd:0,bottom:0,animationDelay:"0.8s"},"&:nth-child(4)":{bottom:0,insetInlineStart:0,animationDelay:"1.2s"}},"&-spin":{transform:"rotate(45deg)",animationName:$,animationDuration:"1.2s",animationIterationCount:"infinite",animationTimingFunction:"linear"},"&-circle":{strokeLinecap:"round",transition:["stroke-dashoffset","stroke-dasharray","stroke","stroke-width","opacity"].map(t=>`${t} ${e.motionDurationSlow} ease`).join(","),fillOpacity:0,stroke:"currentcolor"},"&-circle-bg":{stroke:e.colorFillSecondary}},[`&-sm ${t}-dot`]:{"&, &-holder":{fontSize:e.dotSizeSM}},[`&-sm ${t}-dot-holder`]:{i:{width:n(n(e.dotSizeSM).sub(n(e.marginXXS).div(2))).div(2).equal(),height:n(n(e.dotSizeSM).sub(n(e.marginXXS).div(2))).div(2).equal()}},[`&-lg ${t}-dot`]:{"&, &-holder":{fontSize:e.dotSizeLG}},[`&-lg ${t}-dot-holder`]:{i:{width:n(n(e.dotSizeLG).sub(e.marginXXS)).div(2).equal(),height:n(n(e.dotSizeLG).sub(e.marginXXS)).div(2).equal()}},[`&${t}-show-text ${t}-text`]:{display:"block"}})}})((0,h.oX)(e,{spinDotDefault:e.colorTextDescription}))],e=>{let{controlHeightLG:t,controlHeight:n}=e;return{contentHeight:400,dotSize:t/2,dotSizeSM:.35*t,dotSizeLG:n}}),x=[[30,.05],[70,.03],[96,.01]];var A=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&0>t.indexOf(o)&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,o=Object.getOwnPropertySymbols(e);a<o.length;a++)0>t.indexOf(o[a])&&Object.prototype.propertyIsEnumerable.call(e,o[a])&&(n[o[a]]=e[o[a]]);return n};let S=e=>{var t;let{prefixCls:n,spinning:r=!0,delay:c=0,className:s,rootClassName:d,size:u="default",tip:f,wrapperClassName:m,style:v,children:g,fullscreen:b=!1,indicator:h,percent:y}=e,$=A(e,["prefixCls","spinning","delay","className","rootClassName","size","tip","wrapperClassName","style","children","fullscreen","indicator","percent"]),{getPrefixCls:S,direction:k,spin:C}=a.useContext(l.QO),E=S("spin",n),[O,z,I]=w(E),[N,M]=a.useState(()=>r&&(!r||!c||!!isNaN(Number(c)))),R=function(e,t){let[n,o]=a.useState(0),r=a.useRef(null),i="auto"===t;return a.useEffect(()=>(i&&e&&(o(0),r.current=setInterval(()=>{o(e=>{let t=100-e;for(let n=0;n<x.length;n+=1){let[o,a]=x[n];if(e<=o)return e+t*a}return e})},200)),()=>{clearInterval(r.current)}),[i,e]),i?n:t}(N,y);a.useEffect(()=>{if(r){let e=function(e,t,n){var o,a=n||{},r=a.noTrailing,i=void 0!==r&&r,l=a.noLeading,c=void 0!==l&&l,s=a.debounceMode,d=void 0===s?void 0:s,u=!1,f=0;function m(){o&&clearTimeout(o)}function p(){for(var n=arguments.length,a=Array(n),r=0;r<n;r++)a[r]=arguments[r];var l=this,s=Date.now()-f;function p(){f=Date.now(),t.apply(l,a)}function v(){o=void 0}!u&&(c||!d||o||p(),m(),void 0===d&&s>e?c?(f=Date.now(),i||(o=setTimeout(d?v:p,e))):p():!0!==i&&(o=setTimeout(d?v:p,void 0===d?e-s:e)))}return p.cancel=function(e){var t=(e||{}).upcomingOnly;m(),u=!(void 0!==t&&t)},p}(c,()=>{M(!0)},{debounceMode:false});return e(),()=>{var t;null==(t=null==e?void 0:e.cancel)||t.call(e)}}M(!1)},[c,r]);let j=a.useMemo(()=>void 0!==g&&!b,[g,b]),P=i()(E,null==C?void 0:C.className,{[`${E}-sm`]:"small"===u,[`${E}-lg`]:"large"===u,[`${E}-spinning`]:N,[`${E}-show-text`]:!!f,[`${E}-rtl`]:"rtl"===k},s,!b&&d,z,I),T=i()(`${E}-container`,{[`${E}-blur`]:N}),_=null!=(t=null!=h?h:null==C?void 0:C.indicator)?t:o,D=Object.assign(Object.assign({},null==C?void 0:C.style),v),L=a.createElement("div",Object.assign({},$,{style:D,className:P,"aria-live":"polite","aria-busy":N}),a.createElement(p,{prefixCls:E,indicator:_,percent:R}),f&&(j||b)?a.createElement("div",{className:`${E}-text`},f):null);return O(j?a.createElement("div",Object.assign({},$,{className:i()(`${E}-nested-loading`,m,z,I)}),N&&a.createElement("div",{key:"loading"}
3,L),a.createElement("div",{className:T,key:"container"},g)):b?a.createElement("div",{className:i()(`${E}-fullscreen`,{[`${E}-fullscreen-show`]:N},d,z,I)},L):L)};S.setDefaultIndicator=e=>{o=e};let k=S},88172:(e,t,n)=>{"use strict";n.d(t,{A:()=>ex});var o=n(22896),a=n(55094),r=n(9829),i=n.n(r),l=n(91595),c=n(58672),s=n(63756),d=n(1669),u=n(47995),f=n(53038);function m(){return{width:document.documentElement.clientWidth,height:window.innerHeight||document.documentElement.clientHeight}}var p=n(28855),v=n(6557),g=n(71297);function b(e,t,n,o){var a=g.unstable_batchedUpdates?function(e){g.unstable_batchedUpdates(n,e)}:n;return null!=e&&e.addEventListener&&e.addEventListener(t,a,o),{remove:function(){null!=e&&e.removeEventListener&&e.removeEventListener(t,a,o)}}}var h=n(90408),y=n(53967),$=n(80230),w=o.createContext(null);let x=function(e){var t=e.visible,n=e.maskTransitionName,a=e.getContainer,r=e.prefixCls,l=e.rootClassName,d=e.icons,u=e.countRender,f=e.showSwitch,m=e.showProgress,p=e.current,v=e.transform,g=e.count,b=e.scale,x=e.minScale,A=e.maxScale,S=e.closeIcon,k=e.onActive,C=e.onClose,E=e.onZoomIn,O=e.onZoomOut,z=e.onRotateRight,I=e.onRotateLeft,N=e.onFlipX,M=e.onFlipY,R=e.onReset,j=e.toolbarRender,P=e.zIndex,T=e.image,_=(0,o.useContext)(w),D=d.rotateLeft,L=d.rotateRight,B=d.zoomIn,X=d.zoomOut,H=d.close,W=d.left,G=d.right,Y=d.flipX,q=d.flipY,F="".concat(r,"-operations-operation");o.useEffect(function(){var e=function(e){e.keyCode===h.A.ESC&&C()};return t&&window.addEventListener("keydown",e),function(){window.removeEventListener("keydown",e)}},[t]);var K=function(e,t){e.preventDefault(),e.stopPropagation(),k(t)},V=o.useCallback(function(e){var t=e.type,n=e.disabled,a=e.onClick,l=e.icon;return o.createElement("div",{key:t,className:i()(F,"".concat(r,"-operations-operation-").concat(t),(0,s.A)({},"".concat(r,"-operations-operation-disabled"),!!n)),onClick:a},l)},[F,r]),Z=f?V({icon:W,onClick:function(e){return K(e,-1)},type:"prev",disabled:0===p}):void 0,U=f?V({icon:G,onClick:function(e){return K(e,1)},type:"next",disabled:p===g-1}):void 0,Q=V({icon:q,onClick:M,type:"flipY"}),J=V({icon:Y,onClick:N,type:"flipX"}),ee=V({icon:D,onClick:I,type:"rotateLeft"}),et=V({icon:L,onClick:z,type:"rotateRight"}),en=V({icon:X,onClick:O,type:"zoomOut",disabled:b<=x}),eo=V({icon:B,onClick:E,type:"zoomIn",disabled:b===A}),ea=o.createElement("div",{className:"".concat(r,"-operations")},Q,J,ee,et,en,eo);return o.createElement($.Ay,{visible:t,motionName:n},function(e){var t=e.className,n=e.style;return o.createElement(y.A,{open:!0,getContainer:null!=a?a:document.body},o.createElement("div",{className:i()("".concat(r,"-operations-wrapper"),t,l),style:(0,c.A)((0,c.A)({},n),{},{zIndex:P})},null===S?null:o.createElement("button",{className:"".concat(r,"-close"),onClick:C},S||H),f&&o.createElement(o.Fragment,null,o.createElement("div",{className:i()("".concat(r,"-switch-left"),(0,s.A)({},"".concat(r,"-switch-left-disabled"),0===p)),onClick:function(e){return K(e,-1)}},W),o.createElement("div",{className:i()("".concat(r,"-switch-right"),(0,s.A)({},"".concat(r,"-switch-right-disabled"),p===g-1)),onClick:function(e){return K(e,1)}},G)),o.createElement("div",{className:"".concat(r,"-footer")},m&&o.createElement("div",{className:"".concat(r,"-progress")},u?u(p+1,g):"".concat(p+1," / ").concat(g)),j?j(ea,(0,c.A)((0,c.A)({icons:{prevIcon:Z,nextIcon:U,flipYIcon:Q,flipXIcon:J,rotateLeftIcon:ee,rotateRightIcon:et,zoomOutIcon:en,zoomInIcon:eo},actions:{onActive:k,onFlipY:M,onFlipX:N,onRotateLeft:I,onRotateRight:z,onZoomOut:O,onZoomIn:E,onReset:R,onClose:C},transform:v},_?{current:p,total:g}:{}),{},{image:T})):ea)))})};var A=n(24222),S=n(76723),k={x:0,y:0,rotate:0,scale:1,flipX:!1,flipY:!1},C=n(97362);function E(e,t,n,o){var a=t+n,r=(n-o)/2;if(n>o){if(t>0)return(0,s.A)({},e,r);if(t<0&&a<o)return(0,s.A)({},e,-r)}else if(t<0||a>o)return(0,s.A)({},e,t<0?r:-r);return{}}function O(e,t,n,o){var a=m(),r=a.width,i=a.height,l=null;return e<=r&&t<=i?l={x:0,y:0}:(e>r||t>i)&&(l=(0,c.A)((0,c.A)({},E("x",n,e,r)),E("y",o,t,i))),l}function z(e){var t=e.src,n=e.isCustomPlaceholder,a=e.fallback,r=(0,o.useState)(n?"loading":"normal"),i=(0,d.A)(r,2),l=i[0],c=i[1],s=(0,o.useRef)(!1),u="error"===l;(0,o.useEffect)(function(){var e=!0;return new Promise(function(e){if(!t)return void e(!1);var n=document.createElement("img");n.onerror=function(){return e(!1)},n.onload=function(){return e(!0)},n.src=t}).then(function(t){!t&&e&&c("error")}),function(){e=!1}},[t]),(0,o.useEffect)(function(){n&&!s.current?c("loading"):u&&c("normal")},[t]);var f=function(){c("normal")};return[function(e){s.current=!1,"loading"===l&&null!=e&&e.complete&&(e.naturalWi
3dth||e.naturalHeight)&&(s.current=!0,f())},u&&a?{src:a}:{onLoad:f,src:t},l]}function I(e,t){return Math.hypot(e.x-t.x,e.y-t.y)}var N=["fallback","src","imgRef"],M=["prefixCls","src","alt","imageInfo","fallback","movable","onClose","visible","icons","rootClassName","closeIcon","getContainer","current","count","countRender","scaleStep","minScale","maxScale","transitionName","maskTransitionName","imageRender","imgCommonProps","toolbarRender","onTransform","onChange"],R=function(e){var t=e.fallback,n=e.src,a=e.imgRef,r=(0,f.A)(e,N),i=z({src:n,fallback:t}),c=(0,d.A)(i,2),s=c[0],u=c[1];return o.createElement("img",(0,l.A)({ref:function(e){a.current=e,s(e)}},r,u))};let j=function(e){var t,n,a,r,u,p,g,y,$,E,z,N,j,P,T,_,D,L,B,X,H,W,G,Y,q,F,K,V,Z=e.prefixCls,U=e.src,Q=e.alt,J=e.imageInfo,ee=e.fallback,et=e.movable,en=void 0===et||et,eo=e.onClose,ea=e.visible,er=e.icons,ei=e.rootClassName,el=e.closeIcon,ec=e.getContainer,es=e.current,ed=void 0===es?0:es,eu=e.count,ef=void 0===eu?1:eu,em=e.countRender,ep=e.scaleStep,ev=void 0===ep?.5:ep,eg=e.minScale,eb=void 0===eg?1:eg,eh=e.maxScale,ey=void 0===eh?50:eh,e$=e.transitionName,ew=e.maskTransitionName,ex=void 0===ew?"fade":ew,eA=e.imageRender,eS=e.imgCommonProps,ek=e.toolbarRender,eC=e.onTransform,eE=e.onChange,eO=(0,f.A)(e,M),ez=(0,o.useRef)(),eI=(0,o.useContext)(w),eN=eI&&ef>1,eM=eI&&ef>=1,eR=(0,o.useState)(!0),ej=(0,d.A)(eR,2),eP=ej[0],eT=ej[1],e_=(t=(0,o.useRef)(null),n=(0,o.useRef)([]),a=(0,o.useState)(k),u=(r=(0,d.A)(a,2))[0],p=r[1],g=function(e,o){null===t.current&&(n.current=[],t.current=(0,S.A)(function(){p(function(e){var a=e;return n.current.forEach(function(e){a=(0,c.A)((0,c.A)({},a),e)}),t.current=null,null==eC||eC({transform:a,action:o}),a})})),n.current.push((0,c.A)((0,c.A)({},u),e))},{transform:u,resetTransform:function(e){p(k),(0,A.A)(k,u)||null==eC||eC({transform:k,action:e})},updateTransform:g,dispatchZoomChange:function(e,t,n,o,a){var r=ez.current,i=r.width,l=r.height,c=r.offsetWidth,s=r.offsetHeight,d=r.offsetLeft,f=r.offsetTop,p=e,v=u.scale*e;v>ey?(v=ey,p=ey/u.scale):v<eb&&(p=(v=a?v:eb)/u.scale);var b=null!=o?o:innerHeight/2,h=p-1,y=h*((null!=n?n:innerWidth/2)-u.x-d),$=h*(b-u.y-f),w=u.x-(y-h*i*.5),x=u.y-($-h*l*.5);if(e<1&&1===v){var A=c*v,S=s*v,k=m(),C=k.width,E=k.height;A<=C&&S<=E&&(w=0,x=0)}g({x:w,y:x,scale:v},t)}}),eD=e_.transform,eL=e_.resetTransform,eB=e_.updateTransform,eX=e_.dispatchZoomChange,eH=(y=eD.rotate,$=eD.scale,E=eD.x,z=eD.y,N=(0,o.useState)(!1),P=(j=(0,d.A)(N,2))[0],T=j[1],_=(0,o.useRef)({diffX:0,diffY:0,transformX:0,transformY:0}),D=function(e){ea&&P&&eB({x:e.pageX-_.current.diffX,y:e.pageY-_.current.diffY},"move")},L=function(){if(ea&&P){T(!1);var e=_.current,t=e.transformX,n=e.transformY;if(E!==t&&z!==n){var o=ez.current.offsetWidth*$,a=ez.current.offsetHeight*$,r=ez.current.getBoundingClientRect(),i=r.left,l=r.top,s=y%180!=0,d=O(s?a:o,s?o:a,i,l);d&&eB((0,c.A)({},d),"dragRebound")}}},(0,o.useEffect)(function(){var e,t,n,o;if(en){n=b(window,"mouseup",L,!1),o=b(window,"mousemove",D,!1);try{window.top!==window.self&&(e=b(window.top,"mouseup",L,!1),t=b(window.top,"mousemove",D,!1))}catch(e){(0,C.$e)(!1,"[rc-image] ".concat(e))}}return function(){var a,r,i,l;null==(a=n)||a.remove(),null==(r=o)||r.remove(),null==(i=e)||i.remove(),null==(l=t)||l.remove()}},[ea,P,E,z,y,en]),{isMoving:P,onMouseDown:function(e){en&&0===e.button&&(e.preventDefault(),e.stopPropagation(),_.current={diffX:e.pageX-E,diffY:e.pageY-z,transformX:E,transformY:z},T(!0))},onMouseMove:D,onMouseUp:L,onWheel:function(e){if(ea&&0!=e.deltaY){var t=1+Math.min(Math.abs(e.deltaY/100),1)*ev;e.deltaY>0&&(t=1/t),eX(t,"wheel",e.clientX,e.clientY)}}}),eW=eH.isMoving,eG=eH.onMouseDown,eY=eH.onWheel,eq=(B=eD.rotate,X=eD.scale,H=eD.x,W=eD.y,G=(0,o.useState)(!1),q=(Y=(0,d.A)(G,2))[0],F=Y[1],K=(0,o.useRef)({point1:{x:0,y:0},point2:{x:0,y:0},eventType:"none"}),V=function(e){K.current=(0,c.A)((0,c.A)({},K.current),e)},(0,o.useEffect)(function(){var e;return ea&&en&&(e=b(window,"touchmove",function(e){return e.preventDefault()},{passive:!1})),function(){var t;null==(t=e)||t.remove()}},[ea,en]),{isTouching:q,onTouchStart:function(e){if(en){e.stopPropagation(),F(!0);var t=e.touches,n=void 0===t?[]:t;n.length>1?V({point1:{x:n[0].clientX,y:n[0].clientY},point2:{x:n[1].clientX,y:n[1].clientY},eventType:"touchZoom"}):V({point1:{x:n[0].clientX-H,y:n[0].clientY-W},eventType:"move"})}},onTouchMove:function(e){var t=e.touches,n=void 0===t?[]:t,o=K.current,a=o.point1,r
3=o.point2,i=o.eventType;if(n.length>1&&"touchZoom"===i){var l={x:n[0].clientX,y:n[0].clientY},c={x:n[1].clientX,y:n[1].clientY},s=function(e,t,n,o){var a=I(e,n),r=I(t,o);if(0===a&&0===r)return[e.x,e.y];var i=a/(a+r);return[e.x+i*(t.x-e.x),e.y+i*(t.y-e.y)]}(a,r,l,c),u=(0,d.A)(s,2),f=u[0],m=u[1];eX(I(l,c)/I(a,r),"touchZoom",f,m,!0),V({point1:l,point2:c,eventType:"touchZoom"})}else"move"===i&&(eB({x:n[0].clientX-a.x,y:n[0].clientY-a.y},"move"),V({eventType:"move"}))},onTouchEnd:function(){if(ea){if(q&&F(!1),V({eventType:"none"}),eb>X)return eB({x:0,y:0,scale:eb},"touchZoom");var e=ez.current.offsetWidth*X,t=ez.current.offsetHeight*X,n=ez.current.getBoundingClientRect(),o=n.left,a=n.top,r=B%180!=0,i=O(r?t:e,r?e:t,o,a);i&&eB((0,c.A)({},i),"dragRebound")}}}),eF=eq.isTouching,eK=eq.onTouchStart,eV=eq.onTouchMove,eZ=eq.onTouchEnd,eU=eD.rotate,eQ=eD.scale,eJ=i()((0,s.A)({},"".concat(Z,"-moving"),eW));(0,o.useEffect)(function(){eP||eT(!0)},[eP]);var e0=function(e){var t=ed+e;!Number.isInteger(t)||t<0||t>ef-1||(eT(!1),eL(e<0?"prev":"next"),null==eE||eE(t,ed))},e1=function(e){ea&&eN&&(e.keyCode===h.A.LEFT?e0(-1):e.keyCode===h.A.RIGHT&&e0(1))};(0,o.useEffect)(function(){var e=b(window,"keydown",e1,!1);return function(){e.remove()}},[ea,eN,ed]);var e2=o.createElement(R,(0,l.A)({},eS,{width:e.width,height:e.height,imgRef:ez,className:"".concat(Z,"-img"),alt:Q,style:{transform:"translate3d(".concat(eD.x,"px, ").concat(eD.y,"px, 0) scale3d(").concat(eD.flipX?"-":"").concat(eQ,", ").concat(eD.flipY?"-":"").concat(eQ,", 1) rotate(").concat(eU,"deg)"),transitionDuration:(!eP||eF)&&"0s"},fallback:ee,src:U,onWheel:eY,onMouseDown:eG,onDoubleClick:function(e){ea&&(1!==eQ?eB({x:0,y:0,scale:1},"doubleClick"):eX(1+ev,"doubleClick",e.clientX,e.clientY))},onTouchStart:eK,onTouchMove:eV,onTouchEnd:eZ,onTouchCancel:eZ})),e8=(0,c.A)({url:U,alt:Q},J);return o.createElement(o.Fragment,null,o.createElement(v.A,(0,l.A)({transitionName:void 0===e$?"zoom":e$,maskTransitionName:ex,closable:!1,keyboard:!0,prefixCls:Z,onClose:eo,visible:ea,classNames:{wrapper:eJ},rootClassName:ei,getContainer:ec},eO,{afterClose:function(){eL("close")}}),o.createElement("div",{className:"".concat(Z,"-img-wrapper")},eA?eA(e2,(0,c.A)({transform:eD,image:e8},eI?{current:ed}:{})):e2)),o.createElement(x,{visible:ea,transform:eD,maskTransitionName:ex,closeIcon:el,getContainer:ec,prefixCls:Z,rootClassName:ei,icons:void 0===er?{}:er,countRender:em,showSwitch:eN,showProgress:eM,current:ed,count:ef,scale:eQ,minScale:eb,maxScale:ey,toolbarRender:ek,onActive:e0,onZoomIn:function(){eX(1+ev,"zoomIn")},onZoomOut:function(){eX(1/(1+ev),"zoomOut")},onRotateRight:function(){eB({rotate:eU+90},"rotateRight")},onRotateLeft:function(){eB({rotate:eU-90},"rotateLeft")},onFlipX:function(){eB({flipX:!eD.flipX},"flipX")},onFlipY:function(){eB({flipY:!eD.flipY},"flipY")},onClose:eo,onReset:function(){eL("reset")},zIndex:void 0!==eO.zIndex?eO.zIndex+1:void 0,image:e8}))};var P=n(57428),T=["crossOrigin","decoding","draggable","loading","referrerPolicy","sizes","srcSet","useMap","alt"],_=["visible","onVisibleChange","getContainer","current","movable","minScale","maxScale","countRender","closeIcon","onChange","onTransform","toolbarRender","imageRender"],D=["src"],L=0,B=["src","alt","onPreviewClose","prefixCls","previewPrefixCls","placeholder","fallback","width","height","style","preview","className","onClick","onError","wrapperClassName","wrapperStyle","rootClassName"],X=["src","visible","onVisibleChange","getContainer","mask","maskClassName","movable","icons","scaleStep","minScale","maxScale","imageRender","toolbarRender"],H=function(e){var t,n,a,r,m=e.src,v=e.alt,g=e.onPreviewClose,b=e.prefixCls,h=void 0===b?"rc-image":b,y=e.previewPrefixCls,$=void 0===y?"".concat(h,"-preview"):y,x=e.placeholder,A=e.fallback,S=e.width,k=e.height,C=e.style,E=e.preview,O=void 0===E||E,I=e.className,N=e.onClick,M=e.onError,R=e.wrapperClassName,P=e.wrapperStyle,_=e.rootClassName,D=(0,f.A)(e,B),H="object"===(0,u.A)(O)?O:{},W=H.src,G=H.visible,Y=void 0===G?void 0:G,q=H.onVisibleChange,F=H.getContainer,K=H.mask,V=H.maskClassName,Z=H.movable,U=H.icons,Q=H.scaleStep,J=H.minScale,ee=H.maxScale,et=H.imageRender,en=H.toolbarRender,eo=(0,f.A)(H,X),ea=null!=W?W:m,er=(0,p.A)(!!Y,{value:Y,onChange:void 0===q?g:q}),ei=(0,d.A)(er,2),el=ei[0],ec=ei[1],es=z({src:m,isCustomPlaceholder:x&&!0!==x,fallback:A}),ed=(0,d.A)(es,3),eu=ed[0],ef=ed[1],em=ed[2],ep=(0,o.useState)(null),ev=(0,d.A)(ep,2),eg=ev[0],eb=ev[1],eh=(0,o.useContext)(w),ey=!!O,e$=i()(h,R,_,(0,s.A)({},"".concat(h,"-error"),"error"===em)),ew=(0,o.useMemo)(function(){var t={};return T.forEach(function(n){void 0!==e[n]&&(t[n]=e[n])}),t},T.map(function(t){return e[t]})),ex=(0,o.useMemo)(function(){return(0,c.A)((0,c.A)({},ew),{},{src:ea})},[ea,ew]),eA=(t=o.useState(function(){return String(L+=1)}),n=(0,d.A)(t,1)[0],a=o.useContext(w),r={data:ex,canPreview:ey},o.useEffect(function(){if(a)return a.register(n,r)},[]),o.useEffect(function(){a&&a.register(n,r)},[ey,ex]),n);return o.createElement(o.Fragment,null,o.createElement("div",(0,l.A)({},D,{className:e$,onClick:ey?function(e){var t,n,o=(t=e.target.getBoundingClientRect(),n=document.documentElement,{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)}
3),a=o.left,r=o.top;eh?eh.onPreview(eA,ea,a,r):(eb({x:a,y:r}),ec(!0)),null==N||N(e)}:N,style:(0,c.A)({width:S,height:k},P)}),o.createElement("img",(0,l.A)({},ew,{className:i()("".concat(h,"-img"),(0,s.A)({},"".concat(h,"-img-placeholder"),!0===x),I),style:(0,c.A)({height:k},C),ref:eu},ef,{width:S,height:k,onError:M})),"loading"===em&&o.createElement("div",{"aria-hidden":"true",className:"".concat(h,"-placeholder")},x),K&&ey&&o.createElement("div",{className:i()("".concat(h,"-mask"),V),style:{display:(null==C?void 0:C.display)==="none"?"none":void 0}},K)),!eh&&ey&&o.createElement(j,(0,l.A)({"aria-hidden":!el,visible:el,prefixCls:$,onClose:function(){ec(!1),eb(null)},mousePosition:eg,src:ea,alt:v,imageInfo:{width:S,height:k},fallback:A,getContainer:void 0===F?void 0:F,icons:U,movable:Z,scaleStep:Q,minScale:J,maxScale:ee,rootClassName:_,imageRender:et,imgCommonProps:ew,toolbarRender:en},eo)))};H.PreviewGroup=function(e){var t,n,a,r,i,m,v=e.previewPrefixCls,g=e.children,b=e.icons,h=e.items,y=e.preview,$=e.fallback,x="object"===(0,u.A)(y)?y:{},A=x.visible,S=x.onVisibleChange,k=x.getContainer,C=x.current,E=x.movable,O=x.minScale,z=x.maxScale,I=x.countRender,N=x.closeIcon,M=x.onChange,R=x.onTransform,L=x.toolbarRender,B=x.imageRender,X=(0,f.A)(x,_),H=(t=o.useState({}),a=(n=(0,d.A)(t,2))[0],r=n[1],i=o.useCallback(function(e,t){return r(function(n){return(0,c.A)((0,c.A)({},n),{},(0,s.A)({},e,t))}),function(){r(function(t){var n=(0,c.A)({},t);return delete n[e],n})}},[]),[o.useMemo(function(){return h?h.map(function(e){if("string"==typeof e)return{data:{src:e}};var t={};return Object.keys(e).forEach(function(n){["src"].concat((0,P.A)(T)).includes(n)&&(t[n]=e[n])}),{data:t}}):Object.keys(a).reduce(function(e,t){var n=a[t],o=n.canPreview,r=n.data;return o&&e.push({data:r,id:t}),e},[])},[h,a]),i,!!h]),W=(0,d.A)(H,3),G=W[0],Y=W[1],q=W[2],F=(0,p.A)(0,{value:C}),K=(0,d.A)(F,2),V=K[0],Z=K[1],U=(0,o.useState)(!1),Q=(0,d.A)(U,2),J=Q[0],ee=Q[1],et=(null==(m=G[V])?void 0:m.data)||{},en=et.src,eo=(0,f.A)(et,D),ea=(0,p.A)(!!A,{value:A,onChange:function(e,t){null==S||S(e,t,V)}}),er=(0,d.A)(ea,2),ei=er[0],el=er[1],ec=(0,o.useState)(null),es=(0,d.A)(ec,2),ed=es[0],eu=es[1],ef=o.useCallback(function(e,t,n,o){var a=q?G.findIndex(function(e){return e.data.src===t}):G.findIndex(function(t){return t.id===e});Z(a<0?0:a),el(!0),eu({x:n,y:o}),ee(!0)},[G,q]);o.useEffect(function(){ei?J||Z(0):ee(!1)},[ei]);var em=o.useMemo(function(){return{register:Y,onPreview:ef}},[Y,ef]);return o.createElement(w.Provider,{value:em}
3,g,o.createElement(j,(0,l.A)({"aria-hidden":!ei,movable:E,visible:ei,prefixCls:void 0===v?"rc-image-preview":v,closeIcon:N,onClose:function(){el(!1),eu(null)},mousePosition:ed,imgCommonProps:eo,src:en,fallback:$,icons:void 0===b?{}:b,minScale:O,maxScale:z,getContainer:k,current:V,count:G.length,countRender:I,onTransform:R,toolbarRender:L,imageRender:B,onChange:function(e,t){Z(e),null==M||M(e,t)}},X)))};var W=n(20774),G=n(9022),Y=n(48298),q=n(60635),F=n(71523),K=n(21354),V=n(49347),Z=n(13898);let U={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M672 418H144c-17.7 0-32 14.3-32 32v414c0 17.7 14.3 32 32 32h528c17.7 0 32-14.3 32-32V450c0-17.7-14.3-32-32-32zm-44 402H188V494h440v326z"}},{tag:"path",attrs:{d:"M819.3 328.5c-78.8-100.7-196-153.6-314.6-154.2l-.2-64c0-6.5-7.6-10.1-12.6-6.1l-128 101c-4 3.1-3.9 9.1 0 12.3L492 318.6c5.1 4 12.7.4 12.6-6.1v-63.9c12.9.1 25.9.9 38.8 2.5 42.1 5.2 82.1 18.2 119 38.7 38.1 21.2 71.2 49.7 98.4 84.3 27.1 34.7 46.7 73.7 58.1 115.8a325.95 325.95 0 016.5 140.9h74.9c14.8-103.6-11.3-213-81-302.3z"}}]},name:"rotate-left",theme:"outlined"};var Q=n(50449),J=o.forwardRef(function(e,t){return o.createElement(Q.A,(0,l.A)({},e,{ref:t,icon:U}))});let ee={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M480.5 251.2c13-1.6 25.9-2.4 38.8-2.5v63.9c0 6.5 7.5 10.1 12.6 6.1L660 217.6c4-3.2 4-9.2 0-12.3l-128-101c-5.1-4-12.6-.4-12.6 6.1l-.2 64c-118.6.5-235.8 53.4-314.6 154.2A399.75 399.75 0 00123.5 631h74.9c-.9-5.3-1.7-10.7-2.4-16.1-5.1-42.1-2.1-84.1 8.9-124.8 11.4-42.2 31-81.1 58.1-115.8 27.2-34.7 60.3-63.2 98.4-84.3 37-20.6 76.9-33.6 119.1-38.8z"}},{tag:"path",attrs:{d:"M880 418H352c-17.7 0-32 14.3-32 32v414c0 17.7 14.3 32 32 32h528c17.7 0 32-14.3 32-32V450c0-17.7-14.3-32-32-32zm-44 402H396V494h440v326z"}}]},name:"rotate-right",theme:"outlined"};var et=o.forwardRef(function(e,t){return o.createElement(Q.A,(0,l.A)({},e,{ref:t,icon:ee}))});let en={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M847.9 592H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h605.2L612.9 851c-4.1 5.2-.4 13 6.3 13h72.5c4.9 0 9.5-2.2 12.6-6.1l168.8-214.1c16.5-21 1.6-51.8-25.2-51.8zM872 356H266.8l144.3-183c4.1-5.2.4-13-6.3-13h-72.5c-4.9 0-9.5 2.2-12.6 6.1L150.9 380.2c-16.5 21-1.6 51.8 25.1 51.8h696c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z"}}]},name:"swap",theme:"outlined"};var eo=o.forwardRef(function(e,t){return o.createElement(Q.A,(0,l.A)({},e,{ref:t,icon:en}))});let ea={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M637 443H519V309c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v134H325c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h118v134c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V519h118c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zm284 424L775 721c122.1-148.9 113.6-369.5-26-509-148-148.1-388.4-148.1-537 0-148.1 148.6-148.1 389 0 537 139.5 139.6 360.1 148.1 509 26l146 146c3.2 2.8 8.3 2.8 11 0l43-43c2.8-2.7 2.8-7.8 0-11zM696 696c-118.8 118.7-311.2 118.7-430 0-118.7-118.8-118.7-311.2 0-430 118.8-118.7 311.2-118.7 430 0 118.7 118.8 118.7 311.2 0 430z"}}]},name:"zoom-in",theme:"outlined"};var er=o.forwardRef(function(e,t){return o.createElement(Q.A,(0,l.A)({},e,{ref:t,icon:ea}))});let ei={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M637 443H325c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h312c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zm284 424L775 721c122.1-148.9 113.6-369.5-26-509-148-148.1-388.4-148.1-537 0-148.1 148.6-148.1 389 0 537 139.5 139.6 360.1 148.1 509 26l146 146c3.2 2.8 8.3 2.8 11 0l43-43c2.8-2.7 2.8-7.8 0-11zM696 696c-118.8 118.7-311.2 118.7-430 0-118.7-118.8-118.7-311.2 0-430 118.8-118.7 311.2-118.7 430 0 118.7 118.8 118.7 311.2 0 430z"}}]},name:"zoom-out",theme:"outlined"};var el=o.forwardRef(function(e,t){return o.createElement(Q.A,(0,l.A)({},e,{ref:t,icon:ei}))}),ec=n(49412),es=n(1083),ed=n(30042),eu=n(15556),ef=n(57560),em=n(30269),ep=n(37827),ev=n(57982);let eg=e=>({position:e||"absolute",inset:0}),eb=(0,ep.OF)("Image",e=>{let t=`${e.componentCls}-preview`,n=(0,ev.oX)(e,{previewCls:t,modalMaskBg:new es.q("#000").setAlpha(.45).toRgbString(),imagePreviewSwitchSize:e.controlHeightLG});return[(e=>{let{componentCls:t}=e;return{[t]:{position:"relative",display:"inline-block",[`${t}-img`]:{width:"100%",height:"auto",verticalAlign:"middle"},[`${t}
3-img-placeholder`]:{backgroundColor:e.colorBgContainerDisabled,backgroundImage:"url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJNMTQuNSAyLjVoLTEzQS41LjUgMCAwIDAgMSAzdjEwYS41LjUgMCAwIDAgLjUuNWgxM2EuNS41IDAgMCAwIC41LS41VjNhLjUuNSAwIDAgMC0uNS0uNXpNNS4yODEgNC43NWExIDEgMCAwIDEgMCAyIDEgMSAwIDAgMSAwLTJ6bTguMDMgNi44M2EuMTI3LjEyNyAwIDAgMS0uMDgxLjAzSDIuNzY5YS4xMjUuMTI1IDAgMCAxLS4wOTYtLjIwN2wyLjY2MS0zLjE1NmEuMTI2LjEyNiAwIDAgMSAuMTc3LS4wMTZsLjAxNi4wMTZMNy4wOCAxMC4wOWwyLjQ3LTIuOTNhLjEyNi4xMjYgMCAwIDEgLjE3Ny0uMDE2bC4wMTUuMDE2IDMuNTg4IDQuMjQ0YS4xMjcuMTI3IDAgMCAxLS4wMi4xNzV6IiBmaWxsPSIjOEM4QzhDIiBmaWxsLXJ1bGU9Im5vbnplcm8iLz48L3N2Zz4=')",backgroundRepeat:"no-repeat",backgroundPosition:"center center",backgroundSize:"30%"},[`${t}-mask`]:Object.assign({},(e=>{let{iconCls:t,motionDurationSlow:n,paddingXXS:o,marginXXS:a,prefixCls:r,colorTextLightSolid:i}=e;return{position:"absolute",inset:0,display:"flex",alignItems:"center",justifyContent:"center",color:i,background:new es.q("#000").setAlpha(.5).toRgbString(),cursor:"pointer",opacity:0,transition:`opacity ${n}`,[`.${r}-mask-info`]:Object.assign(Object.assign({},eu.L9),{padding:`0 ${(0,ec.zA)(o)}`,[t]:{marginInlineEnd:a,svg:{verticalAlign:"baseline"}}})}})(e)),[`${t}-mask:hover`]:{opacity:1},[`${t}-placeholder`]:Object.assign({},eg())}}})(n),(e=>{let{motionEaseOut:t,previewCls:n,motionDurationSlow:o,componentCls:a}=e;return[{[`${a}-preview-root`]:{[n]:{height:"100%",textAlign:"center",pointerEvents:"none"},[`${n}-body`]:Object.assign(Object.assign({},eg()),{overflow:"hidden"}),[`${n}-img`]:{maxWidth:"100%",maxHeight:"70%",verticalAlign:"middle",transform:"scale3d(1, 1, 1)",cursor:"grab",transition:`transform ${o} ${t} 0s`,userSelect:"none","&-wrapper":Object.assign(Object.assign({},eg()),{transition:`transform ${o} ${t} 0s`,display:"flex",justifyContent:"center",alignItems:"center","& > *":{pointerEvents:"auto"},"&::before":{display:"inline-block",width:1,height:"50%",marginInlineEnd:-1,content:'""'}})},[`${n}-moving`]:{[`${n}-preview-img`]:{cursor:"grabbing","&-wrapper":{transitionDuration:"0s"}}}}},{[`${a}-preview-root`]:{[`${n}-wrap`]:{zIndex:e.zIndexPopup}}},{[`${a}-preview-operations-wrapper`]:{position:"fixed",zIndex:e.calc(e.zIndexPopup).add(1).equal()},"&":[(e=>{let{previewCls:t,modalMaskBg:n,paddingSM:o,marginXL:a,margin:r,paddingLG:i,previewOperationColorDisabled:l,previewOperationHoverColor:c,motionDurationSlow:s,iconCls:d,colorTextLightSolid:u}=e,f=new es.q(n).setAlpha(.1),m=f.clone().setAlpha(.2);return{[`${t}-footer`]:{position:"fixed",bottom:a,left:{_skip_check_:!0,value:"50%"},display:"flex",flexDirection:"column",alignItems:"center",color:e.previewOperationColor,transform:"translateX(-50%)"},[`${t}-progress`]:{marginBottom:r},[`${t}-close`]:{position:"fixed",top:a,right:{_skip_check_:!0,value:a},display:"flex",color:u,backgroundColor:f.toRgbString(),borderRadius:"50%",padding:o,outline:0,border:0,cursor:"pointer",transition:`all ${s}`,"&:hover":{backgroundColor:m.toRgbString()},[`& > ${d}`]:{fontSize:e.previewOperationSize}},[`${t}-operations`]:{display:"flex",alignItems:"center",padding:`0 ${(0,ec.zA)(i)}`,backgroundColor:f.toRgbString(),borderRadius:100,"&-operation":{marginInlineStart:o,padding:o,cursor:"pointer",transition:`all ${s}`,userSelect:"none",[`&:not(${t}-operations-operation-disabled):hover > ${d}`]:{color:c},"&-disabled":{color:l,cursor:"not-allowed"},"&:first-of-type":{marginInlineStart:0},[`& > ${d}`]:{fontSize:e.previewOperationSize}}}}})(e),(e=>{let{modalMaskBg:t,iconCls:n,previewOperationColorDisabled:o,previewCls:a,zIndexPopup:r,motionDurationSlow:i}=e,l=new es.q(t).setAlpha(.1),c=l.clone().setAlpha(.2);return{[`${a}-switch-left, ${a}-switch-right`]:{position:"fixed",insetBlockStart:"50%",zIndex:e.calc(r).add(1).equal(),display:"flex",alignItems:"center",justifyContent:"center",width:e.imagePreviewSwitchSize,height:e.imagePreviewSwitchSize,marginTop:e.calc(e.imagePreviewSwitchSize).mul(-1).div(2).equal(),color:e.previewOperationColor,background:l.toRgbString(),borderRadius:"50%",transform:"translateY(-50%)",cursor:"pointer",transition:`all ${i}`,userSelect:"none","&:hover":{background:c.toRgbString()},"&-disabled":{"&, &:hover":{color:o,background:"transparent",curs
3or:"not-allowed",[`> ${n}`]:{cursor:"not-allowed"}}},[`> ${n}`]:{fontSize:e.previewOperationSize}},[`${a}-switch-left`]:{insetInlineStart:e.marginSM},[`${a}-switch-right`]:{insetInlineEnd:e.marginSM}}})(e)]}]})(n),(0,ed.Dk)((0,ev.oX)(n,{componentCls:t})),(e=>{let{previewCls:t}=e;return{[`${t}-root`]:(0,ef.aB)(e,"zoom"),"&":(0,em.p9)(e,!0)}})(n)]},e=>({zIndexPopup:e.zIndexPopupBase+80,previewOperationColor:new es.q(e.colorTextLightSolid).setAlpha(.65).toRgbString(),previewOperationHoverColor:new es.q(e.colorTextLightSolid).setAlpha(.85).toRgbString(),previewOperationColorDisabled:new es.q(e.colorTextLightSolid).setAlpha(.25).toRgbString(),previewOperationSize:1.5*e.fontSizeIcon}));var eh=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&0>t.indexOf(o)&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,o=Object.getOwnPropertySymbols(e);a<o.length;a++)0>t.indexOf(o[a])&&Object.prototype.propertyIsEnumerable.call(e,o[a])&&(n[o[a]]=e[o[a]]);return n};let ey={rotateLeft:o.createElement(J,null),rotateRight:o.createElement(et,null),zoomIn:o.createElement(er,null),zoomOut:o.createElement(el,null),close:o.createElement(K.A,null),left:o.createElement(V.A,null),right:o.createElement(Z.A,null),flipX:o.createElement(eo,null),flipY:o.createElement(eo,{rotate:90})};var e$=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&0>t.indexOf(o)&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,o=Object.getOwnPropertySymbols(e);a<o.length;a++)0>t.indexOf(o[a])&&Object.prototype.propertyIsEnumerable.call(e,o[a])&&(n[o[a]]=e[o[a]]);return n};let ew=e=>{var t;let{prefixCls:n,preview:r,className:l,rootClassName:c,style:s}=e,d=e$(e,["prefixCls","preview","className","rootClassName","style"]),{getPrefixCls:u,locale:f=F.A,getPopupContainer:m,image:p}=o.useContext(Y.QO),v=u("image",n),g=u(),b=f.Image||F.A.Image,h=(0,q.A)(v),[y,$,w]=eb(v,h),x=i()(c,$,w,h),A=i()(l,$,null==p?void 0:p.className),[S]=(0,W.YK)("ImagePreview","object"==typeof r?r.zIndex:void 0),k=o.useMemo(()=>{var e;if(!1===r)return r;let t="object"==typeof r?r:{},{getContainer:n,closeIcon:l,rootClassName:c}=t,s=e$(t,["getContainer","closeIcon","rootClassName"]);return Object.assign(Object.assign({mask:o.createElement("div",{className:`${v}-mask-info`},o.createElement(a.A,null),null==b?void 0:b.preview),icons:ey},s),{rootClassName:i()(x,c),getContainer:null!=n?n:m,transitionName:(0,G.b)(g,"zoom",t.transitionName),maskTransitionName:(0,G.b)(g,"fade",t.maskTransitionName),zIndex:S,closeIcon:null!=l?l:null==(e=null==p?void 0:p.preview)?void 0:e.closeIcon})},[r,b,null==(t=null==p?void 0:p.preview)?void 0:t.closeIcon]),C=Object.assign(Object.assign({},null==p?void 0:p.style),s);return y(o.createElement(H,Object.assign({prefixCls:v,preview:k,rootClassName:x,className:A,style:C},d)))};ew.PreviewGroup=e=>{var{previewPrefixCls:t,preview:n}=e,a=eh(e,["previewPrefixCls","preview"]);let{getPrefixCls:r}=o.useContext(Y.QO),l=r("image",t),c=`${l}-preview`,s=r(),d=(0,q.A)(l),[u,f,m]=eb(l,d),[p]=(0,W.YK)("ImagePreview","object"==typeof n?n.zIndex:void 0),v=o.useMemo(()=>{var e;if(!1===n)return n;let t="object"==typeof n?n:{},o=i()(f,m,d,null!=(e=t.rootClassName)?e:"");return Object.assign(Object.assign({},t),{transitionName:(0,G.b)(s,"zoom",t.transitionName),maskTransitionName:(0,G.b)(s,"fade",t.maskTransitionName),rootClassName:o,zIndex:p})},[n]);return u(o.createElement(H.PreviewGroup,Object.assign({preview:v,previewPrefixCls:c,icons:ey},a)))};let ex=ew},91348:(e,t)=>{var n=Object.keys;t.L=function(e,t){if(e===t)return!0;if(!(e instanceof Object)||!(t instanceof Object))return!1;for(var o=n(e),a=o.length,r=0;r<a;r++)if(!(o[r]in t))return!1;for(var r=0;r<a;r++)if(e[o[r]]!==t[o[r]])return!1;return a===n(t).length}}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.