You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1 line
15 KiB
1 line
15 KiB
(self.webpackChunk=self.webpackChunk||[]).push([[64065],{43387:function(e,n,t){"use strict";t.d(n,{Z:function(){return Y}});var o=t(87462),r=t(97685),a=t(4942),c=t(45987),i=t(67294),l=t(94184),u=t.n(l),s=t(16397),f=(0,i.createContext)({}),d=t(1413),p=t(71002),y={},m=[];function v(e,n){}function g(e,n){}function b(e,n,t){n||y[t]||(e(!1,t),y[t]=!0)}function h(e,n){b(v,e,n)}h.preMessage=function(e){m.push(e)},h.resetWarned=function(){y={}},h.noteOnce=function(e,n){b(g,e,n)};var C=h;function w(){return!("undefined"==typeof window||!window.document||!window.document.createElement)}var x="data-rc-order",k="rc-util-key",O=new Map;function Z(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e.mark;return n?n.startsWith("data-")?n:"data-".concat(n):k}function E(e){return e.attachTo?e.attachTo:document.querySelector("head")||document.body}function T(e){return"queue"===e?"prependQueue":e?"prepend":"append"}function j(e){return Array.from((O.get(e)||e).children).filter((function(e){return"STYLE"===e.tagName}))}function S(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!w())return null;var t=n.csp,o=n.prepend,r=document.createElement("style");r.setAttribute(x,T(o)),null!=t&&t.nonce&&(r.nonce=null==t?void 0:t.nonce),r.innerHTML=e;var a=E(n),c=a.firstChild;if(o){if("queue"===o){var i=j(a).filter((function(e){return["prepend","prependQueue"].includes(e.getAttribute(x))}));if(i.length)return a.insertBefore(r,i[i.length-1].nextSibling),r}a.insertBefore(r,c)}else a.appendChild(r);return r}function D(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},t=E(n);return j(t).find((function(t){return t.getAttribute(Z(n))===e}))}function P(e,n){var t=O.get(e);if(!t||!function(e,n){if(!e)return!1;if(e.contains)return e.contains(n);for(var t=n;t;){if(t===e)return!0;t=t.parentNode}return!1}(document,t)){var o=S("",n),r=o.parentNode;O.set(e,r),e.removeChild(o)}}function R(e){var n;return null==e||null===(n=e.getRootNode)||void 0===n?void 0:n.call(e)}function A(e){return function(e){return R(e)!==(null==e?void 0:e.ownerDocument)}(e)?R(e):null}function N(e){return"object"===(0,p.Z)(e)&&"string"==typeof e.name&&"string"==typeof e.theme&&("object"===(0,p.Z)(e.icon)||"function"==typeof e.icon)}function M(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Object.keys(e).reduce((function(n,t){var o=e[t];if("class"===t)n.className=o,delete n.class;else n[t]=o;return n}),{})}function z(e,n,t){return t?i.createElement(e.tag,(0,d.Z)((0,d.Z)({key:n},M(e.attrs)),t),(e.children||[]).map((function(t,o){return z(t,"".concat(n,"-").concat(e.tag,"-").concat(o))}))):i.createElement(e.tag,(0,d.Z)({key:n},M(e.attrs)),(e.children||[]).map((function(t,o){return z(t,"".concat(n,"-").concat(e.tag,"-").concat(o))})))}function _(e){return(0,s.generate)(e)[0]}function q(e){return e?Array.isArray(e)?e:[e]:[]}var H=function(e){var n=(0,i.useContext)(f),t=n.csp,o=n.prefixCls,r="\n.anticon {\n display: inline-block;\n color: inherit;\n font-style: normal;\n line-height: 0;\n text-align: center;\n text-transform: none;\n vertical-align: -0.125em;\n text-rendering: optimizeLegibility;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n}\n\n.anticon > * {\n line-height: 1;\n}\n\n.anticon svg {\n display: inline-block;\n}\n\n.anticon::before {\n display: none;\n}\n\n.anticon .anticon-icon {\n display: block;\n}\n\n.anticon[tabindex] {\n cursor: pointer;\n}\n\n.anticon-spin::before,\n.anticon-spin {\n display: inline-block;\n -webkit-animation: loadingCircle 1s infinite linear;\n animation: loadingCircle 1s infinite linear;\n}\n\n@-webkit-keyframes loadingCircle {\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n\n@keyframes loadingCircle {\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n";o&&(r=r.replace(/anticon/g,o)),(0,i.useEffect)((function(){var n=A(e.current);!function(e,n){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};P(E(t),t);var o=D(n,t);if(o){var r,a,c;return null!==(r=t.csp)&&void 0!==r&&r.nonce&&o.nonce!==(null===(a=t.csp)||void 0===a?void 0:a.nonce)&&(o.nonce=null===(c=t.csp)||void 0===c?void 0:c.nonce),o.innerHTML!==e&&(o.innerHTML=e),o}var i=S(e,t);i.setAttribute(Z(t),n)}(r,"@ant-design-icons",{prepend:!0,csp:t,attachTo:n})}),[])},I=["icon","className","onClick","style","primaryColor","secondaryColor"],V={primaryColor:"#333",secondaryColor:"#E6E6E6",calculated:!1};var L=function(e){var n,t,o=e.icon,r=e.className,a=e.onClick,l=e.style,u=e.primaryColor,s=e.secondaryColor,f=(0,c.Z)(e,I),p=i.useRef(),y=V;if(u&&(y={primaryColor:u,secondaryColor:s||_(u)}),H(p),n=N(o),t="icon should be icon definiton, but got ".concat(o),C(n,"[@ant-design/icons] ".concat(t)),!N(o))return null;var m=o;return m&&"function"==typeof m.icon&&(m=(0,d.Z)((0,d.Z)({},m),{},{icon:m.icon(y.primaryColor,y.secondaryColor)})),z(m.icon,"svg-".concat(m.name),(0,d.Z)((0,d.Z)({className:r,onClick:a,style:l,"data-icon":m.name,width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true"},f),{},{ref:p}))};L.displayName="IconReact",L.getTwoToneColors=function(){return(0,d.Z)({},V)},L.setTwoToneColors=function(e){var n=e.primaryColor,t=e.secondaryColor;V.primaryColor=n,V.secondaryColor=t||_(n),V.calculated=!!t};var B=L;function U(e){var n=q(e),t=(0,r.Z)(n,2),o=t[0],a=t[1];return B.setTwoToneColors({primaryColor:o,secondaryColor:a})}var Q=["className","icon","spin","rotate","tabIndex","onClick","twoToneColor"];U(s.blue.primary);var W=i.forwardRef((function(e,n){var t,l=e.className,s=e.icon,d=e.spin,p=e.rotate,y=e.tabIndex,m=e.onClick,v=e.twoToneColor,g=(0,c.Z)(e,Q),b=i.useContext(f),h=b.prefixCls,C=void 0===h?"anticon":h,w=b.rootClassName,x=u()(w,C,(t={},(0,a.Z)(t,"".concat(C,"-").concat(s.name),!!s.name),(0,a.Z)(t,"".concat(C,"-spin"),!!d||"loading"===s.name),t),l),k=y;void 0===k&&m&&(k=-1);var O=p?{msTransform:"rotate(".concat(p,"deg)"),transform:"rotate(".concat(p,"deg)")}:void 0,Z=q(v),E=(0,r.Z)(Z,2),T=E[0],j=E[1];return i.createElement("span",(0,o.Z)({role:"img","aria-label":s.name},g,{ref:n,tabIndex:k,onClick:m,className:x}),i.createElement(B,{icon:s,primaryColor:T,secondaryColor:j,style:O}))}));W.displayName="AntdIcon",W.getTwoToneColor=function(){var e=B.getTwoToneColors();return e.calculated?[e.primaryColor,e.secondaryColor]:e.primaryColor},W.setTwoToneColor=U;var Y=W},11475:function(e,n,t){"use strict";t.d(n,{Z:function(){return l}});var o=t(87462),r=t(67294),a={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M464 688a48 48 0 1096 0 48 48 0 10-96 0zm24-112h48c4.4 0 8-3.6 8-8V296c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8z"}}]},name:"exclamation-circle",theme:"outlined"},c=t(43387),i=function(e,n){return r.createElement(c.Z,(0,o.Z)({},e,{ref:n,icon:a}))};var l=r.forwardRef(i)},64082:function(e,n,t){"use strict";t.d(n,{Z:function(){return l}});var o=t(87462),r=t(67294),a={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M885.2 446.3l-.2-.8-112.2-285.1c-5-16.1-19.9-27.2-36.8-27.2H281.2c-17 0-32.1 11.3-36.9 27.6L139.4 443l-.3.7-.2.8c-1.3 4.9-1.7 9.9-1 14.8-.1 1.6-.2 3.2-.2 4.8V830a60.9 60.9 0 0060.8 60.8h627.2c33.5 0 60.8-27.3 60.9-60.8V464.1c0-1.3 0-2.6-.1-3.7.4-4.9 0-9.6-1.3-14.1zm-295.8-43l-.3 15.7c-.8 44.9-31.8 75.1-77.1 75.1-22.1 0-41.1-7.1-54.8-20.6S436 441.2 435.6 419l-.3-15.7H229.5L309 210h399.2l81.7 193.3H589.4zm-375 76.8h157.3c24.3 57.1 76 90.8 140.4 90.8 33.7 0 65-9.4 90.3-27.2 22.2-15.6 39.5-37.4 50.7-63.6h156.5V814H214.4V480.1z"}}]},name:"inbox",theme:"outlined"},c=t(43387),i=function(e,n){return r.createElement(c.Z,(0,o.Z)({},e,{ref:n,icon:a}))};var l=r.forwardRef(i)},50888:function(e,n,t){"use strict";t.d(n,{Z:function(){return l}});var o=t(87462),r=t(67294),a={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M988 548c-19.9 0-36-16.1-36-36 0-59.4-11.6-117-34.6-171.3a440.45 440.45 0 00-94.3-139.9 437.71 437.71 0 00-139.9-94.3C629 83.6 571.4 72 512 72c-19.9 0-36-16.1-36-36s16.1-36 36-36c69.1 0 136.2 13.5 199.3 40.3C772.3 66 827 103 874 150c47 47 83.9 101.8 109.7 162.7 26.7 63.1 40.2 130.2 40.2 199.3.1 19.9-16 36-35.9 36z"}}]},name:"loading",theme:"outlined"},c=t(43387),i=function(e,n){return r.createElement(c.Z,(0,o.Z)({},e,{ref:n,icon:a}))};var l=r.forwardRef(i)},24969:function(e,n,t){"use strict";t.d(n,{Z:function(){return l}});var o=t(87462),r=t(67294),a={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M482 152h60q8 0 8 8v704q0 8-8 8h-60q-8 0-8-8V160q0-8 8-8z"}},{tag:"path",attrs:{d:"M176 474h672q8 0 8 8v60q0 8-8 8H176q-8 0-8-8v-60q0-8 8-8z"}}]},name:"plus",theme:"outlined"},c=t(43387),i=function(e,n){return r.createElement(c.Z,(0,o.Z)({},e,{ref:n,icon:a}))};var l=r.forwardRef(i)},81088:function(e,n,t){"use strict";t.d(n,{Z:function(){return l}});var o=t(87462),r=t(67294),a={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M705.6 124.9a8 8 0 00-11.6 7.2v64.2c0 5.5 2.9 10.6 7.5 13.6a352.2 352.2 0 0162.2 49.8c32.7 32.8 58.4 70.9 76.3 113.3a355 355 0 0127.9 138.7c0 48.1-9.4 94.8-27.9 138.7a355.92 355.92 0 01-76.3 113.3 353.06 353.06 0 01-113.2 76.4c-43.8 18.6-90.5 28-138.5 28s-94.7-9.4-138.5-28a353.06 353.06 0 01-113.2-76.4A355.92 355.92 0 01184 650.4a355 355 0 01-27.9-138.7c0-48.1 9.4-94.8 27.9-138.7 17.9-42.4 43.6-80.5 76.3-113.3 19-19 39.8-35.6 62.2-49.8 4.7-2.9 7.5-8.1 7.5-13.6V132c0-6-6.3-9.8-11.6-7.2C178.5 195.2 82 339.3 80 506.3 77.2 745.1 272.5 943.5 511.2 944c239 .5 432.8-193.3 432.8-432.4 0-169.2-97-315.7-238.4-386.7zM480 560h64c4.4 0 8-3.6 8-8V88c0-4.4-3.6-8-8-8h-64c-4.4 0-8 3.6-8 8v464c0 4.4 3.6 8 8 8z"}}]},name:"poweroff",theme:"outlined"},c=t(43387),i=function(e,n){return r.createElement(c.Z,(0,o.Z)({},e,{ref:n,icon:a}))};var l=r.forwardRef(i)},97183:function(e,n,t){"use strict";var o=t(84321),r=t(19249);const a=o.ZP;a.Header=o.h4,a.Footer=o.$_,a.Content=o.VY,a.Sider=r.Z,n.Z=a},20640:function(e,n,t){"use strict";var o=t(11742),r={"text/plain":"Text","text/html":"Url",default:"Text"};e.exports=function(e,n){var t,a,c,i,l,u,s=!1;n||(n={}),t=n.debug||!1;try{if(c=o(),i=document.createRange(),l=document.getSelection(),(u=document.createElement("span")).textContent=e,u.ariaHidden="true",u.style.all="unset",u.style.position="fixed",u.style.top=0,u.style.clip="rect(0, 0, 0, 0)",u.style.whiteSpace="pre",u.style.webkitUserSelect="text",u.style.MozUserSelect="text",u.style.msUserSelect="text",u.style.userSelect="text",u.addEventListener("copy",(function(o){if(o.stopPropagation(),n.format)if(o.preventDefault(),void 0===o.clipboardData){t&&console.warn("unable to use e.clipboardData"),t&&console.warn("trying IE specific stuff"),window.clipboardData.clearData();var a=r[n.format]||r.default;window.clipboardData.setData(a,e)}else o.clipboardData.clearData(),o.clipboardData.setData(n.format,e);n.onCopy&&(o.preventDefault(),n.onCopy(o.clipboardData))})),document.body.appendChild(u),i.selectNodeContents(u),l.addRange(i),!document.execCommand("copy"))throw new Error("copy command was unsuccessful");s=!0}catch(o){t&&console.error("unable to copy using execCommand: ",o),t&&console.warn("trying IE specific stuff");try{window.clipboardData.setData(n.format||"text",e),n.onCopy&&n.onCopy(window.clipboardData),s=!0}catch(o){t&&console.error("unable to copy using clipboardData: ",o),t&&console.error("falling back to prompt"),a=function(e){var n=(/mac os x/i.test(navigator.userAgent)?"⌘":"Ctrl")+"+C";return e.replace(/#{\s*key\s*}/g,n)}("message"in n?n.message:"Copy to clipboard: #{key}, Enter"),window.prompt(a,e)}}finally{l&&("function"==typeof l.removeRange?l.removeRange(i):l.removeAllRanges()),u&&document.body.removeChild(u),c()}return s}},74300:function(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.CopyToClipboard=void 0;var o=a(t(67294)),r=a(t(20640));function a(e){return e&&e.__esModule?e:{default:e}}function c(e){return c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},c(e)}function i(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);n&&(o=o.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,o)}return t}function l(e,n){if(null==e)return{};var t,o,r=function(e,n){if(null==e)return{};var t,o,r={},a=Object.keys(e);for(o=0;o<a.length;o++)t=a[o],n.indexOf(t)>=0||(r[t]=e[t]);return r}(e,n);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(o=0;o<a.length;o++)t=a[o],n.indexOf(t)>=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(r[t]=e[t])}return r}function u(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}function s(e,n){for(var t=0;t<n.length;t++){var o=n[t];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function f(e,n){return!n||"object"!==c(n)&&"function"!=typeof n?p(e):n}function d(e){return d=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},d(e)}function p(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function y(e,n){return y=Object.setPrototypeOf||function(e,n){return e.__proto__=n,e},y(e,n)}function m(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}var v=function(e){function n(){var e,t;u(this,n);for(var a=arguments.length,c=new Array(a),i=0;i<a;i++)c[i]=arguments[i];return m(p(t=f(this,(e=d(n)).call.apply(e,[this].concat(c)))),"onClick",(function(e){var n=t.props,a=n.text,c=n.onCopy,i=n.children,l=n.options,u=o.default.Children.only(i),s=(0,r.default)(a,l);c&&c(a,s),u&&u.props&&"function"==typeof u.props.onClick&&u.props.onClick(e)})),t}var t,a,c;return function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(n&&n.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),n&&y(e,n)}(n,e),t=n,a=[{key:"render",value:function(){var e=this.props,n=(e.text,e.onCopy,e.options,e.children),t=l(e,["text","onCopy","options","children"]),r=o.default.Children.only(n);return o.default.cloneElement(r,function(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?i(t,!0).forEach((function(n){m(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):i(t).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}({},t,{onClick:this.onClick}))}}],a&&s(t.prototype,a),c&&s(t,c),n}(o.default.PureComponent);n.CopyToClipboard=v,m(v,"defaultProps",{onCopy:void 0,options:void 0})},74855:function(e,n,t){"use strict";var o=t(74300).CopyToClipboard;o.CopyToClipboard=o,e.exports=o},11742:function(e){e.exports=function(){var e=document.getSelection();if(!e.rangeCount)return function(){};for(var n=document.activeElement,t=[],o=0;o<e.rangeCount;o++)t.push(e.getRangeAt(o));switch(n.tagName.toUpperCase()){case"INPUT":case"TEXTAREA":n.blur();break;default:n=null}return e.removeAllRanges(),function(){"Caret"===e.type&&e.removeAllRanges(),e.rangeCount||t.forEach((function(n){e.addRange(n)})),n&&n.focus()}}}}]); |