UNPKG

geostyler

Version:
25 lines 2.82 MB
var GeoStyler=function($t,O,io){"use strict";var F6e=Object.defineProperty;var w6e=($t,O,io)=>O in $t?F6e($t,O,{enumerable:!0,configurable:!0,writable:!0,value:io}):$t[O]=io;var Wt=($t,O,io)=>w6e($t,typeof O!="symbol"?O+"":O,io);function jP(t){const e=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(t){for(const n in t)if(n!=="default"){const r=Object.getOwnPropertyDescriptor(t,n);Object.defineProperty(e,n,r.get?r:{enumerable:!0,get:()=>t[n]})}}return e.default=t,Object.freeze(e)}const y=jP(O),IK=jP(io);var Ss=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Ws(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var LS={exports:{}},Cg={};/** * @license React * react-jsx-runtime.production.js * * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */var EP;function OK(){if(EP)return Cg;EP=1;var t=Symbol.for("react.transitional.element"),e=Symbol.for("react.fragment");function n(r,o,i){var s=null;if(i!==void 0&&(s=""+i),o.key!==void 0&&(s=""+o.key),"key"in o){i={};for(var l in o)l!=="key"&&(i[l]=o[l])}else i=o;return o=i.ref,{$$typeof:t,type:r,key:s,ref:o!==void 0?o:null,props:i}}return Cg.Fragment=e,Cg.jsx=n,Cg.jsxs=n,Cg}var _P;function TK(){return _P||(_P=1,LS.exports=OK()),LS.exports}var L=TK(),NS={exports:{}};/*! Copyright (c) 2018 Jed Watson. Licensed under the MIT License (MIT), see http://jedwatson.github.io/classnames */var IP;function MK(){return IP||(IP=1,function(t){(function(){var e={}.hasOwnProperty;function n(){for(var i="",s=0;s<arguments.length;s++){var l=arguments[s];l&&(i=o(i,r(l)))}return i}function r(i){if(typeof i=="string"||typeof i=="number")return i;if(typeof i!="object")return"";if(Array.isArray(i))return n.apply(null,i);if(i.toString!==Object.prototype.toString&&!i.toString.toString().includes("[native code]"))return i.toString();var s="";for(var l in i)e.call(i,l)&&i[l]&&(s=o(s,l));return s}function o(i,s){return s?i?i+" "+s:i+s:i}t.exports?(n.default=n,t.exports=n):window.classNames=n})()}(NS)),NS.exports}var PK=MK();const $e=Ws(PK);function We(){return We=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)({}).hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},We.apply(null,arguments)}function kt(t){"@babel/helpers - typeof";return kt=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},kt(t)}var LK=Symbol.for("react.element"),NK=Symbol.for("react.transitional.element"),AK=Symbol.for("react.fragment");function OP(t){return t&&kt(t)==="object"&&(t.$$typeof===LK||t.$$typeof===NK)&&t.type===AK}function po(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=[];return O.Children.forEach(t,function(r){r==null&&!e.keepEmpty||(Array.isArray(r)?n=n.concat(po(r)):OP(r)&&r.props?n=n.concat(po(r.props.children,e)):n.push(r))}),n}var AS={},RK=function(e){};function DK(t,e){}function kK(t,e){}function zK(){AS={}}function TP(t,e,n){!e&&!AS[n]&&(t(!1,n),AS[n]=!0)}function Br(t,e){TP(DK,t,e)}function BK(t,e){TP(kK,t,e)}Br.preMessage=RK,Br.resetWarned=zK,Br.noteOnce=BK;function GK(t,e){if(kt(t)!="object"||!t)return t;var n=t[Symbol.toPrimitive];if(n!==void 0){var r=n.call(t,e);if(kt(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}function MP(t){var e=GK(t,"string");return kt(e)=="symbol"?e:e+""}function le(t,e,n){return(e=MP(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function PP(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(t,o).enumerable})),n.push.apply(n,r)}return n}function pe(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{};e%2?PP(Object(n),!0).forEach(function(r){le(t,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):PP(Object(n)).forEach(function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(n,r))})}return t}function Sg(t){return t instanceof HTMLElement||t instanceof SVGElement}function xg(t){return t&&kt(t)==="object"&&Sg(t.nativeElement)?t.nativeElement:Sg(t)?t:null}function Gv(t){var e=xg(t);if(e)return e;if(t instanceof O.Component){var n;return(n=io.findDOMNode)===null||n===void 0?void 0:n.call(io,t)}return null}var RS={exports:{}},Pr={};/** * @license React * react-is.production.min.js * * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */var LP;function HK(){if(LP)return Pr;LP=1;var t=Symbol.for("react.element"),e=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),r=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),i=Symbol.for("react.provider"),s=Symbol.for("react.context"),l=Symbol.for("react.server_context"),a=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),u=Symbol.for("react.suspense_list"),f=Symbol.for("react.memo"),d=Symbol.for("react.lazy"),h=Symbol.for("react.offscreen"),g;g=Symbol.for("react.module.reference");function m(p){if(typeof p=="object"&&p!==null){var b=p.$$typeof;switch(b){case t:switch(p=p.type,p){case n:case o:case r:case c:case u:return p;default:switch(p=p&&p.$$typeof,p){case l:case s:case a:case d:case f:case i:return p;default:return b}}case e:return b}}}return Pr.ContextConsumer=s,Pr.ContextProvider=i,Pr.Element=t,Pr.ForwardRef=a,Pr.Fragment=n,Pr.Lazy=d,Pr.Memo=f,Pr.Portal=e,Pr.Profiler=o,Pr.StrictMode=r,Pr.Suspense=c,Pr.SuspenseList=u,Pr.isAsyncMode=function(){return!1},Pr.isConcurrentMode=function(){return!1},Pr.isContextConsumer=function(p){return m(p)===s},Pr.isContextProvider=function(p){return m(p)===i},Pr.isElement=function(p){return typeof p=="object"&&p!==null&&p.$$typeof===t},Pr.isForwardRef=function(p){return m(p)===a},Pr.isFragment=function(p){return m(p)===n},Pr.isLazy=function(p){return m(p)===d},Pr.isMemo=function(p){return m(p)===f},Pr.isPortal=function(p){return m(p)===e},Pr.isProfiler=function(p){return m(p)===o},Pr.isStrictMode=function(p){return m(p)===r},Pr.isSuspense=function(p){return m(p)===c},Pr.isSuspenseList=function(p){return m(p)===u},Pr.isValidElementType=function(p){return typeof p=="string"||typeof p=="function"||p===n||p===o||p===r||p===c||p===u||p===h||typeof p=="object"&&p!==null&&(p.$$typeof===d||p.$$typeof===f||p.$$typeof===i||p.$$typeof===s||p.$$typeof===a||p.$$typeof===g||p.getModuleId!==void 0)},Pr.typeOf=m,Pr}var NP;function qK(){return NP||(NP=1,RS.exports=HK()),RS.exports}var DS=qK();function Mu(t,e,n){var r=y.useRef({});return(!("value"in r.current)||n(r.current.condition,e))&&(r.current.value=t(),r.current.condition=e),r.current.value}var WK=Number(O.version.split(".")[0]),Fg=function(e,n){typeof e=="function"?e(n):kt(e)==="object"&&e&&"current"in e&&(e.current=n)},mo=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];var o=n.filter(Boolean);return o.length<=1?o[0]:function(i){n.forEach(function(s){Fg(s,i)})}},Aa=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return Mu(function(){return mo.apply(void 0,n)},n,function(o,i){return o.length!==i.length||o.every(function(s,l){return s!==i[l]})})},$l=function(e){var n,r;if(!e)return!1;if(kS(e)&&WK>=19)return!0;var o=DS.isMemo(e)?e.type.type:e.type;return!(typeof o=="function"&&!((n=o.prototype)!==null&&n!==void 0&&n.render)&&o.$$typeof!==DS.ForwardRef||typeof e=="function"&&!((r=e.prototype)!==null&&r!==void 0&&r.render)&&e.$$typeof!==DS.ForwardRef)};function kS(t){return O.isValidElement(t)&&!OP(t)}var VK=function(e){return kS(e)&&$l(e)},Fc=function(e){if(e&&kS(e)){var n=e;return n.props.propertyIsEnumerable("ref")?n.props.ref:n.ref}return null},zS=y.createContext(null);function UK(t){var e=t.children,n=t.onBatchResize,r=y.useRef(0),o=y.useRef([]),i=y.useContext(zS),s=y.useCallback(function(l,a,c){r.current+=1;var u=r.current;o.current.push({size:l,element:a,data:c}),Promise.resolve().then(function(){u===r.current&&(n==null||n(o.current),o.current=[])}),i==null||i(l,a,c)},[n,i]);return y.createElement(zS.Provider,{value:s},e)}var AP=function(){if(typeof Map<"u")return Map;function t(e,n){var r=-1;return e.some(function(o,i){return o[0]===n?(r=i,!0):!1}),r}return function(){function e(){this.__entries__=[]}return Object.defineProperty(e.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),e.prototype.get=function(n){var r=t(this.__entries__,n),o=this.__entries__[r];return o&&o[1]},e.prototype.set=function(n,r){var o=t(this.__entries__,n);~o?this.__entries__[o][1]=r:this.__entries__.push([n,r])},e.prototype.delete=function(n){var r=this.__entries__,o=t(r,n);~o&&r.splice(o,1)},e.prototype.has=function(n){return!!~t(this.__entries__,n)},e.prototype.clear=function(){this.__entries__.splice(0)},e.prototype.forEach=function(n,r){r===void 0&&(r=null);for(var o=0,i=this.__entries__;o<i.length;o++){var s=i[o];n.call(r,s[1],s[0])}},e}()}(),BS=typeof window<"u"&&typeof document<"u"&&window.document===document,Hv=function(){return typeof global<"u"&&global.Math===Math?global:typeof self<"u"&&self.Math===Math?self:typeof window<"u"&&window.Math===Math?window:Function("return this")()}(),KK=function(){return typeof requestAnimationFrame=="function"?requestAnimationFrame.bind(Hv):function(t){return setTimeout(function(){return t(Date.now())},1e3/60)}}(),XK=2;function YK(t,e){var n=!1,r=!1,o=0;function i(){n&&(n=!1,t()),r&&l()}function s(){KK(i)}function l(){var a=Date.now();if(n){if(a-o<XK)return;r=!0}else n=!0,r=!1,setTimeout(s,e);o=a}return l}var ZK=20,QK=["top","right","bottom","left","width","height","size","weight"],JK=typeof MutationObserver<"u",eX=function(){function t(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=YK(this.refresh.bind(this),ZK)}return t.prototype.addObserver=function(e){~this.observers_.indexOf(e)||this.observers_.push(e),this.connected_||this.connect_()},t.prototype.removeObserver=function(e){var n=this.observers_,r=n.indexOf(e);~r&&n.splice(r,1),!n.length&&this.connected_&&this.disconnect_()},t.prototype.refresh=function(){var e=this.updateObservers_();e&&this.refresh()},t.prototype.updateObservers_=function(){var e=this.observers_.filter(function(n){return n.gatherActive(),n.hasActive()});return e.forEach(function(n){return n.broadcastActive()}),e.length>0},t.prototype.connect_=function(){!BS||this.connected_||(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),JK?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},t.prototype.disconnect_=function(){!BS||!this.connected_||(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},t.prototype.onTransitionEnd_=function(e){var n=e.propertyName,r=n===void 0?"":n,o=QK.some(function(i){return!!~r.indexOf(i)});o&&this.refresh()},t.getInstance=function(){return this.instance_||(this.instance_=new t),this.instance_},t.instance_=null,t}(),RP=function(t,e){for(var n=0,r=Object.keys(e);n<r.length;n++){var o=r[n];Object.defineProperty(t,o,{value:e[o],enumerable:!1,writable:!1,configurable:!0})}return t},id=function(t){var e=t&&t.ownerDocument&&t.ownerDocument.defaultView;return e||Hv},DP=Wv(0,0,0,0);function qv(t){return parseFloat(t)||0}function kP(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];return e.reduce(function(r,o){var i=t["border-"+o+"-width"];return r+qv(i)},0)}function tX(t){for(var e=["top","right","bottom","left"],n={},r=0,o=e;r<o.length;r++){var i=o[r],s=t["padding-"+i];n[i]=qv(s)}return n}function nX(t){var e=t.getBBox();return Wv(0,0,e.width,e.height)}function rX(t){var e=t.clientWidth,n=t.clientHeight;if(!e&&!n)return DP;var r=id(t).getComputedStyle(t),o=tX(r),i=o.left+o.right,s=o.top+o.bottom,l=qv(r.width),a=qv(r.height);if(r.boxSizing==="border-box"&&(Math.round(l+i)!==e&&(l-=kP(r,"left","right")+i),Math.round(a+s)!==n&&(a-=kP(r,"top","bottom")+s)),!iX(t)){var c=Math.round(l+i)-e,u=Math.round(a+s)-n;Math.abs(c)!==1&&(l-=c),Math.abs(u)!==1&&(a-=u)}return Wv(o.left,o.top,l,a)}var oX=function(){return typeof SVGGraphicsElement<"u"?function(t){return t instanceof id(t).SVGGraphicsElement}:function(t){return t instanceof id(t).SVGElement&&typeof t.getBBox=="function"}}();function iX(t){return t===id(t).document.documentElement}function sX(t){return BS?oX(t)?nX(t):rX(t):DP}function lX(t){var e=t.x,n=t.y,r=t.width,o=t.height,i=typeof DOMRectReadOnly<"u"?DOMRectReadOnly:Object,s=Object.create(i.prototype);return RP(s,{x:e,y:n,width:r,height:o,top:n,right:e+r,bottom:o+n,left:e}),s}function Wv(t,e,n,r){return{x:t,y:e,width:n,height:r}}var aX=function(){function t(e){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=Wv(0,0,0,0),this.target=e}return t.prototype.isActive=function(){var e=sX(this.target);return this.contentRect_=e,e.width!==this.broadcastWidth||e.height!==this.broadcastHeight},t.prototype.broadcastRect=function(){var e=this.contentRect_;return this.broadcastWidth=e.width,this.broadcastHeight=e.height,e},t}(),cX=function(){function t(e,n){var r=lX(n);RP(this,{target:e,contentRect:r})}return t}(),uX=function(){function t(e,n,r){if(this.activeObservations_=[],this.observations_=new AP,typeof e!="function")throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=e,this.controller_=n,this.callbackCtx_=r}return t.prototype.observe=function(e){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if(!(typeof Element>"u"||!(Element instanceof Object))){if(!(e instanceof id(e).Element))throw new TypeError('parameter 1 is not of type "Element".');var n=this.observations_;n.has(e)||(n.set(e,new aX(e)),this.controller_.addObserver(this),this.controller_.refresh())}},t.prototype.unobserve=function(e){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if(!(typeof Element>"u"||!(Element instanceof Object))){if(!(e instanceof id(e).Element))throw new TypeError('parameter 1 is not of type "Element".');var n=this.observations_;n.has(e)&&(n.delete(e),n.size||this.controller_.removeObserver(this))}},t.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},t.prototype.gatherActive=function(){var e=this;this.clearActive(),this.observations_.forEach(function(n){n.isActive()&&e.activeObservations_.push(n)})},t.prototype.broadcastActive=function(){if(this.hasActive()){var e=this.callbackCtx_,n=this.activeObservations_.map(function(r){return new cX(r.target,r.broadcastRect())});this.callback_.call(e,n,e),this.clearActive()}},t.prototype.clearActive=function(){this.activeObservations_.splice(0)},t.prototype.hasActive=function(){return this.activeObservations_.length>0},t}(),zP=typeof WeakMap<"u"?new WeakMap:new AP,BP=function(){function t(e){if(!(this instanceof t))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var n=eX.getInstance(),r=new uX(e,n,this);zP.set(this,r)}return t}();["observe","unobserve","disconnect"].forEach(function(t){BP.prototype[t]=function(){var e;return(e=zP.get(this))[t].apply(e,arguments)}});var fX=function(){return typeof Hv.ResizeObserver<"u"?Hv.ResizeObserver:BP}(),wc=new Map;function dX(t){t.forEach(function(e){var n,r=e.target;(n=wc.get(r))===null||n===void 0||n.forEach(function(o){return o(r)})})}var GP=new fX(dX);function hX(t,e){wc.has(t)||(wc.set(t,new Set),GP.observe(t)),wc.get(t).add(e)}function gX(t,e){wc.has(t)&&(wc.get(t).delete(e),wc.get(t).size||(GP.unobserve(t),wc.delete(t)))}function Zr(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function HP(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,MP(r.key),r)}}function Qr(t,e,n){return e&&HP(t.prototype,e),n&&HP(t,n),Object.defineProperty(t,"prototype",{writable:!1}),t}function wg(t,e){return wg=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,r){return n.__proto__=r,n},wg(t,e)}function xs(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&wg(t,e)}function Pu(t){return Pu=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Pu(t)}function Vv(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(Vv=function(){return!!t})()}function Nt(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function qP(t,e){if(e&&(kt(e)=="object"||typeof e=="function"))return e;if(e!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return Nt(t)}function Vs(t){var e=Vv();return function(){var n,r=Pu(t);if(e){var o=Pu(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return qP(this,n)}}var yX=function(t){xs(n,t);var e=Vs(n);function n(){return Zr(this,n),e.apply(this,arguments)}return Qr(n,[{key:"render",value:function(){return this.props.children}}]),n}(y.Component);function pX(t,e){var n=t.children,r=t.disabled,o=y.useRef(null),i=y.useRef(null),s=y.useContext(zS),l=typeof n=="function",a=l?n(o):n,c=y.useRef({width:-1,height:-1,offsetWidth:-1,offsetHeight:-1}),u=!l&&y.isValidElement(a)&&$l(a),f=u?Fc(a):null,d=Aa(f,o),h=function(){var b;return Gv(o.current)||(o.current&&kt(o.current)==="object"?Gv((b=o.current)===null||b===void 0?void 0:b.nativeElement):null)||Gv(i.current)};y.useImperativeHandle(e,function(){return h()});var g=y.useRef(t);g.current=t;var m=y.useCallback(function(p){var b=g.current,$=b.onResize,C=b.data,S=p.getBoundingClientRect(),F=S.width,j=S.height,E=p.offsetWidth,_=p.offsetHeight,w=Math.floor(F),I=Math.floor(j);if(c.current.width!==w||c.current.height!==I||c.current.offsetWidth!==E||c.current.offsetHeight!==_){var M={width:w,height:I,offsetWidth:E,offsetHeight:_};c.current=M;var P=E===Math.round(F)?F:E,z=_===Math.round(j)?j:_,N=pe(pe({},M),{},{offsetWidth:P,offsetHeight:z});s==null||s(N,p,C),$&&Promise.resolve().then(function(){$(N,p)})}},[]);return y.useEffect(function(){var p=h();return p&&!r&&hX(p,m),function(){return gX(p,m)}},[o.current,r]),y.createElement(yX,{ref:i},u?y.cloneElement(a,{ref:d}):a)}var mX=y.forwardRef(pX),vX="rc-observer-key";function bX(t,e){var n=t.children,r=typeof n=="function"?[n]:po(n);return r.map(function(o,i){var s=(o==null?void 0:o.key)||"".concat(vX,"-").concat(i);return y.createElement(mX,We({},t,{key:s,ref:i===0?e:void 0}),o)})}var _i=y.forwardRef(bX);_i.Collection=UK;function GS(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,r=Array(e);n<e;n++)r[n]=t[n];return r}function $X(t){if(Array.isArray(t))return GS(t)}function WP(t){if(typeof Symbol<"u"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function HS(t,e){if(t){if(typeof t=="string")return GS(t,e);var n={}.toString.call(t).slice(8,-1);return n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set"?Array.from(t):n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?GS(t,e):void 0}}function CX(){throw new TypeError(`Invalid attempt to spread non-iterable instance. In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Ke(t){return $X(t)||WP(t)||HS(t)||CX()}var VP=function(e){return+setTimeout(e,16)},UP=function(e){return clearTimeout(e)};typeof window<"u"&&"requestAnimationFrame"in window&&(VP=function(e){return window.requestAnimationFrame(e)},UP=function(e){return window.cancelAnimationFrame(e)});var KP=0,qS=new Map;function XP(t){qS.delete(t)}var An=function(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;KP+=1;var r=KP;function o(i){if(i===0)XP(r),e();else{var s=VP(function(){o(i-1)});qS.set(r,s)}}return o(n),r};An.cancel=function(t){var e=qS.get(t);return XP(t),UP(e)};function YP(t){if(Array.isArray(t))return t}function SX(t,e){var n=t==null?null:typeof Symbol<"u"&&t[Symbol.iterator]||t["@@iterator"];if(n!=null){var r,o,i,s,l=[],a=!0,c=!1;try{if(i=(n=n.call(t)).next,e===0){if(Object(n)!==n)return;a=!1}else for(;!(a=(r=i.call(n)).done)&&(l.push(r.value),l.length!==e);a=!0);}catch(u){c=!0,o=u}finally{try{if(!a&&n.return!=null&&(s=n.return(),Object(s)!==s))return}finally{if(c)throw o}}return l}}function ZP(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Te(t,e){return YP(t)||SX(t,e)||HS(t,e)||ZP()}function jg(t){for(var e=0,n,r=0,o=t.length;o>=4;++r,o-=4)n=t.charCodeAt(r)&255|(t.charCodeAt(++r)&255)<<8|(t.charCodeAt(++r)&255)<<16|(t.charCodeAt(++r)&255)<<24,n=(n&65535)*1540483477+((n>>>16)*59797<<16),n^=n>>>24,e=(n&65535)*1540483477+((n>>>16)*59797<<16)^(e&65535)*1540483477+((e>>>16)*59797<<16);switch(o){case 3:e^=(t.charCodeAt(r+2)&255)<<16;case 2:e^=(t.charCodeAt(r+1)&255)<<8;case 1:e^=t.charCodeAt(r)&255,e=(e&65535)*1540483477+((e>>>16)*59797<<16)}return e^=e>>>13,e=(e&65535)*1540483477+((e>>>16)*59797<<16),((e^e>>>15)>>>0).toString(36)}function ii(){return!!(typeof window<"u"&&window.document&&window.document.createElement)}function WS(t,e){if(!t)return!1;if(t.contains)return t.contains(e);for(var n=e;n;){if(n===t)return!0;n=n.parentNode}return!1}var QP="data-rc-order",JP="data-rc-priority",xX="rc-util-key",VS=new Map;function eL(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},e=t.mark;return e?e.startsWith("data-")?e:"data-".concat(e):xX}function Uv(t){if(t.attachTo)return t.attachTo;var e=document.querySelector("head");return e||document.body}function FX(t){return t==="queue"?"prependQueue":t?"prepend":"append"}function US(t){return Array.from((VS.get(t)||t).children).filter(function(e){return e.tagName==="STYLE"})}function tL(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!ii())return null;var n=e.csp,r=e.prepend,o=e.priority,i=o===void 0?0:o,s=FX(r),l=s==="prependQueue",a=document.createElement("style");a.setAttribute(QP,s),l&&i&&a.setAttribute(JP,"".concat(i)),n!=null&&n.nonce&&(a.nonce=n==null?void 0:n.nonce),a.innerHTML=t;var c=Uv(e),u=c.firstChild;if(r){if(l){var f=(e.styles||US(c)).filter(function(d){if(!["prepend","prependQueue"].includes(d.getAttribute(QP)))return!1;var h=Number(d.getAttribute(JP)||0);return i>=h});if(f.length)return c.insertBefore(a,f[f.length-1].nextSibling),a}c.insertBefore(a,u)}else c.appendChild(a);return a}function nL(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=Uv(e);return(e.styles||US(n)).find(function(r){return r.getAttribute(eL(e))===t})}function Eg(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=nL(t,e);if(n){var r=Uv(e);r.removeChild(n)}}function wX(t,e){var n=VS.get(t);if(!n||!WS(document,n)){var r=tL("",e),o=r.parentNode;VS.set(t,o),t.removeChild(r)}}function Ra(t,e){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},r=Uv(n),o=US(r),i=pe(pe({},n),{},{styles:o});wX(r,i);var s=nL(e,i);if(s){var l,a;if((l=i.csp)!==null&&l!==void 0&&l.nonce&&s.nonce!==((a=i.csp)===null||a===void 0?void 0:a.nonce)){var c;s.nonce=(c=i.csp)===null||c===void 0?void 0:c.nonce}return s.innerHTML!==t&&(s.innerHTML=t),s}var u=tL(t,i);return u.setAttribute(eL(i),e),u}function jX(t,e){if(t==null)return{};var n={};for(var r in t)if({}.hasOwnProperty.call(t,r)){if(e.indexOf(r)!==-1)continue;n[r]=t[r]}return n}function en(t,e){if(t==null)return{};var n,r,o=jX(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(r=0;r<i.length;r++)n=i[r],e.indexOf(n)===-1&&{}.propertyIsEnumerable.call(t,n)&&(o[n]=t[n])}return o}function Cl(t,e){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,r=new Set;function o(i,s){var l=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1,a=r.has(i);if(Br(!a,"Warning: There may be circular references"),a)return!1;if(i===s)return!0;if(n&&l>1)return!1;r.add(i);var c=l+1;if(Array.isArray(i)){if(!Array.isArray(s)||i.length!==s.length)return!1;for(var u=0;u<i.length;u++)if(!o(i[u],s[u],c))return!1;return!0}if(i&&s&&kt(i)==="object"&&kt(s)==="object"){var f=Object.keys(i);return f.length!==Object.keys(s).length?!1:f.every(function(d){return o(i[d],s[d],c)})}return!1}return o(t,e)}var EX="%";function KS(t){return t.join(EX)}var _X=function(){function t(e){Zr(this,t),le(this,"instanceId",void 0),le(this,"cache",new Map),this.instanceId=e}return Qr(t,[{key:"get",value:function(n){return this.opGet(KS(n))}},{key:"opGet",value:function(n){return this.cache.get(n)||null}},{key:"update",value:function(n,r){return this.opUpdate(KS(n),r)}},{key:"opUpdate",value:function(n,r){var o=this.cache.get(n),i=r(o);i===null?this.cache.delete(n):this.cache.set(n,i)}}]),t}(),sd="data-token-hash",Sl="data-css-hash",jc="__cssinjs_instance__";function IX(){var t=Math.random().toString(12).slice(2);if(typeof document<"u"&&document.head&&document.body){var e=document.body.querySelectorAll("style[".concat(Sl,"]"))||[],n=document.head.firstChild;Array.from(e).forEach(function(o){o[jc]=o[jc]||t,o[jc]===t&&document.head.insertBefore(o,n)});var r={};Array.from(document.querySelectorAll("style[".concat(Sl,"]"))).forEach(function(o){var i=o.getAttribute(Sl);if(r[i]){if(o[jc]===t){var s;(s=o.parentNode)===null||s===void 0||s.removeChild(o)}}else r[i]=!0})}return new _X(t)}var _g=y.createContext({hashPriority:"low",cache:IX(),defaultCache:!0});function OX(t,e){if(t.length!==e.length)return!1;for(var n=0;n<t.length;n++)if(t[n]!==e[n])return!1;return!0}var XS=function(){function t(){Zr(this,t),le(this,"cache",void 0),le(this,"keys",void 0),le(this,"cacheCallTimes",void 0),this.cache=new Map,this.keys=[],this.cacheCallTimes=0}return Qr(t,[{key:"size",value:function(){return this.keys.length}},{key:"internalGet",value:function(n){var r,o,i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,s={map:this.cache};return n.forEach(function(l){if(!s)s=void 0;else{var a;s=(a=s)===null||a===void 0||(a=a.map)===null||a===void 0?void 0:a.get(l)}}),(r=s)!==null&&r!==void 0&&r.value&&i&&(s.value[1]=this.cacheCallTimes++),(o=s)===null||o===void 0?void 0:o.value}},{key:"get",value:function(n){var r;return(r=this.internalGet(n,!0))===null||r===void 0?void 0:r[0]}},{key:"has",value:function(n){return!!this.internalGet(n)}},{key:"set",value:function(n,r){var o=this;if(!this.has(n)){if(this.size()+1>t.MAX_CACHE_SIZE+t.MAX_CACHE_OFFSET){var i=this.keys.reduce(function(c,u){var f=Te(c,2),d=f[1];return o.internalGet(u)[1]<d?[u,o.internalGet(u)[1]]:c},[this.keys[0],this.cacheCallTimes]),s=Te(i,1),l=s[0];this.delete(l)}this.keys.push(n)}var a=this.cache;n.forEach(function(c,u){if(u===n.length-1)a.set(c,{value:[r,o.cacheCallTimes++]});else{var f=a.get(c);f?f.map||(f.map=new Map):a.set(c,{map:new Map}),a=a.get(c).map}})}},{key:"deleteByPath",value:function(n,r){var o=n.get(r[0]);if(r.length===1){var i;return o.map?n.set(r[0],{map:o.map}):n.delete(r[0]),(i=o.value)===null||i===void 0?void 0:i[0]}var s=this.deleteByPath(o.map,r.slice(1));return(!o.map||o.map.size===0)&&!o.value&&n.delete(r[0]),s}},{key:"delete",value:function(n){if(this.has(n))return this.keys=this.keys.filter(function(r){return!OX(r,n)}),this.deleteByPath(this.cache,n)}}]),t}();le(XS,"MAX_CACHE_SIZE",20),le(XS,"MAX_CACHE_OFFSET",5);var rL=0,oL=function(){function t(e){Zr(this,t),le(this,"derivatives",void 0),le(this,"id",void 0),this.derivatives=Array.isArray(e)?e:[e],this.id=rL,e.length===0&&(e.length>0,void 0),rL+=1}return Qr(t,[{key:"getDerivativeToken",value:function(n){return this.derivatives.reduce(function(r,o){return o(n,r)},void 0)}}]),t}(),YS=new XS;function ZS(t){var e=Array.isArray(t)?t:[t];return YS.has(e)||YS.set(e,new oL(e)),YS.get(e)}var TX=new WeakMap,QS={};function MX(t,e){for(var n=TX,r=0;r<e.length;r+=1){var o=e[r];n.has(o)||n.set(o,new WeakMap),n=n.get(o)}return n.has(QS)||n.set(QS,t()),n.get(QS)}var iL=new WeakMap;function Ig(t){var e=iL.get(t)||"";return e||(Object.keys(t).forEach(function(n){var r=t[n];e+=n,r instanceof oL?e+=r.id:r&&kt(r)==="object"?e+=Ig(r):e+=r}),e=jg(e),iL.set(t,e)),e}function sL(t,e){return jg("".concat(e,"_").concat(Ig(t)))}var JS=ii();function ge(t){return typeof t=="number"?"".concat(t,"px"):t}function Kv(t,e,n){var r,o=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},i=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!1;if(i)return t;var s=pe(pe({},o),{},(r={},le(r,sd,e),le(r,Sl,n),r)),l=Object.keys(s).map(function(a){var c=s[a];return c?"".concat(a,'="').concat(c,'"'):null}).filter(function(a){return a}).join(" ");return"<style ".concat(l,">").concat(t,"</style>")}var Xv=function(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";return"--".concat(n?"".concat(n,"-"):"").concat(e).replace(/([a-z0-9])([A-Z])/g,"$1-$2").replace(/([A-Z]+)([A-Z][a-z0-9]+)/g,"$1-$2").replace(/([a-z])([A-Z0-9])/g,"$1-$2").toLowerCase()},PX=function(e,n,r){return Object.keys(e).length?".".concat(n).concat(r!=null&&r.scope?".".concat(r.scope):"","{").concat(Object.entries(e).map(function(o){var i=Te(o,2),s=i[0],l=i[1];return"".concat(s,":").concat(l,";")}).join(""),"}"):""},lL=function(e,n,r){var o={},i={};return Object.entries(e).forEach(function(s){var l,a,c=Te(s,2),u=c[0],f=c[1];if(r!=null&&(l=r.preserve)!==null&&l!==void 0&&l[u])i[u]=f;else if((typeof f=="string"||typeof f=="number")&&!(r!=null&&(a=r.ignore)!==null&&a!==void 0&&a[u])){var d,h=Xv(u,r==null?void 0:r.prefix);o[h]=typeof f=="number"&&!(r!=null&&(d=r.unitless)!==null&&d!==void 0&&d[u])?"".concat(f,"px"):String(f),i[u]="var(".concat(h,")")}}),[i,PX(o,n,{scope:r==null?void 0:r.scope})]},aL=ii()?y.useLayoutEffect:y.useEffect,Rn=function(e,n){var r=y.useRef(!0);aL(function(){return e(r.current)},n),aL(function(){return r.current=!1,function(){r.current=!0}},[])},ld=function(e,n){Rn(function(r){if(!r)return e()},n)},LX=pe({},y),cL=LX.useInsertionEffect,NX=function(e,n,r){y.useMemo(e,r),Rn(function(){return n(!0)},r)},AX=cL?function(t,e,n){return cL(function(){return t(),e()},n)}:NX,RX=pe({},y),DX=RX.useInsertionEffect,kX=function(e){var n=[],r=!1;function o(i){r||n.push(i)}return y.useEffect(function(){return r=!1,function(){r=!0,n.length&&n.forEach(function(i){return i()})}},e),o},zX=function(){return function(e){e()}},BX=typeof DX<"u"?kX:zX;function ex(t,e,n,r,o){var i=y.useContext(_g),s=i.cache,l=[t].concat(Ke(e)),a=KS(l),c=BX([a]),u=function(g){s.opUpdate(a,function(m){var p=m||[void 0,void 0],b=Te(p,2),$=b[0],C=$===void 0?0:$,S=b[1],F=S,j=F||n(),E=[C,j];return g?g(E):E})};y.useMemo(function(){u()},[a]);var f=s.opGet(a),d=f[1];return AX(function(){o==null||o(d)},function(h){return u(function(g){var m=Te(g,2),p=m[0],b=m[1];return h&&p===0&&(o==null||o(d)),[p+1,b]}),function(){s.opUpdate(a,function(g){var m=g||[],p=Te(m,2),b=p[0],$=b===void 0?0:b,C=p[1],S=$-1;return S===0?(c(function(){(h||!s.opGet(a))&&(r==null||r(C,!1))}),null):[$-1,C]})}},[a]),d}var GX={},HX="css",Lu=new Map;function qX(t){Lu.set(t,(Lu.get(t)||0)+1)}function WX(t,e){if(typeof document<"u"){var n=document.querySelectorAll("style[".concat(sd,'="').concat(t,'"]'));n.forEach(function(r){if(r[jc]===e){var o;(o=r.parentNode)===null||o===void 0||o.removeChild(r)}})}}var VX=0;function UX(t,e){Lu.set(t,(Lu.get(t)||0)-1);var n=Array.from(Lu.keys()),r=n.filter(function(o){var i=Lu.get(o)||0;return i<=0});n.length-r.length>VX&&r.forEach(function(o){WX(o,e),Lu.delete(o)})}var KX=function(e,n,r,o){var i=r.getDerivativeToken(e),s=pe(pe({},i),n);return o&&(s=o(s)),s},uL="token";function XX(t,e){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},r=O.useContext(_g),o=r.cache.instanceId,i=r.container,s=n.salt,l=s===void 0?"":s,a=n.override,c=a===void 0?GX:a,u=n.formatToken,f=n.getComputedToken,d=n.cssVar,h=MX(function(){return Object.assign.apply(Object,[{}].concat(Ke(e)))},e),g=Ig(h),m=Ig(c),p=d?Ig(d):"",b=ex(uL,[l,t.id,g,m,p],function(){var $,C=f?f(h,c,t):KX(h,c,t,u),S=pe({},C),F="";if(d){var j=lL(C,d.key,{prefix:d.prefix,ignore:d.ignore,unitless:d.unitless,preserve:d.preserve}),E=Te(j,2);C=E[0],F=E[1]}var _=sL(C,l);C._tokenKey=_,S._tokenKey=sL(S,l);var w=($=d==null?void 0:d.key)!==null&&$!==void 0?$:_;C._themeKey=w,qX(w);var I="".concat(HX,"-").concat(jg(_));return C._hashId=I,[C,I,S,F,(d==null?void 0:d.key)||""]},function($){UX($[0]._themeKey,o)},function($){var C=Te($,4),S=C[0],F=C[3];if(d&&F){var j=Ra(F,jg("css-variables-".concat(S._themeKey)),{mark:Sl,prepend:"queue",attachTo:i,priority:-999});j[jc]=o,j.setAttribute(sd,S._themeKey)}});return b}var YX=function(e,n,r){var o=Te(e,5),i=o[2],s=o[3],l=o[4],a=r||{},c=a.plain;if(!s)return null;var u=i._tokenKey,f=-999,d={"data-rc-order":"prependQueue","data-rc-priority":"".concat(f)},h=Kv(s,l,u,d,c);return[f,u,h]},ZX={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},fL="comm",dL="rule",hL="decl",QX="@import",JX="@namespace",eY="@keyframes",tY="@layer",gL=Math.abs,tx=String.fromCharCode;function yL(t){return t.trim()}function Yv(t,e,n){return t.replace(e,n)}function nY(t,e,n){return t.indexOf(e,n)}function ad(t,e){return t.charCodeAt(e)|0}function cd(t,e,n){return t.slice(e,n)}function Zl(t){return t.length}function rY(t){return t.length}function Zv(t,e){return e.push(t),t}var Qv=1,ud=1,pL=0,Us=0,Bo=0,fd="";function nx(t,e,n,r,o,i,s,l){return{value:t,root:e,parent:n,type:r,props:o,children:i,line:Qv,column:ud,length:s,return:"",siblings:l}}function oY(){return Bo}function iY(){return Bo=Us>0?ad(fd,--Us):0,ud--,Bo===10&&(ud=1,Qv--),Bo}function xl(){return Bo=Us<pL?ad(fd,Us++):0,ud++,Bo===10&&(ud=1,Qv++),Bo}function Ec(){return ad(fd,Us)}function Jv(){return Us}function e0(t,e){return cd(fd,t,e)}function Og(t){switch(t){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function sY(t){return Qv=ud=1,pL=Zl(fd=t),Us=0,[]}function lY(t){return fd="",t}function rx(t){return yL(e0(Us-1,ox(t===91?t+2:t===40?t+1:t)))}function aY(t){for(;(Bo=Ec())&&Bo<33;)xl();return Og(t)>2||Og(Bo)>3?"":" "}function cY(t,e){for(;--e&&xl()&&!(Bo<48||Bo>102||Bo>57&&Bo<65||Bo>70&&Bo<97););return e0(t,Jv()+(e<6&&Ec()==32&&xl()==32))}function ox(t){for(;xl();)switch(Bo){case t:return Us;case 34:case 39:t!==34&&t!==39&&ox(Bo);break;case 40:t===41&&ox(t);break;case 92:xl();break}return Us}function uY(t,e){for(;xl()&&t+Bo!==57;)if(t+Bo===84&&Ec()===47)break;return"/*"+e0(e,Us-1)+"*"+tx(t===47?t:xl())}function fY(t){for(;!Og(Ec());)xl();return e0(t,Us)}function dY(t){return lY(t0("",null,null,null,[""],t=sY(t),0,[0],t))}function t0(t,e,n,r,o,i,s,l,a){for(var c=0,u=0,f=s,d=0,h=0,g=0,m=1,p=1,b=1,$=0,C="",S=o,F=i,j=r,E=C;p;)switch(g=$,$=xl()){case 40:if(g!=108&&ad(E,f-1)==58){nY(E+=Yv(rx($),"&","&\f"),"&\f",gL(c?l[c-1]:0))!=-1&&(b=-1);break}case 34:case 39:case 91:E+=rx($);break;case 9:case 10:case 13:case 32:E+=aY(g);break;case 92:E+=cY(Jv()-1,7);continue;case 47:switch(Ec()){case 42:case 47:Zv(hY(uY(xl(),Jv()),e,n,a),a),(Og(g||1)==5||Og(Ec()||1)==5)&&Zl(E)&&cd(E,-1,void 0)!==" "&&(E+=" ");break;default:E+="/"}break;case 123*m:l[c++]=Zl(E)*b;case 125*m:case 59:case 0:switch($){case 0:case 125:p=0;case 59+u:b==-1&&(E=Yv(E,/\f/g,"")),h>0&&(Zl(E)-f||m===0&&g===47)&&Zv(h>32?vL(E+";",r,n,f-1,a):vL(Yv(E," ","")+";",r,n,f-2,a),a);break;case 59:E+=";";default:if(Zv(j=mL(E,e,n,c,u,o,l,C,S=[],F=[],f,i),i),$===123)if(u===0)t0(E,e,j,j,S,i,f,l,F);else{switch(d){case 99:if(ad(E,3)===110)break;case 108:if(ad(E,2)===97)break;default:u=0;case 100:case 109:case 115:}u?t0(t,j,j,r&&Zv(mL(t,j,j,0,0,o,l,C,o,S=[],f,F),F),o,F,f,l,r?S:F):t0(E,j,j,j,[""],F,0,l,F)}}c=u=h=0,m=b=1,C=E="",f=s;break;case 58:f=1+Zl(E),h=g;default:if(m<1){if($==123)--m;else if($==125&&m++==0&&iY()==125)continue}switch(E+=tx($),$*m){case 38:b=u>0?1:(E+="\f",-1);break;case 44:l[c++]=(Zl(E)-1)*b,b=1;break;case 64:Ec()===45&&(E+=rx(xl())),d=Ec(),u=f=Zl(C=E+=fY(Jv())),$++;break;case 45:g===45&&Zl(E)==2&&(m=0)}}return i}function mL(t,e,n,r,o,i,s,l,a,c,u,f){for(var d=o-1,h=o===0?i:[""],g=rY(h),m=0,p=0,b=0;m<r;++m)for(var $=0,C=cd(t,d+1,d=gL(p=s[m])),S=t;$<g;++$)(S=yL(p>0?h[$]+" "+C:Yv(C,/&\f/g,h[$])))&&(a[b++]=S);return nx(t,e,n,o===0?dL:l,a,c,u,f)}function hY(t,e,n,r){return nx(t,e,n,fL,tx(oY()),cd(t,2,-2),0,r)}function vL(t,e,n,r,o){return nx(t,e,n,hL,cd(t,0,r),cd(t,r+1,-1),r,o)}function ix(t,e){for(var n="",r=0;r<t.length;r++)n+=e(t[r],r,t,e)||"";return n}function gY(t,e,n,r){switch(t.type){case tY:if(t.children.length)break;case QX:case JX:case hL:return t.return=t.return||t.value;case fL:return"";case eY:return t.return=t.value+"{"+ix(t.children,r)+"}";case dL:if(!Zl(t.value=t.props.join(",")))return""}return Zl(n=ix(t.children,r))?t.return=t.value+"{"+n+"}":""}var bL="data-ant-cssinjs-cache-path",$L="_FILE_STYLE__",Nu,CL=!0;function yY(){if(!Nu&&(Nu={},ii())){var t=document.createElement("div");t.className=bL,t.style.position="fixed",t.style.visibility="hidden",t.style.top="-9999px",document.body.appendChild(t);var e=getComputedStyle(t).content||"";e=e.replace(/^"/,"").replace(/"$/,""),e.split(";").forEach(function(o){var i=o.split(":"),s=Te(i,2),l=s[0],a=s[1];Nu[l]=a});var n=document.querySelector("style[".concat(bL,"]"));if(n){var r;CL=!1,(r=n.parentNode)===null||r===void 0||r.removeChild(n)}document.body.removeChild(t)}}function pY(t){return yY(),!!Nu[t]}function mY(t){var e=Nu[t],n=null;if(e&&ii())if(CL)n=$L;else{var r=document.querySelector("style[".concat(Sl,'="').concat(Nu[t],'"]'));r?n=r.innerHTML:delete Nu[t]}return[n,e]}var vY="_skip_check_",SL="_multi_value_";function n0(t){var e=ix(dY(t),gY);return e.replace(/\{%%%\:[^;];}/g,";")}function bY(t){return kt(t)==="object"&&t&&(vY in t||SL in t)}function xL(t,e,n){if(!e)return t;var r=".".concat(e),o=n==="low"?":where(".concat(r,")"):r,i=t.split(",").map(function(s){var l,a=s.trim().split(/\s+/),c=a[0]||"",u=((l=c.match(/^\w+/))===null||l===void 0?void 0:l[0])||"";return c="".concat(u).concat(o).concat(c.slice(u.length)),[c].concat(Ke(a.slice(1))).join(" ")});return i.join(",")}var $Y=function t(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{root:!0,parentSelectors:[]},o=r.root,i=r.injectHash,s=r.parentSelectors,l=n.hashId,a=n.layer;n.path;var c=n.hashPriority,u=n.transformers,f=u===void 0?[]:u;n.linters;var d="",h={};function g(b){var $=b.getName(l);if(!h[$]){var C=t(b.style,n,{root:!1,parentSelectors:s}),S=Te(C,1),F=S[0];h[$]="@keyframes ".concat(b.getName(l)).concat(F)}}function m(b){var $=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[];return b.forEach(function(C){Array.isArray(C)?m(C,$):C&&$.push(C)}),$}var p=m(Array.isArray(e)?e:[e]);return p.forEach(function(b){var $=typeof b=="string"&&!o?{}:b;if(typeof $=="string")d+="".concat($,` `);else if($._keyframe)g($);else{var C=f.reduce(function(S,F){var j;return(F==null||(j=F.visit)===null||j===void 0?void 0:j.call(F,S))||S},$);Object.keys(C).forEach(function(S){var F=C[S];if(kt(F)==="object"&&F&&(S!=="animationName"||!F._keyframe)&&!bY(F)){var j=!1,E=S.trim(),_=!1;(o||i)&&l?E.startsWith("@")?j=!0:E==="&"?E=xL("",l,c):E=xL(S,l,c):o&&!l&&(E==="&"||E==="")&&(E="",_=!0);var w=t(F,n,{root:_,injectHash:j,parentSelectors:[].concat(Ke(s),[E])}),I=Te(w,2),M=I[0],P=I[1];h=pe(pe({},h),P),d+="".concat(E).concat(M)}else{let k=function(A,D){var q=A.replace(/[A-Z]/g,function(Y){return"-".concat(Y.toLowerCase())}),W=D;!ZX[A]&&typeof W=="number"&&W!==0&&(W="".concat(W,"px")),A==="animationName"&&D!==null&&D!==void 0&&D._keyframe&&(g(D),W=D.getName(l)),d+="".concat(q,":").concat(W,";")};var z,N=(z=F==null?void 0:F.value)!==null&&z!==void 0?z:F;kt(F)==="object"&&F!==null&&F!==void 0&&F[SL]&&Array.isArray(N)?N.forEach(function(A){k(S,A)}):k(S,N)}})}}),o?a&&(d&&(d="@layer ".concat(a.name," {").concat(d,"}")),a.dependencies&&(h["@layer ".concat(a.name)]=a.dependencies.map(function(b){return"@layer ".concat(b,", ").concat(a.name,";")}).join(` `))):d="{".concat(d,"}"),[d,h]};function FL(t,e){return jg("".concat(t.join("%")).concat(e))}function CY(){return null}var wL="style";function sx(t,e){var n=t.token,r=t.path,o=t.hashId,i=t.layer,s=t.nonce,l=t.clientOnly,a=t.order,c=a===void 0?0:a,u=y.useContext(_g),f=u.autoClear;u.mock;var d=u.defaultCache,h=u.hashPriority,g=u.container,m=u.ssrInline,p=u.transformers,b=u.linters,$=u.cache,C=u.layer,S=n._tokenKey,F=[S];C&&F.push("layer"),F.push.apply(F,Ke(r));var j=JS,E=ex(wL,F,function(){var P=F.join("|");if(pY(P)){var z=mY(P),N=Te(z,2),k=N[0],A=N[1];if(k)return[k,S,A,{},l,c]}var D=e(),q=$Y(D,{hashId:o,hashPriority:h,layer:C?i:void 0,path:r.join("-"),transformers:p,linters:b}),W=Te(q,2),Y=W[0],X=W[1],V=n0(Y),Z=FL(F,V);return[V,S,Z,X,l,c]},function(P,z){var N=Te(P,3),k=N[2];(z||f)&&JS&&Eg(k,{mark:Sl})},function(P){var z=Te(P,4),N=z[0];z[1];var k=z[2],A=z[3];if(j&&N!==$L){var D={mark:Sl,prepend:C?!1:"queue",attachTo:g,priority:c},q=typeof s=="function"?s():s;q&&(D.csp={nonce:q});var W=[],Y=[];Object.keys(A).forEach(function(V){V.startsWith("@layer")?W.push(V):Y.push(V)}),W.forEach(function(V){Ra(n0(A[V]),"_layer-".concat(V),pe(pe({},D),{},{prepend:!0}))});var X=Ra(N,k,D);X[jc]=$.instanceId,X.setAttribute(sd,S),Y.forEach(function(V){Ra(n0(A[V]),"_effect-".concat(V),D)})}}),_=Te(E,3),w=_[0],I=_[1],M=_[2];return function(P){var z;if(!m||j||!d)z=y.createElement(CY,null);else{var N;z=y.createElement("style",We({},(N={},le(N,sd,I),le(N,Sl,M),N),{dangerouslySetInnerHTML:{__html:w}}))}return y.createElement(y.Fragment,null,z,P)}}var SY=function(e,n,r){var o=Te(e,6),i=o[0],s=o[1],l=o[2],a=o[3],c=o[4],u=o[5],f=r||{},d=f.plain;if(c)return null;var h=i,g={"data-rc-order":"prependQueue","data-rc-priority":"".concat(u)};return h=Kv(i,s,l,g,d),a&&Object.keys(a).forEach(function(m){if(!n[m]){n[m]=!0;var p=n0(a[m]),b=Kv(p,s,"_effect-".concat(m),g,d);m.startsWith("@layer")?h=b+h:h+=b}}),[u,l,h]},jL="cssVar",xY=function(e,n){var r=e.key,o=e.prefix,i=e.unitless,s=e.ignore,l=e.token,a=e.scope,c=a===void 0?"":a,u=O.useContext(_g),f=u.cache.instanceId,d=u.container,h=l._tokenKey,g=[].concat(Ke(e.path),[r,c,h]),m=ex(jL,g,function(){var p=n(),b=lL(p,r,{prefix:o,unitless:i,ignore:s,scope:c}),$=Te(b,2),C=$[0],S=$[1],F=FL(g,S);return[C,S,F,r]},function(p){var b=Te(p,3),$=b[2];JS&&Eg($,{mark:Sl})},function(p){var b=Te(p,3),$=b[1],C=b[2];if($){var S=Ra($,C,{mark:Sl,prepend:"queue",attachTo:d,priority:-999});S[jc]=f,S.setAttribute(sd,r)}});return m},FY=function(e,n,r){var o=Te(e,4),i=o[1],s=o[2],l=o[3],a=r||{},c=a.plain;if(!i)return null;var u=-999,f={"data-rc-order":"prependQueue","data-rc-priority":"".concat(u)},d=Kv(i,l,s,f,c);return[u,s,d]},Tg;Tg={},le(Tg,wL,SY),le(Tg,uL,YX),le(Tg,jL,FY);var rr=function(){function t(e,n){Zr(this,t),le(this,"name",void 0),le(this,"style",void 0),le(this,"_keyframe",!0),this.name=e,this.style=n}return Qr(t,[{key:"getName",value:function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return n?"".concat(n,"-").concat(this.name):this.name}}]),t}();function dd(t){return t.notSplit=!0,t}dd(["borderTop","borderBottom"]),dd(["borderTop"]),dd(["borderBottom"]),dd(["borderLeft","borderRight"]),dd(["borderLeft"]),dd(["borderRight"]);var lx=O.createContext({});function EL(t){return YP(t)||WP(t)||HS(t)||ZP()}function Bi(t,e){for(var n=t,r=0;r<e.length;r+=1){if(n==null)return;n=n[e[r]]}return n}function _L(t,e,n,r){if(!e.length)return n;var o=EL(e),i=o[0],s=o.slice(1),l;return!t&&typeof i=="number"?l=[]:Array.isArray(t)?l=Ke(t):l=pe({},t),r&&n===void 0&&s.length===1?delete l[i][s[0]]:l[i]=_L(l[i],s,n,r),l}function Ks(t,e,n){var r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;return e.length&&r&&n===void 0&&!Bi(t,e.slice(0,-1))?t:_L(t,e,n,r)}function wY(t){return kt(t)==="object"&&t!==null&&Object.getPrototypeOf(t)===Object.prototype}function IL(t){return Array.isArray(t)?[]:{}}var jY=typeof Reflect>"u"?Object.keys:Reflect.ownKeys;function hd(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var r=IL(e[0]);return e.forEach(function(o){function i(s,l){var a=new Set(l),c=Bi(o,s),u=Array.isArray(c);if(u||wY(c)){if(!a.has(c)){a.add(c);var f=Bi(r,s);u?r=Ks(r,s,[]):(!f||kt(f)!=="object")&&(r=Ks(r,s,IL(c))),jY(c).forEach(function(d){i([].concat(Ke(s),[d]),a)})}}else r=Ks(r,s,c)}i([])}),r}function EY(){}const _Y=y.createContext({}),_c=()=>{const t=()=>{};return t.deprecated=EY,t},OL=O.createContext(void 0);var TL={items_per_page:"/ page",jump_to:"Go to",jump_to_confirm:"confirm",page:"Page",prev_page:"Previous Page",next_page:"Next Page",prev_5:"Previous 5 Pages",next_5:"Next 5 Pages",prev_3:"Previous 3 Pages",next_3:"Next 3 Pages",page_size:"Page Size"},IY={yearFormat:"YYYY",dayFormat:"D",cellMeridiemFormat:"A",monthBeforeYear:!0},OY=pe(pe({},IY),{},{locale:"en_US",today:"Today",now:"Now",backToToday:"Back to today",ok:"OK",clear:"Clear",week:"Week",month:"Month",year:"Year",timeSelect:"select time",dateSelect:"select date",weekSelect:"Choose a week",monthSelect:"Choose a month",yearSelect:"Choose a year",decadeSelect:"Choose a decade",dateFormat:"M/D/YYYY",dateTimeFormat:"M/D/YYYY HH:mm:ss",previousMonth:"Previous month (PageUp)",nextMonth:"Next month (PageDown)",previousYear:"Last year (Control + left)",nextYear:"Next year (Control + right)",previousDecade:"Last decade",nextDecade:"Next decade",previousCentury:"Last century",nextCentury:"Next century"});const ML={placeholder:"Select time",rangePlaceholder:["Start time","End time"]},PL={lang:Object.assign({placeholder:"Select date",yearPlaceholder:"Select year",quarterPlaceholder:"Select quarter",monthPlaceholder:"Select month",weekPlaceholder:"Select week",rangePlaceholder:["Start date","End date"],rangeYearPlaceholder:["Start year","End year"],rangeQuarterPlaceholder:["Start quarter","End quarter"],rangeMonthPlaceholder:["Start month","End month"],rangeWeekPlaceholder:["Start week","End week"]},OY),timePickerLocale:Object.assign({},ML)},Fs="${label} is not a valid ${type}",Fl={locale:"en",Pagination:TL,DatePicker:PL,TimePicker:ML,Calendar:PL,global:{placeholder:"Please select",close:"Close"},Table:{filterTitle:"Filter menu",filterConfirm:"OK",filterReset:"Reset",filterEmptyText:"No filters",filterCheckAll:"Select all items",filterSearchPlaceholder:"Search in filters",emptyText:"No data",selectAll:"Select current page",selectInvert:"Invert current page",selectNone:"Clear all data",selectionAll:"Select all data",sortTitle:"Sort",expand:"Expand row",collapse:"Collapse row",triggerDesc:"Click to sort descending",triggerAsc:"Click to sort ascending",cancelSort:"Click to cancel sorting"},Tour:{Next:"Next",Previous:"Previous",Finish:"Finish"},Modal:{okText:"OK",cancelText:"Cancel",justOkText:"OK"},Popconfirm:{okText:"OK",cancelText:"Cancel"},Transfer:{titles:["",""],searchPlaceholder:"Search here",itemUnit:"item",itemsUnit:"items",remove:"Remove",selectCurrent:"Select current page",removeCurrent:"Remove current page",selectAll:"Select all data",deselectAll:"Deselect all data",removeAll:"Remove all data",selectInvert:"Invert current page"},Upload:{uploading:"Uploading...",removeFile:"Remove file",uploadError:"Upload error",previewFile:"Preview file",downloadFile:"Download file"},Empty:{description:"No data"},Icon:{icon:"icon"},Text:{edit:"Edit",copy:"Copy",copied:"Copied",expand:"Expand",collapse:"Collapse"},Form:{optional:"(optional)",defaultValidateMessages:{default:"Field validation error for ${label}",required:"Please enter ${label}",enum:"${label} must be one of [${enum}]",whitespace:"${label} cannot be a blank character",date:{format:"${label} date format is invalid",parse:"${label} cannot be converted to a date",invalid:"${label} is an invalid date"},types:{string:Fs,method:Fs,array:Fs,object:Fs,number:Fs,date:Fs,boolean:Fs,integer:Fs,float:Fs,regexp:Fs,email:Fs,url:Fs,hex:Fs},string:{len:"${label} must be ${len} characters",min:"${label} must be at least ${min} characters",max:"${label} must be up to ${max} characters",range:"${label} must be between ${min}-${max} characters"},number:{len:"${label} must be equal to ${len}",min:"${label} must be minimum ${min}",max:"${label} must be maximum ${max}",range:"${label} must be b