import{r as y,g as Z,R as E}from"./react.b0bedc10.js";var T=y.exports.createContext({});function d(){return d=Object.assign?Object.assign.bind():function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var o in t)({}).hasOwnProperty.call(t,o)&&(e[o]=t[o])}return e},d.apply(null,arguments)}function m(e){return m=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},m(e)}function G(e,r){if(m(e)!="object"||!e)return e;var t=e[Symbol.toPrimitive];if(t!==void 0){var o=t.call(e,r||"default");if(m(o)!="object")return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return(r==="string"?String:Number)(e)}function K(e){var r=G(e,"string");return m(r)=="symbol"?r:r+""}function g(e,r,t){return(r=K(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}var X=Object.freeze(Object.defineProperty({__proto__:null,default:g},Symbol.toStringTag,{value:"Module"}));function J(e,r){if(e==null)return{};var t={};for(var o in e)if({}.hasOwnProperty.call(e,o)){if(r.includes(o))continue;t[o]=e[o]}return t}function $(e,r){if(e==null)return{};var t,o,n=J(e,r);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(o=0;o<a.length;o++)t=a[o],r.includes(t)||{}.propertyIsEnumerable.call(e,t)&&(n[t]=e[t])}return n}var j={},N={exports:{}};(function(e){function r(t){return t&&t.__esModule?t:{default:t}}e.exports=r,e.exports.__esModule=!0,e.exports.default=e.exports})(N);var Q=Z(X),B={exports:{}},L={exports:{}};(function(e){function r(t){if(Array.isArray(t))return t}e.exports=r,e.exports.__esModule=!0,e.exports.default=e.exports})(L);var k={exports:{}};(function(e){function r(t,o){var n=t==null?null:typeof Symbol!="undefined"&&t[Symbol.iterator]||t["@@iterator"];if(n!=null){var a,i,u,f,c=[],s=!0,l=!1;try{if(u=(n=n.call(t)).next,o===0){if(Object(n)!==n)return;s=!1}else for(;!(s=(a=u.call(n)).done)&&(c.push(a.value),c.length!==o);s=!0);}catch(p){l=!0,i=p}finally{try{if(!s&&n.return!=null&&(f=n.return(),Object(f)!==f))return}finally{if(l)throw i}}return c}}e.exports=r,e.exports.__esModule=!0,e.exports.default=e.exports})(k);var D={exports:{}},z={exports:{}};(function(e){function r(t,o){(o==null||o>t.length)&&(o=t.length);for(var n=0,a=Array(o);n<o;n++)a[n]=t[n];return a}e.exports=r,e.exports.__esModule=!0,e.exports.default=e.exports})(z);(function(e){var r=z.exports;function t(o,n){if(o){if(typeof o=="string")return r(o,n);var a={}.toString.call(o).slice(8,-1);return a==="Object"&&o.constructor&&(a=o.constructor.name),a==="Map"||a==="Set"?Array.from(o):a==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a)?r(o,n):void 0}}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports})(D);var F={exports:{}};(function(e){function r(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}e.exports=r,e.exports.__esModule=!0,e.exports.default=e.exports})(F);(function(e){var r=L.exports,t=k.exports,o=D.exports,n=F.exports;function a(i,u){return r(i)||t(i,u)||o(i,u)||n()}e.exports=a,e.exports.__esModule=!0,e.exports.default=e.exports})(B);var W={exports:{}};(function(e){function r(t){return e.exports=r=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(o){return typeof o}:function(o){return o&&typeof Symbol=="function"&&o.constructor===Symbol&&o!==Symbol.prototype?"symbol":typeof o},e.exports.__esModule=!0,e.exports.default=e.exports,r(t)}e.exports=r,e.exports.__esModule=!0,e.exports.default=e.exports})(W);var P=N.exports;Object.defineProperty(j,"__esModule",{value:!0});var q=j.createBEM=void 0,Y=P(Q),U=P(B.exports),ee=P(W.exports);function C(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);r&&(o=o.filter(function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable})),t.push.apply(t,o)}return t}function R(e){for(var r=1;r<arguments.length;r++){var t=arguments[r]!=null?arguments[r]:{};r%2?C(Object(t),!0).forEach(function(o){(0,Y.default)(e,o,t[o])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):C(Object(t)).forEach(function(o){Object.defineProperty(e,o,Object.getOwnPropertyDescriptor(t,o))})}return e}var re={prefixCls:"",blockSeparator:"-",elementSeparator:"__",modifierSeparator:"--",modifierValueSeparator:"-"},te=function(r,t){var o=t.elementSeparator,n=t.modifierSeparator,a=t.modifierValueSeparator;return function(i,u){var f;i&&typeof i!="string"&&(u=i,i="");var c=i?r+o+i:r,s=[c];return(f=u)===null||f===void 0||f.forEach(function(l){var p=(0,ee.default)(l);switch(p){case"string":s.push(l);break;case"object":Object.entries(l||{}).forEach(function(S){var x=(0,U.default)(S,2),_=x[0],v=x[1];v===!0?s.push(c+n+_):v&&s.push(c+n+_+a+v)});break}}),s.join(" ")}},oe=function(r,t){t=R(R({},re),t);var o=t,n=o.prefixCls,a=o.blockSeparator,i=n?n+a+r:r;return te(i,t)};q=j.createBEM=oe;var h=function(){return h=Object.assign||function(r){for(var t,o=1,n=arguments.length;o<n;o++){t=arguments[o];for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&(r[a]=t[a])}return r},h.apply(this,arguments)};function ne(e){return e.toLowerCase()}var ae=[/([a-z0-9])([A-Z])/g,/([A-Z])([A-Z][a-z])/g],ie=/[^A-Z0-9]+/gi;function se(e,r){r===void 0&&(r={});for(var t=r.splitRegexp,o=t===void 0?ae:t,n=r.stripRegexp,a=n===void 0?ie:n,i=r.transform,u=i===void 0?ne:i,f=r.delimiter,c=f===void 0?" ":f,s=I(I(e,o,"$1\0$2"),a,"\0"),l=0,p=s.length;s.charAt(l)==="\0";)l++;for(;s.charAt(p-1)==="\0";)p--;return s.slice(l,p).split("\0").map(u).join(c)}function I(e,r,t){return r instanceof RegExp?e.replace(r,t):r.reduce(function(o,n){return o.replace(n,t)},e)}function ue(e,r){return r===void 0&&(r={}),se(e,h({delimiter:"."},r))}function fe(e,r){return r===void 0&&(r={}),ue(e,h({delimiter:"-"},r))}var M=new Set;function ce(e){if(typeof document!="undefined"&&typeof window!="undefined"&&typeof document.createElement=="function"&&typeof e=="string"&&e.length&&!M.has(e)){var r=document.createElement("script");r.setAttribute("src",e),r.setAttribute("data-namespace",e),M.add(e),document.body.appendChild(r)}var t=E.forwardRef(function(o,n){var a=o.type,i=$(o,["type"]),u;a&&(u=E.createElement("use",{xlinkHref:"#".concat(a)}));var f=b.default?b.default:b;return E.createElement(f,d({},i,{ref:n}),u)});return t}var b=y.exports.forwardRef(function(e,r){var t,o=e.className,n=e.theme,a=e.size,i=e.children,u=e.component,f=e.viewBox,c=e.mode,s=e.name,l=s===void 0?"":s,p=$(e,["className","theme","size","children","component","viewBox","mode","name"]),S=y.exports.useContext(T),x=S.prefixCls,_=x===void 0?"za":x,v=q("icon",{prefixCls:_}),H=fe(l).replace("svg-",""),V=v(H),w=c==="auto"&&typeof SVGRect=="undefined"&&typeof window!="undefined"||c==="font",O=v([(t={},g(t,"".concat(n),!!n),g(t,"".concat(a),!!a),g(t,"font",w),t),o,w&&V]),A={width:"1em",height:"1em",fill:"currentColor",viewBox:f};return w?y.exports.createElement("i",d({ref:r,className:O},p)):u?y.exports.createElement("i",d({ref:r,className:O},p),y.exports.createElement(u,A,i)):i?y.exports.createElement("i",d({ref:r,className:O},p),y.exports.createElement("svg",A,i)):null});b.createFromIconfont=ce;b.displayName="Icon";b.defaultProps={viewBox:"0 0 1000 1000",mode:"auto"};T.Provider;export{b as I,g as _};
