PageSourceSearch

https://fasco.com.cn/js/7202.js

js fasco.com.cn collected 2026-10-05 20:46:28 UTC 31,219 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_ice_antd_pro_scaffold=self.webpackChunk_ice_antd_pro_scaffold||[]).push([[7202],{77202:function(e,t,n){n.d(t,{Z:function(){return j}});var o=n(99426),r=n(19909),i=n(86280),a=n(63286),s=n(82187),u=n.n(s),c=n(3397),l=n(4525),f=n(16167),h=n(59373),d=n(73188),p=n(92076),v=n(21611),m=n(75271),g=n(52003),b=n(8926),y=n(42684);function w(e){var t=e.prefixCls,n=e.align,o=e.arrow,r=e.arrowPos,i=o||{},a=i.className,s=i.content,c=r.x,l=r.y,f=m.useRef();if(!n||!n.points)return null;var h={position:"absolute"};if(!1!==n.autoArrow){var d=n.points[0],p=n.points[1],v=d[0],g=d[1],b=p[0],y=p[1];v!==b&&["t","b"].includes(v)?"t"===v?h.top=0:h.bottom=0:h.top=void 0===l?0:l,g!==y&&["l","r"].includes(g)?"l"===g?h.left=0:h.right=0:h.left=void 0===c?0:c}return m.createElement("div",{ref:f,className:u()("".concat(t,"-arrow"),a),style:h},s)}function _(e){var t=e.prefixCls,n=e.open,o=e.zIndex,r=e.mask,i=e.motion;return r?m.createElement(b.ZP,(0,g.Z)({},i,{motionAppear:!0,visible:n,removeOnLeave:!0}),function(e){var n=e.className;return m.createElement("div",{style:{zIndex:o},className:u()("".concat(t,"-mask"),n)})}):null}var E=m.memo(function(e){return e.children},function(e,t){return t.cache}),x=m.forwardRef(function(e,t){var n=e.popup,i=e.className,a=e.prefixCls,s=e.style,l=e.target,f=e.onVisibleChanged,h=e.open,d=e.keepDom,v=e.fresh,x=e.onClick,M=e.mask,k=e.arrow,Z=e.arrowPos,C=e.align,P=e.motion,R=e.maskMotion,A=e.forceRender,O=e.getPopupContainer,L=e.autoDestroy,S=e.portal,z=e.zIndex,D=e.onMouseEnter,N=e.onMouseLeave,T=e.onPointerEnter,H=e.onPointerDownCapture,W=e.ready,B=e.offsetX,j=e.offsetY,V=e.offsetR,Y=e.offsetB,F=e.onAlign,X=e.onPrepare,I=e.stretch,q=e.targetWidth,G=e.targetHeight,J="function"==typeof n?n():n,Q=(null==O?void 0:O.length)>0,$=m.useState(!O||!Q),K=(0,r.Z)($,2),U=K[0],ee=K[1];if((0,p.Z)(function(){!U&&Q&&l&&ee(!0)},[U,Q,l]),!U)return null;var et="auto",en={left:"-1000vw",top:"-1000vh",right:et,bottom:et};if(W||!h){var eo,er=C.points,ei=C.dynamicInset||(null===(eo=C._experimental)||void 0===eo?void 0:eo.dynamicInset),ea=ei&&"r"===er[0][1],es=ei&&"b"===er[0][0];ea?(en.right=V,en.left=et):(en.left=B,en.right=et),es?(en.bottom=Y,en.top=et):(en.top=j,en.bottom=et)}var eu={};return I&&(I.includes("height")&&G?eu.height=G:I.includes("minHeight")&&G&&(eu.minHeight=G),I.includes("width")&&q?eu.width=q:I.includes("minWidth")&&q&&(eu.minWidth=q)),h||(eu.pointerEvents="none"),m.createElement(S,{open:A||h||d,getContainer:O&&function(){return O(l)},autoDestroy:L},m.createElement(_,{prefixCls:a,open:h,zIndex:z,mask:M,motion:R}),m.createElement(c.Z,{onResize:F,disabled:!h},function(e){return m.createElement(b.ZP,(0,g.Z)({motionAppear:!0,motionEnter:!0,motionLeave:!0,removeOnLeave:!1,forceRender:A,leavedClassName:"".concat(a,"-hidden")},P,{onAppearPrepare:X,onEnterPrepare:X,visible:h,onVisibleChanged:function(e){var t;null==P||null===(t=P.onVisibleChanged)||void 0===t||t.call(P,e),f(e)}}),function(n,r){var c=n.className,l=n.style,f=u()(a,c,i);return m.createElement("div",{ref:(0,y.sQ)(e,t,r),className:f,style:(0,o.Z)((0,o.Z)((0,o.Z)((0,o.Z)({"--arrow-x":"".concat(Z.x||0,"px"),"--arrow-y":"".concat(Z.y||0,"px")},en),eu),l),{},{boxSizing:"border-box",zIndex:z},s),onMouseEnter:D,onMouseLeave:N,onPointerEnter:T,onClick:x,onPointerDownCapture:H},k&&m.createElement(w,{prefixCls:a,arrow:k,arrowPos:Z,align:C}),m.createElement(E,{cache:!h&&!v},J))})}))}),M=m.forwardRef(function(e,t){var n=e.children,o=e.getTriggerDOMNode,r=(0,y.Yr)(n),i=m.useCallback(function(e){(0,y.mH)(t,o?o(e):e)},[o]),a=(0,y.x1)(i,(0,y.C4)(n));return r?m.cloneElement(n,{ref:a}):n}),k=m.createContext(null);function Z(e){return e?Array.isArray(e)?e:[e]:[]}var C=n(60900);function P(e,t,n,o){return t||(n?{motionName:"".concat(e,"-").concat(n)}:o?{motionName:o}:null)}function R(e){return e.ownerDocument.defaultView}function A(e){for(var t=[],n=null==e?void 0:e.parentElement,o=["hidden","scroll","clip","auto"];n;){var r=R(n).getComputedStyle(n);[r.overflowX,r.overflowY,r.overflow].some(function(e){return o.includes(e)})&&t.push(n),n=n.parentElement}return t}function O(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;return Number.isNaN(e)?t:e}function L(e){return O(parseFloat(e),0)}function S(e,t){var n=(0,o.Z)({},e);
1return(t||[]).forEach(function(e){if(!(e instanceof HTMLBodyElement||e instanceof HTMLHtmlElement)){var t=R(e).getComputedStyle(e),o=t.overflow,r=t.overflowClipMargin,i=t.borderTopWidth,a=t.borderBottomWidth,s=t.borderLeftWidth,u=t.borderRightWidth,c=e.getBoundingClientRect(),l=e.offsetHeight,f=e.clientHeight,h=e.offsetWidth,d=e.clientWidth,p=L(i),v=L(a),m=L(s),g=L(u),b=O(Math.round(c.width/h*1e3)/1e3),y=O(Math.round(c.height/l*1e3)/1e3),w=p*y,_=m*b,E=0,x=0;if("clip"===o){var M=L(r);E=M*b,x=M*y}var k=c.x+_-E,Z=c.y+w-x,C=k+c.width+2*E-_-g*b-(h-d-m-g)*b,P=Z+c.height+2*x-w-v*y-(l-f-p-v)*y;n.left=Math.max(n.left,k),n.top=Math.max(n.top,Z),n.right=Math.min(n.right,C),n.bottom=Math.min(n.bottom,P)}}),n}function z(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n="".concat(t),o=n.match(/^(.*)\%$/);return o?e*(parseFloat(o[1])/100):parseFloat(n)}function D(e,t){var n=(0,r.Z)(t||[],2),o=n[0],i=n[1];return[z(e.width,o),z(e.height,i)]}function N(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return[e[0],e[1]]}function T(e,t){var n,o=t[0],r=t[1];return n="t"===o?e.y:"b"===o?e.y+e.height:e.y+e.height/2,{x:"l"===r?e.x:"r"===r?e.x+e.width:e.x+e.width/2,y:n}}function H(e,t){var n={t:"b",b:"t",l:"r",r:"l"};return e.map(function(e,o){return o===t?n[e]||"c":e}).join("")}var W=n(4407);n(4449);var B=["prefixCls","children","action","showAction","hideAction","popupVisible","defaultPopupVisible","onPopupVisibleChange","afterPopupVisibleChange","mouseEnterDelay","mouseLeaveDelay","focusDelay","blurDelay","mask","maskClosable","getPopupContainer","forceRender","autoDestroy","destroyPopupOnHide","popup","popupClassName","popupStyle","popupPlacement","builtinPlacements","popupAlign","zIndex","stretch","getPopupClassNameFromAlign","fresh","alignPoint","onPopupClick","onPopupAlign","arrow","popupMotion","maskMotion","popupTransitionName","popupAnimation","maskTransitionName","maskAnimation","className","getTriggerDOMNode"],j=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:a.Z;return m.forwardRef(function(t,n){var a,s,g,b,y,w,_,E,L,z,j,V,Y,F,X,I,q,G=t.prefixCls,J=void 0===G?"rc-trigger-popup":G,Q=t.children,$=t.action,K=t.showAction,U=t.hideAction,ee=t.popupVisible,et=t.defaultPopupVisible,en=t.onPopupVisibleChange,eo=t.afterPopupVisibleChange,er=t.mouseEnterDelay,ei=t.mouseLeaveDelay,ea=void 0===ei?.1:ei,es=t.focusDelay,eu=t.blurDelay,ec=t.mask,el=t.maskClosable,ef=t.getPopupContainer,eh=t.forceRender,ed=t.autoDestroy,ep=t.destroyPopupOnHide,ev=t.popup,em=t.popupClassName,eg=t.popupStyle,eb=t.popupPlacement,ey=t.builtinPlacements,ew=void 0===ey?{}:ey,e_=t.popupAlign,eE=t.zIndex,ex=t.stretch,eM=t.getPopupClassNameFromAlign,ek=t.fresh,eZ=t.alignPoint,eC=t.onPopupClick,eP=t.onPopupAlign,eR=t.arrow,eA=t.popupMotion,eO=t.maskMotion,eL=t.popupTransitionName,eS=t.popupAnimation,ez=t.maskTransitionName,eD=t.maskAnimation,eN=t.className,eT=t.getTriggerDOMNode,eH=(0,i.Z)(t,B),eW=m.useState(!1),eB=(0,r.Z)(eW,2),ej=eB[0],eV=eB[1];(0,p.Z)(function(){eV((0,v.Z)())},[]);var eY=m.useRef({}),eF=m.useContext(k),eX=m.useMemo(function(){return{registerSubPopup:function(e,t){eY.current[e]=t,null==eF||eF.registerSubPopup(e,t)}}},[eF]),eI=(0,d.Z)(),eq=m.useState(null),eG=(0,r.Z)(eq,2),eJ=eG[0],eQ=eG[1],e$=m.useRef(null),eK=(0,h.Z)(function(e){e$.current=e,(0,l.Sh)(e)&&eJ!==e&&eQ(e),null==eF||eF.registerSubPopup(eI,e)}),eU=m.useState(null),e0=(0,r.Z)(eU,2),e1=e0[0],e2=e0[1],e3=m.useRef(null),e6=(0,h.Z)(function(e){(0,l.Sh)(e)&&e1!==e&&(e2(e),e3.current=e)}),e4=m.Children.only(Q),e5=(null==e4?void 0:e4.props)||{},e7={},e8=(0,h.Z)(function(e){var t,n;return(null==e1?void 0:e1.contains(e))||(null===(t=(0,f.A)(e1))||void 0===t?void 0:t.host)===e||e===e1||(null==eJ?void 0:eJ.contains(e))||(null===(n=(0,f.A)(eJ))||void 0===n?void 0:n.host)===e||e===eJ||Object.values(eY.current).some(function(t){return(null==t?void 0:t.contains(e))||e===t})}),e9=P(J,eA,eS,eL),te=P(J,eO,eD,ez),tt=m.useState(et||!1),tn=(0,r.Z)(tt,2),to=tn[0],tr=tn[1],ti=null!=ee?ee:to,ta=(0,h.Z)(function(e){void 0===ee&&tr(e)});(0,p.Z)(function(){tr(ee||!1)},[ee]);var ts=m.useRef(ti);ts.current=ti;var tu=m.useRef([]);tu.current=[];var tc=(0,h.Z)(function(e){var t;ta(e),(null!==(t=tu.current[tu.current.length-1])&&void 0!==t?t:ti)!==e&&(tu.current.push(e),null==en||en(e))}),tl=m.useRef(),tf=function(){clearTimeout(tl.current)},th=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;tf(),0===t?tc(e):tl.current=setTimeout(function(){tc(e)},1e3*t)};m.useEffect(function(){return tf},[]);var td=m.useState(!1),tp=(0,r.Z)(td,2),tv=tp[0],tm=tp[1];(0,p.Z)(function(e){(!e||ti)&&tm(!0)},[ti]);var tg=m.useState(null),tb=(0,r.Z)(tg,2),ty=tb[0],tw=tb[1],t_=m.useState(null),tE=(0,r.Z)(t_,2),tx=tE[0],tM=tE[1],tk=function(e){tM([e.clientX,e.clientY])},tZ=(a=eZ&&null!==tx?tx:e1,s=m.useState({ready:!1,offsetX:0,offsetY:0,offsetR:0,offsetB:0,arrowX:0,arrowY:0,scaleX:1,scaleY:1,align:e
1w[eb]||{}}),b=(g=(0,r.Z)(s,2))[0],y=g[1],w=m.useRef(0),_=m.useMemo(function(){return eJ?A(eJ):[]},[eJ]),E=m.useRef({}),ti||(E.current={}),L=(0,h.Z)(function(){if(eJ&&a&&ti){var e=eJ.ownerDocument,t=R(eJ).getComputedStyle(eJ),n=t.width,i=t.height,s=t.position,u=eJ.style.left,c=eJ.style.top,f=eJ.style.right,h=eJ.style.bottom,d=eJ.style.overflow,p=(0,o.Z)((0,o.Z)({},ew[eb]),e_),v=e.createElement("div");if(null===(x=eJ.parentElement)||void 0===x||x.appendChild(v),v.style.left="".concat(eJ.offsetLeft,"px"),v.style.top="".concat(eJ.offsetTop,"px"),v.style.position=s,v.style.height="".concat(eJ.offsetHeight,"px"),v.style.width="".concat(eJ.offsetWidth,"px"),eJ.style.left="0",eJ.style.top="0",eJ.style.right="auto",eJ.style.bottom="auto",eJ.style.overflow="hidden",Array.isArray(a))P={x:a[0],y:a[1],width:0,height:0};else{var m,g,b,w,x,M,k,Z,P,A,L,z=a.getBoundingClientRect();z.x=null!==(A=z.x)&&void 0!==A?A:z.left,z.y=null!==(L=z.y)&&void 0!==L?L:z.top,P={x:z.x,y:z.y,width:z.width,height:z.height}}var W=eJ.getBoundingClientRect();W.x=null!==(M=W.x)&&void 0!==M?M:W.left,W.y=null!==(k=W.y)&&void 0!==k?k:W.top;var B=e.documentElement,j=B.clientWidth,V=B.clientHeight,Y=B.scrollWidth,F=B.scrollHeight,X=B.scrollTop,I=B.scrollLeft,q=W.height,G=W.width,J=P.height,Q=P.width,$=p.htmlRegion,K="visible",U="visibleFirst";"scroll"!==$&&$!==U&&($=K);var ee=$===U,et=S({left:-I,top:-X,right:Y-I,bottom:F-X},_),en=S({left:0,top:0,right:j,bottom:V},_),eo=$===K?en:et,er=ee?en:eo;eJ.style.left="auto",eJ.style.top="auto",eJ.style.right="0",eJ.style.bottom="0";var ei=eJ.getBoundingClientRect();eJ.style.left=u,eJ.style.top=c,eJ.style.right=f,eJ.style.bottom=h,eJ.style.overflow=d,null===(Z=eJ.parentElement)||void 0===Z||Z.removeChild(v);var ea=O(Math.round(G/parseFloat(n)*1e3)/1e3),es=O(Math.round(q/parseFloat(i)*1e3)/1e3);if(!(0===ea||0===es||(0,l.Sh)(a)&&!(0,C.Z)(a))){var eu=p.offset,e
1c=p.targetOffset,el=D(W,eu),ef=(0,r.Z)(el,2),eh=ef[0],ed=ef[1],ep=D(P,ec),ev=(0,r.Z)(ep,2),em=ev[0],eg=ev[1];P.x-=em,P.y-=eg;var ey=p.points||[],eE=(0,r.Z)(ey,2),ex=eE[0],eM=N(eE[1]),ek=N(ex),eZ=T(P,eM),eC=T(W,ek),eR=(0,o.Z)({},p),eA=eZ.x-eC.x+eh,eO=eZ.y-eC.y+ed,eL=ta(eA,eO),eS=ta(eA,eO,en),ez=T(P,["t","l"]),eD=T(W,["t","l"]),eN=T(P,["b","r"]),eT=T(W,["b","r"]),eH=p.overflow||{},eW=eH.adjustX,eB=eH.adjustY,ej=eH.shiftX,eV=eH.shiftY,eY=function(e){return"boolean"==typeof e?e:e>=0};ts();var eF=eY(eB),eX=ek[0]===eM[0];if(eF&&"t"===ek[0]&&(g>er.bottom||E.current.bt)){var eI=eO;eX?eI-=q-J:eI=ez.y-eT.y-ed;var eq=ta(eA,eI),eG=ta(eA,eI,en);eq>eL||eq===eL&&(!ee||eG>=eS)?(E.current.bt=!0,eO=eI,ed=-ed,eR.points=[H(ek,0),H(eM,0)]):E.current.bt=!1}if(eF&&"b"===ek[0]&&(m<er.top||E.current.tb)){var eQ=eO;eX?eQ+=q-J:eQ=eN.y-eD.y-ed;var e$=ta(eA,eQ),eK=ta(eA,eQ,en);e$>eL||e$===eL&&(!ee||eK>=eS)?(E.current.tb=!0,eO=eQ,ed=-ed,eR.points=[H(ek,0),H(eM,0)]):E.current.tb=!1}var eU=eY(eW),e0=ek[1]===eM[1];if(eU&&"l"===ek[1]&&(w>er.right||E.current.rl)){var e1=eA;e0?e1-=G-Q:e1=ez.x-eT.x-eh;var e2=ta(e1,eO),e3=ta(e1,eO,en);e2>eL||e2===eL&&(!ee||e3>=eS)?(E.current.rl=!0,eA=e1,eh=-eh,eR.points=[H(ek,1),H(eM,1)]):E.current.rl=!1}if(eU&&"r"===ek[1]&&(b<er.left||E.current.lr)){var e6=eA;e0?e6+=G-Q:e6=eN.x-eD.x-eh;var e4=ta(e6,eO),e5=ta(e6,eO,en);e4>eL||e4===eL&&(!ee||e5>=eS)?(E.current.lr=!0,eA=e6,eh=-eh,eR.points=[H(ek,1),H(eM,1)]):E.current.lr=!1}ts();var e7=!0===ej?0:ej;"number"==typeof e7&&(b<en.left&&(eA-=b-en.left-eh,P.x+Q<en.left+e7&&(eA+=P.x-en.left+Q-e7)),w>en.right&&(eA-=w-en.right-eh,P.x>en.right-e7&&(eA+=P.x-en.right+e7)));var e8=!0===eV?0:eV;"number"==typeof e8&&(m<en.top&&(eO-=m-en.top-ed,P.y+J<en.top+e8&&(eO+=P.y-en.top+J-e8)),g>en.bottom&&(eO-=g-en.bottom-ed,P.y>en.bottom-e8&&(eO+=P.y-en.bottom+e8)));var e9=W.x+eA,te=W.y+eO,tt=P.x,tn=P.y;null==eP||eP(eJ,eR);var to=ei.right-W.x-(eA+W.width),tr=ei.bottom-W.y-(eO+W.height);1===ea&&(eA=Math.round(eA),to=Math.round(to)),1===es&&(eO=Math.round(eO),tr=Math.round(tr)),y({ready:!0,offsetX:eA/ea,offsetY:eO/es,offsetR:to/ea,offsetB:tr/es,arrowX:((Math.max(e9,tt)+Math.min(e9+G,tt+Q))/2-e9)/ea,arrowY:((Math.max(te,tn)+Math.min(te+q,tn+J))/2-te)/es,scaleX:ea,scaleY:es,align:eR})}function ta(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:eo,o=W.x+e,r=W.y+t,i=Math.max(o,n.left),a=Math.max(r,n.top);return Math.max(0,(Math.min(o+G,n.right)-i)*(Math.min(r+q,n.bottom)-a))}function ts(){g=(m=W.y+eO)+q,w=(b=W.x+eA)+G}}}),z=function(){y(function(e){return(0,o.Z)((0,o.Z)({},e),{},{ready:!1})})},(0,p.Z)(z,[eb]),(0,p.Z)(function(){ti||z()},[ti]),[b.ready,b.offsetX,b.offsetY,b.offsetR,b.offsetB,b.arrowX,b.arrowY,b.scaleX,b.scaleY,b.align,function(){w.current+=1;var e=w.current;Promise.resolve().then(function(){w.current===e&&L()})}]),tC=(0,r.Z)(tZ,11),tP=tC[0],tR=tC[1],tA=tC[2],tO=tC[3],tL=tC[4],tS=tC[5],tz=tC[6],tD=tC[7],tN=tC[8],tT=tC[9],tH=tC[10],tW=(j=void 0===$?"hover":$,m.useMemo(function(){var e=Z(null!=K?K:j),t=Z(null!=U?U:j),n=new Set(e),o=new Set(t);return ej&&(n.has("hover")&&(n.delete("hover"),n.add("click")),o.has("hover")&&(o.delete("hover"),o.add("click"))),[n,o]},[ej,j,K,U])),tB=(0,r.Z)(tW,2),tj=tB[0],tV=tB[1],tY=tj.has("click"),tF=tV.has("click")||tV.has("contextMenu"),tX=(0,h.Z)(function(){tv||tH()});V=function(){ts.current&&eZ&&tF&&th(!1)},(0,p.Z)(function(){if(ti&&e1&&eJ){var e=A(e1),t=A(eJ),n=R(eJ),o=new Set([n].concat((0,W.Z)(e),(0,W.Z)(t)));function r(){tX(),V()}return o.forEach(function(e){e.addEventListener("scroll",r,{passive:!0})}),n.addEventListener("resize",r,{passive:!0}),tX(),function(){o.forEach(function(e){e.removeEventListener("scroll",r),n.removeEventListener("resize",r)})}}},[ti,e1,eJ]),(0,p.Z)(function(){tX()},[tx,eb]),(0,p.Z)(function(){ti&&!(null!=ew&&ew[eb])&&tX()},[JSON.stringify(e_)]);var tI=m.useMemo(function(){var e=function(e,t,n,o){for(var r=n.points,i=Object.keys(e),a=0;a<i.length;a+=1){var s,u=i[a];if(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>2?arguments[2]:void 0;return n?e[0]===t[0]:e[0]===t[0]&&e[1]===t[1]}(null===(s=e[u])||void 0===s?void 0:s.points,r,o))return"".concat(t,"-placement-").concat(u)}return""}(ew,J,tT,eZ);return u()(e,null==eM?void 0:eM(tT))},[tT,eM,ew,J,eZ]);m.useImperativeHandle(n,function(){return{nativeElement:e3.current,popupElement:e$.current,forceAlign:tX}});var tq=m.useState(0),tG=(0,r.Z)(tq,2),tJ=tG[0],tQ=tG[1],t$=m.useState(0),tK=(0,r.Z)(t$,2),tU=tK[0],t0=tK[1],t1=function(){if(ex&&e1){var e=e1.getBoundingClientRect();tQ(e.width),t0(e.height)}};function t2(e,t,n,o){e7[e]=function(r){var i;null==o||o(r),th(t,n);for(var a=arguments.length,s=Array(a>1?a-1:0),u=1;u<a;u++)s[u-1]=arguments[u];null===(i=e5[e])||void 0===i||i.call.apply(i,[e5,r].concat(s))}}(0,p.Z)(function(){ty&&(tH(),ty(),tw(null))},[ty]),(tY||tF)&&(e7.onClick=function(e){var t;ts.current&&tF?th(!1):!ts.current&&tY&&(tk(e),th(!0));for(var n=arguments.length,o=Array(n>1?n-1:0),r=1;r<n;r++)o[r-1]=arguments[r];null===(t=e5.onClick)||void 0===t||t.call.apply(t,[e5,e].concat(o))});var t3=(Y=void 0===el||el,(F=m.useRef(ti)).current=ti,X=m.useRef(!1),m.useEffect(function(){if(tF&&eJ&&(!ec||Y)){var e=function(){X.current=!1},t=function(e){var t;!F.current||e8((null===(t=e.composedPath)||void 0===t||null===(t=t.call(e))||void 0===t?void 0:t[0])||e.target)||X.current||th(!1)},n=R(eJ);n.addEventListener("pointerdown",e,!0),n.addEventListener("mousedown",t,!0),n.addEventListener("contextmenu",t,!0);var o=(0,f.A)(e1);return o&&(o.addEventListener("mousedown",t,!0),o.addEventListener("contextmenu",t,!0)),function(){n.removeEventListener("pointerdown",e,!0),n.removeEventListener("mousedown",t,!0),n.removeEventListener("contextmenu",t,!0),o&&(o.removeEventListener("mousedown",t,!0),o.removeEventListener("contextmenu",t,!0))}}},[tF,e1,eJ,ec,Y]),function(){X.current=!0}),t6=tj.has("hover"),t4=tV.has("hover");t6&&(t2("onMouseEnter",!0,er,function(e){tk(e)}),t2("onPointerEnter",!0,er,function(e){tk(e)}),I=function(e){(ti||tv)&&null!=eJ&&eJ.contains(e.target)&&th(!0,er)},eZ&&(e7.onMouseMove=function(e){var t;null===(t=e5.onMouseMove)||void 0===t||t.call(e5,e)})),t4&&(t2("onMouseLeave",!1,ea),t2("onPointerLeave",!1,ea),q=function(){th(!1,ea)}),tj.has("focus")&&t2("onFocus",!0,es),tV.has("focus")&&t2("onBlur",!1,eu),tj.has("contextMenu")&&(e7.onContextMenu=function(e){var t;ts.current&&tV.has("contextMenu")?th(!1):(tk(e),th(!0)),e.preventDefault();for(var n=arguments.length,o=Array(n>1?n-1:0),r=1;r<n;r++)o[r-1]=arguments[r];null===(t=e5.onContextMenu)||void 0===t||t.call.apply(t,[e5,e].concat(o))}),eN&&(e7.className=u()(e5.className,eN));var t5=(0,o.Z)((0,o.Z)({},e5),e7),t7={};["onContextMenu","onClick","onMouseDown","onTouchStart","onMouseEnter","onMouseLeave","onF
1ocus","onBlur"].forEach(function(e){eH[e]&&(t7[e]=function(){for(var t,n=arguments.length,o=Array(n),r=0;r<n;r++)o[r]=arguments[r];null===(t=t5[e])||void 0===t||t.call.apply(t,[t5].concat(o)),eH[e].apply(eH,o)})});var t8=m.cloneElement(e4,(0,o.Z)((0,o.Z)({},t5),t7)),t9=eR?(0,o.Z)({},!0!==eR?eR:{}):null;return m.createElement(m.Fragment,null,m.createElement(c.Z,{disabled:!ti,ref:e6,onResize:function(){t1(),tX()}},m.createElement(M,{getTriggerDOMNode:eT},t8)),m.createElement(k.Provider,{value:eX},m.createElement(x,{portal:e,ref:eK,prefixCls:J,popup:ev,className:u()(em,tI),style:eg,target:e1,onMouseEnter:I,onMouseLeave:q,onPointerEnter:I,zIndex:eE,open:ti,keepDom:tv,fresh:ek,onClick:eC,onPointerDownCapture:t3,mask:ec,motion:e9,maskMotion:te,onVisibleChanged:function(e){tm(!1),tH(),null==eo||eo(e)},onPrepare:function(){return new Promise(function(e){t1(),tw(function(){return e})})},forceRender:eh,autoDestroy:ed||ep||!1,getPopupContainer:ef,align:tT,arrow:t9,arrowPos:{x:tS,y:tz},ready:tP,offsetX:tR,offsetY:tA,offsetR:tO,offsetB:tL,onAlign:tX,stretch:ex,targetWidth:tJ/tD,targetHeight:tU/tN})))})}(a.Z)},3397:function(e,t,n){n.d(t,{Z:function(){return B}});var o=n(52003),r=n(75271),i=n(81626);n(4449);var a=n(99426),s=n(74826),u=n(4525),c=n(42684),l=r.createContext(null),f=function(){if("undefined"!=typeof Map)return Map;function e(e,t){var n=-1;return e.some(function(e,o){return e[0]===t&&(n=o,!0)}),n}return function(){function t(){this.__entries__=[]}return Object.defineProperty(t.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),t.prototype.get=function(t){var n=e(this.__entries__,t),o=this.__entries__[n];return o&&o[1]},t.prototype.set=function(t,n){var o=e(this.__entries__,t);~o?this.__entries__[o][1]=n:this.__entries__.push([t,n])},t.prototype.delete=function(t){var n=this.__entries__,o=e(n,t);~o&&n.splice(o,1)},t.prototype.has=function(t){return!!~e(this.__entries__,t)},t.prototype.clear=function(){this.__entries__.splice(0)},t.prototype.forEach=function(e,t){void 0===t&&(t=null);for(var n=0,o=this.__entries__;n<o.length;n++){var r=o[n];e.call(t,r[1],r[0])}},t}()}(),h="undefined"!=typeof window&&"undefined"!=typeof document&&window.document===document,d=void 0!==n.g&&n.g.Math===Math?n.g:"undefined"!=typeof self&&self.Math===Math?self:"undefined"!=typeof window&&window.Math===Math?window:Function("return this")(),p="function"==typeof requestAnimationFrame?requestAnimationFrame.bind(d):function(e){return setTimeout(function(){return e(Date.now())},1e3/60)},v=["top","right","bottom","left","width","height","size","weight"],m="undefined"!=typeof MutationObserver,g=function(){function e(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=function(e,t){var n=!1,o=!1,r=0;function i(){n&&(n=!1,e()),o&&s()}function a(){p(i)}function s(){var e=Date.now();if(n){if(e-r<2)return;o=!0}else n=!0,o=!1,setTimeout(a,20);r=e}return s}(this.refresh.bind(this),0)}return e.prototype.addObserver=function(e){~this.observers_.indexOf(e)||this.observers_.push(e),this.connected_||this.connect_()},e.prototype.removeObserver=function(e){var t=this.observers_,n=t.indexOf(e);~n&&t.splice(n,1),!t.length&&this.connected_&&this.disconnect_()},e.prototype.refresh=function(){this.updateObservers_()&&this.refresh()},e.prototype.updateObservers_=function(){var e=this.observers_.filter(function(e){return e.gatherActive(),e.hasActive()});return e.forEach(function(e){return e.broadcastActive()}),e.length>0},e.prototype.connect_=function(){h&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),m?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},e.prototype.disconnect_=function(){h&&this.connected_&&(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},e.prototype.onTransitionEnd_=function(e){var t=e.propertyName,n=void 0===t?"":t;v.some(function(e){return!!~n.indexOf(e)})&&this.refresh()},e.getInstance=function(){return this.instance_||(this.instance_=ne
1w e),this.instance_},e.instance_=null,e}(),b=function(e,t){for(var n=0,o=Object.keys(t);n<o.length;n++){var r=o[n];Object.defineProperty(e,r,{value:t[r],enumerable:!1,writable:!1,configurable:!0})}return e},y=function(e){return e&&e.ownerDocument&&e.ownerDocument.defaultView||d},w=M(0,0,0,0);function _(e){return parseFloat(e)||0}function E(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return t.reduce(function(t,n){return t+_(e["border-"+n+"-width"])},0)}var x="undefined"!=typeof SVGGraphicsElement?function(e){return e instanceof y(e).SVGGraphicsElement}:function(e){return e instanceof y(e).SVGElement&&"function"==typeof e.getBBox};function M(e,t,n,o){return{x:e,y:t,width:n,height:o}}var k=function(){function e(e){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=M(0,0,0,0),this.target=e}return e.prototype.isActive=function(){var e=function(e){if(!h)return w;if(x(e)){var t;return M(0,0,(t=e.getBBox()).width,t.height)}return function(e){var t=e.clientWidth,n=e.clientHeight;if(!t&&!n)return w;var o=y(e).getComputedStyle(e),r=function(e){for(var t={},n=0,o=["top","right","bottom","left"];n<o.length;n++){var r=o[n],i=e["padding-"+r];t[r]=_(i)}return t}(o),i=r.left+r.right,a=r.top+r.bottom,s=_(o.width),u=_(o.height);if("border-box"===o.boxSizing&&(Math.round(s+i)!==t&&(s-=E(o,"left","right")+i),Math.round(u+a)!==n&&(u-=E(o,"top","bottom")+a)),e!==y(e).document.documentElement){var c=Math.round(s+i)-t,l=Math.round(u+a)-n;1!==Math.abs(c)&&(s-=c),1!==Math.abs(l)&&(u-=l)}return M(r.left,r.top,s,u)}(e)}(this.target);return this.contentRect_=e,e.width!==this.broadcastWidth||e.height!==this.broadcastHeight},e.prototype.broadcastRect=function(){var e=this.contentRect_;return this.broadcastWidth=e.width,this.broadcastHeight=e.height,e},e}(),Z=function(e,t){var n,o,r,i,a,s=(n=t.x,o=t.y,r=t.width,i=t.height,b(a=Object.create(("undefined"!=typeof DOMRectReadOnly?DOMRectReadOnly:Object).prototype),{x:n,y:o,width:r,height:i,top:o,right:n+r,bottom:i+o,left:n}),a);b(this,{target:e,contentRect:s})},C=function(){function e(e,t,n){if(this.activeObservations_=[],this.observations_=new f,"function"!=typeof e)throw TypeError("The callback provided as parameter 1 is not a function.");this.callback_=e,this.controller_=t,this.callbackCtx_=n}return e.prototype.observe=function(e){if(!arguments.length)throw TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(e instanceof y(e).Element))throw TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)||(t.set(e,new k(e)),this.controller_.addObserver(this),this.controller_.refresh())}},e.prototype.unobserve=function(e){if(!arguments.length)throw TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(e instanceof y(e).Element))throw TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)&&(t.delete(e),t.size||this.controller_.removeObserver(this))}},e.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},e.prototype.gatherActive=function(){var e=this;this.clearActive(),this.observations_.forEach(function(t){t.isActive()&&e.activeObservations_.push(t)})},e.prototype.broadcastActive=function(){if(this.hasActive()){var e=this.callbackCtx_,t=this.activeObservations_.map(function(e){return new Z(e.target,e.broadcastRect())});this.callback_.call(e,t,e),this.clearActive()}},e.prototype.clearActive=function(){this.activeObservations_.splice(0)},e.prototype.hasActive=function(){return this.activeObservations_.length>0},e}(),P="undefined"!=typeof WeakMap?new WeakMap:new f,R=function e(t){if(!(this instanceof e))throw TypeError("Cannot call a class as a function.");if(!arguments.length)throw TypeError("1 argument required, but only 0 present.");var n=g.getInstance(),o=new C(t,n,this);P.set(this,o)};["observe","unobserve","disconnect"].forEach(function(e){R.prototype[e]=function(){var t;return(t=P.get(this))[e].apply(t,arguments)}});var A=void 0!==d.ResizeObserver?d.ResizeObserver:R,O=new Map,L=new A(function(e){e.forEach(function(e){var t,n=e.target;null===(t=O.get(n))||void 0===t||t.forEach(function(e){return e(n)})})}),S=n(34706),z=n(89364),D=n(16013),N=n(81963),T=function(e){(0,D.Z)(n,e);var t=(0,N.Z)(n);function n(){return(0,S.Z)(this,n),t.apply(this,arguments)}return(0,z.Z)(n,[{key:"render",value:function(){return this.props.children}}]),n}(r.Component),H=r.forwardRef(function(e,t){var n=e.children,o=e.disabled,i=r.useRef(null),f=r.useRef(null),h=r.useContext(l),d="function"==typeof n,p=d?n(i):n,v=r.useRef({width:-1,height:-1,offsetWidth:-1,offsetHeight:-1}),m=!d&&r.isValidElement(p)&&(0,c.Yr)(p),g=m?(0,c.C4)(p):null,b=(0,c.x1)(g,i),y=function(){var e;return(0,u.ZP)(i.current)||(i.current&&"object"===(0,s.Z)(i.current)?(0,u.ZP)(null===(e=i.current)||void 0===e?void 0:e.nativeElement):null)||(0,u.ZP)(f.current)};r.useImperativeHandle(t,function(){return y()});var w=r.useRef(e);w.current=e;var _=r.useCallback(function(e){var t=w.current,n=t.onResize,o=t.data,r=e.getBoundingClientRect(),i=r.width,s=r.height,u=e.offsetWidth,c=e.offsetHeight,l=Math.floor(i),f=Math.floor(s);if(v.current.width!==l||v.current.height!==f||v.current.offsetWidth!==u||v.current.offsetHeight!==c){var d={width:l,height:f,offsetWidth:u,offsetHeight:c};v.current=d;var p=u===Math.round(i)?i:u,m=c===Math.round(s)?s:c,g=(0,a.Z)((0,a.Z)({},d),{},{offsetWidth:p,offsetHeight:m});null==h||h(g,e,o),n&&Promise.resolve().then(function(){n(g,e)})}},[]);return r.useEffect(function(){var e=y();return e&&!o&&(O.has(e)||(O.set(e,new Set),L.observe(e)),O.get(e).add(_)),function(){O.has(e)&&(O.get(e).delete(_),O.get(e).size||(L.unobserve(e),O.delete(e)))}},[i.current,o]),r.createElement(T,{ref:f},m?r.cloneElement(p,{ref:b}):p)}),W=r.forwardRef(function(e,t){var n=e.children;return("function"==typeof n?[n]:(0,i.Z)(n)).map(function(n,i){var a=(null==n?void 0:n.key)||"".concat("rc-observer-key","-").concat(i);return r.createElement(H,(0,o.Z)({},e,{key:a,ref:0===i?t:void 0}),n)})});W.Collection=function(e){var t=e.children,n=e.onBatchResize,o=r.useRef(0),i=r.useRef([]),a=r.useContext(l),s=r.useCallback(function(e,t,r){o.current+=1;var s=o.current;i.current.push({size:e,element:t,data:r}),Promise.resolve().then(function(){s===o.current&&(null==n||n(i.current),i.current=[])}),null==a||a(e,t,r)},[n,a]);return r.createElement(l.Provider,{value:s},t)};var B=W},21611:function(e,t){t.Z=function(){if("undefined"==typeof navigator||"undefined"==typeof window)return!1;var e=navigator.userAgent||navigator.vendor||window.opera;return/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i.test(e)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw-(n|u)|c55\/|capi|ccwa|cdm-|cell|chtm|cldc|cmd-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc-s|devi|dica|dmob|do(c|p)o|ds(12|-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(-|_)|g1 u|g560|gene|gf-5|g-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd-(m|p|t)|hei-|hi(pt|ta)|hp( i|ip)|hs-c|ht(c(-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i-(20|go|ma)|i230|iac( |-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|-[a-w])|libw|lynx|m1-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|-([1-8]|c))|phil|pire|pl(ay|uc)|pn-2|po(ck|rt|se)|prox|psio|pt-g|qa-a|qc(07|12|21|32|60|-[2-7]|i-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h-|oo|p-)|sdk\/|se(c(-|0|1)|47|mc|nd|ri)|sgh-|shar|sie(-|m)|sk-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h-|v-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl-|tdg-|tel(i|m)|tim-|t-mo|to(pl|sh)|ts(70|m-|m3|m5)|tx-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas-|your|zeto|zte-/i.test(null==e?void 0:e.substr(0,4))}}}]);

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.