static.kuangkie.hydrogen.bundle.5fba8ef7fac92e753aad.js Maven / Gradle / Ivy
The newest version!
(self.webpackChunkhydrogen_react=self.webpackChunkhydrogen_react||[]).push([[5569],{62814:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return j}});var n=y(r(35466)),o=O(r(92703)),c=r(62231),u=O(r(7361)),f=O(r(59432)),i=r(25854),a=r(41905);function l(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}(e,["className","icon","spin","rotate","tabIndex","onClick","twoToneColor"]),P=n.useContext(u.default),g=P.prefixCls,w=void 0===g?"anticon":g,v=P.rootClassName,m=(0,o.default)(v,w,(p(r={},"".concat(w,"-").concat(i.name),!!i.name),p(r,"".concat(w,"-spin"),!!O||"loading"===i.name),r),c),h=y;void 0===h&&s&&(h=-1);var _,M,D,k,S=b?{msTransform:"rotate(".concat(b,"deg)"),transform:"rotate(".concat(b,"deg)")}:void 0,E=(_=(0,a.normalizeTwoToneColors)(j),M=2,function(e){if(Array.isArray(e))return e}(_)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,c=[],u=!0,f=!1;try{for(r=r.call(e);!(u=(n=r.next()).done)&&(c.push(n.value),!t||c.length!==t);u=!0);}catch(e){f=!0,o=e}finally{try{u||null==r.return||r.return()}finally{if(f)throw o}}return c}}(_,M)||function(e,t){if(e){if("string"==typeof e)return l(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(r):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?l(e,t):void 0}}(_,M)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),W=E[0],R=E[1];return n.createElement("span",(D=function(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}(e,["className","component","viewBox","spin","rotate","tabIndex","onClick","children"]),g=n.useRef(),w=(0,c.useComposeRef)(g,t);(0,f.warning)(Boolean(a||d),"Should have `component` prop or `children`."),(0,f.useInsertStyles)(g);var v=n.useContext(u.default),m=v.prefixCls,h=void 0===m?"anticon":m,_=v.rootClassName,M=(0,o.default)(_,h,r),D=(0,o.default)(i({},"".concat(h,"-spin"),!!p)),k=y?{msTransform:"rotate(".concat(y,"deg)"),transform:"rotate(".concat(y,"deg)")}:void 0,S=b(O({},f.svgBaseProps),{className:D,style:k,viewBox:l});l||delete S.viewBox;var E=s;return void 0===E&&j&&(E=-1),n.createElement("span",b(O({role:"img"},P),{ref:w,tabIndex:E,onClick:j,className:M}),a?n.createElement(a,S,d):d?((0,f.warning)(Boolean(l)||1===n.Children.count(d)&&n.isValidElement(d)&&"use"===n.Children.only(d).type,"Make sure that you provide correct `viewBox` prop (default `0 0 1024 1024`) to the icon."),n.createElement("svg",b(O({},S),{viewBox:l}),d)):null)}));y.displayName="AntdIcon";var s=y},59432:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return O}});var n=f(r(35466)),o=r(41905);function c(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function u(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(u=function(e){return e?r:t})(e)}function f(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=u(t);if(r&&r.has(e))return r.get(e);var n={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var c in e)if("default"!==c&&Object.prototype.hasOwnProperty.call(e,c)){var f=o?Object.getOwnPropertyDescriptor(e,c):null;f&&(f.get||f.set)?Object.defineProperty(n,c,f):n[c]=e[c]}return n.default=e,r&&r.set(e,n),n}function i(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}(e,["icon","className","onClick","style","primaryColor","secondaryColor"]),b=n.useRef(),y=l;if(f&&(y={primaryColor:f,secondaryColor:p||(0,o.getSecondaryColor)(f)}),(0,o.useInsertStyles)(b),(0,o.warning)((0,o.isIconDefinition)(t),"icon should be icon definiton, but got ".concat(t)),!(0,o.isIconDefinition)(t))return null;var s=t;return s&&"function"==typeof s.icon&&(s=a(i({},s),{icon:s.icon(y.primaryColor,y.secondaryColor)})),(0,o.generate)(s.icon,"svg-".concat(s.name),a(i({className:r,onClick:c,style:u,"data-icon":s.name,width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true"},O),{ref:b}))};p.displayName="IconReact",p.getTwoToneColors=function(){return i({},l)},p.setTwoToneColors=function(e){var t=e.primaryColor,r=e.secondaryColor;l.primaryColor=t,l.secondaryColor=r||(0,o.getSecondaryColor)(t),l.calculated=!!r};var O=p},77376:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return p}});var n=i(r(35466)),o=u(r(53738));function c(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function u(e){return e&&e.__esModule?e:{default:e}}function f(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(f=function(e){return e?r:t})(e)}function i(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=f(t);if(r&&r.has(e))return r.get(e);var n={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var c in e)if("default"!==c&&Object.prototype.hasOwnProperty.call(e,c)){var u=o?Object.getOwnPropertyDescriptor(e,c):null;u&&(u.get||u.set)?Object.defineProperty(n,c,u):n[c]=e[c]}return n.default=e,r&&r.set(e,n),n}var a=new Set;function l(e){var t,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=e[r];if(t=n,Boolean("string"==typeof t&&t.length&&!a.has(t))){var o=document.createElement("script");o.setAttribute("src",n),o.setAttribute("data-namespace",n),e.length>r+1&&(o.onload=function(){l(e,r+1)},o.onerror=function(){l(e,r+1)}),a.add(n),document.body.appendChild(o)}}function p(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.scriptUrl,r=e.extraCommonProps,u=void 0===r?{}:r;t&&"undefined"!=typeof document&&"undefined"!=typeof window&&"function"==typeof document.createElement&&(Array.isArray(t)?l(t.reverse()):l([t]));var f=n.forwardRef((function(e,t){var r,f,i=e.type,a=e.children,l=function(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},c=Object.keys(e);for(n=0;n=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}(e,["type","children"]),p=null;return e.type&&(p=n.createElement("use",{xlinkHref:"#".concat(i)})),a&&(p=a),n.createElement(o.default,(r=function(e){for(var t=1;te.length)&&(t=e.length);for(var r=0,n=new Array(t);r