4 Star 1 Fork 0

antv-g2/antv-g2

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
2795.9d01deb6.async.js 158.98 KB
一键复制 编辑 原始数据 按行查看 历史
AntV 提交于 2024-01-16 09:55 . update by release action
(self.webpackChunk=self.webpackChunk||[]).push([[2795],{8751:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(1413),o=n(62435),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M699 353h-46.9c-10.2 0-19.9 4.9-25.9 13.3L469 584.3l-71.2-98.8c-6-8.3-15.6-13.3-25.9-13.3H325c-6.5 0-10.3 7.4-6.5 12.7l124.6 172.8a31.8 31.8 0 0051.7 0l210.6-292c3.9-5.3.1-12.7-6.4-12.7z"}},{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}}]},name:"check-circle",theme:"outlined"},a=n(84089),c=function(e,t){return o.createElement(a.Z,(0,r.Z)((0,r.Z)({},e),{},{ref:t,icon:i}))};c.displayName="CheckCircleOutlined";var s=o.forwardRef(c)},18429:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(1413),o=n(62435),i={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64c247.4 0 448 200.6 448 448S759.4 960 512 960 64 759.4 64 512 264.6 64 512 64zm0 76c-205.4 0-372 166.6-372 372s166.6 372 372 372 372-166.6 372-372-166.6-372-372-372zm128.01 198.83c.03 0 .05.01.09.06l45.02 45.01a.2.2 0 01.05.09.12.12 0 010 .07c0 .02-.01.04-.05.08L557.25 512l127.87 127.86a.27.27 0 01.05.06v.02a.12.12 0 010 .07c0 .03-.01.05-.05.09l-45.02 45.02a.2.2 0 01-.09.05.12.12 0 01-.07 0c-.02 0-.04-.01-.08-.05L512 557.25 384.14 685.12c-.04.04-.06.05-.08.05a.12.12 0 01-.07 0c-.03 0-.05-.01-.09-.05l-45.02-45.02a.2.2 0 01-.05-.09.12.12 0 010-.07c0-.02.01-.04.06-.08L466.75 512 338.88 384.14a.27.27 0 01-.05-.06l-.01-.02a.12.12 0 010-.07c0-.03.01-.05.05-.09l45.02-45.02a.2.2 0 01.09-.05.12.12 0 01.07 0c.02 0 .04.01.08.06L512 466.75l127.86-127.86c.04-.05.06-.06.08-.06a.12.12 0 01.07 0z"}}]},name:"close-circle",theme:"outlined"},a=n(84089),c=function(e,t){return o.createElement(a.Z,(0,r.Z)((0,r.Z)({},e),{},{ref:t,icon:i}))};c.displayName="CloseCircleOutlined";var s=o.forwardRef(c)},97937:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(1413),o=n(62435),i={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M799.86 166.31c.02 0 .04.02.08.06l57.69 57.7c.04.03.05.05.06.08a.12.12 0 010 .06c0 .03-.02.05-.06.09L569.93 512l287.7 287.7c.04.04.05.06.06.09a.12.12 0 010 .07c0 .02-.02.04-.06.08l-57.7 57.69c-.03.04-.05.05-.07.06a.12.12 0 01-.07 0c-.03 0-.05-.02-.09-.06L512 569.93l-287.7 287.7c-.04.04-.06.05-.09.06a.12.12 0 01-.07 0c-.02 0-.04-.02-.08-.06l-57.69-57.7c-.04-.03-.05-.05-.06-.07a.12.12 0 010-.07c0-.03.02-.05.06-.09L454.07 512l-287.7-287.7c-.04-.04-.05-.06-.06-.09a.12.12 0 010-.07c0-.02.02-.04.06-.08l57.7-57.69c.03-.04.05-.05.07-.06a.12.12 0 01.07 0c.03 0 .05.02.09.06L512 454.07l287.7-287.7c.04-.04.06-.05.09-.06a.12.12 0 01.07 0z"}}]},name:"close",theme:"outlined"},a=n(84089),c=function(e,t){return o.createElement(a.Z,(0,r.Z)((0,r.Z)({},e),{},{ref:t,icon:i}))};c.displayName="CloseOutlined";var s=o.forwardRef(c)},11475:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(1413),o=n(62435),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M464 688a48 48 0 1096 0 48 48 0 10-96 0zm24-112h48c4.4 0 8-3.6 8-8V296c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8z"}}]},name:"exclamation-circle",theme:"outlined"},a=n(84089),c=function(e,t){return o.createElement(a.Z,(0,r.Z)((0,r.Z)({},e),{},{ref:t,icon:i}))};c.displayName="ExclamationCircleOutlined";var s=o.forwardRef(c)},1210:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(1413),o=n(62435),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M511.6 76.3C264.3 76.2 64 276.4 64 523.5 64 718.9 189.3 885 363.8 946c23.5 5.9 19.9-10.8 19.9-22.2v-77.5c-135.7 15.9-141.2-73.9-150.3-88.9C215 726 171.5 718 184.5 703c30.9-15.9 62.4 4 98.9 57.9 26.4 39.1 77.9 32.5 104 26 5.7-23.5 17.9-44.5 34.7-60.8-140.6-25.2-199.2-111-199.2-213 0-49.5 16.3-95 48.3-131.7-20.4-60.5 1.9-112.3 4.9-120 58.1-5.2 118.5 41.6 123.2 45.3 33-8.9 70.7-13.6 112.9-13.6 42.4 0 80.2 4.9 113.5 13.9 11.3-8.6 67.3-48.8 121.3-43.9 2.9 7.7 24.7 58.3 5.5 118 32.4 36.8 48.9 82.7 48.9 132.3 0 102.2-59 188.1-200 212.9a127.5 127.5 0 0138.1 91v112.5c.8 9 0 17.9 15 17.9 177.1-59.7 304.6-227 304.6-424.1 0-247.2-200.4-447.3-447.5-447.3z"}}]},name:"github",theme:"outlined"},a=n(84089),c=function(e,t){return o.createElement(a.Z,(0,r.Z)((0,r.Z)({},e),{},{ref:t,icon:i}))};c.displayName="GithubOutlined";var s=o.forwardRef(c)},78860:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(1413),o=n(62435),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm32 664c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V456c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v272zm-32-344a48.01 48.01 0 010-96 48.01 48.01 0 010 96z"}}]},name:"info-circle",theme:"filled"},a=n(84089),c=function(e,t){return o.createElement(a.Z,(0,r.Z)((0,r.Z)({},e),{},{ref:t,icon:i}))};c.displayName="InfoCircleFilled";var s=o.forwardRef(c)},45605:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(1413),o=n(62435),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M464 336a48 48 0 1096 0 48 48 0 10-96 0zm72 112h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V456c0-4.4-3.6-8-8-8z"}}]},name:"info-circle",theme:"outlined"},a=n(84089),c=function(e,t){return o.createElement(a.Z,(0,r.Z)((0,r.Z)({},e),{},{ref:t,icon:i}))};c.displayName="InfoCircleOutlined";var s=o.forwardRef(c)},68795:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(1413),o=n(62435),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M909.6 854.5L649.9 594.8C690.2 542.7 712 479 712 412c0-80.2-31.3-155.4-87.9-212.1-56.6-56.7-132-87.9-212.1-87.9s-155.5 31.3-212.1 87.9C143.2 256.5 112 331.8 112 412c0 80.1 31.3 155.5 87.9 212.1C256.5 680.8 331.8 712 412 712c67 0 130.6-21.8 182.7-62l259.7 259.6a8.2 8.2 0 0011.6 0l43.6-43.5a8.2 8.2 0 000-11.6zM570.4 570.4C528 612.7 471.8 636 412 636s-116-23.3-158.4-65.6C211.3 528 188 471.8 188 412s23.3-116.1 65.6-158.4C296 211.3 352.2 188 412 188s116.1 23.2 158.4 65.6S636 352.2 636 412s-23.3 116.1-65.6 158.4z"}}]},name:"search",theme:"outlined"},a=n(84089),c=function(e,t){return o.createElement(a.Z,(0,r.Z)((0,r.Z)({},e),{},{ref:t,icon:i}))};c.displayName="SearchOutlined";var s=o.forwardRef(c)},34121:function(e,t,n){"use strict";n.d(t,{h:function(){return Zo}});var r=n(62435),o=n(113),i=n(96974),a=n(93967),c=n.n(a),s=n(85956),l=n(1413),u={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M904 160H120c-4.4 0-8 3.6-8 8v64c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-64c0-4.4-3.6-8-8-8zm0 624H120c-4.4 0-8 3.6-8 8v64c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-64c0-4.4-3.6-8-8-8zm0-312H120c-4.4 0-8 3.6-8 8v64c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-64c0-4.4-3.6-8-8-8z"}}]},name:"menu",theme:"outlined"},f=n(84089),p=function(e,t){return r.createElement(f.Z,(0,l.Z)((0,l.Z)({},e),{},{ref:t,icon:u}))};p.displayName="MenuOutlined";var m=r.forwardRef(p),h={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M574 665.4a8.03 8.03 0 00-11.3 0L446.5 781.6c-53.8 53.8-144.6 59.5-204 0-59.5-59.5-53.8-150.2 0-204l116.2-116.2c3.1-3.1 3.1-8.2 0-11.3l-39.8-39.8a8.03 8.03 0 00-11.3 0L191.4 526.5c-84.6 84.6-84.6 221.5 0 306s221.5 84.6 306 0l116.2-116.2c3.1-3.1 3.1-8.2 0-11.3L574 665.4zm258.6-474c-84.6-84.6-221.5-84.6-306 0L410.3 307.6a8.03 8.03 0 000 11.3l39.7 39.7c3.1 3.1 8.2 3.1 11.3 0l116.2-116.2c53.8-53.8 144.6-59.5 204 0 59.5 59.5 53.8 150.2 0 204L665.3 562.6a8.03 8.03 0 000 11.3l39.8 39.8c3.1 3.1 8.2 3.1 11.3 0l116.2-116.2c84.5-84.6 84.5-221.5 0-306.1zM610.1 372.3a8.03 8.03 0 00-11.3 0L372.3 598.7a8.03 8.03 0 000 11.3l39.6 39.6c3.1 3.1 8.2 3.1 11.3 0l226.4-226.4c3.1-3.1 3.1-8.2 0-11.3l-39.5-39.6z"}}]},name:"link",theme:"outlined"},d=function(e,t){return r.createElement(f.Z,(0,l.Z)((0,l.Z)({},e),{},{ref:t,icon:h}))};d.displayName="LinkOutlined";var v=r.forwardRef(d),g=n(80882),E={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z"}}]},name:"caret-down",theme:"filled"},y=function(e,t){return r.createElement(f.Z,(0,l.Z)((0,l.Z)({},e),{},{ref:t,icon:E}))};y.displayName="CaretDownFilled";var b=r.forwardRef(y),w=n(63606),C={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M690.1 377.4c5.9 0 11.8.2 17.6.5-24.4-128.7-158.3-227.1-319.9-227.1C209 150.8 64 271.4 64 420.2c0 81.1 43.6 154.2 111.9 203.6a21.5 21.5 0 019.1 17.6c0 2.4-.5 4.6-1.1 6.9-5.5 20.3-14.2 52.8-14.6 54.3-.7 2.6-1.7 5.2-1.7 7.9 0 5.9 4.8 10.8 10.8 10.8 2.3 0 4.2-.9 6.2-2l70.9-40.9c5.3-3.1 11-5 17.2-5 3.2 0 6.4.5 9.5 1.4 33.1 9.5 68.8 14.8 105.7 14.8 6 0 11.9-.1 17.8-.4-7.1-21-10.9-43.1-10.9-66 0-135.8 132.2-245.8 295.3-245.8zm-194.3-86.5c23.8 0 43.2 19.3 43.2 43.1s-19.3 43.1-43.2 43.1c-23.8 0-43.2-19.3-43.2-43.1s19.4-43.1 43.2-43.1zm-215.9 86.2c-23.8 0-43.2-19.3-43.2-43.1s19.3-43.1 43.2-43.1 43.2 19.3 43.2 43.1-19.4 43.1-43.2 43.1zm586.8 415.6c56.9-41.2 93.2-102 93.2-169.7 0-124-120.8-224.5-269.9-224.5-149 0-269.9 100.5-269.9 224.5S540.9 847.5 690 847.5c30.8 0 60.6-4.4 88.1-12.3 2.6-.8 5.2-1.2 7.9-1.2 5.2 0 9.9 1.6 14.3 4.1l59.1 34c1.7 1 3.3 1.7 5.2 1.7a9 9 0 006.4-2.6 9 9 0 002.6-6.4c0-2.2-.9-4.4-1.4-6.6-.3-1.2-7.6-28.3-12.2-45.3-.5-1.9-.9-3.8-.9-5.7.1-5.9 3.1-11.2 7.6-14.5zM600.2 587.2c-19.9 0-36-16.1-36-35.9 0-19.8 16.1-35.9 36-35.9s36 16.1 36 35.9c0 19.8-16.2 35.9-36 35.9zm179.9 0c-19.9 0-36-16.1-36-35.9 0-19.8 16.1-35.9 36-35.9s36 16.1 36 35.9a36.08 36.08 0 01-36 35.9z"}}]},name:"wechat",theme:"outlined"},Z=function(e,t){return r.createElement(f.Z,(0,l.Z)((0,l.Z)({},e),{},{ref:t,icon:C}))};Z.displayName="WechatOutlined";var x=r.forwardRef(Z),N=n(1210),S=n(13013),I=n(90980),O=n(10808),R=n(71577),A=n(74902),P=n(87462),k=n(8751),T=n(18429),M=n(11475),L=n(45605),j=n(38135),$=n(6385),_=n(4942),D=n(97685),F=n(30470),H=n(6134);function V(e){return!(!e||!e.then)}var z=function(e){var t=r.useRef(!1),n=r.useRef(null),o=(0,F.Z)(!1),i=(0,D.Z)(o,2),a=i[0],c=i[1],s=e.close,l=function(){null==s||s.apply(void 0,arguments)};r.useEffect((function(){var t=null;return e.autoFocus&&(t=setTimeout((function(){var e;null===(e=n.current)||void 0===e||e.focus()}))),function(){t&&clearTimeout(t)}}),[]);var u=e.type,f=e.children,p=e.prefixCls,m=e.buttonProps;return r.createElement(R.Z,(0,P.Z)({},(0,H.n)(u),{onClick:function(n){var r=e.actionFn;if(!t.current)if(t.current=!0,r){var o;if(e.emitEvent){if(o=r(n),e.quitOnNullishReturnValue&&!V(o))return t.current=!1,void l(n)}else if(r.length)o=r(s),t.current=!1;else if(!(o=r()))return void l();!function(e){V(e)&&(c(!0),e.then((function(){c(!1,!0),l.apply(void 0,arguments),t.current=!1}),(function(e){return c(!1,!0),t.current=!1,Promise.reject(e)})))}(o)}else l()},loading:a,prefixCls:p},m,{ref:n}),f)},U=n(33603),G=n(97937),B=n(2788),W=n(15105),X=n(7028),K=n(94999),Y=n(64217),q=n(82225);function Q(e){var t=e.prefixCls,n=e.style,o=e.visible,i=e.maskProps,a=e.motionName;return r.createElement(q.ZP,{key:"mask",visible:o,motionName:a,leavedClassName:"".concat(t,"-mask-hidden")},(function(e,o){var a=e.className,s=e.style;return r.createElement("div",(0,P.Z)({ref:o,style:(0,l.Z)((0,l.Z)({},s),n),className:c()("".concat(t,"-mask"),a)},i))}))}function J(e,t,n){var r=t;return!r&&n&&(r="".concat(e,"-").concat(n)),r}function ee(e,t){var n=e["page".concat(t?"Y":"X","Offset")],r="scroll".concat(t?"Top":"Left");if("number"!=typeof n){var o=e.document;"number"!=typeof(n=o.documentElement[r])&&(n=o.body[r])}return n}var te=r.memo((function(e){return e.children}),(function(e,t){return!t.shouldUpdate})),ne={width:0,height:0,overflow:"hidden",outline:"none"};var re=r.forwardRef((function(e,t){var n=e.prefixCls,o=e.className,i=e.style,a=e.title,s=e.ariaId,u=e.footer,f=e.closable,p=e.closeIcon,m=e.onClose,h=e.children,d=e.bodyStyle,v=e.bodyProps,g=e.modalRender,E=e.onMouseDown,y=e.onMouseUp,b=e.holderRef,w=e.visible,C=e.forceRender,Z=e.width,x=e.height,N=(0,r.useRef)(),S=(0,r.useRef)();r.useImperativeHandle(t,(function(){return{focus:function(){var e;null===(e=N.current)||void 0===e||e.focus()},changeActive:function(e){var t=document.activeElement;e&&t===S.current?N.current.focus():e||t!==N.current||S.current.focus()}}}));var I,O,R,A={};void 0!==Z&&(A.width=Z),void 0!==x&&(A.height=x),u&&(I=r.createElement("div",{className:"".concat(n,"-footer")},u)),a&&(O=r.createElement("div",{className:"".concat(n,"-header")},r.createElement("div",{className:"".concat(n,"-title"),id:s},a))),f&&(R=r.createElement("button",{type:"button",onClick:m,"aria-label":"Close",className:"".concat(n,"-close")},p||r.createElement("span",{className:"".concat(n,"-close-x")})));var k=r.createElement("div",{className:"".concat(n,"-content")},R,O,r.createElement("div",(0,P.Z)({className:"".concat(n,"-body"),style:d},v),h),I);return r.createElement("div",{key:"dialog-element",role:"dialog","aria-labelledby":a?s:null,"aria-modal":"true",ref:b,style:(0,l.Z)((0,l.Z)({},i),A),className:c()(n,o),onMouseDown:E,onMouseUp:y},r.createElement("div",{tabIndex:0,ref:N,style:ne,"aria-hidden":"true"}),r.createElement(te,{shouldUpdate:w||C},g?g(k):k),r.createElement("div",{tabIndex:0,ref:S,style:ne,"aria-hidden":"true"}))})),oe=r.forwardRef((function(e,t){var n=e.prefixCls,o=e.title,i=e.style,a=e.className,s=e.visible,u=e.forceRender,f=e.destroyOnClose,p=e.motionName,m=e.ariaId,h=e.onVisibleChanged,d=e.mousePosition,v=(0,r.useRef)(),g=r.useState(),E=(0,D.Z)(g,2),y=E[0],b=E[1],w={};function C(){var e,t,n,r,o,i=(e=v.current,t=e.getBoundingClientRect(),n={left:t.left,top:t.top},r=e.ownerDocument,o=r.defaultView||r.parentWindow,n.left+=ee(o),n.top+=ee(o,!0),n);b(d?"".concat(d.x-i.left,"px ").concat(d.y-i.top,"px"):"")}return y&&(w.transformOrigin=y),r.createElement(q.ZP,{visible:s,onVisibleChanged:h,onAppearPrepare:C,onEnterPrepare:C,forceRender:u,motionName:p,removeOnLeave:f,ref:v},(function(s,u){var f=s.className,p=s.style;return r.createElement(re,(0,P.Z)({},e,{ref:t,title:o,ariaId:m,prefixCls:n,holderRef:u,style:(0,l.Z)((0,l.Z)((0,l.Z)({},p),i),w),className:c()(a,f)}))}))}));oe.displayName="Content";var ie=oe;function ae(e){var t=e.prefixCls,n=void 0===t?"rc-dialog":t,o=e.zIndex,i=e.visible,a=void 0!==i&&i,s=e.keyboard,u=void 0===s||s,f=e.focusTriggerAfterClose,p=void 0===f||f,m=e.wrapStyle,h=e.wrapClassName,d=e.wrapProps,v=e.onClose,g=e.afterClose,E=e.transitionName,y=e.animation,b=e.closable,w=void 0===b||b,C=e.mask,Z=void 0===C||C,x=e.maskTransitionName,N=e.maskAnimation,S=e.maskClosable,I=void 0===S||S,O=e.maskStyle,R=e.maskProps,A=e.rootClassName,k=(0,r.useRef)(),T=(0,r.useRef)(),M=(0,r.useRef)(),L=r.useState(a),j=(0,D.Z)(L,2),$=j[0],_=j[1],F=(0,X.Z)();function H(e){null==v||v(e)}var V=(0,r.useRef)(!1),z=(0,r.useRef)(),U=null;return I&&(U=function(e){V.current?V.current=!1:T.current===e.target&&H(e)}),(0,r.useEffect)((function(){a&&(_(!0),(0,K.Z)(T.current,document.activeElement)||(k.current=document.activeElement))}),[a]),(0,r.useEffect)((function(){return function(){clearTimeout(z.current)}}),[]),r.createElement("div",(0,P.Z)({className:c()("".concat(n,"-root"),A)},(0,Y.Z)(e,{data:!0})),r.createElement(Q,{prefixCls:n,visible:Z&&a,motionName:J(n,x,N),style:(0,l.Z)({zIndex:o},O),maskProps:R}),r.createElement("div",(0,P.Z)({tabIndex:-1,onKeyDown:function(e){if(u&&e.keyCode===W.Z.ESC)return e.stopPropagation(),void H(e);a&&e.keyCode===W.Z.TAB&&M.current.changeActive(!e.shiftKey)},className:c()("".concat(n,"-wrap"),h),ref:T,onClick:U,style:(0,l.Z)((0,l.Z)({zIndex:o},m),{},{display:$?null:"none"})},d),r.createElement(ie,(0,P.Z)({},e,{onMouseDown:function(){clearTimeout(z.current),V.current=!0},onMouseUp:function(){z.current=setTimeout((function(){V.current=!1}))},ref:M,closable:w,ariaId:F,prefixCls:n,visible:a&&$,onClose:H,onVisibleChanged:function(e){if(e)(0,K.Z)(T.current,document.activeElement)||null===(t=M.current)||void 0===t||t.focus();else{if(_(!1),Z&&k.current&&p){try{k.current.focus({preventScroll:!0})}catch(e){}k.current=null}$&&(null==g||g())}var t},motionName:J(n,E,y)}))))}var ce=function(e){var t=e.visible,n=e.getContainer,o=e.forceRender,i=e.destroyOnClose,a=void 0!==i&&i,c=e.afterClose,s=r.useState(t),l=(0,D.Z)(s,2),u=l[0],f=l[1];return r.useEffect((function(){t&&f(!0)}),[t]),o||!a||u?r.createElement(B.Z,{open:t||o||u,autoDestroy:!1,getContainer:n,autoLock:t||u},r.createElement(ae,(0,P.Z)({},e,{destroyOnClose:a,afterClose:function(){null==c||c(),f(!1)}}))):null};ce.displayName="Dialog";var se,le=ce,ue=n(53124),fe=n(52706),pe=n(23715),me=n(4173),he=n(31808),de=n(83008),ve=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n};(0,he.jD)()&&document.documentElement.addEventListener("click",(function(e){se={x:e.pageX,y:e.pageY},setTimeout((function(){se=null}),100)}),!0);var ge=function(e){var t,n=r.useContext(ue.E_),o=n.getPopupContainer,i=n.getPrefixCls,a=n.direction,s=function(t){var n=e.onCancel;null==n||n(t)},l=function(t){var n=e.onOk;null==n||n(t)},u=e.prefixCls,f=e.footer,p=e.visible,m=e.open,h=void 0!==m&&m,d=e.wrapClassName,v=e.centered,g=e.getContainer,E=e.closeIcon,y=e.focusTriggerAfterClose,b=void 0===y||y,w=e.width,C=void 0===w?520:w,Z=ve(e,["prefixCls","footer","visible","open","wrapClassName","centered","getContainer","closeIcon","focusTriggerAfterClose","width"]),x=i("modal",u),N=i(),S=r.createElement(pe.Z,{componentName:"Modal",defaultLocale:(0,de.A)()},(function(t){var n=e.okText,o=e.okType,i=void 0===o?"primary":o,a=e.cancelText,c=e.confirmLoading,u=void 0!==c&&c;return r.createElement(r.Fragment,null,r.createElement(R.Z,(0,P.Z)({onClick:s},e.cancelButtonProps),a||t.cancelText),r.createElement(R.Z,(0,P.Z)({},(0,H.n)(i),{loading:u,onClick:l},e.okButtonProps),null!=n?n:t.okText))})),I=r.createElement("span",{className:"".concat(x,"-close-x")},E||r.createElement(G.Z,{className:"".concat(x,"-close-icon")})),O=c()(d,(0,_.Z)((0,_.Z)({},"".concat(x,"-centered"),!!v),"".concat(x,"-wrap-rtl"),"rtl"===a));return r.createElement(me.BR,null,r.createElement(fe.Ux,{status:!0,override:!0},r.createElement(le,(0,P.Z)({width:C},Z,{getContainer:void 0===g?o:g,prefixCls:x,wrapClassName:O,footer:void 0===f?S:f,visible:h||p,mousePosition:null!==(t=Z.mousePosition)&&void 0!==t?t:se,onClose:s,closeIcon:I,focusTriggerAfterClose:b,transitionName:(0,U.mL)(N,"zoom",e.transitionName),maskTransitionName:(0,U.mL)(N,"fade",e.maskTransitionName)}))))},Ee=function(e){var t=e.icon,n=e.onCancel,o=e.onOk,i=e.close,a=e.zIndex,s=e.afterClose,l=e.visible,u=e.open,f=e.keyboard,p=e.centered,m=e.getContainer,h=e.maskStyle,d=e.okText,v=e.okButtonProps,g=e.cancelText,E=e.cancelButtonProps,y=e.direction,b=e.prefixCls,w=e.wrapClassName,C=e.rootPrefixCls,Z=e.iconPrefixCls,x=e.bodyStyle,N=e.closable,S=void 0!==N&&N,I=e.closeIcon,O=e.modalRender,R=e.focusTriggerAfterClose;var A=e.okType||"primary",P="".concat(b,"-confirm"),k=!("okCancel"in e)||e.okCancel,T=e.width||416,M=e.style||{},L=void 0===e.mask||e.mask,j=void 0!==e.maskClosable&&e.maskClosable,D=null!==e.autoFocusButton&&(e.autoFocusButton||"ok"),F=c()(P,"".concat(P,"-").concat(e.type),(0,_.Z)({},"".concat(P,"-rtl"),"rtl"===y),e.className),H=k&&r.createElement(z,{actionFn:n,close:i,autoFocus:"cancel"===D,buttonProps:E,prefixCls:"".concat(C,"-btn")},g);return r.createElement($.ZP,{prefixCls:C,iconPrefixCls:Z,direction:y},r.createElement(ge,{prefixCls:b,className:F,wrapClassName:c()((0,_.Z)({},"".concat(P,"-centered"),!!e.centered),w),onCancel:function(){return null==i?void 0:i({triggerCancel:!0})},open:u||l,title:"",footer:"",transitionName:(0,U.mL)(C,"zoom",e.transitionName),maskTransitionName:(0,U.mL)(C,"fade",e.maskTransitionName),mask:L,maskClosable:j,maskStyle:h,style:M,bodyStyle:x,width:T,zIndex:a,afterClose:s,keyboard:f,centered:p,getContainer:m,closable:S,closeIcon:I,modalRender:O,focusTriggerAfterClose:R},r.createElement("div",{className:"".concat(P,"-body-wrapper")},r.createElement("div",{className:"".concat(P,"-body")},t,void 0===e.title?null:r.createElement("span",{className:"".concat(P,"-title")},e.title),r.createElement("div",{className:"".concat(P,"-content")},e.content)),r.createElement("div",{className:"".concat(P,"-btns")},H,r.createElement(z,{type:A,actionFn:o,close:i,autoFocus:"ok"===D,buttonProps:v,prefixCls:"".concat(C,"-btn")},d)))))},ye=[],be=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n},we="";function Ce(e){var t,n=document.createDocumentFragment(),o=(0,P.Z)((0,P.Z)({},e),{close:c,open:!0});function i(){for(var t=arguments.length,r=new Array(t),o=0;o<t;o++)r[o]=arguments[o];var i=r.some((function(e){return e&&e.triggerCancel}));e.onCancel&&i&&e.onCancel.apply(e,[function(){}].concat((0,A.Z)(r.slice(1))));for(var a=0;a<ye.length;a++){var s=ye[a];if(s===c){ye.splice(a,1);break}}(0,j.v)(n)}function a(e){var o=e.okText,i=e.cancelText,a=e.prefixCls,c=be(e,["okText","cancelText","prefixCls"]);clearTimeout(t),t=setTimeout((function(){var e=(0,de.A)(),t=(0,$.w6)(),s=t.getPrefixCls,l=t.getIconPrefixCls,u=s(void 0,we),f=a||"".concat(u,"-modal"),p=l();(0,j.s)(r.createElement(Ee,(0,P.Z)({},c,{prefixCls:f,rootPrefixCls:u,iconPrefixCls:p,okText:o||(c.okCancel?e.okText:e.justOkText),cancelText:i||e.cancelText})),n)}))}function c(){for(var t=this,n=arguments.length,r=new Array(n),c=0;c<n;c++)r[c]=arguments[c];(o=(0,P.Z)((0,P.Z)({},o),{open:!1,afterClose:function(){"function"==typeof e.afterClose&&e.afterClose(),i.apply(t,r)}})).visible&&delete o.visible,a(o)}return a(o),ye.push(c),{destroy:c,update:function(e){a(o="function"==typeof e?e(o):(0,P.Z)((0,P.Z)({},o),e))}}}function Ze(e){return(0,P.Z)((0,P.Z)({icon:r.createElement(M.Z,null),okCancel:!1},e),{type:"warning"})}function xe(e){return(0,P.Z)((0,P.Z)({icon:r.createElement(L.Z,null),okCancel:!1},e),{type:"info"})}function Ne(e){return(0,P.Z)((0,P.Z)({icon:r.createElement(k.Z,null),okCancel:!1},e),{type:"success"})}function Se(e){return(0,P.Z)((0,P.Z)({icon:r.createElement(T.Z,null),okCancel:!1},e),{type:"error"})}function Ie(e){return(0,P.Z)((0,P.Z)({icon:r.createElement(M.Z,null),okCancel:!0},e),{type:"confirm"})}var Oe=n(67630),Re=function(e,t){var n=e.afterClose,o=e.config,i=r.useState(!0),a=(0,D.Z)(i,2),c=a[0],s=a[1],l=r.useState(o),u=(0,D.Z)(l,2),f=u[0],p=u[1],m=r.useContext(ue.E_),h=m.direction,d=m.getPrefixCls,v=d("modal"),g=d(),E=function(){s(!1);for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=t.some((function(e){return e&&e.triggerCancel}));f.onCancel&&r&&f.onCancel.apply(f,[function(){}].concat((0,A.Z)(t.slice(1))))};return r.useImperativeHandle(t,(function(){return{destroy:E,update:function(e){p((function(t){return(0,P.Z)((0,P.Z)({},t),e)}))}}})),r.createElement(pe.Z,{componentName:"Modal",defaultLocale:Oe.Z.Modal},(function(e){return r.createElement(Ee,(0,P.Z)({prefixCls:v,rootPrefixCls:g},f,{close:E,open:c,afterClose:n,okText:f.okText||(f.okCancel?e.okText:e.justOkText),direction:h,cancelText:f.cancelText||e.cancelText}))}))},Ae=r.forwardRef(Re),Pe=0,ke=r.memo(r.forwardRef((function(e,t){var n=function(){var e=r.useState([]),t=(0,D.Z)(e,2),n=t[0],o=t[1];return[n,r.useCallback((function(e){return o((function(t){return[].concat((0,A.Z)(t),[e])})),function(){o((function(t){return t.filter((function(t){return t!==e}))}))}}),[])]}(),o=(0,D.Z)(n,2),i=o[0],a=o[1];return r.useImperativeHandle(t,(function(){return{patchElement:a}}),[]),r.createElement(r.Fragment,null,i)})));function Te(e){return Ce(Ze(e))}var Me=ge;Me.useModal=function(){var e=r.useRef(null),t=r.useState([]),n=(0,D.Z)(t,2),o=n[0],i=n[1];r.useEffect((function(){o.length&&((0,A.Z)(o).forEach((function(e){e()})),i([]))}),[o]);var a=r.useCallback((function(t){return function(n){var o;Pe+=1;var a,c=r.createRef(),s=r.createElement(Ae,{key:"modal-".concat(Pe),config:t(n),ref:c,afterClose:function(){null==a||a()}});return a=null===(o=e.current)||void 0===o?void 0:o.patchElement(s),{destroy:function(){function e(){var e;null===(e=c.current)||void 0===e||e.destroy()}c.current?e():i((function(t){return[].concat((0,A.Z)(t),[e])}))},update:function(e){function t(){var t;null===(t=c.current)||void 0===t||t.update(e)}c.current?t():i((function(e){return[].concat((0,A.Z)(e),[t])}))}}}}),[]);return[r.useMemo((function(){return{info:a(xe),success:a(Ne),error:a(Se),warning:a(Ze),confirm:a(Ie)}}),[]),r.createElement(ke,{ref:e})]},Me.info=function(e){return Ce(xe(e))},Me.success=function(e){return Ce(Ne(e))},Me.error=function(e){return Ce(Se(e))},Me.warning=Te,Me.warn=Te,Me.confirm=function(e){return Ce(Ie(e))},Me.destroyAll=function(){for(;ye.length;){var e=ye.pop();e&&e()}},Me.config=function(e){var t=e.rootPrefixCls;we=t};var Le=Me,je=n(91),$e=n(71002),_e=n(21770),De=n(80334),Fe=n(8410),He=n(31131),Ve=n(42550),ze=r.createContext(null);function Ue(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:250,t=r.useRef(null),n=r.useRef(null);function o(r){(r||null===t.current)&&(t.current=r),window.clearTimeout(n.current),n.current=window.setTimeout((function(){t.current=null}),e)}return r.useEffect((function(){return function(){window.clearTimeout(n.current)}}),[]),[function(){return t.current},o]}var Ge=n(39983),Be=function(e){var t,n=e.className,o=e.customizeIcon,i=e.customizeIconProps,a=e.onMouseDown,s=e.onClick,l=e.children;return t="function"==typeof o?o(i):o,r.createElement("span",{className:n,onMouseDown:function(e){e.preventDefault(),a&&a(e)},style:{userSelect:"none",WebkitUserSelect:"none"},unselectable:"on",onClick:s,"aria-hidden":!0},void 0!==t?t:r.createElement("span",{className:c()(n.split(/\s+/).map((function(e){return"".concat(e,"-icon")})))},l))},We=function(e,t){var n,o,i=e.prefixCls,a=e.id,s=e.inputElement,u=e.disabled,f=e.tabIndex,p=e.autoFocus,m=e.autoComplete,h=e.editable,d=e.activeDescendantId,v=e.value,g=e.maxLength,E=e.onKeyDown,y=e.onMouseDown,b=e.onChange,w=e.onPaste,C=e.onCompositionStart,Z=e.onCompositionEnd,x=e.open,N=e.attrs,S=s||r.createElement("input",null),I=S,O=I.ref,R=I.props,A=R.onKeyDown,P=R.onChange,k=R.onMouseDown,T=R.onCompositionStart,M=R.onCompositionEnd,L=R.style;return(0,De.Kp)(!("maxLength"in S.props),"Passing 'maxLength' to input element directly may not work because input in BaseSelect is controlled."),S=r.cloneElement(S,(0,l.Z)((0,l.Z)((0,l.Z)({type:"search"},R),{},{id:a,ref:(0,Ve.sQ)(t,O),disabled:u,tabIndex:f,autoComplete:m||"off",autoFocus:p,className:c()("".concat(i,"-selection-search-input"),null===(n=S)||void 0===n||null===(o=n.props)||void 0===o?void 0:o.className),role:"combobox","aria-expanded":x,"aria-haspopup":"listbox","aria-owns":"".concat(a,"_list"),"aria-autocomplete":"list","aria-controls":"".concat(a,"_list"),"aria-activedescendant":d},N),{},{value:h?v:"",maxLength:g,readOnly:!h,unselectable:h?null:"on",style:(0,l.Z)((0,l.Z)({},L),{},{opacity:h?null:0}),onKeyDown:function(e){E(e),A&&A(e)},onMouseDown:function(e){y(e),k&&k(e)},onChange:function(e){b(e),P&&P(e)},onCompositionStart:function(e){C(e),T&&T(e)},onCompositionEnd:function(e){Z(e),M&&M(e)},onPaste:w}))},Xe=r.forwardRef(We);Xe.displayName="Input";var Ke=Xe;function Ye(e){return Array.isArray(e)?e:void 0!==e?[e]:[]}var qe="undefined"!=typeof window&&window.document&&window.document.documentElement;function Qe(e){return["string","number"].includes((0,$e.Z)(e))}function Je(e){var t=void 0;return e&&(Qe(e.title)?t=e.title.toString():Qe(e.label)&&(t=e.label.toString())),t}function et(e){var t;return null!==(t=e.key)&&void 0!==t?t:e.value}var tt=function(e){e.preventDefault(),e.stopPropagation()},nt=function(e){var t,n,o=e.id,i=e.prefixCls,a=e.values,s=e.open,l=e.searchValue,u=e.autoClearSearchValue,f=e.inputRef,p=e.placeholder,m=e.disabled,h=e.mode,d=e.showSearch,v=e.autoFocus,g=e.autoComplete,E=e.activeDescendantId,y=e.tabIndex,b=e.removeIcon,w=e.maxTagCount,C=e.maxTagTextLength,Z=e.maxTagPlaceholder,x=void 0===Z?function(e){return"+ ".concat(e.length," ...")}:Z,N=e.tagRender,S=e.onToggleOpen,I=e.onRemove,O=e.onInputChange,R=e.onInputPaste,A=e.onInputKeyDown,P=e.onInputMouseDown,k=e.onInputCompositionStart,T=e.onInputCompositionEnd,M=r.useRef(null),L=(0,r.useState)(0),j=(0,D.Z)(L,2),$=j[0],F=j[1],H=(0,r.useState)(!1),V=(0,D.Z)(H,2),z=V[0],U=V[1],G="".concat(i,"-selection"),B=s||"multiple"===h&&!1===u||"tags"===h?l:"",W="tags"===h||"multiple"===h&&!1===u||d&&(s||z);function X(e,t,n,o,i){return r.createElement("span",{className:c()("".concat(G,"-item"),(0,_.Z)({},"".concat(G,"-item-disabled"),n)),title:Je(e)},r.createElement("span",{className:"".concat(G,"-item-content")},t),o&&r.createElement(Be,{className:"".concat(G,"-item-remove"),onMouseDown:tt,onClick:i,customizeIcon:b},"×"))}t=function(){F(M.current.scrollWidth)},n=[B],qe?r.useLayoutEffect(t,n):r.useEffect(t,n);var K=r.createElement("div",{className:"".concat(G,"-search"),style:{width:$},onFocus:function(){U(!0)},onBlur:function(){U(!1)}},r.createElement(Ke,{ref:f,open:s,prefixCls:i,id:o,inputElement:null,disabled:m,autoFocus:v,autoComplete:g,editable:W,activeDescendantId:E,value:B,onKeyDown:A,onMouseDown:P,onChange:O,onPaste:R,onCompositionStart:k,onCompositionEnd:T,tabIndex:y,attrs:(0,Y.Z)(e,!0)}),r.createElement("span",{ref:M,className:"".concat(G,"-search-mirror"),"aria-hidden":!0},B," ")),q=r.createElement(Ge.Z,{prefixCls:"".concat(G,"-overflow"),data:a,renderItem:function(e){var t=e.disabled,n=e.label,o=e.value,i=!m&&!t,a=n;if("number"==typeof C&&("string"==typeof n||"number"==typeof n)){var c=String(a);c.length>C&&(a="".concat(c.slice(0,C),"..."))}var l=function(t){t&&t.stopPropagation(),I(e)};return"function"==typeof N?function(e,t,n,o,i){return r.createElement("span",{onMouseDown:function(e){tt(e),S(!s)}},N({label:t,value:e,disabled:n,closable:o,onClose:i}))}(o,a,t,i,l):X(e,a,t,i,l)},renderRest:function(e){var t="function"==typeof x?x(e):x;return X({title:t},t,!1)},suffix:K,itemKey:et,maxCount:w});return r.createElement(r.Fragment,null,q,!a.length&&!B&&r.createElement("span",{className:"".concat(G,"-placeholder")},p))},rt=function(e){var t=e.inputElement,n=e.prefixCls,o=e.id,i=e.inputRef,a=e.disabled,c=e.autoFocus,s=e.autoComplete,l=e.activeDescendantId,u=e.mode,f=e.open,p=e.values,m=e.placeholder,h=e.tabIndex,d=e.showSearch,v=e.searchValue,g=e.activeValue,E=e.maxLength,y=e.onInputKeyDown,b=e.onInputMouseDown,w=e.onInputChange,C=e.onInputPaste,Z=e.onInputCompositionStart,x=e.onInputCompositionEnd,N=r.useState(!1),S=(0,D.Z)(N,2),I=S[0],O=S[1],R="combobox"===u,A=R||d,P=p[0],k=v||"";R&&g&&!I&&(k=g),r.useEffect((function(){R&&O(!1)}),[R,g]);var T=!("combobox"!==u&&!f&&!d)&&!!k,M=Je(P);return r.createElement(r.Fragment,null,r.createElement("span",{className:"".concat(n,"-selection-search")},r.createElement(Ke,{ref:i,prefixCls:n,id:o,open:f,inputElement:t,disabled:a,autoFocus:c,autoComplete:s,editable:A,activeDescendantId:l,value:k,onKeyDown:y,onMouseDown:b,onChange:function(e){O(!0),w(e)},onPaste:C,onCompositionStart:Z,onCompositionEnd:x,tabIndex:h,attrs:(0,Y.Z)(e,!0),maxLength:R?E:void 0})),!R&&P?r.createElement("span",{className:"".concat(n,"-selection-item"),title:M,style:T?{visibility:"hidden"}:void 0},P.label):null,function(){if(P)return null;var e=T?{visibility:"hidden"}:void 0;return r.createElement("span",{className:"".concat(n,"-selection-placeholder"),style:e},m)}())};var ot=function(e,t){var n=(0,r.useRef)(null),o=(0,r.useRef)(!1),i=e.prefixCls,a=e.open,c=e.mode,s=e.showSearch,l=e.tokenWithEnter,u=e.autoClearSearchValue,f=e.onSearch,p=e.onSearchSubmit,m=e.onToggleOpen,h=e.onInputKeyDown,d=e.domRef;r.useImperativeHandle(t,(function(){return{focus:function(){n.current.focus()},blur:function(){n.current.blur()}}}));var v=Ue(0),g=(0,D.Z)(v,2),E=g[0],y=g[1],b=(0,r.useRef)(null),w=function(e){!1!==f(e,!0,o.current)&&m(!0)},C={inputRef:n,onInputKeyDown:function(e){var t,n=e.which;n!==W.Z.UP&&n!==W.Z.DOWN||e.preventDefault(),h&&h(e),n!==W.Z.ENTER||"tags"!==c||o.current||a||null==p||p(e.target.value),t=n,[W.Z.ESC,W.Z.SHIFT,W.Z.BACKSPACE,W.Z.TAB,W.Z.WIN_KEY,W.Z.ALT,W.Z.META,W.Z.WIN_KEY_RIGHT,W.Z.CTRL,W.Z.SEMICOLON,W.Z.EQUALS,W.Z.CAPS_LOCK,W.Z.CONTEXT_MENU,W.Z.F1,W.Z.F2,W.Z.F3,W.Z.F4,W.Z.F5,W.Z.F6,W.Z.F7,W.Z.F8,W.Z.F9,W.Z.F10,W.Z.F11,W.Z.F12].includes(t)||m(!0)},onInputMouseDown:function(){y(!0)},onInputChange:function(e){var t=e.target.value;if(l&&b.current&&/[\r\n]/.test(b.current)){var n=b.current.replace(/[\r\n]+$/,"").replace(/\r\n/g," ").replace(/[\r\n]/g," ");t=t.replace(n,b.current)}b.current=null,w(t)},onInputPaste:function(e){var t=e.clipboardData.getData("text");b.current=t},onInputCompositionStart:function(){o.current=!0},onInputCompositionEnd:function(e){o.current=!1,"combobox"!==c&&w(e.target.value)}},Z="multiple"===c||"tags"===c?r.createElement(nt,(0,P.Z)({},e,C)):r.createElement(rt,(0,P.Z)({},e,C));return r.createElement("div",{ref:d,className:"".concat(i,"-selector"),onClick:function(e){e.target!==n.current&&(void 0!==document.body.style.msTouchAction?setTimeout((function(){n.current.focus()})):n.current.focus())},onMouseDown:function(e){var t=E();e.target===n.current||t||"combobox"===c||e.preventDefault(),("combobox"===c||s&&t)&&a||(a&&!1!==u&&f("",!0,!1),m())}},Z)},it=r.forwardRef(ot);it.displayName="Selector";var at=it,ct=n(51169),st=["prefixCls","disabled","visible","children","popupElement","containerWidth","animation","transitionName","dropdownStyle","dropdownClassName","direction","placement","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","getPopupContainer","empty","getTriggerDOMNode","onPopupVisibleChange","onPopupMouseEnter"],lt=function(e,t){var n=e.prefixCls,o=(e.disabled,e.visible),i=e.children,a=e.popupElement,s=e.containerWidth,u=e.animation,f=e.transitionName,p=e.dropdownStyle,m=e.dropdownClassName,h=e.direction,d=void 0===h?"ltr":h,v=e.placement,g=e.dropdownMatchSelectWidth,E=e.dropdownRender,y=e.dropdownAlign,b=e.getPopupContainer,w=e.empty,C=e.getTriggerDOMNode,Z=e.onPopupVisibleChange,x=e.onPopupMouseEnter,N=(0,je.Z)(e,st),S="".concat(n,"-dropdown"),I=a;E&&(I=E(a));var O=r.useMemo((function(){return function(e){var t=!0===e?0:1;return{bottomLeft:{points:["tl","bl"],offset:[0,4],overflow:{adjustX:t,adjustY:1}},bottomRight:{points:["tr","br"],offset:[0,4],overflow:{adjustX:t,adjustY:1}},topLeft:{points:["bl","tl"],offset:[0,-4],overflow:{adjustX:t,adjustY:1}},topRight:{points:["br","tr"],offset:[0,-4],overflow:{adjustX:t,adjustY:1}}}}(g)}),[g]),R=u?"".concat(S,"-").concat(u):f,A=r.useRef(null);r.useImperativeHandle(t,(function(){return{getPopupElement:function(){return A.current}}}));var k=(0,l.Z)({minWidth:s},p);return"number"==typeof g?k.width=g:g&&(k.width=s),r.createElement(ct.Z,(0,P.Z)({},N,{showAction:Z?["click"]:[],hideAction:Z?["click"]:[],popupPlacement:v||("rtl"===d?"bottomRight":"bottomLeft"),builtinPlacements:O,prefixCls:S,popupTransitionName:R,popup:r.createElement("div",{ref:A,onMouseEnter:x},I),popupAlign:y,popupVisible:o,getPopupContainer:b,popupClassName:c()(m,(0,_.Z)({},"".concat(S,"-empty"),w)),popupStyle:k,getTriggerDOMNode:C,onPopupVisibleChange:Z}),i)},ut=r.forwardRef(lt);ut.displayName="SelectTrigger";var ft=ut,pt=n(84506);function mt(e,t){var n,r=e.key;return"value"in e&&(n=e.value),null!=r?r:void 0!==n?n:"rc-index-key-".concat(t)}function ht(e,t){var n=e||{};return{label:n.label||(t?"children":"label"),value:n.value||"value",options:n.options||"options"}}function dt(e){var t=(0,l.Z)({},e);return"props"in t||Object.defineProperty(t,"props",{get:function(){return(0,De.ZP)(!1,"Return type is option instead of Option instance. Please read value directly instead of reading from `props`."),t}}),t}var vt=["id","prefixCls","className","showSearch","tagRender","direction","omitDomProps","displayValues","onDisplayValuesChange","emptyOptions","notFoundContent","onClear","mode","disabled","loading","getInputElement","getRawInputElement","open","defaultOpen","onDropdownVisibleChange","activeValue","onActiveValueChange","activeDescendantId","searchValue","autoClearSearchValue","onSearch","onSearchSplit","tokenSeparators","allowClear","showArrow","inputIcon","clearIcon","OptionList","animation","transitionName","dropdownStyle","dropdownClassName","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","placement","getPopupContainer","showAction","onFocus","onBlur","onKeyUp","onKeyDown","onMouseDown"],gt=["value","onChange","removeIcon","placeholder","autoFocus","maxTagCount","maxTagTextLength","maxTagPlaceholder","choiceTransitionName","onInputKeyDown","onPopupScroll","tabIndex"];function Et(e){return"tags"===e||"multiple"===e}var yt=r.forwardRef((function(e,t){var n,o,i=e.id,a=e.prefixCls,s=e.className,u=e.showSearch,f=e.tagRender,p=e.direction,m=e.omitDomProps,h=e.displayValues,d=e.onDisplayValuesChange,v=e.emptyOptions,g=e.notFoundContent,E=void 0===g?"Not Found":g,y=e.onClear,b=e.mode,w=e.disabled,C=e.loading,Z=e.getInputElement,x=e.getRawInputElement,N=e.open,S=e.defaultOpen,I=e.onDropdownVisibleChange,O=e.activeValue,R=e.onActiveValueChange,k=e.activeDescendantId,T=e.searchValue,M=e.autoClearSearchValue,L=e.onSearch,j=e.onSearchSplit,$=e.tokenSeparators,F=e.allowClear,H=e.showArrow,V=e.inputIcon,z=e.clearIcon,U=e.OptionList,G=e.animation,B=e.transitionName,X=e.dropdownStyle,K=e.dropdownClassName,Y=e.dropdownMatchSelectWidth,q=e.dropdownRender,Q=e.dropdownAlign,J=e.placement,ee=e.getPopupContainer,te=e.showAction,ne=void 0===te?[]:te,re=e.onFocus,oe=e.onBlur,ie=e.onKeyUp,ae=e.onKeyDown,ce=e.onMouseDown,se=(0,je.Z)(e,vt),le=Et(b),ue=(void 0!==u?u:le)||"combobox"===b,fe=(0,l.Z)({},se);gt.forEach((function(e){delete fe[e]})),null==m||m.forEach((function(e){delete fe[e]}));var pe=r.useState(!1),me=(0,D.Z)(pe,2),he=me[0],de=me[1];r.useEffect((function(){de((0,He.Z)())}),[]);var ve=r.useRef(null),ge=r.useRef(null),Ee=r.useRef(null),ye=r.useRef(null),be=r.useRef(null),we=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:10,t=r.useState(!1),n=(0,D.Z)(t,2),o=n[0],i=n[1],a=r.useRef(null),c=function(){window.clearTimeout(a.current)};return r.useEffect((function(){return c}),[]),[o,function(t,n){c(),a.current=window.setTimeout((function(){i(t),n&&n()}),e)},c]}(),Ce=(0,D.Z)(we,3),Ze=Ce[0],xe=Ce[1],Ne=Ce[2];r.useImperativeHandle(t,(function(){var e,t;return{focus:null===(e=ye.current)||void 0===e?void 0:e.focus,blur:null===(t=ye.current)||void 0===t?void 0:t.blur,scrollTo:function(e){var t;return null===(t=be.current)||void 0===t?void 0:t.scrollTo(e)}}}));var Se=r.useMemo((function(){var e;if("combobox"!==b)return T;var t=null===(e=h[0])||void 0===e?void 0:e.value;return"string"==typeof t||"number"==typeof t?String(t):""}),[T,b,h]),Ie="combobox"===b&&"function"==typeof Z&&Z()||null,Oe="function"==typeof x&&x(),Re=(0,Ve.x1)(ge,null==Oe||null===(n=Oe.props)||void 0===n?void 0:n.ref),Ae=(0,_e.Z)(void 0,{defaultValue:S,value:N}),Pe=(0,D.Z)(Ae,2),ke=Pe[0],Te=Pe[1],Me=ke,Le=!E&&v;(w||Le&&Me&&"combobox"===b)&&(Me=!1);var De=!Le&&Me,Ge=r.useCallback((function(e){var t=void 0!==e?e:!Me;w||(Te(t),Me!==t&&(null==I||I(t)))}),[w,Me,Te,I]),We=r.useMemo((function(){return($||[]).some((function(e){return["\n","\r\n"].includes(e)}))}),[$]),Xe=function(e,t,n){var r=!0,o=e;null==R||R(null);var i=n?null:function(e,t){if(!t||!t.length)return null;var n=!1,r=function e(t,r){var o=(0,pt.Z)(r),i=o[0],a=o.slice(1);if(!i)return[t];var c=t.split(i);return n=n||c.length>1,c.reduce((function(t,n){return[].concat((0,A.Z)(t),(0,A.Z)(e(n,a)))}),[]).filter((function(e){return e}))}(e,t);return n?r:null}(e,$);return"combobox"!==b&&i&&(o="",null==j||j(i),Ge(!1),r=!1),L&&Se!==o&&L(o,{source:t?"typing":"effect"}),r};r.useEffect((function(){Me||le||"combobox"===b||Xe("",!1,!1)}),[Me]),r.useEffect((function(){ke&&w&&Te(!1),w&&xe(!1)}),[w]);var Ke=Ue(),Ye=(0,D.Z)(Ke,2),qe=Ye[0],Qe=Ye[1],Je=r.useRef(!1),et=[];r.useEffect((function(){return function(){et.forEach((function(e){return clearTimeout(e)})),et.splice(0,et.length)}}),[]);var tt,nt=r.useState(null),rt=(0,D.Z)(nt,2),ot=rt[0],it=rt[1],ct=r.useState({}),st=(0,D.Z)(ct,2)[1];(0,Fe.Z)((function(){if(De){var e,t=Math.ceil(null===(e=ve.current)||void 0===e?void 0:e.offsetWidth);ot===t||Number.isNaN(t)||it(t)}}),[De]),Oe&&(tt=function(e){Ge(e)}),function(e,t,n,o){var i=r.useRef(null);i.current={open:t,triggerOpen:n,customizedTrigger:o},r.useEffect((function(){function t(t){var n;if(null===(n=i.current)||void 0===n||!n.customizedTrigger){var r=t.target;r.shadowRoot&&t.composed&&(r=t.composedPath()[0]||r),i.current.open&&e().filter((function(e){return e})).every((function(e){return!e.contains(r)&&e!==r}))&&i.current.triggerOpen(!1)}}return window.addEventListener("mousedown",t),function(){return window.removeEventListener("mousedown",t)}}),[])}((function(){var e;return[ve.current,null===(e=Ee.current)||void 0===e?void 0:e.getPopupElement()]}),De,Ge,!!Oe);var lt,ut,mt=r.useMemo((function(){return(0,l.Z)((0,l.Z)({},e),{},{notFoundContent:E,open:Me,triggerOpen:De,id:i,showSearch:ue,multiple:le,toggleOpen:Ge})}),[e,E,De,Me,i,ue,le,Ge]),ht=void 0!==H?H:C||!le&&"combobox"!==b;ht&&(lt=r.createElement(Be,{className:c()("".concat(a,"-arrow"),(0,_.Z)({},"".concat(a,"-arrow-loading"),C)),customizeIcon:V,customizeIconProps:{loading:C,searchValue:Se,open:Me,focused:Ze,showSearch:ue}}));w||!F||!h.length&&!Se||"combobox"===b&&""===Se||(ut=r.createElement(Be,{className:"".concat(a,"-clear"),onMouseDown:function(){var e;null==y||y(),null===(e=ye.current)||void 0===e||e.focus(),d([],{type:"clear",values:h}),Xe("",!1,!1)},customizeIcon:z},"×"));var dt,yt=r.createElement(U,{ref:be}),bt=c()(a,s,(o={},(0,_.Z)(o,"".concat(a,"-focused"),Ze),(0,_.Z)(o,"".concat(a,"-multiple"),le),(0,_.Z)(o,"".concat(a,"-single"),!le),(0,_.Z)(o,"".concat(a,"-allow-clear"),F),(0,_.Z)(o,"".concat(a,"-show-arrow"),ht),(0,_.Z)(o,"".concat(a,"-disabled"),w),(0,_.Z)(o,"".concat(a,"-loading"),C),(0,_.Z)(o,"".concat(a,"-open"),Me),(0,_.Z)(o,"".concat(a,"-customize-input"),Ie),(0,_.Z)(o,"".concat(a,"-show-search"),ue),o)),wt=r.createElement(ft,{ref:Ee,disabled:w,prefixCls:a,visible:De,popupElement:yt,containerWidth:ot,animation:G,transitionName:B,dropdownStyle:X,dropdownClassName:K,direction:p,dropdownMatchSelectWidth:Y,dropdownRender:q,dropdownAlign:Q,placement:J,getPopupContainer:ee,empty:v,getTriggerDOMNode:function(){return ge.current},onPopupVisibleChange:tt,onPopupMouseEnter:function(){st({})}},Oe?r.cloneElement(Oe,{ref:Re}):r.createElement(at,(0,P.Z)({},e,{domRef:ge,prefixCls:a,inputElement:Ie,ref:ye,id:i,showSearch:ue,autoClearSearchValue:M,mode:b,activeDescendantId:k,tagRender:f,values:h,open:Me,onToggleOpen:Ge,activeValue:O,searchValue:Se,onSearch:Xe,onSearchSubmit:function(e){e&&e.trim()&&L(e,{source:"submit"})},onRemove:function(e){var t=h.filter((function(t){return t!==e}));d(t,{type:"remove",values:[e]})},tokenWithEnter:We})));return dt=Oe?wt:r.createElement("div",(0,P.Z)({className:bt},fe,{ref:ve,onMouseDown:function(e){var t,n=e.target,r=null===(t=Ee.current)||void 0===t?void 0:t.getPopupElement();if(r&&r.contains(n)){var o=setTimeout((function(){var e,t=et.indexOf(o);-1!==t&&et.splice(t,1),Ne(),he||r.contains(document.activeElement)||null===(e=ye.current)||void 0===e||e.focus()}));et.push(o)}for(var i=arguments.length,a=new Array(i>1?i-1:0),c=1;c<i;c++)a[c-1]=arguments[c];null==ce||ce.apply(void 0,[e].concat(a))},onKeyDown:function(e){var t,n=qe(),r=e.which;if(r===W.Z.ENTER&&("combobox"!==b&&e.preventDefault(),Me||Ge(!0)),Qe(!!Se),r===W.Z.BACKSPACE&&!n&&le&&!Se&&h.length){for(var o=(0,A.Z)(h),i=null,a=o.length-1;a>=0;a-=1){var c=o[a];if(!c.disabled){o.splice(a,1),i=c;break}}i&&d(o,{type:"remove",values:[i]})}for(var s=arguments.length,l=new Array(s>1?s-1:0),u=1;u<s;u++)l[u-1]=arguments[u];Me&&be.current&&(t=be.current).onKeyDown.apply(t,[e].concat(l)),null==ae||ae.apply(void 0,[e].concat(l))},onKeyUp:function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];var o;Me&&be.current&&(o=be.current).onKeyUp.apply(o,[e].concat(n)),null==ie||ie.apply(void 0,[e].concat(n))},onFocus:function(){xe(!0),w||(re&&!Je.current&&re.apply(void 0,arguments),ne.includes("focus")&&Ge(!0)),Je.current=!0},onBlur:function(){xe(!1,(function(){Je.current=!1,Ge(!1)})),w||(Se&&("tags"===b?L(Se,{source:"submit"}):"multiple"===b&&L("",{source:"blur"})),oe&&oe.apply(void 0,arguments))}}),Ze&&!Me&&r.createElement("span",{style:{width:0,height:0,position:"absolute",overflow:"hidden",opacity:0},"aria-live":"polite"},"".concat(h.map((function(e){var t=e.label,n=e.value;return["number","string"].includes((0,$e.Z)(t))?t:n})).join(", "))),wt,lt,ut),r.createElement(ze.Provider,{value:mt},dt)}));var bt=yt;function wt(e,t){return Ye(e).join("").toUpperCase().includes(t)}var Ct=n(98924),Zt=0,xt=(0,Ct.Z)();function Nt(e){var t=r.useState(),n=(0,D.Z)(t,2),o=n[0],i=n[1];return r.useEffect((function(){var e;i("rc_select_".concat((xt?(e=Zt,Zt+=1):e="TEST_OR_SSR",e)))}),[]),e||o}var St=n(50344),It=["children","value"],Ot=["children"];function Rt(e){var t=e,n=t.key,r=t.props,o=r.children,i=r.value,a=(0,je.Z)(r,It);return(0,l.Z)({key:n,value:void 0!==i?i:n,children:o},a)}function At(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return(0,St.Z)(e).map((function(e,n){if(!r.isValidElement(e)||!e.type)return null;var o=e,i=o.type.isSelectOptGroup,a=o.key,c=o.props,s=c.children,u=(0,je.Z)(c,Ot);return t||!i?Rt(e):(0,l.Z)((0,l.Z)({key:"__RC_SELECT_GRP__".concat(null===a?n:a,"__"),label:a},u),{},{options:At(s)})})).filter((function(e){return e}))}function Pt(e,t,n,o,i){return r.useMemo((function(){var r=e;!e&&(r=At(t));var a=new Map,c=new Map,s=function(e,t,n){n&&"string"==typeof n&&e.set(t[n],t)};return function e(t){for(var r=arguments.length>1&&void 0!==arguments[1]&&arguments[1],l=0;l<t.length;l+=1){var u=t[l];!u[n.options]||r?(a.set(u[n.value],u),s(c,u,n.label),s(c,u,o),s(c,u,i)):e(u[n.options],!0)}}(r),{options:r,valueOptions:a,labelOptions:c}}),[e,t,n,o,i])}function kt(e){var t=r.useRef();t.current=e;var n=r.useCallback((function(){return t.current.apply(t,arguments)}),[]);return n}var Tt=function(){return null};Tt.isSelectOptGroup=!0;var Mt=Tt,Lt=function(){return null};Lt.isSelectOption=!0;var jt=Lt,$t=n(98423),_t=n(56982),Dt=n(51764);var Ft=r.createContext(null),Ht=["disabled","title","children","style","className"];function Vt(e){return"string"==typeof e||"number"==typeof e}var zt=function(e,t){var n=r.useContext(ze),o=n.prefixCls,i=n.id,a=n.open,s=n.multiple,l=n.mode,u=n.searchValue,f=n.toggleOpen,p=n.notFoundContent,m=n.onPopupScroll,h=r.useContext(Ft),d=h.flattenOptions,v=h.onActiveValue,g=h.defaultActiveFirstOption,E=h.onSelect,y=h.menuItemSelectedIcon,b=h.rawValues,w=h.fieldNames,C=h.virtual,Z=h.listHeight,x=h.listItemHeight,N="".concat(o,"-item"),S=(0,_t.Z)((function(){return d}),[a,d],(function(e,t){return t[0]&&e[1]!==t[1]})),I=r.useRef(null),O=function(e){e.preventDefault()},R=function(e){I.current&&I.current.scrollTo("number"==typeof e?{index:e}:e)},k=function(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,n=S.length,r=0;r<n;r+=1){var o=(e+r*t+n)%n,i=S[o],a=i.group,c=i.data;if(!a&&!c.disabled)return o}return-1},T=r.useState((function(){return k(0)})),M=(0,D.Z)(T,2),L=M[0],j=M[1],$=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];j(e);var n={source:t?"keyboard":"mouse"},r=S[e];r?v(r.value,e,n):v(null,-1,n)};(0,r.useEffect)((function(){$(!1!==g?k(0):-1)}),[S.length,u]);var F=r.useCallback((function(e){return b.has(e)&&"combobox"!==l}),[l,(0,A.Z)(b).toString(),b.size]);(0,r.useEffect)((function(){var e,t=setTimeout((function(){if(!s&&a&&1===b.size){var e=Array.from(b)[0],t=S.findIndex((function(t){return t.data.value===e}));-1!==t&&($(t),R(t))}}));a&&(null===(e=I.current)||void 0===e||e.scrollTo(void 0));return function(){return clearTimeout(t)}}),[a,u]);var H=function(e){void 0!==e&&E(e,{selected:!b.has(e)}),s||f(!1)};if(r.useImperativeHandle(t,(function(){return{onKeyDown:function(e){var t=e.which,n=e.ctrlKey;switch(t){case W.Z.N:case W.Z.P:case W.Z.UP:case W.Z.DOWN:var r=0;if(t===W.Z.UP?r=-1:t===W.Z.DOWN?r=1:/(mac\sos|macintosh)/i.test(navigator.appVersion)&&n&&(t===W.Z.N?r=1:t===W.Z.P&&(r=-1)),0!==r){var o=k(L+r,r);R(o),$(o,!0)}break;case W.Z.ENTER:var i=S[L];i&&!i.data.disabled?H(i.value):H(void 0),a&&e.preventDefault();break;case W.Z.ESC:f(!1),a&&e.stopPropagation()}},onKeyUp:function(){},scrollTo:function(e){R(e)}}})),0===S.length)return r.createElement("div",{role:"listbox",id:"".concat(i,"_list"),className:"".concat(N,"-empty"),onMouseDown:O},p);var V=Object.keys(w).map((function(e){return w[e]})),z=function(e){return e.label},U=function(e){var t=S[e];if(!t)return null;var n=t.data||{},o=n.value,a=t.group,c=(0,Y.Z)(n,!0),s=z(t);return t?r.createElement("div",(0,P.Z)({"aria-label":"string"!=typeof s||a?null:s},c,{key:e,role:a?"presentation":"option",id:"".concat(i,"_list_").concat(e),"aria-selected":F(o)}),o):null};return r.createElement(r.Fragment,null,r.createElement("div",{role:"listbox",id:"".concat(i,"_list"),style:{height:0,width:0,overflow:"hidden"}},U(L-1),U(L),U(L+1)),r.createElement(Dt.Z,{itemKey:"key",ref:I,data:S,height:Z,itemHeight:x,fullHeight:!1,onMouseDown:O,onScroll:m,virtual:C},(function(e,t){var n,o=e.group,i=e.groupOption,a=e.data,s=e.label,l=e.value,u=a.key;if(o){var f,p=null!==(f=a.title)&&void 0!==f?f:Vt(s)?s.toString():void 0;return r.createElement("div",{className:c()(N,"".concat(N,"-group")),title:p},void 0!==s?s:u)}var m=a.disabled,h=a.title,d=(a.children,a.style),v=a.className,g=(0,je.Z)(a,Ht),E=(0,$t.Z)(g,V),b=F(l),w="".concat(N,"-option"),C=c()(N,w,v,(n={},(0,_.Z)(n,"".concat(w,"-grouped"),i),(0,_.Z)(n,"".concat(w,"-active"),L===t&&!m),(0,_.Z)(n,"".concat(w,"-disabled"),m),(0,_.Z)(n,"".concat(w,"-selected"),b),n)),Z=z(e),x=!y||"function"==typeof y||b,S="number"==typeof Z?Z:Z||l,I=Vt(S)?S.toString():void 0;return void 0!==h&&(I=h),r.createElement("div",(0,P.Z)({},(0,Y.Z)(E),{"aria-selected":b,className:C,title:I,onMouseMove:function(){L===t||m||$(t)},onClick:function(){m||H(l)},style:d}),r.createElement("div",{className:"".concat(w,"-content")},S),r.isValidElement(y)||b,x&&r.createElement(Be,{className:"".concat(N,"-option-state"),customizeIcon:y,customizeIconProps:{isSelected:b}},b?"":null))})))},Ut=r.forwardRef(zt);Ut.displayName="OptionList";var Gt=Ut;var Bt=["id","mode","prefixCls","backfill","fieldNames","inputValue","searchValue","onSearch","autoClearSearchValue","onSelect","onDeselect","dropdownMatchSelectWidth","filterOption","filterSort","optionFilterProp","optionLabelProp","options","children","defaultActiveFirstOption","menuItemSelectedIcon","virtual","listHeight","listItemHeight","value","defaultValue","labelInValue","onChange"],Wt=["inputValue"];var Xt=r.forwardRef((function(e,t){var n=e.id,o=e.mode,i=e.prefixCls,a=void 0===i?"rc-select":i,c=e.backfill,s=e.fieldNames,u=e.inputValue,f=e.searchValue,p=e.onSearch,m=e.autoClearSearchValue,h=void 0===m||m,d=e.onSelect,v=e.onDeselect,g=e.dropdownMatchSelectWidth,E=void 0===g||g,y=e.filterOption,b=e.filterSort,w=e.optionFilterProp,C=e.optionLabelProp,Z=e.options,x=e.children,N=e.defaultActiveFirstOption,S=e.menuItemSelectedIcon,I=e.virtual,O=e.listHeight,R=void 0===O?200:O,k=e.listItemHeight,T=void 0===k?20:k,M=e.value,L=e.defaultValue,j=e.labelInValue,$=e.onChange,F=(0,je.Z)(e,Bt),H=Nt(n),V=Et(o),z=!(Z||!x),U=r.useMemo((function(){return(void 0!==y||"combobox"!==o)&&y}),[y,o]),G=r.useMemo((function(){return ht(s,z)}),[JSON.stringify(s),z]),B=(0,_e.Z)("",{value:void 0!==f?f:u,postState:function(e){return e||""}}),W=(0,D.Z)(B,2),X=W[0],K=W[1],Y=Pt(Z,x,G,w,C),q=Y.valueOptions,Q=Y.labelOptions,J=Y.options,ee=r.useCallback((function(e){return Ye(e).map((function(e){var t,n,r,o,i,a;(function(e){return!e||"object"!==(0,$e.Z)(e)})(e)?t=e:(r=e.key,n=e.label,t=null!==(a=e.value)&&void 0!==a?a:r);var c,s=q.get(t);s&&(void 0===n&&(n=null==s?void 0:s[C||G.label]),void 0===r&&(r=null!==(c=null==s?void 0:s.key)&&void 0!==c?c:t),o=null==s?void 0:s.disabled,i=null==s?void 0:s.title);return{label:n,value:t,key:r,disabled:o,title:i}}))}),[G,C,q]),te=(0,_e.Z)(L,{value:M}),ne=(0,D.Z)(te,2),re=ne[0],oe=ne[1],ie=function(e,t){var n=r.useRef({values:new Map,options:new Map});return[r.useMemo((function(){var r=n.current,o=r.values,i=r.options,a=e.map((function(e){var t;return void 0===e.label?(0,l.Z)((0,l.Z)({},e),{},{label:null===(t=o.get(e.value))||void 0===t?void 0:t.label}):e})),c=new Map,s=new Map;return a.forEach((function(e){c.set(e.value,e),s.set(e.value,t.get(e.value)||i.get(e.value))})),n.current.values=c,n.current.options=s,a}),[e,t]),r.useCallback((function(e){return t.get(e)||n.current.options.get(e)}),[t])]}(r.useMemo((function(){var e,t=ee(re);return"combobox"!==o||null!==(e=t[0])&&void 0!==e&&e.value?t:[]}),[re,ee,o]),q),ae=(0,D.Z)(ie,2),ce=ae[0],se=ae[1],le=r.useMemo((function(){if(!o&&1===ce.length){var e=ce[0];if(null===e.value&&(null===e.label||void 0===e.label))return[]}return ce.map((function(e){var t;return(0,l.Z)((0,l.Z)({},e),{},{label:null!==(t=e.label)&&void 0!==t?t:e.value})}))}),[o,ce]),ue=r.useMemo((function(){return new Set(ce.map((function(e){return e.value})))}),[ce]);r.useEffect((function(){if("combobox"===o){var e,t=null===(e=ce[0])||void 0===e?void 0:e.value;K(function(e){return null!=e}(t)?String(t):"")}}),[ce]);var fe=kt((function(e,t){var n,r=null!=t?t:e;return n={},(0,_.Z)(n,G.value,e),(0,_.Z)(n,G.label,r),n})),pe=function(e,t,n,o,i){return r.useMemo((function(){if(!n||!1===o)return e;var r=t.options,a=t.label,c=t.value,s=[],u="function"==typeof o,f=n.toUpperCase(),p=u?o:function(e,t){return i?wt(t[i],f):t[r]?wt(t["children"!==a?a:"label"],f):wt(t[c],f)},m=u?function(e){return dt(e)}:function(e){return e};return e.forEach((function(e){if(e[r])if(p(n,m(e)))s.push(e);else{var t=e[r].filter((function(e){return p(n,m(e))}));t.length&&s.push((0,l.Z)((0,l.Z)({},e),{},(0,_.Z)({},r,t)))}else p(n,m(e))&&s.push(e)})),s}),[e,o,i,n,t])}(r.useMemo((function(){if("tags"!==o)return J;var e=(0,A.Z)(J);return(0,A.Z)(ce).sort((function(e,t){return e.value<t.value?-1:1})).forEach((function(t){var n=t.value;(function(e){return q.has(e)})(n)||e.push(fe(n,t.label))})),e}),[fe,J,q,ce,o]),G,X,U,w),me=r.useMemo((function(){return"tags"!==o||!X||pe.some((function(e){return e[w||"value"]===X}))?pe:[fe(X)].concat((0,A.Z)(pe))}),[fe,w,o,pe,X]),he=r.useMemo((function(){return b?(0,A.Z)(me).sort((function(e,t){return b(e,t)})):me}),[me,b]),de=r.useMemo((function(){return function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.fieldNames,r=t.childrenAsData,o=[],i=ht(n,!1),a=i.label,c=i.value,s=i.options;function l(e,t){e.forEach((function(e){var n=e[a];if(t||!(s in e)){var i=e[c];o.push({key:mt(e,o.length),groupOption:t,data:e,label:n,value:i})}else{var u=n;void 0===u&&r&&(u=e.label),o.push({key:mt(e,o.length),group:!0,data:e,label:u}),l(e[s],!0)}}))}return l(e,!1),o}(he,{fieldNames:G,childrenAsData:z})}),[he,G,z]),ve=function(e){var t=ee(e);if(oe(t),$&&(t.length!==ce.length||t.some((function(e,t){var n;return(null===(n=ce[t])||void 0===n?void 0:n.value)!==(null==e?void 0:e.value)})))){var n=j?t:t.map((function(e){return e.value})),r=t.map((function(e){return dt(se(e.value))}));$(V?n:n[0],V?r:r[0])}},ge=r.useState(null),Ee=(0,D.Z)(ge,2),ye=Ee[0],be=Ee[1],we=r.useState(0),Ce=(0,D.Z)(we,2),Ze=Ce[0],xe=Ce[1],Ne=void 0!==N?N:"combobox"!==o,Se=r.useCallback((function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=n.source,i=void 0===r?"keyboard":r;xe(t),c&&"combobox"===o&&null!==e&&"keyboard"===i&&be(String(e))}),[c,o]),Ie=function(e,t,n){var r=function(){var t,n=se(e);return[j?{label:null==n?void 0:n[G.label],value:e,key:null!==(t=null==n?void 0:n.key)&&void 0!==t?t:e}:e,dt(n)]};if(t&&d){var o=r(),i=(0,D.Z)(o,2),a=i[0],c=i[1];d(a,c)}else if(!t&&v&&"clear"!==n){var s=r(),l=(0,D.Z)(s,2),u=l[0],f=l[1];v(u,f)}},Oe=kt((function(e,t){var n,r=!V||t.selected;n=r?V?[].concat((0,A.Z)(ce),[e]):[e]:ce.filter((function(t){return t.value!==e})),ve(n),Ie(e,r),"combobox"===o?be(""):Et&&!h||(K(""),be(""))})),Re=r.useMemo((function(){var e=!1!==I&&!1!==E;return(0,l.Z)((0,l.Z)({},Y),{},{flattenOptions:de,onActiveValue:Se,defaultActiveFirstOption:Ne,onSelect:Oe,menuItemSelectedIcon:S,rawValues:ue,fieldNames:G,virtual:e,listHeight:R,listItemHeight:T,childrenAsData:z})}),[Y,de,Se,Ne,Oe,S,ue,G,I,E,R,T,z]);return r.createElement(Ft.Provider,{value:Re},r.createElement(bt,(0,P.Z)({},F,{id:H,prefixCls:a,ref:t,omitDomProps:Wt,mode:o,displayValues:le,onDisplayValuesChange:function(e,t){ve(e);var n=t.type,r=t.values;"remove"!==n&&"clear"!==n||r.forEach((function(e){Ie(e.value,!1,n)}))},searchValue:X,onSearch:function(e,t){if(K(e),be(null),"submit"!==t.source)"blur"!==t.source&&("combobox"===o&&ve(e),null==p||p(e));else{var n=(e||"").trim();if(n){var r=Array.from(new Set([].concat((0,A.Z)(ue),[n])));ve(r),Ie(n,!0),K("")}}},autoClearSearchValue:h,onSearchSplit:function(e){var t=e;"tags"!==o&&(t=e.map((function(e){var t=Q.get(e);return null==t?void 0:t.value})).filter((function(e){return void 0!==e})));var n=Array.from(new Set([].concat((0,A.Z)(ue),(0,A.Z)(t))));ve(n),n.forEach((function(e){Ie(e,!0)}))},dropdownMatchSelectWidth:E,OptionList:Gt,emptyOptions:!de.length,activeValue:ye,activeDescendantId:"".concat(H,"_list_").concat(Ze)})))}));var Kt=Xt;Kt.Option=jt,Kt.OptGroup=Mt;var Yt=Kt,qt=function(){var e=(0,r.useContext(ue.E_).getPrefixCls)("empty-img-default");return r.createElement("svg",{className:e,width:"184",height:"152",viewBox:"0 0 184 152",xmlns:"http://www.w3.org/2000/svg"},r.createElement("g",{fill:"none",fillRule:"evenodd"},r.createElement("g",{transform:"translate(24 31.67)"},r.createElement("ellipse",{className:"".concat(e,"-ellipse"),cx:"67.797",cy:"106.89",rx:"67.797",ry:"12.668"}),r.createElement("path",{className:"".concat(e,"-path-1"),d:"M122.034 69.674L98.109 40.229c-1.148-1.386-2.826-2.225-4.593-2.225h-51.44c-1.766 0-3.444.839-4.592 2.225L13.56 69.674v15.383h108.475V69.674z"}),r.createElement("path",{className:"".concat(e,"-path-2"),d:"M101.537 86.214L80.63 61.102c-1.001-1.207-2.507-1.867-4.048-1.867H31.724c-1.54 0-3.047.66-4.048 1.867L6.769 86.214v13.792h94.768V86.214z",transform:"translate(13.56)"}),r.createElement("path",{className:"".concat(e,"-path-3"),d:"M33.83 0h67.933a4 4 0 0 1 4 4v93.344a4 4 0 0 1-4 4H33.83a4 4 0 0 1-4-4V4a4 4 0 0 1 4-4z"}),r.createElement("path",{className:"".concat(e,"-path-4"),d:"M42.678 9.953h50.237a2 2 0 0 1 2 2V36.91a2 2 0 0 1-2 2H42.678a2 2 0 0 1-2-2V11.953a2 2 0 0 1 2-2zM42.94 49.767h49.713a2.262 2.262 0 1 1 0 4.524H42.94a2.262 2.262 0 0 1 0-4.524zM42.94 61.53h49.713a2.262 2.262 0 1 1 0 4.525H42.94a2.262 2.262 0 0 1 0-4.525zM121.813 105.032c-.775 3.071-3.497 5.36-6.735 5.36H20.515c-3.238 0-5.96-2.29-6.734-5.36a7.309 7.309 0 0 1-.222-1.79V69.675h26.318c2.907 0 5.25 2.448 5.25 5.42v.04c0 2.971 2.37 5.37 5.277 5.37h34.785c2.907 0 5.277-2.421 5.277-5.393V75.1c0-2.972 2.343-5.426 5.25-5.426h26.318v33.569c0 .617-.077 1.216-.221 1.789z"})),r.createElement("path",{className:"".concat(e,"-path-5"),d:"M149.121 33.292l-6.83 2.65a1 1 0 0 1-1.317-1.23l1.937-6.207c-2.589-2.944-4.109-6.534-4.109-10.408C138.802 8.102 148.92 0 161.402 0 173.881 0 184 8.102 184 18.097c0 9.995-10.118 18.097-22.599 18.097-4.528 0-8.744-1.066-12.28-2.902z"}),r.createElement("g",{className:"".concat(e,"-g"),transform:"translate(149.65 15.383)"},r.createElement("ellipse",{cx:"20.654",cy:"3.167",rx:"2.849",ry:"2.815"}),r.createElement("path",{d:"M5.698 5.63H0L2.898.704zM9.259.704h4.985V5.63H9.259z"}))))},Qt=function(){var e=(0,r.useContext(ue.E_).getPrefixCls)("empty-img-simple");return r.createElement("svg",{className:e,width:"64",height:"41",viewBox:"0 0 64 41",xmlns:"http://www.w3.org/2000/svg"},r.createElement("g",{transform:"translate(0 1)",fill:"none",fillRule:"evenodd"},r.createElement("ellipse",{className:"".concat(e,"-ellipse"),cx:"32",cy:"33",rx:"32",ry:"7"}),r.createElement("g",{className:"".concat(e,"-g"),fillRule:"nonzero"},r.createElement("path",{d:"M55 12.76L44.854 1.258C44.367.474 43.656 0 42.907 0H21.093c-.749 0-1.46.474-1.947 1.257L9 12.761V22h46v-9.24z"}),r.createElement("path",{d:"M41.613 15.931c0-1.605.994-2.93 2.227-2.931H55v18.137C55 33.26 53.68 35 52.05 35h-40.1C10.32 35 9 33.259 9 31.137V13h11.16c1.233 0 2.227 1.323 2.227 2.928v.022c0 1.605 1.005 2.901 2.237 2.901h14.752c1.232 0 2.237-1.308 2.237-2.913v-.007z",className:"".concat(e,"-path")}))))},Jt=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n},en=r.createElement(qt,null),tn=r.createElement(Qt,null),nn=function(e){var t=e.className,n=e.prefixCls,o=e.image,i=void 0===o?en:o,a=e.description,s=e.children,l=e.imageStyle,u=Jt(e,["className","prefixCls","image","description","children","imageStyle"]),f=r.useContext(ue.E_),p=f.getPrefixCls,m=f.direction;return r.createElement(pe.Z,{componentName:"Empty"},(function(e){var o=p("empty",n),f=void 0!==a?a:e.description,h="string"==typeof f?f:"empty",d=null;return d="string"==typeof i?r.createElement("img",{alt:h,src:i}):i,r.createElement("div",(0,P.Z)({className:c()(o,(0,_.Z)((0,_.Z)({},"".concat(o,"-normal"),i===tn),"".concat(o,"-rtl"),"rtl"===m),t)},u),r.createElement("div",{className:"".concat(o,"-image"),style:l},d),f&&r.createElement("div",{className:"".concat(o,"-description")},f),s&&r.createElement("div",{className:"".concat(o,"-footer")},s))}))};nn.PRESENTED_IMAGE_DEFAULT=en,nn.PRESENTED_IMAGE_SIMPLE=tn;var rn=nn,on=function(e){return r.createElement(ue.C,null,(function(t){var n=(0,t.getPrefixCls)("empty");switch(e){case"Table":case"List":return r.createElement(rn,{image:rn.PRESENTED_IMAGE_SIMPLE});case"Select":case"TreeSelect":case"Cascader":case"Transfer":case"Mentions":return r.createElement(rn,{image:rn.PRESENTED_IMAGE_SIMPLE,className:"".concat(n,"-small")});default:return r.createElement(rn,null)}}))},an=n(98866),cn=n(97647),sn=n(9708),ln=n(4340),un=n(50888),fn=n(68795);var pn=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n},mn="SECRET_COMBOBOX_MODE_DO_NOT_USE",hn=function(e,t){var n,o=e.prefixCls,i=e.bordered,a=void 0===i||i,s=e.className,l=e.getPopupContainer,u=e.dropdownClassName,f=e.popupClassName,p=e.listHeight,m=void 0===p?256:p,h=e.placement,d=e.listItemHeight,v=void 0===d?24:d,E=e.size,y=e.disabled,b=e.notFoundContent,C=e.status,Z=e.showArrow,x=pn(e,["prefixCls","bordered","className","getPopupContainer","dropdownClassName","popupClassName","listHeight","placement","listItemHeight","size","disabled","notFoundContent","status","showArrow"]),N=r.useContext(ue.E_),S=N.getPopupContainer,I=N.getPrefixCls,O=N.renderEmpty,R=N.direction,A=N.virtual,k=N.dropdownMatchSelectWidth,T=r.useContext(cn.Z),M=I("select",o),L=I(),j=(0,me.ri)(M,R),$=j.compactSize,D=j.compactItemClassnames,F=r.useMemo((function(){var e=x.mode;if("combobox"!==e)return e===mn?"combobox":e}),[x.mode]),H="multiple"===F||"tags"===F,V=void 0!==Z?Z:x.loading||!(H||"combobox"===F),z=(0,r.useContext)(fe.aM),B=z.status,W=z.hasFeedback,X=z.isFormItemInput,K=z.feedbackIcon,Y=(0,sn.F)(B,C);n=void 0!==b?b:"combobox"===F?null:(O||on)("Select");var q=function(e){var t=e.suffixIcon,n=e.clearIcon,o=e.menuItemSelectedIcon,i=e.removeIcon,a=e.loading,c=e.multiple,s=e.hasFeedback,l=e.prefixCls,u=e.showArrow,f=e.feedbackIcon,p=null!=n?n:r.createElement(ln.Z,null),m=function(e){return r.createElement(r.Fragment,null,!1!==u&&e,s&&f)},h=null;if(void 0!==t)h=m(t);else if(a)h=m(r.createElement(un.Z,{spin:!0}));else{var d="".concat(l,"-suffix");h=function(e){var t=e.open,n=e.showSearch;return m(t&&n?r.createElement(fn.Z,{className:d}):r.createElement(g.Z,{className:d}))}}return{clearIcon:p,suffixIcon:h,itemIcon:void 0!==o?o:c?r.createElement(w.Z,null):null,removeIcon:void 0!==i?i:r.createElement(G.Z,null)}}((0,P.Z)((0,P.Z)({},x),{multiple:H,hasFeedback:W,feedbackIcon:K,showArrow:V,prefixCls:M})),Q=q.suffixIcon,J=q.itemIcon,ee=q.removeIcon,te=q.clearIcon,ne=(0,$t.Z)(x,["suffixIcon","itemIcon"]),re=c()(f||u,(0,_.Z)({},"".concat(M,"-dropdown-").concat(R),"rtl"===R)),oe=$||E||T,ie=r.useContext(an.Z),ae=null!=y?y:ie,ce=c()((0,_.Z)((0,_.Z)((0,_.Z)((0,_.Z)((0,_.Z)({},"".concat(M,"-lg"),"large"===oe),"".concat(M,"-sm"),"small"===oe),"".concat(M,"-rtl"),"rtl"===R),"".concat(M,"-borderless"),!a),"".concat(M,"-in-form-item"),X),(0,sn.Z)(M,Y,W),D,s);return r.createElement(Yt,(0,P.Z)({ref:t,virtual:A,dropdownMatchSelectWidth:k},ne,{transitionName:(0,U.mL)(L,(0,U.q0)(h),x.transitionName),listHeight:m,listItemHeight:v,mode:F,prefixCls:M,placement:void 0!==h?h:"rtl"===R?"bottomRight":"bottomLeft",direction:R,inputIcon:Q,menuItemSelectedIcon:J,removeIcon:ee,clearIcon:te,notFoundContent:n,className:ce,getPopupContainer:l||S,dropdownClassName:re,showArrow:W||Z,disabled:ae}))},dn=r.forwardRef(hn);dn.SECRET_COMBOBOX_MODE_DO_NOT_USE=mn,dn.Option=jt,dn.OptGroup=Mt;var vn=dn,gn=n(89739),En=n(21640),yn=n(78860),bn=n(5467),wn=n(96159),Cn=n(15671),Zn=n(43144),xn=n(32531),Nn=n(73568),Sn=function(e){(0,xn.Z)(n,e);var t=(0,Nn.Z)(n);function n(){var e;return(0,Cn.Z)(this,n),(e=t.apply(this,arguments)).state={error:void 0,info:{componentStack:""}},e}return(0,Zn.Z)(n,[{key:"componentDidCatch",value:function(e,t){this.setState({error:e,info:t})}},{key:"render",value:function(){var e=this.props,t=e.message,n=e.description,o=e.children,i=this.state,a=i.error,c=i.info,s=c&&c.componentStack?c.componentStack:null,l=void 0===t?(a||"").toString():t,u=void 0===n?s:n;return a?r.createElement(Mn,{type:"error",message:l,description:r.createElement("pre",null,u)}):o}}]),n}(r.Component),In=Sn,On=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n},Rn={success:gn.Z,info:yn.Z,error:ln.Z,warning:En.Z},An={success:k.Z,info:L.Z,error:T.Z,warning:M.Z},Pn=function(e){var t=e.description,n=e.icon,o=e.prefixCls,i=e.type,a=(t?An:Rn)[i]||null;return n?(0,wn.wm)(n,r.createElement("span",{className:"".concat(o,"-icon")},n),(function(){return{className:c()("".concat(o,"-icon"),(0,_.Z)({},n.props.className,n.props.className))}})):r.createElement(a,{className:"".concat(o,"-icon")})},kn=function(e){var t=e.isClosable,n=e.closeText,o=e.prefixCls,i=e.closeIcon,a=e.handleClose;return t?r.createElement("button",{type:"button",onClick:a,className:"".concat(o,"-close-icon"),tabIndex:0},n?r.createElement("span",{className:"".concat(o,"-close-text")},n):i):null},Tn=function(e){var t=e.description,n=e.prefixCls,o=e.message,i=e.banner,a=e.className,s=void 0===a?"":a,l=e.style,u=e.onMouseEnter,f=e.onMouseLeave,p=e.onClick,m=e.afterClose,h=e.showIcon,d=e.closable,v=e.closeText,g=e.closeIcon,E=void 0===g?r.createElement(G.Z,null):g,y=e.action,b=On(e,["description","prefixCls","message","banner","className","style","onMouseEnter","onMouseLeave","onClick","afterClose","showIcon","closable","closeText","closeIcon","action"]),w=r.useState(!1),C=(0,D.Z)(w,2),Z=C[0],x=C[1],N=r.useRef(),S=r.useContext(ue.E_),I=S.getPrefixCls,O=S.direction,R=I("alert",n),A=function(e){var t;x(!0),null===(t=b.onClose)||void 0===t||t.call(b,e)},k=!!v||d,T=function(){var e=b.type;return void 0!==e?e:i?"warning":"info"}(),M=!(!i||void 0!==h)||h,L=c()(R,"".concat(R,"-").concat(T),(0,_.Z)((0,_.Z)((0,_.Z)((0,_.Z)({},"".concat(R,"-with-description"),!!t),"".concat(R,"-no-icon"),!M),"".concat(R,"-banner"),!!i),"".concat(R,"-rtl"),"rtl"===O),s),j=(0,bn.Z)(b);return r.createElement(q.ZP,{visible:!Z,motionName:"".concat(R,"-motion"),motionAppear:!1,motionEnter:!1,onLeaveStart:function(e){return{maxHeight:e.offsetHeight}},onLeaveEnd:m},(function(e){var n=e.className,i=e.style;return r.createElement("div",(0,P.Z)({ref:N,"data-show":!Z,className:c()(L,n),style:(0,P.Z)((0,P.Z)({},l),i),onMouseEnter:u,onMouseLeave:f,onClick:p,role:"alert"},j),M?r.createElement(Pn,{description:t,icon:b.icon,prefixCls:R,type:T}):null,r.createElement("div",{className:"".concat(R,"-content")},o?r.createElement("div",{className:"".concat(R,"-message")},o):null,t?r.createElement("div",{className:"".concat(R,"-description")},t):null),y?r.createElement("div",{className:"".concat(R,"-action")},y):null,r.createElement(kn,{isClosable:!!k,closeText:v,prefixCls:R,closeIcon:E,handleClose:A}))}))};Tn.ErrorBoundary=In;var Mn=Tn,Ln=n(16423),jn=n(31480),$n=n(43836),_n={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M885.2 446.3l-.2-.8-112.2-285.1c-5-16.1-19.9-27.2-36.8-27.2H281.2c-17 0-32.1 11.3-36.9 27.6L139.4 443l-.3.7-.2.8c-1.3 4.9-1.7 9.9-1 14.8-.1 1.6-.2 3.2-.2 4.8V830a60.9 60.9 0 0060.8 60.8h627.2c33.5 0 60.8-27.3 60.9-60.8V464.1c0-1.3 0-2.6-.1-3.7.4-4.9 0-9.6-1.3-14.1zm-295.8-43l-.3 15.7c-.8 44.9-31.8 75.1-77.1 75.1-22.1 0-41.1-7.1-54.8-20.6S436 441.2 435.6 419l-.3-15.7H229.5L309 210h399.2l81.7 193.3H589.4zm-375 76.8h157.3c24.3 57.1 76 90.8 140.4 90.8 33.7 0 65-9.4 90.3-27.2 22.2-15.6 39.5-37.4 50.7-63.6h156.5V814H214.4V480.1z"}}]},name:"inbox",theme:"outlined"},Dn=function(e,t){return r.createElement(f.Z,(0,l.Z)((0,l.Z)({},e),{},{ref:t,icon:_n}))};Dn.displayName="InboxOutlined";var Fn=r.forwardRef(Dn),Hn="prXWImHMo4N5OvpolHTT",Vn="fIDE_ic06YYJ79GJWrZy",zn="cbnV3osA5Ag4iJg5SYgz",Un="emJkSSP8CgzqeI8NhpGa",Gn="p5WA8y9lb_kQ5OQnTyBy",Bn="ZGxcJj9KXegpxSVMyVd7",Wn="POJV54erSM8ryR4BdLbb",Xn="rzLK74JDSPUoTgDf5Ed0",Kn="J8s60t9ILb4s044zYyoK",Yn="BRJ5LJ6DQI03M5SJ0l_U",qn=function(e){return r.createElement(r.Fragment,null,e.map((function(e){return r.createElement("span",{className:"".concat(Xn," ").concat(e.highlighted?Kn:"")},e.text)})))},Qn=function(e){var t=e.results,n=(0,s.YB)();return r.createElement("div",{className:Hn},null!=t&&t.length?t.map((function(e){return r.createElement("div",{className:Vn},r.createElement("div",{className:zn},e.subject),r.createElement("div",{className:Un}),r.createElement("a",{className:Gn,href:e.link},r.createElement("div",{className:Bn},qn(e.tilte)),r.createElement("div",{className:Wn},qn(e.description))))})):r.createElement("div",{className:Yn},r.createElement(Fn,{style:{fontSize:20}}),r.createElement("div",null,n.formatMessage({id:"没有找到查询结果"}))))};var Jn="m3PDXPJ1gU9lCnqhPhiE",er="DCEQY4TpUsqFDpxan0Md",tr="IvYZ9It_UoM9d7WfkZ0H";function nr(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,a,c=[],s=!0,l=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;s=!1}else for(;!(s=(r=i.call(n)).done)&&(c.push(r.value),c.length!==t);s=!0);}catch(e){l=!0,o=e}finally{try{if(!s&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return rr(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return rr(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function rr(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var or=function(){var e=(0,s.YB)(),t=nr((0,r.useState)(!1),2),n=t[0],o=t[1],i=(0,s.OO)(),a=i.keywords,c=i.setKeywords,l=i.result,u=i.loading;(0,r.useEffect)((function(){a&&u||o(!!a)}),[a,u]),(0,r.useEffect)((function(){var e=function(e){var t,n=null===(t=e.target)||void 0===t?void 0:t.className;"string"==typeof n&&n.match(tr)||o(!1)};return window&&window.addEventListener("click",e),function(){window.removeEventListener("click",e)}}),[]);var f=(0,r.useMemo)((function(){return function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:30;return e.map((function(e){return e.hints})).flat().slice(0,t).map((function(e){var t=e.pageTitle,n=void 0===t?"":t,r=e.highlightTitleTexts,o=e.highlightTexts;return{link:e.link,subject:n,tilte:r,description:o}}))}(l)}),[l]);return r.createElement(O.Z,{open:n,placement:"topLeft",destroyTooltipOnHide:{keepParent:!1},content:r.createElement(Qn,{results:f})},r.createElement("label",{className:Jn},r.createElement(fn.Z,{className:er}),r.createElement("input",{className:tr,value:a,autoComplete:"off",onFocus:function(){return o(!(null==l||!l.length))},onChange:function(e){return c(e.target.value)},placeholder:e.formatMessage({id:"搜索…"})})))},ir="tcQfHR8WjsM9eThI0hLs",ar="AZqLl3z74MIxAvlb8Oe0",cr="GXjkObm2NA_EKfS5Nj55",sr="B8kefEQgdw1Wq1XJFMtY",lr="rkvff8IUp3sNDlMSoL0p",ur="GO_Rfm3ywosEiwnNf3zX",fr="PnFQYH3umIItE0LYLz6g",pr="mctsPLnLoOYmkHCrmKDx",mr="bjKugXqfHwabVdfFq9K7",hr=function(e){return!e.startsWith("http")||e.includes("gitee.io")||e.includes("antv.vision")?"_self":"_blank"},dr=function(e){var t,n,o=e.name,i=e.icon,a=e.url,c=void 0===a?"":a,l=e.slogan,u=e.description,f=e.links,p=void 0===f?{}:f,m=e.style,h=e.language;return r.createElement("li",{className:lr,style:m},r.createElement("a",{href:c,target:hr(c)},r.createElement("img",{alt:o,src:i})),r.createElement("div",{className:ur},r.createElement("a",{href:c,target:hr(c)},r.createElement("h4",null,o,r.createElement("span",{className:fr,style:{opacity:"en"===h?.7:""}},l))),r.createElement("div",{className:pr},u),r.createElement("div",{className:mr},p.home&&r.createElement("a",{href:p.home.url,target:hr(p.home.url||"")},null!==(t=p.home.title)&&void 0!==t?t:r.createElement(s._H,{id:"产品首页"})),p.example&&r.createElement("a",{href:p.example.url,target:hr(p.example.url||"")},null!==(n=p.example.title)&&void 0!==n?n:r.createElement(s._H,{id:"图表示例"})))))},vr=n(70870);function gr(e){return gr="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},gr(e)}function Er(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 yr(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Er(Object(n),!0).forEach((function(t){br(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Er(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function br(e,t,n){return(t=function(e){var t=function(e,t){if("object"!==gr(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==gr(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===gr(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var wr=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t},Cr=(wr("basic","extension","ecology"),wr("home","example","api"),wr("basic","extension","mobile","ecology"),[{type:"basic",name:"标准版基础产品"},{type:"extension",name:"标准版扩展产品"},{type:"mobile",name:"移动定制(F版)产品"},{type:"ecology",name:"周边生态"}]);var Zr=n(50927);function xr(e){return xr="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},xr(e)}function Nr(e,t,n){return(t=function(e){var t=function(e,t){if("object"!==xr(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==xr(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===xr(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Sr(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,a,c=[],s=!0,l=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;s=!1}else for(;!(s=(r=i.call(n)).done)&&(c.push(r.value),c.length!==t);s=!0);}catch(e){l=!0,o=e}finally{try{if(!s&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return Ir(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Ir(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Ir(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var Or=function(e){var t=e.show,n=e.language,o=e.className,i=(0,s.bU)(),a=Sr((0,Zr.km)(),1)[0],l=Sr(r.useState([]),2),u=l[0],f=l[1],p="zh"===i.id?"zh":"en";return r.useEffect((function(){(function(e){var t=e.language,n=e.isChinaMirrorHost;return fetch("https://assets.antv.antgroup.com/antv/products.json").then((function(e){return e.json()})).then((function(e){return e.filter((function(e){return e.lang===t})).map((function(e){var t="string"==typeof e.links?JSON.parse(e.links):yr({},e.links),r={};return(0,vr.Z)(t,(function(e,t){var o=(null==e?void 0:e.url)||"";if(n){var i=o.match(/([http|https]):\/\/(.*)\.antv\.vision/);i&&i[2]&&(o=o.replace("".concat(i[2],".antv.vision"),"antv-".concat(i[2],".gitee.io")))}r[t]=yr(yr({},e),{},{url:o})})),yr(yr({},e),{},{links:r})}))}))})({language:p,isChinaMirrorHost:a}).then((function(e){f(e)}))}),[p,a]),r.createElement(r.Fragment,null,r.createElement("div",{className:c()(ir,o,Nr({},cr,!!t))},r.createElement("div",{className:ar},Cr.map((function(e,t){var o=e.name,a=e.type;return r.createElement(r.Fragment,{key:t},r.createElement("h3",null,r.createElement(s._H,{id:o})),r.createElement("ul",null,u.filter((function(e){return e.category===a})).map((function(e){var t;return r.createElement(dr,{key:e.title,name:e.title,slogan:e.slogan||"",description:e.description,url:null===(t=e.links)||void 0===t||null===(t=t.home)||void 0===t?void 0:t.url,icon:e.icon,links:e.links,language:n||i.id})}))))})))),r.createElement("div",{className:sr}))},Rr=n(10443),Ar=n.n(Rr),Pr=n(55068),kr=n.n(Pr);function Tr(e){return(e||"").split("/").find((function(e){return!["en","zh","docs",""].includes(e)}))}function Mr(e,t){var n=t.find((function(t){return kr().satisfies(e,t)}));return n||t[0]}var Lr="GbYQllO5rO88vcrzx4eT",jr="QHGtRy2bcsMj27Qd6CMa",$r="YgsTN32SmoUPYMeTr0ki",_r="o0FONPfUH6wWsdYQrwqd",Dr="UnswbQmZO9sfzZ0sAHvS",Fr="uw29thsOJ9Em8b1vkwNj",Hr="Fc5uWo4KqUWhjcGJXz5Y",Vr="jb_zopCU_GYZSNnfZ_kh",zr="PweGLKW7BCAZ7QX0wCvD",Ur="w_d2z57En05AlfNHa321",Gr="lo2EKLAxPgAIeetPc2vs",Br="RqDuHS0lOqwtoYMntMHD",Wr="pnPJY5Zp1wQGyWu7uqw4",Xr="KfEKcIhFzYsiY2hs6bIk",Kr="yt_gst6z6QY2u9UIj8fb",Yr="Vb1WwlCcR82BhAcONzW_",qr="OElzyRuvrqYJpvESBDiS",Qr="tTGStNvAHNwhcTmJhBhL",Jr="H4w4qLK149cor_rjwVKU",eo="lTB2KkIZXj865MdBcXUb",to="w8eV9MJdEYdYR0A3N9XH",no="XgHNmJH_8sMXHlSRrG1A",ro="MGCFp8zc4sQvHliLHnIw",oo="w4sgW7XRybEAKkWfiigd",io="nQ04tfJLuM9w2Zpuzmno",ao="KXegKO8xwbACjFXA8hMZ",co="VJFqHfcnxtgNo2bARgnY",so="bjqx65VfeYw00oECrgtj",lo="ISgspgpx5bkzFmweZPAY",uo="DGoO7W8ZCFIIyFZ_wmj0";function fo(e){return fo="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},fo(e)}function po(e,t,n){return(t=function(e){var t=function(e,t){if("object"!==fo(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==fo(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===fo(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var mo=function(e){var t=e.navs,n=e.path,o=(0,s.bU)();return r.createElement(r.Fragment,null,t.map((function(e){var t=e.title[o.id],i="",a="";return e.slug&&(i=(i=e.slug.startsWith("http")?e.slug:"/".concat(e.slug)).replace(/^\/docs(?=\/)/,""),"en"!=o.id||i.startsWith("http")||(i="/en".concat(i)),a=c()("header-menu-item-active",po({},to,Tr(n)===Tr(i)))),(0,jn.Z)(e.dropdownItems)?r.createElement("li",{key:t,className:a},r.createElement(S.Z,{className:no,placement:"bottom",overlay:r.createElement(I.Z,null,e.dropdownItems.map((function(e){var t=e.name,n=e.url,i=e.target,a=t[o.id];return r.createElement(I.Z.Item,{key:n},"_blank"===i||n.startsWith("http")?r.createElement("a",{href:n,target:"_blank",rel:"noreferrer"},a,r.createElement(v,null)):r.createElement(s.rU,{to:n},a))})))},r.createElement("span",null,t,r.createElement(g.Z,{style:{marginLeft:"6px"}})))):r.createElement("li",{key:t,className:a},"_blank"===e.target||i.startsWith("http")?r.createElement("a",{href:i,target:"_blank",rel:"noreferrer"},t,r.createElement(v,null)):r.createElement(s.rU,{to:i},t))})))};function ho(e){return ho="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},ho(e)}function vo(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 go(e,t,n){return(t=function(e){var t=function(e,t){if("object"!==ho(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==ho(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===ho(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Eo(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,a,c=[],s=!0,l=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;s=!1}else for(;!(s=(r=i.call(n)).done)&&(c.push(r.value),c.length!==t);s=!0);}catch(e){l=!0,o=e}finally{try{if(!s&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return yo(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return yo(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function yo(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function bo(e){window.location.href=window.location.href.replace(window.location.origin,e)}var wo="ANNOUNCEMENT_LOCALSTORAGE_ID",Co=function(e){var t,n,a=e.subTitle,l=void 0===a?"":a,u=e.navs,f=void 0===u?[]:u,p=e.showSearch,h=void 0===p||p,d=e.showGithubCorner,E=void 0===d||d,y=e.showAntVProductsCard,C=void 0===y||y,Z=e.showLanguageSwitcher,A=void 0===Z||Z,P=e.logo,k=e.onLanguageChange,T=e.showWxQrcode,M=void 0===T||T,L=e.siteUrl,j=e.githubUrl,$=void 0===j?"https://github.com/antvis":j,_=e.defaultLanguage,D=e.transparent,F=e.isHomePage,H=e.isAntVSite,V=void 0!==H&&H,z=e.rootDomain,U=void 0===z?"":z,G=e.version,B=e.versions,W=e.internalSite,X=e.ecosystems,K=e.announcement,Y=V&&F,q=Eo((0,r.useState)(!1),2),Q=q[0],J=q[1];(0,r.useEffect)((function(){J("true"!==localStorage.getItem(wo))}),[K]);var ee=!!W,te=(0,Ln.Z)(W,"url"),ne=Eo((0,r.useState)(!1),2),re=ne[0],oe=ne[1];(0,r.useEffect)((function(){var e=setTimeout((function(){ee&&"zh"===se&&!localStorage.getItem("china-mirror-no-more-hint")&&window.location.host.includes("antv.vision")&&oe(!0)}),5e3);return function(){clearTimeout(e)}}));var ie=(0,s.bU)(),ae=(0,i.s0)(),ce=Eo((0,r.useState)(ie.id),2),se=ce[0],le=ce[1],ue=Eo((0,r.useState)(!1),2),fe=ue[0],pe=ue[1],me=!1,he=function(){pe(!fe)},de=Eo((0,r.useState)(!1),2),ve=de[0],ge=de[1],Ee=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?vo(Object(n),!0).forEach((function(t){go(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):vo(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({img:r.createElement("img",{src:"https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*A-lcQbVTpjwAAAAAAAAAAAAADmJ7AQ/original",alt:"logo"}),link:""},P),ye=Ee.img;Ee.link;(0,r.useEffect)((function(){ve&&ge(!1)}),[window.location.pathname]),(0,r.useEffect)((function(){return document.documentElement.style.overflow=ve?"hidden":"",function(){document.documentElement.style.overflow=""}}),[ve]);var be=(0,o.Z)("(min-width: 767.99px)",!0),we=be?null:r.createElement(m,{className:co,onClick:function(){ge(!ve)}}),Ce=be?{onMouseEnter:function(e){me=!0,e.persist(),setTimeout((function(){e.target instanceof Element&&e.target.matches(":hover")&&pe(!0)}),200)},onMouseLeave:function(e){e.persist(),me=!1,setTimeout((function(){me||pe(!1)}),200)},onClick:he}:{onClick:he},Ze=r.createElement("ul",{className:c()(Br,(t={},go(t,oo,!be),go(t,ao,!ve),t))},(0,jn.Z)(f)?r.createElement(mo,{navs:f,path:window.location.pathname}):null,(0,jn.Z)(X)?r.createElement("li",null,r.createElement(S.Z,{className:no,overlay:r.createElement(I.Z,null,(0,$n.Z)(X,(function(e){var t=e.url,n=e.name;return r.createElement(I.Z.Item,{key:null==n?void 0:n[se]},r.createElement("a",{target:"_blank",rel:"noreferrer",href:t},null==n?void 0:n[se]," ",r.createElement(v,null)))})))},r.createElement("span",null,r.createElement(s._H,{id:"周边生态"}),r.createElement(g.Z,{style:{marginLeft:"6px"}})))):null,ee&&be?r.createElement(O.Z,{title:null,content:r.createElement("div",{style:{width:300}},r.createElement("div",null,r.createElement("span",{role:"img","aria-labelledby":"中国",style:{marginRight:"8px"}},"🇨🇳"),"AntV 系列网站部署在 gh-pages 上,若访问速度不佳,可以前往国内镜像站点。"),r.createElement("div",{style:{marginTop:16,textAlign:"right"}},r.createElement(R.Z,{onClick:function(){return oe(!1)},size:"small",style:{marginRight:8}},"暂时关闭"),r.createElement(R.Z,{type:"primary",size:"small",onClick:function(){localStorage.setItem("china-mirror-no-more-hint",Date.now().toString()),oe(!1)}},"不再提醒"))),visible:re,placement:"bottomRight",align:{offset:[-12,-16]}},r.createElement("li",null,r.createElement("a",{href:te,onClick:function(e){e.preventDefault(),bo(te)}},(0,Zr.ic)((0,Ln.Z)(W,"name")),!Y&&r.createElement(v,{style:{marginLeft:"6px"}})))):null,ee&&!be&&r.createElement(Le,{visible:re,cancelText:"不再提醒",okText:"立即前往",onCancel:function(){oe(!1)},onOk:function(){return bo(te)},cancelButtonProps:{onClick:function(){localStorage.setItem("china-mirror-no-more-hint",Date.now().toString()),oe(!1)}}},r.createElement("div",{className:uo},r.createElement("span",{role:"img","aria-labelledby":"中国"},"🇨🇳"),"AntV 系列网站部署在 gh-pages 上,若访问速度不佳,可以前往",r.createElement("a",{href:te,onClick:function(e){e.preventDefault(),window.location.href=te},className:lo},(0,Zr.ic)((0,Ln.Z)(W,"name")),r.createElement(v,{style:{marginLeft:"6px"}})),r.createElement("span",null," 站点。"))),C&&r.createElement("li",Ce,r.createElement("a",null,r.createElement(s._H,{id:"所有产品"}),Y?r.createElement(b,{style:{top:"1px",color:"#fff"},className:c()(Lr,go({},ro,fe))}):r.createElement("img",{src:"https://gw.alipayobjects.com/zos/antfincdn/FLrTNDvlna/antv.png",alt:"antv logo arrow",className:c()(Lr,go({},ro,fe)),style:{marginLeft:"6px"}})),r.createElement(Or,{className:io,show:fe,rootDomain:U,language:_})),B&&r.createElement("li",null,r.createElement(vn,{defaultValue:B[Mr(G,Object.keys(B))],className:Vr,bordered:!1,size:"small",onChange:function(e){window.location.href=e}},Object.keys(B).map((function(e){var t=B[e];return t.startsWith("http")?r.createElement(vn.Option,{key:t,value:t},e):null})))),A&&r.createElement("li",{className:c()(Wr,Xr)},r.createElement(S.Z,{placement:"bottomRight",overlay:r.createElement(I.Z,{defaultSelectedKeys:[se],selectable:!0,onSelect:function(e){var t=e.key;if(t!==se)if(le(t),k)k(t.toString());else{var n=function(e,t){var n=new(Ar())(e);return(n.path.startsWith("en")||n.path.startsWith("zh"))&&(n.path=n.path.slice(3)),n.path="en"===t?"en/".concat(n.path):n.path,n.toURI()}(window.location.href,t);ae(n.replace(window.location.origin,""))}}},r.createElement(I.Z.Item,{key:"en"},r.createElement(w.Z,{style:{visibility:"en"===se?"visible":"hidden",color:"#52c41a"}}),"English"),r.createElement(I.Z.Item,{key:"zh"},r.createElement(w.Z,{style:{visibility:"zh"===se?"visible":"hidden",color:"#52c41a"}}),"简体中文")),className:zr},r.createElement("a",{className:"ant-dropdown-link",onClick:function(e){return e.preventDefault()}},r.createElement("svg",{className:zr,xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},r.createElement("path",{d:"M12.87 15.07l-2.54-2.51.03-.03c1.74-1.94 2.98-4.17 3.71-6.53H17V4h-7V2H8v2H1v1.99h11.17C11.5 7.92 10.44 9.75 9 11.35 8.07 10.32 7.3 9.19 6.69 8h-2c.73 1.63 1.73 3.17 2.98 4.56l-5.09 5.02L4 19l5-5 3.11 3.11.76-2.04zM18.5 10h-2L12 22h2l1.12-3h4.75L21 22h2l-4.5-12zm-2.62 7l1.62-4.33L19.12 17h-3.24z"}))))),M&&r.createElement("li",{className:c()(Wr,Kr)},r.createElement(O.Z,{content:r.createElement("img",{width:"100%",height:"100%",src:"https://gw.alipayobjects.com/zos/antfincdn/ZKlx96dsfs/qrcode_for_gh_f52d8b6aa591_258.jpg",alt:"wx-qrcode"}),title:"微信扫一扫关注",overlayClassName:"wx-qrcode-popover",overlayStyle:{width:128,height:128},overlayInnerStyle:{padding:2}},r.createElement(x,null))),E&&r.createElement("li",{className:c()(Wr,Yr)},r.createElement("a",{href:$,target:"_blank",rel:"noreferrer"},r.createElement(N.Z,null)))),xe=(0,r.useMemo)((function(){return(0,Ln.Z)(K,["title",se])}),[K,se]),Ne=(0,r.useMemo)((function(){return(0,Ln.Z)(K,["link","text",se])}),[K,se]);return r.createElement("header",{className:c()(jr,(n={},go(n,$r,!!D&&!fe),go(n,Fr,!!F&&!Y),go(n,Hr,!!Y&&!fe&&be),go(n,Ur,!!Y),go(n,_r,ve),n))},Q&&xe&&r.createElement(Mn,{className:qr,message:r.createElement("div",{className:so},K.icon&&r.createElement("img",{src:K.icon}),r.createElement("div",null,xe),Ne&&r.createElement("a",{href:K.link.url},Ne)),type:"info",banner:!0,closable:!0,showIcon:!1,onClose:function(){localStorage.setItem(wo,"true"),J(!1)}}),r.createElement("div",{className:Dr},r.createElement("div",{className:Qr},r.createElement("h1",null,r.createElement("a",{href:L[se]?L[se]:L},ye)),!Y&&l&&r.createElement(r.Fragment,null,r.createElement("span",{className:Jr}),r.createElement("h2",{className:eo},r.createElement("a",{href:window.location.pathname.startsWith("/en")?"/en":"/"},l))),h&&!Y&&r.createElement(or,null)),r.createElement("nav",{className:Gr},Ze,we)))},Zo=function(e){var t=(0,s.WF)().themeConfig,n=t.title,o=t.siteUrl,i=t.githubUrl,a=t.isAntVSite,c=t.subTitleHref,l=t.internalSite,u=t.showSearch,f=t.showGithubCorner,p=t.showGithubStars,m=t.showLanguageSwitcher,h=t.showWxQrcode,d=t.defaultLanguage,v=t.showAntVProductsCard,g=t.version,E=t.versions,y=t.ecosystems,b=t.navs,w=t.docsearchOptions,C=t.announcement,Z={docsearchOptions:w},x=(0,s.bU)(),N=window.location.pathname,S="/"===N||N==="/".concat(x.id)||N==="/".concat(x.id,"/"),I={subTitle:n,subTitleHref:c,githubUrl:i,isAntVSite:a,siteUrl:o,internalSite:l,showSearch:u,showGithubCorner:f,showGithubStars:p,showLanguageSwitcher:m,showWxQrcode:h,defaultLanguage:d,showAntVProductsCard:v,version:g,versions:E,ecosystems:y,navs:b,searchOptions:Z,isHomePage:S,transparent:S&&a,announcement:C};return r.createElement(Co,Object.assign({},I,e))}},40366:function(e,t,n){"use strict";const r=n(34377),o=Symbol("max"),i=Symbol("length"),a=Symbol("lengthCalculator"),c=Symbol("allowStale"),s=Symbol("maxAge"),l=Symbol("dispose"),u=Symbol("noDisposeOnSet"),f=Symbol("lruList"),p=Symbol("cache"),m=Symbol("updateAgeOnGet"),h=()=>1;const d=(e,t,n)=>{const r=e[p].get(t);if(r){const t=r.value;if(v(e,t)){if(E(e,r),!e[c])return}else n&&(e[m]&&(r.value.now=Date.now()),e[f].unshiftNode(r));return t.value}},v=(e,t)=>{if(!t||!t.maxAge&&!e[s])return!1;const n=Date.now()-t.now;return t.maxAge?n>t.maxAge:e[s]&&n>e[s]},g=e=>{if(e[i]>e[o])for(let t=e[f].tail;e[i]>e[o]&&null!==t;){const n=t.prev;E(e,t),t=n}},E=(e,t)=>{if(t){const n=t.value;e[l]&&e[l](n.key,n.value),e[i]-=n.length,e[p].delete(n.key),e[f].removeNode(t)}};class y{constructor(e,t,n,r,o){this.key=e,this.value=t,this.length=n,this.now=r,this.maxAge=o||0}}const b=(e,t,n,r)=>{let o=n.value;v(e,o)&&(E(e,n),e[c]||(o=void 0)),o&&t.call(r,o.value,o.key,e)};e.exports=class{constructor(e){if("number"==typeof e&&(e={max:e}),e||(e={}),e.max&&("number"!=typeof e.max||e.max<0))throw new TypeError("max must be a non-negative number");this[o]=e.max||1/0;const t=e.length||h;if(this[a]="function"!=typeof t?h:t,this[c]=e.stale||!1,e.maxAge&&"number"!=typeof e.maxAge)throw new TypeError("maxAge must be a number");this[s]=e.maxAge||0,this[l]=e.dispose,this[u]=e.noDisposeOnSet||!1,this[m]=e.updateAgeOnGet||!1,this.reset()}set max(e){if("number"!=typeof e||e<0)throw new TypeError("max must be a non-negative number");this[o]=e||1/0,g(this)}get max(){return this[o]}set allowStale(e){this[c]=!!e}get allowStale(){return this[c]}set maxAge(e){if("number"!=typeof e)throw new TypeError("maxAge must be a non-negative number");this[s]=e,g(this)}get maxAge(){return this[s]}set lengthCalculator(e){"function"!=typeof e&&(e=h),e!==this[a]&&(this[a]=e,this[i]=0,this[f].forEach((e=>{e.length=this[a](e.value,e.key),this[i]+=e.length}))),g(this)}get lengthCalculator(){return this[a]}get length(){return this[i]}get itemCount(){return this[f].length}rforEach(e,t){t=t||this;for(let n=this[f].tail;null!==n;){const r=n.prev;b(this,e,n,t),n=r}}forEach(e,t){t=t||this;for(let n=this[f].head;null!==n;){const r=n.next;b(this,e,n,t),n=r}}keys(){return this[f].toArray().map((e=>e.key))}values(){return this[f].toArray().map((e=>e.value))}reset(){this[l]&&this[f]&&this[f].length&&this[f].forEach((e=>this[l](e.key,e.value))),this[p]=new Map,this[f]=new r,this[i]=0}dump(){return this[f].map((e=>!v(this,e)&&{k:e.key,v:e.value,e:e.now+(e.maxAge||0)})).toArray().filter((e=>e))}dumpLru(){return this[f]}set(e,t,n){if((n=n||this[s])&&"number"!=typeof n)throw new TypeError("maxAge must be a number");const r=n?Date.now():0,c=this[a](t,e);if(this[p].has(e)){if(c>this[o])return E(this,this[p].get(e)),!1;const a=this[p].get(e).value;return this[l]&&(this[u]||this[l](e,a.value)),a.now=r,a.maxAge=n,a.value=t,this[i]+=c-a.length,a.length=c,this.get(e),g(this),!0}const m=new y(e,t,c,r,n);return m.length>this[o]?(this[l]&&this[l](e,t),!1):(this[i]+=m.length,this[f].unshift(m),this[p].set(e,this[f].head),g(this),!0)}has(e){if(!this[p].has(e))return!1;const t=this[p].get(e).value;return!v(this,t)}get(e){return d(this,e,!0)}peek(e){return d(this,e,!1)}pop(){const e=this[f].tail;return e?(E(this,e),e.value):null}del(e){E(this,this[p].get(e))}load(e){this.reset();const t=Date.now();for(let n=e.length-1;n>=0;n--){const r=e[n],o=r.e||0;if(0===o)this.set(r.k,r.v);else{const e=o-t;e>0&&this.set(r.k,r.v,e)}}}prune(){this[p].forEach(((e,t)=>d(this,t,!1)))}}},4053:function(e,t,n){const r=Symbol("SemVer ANY");class o{static get ANY(){return r}constructor(e,t){if(t=i(t),e instanceof o){if(e.loose===!!t.loose)return e;e=e.value}e=e.trim().split(/\s+/).join(" "),l("comparator",e,t),this.options=t,this.loose=!!t.loose,this.parse(e),this.semver===r?this.value="":this.value=this.operator+this.semver.version,l("comp",this)}parse(e){const t=this.options.loose?a[c.COMPARATORLOOSE]:a[c.COMPARATOR],n=e.match(t);if(!n)throw new TypeError(`Invalid comparator: ${e}`);this.operator=void 0!==n[1]?n[1]:"","="===this.operator&&(this.operator=""),n[2]?this.semver=new u(n[2],this.options.loose):this.semver=r}toString(){return this.value}test(e){if(l("Comparator.test",e,this.options.loose),this.semver===r||e===r)return!0;if("string"==typeof e)try{e=new u(e,this.options)}catch(e){return!1}return s(e,this.operator,this.semver,this.options)}intersects(e,t){if(!(e instanceof o))throw new TypeError("a Comparator is required");return""===this.operator?""===this.value||new f(e.value,t).test(this.value):""===e.operator?""===e.value||new f(this.value,t).test(e.semver):(!(t=i(t)).includePrerelease||"<0.0.0-0"!==this.value&&"<0.0.0-0"!==e.value)&&(!(!t.includePrerelease&&(this.value.startsWith("<0.0.0")||e.value.startsWith("<0.0.0")))&&(!(!this.operator.startsWith(">")||!e.operator.startsWith(">"))||(!(!this.operator.startsWith("<")||!e.operator.startsWith("<"))||(!(this.semver.version!==e.semver.version||!this.operator.includes("=")||!e.operator.includes("="))||(!!(s(this.semver,"<",e.semver,t)&&this.operator.startsWith(">")&&e.operator.startsWith("<"))||!!(s(this.semver,">",e.semver,t)&&this.operator.startsWith("<")&&e.operator.startsWith(">")))))))}}e.exports=o;const i=n(44569),{safeRe:a,t:c}=n(69902),s=n(75625),l=n(81534),u=n(62605),f=n(6492)},6492:function(e,t,n){class r{constructor(e,t){if(t=i(t),e instanceof r)return e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease?e:new r(e.raw,t);if(e instanceof a)return this.raw=e.value,this.set=[[e]],this.format(),this;if(this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease,this.raw=e.trim().split(/\s+/).join(" "),this.set=this.raw.split("||").map((e=>this.parseRange(e.trim()))).filter((e=>e.length)),!this.set.length)throw new TypeError(`Invalid SemVer Range: ${this.raw}`);if(this.set.length>1){const e=this.set[0];if(this.set=this.set.filter((e=>!v(e[0]))),0===this.set.length)this.set=[e];else if(this.set.length>1)for(const e of this.set)if(1===e.length&&g(e[0])){this.set=[e];break}}this.format()}format(){return this.range=this.set.map((e=>e.join(" ").trim())).join("||").trim(),this.range}toString(){return this.range}parseRange(e){const t=((this.options.includePrerelease&&h)|(this.options.loose&&d))+":"+e,n=o.get(t);if(n)return n;const r=this.options.loose,i=r?l[u.HYPHENRANGELOOSE]:l[u.HYPHENRANGE];e=e.replace(i,R(this.options.includePrerelease)),c("hyphen replace",e),e=e.replace(l[u.COMPARATORTRIM],f),c("comparator trim",e),e=e.replace(l[u.TILDETRIM],p),c("tilde trim",e),e=e.replace(l[u.CARETTRIM],m),c("caret trim",e);let s=e.split(" ").map((e=>y(e,this.options))).join(" ").split(/\s+/).map((e=>O(e,this.options)));r&&(s=s.filter((e=>(c("loose invalid filter",e,this.options),!!e.match(l[u.COMPARATORLOOSE]))))),c("range list",s);const g=new Map,E=s.map((e=>new a(e,this.options)));for(const e of E){if(v(e))return[e];g.set(e.value,e)}g.size>1&&g.has("")&&g.delete("");const b=[...g.values()];return o.set(t,b),b}intersects(e,t){if(!(e instanceof r))throw new TypeError("a Range is required");return this.set.some((n=>E(n,t)&&e.set.some((e=>E(e,t)&&n.every((n=>e.every((e=>n.intersects(e,t)))))))))}test(e){if(!e)return!1;if("string"==typeof e)try{e=new s(e,this.options)}catch(e){return!1}for(let t=0;t<this.set.length;t++)if(A(this.set[t],e,this.options))return!0;return!1}}e.exports=r;const o=new(n(40366))({max:1e3}),i=n(44569),a=n(4053),c=n(81534),s=n(62605),{safeRe:l,t:u,comparatorTrimReplace:f,tildeTrimReplace:p,caretTrimReplace:m}=n(69902),{FLAG_INCLUDE_PRERELEASE:h,FLAG_LOOSE:d}=n(51144),v=e=>"<0.0.0-0"===e.value,g=e=>""===e.value,E=(e,t)=>{let n=!0;const r=e.slice();let o=r.pop();for(;n&&r.length;)n=r.every((e=>o.intersects(e,t))),o=r.pop();return n},y=(e,t)=>(c("comp",e,t),e=Z(e,t),c("caret",e),e=w(e,t),c("tildes",e),e=N(e,t),c("xrange",e),e=I(e,t),c("stars",e),e),b=e=>!e||"x"===e.toLowerCase()||"*"===e,w=(e,t)=>e.trim().split(/\s+/).map((e=>C(e,t))).join(" "),C=(e,t)=>{const n=t.loose?l[u.TILDELOOSE]:l[u.TILDE];return e.replace(n,((t,n,r,o,i)=>{let a;return c("tilde",e,t,n,r,o,i),b(n)?a="":b(r)?a=`>=${n}.0.0 <${+n+1}.0.0-0`:b(o)?a=`>=${n}.${r}.0 <${n}.${+r+1}.0-0`:i?(c("replaceTilde pr",i),a=`>=${n}.${r}.${o}-${i} <${n}.${+r+1}.0-0`):a=`>=${n}.${r}.${o} <${n}.${+r+1}.0-0`,c("tilde return",a),a}))},Z=(e,t)=>e.trim().split(/\s+/).map((e=>x(e,t))).join(" "),x=(e,t)=>{c("caret",e,t);const n=t.loose?l[u.CARETLOOSE]:l[u.CARET],r=t.includePrerelease?"-0":"";return e.replace(n,((t,n,o,i,a)=>{let s;return c("caret",e,t,n,o,i,a),b(n)?s="":b(o)?s=`>=${n}.0.0${r} <${+n+1}.0.0-0`:b(i)?s="0"===n?`>=${n}.${o}.0${r} <${n}.${+o+1}.0-0`:`>=${n}.${o}.0${r} <${+n+1}.0.0-0`:a?(c("replaceCaret pr",a),s="0"===n?"0"===o?`>=${n}.${o}.${i}-${a} <${n}.${o}.${+i+1}-0`:`>=${n}.${o}.${i}-${a} <${n}.${+o+1}.0-0`:`>=${n}.${o}.${i}-${a} <${+n+1}.0.0-0`):(c("no pr"),s="0"===n?"0"===o?`>=${n}.${o}.${i}${r} <${n}.${o}.${+i+1}-0`:`>=${n}.${o}.${i}${r} <${n}.${+o+1}.0-0`:`>=${n}.${o}.${i} <${+n+1}.0.0-0`),c("caret return",s),s}))},N=(e,t)=>(c("replaceXRanges",e,t),e.split(/\s+/).map((e=>S(e,t))).join(" ")),S=(e,t)=>{e=e.trim();const n=t.loose?l[u.XRANGELOOSE]:l[u.XRANGE];return e.replace(n,((n,r,o,i,a,s)=>{c("xRange",e,n,r,o,i,a,s);const l=b(o),u=l||b(i),f=u||b(a),p=f;return"="===r&&p&&(r=""),s=t.includePrerelease?"-0":"",l?n=">"===r||"<"===r?"<0.0.0-0":"*":r&&p?(u&&(i=0),a=0,">"===r?(r=">=",u?(o=+o+1,i=0,a=0):(i=+i+1,a=0)):"<="===r&&(r="<",u?o=+o+1:i=+i+1),"<"===r&&(s="-0"),n=`${r+o}.${i}.${a}${s}`):u?n=`>=${o}.0.0${s} <${+o+1}.0.0-0`:f&&(n=`>=${o}.${i}.0${s} <${o}.${+i+1}.0-0`),c("xRange return",n),n}))},I=(e,t)=>(c("replaceStars",e,t),e.trim().replace(l[u.STAR],"")),O=(e,t)=>(c("replaceGTE0",e,t),e.trim().replace(l[t.includePrerelease?u.GTE0PRE:u.GTE0],"")),R=e=>(t,n,r,o,i,a,c,s,l,u,f,p,m)=>`${n=b(r)?"":b(o)?`>=${r}.0.0${e?"-0":""}`:b(i)?`>=${r}.${o}.0${e?"-0":""}`:a?`>=${n}`:`>=${n}${e?"-0":""}`} ${s=b(l)?"":b(u)?`<${+l+1}.0.0-0`:b(f)?`<${l}.${+u+1}.0-0`:p?`<=${l}.${u}.${f}-${p}`:e?`<${l}.${u}.${+f+1}-0`:`<=${s}`}`.trim(),A=(e,t,n)=>{for(let n=0;n<e.length;n++)if(!e[n].test(t))return!1;if(t.prerelease.length&&!n.includePrerelease){for(let n=0;n<e.length;n++)if(c(e[n].semver),e[n].semver!==a.ANY&&e[n].semver.prerelease.length>0){const r=e[n].semver;if(r.major===t.major&&r.minor===t.minor&&r.patch===t.patch)return!0}return!1}return!0}},62605:function(e,t,n){const r=n(81534),{MAX_LENGTH:o,MAX_SAFE_INTEGER:i}=n(51144),{safeRe:a,t:c}=n(69902),s=n(44569),{compareIdentifiers:l}=n(25394);class u{constructor(e,t){if(t=s(t),e instanceof u){if(e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease)return e;e=e.version}else if("string"!=typeof e)throw new TypeError(`Invalid version. Must be a string. Got type "${typeof e}".`);if(e.length>o)throw new TypeError(`version is longer than ${o} characters`);r("SemVer",e,t),this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease;const n=e.trim().match(t.loose?a[c.LOOSE]:a[c.FULL]);if(!n)throw new TypeError(`Invalid Version: ${e}`);if(this.raw=e,this.major=+n[1],this.minor=+n[2],this.patch=+n[3],this.major>i||this.major<0)throw new TypeError("Invalid major version");if(this.minor>i||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>i||this.patch<0)throw new TypeError("Invalid patch version");n[4]?this.prerelease=n[4].split(".").map((e=>{if(/^[0-9]+$/.test(e)){const t=+e;if(t>=0&&t<i)return t}return e})):this.prerelease=[],this.build=n[5]?n[5].split("."):[],this.format()}format(){return this.version=`${this.major}.${this.minor}.${this.patch}`,this.prerelease.length&&(this.version+=`-${this.prerelease.join(".")}`),this.version}toString(){return this.version}compare(e){if(r("SemVer.compare",this.version,this.options,e),!(e instanceof u)){if("string"==typeof e&&e===this.version)return 0;e=new u(e,this.options)}return e.version===this.version?0:this.compareMain(e)||this.comparePre(e)}compareMain(e){return e instanceof u||(e=new u(e,this.options)),l(this.major,e.major)||l(this.minor,e.minor)||l(this.patch,e.patch)}comparePre(e){if(e instanceof u||(e=new u(e,this.options)),this.prerelease.length&&!e.prerelease.length)return-1;if(!this.prerelease.length&&e.prerelease.length)return 1;if(!this.prerelease.length&&!e.prerelease.length)return 0;let t=0;do{const n=this.prerelease[t],o=e.prerelease[t];if(r("prerelease compare",t,n,o),void 0===n&&void 0===o)return 0;if(void 0===o)return 1;if(void 0===n)return-1;if(n!==o)return l(n,o)}while(++t)}compareBuild(e){e instanceof u||(e=new u(e,this.options));let t=0;do{const n=this.build[t],o=e.build[t];if(r("prerelease compare",t,n,o),void 0===n&&void 0===o)return 0;if(void 0===o)return 1;if(void 0===n)return-1;if(n!==o)return l(n,o)}while(++t)}inc(e,t,n){switch(e){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",t,n);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",t,n);break;case"prepatch":this.prerelease.length=0,this.inc("patch",t,n),this.inc("pre",t,n);break;case"prerelease":0===this.prerelease.length&&this.inc("patch",t,n),this.inc("pre",t,n);break;case"major":0===this.minor&&0===this.patch&&0!==this.prerelease.length||this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":0===this.patch&&0!==this.prerelease.length||this.minor++,this.patch=0,this.prerelease=[];break;case"patch":0===this.prerelease.length&&this.patch++,this.prerelease=[];break;case"pre":{const e=Number(n)?1:0;if(!t&&!1===n)throw new Error("invalid increment argument: identifier is empty");if(0===this.prerelease.length)this.prerelease=[e];else{let r=this.prerelease.length;for(;--r>=0;)"number"==typeof this.prerelease[r]&&(this.prerelease[r]++,r=-2);if(-1===r){if(t===this.prerelease.join(".")&&!1===n)throw new Error("invalid increment argument: identifier already exists");this.prerelease.push(e)}}if(t){let r=[t,e];!1===n&&(r=[t]),0===l(this.prerelease[0],t)?isNaN(this.prerelease[1])&&(this.prerelease=r):this.prerelease=r}break}default:throw new Error(`invalid increment argument: ${e}`)}return this.raw=this.format(),this.build.length&&(this.raw+=`+${this.build.join(".")}`),this}}e.exports=u},80:function(e,t,n){const r=n(97970);e.exports=(e,t)=>{const n=r(e.trim().replace(/^[=v]+/,""),t);return n?n.version:null}},75625:function(e,t,n){const r=n(41273),o=n(20602),i=n(37919),a=n(47644),c=n(57877),s=n(43638);e.exports=(e,t,n,l)=>{switch(t){case"===":return"object"==typeof e&&(e=e.version),"object"==typeof n&&(n=n.version),e===n;case"!==":return"object"==typeof e&&(e=e.version),"object"==typeof n&&(n=n.version),e!==n;case"":case"=":case"==":return r(e,n,l);case"!=":return o(e,n,l);case">":return i(e,n,l);case">=":return a(e,n,l);case"<":return c(e,n,l);case"<=":return s(e,n,l);default:throw new TypeError(`Invalid operator: ${t}`)}}},13053:function(e,t,n){const r=n(62605),o=n(97970),{safeRe:i,t:a}=n(69902);e.exports=(e,t)=>{if(e instanceof r)return e;if("number"==typeof e&&(e=String(e)),"string"!=typeof e)return null;let n=null;if((t=t||{}).rtl){let t;for(;(t=i[a.COERCERTL].exec(e))&&(!n||n.index+n[0].length!==e.length);)n&&t.index+t[0].length===n.index+n[0].length||(n=t),i[a.COERCERTL].lastIndex=t.index+t[1].length+t[2].length;i[a.COERCERTL].lastIndex=-1}else n=e.match(i[a.COERCE]);return null===n?null:o(`${n[2]}.${n[3]||"0"}.${n[4]||"0"}`,t)}},32786:function(e,t,n){const r=n(62605);e.exports=(e,t,n)=>{const o=new r(e,n),i=new r(t,n);return o.compare(i)||o.compareBuild(i)}},19083:function(e,t,n){const r=n(39087);e.exports=(e,t)=>r(e,t,!0)},39087:function(e,t,n){const r=n(62605);e.exports=(e,t,n)=>new r(e,n).compare(new r(t,n))},31430:function(e,t,n){const r=n(97970);e.exports=(e,t)=>{const n=r(e,null,!0),o=r(t,null,!0),i=n.compare(o);if(0===i)return null;const a=i>0,c=a?n:o,s=a?o:n,l=!!c.prerelease.length;if(!!s.prerelease.length&&!l)return s.patch||s.minor?c.patch?"patch":c.minor?"minor":"major":"major";const u=l?"pre":"";return n.major!==o.major?u+"major":n.minor!==o.minor?u+"minor":n.patch!==o.patch?u+"patch":"prerelease"}},41273:function(e,t,n){const r=n(39087);e.exports=(e,t,n)=>0===r(e,t,n)},37919:function(e,t,n){const r=n(39087);e.exports=(e,t,n)=>r(e,t,n)>0},47644:function(e,t,n){const r=n(39087);e.exports=(e,t,n)=>r(e,t,n)>=0},65977:function(e,t,n){const r=n(62605);e.exports=(e,t,n,o,i)=>{"string"==typeof n&&(i=o,o=n,n=void 0);try{return new r(e instanceof r?e.version:e,n).inc(t,o,i).version}catch(e){return null}}},57877:function(e,t,n){const r=n(39087);e.exports=(e,t,n)=>r(e,t,n)<0},43638:function(e,t,n){const r=n(39087);e.exports=(e,t,n)=>r(e,t,n)<=0},40103:function(e,t,n){const r=n(62605);e.exports=(e,t)=>new r(e,t).major},8685:function(e,t,n){const r=n(62605);e.exports=(e,t)=>new r(e,t).minor},20602:function(e,t,n){const r=n(39087);e.exports=(e,t,n)=>0!==r(e,t,n)},97970:function(e,t,n){const r=n(62605);e.exports=(e,t,n=!1)=>{if(e instanceof r)return e;try{return new r(e,t)}catch(e){if(!n)return null;throw e}}},39274:function(e,t,n){const r=n(62605);e.exports=(e,t)=>new r(e,t).patch},92691:function(e,t,n){const r=n(97970);e.exports=(e,t)=>{const n=r(e,t);return n&&n.prerelease.length?n.prerelease:null}},65909:function(e,t,n){const r=n(39087);e.exports=(e,t,n)=>r(t,e,n)},72964:function(e,t,n){const r=n(32786);e.exports=(e,t)=>e.sort(((e,n)=>r(n,e,t)))},88413:function(e,t,n){const r=n(6492);e.exports=(e,t,n)=>{try{t=new r(t,n)}catch(e){return!1}return t.test(e)}},89822:function(e,t,n){const r=n(32786);e.exports=(e,t)=>e.sort(((e,n)=>r(e,n,t)))},73280:function(e,t,n){const r=n(97970);e.exports=(e,t)=>{const n=r(e,t);return n?n.version:null}},55068:function(e,t,n){const r=n(69902),o=n(51144),i=n(62605),a=n(25394),c=n(97970),s=n(73280),l=n(80),u=n(65977),f=n(31430),p=n(40103),m=n(8685),h=n(39274),d=n(92691),v=n(39087),g=n(65909),E=n(19083),y=n(32786),b=n(89822),w=n(72964),C=n(37919),Z=n(57877),x=n(41273),N=n(20602),S=n(47644),I=n(43638),O=n(75625),R=n(13053),A=n(4053),P=n(6492),k=n(88413),T=n(7414),M=n(36383),L=n(67059),j=n(902),$=n(71484),_=n(58316),D=n(68096),F=n(51298),H=n(6342),V=n(96493),z=n(62967);e.exports={parse:c,valid:s,clean:l,inc:u,diff:f,major:p,minor:m,patch:h,prerelease:d,compare:v,rcompare:g,compareLoose:E,compareBuild:y,sort:b,rsort:w,gt:C,lt:Z,eq:x,neq:N,gte:S,lte:I,cmp:O,coerce:R,Comparator:A,Range:P,satisfies:k,toComparators:T,maxSatisfying:M,minSatisfying:L,minVersion:j,validRange:$,outside:_,gtr:D,ltr:F,intersects:H,simplifyRange:V,subset:z,SemVer:i,re:r.re,src:r.src,tokens:r.t,SEMVER_SPEC_VERSION:o.SEMVER_SPEC_VERSION,RELEASE_TYPES:o.RELEASE_TYPES,compareIdentifiers:a.compareIdentifiers,rcompareIdentifiers:a.rcompareIdentifiers}},51144:function(e){const t=Number.MAX_SAFE_INTEGER||9007199254740991;e.exports={MAX_LENGTH:256,MAX_SAFE_COMPONENT_LENGTH:16,MAX_SAFE_BUILD_LENGTH:250,MAX_SAFE_INTEGER:t,RELEASE_TYPES:["major","premajor","minor","preminor","patch","prepatch","prerelease"],SEMVER_SPEC_VERSION:"2.0.0",FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2}},81534:function(e,t,n){const r="object"==typeof n(34155)&&{NODE_ENV:"production",PUBLIC_PATH:"/"}.NODE_DEBUG&&/\bsemver\b/i.test({NODE_ENV:"production",PUBLIC_PATH:"/"}.NODE_DEBUG)?(...e)=>console.error("SEMVER",...e):()=>{};e.exports=r},25394:function(e){const t=/^[0-9]+$/,n=(e,n)=>{const r=t.test(e),o=t.test(n);return r&&o&&(e=+e,n=+n),e===n?0:r&&!o?-1:o&&!r?1:e<n?-1:1};e.exports={compareIdentifiers:n,rcompareIdentifiers:(e,t)=>n(t,e)}},44569:function(e){const t=Object.freeze({loose:!0}),n=Object.freeze({});e.exports=e=>e?"object"!=typeof e?t:e:n},69902:function(e,t,n){const{MAX_SAFE_COMPONENT_LENGTH:r,MAX_SAFE_BUILD_LENGTH:o,MAX_LENGTH:i}=n(51144),a=n(81534),c=(t=e.exports={}).re=[],s=t.safeRe=[],l=t.src=[],u=t.t={};let f=0;const p="[a-zA-Z0-9-]",m=[["\\s",1],["\\d",i],[p,o]],h=(e,t,n)=>{const r=(e=>{for(const[t,n]of m)e=e.split(`${t}*`).join(`${t}{0,${n}}`).split(`${t}+`).join(`${t}{1,${n}}`);return e})(t),o=f++;a(e,o,t),u[e]=o,l[o]=t,c[o]=new RegExp(t,n?"g":void 0),s[o]=new RegExp(r,n?"g":void 0)};h("NUMERICIDENTIFIER","0|[1-9]\\d*"),h("NUMERICIDENTIFIERLOOSE","\\d+"),h("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${p}*`),h("MAINVERSION",`(${l[u.NUMERICIDENTIFIER]})\\.(${l[u.NUMERICIDENTIFIER]})\\.(${l[u.NUMERICIDENTIFIER]})`),h("MAINVERSIONLOOSE",`(${l[u.NUMERICIDENTIFIERLOOSE]})\\.(${l[u.NUMERICIDENTIFIERLOOSE]})\\.(${l[u.NUMERICIDENTIFIERLOOSE]})`),h("PRERELEASEIDENTIFIER",`(?:${l[u.NUMERICIDENTIFIER]}|${l[u.NONNUMERICIDENTIFIER]})`),h("PRERELEASEIDENTIFIERLOOSE",`(?:${l[u.NUMERICIDENTIFIERLOOSE]}|${l[u.NONNUMERICIDENTIFIER]})`),h("PRERELEASE",`(?:-(${l[u.PRERELEASEIDENTIFIER]}(?:\\.${l[u.PRERELEASEIDENTIFIER]})*))`),h("PRERELEASELOOSE",`(?:-?(${l[u.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${l[u.PRERELEASEIDENTIFIERLOOSE]})*))`),h("BUILDIDENTIFIER",`${p}+`),h("BUILD",`(?:\\+(${l[u.BUILDIDENTIFIER]}(?:\\.${l[u.BUILDIDENTIFIER]})*))`),h("FULLPLAIN",`v?${l[u.MAINVERSION]}${l[u.PRERELEASE]}?${l[u.BUILD]}?`),h("FULL",`^${l[u.FULLPLAIN]}$`),h("LOOSEPLAIN",`[v=\\s]*${l[u.MAINVERSIONLOOSE]}${l[u.PRERELEASELOOSE]}?${l[u.BUILD]}?`),h("LOOSE",`^${l[u.LOOSEPLAIN]}$`),h("GTLT","((?:<|>)?=?)"),h("XRANGEIDENTIFIERLOOSE",`${l[u.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`),h("XRANGEIDENTIFIER",`${l[u.NUMERICIDENTIFIER]}|x|X|\\*`),h("XRANGEPLAIN",`[v=\\s]*(${l[u.XRANGEIDENTIFIER]})(?:\\.(${l[u.XRANGEIDENTIFIER]})(?:\\.(${l[u.XRANGEIDENTIFIER]})(?:${l[u.PRERELEASE]})?${l[u.BUILD]}?)?)?`),h("XRANGEPLAINLOOSE",`[v=\\s]*(${l[u.XRANGEIDENTIFIERLOOSE]})(?:\\.(${l[u.XRANGEIDENTIFIERLOOSE]})(?:\\.(${l[u.XRANGEIDENTIFIERLOOSE]})(?:${l[u.PRERELEASELOOSE]})?${l[u.BUILD]}?)?)?`),h("XRANGE",`^${l[u.GTLT]}\\s*${l[u.XRANGEPLAIN]}$`),h("XRANGELOOSE",`^${l[u.GTLT]}\\s*${l[u.XRANGEPLAINLOOSE]}$`),h("COERCE",`(^|[^\\d])(\\d{1,${r}})(?:\\.(\\d{1,${r}}))?(?:\\.(\\d{1,${r}}))?(?:$|[^\\d])`),h("COERCERTL",l[u.COERCE],!0),h("LONETILDE","(?:~>?)"),h("TILDETRIM",`(\\s*)${l[u.LONETILDE]}\\s+`,!0),t.tildeTrimReplace="$1~",h("TILDE",`^${l[u.LONETILDE]}${l[u.XRANGEPLAIN]}$`),h("TILDELOOSE",`^${l[u.LONETILDE]}${l[u.XRANGEPLAINLOOSE]}$`),h("LONECARET","(?:\\^)"),h("CARETTRIM",`(\\s*)${l[u.LONECARET]}\\s+`,!0),t.caretTrimReplace="$1^",h("CARET",`^${l[u.LONECARET]}${l[u.XRANGEPLAIN]}$`),h("CARETLOOSE",`^${l[u.LONECARET]}${l[u.XRANGEPLAINLOOSE]}$`),h("COMPARATORLOOSE",`^${l[u.GTLT]}\\s*(${l[u.LOOSEPLAIN]})$|^$`),h("COMPARATOR",`^${l[u.GTLT]}\\s*(${l[u.FULLPLAIN]})$|^$`),h("COMPARATORTRIM",`(\\s*)${l[u.GTLT]}\\s*(${l[u.LOOSEPLAIN]}|${l[u.XRANGEPLAIN]})`,!0),t.comparatorTrimReplace="$1$2$3",h("HYPHENRANGE",`^\\s*(${l[u.XRANGEPLAIN]})\\s+-\\s+(${l[u.XRANGEPLAIN]})\\s*$`),h("HYPHENRANGELOOSE",`^\\s*(${l[u.XRANGEPLAINLOOSE]})\\s+-\\s+(${l[u.XRANGEPLAINLOOSE]})\\s*$`),h("STAR","(<|>)?=?\\s*\\*"),h("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$"),h("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")},68096:function(e,t,n){const r=n(58316);e.exports=(e,t,n)=>r(e,t,">",n)},6342:function(e,t,n){const r=n(6492);e.exports=(e,t,n)=>(e=new r(e,n),t=new r(t,n),e.intersects(t,n))},51298:function(e,t,n){const r=n(58316);e.exports=(e,t,n)=>r(e,t,"<",n)},36383:function(e,t,n){const r=n(62605),o=n(6492);e.exports=(e,t,n)=>{let i=null,a=null,c=null;try{c=new o(t,n)}catch(e){return null}return e.forEach((e=>{c.test(e)&&(i&&-1!==a.compare(e)||(i=e,a=new r(i,n)))})),i}},67059:function(e,t,n){const r=n(62605),o=n(6492);e.exports=(e,t,n)=>{let i=null,a=null,c=null;try{c=new o(t,n)}catch(e){return null}return e.forEach((e=>{c.test(e)&&(i&&1!==a.compare(e)||(i=e,a=new r(i,n)))})),i}},902:function(e,t,n){const r=n(62605),o=n(6492),i=n(37919);e.exports=(e,t)=>{e=new o(e,t);let n=new r("0.0.0");if(e.test(n))return n;if(n=new r("0.0.0-0"),e.test(n))return n;n=null;for(let t=0;t<e.set.length;++t){const o=e.set[t];let a=null;o.forEach((e=>{const t=new r(e.semver.version);switch(e.operator){case">":0===t.prerelease.length?t.patch++:t.prerelease.push(0),t.raw=t.format();case"":case">=":a&&!i(t,a)||(a=t);break;case"<":case"<=":break;default:throw new Error(`Unexpected operation: ${e.operator}`)}})),!a||n&&!i(n,a)||(n=a)}return n&&e.test(n)?n:null}},58316:function(e,t,n){const r=n(62605),o=n(4053),{ANY:i}=o,a=n(6492),c=n(88413),s=n(37919),l=n(57877),u=n(43638),f=n(47644);e.exports=(e,t,n,p)=>{let m,h,d,v,g;switch(e=new r(e,p),t=new a(t,p),n){case">":m=s,h=u,d=l,v=">",g=">=";break;case"<":m=l,h=f,d=s,v="<",g="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(c(e,t,p))return!1;for(let n=0;n<t.set.length;++n){const r=t.set[n];let a=null,c=null;if(r.forEach((e=>{e.semver===i&&(e=new o(">=0.0.0")),a=a||e,c=c||e,m(e.semver,a.semver,p)?a=e:d(e.semver,c.semver,p)&&(c=e)})),a.operator===v||a.operator===g)return!1;if((!c.operator||c.operator===v)&&h(e,c.semver))return!1;if(c.operator===g&&d(e,c.semver))return!1}return!0}},96493:function(e,t,n){const r=n(88413),o=n(39087);e.exports=(e,t,n)=>{const i=[];let a=null,c=null;const s=e.sort(((e,t)=>o(e,t,n)));for(const e of s){r(e,t,n)?(c=e,a||(a=e)):(c&&i.push([a,c]),c=null,a=null)}a&&i.push([a,null]);const l=[];for(const[e,t]of i)e===t?l.push(e):t||e!==s[0]?t?e===s[0]?l.push(`<=${t}`):l.push(`${e} - ${t}`):l.push(`>=${e}`):l.push("*");const u=l.join(" || "),f="string"==typeof t.raw?t.raw:String(t);return u.length<f.length?u:t}},62967:function(e,t,n){const r=n(6492),o=n(4053),{ANY:i}=o,a=n(88413),c=n(39087),s=[new o(">=0.0.0-0")],l=[new o(">=0.0.0")],u=(e,t,n)=>{if(e===t)return!0;if(1===e.length&&e[0].semver===i){if(1===t.length&&t[0].semver===i)return!0;e=n.includePrerelease?s:l}if(1===t.length&&t[0].semver===i){if(n.includePrerelease)return!0;t=l}const r=new Set;let o,u,m,h,d,v,g;for(const t of e)">"===t.operator||">="===t.operator?o=f(o,t,n):"<"===t.operator||"<="===t.operator?u=p(u,t,n):r.add(t.semver);if(r.size>1)return null;if(o&&u){if(m=c(o.semver,u.semver,n),m>0)return null;if(0===m&&(">="!==o.operator||"<="!==u.operator))return null}for(const e of r){if(o&&!a(e,String(o),n))return null;if(u&&!a(e,String(u),n))return null;for(const r of t)if(!a(e,String(r),n))return!1;return!0}let E=!(!u||n.includePrerelease||!u.semver.prerelease.length)&&u.semver,y=!(!o||n.includePrerelease||!o.semver.prerelease.length)&&o.semver;E&&1===E.prerelease.length&&"<"===u.operator&&0===E.prerelease[0]&&(E=!1);for(const e of t){if(g=g||">"===e.operator||">="===e.operator,v=v||"<"===e.operator||"<="===e.operator,o)if(y&&e.semver.prerelease&&e.semver.prerelease.length&&e.semver.major===y.major&&e.semver.minor===y.minor&&e.semver.patch===y.patch&&(y=!1),">"===e.operator||">="===e.operator){if(h=f(o,e,n),h===e&&h!==o)return!1}else if(">="===o.operator&&!a(o.semver,String(e),n))return!1;if(u)if(E&&e.semver.prerelease&&e.semver.prerelease.length&&e.semver.major===E.major&&e.semver.minor===E.minor&&e.semver.patch===E.patch&&(E=!1),"<"===e.operator||"<="===e.operator){if(d=p(u,e,n),d===e&&d!==u)return!1}else if("<="===u.operator&&!a(u.semver,String(e),n))return!1;if(!e.operator&&(u||o)&&0!==m)return!1}return!(o&&v&&!u&&0!==m)&&(!(u&&g&&!o&&0!==m)&&(!y&&!E))},f=(e,t,n)=>{if(!e)return t;const r=c(e.semver,t.semver,n);return r>0?e:r<0||">"===t.operator&&">="===e.operator?t:e},p=(e,t,n)=>{if(!e)return t;const r=c(e.semver,t.semver,n);return r<0?e:r>0||"<"===t.operator&&"<="===e.operator?t:e};e.exports=(e,t,n={})=>{if(e===t)return!0;e=new r(e,n),t=new r(t,n);let o=!1;e:for(const r of e.set){for(const e of t.set){const t=u(r,e,n);if(o=o||null!==t,t)continue e}if(o)return!1}return!0}},7414:function(e,t,n){const r=n(6492);e.exports=(e,t)=>new r(e,t).set.map((e=>e.map((e=>e.value)).join(" ").trim().split(" ")))},71484:function(e,t,n){const r=n(6492);e.exports=(e,t)=>{try{return new r(e,t).range||"*"}catch(e){return null}}},42066:function(e){"use strict";e.exports=function(e){e.prototype[Symbol.iterator]=function*(){for(let e=this.head;e;e=e.next)yield e.value}}},34377:function(e,t,n){"use strict";function r(e){var t=this;if(t instanceof r||(t=new r),t.tail=null,t.head=null,t.length=0,e&&"function"==typeof e.forEach)e.forEach((function(e){t.push(e)}));else if(arguments.length>0)for(var n=0,o=arguments.length;n<o;n++)t.push(arguments[n]);return t}function o(e,t,n){var r=t===e.head?new c(n,null,t,e):new c(n,t,t.next,e);return null===r.next&&(e.tail=r),null===r.prev&&(e.head=r),e.length++,r}function i(e,t){e.tail=new c(t,e.tail,null,e),e.head||(e.head=e.tail),e.length++}function a(e,t){e.head=new c(t,null,e.head,e),e.tail||(e.tail=e.head),e.length++}function c(e,t,n,r){if(!(this instanceof c))return new c(e,t,n,r);this.list=r,this.value=e,t?(t.next=this,this.prev=t):this.prev=null,n?(n.prev=this,this.next=n):this.next=null}e.exports=r,r.Node=c,r.create=r,r.prototype.removeNode=function(e){if(e.list!==this)throw new Error("removing node which does not belong to this list");var t=e.next,n=e.prev;return t&&(t.prev=n),n&&(n.next=t),e===this.head&&(this.head=t),e===this.tail&&(this.tail=n),e.list.length--,e.next=null,e.prev=null,e.list=null,t},r.prototype.unshiftNode=function(e){if(e!==this.head){e.list&&e.list.removeNode(e);var t=this.head;e.list=this,e.next=t,t&&(t.prev=e),this.head=e,this.tail||(this.tail=e),this.length++}},r.prototype.pushNode=function(e){if(e!==this.tail){e.list&&e.list.removeNode(e);var t=this.tail;e.list=this,e.prev=t,t&&(t.next=e),this.tail=e,this.head||(this.head=e),this.length++}},r.prototype.push=function(){for(var e=0,t=arguments.length;e<t;e++)i(this,arguments[e]);return this.length},r.prototype.unshift=function(){for(var e=0,t=arguments.length;e<t;e++)a(this,arguments[e]);return this.length},r.prototype.pop=function(){if(this.tail){var e=this.tail.value;return this.tail=this.tail.prev,this.tail?this.tail.next=null:this.head=null,this.length--,e}},r.prototype.shift=function(){if(this.head){var e=this.head.value;return this.head=this.head.next,this.head?this.head.prev=null:this.tail=null,this.length--,e}},r.prototype.forEach=function(e,t){t=t||this;for(var n=this.head,r=0;null!==n;r++)e.call(t,n.value,r,this),n=n.next},r.prototype.forEachReverse=function(e,t){t=t||this;for(var n=this.tail,r=this.length-1;null!==n;r--)e.call(t,n.value,r,this),n=n.prev},r.prototype.get=function(e){for(var t=0,n=this.head;null!==n&&t<e;t++)n=n.next;if(t===e&&null!==n)return n.value},r.prototype.getReverse=function(e){for(var t=0,n=this.tail;null!==n&&t<e;t++)n=n.prev;if(t===e&&null!==n)return n.value},r.prototype.map=function(e,t){t=t||this;for(var n=new r,o=this.head;null!==o;)n.push(e.call(t,o.value,this)),o=o.next;return n},r.prototype.mapReverse=function(e,t){t=t||this;for(var n=new r,o=this.tail;null!==o;)n.push(e.call(t,o.value,this)),o=o.prev;return n},r.prototype.reduce=function(e,t){var n,r=this.head;if(arguments.length>1)n=t;else{if(!this.head)throw new TypeError("Reduce of empty list with no initial value");r=this.head.next,n=this.head.value}for(var o=0;null!==r;o++)n=e(n,r.value,o),r=r.next;return n},r.prototype.reduceReverse=function(e,t){var n,r=this.tail;if(arguments.length>1)n=t;else{if(!this.tail)throw new TypeError("Reduce of empty list with no initial value");r=this.tail.prev,n=this.tail.value}for(var o=this.length-1;null!==r;o--)n=e(n,r.value,o),r=r.prev;return n},r.prototype.toArray=function(){for(var e=new Array(this.length),t=0,n=this.head;null!==n;t++)e[t]=n.value,n=n.next;return e},r.prototype.toArrayReverse=function(){for(var e=new Array(this.length),t=0,n=this.tail;null!==n;t++)e[t]=n.value,n=n.prev;return e},r.prototype.slice=function(e,t){(t=t||this.length)<0&&(t+=this.length),(e=e||0)<0&&(e+=this.length);var n=new r;if(t<e||t<0)return n;e<0&&(e=0),t>this.length&&(t=this.length);for(var o=0,i=this.head;null!==i&&o<e;o++)i=i.next;for(;null!==i&&o<t;o++,i=i.next)n.push(i.value);return n},r.prototype.sliceReverse=function(e,t){(t=t||this.length)<0&&(t+=this.length),(e=e||0)<0&&(e+=this.length);var n=new r;if(t<e||t<0)return n;e<0&&(e=0),t>this.length&&(t=this.length);for(var o=this.length,i=this.tail;null!==i&&o>t;o--)i=i.prev;for(;null!==i&&o>e;o--,i=i.prev)n.push(i.value);return n},r.prototype.splice=function(e,t,...n){e>this.length&&(e=this.length-1),e<0&&(e=this.length+e);for(var r=0,i=this.head;null!==i&&r<e;r++)i=i.next;var a=[];for(r=0;i&&r<t;r++)a.push(i.value),i=this.removeNode(i);null===i&&(i=this.tail),i!==this.head&&i!==this.tail&&(i=i.prev);for(r=0;r<n.length;r++)i=o(this,i,n[r]);return a},r.prototype.reverse=function(){for(var e=this.head,t=this.tail,n=e;null!==n;n=n.prev){var r=n.prev;n.prev=n.next,n.next=r}return this.head=t,this.tail=e,this};try{n(42066)(r)}catch(e){}},5467:function(e,t,n){"use strict";function r(e){return Object.keys(e).reduce((function(t,n){return!n.startsWith("data-")&&!n.startsWith("aria-")&&"role"!==n||n.startsWith("data-__")||(t[n]=e[n]),t}),{})}n.d(t,{Z:function(){return r}})},6385:function(e,t,n){"use strict";n.d(t,{ZP:function(){return le},w6:function(){return ae}});var r=n(87462),o=n(63017),i=n(56982),a=n(62435),c=n(8880),s=(0,a.createContext)(void 0),l=n(83008),u=n(67178),f=function(e){var t=e.locale,n=void 0===t?{}:t,o=e.children;e._ANT_MARK__;a.useEffect((function(){return(0,l.f)(n&&n.Modal),function(){(0,l.f)()}}),[n]);var i=a.useMemo((function(){return(0,r.Z)((0,r.Z)({},n),{exist:!0})}),[n]);return a.createElement(u.Z.Provider,{value:i},o)},p=n(23715),m=n(67630),h=n(12461),d=n(4942),v=n(8751),g=n(18429),E=n(97937),y=n(11475),b=n(45605),w=n(93967),C=n.n(w),Z=n(91127),x=n(97685),N=n(51550),S=n(53124);var I,O,R,A={},P=4.5,k=24,T=24,M="",L="topRight",j=!1;function $(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:k,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:T;switch(e){case"top":t={left:"50%",transform:"translateX(-50%)",right:"auto",top:n,bottom:"auto"};break;case"topLeft":t={left:0,top:n,bottom:"auto"};break;case"topRight":t={right:0,top:n,bottom:"auto"};break;case"bottom":t={left:"50%",transform:"translateX(-50%)",right:"auto",top:"auto",bottom:r};break;case"bottomLeft":t={left:0,top:"auto",bottom:r};break;default:t={right:0,top:"auto",bottom:r}}return t}function _(e,t){var n=e.placement,r=void 0===n?L:n,o=e.top,i=e.bottom,a=e.getContainer,c=void 0===a?I:a,s=e.prefixCls,l=ae(),u=l.getPrefixCls,f=l.getIconPrefixCls,p=u("notification",s||M),m=f(),h="".concat(p,"-").concat(r),v=A[h];if(v)Promise.resolve(v).then((function(e){t({prefixCls:"".concat(p,"-notice"),iconPrefixCls:m,instance:e})}));else{var g=C()("".concat(p,"-").concat(r),(0,d.Z)({},"".concat(p,"-rtl"),!0===j));A[h]=new Promise((function(e){Z.Z.newInstance({prefixCls:p,className:g,style:$(r,o,i),getContainer:c,maxCount:R},(function(n){e(n),t({prefixCls:"".concat(p,"-notice"),iconPrefixCls:m,instance:n})}))}))}}var D={success:v.Z,info:b.Z,error:g.Z,warning:y.Z};function F(e,t,n){var r=e.duration,o=e.icon,i=e.type,c=e.description,s=e.message,l=e.btn,u=e.onClose,f=e.onClick,p=e.key,m=e.style,h=e.className,v=e.closeIcon,g=void 0===v?O:v,y=e.props,b=void 0===r?P:r,w=null;o?w=a.createElement("span",{className:"".concat(t,"-icon")},e.icon):i&&(w=a.createElement(D[i]||null,{className:"".concat(t,"-icon ").concat(t,"-icon-").concat(i)}));var Z=void 0===g?a.createElement("span",{className:"".concat(t,"-close-x")},a.createElement(E.Z,{className:"".concat(t,"-close-icon")})):g,x=!c&&w?a.createElement("span",{className:"".concat(t,"-message-single-line-auto-margin")}):null;return{content:a.createElement(le,{iconPrefixCls:n},a.createElement("div",{className:w?"".concat(t,"-with-icon"):"",role:"alert"},w,a.createElement("div",{className:"".concat(t,"-message")},x,s),a.createElement("div",{className:"".concat(t,"-description")},c),l?a.createElement("span",{className:"".concat(t,"-btn")},l):null)),duration:b,closable:!0,closeIcon:Z,onClose:u,onClick:f,key:p,style:m||{},className:C()(h,(0,d.Z)({},"".concat(t,"-").concat(i),!!i)),props:y}}var H={open:function(e){_(e,(function(t){var n=t.prefixCls,r=t.iconPrefixCls;t.instance.notice(F(e,n,r))}))},close:function(e){Object.keys(A).forEach((function(t){return Promise.resolve(A[t]).then((function(t){t.removeNotice(e)}))}))},config:function(e){var t=e.duration,n=e.placement,r=e.bottom,o=e.top,i=e.getContainer,a=e.closeIcon,c=e.prefixCls;void 0!==c&&(M=c),void 0!==t&&(P=t),void 0!==n?L=n:e.rtl&&(L="topLeft"),void 0!==r&&(T=r),void 0!==o&&(k=o),void 0!==i&&(I=i),void 0!==a&&(O=a),void 0!==e.rtl&&(j=e.rtl),void 0!==e.maxCount&&(R=e.maxCount)},destroy:function(){Object.keys(A).forEach((function(e){Promise.resolve(A[e]).then((function(e){e.destroy()})),delete A[e]}))}};["success","info","warning","error"].forEach((function(e){H[e]=function(t){return H.open((0,r.Z)((0,r.Z)({},t),{type:e}))}})),H.warn=H.warning,H.useNotification=function(e,t){return function(){var n,o=null,i={add:function(e,t){null==o||o.component.add(e,t)}},c=(0,N.Z)(i),s=(0,x.Z)(c,2),l=s[0],u=s[1];var f=a.useRef({});return f.current.open=function(i){var a=i.prefixCls,c=n("notification",a);e((0,r.Z)((0,r.Z)({},i),{prefixCls:c}),(function(e){var n=e.prefixCls,r=e.instance;o=r,l(t(i,n))}))},["success","info","warning","error"].forEach((function(e){f.current[e]=function(t){return f.current.open((0,r.Z)((0,r.Z)({},t),{type:e}))}})),[f.current,a.createElement(S.C,{key:"holder"},(function(e){return n=e.getPrefixCls,u}))]}}(_,F);var V=H,z=n(92138),U=n(86500),G=n(48701),B=n(1350),W=n(90279),X=function(){function e(t,n){var r;if(void 0===t&&(t=""),void 0===n&&(n={}),t instanceof e)return t;"number"==typeof t&&(t=(0,U.Yt)(t)),this.originalInput=t;var o=(0,B.uA)(t);this.originalInput=t,this.r=o.r,this.g=o.g,this.b=o.b,this.a=o.a,this.roundA=Math.round(100*this.a)/100,this.format=null!==(r=n.format)&&void 0!==r?r:o.format,this.gradientType=n.gradientType,this.r<1&&(this.r=Math.round(this.r)),this.g<1&&(this.g=Math.round(this.g)),this.b<1&&(this.b=Math.round(this.b)),this.isValid=o.ok}return e.prototype.isDark=function(){return this.getBrightness()<128},e.prototype.isLight=function(){return!this.isDark()},e.prototype.getBrightness=function(){var e=this.toRgb();return(299*e.r+587*e.g+114*e.b)/1e3},e.prototype.getLuminance=function(){var e=this.toRgb(),t=e.r/255,n=e.g/255,r=e.b/255;return.2126*(t<=.03928?t/12.92:Math.pow((t+.055)/1.055,2.4))+.7152*(n<=.03928?n/12.92:Math.pow((n+.055)/1.055,2.4))+.0722*(r<=.03928?r/12.92:Math.pow((r+.055)/1.055,2.4))},e.prototype.getAlpha=function(){return this.a},e.prototype.setAlpha=function(e){return this.a=(0,W.Yq)(e),this.roundA=Math.round(100*this.a)/100,this},e.prototype.isMonochrome=function(){return 0===this.toHsl().s},e.prototype.toHsv=function(){var e=(0,U.py)(this.r,this.g,this.b);return{h:360*e.h,s:e.s,v:e.v,a:this.a}},e.prototype.toHsvString=function(){var e=(0,U.py)(this.r,this.g,this.b),t=Math.round(360*e.h),n=Math.round(100*e.s),r=Math.round(100*e.v);return 1===this.a?"hsv(".concat(t,", ").concat(n,"%, ").concat(r,"%)"):"hsva(".concat(t,", ").concat(n,"%, ").concat(r,"%, ").concat(this.roundA,")")},e.prototype.toHsl=function(){var e=(0,U.lC)(this.r,this.g,this.b);return{h:360*e.h,s:e.s,l:e.l,a:this.a}},e.prototype.toHslString=function(){var e=(0,U.lC)(this.r,this.g,this.b),t=Math.round(360*e.h),n=Math.round(100*e.s),r=Math.round(100*e.l);return 1===this.a?"hsl(".concat(t,", ").concat(n,"%, ").concat(r,"%)"):"hsla(".concat(t,", ").concat(n,"%, ").concat(r,"%, ").concat(this.roundA,")")},e.prototype.toHex=function(e){return void 0===e&&(e=!1),(0,U.vq)(this.r,this.g,this.b,e)},e.prototype.toHexString=function(e){return void 0===e&&(e=!1),"#"+this.toHex(e)},e.prototype.toHex8=function(e){return void 0===e&&(e=!1),(0,U.s)(this.r,this.g,this.b,this.a,e)},e.prototype.toHex8String=function(e){return void 0===e&&(e=!1),"#"+this.toHex8(e)},e.prototype.toHexShortString=function(e){return void 0===e&&(e=!1),1===this.a?this.toHexString(e):this.toHex8String(e)},e.prototype.toRgb=function(){return{r:Math.round(this.r),g:Math.round(this.g),b:Math.round(this.b),a:this.a}},e.prototype.toRgbString=function(){var e=Math.round(this.r),t=Math.round(this.g),n=Math.round(this.b);return 1===this.a?"rgb(".concat(e,", ").concat(t,", ").concat(n,")"):"rgba(".concat(e,", ").concat(t,", ").concat(n,", ").concat(this.roundA,")")},e.prototype.toPercentageRgb=function(){var e=function(e){return"".concat(Math.round(100*(0,W.sh)(e,255)),"%")};return{r:e(this.r),g:e(this.g),b:e(this.b),a:this.a}},e.prototype.toPercentageRgbString=function(){var e=function(e){return Math.round(100*(0,W.sh)(e,255))};return 1===this.a?"rgb(".concat(e(this.r),"%, ").concat(e(this.g),"%, ").concat(e(this.b),"%)"):"rgba(".concat(e(this.r),"%, ").concat(e(this.g),"%, ").concat(e(this.b),"%, ").concat(this.roundA,")")},e.prototype.toName=function(){if(0===this.a)return"transparent";if(this.a<1)return!1;for(var e="#"+(0,U.vq)(this.r,this.g,this.b,!1),t=0,n=Object.entries(G.R);t<n.length;t++){var r=n[t],o=r[0];if(e===r[1])return o}return!1},e.prototype.toString=function(e){var t=Boolean(e);e=null!=e?e:this.format;var n=!1,r=this.a<1&&this.a>=0;return t||!r||!e.startsWith("hex")&&"name"!==e?("rgb"===e&&(n=this.toRgbString()),"prgb"===e&&(n=this.toPercentageRgbString()),"hex"!==e&&"hex6"!==e||(n=this.toHexString()),"hex3"===e&&(n=this.toHexString(!0)),"hex4"===e&&(n=this.toHex8String(!0)),"hex8"===e&&(n=this.toHex8String()),"name"===e&&(n=this.toName()),"hsl"===e&&(n=this.toHslString()),"hsv"===e&&(n=this.toHsvString()),n||this.toHexString()):"name"===e&&0===this.a?this.toName():this.toRgbString()},e.prototype.toNumber=function(){return(Math.round(this.r)<<16)+(Math.round(this.g)<<8)+Math.round(this.b)},e.prototype.clone=function(){return new e(this.toString())},e.prototype.lighten=function(t){void 0===t&&(t=10);var n=this.toHsl();return n.l+=t/100,n.l=(0,W.V2)(n.l),new e(n)},e.prototype.brighten=function(t){void 0===t&&(t=10);var n=this.toRgb();return n.r=Math.max(0,Math.min(255,n.r-Math.round(-t/100*255))),n.g=Math.max(0,Math.min(255,n.g-Math.round(-t/100*255))),n.b=Math.max(0,Math.min(255,n.b-Math.round(-t/100*255))),new e(n)},e.prototype.darken=function(t){void 0===t&&(t=10);var n=this.toHsl();return n.l-=t/100,n.l=(0,W.V2)(n.l),new e(n)},e.prototype.tint=function(e){return void 0===e&&(e=10),this.mix("white",e)},e.prototype.shade=function(e){return void 0===e&&(e=10),this.mix("black",e)},e.prototype.desaturate=function(t){void 0===t&&(t=10);var n=this.toHsl();return n.s-=t/100,n.s=(0,W.V2)(n.s),new e(n)},e.prototype.saturate=function(t){void 0===t&&(t=10);var n=this.toHsl();return n.s+=t/100,n.s=(0,W.V2)(n.s),new e(n)},e.prototype.greyscale=function(){return this.desaturate(100)},e.prototype.spin=function(t){var n=this.toHsl(),r=(n.h+t)%360;return n.h=r<0?360+r:r,new e(n)},e.prototype.mix=function(t,n){void 0===n&&(n=50);var r=this.toRgb(),o=new e(t).toRgb(),i=n/100;return new e({r:(o.r-r.r)*i+r.r,g:(o.g-r.g)*i+r.g,b:(o.b-r.b)*i+r.b,a:(o.a-r.a)*i+r.a})},e.prototype.analogous=function(t,n){void 0===t&&(t=6),void 0===n&&(n=30);var r=this.toHsl(),o=360/n,i=[this];for(r.h=(r.h-(o*t>>1)+720)%360;--t;)r.h=(r.h+o)%360,i.push(new e(r));return i},e.prototype.complement=function(){var t=this.toHsl();return t.h=(t.h+180)%360,new e(t)},e.prototype.monochromatic=function(t){void 0===t&&(t=6);for(var n=this.toHsv(),r=n.h,o=n.s,i=n.v,a=[],c=1/t;t--;)a.push(new e({h:r,s:o,v:i})),i=(i+c)%1;return a},e.prototype.splitcomplement=function(){var t=this.toHsl(),n=t.h;return[this,new e({h:(n+72)%360,s:t.s,l:t.l}),new e({h:(n+216)%360,s:t.s,l:t.l})]},e.prototype.onBackground=function(t){var n=this.toRgb(),r=new e(t).toRgb(),o=n.a+r.a*(1-n.a);return new e({r:(n.r*n.a+r.r*r.a*(1-n.a))/o,g:(n.g*n.a+r.g*r.a*(1-n.a))/o,b:(n.b*n.a+r.b*r.a*(1-n.a))/o,a:o})},e.prototype.triad=function(){return this.polyad(3)},e.prototype.tetrad=function(){return this.polyad(4)},e.prototype.polyad=function(t){for(var n=this.toHsl(),r=n.h,o=[this],i=360/t,a=1;a<t;a++)o.push(new e({h:(r+a*i)%360,s:n.s,l:n.l}));return o},e.prototype.equals=function(t){return this.toRgbString()===new e(t).toRgbString()},e}();var K=n(98924),Y=n(44958),q="-ant-".concat(Date.now(),"-").concat(Math.random());function Q(e,t){var n=function(e,t){var n={},r=function(e,t){var n=e.clone();return(n=(null==t?void 0:t(n))||n).toRgbString()},o=function(e,t){var o=new X(e),i=(0,z.R_)(o.toRgbString());n["".concat(t,"-color")]=r(o),n["".concat(t,"-color-disabled")]=i[1],n["".concat(t,"-color-hover")]=i[4],n["".concat(t,"-color-active")]=i[6],n["".concat(t,"-color-outline")]=o.clone().setAlpha(.2).toRgbString(),n["".concat(t,"-color-deprecated-bg")]=i[0],n["".concat(t,"-color-deprecated-border")]=i[2]};if(t.primaryColor){o(t.primaryColor,"primary");var i=new X(t.primaryColor),a=(0,z.R_)(i.toRgbString());a.forEach((function(e,t){n["primary-".concat(t+1)]=e})),n["primary-color-deprecated-l-35"]=r(i,(function(e){return e.lighten(35)})),n["primary-color-deprecated-l-20"]=r(i,(function(e){return e.lighten(20)})),n["primary-color-deprecated-t-20"]=r(i,(function(e){return e.tint(20)})),n["primary-color-deprecated-t-50"]=r(i,(function(e){return e.tint(50)})),n["primary-color-deprecated-f-12"]=r(i,(function(e){return e.setAlpha(.12*e.getAlpha())}));var c=new X(a[0]);n["primary-color-active-deprecated-f-30"]=r(c,(function(e){return e.setAlpha(.3*e.getAlpha())})),n["primary-color-active-deprecated-d-02"]=r(c,(function(e){return e.darken(2)}))}t.successColor&&o(t.successColor,"success"),t.warningColor&&o(t.warningColor,"warning"),t.errorColor&&o(t.errorColor,"error"),t.infoColor&&o(t.infoColor,"info");var s=Object.keys(n).map((function(t){return"--".concat(e,"-").concat(t,": ").concat(n[t],";")}));return"\n :root {\n ".concat(s.join("\n"),"\n }\n ").trim()}(e,t);(0,K.Z)()&&(0,Y.hq)(n,"".concat(q,"-dynamic-theme"))}var J,ee,te=n(98866),ne=n(97647),re=["getTargetContainer","getPopupContainer","renderEmpty","pageHeader","input","pagination","form"];function oe(){return J||"ant"}function ie(){return ee||"anticon"}var ae=function(){return{getPrefixCls:function(e,t){return t||(e?"".concat(oe(),"-").concat(e):oe())},getIconPrefixCls:ie,getRootPrefixCls:function(e,t){return e||(J||(t&&t.includes("-")?t.replace(/^(.*)-[^-]*$/,"$1"):oe()))}}},ce=function(e){var t=e.children,n=e.csp,l=e.autoInsertSpaceInButton,u=e.form,p=e.locale,h=e.componentSize,d=e.direction,v=e.space,g=e.virtual,E=e.dropdownMatchSelectWidth,y=e.legacyLocale,b=e.parentContext,w=e.iconPrefixCls,C=e.componentDisabled,Z=a.useCallback((function(t,n){var r=e.prefixCls;if(n)return n;var o=r||b.getPrefixCls("");return t?"".concat(o,"-").concat(t):o}),[b.getPrefixCls,e.prefixCls]),x=(0,r.Z)((0,r.Z)({},b),{csp:n,autoInsertSpaceInButton:l,locale:p||y,direction:d,space:v,virtual:g,dropdownMatchSelectWidth:E,getPrefixCls:Z});re.forEach((function(t){var n=e[t];n&&(x[t]=n)}));var N=(0,i.Z)((function(){return x}),x,(function(e,t){var n=Object.keys(e),r=Object.keys(t);return n.length!==r.length||n.some((function(n){return e[n]!==t[n]}))})),I=a.useMemo((function(){return{prefixCls:w,csp:n}}),[w,n]),O=t,R=a.useMemo((function(){var e,t,n,r;return(0,c.T)((null===(e=m.Z.Form)||void 0===e?void 0:e.defaultValidateMessages)||{},(null===(n=null===(t=N.locale)||void 0===t?void 0:t.Form)||void 0===n?void 0:n.defaultValidateMessages)||{},(null===(r=N.form)||void 0===r?void 0:r.validateMessages)||{},(null==u?void 0:u.validateMessages)||{})}),[N,null==u?void 0:u.validateMessages]);return Object.keys(R).length>0&&(O=a.createElement(s.Provider,{value:R},t)),p&&(O=a.createElement(f,{locale:p,_ANT_MARK__:"internalMark"},O)),(w||n)&&(O=a.createElement(o.Z.Provider,{value:I},O)),h&&(O=a.createElement(ne.q,{size:h},O)),void 0!==C&&(O=a.createElement(te.n,{disabled:C},O)),a.createElement(S.E_.Provider,{value:N},O)},se=function(e){return a.useEffect((function(){e.direction&&(h.ZP.config({rtl:"rtl"===e.direction}),V.config({rtl:"rtl"===e.direction}))}),[e.direction]),a.createElement(p.Z,null,(function(t,n,o){return a.createElement(S.C,null,(function(t){return a.createElement(ce,(0,r.Z)({parentContext:t,legacyLocale:o},e))}))}))};se.ConfigContext=S.E_,se.SizeContext=ne.Z,se.config=function(e){var t=e.prefixCls,n=e.iconPrefixCls,r=e.theme;void 0!==t&&(J=t),void 0!==n&&(ee=n),r&&Q(oe(),r)};var le=se},13013:function(e,t,n){"use strict";var r=n(96507);t.Z=r.Z},12461:function(e,t,n){"use strict";n.d(t,{Df:function(){return M},ZP:function(){return L},S$:function(){return O},z$:function(){return P}});var r,o=n(87462),i=n(4942),a=n(89739),c=n(4340),s=n(21640),l=n(78860),u=n(50888),f=n(93967),p=n.n(f),m=n(91127),h=n(62435),d=n(6385),v=n(97685),g=n(51550),E=n(53124);var y,b,w,C=3,Z=1,x="",N="move-up",S=!1,I=!1;function O(){return Z++}function R(e,t){var n=e.prefixCls,o=e.getPopupContainer,i=(0,d.w6)(),a=i.getPrefixCls,c=i.getRootPrefixCls,s=i.getIconPrefixCls,l=a("message",n||x),u=c(e.rootPrefixCls,l),f=s();if(r)t({prefixCls:l,rootPrefixCls:u,iconPrefixCls:f,instance:r});else{var p={prefixCls:l,transitionName:S?N:"".concat(u,"-").concat(N),style:{top:y},getContainer:b||o,maxCount:w};m.Z.newInstance(p,(function(e){r?t({prefixCls:l,rootPrefixCls:u,iconPrefixCls:f,instance:r}):(r=e,t({prefixCls:l,rootPrefixCls:u,iconPrefixCls:f,instance:e}))}))}}var A={info:l.Z,success:a.Z,error:c.Z,warning:s.Z,loading:u.Z},P=Object.keys(A);function k(e,t,n){var r=void 0!==e.duration?e.duration:C,o=A[e.type],a=p()("".concat(t,"-custom-content"),(0,i.Z)((0,i.Z)({},"".concat(t,"-").concat(e.type),e.type),"".concat(t,"-rtl"),!0===I));return{key:e.key,duration:r,style:e.style||{},className:e.className,content:h.createElement(d.ZP,{iconPrefixCls:n},h.createElement("div",{className:a},e.icon||o&&h.createElement(o,null),h.createElement("span",null,e.content))),onClose:e.onClose,onClick:e.onClick}}var T={open:function(e){var t=e.key||O(),n=new Promise((function(n){var r=function(){return"function"==typeof e.onClose&&e.onClose(),n(!0)};R(e,(function(n){var i=n.prefixCls,a=n.iconPrefixCls;n.instance.notice(k((0,o.Z)((0,o.Z)({},e),{key:t,onClose:r}),i,a))}))})),i=function(){var n;r&&(r.removeNotice(t),null===(n=e.onClose)||void 0===n||n.call(e))};return i.then=function(e,t){return n.then(e,t)},i.promise=n,i},config:function(e){void 0!==e.top&&(y=e.top,r=null),void 0!==e.duration&&(C=e.duration),void 0!==e.prefixCls&&(x=e.prefixCls),void 0!==e.getContainer&&(b=e.getContainer,r=null),void 0!==e.transitionName&&(N=e.transitionName,r=null,S=!0),void 0!==e.maxCount&&(w=e.maxCount,r=null),void 0!==e.rtl&&(I=e.rtl)},destroy:function(e){if(r)if(e){(0,r.removeNotice)(e)}else{var t=r.destroy;t(),r=null}}};function M(e,t){e[t]=function(n,r,i){return function(e){return"[object Object]"===Object.prototype.toString.call(e)&&!!e.content}(n)?e.open((0,o.Z)((0,o.Z)({},n),{type:t})):("function"==typeof r&&(i=r,r=void 0),e.open({content:n,duration:r,type:t,onClose:i}))}}P.forEach((function(e){return M(T,e)})),T.warn=T.warning,T.useMessage=function(e,t){return function(){var n,r,i=null,a={add:function(e,t){null==i||i.component.add(e,t)}},c=(0,g.Z)(a),s=(0,v.Z)(c,2),l=s[0],u=s[1];var f=h.useRef({});return f.current.open=function(a){var c=a.prefixCls,s=n("message",c),u=n(),f=a.key||O(),p=new Promise((function(n){var c=function(){return"function"==typeof a.onClose&&a.onClose(),n(!0)};e((0,o.Z)((0,o.Z)({},a),{prefixCls:s,rootPrefixCls:u,getPopupContainer:r}),(function(e){var n=e.prefixCls,r=e.instance;i=r,l(t((0,o.Z)((0,o.Z)({},a),{key:f,onClose:c}),n))}))})),m=function(){i&&i.removeNotice(f)};return m.then=function(e,t){return p.then(e,t)},m.promise=p,m},P.forEach((function(e){return M(f.current,e)})),[f.current,h.createElement(E.C,{key:"holder"},(function(e){return n=e.getPrefixCls,r=e.getPopupContainer,u}))]}}(R,k);var L=T},83008:function(e,t,n){"use strict";n.d(t,{A:function(){return c},f:function(){return a}});var r=n(87462),o=n(67630),i=(0,r.Z)({},o.Z.Modal);function a(e){i=e?(0,r.Z)((0,r.Z)({},i),e):(0,r.Z)({},o.Z.Modal)}function c(){return i}},51784:function(e,t,n){"use strict";n.d(t,{Z:function(){return m}});var r=n(87462),o=n(4942),i=n(15671),a=n(43144),c=n(32531),s=n(73568),l=n(62435),u=n(61254),f=n(93967),p=n.n(f),m=function(e){(0,c.Z)(n,e);var t=(0,s.Z)(n);function n(){var e;(0,i.Z)(this,n);for(var r=arguments.length,o=new Array(r),a=0;a<r;a++)o[a]=arguments[a];return(e=t.call.apply(t,[this].concat(o))).closeTimer=null,e.close=function(t){t&&t.stopPropagation(),e.clearCloseTimer();var n=e.props,r=n.onClose,o=n.noticeKey;r&&r(o)},e.startCloseTimer=function(){e.props.duration&&(e.closeTimer=window.setTimeout((function(){e.close()}),1e3*e.props.duration))},e.clearCloseTimer=function(){e.closeTimer&&(clearTimeout(e.closeTimer),e.closeTimer=null)},e}return(0,a.Z)(n,[{key:"componentDidMount",value:function(){this.startCloseTimer()}},{key:"componentDidUpdate",value:function(e){(this.props.duration!==e.duration||this.props.updateMark!==e.updateMark||this.props.visible!==e.visible&&this.props.visible)&&this.restartCloseTimer()}},{key:"componentWillUnmount",value:function(){this.clearCloseTimer()}},{key:"restartCloseTimer",value:function(){this.clearCloseTimer(),this.startCloseTimer()}},{key:"render",value:function(){var e=this,t=this.props,n=t.prefixCls,i=t.className,a=t.closable,c=t.closeIcon,s=t.style,f=t.onClick,m=t.children,h=t.holder,d="".concat(n,"-notice"),v=Object.keys(this.props).reduce((function(t,n){return"data-"!==n.substr(0,5)&&"aria-"!==n.substr(0,5)&&"role"!==n||(t[n]=e.props[n]),t}),{}),g=l.createElement("div",(0,r.Z)({className:p()(d,i,(0,o.Z)({},"".concat(d,"-closable"),a)),style:s,onMouseEnter:this.clearCloseTimer,onMouseLeave:this.startCloseTimer,onClick:f},v),l.createElement("div",{className:"".concat(d,"-content")},m),a?l.createElement("a",{tabIndex:0,onClick:this.close,className:"".concat(d,"-close")},c||l.createElement("span",{className:"".concat(d,"-close-x")})):null);return h?u.createPortal(g,h):g}}]),n}(l.Component);m.defaultProps={onClose:function(){},duration:1.5}},91127:function(e,t,n){"use strict";n.d(t,{Z:function(){return C}});var r=n(91),o=n(87462),i=n(1413),a=n(15671),c=n(43144),s=n(32531),l=n(73568),u=n(62435),f=n(38135),p=n(93967),m=n.n(p),h=n(82225),d=n(51784),v=n(51550),g=["getContainer"],E=0,y=Date.now();function b(){var e=E;return E+=1,"rcNotification_".concat(y,"_").concat(e)}var w=function(e){(0,s.Z)(n,e);var t=(0,l.Z)(n);function n(){var e;(0,a.Z)(this,n);for(var r=arguments.length,o=new Array(r),c=0;c<r;c++)o[c]=arguments[c];return(e=t.call.apply(t,[this].concat(o))).state={notices:[]},e.hookRefs=new Map,e.add=function(t,n){var r,o=null!==(r=t.key)&&void 0!==r?r:b(),a=(0,i.Z)((0,i.Z)({},t),{},{key:o}),c=e.props.maxCount;e.setState((function(e){var t=e.notices,r=t.map((function(e){return e.notice.key})).indexOf(o),i=t.concat();return-1!==r?i.splice(r,1,{notice:a,holderCallback:n}):(c&&t.length>=c&&(a.key=i[0].notice.key,a.updateMark=b(),a.userPassKey=o,i.shift()),i.push({notice:a,holderCallback:n})),{notices:i}}))},e.remove=function(t){e.setState((function(e){return{notices:e.notices.filter((function(e){var n=e.notice,r=n.key,o=n.userPassKey;return(null!=o?o:r)!==t}))}}))},e.noticePropsMap={},e}return(0,c.Z)(n,[{key:"getTransitionName",value:function(){var e=this.props,t=e.prefixCls,n=e.animation,r=this.props.transitionName;return!r&&n&&(r="".concat(t,"-").concat(n)),r}},{key:"render",value:function(){var e=this,t=this.state.notices,n=this.props,r=n.prefixCls,a=n.className,c=n.closeIcon,s=n.style,l=[];return t.forEach((function(n,o){var a=n.notice,s=n.holderCallback,u=o===t.length-1?a.updateMark:void 0,f=a.key,p=a.userPassKey,m=(0,i.Z)((0,i.Z)((0,i.Z)({prefixCls:r,closeIcon:c},a),a.props),{},{key:f,noticeKey:p||f,updateMark:u,onClose:function(t){var n;e.remove(t),null===(n=a.onClose)||void 0===n||n.call(a)},onClick:a.onClick,children:a.content});l.push(f),e.noticePropsMap[f]={props:m,holderCallback:s}})),u.createElement("div",{className:m()(r,a),style:s},u.createElement(h.V4,{keys:l,motionName:this.getTransitionName(),onVisibleChanged:function(t,n){var r=n.key;t||delete e.noticePropsMap[r]}},(function(t){var n=t.key,a=t.className,c=t.style,s=t.visible,l=e.noticePropsMap[n],f=l.props,p=l.holderCallback;return p?u.createElement("div",{key:n,className:m()(a,"".concat(r,"-hook-holder")),style:(0,i.Z)({},c),ref:function(t){void 0!==n&&(t?(e.hookRefs.set(n,t),p(t,f)):e.hookRefs.delete(n))}}):u.createElement(d.Z,(0,o.Z)({},f,{className:m()(a,null==f?void 0:f.className),style:(0,i.Z)((0,i.Z)({},c),null==f?void 0:f.style),visible:s}))})))}}]),n}(u.Component);w.newInstance=void 0,w.defaultProps={prefixCls:"rc-notification",animation:"fade",style:{top:65,left:"50%"}},w.newInstance=function(e,t){var n=e||{},i=n.getContainer,a=(0,r.Z)(n,g),c=document.createElement("div");i?i().appendChild(c):document.body.appendChild(c);var s=!1;(0,f.s)(u.createElement(w,(0,o.Z)({},a,{ref:function(e){s||(s=!0,t({notice:function(t){e.add(t)},removeNotice:function(t){e.remove(t)},component:e,destroy:function(){(0,f.v)(c),c.parentNode&&c.parentNode.removeChild(c)},useNotification:function(){return(0,v.Z)(e)}}))}})),c)};var C=w},51550:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(74902),o=n(87462),i=n(97685),a=n(62435),c=n(51784);function s(e){var t=a.useRef({}),n=a.useState([]),s=(0,i.Z)(n,2),l=s[0],u=s[1];return[function(n){var i=!0;e.add(n,(function(e,n){var s=n.key;if(e&&(!t.current[s]||i)){var l=a.createElement(c.Z,(0,o.Z)({},n,{holder:e}));t.current[s]=l,u((function(e){var t=e.findIndex((function(e){return e.key===n.key}));if(-1===t)return[].concat((0,r.Z)(e),[l]);var o=(0,r.Z)(e);return o[t]=l,o}))}i=!1}))},a.createElement(a.Fragment,null,l)]}},38135:function(e,t,n){"use strict";var r;n.d(t,{s:function(){return v},v:function(){return b}});var o,i=n(74165),a=n(15861),c=n(71002),s=n(1413),l=n(61254),u=(0,s.Z)({},r||(r=n.t(l,2))),f=u.version,p=u.render,m=u.unmountComponentAtNode;try{Number((f||"").split(".")[0])>=18&&(o=u.createRoot)}catch(e){}function h(e){var t=u.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;t&&"object"===(0,c.Z)(t)&&(t.usingClientEntryPoint=e)}var d="__rc_react_root__";function v(e,t){o?function(e,t){h(!0);var n=t[d]||o(t);h(!1),n.render(e),t[d]=n}(e,t):function(e,t){p(e,t)}(e,t)}function g(e){return E.apply(this,arguments)}function E(){return(E=(0,a.Z)((0,i.Z)().mark((function e(t){return(0,i.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Promise.resolve().then((function(){var e;null===(e=t[d])||void 0===e||e.unmount(),delete t[d]})));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function y(e){m(e)}function b(e){return w.apply(this,arguments)}function w(){return(w=(0,a.Z)((0,i.Z)().mark((function e(t){return(0,i.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(void 0===o){e.next=2;break}return e.abrupt("return",g(t));case 2:y(t);case 3:case"end":return e.stop()}}),e)})))).apply(this,arguments)}},113:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(62435);var o="undefined"!=typeof window,i=function(e,t){var n=(0,r.useState)(function(e,t){return void 0!==t?t:!!o&&window.matchMedia(e).matches}(e,t)),i=n[0],a=n[1];return(0,r.useEffect)((function(){var t=!0,n=window.matchMedia(e),r=function(){t&&a(!!n.matches)};return n.addEventListener("change",r),a(n.matches),function(){t=!1,n.removeEventListener("change",r)}}),[e]),i}},10443:function(e){function t(e){this.uri=e,this._pos=0,this._parse()}t.prototype._end=function(){return this._pos>=this.uri.length},t.prototype._next=function(){return this.uri[this._pos+=1]},t.prototype._current=function(){return this.uri[this._pos]},t.prototype._skip=function(e){if(e)for(;-1===e.indexOf(this._next())&&!this._end(););else this._pos=this.uri.length},t.prototype._sub=function(e){return this.uri.substring(e,this._pos)},t.prototype.all=function(){return{schema:this.schema,host:this.host,port:this.port,username:this.username,password:this.password,path:this.path,query:this.query,fragment:this.fragment,extension:this.extension}},t.prototype.toURI=function(){var e,t="";return t+=this.schema+"://",t+=this.username&&this.password?this.username+":"+this.password+"@":"",t+=this.host,t+=this.port?":"+this.port:"",t+=this.path?"/"+this.path:"",t+=(e=this._stringifyQuery(this.query))?"?"+e:"",t+=this.fragment?"#"+this.fragment:"",t+=(e=this._stringifyQuery(this.extension))?";"+e:""},t.prototype._parseQuery=function(e){for(var t,n=e.split("&"),r=n.length,o={},i=0;i<r;i++)(t=n[i].split("="))[0]&&(o[t[0]]=t[1]);return o},t.prototype._stringifyQuery=function(e){if(!e)return"";var t=[];return Object.keys(e).forEach((function(n){t.push(n+"="+(e[n]?e[n]:""))})),t.join("&")},t.prototype._parse=function(){var e=0,t=this.uri.indexOf("://");if(-1===t)throw new Error('scheme should followed by "://".');if(this._pos=t,this.schema=this._sub(e),this._pos=t+3,e=this._pos,-1!==this.uri.indexOf("@",this._pos)){this._skip("@");var n=this._sub(e).split(":");if(2!==n.length)throw new Error("username and password must be paired.");this.username=n[0],this.password=n[1],this._next(),e=this._pos}this._skip("/?#;");var r=this._sub(e).split(":");this.host=r[0],this.port=r[1],e=this._pos,"/"===this._current()&&(this._skip("?#;"),this.path=this._sub(e+1),e=this._pos),"?"===this._current()&&(this._skip("#;"),this.query=this._parseQuery(this._sub(e+1)),e=this._pos),"#"===this._current()&&(this._skip(";"),this.fragment=this._sub(e+1),e=this._pos),";"===this._current()&&(this._skip(),this.extension=this._parseQuery(this._sub(e+1)))},e.exports=t},76579:function(e,t){"use strict";t.Z=function(e,t){for(var n=-1,r=null==e?0:e.length;++n<r&&!1!==t(e[n],n,e););return e}},72954:function(e,t,n){"use strict";var r=n(74752),o=n(79651),i=Object.prototype.hasOwnProperty;t.Z=function(e,t,n){var a=e[t];i.call(e,t)&&(0,o.Z)(a,n)&&(void 0!==n||t in e)||(0,r.Z)(e,t,n)}},22364:function(e,t,n){"use strict";var r=n(31899),o=n(17179);t.Z=function(e,t){return e&&(0,r.Z)(t,(0,o.Z)(t),e)}},74752:function(e,t,n){"use strict";var r=n(77904);t.Z=function(e,t,n){"__proto__"==t&&r.Z?(0,r.Z)(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}},38225:function(e,t,n){"use strict";n.d(t,{Z:function(){return V}});var r=n(31667),o=n(76579),i=n(72954),a=n(22364),c=n(31899),s=n(32957);var l=function(e,t){return e&&(0,c.Z)(t,(0,s.Z)(t),e)},u=n(91050),f=n(87215),p=n(95695);var m=function(e,t){return(0,c.Z)(e,(0,p.Z)(e),t)},h=n(17502);var d=function(e,t){return(0,c.Z)(e,(0,h.Z)(e),t)},v=n(1808),g=n(4403),E=n(68411),y=Object.prototype.hasOwnProperty;var b=function(e){var t=e.length,n=new e.constructor(t);return t&&"string"==typeof e[0]&&y.call(e,"index")&&(n.index=e.index,n.input=e.input),n},w=n(41884);var C=function(e,t){var n=t?(0,w.Z)(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)},Z=/\w*$/;var x=function(e){var t=new e.constructor(e.source,Z.exec(e));return t.lastIndex=e.lastIndex,t},N=n(17685),S=N.Z?N.Z.prototype:void 0,I=S?S.valueOf:void 0;var O=function(e){return I?Object(I.call(e)):{}},R=n(12701);var A=function(e,t,n){var r=e.constructor;switch(t){case"[object ArrayBuffer]":return(0,w.Z)(e);case"[object Boolean]":case"[object Date]":return new r(+e);case"[object DataView]":return C(e,n);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return(0,R.Z)(e,n);case"[object Map]":case"[object Set]":return new r;case"[object Number]":case"[object String]":return new r(e);case"[object RegExp]":return x(e);case"[object Symbol]":return O(e)}},P=n(96539),k=n(27771),T=n(65763),M=n(79108),L=n(77226),j=n(21878),$=n(17179),_="[object Arguments]",D="[object Function]",F="[object Object]",H={};H[_]=H["[object Array]"]=H["[object ArrayBuffer]"]=H["[object DataView]"]=H["[object Boolean]"]=H["[object Date]"]=H["[object Float32Array]"]=H["[object Float64Array]"]=H["[object Int8Array]"]=H["[object Int16Array]"]=H["[object Int32Array]"]=H["[object Map]"]=H["[object Number]"]=H[F]=H["[object RegExp]"]=H["[object Set]"]=H["[object String]"]=H["[object Symbol]"]=H["[object Uint8Array]"]=H["[object Uint8ClampedArray]"]=H["[object Uint16Array]"]=H["[object Uint32Array]"]=!0,H["[object Error]"]=H[D]=H["[object WeakMap]"]=!1;var V=function e(t,n,c,p,h,y){var w,C=1&n,Z=2&n,x=4&n;if(c&&(w=h?c(t,p,h,y):c(t)),void 0!==w)return w;if(!(0,L.Z)(t))return t;var N=(0,k.Z)(t);if(N){if(w=b(t),!C)return(0,f.Z)(t,w)}else{var S=(0,E.Z)(t),I=S==D||"[object GeneratorFunction]"==S;if((0,T.Z)(t))return(0,u.Z)(t,C);if(S==F||S==_||I&&!h){if(w=Z||I?{}:(0,P.Z)(t),!C)return Z?d(t,l(w,t)):m(t,(0,a.Z)(w,t))}else{if(!H[S])return h?t:{};w=A(t,S,C)}}y||(y=new r.Z);var O=y.get(t);if(O)return O;y.set(t,w),(0,j.Z)(t)?t.forEach((function(r){w.add(e(r,n,c,r,t,y))})):(0,M.Z)(t)&&t.forEach((function(r,o){w.set(o,e(r,n,c,o,t,y))}));var R=x?Z?g.Z:v.Z:Z?s.Z:$.Z,V=N?void 0:R(t);return(0,o.Z)(V||t,(function(r,o){V&&(r=t[o=r]),(0,i.Z)(w,o,e(r,n,c,o,t,y))})),w}},74705:function(e,t,n){"use strict";var r=n(77226),o=Object.create,i=function(){function e(){}return function(t){if(!(0,r.Z)(t))return{};if(o)return o(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}();t.Z=i},68882:function(e,t,n){"use strict";var r=n(69203);t.Z=function(e){return"function"==typeof e?e:r.Z}},41884:function(e,t,n){"use strict";var r=n(84073);t.Z=function(e){var t=new e.constructor(e.byteLength);return new r.Z(t).set(new r.Z(e)),t}},91050:function(e,t,n){"use strict";var r=n(66092),o="object"==typeof exports&&exports&&!exports.nodeType&&exports,i=o&&"object"==typeof module&&module&&!module.nodeType&&module,a=i&&i.exports===o?r.Z.Buffer:void 0,c=a?a.allocUnsafe:void 0;t.Z=function(e,t){if(t)return e.slice();var n=e.length,r=c?c(n):new e.constructor(n);return e.copy(r),r}},12701:function(e,t,n){"use strict";var r=n(41884);t.Z=function(e,t){var n=t?(0,r.Z)(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}},87215:function(e,t){"use strict";t.Z=function(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n<r;)t[n]=e[n];return t}},31899:function(e,t,n){"use strict";var r=n(72954),o=n(74752);t.Z=function(e,t,n,i){var a=!n;n||(n={});for(var c=-1,s=t.length;++c<s;){var l=t[c],u=i?i(n[l],e[l],l,n,e):void 0;void 0===u&&(u=e[l]),a?(0,o.Z)(n,l,u):(0,r.Z)(n,l,u)}return n}},77904:function(e,t,n){"use strict";var r=n(19507),o=function(){try{var e=(0,r.Z)(Object,"defineProperty");return e({},"",{}),e}catch(e){}}();t.Z=o},4403:function(e,t,n){"use strict";var r=n(63327),o=n(17502),i=n(32957);t.Z=function(e){return(0,r.Z)(e,i.Z,o.Z)}},12513:function(e,t,n){"use strict";var r=(0,n(1851).Z)(Object.getPrototypeOf,Object);t.Z=r},17502:function(e,t,n){"use strict";var r=n(58694),o=n(12513),i=n(95695),a=n(60532),c=Object.getOwnPropertySymbols?function(e){for(var t=[];e;)(0,r.Z)(t,(0,i.Z)(e)),e=(0,o.Z)(e);return t}:a.Z;t.Z=c},39047:function(e,t){"use strict";var n=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");t.Z=function(e){return n.test(e)}},96539:function(e,t,n){"use strict";var r=n(74705),o=n(12513),i=n(72764);t.Z=function(e){return"function"!=typeof e.constructor||(0,i.Z)(e)?{}:(0,r.Z)((0,o.Z)(e))}},7775:function(e,t,n){"use strict";n.d(t,{Z:function(){return E}});var r=(0,n(54193).Z)("length"),o=n(39047),i="\\ud800-\\udfff",a="["+i+"]",c="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",s="\\ud83c[\\udffb-\\udfff]",l="[^"+i+"]",u="(?:\\ud83c[\\udde6-\\uddff]){2}",f="[\\ud800-\\udbff][\\udc00-\\udfff]",p="(?:"+c+"|"+s+")"+"?",m="[\\ufe0e\\ufe0f]?",h=m+p+("(?:\\u200d(?:"+[l,u,f].join("|")+")"+m+p+")*"),d="(?:"+[l+c+"?",c,u,f,a].join("|")+")",v=RegExp(s+"(?="+s+")|"+d+h,"g");var g=function(e){for(var t=v.lastIndex=0;v.test(e);)++t;return t};var E=function(e){return(0,o.Z)(e)?g(e):r(e)}},70870:function(e,t,n){"use strict";var r=n(76579),o=n(91507),i=n(68882),a=n(27771);t.Z=function(e,t){return((0,a.Z)(e)?r.Z:o.Z)(e,(0,i.Z)(t))}},79108:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(68411),o=n(18533);var i=function(e){return(0,o.Z)(e)&&"[object Map]"==(0,r.Z)(e)},a=n(21162),c=n(98351),s=c.Z&&c.Z.isMap,l=s?(0,a.Z)(s):i},21878:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(68411),o=n(18533);var i=function(e){return(0,o.Z)(e)&&"[object Set]"==(0,r.Z)(e)},a=n(21162),c=n(98351),s=c.Z&&c.Z.isSet,l=s?(0,a.Z)(s):i},36378:function(e,t,n){"use strict";var r=n(93589),o=n(27771),i=n(18533);t.Z=function(e){return"string"==typeof e||!(0,o.Z)(e)&&(0,i.Z)(e)&&"[object String]"==(0,r.Z)(e)}},32957:function(e,t,n){"use strict";n.d(t,{Z:function(){return u}});var r=n(63771),o=n(77226),i=n(72764);var a=function(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t},c=Object.prototype.hasOwnProperty;var s=function(e){if(!(0,o.Z)(e))return a(e);var t=(0,i.Z)(e),n=[];for(var r in e)("constructor"!=r||!t&&c.call(e,r))&&n.push(r);return n},l=n(50585);var u=function(e){return(0,l.Z)(e)?(0,r.Z)(e,!0):s(e)}},31480:function(e,t,n){"use strict";var r=n(39473),o=n(68411),i=n(50585),a=n(36378),c=n(7775);t.Z=function(e){if(null==e)return 0;if((0,i.Z)(e))return(0,a.Z)(e)?(0,c.Z)(e):e.length;var t=(0,o.Z)(e);return"[object Map]"==t||"[object Set]"==t?e.size:(0,r.Z)(e).length}}}]);
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/antv-g2/antv-g2.git
git@gitee.com:antv-g2/antv-g2.git
antv-g2
antv-g2
antv-g2
gh-pages

搜索帮助

A270a887 8829481 3d7a4017 8829481