diff --git a/CONTRIBUTORS.svg b/CONTRIBUTORS.svg index d299f70863..5709d8026d 100644 --- a/CONTRIBUTORS.svg +++ b/CONTRIBUTORS.svg @@ -16,10 +16,10 @@ - - - + + + diff --git a/asset-manifest.json b/asset-manifest.json index 391a8cbcdc..81905fd3d4 100644 --- a/asset-manifest.json +++ b/asset-manifest.json @@ -1,7 +1,7 @@ { "files": { "main.css": "/static/css/main.16434244.css", - "main.js": "/static/js/main.2c9f6cd8.js", + "main.js": "/static/js/main.b4af8e8a.js", "static/css/9200.14abaeb3.chunk.css": "/static/css/9200.14abaeb3.chunk.css", "static/js/9200.0a1f7353.chunk.js": "/static/js/9200.0a1f7353.chunk.js", "static/css/6730.dc5e9ddc.chunk.css": "/static/css/6730.dc5e9ddc.chunk.css", @@ -217,7 +217,7 @@ "static/js/5183.ac2ca737.js": "/static/js/5183.ac2ca737.js", "index.html": "/index.html", "main.16434244.css.map": "/static/css/main.16434244.css.map", - "main.2c9f6cd8.js.map": "/static/js/main.2c9f6cd8.js.map", + "main.b4af8e8a.js.map": "/static/js/main.b4af8e8a.js.map", "9200.14abaeb3.chunk.css.map": "/static/css/9200.14abaeb3.chunk.css.map", "9200.0a1f7353.chunk.js.map": "/static/js/9200.0a1f7353.chunk.js.map", "6730.dc5e9ddc.chunk.css.map": "/static/css/6730.dc5e9ddc.chunk.css.map", @@ -436,6 +436,6 @@ "static/js/vendors-react.a09f50fb.js", "static/js/5183.ac2ca737.js", "static/css/main.16434244.css", - "static/js/main.2c9f6cd8.js" + "static/js/main.b4af8e8a.js" ] } \ No newline at end of file diff --git a/index.html b/index.html index f6a3a76360..97bd5d6fb1 100644 --- a/index.html +++ b/index.html @@ -1 +1 @@ -uiw react, A high quality UI Toolkit, A Component Library for React 16+.
\ No newline at end of file +uiw react, A high quality UI Toolkit, A Component Library for React 16+.
\ No newline at end of file diff --git a/static/js/main.2c9f6cd8.js b/static/js/main.2c9f6cd8.js deleted file mode 100644 index 34d094676b..0000000000 --- a/static/js/main.2c9f6cd8.js +++ /dev/null @@ -1,2 +0,0 @@ -!function(){"use strict";var e={62545:function(e,t,n){n(41473);var i=n(69286),r=(0,i.jsx)("svg",{viewBox:"0 0 20 20",width:"23",height:"23",version:"1.1",children:(0,i.jsx)("g",{stroke:"none",strokeWidth:"1",fill:"none",fillRule:"evenodd",children:(0,i.jsx)("path",{d:"M5.70480219,0 L10.4096044,3.41834667 L8.61252986,8.94934776 L2.79707453,8.94934776 L1,3.41834667 L5.70480219,0 Z M5.70480219,20 L1,16.5816533 L2.79707453,11.0506522 L8.61252986,11.0506522 L10.4096044,16.5816533 L5.70480219,20 Z M18.8709653,12.9678909 L13.3400514,14.7649021 L9.92167142,10.0599974 L13.3399103,5.35519519 L18.8708781,7.15237223 L18.8709653,12.9678909 Z",fill:"#FFFFFF"})})}),a=(0,i.jsx)("svg",{viewBox:"0 0 20 20",version:"1.1",children:(0,i.jsx)("g",{stroke:"none",strokeWidth:"1",fill:"none",fillRule:"evenodd",children:(0,i.jsx)("path",{d:"M5.70480219,0 L10.4096044,3.41834667 L8.61252986,8.94934776 L2.79707453,8.94934776 L1,3.41834667 L5.70480219,0 Z M5.70480219,20 L1,16.5816533 L2.79707453,11.0506522 L8.61252986,11.0506522 L10.4096044,16.5816533 L5.70480219,20 Z M18.8709653,12.9678909 L13.3400514,14.7649021 L9.92167142,10.0599974 L13.3399103,5.35519519 L18.8708781,7.15237223 L18.8709653,12.9678909 Z",fill:"#FFFFFF"})})});t.Z={dark:r,light:a}},52744:function(e,t,n){var i=n(11026),r=n(41473),a=n(7510),o=n(64310),l=n(57261),s=(n(67251),n(50189)),c=n(69286);function d(){return(0,c.jsxs)("div",{children:[(0,c.jsx)("h2",{children:"It looks like you're lost..."}),(0,c.jsx)("p",{children:(0,c.jsx)(o.rU,{to:"/",children:"Go to the home page"})})]})}var u=n(31996);function f(){return(0,c.jsx)(u.Loader,{tip:"Loading...",indicator:(0,c.jsx)(u.Icon,{type:"loading",spin:!0,style:{verticalAlign:"text-top"}})})}var h=n(75752),p={};function m(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return(0,r.useMemo)((function(){return(0,c.jsx)(u.Select.Option,{value:e.version,children:e.version})}),[e.version])}var v=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};function t(e){var t=e.target.value,n="1"===t.split(".")[0];window.location.href=n?"https://unpkg.com/uiw@".concat(t,"/dist/index.html"):"https://unpkg.com/@uiw/doc@".concat(t,"/web/index.html")}var n=h.i8,i=e.data,a=i[0];return a!==n&&i.unshift(n),(0,r.useMemo)((function(){return(0,c.jsx)("div",{className:p.nav,children:(0,c.jsx)(u.Select,{defaultValue:i[0],onChange:t,children:i.map((function(e,t){return(0,c.jsx)(m,{version:e},t)}))})})}),[i])},x={sider:"index_sider__vrASx",menuWarpper:"index_menuWarpper__asOzy",subMenu:"index_subMenu__c4Mvo",layoutWrap:"index_layoutWrap__6CE3D",layoutSider:"index_layoutSider__1t-SG"},y=JSON.parse('["4.0.0","3.10.12","2.0.1","1.16.19"]'),g={title:"index_title__O5TzH",menu:"index_menu__9HE8I",divider:"index_divider__1cINS"},j=n(86646),b={home:(0,c.jsx)("svg",{width:"23",height:"24",viewBox:"0 0 23 24",children:(0,c.jsx)("path",{fill:"#555",d:"M7.95808665,21.4797568 L7.95808665,14.2926972 C7.95808665,13.872855 8.29729322,13.5325056 8.71572573,13.5325056 L14.7768383,13.5325056 C15.1952708,13.5325056 15.5344774,13.872855 15.5344774,14.2926972 L15.5344774,21.4800639 L18.3333605,21.4801773 C18.4412665,21.4760176 18.5251665,21.4671569 18.58271,21.4596448 C18.588514,21.3995182 18.5915777,21.3235793 18.5907536,21.2318213 L18.5909124,14.2893672 C18.590922,13.869525 18.9301364,13.5291834 19.3485689,13.5291931 C19.7670014,13.5292027 20.1062001,13.8695599 20.1061905,14.2894021 L20.1059996,21.2248359 C20.1119888,21.8771673 19.9896563,22.3494462 19.5993559,22.6516032 C19.3010239,22.8825616 18.9057568,22.9796164 18.3624477,23 L4.48346492,22.9997015 C3.86961191,22.9824374 3.38486601,22.8118189 3.07125061,22.4182996 C2.79329968,22.0695315 2.68322544,21.5965073 2.68425496,20.9934992 L2.68424909,14.2893853 C2.68424872,13.8695431 3.02345499,13.5291934 3.4418875,13.5291931 C3.86032001,13.5291927 4.19952687,13.8695418 4.19952724,14.289384 L4.199532,20.9947994 C4.19904359,21.2811808 4.23526541,21.4410529 4.2538782,21.4676906 C4.24030246,21.4480656 4.31738234,21.474056 4.50469304,21.4796169 L7.95808665,21.4797568 Z M9.4733648,21.4798183 L14.0191993,21.4800025 L14.0191993,15.0528888 L9.4733648,15.0528888 L9.4733648,21.4798183 Z M2.28332829,11.4133771 C1.98200714,11.7046849 1.50237937,11.6957445 1.21204968,11.3934082 C0.921719999,11.0910719 0.930630346,10.6098283 1.2319515,10.3185205 L10.4507678,1.41136668 C10.7833916,1.14885042 11.1310579,1 11.4999998,1 C11.9102569,1 12.2738276,1.19453217 12.5845816,1.51087139 L21.7658664,10.3164197 C22.0683439,10.6065186 22.0791684,11.0877227 21.7900436,11.3912192 C21.5009189,11.6947157 21.0213305,11.7055767 20.718853,11.4154779 L11.5218713,2.5944308 C11.4545418,2.52599021 11.4440624,2.52038312 11.4999998,2.52038312 C11.514622,2.52038312 11.4750696,2.53731716 11.4448602,2.55629655 L2.28332829,11.4133771 Z"})}),component:(0,c.jsxs)("svg",{viewBox:"0 0 1041 1024",width:"20",height:"20",children:[(0,c.jsx)("path",{d:"M133.498105 661.882904h31.175644v195.047619a34.373146 34.373146 0 0 0 34.373146 34.373146h109.514441a34.373146 34.373146 0 1 0 0-68.746292h-75.141295V627.509758a35.172521 35.172521 0 0 0-34.373146-35.172521h-65.54879a63.950039 63.950039 0 0 1 0-127.900079h65.54879a35.172521 35.172521 0 0 0 34.373146-35.172521V233.417642h195.846994a35.172521 35.172521 0 0 0 35.172522-34.373146v-65.54879a63.950039 63.950039 0 0 1 127.900078 0v65.54879a35.172521 35.172521 0 0 0 35.172521 34.373146h195.047619v74.341921a34.373146 34.373146 0 0 0 68.746292 0V199.044496a34.373146 34.373146 0 0 0-34.373146-34.373145H661.885302v-31.175645a133.495706 133.495706 0 0 0-266.991413 0v31.175645H199.046895a34.373146 34.373146 0 0 0-34.373146 34.373145v195.846995h-31.175644A132.696331 132.696331 0 0 0 0.002398 527.587822a133.495706 133.495706 0 0 0 133.495707 134.295082z",fill:"#6F737E"}),(0,c.jsx)("path",{d:"M1004.817386 840.943013a79.937549 79.937549 0 1 1 0-159.875097 34.373146 34.373146 0 0 0 34.373146-32.774395V533.982826a34.373146 34.373146 0 0 0-34.373146-34.373146H879.315435v-10.391881a103.119438 103.119438 0 1 0-206.238876 0v10.391881H549.972734a35.172521 35.172521 0 0 0-35.172522 34.373146v124.702576h-10.391881a103.119438 103.119438 0 1 0 0 206.238876h10.391881v124.702576a35.172521 35.172521 0 0 0 35.172522 34.373146H663.484053a34.373146 34.373146 0 0 0 34.373146-34.373146 79.937549 79.937549 0 0 1 159.875098 0 34.373146 34.373146 0 0 0 34.373146 34.373146h114.310694a34.373146 34.373146 0 0 0 34.373146-34.373146V879.313037a34.373146 34.373146 0 0 0-35.971897-38.370024z",fill:"#6F737E"})]}),github:(0,c.jsxs)("svg",{viewBox:"0 0 1049 1024",width:"20",height:"20",children:[(0,c.jsx)("path",{d:"M524.979332 0C234.676191 0 0 234.676191 0 524.979332c0 232.068678 150.366597 428.501342 358.967656 498.035028 26.075132 5.215026 35.636014-11.299224 35.636014-25.205961 0-12.168395-0.869171-53.888607-0.869171-97.347161-146.020741 31.290159-176.441729-62.580318-176.441729-62.580318-23.467619-60.841976-58.234462-76.487055-58.234463-76.487055-47.804409-32.15933 3.476684-32.15933 3.476685-32.15933 53.019436 3.476684 80.83291 53.888607 80.83291 53.888607 46.935238 79.963739 122.553122 57.365291 152.97411 43.458554 4.345855-33.897672 18.252593-57.365291 33.028501-70.402857-116.468925-12.168395-239.022047-57.365291-239.022047-259.012982 0-57.365291 20.860106-104.300529 53.888607-140.805715-5.215026-13.037566-23.467619-66.926173 5.215027-139.067372 0 0 44.327725-13.906737 144.282399 53.888607 41.720212-11.299224 86.917108-17.383422 131.244833-17.383422s89.524621 6.084198 131.244833 17.383422C756.178839 203.386032 800.506564 217.29277 800.506564 217.29277c28.682646 72.1412 10.430053 126.029806 5.215026 139.067372 33.897672 36.505185 53.888607 83.440424 53.888607 140.805715 0 201.64769-122.553122 245.975415-239.891218 259.012982 19.121764 16.514251 35.636014 47.804409 35.636015 97.347161 0 70.402857-0.869171 126.898978-0.869172 144.282399 0 13.906737 9.560882 30.420988 35.636015 25.205961 208.601059-69.533686 358.967656-265.96635 358.967655-498.035028C1049.958663 234.676191 814.413301 0 524.979332 0z",fill:"#191717"}),(0,c.jsx)("path",{d:"M199.040177 753.571326c-0.869171 2.607513-5.215026 3.476684-8.691711 1.738342s-6.084198-5.215026-4.345855-7.82254c0.869171-2.607513 5.215026-3.476684 8.691711-1.738342s5.215026 5.215026 4.345855 7.82254z m-6.953369-4.345856M219.900283 777.038945c-2.607513 2.607513-7.82254 0.869171-10.430053-2.607514-3.476684-3.476684-4.345855-8.691711-1.738342-11.299224 2.607513-2.607513 6.953369-0.869171 10.430053 2.607514 3.476684 4.345855 4.345855 9.560882 1.738342 11.299224z m-5.215026-5.215027M240.760389 807.459932c-3.476684 2.607513-8.691711 0-11.299224-4.345855-3.476684-4.345855-3.476684-10.430053 0-12.168395 3.476684-2.607513 8.691711 0 11.299224 4.345855 3.476684 4.345855 3.476684 9.560882 0 12.168395z m0 0M269.443034 837.011749c-2.607513 3.476684-8.691711 2.607513-13.906737-1.738342-4.345855-4.345855-6.084198-10.430053-2.607513-13.037566 2.607513-3.476684 8.691711-2.607513 13.906737 1.738342 4.345855 3.476684 5.215026 9.560882 2.607513 13.037566z m0 0M308.555733 853.526c-0.869171 4.345855-6.953369 6.084198-13.037566 4.345855-6.084198-1.738342-9.560882-6.953369-8.691711-10.430053 0.869171-4.345855 6.953369-6.084198 13.037566-4.345855 6.084198 1.738342 9.560882 6.084198 8.691711 10.430053z m0 0M351.145116 857.002684c0 4.345855-5.215026 7.82254-11.299224 7.82254-6.084198 0-11.299224-3.476684-11.299224-7.82254s5.215026-7.82254 11.299224-7.82254c6.084198 0 11.299224 3.476684 11.299224 7.82254z m0 0M391.126986 850.049315c0.869171 4.345855-3.476684 8.691711-9.560882 9.560882-6.084198 0.869171-11.299224-1.738342-12.168395-6.084197-0.869171-4.345855 3.476684-8.691711 9.560881-9.560882 6.084198-0.869171 11.299224 1.738342 12.168396 6.084197z m0 0",fill:"#191717"})]}),issue:(0,c.jsxs)("svg",{className:"issue",viewBox:"0 0 1024 1024",width:"23",height:"23",children:[(0,c.jsx)("path",{d:"M1022.976 698.368c0-58.88-24.064-113.664-64.512-155.648-44.544 175.616-223.744 307.2-438.784 310.784 51.712 55.296 131.072 90.624 219.648 90.624 21.504 0 41.984-2.048 61.952-6.144 54.784 75.776 121.856 72.192 121.856 72.192-24.064-14.848-27.136-69.632-26.112-108.032 76.288-44.032 125.952-119.296 125.952-203.776z m0 0",fill:"#558EFF"}),(0,c.jsx)("path",{d:"M458.24 13.824C205.312 13.824 0 191.488 0 410.624c0 137.216 80.384 258.048 202.24 329.216 1.536 61.44-3.584 150.016-41.984 174.592 0 0 108.544 5.632 197.12-116.736 32.256 6.144 66.048 9.728 100.352 9.728H465.92c215.04-3.584 394.24-135.168 438.784-310.784 7.168-27.648 10.752-56.32 10.752-86.016 0.512-219.136-204.288-396.8-457.216-396.8zM256 462.848c-33.792 0-60.928-27.136-60.928-60.928 0-33.792 27.136-60.928 60.928-60.928 33.792 0 60.928 27.136 60.928 60.928 0 33.792-27.136 60.928-60.928 60.928z m202.24 0c-33.792 0-60.928-27.136-60.928-60.928 0-33.792 27.136-60.928 60.928-60.928 33.792 0 60.928 27.136 60.928 60.928 0 33.792-27.136 60.928-60.928 60.928z m202.24 0c-33.792 0-60.928-27.136-60.928-60.928 0-33.792 27.136-60.928 60.928-60.928 33.792 0 60.928 27.136 60.928 60.928 0 33.792-27.136 60.928-60.928 60.928z m0 0",fill:"#549EFF"})]}),gitee:(0,c.jsx)("svg",{className:"gitee",viewBox:"0 0 1024 1024",width:"200",height:"200",children:(0,c.jsx)("path",{d:"M512 1024C229.222 1024 0 794.778 0 512S229.222 0 512 0s512 229.222 512 512-229.222 512-512 512z m259.149-568.883h-290.74a25.293 25.293 0 0 0-25.292 25.293l-0.026 63.206c0 13.952 11.315 25.293 25.267 25.293h177.024c13.978 0 25.293 11.315 25.293 25.267v12.646a75.853 75.853 0 0 1-75.853 75.853h-240.23a25.293 25.293 0 0 1-25.267-25.293V417.203a75.853 75.853 0 0 1 75.827-75.853h353.946a25.293 25.293 0 0 0 25.267-25.292l0.077-63.207a25.293 25.293 0 0 0-25.268-25.293H417.152a189.62 189.62 0 0 0-189.62 189.645V771.15c0 13.977 11.316 25.293 25.294 25.293h372.94a170.65 170.65 0 0 0 170.65-170.65V480.384a25.293 25.293 0 0 0-25.293-25.267z",fill:"#C71D23"})}),plugin:(0,c.jsxs)("svg",{viewBox:"0 0 1024 1024",width:"24",height:"24",children:[(0,c.jsx)("path",{d:"M937.6 251.3L538 69.7c-11.5-5.1-24.6-5.1-36.1 0L102.4 251.3c-22.4 9.9-32.5 32.2-22.6 54.6 4.5 10.1 12.5 15.1 22.6 19.6L502 506.1c11.5 5.1 24.6 5.1 36.1 0l399.6-180.6c22.4-9.9 32.5-33.2 22.6-55.6-4.6-10.1-12.6-14.1-22.7-18.6zM497.6 723.4l-398.7-165c-18.4-7.6-27.1-28.7-19.5-47 7.6-18.4 28.7-27.1 47-19.5l398.7 165c18.4 7.6 27.1 28.7 19.5 47-7.6 18.3-28.6 27.1-47 19.5z"}),(0,c.jsx)("path",{d:"M526.4 723.4l398.7-165c18.4-7.6 27.1-28.7 19.5-47-7.6-18.4-28.7-27.1-47-19.5l-398.7 165c-18.4 7.6-27.1 28.7-19.5 47 7.6 18.3 28.6 27.1 47 19.5z"}),(0,c.jsx)("path",{d:"M497.6 955.4l-398.7-165c-18.4-7.6-27.1-28.7-19.5-47 7.6-18.4 28.7-27.1 47-19.5l398.7 165c18.4 7.6 27.1 28.7 19.5 47-7.6 18.3-28.6 27.1-47 19.5z"}),(0,c.jsx)("path",{d:"M526.4 955.4l398.7-165c18.4-7.6 27.1-28.7 19.5-47-7.6-18.4-28.7-27.1-47-19.5l-398.7 165c-18.4 7.6-27.1 28.7-19.5 47 7.6 18.3 28.6 27.1 47 19.5z"})]})};function w(){var e=(0,l.TH)(),t=j.find((function(t){return new RegExp("^".concat(t.path||"")).test(e.pathname)}));return null!==t&&void 0!==t&&t.children?(0,c.jsxs)("div",{className:g.wapper,children:[(0,c.jsxs)("h2",{className:g.title,children:[b[t.icon],(0,c.jsx)("span",{children:t.name})]}),(0,c.jsx)("div",{className:g.menu,children:t.children&&t.children.map((function(e,t){return e.divider?(0,c.jsx)("div",{className:g.divider,children:e.name},t):/^http(?:|s):\/\//.test(e.path||"")?(0,c.jsxs)("a",{href:e.path,target:"__blank",children:[e.name,(0,c.jsxs)("svg",{viewBox:"0 0 1024 1024",width:14,children:[(0,c.jsx)("path",{d:"M821.1456 276.8384c-235.9296 25.1392-449.1776 226.7136-490.5472 452.352a38.4 38.4 0 1 1-75.5712-13.824c45.568-248.576 269.312-468.48 526.6944-510.6688l-117.8112-69.1712a38.4 38.4 0 0 1 38.912-66.2528l223.3344 131.1744a38.4 38.4 0 0 1 10.1376 57.6l-170.752 206.6432a38.4 38.4 0 1 1-59.1872-48.9472l114.7904-138.9056z"}),(0,c.jsx)("path",{d:"M832 620.0832a38.4 38.4 0 0 1 76.8 0v158.208c0 85.9648-61.5936 157.8496-140.8 157.8496H204.8c-79.2064 0-140.8-71.8848-140.8-157.9008V300.3904c0-86.016 61.5936-157.8496 140.8-157.8496h220.2112a38.4 38.4 0 1 1 0 76.8H204.8c-33.8944 0-64 35.072-64 81.0496V778.24c0 45.9776 30.1056 81.1008 64 81.1008h563.2c33.8944 0 64-35.1232 64-81.1008v-158.1568z"})]})]},t):(0,c.jsx)(o.OL,{to:e.path||"",replace:!0,children:e.name},t)}))})]}):null}var C={logo:"index_logo__kUQOi",top:"index_top__DLxV-",nav:"index_nav__SdXbb",navTop:"index_navTop__08yh1",btn:"index_btn__YYGUe",btnTop:"index_btnTop__PlNw6"},N={layout:"top"},Z=function(e,t){return(0,s.Z)((0,s.Z)({},e),t)},k=r.createContext({state:N,dispatch:function(){return null}}),S=n(62545),E={menu:(0,c.jsx)("svg",{width:"19",height:"19",viewBox:"0 0 26 26",children:(0,c.jsxs)("g",{fill:"none",fillRule:"evenodd",children:[(0,c.jsx)("rect",{width:"26",height:"26",fill:"#9E9E9E",rx:"4"}),(0,c.jsx)("rect",{width:"5",height:"20",x:"3",y:"3",fill:"#202224",rx:"2.5"}),(0,c.jsx)("rect",{width:"12",height:"20",x:"11",y:"3",fill:"#FFF",fillOpacity:".657",rx:"2"})]})}),menutop:(0,c.jsx)("svg",{width:"19",height:"19",viewBox:"0 0 26 26",children:(0,c.jsxs)("g",{fill:"none",fillRule:"evenodd",children:[(0,c.jsx)("rect",{width:"26",height:"26",fill:"#9E9E9E",rx:"4"}),(0,c.jsx)("rect",{width:"20",height:"5",x:"3",y:"3",fill:"#202224",rx:"2.5"}),(0,c.jsx)("rect",{width:"20",height:"12",x:"3",y:"11",fill:"#FFF",fillOpacity:".66",rx:"2"})]})}),china:(0,c.jsxs)("svg",{className:"flag",width:"19",height:"19",viewBox:"0 0 512 512",children:[(0,c.jsx)("defs",{children:(0,c.jsx)("path",{id:"a",fill:"#ffde00",d:"M1-.3L-.7.8 0-1 .6.8-1-.3z"})}),(0,c.jsx)("path",{fill:"#de2910",d:"M0 0h512v512H0z"}),(0,c.jsx)("use",{width:"30",height:"20",transform:"matrix(76.8 0 0 76.8 128 128)",xlinkHref:"#a"}),(0,c.jsx)("use",{width:"30",height:"20",transform:"rotate(-121 142.6 -47) scale(25.5827)",xlinkHref:"#a"}),(0,c.jsx)("use",{width:"30",height:"20",transform:"rotate(-98.1 198 -82) scale(25.6)",xlinkHref:"#a"}),(0,c.jsx)("use",{width:"30",height:"20",transform:"rotate(-74 272.4 -114) scale(25.6137)",xlinkHref:"#a"}),(0,c.jsx)("use",{width:"30",height:"20",transform:"matrix(16 -19.968 19.968 16 256 230.4)",xlinkHref:"#a"})]})};function P(){var e=(0,r.useContext)(k),t=e.state,n=e.dispatch;return(0,c.jsxs)(r.Fragment,{children:[(0,c.jsx)("div",{className:[C.logo,"left"===t.layout?null:C.top].filter(Boolean).join(" ").trim(),children:(0,c.jsxs)(o.rU,{to:"/",children:[S.Z.dark,"top"===t.layout&&(0,c.jsxs)("span",{children:["UIW",(0,c.jsx)("sup",{children:h.i8})]})]})}),(0,c.jsx)("div",{className:[C.nav,"left"===t.layout?null:C.navTop].filter(Boolean).join(" ").trim(),children:j.map((function(e,n){var i=e.path,r=e.name,a=e.icon;if(Object.keys(b).includes(a)&&(a=b[a]),/^https?:(?:\/\/)?/.test(i))return"top"===t.layout?(0,c.jsxs)("a",{target:"__blank",href:i,className:C.outerUrl,children:[a," ",(0,c.jsx)("span",{children:r})]},n):(0,c.jsx)(u.Tooltip,{usePortal:!1,placement:"left"===t.layout?"right":"bottom",content:(0,c.jsx)("span",{style:{whiteSpace:"nowrap"},children:r}),children:(0,c.jsx)("a",{target:"__blank",href:i,className:C.outerUrl,children:a})},n);var l={color:"#fff"};return"top"===t.layout?(0,c.jsxs)(o.OL,{to:i,style:function(e){return e.isActive?l:void 0},children:[a," ",(0,c.jsx)("span",{children:r})]},n):(0,c.jsx)(u.Tooltip,{usePortal:!1,placement:"left"===t.layout?"right":"bottom",content:(0,c.jsx)("span",{style:{whiteSpace:"nowrap"},children:r}),children:(0,c.jsx)(o.OL,{to:i,style:function(e){return e.isActive?l:void 0},children:a})},n)}))}),(0,c.jsxs)("div",{className:[C.btn,"left"===t.layout?null:C.btnTop].filter(Boolean).join(" ").trim(),children:[(0,c.jsx)(u.Tooltip,{placement:"left"===t.layout?"right":"bottom",content:"\u56fd\u5185\u955c\u50cf\u7ad9\u70b9",children:(0,c.jsx)("a",{href:"http://uiw.gitee.io",rel:"noopener noreferrer",target:"_blank",children:E.china})}),(0,c.jsx)("button",{onClick:function(){return n({layout:"left"===t.layout?"top":"left"})},children:"left"===t.layout?E.menu:E.menutop})]})]})}var M=u.Layout.Header,B=u.Layout.Sider,L=u.Layout.Content;function z(e){var t=e.siderMenu,n=void 0===t||t,i=(0,r.useContext)(k).state;return(0,c.jsx)(u.Layout,{className:x.layout,children:"top"===i.layout?(0,c.jsxs)(r.Fragment,{children:[(0,c.jsx)(u.Affix,{offsetTop:0,style:{zIndex:999},children:(0,c.jsx)(M,{style:{display:"flex",alignItems:"center"},children:(0,c.jsx)(P,{})})}),(0,c.jsxs)(u.Layout,{className:x.layoutWrap,children:[(0,c.jsx)(B,{width:n?260:0,className:x.layoutSider,children:(0,c.jsx)("div",{style:{width:n?260:0,height:"calc(100vh - 53px)"},children:(0,c.jsx)(w,{})})}),(0,c.jsx)(L,{style:{padding:20},className:x.layoutContent,children:(0,c.jsx)(l.j3,{})})]})]}):(0,c.jsxs)(r.Fragment,{children:[(0,c.jsx)(B,{width:n?330:64,children:(0,c.jsxs)(u.Layout,{className:x.sider,children:[(0,c.jsx)(B,{className:x.menuWarpper,width:64,children:(0,c.jsx)(P,{})}),(0,c.jsx)(u.Layout,{style:{position:"fixed",width:n?330:64,zIndex:1,left:0,top:0,bottom:0,overflow:"auto"},children:(0,c.jsx)(L,{className:x.subMenu,style:{paddingLeft:64},children:(0,c.jsx)(w,{})})})]})}),(0,c.jsxs)(u.Layout,{style:{position:"relative"},children:[(0,c.jsx)(M,{style:{height:"inherit",lineHeight:"32px",position:"absolute",padding:"5px 10px",width:"100%",display:"flex",flexDirection:"row",justifyContent:"flex-end",backgroundColor:"transparent",zIndex:99},children:(0,c.jsx)(v,{data:y})}),(0,c.jsx)(L,{style:{padding:20},className:x.layoutContent,children:(0,c.jsx)(l.j3,{})})]})]})})}var D=function(e){return function(t){return(0,c.jsx)(r.Suspense,{fallback:(0,c.jsx)(f,{}),children:(0,c.jsx)(e,(0,s.Z)({},t))})}},O=D((0,r.lazy)((function(){return n.e(9200).then(n.bind(n,69200))}))),A=D((0,r.lazy)((function(){return Promise.all([n.e(889),n.e(6982),n.e(2854),n.e(6730)]).then(n.bind(n,29569))}))),T=D((0,r.lazy)((function(){return Promise.all([n.e(889),n.e(6982),n.e(2854),n.e(875)]).then(n.bind(n,36074))}))),R=D((0,r.lazy)((function(){return Promise.all([n.e(889),n.e(6982),n.e(2854),n.e(6715)]).then(n.bind(n,56238))}))),I=D((0,r.lazy)((function(){return Promise.all([n.e(889),n.e(6982),n.e(2854),n.e(643)]).then(n.bind(n,667))}))),F=D((0,r.lazy)((function(){return Promise.all([n.e(889),n.e(6982),n.e(2854),n.e(4188)]).then(n.bind(n,39877))}))),H=D((0,r.lazy)((function(){return Promise.all([n.e(889),n.e(6982),n.e(2854),n.e(163)]).then(n.bind(n,11314))}))),W=D((0,r.lazy)((function(){return Promise.all([n.e(889),n.e(6982),n.e(2854),n.e(7104)]).then(n.bind(n,19848))}))),_=D((0,r.lazy)((function(){return Promise.all([n.e(889),n.e(6982),n.e(2854),n.e(5308)]).then(n.bind(n,53510))}))),V=D((0,r.lazy)((function(){return n.e(4877).then(n.bind(n,64877))}))),Y=D((0,r.lazy)((function(){return Promise.all([n.e(889),n.e(6982),n.e(2854),n.e(3917)]).then(n.bind(n,81423))}))),K=D((0,r.lazy)((function(){return Promise.all([n.e(889),n.e(6982),n.e(2854),n.e(1059)]).then(n.bind(n,96790))}))),$=D((0,r.lazy)((function(){return Promise.all([n.e(889),n.e(6982),n.e(2854),n.e(1820)]).then(n.bind(n,29206))}))),U=D((0,r.lazy)((function(){return Promise.all([n.e(889),n.e(6982),n.e(2854),n.e(9853)]).then(n.bind(n,17068))}))),G=D((0,r.lazy)((function(){return Promise.all([n.e(889),n.e(6982),n.e(2854),n.e(7834)]).then(n.bind(n,88412))}))),J=D((0,r.lazy)((function(){return Promise.all([n.e(889),n.e(6982),n.e(2854),n.e(694)]).then(n.bind(n,53929))}))),q=D((0,r.lazy)((function(){return Promise.all([n.e(889),n.e(6982),n.e(2854),n.e(6510)]).then(n.bind(n,62204))}))),X=D((0,r.lazy)((function(){return Promise.all([n.e(889),n.e(6982),n.e(2854),n.e(2230)]).then(n.bind(n,58123))}))),Q=D((0,r.lazy)((function(){return Promise.all([n.e(889),n.e(6982),n.e(2854),n.e(4503)]).then(n.bind(n,25534))}))),ee=D((0,r.lazy)((function(){return Promise.all([n.e(889),n.e(6982),n.e(2854),n.e(9763)]).then(n.bind(n,21072))}))),te=D((0,r.lazy)((function(){return Promise.all([n.e(889),n.e(6982),n.e(2854),n.e(221)]).then(n.bind(n,96632))}))),ne=D((0,r.lazy)((function(){return Promise.all([n.e(889),n.e(6982),n.e(2854),n.e(2782)]).then(n.bind(n,26519))}))),ie=D((0,r.lazy)((function(){return Promise.all([n.e(889),n.e(6982),n.e(2854),n.e(5408)]).then(n.bind(n,14198))}))),re=D((0,r.lazy)((function(){return Promise.all([n.e(889),n.e(6982),n.e(2854),n.e(7390)]).then(n.bind(n,26989))}))),ae=D((0,r.lazy)((function(){return Promise.all([n.e(889),n.e(6982),n.e(2854),n.e(8566)]).then(n.bind(n,20873))}))),oe=D((0,r.lazy)((function(){return Promise.all([n.e(889),n.e(6982),n.e(2854),n.e(2582)]).then(n.bind(n,51374))}))),le=D((0,r.lazy)((function(){return Promise.all([n.e(889),n.e(6982),n.e(2854),n.e(8073)]).then(n.bind(n,4916))}))),se=D((0,r.lazy)((function(){return Promise.all([n.e(889),n.e(6982),n.e(2854),n.e(8023)]).then(n.bind(n,78185))}))),ce=D((0,r.lazy)((function(){return Promise.all([n.e(889),n.e(6982),n.e(2854),n.e(2411)]).then(n.bind(n,57018))}))),de=D((0,r.lazy)((function(){return Promise.all([n.e(889),n.e(6982),n.e(2854),n.e(9776)]).then(n.bind(n,3536))}))),ue=D((0,r.lazy)((function(){return Promise.all([n.e(889),n.e(6982),n.e(2854),n.e(2737)]).then(n.bind(n,63926))}))),fe=D((0,r.lazy)((function(){return Promise.all([n.e(889),n.e(6982),n.e(2854),n.e(7884)]).then(n.bind(n,78844))}))),he=D((0,r.lazy)((function(){return Promise.all([n.e(889),n.e(6982),n.e(2854),n.e(9384)]).then(n.bind(n,38661))}))),pe=D((0,r.lazy)((function(){return Promise.all([n.e(889),n.e(6982),n.e(2854),n.e(9673)]).then(n.bind(n,20605))}))),me=D((0,r.lazy)((function(){return Promise.all([n.e(889),n.e(6982),n.e(2854),n.e(7157)]).then(n.bind(n,92106))}))),ve=D((0,r.lazy)((function(){return Promise.all([n.e(889),n.e(6982),n.e(2854),n.e(9777)]).then(n.bind(n,62787))}))),xe=D((0,r.lazy)((function(){return Promise.all([n.e(889),n.e(6982),n.e(2854),n.e(3518)]).then(n.bind(n,51130))}))),ye=D((0,r.lazy)((function(){return Promise.all([n.e(889),n.e(6982),n.e(2854),n.e(1619)]).then(n.bind(n,63390))}))),ge=D((0,r.lazy)((function(){return Promise.all([n.e(889),n.e(6982),n.e(2854),n.e(2367)]).then(n.bind(n,23472))}))),je=D((0,r.lazy)((function(){return Promise.all([n.e(889),n.e(6982),n.e(2854),n.e(4128)]).then(n.bind(n,77380))}))),be=D((0,r.lazy)((function(){return Promise.all([n.e(889),n.e(6982),n.e(2854),n.e(1061)]).then(n.bind(n,58525))}))),we=D((0,r.lazy)((function(){return Promise.all([n.e(889),n.e(6982),n.e(2854),n.e(2190)]).then(n.bind(n,12036))}))),Ce=D((0,r.lazy)((function(){return Promise.all([n.e(889),n.e(6982),n.e(2854),n.e(2595)]).then(n.bind(n,93520))}))),Ne=D((0,r.lazy)((function(){return Promise.all([n.e(889),n.e(6982),n.e(2854),n.e(5244)]).then(n.bind(n,91339))}))),Ze=D((0,r.lazy)((function(){return Promise.all([n.e(889),n.e(6982),n.e(2854),n.e(7541)]).then(n.bind(n,88352))}))),ke=D((0,r.lazy)((function(){return Promise.all([n.e(889),n.e(6982),n.e(2854),n.e(5595)]).then(n.bind(n,67774))}))),Se=D((0,r.lazy)((function(){return Promise.all([n.e(889),n.e(6982),n.e(2854),n.e(1169)]).then(n.bind(n,92003))}))),Ee=D((0,r.lazy)((function(){return Promise.all([n.e(889),n.e(6982),n.e(2854),n.e(9253)]).then(n.bind(n,73255))}))),Pe=D((0,r.lazy)((function(){return Promise.all([n.e(889),n.e(6982),n.e(2854),n.e(5393)]).then(n.bind(n,45171))}))),Me=D((0,r.lazy)((function(){return Promise.all([n.e(889),n.e(6982),n.e(2854),n.e(1317)]).then(n.bind(n,60717))}))),Be=D((0,r.lazy)((function(){return Promise.all([n.e(889),n.e(6982),n.e(2854),n.e(8898)]).then(n.bind(n,77002))}))),Le=D((0,r.lazy)((function(){return Promise.all([n.e(889),n.e(6982),n.e(2854),n.e(7875)]).then(n.bind(n,13902))}))),ze=D((0,r.lazy)((function(){return Promise.all([n.e(889),n.e(6982),n.e(2854),n.e(4010)]).then(n.bind(n,92425))}))),De=D((0,r.lazy)((function(){return Promise.all([n.e(889),n.e(6982),n.e(2854),n.e(3812)]).then(n.bind(n,88915))}))),Oe=D((0,r.lazy)((function(){return Promise.all([n.e(889),n.e(6982),n.e(2854),n.e(3313)]).then(n.bind(n,50216))}))),Ae=D((0,r.lazy)((function(){return Promise.all([n.e(889),n.e(6982),n.e(2854),n.e(748)]).then(n.bind(n,86726))}))),Te=D((0,r.lazy)((function(){return Promise.all([n.e(889),n.e(6982),n.e(2854),n.e(9260)]).then(n.bind(n,36770))}))),Re=D((0,r.lazy)((function(){return Promise.all([n.e(889),n.e(6982),n.e(2854),n.e(4396)]).then(n.bind(n,90389))}))),Ie=D((0,r.lazy)((function(){return Promise.all([n.e(889),n.e(6982),n.e(2854),n.e(9503)]).then(n.bind(n,82186))}))),Fe=D((0,r.lazy)((function(){return Promise.all([n.e(889),n.e(6982),n.e(2854),n.e(1584)]).then(n.bind(n,71937))}))),He=D((0,r.lazy)((function(){return Promise.all([n.e(889),n.e(6982),n.e(2854),n.e(2156)]).then(n.bind(n,17292))}))),We=D((0,r.lazy)((function(){return Promise.all([n.e(889),n.e(6982),n.e(2854),n.e(2316)]).then(n.bind(n,62462))}))),_e=D((0,r.lazy)((function(){return Promise.all([n.e(889),n.e(6982),n.e(2854),n.e(9121)]).then(n.bind(n,52287))}))),Ve=D((0,r.lazy)((function(){return Promise.all([n.e(889),n.e(6982),n.e(2854),n.e(4948)]).then(n.bind(n,12357))}))),Ye=D((0,r.lazy)((function(){return Promise.all([n.e(889),n.e(6982),n.e(2854),n.e(4648)]).then(n.bind(n,40015))}))),Ke=D((0,r.lazy)((function(){return Promise.all([n.e(889),n.e(6982),n.e(2854),n.e(4098)]).then(n.bind(n,92910))}))),$e=D((0,r.lazy)((function(){return Promise.all([n.e(889),n.e(6982),n.e(2854),n.e(7761)]).then(n.bind(n,76733))}))),Ue=D((0,r.lazy)((function(){return Promise.all([n.e(889),n.e(6982),n.e(2854),n.e(4405)]).then(n.bind(n,98680))}))),Ge=D((0,r.lazy)((function(){return Promise.all([n.e(889),n.e(6982),n.e(2854),n.e(5865)]).then(n.bind(n,8041))}))),Je=D((0,r.lazy)((function(){return Promise.all([n.e(889),n.e(6982),n.e(2854),n.e(7087)]).then(n.bind(n,28928))}))),qe=[{path:"/extensions",element:(0,c.jsx)(z,{siderMenu:!1}),children:[{index:!0,element:(0,c.jsx)(A,{})},{path:"*",element:(0,c.jsx)(d,{})}]},{path:"/guide",element:(0,c.jsx)(z,{}),children:[{index:!0,element:(0,c.jsx)(T,{})},{path:"/guide/quick-start",element:(0,c.jsx)(T,{})},{path:"/guide/import",element:(0,c.jsx)(R,{})},{path:"/guide/create-react-app",element:(0,c.jsx)(I,{})},{path:"/guide/kkt",element:(0,c.jsx)(F,{})},{path:"/guide/vscode",element:(0,c.jsx)(W,{})},{path:"/guide/docs",element:(0,c.jsx)(H,{})},{path:"/guide/recommendation",element:(0,c.jsx)(_,{})},{path:"*",element:(0,c.jsx)(d,{})}]},{path:"/components",element:(0,c.jsx)(z,{}),children:[{index:!0,element:(0,c.jsx)(V,{})},{path:"/components/overview",element:(0,c.jsx)(V,{})},{path:"/components/colors",element:(0,c.jsx)(Y,{})},{path:"/components/reset-css",element:(0,c.jsx)(U,{})},{path:"/components/alert",element:(0,c.jsx)(K,{})},{path:"/components/auto-link",element:(0,c.jsx)($,{})},{path:"/components/avatar",element:(0,c.jsx)(G,{})},{path:"/components/affix",element:(0,c.jsx)(J,{})},{path:"/components/calendar",element:(0,c.jsx)(q,{})},{path:"/components/checkbox",element:(0,c.jsx)(X,{})},{path:"/components/copy-to-clipboard",element:(0,c.jsx)(Q,{})},{path:"/components/collapse",element:(0,c.jsx)(ee,{})},{path:"/components/card",element:(0,c.jsx)(te,{})},{path:"/components/descriptions",element:(0,c.jsx)(ne,{})},{path:"/components/loader",element:(0,c.jsx)(ie,{})},{path:"/components/icon",element:(0,c.jsx)(re,{})},{path:"/components/divider",element:(0,c.jsx)(ae,{})},{path:"/components/drawer",element:(0,c.jsx)(oe,{})},{path:"/components/date-picker",element:(0,c.jsx)(le,{})},{path:"/components/date-input",element:(0,c.jsx)(se,{})},{path:"/components/dropdown",element:(0,c.jsx)(ce,{})},{path:"/components/badge",element:(0,c.jsx)(de,{})},{path:"/components/progress",element:(0,c.jsx)(ue,{})},{path:"/components/pagination",element:(0,c.jsx)(fe,{})},{path:"/components/pin-code",element:(0,c.jsx)(he,{})},{path:"/components/input",element:(0,c.jsx)(pe,{})},{path:"/components/button",element:(0,c.jsx)(me,{})},{path:"/components/radio",element:(0,c.jsx)(ve,{})},{path:"/components/select",element:(0,c.jsx)(xe,{})},{path:"/components/search-select",element:(0,c.jsx)(ye,{})},{path:"/components/split",element:(0,c.jsx)(ge,{})},{path:"/components/switch",element:(0,c.jsx)(je,{})},{path:"/components/slider",element:(0,c.jsx)(be,{})},{path:"/components/grid",element:(0,c.jsx)(we,{})},{path:"/components/form",element:(0,c.jsx)(Ce,{})},{path:"/components/file-input",element:(0,c.jsx)(Ne,{})},{path:"/components/breadcrumb",element:(0,c.jsx)(Ze,{})},{path:"/components/list",element:(0,c.jsx)(ke,{})},{path:"/components/layout",element:(0,c.jsx)(Se,{})},{path:"/components/notify",element:(0,c.jsx)(Ee,{})},{path:"/components/tree",element:(0,c.jsx)(Pe,{})},{path:"/components/tree-checked",element:(0,c.jsx)(Me,{})},{path:"/components/search-tree",element:(0,c.jsx)(Be,{})},{path:"/components/tag",element:(0,c.jsx)(Le,{})},{path:"/components/tabs",element:(0,c.jsx)(ze,{})},{path:"/components/tooltip",element:(0,c.jsx)(De,{})},{path:"/components/table",element:(0,c.jsx)(Oe,{})},{path:"/components/time-picker",element:(0,c.jsx)(Ae,{})},{path:"/components/rate",element:(0,c.jsx)(Te,{})},{path:"/components/overlay",element:(0,c.jsx)(Re,{})},{path:"/components/back-top",element:(0,c.jsx)(Ie,{})},{path:"/components/portal",element:(0,c.jsx)(Fe,{})},{path:"/components/overlay-trigger",element:(0,c.jsx)(He,{})},{path:"/components/popover",element:(0,c.jsx)(We,{})},{path:"/components/message",element:(0,c.jsx)(_e,{})},{path:"/components/month-picker",element:(0,c.jsx)(Ve,{})},{path:"/components/textarea",element:(0,c.jsx)(Ye,{})},{path:"/components/modal",element:(0,c.jsx)(Ke,{})},{path:"/components/formatter",element:(0,c.jsx)($e,{})},{path:"/components/steps",element:(0,c.jsx)(Ue,{})},{path:"/components/menu",element:(0,c.jsx)(Ge,{})},{path:"/components/empty",element:(0,c.jsx)(Je,{})},{path:"*",element:(0,c.jsx)(d,{})}]},{path:"/",element:(0,c.jsx)(O,{})}],Xe=function(){return(0,l.V$)(qe)},Qe=function(e){var t=e.children,n=(0,r.useReducer)(Z,N),a=(0,i.Z)(n,2),o=a[0],l=a[1];return(0,c.jsx)(k.Provider,{value:{state:o,dispatch:l},children:t})};a.render((0,c.jsx)(o.UT,{children:(0,c.jsx)(Qe,{children:(0,c.jsx)(Xe,{})})}),document.getElementById("root"))},31996:function(e,t,n){n.r(t),n.d(t,{Affix:function(){return x},Alert:function(){return A},AutoLink:function(){return I},Avatar:function(){return H},BackTop:function(){return V},Badge:function(){return K},Breadcrumb:function(){return q},Button:function(){return L},ButtonGroup:function(){return Q},Calendar:function(){return Ue},Card:function(){return Je},Checkbox:function(){return lt},CheckboxGroup:function(){return it},Col:function(){return Ut},Collapse:function(){return ht},CopyToClipboard:function(){return xt},DateInput:function(){return bt},DateInputRange:function(){return gt},DatePicker:function(){return Ve},DatePickerCaption:function(){return He},DatePickerDay:function(){return De},DatePickerMonth:function(){return Ae},DatePickerYear:function(){return Re},DayRect:function(){return Be},Descriptions:function(){return Pt},Divider:function(){return Bt},Drawer:function(){return Dt},Dropdown:function(){return At},Empty:function(){return Rt},FileInput:function(){return Kt},Form:function(){return nn},FormItem:function(){return Xt},Icon:function(){return M},Input:function(){return je},Layout:function(){return dn.ZP},LayoutContent:function(){return dn.bU},LayoutContext:function(){return dn.VY},LayoutFooter:function(){return dn.D4},LayoutHeader:function(){return dn.NC},LayoutSider:function(){return dn.Ju},List:function(){return cn},ListItem:function(){return an},Loader:function(){return fn},Menu:function(){return Zn},MenuDivider:function(){return yn},MenuItem:function(){return vn},Message:function(){return Sn},Modal:function(){return D},MonthPicker:function(){return Mn},Notify:function(){return Rn},Overlay:function(){return S},OverlayTrigger:function(){return ve},Pagination:function(){return Yn},PinCode:function(){return Un},Popover:function(){return ye},Portal:function(){return Z},Progress:function(){return ei},Radio:function(){return Qe},RadioAbstract:function(){return Xe},RadioGroup:function(){return tt},Rate:function(){return ni},Row:function(){return Jt},SearchSelect:function(){return oi},SearchTree:function(){return Ui},Select:function(){return _n},Slider:function(){return pi},Split:function(){return li.Z},Steps:function(){return ui},SubMenu:function(){return bn},Switch:function(){return vi},Table:function(){return Zi},Tabs:function(){return Ei},Tag:function(){return ri},Textarea:function(){return Mi},TimePicker:function(){return Se},TimePickerTime:function(){return Ze},Tooltip:function(){return Li},Tree:function(){return Hi},TreeChecked:function(){return _i},canUseDOM:function(){return N},formatter:function(){return ee.Z},getChildKeys:function(){return Ri},randomid:function(){return dn.SH}});var i=n(22951),r=n(91976),a=n(47169),o=n(67591),l=n(43415),s=n(30808),c=n(25773),d=n(41473);function u(){}function f(e,t){if("undefined"===typeof window)return 0;var n=t?"scrollTop":"scrollLeft",i=e===window,r=i?e[t?"pageYOffset":"pageXOffset"]:e[n];return i&&"number"!==typeof r&&(r=document.documentElement[n]),r}var h=function(e,t){var n=e.getBoundingClientRect(),i=function(e){return e!==window?e.getBoundingClientRect():{top:0,left:0,bottom:0}}(t),r=f(t,!0),a=f(t),o=window.document.body,l=o.clientTop||0,s=o.clientLeft||0;return{top:n.top-i.top+r-l,left:n.left-i.left+a-s,width:n.width,height:n.height}},p=function(){return"undefined"!==typeof window?window:null},m=n(69286),v=["prefixCls","className","children","offsetTop","offsetBottom","target","onChange"],x=function(e){(0,o.Z)(n,e);var t=(0,l.Z)(n);function n(e){var r;return(0,i.Z)(this,n),(r=t.call(this,e)).state={placeholderStyle:void 0,affixStyle:void 0},r.box=void 0,r.target=void 0,r.events=["resize","scroll","touchstart","touchmove","touchend","pageshow","load"],r.eventHandlers={},r.timeout=void 0,r.getInstance=function(e){e&&(r.box=e)},r.updatePosition=r.updatePosition.bind((0,a.Z)(r)),r}return(0,r.Z)(n,[{key:"componentDidMount",value:function(){var e=this,t=this.props.target||p;this.timeout=window.setTimeout((function(){e.target=t(),e.setTargetEventListeners()}))}},{key:"componentWillUnmount",value:function(){this.clearEventListeners(),clearTimeout(this.timeout)}},{key:"updatePosition",value:function(){var e=this.props.offsetTop,t=this.props.offsetBottom;if(this.box&&this.box.offsetParent){var n={width:this.box.clientWidth,height:this.box.clientHeight},i={top:!0,bottom:!1};"number"!==typeof e&&"number"!==typeof t&&(i.top=!0,e=0),"number"===typeof t&&(i.top=!1,i.bottom=!0);var r=h(this.box,this.target),a=this.box.getBoundingClientRect(),o=document.documentElement.clientHeight-a.y-r.height;i.top&&a.y<0?(this.setPlaceholderStyle((0,c.Z)({},n)),this.setAffixStyle({position:"fixed",top:e||0,left:r.left,width:r.width})):i.bottom&&o<0?(this.setPlaceholderStyle((0,c.Z)({},n)),this.setAffixStyle({position:"fixed",bottom:t||0,left:r.left,width:r.width})):(this.setPlaceholderStyle(),this.setAffixStyle())}}},{key:"setAffixStyle",value:function(e){var t=this.props.onChange,n=!!this.state.affixStyle;this.setState({affixStyle:e},(function(){t&&t(n)}))}},{key:"setPlaceholderStyle",value:function(e){this.setState({placeholderStyle:e})}},{key:"setTargetEventListeners",value:function(){var e=this;this.clearEventListeners(),this.events.forEach((function(t){e.eventHandlers[t]=e.updatePosition,e.target&&e.target.addEventListener(t,e.updatePosition,!1)}))}},{key:"clearEventListeners",value:function(){var e=this;this.events.forEach((function(t){var n=e.eventHandlers[t];e.target&&e.target.removeEventListener(t,n,!1)}))}},{key:"render",value:function(){var e=this.props,t=e.prefixCls,n=e.className,i=e.children,r=(0,s.Z)(e,v),a=[n,t].filter(Boolean).join(" ").trim();return(0,m.jsx)("div",(0,c.Z)({},r,{ref:this.getInstance,style:(0,c.Z)({},this.state.placeholderStyle,this.props.style),children:(0,m.jsx)("div",{className:a,style:this.state.affixStyle,children:i})}))}}]),n}(d.Component);x.defaultProps={prefixCls:"w-affix",onChange:u};var y=n(11026),g=n(57135),j=n.n(g),b=n(27791),w=n(4250),C=n(7510),N=!("undefined"===typeof window||!window.document||!window.document.createElement);function Z(e){var t=e.container,n=(0,d.useRef)(),i=(0,d.useRef)(t);return(0,d.useEffect)((function(){return function(){n.current&&i.current&&(i.current.removeChild(n.current),n.current=void 0)}}),[]),N?(i.current||(i.current=document.body),n.current||(n.current=document.createElement("div"),i.current.appendChild(n.current)),C.createPortal(e.children,n.current)):null}var k=["className","style","isOpen","prefixCls","usePortal","maskClosable","backdropProps","portalProps","hasBackdrop","unmountOnExit","timeout","transitionName","onOpening","onOpened","onClosing","onClosed","onClose","children","dialogProps"];function S(e){var t=e.className,n=e.style,i=(e.isOpen,e.prefixCls),r=void 0===i?"w-overlay":i,a=e.usePortal,o=void 0===a||a,l=e.maskClosable,f=void 0===l||l,h=e.backdropProps,p=void 0===h?{}:h,v=e.portalProps,x=void 0===v?{}:v,g=e.hasBackdrop,j=void 0===g||g,b=e.unmountOnExit,C=void 0===b||b,N=e.timeout,S=void 0===N?300:N,E=e.transitionName,P=void 0===E?"w-overlay":E,M=e.onOpening,B=void 0===M?u:M,L=e.onOpened,z=void 0===L?u:L,D=e.onClosing,O=void 0===D?u:D,A=e.onClosed,T=void 0===A?u:A,R=e.onClose,I=void 0===R?u:R,F=e.children,H=e.dialogProps,W=void 0===H?{}:H,_=(0,s.Z)(e,k),V=(0,d.useState)(e.isOpen||!1),Y=(0,y.Z)(V,2),K=Y[0],$=Y[1],U=(0,d.useState)(!1),G=(0,y.Z)(U,2),J=G[0],q=G[1],X=(0,d.useRef)(null),Q=(0,d.useRef)(null);(0,d.useEffect)((function(){K!==e.isOpen&&e.isOpen&&q(!0),K===e.isOpen||e.isOpen||(ne(),$(!1))}),[e.isOpen]),(0,d.useEffect)((function(){J&&(j&&o&&document.body.classList.add(r+"-open"),$(!0))}),[J]);var ee="object"===typeof F?(0,d.cloneElement)(F,(0,c.Z)({},W,{style:(0,c.Z)({},F.props.style,W.style),className:[F.props.className,r+"-content"].filter(Boolean).join(" ").trim(),tabIndex:0})):(0,m.jsx)("span",(0,c.Z)({},W,{className:r+"-content",children:F}));function te(e){e.target!==X.current&&o||(f&&j&&(ne(),$(!1),I&&I(e)),p&&p.onMouseDown&&p.onMouseDown(e))}function ne(){j&&o&&document.body.classList.remove(r+"-open")}var ie=(0,m.jsx)(w.Z,(0,c.Z)({classNames:P,unmountOnExit:C,timeout:S,in:K,onEntering:B,onEntered:z,onExiting:O,onExited:function(e){q(!1),T&&T(e)}},_,{children:function(e){return(0,m.jsxs)("div",{style:n,ref:Q,className:[r,t,o?null:r+"-inline",K?r+"-enter-done":null].filter(Boolean).join(" ").trim(),children:[j&&(0,d.cloneElement)((0,m.jsx)("div",{}),(0,c.Z)({},p,{onMouseDown:te,className:[r+"-backdrop",p.className].filter(Boolean).join(" ").trim(),tabIndex:f?0:null})),o?(0,m.jsx)("div",{ref:X,onMouseDown:te,className:r+"-container",children:(0,d.cloneElement)(ee,{"data-status":e})}):(0,d.cloneElement)(ee,{"data-status":e})]})}}));return J&&o?(0,m.jsx)(Z,(0,c.Z)({},(0,c.Z)({},x),{children:ie})):ie}var E=n(22193),P=["className","prefixCls","verticalAlign","tagName","color","type","spin"];function M(e){var t=e.className,n=e.prefixCls,i=void 0===n?"w-icon":n,r=e.verticalAlign,a=void 0===r?"middle":r,o=e.tagName,l=void 0===o?"span":o,u=e.color,f=e.type,h=e.spin,p=void 0!==h&&h,v=(0,s.Z)(e,P),x=null;if("string"===typeof f)x=(0,m.jsx)("svg",{fill:u,viewBox:"0 0 20 20",children:(E[f]||[]).map((function(e,t){return(0,m.jsx)("path",{d:e,fillRule:"evenodd"},t)}))});else{if(!d.isValidElement(f))return null;x=d.cloneElement(f,{fill:u})}v.style=(0,c.Z)({fill:"currentColor"},v.style);var y=(0,c.Z)({},v,{className:[i,t,i&&a?i+"-"+a:null,p&&i?i+"-spin":null].filter(Boolean).join(" ").trim()});return d.createElement(l,(0,c.Z)({},y),x)}var B=["prefixCls","disabled","active","loading","block","basic","htmlType","type","size","icon","className","children"],L=d.forwardRef((function(e,t){var n=e.prefixCls,i=void 0===n?"w-btn":n,r=e.disabled,a=void 0!==r&&r,o=e.active,l=void 0!==o&&o,u=e.loading,f=void 0!==u&&u,h=e.block,p=void 0!==h&&h,v=e.basic,x=void 0!==v&&v,y=e.htmlType,g=void 0===y?"button":y,j=e.type,b=void 0===j?"light":j,w=e.size,C=void 0===w?"default":w,N=e.icon,Z=e.className,k=e.children,S=(0,s.Z)(e,B),E=[Z,i,C?i+"-size-"+C:null,b?i+"-"+b:null,x?i+"-basic":null,f?i+"-loading":null,a||f?"disabled":null,l?"active":null,p?"block":null].filter(Boolean).join(" ").trim();return(0,m.jsxs)("button",(0,c.Z)({},S,{ref:t,type:g,disabled:a||f,className:E,children:[N&&(0,m.jsx)(M,{type:N}),k&&d.Children.map(k,(function(e){return e?d.isValidElement(e)?e:(0,m.jsx)("span",{children:e}):e}))]}))})),z=["prefixCls","className","children","useButton","usePortal","autoFocus","isOpen","title","cancelText","cancelButtonProps","confirmButtonProps","content","confirmText","type","icon","maxWidth","minWidth","width","isCloseButtonShown","onCancel","onConfirm","bodyStyle"],D=d.forwardRef((function(e,t){var n=e.prefixCls,i=void 0===n?"w-modal":n,r=e.className,a=e.children,o=e.useButton,l=void 0===o||o,f=e.usePortal,h=void 0===f||f,p=e.autoFocus,v=void 0!==p&&p,x=(e.isOpen,e.title),g=e.cancelText,w=e.cancelButtonProps,C=e.confirmButtonProps,N=e.content,Z=e.confirmText,k=void 0===Z?"\u786e\u8ba4":Z,E=e.type,P=void 0===E?"light":E,B=e.icon,D=e.maxWidth,O=void 0===D?500:D,A=e.minWidth,T=void 0===A?320:A,R=e.width,I=e.isCloseButtonShown,F=void 0===I||I,H=e.onCancel,W=void 0===H?u:H,_=e.onConfirm,V=void 0===_?u:_,Y=e.bodyStyle,K=(0,s.Z)(e,z),$=(0,d.useState)(e.isOpen),U=(0,y.Z)($,2),G=U[0],J=U[1];(0,d.useEffect)((function(){e.isOpen!==G&&J(e.isOpen)}),[e.isOpen]);var q=(0,d.useState)(!1),X=(0,y.Z)(q,2),Q=X[0],ee=X[1],te=[i,r,P?""+P:null].filter(Boolean).join(" ").trim();function ne(e){return ie.apply(this,arguments)}function ie(){return(ie=(0,b.Z)(j().mark((function e(t){return j().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(ee(!0),e.prev=1,e.t0=W,!e.t0){e.next=6;break}return e.next=6,W(t);case 6:e.next=10;break;case 8:e.prev=8,e.t1=e.catch(1);case 10:J(!1),ee(!1);case 12:case"end":return e.stop()}}),e,null,[[1,8]])})))).apply(this,arguments)}function re(){return(re=(0,b.Z)(j().mark((function e(t){return j().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(ee(!0),e.prev=1,e.t0=V,!e.t0){e.next=6;break}return e.next=6,V(t);case 6:e.next=10;break;case 8:e.prev=8,e.t1=e.catch(1);case 10:J(!1),ee(!1);case 12:case"end":return e.stop()}}),e,null,[[1,8]])})))).apply(this,arguments)}return(0,m.jsx)(S,(0,c.Z)({usePortal:h,isOpen:G},K,{onClose:function(){J(!1)},className:te,children:(0,m.jsx)("div",{className:i+"-container",children:(0,m.jsxs)("div",{className:[i+"-inner",x?i+"-shown-title":null,B?i+"-shown-icon":null].filter(Boolean).join(" ").trim(),style:{maxWidth:O,minWidth:T,width:R},children:[(x||B)&&(0,m.jsxs)("div",{className:i+"-header",children:[B&&(0,m.jsx)(M,{type:B}),x&&(0,m.jsx)("h4",{children:x}),F&&(0,m.jsx)(L,{basic:!0,onClick:function(e){return ne(e)},icon:"close",type:"light"})]}),(0,m.jsx)("div",{className:i+"-body",style:Y,children:a||N}),l&&(0,m.jsxs)("div",{className:i+"-footer",children:[(0,m.jsx)(L,(0,c.Z)({autoFocus:v,type:P,loading:Q,disabled:Q},C,{onClick:function(e){return function(e){return re.apply(this,arguments)}(e)},children:k})),g&&(0,m.jsx)(L,(0,c.Z)({},w,{onClick:function(e){return ne(e)},children:g}))]})]})})}))})),O=["prefixCls","className","width"],A=function(e){void 0===e&&(e={});var t=e,n=t.prefixCls,i=void 0===n?"w-alert":n,r=t.className,a=t.width,o=void 0===a?400:a,l=(0,s.Z)(e,O),d=[i,r].filter(Boolean).join(" ").trim();return(0,m.jsx)(D,(0,c.Z)({},l,{width:o,className:d,children:e.children}))},T=["text"],R=/((?:https?:\/\/)?(?:(?:[a-z0-9]?(?:[a-z0-9\-]{1,61}[a-z0-9])?\.[^\.|\s])+[a-z\.]*[a-z]+|(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)(?:\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)){3})(?::\d{1,5})*[a-z0-9.,_\/~#&=;%+?\-\\(\\)]*)/gi,I=function(e){void 0===e&&(e={});var t=e.text,n=void 0===t?"":t,i=(0,s.Z)(e,T);return(0,m.jsx)(d.Fragment,{children:n.split(R).map((function(e,t){var n=e.match(R);if(n&&n[0]){var r=n[0];return(0,d.createElement)("a",(0,c.Z)({},i,{key:t,href:r.startsWith("http")?r:"http://"+r}),r)}return(0,m.jsx)(d.Fragment,{children:e},t)}))})},F=["prefixCls","shape","size","className","src","alt","icon","onError"],H=d.forwardRef((function(e,t){var n=e.prefixCls,i=void 0===n?"w-avatar":n,r=e.shape,a=void 0===r?"circle":r,o=e.size,l=void 0===o?"default":o,f=e.className,h=e.src,p=e.alt,v=e.icon,x=e.onError,g=void 0===x?u:x,j=(0,s.Z)(e,F),b=e.children,w=(0,d.useState)(!0),C=(0,y.Z)(w,2),N=C[0],Z=C[1],k=[i,f,l?i+"-"+l:null,a?i+"-"+a:null,h?i+"-image":null].filter(Boolean).join(" ").trim();return(0,d.useEffect)((function(){Z(!0)}),[e.src]),N&&h?b=(0,m.jsx)("img",{src:h,alt:p,onError:function(e){!1!==(g?g(e):void 0)&&Z(!1)}}):v&&"string"===typeof v?b=(0,m.jsx)(M,{type:v}):v&&d.isValidElement(v)&&(b=v),(0,m.jsx)("span",(0,c.Z)({},j,{className:k,ref:t,children:b}))}));function W(){var e=0;return document&&document.documentElement&&document.documentElement.scrollTop?e=document.documentElement.scrollTop:document.body&&(e=document.body.scrollTop),e}var _=["prefixCls","className","content","children","offsetTop","fixed","speed","showBelow","clickable"],V=d.forwardRef((function(e,t){var n=e.prefixCls,i=void 0===n?"w-back-top":n,r=e.className,a=e.content,o=e.children,l=e.offsetTop,u=void 0===l?0:l,f=e.fixed,h=void 0===f||f,p=e.speed,v=void 0===p?100:p,x=e.showBelow,g=void 0===x?1:x,j=e.clickable,b=void 0===j||j,w=(0,s.Z)(e,_),C=h&&g||0,N=(0,d.useState)(0),Z=(0,y.Z)(N,2),k=Z[0],S=Z[1],E=(0,d.useState)(0),P=(0,y.Z)(E,2),M=P[0],B=P[1],L=k>=C,z=[i,r,h?null:"no-fixed",L?i+"-show":null,L?null:i+"-hide"].filter(Boolean).join(" ").trim();function D(){S(function(e){void 0===e&&(e=0);var t=0;return e100?100:t}(u)),B(W())}function O(){"number"===typeof u&&"number"===typeof v&&"number"===typeof M&&function(e,t,n){void 0===e&&(e=0),void 0===t&&(t=100),void 0===n&&(n=0);var i=0,r=setInterval((function(){n-i>=e?n-(i+=t)>=e?window.scrollTo(0,n-i):window.scrollTo(0,e):clearInterval(r)}),0)}(u,v,M)}return(0,d.useEffect)((function(){return window&&window.addEventListener("scroll",D),function(){window&&window.removeEventListener("scroll",D)}})),(0,m.jsxs)("div",(0,c.Z)({onClick:function(){return b&&O()},className:z},w,{ref:t,children:[a,"function"!==typeof o?o:o({percent:k,current:M,scrollToTop:O})]}))})),Y=["prefixCls","className","style","color","max","dot","processing","count","children"],K=d.forwardRef((function(e,t){var n=e.prefixCls,i=void 0===n?"w-badge":n,r=e.className,a=e.style,o=void 0===a?{}:a,l=e.color,d=e.max,u=void 0===d?99:d,f=e.dot,h=void 0!==f&&f,p=e.processing,v=void 0!==p&&p,x=e.count,y=e.children,g=(0,s.Z)(e,Y),j={className:[h?null:i+"-count",h?"dot":null].filter(Boolean).join(" ").trim(),style:{}},b=[r,i,y?null:"nowrap",y?null:i+"-status",v?i+"-processing":null].filter(Boolean).join(" ").trim(),w={};return x||0===x?j.style=(0,c.Z)({backgroundColor:l},o):w.style=o||{},(0,m.jsxs)("span",(0,c.Z)({className:b},g,w,{ref:t,children:[l&&(0,m.jsx)("span",{className:i+"-dot",style:{backgroundColor:l}}),y,0!==x&&!l&&(0,m.jsx)("sup",(0,c.Z)({},j,{children:!h&&x&&u&&x>u?u+"+":x}))]}))})),$=["prefixCls","className","tagName","active","separator"],U=d.forwardRef((function(e,t){var n=e.prefixCls,i=void 0===n?"w-breadcrumb":n,r=e.className,a=e.tagName,o=void 0===a?"span":a,l=e.active,u=e.separator,f=(0,s.Z)(e,$),h=d.isValidElement(u),p=[i+"-item",r,l?"active":null,u?null:"no-separator",h?"no-before":null].filter(Boolean).join(" ").trim(),v=(0,c.Z)({className:p},f);return h||(v["data-separator"]=u),d.createElement(o,(0,c.Z)({},v,{ref:t}),(0,m.jsxs)(d.Fragment,{children:[h&&(0,m.jsx)("span",{className:i+"-separator",children:u}),e.children]}))})),G=["prefixCls","className","separator"],J=d.forwardRef((function(e,t){var n=e.prefixCls,i=void 0===n?"w-breadcrumb":n,r=e.className,a=e.separator,o=void 0===a?"/":a,l=(0,s.Z)(e,G),u=[i,r].filter(Boolean).join(" ").trim();return(0,m.jsx)("div",(0,c.Z)({},(0,c.Z)({className:u},l),{ref:t,children:d.Children.map(e.children,(function(e){return d.cloneElement(e,Object.assign({separator:o},e.props,{}))}))}))}));J.Item=U;var q=J,X=["prefixCls","vertical","children","className"],Q=d.forwardRef((function(e,t){var n=e.prefixCls,i=void 0===n?"w-btn-group":n,r=e.vertical,a=void 0!==r&&r,o=e.children,l=e.className,d=(0,s.Z)(e,X),u=[i,l,a&&i+"-vertical"].filter(Boolean).join(" ").trim();return(0,m.jsx)("div",(0,c.Z)({className:u},d,{ref:t,children:o}))})),ee=n(89437),te=n(60726);function ne(e,t){if(t)do{if(t===e)return!0}while(t=t.parentNode);return!1}function ie(e){return"function"===typeof HTMLElement?e instanceof HTMLElement:e&&"object"===typeof e&&1===e.nodeType&&"string"===typeof e.nodeName}var re=!("undefined"===typeof window||!window.document||!window.document.createElement)?function(e,t){return e&&e.contains&&"function"===typeof e.contains&&ie(t)?e.contains(t):e&&e.compareDocumentPosition&&ie(t)?e===t||!!e.compareDocumentPosition(t):ne(e,t)}:ne;function ae(e,t){var n="x"===t?"Left":"Top",i="Left"===n?"Right":"Bottom";return parseFloat(e["border"+n+"Width"])+parseFloat(e["border"+i+"Width"])}var oe="undefined"!==typeof window&&"undefined"!==typeof document,le=oe&&!(!window.MSInputMethodContext||!document.documentMode),se=oe&&/MSIE 10/.test(navigator.userAgent);function ce(e){return 11===e?le:10===e?se:le||se}function de(e,t,n,i){return Math.max(t["offset"+e],t["scroll"+e],n["client"+e],n["offset"+e],n["scroll"+e],ce(10)?parseInt(n["offset"+e],10)+parseInt(i["margin"+("Height"===e?"Top":"Left")],10)+parseInt(i["margin"+("Height"===e?"Bottom":"Right")],10):0)}function ue(e){var t={};try{if(ce(10)){t=e.getBoundingClientRect();var n=f(e,!0),i=f(e);t.top+=n,t.left+=i,t.bottom+=n,t.right+=i}else t=e.getBoundingClientRect()}catch(p){}var r,a={left:t.left,top:t.top,width:t.right-t.left,height:t.bottom-t.top},o="HTML"===e.nodeName?function(e){var t=e.body,n=e.documentElement,i=getComputedStyle(n);return{height:de("Height",t,n,i),width:de("Width",t,n,i)}}(e.ownerDocument):{},l=o.width||e.clientWidth||a.right-a.left,s=o.height||e.clientHeight||a.bottom-a.top,d=e.offsetWidth-l,u=e.offsetHeight-s;if(a.offsetLeft=e.offsetLeft||e.scrollLeft||0,a.offsetTop=e.offsetTop||e.offsetTop||0,d||u){var h=function(e,t){if(1!==e.nodeType)return[];var n=e.ownerDocument.defaultView.getComputedStyle(e,null);return t?n[t]:n}(e);d-=ae(h,"x"),u-=ae(h,"y"),a.width-=d,a.height-=u}return r=a,(0,c.Z)({},r,{right:r.left+r.width,bottom:r.top+r.height})}function fe(e){var t=e.getBoundingClientRect();return{width:e.offsetWidth||e.scrollWidth||t.width||0,height:e.offsetHeight||e.scrollHeight||t.height||0}}function he(e){var t=e||{},n=t.trigger,i=t.popup,r=t.placement,a=t.usePortal,o=t.autoAdjustOverflow,l={left:0,top:0,placement:r};if(!n||!i||!document)return l;var s=Math.max(document.documentElement.clientHeight,window.innerHeight||0),d=Math.max(document.documentElement.clientWidth,window.innerWidth||0);l.placement=r;var u=f(n.ownerDocument.documentElement,!0),h=f(n.ownerDocument.documentElement),p=(0,c.Z)({},ue(n),fe(n)),m=(0,c.Z)({},ue(i),fe(i)),v=s-p.bottom,x=d-p.left-p.width;switch(l.top=p.top+u,l.left=p.left,a||(l.top=p.offsetTop,l.left=p.offsetLeft),r&&/^(top)/.test(r)&&(l.top-=m.height),r&&/^(right)/.test(r)&&(l.left+=p.width),r&&/^(bottom)/.test(r)&&(l.top+=p.height),r&&/^(left)/.test(r)&&(l.left-=m.width),l.placement){case"bottomLeft":case"topLeft":case"rightTop":case"leftTop":default:break;case"bottom":case"top":l.left=l.left-(m.width-p.width)/2;break;case"bottomRight":case"topRight":l.left=l.left+h+p.width-m.width;break;case"right":case"left":l.top=l.top-(m.height-p.height)/2;break;case"rightBottom":case"leftBottom":l.top=l.top-m.height+p.height}return o&&(r&&/^(top)/.test(r)&&p.topm.height&&(l.placement=r.replace(/^top/,"bottom"),l.top=l.top+m.height+p.height),r&&/^(bottom)/.test(r)&&vm.height&&(l.placement=r.replace(/^bottom/,"top"),l.top=l.top-m.height-p.height),r&&/^(right)/.test(r)&&x0){var e,t=(0,te.Z)(D.current);try{for(t.s();!(e=t.n()).done;){var n=e.value;window.clearTimeout(n)}}catch(i){t.e(i)}finally{t.f()}D.current=[]}}function J(){G(),O.current="show";var t=me(e.delay);if(t.show){var n=window.setTimeout((function(){"show"===O.current&&ee()}),t.show);D.current.push(n)}else ee()}function q(t){if(G(),t||!e.isOutside){O.current="hide";var n=me(e.delay);if(n.hide){var i=window.setTimeout((function(){"hide"===O.current&&Q()}),n.hide);D.current.push(i)}else Q()}}function X(e,t,n){var i=t.currentTarget,r=t.relatedTarget||t.nativeEvent[n],a=!0;(z.current&&re(z.current,r)||L.current&&re(L.current,r))&&(a=!1),r&&r===i||re(i,r)||e(a,t)}function Q(){R&&(B.current-=1,I(!1))}function ee(){R||(B.current+=1,I(!0))}return"click"!==x||p||(K.onClick=function(e){var t=(V&&d.isValidElement(V)?V.props:{}).onClick;R?Q():ee(),t&&t(e,!R)}),"focus"!==x||p||(K.onFocus=function(){return J()}),"hover"!==x||p||(K.onMouseOver=K.onMouseEnter=function(e){X(J,e,"fromElement")},K.onMouseOut=K.onMouseLeave=function(e){X(q,e,"toElement")},Y.dialogProps&&(Y.dialogProps.onMouseLeave=function(e){X(q,e,"toElement")})),Y.style=(0,c.Z)({},Y.style,W),(0,m.jsxs)(d.Fragment,{children:[(0,d.cloneElement)(V,Object.assign({},V.props,(0,c.Z)({},K,{ref:L,className:[V.props.className,p?r+"-disabled":null].filter(Boolean).join(" ").trim()}))),(0,m.jsx)(S,(0,c.Z)({},Y,{style:(0,c.Z)({},Y.style,W),onEnter:function(e,t){P&&P(e,t);var n=he({placement:W.placement||j,trigger:L.current,popup:z.current,usePortal:o,autoAdjustOverflow:b});_((0,c.Z)({},n,{zIndex:B.current}))},className:[r,n,W.placement].filter(Boolean).join(" ").trim(),usePortal:o,transitionName:w,isOpen:R,hasBackdrop:!1,children:(0,d.cloneElement)(N,Object.assign((0,c.Z)({},N.props,{ref:z,className:[N.props&&N.props.className,j].filter(Boolean).join(" ").trim()})))}))]})})),xe=["prefixCls","className","content","visibleArrow"],ye=function(e){(0,o.Z)(n,e);var t=(0,l.Z)(n);function n(){var e;return(0,i.Z)(this,n),(e=t.apply(this,arguments)).renderArrow=function(){var t=e.props.prefixCls;return(0,m.jsx)("div",{className:t+"-arrow",children:(0,m.jsxs)("svg",{viewBox:"0 0 30 30",children:[(0,m.jsx)("path",{fillOpacity:"0.2",d:"M8.11 6.302c1.015-.936 1.887-2.922 1.887-4.297v26c0-1.378-.868-3.357-1.888-4.297L.925 17.09c-1.237-1.14-1.233-3.034 0-4.17L8.11 6.302z"}),(0,m.jsx)("path",{fill:"#fff",d:"M8.787 7.036c1.22-1.125 2.21-3.376 2.21-5.03V0v30-2.005c0-1.654-.983-3.9-2.21-5.03l-7.183-6.616c-.81-.746-.802-1.96 0-2.7l7.183-6.614z"})]})})},e}return(0,r.Z)(n,[{key:"render",value:function(){var e=this.props,t=e.prefixCls,n=e.className,i=e.visibleArrow,r=(0,s.Z)(e,xe),a=[t,n,i?null:"no-arrow"].filter(Boolean).join(" ").trim();return(0,m.jsx)(ve,(0,c.Z)({},r,{overlay:(0,m.jsxs)("div",{className:a,children:[i&&this.renderArrow(),(0,m.jsx)("div",{className:t+"-inner",children:this.props.content})]}),children:"object"===typeof this.props.children&&"Icon"!==this.props.children.type.name?this.props.children:(0,m.jsx)("span",{children:this.props.children})}))}}]),n}(d.Component);ye.defaultProps={prefixCls:"w-popover",placement:"top",usePortal:!0,isOpen:!1,visibleArrow:!0};var ge=["prefixCls","className","style","size","type","preIcon","addonAfter"],je=d.forwardRef((function(e,t){var n=e.prefixCls,i=void 0===n?"w-input":n,r=e.className,a=e.style,o=e.size,l=void 0===o?"default":o,u=e.type,f=void 0===u?"text":u,h=e.preIcon,p=void 0===h?null:h,v=e.addonAfter,x=(0,s.Z)(e,ge),y=d.useRef(null),g=d.useRef(null);(0,d.useImperativeHandle)(t,(function(){return y.current}));var j=[i,r,l?i+"-"+l:null,v?i+"-addon":null,e.disabled?"disabled":null].filter(Boolean).join(" ").trim();return(0,d.useEffect)((function(){!function(){if(g.current&&y.current){var e=window&&window.getComputedStyle(g.current,null);y.current.style.paddingRight=g.current.clientWidth+2*parseInt(e.right,10)+"px"}}()})),(0,m.jsxs)("div",{className:j,style:a,children:[(0,m.jsx)(M,{type:p}),(0,m.jsx)("input",(0,c.Z)({ref:y,type:f,autoComplete:"off"},x,{className:i+"-inner"})),v&&(0,m.jsx)("span",{className:i+"-addon-after",ref:g,children:v})]})})),be=n(649),we=["prefixCls","className","count","date","type","disabledHours","disabledMinutes","disabledSeconds","hideDisabled","onSelected"];function Ce(e){var t=e.prefixCls,n=void 0===t?"w-timepicker":t,i=e.count,r=void 0===i?24:i,a=e.date,o=e.type,l=void 0===o?"Hours":o,u=e.hideDisabled,f=e.onSelected,h=(0,s.Z)(e,we),p=(0,d.useRef)([]);function v(t){var n=e["disabled"+l];return!!n&&n(t,l,new Date(a))}var x=(0,d.useMemo)((function(){return(0,be.Z)(Array(r)).map((function(e,t){return v(t)&&p.current.push(t),{count:t,disabled:v(t)}})).filter((function(e){return!u||!e.disabled}))}),[u]);return(0,m.jsx)("div",(0,c.Z)({className:n+"-spinner"},h,{children:(0,m.jsx)("ul",{children:x.map((function(e,t){var n={};e.disabled||(n.onClick=function(t){return function(e,t){if(a){var n=new Date(a);n["set"+l](e),f&&f(l,e,p.current,n)}}(e.count)});var i=a&&l?new Date(a)["get"+l]():0;return(0,m.jsx)("li",(0,c.Z)({"data-index":i===e.count?t:void 0,ref:function(e){return e&&function(e){if(e&&e.parentNode&&e.dataset.index){var t=Number(e.dataset.index)*e.clientHeight;e.parentNode.parentNode&&(e.parentNode.parentNode.scrollTop=t)}}(e)}},n,{className:[e.disabled?"disabled":null,i===e.count?"selected":null,u&&e.disabled?"hide":null].filter(Boolean).join(" ").trim(),children:e.count<10?"0"+e.count:e.count}),t)}))})}))}var Ne=["prefixCls","className","precision"];function Ze(e){var t=e.prefixCls,n=void 0===t?"w-timepicker":t,i=e.className,r=e.precision,a=void 0===r?"second":r,o=(0,s.Z)(e,Ne);return(0,m.jsxs)("div",{className:[n,i].filter(Boolean).join(" ").trim(),children:[/^(second|minute|hour)$/.test(a)&&(0,m.jsx)(Ce,(0,c.Z)({type:"Hours",count:24},o)),/^(second|minute)$/.test(a)&&(0,m.jsx)(Ce,(0,c.Z)({type:"Minutes",count:60},o)),/^(second)$/.test(a)&&(0,m.jsx)(Ce,(0,c.Z)({type:"Seconds",count:60},o))]})}var ke=["prefixCls","className","disabled","value","format","popoverProps","allowClear","onChange","disabledHours","disabledMinutes","disabledSeconds","hideDisabled","precision"];function Se(e){var t=e.prefixCls,n=void 0===t?"w-timepicker":t,i=e.className,r=e.disabled,a=e.format,o=void 0===a?"HH:mm:ss":a,l=e.popoverProps,u=e.allowClear,f=void 0===u||u,h=e.onChange,p=e.disabledHours,v=e.disabledMinutes,x=e.disabledSeconds,g=e.hideDisabled,j=e.precision,b=(0,s.Z)(e,ke),w=(0,d.useState)(e.value),C=(0,y.Z)(w,2),N=C[0],Z=C[1];(0,d.useEffect)((function(){return Z(e.value)}),[e.value]);var k={disabledHours:p,disabledMinutes:v,disabledSeconds:x,hideDisabled:g,precision:j},S=N?(0,ee.Z)(o,new Date(N)):"",E=N||new Date,P=(0,c.Z)({},b,{value:S});return f&&""!==S&&S&&(P.addonAfter=(0,m.jsx)(L,{className:n+"-close-btn",icon:"close",disabled:e.disabled,onClick:function(){Z(void 0),h&&h()},size:e.size,basic:!0,type:"light"})),(0,m.jsx)(ye,(0,c.Z)({trigger:"focus",placement:"bottomLeft",autoAdjustOverflow:!0,visibleArrow:!1},l,{content:(0,m.jsx)(Ze,(0,c.Z)({className:n+"-popover"},k,{date:E,onSelected:function(e,t,n,i){Z(new Date(i));var r=i?(0,ee.Z)(o,i):"";h&&h(r,i,e,t,n)}})),children:(0,m.jsx)(je,(0,c.Z)({placeholder:"\u8bf7\u9009\u62e9\u65f6\u95f4",readOnly:!0,disabled:r},P,{className:[n+"-input",i].filter(Boolean).join(" ").trim()}))}))}var Ee=["date","row","col","index","today","panelDate","disabledDate","renderDay","onSelectDay"],Pe=["prefixCls","className","weekday","weekTitle","date","today","panelDate","disabledDate","renderDay","onSelectDay"];function Me(e){return Object.keys(e||{}).map((function(t){return e[t]?t:null})).filter(Boolean).join(" ").trim()}function Be(e){var t=e.date,n=e.col,i=e.index,r=e.today,a=e.panelDate,o=e.disabledDate,l=e.renderDay,u=e.onSelectDay,f=(0,s.Z)(e,Ee),h={end:0===n||6===n,prev:!1,today:!1,selected:!1,next:!1,disabled:!1},p=a;p&&function(e){return e instanceof Date&&!isNaN(e.getTime())}(p)||(p=new Date);var v=p.getFullYear(),x=p.getMonth(),y=(0,d.useMemo)((function(){return new Date(new Date(p).setDate(1)).getDay()}),[p.toDateString()]),g=(0,d.useMemo)((function(){return new Date(v,0===x?12:x+1,0).getDate()}),[p.toDateString()]),j=i;p&&((j=j-y+1)<1&&(h.prev=!0),j>g&&(h.next=!0));var b=new Date(new Date(p).setDate(j));r&&r.toDateString()===b.toDateString()&&(h.today=!0),t&&t.toDateString()===b.toDateString()&&(h.selected=!0);var w={onClick:function(){var e=b.getMonth();u&&u(b,{year:b.getFullYear(),month:0===e?12:e+1,day:b.getDate()})}};return o&&o(b,(0,c.Z)({},e,h))&&(h.disabled=!0,delete w.onClick),(0,m.jsx)("div",(0,c.Z)({className:Me(h)},f,w,{children:l?l(b.getDate(),(0,c.Z)({},e,h,{date:b})):(0,m.jsx)("div",{children:b.getDate()})}))}var Le=["\u661f\u671f\u5929","\u661f\u671f\u4e00","\u661f\u671f\u4e8c","\u661f\u671f\u4e09","\u661f\u671f\u56db","\u661f\u671f\u4e94","\u661f\u671f\u516d"],ze=["\u65e5","\u4e00","\u4e8c","\u4e09","\u56db","\u4e94","\u516d"];function De(e){var t=e.prefixCls,n=void 0===t?"w-datepicker":t,i=e.className,r=e.weekday,a=void 0===r?ze:r,o=e.weekTitle,l=void 0===o?Le:o,u=e.date,f=e.today,h=e.panelDate,p=e.disabledDate,v=e.renderDay,x=e.onSelectDay,y=(0,s.Z)(e,Pe),g=(0,d.useMemo)((function(){return(0,m.jsx)("div",{className:n+"-weekday",children:(a||[]).map((function(e,t){return(0,m.jsx)("div",{className:Me({end:0===t||6===t}),title:l&&l[t],children:e},t)}))})}),[n,a,l]);return(0,m.jsxs)("div",(0,c.Z)({},y,{className:[n?n+"-body":null,i].filter(Boolean).join(" ").trim(),children:[g,(0,m.jsx)("div",{className:[n?n+"-day-body":null].filter(Boolean).join(" ").trim(),children:(0,be.Z)(Array(6)).map((function(e,t){return(0,m.jsx)("div",{className:n+"-week",children:(0,be.Z)(Array(7)).map((function(e,n){return(0,m.jsx)(Be,{date:u,today:f,disabledDate:p,renderDay:v,panelDate:h,col:n,row:t,onSelectDay:function(e,t){x&&x(e,t)},index:7*t+n},n)}))},t)}))})]}))}var Oe=["prefixCls","className","panelDate","monthLabel","onSelected"];function Ae(e){var t=e.prefixCls,n=void 0===t?"w-datepicker":t,i=e.className,r=e.panelDate,a=void 0===r?new Date:r,o=e.monthLabel,l=e.onSelected,d=void 0===l?u:l,f=(0,s.Z)(e,Oe);return(0,m.jsx)("div",(0,c.Z)({className:[n?n+"-month":null,i].filter(Boolean).join(" ").trim()},f,{children:(0,be.Z)(Array(12)).map((function(e,t){var n=a.getMonth();return(0,m.jsx)("div",{className:[n===t?"selected":null].filter(Boolean).join(" ").trim(),children:(0,m.jsx)("span",{onClick:function(){return d(t,!1)},children:o&&o[t]||t})},t)}))}))}var Te=["prefixCls","panelNum","className","panelDate","onSelected"];function Re(e){var t=e.prefixCls,n=void 0===t?"w-datepicker":t,i=e.panelNum,r=void 0===i?[-7,-6,-5,-4,-3,-2,-1,0,1,2,3,4,5,6,7,8,9,10]:i,a=e.className,o=e.onSelected,l=void 0===o?u:o,f=(0,s.Z)(e,Te),h=(0,d.useState)(e.panelDate),p=(0,y.Z)(h,2),v=p[0],x=p[1];return(0,m.jsx)("div",(0,c.Z)({className:[n?n+"-year":null,a].filter(Boolean).join(" ").trim()},f,{children:r&&r.map((function(e,t){var n=v.getFullYear(),i=n+r[t];return(0,m.jsx)("div",{className:[n===i?"selected":null,0===t||t===r.length-1?"paging":null].filter(Boolean).join(" ").trim(),children:(0,m.jsx)("span",{onClick:function(){return function(e,t){if(0===t||t===r.length-1){var n=new Date(v);n.setFullYear(e),x(n),l(e,!0)}else l(e)}(i,t)},children:i})},t)}))}))}var Ie=["prefixCls","className","panelDate","monthLabel","onSelected","todayButton"];function Fe(){for(var e=arguments.length,t=new Array(e),n=0;n0&&a.map((function(e,t){var n=e.label,i=(0,s.Z)(e,Ye);return(0,m.jsx)("div",(0,c.Z)({},i,{children:n}),t)}))})]})}),[a,n])}var $e=["prefixCls","className","style","today","date","data","monthLabel","titleFormat","todayLabel","panelDate","onPaging","onSelectDay"];function Ue(e){var t=e.prefixCls,n=void 0===t?"w-calendar":t,i=e.className,r=e.style,a=e.today,o=void 0===a?new Date:a,l=e.date,u=e.data,f=(e.monthLabel,e.titleFormat),h=void 0===f?"YYYY/MM":f,p=e.todayLabel,v=void 0===p?"\u4eca\u5929":p,x=e.onPaging,g=e.onSelectDay,j=(0,s.Z)(e,$e),b=[n,i].filter(Boolean).join(" ").trim(),w=(0,d.useState)(e.panelDate||new Date),C=(0,y.Z)(w,2),N=C[0],Z=C[1];function k(e){var t=new Date;if("today"===e)t=o||new Date;else{var n=N.getMonth();N&&"prev"===e&&N.setMonth(n-1),N&&"next"===e&&N.setMonth(n+1),t=N}Z(new Date(t)),x&&x(e,t.getMonth()+1,t)}(0,d.useEffect)((function(){e.panelDate!==N&&Z(N)}),[e.panelDate]);var S=(0,d.useMemo)((function(){return(0,m.jsx)("div",{className:n+"-title",children:(0,ee.Z)(h,N)})}),[n,h,N]),E=(0,d.useMemo)((function(){return(0,m.jsxs)("div",{className:n+"-btn-group",children:[(0,m.jsx)(M,{type:"down",onClick:function(){return k("prev")}}),(0,m.jsx)("span",{className:n+"-btn",onClick:function(){return k("today")},children:v}),(0,m.jsx)(M,{type:"down",onClick:function(){return k("next")}})]})}),[n,v]);return(0,m.jsxs)("div",{className:b,style:r,children:[(0,m.jsxs)("div",{className:n+"-caption",children:[S,E]}),(0,m.jsx)(De,(0,c.Z)({onSelectDay:function(e,t){Z(e),g&&g(e,t)},renderDay:function(e,t){return(0,m.jsx)(Ke,{prefixCls:n,day:e,data:u,currentDate:t.date})},date:l,today:o,panelDate:N||new Date},j))]})}var Ge=["prefixCls","className","title","extra","footer","bordered","noHover","active","bodyStyle","bodyClassName","children"],Je=d.forwardRef((function(e,t){var n=e.prefixCls,i=void 0===n?"w-card":n,r=e.className,a=e.title,o=e.extra,l=e.footer,u=e.bordered,f=void 0===u||u,h=e.noHover,p=void 0!==h&&h,v=e.active,x=void 0!==v&&v,y=e.bodyStyle,g=e.bodyClassName,j=e.children,b=(0,s.Z)(e,Ge),w=(0,d.useMemo)((function(){return[i,r,f?i+"-bordered":null,p?i+"-no-hover":null,x?"active":null].filter(Boolean).join(" ").trim()}),[i,r,f,p]);return(0,m.jsxs)("div",(0,c.Z)({},b,{className:w,ref:t,children:[(a||o)&&(0,m.jsxs)("div",{className:i+"-head",children:[a&&(0,m.jsx)("div",{className:i+"-head-title",children:a}),o&&(0,m.jsx)("div",{className:i+"-extra",children:o})]}),j&&(0,m.jsx)("div",{className:[i+"-body",g].filter(Boolean).join(" ").trim(),style:y,children:j}),l&&(0,m.jsx)("div",{className:i+"-footer",children:l})]}))})),qe=["prefixCls","type","disabled","value","className","style","children","size","checked","onChange"],Xe=d.forwardRef((function(e,t){var n=e.prefixCls,i=void 0===n?"w-radio":n,r=e.type,a=void 0===r?"radio":r,o=e.disabled,l=void 0!==o&&o,u=e.value,f=void 0===u?"":u,h=e.className,p=e.style,v=e.children,x=e.size,g=e.checked,j=void 0!==g&&g,b=e.onChange,w=(0,s.Z)(e,qe),C=(0,d.useState)(j),N=(0,y.Z)(C,2),Z=N[0],k=N[1],S=(0,d.useState)(),E=(0,y.Z)(S,2),P=E[0],M=E[1];j!==P&&M(j),(0,d.useMemo)((function(){j!==P&&k(j)}),[P]);var B=[i,h,l?"disabled":null,x?i+"-"+x:null].filter(Boolean).join(" ").trim();(0,d.useMemo)((function(){Z!==e.checked&&k(!!e.checked)}),[e.checked]);var L=v||f;return(0,m.jsxs)("label",{className:B,style:p,children:[(0,m.jsx)("input",(0,c.Z)({},(0,c.Z)({},w,{type:a,disabled:l,value:f}),{checked:Z,onChange:function(e){e.persist(),k(e.target.checked),b&&b(e)},ref:t})),L&&(0,m.jsx)("div",{className:i+"-text",children:L})]})})),Qe=d.forwardRef((function(e,t){return(0,m.jsx)(Xe,(0,c.Z)({ref:t},e))})),et=["prefixCls","className","name","value","onChange","children"],tt=d.forwardRef((function(e,t){var n=e.prefixCls,i=void 0===n?"w-radio-group":n,r=e.className,a=e.name,o=e.value,l=e.onChange,u=e.children,f=(0,s.Z)(e,et);return(0,m.jsx)("div",(0,c.Z)({},f,{ref:t,className:[i,r].filter(Boolean).join(" ").trim(),children:d.Children.toArray(u).map((function(e){if(e)return d.isValidElement(e)?d.cloneElement(e,(0,c.Z)({},e.props||{},{checked:e.props.value===o,name:a,onChange:l})):e}))}))})),nt=["prefixCls","className","name","value","onChange"],it=d.forwardRef((function(e,t){var n=e.prefixCls,i=void 0===n?"w-checkbox-group":n,r=e.className,a=e.name,o=e.value,l=e.onChange,u=(0,s.Z)(e,nt),f=(0,d.useRef)([]),h=[i,r].filter(Boolean).join(" ").trim(),p=d.Children.toArray(e.children);return(0,d.useMemo)((function(){return f.current=o||[]}),[o]),(0,m.jsx)("div",(0,c.Z)({},u,{className:h,ref:t,children:d.Children.map(p,(function(e){if(d.isValidElement(e))return Array.isArray(o)&&e&&e.props&&e.props.value&&o.includes(e.props.value)&&(f.current.includes(e.props.value)||f.current.push(e.props.value)),d.cloneElement(e,Object.assign({},e.props,{name:a,checked:f.current.includes(e.props.value),onChange:function(t){if(!t.target.type||"checkbox"===t.target.type){var n=t.target.checked,i=f.current.includes(e.props.value);!i&&n?f.current.push(e.props.value):i&&!n&&(f.current=f.current.filter((function(t){return t!==e.props.value}))),l&&l(t,f.current)}}}))}))}))})),rt=["className","prefixCls","type","indeterminate","disabled","value"];function at(e,t){var n=e.className,i=e.prefixCls,r=void 0===i?"w-checkbox":i,a=e.type,o=void 0===a?"checkbox":a,l=e.indeterminate,d=void 0!==l&&l,u=e.disabled,f=void 0!==u&&u,h=e.value,p=void 0===h?"":h,v=(0,s.Z)(e,rt),x=[n,d&&"indeterminate"].filter(Boolean).join(" ").trim();return(0,m.jsx)(Xe,(0,c.Z)({ref:t},v,{type:o,prefixCls:r,disabled:f,value:p,className:x}))}var ot=d.forwardRef(at);ot.Group=it;var lt=ot,st=["prefixCls","className","icon","children","isActive","onItemClick","disabled","showArrow","header","extra"];var ct=["prefixCls","className","children","accordion","bordered","showArrow","activeKey","onChange"];function dt(e){var t=e;return Array.isArray(t)||(t=t?[t]:[]),t}function ut(e,t){var n=e.prefixCls,i=void 0===n?"w-collapse":n,r=e.className,a=e.children,o=e.accordion,l=void 0!==o&&o,u=e.bordered,f=e.showArrow,h=void 0===f||f,p=e.activeKey,v=e.onChange,x=(0,s.Z)(e,ct),g=(0,d.useState)(dt(p)),j=(0,y.Z)(g,2),b=j[0],w=j[1],C=[i,r,u?"w-noborder":null].filter(Boolean).join(" ").trim();return(0,d.useMemo)((function(){p!==b&&w(dt(p))}),[p]),(0,d.useMemo)((function(){p!==b&&v&&v(b)}),[b,p]),(0,m.jsx)("div",(0,c.Z)({className:C},x,{ref:t,children:d.Children.map(a,(function(e,t){var n=e.key||String(t),r=e.props.disabled,a=!1;a=l?b[0]===n:b.indexOf(n)>-1;var o=(0,c.Z)({prefixCls:i,isActive:a,disabled:r,showArrow:h,onItemClick:r?function(){}:function(){return function(e){var t=b;if(l)t=t[0]===e?[]:[e];else{var n=(t=(0,be.Z)(t)).indexOf(e);n>-1?t.splice(n,1):t.push(e)}w(t)}(n)}},e.props);return d.cloneElement(e,o)}))}))}var ft=d.forwardRef(ut);ft.Panel=function(e){var t=e.prefixCls,n=void 0===t?"w-collapse":t,i=e.className,r=e.icon,a=void 0===r?"down":r,o=e.children,l=e.isActive,u=e.onItemClick,f=e.disabled,h=void 0!==f&&f,p=e.showArrow,v=e.header,x=e.extra,y=(0,s.Z)(e,st),g=[n?n+"-item":null,i,l?n+"-active":null,h?n+"-disabled":null].filter(Boolean).join(" ").trim(),j="string"===typeof a?(0,m.jsx)(M,{type:a}):a;return(0,m.jsxs)("div",(0,c.Z)({className:g},y,{children:[(0,m.jsxs)("div",{className:n+"-header",onClick:u,children:[p&&j,(0,m.jsx)("span",{className:n+"-title",children:v}),x&&(0,m.jsx)("div",{className:n+"-extra",children:x})]}),(0,m.jsx)(w.Z,{in:l,unmountOnExit:!1,timeout:300,classNames:n+"-panel",children:function(e){return d.cloneElement((0,m.jsx)("div",{children:o}),{className:n+"-panel",style:(t=o,Object.assign({},t&&t.props?t.props.style:{},{transitionDuration:"300ms"})),ref:function(t){return function(e,t){t&&("exited"!==e&&"exiting"!==e||(t.style.height="1px"),"entered"!==e&&"entering"!==e||(t.style.height=t.scrollHeight+"px"))}(e,t)}});var t}})]}))};var ht=ft,pt=n(70556),mt=n.n(pt),vt=["prefixCls","className","text","children","onClick"];function xt(e){var t=e.prefixCls,n=void 0===t?"w-copy-to-clipboard":t,i=e.className,r=e.text,a=void 0===r?"":r,o=e.children,l=e.onClick,d=void 0===l?function(){return null}:l,u=(0,s.Z)(e,vt);var f=(0,c.Z)({},u,{className:[n,i].filter(Boolean).join(" ").trim(),onClick:function(e){if(!a)return d("",!1,e);mt()(a,(function(t){d(a,t,e)}))}});return(0,m.jsxs)("span",(0,c.Z)({},f,{children:[(0,m.jsx)("span",{className:n+"-select",children:a}),o]}))}var yt=["prefixCls","bodyStyle","className","popoverProps","datePickerProps","allowClear","format","onChange","value"];function gt(e){var t=e.prefixCls,n=void 0===t?"w-dateinputrange":t,i=e.bodyStyle,r=void 0===i?void 0:i,a=e.className,o=e.popoverProps,l=e.datePickerProps,u=e.allowClear,f=void 0===u||u,h=e.format,p=void 0===h?"YYYY/MM/DD":h,v=e.onChange,x=e.value,g=(0,s.Z)(e,yt),j=(0,d.useState)([]),b=(0,y.Z)(j,2),w=b[0],C=b[1];function N(e,t){var n=(0,be.Z)(w);n[t]=e,C(n),v&&v(e,n)}return(0,d.useEffect)((function(){var e=[],t=x;Array.isArray(t)&&null!=t&&t.length&&t.forEach((function(n,i){e[i]="string"===typeof t[i]?new Date(n):n})),C(e)}),[JSON.stringify(x)]),(0,m.jsxs)("div",{className:[n+"-contents",n+"-inner"].filter(Boolean).join(" ").trim(),style:(0,c.Z)({width:300},r),children:[(0,m.jsx)(ye,(0,c.Z)({trigger:"focus",placement:"bottomLeft",autoAdjustOverflow:!0},o,{content:(0,m.jsx)(Ve,(0,c.Z)({date:w[0],className:n+"-popover"},l,{onChange:function(e){return N(e,0)}})),children:(0,m.jsx)(je,(0,c.Z)({placeholder:"\u8bf7\u9009\u62e9\u65e5\u671f",readOnly:!0},g,{value:w[0]?(0,ee.Z)(p,w[0]):"",className:[n,a].filter(Boolean).join(" ").trim()}))})),(0,m.jsx)(M,{type:"swap-right",verticalAlign:"baseline",style:{fontSize:21,top:-1,margin:"0px 8px 0px 5px"}}),(0,m.jsx)(ye,(0,c.Z)({trigger:"focus",placement:"bottomLeft",autoAdjustOverflow:!0},o,{content:(0,m.jsx)(Ve,(0,c.Z)({date:w[1],className:n+"-popover"},l,{onChange:function(e){return N(e,1)}})),children:(0,m.jsx)(je,(0,c.Z)({placeholder:"\u8bf7\u9009\u62e9\u65e5\u671f",readOnly:!0},g,{value:w[1]?(0,ee.Z)(p,w[1]):"",className:[n,a].filter(Boolean).join(" ").trim()}))})),f&&w.length>0&&(0,m.jsx)(M,{className:n+"-close-btn",color:"#ccc",onClick:function(){return C([])},type:"close"})]})}var jt=["prefixCls","className","popoverProps","datePickerProps","allowClear","format","onChange"];function bt(e){var t=e.prefixCls,n=void 0===t?"w-dateinput":t,i=e.className,r=e.popoverProps,a=e.datePickerProps,o=e.allowClear,l=void 0===o||o,u=e.format,f=void 0===u?"YYYY/MM/DD":u,h=e.onChange,p=(0,s.Z)(e,jt),v=(0,d.useState)(e.value),x=(0,y.Z)(v,2),g=x[0],j=x[1],b=g||"";function w(e){j(e),h&&h(e)}return p.value="string"===typeof b?b:(0,ee.Z)(f,b),(0,d.useEffect)((function(){e.value!==g&&j(e.value)}),[e.value]),l&&p.value&&(p.addonAfter=(0,m.jsx)(M,{className:n+"-close-btn",onClick:function(){return w(void 0)},type:"close"})),(0,m.jsx)(ye,(0,c.Z)({trigger:"focus",placement:"bottomLeft",autoAdjustOverflow:!0},r,{content:(0,m.jsx)(Ve,(0,c.Z)({date:b&&new Date(b)||void 0,className:n+"-popover"},a,{onChange:function(e){return w(e)}})),children:(0,m.jsx)(je,(0,c.Z)({placeholder:"\u8bf7\u9009\u62e9\u65e5\u671f",readOnly:!0},p,{className:[n,i].filter(Boolean).join(" ").trim()}))}))}var wt=function(e){return e.children},Ct=["prefixCls","className","tagName","layout","bordered","label","isLastCell","colon","span","children","column"];var Nt=function(e){void 0===e&&(e={});var t=e,n=t.prefixCls,i=t.className,r=t.tagName,a=void 0===r?"td":r,o=t.layout,l=t.bordered,u=t.label,f=t.colon,h=t.span,p=t.children,v=(0,s.Z)(e,Ct),x={className:[n?n+"-item-label":null,i,f?n+"-item-colon":null,u?null:n+"-item-no-label"].filter(Boolean).join(" ").trim()};return"horizontal"===o?l?(0,m.jsxs)(d.Fragment,{children:[(0,m.jsx)("th",(0,c.Z)({},x,{children:u})),(0,m.jsx)(a,(0,c.Z)({},v,{colSpan:h?2*h-1:h,className:n?n+"-item-content":"",children:p}))]}):(0,m.jsxs)(a,(0,c.Z)({},v,{colSpan:h,children:[(0,m.jsx)("span",(0,c.Z)({},x,{children:u})),(0,m.jsx)("span",{className:n?n+"-item-content":"",children:p})]})):(0,m.jsx)(a,{colSpan:h,className:n+"-item-"+("td"===a?"content":"label"),children:p})};function Zt(e){void 0===e&&(e={});var t=e,n=t.prefixCls,i=t.layout,r=t.bordered,a=t.column,o=t.colon,l=t.children,s=void 0===l?[]:l;function u(e){return s.map((function(t,l){return(0,d.createElement)(Nt,(0,c.Z)({},t.props,{prefixCls:n,key:l,column:a,tagName:e?"th":"td",isLastCell:s.length-1===l,layout:i,colon:o,bordered:r}),e?t.props.label:t.props.children)}))}var f=n?n+"-row":"";return(0,m.jsxs)(d.Fragment,{children:["vertical"===i&&(0,m.jsx)("tr",{className:f,children:u(!0)}),(0,m.jsx)("tr",{className:f,children:u()})]})}var kt=["prefixCls","className","title","bordered","column","size","colon","children","layout"];function St(e,t){var n=e.prefixCls,i=void 0===n?"w-descriptions":n,r=e.className,a=e.title,o=e.bordered,l=e.column,u=void 0===l?3:l,f=e.size,h=e.colon,p=void 0===h||h,v=e.children,x=e.layout,y=void 0===x?"horizontal":x,g=(0,s.Z)(e,kt),j=[i,r,i&&y?i+"-"+y:null,o?i+"-bordered":null,f?i+"-"+f:null].filter(Boolean).join(" ").trim(),b=function(e,t){var n,i=[],r=null;return e.forEach((function(a,o){var l=a;r||(n=t,r=[],i.push(r)),o===e.length-1&&(l=d.cloneElement(l,{span:n}));var s=l.props.span,c=void 0===s?1:s;r.push(l),(n-=c)<=0&&(r=null)})),i}(d.Children.toArray(v),u);return(0,m.jsx)("div",{className:j,ref:t,children:(0,m.jsxs)("table",(0,c.Z)({},g,{children:[a&&(0,m.jsx)("caption",{className:i+"-title",children:a}),(0,m.jsx)("tbody",{children:b.map((function(e,t){return(0,m.jsx)(Zt,{prefixCls:i,bordered:o,colon:p,column:u,layout:y,children:e},t)}))})]}))})}var Et=d.forwardRef(St);Et.Item=wt;var Pt=Et,Mt=["prefixCls","className","children","dashed","type","align"],Bt=d.forwardRef((function(e,t){var n=e.prefixCls,i=void 0===n?"w-divider":n,r=e.className,a=e.children,o=e.dashed,l=void 0!==o&&o,d=e.type,u=void 0===d?"horizontal":d,f=e.align,h=void 0===f?"center":f,p=(0,s.Z)(e,Mt),v=[r,i,i&&u?i+"-"+u:null,i&&h?i+"-"+h:null,a?i+"-with-text":null,l?i+"-dashed":null].filter(Boolean).join(" ").trim();return(0,m.jsx)("div",(0,c.Z)({className:v},p,{ref:t,children:a&&(0,m.jsx)("span",{className:i+"-inner-text",children:a})}))})),Lt=n(64649),zt=["prefixCls","className","style","placement","size","title","footer","icon","isCloseButtonShown","bodyProps","timeout","isOpen","maskClosable"],Dt=function(e){void 0===e&&(e={});var t=e,n=t.prefixCls,i=void 0===n?"w-drawer":n,r=t.className,a=t.style,o=t.placement,l=void 0===o?"right":o,u=t.size,f=void 0===u?260:u,h=t.title,p=t.footer,v=t.icon,x=t.isCloseButtonShown,y=void 0===x||x,g=t.bodyProps,j=t.timeout,b=void 0===j?300:j,w=t.isOpen,C=void 0!==w&&w,N=t.maskClosable,Z=void 0===N||N,k=(0,s.Z)(e,zt),E=[r,i,l].filter(Boolean).join(" ").trim(),P=[g?g.className:null,i?i+"-body-inner":null].filter(Boolean).join(" ").trim(),B=(0,c.Z)({},a,(0,Lt.Z)({},/^(top|bottom)$/.test(l)?"height":"width",f)),z=(0,d.useMemo)((function(){return p?(0,m.jsx)("div",{className:i+"-footer",children:p}):null}),[p]),D=(0,d.useMemo)((function(){return v?(0,m.jsx)(M,{type:v}):null}),[v]),O=(0,d.useMemo)((function(){return h?(0,m.jsx)("h4",{children:h}):null}),[h]);return(0,m.jsx)(S,(0,c.Z)({className:E,timeout:b,isOpen:C,maskClosable:Z},k,{children:(0,m.jsxs)("div",{className:i+"-wrapper",style:B,children:[(h||v)&&(0,m.jsxs)("div",{className:i+"-header",children:[D,O,h&&y&&(0,m.jsx)(L,{basic:!0,onClick:e.onClose,icon:"close",type:"light"})]}),(0,m.jsx)("div",{className:i+"-body",children:(0,m.jsx)("div",(0,c.Z)({},g,{className:P,children:e.children}))}),z]})}))},Ot=["prefixCls","placement","className","menu","children","disabled"];function At(e){var t=e.prefixCls,n=void 0===t?"w-dropdown":t,i=e.placement,r=void 0===i?"bottomLeft":i,a=e.className,o=e.menu,l=e.children,u=e.disabled,f=(0,s.Z)(e,Ot),h=(0,d.useMemo)((function(){return[n,a].filter(Boolean).join(" ").trim()}),[n,a]);return(0,m.jsx)(ve,(0,c.Z)({isOutside:!0,autoAdjustOverflow:!0,className:h,disabled:u,placement:r},f,{overlay:o,children:d.cloneElement(l,Object.assign({},l.props))}))}var Tt=["prefixCls","className","icon","iconProps","size","description","children"],Rt=function(e){var t=e.prefixCls,n=void 0===t?"w-empty":t,i=e.className,r=e.icon,a=e.iconProps,o=e.size,l=void 0===o?64:o,d=e.description,u=void 0===d?"\u6682\u65e0\u6570\u636e":d,f=e.children,h=(0,s.Z)(e,Tt),p=[n,i].filter(Boolean).join(" ").trim();return(0,m.jsxs)("div",(0,c.Z)({className:p},h,{children:[(0,m.jsx)("div",{className:n+"-icon",children:r||(0,m.jsxs)("svg",(0,c.Z)({viewBox:"0 0 1024 1024",width:l,height:l},a,{children:[(0,m.jsx)("path",{d:"M20.48 860.16a491.52 102.4 0 1 0 983.04 0 491.52 102.4 0 1 0-983.04 0Z",fill:"#F5F5F5"}),(0,m.jsx)("path",{d:"M225.28 409.6l573.44-8.06912 112.78336 183.296H102.4z",fill:"#C4C5C7"}),(0,m.jsx)("path",{d:"M266.24 61.44h491.52a40.96 40.96 0 0 1 40.96 40.96v532.48a40.96 40.96 0 0 1-40.96 40.96H266.24a40.96 40.96 0 0 1-40.96-40.96V102.4a40.96 40.96 0 0 1 40.96-40.96z",fill:"#F5F5F7"}),(0,m.jsx)("path",{d:"M348.16 143.36h327.68a40.96 40.96 0 0 1 40.96 40.96v122.88a40.96 40.96 0 0 1-40.96 40.96H348.16a40.96 40.96 0 0 1-40.96-40.96V184.32a40.96 40.96 0 0 1 40.96-40.96zM327.68 409.6h368.64a20.48 20.48 0 0 1 0 40.96H327.68a20.48 20.48 0 0 1 0-40.96zM327.68 491.52h368.64a20.48 20.48 0 0 1 0 40.96H327.68a20.48 20.48 0 0 1 0-40.96z",fill:"#EBECEC"}),(0,m.jsx)("path",{d:"M673.44384 607.58016v13.43488c0 25.14944-20.0704 45.52704-44.8512 45.52704H382.95552l-2.2528-0.06144c-23.7568-1.16736-42.63936-21.07392-42.63936-45.4656v-13.45536c0-12.55424-10.0352-22.7328-22.44608-22.7328H102.4v250.30656C102.4 860.2624 122.49088 880.64 147.29216 880.64h719.31904c24.7808 0 44.89216-20.3776 44.89216-45.50656V584.82688H695.88992c-12.3904 0-22.44608 10.17856-22.44608 22.7328z",fill:"#E0E0E0"})]}))}),u&&(0,m.jsx)("div",{className:n+"-description",children:u}),f&&(0,m.jsx)("div",{className:n+"-footer",children:f})]}))},It=["className","dataLabel","prefixCls"],Ft=d.forwardRef((function(e,t){var n=e.className,i=e.dataLabel,r=void 0===i?"Browse":i,a=e.prefixCls,o=void 0===a?"w-fileinput":a,l=(0,s.Z)(e,It),d=[o,n].filter(Boolean).join(" ").trim();return(0,m.jsx)(je,(0,c.Z)({ref:t,"data-label":r,className:d},l,{type:"file"}))})),Ht=function(e){var t=e.className,n=e.prefixCls,i=void 0===n?"w-fileinput-list":n,r=e.dataList,a=void 0===r?[]:r,o=e.uploadType,l=e.size,s=void 0===l?"middle":l,c=e.shape,u=void 0===c?"round":c,f=e.readonly,h=e.children,p=e.showFileIcon,v=void 0===p?{showPreviewIcon:!0,showRemoveIcon:!0}:p,x=e.onPreview,y=e.onAdd,g=e.onRemove,j=[i,i+"-size-"+s,i+"-shape-"+u,t].filter(Boolean).join(" ").trim();return(0,m.jsxs)("div",{className:j,children:[h&&!f&&d.isValidElement(h)&&d.cloneElement(h,{onClick:y}),(0,m.jsx)("div",{children:a.map((function(e,t){return(0,m.jsxs)("div",{className:i+"-"+o,children:["picture"===o&&(0,m.jsxs)("div",{className:i+"-info "+i+"-"+o+"-info",children:[(0,m.jsx)("img",{src:e.dataURL,alt:""}),(null==v?void 0:v.showPreviewIcon)&&(0,m.jsx)("div",{className:i+"-actions",children:(0,m.jsx)("span",{className:i+"-actions-search",onClick:function(){return null==x?void 0:x(e)},children:(0,m.jsx)(M,{type:"search",style:{color:"#fff",fontSize:16}})})})]}),(0,m.jsx)("div",{className:i+"-"+o+"-text",children:e.name}),(null==v?void 0:v.showRemoveIcon)&&(0,m.jsx)("div",{className:i+"-"+o+"-icon",onClick:function(){return null==g?void 0:g(t)},children:(0,m.jsx)(M,{type:"delete",style:{color:"#999"}})})]},t)}))})]})},Wt=function(e){var t=e.className,n=e.prefixCls,i=void 0===n?"w-fileinput-card":n,r=e.dataList,a=void 0===r?[]:r,o=e.maxNumber,l=void 0===o?3:o,s=e.shape,c=void 0===s?"round":s,d=e.size,u=void 0===d?"middle":d,f=e.readonly,h=e.children,p=e.showFileIcon,v=void 0===p?{showPreviewIcon:!0,showRemoveIcon:!0}:p,x=e.onAdd,y=e.onPreview,g=e.onRemove,j=[i,i+"-size-"+u,i+"-shape-"+c,t].filter(Boolean).join(" ").trim(),b=!(!v.showPreviewIcon&&!v.showRemoveIcon);return(0,m.jsxs)("div",{className:j,children:[a.map((function(e,t){return(0,m.jsxs)("div",{className:i+"-box",children:[(0,m.jsx)("div",{className:i+"-box-info",children:(0,m.jsx)("img",{src:e.dataURL,alt:""})}),(0,m.jsxs)("div",{className:b?i+"-actions":"",children:[(null==v?void 0:v.showPreviewIcon)&&(0,m.jsx)("span",{className:i+"-actions-remove",onClick:function(){return null==y?void 0:y(e)},children:(0,m.jsx)(M,{type:"search",style:{color:"#fff",fontSize:16}})}),(null==v?void 0:v.showRemoveIcon)&&(0,m.jsx)("span",{className:i+"-actions-remove",onClick:function(){return null==g?void 0:g(t)},children:(0,m.jsx)(M,{type:"delete",style:{color:"#fff",fontSize:16}})})]})]},t)})),l>a.length&&!f&&(0,m.jsx)("div",{className:i+"-box "+i+"-btn",onClick:x,children:h})]})},_t=function(e){var t=new FileReader;return new Promise((function(n){t.addEventListener("load",(function(){return n(String(t.result))})),t.readAsDataURL(e)}))},Vt=function(e,t){for(var n=[],i=0;i0?S.map((function(e,t){return b(e,t)})):C;var P=d.Children.map(n,(function(e,t){return d.isValidElement(e)&&d.cloneElement(e,{key:t})})),M=[r,w,f?r+"-striped":null,p?r+"-no-hover":null,x?r+"-active":null,o?r+"-bordered":null,g&&"default"!==g?r+"-size-"+g:null].filter(Boolean).join(" ").trim();return(0,m.jsxs)("div",(0,c.Z)({className:M},E,{ref:t,children:[N&&(0,m.jsx)("div",{className:r+"-header",children:N}),P,Z&&(0,m.jsx)("div",{className:r+"-footer",children:Z})]}))}var sn=d.forwardRef(ln);sn.Item=an;var cn=sn,dn=n(56954),un=["prefixCls","className","size","loading","tip","vertical","color","bgColor","children","indicator","fullscreen"],fn=function(e){void 0===e&&(e={});var t=e,n=t.prefixCls,i=void 0===n?"w-loader":n,r=t.className,a=t.size,o=void 0===a?"default":a,l=t.loading,u=void 0===l||l,f=t.tip,h=t.vertical,p=t.color,v=t.bgColor,x=t.children,y=t.indicator,g=t.fullscreen,j=void 0!==g&&g,b=(0,s.Z)(e,un),w=[i,r,o?i+"-"+o:null].filter(Boolean).join(" ").trim(),C=(0,d.useMemo)((function(){return(0,m.jsx)("svg",{viewBox:"25 25 50 50",children:(0,m.jsx)("circle",{cx:"50",cy:"50",r:"20",fill:"none",strokeWidth:"5",strokeMiterlimit:"10"})})}),[]),N=(0,d.useMemo)((function(){return(0,m.jsx)("div",{className:[i+"-tips",j?i+"-fullscreen":null].filter(Boolean).join(" ").trim(),style:{color:p,backgroundColor:v},children:(0,m.jsxs)("div",{className:i+"-tips-nested",children:[y||C,f&&(0,m.jsx)("div",{className:[i+"-text",h?i+"-vertical":null].filter(Boolean).join(" ").trim(),children:f})]})})}),[j,v,i,h,f]);return(0,m.jsxs)("div",(0,c.Z)({className:w},b,{children:[(u||j)&&N,x&&d.cloneElement(x,Object.assign({},x.props,{className:[i+"-warp",u?i+"-blur":null].filter(Boolean).join(" ").trim()}))]}))},hn=["prefixCls","className","tagName","children","disabled","multiline","icon","text","active","addonAfter","isSubMenuItem"],pn={href:void 0,onClick:void 0,onMouseDown:void 0,onMouseEnter:void 0,onMouseLeave:void 0,tabIndex:-1};function mn(e,t){var n=e.prefixCls,i=void 0===n?"w-menu-item":n,r=e.className,a=e.tagName,o=void 0===a?"a":a,l=e.disabled,u=void 0!==l&&l,f=e.multiline,h=void 0!==f&&f,p=e.icon,v=e.text,x=e.active,y=void 0!==x&&x,g=e.addonAfter,j=e.isSubMenuItem,b=(0,s.Z)(e,hn),w=[i,y?"active":null,u?"w-disabled":null,r].filter(Boolean).join(" ").trim(),C=d.createElement(o,(0,c.Z)({},b,u?pn:{},{className:w,ref:t}),(0,m.jsxs)(d.Fragment,{children:[(0,m.jsx)(M,{className:i+"-icon",type:p}),(0,m.jsx)("div",{className:[i&&i+"-text",!h&&i+"-multiline"].filter(Boolean).join(" ").trim(),children:v}),g]}));return j?C:(0,m.jsxs)("li",{children:[" ",C," "]})}var vn=d.forwardRef(mn);vn.displayName="uiw.MenuItem";var xn=["prefixCls","className","title"],yn=d.forwardRef((function(e,t){var n=e.prefixCls,i=void 0===n?"w-menu-divider":n,r=e.className,a=e.title,o=(0,s.Z)(e,xn),l=[i,r].filter(Boolean).join(" ").trim();return a?(0,m.jsx)("li",(0,c.Z)({},o,{ref:t,className:l,"data-menu":"divider",children:(0,m.jsx)("strong",{children:a})})):(0,m.jsx)("li",(0,c.Z)({},o,{ref:t,className:l}))}));yn.displayName="uiw.MenuDivider";var gn=["prefixCls","className","disabled","overlayProps","children","collapse","inlineIndent","inlineCollapsed"];function jn(e){var t=e.prefixCls,n=e.collapse,i=e.isOpen;return(0,d.useMemo)((function(){return(0,m.jsx)(M,{type:"caret-right",className:[t?t+"-collapse-icon":null,!n&&i?"w-open":null,n||i?null:"w-close"].filter(Boolean).join(" ").trim()})}),[t,n,i])}var bn=d.forwardRef((function(e,t){var n=e.prefixCls,i=void 0===n?"w-menu-subitem":n,r=e.className,a=e.disabled,o=e.overlayProps,l=void 0===o?{}:o,u=e.children,f=e.collapse,h=void 0!==f&&f,p=e.inlineIndent,v=(0,s.Z)(e,gn),x={},g={bordered:!0,children:u,inlineIndent:p,className:[i?i+"-overlay":null].filter(Boolean).join(" ").trim()},j=d.useRef(null),b=(0,d.useState)(!1),w=(0,y.Z)(b,2),C=w[0],N=w[1];return(0,d.useMemo)((function(){N(!1)}),[h]),h?(x.className=i+"-popup",x.trigger="hover",x.usePortal=!0,g.onClick=function(e){var t=e.currentTarget,n=e.relatedTarget||e.nativeEvent.target;t.children.length<1||function(e){var t=!1;if(e)do{e.dataset.menu||(t=!0),e.dataset.menu&&/^(subitem|divider)$/.test(e.dataset.menu)&&(t=!1)}while(!e.dataset.menu&&(e=e.parentNode));return t}(n)&&j.current&&j.current.hide()}):(delete g.onClick,g.bordered=!1,x.className=i+"-collapse",x.appear=!1,x.isOutside=!0,x.isClickOutside=!1,x.unmountOnExit=!1,x.trigger="click",x.transitionName=""+i,x.onExit=function(e){e.style.height=e.scrollHeight+"px",N(!1)},x.onExiting=function(e){e.style.height="0px"},x.onEnter=function(e){e.style.height="1px",N(!0)},x.onEntered=function(e){e.style.height="initial"},x.onEntering=function(e){e.style.height=e.scrollHeight+"px"}),(0,m.jsx)("li",{"data-menu":"subitem",ref:t,children:(0,m.jsx)(ve,(0,c.Z)({placement:"rightTop",autoAdjustOverflow:!0,disabled:a,isOpen:C,usePortal:!1,isOutside:!0},x,l,{ref:j,overlay:(0,m.jsx)(Nn,(0,c.Z)({},g,{style:h?{}:{paddingLeft:p}})),children:(0,m.jsx)(vn,(0,c.Z)({},v,{ref:null,disabled:a,isSubMenuItem:!0,addonAfter:(0,m.jsx)(jn,{collapse:h,prefixCls:i,isOpen:C}),className:[i?i+"-title":null,h?null:i+"-collapse-title",r].filter(Boolean).join(" ").trim()}))}))})}));bn.displayName="uiw.SubMenu";var wn=["prefixCls","className","children","bordered","theme","inlineIndent","inlineCollapsed"],Cn=d.forwardRef((function(e,t){var n=e.prefixCls,i=void 0===n?"w-menu":n,r=e.className,a=e.children,o=e.bordered,l=e.theme,u=void 0===l?"light":l,f=e.inlineIndent,h=void 0===f?10:f,p=e.inlineCollapsed,v=(0,s.Z)(e,wn),x=(0,d.useMemo)((function(){return[i,o?"w-bordered":null,p?i+"-inline-collapsed":null,u?i+"-"+u:null,r].filter(Boolean).join(" ").trim()}),[i,o,p,u,r]);return(0,m.jsx)("ul",(0,c.Z)({},v,{ref:t,className:x,"data-menu":"menu",children:d.Children.map(a,(function(e,t){if(!d.isValidElement(e))return e;var n={};return e.props.children&&e.type===bn&&(n.inlineIndent=h),d.cloneElement(e,Object.assign((0,c.Z)({},n),e.props,{key:""+t}))}))}))}));Cn.displayName="uiw.Menu",Cn.Item=vn,Cn.SubMenu=bn,Cn.Divider=yn;var Nn=Cn,Zn=Nn,kn=["prefixCls","className","type","title","description","showIcon","icon","rounded","isCloseButtonShown"],Sn=function(e){(0,o.Z)(n,e);var t=(0,l.Z)(n);function n(e){var r;return(0,i.Z)(this,n),(r=t.call(this,e)).handleClosed=function(e){var t=r.props.onClose;r.setState({isOpen:!1}),t&&t(e)},r.renderIcon=function(){var e=r.props,t=e.type,n=e.showIcon,i=r.props.icon;if(!i&&n)switch(t){case"success":i="circle-check";break;case"warning":i="warning";break;case"info":i="information";break;case"error":i="circle-close"}return i},r.state={isOpen:!0},r}return(0,r.Z)(n,[{key:"render",value:function(){var e=this.props,t=e.prefixCls,n=e.className,i=e.type,r=e.title,a=e.description,o=e.showIcon,l=e.rounded,d=e.isCloseButtonShown,u=(0,s.Z)(e,kn),f=a||this.props.children,h=[t,n,t+"-"+i,l?t+"-rounded":null,o?t+"-icon":null,o?t+(r?"-title":"")+(f?"-description":""):null].filter(Boolean).join(" ").trim(),p=(0,m.jsxs)("div",(0,c.Z)({className:h},u,{children:[d&&(0,m.jsx)(L,{basic:!0,onClick:this.handleClosed,icon:"close",type:"light"}),o&&(0,m.jsx)(M,{type:this.renderIcon()}),(0,m.jsx)("span",{className:t+"-title",children:r}),(0,m.jsx)("span",{className:t+"-description",children:f})]}));return d?(0,m.jsx)(w.Z,{in:this.state.isOpen,unmountOnExit:!0,timeout:300,classNames:t,children:p}):p}}]),n}(d.Component);Sn.defaultProps={prefixCls:"w-message",rounded:!0,isCloseButtonShown:!1};var En=["prefixCls","format","onChange","className","popoverProps","pickerCaptionProps","allowClear","monthLabel"],Pn=["\u4e00\u6708","\u4e8c\u6708","\u4e09\u6708","\u56db\u6708","\u4e94\u6708","\u516d\u6708","\u4e03\u6708","\u516b\u6708","\u4e5d\u6708","\u5341\u6708","\u5341\u4e00\u6708","\u5341\u4e8c\u6708"];function Mn(e){var t=e.prefixCls,n=void 0===t?"w-monthpicker":t,i=e.format,r=void 0===i?"YYYY/MM":i,a=e.onChange,o=void 0===a?function(){}:a,l=e.className,u=e.popoverProps,f=e.pickerCaptionProps,h=void 0===f?{}:f,p=e.allowClear,v=void 0===p||p,x=e.monthLabel,g=void 0===x?Pn:x,j=(0,s.Z)(e,En),b=(0,d.useState)(!1),w=(0,y.Z)(b,2),C=w[0],N=w[1],Z=(0,d.useState)(new Date),k=(0,y.Z)(Z,2),S=k[0],E=k[1],P=(0,d.useState)("month"),M=(0,y.Z)(P,2),B=M[0],z=M[1],D=(0,d.useState)(e.value),O=(0,y.Z)(D,2),A=O[0],T=O[1];function R(e,t,n){var i=new Date(new Date(S)[e](t));n||z("month");var a=(0,ee.Z)(r,new Date(i));T(a),E(i),o&&o(i,a),"setMonth"===e&&N(!1)}return(0,d.useEffect)((function(){return T(e.value)}),[e.value]),j.value=(0,d.useMemo)((function(){return"string"===typeof A?A:A?(0,ee.Z)(r,A):""}),[r,A]),v&&j.value&&(j.addonAfter=(0,m.jsx)(L,{className:n+"-close-btn",icon:"close",onClick:function(){T(""),o&&o()},size:j.size,basic:!0,type:"light"})),(0,m.jsx)(ye,(0,c.Z)({trigger:"focus",placement:"bottomLeft",autoAdjustOverflow:!0,isOpen:C},u,{onVisibleChange:function(e){return N(e)},content:(0,m.jsxs)("div",{className:n+"-popover",children:[(0,m.jsx)(He,(0,c.Z)({panelDate:S,monthLabel:g},h,{onSelected:function(e){if(/^(month|year)$/.test(e))z(e);else{var t=new Date(S).getFullYear(),n=new Date(new Date(S).setFullYear("next"===B?t+1:t-1));E(n)}}})),"month"===B&&(0,m.jsx)(Ae,{panelDate:S,monthLabel:g,onSelected:function(e,t){return R("setMonth",e,t)}}),"year"===B&&(0,m.jsx)(Re,{panelDate:S,onSelected:function(e,t){return R("setFullYear",e,t)}})]}),children:(0,m.jsx)(je,(0,c.Z)({placeholder:"\u8bf7\u8f93\u5165\u65e5\u671f",readOnly:!0},j,{className:[n,l].filter(Boolean).join(" ").trim()}))}))}var Bn=["description","isOpen"],Ln={},zn={},Dn=function(e){(0,o.Z)(n,e);var t=(0,l.Z)(n);function n(){var e;return(0,i.Z)(this,n),(e=t.apply(this,arguments)).state={notifys:{}},e}return(0,r.Z)(n,[{key:"create",value:function(e){var t=this,n=e.placement,i=e.key;Ln[n]||(Ln[n]={}),e.isOpen=!1,Ln[n][i]=e,e.duration&&(zn[i]=setTimeout((function(){t.closed(i,n)}),e.duration)),this.setState({notifys:Ln,placement:n},(function(){Ln[n][i].isOpen=!0,t.setState({notifys:Ln})}))}},{key:"closed",value:function(e,t){if(e&&t&&Ln[t][e]){Ln[t][e].isOpen=!1;var n=Ln[t][e];this.setState({notifys:Ln},(function(){clearTimeout(zn[e]),delete zn[e],delete Ln[t][e],n&&n.willUnmount&&n.willUnmount(n,Ln)}))}}},{key:"render",value:function(){var e=this,t=this.props.prefixCls,n=this.state.placement;return(0,m.jsx)(d.Fragment,{children:n&&Object.keys(this.state.notifys[n]).map((function(i){var r=e.state.notifys[n][i],a=r.description,o=r.isOpen,l=(0,s.Z)(r,Bn);return"open"===l.type&&delete l.type,(0,m.jsx)(A,(0,c.Z)({className:t,useButton:!1,width:320},l,{usePortal:!1,hasBackdrop:!1,isOpen:o,content:a}),i)}))})}}]),n}(d.Component);Dn.defaultProps={prefixCls:"w-notify",placement:"topRight"};var On={},An={};function Tn(e,t){if(void 0===t&&(t="open"),e.placement||(e.placement="topRight"),e.type=t,!e.icon&&null!==e.icon)switch(e.type){case"success":e.icon="circle-check";break;case"warning":e.icon="warning";break;case"info":e.icon="information";break;case"error":e.icon="circle-close"}switch(e.type){case"info":e.type="primary";break;case"error":e.type="danger"}if(e.placement&&!On[e.placement]){var n=document.createElement("div");document.body.appendChild(n),n.className=["w-notify-warpper",e.placement].filter(Boolean).join(" ").trim(),An[e.placement]=n,On[e.placement]=C.render((0,m.jsx)(Dn,{}),n)}null!==e.duration&&(e.duration=1e3*(e.duration||4.5)),On[e.placement]&&On[e.placement].create((0,c.Z)({},e,{duration:e.duration,key:parseInt(String(1e15*Math.random()),10).toString(36),willUnmount:function(t,n){t&&(t.onClose&&t.onClose(),0===Object.keys(n[e.placement]).length&&On[e.placement]&&(delete On[e.placement],An[e.placement]&&document.body.removeChild(An[e.placement])))}}))}["open","success","warning","info","error"].forEach((function(e){Tn[e]=function(t){return void 0===t&&(t={}),Tn(t,e)}}));var Rn=Tn,In=d.forwardRef((function(e,t){return(0,m.jsx)("option",(0,c.Z)({},e,{ref:t}))})),Fn=d.forwardRef((function(e,t){return(0,m.jsx)("optgroup",(0,c.Z)({},e,{ref:t}))})),Hn=["prefixCls","className","size"],Wn=d.forwardRef((function(e,t){var n=e.prefixCls,i=void 0===n?"w-select":n,r=e.className,a=e.size,o=void 0===a?"default":a,l=(0,s.Z)(e,Hn);return(0,m.jsx)("select",(0,c.Z)({},l,{ref:t,className:[i,r,o?i+"-"+o:null].filter(Boolean).join(" ").trim()}))}));Wn.Option=In,Wn.Group=Fn;var _n=Wn,Vn=["className","style","prefixCls","alignment","size","total","pageSize","pageSizeOptions","current","onChange","onShowSizeChange","divider"];function Yn(e){var t=e.className,n=e.style,i=e.prefixCls,r=void 0===i?"w-pagination":i,a=e.alignment,o=void 0===a?"left":a,l=e.size,u=void 0===l?"default":l,f=e.total,h=void 0===f?0:f,p=e.pageSize,v=void 0===p?10:p,x=e.pageSizeOptions,g=void 0===x?[]:x,j=e.current,b=void 0===j?1:j,w=e.onChange,C=void 0===w?function(){return null}:w,N=e.onShowSizeChange,Z=e.divider,k=(0,s.Z)(e,Vn),S=(0,d.useState)(b),E=(0,y.Z)(S,2),P=E[0],M=E[1];(0,d.useEffect)((function(){return M(b)}),[b]);var B=[r,t,Z?"divider":null,u].filter(Boolean).join(" ").trim(),L=(0,d.useMemo)((function(){var e=[{type:"prev",disabled:1===P}],t=Math.ceil(h/v),n=t<=5?t:5,i=0,r=0;for(P>3&&t>5&&e.push({label:1}),P>4&&t>6&&e.push({type:"jumpPrev",label:"\u2022\u2022\u2022",goto:5});i3&&t>5&&(r=P-3);var a=(i+=1)+r;t-P===0&&t>5&&(a-=2),t-P===1&&t>5&&(a-=1),a<=t&&e.push({label:a,active:P===a})}return P+36&&e.push({type:"jumpNext",label:"\u2022\u2022\u2022",goto:5}),P+25&&e.push({label:t}),e.push({type:"next",disabled:P===t}),e}),[P,h,v]);return(0,m.jsxs)("ul",(0,c.Z)({className:B,style:(0,c.Z)({},n,{textAlign:o})},k,{children:[L.map((function(e,t){var n=(0,m.jsx)("a",{children:e.label});return/^(prev|next)$/.test(e.type)&&(n=(0,m.jsx)("a",{className:"arrow "+e.type})),(0,m.jsx)("li",{className:[e.active?"active":null,e.disabled?"disabled":null].filter(Boolean).join(" ").trim(),onClick:function(){return function(e){if(!e.active&&!e.disabled){var t=Math.ceil(h/v),n={};e.label&&(n.current=e.label),"prev"===e.type&&(n.current=P-1>0?P-1:1),"next"===e.type&&(n.current=P+1<=t?P+1:t),/^(jumpPrev|jumpNext)/.test(e.type)&&e.goto&&(n.current="jumpPrev"===e.type?P-e.goto:P+e.goto,n.current>t&&(n.current=t),n.current<1&&(n.current=1)),M(n.current),C&&C(n.current,h,v)}}(e)},children:n},t)})),g.length>0&&(0,m.jsx)("li",{className:r+"-options",children:(0,m.jsx)(_n,{size:u,defaultValue:v,onChange:function(e){var t=Number(e.target.value),n=Math.ceil(h/t);N&&N(P>n?n:P,t)},children:g.map((function(e,t){return(0,m.jsxs)(_n.Option,{value:e,children:[e,"\u6761/\u9875"]},t)}))})})]}))}var Kn=["prefixCls","placeholder","value","autoFocus","className","size","style","disabled","onChange","onBlur","onFocus"];function $n(e,t){void 0===e&&(e={});var n=e,i=n.prefixCls,r=void 0===i?"w-pin-code":i,a=n.placeholder,o=void 0===a?"\u25cb":a,l=n.value,f=void 0===l?[]:l,h=n.autoFocus,p=n.className,v=n.size,x=void 0===v?"default":v,g=n.style,j=n.disabled,b=n.onChange,w=void 0===b?u:b,C=n.onBlur,N=void 0===C?u:C,Z=n.onFocus,k=void 0===Z?u:Z,S=(0,s.Z)(e,Kn),E=(0,d.useState)({}),P=(0,y.Z)(E,1)[0],M=(0,d.useState)(o),B=(0,y.Z)(M,2),L=B[0],z=B[1],D=(0,d.useState)(f),O=(0,y.Z)(D,2),A=O[0],T=O[1],R=[r,p,x?r+"-"+x:null,j?"disabled":null].filter(Boolean).join(" ").trim();function I(e){z(o),N(e)}function F(e){z(""),k(e)}return(0,d.useEffect)((function(){A!==f&&w(A)}),[A]),(0,m.jsx)("div",(0,c.Z)({className:R,style:g},S,{ref:t,children:(0,be.Z)(A).map((function(e,t){var n={min:0,type:"text",inputMode:"numeric",autoComplete:"off",value:e,onChange:function(e){return function(e,t){var n=e.target.value;n=n.charAt(n.length-1);var i=(0,be.Z)(A);Number(n)>-1&&n?(e.currentTarget.value=n,i[t]=n,P[t+1]&&P[t+1].focus(),T(i)):n||(i[t]="",T(i))}(e,t)},onKeyDown:function(e){return function(e,t){var n=e.currentTarget.value,i=e.key.toLocaleLowerCase();!n&&P[t-1]&&/(backspace|delete)/.test(i)&&P[t-1].focus()}(e,t)},onBlur:function(e){return I(e)},onFocus:function(e){return F(e)},className:r+"-inner",placeholder:L,disabled:j,size:x};return h&&0===t&&(n.autoFocus=!0),(0,d.createElement)(je,(0,c.Z)({ref:function(e){e&&(P[t]=e)}},n,{key:t}))}))}))}var Un=d.forwardRef($n);function Gn(e){return(0,m.jsx)(M,{type:e.type})}var Jn=["prefixCls","style","type","className","showText","percent","format","strokeWidth","width","status"],qn=function(e){(0,o.Z)(n,e);var t=(0,l.Z)(n);function n(){return(0,i.Z)(this,n),t.apply(this,arguments)}return(0,r.Z)(n,[{key:"relativeStrokeWidth",value:function(e,t){var n=this.props,i=n.strokeWidth,r=n.percent;if(t&&t.parentNode){var a=(i/t.parentNode.getBoundingClientRect().width*100).toFixed(1),o=parseInt((50-parseFloat(a)/2).toString(),10);if(t.setAttribute("stroke-width",a),t.setAttribute("d","M 50 50 m 0 -"+o+" a "+o+" "+o+" 0 1 1 0 "+2*o+" a "+o+" "+o+" 0 1 1 0 -"+2*o),"track"===e){var l=2*Math.PI*o;t.setAttribute("style","stroke-dasharray:"+l+"px,"+l+"px;stroke-dashoffset:"+(1-r/100)*l+"px;transition: stroke-dashoffset 0.6s ease 0s, stroke 0.6s ease;")}}}},{key:"render",value:function(){var e,t=this.props,n=t.prefixCls,i=t.style,r=t.className,a=t.showText,o=t.percent,l=t.format,d=t.width,u=t.status,f=(0,s.Z)(t,Jn),h=[n,r,n+"-circle",a?n+"-show-text":null,u?n+"-status-"+u:null,parseInt(o.toString(),10)>=100?n+"-status-success":null].filter(Boolean).join(" ").trim(),p=parseInt(o.toString(),10)>=100&&!("status"in this.props)?"success":u;if(a){var v=o+"%";"exception"===p?v=(0,m.jsx)(Gn,{type:"close"}):"success"===p&&(v=(0,m.jsx)(Gn,{type:"check"})),e=(0,m.jsx)("span",{className:n+"-text",style:{fontSize:.16*d+6},children:l?l(o):v})}return(0,m.jsxs)("div",(0,c.Z)({className:h,style:i},f,{children:[(0,m.jsxs)("svg",{viewBox:"0 0 100 100",width:""+d,children:[(0,m.jsx)("path",{ref:this.relativeStrokeWidth.bind(this,"bg"),className:n+"-trail",fill:"none"}),(0,m.jsx)("path",{ref:this.relativeStrokeWidth.bind(this,"track"),strokeLinecap:"round",className:n+"-stroke",fill:"none"})]}),e]}))}}]),n}(d.Component);qn.defaultProps={prefixCls:"w-progress",showText:!0,percent:0,width:126,strokeWidth:6};var Xn=["prefixCls","style","className","showText","percent","format","strokeWidth","width","status"],Qn=function(e){(0,o.Z)(n,e);var t=(0,l.Z)(n);function n(){return(0,i.Z)(this,n),t.apply(this,arguments)}return(0,r.Z)(n,[{key:"render",value:function(){var e,t=this.props,n=t.prefixCls,i=t.style,r=t.className,a=t.showText,o=t.percent,l=t.format,d=t.strokeWidth,u=t.status,f=(0,s.Z)(t,Xn),h=[n,r,n+"-line",a?n+"-show-text":null,u?n+"-status-"+u:null,parseInt(o.toString(),10)>=100?n+"-status-success":null].filter(Boolean).join(" ").trim();if(a){var p=parseInt(o.toString(),10)>=100&&!("status"in this.props)?"success":u,v=o+"%";"exception"===p?v=(0,m.jsx)(Gn,{type:"circle-close"}):"success"===p&&(v=(0,m.jsx)(Gn,{type:"circle-check"})),e=(0,m.jsx)("span",{className:n+"-text",children:l?l(o):v})}var x={width:o+"%",height:d};return(0,m.jsxs)("div",(0,c.Z)({className:h,style:i},f,{children:[(0,m.jsx)("div",{className:n+"-bar",children:(0,m.jsx)("div",{className:n+"-inner",children:(0,m.jsx)("div",{className:n+"-bg",style:x})})}),e]}))}}]),n}(d.Component);Qn.defaultProps={prefixCls:"w-progress",showText:!0,percent:0,width:126,strokeWidth:6};var ei={Line:Qn,Circle:qn},ti=["prefixCls","count","value","className","allowHalf","character","readOnly","disabled","onChange","onHoverChange","color"];function ni(e){void 0===e&&(e={});var t=e,n=t.prefixCls,i=void 0===n?"w-rate":n,r=t.count,a=void 0===r?5:r,o=t.value,l=void 0===o?0:o,f=t.className,h=t.allowHalf,p=t.character,v=void 0===p?"\u2605":p,x=t.readOnly,g=void 0!==x&&x,j=t.disabled,b=t.onChange,w=void 0===b?u:b,C=t.onHoverChange,N=void 0===C?u:C,Z=t.color,k=(0,s.Z)(e,ti),S=(0,d.useState)(l),E=(0,y.Z)(S,2),P=E[0],M=E[1],B=(0,d.useState)(-1),L=(0,y.Z)(B,2),z=L[0],D=L[1],O=[i,f,j?"disabled":null].filter(Boolean).join(" ").trim(),A=(0,d.useState)(),T=(0,y.Z)(A,2),R=T[0],I=T[1];function F(e,t){e.persist();var n=t,i=e.clientX-e.currentTarget.getBoundingClientRect().left<=e.currentTarget.getBoundingClientRect().width/2;return h?(e.persist(),n=i?t+.5:t+1):n=t+1,n}return l!==R&&I(l),(0,d.useMemo)((function(){P!==R&&M(l)}),[R]),(0,m.jsx)("div",(0,c.Z)({},k,{className:O,onMouseLeave:function(){D(-1)},children:(0,be.Z)(Array(a)).map((function(e,t){var n=P<=t+.5&&Math.ceil(P)-1===t&&-1===z||z===t+.5,r=[i+"-hight",t+1<=P&&-1===z?"star-on":null,t+1<=z?"hover-on":null,n?"half-on":null].filter(Boolean).join(" ").trim(),a={};return g||(a.onClick=function(e){return function(e,t){if(!g){var n=F(e,t);M(n),w(n)}}(e,t)},a.onMouseMove=function(e){return function(e,t){var n=F(e,t);z!==n&&(D(n),N(n))}(e,t)}),(0,m.jsxs)("span",(0,c.Z)({},a,{children:[(0,m.jsx)("span",{style:{color:Z},className:r,children:v}),(0,m.jsx)("span",{className:i+"-bg",children:v})]}),t)}))}))}var ii=["prefixCls","className","style","title","children","visible","color","disabled","bordered","closable","light","onClose"],ri=function(e){void 0===e&&(e={});var t=e,n=t.prefixCls,i=void 0===n?"w-tag":n,r=t.className,a=t.style,o=t.title,l=void 0===o?"":o,d=t.children,u=t.visible,f=void 0===u||u,h=t.color,p=void 0===h?"#6E6E6E":h,v=t.disabled,x=void 0!==v&&v,y=t.bordered,g=void 0===y||y,j=t.closable,b=t.light,w=void 0!==b&&b,C=t.onClose,N=(0,s.Z)(e,ii),Z=[i,r,w?i+"-light":null,x?"disabled":null].filter(Boolean).join(" ").trim(),k=(0,c.Z)({},a);return w?(k.color=p,k.borderColor=p,g&&w&&(k.boxShadow="inset 0 0 0 1px "+p)):(k.color="#fff",k.backgroundColor=p),f?(0,m.jsxs)("span",(0,c.Z)({className:Z,style:k},N,{children:[l||d,j?(0,m.jsx)("svg",{onClick:C,className:i+"-close",width:"15",height:"15",viewBox:"0 0 16 16",children:(0,m.jsx)("path",{d:"M9.41 8l2.29-2.29c.19-.18.3-.43.3-.71a1.003 1.003 0 0 0-1.71-.71L8 6.59l-2.29-2.3a1.003 1.003 0 0 0-1.42 1.42L6.59 8 4.3 10.29c-.19.18-.3.43-.3.71a1.003 1.003 0 0 0 1.71.71L8 9.41l2.29 2.29c.18.19.43.3.71.3a1.003 1.003 0 0 0 .71-1.71L9.41 8z"})}):null]})):null},ai=["allowClear","disabled","size","maxTagCount","option","loading","labelInValue","prefixCls","className","mode","style","isOpen","value","defaultValue","showSearch","tagProps","placeholder","onSearch","onChange","onSelect"];function oi(e){var t=e.allowClear,n=void 0!==t&&t,i=e.disabled,r=void 0!==i&&i,a=e.size,o=void 0===a?"default":a,l=e.maxTagCount,u=e.option,f=void 0===u?[]:u,h=e.loading,p=void 0!==h&&h,v=e.labelInValue,x=void 0!==v&&v,g=e.prefixCls,j=void 0===g?"w-search-select":g,b=e.className,w=e.mode,C=void 0===w?"single":w,N=e.style,Z=e.value,k=e.defaultValue,S=e.showSearch,E=e.tagProps,P=void 0===E?{}:E,B=e.placeholder,L=e.onSearch,z=e.onChange,D=e.onSelect,O=(0,s.Z)(e,ai),A=[j,b].filter(Boolean).join(" ").trim(),T=(0,d.useMemo)((function(){return"multiple"===C}),[C]),R=(0,d.useState)(!1),I=(0,y.Z)(R,2),F=I[0],H=I[1],W=(0,d.useState)([]),_=(0,y.Z)(W,2),V=_[0],Y=_[1],K=(0,d.useState)(""),$=(0,y.Z)(K,2),U=$[0],G=$[1],J=(0,d.useState)(""),q=(0,y.Z)(J,2),X=q[0],Q=q[1],ee=(0,d.useRef)(null),te=(0,d.useMemo)((function(){return l&&V.length>l?V.length-l:0}),[V.length]),ne=(0,d.useRef)(null),ie=function(e){return void 0!==e&&""!==e},re=(0,d.useRef)();re.current=(0,d.useMemo)((function(){return V}),[V]),(0,d.useEffect)((function(){!ie(Z)&&ie(k)&&oe(k)}),[]),(0,d.useEffect)((function(){ie(Z)&&oe(Z)}),[JSON.stringify(Z)]);var ae=function(e,t){var n=e.find((function(e){return e.value===t}));return n};function oe(e){var t=[];if(x)Array.isArray(e)?t=e:t.push(e);else if(Array.isArray(e))t=e.map((function(e){return ae(f,e)})).filter((function(e){return!!e}));else{var n=ae(f,e);n&&(G(n.label),t.push(n))}!T&&t.length>0&&G(t[0].label||""),Y(t)}var le=function(e){G(e),S&&(null==L||L(e))};function se(e,t){var n=-1!==e?function(e){var t=re.current;return t.splice(e,1),(0,be.Z)(t)}(e):[].concat((0,be.Z)(V),[t]),i=n.map((function(e){return e.value}));ce(i,n)}function ce(e,t){G(""),D&&D(e),he(e,t),void 0===Z&&Y(t)}function de(e){var t;t="enter"===e&&n&&(V.length>0||U)?"close":"",Q(t)}function ue(e){H(!0),Q(S&&e?"loading":""),le(e)}function fe(e){var t;e.stopPropagation(),null==(t=ee.current)||t.focus(),Y([]),ue(""),H(!1),he("",[])}function he(e,t){z&&z(x?t:e)}return(0,m.jsx)(At,(0,c.Z)({className:A,trigger:"click",style:{marginTop:5},disabled:!(f&&f.length>0)},O,{onVisibleChange:function(e){var t=re.current;H(e),e||le(""),!T&&t.length>0&&G(t[0].label)},isOpen:F,menu:(0,m.jsx)(Zn,{bordered:!0,style:{minHeight:25,maxHeight:280,minWidth:200,overflowY:"scroll",width:ne.current?ne.current.offsetWidth:"auto"},children:f&&0!==f.length?f.map((function(e){var t=V.findIndex((function(t){return t.value===e.value}));return(0,m.jsx)(Zn.Item,{active:-1!==t,text:e.label,onClick:function(){return T?se(t,e):function(e){H(!1);var t=[e];G(e.label),ce(e.value,t)}(e)}},t)})):(0,m.jsx)("div",{style:{color:"#c7c7c7",fontSize:12},children:p?"\u6b63\u5728\u52a0\u8f7d\u6570\u636e...":"\u6ca1\u6709\u6570\u636e"})}),children:(0,m.jsx)("div",{ref:ne,onMouseOver:function(){return de("enter")},onMouseLeave:function(){return de("leave")},onClick:function(){var e;return null==(e=ee.current)?void 0:e.focus()},style:(0,c.Z)({width:"100%",maxWidth:"none"},N),children:T?(0,m.jsxs)("div",{className:j+"-inner",children:[(0,m.jsxs)("div",{style:{display:"flex",flexFlow:"wrap",width:"100%"},children:[T&&V.slice(0,l).map((function(e,t){return(0,m.jsx)(ri,(0,c.Z)({style:(0,c.Z)({height:20,margin:1,display:"flex",alignItems:"center"},P.style),className:j+"-tag",color:"#393E48"},P,{closable:!0,onClose:function(n){n.stopPropagation(),se(t,e)},children:e.label}),t)})),!!te&&(0,m.jsxs)(ri,{style:{height:20,margin:1,display:"flex",alignItems:"center"},disabled:!0,children:["+",te," \u2026"," "]}),(0,m.jsx)(je,{style:{flex:1},className:j+"-input-contents",readOnly:!S,size:o,ref:ee,disabled:r,onKeyDown:function(e){T&&V.length>0&&!U&&8===e.keyCode&&se(V.length-1)},onChange:function(e){return ue(e.target.value)},value:U,placeholder:V.length?"":B})]}),("close"===X||"loading"===X&&p)&&(0,m.jsx)(M,{type:X,spin:p&&"loading"===X,onClick:fe})]}):(0,m.jsx)(je,{readOnly:!S,size:o,ref:ee,disabled:r,onChange:function(e){return ue(e.target.value)},value:U,placeholder:B,addonAfter:("close"===X||"loading"===X&&p)&&(0,m.jsx)(M,{type:X,spin:p&&"loading"===X,onClick:fe})})})}))}var li=n(1064),si=["prefixCls","className","style","status","itemWidth","icon","adjustMarginRight","stepNumber","title","description","progressDot"];var ci=["prefixCls","style","className","children","current","status","progressDot","direction"];function di(e){var t=e.prefixCls,n=void 0===t?"w-steps":t,i=e.style,r=void 0===i?{}:i,a=e.children,o=e.current,l=e.status,u=void 0===l?"process":l,f=e.progressDot,h=void 0!==f&&f,p=e.direction,v=void 0===p?"horizontal":p,x=(0,s.Z)(e,ci),g=(0,d.useRef)(null),j=(0,d.useState)(0),b=(0,y.Z)(j,2),w=b[0],C=b[1],N=d.Children.toArray(a).filter((function(e){return!!e})),Z=N.length-1,k=[n,n+"-"+v,h?n+"-dot":null].filter(Boolean).join(" ").trim();return(0,d.useEffect)((function(){return function(){var e=g.current;if(e&&e.lastChild){var t=(e.lastChild.offsetWidth||0)+1;if(t===w||Math.abs(t-w)<=3)return;C(t)}}()})),(0,m.jsx)("div",(0,c.Z)({className:k,style:r},x,{ref:g,children:d.Children.map(a,(function(e,t){var i=(0,c.Z)({stepNumber:""+(t+1),prefixCls:n,progressDot:h},e.props);return t!==Z&&"vertical"!==v&&(i.itemWidth=100/Z+"%",i.adjustMarginRight=-Math.round(w/Z+1)),h&&"vertical"!==v&&(i.itemWidth=100/N.length+"%",i.adjustMarginRight=0),"error"===u&&t===o-1&&(i.className=n+"-next-error"),e.props.status||(i.status=t===o?u:t=100&&(n=100);var i=t*(n/100)+.5;return Math.floor(i)*x+l}function Y(e){if(R.current){var t=(0,be.Z)(H),n=V(e[E?"clientY":"clientX"]-D.current+A.current);if(n!==O.current){t[z.current]=n;var i=U(t);B.current&&(B.current.style[E?"top":"left"]=i.left,B.current.style[E?"bottom":"right"]=i.right),_(t),O.current=n}}}function K(){R.current=void 0,window.removeEventListener("mousemove",Y,!1),window.removeEventListener("mouseup",K,!1)}(0,d.useEffect)((function(){return W(Array.isArray(a)?a:[a])}),[a]),M.onClick=function(e){if(void 0===R.current){var t=L.current.getBoundingClientRect();_(function(e){if(!Array.isArray(a))return Array.isArray(e)?e:[e];var t=(0,be.Z)(H),n=t[0],i=t[1];(ne||n>i&&ni&&i>e)&&(t[1]=e);if(n>e&&i=e&&(t[1]=e),re&&n=e&&(t[0]=e),oe[1]?e[1]:e[0],i=e[0]>e[1]?e[0]:e[1];t.left=$(n)+"%",t.right=100-$(i)+"%"}else t.right=100-$(e[0])+"%";return t}function G(e){return k&&!0!==k&&k[e]&&k[e].label?k[e].label:k&&!0!==k&&k[e]&&"string"===typeof k[e]?k[e]:S&&"function"===typeof S&&S(e)?S(e):e}var J=U();return j&&delete M.onClick,(0,m.jsxs)("div",(0,c.Z)({ref:L,className:[i,Z,j?"disabled":null,k?i+"-with-marks":null,E?i+"-vertical":null].filter(Boolean).join(" ").trim()},M,{children:[(0,m.jsx)("div",{ref:B,className:i+"-bar",style:(0,c.Z)((t={},(0,Lt.Z)(t,E?"top":"left",J.left),(0,Lt.Z)(t,E?"bottom":"right",J.right),t),!0!==w?{backgroundColor:w||"initial"}:{})}),(0,be.Z)(H).map((function(e,t){var n=$(e);return(0,m.jsx)("div",{className:i+"-handle",onMouseDown:function(e){return function(e,t){if(!j){z.current=e,R.current=!0,D.current=t[E?"clientY":"clientX"],B.current&&(A.current=B.current[E?"clientHeight":"clientWidth"],T.current=B.current[E?"offsetTop":"offsetLeft"]);var n=(0,be.Z)(H);Array.isArray(a)&&(A.current=1===z.current&&n[1]>n[0]||1!==z.current&&n[0]>n[1]?A.current+T.current:T.current),window.addEventListener("mousemove",Y),window.addEventListener("mouseup",K)}}(t,e)},style:(0,Lt.Z)({},E?"top":"left",n+"%"),children:(N||!1===N)&&(0,m.jsx)("div",{className:[i+"-tooltip",N?"open":null].filter(Boolean).join(" ").trim(),children:G(e)})},t)})),p&&(0,m.jsx)(fi,{prefixCls:i,min:l,step:x,marks:k,vertical:!!E,data:function(){for(var e=(f-l)/x,t=100*x/(f-l),n=[0],i=1;i0&&o.map((function(e,t){return(0,m.jsx)("tr",{children:(e||[]).map((function(e,n){var r=e.title,a=e.ellipsis,o=(0,s.Z)(e,yi),l="function"===typeof r?r(e,n,t):r;return 0===o.colSpan?null:(a&&(o.className=(o.className||"")+" "+i+"-ellipsis"),(0,m.jsx)("th",(0,c.Z)({onClick:function(i){return d(e,n,t,i)}},o,{children:l}),n))}))},t)}))}))};function ji(e,t){void 0===e&&(e=[]),void 0===t&&(t=1);for(var n=[],i=0;i0&&(t=ji(n,t+1)),t}function bi(e,t){void 0===e&&(e=[]),void 0===t&&(t=[]);for(var n=[],i=0;i0&&(n=n.concat(bi(e[i].children,t))):n.push(e[i]);return n}var wi=function e(t,n){n||(n={header:[],render:{}}),n&&!n.header&&(n.header=[]),n&&!n.render&&(n.render={});for(var i=[],r=[],a=0;a0&&(t[a].colSpan=bi(t[a].children).length),r.push(t[a])),t[a]&&t[a].children&&(i=i.concat(t[a].children.map((function(e){return e.children&&e.children.length>0&&(e.colSpan=bi(e.children).length),e}))));if(0===n.header.length){var o=ji(r);n.header.push(r.map((function(e){return 1===o||(!e.children||e.children&&0===e.children.length)&&(e.rowSpan=o),e})))}if(i&&i.length>0){var l=ji(i);n.header.push(i.map((function(e){return 1===l||(!e.children||e.children&&0===e.children.length)&&(e.rowSpan=l),e}))),n=e(i,n)}return n},Ci=function e(t,n){void 0===n&&(n=[]);for(var i=0;i0&&(0,m.jsx)(gi,{onCellHead:j,data:Z}),f&&f.length>0&&(0,m.jsx)("tbody",{children:f.map((function(e,t){return(0,m.jsx)("tr",{children:E.map((function(n,r){var a={children:e[n]};if(k[n]){var o=k[n](e[n],n,e,t,r);if(d.isValidElement(o))a.children=o;else{if(o.props&&(a=(0,c.Z)({},o.props,{children:a.children}),0===o.props.rowSpan||0===o.props.colSpan))return null;o.children&&(a.children=o.children)}}return S&&S[n]&&(a.className=i+"-ellipsis"),(0,d.createElement)("td",(0,c.Z)({},a,{key:r,onClick:function(i){return y(e,{rowNum:t,colNum:r,keyName:n},i)}}))}))},t)}))}),f&&0===f.length&&b&&(0,m.jsx)("tbody",{children:(0,m.jsx)("tr",{children:(0,m.jsx)("td",{colSpan:o.length,style:{position:"relative",left:0},children:b})})}),e.children]})})),p&&(0,m.jsx)("div",{className:i+"-footer",children:p})]})},ki=["prefixCls","className","label"],Si=["prefixCls","className","children","type","activeKey","onTabClick"];function Ei(e){var t,n=e.prefixCls,i=void 0===n?"w-tabs":n,r=e.className,a=e.children,o=e.type,l=void 0===o?"default":o,u=e.onTabClick,f=(0,s.Z)(e,Si),h=(0,d.useState)(e.activeKey),p=(0,y.Z)(h,2),v=p[0],x=p[1],g=(0,d.useState)({width:0,left:0}),j=(0,y.Z)(g,2),b=j[0],w=j[1],C=(0,d.useRef)(),N=[i,r,l?i+"-"+l:null].filter(Boolean).join(" ").trim(),Z=(0,d.useState)({content:0,nav:[],flowLeft:-1,displayStart:0,displayEnd:0}),k=(0,y.Z)(Z,2),S=k[0],E=k[1],P=(0,d.useState)([]),M=(0,y.Z)(P,2),B=M[0],L=M[1],z=(0,d.useState)(),D=(0,y.Z)(z,2),O=D[0],A=D[1],T=(0,d.useCallback)((function(e){null!==e&&(A(O),e.addEventListener("scroll",(function(e){var t=e.target,n=t.clientWidth,i=t.scrollLeft;S.displayStart=i,S.displayEnd=n+i,E((0,c.Z)({},S))})),S.displayEnd=e.getBoundingClientRect().width,E((0,c.Z)({},S)))}),[]),R=(0,d.useCallback)((function(e,t){null!==e&&(e.addEventListener("click",(function(t){C.current=e})),I(e.getBoundingClientRect().width,t))}),[]),I=function(e,t){var n=0;S.nav.slice(0,t+1).forEach((function(e){return n+=e.width})),S.nav[t]={width:e,curWidth:Math.floor(n),index:t},E(S)};(0,d.useEffect)((function(){F()}),[S.displayEnd>(null==(t=S.nav[S.nav.length-1])?void 0:t.curWidth)]);var F=function(){var e=[];S.nav.length>0&&(S.nav.forEach((function(t){var n=t.curWidth-15;(nS.displayEnd)&&e.push(t.index)})),L(e))};function H(){C.current&&"line"===l&&w({width:C.current.clientWidth,left:C.current.offsetLeft})}return(0,d.useEffect)((function(){return x(e.activeKey)}),[e.activeKey]),(0,d.useEffect)((function(){return H()}),[v]),(0,m.jsxs)("div",(0,c.Z)({className:N},f,{children:[(0,m.jsxs)("div",{style:{display:"flex"},children:[(0,m.jsx)("div",{style:{overflow:"hidden"},children:(0,m.jsx)("div",{className:i+"-bar",ref:T,children:(0,m.jsx)("div",{className:i+"-nav",style:{width:"max-content"},children:W(a)})})}),(0,m.jsx)("div",{style:b,className:i+"-slide"}),B.length>0&&(0,m.jsx)(ye,{trigger:"click",placement:"bottomRight",visibleArrow:!1,content:(0,m.jsx)("div",{className:i+"-nav-hidden",children:W(B.map((function(e){return a[e]})))}),children:(0,m.jsx)("div",{onClick:F,className:i+"-flow-content",children:(0,m.jsx)("span",{children:"\u2026"})})})]}),d.Children.map(a,(function(e){return e&&v===e.key?d.cloneElement(e,Object.assign({},e.props,{})):null}))]}));function W(e){return d.Children.map(e,(function(e,t){if(!e)return null;var n={className:[i+"-item",e.key===v?"active":null,e.props.disabled?"disabled":null].filter(Boolean).join(" ").trim(),children:e.props.label};return e.props.disabled||(n.onClick=function(t){x(e.key),u&&u(e.key,e,t),H()}),(0,m.jsx)("div",(0,c.Z)({ref:function(e){return R(e,t)}},n),t)}))}}Ei.Pane=function(e){void 0===e&&(e={});var t=e,n=t.prefixCls,i=void 0===n?"w-tabs-pane":n,r=t.className,a=(0,s.Z)(e,ki);return(0,m.jsx)("div",(0,c.Z)({className:[i,r].filter(Boolean).join(" ").trim()},a))};var Pi=["prefixCls","className"],Mi=d.forwardRef((function(e,t){var n=e.prefixCls,i=void 0===n?"w-textarea":n,r=e.className,a=(0,s.Z)(e,Pi);return(0,m.jsx)("textarea",(0,c.Z)({className:[i,r].filter(Boolean).join(" ").trim()},a,{ref:t,children:e.children}))})),Bi=["prefixCls","className","placement","isOpen","trigger","delay","usePortal","visibleArrow","onVisibleChange"],Li=function(e){void 0===e&&(e={});var t=e,n=t.prefixCls,i=void 0===n?"w-tooltip":n,r=t.className,a=t.placement,o=void 0===a?"top":a,l=t.isOpen,d=void 0!==l&&l,u=t.trigger,f=t.delay,h=t.usePortal,p=void 0===h||h,v=t.visibleArrow,x=void 0===v||v,y=t.onVisibleChange,g=(0,s.Z)(e,Bi),j=[i,r,x?null:"no-arrow"].filter(Boolean).join(" ").trim();return(0,m.jsx)(ve,(0,c.Z)({usePortal:p,isOpen:d,trigger:u,delay:f,onVisibleChange:y,placement:o},g,{overlay:(0,m.jsxs)("div",{className:j,children:[x&&(0,m.jsx)("div",{className:i+"-arrow"}),(0,m.jsx)("div",{className:i+"-inner",children:e.content})]}),children:"object"===typeof e.children?e.children:(0,m.jsx)("span",{children:e.children})}))},zi=["prefixCls","renderTitle","icon","iconAnimation","isSelected","openKeys","selectedKeys","data","level","parent","onItemClick","onItemSelected"],Di=function(e){var t=e.label;return(0,d.useMemo)((function(){return(0,m.jsx)("span",{children:t})}),[t])};function Oi(e){var t=e.prefixCls,n=e.renderTitle,i=e.icon,r=e.iconAnimation,a=e.isSelected,o=e.openKeys,l=e.selectedKeys,f=e.data,h=e.level,p=e.parent,v=e.onItemClick,x=void 0===v?u:v,y=e.onItemSelected,g=void 0===y?u:y,j=(0,s.Z)(e,zi),b=!1;p&&(p.key||0===p.key)&&(b=!!(o&&o.indexOf(p.key)>-1));var C=(0,d.useCallback)((function(e){e.style.height=e.scrollHeight+"px"}),[]),N=(0,d.useCallback)((function(e){e.style.height="1px"}),[]),Z=(0,d.useCallback)((function(e,t){e.style.height="1px"}),[]),k=(0,d.useCallback)((function(e,t){e.style.height=e.scrollHeight+"px"}),[]),S=(0,d.useCallback)((function(e,t){e.style.height="initial"}),[]);return(0,m.jsx)(w.Z,{classNames:t,in:b,timeout:200,onExit:C,onExiting:N,onEnter:Z,onEntered:S,onEntering:k,children:(0,m.jsx)("ul",{className:[1!==h&&b?[t+"-open"]:null,1===h||b?null:[t+"-close"]].filter(Boolean).join(" ").trim(),children:f.map((function(e,s){var d;e.parent=p;var u=!!(l&&l.indexOf(e.key)>-1),f=!e.children,v=o&&o.indexOf(e.key)>-1&&!!e.children,y="function"===typeof i?i(e,{isOpen:!!v,noChild:f,openKeys:o,selectedKeys:l}):i,b=f?[]:Ri(e.children),w=l?l.filter((function(e){return b.indexOf(e)>-1})):[],C=w.length>0&&b.length!==w.length;return(0,m.jsxs)("li",{style:{display:e.hideNode?"none":"block"},children:[(0,m.jsxs)("div",{className:t+"-label",children:[(0,m.jsx)("span",{className:t+"-switcher",onClick:function(t){return x(e,t)},children:(0,m.jsx)(M,{type:y||"caret-right",className:["function"===typeof i?t+"-switcher-noop":null,f?"no-child":null,r?null:"no-animation",v?"open":null].filter(Boolean).join(" ").trim()})}),(0,m.jsx)("div",{onClick:function(t){return g(e,t)},className:[t+"-title",u&&a?"selected":null,e.disabled?"disabled":null].filter(Boolean).join(" ").trim(),children:n?n(e,{selected:u,noChild:f,openKeys:o,isHalfChecked:C,selectedKeys:l}):(0,m.jsx)(Di,{label:e.label})})]}),e.children&&(0,m.jsx)(Oi,(0,c.Z)({},j,(d={prefixCls:t,icon:i,iconAnimation:r,isSelected:a,openKeys:o,selectedKeys:l,onItemClick:x,onItemSelected:g,renderTitle:n},(0,Lt.Z)(d,"prefixCls",t),(0,Lt.Z)(d,"data",e.children),(0,Lt.Z)(d,"level",h+1),(0,Lt.Z)(d,"parent",e),d)))]},s)}))})})}var Ai=["prefixCls","icon","data","openKeys","selectedKeys","defaultExpandAll","showLine","iconAnimation","isSelected","checkStrictly","multiple","onExpand","onSelected","className","autoExpandParent","renderTitle","onChange","value"],Ti=function(e,t){if(!(e instanceof Array)||!(t instanceof Array))return!1;if(e.length0&&(n=n.concat(e(t.children,void 0,i?i-1:void 0)))})),n},Ii=function e(t,n){return void 0===t&&(t={}),void 0===n&&(n=[]),t.key&&n.push(t.key),t.parent&&(n=e(t.parent,n)),n},Fi=function e(t,n,i){return void 0===t&&(t={}),void 0===n&&(n=[]),void 0===i&&(i=[]),t.key&&t.children&&Ti(n,Ri(t.children,void 0,1))&&(i.push(t.key),t.parent&&!t.parent.parent&&(Ti(n,Ri(t.children))&&(n=n.concat(i)),Ti(n,Ri(t.parent.children))&&i.push(t.parent.key))),t.parent&&(i=e(t.parent,n,i)),i};function Hi(e){var t=e.prefixCls,n=void 0===t?"w-tree":t,i=e.icon,r=void 0===i?"caret-right":i,a=e.data,o=void 0===a?[]:a,l=e.openKeys,f=void 0===l?[]:l,h=e.selectedKeys,p=void 0===h?[]:h,v=e.defaultExpandAll,x=void 0!==v&&v,g=e.showLine,j=void 0!==g&&g,b=e.iconAnimation,w=void 0===b||b,C=e.isSelected,N=void 0===C||C,Z=e.checkStrictly,k=void 0!==Z&&Z,S=e.multiple,E=void 0!==S&&S,P=e.onExpand,M=void 0===P?u:P,B=e.onSelected,L=void 0===B?u:B,z=e.className,D=e.autoExpandParent,O=void 0===D||D,A=e.renderTitle,T=e.onChange,R=e.value,I=(0,s.Z)(e,Ai),F=(0,d.useState)(f),H=(0,y.Z)(F,2),W=H[0],_=H[1],V=(0,d.useState)(R||p),Y=(0,y.Z)(V,2),K=Y[0],$=Y[1];(0,d.useEffect)((function(){$(e.value||e.selectedKeys||[])}),[JSON.stringify(e.selectedKeys),JSON.stringify(e.value)]),(0,d.useEffect)((function(){var e=(0,be.Z)(W);if(x)e=Ri(o);else if(O){var t;(t=e).push.apply(t,(0,be.Z)(Ri(o||[],void 0,1)))}_(e)}),[]);var U=[z,n,j?n+"-line":null].filter(Boolean).join(" ").trim();return(0,m.jsx)("div",(0,c.Z)({className:U},I,{children:(0,m.jsx)(Oi,{icon:r,iconAnimation:w,isSelected:N,openKeys:W,selectedKeys:K,prefixCls:n,renderTitle:A,onItemClick:function(e,t){if(e.children){var n=(0,be.Z)(W),i=n.find((function(t){return t===e.key})),r=t.currentTarget.className.replace(/(\s)open/g,""),a=!1;!i&&e.key?(n.push(e.key),t.currentTarget.className=[r,"open"].filter(Boolean).join(" ").trim(),a=!0):(n=n.filter((function(t){return t!==e.key})),t.currentTarget.className=r),_(n),M&&M(e.key,a,e,t)}},onItemSelected:function(e,t){var n=(0,be.Z)(K),i=n.find((function(t){return t===e.key})),r=!1;i||0===i?n=n.filter((function(t){return t!==e.key})):(r=!0,n.push(e.key)),k&&(i?n=(n=n.filter((function(t){return-1===Ri(e.children).indexOf(t)}))).filter((function(t){return-1===Ii(e.parent).indexOf(t)})):(n=(n=n.concat(Ri(e.children).filter((function(e){return-1===n.indexOf(e)})))).concat(Fi(e,n)),n=Array.from(new Set(n)))),E||(n=i?[]:[e.key]),$(n),L&&L(n,e.key,r,e,t),null==T||T(e.key,n)},data:o,level:1})}))}var Wi=["prefixCls"];function _i(e){var t=e.prefixCls,n=void 0===t?"w-treechecked":t,i=(0,s.Z)(e,Wi);return i.className=[n,i.className].filter(Boolean).join(" ").trim(),i.checkStrictly=!0,i.isSelected=!1,i.multiple=!0,(0,m.jsx)(Hi,(0,c.Z)({renderTitle:function(e,t){var i={};return t.isHalfChecked&&(i.indeterminate=!0),t.selected?i.checked=!0:i.checked=!1,(0,m.jsxs)(d.Fragment,{children:[(0,m.jsx)(lt,(0,c.Z)({className:n+"-checked"},i)),e.label&&(0,m.jsx)("span",{children:e.label})]})}},i))}var Vi=function(e){var t=e.prefixCls,n=void 0===t?"w-search-tree":t,i=e.size,r=void 0===i?"default":i,a=e.disabled,o=void 0!==a&&a,l=e.allowClear,s=void 0!==l&&l,u=e.loading,f=void 0!==u&&u,h=e.selectCloseDrop,p=void 0!==h&&h,v=e.className,x=e.style,g=e.placeholder,j=e.content,b=e.options,w=e.values,C=e.onChange,N=e.onSearch,Z=e.emptyOption,k=[n,v].filter(Boolean).join(" ").trim(),S=(0,d.useState)(!1),E=(0,y.Z)(S,2),P=E[0],B=E[1],L=(0,d.useState)(w),z=(0,y.Z)(L,2),D=z[0],O=z[1],A=(0,d.useRef)(),T=(0,d.useState)(""),R=(0,y.Z)(T,2),I=R[0],F=R[1];A.current=(0,d.useMemo)((function(){return D}),[D]);var H=(0,d.useState)(""),W=(0,y.Z)(H,2),_=W[0],V=W[1],Y=(0,d.useRef)(null);function K(e){var t="enter"===e&&s&&(D.length||I)?"close":"";V(t)}(0,d.useEffect)((function(){O(w)}),[JSON.stringify(w)]);var $=function(e,t,n){void 0===n&&(n=!0),O(e),J(""),null==C||C(e,t,n)},U=function(e){var t=A.current,n=t[e];t.splice(e,1),$((0,be.Z)(t),n,!1)};function G(e){B(!0),J(e),V(e?"loading":"")}var J=function(e){F(e),null==N||N(e)},q=(0,d.useMemo)((function(){if(Z)return"boolean"===typeof Z?(0,m.jsx)(Rt,{style:{minWidth:200,width:null==x?void 0:x.width}}):Z;var e=(0,c.Z)({},j.props,{onSelected:function(e,t,n){void 0===n&&(n=!0),B(!p),$(e,t,n)},values:D,options:b});return d.cloneElement(j,e)}),[JSON.parse(JSON.stringify(D)),b,Z]);return(0,m.jsx)(At,{className:k,trigger:"click",onVisibleChange:function(e){B(e),e||J("")},isOpen:P,menu:(0,m.jsx)(Je,{bodyStyle:!0===Z?{padding:0}:void 0,children:q}),children:(0,m.jsx)("div",{onMouseOver:function(){return K("enter")},onMouseLeave:function(){return K("leave")},onClick:function(){var e;return null==(e=Y.current)?void 0:e.focus()},style:(0,c.Z)({minWidth:200,maxWidth:"none"},x),children:(0,m.jsxs)("div",{className:n+"-inner",children:[(0,m.jsxs)("div",{style:{display:"flex",flexFlow:"wrap",width:"100%"},children:[D.map((function(e,t){return(0,m.jsx)(ri,{style:{height:20,margin:1,display:"flex",alignItems:"center"},className:n+"-tag",closable:!0,color:"#393E48",onClose:function(e){e.stopPropagation(),U(t)},children:e.label},t)})),(0,m.jsx)(je,{ref:Y,style:{flex:1,minWidth:30},className:n+"-input-contents",size:r,disabled:o,onKeyDown:function(e){D.length>0&&!I&&8===e.keyCode&&U(D.length-1)},onChange:function(e){return G(e.target.value)},value:I,placeholder:D.length?"":g})]}),(0,m.jsx)("span",{style:{height:25,width:14},className:n+"-close-tag-contents",children:("close"===_||"loading"===_&&f)&&(0,m.jsx)(M,{type:_,spin:f&&"loading"===_,onClick:function(e){var t;e.stopPropagation(),null==(t=Y.current)||t.focus(),G(""),B(!1),O([]),$([])}})})]})})})},Yi=["onChange","onSearch","multiple","options","value","emptyOption","treeProps"];function Ki(e){var t=(0,d.useState)({}),n=(0,y.Z)(t,2),i=n[0],r=n[1],a=(0,d.useState)([]),o=(0,y.Z)(a,2),l=o[0],s=o[1];(0,d.useEffect)((function(){var t,n={},i=null==(t=e.values)?void 0:t.map((function(e){return n[e.key]=e.label,e.key}));r(n),s(i||[])}),[e.values]);var u=function e(t,n,i){var r=function(e,t,i){i?n[e]=t:delete n[e]},a=function e(t){if(t.parent){var i=t.parent.children.filter((function(e){return!n[e.key]})).length;r(t.parent.key,t.parent.label,0===i),e(t.parent)}};return t.forEach((function(t){var o,l;null!=(o=t.children)&&o.length&&(n=e(t.children,n,i)),r(t.key,null==(l=t.label)?void 0:l.toString(),i),a(t)})),n};return(0,m.jsx)(_i,(0,c.Z)({defaultExpandAll:!0},e,{data:e.options,selectedKeys:l,onSelected:function(t,n,r,a){var o=u([a],i,r),l=!1;"number"===typeof n&&(l=!0);var s=Object.entries(o).map((function(e){var t=(0,y.Z)(e,2),n=t[0],i=t[1];return{key:l?Number.parseInt(n):n,label:i}}));null==e.onSelected||e.onSelected(s,{key:a.key,label:a.label},r)}}))}function $i(e){var t=(0,d.useState)([]),n=(0,y.Z)(t,2),i=n[0],r=n[1];(0,d.useEffect)((function(){var t,n=[];null!=(t=e.values)&&t.length&&(n[0]=e.values[0].key),r(n)}),[e.values]);return(0,m.jsx)(Hi,(0,c.Z)({defaultExpandAll:!0},e,{multiple:!1,data:e.options,selectedKeys:i,onSelected:function(t,n,i,r){var a={key:r.key,label:r.label};null==e.onSelected||e.onSelected(i?[a]:[],a,i)}}))}var Ui=function(e){var t=e.onChange,n=(e.onSearch,e.multiple),i=void 0===n||n,r=e.options,a=void 0===r?[]:r,o=e.value,l=void 0===o?[]:o,u=e.emptyOption,f=void 0===u?!a.length:u,h=e.treeProps,p=(0,s.Z)(e,Yi),v=(0,d.useState)(Array.isArray(l)?l:[l]),x=(0,y.Z)(v,2),g=x[0],j=x[1],b=(0,d.useState)(a),w=(0,y.Z)(b,2),C=w[0],N=w[1],Z=(0,d.useState)(f),k=(0,y.Z)(Z,2),S=k[0],E=k[1];return(0,d.useEffect)((function(){j(Array.isArray(l)?l:[])}),[JSON.stringify(l)]),(0,m.jsx)(Vi,(0,c.Z)({},p,{emptyOption:S,selectCloseDrop:!i,onSearch:function(e){!function t(n,i){void 0===i&&(i=!0),n.forEach((function(n){var r,a=!n.label.includes(e.trim())&&i;if(null!=(r=n.children)&&r.length){t(n.children,a);var o=n.children.find((function(e){return!e.hideNode}));n.hideNode=a&&!o}else n.hideNode=a}))}(a),N((0,be.Z)(a));var t=!0;a.forEach((function(e){return t=t&&!!e.hideNode})),E("boolean"===typeof f&&t?t:f)},onChange:function(e,n,i){j(e),null==t||t(n,e,i)},values:g,options:C,content:i?(0,m.jsx)(Ki,(0,c.Z)({},h)):(0,m.jsx)($i,(0,c.Z)({},h))}))}},75752:function(e){e.exports={i8:"4.13.10"}},86646:function(e){e.exports=JSON.parse('[{"name":"\u6307\u5357","path":"/guide","icon":"home","children":[{"name":"\u5feb\u901f\u5f00\u59cb","path":"quick-start"},{"divider":true,"name":"\u5de5\u5177"},{"name":"\u6309\u9700\u52a0\u8f7d","path":"import"},{"name":"\u5728 create-react-app \u4e2d\u4f7f\u7528","path":"create-react-app"},{"name":"\u5728 kkt \u4e2d\u4f7f\u7528","path":"kkt"},{"name":"VSCode \u63d2\u4ef6","path":"vscode"},{"divider":true,"name":"\u5176\u5b83"},{"name":"\u6587\u6863\u7f16\u8f91\u9884\u89c8","path":"docs"},{"name":"\u66f4\u65b0\u65e5\u5fd7","path":"https://github.com/uiwjs/uiw/releases"},{"name":"\u793e\u533a\u7cbe\u9009\u7ec4\u4ef6","path":"recommendation"},{"name":"Awesome UIKit","path":"https://github.com/jaywcjlove/awesome-uikit"},{"name":"Awesome React Components","path":"https://github.com/brillout/awesome-react-components"}]},{"name":"\u7ec4\u4ef6","path":"/components","icon":"component","children":[{"divider":true,"name":"\u57fa\u672c"},{"name":"Color \u989c\u8272","path":"colors"},{"name":"Reset CSS","path":"reset-css"},{"name":"Icon \u56fe\u6807","path":"icon"},{"name":"Button \u6309\u94ae","path":"button"},{"divider":true,"name":"\u5e03\u5c40"},{"name":"Divider \u5206\u5272\u7ebf","path":"divider"},{"name":"Grid \u5220\u683c","path":"grid"},{"name":"Layout \u5e03\u5c40","path":"layout"},{"name":"Split \u9762\u677f\u5206\u5272","path":"Split"},{"divider":true,"name":"\u8868\u5355"},{"name":"Form \u8868\u5355","path":"form"},{"name":"Radio \u5355\u9009\u6846","path":"radio"},{"name":"Checkbox \u591a\u9009\u6846","path":"checkbox"},{"name":"Input \u8f93\u5165\u6846","path":"input"},{"name":"FileInput \u4e0a\u4f20\u8f93\u5165\u6846","path":"file-input"},{"name":"PinCode PIN\u7801","path":"pin-code"},{"name":"Rate \u8bc4\u5206","path":"rate"},{"name":"Switch \u5f00\u5173","path":"switch"},{"name":"Select \u9009\u62e9\u5668","path":"select"},{"name":"SearchSelect \u641c\u7d22\u9009\u62e9\u5668","path":"search-select"},{"name":"SearchTree \u641c\u7d22\u6811\u5f62\u63a7\u4ef6","path":"search-tree"},{"name":"Slider \u6ed1\u5757\u8f93\u5165\u6761","path":"slider"},{"name":"TreeChecked \u6811\u5f62\u9009\u62e9\u63a7\u4ef6","path":"tree-checked"},{"name":"Textarea \u591a\u884c\u6587\u672c\u8f93\u5165\u6846","path":"textarea"},{"name":"Color \u989c\u8272\u9009\u62e9\u5668","path":"https://uiwjs.github.io/react-color/"},{"divider":true,"name":"\u65f6\u95f4\u65e5\u5386"},{"name":"Calendar \u65e5\u5386","path":"calendar"},{"name":"DatePicker \u65e5\u671f\u9009\u62e9\u5668","path":"date-picker"},{"name":"DateInput \u65e5\u671f\u8f93\u5165\u6846","path":"date-input"},{"name":"TimePicker \u65f6\u95f4\u8f93\u5165\u6846","path":"time-picker"},{"name":"MonthPicker \u6708\u4efd\u9009\u62e9\u5668","path":"month-picker"},{"name":"formatter \u65f6\u95f4\u683c\u5f0f\u5316","path":"formatter"},{"divider":true,"name":"\u6570\u636e\u663e\u793a"},{"name":"Avatar \u5934\u50cf","path":"avatar"},{"name":"Badge \u6807\u8bb0","path":"badge"},{"name":"Card \u5361\u7247","path":"card"},{"name":"Collapse \u6298\u53e0\u9762\u677f","path":"collapse"},{"name":"Descriptions \u63cf\u8ff0\u5217\u8868","path":"descriptions"},{"name":"Tag \u6807\u7b7e","path":"tag"},{"name":"Tree \u6811\u5f62\u63a7\u4ef6","path":"tree"},{"name":"Table \u8868\u683c","path":"table"},{"name":"Progress \u8fdb\u5ea6\u6761","path":"progress"},{"name":"List \u5217\u8868","path":"list"},{"name":"AutoLink \u6587\u672c\u8d85\u94fe\u63a5","path":"auto-link"},{"name":"Empty \u7a7a\u72b6\u6001","path":"empty"},{"name":"HeatMap \u65e5\u5386\u70ed\u56fe","path":"https://uiwjs.github.io/react-heat-map"},{"name":"Markdown Preview","path":"https://uiwjs.github.io/react-markdown-preview/"},{"divider":true,"name":"\u5bfc\u822a"},{"name":"Affix \u56fe\u9489","path":"affix"},{"name":"Breadcrumb \u9762\u5305\u5c51","path":"breadcrumb"},{"name":"Dropdown \u4e0b\u62c9\u83dc\u5355","path":"dropdown"},{"name":"Menu \u83dc\u5355","path":"menu"},{"name":"Pagination \u5206\u9875","path":"pagination"},{"name":"Steps \u6b65\u9aa4\u6761","path":"steps"},{"name":"Tabs \u6807\u7b7e\u9875","path":"tabs"},{"divider":true,"name":"\u53cd\u9988"},{"name":"Overlay \u57fa\u7840\u5f39\u51fa\u5c42","path":"overlay"},{"name":"OverlayTrigger \u57fa\u7840\u5f39\u51fa\u89e6\u53d1","path":"overlay-trigger"},{"name":"Alert \u786e\u8ba4\u5bf9\u8bdd\u6846","path":"alert"},{"name":"Drawer \u62bd\u5c49","path":"drawer"},{"name":"Modal \u6a21\u6001\u5bf9\u8bdd\u6846","path":"modal"},{"name":"Message \u8b66\u544a\u63d0\u793a","path":"message"},{"name":"Loader \u52a0\u8f7d\u5668","path":"loader"},{"name":"Notify \u6d88\u606f\u901a\u77e5","path":"notify"},{"name":"Popover \u6c14\u6ce1\u5361\u7247","path":"popover"},{"name":"Tooltip \u6587\u5b57\u63d0\u793a","path":"tooltip"},{"divider":true,"name":"\u5730\u56fe"},{"name":"AMap \u9ad8\u5fb7\u5730\u56fe","path":"https://uiwjs.github.io/react-amap"},{"name":"BaiduMap \u767e\u5ea6\u5730\u56fe","path":"https://uiwjs.github.io/react-baidu-map"},{"divider":true,"name":"\u7f16\u8f91\u5668"},{"name":"Textarea CodeEditor","path":"https://uiwjs.github.io/react-textarea-code-editor/"},{"name":"MDEditor \u7f16\u8f91\u5668","path":"https://uiwjs.github.io/react-md-editor/"},{"name":"Markdown Editor \u7f16\u8f91\u5668","path":"https://uiwjs.github.io/react-markdown-editor/"},{"name":"CodePreview JS\u7f16\u8f91\u9884\u89c8","path":"https://uiwjs.github.io/react-code-preview/"},{"name":"Codemirror \u4ee3\u7801\u7f16\u8f91\u5668","path":"https://uiwjs.github.io/react-codemirror/"},{"name":"MonacoEditor \u4ee3\u7801\u7f16\u8f91\u5668","path":"https://jaywcjlove.github.io/react-monacoeditor/"},{"divider":true,"name":"\u5176\u5b83"},{"name":"BackTop \u8fd4\u56de\u9876\u90e8","path":"back-top"},{"name":"CopyToClipboard \u590d\u5236","path":"copy-to-clipboard"},{"name":"Portal \u5165\u53e3","path":"portal"},{"name":"Github Corners","path":"https://uiwjs.github.io/react-github-corners/"},{"name":"Only When","path":"https://uiwjs.github.io/react-only-when/"},{"name":"Run Web","path":"https://uiwjs.github.io/react-run-web/"}]},{"name":"\u6269\u5c55","path":"/extensions","icon":"plugin"},{"name":"\u63d0\u4ea4\u95ee\u9898","icon":"issue","path":"https://github.com/uiwjs/uiw/issues/new/choose"},{"name":"Github","icon":"github","path":"https://github.com/uiwjs/uiw"},{"name":"Gitee","icon":"gitee","path":"https://gitee.com/uiw/uiw"}]')}},t={};function n(i){var r=t[i];if(void 0!==r)return r.exports;var a=t[i]={exports:{}};return e[i].call(a.exports,a,a.exports,n),a.exports}n.m=e,function(){var e=[];n.O=function(t,i,r,a){if(!i){var o=1/0;for(d=0;d=a)&&Object.keys(n.O).every((function(e){return n.O[e](i[s])}))?i.splice(s--,1):(l=!1,a0&&e[d-1][2]>a;d--)e[d]=e[d-1];e[d]=[i,r,a]}}(),n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,{a:t}),t},n.d=function(e,t){for(var i in t)n.o(t,i)&&!n.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:t[i]})},n.f={},n.e=function(e){return Promise.all(Object.keys(n.f).reduce((function(t,i){return n.f[i](e,t),t}),[]))},n.u=function(e){return"static/js/"+({889:"vendors-prismjs",6982:"vendors-standalone"}[e]||e)+"."+{163:"89176117",207:"891adb65",221:"4eb5b9a2",486:"fc977627",643:"eeffe1e2",694:"4a2552a3",745:"3a86c62c",747:"7519f1c0",748:"398a6fc1",766:"c8931dff",875:"07cef8a0",889:"b53bdc3b",922:"b1f148e3",1016:"a3866702",1059:"01c5bbf5",1061:"bebac0c1",1127:"d65f8357",1151:"3c560b1f",1169:"d1e153ee",1317:"da1c8179",1358:"e579baca",1584:"d121a58b",1619:"df8eb08f",1756:"87f583cc",1820:"afa38704",1892:"0f341f07",1971:"d746cb8b",2078:"53137233",2156:"90e9be12",2190:"e17088e2",2230:"a30ce096",2316:"de77050f",2367:"ed50fdc3",2411:"6aaa172c",2448:"1d46904a",2456:"624e63f5",2582:"c0f03329",2595:"e2263469",2679:"0780e749",2692:"db178ecc",2737:"865b4f95",2782:"bed382a4",2795:"45c184a0",2854:"ff43f045",2926:"f11fdc77",3151:"59d27efa",3257:"5693b5c1",3259:"80ff41ab",3261:"d4120c57",3313:"af8a3ed8",3450:"bb5e6340",3518:"7ff154b7",3769:"535a1903",3811:"ac38cada",3812:"e343740f",3917:"372e76e1",3931:"088517c5",4010:"ec3bfadc",4036:"412a4652",4098:"c09d6b35",4128:"e1ee7a3d",4188:"f168d0ce",4396:"260bbb7a",4405:"5fadd16f",4503:"e0442423",4648:"193ada33",4781:"ce661c8a",4877:"d0b1bed8",4948:"db31f027",5146:"76b73d7f",5244:"ef2e1b10",5253:"7a8716a8",5308:"86cea331",5364:"b95913d0",5393:"b105bd5e",5408:"c35692f5",5468:"462bf55f",5595:"c42c119f",5821:"41b747c6",5865:"8a49f1fb",5930:"65ea3787",6019:"add10037",6036:"289c2eb8",6510:"a2b3f3ae",6536:"8d9d4af6",6566:"511e95c6",6659:"6790167d",6715:"61d41218",6730:"05b8be02",6869:"38330ca9",6878:"c6cec0d9",6982:"a406ae54",7079:"3aa94426",7087:"e47a6fc3",7104:"c26a2e9b",7157:"d1d72e99",7217:"1be488ae",7266:"bba9c51f",7313:"558b6522",7390:"77d3c594",7541:"709f6082",7664:"f92b74f7",7761:"58c5aac1",7763:"444dce16",7834:"e2cb2c9b",7861:"757503f5",7875:"aa16c85e",7884:"f7d0ad92",8023:"ba5cb853",8073:"9afe01c2",8312:"58a5729e",8398:"cc6aa9ea",8488:"148bfa75",8566:"794b9a15",8586:"9d605493",8709:"44b46cf7",8747:"04252521",8768:"5facbb82",8849:"d5dd1a61",8898:"009bddd3",8915:"82c6b45a",9057:"b21f426b",9121:"3b688f24",9137:"f4e2b7b0",9147:"d6a507a2",9188:"b7ce0cf2",9200:"0a1f7353",9253:"2d1f2531",9260:"54c1b5f6",9384:"baf5b89a",9429:"3b8debbf",9503:"e79b06ea",9673:"b6faf12a",9763:"13bfd4a0",9776:"19d5c339",9777:"38948748",9820:"1374775d",9836:"8cd96a11",9853:"08389818",9900:"2d8ffaaf",9961:"9db8f620"}[e]+".chunk.js"},n.miniCssF=function(e){return"static/css/"+e+"."+{163:"dc5e9ddc",221:"dc5e9ddc",643:"dc5e9ddc",694:"dc5e9ddc",748:"dc5e9ddc",875:"dc5e9ddc",1059:"dc5e9ddc",1061:"dc5e9ddc",1169:"dc5e9ddc",1317:"dc5e9ddc",1584:"dc5e9ddc",1619:"dc5e9ddc",1820:"dc5e9ddc",2156:"dc5e9ddc",2190:"dc5e9ddc",2230:"dc5e9ddc",2316:"dc5e9ddc",2367:"dc5e9ddc",2411:"dc5e9ddc",2582:"dc5e9ddc",2595:"dc5e9ddc",2737:"dc5e9ddc",2782:"dc5e9ddc",3313:"dc5e9ddc",3518:"dc5e9ddc",3812:"dc5e9ddc",3917:"dc5e9ddc",4010:"dc5e9ddc",4098:"dc5e9ddc",4128:"dc5e9ddc",4188:"dc5e9ddc",4396:"774af801",4405:"dc5e9ddc",4503:"dc5e9ddc",4648:"dc5e9ddc",4877:"6e864cd4",4948:"dc5e9ddc",5244:"dc5e9ddc",5308:"dc5e9ddc",5393:"dc5e9ddc",5408:"dc5e9ddc",5595:"dc5e9ddc",5865:"dc5e9ddc",6510:"dc5e9ddc",6715:"dc5e9ddc",6730:"dc5e9ddc",7087:"dc5e9ddc",7104:"dc5e9ddc",7157:"dc5e9ddc",7390:"dc5e9ddc",7541:"dc5e9ddc",7761:"dc5e9ddc",7834:"dc5e9ddc",7875:"dc5e9ddc",7884:"dc5e9ddc",8023:"dc5e9ddc",8073:"dc5e9ddc",8566:"dc5e9ddc",8898:"dc5e9ddc",9121:"dc5e9ddc",9200:"14abaeb3",9253:"dc5e9ddc",9260:"dc5e9ddc",9384:"dc5e9ddc",9503:"dc5e9ddc",9673:"dc5e9ddc",9763:"dc5e9ddc",9776:"dc5e9ddc",9777:"dc5e9ddc",9853:"dc5e9ddc"}[e]+".chunk.css"},n.g=function(){if("object"===typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"===typeof window)return window}}(),n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},function(){var e={},t="website:";n.l=function(i,r,a,o){if(e[i])e[i].push(r);else{var l,s;if(void 0!==a)for(var c=document.getElementsByTagName("script"),d=0;d\n \n \n \n \n);\n\nconst dark = logo;\n\nconst light = (\n \n \n \n \n \n);\n\nexport default {\n dark,\n light,\n};\n","import { Link } from 'react-router-dom';\n\nexport default function NoMatch() {\n return (\n
\n

It looks like you're lost...

\n

\n Go to the home page\n

\n
\n );\n}\n","import { Loader, Icon } from 'uiw';\n\nexport default function De() {\n return (\n } />\n );\n}\n","// extracted by mini-css-extract-plugin\nexport default {};","import React, { useMemo } from 'react';\nimport { Select } from 'uiw';\nimport pkg from 'uiw/package.json';\nimport styles from './index.module.less';\n\ntype OptionsProps = {\n version?: string;\n};\n\nfunction Options(props = {} as OptionsProps) {\n return useMemo(() => {props.version}, [props.version]);\n}\n\nexport type VersionSelectProps = {\n data: string[];\n};\n\nconst VersionSelect = (props = {} as VersionSelectProps) => {\n function onChange(e: React.ChangeEvent) {\n const version = e.target.value;\n const isV1 = version.split('.')[0] === '1';\n if (isV1) {\n window.location.href = `https://unpkg.com/uiw@${version}/dist/index.html`;\n } else {\n window.location.href = `https://unpkg.com/@uiw/doc@${version}/web/index.html`;\n }\n }\n // @ts-ignore\n // eslint-disable-next-line no-undef\n const currentVersion = pkg.version;\n const versionList = props.data;\n const firstVersion = versionList[0];\n if (firstVersion !== currentVersion) {\n versionList.unshift(currentVersion);\n }\n return useMemo(\n () => (\n
\n \n
\n ),\n [versionList],\n );\n};\n\nexport default VersionSelect;\n","// extracted by mini-css-extract-plugin\nexport default {\"sider\":\"index_sider__vrASx\",\"menuWarpper\":\"index_menuWarpper__asOzy\",\"subMenu\":\"index_subMenu__c4Mvo\",\"layoutWrap\":\"index_layoutWrap__6CE3D\",\"layoutSider\":\"index_layoutSider__1t-SG\"};","// extracted by mini-css-extract-plugin\nexport default {\"title\":\"index_title__O5TzH\",\"menu\":\"index_menu__9HE8I\",\"divider\":\"index_divider__1cINS\"};","import React from 'react';\n\nexport default {\n home: (\n \n \n \n ),\n component: (\n \n \n \n \n ),\n github: (\n \n \n \n \n ),\n issue: (\n \n \n \n \n ),\n gitee: (\n \n \n \n ),\n plugin: (\n \n \n \n \n \n \n ),\n};\n","import { NavLink } from 'react-router-dom';\nimport { useLocation } from 'react-router-dom';\nimport styles from './index.module.less';\nimport menu from '../../menu.json';\nimport nav from '../icons/nav';\n\nexport default function SiderMenu() {\n const location = useLocation();\n const data = menu.find((item) => new RegExp(`^${item.path || ''}`).test(location.pathname));\n\n if (!data?.children) {\n return null;\n }\n return (\n
\n

\n {(nav as any)[data.icon]}\n {data.name}\n

\n
\n {data.children &&\n data.children.map((item, idx) => {\n if (item.divider) {\n return (\n
\n {item.name}\n
\n );\n }\n if (/^http(?:|s):\\/\\//.test(item.path || '')) {\n return (\n
\n {item.name}\n \n \n \n \n \n );\n }\n return (\n \n {item.name}\n \n );\n })}\n
\n
\n );\n}\n","// extracted by mini-css-extract-plugin\nexport default {\"logo\":\"index_logo__kUQOi\",\"top\":\"index_top__DLxV-\",\"nav\":\"index_nav__SdXbb\",\"navTop\":\"index_navTop__08yh1\",\"btn\":\"index_btn__YYGUe\",\"btnTop\":\"index_btnTop__PlNw6\"};","import React from 'react';\n\ntype InitialState = {\n layout: 'top' | 'left' | 'mix';\n};\n\nexport const initialState: InitialState = {\n layout: 'top',\n};\n\nexport const reducer = (state: InitialState, action: InitialState) => {\n return {\n ...state,\n ...action,\n };\n};\n\nexport interface Context {\n state: InitialState;\n dispatch: React.Dispatch;\n}\n\nexport const ThemeContext = React.createContext({\n state: initialState,\n dispatch: () => null,\n});\n","import React from 'react';\n\nexport default {\n menu: (\n \n \n \n \n \n \n \n ),\n menutop: (\n \n \n \n \n \n \n \n ),\n china: (\n \n \n \n \n \n \n \n \n \n \n \n ),\n};\n","import { Fragment, useContext } from 'react';\nimport { Tooltip } from 'uiw';\nimport { NavLink, Link } from 'react-router-dom';\nimport styles from './index.module.less';\nimport data from '../../menu.json';\nimport { ThemeContext } from '../../contexts';\nimport nav from '../icons/nav';\nimport logo from '../icons/logo';\nimport menu from '../icons/menu';\nimport pkg from 'uiw/package.json';\n\nexport default function Nav() {\n const { state, dispatch } = useContext(ThemeContext);\n return (\n \n
\n \n {logo.dark}\n {state.layout === 'top' && (\n \n UIW{pkg.version}\n \n )}\n \n
\n
\n {data.map(({ path, name, icon }, idx) => {\n if (Object.keys(nav).includes(icon)) {\n icon = (nav as any)[icon];\n }\n if (/^https?:(?:\\/\\/)?/.test(path)) {\n if (state.layout === 'top') {\n return (\n \n {icon} {name}\n \n );\n }\n return (\n {name}}\n >\n \n {icon}\n \n \n );\n }\n let activeStyle: React.CSSProperties = {\n color: '#fff',\n };\n if (state.layout === 'top') {\n return (\n (isActive ? activeStyle : undefined)}\n >\n {icon} {name}\n \n );\n }\n\n return (\n {name}}\n >\n (isActive ? activeStyle : undefined)}\n >\n {icon}\n \n \n );\n })}\n
\n
\n \n \n {menu.china}\n \n \n \n
\n
\n );\n}\n","import { Fragment, useContext } from 'react';\nimport { Outlet } from 'react-router-dom';\nimport { Layout, Affix } from 'uiw';\nimport VersionSelect from '../components/VersionSelect';\nimport styles from './index.module.less';\nimport version from '../version.json';\nimport SiderMenu from '../components/SiderMenu';\nimport Nav from '../components/Nav';\nimport { ThemeContext } from '../contexts';\n\nconst { Header, Sider, Content } = Layout;\nexport interface ComponentsProps {\n siderMenu?: boolean;\n}\n\nexport default function Components(props: ComponentsProps) {\n const { siderMenu = true } = props;\n const { state } = useContext(ThemeContext);\n return (\n \n {state.layout === 'top' ? (\n \n \n
\n
\n
\n \n \n
\n \n
\n
\n \n \n \n
\n
\n ) : (\n \n \n \n \n