-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path7092-4249e2040fe6f4dc.js.download
1 lines (1 loc) · 36.8 KB
/
7092-4249e2040fe6f4dc.js.download
1
"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7092],{88178:function(e,t,n){n.d(t,{m:function(){return b}});var r=n(67294),o=n(1922),i=n(86010);let u={copied:!1,error:null},c=e=>{let{copiedDelay:t=2e3}=null!=e?e:{},[n,o]=(0,r.useState)(u),i=(0,r.useRef)(),c=(0,r.useRef)(null),a="undefined"!=typeof window&&window.isSecureContext&&!!navigator.clipboard,s=()=>o(u),l=e=>{var n,r,u,l;return n=void 0,r=void 0,u=void 0,l=function*(){if(!a){o({copied:!1,error:Error("Copy to clipboard is not supported")});return}window.clearTimeout(i.current),s();let n=null;try{n=navigator.clipboard.writeText(e),c.current=n,yield n,n===c.current&&(o({copied:!0,error:null}),i.current=window.setTimeout(s,t))}catch(e){n===c.current&&o({copied:!1,error:Error(String(e))})}},new(u||(u=Promise))(function(e,t){function o(e){try{c(l.next(e))}catch(e){t(e)}}function i(e){try{c(l.throw(e))}catch(e){t(e)}}function c(t){var n;t.done?e(t.value):((n=t.value)instanceof u?n:new u(function(e){e(n)})).then(o,i)}c((l=l.apply(n,r||[])).next())})};return(0,r.useEffect)(()=>()=>{window.clearTimeout(i.current)},[]),Object.assign(Object.assign({},n),{isSupported:a,copy:l})};var a=n(54761),s=n(93552),l=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)0>t.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};let f=r.forwardRef((e,t)=>{var{color:n}=e,o=l(e,["color"]);return r.createElement("svg",Object.assign({},(0,s.ti)(o),{ref:t,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"}),r.createElement("path",{d:"M8 6V4C8 2.98954 8.76925 2 9.90909 2H18.0909C19.2307 2 20 2.98954 20 4V16C20 17.0105 19.2307 18 18.0909 18H16V20C16 21.1 15.1 22 14 22H6C4.9 22 4 21.1 4 20V8C4 6.9 4.9 6 6 6H8ZM10 6H14C15.1 6 16 6.9 16 8V16H18V4H10V6ZM14 8H6V20H14V8Z",fill:n}))});f.displayName="Copy";var h=n(45651),d=n(10045),v=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)0>t.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};let p=e=>{var{shouldRender:t,children:n}=e,o=v(e,["shouldRender","children"]);return t?r.createElement(d.u,Object.assign({},o),n):n},b=e=>{let{value:t,delay:n,className:u,iconSize:s="medium",tooltipPosition:l="bottom",textPosition:d="left",copyTextLangKey:v="general:Copy",copiedTextLangKey:b="general:Copied",withCopyText:y=!1,withCopiedText:m=!0,dataTestId:g,cancelAnimation:w,onClick:O}=e,{t:E}=(0,o.$G)(),{copy:_,copied:S,isSupported:M}=c({copiedDelay:n});return M?r.createElement(p,{size:"micro",verticalPosition:l,label:E(S?b:v),shouldRender:S?!m:!y},r.createElement(h.h,{disabled:S&&!w,icon:S&&!w?a.y:f,className:(0,i.Z)("caption-4 text-P500",u),size:s,textPosition:d,textLangKey:S?m?b:void 0:y?v:void 0,onClick:()=>{_(t),null==O||O(t)},dataTestId:g})):null}},66951:function(e,t,n){function r(){return(r=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}n.d(t,{Z:function(){return eR}});var o=n(4942);function i(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function u(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?i(Object(n),!0).forEach(function(t){(0,o.Z)(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):i(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var c=n(71002);function a(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function s(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,u,c=[],a=!0,s=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;a=!1}else for(;!(a=(r=i.call(n)).done)&&(c.push(r.value),c.length!==t);a=!0);}catch(e){s=!0,o=e}finally{try{if(!a&&null!=n.return&&(u=n.return(),Object(u)!==u))return}finally{if(s)throw o}}return c}}(e,t)||function(e,t){if(e){if("string"==typeof e)return a(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return a(e,t)}}(e,t)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var l=n(67294),f=n(73935),h=n(94184),d=n.n(h);function v(){return(v=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var p=n(59864),b={},y=[];function m(e,t){}function g(e,t){}function w(e,t,n){t||b[n]||(e(!1,n),b[n]=!0)}function O(e,t){w(m,e,t)}function E(e){return(E="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function _(e){var t=function(e,t){if("object"!==E(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==E(r))return r;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===E(t)?t:String(t)}function S(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function M(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?S(Object(n),!0).forEach(function(t){var r,o,i;r=e,o=t,i=n[t],(o=_(o))in r?Object.defineProperty(r,o,{value:i,enumerable:!0,configurable:!0,writable:!0}):r[o]=i}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):S(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function R(e){return(R="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function j(e){return e instanceof HTMLElement||e instanceof SVGElement?e:e instanceof l.Component?f.findDOMNode(e):null}O.preMessage=function(e){y.push(e)},O.resetWarned=function(){b={}},O.noteOnce=function(e,t){w(g,e,t)};var x=function(){if("undefined"!=typeof Map)return Map;function e(e,t){var n=-1;return e.some(function(e,r){return e[0]===t&&(n=r,!0)}),n}return function(){function t(){this.__entries__=[]}return Object.defineProperty(t.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),t.prototype.get=function(t){var n=e(this.__entries__,t),r=this.__entries__[n];return r&&r[1]},t.prototype.set=function(t,n){var r=e(this.__entries__,t);~r?this.__entries__[r][1]=n:this.__entries__.push([t,n])},t.prototype.delete=function(t){var n=this.__entries__,r=e(n,t);~r&&n.splice(r,1)},t.prototype.has=function(t){return!!~e(this.__entries__,t)},t.prototype.clear=function(){this.__entries__.splice(0)},t.prototype.forEach=function(e,t){void 0===t&&(t=null);for(var n=0,r=this.__entries__;n<r.length;n++){var o=r[n];e.call(t,o[1],o[0])}},t}()}(),P="undefined"!=typeof window&&"undefined"!=typeof document&&window.document===document,C=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")(),T="function"==typeof requestAnimationFrame?requestAnimationFrame.bind(C):function(e){return setTimeout(function(){return e(Date.now())},1e3/60)},k=["top","right","bottom","left","width","height","size","weight"],H="undefined"!=typeof MutationObserver,A=function(){function e(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=function(e,t){var n=!1,r=!1,o=0;function i(){n&&(n=!1,e()),r&&c()}function u(){T(i)}function c(){var e=Date.now();if(n){if(e-o<2)return;r=!0}else n=!0,r=!1,setTimeout(u,20);o=e}return c}(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(){P&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),H?(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(){P&&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;k.some(function(e){return!!~n.indexOf(e)})&&this.refresh()},e.getInstance=function(){return this.instance_||(this.instance_=new e),this.instance_},e.instance_=null,e}(),L=function(e,t){for(var n=0,r=Object.keys(t);n<r.length;n++){var o=r[n];Object.defineProperty(e,o,{value:t[o],enumerable:!1,writable:!1,configurable:!0})}return e},z=function(e){return e&&e.ownerDocument&&e.ownerDocument.defaultView||C},D=V(0,0,0,0);function I(e){return parseFloat(e)||0}function N(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return t.reduce(function(t,n){return t+I(e["border-"+n+"-width"])},0)}var Z="undefined"!=typeof SVGGraphicsElement?function(e){return e instanceof z(e).SVGGraphicsElement}:function(e){return e instanceof z(e).SVGElement&&"function"==typeof e.getBBox};function V(e,t,n,r){return{x:e,y:t,width:n,height:r}}var W=function(){function e(e){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=V(0,0,0,0),this.target=e}return e.prototype.isActive=function(){var e=function(e){if(!P)return D;if(Z(e)){var t;return V(0,0,(t=e.getBBox()).width,t.height)}return function(e){var t=e.clientWidth,n=e.clientHeight;if(!t&&!n)return D;var r=z(e).getComputedStyle(e),o=function(e){for(var t={},n=0,r=["top","right","bottom","left"];n<r.length;n++){var o=r[n],i=e["padding-"+o];t[o]=I(i)}return t}(r),i=o.left+o.right,u=o.top+o.bottom,c=I(r.width),a=I(r.height);if("border-box"===r.boxSizing&&(Math.round(c+i)!==t&&(c-=N(r,"left","right")+i),Math.round(a+u)!==n&&(a-=N(r,"top","bottom")+u)),e!==z(e).document.documentElement){var s=Math.round(c+i)-t,l=Math.round(a+u)-n;1!==Math.abs(s)&&(c-=s),1!==Math.abs(l)&&(a-=l)}return V(o.left,o.top,c,a)}(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}(),Y=function(e,t){var n,r,o,i,u,c=(n=t.x,r=t.y,o=t.width,i=t.height,L(u=Object.create(("undefined"!=typeof DOMRectReadOnly?DOMRectReadOnly:Object).prototype),{x:n,y:r,width:o,height:i,top:r,right:n+o,bottom:i+r,left:n}),u);L(this,{target:e,contentRect:c})},B=function(){function e(e,t,n){if(this.activeObservations_=[],this.observations_=new x,"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 z(e).Element))throw TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)||(t.set(e,new W(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 z(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 Y(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}(),F="undefined"!=typeof WeakMap?new WeakMap:new x,q=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=A.getInstance(),r=new B(t,n,this);F.set(this,r)};["observe","unobserve","disconnect"].forEach(function(e){q.prototype[e]=function(){var t;return(t=F.get(this))[e].apply(t,arguments)}});var G=void 0!==C.ResizeObserver?C.ResizeObserver:q,X=new Map,$=new G(function(e){e.forEach(function(e){var t,n=e.target;null===(t=X.get(n))||void 0===t||t.forEach(function(e){return e(n)})})});function K(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,_(r.key),r)}}function J(e,t){return(J=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function U(e){return(U=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Q=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&J(e,t)}(o,e);var t,n,r=(t=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}(),function(){var e,n=U(o);if(t){var r=U(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return function(e,t){if(t&&("object"===E(t)||"function"==typeof t))return t;if(void 0!==t)throw TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(this,e)});function o(){return!function(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}(this,o),r.apply(this,arguments)}return K(o.prototype,[{key:"render",value:function(){return this.props.children}}]),n&&K(o,n),Object.defineProperty(o,"prototype",{writable:!1}),o}(l.Component),ee=l.createContext(null),et=l.forwardRef(function(e,t){var n,r,o,i=e.children,u=e.disabled,c=l.useRef(null),a=l.useRef(null),s=l.useContext(ee),f="function"==typeof i,h=f?i(c):i,d=l.useRef({width:-1,height:-1,offsetWidth:-1,offsetHeight:-1}),v=!f&&l.isValidElement(h)&&("function"!=typeof(o=(0,p.isMemo)(h)?h.type.type:h.type)||null!==(n=o.prototype)&&void 0!==n&&!!n.render)&&("function"!=typeof h||null!==(r=h.prototype)&&void 0!==r&&!!r.render),b=v?h.ref:null,y=l.useMemo(function(){return function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=t.filter(function(e){return e});return r.length<=1?r[0]:function(e){t.forEach(function(t){var n;"function"==typeof(n=t)?n(e):"object"===R(n)&&n&&"current"in n&&(n.current=e)})}}(b,c)},[b,c]),m=function(){return j(c.current)||j(a.current)};l.useImperativeHandle(t,function(){return m()});var g=l.useRef(e);g.current=e;var w=l.useCallback(function(e){var t=g.current,n=t.onResize,r=t.data,o=e.getBoundingClientRect(),i=o.width,u=o.height,c=e.offsetWidth,a=e.offsetHeight,l=Math.floor(i),f=Math.floor(u);if(d.current.width!==l||d.current.height!==f||d.current.offsetWidth!==c||d.current.offsetHeight!==a){var h={width:l,height:f,offsetWidth:c,offsetHeight:a};d.current=h;var v=M(M({},h),{},{offsetWidth:c===Math.round(i)?i:c,offsetHeight:a===Math.round(u)?u:a});null==s||s(v,e,r),n&&Promise.resolve().then(function(){n(v,e)})}},[]);return l.useEffect(function(){var e=m();return e&&!u&&(X.has(e)||(X.set(e,new Set),$.observe(e)),X.get(e).add(w)),function(){X.has(e)&&(X.get(e).delete(w),X.get(e).size||($.unobserve(e),X.delete(e)))}},[c.current,u]),l.createElement(Q,{ref:a},v?l.cloneElement(h,{ref:y}):h)}),en=l.forwardRef(function(e,t){var n=e.children;return("function"==typeof n?[n]:function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=[];return l.Children.forEach(t,function(t){(null!=t||n.keepEmpty)&&(Array.isArray(t)?r=r.concat(e(t)):(0,p.isFragment)(t)&&t.props?r=r.concat(e(t.props.children,n)):r.push(t))}),r}(n)).map(function(n,r){var o=(null==n?void 0:n.key)||"".concat("rc-observer-key","-").concat(r);return l.createElement(et,v({},e,{key:o,ref:0===r?t:void 0}),n)})});en.Collection=function(e){var t=e.children,n=e.onBatchResize,r=l.useRef(0),o=l.useRef([]),i=l.useContext(ee),u=l.useCallback(function(e,t,u){r.current+=1;var c=r.current;o.current.push({size:e,element:t,data:u}),Promise.resolve().then(function(){c===r.current&&(null==n||n(o.current),o.current=[])}),null==i||i(e,t,u)},[n,i]);return l.createElement(ee.Provider,{value:u},t)};var er=l.forwardRef(function(e,t){var n,i=e.height,c=e.offsetY,a=e.offsetX,s=e.children,f=e.prefixCls,h=e.onInnerResize,v=e.innerProps,p=e.rtl,b=e.extra,y={},m={display:"flex",flexDirection:"column"};return void 0!==c&&(y={height:i,position:"relative",overflow:"hidden"},m=u(u({},m),{},(n={transform:"translateY(".concat(c,"px)")},(0,o.Z)(n,p?"marginRight":"marginLeft",-a),(0,o.Z)(n,"position","absolute"),(0,o.Z)(n,"left",0),(0,o.Z)(n,"right",0),(0,o.Z)(n,"top",0),n))),l.createElement("div",{style:y},l.createElement(en,{onResize:function(e){e.offsetHeight&&h&&h()}},l.createElement("div",r({style:m,className:d()((0,o.Z)({},"".concat(f,"-holder-inner"),f)),ref:t},v),s,b)))});er.displayName="Filler";var eo=function(e){return+setTimeout(e,16)},ei=function(e){return clearTimeout(e)};"undefined"!=typeof window&&"requestAnimationFrame"in window&&(eo=function(e){return window.requestAnimationFrame(e)},ei=function(e){return window.cancelAnimationFrame(e)});var eu=0,ec=new Map,ea=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,n=eu+=1;return!function t(r){if(0===r)ec.delete(n),e();else{var o=eo(function(){t(r-1)});ec.set(n,o)}}(t),n};function es(e,t){return("touches"in e?e.touches[0]:e)[t?"pageX":"pageY"]}ea.cancel=function(e){var t=ec.get(e);return ec.delete(t),ei(t)};var el=l.forwardRef(function(e,t){var n,r=e.prefixCls,i=e.rtl,c=e.scrollOffset,a=e.scrollRange,f=e.onStartMove,h=e.onStopMove,v=e.onScroll,p=e.horizontal,b=e.spinSize,y=e.containerSize,m=e.style,g=e.thumbStyle,w=s(l.useState(!1),2),O=w[0],E=w[1],_=s(l.useState(null),2),S=_[0],M=_[1],R=s(l.useState(null),2),j=R[0],x=R[1],P=!i,C=l.useRef(),T=l.useRef(),k=s(l.useState(!1),2),H=k[0],A=k[1],L=l.useRef(),z=function(){clearTimeout(L.current),A(!0),L.current=setTimeout(function(){A(!1)},3e3)},D=a-y||0,I=y-b||0,N=l.useMemo(function(){return 0===c||0===D?0:c/D*I},[c,D,I]),Z=l.useRef({top:N,dragging:O,pageY:S,startTop:j});Z.current={top:N,dragging:O,pageY:S,startTop:j};var V=function(e){E(!0),M(es(e,p)),x(Z.current.top),f(),e.stopPropagation(),e.preventDefault()};l.useEffect(function(){var e=function(e){e.preventDefault()},t=C.current,n=T.current;return t.addEventListener("touchstart",e),n.addEventListener("touchstart",V),function(){t.removeEventListener("touchstart",e),n.removeEventListener("touchstart",V)}},[]);var W=l.useRef();W.current=D;var Y=l.useRef();Y.current=I,l.useEffect(function(){if(O){var e,t=function(t){var n=Z.current,r=n.dragging,o=n.pageY,i=n.startTop;if(ea.cancel(e),r){var u=es(t,p)-o,c=i;!P&&p?c-=u:c+=u;var a=W.current,s=Y.current,l=Math.ceil((s?c/s:0)*a);l=Math.min(l=Math.max(l,0),a),e=ea(function(){v(l,p)})}},n=function(){E(!1),h()};return window.addEventListener("mousemove",t),window.addEventListener("touchmove",t),window.addEventListener("mouseup",n),window.addEventListener("touchend",n),function(){window.removeEventListener("mousemove",t),window.removeEventListener("touchmove",t),window.removeEventListener("mouseup",n),window.removeEventListener("touchend",n),ea.cancel(e)}}},[O]),l.useEffect(function(){z()},[c]),l.useImperativeHandle(t,function(){return{delayHidden:z}});var B="".concat(r,"-scrollbar"),F={position:"absolute",visibility:H&&D>0?null:"hidden"},q={position:"absolute",background:"rgba(0, 0, 0, 0.5)",borderRadius:99,cursor:"pointer",userSelect:"none"};return p?(F.height=8,F.left=0,F.right=0,F.bottom=0,q.height="100%",q.width=b,P?q.left=N:q.right=N):(F.width=8,F.top=0,F.bottom=0,P?F.right=0:F.left=0,q.width="100%",q.height=b,q.top=N),l.createElement("div",{ref:C,className:d()(B,(n={},(0,o.Z)(n,"".concat(B,"-horizontal"),p),(0,o.Z)(n,"".concat(B,"-vertical"),!p),(0,o.Z)(n,"".concat(B,"-visible"),H),n)),style:u(u({},F),m),onMouseDown:function(e){e.stopPropagation(),e.preventDefault()},onMouseMove:z},l.createElement("div",{ref:T,className:d()("".concat(B,"-thumb"),(0,o.Z)({},"".concat(B,"-thumb-moving"),O)),style:u(u({},q),g),onMouseDown:V}))});function ef(e){var t=e.children,n=e.setRef,r=l.useCallback(function(e){n(e)},[]);return l.cloneElement(t,{ref:r})}var eh=n(83997);function ed(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,(0,eh.Z)(r.key),r)}}var ev=function(){var e;function t(){!function(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}(this,t),this.maps=void 0,this.id=0,this.maps=Object.create(null)}return ed(t.prototype,[{key:"set",value:function(e,t){this.maps[e]=t,this.id+=1}},{key:"get",value:function(e){return this.maps[e]}}]),e&&ed(t,e),Object.defineProperty(t,"prototype",{writable:!1}),t}(),ep="undefined"!=typeof window&&window.document&&window.document.createElement?l.useLayoutEffect:l.useEffect,eb=function(e,t){var n=l.useRef(!0);ep(function(){return e(n.current)},t),ep(function(){return n.current=!1,function(){n.current=!0}},[])};function ey(e){var t=l.useRef();return t.current=e,l.useCallback(function(){for(var e,n=arguments.length,r=Array(n),o=0;o<n;o++)r[o]=arguments[o];return null===(e=t.current)||void 0===e?void 0:e.call.apply(e,[t].concat(r))},[])}"undefined"==typeof Reflect||Reflect.ownKeys;var em=("undefined"==typeof navigator?"undefined":(0,c.Z)(navigator))==="object"&&/Firefox/i.test(navigator.userAgent),eg=function(e,t){var n=(0,l.useRef)(!1),r=(0,l.useRef)(null),o=(0,l.useRef)({top:e,bottom:t});return o.current.top=e,o.current.bottom=t,function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i=e<0&&o.current.top||e>0&&o.current.bottom;return t&&i?(clearTimeout(r.current),n.current=!1):(!i||n.current)&&(clearTimeout(r.current),n.current=!0,r.current=setTimeout(function(){n.current=!1},50)),!n.current&&i}},ew=14/15;function eO(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=e/t*100;return isNaN(n)&&(n=0),Math.floor(n=Math.min(n=Math.max(n,20),e/2))}var eE=["prefixCls","className","height","itemHeight","fullHeight","style","data","children","itemKey","virtual","direction","scrollWidth","component","onScroll","onVirtualScroll","onVisibleChange","innerProps","extraRender","styles"],e_=[],eS={overflowY:"auto",overflowAnchor:"none"},eM=l.forwardRef(function(e,t){var n,i,a,h,v,p,b,y,m,g,w,O,E,_,S,M,R,x,P,C,T,k,H,A,L,z,D,I,N,Z,V,W=e.prefixCls,Y=void 0===W?"rc-virtual-list":W,B=e.className,F=e.height,q=e.itemHeight,G=e.fullHeight,X=e.style,$=e.data,K=e.children,J=e.itemKey,U=e.virtual,Q=e.direction,ee=e.scrollWidth,et=e.component,eo=e.onScroll,ei=e.onVirtualScroll,eu=e.onVisibleChange,ec=e.innerProps,es=e.extraRender,eh=e.styles,ed=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,eE),ep=!!(!1!==U&&F&&q),eM=ep&&$&&(q*$.length>F||!!ee),eR="rtl"===Q,ej=d()(Y,(0,o.Z)({},"".concat(Y,"-rtl"),eR),B),ex=$||e_,eP=(0,l.useRef)(),eC=(0,l.useRef)(),eT=s((0,l.useState)(0),2),ek=eT[0],eH=eT[1],eA=s((0,l.useState)(0),2),eL=eA[0],ez=eA[1],eD=s((0,l.useState)(!1),2),eI=eD[0],eN=eD[1],eZ=function(){eN(!0)},eV=function(){eN(!1)},eW=l.useCallback(function(e){return"function"==typeof J?J(e):null==e?void 0:e[J]},[J]);function eY(e){eH(function(t){var n,r=(n="function"==typeof e?e(t):e,Number.isNaN(tr.current)||(n=Math.min(n,tr.current)),n=Math.max(n,0));return eP.current.scrollTop=r,r})}var eB=(0,l.useRef)({start:0,end:ex.length}),eF=(0,l.useRef)(),eq=(a=(i=s(l.useState(ex),2))[0],h=i[1],p=(v=s(l.useState(null),2))[0],b=v[1],l.useEffect(function(){var e=function(e,t,n){var r,o,i=e.length,u=t.length;if(0===i&&0===u)return null;i<u?(r=e,o=t):(r=t,o=e);var c={__EMPTY_ITEM__:!0};function a(e){return void 0!==e?n(e):c}for(var s=null,l=1!==Math.abs(i-u),f=0;f<o.length;f+=1){var h=a(r[f]);if(h!==a(o[f])){s=f,l=l||h!==a(o[f+1]);break}}return null===s?null:{index:s,multiple:l}}(a||[],ex||[],eW);(null==e?void 0:e.index)!==void 0&&(null==n||n(e.index),b(ex[e.index])),h(ex)},[ex]),[p]),eG=s(eq,1)[0];eF.current=eG;var eX=function(e,t,n){var r=s(l.useState(0),2),o=r[0],i=r[1],u=(0,l.useRef)(new Map),c=(0,l.useRef)(new ev),a=(0,l.useRef)();function f(){ea.cancel(a.current)}function h(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];f();var t=function(){u.current.forEach(function(e,t){if(e&&e.offsetParent){var n=j(e),r=n.offsetHeight;c.current.get(t)!==r&&c.current.set(t,n.offsetHeight)}}),i(function(e){return e+1})};e?t():a.current=ea(t)}return(0,l.useEffect)(function(){return f},[]),[function(r,o){var i=e(r),c=u.current.get(i);o?(u.current.set(i,o),h()):u.current.delete(i),!c!=!o&&(o?null==t||t(r):null==n||n(r))},h,c.current,o]}(eW,null,null),e$=s(eX,4),eK=e$[0],eJ=e$[1],eU=e$[2],eQ=e$[3],e0=l.useMemo(function(){if(!ep)return{scrollHeight:void 0,start:0,end:ex.length-1,offset:void 0};if(!eM)return{scrollHeight:(null===(e=eC.current)||void 0===e?void 0:e.offsetHeight)||0,start:0,end:ex.length-1,offset:void 0};for(var e,t,n,r,o=0,i=ex.length,u=0;u<i;u+=1){var c=eW(ex[u]),a=eU.get(c),s=o+(void 0===a?q:a);s>=ek&&void 0===t&&(t=u,n=o),s>ek+F&&void 0===r&&(r=u),o=s}return void 0===t&&(t=0,n=0,r=Math.ceil(F/q)),void 0===r&&(r=ex.length-1),{scrollHeight:o,start:t,end:r=Math.min(r+1,ex.length-1),offset:n}},[eM,ep,ek,ex,eQ,F]),e1=e0.scrollHeight,e2=e0.start,e9=e0.end,e6=e0.offset;eB.current.start=e2,eB.current.end=e9;var e4=s(l.useState({width:0,height:F}),2),e8=e4[0],e5=e4[1],e3=(0,l.useRef)(),e7=(0,l.useRef)(),te=l.useMemo(function(){return eO(e8.width,ee)},[e8.width,ee]),tt=l.useMemo(function(){return eO(e8.height,e1)},[e8.height,e1]),tn=e1-F,tr=(0,l.useRef)(tn);tr.current=tn;var to=ek<=0,ti=ek>=tn,tu=eg(to,ti),tc=function(){return{x:eR?-eL:eL,y:ek}},ta=(0,l.useRef)(tc()),ts=ey(function(){if(ei){var e=tc();(ta.current.x!==e.x||ta.current.y!==e.y)&&(ei(e),ta.current=e)}});function tl(e,t){t?((0,f.flushSync)(function(){ez(e)}),ts()):eY(e)}var tf=function(e){var t=e,n=ee-e8.width;return Math.min(t=Math.max(t,0),n)},th=ey(function(e,t){t?((0,f.flushSync)(function(){ez(function(t){return tf(t+(eR?-e:e))})}),ts()):eY(function(t){return t+e})}),td=s((y=!!ee,m=(0,l.useRef)(0),g=(0,l.useRef)(null),w=(0,l.useRef)(null),O=(0,l.useRef)(!1),E=eg(to,ti),_=(0,l.useRef)(null),S=(0,l.useRef)(null),[function(e){if(ep){ea.cancel(S.current),S.current=ea(function(){_.current=null},2);var t,n=e.deltaX,r=e.deltaY,o=e.shiftKey,i=n,u=r;("sx"===_.current||!_.current&&o&&r&&!n)&&(i=r,u=0,_.current="sx");var c=Math.abs(i),a=Math.abs(u);(null===_.current&&(_.current=y&&c>a?"x":"y"),"y"===_.current)?(t=u,ea.cancel(g.current),m.current+=t,w.current=t,E(t)||(em||e.preventDefault(),g.current=ea(function(){var e=O.current?10:1;th(m.current*e),m.current=0}))):(th(i,!0),em||e.preventDefault())}},function(e){ep&&(O.current=e.detail===w.current)}]),2),tv=td[0],tp=td[1];M=function(e,t){return!tu(e,t)&&(tv({preventDefault:function(){},deltaY:e}),!0)},x=(0,l.useRef)(!1),P=(0,l.useRef)(0),C=(0,l.useRef)(null),T=(0,l.useRef)(null),k=function(e){if(x.current){var t=Math.ceil(e.touches[0].pageY),n=P.current-t;P.current=t,M(n)&&e.preventDefault(),clearInterval(T.current),T.current=setInterval(function(){(!M(n*=ew,!0)||.1>=Math.abs(n))&&clearInterval(T.current)},16)}},H=function(){x.current=!1,R()},A=function(e){R(),1!==e.touches.length||x.current||(x.current=!0,P.current=Math.ceil(e.touches[0].pageY),C.current=e.target,C.current.addEventListener("touchmove",k),C.current.addEventListener("touchend",H))},R=function(){C.current&&(C.current.removeEventListener("touchmove",k),C.current.removeEventListener("touchend",H))},eb(function(){return ep&&eP.current.addEventListener("touchstart",A),function(){var e;null===(e=eP.current)||void 0===e||e.removeEventListener("touchstart",A),R(),clearInterval(T.current)}},[ep]),eb(function(){function e(e){ep&&e.preventDefault()}var t=eP.current;return t.addEventListener("wheel",tv),t.addEventListener("DOMMouseScroll",tp),t.addEventListener("MozMousePixelScroll",e),function(){t.removeEventListener("wheel",tv),t.removeEventListener("DOMMouseScroll",tp),t.removeEventListener("MozMousePixelScroll",e)}},[ep]),eb(function(){ee&&ez(function(e){return tf(e)})},[e8.width,ee]);var tb=function(){var e,t;null===(e=e3.current)||void 0===e||e.delayHidden(),null===(t=e7.current)||void 0===t||t.delayHidden()},ty=(L=l.useRef(),D=(z=s(l.useState(null),2))[0],I=z[1],eb(function(){if(D&&D.times<10){if(!eP.current){I(function(e){return u({},e)});return}eJ(!0);var e=D.targetAlign,t=D.originAlign,n=D.index,r=D.offset,o=eP.current.clientHeight,i=!1,c=e,a=null;if(o){for(var s=e||t,l=0,f=0,h=0,d=Math.min(ex.length-1,n),v=0;v<=d;v+=1){var p=eW(ex[v]);f=l;var b=eU.get(p);l=h=f+(void 0===b?q:b)}for(var y="top"===s?r:o-r,m=d;m>=0;m-=1){var g=eW(ex[m]),w=eU.get(g);if(void 0===w){i=!0;break}if((y-=w)<=0)break}switch(s){case"top":a=f-r;break;case"bottom":a=h-o+r;break;default:var O=eP.current.scrollTop;f<O?c="top":h>O+o&&(c="bottom")}null!==a&&eY(a),a!==D.lastTop&&(i=!0)}i&&I(function(e){return u(u({},e),{},{times:e.times+1,targetAlign:c,lastTop:a})})}},[D,eP.current]),function(e){if(null==e){tb();return}if(ea.cancel(L.current),"number"==typeof e)eY(e);else if(e&&"object"===(0,c.Z)(e)){var t,n=e.align;t="index"in e?e.index:ex.findIndex(function(t){return eW(t)===e.key});var r=e.offset;I({times:0,index:t,offset:void 0===r?0:r,originAlign:n})}});l.useImperativeHandle(t,function(){return{getScrollInfo:tc,scrollTo:function(e){e&&"object"===(0,c.Z)(e)&&("left"in e||"top"in e)?(void 0!==e.left&&ez(tf(e.left)),ty(e.top)):ty(e)}}}),eb(function(){eu&&eu(ex.slice(e2,e9+1),ex)},[e2,e9,ex]);var tm=(Z=(N=s(l.useMemo(function(){return[new Map,[]]},[ex,eU.id,q]),2))[0],V=N[1],function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e,n=Z.get(e),r=Z.get(t);if(void 0===n||void 0===r)for(var o=ex.length,i=V.length;i<o;i+=1){var u,c=eW(ex[i]);Z.set(c,i);var a=null!==(u=eU.get(c))&&void 0!==u?u:q;if(V[i]=(V[i-1]||0)+a,c===e&&(n=i),c===t&&(r=i),void 0!==n&&void 0!==r)break}return{top:V[n-1]||0,bottom:V[r]}}),tg=null==es?void 0:es({start:e2,end:e9,virtual:eM,offsetX:eL,offsetY:e6,rtl:eR,getSize:tm}),tw=ex.slice(e2,e9+1).map(function(e,t){var n=K(e,e2+t,{style:{width:ee}}),r=eW(e);return l.createElement(ef,{key:r,setRef:function(t){return eK(e,t)}},n)}),tO=null;F&&(tO=u((0,o.Z)({},void 0===G||G?"height":"maxHeight",F),eS),ep&&(tO.overflowY="hidden",ee&&(tO.overflowX="hidden"),eI&&(tO.pointerEvents="none")));var tE={};return eR&&(tE.dir="rtl"),l.createElement("div",r({style:u(u({},X),{},{position:"relative"}),className:ej},tE,ed),l.createElement(en,{onResize:function(e){e5({width:e.width||e.offsetWidth,height:e.height||e.offsetHeight})}},l.createElement(void 0===et?"div":et,{className:"".concat(Y,"-holder"),style:tO,ref:eP,onScroll:function(e){var t=e.currentTarget.scrollTop;t!==ek&&eY(t),null==eo||eo(e),ts()},onMouseEnter:tb},l.createElement(er,{prefixCls:Y,height:e1,offsetX:eL,offsetY:e6,scrollWidth:ee,onInnerResize:eJ,ref:eC,innerProps:ec,rtl:eR,extra:tg},tw))),eM&&e1>F&&l.createElement(el,{ref:e3,prefixCls:Y,scrollOffset:ek,scrollRange:e1,rtl:eR,onScroll:tl,onStartMove:eZ,onStopMove:eV,spinSize:tt,containerSize:e8.height,style:null==eh?void 0:eh.verticalScrollBar,thumbStyle:null==eh?void 0:eh.verticalScrollBarThumb}),eM&&ee&&l.createElement(el,{ref:e7,prefixCls:Y,scrollOffset:eL,scrollRange:ee,rtl:eR,onScroll:tl,onStartMove:eZ,onStopMove:eV,spinSize:te,containerSize:e8.width,horizontal:!0,style:null==eh?void 0:eh.horizontalScrollBar,thumbStyle:null==eh?void 0:eh.horizontalScrollBarThumb}))});eM.displayName="List";var eR=eM},68952:function(e,t,n){n.d(t,{Z:function(){return a}});var r,o=n(67294),i=[0],u=(r=new Map,{getObserver:function(e){var t=e.root,n=e.rootMargin,o=e.threshold,i=r.get(t);i||(i=new Map,r.set(t,i));var u=JSON.stringify({rootMargin:n,threshold:o}),c=i.get(u);if(!c){var a=new Map;c={observer:new IntersectionObserver(function(e){e.forEach(function(e){var t=a.get(e.target);null==t||t(e)})},{root:t,rootMargin:n,threshold:o}),entryCallbacks:a},i.set(u,c)}return{observe:function(e,t){var n,r;null==(n=c)||n.entryCallbacks.set(e,t),null==(r=c)||r.observer.observe(e)},unobserve:function(e){var t,n;null==(t=c)||t.entryCallbacks.delete(e),null==(n=c)||n.observer.unobserve(e)}}}});function c(){return(c=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=function(e){var t,n,r,a,s,l,f,h,d,v,p,b,y,m,g,w,O,E,_,S,M,R=e.loading,j=e.hasNextPage,x=e.onLoadMore,P=e.rootMargin,C=e.disabled,T=e.delayInMs,k=void 0===T?100:T,H=(w=(a=null!=(n=(t={rootMargin:P}).rootMargin)?n:"0px",s=null!=(r=null==t?void 0:t.threshold)?r:i,l=(0,o.useRef)(null),f=(0,o.useRef)(null),h=(0,o.useRef)(null),v=(d=(0,o.useState)())[0],p=d[1],b=(0,o.useCallback)(function(){var e=l.current;if(!e){p(void 0);return}var t=u.getObserver({root:f.current,rootMargin:a,threshold:s});t.observe(e,function(e){p(e)}),h.current=t},[a,s]),y=(0,o.useCallback)(function(){var e=h.current,t=l.current;t&&(null==e||e.unobserve(t)),h.current=null},[]),g=[(0,o.useCallback)(function(e){y(),l.current=e,b()},[b,y]),{entry:v,rootRef:(0,o.useCallback)(function(e){y(),f.current=e,b()},[b,y])}])[0],E=!!(null==(m=(O=g[1]).entry)?void 0:m.isIntersecting),S=(_=(0,o.useState)(E))[0],M=_[1],E&&!S&&M(!0),[w,c({},O,{isVisible:E,wasEverVisible:S})]),A=H[0],L=H[1],z=L.rootRef,D=L.isVisible,I=!C&&!R&&D&&j;return(0,o.useEffect)(function(){if(I){var e=setTimeout(function(){x()},k);return function(){clearTimeout(e)}}},[x,I,k]),[A,{rootRef:z}]}},69921:function(e,t){var n=Symbol.for("react.element"),r=Symbol.for("react.portal"),o=Symbol.for("react.fragment"),i=Symbol.for("react.strict_mode"),u=Symbol.for("react.profiler"),c=Symbol.for("react.provider"),a=Symbol.for("react.context"),s=Symbol.for("react.server_context"),l=Symbol.for("react.forward_ref"),f=Symbol.for("react.suspense"),h=Symbol.for("react.suspense_list"),d=Symbol.for("react.memo"),v=Symbol.for("react.lazy");function p(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case n:switch(e=e.type){case o:case u:case i:case f:case h:return e;default:switch(e=e&&e.$$typeof){case s:case a:case l:case v:case d:case c:return e;default:return t}}case r:return t}}}Symbol.for("react.offscreen"),Symbol.for("react.module.reference"),t.isFragment=function(e){return p(e)===o},t.isMemo=function(e){return p(e)===d}},59864:function(e,t,n){e.exports=n(69921)}}]);