PageSourceSearch

https://rss-feed-inbox-7067.taskade.app/assets/main-65A7GG2A.js

js rss-feed-inbox-7067.taskade.app collected 2026-10-03 15:04:50 UTC 778,471 bytes, 262 lines download raw bytes

vendor: 4,669 bytes, line 1
1var sz=Object.create;var Yy=Object.defineProperty;var lz=Object.getOwnPropertyDescriptor;var uz=Object.getOwnPropertyNames;var cz=Object.getPrototypeOf,dz=Object.prototype.hasOwnProperty;var fz=(e=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(e,{get:(t,r)=>(typeof require<"u"?require:t)[r]}):e)(function(e){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+e+'" is not supported')});var M=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),pz=(e,t)=>{for(var r in t)Yy(e,r,{get:t[r],enumerable:!0})},mz=(e,t,r,a)=>{if(t&&typeof t=="object"||typeof t=="function")for(let n of uz(t))!dz.call(e,n)&&n!==r&&Yy(e,n,{get:()=>t[n],enumerable:!(a=lz(t,n))||a.enumerable});return e};var D=(e,t,r)=>(r=e!=null?sz(cz(e)):{},mz(t||!e||!e.__esModule?Yy(r,"default",{value:e,enumerable:!0}):r,e));var iI=M(fe=>{"use strict";var qu=Symbol.for("react.element"),hz=Symbol.for("react.portal"),gz=Symbol.for("react.fragment"),vz=Symbol.for("react.strict_mode"),yz=Symbol.for("react.profiler"),xz=Symbol.for("react.provider"),wz=Symbol.for("react.context"),bz=Symbol.for("react.forward_ref"),Sz=Symbol.for("react.suspense"),Cz=Symbol.for("react.memo"),Lz=Symbol.for("react.lazy"),KL=Symbol.iterator;function Iz(e){return e===null||typeof e!="object"?null:(e=KL&&e[KL]||e["@@iterator"],typeof e=="function"?e:null)}var ZL={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},JL=Object.assign,eI={};function ss(e,t,r){this.props=e,this.context=t,this.refs=eI,this.updater=r||ZL}ss.prototype.isReactComponent={};ss.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")};ss.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function tI(){}tI.prototype=ss.prototype;function Zy(e,t,r){this.props=e,this.context=t,this.refs=eI,this.updater=r||ZL}var Jy=Zy.prototype=new tI;Jy.constructor=Zy;JL(Jy,ss.prototype);Jy.isPureReactComponent=!0;var YL=Array.isArray,rI=Object.prototype.hasOwnProperty,e0={current:null},aI={key:!0,ref:!0,__self:!0,__source:!0};function nI(e,t,r){var a,n={},o=null,i=null;if(t!=null)for(a in t.ref!==void 0&&(i=t.ref),t.key!==void 0&&(o=""+t.key),t)rI.call(t,a)&&!aI.hasOwnProperty(a)&&(n[a]=t[a]);var s=arguments.length-2;if(s===1)n.children=r;else if(1<s){for(var l=Array(s),u=0;u<s;u++)l[u]=arguments[u+2];n.children=l}if(e&&e.defaultProps)for(a in s=e.defaultProps,s)n[a]===void 0&&(n[a]=s[a]);return{$$typeof:qu,type:e,key:o,ref:i,props:n,_owner:e0.current}}function Pz(e,t){return{$$typeof:qu,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}function t0(e){return typeof e=="object"&&e!==null&&e.$$typeof===qu}function kz(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(r){return t[r]})}var QL=/\/+/g;function Qy(e,t){return typeof e=="object"&&e!==null&&e.key!=null?kz(""+e.key):t.toString(36)}function Lp(e,t,r,a,n){var o=typeof e;(o==="undefined"||o==="boolean")&&(e=null);var i=!1;if(e===null)i=!0;else switch(o){case"string":case"number":i=!0;break;case"object":switch(e.$$typeof){case qu:case hz:i=!0}}if(i)return i=e,n=n(i),e=a===""?"."+Qy(i,0):a,YL(n)?(r="",e!=null&&(r=e.replace(QL,"$&/")+"/"),Lp(n,t,r,"",function(u){return u})):n!=null&&(t0(n)&&(n=Pz(n,r+(!n.key||i&&i.key===n.key?"":(""+n.key).replace(QL,"$&/")+"/")+e)),t.push(n)),1;if(i=0,a=a===""?".":a+":",YL(e))for(var s=0;s<e.length;s++){o=e[s];var l=a+Qy(o,s);i+=Lp(o,t,r,l,n)}else if(l=Iz(e),typeof l=="function")for(e=l.call(e),s=0;!(o=e.next()).done;)o=o.value,l=a+Qy(o,s++),i+=Lp(o,t,r,l,n);else if(o==="object")throw t=String(e),Error("Objects are not valid as a React child (found: "+(t==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.");return i}function Cp(e,t,r){if(e==null)return e;var a=[],n=0;return Lp(e,a,"","",function(o){return t.call(r,o,n++)}),a}function Az(e){if(e._status===-1){var t=e._result;t=t(),t.then(function(r){(e._status===0||e._status===-1)&&(e._status=1,e._result=r)},function(r){(e._status===0||e._status===-1)&&(e._status=2,e._result=r)}),e._status===-1&&(e._status=0,e._result=t)}if(e._status===1)return e._result.default;throw e._result}var Gt={current:null},Ip={transition:null},Tz={ReactCurrentDispatcher:Gt,ReactCurrentBatchConfig:Ip,ReactCurrentOwner:e0};function oI(){throw Error("act(...) is not supported in production builds of React.")}
vendor: 12,250 bytes, line 1
1fe.Children={map:Cp,forEach:function(e,t,r){Cp(e,function(){t.apply(this,arguments)},r)},count:function(e){var t=0;return Cp(e,function(){t++}),t},toArray:function(e){return Cp(e,function(t){return t})||[]},only:function(e){if(!t0(e))throw Error("React.Children.only expected to receive a single React element child.");return e}};fe.Component=ss;fe.Fragment=gz;fe.Profiler=yz;fe.PureComponent=Zy;fe.StrictMode=vz;fe.Suspense=Sz;fe.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Tz;fe.act=oI;fe.cloneElement=function(e,t,r){if(e==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var a=JL({},e.props),n=e.key,o=e.ref,i=e._owner;if(t!=null){if(t.ref!==void 0&&(o=t.ref,i=e0.current),t.key!==void 0&&(n=""+t.key),e.type&&e.type.defaultProps)var s=e.type.defaultProps;for(l in t)rI.call(t,l)&&!aI.hasOwnProperty(l)&&(a[l]=t[l]===void 0&&s!==void 0?s[l]:t[l])}var l=arguments.length-2;if(l===1)a.children=r;else if(1<l){s=Array(l);for(var u=0;u<l;u++)s[u]=arguments[u+2];a.children=s}return{$$typeof:qu,type:e.type,key:n,ref:o,props:a,_owner:i}};fe.createContext=function(e){return e={$$typeof:wz,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},e.Provider={$$typeof:xz,_context:e},e.Consumer=e};fe.createElement=nI;fe.createFactory=function(e){var t=nI.bind(null,e);return t.type=e,t};fe.createRef=function(){return{current:null}};fe.forwardRef=function(e){return{$$typeof:bz,render:e}};fe.isValidElement=t0;fe.lazy=function(e){return{$$typeof:Lz,_payload:{_status:-1,_result:e},_init:Az}};fe.memo=function(e,t){return{$$typeof:Cz,type:e,compare:t===void 0?null:t}};fe.startTransition=function(e){var t=Ip.transition;Ip.transition={};try{e()}finally{Ip.transition=t}};fe.unstable_act=oI;fe.useCallback=function(e,t){return Gt.current.useCallback(e,t)};fe.useContext=function(e){return Gt.current.useContext(e)};fe.useDebugValue=function(){};fe.useDeferredValue=function(e){return Gt.current.useDeferredValue(e)};fe.useEffect=function(e,t){return Gt.current.useEffect(e,t)};fe.useId=function(){return Gt.current.useId()};fe.useImperativeHandle=function(e,t,r){return Gt.current.useImperativeHandle(e,t,r)};fe.useInsertionEffect=function(e,t){return Gt.current.useInsertionEffect(e,t)};fe.useLayoutEffect=function(e,t){return Gt.current.useLayoutEffect(e,t)};fe.useMemo=function(e,t){return Gt.current.useMemo(e,t)};fe.useReducer=function(e,t,r){return Gt.current.useReducer(e,t,r)};fe.useRef=function(e){return Gt.current.useRef(e)};fe.useState=function(e){return Gt.current.useState(e)};fe.useSyncExternalStore=function(e,t,r){return Gt.current.useSyncExternalStore(e,t,r)};fe.useTransition=function(){return Gt.current.useTransition()};fe.version="18.3.1"});var K=M((She,sI)=>{"use strict";sI.exports=iI()});var vI=M(Ee=>{"use strict";function o0(e,t){var r=e.length;e.push(t);e:for(;0<r;){var a=r-1>>>1,n=e[a];if(0<Pp(n,t))e[a]=t,e[r]=n,r=a;else break e}}function ra(e){return e.length===0?null:e[0]}function Ap(e){if(e.length===0)return null;var t=e[0],r=e.pop();if(r!==t){e[0]=r;e:for(var a=0,n=e.length,o=n>>>1;a<o;){var i=2*(a+1)-1,s=e[i],l=i+1,u=e[l];if(0>Pp(s,r))l<n&&0>Pp(u,s)?(e[a]=u,e[l]=r,a=l):(e[a]=s,e[i]=r,a=i);else if(l<n&&0>Pp(u,r))e[a]=u,e[l]=r,a=l;else break e}}return t}function Pp(e,t){var r=e.sortIndex-t.sortIndex;return r!==0?r:e.id-t.id}typeof performance=="object"&&typeof performance.now=="function"?(lI=performance,Ee.unstable_now=function(){return lI.now()}):(r0=Date,uI=r0.now(),Ee.unstable_now=function(){return r0.now()-uI});var lI,r0,uI,Aa=[],Vn=[],Ez=1,Or=null,Dt=3,Tp=!1,Vo=!1,Hu=!1,fI=typeof setTimeout=="function"?setTimeout:null,pI=typeof clearTimeout=="function"?clearTimeout:null,cI=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function i0(e){for(var t=ra(Vn);t!==null;){if(t.callback===null)Ap(Vn);else if(t.startTime<=e)Ap(Vn),t.sortIndex=t.expirationTime,o0(Aa,t);else break;t=ra(Vn)}}function s0(e){if(Hu=!1,i0(e),!Vo)if(ra(Aa)!==null)Vo=!0,u0(l0);else{var t=ra(Vn);t!==null&&c0(s0,t.startTime-e)}}function l0(e,t){Vo=!1,Hu&&(Hu=!1,pI(Wu),Wu=-1),Tp=!0;var r=Dt;try{for(i0(t),Or=ra(Aa);Or!==null&&(!(Or.expirationTime>t)||e&&!gI());){var a=Or.callback;if(typeof a=="function"){Or.callback=null,Dt=Or.priorityLevel;var n=a(Or.expirationTime<=t);t=Ee.unstable_now(),typeof n=="function"?Or.callback=n:Or===ra(Aa)&&Ap(Aa),i0(t)}else Ap(Aa);Or=ra(Aa)}if(Or!==null)var o=!0;else{var i=ra(Vn);i!==null&&c0(s0,i.startTime-t),o=!1}return o}finally{Or=null,Dt=r,Tp=!1}}var Ep=!1,kp=null,Wu=-1,mI=5,hI=-1;function gI(){return!(Ee.unstable_now()-hI<mI)}function a0(){if(kp!==null){var e=Ee.unstable_now();hI=e;var t=!0;try{t=kp(!0,e)}finally{t?zu():(Ep=!1,kp=null)}}else Ep=!1}var zu;typeof cI=="function"?zu=function(){cI(a0)}:typeof MessageChannel<"u"?(n0=new MessageChannel,dI=n0.port2,n0.port1.onmessage=a0,zu=function(){dI.postMessage(null)}):zu=function(){fI(a0,0)};var n0,dI;function u0(e){kp=e,Ep||(Ep=!0,zu())}function c0(e,t){Wu=fI(function(){e(Ee.unstable_now())},t)}Ee.unstable_IdlePriority=5;Ee.unstable_ImmediatePriority=1;Ee.unstable_LowPriority=4;Ee.unstable_NormalPriority=3;Ee.unstable_Profiling=null;Ee.unstable_UserBlockingPriority=2;Ee.unstable_cancelCallback=function(e){e.callback=null};Ee.unstable_continueExecution=function(){Vo||Tp||(Vo=!0,u0(l0))};Ee.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):mI=0<e?Math.floor(1e3/e):5};Ee.unstable_getCurrentPriorityLevel=function(){return Dt};Ee.unstable_getFirstCallbackNode=function(){return ra(Aa)};Ee.unstable_next=function(e){switch(Dt){case 1:case 2:case 3:var t=3;break;default:t=Dt}var r=Dt;Dt=t;try{return e()}finally{Dt=r}};Ee.unstable_pauseExecution=function(){};Ee.unstable_requestPaint=function(){};Ee.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var r=Dt;Dt=e;try{return t()}finally{Dt=r}};Ee.unstable_scheduleCallback=function(e,t,r){var a=Ee.unstable_now();switch(typeof r=="object"&&r!==null?(r=r.delay,r=typeof r=="number"&&0<r?a+r:a):r=a,e){case 1:var n=-1;break;case 2:n=250;break;case 5:n=1073741823;break;case 4:n=1e4;break;default:n=5e3}return n=r+n,e={id:Ez++,callback:t,priorityLevel:e,startTime:r,expirationTime:n,sortIndex:-1},r>a?(e.sortIndex=r,o0(Vn,e),ra(Aa)===null&&e===ra(Vn)&&(Hu?(pI(Wu),Wu=-1):Hu=!0,c0(s0,r-a))):(e.sortIndex=n,o0(Aa,e),Vo||Tp||(Vo=!0,u0(l0))),e};Ee.unstable_shouldYield=gI;Ee.unstable_wrapCallback=function(e){var t=Dt;return function(){var r=Dt;Dt=t;try{return e.apply(this,arguments)}finally{Dt=r}}}});var xI=M((Lhe,yI)=>{"use strict";yI.exports=vI()});var CA=M(xr=>{"use strict";var Oz=K(),vr=xI();function $(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,r=1;r<arguments.length;r++)t+="&args[]="+encodeURIComponent(arguments[r]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var PP=new Set,pc={};function ei(e,t){As(e,t),As(e+"Capture",t)}function As(e,t){for(pc[e]=t,e=0;e<t.length;e++)PP.add(t[e])}var ln=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),R0=Object.prototype.hasOwnProperty,Mz=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,wI={},bI={};function Rz(e){return R0.call(bI,e)?!0:R0.call(wI,e)?!1:Mz.test(e)?bI[e]=!0:(wI[e]=!0,!1)}function Dz(e,t,r,a){if(r!==null&&r.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return a?!1:r!==null?!r.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function _z(e,t,r,a){if(t===null||typeof t>"u"||Dz(e,t,r,a))return!0;if(a)return!1;if(r!==null)switch(r.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function Kt(e,t,r,a,n,o,i){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=a,this.attributeNamespace=n,this.mustUseProperty=r,this.propertyName=e,this.type=t,this.sanitizeURL=o,this.removeEmptyString=i}var Ot={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){Ot[e]=new Kt(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];Ot[t]=new Kt(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){Ot[e]=new Kt(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){Ot[e]=new Kt(e,2,!1,e,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){Ot[e]=new Kt(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){Ot[e]=new Kt(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){Ot[e]=new Kt(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){Ot[e]=new Kt(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){Ot[e]=new Kt(e,5,!1,e.toLowerCase(),null,!1,!1)});var Ix=/[\-:]([a-z])/g;function Px(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(Ix,Px);Ot[t]=new Kt(t,1,!1,e,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(Ix,Px);Ot[t]=new Kt(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(Ix,Px);Ot[t]=new Kt(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){Ot[e]=new Kt(e,1,!1,e.toLowerCase(),null,!1,!1)});Ot.xlinkHref=new Kt("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){Ot[e]=new Kt(e,1,!1,e.toLowerCase(),null,!0,!0)});function kx(e,t,r,a){var n=Ot.hasOwnProperty(t)?Ot[t]:null;(n!==null?n.type!==0:a||!(2<t.length)||t[0]!=="o"&&t[0]!=="O"||t[1]!=="n"&&t[1]!=="N")&&(_z(t,r,n,a)&&(r=null),a||n===null?Rz(t)&&(r===null?e.removeAttribute(t):e.setAttribute(t,""+r)):n.mustUseProperty?e[n.propertyName]=r===null?n.type===3?!1:"":r:(t=n.attributeName,a=n.attributeNamespace,r===null?e.removeAttribute(t):(n=n.type,r=n===3||n===4&&r===!0?"":""+r,a?e.setAttributeNS(a,t,r):e.setAttribute(t,r))))}
vendor: 8,099 bytes, lines 1-5
1var fn=Oz.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,Op=Symbol.for("react.element"),cs=Symbol.for("react.portal"),ds=Symbol.for("react.fragment"),Ax=Symbol.for("react.strict_mode"),D0=Symbol.for("react.profiler"),kP=Symbol.for("react.provider"),AP=Symbol.for("react.context"),Tx=Symbol.for("react.forward_ref"),_0=Symbol.for("react.suspense"),N0=Symbol.for("react.suspense_list"),Ex=Symbol.for("react.memo"),zn=Symbol.for("react.lazy");Symbol.for("react.scope");Symbol.for("react.debug_trace_mode");var TP=Symbol.for("react.offscreen");Symbol.for("react.legacy_hidden");Symbol.for("react.cache");Symbol.for("react.tracing_marker");var SI=Symbol.iterator;function Gu(e){return e===null||typeof e!="object"?null:(e=SI&&e[SI]||e["@@iterator"],typeof e=="function"?e:null)}var Ke=Object.assign,d0;function ec(e){if(d0===void 0)try{throw Error()}catch(r){var t=r.stack.trim().match(/\n( *(at )?)/);d0=t&&t[1]||""}return`
2`+d0+e}var f0=!1;function p0(e,t){if(!e||f0)return"";f0=!0;var r=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(t,[])}catch(u){var a=u}Reflect.construct(e,[],t)}else{try{t.call()}catch(u){a=u}e.call(t.prototype)}else{try{throw Error()}catch(u){a=u}e()}}catch(u){if(u&&a&&typeof u.stack=="string"){for(var n=u.stack.split(`
3`),o=a.stack.split(`
4`),i=n.length-1,s=o.length-1;1<=i&&0<=s&&n[i]!==o[s];)s--;for(;1<=i&&0<=s;i--,s--)if(n[i]!==o[s]){if(i!==1||s!==1)do if(i--,s--,0>s||n[i]!==o[s]){var l=`
5`+n[i].replace(" at new "," at ");return e.displayName&&l.includes("<anonymous>")&&(l=l.replace("<anonymous>",e.displayName)),l}while(1<=i&&0<=s);break}}}finally{f0=!1,Error.prepareStackTrace=r}return(e=e?e.displayName||e.name:"")?ec(e):""}function Nz(e){switch(e.tag){case 5:return ec(e.type);case 16:return ec("Lazy");case 13:return ec("Suspense");case 19:return ec("SuspenseList");case 0:case 2:case 15:return e=p0(e.type,!1),e;case 11:return e=p0(e.type.render,!1),e;case 1:return e=p0(e.type,!0),e;default:return""}}function F0(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case ds:return"Fragment";case cs:return"Portal";case D0:return"Profiler";case Ax:return"StrictMode";case _0:return"Suspense";case N0:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case AP:return(e.displayName||"Context")+".Consumer";case kP:return(e._context.displayName||"Context")+".Provider";case Tx:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Ex:return t=e.displayName||null,t!==null?t:F0(e.type)||"Memo";case zn:t=e._payload,e=e._init;try{return F0(e(t))}catch{}}return null}function Fz(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return F0(t);case 8:return t===Ax?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function ao(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function EP(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function Bz(e){var t=EP(e)?"checked":"value",r=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),a=""+e[t];if(!e.hasOwnProperty(t)&&typeof r<"u"&&typeof r.get=="function"&&typeof r.set=="function"){var n=r.get,o=r.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return n.call(this)},set:function(i){a=""+i,o.call(this,i)}}),Object.defineProperty(e,t,{enumerable:r.enumerable}),{getValue:function(){return a},setValue:function(i){a=""+i},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Mp(e){e._valueTracker||(e._valueTracker=Bz(e))}function OP(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var r=t.getValue(),a="";return e&&(a=EP(e)?e.checked?"true":"false":e.value),e=a,e!==r?(t.setValue(e),!0):!1}function im(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function B0(e,t){var r=t.checked;return Ke({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:r??e._wrapperState.initialChecked})}function CI(e,t){var r=t.defaultValue==null?"":t.defaultValue,a=t.checked!=null?t.checked:t.defaultChecked;r=ao(t.value!=null?t.value:r),e._wrapperState={initialChecked:a,initialValue:r,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function MP(e,t){t=t.checked,t!=null&&kx(e,"checked",t,!1)}function j0(e,t){MP(e,t);var r=ao(t.value),a=t.type;if(r!=null)a==="number"?(r===0&&e.value===""||e.value!=r)&&(e.value=""+r):e.value!==""+r&&(e.value=""+r);else if(a==="submit"||a==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?U0(e,t.type,r):t.hasOwnProperty("defaultValue")&&U0(e,t.type,ao(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function LI(e,t,r){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var a=t.type;if(!(a!=="submit"&&a!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,r||t===e.value||(e.value=t),e.defaultValue=t}r=e.name,r!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,r!==""&&(e.name=r)}function U0(e,t,r){(t!=="number"||im(e.ownerDocument)!==e)&&(r==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+r&&(e.defaultValue=""+r))}var tc=Array.isArray;function Ss(e,t,r,a){if(e=e.options,t){t={};for(var n=0;n<r.length;n++)t["$"+r[n]]=!0;for(r=0;r<e.length;r++)n=t.hasOwnProperty("$"+e[r].value),e[r].selected!==n&&(e[r].selected=n),n&&a&&(e[r].defaultSelected=!0)}else{for(r=""+ao(r),t=null,n=0;n<e.length;n++){if(e[n].value===r){e[n].selected=!0,a&&(e[n].defaultSelected=!0);return}t!==null||e[n].disabled||(t=e[n])}t!==null&&(t.selected=!0)}}function V0(e,t){if(t.dangerouslySetInnerHTML!=null)throw Error($(91));return Ke({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function II(e,t){var r=t.value;if(r==null){if(r=t.children,t=t.defaultValue,r!=null){if(t!=null)throw Error($(92));if(tc(r)){if(1<r.length)throw Error($(93));r=r[0]}t=r}t==null&&(t=""),r=t}e._wrapperState={initialValue:ao(r)}}function RP(e,t){var r=ao(t.value),a=ao(t.defaultValue);r!=null&&(r=""+r,r!==e.value&&(e.value=r),t.defaultValue==null&&e.defaultValue!==r&&(e.defaultValue=r)),a!=null&&(e.defaultValue=""+a)}function PI(e){var t=e.textContent;t===e._wrapperState.initialValue&&t!==""&&t!==null&&(e.value=t)}function DP(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function q0(e,t){return e==null||e==="http://www.w3.org/1999/xhtml"?DP(t):e==="http://www.w3.org/2000/svg"&&t==="foreignObject"?"http://www.w3.org/1999/xhtml":e}var Rp,_P=function(e){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(t,r,a,n){MSApp.execUnsafeLocalFunction(function(){return e(t,r,a,n)})}:e}(function(e,t){if(e.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in e)e.innerHTML=t;else{for(Rp=Rp||document.createElement("div"),Rp.innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=Rp.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function mc(e,t){if(t){var r=e.firstChild;
vendor: 7,388 bytes, line 5
5if(r&&r===e.lastChild&&r.nodeType===3){r.nodeValue=t;return}}e.textContent=t}var nc={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},jz=["Webkit","ms","Moz","O"];Object.keys(nc).forEach(function(e){jz.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),nc[t]=nc[e]})});function NP(e,t,r){return t==null||typeof t=="boolean"||t===""?"":r||typeof t!="number"||t===0||nc.hasOwnProperty(e)&&nc[e]?(""+t).trim():t+"px"}function FP(e,t){e=e.style;for(var r in t)if(t.hasOwnProperty(r)){var a=r.indexOf("--")===0,n=NP(r,t[r],a);r==="float"&&(r="cssFloat"),a?e.setProperty(r,n):e[r]=n}}var Uz=Ke({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function z0(e,t){if(t){if(Uz[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error($(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error($(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error($(61))}if(t.style!=null&&typeof t.style!="object")throw Error($(62))}}function H0(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var W0=null;function Ox(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var G0=null,Cs=null,Ls=null;function kI(e){if(e=Mc(e)){if(typeof G0!="function")throw Error($(280));var t=e.stateNode;t&&(t=Dm(t),G0(e.stateNode,e.type,t))}}function BP(e){Cs?Ls?Ls.push(e):Ls=[e]:Cs=e}function jP(){if(Cs){var e=Cs,t=Ls;if(Ls=Cs=null,kI(e),t)for(e=0;e<t.length;e++)kI(t[e])}}function UP(e,t){return e(t)}function VP(){}var m0=!1;function qP(e,t,r){if(m0)return e(t,r);m0=!0;try{return UP(e,t,r)}finally{m0=!1,(Cs!==null||Ls!==null)&&(VP(),jP())}}function hc(e,t){var r=e.stateNode;if(r===null)return null;var a=Dm(r);if(a===null)return null;r=a[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(a=!a.disabled)||(e=e.type,a=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!a;break e;default:e=!1}if(e)return null;if(r&&typeof r!="function")throw Error($(231,t,typeof r));return r}var $0=!1;if(ln)try{ls={},Object.defineProperty(ls,"passive",{get:function(){$0=!0}}),window.addEventListener("test",ls,ls),window.removeEventListener("test",ls,ls)}catch{$0=!1}var ls;function Vz(e,t,r,a,n,o,i,s,l){var u=Array.prototype.slice.call(arguments,3);try{t.apply(r,u)}catch(d){this.onError(d)}}var oc=!1,sm=null,lm=!1,X0=null,qz={onError:function(e){oc=!0,sm=e}};function zz(e,t,r,a,n,o,i,s,l){oc=!1,sm=null,Vz.apply(qz,arguments)}function Hz(e,t,r,a,n,o,i,s,l){if(zz.apply(this,arguments),oc){if(oc){var u=sm;oc=!1,sm=null}else throw Error($(198));lm||(lm=!0,X0=u)}}function ti(e){var t=e,r=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,(t.flags&4098)!==0&&(r=t.return),e=t.return;while(e)}return t.tag===3?r:null}function zP(e){if(e.tag===13){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function AI(e){if(ti(e)!==e)throw Error($(188))}function Wz(e){var t=e.alternate;if(!t){if(t=ti(e),t===null)throw Error($(188));return t!==e?null:e}for(var r=e,a=t;;){var n=r.return;if(n===null)break;var o=n.alternate;if(o===null){if(a=n.return,a!==null){r=a;continue}break}if(n.child===o.child){for(o=n.child;o;){if(o===r)return AI(n),e;if(o===a)return AI(n),t;o=o.sibling}throw Error($(188))}if(r.return!==a.return)r=n,a=o;else{for(var i=!1,s=n.child;s;){if(s===r){i=!0,r=n,a=o;break}if(s===a){i=!0,a=n,r=o;break}s=s.sibling}if(!i){for(s=o.child;s;){if(s===r){i=!0,r=o,a=n;break}if(s===a){i=!0,a=o,r=n;break}s=s.sibling}if(!i)throw Error($(189))}}if(r.alternate!==a)throw Error($(190))}if(r.tag!==3)throw Error($(188));return r.stateNode.current===r?e:t}function HP(e){return e=Wz(e),e!==null?WP(e):null}function WP(e){if(e.tag===5||e.tag===6)return e;for(e=e.child;e!==null;){var t=WP(e);if(t!==null)return t;e=e.sibling}return null}var GP=vr.unstable_scheduleCallback,TI=vr.unstable_cancelCallback,Gz=vr.unstable_shouldYield,$z=vr.unstable_requestPaint,it=vr.unstable_now,Xz=vr.unstable_getCurrentPriorityLevel,Mx=vr.unstable_ImmediatePriority,$P=vr.unstable_UserBlockingPriority,um=vr.unstable_NormalPriority,Kz=vr.unstable_LowPriority,XP=vr.unstable_IdlePriority,Em=null,Ma=null;function Yz(e){if(Ma&&typeof Ma.onCommitFiberRoot=="function")try{Ma.onCommitFiberRoot(Em,e,void 0,(e.current.flags&128)===128)}catch{}}var sa=Math.clz32?Math.clz32:Jz,Qz=Math.log,Zz=Math.LN2;function Jz(e){return e>>>=0,e===0?32:31-(Qz(e)/Zz|0)|0}var Dp=64,_p=4194304;function rc(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function cm(e,t){var r=e.pendingLanes;if(r===0)return 0;var a=0,n=e.suspendedLanes,o=e.pingedLanes,i=r&268435455;if(i!==0){var s=i&~n;s!==0?a=rc(s):(o&=i,o!==0&&(a=rc(o)))}else i=r&~n,i!==0?a=rc(i):o!==0&&(a=rc(o));if(a===0)return 0;if(t!==0&&t!==a&&(t&n)===0&&(n=a&-a,o=t&-t,n>=o||n===16&&(o&4194240)!==0))return t;if((a&4)!==0&&(a|=r&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=a;0<t;)r=31-sa(t),n=1<<r,a|=e[r],t&=~n;return a}function e6(e,t){switch(e){case 1:case 2:case 4:return t+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return-1;case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function t6(e,t){for(var r=e.suspendedLanes,a=e.pingedLanes,n=e.expirationTimes,o=e.pendingLanes;0<o;){var i=31-sa(o),s=1<<i,l=n[i];l===-1?((s&r)===0||(s&a)!==0)&&(n[i]=e6(s,t)):l<=t&&(e.expiredLanes|=s),o&=~s}}function K0(e){return e=e.pendingLanes&-1073741825,e!==0?e:e&1073741824?1073741824:0}function KP(){var e=Dp;return Dp<<=1,(Dp&4194240)===0&&(Dp=64),e}function h0(e){for(var t=[],r=0;31>r;r++)t.push(e);return t}
vendor: 8,466 bytes, line 5
5function Ec(e,t,r){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-sa(t),e[t]=r}function r6(e,t){var r=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var a=e.eventTimes;for(e=e.expirationTimes;0<r;){var n=31-sa(r),o=1<<n;t[n]=0,a[n]=-1,e[n]=-1,r&=~o}}function Rx(e,t){var r=e.entangledLanes|=t;for(e=e.entanglements;r;){var a=31-sa(r),n=1<<a;n&t|e[a]&t&&(e[a]|=t),r&=~n}}var Le=0;function YP(e){return e&=-e,1<e?4<e?(e&268435455)!==0?16:536870912:4:1}var QP,Dx,ZP,JP,ek,Y0=!1,Np=[],Kn=null,Yn=null,Qn=null,gc=new Map,vc=new Map,Wn=[],a6="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function EI(e,t){switch(e){case"focusin":case"focusout":Kn=null;break;case"dragenter":case"dragleave":Yn=null;break;case"mouseover":case"mouseout":Qn=null;break;case"pointerover":case"pointerout":gc.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":vc.delete(t.pointerId)}}function $u(e,t,r,a,n,o){return e===null||e.nativeEvent!==o?(e={blockedOn:t,domEventName:r,eventSystemFlags:a,nativeEvent:o,targetContainers:[n]},t!==null&&(t=Mc(t),t!==null&&Dx(t)),e):(e.eventSystemFlags|=a,t=e.targetContainers,n!==null&&t.indexOf(n)===-1&&t.push(n),e)}function n6(e,t,r,a,n){switch(t){case"focusin":return Kn=$u(Kn,e,t,r,a,n),!0;case"dragenter":return Yn=$u(Yn,e,t,r,a,n),!0;case"mouseover":return Qn=$u(Qn,e,t,r,a,n),!0;case"pointerover":var o=n.pointerId;return gc.set(o,$u(gc.get(o)||null,e,t,r,a,n)),!0;case"gotpointercapture":return o=n.pointerId,vc.set(o,$u(vc.get(o)||null,e,t,r,a,n)),!0}return!1}function tk(e){var t=Ho(e.target);if(t!==null){var r=ti(t);if(r!==null){if(t=r.tag,t===13){if(t=zP(r),t!==null){e.blockedOn=t,ek(e.priority,function(){ZP(r)});return}}else if(t===3&&r.stateNode.current.memoizedState.isDehydrated){e.blockedOn=r.tag===3?r.stateNode.containerInfo:null;return}}}e.blockedOn=null}function Yp(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var r=Q0(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(r===null){r=e.nativeEvent;var a=new r.constructor(r.type,r);W0=a,r.target.dispatchEvent(a),W0=null}else return t=Mc(r),t!==null&&Dx(t),e.blockedOn=r,!1;t.shift()}return!0}function OI(e,t,r){Yp(e)&&r.delete(t)}function o6(){Y0=!1,Kn!==null&&Yp(Kn)&&(Kn=null),Yn!==null&&Yp(Yn)&&(Yn=null),Qn!==null&&Yp(Qn)&&(Qn=null),gc.forEach(OI),vc.forEach(OI)}function Xu(e,t){e.blockedOn===t&&(e.blockedOn=null,Y0||(Y0=!0,vr.unstable_scheduleCallback(vr.unstable_NormalPriority,o6)))}function yc(e){function t(n){return Xu(n,e)}if(0<Np.length){Xu(Np[0],e);for(var r=1;r<Np.length;r++){var a=Np[r];a.blockedOn===e&&(a.blockedOn=null)}}for(Kn!==null&&Xu(Kn,e),Yn!==null&&Xu(Yn,e),Qn!==null&&Xu(Qn,e),gc.forEach(t),vc.forEach(t),r=0;r<Wn.length;r++)a=Wn[r],a.blockedOn===e&&(a.blockedOn=null);for(;0<Wn.length&&(r=Wn[0],r.blockedOn===null);)tk(r),r.blockedOn===null&&Wn.shift()}var Is=fn.ReactCurrentBatchConfig,dm=!0;function i6(e,t,r,a){var n=Le,o=Is.transition;Is.transition=null;try{Le=1,_x(e,t,r,a)}finally{Le=n,Is.transition=o}}function s6(e,t,r,a){var n=Le,o=Is.transition;Is.transition=null;try{Le=4,_x(e,t,r,a)}finally{Le=n,Is.transition=o}}function _x(e,t,r,a){if(dm){var n=Q0(e,t,r,a);if(n===null)S0(e,t,a,fm,r),EI(e,a);else if(n6(n,e,t,r,a))a.stopPropagation();else if(EI(e,a),t&4&&-1<a6.indexOf(e)){for(;n!==null;){var o=Mc(n);if(o!==null&&QP(o),o=Q0(e,t,r,a),o===null&&S0(e,t,a,fm,r),o===n)break;n=o}n!==null&&a.stopPropagation()}else S0(e,t,a,null,r)}}var fm=null;function Q0(e,t,r,a){if(fm=null,e=Ox(a),e=Ho(e),e!==null)if(t=ti(e),t===null)e=null;else if(r=t.tag,r===13){if(e=zP(t),e!==null)return e;e=null}else if(r===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null);return fm=e,null}function rk(e){switch(e){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 1;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(Xz()){case Mx:return 1;case $P:return 4;case um:case Kz:return 16;case XP:return 536870912;default:return 16}default:return 16}}var $n=null,Nx=null,Qp=null;function ak(){if(Qp)return Qp;var e,t=Nx,r=t.length,a,n="value"in $n?$n.value:$n.textContent,o=n.length;for(e=0;e<r&&t[e]===n[e];e++);var i=r-e;for(a=1;a<=i&&t[r-a]===n[o-a];a++);return Qp=n.slice(e,1<a?1-a:void 0)}function Zp(e){var t=e.keyCode;return"charCode"in e?(e=e.charCode,e===0&&t===13&&(e=13)):e=t,e===10&&(e=13),32<=e||e===13?e:0}function Fp(){return!0}function MI(){return!1}function yr(e){function t(r,a,n,o,i){this._reactName=r,this._targetInst=n,this.type=a,this.nativeEvent=o,this.target=i,this.currentTarget=null;for(var s in e)e.hasOwnProperty(s)&&(r=e[s],this[s]=r?r(o):o[s]);return this.isDefaultPrevented=(o.defaultPrevented!=null?o.defaultPrevented:o.returnValue===!1)?Fp:MI,this.isPropagationStopped=MI,this}return Ke(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var r=this.nativeEvent;r&&(r.preventDefault?r.preventDefault():typeof r.returnValue!="unknown"&&(r.returnValue=!1),this.isDefaultPrevented=Fp)},stopPropagation:function(){var r=this.nativeEvent;r&&(r.stopPropagation?r.stopPropagation():typeof r.cancelBubble!="unknown"&&(r.cancelBubble=!0),this.isPropagationStopped=Fp)},persist:function(){},isPersistent:Fp}),t}var _s={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Fx=yr(_s),Oc=Ke({},_s,{view:0,detail:0}),l6=yr(Oc),g0,v0,Ku,Om=Ke({},Oc,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Bx,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==Ku&&(Ku&&e.type==="mousemove"?(g0=e.screenX-Ku.screenX,v0=e.screenY-Ku.screenY):v0=g0=0,Ku=e),g0)},movementY:function(e){return"movementY"in e?e.movementY:v0}}),RI=yr(Om),u6=Ke({},Om,{dataTransfer:0}),c6=yr(u6),d6=Ke({},Oc,{relatedTarget:0}),y0=yr(d6),f6=Ke({},_s,{animationName:0,elapsedTime:0,pseudoElement:0}),p6=yr(f6),m6=Ke({},_s,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),h6=yr(m6),g6=Ke({},_s,{data:0}),DI=yr(g6),v6={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},y6={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},x6={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function w6(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=x6[e])?!!t[e]:!1}function Bx(){return w6}var b6=Ke({},Oc,{key:function(e){if(e.key){var t=v6[e.key]||e.key;if(t!=="Unidentified")return t}
vendor: 6,016 bytes, line 5
5return e.type==="keypress"?(e=Zp(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?y6[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Bx,charCode:function(e){return e.type==="keypress"?Zp(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?Zp(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),S6=yr(b6),C6=Ke({},Om,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),_I=yr(C6),L6=Ke({},Oc,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Bx}),I6=yr(L6),P6=Ke({},_s,{propertyName:0,elapsedTime:0,pseudoElement:0}),k6=yr(P6),A6=Ke({},Om,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),T6=yr(A6),E6=[9,13,27,32],jx=ln&&"CompositionEvent"in window,ic=null;ln&&"documentMode"in document&&(ic=document.documentMode);var O6=ln&&"TextEvent"in window&&!ic,nk=ln&&(!jx||ic&&8<ic&&11>=ic),NI=" ",FI=!1;function ok(e,t){switch(e){case"keyup":return E6.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function ik(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var fs=!1;function M6(e,t){switch(e){case"compositionend":return ik(t);case"keypress":return t.which!==32?null:(FI=!0,NI);case"textInput":return e=t.data,e===NI&&FI?null:e;default:return null}}function R6(e,t){if(fs)return e==="compositionend"||!jx&&ok(e,t)?(e=ak(),Qp=Nx=$n=null,fs=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return nk&&t.locale!=="ko"?null:t.data;default:return null}}var D6={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function BI(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!D6[e.type]:t==="textarea"}function sk(e,t,r,a){BP(a),t=pm(t,"onChange"),0<t.length&&(r=new Fx("onChange","change",null,r,a),e.push({event:r,listeners:t}))}var sc=null,xc=null;function _6(e){yk(e,0)}function Mm(e){var t=hs(e);if(OP(t))return e}function N6(e,t){if(e==="change")return t}var lk=!1;ln&&(ln?(jp="oninput"in document,jp||(x0=document.createElement("div"),x0.setAttribute("oninput","return;"),jp=typeof x0.oninput=="function"),Bp=jp):Bp=!1,lk=Bp&&(!document.documentMode||9<document.documentMode));var Bp,jp,x0;function jI(){sc&&(sc.detachEvent("onpropertychange",uk),xc=sc=null)}function uk(e){if(e.propertyName==="value"&&Mm(xc)){var t=[];sk(t,xc,e,Ox(e)),qP(_6,t)}}function F6(e,t,r){e==="focusin"?(jI(),sc=t,xc=r,sc.attachEvent("onpropertychange",uk)):e==="focusout"&&jI()}function B6(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return Mm(xc)}function j6(e,t){if(e==="click")return Mm(t)}function U6(e,t){if(e==="input"||e==="change")return Mm(t)}function V6(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var ua=typeof Object.is=="function"?Object.is:V6;function wc(e,t){if(ua(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var r=Object.keys(e),a=Object.keys(t);if(r.length!==a.length)return!1;for(a=0;a<r.length;a++){var n=r[a];if(!R0.call(t,n)||!ua(e[n],t[n]))return!1}return!0}function UI(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function VI(e,t){var r=UI(e);e=0;for(var a;r;){if(r.nodeType===3){if(a=e+r.textContent.length,e<=t&&a>=t)return{node:r,offset:t-e};e=a}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=UI(r)}}function ck(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?ck(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function dk(){for(var e=window,t=im();t instanceof e.HTMLIFrameElement;){try{var r=typeof t.contentWindow.location.href=="string"}catch{r=!1}if(r)e=t.contentWindow;else break;t=im(e.document)}return t}function Ux(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function q6(e){var t=dk(),r=e.focusedElem,a=e.selectionRange;if(t!==r&&r&&r.ownerDocument&&ck(r.ownerDocument.documentElement,r)){if(a!==null&&Ux(r)){if(t=a.start,e=a.end,e===void 0&&(e=t),"selectionStart"in r)r.selectionStart=t,r.selectionEnd=Math.min(e,r.value.length);else if(e=(t=r.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var n=r.textContent.length,o=Math.min(a.start,n);a=a.end===void 0?o:Math.min(a.end,n),!e.extend&&o>a&&(n=a,a=o,o=n),n=VI(r,o);var i=VI(r,a);n&&i&&(e.rangeCount!==1||e.anchorNode!==n.node||e.anchorOffset!==n.offset||e.focusNode!==i.node||e.focusOffset!==i.offset)&&(t=t.createRange(),t.setStart(n.node,n.offset),e.removeAllRanges(),o>a?(e.addRange(t),e.extend(i.node,i.offset)):(t.setEnd(i.node,i.offset),e.addRange(t)))}}for(t=[],e=r;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof r.focus=="function"&&r.focus(),r=0;r<t.length;r++)e=t[r],e.element.scrollLeft=e.left,e.element.scrollTop=e.top}}var z6=ln&&"documentMode"in document&&11>=document.documentMode,ps=null,Z0=null,lc=null,J0=!1;function qI(e,t,r){var a=r.window===r?r.document:r.nodeType===9?r:r.ownerDocument;J0||ps==null||ps!==im(a)||(a=ps,"selectionStart"in a&&Ux(a)?a={start:a.selectionStart,end:a.selectionEnd}:(a=(a.ownerDocument&&a.ownerDocument.defaultView||window).getSelection(),a={anchorNode:a.anchorNode,anchorOffset:a.anchorOffset,focu
vendor: 4,514 bytes, line 5
5sNode:a.focusNode,focusOffset:a.focusOffset}),lc&&wc(lc,a)||(lc=a,a=pm(Z0,"onSelect"),0<a.length&&(t=new Fx("onSelect","select",null,t,r),e.push({event:t,listeners:a}),t.target=ps)))}function Up(e,t){var r={};return r[e.toLowerCase()]=t.toLowerCase(),r["Webkit"+e]="webkit"+t,r["Moz"+e]="moz"+t,r}var ms={animationend:Up("Animation","AnimationEnd"),animationiteration:Up("Animation","AnimationIteration"),animationstart:Up("Animation","AnimationStart"),transitionend:Up("Transition","TransitionEnd")},w0={},fk={};ln&&(fk=document.createElement("div").style,"AnimationEvent"in window||(delete ms.animationend.animation,delete ms.animationiteration.animation,delete ms.animationstart.animation),"TransitionEvent"in window||delete ms.transitionend.transition);function Rm(e){if(w0[e])return w0[e];if(!ms[e])return e;var t=ms[e],r;for(r in t)if(t.hasOwnProperty(r)&&r in fk)return w0[e]=t[r];return e}var pk=Rm("animationend"),mk=Rm("animationiteration"),hk=Rm("animationstart"),gk=Rm("transitionend"),vk=new Map,zI="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function oo(e,t){vk.set(e,t),ei(t,[e])}for(Vp=0;Vp<zI.length;Vp++)qp=zI[Vp],HI=qp.toLowerCase(),WI=qp[0].toUpperCase()+qp.slice(1),oo(HI,"on"+WI);var qp,HI,WI,Vp;oo(pk,"onAnimationEnd");oo(mk,"onAnimationIteration");oo(hk,"onAnimationStart");oo("dblclick","onDoubleClick");oo("focusin","onFocus");oo("focusout","onBlur");oo(gk,"onTransitionEnd");As("onMouseEnter",["mouseout","mouseover"]);As("onMouseLeave",["mouseout","mouseover"]);As("onPointerEnter",["pointerout","pointerover"]);As("onPointerLeave",["pointerout","pointerover"]);ei("onChange","change click focusin focusout input keydown keyup selectionchange".split(" "));ei("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" "));ei("onBeforeInput",["compositionend","keypress","textInput","paste"]);ei("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" "));ei("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" "));ei("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var ac="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),H6=new Set("cancel close invalid load scroll toggle".split(" ").concat(ac));function GI(e,t,r){var a=e.type||"unknown-event";e.currentTarget=r,Hz(a,t,void 0,e),e.currentTarget=null}function yk(e,t){t=(t&4)!==0;for(var r=0;r<e.length;r++){var a=e[r],n=a.event;a=a.listeners;e:{var o=void 0;if(t)for(var i=a.length-1;0<=i;i--){var s=a[i],l=s.instance,u=s.currentTarget;if(s=s.listener,l!==o&&n.isPropagationStopped())break e;GI(n,s,u),o=l}else for(i=0;i<a.length;i++){if(s=a[i],l=s.instance,u=s.currentTarget,s=s.listener,l!==o&&n.isPropagationStopped())break e;GI(n,s,u),o=l}}}if(lm)throw e=X0,lm=!1,X0=null,e}function _e(e,t){var r=t[nx];r===void 0&&(r=t[nx]=new Set);var a=e+"__bubble";r.has(a)||(xk(t,e,2,!1),r.add(a))}function b0(e,t,r){var a=0;t&&(a|=4),xk(r,e,a,t)}var zp="_reactListening"+Math.random().toString(36).slice(2);function bc(e){if(!e[zp]){e[zp]=!0,PP.forEach(function(r){r!=="selectionchange"&&(H6.has(r)||b0(r,!1,e),b0(r,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[zp]||(t[zp]=!0,b0("selectionchange",!1,t))}}function xk(e,t,r,a){switch(rk(t)){case 1:var n=i6;break;case 4:n=s6;break;default:n=_x}r=n.bind(null,t,r,e),n=void 0,!$0||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(n=!0),a?n!==void 0?e.addEventListener(t,r,{capture:!0,passive:n}):e.addEventListener(t,r,!0):n!==void 0?e.addEventListener(t,r,{passive:n}):e.addEventListener(t,r,!1)}function S0(e,t,r,a,n){var o=a;if((t&1)===0&&(t&2)===0&&a!==null)e:for(;;){if(a===null)return;var i=a.tag;if(i===3||i===4){var s=a.stateNode.containerInfo;
vendor: 6,965 bytes, lines 5-6
5if(s===n||s.nodeType===8&&s.parentNode===n)break;if(i===4)for(i=a.return;i!==null;){var l=i.tag;if((l===3||l===4)&&(l=i.stateNode.containerInfo,l===n||l.nodeType===8&&l.parentNode===n))return;i=i.return}for(;s!==null;){if(i=Ho(s),i===null)return;if(l=i.tag,l===5||l===6){a=o=i;continue e}s=s.parentNode}}a=a.return}qP(function(){var u=o,d=Ox(r),c=[];e:{var f=vk.get(e);if(f!==void 0){var p=Fx,v=e;switch(e){case"keypress":if(Zp(r)===0)break e;case"keydown":case"keyup":p=S6;break;case"focusin":v="focus",p=y0;break;case"focusout":v="blur",p=y0;break;case"beforeblur":case"afterblur":p=y0;break;case"click":if(r.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":p=RI;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":p=c6;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":p=I6;break;case pk:case mk:case hk:p=p6;break;case gk:p=k6;break;case"scroll":p=l6;break;case"wheel":p=T6;break;case"copy":case"cut":case"paste":p=h6;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":p=_I}var m=(t&4)!==0,w=!m&&e==="scroll",h=m?f!==null?f+"Capture":null:f;m=[];for(var g=u,y;g!==null;){y=g;var S=y.stateNode;if(y.tag===5&&S!==null&&(y=S,h!==null&&(S=hc(g,h),S!=null&&m.push(Sc(g,S,y)))),w)break;g=g.return}0<m.length&&(f=new p(f,v,null,r,d),c.push({event:f,listeners:m}))}}if((t&7)===0){e:{if(f=e==="mouseover"||e==="pointerover",p=e==="mouseout"||e==="pointerout",f&&r!==W0&&(v=r.relatedTarget||r.fromElement)&&(Ho(v)||v[un]))break e;if((p||f)&&(f=d.window===d?d:(f=d.ownerDocument)?f.defaultView||f.parentWindow:window,p?(v=r.relatedTarget||r.toElement,p=u,v=v?Ho(v):null,v!==null&&(w=ti(v),v!==w||v.tag!==5&&v.tag!==6)&&(v=null)):(p=null,v=u),p!==v)){if(m=RI,S="onMouseLeave",h="onMouseEnter",g="mouse",(e==="pointerout"||e==="pointerover")&&(m=_I,S="onPointerLeave",h="onPointerEnter",g="pointer"),w=p==null?f:hs(p),y=v==null?f:hs(v),f=new m(S,g+"leave",p,r,d),f.target=w,f.relatedTarget=y,S=null,Ho(d)===u&&(m=new m(h,g+"enter",v,r,d),m.target=y,m.relatedTarget=w,S=m),w=S,p&&v)t:{for(m=p,h=v,g=0,y=m;y;y=us(y))g++;for(y=0,S=h;S;S=us(S))y++;for(;0<g-y;)m=us(m),g--;for(;0<y-g;)h=us(h),y--;for(;g--;){if(m===h||h!==null&&m===h.alternate)break t;m=us(m),h=us(h)}m=null}else m=null;p!==null&&$I(c,f,p,m,!1),v!==null&&w!==null&&$I(c,w,v,m,!0)}}e:{if(f=u?hs(u):window,p=f.nodeName&&f.nodeName.toLowerCase(),p==="select"||p==="input"&&f.type==="file")var x=N6;else if(BI(f))if(lk)x=U6;else{x=B6;var b=F6}else(p=f.nodeName)&&p.toLowerCase()==="input"&&(f.type==="checkbox"||f.type==="radio")&&(x=j6);if(x&&(x=x(e,u))){sk(c,x,r,d);break e}b&&b(e,f,u),e==="focusout"&&(b=f._wrapperState)&&b.controlled&&f.type==="number"&&U0(f,"number",f.value)}switch(b=u?hs(u):window,e){case"focusin":(BI(b)||b.contentEditable==="true")&&(ps=b,Z0=u,lc=null);break;case"focusout":lc=Z0=ps=null;break;case"mousedown":J0=!0;break;case"contextmenu":case"mouseup":case"dragend":J0=!1,qI(c,r,d);break;case"selectionchange":if(z6)break;case"keydown":case"keyup":qI(c,r,d)}var C;if(jx)e:{switch(e){case"compositionstart":var P="onCompositionStart";break e;case"compositionend":P="onCompositionEnd";break e;case"compositionupdate":P="onCompositionUpdate";break e}P=void 0}else fs?ok(e,r)&&(P="onCompositionEnd"):e==="keydown"&&r.keyCode===229&&(P="onCompositionStart");P&&(nk&&r.locale!=="ko"&&(fs||P!=="onCompositionStart"?P==="onCompositionEnd"&&fs&&(C=ak()):($n=d,Nx="value"in $n?$n.value:$n.textContent,fs=!0)),b=pm(u,P),0<b.length&&(P=new DI(P,e,null,r,d),c.push({event:P,listeners:b}),C?P.data=C:(C=ik(r),C!==null&&(P.data=C)))),(C=O6?M6(e,r):R6(e,r))&&(u=pm(u,"onBeforeInput"),0<u.length&&(d=new DI("onBeforeInput","beforeinput",null,r,d),c.push({event:d,listeners:u}),d.data=C))}yk(c,t)})}function Sc(e,t,r){return{instance:e,listener:t,currentTarget:r}}function pm(e,t){for(var r=t+"Capture",a=[];e!==null;){var n=e,o=n.stateNode;n.tag===5&&o!==null&&(n=o,o=hc(e,r),o!=null&&a.unshift(Sc(e,o,n)),o=hc(e,t),o!=null&&a.push(Sc(e,o,n))),e=e.return}return a}function us(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5);return e||null}function $I(e,t,r,a,n){for(var o=t._reactName,i=[];r!==null&&r!==a;){var s=r,l=s.alternate,u=s.stateNode;if(l!==null&&l===a)break;s.tag===5&&u!==null&&(s=u,n?(l=hc(r,o),l!=null&&i.unshift(Sc(r,l,s))):n||(l=hc(r,o),l!=null&&i.push(Sc(r,l,s)))),r=r.return}i.length!==0&&e.push({event:t,listeners:i})}var W6=/\r\n?/g,G6=/\u0000|\uFFFD/g;function XI(e){return(typeof e=="string"?e:""+e).replace(W6,`
6`).replace(G6,"")}function Hp(e,t,r){if(t=XI(t),XI(e)!==t&&r)throw Error($(425))}function mm(){}var ex=null,tx=null;function rx(e,t){return e==="textarea"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}var ax=typeof setTimeout=="function"?setTimeout:void 0,$6=typeof clearTimeout=="function"?clearTimeout:void 0,KI=typeof Promise=="function"?Promise:void 0,X6=typeof queueMicrotask=="function"?queueMicrotask:typeof KI<"u"?function(e){return KI.resolve(null).then(e).catch(K6)}:ax;function K6(e){setTimeout(function(){throw e})}function C0(e,t){var r=t,a=0;do{var n=r.nextSibling;if(e.removeChild(r),n&&n.nodeType===8)if(r=n.data,r==="/$"){if(a===0){e.removeChild(n),yc(t);return}a--}else r!=="$"&&r!=="$?"&&r!=="$!"||a++;r=n}while(r);yc(t)}function Zn(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break;if(t===8){if(t=e.data,t==="$"||t==="$!"||t==="$?")break;if(t==="/$")return null}}return e}function YI(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var r=e.data;if(r==="$"||r==="$!"||r==="$?"){if(t===0)return e;t--}else r==="/$"&&t++}e=e.previousSibling}return null}var Ns=Math.random().toString(36).slice(2),Oa="__reactFiber$"+Ns,Cc="__reactProps$"+Ns,un="__reactContainer$"+Ns,nx="__reactEvents$"+Ns,Y6="__reactListeners$"+Ns,Q6="__reactHandles$"+Ns;function Ho(e){var t=e[Oa];if(t)return t;for(var r=e.parentNode;r;){if(t=r[un]||r[Oa]){if(r=t.alternate,t.child!==null||r!==null&&r.child!==null)for(e=YI(e);e!==null;){if(r=e[Oa])return r;e=YI(e)}return t}e=r,r=e.parentNode}return null}function Mc(e){return e=e[Oa]||e[un],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function hs(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error($(33))}function Dm(e){return e[Cc]||null}var ox=[],gs=-1;function io(e){return{current:e}}function Ne(e){0>gs||(e.current=ox[gs],ox[gs]=null,gs--)}function Oe(e,t){gs++,ox[gs]=e.current,e.current=t}var no={},Bt=io(no),ar=io(!1),Ko=no;function Ts(e,t){var r=e.type.contextTypes;if(!r)return no;var a=e.stateNode;if(a&&a.__reactInternalMemoizedUnmaskedChildContext===t)return a.__reactInternalMemoizedMaskedChildContext;var n={},o;
vendor: 4,190 bytes, line 6
6for(o in r)n[o]=t[o];return a&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=n),n}function nr(e){return e=e.childContextTypes,e!=null}function hm(){Ne(ar),Ne(Bt)}function QI(e,t,r){if(Bt.current!==no)throw Error($(168));Oe(Bt,t),Oe(ar,r)}function wk(e,t,r){var a=e.stateNode;if(t=t.childContextTypes,typeof a.getChildContext!="function")return r;a=a.getChildContext();for(var n in a)if(!(n in t))throw Error($(108,Fz(e)||"Unknown",n));return Ke({},r,a)}function gm(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||no,Ko=Bt.current,Oe(Bt,e),Oe(ar,ar.current),!0}function ZI(e,t,r){var a=e.stateNode;if(!a)throw Error($(169));r?(e=wk(e,t,Ko),a.__reactInternalMemoizedMergedChildContext=e,Ne(ar),Ne(Bt),Oe(Bt,e)):Ne(ar),Oe(ar,r)}var an=null,_m=!1,L0=!1;function bk(e){an===null?an=[e]:an.push(e)}function Z6(e){_m=!0,bk(e)}function so(){if(!L0&&an!==null){L0=!0;var e=0,t=Le;try{var r=an;for(Le=1;e<r.length;e++){var a=r[e];do a=a(!0);while(a!==null)}an=null,_m=!1}catch(n){throw an!==null&&(an=an.slice(e+1)),GP(Mx,so),n}finally{Le=t,L0=!1}}return null}var vs=[],ys=0,vm=null,ym=0,Mr=[],Rr=0,Yo=null,nn=1,on="";function qo(e,t){vs[ys++]=ym,vs[ys++]=vm,vm=e,ym=t}function Sk(e,t,r){Mr[Rr++]=nn,Mr[Rr++]=on,Mr[Rr++]=Yo,Yo=e;var a=nn;e=on;var n=32-sa(a)-1;a&=~(1<<n),r+=1;var o=32-sa(t)+n;if(30<o){var i=n-n%5;o=(a&(1<<i)-1).toString(32),a>>=i,n-=i,nn=1<<32-sa(t)+n|r<<n|a,on=o+e}else nn=1<<o|r<<n|a,on=e}function Vx(e){e.return!==null&&(qo(e,1),Sk(e,1,0))}function qx(e){for(;e===vm;)vm=vs[--ys],vs[ys]=null,ym=vs[--ys],vs[ys]=null;for(;e===Yo;)Yo=Mr[--Rr],Mr[Rr]=null,on=Mr[--Rr],Mr[Rr]=null,nn=Mr[--Rr],Mr[Rr]=null}var gr=null,hr=null,qe=!1,ia=null;function Ck(e,t){var r=Dr(5,null,null,0);r.elementType="DELETED",r.stateNode=t,r.return=e,t=e.deletions,t===null?(e.deletions=[r],e.flags|=16):t.push(r)}function JI(e,t){switch(e.tag){case 5:var r=e.type;return t=t.nodeType!==1||r.toLowerCase()!==t.nodeName.toLowerCase()?null:t,t!==null?(e.stateNode=t,gr=e,hr=Zn(t.firstChild),!0):!1;case 6:return t=e.pendingProps===""||t.nodeType!==3?null:t,t!==null?(e.stateNode=t,gr=e,hr=null,!0):!1;case 13:return t=t.nodeType!==8?null:t,t!==null?(r=Yo!==null?{id:nn,overflow:on}:null,e.memoizedState={dehydrated:t,treeContext:r,retryLane:1073741824},r=Dr(18,null,null,0),r.stateNode=t,r.return=e,e.child=r,gr=e,hr=null,!0):!1;default:return!1}}function ix(e){return(e.mode&1)!==0&&(e.flags&128)===0}function sx(e){if(qe){var t=hr;if(t){var r=t;if(!JI(e,t)){if(ix(e))throw Error($(418));t=Zn(r.nextSibling);var a=gr;t&&JI(e,t)?Ck(a,r):(e.flags=e.flags&-4097|2,qe=!1,gr=e)}}else{if(ix(e))throw Error($(418));e.flags=e.flags&-4097|2,qe=!1,gr=e}}}function eP(e){for(e=e.return;e!==null&&e.tag!==5&&e.tag!==3&&e.tag!==13;)e=e.return;gr=e}function Wp(e){if(e!==gr)return!1;if(!qe)return eP(e),qe=!0,!1;var t;if((t=e.tag!==3)&&!(t=e.tag!==5)&&(t=e.type,t=t!=="head"&&t!=="body"&&!rx(e.type,e.memoizedProps)),t&&(t=hr)){if(ix(e))throw Lk(),Error($(418));for(;t;)Ck(e,t),t=Zn(t.nextSibling)}if(eP(e),e.tag===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error($(317));e:{for(e=e.nextSibling,t=0;e;){if(e.nodeType===8){var r=e.data;if(r==="/$"){if(t===0){hr=Zn(e.nextSibling);break e}t--}else r!=="$"&&r!=="$!"&&r!=="$?"||t++}e=e.nextSibling}hr=null}}else hr=gr?Zn(e.stateNode.nextSibling):null;return!0}function Lk(){for(var e=hr;e;)e=Zn(e.nextSibling)}function Es(){hr=gr=null,qe=!1}function zx(e){ia===null?ia=[e]:ia.push(e)}var J6=fn.ReactCurrentBatchConfig;function Yu(e,t,r){if(e=r.ref,e!==null&&typeof e!="function"&&typeof e!="object"){if(r._owner){if(r=r._owner,r){if(r.tag!==1)throw Error($(309));var a=r.stateNode}if(!a)throw Error($(147,e));var n=a,o=""+e;return t!==null&&t.ref!==null&&typeof t.ref=="function"&&t.ref._stringRef===o?t.ref:(t=function(i){var s=n.refs;i===null?delete s[o]:s[o]=i},t._stringRef=o,t)}if(typeof e!="string")throw Error($(284));if(!r._owner)throw Error($(290,e))}return e}function Gp(e,t){throw e=Object.prototype.toString.call(t),Error($(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function tP(e){var t=e._init;return t(e._payload)}
vendor: 4,351 bytes, line 6
6function Ik(e){function t(h,g){if(e){var y=h.deletions;y===null?(h.deletions=[g],h.flags|=16):y.push(g)}}function r(h,g){if(!e)return null;for(;g!==null;)t(h,g),g=g.sibling;return null}function a(h,g){for(h=new Map;g!==null;)g.key!==null?h.set(g.key,g):h.set(g.index,g),g=g.sibling;return h}function n(h,g){return h=ro(h,g),h.index=0,h.sibling=null,h}function o(h,g,y){return h.index=y,e?(y=h.alternate,y!==null?(y=y.index,y<g?(h.flags|=2,g):y):(h.flags|=2,g)):(h.flags|=1048576,g)}function i(h){return e&&h.alternate===null&&(h.flags|=2),h}function s(h,g,y,S){return g===null||g.tag!==6?(g=O0(y,h.mode,S),g.return=h,g):(g=n(g,y),g.return=h,g)}function l(h,g,y,S){var x=y.type;return x===ds?d(h,g,y.props.children,S,y.key):g!==null&&(g.elementType===x||typeof x=="object"&&x!==null&&x.$$typeof===zn&&tP(x)===g.type)?(S=n(g,y.props),S.ref=Yu(h,g,y),S.return=h,S):(S=om(y.type,y.key,y.props,null,h.mode,S),S.ref=Yu(h,g,y),S.return=h,S)}function u(h,g,y,S){return g===null||g.tag!==4||g.stateNode.containerInfo!==y.containerInfo||g.stateNode.implementation!==y.implementation?(g=M0(y,h.mode,S),g.return=h,g):(g=n(g,y.children||[]),g.return=h,g)}function d(h,g,y,S,x){return g===null||g.tag!==7?(g=Xo(y,h.mode,S,x),g.return=h,g):(g=n(g,y),g.return=h,g)}function c(h,g,y){if(typeof g=="string"&&g!==""||typeof g=="number")return g=O0(""+g,h.mode,y),g.return=h,g;if(typeof g=="object"&&g!==null){switch(g.$$typeof){case Op:return y=om(g.type,g.key,g.props,null,h.mode,y),y.ref=Yu(h,null,g),y.return=h,y;case cs:return g=M0(g,h.mode,y),g.return=h,g;case zn:var S=g._init;return c(h,S(g._payload),y)}if(tc(g)||Gu(g))return g=Xo(g,h.mode,y,null),g.return=h,g;Gp(h,g)}return null}function f(h,g,y,S){var x=g!==null?g.key:null;if(typeof y=="string"&&y!==""||typeof y=="number")return x!==null?null:s(h,g,""+y,S);if(typeof y=="object"&&y!==null){switch(y.$$typeof){case Op:return y.key===x?l(h,g,y,S):null;case cs:return y.key===x?u(h,g,y,S):null;case zn:return x=y._init,f(h,g,x(y._payload),S)}if(tc(y)||Gu(y))return x!==null?null:d(h,g,y,S,null);Gp(h,y)}return null}function p(h,g,y,S,x){if(typeof S=="string"&&S!==""||typeof S=="number")return h=h.get(y)||null,s(g,h,""+S,x);if(typeof S=="object"&&S!==null){switch(S.$$typeof){case Op:return h=h.get(S.key===null?y:S.key)||null,l(g,h,S,x);case cs:return h=h.get(S.key===null?y:S.key)||null,u(g,h,S,x);case zn:var b=S._init;return p(h,g,y,b(S._payload),x)}if(tc(S)||Gu(S))return h=h.get(y)||null,d(g,h,S,x,null);Gp(g,S)}return null}function v(h,g,y,S){for(var x=null,b=null,C=g,P=g=0,O=null;C!==null&&P<y.length;P++){C.index>P?(O=C,C=null):O=C.sibling;var R=f(h,C,y[P],S);if(R===null){C===null&&(C=O);break}e&&C&&R.alternate===null&&t(h,C),g=o(R,g,P),b===null?x=R:b.sibling=R,b=R,C=O}if(P===y.length)return r(h,C),qe&&qo(h,P),x;if(C===null){for(;P<y.length;P++)C=c(h,y[P],S),C!==null&&(g=o(C,g,P),b===null?x=C:b.sibling=C,b=C);return qe&&qo(h,P),x}for(C=a(h,C);P<y.length;P++)O=p(C,h,P,y[P],S),O!==null&&(e&&O.alternate!==null&&C.delete(O.key===null?P:O.key),g=o(O,g,P),b===null?x=O:b.sibling=O,b=O);return e&&C.forEach(function(N){return t(h,N)}),qe&&qo(h,P),x}function m(h,g,y,S){var x=Gu(y);if(typeof x!="function")throw Error($(150));if(y=x.call(y),y==null)throw Error($(151));for(var b=x=null,C=g,P=g=0,O=null,R=y.next();C!==null&&!R.done;P++,R=y.next()){C.index>P?(O=C,C=null):O=C.sibling;var N=f(h,C,R.value,S);if(N===null){C===null&&(C=O);break}e&&C&&N.alternate===null&&t(h,C),g=o(N,g,P),b===null?x=N:b.sibling=N,b=N,C=O}if(R.done)return r(h,C),qe&&qo(h,P),x;if(C===null){for(;!R.done;P++,R=y.next())R=c(h,R.value,S),R!==null&&(g=o(R,g,P),b===null?x=R:b.sibling=R,b=R);return qe&&qo(h,P),x}for(C=a(h,C);!R.done;P++,R=y.next())R=p(C,h,P,R.value,S),R!==null&&(e&&R.alternate!==null&&C.delete(R.key===null?P:R.key),g=o(R,g,P),b===null?x=R:b.sibling=R,b=R);return e&&C.forEach(function(F){return t(h,F)}),qe&&qo(h,P),x}function w(h,g,y,S){if(typeof y=="object"&&y!==null&&y.type===ds&&y.key===null&&(y=y.props.children),typeof y=="object"&&y!==null){switch(y.$$typeof){case Op:e:{for(var x=y.key,b=g;b!==null;){if(b.key===x){if(x=y.type,x===ds){if(b.tag===7){r(h,b.sibling),g=n(b,y.props.children),g.return=h,h=g;break e}}else if(b.elementType===x||typeof x=="object"&&x!==null&&x.$$typeof===zn&&tP(x)===b.type){r(h,b.sibling),g=n(b,y.props),g.ref=Yu(h,b,y),g.return=h,h=g;break e}r(h,b);break}else t(h,b);
vendor: 5,073 bytes, line 6
6b=b.sibling}y.type===ds?(g=Xo(y.props.children,h.mode,S,y.key),g.return=h,h=g):(S=om(y.type,y.key,y.props,null,h.mode,S),S.ref=Yu(h,g,y),S.return=h,h=S)}return i(h);case cs:e:{for(b=y.key;g!==null;){if(g.key===b)if(g.tag===4&&g.stateNode.containerInfo===y.containerInfo&&g.stateNode.implementation===y.implementation){r(h,g.sibling),g=n(g,y.children||[]),g.return=h,h=g;break e}else{r(h,g);break}else t(h,g);g=g.sibling}g=M0(y,h.mode,S),g.return=h,h=g}return i(h);case zn:return b=y._init,w(h,g,b(y._payload),S)}if(tc(y))return v(h,g,y,S);if(Gu(y))return m(h,g,y,S);Gp(h,y)}return typeof y=="string"&&y!==""||typeof y=="number"?(y=""+y,g!==null&&g.tag===6?(r(h,g.sibling),g=n(g,y),g.return=h,h=g):(r(h,g),g=O0(y,h.mode,S),g.return=h,h=g),i(h)):r(h,g)}return w}var Os=Ik(!0),Pk=Ik(!1),xm=io(null),wm=null,xs=null,Hx=null;function Wx(){Hx=xs=wm=null}function Gx(e){var t=xm.current;Ne(xm),e._currentValue=t}function lx(e,t,r){for(;e!==null;){var a=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,a!==null&&(a.childLanes|=t)):a!==null&&(a.childLanes&t)!==t&&(a.childLanes|=t),e===r)break;e=e.return}}function Ps(e,t){wm=e,Hx=xs=null,e=e.dependencies,e!==null&&e.firstContext!==null&&((e.lanes&t)!==0&&(rr=!0),e.firstContext=null)}function Nr(e){var t=e._currentValue;if(Hx!==e)if(e={context:e,memoizedValue:t,next:null},xs===null){if(wm===null)throw Error($(308));xs=e,wm.dependencies={lanes:0,firstContext:e}}else xs=xs.next=e;return t}var Wo=null;function $x(e){Wo===null?Wo=[e]:Wo.push(e)}function kk(e,t,r,a){var n=t.interleaved;return n===null?(r.next=r,$x(t)):(r.next=n.next,n.next=r),t.interleaved=r,cn(e,a)}function cn(e,t){e.lanes|=t;var r=e.alternate;for(r!==null&&(r.lanes|=t),r=e,e=e.return;e!==null;)e.childLanes|=t,r=e.alternate,r!==null&&(r.childLanes|=t),r=e,e=e.return;return r.tag===3?r.stateNode:null}var Hn=!1;function Xx(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Ak(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function sn(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function Jn(e,t,r){var a=e.updateQueue;if(a===null)return null;if(a=a.shared,(ve&2)!==0){var n=a.pending;return n===null?t.next=t:(t.next=n.next,n.next=t),a.pending=t,cn(e,r)}return n=a.interleaved,n===null?(t.next=t,$x(a)):(t.next=n.next,n.next=t),a.interleaved=t,cn(e,r)}function Jp(e,t,r){if(t=t.updateQueue,t!==null&&(t=t.shared,(r&4194240)!==0)){var a=t.lanes;a&=e.pendingLanes,r|=a,t.lanes=r,Rx(e,r)}}function rP(e,t){var r=e.updateQueue,a=e.alternate;if(a!==null&&(a=a.updateQueue,r===a)){var n=null,o=null;if(r=r.firstBaseUpdate,r!==null){do{var i={eventTime:r.eventTime,lane:r.lane,tag:r.tag,payload:r.payload,callback:r.callback,next:null};o===null?n=o=i:o=o.next=i,r=r.next}while(r!==null);o===null?n=o=t:o=o.next=t}else n=o=t;r={baseState:a.baseState,firstBaseUpdate:n,lastBaseUpdate:o,shared:a.shared,effects:a.effects},e.updateQueue=r;return}e=r.lastBaseUpdate,e===null?r.firstBaseUpdate=t:e.next=t,r.lastBaseUpdate=t}function bm(e,t,r,a){var n=e.updateQueue;Hn=!1;var o=n.firstBaseUpdate,i=n.lastBaseUpdate,s=n.shared.pending;if(s!==null){n.shared.pending=null;var l=s,u=l.next;l.next=null,i===null?o=u:i.next=u,i=l;var d=e.alternate;d!==null&&(d=d.updateQueue,s=d.lastBaseUpdate,s!==i&&(s===null?d.firstBaseUpdate=u:s.next=u,d.lastBaseUpdate=l))}if(o!==null){var c=n.baseState;i=0,d=u=l=null,s=o;do{var f=s.lane,p=s.eventTime;if((a&f)===f){d!==null&&(d=d.next={eventTime:p,lane:0,tag:s.tag,payload:s.payload,callback:s.callback,next:null});e:{var v=e,m=s;switch(f=t,p=r,m.tag){case 1:if(v=m.payload,typeof v=="function"){c=v.call(p,c,f);break e}c=v;break e;case 3:v.flags=v.flags&-65537|128;case 0:if(v=m.payload,f=typeof v=="function"?v.call(p,c,f):v,f==null)break e;c=Ke({},c,f);break e;case 2:Hn=!0}}s.callback!==null&&s.lane!==0&&(e.flags|=64,f=n.effects,f===null?n.effects=[s]:f.push(s))}else p={eventTime:p,lane:f,tag:s.tag,payload:s.payload,callback:s.callback,next:null},d===null?(u=d=p,l=c):d=d.next=p,i|=f;if(s=s.next,s===null){if(s=n.shared.pending,s===null)break;f=s,s=f.next,f.next=null,n.lastBaseUpdate=f,n.shared.pending=null}}while(!0);if(d===null&&(l=c),n.baseState=l,n.firstBaseUpdate=u,n.lastBaseUpdate=d,t=n.shared.interleaved,t!==null){n=t;do i|=n.lane,n=n.next;while(n!==t)}else o===null&&(n.shared.lanes=0);Zo|=i,e.lanes=i,e.memoizedState=c}}function aP(e,t,r){if(e=t.effects,t.effects=null,e!==null)for(t=0;t<e.length;t++){var a=e[t],n=a.callback;if(n!==null){if(a.callback=null,a=r,typeof n!="function")throw Error($(191,n));n.call(a)}}}var Rc={},Ra=io(Rc),Lc=io(Rc),Ic=io(Rc);function Go(e){if(e===Rc)throw Error($(174));return e}function Kx(e,t){switch(Oe(Ic,t),Oe(Lc,e),Oe(Ra,Rc),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:q0(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=q0(t,e)}Ne(Ra),Oe(Ra,t)}
vendor: 7,764 bytes, line 6
6function Ms(){Ne(Ra),Ne(Lc),Ne(Ic)}function Tk(e){Go(Ic.current);var t=Go(Ra.current),r=q0(t,e.type);t!==r&&(Oe(Lc,e),Oe(Ra,r))}function Yx(e){Lc.current===e&&(Ne(Ra),Ne(Lc))}var $e=io(0);function Sm(e){for(var t=e;t!==null;){if(t.tag===13){var r=t.memoizedState;if(r!==null&&(r=r.dehydrated,r===null||r.data==="$?"||r.data==="$!"))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){if((t.flags&128)!==0)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var I0=[];function Qx(){for(var e=0;e<I0.length;e++)I0[e]._workInProgressVersionPrimary=null;I0.length=0}var em=fn.ReactCurrentDispatcher,P0=fn.ReactCurrentBatchConfig,Qo=0,Xe=null,pt=null,Ct=null,Cm=!1,uc=!1,Pc=0,e8=0;function _t(){throw Error($(321))}function Zx(e,t){if(t===null)return!1;for(var r=0;r<t.length&&r<e.length;r++)if(!ua(e[r],t[r]))return!1;return!0}function Jx(e,t,r,a,n,o){if(Qo=o,Xe=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,em.current=e===null||e.memoizedState===null?n8:o8,e=r(a,n),uc){o=0;do{if(uc=!1,Pc=0,25<=o)throw Error($(301));o+=1,Ct=pt=null,t.updateQueue=null,em.current=i8,e=r(a,n)}while(uc)}if(em.current=Lm,t=pt!==null&&pt.next!==null,Qo=0,Ct=pt=Xe=null,Cm=!1,t)throw Error($(300));return e}function ew(){var e=Pc!==0;return Pc=0,e}function Ea(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Ct===null?Xe.memoizedState=Ct=e:Ct=Ct.next=e,Ct}function Fr(){if(pt===null){var e=Xe.alternate;e=e!==null?e.memoizedState:null}else e=pt.next;var t=Ct===null?Xe.memoizedState:Ct.next;if(t!==null)Ct=t,pt=e;else{if(e===null)throw Error($(310));pt=e,e={memoizedState:pt.memoizedState,baseState:pt.baseState,baseQueue:pt.baseQueue,queue:pt.queue,next:null},Ct===null?Xe.memoizedState=Ct=e:Ct=Ct.next=e}return Ct}function kc(e,t){return typeof t=="function"?t(e):t}function k0(e){var t=Fr(),r=t.queue;if(r===null)throw Error($(311));r.lastRenderedReducer=e;var a=pt,n=a.baseQueue,o=r.pending;if(o!==null){if(n!==null){var i=n.next;n.next=o.next,o.next=i}a.baseQueue=n=o,r.pending=null}if(n!==null){o=n.next,a=a.baseState;var s=i=null,l=null,u=o;do{var d=u.lane;if((Qo&d)===d)l!==null&&(l=l.next={lane:0,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null}),a=u.hasEagerState?u.eagerState:e(a,u.action);else{var c={lane:d,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null};l===null?(s=l=c,i=a):l=l.next=c,Xe.lanes|=d,Zo|=d}u=u.next}while(u!==null&&u!==o);l===null?i=a:l.next=s,ua(a,t.memoizedState)||(rr=!0),t.memoizedState=a,t.baseState=i,t.baseQueue=l,r.lastRenderedState=a}if(e=r.interleaved,e!==null){n=e;do o=n.lane,Xe.lanes|=o,Zo|=o,n=n.next;while(n!==e)}else n===null&&(r.lanes=0);return[t.memoizedState,r.dispatch]}function A0(e){var t=Fr(),r=t.queue;if(r===null)throw Error($(311));r.lastRenderedReducer=e;var a=r.dispatch,n=r.pending,o=t.memoizedState;if(n!==null){r.pending=null;var i=n=n.next;do o=e(o,i.action),i=i.next;while(i!==n);ua(o,t.memoizedState)||(rr=!0),t.memoizedState=o,t.baseQueue===null&&(t.baseState=o),r.lastRenderedState=o}return[o,a]}function Ek(){}function Ok(e,t){var r=Xe,a=Fr(),n=t(),o=!ua(a.memoizedState,n);if(o&&(a.memoizedState=n,rr=!0),a=a.queue,tw(Dk.bind(null,r,a,e),[e]),a.getSnapshot!==t||o||Ct!==null&&Ct.memoizedState.tag&1){if(r.flags|=2048,Ac(9,Rk.bind(null,r,a,n,t),void 0,null),Lt===null)throw Error($(349));(Qo&30)!==0||Mk(r,t,n)}return n}function Mk(e,t,r){e.flags|=16384,e={getSnapshot:t,value:r},t=Xe.updateQueue,t===null?(t={lastEffect:null,stores:null},Xe.updateQueue=t,t.stores=[e]):(r=t.stores,r===null?t.stores=[e]:r.push(e))}function Rk(e,t,r,a){t.value=r,t.getSnapshot=a,_k(t)&&Nk(e)}function Dk(e,t,r){return r(function(){_k(t)&&Nk(e)})}function _k(e){var t=e.getSnapshot;e=e.value;try{var r=t();return!ua(e,r)}catch{return!0}}function Nk(e){var t=cn(e,1);t!==null&&la(t,e,1,-1)}function nP(e){var t=Ea();return typeof e=="function"&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:kc,lastRenderedState:e},t.queue=e,e=e.dispatch=a8.bind(null,Xe,e),[t.memoizedState,e]}function Ac(e,t,r,a){return e={tag:e,create:t,destroy:r,deps:a,next:null},t=Xe.updateQueue,t===null?(t={lastEffect:null,stores:null},Xe.updateQueue=t,t.lastEffect=e.next=e):(r=t.lastEffect,r===null?t.lastEffect=e.next=e:(a=r.next,r.next=e,e.next=a,t.lastEffect=e)),e}function Fk(){return Fr().memoizedState}function tm(e,t,r,a){var n=Ea();Xe.flags|=e,n.memoizedState=Ac(1|t,r,void 0,a===void 0?null:a)}function Nm(e,t,r,a){var n=Fr();a=a===void 0?null:a;var o=void 0;if(pt!==null){var i=pt.memoizedState;if(o=i.destroy,a!==null&&Zx(a,i.deps)){n.memoizedState=Ac(t,r,o,a);return}}Xe.flags|=e,n.memoizedState=Ac(1|t,r,o,a)}function oP(e,t){return tm(8390656,8,e,t)}function tw(e,t){return Nm(2048,8,e,t)}function Bk(e,t){return Nm(4,2,e,t)}function jk(e,t){return Nm(4,4,e,t)}function Uk(e,t){if(typeof t=="function")return e=e(),t(e),function(){t(null)};if(t!=null)return e=e(),t.current=e,function(){t.current=null}}function Vk(e,t,r){return r=r!=null?r.concat([e]):null,Nm(4,4,Uk.bind(null,t,e),r)}function rw(){}function qk(e,t){var r=Fr();t=t===void 0?null:t;var a=r.memoizedState;return a!==null&&t!==null&&Zx(t,a[1])?a[0]:(r.memoizedState=[e,t],e)}function zk(e,t){var r=Fr();t=t===void 0?null:t;var a=r.memoizedState;return a!==null&&t!==null&&Zx(t,a[1])?a[0]:(e=e(),r.memoizedState=[e,t],e)}function Hk(e,t,r){return(Qo&21)===0?(e.baseState&&(e.baseState=!1,rr=!0),e.memoizedState=r):(ua(r,t)||(r=KP(),Xe.lanes|=r,Zo|=r,e.baseState=!0),t)}function t8(e,t){var r=Le;Le=r!==0&&4>r?r:4,e(!0);var a=P0.transition;P0.transition={};try{e(!1),t()}finally{Le=r,P0.transition=a}}function Wk(){return Fr().memoizedState}function r8(e,t,r){var a=to(e);if(r={lane:a,action:r,hasEagerState:!1,eagerState:null,next:null},Gk(e))$k(t,r);else if(r=kk(e,t,r,a),r!==null){var n=Xt();la(r,e,a,n),Xk(r,t,a)}}function a8(e,t,r){var a=to(e),n={lane:a,action:r,hasEagerState:!1,eagerState:null,next:null};if(Gk(e))$k(t,n);else{var o=e.alternate;if(e.lanes===0&&(o===null||o.lanes===0)&&(o=t.lastRenderedReducer,o!==null))try{var i=t.lastRenderedState,s=o(i,r);if(n.hasEagerState=!0,n.eagerState=s,ua(s,i)){var l=t.interleaved;l===null?(n.next=n,$x(t)):(n.next=l.next,l.next=n),t.interleaved=n;return}}catch{}finally{}r=kk(e,t,n,a),r!==null&&(n=Xt(),la(r,e,a,n),Xk(r,t,a))}}function Gk(e){var t=e.alternate;return e===Xe||t!==null&&t===Xe}function $k(e,t){uc=Cm=!0;var r=e.pending;r===null?t.next=t:(t.next=r.next,r.next=t),e.pending=t}function Xk(e,t,r){if((r&4194240)!==0){var a=t.lanes;a&=e.pendingLanes,r|=a,t.lanes=r,Rx(e,r)}}var Lm={readContext:Nr,useCallback:_t,useContext:_t,useEffect:_t,useImperativeHandle:_t,useInsertionEffect:_t,useLayoutEffect:_t,useMemo:_t,useReducer:_t,useRef:_t,useState:_t,useDebugValue:_t,useDeferredValue:_t,useTransition:_t,useMutableSource:_t,useSyncExternalStore:_t,useId:_t,unstable_isNewReconciler:!1},n8={readContext:Nr,useCallback:function(e,t){return Ea().memoizedState=[e,t===void 0?null:t],e},useContext:Nr,useEffect:oP,useImperativeHandle:function(e,t,r){return r=r!=null?r.concat([e]):null,tm(4194308,4,Uk.bind(null,t,e),r)},useLayoutEffect:function(e,t){return tm(4194308,4,e,t)},useInsertionEffect:function(e,t){return tm(4,2,e,t)},useMemo:function(e,t){var r=Ea();return t=t===void 0?null:t,e=e(),r.memoizedState=[e,t],e},useReducer:function(e,t,r){var a=Ea();return t=r!==void 0?r(t):t,a.memoizedState=a.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},a.queue=e,e=e.dispatch=r8.bind(null,Xe,e),[a.memoizedState,e]}
vendor: 6,594 bytes, lines 6-8
6,useRef:function(e){var t=Ea();return e={current:e},t.memoizedState=e},useState:nP,useDebugValue:rw,useDeferredValue:function(e){return Ea().memoizedState=e},useTransition:function(){var e=nP(!1),t=e[0];return e=t8.bind(null,e[1]),Ea().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,r){var a=Xe,n=Ea();if(qe){if(r===void 0)throw Error($(407));r=r()}else{if(r=t(),Lt===null)throw Error($(349));(Qo&30)!==0||Mk(a,t,r)}n.memoizedState=r;var o={value:r,getSnapshot:t};return n.queue=o,oP(Dk.bind(null,a,o,e),[e]),a.flags|=2048,Ac(9,Rk.bind(null,a,o,r,t),void 0,null),r},useId:function(){var e=Ea(),t=Lt.identifierPrefix;if(qe){var r=on,a=nn;r=(a&~(1<<32-sa(a)-1)).toString(32)+r,t=":"+t+"R"+r,r=Pc++,0<r&&(t+="H"+r.toString(32)),t+=":"}else r=e8++,t=":"+t+"r"+r.toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},o8={readContext:Nr,useCallback:qk,useContext:Nr,useEffect:tw,useImperativeHandle:Vk,useInsertionEffect:Bk,useLayoutEffect:jk,useMemo:zk,useReducer:k0,useRef:Fk,useState:function(){return k0(kc)},useDebugValue:rw,useDeferredValue:function(e){var t=Fr();return Hk(t,pt.memoizedState,e)},useTransition:function(){var e=k0(kc)[0],t=Fr().memoizedState;return[e,t]},useMutableSource:Ek,useSyncExternalStore:Ok,useId:Wk,unstable_isNewReconciler:!1},i8={readContext:Nr,useCallback:qk,useContext:Nr,useEffect:tw,useImperativeHandle:Vk,useInsertionEffect:Bk,useLayoutEffect:jk,useMemo:zk,useReducer:A0,useRef:Fk,useState:function(){return A0(kc)},useDebugValue:rw,useDeferredValue:function(e){var t=Fr();return pt===null?t.memoizedState=e:Hk(t,pt.memoizedState,e)},useTransition:function(){var e=A0(kc)[0],t=Fr().memoizedState;return[e,t]},useMutableSource:Ek,useSyncExternalStore:Ok,useId:Wk,unstable_isNewReconciler:!1};function na(e,t){if(e&&e.defaultProps){t=Ke({},t),e=e.defaultProps;for(var r in e)t[r]===void 0&&(t[r]=e[r]);return t}return t}function ux(e,t,r,a){t=e.memoizedState,r=r(a,t),r=r==null?t:Ke({},t,r),e.memoizedState=r,e.lanes===0&&(e.updateQueue.baseState=r)}var Fm={isMounted:function(e){return(e=e._reactInternals)?ti(e)===e:!1},enqueueSetState:function(e,t,r){e=e._reactInternals;var a=Xt(),n=to(e),o=sn(a,n);o.payload=t,r!=null&&(o.callback=r),t=Jn(e,o,n),t!==null&&(la(t,e,n,a),Jp(t,e,n))},enqueueReplaceState:function(e,t,r){e=e._reactInternals;var a=Xt(),n=to(e),o=sn(a,n);o.tag=1,o.payload=t,r!=null&&(o.callback=r),t=Jn(e,o,n),t!==null&&(la(t,e,n,a),Jp(t,e,n))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var r=Xt(),a=to(e),n=sn(r,a);n.tag=2,t!=null&&(n.callback=t),t=Jn(e,n,a),t!==null&&(la(t,e,a,r),Jp(t,e,a))}};function iP(e,t,r,a,n,o,i){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(a,o,i):t.prototype&&t.prototype.isPureReactComponent?!wc(r,a)||!wc(n,o):!0}function Kk(e,t,r){var a=!1,n=no,o=t.contextType;return typeof o=="object"&&o!==null?o=Nr(o):(n=nr(t)?Ko:Bt.current,a=t.contextTypes,o=(a=a!=null)?Ts(e,n):no),t=new t(r,o),e.memoizedState=t.state!==null&&t.state!==void 0?t.state:null,t.updater=Fm,e.stateNode=t,t._reactInternals=e,a&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=n,e.__reactInternalMemoizedMaskedChildContext=o),t}function sP(e,t,r,a){e=t.state,typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(r,a),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(r,a),t.state!==e&&Fm.enqueueReplaceState(t,t.state,null)}function cx(e,t,r,a){var n=e.stateNode;n.props=r,n.state=e.memoizedState,n.refs={},Xx(e);var o=t.contextType;typeof o=="object"&&o!==null?n.context=Nr(o):(o=nr(t)?Ko:Bt.current,n.context=Ts(e,o)),n.state=e.memoizedState,o=t.getDerivedStateFromProps,typeof o=="function"&&(ux(e,t,o,r),n.state=e.memoizedState),typeof t.getDerivedStateFromProps=="function"||typeof n.getSnapshotBeforeUpdate=="function"||typeof n.UNSAFE_componentWillMount!="function"&&typeof n.componentWillMount!="function"||(t=n.state,typeof n.componentWillMount=="function"&&n.componentWillMount(),typeof n.UNSAFE_componentWillMount=="function"&&n.UNSAFE_componentWillMount(),t!==n.state&&Fm.enqueueReplaceState(n,n.state,null),bm(e,r,n,a),n.state=e.memoizedState),typeof n.componentDidMount=="function"&&(e.flags|=4194308)}function Rs(e,t){try{var r="",a=t;do r+=Nz(a),a=a.return;while(a);var n=r}catch(o){n=`
7Error generating stack: `+o.message+`
8`+o.stack}return{value:e,source:t,stack:n,digest:null}}function T0(e,t,r){return{value:e,source:null,stack:r??null,digest:t??null}}function dx(e,t){try{console.error(t.value)}catch(r){setTimeout(function(){throw r})}}var s8=typeof WeakMap=="function"?WeakMap:Map;function Yk(e,t,r){r=sn(-1,r),r.tag=3,r.payload={element:null};var a=t.value;return r.callback=function(){Pm||(Pm=!0,bx=a),dx(e,t)},r}function Qk(e,t,r){r=sn(-1,r),r.tag=3;var a=e.type.getDerivedStateFromError;if(typeof a=="function"){var n=t.value;r.payload=function(){return a(n)},r.callback=function(){dx(e,t)}}var o=e.stateNode;return o!==null&&typeof o.componentDidCatch=="function"&&(r.callback=function(){dx(e,t),typeof a!="function"&&(eo===null?eo=new Set([this]):eo.add(this));var i=t.stack;this.componentDidCatch(t.value,{componentStack:i!==null?i:""})}),r}function lP(e,t,r){var a=e.pingCache;if(a===null){a=e.pingCache=new s8;var n=new Set;a.set(t,n)}else n=a.get(t),n===void 0&&(n=new Set,a.set(t,n));n.has(r)||(n.add(r),e=b8.bind(null,e,t,r),t.then(e,e))}function uP(e){do{var t;if((t=e.tag===13)&&(t=e.memoizedState,t=t!==null?t.dehydrated!==null:!0),t)return e;e=e.return}while(e!==null);return null}function cP(e,t,r,a,n){return(e.mode&1)===0?(e===t?e.flags|=65536:(e.flags|=128,r.flags|=131072,r.flags&=-52805,r.tag===1&&(r.alternate===null?r.tag=17:(t=sn(-1,1),t.tag=2,Jn(r,t,1))),r.lanes|=1),e):(e.flags|=65536,e.lanes=n,e)}var l8=fn.ReactCurrentOwner,rr=!1;function $t(e,t,r,a){t.child=e===null?Pk(t,null,r,a):Os(t,e.child,r,a)}function dP(e,t,r,a,n){r=r.render;var o=t.ref;return Ps(t,n),a=Jx(e,t,r,a,o,n),r=ew(),e!==null&&!rr?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~n,dn(e,t,n)):(qe&&r&&Vx(t),t.flags|=1,$t(e,t,a,n),t.child)}function fP(e,t,r,a,n){if(e===null){var o=r.type;return typeof o=="function"&&!cw(o)&&o.defaultProps===void 0&&r.compare===null&&r.defaultProps===void 0?(t.tag=15,t.type=o,Zk(e,t,o,a,n)):(e=om(r.type,null,a,t,t.mode,n),e.ref=t.ref,e.return=t,t.child=e)}if(o=e.child,(e.lanes&n)===0){var i=o.memoizedProps;if(r=r.compare,r=r!==null?r:wc,r(i,a)&&e.ref===t.ref)return dn(e,t,n)}return t.flags|=1,e=ro(o,a),e.ref=t.ref,e.return=t,t.child=e}function Zk(e,t,r,a,n){if(e!==null){var o=e.memoizedProps;
vendor: 5,586 bytes, line 8
8if(wc(o,a)&&e.ref===t.ref)if(rr=!1,t.pendingProps=a=o,(e.lanes&n)!==0)(e.flags&131072)!==0&&(rr=!0);else return t.lanes=e.lanes,dn(e,t,n)}return fx(e,t,r,a,n)}function Jk(e,t,r){var a=t.pendingProps,n=a.children,o=e!==null?e.memoizedState:null;if(a.mode==="hidden")if((t.mode&1)===0)t.memoizedState={baseLanes:0,cachePool:null,transitions:null},Oe(bs,mr),mr|=r;else{if((r&1073741824)===0)return e=o!==null?o.baseLanes|r:r,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,Oe(bs,mr),mr|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},a=o!==null?o.baseLanes:r,Oe(bs,mr),mr|=a}else o!==null?(a=o.baseLanes|r,t.memoizedState=null):a=r,Oe(bs,mr),mr|=a;return $t(e,t,n,r),t.child}function eA(e,t){var r=t.ref;(e===null&&r!==null||e!==null&&e.ref!==r)&&(t.flags|=512,t.flags|=2097152)}function fx(e,t,r,a,n){var o=nr(r)?Ko:Bt.current;return o=Ts(t,o),Ps(t,n),r=Jx(e,t,r,a,o,n),a=ew(),e!==null&&!rr?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~n,dn(e,t,n)):(qe&&a&&Vx(t),t.flags|=1,$t(e,t,r,n),t.child)}function pP(e,t,r,a,n){if(nr(r)){var o=!0;gm(t)}else o=!1;if(Ps(t,n),t.stateNode===null)rm(e,t),Kk(t,r,a),cx(t,r,a,n),a=!0;else if(e===null){var i=t.stateNode,s=t.memoizedProps;i.props=s;var l=i.context,u=r.contextType;typeof u=="object"&&u!==null?u=Nr(u):(u=nr(r)?Ko:Bt.current,u=Ts(t,u));var d=r.getDerivedStateFromProps,c=typeof d=="function"||typeof i.getSnapshotBeforeUpdate=="function";c||typeof i.UNSAFE_componentWillReceiveProps!="function"&&typeof i.componentWillReceiveProps!="function"||(s!==a||l!==u)&&sP(t,i,a,u),Hn=!1;var f=t.memoizedState;i.state=f,bm(t,a,i,n),l=t.memoizedState,s!==a||f!==l||ar.current||Hn?(typeof d=="function"&&(ux(t,r,d,a),l=t.memoizedState),(s=Hn||iP(t,r,s,a,f,l,u))?(c||typeof i.UNSAFE_componentWillMount!="function"&&typeof i.componentWillMount!="function"||(typeof i.componentWillMount=="function"&&i.componentWillMount(),typeof i.UNSAFE_componentWillMount=="function"&&i.UNSAFE_componentWillMount()),typeof i.componentDidMount=="function"&&(t.flags|=4194308)):(typeof i.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=a,t.memoizedState=l),i.props=a,i.state=l,i.context=u,a=s):(typeof i.componentDidMount=="function"&&(t.flags|=4194308),a=!1)}else{i=t.stateNode,Ak(e,t),s=t.memoizedProps,u=t.type===t.elementType?s:na(t.type,s),i.props=u,c=t.pendingProps,f=i.context,l=r.contextType,typeof l=="object"&&l!==null?l=Nr(l):(l=nr(r)?Ko:Bt.current,l=Ts(t,l));var p=r.getDerivedStateFromProps;(d=typeof p=="function"||typeof i.getSnapshotBeforeUpdate=="function")||typeof i.UNSAFE_componentWillReceiveProps!="function"&&typeof i.componentWillReceiveProps!="function"||(s!==c||f!==l)&&sP(t,i,a,l),Hn=!1,f=t.memoizedState,i.state=f,bm(t,a,i,n);var v=t.memoizedState;s!==c||f!==v||ar.current||Hn?(typeof p=="function"&&(ux(t,r,p,a),v=t.memoizedState),(u=Hn||iP(t,r,u,a,f,v,l)||!1)?(d||typeof i.UNSAFE_componentWillUpdate!="function"&&typeof i.componentWillUpdate!="function"||(typeof i.componentWillUpdate=="function"&&i.componentWillUpdate(a,v,l),typeof i.UNSAFE_componentWillUpdate=="function"&&i.UNSAFE_componentWillUpdate(a,v,l)),typeof i.componentDidUpdate=="function"&&(t.flags|=4),typeof i.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof i.componentDidUpdate!="function"||s===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),typeof i.getSnapshotBeforeUpdate!="function"||s===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),t.memoizedProps=a,t.memoizedState=v),i.props=a,i.state=v,i.context=l,a=u):(typeof i.componentDidUpdate!="function"||s===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),typeof i.getSnapshotBeforeUpdate!="function"||s===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),a=!1)}return px(e,t,r,a,o,n)}function px(e,t,r,a,n,o){eA(e,t);var i=(t.flags&128)!==0;if(!a&&!i)return n&&ZI(t,r,!1),dn(e,t,o);a=t.stateNode,l8.current=t;var s=i&&typeof r.getDerivedStateFromError!="function"?null:a.render();return t.flags|=1,e!==null&&i?(t.child=Os(t,e.child,null,o),t.child=Os(t,null,s,o)):$t(e,t,s,o),t.memoizedState=a.state,n&&ZI(t,r,!0),t.child}function tA(e){var t=e.stateNode;t.pendingContext?QI(e,t.pendingContext,t.pendingContext!==t.context):t.context&&QI(e,t.context,!1),Kx(e,t.containerInfo)}function mP(e,t,r,a,n){return Es(),zx(n),t.flags|=256,$t(e,t,r,a),t.child}var mx={dehydrated:null,treeContext:null,retryLane:0};function hx(e){return{baseLanes:e,cachePool:null,transitions:null}}function rA(e,t,r){var a=t.pendingProps,n=$e.current,o=!1,i=(t.flags&128)!==0,s;if((s=i)||(s=e!==null&&e.memoizedState===null?!1:(n&2)!==0),s?(o=!0,t.flags&=-129):(e===null||e.memoizedState!==null)&&(n|=1),Oe($e,n&1),e===null)return sx(t),e=t.memoizedState,e!==null&&(e=e.dehydrated,e!==null)?((t.mode&1)===0?t.lanes=1:e.data==="$!"?t.lanes=8:t.lanes=1073741824,null):(i=a.children,e=a.fallback,o?(a=t.mode,o=t.child,i={mode:"hidden",children:i},(a&1)===0&&o!==null?(o.childLanes=0,o.pendingProps=i):o=Um(i,a,0,null),e=Xo(e,a,r,null),o.return=t,e.return=t,o.sibling=e,t.child=o,t.child.memoizedState=hx(r),t.memoizedState=mx,e):aw(t,i));if(n=e.memoizedState,n!==null&&(s=n.dehydrated,s!==null))return u8(e,t,i,a,s,n,r);if(o){o=a.fallback,i=t.mode,n=e.child,s=n.sibling;var l={mode:"hidden",children:a.children};return(i&1)===0&&t.child!==n?(a=t.child,a.childLanes=0,a.pendingProps=l,t.deletions=null):(a=ro(n,l),a.subtreeFlags=n.subtreeFlags&14680064),s!==null?o=ro(s,o):(o=Xo(o,i,r,null),o.flags|=2),o.return=t,a.return=t,a.sibling=o,t.child=a,a=o,o=t.child,i=e.child.memoizedState,i=i===null?hx(r):{base
vendor: 10,755 bytes, line 8
8Lanes:i.baseLanes|r,cachePool:null,transitions:i.transitions},o.memoizedState=i,o.childLanes=e.childLanes&~r,t.memoizedState=mx,a}return o=e.child,e=o.sibling,a=ro(o,{mode:"visible",children:a.children}),(t.mode&1)===0&&(a.lanes=r),a.return=t,a.sibling=null,e!==null&&(r=t.deletions,r===null?(t.deletions=[e],t.flags|=16):r.push(e)),t.child=a,t.memoizedState=null,a}function aw(e,t){return t=Um({mode:"visible",children:t},e.mode,0,null),t.return=e,e.child=t}function $p(e,t,r,a){return a!==null&&zx(a),Os(t,e.child,null,r),e=aw(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function u8(e,t,r,a,n,o,i){if(r)return t.flags&256?(t.flags&=-257,a=T0(Error($(422))),$p(e,t,i,a)):t.memoizedState!==null?(t.child=e.child,t.flags|=128,null):(o=a.fallback,n=t.mode,a=Um({mode:"visible",children:a.children},n,0,null),o=Xo(o,n,i,null),o.flags|=2,a.return=t,o.return=t,a.sibling=o,t.child=a,(t.mode&1)!==0&&Os(t,e.child,null,i),t.child.memoizedState=hx(i),t.memoizedState=mx,o);if((t.mode&1)===0)return $p(e,t,i,null);if(n.data==="$!"){if(a=n.nextSibling&&n.nextSibling.dataset,a)var s=a.dgst;return a=s,o=Error($(419)),a=T0(o,a,void 0),$p(e,t,i,a)}if(s=(i&e.childLanes)!==0,rr||s){if(a=Lt,a!==null){switch(i&-i){case 4:n=2;break;case 16:n=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:n=32;break;case 536870912:n=268435456;break;default:n=0}n=(n&(a.suspendedLanes|i))!==0?0:n,n!==0&&n!==o.retryLane&&(o.retryLane=n,cn(e,n),la(a,e,n,-1))}return uw(),a=T0(Error($(421))),$p(e,t,i,a)}return n.data==="$?"?(t.flags|=128,t.child=e.child,t=S8.bind(null,e),n._reactRetry=t,null):(e=o.treeContext,hr=Zn(n.nextSibling),gr=t,qe=!0,ia=null,e!==null&&(Mr[Rr++]=nn,Mr[Rr++]=on,Mr[Rr++]=Yo,nn=e.id,on=e.overflow,Yo=t),t=aw(t,a.children),t.flags|=4096,t)}function hP(e,t,r){e.lanes|=t;var a=e.alternate;a!==null&&(a.lanes|=t),lx(e.return,t,r)}function E0(e,t,r,a,n){var o=e.memoizedState;o===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:a,tail:r,tailMode:n}:(o.isBackwards=t,o.rendering=null,o.renderingStartTime=0,o.last=a,o.tail=r,o.tailMode=n)}function aA(e,t,r){var a=t.pendingProps,n=a.revealOrder,o=a.tail;if($t(e,t,a.children,r),a=$e.current,(a&2)!==0)a=a&1|2,t.flags|=128;else{if(e!==null&&(e.flags&128)!==0)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&hP(e,r,t);else if(e.tag===19)hP(e,r,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;e.sibling===null;){if(e.return===null||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}a&=1}if(Oe($e,a),(t.mode&1)===0)t.memoizedState=null;else switch(n){case"forwards":for(r=t.child,n=null;r!==null;)e=r.alternate,e!==null&&Sm(e)===null&&(n=r),r=r.sibling;r=n,r===null?(n=t.child,t.child=null):(n=r.sibling,r.sibling=null),E0(t,!1,n,r,o);break;case"backwards":for(r=null,n=t.child,t.child=null;n!==null;){if(e=n.alternate,e!==null&&Sm(e)===null){t.child=n;break}e=n.sibling,n.sibling=r,r=n,n=e}E0(t,!0,r,null,o);break;case"together":E0(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function rm(e,t){(t.mode&1)===0&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2)}function dn(e,t,r){if(e!==null&&(t.dependencies=e.dependencies),Zo|=t.lanes,(r&t.childLanes)===0)return null;if(e!==null&&t.child!==e.child)throw Error($(153));if(t.child!==null){for(e=t.child,r=ro(e,e.pendingProps),t.child=r,r.return=t;e.sibling!==null;)e=e.sibling,r=r.sibling=ro(e,e.pendingProps),r.return=t;r.sibling=null}return t.child}function c8(e,t,r){switch(t.tag){case 3:tA(t),Es();break;case 5:Tk(t);break;case 1:nr(t.type)&&gm(t);break;case 4:Kx(t,t.stateNode.containerInfo);break;case 10:var a=t.type._context,n=t.memoizedProps.value;Oe(xm,a._currentValue),a._currentValue=n;break;case 13:if(a=t.memoizedState,a!==null)return a.dehydrated!==null?(Oe($e,$e.current&1),t.flags|=128,null):(r&t.child.childLanes)!==0?rA(e,t,r):(Oe($e,$e.current&1),e=dn(e,t,r),e!==null?e.sibling:null);Oe($e,$e.current&1);break;case 19:if(a=(r&t.childLanes)!==0,(e.flags&128)!==0){if(a)return aA(e,t,r);t.flags|=128}if(n=t.memoizedState,n!==null&&(n.rendering=null,n.tail=null,n.lastEffect=null),Oe($e,$e.current),a)break;return null;case 22:case 23:return t.lanes=0,Jk(e,t,r)}return dn(e,t,r)}var nA,gx,oA,iA;nA=function(e,t){for(var r=t.child;r!==null;){if(r.tag===5||r.tag===6)e.appendChild(r.stateNode);else if(r.tag!==4&&r.child!==null){r.child.return=r,r=r.child;continue}if(r===t)break;for(;r.sibling===null;){if(r.return===null||r.return===t)return;r=r.return}r.sibling.return=r.return,r=r.sibling}};gx=function(){};oA=function(e,t,r,a){var n=e.memoizedProps;if(n!==a){e=t.stateNode,Go(Ra.current);var o=null;switch(r){case"input":n=B0(e,n),a=B0(e,a),o=[];break;case"select":n=Ke({},n,{value:void 0}),a=Ke({},a,{value:void 0}),o=[];break;case"textarea":n=V0(e,n),a=V0(e,a),o=[];break;default:typeof n.onClick!="function"&&typeof a.onClick=="function"&&(e.onclick=mm)}z0(r,a);var i;r=null;for(u in n)if(!a.hasOwnProperty(u)&&n.hasOwnProperty(u)&&n[u]!=null)if(u==="style"){var s=n[u];for(i in s)s.hasOwnProperty(i)&&(r||(r={}),r[i]="")}else u!=="dangerouslySetInnerHTML"&&u!=="children"&&u!=="suppressContentEditableWarning"&&u!=="suppressHydrationWarning"&&u!=="autoFocus"&&(pc.hasOwnProperty(u)?o||(o=[]):(o=o||[]).push(u,null));for(u in a){var l=a[u];if(s=n?.[u],a.hasOwnProperty(u)&&l!==s&&(l!=null||s!=null))if(u==="style")if(s){for(i in s)!s.hasOwnProperty(i)||l&&l.hasOwnProperty(i)||(r||(r={}),r[i]="");for(i in l)l.hasOwnProperty(i)&&s[i]!==l[i]&&(r||(r={}),r[i]=l[i])}else r||(o||(o=[]),o.push(u,r)),r=l;else u==="dangerouslySetInnerHTML"?(l=l?l.__html:void 0,s=s?s.__html:void 0,l!=null&&s!==l&&(o=o||[]).push(u,l)):u==="children"?typeof l!="string"&&typeof l!="number"||(o=o||[]).push(u,""+l):u!=="suppressContentEditableWarning"&&u!=="suppressHydrationWarning"&&(pc.hasOwnProperty(u)?(l!=null&&u==="onScroll"&&_e("scroll",e),o||s===l||(o=[])):(o=o||[]).push(u,l))}r&&(o=o||[]).push("style",r);var u=o;(t.updateQueue=u)&&(t.flags|=4)}};iA=function(e,t,r,a){r!==a&&(t.flags|=4)};function Qu(e,t){if(!qe)switch(e.tailMode){case"hidden":t=e.tail;for(var r=null;t!==null;)t.alternate!==null&&(r=t),t=t.sibling;r===null?e.tail=null:r.sibling=null;break;case"collapsed":r=e.tail;for(var a=null;r!==null;)r.alternate!==null&&(a=r),r=r.sibling;a===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:a.sibling=null}}function Nt(e){var t=e.alternate!==null&&e.alternate.child===e.child,r=0,a=0;if(t)for(var n=e.child;n!==null;)r|=n.lanes|n.childLanes,a|=n.subtreeFlags&14680064,a|=n.flags&14680064,n.return=e,n=n.sibling;else for(n=e.child;n!==null;)r|=n.lanes|n.childLanes,a|=n.subtreeFlags,a|=n.flags,n.return=e,n=n.sibling;return e.subtreeFlags|=a,e.childLanes=r,t}function d8(e,t,r){var a=t.pendingProps;switch(qx(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Nt(t),null;case 1:return nr(t.type)&&hm(),Nt(t),null;case 3:return a=t.stateNode,Ms(),Ne(ar),Ne(Bt),Qx(),a.pendingContext&&(a.context=a.pendingContext,a.pendingContext=null),(e===null||e.child===null)&&(Wp(t)?t.flags|=4:e===null||e.memoizedState.isDehydrated&&(t.flags&256)===0||(t.flags|=1024,ia!==null&&(Lx(ia),ia=null))),gx(e,t),Nt(t),null;case 5:Yx(t);var n=Go(Ic.current);if(r=t.type,e!==null&&t.stateNode!=null)oA(e,t,r,a,n),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!a){if(t.stateNode===null)throw Error($(166));return Nt(t),null}if(e=Go(Ra.current),Wp(t)){a=t.stateNode,r=t.type;var o=t.memoizedProps;switch(a[Oa]=t,a[Cc]=o,e=(t.mode&1)!==0,r){case"dialog":_e("cancel",a),_e("close",a);break;case"iframe":case"object":case"embed":_e("load",a);break;case"video":case"audio":for(n=0;n<ac.length;n++)_e(ac[n],a);break;case"source":_e("error",a);break;case"img":case"image":case"link":_e("error",a),_e("load",a);break;case"details":_e("toggle",a);break;case"input":CI(a,o),_e("invalid",a);break;case"select":a._wrapperState={wasMultiple:!!o.multiple},_e("invalid",a);break;case"textarea":II(a,o),_e("invalid",a)}z0(r,o),n=null;for(var i in o)if(o.hasOwnProperty(i)){var s=o[i];i==="children"?typeof s=="string"?a.textContent!==s&&(o.suppressHydrationWarning!==!0&&Hp(a.textContent,s,e),n=["children",s]):typeof s=="number"&&a.textContent!==""+s&&(o.suppressHydrationWarning!==!0&&Hp(a.textContent,s,e),n=["children",""+s]):pc.hasOwnProperty(i)&&s!=null&&i==="onScroll"&&_e("scroll",a)}switch(r){case"input":Mp(a),LI(a,o,!0);break;case"textarea":Mp(a),PI(a);break;case"select":case"option":break;default:typeof o.onClick=="function"&&(a.onclick=mm)}a=n,t.updateQueue=a,a!==null&&(t.flags|=4)}else{i=n.nodeType===9?n:n.ownerDocument,e==="http://www.w3.org/1999/xhtml"&&(e=DP(r)),e==="http://www.w3.org/1999/xhtml"?r==="script"?(e=i.createElement("div"),e.innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):typeof a.is=="string"?e=i.createElement(r,{is:a.is}):(e=i.createElement(r),r==="select"&&(i=e,a.multiple?i.multiple=!0:a.size&&(i.size=a.size))):e=i.createElementNS(e,r),e[Oa]=t,e[Cc]=a,nA(e,t,!1,!1),t.stateNode=e;e:{switch(i=H0(r,a),r){case"dialog":_e("cancel",e),_e("close",e),n=a;break;case"iframe":case"object":case"embed":_e("load",e),n=a;break;case"video":case"audio":for(n=0;n<ac.length;n++)_e(ac[n],e);n=a;break;case"source":_e("error",e),n=a;break;case"img":case"image":case"link":_e("error",e),_e("load",e),n=a;break;case"details":_e("toggle",e),n=a;break;case"input":CI(e,a),n=B0(e,a),_e("invalid",e);break;case"option":n=a;break;case"select":e._wrapperState={wasMultiple:!!a.multiple},n=Ke({},a,{value:void 0}),_e("invalid",e);break;case"textarea":II(e,a),n=V0(e,a),_e("invalid",e);break;default:n=a}z0(r,n),s=n;for(o in s)if(s.hasOwnProperty(o)){var l=s[o];o==="style"?FP(e,l):o==="dangerouslySetInnerHTML"?(l=l?l.__html:void 0,l!=null&&_P(e,l)):o==="children"?typeof l=="string"?(r!=="textarea"||l!=="")&&mc(e,l):typeof l=="number"&&mc(e,""+l):o!=="suppressContentEditableWarning"&&o!=="suppressHydrationWarning"&&o!=="autoFocus"&&(pc.hasOwnProperty(o)?l!=null&&o==="onScroll"&&_e("scroll",e):l!=null&&kx(e,o,l,i))}switch(r){case"input":Mp(e),LI(e,a,!1);break;case"textarea":Mp(e),PI(e);break;case"option":a.value!=null&&e.setAttribute("value",""+ao(a.value));break;case"select":e.multiple=!!a.multiple,o=a.value,o!=null?Ss(e,!!a.multiple,o,!1):a.defaultValue!=null&&Ss(e,!!a.multiple,a.defaultValue,!0);break;default:typeof n.onClick=="function"&&(e.onclick=mm)}switch(r){case"button":case"input":case"select":case"textarea":a=!!a.autoFocus;break e;case"img":a=!0;break e;default:a=!1}}a&&(t.flags|=4)}t.ref!==null&&(t.flags|=512,t.flags|=2097152)}
vendor: 8,923 bytes, line 8
8return Nt(t),null;case 6:if(e&&t.stateNode!=null)iA(e,t,e.memoizedProps,a);else{if(typeof a!="string"&&t.stateNode===null)throw Error($(166));if(r=Go(Ic.current),Go(Ra.current),Wp(t)){if(a=t.stateNode,r=t.memoizedProps,a[Oa]=t,(o=a.nodeValue!==r)&&(e=gr,e!==null))switch(e.tag){case 3:Hp(a.nodeValue,r,(e.mode&1)!==0);break;case 5:e.memoizedProps.suppressHydrationWarning!==!0&&Hp(a.nodeValue,r,(e.mode&1)!==0)}o&&(t.flags|=4)}else a=(r.nodeType===9?r:r.ownerDocument).createTextNode(a),a[Oa]=t,t.stateNode=a}return Nt(t),null;case 13:if(Ne($e),a=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(qe&&hr!==null&&(t.mode&1)!==0&&(t.flags&128)===0)Lk(),Es(),t.flags|=98560,o=!1;else if(o=Wp(t),a!==null&&a.dehydrated!==null){if(e===null){if(!o)throw Error($(318));if(o=t.memoizedState,o=o!==null?o.dehydrated:null,!o)throw Error($(317));o[Oa]=t}else Es(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;Nt(t),o=!1}else ia!==null&&(Lx(ia),ia=null),o=!0;if(!o)return t.flags&65536?t:null}return(t.flags&128)!==0?(t.lanes=r,t):(a=a!==null,a!==(e!==null&&e.memoizedState!==null)&&a&&(t.child.flags|=8192,(t.mode&1)!==0&&(e===null||($e.current&1)!==0?mt===0&&(mt=3):uw())),t.updateQueue!==null&&(t.flags|=4),Nt(t),null);case 4:return Ms(),gx(e,t),e===null&&bc(t.stateNode.containerInfo),Nt(t),null;case 10:return Gx(t.type._context),Nt(t),null;case 17:return nr(t.type)&&hm(),Nt(t),null;case 19:if(Ne($e),o=t.memoizedState,o===null)return Nt(t),null;if(a=(t.flags&128)!==0,i=o.rendering,i===null)if(a)Qu(o,!1);else{if(mt!==0||e!==null&&(e.flags&128)!==0)for(e=t.child;e!==null;){if(i=Sm(e),i!==null){for(t.flags|=128,Qu(o,!1),a=i.updateQueue,a!==null&&(t.updateQueue=a,t.flags|=4),t.subtreeFlags=0,a=r,r=t.child;r!==null;)o=r,e=a,o.flags&=14680066,i=o.alternate,i===null?(o.childLanes=0,o.lanes=e,o.child=null,o.subtreeFlags=0,o.memoizedProps=null,o.memoizedState=null,o.updateQueue=null,o.dependencies=null,o.stateNode=null):(o.childLanes=i.childLanes,o.lanes=i.lanes,o.child=i.child,o.subtreeFlags=0,o.deletions=null,o.memoizedProps=i.memoizedProps,o.memoizedState=i.memoizedState,o.updateQueue=i.updateQueue,o.type=i.type,e=i.dependencies,o.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),r=r.sibling;return Oe($e,$e.current&1|2),t.child}e=e.sibling}o.tail!==null&&it()>Ds&&(t.flags|=128,a=!0,Qu(o,!1),t.lanes=4194304)}else{if(!a)if(e=Sm(i),e!==null){if(t.flags|=128,a=!0,r=e.updateQueue,r!==null&&(t.updateQueue=r,t.flags|=4),Qu(o,!0),o.tail===null&&o.tailMode==="hidden"&&!i.alternate&&!qe)return Nt(t),null}else 2*it()-o.renderingStartTime>Ds&&r!==1073741824&&(t.flags|=128,a=!0,Qu(o,!1),t.lanes=4194304);o.isBackwards?(i.sibling=t.child,t.child=i):(r=o.last,r!==null?r.sibling=i:t.child=i,o.last=i)}return o.tail!==null?(t=o.tail,o.rendering=t,o.tail=t.sibling,o.renderingStartTime=it(),t.sibling=null,r=$e.current,Oe($e,a?r&1|2:r&1),t):(Nt(t),null);case 22:case 23:return lw(),a=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==a&&(t.flags|=8192),a&&(t.mode&1)!==0?(mr&1073741824)!==0&&(Nt(t),t.subtreeFlags&6&&(t.flags|=8192)):Nt(t),null;case 24:return null;case 25:return null}throw Error($(156,t.tag))}function f8(e,t){switch(qx(t),t.tag){case 1:return nr(t.type)&&hm(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return Ms(),Ne(ar),Ne(Bt),Qx(),e=t.flags,(e&65536)!==0&&(e&128)===0?(t.flags=e&-65537|128,t):null;case 5:return Yx(t),null;case 13:if(Ne($e),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error($(340));Es()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return Ne($e),null;case 4:return Ms(),null;case 10:return Gx(t.type._context),null;case 22:case 23:return lw(),null;case 24:return null;default:return null}}var Xp=!1,Ft=!1,p8=typeof WeakSet=="function"?WeakSet:Set,J=null;function ws(e,t){var r=e.ref;if(r!==null)if(typeof r=="function")try{r(null)}catch(a){Ze(e,t,a)}else r.current=null}function vx(e,t,r){try{r()}catch(a){Ze(e,t,a)}}var gP=!1;function m8(e,t){if(ex=dm,e=dk(),Ux(e)){if("selectionStart"in e)var r={start:e.selectionStart,end:e.selectionEnd};else e:{r=(r=e.ownerDocument)&&r.defaultView||window;var a=r.getSelection&&r.getSelection();if(a&&a.rangeCount!==0){r=a.anchorNode;var n=a.anchorOffset,o=a.focusNode;a=a.focusOffset;try{r.nodeType,o.nodeType}catch{r=null;break e}var i=0,s=-1,l=-1,u=0,d=0,c=e,f=null;t:for(;;){for(var p;c!==r||n!==0&&c.nodeType!==3||(s=i+n),c!==o||a!==0&&c.nodeType!==3||(l=i+a),c.nodeType===3&&(i+=c.nodeValue.length),(p=c.firstChild)!==null;)f=c,c=p;for(;;){if(c===e)break t;if(f===r&&++u===n&&(s=i),f===o&&++d===a&&(l=i),(p=c.nextSibling)!==null)break;c=f,f=c.parentNode}c=p}r=s===-1||l===-1?null:{start:s,end:l}}else r=null}r=r||{start:0,end:0}}else r=null;for(tx={focusedElem:e,selectionRange:r},dm=!1,J=t;J!==null;)if(t=J,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,J=e;else for(;J!==null;){t=J;try{var v=t.alternate;if((t.flags&1024)!==0)switch(t.tag){case 0:case 11:case 15:break;case 1:if(v!==null){var m=v.memoizedProps,w=v.memoizedState,h=t.stateNode,g=h.getSnapshotBeforeUpdate(t.elementType===t.type?m:na(t.type,m),w);h.__reactInternalSnapshotBeforeUpdate=g}break;case 3:var y=t.stateNode.containerInfo;y.nodeType===1?y.textContent="":y.nodeType===9&&y.documentElement&&y.removeChild(y.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error($(163))}}catch(S){Ze(t,t.return,S)}if(e=t.sibling,e!==null){e.return=t.return,J=e;break}J=t.return}return v=gP,gP=!1,v}function cc(e,t,r){var a=t.updateQueue;if(a=a!==null?a.lastEffect:null,a!==null){var n=a=a.next;do{if((n.tag&e)===e){var o=n.destroy;n.destroy=void 0,o!==void 0&&vx(t,r,o)}n=n.next}while(n!==a)}}function Bm(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var r=t=t.next;do{if((r.tag&e)===e){var a=r.create;r.destroy=a()}r=r.next}while(r!==t)}}function yx(e){var t=e.ref;if(t!==null){var r=e.stateNode;switch(e.tag){case 5:e=r;break;default:e=r}typeof t=="function"?t(e):t.current=e}}function sA(e){var t=e.alternate;t!==null&&(e.alternate=null,sA(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[Oa],delete t[Cc],delete t[nx],delete t[Y6],delete t[Q6])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function lA(e){return e.tag===5||e.tag===3||e.tag===4}function vP(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||lA(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function xx(e,t,r){var a=e.tag;if(a===5||a===6)e=e.stateNode,t?r.nodeType===8?r.parentNode.insertBefore(e,t):r.insertBefore(e,t):(r.nodeType===8?(t=r.parentNode,t.insertBefore(e,r)):(t=r,t.appendChild(e)),r=r._reactRootContainer,r!=null||t.onclick!==null||(t.onclick=mm));else if(a!==4&&(e=e.child,e!==null))for(xx(e,t,r),e=e.sibling;e!==null;)xx(e,t,r),e=e.sibling}function wx(e,t,r){var a=e.tag;if(a===5||a===6)e=e.stateNode,t?r.insertBefore(e,t):r.appendChild(e);else if(a!==4&&(e=e.child,e!==null))for(wx(e,t,r),e=e.sibling;e!==null;)wx(e,t,r),e=e.sibling}var Tt=null,oa=!1;function qn(e,t,r){for(r=r.child;r!==null;)uA(e,t,r),r=r.sibling}function uA(e,t,r){if(Ma&&typeof Ma.onCommitFiberUnmount=="function")try{Ma.onCommitFiberUnmount(Em,r)}catch{}switch(r.tag){case 5:Ft||ws(r,t);case 6:var a=Tt,n=oa;Tt=null,qn(e,t,r),Tt=a,oa=n,Tt!==null&&(oa?(e=Tt,r=r.stateNode,e.nodeType===8?e.parentNode.removeChild(r):e.removeChild(r)):Tt.removeChild(r.stateNode));break;case 18:Tt!==null&&(oa?(e=Tt,r=r.stateNode,e.nodeType===8?C0(e.parentNode,r):e.nodeType===1&&C0(e,r),yc(e)):C0(Tt,r.stateNode));break;case 4:a=Tt,n=oa,Tt=r.stateNode.containerInfo,oa=!0,qn(e,t,r),Tt=a,oa=n;break;case 0:case 11:case 14:case 15:if(!Ft&&(a=r.updateQueue,a!==null&&(a=a.lastEffect,a!==null))){n=a=a.next;do{var o=n,i=o.destroy;o=o.tag,i!==void 0&&((o&2)!==0||(o&4)!==0)&&vx(r,t,i),n=n.next}while(n!==a)}qn(e,t,r);break;case 1:if(!Ft&&(ws(r,t),a=r.stateNode,typeof a.componentWillUnmount=="function"))try{a.props=r.memoizedProps,a.state=r.memoizedState,a.componentWillUnmount()}catch(s){Ze(r,t,s)}qn(e,t,r);break;case 21:qn(e,t,r);break;case 22:r.mode&1?(Ft=(a=Ft)||r.memoizedState!==null,qn(e,t,r),Ft=a):qn(e,t,r);break;default:qn(e,t,r)}}function yP(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var r=e.stateNode;r===null&&(r=e.stateNode=new p8),t.forEach(function(a){var n=C8.bind(null,e,a);r.has(a)||(r.add(a),a.then(n,n))})}}function aa(e,t){var r=t.deletions;if(r!==null)for(var a=0;a<r.length;a++){var n=r[a];try{var o=e,i=t,s=i;e:for(;s!==null;){switch(s.tag){case 5:Tt=s.stateNode,oa=!1;break e;case 3:Tt=s.stateNode.containerInfo,oa=!0;break e;case 4:Tt=s.stateNode.containerInfo,oa=!0;break e}s=s.return}
vendor: 6,196 bytes, line 8
8if(Tt===null)throw Error($(160));uA(o,i,n),Tt=null,oa=!1;var l=n.alternate;l!==null&&(l.return=null),n.return=null}catch(u){Ze(n,t,u)}}if(t.subtreeFlags&12854)for(t=t.child;t!==null;)cA(t,e),t=t.sibling}function cA(e,t){var r=e.alternate,a=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(aa(t,e),Ta(e),a&4){try{cc(3,e,e.return),Bm(3,e)}catch(m){Ze(e,e.return,m)}try{cc(5,e,e.return)}catch(m){Ze(e,e.return,m)}}break;case 1:aa(t,e),Ta(e),a&512&&r!==null&&ws(r,r.return);break;case 5:if(aa(t,e),Ta(e),a&512&&r!==null&&ws(r,r.return),e.flags&32){var n=e.stateNode;try{mc(n,"")}catch(m){Ze(e,e.return,m)}}if(a&4&&(n=e.stateNode,n!=null)){var o=e.memoizedProps,i=r!==null?r.memoizedProps:o,s=e.type,l=e.updateQueue;if(e.updateQueue=null,l!==null)try{s==="input"&&o.type==="radio"&&o.name!=null&&MP(n,o),H0(s,i);var u=H0(s,o);for(i=0;i<l.length;i+=2){var d=l[i],c=l[i+1];d==="style"?FP(n,c):d==="dangerouslySetInnerHTML"?_P(n,c):d==="children"?mc(n,c):kx(n,d,c,u)}switch(s){case"input":j0(n,o);break;case"textarea":RP(n,o);break;case"select":var f=n._wrapperState.wasMultiple;n._wrapperState.wasMultiple=!!o.multiple;var p=o.value;p!=null?Ss(n,!!o.multiple,p,!1):f!==!!o.multiple&&(o.defaultValue!=null?Ss(n,!!o.multiple,o.defaultValue,!0):Ss(n,!!o.multiple,o.multiple?[]:"",!1))}n[Cc]=o}catch(m){Ze(e,e.return,m)}}break;case 6:if(aa(t,e),Ta(e),a&4){if(e.stateNode===null)throw Error($(162));n=e.stateNode,o=e.memoizedProps;try{n.nodeValue=o}catch(m){Ze(e,e.return,m)}}break;case 3:if(aa(t,e),Ta(e),a&4&&r!==null&&r.memoizedState.isDehydrated)try{yc(t.containerInfo)}catch(m){Ze(e,e.return,m)}break;case 4:aa(t,e),Ta(e);break;case 13:aa(t,e),Ta(e),n=e.child,n.flags&8192&&(o=n.memoizedState!==null,n.stateNode.isHidden=o,!o||n.alternate!==null&&n.alternate.memoizedState!==null||(iw=it())),a&4&&yP(e);break;case 22:if(d=r!==null&&r.memoizedState!==null,e.mode&1?(Ft=(u=Ft)||d,aa(t,e),Ft=u):aa(t,e),Ta(e),a&8192){if(u=e.memoizedState!==null,(e.stateNode.isHidden=u)&&!d&&(e.mode&1)!==0)for(J=e,d=e.child;d!==null;){for(c=J=d;J!==null;){switch(f=J,p=f.child,f.tag){case 0:case 11:case 14:case 15:cc(4,f,f.return);break;case 1:ws(f,f.return);var v=f.stateNode;if(typeof v.componentWillUnmount=="function"){a=f,r=f.return;try{t=a,v.props=t.memoizedProps,v.state=t.memoizedState,v.componentWillUnmount()}catch(m){Ze(a,r,m)}}break;case 5:ws(f,f.return);break;case 22:if(f.memoizedState!==null){wP(c);continue}}p!==null?(p.return=f,J=p):wP(c)}d=d.sibling}e:for(d=null,c=e;;){if(c.tag===5){if(d===null){d=c;try{n=c.stateNode,u?(o=n.style,typeof o.setProperty=="function"?o.setProperty("display","none","important"):o.display="none"):(s=c.stateNode,l=c.memoizedProps.style,i=l!=null&&l.hasOwnProperty("display")?l.display:null,s.style.display=NP("display",i))}catch(m){Ze(e,e.return,m)}}}else if(c.tag===6){if(d===null)try{c.stateNode.nodeValue=u?"":c.memoizedProps}catch(m){Ze(e,e.return,m)}}else if((c.tag!==22&&c.tag!==23||c.memoizedState===null||c===e)&&c.child!==null){c.child.return=c,c=c.child;continue}if(c===e)break e;for(;c.sibling===null;){if(c.return===null||c.return===e)break e;d===c&&(d=null),c=c.return}d===c&&(d=null),c.sibling.return=c.return,c=c.sibling}}break;case 19:aa(t,e),Ta(e),a&4&&yP(e);break;case 21:break;default:aa(t,e),Ta(e)}}function Ta(e){var t=e.flags;if(t&2){try{e:{for(var r=e.return;r!==null;){if(lA(r)){var a=r;break e}r=r.return}throw Error($(160))}switch(a.tag){case 5:var n=a.stateNode;a.flags&32&&(mc(n,""),a.flags&=-33);var o=vP(e);wx(e,o,n);break;case 3:case 4:var i=a.stateNode.containerInfo,s=vP(e);xx(e,s,i);break;default:throw Error($(161))}}catch(l){Ze(e,e.return,l)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function h8(e,t,r){J=e,dA(e,t,r)}function dA(e,t,r){for(var a=(e.mode&1)!==0;J!==null;){var n=J,o=n.child;if(n.tag===22&&a){var i=n.memoizedState!==null||Xp;if(!i){var s=n.alternate,l=s!==null&&s.memoizedState!==null||Ft;s=Xp;var u=Ft;if(Xp=i,(Ft=l)&&!u)for(J=n;J!==null;)i=J,l=i.child,i.tag===22&&i.memoizedState!==null?bP(n):l!==null?(l.return=i,J=l):bP(n);for(;o!==null;)J=o,dA(o,t,r),o=o.sibling;J=n,Xp=s,Ft=u}xP(e,t,r)}else(n.subtreeFlags&8772)!==0&&o!==null?(o.return=n,J=o):xP(e,t,r)}}function xP(e){for(;J!==null;){var t=J;if((t.flags&8772)!==0){var r=t.alternate;try{if((t.flags&8772)!==0)switch(t.tag){case 0:case 11:case 15:Ft||Bm(5,t);break;case 1:var a=t.stateNode;if(t.flags&4&&!Ft)if(r===null)a.componentDidMount();else{var n=t.elementType===t.type?r.memoizedProps:na(t.type,r.memoizedProps);a.componentDidUpdate(n,r.memoizedState,a.__reactInternalSnapshotBeforeUpdate)}var o=t.updateQueue;o!==null&&aP(t,o,a);break;case 3:var i=t.updateQueue;if(i!==null){if(r=null,t.child!==null)switch(t.child.tag){case 5:r=t.child.stateNode;break;case 1:r=t.child.stateNode}aP(t,i,r)}break;case 5:var s=t.stateNode;if(r===null&&t.flags&4){r=s;var l=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":l.autoFocus&&r.focus();break;case"img":l.src&&(r.src=l.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(t.memoizedState===null){var u=t.alternate;if(u!==null){var d=u.memoizedState;if(d!==null){var c=d.dehydrated;c!==null&&yc(c)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error($(163))}Ft||t.flags&512&&yx(t)}catch(f){Ze(t,t.return,f)}}if(t===e){J=null;break}if(r=t.sibling,r!==null){r.return=t.return,J=r;break}J=t.return}}function wP(e){for(;J!==null;){var t=J;if(t===e){J=null;break}var r=t.sibling;if(r!==null){r.return=t.return,J=r;break}J=t.return}}function bP(e){for(;J!==null;){var t=J;try{switch(t.tag){case 0:case 11:case 15:var r=t.return;try{Bm(4,t)}catch(l){Ze(t,r,l)}break;case 1:var a=t.stateNode;if(typeof a.componentDidMount=="function"){var n=t.return;try{a.componentDidMount()}catch(l){Ze(t,n,l)}}var o=t.return;try{yx(t)}catch(l){Ze(t,o,l)}break;case 5:var i=t.return;try{yx(t)}catch(l){Ze(t,i,l)}}}catch(l){Ze(t,t.return,l)}if(t===e){J=null;break}var s=t.sibling;if(s!==null){s.return=t.return,J=s;break}J=t.return}}var g8=Math.ceil,Im=fn.ReactCurrentDispatcher,nw=fn.ReactCurrentOwner,_r=fn.ReactCurrentBatchConfig,ve=0,Lt=null,ct=null,Et=0,mr=0,bs=io(0),mt=0,Tc=null,Zo=0,jm=0,ow=0,dc=null,tr=null,iw=0,Ds=1/0,rn=null,Pm=!1,bx=null,eo=null,Kp=!1,
vendor: 6,782 bytes, line 8
8Xn=null,km=0,fc=0,Sx=null,am=-1,nm=0;function Xt(){return(ve&6)!==0?it():am!==-1?am:am=it()}function to(e){return(e.mode&1)===0?1:(ve&2)!==0&&Et!==0?Et&-Et:J6.transition!==null?(nm===0&&(nm=KP()),nm):(e=Le,e!==0||(e=window.event,e=e===void 0?16:rk(e.type)),e)}function la(e,t,r,a){if(50<fc)throw fc=0,Sx=null,Error($(185));Ec(e,r,a),((ve&2)===0||e!==Lt)&&(e===Lt&&((ve&2)===0&&(jm|=r),mt===4&&Gn(e,Et)),or(e,a),r===1&&ve===0&&(t.mode&1)===0&&(Ds=it()+500,_m&&so()))}function or(e,t){var r=e.callbackNode;t6(e,t);var a=cm(e,e===Lt?Et:0);if(a===0)r!==null&&TI(r),e.callbackNode=null,e.callbackPriority=0;else if(t=a&-a,e.callbackPriority!==t){if(r!=null&&TI(r),t===1)e.tag===0?Z6(SP.bind(null,e)):bk(SP.bind(null,e)),X6(function(){(ve&6)===0&&so()}),r=null;else{switch(YP(a)){case 1:r=Mx;break;case 4:r=$P;break;case 16:r=um;break;case 536870912:r=XP;break;default:r=um}r=xA(r,fA.bind(null,e))}e.callbackPriority=t,e.callbackNode=r}}function fA(e,t){if(am=-1,nm=0,(ve&6)!==0)throw Error($(327));var r=e.callbackNode;if(ks()&&e.callbackNode!==r)return null;var a=cm(e,e===Lt?Et:0);if(a===0)return null;if((a&30)!==0||(a&e.expiredLanes)!==0||t)t=Am(e,a);else{t=a;var n=ve;ve|=2;var o=mA();(Lt!==e||Et!==t)&&(rn=null,Ds=it()+500,$o(e,t));do try{x8();break}catch(s){pA(e,s)}while(!0);Wx(),Im.current=o,ve=n,ct!==null?t=0:(Lt=null,Et=0,t=mt)}if(t!==0){if(t===2&&(n=K0(e),n!==0&&(a=n,t=Cx(e,n))),t===1)throw r=Tc,$o(e,0),Gn(e,a),or(e,it()),r;if(t===6)Gn(e,a);else{if(n=e.current.alternate,(a&30)===0&&!v8(n)&&(t=Am(e,a),t===2&&(o=K0(e),o!==0&&(a=o,t=Cx(e,o))),t===1))throw r=Tc,$o(e,0),Gn(e,a),or(e,it()),r;switch(e.finishedWork=n,e.finishedLanes=a,t){case 0:case 1:throw Error($(345));case 2:zo(e,tr,rn);break;case 3:if(Gn(e,a),(a&130023424)===a&&(t=iw+500-it(),10<t)){if(cm(e,0)!==0)break;if(n=e.suspendedLanes,(n&a)!==a){Xt(),e.pingedLanes|=e.suspendedLanes&n;break}e.timeoutHandle=ax(zo.bind(null,e,tr,rn),t);break}zo(e,tr,rn);break;case 4:if(Gn(e,a),(a&4194240)===a)break;for(t=e.eventTimes,n=-1;0<a;){var i=31-sa(a);o=1<<i,i=t[i],i>n&&(n=i),a&=~o}if(a=n,a=it()-a,a=(120>a?120:480>a?480:1080>a?1080:1920>a?1920:3e3>a?3e3:4320>a?4320:1960*g8(a/1960))-a,10<a){e.timeoutHandle=ax(zo.bind(null,e,tr,rn),a);break}zo(e,tr,rn);break;case 5:zo(e,tr,rn);break;default:throw Error($(329))}}}return or(e,it()),e.callbackNode===r?fA.bind(null,e):null}function Cx(e,t){var r=dc;return e.current.memoizedState.isDehydrated&&($o(e,t).flags|=256),e=Am(e,t),e!==2&&(t=tr,tr=r,t!==null&&Lx(t)),e}function Lx(e){tr===null?tr=e:tr.push.apply(tr,e)}function v8(e){for(var t=e;;){if(t.flags&16384){var r=t.updateQueue;if(r!==null&&(r=r.stores,r!==null))for(var a=0;a<r.length;a++){var n=r[a],o=n.getSnapshot;n=n.value;try{if(!ua(o(),n))return!1}catch{return!1}}}if(r=t.child,t.subtreeFlags&16384&&r!==null)r.return=t,t=r;else{if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function Gn(e,t){for(t&=~ow,t&=~jm,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var r=31-sa(t),a=1<<r;e[r]=-1,t&=~a}}function SP(e){if((ve&6)!==0)throw Error($(327));ks();var t=cm(e,0);if((t&1)===0)return or(e,it()),null;var r=Am(e,t);if(e.tag!==0&&r===2){var a=K0(e);a!==0&&(t=a,r=Cx(e,a))}if(r===1)throw r=Tc,$o(e,0),Gn(e,t),or(e,it()),r;if(r===6)throw Error($(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,zo(e,tr,rn),or(e,it()),null}function sw(e,t){var r=ve;ve|=1;try{return e(t)}finally{ve=r,ve===0&&(Ds=it()+500,_m&&so())}}function Jo(e){Xn!==null&&Xn.tag===0&&(ve&6)===0&&ks();var t=ve;ve|=1;var r=_r.transition,a=Le;try{if(_r.transition=null,Le=1,e)return e()}finally{Le=a,_r.transition=r,ve=t,(ve&6)===0&&so()}}function lw(){mr=bs.current,Ne(bs)}function $o(e,t){e.finishedWork=null,e.finishedLanes=0;var r=e.timeoutHandle;if(r!==-1&&(e.timeoutHandle=-1,$6(r)),ct!==null)for(r=ct.return;r!==null;){var a=r;switch(qx(a),a.tag){case 1:a=a.type.childContextTypes,a!=null&&hm();break;case 3:Ms(),Ne(ar),Ne(Bt),Qx();break;case 5:Yx(a);break;case 4:Ms();break;case 13:Ne($e);break;case 19:Ne($e);break;case 10:Gx(a.type._context);break;case 22:case 23:lw()}r=r.return}if(Lt=e,ct=e=ro(e.current,null),Et=mr=t,mt=0,Tc=null,ow=jm=Zo=0,tr=dc=null,Wo!==null){for(t=0;t<Wo.length;t++)if(r=Wo[t],a=r.interleaved,a!==null){r.interleaved=null;var n=a.next,o=r.pending;if(o!==null){var i=o.next;o.next=n,a.next=i}r.pending=a}Wo=null}return e}function pA(e,t){do{var r=ct;try{if(Wx(),em.current=Lm,Cm){for(var a=Xe.memoizedState;a!==null;){var n=a.queue;n!==null&&(n.pending=null),a=a.next}Cm=!1}if(Qo=0,Ct=pt=Xe=null,uc=!1,Pc=0,nw.current=null,r===null||r.return===null){mt=1,Tc=t,ct=null;break}e:{var o=e,i=r.return,s=r,l=t;if(t=Et,s.flags|=32768,l!==null&&typeof l=="object"&&typeof l.then=="function"){var u=l,d=s,c=d.tag;if((d.mode&1)===0&&(c===0||c===11||c===15)){var f=d.alternate;f?(d.updateQueue=f.updateQueue,d.memoizedState=f.memoizedState,d.lanes=f.lanes):(d.updateQueue=null,d.memoizedState=null)}var p=uP(i);if(p!==null){p.flags&=-257,cP(p,i,s,o,t),p.mode&1&&lP(o,u,t),t=p,l=u;var v=t.updateQueue;if(v===null){var m=new Set;m.add(l),t.updateQueue=m}else v.add(l);break e}else{if((t&1)===0){lP(o,u,t),uw();break e}l=Error($(426))}}else if(qe&&s.mode&1){var w=uP(i);if(w!==null){(w.flags&65536)===0&&(w.flags|=256),cP(w,i,s,o,t),zx(Rs(l,s));break e}}o=l=Rs(l,s),mt!==4&&(mt=2),dc===null?dc=[o]:dc.push(o),o=i;do{switch(o.tag){case 3:o.flags|=65536,t&=-t,o.lanes|=t;var h=Yk(o,l,t);rP(o,h);break e;case 1:s=l;var g=o.type,y=o.stateNode;if((o.flags&128)===0&&(typeof g.getDerivedStateFromError=="function"||y!==null&&typeof y.componentDidCatch=="function"&&(eo===null||!eo.has(y)))){o.flags|=65536,t&=-t,o.lanes|=t;var S=Qk(o,s,t);rP(o,S);break e}}o=o.return}while(o!==null)}gA(r)}catch(x){t=x,ct===r&&r!==null&&(ct=r=r.return);continue}break}while(!0)}function mA(){var e=Im.current;return Im.current=Lm,e===null?Lm:e}function uw(){(mt===0||mt===3||mt===2)&&(mt=4),Lt===null||(Zo&268435455)===0&&(jm&268435455)===0||Gn(Lt,Et)}function Am(e,t){var r=ve;ve|=2;var a=mA();(Lt!==e||Et!==t)&&(rn=null,$o(e,t));do try{y8();break}catch(n){pA(e,n)}while(!0);if(Wx(),ve=r,Im.current=a,ct!==null)throw Error($(261));return Lt=null,Et=0,mt}function y8(){for(;ct!==null;)hA(ct)}function x8(){for(;ct!==null&&!Gz();)hA(ct)}function hA(e){var t=yA(e.alternate,e,mr);e.memoizedProps=e.pendingProps,t===null?gA(e):ct=t,nw.current=null}function gA(e){var t=e;do{var r=t.alternate;if(e=t.return,(t.flags&32768)===0){if(r=d8(r,t,mr),r!==null){ct=r;return}}else{if(r=f8(r,t),r!==null){r.flags&=32767,ct=r;return}if(e!==null)e.flags|=32768,e.subtreeFlags=0,e.deletions=null;else{mt=6,ct=null;return}}if(t=t.sibling,t!==null){ct=t;return}ct=t=e}while(t!==null);mt===0&&(mt=5)}function zo(e,t,r){var a=Le,n=_r.transition;
vendor: 7,320 bytes, line 8
8try{_r.transition=null,Le=1,w8(e,t,r,a)}finally{_r.transition=n,Le=a}return null}function w8(e,t,r,a){do ks();while(Xn!==null);if((ve&6)!==0)throw Error($(327));r=e.finishedWork;var n=e.finishedLanes;if(r===null)return null;if(e.finishedWork=null,e.finishedLanes=0,r===e.current)throw Error($(177));e.callbackNode=null,e.callbackPriority=0;var o=r.lanes|r.childLanes;if(r6(e,o),e===Lt&&(ct=Lt=null,Et=0),(r.subtreeFlags&2064)===0&&(r.flags&2064)===0||Kp||(Kp=!0,xA(um,function(){return ks(),null})),o=(r.flags&15990)!==0,(r.subtreeFlags&15990)!==0||o){o=_r.transition,_r.transition=null;var i=Le;Le=1;var s=ve;ve|=4,nw.current=null,m8(e,r),cA(r,e),q6(tx),dm=!!ex,tx=ex=null,e.current=r,h8(r,e,n),$z(),ve=s,Le=i,_r.transition=o}else e.current=r;if(Kp&&(Kp=!1,Xn=e,km=n),o=e.pendingLanes,o===0&&(eo=null),Yz(r.stateNode,a),or(e,it()),t!==null)for(a=e.onRecoverableError,r=0;r<t.length;r++)n=t[r],a(n.value,{componentStack:n.stack,digest:n.digest});if(Pm)throw Pm=!1,e=bx,bx=null,e;return(km&1)!==0&&e.tag!==0&&ks(),o=e.pendingLanes,(o&1)!==0?e===Sx?fc++:(fc=0,Sx=e):fc=0,so(),null}function ks(){if(Xn!==null){var e=YP(km),t=_r.transition,r=Le;try{if(_r.transition=null,Le=16>e?16:e,Xn===null)var a=!1;else{if(e=Xn,Xn=null,km=0,(ve&6)!==0)throw Error($(331));var n=ve;for(ve|=4,J=e.current;J!==null;){var o=J,i=o.child;if((J.flags&16)!==0){var s=o.deletions;if(s!==null){for(var l=0;l<s.length;l++){var u=s[l];for(J=u;J!==null;){var d=J;switch(d.tag){case 0:case 11:case 15:cc(8,d,o)}var c=d.child;if(c!==null)c.return=d,J=c;else for(;J!==null;){d=J;var f=d.sibling,p=d.return;if(sA(d),d===u){J=null;break}if(f!==null){f.return=p,J=f;break}J=p}}}var v=o.alternate;if(v!==null){var m=v.child;if(m!==null){v.child=null;do{var w=m.sibling;m.sibling=null,m=w}while(m!==null)}}J=o}}if((o.subtreeFlags&2064)!==0&&i!==null)i.return=o,J=i;else e:for(;J!==null;){if(o=J,(o.flags&2048)!==0)switch(o.tag){case 0:case 11:case 15:cc(9,o,o.return)}var h=o.sibling;if(h!==null){h.return=o.return,J=h;break e}J=o.return}}var g=e.current;for(J=g;J!==null;){i=J;var y=i.child;if((i.subtreeFlags&2064)!==0&&y!==null)y.return=i,J=y;else e:for(i=g;J!==null;){if(s=J,(s.flags&2048)!==0)try{switch(s.tag){case 0:case 11:case 15:Bm(9,s)}}catch(x){Ze(s,s.return,x)}if(s===i){J=null;break e}var S=s.sibling;if(S!==null){S.return=s.return,J=S;break e}J=s.return}}if(ve=n,so(),Ma&&typeof Ma.onPostCommitFiberRoot=="function")try{Ma.onPostCommitFiberRoot(Em,e)}catch{}a=!0}return a}finally{Le=r,_r.transition=t}}return!1}function CP(e,t,r){t=Rs(r,t),t=Yk(e,t,1),e=Jn(e,t,1),t=Xt(),e!==null&&(Ec(e,1,t),or(e,t))}function Ze(e,t,r){if(e.tag===3)CP(e,e,r);else for(;t!==null;){if(t.tag===3){CP(t,e,r);break}else if(t.tag===1){var a=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof a.componentDidCatch=="function"&&(eo===null||!eo.has(a))){e=Rs(r,e),e=Qk(t,e,1),t=Jn(t,e,1),e=Xt(),t!==null&&(Ec(t,1,e),or(t,e));break}}t=t.return}}function b8(e,t,r){var a=e.pingCache;a!==null&&a.delete(t),t=Xt(),e.pingedLanes|=e.suspendedLanes&r,Lt===e&&(Et&r)===r&&(mt===4||mt===3&&(Et&130023424)===Et&&500>it()-iw?$o(e,0):ow|=r),or(e,t)}function vA(e,t){t===0&&((e.mode&1)===0?t=1:(t=_p,_p<<=1,(_p&130023424)===0&&(_p=4194304)));var r=Xt();e=cn(e,t),e!==null&&(Ec(e,t,r),or(e,r))}function S8(e){var t=e.memoizedState,r=0;t!==null&&(r=t.retryLane),vA(e,r)}function C8(e,t){var r=0;switch(e.tag){case 13:var a=e.stateNode,n=e.memoizedState;n!==null&&(r=n.retryLane);break;case 19:a=e.stateNode;break;default:throw Error($(314))}a!==null&&a.delete(t),vA(e,r)}var yA;yA=function(e,t,r){if(e!==null)if(e.memoizedProps!==t.pendingProps||ar.current)rr=!0;else{if((e.lanes&r)===0&&(t.flags&128)===0)return rr=!1,c8(e,t,r);rr=(e.flags&131072)!==0}else rr=!1,qe&&(t.flags&1048576)!==0&&Sk(t,ym,t.index);switch(t.lanes=0,t.tag){case 2:var a=t.type;rm(e,t),e=t.pendingProps;var n=Ts(t,Bt.current);Ps(t,r),n=Jx(null,t,a,e,n,r);var o=ew();return t.flags|=1,typeof n=="object"&&n!==null&&typeof n.render=="function"&&n.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,nr(a)?(o=!0,gm(t)):o=!1,t.memoizedState=n.state!==null&&n.state!==void 0?n.state:null,Xx(t),n.updater=Fm,t.stateNode=n,n._reactInternals=t,cx(t,a,e,r),t=px(null,t,a,!0,o,r)):(t.tag=0,qe&&o&&Vx(t),$t(null,t,n,r),t=t.child),t;case 16:a=t.elementType;e:{switch(rm(e,t),e=t.pendingProps,n=a._init,a=n(a._payload),t.type=a,n=t.tag=I8(a),e=na(a,e),n){case 0:t=fx(null,t,a,e,r);break e;case 1:t=pP(null,t,a,e,r);break e;case 11:t=dP(null,t,a,e,r);break e;case 14:t=fP(null,t,a,na(a.type,e),r);break e}throw Error($(306,a,""))}return t;case 0:return a=t.type,n=t.pendingProps,n=t.elementType===a?n:na(a,n),fx(e,t,a,n,r);case 1:return a=t.type,n=t.pendingProps,n=t.elementType===a?n:na(a,n),pP(e,t,a,n,r);case 3:e:{if(tA(t),e===null)throw Error($(387));a=t.pendingProps,o=t.memoizedState,n=o.element,Ak(e,t),bm(t,a,null,r);var i=t.memoizedState;if(a=i.element,o.isDehydrated)if(o={element:a,isDehydrated:!1,cache:i.cache,pendingSuspenseBoundaries:i.pendingSuspenseBoundaries,transitions:i.transitions},t.updateQueue.baseState=o,t.memoizedState=o,t.flags&256){n=Rs(Error($(423)),t),t=mP(e,t,a,r,n);break e}else if(a!==n){n=Rs(Error($(424)),t),t=mP(e,t,a,r,n);break e}else for(hr=Zn(t.stateNode.containerInfo.firstChild),gr=t,qe=!0,ia=null,r=Pk(t,null,a,r),t.child=r;r;)r.flags=r.flags&-3|4096,r=r.sibling;else{if(Es(),a===n){t=dn(e,t,r);break e}$t(e,t,a,r)}t=t.child}return t;case 5:return Tk(t),e===null&&sx(t),a=t.type,n=t.pendingProps,o=e!==null?e.memoizedProps:null,i=n.children,rx(a,n)?i=null:o!==null&&rx(a,o)&&(t.flags|=32),eA(e,t),$t(e,t,i,r),t.child;case 6:return e===null&&sx(t),null;case 13:return rA(e,t,r);case 4:return Kx(t,t.stateNode.containerInfo),a=t.pendingProps,e===null?t.child=Os(t,null,a,r):$t(e,t,a,r),t.child;case 11:return a=t.type,n=t.pendingProps,n=t.elementType===a?n:na(a,n),dP(e,t,a,n,r);case 7:return $t(e,t,t.pendingProps,r),t.child;case 8:return $t(e,t,t.pendingProps.children,r),t.child;case 12:return $t(e,t,t.pendingProps.children,r),t.child;case 10:e:{if(a=t.type._context,n=t.pendingProps,o=t.memoizedProps,i=n.value,Oe(xm,a._currentValue),a._currentValue=i,o!==null)if(ua(o.value,i)){if(o.children===n.children&&!ar.current){t=dn(e,t,r);break e}}else for(o=t.child,o!==null&&(o.return=t);o!==null;){var s=o.dependencies;if(s!==null){i=o.child;for(var l=s.firstContext;l!==null;){if(l.context===a){if(o.tag===1){l=sn(-1,r&-r),l.tag=2;var u=o.updateQueue;if(u!==null){u=u.shared;var d=u.pending;d===null?l.next=l:(l.next=d.next,d.next=l),u.pending=l}}o.lanes|=r,l=o.alternate,l!==null&&(l.lanes|=r),lx(o.return,r,t),s.lanes|=r;break}l=l.next}}else if(o.tag===10)i=o.type===t.type?null:o.child;else if(o.tag===18){if(i=o.return,i===null)throw Error($(341));i.lanes|=r,s=i.alternate,s!==null&&(s.lanes|=r),lx(i,r,t),i=o.sibling}else i=o.child;if(i!==null)i.return=o;else for(i=o;i!==null;){if(i===t){i=null;break}if(o=i.sibling,o!==null){o.return=i.return,i=o;break}i=i.return}o=i}$t(e,t,n.children,r),t=t.child}return t;case 9:return n=t.type,a=t.pendingProps.children,Ps(t,r),n=Nr(n),a=a(n),t.flags|=1,$t(e,t,a,r),t.child;case 14:return a=t.type,n=na(a,t.pendingProps),n=na(a.type,n),fP(e,t,a,n,r);case 15:return Zk(e,t,t.type,t.pendingProps,r);case 17:return a=t.type,n=t.pendingProps,n=t.elementType===a?n:na(a,n),rm(e,t),t.tag=1,nr(a)?(e=!0,gm
vendor: 5,465 bytes, line 8
8(t)):e=!1,Ps(t,r),Kk(t,a,n),cx(t,a,n,r),px(null,t,a,!0,e,r);case 19:return aA(e,t,r);case 22:return Jk(e,t,r)}throw Error($(156,t.tag))};function xA(e,t){return GP(e,t)}function L8(e,t,r,a){this.tag=e,this.key=r,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=a,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Dr(e,t,r,a){return new L8(e,t,r,a)}function cw(e){return e=e.prototype,!(!e||!e.isReactComponent)}function I8(e){if(typeof e=="function")return cw(e)?1:0;if(e!=null){if(e=e.$$typeof,e===Tx)return 11;if(e===Ex)return 14}return 2}function ro(e,t){var r=e.alternate;return r===null?(r=Dr(e.tag,t,e.key,e.mode),r.elementType=e.elementType,r.type=e.type,r.stateNode=e.stateNode,r.alternate=e,e.alternate=r):(r.pendingProps=t,r.type=e.type,r.flags=0,r.subtreeFlags=0,r.deletions=null),r.flags=e.flags&14680064,r.childLanes=e.childLanes,r.lanes=e.lanes,r.child=e.child,r.memoizedProps=e.memoizedProps,r.memoizedState=e.memoizedState,r.updateQueue=e.updateQueue,t=e.dependencies,r.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},r.sibling=e.sibling,r.index=e.index,r.ref=e.ref,r}function om(e,t,r,a,n,o){var i=2;if(a=e,typeof e=="function")cw(e)&&(i=1);else if(typeof e=="string")i=5;else e:switch(e){case ds:return Xo(r.children,n,o,t);case Ax:i=8,n|=8;break;case D0:return e=Dr(12,r,t,n|2),e.elementType=D0,e.lanes=o,e;case _0:return e=Dr(13,r,t,n),e.elementType=_0,e.lanes=o,e;case N0:return e=Dr(19,r,t,n),e.elementType=N0,e.lanes=o,e;case TP:return Um(r,n,o,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case kP:i=10;break e;case AP:i=9;break e;case Tx:i=11;break e;case Ex:i=14;break e;case zn:i=16,a=null;break e}throw Error($(130,e==null?e:typeof e,""))}return t=Dr(i,r,t,n),t.elementType=e,t.type=a,t.lanes=o,t}function Xo(e,t,r,a){return e=Dr(7,e,a,t),e.lanes=r,e}function Um(e,t,r,a){return e=Dr(22,e,a,t),e.elementType=TP,e.lanes=r,e.stateNode={isHidden:!1},e}function O0(e,t,r){return e=Dr(6,e,null,t),e.lanes=r,e}function M0(e,t,r){return t=Dr(4,e.children!==null?e.children:[],e.key,t),t.lanes=r,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function P8(e,t,r,a,n){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=h0(0),this.expirationTimes=h0(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=h0(0),this.identifierPrefix=a,this.onRecoverableError=n,this.mutableSourceEagerHydrationData=null}function dw(e,t,r,a,n,o,i,s,l){return e=new P8(e,t,r,s,l),t===1?(t=1,o===!0&&(t|=8)):t=0,o=Dr(3,null,null,t),e.current=o,o.stateNode=e,o.memoizedState={element:a,isDehydrated:r,cache:null,transitions:null,pendingSuspenseBoundaries:null},Xx(o),e}function k8(e,t,r){var a=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:cs,key:a==null?null:""+a,children:e,containerInfo:t,implementation:r}}function wA(e){if(!e)return no;e=e._reactInternals;e:{if(ti(e)!==e||e.tag!==1)throw Error($(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(nr(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(t!==null);throw Error($(171))}if(e.tag===1){var r=e.type;if(nr(r))return wk(e,r,t)}return t}function bA(e,t,r,a,n,o,i,s,l){return e=dw(r,a,!0,e,n,o,i,s,l),e.context=wA(null),r=e.current,a=Xt(),n=to(r),o=sn(a,n),o.callback=t??null,Jn(r,o,n),e.current.lanes=n,Ec(e,n,a),or(e,a),e}function Vm(e,t,r,a){var n=t.current,o=Xt(),i=to(n);return r=wA(r),t.context===null?t.context=r:t.pendingContext=r,t=sn(o,i),t.payload={element:e},a=a===void 0?null:a,a!==null&&(t.callback=a),e=Jn(n,t,i),e!==null&&(la(e,n,i,o),Jp(e,n,i)),i}function Tm(e){if(e=e.current,!e.child)return null;switch(e.child.tag){case 5:return e.child.stateNode;default:return e.child.stateNode}}function LP(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var r=e.retryLane;e.retryLane=r!==0&&r<t?r:t}}function fw(e,t){LP(e,t),(e=e.alternate)&&LP(e,t)}function A8(){return null}var SA=typeof reportError=="function"?reportError:function(e){console.error(e)};function pw(e){this._internalRoot=e}qm.prototype.render=pw.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error($(409));Vm(e,t,null,null)};qm.prototype.unmount=pw.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;Jo(function(){Vm(null,e,null,null)}),t[un]=null}};function qm(e){this._internalRoot=e}qm.prototype.unstable_scheduleHydration=function(e){if(e){var t=JP();e={blockedOn:null,target:e,priority:t};for(var r=0;r<Wn.length&&t!==0&&t<Wn[r].priority;r++);Wn.splice(r,0,e),r===0&&tk(e)}};function mw(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function zm(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11&&(e.nodeType!==8||e.nodeValue!==" react-mount-point-unstable "))}function IP(){}function T8(e,t,r,a,n){if(n){if(typeof a=="function"){var o=a;a=function(){var u=Tm(i);o.call(u)}}var i=bA(t,a,e,0,null,!1,!1,"",IP);
vendor: 4,121 bytes, line 8
8return e._reactRootContainer=i,e[un]=i.current,bc(e.nodeType===8?e.parentNode:e),Jo(),i}for(;n=e.lastChild;)e.removeChild(n);if(typeof a=="function"){var s=a;a=function(){var u=Tm(l);s.call(u)}}var l=dw(e,0,!1,null,null,!1,!1,"",IP);return e._reactRootContainer=l,e[un]=l.current,bc(e.nodeType===8?e.parentNode:e),Jo(function(){Vm(t,l,r,a)}),l}function Hm(e,t,r,a,n){var o=r._reactRootContainer;if(o){var i=o;if(typeof n=="function"){var s=n;n=function(){var l=Tm(i);s.call(l)}}Vm(t,i,e,n)}else i=T8(r,t,e,n,a);return Tm(i)}QP=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var r=rc(t.pendingLanes);r!==0&&(Rx(t,r|1),or(t,it()),(ve&6)===0&&(Ds=it()+500,so()))}break;case 13:Jo(function(){var a=cn(e,1);if(a!==null){var n=Xt();la(a,e,1,n)}}),fw(e,1)}};Dx=function(e){if(e.tag===13){var t=cn(e,134217728);if(t!==null){var r=Xt();la(t,e,134217728,r)}fw(e,134217728)}};ZP=function(e){if(e.tag===13){var t=to(e),r=cn(e,t);if(r!==null){var a=Xt();la(r,e,t,a)}fw(e,t)}};JP=function(){return Le};ek=function(e,t){var r=Le;try{return Le=e,t()}finally{Le=r}};G0=function(e,t,r){switch(t){case"input":if(j0(e,r),t=r.name,r.type==="radio"&&t!=null){for(r=e;r.parentNode;)r=r.parentNode;for(r=r.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<r.length;t++){var a=r[t];if(a!==e&&a.form===e.form){var n=Dm(a);if(!n)throw Error($(90));OP(a),j0(a,n)}}}break;case"textarea":RP(e,r);break;case"select":t=r.value,t!=null&&Ss(e,!!r.multiple,t,!1)}};UP=sw;VP=Jo;var E8={usingClientEntryPoint:!1,Events:[Mc,hs,Dm,BP,jP,sw]},Zu={findFiberByHostInstance:Ho,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},O8={bundleType:Zu.bundleType,version:Zu.version,rendererPackageName:Zu.rendererPackageName,rendererConfig:Zu.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:fn.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return e=HP(e),e===null?null:e.stateNode},findFiberByHostInstance:Zu.findFiberByHostInstance||A8,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.3.1-next-f1338f8080-20240426"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&(Ju=__REACT_DEVTOOLS_GLOBAL_HOOK__,!Ju.isDisabled&&Ju.supportsFiber))try{Em=Ju.inject(O8),Ma=Ju}catch{}var Ju;xr.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=E8;xr.createPortal=function(e,t){var r=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!mw(t))throw Error($(200));return k8(e,t,null,r)};xr.createRoot=function(e,t){if(!mw(e))throw Error($(299));var r=!1,a="",n=SA;return t!=null&&(t.unstable_strictMode===!0&&(r=!0),t.identifierPrefix!==void 0&&(a=t.identifierPrefix),t.onRecoverableError!==void 0&&(n=t.onRecoverableError)),t=dw(e,1,!1,null,null,r,!1,a,n),e[un]=t.current,bc(e.nodeType===8?e.parentNode:e),new pw(t)};xr.findDOMNode=function(e){if(e==null)return null;if(e.nodeType===1)return e;var t=e._reactInternals;if(t===void 0)throw typeof e.render=="function"?Error($(188)):(e=Object.keys(e).join(","),Error($(268,e)));return e=HP(t),e=e===null?null:e.stateNode,e};xr.flushSync=function(e){return Jo(e)};xr.hydrate=function(e,t,r){if(!zm(t))throw Error($(200));return Hm(null,e,t,!0,r)};xr.hydrateRoot=function(e,t,r){if(!mw(e))throw Error($(405));var a=r!=null&&r.hydratedSources||null,n=!1,o="",i=SA;if(r!=null&&(r.unstable_strictMode===!0&&(n=!0),r.identifierPrefix!==void 0&&(o=r.identifierPrefix),r.onRecoverableError!==void 0&&(i=r.onRecoverableError)),t=bA(t,null,e,1,r??null,n,!1,o,i),e[un]=t.current,bc(e),a)for(e=0;e<a.length;e++)r=a[e],n=r._getVersion,n=n(r._source),t.mutableSourceEagerHydrationData==null?t.mutableSourceEagerHydrationData=[r,n]:t.mutableSourceEagerHydrationData.push(r,n);return new qm(t)};xr.render=function(e,t,r){if(!zm(t))throw Error($(200));return Hm(null,e,t,!1,r)};xr.unmountComponentAtNode=function(e){if(!zm(e))throw Error($(40
8));return e._reactRootContainer?(Jo(function(){Hm(null,null,e,!1,function(){e._reactRootContainer=null,e[un]=null})}),!0):!1};xr.unstable_batchedUpdates=sw;xr.unstable_renderSubtreeIntoContainer=function(e,t,r,a){if(!zm(r))throw Error($(200));if(e==null||e._reactInternals===void 0)throw Error($(38));return Hm(e,t,r,!1,a)};xr.version="18.3.1-next-f1338f8080-20240426"});var Wm=M((Phe,IA)=>{"use strict";function LA(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(LA)}catch(e){console.error(e)}}LA(),IA.exports=CA()});var kA=M(vw=>{"use strict";var PA=Wm();vw.createRoot=PA.createRoot,vw.hydrateRoot=PA.hydrateRoot;var The});var JA=M(Ym=>{"use strict";var jH=K(),UH=Symbol.for("react.element"),VH=Symbol.for("react.fragment"),qH=Object.prototype.hasOwnProperty,zH=jH.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,HH={key:!0,ref:!0,__self:!0,__source:!0};function ZA(e,t,r){var a,n={},o=null,i=null;r!==void 0&&(o=""+r),t.key!==void 0&&(o=""+t.key),t.ref!==void 0&&(i=t.ref);for(a in t)qH.call(t,a)&&!HH.hasOwnProperty(a)&&(n[a]=t[a]);if(e&&e.defaultProps)for(a in t=e.defaultProps,t)n[a]===void 0&&(n[a]=t[a]);return{$$typeof:UH,type:e,key:o,ref:i,props:n,_owner:zH.current}}Ym.Fragment=VH;Ym.jsx=ZA;Ym.jsxs=ZA});var Me=M((wge,e2)=>{"use strict";e2.exports=JA()});var Yt=M((tEe,NO)=>{"use strict";var nG=Array.isArray;NO.exports=nG});var Wb=M((rEe,FO)=>{"use strict";var oG=typeof global=="object"&&global&&global.Object===Object&&global;FO.exports=oG});var ga=M((aEe,BO)=>{"use strict";var iG=Wb(),sG=typeof self=="object"&&self&&self.Object===Object&&self,lG=iG||sG||Function("return this")();BO.exports=lG});var wl=M((nEe,jO)=>{"use strict";var uG=ga(),cG=uG.Symbol;jO.exports=cG});var zO=M((oEe,qO)=>{"use strict";var UO=wl(),VO=Object.prototype,dG=VO.hasOwnProperty,fG=VO.toString,Fd=UO?UO.toStringTag:void 0;function pG(e){var t=dG.call(e,Fd),r=e[Fd];try{e[Fd]=void 0;var a=!0}catch{}var n=fG.call(e);return a&&(t?e[Fd]=r:delete e[Fd]),n}qO.exports=pG});var WO=M((iEe,HO)=>{"use strict";var mG=Object.prototype,hG=mG.toString;function gG(e){return hG.call(e)}HO.exports=gG});var qa=M((sEe,XO)=>{"use strict";var GO=wl(),vG=zO(),yG=WO(),xG="[object Null]",wG="[object Undefined]",$O=GO?GO.toStringTag:void 0;function bG(e){return e==null?e===void 0?wG:xG:$O&&$O in Object(e)?vG(e):yG(e)}XO.exports=bG});var za=M((lEe,KO)=>{"use strict";function SG(e){return e!=null&&typeof e=="object"}KO.exports=SG});var Ai=M((uEe,YO)=>{"use strict";var CG=qa(),LG=za(),IG="[object Symbol]";function PG(e){return typeof e=="symbol"||LG(e)&&CG(e)==IG}YO.exports=PG});var yg=M((cEe,QO)=>{"use strict";var kG=Yt(),AG=Ai(),TG=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,EG=/^\w*$/;function OG(e,t){if(kG(e))return!1;var r=typeof e;return r=="number"||r=="symbol"||r=="boolean"||e==null||AG(e)?!0:EG.test(e)||!TG.test(e)||t!=null&&e in Object(t)}QO.exports=OG});var qr=M((dEe,ZO)=>{"use strict";function MG(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}ZO.exports=MG});var dt=M((fEe,JO)=>{"use strict";var RG=qa(),DG=qr(),_G="[object AsyncFunction]",NG="[object Function]",FG="[object GeneratorFunction]",BG="[object Proxy]";function jG(e){if(!DG(e))return!1;var t=RG(e);return t==NG||t==FG||t==_G||t==BG}JO.exports=jG});var tM=M((pEe,eM)=>{"use strict";var UG=ga(),VG=UG["__core-js_shared__"];eM.exports=VG});var nM=M((mEe,aM)=>{"use strict";var Gb=tM(),rM=function(){var e=/[^.]+$/.exec(Gb&&Gb.keys&&Gb.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function qG(e){return!!rM&&rM in e}aM.exports=qG});var $b=M((hEe,oM)=>{"use strict";var zG=Function.prototype,HG=zG.toString;function WG(e){if(e!=null){try{return HG.call(e)}catch{}try{return e+""}catch{}}return""}oM.exports=WG});var sM=M((gEe,iM)=>{"use strict";var GG=dt(),$G=nM(),XG=qr(),KG=$b(),YG=/[\\^$.*+?()[\]{}|]/g,QG=/^\[object .+?Constructor\]$/,ZG=Function.prototype,JG=Object.prototype,e$=ZG.toString,t$=JG.hasOwnProperty,r$=RegExp("^"+e$.call(t$).replace(YG,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function a$(e){if(!XG(e)||$G(e))return!1;var t=GG(e)?r$:QG;return t.test(KG(e))}iM.exports=a$});var uM=M((vEe,lM)=>{"use strict";function n$(e,t){return e?.[t]}lM.exports=n$});var Io=M((yEe,cM)=>{"use strict";var o$=sM(),i$=uM();function s$(e,t){var r=i$(e,t);return o$(r)?r:void 0}cM.exports=s$});var Bd=M((xEe,dM)=>{"use strict";var l$=Io(),u$=l$(Object,"create");dM.exports=u$});var mM=M((wEe,pM)=>{"use strict";var fM=Bd();function c$(){this.__data__=fM?fM(null):{},this.size=0}pM.exports=c$});var gM=M((bEe,hM)=>{"use strict";function d$(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}hM.exports=d$});var yM=M((SEe,vM)=>{"use strict";var f$=Bd(),p$="__lodash_hash_undefined__",m$=Object.prototype,h$=m$.hasOwnProperty;function g$(e){var t=this.__data__;if(f$){var r=t[e];return r===p$?void 0:r}return h$.call(t,e)?t[e]:void 0}vM.exports=g$});var wM=M((CEe,xM)=>{"use strict";var v$=Bd(),y$=Object.prototype,x$=y$.hasOwnProperty;function w$(e){var t=this.__data__;return v$?t[e]!==void 0:x$.call(t,e)}xM.exports=w$});var SM=M((LEe,bM)=>{"use strict";var b$=Bd(),S$="__lodash_hash_undefined__";function C$(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=b$&&t===void 0?S$:t,this}bM.exports=C$});var LM=M((IEe,CM)=>{"use strict";var L$=mM(),I$=gM(),P$=yM(),k$=wM(),A$=SM();function bl(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var a=e[t];this.set(a[0],a[1])}}bl.prototype.clear=L$;bl.prototype.delete=I$;bl.prototype.get=P$;bl.prototype.has=k$;bl.prototype.set=A$;CM.exports=bl});var PM=M((PEe,IM)=>{"use strict";function T$(){this.__data__=[],this.size=0}IM.exports=T$});var xg=M((kEe,kM)=>{"use strict";function E$(e,t){return e===t||e!==e&&t!==t}kM.exports=E$});var jd=M((AEe,AM)=>{"use strict";var O$=xg();function M$(e,t){for(var r=e.length;r--;)if(O$(e[r][0],t))return r;return-1}AM.exports=M$});var EM=M((TEe,TM)=>{"use strict";var R$=jd(),D$=Array.prototype,_$=D$.splice;function N$(e){var t=this.__data__,r=R$(t,e);if(r<0)return!1;var a=t.length-1;return r==a?t.pop():_$.call(t,r,1),--this.size,!0}TM.exports=N$});var MM=M((EEe,OM)=>{"use strict";var F$=jd();function B$(e){var t=this.__data__,r=F$(t,e);return r<0?void 0:t[r][1]}OM.exports=B$});var DM=M((OEe,RM)=>{"use strict";var j$=jd();function U$(e){return j$(this.__data__,e)>-1}RM.exports=U$});var NM=M((MEe,_M)=>{"use strict";var V$=jd();function q$(e,t){var r=this.__data__,a=V$(r,e);return a<0?(++this.size,r.push([e,t])):r[a][1]=t,this}_M.exports=q$});var Ud=M((REe,FM)=>{"use strict";var z$=PM(),H$=EM(),W$=MM(),G$=DM(),$$=NM();function Sl(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var a=e[t];this.set(a[0],a[1])}}Sl.prototype.clear=z$;Sl.prototype.delete=H$;Sl.prototype.get=W$;Sl.prototype.has=G$;Sl.prototype.set=$$;FM.exports=Sl});var wg=M((DEe,BM)=>{"use strict";var X$=Io(),K$=ga(),Y$=X$(K$,"Map");BM.exports=Y$});var VM=M((_Ee,UM)=>{"use strict";var jM=LM(),Q$=Ud(),Z$=wg();
vendor: 1,924 bytes, line 8
8function J$(){this.size=0,this.__data__={hash:new jM,map:new(Z$||Q$),string:new jM}}UM.exports=J$});var zM=M((NEe,qM)=>{"use strict";function eX(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}qM.exports=eX});var Vd=M((FEe,HM)=>{"use strict";var tX=zM();function rX(e,t){var r=e.__data__;return tX(t)?r[typeof t=="string"?"string":"hash"]:r.map}HM.exports=rX});var GM=M((BEe,WM)=>{"use strict";var aX=Vd();function nX(e){var t=aX(this,e).delete(e);return this.size-=t?1:0,t}WM.exports=nX});var XM=M((jEe,$M)=>{"use strict";var oX=Vd();function iX(e){return oX(this,e).get(e)}$M.exports=iX});var YM=M((UEe,KM)=>{"use strict";var sX=Vd();function lX(e){return sX(this,e).has(e)}KM.exports=lX});var ZM=M((VEe,QM)=>{"use strict";var uX=Vd();function cX(e,t){var r=uX(this,e),a=r.size;return r.set(e,t),this.size+=r.size==a?0:1,this}QM.exports=cX});var bg=M((qEe,JM)=>{"use strict";var dX=VM(),fX=GM(),pX=XM(),mX=YM(),hX=ZM();function Cl(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var a=e[t];this.set(a[0],a[1])}}Cl.prototype.clear=dX;Cl.prototype.delete=fX;Cl.prototype.get=pX;Cl.prototype.has=mX;Cl.prototype.set=hX;JM.exports=Cl});var Kb=M((zEe,tR)=>{"use strict";var eR=bg(),gX="Expected a function";function Xb(e,t){if(typeof e!="function"||t!=null&&typeof t!="function")throw new TypeError(gX);var r=function(){var a=arguments,n=t?t.apply(this,a):a[0],o=r.cache;if(o.has(n))return o.get(n);var i=e.apply(this,a);return r.cache=o.set(n,i)||o,i};return r.cache=new(Xb.Cache||eR),r}Xb.Cache=eR;tR.exports=Xb});var aR=M((HEe,rR)=>{"use strict";var vX=Kb(),yX=500;function xX(e){var t=vX(e,function(a){return r.size===yX&&r.clear(),a}),r=t.cache;return t}rR.exports=xX});var oR=M((WEe,nR)=>{"use strict";var wX=aR(),bX=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,SX=/\\(\\)?/g,CX=wX(function(e){var t=[];
8return e.charCodeAt(0)===46&&t.push(""),e.replace(bX,function(r,a,n,o){t.push(n?o.replace(SX,"$1"):a||r)}),t});nR.exports=CX});var Sg=M((GEe,iR)=>{"use strict";function LX(e,t){for(var r=-1,a=e==null?0:e.length,n=Array(a);++r<a;)n[r]=t(e[r],r,e);return n}iR.exports=LX});var fR=M(($Ee,dR)=>{"use strict";var sR=wl(),IX=Sg(),PX=Yt(),kX=Ai(),AX=1/0,lR=sR?sR.prototype:void 0,uR=lR?lR.toString:void 0;function cR(e){if(typeof e=="string")return e;if(PX(e))return IX(e,cR)+"";if(kX(e))return uR?uR.call(e):"";var t=e+"";return t=="0"&&1/e==-AX?"-0":t}dR.exports=cR});var Yb=M((XEe,pR)=>{"use strict";var TX=fR();function EX(e){return e==null?"":TX(e)}pR.exports=EX});var Qb=M((KEe,mR)=>{"use strict";var OX=Yt(),MX=yg(),RX=oR(),DX=Yb();function _X(e,t){return OX(e)?e:MX(e,t)?[e]:RX(DX(e))}mR.exports=_X});var qd=M((YEe,hR)=>{"use strict";var NX=Ai(),FX=1/0;function BX(e){if(typeof e=="string"||NX(e))return e;var t=e+"";return t=="0"&&1/e==-FX?"-0":t}hR.exports=BX});var Cg=M((QEe,gR)=>{"use strict";var jX=Qb(),UX=qd();function VX(e,t){t=jX(t,e);for(var r=0,a=t.length;e!=null&&r<a;)e=e[UX(t[r++])];return r&&r==a?e:void 0}gR.exports=VX});var Ti=M((ZEe,vR)=>{"use strict";var qX=Cg();function zX(e,t,r){var a=e==null?void 0:qX(e,t);return a===void 0?r:a}vR.exports=zX});var va=M((JEe,yR)=>{"use strict";function HX(e){return e==null}yR.exports=HX});var Lg=M((eOe,xR)=>{"use strict";var WX=qa(),GX=Yt(),$X=za(),XX="[object String]";function KX(e){return typeof e=="string"||!GX(e)&&$X(e)&&WX(e)==XX}xR.exports=KX});var bR=M(Ie=>{"use strict";var Zb=Symbol.for("react.element"),Jb=Symbol.for("react.portal"),Ig=Symbol.for("react.fragment"),Pg=Symbol.for("react.strict_mode"),kg=Symbol.for("react.profiler"),Ag=Symbol.for("react.provider"),Tg=Symbol.for("react.context"),YX=Symbol.for("react.server_context"),Eg=Symbol.for("react.forward_ref"),Og=Symbol.for("react.suspense"),Mg=Symbol.for("react.suspense_list"),Rg=Symbol.for("react.memo"),Dg=Symbol.for("react.lazy"),QX=Symbol.for("react.offscreen"),wR;wR=Symbol.for("react.module.reference");function zr(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case Zb:switch(e=e.type,e){case Ig:case kg:case Pg:case Og:case Mg:return e;default:switch(e=e&&e.$$typeof,e){case YX:case Tg:case Eg:case Dg:case Rg:case Ag:return e;default:return t}}case Jb:return t}}}Ie.ContextConsumer=Tg;Ie.ContextProvider=Ag;Ie.Element=Zb;Ie.ForwardRef=Eg;Ie.Fragment=Ig;Ie.Lazy=Dg;Ie.Memo=Rg;Ie.Portal=Jb;Ie.Profiler=kg;Ie.StrictMode=Pg;Ie.Suspense=Og;Ie.SuspenseList=Mg;Ie.isAsyncMode=function(){return!1};Ie.isConcurrentMode=function(){return!1};Ie.isContextConsumer=function(e){return zr(e)===Tg};Ie.isContextProvider=function(e){return zr(e)===Ag};Ie.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===Zb};Ie.isForwardRef=function(e){return zr(e)===Eg};Ie.isFragment=function(e){return zr(e)===Ig};Ie.isLazy=function(e){return zr(e)===Dg};Ie.isMemo=function(e){return zr(e)===Rg};Ie.isPortal=function(e){return zr(e)===Jb};Ie.isProfiler=function(e){return zr(e)===kg};Ie.isStrictMode=function(e){return zr(e)===Pg};Ie.isSuspense=function(e){return zr(e)===Og};Ie.isSuspenseList=function(e){return zr(e)===Mg};Ie.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===Ig||e===kg||e===Pg||e===Og||e===Mg||e===QX||typeof e=="object"&&e!==null&&(e.$$typeof===Dg||e.$$typeof===Rg||e.$$typeof===Ag||e.$$typeof===Tg||e.$$typeof===Eg||e.$$typeof===wR||e.getModuleId!==void 0)};Ie.typeOf=zr});var CR=M((rOe,SR)=>{"use strict";SR.exports=bR()});var e1=M((aOe,LR)=>{"use strict";var ZX=qa(),JX=za(),eK="[object Number]";function tK(e){return typeof e=="number"||JX(e)&&ZX(e)==eK}LR.exports=tK});var t1=M((nOe,IR)=>{"use strict";var rK=e1();function aK(e){return rK(e)&&e!=+e}IR.exports=aK});var zR=M((xOe,qR)=>{"use strict";function bK(e,t,r){var a=-1,n=e.length;t<0&&(t=-t>n?0:n+t),r=r>n?n:r,r<0&&(r+=n),n=t>r?0:r-t>>>0,t>>>=0;for(var o=Array(n);++a<n;)o[a]=e[a+t];return o}qR.exports=bK});var WR=M((wOe,HR)=>{"use strict";var SK=zR();function CK(e,t,r){var a=e.length;return r=r===void 0?a:r,!t&&r>=a?e:SK(e,t,r)}HR.exports=CK});var m1=M((bOe,GR)=>{"use strict";var LK="\\ud800-\\udfff",IK="\\u0300-\\u036f",PK="\\ufe20-\\ufe2f",kK="\\u20d0-\\u20ff",AK=IK+PK+kK,TK="\\ufe0e\\ufe0f",EK="\\u200d",OK=RegExp("["+EK+LK+AK+TK+"]");function MK(e){return OK.test(e)}GR.exports=MK});var XR=M((SOe,$R)=>{"use strict";function RK(e){return e.split("")}$R.exports=RK});var rD=M((COe,tD)=>{"use strict";var KR="\\ud800-\\udfff",DK="\\u0300-\\u036f",_K="\\ufe20-\\ufe2f",NK="\\u20d0-\\u20ff",FK=DK+_K+NK,BK="\\ufe0e\\ufe0f",jK="["+KR+"]",h1="["+FK+"]",g1="\\ud83c[\\udffb-\\udfff]",UK="(?:"+h1+"|"+g1+")",YR="[^"+KR+"]",QR="(?:\\ud83c[\\udde6-\\uddff]){2}",ZR="[\\ud800-\\udbff][\\udc00-\\udfff]",VK="\\u200d",JR=UK+"?",eD="["+BK+"]?",qK="(?:"+VK+"(?:"+[YR,QR,ZR].join("|")+")"+eD+JR+")*",zK=eD+JR+qK,HK="(?:"+[YR+h1+"?",h1,QR,ZR,jK].join("|")+")",WK=RegExp(g1+"(?="+g1+")|"+HK+zK,"g");function GK(e){return e.match(WK)||[]}tD.exports=GK});var nD=M((LOe,aD)=>{"use strict";var $K=XR(),XK=m1(),KK=rD();function YK(e){return XK(e)?KK(e):$K(e)}aD.exports=YK});var iD=M((IOe,oD)=>{"use strict";var QK=WR(),ZK=m1(),JK=nD(),eY=Yb();function tY(e){return function(t){t=eY(t);var r=ZK(t)?JK(t):void 0,a=r?r[0]:t.charAt(0),n=r?QK(r,1).join(""):t.slice(1);return a[e]()+n}}oD.exports=tY});var Ug=M((POe,sD)=>{"use strict";var rY=iD(),aY=rY("toUpperCase");sD.exports=aY});var RD=M((ARe,MD)=>{"use strict";var MY=Ud();function RY(){this.__data__=new MY,this.size=0}MD.exports=RY});var _D=M((TRe,DD)=>{"use strict";function DY(e){var t=this.__data__,r=t.delete(e);return this.size=t.size,r}DD.exports=DY});var FD=M((ERe,ND)=>{"use strict";function _Y(e){return this.__data__.get(e)}ND.exports=_Y});var jD=M((ORe,BD)=>{"use strict";function NY(e){return this.__data__.has(e)}BD.exports=NY});var VD=M((MRe,UD)=>{"use strict";var FY=Ud(),BY=wg(),jY=bg(),UY=200;function VY(e,t){var r=this.__data__;if(r instanceof FY){var a=r.__data__;if(!BY||a.length<UY-1)return a.push([e,t]),this.size=++r.size,this;r=this.__data__=new jY(a)}return r.set(e,t),this.size=r.size,this}UD.exports=VY});var Y1=M((RRe,qD)=>{"use strict";var qY=Ud(),zY=RD(),HY=_D(),WY=FD(),GY=jD(),$Y=VD();
vendor: 5,029 bytes, line 8
8function _l(e){var t=this.__data__=new qY(e);this.size=t.size}_l.prototype.clear=zY;_l.prototype.delete=HY;_l.prototype.get=WY;_l.prototype.has=GY;_l.prototype.set=$Y;qD.exports=_l});var HD=M((DRe,zD)=>{"use strict";var XY="__lodash_hash_undefined__";function KY(e){return this.__data__.set(e,XY),this}zD.exports=KY});var GD=M((_Re,WD)=>{"use strict";function YY(e){return this.__data__.has(e)}WD.exports=YY});var Q1=M((NRe,$D)=>{"use strict";var QY=bg(),ZY=HD(),JY=GD();function Kg(e){var t=-1,r=e==null?0:e.length;for(this.__data__=new QY;++t<r;)this.add(e[t])}Kg.prototype.add=Kg.prototype.push=ZY;Kg.prototype.has=JY;$D.exports=Kg});var Z1=M((FRe,XD)=>{"use strict";function eQ(e,t){for(var r=-1,a=e==null?0:e.length;++r<a;)if(t(e[r],r,e))return!0;return!1}XD.exports=eQ});var J1=M((BRe,KD)=>{"use strict";function tQ(e,t){return e.has(t)}KD.exports=tQ});var eS=M((jRe,YD)=>{"use strict";var rQ=Q1(),aQ=Z1(),nQ=J1(),oQ=1,iQ=2;function sQ(e,t,r,a,n,o){var i=r&oQ,s=e.length,l=t.length;if(s!=l&&!(i&&l>s))return!1;var u=o.get(e),d=o.get(t);if(u&&d)return u==t&&d==e;var c=-1,f=!0,p=r&iQ?new rQ:void 0;for(o.set(e,t),o.set(t,e);++c<s;){var v=e[c],m=t[c];if(a)var w=i?a(m,v,c,t,e,o):a(v,m,c,e,t,o);if(w!==void 0){if(w)continue;f=!1;break}if(p){if(!aQ(t,function(h,g){if(!nQ(p,g)&&(v===h||n(v,h,r,a,o)))return p.push(g)})){f=!1;break}}else if(!(v===m||n(v,m,r,a,o))){f=!1;break}}return o.delete(e),o.delete(t),f}YD.exports=sQ});var ZD=M((URe,QD)=>{"use strict";var lQ=ga(),uQ=lQ.Uint8Array;QD.exports=uQ});var e_=M((VRe,JD)=>{"use strict";function cQ(e){var t=-1,r=Array(e.size);return e.forEach(function(a,n){r[++t]=[n,a]}),r}JD.exports=cQ});var Yg=M((qRe,t_)=>{"use strict";function dQ(e){var t=-1,r=Array(e.size);return e.forEach(function(a){r[++t]=a}),r}t_.exports=dQ});var i_=M((zRe,o_)=>{"use strict";var r_=wl(),a_=ZD(),fQ=xg(),pQ=eS(),mQ=e_(),hQ=Yg(),gQ=1,vQ=2,yQ="[object Boolean]",xQ="[object Date]",wQ="[object Error]",bQ="[object Map]",SQ="[object Number]",CQ="[object RegExp]",LQ="[object Set]",IQ="[object String]",PQ="[object Symbol]",kQ="[object ArrayBuffer]",AQ="[object DataView]",n_=r_?r_.prototype:void 0,tS=n_?n_.valueOf:void 0;function TQ(e,t,r,a,n,o,i){switch(r){case AQ:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case kQ:return!(e.byteLength!=t.byteLength||!o(new a_(e),new a_(t)));case yQ:case xQ:case SQ:return fQ(+e,+t);case wQ:return e.name==t.name&&e.message==t.message;case CQ:case IQ:return e==t+"";case bQ:var s=mQ;case LQ:var l=a&gQ;if(s||(s=hQ),e.size!=t.size&&!l)return!1;var u=i.get(e);if(u)return u==t;a|=vQ,i.set(e,t);var d=pQ(s(e),s(t),a,n,o,i);return i.delete(e),d;case PQ:if(tS)return tS.call(e)==tS.call(t)}return!1}o_.exports=TQ});var rS=M((HRe,s_)=>{"use strict";function EQ(e,t){for(var r=-1,a=t.length,n=e.length;++r<a;)e[n+r]=t[r];return e}s_.exports=EQ});var u_=M((WRe,l_)=>{"use strict";var OQ=rS(),MQ=Yt();function RQ(e,t,r){var a=t(e);return MQ(e)?a:OQ(a,r(e))}l_.exports=RQ});var d_=M((GRe,c_)=>{"use strict";function DQ(e,t){for(var r=-1,a=e==null?0:e.length,n=0,o=[];++r<a;){var i=e[r];t(i,r,e)&&(o[n++]=i)}return o}c_.exports=DQ});var p_=M(($Re,f_)=>{"use strict";function _Q(){return[]}f_.exports=_Q});var g_=M((XRe,h_)=>{"use strict";var NQ=d_(),FQ=p_(),BQ=Object.prototype,jQ=BQ.propertyIsEnumerable,m_=Object.getOwnPropertySymbols,UQ=m_?function(e){return e==null?[]:(e=Object(e),NQ(m_(e),function(t){return jQ.call(e,t)}))}:FQ;h_.exports=UQ});var y_=M((KRe,v_)=>{"use strict";function VQ(e,t){for(var r=-1,a=Array(e);++r<e;)a[r]=t(r);return a}v_.exports=VQ});var w_=M((YRe,x_)=>{"use strict";var qQ=qa(),zQ=za(),HQ="[object Arguments]";function WQ(e){return zQ(e)&&qQ(e)==HQ}x_.exports=WQ});var Qg=M((QRe,C_)=>{"use strict";var b_=w_(),GQ=za(),S_=Object.prototype,$Q=S_.hasOwnProperty,XQ=S_.propertyIsEnumerable,KQ=b_(function(){return arguments}())?b_:function(e){return GQ(e)&&$Q.call(e,"callee")&&!XQ.call(e,"callee")};C_.exports=KQ});var I_=M((ZRe,L_)=>{"use strict";function YQ(){return!1}L_.exports=YQ});var aS=M((Qd,Nl)=>{"use strict";var QQ=ga(),ZQ=I_(),A_=typeof Qd=="object"&&Qd&&!Qd.nodeType&&Qd,P_=A_&&typeof Nl=="object"&&Nl&&!Nl.nodeType&&Nl,JQ=P_&&P_.exports===A_,k_=JQ?QQ.Buffer:void 0,eZ=k_?k_.isBuffer:void 0,tZ=eZ||ZQ;Nl.exports=tZ});var Zg=M((JRe,T_)=>{"use strict";var rZ=9007199254740991,aZ=/^(?:0|[1-9]\d*)$/;function nZ(e,t){var r=typeof e;return t=t??rZ,!!t&&(r=="number"||r!="symbol"&&aZ.test(e))&&e>-1&&e%1==0&&e<t}T_.exports=nZ});var Jg=M((eDe,E_)=>{"use strict";var oZ=9007199254740991;function iZ(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=oZ}E_.exports=iZ});var M_=M((tDe,O_)=>{"use strict";var sZ=qa(),lZ=Jg(),uZ=za(),cZ="[object Arguments]",dZ="[object Array]",fZ="[object Boolean]",pZ="[object Date]",mZ="[object Error]",hZ="[object Function]",gZ="[object Map]",vZ="[object Number]",yZ="[object Object]",xZ="[object RegExp]",wZ="[object Set]",bZ="[object String]",SZ="[object WeakMap]",CZ="[object ArrayBuffer]",LZ="[object DataView]",IZ="[object Float32Array]",PZ="[object Float64Array
8]",kZ="[object Int8Array]",AZ="[object Int16Array]",TZ="[object Int32Array]",EZ="[object Uint8Array]",OZ="[object Uint8ClampedArray]",MZ="[object Uint16Array]",RZ="[object Uint32Array]",Ue={};Ue[IZ]=Ue[PZ]=Ue[kZ]=Ue[AZ]=Ue[TZ]=Ue[EZ]=Ue[OZ]=Ue[MZ]=Ue[RZ]=!0;Ue[cZ]=Ue[dZ]=Ue[CZ]=Ue[fZ]=Ue[LZ]=Ue[pZ]=Ue[mZ]=Ue[hZ]=Ue[gZ]=Ue[vZ]=Ue[yZ]=Ue[xZ]=Ue[wZ]=Ue[bZ]=Ue[SZ]=!1;function DZ(e){return uZ(e)&&lZ(e.length)&&!!Ue[sZ(e)]}O_.exports=DZ});var nS=M((rDe,R_)=>{"use strict";function _Z(e){return function(t){return e(t)}}R_.exports=_Z});var __=M((Zd,Fl)=>{"use strict";var NZ=Wb(),D_=typeof Zd=="object"&&Zd&&!Zd.nodeType&&Zd,Jd=D_&&typeof Fl=="object"&&Fl&&!Fl.nodeType&&Fl,FZ=Jd&&Jd.exports===D_,oS=FZ&&NZ.process,BZ=function(){try{var e=Jd&&Jd.require&&Jd.require("util").types;return e||oS&&oS.binding&&oS.binding("util")}catch{}}();Fl.exports=BZ});var iS=M((aDe,B_)=>{"use strict";var jZ=M_(),UZ=nS(),N_=__(),F_=N_&&N_.isTypedArray,VZ=F_?UZ(F_):jZ;B_.exports=VZ});var U_=M((nDe,j_)=>{"use strict";var qZ=y_(),zZ=Qg(),HZ=Yt(),WZ=aS(),GZ=Zg(),$Z=iS(),XZ=Object.prototype,KZ=XZ.hasOwnProperty;function YZ(e,t){var r=HZ(e),a=!r&&zZ(e),n=!r&&!a&&WZ(e),o=!r&&!a&&!n&&$Z(e),i=r||a||n||o,s=i?qZ(e.length,String):[],l=s.length;for(var u in e)(t||KZ.call(e,u))&&!(i&&(u=="length"||n&&(u=="offset"||u=="parent")||o&&(u=="buffer"||u=="byteLength"||u=="byteOffset")||GZ(u,l)))&&s.push(u);return s}j_.exports=YZ});var q_=M((oDe,V_)=>{"use strict";var QZ=Object.prototype;function ZZ(e){var t=e&&e.constructor,r=typeof t=="function"&&t.prototype||QZ;return e===r}V_.exports=ZZ});var sS=M((iDe,z_)=>{"use strict";function JZ(e,t){return function(r){return e(t(r))}}z_.exports=JZ});var W_=M((sDe,H_)=>{"use strict";var eJ=sS(),tJ=eJ(Object.keys,Object);H_.exports=tJ});var $_=M((lDe,G_)=>{"use strict";var rJ=q_(),aJ=W_(),nJ=Object.prototype,oJ=nJ.hasOwnProperty;function iJ(e){if(!rJ(e))return aJ(e);var t=[];for(var r in Object(e))oJ.call(e,r)&&r!="constructor"&&t.push(r);return t}G_.exports=iJ});var Bl=M((uDe,X_)=>{"use strict";var sJ=dt(),lJ=Jg();function uJ(e){return e!=null&&lJ(e.length)&&!sJ(e)}X_.exports=uJ});var ef=M((cDe,K_)=>{"use strict";var cJ=U_(),dJ=$_(),fJ=Bl();function pJ(e){return fJ(e)?cJ(e):dJ(e)}K_.exports=pJ});var Q_=M((dDe,Y_)=>{"use strict";var mJ=u_(),hJ=g_(),gJ=ef();function vJ(e){return mJ(e,gJ,hJ)}Y_.exports=vJ});var e5=M((fDe,J_)=>{"use strict";var Z_=Q_(),yJ=1,xJ=Object.prototype,wJ=xJ.hasOwnProperty;function bJ(e,t,r,a,n,o){var i=r&yJ,s=Z_(e),l=s.length,u=Z_(t),d=u.length;if(l!=d&&!i)return!1;for(var c=l;c--;){var f=s[c];if(!(i?f in t:wJ.call(t,f)))return!1}var p=o.get(e),v=o.get(t);if(p&&v)return p==t&&v==e;var m=!0;o.set(e,t),o.set(t,e);for(var w=i;++c<l;){f=s[c];var h=e[f],g=t[f];if(a)var y=i?a(g,h,f,t,e,o):a(h,g,f,e,t,o);if(!(y===void 0?h===g||n(h,g,r,a,o):y)){m=!1;break}w||(w=f=="constructor")}if(m&&!w){var S=e.constructor,x=t.constructor;S!=x&&"constructor"in e&&"constructor"in t&&!(typeof S=="function"&&S instanceof S&&typeof x=="function"&&x instanceof x)&&(m=!1)}return o.delete(e),o.delete(t),m}J_.exports=bJ});var r5=M((pDe,t5)=>{"use strict";var SJ=Io(),CJ=ga(),LJ=SJ(CJ,"DataView");t5.exports=LJ});var n5=M((mDe,a5)=>{"use strict";var IJ=Io(),PJ=ga(),kJ=IJ(PJ,"Promise");a5.exports=kJ});var lS=M((hDe,o5)=>{"use strict";var AJ=Io(),TJ=ga(),EJ=AJ(TJ,"Set");o5.exports=EJ});var s5=M((gDe,i5)=>{"use strict";var OJ=Io(),MJ=ga(),RJ=OJ(MJ,"WeakMap");i5.exports=RJ});var h5=M((vDe,m5)=>{"use strict";var uS=r5(),cS=wg(),dS=n5(),fS=lS(),pS=s5(),p5=qa(),jl=$b(),l5="[object Map]",DJ="[object Object]",u5="[object Promise]",c5="[object Set]",d5="[object WeakMap]",f5="[object DataView]",_J=jl(uS),NJ=jl(cS),FJ=jl(dS),BJ=jl(fS),jJ=jl(pS),_i=p5;(uS&&_i(new uS(new ArrayBuffer(1)))!=f5||cS&&_i(new cS)!=l5||dS&&_i(dS.resolve())!=u5||fS&&_i(new fS)!=c5||pS&&_i(new pS)!=d5)&&(_i=function(e){var t=p5(e),r=t==DJ?e.constructor:void 0,a=r?jl(r):"";if(a)switch(a){case _J:return f5;case NJ:return l5;case FJ:return u5;case BJ:return c5;case jJ:return d5}return t});m5.exports=_i});var C5=M((yDe,S5)=>{"use strict";var mS=Y1(),UJ=eS(),VJ=i_(),qJ=e5(),g5=h5(),v5=Yt(),y5=aS(),zJ=iS(),HJ=1,x5="[object Arguments]",w5="[object Array]",ev="[object Object]",WJ=Object.prototype,b5=WJ.hasOwnProperty;function GJ(e,t,r,a,n,o){var i=v5(e),s=v5(t),l=i?w5:g5(e),u=s?w5:g5(t);l=l==x5?ev:l,u=u==x5?ev:u;var d=l==ev,c=u==ev,f=l==u;if(f&&y5(e)){if(!y5(t))return!1;i=!0,d=!1}if(f&&!d)return o||(o=new mS),i||zJ(e)?UJ(e,t,r,a,n,o):VJ(e,t,l,r,a,n,o);if(!(r&HJ)){var p=d&&b5.call(e,"__wrapped__"),v=c&&b5.call(t,"__wrapped__");
vendor: 10,309 bytes, line 8
8if(p||v){var m=p?e.value():e,w=v?t.value():t;return o||(o=new mS),n(m,w,r,a,o)}}return f?(o||(o=new mS),qJ(e,t,r,a,n,o)):!1}S5.exports=GJ});var tv=M((xDe,P5)=>{"use strict";var $J=C5(),L5=za();function I5(e,t,r,a,n){return e===t?!0:e==null||t==null||!L5(e)&&!L5(t)?e!==e&&t!==t:$J(e,t,r,a,I5,n)}P5.exports=I5});var A5=M((wDe,k5)=>{"use strict";var XJ=Y1(),KJ=tv(),YJ=1,QJ=2;function ZJ(e,t,r,a){var n=r.length,o=n,i=!a;if(e==null)return!o;for(e=Object(e);n--;){var s=r[n];if(i&&s[2]?s[1]!==e[s[0]]:!(s[0]in e))return!1}for(;++n<o;){s=r[n];var l=s[0],u=e[l],d=s[1];if(i&&s[2]){if(u===void 0&&!(l in e))return!1}else{var c=new XJ;if(a)var f=a(u,d,l,e,t,c);if(!(f===void 0?KJ(d,u,YJ|QJ,a,c):f))return!1}}return!0}k5.exports=ZJ});var hS=M((bDe,T5)=>{"use strict";var JJ=qr();function eee(e){return e===e&&!JJ(e)}T5.exports=eee});var O5=M((SDe,E5)=>{"use strict";var tee=hS(),ree=ef();function aee(e){for(var t=ree(e),r=t.length;r--;){var a=t[r],n=e[a];t[r]=[a,n,tee(n)]}return t}E5.exports=aee});var gS=M((CDe,M5)=>{"use strict";function nee(e,t){return function(r){return r==null?!1:r[e]===t&&(t!==void 0||e in Object(r))}}M5.exports=nee});var D5=M((LDe,R5)=>{"use strict";var oee=A5(),iee=O5(),see=gS();function lee(e){var t=iee(e);return t.length==1&&t[0][2]?see(t[0][0],t[0][1]):function(r){return r===e||oee(r,e,t)}}R5.exports=lee});var N5=M((IDe,_5)=>{"use strict";function uee(e,t){return e!=null&&t in Object(e)}_5.exports=uee});var B5=M((PDe,F5)=>{"use strict";var cee=Qb(),dee=Qg(),fee=Yt(),pee=Zg(),mee=Jg(),hee=qd();function gee(e,t,r){t=cee(t,e);for(var a=-1,n=t.length,o=!1;++a<n;){var i=hee(t[a]);if(!(o=e!=null&&r(e,i)))break;e=e[i]}return o||++a!=n?o:(n=e==null?0:e.length,!!n&&mee(n)&&pee(i,n)&&(fee(e)||dee(e)))}F5.exports=gee});var U5=M((kDe,j5)=>{"use strict";var vee=N5(),yee=B5();function xee(e,t){return e!=null&&yee(e,t,vee)}j5.exports=xee});var q5=M((ADe,V5)=>{"use strict";var wee=tv(),bee=Ti(),See=U5(),Cee=yg(),Lee=hS(),Iee=gS(),Pee=qd(),kee=1,Aee=2;function Tee(e,t){return Cee(e)&&Lee(t)?Iee(Pee(e),t):function(r){var a=bee(r,e);return a===void 0&&a===t?See(r,e):wee(t,a,kee|Aee)}}V5.exports=Tee});var Ni=M((TDe,z5)=>{"use strict";function Eee(e){return e}z5.exports=Eee});var W5=M((EDe,H5)=>{"use strict";function Oee(e){return function(t){return t?.[e]}}H5.exports=Oee});var $5=M((ODe,G5)=>{"use strict";var Mee=Cg();function Ree(e){return function(t){return Mee(t,e)}}G5.exports=Ree});var K5=M((MDe,X5)=>{"use strict";var Dee=W5(),_ee=$5(),Nee=yg(),Fee=qd();function Bee(e){return Nee(e)?Dee(Fee(e)):_ee(e)}X5.exports=Bee});var ya=M((RDe,Y5)=>{"use strict";var jee=D5(),Uee=q5(),Vee=Ni(),qee=Yt(),zee=K5();function Hee(e){return typeof e=="function"?e:e==null?Vee:typeof e=="object"?qee(e)?Uee(e[0],e[1]):jee(e):zee(e)}Y5.exports=Hee});var vS=M((DDe,Q5)=>{"use strict";function Wee(e,t,r,a){for(var n=e.length,o=r+(a?1:-1);a?o--:++o<n;)if(t(e[o],o,e))return o;return-1}Q5.exports=Wee});var J5=M((_De,Z5)=>{"use strict";function Gee(e){return e!==e}Z5.exports=Gee});var tN=M((NDe,eN)=>{"use strict";function $ee(e,t,r){for(var a=r-1,n=e.length;++a<n;)if(e[a]===t)return a;return-1}eN.exports=$ee});var aN=M((FDe,rN)=>{"use strict";var Xee=vS(),Kee=J5(),Yee=tN();function Qee(e,t,r){return t===t?Yee(e,t,r):Xee(e,Kee,r)}rN.exports=Qee});var oN=M((BDe,nN)=>{"use strict";var Zee=aN();function Jee(e,t){var r=e==null?0:e.length;return!!r&&Zee(e,t,0)>-1}nN.exports=Jee});var sN=M((jDe,iN)=>{"use strict";function ete(e,t,r){for(var a=-1,n=e==null?0:e.length;++a<n;)if(r(t,e[a]))return!0;return!1}iN.exports=ete});var uN=M((UDe,lN)=>{"use strict";function tte(){}lN.exports=tte});var dN=M((VDe,cN)=>{"use strict";var yS=lS(),rte=uN(),ate=Yg(),nte=1/0,ote=yS&&1/ate(new yS([,-0]))[1]==nte?function(e){return new yS(e)}:rte;cN.exports=ote});var pN=M((qDe,fN)=>{"use strict";var ite=Q1(),ste=oN(),lte=sN(),ute=J1(),cte=dN(),dte=Yg(),fte=200;function pte(e,t,r){var a=-1,n=ste,o=e.length,i=!0,s=[],l=s;if(r)i=!1,n=lte;else if(o>=fte){var u=t?null:cte(e);if(u)return dte(u);i=!1,n=ute,l=new ite}else l=t?[]:s;e:for(;++a<o;){var d=e[a],c=t?t(d):d;if(d=r||d!==0?d:0,i&&c===c){for(var f=l.length;f--;)if(l[f]===c)continue e;t&&l.push(c),s.push(d)}else n(l,c,r)||(l!==s&&l.push(c),s.push(d))}return s}fN.exports=pte});var hN=M((zDe,mN)=>{"use strict";var mte=ya(),hte=pN();function gte(e,t){return e&&e.length?hte(e,mte(t,2)):[]}mN.exports=gte});var IN=M((KDe,LN)=>{"use strict";var SN=wl(),Tte=Qg(),Ete=Yt(),CN=SN?SN.isConcatSpreadable:void 0;function Ote(e){return Ete(e)||Tte(e)||!!(CN&&e&&e[CN])}LN.exports=Ote});var bS=M((YDe,kN)=>{"use strict";var Mte=rS(),Rte=IN();function PN(e,t,r,a,n){var o=-1,i=e.length;for(r||(r=Rte),n||(n=[]);++o<i;){var s=e[o];t>0&&r(s)?t>1?PN(s,t-1,r,a,n):Mte(n,s):a||(n[n.length]=s)}return n}kN.exports=PN});var TN=M((QDe,AN)=>{"use strict";function Dte(e){return function(t,r,a){for(var n=-1,o=Object(t),i=a(t),s=i.length;s--;){var l=i[e?s:++n];if(r(o[l],l,o)===!1)break}return t}}AN.exports=Dte});var ON=M((ZDe,EN)=>{"use strict";var _te=TN(),Nte=_te();EN.exports=Nte});var SS=M((JDe,MN)=>{"use strict";var Fte=ON(),Bte=ef();function jte(e,t){return e&&Fte(e,t,Bte)}MN.exports=jte});var DN=M((e_e,RN)=>{"use strict";var Ute=Bl();function Vte(e,t){return function(r,a){if(r==null)return r;if(!Ute(r))return e(r,a);for(var n=r.length,o=t?n:-1,i=Object(r);(t?o--:++o<n)&&a(i[o],o,i)!==!1;);return r}}RN.exports=Vte});var ov=M((t_e,_N)=>{"use strict";var qte=SS(),zte=DN(),Hte=zte(qte);_N.exports=Hte});var CS=M((r_e,NN)=>{"use strict";var Wte=ov(),Gte=Bl();function $te(e,t){var r=-1,a=Gte(e)?Array(e.length):[];return Wte(e,function(n,o,i){a[++r]=t(n,o,i)}),a}NN.exports=$te});var BN=M((a_e,FN)=>{"use strict";function Xte(e,t){var r=e.length;for(e.sort(t);r--;)e[r]=e[r].value;return e}FN.exports=Xte});var VN=M((n_e,UN)=>{"use strict";var jN=Ai();function Kte(e,t){if(e!==t){var r=e!==void 0,a=e===null,n=e===e,o=jN(e),i=t!==void 0,s=t===null,l=t===t,u=jN(t);if(!s&&!u&&!o&&e>t||o&&i&&l&&!s&&!u||a&&i&&l||!r&&l||!n)return 1;if(!a&&!o&&!u&&e<t||u&&r&&n&&!a&&!o||s&&r&&n||!i&&n||!l)return-1}return 0}UN.exports=Kte});var zN=M((o_e,qN)=>{"use strict";var Yte=VN();function Qte(e,t,r){for(var a=-1,n=e.criteria,o=t.criteria,i=n.length,s=r.length;++a<i;){var l=Yte(n[a],o[a]);if(l){if(a>=s)return l;var u=r[a];return l*(u=="desc"?-1:1)}}return e.index-t.index}qN.exports=Qte});var WN=M((i_e,HN)=>{"use strict";var LS=Sg(),Zte=Cg(),Jte=ya(),ere=CS(),tre=BN(),rre=nS(),are=zN(),nre=Ni(),ore=Yt();function ire(e,t,r){t.length?t=LS(t,function(o){return ore(o)?function(i){return Zte(i,o.length===1?o[0]:o)}:o}):t=[nre];var a=-1;t=LS(t,rre(Jte));var n=ere(e,function(o,i,s){var l=LS(t,function(u){return u(o)});return{criteria:l,index:++a,value:o}});return tre(n,function(o,i){return are(o,i,r)})}HN.exports=ire});var $N=M((s_e,GN)=>{"use strict";function sre(e,t,r){switch(r.length){case 0:return e.call(t);case 1:return e.call(t,r[0]);case 2:return e.call(t,r[0],r[1]);case 3:return e.call(t,r[0],r[1],r[2])}return e.apply(t,r)}GN.exports=sre});var YN=M((l_e,KN)=>{"use strict";var lre=$N(),XN=Math.max;function ure(e,t,r){return t=XN(t===void 0?e.length-1:t,0),function(){for(var a=arguments,n=-1,o=XN(a.length-t,0),i=Array(o);++n<o;)i[n]=a[t+n];n=-1;for(var s=Array(t+1);++n<t;)s[n]=a[n];return s[t]=r(i),lre(e,this,s)}}KN.exports=ure});var ZN=M((u_e,QN)=>{"use strict";function cre(e){return function(){return e}}QN.exports=cre});var IS=M((c_e,JN)=>{"use strict";var dre=Io(),fre=function(){try{var e=dre(Object,"defineProperty");return e({},"",{}),e}catch{}}();JN.exports=fre});var rF=M((d_e,tF)=>{"use strict";var pre=ZN(),eF=IS(),mre=Ni(),hre=eF?function(e,t){return eF(e,"toString",{configurable:!0,enumerable:!1,value:pre(t),writable:!0})}:mre;tF.exports=hre});var nF=M((f_e,aF)=>{"use strict";var gre=800,vre=16,yre=Date.now;function xre(e){var t=0,r=0;return function(){var a=yre(),n=vre-(a-r);if(r=a,n>0){if(++t>=gre)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}aF.exports=xre});var iF=M((p_e,oF)=>{"use strict";var wre=rF(),bre=nF(),Sre=bre(wre);oF.exports=Sre});var lF=M((m_e,sF)=>{"use strict";var Cre=Ni(),Lre=YN(),Ire=iF();function Pre(e,t){return Ire(Lre(e,t,Cre),e+"")}sF.exports=Pre});var tf=M((h_e,uF)=>{"use strict";var kre=xg(),Are=Bl(),Tre=Zg(),Ere=qr();function Ore(e,t,r){if(!Ere(r))return!1;var a=typeof t;return(a=="number"?Are(r)&&Tre(t,r.length):a=="string"&&t in r)?kre(r[t],e):!1}uF.exports=Ore});var iv=M((g_e,dF)=>{"use strict";var Mre=bS(),Rre=WN(),Dre=lF(),cF=tf(),_re=Dre(function(e,t){if(e==null)return[];var r=t.length;return r>1&&cF(e,t[0],t[1])?t=[]:r>2&&cF(t[0],t[1],t[2])&&(t=[t[0]]),Rre(e,Mre(t,1),[])});dF.exports=_re});var MF=M((O_e,OF)=>{"use strict";var pae=ga(),mae=function(){return pae.Date.now()};OF.exports=mae});var DF=M((M_e,RF)=>{"use strict";var hae=/\s/;function gae(e){for(var t=e.length;t--&&hae.test(e.charAt(t)););return t}RF.exports=gae});var NF=M((R_e,_F)=>{"use strict";var vae=DF(),yae=/^\s+/;function xae(e){return e&&e.slice(0,vae(e)+1).replace(yae,"")}_F.exports=xae});var MS=M((D_e,jF)=>{"use strict";var wae=NF(),FF=qr(),bae=Ai(),BF=NaN,Sae=/^[-+]0x[0-9a-f]+$/i,Cae=/^0b[01]+$/i,Lae=/^0o[0-7]+$/i,Iae=parseInt;function Pae(e){if(typeof e=="number")return e;if(bae(e))return BF;if(FF(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=FF(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=wae(e);var r=Cae.test(e);return r||Lae.test(e)?Iae(e.slice(2),r?2:8):Sae.test(e)?BF:+e}jF.exports=Pae});var qF=M((__e,VF)=>{"use strict";var kae=qr(),RS=MF(),UF=MS(),Aae="Expected a function",Tae=Math.max,Eae=Math.min;function Oae(e,t,r){var a,n,o,i,s,l,u=0,d=!1,c=!1,f=!0;if(typeof e!="function")throw new TypeError(Aae);t=UF(t)||0,kae(r)&&(d=!!r.leading,c="maxWait"in r,o=c?Tae(UF(r.maxWait)||0,t):o,f="trailing"in r?!!r.trailing:f);function p(b){var C=a,P=n;return a=n=void 0,u=b,i=e.apply(P,C),i}function v(b){return u=b,s=setTimeout(h,t),d?p(b):i}function m(b){var C=b-l,P=b-u,O=t-C;return c?Eae(O,o-P):O}function w(b){var C=b-l,P=b-u;return l===void 0||C>=t||C<0||c&&P>=o}function h(){var b=RS();if(w(b))return g(b);s=setTimeout(h,m(b))}function g(b){return s=void 0,f&&a?p(b):(a=n=void 0,i)}function y(){s!==void 0&&clearTimeout(s),u=0,a=l=n=s=void 0}function S(){return s===void 0?i:g(RS())}function x(){var b=RS(),C=w(b);if(a=arguments,n=this,l=b,C){if(s===void 0)return v(l);
8if(c)return clearTimeout(s),s=setTimeout(h,t),p(l)}return s===void 0&&(s=setTimeout(h,t)),i}return x.cancel=y,x.flush=S,x}VF.exports=Oae});var DS=M((N_e,zF)=>{"use strict";var Mae=qF(),Rae=qr(),Dae="Expected a function";function _ae(e,t,r){var a=!0,n=!0;if(typeof e!="function")throw new TypeError(Dae);return Rae(r)&&(a="leading"in r?!!r.leading:a,n="trailing"in r?!!r.trailing:n),Mae(e,t,{leading:a,maxWait:t,trailing:n})}zF.exports=_ae});var Af=M((Q3e,O3)=>{"use strict";var kie=Ai();function Aie(e,t,r){for(var a=-1,n=e.length;++a<n;){var o=e[a],i=t(o);if(i!=null&&(s===void 0?i===i&&!kie(i):r(i,s)))var s=i,l=o}return l}O3.exports=Aie});var bC=M((Z3e,M3)=>{"use strict";function Tie(e,t){return e>t}M3.exports=Tie});var D3=M((J3e,R3)=>{"use strict";var Eie=Af(),Oie=bC(),Mie=Ni();function Rie(e){return e&&e.length?Eie(e,Mie,Oie):void 0}R3.exports=Rie});var SC=M((eje,_3)=>{"use strict";function Die(e,t){return e<t}_3.exports=Die});var F3=M((tje,N3)=>{"use strict";var _ie=Af(),Nie=SC(),Fie=Ni();function Bie(e){return e&&e.length?_ie(e,Fie,Nie):void 0}N3.exports=Bie});var j3=M((rje,B3)=>{"use strict";var jie=Sg(),Uie=ya(),Vie=CS(),qie=Yt();function zie(e,t){var r=qie(e)?jie:Vie;return r(e,Uie(t,3))}B3.exports=zie});var V3=M((aje,U3)=>{"use strict";var Hie=bS(),Wie=j3();function Gie(e,t){return Hie(Wie(e,t),1)}U3.exports=Gie});var Qv=M((nje,q3)=>{"use strict";var $ie=tv();function Xie(e,t){return $ie(e,t)}q3.exports=Xie});var CC=M((z3,Zv)=>{"use strict";(function(e){"use strict";var t=1e9,r={precision:20,rounding:4,toExpNeg:-7,toExpPos:21,LN10:"2.302585092994045684017991454684364207601101488628772976033327900967572609677352480235997205089598298341967784042286"},a=!0,n="[DecimalError] ",o=n+"Invalid argument: ",i=n+"Exponent out of range: ",s=Math.floor,l=Math.pow,u=/^(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i,d,c=1e7,f=7,p=9007199254740991,v=s(p/f),m={};m.absoluteValue=m.abs=function(){var L=new this.constructor(this);return L.s&&(L.s=1),L},m.comparedTo=m.cmp=function(L){var I,A,k,E,T=this;if(L=new T.constructor(L),T.s!==L.s)return T.s||-L.s;if(T.e!==L.e)return T.e>L.e^T.s<0?1:-1;for(k=T.d.length,E=L.d.length,I=0,A=k<E?k:E;I<A;++I)if(T.d[I]!==L.d[I])return T.d[I]>L.d[I]^T.s<0?1:-1;return k===E?0:k>E^T.s<0?1:-1},m.decimalPlaces=m.dp=function(){var L=this,I=L.d.length-1,A=(I-L.e)*f;if(I=L.d[I],I)for(;I%10==0;I/=10)A--;return A<0?0:A},m.dividedBy=m.div=function(L){return y(this,new this.constructor(L))},m.dividedToIntegerBy=m.idiv=function(L){var I=this,A=I.constructor;return R(y(I,new A(L),0,1),A.precision)},m.equals=m.eq=function(L){return!this.cmp(L)},m.exponent=function(){return x(this)},m.greaterThan=m.gt=function(L){return this.cmp(L)>0},m.greaterThanOrEqualTo=m.gte=function(L){return this.cmp(L)>=0},m.isInteger=m.isint=function(){return this.e>this.d.length-2},m.isNegative=m.isneg=function(){return this.s<0},m.isPositive=m.ispos=function(){return this.s>0},m.isZero=function(){return this.s===0},m.lessThan=m.lt=function(L){return this.cmp(L)<0},m.lessThanOrEqualTo=m.lte=function(L){return this.cmp(L)<1},m.logarithm=m.log=function(L){var I,A=this,k=A.constructor,E=k.precision,T=E+5;if(L===void 0)L=new k(10);else if(L=new k(L),L.s<1||L.eq(d))throw Error(n+"NaN");if(A.s<1)throw Error(n+(A.s?"NaN":"-Infinity"));return A.eq(d)?new k(0):(a=!1,I=y(P(A,T),P(L,T),T),a=!0,R(I,E))},m.minus=m.sub=function(L){var I=this;return L=new I.constructor(L),I.s==L.s?N(I,L):w(I,(L.s=-L.s,L))},m.modulo=m.mod=function(L){var I,A=this,k=A.constructor,E=k.precision;if(L=new k(L),!L.s)throw Error(n+"NaN");return A.s?(a=!1,I=y(A,L,0,1).times(L),a=!0,A.minus(I)):R(new k(A),E)},m.naturalExponential=m.exp=function(){return S(this)},m.naturalLogarithm=m.ln=function(){return P(this)},m.negated=m.neg=function(){var L=new this.constructor(this);return L.s=-L.s||0,L},m.plus=m.add=function(L){var I=this;return L=new I.constructor(L),I.s==L.s?w(I,L):N(I,(L.s=-L.s,L))},m.precision=m.sd=function(L){var I,A,k,E=this;if(L!==void 0&&L!==!!L&&L!==1&&L!==0)throw Error(o+L);if(I=x(E)+1,k=E.d.length-1,A=k*f+1,k=E.d[k],k){for(;k%10==0;k/=10)A--;for(k=E.d[0];k>=10;k/=10)A++}return L&&I>A?I:A},m.squareRoot=m.sqrt=function(){var L,I,A,k,E,T,_,B=this,G=B.constructor;if(B.s<1){if(!B.s)return new G(0);throw Error(n+"NaN")}for(L=x(B),a=!1,E=Math.sqrt(+B),E==0||E==1/0?(I=g(B.d),(I.length+L)%2==0&&(I+="0"),E=Math.sqrt(I),L=s((L+1)/2)-(L<0||L%2),E==1/0?I="5e"+L:(I=E.toExponential(),I=I.slice(0,I.indexOf("e")+1)+L),k=new G(I)):k=new G(E.toString()),A=G.precision,E=_=A+3;;)if(T=k,k=T.plus(y(B,T,_+2)).times(.5),g(T.d).slice(0,_)===(I=g(k.d)).slice(0,_)){if(I=I.slice(_-3,_+1),E==_&&I=="4999"){if(R(T,A+1,0),T.times(T).eq(B)){k=T;break}}else if(I!="9999")break;_+=4}return a=!0,R(k,A)},m.times=m.mul=function(L){var I,A,k,E,T,_,B,G,Q,Y=this,ee=Y.constructor,ge=Y.d,W=(L=new ee(L)).d;if(!Y.s||!L.s)return new ee(0);for(L.s*=Y.s,A=Y.e+L.e,G=ge.length,Q=W.length,G<Q&&(T=ge,ge=W,W=T,_=G,G=Q,Q=_),T=[],_=G+Q,k=_;k--;)T.push(0);for(k=Q;
vendor: 10,373 bytes, line 8
8--k>=0;){for(I=0,E=G+k;E>k;)B=T[E]+W[k]*ge[E-k-1]+I,T[E--]=B%c|0,I=B/c|0;T[E]=(T[E]+I)%c|0}for(;!T[--_];)T.pop();return I?++A:T.shift(),L.d=T,L.e=A,a?R(L,ee.precision):L},m.toDecimalPlaces=m.todp=function(L,I){var A=this,k=A.constructor;return A=new k(A),L===void 0?A:(h(L,0,t),I===void 0?I=k.rounding:h(I,0,8),R(A,L+x(A)+1,I))},m.toExponential=function(L,I){var A,k=this,E=k.constructor;return L===void 0?A=F(k,!0):(h(L,0,t),I===void 0?I=E.rounding:h(I,0,8),k=R(new E(k),L+1,I),A=F(k,!0,L+1)),A},m.toFixed=function(L,I){var A,k,E=this,T=E.constructor;return L===void 0?F(E):(h(L,0,t),I===void 0?I=T.rounding:h(I,0,8),k=R(new T(E),L+x(E)+1,I),A=F(k.abs(),!1,L+x(k)+1),E.isneg()&&!E.isZero()?"-"+A:A)},m.toInteger=m.toint=function(){var L=this,I=L.constructor;return R(new I(L),x(L)+1,I.rounding)},m.toNumber=function(){return+this},m.toPower=m.pow=function(L){var I,A,k,E,T,_,B=this,G=B.constructor,Q=12,Y=+(L=new G(L));if(!L.s)return new G(d);if(B=new G(B),!B.s){if(L.s<1)throw Error(n+"Infinity");return B}if(B.eq(d))return B;if(k=G.precision,L.eq(d))return R(B,k);if(I=L.e,A=L.d.length-1,_=I>=A,T=B.s,_){if((A=Y<0?-Y:Y)<=p){for(E=new G(d),I=Math.ceil(k/f+4),a=!1;A%2&&(E=E.times(B),q(E.d,I)),A=s(A/2),A!==0;)B=B.times(B),q(B.d,I);return a=!0,L.s<0?new G(d).div(E):R(E,k)}}else if(T<0)throw Error(n+"NaN");return T=T<0&&L.d[Math.max(I,A)]&1?-1:1,B.s=1,a=!1,E=L.times(P(B,k+Q)),a=!0,E=S(E),E.s=T,E},m.toPrecision=function(L,I){var A,k,E=this,T=E.constructor;return L===void 0?(A=x(E),k=F(E,A<=T.toExpNeg||A>=T.toExpPos)):(h(L,1,t),I===void 0?I=T.rounding:h(I,0,8),E=R(new T(E),L,I),A=x(E),k=F(E,L<=A||A<=T.toExpNeg,L)),k},m.toSignificantDigits=m.tosd=function(L,I){var A=this,k=A.constructor;return L===void 0?(L=k.precision,I=k.rounding):(h(L,1,t),I===void 0?I=k.rounding:h(I,0,8)),R(new k(A),L,I)},m.toString=m.valueOf=m.val=m.toJSON=function(){var L=this,I=x(L),A=L.constructor;return F(L,I<=A.toExpNeg||I>=A.toExpPos)};function w(L,I){var A,k,E,T,_,B,G,Q,Y=L.constructor,ee=Y.precision;if(!L.s||!I.s)return I.s||(I=new Y(L)),a?R(I,ee):I;if(G=L.d,Q=I.d,_=L.e,E=I.e,G=G.slice(),T=_-E,T){for(T<0?(k=G,T=-T,B=Q.length):(k=Q,E=_,B=G.length),_=Math.ceil(ee/f),B=_>B?_+1:B+1,T>B&&(T=B,k.length=1),k.reverse();T--;)k.push(0);k.reverse()}for(B=G.length,T=Q.length,B-T<0&&(T=B,k=Q,Q=G,G=k),A=0;T;)A=(G[--T]=G[T]+Q[T]+A)/c|0,G[T]%=c;for(A&&(G.unshift(A),++E),B=G.length;G[--B]==0;)G.pop();return I.d=G,I.e=E,a?R(I,ee):I}function h(L,I,A){if(L!==~~L||L<I||L>A)throw Error(o+L)}function g(L){var I,A,k,E=L.length-1,T="",_=L[0];if(E>0){for(T+=_,I=1;I<E;I++)k=L[I]+"",A=f-k.length,A&&(T+=C(A)),T+=k;_=L[I],k=_+"",A=f-k.length,A&&(T+=C(A))}else if(_===0)return"0";for(;_%10===0;)_/=10;return T+_}var y=function(){function L(k,E){var T,_=0,B=k.length;for(k=k.slice();B--;)T=k[B]*E+_,k[B]=T%c|0,_=T/c|0;return _&&k.unshift(_),k}function I(k,E,T,_){var B,G;if(T!=_)G=T>_?1:-1;else for(B=G=0;B<T;B++)if(k[B]!=E[B]){G=k[B]>E[B]?1:-1;break}return G}function A(k,E,T){for(var _=0;T--;)k[T]-=_,_=k[T]<E[T]?1:0,k[T]=_*c+k[T]-E[T];for(;!k[0]&&k.length>1;)k.shift()}return function(k,E,T,_){var B,G,Q,Y,ee,ge,W,se,Z,U,ke,ue,Ge,Ve,ft,Tr,St,en,Er=k.constructor,tn=k.s==E.s?1:-1,ta=k.d,ot=E.d;if(!k.s)return new Er(k);if(!E.s)throw Error(n+"Division by zero");for(G=k.e-E.e,St=ot.length,ft=ta.length,W=new Er(tn),se=W.d=[],Q=0;ot[Q]==(ta[Q]||0);)++Q;if(ot[Q]>(ta[Q]||0)&&--G,T==null?ue=T=Er.precision:_?ue=T+(x(k)-x(E))+1:ue=T,ue<0)return new Er(0);if(ue=ue/f+2|0,Q=0,St==1)for(Y=0,ot=ot[0],ue++;(Q<ft||Y)&&ue--;Q++)Ge=Y*c+(ta[Q]||0),se[Q]=Ge/ot|0,Y=Ge%ot|0;else{for(Y=c/(ot[0]+1)|0,Y>1&&(ot=L(ot,Y),ta=L(ta,Y),St=ot.length,ft=ta.length),Ve=St,Z=ta.slice(0,St),U=Z.length;U<St;)Z[U++]=0;en=ot.slice(),en.unshift(0),Tr=ot[0],ot[1]>=c/2&&++Tr;do Y=0,B=I(ot,Z,St,U),B<0?(ke=Z[0],St!=U&&(ke=ke*c+(Z[1]||0)),Y=ke/Tr|0,Y>1?(Y>=c&&(Y=c-1),ee=L(ot,Y),ge=ee.length,U=Z.length,B=I(ee,Z,ge,U),B==1&&(Y--,A(ee,St<ge?en:ot,ge))):(Y==0&&(B=Y=1),ee=ot.slice()),ge=ee.length,ge<U&&ee.unshift(0),A(Z,ee,U),B==-1&&(U=Z.length,B=I(ot,Z,St,U),B<1&&(Y++,A(Z,St<U?en:ot,U))),U=Z.length):B===0&&(Y++,Z=[0]),se[Q++]=Y,B&&Z[0]?Z[U++]=ta[Ve]||0:(Z=[ta[Ve]],U=1);while((Ve++<ft||Z[0]!==void 0)&&ue--)}return se[0]||se.shift(),W.e=G,R(W,_?T+x(W)+1:T)}}();function S(L,I){var A,k,E,T,_,B,G=0,Q=0,Y=L.constructor,ee=Y.precision;if(x(L)>16)throw Error(i+x(L));if(!L.s)return new Y(d);for(I==null?(a=!1,B=ee):B=I,_=new Y(.03125);L.abs().gte(.1);)L=L.times(_),Q+=5;for(k=Math.log(l(2,Q))/Math.LN10*2+5|0,B+=k,A=E=T=new Y(d),Y.precision=B;;){if(E=R(E.times(L),B),A=A.times(++G),_=T.plus(y(E,A,B)),g(_.d).slice(0,B)===g(T.d).slice(0,B)){for(;Q--;)T=R(T.times(T),B);return Y.precision=ee,I==null?(a=!0,R(T,ee)):T}T=_}}function x(L){for(var I=L.e*f,A=L.d[0];A>=10;A/=10)I++;return I}function b(L,I,A){if(I>L.LN10.sd())throw a=!0,A&&(L.precision=A),Error(n+"LN10 precision limit exceeded");return R(new L(L.LN10),I)}function C(L){for(var I="";L--;)I+="0";return I}function P(L,I){var A,k,E,T,_,B,G,Q,Y,ee=1,ge=10,W=L,se=W.d,Z=W.constructor,U=Z.precision;if(W.s<1)throw Error(n+(W.s?"NaN":"-Infinity"));if(W.eq(d))return new Z(0);if(I==null?(a=!1,Q=U):Q=I,W.eq(10))return I==null&&(a=!0),b(Z,Q);if(Q+=ge,Z.precision=Q,A=g(se),k=A.charAt(0),T=x(W),Math.abs(T)<15e14){for(;k<7&&k!=1||k==1&&A.charAt(1)>3;)W=W.times(L),A=g(W.d),k=A.charAt(0),ee++;T=x(W),k>1?(W=new Z("0."+A),T++):W=new Z(k+"."+A.slice(1))}else return G=b(Z,Q+2,U).times(T+""),W=P(new Z(k+"."+A.slice(1)),Q-ge).plus(G),Z.precision=U,I==null?(a=!0,R(W,U)):W;for(B=_=W=y(W.minus(d),W.plus(d),Q),Y=R(W.times(W),Q),E=3;;){if(_=R(_.times(Y),Q),G=B.plus(y(_,new Z(E),Q)),g(G.d).slice(0,Q)===g(B.d).slice(0,Q))return B=B.times(2),T!==0&&(B=B.plus(b(Z,Q+2,U).times(T+""))),B=y(B,new Z(ee),Q),Z.precision=U,I==null?(a=!0,R(B,U)):B;B=G,E+=2}}function O(L,I){var A,k,E;for((A=I.indexOf("."))>-1&&(I=I.replace(".","")),(k=I.search(/e/i))>0?(A<0&&(A=k),A+=+I.slice(k+1),I=I.substring(0,k)):A<0&&(A=I.length),k=0;I.charCodeAt(k)===48;)++k;for(E=I.length;I.charCodeAt(E-1)===48;)--E;if(I=I.slice(k,E),I){if(E-=k,A=A-k-1,L.e=s(A/f),L.d=[],k=(A+1)%f,A<0&&(k+=f),k<E){for(k&&L.d.push(+I.slice(0,k)),E-=f;k<E;)L.d.push(+I.slice(k,k+=f));I=I.slice(k),k=f-I.length}else k-=E;for(;k--;)I+="0";if(L.d.push(+I),a&&(L.e>v||L.e<-v))throw Error(i+A)}else L.s=0,L.e=0,L.d=[0];return L}function R(L,I,A){var k,E,T,_,B,G,Q,Y,ee=L.d;for(_=1,T=ee[0];T>=10;T/=10)_++;if(k=I-_,k<0)k+=f,E=I,Q=ee[Y=0];else{if(Y=Math.ceil((k+1)/f),T=ee.length,Y>=T)return L;for(Q=T=ee[Y],_=1;T>=10;T/=10)_++;k%=f,E=k-f+_}if(A!==void 0&&(T=l(10,_-E-1),B=Q/T%10|0,G=I<0||ee[Y+1]!==void 0||Q%T,G=A<4?(B||G)&&(A==0||A==(L.s<0?3:2)):B>5||B==5&&(A==4||G||A==6&&(k>0?E>0?Q/l(10,_-E):0:ee[Y-1])%10&1||A==(L.s<0?8:7))),I<1||!ee[0])return G?(T=x(L),ee.length=1,I=I-T-1,ee[0]=l(10,(f-I%f)%f),L.e=s(-I/f)||0):(ee.length=1,ee[0]=L.e=L.s=0),L;if(k==0?(ee.length=Y,T=1,Y--):(ee.length=Y+1,T=l(10,f-k),ee[Y]=E>0?(Q/l(10,_-E)%l(10,E)|0)*T:0),G)for(;;)if(Y==0){(ee[0]+=T)==c&&(ee[0]=1,++L.e);break}else{if(ee[Y]+=T,ee[Y]!=c)break;ee[Y--]=0,T=1}for(k=ee.length;ee[--k]===0;)ee.pop();if(a&&(L.e>v||L.e<-v))throw Error(i+x(L));return L}function N(L,I){var A,k,E,T,_,B,G,Q,Y,ee,ge=L.constructor,W=ge.precision;if(!L.s||!I.s)return I.s?I.s=-I.s:I=new ge(L),a?R(I,W):I;if(G=L.d,ee=I.d,k=I.e,Q=L.e,G=G.slice(),_=Q-k,_){for(Y=_<0,Y?(A=G,_=-_,B=ee.length):(A=ee,k=Q,B=G.length),E=Math.max(Math.ceil(W/f),B)+2,_>E&&(_=E,A.length=1),A.reverse(),E=_;E--;)A.push(0);A.reverse()}else{for(E=G.length,B=ee.length,Y=E<B,Y&&(B=E),E=0;E<B;E++)if(G[E]!=ee[E]){Y=G[E]<ee[E];break}_=0}for(Y&&(A=G,G=ee,ee=A,I.s=-I.s),B=G.length,E=ee.length-B;E>0;--E)G[B++]=0;for(E=ee.length;E>_;){if(G[--E]<ee[E]){for(T=E;T&&G[--T]===0;)G[T]=c-1;--G[T],G[E]+=c}G[E]-=ee[E]}for(;G[--B]===0;)G.pop();for(;G[0]===0;G.shift())--k;return G[0]?(I.d=G,I.e=k,a?R(I,W):I):new ge(0)}function F(L,I,A){var k,E=x(L),T=g(L.d),_=T.length;return I?(A&&(k=A-_)>0?T=T.charAt(0)+"."+T.slice(1)+C(k):_>1&&(T=T.charAt(0)+"."+T.slice(1)),T=T+(E<0?"e":"e+")+E):E<0?(T="0."+C(-E-1)+T,A&&(k=A-_)>0&&(T+=C(k))):E>=_?(T+=C(E+1-_),A&&(k=A-E-1)>0&&(T=T+"."+C(k))):((k=E+1)<_&&(T=T.slice(0,k)+"."+T.slice(k)),A&&(k=A-_)>0&&(E+1===_&&(T+="."),T+=C(k))),L.s<0?"-"+T:T}function q(L,I){if(L.length>I)return L.length=I,!0}function H(L){var I,A,k;function E(T){var _=this;if(!(_ instanceof E))return new E(T);if(_.constructor=E,T instanceof E){_.s=T.s,_.e=T.e,_.d=(T=T.d)?T.slice():T;return}if(typeof T=="number"){if(T*0!==0)throw Error(o+T);if(T>0)_.s=1;else if(T<0)T=-T,_.s=-1;else{_.s=0,_.e=0,_.d=[0];return}if(T===~~T&&T<1e7){_.e=0,_.d=[T];return}return O(_,T.toString())}else if(typeof T!="string")throw Error(o+T);if(T.charCodeAt(0)===45?(T=T.slice(1),_.s=-1):_.s=1,u.test(T))O(_,T);else throw Error(o+T)}if(E.prototype=m,E.ROUND_UP=0,E.ROUND_DOWN=1,E.ROUND_CEIL=2,E.ROUND_FLOOR=3,E.ROUND_HALF_UP=4,E.ROUND_HALF_DOWN=5,E.ROUND_HALF_EVEN=6,E.ROUND_HALF_CEIL=7,E.ROUND_HALF_FLOOR=8,E.clone=H,E.config=E.set=z,L===void 0&&(L={}),L)for(k=["precision","rounding","toExpNeg","toExpPos","LN10"],I=0;I<k.length;)L.hasOwnProperty(A=k[I++])||(L[A]=this[A]);return E.config(L),E}function z(L){if(!L||typeof L!="object")throw Error(n+"Object expected");var I,A,k,E=["precision",1,t,"rounding",0,8,"toExpNeg",-1/0,0,"toExpPos",0,1/0];for(I=0;I<E.length;I+=3)if((k=L[A=E[I]])!==void 0)if(s(k)===k&&k>=E[I+1]&&k<=E[I+2])this[A]=k;else throw Error(o+A+": "+k);if((k=L[A="LN10"])!==void 0)if(k==Math.LN10)this[A]=new this(k);else throw Error(o+A+": "+k);return this}r=H(r),r.default=r.Decimal=r,d=new r(1),typeof define=="function"&&define.amd?define(function(){return r}):typeof Zv<"u"&&Zv.exports?Zv.exports=r:(e||(e=typeof self<"u"&&self&&self.self==self?self:Function("return this")()),e.Decimal=r)})(z3)});var Dj=M((Bje,Rj)=>{"use strict";function Ile(e){var t=e==null?0:e.length;return t?e[t-1]:void 0}Rj.exports=Ile});var Zj=M((t4e,Qj)=>{"use strict";var Qle="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";Qj.exports=Qle});var r4=M((r4e,t4)=>{"use strict";var Zle=Zj();function Jj(){}function e4(){}e4.resetWarningCache=Jj;t4.exports=function(){function e(a,n,o,i,s,l){if(l!==Zle){var u=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw u.name="Invariant Violation",u}}e.isRequired=e;function t(){return e}var r={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol
8:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:e4,resetWarningCache:Jj};return r.PropTypes=r,r}});var n4=M((o4e,a4)=>{"use strict";a4.exports=r4()();var a4e,n4e});var X4=M((W4e,$4)=>{"use strict";var Xce=Af(),Kce=bC(),Yce=ya();function Qce(e,t){return e&&e.length?Xce(e,Yce(t,2),Kce):void 0}$4.exports=Qce});var Y4=M((G4e,K4)=>{"use strict";var Zce=Af(),Jce=ya(),ede=SC();function tde(e,t){return e&&e.length?Zce(e,Jce(t,2),ede):void 0}K4.exports=tde});var fU=M((cUe,dU)=>{"use strict";var wde=sS(),bde=wde(Object.getPrototypeOf,Object);dU.exports=bde});var hU=M((dUe,mU)=>{"use strict";var Sde=qa(),Cde=fU(),Lde=za(),Ide="[object Object]",Pde=Function.prototype,kde=Object.prototype,pU=Pde.toString,Ade=kde.hasOwnProperty,Tde=pU.call(Object);function Ede(e){if(!Lde(e)||Sde(e)!=Ide)return!1;var t=Cde(e);if(t===null)return!0;var r=Ade.call(t,"constructor")&&t.constructor;return typeof r=="function"&&r instanceof r&&pU.call(r)==Tde}mU.exports=Ede});var vU=M((fUe,gU)=>{"use strict";var Ode=qa(),Mde=za(),Rde="[object Boolean]";function Dde(e){return e===!0||e===!1||Mde(e)&&Ode(e)==Rde}gU.exports=Dde});var BU=M((UUe,FU)=>{"use strict";var ffe=Math.ceil,pfe=Math.max;function mfe(e,t,r,a){for(var n=-1,o=pfe(ffe((t-e)/(r||1)),0),i=Array(o);o--;)i[a?o:++n]=e,e+=r;return i}FU.exports=mfe});var mL=M((VUe,UU)=>{"use strict";var hfe=MS(),jU=1/0,gfe=17976931348623157e292;function vfe(e){if(!e)return e===0?e:0;if(e=hfe(e),e===jU||e===-jU){var t=e<0?-1:1;return t*gfe}return e===e?e:0}UU.exports=vfe});var qU=M((qUe,VU)=>{"use strict";var yfe=BU(),xfe=tf(),hL=mL();function wfe(e){return function(t,r,a){return a&&typeof a!="number"&&xfe(t,r,a)&&(r=a=void 0),t=hL(t),r===void 0?(r=t,t=0):r=hL(r),a=a===void 0?t<r?1:-1:hL(a),yfe(t,r,a,e)}}VU.exports=wfe});var gL=M((zUe,zU)=>{"use strict";var bfe=qU(),Sfe=bfe();zU.exports=Sfe});var tV=M((eVe,eV)=>{"use strict";var Dfe=ov();function _fe(e,t){var r;return Dfe(e,function(a,n,o){return r=t(a,n,o),!r}),!!r}eV.exports=_fe});var aV=M((tVe,rV)=>{"use strict";var Nfe=Z1(),Ffe=ya(),Bfe=tV(),jfe=Yt(),Ufe=tf();function Vfe(e,t,r){var a=jfe(e)?Nfe:Bfe;return r&&Ufe(e,t,r)&&(t=void 0),a(e,Ffe(t,3))}rV.exports=Vfe});var iV=M((aVe,oV)=>{"use strict";var nV=IS();function qfe(e,t,r){t=="__proto__"&&nV?nV(e,t,{configurable:!0,enumerable:!0,value:r,writable:!0}):e[t]=r}oV.exports=qfe});var lV=M((nVe,sV)=>{"use strict";var zfe=iV(),Hfe=SS(),Wfe=ya();function Gfe(e,t){var r={};return t=Wfe(t,3),Hfe(e,function(a,n,o){zfe(r,n,t(a,n,o))}),r}sV.exports=Gfe});var cV=M((oVe,uV)=>{"use strict";function $fe(e,t){for(var r=-1,a=e==null?0:e.length;++r<a;)if(!t(e[r],r,e))return!1;return!0}uV.exports=$fe});var fV=M((iVe,dV)=>{"use strict";var Xfe=ov();function Kfe(e,t){var r=!0;return Xfe(e,function(a,n,o){return r=!!t(a,n,o),r}),r}dV.exports=Kfe});var wL=M((sVe,pV)=>{"use strict";var Yfe=cV(),Qfe=fV(),Zfe=ya(),Jfe=Yt(),epe=tf();function tpe(e,t,r){var a=Jfe(e)?Yfe:Qfe;return r&&epe(e,t,r)&&(t=void 0),a(e,Zfe(t,3))}pV.exports=tpe});var SV=M((uVe,bV)=>{"use strict";var ope=ya(),ipe=Bl(),spe=ef();function lpe(e){return function(t,r,a){var n=Object(t);if(!ipe(t)){var o=ope(r,3);t=spe(t),r=function(s){return o(n[s],s,n)}}var i=e(t,r,a);return i>-1?n[o?t[i]:i]:void 0}}bV.exports=lpe});var LV=M((cVe,CV)=>{"use strict";var upe=mL();function cpe(e){var t=upe(e),r=t%1;return t===t?r?t-r:t:0}CV.exports=cpe});var PV=M((dVe,IV)=>{"use strict";var dpe=vS(),fpe=ya(),ppe=LV(),mpe=Math.max;function hpe(e,t,r){var a=e==null?0:e.length;if(!a)return-1;var n=r==null?0:ppe(r);return n<0&&(n=mpe(a+n,0)),dpe(e,fpe(t,3),n)}IV.exports=hpe});var AV=M((fVe,kV)=>{"use strict";var gpe=SV(),vpe=PV(),ype=gpe(vpe);kV.exports=ype});var sq=M((eqe,ML)=>{"use strict";var ome=Object.prototype.hasOwnProperty,er="~";function vp(){}Object.create&&(vp.prototype=Object.create(null),new vp().__proto__||(er=!1));function ime(e,t,r){this.fn=e,this.context=t,this.once=r||!1}function iq(e,t,r,a,n){if(typeof r!="function")throw new TypeError("The listener must be a function");var o=new ime(r,a||e,n),i=er?er+t:t;return e._events[i]?e._events[i].fn?e._events[i]=[e._events[i],o]:e._events[i].push(o):(e._events[i]=o,e._eventsCount++),e}function By(e,t){--e._eventsCount===0?e._events=new vp:delete e._events[t]}function Wt(){this._events=new vp,this._eventsCount=0}Wt.prototype.eventNames=function(){var t=[],r,a;
8if(this._eventsCount===0)return t;for(a in r=this._events)ome.call(r,a)&&t.push(er?a.slice(1):a);return Object.getOwnPropertySymbols?t.concat(Object.getOwnPropertySymbols(r)):t};Wt.prototype.listeners=function(t){var r=er?er+t:t,a=this._events[r];if(!a)return[];if(a.fn)return[a.fn];for(var n=0,o=a.length,i=new Array(o);n<o;n++)i[n]=a[n].fn;return i};Wt.prototype.listenerCount=function(t){var r=er?er+t:t,a=this._events[r];return a?a.fn?1:a.length:0};Wt.prototype.emit=function(t,r,a,n,o,i){var s=er?er+t:t;if(!this._events[s])return!1;var l=this._events[s],u=arguments.length,d,c;if(l.fn){switch(l.once&&this.removeListener(t,l.fn,void 0,!0),u){case 1:return l.fn.call(l.context),!0;case 2:return l.fn.call(l.context,r),!0;case 3:return l.fn.call(l.context,r,a),!0;case 4:return l.fn.call(l.context,r,a,n),!0;case 5:return l.fn.call(l.context,r,a,n,o),!0;case 6:return l.fn.call(l.context,r,a,n,o,i),!0}for(c=1,d=new Array(u-1);c<u;c++)d[c-1]=arguments[c];l.fn.apply(l.context,d)}else{var f=l.length,p;for(c=0;c<f;c++)switch(l[c].once&&this.removeListener(t,l[c].fn,void 0,!0),u){case 1:l[c].fn.call(l[c].context);break;case 2:l[c].fn.call(l[c].context,r);break;case 3:l[c].fn.call(l[c].context,r,a);break;case 4:l[c].fn.call(l[c].context,r,a,n);break;default:if(!d)for(p=1,d=new Array(u-1);p<u;p++)d[p-1]=arguments[p];l[c].fn.apply(l[c].context,d)}}return!0};Wt.prototype.on=function(t,r,a){return iq(this,t,r,a,!1)};Wt.prototype.once=function(t,r,a){return iq(this,t,r,a,!0)};Wt.prototype.removeListener=function(t,r,a,n){var o=er?er+t:t;if(!this._events[o])return this;if(!r)return By(this,o),this;var i=this._events[o];if(i.fn)i.fn===r&&(!n||i.once)&&(!a||i.context===a)&&By(this,o);else{for(var s=0,l=[],u=i.length;s<u;s++)(i[s].fn!==r||n&&!i[s].once||a&&i[s].context!==a)&&l.push(i[s]);l.length?this._events[o]=l.length===1?l[0]:l:By(this,o)}return this};Wt.prototype.removeAllListeners=function(t){var r;return t?(r=er?er+t:t,this._events[r]&&By(this,r)):(this._events=new vp,this._eventsCount=0),this};Wt.prototype.off=Wt.prototype.removeListener;Wt.prototype.addListener=Wt.prototype.on;Wt.prefixed=er;Wt.EventEmitter=Wt;typeof ML<"u"&&(ML.exports=Wt)});var Fs=D(K(),1),R8=D(Wm(),1);function M8(e){if(!e||typeof document>"u")return;let t=document.head||document.getElementsByTagName("head")[0],r=document.createElement("style");r.type="text/css",t.appendChild(r),r.styleSheet?r.styleSheet.cssText=e:r.appendChild(document.createTextNode(e))}var khe=Array(12).fill(0);var hw=1,gw=class{constructor(){this.subscribe=t=>(this.subscribers.push(t),()=>{let r=this.subscribers.indexOf(t);this.subscribers.splice(r,1)}),this.publish=t=>{this.subscribers.forEach(r=>r(t))},this.addToast=t=>{this.publish(t),this.toasts=[...this.toasts,t]},this.create=t=>{var r;let{message:a,...n}=t,o=typeof t?.id=="number"||((r=t.id)==null?void 0:r.length)>0?t.id:hw++,i=this.toasts.find(l=>l.id===o),s=t.dismissible===void 0?!0:t.dismissible;return this.dismissedToasts.has(o)&&this.dismissedToasts.delete(o),i?this.toasts=this.toasts.map(l=>l.id===o?(this.publish({...l,...t,id:o,title:a}
8),{...l,...t,id:o,dismissible:s,title:a}):l):this.addToast({title:a,...n,dismissible:s,id:o}),o},this.dismiss=t=>(t?(this.dismissedToasts.add(t),requestAnimationFrame(()=>this.subscribers.forEach(r=>r({id:t,dismiss:!0})))):this.toasts.forEach(r=>{this.subscribers.forEach(a=>a({id:r.id,dismiss:!0}))}),t),this.message=(t,r)=>this.create({...r,message:t}),this.error=(t,r)=>this.create({...r,message:t,type:"error"}),this.success=(t,r)=>this.create({...r,type:"success",message:t}),this.info=(t,r)=>this.create({...r,type:"info",message:t}),this.warning=(t,r)=>this.create({...r,type:"warning",message:t}),this.loading=(t,r)=>this.create({...r,type:"loading",message:t}),this.promise=(t,r)=>{if(!r)return;let a;r.loading!==void 0&&(a=this.create({...r,promise:t,type:"loading",message:r.loading,description:typeof r.description!="function"?r.description:void 0}));let n=Promise.resolve(t instanceof Function?t():t),o=a!==void 0,i,s=n.then(async u=>{if(i=["resolve",u],Fs.default.isValidElement(u))o=!1,this.create({id:a,type:"default",message:u});else if(_8(u)&&!u.ok){o=!1;let c=typeof r.error=="function"?await r.error(`HTTP error! status: ${u.status}`):r.error,f=typeof r.description=="function"?await r.description(`HTTP error! status: ${u.status}`):r.description,v=typeof c=="object"&&!Fs.default.isValidElement(c)?c:{message:c};this.create({id:a,type:"error",description:f,...v})}else if(u instanceof Error){o=!1;let c=typeof r.error=="function"?await r.error(u):r.error,f=typeof r.description=="function"?await r.description(u):r.description,v=typeof c=="object"&&!Fs.default.isValidElement(c)?c:{message:c};this.create({id:a,type:"error",description:f,...v})}else if(r.success!==void 0){o=!1;let c=typeof r.success=="function"?await r.success(u):r.success,f=typeof r.description=="function"?await r.description(u):r.description,v=typeof c=="object"&&!Fs.default.isValidElement(c)?c:{message:c};this.create({id:a,type:"success",description:f,...v})}}).catch(async u=>{if(i=["reject",u],r.error!==void 0){o=!1;let d=typeof r.error=="function"?await r.error(u):r.error,c=typeof r.description=="function"?await r.description(u):r.description,p=typeof d=="object"&&!Fs.default.isValidElement(d)?d:{message:d};this.create({id:a,type:"error",description:c,...p})}}).finally(()=>{o&&(this.dismiss(a),a=void 0),r.finally==null||r.finally.call(r)}),l=()=>new Promise((u,d)=>s.then(()=>i[0]==="reject"?d(i[1]):u(i[1])).catch(d));return typeof a!="string"&&typeof a!="number"?{unwrap:l}:Object.assign(a,{unwrap:l})},this.custom=(t,r)=>{let a=r?.id||hw++;return this.create({jsx:t(a),id:a,...r}),a},this.getActiveToasts=()=>this.toasts.filter(t=>!this.dismissedToasts.has(t.id)),this.subscribers=[],this.toasts=[],this.dismissedToasts=new Set}},Br=new gw,D8=(e,t)=>{let r=t?.id||hw++;return Br.addToast({title:e,...t,id:r}),r},_8=e=>e&&typeof e=="object"&&"ok"in e&&typeof e.ok=="boolean"&&"status"in e&&typeof e.status=="number",N8=D8,F8=()=>Br.toasts,B8=()=>Br.getActiveToasts(),Da=Object.assign(N8,{success:Br.success,info:Br.info,warning:Br.warning,error:Br.error,custom:Br.custom,message:Br.message,promise:Br.promise,dismiss:Br.dismiss,loading:Br.loading},{getHistory:F8,getToasts:B8});M8
vendor: 14,864 bytes, line 8
8("[data-sonner-toaster][dir=ltr],html[dir=ltr]{--toast-icon-margin-start:-3px;--toast-icon-margin-end:4px;--toast-svg-margin-start:-1px;--toast-svg-margin-end:0px;--toast-button-margin-start:auto;--toast-button-margin-end:0;--toast-close-button-start:0;--toast-close-button-end:unset;--toast-close-button-transform:translate(-35%, -35%)}[data-sonner-toaster][dir=rtl],html[dir=rtl]{--toast-icon-margin-start:4px;--toast-icon-margin-end:-3px;--toast-svg-margin-start:0px;--toast-svg-margin-end:-1px;--toast-button-margin-start:0;--toast-button-margin-end:auto;--toast-close-button-start:unset;--toast-close-button-end:0;--toast-close-button-transform:translate(35%, -35%)}[data-sonner-toaster]{position:fixed;width:var(--width);font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;--gray1:hsl(0, 0%, 99%);--gray2:hsl(0, 0%, 97.3%);--gray3:hsl(0, 0%, 95.1%);--gray4:hsl(0, 0%, 93%);--gray5:hsl(0, 0%, 90.9%);--gray6:hsl(0, 0%, 88.7%);--gray7:hsl(0, 0%, 85.8%);--gray8:hsl(0, 0%, 78%);--gray9:hsl(0, 0%, 56.1%);--gray10:hsl(0, 0%, 52.3%);--gray11:hsl(0, 0%, 43.5%);--gray12:hsl(0, 0%, 9%);--border-radius:8px;box-sizing:border-box;padding:0;margin:0;list-style:none;outline:0;z-index:999999999;transition:transform .4s ease}@media (hover:none) and (pointer:coarse){[data-sonner-toaster][data-lifted=true]{transform:none}}[data-sonner-toaster][data-x-position=right]{right:var(--offset-right)}[data-sonner-toaster][data-x-position=left]{left:var(--offset-left)}[data-sonner-toaster][data-x-position=center]{left:50%;transform:translateX(-50%)}[data-sonner-toaster][data-y-position=top]{top:var(--offset-top)}[data-sonner-toaster][data-y-position=bottom]{bottom:var(--offset-bottom)}[data-sonner-toast]{--y:translateY(100%);--lift-amount:calc(var(--lift) * var(--gap));z-index:var(--z-index);position:absolute;opacity:0;transform:var(--y);touch-action:none;transition:transform .4s,opacity .4s,height .4s,box-shadow .2s;box-sizing:border-box;outline:0;overflow-wrap:anywhere}[data-sonner-toast][data-styled=true]{padding:16px;background:var(--normal-bg);border:1px solid var(--normal-border);color:var(--normal-text);border-radius:var(--border-radius);box-shadow:0 4px 12px rgba(0,0,0,.1);width:var(--width);font-size:13px;display:flex;align-items:center;gap:6px}[data-sonner-toast]:focus-visible{box-shadow:0 4px 12px rgba(0,0,0,.1),0 0 0 2px rgba(0,0,0,.2)}[data-sonner-toast][data-y-position=top]{top:0;--y:translateY(-100%);--lift:1;--lift-amount:calc(1 * var(--gap))}[data-sonner-toast][data-y-position=bottom]{bottom:0;--y:translateY(100%);--lift:-1;--lift-amount:calc(var(--lift) * var(--gap))}[data-sonner-toast][data-styled=true] [data-description]{font-weight:400;line-height:1.4;color:#3f3f3f}[data-rich-colors=true][data-sonner-toast][data-styled=true] [data-description]{color:inherit}[data-sonner-toaster][data-sonner-theme=dark] [data-description]{color:#e8e8e8}[data-sonner-toast][data-styled=true] [data-title]{font-weight:500;line-height:1.5;color:inherit}[data-sonner-toast][data-styled=true] [data-icon]{display:flex;height:16px;width:16px;position:relative;justify-content:flex-start;align-items:center;flex-shrink:0;margin-left:var(--toast-icon-margin-start);margin-right:var(--toast-icon-margin-end)}[data-sonner-toast][data-promise=true] [data-icon]>svg{opacity:0;transform:scale(.8);transform-origin:center;animation:sonner-fade-in .3s ease forwards}[data-sonner-toast][data-styled=true] [data-icon]>*{flex-shrink:0}[data-sonner-toast][data-styled=true] [data-icon] svg{margin-left:var(--toast-svg-margin-start);margin-right:var(--toast-svg-margin-end)}[data-sonner-toast][data-styled=true] [data-content]{display:flex;flex-direction:column;gap:2px}[data-sonner-toast][data-styled=true] [data-button]{border-radius:4px;padding-left:8px;padding-right:8px;height:24px;font-size:12px;color:var(--normal-bg);background:var(--normal-text);margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end);border:none;font-weight:500;cursor:pointer;outline:0;display:flex;align-items:center;flex-shrink:0;transition:opacity .4s,box-shadow .2s}[data-sonner-toast][data-styled=true] [data-button]:focus-visible{box-shadow:0 0 0 2px rgba(0,0,0,.4)}[data-sonner-toast][data-styled=true] [data-button]:first-of-type{margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end)}[data-sonner-toast][data-styled=true] [data-cancel]{color:var(--normal-text);background:rgba(0,0,0,.08)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast][data-styled=true] [data-cancel]{background:rgba(255,255,255,.3)}[data-sonner-toast][data-styled=true] [data-close-button]{position:absolute;left:var(--toast-close-button-start);right:var(--toast-close-button-end);top:0;height:20px;width:20px;display:flex;justify-content:center;align-items:center;padding:0;color:var(--gray12);background:var(--normal-bg);border:1px solid var(--gray4);transform:var(--toast-close-button-transform);border-radius:50%;cursor:pointer;z-index:1;transition:opacity .1s,background .2s,border-color .2s}[data-sonner-toast][data-styled=true] [data-close-button]:focus-visible{box-shadow:0 4px 12px rgba(0,0,0,.1),0 0 0 2px rgba(0,0,0,.2)}[data-sonner-toast][data-styled=true] [data-disabled=true]{cursor:not-allowed}[data-sonner-toast][data-styled=true]:hover [data-close-button]:hover{background:var(--gray2);border-color:var(--gray5)}[data-sonner-toast][data-swiping=true]::before{content:'';position:absolute;left:-100%;right:-100%;height:100%;z-index:-1}[data-sonner-toast][data-y-position=top][data-swiping=true]::before{bottom:50%;transform:scaleY(3) translateY(50%)}[data-sonner-toast][data-y-position=bottom][data-swiping=true]::before{top:50%;transform:scaleY(3) translateY(-50%)}[data-sonner-toast][data-swiping=false][data-removed=true]::before{content:'';position:absolute;inset:0;transform:scaleY(2)}[data-sonner-toast][data-expanded=true]::after{content:'';position:absolute;left:0;height:calc(var(--gap) + 1px);bottom:100%;width:100%}[data-sonner-toast][data-mounted=true]{--y:translateY(0);opacity:1}[data-sonner-toast][data-expanded=false][data-front=false]{--scale:var(--toasts-before) * 0.05 + 1;--y:translateY(calc(var(--lift-amount) * var(--toasts-before))) scale(calc(-1 * var(--scale)));height:var(--front-toast-height)}[data-sonner-toast]>*{transition:opacity .4s}[data-sonner-toast][data-x-position=right]{right:0}[data-sonner-toast][data-x-position=left]{left:0}[data-sonner-toast][data-expanded=false][data-front=false][data-styled=true]>*{opacity:0}[data-sonner-toast][data-visible=false]{opacity:0;pointer-events:none}[data-sonner-toast][data-mounted=true][data-expanded=true]{--y:translateY(calc(var(--lift) * var(--offset)));height:var(--initial-height)}[data-sonner-toast][data-removed=true][data-front=true][data-swipe-out=false]{--y:translateY(calc(var(--lift) * -100%));opacity:0}[data-sonner-toast][data-removed=true][data-front=false][data-swipe-out=false][data-expanded=true]{--y:translateY(calc(var(--lift) * var(--offset) + var(--lift) * -100%));opacity:0}[data-sonner-toast][data-removed=true][data-front=false][data-swipe-out=false][data-expanded=false]{--y:translateY(40%);opacity:0;transition:transform .5s,opacity .2s}[data-sonner-toast][data-removed=true][data-front=false]::before{height:calc(var(--initial-height) + 20%)}[data-sonner-toast][data-swiping=true]{transform:var(--y) translateY(var(--swipe-amount-y,0)) translateX(var(--swipe-amount-x,0));transition:none}[data-sonner-toast][data-swiped=true]{user-select:none}[data-sonner-toast][data-swipe-out=true][data-y-position=bottom],[data-sonner-toast][data-swipe-out=true][data-y-position=top]{animation-duration:.2s;animation-timing-function:ease-out;animation-fill-mode:forwards}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=left]{animation-name:swipe-out-left}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=right]{animation-name:swipe-out-right}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=up]{animation-name:swipe-out-up}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=down]{animation-name:swipe-out-down}@keyframes swipe-out-left{from{transform:var(--y) translateX(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translateX(calc(var(--swipe-amount-x) - 100%));opacity:0}}@keyframes swipe-out-right{from{transform:var(--y) translateX(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translateX(calc(var(--swipe-amount-x) + 100%));opacity:0}}@keyframes swipe-out-up{from{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) - 100%));opacity:0}}@keyframes swipe-out-down{from{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) + 100%));opacity:0}}@media (max-width:600px){[data-sonner-toaster]{position:fixed;right:var(--mobile-offset-right);left:var(--mobile-offset-left);width:100%}[data-sonner-toaster][dir=rtl]{left:calc(var(--mobile-offset-left) * -1)}[data-sonner-toaster] [data-sonner-toast]{left:0;right:0;width:calc(100% - var(--mobile-offset-left) * 2)}[data-sonner-toaster][data-x-position=left]{left:var(--mobile-offset-left)}[data-sonner-toaster][data-y-position=bottom]{bottom:var(--mobile-offset-bottom)}[data-sonner-toaster][data-y-position=top]{top:var(--mobile-offset-top)}[data-sonner-toaster][data-x-position=center]{left:var(--mobile-offset-left);right:var(--mobile-offset-right);transform:none}}[data-sonner-toaster][data-sonner-theme=light]{--normal-bg:#fff;--normal-border:var(--gray4);--normal-text:var(--gray12);--success-bg:hsl(143, 85%, 96%);--success-border:hsl(145, 92%, 87%);--success-text:hsl(140, 100%, 27%);--info-bg:hsl(208, 100%, 97%);--info-border:hsl(221, 91%, 93%);--info-text:hsl(210, 92%, 45%);--warning-bg:hsl(49, 100%, 97%);--warning-border:hsl(49, 91%, 84%);--warning-text:hsl(31, 92%, 45%);--error-bg:hsl(359, 100%, 97%);--error-border:hsl(359, 100%, 94%);--error-text:hsl(360, 100%, 45%)}[data-sonner-toaster][data-sonner-theme=light] [data-sonner-toast][data-invert=true]{--normal-bg:#000;--normal-border:hsl(0, 0%, 20%);--normal-text:var(--gray1)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast][data-invert=true]{--normal-bg:#fff;--normal-border:var(--gray3);--normal-text:var(--gray12)}[data-sonner-toaster][data-sonner-theme=dark]{--normal-bg:#000;--normal-bg-hover:hsl(0, 0%, 12%);--normal-border:hsl(0, 0%, 20%);--normal-border-hover:hsl(0, 0%, 25%);--normal-text:var(--gray1);--success-bg:hsl(150, 100%, 6%);--success-border:hsl(147, 100%, 12%);--success-text:hsl(150, 86%, 65%);--info-bg:hsl(215, 100%, 6%);--info-border:hsl(223, 43%, 17%);--info-text:hsl(216, 87%, 65%);--warning-bg:hsl(64, 100%, 6%);--warning-border:hsl(60, 100%, 9%);--warning-text:hsl(46, 87%, 65%);--error-bg:hsl(358, 76%, 10%);--error-border:hsl(357, 89%, 16%);--error-text:hsl(358, 100%, 81%)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast] [data-close-button]{background:var(--normal-bg);border-color:var(--normal-border);color:var(--normal-text)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast] [data-close-button]:hover{background:var(--normal-bg-hover);border-color:var(--normal-border-hover)}[data-rich-colors=true][data-sonner-toast][data-type=success]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=success] [data-close-button]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=info]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=info] [data-close-button]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning] [data-close-button]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=error]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}[data-rich-colors=true][data-sonner-toast][data-type=error] [data-close-button]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}.sonner-loading-wrapper{--size:16px;height:var(--size);width:var(--size);position:absolute;inset:0;z-index:10}.sonner-loading-wrapper[data-visible=false]{transform-origin:center;animation:sonner-fade-out .2s ease forwards}.sonner-spinner{position:relative;top:50%;left:50%;height:var(--size);width:var(--size)}.sonner-loading-bar{animation:sonner-spin 1.2s linear infinite;background:var(--gray11);border-radius:6px;height:8%;left:-10%;position:absolute;top:-3.9%;width:24%}.sonner-loading-bar:first-child{animation-delay:-1.2s;transform:rotate(.0001deg) translate(146%)}.sonner-loading-bar:nth-child(2){animation-delay:-1.1s;transform:rotate(30deg) translate(146%)}.sonner-loading-bar:nth-child(3){animation-delay:-1s;transform:rotate(60deg) translate(146%)}.sonner-loading-bar:nth-child(4){animation-delay:-.9s;transform:rotate(90deg) translate(146%)}.sonner-loading-bar:nth-child(5){animation-delay:-.8s;transform:rotate(120deg) translate(146%)}.sonner-loading-bar:nth-child(6){animation-delay:-.7s;transform:rotate(150deg) translate(146%)}.sonner-loading-bar:nth-child(7){animation-delay:-.6s;transform:rotate(180deg) translate(146%)}.sonner-loading-bar:nth-child(8){animation-delay:-.5s;transform:rotate(210deg) translate(146%)}.sonner-loading-bar:nth-child(9){animation-delay:-.4s;transform:rotate(240deg) translate(146%)}.sonner-loading-bar:nth-child(10){animation-delay:-.3s;transform:rotate(270deg) translate(146%)}.sonner-loading-bar:nth-child(11){animation-delay:-.2s;transform:rotate(300deg) translate(146%)}.sonner-loading-bar:nth-child(12){animation-delay:-.1s;transform:rotate(330deg) translate(146%)}@keyframes sonner-fade-in{0%{opacity:0;transform:scale(.8)}100%{opacity:1;transform:scale(1)}}@keyframes sonner-fade-out{0%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(.8)}}@keyframes sonner-spin{0%{opacity:1}100%{opacity:.15}}@media (prefers-reduced-motion){.sonner-loading-bar,[data-sonner-toast],[data-sonner-toast]>*{transition:none!important;animation:none!important}}.sonner-loader{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);transform-origin:center;transition:opacity .2s,transform .2s}.sonner-loader[data-visible=false]{opacity:0;transform:scale(.8) translate(-50%,-50%)}");
8var oz=D(K()),iz=D(kA());var ze=D(K()),kH=D(Wm());var te=D(K());function Dc(){return Dc=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var a in r)Object.prototype.hasOwnProperty.call(r,a)&&(e[a]=r[a])}return e},Dc.apply(this,arguments)}var ca;(function(e){e.Pop="POP",e.Push="PUSH",e.Replace="REPLACE"})(ca||(ca={}));var AA="popstate";function MA(e){e===void 0&&(e={});function t(a,n){let{pathname:o,search:i,hash:s}=a.location;return xw("",{pathname:o,search:i,hash:s},n.state&&n.state.usr||null,n.state&&n.state.key||"default")}function r(a,n){return typeof n=="string"?n:ri(n)}return U8(t,r,null,e)}function Je(e,t){if(e===!1||e===null||typeof e>"u")throw new Error(t)}function RA(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function j8(){return Math.random().toString(36).substr(2,8)}function TA(e,t){return{usr:e.state,key:e.key,idx:t}}function xw(e,t,r,a){return r===void 0&&(r=null),Dc({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?pn(t):t,{state:r,key:t&&t.key||a||j8()})}function ri(e){let{pathname:t="/",search:r="",hash:a=""}=e;return r&&r!=="?"&&(t+=r.charAt(0)==="?"?r:"?"+r),a&&a!=="#"&&(t+=a.charAt(0)==="#"?a:"#"+a),t}function pn(e){let t={};if(e){let r=e.indexOf("#");r>=0&&(t.hash=e.substr(r),e=e.substr(0,r));let a=e.indexOf("?");a>=0&&(t.search=e.substr(a),e=e.substr(0,a)),e&&(t.pathname=e)}return t}function U8(e,t,r,a){a===void 0&&(a={});let{window:n=document.defaultView,v5Compat:o=!1}=a,i=n.history,s=ca.Pop,l=null,u=d();u==null&&(u=0,i.replaceState(Dc({},i.state,{idx:u}),""));function d(){return(i.state||{idx:null}).idx}function c(){s=ca.Pop;let w=d(),h=w==null?null:w-u;u=w,l&&l({action:s,location:m.location,delta:h})}function f(w,h){s=ca.Push;let g=xw(m.location,w,h);r&&r(g,w),u=d()+1;let y=TA(g,u),S=m.createHref(g);try{i.pushState(y,"",S)}
vendor: 3,351 bytes, line 8
8catch(x){if(x instanceof DOMException&&x.name==="DataCloneError")throw x;n.location.assign(S)}o&&l&&l({action:s,location:m.location,delta:1})}function p(w,h){s=ca.Replace;let g=xw(m.location,w,h);r&&r(g,w),u=d();let y=TA(g,u),S=m.createHref(g);i.replaceState(y,"",S),o&&l&&l({action:s,location:m.location,delta:0})}function v(w){let h=n.location.origin!=="null"?n.location.origin:n.location.href,g=typeof w=="string"?w:ri(w);return g=g.replace(/ $/,"%20"),Je(h,"No window.location.(origin|href) available to create URL for href: "+g),new URL(g,h)}let m={get action(){return s},get location(){return e(n,i)},listen(w){if(l)throw new Error("A history only accepts one active listener");return n.addEventListener(AA,c),l=w,()=>{n.removeEventListener(AA,c),l=null}},createHref(w){return t(n,w)},createURL:v,encodeLocation(w){let h=v(w);return{pathname:h.pathname,search:h.search,hash:h.hash}},push:f,replace:p,go(w){return i.go(w)}};return m}var EA;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(EA||(EA={}));function Gm(e,t,r){return r===void 0&&(r="/"),V8(e,t,r,!1)}function V8(e,t,r,a){let n=typeof t=="string"?pn(t):t,o=_c(n.pathname||"/",r);if(o==null)return null;let i=DA(e);q8(i);let s=null;for(let l=0;s==null&&l<i.length;++l){let u=NA(o);s=Q8(i[l],u,a)}return s}function DA(e,t,r,a){t===void 0&&(t=[]),r===void 0&&(r=[]),a===void 0&&(a="");let n=(o,i,s)=>{let l={relativePath:s===void 0?o.path||"":s,caseSensitive:o.caseSensitive===!0,childrenIndex:i,route:o};l.relativePath.startsWith("/")&&(Je(l.relativePath.startsWith(a),'Absolute route path "'+l.relativePath+'" nested under path '+('"'+a+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),l.relativePath=l.relativePath.slice(a.length));let u=_a([a,l.relativePath]),d=r.concat(l);o.children&&o.children.length>0&&(Je(o.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+u+'".')),DA(o.children,t,d,u)),!(o.path==null&&!o.index)&&t.push({path:u,score:K8(u,o.index),routesMeta:d})};return e.forEach((o,i)=>{var s;if(o.path===""||!((s=o.path)!=null&&s.includes("?")))n(o,i);else for(let l of _A(o.path))n(o,i,l)}),t}function _A(e){let t=e.split("/");if(t.length===0)return[];let[r,...a]=t,n=r.endsWith("?"),o=r.replace(/\?$/,"");if(a.length===0)return n?[o,""]:[o];let i=_A(a.join("/")),s=[];return s.push(...i.map(l=>l===""?o:[o,l].join("/"))),n&&s.push(...i),s.map(l=>e.startsWith("/")&&l===""?"/":l)}function q8(e){e.sort((t,r)=>t.score!==r.score?r.score-t.score:Y8(t.routesMeta.map(a=>a.childrenIndex),r.routesMeta.map(a=>a.childrenIndex)))}var z8=/^:[\w-]+$/,H8=3,W8=2,G8=1,$8=10,X8=-2,OA=e=>e==="*";function K8(e,t){let r=e.split("/"),a=r.length;return r.some(OA)&&(a+=X8),t&&(a+=W8),r.filter(n=>!OA(n)).reduce((n,o)=>n+(z8.test(o)?H8:o===""?G8:$8),a)}function Y8(e,t){return e.length===t.length&&e.slice(0,-1).every((a,n)=>a===t[n])?e[e.length-1]-t[t.length-1]:0}function Q8(e,t,r){r===void 0&&(r=!1);let{routesMeta:a}=e,n={},o="/",i=[];for(let s=0;s<a.length;++s){let l=a[s],u=s===a.length-1,d=o==="/"?t:t.slice(o.length)||"/",c=Bs({path:l.relativePath,caseSensitive:l.caseSensitive,end:u},d),f=l.route;if(!c&&u&&r&&!a[a.length-1].route.index&&(c=Bs({path:l.relativePath,caseSensitive:l.caseSensitive,end:!1},d)),!c)return null;
vendor: 4,345 bytes, line 8
8Object.assign(n,c.params),i.push({params:n,pathname:_a([o,c.pathname]),pathnameBase:tH(_a([o,c.pathnameBase])),route:f}),c.pathnameBase!=="/"&&(o=_a([o,c.pathnameBase]))}return i}function Bs(e,t){typeof e=="string"&&(e={path:e,caseSensitive:!1,end:!0});let[r,a]=Z8(e.path,e.caseSensitive,e.end),n=t.match(r);if(!n)return null;let o=n[0],i=o.replace(/(.)\/+$/,"$1"),s=n.slice(1);return{params:a.reduce((u,d,c)=>{let{paramName:f,isOptional:p}=d;if(f==="*"){let m=s[c]||"";i=o.slice(0,o.length-m.length).replace(/(.)\/+$/,"$1")}let v=s[c];return p&&!v?u[f]=void 0:u[f]=(v||"").replace(/%2F/g,"/"),u},{}),pathname:o,pathnameBase:i,pattern:e}}function Z8(e,t,r){t===void 0&&(t=!1),r===void 0&&(r=!0),RA(e==="*"||!e.endsWith("*")||e.endsWith("/*"),'Route path "'+e+'" will be treated as if it were '+('"'+e.replace(/\*$/,"/*")+'" because the `*` character must ')+"always follow a `/` in the pattern. To get rid of this warning, "+('please change the route path to "'+e.replace(/\*$/,"/*")+'".'));let a=[],n="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(i,s,l)=>(a.push({paramName:s,isOptional:l!=null}),l?"/?([^\\/]+)?":"/([^\\/]+)"));return e.endsWith("*")?(a.push({paramName:"*"}),n+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):r?n+="\\/*$":e!==""&&e!=="/"&&(n+="(?:(?=\\/|$))"),[new RegExp(n,t?void 0:"i"),a]}function NA(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return RA(!1,'The URL path "'+e+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent '+("encoding ("+t+").")),e}}function _c(e,t){if(t==="/")return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let r=t.endsWith("/")?t.length-1:t.length,a=e.charAt(r);return a&&a!=="/"?null:e.slice(r)||"/"}function ww(e,t){t===void 0&&(t="/");let{pathname:r,search:a="",hash:n=""}=typeof e=="string"?pn(e):e;return{pathname:r?r.startsWith("/")?r:J8(r,t):t,search:rH(a),hash:aH(n)}}function J8(e,t){let r=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(n=>{n===".."?r.length>1&&r.pop():n!=="."&&r.push(n)}),r.length>1?r.join("/"):"/"}function yw(e,t,r,a){return"Cannot include a '"+e+"' character in a manually specified "+("`to."+t+"` field ["+JSON.stringify(a)+"].  Please separate it out to the ")+("`to."+r+"` field. Alternatively you may provide the full path as ")+'a string in <Link to="..."> and the router will parse it for you.'}function eH(e){return e.filter((t,r)=>r===0||t.route.path&&t.route.path.length>0)}function bw(e,t){let r=eH(e);return t?r.map((a,n)=>n===r.length-1?a.pathname:a.pathnameBase):r.map(a=>a.pathnameBase)}function Sw(e,t,r,a){a===void 0&&(a=!1);let n;typeof e=="string"?n=pn(e):(n=Dc({},e),Je(!n.pathname||!n.pathname.includes("?"),yw("?","pathname","search",n)),Je(!n.pathname||!n.pathname.includes("#"),yw("#","pathname","hash",n)),Je(!n.search||!n.search.includes("#"),yw("#","search","hash",n)));let o=e===""||n.pathname==="",i=o?"/":n.pathname,s;if(i==null)s=r;else{let c=t.length-1;if(!a&&i.startsWith("..")){let f=i.split("/");for(;f[0]==="..";)f.shift(),c-=1;n.pathname=f.join("/")}s=c>=0?t[c]:"/"}let l=ww(n,s),u=i&&i!=="/"&&i.endsWith("/"),d=(o||i===".")&&r.endsWith("/");return!l.pathname.endsWith("/")&&(u||d)&&(l.pathname+="/"),l}var _a=e=>e.join("/").replace(/\/\/+/g,"/"),tH=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),rH=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,aH=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;function $m(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}var FA=["post","put","patch","delete"],Rhe=new Set(FA),nH=["get",...FA],Dhe=new Set(nH);var _he=Symbol("deferred");function Nc(){return Nc=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var a in r)Object.prototype.hasOwnProperty.call(r,a)&&(e[a]=r[a])}return e},Nc.apply(this,arguments)}var Bc=te.createContext(null),Lw=te.createContext(null);var mn=te.createContext(null),jc=te.createContext(null),Na=te.createContext({outlet:null,matches:[],isDataRoute:!1}),UA=te.createContext(null);function Iw(e,t){let{relative:r}=t===void 0?{}:t;Us()||Je(!1);let{basename:a,navigator:n}=te.useContext(mn),{hash:o,pathname:i,search:s}=Km(e,{relative:r}),l=i;
8return a!=="/"&&(l=i==="/"?a:_a([a,i])),n.createHref({pathname:l,search:s,hash:o})}function Us(){return te.useContext(jc)!=null}function Vs(){return Us()||Je(!1),te.useContext(jc).location}function VA(e){te.useContext(mn).static||te.useLayoutEffect(e)}function Uc(){let{isDataRoute:e}=te.useContext(Na);return e?wH():fH()}function fH(){Us()||Je(!1);let e=te.useContext(Bc),{basename:t,future:r,navigator:a}=te.useContext(mn),{matches:n}=te.useContext(Na),{pathname:o}=Vs(),i=JSON.stringify(bw(n,r.v7_relativeSplatPath)),s=te.useRef(!1);return VA(()=>{s.current=!0}),te.useCallback(function(u,d){if(d===void 0&&(d={}),!s.current)return;if(typeof u=="number"){a.go(u);return}let c=Sw(u,JSON.parse(i),o,d.relative==="path");e==null&&t!=="/"&&(c.pathname=c.pathname==="/"?t:_a([t,c.pathname])),(d.replace?a.replace:a.push)(c,d.state,d)},[t,a,i,o,e])}function Pw(){let{matches:e}=te.useContext(Na),t=e[e.length-1];return t?t.params:{}}function Km(e,t){let{relative:r}=t===void 0?{}:t,{future:a}=te.useContext(mn),{matches:n}=te.useContext(Na),{pathname:o}=Vs(),i=JSON.stringify(bw(n,a.v7_relativeSplatPath));return te.useMemo(()=>Sw(e,JSON.parse(i),o,r==="path"),[e,i,o,r])}function qA(e,t){return zA(e,t)}function zA(e,t,r,a){Us()||Je(!1);let{navigator:n}=te.useContext(mn),{matches:o}=te.useContext(Na),i=o[o.length-1],s=i?i.params:{},l=i?i.pathname:"/",u=i?i.pathnameBase:"/",d=i&&i.route,c=Vs(),f;if(t){var p;let g=typeof t=="string"?pn(t):t;u==="/"||(p=g.pathname)!=null&&p.startsWith(u)||Je(!1),f=g}else f=c;let v=f.pathname||"/",m=v;if(u!=="/"){let g=u.replace(/^\//,"").split("/");m="/"+v.replace(/^\//,"").split("/").slice(g.length).join("/")}let w=Gm(e,{pathname:m}),h=gH(w&&w.map(g=>Object.assign({},g,{params:Object.assign({},s,g.params),pathname:_a([u,n.encodeLocation?n.encodeLocation(g.pathname).pathname:g.pathname]),pathnameBase:g.pathnameBase==="/"?u:_a([u,n.encodeLocation?n.encodeLocation(g.pathnameBase).pathname:g.pathnameBase])})),o,r,a);return t&&h?te.createElement(jc.Provider,{value:{location:Nc({pathname:"/",search:"",hash:"",state:null,key:"default"},f),navigationType:ca.Pop}},h):h}function pH(){let e=GA(),t=$m(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),r=e instanceof Error?e.stack:null,a="rgba(200,200,200, 0.5)",n={padding:"0.5rem",backgroundColor:a},o={padding:"2px 4px",backgroundColor:a};return te.createElement(te.Fragment,null,te.createElement("h2",null,"Unexpected Application Error!"),te.createElement("h3",{style:{fontStyle:"italic"}},t),r?te.createElement("pre",{style:n},r):null,null)}var mH=te.createElement(pH,null),Cw=class extends te.Component{constructor(t){super(t),this.state={location:t.location,revalidation:t.revalidation,error:t.error}}static getDerivedStateFromError(t){return{error:t}}static getDerivedStateFromProps(t,r){return r.location!==t.location||r.revalidation!=="idle"&&t.revalidation==="idle"?{error:t.error,location:t.location,revalidation:t.revalidation}:{error:t.error!==void 0?t.error:r.error,location:r.location,revalidation:t.revalidation||r.revalidation}}componentDidCatch(t,r){console.error("React Router caught the following error during render",t,r)}render(){return this.state.error!==void 0?te.createElement(Na.Provider,{value:this.props.routeContext},te.createElement(UA.Provider,{value:this.state.error,children:this.props.component})):this.props.children}};function hH(e){let{routeContext:t,match:r,children:a}=e,n=te.useContext(Bc);return n&&n.static&&n.staticContext&&(r.route.errorElement||r.route.ErrorBoundary)&&(n.staticContext._deepestRenderedBoundaryId=r.route.id),te.createElement(Na.Provider,{value:t},a)}function gH(e,t,r,a){var n;if(t===void 0&&(t=[]),r===void 0&&(r=null),a===void 0&&(a=null),e==null){var o;if(!r)return null;if(r.errors)e=r.matches;else if((o=a)!=null&&o.v7_partialHydration&&t.length===0&&!r.initialized&&r.matches.length>0)e=r.matches;else return null}let i=e,s=(n=r)==null?void 0:n.errors;if(s!=null){let d=i.findIndex(c=>c.route.id&&s?.[c.route.id]!==void 0);d>=0||Je(!1),i=i.slice(0,Math.min(i.length,d+1))}let l=!1,u=-1;if(r&&a&&a.v7_partialHydration)for(let d=0;d<i.length;d++){let c=i[d];if((c.route.HydrateFallback||c.route.hydrateFallbackElement)&&(u=d),c.route.id){let{loaderData:f,errors:p}=r,v=c.route.loader&&f[c.route.id]===void 0&&(!p||p[c.route.id]===void 0);if(c.route.lazy||v){l=!0,u>=0?i=i.slice(0,u+1):i=[i[0]];break}}}return i.reduceRight((d,c,f)=>{let p,v=!1,m=null,w=null;r&&(p=s&&c.route.id?s[c.route.id]:void 0,m=c.route.errorElement||mH,l&&(u<0&&f===0?(bH("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),v=!0,w=null):u===f&&(v=!0,w=c.route.hydrateFallbackElement||null)));let h=t.concat(i.slice(0,f+1)),g=()=>{let y;return p?y=m:v?y=w:c.route.Component?y=te.createElement(c.route.Component,null):c.route.element?y=c.route.element:y=d,te.createElement(hH,{match:c,routeContext:{outlet:d,matches:h,isDataRoute:r!=null},children:y})};return r&&(c.route.ErrorBoundary||c.route.errorElement||f===0)?te.createElement(Cw,{location:r.location,revalidation:r.revalidation,component:m,error:p,children:g(),routeC
8ontext:{outlet:null,matches:h,isDataRoute:!0}}):g()},null)}var HA=function(e){return e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e}(HA||{}),Xm=function(e){return e.UseBlocker="useBlocker",e.UseLoaderData="useLoaderData",e.UseActionData="useActionData",e.UseRouteError="useRouteError",e.UseNavigation="useNavigation",e.UseRouteLoaderData="useRouteLoaderData",e.UseMatches="useMatches",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e.UseRouteId="useRouteId",e}(Xm||{});function vH(e){let t=te.useContext(Bc);return t||Je(!1),t}function yH(e){let t=te.useContext(Lw);return t||Je(!1),t}function xH(e){let t=te.useContext(Na);return t||Je(!1),t}function WA(e){let t=xH(e),r=t.matches[t.matches.length-1];return r.route.id||Je(!1),r.route.id}function GA(){var e;let t=te.useContext(UA),r=yH(Xm.UseRouteError),a=WA(Xm.UseRouteError);return t!==void 0?t:(e=r.errors)==null?void 0:e[a]}function wH(){let{router:e}=vH(HA.UseNavigateStable),t=WA(Xm.UseNavigateStable),r=te.useRef(!1);return VA(()=>{r.current=!0}),te.useCallback(function(n,o){o===void 0&&(o={}),r.current&&(typeof n=="number"?e.navigate(n):e.navigate(n,Nc({fromRouteId:t},o)))},[e,t])}var BA={};function bH(e,t,r){!t&&!BA[e]&&(BA[e]=!0)}var js=(e,t,r)=>(""+t+("You can use the `"+e+"` future flag to opt-in early. ")+("For more information, see "+r+"."),void 0);function $A(e,t){e?.v7_startTransition===void 0&&js("v7_startTransition","React Router will begin wrapping state updates in `React.startTransition` in v7","https://reactrouter.com/v6/upgrading/future#v7_starttransition"),e?.v7_relativeSplatPath===void 0&&(!t||t.v7_relativeSplatPath===void 0)&&js("v7_relativeSplatPath","Relative route resolution within Splat routes is changing in v7","https://reactrouter.com/v6/upgrading/future#v7_relativesplatpath"),t&&(t.v7_fetcherPersist===void 0&&js("v7_fetcherPersist","The persistence behavior of fetchers is changing in v7","https://reactrouter.com/v6/upgrading/future#v7_fetcherpersist"),t.v7_normalizeFormMethod===void 0&&js("v7_normalizeFormMethod","Casing of `formMethod` fields is being normalized to uppercase in v7","https://reactrouter.com/v6/upgrading/future#v7_normalizeformmethod"),t.v7_partialHydration===void 0&&js("v7_partialHydration","`RouterProvider` hydration behavior is changing in v7","https://reactrouter.com/v6/upgrading/future#v7_partialhydration"),t.v7_skipActionErrorRevalidation===void 0&&js("v7_skipActionErrorRevalidation","The revalidation behavior after 4xx/5xx `action` responses is changing in v7","https://reactrouter.com/v6/upgrading/future#v7_skipactionerrorrevalidation"))}var SH="startTransition",qhe=te[SH];function qs(e){Je(!1)}function kw(e){let{basename:t="/",children:r=null,location:a,navigationType:n=ca.Pop,navigator:o,static:i=!1,future:s}=e;Us()&&Je(!1);let l=t.replace(/^\/*/,"/"),u=te.useMemo(()=>({basename:l,navigator:o,static:i,future:Nc({v7_relativeSplatPath:!1},s)}),[l,s,o,i]);typeof a=="string"&&(a=pn(a));let{pathname:d="/",search:c="",hash:f="",state:p=null,key:v="default"}=a,m=te.useMemo(()=>{let w=_c(d,l);return w==null?null:{location:{pathname:w,search:c,hash:f,state:p,key:v},navigationType:n}},[l,d,c,f,p,v,n]);return m==null?null:te.createElement(mn.Provider,{value:u},te.createElement(jc.Provider,{children:r,value:m}))}function Aw(e){let{children:t,location:r}=e;return qA(Fc(t),r)}var zhe=new Promise(()=>{});function Fc(e,t){t===void 0&&(t=[]);let r=[];return te.Children.forEach(e,(a,n)=>{if(!te.isValidElement(a))return;let o=[...t,n];if(a.type===te.Fragment){r.push.apply(r,Fc(a.props.children,o));return}a.type!==qs&&Je(!1),!a.props.index||!a.props.children||Je(!1);let i={id:a.props.id||o.join("-"),caseSensitive:a.props.caseSensitive,element:a.props.element,Component:a.props.Component,index:a.props.index,path:a.props.path,loader:a.props.loader,action:a.props.action,errorElement:a.props.errorElement,ErrorBoundary:a.props.ErrorBoundary,hasErrorBoundary:a.props.ErrorBoundary!=null||a.props.errorElement!=null,shouldRevalidate:a.props.shouldRevalidate,handle:a.props.handle,lazy:a.props.lazy};a.props.children&&(i.children=Fc(a.props.children,o)),r.push(i)}),r}function Tw(){return Tw=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var a in r)Object.prototype.hasOwnProperty.call(r,a)&&(e[a]=r[a])}return e},Tw.apply(this,arguments)}function AH(e,t){if(e==null)return{};var r={},a=Object.keys(e),n,o;for(o=0;o<a.length;o++)n=a[o],!(t.indexOf(n)>=0)&&(r[n]=e[n]);return r}function TH(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function EH(e,t){return e.button===0&&(!t||t==="_self")&&!TH(e)}var OH=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","viewTransition"];var MH="6";try{window.__reactRouterVersion=MH}catch{}var RH="startTransition",XA=ze[RH],DH="flushSync",hge=kH[DH],_H="useId",gge=ze[_H];function QA(e){let{basename:t,children:r,future:a,window:n}=e,o=ze.useRef();o.current==null&&(o.current=MA({window:n,v5Compat:!0}));let i=o.current,[s,l]=ze.useState({action:i.action,location:i.location}),{v7_startTransition:u}=a||{},d=ze.useCallback(c=>{u&&XA?XA(()=>l(c)):l(c)},[l,u]);return ze.useLayoutEffect(()=>
8i.listen(d),[i,d]),ze.useEffect(()=>$A(a),[a]),ze.createElement(kw,{basename:t,children:r,location:s.location,navigationType:s.action,navigator:i,future:a})}var NH=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",FH=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,Vc=ze.forwardRef(function(t,r){let{onClick:a,relative:n,reloadDocument:o,replace:i,state:s,target:l,to:u,preventScrollReset:d,viewTransition:c}=t,f=AH(t,OH),{basename:p}=ze.useContext(mn),v,m=!1;if(typeof u=="string"&&FH.test(u)&&(v=u,NH))try{let y=new URL(window.location.href),S=u.startsWith("//")?new URL(y.protocol+u):new URL(u),x=_c(S.pathname,p);S.origin===y.origin&&x!=null?u=x+S.search+S.hash:m=!0}catch{}let w=Iw(u,{relative:n}),h=BH(u,{replace:i,state:s,target:l,preventScrollReset:d,relative:n,viewTransition:c});function g(y){a&&a(y),y.defaultPrevented||h(y)}return ze.createElement("a",Tw({},f,{href:v||w,onClick:m||o?a:g,ref:r,target:l}))});var KA;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(KA||(KA={}));var YA;(function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(YA||(YA={}));function BH(e,t){let{target:r,replace:a,state:n,preventScrollReset:o,relative:i,viewTransition:s}=t===void 0?{}:t,l=Uc(),u=Vs(),d=Km(e,{relative:i});return ze.useCallback(c=>{if(EH(c,r)){c.preventDefault();let f=a!==void 0?a:ri(u)===ri(d);l(e,{replace:f,state:n,preventScrollReset:o,relative:i,viewTransition:s})}},[u,l,d,a,n,r,e,o,i,s])}var ki=D(K());var yd=D(Me(),1),Ua=D(K(),1);var t2=D(K(),1),zs=(0,t2.createContext)({});var r2=D(K(),1);function Hs(e){let t=(0,r2.useRef)(null);return t.current===null&&(t.current=e()),t.current}var Qm=D(K(),1);var Ws=typeof window<"u";var Zm=Ws?Qm.useLayoutEffect:Qm.useEffect;var db=D(Me(),1),dT=D(K(),1),gd=D(K(),1);var a2=D(K(),1),lo=(0,a2.createContext)(null);var uT=D(Me(),1);function ai(e,t){e.indexOf(t)===-1&&e.push(t)}function ni(e,t){let r=e.indexOf(t);r>-1&&e.splice(r,1)}var It=(e,t,r)=>r>t?t:r<e?e:r;var hn=()=>{},jr=()=>{};var jt={};var qc=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e);function zc(e){return typeof e=="object"&&e!==null}var Hc=e=>/^0[^.\s]+$/u.test(e);function oi(e){let t;return()=>(t===void 0&&(t=e()),t)}var Ye=e=>e;var WH=(e,t)=>r=>t(e(r)),da=(...e)=>e.reduce(WH);var Fa=(e,t,r)=>{let a=t-e;return a===0?1:(r-e)/a};var gn=class{constructor(){this.subscriptions=[]}add(t){return ai(this.subscriptions,t),()=>ni(this.subscriptions,t)}notify(t,r,a){let n=this.subscriptions.length;if(n)if(n===1)this.subscriptions[0](t,r,a);else for(let o=0;o<n;o++){let i=this.subscriptions[o];i&&i(t,r,a)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}};var ht=e=>e*1e3,gt=e=>e/1e3;function Wc(e,t){return t?e*(1e3/t):0}var n2=(e,t,r)=>(((1-3*r+3*t)*e+(3*r-6*t))*e+3*t)*e,GH=1e-7,$H=12;function XH(e,t,r,a,n){let o,i,s=0;do i=t+(r-t)/2,o=n2(i,a,n)-e,o>0?r=i:t=i;while(Math.abs(o)>GH&&++s<$H);return i}function uo(e,t,r,a){if(e===t&&r===a)return Ye;let n=o=>XH(o,0,1,e,r);return o=>o===0||o===1?o:n2(n(o),t,a)}var Jm=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2;var eh=e=>t=>1-e(1-t);var th=uo(.33,1.53,.69,.99),Gs=eh(th),Gc=Jm(Gs);var $c=e=>(e*=2)<1?.5*Gs(e):.5*(2-Math.pow(2,-10*(e-1)));var Xc=e=>1-Math.sin(Math.acos(e)),Kc=eh(Xc),Yc=Jm(Xc);var Ew=uo(.42,0,1,1),Ow=uo(0,0,.58,1),Qc=uo(.42,0,.58,1);var Mw=e=>Array.isArray(e)&&typeof e[0]!="number";var Zc=e=>Array.isArray(e)&&typeof e[0]=="number";var o2={linear:Ye,easeIn:Ew,easeInOut:Qc,easeOut:Ow,circIn:Xc,circInOut:Yc,circOut:Kc,backIn:Gs,backInOut:Gc,backOut:th,anticipate:$c},KH=e=>typeof e=="string",rh=e=>{if(Zc(e)){jr(e.length===4,"Cubic bezier arrays must contain four numerical values.","cubic-bezier-length");let[t,r,a,n]=e;return uo(t,r,a,n)}else if(KH(e))return jr(o2[e]!==void 0,`Invalid easing type '${e}'`,"invalid-easing-type"),o2[e];return e};var Jc=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"];var ir={value:null,addProjectionMetrics:null};function i2(e,t){let r=new Set,a=new Set,n=!1,o=!1,i=new WeakSet,s={delta:0,timestamp:0,isProcessing:!1},l=0;function u(c){i.has(c)&&(d.schedule(c),e()),l++,c(s)}let d={schedule:(c,f=!1,p=!1)=>{let m=p&&n?r:a;return f&&i.add(c),m.has(c)||m.add(c),c},cancel:c=>{a.delete(c),i.delete(c)},process:c=>{if(s=c,n){o=!0;return}n=!0,[r,a]=[a,r],r.forEach(u),t&&ir.value&&ir.value.frameloop[t].push(l),l=0,r.clear(),n=!1,o&&(o=!1,d.process(c))}};return d}var YH=40;function ah(e,t){let r=!1,a=!0,n={delta:0,timestamp:0,isProcessing:!1},o=()=>r=!0,i=Jc.reduce((y,S)=>(y[S]=i2(o,t?S:void 0),y),{}),{setup:s,read:l,resolveKeyframes:u,preUpdate:d,update:c,preRender:f,render:p,postRender:v}=i,m=()=>{let y=jt.useManualTiming?n.timestamp:performance.now();r=!1,jt.useManualTiming||(n.delta=a?1e3/60:Math.max(Math.min(y-n.timestamp,YH),1)),n.timestamp=y,n.isProcessing=!0,s.process(n),l.process(n),u.process(n),d.process(n),c.process(n),f.process(n),p.process(n),v.process(n),n.isProcessing=!1,r&&t&&(a=!1,e(m))},w=()=>{r=!0,a=!0,n.isProcessing||e(m)};return{schedule:Jc.reduce((y,S)=>{let x=i[S];return y[S]=(b,C=!1,P=!1)=>(r||w(),x.schedule(b,C,P)),y},{}),cancel:y=>{for(let S=0;S<Jc.length;S++)i[Jc[S]].cancel(y)},state:n,steps:i}}var{schedule:de,cancel:sr,state:et,steps:ed}=ah(typeof requestAnimationFrame<"u"?requestAnimationFrame:Ye,!0);var nh;function QH(){nh=void 0}var tt={now:()=>(nh===void 0&&tt.set(et.isProcessing||jt.useManualTiming?et.timestamp:performance.now()),nh),set
8:e=>{nh=e,queueMicrotask(QH)}};var fa={layout:0,mainThread:0,waapi:0};var s2=e=>t=>typeof t=="string"&&t.startsWith(e),ii=s2("--"),ZH=s2("var(--"),si=e=>ZH(e)?JH.test(e.split("/*")[0].trim()):!1,JH=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;var Ba={test:e=>typeof e=="number",parse:parseFloat,transform:e=>e},vn={...Ba,transform:e=>It(0,1,e)},td={...Ba,default:1};var co=e=>Math.round(e*1e5)/1e5;var $s=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function l2(e){return e==null}var u2=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu;var Xs=(e,t)=>r=>!!(typeof r=="string"&&u2.test(r)&&r.startsWith(e)||t&&!l2(r)&&Object.prototype.hasOwnProperty.call(r,t)),oh=(e,t,r)=>a=>{if(typeof a!="string")return a;let[n,o,i,s]=a.match($s);return{[e]:parseFloat(n),[t]:parseFloat(o),[r]:parseFloat(i),alpha:s!==void 0?parseFloat(s):1}};var eW=e=>It(0,255,e),Rw={...Ba,transform:e=>Math.round(eW(e))},ja={test:Xs("rgb","red"),parse:oh("red","green","blue"),transform:({red:e,green:t,blue:r,alpha:a=1})=>"rgba("+Rw.transform(e)+", "+Rw.transform(t)+", "+Rw.transform(r)+", "+co(vn.transform(a))+")"};function tW(e){let t="",r="",a="",n="";return e.length>5?(t=e.substring(1,3),r=e.substring(3,5),a=e.substring(5,7),n=e.substring(7,9)):(t=e.substring(1,2),r=e.substring(2,3),a=e.substring(3,4),n=e.substring(4,5),t+=t,r+=r,a+=a,n+=n),{red:parseInt(t,16),green:parseInt(r,16),blue:parseInt(a,16),alpha:n?parseInt(n,16)/255:1}}var rd={test:Xs("#"),parse:tW,transform:ja.transform};var ad=e=>({test:t=>typeof t=="string"&&t.endsWith(e)&&t.split(" ").length===1,parse:parseFloat,transform:t=>`${t}${e}`}),pa=ad("deg"),Ut=ad("%"),ne=ad("px"),Dw=ad("vh"),_w=ad("vw"),ih={...Ut,parse:e=>Ut.parse(e)/100,transform:e=>Ut.transform(e*100)};var fo={test:Xs("hsl","hue"),parse:oh("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:r,alpha:a=1})=>"hsla("+Math.round(e)+", "+Ut.transform(co(t))+", "+Ut.transform(co(r))+", "+co(vn.transform(a))+")"};var He={test:e=>ja.test(e)||rd.test(e)||fo.test(e),parse:e=>ja.test(e)?ja.parse(e):fo.test(e)?fo.parse(e):rd.parse(e),transform:e=>typeof e=="string"?e:e.hasOwnProperty("red")?ja.transform(e):fo.transform(e),getAnimatableNone:e=>{let t=He.parse(e);return t.alpha=0,He.transform(t)}};var c2=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function rW(e){return isNaN(e)&&typeof e=="string"&&(e.match($s)?.length||0)+(e.match(c2)?.length||0)>0}var f2="number",p2="color",aW="var",nW="var(",d2="${}",oW=/var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;function po(e){let t=e.toString(),r=[],a={color:[],number:[],var:[]},n=[],o=0,s=t.replace(oW,l=>(He.test(l)?(a.color.push(o),n.push(p2),r.push(He.parse(l))):l.startsWith(nW)?(a.var.push(o),n.push(aW),r.push(l)):(a.number.push(o),n.push(f2),r.push(parseFloat(l))),++o,d2)).split(d2);return{values:r,split:s,indexes:a,types:n}}function m2(e){return po(e).values}function h2(e){let{split:t,types:r}=po(e),a=t.length;return n=>{let o="";for(let i=0;i<a;i++)if(o+=t[i],n[i]!==void 0){let s=r[i];s===f2?o+=co(n[i]):s===p2?o+=He.transform(n[i]):o+=n[i]}return o}}var iW=e=>typeof e=="number"?0:He.test(e)?He.getAnimatableNone(e):e;function sW(e){let t=m2(e);return h2(e)(t.map(iW))}var Vt={test:rW,parse:m2,createTransformer:h2,getAnimatableNone:sW};function Nw(e,t,r){return r<0&&(r+=1),r>1&&(r-=1),r<1/6?e+(t-e)*6*r:r<1/2?t:r<2/3?e+(t-e)*(2/3-r)*6:e}function g2({hue:e,saturation:t,lightness:r,alpha:a}){e/=360,t/=100,r/=100;let n=0,o=0,i=0;if(!t)n=o=i=r;else{let s=r<.5?r*(1+t):r+t-r*t,l=2*r-s;n=Nw(l,s,e+1/3),o=Nw(l,s,e),i=Nw(l,s,e-1/3)}return{red:Math.round(n*255),green:Math.round(o*255),blue:Math.round(i*255),alpha:a}}function Ks(e,t){return r=>r>0?t:e}var pe=(e,t,r)=>e+(t-e)*r;var Fw=(e,t,r)=>{let a=e*e,n=r*(t*t-a)+a;return n<0?0:Math.sqrt(n)},lW=[rd,ja,fo],uW=e=>lW.find(t=>t.test(e));function v2(e){let t=uW(e);if(hn(!!t,`'${e}' is not an animatable color. Use the equivalent color code instead.`,"color-not-animatable"),!t)return!1;let r=t.parse(e);return t===fo&&(r=g2(r)),r}var Bw=(e,t)=>{let r=v2(e),a=v2(t);if(!r||!a)return Ks(e,t);let n={...r};return o=>(n.red=Fw(r.red,a.red,o),n.green=Fw(r.green,a.green,o),n.blue=Fw(r.blue,a.blue,o),n.alpha=pe(r.alpha,a.alpha,o),ja.transform(n))};var sh=new Set(["none","hidden"]);function y2(e,t){return sh.has(e)?r=>r<=0?e:t:r=>r>=1?t:e}function cW(e,t){return r=>pe(e,t,r)}function lh(e){return typeof e=="number"?cW:typeof e=="string"?si(e)?Ks:He.test(e)?Bw:pW:Array.isArray(e)?x2:typeof e=="object"?He.test(e)?Bw:dW:Ks}function x2(e,t){let r=[...e],a=r.length,n=e.map((o,i)=>lh(o)(o,t[i]));return o=>{for(let i=0;i<a;i++)r[i]=n[i](o);return r}}function dW(e,t){let r={...e,...t},a={};for(let n in r)e[n]!==void 0&&t[n]!==void 0&&(a[n]=lh(e[n])(e[n],t[n]));return n=>{for(let o in a)r[o]=a[o](n);return r}}function fW(e,t){let r=[],a={color:0,var:0,number:0};for(let n=0;n<t.values.length;n++){let o=t.types[n],i=e.indexes[o][a[o]],s=e.values[i]??0;r[n]=s,a[o]++}return r}var pW=(e,t)=>
8{let r=Vt.createTransformer(t),a=po(e),n=po(t);return a.indexes.var.length===n.indexes.var.length&&a.indexes.color.length===n.indexes.color.length&&a.indexes.number.length>=n.indexes.number.length?sh.has(e)&&!n.values.length||sh.has(t)&&!a.values.length?y2(e,t):da(x2(fW(a,n),n.values),r):(hn(!0,`Complex values '${e}' and '${t}' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`,"complex-values-different"),Ks(e,t))};function uh(e,t,r){return typeof e=="number"&&typeof t=="number"&&typeof r=="number"?pe(e,t,r):lh(e)(e,t)}var w2=e=>{let t=({timestamp:r})=>e(r);return{start:(r=!0)=>de.update(t,r),stop:()=>sr(t),now:()=>et.isProcessing?et.timestamp:tt.now()}};var ch=(e,t,r=10)=>{let a="",n=Math.max(Math.round(t/r),2);for(let o=0;o<n;o++)a+=Math.round(e(o/(n-1))*1e4)/1e4+", ";return`linear(${a.substring(0,a.length-2)})`};function Ys(e){let t=0,r=50,a=e.next(t);for(;!a.done&&t<2e4;)t+=r,a=e.next(t);return t>=2e4?1/0:t}function b2(e,t=100,r){let a=r({...e,keyframes:[0,t]}),n=Math.min(Ys(a),2e4);return{type:"keyframes",ease:o=>a.next(n*o).value/t,duration:gt(n)}}var mW=5;function dh(e,t,r){let a=Math.max(t-mW,0);return Wc(r-e(a),t-a)}var Fe={stiffness:100,damping:10,mass:1,velocity:0,duration:800,bounce:.3,visualDuration:.3,restSpeed:{granular:.01,default:2},restDelta:{granular:.005,default:.5},minDuration:.01,maxDuration:10,minDamping:.05,maxDamping:1};var Uw=.001;function S2({duration:e=Fe.duration,bounce:t=Fe.bounce,velocity:r=Fe.velocity,mass:a=Fe.mass}){let n,o;hn(e<=ht(Fe.maxDuration),"Spring duration must be 10 seconds or less","spring-duration-limit");let i=1-t;i=It(Fe.minDamping,Fe.maxDamping,i),e=It(Fe.minDuration,Fe.maxDuration,gt(e)),i<1?(n=u=>{let d=u*i,c=d*e,f=d-r,p=fh(u,i),v=Math.exp(-c);return Uw-f/p*v},o=u=>{let c=u*i*e,f=c*r+r,p=Math.pow(i,2)*Math.pow(u,2)*e,v=Math.exp(-c),m=fh(Math.pow(u,2),i);return(-n(u)+Uw>0?-1:1)*((f-p)*v)/m}):(n=u=>{let d=Math.exp(-u*e),c=(u-r)*e+1;return-Uw+d*c},o=u=>{let d=Math.exp(-u*e),c=(r-u)*(e*e);return d*c});let s=5/e,l=gW(n,o,s);if(e=ht(e),isNaN(l))return{stiffness:Fe.stiffness,damping:Fe.damping,duration:e};{let u=Math.pow(l,2)*a;return{stiffness:u,damping:i*2*Math.sqrt(a*u),duration:e}}}var hW=12;function gW(e,t,r){let a=r;for(let n=1;n<hW;n++)a=a-e(a)/t(a);return a}function fh(e,t){return e*Math.sqrt(1-t*t)}var vW=["duration","bounce"],yW=["stiffness","damping","mass"];function C2(e,t){return t.some(r=>e[r]!==void 0)}function xW(e){let t={velocity:Fe.velocity,stiffness:Fe.stiffness,damping:Fe.damping,mass:Fe.mass,isResolvedFromDuration:!1,...e};if(!C2(e,yW)&&C2(e,vW))if(e.visualDuration){let r=e.visualDuration,a=2*Math.PI/(r*1.2),n=a*a,o=2*It(.05,1,1-(e.bounce||0))*Math.sqrt(n);t={...t,mass:Fe.mass,stiffness:n,damping:o}}else{let r=S2(e);t={...t,...r,mass:Fe.mass},t.isResolvedFromDuration=!0}return t}function Qs(e=Fe.visualDuration,t=Fe.bounce){let r=typeof e!="object"?{visualDuration:e,keyframes:[0,1],bounce:t}:e,{restSpeed:a,restDelta:n}=r,o=r.keyframes[0],i=r.keyframes[r.keyframes.length-1],s={done:!1,value:o},{stiffness:l,damping:u,mass:d,duration:c,velocity:f,isResolvedFromDuration:p}=xW({...r,velocity:-gt(r.velocity||0)}),v=f||0,m=u/(2*Math.sqrt(l*d)),w=i-o,h=gt(Math.sqrt(l/d)),g=Math.abs(w)<5;a||(a=g?Fe.restSpeed.granular:Fe.restSpeed.default),n||(n=g?Fe.restDelta.granular:Fe.restDelta.default);let y;if(m<1){let x=fh(h,m);y=b=>{let C=Math.exp(-m*h*b);return i-C*((v+m*h*w)/x*Math.sin(x*b)+w*Math.cos(x*b))}}else if(m===1)y=x=>i-Math.exp(-h*x)*(w+(v+h*w)*x);else{let x=h*Math.sqrt(m*m-1);y=b=>{let C=Math.exp(-m*h*b),P=Math.min(x*b,300);return i-C*((v+m*h*w)*Math.sinh(P)+x*w*Math.cosh(P))/x}}let S={calculatedDuration:p&&c||null,next:x=>{let b=y(x);if(p)s.done=x>=c;else{let C=x===0?v:0;m<1&&(C=x===0?ht(v):dh(y,x,b));let P=Math.abs(C)<=a,O=Math.abs(i-b)<=n;s.done=P&&O}return s.value=s.done?i:b,s},toString:()=>{let x=Math.min(Ys(S),2e4),b=ch(C=>S.next(x*C).value,x,30);return x+"ms "+b},toTransition:()=>{}};return S}Qs.applyToOptions=e=>{let t=b2(e,100,Qs);return e.ease=t.ease,e.duration=ht(t.duration),e.type="keyframes",e};
8function nd({keyframes:e,velocity:t=0,power:r=.8,timeConstant:a=325,bounceDamping:n=10,bounceStiffness:o=500,modifyTarget:i,min:s,max:l,restDelta:u=.5,restSpeed:d}){let c=e[0],f={done:!1,value:c},p=P=>s!==void 0&&P<s||l!==void 0&&P>l,v=P=>s===void 0?l:l===void 0||Math.abs(s-P)<Math.abs(l-P)?s:l,m=r*t,w=c+m,h=i===void 0?w:i(w);h!==w&&(m=h-c);let g=P=>-m*Math.exp(-P/a),y=P=>h+g(P),S=P=>{let O=g(P),R=y(P);f.done=Math.abs(O)<=u,f.value=f.done?h:R},x,b,C=P=>{p(f.value)&&(x=P,b=Qs({keyframes:[f.value,v(f.value)],velocity:dh(y,P,f.value),damping:n,stiffness:o,restDelta:u,restSpeed:d}))};return C(0),{calculatedDuration:null,next:P=>{let O=!1;return!b&&x===void 0&&(O=!0,S(P),C(P)),x!==void 0&&P>=x?b.next(P-x):(!O&&S(P),f)}}}function wW(e,t,r){let a=[],n=r||jt.mix||uh,o=e.length-1;for(let i=0;i<o;i++){let s=n(e[i],e[i+1]);if(t){let l=Array.isArray(t)?t[i]||Ye:t;s=da(l,s)}a.push(s)}return a}function L2(e,t,{clamp:r=!0,ease:a,mixer:n}={}){let o=e.length;if(jr(o===t.length,"Both input and output ranges must be the same length","range-length"),o===1)return()=>t[0];if(o===2&&t[0]===t[1])return()=>t[1];let i=e[0]===e[1];e[0]>e[o-1]&&(e=[...e].reverse(),t=[...t].reverse());let s=wW(t,a,n),l=s.length,u=d=>{if(i&&d<e[0])return t[0];let c=0;if(l>1)for(;c<e.length-2&&!(d<e[c+1]);c++);let f=Fa(e[c],e[c+1],d);return s[c](f)};return r?d=>u(It(e[0],e[o-1],d)):u}function I2(e,t){let r=e[e.length-1];for(let a=1;a<=t;a++){let n=Fa(0,t,a);e.push(pe(r,1,n))}}function P2(e){let t=[0];return I2(t,e.length-1),t}function k2(e,t){return e.map(r=>r*t)}function bW(e,t){return e.map(()=>t||Qc).splice(0,e.length-1)}function li({duration:e=300,keyframes:t,times:r,ease:a="easeInOut"}){let n=Mw(a)?a.map(rh):rh(a),o={done:!1,value:t[0]},i=k2(r&&r.length===t.length?r:P2(t),e),s=L2(i,t,{ease:Array.isArray(n)?n:bW(t,n)});return{calculatedDuration:e,next:l=>(o.value=s(l),o.done=l>=e,o)}}var SW=e=>e!==null;function Zs(e,{repeat:t,repeatType:r="loop"},a,n=1){let o=e.filter(SW),s=n<0||t&&r!=="loop"&&t%2===1?0:o.length-1;return!s||a===void 0?o[s]:a}var CW={decay:nd,inertia:nd,tween:li,keyframes:li,spring:Qs};function ph(e){typeof e.type=="string"&&(e.type=CW[e.type])}var mo=class{constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise(t=>{this.resolve=t})}notifyFinished(){this.resolve()}then(t,r){return this.finished.then(t,r)}};var LW=e=>e/100,yn=class extends mo{constructor(t){super(),this.state="idle",this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.stop=()=>{let{motionValue:r}=this.options;r&&r.updatedAt!==tt.now()&&this.tick(tt.now()),this.isStopped=!0,this.state!=="idle"&&(this.teardown(),this.options.onStop?.())},fa.mainThread++,this.options=t,this.initAnimation(),this.play(),t.autoplay===!1&&this.pause()}initAnimation(){let{options:t}=this;ph(t);let{type:r=li,repeat:a=0,repeatDelay:n=0,repeatType:o,velocity:i=0}=t,{keyframes:s}=t,l=r||li;l!==li&&typeof s[0]!="number"&&(this.mixKeyframes=da(LW,uh(s[0],s[1])),s=[0,100]);let u=l({...t,keyframes:s});o==="mirror"&&(this.mirroredGenerator=l({...t,keyframes:[...s].reverse(),velocity:-i})),u.calculatedDuration===null&&(u.calculatedDuration=Ys(u));let{calculatedDuration:d}=u;this.calculatedDuration=d,this.resolvedDuration=d+n,this.totalDuration=this.resolvedDuration*(a+1)-n,this.generator=u}updateTime(t){let r=Math.round(t-this.startTime)*this.playbackSpeed;this.holdTime!==null?this.currentTime=this.holdTime:this.currentTime=r}tick(t,r=!1){let{generator:a,totalDuration:n,mixKeyframes:o,mirroredGenerator:i,resolvedDuration:s,calculatedDuration:l}=this;if(this.startTime===null)return a.next(0);let{delay:u=0,keyframes:d,repeat:c,repeatType:f,repeatDelay:p,type:v,onUpdate:m,finalKeyframe:w}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,t):this.speed<0&&(this.startTime=Math.min(t-n/this.speed,this.startTime)),r?this.currentTime=t:this.updateTime(t);let h=this.currentTime-u*(this.playbackSpeed>=0?1:-1),g=this.playbackSpeed>=0?h<0:h>n;this.currentTime=Math.max(h,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=n);let y=this.currentTime,S=a;if(c){let P=Math.min(this.currentTime,n)/s,O=Math.floor(P),R=P%1;!R&&P>=1&&(R=1),R===1&&O--,O=Math.min(O,c+1),!!(O%2)&&(f==="reverse"?(R=1-R,p&&(R-=p/s)):f==="mirror"&&(S=i)),y=It(0,1,R)*s}let x=g?{done:!1,value:d[0]}:S.next(y);o&&(x.value=o(x.value));let{done:b}=x;!g&&l!==null&&(b=this.playbackSpeed>=0?this.currentTime>=n:this.currentTime<=0);let C=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&b);return C&&v!==nd&&(x.value=Zs(d,this.options,w,this.speed)),m&&m(x.value),C&&this.finish(),x}
8then(t,r){return this.finished.then(t,r)}get duration(){return gt(this.calculatedDuration)}get iterationDuration(){let{delay:t=0}=this.options||{};return this.duration+gt(t)}get time(){return gt(this.currentTime)}set time(t){t=ht(t),this.currentTime=t,this.startTime===null||this.holdTime!==null||this.playbackSpeed===0?this.holdTime=t:this.driver&&(this.startTime=this.driver.now()-t/this.playbackSpeed),this.driver?.start(!1)}get speed(){return this.playbackSpeed}set speed(t){this.updateTime(tt.now());let r=this.playbackSpeed!==t;this.playbackSpeed=t,r&&(this.time=gt(this.currentTime))}play(){if(this.isStopped)return;let{driver:t=w2,startTime:r}=this.options;this.driver||(this.driver=t(n=>this.tick(n))),this.options.onPlay?.();let a=this.driver.now();this.state==="finished"?(this.updateFinished(),this.startTime=a):this.holdTime!==null?this.startTime=a-this.holdTime:this.startTime||(this.startTime=r??a),this.state==="finished"&&this.speed<0&&(this.startTime+=this.calculatedDuration),this.holdTime=null,this.state="running",this.driver.start()}pause(){this.state="paused",this.updateTime(tt.now()),this.holdTime=this.currentTime}complete(){this.state!=="running"&&this.play(),this.state="finished",this.holdTime=null}finish(){this.notifyFinished(),this.teardown(),this.state="finished",this.options.onComplete?.()}cancel(){this.holdTime=null,this.startTime=0,this.tick(0),this.teardown(),this.options.onCancel?.()}teardown(){this.state="idle",this.stopDriver(),this.startTime=this.holdTime=null,fa.mainThread--}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(t){return this.startTime=0,this.tick(t,!0)}attachTimeline(t){return this.options.allowFlatten&&(this.options.type="keyframes",this.options.ease="linear",this.initAnimation()),this.driver?.stop(),t.observe(this)}};function A2(e){for(let t=1;t<e.length;t++)e[t]??(e[t]=e[t-1])}var ui=e=>e*180/Math.PI,Vw=e=>{let t=ui(Math.atan2(e[1],e[0]));return qw(t)},IW={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:e=>(Math.abs(e[0])+Math.abs(e[3]))/2,rotate:Vw,rotateZ:Vw,skewX:e=>ui(Math.atan(e[1])),skewY:e=>ui(Math.atan(e[2])),skew:e=>(Math.abs(e[1])+Math.abs(e[2]))/2},qw=e=>(e=e%360,e<0&&(e+=360),e),T2=Vw,E2=e=>Math.sqrt(e[0]*e[0]+e[1]*e[1]),O2=e=>Math.sqrt(e[4]*e[4]+e[5]*e[5]),PW={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:E2,scaleY:O2,scale:e=>(E2(e)+O2(e))/2,rotateX:e=>qw(ui(Math.atan2(e[6],e[5]))),rotateY:e=>qw(ui(Math.atan2(-e[2],e[0]))),rotateZ:T2,rotate:T2,skewX:e=>ui(Math.atan(e[4])),skewY:e=>ui(Math.atan(e[1])),skew:e=>(Math.abs(e[1])+Math.abs(e[4]))/2};function od(e){return e.includes("scale")?1:0}function id(e,t){if(!e||e==="none")return od(t);let r=e.match(/^matrix3d\(([-\d.e\s,]+)\)$/u),a,n;if(r)a=PW,n=r;else{let s=e.match(/^matrix\(([-\d.e\s,]+)\)$/u);a=IW,n=s}if(!n)return od(t);let o=a[t],i=n[1].split(",").map(kW);return typeof o=="function"?o(i):i[o]}var zw=(e,t)=>{let{transform:r="none"}=getComputedStyle(e);return id(r,t)};function kW(e){return parseFloat(e.trim())}var ma=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],wr=new Set(ma);var Hw=e=>e===Ba||e===ne,AW=new Set(["x","y","z"]),TW=ma.filter(e=>!AW.has(e));function M2(e){let t=[];return TW.forEach(r=>{let a=e.getValue(r);a!==void 0&&(t.push([r,a.get()]),a.set(r.startsWith("scale")?1:0))}),t}var ho={width:({x:e},{paddingLeft:t="0",paddingRight:r="0"})=>e.max-e.min-parseFloat(t)-parseFloat(r),height:({y:e},{paddingTop:t="0",paddingBottom:r="0"})=>e.max-e.min-parseFloat(t)-parseFloat(r),top:(e,{top:t})=>parseFloat(t),left:(e,{left:t})=>parseFloat(t),bottom:({y:e},{top:t})=>parseFloat(t)+(e.max-e.min),right:({x:e},{left:t})=>parseFloat(t)+(e.max-e.min),x:(e,{transform:t})=>id(t,"x"),y:(e,{transform:t})=>id(t,"y")};ho.translateX=ho.x;ho.translateY=ho.y;var ci=new Set,Ww=!1,Gw=!1,$w=!1;function R2(){if(Gw){let e=Array.from(ci).filter(a=>a.needsMeasurement),t=new Set(e.map(a=>a.element)),r=new Map;t.forEach(a=>{let n=M2(a);n.length&&(r.set(a,n),a.render())}),e.forEach(a=>a.measureInitialState()),t.forEach(a=>{a.render();let n=r.get(a);
8n&&n.forEach(([o,i])=>{a.getValue(o)?.set(i)})}),e.forEach(a=>a.measureEndState()),e.forEach(a=>{a.suspendedScrollY!==void 0&&window.scrollTo(0,a.suspendedScrollY)})}Gw=!1,Ww=!1,ci.forEach(e=>e.complete($w)),ci.clear()}function D2(){ci.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(Gw=!0)})}function Xw(){$w=!0,D2(),R2(),$w=!1}var xn=class{constructor(t,r,a,n,o,i=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...t],this.onComplete=r,this.name=a,this.motionValue=n,this.element=o,this.isAsync=i}scheduleResolve(){this.state="scheduled",this.isAsync?(ci.add(this),Ww||(Ww=!0,de.read(D2),de.resolveKeyframes(R2))):(this.readKeyframes(),this.complete())}readKeyframes(){let{unresolvedKeyframes:t,name:r,element:a,motionValue:n}=this;if(t[0]===null){let o=n?.get(),i=t[t.length-1];if(o!==void 0)t[0]=o;else if(a&&r){let s=a.readValue(r,i);s!=null&&(t[0]=s)}t[0]===void 0&&(t[0]=i),n&&o===void 0&&n.set(t[0])}A2(t)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(t=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,t),ci.delete(this)}cancel(){this.state==="scheduled"&&(ci.delete(this),this.state="pending")}resume(){this.state==="pending"&&this.scheduleResolve()}};var _2=e=>e.startsWith("--");function N2(e,t,r){_2(t)?e.style.setProperty(t,r):e.style[t]=r}var F2=oi(()=>window.ScrollTimeline!==void 0);var B2={};function j2(e,t){let r=oi(e);return()=>B2[t]??r()}var mh=j2(()=>{try{document.createElement("div").animate({opacity:0}
8,{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing");var di=([e,t,r,a])=>`cubic-bezier(${e}, ${t}, ${r}, ${a})`;var Kw={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:di([0,.65,.55,1]),circOut:di([.55,0,1,.45]),backIn:di([.31,.01,.66,-.59]),backOut:di([.33,1.53,.69,.99])};function Yw(e,t){if(e)return typeof e=="function"?mh()?ch(e,t):"ease-out":Zc(e)?di(e):Array.isArray(e)?e.map(r=>Yw(r,t)||Kw.easeOut):Kw[e]}function U2(e,t,r,{delay:a=0,duration:n=300,repeat:o=0,repeatType:i="loop",ease:s="easeOut",times:l}={},u=void 0){let d={[t]:r};l&&(d.offset=l);let c=Yw(s,n);Array.isArray(c)&&(d.easing=c),ir.value&&fa.waapi++;let f={delay:a,duration:n,easing:Array.isArray(c)?"linear":c,fill:"both",iterations:o+1,direction:i==="reverse"?"alternate":"normal"};u&&(f.pseudoElement=u);let p=e.animate(d,f);return ir.value&&p.finished.finally(()=>{fa.waapi--}),p}function hh(e){return typeof e=="function"&&"applyToOptions"in e}function V2({type:e,...t}){return hh(e)&&mh()?e.applyToOptions(t):(t.duration??(t.duration=300),t.ease??(t.ease="easeOut"),t)}var gh=class extends mo{constructor(t){if(super(),this.finishedTime=null,this.isStopped=!1,!t)return;let{element:r,name:a,keyframes:n,pseudoElement:o,allowFlatten:i=!1,finalKeyframe:s,onComplete:l}=t;this.isPseudoElement=!!o,this.allowFlatten=i,this.options=t,jr(typeof t.type!="string",`Mini animate() doesn't support "type" as a string.`,"mini-spring");let u=V2(t);this.animation=U2(r,a,n,u,o),u.autoplay===!1&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!o){let d=Zs(n,this.options,s,this.speed);this.updateMotionValue?this.updateMotionValue(d):N2(r,a,d),this.animation.cancel()}l?.(),this.notifyFinished()}}play(){this.isStopped||(this.animation.play(),this.state==="finished"&&this.updateFinished())}pause(){this.animation.pause()}complete(){this.animation.finish?.()}cancel(){try{this.animation.cancel()}catch{}}stop(){if(this.isStopped)return;this.isStopped=!0;let{state:t}=this;t==="idle"||t==="finished"||(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){this.isPseudoElement||this.animation.commitStyles?.()}get duration(){let t=this.animation.effect?.getComputedTiming?.().duration||0;return gt(Number(t))}get iterationDuration(){let{delay:t=0}=this.options||{};return this.duration+gt(t)}get time(){return gt(Number(this.animation.currentTime)||0)}set time(t){this.finishedTime=null,this.animation.currentTime=ht(t)}get speed(){return this.animation.playbackRate}set speed(t){t<0&&(this.finishedTime=null),this.animation.playbackRate=t}get state(){return this.finishedTime!==null?"finished":this.animation.playState}get startTime(){return Number(this.animation.startTime)}set startTime(t){this.animation.startTime=t}attachTimeline({timeline:t,observe:r}){return this.allowFlatten&&this.animation.effect?.updateTiming({easing:"linear"}),this.animation.onfinish=null,t&&F2()?(this.animation.timeline=t,Ye):r(this)}};var q2={anticipate:$c,backInOut:Gc,circInOut:Yc};function EW(e){return e in q2}function z2(e){typeof e.ease=="string"&&EW(e.ease)&&(e.ease=q2[e.ease])}var H2=10,vh=class extends gh{constructor(t){z2(t),ph(t),super(t),t.startTime&&(this.startTime=t.startTime),this.options=t}updateMotionValue(t){let{motionValue:r,onUpdate:a,onComplete:n,element:o,...i}=this.options;if(!r)return;if(t!==void 0){r.set(t);return}let s=new yn({...i,autoplay:!1}),l=ht(this.finishedTime??this.time);r.setWithVelocity(s.sample(l-H2).value,s.sample(l).value,H2),s.stop()}};var Qw=(e,t)=>t==="zIndex"?!1:!!(typeof e=="number"||Array.isArray(e)||typeof e=="string"&&(Vt.test(e)||e==="0")&&!e.startsWith("url("));function OW(e){let t=e[0];if(e.length===1)return!0;for(let r=0;r<e.length;r++)if(e[r]!==t)return!0}function W2(e,t,r,a){let n=e[0];if(n===null)return!1;if(t==="display"||t==="visibility")return!0;let o=e[e.length-1],i=Qw(n,t),s=Qw(o,t);return hn(i===s,`You are trying to animate ${t} from "${n}" to "${o}". "${i?o:n}" is not an animatable value.`,"value-not-animatable"),!i||!s?!1:OW(e)||(r==="spring"||hh(r))&&a}function Js(e){e.duration=0,e.type="keyframes"}var MW=new Set(["opacity","clipPath","filter","transform"]),RW=oi(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));function G2(e){let{motionValue:t,name:r,repeatDelay:a,repeatType:n,damping:o,type:i}=e;if(!(t?.owner?.current instanceof HTMLElement))return!1;
8let{onUpdate:l,transformTemplate:u}=t.owner.getProps();return RW()&&r&&MW.has(r)&&(r!=="transform"||!u)&&!l&&!a&&n!=="mirror"&&o!==0&&i!=="inertia"}var DW=40,sd=class extends mo{constructor({autoplay:t=!0,delay:r=0,type:a="keyframes",repeat:n=0,repeatDelay:o=0,repeatType:i="loop",keyframes:s,name:l,motionValue:u,element:d,...c}){super(),this.stop=()=>{this._animation&&(this._animation.stop(),this.stopTimeline?.()),this.keyframeResolver?.cancel()},this.createdAt=tt.now();let f={autoplay:t,delay:r,type:a,repeat:n,repeatDelay:o,repeatType:i,name:l,motionValue:u,element:d,...c},p=d?.KeyframeResolver||xn;this.keyframeResolver=new p(s,(v,m,w)=>this.onKeyframesResolved(v,m,f,!w),l,u,d),this.keyframeResolver?.scheduleResolve()}onKeyframesResolved(t,r,a,n){this.keyframeResolver=void 0;let{name:o,type:i,velocity:s,delay:l,isHandoff:u,onUpdate:d}=a;this.resolvedAt=tt.now(),W2(t,o,i,s)||((jt.instantAnimations||!l)&&d?.(Zs(t,a,r)),t[0]=t[t.length-1],Js(a),a.repeat=0);let f={startTime:n?this.resolvedAt?this.resolvedAt-this.createdAt>DW?this.resolvedAt:this.createdAt:this.createdAt:void 0,finalKeyframe:r,...a,keyframes:t},p=!u&&G2(f)?new vh({...f,element:f.motionValue.owner.current}):new yn(f);p.finished.then(()=>this.notifyFinished()).catch(Ye),this.pendingTimeline&&(this.stopTimeline=p.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=p}get finished(){return this._animation?this.animation.finished:this._finished}then(t,r){return this.finished.finally(t).then(()=>{})}get animation(){return this._animation||(this.keyframeResolver?.resume(),Xw()),this._animation}get duration(){return this.animation.duration}get iterationDuration(){return this.animation.iterationDuration}get time(){return this.animation.time}set time(t){this.animation.time=t}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(t){this.animation.speed=t}get startTime(){return this.animation.startTime}attachTimeline(t){return this._animation?this.stopTimeline=this.animation.attachTimeline(t):this.pendingTimeline=t,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){this._animation&&this.animation.cancel(),this.keyframeResolver?.cancel()}};var _W=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function NW(e){let t=_W.exec(e);if(!t)return[,];let[,r,a,n]=t;return[`--${r??a}`,n]}var FW=4;function Zw(e,t,r=1){jr(r<=FW,`Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`,"max-css-var-depth");let[a,n]=NW(e);if(!a)return;let o=window.getComputedStyle(t).getPropertyValue(a);if(o){let i=o.trim();return qc(i)?parseFloat(i):i}return si(n)?Zw(n,t,r+1):n}function fi(e,t){return e?.[t]??e?.default??e}var ld=new Set(["width","height","top","left","right","bottom",...ma]);var $2={test:e=>e==="auto",parse:e=>e};var yh=e=>t=>t.test(e);var Jw=[Ba,ne,Ut,pa,_w,Dw,$2],eb=e=>Jw.find(yh(e));function X2(e){return typeof e=="number"?e===0:e!==null?e==="none"||e==="0"||Hc(e):!0}var BW=new Set(["brightness","contrast","saturate","opacity"]);function jW(e){let[t,r]=e.slice(0,-1).split("(");if(t==="drop-shadow")return e;let[a]=r.match($s)||[];if(!a)return e;let n=r.replace(a,""),o=BW.has(t)?1:0;return a!==r&&(o*=100),t+"("+o+n+")"}var UW=/\b([a-z-]*)\(.*?\)/gu,ud={...Vt,getAnimatableNone:e=>{let t=e.match(UW);return t?t.map(jW).join(" "):e}};var tb={...Ba,transform:Math.round};var K2={rotate:pa,rotateX:pa,rotateY:pa,rotateZ:pa,scale:td,scaleX:td,scaleY:td,scaleZ:td,skew:pa,skewX:pa,skewY:pa,distance:ne,translateX:ne,translateY:ne,translateZ:ne,x:ne,y:ne,z:ne,perspective:ne,transformPerspective:ne,opacity:vn,originX:ih,originY:ih,originZ:ne};var pi={borderWidth:ne,borderTopWidth:ne,borderRightWidth:ne,borderBottomWidth:ne,borderLeftWidth:ne,borderRadius:ne,radius:ne,borderTopLeftRadius:ne,borderTopRightRadius:ne,borderBottomRightRadius:ne,borderBottomLeftRadius:ne,width:ne,maxWidth:ne,height:ne,maxHeight:ne,top:ne,right:ne,bottom:ne,left:ne,padding:ne,paddingTop:ne,paddingRight:ne,paddingBottom:ne,paddingLeft:ne,margin:ne,marginTop:ne,marginRight:ne,marginBottom:ne,marginLeft:ne,backgroundPositionX:ne,backgroundPositionY:ne,...K2,zIndex:tb,fillOpacity:vn,strokeOpacity:vn,numOctaves:tb};var Y2={...pi,color:He,backgroundColor:He,outlineColor:He,fill:He,stroke:He,borderColor:He,borderTopColor:He,borderRightColor:He,borderBottomColor:He,borderLeftColor:He,filter:ud,WebkitFilter:ud},cd=e=>Y2[e];function dd(e,t){let r=cd(e);return r!==ud&&(r=Vt),r.getAnimatableNone?r.getAnimatableNone(t):void 0}
8var VW=new Set(["auto","none","0"]);function Q2(e,t,r){let a=0,n;for(;a<e.length&&!n;){let o=e[a];typeof o=="string"&&!VW.has(o)&&po(o).values.length&&(n=e[a]),a++}if(n&&r)for(let o of t)e[o]=dd(r,n)}var fd=class extends xn{constructor(t,r,a,n,o){super(t,r,a,n,o,!0)}readKeyframes(){let{unresolvedKeyframes:t,element:r,name:a}=this;if(!r||!r.current)return;super.readKeyframes();for(let l=0;l<t.length;l++){let u=t[l];if(typeof u=="string"&&(u=u.trim(),si(u))){let d=Zw(u,r.current);d!==void 0&&(t[l]=d),l===t.length-1&&(this.finalKeyframe=u)}}if(this.resolveNoneKeyframes(),!ld.has(a)||t.length!==2)return;let[n,o]=t,i=eb(n),s=eb(o);if(i!==s)if(Hw(i)&&Hw(s))for(let l=0;l<t.length;l++){let u=t[l];typeof u=="string"&&(t[l]=parseFloat(u))}else ho[a]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){let{unresolvedKeyframes:t,name:r}=this,a=[];for(let n=0;n<t.length;n++)(t[n]===null||X2(t[n]))&&a.push(n);a.length&&Q2(t,a,r)}measureInitialState(){let{element:t,unresolvedKeyframes:r,name:a}=this;if(!t||!t.current)return;a==="height"&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=ho[a](t.measureViewportBox(),window.getComputedStyle(t.current)),r[0]=this.measuredOrigin;let n=r[r.length-1];n!==void 0&&t.getValue(a,n).jump(n,!1)}measureEndState(){let{element:t,name:r,unresolvedKeyframes:a}=this;if(!t||!t.current)return;let n=t.getValue(r);n&&n.jump(this.measuredOrigin,!1);let o=a.length-1,i=a[o];a[o]=ho[r](t.measureViewportBox(),window.getComputedStyle(t.current)),i!==null&&this.finalKeyframe===void 0&&(this.finalKeyframe=i),this.removedTransforms?.length&&this.removedTransforms.forEac
8h(([s,l])=>{t.getValue(s).set(l)}),this.resolveNoneKeyframes()}};function Z2(e,t,r){if(e instanceof EventTarget)return[e];if(typeof e=="string"){let a=document;t&&(a=t.current);let n=r?.[e]??a.querySelectorAll(e);return n?Array.from(n):[]}return Array.from(e)}var pd=(e,t)=>t&&typeof e=="number"?t.transform(e):e;function md(e){return zc(e)&&"offsetHeight"in e}var J2=30,qW=e=>!isNaN(parseFloat(e)),rb={current:void 0},xh=class{constructor(t,r={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=a=>{let n=tt.now();if(this.updatedAt!==n&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(a),this.current!==this.prev&&(this.events.change?.notify(this.current),this.dependents))for(let o of this.dependents)o.dirty()},this.hasAnimated=!1,this.setCurrent(t),this.owner=r.owner}setCurrent(t){this.current=t,this.updatedAt=tt.now(),this.canTrackVelocity===null&&t!==void 0&&(this.canTrackVelocity=qW(this.current))}setPrevFrameValue(t=this.current){this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt}onChange(t){return this.on("change",t)}on(t,r){this.events[t]||(this.events[t]=new gn);let a=this.events[t].add(r);return t==="change"?()=>{a(),de.read(()=>{this.events.change.getSize()||this.stop()})}:a}clearListeners(){for(let t in this.events)this.events[t].clear()}attach(t,r){this.passiveEffect=t,this.stopPassiveEffect=r}set(t){this.passiveEffect?this.passiveEffect(t,this.updateAndNotify):this.updateAndNotify(t)}setWithVelocity(t,r,a){this.set(r),this.prev=void 0,this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt-a}jump(t,r=!0){this.updateAndNotify(t),this.prev=t,this.prevUpdatedAt=this.prevFrameValue=void 0,r&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}dirty(){this.events.change?.notify(this.current)}addDependent(t){this.dependents||(this.dependents=new Set),this.dependents.add(t)}removeDependent(t){this.dependents&&this.dependents.delete(t)}get(){return rb.current&&rb.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){let t=tt.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||t-this.updatedAt>J2)return 0;let r=Math.min(this.updatedAt-this.prevUpdatedAt,J2);return Wc(parseFloat(this.current)-parseFloat(this.prevFrameValue),r)}start(t){return this.stop(),new Promise(r=>{this.hasAnimated=!0,this.animation=t(r),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.dependents?.clear(),this.events.destroy?.notify(),this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}};function Ur(e,t){return new xh(e,t)}var{schedule:mi,cancel:zW}=ah(queueMicrotask,!1);var Vr={x:!1,y:!1};function wh(){return Vr.x||Vr.y}function ab(e){return e==="x"||e==="y"?Vr[e]?null:(Vr[e]=!0,()=>{Vr[e]=!1}):Vr.x||Vr.y?null:(Vr.x=Vr.y=!0,()=>{Vr.x=Vr.y=!1})}function bh(e,t){let r=Z2(e),a=new AbortController,n={passive:!0,...t,signal:a.signal};return[r,n,()=>a.abort()]}function eT(e){return!(e.pointerType==="touch"||wh())}function nb(e,t,r={}){let[a,n,o]=bh(e,r),i=s=>{if(!eT(s))return;let{target:l}=s,u=t(l,s);if(typeof u!="function"||!l)return;let d=c=>{eT(c)&&(u(c),l.removeEventListener("pointerleave",d))};l.addEventListener("pointerleave",d,n)};return a.forEach(s=>{s.addEventListener("pointerenter",i,n)}),o}var ob=(e,t)=>t?e===t?!0:ob(e,t.parentElement):!1;var hi=e=>e.pointerType==="mouse"?typeof e.button!="number"||e.button<=0:e.isPrimary!==!1;var HW=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function tT(e){return HW.has(e.tagName)||e.tabIndex!==-1}var el=new WeakSet;function rT(e){return t=>{t.key==="Enter"&&e(t)}}function ib(e,t){e.dispatchEvent(new PointerEvent("pointer"+t,{isPrimary:!0,bubbles:!0}))}var aT=(e,t)=>{let r=e.currentTarget;if(!r)return;let a=rT(()=>{if(el.has(r))return;ib(r,"down");let n=rT(()=>{ib(r,"up")}),o=()=>ib(r,"cancel");r.addEventListener("keyup",n,t),r.addEventListener("blur",o,t)});r.addEventListener("keydown",a,t),r.addEventListener("blur",()=>r.removeEventListener("keydown",a),t)};function nT(e){return hi(e)&&!wh()}
8function sb(e,t,r={}){let[a,n,o]=bh(e,r),i=s=>{let l=s.currentTarget;if(!nT(s))return;el.add(l);let u=t(l,s),d=(p,v)=>{window.removeEventListener("pointerup",c),window.removeEventListener("pointercancel",f),el.has(l)&&el.delete(l),nT(p)&&typeof u=="function"&&u(p,{success:v})},c=p=>{d(p,l===window||l===document||r.useGlobalTarget||ob(l,p.target))},f=p=>{d(p,!1)};window.addEventListener("pointerup",c,n),window.addEventListener("pointercancel",f,n)};return a.forEach(s=>{(r.useGlobalTarget?window:s).addEventListener("pointerdown",i,n),md(s)&&(s.addEventListener("focus",u=>aT(u,n)),!tT(s)&&!s.hasAttribute("tabindex")&&(s.tabIndex=0))}),o}function hd(e){return zc(e)&&"ownerSVGElement"in e}function lb(e){return hd(e)&&e.tagName==="svg"}var Ae=e=>!!(e&&e.getVelocity);var WW=[...Jw,He,Vt],ub=e=>WW.find(yh(e));var Sh=D(K(),1),wn=D(K(),1);var oT=D(K(),1),tl=(0,oT.createContext)({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"});var sT=D(K(),1);function iT(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function GW(...e){return t=>{let r=!1,a=e.map(n=>{let o=iT(n,t);return!r&&typeof o=="function"&&(r=!0),o});if(r)return()=>{for(let n=0;n<a.length;n++){let o=a[n];typeof o=="function"?o():iT(e[n],null)}}}}function lT(...e){return sT.useCallback(GW(...e),e)}var cb=class extends Sh.Component{getSnapshotBeforeUpdate(t){let r=this.props.childRef.current;if(r&&t.isPresent&&!this.props.isPresent){let a=r.offsetParent,n=md(a)&&a.offsetWidth||0,o=this.props.sizeRef.current;o.height=r.offsetHeight||0,o.width=r.offsetWidth||0,o.top=r.offsetTop,o.left=r.offsetLeft,o.right=n-o.width-o.left}return null}componentDidUpdate(){}render(){return this.props.children}};function cT({children:e,isPresent:t,anchorX:r,root:a}){let n=(0,wn.useId)(),o=(0,wn.useRef)(null),i=(0,wn.useRef)({width:0,height:0,top:0,left:0,right:0}),{nonce:s}=(0,wn.useContext)(tl),l=lT(o,e?.ref);return(0,wn.useInsertionEffect)(()=>{let{width:u,height:d,top:c,left:f,right:p}=i.current;if(t||!o.current||!u||!d)return;let v=r==="left"?`left: ${f}`:`right: ${p}`;o.current.dataset.motionPopId=n;let m=document.createElement("style");s&&(m.nonce=s);let w=a??document.head;return w.appendChild(m),m.sheet&&m.sheet.insertRule(`
9          [data-motion-pop-id="${n}"] {
10            position: absolute !important;
11            width: ${u}px !important;
12            height: ${d}px !important;
13            ${v}px !important;
14            top: ${c}px !important;
15          }
16        `),()=>{w.contains(m)&&w.removeChild(m)}},[t]),(0,uT.jsx)(cb,{isPresent:t,childRef:o,sizeRef:i,children:Sh.cloneElement(e,{ref:l})})}var fT=({children:e,initial:t,isPresent:r,onExitComplete:a,custom:n,presenceAffectsLayout:o,mode:i,anchorX:s,root:l})=>{let u=Hs($W),d=(0,gd.useId)(),c=!0,f=(0,gd.useMemo)(()=>(c=!1,{id:d,initial:t,isPresent:r,custom:n,onExitComplete:p=>{u.set(p,!0);for(let v of u.values())if(!v)return;a&&a()},register:p=>(u.set(p,!1),()=>u.delete(p))}),[r,u,a]);return o&&c&&(f={...f}),(0,gd.useMemo)(()=>{u.forEach((p,v)=>u.set(v,!1))},[r]),dT.useEffect(()=>{!r&&!u.size&&a&&a()},[r]),i==="popLayout"&&(e=(0,db.jsx)(cT,{isPresent:r,anchorX:s,root:l,children:e})),(0,db.jsx)(lo.Provider,{value:f,children:e})};function $W(){return new Map}var go=D(K(),1);function Ch(e=!0){let t=(0,go.useContext)(lo);if(t===null)return[!0,null];let{isPresent:r,onExitComplete:a,register:n}=t,o=(0,go.useId)();(0,go.useEffect)(()=>{if(e)return n(o)},[e]);let i=(0,go.useCallback)(()=>e&&a&&a(o),[o,a,e]);return!r&&a?[!1,i]:[!0]}var Lh=D(K(),1),vd=e=>e.key||"";function fb(e){let t=[];return Lh.Children.forEach(e,r=>{(0,Lh.isValidElement)(r)&&t.push(r)}),t}var xd=({children:e,custom:t,initial:r=!0,onExitComplete:a,presenceAffectsLayout:n=!0,mode:o="sync",propagate:i=!1,anchorX:s="left",root:l})=>{let[u,d]=Ch(i),c=(0,Ua.useMemo)(()=>fb(e),[e]),f=i&&!u?[]:c.map(vd),p=(0,Ua.useRef)(!0),v=(0,Ua.useRef)(c),m=Hs(()=>new Map),[w,h]=(0,Ua.useState)(c),[g,y]=(0,Ua.useState)(c);Zm(()=>{p.current=!1,v.current=c;for(let b=0;b<g.length;b++){let C=vd(g[b]);f.includes(C)?m.delete(C):m.get(C)!==!0&&m.set(C,!1)}},[g,f.length,f.join("-")]);let S=[];if(c!==w){let b=[...c];for(let C=0;C<g.length;C++){let P=g[C],O=vd(P);f.includes(O)||(b.splice(C,0,P),S.push(P))}return o==="wait"&&S.length&&(b=S),y(fb(b)),h(c),null}let{forceRender:x}=(0,Ua.useContext)(zs);return(0,yd.jsx)(yd.Fragment,{children:g.map(b=>{let C=vd(b),P=i&&!u?!1:c===g||f.includes(C),O=()=>{if(m.has(C))m.set(C,!0);else return;let R=!0;m.forEach(N=>
16{N||(R=!1)}),R&&(x?.(),y(v.current),i&&d?.(),a&&a())};return(0,yd.jsx)(fT,{isPresent:P,initial:!p.current||r?void 0:!1,custom:t,presenceAffectsLayout:n,mode:o,root:l,onExitComplete:P?void 0:O,anchorX:s,children:b},C)})})};var pT=D(K(),1),Ih=(0,pT.createContext)({strict:!1});var mT={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]},bn={};for(let e in mT)bn[e]={isEnabled:t=>mT[e].some(r=>!!t[r])};function hT(e){for(let t in e)bn[t]={...bn[t],...e[t]}}var XW=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","ignoreStrict","viewport"]);function wd(e){return e.startsWith("while")||e.startsWith("drag")&&e!=="draggable"||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||XW.has(e)}var gT=e=>!wd(e);function KW(e){typeof e=="function"&&(gT=t=>t.startsWith("on")?!wd(t):e(t))}try{KW(fz("@emotion/is-prop-valid").default)}catch{}function vT(e,t,r){let a={};for(let n in e)n==="values"&&typeof e.values=="object"||(gT(n)||r===!0&&wd(n)||!t&&!wd(n)||e.draggable&&n.startsWith("onDrag"))&&(a[n]=e[n]);return a}var Fh=D(Me(),1);var cl=D(K(),1);var yT=D(K(),1),vo=(0,yT.createContext)({});var Ah=D(K(),1);function yo(e){return e!==null&&typeof e=="object"&&typeof e.start=="function"}function Sn(e){return typeof e=="string"||Array.isArray(e)}var Ph=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],bd=["initial",...Ph];function gi(e){return yo(e.animate)||bd.some(t=>Sn(e[t]))}function kh(e){return!!(gi(e)||e.variants)}function xT(e,t){if(gi(e)){let{initial:r,animate:a}=e;return{initial:r===!1||Sn(r)?r:void 0,animate:Sn(a)?a:void 0}}return e.inherit!==!1?t:{}}function bT(e){let{initial:t,animate:r}=xT(e,(0,Ah.useContext)(vo));return(0,Ah.useMemo)(()=>({initial:t,animate:r}),[wT(t),wT(r)])}function wT(e){return Array.isArray(e)?e.join(" "):e}var ol=D(K(),1);var LT=D(K(),1);var vi={};function ST(e){for(let t in e)vi[t]=e[t],ii(t)&&(vi[t].isCSSVariable=!0)}function Th(e,{layout:t,layoutId:r}){return wr.has(e)||e.startsWith("origin")||(t||r!==void 0)&&(!!vi[e]||e==="opacity")}var YW={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},QW=ma.length;function CT(e,t,r){let a="",n=!0;for(let o=0;o<QW;o++){let i=ma[o],s=e[i];if(s===void 0)continue;let l=!0;if(typeof s=="number"?l=s===(i.startsWith("scale")?1:0):l=parseFloat(s)===0,!l||r){let u=pd(s,pi[i]);if(!l){n=!1;let d=YW[i]||i;a+=`${d}(${u}) `}r&&(t[i]=u)}}return a=a.trim(),r?a=r(t,n?"":a):n&&(a="none"),a}function rl(e,t,r){let{style:a,vars:n,transformOrigin:o}=e,i=!1,s=!1;for(let l in t){let u=t[l];if(wr.has(l)){i=!0;continue}else if(ii(l)){n[l]=u;continue}else{let d=pd(u,pi[l]);l.startsWith("origin")?(s=!0,o[l]=d):a[l]=d}}if(t.transform||(i||r?a.transform=CT(t,e.transform,r):a.transform&&(a.transform="none")),s){let{originX:l="50%",originY:u="50%",originZ:d=0}=o;a.transformOrigin=`${l} ${u} ${d}`}}var al=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function pb(e,t,r){for(let a in t)!Ae(t[a])&&!Th(a,r)&&(e[a]=t[a])}function ZW({transformTemplate:e},t){return(0,LT.useMemo)(()=>{let r=al();return rl(r,t,e),Object.assign({},r.vars,r.style)},[t])}function JW(e,t){let r=e.style||{},a={};return pb(a,r,e),Object.assign(a,ZW(e,t)),a}function IT(e,t){let r={},a=JW(e,t);return e.drag&&e.dragListener!==!1&&(r.draggable=!1,a.userSelect=a.WebkitUserSelect=a.WebkitTouchCallout="none",a.touchAction=e.drag===!0?"none":`pan-${e.drag==="x"?"y":"x"}
16`),e.tabIndex===void 0&&(e.onTap||e.onTapStart||e.whileTap)&&(r.tabIndex=0),r.style=a,r}var kT=D(K(),1);var e9={offset:"stroke-dashoffset",array:"stroke-dasharray"},t9={offset:"strokeDashoffset",array:"strokeDasharray"};function PT(e,t,r=1,a=0,n=!0){e.pathLength=1;let o=n?e9:t9;e[o.offset]=ne.transform(-a);let i=ne.transform(t),s=ne.transform(r);e[o.array]=`${i} ${s}`}function Eh(e,{attrX:t,attrY:r,attrScale:a,pathLength:n,pathSpacing:o=1,pathOffset:i=0,...s},l,u,d){if(rl(e,s,u),l){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};let{attrs:c,style:f}=e;c.transform&&(f.transform=c.transform,delete c.transform),(f.transform||c.transformOrigin)&&(f.transformOrigin=c.transformOrigin??"50% 50%",delete c.transformOrigin),f.transform&&(f.transformBox=d?.transformBox??"fill-box",delete c.transformBox),t!==void 0&&(c.x=t),r!==void 0&&(c.y=r),a!==void 0&&(c.scale=a),n!==void 0&&PT(c,n,o,i,!1)}var Oh=()=>({...al(),attrs:{}});var Mh=e=>typeof e=="string"&&e.toLowerCase()==="svg";function AT(e,t,r,a){let n=(0,kT.useMemo)(()=>{let o=Oh();return Eh(o,t,Mh(a),e.transformTemplate,e.style),{...o.attrs,style:{...o.style}}},[t]);if(e.style){let o={};pb(o,e.style,e),n.style={...o,...n.style}}return n}var TT=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","switch","symbol","svg","text","tspan","use","view"];function nl(e){return typeof e!="string"||e.includes("-")?!1:!!(TT.indexOf(e)>-1||/[A-Z]/u.test(e))}function ET(e,t,r,{latestValues:a},n,o=!1){let s=(nl(e)?AT:IT)(t,a,n,e),l=vT(t,typeof e=="string",o),u=e!==ol.Fragment?{...l,...s,ref:r}:{},{children:d}=t,c=(0,ol.useMemo)(()=>Ae(d)?d.get():d,[d]);return(0,ol.createElement)(e,{...u,children:c})}var mb=D(K(),1);function OT(e){let t=[{},{}];return e?.values.forEach((r,a)=>{t[0][a]=r.get(),t[1][a]=r.getVelocity()}),t}function il(e,t,r,a){if(typeof t=="function"){let[n,o]=OT(a);t=t(r!==void 0?r:e.custom,n,o)}if(typeof t=="string"&&(t=e.variants&&e.variants[t]),typeof t=="function"){let[n,o]=OT(a);t=t(r!==void 0?r:e.custom,n,o)}return t}function sl(e){return Ae(e)?e.get():e}function r9({scrapeMotionValuesFromProps:e,createRenderState:t},r,a,n){return{latestValues:a9(r,a,n,e),renderState:t()}}function a9(e,t,r,a){let n={},o=a(e,{});for(let f in o)n[f]=sl(o[f]);let{initial:i,animate:s}=e,l=gi(e),u=kh(e);t&&u&&!l&&e.inherit!==!1&&(i===void 0&&(i=t.initial),s===void 0&&(s=t.animate));let d=r?r.initial===!1:!1;d=d||i===!1;let c=d?s:i;if(c&&typeof c!="boolean"&&!yo(c)){let f=Array.isArray(c)?c:[c];for(let p=0;p<f.length;p++){let v=il(e,f[p]);if(v){let{transitionEnd:m,transition:w,...h}=v;for(let g in h){let y=h[g];if(Array.isArray(y)){let S=d?y.length-1:0;y=y[S]}y!==null&&(n[g]=y)}for(let g in m)n[g]=m[g]}}}return n}var Rh=e=>(t,r)=>{let a=(0,mb.useContext)(vo),n=(0,mb.useContext)(lo),o=()=>r9(e,t,a,n);return r?o():Hs(o)};function ll(e,t,r){let{style:a}=e,n={};for(let o in a)(Ae(a[o])||t.style&&Ae(t.style[o])||Th(o,e)||r?.getValue(o)?.liveStyle!==void 0)&&(n[o]=a[o]);return n}var MT=Rh({scrapeMotionValuesFromProps:ll,createRenderState:al});function Dh(e,t,r){let a=ll(e,t,r);for(let n in e)if(Ae(e[n])||Ae(t[n])){let o=ma.indexOf(n)!==-1?"attr"+n.charAt(0).toUpperCase()+n.substring(1):n;a[o]=e[n]}return a}var RT=Rh({scrapeMotionValuesFromProps:Dh,createRenderState:Oh});var DT=Symbol.for("motionComponentSymbol");var _T=D(K(),1);function Cn(e){return e&&typeof e=="object"&&Object.prototype.hasOwnProperty.call(e,"current")}function NT(e,t,r){return(0,_T.useCallback)(a=>{a&&e.onMount&&e.onMount(a),t&&(a?t.mount(a):t.unmount()),r&&(typeof r=="function"?r(a):Cn(r)&&(r.current=a))},[t])}var lr=D(K(),1);var ul=e=>e.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase();var n9="framerAppearId",_h="data-"+ul(n9);var FT=D(K(),1),Nh=(0,FT.createContext)({});function BT(e,t,r,a,n){let{visualElement:o}=(0,lr.useContext)(vo),i=(0,lr.useContext)(Ih),s=(0,lr.useContext)(lo),l=(0,lr.useContext)(tl).reducedMotion,u=(0,lr.useRef)(null);a=a||i.renderer,!u.current&&a&&(u.current=a(e,{visualState:t,parent:o,props:r,presenceContext:s,blockInitialAnimation:s?s.initial===!1:!1,reducedMotionConfig:l}));let d=u.current,c=(0,lr.useContext)(Nh);d&&!d.projection&&n&&(d.type==="html"||d.type==="svg")&&o9(u.current,r,n,c);let f=(0,lr.useRef)(!1);(0,lr.useInsertionEffect)(()=>{d&&f.current&&d.update(r,s)});let p=r[_h],v=(0,lr.useRef)(!!p&&!window.MotionHandoffIsComplete?.(p)&&window.MotionHasOptimisedAnimation?.(p));return Zm(()=>{d&&(f.current=!0,window.MotionIsMounted=!0,d.updateFeatures(),d.scheduleRenderMicrotask(),v.current&&d.animationState&&d.animationState.animateChanges())}),(0,lr.useEffect)(()=>{d&&(!v.current&&d.animationState&&d.animationState.animateChanges(),v.current&&(queueMicrotask(()=>{window.MotionHandoffMarkAsComplete?.(p)}),v.current=!1),d.enteringChildren=void 0)}),d}function o9(e,t,r,a){let{layoutId:n,layout:o,drag:i,dragConstraints:s,layoutScroll:l,layoutRoot:u,layoutCrossfade:d}=t;e.projection=new r(e.latestValues,t["data-framer-portal-id"]?void 0:jT(e.parent)),e.projection.setOptions({layoutId:n,layout:o,alwaysMeasureLayout:!!i||s&&Cn(s),visualElement:e,animationType:typeof o=="str
16ing"?o:"both",initialPromotionConfig:a,crossfade:d,layoutScroll:l,layoutRoot:u})}function jT(e){if(e)return e.options.allowProjection!==!1?e.projection:jT(e.parent)}function Bh(e,{forwardMotionProps:t=!1}={},r,a){r&&hT(r);let n=nl(e)?RT:MT;function o(s,l){let u,d={...(0,cl.useContext)(tl),...s,layoutId:i9(s)},{isStatic:c}=d,f=bT(s),p=n(s,c);if(!c&&Ws){s9(d,r);let v=l9(d);u=v.MeasureLayout,f.visualElement=BT(e,p,d,a,v.ProjectionNode)}return(0,Fh.jsxs)(vo.Provider,{value:f,children:[u&&f.visualElement?(0,Fh.jsx)(u,{visualElement:f.visualElement,...d}):null,ET(e,s,NT(p,f.visualElement,l),p,c,t)]})}o.displayName=`motion.${typeof e=="string"?e:`create(${e.displayName??e.name??""})`}`;let i=(0,cl.forwardRef)(o);return i[DT]=e,i}function i9({layoutId:e}){let t=(0,cl.useContext)(zs).id;return t&&e!==void 0?t+"-"+e:e}function s9(e,t){let r=(0,cl.useContext)(Ih).strict}function l9(e){let{drag:t,layout:r}=bn;if(!t&&!r)return{};let a={...t,...r};return{MeasureLayout:t?.isEnabled(e)||r?.isEnabled(e)?a.MeasureLayout:void 0,ProjectionNode:a.ProjectionNode}}function UT(e,t){if(typeof Proxy>"u")return Bh;let r=new Map,a=(o,i)=>Bh(o,i,e,t),n=(o,i)=>a(o,i);return new Proxy(n,{get:(o,i)=>i==="create"?a:(r.has(i)||r.set(i,Bh(i,void 0,e,t)),r.get(i))})}var aE=D(K(),1);function jh({top:e,left:t,right:r,bottom:a}){return{x:{min:t,max:r},y:{min:e,max:a}}}function VT({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}function qT(e,t){if(!t)return e;let r=t({x:e.left,y:e.top}),a=t({x:e.right,y:e.bottom});return{top:r.y,left:r.x,bottom:a.y,right:a.x}}function hb(e){return e===void 0||e===1}function Uh({scale:e,scaleX:t,scaleY:r}){return!hb(e)||!hb(t)||!hb(r)}function Ln(e){return Uh(e)||gb(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function gb(e){return zT(e.x)||zT(e.y)}function zT(e){return e&&e!=="0%"}function Sd(e,t,r){let a=e-r,n=t*a;return r+n}function HT(e,t,r,a,n){return n!==void 0&&(e=Sd(e,n,a)),Sd(e,r,a)+t}function vb(e,t=0,r=1,a,n){e.min=HT(e.min,t,r,a,n),e.max=HT(e.max,t,r,a,n)}function yb(e,{x:t,y:r}){vb(e.x,t.translate,t.scale,t.originPoint),vb(e.y,r.translate,r.scale,r.originPoint)}var WT=.999999999999,GT=1.0000000000001;function XT(e,t,r,a=!1){let n=r.length;if(!n)return;t.x=t.y=1;let o,i;for(let s=0;s<n;s++){o=r[s],i=o.projectionDelta;let{visualElement:l}=o.options;l&&l.props.style&&l.props.style.display==="contents"||(a&&o.options.layoutScroll&&o.scroll&&o!==o.root&&yi(e,{x:-o.scroll.offset.x,y:-o.scroll.offset.y}),i&&(t.x*=i.x.scale,t.y*=i.y.scale,yb(e,i)),a&&Ln(o.latestValues)&&yi(e,o.latestValues))}t.x<GT&&t.x>WT&&(t.x=1),t.y<GT&&t.y>WT&&(t.y=1)}function xo(e,t){e.min=e.min+t,e.max=e.max+t}function $T(e,t,r,a,n=.5){let o=pe(e.min,e.max,n);vb(e,t,r,o,a)}function yi(e,t){$T(e.x,t.x,t.scaleX,t.scale,t.originX),$T(e.y,t.y,t.scaleY,t.scale,t.originY)}function xb(e,t){return jh(qT(e.getBoundingClientRect(),t))}function KT(e,t,r){let a=xb(e,r),{scroll:n}=t;return n&&(xo(a.x,n.offset.x),xo(a.y,n.offset.y)),a}var YT=()=>({translate:0,scale:1,origin:0,originPoint:0}),xi=()=>({x:YT(),y:YT()}),QT=()=>({min:0,max:0}),Be=()=>({x:QT(),y:QT()});var Cd={current:null},Vh={current:!1};function ZT(){if(Vh.current=!0,!!Ws)if(window.matchMedia){let e=window.matchMedia("(prefers-reduced-motion)"),t=()=>Cd.current=e.matches;e.addEventListener("change",t),t()}else Cd.current=!1}var JT=new WeakMap;function eE(e,t,r){for(let a in t){let n=t[a],o=r[a];if(Ae(n))e.addValue(a,n);else if(Ae(o))e.addValue(a,Ur(n,{owner:e}));else if(o!==n)if(e.hasValue(a)){let i=e.getValue(a);i.liveStyle===!0?i.jump(n):i.hasAnimated||i.set(n)}else{let i=e.getStaticValue(a);e.addValue(a,Ur(i!==void 0?i:n,{owner:e}))}}for(let a in r)t[a]===void 0&&e.removeValue(a);return t}var tE=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"],qh=class{scrapeMotionValuesFromProps(t,r,a){return{}}constructor({parent:t,props:r,presenceContext:a,reducedMotionConfig:n,blockInitialAnimation:o,visualState:i},s={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=xn,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{let f=tt.now();this.renderScheduledAt<f&&(this.renderScheduledAt=f,de.render(this.render,!1,!0))};let{latestValues:l,renderState:u}=i;this.latestValues=l,this.baseTarget={...l},this.initialValues=r.initial?{...l}:{},this.renderState=u,this.parent=t,this.props=r,this.presenceContext=a,this.depth=t?t.depth+1:0,this.reducedMotionConfig=n,this.options=s,this.blockInitialAnimation=!!o,this.isControllingVariants=gi(r),this.isVariantNode=kh(r),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(t&&t.current);let{willChange:d,...c}=this.scrapeMotionValuesFromProps(r,{},this);for(let f in c){let p=c[f];l[f]!==void 0&&Ae(p)&&p.set(l[f])}}mount(t){this.current=t,JT.set(t,this),this.projection&&!this.projection.instance&&this.projection.mount(t),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEac
16h((r,a)=>this.bindToMotionValue(a,r)),Vh.current||ZT(),this.shouldReduceMotion=this.reducedMotionConfig==="never"?!1:this.reducedMotionConfig==="always"?!0:Cd.current,this.parent?.addChild(this),this.update(this.props,this.presenceContext)}unmount(){this.projection&&this.projection.unmount(),sr(this.notifyUpdate),sr(this.render),this.valueSubscriptions.forEach(t=>t()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent?.removeChild(this);for(let t in this.events)this.events[t].clear();for(let t in this.features){let r=this.features[t];r&&(r.unmount(),r.isMounted=!1)}this.current=null}addChild(t){this.children.add(t),this.enteringChildren??(this.enteringChildren=new Set),this.enteringChildren.add(t)}removeChild(t){this.children.delete(t),this.enteringChildren&&this.enteringChildren.delete(t)}bindToMotionValue(t,r){this.valueSubscriptions.has(t)&&this.valueSubscriptions.get(t)();let a=wr.has(t);a&&this.onBindTransform&&this.onBindTransform();let n=r.on("change",i=>{this.latestValues[t]=i,this.props.onUpdate&&de.preRender(this.notifyUpdate),a&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()}),o;window.MotionCheckAppearSync&&(o=window.MotionCheckAppearSync(this,t,r)),this.valueSubscriptions.set(t,()=>{n(),o&&o(),r.owner&&r.stop()})}sortNodePosition(t){return!this.current||!this.sortInstanceNodePosition||this.type!==t.type?0:this.sortInstanceNodePosition(this.current,t.current)}updateFeatures(){let t="animation";for(t in bn){let r=bn[t];if(!r)continue;let{isEnabled:a,Feature:n}=r;if(!this.features[t]&&n&&a(this.props)&&(this.features[t]=new n(this)),this.features[t]){let o=this.features[t];o.isMounted?o.update():(o.mount(),o.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):Be()}getStaticValue(t){return this.latestValues[t]}setStaticValue(t,r){this.latestValues[t]=r}update(t,r){(t.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=t,this.prevPresenceContext=this.presenceContext,this.presenceContext=r;for(let a=0;a<tE.length;a++){let n=tE[a];this.propEventSubscriptions[n]&&(this.propEventSubscriptions[n](),delete this.propEventSubscriptions[n]);let o="on"+n,i=t[o];i&&(this.propEventSubscriptions[n]=this.on(n,i))}this.prevMotionValues=eE(this,this.scrapeMotionValuesFromProps(t,this.prevProps,this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(t){return this.props.variants?this.props.variants[t]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}addVariantChild(t){let r=this.getClosestVariantNode();if(r)return r.variantChildren&&r.variantChildren.add(t),()=>r.variantChildren.delete(t)}addValue(t,r){let a=this.values.get(t);r!==a&&(a&&this.removeValue(t),this.bindToMotionValue(t,r),this.values.set(t,r),this.latestValues[t]=r.get())}removeValue(t){this.values.delete(t);let r=this.valueSubscriptions.get(t);r&&(r(),this.valueSubscriptions.delete(t)),delete this.latestValues[t],this.removeValueFromRenderState(t,this.renderState)}hasValue(t){return this.values.has(t)}getValue(t,r){if(this.props.values&&this.props.values[t])return this.props.values[t];let a=this.values.get(t);return a===void 0&&r!==void 0&&(a=Ur(r===null?void 0:r,{owner:this}),this.addValue(t,a)),a}readValue(t,r){let a=this.latestValues[t]!==void 0||!this.current?this.latestValues[t]:this.getBaseTargetFromProps(this.props,t)??this.readValueFromInstance(this.current,t,this.options);return a!=null&&(typeof a=="string"&&(qc(a)||Hc(a))?a=parseFloat(a):!ub(a)&&Vt.test(r)&&(a=dd(t,r)),this.setBaseTarget(t,Ae(a)?a.get():a)),Ae(a)?a.get():a}setBaseTarget(t,r){this.baseTarget[t]=r}getBaseTarget(t){let{initial:r}=this.props,a;if(typeof r=="string"||typeof r=="object"){let o=il(this.props,r,this.presenceContext?.custom);o&&(a=o[t])}if(r&&a!==void 0)return a;let n=this.getBaseTargetFromProps(this.props,t);return n!==void 0&&!Ae(n)?n:this.initialValues[t]!==void 0&&a===void 0?void 0:this.baseTarget[t]}on(t,r){return this.events[t]||(this.events[t]=new gn),this.events[t].add(r)}notify(t,...r){this.events[t]&&this.events[t].notify(...r)}scheduleRenderMicrotask(){mi.render(this.render)}};var dl=class extends qh{constructor(){super(...arguments),this.KeyframeResolver=fd}sortInstanceNodePosition(t,r){return t.compareDocumentPosition(r)&2?1:-1}getBaseTargetFromProps(t,r){return t.style?t.style[r]:void 0}removeValueFromRenderState(t,{vars:r,style:a}){delete r[t],delete a[t]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);let{children:t}=this.props;Ae(t)&&(this.childSubscription=t.on("change",r=>{this.current&&(this.current.textContent=`${r}`)}))}};function zh(e,{style:t,vars:r},a,n){let o=e.style,i;for(i in t)o[i]=t[i];n?.applyProjectionStyles(o,a);for(i in r)o.setProperty(i,r[i])}function u9(e){return window.getComputedStyle(e)}var Hh=class extends dl{constructor(){super(...arguments),this.type="html",this.renderInstance=zh}readValueFromInstance(t,r){if(wr.has(r))return this.projection?.isProjecting?od(r):zw(t,r);{let a=u9(t),n=(ii(r)?a.getPropertyValue(r):a[r])||0;return typeof n=="string"?n.trim():n}}measureInstanceViewportBox(t,{transformPagePoint:r}){return xb(t,r)}build(t,r,a){rl(t,r,a.transformTemplate)}scrapeMotionValuesFromProps(t,r,a){return ll(t,r,a)}};var Wh=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"]);function rE(e,t,r,a){zh(e,t,void 0,a);for(let n in t.attrs)e.setAttribute(Wh.has(n)?n:ul(n),t.attrs[n])}var Gh=class extends dl{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=Be}getBaseTargetFromProps(t,r){return t[r]}readValueFromInstance(t,r){if(wr.has(r)){let a=cd(r);return a&&a.default||0}return r=Wh.has(r)?r:ul(r),t.getAttribute(r)}scrapeMotionValuesFromProps(t,r,a){return Dh(t,r,a)}build(t,r,a){Eh(t,r,this.isSVGTag,a.transformTemplate,a.style)}renderInstance(t,r,a,n){rE(t,r,a,n)}mount(t){this.isSVGTag=Mh(t.tagName),super.mount(t)}};var nE=(e,t)=>nl(e)?new Gh(t):new Hh(t,{allowProjection:e!==aE.Fragment});function Va(e,t,r){let a=e.getProps();return il(a,t,r!==void 0?r:a.custom,e)}var Ld=e=>Array.isArray(e);function c9(e,t,r){e.hasValue(t)?e.getValue(t).set(r):e.addValue(t,Ur(r))}function d9(e){return Ld(e)?e[e.length-1]||0:e}function oE(e,t){let r=Va(e,t),{transitionEnd:a={},transition:n={},...o}=r||{};o={...o,...a};for(let i in o){let s=d9(o[i]);c9(e,i,s)}}function iE(e){return!!(Ae(e)&&e.add)}function Id(e,t){let r=e.getValue("willChange");if(iE(r))return r.add(t);if(!r&&jt.WillChange){let a=new jt.WillChange("auto");e.addValue("willChange",a),a.add(t)}}function $h(e){return e.props[_h]}var f9=e=>e!==null;function sE(e,{repeat:t,repeatType:r="loop"},a){let n=e.filter(f9),o=t&&r!=="loop"&&t%2===1?0:n.length-1;return!o||a===void 0?n[o]:a}var p9={type:"spring",stiffness:500,damping:25,restSpeed:10},m9=e=>({type:"spring",stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}),h9={type:"keyframes",duration:.8},g9={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},lE=(e,{keyframes:t})=>t.length>2?h9:wr.has(e)?e.startsWith("scale")?m9(t[1]):p9:g9;function uE({when:e,delay:t,delayChildren:r,staggerChildren:a,staggerDirection:n,repeat:o,repeatType:i,repeatDelay:s,from:l,elapsed:u,...d}){return!!Object.keys(d).length}var fl=(e,t,r,a={},n,o)=>i=>{let s=fi(a,e)||{},l=s.delay||a.delay||0,{elapsed:u=0}=a;u=u-ht(l);let d={keyframes:Array.isArray(r)?r:[null,r],ease:"easeOut",velocity:t.getVelocity(),...s,delay:-u,onUpdate:f=>
16{t.set(f),s.onUpdate&&s.onUpdate(f)},onComplete:()=>{i(),s.onComplete&&s.onComplete()},name:e,motionValue:t,element:o?void 0:n};uE(s)||Object.assign(d,lE(e,d)),d.duration&&(d.duration=ht(d.duration)),d.repeatDelay&&(d.repeatDelay=ht(d.repeatDelay)),d.from!==void 0&&(d.keyframes[0]=d.from);let c=!1;if((d.type===!1||d.duration===0&&!d.repeatDelay)&&(Js(d),d.delay===0&&(c=!0)),(jt.instantAnimations||jt.skipAnimations)&&(c=!0,Js(d),d.delay=0),d.allowFlatten=!s.type&&!s.ease,c&&!o&&t.get()!==void 0){let f=sE(d.keyframes,s);if(f!==void 0){de.update(()=>{d.onUpdate(f),d.onComplete()});return}}return s.isSync?new yn(d):new sd(d)};function v9({protectedKeys:e,needsAnimating:t},r){let a=e.hasOwnProperty(r)&&t[r]!==!0;return t[r]=!1,a}function Xh(e,t,{delay:r=0,transitionOverride:a,type:n}={}){let{transition:o=e.getDefaultTransition(),transitionEnd:i,...s}=t;a&&(o=a);let l=[],u=n&&e.animationState&&e.animationState.getState()[n];for(let d in s){let c=e.getValue(d,e.latestValues[d]??null),f=s[d];if(f===void 0||u&&v9(u,d))continue;let p={delay:r,...fi(o||{},d)},v=c.get();if(v!==void 0&&!c.isAnimating&&!Array.isArray(f)&&f===v&&!p.velocity)continue;let m=!1;if(window.MotionHandoffAnimation){let h=$h(e);if(h){let g=window.MotionHandoffAnimation(h,d,de);g!==null&&(p.startTime=g,m=!0)}}Id(e,d),c.start(fl(d,c,f,e.shouldReduceMotion&&ld.has(d)?{type:!1}:p,e,m));let w=c.animation;w&&l.push(w)}return i&&Promise.all(l).then(()=>{de.update(()=>{i&&oE(e,i)})}),l}function Kh(e,t,r,a=0,n=1){let o=Array.from(e).sort((u,d)=>u.sortNodePosition(d)).indexOf(t),i=e.size,s=(i-1)*a;return typeof r=="function"?r(o,i):n===1?o*a:s-o*a}function Yh(e,t,r={}){let a=Va(e,t,r.type==="exit"?e.presenceContext?.custom:void 0),{transition:n=e.getDefaultTransition()||{}}=a||{};r.transitionOverride&&(n=r.transitionOverride);let o=a?()=>Promise.all(Xh(e,a,r)):()=>Promise.resolve(),i=e.variantChildren&&e.variantChildren.size?(l=0)=>{let{delayChildren:u=0,staggerChildren:d,staggerDirection:c}=n;return y9(e,t,l,u,d,c,r)}:()=>Promise.resolve(),{when:s}=n;if(s){let[l,u]=s==="beforeChildren"?[o,i]:[i,o];return l().then(()=>u())}else return Promise.all([o(),i(r.delay)])}function y9(e,t,r=0,a=0,n=0,o=1,i){let s=[];for(let l of e.variantChildren)l.notify("AnimationStart",t),s.push(Yh(l,t,{...i,delay:r+(typeof a=="function"?0:a)+Kh(e.variantChildren,l,a,n,o)}).then(()=>l.notify("AnimationComplete",t)));return Promise.all(s)}function cE(e,t,r={}){e.notify("AnimationStart",t);let a;if(Array.isArray(t)){let n=t.map(o=>Yh(e,o,r));a=Promise.all(n)}else if(typeof t=="string")a=Yh(e,t,r);else{let n=typeof t=="function"?Va(e,t,r.custom):t;a=Promise.all(Xh(e,n,r))}return a.then(()=>{e.notify("AnimationComplete",t)})}function wb(e,t){if(!Array.isArray(t))return!1;let r=t.length;if(r!==e.length)return!1;for(let a=0;a<r;a++)if(t[a]!==e[a])return!1;return!0}var x9=bd.length;function bb(e){if(!e)return;if(!e.isControllingVariants){let r=e.parent?bb(e.parent)||{}:{};return e.props.initial!==void 0&&(r.initial=e.props.initial),r}let t={};for(let r=0;r<x9;r++){let a=bd[r],n=e.props[a];(Sn(n)||n===!1)&&(t[a]=n)}return t}var w9=[...Ph].reverse(),b9=Ph.length;function S9(e){return t=>Promise.all(t.map(({animation:r,options:a})=>cE(e,r,a)))}function fE(e){let t=S9(e),r=dE(),a=!0,n=l=>(u,d)=>{let c=Va(e,d,l==="exit"?e.presenceContext?.custom:void 0);if(c){let{transition:f,transitionEnd:p,...v}=c;u={...u,...v,...p}}return u};function o(l){t=l(e)}function i(l){let{props:u}=e,d=bb(e.parent)||{},c=[],f=new Set,p={},v=1/0;for(let w=0;w<b9;w++){let h=w9[w],g=r[h],y=u[h]!==void 0?u[h]:d[h],S=Sn(y),x=h===l?g.isActive:null;x===!1&&(v=w);let b=y===d[h]&&y!==u[h]&&S;if(b&&a&&e.manuallyAnimateOnMount&&(b=!1),g.protectedKeys={...p},!g.isActive&&x===null||!y&&!g.prevProp||yo(y)||typeof y=="boolean")continue;let C=C9(g.prevProp,y),P=C||h===l&&g.isActive&&!b&&S||w>v&&S,O=!1,R=Array.isArray(y)?y:[y],N=R.reduce(n(h),{});x===!1&&(N={});let{prevResolvedValues:F={}}=g,q={...F,...N},H=I=>{P=!0,f.has(I)&&(O=!0,f.delete(I)),g.needsAnimating[I]=!0;let A=e.getValue(I);A&&(A.liveStyle=!1)};for(let I in q){let A=N[I],k=F[I];if(p.hasOwnProperty(I))continue;let E=!1;Ld(A)&&Ld(k)?E=!wb(A,k):E=A!==k,E?A!=null?H(I):f.add(I):A!==void 0&&f.has(I)?H(I):g.protectedKeys[I]=!0}g.prevProp=y,g.prevResolvedValues=N,g.isActive&&(p={...p,...N}),a&&e.blockInitialAnimation&&(P=!1);let z=b&&C;P&&(!z||O)&&c.push(...R.map(I=>{let A={type:h};
16if(typeof I=="string"&&a&&!z&&e.manuallyAnimateOnMount&&e.parent){let{parent:k}=e,E=Va(k,I);if(k.enteringChildren&&E){let{delayChildren:T}=E.transition||{};A.delay=Kh(k.enteringChildren,e,T)}}return{animation:I,options:A}}))}if(f.size){let w={};if(typeof u.initial!="boolean"){let h=Va(e,Array.isArray(u.initial)?u.initial[0]:u.initial);h&&h.transition&&(w.transition=h.transition)}f.forEach(h=>{let g=e.getBaseTarget(h),y=e.getValue(h);y&&(y.liveStyle=!0),w[h]=g??null}),c.push({animation:w})}let m=!!c.length;return a&&(u.initial===!1||u.initial===u.animate)&&!e.manuallyAnimateOnMount&&(m=!1),a=!1,m?t(c):Promise.resolve()}function s(l,u){if(r[l].isActive===u)return Promise.resolve();e.variantChildren?.forEach(c=>c.animationState?.setActive(l,u)),r[l].isActive=u;let d=i(l);for(let c in r)r[c].protectedKeys={};return d}return{animateChanges:i,setActive:s,setAnimateFunction:o,getState:()=>r,reset:()=>{r=dE(),a=!0}}}function C9(e,t){return typeof t=="string"?t!==e:Array.isArray(t)?!wb(t,e):!1}function wi(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function dE(){return{animate:wi(!0),whileInView:wi(),whileHover:wi(),whileTap:wi(),whileDrag:wi(),whileFocus:wi(),exit:wi()}}var Pt=class{constructor(t){this.isMounted=!1,this.node=t}update(){}};var Qh=class extends Pt{constructor(t){super(t),t.animationState||(t.animationState=fE(t))}updateAnimationControlsSubscription(){let{animate:t}=this.node.getProps();yo(t)&&(this.unmountControls=t.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){let{animate:t}=this.node.getProps(),{animate:r}=this.node.prevProps||{};t!==r&&this.updateAnimationControlsSubscription()}unmount(){this.node.animationState.reset(),this.unmountControls?.()}};var L9=0,Zh=class extends Pt{constructor(){super(...arguments),this.id=L9++}update(){if(!this.node.presenceContext)return;let{isPresent:t,onExitComplete:r}=this.node.presenceContext,{isPresent:a}=this.node.prevPresenceContext||{};if(!this.node.animationState||t===a)return;let n=this.node.animationState.setActive("exit",!t);r&&!t&&n.then(()=>{r(this.id)})}mount(){let{register:t,onExitComplete:r}=this.node.presenceContext||{};r&&r(this.id),t&&(this.unmount=t(this.id))}unmount(){}};var pE={animation:{Feature:Qh},exit:{Feature:Zh}};function In(e,t,r,a={passive:!0}){return e.addEventListener(t,r,a),()=>e.removeEventListener(t,r)}function Pn(e){return{point:{x:e.pageX,y:e.pageY}}}var mE=e=>t=>hi(t)&&e(t,Pn(t));function wo(e,t,r,a){return In(e,t,mE(r),a)}var yE=1e-4,I9=1-yE,P9=1+yE,xE=.01,k9=0-xE,A9=0+xE;function vt(e){return e.max-e.min}function wE(e,t,r){return Math.abs(e-t)<=r}function hE(e,t,r,a=.5){e.origin=a,e.originPoint=pe(t.min,t.max,e.origin),e.scale=vt(r)/vt(t),e.translate=pe(r.min,r.max,e.origin)-e.originPoint,(e.scale>=I9&&e.scale<=P9||isNaN(e.scale))&&(e.scale=1),(e.translate>=k9&&e.translate<=A9||isNaN(e.translate))&&(e.translate=0)}function pl(e,t,r,a){hE(e.x,t.x,r.x,a?a.originX:void 0),hE(e.y,t.y,r.y,a?a.originY:void 0)}function gE(e,t,r){e.min=r.min+t.min,e.max=e.min+vt(t)}function bE(e,t,r){gE(e.x,t.x,r.x),gE(e.y,t.y,r.y)}function vE(e,t,r){e.min=t.min-r.min,e.max=e.min+vt(t)}function ml(e,t,r){vE(e.x,t.x,r.x),vE(e.y,t.y,r.y)}function ur(e){return[e("x"),e("y")]}var Jh=({current:e})=>e?e.ownerDocument.defaultView:null;var SE=(e,t)=>Math.abs(e-t);function CE(e,t){let r=SE(e.x,t.x),a=SE(e.y,t.y);return Math.sqrt(r**2+a**2)}var hl=class{constructor(t,r,{transformPagePoint:a,contextWindow:n=window,dragSnapToOrigin:o=!1,distanceThreshold:i=3}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let f=Cb(this.lastMoveEventInfo,this.history),p=this.startEvent!==null,v=CE(f.offset,{x:0,y:0})>=this.distanceThreshold;if(!p&&!v)return;let{point:m}=f,{timestamp:w}=et;this.history.push({...m,timestamp:w});let{onStart:h,onMove:g}=this.handlers;p||(h&&h(this.lastMoveEvent,f),this.startEvent=this.lastMoveEvent),g&&g(this.lastMoveEvent,f)},this.handlePointerMove=(f,p)=>{this.lastMoveEvent=f,this.lastMoveEventInfo=Sb(p,this.transformPagePoint),de.update(this.updatePoint,!0)},this.handlePointerUp=(f,p)=>{this.end();let{onEnd:v,onSessionEnd:m,resumeAnimation:w}=this.handlers;if(this.dragSnapToOrigin&&w&&w(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let h=Cb(f.type==="pointercancel"?this.lastMoveEventInfo:Sb(p,this.transformPagePoint),this.history);this.startEvent&&v&&v(f,h),m&&m(f,h)},!hi(t))return;this.dragSnapToOrigin=o,this.handlers=r,this.transformPagePoint=a,this.distanceThreshold=i,this.contextWindow=n||window;let s=Pn(t),l=Sb(s,this.transformPagePoint),{point:u}=l,{timestamp:d}=et;this.history=[{...u,timestamp:d}];let{onSessionStart:c}=r;c&&c(t,Cb(l,this.history)),this.removeListeners=da(wo(this.contextWindow,"pointermove",this.handlePointerMove),wo(this.contextWindow,"pointerup",this.handlePointerUp),wo(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),sr(this.updatePoint)}};function Sb(e,t){return t?{point:t(e.point)}:e}function LE(e,t){return{x:e.x-t.x,y:e.y-t.y}}function Cb({point:e},t){return{point:e,delta:LE(e,IE(t)),offset:LE(e,T9(t)),velocity:E9(t,.1)}}function T9(e){return e[0]}function IE(e){return e[e.length-1]}function E9(e,t){if(e.length<2)return{x:0,y:0};let r=e.length-1,a=null,n=IE(e);for(;r>=0&&(a=e[r],!(n.timestamp-a.timestamp>ht(t)));)r--;if(!a)return{x:0,y:0};let o=gt(n.timestamp-a.timestamp);if(o===0)return{x:0,y:0};let i={x:(n.x-a.x)/o,y:(n.y-a.y)/o};return i.x===1/0&&(i.x=0),i.y===1/0&&(i.y=0),i}function EE(e,{min:t,max:r},a){return t!==void 0&&e<t?e=a?pe(t,e,a.min):Math.max(e,t):r!==void 0&&e>
vendor: 14,542 bytes, line 16
16r&&(e=a?pe(r,e,a.max):Math.min(e,r)),e}function PE(e,t,r){return{min:t!==void 0?e.min+t:void 0,max:r!==void 0?e.max+r-(e.max-e.min):void 0}}function OE(e,{top:t,left:r,bottom:a,right:n}){return{x:PE(e.x,r,n),y:PE(e.y,t,a)}}function kE(e,t){let r=t.min-e.min,a=t.max-e.max;return t.max-t.min<e.max-e.min&&([r,a]=[a,r]),{min:r,max:a}}function ME(e,t){return{x:kE(e.x,t.x),y:kE(e.y,t.y)}}function RE(e,t){let r=.5,a=vt(e),n=vt(t);return n>a?r=Fa(t.min,t.max-a,e.min):a>n&&(r=Fa(e.min,e.max-n,t.min)),It(0,1,r)}function DE(e,t){let r={};return t.min!==void 0&&(r.min=t.min-e.min),t.max!==void 0&&(r.max=t.max-e.min),r}var eg=.35;function _E(e=eg){return e===!1?e=0:e===!0&&(e=eg),{x:AE(e,"left","right"),y:AE(e,"top","bottom")}}function AE(e,t,r){return{min:TE(e,t),max:TE(e,r)}}function TE(e,t){return typeof e=="number"?e:e[t]||0}var O9=new WeakMap,rg=class{constructor(t){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=Be(),this.latestPointerEvent=null,this.latestPanInfo=null,this.visualElement=t}start(t,{snapToCursor:r=!1,distanceThreshold:a}={}){let{presenceContext:n}=this.visualElement;if(n&&n.isPresent===!1)return;let o=c=>{let{dragSnapToOrigin:f}=this.getProps();f?this.pauseAnimation():this.stopAnimation(),r&&this.snapToCursor(Pn(c).point)},i=(c,f)=>{let{drag:p,dragPropagation:v,onDragStart:m}=this.getProps();if(p&&!v&&(this.openDragLock&&this.openDragLock(),this.openDragLock=ab(p),!this.openDragLock))return;this.latestPointerEvent=c,this.latestPanInfo=f,this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),ur(h=>{let g=this.getAxisMotionValue(h).get()||0;if(Ut.test(g)){let{projection:y}=this.visualElement;if(y&&y.layout){let S=y.layout.layoutBox[h];S&&(g=vt(S)*(parseFloat(g)/100))}}this.originPoint[h]=g}),m&&de.postRender(()=>m(c,f)),Id(this.visualElement,"transform");let{animationState:w}=this.visualElement;w&&w.setActive("whileDrag",!0)},s=(c,f)=>{this.latestPointerEvent=c,this.latestPanInfo=f;let{dragPropagation:p,dragDirectionLock:v,onDirectionLock:m,onDrag:w}=this.getProps();if(!p&&!this.openDragLock)return;let{offset:h}=f;if(v&&this.currentDirection===null){this.currentDirection=M9(h),this.currentDirection!==null&&m&&m(this.currentDirection);return}this.updateAxis("x",f.point,h),this.updateAxis("y",f.point,h),this.visualElement.render(),w&&w(c,f)},l=(c,f)=>{this.latestPointerEvent=c,this.latestPanInfo=f,this.stop(c,f),this.latestPointerEvent=null,this.latestPanInfo=null},u=()=>ur(c=>this.getAnimationState(c)==="paused"&&this.getAxisMotionValue(c).animation?.play()),{dragSnapToOrigin:d}=this.getProps();this.panSession=new hl(t,{onSessionStart:o,onStart:i,onMove:s,onSessionEnd:l,resumeAnimation:u},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:d,distanceThreshold:a,contextWindow:Jh(this.visualElement)})}stop(t,r){let a=t||this.latestPointerEvent,n=r||this.latestPanInfo,o=this.isDragging;if(this.cancel(),!o||!n||!a)return;let{velocity:i}=n;this.startAnimation(i);let{onDragEnd:s}=this.getProps();s&&de.postRender(()=>s(a,n))}cancel(){this.isDragging=!1;let{projection:t,animationState:r}=this.visualElement;t&&(t.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;let{dragPropagation:a}=this.getProps();!a&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),r&&r.setActive("whileDrag",!1)}updateAxis(t,r,a){let{drag:n}=this.getProps();if(!a||!tg(t,n,this.currentDirection))return;let o=this.getAxisMotionValue(t),i=this.originPoint[t]+a[t];this.constraints&&this.constraints[t]&&(i=EE(i,this.constraints[t],this.elastic[t])),o.set(i)}resolveConstraints(){let{dragConstraints:t,dragElastic:r}=this.getProps(),a=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):this.visualElement.projection?.layout,n=this.constraints;t&&Cn(t)?this.constraints||(this.constraints=this.resolveRefConstraints()):t&&a?this.constraints=OE(a.layoutBox,t):this.constraints=!1,this.elastic=_E(r),n!==this.constraints&&a&&this.constraints&&!this.hasMutatedConstraints&&ur(o=>{this.constraints!==!1&&this.getAxisMotionValue(o)&&(this.constraints[o]=DE(a.layoutBox[o],this.constraints[o]))})}resolveRefConstraints(){let{dragConstraints:t,onMeasureDragConstraints:r}=this.getProps();if(!t||!Cn(t))return!1;let a=t.current;jr(a!==null,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.","drag-constraints-ref");let{projection:n}=this.visualElement;if(!n||!n.layout)return!1;let o=KT(a,n.root,this.visualElement.getTransformPagePoint()),i=ME(n.layout.layoutBox,o);if(r){let s=r(VT(i));this.hasMutatedConstraints=!!s,s&&(i=jh(s))}return i}startAnimation(t){let{drag:r,dragMomentum:a,dragElastic:n,dragTransition:o,dragSnapToOrigin:i,onDragTransitionEnd:s}=this.getProps(),l=this.constraints||{},u=ur(d=>{if(!tg(d,r,this.currentDirection))return;let c=l&&l[d]||{};i&&(c={min:0,max:0});let f=n?200:1e6,p=n?40:1e7,v={type:"inertia",velocity:a?t[d]:0,bounceStiffness:f,bounceDamping:p,timeConstant:750,restDelta:1,restSpeed:10,...o,...c};return this.startAxisValueAnimation(d,v)});return Promise.all(u).then(s)}startAxisValueAnimation(t,r){let a=this.getAxisMotionValue(t);return Id(this.visualElement,t),a.start(fl(t,a,0,r,this.visualElement,!1))}stopAnimation(){ur(t=>this.getAxisMotionValue(t).stop())}pauseAnimation(){ur(t=>this.getAxisMotionValue(t).animation?.pause())}getAnimationState(t){return this.getAxisMotionValue(t).animation?.state}getAxisMotionValue(t){let r=`_drag${t.toUpperCase()}`,a=this.visualElement.getProps(),n=a[r];return n||this.visualElement.getValue(t,(a.initial?a.initial[t]:void 0)||0)}snapToCursor(t){ur(r=>{let{drag:a}=this.getProps();if(!tg(r,a,this.currentDirection))return;let{projection:n}=this.visualElement,o=this.getAxisMotionValue(r);if(n&&n.layout){let{min:i,max:s}=n.layout.layoutBox[r];o.set(t[r]-pe(i,s,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;let{drag:t,dragConstraints:r}=this.getProps(),{projection:a}=this.visualElement;if(!Cn(r)||!a||!this.constraints)return;this.stopAnimation();let n={x:0,y:0};ur(i=>{let s=this.getAxisMotionValue(i);if(s&&this.constraints!==!1){let l=s.get();n[i]=RE({min:l,max:l},this.constraints[i])}});let{transformTemplate:o}=this.visualElement.getProps();this.visualElement.current.style.transform=o?o({},""):"none",a.root&&a.root.updateScroll(),a.updateLayout(),this.resolveConstraints(),ur(i=>{if(!tg(i,t,null))return;let s=this.getAxisMotionValue(i),{min:l,max:u}=this.constraints[i];s.set(pe(l,u,n[i]))})}addListeners(){if(!this.visualElement.current)return;O9.set(this.visualElement,this);let t=this.visualElement.current,r=wo(t,"pointerdown",l=>{let{drag:u,dragListener:d=!0}=this.getProps();u&&d&&this.start(l)}),a=()=>{let{dragConstraints:l}=this.getProps();Cn(l)&&l.current&&(this.constraints=this.resolveRefConstraints())},{projection:n}=this.visualElement,o=n.addEventListener("measure",a);n&&!n.layout&&(n.root&&n.root.updateScroll(),n.updateLayout()),de.read(a);let i=In(window,"resize",()=>this.scalePositionWithinConstraints()),s=n.addEventListener("didUpdate",({delta:l,hasLayoutChanged:u})=>{this.isDragging&&u&&(ur(d=>{let c=this.getAxisMotionValue(d);c&&(this.originPoint[d]+=l[d].translate,c.set(c.get()+l[d].translate))}),this.visualElement.render())});return()=>{i(),r(),o(),s&&s()}}getProps(){let t=this.visualElement.getProps(),{drag:r=!1,dragDirectionLock:a=!1,dragPropagation:n=!1,dragConstraints:o=!1,dragElastic:i=eg,dragMomentum:s=!0}=t;return{...t,drag:r,dragDirectionLock:a,dragPropagation:n,dragConstraints:o,dragElastic:i,dragMomentum:s}}};function tg(e,t,r){return(t===!0||t===e)&&(r===null||r===e)}function M9(e,t=10){let r=null;return Math.abs(e.y)>t?r="y":Math.abs(e.x)>t&&(r="x"),r}var ag=class extends Pt{constructor(t){super(t),this.removeGroupControls=Ye,this.removeListeners=Ye,this.controls=new rg(t)}mount(){let{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||Ye}unmount(){this.removeGroupControls(),this.removeListeners()}};var NE=e=>(t,r)=>{e&&de.postRender(()=>e(t,r))},ng=class extends Pt{constructor(){super(...arguments),this.removePointerDownListener=Ye}onPointerDown(t){this.session=new hl(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:Jh(this.node)})}createPanHandlers(){let{onPanSessionStart:t,onPanStart:r,onPan:a,onPanEnd:n}=this.node.getProps();return{onSessionStart:NE(t),onStart:NE(r),onMove:a,onEnd:(o,i)=>{delete this.session,n&&de.postRender(()=>n(o,i))}}}mount(){this.removePointerDownListener=wo(this.node.current,"pointerdown",t=>this.onPointerDown(t))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}};var jE=D(Me(),1);var Pd=D(K(),1);var gl={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function FE(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}var vl={correct:(e,t)=>{if(!t.target)return e;if(typeof e=="string")if(ne.test(e))e=parseFloat(e);else return e;let r=FE(e,t.target.x),a=FE(e,t.target.y);return`${r}% ${a}%`}};var BE={correct:(e,{treeScale:t,projectionDelta:r})=>{let a=e,n=Vt.parse(e);if(n.length>5)return a;let o=Vt.createTransformer(e),i=typeof n[0]!="number"?1:0,s=r.x.scale*t.x,l=r.y.scale*t.y;n[0+i]/=s,n[1+i]/=l;let u=pe(s,l,.5);return typeof n[2+i]=="number"&&(n[2+i]/=u),typeof n[3+i]=="number"&&(n[3+i]/=u),o(n)}};var Lb=!1,Ib=class extends Pd.Component{componentDidMount(){let{visualElement:t,layoutGroup:r,switchLayoutGroup:a,layoutId:n}=this.props,{projection:o}=t;ST(R9),o&&(r.group&&r.group.add(o),a&&a.register&&n&&a.register(o),Lb&&o.root.didUpdate(),o.addEventListener("animationComplete",()=>{this.safeToRemove()}),o.setOptions({...o.options,onExitComplete:()=>this.safeToRemove()})),gl.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){let{layoutDependency:r,visualElement:a,drag:n,isPresent:o}=this.props,{projection:i}=a;return i&&(i.isPresent=o,Lb=!0,n||t.layoutDependency!==r||r===void 0||t.isPresent!==o?i.willUpdate():this.safeToRemove(),t.isPresent!==o&&(o?i.promote():i.relegate()||de.postRender(()=>{let s=i.getStack();(!s||!s.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){let{projection:t}=this.props.visualElement;t&&(t.root.didUpdate(),mi.postRender(()=>{!t.currentAnimation&&t.isLead()&&this.safeToRemove()}))}componentWillUnmount(){let{visualElement:t,layoutGroup:r,switchLayoutGroup:a}=this.props,{projection:n}=t;Lb=!0,n&&(n.scheduleCheckAfterUnmount(),r&&r.group&&r.group.remove(n),a&&a.deregister&&a.deregister(n))}safeToRemove(){let{safeToRemove:t}=this.props;t&&t()}render(){return null}};function og(e){let[t,r]=Ch(),a=(0,Pd.useContext)(zs);return(0,jE.jsx)(Ib,{...e,layoutGroup:a,switchLayoutGroup:(0,Pd.useContext)(Nh),isPresent:t,safeToRemove:r})}var R9={borderRadius:{...vl,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:vl,borderTopRightRadius:vl,borderBottomLeftRadius:vl,borderBottomRightRadius:vl,boxShadow:BE};function UE(e,t,r){let a=Ae(e)?e:Ur(e);return a.start(fl("",a,t,r)),a.animation}var VE=(e,t)=>e.depth-t.depth;var ig=class{constructor(){this.children=[],this.isDirty=!1}add(t){ai(this.children,t),this.isDirty=!0}remove(t){ni(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(VE),this.isDirty=!1,this.children.forEach(t)}};function qE(e,t){let r=tt.now(),a=({timestamp:n})=>{let o=n-r;o>=t&&(sr(a),e(o-t))};return de.setup(a,!0),()=>sr(a)}var GE=["TopLeft","TopRight","BottomLeft","BottomRight"],D9=GE.length,zE=e=>typeof e=="string"?parseFloat(e):e,HE=e=>typeof e=="number"||ne.test(e);function $E(e,t,r,a,n,o){n?(e.opacity=pe(0,r.opacity??1,_9(a)),e.opacityExit=pe(t.opacity??1,0,N9(a))):o&&(e.opacity=pe(t.opacity??1,r.opacity??1,a));for(let i=0;i<D9;i++){let s=`border${GE[i]}Radius`,l=WE(t,s),u=WE(r,s);if(l===void 0&&u===void 0)continue;l||(l=0),u||(u=0),l===0||u===0||HE(l)===HE(u)?(e[s]=Math.max(pe(zE(l),zE(u),a),0),(Ut.test(u)||Ut.test(l))&&(e[s]+="%")):e[s]=u}(t.rotate||r.rotate)&&(e.rotate=pe(t.rotate||0,r.rotate||0,a))}function WE(e,t){return e[t]!==void 0?e[t]:e.borderRadius}var _9=XE(0,.5,Kc),N9=XE(.5,.95,Ye);function XE(e,t,r){return a=>a<e?0:a>t?1:r(Fa(e,t,a))}function KE(e,t){e.min=t.min,e.max=t.max}function br(e,t){KE(e.x,t.x),KE(e.y,t.y)}function Pb(e,t){e.translate=t.translate,e.scale=t.scale,e.originPoint=t.originPoint,e.origin=t.origin}function YE(e,t,r,a,n){return e-=t,e=Sd(e,1/r,a),n!==void 0&&(e=Sd(e,1/n,a)),e}function F9(e,t=0,r=1,a=.5,n,o=e,i=e){if(Ut.test(t)&&(t=parseFloat(t),t=pe(i.min,i.max,t/100)-i.min),typeof t!="number")return;let s=pe(o.min,o.max,a);e===o&&(s-=t),e.min=YE(e.min,t,r,s,n),e.max=YE(e.max,t,r,s,n)}function QE(e,t,[r,a,n],o,i){F9(e,t[r],t[a],t[n],t.scale,o,i)}var B9=["x","scaleX","originX"],j9=["y","scaleY","originY"];function kb(e,t,r,a){QE(e.x,t,B9,r?r.x:void 0,a?a.x:void 0),QE(e.y,t,j9,r?r.y:void 0,a?a.y:void 0)}function ZE(e){return e.translate===0&&e.scale===1}function Ab(e){return ZE(e.x)&&ZE(e.y)}function JE(e,t){return e.min===t.min&&e.max===t.max}function tO(e,t){return JE(e.x,t.x)&&JE(e.y,t.y)}function eO(e,t){return Math.round(e.min)===Math.round(t.min)&&Math.round(e.max)===Math.round(t.max)}function Tb(e,t){return eO(e.x,t.x)&&eO(e.y,t.y)}function Eb(e){return vt(e.x)/vt(e.y)}function Ob(e,t){return e.translate===t.translate&&e.scale===t.scale&&e.originPoint===t.originPoint}var sg=class{constructor(){this.members=[]}add(t){ai(this.members,t),t.scheduleRender()}remove(t){if(ni(this.members,t),t===this.prevLead&&(this.prevLead=void 0),t===this.lead){let r=this.members[this.members.length-1];r&&this.promote(r)}}relegate(t){let r=this.members.findIndex(n=>t===n);if(r===0)return!1;let a;for(let n=r;n>=0;n--){let o=this.members[n];if(o.isPresent!==!1){a=o;break}}return a?(this.promote(a),!0):!1}promote(t,r){let a=this.lead;if(t!==a&&(this.prevLead=a,this.lead=t,t.show(),a)){a.instance&&a.scheduleRender(),t.scheduleRender(),t.resumeFrom=a,r&&(t.resumeFrom.preserveOpacity=!0),a.snapshot&&(t.snapshot=a.snapshot,t.snapshot.latestValues=a.animationValues||a.latestValues),t.root&&t.root.isUpdating&&(t.isLayoutDirty=!0);let{crossfade:n}=t.options;n===!1&&a.hide()}}
16exitAnimationComplete(){this.members.forEach(t=>{let{options:r,resumingFrom:a}=t;r.onExitComplete&&r.onExitComplete(),a&&a.options.onExitComplete&&a.options.onExitComplete()})}scheduleRender(){this.members.forEach(t=>{t.instance&&t.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}};function rO(e,t,r){let a="",n=e.x.translate/t.x,o=e.y.translate/t.y,i=r?.z||0;if((n||o||i)&&(a=`translate3d(${n}px, ${o}px, ${i}px) `),(t.x!==1||t.y!==1)&&(a+=`scale(${1/t.x}, ${1/t.y}) `),r){let{transformPerspective:u,rotate:d,rotateX:c,rotateY:f,skewX:p,skewY:v}=r;u&&(a=`perspective(${u}px) ${a}`),d&&(a+=`rotate(${d}deg) `),c&&(a+=`rotateX(${c}deg) `),f&&(a+=`rotateY(${f}deg) `),p&&(a+=`skewX(${p}deg) `),v&&(a+=`skewY(${v}deg) `)}let s=e.x.scale*t.x,l=e.y.scale*t.y;return(s!==1||l!==1)&&(a+=`scale(${s}, ${l})`),a||"none"}var bi={nodes:0,calculatedTargetDeltas:0,calculatedProjections:0},Mb=["","X","Y","Z"],U9=1e3,V9=0;function Rb(e,t,r,a){let{latestValues:n}=t;n[e]&&(r[e]=n[e],t.setStaticValue(e,0),a&&(a[e]=0))}function dO(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return;let{visualElement:t}=e.options;if(!t)return;let r=$h(t);if(window.MotionHasOptimisedAnimation(r,"transform")){let{layout:n,layoutId:o}=e.options;window.MotionCancelOptimisedAnimation(r,"transform",de,!(n||o))}let{parent:a}=e;a&&!a.hasCheckedOptimisedAppear&&dO(a)}function lg({attachResizeListener:e,defaultParent:t,measureScroll:r,checkIsScrollRoot:a,resetTransform:n}){return class{constructor(i={},s=t?.()){this.id=V9++,this.animationId=0,this.animationCommitId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,ir.value&&(bi.nodes=bi.calculatedTargetDeltas=bi.calculatedProjections=0),this.nodes.forEach(H9),this.nodes.forEach(X9),this.nodes.forEach(K9),this.nodes.forEach(W9),ir.addProjectionMetrics&&ir.addProjectionMetrics(bi)},this.resolvedRelativeTargetAt=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=i,this.root=s?s.root||s:this,this.path=s?[...s.path,s]:[],this.parent=s,this.depth=s?s.depth+1:0;for(let l=0;l<this.path.length;l++)this.path[l].shouldResetTransform=!0;this.root===this&&(this.nodes=new ig)}addEventListener(i,s){return this.eventHandlers.has(i)||this.eventHandlers.set(i,new gn),this.eventHandlers.get(i).add(s)}notifyListeners(i,...s){let l=this.eventHandlers.get(i);l&&l.notify(...s)}hasListeners(i){return this.eventHandlers.has(i)}mount(i){if(this.instance)return;this.isSVG=hd(i)&&!lb(i),this.instance=i;let{layoutId:s,layout:l,visualElement:u}=this.options;if(u&&!u.current&&u.mount(i),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(l||s)&&(this.isLayoutDirty=!0),e){let d,c=0,f=()=>this.root.updateBlockedByResize=!1;de.read(()=>{c=window.innerWidth}),e(i,()=>{let p=window.innerWidth;p!==c&&(c=p,this.root.updateBlockedByResize=!0,d&&d(),d=qE(f,250),gl.hasAnimatedSinceResize&&(gl.hasAnimatedSinceResize=!1,this.nodes.forEach(oO)))})}s&&this.root.registerSharedNode(s,this),this.options.animate!==!1&&u&&(s||l)&&this.addEventListener("didUpdate",({delta:d,hasLayoutChanged:c,hasRelativeLayoutChanged:f,layout:p})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}let v=this.options.transition||u.getDefaultTransition()||e7,{onLayoutAnimationStart:m,onLayoutAnimationComplete:w}=u.getProps(),h=!this.targetLayout||!Tb(this.targetLayout,p),g=!c&&f;if(this.options.layoutRoot||this.resumeFrom||g||c&&(h||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);let y={...fi(v,"layout"),onPlay:m,onComplete:w};(u.shouldReduceMotion||this.options.layoutRoot)&&(y.delay=0,y.type=!1),this.startAnimation(y),this.setAnimationOrigin(d,g)}else c||oO(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=p})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);let i=this.getStack();i&&i.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,this.eventHandlers.clear(),sr(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){this.isUpdateBlocked()||(this.isUpdating=!0,this.nodes&&this.nodes.forEac
16h(Y9),this.animationId++)}getTransformTemplate(){let{visualElement:i}=this.options;return i&&i.getProps().transformTemplate}willUpdate(i=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&dO(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let d=0;d<this.path.length;d++){let c=this.path[d];c.shouldResetTransform=!0,c.updateScroll("snapshot"),c.options.layoutRoot&&c.willUpdate(!1)}let{layoutId:s,layout:l}=this.options;if(s===void 0&&!l)return;let u=this.getTransformTemplate();this.prevTransformTemplateValue=u?u(this.latestValues,""):void 0,this.updateSnapshot(),i&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(aO);return}if(this.animationId<=this.animationCommitId){this.nodes.forEach(nO);return}this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach($9),this.nodes.forEach(q9),this.nodes.forEach(z9)):this.nodes.forEach(nO),this.clearAllSnapshots();let s=tt.now();et.delta=It(0,1e3/60,s-et.timestamp),et.timestamp=s,et.isProcessing=!0,ed.update.process(et),ed.preRender.process(et),ed.render.process(et),et.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,mi.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(G9),this.sharedNodes.forEach(Q9)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,de.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){de.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure(),this.snapshot&&!vt(this.snapshot.measuredBox.x)&&!vt(this.snapshot.measuredBox.y)&&(this.snapshot=void 0))}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let l=0;l<this.path.length;l++)this.path[l].updateScroll();let i=this.layout;this.layout=this.measure(!1),this.layoutCorrected=Be(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);let{visualElement:s}=this.options;s&&s.notify("LayoutMeasure",this.layout.layoutBox,i?i.layoutBox:void 0)}updateScroll(i="measure"){let s=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===i&&(s=!1),s&&this.instance){let l=a(this.instance);this.scroll={animationId:this.root.animationId,phase:i,isRoot:l,offset:r(this.instance),wasRoot:this.scroll?this.scroll.isRoot:l}}}resetTransform(){if(!n)return;let i=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,s=this.projectionDelta&&!Ab(this.projectionDelta),l=this.getTransformTemplate(),u=l?l(this.latestValues,""):void 0,d=u!==this.prevTransformTemplateValue;i&&this.instance&&(s||Ln(this.latestValues)||d)&&(n(this.instance,u),this.shouldResetTransform=!1,this.scheduleRender())}measure(i=!0){let s=this.measurePageBox(),l=this.removeElementScroll(s);return i&&(l=this.removeTransform(l)),t7(l),{animationId:this.root.animationId,measuredBox:s,layoutBox:l,latestValues:{},source:this.id}}measurePageBox(){let{visualElement:i}=this.options;if(!i)return Be();let s=i.measureViewportBox();if(!(this.scroll?.wasRoot||this.path.some(r7))){let{scroll:u}=this.root;u&&(xo(s.x,u.offset.x),xo(s.y,u.offset.y))}return s}removeElementScroll(i){let s=Be();if(br(s,i),this.scroll?.wasRoot)return s;for(let l=0;l<this.path.length;l++){let u=this.path[l],{scroll:d,options:c}=u;u!==this.root&&d&&c.layoutScroll&&(d.wasRoot&&br(s,i),xo(s.x,d.offset.x),xo(s.y,d.offset.y))}return s}applyTransform(i,s=!1){let l=Be();br(l,i);for(let u=0;u<this.path.length;u++){let d=this.path[u];!s&&d.options.layoutScroll&&d.scroll&&d!==d.root&&yi(l,{x:-d.scroll.offset.x,y:-d.scroll.offset.y}),Ln(d.latestValues)&&yi(l,d.latestValues)}return Ln(this.latestValues)&&yi(l,this.latestValues),l}removeTransform(i){let s=Be();br(s,i);for(let l=0;l<this.path.length;l++){let u=this.path[l];if(!u.instance||!Ln(u.latestValues))continue;Uh(u.latestValues)&&u.updateSnapshot();let d=Be(),c=u.measurePageBox();br(d,c),kb(s,u.latestValues,u.snapshot?u.snapshot.layoutBox:void 0,d)}return Ln(this.latestValues)&&kb(s,this.latestValues),s}setTargetDelta(i){this.targetDelta=i,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(i){this.options={...this.options,...i,crossfade:i.crossfade!==void 0?i.crossfade:!0}}clearMeasurements(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}forceRelativeParentToResolveTarget(){this.relativeParent&&this.relativeParent.resolvedRelativeTargetAt!==et.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(i=!1){let s=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=s.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=s.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=s.isS
vendor: 6,957 bytes, line 16
16haredProjectionDirty);let l=!!this.resumingFrom||this!==s;if(!(i||l&&this.isSharedProjectionDirty||this.isProjectionDirty||this.parent?.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;let{layout:d,layoutId:c}=this.options;if(!(!this.layout||!(d||c))){if(this.resolvedRelativeTargetAt=et.timestamp,!this.targetDelta&&!this.relativeTarget){let f=this.getClosestProjectingParent();f&&f.layout&&this.animationProgress!==1?(this.relativeParent=f,this.forceRelativeParentToResolveTarget(),this.relativeTarget=Be(),this.relativeTargetOrigin=Be(),ml(this.relativeTargetOrigin,this.layout.layoutBox,f.layout.layoutBox),br(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(!(!this.relativeTarget&&!this.targetDelta)){if(this.target||(this.target=Be(),this.targetWithTransforms=Be()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),bE(this.target,this.relativeTarget,this.relativeParent.target)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):br(this.target,this.layout.layoutBox),yb(this.target,this.targetDelta)):br(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget){this.attemptToResolveRelativeTarget=!1;let f=this.getClosestProjectingParent();f&&!!f.resumingFrom==!!this.resumingFrom&&!f.options.layoutScroll&&f.target&&this.animationProgress!==1?(this.relativeParent=f,this.forceRelativeParentToResolveTarget(),this.relativeTarget=Be(),this.relativeTargetOrigin=Be(),ml(this.relativeTargetOrigin,this.target,f.target),br(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}ir.value&&bi.calculatedTargetDeltas++}}}getClosestProjectingParent(){if(!(!this.parent||Uh(this.parent.latestValues)||gb(this.parent.latestValues)))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}calcProjection(){let i=this.getLead(),s=!!this.resumingFrom||this!==i,l=!0;if((this.isProjectionDirty||this.parent?.isProjectionDirty)&&(l=!1),s&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(l=!1),this.resolvedRelativeTargetAt===et.timestamp&&(l=!1),l)return;let{layout:u,layoutId:d}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(u||d))return;br(this.layoutCorrected,this.layout.layoutBox);let c=this.treeScale.x,f=this.treeScale.y;XT(this.layoutCorrected,this.treeScale,this.path,s),i.layout&&!i.target&&(this.treeScale.x!==1||this.treeScale.y!==1)&&(i.target=i.layout.layoutBox,i.targetWithTransforms=Be());let{target:p}=i;if(!p){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():(Pb(this.prevProjectionDelta.x,this.projectionDelta.x),Pb(this.prevProjectionDelta.y,this.projectionDelta.y)),pl(this.projectionDelta,this.layoutCorrected,p,this.latestValues),(this.treeScale.x!==c||this.treeScale.y!==f||!Ob(this.projectionDelta.x,this.prevProjectionDelta.x)||!Ob(this.projectionDelta.y,this.prevProjectionDelta.y))&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",p)),ir.value&&bi.calculatedProjections++}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(i=!0){if(this.options.visualElement?.scheduleRender(),i){let s=this.getStack();s&&s.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=xi(),this.projectionDelta=xi(),this.projectionDeltaWithTransform=xi()}setAnimationOrigin(i,s=!1){let l=this.snapshot,u=l?l.latestValues:{},d={...this.latestValues},c=xi();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!s;let f=Be(),p=l?l.source:void 0,v=this.layout?this.layout.source:void 0,m=p!==v,w=this.getStack(),h=!w||w.members.length<=1,g=!!(m&&!h&&this.options.crossfade===!0&&!this.path.some(J9));this.animationProgress=0;let y;this.mixTargetDelta=S=>{let x=S/1e3;iO(c.x,i.x,x),iO(c.y,i.y,x),this.setTargetDelta(c),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(ml(f,this.layout.layoutBox,this.relativeParent.layout.layoutBox),Z9(this.relativeTarget,this.relativeTargetOrigin,f,x),y&&tO(this.relativeTarget,y)&&(this.isProjectionDirty=!1),y||(y=Be()),br(y,this.relativeTarget)),m&&(this.animationValues=d,$E(d,u,this.latestValues,x,g,h)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=x},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(i){this.notifyListeners("animationStart"),this.currentAnimation?.stop(),this.resumingFrom?.currentAnimation?.stop(),this.pendingAnimation&&(sr(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=de.update(()=>{gl.hasAnimatedSinceResize=!0,fa.layout++,this.motionValue||(this.motionValue=Ur(0)),this.currentAnimation=UE(this.motionValue,[0,1e3],{...i,velocity:0,isSync:!0,onUpdate:s=>{this.mixTargetDelta(s),i.onUpdate&&i.onUpdate(s)},onStop:()=>{fa.layout--},onComplete:()=>{fa.layout--,i.onComplete&&i.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);let i=this.getStack();i&&i.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(U9),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){let i=this.getLead(),{targetWithTransforms:s,target:l,layout:u,latestValues:d}=i;if(!(!s||!l||!u)){if(this!==i&&this.layout&&u&&fO(this.options.animationType,this.layout.layoutBox,u.layoutBox)){l=this.target||Be();let c=vt(this.layout.layoutBox.x);l.x.min=i.target.x.min,l.x.max=l.x.min+c;let f=vt(this.layout.layoutBox.y);l.y.min=i.target.y.min,l.y.max=l.y.min+f}br(s,l),yi(s,d),pl(this.projectionDeltaWithTransform,this.layoutCorrected,s,d)}}registerSharedNode(i,s){this.sharedNodes.has(i)||this.sharedNodes.set(i,new sg),this.sharedNodes.get(i).add(s);let u=s.options.initialPromotionConfig;s.promote({transition:u?u.transition:void 0,preserveFollowOpacity:u&&u.shouldPreserveFollowOpacity?u.shouldPreserveFollowOpacity(s):void 0})}isLead(){let i=this.getStack();return i?i.lead===this:!0}getLead(){let{layoutId:i}=this.options;
16return i?this.getStack()?.lead||this:this}getPrevLead(){let{layoutId:i}=this.options;return i?this.getStack()?.prevLead:void 0}getStack(){let{layoutId:i}=this.options;if(i)return this.root.sharedNodes.get(i)}promote({needsReset:i,transition:s,preserveFollowOpacity:l}={}){let u=this.getStack();u&&u.promote(this,l),i&&(this.projectionDelta=void 0,this.needsReset=!0),s&&this.setOptions({transition:s})}relegate(){let i=this.getStack();return i?i.relegate(this):!1}resetSkewAndRotation(){let{visualElement:i}=this.options;if(!i)return;let s=!1,{latestValues:l}=i;if((l.z||l.rotate||l.rotateX||l.rotateY||l.rotateZ||l.skewX||l.skewY)&&(s=!0),!s)return;let u={};l.z&&Rb("z",i,u,this.animationValues);for(let d=0;d<Mb.length;d++)Rb(`rotate${Mb[d]}`,i,u,this.animationValues),Rb(`skew${Mb[d]}`,i,u,this.animationValues);i.render();for(let d in u)i.setStaticValue(d,u[d]),this.animationValues&&(this.animationValues[d]=u[d]);i.scheduleRender()}applyProjectionStyles(i,s){if(!this.instance||this.isSVG)return;if(!this.isVisible){i.visibility="hidden";return}let l=this.getTransformTemplate();if(this.needsReset){this.needsReset=!1,i.visibility="",i.opacity="",i.pointerEvents=sl(s?.pointerEvents)||"",i.transform=l?l(this.latestValues,""):"none";return}let u=this.getLead();if(!this.projectionDelta||!this.layout||!u.target){this.options.layoutId&&(i.opacity=this.latestValues.opacity!==void 0?this.latestValues.opacity:1,i.pointerEvents=sl(s?.pointerEvents)||""),this.hasProjected&&!Ln(this.latestValues)&&(i.transform=l?l({},""):"none",this.hasProjected=!1);return}i.visibility="";let d=u.animationValues||u.latestValues;this.applyTransformsToTarget();let c=rO(this.projectionDeltaWithTransform,this.treeScale,d);l&&(c=l(d,c)),i.transform=c;let{x:f,y:p}=this.projectionDelta;i.transformOrigin=`${f.origin*100}% ${p.origin*100}% 0`,u.animationValues?i.opacity=u===this?d.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:d.opacityExit:i.opacity=u===this?d.opacity!==void 0?d.opacity:"":d.opacityExit!==void 0?d.opacityExit:0;for(let v in vi){if(d[v]===void 0)continue;let{correct:m,applyTo:w,isCSSVariable:h}=vi[v],g=c==="none"?d[v]:m(d[v],u);if(w){let y=w.length;for(let S=0;S<y;S++)i[w[S]]=g}else h?this.options.visualElement.renderState.vars[v]=g:i[v]=g}this.options.layoutId&&(i.pointerEvents=u===this?sl(s?.pointerEvents)||"":"none")}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(i=>i.currentAnimation?.stop()),this.root.nodes.forEach(aO),this.root.sharedNodes.clear()}}}function q9(e){e.updateLayout()}function z9(e){let t=e.resumeFrom?.snapshot||e.snapshot;if(e.isLead()&&e.layout&&t&&e.hasListeners("didUpdate")){let{layoutBox:r,measuredBox:a}=e.layout,{animationType:n}=e.options,o=t.source!==e.layout.source;n==="size"?ur(d=>{let c=o?t.measuredBox[d]:t.layoutBox[d],f=vt(c);c.min=r[d].min,c.max=c.min+f}):fO(n,t.layoutBox,r)&&ur(d=>{let c=o?t.measuredBox[d]:t.layoutBox[d],f=vt(r[d]);c.max=c.min+f,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[d].max=e.relativeTarget[d].min+f)});let i=xi();pl(i,r,t.layoutBox);let s=xi();o?pl(s,e.applyTransform(a,!0),t.measuredBox):pl(s,r,t.layoutBox);let l=!Ab(i),u=!1;if(!e.resumeFrom){let d=e.getClosestProjectingParent();if(d&&!d.resumeFrom){let{snapshot:c,layout:f}=d;if(c&&f){let p=Be();ml(p,t.layoutBox,c.layoutBox);let v=Be();ml(v,r,f.layoutBox),Tb(p,v)||(u=!0),d.options.layoutRoot&&(e.relativeTarget=v,e.relativeTargetOrigin=p,e.relativeParent=d)}}}e.notifyListeners("didUpdate",{layout:r,snapshot:t,delta:s,layoutDelta:i,hasLayoutChanged:l,hasRelativeLayoutChanged:u})}else if(e.isLead()){let{onExitComplete:r}=e.options;r&&r()}e.options.transition=void 0}function H9(e){ir.value&&bi.nodes++,e.parent&&(e.isProjecting()||(e.isProjectionDirty=e.parent.isProjectionDirty),e.isSharedProjectionDirty||(e.isSharedProjectionDirty=!!(e.isProjectionDirty||e.parent.isProjectionDirty||e.parent.isSharedProjectionDirty)),e.isTransformDirty||(e.isTransformDirty=e.parent.isTransformDirty))}function W9(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function G9(e){e.clearSnapshot()}function aO(e){e.clearMeasurements()}function nO(e){e.isLayoutDirty=!1}function $9(e){let{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function oO(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function X9(e){e.resolveTargetDelta()}function K9(e){e.calcProjection()}
vendor: 5,218 bytes, line 16
16function Y9(e){e.resetSkewAndRotation()}function Q9(e){e.removeLeadSnapshot()}function iO(e,t,r){e.translate=pe(t.translate,0,r),e.scale=pe(t.scale,1,r),e.origin=t.origin,e.originPoint=t.originPoint}function sO(e,t,r,a){e.min=pe(t.min,r.min,a),e.max=pe(t.max,r.max,a)}function Z9(e,t,r,a){sO(e.x,t.x,r.x,a),sO(e.y,t.y,r.y,a)}function J9(e){return e.animationValues&&e.animationValues.opacityExit!==void 0}var e7={duration:.45,ease:[.4,0,.1,1]},lO=e=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),uO=lO("applewebkit/")&&!lO("chrome/")?Math.round:Ye;function cO(e){e.min=uO(e.min),e.max=uO(e.max)}function t7(e){cO(e.x),cO(e.y)}function fO(e,t,r){return e==="position"||e==="preserve-aspect"&&!wE(Eb(t),Eb(r),.2)}function r7(e){return e!==e.root&&e.scroll?.wasRoot}var pO=lg({attachResizeListener:(e,t)=>In(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0});var Db={current:void 0},ug=lg({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!Db.current){let e=new pO({});e.mount(window),e.setOptions({layoutScroll:!0}),Db.current=e}return Db.current},resetTransform:(e,t)=>{e.style.transform=t!==void 0?t:"none"},checkIsScrollRoot:e=>window.getComputedStyle(e).position==="fixed"});var mO={pan:{Feature:ng},drag:{Feature:ag,ProjectionNode:ug,MeasureLayout:og}};function hO(e,t,r){let{props:a}=e;e.animationState&&a.whileHover&&e.animationState.setActive("whileHover",r==="Start");let n="onHover"+r,o=a[n];o&&de.postRender(()=>o(t,Pn(t)))}var cg=class extends Pt{mount(){let{current:t}=this.node;t&&(this.unmount=nb(t,(r,a)=>(hO(this.node,a,"Start"),n=>hO(this.node,n,"End"))))}unmount(){}};var dg=class extends Pt{constructor(){super(...arguments),this.isActive=!1}onFocus(){let t=!1;try{t=this.node.current.matches(":focus-visible")}catch{t=!0}!t||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){!this.isActive||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=da(In(this.node.current,"focus",()=>this.onFocus()),In(this.node.current,"blur",()=>this.onBlur()))}unmount(){}};function gO(e,t,r){let{props:a}=e;if(e.current instanceof HTMLButtonElement&&e.current.disabled)return;e.animationState&&a.whileTap&&e.animationState.setActive("whileTap",r==="Start");let n="onTap"+(r==="End"?"":r),o=a[n];o&&de.postRender(()=>o(t,Pn(t)))}var fg=class extends Pt{mount(){let{current:t}=this.node;t&&(this.unmount=sb(t,(r,a)=>(gO(this.node,a,"Start"),(n,{success:o})=>gO(this.node,n,o?"End":"Cancel")),{useGlobalTarget:this.node.props.globalTapTarget}))}unmount(){}};var Nb=new WeakMap,_b=new WeakMap,a7=e=>{let t=Nb.get(e.target);t&&t(e)},n7=e=>{e.forEach(a7)};function o7({root:e,...t}){let r=e||document;_b.has(r)||_b.set(r,{});let a=_b.get(r),n=JSON.stringify(t);return a[n]||(a[n]=new IntersectionObserver(n7,{root:e,...t})),a[n]}function vO(e,t,r){let a=o7(t);return Nb.set(e,r),a.observe(e),()=>{Nb.delete(e),a.unobserve(e)}}var i7={some:0,all:1},pg=class extends Pt{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();let{viewport:t={}}=this.node.getProps(),{root:r,margin:a,amount:n="some",once:o}=t,i={root:r?r.current:void 0,rootMargin:a,threshold:typeof n=="number"?n:i7[n]},s=l=>{let{isIntersecting:u}=l;if(this.isInView===u||(this.isInView=u,o&&!u&&this.hasEnteredView))return;u&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",u);let{onViewportEnter:d,onViewportLeave:c}=this.node.getProps(),f=u?d:c;f&&f(l)};return vO(this.node.current,i,s)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;let{props:t,prevProps:r}=this.node;["amount","margin","root"].some(s7(t,r))&&this.startObserver()}unmount(){}};function s7({viewport:e={}},{viewport:t={}}={}){return r=>e[r]!==t[r]}var yO={inView:{Feature:pg},tap:{Feature:fg},focus:{Feature:dg},hover:{Feature:cg}};var xO={layout:{ProjectionNode:ug,MeasureLayout:og}};var wO={...pE,...yO,...mO,...xO};var yt=UT(wO,nE);var hg=D(K());var bO=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),l7=e=>e.replace(/^([A-Z])|[\s-_]+(\w)/g,(t,r,a)=>a?a.toUpperCase():r.toLowerCase()),Fb=e=>{let t=l7(e);return t.charAt(0).toUpperCase()+t.slice(1)},mg=(...e)=>e.filter((t,r,a)=>!!t&&t.trim()!==""&&a.indexOf(t)===r).join(" ").trim(),SO=e=>{for(let t in e)if(t.startsWith("aria-")||t==="role"||t==="title")return!0};var kd=D(K());var CO={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};var LO=(0,kd.forwardRef)(({color:e="currentColor",size:t=24,strokeWidth:r=2,absoluteStrokeWidth:a,className:n="",children:o,iconNode:i,...s},l)=>(0,kd.createElement)("svg",{ref:l,...CO,width:t,height:t,stroke:e,strokeWidth:a?Number(r)*24/Number(t):r,className:mg("lucide",n),...!o&&!SO(s)&&{"aria-hidden":"true"},...s},[...i.map(([u,d])=>(0,kd.createElement)(u,d)),...Array.isArray(o)?o:[o]]));var me=(e,t)=>
16{let r=(0,hg.forwardRef)(({className:a,...n},o)=>(0,hg.createElement)(LO,{ref:o,iconNode:t,className:mg(`lucide-${bO(Fb(e))}`,`lucide-${e}`,a),...n}));return r.displayName=Fb(e),r};var u7=[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]],Si=me("arrow-left",u7);var c7=[["path",{d:"M10.268 21a2 2 0 0 0 3.464 0",key:"vwvbt9"}],["path",{d:"M3.262 15.326A1 1 0 0 0 4 17h16a1 1 0 0 0 .74-1.673C19.41 13.956 18 12.499 18 8A6 6 0 0 0 6 8c0 4.499-1.411 5.956-2.738 7.326",key:"11g9vi"}]],Ad=me("bell",c7);var d7=[["path",{d:"M12 7v14",key:"1akyts"}],["path",{d:"M3 18a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h5a4 4 0 0 1 4 4 4 4 0 0 1 4-4h5a1 1 0 0 1 1 1v13a1 1 0 0 1-1 1h-6a3 3 0 0 0-3 3 3 3 0 0 0-3-3z",key:"ruj8y"}]],Td=me("book-open",d7);var f7=[["path",{d:"M8 2v4",key:"1cmpym"}],["path",{d:"M16 2v4",key:"4m81vk"}],["rect",{width:"18",height:"18",x:"3",y:"4",rx:"2",key:"1hopcy"}],["path",{d:"M3 10h18",key:"8toen8"}]],Ci=me("calendar",f7);var p7=[["path",{d:"M3 3v16a2 2 0 0 0 2 2h16",key:"c24i48"}],["path",{d:"M18 17V9",key:"2bz60n"}],["path",{d:"M13 17V5",key:"1frdt8"}],["path",{d:"M8 17v-3",key:"17ska0"}]],bo=me("chart-column",p7);var m7=[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]],Li=me("check",m7);var h7=[["path",{d:"M12 6v6l4 2",key:"mmk7yg"}],["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]],kn=me("clock",h7);var g7=[["path",{d:"M15 3h6v6",key:"1q9fwt"}],["path",{d:"M10 14 21 3",key:"gplh6r"}],["path",{d:"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6",key:"a6xqqp"}]],Ed=me("external-link",g7);var v7=[["path",{d:"M10 20a1 1 0 0 0 .553.895l2 1A1 1 0 0 0 14 21v-7a2 2 0 0 1 .517-1.341L21.74 4.67A1 1 0 0 0 21 3H3a1 1 0 0 0-.742 1.67l7.225 7.989A2 2 0 0 1 10 14z",key:"sc7q7i"}]],So=me("funnel",v7);var y7=[["path",{d:"M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z",key:"1a8usu"}]],An=me("pen",y7);var x7=[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]],Tn=me("plus",x7);var w7=[["path",{d:"M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8",key:"v9h5vc"}],["path",{d:"M21 3v5h-5",key:"1q7to0"}],["path",{d:"M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16",key:"3uifl3"}],["path",{d:"M8 16H3v5",key:"1cv678"}]],Ii=me("refresh-cw",w7);var b7=[["path",{d:"M4 11a9 9 0 0 1 9 9",key:"pv89mb"}],["path",{d:"M4 4a16 16 0 0 1 16 16",key:"k0647b"}],["circle",{cx:"5",cy:"19",r:"1",key:"bfqh0e"}]],ha=me("rss",b7);var S7=[["path",{d:"M9.671 4.136a2.34 2.34 0 0 1 4.659 0 2.34 2.34 0 0 0 3.319 1.915 2.34 2.34 0 0 1 2.33 4.033 2.34 2.34 0 0 0 0 3.831 2.34 2.34 0 0 1-2.33 4.033 2.34 2.34 0 0 0-3.319 1.915 2.34 2.34 0 0 1-4.659 0 2.34 2.34 0 0 0-3.32-1.915 2.34 2.34 0 0 1-2.33-4.033 2.34 2.34 0 0 0 0-3.831A2.34 2.34 0 0 1 6.35 6.051a2.34 2.34 0 0 0 3.319-1.915",key:"1i5ecw"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]],Od=me("settings",S7);var C7=[["path",{d:"M10 11v6",key:"nco0om"}],["path",{d:"M14 11v6",key:"outv1u"}],["path",{d:"M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6",key:"miytrc"}],["path",{d:"M3 6h18",key:"d0wm0j"}],["path",{d:"M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2",key:"e791ji"}]],Md=me("trash-2",C7);var L7=[["path",{d:"M16 7h6v6",key:"box55l"}],["path",{d:"m22 7-8.5 8.5-5-5L2 17",key:"1t1m79"}]],Rd=me("trending-up",L7);var I7=[["path",{d:"M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2",key:"975kel"}],["circle",{cx:"12",cy:"7",r:"4",key:"17ys0d"}]],Dd=me("user",I7);var P7=[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]],Pi=me("x",P7);var gg=D(K()),IO=D(Me());function Bb(){let e=(0,gg.useRef)(null);return(0,gg.useEffect)(()=>{let t=e.current;if(!t)return;let r=t.getContext("2d");if(!r)return;t.width=window.innerWidth,t.height=window.innerHeight;let a=[],n=["rgba(167, 139, 250, 0.3)","rgba(139, 92, 246, 0.3)","rgba(124, 58, 237, 0.3)","rgba(196, 181, 253, 0.2)","rgba(147, 197, 253, 0.2)"];for(let l=0;l<50;l++)a.push({x:Math.random()*t.width,y:Math.random()*t.height,size:Math.random()*3+1,speedX:(Math.random()-.5)*.5,speedY:(Math.random()-.5)*.5,color:n[Math.floor(Math.random()*n.length)],opacity:Math.random()*.5+.2});let o,i=()=>{r.clearRect(0,0,t.width,t.height);
16let l=Date.now()*8e-4;for(let u=0;u<4;u++){r.beginPath(),r.strokeStyle=`rgba(139, 92, 246, ${.15-u*.03})`,r.lineWidth=6-u;for(let d=0;d<t.width;d+=5){let c=Math.sin(d*.008+l+u*.5)*60+Math.sin(d*.015+l*.7)*30+t.height/2+u*80;d===0?r.moveTo(d,c):r.lineTo(d,c)}r.stroke()}a.forEach(u=>{r.beginPath(),r.arc(u.x,u.y,u.size,0,Math.PI*2),r.fillStyle=u.color,r.globalAlpha=u.opacity,r.fill(),r.globalAlpha=1,u.x+=u.speedX,u.y+=u.speedY,u.x<0&&(u.x=t.width),u.x>t.width&&(u.x=0),u.y<0&&(u.y=t.height),u.y>t.height&&(u.y=0)}),a.forEach((u,d)=>{a.slice(d+1).forEach(c=>{let f=u.x-c.x,p=u.y-c.y,v=Math.sqrt(f*f+p*p);v<150&&(r.beginPath(),r.strokeStyle=`rgba(139, 92, 246, ${.15*(1-v/150)})`,r.lineWidth=1.5,r.moveTo(u.x,u.y),r.lineTo(c.x,c.y),r.stroke())})}),o=requestAnimationFrame(i)};i();let s=()=>{t.width=window.innerWidth,t.height=window.innerHeight};return window.addEventListener("resize",s),()=>{cancelAnimationFrame(o),window.removeEventListener("resize",s)}},[]),(0,IO.jsx)("canvas",{ref:e,className:"fixed inset-0 pointer-events-none z-0",style:{background:"transparent"}})}var _O=D(K());function PO(e){var t,r,a="";if(typeof e=="string"||typeof e=="number")a+=e;else if(typeof e=="object")if(Array.isArray(e)){var n=e.length;for(t=0;t<n;t++)e[t]&&(r=PO(e[t]))&&(a&&(a+=" "),a+=r)}else for(r in e)e[r]&&(a&&(a+=" "),a+=r);return a}function jb(){for(var e,t,r=0,a="",n=arguments.length;r<n;r++)(e=arguments[r])&&(t=PO(e))&&(a&&(a+=" "),a+=t);return a}var ae=jb;var qb="-",k7=e=>{let t=T7(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:a}=e;return{getClassGroupId:i=>{let s=i.split(qb);return s[0]===""&&s.length!==1&&s.shift(),TO(s,t)||A7(i)},getConflictingClassGroupIds:(i,s)=>{let l=r[i]||[];return s&&a[i]?[...l,...a[i]]:l}}},TO=(e,t)=>{if(e.length===0)return t.classGroupId;let r=e[0],a=t.nextPart.get(r),n=a?TO(e.slice(1),a):void 0;if(n)return n;if(t.validators.length===0)return;let o=e.join(qb);return t.validators.find(({validator:i})=>i(o))?.classGroupId},kO=/^\[(.+)\]$/,A7=e=>{if(kO.test(e)){let t=kO.exec(e)[1],r=t?.substring(0,t.indexOf(":"));if(r)return"arbitrary.."+r}},T7=e=>{let{theme:t,prefix:r}=e,a={nextPart:new Map,validators:[]};return O7(Object.entries(e.classGroups),r).forEach(([o,i])=>{Vb(i,a,o,t)}),a},Vb=(e,t,r,a)=>{e.forEach(n=>{if(typeof n=="string"){let o=n===""?t:AO(t,n);o.classGroupId=r;return}if(typeof n=="function"){if(E7(n)){Vb(n(a),t,r,a);return}t.validators.push({validator:n,classGroupId:r});return}Object.entries(n).forEach(([o,i])=>{Vb(i,AO(t,o),r,a)})})},AO=(e,t)=>{let r=e;return t.split(qb).forEach(a=>{r.nextPart.has(a)||r.nextPart.set(a,{nextPart:new Map,validators:[]}),r=r.nextPart.get(a)}),r},E7=e=>e.isThemeGetter,O7=(e,t)=>t?e.map(([r,a])=>{let n=a.map(o=>typeof o=="string"?t+o:typeof o=="object"?Object.fromEntries(Object.entries(o).map(([i,s])=>[t+i,s])):o);return[r,n]}):e,M7=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,r=new Map,a=new Map,n=(o,i)=>{r.set(o,i),t++,t>e&&(t=0,a=r,r=new Map)};return{get(o){let i=r.get(o);if(i!==void 0)return i;if((i=a.get(o))!==void 0)return n(o,i),i},set(o,i){r.has(o)?r.set(o,i):n(o,i)}}},EO="!",R7=e=>{let{separator:t,experimentalParseClassName:r}=e,a=t.length===1,n=t[0],o=t.length,i=s=>{let l=[],u=0,d=0,c;for(let w=0;w<s.length;w++){let h=s[w];if(u===0){if(h===n&&(a||s.slice(w,w+o)===t)){l.push(s.slice(d,w)),d=w+o;continue}if(h==="/"){c=w;continue}}h==="["?u++:h==="]"&&u--}let f=l.length===0?s:s.substring(d),p=f.startsWith(EO),v=p?f.substring(1):f,m=c&&c>d?c-d:void 0;return{modifiers:l,hasImportantModifier:p,baseClassName:v,maybePostfixModifierPosition:m}};return r?s=>r({className:s,parseClassName:i}):i},D7=e=>{if(e.length<=1)return e;let t=[],r=[];return e.forEach(a=>{a[0]==="["?(t.push(...r.sort(),a),r=[]):r.push(a)}),t.push(...r.sort()),t},_7=e=>({cache:M7(e.cacheSize),parseClassName:R7(e),...k7(e)}),N7=/\s+/,F7=(e,t)=>{let{parseClassName:r,getClassGroupId:a,getConflictingClassGroupIds:n}=t,o=[],i=e.trim().split(N7),s="";for(let l=i.length-1;l>=0;l-=1){let u=i[l],{modifiers:d,hasImportantModifier:c,baseClassName:f,maybePostfixModifierPosition:p}=r(u),v=!!p,m=a(v?f.substring(0,p):f);if(!m){if(!v){s=u+(s.length>0?" "+s:s);continue}if(m=a(f),!m){s=u+(s.length>0?" "+s:s);continue}v=!1}let w=D7(d).join(":"),h=c?w+EO:w,g=h+m;if(o.includes(g))continue;o.push(g);let y=n(m,v);for(let S=0;S<y.length;++S){let x=y[S];o.push(h+x)}s=u+(s.length>0?" "+s:s)}return s};function B7(){let e=0,t,r,a="";for(;e<arguments.length;)(t=arguments[e++])&&(r=OO(t))&&(a&&(a+=" "),a+=r);return a}var OO=e=>{if(typeof e=="string")return e;let t,r="";for(let a=0;a<e.length;
vendor: 4,222 bytes, line 16
16a++)e[a]&&(t=OO(e[a]))&&(r&&(r+=" "),r+=t);return r};function j7(e,...t){let r,a,n,o=i;function i(l){let u=t.reduce((d,c)=>c(d),e());return r=_7(u),a=r.cache.get,n=r.cache.set,o=s,s(l)}function s(l){let u=a(l);if(u)return u;let d=F7(l,r);return n(l,d),d}return function(){return o(B7.apply(null,arguments))}}var je=e=>{let t=r=>r[e]||[];return t.isThemeGetter=!0,t},MO=/^\[(?:([a-z-]+):)?(.+)\]$/i,U7=/^\d+\/\d+$/,V7=new Set(["px","full","screen"]),q7=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,z7=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,H7=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,W7=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,G7=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,En=e=>yl(e)||V7.has(e)||U7.test(e),Co=e=>xl(e,"length",eG),yl=e=>!!e&&!Number.isNaN(Number(e)),Ub=e=>xl(e,"number",yl),_d=e=>!!e&&Number.isInteger(Number(e)),$7=e=>e.endsWith("%")&&yl(e.slice(0,-1)),ce=e=>MO.test(e),Lo=e=>q7.test(e),X7=new Set(["length","size","percentage"]),K7=e=>xl(e,X7,RO),Y7=e=>xl(e,"position",RO),Q7=new Set(["image","url"]),Z7=e=>xl(e,Q7,rG),J7=e=>xl(e,"",tG),Nd=()=>!0,xl=(e,t,r)=>{let a=MO.exec(e);return a?a[1]?typeof t=="string"?a[1]===t:t.has(a[1]):r(a[2]):!1},eG=e=>z7.test(e)&&!H7.test(e),RO=()=>!1,tG=e=>W7.test(e),rG=e=>G7.test(e);var aG=()=>{let e=je("colors"),t=je("spacing"),r=je("blur"),a=je("brightness"),n=je("borderColor"),o=je("borderRadius"),i=je("borderSpacing"),s=je("borderWidth"),l=je("contrast"),u=je("grayscale"),d=je("hueRotate"),c=je("invert"),f=je("gap"),p=je("gradientColorStops"),v=je("gradientColorStopPositions"),m=je("inset"),w=je("margin"),h=je("opacity"),g=je("padding"),y=je("saturate"),S=je("scale"),x=je("sepia"),b=je("skew"),C=je("space"),P=je("translate"),O=()=>["auto","contain","none"],R=()=>["auto","hidden","clip","visible","scroll"],N=()=>["auto",ce,t],F=()=>[ce,t],q=()=>["",En,Co],H=()=>["auto",yl,ce],z=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],L=()=>["solid","dashed","dotted","double","none"],I=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],A=()=>["start","end","center","between","around","evenly","stretch"],k=()=>["","0",ce],E=()=>["auto","avoid","all","avoid-page","page","left","right","column"],T=()=>[yl,ce];return{cacheSize:500,separator:":",theme:{colors:[Nd],spacing:[En,Co],blur:["none","",Lo,ce],brightness:T(),borderColor:[e],borderRadius:["none","","full",Lo,ce],borderSpacing:F(),borderWidth:q(),contrast:T(),grayscale:k(),hueRotate:T(),invert:k(),gap:F(),gradientColorStops:[e],gradientColorStopPositions:[$7,Co],inset:N(),margin:N(),opacity:T(),padding:F(),saturate:T(),scale:T(),sepia:k(),skew:T(),space:F(),translate:F()},classGroups:{aspect:[{aspect:["auto","square","video",ce]}],container:["container"],columns:[{columns:[Lo]}],"break-after":[{"break-after":E()}],"break-before":[{"break-before":E()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[...z(),ce]}],overflow:[{overflow:R()}],"overflow-x":[{"overflow-x":R()}],"overflow-y":[{"overflow-y":R()}],overscroll:[{overscroll:O()}],"overscroll-x":[{"overscroll-x":O()}],"overscroll-y":[{"overscroll-y":O()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[m]}],"inset-x":[{"inset-x":[m]}],"inset-y":[{"inset-y":[m]}],start:[{start:[m]}],end:[{end:[m]}],top:[{top:[m]}
vendor: 9,947 bytes, line 16
16],right:[{right:[m]}],bottom:[{bottom:[m]}],left:[{left:[m]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",_d,ce]}],basis:[{basis:N()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",ce]}],grow:[{grow:k()}],shrink:[{shrink:k()}],order:[{order:["first","last","none",_d,ce]}],"grid-cols":[{"grid-cols":[Nd]}],"col-start-end":[{col:["auto",{span:["full",_d,ce]},ce]}],"col-start":[{"col-start":H()}],"col-end":[{"col-end":H()}],"grid-rows":[{"grid-rows":[Nd]}],"row-start-end":[{row:["auto",{span:[_d,ce]},ce]}],"row-start":[{"row-start":H()}],"row-end":[{"row-end":H()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",ce]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",ce]}],gap:[{gap:[f]}],"gap-x":[{"gap-x":[f]}],"gap-y":[{"gap-y":[f]}],"justify-content":[{justify:["normal",...A()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...A(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...A(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[g]}],px:[{px:[g]}],py:[{py:[g]}],ps:[{ps:[g]}],pe:[{pe:[g]}],pt:[{pt:[g]}],pr:[{pr:[g]}],pb:[{pb:[g]}],pl:[{pl:[g]}],m:[{m:[w]}],mx:[{mx:[w]}],my:[{my:[w]}],ms:[{ms:[w]}],me:[{me:[w]}],mt:[{mt:[w]}],mr:[{mr:[w]}],mb:[{mb:[w]}],ml:[{ml:[w]}],"space-x":[{"space-x":[C]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[C]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",ce,t]}],"min-w":[{"min-w":[ce,t,"min","max","fit"]}],"max-w":[{"max-w":[ce,t,"none","full","min","max","fit","prose",{screen:[Lo]},Lo]}],h:[{h:[ce,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[ce,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[ce,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[ce,t,"auto","min","max","fit"]}],"font-size":[{text:["base",Lo,Co]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",Ub]}],"font-family":[{font:[Nd]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",ce]}],"line-clamp":[{"line-clamp":["none",yl,Ub]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",En,ce]}],"list-image":[{"list-image":["none",ce]}],"list-style-type":[{list:["none","disc","decimal",ce]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[h]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[h]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...L(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",En,Co]}],"underline-offset":[{"underline-offset":["auto",En,ce]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:F()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",ce]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",ce]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[h]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...z(),Y7]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",K7]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},Z7]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[v]}],"gradient-via-pos":[{via:[v]}],"gradient-to-pos":[{to:[v]}],"gradient-from":[{from:[p]}],"gradient-via":[{via:[p]}],"gradient-to":[{to:[p]}],rounded:[{rounded:[o]}],"rounded-s":[{"rounded-s":[o]}],"rounded-e":[{"rounded-e":[o]}],"rounded-t":[{"rounded-t":[o]}],"rounded-r":[{"rounded-r":[o]}],"rounded-b":[{"rounded-b":[o]}],"rounded-l":[{"rounded-l":[o]}],"rounded-ss":[{"rounded-ss":[o]}],"rounded-se":[{"rounded-se":[o]}],"rounded-ee":[{"rounded-ee":[o]}],"rounded-es":[{"rounded-es":[o]}],"rounded-tl":[{"rounded-tl":[o]}],"rounded-tr":[{"rounded-tr":[o]}],"rounded-br":[{"rounded-br":[o]}],"rounded-bl":[{"rounded-bl":[o]}],"border-w":[{border:[s]}],"border-w-x":[{"border-x":[s]}],"border-w-y":[{"border-y":[s]}],"border-w-s":[{"border-s":[s]}],"border-w-e":[{"border-e":[s]}],"border-w-t":[{"border-t":[s]}],"border-w-r":[{"border-r":[s]}],"border-w-b":[{"border-b":[s]}],"border-w-l":[{"border-l":[s]}],"border-opacity":[{"border-opacity":[h]}],"border-style":[{border:[...L(),"hidden"]}],"divide-x":[{"divide-x":[s]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[s]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[h]}],"divide-style":[{divide:L()}],"border-color":[{border:[n]}],"border-color-x":[{"border-x":[n]}],"border-color-y":[{"border-y":[n]}],"border-color-s":[{"border-s":[n]}],"border-color-e":[{"border-e":[n]}],"border-color-t":[{"border-t":[n]}],"border-color-r":[{"border-r":[n]}],"border-color-b":[{"border-b":[n]}],"border-color-l":[{"border-l":[n]}],"divide-color":[{divide:[n]}],"outline-style":[{outline:["",...L()]}],"outline-offset":[{"outline-offset":[En,ce]}],"outline-w":[{outline:[En,Co]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:q()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[h]}],"ring-offset-w":[{"ring-offset":[En,Co]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",Lo,J7]}],"shadow-color":[{shadow:[Nd]}],opacity:[{opacity:[h]}],"mix-blend":[{"mix-blend":[...I(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":I()}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[a]}],contrast:[{contrast:[l]}],"drop-shadow":[{"drop-shadow":["","none",Lo,ce]}],grayscale:[{grayscale:[u]}],"hue-rotate":[{"hue-rotate":[d]}],invert:[{invert:[c]}],saturate:[{saturate:[y]}],sepia:[{sepia:[x]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[r]}],"backdrop-brightness":[{"backdrop-brightness":[a]}],"backdrop-contrast":[{"backdrop-contrast":[l]}],"backdrop-grayscale":[{"backdrop-grayscale":[u]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[d]}],"backdrop-invert":[{"backdrop-invert":[c]}],"backdrop-opacity":[{"backdrop-opacity":[h]}],"backdrop-saturate":[{"backdrop-saturate":[y]}],"backdrop-sepia":[{"backdrop-sepia":[x]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[i]}],"border-spacing-x":[{"border-spacing-x":[i]}],"border-spacing-y":[{"border-spacing-y":[i]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",ce]}],duration:[{duration:T()}],ease:[{ease:["linear","in","out","in-out",ce]}],delay:[{delay:T()}],animate:[{animate:["none","spin","ping","pulse","bounce",ce]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[S]}],"scale-x":[{"scale-x":[S]}],"scale-y":[{"scale-y":[S]}],rotate:[{rotate:[_d,ce]}],"translate-x":[{"translate-x":[P]}],"translate-y":[{"translate-y":[P]}],"skew-x":[{"skew-x":[b]}],"skew-y":[{"skew-y":[b]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",ce]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",ce]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":F()}],"scroll-mx":[{"scroll-mx":F()}],"scroll-my":[{"scroll-my":F()}],"scroll-ms":[{"scroll-ms":F()}],"scroll-me":[{"scroll-me":F()}],"scroll-mt":[{"scroll-mt":F()}],"scroll-mr":[{"scroll-mr":F()}],"scroll-mb":[{"scroll-mb":F()}],"scroll-ml":[{"scroll-ml":F()}],"scroll-p":[{"scroll-p":F()}],"scroll-px":[{"scroll-px":F()}],"scroll-py":[{"scroll-py":F()}],"scroll-ps":[{"scroll-ps":F()}],"scroll-pe":[{"scroll-pe":F()}],"scroll-pt":[{"scroll-pt":F()}],"scroll-pr":[{"scroll-pr":F()}],"scroll-pb":[{"scroll-pb":F()}],"scroll-pl":[{"scroll-pl":F()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}
16],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",ce]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[En,Co,Ub]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}};var DO=j7(aG);function vg(...e){return DO(jb(e))}var rt=D(Me());function zb({article:e,index:t}){let[r,a]=(0,_O.useState)(!1),n=e.fieldValues["/attributes/@cat02"],o=e.fieldValues["/attributes/@feed2"],i=e.fieldValues["/attributes/@read2"],s=e.fieldValues["/attributes/@link2"],l=e.fieldValues["/text"],u=async()=>{a(!0);try{(await fetch(`/api/taskade/projects/r598oEy3CWus29Jv/nodes/${e.id}`,{method:"PATCH",headers:{"Content-Type":"application/json"},body:JSON.stringify({"/attributes/@read2":"read"})})).ok?(Da.success("\u2705 Marked as read!"),window.location.reload()):Da.error("Failed to update")}catch(v){console.error("Error updating article:",v),Da.error("Error updating article")}finally{a(!1)}},d=()=>{s&&window.open(s,"_blank")},c={tech:"from-violet-500/20 to-purple-500/20 border-violet-500/30",hobby:"from-cyan-500/20 to-sky-500/20 border-cyan-500/30",news:"from-emerald-500/20 to-green-500/20 border-emerald-500/30",lifestyle:"from-amber-500/20 to-orange-500/20 border-amber-500/30"},f={tech:"bg-violet-500/20 text-violet-400 border-violet-500/30",hobby:"bg-cyan-500/20 text-cyan-400 border-cyan-500/30",news:"bg-emerald-500/20 text-emerald-400 border-emerald-500/30",lifestyle:"bg-amber-500/20 text-amber-400 border-amber-500/30"},p=i==="unread";return(0,rt.jsx)(yt.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.3,delay:t*.05},className:vg("relative group border-b border-white/5 backdrop-blur-xl p-4 transition-all duration-300","bg-gradient-to-br",c[n]||"from-gray-500/20 to-gray-600/20 border-gray-500/30","hover:bg-white/5 hover:border-violet-500/30",p&&"border-l-2 border-l-violet-500"),
16children:(0,rt.jsxs)("div",{className:"relative",children:[(0,rt.jsxs)("div",{className:"flex items-start justify-between mb-2",children:[(0,rt.jsxs)("div",{className:"flex items-center gap-3",children:[(0,rt.jsx)("div",{className:"w-10 h-10 rounded-full bg-gradient-to-br from-violet-500 to-purple-600 flex items-center justify-center text-sm font-semibold shadow-lg shadow-violet-500/20",children:(0,rt.jsx)(ha,{className:"w-5 h-5"})}),(0,rt.jsxs)("div",{children:[(0,rt.jsx)("h3",{className:vg("font-semibold text-white",p&&"font-bold"),children:l}),(0,rt.jsxs)("div",{className:"flex items-center gap-2 text-xs text-gray-400",children:[(0,rt.jsx)("span",{children:o}),(0,rt.jsx)("span",{children:"\u2022"}),(0,rt.jsx)(kn,{className:"w-3 h-3"}),(0,rt.jsx)("span",{children:"Just now"})]})]})]}),(0,rt.jsx)("div",{className:"flex items-center gap-2",children:(0,rt.jsx)("span",{className:vg("px-2 py-1 rounded-full text-xs font-medium border capitalize",f[n]||"bg-gray-500/20 text-gray-400 border-gray-500/30"),children:n})})]}),(0,rt.jsxs)("div",{className:"flex items-center gap-2 mt-3 opacity-0 group-hover:opacity-100 transition-opacity",children:[p&&(0,rt.jsxs)("button",{onClick:u,disabled:r,className:"flex items-center gap-1 px-3 py-1.5 rounded-lg bg-violet-500/20 hover:bg-violet-500/30 border border-violet-500/30 text-violet-400 text-xs font-medium transition-all disabled:opacity-50",children:[(0,rt.jsx)(Li,{className:"w-3 h-3"}),"Mark as Read"]}),(0,rt.jsxs)("button",{onClick:d,disabled:!s,className:"flex items-center gap-1 px-3 py-1.5 rounded-lg bg-white/5 hover:bg-white/10 border border-white/10 text-gray-400 text-xs font-medium transition-all disabled:opacity-50 disabled:cursor-not-allowed",children:[(0,rt.jsx)(Ed,{className:"w-3 h-3"}),"Open"]})]})]})})}var oe=D(Me());function Hb(){let[e,t]=(0,ki.useState)([]),[r,a]=(0,ki.useState)(!0),[n,o]=(0,ki.useState)(!1),[i,s]=(0,ki.useState)("all");(0,ki.useEffect)(()=>
16{l()},[]);let l=async()=>{try{let p=await(await fetch("/api/taskade/projects/r598oEy3CWus29Jv/nodes")).json();t(p.payload?.nodes||[])}catch(f){console.error("Error fetching articles:",f)}finally{a(!1)}},u=async()=>{o(!0),await l(),o(!1)},d=e.filter(f=>i==="all"?!0:i==="unread"?f.fieldValues["/attributes/@read2"]==="unread":f.fieldValues["/attributes/@cat02"]===i),c=e.filter(f=>f.fieldValues["/attributes/@read2"]==="unread").length;return(0,oe.jsxs)("div",{className:"min-h-screen bg-gradient-to-br from-gray-900 via-gray-800 to-gray-900 text-white relative overflow-hidden",children:[(0,oe.jsx)(Bb,{}),(0,oe.jsxs)("div",{className:"relative z-10",children:[(0,oe.jsx)("header",{className:"border-b border-white/10 backdrop-blur-xl bg-black/20",children:(0,oe.jsx)("div",{className:"max-w-7xl mx-auto px-6 py-4",children:(0,oe.jsxs)("div",{className:"flex items-center justify-between",children:[(0,oe.jsxs)("div",{className:"flex items-center gap-4",children:[(0,oe.jsx)("div",{className:"p-3 rounded-xl bg-gradient-to-br from-violet-500 to-purple-600 shadow-lg shadow-violet-500/20",children:(0,oe.jsx)(ha,{className:"w-6 h-6"})}),(0,oe.jsxs)("div",{children:[(0,oe.jsx)("h1",{className:"text-2xl font-bold bg-gradient-to-r from-violet-400 to-purple-400 bg-clip-text text-transparent",children:"RSS Feed Reader"}),(0,oe.jsx)("p",{className:"text-sm text-gray-400",children:"Your personalized news aggregator"})]})]}),(0,oe.jsxs)("div",{className:"flex items-center gap-3",children:[(0,oe.jsxs)("button",{onClick:u,disabled:n,className:"flex items-center gap-2 px-4 py-2 rounded-lg bg-white/5 hover:bg-white/10 border border-white/10 hover:border-violet-500/30 transition-all",children:[(0,oe.jsx)(Ii,{className:`w-4 h-4 text-violet-400 ${n?"animate-spin":""}`}),(0,oe.jsx)("span",{className:"text-sm font-medium",children:"Refresh"})]}),(0,oe.jsxs)(Vc,{to:"/rss-feeds",className:"flex items-center gap-2 px-4 py-2 rounded-lg bg-violet-500/20 hover:bg-violet-500/30 border border-violet-500/30 hover:border-violet-500/50 transition-all text-violet-400 font-medium",children:[(0,oe.jsx)(Tn,{className:"w-4 h-4"}),"Add Feeds"]}),(0,oe.jsxs)("button",{className:"relative p-2 rounded-lg hover:bg-white/5 transition-colors",children:[(0,oe.jsx)(Ad,{className:"w-5 h-5 text-gray-400"}),c>0&&(0,oe.jsx)("span",{className:"absolute top-1 right-1 w-2 h-2 bg-violet-500 rounded-full shadow-lg shadow-violet-500/50"})]}),(0,oe.jsx)("button",{className:"p-2 rounded-lg hover:bg-white/5 transition-colors",children:(0,oe.jsx)(Od,{className:"w-5 h-5 text-gray-400"})}),(0,oe.jsx)("div",{className:"w-10 h-10 rounded-full bg-gradient-to-br from-violet-500 to-purple-600 flex items-center justify-center shadow-lg shadow-violet-500/20",children:(0,oe.jsx)(Dd,{className:"w-5 h-5"})})]})]})})}),(0,oe.jsx)("div",{className:"max-w-7xl mx-auto px-6 py-4",children:(0,oe.jsxs)("div",{className:"flex items-center gap-3",children:[(0,oe.jsx)(So,{className:"w-4 h-4 text-gray-400"}),(0,oe.jsx)("div",{className:"flex gap-2",children:["all","unread","tech","hobby","news","lifestyle"].map(f=>(0,oe.jsxs)("button",{onClick:()=>s(f),className:`px-4 py-1.5 rounded-lg text-sm font-medium transition-all capitalize ${i===f?"bg-violet-500/30 text-violet-400 border border-violet-500/50":"bg-white/5 text-gray-400 border border-white/10 hover:bg-white/10"}`,children:[f,f==="unread"&&c>0&&(0,oe.jsx)("span",{className:"ml-2 px-1.5 py-0.5 rounded-full bg-violet-500/30 text-xs",children:c})]},f))})]})}),(0,oe.jsx)("div",{className:"max-w-7xl mx-auto px-6 mb-6",children:(0,oe.jsx)(Vc,{to:"/rss-feeds",className:"block p-8 rounded-3xl bg-gradient-to-r from-violet-500/20 to-purple-500/20 border-2 border-violet-500/50 hover:border-violet-400 transition-all group",children:(0,oe.jsxs)("div",{className:"flex items-center justify-between",children:[(0,oe.jsxs)("div",{className:"flex items-center gap-6",children:[(0,oe.jsx)("div",{className:"w-20 h-20 rounded-2xl bg-violet-500/30 flex items-center justify-center group-hover:scale-110 transition-transform",children:(0,oe.jsx)(ha,{className:"w-10 h-10 text-violet-400"})}),(0,oe.jsxs)("div",{children:[(0,oe.jsx)("h2",{className:"text-3xl font-bold text-white mb-2",children:"\u{1F4E1} Manage Your RSS Feeds"}),(0,oe.jsx)("p",{className:"text-lg text-gray-300",children:"Click here to see all 18 feeds in a 2-column grid layout"})]})]}),(0,oe.jsx)("div",{className:"text-6xl group-hover:translate-x-2 transition-transform",children:"\u2192"})]})})}),(0,oe.jsx)("main",{className:"max-w-7xl mx-auto px-6 pb-12",children:r?(0,oe.jsx)("div",{className:"flex items-center justify-center h-64",children:(0,oe.jsx)("div",{className:"w-8 h-8 border-2 border-violet-500 border-t-transparent roun
16ded-full animate-spin"})}):d.length===0?(0,oe.jsxs)("div",{className:"text-center py-16",children:[(0,oe.jsx)(ha,{className:"w-16 h-16 text-gray-600 mx-auto mb-4"}),(0,oe.jsx)("h3",{className:"text-xl font-semibold text-gray-400 mb-2",children:"No articles yet"}),(0,oe.jsx)("p",{className:"text-gray-500 mb-6",children:"Add some RSS feeds to get started"}),(0,oe.jsxs)("a",{href:"/rss-feeds",className:"inline-flex items-center gap-2 px-6 py-3 rounded-lg bg-violet-500/20 hover:bg-violet-500/30 border border-violet-500/30 text-violet-400 font-medium transition-all",children:[(0,oe.jsx)(Tn,{className:"w-5 h-5"}),"Add Your First Feed"]})]}):(0,oe.jsx)("div",{className:"space-y-3",children:d.map((f,p)=>(0,oe.jsx)(zb,{article:f,index:p},f.id))})})]})]})}var Za=D(K());var jg=D(K());var s1=D(Ti()),Ll=D(va()),NR=D(Lg()),FR=D(dt()),BR=D(qr()),Il=D(K()),jR=D(CR());var _g=D(Lg()),r1=D(t1()),PR=D(Ti()),kR=D(e1()),nK=D(va()),qt=function(t){return t===0?0:t>0?1:-1},On=function(t){return(0,_g.default)(t)&&t.indexOf("%")===t.length-1},X=function(t){return(0,kR.default)(t)&&!(0,r1.default)(t)};var Re=function(t){return X(t)||(0,_g.default)(t)},oK=0,Po=function(t){var r=++oK;return"".concat(t||"").concat(r)},xt=function(t,r){var a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0,n=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;if(!X(t)&&!(0,_g.default)(t))return a;var o;if(On(t)){var i=t.indexOf("%");o=r*parseFloat(t.slice(0,i))/100}else o=+t;return(0,r1.default)(o)&&(o=a),n&&o>r&&(o=r),o},Ei=function(t){if(!t)return null;var r=Object.keys(t);return r&&r.length?t[r[0]]:null},AR=function(t){if(!Array.isArray(t))return!1;for(var r=t.length,a={},n=0;n<r;n++)if(!a[t[n]])a[t[n]]=!0;else return!0;return!1},a1=function(t,r){return X(t)&&X(r)?function(a){return t+a*(r-t)}:function(){return r}};function zd(e,t,r){return!e||!e.length?null:e.find(function(a){return a&&(typeof t=="function"?t(a):(0,PR.default)(a,t))===r})}function Hd(e,t){for(var r in e)if({}.hasOwnProperty.call(e,r)&&(!{}.hasOwnProperty.call(t,r)||e[r]!==t[r]))return!1;for(var a in t)if({}.hasOwnProperty.call(t,a)&&!{}.hasOwnProperty.call(e,a))return!1;return!0}var ER=D(K()),o1=D(qr());function n1(e){"@babel/helpers - typeof";return n1=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n1(e)}var iK=["viewBox","children"],OR=["aria-activedescendant","aria-atomic","aria-autocomplete","aria-busy","aria-checked","aria-colcount","aria-colindex","aria-colspan","aria-controls","aria-current","aria-describedby","aria-details","aria-disabled","aria-errormessage","aria-expanded","aria-flowto","aria-haspopup","aria-hidden","aria-invalid","aria-keyshortcuts","aria-label","aria-labelledby","aria-level","aria-live","aria-modal","aria-multiline","aria-multiselectable","aria-orientation","aria-owns","aria-placeholder","aria-posinset","aria-pressed","aria-readonly","aria-relevant","aria-required","aria-roledescription","aria-rowcount","aria-rowindex","aria-rowspan","aria-selected","aria-setsize","aria-sort","aria-valuemax","aria-valuemin","aria-valuenow","aria-valuetext","className","color","height","id","lang","max","media","method","min","name","style","target","width","role","tabIndex","accentHeight","accumulate","additive","alignmentBaseline","allowReorder","alphabetic","amplitude","arabicForm","ascent","attributeName","attributeType","autoReverse","azimuth","baseFrequency","baselineShift","baseProfile","bbox","begin","bias","by","calcMode","capHeight","clip","clipPath","clipPathUnits","clipRule","colorInterpolation","colorInterpolationFilters","colorProfile","colorRendering","contentScriptType","contentStyleType","cursor","cx","cy","d","decelerate","descent","diffuseConstant","direction","display","divisor","dominantBaseline","dur","dx","dy","edgeMode","elevation","enableBackground","end","exponent","externalResourcesRequired","fill","fillOpacity","fillRule","filter","filterRes","filterUnits","floodColor","floodOpacity","focusable","fontFamily","fontSize","fontSizeAdjust","fontStretch","fontStyle","fontVariant","fontWeight","format","from","fx","fy","g1","g2","glyphName","glyphOrientationHorizontal","glyphOrientationVertical","glyphRef","gradientTransform","gradientUnits","hanging","horizAdvX","horizOriginX","href","ideographic","imageRendering","in2","in","intercept","k1","k2","k3","k4","k","kernelMatrix","kernelUnitLength","kerning","keyPoints","keySplines","keyTimes","lengthAdjust","letterSpacing","lightingColor","limitingConeAngle","local","markerEnd","markerHeight","markerMid","markerStart","markerUnits","markerWidth","mask","maskContentUnits","maskUnits","mathematical","mode","numOctaves","offset","opacity","operator","order","orient","orientation","origin","overflow","overlinePosition","overlineThickness","paintOrder","panose1","pathLength","patternContentUnits","patternTransform","patternUnits","pointerEvents","pointsAtX","pointsAtY","pointsAtZ","preserveAlpha","preserveAspectRatio","primitiveUnits","r","radius","refX","refY","renderingIntent","repeatCount","repeatDur","requiredExtensions","requiredFeatures","restart","result","rotate","rx","ry","seed","shapeRendering","slope","spacing","specularConstant","specularExponent","speed","spreadMethod","startOffset","stdDeviation","stemh","stemv","stitchTiles","stopColor","stopOpacity","strikethroughPosition","strikethroughThickness","string","stroke","strokeDasharray","strokeDashoffset","strokeLinecap","strokeLinejoin","strokeMiterlimit","strokeOpacity","strokeWidth","surfaceScale","systemLanguage","tableValues","targetX","targetY","textAnchor","textDecoration","textLength","textRendering","to","transform","u1","u2","underlinePosition","underlineThickness","unicode","unicodeBidi","unicodeRange","unitsPerEm","vAlphabetic","values","vectorEffect","version","vertAdvY","vertOriginX","vertOriginY","vHanging","vIdeographic","viewTarget","visibility","vMathematical","widths","wordSpacing","writingMode","x1","x2","x","xChannelSelector","xHeight","xlinkActuate","xlinkArcrole","xlinkHref","xlinkRole","xlinkShow","xlinkTitle","xlinkType","xmlBase","xmlLang","xmlns","xmlnsXlink","xmlSpace","y1","y2","y","yChannelSelector","z","zoomAndPan","ref","key","angle"],TR=["points","pathLength"],Ng={svg:iK,polygon:TR,polyline:TR},Fg=["dangerouslySetInnerHTML","onCopy","onCopyCapture","onCut","onCutCapture","onPaste","onPasteCapture","onCompositionEnd","onCompositionEndCapture","onCompositionStart","onCompositionStartCapture","onCompositionUpdate","onCompositionUpdateCapture","onF
16ocus","onFocusCapture","onBlur","onBlurCapture","onChange","onChangeCapture","onBeforeInput","onBeforeInputCapture","onInput","onInputCapture","onReset","onResetCapture","onSubmit","onSubmitCapture","onInvalid","onInvalidCapture","onLoad","onLoadCapture","onError","onErrorCapture","onKeyDown","onKeyDownCapture","onKeyPress","onKeyPressCapture","onKeyUp","onKeyUpCapture","onAbort","onAbortCapture","onCanPlay","onCanPlayCapture","onCanPlayThrough","onCanPlayThroughCapture","onDurationChange","onDurationChangeCapture","onEmptied","onEmptiedCapture","onEncrypted","onEncryptedCapture","onEnded","onEndedCapture","onLoadedData","onLoadedDataCapture","onLoadedMetadata","onLoadedMetadataCapture","onLoadStart","onLoadStartCapture","onPause","onPauseCapture","onPlay","onPlayCapture","onPlaying","onPlayingCapture","onProgress","onProgressCapture","onRateChange","onRateChangeCapture","onSeeked","onSeekedCapture","onSeeking","onSeekingCapture","onStalled","onStalledCapture","onSuspend","onSuspendCapture","onTimeUpdate","onTimeUpdateCapture","onVolumeChange","onVolumeChangeCapture","onWaiting","onWaitingCapture","onAuxClick","onAuxClickCapture","onClick","onClickCapture","onContextMenu","onContextMenuCapture","onDoubleClick","onDoubleClickCapture","onDrag","onDragCapture","onDragEnd","onDragEndCapture","onDragEnter","onDragEnterCapture","onDragExit","onDragExitCapture","onDragLeave","onDragLeaveCapture","onDragOver","onDragOverCapture","onDragStart","onDragStartCapture","onDrop","onDropCapture","onMouseDown","onMouseDownCapture","onMouseEnter","onMouseLeave","onMouseMove","onMouseMoveCapture","onMouseOut","onMouseOutCapture","onMouseOver","onMouseOverCapture","onMouseUp","onMouseUpCapture","onSelect","onSelectCapture","onTouchCancel","onTouchCancelCapture","onTouchEnd","onTouchEndCapture","onTouchMove","onTouchMoveCapture","onTouchStart","onTouchStartCapture","onPointerDown","onPointerDownCapture","onPointerMove","onPointerMoveCapture","onPointerUp","onPointerUpCapture","onPointerCancel","onPointerCancelCapture","onPointerEnter","onPointerEnterCapture","onPointerLeave","onPointerLeaveCapture","onPointerOver","onPointerOverCapture","onPointerOut","onPointerOutCapture","onGotPointerCapture","onGotPointerCaptureCapture","onLostPointerCapture","onLostPointerCaptureCapture","onScroll","onScrollCapture","onWheel","onWheelCapture","onAnimationStart","onAnimationStartCapture","onAnimationEnd","onAnimationEndCapture","onAnimationIteration","onAnimationIterationCapture","onTransitionEnd","onTransitionEndCapture"],Oi=function(t,r){if(!t||typeof t=="function"||typeof t=="boolean")return null;var a=t;if((0,ER.isValidElement)(t)&&(a=t.props),!(0,o1.default)(a))return null;var n={};return Object.keys(a).forEach(function(o){Fg.includes(o)&&(n[o]=r||function(i){return a[o](a,i)})}),n},sK=function(t,r,a){return function(n){return t(r,a,n),null}},ko=function(t,r,a){if(!(0,o1.default)(t)||n1(t)!=="object")return null;var n=null;return Object.keys(t).forEach(function(o){var i=t[o];Fg.includes(o)&&typeof i=="function"&&(n||(n={}),n[o]=sK(i,r,a))}),n};var lK=["children"],uK=["children"];function MR(e,t){if(e==null)return{};var r=cK(e,t),a,n;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)a=o[n],!(t.indexOf(a)>=0)&&Object.prototype.propertyIsEnumerable.call(e,a)&&(r[a]=e[a])}return r}function cK(e,t){if(e==null)return{};var r={};for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){if(t.indexOf(a)>=0)continue;r[a]=e[a]}return r}var RR={click:"onClick",mousedown:"onMouseDown",mouseup:"onMouseUp",mouseover:"onMouseOver",mousemove:"onMouseMove",mouseout:"onMouseOut",mouseenter:"onMouseEnter",mouseleave:"onMouseLeave",touchcancel:"onTouchCancel",touchend:"onTouchEnd",touchmove:"onTouchMove",touchstart:"onTouchStart",contextmenu:"onContextMenu",dblclick:"onDoubleClick"};var Hr=function(t){return typeof t=="string"?t:t?t.displayName||t.name||"Component":""},DR=null,i1=null,l1=function e(t){if(t===DR&&Array.isArray(i1))return i1;var r=[];return Il.Children.forEach(t,function(a){(0,Ll.default)(a)||((0,jR.isFragment)(a)?r=r.concat(e(a.props.children)):r.push(a))}),i1=r,DR=t,r};function zt(e,t){var r=[],a=[];return Array.isArray(t)?a=t.map(function(n){return Hr(n)}):a=[Hr(t)],l1(e).forEach(function(n){var o=(0,s1.default)(n,"type.displayName")||(0,s1.default)(n,"type.n
16ame");a.indexOf(o)!==-1&&r.push(n)}),r}function cr(e,t){var r=zt(e,t);return r&&r[0]}var u1=function(t){if(!t||!t.props)return!1;var r=t.props,a=r.width,n=r.height;return!(!X(a)||a<=0||!X(n)||n<=0)},dK=["a","altGlyph","altGlyphDef","altGlyphItem","animate","animateColor","animateMotion","animateTransform","circle","clipPath","color-profile","cursor","defs","desc","ellipse","feBlend","feColormatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","filter","font","font-face","font-face-format","font-face-name","font-face-url","foreignObject","g","glyph","glyphRef","hkern","image","line","lineGradient","marker","mask","metadata","missing-glyph","mpath","path","pattern","polygon","polyline","radialGradient","rect","script","set","stop","style","svg","switch","symbol","text","textPath","title","tref","tspan","use","view","vkern"],fK=function(t){return t&&t.type&&(0,NR.default)(t.type)&&dK.indexOf(t.type)>=0};var pK=function(t,r,a,n){var o,i=(o=Ng===null||Ng===void 0?void 0:Ng[n])!==null&&o!==void 0?o:[];return r.startsWith("data-")||!(0,FR.default)(t)&&(n&&i.includes(r)||OR.includes(r))||a&&Fg.includes(r)};var re=function(t,r,a){if(!t||typeof t=="function"||typeof t=="boolean")return null;var n=t;if((0,Il.isValidElement)(t)&&(n=t.props),!(0,BR.default)(n))return null;var o={};return Object.keys(n).forEach(function(i){var s;pK((s=n)===null||s===void 0?void 0:s[i],i,r,a)&&(o[i]=n[i])}),o},Bg=function e(t,r){if(t===r)return!0;var a=Il.Children.count(t);if(a!==Il.Children.count(r))return!1;if(a===0)return!0;if(a===1)return _R(Array.isArray(t)?t[0]:t,Array.isArray(r)?r[0]:r);for(var n=0;n<a;n++){var o=t[n],i=r[n];if(Array.isArray(o)||Array.isArray(i)){if(!e(o,i))return!1}else if(!_R(o,i))return!1}return!0},_R=function(t,r){if((0,Ll.default)(t)&&(0,Ll.default)(r))return!0;if(!(0,Ll.default)(t)&&!(0,Ll.default)(r)){var a=t.props||{},n=a.children,o=MR(a,lK),i=r.props||{},s=i.children,l=MR(i,uK);return n&&s?Hd(o,l)&&Bg(n,s):!n&&!s?Hd(o,l):!1}return!1},c1=function(t,r){var a=[],n={};return l1(t).forEach(function(o,i){if(fK(o))a.push(o);else if(o){var s=Hr(o.type),l=r[s]||{},u=l.handler,d=l.once;if(u&&(!d||!n[s])){var c=u(o,s,i);a.push(c),n[s]=!0}}}),a},UR=function(t){var r=t&&t.type;return r&&RR[r]?RR[r]:null},VR=function(t,r){return l1(r).indexOf(t)};var mK=["children","width","height","viewBox","className","style","title","desc"];function d1(){return d1=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var a in r)Object.prototype.hasOwnProperty.call(r,a)&&(e[a]=r[a])}return e},d1.apply(this,arguments)}function hK(e,t){if(e==null)return{};var r=gK(e,t),a,n;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)a=o[n],!(t.indexOf(a)>=0)&&Object.prototype.propertyIsEnumerable.call(e,a)&&(r[a]=e[a])}return r}function gK(e,t){if(e==null)return{};var r={};for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){if(t.indexOf(a)>=0)continue;r[a]=e[a]}return r}function Wd(e){var t=e.children,r=e.width,a=e.height,n=e.viewBox,o=e.className,i=e.style,s=e.title,l=e.desc,u=hK(e,mK),d=n||{width:r,height:a,x:0,y:0},c=ae("recharts-surface",o);return jg.default.createElement("svg",d1({},re(u,!0,"svg"),{className:c,width:r,height:a,style:i,viewBox:"".concat(d.x," ").concat(d.y," ").concat(d.width," ").concat(d.height)}),jg.default.createElement("title",null,s),jg.default.createElement("desc",null,l),t)}var p1=D(K());var vK=["children","className"];function f1(){return f1=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var a in r)Object.prototype.hasOwnProperty.call(r,a)&&(e[a]=r[a])}return e},f1.apply(this,arguments)}function yK(e,t){if(e==null)return{};var r=xK(e,t),a,n;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)a=o[n],!(t.indexOf(a)>=0)&&Object.prototype.propertyIsEnumerable.call(e,a)&&(r[a]=e[a])}return r}function xK(e,t){if(e==null)return{};var r={};for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){if(t.indexOf(a)>=0)continue;r[a]=e[a]}return r}var ye=p1.default.forwardRef(function(e,t){var r=e.children,a=e.className,n=yK(e,vK),o=ae("recharts-layer",a);return p1.default.createElement("g",f1({className:o},re(n,!0),{ref:t}),r)});var To=D(K());var Sr=D(K()),K1=D(dt());var wK=!1,Qt=function(t,r){for(var a=arguments.length,n=new Array(a>2?a-2:0),o=2;o<a;o++)n[o-2]=arguments[o];if(wK&&typeof console<"u"&&console.warn&&(r===void 0&&console.warn("LogUtils requires an error message argument"),!t))if(r===void 0)console.warn("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var i=0;console.warn(r.replace(/%s/g,function(){return n[i++]}))}};var PD=D(K()),G1=D(Ug());function Se(e){return function(){return e}}var v1=Math.cos;var Gd=Math.sin,kt=Math.sqrt;var Mi=Math.PI,AOe=Mi/2,Pl=2*Mi;var y1=Math.PI,x1=2*y1,Ri=1e-6,nY=x1-Ri;function lD(e){this._+=e[0];for(let t=1,r=e.length;t<r;++t)this._+=arguments[t]+e[t]}function oY(e){let t=Math.floor(e);if(!(t>=0))throw new Error(`invalid digits: ${e}`);if(t>15)return lD;let r=10**t;return function(a){this._+=a[0];for(let n=1,o=a.length;n<o;++n)this._+=Math.round(arguments[n]*r)/r+a[n]}}var Di=class{constructor(t){this._x0=this._y0=this._x1=this._y1=null,this._="",this._append=t==null?lD:oY(t)}moveTo(t,r){this._append`M${this._x0=this._x1=+t},${this._y0=this._y1=+r}`}closePath(){this._x1!==null&&(this._x1=this._x0,this._y1=this._y0,this._append`Z`)}lineTo(t,r){this._append`L${this._x1=+t},${this._y1=+r}`}quadraticCurveTo(t,r,a,n){this._append`Q${+t},${+r},${this._x1=+a},${this._y1=+n}`}bezierCurveTo(t,r,a,n,o,i){this._append`C${+t},${+r},${+a},${+n},${this._x1=+o},${this._y1=+i}`}arcTo(t,r,a,n,o){if(t=+t,r=+r,a=+a,n=+n,o=+o,o<0)throw new Error(`negative radius: ${o}`);let i=this._x1,s=this._y1,l=a-t,u=n-r,d=i-t,c=s-r,f=d*d+c*c;if(this._x1===null)this._append`M${this._x1=t},${this._y1=r}`;else if(f>Ri)if(!(Math.abs(c*l-u*d)>Ri)||!o)this._append`L${this._x1=t},${this._y1=r}`;else{let p=a-i,v=n-s,m=l*l+u*u,w=p*p+v*v,h=Math.sqrt(m),g=Math.sqrt(f),y=o*Math.tan((y1-Math.acos((m+f-w)/(2*h*g)))/2),S=y/g,x=y/h;Math.abs(S-1)>Ri&&this._append`L${t+S*d},${r+S*c}`,this._append`A${o},${o},0,0,${+(c*p>d*v)},${this._x1=t+x*l},${this._y1=r+x*u}`}}arc(t,r,a,n,o,i){if(t=+t,r=+r,a=+a,i=!!i,a<0)throw new Error(`negative radius: ${a}`);let s=a*Math.cos(n),l=a*Math.sin(n),u=t+s,d=r+l,c=1^i,f=i?n-o:o-n;this._x1===null?this._append`M${u},${d}`:(Math.abs(this._x1-u)>Ri||Math.abs(this._y1-d)>Ri)&&this._append`L${u},${d}`,a&&(f<0&&(f=f%x1+x1),f>nY?this._append`A${a},${a},0,1,${c},${t-s},${r-l}A${a},${a},0,1,${c},${this._x1=u},${this._y1=d}`:f>Ri&&this._append`A${a},${a},0,${+(f>=y1)},${c},${this._x1=t+a*Math.cos(o)},${this._y1=r+a*Math.sin(o)}`)}rect(t,r,a,n){this._append`M${this._x0=this._x1=+t},${this._y0=this._y1=+r}h${a=+a}v${+n}h${-a}Z`}toString(){return this._}};function uD(){return new Di}uD.prototype=Di.prototype;function kl(e){let t=3;return e.digits=function(r){if(!arguments.length)return t;if(r==null)t=null;else{let a=Math.floor(r);if(!(a>=0))throw new RangeError(`invalid digits: ${r}`);t=a}return e},()=>new Di(t)}var NOe=Array.prototype.slice;function Al(e){return typeof e=="object"&&"length"in e?e:Array.from(e)}function cD(e){this._context=e}cD.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;default:this._context.lineTo(e,t);break}}};
16function Ao(e){return new cD(e)}function Vg(e){return e[0]}function qg(e){return e[1]}function $d(e,t){var r=Se(!0),a=null,n=Ao,o=null,i=kl(s);e=typeof e=="function"?e:e===void 0?Vg:Se(e),t=typeof t=="function"?t:t===void 0?qg:Se(t);function s(l){var u,d=(l=Al(l)).length,c,f=!1,p;for(a==null&&(o=n(p=i())),u=0;u<=d;++u)!(u<d&&r(c=l[u],u,l))===f&&((f=!f)?o.lineStart():o.lineEnd()),f&&o.point(+e(c,u,l),+t(c,u,l));if(p)return o=null,p+""||null}return s.x=function(l){return arguments.length?(e=typeof l=="function"?l:Se(+l),s):e},s.y=function(l){return arguments.length?(t=typeof l=="function"?l:Se(+l),s):t},s.defined=function(l){return arguments.length?(r=typeof l=="function"?l:Se(!!l),s):r},s.curve=function(l){return arguments.length?(n=l,a!=null&&(o=n(a)),s):n},s.context=function(l){return arguments.length?(l==null?a=o=null:o=n(a=l),s):a},s}function Tl(e,t,r){var a=null,n=Se(!0),o=null,i=Ao,s=null,l=kl(u);e=typeof e=="function"?e:e===void 0?Vg:Se(+e),t=typeof t=="function"?t:t===void 0?Se(0):Se(+t),r=typeof r=="function"?r:r===void 0?qg:Se(+r);function u(c){var f,p,v,m=(c=Al(c)).length,w,h=!1,g,y=new Array(m),S=new Array(m);for(o==null&&(s=i(g=l())),f=0;f<=m;++f){if(!(f<m&&n(w=c[f],f,c))===h)if(h=!h)p=f,s.areaStart(),s.lineStart();else{for(s.lineEnd(),s.lineStart(),v=f-1;v>=p;--v)s.point(y[v],S[v]);s.lineEnd(),s.areaEnd()}h&&(y[f]=+e(w,f,c),S[f]=+t(w,f,c),s.point(a?+a(w,f,c):y[f],r?+r(w,f,c):S[f]))}if(g)return s=null,g+""||null}function d(){return $d().defined(n).curve(i).context(o)}return u.x=function(c){return arguments.length?(e=typeof c=="function"?c:Se(+c),a=null,u):e},u.x0=function(c){return arguments.length?(e=typeof c=="function"?c:Se(+c),u):e},u.x1=function(c){return arguments.length?(a=c==null?null:typeof c=="function"?c:Se(+c),u):a},u.y=function(c){return arguments.length?(t=typeof c=="function"?c:Se(+c),r=null,u):t},u.y0=function(c){return arguments.length?(t=typeof c=="function"?c:Se(+c),u):t},u.y1=function(c){return arguments.length?(r=c==null?null:typeof c=="function"?c:Se(+c),u):r},u.lineX0=u.lineY0=function(){return d().x(e).y(t)},u.lineY1=function(){return d().x(e).y(r)},u.lineX1=function(){return d().x(a).y(t)},u.defined=function(c){return arguments.length?(n=typeof c=="function"?c:Se(!!c),u):n},u.curve=function(c){return arguments.length?(i=c,o!=null&&(s=i(o)),u):i},u.context=function(c){return arguments.length?(c==null?o=s=null:s=i(o=c),u):o},u}var zg=class{constructor(t,r){this._context=t,this._x=r}areaStart(){this._line=0}areaEnd(){this._line=NaN}lineStart(){this._point=0}lineEnd(){(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line}point(t,r){switch(t=+t,r=+r,this._point){case 0:{this._point=1,this._line?this._context.lineTo(t,r):this._context.moveTo(t,r);break}case 1:this._point=2;default:{this._x?this._context.bezierCurveTo(this._x0=(this._x0+t)/2,this._y0,this._x0,r,t,r):this._context.bezierCurveTo(this._x0,this._y0=(this._y0+r)/2,t,this._y0,t,r);break}}this._x0=t,this._y0=r}};function w1(e){return new zg(e,!0)}function b1(e){return new zg(e,!1)}var El={draw(e,t){let r=kt(t/Mi);e.moveTo(r,0),e.arc(0,0,r,0,Pl)}};var S1={draw(e,t){let r=kt(t/5)/2;e.moveTo(-3*r,-r),e.lineTo(-r,-r),e.lineTo(-r,-3*r),e.lineTo(r,-3*r),e.lineTo(r,-r),e.lineTo(3*r,-r),e.lineTo(3*r,r),e.lineTo(r,r),e.lineTo(r,3*r),e.lineTo(-r,3*r),e.lineTo(-r,r),e.lineTo(-3*r,r),e.closePath()}};var dD=kt(1/3),iY=dD*2,C1={draw(e,t){let r=kt(t/iY),a=r*dD;e.moveTo(0,-r),e.lineTo(a,0),e.lineTo(0,r),e.lineTo(-a,0),e.closePath()}};var L1={draw(e,t){let r=kt(t),a=-r/2;e.rect(a,a,r,r)}};var sY=.8908130915292852,fD=Gd(Mi/10)/Gd(7*Mi/10),lY=Gd(Pl/10)*fD,uY=-v1(Pl/10)*fD,I1={draw(e,t){let r=kt(t*sY),a=lY*r,n=uY*r;e.moveTo(0,-r),e.lineTo(a,n);for(let o=1;o<5;++o){let i=Pl*o/5,s=v1(i),l=Gd(i);e.lineTo(l*r,-s*r),e.lineTo(s*a-l*n,l*a+s*n)}e.closePath()}};var P1=kt(3),k1={draw(e,t){let r=-kt(t/(P1*3));e.moveTo(0,r*2),e.lineTo(-P1*r,-r),e.lineTo(P1*r,-r),e.closePath()}};var Wr=-.5,Gr=kt(3)/2,A1=1/kt(12),cY=(A1/2+1)*3,T1={draw(e,t){let r=kt(t/cY),a=r/2,n=r*A1,o=a,i=r*A1+r,s=-o,l=i;e.moveTo(a,n),e.lineTo(o,i),e.lineTo(s,l),e.lineTo(Wr*a-Gr*n,Gr*a+Wr*n),e.lineTo(Wr*o-Gr*i,Gr*o+Wr*i),e.lineTo(Wr*s-Gr*l,Gr*s+Wr*l),e.lineTo(Wr*a+Gr*n,Wr*n-Gr*a),e.lineTo(Wr*o+Gr*i,Wr*i-Gr*o),e.lineTo(Wr*s+Gr*l,Wr*l-Gr*s),e.closePath()}};function Hg(e,t){let r=null,a=kl(n);e=typeof e=="function"?e:Se(e||El),t=typeof t=="function"?t:Se(t===void 0?64:+t);function n(){let o;if(r||(r=o=a()),e.apply(this,arguments).draw(r,+t.apply(this,arguments)),o)return r=null,o+""||null}return n.type=function(o){return arguments.length?(e=typeof o=="function"?o:Se(o),n):e},n.size=function(o){return arguments.length?(t=typeof o=="function"?o:Se(+o),n):t}
vendor: 6,361 bytes, line 16
16,n.context=function(o){return arguments.length?(r=o??null,n):r},n}function Ol(){}function Ml(e,t,r){e._context.bezierCurveTo((2*e._x0+e._x1)/3,(2*e._y0+e._y1)/3,(e._x0+2*e._x1)/3,(e._y0+2*e._y1)/3,(e._x0+4*e._x1+t)/6,(e._y0+4*e._y1+r)/6)}function pD(e){this._context=e}pD.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){switch(this._point){case 3:Ml(this,this._x1,this._y1);case 2:this._context.lineTo(this._x1,this._y1);break}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;break;case 2:this._point=3,this._context.lineTo((5*this._x0+this._x1)/6,(5*this._y0+this._y1)/6);default:Ml(this,e,t);break}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}};function E1(e){return new pD(e)}function mD(e){this._context=e}mD.prototype={areaStart:Ol,areaEnd:Ol,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._y0=this._y1=this._y2=this._y3=this._y4=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:{this._context.moveTo(this._x2,this._y2),this._context.closePath();break}case 2:{this._context.moveTo((this._x2+2*this._x3)/3,(this._y2+2*this._y3)/3),this._context.lineTo((this._x3+2*this._x2)/3,(this._y3+2*this._y2)/3),this._context.closePath();break}case 3:{this.point(this._x2,this._y2),this.point(this._x3,this._y3),this.point(this._x4,this._y4);break}}},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._x2=e,this._y2=t;break;case 1:this._point=2,this._x3=e,this._y3=t;break;case 2:this._point=3,this._x4=e,this._y4=t,this._context.moveTo((this._x0+4*this._x1+e)/6,(this._y0+4*this._y1+t)/6);break;default:Ml(this,e,t);break}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}};function O1(e){return new mD(e)}function hD(e){this._context=e}hD.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){(this._line||this._line!==0&&this._point===3)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3;var r=(this._x0+4*this._x1+e)/6,a=(this._y0+4*this._y1+t)/6;this._line?this._context.lineTo(r,a):this._context.moveTo(r,a);break;case 3:this._point=4;default:Ml(this,e,t);break}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}};function M1(e){return new hD(e)}function gD(e){this._context=e}gD.prototype={areaStart:Ol,areaEnd:Ol,lineStart:function(){this._point=0},lineEnd:function(){this._point&&this._context.closePath()},point:function(e,t){e=+e,t=+t,this._point?this._context.lineTo(e,t):(this._point=1,this._context.moveTo(e,t))}};function R1(e){return new gD(e)}function vD(e){return e<0?-1:1}function yD(e,t,r){var a=e._x1-e._x0,n=t-e._x1,o=(e._y1-e._y0)/(a||n<0&&-0),i=(r-e._y1)/(n||a<0&&-0),s=(o*n+i*a)/(a+n);return(vD(o)+vD(i))*Math.min(Math.abs(o),Math.abs(i),.5*Math.abs(s))||0}function xD(e,t){var r=e._x1-e._x0;return r?(3*(e._y1-e._y0)/r-t)/2:t}function D1(e,t,r){var a=e._x0,n=e._y0,o=e._x1,i=e._y1,s=(o-a)/3;e._context.bezierCurveTo(a+s,n+s*t,o-s,i-s*r,o,i)}function Wg(e){this._context=e}Wg.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=this._t0=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x1,this._y1);break;case 3:D1(this,this._t0,xD(this,this._t0));break}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){var r=NaN;if(e=+e,t=+t,!(e===this._x1&&t===this._y1)){switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;break;case 2:this._point=3,D1(this,xD(this,r=yD(this,e,t)),r);break;default:D1(this,this._t0,r=yD(this,e,t));break}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t,this._t0=r}}};function wD(e){this._context=new bD(e)}(wD.prototype=Object.create(Wg.prototype)).point=function(e,t){Wg.prototype.point.call(this,t,e)};function bD(e){this._context=e}bD.prototype={moveTo:function(e,t){this._context.moveTo(t,e)},closePath:function(){this._context.closePath()},lineTo:function(e,t){this._context.lineTo(t,e)},bezierCurveTo:function(e,t,r,a,n,o){this._context.bezierCurveTo(t,e,a,r,o,n)}};function _1(e){return new Wg(e)}function N1(e){return new wD(e)}function CD(e){this._context=e}CD.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=[],this._y=[]},lineEnd:function(){var e=this._x,t=this._y,r=e.length;if(r)if(this._line?this._context.lineTo(e[0],t[0]):this._context.moveTo(e[0],t[0]),r===2)this._context.lineTo(e[1],t[1]);else for(var a=SD(e),n=SD(t),o=0,i=1;i<r;++o,++i)this._context.bezierCurveTo(a[0][o],n[0][o],a[1][o],n[1][o],e[i],t[i]);(this._line||this._line!==0&&r===1)&&this._context.closePath(),this._line=1-this._line,this._x=this._y=null},point:function(e,t){this._x.push(+e),this._y.push(+t)}};function SD(e){var t,r=e.length-1,a,n=new Array(r),o=new Array(r),i=new Array(r);for(n[0]=0,o[0]=2,i[0]=e[0]+2*e[1],t=1;t<r-1;++t)n[t]=1,o[t]=4,i[t]=4*e[t]+2*e[t+1];for(n[r-1]=2,o[r-1]=7,i[r-1]=8*e[r-1]+e[r],t=1;t<r;++t)a=n[t]/o[t-1],o[t]-=a,i[t]-=a*i[t-1];for(n[r-1]=i[r-1]/o[r-1],t=r-2;t>=0;--t)n[t]=(i[t]-n[t+1])/o[t];for(o[r-1]=(e[r]+n[r-1])/2,t=0;t<r-1;++t)o[t]=2*e[t+1]-n[t+1];return[n,o]}function F1(e){return new CD(e)}function Gg(e,t){this._context=e,this._t=t}Gg.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=this._y=NaN,this._point=0},lineEnd:function(){0<this._t&&this._t<1&&this._point===2&&this._context.lineTo(this._x,this._y),(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line>=0&&(this._t=1-this._t,this._line=1-this._line)},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;
16default:{if(this._t<=0)this._context.lineTo(this._x,t),this._context.lineTo(e,t);else{var r=this._x*(1-this._t)+e*this._t;this._context.lineTo(r,this._y),this._context.lineTo(r,t)}break}}this._x=e,this._y=t}};function B1(e){return new Gg(e,.5)}function j1(e){return new Gg(e,0)}function U1(e){return new Gg(e,1)}function $r(e,t){if((i=e.length)>1)for(var r=1,a,n,o=e[t[0]],i,s=o.length;r<i;++r)for(n=o,o=e[t[r]],a=0;a<s;++a)o[a][1]+=o[a][0]=isNaN(n[a][1])?n[a][0]:n[a][1]}function Rl(e){for(var t=e.length,r=new Array(t);--t>=0;)r[t]=t;return r}function dY(e,t){return e[t]}function fY(e){let t=[];return t.key=e,t}function V1(){var e=Se([]),t=Rl,r=$r,a=dY;function n(o){var i=Array.from(e.apply(this,arguments),fY),s,l=i.length,u=-1,d;for(let c of o)for(s=0,++u;s<l;++s)(i[s][u]=[0,+a(c,i[s].key,u,o)]).data=c;for(s=0,d=Al(t(i));s<l;++s)i[d[s]].index=s;return r(i,d),i}return n.keys=function(o){return arguments.length?(e=typeof o=="function"?o:Se(Array.from(o)),n):e},n.value=function(o){return arguments.length?(a=typeof o=="function"?o:Se(+o),n):a},n.order=function(o){return arguments.length?(t=o==null?Rl:typeof o=="function"?o:Se(Array.from(o)),n):t},n.offset=function(o){return arguments.length?(r=o??$r,n):r},n}function q1(e,t){if((a=e.length)>0){for(var r,a,n=0,o=e[0].length,i;n<o;++n){for(i=r=0;r<a;++r)i+=e[r][n][1]||0;if(i)for(r=0;r<a;++r)e[r][n][1]/=i}$r(e,t)}}function z1(e,t){if((n=e.length)>0){for(var r=0,a=e[t[0]],n,o=a.length;r<o;++r){for(var i=0,s=0;i<n;++i)s+=e[i][r][1]||0;a[r][1]+=a[r][0]=-s/2}$r(e,t)}}function H1(e,t){if(!(!((i=e.length)>0)||!((o=(n=e[t[0]]).length)>0))){for(var r=0,a=1,n,o,i;a<o;++a){for(var s=0,l=0,u=0;s<i;++s){for(var d=e[t[s]],c=d[a][1]||0,f=d[a-1][1]||0,p=(c-f)/2,v=0;v<s;++v){var m=e[t[v]],w=m[a][1]||0,h=m[a-1][1]||0;p+=w-h}l+=c,u+=p*c}n[a-1][1]+=n[a-1][0]=r,l&&(r-=u/l)}n[a-1][1]+=n[a-1][0]=r,$r(e,t)}}function Xd(e){"@babel/helpers - typeof";return Xd=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Xd(e)}var mY=["type","size","sizeType"];function W1(){return W1=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var a in r)Object.prototype.hasOwnProperty.call(r,a)&&(e[a]=r[a])}return e},W1.apply(this,arguments)}function LD(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable})),r.push.apply(r,a)}return r}function ID(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?LD(Object(r),!0).forEach(function(a){hY(e,a,r[a])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):LD(Object(r)).forEach(function(a){Object.defineProperty(e,a,Object.getOwnPropertyDescriptor(r,a))})}return e}function hY(e,t,r){return t=gY(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function gY(e){var t=vY(e,"string");return Xd(t)=="symbol"?t:t+""}function vY(e,t){if(Xd(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var a=r.call(e,t||"default");if(Xd(a)!="object")return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function yY(e,t){if(e==null)return{};var r=xY(e,t),a,n;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)a=o[n],!(t.indexOf(a)>=0)&&Object.prototype.propertyIsEnumerable.call(e,a)&&(r[a]=e[a])}return r}function xY(e,t){if(e==null)return{};var r={};for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){if(t.indexOf(a)>=0)continue;r[a]=e[a]}return r}var kD={symbolCircle:El,symbolCross:S1,symbolDiamond:C1,symbolSquare:L1,symbolStar:I1,symbolTriangle:k1,symbolWye:T1},wY=Math.PI/180,bY=function(t){var r="symbol".concat((0,G1.default)(t));return kD[r]||El},SY=function(t,r,a){if(r==="area")return t;switch(a){case"cross":return 5*t*t/9;case"diamond":return .5*t*t/Math.sqrt(3);case"square":return t*t;case"star":{var n=18*wY;return 1.25*t*t*(Math.tan(n)-Math.tan(n*2)*Math.pow(Math.tan(n),2))}case"triangle":return Math.sqrt(3)*t*t/4;case"wye":return(21-10*Math.sqrt(3))*t*t/8;default:return Math.PI*t*t/4}},CY=function(t,r){kD["symbol".concat((0,G1.default)(t))]=r},Kd=function(t){var r=t.type,a=r===void 0?"circle":r,n=t.size,o=n===void 0?64:n,i=t.sizeType,s=i===void 0?"area":i,l=yY(t,mY),u=ID(ID({},l),{},{type:a,size:o,sizeType:s}),d=function(){var w=bY(a),h=Hg().type(w).size(SY(o,s,a));return h()},c=u.className,f=u.cx,p=u.cy,v=re(u,!0);return f===+f&&p===+p&&o===+o?PD.default.createElement("path",W1({}
16,v,{className:ae("recharts-symbols",c),transform:"translate(".concat(f,", ").concat(p,")"),d:d()})):null};Kd.registerSymbol=CY;function Dl(e){"@babel/helpers - typeof";return Dl=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Dl(e)}function $1(){return $1=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var a in r)Object.prototype.hasOwnProperty.call(r,a)&&(e[a]=r[a])}return e},$1.apply(this,arguments)}function AD(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable})),r.push.apply(r,a)}return r}function LY(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?AD(Object(r),!0).forEach(function(a){Yd(e,a,r[a])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):AD(Object(r)).forEach(function(a){Object.defineProperty(e,a,Object.getOwnPropertyDescriptor(r,a))})}return e}function IY(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function TD(e,t){for(var r=0;r<t.length;r++){var a=t[r];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,OD(a.key),a)}}function PY(e,t,r){return t&&TD(e.prototype,t),r&&TD(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function kY(e,t,r){return t=$g(t),AY(e,ED()?Reflect.construct(t,r||[],$g(e).constructor):t.apply(e,r))}function AY(e,t){if(t&&(Dl(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return TY(e)}function TY(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ED(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(ED=function(){return!!e})()}function $g(e){return $g=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},$g(e)}function EY(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&X1(e,t)}function X1(e,t){return X1=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(a,n){return a.__proto__=n,a},X1(e,t)}function Yd(e,t,r){return t=OD(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function OD(e){var t=OY(e,"string");return Dl(t)=="symbol"?t:t+""}function OY(e,t){if(Dl(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var a=r.call(e,t||"default");if(Dl(a)!="object")return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var Xr=32,Xg=function(e){function t(){return IY(this,t),kY(this,t,arguments)}return EY(t,e),PY(t,[{key:"renderIcon",value:function(a){var n=this.props.inactiveColor,o=Xr/2,i=Xr/6,s=Xr/3,l=a.inactive?n:a.color;if(a.type==="plainline")return Sr.default.createElement("line",{strokeWidth:4,fill:"none",stroke:l,strokeDasharray:a.payload.strokeDasharray,x1:0,y1:o,x2:Xr,y2:o,className:"recharts-legend-icon"});if(a.type==="line")return Sr.default.createElement("path",{strokeWidth:4,fill:"none",stroke:l,d:"M0,".concat(o,"h").concat(s,`
17            A`).concat(i,",").concat(i,",0,1,1,").concat(2*s,",").concat(o,`
18            H`).concat(Xr,"M").concat(2*s,",").concat(o,`
19            A`).concat(i,",").concat(i,",0,1,1,").concat(s,",").concat(o),className:"recharts-legend-icon"});if(a.type==="rect")return Sr.default.createElement("path",{stroke:"none",fill:l,d:"M0,".concat(Xr/8,"h").concat(Xr,"v").concat(Xr*3/4,"h").concat(-Xr,"z"),className:"recharts-legend-icon"});if(Sr.default.isValidElement(a.legendIcon)){var u=LY({},a);return delete u.legendIcon,Sr.default.cloneElement(a.legendIcon,u)}return Sr.default.createElement(Kd,{fill:l,cx:o,cy:o,size:Xr,sizeType:"diameter",type:a.type})}},{key:"renderItems",value:function(){var a=this,n=this.props,o=n.payload,i=n.iconSize,s=n.layout,l=n.formatter,u=n.inactiveColor,d={x:0,y:0,width:Xr,height:Xr},c={display:s==="horizontal"?"inline-block":"block",marginRight:10},f={display:"inline-block",verticalAlign:"middle",marginRight:4};return o.map(function(p,v){var m=p.formatter||l,w=ae(Yd(Yd({"recharts-legend-item":!0},"legend-item-".concat(v),!0),"inactive",p.inactive));if(p.type==="none")return null;var h=(0,K1.default)(p.value)?null:p.value;Qt(!(0,K1.default)(p.value),`The name property is also required when using a function for the dataKey of a chart's cartesian components. Ex: <Bar name="Name of my Data"/>`);var g=p.inactive?u:p.color;return Sr.default.createElement("li",$1({className:w,style:c,key:"legend-item-".concat(v)},ko(a.props,p,v)),Sr.default.createElement(Wd,{width:i,height:i,viewBox:d,style:f},a.renderIcon(p)),Sr.default.createElement("span",{className:"recharts-legend-item-text",style:{color:g}},m?m(h,p,v):h))})}},{key:"render",value:function(){var a=this.props,n=a.payload,o=a.layout,i=a.align;if(!n||!n.length)return null;var s={padding:0,margin:0,textAlign:o==="horizontal"?i:"left"};return Sr.default.createElement("ul",{className:"recharts-default-legend",style:s},this.renderItems())}}])}(Sr.PureComponent);Yd(Xg,"displayName","Legend");Yd(Xg,"defaultProps",{iconSize:14,layout:"horizontal",align:"center",verticalAlign:"middle",inactiveColor:"#ccc"});var xS=D(hN()),gN=D(dt());function rv(e,t,r){return t===!0?(0,xS.default)(e,r):(0,gN.default)(t)?(0,xS.default)(e,t):e}function Ul(e){"@babel/helpers - typeof";return Ul=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Ul(e)}var vte=["ref"];function vN(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable})),r.push.apply(r,a)}return r}function Mn(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};
19t%2?vN(Object(r),!0).forEach(function(a){nv(e,a,r[a])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):vN(Object(r)).forEach(function(a){Object.defineProperty(e,a,Object.getOwnPropertyDescriptor(r,a))})}return e}function yte(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function yN(e,t){for(var r=0;r<t.length;r++){var a=t[r];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,bN(a.key),a)}}function xte(e,t,r){return t&&yN(e.prototype,t),r&&yN(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function wte(e,t,r){return t=av(t),bte(e,wN()?Reflect.construct(t,r||[],av(e).constructor):t.apply(e,r))}function bte(e,t){if(t&&(Ul(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return Ste(e)}function Ste(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function wN(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(wN=function(){return!!e})()}function av(e){return av=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},av(e)}function Cte(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&wS(e,t)}function wS(e,t){return wS=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(a,n){return a.__proto__=n,a},wS(e,t)}function nv(e,t,r){return t=bN(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function bN(e){var t=Lte(e,"string");return Ul(t)=="symbol"?t:t+""}function Lte(e,t){if(Ul(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var a=r.call(e,t||"default");if(Ul(a)!="object")return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function Ite(e,t){if(e==null)return{};var r=Pte(e,t),a,n;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)a=o[n],!(t.indexOf(a)>=0)&&Object.prototype.propertyIsEnumerable.call(e,a)&&(r[a]=e[a])}return r}function Pte(e,t){if(e==null)return{};var r={};for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){if(t.indexOf(a)>=0)continue;r[a]=e[a]}return r}function kte(e){return e.value}function Ate(e,t){if(To.default.isValidElement(e))return To.default.cloneElement(e,t);if(typeof e=="function")return To.default.createElement(e,t);var r=t.ref,a=Ite(t,vte);return To.default.createElement(Xg,a)}var xN=1,xa=function(e){function t(){var r;yte(this,t);for(var a=arguments.length,n=new Array(a),o=0;o<a;o++)n[o]=arguments[o];return r=wte(this,t,[].concat(n)),nv(r,"lastBoundingBox",{width:-1,height:-1}),r}return Cte(t,e),xte(t,[{key:"componentDidMount",value:function(){this.updateBBox()}},{key:"componentDidUpdate",value:function(){this.updateBBox()}},{key:"getBBox",value:function(){if(this.wrapperNode&&this.wrapperNode.getBoundingClientRect){var a=this.wrapperNode.getBoundingClientRect();return a.height=this.wrapperNode.offsetHeight,a.width=this.wrapperNode.offsetWidth,a}return null}},{key:"updateBBox",value:function(){var a=this.props.onBBoxUpdate,n=this.getBBox();n?(Math.abs(n.width-this.lastBoundingBox.width)>xN||Math.abs(n.height-this.lastBoundingBox.height)>xN)&&(this.lastBoundingBox.width=n.width,this.lastBoundingBox.height=n.height,a&&a(n)):(this.lastBoundingBox.width!==-1||this.lastBoundingBox.height!==-1)&&(this.lastBoundingBox.width=-1,this.lastBoundingBox.height=-1,a&&a(null))}},{key:"getBBoxSnapshot",value:function(){return this.lastBoundingBox.width>=0&&this.lastBoundingBox.height>=0?Mn({},this.lastBoundingBox):{width:0,height:0}}},{key:"getDefaultPosition",value:function(a){var n=this.props,o=n.layout,i=n.align,s=n.verticalAlign,l=n.margin,u=n.chartWidth,d=n.chartHe
19ight,c,f;if(!a||(a.left===void 0||a.left===null)&&(a.right===void 0||a.right===null))if(i==="center"&&o==="vertical"){var p=this.getBBoxSnapshot();c={left:((u||0)-p.width)/2}}else c=i==="right"?{right:l&&l.right||0}:{left:l&&l.left||0};if(!a||(a.top===void 0||a.top===null)&&(a.bottom===void 0||a.bottom===null))if(s==="middle"){var v=this.getBBoxSnapshot();f={top:((d||0)-v.height)/2}}else f=s==="bottom"?{bottom:l&&l.bottom||0}:{top:l&&l.top||0};return Mn(Mn({},c),f)}},{key:"render",value:function(){var a=this,n=this.props,o=n.content,i=n.width,s=n.height,l=n.wrapperStyle,u=n.payloadUniqBy,d=n.payload,c=Mn(Mn({position:"absolute",width:i||"auto",height:s||"auto"},this.getDefaultPosition(l)),l);return To.default.createElement("div",{className:"recharts-legend-wrapper",style:c,ref:function(p){a.wrapperNode=p}},Ate(o,Mn(Mn({},this.props),{},{payload:rv(d,u,kte)})))}}],[{key:"getWithHeight",value:function(a,n){var o=Mn(Mn({},this.defaultProps),a.props),i=o.layout;return i==="vertical"&&X(a.props.height)?{height:a.props.height}:i==="horizontal"?{width:a.props.width||n}:null}}])}(To.PureComponent);nv(xa,"displayName","Legend");nv(xa,"defaultProps",{iconSize:14,layout:"horizontal",align:"center",verticalAlign:"bottom"});var Eo=D(K());var Ha=D(K()),mF=D(iv()),hF=D(va());function rf(e){"@babel/helpers - typeof";return rf=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},rf(e)}function kS(){return kS=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var a in r)Object.prototype.hasOwnProperty.call(r,a)&&(e[a]=r[a])}return e},kS.apply(this,arguments)}function Nre(e,t){return Ure(e)||jre(e,t)||Bre(e,t)||Fre()}function Fre(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
20In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Bre(e,t){if(e){if(typeof e=="string")return fF(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(e);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return fF(e,t)}}function fF(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,a=new Array(t);r<t;r++)a[r]=e[r];return a}function jre(e,t){var r=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(r!=null){var a,n,o,i,s=[],l=!0,u=!1;try{if(o=(r=r.call(e)).next,t===0){if(Object(r)!==r)return;l=!1}else for(;!(l=(a=o.call(r)).done)&&(s.push(a.value),s.length!==t);l=!0);}catch(d){u=!0,n=d}finally{try{if(!l&&r.return!=null&&(i=r.return(),Object(i)!==i))return}finally{if(u)throw n}}return s}}function Ure(e){if(Array.isArray(e))return e}function pF(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable})),r.push.apply(r,a)}return r}function PS(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?pF(Object(r),!0).forEach(function(a){Vre(e,a,r[a])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):pF(Object(r)).forEach(function(a){Object.defineProperty(e,a,Object.getOwnPropertyDescriptor(r,a))})}return e}function Vre(e,t,r){return t=qre(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function qre(e){var t=zre(e,"string");return rf(t)=="symbol"?t:t+""}function zre(e,t){if(rf(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var a=r.call(e,t||"default");if(rf(a)!="object")return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function Hre(e){return Array.isArray(e)&&Re(e[0])&&Re(e[1])?e.join(" ~ "):e}var gF=function(t){var r=t.separator,a=r===void 0?" : ":r,n=t.contentStyle,o=n===void 0?{}:n,i=t.itemStyle,s=i===void 0?{}:i,l=t.labelStyle,u=l===void 0?{}:l,d=t.payload,c=t.formatter,f=t.itemSorter,p=t.wrapperClassName,v=t.labelClassName,m=t.label,w=t.labelFormatter,h=t.accessibilityLayer,g=h===void 0?!1:h,y=function(){if(d&&d.length){var F={padding:0,margin:0},q=(f?(0,mF.default)(d,f):d).map(function(H,z){if(H.type==="none")return null;var L=PS({display:"block",paddingTop:4,paddingBottom:4,color:H.color||"#000"},s),I=H.formatter||c||Hre,A=H.value,k=H.name,E=A,T=k;if(I&&E!=null&&T!=null){var _=I(A,k,H,z,d);if(Array.isArray(_)){var B=Nre(_,2);E=B[0],T=B[1]}else E=_}return Ha.default.createElement("li",{className:"recharts-tooltip-item",key:"tooltip-item-".concat(z),style:L},Re(T)?Ha.default.createElement("span",{className:"recharts-tooltip-item-name"},T):null,Re(T)?Ha.default.createElement("span",{className:"recharts-tooltip-item-separator"},a):null,Ha.default.createElement("span",{className:"recharts-tooltip-item-value"},E),Ha.default.createElement("span",{className:"recharts-tooltip-item-unit"},H.unit||""))});return Ha.default.createElement("ul",{className:"recharts-tooltip-item-list",style:F},q)}return null},S=PS({margin:0,padding:10,backgroundColor:"#fff",border:"1px solid #ccc",whiteSpace:"nowrap"},o),x=PS({margin:0},u),b=!(0,hF.default)(m),C=b?m:"",P=ae("recharts-default-tooltip",p),O=ae("recharts-tooltip-label",v);b&&w&&d!==void 0&&d!==null&&(C=w(m,d));var R=g?{role:"status","aria-live":"assertive"}:{};return Ha.default.createElement("div",kS({className:P,style:S},R),Ha.default.createElement("p",{className:O,style:x},Ha.default.isValidElement(C)?C:"".concat(C)),y())};var uv=D(K());function nf(e){"@babel/helpers - typeof";return nf=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},nf(e)}function sv(e,t,r){return t=Wre(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Wre(e){var t=Gre(e,"string");return nf(t)=="symbol"?t:t+""}function Gre(e,t){if(nf(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var a=r.call(e,t||"default");if(nf(a)!="object")return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var af="recharts-tooltip-wrapper",$re={visibility:"hidden"};function Xre(e){var t=e.coordinate,r=e.translateX,a=e.translateY;return ae(af,sv(sv(sv(sv({},"".concat(af,"-right"),X(r)&&t&&X(t.x)&&r>=t.x),"".concat(af,"-left"),X(r)&&t&&X(t.x)&&r<t.x),"".concat(af,"-bottom"),X(a)&&t&&X(t.y)&&a>
vendor: 6,049 bytes, line 20
20=t.y),"".concat(af,"-top"),X(a)&&t&&X(t.y)&&a<t.y))}function vF(e){var t=e.allowEscapeViewBox,r=e.coordinate,a=e.key,n=e.offsetTopLeft,o=e.position,i=e.reverseDirection,s=e.tooltipDimension,l=e.viewBox,u=e.viewBoxDimension;if(o&&X(o[a]))return o[a];var d=r[a]-s-n,c=r[a]+n;if(t[a])return i[a]?d:c;if(i[a]){var f=d,p=l[a];return f<p?Math.max(c,l[a]):Math.max(d,l[a])}var v=c+s,m=l[a]+u;return v>m?Math.max(d,l[a]):Math.max(c,l[a])}function Kre(e){var t=e.translateX,r=e.translateY,a=e.useTranslate3d;return{transform:a?"translate3d(".concat(t,"px, ").concat(r,"px, 0)"):"translate(".concat(t,"px, ").concat(r,"px)")}}function yF(e){var t=e.allowEscapeViewBox,r=e.coordinate,a=e.offsetTopLeft,n=e.position,o=e.reverseDirection,i=e.tooltipBox,s=e.useTranslate3d,l=e.viewBox,u,d,c;return i.height>0&&i.width>0&&r?(d=vF({allowEscapeViewBox:t,coordinate:r,key:"x",offsetTopLeft:a,position:n,reverseDirection:o,tooltipDimension:i.width,viewBox:l,viewBoxDimension:l.width}),c=vF({allowEscapeViewBox:t,coordinate:r,key:"y",offsetTopLeft:a,position:n,reverseDirection:o,tooltipDimension:i.height,viewBox:l,viewBoxDimension:l.height}),u=Kre({translateX:d,translateY:c,useTranslate3d:s})):u=$re,{cssProperties:u,cssClasses:Xre({translateX:d,translateY:c,coordinate:r})}}function Vl(e){"@babel/helpers - typeof";return Vl=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Vl(e)}function xF(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable})),r.push.apply(r,a)}return r}function wF(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?xF(Object(r),!0).forEach(function(a){TS(e,a,r[a])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):xF(Object(r)).forEach(function(a){Object.defineProperty(e,a,Object.getOwnPropertyDescriptor(r,a))})}return e}function Yre(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function bF(e,t){for(var r=0;r<t.length;r++){var a=t[r];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,LF(a.key),a)}}function Qre(e,t,r){return t&&bF(e.prototype,t),r&&bF(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function Zre(e,t,r){return t=lv(t),Jre(e,CF()?Reflect.construct(t,r||[],lv(e).constructor):t.apply(e,r))}function Jre(e,t){if(t&&(Vl(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return eae(e)}function eae(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function CF(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(CF=function(){return!!e})()}function lv(e){return lv=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},lv(e)}function tae(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&AS(e,t)}function AS(e,t){return AS=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(a,n){return a.__proto__=n,a},AS(e,t)}function TS(e,t,r){return t=LF(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function LF(e){var t=rae(e,"string");return Vl(t)=="symbol"?t:t+""}function rae(e,t){if(Vl(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var a=r.call(e,t||"default");if(Vl(a)!="object")return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var SF=1,IF=function(e){function t(){var r;Yre(this,t);for(var a=arguments.length,n=new Array(a),o=0;o<a;o++)n[o]=arguments[o];return r=Zre(this,t,[].concat(n)),TS(r,"state",{dismissed:!1,dismissedAtCoordinate:{x:0,y:0},lastBoundingBox:{width:-1,height:-1}}),TS(r,"handleKeyDown",function(i){if(i.key==="Escape"){var s,l,u,d;r.setState({dismissed:!0,dismissedAtCoordinate:{x:(s=(l=r.props.coordinate)===null||l===void 0?void 0:l.x)!==null&&s!==void 0?s:0,y:(u=(d=r.props.coordinate)===null||d===void 0?void 0:d.y)!==null&&u!==void 0?u:0}})}}),r}return tae(t,e),Qre(t,[{key:"updateBBox",value:function(){if(this.wrapperNode&&this.wrapperNode.getBoundingClientRect){var a=this.wrapperNode.getBoundingClientRect();(Math.abs(a.width-this.state.lastBoundingBox.width)>SF||Math.abs(a.height-this.state.lastBoundingBox.height)>SF)&&this.setState({lastBoundingBox:{width:a.width,height:a.height}})}else(this.state.lastBoundingBox.width!==-1||this.state.lastBoundingBox.height!==-1)&&this.setState({lastBoundingBox:{width:-1,height:-1}})}},{key:"componentDidMount",value:function(){document.addEventListener("keydown",this.handleKeyDown),this.updateBBox()}},{key:"componentWillUnmount",value:function(){document.removeEventListener("keydown",this.handleKeyDown)}},{key:"componentDidUpdate",value:function(){var a,n;this.props.active&&this.updateBBox(),this.state.dismissed&&(((a=this.props.coordinate)===null||a===void 0?void 0:a.x)!==this.state.dismissedAtCoordinate.x||((n=this.props.coordinate)===null||n===void 0?void 0:n.y)!==this.state.dismissedAtCoordinate.y)&&(this.state.dismissed=!1)}},{key:"render",value:function(){var a=this,n=this.props,o=n.active,i=n.allowEscapeViewBox,s=n.animationDuration,l=n.animationEasing,u=n.children,d=n.coordinate,c=n.hasPayload,f=n.isAnimationActive,p=n.offset,v=n.position,m=n.reverseDirection,w=n.useTranslate3d,h=n.viewBox,g=n.wrapperStyle,y=yF({allowEscapeViewBox:i,coordinate:d,offsetTopLeft:p,position:v,reverseDirection:m,tooltipBox:this.state.lastBoundingBox,useTranslate3d:w,viewBox:h}
20),S=y.cssClasses,x=y.cssProperties,b=wF(wF({transition:f&&o?"transform ".concat(s,"ms ").concat(l):void 0},x),{},{pointerEvents:"none",visibility:!this.state.dismissed&&o&&c?"visible":"hidden",position:"absolute",top:0,left:0},g);return uv.default.createElement("div",{tabIndex:-1,className:S,style:b,ref:function(P){a.wrapperNode=P}},u)}}])}(uv.PureComponent);var aae=function(){return!(typeof window<"u"&&window.document&&window.document.createElement&&window.setTimeout)},wa={isSsr:aae(),get:function(t){return wa[t]},set:function(t,r){if(typeof t=="string")wa[t]=r;else{var a=Object.keys(t);a&&a.length&&a.forEach(function(n){wa[n]=t[n]})}}};function ql(e){"@babel/helpers - typeof";return ql=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},ql(e)}function PF(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable})),r.push.apply(r,a)}return r}function kF(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?PF(Object(r),!0).forEach(function(a){OS(e,a,r[a])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):PF(Object(r)).forEach(function(a){Object.defineProperty(e,a,Object.getOwnPropertyDescriptor(r,a))})}return e}function nae(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function AF(e,t){for(var r=0;r<t.length;r++){var a=t[r];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,EF(a.key),a)}}function oae(e,t,r){return t&&AF(e.prototype,t),r&&AF(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function iae(e,t,r){return t=cv(t),sae(e,TF()?Reflect.construct(t,r||[],cv(e).constructor):t.apply(e,r))}function sae(e,t){if(t&&(ql(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return lae(e)}function lae(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function TF(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(TF=function(){return!!e})()}function cv(e){return cv=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},cv(e)}function uae(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&ES(e,t)}function ES(e,t){return ES=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(a,n){return a.__proto__=n,a},ES(e,t)}function OS(e,t,r){return t=EF(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function EF(e){var t=cae(e,"string");return ql(t)=="symbol"?t:t+""}function cae(e,t){if(ql(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var a=r.call(e,t||"default");if(ql(a)!="object")return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function dae(e){return e.dataKey}function fae(e,t){return Eo.default.isValidElement(e)?Eo.default.cloneElement(e,t):typeof e=="function"?Eo.default.createElement(e,t):Eo.default.createElement(gF,t)}var Cr=function(e){function t(){return nae(this,t),iae(this,t,arguments)}return uae(t,e),oae(t,[{key:"render",value:function(){var a=this,n=this.props,o=n.active,i=n.allowEscapeViewBox,s=n.animationDuration,l=n.animationEasing,u=n.content,d=n.coordinate,c=n.filterNull,f=n.isAnimationActive,p=n.offset,v=n.payload,m=n.payloadUniqBy,w=n.position,h=n.reverseDirection,g=n.useTranslate3d,y=n.viewBox,S=n.wrapperStyle,x=v??[];c&&x.length&&(x=rv(v.filter(function(C){return C.value!=null&&(C.hide!==!0||a.props.includeHidden)}),m,dae));var b=x.length>0;return Eo.default.createElement(IF,{allowEscapeViewBox:i,animationDuration:s,animationEasing:l,isAnimationActive:f,active:o,coordinate:d,hasPayload:b,offset:p,position:w,reverseDirection:h,useTranslate3d:g,viewBox:y,wrapperStyle:S},fae(u,kF(kF({},this.props),{},{payload:x})))}}])}
20(Eo.PureComponent);OS(Cr,"displayName","Tooltip");OS(Cr,"defaultProps",{accessibilityLayer:!1,allowEscapeViewBox:{x:!1,y:!1},animationDuration:400,animationEasing:"ease",contentStyle:{},coordinate:{x:0,y:0},cursor:!0,cursorStyle:{},filterNull:!0,isAnimationActive:!wa.isSsr,itemStyle:{},labelStyle:{},offset:10,reverseDirection:{x:!1,y:!1},separator:" : ",trigger:"hover",useTranslate3d:!1,viewBox:{x:0,y:0,height:0,width:0},wrapperStyle:{}});var st=D(K()),GF=D(DS());function of(e){"@babel/helpers - typeof";return of=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},of(e)}function HF(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable})),r.push.apply(r,a)}return r}function dv(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?HF(Object(r),!0).forEach(function(a){Nae(e,a,r[a])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):HF(Object(r)).forEach(function(a){Object.defineProperty(e,a,Object.getOwnPropertyDescriptor(r,a))})}return e}function Nae(e,t,r){return t=Fae(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Fae(e){var t=Bae(e,"string");return of(t)=="symbol"?t:t+""}function Bae(e,t){if(of(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var a=r.call(e,t||"default");if(of(a)!="object")return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function jae(e,t){return zae(e)||qae(e,t)||Vae(e,t)||Uae()}function Uae(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
21In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Vae(e,t){if(e){if(typeof e=="string")return WF(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(e);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return WF(e,t)}}function WF(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,a=new Array(t);r<t;r++)a[r]=e[r];return a}function qae(e,t){var r=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(r!=null){var a,n,o,i,s=[],l=!0,u=!1;try{if(o=(r=r.call(e)).next,t===0){if(Object(r)!==r)return;l=!1}else for(;!(l=(a=o.call(r)).done)&&(s.push(a.value),s.length!==t);l=!0);}catch(d){u=!0,n=d}finally{try{if(!l&&r.return!=null&&(i=r.return(),Object(i)!==i))return}finally{if(u)throw n}}return s}}function zae(e){if(Array.isArray(e))return e}var _S=(0,st.forwardRef)(function(e,t){var r=e.aspect,a=e.initialDimension,n=a===void 0?{width:-1,height:-1}:a,o=e.width,i=o===void 0?"100%":o,s=e.height,l=s===void 0?"100%":s,u=e.minWidth,d=u===void 0?0:u,c=e.minHeight,f=e.maxHeight,p=e.children,v=e.debounce,m=v===void 0?0:v,w=e.id,h=e.className,g=e.onResize,y=e.style,S=y===void 0?{}:y,x=(0,st.useRef)(null),b=(0,st.useRef)();b.current=g,(0,st.useImperativeHandle)(t,function(){return Object.defineProperty(x.current,"current",{get:function(){return console.warn("The usage of ref.current.current is deprecated and will no longer be supported."),x.current},configurable:!0})});var C=(0,st.useState)({containerWidth:n.width,containerHeight:n.height}),P=jae(C,2),O=P[0],R=P[1],N=(0,st.useCallback)(function(q,H){R(function(z){var L=Math.round(q),I=Math.round(H);return z.containerWidth===L&&z.containerHeight===I?z:{containerWidth:L,containerHeight:I}})},[]);(0,st.useEffect)(function(){var q=function(k){var E,T=k[0].contentRect,_=T.width,B=T.height;N(_,B),(E=b.current)===null||E===void 0||E.call(b,_,B)};m>0&&(q=(0,GF.default)(q,m,{trailing:!0,leading:!1}));var H=new ResizeObserver(q),z=x.current.getBoundingClientRect(),L=z.width,I=z.height;return N(L,I),H.observe(x.current),function(){H.disconnect()}},[N,m]);var F=(0,st.useMemo)(function(){var q=O.containerWidth,H=O.containerHeight;if(q<0||H<0)return null;Qt(On(i)||On(l),`The width(%s) and height(%s) are both fixed numbers,
22       maybe you don't need to use a ResponsiveContainer.`,i,l),Qt(!r||r>0,"The aspect(%s) must be greater than zero.",r);var z=On(i)?q:i,L=On(l)?H:l;r&&r>0&&(z?L=z/r:L&&(z=L*r),f&&L>f&&(L=f)),Qt(z>0||L>0,`The width(%s) and height(%s) of chart should be greater than 0,
23       please check the style of container, or the props width(%s) and height(%s),
24       or add a minWidth(%s) or minHeight(%s) or use aspect(%s) to control the
25       height and width.`,z,L,i,l,d,c,r);var I=!Array.isArray(p)&&Hr(p.type).endsWith("Chart");return st.default.Children.map(p,function(A){return st.default.isValidElement(A)?(0,st.cloneElement)(A,dv({width:z,height:L},I?{style:dv({height:"100%",width:"100%",maxHeight:L,maxWidth:z},A.props.style)}:{})):A})},[r,p,l,f,c,d,O,i]);return st.default.createElement("div",{id:w?"".concat(w):void 0,className:ae("recharts-responsive-container",h),style:dv(dv({},S),{},{width:i,height:l,minWidth:d,minHeight:c,maxHeight:f}),ref:x},F)});var zl=function(t){return null};zl.displayName="Cell";var uf=D(K()),jS=D(va());function sf(e){"@babel/helpers - typeof";return sf=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},sf(e)}function $F(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable})),r.push.apply(r,a)}return r}function NS(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};
vendor: 10,034 bytes, lines 25-27
25t%2?$F(Object(r),!0).forEach(function(a){Hae(e,a,r[a])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):$F(Object(r)).forEach(function(a){Object.defineProperty(e,a,Object.getOwnPropertyDescriptor(r,a))})}return e}function Hae(e,t,r){return t=Wae(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Wae(e){var t=Gae(e,"string");return sf(t)=="symbol"?t:t+""}function Gae(e,t){if(sf(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var a=r.call(e,t||"default");if(sf(a)!="object")return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var Hl={widthCache:{},cacheCount:0},$ae=2e3,Xae={position:"absolute",top:"-20000px",left:0,padding:0,margin:0,border:"none",whiteSpace:"pre"};var XF="recharts_measurement_span";function Kae(e){var t=NS({},e);return Object.keys(t).forEach(function(r){t[r]||delete t[r]}),t}var FS=function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(t==null||wa.isSsr)return{width:0,height:0};var a=Kae(r),n=JSON.stringify({text:t,copyStyle:a});if(Hl.widthCache[n])return Hl.widthCache[n];try{var o=document.getElementById(XF);o||(o=document.createElement("span"),o.setAttribute("id",XF),o.setAttribute("aria-hidden","true"),document.body.appendChild(o));var i=NS(NS({},Xae),a);Object.assign(o.style,i),o.textContent="".concat(t);var s=o.getBoundingClientRect(),l={width:s.width,height:s.height};return Hl.widthCache[n]=l,++Hl.cacheCount>$ae&&(Hl.cacheCount=0,Hl.widthCache={}),l}catch{return{width:0,height:0}}},KF=function(t){return{top:t.top+window.scrollY-document.documentElement.clientTop,left:t.left+window.scrollX-document.documentElement.clientLeft}};function lf(e){"@babel/helpers - typeof";return lf=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},lf(e)}function pv(e,t){return Jae(e)||Zae(e,t)||Qae(e,t)||Yae()}function Yae(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
26In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Qae(e,t){if(e){if(typeof e=="string")return YF(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(e);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return YF(e,t)}}function YF(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,a=new Array(t);r<t;r++)a[r]=e[r];return a}function Zae(e,t){var r=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(r!=null){var a,n,o,i,s=[],l=!0,u=!1;try{if(o=(r=r.call(e)).next,t===0){if(Object(r)!==r)return;l=!1}else for(;!(l=(a=o.call(r)).done)&&(s.push(a.value),s.length!==t);l=!0);}catch(d){u=!0,n=d}finally{try{if(!l&&r.return!=null&&(i=r.return(),Object(i)!==i))return}finally{if(u)throw n}}return s}}function Jae(e){if(Array.isArray(e))return e}function ene(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function QF(e,t){for(var r=0;r<t.length;r++){var a=t[r];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,rne(a.key),a)}}function tne(e,t,r){return t&&QF(e.prototype,t),r&&QF(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function rne(e){var t=ane(e,"string");return lf(t)=="symbol"?t:t+""}function ane(e,t){if(lf(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var a=r.call(e,t||"default");if(lf(a)!="object")return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var ZF=/(-?\d+(?:\.\d+)?[a-zA-Z%]*)([*/])(-?\d+(?:\.\d+)?[a-zA-Z%]*)/,JF=/(-?\d+(?:\.\d+)?[a-zA-Z%]*)([+-])(-?\d+(?:\.\d+)?[a-zA-Z%]*)/,nne=/^px|cm|vh|vw|em|rem|%|mm|in|pt|pc|ex|ch|vmin|vmax|Q$/,one=/(-?\d+(?:\.\d+)?)([a-zA-Z%]+)?/,tB={cm:96/2.54,mm:96/25.4,pt:96/72,pc:96/6,in:96,Q:96/(2.54*40),px:1},ine=Object.keys(tB),Wl="NaN";function sne(e,t){return e*tB[t]}var fv=function(){function e(t,r){ene(this,e),this.num=t,this.unit=r,this.num=t,this.unit=r,Number.isNaN(t)&&(this.unit=""),r!==""&&!nne.test(r)&&(this.num=NaN,this.unit=""),ine.includes(r)&&(this.num=sne(t,r),this.unit="px")}return tne(e,[{key:"add",value:function(r){return this.unit!==r.unit?new e(NaN,""):new e(this.num+r.num,this.unit)}},{key:"subtract",value:function(r){return this.unit!==r.unit?new e(NaN,""):new e(this.num-r.num,this.unit)}},{key:"multiply",value:function(r){return this.unit!==""&&r.unit!==""&&this.unit!==r.unit?new e(NaN,""):new e(this.num*r.num,this.unit||r.unit)}},{key:"divide",value:function(r){return this.unit!==""&&r.unit!==""&&this.unit!==r.unit?new e(NaN,""):new e(this.num/r.num,this.unit||r.unit)}},{key:"toString",value:function(){return"".concat(this.num).concat(this.unit)}},{key:"isNaN",value:function(){return Number.isNaN(this.num)}}],[{key:"parse",value:function(r){var a,n=(a=one.exec(r))!==null&&a!==void 0?a:[],o=pv(n,3),i=o[1],s=o[2];return new e(parseFloat(i),s??"")}}])}();function rB(e){if(e.includes(Wl))return Wl;for(var t=e;t.includes("*")||t.includes("/");){var r,a=(r=ZF.exec(t))!==null&&r!==void 0?r:[],n=pv(a,4),o=n[1],i=n[2],s=n[3],l=fv.parse(o??""),u=fv.parse(s??""),d=i==="*"?l.multiply(u):l.divide(u);if(d.isNaN())return Wl;t=t.replace(ZF,d.toString())}for(;t.includes("+")||/.-\d+(?:\.\d+)?/.test(t);){var c,f=(c=JF.exec(t))!==null&&c!==void 0?c:[],p=pv(f,4),v=p[1],m=p[2],w=p[3],h=fv.parse(v??""),g=fv.parse(w??""),y=m==="+"?h.add(g):h.subtract(g);if(y.isNaN())return Wl;t=t.replace(JF,y.toString())}return t}var eB=/\(([^()]*)\)/;function lne(e){for(var t=e;t.includes("(");){var r=eB.exec(t),a=pv(r,2),n=a[1];t=t.replace(eB,rB(n))}return t}function une(e){var t=e.replace(/\s+/g,"");return t=lne(t),t=rB(t),t}function cne(e){try{return une(e)}catch{return Wl}}function mv(e){var t=cne(e.slice(5,-1));return t===Wl?"":t}var dne=["x","y","lineHeight","capHeight","scaleToFit","textAnchor","verticalAnchor","fill"],fne=["dx","dy","angle","className","breakAll"];function BS(){return BS=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var a in r)Object.prototype.hasOwnProperty.call(r,a)&&(e[a]=r[a])}return e},BS.apply(this,arguments)}function aB(e,t){if(e==null)return{};var r=pne(e,t),a,n;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)a=o[n],!(t.indexOf(a)>=0)&&Object.prototype.propertyIsEnumerable.call(e,a)&&(r[a]=e[a])}return r}function pne(e,t){if(e==null)return{};var r={};for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){if(t.indexOf(a)>=0)continue;r[a]=e[a]}return r}function nB(e,t){return vne(e)||gne(e,t)||hne(e,t)||mne()}function mne(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
27In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function hne(e,t){if(e){if(typeof e=="string")return oB(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(e);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return oB(e,t)}}function oB(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,a=new Array(t);r<t;r++)a[r]=e[r];return a}function gne(e,t){var r=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(r!=null){var a,n,o,i,s=[],l=!0,u=!1;try{if(o=(r=r.call(e)).next,t===0){if(Object(r)!==r)return;l=!1}else for(;!(l=(a=o.call(r)).done)&&(s.push(a.value),s.length!==t);l=!0);}catch(d){u=!0,n=d}finally{try{if(!l&&r.return!=null&&(i=r.return(),Object(i)!==i))return}finally{if(u)throw n}}return s}}function vne(e){if(Array.isArray(e))return e}var lB=/[ \f\n\r\t\v\u2028\u2029]+/,uB=function(t){var r=t.children,a=t.breakAll,n=t.style;try{var o=[];(0,jS.default)(r)||(a?o=r.toString().split(""):o=r.toString().split(lB));var i=o.map(function(l){return{word:l,width:FS(l,n).width}}),s=a?0:FS("\xA0",n).width;return{wordsWithComputedWidth:i,spaceWidth:s}}catch{return null}},yne=function(t,r,a,n,o){var i=t.maxLines,s=t.children,l=t.style,u=t.breakAll,d=X(i),c=s,f=function(){var z=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];return z.reduce(function(L,I){var A=I.word,k=I.width,E=L[L.length-1];if(E&&(n==null||o||E.width+k+a<Number(n)))E.words.push(A),E.width+=k+a;else{var T={words:[A],width:k};L.push(T)}return L},[])},p=f(r),v=function(z){return z.reduce(function(L,I){return L.width>I.width?L:I})};if(!d)return p;for(var m="\u2026",w=function(z){var L=c.slice(0,z),I=uB({breakAll:u,style:l,children:L+m}).wordsWithComputedWidth,A=f(I),k=A.length>i||v(A).width>Number(n);return[k,A]},h=0,g=c.length-1,y=0,S;h<=g&&y<=c.length-1;){var x=Math.floor((h+g)/2),b=x-1,C=w(b),P=nB(C,2),O=P[0],R=P[1],N=w(x),F=nB(N,1),q=F[0];if(!O&&!q&&(h=x+1),O&&q&&(g=x-1),!O&&q){S=R;break}y++}return S||p},iB=function(t){var r=(0,jS.default)(t)?[]:t.toString().split(lB);return[{words:r}]},xne=function(t){var r=t.width,a=t.scaleToFit,n=t.children,o=t.style,i=t.breakAll,s=t.maxLines;if((r||a)&&!wa.isSsr){var l,u,d=uB({breakAll:i,children:n,style:o});if(d){var c=d.wordsWithComputedWidth,f=d.spaceWidth;l=c,u=f}else return iB(n);return yne({breakAll:i,children:n,maxLines:s,style:o},l,u,r,a)}return iB(n)},sB="#808080",ba=function(t){var r=t.x,a=r===void 0?0:r,n=t.y,o=n===void 0?0:n,i=t.lineHeight,s=i===void 0?"1em":i,l=t.capHeight,u=l===void 0?"0.71em":l,d=t.scaleToFit,c=d===void 0?!1:d,f=t.textAnchor,p=f===void 0?"start":f,v=t.verticalAnchor,m=v===void 0?"end":v,w=t.fill,h=w===void 0?sB:w,g=aB(t,dne),y=(0,uf.useMemo)(function(){return xne({breakAll:g.breakAll,children:g.children,maxLines:g.maxLines,scaleToFit:c,style:g.style,width:g.width})},[g.breakAll,g.children,g.maxLines,c,g.style,g.width]),S=g.dx,x=g.dy,b=g.angle,C=g.className,P=g.breakAll,O=aB(g,fne);
27if(!Re(a)||!Re(o))return null;var R=a+(X(S)?S:0),N=o+(X(x)?x:0),F;switch(m){case"start":F=mv("calc(".concat(u,")"));break;case"middle":F=mv("calc(".concat((y.length-1)/2," * -").concat(s," + (").concat(u," / 2))"));break;default:F=mv("calc(".concat(y.length-1," * -").concat(s,")"));break}var q=[];if(c){var H=y[0].width,z=g.width;q.push("scale(".concat((X(z)?z/H:1)/H,")"))}return b&&q.push("rotate(".concat(b,", ").concat(R,", ").concat(N,")")),q.length&&(O.transform=q.join(" ")),uf.default.createElement("text",BS({},re(O,!0),{x:R,y:N,className:ae("recharts-text",C),textAnchor:p,fill:h.includes("url")?sB:h}),y.map(function(L,I){var A=L.words.join(P?"":" ");return uf.default.createElement("tspan",{x:R,dy:I===0?F:s,key:"".concat(A,"-").concat(I)},A)}))};var nt=D(K()),Hf=D(va()),Wf=D(dt()),GC=D(qr());var kj=D(va()),Aj=D(K()),Tj=D(dt());var Yv={};pz(Yv,{scaleBand:()=>Oo,scaleDiverging:()=>Xv,scaleDivergingLog:()=>xC,scaleDivergingPow:()=>Kv,scaleDivergingSqrt:()=>E3,scaleDivergingSymlog:()=>wC,scaleIdentity:()=>Mv,scaleImplicit:()=>bv,scaleLinear:()=>Wi,scaleLog:()=>Rv,scaleOrdinal:()=>Xl,scalePoint:()=>Mo,scalePow:()=>Sf,scaleQuantile:()=>Nv,scaleQuantize:()=>Fv,scaleRadial:()=>_v,scaleSequential:()=>Hv,scaleSequentialLog:()=>vC,scaleSequentialPow:()=>Wv,scaleSequentialQuantile:()=>Gv,scaleSequentialSqrt:()=>T3,scaleSequentialSymlog:()=>yC,scaleSqrt:()=>QB,scaleSymlog:()=>Dv,scaleThreshold:()=>Bv,scaleTime:()=>hC,scaleUtc:()=>gC,tickFormat:()=>vf});function Zt(e,t){return e==null||t==null?NaN:e<t?-1:e>t?1:e>=t?0:NaN}function US(e,t){return e==null||t==null?NaN:t<e?-1:t>e?1:t>=e?0:NaN}function Fi(e){let t,r,a;e.length!==2?(t=Zt,r=(s,l)=>Zt(e(s),l),a=(s,l)=>e(s)-l):(t=e===Zt||e===US?e:wne,r=e,a=e);function n(s,l,u=0,d=s.length){if(u<d){if(t(l,l)!==0)return d;do{let c=u+d>>>1;r(s[c],l)<0?u=c+1:d=c}while(u<d)}return u}function o(s,l,u=0,d=s.length){if(u<d){if(t(l,l)!==0)return d;do{let c=u+d>>>1;r(s[c],l)<=0?u=c+1:d=c}while(u<d)}return u}function i(s,l,u=0,d=s.length){let c=n(s,l,u,d-1);return c>u&&a(s[c-1],l)>-a(s[c],l)?c-1:c}return{left:n,center:i,right:o}}function wne(){return 0}function cf(e){return e===null?NaN:+e}function*cB(e,t){if(t===void 0)for(let r of e)r!=null&&(r=+r)>=r&&(yield r);else{let r=-1;for(let a of e)(a=t(a,++r,e))!=null&&(a=+a)>=a&&(yield a)}}var dB=Fi(Zt),fB=dB.right,bne=dB.left,Sne=Fi(cf).center,Sa=fB;var Gl=class extends Map{constructor(t,r=Ine){if(super(),Object.defineProperties(this,{_intern:{value:new Map},_key:{value:r}}),t!=null)for(let[a,n]of t)this.set(a,n)}get(t){return super.get(pB(this,t))}has(t){return super.has(pB(this,t))}set(t,r){return super.set(Cne(this,t),r)}delete(t){return super.delete(Lne(this,t))}};function pB({_intern:e,_key:t},r){let a=t(r);return e.has(a)?e.get(a):r}function Cne({_intern:e,_key:t},r){let a=t(r);return e.has(a)?e.get(a):(e.set(a,r),r)}function Lne({_intern:e,_key:t},r){let a=t(r);return e.has(a)&&(r=e.get(a),e.delete(a)),r}function Ine(e){return e!==null&&typeof e=="object"?e.valueOf():e}function mB(e=Zt){if(e===Zt)return VS;if(typeof e!="function")throw new TypeError("compare is not a function");return(t,r)=>{let a=e(t,r);return a||a===0?a:(e(r,r)===0)-(e(t,t)===0)}}function VS(e,t){return(e==null||!(e>=e))-(t==null||!(t>=t))||(e<t?-1:e>t?1:0)}var Pne=Math.sqrt(50),kne=Math.sqrt(10),Ane=Math.sqrt(2);function hv(e,t,r){let a=(t-e)/Math.max(0,r),n=Math.floor(Math.log10(a)),o=a/Math.pow(10,n),i=o>=Pne?10:o>=kne?5:o>=Ane?2:1,s,l,u;return n<0?(u=Math.pow(10,-n)/i,s=Math.round(e*u),l=Math.round(t*u),s/u<e&&++s,l/u>t&&--l,u=-u):(u=Math.pow(10,n)*i,s=Math.round(e/u),l=Math.round(t/u),s*u<e&&++s,l*u>t&&--l),l<s&&.5<=r&&r<2?hv(e,t,r*2):[s,l,u]}function Bi(e,t,r){if(t=+t,e=+e,r=+r,!(r>0))return[];if(e===t)return[e];let a=t<e,[n,o,i]=a?hv(t,e,r):hv(e,t,r);if(!(o>=n))return[];let s=o-n+1,l=new Array(s);if(a)if(i<0)for(let u=0;u<s;++u)l[u]=(o-u)/-i;else for(let u=0;u<s;++u)l[u]=(o-u)*i;else if(i<0)for(let u=0;u<s;++u)l[u]=(n+u)/-i;else for(let u=0;u<s;++u)l[u]=(n+u)*i;return l}function df(e,t,r){return t=+t,e=+e,r=+r,hv(e,t,r)[2]}function $l(e,t,r){t=+t,e=+e,r=+r;let a=t<e,n=a?df(t,e,r):df(e,t,r);return(a?-1:1)*(n<0?1/-n:n)}
27function gv(e,t){let r;if(t===void 0)for(let a of e)a!=null&&(r<a||r===void 0&&a>=a)&&(r=a);else{let a=-1;for(let n of e)(n=t(n,++a,e))!=null&&(r<n||r===void 0&&n>=n)&&(r=n)}return r}function vv(e,t){let r;if(t===void 0)for(let a of e)a!=null&&(r>a||r===void 0&&a>=a)&&(r=a);else{let a=-1;for(let n of e)(n=t(n,++a,e))!=null&&(r>n||r===void 0&&n>=n)&&(r=n)}return r}function yv(e,t,r=0,a=1/0,n){if(t=Math.floor(t),r=Math.floor(Math.max(0,r)),a=Math.floor(Math.min(e.length-1,a)),!(r<=t&&t<=a))return e;for(n=n===void 0?VS:mB(n);a>r;){if(a-r>600){let l=a-r+1,u=t-r+1,d=Math.log(l),c=.5*Math.exp(2*d/3),f=.5*Math.sqrt(d*c*(l-c)/l)*(u-l/2<0?-1:1),p=Math.max(r,Math.floor(t-u*c/l+f)),v=Math.min(a,Math.floor(t+(l-u)*c/l+f));yv(e,t,p,v,n)}let o=e[t],i=r,s=a;for(ff(e,r,t),n(e[a],o)>0&&ff(e,r,a);i<s;){for(ff(e,i,s),++i,--s;n(e[i],o)<0;)++i;for(;n(e[s],o)>0;)--s}n(e[r],o)===0?ff(e,r,s):(++s,ff(e,s,a)),s<=t&&(r=s+1),t<=s&&(a=s-1)}return e}function ff(e,t,r){let a=e[t];e[t]=e[r],e[r]=a}function xv(e,t,r){if(e=Float64Array.from(cB(e,r)),!(!(a=e.length)||isNaN(t=+t))){if(t<=0||a<2)return vv(e);if(t>=1)return gv(e);var a,n=(a-1)*t,o=Math.floor(n),i=gv(yv(e,o).subarray(0,o+1)),s=vv(e.subarray(o+1));return i+(s-i)*(n-o)}}function qS(e,t,r=cf){if(!(!(a=e.length)||isNaN(t=+t))){if(t<=0||a<2)return+r(e[0],0,e);if(t>=1)return+r(e[a-1],a-1,e);var a,n=(a-1)*t,o=Math.floor(n),i=+r(e[o],o,e),s=+r(e[o+1],o+1,e);return i+(s-i)*(n-o)}}function wv(e,t,r){e=+e,t=+t,r=(n=arguments.length)<2?(t=e,e=0,1):n<3?1:+r;for(var a=-1,n=Math.max(0,Math.ceil((t-e)/r))|0,o=new Array(n);++a<n;)o[a]=e+a*r;return o}function We(e,t){switch(arguments.length){case 0:break;case 1:this.range(e);break;default:this.range(t).domain(e);break}return this}function Kr(e,t){switch(arguments.length){case 0:break;case 1:{typeof e=="function"?this.interpolator(e):this.range(e);break}default:{this.domain(e),typeof t=="function"?this.interpolator(t):this.range(t);break}}return this}var bv=Symbol("implicit");function Xl(){var e=new Gl,t=[],r=[],a=bv;function n(o){let i=e.get(o);if(i===void 0){if(a!==bv)return a;e.set(o,i=t.push(o)-1)}return r[i%r.length]}return n.domain=function(o){if(!arguments.length)return t.slice();t=[],e=new Gl;for(let i of o)e.has(i)||e.set(i,t.push(i)-1);return n},n.range=function(o){return arguments.length?(r=Array.from(o),n):r.slice()},n.unknown=function(o){return arguments.length?(a=o,n):a},n.copy=function(){return Xl(t,r).unknown(a)},We.apply(n,arguments),n}function Oo(){var e=Xl().unknown(void 0),t=e.domain,r=e.range,a=0,n=1,o,i,s=!1,l=0,u=0,d=.5;delete e.unknown;function c(){var f=t().length,p=n<a,v=p?n:a,m=p?a:n;o=(m-v)/Math.max(1,f-l+u*2),s&&(o=Math.floor(o)),v+=(m-v-o*(f-l))*d,i=o*(1-l),s&&(v=Math.round(v),i=Math.round(i));var w=wv(f).map(function(h){return v+o*h});return r(p?w.reverse():w)}return e.domain=function(f){return arguments.length?(t(f),c()):t()},e.range=function(f){return arguments.length?([a,n]=f,a=+a,n=+n,c()):[a,n]},e.rangeRound=function(f){return[a,n]=f,a=+a,n=+n,s=!0,c()},e.bandwidth=function(){return i},e.step=function(){return o},e.round=function(f){return arguments.length?(s=!!f,c()):s},e.padding=function(f){return arguments.length?(l=Math.min(1,u=+f),c()):l},e.paddingInner=function(f){return arguments.length?(l=Math.min(1,f),c()):l},e.paddingOuter=function(f){return arguments.length?(u=+f,c()):u},e.align=function(f){return arguments.length?(d=Math.max(0,Math.min(1,f)),c()):d},e.copy=function(){return Oo(t(),[a,n]).round(s).paddingInner(l).paddingOuter(u).align(d)},We.apply(c(),arguments)}function hB(e){var t=e.copy;return e.padding=e.paddingOuter,delete e.paddingInner,delete e.paddingOuter,e.copy=function(){return hB(t())},e}function Mo(){return hB(Oo.apply(null,arguments).paddingInner(1))}function Sv(e,t,r){e.prototype=t.prototype=r,r.constructor=e}function zS(e,t){var r=Object.create(e.prototype);for(var a in t)r[a]=t[a];return r}function hf(){}var pf=.7,Iv=1/pf,Kl="\\s*([+-]?\\d+)\\s*",mf="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",Wa="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",Tne=/^#([0-9a-f]{3,8})$/,Ene=new RegExp(`^rgb\\(${Kl},${Kl},${Kl}\\)$`),One=new RegExp(`^rgb\\(${Wa},${Wa},${Wa}\\)$`),Mne=new RegExp(`^rgba\\(${Kl},${Kl},${Kl},${mf}\\)$`),Rne=new RegExp(`^rgba\\(${Wa},${Wa},${Wa},${mf}\\)$`),Dne=new RegExp(`^hsl\\(${mf},${Wa},${Wa}\\)$`),_ne=new RegExp(`^hsla\\(${mf},${Wa},${Wa},${mf}\\)$`),gB={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};Sv(hf,Ro,{copy(e){return Object.assign(new this.constructor,this,e)},displayable(){return this.rgb().displayable()},hex:vB,formatHex:vB,formatHex8:Nne,formatHsl:Fne,formatRgb:yB,toString:yB});function vB(){return this.rgb().formatHex()}function Nne(){return this.rgb().formatHex8()}function Fne(){return LB(this).formatHsl()}function yB(){return this.rgb().formatRgb()}function Ro(e){var t,r;return e=(e+"").trim().toLowerCase(),(t=Tne.exec(e))?(r=t[1].length,t=parseInt(t[1],16),r===6?xB(t):r===3?new dr
vendor: 6,413 bytes, line 27
27(t>>8&15|t>>4&240,t>>4&15|t&240,(t&15)<<4|t&15,1):r===8?Cv(t>>24&255,t>>16&255,t>>8&255,(t&255)/255):r===4?Cv(t>>12&15|t>>8&240,t>>8&15|t>>4&240,t>>4&15|t&240,((t&15)<<4|t&15)/255):null):(t=Ene.exec(e))?new dr(t[1],t[2],t[3],1):(t=One.exec(e))?new dr(t[1]*255/100,t[2]*255/100,t[3]*255/100,1):(t=Mne.exec(e))?Cv(t[1],t[2],t[3],t[4]):(t=Rne.exec(e))?Cv(t[1]*255/100,t[2]*255/100,t[3]*255/100,t[4]):(t=Dne.exec(e))?SB(t[1],t[2]/100,t[3]/100,1):(t=_ne.exec(e))?SB(t[1],t[2]/100,t[3]/100,t[4]):gB.hasOwnProperty(e)?xB(gB[e]):e==="transparent"?new dr(NaN,NaN,NaN,0):null}function xB(e){return new dr(e>>16&255,e>>8&255,e&255,1)}function Cv(e,t,r,a){return a<=0&&(e=t=r=NaN),new dr(e,t,r,a)}function Bne(e){return e instanceof hf||(e=Ro(e)),e?(e=e.rgb(),new dr(e.r,e.g,e.b,e.opacity)):new dr}function Yl(e,t,r,a){return arguments.length===1?Bne(e):new dr(e,t,r,a??1)}function dr(e,t,r,a){this.r=+e,this.g=+t,this.b=+r,this.opacity=+a}Sv(dr,Yl,zS(hf,{brighter(e){return e=e==null?Iv:Math.pow(Iv,e),new dr(this.r*e,this.g*e,this.b*e,this.opacity)},darker(e){return e=e==null?pf:Math.pow(pf,e),new dr(this.r*e,this.g*e,this.b*e,this.opacity)},rgb(){return this},clamp(){return new dr(Ui(this.r),Ui(this.g),Ui(this.b),Pv(this.opacity))},displayable(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:wB,formatHex:wB,formatHex8:jne,formatRgb:bB,toString:bB}));function wB(){return`#${ji(this.r)}${ji(this.g)}${ji(this.b)}`}function jne(){return`#${ji(this.r)}${ji(this.g)}${ji(this.b)}${ji((isNaN(this.opacity)?1:this.opacity)*255)}`}function bB(){let e=Pv(this.opacity);return`${e===1?"rgb(":"rgba("}${Ui(this.r)}, ${Ui(this.g)}, ${Ui(this.b)}${e===1?")":`, ${e})`}`}function Pv(e){return isNaN(e)?1:Math.max(0,Math.min(1,e))}function Ui(e){return Math.max(0,Math.min(255,Math.round(e)||0))}function ji(e){return e=Ui(e),(e<16?"0":"")+e.toString(16)}function SB(e,t,r,a){return a<=0?e=t=r=NaN:r<=0||r>=1?e=t=NaN:t<=0&&(e=NaN),new Ca(e,t,r,a)}function LB(e){if(e instanceof Ca)return new Ca(e.h,e.s,e.l,e.opacity);if(e instanceof hf||(e=Ro(e)),!e)return new Ca;if(e instanceof Ca)return e;e=e.rgb();var t=e.r/255,r=e.g/255,a=e.b/255,n=Math.min(t,r,a),o=Math.max(t,r,a),i=NaN,s=o-n,l=(o+n)/2;return s?(t===o?i=(r-a)/s+(r<a)*6:r===o?i=(a-t)/s+2:i=(t-r)/s+4,s/=l<.5?o+n:2-o-n,i*=60):s=l>0&&l<1?0:i,new Ca(i,s,l,e.opacity)}function IB(e,t,r,a){return arguments.length===1?LB(e):new Ca(e,t,r,a??1)}function Ca(e,t,r,a){this.h=+e,this.s=+t,this.l=+r,this.opacity=+a}Sv(Ca,IB,zS(hf,{brighter(e){return e=e==null?Iv:Math.pow(Iv,e),new Ca(this.h,this.s,this.l*e,this.opacity)},darker(e){return e=e==null?pf:Math.pow(pf,e),new Ca(this.h,this.s,this.l*e,this.opacity)},rgb(){var e=this.h%360+(this.h<0)*360,t=isNaN(e)||isNaN(this.s)?0:this.s,r=this.l,a=r+(r<.5?r:1-r)*t,n=2*r-a;return new dr(HS(e>=240?e-240:e+120,n,a),HS(e,n,a),HS(e<120?e+240:e-120,n,a),this.opacity)},clamp(){return new Ca(CB(this.h),Lv(this.s),Lv(this.l),Pv(this.opacity))},displayable(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl(){let e=Pv(this.opacity);return`${e===1?"hsl(":"hsla("}${CB(this.h)}, ${Lv(this.s)*100}%, ${Lv(this.l)*100}%${e===1?")":`, ${e})`}`}}));function CB(e){return e=(e||0)%360,e<0?e+360:e}function Lv(e){return Math.max(0,Math.min(1,e||0))}function HS(e,t,r){return(e<60?t+(r-t)*e/60:e<180?r:e<240?t+(r-t)*(240-e)/60:t)*255}function WS(e,t,r,a,n){var o=e*e,i=o*e;return((1-3*e+3*o-i)*t+(4-6*o+3*i)*r+(1+3*e+3*o-3*i)*a+i*n)/6}function PB(e){var t=e.length-1;return function(r){var a=r<=0?r=0:r>=1?(r=1,t-1):Math.floor(r*t),n=e[a],o=e[a+1],i=a>0?e[a-1]:2*n-o,s=a<t-1?e[a+2]:2*o-n;return WS((r-a/t)*t,i,n,o,s)}}function kB(e){var t=e.length;return function(r){var a=Math.floor(((r%=1)<0?++r:r)*t),n=e[(a+t-1)%t],o=e[a%t],i=e[(a+1)%t],s=e[(a+2)%t];return WS((r-a/t)*t,n,o,i,s)}}var gf=e=>()=>e;function Une(e,t){return function(r){return e+r*t}}function Vne(e,t,r){return e=Math.pow(e,r),t=Math.pow(t,r)-e,r=1/r,function(a){return Math.pow(e+a*t,r)}}function AB(e){return(e=+e)==1?kv:function(t,r){return r-t?Vne(t,r,e):gf(isNaN(t)?r:t)}}function kv(e,t){var r=t-e;return r?Une(e,r):gf(isNaN(e)?t:e)}var GS=function e(t){var r=AB(t);function a(n,o){var i=r((n=Yl(n)).r,(o=Yl(o)).r),s=r(n.g,o.g),l=r(n.b,o.b),u=kv(n.opacity,o.opacity);return function(d){return n.r=i(d),n.g=s(d),n.b=l(d),n.opacity=u(d),n+""}}return a.gamma=e,a}(1);function TB(e){return function(t){var r=t.length,a=new Array(r),n=new Array(r),o=new Array(r),i,s;for(i=0;i<r;++i)s=Yl(t[i]),a[i]=s.r||0,n[i]=s.g||0,o[i]=s.b||0;return a=e(a),n=e(n),o=e(o),s.opacity=1,function(l){return s.r=a(l),s.g=n(l),s.b=o(l),s+""}}}var rNe=TB(PB),aNe=TB(kB);function EB(e,t){t||(t=[]);var r=e?Math.min(t.length,e.length):0,a=t.slice(),n;return function(o){for(n=0;n<r;++n)a[n]=e[n]*(1-o)+t[n]*o;return a}}function OB(e){return ArrayBuffer.isView(e)&&!(e instanceof DataView)}function MB(e,t){var r=t?t.length:0,a=e?Math.min(r,e.length):0,n=new Array(a),o=new Array(r),i;for(i=0;i<a;++i)n[i]=Lr(e[i],t[i]);for(;i<r;++i)o[i]=t[i];return function(s){for(i=0;i<a;++i)o[i]=n[i](s);return o}}function RB(e,t){var r=new Date;return e=+e,t=+t,function(a){return r.setTime(e*(1-a)+t*a),r}}function Do(e,t){return e=+e,t=+t,function(r){return e*(1-r)+t*r}}function DB(e,t){var r={},a={},n;(e===null||typeof e!="object")&&(e={}),(t===null||typeof t!="object")&&(t={});for(n in t)n in e?r[n]=Lr(e[n],t[n]):a[n]=t[n];return function(o){for(n in r)a[n]=r[n](o);return a}}var XS=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,$S=new RegExp(XS.source,"g");function qne(e){return function(){return e}}function zne(e){return function(t){return e(t)+""}}function _B(e,t){var r=XS.lastIndex=$S.lastIndex=0,a,n,o,i=-1,s=[],l=[];for(e=e+"",t=t+"";(a=XS.exec(e))&&(n=$S.exec(t));)(o=n.index)>r&&(o=t.slice(r,o),s[i]?s[i]+=o:s[++i]=o),(a=a[0])===(n=n[0])?s[i]?s[i]+=n:s[++i]=n:(s[++i]=null,l.push({i,x:Do(a,n)})),r=$S.lastIndex;return r<t.length&&(o=t.slice(r),s[i]?s[i]+=o:s[++i]=o),s.length<2?l[0]?zne(l[0].x):qne(t):(t=l.length,function(u){for(var d=0,c;d<t;++d)s[(c=l[d]).i]=c.x(u);return s.join("")})}function Lr(e,t){var r=typeof t,a;return t==null||r==="boolean"?gf(t):(r==="number"?Do:r==="string"?(a=Ro(t))?(t=a,GS):_B:t instanceof Ro?GS:t instanceof Date?RB:OB(t)?EB:Array.isArray(t)?MB:typeof t.valueOf!="function"&&typeof t.toString!="function"||isNaN(t)?DB:Do
vendor: 5,295 bytes, line 27
27)(e,t)}function Vi(e,t){return e=+e,t=+t,function(r){return Math.round(e*(1-r)+t*r)}}function Av(e,t){t===void 0&&(t=e,e=Lr);for(var r=0,a=t.length-1,n=t[0],o=new Array(a<0?0:a);r<a;)o[r]=e(n,n=t[++r]);return function(i){var s=Math.max(0,Math.min(a-1,Math.floor(i*=a)));return o[s](i-s)}}function KS(e){return function(){return e}}function _o(e){return+e}var NB=[0,1];function wt(e){return e}function YS(e,t){return(t-=e=+e)?function(r){return(r-e)/t}:KS(isNaN(t)?NaN:.5)}function Hne(e,t){var r;return e>t&&(r=e,e=t,t=r),function(a){return Math.max(e,Math.min(t,a))}}function Wne(e,t,r){var a=e[0],n=e[1],o=t[0],i=t[1];return n<a?(a=YS(n,a),o=r(i,o)):(a=YS(a,n),o=r(o,i)),function(s){return o(a(s))}}function Gne(e,t,r){var a=Math.min(e.length,t.length)-1,n=new Array(a),o=new Array(a),i=-1;for(e[a]<e[0]&&(e=e.slice().reverse(),t=t.slice().reverse());++i<a;)n[i]=YS(e[i],e[i+1]),o[i]=r(t[i],t[i+1]);return function(s){var l=Sa(e,s,1,a)-1;return o[l](n[l](s))}}function Ga(e,t){return t.domain(e.domain()).range(e.range()).interpolate(e.interpolate()).clamp(e.clamp()).unknown(e.unknown())}function qi(){var e=NB,t=NB,r=Lr,a,n,o,i=wt,s,l,u;function d(){var f=Math.min(e.length,t.length);return i!==wt&&(i=Hne(e[0],e[f-1])),s=f>2?Gne:Wne,l=u=null,c}function c(f){return f==null||isNaN(f=+f)?o:(l||(l=s(e.map(a),t,r)))(a(i(f)))}return c.invert=function(f){return i(n((u||(u=s(t,e.map(a),Do)))(f)))},c.domain=function(f){return arguments.length?(e=Array.from(f,_o),d()):e.slice()},c.range=function(f){return arguments.length?(t=Array.from(f),d()):t.slice()},c.rangeRound=function(f){return t=Array.from(f),r=Vi,d()},c.clamp=function(f){return arguments.length?(i=f?!0:wt,d()):i!==wt},c.interpolate=function(f){return arguments.length?(r=f,d()):r},c.unknown=function(f){return arguments.length?(o=f,c):o},function(f,p){return a=f,n=p,d()}}function zi(){return qi()(wt,wt)}function FB(e){return Math.abs(e=Math.round(e))>=1e21?e.toLocaleString("en").replace(/,/g,""):e.toString(10)}function Hi(e,t){if((r=(e=t?e.toExponential(t-1):e.toExponential()).indexOf("e"))<0)return null;var r,a=e.slice(0,r);return[a.length>1?a[0]+a.slice(2):a,+e.slice(r+1)]}function $a(e){return e=Hi(Math.abs(e)),e?e[1]:NaN}function BB(e,t){return function(r,a){for(var n=r.length,o=[],i=0,s=e[0],l=0;n>0&&s>0&&(l+s+1>a&&(s=Math.max(1,a-l)),o.push(r.substring(n-=s,n+s)),!((l+=s+1)>a));)s=e[i=(i+1)%e.length];return o.reverse().join(t)}}function jB(e){return function(t){return t.replace(/[0-9]/g,function(r){return e[+r]})}}var $ne=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function Xa(e){if(!(t=$ne.exec(e)))throw new Error("invalid format: "+e);var t;return new Tv({fill:t[1],align:t[2],sign:t[3],symbol:t[4],zero:t[5],width:t[6],comma:t[7],precision:t[8]&&t[8].slice(1),trim:t[9],type:t[10]})}Xa.prototype=Tv.prototype;function Tv(e){this.fill=e.fill===void 0?" ":e.fill+"",this.align=e.align===void 0?">":e.align+"",this.sign=e.sign===void 0?"-":e.sign+"",this.symbol=e.symbol===void 0?"":e.symbol+"",this.zero=!!e.zero,this.width=e.width===void 0?void 0:+e.width,this.comma=!!e.comma,this.precision=e.precision===void 0?void 0:+e.precision,this.trim=!!e.trim,this.type=e.type===void 0?"":e.type+""}Tv.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(this.width===void 0?"":Math.max(1,this.width|0))+(this.comma?",":"")+(this.precision===void 0?"":"."+Math.max(0,this.precision|0))+(this.trim?"~":"")+this.type};function UB(e){e:for(var t=e.length,r=1,a=-1,n;r<t;++r)switch(e[r]){case".":a=n=r;break;case"0":a===0&&(a=r),n=r;break;default:if(!+e[r])break e;a>0&&(a=0);break}return a>0?e.slice(0,a)+e.slice(n+1):e}var QS;function VB(e,t){var r=Hi(e,t);if(!r)return e+"";var a=r[0],n=r[1],o=n-(QS=Math.max(-8,Math.min(8,Math.floor(n/3)))*3)+1,i=a.length;return o===i?a:o>i?a+new Array(o-i+1).join("0"):o>0?a.slice(0,o)+"."+a.slice(o):"0."+new Array(1-o).join("0")+Hi(e,Math.max(0,t+o-1))[0]}function ZS(e,t){var r=Hi(e,t);if(!r)return e+"";var a=r[0],n=r[1];return n<0?"0."+new Array(-n).join("0")+a:a.length>n+1?a.slice(0,n+1)+"."+a.slice(n+1):a+new Array(n-a.length+2).join("0")}var JS={"%":(e,t)=>(e*100).toFixed(t),b:e=>Math.round(e).toString(2),c:e=>e+"",d:FB,e:(e,t)=>e.toExponential(t),f:(e,t)=>e.toFixed(t),g:(e,t)=>e.toPrecision(t),o:e=>Math.round(e).toString(8),p:(e,t)=>ZS(e*100,t),r:ZS,s:VB,X:e=>Math.round(e).toString(16).toUpperCase(),x:e=>Math.round(e).toString(16)};function eC(e){return e}var qB=Array.prototype.map,zB=["y","z","a","f","p","n","\xB5","m","","k","M","G","T","P","E","Z","Y"];function HB(e){var t=e.grouping===void 0||e.thousands===void 0?eC:BB(qB.call(e.grouping,Number),e.thousands+""),r=e.currency===void 0?"":e.currency[0]+"",a=e.currency===void 0?"":e.currency[1]+"",n=e.decimal===void 0?".":e.decimal+"",o=e.numerals===void 0?eC:jB(qB.call(e.numerals,String)),i=e.percent===void 0?"%":e.percent+"",s=e.minus===void 0?"\u2212":e.minus+"",l=e.nan===void 0?"NaN":e.nan+"";function u(c){c=Xa(c);var f=c.fill,p=c.align,v=c.sign,m=c.symbol,w=c.zero,h=c.width,g=c.comma,y=c.precision,S=c.trim,x=c.type;x==="n"?(g=!0,x="g"):JS[x]||(y===void 0&&(y=12),S=!0,x="g"),(w||f==="0"&&p==="=")&&(w=!0,f="0",p="=");var b=m==="$"?r:m==="#"&&/[boxX]/.test(x)?"0"+x.toLowerCase():"",C=m==="$"?a:/[%p]/.test(x)?i:"",P=J
27S[x],O=/[defgprs%]/.test(x);y=y===void 0?6:/[gprs]/.test(x)?Math.max(1,Math.min(21,y)):Math.max(0,Math.min(20,y));function R(N){var F=b,q=C,H,z,L;if(x==="c")q=P(N)+q,N="";else{N=+N;var I=N<0||1/N<0;if(N=isNaN(N)?l:P(Math.abs(N),y),S&&(N=UB(N)),I&&+N==0&&v!=="+"&&(I=!1),F=(I?v==="("?v:s:v==="-"||v==="("?"":v)+F,q=(x==="s"?zB[8+QS/3]:"")+q+(I&&v==="("?")":""),O){for(H=-1,z=N.length;++H<z;)if(L=N.charCodeAt(H),48>L||L>57){q=(L===46?n+N.slice(H+1):N.slice(H))+q,N=N.slice(0,H);break}}}g&&!w&&(N=t(N,1/0));var A=F.length+N.length+q.length,k=A<h?new Array(h-A+1).join(f):"";switch(g&&w&&(N=t(k+N,k.length?h-q.length:1/0),k=""),p){case"<":N=F+N+q+k;break;case"=":N=F+k+N+q;break;case"^":N=k.slice(0,A=k.length>>1)+F+N+q+k.slice(A);break;default:N=k+F+N+q;break}return o(N)}return R.toString=function(){return c+""},R}function d(c,f){var p=u((c=Xa(c),c.type="f",c)),v=Math.max(-8,Math.min(8,Math.floor($a(f)/3)))*3,m=Math.pow(10,-v),w=zB[8+v/3];return function(h){return p(m*h)+w}}return{format:u,formatPrefix:d}}var Ev,Ql,Ov;tC({thousands:",",grouping:[3],currency:["$",""]});function tC(e){return Ev=HB(e),Ql=Ev.format,Ov=Ev.formatPrefix,Ev}function rC(e){return Math.max(0,-$a(Math.abs(e)))}function aC(e,t){return Math.max(0,Math.max(-8,Math.min(8,Math.floor($a(t)/3)))*3-$a(Math.abs(e)))}function nC(e,t){return e=Math.abs(e),t=Math.abs(t)-e,Math.max(0,$a(t)-$a(e))+1}function vf(e,t,r,a){var n=$l(e,t,r),o;switch(a=Xa(a??",f"),a.type){case"s":{var i=Math.max(Math.abs(e),Math.abs(t));return a.precision==null&&!isNaN(o=aC(n,i))&&(a.precision=o),Ov(a,i)}case"":case"e":case"g":case"p":case"r":{a.precision==null&&!isNaN(o=nC(n,Math.max(Math.abs(e),Math.abs(t))))&&(a.precision=o-(a.type==="e"));break}case"f":case"%":{a.precision==null&&!isNaN(o=rC(n))&&(a.precision=o-(a.type==="%")*2);break}}return Ql(a)}function Jt(e){var t=e.domain;return e.ticks=function(r){var a=t();return Bi(a[0],a[a.length-1],r??10)},e.tickFormat=function(r,a){var n=t();return vf(n[0],n[n.length-1],r??10,a)},e.nice=function(r){r==null&&(r=10);var a=t(),n=0,o=a.length-1,i=a[n],s=a[o],l,u,d=10;for(s<i&&(u=i,i=s,s=u,u=n,n=o,o=u);d-- >0;){if(u=df(i,s,r),u===l)return a[n]=i,a[o]=s,t(a);if(u>0)i=Math.floor(i/u)*u,s=Math.ceil(s/u)*u;else if(u<0)i=Math.ceil(i*u)/u,s=Math.floor(s*u)/u;else break;l=u}return e},e}function Wi(){var e=zi();return e.copy=function(){return Ga(e,Wi())},We.apply(e,arguments),Jt(e)}function Mv(e){var t;function r(a){return a==null||isNaN(a=+a)?t:a}return r.invert=r,r.domain=r.range=function(a){return arguments.length?(e=Array.from(a,_o),r):e.slice()},r.unknown=function(a){return arguments.length?(t=a,r):t},r.copy=function(){return Mv(e).unknown(t)},e=arguments.length?Array.from(e,_o):[0,1],Jt(r)}function yf(e,t){e=e.slice();var r=0,a=e.length-1,n=e[r],o=e[a],i;return o<n&&(i=r,r=a,a=i,i=n,n=o,o=i),e[r]=t.floor(n),e[a]=t.ceil(o),e}function WB(e){return Math.log(e)}function GB(e){return Math.exp(e)}function Xne(e){return-Math.log(-e)}function Kne(e){return-Math.exp(-e)}function Yne(e){return isFinite(e)?+("1e"+e):e<0?0:e}function Qne(e){return e===10?Yne:e===Math.E?Math.exp:t=>Math.pow(e,t)}function Zne(e){return e===Math.E?Math.log:e===10&&Math.log10||e===2&&Math.log2||(e=Math.log(e),t=>Math.log(t)/e)}function $B(e){return(t,r)=>-e(-t,r)}function xf(e){let t=e(WB,GB),r=t.domain,a=10,n,o;function i(){return n=Zne(a),o=Qne(a),r()[0]<0?(n=$B(n),o=$B(o),e(Xne,Kne)):e(WB,GB),t}return t.base=function(s){return arguments.length?(a=+s,i()):a},t.domain=function(s){return arguments.length?(r(s),i()):r()},t.ticks=s=>{let l=r(),u=l[0],d=l[l.length-1],c=d<u;c&&([u,d]=[d,u]);let f=n(u),p=n(d),v,m,w=s==null?10:+s,h=[];if(!(a%1)&&p-f<w){if(f=Math.floor(f),p=Math.ceil(p),u>0){for(;f<=p;++f)for(v=1;v<a;++v)if(m=f<0?v/o(-f):v*o(f),!(m<u)){if(m>d)break;h.push(m)}}else for(;f<=p;++f)for(v=a-1;v>=1;--v)if(m=f>0?v/o(-f):v*o(f),!(m<u)){if(m>d)break;h.push(m)}h.length*2<w&&(h=Bi(u,d,w))}else h=Bi(f,p,Math.min(p-f,w)).map(o);return c?h.reverse():h},t.tickFormat=(s,l)=>{if(s==null&&(s=10),l==null&&(l=a===10?"s":","),typeof l!="function"&&(!(a%1)&&(l=Xa(l)).precision==null&&(l.trim=!0),l=Ql(l)),s===1/0)return l;let u=Math.max(1,a*s/t.ticks().length);return d=>{let c=d/o(Math.round(n(d)));return c*a<a-.5&&(c*=a),c<=u?l(d):""}},t.nice=()=>r(yf(r(),{floor:s=>o(Math.floor(n(s))),ceil:s=>o(Math.ceil(n(s)))})),t}function Rv(){let e=xf(qi()).domain([1,10]);return e.copy=()=>Ga(e,Rv()).base(e.base()),We.apply(e,arguments),e}
27function XB(e){return function(t){return Math.sign(t)*Math.log1p(Math.abs(t/e))}}function KB(e){return function(t){return Math.sign(t)*Math.expm1(Math.abs(t))*e}}function wf(e){var t=1,r=e(XB(t),KB(t));return r.constant=function(a){return arguments.length?e(XB(t=+a),KB(t)):t},Jt(r)}function Dv(){var e=wf(qi());return e.copy=function(){return Ga(e,Dv()).constant(e.constant())},We.apply(e,arguments)}function YB(e){return function(t){return t<0?-Math.pow(-t,e):Math.pow(t,e)}}function Jne(e){return e<0?-Math.sqrt(-e):Math.sqrt(e)}function eoe(e){return e<0?-e*e:e*e}function bf(e){var t=e(wt,wt),r=1;function a(){return r===1?e(wt,wt):r===.5?e(Jne,eoe):e(YB(r),YB(1/r))}return t.exponent=function(n){return arguments.length?(r=+n,a()):r},Jt(t)}function Sf(){var e=bf(qi());return e.copy=function(){return Ga(e,Sf()).exponent(e.exponent())},We.apply(e,arguments),e}function QB(){return Sf.apply(null,arguments).exponent(.5)}function ZB(e){return Math.sign(e)*e*e}function toe(e){return Math.sign(e)*Math.sqrt(Math.abs(e))}function _v(){var e=zi(),t=[0,1],r=!1,a;function n(o){var i=toe(e(o));return isNaN(i)?a:r?Math.round(i):i}return n.invert=function(o){return e.invert(ZB(o))},n.domain=function(o){return arguments.length?(e.domain(o),n):e.domain()},n.range=function(o){return arguments.length?(e.range((t=Array.from(o,_o)).map(ZB)),n):t.slice()},n.rangeRound=function(o){return n.range(o).round(!0)},n.round=function(o){return arguments.length?(r=!!o,n):r},n.clamp=function(o){return arguments.length?(e.clamp(o),n):e.clamp()},n.unknown=function(o){return arguments.length?(a=o,n):a},n.copy=function(){return _v(e.domain(),t).round(r).clamp(e.clamp()).unknown(a)},We.apply(n,arguments),Jt(n)}function Nv(){var e=[],t=[],r=[],a;function n(){var i=0,s=Math.max(1,t.length);for(r=new Array(s-1);++i<s;)r[i-1]=qS(e,i/s);return o}function o(i){return i==null||isNaN(i=+i)?a:t[Sa(r,i)]}return o.invertExtent=function(i){var s=t.indexOf(i);return s<0?[NaN,NaN]:[s>0?r[s-1]:e[0],s<r.length?r[s]:e[e.length-1]]},o.domain=function(i){if(!arguments.length)return e.slice();e=[];for(let s of i)s!=null&&!isNaN(s=+s)&&e.push(s);return e.sort(Zt),n()},o.range=function(i){return arguments.length?(t=Array.from(i),n()):t.slice()},o.unknown=function(i){return arguments.length?(a=i,o):a},o.quantiles=function(){return r.slice()},o.copy=function(){return Nv().domain(e).range(t).unknown(a)},We.apply(o,arguments)}function Fv(){var e=0,t=1,r=1,a=[.5],n=[0,1],o;function i(l){return l!=null&&l<=l?n[Sa(a,l,0,r)]:o}function s(){var l=-1;for(a=new Array(r);++l<r;)a[l]=((l+1)*t-(l-r)*e)/(r+1);return i}return i.domain=function(l){return arguments.length?([e,t]=l,e=+e,t=+t,s()):[e,t]},i.range=function(l){return arguments.length?(r=(n=Array.from(l)).length-1,s()):n.slice()},i.invertExtent=function(l){var u=n.indexOf(l);return u<0?[NaN,NaN]:u<1?[e,a[0]]:u>=r?[a[r-1],t]:[a[u-1],a[u]]},i.unknown=function(l){return arguments.length&&(o=l),i},i.thresholds=function(){return a.slice()},i.copy=function(){return Fv().domain([e,t]).range(n).unknown(o)},We.apply(Jt(i),arguments)}function Bv(){var e=[.5],t=[0,1],r,a=1;function n(o){return o!=null&&o<=o?t[Sa(e,o,0,a)]:r}return n.domain=function(o){return arguments.length?(e=Array.from(o),a=Math.min(e.length,t.length-1),n):e.slice()},n.range=function(o){return arguments.length?(t=Array.from(o),a=Math.min(e.length,t.length-1),n):t.slice()},n.invertExtent=function(o){var i=t.indexOf(o);return[e[i-1],e[i]]},n.unknown=function(o){return arguments.length?(r=o,n):r},n.copy=function(){return Bv().domain(e).range(t).unknown(r)},We.apply(n,arguments)}var oC=new Date,iC=new Date;function Te(e,t,r,a){function n(o){return e(o=arguments.length===0?new Date:new Date(+o)),o}return n.floor=o=>(e(o=new Date(+o)),o),n.ceil=o=>(e(o=new Date(o-1)),t(o,1),e(o),o),n.round=o=>{let i=n(o),s=n.ceil(o);return o-i<s-o?i:s},n.offset=(o,i)=>(t(o=new Date(+o),i==null?1:Math.floor(i)),o),n.range=(o,i,s)=>{let l=[];if(o=n.ceil(o),s=s==null?1:Math.floor(s),!(o<i)||!(s>0))return l;let u;do l.push(u=new Date(+o)),t(o,s),e(o);while(u<o&&o<i);return l},n.filter=o=>Te(i=>{if(i>=i)for(;e(i),!o(i);)i.setTime(i-1)},(i,s)=>{if(i>=i)if(s<0)for(;++s<=0;)for(;
vendor: 5,712 bytes, line 27
27t(i,-1),!o(i););else for(;--s>=0;)for(;t(i,1),!o(i););}),r&&(n.count=(o,i)=>(oC.setTime(+o),iC.setTime(+i),e(oC),e(iC),Math.floor(r(oC,iC))),n.every=o=>(o=Math.floor(o),!isFinite(o)||!(o>0)?null:o>1?n.filter(a?i=>a(i)%o===0:i=>n.count(0,i)%o===0):n)),n}var Cf=Te(()=>{},(e,t)=>{e.setTime(+e+t)},(e,t)=>t-e);Cf.every=e=>(e=Math.floor(e),!isFinite(e)||!(e>0)?null:e>1?Te(t=>{t.setTime(Math.floor(t/e)*e)},(t,r)=>{t.setTime(+t+r*e)},(t,r)=>(r-t)/e):Cf);var pBe=Cf.range;var Yr=Te(e=>{e.setTime(e-e.getMilliseconds())},(e,t)=>{e.setTime(+e+t*1e3)},(e,t)=>(t-e)/1e3,e=>e.getUTCSeconds()),JB=Yr.range;var Zl=Te(e=>{e.setTime(e-e.getMilliseconds()-e.getSeconds()*1e3)},(e,t)=>{e.setTime(+e+t*6e4)},(e,t)=>(t-e)/6e4,e=>e.getMinutes()),roe=Zl.range,Jl=Te(e=>{e.setUTCSeconds(0,0)},(e,t)=>{e.setTime(+e+t*6e4)},(e,t)=>(t-e)/6e4,e=>e.getUTCMinutes()),aoe=Jl.range;var eu=Te(e=>{e.setTime(e-e.getMilliseconds()-e.getSeconds()*1e3-e.getMinutes()*6e4)},(e,t)=>{e.setTime(+e+t*36e5)},(e,t)=>(t-e)/36e5,e=>e.getHours()),noe=eu.range,tu=Te(e=>{e.setUTCMinutes(0,0,0)},(e,t)=>{e.setTime(+e+t*36e5)},(e,t)=>(t-e)/36e5,e=>e.getUTCHours()),ooe=tu.range;var Rn=Te(e=>e.setHours(0,0,0,0),(e,t)=>e.setDate(e.getDate()+t),(e,t)=>(t-e-(t.getTimezoneOffset()-e.getTimezoneOffset())*6e4)/864e5,e=>e.getDate()-1),ioe=Rn.range,Xi=Te(e=>{e.setUTCHours(0,0,0,0)},(e,t)=>{e.setUTCDate(e.getUTCDate()+t)},(e,t)=>(t-e)/864e5,e=>e.getUTCDate()-1),soe=Xi.range,jv=Te(e=>{e.setUTCHours(0,0,0,0)},(e,t)=>{e.setUTCDate(e.getUTCDate()+t)},(e,t)=>(t-e)/864e5,e=>Math.floor(e/864e5)),loe=jv.range;function Ki(e){return Te(t=>{t.setDate(t.getDate()-(t.getDay()+7-e)%7),t.setHours(0,0,0,0)},(t,r)=>{t.setDate(t.getDate()+r*7)},(t,r)=>(r-t-(r.getTimezoneOffset()-t.getTimezoneOffset())*6e4)/6048e5)}var Dn=Ki(0),ru=Ki(1),t3=Ki(2),r3=Ki(3),No=Ki(4),a3=Ki(5),n3=Ki(6),o3=Dn.range,uoe=ru.range,coe=t3.range,doe=r3.range,foe=No.range,poe=a3.range,moe=n3.range;function Yi(e){return Te(t=>{t.setUTCDate(t.getUTCDate()-(t.getUTCDay()+7-e)%7),t.setUTCHours(0,0,0,0)},(t,r)=>{t.setUTCDate(t.getUTCDate()+r*7)},(t,r)=>(r-t)/6048e5)}var _n=Yi(0),au=Yi(1),i3=Yi(2),s3=Yi(3),Fo=Yi(4),l3=Yi(5),u3=Yi(6),c3=_n.range,hoe=au.range,goe=i3.range,voe=s3.range,yoe=Fo.range,xoe=l3.range,woe=u3.range;var nu=Te(e=>{e.setDate(1),e.setHours(0,0,0,0)},(e,t)=>{e.setMonth(e.getMonth()+t)},(e,t)=>t.getMonth()-e.getMonth()+(t.getFullYear()-e.getFullYear())*12,e=>e.getMonth()),boe=nu.range,ou=Te(e=>{e.setUTCDate(1),e.setUTCHours(0,0,0,0)},(e,t)=>{e.setUTCMonth(e.getUTCMonth()+t)},(e,t)=>t.getUTCMonth()-e.getUTCMonth()+(t.getUTCFullYear()-e.getUTCFullYear())*12,e=>e.getUTCMonth()),Soe=ou.range;var Ir=Te(e=>{e.setMonth(0,1),e.setHours(0,0,0,0)},(e,t)=>{e.setFullYear(e.getFullYear()+t)},(e,t)=>t.getFullYear()-e.getFullYear(),e=>e.getFullYear());Ir.every=e=>!isFinite(e=Math.floor(e))||!(e>0)?null:Te(t=>{t.setFullYear(Math.floor(t.getFullYear()/e)*e),t.setMonth(0,1),t.setHours(0,0,0,0)},(t,r)=>{t.setFullYear(t.getFullYear()+r*e)});var Coe=Ir.range,Pr=Te(e=>{e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)},(e,t)=>{e.setUTCFullYear(e.getUTCFullYear()+t)},(e,t)=>t.getUTCFullYear()-e.getUTCFullYear(),e=>e.getUTCFullYear());Pr.every=e=>!isFinite(e=Math.floor(e))||!(e>0)?null:Te(t=>{t.setUTCFullYear(Math.floor(t.getUTCFullYear()/e)*e),t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)},(t,r)=>{t.setUTCFullYear(t.getUTCFullYear()+r*e)});var Loe=Pr.range;function f3(e,t,r,a,n,o){let i=[[Yr,1,1e3],[Yr,5,5*1e3],[Yr,15,15*1e3],[Yr,30,30*1e3],[o,1,6e4],[o,5,5*6e4],[o,15,15*6e4],[o,30,30*6e4],[n,1,36e5],[n,3,3*36e5],[n,6,6*36e5],[n,12,12*36e5],[a,1,864e5],[a,2,2*864e5],[r,1,6048e5],[t,1,2592e6],[t,3,3*2592e6],[e,1,31536e6]];function s(u,d,c){let f=d<u;f&&([u,d]=[d,u]);let p=c&&typeof c.range=="function"?c:l(u,d,c),v=p?p.range(u,+d+1):[];return f?v.reverse():v}function l(u,d,c){let f=Math.abs(d-u)/c,p=Fi(([,,w])=>w).right(i,f);if(p===i.length)return e.every($l(u/31536e6,d/31536e6,c));if(p===0)return Cf.every(Math.max($l(u,d,c),1));let[v,m]=i[f/i[p-1][2]<i[p][2]/f?p-1:p];return v.every(m)}return[s,l]}var[sC,lC]=f3(Pr,ou,_n,jv,tu,Jl),[uC,cC]=f3(Ir,nu,Dn,Rn,eu,Zl);function dC(e){if(0<=e.y&&e.y<100){var t=new Date(-1,e.m,e.d,e.H,e.M,e.S,e.L);return t.setFullYear(e.y),t}return new Date(e.y,e.m,e.d,e.H,e.M,e.S,e.L)}function fC(e){if(0<=e.y&&e.y<100){var t=new Date(Date.UTC(-1,e.m,e.d,e.H,e.M,e.S,e.L));return t.setUTCFullYear(e.y),t}return new Date(Date.UTC(e.y,e.m,e.d,e.H,e.M,e.S,e.L))}function If(e,t,r){return{y:e,m:t,d:r,H:0,M:0,S:0,L:0}}function pC(e){var t=e.dateTime,r=e.date,a=e.time,n=e.periods,o=e.days,i=e.shortDays,s=e.months,l=e.shortMonths,u=Pf(n),d=kf(n),c=Pf(o),f=kf(o),p=Pf(i),v=kf(i),m=Pf(s),w=kf(s),h=Pf(l),g=kf(l),y={a:I,A,b:k,B:E,c:null,d:y3,e:y3,f:Xoe,g:nie,G:iie,H:Woe,I:Goe,j:$oe,L:C3,m:Koe,M:Yoe,p:T,q:_,Q:b3,s:S3,S:Qoe,u:Zoe,U:Joe,V:eie,w:tie,W:rie,x:null,X:null,y:aie,Y:oie,Z:sie,"%":w3},S={a:B,A:G,b:Q,B:Y,c:null,d:x3,e:x3,f:die,g:bie,G:Cie,H:lie,I:uie,j:cie,L:I3,m:fie,M:pie,p:ee,q:ge,Q:b3,s:S3,S:mie,u:hie,U:gie,V:vie,w:yie,W:xie,x:null,X:null,y:wie,Y:Sie,Z:Lie,"%":w3},x={a:R,A:N,b:F,B:q,c:H,d:g3,e:g3,f:Voe,g:h3,G:m3,H:v3,I:v3,j:Foe,L:Uoe,m:Noe,M:Boe,p:O,q:_oe,Q:zoe,s:Hoe,S:joe,u:Eoe,U:Ooe,V:Moe,w:Toe,W:Roe,x:z,X:L,y:h3,Y:m3,Z:Doe,"%":qoe};y.x=b(r,y),y.X=b(a,y),y.c=b(t,y),S.x=b(r,S),S.X=b(a,S),S.c=b(t,S);function b(W,se){return function(Z){var U=[],ke=-1,ue=0,Ge=W.length,Ve,ft,Tr;for(Z instanceof Date||(Z=new Date(+Z));++ke<Ge;)W.charCodeAt(ke)===37&&(U.push(W.slice(ue,ke)),(ft=p3[Ve=W.charAt(++ke)])!=null?Ve=W.charAt(++ke):ft=Ve==="e"?" ":"0",(Tr=se[Ve])&&(Ve=Tr(Z,ft)),U.push(Ve),ue=ke+1);return U.push(W.slice(ue,ke)),U.join("")}}function C(W,se){return function(Z){var U=If(1900,void 0,1),ke=P(U,W,Z+="",0),ue,Ge;if(ke!=Z.length)return null;
vendor: 7,232 bytes, line 27
27if("Q"in U)return new Date(U.Q);if("s"in U)return new Date(U.s*1e3+("L"in U?U.L:0));if(se&&!("Z"in U)&&(U.Z=0),"p"in U&&(U.H=U.H%12+U.p*12),U.m===void 0&&(U.m="q"in U?U.q:0),"V"in U){if(U.V<1||U.V>53)return null;"w"in U||(U.w=1),"Z"in U?(ue=fC(If(U.y,0,1)),Ge=ue.getUTCDay(),ue=Ge>4||Ge===0?au.ceil(ue):au(ue),ue=Xi.offset(ue,(U.V-1)*7),U.y=ue.getUTCFullYear(),U.m=ue.getUTCMonth(),U.d=ue.getUTCDate()+(U.w+6)%7):(ue=dC(If(U.y,0,1)),Ge=ue.getDay(),ue=Ge>4||Ge===0?ru.ceil(ue):ru(ue),ue=Rn.offset(ue,(U.V-1)*7),U.y=ue.getFullYear(),U.m=ue.getMonth(),U.d=ue.getDate()+(U.w+6)%7)}else("W"in U||"U"in U)&&("w"in U||(U.w="u"in U?U.u%7:"W"in U?1:0),Ge="Z"in U?fC(If(U.y,0,1)).getUTCDay():dC(If(U.y,0,1)).getDay(),U.m=0,U.d="W"in U?(U.w+6)%7+U.W*7-(Ge+5)%7:U.w+U.U*7-(Ge+6)%7);return"Z"in U?(U.H+=U.Z/100|0,U.M+=U.Z%100,fC(U)):dC(U)}}function P(W,se,Z,U){for(var ke=0,ue=se.length,Ge=Z.length,Ve,ft;ke<ue;){if(U>=Ge)return-1;if(Ve=se.charCodeAt(ke++),Ve===37){if(Ve=se.charAt(ke++),ft=x[Ve in p3?se.charAt(ke++):Ve],!ft||(U=ft(W,Z,U))<0)return-1}else if(Ve!=Z.charCodeAt(U++))return-1}return U}function O(W,se,Z){var U=u.exec(se.slice(Z));return U?(W.p=d.get(U[0].toLowerCase()),Z+U[0].length):-1}function R(W,se,Z){var U=p.exec(se.slice(Z));return U?(W.w=v.get(U[0].toLowerCase()),Z+U[0].length):-1}function N(W,se,Z){var U=c.exec(se.slice(Z));return U?(W.w=f.get(U[0].toLowerCase()),Z+U[0].length):-1}function F(W,se,Z){var U=h.exec(se.slice(Z));return U?(W.m=g.get(U[0].toLowerCase()),Z+U[0].length):-1}function q(W,se,Z){var U=m.exec(se.slice(Z));return U?(W.m=w.get(U[0].toLowerCase()),Z+U[0].length):-1}function H(W,se,Z){return P(W,t,se,Z)}function z(W,se,Z){return P(W,r,se,Z)}function L(W,se,Z){return P(W,a,se,Z)}function I(W){return i[W.getDay()]}function A(W){return o[W.getDay()]}function k(W){return l[W.getMonth()]}function E(W){return s[W.getMonth()]}function T(W){return n[+(W.getHours()>=12)]}function _(W){return 1+~~(W.getMonth()/3)}function B(W){return i[W.getUTCDay()]}function G(W){return o[W.getUTCDay()]}function Q(W){return l[W.getUTCMonth()]}function Y(W){return s[W.getUTCMonth()]}function ee(W){return n[+(W.getUTCHours()>=12)]}function ge(W){return 1+~~(W.getUTCMonth()/3)}return{format:function(W){var se=b(W+="",y);return se.toString=function(){return W},se},parse:function(W){var se=C(W+="",!1);return se.toString=function(){return W},se},utcFormat:function(W){var se=b(W+="",S);return se.toString=function(){return W},se},utcParse:function(W){var se=C(W+="",!0);return se.toString=function(){return W},se}}}var p3={"-":"",_:" ",0:"0"},At=/^\s*\d+/,Poe=/^%/,koe=/[\\^$*+?|[\]().{}]/g;function xe(e,t,r){var a=e<0?"-":"",n=(a?-e:e)+"",o=n.length;return a+(o<r?new Array(r-o+1).join(t)+n:n)}function Aoe(e){return e.replace(koe,"\\$&")}function Pf(e){return new RegExp("^(?:"+e.map(Aoe).join("|")+")","i")}function kf(e){return new Map(e.map((t,r)=>[t.toLowerCase(),r]))}function Toe(e,t,r){var a=At.exec(t.slice(r,r+1));return a?(e.w=+a[0],r+a[0].length):-1}function Eoe(e,t,r){var a=At.exec(t.slice(r,r+1));return a?(e.u=+a[0],r+a[0].length):-1}function Ooe(e,t,r){var a=At.exec(t.slice(r,r+2));return a?(e.U=+a[0],r+a[0].length):-1}function Moe(e,t,r){var a=At.exec(t.slice(r,r+2));return a?(e.V=+a[0],r+a[0].length):-1}function Roe(e,t,r){var a=At.exec(t.slice(r,r+2));return a?(e.W=+a[0],r+a[0].length):-1}function m3(e,t,r){var a=At.exec(t.slice(r,r+4));return a?(e.y=+a[0],r+a[0].length):-1}function h3(e,t,r){var a=At.exec(t.slice(r,r+2));return a?(e.y=+a[0]+(+a[0]>68?1900:2e3),r+a[0].length):-1}function Doe(e,t,r){var a=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(t.slice(r,r+6));return a?(e.Z=a[1]?0:-(a[2]+(a[3]||"00")),r+a[0].length):-1}function _oe(e,t,r){var a=At.exec(t.slice(r,r+1));return a?(e.q=a[0]*3-3,r+a[0].length):-1}function Noe(e,t,r){var a=At.exec(t.slice(r,r+2));return a?(e.m=a[0]-1,r+a[0].length):-1}function g3(e,t,r){var a=At.exec(t.slice(r,r+2));return a?(e.d=+a[0],r+a[0].length):-1}function Foe(e,t,r){var a=At.exec(t.slice(r,r+3));return a?(e.m=0,e.d=+a[0],r+a[0].length):-1}function v3(e,t,r){var a=At.exec(t.slice(r,r+2));return a?(e.H=+a[0],r+a[0].length):-1}function Boe(e,t,r){var a=At.exec(t.slice(r,r+2));return a?(e.M=+a[0],r+a[0].length):-1}function joe(e,t,r){var a=At.exec(t.slice(r,r+2));return a?(e.S=+a[0],r+a[0].length):-1}function Uoe(e,t,r){var a=At.exec(t.slice(r,r+3));return a?(e.L=+a[0],r+a[0].length):-1}function Voe(e,t,r){var a=At.exec(t.slice(r,r+6));return a?(e.L=Math.floor(a[0]/1e3),r+a[0].length):-1}function qoe(e,t,r){var a=Poe.exec(t.slice(r,r+1));return a?r+a[0].length:-1}function zoe(e,t,r){var a=At.exec(t.slice(r));return a?(e.Q=+a[0],r+a[0].length):-1}function Hoe(e,t,r){var a=At.exec(t.slice(r));return a?(e.s=+a[0],r+a[0].length):-1}function y3(e,t){return xe(e.getDate(),t,2)}function Woe(e,t){return xe(e.getHours(),t,2)}function Goe(e,t){return xe(e.getHours()%12||12,t,2)}function $oe(e,t){return xe(1+Rn.count(Ir(e),e),t,3)}function C3(e,t){return xe(e.getMilliseconds(),t,3)}function Xoe(e,t){return C3(e,t)+"000"}function Koe(e,t){return xe(e.getMonth()+1,t,2)}function Yoe(e,t){return xe(e.getMinutes(),t,2)}function Qoe(e,t){return xe(e.getSeconds(),t,2)}function Zoe(e){var t=e.getDay();return t===0?7:t}function Joe(e,t){return xe(Dn.count(Ir(e)-1,e),t,2)}function L3(e){var t=e.getDay();return t>=4||t===0?No(e):No.ceil(e)}function eie(e,t){return e=L3(e),xe(No.count(Ir(e),e)+(Ir(e).getDay()===4),t,2)}function tie(e){return e.getDay()}function rie(e,t){return xe(ru.count(Ir(e)-1,e),t,2)}function aie(e,t){return xe(e.getFullYear()%100,t,2)}function nie(e,t){return e=L3(e),xe(e.getFullYear()%100,t,2)}function oie(e,t){return xe(e.getFullYear()%1e4,t,4)}function iie(e,t){var r=e.getDay();return e=r>=4||r===0?No(e):No.ceil(e),xe(e.getFullYear()%1e4,t,4)}function sie(e){var t=e.getTimezoneOffset();return(t>0?"-":(t*=-1,"+"))+xe(t/60|0,"0",2)+xe(t%60,"0",2)}function x3(e,t){return xe(e.getUTCDate(),t,2)}function lie(e,t){return xe(e.getUTCHours(),t,2)}function uie(e,t){return xe(e.getUTCHours()%12||12,t,2)}function cie(e,t){return xe(1+Xi.count(Pr(e),e),t,3)}function I3(e,t){return xe(e.getUTCMilliseconds(),t,3)}function die(e,t){return I3(e,t)+"000"}function fie(e,t){return xe(e.getUTCMonth()+1,t,2)}function pie(e,t){return xe(e.getUTCMinutes(),t,2)}function mie(e,t){return xe(e.getUTCSeconds(),t,2)}function hie(e){var t=e.getUTCDay();return t===0?7:t}function gie(e,t){return xe(_n.count(Pr(e)-1,e),t,2)}function P3(e){var t=e.getUTCDay();return t>=4||t===0?Fo(e):Fo.ceil(e)}function vie(e,t){return e=P3(e),xe(Fo.count(Pr(e),e)+(Pr(e).getUTCDay()===4),t,2)}function yie(e){return e.getUTCDay()}function xie(e,t){return xe(au.count(Pr(e)-1,e),t,2)}function wie(e,t){return xe(e.getUTCFullYear()%100,t,2)}function bie(e,t){return e=P3(e),xe(e.getUTCFullYear()%100,t,2)}function Sie(e,t){return xe(e.getUTCFullYear()%1e4,t,4)}function Cie(e,t){var r=e.getUTCDay();return e=r>=4||r===0?Fo(e):Fo.ceil(e),xe(e.getUTCFullYear()%1e4,t,4)}function Lie(){return"+0000"}function w3(){return"%"}function b3(e){return+e}function S3(e){return Math.floor(+e/1e3)}var iu,Uv,k3,Vv,A3;mC({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Frid
27ay","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]});function mC(e){return iu=pC(e),Uv=iu.format,k3=iu.parse,Vv=iu.utcFormat,A3=iu.utcParse,iu}function Iie(e){return new Date(e)}function Pie(e){return e instanceof Date?+e:+new Date(+e)}function qv(e,t,r,a,n,o,i,s,l,u){var d=zi(),c=d.invert,f=d.domain,p=u(".%L"),v=u(":%S"),m=u("%I:%M"),w=u("%I %p"),h=u("%a %d"),g=u("%b %d"),y=u("%B"),S=u("%Y");function x(b){return(l(b)<b?p:s(b)<b?v:i(b)<b?m:o(b)<b?w:a(b)<b?n(b)<b?h:g:r(b)<b?y:S)(b)}return d.invert=function(b){return new Date(c(b))},d.domain=function(b){return arguments.length?f(Array.from(b,Pie)):f().map(Iie)},d.ticks=function(b){var C=f();return e(C[0],C[C.length-1],b??10)},d.tickFormat=function(b,C){return C==null?x:u(C)},d.nice=function(b){var C=f();return(!b||typeof b.range!="function")&&(b=t(C[0],C[C.length-1],b??10)),b?f(yf(C,b)):d},d.copy=function(){return Ga(d,qv(e,t,r,a,n,o,i,s,l,u))},d}function hC(){return We.apply(qv(uC,cC,Ir,nu,Dn,Rn,eu,Zl,Yr,Uv).domain([new Date(2e3,0,1),new Date(2e3,0,2)]),arguments)}function gC(){return We.apply(qv(sC,lC,Pr,ou,_n,Xi,tu,Jl,Yr,Vv).domain([Date.UTC(2e3,0,1),Date.UTC(2e3,0,2)]),arguments)}function zv(){var e=0,t=1,r,a,n,o,i=wt,s=!1,l;function u(c){return c==null||isNaN(c=+c)?l:i(n===0?.5:(c=(o(c)-r)*n,s?Math.max(0,Math.min(1,c)):c))}u.domain=function(c){return arguments.length?([e,t]=c,r=o(e=+e),a=o(t=+t),n=r===a?0:1/(a-r),u):[e,t]},u.clamp=function(c){return arguments.length?(s=!!c,u):s},u.interpolator=function(c){return arguments.length?(i=c,u):i};function d(c){return function(f){var p,v;return arguments.length?([p,v]=f,i=c(p,v),u):[i(0),i(1)]}}return u.range=d(Lr),u.rangeRound=d(Vi),u.unknown=function(c){return arguments.length?(l=c,u):l},function(c){return o=c,r=c(e),a=c(t),n=r===a?0:1/(a-r),u}}function Nn(e,t){return t.domain(e.domain()).interpolator(e.interpolator()).clamp(e.clamp()).unknown(e.unknown())}function Hv(){var e=Jt(zv()(wt));return e.copy=function(){return Nn(e,Hv())},Kr.apply(e,arguments)}function vC(){var e=xf(zv()).domain([1,10]);return e.copy=function(){return Nn(e,vC()).base(e.base())},Kr.apply(e,arguments)}function yC(){var e=wf(zv());return e.copy=function(){return Nn(e,yC()).constant(e.constant())},Kr.apply(e,arguments)}function Wv(){var e=bf(zv());return e.copy=function(){return Nn(e,Wv()).exponent(e.exponent())},Kr.apply(e,arguments)}function T3(){return Wv.apply(null,arguments).exponent(.5)}function Gv(){var e=[],t=wt;function r(a){if(a!=null&&!isNaN(a=+a))return t((Sa(e,a,1)-1)/(e.length-1))}return r.domain=function(a){if(!arguments.length)return e.slice();e=[];for(let n of a)n!=null&&!isNaN(n=+n)&&e.push(n);return e.sort(Zt),r},r.interpolator=function(a){return arguments.length?(t=a,r):t},r.range=function(){return e.map((a,n)=>t(n/(e.length-1)))},r.quantiles=function(a){return Array.from({length:a+1},(n,o)=>xv(e,o/a))},r.copy=function(){return Gv(t).domain(e)},Kr.apply(r,arguments)}function $v(){var e=0,t=.5,r=1,a=1,n,o,i,s,l,u=wt,d,c=!1,f;function p(m){return isNaN(m=+m)?f:(m=.5+((m=+d(m))-o)*(a*m<a*o?s:l),u(c?Math.max(0,Math.min(1,m)):m))}p.domain=function(m){return arguments.length?([e,t,r]=m,n=d(e=+e),o=d(t=+t),i=d(r=+r),s=n===o?0:.5/(o-n),l=o===i?0:.5/(i-o),a=o<n?-1:1,p):[e,t,r]},p.clamp=function(m){return arguments.length?(c=!!m,p):c},p.interpolator=function(m){return arguments.length?(u=m,p):u};function v(m){return function(w){var h,g,y;return arguments.length?([h,g,y]=w,u=Av(m,[h,g,y]),p):[u(0),u(.5),u(1)]}}return p.range=v(Lr),p.rangeRound=v(Vi),p.unknown=function(m){return arguments.length?(f=m,p):f},function(m){return d=m,n=m(e),o=m(t),i=m(r),s=n===o?0:.5/(o-n),l=o===i?0:.5/(i-o),a=o<n?-1:1,p}}function Xv(){var e=Jt($v()(wt));return e.copy=function(){return Nn(e,Xv())},Kr.apply(e,arguments)}function xC(){var e=xf($v()).domain([.1,1,10]);return e.copy=function(){return Nn(e,xC()).base(e.base())},Kr.apply(e,arguments)}function wC(){var e=wf($v());return e.copy=function(){return Nn(e,wC()).constant(e.constant())},Kr.apply(e,arguments)}function Kv(){var e=bf($v());return e.copy=function(){return Nn(e,Kv()).exponent(e.exponent())},Kr.apply(e,arguments)}function E3(){return Kv.apply(null,arguments).exponent(.5)}var Ff=D(D3()),Bf=D(F3()),Bn=D(va()),uu=D(dt()),sj=D(Lg()),BC=D(T
27i()),lj=D(V3()),ny=D(t1()),uj=D(Ug()),cj=D(Qv()),dj=D(iv());var Ce=D(CC());function Kie(e){return Jie(e)||Zie(e)||Qie(e)||Yie()}function Yie(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
28In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Qie(e,t){if(e){if(typeof e=="string")return LC(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(e);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return LC(e,t)}}function Zie(e){if(typeof Symbol<"u"&&Symbol.iterator in Object(e))return Array.from(e)}function Jie(e){if(Array.isArray(e))return LC(e)}function LC(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,a=new Array(t);r<t;r++)a[r]=e[r];return a}var ese=function(t){return t},W3={"@@functional/placeholder":!0},G3=function(t){return t===W3},H3=function(t){return function r(){return arguments.length===0||arguments.length===1&&G3(arguments.length<=0?void 0:arguments[0])?r:t.apply(void 0,arguments)}},tse=function e(t,r){return t===1?r:H3(function(){for(var a=arguments.length,n=new Array(a),o=0;o<a;o++)n[o]=arguments[o];var i=n.filter(function(s){return s!==W3}).length;return i>=t?r.apply(void 0,n):e(t-i,H3(function(){for(var s=arguments.length,l=new Array(s),u=0;u<s;u++)l[u]=arguments[u];var d=n.map(function(c){return G3(c)?l.shift():c});return r.apply(void 0,Kie(d).concat(l))}))})},Tf=function(t){return tse(t.length,t)},Ef=function(t,r){for(var a=[],n=t;n<r;++n)a[n-t]=n;return a},IC=Tf(function(e,t){return Array.isArray(t)?t.map(e):Object.keys(t).map(function(r){return t[r]}).map(e)}),PC=function(){for(var t=arguments.length,r=new Array(t),a=0;a<t;a++)r[a]=arguments[a];if(!r.length)return ese;var n=r.reverse(),o=n[0],i=n.slice(1);return function(){return i.reduce(function(s,l){return l(s)},o.apply(void 0,arguments))}},Of=function(t){return Array.isArray(t)?t.reverse():t.split("").reverse.join("")},Jv=function(t){var r=null,a=null;return function(){for(var n=arguments.length,o=new Array(n),i=0;i<n;i++)o[i]=arguments[i];return r&&o.every(function(s,l){return s===r[l]})||(r=o,a=t.apply(void 0,o)),a}};var kC=D(CC());function rse(e){var t;return e===0?t=1:t=Math.floor(new kC.default(e).abs().log(10).toNumber())+1,t}function ase(e,t,r){for(var a=new kC.default(e),n=0,o=[];a.lt(t)&&n<1e5;)o.push(a.toNumber()),a=a.add(r),n++;return o}var nse=Tf(function(e,t,r){var a=+e,n=+t;return a+r*(n-a)}),ose=Tf(function(e,t,r){var a=t-+e;return a=a||1/0,(r-e)/a}),ise=Tf(function(e,t,r){var a=t-+e;return a=a||1/0,Math.max(0,Math.min(1,(r-e)/a))}),Mf={rangeStep:ase,getDigitCount:rse,interpolateNumber:nse,uninterpolateNumber:ose,uninterpolateTruncation:ise};function AC(e){return use(e)||lse(e)||$3(e)||sse()}function sse(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
29In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function lse(e){if(typeof Symbol<"u"&&Symbol.iterator in Object(e))return Array.from(e)}function use(e){if(Array.isArray(e))return TC(e)}function Qi(e,t){return fse(e)||dse(e,t)||$3(e,t)||cse()}function cse(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
30In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function $3(e,t){if(e){if(typeof e=="string")return TC(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(e);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return TC(e,t)}}function TC(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,a=new Array(t);r<t;r++)a[r]=e[r];return a}function dse(e,t){if(!(typeof Symbol>"u"||!(Symbol.iterator in Object(e)))){var r=[],a=!0,n=!1,o=void 0;try{for(var i=e[Symbol.iterator](),s;!(a=(s=i.next()).done)&&(r.push(s.value),!(t&&r.length===t));a=!0);}catch(l){n=!0,o=l}finally{try{!a&&i.return!=null&&i.return()}finally{if(n)throw o}}return r}}function fse(e){if(Array.isArray(e))return e}function EC(e){var t=Qi(e,2),r=t[0],a=t[1],n=r,o=a;return r>a&&(n=a,o=r),[n,o]}function OC(e,t,r){if(e.lte(0))return new Ce.default(0);var a=Mf.getDigitCount(e.toNumber()),n=new Ce.default(10).pow(a),o=e.div(n),i=a!==1?.05:.1,s=new Ce.default(Math.ceil(o.div(i).toNumber())).add(r).mul(i),l=s.mul(n);return t?l:new Ce.default(Math.ceil(l))}function X3(e,t,r){var a=1,n=new Ce.default(e);if(!n.isint()&&r){var o=Math.abs(e);o<1?(a=new Ce.default(10).pow(Mf.getDigitCount(e)-1),n=new Ce.default(Math.floor(n.div(a
30).toNumber())).mul(a)):o>1&&(n=new Ce.default(Math.floor(e)))}else e===0?n=new Ce.default(Math.floor((t-1)/2)):r||(n=new Ce.default(Math.floor(e)));var i=Math.floor((t-1)/2),s=PC(IC(function(l){return n.add(new Ce.default(l-i).mul(a)).toNumber()}),Ef);return s(0,t)}function K3(e,t,r,a){var n=arguments.length>4&&arguments[4]!==void 0?arguments[4]:0;if(!Number.isFinite((t-e)/(r-1)))return{step:new Ce.default(0),tickMin:new Ce.default(0),tickMax:new Ce.default(0)};var o=OC(new Ce.default(t).sub(e).div(r-1),a,n),i;e<=0&&t>=0?i=new Ce.default(0):(i=new Ce.default(e).add(t).div(2),i=i.sub(new Ce.default(i).mod(o)));var s=Math.ceil(i.sub(e).div(o).toNumber()),l=Math.ceil(new Ce.default(t).sub(i).div(o).toNumber()),u=s+l+1;return u>r?K3(e,t,r,a,n+1):(u<r&&(l=t>0?l+(r-u):l,s=t>0?s:s+(r-u)),{step:o,tickMin:i.sub(new Ce.default(s).mul(o)),tickMax:i.add(new Ce.default(l).mul(o))})}function pse(e){var t=Qi(e,2),r=t[0],a=t[1],n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:6,o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0,i=Math.max(n,2),s=EC([r,a]),l=Qi(s,2),u=l[0],d=l[1];if(u===-1/0||d===1/0){var c=d===1/0?[u].concat(AC(Ef(0,n-1).map(function(){return 1/0}))):[].concat(AC(Ef(0,n-1).map(function(){return-1/0})),[d]);return r>a?Of(c):c}if(u===d)return X3(u,n,o);var f=K3(u,d,i,o),p=f.step,v=f.tickMin,m=f.tickMax,w=Mf.rangeStep(v,m.add(new Ce.default(.1).mul(p)),p);return r>a?Of(w):w}function mse(e){var t=Qi(e,2),r=t[0],a=t[1],n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:6,o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0,i=Math.max(n,2),s=EC([r,a]),l=Qi(s,2),u=l[0],d=l[1];if(u===-1/0||d===1/0)return[r,a];if(u===d)return X3(u,n,o);var c=OC(new Ce.default(d).sub(u).div(i-1),o,0),f=PC(IC(function(v){return new Ce.default(u).add(new Ce.default(v).mul(c)).toNumber()}),Ef),p=f(0,i).filter(function(v){return v>=u&&v<=d});return r>a?Of(p):p}function hse(e,t){var r=Qi(e,2),a=r[0],n=r[1],o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0,i=EC([a,n]),s=Qi(i,2),l=s[0],u=s[1];if(l===-1/0||u===1/0)return[a,n];if(l===u)return[l];var d=Math.max(t,2),c=OC(new Ce.default(u).sub(l).div(d-1),o,0),f=[].concat(AC(Mf.rangeStep(new Ce.default(l),new Ce.default(u).sub(new Ce.default(.99).mul(c)),c)),[u]);return a>n?Of(f):f}var MC=Jv(pse),gse=Jv(mse),RC=Jv(hse);var Rf=D(K());var vse=!0,DC="Invariant failed";function Fn(e,t){if(!e){if(vse)throw new Error(DC);var r=typeof t=="function"?t():t,a=r?"".concat(DC,": ").concat(r):DC;throw new Error(a)}}var yse=["offset","layout","width","dataKey","data","dataPointFormatter","xAxis","yAxis"];function su(e){"@babel/helpers - typeof";return su=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},su(e)}function ey(){return ey=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var a in r)Object.prototype.hasOwnProperty.call(r,a)&&(e[a]=r[a])}return e},ey.apply(this,arguments)}function xse(e,t){return Cse(e)||Sse(e,t)||bse(e,t)||wse()}function wse(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
31In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function bse(e,t){if(e){if(typeof e=="string")return Y3(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(e);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Y3(e,t)}}function Y3(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,a=new Array(t);r<t;r++)a[r]=e[r];return a}function Sse(e,t){var r=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(r!=null){var a,n,o,i,s=[],l=!0,u=!1;try{if(o=(r=r.call(e)).next,t===0){if(Object(r)!==r)return;l=!1}else for(;!(l=(a=o.call(r)).done)&&(s.push(a.value),s.length!==t);l=!0);}catch(d){u=!0,n=d}finally{try{if(!l&&r.return!=null&&(i=r.return(),Object(i)!==i))return}finally{if(u)throw n}}return s}}function Cse(e){if(Array.isArray(e))return e}function Lse(e,t){if(e==null)return{};var r=Ise(e,t),a,n;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)a=o[n],!(t.indexOf(a)>=0)&&Object.prototype.propertyIsEnumerable.call(e,a)&&(r[a]=e[a])}return r}function Ise(e,t){if(e==null)return{};var r={};for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){if(t.indexOf(a)>=0)continue;r[a]=e[a]}return r}function Pse(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Q3(e,t){for(var r=0;r<t.length;r++){var a=t[r];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,ej(a.key),a)}}function kse(e,t,r){return t&&Q3(e.prototype,t),r&&Q3(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function Ase(e,t,r){return t=ty(t),Tse(e,Z3()?Reflect.construct(t,r||[],ty(e).constructor):t.apply(e,r))}function Tse(e,t){if(t&&(su(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return Ese(e)}function Ese(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Z3(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(Z3=function(){return!!e})()}
31function ty(e){return ty=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},ty(e)}function Ose(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&_C(e,t)}function _C(e,t){return _C=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(a,n){return a.__proto__=n,a},_C(e,t)}function J3(e,t,r){return t=ej(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ej(e){var t=Mse(e,"string");return su(t)=="symbol"?t:t+""}function Mse(e,t){if(su(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var a=r.call(e,t||"default");if(su(a)!="object")return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var ry=function(e){function t(){return Pse(this,t),Ase(this,t,arguments)}return Ose(t,e),kse(t,[{key:"render",value:function(){var a=this.props,n=a.offset,o=a.layout,i=a.width,s=a.dataKey,l=a.data,u=a.dataPointFormatter,d=a.xAxis,c=a.yAxis,f=Lse(a,yse),p=re(f,!1);this.props.direction==="x"&&d.type!=="number"&&Fn(!1);var v=l.map(function(m){var w=u(m,s),h=w.x,g=w.y,y=w.value,S=w.errorVal;if(!S)return null;var x=[],b,C;if(Array.isArray(S)){var P=xse(S,2);b=P[0],C=P[1]}else b=C=S;if(o==="vertical"){var O=d.scale,R=g+n,N=R+i,F=R-i,q=O(y-b),H=O(y+C);x.push({x1:H,y1:N,x2:H,y2:F}),x.push({x1:q,y1:R,x2:H,y2:R}),x.push({x1:q,y1:N,x2:q,y2:F})}else if(o==="horizontal"){var z=c.scale,L=h+n,I=L-i,A=L+i,k=z(y-b),E=z(y+C);x.push({x1:I,y1:E,x2:A,y2:E}),x.push({x1:L,y1:k,x2:L,y2:E}),x.push({x1:I,y1:k,x2:A,y2:k})}return Rf.default.createElement(ye,ey({className:"recharts-errorBar",key:"bar-".concat(x.map(function(T){return"".concat(T.x1,"-").concat(T.x2,"-").concat(T.y1,"-").concat(T.y2)}))},p),x.map(function(T){return Rf.default.createElement("line",ey({},T,{key:"line-".concat(T.x1,"-").concat(T.x2,"-").concat(T.y1,"-").concat(T.y2)}))}))});return Rf.default.createElement(ye,{className:"recharts-errorBars"},v)}}])}(Rf.default.Component);J3(ry,"defaultProps",{stroke:"black",strokeWidth:1.5,width:5,offset:0,layout:"horizontal"});J3(ry,"displayName","ErrorBar");function Df(e){"@babel/helpers - typeof";return Df=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Df(e)}function tj(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable})),r.push.apply(r,a)}return r}function Zi(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?tj(Object(r),!0).forEach(function(a){Rse(e,a,r[a])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):tj(Object(r)).forEach(function(a){Object.defineProperty(e,a,Object.getOwnPropertyDescriptor(r,a))})}return e}function Rse(e,t,r){return t=Dse(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Dse(e){var t=_se(e,"string");return Df(t)=="symbol"?t:t+""}function _se(e,t){if(Df(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var a=r.call(e,t||"default");if(Df(a)!="object")return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var ay=function(t){var r=t.children,a=t.formattedGraphicalItems,n=t.legendWidth,o=t.legendContent,i=cr(r,xa);if(!i)return null;var s=xa.defaultProps,l=s!==void 0?Zi(Zi({},s),i.props):{},u;return i.props&&i.props.payload?u=i.props&&i.props.payload:o==="children"?u=(a||[]).reduce(function(d,c){var f=c.item,p=c.props,v=p.sectors||p.data||[];return d.concat(v.map(function(m){return{type:i.props.iconType||f.props.legendType,value:m.name,color:m.fill,payload:m}}))},[]):u=(a||[]).map(function(d){var c=d.item,f=c.type.defaultProps,p=f!==void 0?Zi(Zi({},f),c.props):{}
31,v=p.dataKey,m=p.name,w=p.legendType,h=p.hide;return{inactive:h,dataKey:v,type:l.iconType||w||"square",color:_f(c),value:m||v,payload:p}}),Zi(Zi(Zi({},l),xa.getWithHeight(i,n)),{},{payload:u,item:i})};function Nf(e){"@babel/helpers - typeof";return Nf=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Nf(e)}function rj(e){return jse(e)||Bse(e)||Fse(e)||Nse()}function Nse(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
32In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Fse(e,t){if(e){if(typeof e=="string")return FC(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(e);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return FC(e,t)}}function Bse(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function jse(e){if(Array.isArray(e))return FC(e)}function FC(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,a=new Array(t);r<t;r++)a[r]=e[r];return a}function aj(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable})),r.push.apply(r,a)}return r}function at(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?aj(Object(r),!0).forEach(function(a){lu(e,a,r[a])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):aj(Object(r)).forEach(function(a){Object.defineProperty(e,a,Object.getOwnPropertyDescriptor(r,a))})}return e}function lu(e,t,r){return t=Use(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Use(e){var t=Vse(e,"string");return Nf(t)=="symbol"?t:t+""}function Vse(e,t){if(Nf(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var a=r.call(e,t||"default");if(Nf(a)!="object")return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function Ht(e,t,r){return(0,Bn.default)(e)||(0,Bn.default)(t)?r:Re(t)?(0,BC.default)(e,t,r):(0,uu.default)(t)?t(e):r}function cu(e,t,r,a){var n=(0,lj.default)(e,function(s){return Ht(s,t)});if(r==="number"){var o=n.filter(function(s){return X(s)||parseFloat(s)});return o.length?[(0,Bf.default)(o),(0,Ff.default)(o)]:[1/0,-1/0]}var i=a?n.filter(function(s){return!(0,Bn.default)(s)}):n;return i.map(function(s){return Re(s)||s instanceof Date?s:""})}var fj=function(t){var r,a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],n=arguments.length>2?arguments[2]:void 0,o=arguments.length>3?arguments[3]:void 0,i=-1,s=(r=a?.length)!==null&&r!==void 0?r:0;if(s<=1)return 0;if(o&&o.axisType==="angleAxis"&&Math.abs(Math.abs(o.range[1]-o.range[0])-360)<=1e-6)for(var l=o.range,u=0;u<s;u++){var d=u>0?n[u-1].coordinate:n[s-1].coordinate,c=n[u].coordinate,f=u>=s-1?n[0].coordinate:n[u+1].coordinate,p=void 0;if(qt(c-d)!==qt(f-c)){var v=[];if(qt(f-c)===qt(l[1]-l[0])){p=f;var m=c+l[1]-l[0];v[0]=Math.min(m,(m+d)/2),v[1]=Math.max(m,(m+d)/2)}else{p=d;var w=f+l[1]-l[0];v[0]=Math.min(c,(w+c)/2),v[1]=Math.max(c,(w+c)/2)}var h=[Math.min(c,(p+c)/2),Math.max(c,(p+c)/2)];if(t>h[0]&&t<=h[1]||t>=v[0]&&t<=v[1]){i=n[u].index;break}}else{var g=Math.min(d,f),y=Math.max(d,f);if(t>(g+c)/2&&t<=(y+c)/2){i=n[u].index;break}}}else for(var S=0;S<s;S++)if(S===0&&t<=(a[S].coordinate+a[S+1].coordinate)/2||S>0&&S<s-1&&t>(a[S].coordinate+a[S-1].coordinate)/2&&t<=(a[S].coordinate+a[S+1].coordinate)/2||S===s-1&&t>(a[S].coordinate+a[S-1].coordinate)/2){i=a[S].index;break}return i},_f=function(t){var r,a=t,n=a.type.displayName,o=(r=t.type)!==null&&r!==void 0&&r.defaultProps?at(at({},t.type.defaultProps),t.props):t.props,i=o.stroke,s=o.fill,l;switch(n){case"Line":l=i;break;case"Area":case"Radar":l=i&&i!=="none"?i:s;break;default:l=s;break}return l},pj=function(t){var r=t.barSize,a=t.totalSize,n=t.stackGroups,o=n===void 0?{}:n;if(!o)return{};for(var i={},s=Object.keys(o),l=0,u=s.length;l<u;l++)for(var d=o[s[l]].stackGroups,c=Object.keys(d),f=0,p=c.length;f<p;f++){var v=d[c[f]],m=v.items,w=v.cateAxisId,h=m.filter(function(C){return Hr(C.type).indexOf("Bar")>=0});if(h&&h.length){var g=h[0].type.defaultProps,y=g!==void 0?at(at({},g),h[0].props):h[0].props,S=y.barSize,x=y[w];i[x]||(i[x]=[]);var b=(0,Bn.default)(S)?r:S;i[x].push({item:h[0],stackList:h.slice(1),barSize:(0,Bn.default)(b)?void 0:xt(b,a,0)})}}return i},mj=function(t){var r=t.barGap,a=t.barCategoryGap,n=t.bandSize,o=t.sizeList,i=o===void 0?[]:o,s=t.maxBarSize,l=i.length;if(l<1)return null;var u=xt(r,n,0,!0),d,c=[];if(i[0].barSize===+i[0].barSize){var f=!1,p=n/l,v=i.reduce(function(S,x){return S+x.barSize||0}
32,0);v+=(l-1)*u,v>=n&&(v-=(l-1)*u,u=0),v>=n&&p>0&&(f=!0,p*=.9,v=l*p);var m=(n-v)/2>>0,w={offset:m-u,size:0};d=i.reduce(function(S,x){var b={item:x.item,position:{offset:w.offset+w.size+u,size:f?p:x.barSize}},C=[].concat(rj(S),[b]);return w=C[C.length-1].position,x.stackList&&x.stackList.length&&x.stackList.forEach(function(P){C.push({item:P,position:w})}),C},c)}else{var h=xt(a,n,0,!0);n-2*h-(l-1)*u<=0&&(u=0);var g=(n-2*h-(l-1)*u)/l;g>1&&(g>>=0);var y=s===+s?Math.min(g,s):g;d=i.reduce(function(S,x,b){var C=[].concat(rj(S),[{item:x.item,position:{offset:h+(g+u)*b+(g-y)/2,size:y}}]);return x.stackList&&x.stackList.length&&x.stackList.forEach(function(P){C.push({item:P,position:C[C.length-1].position})}),C},c)}return d},hj=function(t,r,a,n){var o=a.children,i=a.width,s=a.margin,l=i-(s.left||0)-(s.right||0),u=ay({children:o,legendWidth:l});if(u){var d=n||{},c=d.width,f=d.height,p=u.align,v=u.verticalAlign,m=u.layout;if((m==="vertical"||m==="horizontal"&&v==="middle")&&p!=="center"&&X(t[p]))return at(at({},t),{},lu({},p,t[p]+(c||0)));if((m==="horizontal"||m==="vertical"&&p==="center")&&v!=="middle"&&X(t[v]))return at(at({},t),{},lu({},v,t[v]+(f||0)))}return t},qse=function(t,r,a){return(0,Bn.default)(r)?!0:t==="horizontal"?r==="yAxis":t==="vertical"||a==="x"?r==="xAxis":a==="y"?r==="yAxis":!0},gj=function(t,r,a,n,o){var i=r.props.children,s=zt(i,ry).filter(function(u){return qse(n,o,u.props.direction)});if(s&&s.length){var l=s.map(function(u){return u.props.dataKey});return t.reduce(function(u,d){var c=Ht(d,a);if((0,Bn.default)(c))return u;var f=Array.isArray(c)?[(0,Bf.default)(c),(0,Ff.default)(c)]:[c,c],p=l.reduce(function(v,m){var w=Ht(d,m,0),h=f[0]-Math.abs(Array.isArray(w)?w[0]:w),g=f[1]+Math.abs(Array.isArray(w)?w[1]:w);return[Math.min(h,v[0]),Math.max(g,v[1])]},[1/0,-1/0]);return[Math.min(p[0],u[0]),Math.max(p[1],u[1])]},[1/0,-1/0])}return null},vj=function(t,r,a,n,o){var i=r.map(function(s){return gj(t,s,a,o,n)}).filter(function(s){return!(0,Bn.default)(s)});return i&&i.length?i.reduce(function(s,l){return[Math.min(s[0],l[0]),Math.max(s[1],l[1])]},[1/0,-1/0]):null},jC=function(t,r,a,n,o){var i=r.map(function(l){var u=l.props.dataKey;return a==="number"&&u&&gj(t,l,u,n)||cu(t,u,a,o)});if(a==="number")return i.reduce(function(l,u){return[Math.min(l[0],u[0]),Math.max(l[1],u[1])]},[1/0,-1/0]);var s={};return i.reduce(function(l,u){for(var d=0,c=u.length;d<c;d++)s[u[d]]||(s[u[d]]=!0,l.push(u[d]));return l},[])},UC=function(t,r){return t==="horizontal"&&r==="xAxis"||t==="vertical"&&r==="yAxis"||t==="centric"&&r==="angleAxis"||t==="radial"&&r==="radiusAxis"};var du=function(t,r,a){if(!t)return null;var n=t.scale,o=t.duplicateDomain,i=t.type,s=t.range,l=t.realScaleType==="scaleBand"?n.bandwidth()/2:2,u=(r||a)&&i==="category"&&n.bandwidth?n.bandwidth()/l:0;if(u=t.axisType==="angleAxis"&&s?.length>=2?qt(s[0]-s[1])*2*u:u,r&&(t.ticks||t.niceTicks)){var d=(t.ticks||t.niceTicks).map(function(c){var f=o?o.indexOf(c):c;return{coordinate:n(f)+u,value:c,offset:u}});return d.filter(function(c){return!(0,ny.default)(c.coordinate)})}return t.isCategorical&&t.categoricalDomain?t.categoricalDomain.map(function(c,f){return{coordinate:n(c)+u,value:c,index:f,offset:u}}
32):n.ticks&&!a?n.ticks(t.tickCount).map(function(c){return{coordinate:n(c)+u,value:c,offset:u}}):n.domain().map(function(c,f){return{coordinate:n(c)+u,value:o?o[c]:c,index:f,offset:u}})},NC=new WeakMap,jf=function(t,r){if(typeof r!="function")return t;NC.has(t)||NC.set(t,new WeakMap);var a=NC.get(t);if(a.has(r))return a.get(r);var n=function(){t.apply(void 0,arguments),r.apply(void 0,arguments)};return a.set(r,n),n},yj=function(t,r,a){var n=t.scale,o=t.type,i=t.layout,s=t.axisType;if(n==="auto")return i==="radial"&&s==="radiusAxis"?{scale:Oo(),realScaleType:"band"}:i==="radial"&&s==="angleAxis"?{scale:Wi(),realScaleType:"linear"}:o==="category"&&r&&(r.indexOf("LineChart")>=0||r.indexOf("AreaChart")>=0||r.indexOf("ComposedChart")>=0&&!a)?{scale:Mo(),realScaleType:"point"}:o==="category"?{scale:Oo(),realScaleType:"band"}:{scale:Wi(),realScaleType:"linear"};if((0,sj.default)(n)){var l="scale".concat((0,uj.default)(n));return{scale:(Yv[l]||Mo)(),realScaleType:Yv[l]?l:"point"}}return(0,uu.default)(n)?{scale:n}:{scale:Mo(),realScaleType:"point"}},nj=1e-4,xj=function(t){var r=t.domain();if(!(!r||r.length<=2)){var a=r.length,n=t.range(),o=Math.min(n[0],n[1])-nj,i=Math.max(n[0],n[1])+nj,s=t(r[0]),l=t(r[a-1]);(s<o||s>i||l<o||l>i)&&t.domain([r[0],r[a-1]])}};var zse=function(t){var r=t.length;if(!(r<=0))for(var a=0,n=t[0].length;a<n;++a)for(var o=0,i=0,s=0;s<r;++s){var l=(0,ny.default)(t[s][a][1])?t[s][a][0]:t[s][a][1];l>=0?(t[s][a][0]=o,t[s][a][1]=o+l,o=t[s][a][1]):(t[s][a][0]=i,t[s][a][1]=i+l,i=t[s][a][1])}},Hse=function(t){var r=t.length;if(!(r<=0))for(var a=0,n=t[0].length;a<n;++a)for(var o=0,i=0;i<r;++i){var s=(0,ny.default)(t[i][a][1])?t[i][a][0]:t[i][a][1];s>=0?(t[i][a][0]=o,t[i][a][1]=o+s,o=t[i][a][1]):(t[i][a][0]=0,t[i][a][1]=0)}},Wse={sign:zse,expand:q1,none:$r,silhouette:z1,wiggle:H1,positive:Hse},Gse=function(t,r,a){var n=r.map(function(s){return s.props.dataKey}),o=Wse[a],i=V1().keys(n).value(function(s,l){return+Ht(s,l,0)}).order(Rl).offset(o);return i(t)},wj=function(t,r,a,n,o,i){if(!t)return null;var s=i?r.reverse():r,l={},u=s.reduce(function(c,f){var p,v=(p=f.type)!==null&&p!==void 0&&p.defaultProps?at(at({},f.type.defaultProps),f.props):f.props,m=v.stackId,w=v.hide;if(w)return c;var h=v[a],g=c[h]||{hasStack:!1,stackGroups:{}};if(Re(m)){var y=g.stackGroups[m]||{numericAxisId:a,cateAxisId:n,items:[]};y.items.push(f),g.hasStack=!0,g.stackGroups[m]=y}else g.stackGroups[Po("_stackId_")]={numericAxisId:a,cateAxisId:n,items:[f]};return at(at({},c),{},lu({},h,g))},l),d={};return Object.keys(u).reduce(function(c,f){var p=u[f];if(p.hasStack){var v={};p.stackGroups=Object.keys(p.stackGroups).reduce(function(m,w){var h=p.stackGroups[w];return at(at({},m),{},lu({},w,{numericAxisId:a,cateAxisId:n,items:h.items,stackedData:Gse(t,h.items,o)}))},v)}return at(at({},c),{},lu({},f,p))},d)},bj=function(t,r){var a=r.realScaleType,n=r.type,o=r.tickCount,i=r.originalDomain,s=r.allowDecimals,l=a||r.scale;if(l!=="auto"&&l!=="linear")return null;if(o&&n==="number"&&i&&(i[0]==="auto"||i[1]==="auto")){var u=t.domain();if(!u.length)return null;var d=MC(u,o,s);return t.domain([(0,Bf.default)(d),(0,Ff.default)(d)]),{niceTicks:d}}if(o&&n==="number"){var c=t.domain(),f=RC(c,o,s);return{niceTicks:f}}return null};var Sj=function(t,r){var a,n=(a=t.type)!==null&&a!==void 0&&a.defaultProps?at(at({},t.type.defaultProps),t.props):t.props,o=n.stackId;if(Re(o)){var i=r[o];if(i){var s=i.items.indexOf(t);return s>=0?i.stackedData[s]:null}}return null},$se=function(t){return t.reduce(function(r,a){return[(0,Bf.default)(a.concat([r[0]]).filter(X)),(0,Ff.default)(a.concat([r[1]]).filter(X))]},[1/0,-1/0])},VC=function(t,r,a){return Object.keys(t).reduce(function(n,o){var i=t[o],s=i.stackedData,l=s.reduce(function(u,d){var c=$se(d.slice(r,a+1));return[Math.min(u[0],c[0]),Math.max(u[1],c[1])]},[1/0,-1/0]);return[Math.min(l[0],n[0]),Math.max(l[1],n[1])]},[1/0,-1/0]).map(function(n){return n===1/0||n===-1/0?0:n})},oj=/^dataMin[\s]*-[\s]*([0-9]+([.]{1}[0-9]+){0,1})$/,ij=/^dataMax[\s]*\+[\s]*([0-9]+([.]{1}[0-9]+){0,1})$/,oy=function(t,r,a){if((0,uu.default)(t))return t(r,a);if(!Array.isArray(t))return r;var n=[];if(X(t[0]))n[0]=a?t[0]:Math.min(t[0],r[0]);else if(oj.test(t[0])){var o=+oj.exec(t[0])[1];n[0]=r[0]-o}else(0,uu.default)(t[0])?n[0]=t[0](r[0]):n[0]=r[0];if(X(t[1]))n[1]=a?t[1]:Math.max(t[1],r[1]);else if(ij.test(t[1])){var i=+ij.exec(t[1])[1];n[1]=r[1]+i}else(0,uu.default)(t[1])?n[1]=t[1](r[1]):n[1]=r[1];return n},iy=function(t,r,a){if(t&&t.scale&&t.scale.bandwidth){var n=t.scale.bandwidth();if(!a||n>0)return n}if(t&&r&&r.length>=2){for(var o=(0,dj.default)(r,function(c){return c.coordinate}),i=1/0,s=1,l=o.length;s<l;s++){var u=o[s],d=o[s-1];i=Math.min((u.coordinate||0)-(d.coordinate||0),i)}return i===1/0?0:i}return a?void 0:0},qC=function(t,r,a){return!t||!t.length||(0,cj.default)(t,(0,BC.default)(a,"type.defaultProps.domain"))?r:t},Cj=function(t,r){var a=t.type.defaultProps?at(at({},t.type.defaultProps),t.props):t.props,n=a.dataKey,o=a.name,i=a.unit,s=a.formatter,l=a.tooltipType,u=a.chartType,d=a.hide;return at(at({},re(t,!1)),{},{dataKey:n,unit:i,formatter:s,name:o||n,color:_f(t),value:Ht(r,n),type:l,payload:r,chartType:u,hide:d})};function Uf(e){"@babel/helpers - typeof";return Uf=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Uf(e)}function Lj(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable})),r.push.apply(r,a)}return r}function jn(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};
vendor: 5,616 bytes, lines 32-34
32t%2?Lj(Object(r),!0).forEach(function(a){Pj(e,a,r[a])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Lj(Object(r)).forEach(function(a){Object.defineProperty(e,a,Object.getOwnPropertyDescriptor(r,a))})}return e}function Pj(e,t,r){return t=Xse(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Xse(e){var t=Kse(e,"string");return Uf(t)=="symbol"?t:t+""}function Kse(e,t){if(Uf(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var a=r.call(e,t||"default");if(Uf(a)!="object")return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function Yse(e,t){return ele(e)||Jse(e,t)||Zse(e,t)||Qse()}function Qse(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
33In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Zse(e,t){if(e){if(typeof e=="string")return Ij(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(e);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Ij(e,t)}}function Ij(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,a=new Array(t);r<t;r++)a[r]=e[r];return a}function Jse(e,t){var r=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(r!=null){var a,n,o,i,s=[],l=!0,u=!1;try{if(o=(r=r.call(e)).next,t===0){if(Object(r)!==r)return;l=!1}else for(;!(l=(a=o.call(r)).done)&&(s.push(a.value),s.length!==t);l=!0);}catch(d){u=!0,n=d}finally{try{if(!l&&r.return!=null&&(i=r.return(),Object(i)!==i))return}finally{if(u)throw n}}return s}}function ele(e){if(Array.isArray(e))return e}var Vf=Math.PI/180;var tle=function(t){return t*180/Math.PI},he=function(t,r,a,n){return{x:t+Math.cos(-Vf*n)*a,y:r+Math.sin(-Vf*n)*a}},zC=function(t,r){var a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{top:0,right:0,bottom:0,left:0};return Math.min(Math.abs(t-(a.left||0)-(a.right||0)),Math.abs(r-(a.top||0)-(a.bottom||0)))/2},Ej=function(t,r,a,n,o){var i=t.width,s=t.height,l=t.startAngle,u=t.endAngle,d=xt(t.cx,i,i/2),c=xt(t.cy,s,s/2),f=zC(i,s,a),p=xt(t.innerRadius,f,0),v=xt(t.outerRadius,f,f*.8),m=Object.keys(r);return m.reduce(function(w,h){var g=r[h],y=g.domain,S=g.reversed,x;if((0,kj.default)(g.range))n==="angleAxis"?x=[l,u]:n==="radiusAxis"&&(x=[p,v]),S&&(x=[x[1],x[0]]);else{x=g.range;var b=x,C=Yse(b,2);l=C[0],u=C[1]}var P=yj(g,o),O=P.realScaleType,R=P.scale;R.domain(y).range(x),xj(R);var N=bj(R,jn(jn({},g),{},{realScaleType:O})),F=jn(jn(jn({},g),N),{},{range:x,radius:v,realScaleType:O,scale:R,cx:d,cy:c,innerRadius:p,outerRadius:v,startAngle:l,endAngle:u});return jn(jn({},w),{},Pj({},h,F))},{})},rle=function(t,r){var a=t.x,n=t.y,o=r.x,i=r.y;return Math.sqrt(Math.pow(a-o,2)+Math.pow(n-i,2))},ale=function(t,r){var a=t.x,n=t.y,o=r.cx,i=r.cy,s=rle({x:a,y:n},{x:o,y:i});if(s<=0)return{radius:s};var l=(a-o)/s,u=Math.acos(l);return n>i&&(u=2*Math.PI-u),{radius:s,angle:tle(u),angleInRadian:u}},nle=function(t){var r=t.startAngle,a=t.endAngle,n=Math.floor(r/360),o=Math.floor(a/360),i=Math.min(n,o);return{startAngle:r-i*360,endAngle:a-i*360}},ole=function(t,r){var a=r.startAngle,n=r.endAngle,o=Math.floor(a/360),i=Math.floor(n/360),s=Math.min(o,i);return t+s*360},HC=function(t,r){var a=t.x,n=t.y,o=ale({x:a,y:n},r),i=o.radius,s=o.angle,l=r.innerRadius,u=r.outerRadius;if(i<l||i>u)return!1;if(i===0)return!0;var d=nle(r),c=d.startAngle,f=d.endAngle,p=s,v;if(c<=f){for(;p>f;)p-=360;for(;p<c;)p+=360;v=p>=c&&p<=f}else{for(;p>c;)p-=360;for(;p<f;)p+=360;v=p>=f&&p<=c}return v?jn(jn({},r),{},{radius:i,angle:ole(p,r)}):null},sy=function(t){return!(0,Aj.isValidElement)(t)&&!(0,Tj.default)(t)&&typeof t!="boolean"?t.className:""};function qf(e){"@babel/helpers - typeof";return qf=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},qf(e)}var ile=["offset"];function sle(e){return dle(e)||cle(e)||ule(e)||lle()}function lle(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
34In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function ule(e,t){if(e){if(typeof e=="string")return WC(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(e);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return WC(e,t)}}function cle(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function dle(e){if(Array.isArray(e))return WC(e)}function WC(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,a=new Array(t);r<t;r++)a[r]=e[r];return a}function fle(e,t){if(e==null)return{};var r=ple(e,t),a,n;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)a=o[n],!(t.indexOf(a)>=0)&&Object.prototype.propertyIsEnumerable.call(e,a)&&(r[a]=e[a])}return r}function ple(e,t){if(e==null)return{};var r={};for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){if(t.indexOf(a)>=0)continue;r[a]=e[a]}return r}function Oj(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable})),r.push.apply(r,a)}return r}function bt(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};
34t%2?Oj(Object(r),!0).forEach(function(a){mle(e,a,r[a])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Oj(Object(r)).forEach(function(a){Object.defineProperty(e,a,Object.getOwnPropertyDescriptor(r,a))})}return e}function mle(e,t,r){return t=hle(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function hle(e){var t=gle(e,"string");return qf(t)=="symbol"?t:t+""}function gle(e,t){if(qf(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var a=r.call(e,t||"default");if(qf(a)!="object")return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function zf(){return zf=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var a in r)Object.prototype.hasOwnProperty.call(r,a)&&(e[a]=r[a])}return e},zf.apply(this,arguments)}var vle=function(t){var r=t.value,a=t.formatter,n=(0,Hf.default)(t.children)?r:t.children;return(0,Wf.default)(a)?a(n):n},yle=function(t,r){var a=qt(r-t),n=Math.min(Math.abs(r-t),360);return a*n},xle=function(t,r,a){var n=t.position,o=t.viewBox,i=t.offset,s=t.className,l=o,u=l.cx,d=l.cy,c=l.innerRadius,f=l.outerRadius,p=l.startAngle,v=l.endAngle,m=l.clockWise,w=(c+f)/2,h=yle(p,v),g=h>=0?1:-1,y,S;n==="insideStart"?(y=p+g*i,S=m):n==="insideEnd"?(y=v-g*i,S=!m):n==="end"&&(y=v+g*i,S=m),S=h<=0?S:!S;var x=he(u,d,w,y),b=he(u,d,w,y+(S?1:-1)*359),C="M".concat(x.x,",").concat(x.y,`
35    A`).concat(w,",").concat(w,",0,1,").concat(S?0:1,`,
36    `).concat(b.x,",").concat(b.y),P=(0,Hf.default)(t.id)?Po("recharts-radial-line-"):t.id;return nt.default.createElement("text",zf({},a,{dominantBaseline:"central",className:ae("recharts-radial-bar-label",s)}),nt.default.createElement("defs",null,nt.default.createElement("path",{id:P,d:C})),nt.default.createElement("textPath",{xlinkHref:"#".concat(P)},r))},wle=function(t){var r=t.viewBox,a=t.offset,n=t.position,o=r,i=o.cx,s=o.cy,l=o.innerRadius,u=o.outerRadius,d=o.startAngle,c=o.endAngle,f=(d+c)/2;if(n==="outside"){var p=he(i,s,u+a,f),v=p.x,m=p.y;return{x:v,y:m,textAnchor:v>=i?"start":"end",verticalAnchor:"middle"}}if(n==="center")return{x:i,y:s,textAnchor:"middle",verticalAnchor:"middle"};if(n==="centerTop")return{x:i,y:s,textAnchor:"middle",verticalAnchor:"start"};if(n==="centerBottom")return{x:i,y:s,textAnchor:"middle",verticalAnchor:"end"};var w=(l+u)/2,h=he(i,s,w,f),g=h.x,y=h.y;return{x:g,y,textAnchor:"middle",verticalAnchor:"middle"}},ble=function(t){var r=t.viewBox,a=t.parentViewBox,n=t.offset,o=t.position,i=r,s=i.x,l=i.y,u=i.width,d=i.height,c=d>=0?1:-1,f=c*n,p=c>0?"end":"start",v=c>0?"start":"end",m=u>=0?1:-1,w=m*n,h=m>0?"end":"start",g=m>0?"start":"end";if(o==="top"){var y={x:s+u/2,y:l-c*n,textAnchor:"middle",verticalAnchor:p};return bt(bt({},y),a?{height:Math.max(l-a.y,0),width:u}:{})}if(o==="bottom"){var S={x:s+u/2,y:l+d+f,textAnchor:"middle",verticalAnchor:v};return bt(bt({},S),a?{height:Math.max(a.y+a.height-(l+d),0),width:u}:{})}if(o==="left"){var x={x:s-w,y:l+d/2,textAnchor:h,verticalAnchor:"middle"};return bt(bt({},x),a?{width:Math.max(x.x-a.x,0),height:d}:{})}if(o==="right"){var b={x:s+u+w,y:l+d/2,textAnchor:g,verticalAnchor:"middle"};return bt(bt({},b),a?{width:Math.max(a.x+a.width-b.x,0),height:d}:{})}var C=a?{width:u,height:d}:{};return o==="insideLeft"?bt({x:s+w,y:l+d/2,textAnchor:g,verticalAnchor:"middle"},C):o==="insideRight"?bt({x:s+u-w,y:l+d/2,textAnchor:h,verticalAnchor:"middle"},C):o==="insideTop"?bt({x:s+u/2,y:l+f,textAnchor:"middle",verticalAnchor:v},C):o==="insideBottom"?bt({x:s+u/2,y:l+d-f,textAnchor:"middle",verticalAnchor:p},C):o==="insideTopLeft"?bt({x:s+w,y:l+f,textAnchor:g,verticalAnchor:v},C):o==="insideTopRight"?bt({x:s+u-w,y:l+f,textAnchor:h,verticalAnchor:v},C):o==="insideBottomLeft"?bt({x:s+w,y:l+d-f,textAnchor:g,verticalAnchor:p},C):o==="insideBottomRight"?bt({x:s+u-w,y:l+d-f,textAnchor:h,verticalAnchor:p},C):(0,GC.default)(o)&&(X(o.x)||On(o.x))&&(X(o.y)||On(o.y))?bt({x:s+xt(o.x,u),y:l+xt(o.y,d),textAnchor:"end",verticalAnchor:"end"},C):bt({x:s+u/2,y:l+d/2,textAnchor:"middle",verticalAnchor:"middle"},C)}
36,Sle=function(t){return"cx"in t&&X(t.cx)};function Qe(e){var t=e.offset,r=t===void 0?5:t,a=fle(e,ile),n=bt({offset:r},a),o=n.viewBox,i=n.position,s=n.value,l=n.children,u=n.content,d=n.className,c=d===void 0?"":d,f=n.textBreakAll;if(!o||(0,Hf.default)(s)&&(0,Hf.default)(l)&&!(0,nt.isValidElement)(u)&&!(0,Wf.default)(u))return null;if((0,nt.isValidElement)(u))return(0,nt.cloneElement)(u,n);var p;if((0,Wf.default)(u)){if(p=(0,nt.createElement)(u,n),(0,nt.isValidElement)(p))return p}else p=vle(n);var v=Sle(o),m=re(n,!0);if(v&&(i==="insideStart"||i==="insideEnd"||i==="end"))return xle(n,p,m);var w=v?wle(n):ble(n);return nt.default.createElement(ba,zf({className:ae("recharts-label",c)},m,w,{breakAll:f}),p)}Qe.displayName="Label";var Mj=function(t){var r=t.cx,a=t.cy,n=t.angle,o=t.startAngle,i=t.endAngle,s=t.r,l=t.radius,u=t.innerRadius,d=t.outerRadius,c=t.x,f=t.y,p=t.top,v=t.left,m=t.width,w=t.height,h=t.clockWise,g=t.labelViewBox;if(g)return g;if(X(m)&&X(w)){if(X(c)&&X(f))return{x:c,y:f,width:m,height:w};if(X(p)&&X(v))return{x:p,y:v,width:m,height:w}}return X(c)&&X(f)?{x:c,y:f,width:0,height:0}:X(r)&&X(a)?{cx:r,cy:a,startAngle:o||n||0,endAngle:i||n||0,innerRadius:u||0,outerRadius:d||l||s||0,clockWise:h}:t.viewBox?t.viewBox:{}},Cle=function(t,r){return t?t===!0?nt.default.createElement(Qe,{key:"label-implicit",viewBox:r}):Re(t)?nt.default.createElement(Qe,{key:"label-implicit",viewBox:r,value:t}):(0,nt.isValidElement)(t)?t.type===Qe?(0,nt.cloneElement)(t,{key:"label-implicit",viewBox:r}):nt.default.createElement(Qe,{key:"label-implicit",content:t,viewBox:r}):(0,Wf.default)(t)?nt.default.createElement(Qe,{key:"label-implicit",content:t,viewBox:r}):(0,GC.default)(t)?nt.default.createElement(Qe,zf({viewBox:r},t,{key:"label-implicit"})):null:null},Lle=function(t,r){var a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;if(!t||!t.children&&a&&!t.label)return null;var n=t.children,o=Mj(t),i=zt(n,Qe).map(function(l,u){return(0,nt.cloneElement)(l,{viewBox:r||o,key:"label-".concat(u)})});if(!a)return i;var s=Cle(t.label,r||o);return[s].concat(sle(i))};Qe.parseViewBox=Mj;Qe.renderCallByParent=Lle;var Un=D(K()),ly=D(va()),Bj=D(qr()),jj=D(dt()),Uj=D(Dj());function Gf(e){"@babel/helpers - typeof";return Gf=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Gf(e)}var Ple=["valueAccessor"],kle=["data","dataKey","clockWise","id","textBreakAll"];function Ale(e){return Mle(e)||Ole(e)||Ele(e)||Tle()}function Tle(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
37In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Ele(e,t){if(e){if(typeof e=="string")return $C(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(e);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return $C(e,t)}}function Ole(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Mle(e){if(Array.isArray(e))return $C(e)}function $C(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,a=new Array(t);r<t;r++)a[r]=e[r];return a}function uy(){return uy=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var a in r)Object.prototype.hasOwnProperty.call(r,a)&&(e[a]=r[a])}return e},uy.apply(this,arguments)}function _j(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable})),r.push.apply(r,a)}return r}function Nj(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?_j(Object(r),!0).forEach(function(a){Rle(e,a,r[a])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):_j(Object(r)).forEach(function(a){Object.defineProperty(e,a,Object.getOwnPropertyDescriptor(r,a))})}return e}function Rle(e,t,r){return t=Dle(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Dle(e){var t=_le(e,"string");return Gf(t)=="symbol"?t:t+""}function _le(e,t){if(Gf(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var a=r.call(e,t||"default");if(Gf(a)!="object")return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function Fj(e,t){if(e==null)return{};var r=Nle(e,t),a,n;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)a=o[n],!(t.indexOf(a)>=0)&&Object.prototype.propertyIsEnumerable.call(e,a)&&(r[a]=e[a])}return r}function Nle(e,t){if(e==null)return{};var r={};for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){if(t.indexOf(a)>=0)continue;r[a]=e[a]}return r}var Fle=function(t){return Array.isArray(t.value)?(0,Uj.default)(t.value):t.value};function Bo(e){var t=e.valueAccessor,r=t===void 0?Fle:t,a=Fj(e,Ple),n=a.data,o=a.dataKey,i=a.clockWise,s=a.id,l=a.textBreakAll,u=Fj(a,kle);return!n||!n.length?null:Un.default.createElement(ye,{className:"recharts-label-list"},n.map(function(d,c){var f=(0,ly.default)(o)?r(d,c):Ht(d&&d.payload,o),p=(0,ly.default)(s)?{}:{id:"".concat(s,"-").concat(c)};return Un.default.createElement(Qe,uy({},re(d,!0),u,p,{parentViewBox:d.parentViewBox,value:f,textBreakAll:l,viewBox:Qe.parseViewBox((0,ly.default)(i)?d:Nj(Nj({},d),{},{clockWise:i})),key:"label-".concat(c),index:c}))}))}Bo.displayName="LabelList";function Ble(e,t){return e?e===!0?Un.default.createElement(Bo,{key:"labelList-implicit",data:t}):Un.default.isValidElement(e)||(0,jj.default)(e)?Un.default.createElement(Bo,{key:"labelList-implicit",data:t,content:e}):(0,Bj.default)(e)?Un.default.createElement(Bo,uy({data:t},e,{key:"labelList-implicit"})):null:null}function jle(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;if(!e||!e.children&&r&&!e.label)return null;var a=e.children,n=zt(a,Bo).map(function(i,s){return(0,Un.cloneElement)(i,{data:t,key:"labelList-".concat(s)})});if(!r)return n;var o=Ble(e.label,t);return[o].concat(Ale(n))}
vendor: 4,609 bytes, lines 37-54
37Bo.renderCallByParent=jle;var zj=D(K());function $f(e){"@babel/helpers - typeof";return $f=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},$f(e)}function XC(){return XC=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var a in r)Object.prototype.hasOwnProperty.call(r,a)&&(e[a]=r[a])}return e},XC.apply(this,arguments)}function Vj(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable})),r.push.apply(r,a)}return r}function qj(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?Vj(Object(r),!0).forEach(function(a){Ule(e,a,r[a])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Vj(Object(r)).forEach(function(a){Object.defineProperty(e,a,Object.getOwnPropertyDescriptor(r,a))})}return e}function Ule(e,t,r){return t=Vle(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Vle(e){var t=qle(e,"string");return $f(t)=="symbol"?t:t+""}function qle(e,t){if($f(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var a=r.call(e,t||"default");if($f(a)!="object")return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var zle=function(t,r){var a=qt(r-t),n=Math.min(Math.abs(r-t),359.999);return a*n},cy=function(t){var r=t.cx,a=t.cy,n=t.radius,o=t.angle,i=t.sign,s=t.isExternal,l=t.cornerRadius,u=t.cornerIsExternal,d=l*(s?1:-1)+n,c=Math.asin(l/d)/Vf,f=u?o:o+i*c,p=he(r,a,d,f),v=he(r,a,n,f),m=u?o-i*c:o,w=he(r,a,d*Math.cos(c*Vf),m);return{center:p,circleTangency:v,lineTangency:w,theta:c}},Hj=function(t){var r=t.cx,a=t.cy,n=t.innerRadius,o=t.outerRadius,i=t.startAngle,s=t.endAngle,l=zle(i,s),u=i+l,d=he(r,a,o,i),c=he(r,a,o,u),f="M ".concat(d.x,",").concat(d.y,`
38    A `).concat(o,",").concat(o,`,0,
39    `).concat(+(Math.abs(l)>180),",").concat(+(i>u),`,
40    `).concat(c.x,",").concat(c.y,`
41  `);if(n>0){var p=he(r,a,n,i),v=he(r,a,n,u);f+="L ".concat(v.x,",").concat(v.y,`
42            A `).concat(n,",").concat(n,`,0,
43            `).concat(+(Math.abs(l)>180),",").concat(+(i<=u),`,
44            `).concat(p.x,",").concat(p.y," Z")}else f+="L ".concat(r,",").concat(a," Z");return f},Hle=function(t){var r=t.cx,a=t.cy,n=t.innerRadius,o=t.outerRadius,i=t.cornerRadius,s=t.forceCornerRadius,l=t.cornerIsExternal,u=t.startAngle,d=t.endAngle,c=qt(d-u),f=cy({cx:r,cy:a,radius:o,angle:u,sign:c,cornerRadius:i,cornerIsExternal:l}),p=f.circleTangency,v=f.lineTangency,m=f.theta,w=cy({cx:r,cy:a,radius:o,angle:d,sign:-c,cornerRadius:i,cornerIsExternal:l}),h=w.circleTangency,g=w.lineTangency,y=w.theta,S=l?Math.abs(u-d):Math.abs(u-d)-m-y;if(S<0)return s?"M ".concat(v.x,",").concat(v.y,`
45        a`).concat(i,",").concat(i,",0,0,1,").concat(i*2,`,0
46        a`).concat(i,",").concat(i,",0,0,1,").concat(-i*2,`,0
47      `):Hj({cx:r,cy:a,innerRadius:n,outerRadius:o,startAngle:u,endAngle:d});var x="M ".concat(v.x,",").concat(v.y,`
48    A`).concat(i,",").concat(i,",0,0,").concat(+(c<0),",").concat(p.x,",").concat(p.y,`
49    A`).concat(o,",").concat(o,",0,").concat(+(S>180),",").concat(+(c<0),",").concat(h.x,",").concat(h.y,`
50    A`).concat(i,",").concat(i,",0,0,").concat(+(c<0),",").concat(g.x,",").concat(g.y,`
51  `);if(n>0){var b=cy({cx:r,cy:a,radius:n,angle:u,sign:c,isExternal:!0,cornerRadius:i,cornerIsExternal:l}),C=b.circleTangency,P=b.lineTangency,O=b.theta,R=cy({cx:r,cy:a,radius:n,angle:d,sign:-c,isExternal:!0,cornerRadius:i,cornerIsExternal:l}),N=R.circleTangency,F=R.lineTangency,q=R.theta,H=l?Math.abs(u-d):Math.abs(u-d)-O-q;if(H<0&&i===0)return"".concat(x,"L").concat(r,",").concat(a,"Z");x+="L".concat(F.x,",").concat(F.y,`
52      A`).concat(i,",").concat(i,",0,0,").concat(+(c<0),",").concat(N.x,",").concat(N.y,`
53      A`).concat(n,",").concat(n,",0,").concat(+(H>180),",").concat(+(c>0),",").concat(C.x,",").concat(C.y,`
54      A`).concat(i,",").concat(i,",0,0,").concat(+(c<0),",").concat(P.x,",").concat(P.y,"Z")}else x+="L".concat(r,",").concat(a,"Z");return x},Wle={cx:0,cy:0,innerRadius:0,outerRadius:0,startAngle:0,endAngle:0,cornerRadius:0,forceCornerRadius:!1,cornerIsExternal:!1},dy=function(t){var r=qj(qj({},Wle),t),a=r.cx,n=r.cy,o=r.innerRadius,i=r.outerRadius,s=r.cornerRadius,l=r.forceCornerRadius,u=r.cornerIsExternal,d=r.startAngle,c=r.endAngle,f
54=r.className;if(i<o||d===c)return null;var p=ae("recharts-sector",f),v=i-o,m=xt(s,v,0,!0),w;return m>0&&Math.abs(d-c)<360?w=Hle({cx:a,cy:n,innerRadius:o,outerRadius:i,cornerRadius:Math.min(m,v/2),forceCornerRadius:l,cornerIsExternal:u,startAngle:d,endAngle:c}):w=Hj({cx:a,cy:n,innerRadius:o,outerRadius:i,startAngle:d,endAngle:c}),zj.default.createElement("path",XC({},re(r,!0),{className:p,d:w,role:"img"}))};var Xj=D(K());var Kj=D(Ug()),Yj=D(dt());function Yf(e){"@babel/helpers - typeof";return Yf=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Yf(e)}function KC(){return KC=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var a in r)Object.prototype.hasOwnProperty.call(r,a)&&(e[a]=r[a])}return e},KC.apply(this,arguments)}function Wj(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable})),r.push.apply(r,a)}return r}function Gj(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?Wj(Object(r),!0).forEach(function(a){Gle(e,a,r[a])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Wj(Object(r)).forEach(function(a){Object.defineProperty(e,a,Object.getOwnPropertyDescriptor(r,a))})}return e}function Gle(e,t,r){return t=$le(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function $le(e){var t=Xle(e,"string");return Yf(t)=="symbol"?t:t+""}function Xle(e,t){if(Yf(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var a=r.call(e,t||"default");if(Yf(a)!="object")return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var $j={curveBasisClosed:O1,curveBasisOpen:M1,curveBasis:E1,curveBumpX:w1,curveBumpY:b1,curveLinearClosed:R1,curveLinear:Ao,curveMonotoneX:_1,curveMonotoneY:N1,curveNatural:F1,curveStep:B1,curveStepAfter:U1,curveStepBefore:j1},fy=function(t){return t.x===+t.x&&t.y===+t.y},Xf=function(t){return t.x},Kf=function(t){return t.y},Kle=function(t,r){if((0,Yj.default)(t))return t;var a="curve".concat((0,Kj.default)(t));return(a==="curveMonotone"||a==="curveBump")&&r?$j["".concat(a).concat(r==="vertical"?"Y":"X")]:$j[a]||Ao},Yle=function(t){var r=t.type,a=r===void 0?"linear":r,n=t.points,o=n===void 0?[]:n,i=t.baseLine,s=t.layout,l=t.connectNulls,u=l===void 0?!1:l,d=Kle(a,s),c=u?o.filter(function(m){return fy(m)}):o,f;if(Array.isArray(i)){var p=u?i.filter(function(m){return fy(m)}):i,v=c.map(function(m,w){return Gj(Gj({},m),{},{base:p[w]})});return s==="vertical"?f=Tl().y(Kf).x1(Xf).x0(function(m){return m.base.x}):f=Tl().x(Xf).y1(Kf).y0(function(m){return m.base.y}),f.defined(fy).curve(d),f(v)}return s==="vertical"&&X(i)?f=Tl().y(Kf).x1(Xf).x0(i):X(i)?f=Tl().x(Xf).y1(Kf).y0(i):f=$d().x(Xf).y(Kf),f.defined(fy).curve(d),f(c)},Qf=function(t){var r=t.className,a=t.points,n=t.path,o=t.pathRef;if((!a||!a.length)&&!n)return null;var i=a&&a.length?Yle(t):n;return Xj.createElement("path",KC({},re(t,!1),Oi(t),{className:ae("recharts-curve",r),d:i,ref:o}))};var Ia=D(K());var Ya=D(K()),we=D(n4());var Jle=Object.getOwnPropertyNames,eue=Object.getOwnPropertySymbols,tue=Object.prototype.hasOwnProperty;function o4(e,t){return function(a,n,o){return e(a,n,o)&&t(a,n,o)}}function py(e){return function(r,a,n){if(!r||!a||typeof r!="object"||typeof a!="object")return e(r,a,n);var o=n.cache,i=o.get(r),s=o.get(a);if(i&&s)return i===a&&s===r;o.set(r,a),o.set(a,r);var l=e(r,a,n);return o.delete(r),o.delete(a),l}}function i4(e){return Jle(e).concat(eue(e))}var rue=Object.hasOwn||function(e,t){return tue.call(e,t)};function Ji(e,t){return e===t||!e&&!t&&e!==e&&t!==t}var aue="__v",nue="__o",oue="_owner",s4=Object.getOwnPropertyDescriptor,l4=Object.keys;function iue(e,t,r){var a=e.length;if(t.length!==a)return!1;for(;a-- >0;)if(!r.equals(e[a],t[a],a,a,e,t,r))return!1;return!0}function sue(e,t){return Ji(e.getTime(),t.getTime())}function lue(e,t){return e.name===t.name&&e.message===t.message&&e.cause===t.cause&&e.stack===t.stack}function uue(e,t){return e===t}function u4(e,t,r){var a=e.size;if(a!==t.size)return!1;if(!a)return!0;for(var n=new Array(a),o=e.entries(),i,s,l=0;(i=o.next())&&!i.done;){for(var u=t.entries(),d=!1,c=0;(s=u.next())&&!s.done;){if(n[c]){c++;continue}var f=i.value,p=s.value;if(r.equals(f[0],p[0],l,c,e,t,r)&&r.equals(f[1],p[1],f[0],p[0],e,t,r)){d=n[c]=!0;break}c++}if(!d)return!1;l++}return!0}var cue=Ji;function due(e,t,r){var a=l4(e),n=a.length;if(l4(t).length!==n)return!1;for(;n-- >0;)if(!p4(e,t,r,a[n]))return!1;return!0}function Zf(e,t,r){var a=i4(e),n=a.length;if(i4(t).length!==n)return!1;for(var o,i,s;n-- >0;)if(o=a[n],!p4(e,t,r,o)||(i=s4(e,o),s=s4(t,o),(i||s)&&(!i||!s||i.configurable!==s.configurable||i.enumerable!==s.enumerable||i.writable!==s.writable)))return!1;return!0}function fue(e,t){return Ji(e.valueOf(),t.valueOf())}function pue(e,t){return e.source===t.source&&e.flags===t.flags}function c4(e,t,r){var a=e.size;if(a!==t.size)return!1;if(!a)return!0;for(var n=new Array(a),o=e.values(),i,s;(i=o.next())&&!i.done;){for(var l=t.values(),u=!1,d=0;(s=l.next())&&!s.done;){if(!n[d]&&r.equals(i.value,s.value,i.value,s.value,e,t,r)){u=n[d]=!0;break}d++}if(!u)return!1}return!0}function mue(e,t){var r=e.length;if(t.length!==r)return!1;for(;r-- >0;)if(e[r]!==t[r])return!1;return!0}function hue(e,t){return e.hostname===t.hostname&&e.pathname===t.pathname&&e.protocol===t.protocol&&e.port===t.port&&e.hash===t.hash&&e.username===t.username&&e.password===t.password}function p4(e,t,r,a){return(a===oue||a===nue||a===aue)&&(e.$$typeof||t.$$typeof)?!0:rue(t,a)&&r.equals(e[a],t[a],a,a,e,t,r)}var gue="[object Arguments]",vue="[object Boolean]",yue="[object Date]",xue="[object Error]",wue="[object Map]",bue="[object Number]",Sue="[object Object]",Cue="[object RegExp]",Lue="[object Set]",Iue="[object String]",Pue="[object URL]",kue=Array.isArray,d4=typeof ArrayBuffer=="function"&&ArrayBuffer.isView?ArrayBuffer.isView:null,f4=Object.assign,Aue=Object.prototype.toString.call.bind(Object.prototype.toString);function Tue(e){var t=e.areArraysEqual,r=e.areDatesEqual,a=e.areErrorsEqual,n=e.areFunctionsEqual,o=e.areMapsEqual,i=e.areNumbersEqual,s=e.areObjectsEqual,l=e.arePrimitiveWrappersEqual,u=e.areRegExpsEqual,d=e.areSetsEqual,c=e.areTypedArraysEqual,f=e.areUrlsEqual;return function(v,m,w){if(v===m)return!0;
54if(v==null||m==null)return!1;var h=typeof v;if(h!==typeof m)return!1;if(h!=="object")return h==="number"?i(v,m,w):h==="function"?n(v,m,w):!1;var g=v.constructor;if(g!==m.constructor)return!1;if(g===Object)return s(v,m,w);if(kue(v))return t(v,m,w);if(d4!=null&&d4(v))return c(v,m,w);if(g===Date)return r(v,m,w);if(g===RegExp)return u(v,m,w);if(g===Map)return o(v,m,w);if(g===Set)return d(v,m,w);var y=Aue(v);return y===yue?r(v,m,w):y===Cue?u(v,m,w):y===wue?o(v,m,w):y===Lue?d(v,m,w):y===Sue?typeof v.then!="function"&&typeof m.then!="function"&&s(v,m,w):y===Pue?f(v,m,w):y===xue?a(v,m,w):y===gue?s(v,m,w):y===vue||y===bue||y===Iue?l(v,m,w):!1}}function Eue(e){var t=e.circular,r=e.createCustomConfig,a=e.strict,n={areArraysEqual:a?Zf:iue,areDatesEqual:sue,areErrorsEqual:lue,areFunctionsEqual:uue,areMapsEqual:a?o4(u4,Zf):u4,areNumbersEqual:cue,areObjectsEqual:a?Zf:due,arePrimitiveWrappersEqual:fue,areRegExpsEqual:pue,areSetsEqual:a?o4(c4,Zf):c4,areTypedArraysEqual:a?Zf:mue,areUrlsEqual:hue};if(r&&(n=f4({},n,r(n))),t){var o=py(n.areArraysEqual),i=py(n.areMapsEqual),s=py(n.areObjectsEqual),l=py(n.areSetsEqual);n=f4({},n,{areArraysEqual:o,areMapsEqual:i,areObjectsEqual:s,areSetsEqual:l})}return n}function Oue(e){return function(t,r,a,n,o,i,s){return e(t,r,s)}}function Mue(e){var t=e.circular,r=e.comparator,a=e.createState,n=e.equals,o=e.strict;if(a)return function(l,u){var d=a(),c=d.cache,f=c===void 0?t?new WeakMap:void 0:c,p=d.meta;return r(l,u,{cache:f,equals:n,meta:p,strict:o})};if(t)return function(l,u){return r(l,u,{cache:new WeakMap,equals:n,meta:void 0,strict:o})};var i={cache:void 0,equals:n,meta:void 0,strict:o};return function(l,u){return r(l,u,i)}}var m4=jo(),i4e=jo({strict:!0}),s4e=jo({circular:!0}),l4e=jo({circular:!0,strict:!0}),u4e=jo({createInternalComparator:function(){return Ji}}),c4e=jo({strict:!0,createInternalComparator:function(){return Ji}}),d4e=jo({circular:!0,createInternalComparator:function(){return Ji}}),f4e=jo({circular:!0,createInternalComparator:function(){return Ji},strict:!0});function jo(e){e===void 0&&(e={});var t=e.circular,r=t===void 0?!1:t,a=e.createInternalComparator,n=e.createState,o=e.strict,i=o===void 0?!1:o,s=Eue(e),l=Tue(s),u=a?a(l):Oue(l);return Mue({circular:r,comparator:l,createState:n,equals:u,strict:i})}function Rue(e){typeof requestAnimationFrame<"u"&&requestAnimationFrame(e)}function my(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,r=-1,a=function n(o){r<0&&(r=o),o-r>t?(e(o),r=-1):Rue(n)};requestAnimationFrame(a)}function YC(e){"@babel/helpers - typeof";return YC=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},YC(e)}function Due(e){return Bue(e)||Fue(e)||Nue(e)||_ue()}function _ue(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
55In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Nue(e,t){if(e){if(typeof e=="string")return h4(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(e);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return h4(e,t)}}function h4(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,a=new Array(t);r<t;r++)a[r]=e[r];return a}function Fue(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Bue(e){if(Array.isArray(e))return e}function QC(){var e={},t=function(){return null},r=!1,a=function n(o){if(!r){if(Array.isArray(o)){if(!o.length)return;var i=o,s=Due(i),l=s[0],u=s.slice(1);if(typeof l=="number"){my(n.bind(null,u),l);return}n(l),my(n.bind(null,u));return}YC(o)==="object"&&(e=o,t(e)),typeof o=="function"&&o()}};return{stop:function(){r=!0},start:function(o){r=!1,a(o)},subscribe:function(o){return t=o,function(){t=function(){return null}}}}}function Jf(e){"@babel/helpers - typeof";return Jf=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Jf(e)}function g4(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable})),r.push.apply(r,a)}return r}function v4(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};
55t%2?g4(Object(r),!0).forEach(function(a){y4(e,a,r[a])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):g4(Object(r)).forEach(function(a){Object.defineProperty(e,a,Object.getOwnPropertyDescriptor(r,a))})}return e}function y4(e,t,r){return t=jue(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function jue(e){var t=Uue(e,"string");return Jf(t)==="symbol"?t:String(t)}function Uue(e,t){if(Jf(e)!=="object"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var a=r.call(e,t||"default");if(Jf(a)!=="object")return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var x4=function(t,r){return[Object.keys(t),Object.keys(r)].reduce(function(a,n){return a.filter(function(o){return n.includes(o)})})},w4=function(t){return t},Vue=function(t){return t.replace(/([A-Z])/g,function(r){return"-".concat(r.toLowerCase())})};var fu=function(t,r){return Object.keys(r).reduce(function(a,n){return v4(v4({},a),{},y4({},n,t(n,r[n])))},{})},ZC=function(t,r,a){return t.map(function(n){return"".concat(Vue(n)," ").concat(r,"ms ").concat(a)}).join(",")},que=!1,ep=function(t,r,a,n,o,i,s,l){if(que&&typeof console<"u"&&console.warn&&(r===void 0&&console.warn("LogUtils requires an error message argument"),!t))if(r===void 0)console.warn("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var u=[a,n,o,i,s,l],d=0;console.warn(r.replace(/%s/g,function(){return u[d++]}))}};function zue(e,t){return Gue(e)||Wue(e,t)||C4(e,t)||Hue()}function Hue(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
56In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Wue(e,t){var r=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(r!=null){var a,n,o,i,s=[],l=!0,u=!1;try{if(o=(r=r.call(e)).next,t===0){if(Object(r)!==r)return;l=!1}else for(;!(l=(a=o.call(r)).done)&&(s.push(a.value),s.length!==t);l=!0);}catch(d){u=!0,n=d}finally{try{if(!l&&r.return!=null&&(i=r.return(),Object(i)!==i))return}finally{if(u)throw n}}return s}}function Gue(e){if(Array.isArray(e))return e}function $ue(e){return Yue(e)||Kue(e)||C4(e)||Xue()}function Xue(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
57In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function C4(e,t){if(e){if(typeof e=="string")return JC(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(e);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return JC(e,t)}}function Kue(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Yue(e){if(Array.isArray(e))return JC(e)}function JC(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,a=new Array(t);r<t;r++)a[r]=e[r];return a}var hy=1e-4,L4=function(t,r){return[0,3*t,3*r-6*t,3*t-3*r+1]},I4=function(t,r){return t.map(function(a,n){return a*Math.pow(r,n)}).reduce(function(a,n){return a+n})},b4=function(t,r){return function(a){var n=L4(t,r);return I4(n,a)}},Que=function(t,r){return function(a){var n=L4(t,r),o=[].concat($ue(n.map(function(i,s){return i*s}).slice(1)),[0]);return I4(o,a)}},S4=function(){for(var t=arguments.length,r=new Array(t),a=0;a<t;a++)r[a]=arguments[a];var n=r[0],o=r[1],i=r[2],s=r[3];if(r.length===1)switch(r[0]){case"linear":n=0,o=0,i=1,s=1;break;case"ease":n=.25,o=.1,i=.25,s=1;break;case"ease-in":n=.42,o=0,i=1,s=1;break;case"ease-out":n=.42,o=0,i=.58,s=1;break;case"ease-in-out":n=0,o=0,i=.58,s=1;break;default:{var l=r[0].split("(");if(l[0]==="cubic-bezier"&&l[1].split(")")[0].split(",").length===4){var u=l[1].split(")")[0].split(",").map(function(w){return parseFloat(w)}),d=zue(u,4);n=d[0],o=d[1],i=d[2],s=d[3]}else ep(!1,"[configBezier]: arguments should be one of oneOf 'linear', 'ease', 'ease-in', 'ease-out', 'ease-in-out','cubic-bezier(x1,y1,x2,y2)', instead received %s",r)}}ep([n,i,o,s].every(function(w){return typeof w=="number"&&w>=0&&w<=1}),"[configBezier]: arguments should be x1, y1, x2, y2 of [0, 1] instead received %s",r);var c=b4(n,i),f=b4(o,s),p=Que(n,i),v=function(h){return h>1?1:h<0?0:h},m=function(h){for(var g=h>1?1:h,y=g,S=0;S<8;++S){var x=c(y)-g,b=p(y);
vendor: 9,815 bytes, lines 57-60
57if(Math.abs(x-g)<hy||b<hy)return f(y);y=v(y-x/b)}return f(y)};return m.isStepper=!1,m},Zue=function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},r=t.stiff,a=r===void 0?100:r,n=t.damping,o=n===void 0?8:n,i=t.dt,s=i===void 0?17:i,l=function(d,c,f){var p=-(d-c)*a,v=f*o,m=f+(p-v)*s/1e3,w=f*s/1e3+d;return Math.abs(w-c)<hy&&Math.abs(m)<hy?[c,0]:[w,m]};return l.isStepper=!0,l.dt=s,l},P4=function(){for(var t=arguments.length,r=new Array(t),a=0;a<t;a++)r[a]=arguments[a];var n=r[0];if(typeof n=="string")switch(n){case"ease":case"ease-in-out":case"ease-out":case"ease-in":case"linear":return S4(n);case"spring":return Zue();default:if(n.split("(")[0]==="cubic-bezier")return S4(n);ep(!1,"[configEasing]: first argument should be one of 'ease', 'ease-in', 'ease-out', 'ease-in-out','cubic-bezier(x1,y1,x2,y2)', 'linear' and 'spring', instead  received %s",r)}return typeof n=="function"?n:(ep(!1,"[configEasing]: first argument type should be function or string, instead received %s",r),null)};function tp(e){"@babel/helpers - typeof";return tp=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},tp(e)}function k4(e){return tce(e)||ece(e)||T4(e)||Jue()}function Jue(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
58In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function ece(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function tce(e){if(Array.isArray(e))return tL(e)}function A4(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable})),r.push.apply(r,a)}return r}function Mt(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?A4(Object(r),!0).forEach(function(a){eL(e,a,r[a])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):A4(Object(r)).forEach(function(a){Object.defineProperty(e,a,Object.getOwnPropertyDescriptor(r,a))})}return e}function eL(e,t,r){return t=rce(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function rce(e){var t=ace(e,"string");return tp(t)==="symbol"?t:String(t)}function ace(e,t){if(tp(e)!=="object"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var a=r.call(e,t||"default");if(tp(a)!=="object")return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function nce(e,t){return sce(e)||ice(e,t)||T4(e,t)||oce()}function oce(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
59In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function T4(e,t){if(e){if(typeof e=="string")return tL(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(e);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return tL(e,t)}}function tL(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,a=new Array(t);r<t;r++)a[r]=e[r];return a}function ice(e,t){var r=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(r!=null){var a,n,o,i,s=[],l=!0,u=!1;try{if(o=(r=r.call(e)).next,t===0){if(Object(r)!==r)return;l=!1}else for(;!(l=(a=o.call(r)).done)&&(s.push(a.value),s.length!==t);l=!0);}catch(d){u=!0,n=d}finally{try{if(!l&&r.return!=null&&(i=r.return(),Object(i)!==i))return}finally{if(u)throw n}}return s}}function sce(e){if(Array.isArray(e))return e}var gy=function(t,r,a){return t+(r-t)*a},rL=function(t){var r=t.from,a=t.to;return r!==a},lce=function e(t,r,a){var n=fu(function(o,i){if(rL(i)){var s=t(i.from,i.to,i.velocity),l=nce(s,2),u=l[0],d=l[1];return Mt(Mt({},i),{},{from:u,velocity:d})}return i},r);return a<1?fu(function(o,i){return rL(i)?Mt(Mt({},i),{},{velocity:gy(i.velocity,n[o].velocity,a),from:gy(i.from,n[o].from,a)}):i},r):e(t,n,a-1)},E4=function(e,t,r,a,n){var o=x4(e,t),i=o.reduce(function(w,h){return Mt(Mt({},w),{},eL({},h,[e[h],t[h]]))},{}),s=o.reduce(function(w,h){return Mt(Mt({},w),{},eL({},h,{from:e[h],velocity:0,to:t[h]}))},{}),l=-1,u,d,c=function(){return null},f=function(){return fu(function(h,g){return g.from},s)},p=function(){return!Object.values(s).filter(rL).length},v=function(h){u||(u=h);var g=h-u,y=g/r.dt;s=lce(r,s,y),n(Mt(Mt(Mt({},e),t),f(s))),u=h,p()||(l=requestAnimationFrame(c))},m=function(h){d||(d=h);var g=(h-d)/a,y=fu(function(x,b){return gy.apply(void 0,k4(b).concat([r(g)]))},i);if(n(Mt(Mt(Mt({},e),t),y)),g<1)l=requestAnimationFrame(c);else{var S=fu(function(x,b){return gy.apply(void 0,k4(b).concat([r(1)]))},i);n(Mt(Mt(Mt({},e),t),S))}};return c=r.isStepper?v:m,function(){return requestAnimationFrame(c),function(){cancelAnimationFrame(l)}}};function pu(e){"@babel/helpers - typeof";return pu=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},pu(e)}var uce=["children","begin","duration","attributeName","easing","isActive","steps","from","to","canBegin","onAnimationEnd","shouldReAnimate","onAnimationReStart"];function cce(e,t){if(e==null)return{};var r=dce(e,t),a,n;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)a=o[n],!(t.indexOf(a)>=0)&&Object.prototype.propertyIsEnumerable.call(e,a)&&(r[a]=e[a])}return r}function dce(e,t){if(e==null)return{};var r={},a=Object.keys(e),n,o;for(o=0;o<a.length;o++)n=a[o],!(t.indexOf(n)>=0)&&(r[n]=e[n]);return r}function aL(e){return hce(e)||mce(e)||pce(e)||fce()}function fce(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
60In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function pce(e,t){if(e){if(typeof e=="string")return nL(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(e);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return nL(e,t)}}function mce(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function hce(e){if(Array.isArray(e))return nL(e)}function nL(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,a=new Array(t);r<t;r++)a[r]=e[r];return a}function O4(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable})),r.push.apply(r,a)}return r}function La(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?O4(Object(r),!0).forEach(function(a){rp(e,a,r[a])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):O4(Object(r)).forEach(function(a){Object.defineProperty(e,a,Object.getOwnPropertyDescriptor(r,a))})}return e}function rp(e,t,r){return t=R4(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function gce(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function M4(e,t){for(var r=0;r<t.length;r++){var a=t[r];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,R4(a.key),a)}}function vce(e,t,r){return t&&M4(e.prototype,t),r&&M4(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function R4(e){var t=yce(e,"string");return pu(t)==="symbol"?t:String(t)}function yce(e,t){if(pu(e)!=="object"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var a=r.call(e,t||"default");if(pu(a)!=="object")return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function xce(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&oL(e,t)}function oL(e,t){return oL=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(a,n){return a.__proto__=n,a},oL(e,t)}function wce(e){var t=bce();return function(){var a=vy(e),n;if(t){var o=vy(this).constructor;n=Reflect.construct(a,arguments,o)}else n=a.apply(this,arguments);return iL(this,n)}}function iL(e,t){if(t&&(pu(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return sL(e)}function sL(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function bce(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function vy(e){return vy=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},vy(e)}var yy=function(e){xce(r,e);var t=wce(r);function r(a,n){var o;gce(this,r),o=t.call(this,a,n);var i=o.props,s=i.isActive,l=i.attributeName,u=i.from,d=i.to,c=i.steps,f=i.children,p=i.duration;if(o.handleStyleChange=o.handleStyleChange.bind(sL(o)),o.changeStyle=o.changeStyle.bind(sL(o)),!s||p<=0)return o.state={style:{}},typeof f=="function"&&(o.state={style:d}),iL(o);if(c&&c.length)o.state={style:c[0].style};else if(u){if(typeof f=="function")return o.state={style:u},iL(o);o.state={style:l?rp({},l,u):u}}else o.state={style:{}};return o}
60return vce(r,[{key:"componentDidMount",value:function(){var n=this.props,o=n.isActive,i=n.canBegin;this.mounted=!0,!(!o||!i)&&this.runAnimation(this.props)}},{key:"componentDidUpdate",value:function(n){var o=this.props,i=o.isActive,s=o.canBegin,l=o.attributeName,u=o.shouldReAnimate,d=o.to,c=o.from,f=this.state.style;if(s){if(!i){var p={style:l?rp({},l,d):d};this.state&&f&&(l&&f[l]!==d||!l&&f!==d)&&this.setState(p);return}if(!(m4(n.to,d)&&n.canBegin&&n.isActive)){var v=!n.canBegin||!n.isActive;this.manager&&this.manager.stop(),this.stopJSAnimation&&this.stopJSAnimation();var m=v||u?c:n.to;if(this.state&&f){var w={style:l?rp({},l,m):m};(l&&f[l]!==m||!l&&f!==m)&&this.setState(w)}this.runAnimation(La(La({},this.props),{},{from:m,begin:0}))}}}},{key:"componentWillUnmount",value:function(){this.mounted=!1;var n=this.props.onAnimationEnd;this.unSubscribe&&this.unSubscribe(),this.manager&&(this.manager.stop(),this.manager=null),this.stopJSAnimation&&this.stopJSAnimation(),n&&n()}},{key:"handleStyleChange",value:function(n){this.changeStyle(n)}},{key:"changeStyle",value:function(n){this.mounted&&this.setState({style:n})}},{key:"runJSAnimation",value:function(n){var o=this,i=n.from,s=n.to,l=n.duration,u=n.easing,d=n.begin,c=n.onAnimationEnd,f=n.onAnimationStart,p=E4(i,s,P4(u),l,this.changeStyle),v=function(){o.stopJSAnimation=p()};this.manager.start([f,d,v,l,c])}},{key:"runStepAnimation",value:function(n){var o=this,i=n.steps,s=n.begin,l=n.onAnimationStart,u=i[0],d=u.style,c=u.duration,f=c===void 0?0:c,p=function(m,w,h){if(h===0)return m;var g=w.duration,y=w.easing,S=y===void 0?"ease":y,x=w.style,b=w.properties,C=w.onAnimationEnd,P=h>0?i[h-1]:w,O=b||Object.keys(x);if(typeof S=="function"||S==="spring")return[].concat(aL(m),[o.runJSAnimation.bind(o,{from:P.style,to:x,duration:g,easing:S}),g]);var R=ZC(O,g,S),N=La(La(La({},P.style),x),{},{transition:R});return[].concat(aL(m),[N,g,C]).filter(w4)};return this.manager.start([l].concat(aL(i.reduce(p,[d,Math.max(f,s)])),[n.onAnimationEnd]))}},{key:"runAnimation",value:function(n){this.manager||(this.manager=QC());var o=n.begin,i=n.duration,s=n.attributeName,l=n.to,u=n.easing,d=n.onAnimationStart,c=n.onAnimationEnd,f=n.steps,p=n.children,v=this.manager;if(this.unSubscribe=v.subscribe(this.handleStyleChange),typeof u=="function"||typeof p=="function"||u==="spring"){this.runJSAnimation(n);return}if(f.length>1){this.runStepAnimation(n);return}var m=s?rp({},s,l):l,w=ZC(Object.keys(m),i,u);v.start([d,o,La(La({},m),{},{transition:w}),i,c])}},{key:"render",value:function(){var n=this.props,o=n.children,i=n.begin,s=n.duration,l=n.attributeName,u=n.easing,d=n.isActive,c=n.steps,f=n.from,p=n.to,v=n.canBegin,m=n.onAnimationEnd,w=n.shouldReAnimate,h=n.onAnimationReStart,g=cce(n,uce),y=Ya.Children.count(o),S=this.state.style;if(typeof o=="function")return o(S);if(!d||y===0||s<=0)return o;var x=function(C){var P=C.props,O=P.style,R=O===void 0?{}:O,N=P.className,F=(0,Ya.cloneElement)(C,La(La({},g),{},{style:La(La({},R),S),className:N}));return F};return y===1?x(Ya.Children.only(o)):Ya.default.createElement("div",null,Ya.Children.map(o,function(b){return x(b)}))}}]),r}(Ya.PureComponent);yy.displayName="Animate";yy.defaultProps={begin:0,duration:1e3,from:"",to:"",attributeName:"",easing:"ease",isActive:!0,canBegin:!0,steps:[],onAnimationEnd:function(){},onAnimationStart:function(){}};yy.propTypes={from:we.default.oneOfType([we.default.object,we.default.string]),to:we.default.oneOfType([we.default.object,we.default.string]),attributeName:we.default.string,duration:we.default.number,begin:we.default.number,easing:we.default.oneOfType([we.default.string,we.default.func]),steps:we.default.arrayOf(we.default.shape({duration:we.default.number.isRequired,style:we.default.object.isRequired,easing:we.default.oneOfType([we.default.oneOf(["ease","ease-in","ease-out","ease-in-out","linear"]),we.default.func]),properties:we.default.arrayOf("string"),onAnimationEnd:we.default.func})),children:we.default.oneOfType([we.default.node,we.default.func]),isActive:we.default.bool,canBegin:we.default.bool,onAnimationEnd:we.default.func,shouldReAnimate:we.default.bool,onAnimationStart:we.default.func,onAnimationReStart:we.default.func};var D4=yy;var Uo=D4;function ap(e){"@babel/helpers - typeof";return ap=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},ap(e)}function xy(){return xy=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var a in r)Object.prototype.hasOwnProperty.call(r,a)&&(e[a]=r[a])}return e},xy.apply(this,arguments)}function Sce(e,t){return Pce(e)||Ice(e,t)||Lce(e,t)||Cce()}
vendor: 6,977 bytes, lines 60-72
60function Cce(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
61In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Lce(e,t){if(e){if(typeof e=="string")return _4(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(e);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return _4(e,t)}}function _4(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,a=new Array(t);r<t;r++)a[r]=e[r];return a}function Ice(e,t){var r=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(r!=null){var a,n,o,i,s=[],l=!0,u=!1;try{if(o=(r=r.call(e)).next,t===0){if(Object(r)!==r)return;l=!1}else for(;!(l=(a=o.call(r)).done)&&(s.push(a.value),s.length!==t);l=!0);}catch(d){u=!0,n=d}finally{try{if(!l&&r.return!=null&&(i=r.return(),Object(i)!==i))return}finally{if(u)throw n}}return s}}function Pce(e){if(Array.isArray(e))return e}function N4(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable})),r.push.apply(r,a)}return r}function F4(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?N4(Object(r),!0).forEach(function(a){kce(e,a,r[a])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):N4(Object(r)).forEach(function(a){Object.defineProperty(e,a,Object.getOwnPropertyDescriptor(r,a))})}return e}function kce(e,t,r){return t=Ace(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ace(e){var t=Tce(e,"string");return ap(t)=="symbol"?t:t+""}function Tce(e,t){if(ap(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var a=r.call(e,t||"default");if(ap(a)!="object")return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var B4=function(t,r,a,n,o){var i=Math.min(Math.abs(a)/2,Math.abs(n)/2),s=n>=0?1:-1,l=a>=0?1:-1,u=n>=0&&a>=0||n<0&&a<0?1:0,d;if(i>0&&o instanceof Array){for(var c=[0,0,0,0],f=0,p=4;f<p;f++)c[f]=o[f]>i?i:o[f];d="M".concat(t,",").concat(r+s*c[0]),c[0]>0&&(d+="A ".concat(c[0],",").concat(c[0],",0,0,").concat(u,",").concat(t+l*c[0],",").concat(r)),d+="L ".concat(t+a-l*c[1],",").concat(r),c[1]>0&&(d+="A ".concat(c[1],",").concat(c[1],",0,0,").concat(u,`,
62        `).concat(t+a,",").concat(r+s*c[1])),d+="L ".concat(t+a,",").concat(r+n-s*c[2]),c[2]>0&&(d+="A ".concat(c[2],",").concat(c[2],",0,0,").concat(u,`,
63        `).concat(t+a-l*c[2],",").concat(r+n)),d+="L ".concat(t+l*c[3],",").concat(r+n),c[3]>0&&(d+="A ".concat(c[3],",").concat(c[3],",0,0,").concat(u,`,
64        `).concat(t,",").concat(r+n-s*c[3])),d+="Z"}else if(i>0&&o===+o&&o>0){var v=Math.min(i,o);d="M ".concat(t,",").concat(r+s*v,`
65            A `).concat(v,",").concat(v,",0,0,").concat(u,",").concat(t+l*v,",").concat(r,`
66            L `).concat(t+a-l*v,",").concat(r,`
67            A `).concat(v,",").concat(v,",0,0,").concat(u,",").concat(t+a,",").concat(r+s*v,`
68            L `).concat(t+a,",").concat(r+n-s*v,`
69            A `).concat(v,",").concat(v,",0,0,").concat(u,",").concat(t+a-l*v,",").concat(r+n,`
70            L `).concat(t+l*v,",").concat(r+n,`
71            A `).concat(v,",").concat(v,",0,0,").concat(u,",").concat(t,",").concat(r+n-s*v," Z")}else d="M ".concat(t,",").concat(r," h ").concat(a," v ").concat(n," h ").concat(-a," Z");return d},j4=function(t,r){if(!t||!r)return!1;var a=t.x,n=t.y,o=r.x,i=r.y,s=r.width,l=r.height;if(Math.abs(s)>0&&Math.abs(l)>0){var u=Math.min(o,o+s),d=Math.max(o,o+s),c=Math.min(i,i+l),f=Math.max(i,i+l);return a>=u&&a<=d&&n>=c&&n<=f}return!1},Ece={x:0,y:0,width:0,height:0,radius:0,isAnimationActive:!1,isUpdateAnimationActive:!1,animationBegin:0,animationDuration:1500,animationEasing:"ease"},mu=function(t){var r=F4(F4({},Ece),t),a=(0,Ia.useRef)(),n=(0,Ia.useState)(-1),o=Sce(n,2),i=o[0],s=o[1];(0,Ia.useEffect)(function(){if(a.current&&a.current.getTotalLength)try{var S=a.current.getTotalLength();S&&s(S)}catch{}},[]);var l=r.x,u=r.y,d=r.width,c=r.height,f=r.radius,p=r.className,v=r.animationEasing,m=r.animationDuration,w=r.animationBegin,h=r.isAnimationActive,g=r.isUpdateAnimationActive;if(l!==+l||u!==+u||d!==+d||c!==+c||d===0||c===0)return null;var y=ae("recharts-rectangle",p);return g?Ia.default.createElement(Uo,{canBegin:i>0,from:{width:d,height:c,x:l,y:u},to:{width:d,height:c,x:l,y:u},duration:m,animationEasing:v,isActive:g},function(S){var x=S.width,b=S.height,C=S.x,P=S.y;return Ia.default.createElement(Uo,{canBegin:i>0,from:"0px ".concat(i===-1?1:i,"px"),to:"".concat(i,"px 0px"),attributeName:"strokeDasharray",begin:w,duration:m,isActive:h,easing:v},Ia.default.createElement("path",xy({},re(r,!0),{className:y,d:B4(C,P,x,b,f),ref:a})))}):Ia.default.createElement("path",xy({},re(r,!0),{className:y,d:B4(l,u,d,c,f)}))};var hu=D(K());var Oce=["points","className","baseLinePoints","connectNulls"];function gu(){return gu=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var a in r)Object.prototype.hasOwnProperty.call(r,a)&&(e[a]=r[a])}return e},gu.apply(this,arguments)}function Mce(e,t){if(e==null)return{};var r=Rce(e,t),a,n;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)a=o[n],!(t.indexOf(a)>=0)&&Object.prototype.propertyIsEnumerable.call(e,a)&&(r[a]=e[a])}return r}function Rce(e,t){if(e==null)return{};var r={};for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){if(t.indexOf(a)>=0)continue;r[a]=e[a]}return r}function U4(e){return Fce(e)||Nce(e)||_ce(e)||Dce()}function Dce(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
72In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function _ce(e,t){if(e){if(typeof e=="string")return lL(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(e);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return lL(e,t)}}function Nce(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Fce(e){if(Array.isArray(e))return lL(e)}function lL(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,a=new Array(t);r<t;r++)a[r]=e[r];return a}var V4=function(t){return t&&t.x===+t.x&&t.y===+t.y},Bce=function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],r=[[]];return t.forEach(function(a){V4(a)?r[r.length-1].push(a):r[r.length-1].length>0&&r.push([])}),V4(t[0])&&r[r.length-1].push(t[0]),r[r.length-1].length<=0&&(r=r.slice(0,-1)),r},np=function(t,r){var a=Bce(t);r&&(a=[a.reduce(function(o,i){return[].concat(U4(o),U4(i))},[])]);var n=a.map(function(o){return o.reduce(function(i,s,l){return"".concat(i).c
72oncat(l===0?"M":"L").concat(s.x,",").concat(s.y)},"")}).join("");return a.length===1?"".concat(n,"Z"):n},jce=function(t,r,a){var n=np(t,a);return"".concat(n.slice(-1)==="Z"?n.slice(0,-1):n,"L").concat(np(r.reverse(),a).slice(1))},q4=function(t){var r=t.points,a=t.className,n=t.baseLinePoints,o=t.connectNulls,i=Mce(t,Oce);if(!r||!r.length)return null;var s=ae("recharts-polygon",a);if(n&&n.length){var l=i.stroke&&i.stroke!=="none",u=jce(r,n,o);return hu.default.createElement("g",{className:s},hu.default.createElement("path",gu({},re(i,!0),{fill:u.slice(-1)==="Z"?i.fill:"none",stroke:"none",d:u})),l?hu.default.createElement("path",gu({},re(i,!0),{fill:"none",d:np(r,o)})):null,l?hu.default.createElement("path",gu({},re(i,!0),{fill:"none",d:np(n,o)})):null)}var d=np(r,o);return hu.default.createElement("path",gu({},re(i,!0),{fill:d.slice(-1)==="Z"?i.fill:"none",className:s,d}))};var z4=D(K());function uL(){return uL=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var a in r)Object.prototype.hasOwnProperty.call(r,a)&&(e[a]=r[a])}return e},uL.apply(this,arguments)}var vu=function(t){var r=t.cx,a=t.cy,n=t.r,o=t.className,i=ae("recharts-dot",o);return r===+r&&a===+a&&n===+n?z4.createElement("circle",uL({},re(t,!1),Oi(t),{className:i,cx:r,cy:a,r:n})):null};var W4=D(K());function op(e){"@babel/helpers - typeof";return op=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},op(e)}var Uce=["x","y","top","left","width","height","className"];function cL(){return cL=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var a in r)Object.prototype.hasOwnProperty.call(r,a)&&(e[a]=r[a])}return e},cL.apply(this,arguments)}function H4(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable})),r.push.apply(r,a)}return r}function Vce(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?H4(Object(r),!0).forEach(function(a){qce(e,a,r[a])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):H4(Object(r)).forEach(function(a){Object.defineProperty(e,a,Object.getOwnPropertyDescriptor(r,a))})}return e}function qce(e,t,r){return t=zce(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function zce(e){var t=Hce(e,"string");return op(t)=="symbol"?t:t+""}function Hce(e,t){if(op(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var a=r.call(e,t||"default");if(op(a)!="object")return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function Wce(e,t){if(e==null)return{};var r=Gce(e,t),a,n;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)a=o[n],!(t.indexOf(a)>=0)&&Object.prototype.propertyIsEnumerable.call(e,a)&&(r[a]=e[a])}return r}function Gce(e,t){if(e==null)return{};var r={};for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){if(t.indexOf(a)>=0)continue;r[a]=e[a]}return r}var $ce=function(t,r,a,n,o,i){return"M".concat(t,",").concat(o,"v").concat(n,"M").concat(i,",").concat(r,"h").concat(a)},G4=function(t){var r=t.x,a=r===void 0?0:r,n=t.y,o=n===void 0?0:n,i=t.top,s=i===void 0?0:i,l=t.left,u=l===void 0?0:l,d=t.width,c=d===void 0?0:d,f=t.height,p=f===void 0?0:f,v=t.className,m=Wce(t,Uce),w=Vce({x:a,y:o,top:s,left:u,width:c,height:p},m);return!X(a)||!X(o)||!X(c)||!X(p)||!X(s)||!X(u)?null:W4.default.createElement("path",cL({},re(w,!0),{className:ae("recharts-cross",v),d:$ce(a,o,c,p,s,u)}))};var Qa=D(K()),rU=D(X4()),aU=D(Y4()),nU=D(dt());var rde=["cx","cy","angle","ticks","axisLine"],ade=["ticks","tick","angle","tickFormatter","stroke"];function yu(e){"@babel/helpers - typeof";return yu=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},yu(e)}function ip(){return ip=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var a in r)Object.prototype.hasOwnProperty.call(r,a)&&(e[a]=r[a])}return e},ip.apply(this,arguments)}function Q4(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable})),r.push.apply(r,a)}return r}function es(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};
72t%2?Q4(Object(r),!0).forEach(function(a){by(e,a,r[a])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Q4(Object(r)).forEach(function(a){Object.defineProperty(e,a,Object.getOwnPropertyDescriptor(r,a))})}return e}function Z4(e,t){if(e==null)return{};var r=nde(e,t),a,n;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)a=o[n],!(t.indexOf(a)>=0)&&Object.prototype.propertyIsEnumerable.call(e,a)&&(r[a]=e[a])}return r}function nde(e,t){if(e==null)return{};var r={};for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){if(t.indexOf(a)>=0)continue;r[a]=e[a]}return r}function ode(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function J4(e,t){for(var r=0;r<t.length;r++){var a=t[r];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,tU(a.key),a)}}function ide(e,t,r){return t&&J4(e.prototype,t),r&&J4(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function sde(e,t,r){return t=wy(t),lde(e,eU()?Reflect.construct(t,r||[],wy(e).constructor):t.apply(e,r))}function lde(e,t){if(t&&(yu(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return ude(e)}function ude(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function eU(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(eU=function(){return!!e})()}function wy(e){return wy=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},wy(e)}function cde(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&dL(e,t)}function dL(e,t){return dL=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(a,n){return a.__proto__=n,a},dL(e,t)}function by(e,t,r){return t=tU(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function tU(e){var t=dde(e,"string");return yu(t)=="symbol"?t:t+""}function dde(e,t){if(yu(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var a=r.call(e,t||"default");if(yu(a)!="object")return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var sp=function(e){function t(){return ode(this,t),sde(this,t,arguments)}return cde(t,e),ide(t,[{key:"getTickValueCoord",value:function(a){var n=a.coordinate,o=this.props,i=o.angle,s=o.cx,l=o.cy;return he(s,l,n,i)}},{key:"getTickTextAnchor",value:function(){var a=this.props.orientation,n;switch(a){case"left":n="end";break;case"right":n="start";break;default:n="middle";break}return n}},{key:"getViewBox",value:function(){var a=this.props,n=a.cx,o=a.cy,i=a.angle,s=a.ticks,l=(0,rU.default)(s,function(d){return d.coordinate||0}),u=(0,aU.default)(s,function(d){return d.coordinate||0});return{cx:n,cy:o,startAngle:i,endAngle:i,innerRadius:u.coordinate||0,outerRadius:l.coordinate||0}}},{key:"renderAxisLine",value:function(){var a=this.props,n=a.cx,o=a.cy,i=a.angle,s=a.ticks,l=a.axisLine,u=Z4(a,rde),d=s.reduce(function(v,m){return[Math.min(v[0],m.coordinate),Math.max(v[1],m.coordinate)]},[1/0,-1/0]),c=he(n,o,d[0],i),f=he(n,o,d[1],i),p=es(es(es({},re(u,!1)),{},{fill:"none"},re(l,!1)),{},{x1:c.x,y1:c.y,x2:f.x,y2:f.y});return Qa.default.createElement("line",ip({className:"recharts-polar-radius-axis-line"},p))}},{key:"renderTicks",value:function(){var a=this,n=this.props,o=n.ticks,i=n.tick,s=n.angle,l=n.tickFormatter,u=n.stroke,d=Z4(n,ade),c=this.getTickTextAnchor(),f=re(d,!1),p=re(i,!1),v=o.map(function(m,w){var h=a.getTickValueCoord(m),g=es(es(es(es({textAnchor:c,transform:"rotate(".concat(90-s,", ").concat(h.x,", ").concat(h.y,")")},f),{},{stroke:"none",fill:u},p),{},{index:w},h),{},{payload:m});return Qa.default.createElement(ye,ip({className:ae("recharts-polar-radius-axis-tick",sy(i)),key:"tick-".concat(m.coordinate)},ko(a.props,m,w)),t.renderTickItem(i,g,l?l(m.value,w):m.value))});return Qa.default.createElement(ye,{className:"recharts-polar-radius-axis-ticks"},v)}},{key:"render",value:function(){var a=this.props,n=a.ticks,o=a.axisLine,i=a.tick;return!n||!n.length?null:Qa.default.createElement(ye,{className:ae("recharts-polar-radius-axis",this.props.className)},o&&this.renderAxisLine(),i&&this.renderTicks(),Qe.renderCallByParent(this.props,this.getViewBox()))}}],[{key:"renderTickItem",value:function(a,n,o){var i;return Qa.default.isValidElement(a)?i=Qa.default.cloneElement(a,n):(0,nU.default)(a)?i=a(n):i=Qa.default.createElement(ba,ip({},n,{className:"recharts-polar-radius-axis-tick-value"}),o),i}}])}(Qa.PureComponent);by(sp,"displayName","PolarRadiusAxis");by(sp,"axisType","radiusAxis");
72by(sp,"defaultProps",{type:"number",radiusAxisId:0,cx:0,cy:0,angle:0,orientation:"right",stroke:"#ccc",axisLine:!0,tick:!0,tickCount:5,allowDataOverflow:!1,scale:"auto",allowDuplicatedCategory:!0});var Qr=D(K()),cU=D(dt());function xu(e){"@babel/helpers - typeof";return xu=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},xu(e)}function rs(){return rs=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var a in r)Object.prototype.hasOwnProperty.call(r,a)&&(e[a]=r[a])}return e},rs.apply(this,arguments)}function oU(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable})),r.push.apply(r,a)}return r}function ts(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?oU(Object(r),!0).forEach(function(a){Cy(e,a,r[a])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):oU(Object(r)).forEach(function(a){Object.defineProperty(e,a,Object.getOwnPropertyDescriptor(r,a))})}return e}function fde(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function iU(e,t){for(var r=0;r<t.length;r++){var a=t[r];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,uU(a.key),a)}}function pde(e,t,r){return t&&iU(e.prototype,t),r&&iU(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function mde(e,t,r){return t=Sy(t),hde(e,lU()?Reflect.construct(t,r||[],Sy(e).constructor):t.apply(e,r))}function hde(e,t){if(t&&(xu(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return gde(e)}function gde(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function lU(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(lU=function(){return!!e})()}function Sy(e){return Sy=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},Sy(e)}function vde(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&fL(e,t)}function fL(e,t){return fL=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(a,n){return a.__proto__=n,a},fL(e,t)}function Cy(e,t,r){return t=uU(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function uU(e){var t=yde(e,"string");return xu(t)=="symbol"?t:t+""}function yde(e,t){if(xu(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var a=r.call(e,t||"default");if(xu(a)!="object")return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var xde=Math.PI/180,sU=1e-5,lp=function(e){function t(){return fde(this,t),mde(this,t,arguments)}return vde(t,e),pde(t,[{key:"getTickLineCoord",value:function(a){var n=this.props,o=n.cx,i=n.cy,s=n.radius,l=n.orientation,u=n.tickSize,d=u||8,c=he(o,i,s,a.coordinate),f=he(o,i,s+(l==="inner"?-1:1)*d,a.coordinate);return{x1:c.x,y1:c.y,x2:f.x,y2:f.y}}},{key:"getTickTextAnchor",value:function(a){var n=this.props.orientation,o=Math.cos(-a.coordinate*xde),i;return o>sU?i=n==="outer"?"start":"end":o<-sU?i=n==="outer"?"end":"start":i="middle",i}},{key:"renderAxisLine",value:function(){var a=this.props,n=a.cx,o=a.cy,i=a.radius,s=a.axisLine,l=a.axisLineType,u=ts(ts({},re(this.props,!1)),{},{fill:"none"},re(s,!1));if(l==="circle")return Qr.default.createElement(vu,rs({className:"recharts-polar-angle-axis-line"},u,{cx:n,cy:o,r:i}));var d=this.props.ticks,c=d.map(function(f){return he(n,o,i,f.coordinate)});return Qr.default.createElement(q4,rs({className:"recharts-polar-angle-axis-line"},u,{points:c}))}},{key:"renderTicks",value:function(){var a=this,n=this.props,o=n.ticks,i=n.tick,s=n.tickLine,l=n.tickFormatter,u=n.stroke,d=re(this.props,!1),c=re(i,!1),f=ts(ts({},d),{},{fill:"none"}
72,re(s,!1)),p=o.map(function(v,m){var w=a.getTickLineCoord(v),h=a.getTickTextAnchor(v),g=ts(ts(ts({textAnchor:h},d),{},{stroke:"none",fill:u},c),{},{index:m,payload:v,x:w.x2,y:w.y2});return Qr.default.createElement(ye,rs({className:ae("recharts-polar-angle-axis-tick",sy(i)),key:"tick-".concat(v.coordinate)},ko(a.props,v,m)),s&&Qr.default.createElement("line",rs({className:"recharts-polar-angle-axis-tick-line"},f,w)),i&&t.renderTickItem(i,g,l?l(v.value,m):v.value))});return Qr.default.createElement(ye,{className:"recharts-polar-angle-axis-ticks"},p)}},{key:"render",value:function(){var a=this.props,n=a.ticks,o=a.radius,i=a.axisLine;return o<=0||!n||!n.length?null:Qr.default.createElement(ye,{className:ae("recharts-polar-angle-axis",this.props.className)},i&&this.renderAxisLine(),this.renderTicks())}}],[{key:"renderTickItem",value:function(a,n,o){var i;return Qr.default.isValidElement(a)?i=Qr.default.cloneElement(a,n):(0,cU.default)(a)?i=a(n):i=Qr.default.createElement(ba,rs({},n,{className:"recharts-polar-angle-axis-tick-value"}),o),i}}])}(Qr.PureComponent);Cy(lp,"displayName","PolarAngleAxis");Cy(lp,"axisType","angleAxis");Cy(lp,"defaultProps",{type:"category",angleAxisId:0,scale:"auto",cx:0,cy:0,orientation:"outer",axisLine:!0,tickLine:!0,tickSize:8,tick:!0,hide:!1,allowDuplicatedCategory:!0});var Rt=D(K());var _U=D(Ti()),NU=D(Qv()),as=D(va()),bu=D(dt());var kr=D(K()),IU=D(dt()),PU=D(hU()),kU=D(vU()),AU=D(Qv());var Zr=D(K());function up(e){"@babel/helpers - typeof";return up=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},up(e)}function Ly(){return Ly=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var a in r)Object.prototype.hasOwnProperty.call(r,a)&&(e[a]=r[a])}return e},Ly.apply(this,arguments)}function _de(e,t){return jde(e)||Bde(e,t)||Fde(e,t)||Nde()}function Nde(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
73In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Fde(e,t){if(e){if(typeof e=="string")return yU(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(e);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return yU(e,t)}}function yU(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,a=new Array(t);r<t;r++)a[r]=e[r];return a}function Bde(e,t){var r=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(r!=null){var a,n,o,i,s=[],l=!0,u=!1;try{if(o=(r=r.call(e)).next,t===0){if(Object(r)!==r)return;l=!1}else for(;!(l=(a=o.call(r)).done)&&(s.push(a.value),s.length!==t);l=!0);}catch(d){u=!0,n=d}finally{try{if(!l&&r.return!=null&&(i=r.return(),Object(i)!==i))return}finally{if(u)throw n}}return s}}function jde(e){if(Array.isArray(e))return e}function xU(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable})),r.push.apply(r,a)}return r}function wU(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?xU(Object(r),!0).forEach(function(a){Ude(e,a,r[a])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):xU(Object(r)).forEach(function(a){Object.defineProperty(e,a,Object.getOwnPropertyDescriptor(r,a))})}return e}function Ude(e,t,r){return t=Vde(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Vde(e){var t=qde(e,"string");return up(t)=="symbol"?t:t+""}function qde(e,t){if(up(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var a=r.call(e,t||"default");if(up(a)!="object")return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var bU=function(t,r,a,n,o){var i=a-n,s;return s="M ".concat(t,",").concat(r),s+="L ".concat(t+a,",").concat(r),s+="L ".concat(t+a-i/2,",").concat(r+o),s+="L ".concat(t+a-i/2-n,",").concat(r+o),s+="L ".concat(t,",").concat(r," Z"),s}
73,zde={x:0,y:0,upperWidth:0,lowerWidth:0,height:0,isUpdateAnimationActive:!1,animationBegin:0,animationDuration:1500,animationEasing:"ease"},SU=function(t){var r=wU(wU({},zde),t),a=(0,Zr.useRef)(),n=(0,Zr.useState)(-1),o=_de(n,2),i=o[0],s=o[1];(0,Zr.useEffect)(function(){if(a.current&&a.current.getTotalLength)try{var y=a.current.getTotalLength();y&&s(y)}catch{}},[]);var l=r.x,u=r.y,d=r.upperWidth,c=r.lowerWidth,f=r.height,p=r.className,v=r.animationEasing,m=r.animationDuration,w=r.animationBegin,h=r.isUpdateAnimationActive;if(l!==+l||u!==+u||d!==+d||c!==+c||f!==+f||d===0&&c===0||f===0)return null;var g=ae("recharts-trapezoid",p);return h?Zr.default.createElement(Uo,{canBegin:i>0,from:{upperWidth:0,lowerWidth:0,height:f,x:l,y:u},to:{upperWidth:d,lowerWidth:c,height:f,x:l,y:u},duration:m,animationEasing:v,isActive:h},function(y){var S=y.upperWidth,x=y.lowerWidth,b=y.height,C=y.x,P=y.y;return Zr.default.createElement(Uo,{canBegin:i>0,from:"0px ".concat(i===-1?1:i,"px"),to:"".concat(i,"px 0px"),attributeName:"strokeDasharray",begin:w,duration:m,easing:v},Zr.default.createElement("path",Ly({},re(r,!0),{className:g,d:bU(C,P,S,x,b),ref:a})))}):Zr.default.createElement("g",null,Zr.default.createElement("path",Ly({},re(r,!0),{className:g,d:bU(l,u,d,c,f)})))};var Hde=["option","shapeType","propTransformer","activeClassName","isActive"];function cp(e){"@babel/helpers - typeof";return cp=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},cp(e)}function Wde(e,t){if(e==null)return{};var r=Gde(e,t),a,n;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)a=o[n],!(t.indexOf(a)>=0)&&Object.prototype.propertyIsEnumerable.call(e,a)&&(r[a]=e[a])}return r}function Gde(e,t){if(e==null)return{};var r={};for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){if(t.indexOf(a)>=0)continue;r[a]=e[a]}return r}function CU(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable})),r.push.apply(r,a)}return r}function Iy(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?CU(Object(r),!0).forEach(function(a){$de(e,a,r[a])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):CU(Object(r)).forEach(function(a){Object.defineProperty(e,a,Object.getOwnPropertyDescriptor(r,a))})}return e}function $de(e,t,r){return t=Xde(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Xde(e){var t=Kde(e,"string");return cp(t)=="symbol"?t:t+""}function Kde(e,t){if(cp(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var a=r.call(e,t||"default");if(cp(a)!="object")return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function Yde(e,t){return Iy(Iy({},t),e)}function Qde(e,t){return e==="symbols"}function LU(e){var t=e.shapeType,r=e.elementProps;switch(t){case"rectangle":return kr.default.createElement(mu,r);case"trapezoid":return kr.default.createElement(SU,r);case"sector":return kr.default.createElement(dy,r);case"symbols":if(Qde(t,r))return kr.default.createElement(Kd,r);break;default:return null}}function Zde(e){return(0,kr.isValidElement)(e)?e.props:e}function TU(e){var t=e.option,r=e.shapeType,a=e.propTransformer,n=a===void 0?Yde:a,o=e.activeClassName,i=o===void 0?"recharts-active-shape":o,s=e.isActive,l=Wde(e,Hde),u;if((0,kr.isValidElement)(t))u=(0,kr.cloneElement)(t,Iy(Iy({},l),Zde(t)));else if((0,IU.default)(t))u=t(l);else if((0,PU.default)(t)&&!(0,kU.default)(t)){var d=n(t,l);u=kr.default.createElement(LU,{shapeType:r,elementProps:d})}else{var c=l;u=kr.default.createElement(LU,{shapeType:r,elementProps:c})}return s?kr.default.createElement(ye,{className:i},u):u}function dp(e,t){return t!=null&&"trapezoids"in e.props}function fp(e,t){return t!=null&&"sectors"in e.props}function wu(e,t){return t!=null&&"points"in e.props}function Jde(e,t){var r,a,n=e.x===(t==null||(r=t.labelViewBox)===null||r===void 0?void 0:r.x)||e.x===t.x,o=e.
73y===(t==null||(a=t.labelViewBox)===null||a===void 0?void 0:a.y)||e.y===t.y;return n&&o}function efe(e,t){var r=e.endAngle===t.endAngle,a=e.startAngle===t.startAngle;return r&&a}function tfe(e,t){var r=e.x===t.x,a=e.y===t.y,n=e.z===t.z;return r&&a&&n}function rfe(e,t){var r;return dp(e,t)?r=Jde:fp(e,t)?r=efe:wu(e,t)&&(r=tfe),r}function afe(e,t){var r;return dp(e,t)?r="trapezoids":fp(e,t)?r="sectors":wu(e,t)&&(r="points"),r}function nfe(e,t){if(dp(e,t)){var r;return(r=t.tooltipPayload)===null||r===void 0||(r=r[0])===null||r===void 0||(r=r.payload)===null||r===void 0?void 0:r.payload}if(fp(e,t)){var a;return(a=t.tooltipPayload)===null||a===void 0||(a=a[0])===null||a===void 0||(a=a.payload)===null||a===void 0?void 0:a.payload}return wu(e,t)?t.payload:{}}function EU(e){var t=e.activeTooltipItem,r=e.graphicalItem,a=e.itemData,n=afe(r,t),o=nfe(r,t),i=a.filter(function(l,u){var d=(0,AU.default)(o,l),c=r.props[n].filter(function(v){var m=rfe(r,t);return m(v,t)}),f=r.props[n].indexOf(c[c.length-1]),p=u===f;return d&&p}),s=a.indexOf(i[i.length-1]);return s}var Py;function Cu(e){"@babel/helpers - typeof";return Cu=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Cu(e)}function Su(){return Su=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var a in r)Object.prototype.hasOwnProperty.call(r,a)&&(e[a]=r[a])}return e},Su.apply(this,arguments)}function OU(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable})),r.push.apply(r,a)}return r}function De(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?OU(Object(r),!0).forEach(function(a){Jr(e,a,r[a])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):OU(Object(r)).forEach(function(a){Object.defineProperty(e,a,Object.getOwnPropertyDescriptor(r,a))})}return e}function ofe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function MU(e,t){for(var r=0;r<t.length;r++){var a=t[r];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,DU(a.key),a)}}function ife(e,t,r){return t&&MU(e.prototype,t),r&&MU(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function sfe(e,t,r){return t=ky(t),lfe(e,RU()?Reflect.construct(t,r||[],ky(e).constructor):t.apply(e,r))}function lfe(e,t){if(t&&(Cu(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return ufe(e)}function ufe(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function RU(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(RU=function(){return!!e})()}function ky(e){return ky=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},ky(e)}function cfe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&pL(e,t)}function pL(e,t){return pL=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(a,n){return a.__proto__=n,a},pL(e,t)}function Jr(e,t,r){return t=DU(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function DU(e){var t=dfe(e,"string");return Cu(t)=="symbol"?t:t+""}function dfe(e,t){if(Cu(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var a=r.call(e,t||"default");if(Cu(a)!="object")return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var ea=function(e){function t(r){var a;return ofe(this,t),a=sfe(this,t,[r]),Jr(a,"pieRef",null),Jr(a,"sectorRefs",[]),Jr(a,"id",Po("recharts-pie-")),Jr(a,"handleAnimationEnd",function(){var n=a.props.onAnimationEnd;a.setState({isAnimationFinished:!0}),(0,bu.default)(n)&&n()}),Jr(a,"handleAnimationStart",function(){var n=a.props.onAnimationStart;a.setState({isAnimationFinished:!1}),(0,bu.default)(n)&&n()}),a.state={isAnimationFinished:!r.isAnimationActive,prevIsAnimationActive:r.isAnimationActive,prevAnimationId:r.animationId,sectorToFocus:0},a}return cfe(t,e),ife(t,[{key:"isActiveIndex",value:function(a){var n=this.props.activeIndex;return Array.isArray(n)?n.indexOf(a)!==-1:a===n}},{key:"hasActiveIndex",value:function(){var a=this.props.activeIndex;return Array.isArray(a)?a.length!==0:a||a===0}},{key:"renderLabels",value:function(a){var n=this.props.isAnimationActive;if(n&&!this.state.isAnimationFinished)return null;var o=this.props,i=o.label,s=o.labelLine,l=o.dataKey,u=o.valueKey,d=re(this.props,!1),c=re(i,!1),f=re(s,!1),p=i&&i.offsetRadius||20,v=a.map(function(m,w){var h=(m.startAngle+m.endAngle)/2,g=he(m.cx,m.cy,m.outerRadius+p,h),y=De(De(De(De({},d),m),{},{stroke:"none"},c),{},{index:w,textAnchor:t.getTextAnchor(g.x,m.cx)},g),S=De(De(De(De({},d),m),{},{fill:"none",stroke:m.fill},f),{},{index:w,points:[he(m.cx,m.cy,m.outerRadius,h),g]}),x=l;return(0,as.default)(l)&&(0,as.default)(u)?x="value":(0,as.default)(l)&&(x=u),Rt.default.createElement(ye,{key:"label-".concat(m.startAngle,"-").concat(m.endAngle,"-").concat(m.midAngle,"-").concat(w)},s&&t.renderLabelLineItem(s,S,"line"),t.renderLabelItem(i,y,Ht(m,x)))});return Rt.default.createElement(ye,{className:"recharts-pie-labels"},v)}},{key:"renderSectorsStatically",value:function(a){var n=this,o=this.props,i=o.activeShape,s=o.blendStroke,l=o.inactiveShape;return a.map(function(u,d){if(u?.startAngle===0&&u?.endAngle===0&&a.length!==1)return null;
73var c=n.isActiveIndex(d),f=l&&n.hasActiveIndex()?l:null,p=c?i:f,v=De(De({},u),{},{stroke:s?u.fill:u.stroke,tabIndex:-1});return Rt.default.createElement(ye,Su({ref:function(w){w&&!n.sectorRefs.includes(w)&&n.sectorRefs.push(w)},tabIndex:-1,className:"recharts-pie-sector"},ko(n.props,u,d),{key:"sector-".concat(u?.startAngle,"-").concat(u?.endAngle,"-").concat(u.midAngle,"-").concat(d)}),Rt.default.createElement(TU,Su({option:p,isActive:c,shapeType:"sector"},v)))})}},{key:"renderSectorsWithAnimation",value:function(){var a=this,n=this.props,o=n.sectors,i=n.isAnimationActive,s=n.animationBegin,l=n.animationDuration,u=n.animationEasing,d=n.animationId,c=this.state,f=c.prevSectors,p=c.prevIsAnimationActive;return Rt.default.createElement(Uo,{begin:s,duration:l,isActive:i,easing:u,from:{t:0},to:{t:1},key:"pie-".concat(d,"-").concat(p),onAnimationStart:this.handleAnimationStart,onAnimationEnd:this.handleAnimationEnd},function(v){var m=v.t,w=[],h=o&&o[0],g=h.startAngle;return o.forEach(function(y,S){var x=f&&f[S],b=S>0?(0,_U.default)(y,"paddingAngle",0):0;if(x){var C=a1(x.endAngle-x.startAngle,y.endAngle-y.startAngle),P=De(De({},y),{},{startAngle:g+b,endAngle:g+C(m)+b});w.push(P),g=P.endAngle}else{var O=y.endAngle,R=y.startAngle,N=a1(0,O-R),F=N(m),q=De(De({},y),{},{startAngle:g+b,endAngle:g+F+b});w.push(q),g=q.endAngle}}),Rt.default.createElement(ye,null,a.renderSectorsStatically(w))})}},{key:"attachKeyboardHandlers",value:function(a){var n=this;a.onkeydown=function(o){if(!o.altKey)switch(o.key){case"ArrowLeft":{var i=++n.state.sectorToFocus%n.sectorRefs.length;n.sectorRefs[i].focus(),n.setState({sectorToFocus:i});break}case"ArrowRight":{var s=--n.state.sectorToFocus<0?n.sectorRefs.length-1:n.state.sectorToFocus%n.sectorRefs.length;n.sectorRefs[s].focus(),n.setState({sectorToFocus:s});break}case"Escape":{n.sectorRefs[n.state.sectorToFocus].blur(),n.setState({sectorToFocus:0});break}default:}}}},{key:"renderSectors",value:function(){var a=this.props,n=a.sectors,o=a.isAnimationActive,i=this.state.prevSectors;return o&&n&&n.length&&(!i||!(0,NU.default)(i,n))?this.renderSectorsWithAnimation():this.renderSectorsStatically(n)}},{key:"componentDidMount",value:function(){this.pieRef&&this.attachKeyboardHandlers(this.pieRef)}},{key:"render",value:function(){var a=this,n=this.props,o=n.hide,i=n.sectors,s=n.className,l=n.label,u=n.cx,d=n.cy,c=n.innerRadius,f=n.outerRadius,p=n.isAnimationActive,v=this.state.isAnimationFinished;if(o||!i||!i.length||!X(u)||!X(d)||!X(c)||!X(f))return null;var m=ae("recharts-pie",s);return Rt.default.createElement(ye,{tabIndex:this.props.rootTabIndex,className:m,ref:function(h){a.pieRef=h}},this.renderSectors(),l&&this.renderLabels(i),Qe.renderCallByParent(this.props,null,!1),(!p||v)&&Bo.renderCallByParent(this.props,i,!1))}}],[{key:"getDerivedStateFromProps",value:function(a,n){return n.prevIsAnimationActive!==a.isAnimationActive?{prevIsAnimationActive:a.isAnimationActive,prevAnimationId:a.animationId,curSectors:a.sectors,prevSectors:[],isAnimationFinished:!0}:a.isAnimationActive&&a.animationId!==n.prevAnimationId?{prevAnimationId:a.animationId,curSectors:a.sectors,prevSectors:n.curSectors,isAnimationFinished:!0}:a.sectors!==n.curSectors?{curSectors:a.sectors,isAnimationFinished:!0}:null}},{key:"getTextAnchor",value:function(a,n){return a>n?"start":a<n?"end":"middle"}},{key:"renderLabelLineItem",value:function(a,n,o){if(Rt.default.isValidElement(a))return Rt.default.cloneElement(a,n);if((0,bu.default)(a))return a(n);var i=ae("recharts-pie-label-line",typeof a!="boolean"?a.className:"");return Rt.default.createElement(Qf,Su({},n,{key:o,type:"linear",className:i}))}},{key:"renderLabelItem",value:function(a,n,o){if(Rt.default.isValidElement(a))return Rt.default.cloneElement(a,n);var i=o;if((0,bu.default)(a)&&(i=a(n),Rt.default.isValidElement(i)))return i;var s=ae("recharts-pie-label-text",typeof a!="boolean"&&!(0,bu.default)(a)?a.className:"");return Rt.default.createElement(ba,Su({},n,{alignmentBaseline:"middle",className:s}),i)}}])}(Rt.PureComponent);Py=ea;Jr(ea,"displayName","Pie");Jr(ea,"defaultProps",{stroke:"#fff",fill:"#808080",legendType:"rect",cx:"50%",cy:"50%",startAngle:0,endAngle:360,innerRadius:0,outerRadius:"80%",paddingAngle:0,labelLine:!0,hide:!1,minA
vendor: 1,261 bytes, line 73
73ngle:0,isAnimationActive:!wa.isSsr,animationBegin:400,animationDuration:1500,animationEasing:"ease",nameKey:"name",blendStroke:!1,rootTabIndex:0});Jr(ea,"parseDeltaAngle",function(e,t){var r=qt(t-e),a=Math.min(Math.abs(t-e),360);return r*a});Jr(ea,"getRealPieData",function(e){var t=e.data,r=e.children,a=re(e,!1),n=zt(r,zl);return t&&t.length?t.map(function(o,i){return De(De(De({payload:o},a),o),n&&n[i]&&n[i].props)}):n&&n.length?n.map(function(o){return De(De({},a),o.props)}):[]});Jr(ea,"parseCoordinateOfPie",function(e,t){var r=t.top,a=t.left,n=t.width,o=t.height,i=zC(n,o),s=a+xt(e.cx,n,n/2),l=r+xt(e.cy,o,o/2),u=xt(e.innerRadius,i,0),d=xt(e.outerRadius,i,i*.8),c=e.maxRadius||Math.sqrt(n*n+o*o)/2;return{cx:s,cy:l,innerRadius:u,outerRadius:d,maxRadius:c}});Jr(ea,"getComposedData",function(e){var t=e.item,r=e.offset,a=t.type.defaultProps!==void 0?De(De({},t.type.defaultProps),t.props):t.props,n=Py.getRealPieData(a);if(!n||!n.length)return null;var o=a.cornerRadius,i=a.startAngle,s=a.endAngle,l=a.paddingAngle,u=a.dataKey,d=a.nameKey,c=a.valueKey,f=a.tooltipType,p=Math.abs(a.minAngle),v=Py.parseCoordinateOfPie(a,r),m=Py.parseDeltaAngle(i,s),w=Math.abs(m),h=u;(0,as.default)(u)&&(0,as.default)(c)?(Qt(!1,`Use "dataKey" to specify the value of pie,
74      the props "valueKey" will be deprecated in 1.1.0`),h="value"):(0,as.default)(u)&&(Qt(!1,`Use "dataKey" to specify the value of pie,
75      the props "valueKey" will be deprecated in 1.1.0`),h=c);var g=n.filter(function(P){return Ht(P,h,0)!==0}).length,y=(w>=360?g:g-1)*l,S=w-g*p-y,x=n.reduce(function(P,O){var R=Ht(O,h,0);return P+(X(R)?R:0)},0),b;if(x>0){var C;b=n.map(function(P,O){var R=Ht(P,h,0),N=Ht(P,d,O),F=(X(R)?R:0)/x,q;O?q=C.endAngle+qt(m)*l*(R!==0?1:0):q=i;var H=q+qt(m)*((R!==0?p:0)+F*S),z=(q+H)/2,L=(v.innerRadius+v.outerRadius)/2,I=[{name:N,value:R,payload:P,dataKey:h,type:f}],A=he(v.cx,v.cy,L,z);return C=De(De(De({percent:F,cornerRadius:o,name:N,tooltipPayload:I,midAngle:z,middleRadius:L,tooltipPosition:A},P),v),{},{value:Ht(P,h),startAngle:q,endAngle:H,payload:P,paddingAngle:qt(m)*l}),C})}return De(De({},v),{},{sectors:b,data:n})});var lt=D(K());var xL=D(dt()),JU=D(gL());function pp(e){"@babel/helpers - typeof";return pp=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},pp(e)}function HU(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable})),r.push.apply(r,a)}return r}function WU(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?HU(Object(r),!0).forEach(function(a){GU(e,a,r[a])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):HU(Object(r)).forEach(function(a){Object.defineProperty(e,a,Object.getOwnPropertyDescriptor(r,a))})}return e}function GU(e,t,r){return t=Cfe(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Cfe(e){var t=Lfe(e,"string");return pp(t)=="symbol"?t:t+""}function Lfe(e,t){if(pp(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var a=r.call(e,t||"default");if(pp(a)!="object")return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var Ife=["Webkit","Moz","O","ms"],$U=function(t,r){if(!t)return null;var a=t.replace(/(\w)/,function(o){return o.toUpperCase()}),n=Ife.reduce(function(o,i){return WU(WU({},o),{},GU({},i+a,r))},{});return n[t]=r,n};function Lu(e){"@babel/helpers - typeof";return Lu=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Lu(e)}function Ay(){return Ay=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var a in r)Object.prototype.hasOwnProperty.call(r,a)&&(e[a]=r[a])}return e},Ay.apply(this,arguments)}function XU(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable})),r.push.apply(r,a)}return r}function vL(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?XU(Object(r),!0).forEach(function(a){Ar(e,a,r[a])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):XU(Object(r)).forEach(function(a){Object.defineProperty(e,a,Object.getOwnPropertyDescriptor(r,a))})}return e}function Pfe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function KU(e,t){for(var r=0;r<t.length;r++){var a=t[r];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,ZU(a.key),a)}}function kfe(e,t,r){return t&&KU(e.prototype,t),r&&KU(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function Afe(e,t,r){return t=Ty(t),Tfe(e,QU()?Reflect.construct(t,r||[],Ty(e).constructor):t.apply(e,r))}function Tfe(e,t){if(t&&(Lu(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return Efe(e)}function Efe(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function QU(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(QU=function(){return!!e})()}
vendor: 5,269 bytes, line 75
75function Ty(e){return Ty=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},Ty(e)}function Ofe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&yL(e,t)}function yL(e,t){return yL=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(a,n){return a.__proto__=n,a},yL(e,t)}function Ar(e,t,r){return t=ZU(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ZU(e){var t=Mfe(e,"string");return Lu(t)=="symbol"?t:t+""}function Mfe(e,t){if(Lu(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var a=r.call(e,t||"default");if(Lu(a)!="object")return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var Rfe=function(t){var r=t.data,a=t.startIndex,n=t.endIndex,o=t.x,i=t.width,s=t.travellerWidth;if(!r||!r.length)return{};var l=r.length,u=Mo().domain((0,JU.default)(0,l)).range([o,o+i-s]),d=u.domain().map(function(c){return u(c)});return{isTextActive:!1,isSlideMoving:!1,isTravellerMoving:!1,isTravellerFocused:!1,startX:u(a),endX:u(n),scale:u,scaleValues:d}},YU=function(t){return t.changedTouches&&!!t.changedTouches.length},ns=function(e){function t(r){var a;return Pfe(this,t),a=Afe(this,t,[r]),Ar(a,"handleDrag",function(n){a.leaveTimer&&(clearTimeout(a.leaveTimer),a.leaveTimer=null),a.state.isTravellerMoving?a.handleTravellerMove(n):a.state.isSlideMoving&&a.handleSlideDrag(n)}),Ar(a,"handleTouchMove",function(n){n.changedTouches!=null&&n.changedTouches.length>0&&a.handleDrag(n.changedTouches[0])}),Ar(a,"handleDragEnd",function(){a.setState({isTravellerMoving:!1,isSlideMoving:!1},function(){var n=a.props,o=n.endIndex,i=n.onDragEnd,s=n.startIndex;i?.({endIndex:o,startIndex:s})}),a.detachDragEndListener()}),Ar(a,"handleLeaveWrapper",function(){(a.state.isTravellerMoving||a.state.isSlideMoving)&&(a.leaveTimer=window.setTimeout(a.handleDragEnd,a.props.leaveTimeOut))}),Ar(a,"handleEnterSlideOrTraveller",function(){a.setState({isTextActive:!0})}),Ar(a,"handleLeaveSlideOrTraveller",function(){a.setState({isTextActive:!1})}),Ar(a,"handleSlideDragStart",function(n){var o=YU(n)?n.changedTouches[0]:n;a.setState({isTravellerMoving:!1,isSlideMoving:!0,slideMoveStartX:o.pageX}),a.attachDragEndListener()}),a.travellerDragStartHandlers={startX:a.handleTravellerDragStart.bind(a,"startX"),endX:a.handleTravellerDragStart.bind(a,"endX")},a.state={},a}return Ofe(t,e),kfe(t,[{key:"componentWillUnmount",value:function(){this.leaveTimer&&(clearTimeout(this.leaveTimer),this.leaveTimer=null),this.detachDragEndListener()}},{key:"getIndex",value:function(a){var n=a.startX,o=a.endX,i=this.state.scaleValues,s=this.props,l=s.gap,u=s.data,d=u.length-1,c=Math.min(n,o),f=Math.max(n,o),p=t.getIndexInRange(i,c),v=t.getIndexInRange(i,f);return{startIndex:p-p%l,endIndex:v===d?d:v-v%l}}},{key:"getTextOfTick",value:function(a){var n=this.props,o=n.data,i=n.tickFormatter,s=n.dataKey,l=Ht(o[a],s,a);return(0,xL.default)(i)?i(l,a):l}},{key:"attachDragEndListener",value:function(){window.addEventListener("mouseup",this.handleDragEnd,!0),window.addEventListener("touchend",this.handleDragEnd,!0),window.addEventListener("mousemove",this.handleDrag,!0)}},{key:"detachDragEndListener",value:function(){window.removeEventListener("mouseup",this.handleDragEnd,!0),window.removeEventListener("touchend",this.handleDragEnd,!0),window.removeEventListener("mousemove",this.handleDrag,!0)}},{key:"handleSlideDrag",value:function(a){var n=this.state,o=n.slideMoveStartX,i=n.startX,s=n.endX,l=this.props,u=l.x,d=l.width,c=l.travellerWidth,f=l.startIndex,p=l.endIndex,v=l.onChange,m=a.pageX-o;m>0?m=Math.min(m,u+d-c-s,u+d-c-i):m<0&&(m=Math.max(m,u-i,u-s));var w=this.getIndex({startX:i+m,endX:s+m});(w.startIndex!==f||w.endIndex!==p)&&v&&v(w),this.setState({startX:i+m,endX:s+m,slideMoveStartX:a.pageX})}},{key:"handleTravellerDragStart",value:function(a,n){var o=YU(n)?n.changedTouches[0]:n;this.setState({isSlideMoving:!1,isTravellerMoving:!0,movingTravellerId:a,brushMoveStartX:o.pageX}),this.attachDragEndListener()}},{key:"handleTravellerMove",value:function(a){var n=this.state,o=n.brushMoveStartX,i=n.movingTravellerId,s=n.endX,l=n.startX,u=this.state[i],d=this.props,c=d.x,f=d.width,p=d.travellerWidth,v=d.onChange,m=d.gap,w=d.data,h={startX:this.state.startX,endX:this.state.endX},g=a.pageX-o;g>0?g=Math.min(g,c+f-p-u):g<0&&(g=Math.max(g,c-u)),h[i]=u+g;var y=this.getIndex(h),S=y.startIndex,x=y.endIndex,b=function(){var P=w.length-1;return i==="startX"&&(s>l?S%m===0:x%m===0)||s<l&&x===P||i==="endX"&&(s>l?x%m===0:S%m===0)||s>l&&x===P};this.setState(Ar(Ar({},i,u+g),"brushMoveStartX",a.pageX),function(){v&&b()&&v(y)})}},{key:"handleTravellerMoveKeyboard",value:function(a,n){var o=this,i=this.state,s=i.scaleValues,l=i.startX,u=i.endX,d=this.state[n],c=s.indexOf(d);if(c!==-1){var f=c+a;if(!(f===-1||f>=s.length)){var p=s[f];n==="startX"&&p>=u||n==="endX"&&p<=l||this.setState(Ar({},n,p),function(){o.props.onChange(o.getIndex({startX:o.state.startX,endX:o.state.endX}))})}}}}
75,{key:"renderBackground",value:function(){var a=this.props,n=a.x,o=a.y,i=a.width,s=a.height,l=a.fill,u=a.stroke;return lt.default.createElement("rect",{stroke:u,fill:l,x:n,y:o,width:i,height:s})}},{key:"renderPanorama",value:function(){var a=this.props,n=a.x,o=a.y,i=a.width,s=a.height,l=a.data,u=a.children,d=a.padding,c=lt.Children.only(u);return c?lt.default.cloneElement(c,{x:n,y:o,width:i,height:s,margin:d,compact:!0,data:l}):null}},{key:"renderTravellerLayer",value:function(a,n){var o,i,s=this,l=this.props,u=l.y,d=l.travellerWidth,c=l.height,f=l.traveller,p=l.ariaLabel,v=l.data,m=l.startIndex,w=l.endIndex,h=Math.max(a,this.props.x),g=vL(vL({},re(this.props,!1)),{},{x:h,y:u,width:d,height:c}),y=p||"Min value: ".concat((o=v[m])===null||o===void 0?void 0:o.name,", Max value: ").concat((i=v[w])===null||i===void 0?void 0:i.name);return lt.default.createElement(ye,{tabIndex:0,role:"slider","aria-label":y,"aria-valuenow":a,className:"recharts-brush-traveller",onMouseEnter:this.handleEnterSlideOrTraveller,onMouseLeave:this.handleLeaveSlideOrTraveller,onMouseDown:this.travellerDragStartHandlers[n],onTouchStart:this.travellerDragStartHandlers[n],onKeyDown:function(x){["ArrowLeft","ArrowRight"].includes(x.key)&&(x.preventDefault(),x.stopPropagation(),s.handleTravellerMoveKeyboard(x.key==="ArrowRight"?1:-1,n))},onFocus:function(){s.setState({isTravellerFocused:!0})},onBlur:function(){s.setState({isTravellerFocused:!1})},style:{cursor:"col-resize"}},t.renderTraveller(f,g))}},{key:"renderSlide",value:function(a,n){var o=this.props,i=o.y,s=o.height,l=o.stroke,u=o.travellerWidth,d=Math.min(a,n)+u,c=Math.max(Math.abs(n-a)-u,0);return lt.default.createElement("rect",{className:"recharts-brush-slide",onMouseEnter:this.handleEnterSlideOrTraveller,onMouseLeave:this.handleLeaveSlideOrTraveller,onMouseDown:this.handleSlideDragStart,onTouchStart:this.handleSlideDragStart,style:{cursor:"move"},stroke:"none",fill:l,fillOpacity:.2,x:d,y:i,width:c,height:s})}},{key:"renderText",value:function(){var a=this.props,n=a.startIndex,o=a.endIndex,i=a.y,s=a.height,l=a.travellerWidth,u=a.stroke,d=this.state,c=d.startX,f=d.endX,p=5,v={pointerEvents:"none",fill:u};return lt.default.createElement(ye,{className:"recharts-brush-texts"},lt.default.createElement(ba,Ay({textAnchor:"end",verticalAnchor:"middle",x:Math.min(c,f)-p,y:i+s/2},v),this.getTextOfTick(n)),lt.default.createElement(ba,Ay({textAnchor:"start",verticalAnchor:"middle",x:Math.max(c,f)+l+p,y:i+s/2},v),this.getTextOfTick(o)))}},{key:"render",value:function(){var a=this.props,n=a.data,o=a.className,i=a.children,s=a.x,l=a.y,u=a.width,d=a.height,c=a.alwaysShowText,f=this.state,p=f.startX,v=f.endX,m=f.isTextActive,w=f.isSlideMoving,h=f.isTravellerMoving,g=f.isTravellerFocused;if(!n||!n.length||!X(s)||!X(l)||!X(u)||!X(d)||u<=0||d<=0)return null;var y=ae("recharts-brush",o),S=lt.default.Children.count(i)===1,x=$U("userSelect","none");return lt.default.createElement(ye,{className:y,onMouseLeave:this.handleLeaveWrapper,onTouchMove:this.handleTouchMove,style:x},this.renderBackground(),S&&this.renderPanorama(),this.renderSlide(p,v),this.renderTravellerLayer(p,"startX"),this.renderTravellerLayer(v,"endX"),(m||w||h||g||c)&&this.renderText())}}],[{key:"renderDefaultTraveller",value:function(a){var n=a.x,o=a.y,i=a.width,s=a.height,l=a.stroke,u=Math.floor(o+s/2)-1;return lt.default.createElement(lt.default.Fragment,null,lt.default.createElement("rect",{x:n,y:o,width:i,height:s,fill:l,stroke:"none"}),lt.default.createElement("line",{x1:n+1,y1:u,x2:n+i-1,y2:u,fill:"none",stroke:"#fff"}),lt.default.createElement("line",{x1:n+1,y1:u+2,x2:n+i-1,y2:u+2,fill:"none",stroke:"#fff"}))}},{key:"renderTraveller",value:function(a,n){var o;return lt.default.isValidElement(a)?o=lt.default.cloneElement(a,n):(0,xL.default)(a)?o=a(n):o=t.renderDefaultTraveller(n),o}},{key:"getDerivedStateFromProps",value:function(a,n){var o=a.data,i=a.width,s=a.x,l=a.travellerWidth,u=a.updateId,d=a.startIndex,c=a.endIndex;if(o!==n.prevData||u!==n.prevUpdateId)return vL({prevData:o,prevTravellerWidth:l,prevUpdateId:u,prevX:s,prevWidth:i},o&&o.length?Rfe({data:o,width:i,x:s,travellerWidth:l,startIndex:d,endIndex:c}):{scale:null,scaleValues:null});if(n.scale&&(i!==n.prevWidth||s!==n.prevX||l!==n.prevTravellerWidth)){n.scale.range([s,s+i-l]);var f=n.scale.domain().map(function(p){return n.scale(p)});return{prevData:o,prevTravellerWidth:l,prevUpdateId:u,prevX:s,prevWidth:i,startX:n.scale(a.startIndex),endX:n.scale(a.endIndex),scaleValues:f}}return null}},{key:"getIndexInRange",value:function(a,n){for(var o=a.length,i=0,s=o-1;s-i>1;){var l=Math.floor((i+s)/2);a[l]>n?s=l:i=l}return n>=a[s]?s:i}}])}(lt.PureComponent);
75Ar(ns,"displayName","Brush");Ar(ns,"defaultProps",{height:40,travellerWidth:5,gap:1,fill:"#fff",stroke:"#666",padding:{top:1,right:1,bottom:1,left:1},leaveTimeOut:1e3,alwaysShowText:!1});var os=D(K()),WV=D(dt()),GV=D(aV());var fr=function(t,r){var a=t.alwaysShow,n=t.ifOverflow;return a&&(n="extendDomain"),n===r};var vV=D(lV()),yV=D(wL());function mp(e){"@babel/helpers - typeof";return mp=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},mp(e)}function rpe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function mV(e,t){for(var r=0;r<t.length;r++){var a=t[r];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,gV(a.key),a)}}function ape(e,t,r){return t&&mV(e.prototype,t),r&&mV(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function hV(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable})),r.push.apply(r,a)}return r}function Ey(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?hV(Object(r),!0).forEach(function(a){bL(e,a,r[a])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):hV(Object(r)).forEach(function(a){Object.defineProperty(e,a,Object.getOwnPropertyDescriptor(r,a))})}return e}function bL(e,t,r){return t=gV(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function gV(e){var t=npe(e,"string");return mp(t)=="symbol"?t:t+""}function npe(e,t){if(mp(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var a=r.call(e,t||"default");if(mp(a)!="object")return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var SL=function(t,r){var a=t.x,n=t.y,o=r.x,i=r.y;return{x:Math.min(a,o),y:Math.min(n,i),width:Math.abs(o-a),height:Math.abs(i-n)}},xV=function(t){var r=t.x1,a=t.y1,n=t.x2,o=t.y2;return SL({x:r,y:a},{x:n,y:o})},wV=function(){function e(t){rpe(this,e),this.scale=t}return ape(e,[{key:"domain",get:function(){return this.scale.domain}},{key:"range",get:function(){return this.scale.range}},{key:"rangeMin",get:function(){return this.range()[0]}},{key:"rangeMax",get:function(){return this.range()[1]}},{key:"bandwidth",get:function(){return this.scale.bandwidth}},{key:"apply",value:function(r){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=a.bandAware,o=a.position;if(r!==void 0){if(o)switch(o){case"start":return this.scale(r);case"middle":{var i=this.bandwidth?this.bandwidth()/2:0;return this.scale(r)+i}case"end":{var s=this.bandwidth?this.bandwidth():0;return this.scale(r)+s}default:return this.scale(r)}if(n){var l=this.bandwidth?this.bandwidth()/2:0;return this.scale(r)+l}return this.scale(r)}}},{key:"isInRange",value:function(r){var a=this.range(),n=a[0],o=a[a.length-1];return n<=o?r>=n&&r<=o:r>=o&&r<=n}}],[{key:"create",value:function(r){return new e(r)}}])}();bL(wV,"EPS",1e-4);var Iu=function(t){var r=Object.keys(t).reduce(function(a,n){return Ey(Ey({},a),{},bL({},n,wV.create(t[n])))},{});return Ey(Ey({},r),{},{apply:function(n){var o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i=o.bandAware,s=o.position;return(0,vV.default)(n,function(l,u){return r[u].apply(l,{bandAware:i,position:s})})},isInRange:function(n){return(0,yV.default)(n,function(o,i){return r[i].isInRange(o)})}})};var ut=D(K());var xpe=D(AV()),wpe=D(wL());var TV=D(Kb()),EV=(0,TV.default)(function(e){return{x:e.left,y:e.top,width:e.width,height:e.height}},function(e){return["l",e.left,"t",e.top,"w",e.width,"h",e.height].join("")});var OV=(0,ut.createContext)(void 0),MV=(0,ut.createContext)(void 0),RV=(0,ut.createContext)(void 0),bpe=(0,ut.createContext)({}),DV=(0,ut.createContext)(void 0),Spe=(0,ut.createContext)(0),Cpe=(0,ut.createContext)(0),CL=function(t){var r=t.state,a=r.xAxisMap,n=r.yAxisMap,o=r.offset,i=t.clipPathId,s=t.children,l=t.width,u=t.height,d=EV(o);return ut.default.createElement(OV.Provider,{value:a},ut.default.createElement(MV.Provider,{value:n},ut.default.createElement(bpe.Provider,{value:o},ut.default.createElement(RV.Provider,{value:d},ut.default.createElement(DV.Provider,{value:i},ut.default.createElement(Spe.Provider,{value:u},ut.default.createElement(Cpe.Provider,{value:l},s)))))))},_V=function(){return(0,ut.useContext)(DV)};var NV=function(t){var r=(0,ut.useContext)(OV);r==null&&Fn(!1);var a=r[t];return a==null&&Fn(!1),a};var FV=function(t){var r=(0,ut.useContext)(MV);r==null&&Fn(!1);var a=r[t];return a==null&&Fn(!1),a},BV=function(){var t=(0,ut.useContext)(RV);return t};function Pu(e){"@babel/helpers - typeof";return Pu=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Pu(e)}function Lpe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function jV(e,t){for(var r=0;r<t.length;r++){var a=t[r];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,HV(a.key),a)}}function Ipe(e,t,r){return t&&jV(e.prototype,t),r&&jV(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function Ppe(e,t,r){return t=Oy(t),kpe(e,zV()?Reflect.construct(t,r||[],Oy(e).constructor):t.apply(e,r))}function kpe(e,t){if(t&&(Pu(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return Ape(e)}function Ape(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function zV(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(zV=function(){return!!e})()}
75function Oy(e){return Oy=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},Oy(e)}function Tpe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&LL(e,t)}function LL(e,t){return LL=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(a,n){return a.__proto__=n,a},LL(e,t)}function UV(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable})),r.push.apply(r,a)}return r}function VV(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?UV(Object(r),!0).forEach(function(a){PL(e,a,r[a])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):UV(Object(r)).forEach(function(a){Object.defineProperty(e,a,Object.getOwnPropertyDescriptor(r,a))})}return e}function PL(e,t,r){return t=HV(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function HV(e){var t=Epe(e,"string");return Pu(t)=="symbol"?t:t+""}function Epe(e,t){if(Pu(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var a=r.call(e,t||"default");if(Pu(a)!="object")return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function Ope(e,t){return _pe(e)||Dpe(e,t)||Rpe(e,t)||Mpe()}function Mpe(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
76In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Rpe(e,t){if(e){if(typeof e=="string")return qV(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(e);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return qV(e,t)}}function qV(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,a=new Array(t);r<t;r++)a[r]=e[r];return a}function Dpe(e,t){var r=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(r!=null){var a,n,o,i,s=[],l=!0,u=!1;try{if(o=(r=r.call(e)).next,t===0){if(Object(r)!==r)return;l=!1}else for(;!(l=(a=o.call(r)).done)&&(s.push(a.value),s.length!==t);l=!0);}catch(d){u=!0,n=d}finally{try{if(!l&&r.return!=null&&(i=r.return(),Object(i)!==i))return}finally{if(u)throw n}}return s}}function _pe(e){if(Array.isArray(e))return e}function IL(){return IL=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var a in r)Object.prototype.hasOwnProperty.call(r,a)&&(e[a]=r[a])}return e},IL.apply(this,arguments)}var Npe=function(t,r){var a;return os.default.isValidElement(t)?a=os.default.cloneElement(t,r):(0,WV.default)(t)?a=t(r):a=os.default.createElement("line",IL({},r,{className:"recharts-reference-line-line"})),a},Fpe=function(t,r,a,n,o,i,s,l,u){var d=o.x,c=o.y,f=o.width,p=o.height;if(a){var v=u.y,m=t.y.apply(v,{position:i});if(fr(u,"discard")&&!t.y.isInRange(m))return null;var w=[{x:d+f,y:m},{x:d,y:m}];return l==="left"?w.reverse():w}if(r){var h=u.x,g=t.x.apply(h,{position:i});if(fr(u,"discard")&&!t.x.isInRange(g))return null;var y=[{x:g,y:c+p},{x:g,y:c}];return s==="top"?y.reverse():y}if(n){var S=u.segment,x=S.map(function(b){return t.apply(b,{position:i})});return fr(u,"discard")&&(0,GV.default)(x,function(b){return!t.isInRange(b)})?null:x}return null};function Bpe(e){var t=e.x,r=e.y,a=e.segment,n=e.xAxisId,o=e.yAxisId,i=e.shape,s=e.className,l=e.alwaysShow,u=_V(),d=NV(n),c=FV(o),f=BV();if(!u||!f)return null;Qt(l===void 0,'The alwaysShow prop is deprecated. Please use ifOverflow="extendDomain" instead.');var p=Iu({x:d.scale,y:c.scale}),v=Re(t),m=Re(r),w=a&&a.length===2,h=Fpe(p,v,m,w,f,e.position,d.orientation,c.orientation,e);if(!h)return null;var g=Ope(h,2),y=g[0],S=y.x,x=y.y,b=g[1],C=b.x,P=b.y,O=fr(e,"hidden")?"url(#".concat(u,")"):void 0,R=VV(VV({clipPath:O},re(e,!0)),{},{x1:S,y1:x,x2:C,y2:P});return os.default.createElement(ye,{className:ae("recharts-reference-line",s)},Npe(i,R),Qe.renderCallByParent(e,xV({x1:S,y1:x,x2:C,y2:P})))}var My=function(e){function t(){return Lpe(this,t),Ppe(this,t,arguments)}return Tpe(t,e),Ipe(t,[{key:"render",value:function(){return os.default.createElement(Bpe,this.props)}}])}(os.default.Component);PL(My,"displayName","ReferenceLine");PL(My,"defaultProps",{isFront:!1,ifOverflow:"discard",xAxisId:0,yAxisId:0,fill:"none",stroke:"#ccc",fillOpacity:1,strokeWidth:1,position:"middle"});var ku=D(K()),ZV=D(dt());function kL(){return kL=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var a in r)Object.prototype.hasOwnProperty.call(r,a)&&(e[a]=r[a])}return e},kL.apply(this,arguments)}function Au(e){"@babel/helpers - typeof";return Au=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Au(e)}function $V(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable})),r.push.apply(r,a)}return r}function XV(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};
76t%2?$V(Object(r),!0).forEach(function(a){Dy(e,a,r[a])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):$V(Object(r)).forEach(function(a){Object.defineProperty(e,a,Object.getOwnPropertyDescriptor(r,a))})}return e}function jpe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function KV(e,t){for(var r=0;r<t.length;r++){var a=t[r];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,QV(a.key),a)}}function Upe(e,t,r){return t&&KV(e.prototype,t),r&&KV(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function Vpe(e,t,r){return t=Ry(t),qpe(e,YV()?Reflect.construct(t,r||[],Ry(e).constructor):t.apply(e,r))}function qpe(e,t){if(t&&(Au(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return zpe(e)}function zpe(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function YV(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(YV=function(){return!!e})()}function Ry(e){return Ry=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},Ry(e)}function Hpe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&AL(e,t)}function AL(e,t){return AL=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(a,n){return a.__proto__=n,a},AL(e,t)}function Dy(e,t,r){return t=QV(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function QV(e){var t=Wpe(e,"string");return Au(t)=="symbol"?t:t+""}function Wpe(e,t){if(Au(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var a=r.call(e,t||"default");if(Au(a)!="object")return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var Gpe=function(t){var r=t.x,a=t.y,n=t.xAxis,o=t.yAxis,i=Iu({x:n.scale,y:o.scale}),s=i.apply({x:r,y:a},{bandAware:!0});return fr(t,"discard")&&!i.isInRange(s)?null:s},hp=function(e){function t(){return jpe(this,t),Vpe(this,t,arguments)}return Hpe(t,e),Upe(t,[{key:"render",value:function(){var a=this.props,n=a.x,o=a.y,i=a.r,s=a.alwaysShow,l=a.clipPathId,u=Re(n),d=Re(o);if(Qt(s===void 0,'The alwaysShow prop is deprecated. Please use ifOverflow="extendDomain" instead.'),!u||!d)return null;var c=Gpe(this.props);if(!c)return null;var f=c.x,p=c.y,v=this.props,m=v.shape,w=v.className,h=fr(this.props,"hidden")?"url(#".concat(l,")"):void 0,g=XV(XV({clipPath:h},re(this.props,!0)),{},{cx:f,cy:p});return ku.default.createElement(ye,{className:ae("recharts-reference-dot",w)},t.renderDot(m,g),Qe.renderCallByParent(this.props,{x:f-i,y:p-i,width:2*i,height:2*i}))}}])}(ku.default.Component);Dy(hp,"displayName","ReferenceDot");Dy(hp,"defaultProps",{isFront:!1,ifOverflow:"discard",xAxisId:0,yAxisId:0,r:10,fill:"#fff",stroke:"#ccc",fillOpacity:1,strokeWidth:1});Dy(hp,"renderDot",function(e,t){var r;return ku.default.isValidElement(e)?r=ku.default.cloneElement(e,t):(0,ZV.default)(e)?r=e(t):r=ku.default.createElement(vu,kL({},t,{cx:t.cx,cy:t.cy,className:"recharts-reference-dot-dot"})),r});var Tu=D(K()),nq=D(dt());function TL(){return TL=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var a in r)Object.prototype.hasOwnProperty.call(r,a)&&(e[a]=r[a])}return e},TL.apply(this,arguments)}function Eu(e){"@babel/helpers - typeof";return Eu=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Eu(e)}function JV(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable})),r.push.apply(r,a)}return r}function eq(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};
vendor: 7,181 bytes, lines 76-77
76t%2?JV(Object(r),!0).forEach(function(a){Ny(e,a,r[a])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):JV(Object(r)).forEach(function(a){Object.defineProperty(e,a,Object.getOwnPropertyDescriptor(r,a))})}return e}function $pe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function tq(e,t){for(var r=0;r<t.length;r++){var a=t[r];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,aq(a.key),a)}}function Xpe(e,t,r){return t&&tq(e.prototype,t),r&&tq(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function Kpe(e,t,r){return t=_y(t),Ype(e,rq()?Reflect.construct(t,r||[],_y(e).constructor):t.apply(e,r))}function Ype(e,t){if(t&&(Eu(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return Qpe(e)}function Qpe(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function rq(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(rq=function(){return!!e})()}function _y(e){return _y=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},_y(e)}function Zpe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&EL(e,t)}function EL(e,t){return EL=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(a,n){return a.__proto__=n,a},EL(e,t)}function Ny(e,t,r){return t=aq(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function aq(e){var t=Jpe(e,"string");return Eu(t)=="symbol"?t:t+""}function Jpe(e,t){if(Eu(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var a=r.call(e,t||"default");if(Eu(a)!="object")return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var eme=function(t,r,a,n,o){var i=o.x1,s=o.x2,l=o.y1,u=o.y2,d=o.xAxis,c=o.yAxis;if(!d||!c)return null;var f=Iu({x:d.scale,y:c.scale}),p={x:t?f.x.apply(i,{position:"start"}):f.x.rangeMin,y:a?f.y.apply(l,{position:"start"}):f.y.rangeMin},v={x:r?f.x.apply(s,{position:"end"}):f.x.rangeMax,y:n?f.y.apply(u,{position:"end"}):f.y.rangeMax};return fr(o,"discard")&&(!f.isInRange(p)||!f.isInRange(v))?null:SL(p,v)},gp=function(e){function t(){return $pe(this,t),Kpe(this,t,arguments)}return Zpe(t,e),Xpe(t,[{key:"render",value:function(){var a=this.props,n=a.x1,o=a.x2,i=a.y1,s=a.y2,l=a.className,u=a.alwaysShow,d=a.clipPathId;Qt(u===void 0,'The alwaysShow prop is deprecated. Please use ifOverflow="extendDomain" instead.');var c=Re(n),f=Re(o),p=Re(i),v=Re(s),m=this.props.shape;if(!c&&!f&&!p&&!v&&!m)return null;var w=eme(c,f,p,v,this.props);if(!w&&!m)return null;var h=fr(this.props,"hidden")?"url(#".concat(d,")"):void 0;return Tu.default.createElement(ye,{className:ae("recharts-reference-area",l)},t.renderRect(m,eq(eq({clipPath:h},re(this.props,!0)),w)),Qe.renderCallByParent(this.props,w))}}])}(Tu.default.Component);Ny(gp,"displayName","ReferenceArea");Ny(gp,"defaultProps",{isFront:!1,ifOverflow:"discard",xAxisId:0,yAxisId:0,r:10,fill:"#ccc",fillOpacity:.5,stroke:"none",strokeWidth:1});Ny(gp,"renderRect",function(e,t){var r;return Tu.default.isValidElement(e)?r=Tu.default.cloneElement(e,t):(0,nq.default)(e)?r=e(t):r=Tu.default.createElement(mu,TL({},t,{className:"recharts-reference-area-rect"})),r});var be=D(K()),Ru=D(va()),Pa=D(dt()),Wy=D(gL()),Du=D(Ti()),kq=D(iv()),Aq=D(DS());function oq(e){return nme(e)||ame(e)||rme(e)||tme()}function tme(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
77In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function rme(e,t){if(e){if(typeof e=="string")return OL(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(e);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return OL(e,t)}}function ame(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function nme(e){if(Array.isArray(e))return OL(e)}function OL(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,a=new Array(t);r<t;r++)a[r]=e[r];return a}var Fy=function(t,r,a,n,o){var i=zt(t,My),s=zt(t,hp),l=[].concat(oq(i),oq(s)),u=zt(t,gp),d="".concat(n,"Id"),c=n[0],f=r;if(l.length&&(f=l.reduce(function(m,w){if(w.props[d]===a&&fr(w.props,"extendDomain")&&X(w.props[c])){var h=w.props[c];return[Math.min(m[0],h),Math.max(m[1],h)]}return m},f)),u.length){var p="".concat(c,"1"),v="".concat(c,"2");f=u.reduce(function(m,w){if(w.props[d]===a&&fr(w.props,"extendDomain")&&X(w.props[p])&&X(w.props[v])){var h=w.props[p],g=w.props[v];return[Math.min(m[0],h,g),Math.max(m[1],h,g)]}return m},f)}return o&&o.length&&(f=o.reduce(function(m,w){return X(w)?[Math.min(m[0],w),Math.max(m[1],w)]:m},f)),f};var lq=D(sq()),jy=new lq.default;var Uy="recharts.syncMouseEvents";function yp(e){"@babel/helpers - typeof";return yp=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},yp(e)}function sme(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function uq(e,t){for(var r=0;r<t.length;r++){var a=t[r];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,cq(a.key),a)}}function lme(e,t,r){return t&&uq(e.prototype,t),r&&uq(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function RL(e,t,r){return t=cq(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function cq(e){var t=ume(e,"string");return yp(t)=="symbol"?t:t+""}function ume(e,t){if(yp(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var a=r.call(e,t||"default");if(yp(a)!="object")return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var dq=function(){function e(){sme(this,e),RL(this,"activeIndex",0),RL(this,"coordinateList",[]),RL(this,"layout","horizontal")}return lme(e,[{key:"setDetails",value:function(r){var a,n=r.coordinateList,o=n===void 0?null:n,i=r.container,s=i===void 0?null:i,l=r.layout,u=l===void 0?null:l,d=r.offset,c=d===void 0?null:d,f=r.mouseHandlerCallback,p=f===void 0?null:f;this.coordinateList=(a=o??this.coordinateList)!==null&&a!==void 0?a:[],this.container=s??this.container,this.layout=u??this.layout,this.offset=c??this.offset,this.mouseHandlerCallback=p??this.mouseHandlerCallback,this.activeIndex=Math.min(Math.max(this.activeIndex,0),this.coordinateList.length-1)}},{key:"focus",value:function(){this.spoofMouse()}},{key:"keyboardEvent",value:function(r){if(this.coordinateList.length!==0)switch(r.key){case"ArrowRight":{if
77(this.layout!=="horizontal")return;this.activeIndex=Math.min(this.activeIndex+1,this.coordinateList.length-1),this.spoofMouse();break}case"ArrowLeft":{if(this.layout!=="horizontal")return;this.activeIndex=Math.max(this.activeIndex-1,0),this.spoofMouse();break}default:break}}},{key:"setIndex",value:function(r){this.activeIndex=r}},{key:"spoofMouse",value:function(){var r,a;if(this.layout==="horizontal"&&this.coordinateList.length!==0){var n=this.container.getBoundingClientRect(),o=n.x,i=n.y,s=n.height,l=this.coordinateList[this.activeIndex].coordinate,u=((r=window)===null||r===void 0?void 0:r.scrollX)||0,d=((a=window)===null||a===void 0?void 0:a.scrollY)||0,c=o+l+u,f=i+this.offset.top+s/2+d;this.mouseHandlerCallback({pageX:c,pageY:f})}}}])}();function fq(e,t,r){if(r==="number"&&t===!0&&Array.isArray(e)){var a=e?.[0],n=e?.[1];if(a&&n&&X(a)&&X(n))return!0}return!1}var Ou=D(K());function pq(e,t,r,a){var n=a/2;return{stroke:"none",fill:"#ccc",x:e==="horizontal"?t.x-n:r.left+.5,y:e==="horizontal"?r.top+.5:t.y-n,width:e==="horizontal"?a:r.width-1,height:e==="horizontal"?r.height-1:a}}function Vy(e){var t=e.cx,r=e.cy,a=e.radius,n=e.startAngle,o=e.endAngle,i=he(t,r,a,n),s=he(t,r,a,o);return{points:[i,s],cx:t,cy:r,radius:a,startAngle:n,endAngle:o}}function mq(e,t,r){var a,n,o,i;if(e==="horizontal")a=t.x,o=a,n=r.top,i=r.top+r.height;else if(e==="vertical")n=t.y,i=n,a=r.left,o=r.left+r.width;else if(t.cx!=null&&t.cy!=null)if(e==="centric"){var s=t.cx,l=t.cy,u=t.innerRadius,d=t.outerRadius,c=t.angle,f=he(s,l,u,c),p=he(s,l,d,c);a=f.x,n=f.y,o=p.x,i=p.y}else return Vy(t);return[{x:a,y:n},{x:o,y:i}]}function xp(e){"@babel/helpers - typeof";return xp=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},xp(e)}function hq(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable})),r.push.apply(r,a)}return r}function qy(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?hq(Object(r),!0).forEach(function(a){cme(e,a,r[a])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):hq(Object(r)).forEach(function(a){Object.defineProperty(e,a,Object.getOwnPropertyDescriptor(r,a))})}return e}function cme(e,t,r){return t=dme(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function dme(e){var t=fme(e,"string");return xp(t)=="symbol"?t:t+""}function fme(e,t){if(xp(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var a=r.call(e,t||"default");if(xp(a)!="object")return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function gq(e){var t,r,a=e.element,n=e.tooltipEventType,o=e.isActive,i=e.activeCoordinate,s=e.activePayload,l=e.offset,u=e.activeTooltipIndex,d=e.tooltipAxisBandSize,c=e.layout,f=e.chartName,p=(t=a.props.cursor)!==null&&t!==void 0?t:(r=a.type.defaultProps)===null||r===void 0?void 0:r.cursor;if(!a||!p||!o||!i||f!=="ScatterChart"&&n!=="axis")return null;var v,m=Qf;if(f==="ScatterChart")v=i,m=G4;else if(f==="BarChart")v=pq(c,i,l,d),m=mu;else if(c==="radial"){var w=Vy(i),h=w.cx,g=w.cy,y=w.radius,S=w.startAngle,x=w.endAngle;v={cx:h,cy:g,startAngle:S,endAngle:x,innerRadius:y,outerRadius:y},m=dy}else v={points:mq(c,i,l)},m=Qf;var b=qy(qy(qy(qy({stroke:"#ccc",pointerEvents:"none"},l),v),re(p,!1)),{},{payload:s,payloadIndex:u,className:ae("recharts-tooltip-cursor",p.className)});return(0,Ou.isValidElement)(p)?(0,Ou.cloneElement)(p,b):(0,Ou.createElement)(m,b)}var pme=["item"],mme=["children","className","width","height","style","compact","title","desc"];function _u(e){"@babel/helpers - typeof";return _u=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},_u(e)}function Mu(){return Mu=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var a in r)Object.prototype.hasOwnProperty.call(r,a)&&(e[a]=r[a])}return e},Mu.apply(this,arguments)}function vq(e,t){return vme(e)||gme(e,t)||Iq(e,t)||hme()}
vendor: 19,500 bytes, lines 77-79
77function hme(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
78In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function gme(e,t){var r=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(r!=null){var a,n,o,i,s=[],l=!0,u=!1;try{if(o=(r=r.call(e)).next,t===0){if(Object(r)!==r)return;l=!1}else for(;!(l=(a=o.call(r)).done)&&(s.push(a.value),s.length!==t);l=!0);}catch(d){u=!0,n=d}finally{try{if(!l&&r.return!=null&&(i=r.return(),Object(i)!==i))return}finally{if(u)throw n}}return s}}function vme(e){if(Array.isArray(e))return e}function yq(e,t){if(e==null)return{};var r=yme(e,t),a,n;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)a=o[n],!(t.indexOf(a)>=0)&&Object.prototype.propertyIsEnumerable.call(e,a)&&(r[a]=e[a])}return r}function yme(e,t){if(e==null)return{};var r={};for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){if(t.indexOf(a)>=0)continue;r[a]=e[a]}return r}function xme(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function xq(e,t){for(var r=0;r<t.length;r++){var a=t[r];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,Pq(a.key),a)}}function wme(e,t,r){return t&&xq(e.prototype,t),r&&xq(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function bme(e,t,r){return t=Hy(t),Sme(e,Lq()?Reflect.construct(t,r||[],Hy(e).constructor):t.apply(e,r))}function Sme(e,t){if(t&&(_u(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return Cme(e)}function Cme(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Lq(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(Lq=function(){return!!e})()}function Hy(e){return Hy=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},Hy(e)}function Lme(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&DL(e,t)}function DL(e,t){return DL=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(a,n){return a.__proto__=n,a},DL(e,t)}function Nu(e){return kme(e)||Pme(e)||Iq(e)||Ime()}function Ime(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
79In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Iq(e,t){if(e){if(typeof e=="string")return _L(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(e);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return _L(e,t)}}function Pme(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function kme(e){if(Array.isArray(e))return _L(e)}function _L(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,a=new Array(t);r<t;r++)a[r]=e[r];return a}function wq(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable})),r.push.apply(r,a)}return r}function j(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?wq(Object(r),!0).forEach(function(a){ie(e,a,r[a])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):wq(Object(r)).forEach(function(a){Object.defineProperty(e,a,Object.getOwnPropertyDescriptor(r,a))})}return e}function ie(e,t,r){return t=Pq(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Pq(e){var t=Ame(e,"string");return _u(t)=="symbol"?t:t+""}function Ame(e,t){if(_u(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var a=r.call(e,t||"default");if(_u(a)!="object")return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var Tme={xAxis:["bottom","top"],yAxis:["left","right"]},Eme={width:"100%",height:"100%"},Tq={x:0,y:0};function zy(e){return e}var Ome=function(t,r){return r==="horizontal"?t.x:r==="vertical"?t.y:r==="centric"?t.angle:t.radius},Mme=function(t,r,a,n){var o=r.find(function(d){return d&&d.index===a});if(o){if(t==="horizontal")return{x:o.coordinate,y:n.y};if(t==="vertical")return{x:n.x,y:o.coordinate};if(t==="centric"){var i=o.coordinate,s=n.radius;return j(j(j({},n),he(n.cx,n.cy,s,i)),{},{angle:i,radius:s})}var l=o.coordinate,u=n.angle;return j(j(j({},n),he(n.cx,n.cy,l,u)),{},{angle:u,radius:l})}return Tq},Gy=function(t,r){var a=r.graphicalItems,n=r.dataStartIndex,o=r.dataEndIndex,i=(a??[]).reduce(function(s,l){var u=l.props.data;return u&&u.length?[].concat(Nu(s),Nu(u)):s},[]);return i.length>0?i:t&&t.length&&X(n)&&X(o)?t.slice(n,o+1):[]};function Eq(e){return e==="number"?[0,"auto"]:void 0}var NL=function(t,r,a,n){var o=t.graphicalItems,i=t.tooltipAxis,s=Gy(r,t);return a<0||!o||!o.length||a>=s.length?null:o.reduce(function(l,u){var d,c=(d=u.props.data)!==null&&d!==void 0?d:r;c&&t.dataStartIndex+t.dataEndIndex!==0&&t.dataEndIndex-t.dataStartIndex>=a&&(c=c.slice(t.dataStartIndex,t.dataEndIndex+1));var f;if(i.dataKey&&!i.allowDuplicatedCategory){var p=c===void 0?s:c;f=zd(p,i.dataKey,n)}else f=c&&c[a]||s[a];return f?[].concat(Nu(l),[Cj(u,f)]):l},[])},bq=function(t,r,a,n){var o=n||{x:t.chartX,y:t.chartY},i=Ome(o,a),s=t.orderedTooltipTicks,l=t.tooltipAxis,u=t.tooltipTicks,d=fj(i,s,u,l);if(d>=0&&u){var c=u[d]&&u[d].value,f=NL(t,r,d,c),p=Mme(a,s,d,o);return{activeTooltipIndex:d,activeLabel:c,activePayload:f,activeCoordinate:p}}return null},Rme=function(t,r){var a=r.axes,n=r.graphicalItems,o=r.axisType,i=r.axisIdKey,s=r.stackGroups,l=r.dataStartIndex,u=r.dataEndIndex,d=t.layout,c=t.children,f=t.stackOffset,p=UC(d,o);return a.reduce(function(v,m){var w,h=m.type.defaultProps!==void 0?j(j({},m.type.defaultProps),m.props):m.props,g=h.type,y=h.dataKey,S=h.allowDataOverflow,x=h.allowDuplicatedCategory,b=h.scale,C=h.ticks,P=h.includeHidden,O=h[i];if(v[O])return v;var R=Gy(t.data,{graphicalItems:n.filter(function(_){var B,G=i in _.props?_.props[i]:(B=_.type.defaultProps)===null||B===void 0?void 0:B[i];return G===O}),dataStartIndex:l,dataEndIndex:u}),N=R.length,F,q,H;fq(h.domain,S,g)&&(F=oy(h.domain,null,S),p&&(g==="number"||b!=="auto")&&(H=cu(R,y,"category")));var z=Eq(g);if(!F||F.length===0){var L,I=(L=h.domain)!==null&&L!==void 0?L:z;if(y){if(F=cu(R,y,g),g==="category"&&p){var A=AR(F);x&&A?(q=F,F=(0,Wy.default)(0,N)):x||(F=qC(I,F,m).reduce(function(_,B){return _.indexOf(B)>=0?_:[].concat(Nu(_),[B])},[]))}else if(g==="category")x?F=F.filter(function(_){return _!==""&&!(0,Ru.default)(_)}):F=qC(I,F,m).reduce(function(_,B){return _.indexOf(B)>=0||B===""||(0,Ru.default)(B)?_:[].concat(Nu(_),[B])},[]);else if(g==="number"){var k=vj(R,n.filter(function(_){var B,G,Q=i in _.props?_.props[i]:(B=_.type.defaultProps)===null||B===void 0?void 0:B[i],Y="hide"in _.props?_.props.hide:(G=_.type.defaultProps)===null||G===void 0?void 0:G.hide;return Q===O&&(P||!Y)}),y,o,d);k&&(F=k)}p&&(g==="number"||b!=="auto")&&(H=cu(R,y,"category"))}else p?F=(0,Wy.default)(0,N):s&&s[O]&&s[O].hasStack&&g==="number"?F=f==="expand"?[0,1]:VC(s[O].stackGroups,l,u):F=jC(R,n.filter(function(_){var B=i in _.props?_.props[i]:_.type.defaultProps[i],G="hide"in _.props?_.props.hide:_.type.defaultProps.hide;return B===O&&(P||!G)}),g,d,!0);if(g==="number")F=Fy(c,F,O,o,C),I&&(F=oy(I,F,S));else if(g==="category"&&I){var E=I,T=F.every(function(_){return E.indexOf(_)>=0});T&&(F=E)}}return j(j({},v),{},ie({},O,j(j({},h),{},{axisType:o,domain:F,categoricalDomain:H,duplicateDomain:q,originalDomain:(w=h.domain)!==null&&w!==void 0?w:z,isCategorical:p,layout:d})))},{})},Dme=function(t,r){var a=r.graphicalItems,n=r.Axis,o=r.axisType,i=r.axisIdKey,s=r.stackGroups,l=r.dataStartIndex,u=r.dataEndIndex,d=t.layout,c=t.children,f=Gy(t.data,{graphicalItems:a,dataStartIndex:l,dataEndIndex:u}),p=f.length,v=UC(d,o),m=-1;return a.reduce(function(w,h){var g=h.type.defaultProps!==void 0?j(j({},h.type.defaultProps),h.props):h.props,y=g[i],S=Eq("number");if(!w[y]){m++;var x;return v?x=(0,Wy.default)(0,p):s&&s[y]&&s[y].hasStack?(x=VC(s[y].stackGroups,l,u),x=Fy(c,x,y,o)):(x=oy(S,jC(f,a.filter(function(b){var C,P,O=i in b.props?b.props[i]:(C=b.type.defaultProps)===null||C===void 0?void 0:C[i],R="hide"in b.props?b.props.hide:(P=b.type.defaultProps)===null||P===void 0?void 0:P.hide;return O===y&&!R}),"number",d),n.defaultProps.allowDataOverflow),x=Fy(c,x,y,o)),j(j({},w),{},ie({},y,j(j({axisType:o},n.defaultProps),{},{hide:!0,orientation:(0,Du.default)(Tme,"".concat(o,".").concat(m%2),null),domain:x,originalDomain:S,isCategorical:v,layout:d})))}return w},{})},_me=function(t,r){var a=r.axisType,n=a===void 0?"xAxis":a,o=r.AxisComp,i=r.graphicalItems,s=r.stackGroups,l=r.dataStartIndex,u=r.dataEndIndex,d=t.children,c="".concat(n,"Id"),f=zt(d,o),p={};return f&&f.length?p=Rme(t,{axes:f,graphicalItems:i,axisType:n,axisIdKey:c,stackGroups:s,dataStartIndex:l,dataEndIndex:u}):i&&i.length&&(p=Dme(t,{Axis:o,graphicalItems:i,axisType:n,axisIdKey:c,stackGroups:s,dataStartIndex:l,dataEndIndex:u})),p},Nme=function(t){var r=Ei(t),a=du(r,!1,!0);return{tooltipTicks:a,orderedTooltipTicks:(0,kq.default)(a,function(n){return n.coordinate}),tooltipAxis:r,tooltipAxisBandSize:iy(r,a)}},Sq=function(t){var r=t.children,a=t.defaultShowTooltip,n=cr(r,ns),o=0,i=0;return t.data&&t.data.length!==0&&(i=t.data.length-1),n&&n.props&&(n.props.startIndex>=0&&(o=n.props.startIndex),n.props.endIndex>=0&&(i=n.props.endIndex)),{chartX:0,chartY:0,dataStartIndex:o,dataEndIndex:i,activeTooltipIndex:-1,isTooltipActive:!!a}},Fme=function(t){return!t||!t.length?!1:t.some(function(r){var a=Hr(r&&r.type);return a&&a.indexOf("Bar")>=0})},Cq=function(t){return t==="horizontal"?{numericAxisName:"yAxis",cateAxisName:"xAxis"}:t==="vertical"?{numericAxisName:"xAxis",cateAxisName:"yAxis"}:t==="centric"?{numericAxisName:"radiusAxis",cateAxisName:"angleAxis"}:{numericAxisName:"angleAxis",cateAxisName:"radiusAxis"}},Bme=function(t,r){var a=t.props,n=t.graphicalItems,o=t.xAxisMap,i=o===void 0?{}:o,s=t.yAxisMap,l=s===void 0?{}:s,u=a.width,d=a.height,c=a.children,f=a.margin||{},p=cr(c,ns),v=cr(c,xa),m=Object.keys(l).reduce(function(x,b){var C=l[b],P=C.orientation;return!C.mirror&&!C.hide?j(j({},x),{},ie({},P,x[P]+C.width)):x},{left:f.left||0,right:f.right||0}),w=Object.keys(i).reduce(function(x,b){var C=i[b],P=C.orientation;return!C.mirror&&!C.hide?j(j({},x),{},ie({},P,(0,Du.default)(x,"".concat(P))+C.height)):x},{top:f.top||0,bottom:f.bottom||0}),h=j(j({},w),m),g=h.bottom;p&&(h.bottom+=p.props.height||ns.defaultProps.height),v&&r&&(h=hj(h,n,a,r));var y=u-h.left-h.right,S=d-h.top-h.bottom;return j(j({brushBottom:g},h),{},{width:Math.max(y,0),height:Math.max(S,0)})},jme=function(t,r){if(r==="xAxis")return t[r].width;if(r==="yAxis")return t[r].height},Oq=function(t){var r=t.chartName,a=t.GraphicalChild,n=t.defaultTooltipEventType,o=n===void 0?"axis":n,i=t.validateTooltipEventTypes,s=i===void 0?["axis"]:i,l=t.axisComponents,u=t.legendContent,d=t.formatAxisMap,c=t.defaultProps,f=function(h,g){var y=g.graphicalItems,S=g.stackGroups,x=g.offset,b=g.updateId,C=g.dataStartIndex,P=g.dataEndIndex,O=h.barSize,R=h.layout,N=h.barGap,F=h.barCategoryGap,q=h.maxBarSize,H=Cq(R),z=H.numericAxisName,L=H.cateAxisName,I=Fme(y),A=[];return y.forEach(function(k,E){var T=Gy(h.data,{graphicalItems:[k],dataStartIndex:C,dataEndIndex:P}),_=k.type.defaultProps!==void 0?j(j({},k.type.defaultProps),k.props):k.props,B=_.dataKey,G=_.maxBarSize,Q=_["".concat(z,"Id")],Y=_["".concat(L,"Id")],ee={},ge=l.reduce(function(Er,tn){var ta,ot,Ky=g["".concat(tn.axisType,"Map")],$L=_["".concat(tn.axisType,"Id")];Ky&&Ky[$L]||tn.axisType==="zAxis"||Fn(!1);var XL=Ky[$L];return j(j({},Er),{},ie(ie({},tn.axisType,XL),"".concat(tn.axisType,"Ticks"),du(XL)))},ee),W=ge[L],se=ge["".concat(L,"Ticks")],Z=S&&S[Q]&&S[Q].hasStack&&Sj(k,S[Q].stackGroups),U=Hr(k.type).indexOf("Bar")>=0,ke=iy(W,se),ue=[],Ge=I&&pj({barSize:O,stackGroups:S,totalSize:jme(ge,L)});if(U){var Ve,ft,Tr=(0,Ru.default)(G)?q:G,St=(Ve=(ft=iy(W,se,!0))!==null&&ft!==void 0?ft:Tr)!==null&&Ve!==void 0?Ve:0;ue=mj({barGap:N,barCategoryGap:F,bandSize:St!==ke?St:ke,sizeList:Ge[Y],maxBarSize:Tr}),St!==ke&&(ue=ue.map(function(Er){return j(j({},Er),{},{position:j(j({},Er.position),{},{offset:Er.position.offset-St/2})})}))}var en=k&&k.type&&k.type.getComposedData;en&&A.push({props:j(j({},en(j(j({},ge),{},{displayedData:T,props:h,dataKey:B,item:k,bandSize:ke,barPosition:ue,offset:x,stackedData:Z,layout:R,dataStartIndex:C,dataEndIndex:P}))),{},ie(ie(ie({key:k.key||"item-".concat(E)},z,ge[z]),L,ge[L]),"animationId",b)),childIndex:VR(k,h.children),item:k})}),A},p=function(h,g){var y=h.props,S=h.dataStartIndex,x=h.dataEndIndex,b=h.updateId;if(!u1({props:y}))return null;var C=y.children,P=y.layout,O=y.stackOffset,R=y.data,N=y.reverseStackOrder,F=Cq(P),q=F.numericAxisName,H=F.cateAxisName,z=zt(C,a),L=wj(R,z,"".concat(q,"Id"),"".concat(H,"Id"),O,N),I=l.reduce(function(_,B){var G="".concat(B.axisType,"Map");return j(j({},_),{},ie({},G,_me(y,j(j({},B),{},{graphicalItems:z,stackGroups:B.axisType===q&&L,dataStartIndex:S,dataEndIndex:x}))))},{}),A=Bme(j(j({},I),{},{props:y,graphicalItems:z}),g?.legendBBox);Object.keys(I).forEach(function(_){I[_]=d(y,I[_],A,_.replace("Map",""),r)});var k=I["".concat(H,"Map")],E=Nme(k),T=f(y,j(j({},I),{},{dataStartIndex:S,dataEndIndex:x,updateId:b,graphicalItems:z,stackGroups:L,offset:A}));return j(j({formattedGraphicalItems:T,graphicalItems:z,offset:A,stackGroups:L},E),I)},v=function(w){function h(g){var y,S,x;return xme(this,h),x=bme(this,h,[g]),ie(x,"eventEmitterSymbol",Symbol("rechartsEventEmitter")),ie(x,"accessibilityManager",new dq),ie(x,"handleLegendBBoxUpdate",function(b){if(b){var C=x.state,P=C.dataStartIndex,O=C.dataEndIndex,R=C.updateId;x.setState(j({legendBBox:b},p({props:x.props,dataStartIndex:P,dataEndIndex:O,updateId:R},j(j({},x.state),{},{legendBBox:b}))))}}),ie(x,"handleReceiveSyncEvent",function(b,C,P){if(x.props.syncId===b){if(P===x.eventEmitterSymbol&&typeof x.props.syncMethod!="function")return;x.applySyncEvent(C)}}),ie(x,"handleBrushChange",function(b){var C=b.startIndex,P=b.endIndex;if(C!==x.state.dataStartIndex||P!==x.state.dataEndIndex){var O=x.state.updateId;x.setState(function(){return j({dataStartIndex:C,dataEndIndex:P},p({props:x.props,dataStartIndex:C,dataEndIndex:P,updateId:O},x.state))}),x.triggerSyncEvent({dataStartIndex:C,dataEndIndex:P})}}),ie(x,"handleMouseEnter",function(b){var C=x.getMouseInfo(b);if(C){var P=j(j({},C),{},{isTooltipActive:!0});x.setState(P),x.triggerSyncEvent(P);var O=x.props.onMouseEnter;(0,Pa.default)(O)&&O(P,b)}}),ie(x,"triggeredAfterMouseMove",function(b){var C=x.getMouseInfo(b),P=C?j(j({},C),{},{isTooltipActive:!0}):{isTooltipActive:!1};x.setState(P),x.triggerSyncEvent(P);var O=x.props.onMouseMove;(0,Pa.default)(O)&&O(P,b)}),ie(x,"handleItemMouseEnter",function(b){x.setState(function(){return{isTooltipActive:!0,activeItem:b,activePayload:b.tooltipPayload,activeCoordinate:b.tooltipPosition||{x:b.cx,y:b.cy}}})}),ie(x,"handleItemMouseLeave",function(){x.setState(function(){return{isTooltipActive:!1}})}),ie(x,"handleMouseMove",function(b){b.persist(),x.throttleTriggeredAfterMouseMove(b)}),ie(x,"handleMouseLeave",function(b){x.throttleTriggeredAfterMouseMove.cancel();var C={isTooltipActive:!1};x.setState(C),x.triggerSyncEvent(C);var P=x.props.onMouseLeave;(0,Pa.default)(P)&&P(C,b)}),ie(x,"handleOuterEvent",function(b){var C=UR(b),P=(0,Du.default)(x.props,"".concat(C));if(C&&(0,Pa.default)(P)){var O,R;/.*touch.*/i.test(C)?R=x.getMouseInfo(b.changedTouches[0]):R=x.getMouseInfo(b),P((O=R)!==null&&O!==void 0?O:{},b)}}),ie(x,"handleClick",function(b){var C=x.getMouseInfo(b);if(C){var P=j(j({},C),{},{isTooltipActive:!0});x.setState(P),x.triggerSyncEvent(P);var O=x.props.onClick;(0,Pa.default)(O)&&O(P,b)}}),ie(x,"handleMouseDown",function(b){var C=x.props.onMouseDown;if((0,Pa.default)(C)){var P=x.getMouseInfo(b);C(P,b)}}),ie(x,"handleMouseUp",function(b){var C=x.props.onMouseUp;if((0,Pa.default)(C)){var P=x.getMouseInfo(b);C(P,b)}}),ie(x,"handleTouchMove",function(b){b.changedTouches!=null&&b.changedTouches.length>0&&x.throttleTriggeredAfterMouseMove(b.changedTouches[0])}),ie(x,"handleTouchStart",function(b){b.changedTouches!=null&&b.changedTouches.length>0&&x.handleMouseDown(b.changedTouches[0])}),ie(x,"handleTouchEnd",function(b){b.changedTouches!=null&&b.changedTouches.length>0&&x.handleMouseUp(b.changedTouches[0])}),ie(x,"handleDoubleClick",function(b){var C=x.props.onDoubleClick;if((0,Pa.default)(C)){var P=x.getMouseInfo(b);C(P,b)}}),ie(x,"handleContextMenu",function(b){var C=x.props.onContextMenu;if((0,Pa.default)(C)){var P=x.getMouseInfo(b);C(P,b)}}),ie(x,"triggerSyncEvent",function(b){x.props.syncId!==void 0&&jy.emit(Uy,x.props.syncId,b,x.eventEmitterSymbol)}),ie(x,"applySyncEvent",function(b){var C=x.props,P=C.layout,O=C.syncMethod,R=x.state.updateId,N=b.dataStartIndex,F=b.dataEndIndex;if(b.dataStartIndex!==void 0||b.dataEndIndex!==void 0)x.setState(j({dataStartIndex:N,dataEndIndex:F},p({props:x.props,dataStartIndex:N,dataEndIndex:F,updateId:R},x.state)));else if(b.activeTooltipIndex!==void 0){var q=b.chartX,H=b.chartY,z=b.activeTooltipIndex,L=x.state,I=L.offset,A=L.tooltipTicks;if(!I)return;if(typeof O=="function")z=O(A,b);else if(O==="value"){z=-1;for(var k=0;k<A.length;k++)if(A[k].value===b.activeLabel){z=k;break}}var E=j(j({},I),{},{x:I.left,y:I.top}),T=Math.min(q,E.x+E.width),_=Math.min(H,E.y+E.height),B=A[z]&&A[z].value,G=NL(x.state,x.props.data,z),Q=A[z]?{x:P==="horizontal"?A[z].coordinate:T,y:P==="horizontal"?_:A[z].coordinate}:Tq;x.setState(j(j({},b),{},{activeLabel:B,activeCoordinate:Q,activePayload:G,activeTooltipIndex:z}))}else x.setState(b)}),ie(x,"renderCursor",function(b){var C,P=x.state,O=P.isTooltipActive,R=P.activeCoordinate,N=P.activePayload,F=P.offset,q=P.activeTooltipIndex,H=P.tooltipAxisBandSize,z=x.getTooltipEventType(),L=(C=b.props.active)!==null&&C!==void 0?C:O,I=x.props.layout,A=b.key||"_recharts-cursor";return be.default.createElement(gq,{key:A,activeCoordinate:R,activePayload:N,activeTooltipIndex:q,chartName:r,element:b,isActive:L,layout:I,offset:F,tooltipAxisBandSize:H,tooltipEventType:z})}),ie(x,"renderPolarAxis",function(b,C,P){var O=(0,Du.default)(b,"type.axisType"),R=(0,Du.default)(x.state,"".concat(O,"Map")),N=b.type.defaultProps,F=N!==void 0?j(j({},N),b.props):b.props,q=R&&R[F["".concat(O,"Id")]];return(0,be.cloneElement)(b,j(j({},q),{},{className:ae(O,q.className),key:b.key||"".concat(C,"-").concat(P),ticks:du(q,!0)}))}),ie(x,"renderPolarGrid",function(b){var C=b.props,P=C.radialLines,O=C.polarAngles,R=C.polarRadius,N=x.state,F=N.radiusAxisMap,q=N.angleAxisMap,H=Ei(F),z=Ei(q),L=z.cx,I=z.cy,A=z.innerRadius,k=z.outerRadius;return(0,be.cloneElement)(b,{polarAngles:Array.isArray(O)?O:du(z,!0).map(function(E){return E.coordinate}),polarRadius:Array.isArray(R)?R:du(H,!0).map(function(E){return E.coordinate}),cx:L,cy:I,innerRadius:A,outerRadius:k,key:b.key||"polar-grid",radialLines:P})}),ie(x,"renderLegend",function(){var b=x.state.formattedGraphicalItems,C=x.props,P=C.
79children,O=C.width,R=C.height,N=x.props.margin||{},F=O-(N.left||0)-(N.right||0),q=ay({children:P,formattedGraphicalItems:b,legendWidth:F,legendContent:u});if(!q)return null;var H=q.item,z=yq(q,pme);return(0,be.cloneElement)(H,j(j({},z),{},{chartWidth:O,chartHeight:R,margin:N,onBBoxUpdate:x.handleLegendBBoxUpdate}))}),ie(x,"renderTooltip",function(){var b,C=x.props,P=C.children,O=C.accessibilityLayer,R=cr(P,Cr);if(!R)return null;var N=x.state,F=N.isTooltipActive,q=N.activeCoordinate,H=N.activePayload,z=N.activeLabel,L=N.offset,I=(b=R.props.active)!==null&&b!==void 0?b:F;return(0,be.cloneElement)(R,{viewBox:j(j({},L),{},{x:L.left,y:L.top}),active:I,label:z,payload:I?H:[],coordinate:q,accessibilityLayer:O})}),ie(x,"renderBrush",function(b){var C=x.props,P=C.margin,O=C.data,R=x.state,N=R.offset,F=R.dataStartIndex,q=R.dataEndIndex,H=R.updateId;return(0,be.cloneElement)(b,{key:b.key||"_recharts-brush",onChange:jf(x.handleBrushChange,b.props.onChange),data:O,x:X(b.props.x)?b.props.x:N.left,y:X(b.props.y)?b.props.y:N.top+N.height+N.brushBottom-(P.bottom||0),width:X(b.props.width)?b.props.width:N.width,startIndex:F,endIndex:q,updateId:"brush-".concat(H)})}),ie(x,"renderReferenceElement",function(b,C,P){if(!b)return null;var O=x,R=O.clipPathId,N=x.state,F=N.xAxisMap,q=N.yAxisMap,H=N.offset,z=b.type.defaultProps||{},L=b.props,I=L.xAxisId,A=I===void 0?z.xAxisId:I,k=L.yAxisId,E=k===void 0?z.yAxisId:k;return(0,be.cloneElement)(b,{key:b.key||"".concat(C,"-").concat(P),xAxis:F[A],yAxis:q[E],viewBox:{x:H.left,y:H.top,width:H.width,height:H.height},clipPathId:R})}),ie(x,"renderActivePoints",function(b){var C=b.item,P=b.activePoint,O=b.basePoint,R=b.childIndex,N=b.isRange,F=[],q=C.props.key,H=C.item.type.defaultProps!==void 0?j(j({},C.item.type.defaultProps),C.item.props):C.item.props,z=H.activeDot,L=H.dataKey,I=j(j({index:R,dataKey:L,cx:P.x,cy:P.y,r:4,fill:_f(C.item),strokeWidth:2,stroke:"#fff",payload:P.payload,value:P.value},re(z,!1)),Oi(z));return F.push(h.renderActiveDot(z,I,"".concat(q,"-activePoint-").concat(R))),O?F.push(h.renderActiveDot(z,j(j({},I),{},{cx:O.x,cy:O.y}),"".concat(q,"-basePoint-").concat(R))):N&&F.push(null),F}),ie(x,"renderGraphicChild",function(b,C,P){var O=x.filterFormatItem(b,C,P);if(!O)return null;var R=x.getTooltipEventType(),N=x.state,F=N.isTooltipActive,q=N.tooltipAxis,H=N.activeTooltipIndex,z=N.activeLabel,L=x.props.children,I=cr(L,Cr),A=O.props,k=A.points,E=A.isRange,T=A.baseLine,_=O.item.type.defaultProps!==void 0?j(j({},O.item.type.defaultProps),O.item.props):O.item.props,B=_.activeDot,G=_.hide,Q=_.activeBar,Y=_.activeShape,ee=!!(!G&&F&&I&&(B||Q||Y)),ge={};R!=="axis"&&I&&I.props.trigger==="click"?ge={onClick:jf(x.handleItemMouseEnter,b.props.onClick)}:R!=="axis"&&(ge={onMouseLeave:jf(x.handleItemMouseLeave,b.props.onMouseLeave),onMouseEnter:jf(x.handleItemMouseEnter,b.props.onMouseEnter)});var W=(0,be.cloneElement)(b,j(j({},O.props),ge));function se(tn){return typeof q.dataKey=="function"?q.dataKey(tn.payload):null}if(ee)if(H>=0){var Z,U;if(q.dataKey&&!q.allowDuplicatedCategory){var ke=typeof q.dataKey=="function"?se:"payload.".concat(q.dataKey.toString());Z=zd(k,ke,z),U=E&&T&&zd(T,ke,z)}else Z=k?.[H],U=E&&T&&T[H];if(Y||Q){var ue=b.props.activeIndex!==void 0?b.props.activeIndex:H;return[(0,be.cloneElement)(b,j(j(j({},O.props),ge),{},{activeIndex:ue})),null,null]}if(!(0,Ru.default)(Z))return[W].concat(Nu(x.renderActivePoints({item:O,activePoint:Z,basePoint:U,childIndex:H,isRange:E})))}else{var Ge,Ve=(Ge=x.getItemByXY(x.state.activeCoordinate))!==null&&Ge!==void 0?Ge:{graphicalItem:W},ft=Ve.graphicalItem,Tr=ft.item,St=Tr===void 0?b:Tr,en=ft.childIndex,Er=j(j(j({},O.props),ge),{},{activeIndex:en});return[(0,be.cloneElement)(St,Er),null,null]}return E?[W,null,null]:[W,null]}),ie(x,"renderCustomized",function(b,C,P){return(0,be.cloneElement)(b,j(j({key:"recharts-customized-".concat(P)},x.props),x.state))}),ie(x,"renderMap",{CartesianGrid:{handler:zy,once:!0},ReferenceArea:{handler:x.renderReferenceElement},ReferenceLine:{handler:zy},ReferenceDot:{handler:x.renderReferenceElement},XAxis:{handler:zy},YAxis:{handler:zy},Brush:{handler:x.renderBrush,once:!0},Bar:{handler:x.renderGraphicChild},Line:{handler:x.renderGraphicChild},Area:{handler:x.renderGraphicChild},Radar:{handler:x.renderGraphicChild},RadialBar:{handler:x.renderGraphicChild},Scatter:{handler:x.renderGraphicChild},Pie:{handler:x.renderGraphicChild},Funnel:{handler:x.renderGraphicChild},Tooltip:{handler:x.renderCursor,once:!0},PolarGrid:{handler:x.renderPolarGrid,once:!0},PolarAngleAxis:{handler:x.renderPolarAxis},PolarRadiusAxis:{handler:x.renderPolarAxis},Customized:{handler:x.renderCustomized}}),x.clipPathId="".concat((y=g.id)!==null&&y!==void 0?y:Po("recharts"),"-clip"),x.throttleTriggeredAfterMouseMove=(0,Aq.default)(x.triggeredAfterMouseMove,(S=g.throttleDelay)!==null&&S!==void 0?S:1e3/60),x.state={},x}
vendor: 5,885 bytes, line 79
79return Lme(h,w),wme(h,[{key:"componentDidMount",value:function(){var y,S;this.addListener(),this.accessibilityManager.setDetails({container:this.container,offset:{left:(y=this.props.margin.left)!==null&&y!==void 0?y:0,top:(S=this.props.margin.top)!==null&&S!==void 0?S:0},coordinateList:this.state.tooltipTicks,mouseHandlerCallback:this.triggeredAfterMouseMove,layout:this.props.layout}),this.displayDefaultTooltip()}},{key:"displayDefaultTooltip",value:function(){var y=this.props,S=y.children,x=y.data,b=y.height,C=y.layout,P=cr(S,Cr);if(P){var O=P.props.defaultIndex;if(!(typeof O!="number"||O<0||O>this.state.tooltipTicks.length-1)){var R=this.state.tooltipTicks[O]&&this.state.tooltipTicks[O].value,N=NL(this.state,x,O,R),F=this.state.tooltipTicks[O].coordinate,q=(this.state.offset.top+b)/2,H=C==="horizontal",z=H?{x:F,y:q}:{y:F,x:q},L=this.state.formattedGraphicalItems.find(function(A){var k=A.item;return k.type.name==="Scatter"});L&&(z=j(j({},z),L.props.points[O].tooltipPosition),N=L.props.points[O].tooltipPayload);var I={activeTooltipIndex:O,isTooltipActive:!0,activeLabel:R,activePayload:N,activeCoordinate:z};this.setState(I),this.renderCursor(P),this.accessibilityManager.setIndex(O)}}}},{key:"getSnapshotBeforeUpdate",value:function(y,S){if(!this.props.accessibilityLayer)return null;if(this.state.tooltipTicks!==S.tooltipTicks&&this.accessibilityManager.setDetails({coordinateList:this.state.tooltipTicks}),this.props.layout!==y.layout&&this.accessibilityManager.setDetails({layout:this.props.layout}),this.props.margin!==y.margin){var x,b;this.accessibilityManager.setDetails({offset:{left:(x=this.props.margin.left)!==null&&x!==void 0?x:0,top:(b=this.props.margin.top)!==null&&b!==void 0?b:0}})}return null}},{key:"componentDidUpdate",value:function(y){Bg([cr(y.children,Cr)],[cr(this.props.children,Cr)])||this.displayDefaultTooltip()}},{key:"componentWillUnmount",value:function(){this.removeListener(),this.throttleTriggeredAfterMouseMove.cancel()}},{key:"getTooltipEventType",value:function(){var y=cr(this.props.children,Cr);if(y&&typeof y.props.shared=="boolean"){var S=y.props.shared?"axis":"item";return s.indexOf(S)>=0?S:o}return o}},{key:"getMouseInfo",value:function(y){if(!this.container)return null;var S=this.container,x=S.getBoundingClientRect(),b=KF(x),C={chartX:Math.round(y.pageX-b.left),chartY:Math.round(y.pageY-b.top)},P=x.width/S.offsetWidth||1,O=this.inRange(C.chartX,C.chartY,P);if(!O)return null;var R=this.state,N=R.xAxisMap,F=R.yAxisMap,q=this.getTooltipEventType(),H=bq(this.state,this.props.data,this.props.layout,O);if(q!=="axis"&&N&&F){var z=Ei(N).scale,L=Ei(F).scale,I=z&&z.invert?z.invert(C.chartX):null,A=L&&L.invert?L.invert(C.chartY):null;return j(j({},C),{},{xValue:I,yValue:A},H)}return H?j(j({},C),H):null}},{key:"inRange",value:function(y,S){var x=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1,b=this.props.layout,C=y/x,P=S/x;if(b==="horizontal"||b==="vertical"){var O=this.state.offset,R=C>=O.left&&C<=O.left+O.width&&P>=O.top&&P<=O.top+O.height;return R?{x:C,y:P}:null}var N=this.state,F=N.angleAxisMap,q=N.radiusAxisMap;if(F&&q){var H=Ei(F);return HC({x:C,y:P},H)}return null}},{key:"parseEventsOfWrapper",value:function(){var y=this.props.children,S=this.getTooltipEventType(),x=cr(y,Cr),b={};x&&S==="axis"&&(x.props.trigger==="click"?b={onClick:this.handleClick}:b={onMouseEnter:this.handleMouseEnter,onDoubleClick:this.handleDoubleClick,onMouseMove:this.handleMouseMove,onMouseLeave:this.handleMouseLeave,onTouchMove:this.handleTouchMove,onTouchStart:this.handleTouchStart,onTouchEnd:this.handleTouchEnd,onContextMenu:this.handleContextMenu});var C=Oi(this.props,this.handleOuterEvent);return j(j({},C),b)}},{key:"addListener",value:function(){jy.on(Uy,this.handleReceiveSyncEvent)}},{key:"removeListener",value:function(){jy.removeListener(Uy,this.handleReceiveSyncEvent)}},{key:"filterFormatItem",value:function(y,S,x){for(var b=this.state.formattedGraphicalItems,C=0,P=b.length;C<P;C++){var O=b[C];if(O.item===y||O.props.key===y.key||S===Hr(O.item.type)&&x===O.childIndex)return O}return null}},{key:"renderClipPath",value:function(){var y=this.clipPathId,S=this.state.offset,x=S.left,b=S.top,C=S.height,P=S.width;return be.default.createElement("defs",null,be.default.createElement("clipPath",{id:y},be.default.createElement("rect",{x,y:b,height:C,width:P})))}},{key:"getXScales",value:function(){var y=this.state.xAxisMap;return y?Object.entries(y).reduce(function(S,x){var b=vq(x,2),C=b[0],P=b[1];return j(j({},S),{},ie({},C,P.scale))},{}):null}},{key:"getYScales",value:function(){var y=this.state.yAxisMap;return y?Object.entries(y).reduce(function(S,x){var b=vq(x,2),C=b[0],P=b[1];return j(j({},S),{},ie({},C,P.scale))},{}):null}},{key:"getXScaleByAxisId",value:function(y){var S;return(S=this.state.xAxisMap)===null||S===void 0||(S=S[y])===null||S===void 0?void 0:S.scale}},{key:"getYScaleByAxisId",value:function(y){var S;return(S=this.state.yAxisMap)===null||S===void 0||(S=S[y])===null||S===void 0?void 0:S.scale}},{key:"getItemByXY",value:function(y){var S=this.state,x=S.formattedGraphicalItems,b=S.activeItem;if(x&&x.length)for(var C=0,P=x.length;C<P;C++){var O=x[C],R=O.props,N=O.item,F=N.type.defaultProps!==void 0?j(j({},N.type.defaultProps),N.props):N.props,q=Hr(N.type);if(q==="Bar"){var H=(R.data||[]).find(function(A){return j4(y,A)});if(H)return{graphicalItem:O,payload:H}}else if(q==="RadialBar"){var z=(R.data||[]).find(function(A){return HC(y,A)});if(z)return{graphicalItem:O,payload:z}}else if(dp(O,b)||fp(O,b)||wu(O,b)){var L=EU({graphicalItem:O,activeTooltipItem:b,itemData:F.data}),I=F.activeIndex===void 0?L:F.activeIndex;return{graphicalItem:j(j({},O),{},{childIndex:I}),payload:wu(O,b)?F.data[L]:O.props.data[L]}}}return null}},{key:"render",value:function(){var y=this;if(!u1(this))return null;var S=this.props,x=S.children,b=S.className,C=S.width,P=S.height,O=S.style,R=S.
79compact,N=S.title,F=S.desc,q=yq(S,mme),H=re(q,!1);if(R)return be.default.createElement(CL,{state:this.state,width:this.props.width,height:this.props.height,clipPathId:this.clipPathId},be.default.createElement(Wd,Mu({},H,{width:C,height:P,title:N,desc:F}),this.renderClipPath(),c1(x,this.renderMap)));if(this.props.accessibilityLayer){var z,L;H.tabIndex=(z=this.props.tabIndex)!==null&&z!==void 0?z:0,H.role=(L=this.props.role)!==null&&L!==void 0?L:"application",H.onKeyDown=function(A){y.accessibilityManager.keyboardEvent(A)},H.onFocus=function(){y.accessibilityManager.focus()}}var I=this.parseEventsOfWrapper();return be.default.createElement(CL,{state:this.state,width:this.props.width,height:this.props.height,clipPathId:this.clipPathId},be.default.createElement("div",Mu({className:ae("recharts-wrapper",b),style:j({position:"relative",cursor:"default",width:C,height:P},O)},I,{ref:function(k){y.container=k}}),be.default.createElement(Wd,Mu({},H,{width:C,height:P,title:N,desc:F,style:Eme}),this.renderClipPath(),c1(x,this.renderMap)),this.renderLegend(),this.renderTooltip()))}}])}(be.Component);ie(v,"displayName",r),ie(v,"defaultProps",j({layout:"horizontal",stackOffset:"none",barCategoryGap:"10%",barGap:4,margin:{top:5,right:5,bottom:5,left:5},reverseStackOrder:!1,syncMethod:"index"},c)),ie(v,"getDerivedStateFromProps",function(w,h){var g=w.dataKey,y=w.data,S=w.children,x=w.width,b=w.height,C=w.layout,P=w.stackOffset,O=w.margin,R=h.dataStartIndex,N=h.dataEndIndex;if(h.updateId===void 0){var F=Sq(w);return j(j(j({},F),{},{updateId:0},p(j(j({props:w},F),{},{updateId:0}),h)),{},{prevDataKey:g,prevData:y,prevWidth:x,prevHeight:b,prevLayout:C,prevStackOffset:P,prevMargin:O,prevChildren:S})}if(g!==h.prevDataKey||y!==h.prevData||x!==h.prevWidth||b!==h.prevHeight||C!==h.prevLayout||P!==h.prevStackOffset||!Hd(O,h.prevMargin)){var q=Sq(w),H={chartX:h.chartX,chartY:h.chartY,isTooltipActive:h.isTooltipActive},z=j(j({},bq(h,y,C)),{},{updateId:h.updateId+1}),L=j(j(j({},q),H),z);return j(j(j({},L),p(j({props:w},L),h)),{},{prevDataKey:g,prevData:y,prevWidth:x,prevHeight:b,prevLayout:C,prevStackOffset:P,prevMargin:O,prevChildren:S})}if(!Bg(S,h.prevChildren)){var I,A,k,E,T=cr(S,ns),_=T&&(I=(A=T.props)===null||A===void 0?void 0:A.startIndex)!==null&&I!==void 0?I:R,B=T&&(k=(E=T.props)===null||E===void 0?void 0:E.endIndex)!==null&&k!==void 0?k:N,G=_!==R||B!==N,Q=!(0,Ru.default)(y),Y=Q&&!G?h.updateId:h.updateId+1;return j(j({updateId:Y},p(j(j({props:w},h),{},{updateId:Y,dataStartIndex:_,dataEndIndex:B}),h)),{},{prevChildren:S,dataStartIndex:_,dataEndIndex:B})}return null}),ie(v,"renderActiveDot",function(w,h,g){var y;return(0,be.isValidElement)(w)?y=(0,be.cloneElement)(w,h):(0,Pa.default)(w)?y=w(h):y=be.default.createElement(vu,h),be.default.createElement(ye,{className:"recharts-active-dot",key:g},y)});var m=(0,be.forwardRef)(function(h,g){return be.default.createElement(v,Mu({},h,{ref:g}))});return m.displayName=v.displayName,m};var FL=Oq({chartName:"PieChart",GraphicalChild:ea,validateTooltipEventTypes:["item"],defaultTooltipEventType:"item",legendContent:"children",axisComponents:[{axisType:"angleAxis",AxisComp:lp},{axisType:"radiusAxis",AxisComp:sp}],formatAxisMap:Ej,defaultProps:{layout:"centric",startAngle:0,endAngle:360,cx:"50%",cy:"50%",innerRadius:0,outerRadius:"80%"}});var Dq=D(K()),ka=D(Me()),Mq=["rgba(139, 92, 246, 0.4)","rgba(236, 72, 153, 0.4)","rgba(59, 130, 246, 0.4)","rgba(16, 185, 129, 0.3)","rgba(251, 146, 60, 0.3)","rgba(168, 85, 247, 0.4)","rgba(14, 165, 233, 0.3)"],Rq=["circle","square","triangle","hexagon"];function wp(){let e=(0,Dq.useMemo)(()=>Array.from({length:35},(r,a)=>({id:a,x:Math.random()*100,y:Math.random()*100,size:Math.random()*70+25,duration:Math.random()*20+15,delay:0,shape:Rq[Math.floor(Math.random()*Rq.length)],color:Mq[Math.floor(Math.random()*Mq.length)]})),[]),t=r=>{let a="absolute backdrop-blur-sm",n={left:`${r.x}%`,top:`${r.y}%`,width:`${r.size}px`,height:`${r.size}px`};switch(r.shape){case"circle":return(0,ka.jsx)(yt.div,{className:`${a} rounded-full`,style:{...n,background:`radial-gradient(circle, ${r.color} 0%, transparent 70%)`,boxShadow:`0 0 ${r.size*1.2}px ${r.color}`,willChange:"transform"},animate:{y:[0,-30,0],x:[0,15,0],rotate:[0,180,360],scale:[1,1.2,1]},transition:{duration:r.duration,delay:r.delay,repeat:1/0,ease:"linear"}},r.id);case"square":return(0,ka.jsx)(yt.div,{className:`${a}`,style:{...n,background:`linear-gradient(135deg, ${r.color} 0%, transparent 70%)`,boxShadow:`0 0 ${r.size*.8}px ${r.color}`,borderRadius:"12px",willChange:"transform"},animate:{y:[0,40,0],x:[0,-20,0],rotate:[0,-90,0],scale:[1,.9,1]},transition:{duration:r.duration,delay:r.delay,repeat:1/0,ease:"linear"}},r.id);case"triangle":return(0,ka.jsx)(yt.div,{className:`${a}`,style:{...n,width:0,height:0,borderLeft:`${r.size/2}px solid transparent`,borderRight:`${r.size/2}px solid transparent`,borderBottom:`${r.size}px solid ${r.color}`,filter:`drop-shadow(0 0 ${r.size/3}px ${r.color})`,willChange:"transform"},animate:{y:[0,-50,0],x:[0,25,0],rotate:[0,120,240,360]},transition:{duration:r.duration,delay:r.delay,repeat:1/0,ease:"linear"}},r.id);case"hexagon":return(0,ka.jsx)(yt.div,{className:`${a}
79`,style:{...n,clipPath:"polygon(30% 0%, 70% 0%, 100% 50%, 70% 100%, 30% 100%, 0% 50%)",background:`linear-gradient(45deg, ${r.color} 0%, transparent 80%)`,boxShadow:`0 0 ${r.size*.8}px ${r.color}`,willChange:"transform"},animate:{y:[0,35,0],x:[0,-15,0],rotate:[0,60,120,180,240,300,360],scale:[1,1.15,1]},transition:{duration:r.duration,delay:r.delay,repeat:1/0,ease:"linear"}},r.id);default:return null}};return(0,ka.jsxs)("div",{className:"fixed inset-0 overflow-hidden pointer-events-none",children:[(0,ka.jsx)("div",{className:"absolute inset-0 bg-gradient-to-br from-violet-500/5 via-transparent to-blue-500/5"}),e.map(r=>t(r)),(0,ka.jsx)("div",{className:"absolute inset-0 opacity-[0.04]",style:{backgroundImage:`
80            linear-gradient(rgba(139, 92, 246, 0.4) 1px, transparent 1px),
81            linear-gradient(90deg, rgba(139, 92, 246, 0.4) 1px, transparent 1px)
82          `,backgroundSize:"100px 100px"}}),(0,ka.jsx)("div",{className:"absolute top-0 left-1/4 w-[500px] h-[500px] bg-violet-500/10 rounded-full blur-3xl"}),(0,ka.jsx)("div",{className:"absolute bottom-0 right-1/4 w-[500px] h-[500px] bg-pink-500/10 rounded-full blur-3xl"})]})}var Ume=D(K());var BL=D(Me());var _q=D(K());function Nq(){return(0,_q.useEffect)(()=>{let e=document.createElement("script");return e.src="https://assets.taskade.com/embeds/latest/taskade-embed.min.js",e.async=!0,document.body.appendChild(e),e.onload=()=>{window.TaskadeEmbed?.AgentPublicChatPopup&&window.TaskadeEmbed.AgentPublicChatPopup.init({publicAgentId:"01K7HBBY0ED4GPHSNTHM5X78FP",position:"bottom-right",theme:"auto"})},()=>{document.body.contains(e)&&document.body.removeChild(e)}},[]),null}async function Fq(e,t){try{let r=await fetch(e,t);if(!r.ok)return console.log(`\u{1F507} API request failed (${r.status}) - using fallback data`),{ok:!1,status:r.status,data:null};let a=await r.json();return{ok:!0,status:r.status,data:a}}catch{return console.log("\u{1F507} API unavailable - using fallback data"),{ok:!1,status:0,data:null}}}var V=D(Me()),Bq=[{name:"TechCrunch",url:"https://techcrunch.com/feed/",category:"tech",icon:"\u{1F4BB}",description:"Latest technology news"},{name:"Hacker News",url:"https://hnrss.org/frontpage",category:"tech",icon:"\u{1F525}",description:"Tech community favorites"},{name:"The Verge",url:"https://www.theverge.com/rss/index.xml",category:"tech",icon:"\u{1F3AE}",description:"Tech, science, art, culture"},{name:"BBC News",url:"https://feeds.bbci.co.uk/news/rss.xml",category:"news",icon:"\u{1F4F0}",description:"World news coverage"},{name:"NPR",url:"https://feeds.npr.org/1001/rss.xml",category:"news",icon:"\u{1F399}\uFE0F",description:"National and world news"},{name:"Reuters",url:"https://www.reutersagency.com/feed/",category:"news",icon:"\u{1F30D}",description:"Global news and insights"},{name:"Lifehacker",url:"https://lifehacker.com/rss",category:"lifestyle",icon:"\u{1F4A1}",description:"Life tips and productivity"},{name:"Serious Eats",url:"https://www.seriouseats.com/feed",category:"lifestyle",icon:"\u{1F373}",description:"Cooking and recipes"},{name:"Apartment Therapy",url:"https://www.apartmenttherapy.com/main.rss",category:"lifestyle",icon:"\u{1F3E0}",description:"Home design and decor"}];function jL(){let e=Uc(),[t,r]=(0,Za.useState)([]),[a,n]=(0,Za.useState)(!1),[o,i]=(0,Za.useState)({name:"",url:"",category:"tech",icon:"\u{1F4F0}",description:""}),[s,l]=(0,Za.useState)(!1),[u,d]=(0,Za.useState)(null),[c,f]=(0,Za.useState)([{name:"Tech",value:35,color:"#a78bfa"},{name:"News",value:25,color:"#34d399"},{name:"Lifestyle",value:20,color:"#fbbf24"},{name:"Business",value:12,color:"#60a5fa"},{name:"Science",value:8,color:"#f472b6"}]),[p,v]=(0,Za.useState)({totalArticles:100,savedArticles:23,avgReadTime:4.2}),m=(S,x)=>{x.stopPropagation(),r(t.filter(b=>b.name!==S)),toast.success(`Removed ${S} from your feeds`)},w=(S,x)=>{x.stopPropagation(),i({name:S.name,url:S.url,category:S.category,icon:S.icon,description:S.description}),d(S.name),n(!0)};(0,Za.useEffect)(()=>{console.log("\u{1F3AF} Initializing RSS Feeds with mock data...");let S=[{name:"Tech",value:35,color:"#a78bfa"},{name:"News",value:25,color:"#34d399"},{name:"Lifestyle",value:20,color:"#fbbf24"},{name:"Business",value:12,color:"#60a5fa"},{name:"Science",value:8,color:"#f472b6"}],x={totalArticles:100,savedArticles:23,avgReadTime:4.2};console.log("\u{1F4CA} Setting category stats:",S),console.log("\u{1F4C8} Setting reading stats:",x),f(S),v(x),(async()=>{try{let C=await Fq("/api/taskade/projects/HoGQqv439FMQdrwj/nodes");if(!C.ok||!C.data){console.log("\u{1F4CA} Using mock data (API unavailable)");return}try{let P=C.data;console.log("\u{1F4CA} Full API response:",JSON.stringify(P,null,2));let O=P.payload?.nodes||[];if(console.log("\u{1F4CA} Found articles count:",O.length),O.length>0&&console.log("\u{1F4CA} First article sample:",O[0]),O.length===0){console.log("\u26A0\uFE0F No articles found, keeping mock data");return}let R={},N=0;console.log("\u{1F50D} Starting to process articles..."),O.forEach((L,I)=>{let A=L.fieldValues||{};
82I<5&&console.log(`\u{1F4CA} Article ${I} FULL STRUCTURE:`,{id:L.id,fieldValues:A,allKeys:Object.keys(A)});let k=A["/attributes/@cat02"];if(!k){let T=A["/attributes/@feed2"]||"";k={TechCrunch:"tech","Hacker News":"tech","The Verge":"tech","BBC News":"news",NPR:"news",Reuters:"news",CNN:"news",Lifehacker:"lifestyle","Serious Eats":"lifestyle","Apartment Therapy":"lifestyle","Bon App\xE9tit":"lifestyle",Vogue:"lifestyle",GQ:"lifestyle"}[T]||"other",I<5&&console.log(`\u{1F4CA} Inferred category from feed: ${T} -> ${k}`)}R[k]=(R[k]||0)+1;let E=A["/attributes/@read2"];I<5&&console.log(`\u{1F4CA} Article ${I} PROCESSED:`,{text:A["/text"],category:k,status:E,feedSource:A["/attributes/@feed2"],categoryRaw:A["/attributes/@cat02"],statusRaw:A["/attributes/@read2"]}),E==="saved"&&(N++,console.log("\u2705 Found saved article:",A["/text"]))}),console.log("\u{1F4CA} Final categoryCount:",R),console.log("\u{1F4CA} Final savedCount:",N);let F={tech:"#a78bfa",news:"#34d399",hobby:"#fbbf24",lifestyle:"#fbbf24",business:"#60a5fa",science:"#f472b6",other:"#6b7280"},q=O.length,H=Object.entries(R).map(([L,I])=>({name:L.charAt(0).toUpperCase()+L.slice(1),value:Math.round(I/q*100),color:F[L.toLowerCase()]||F.other}));Object.keys(R).length>=3&&f(H),v({totalArticles:O.length,savedArticles:N,avgReadTime:4.2})}catch(P){console.error("Error fetching real data:",P)}}catch{console.log("API unavailable, using mock data")}})()},[]);let h=S=>{let x=["AI Breakthrough: New Model Achieves Human-Level Reasoning","Quantum Computing Reaches Major Milestone in Error Correction","Apple Announces Revolutionary AR Glasses for 2025","Tesla Unveils Next-Gen Battery Technology","Google DeepMind Solves Complex Protein Folding Challenge","Meta Launches Open-Source AI Assistant Platform","SpaceX Successfully Tests Reusable Rocket System","Microsoft Integrates Advanced AI into Office Suite","New Chip Architecture Promises 10x Performance Boost","Breakthrough in Fusion Energy Brings Clean Power Closer"],b=["Top 10 Photography Tips for Stunning Landscape Shots","Beginner's Guide to Sourdough Bread Baking","How to Build Your First Custom Mechanical Keyboard","Urban Gardening: Growing Vegetables in Small Spaces","Watercolor Techniques Every Artist Should Master","DIY Home Automation Projects for Beginners","Essential Tools for Woodworking Enthusiasts","Astrophotography: Capturing the Night Sky","Vintage Camera Restoration: A Complete Guide","Fermentation 101: Making Your Own Kombucha"],C=["Global Climate Summit Reaches Historic Agreement","Economic Recovery Shows Strong Signs of Growth","Major Breakthrough in Cancer Treatment Research","International Space Station Welcomes New Crew","Renewable Energy Surpasses Fossil Fuels in Key Markets","Historic Peace Agreement Signed in Middle East","New Education Initiative Aims to Bridge Digital Divide","Ocean Cleanup Project Removes Record Amount of Plastic","Archaeological Discovery Rewrites Ancient History","Global Health Initiative Eradicates Rare Disease"],P=["Minimalist Living: How Less Can Be More","The Science of Better Sleep: Expert Tips","Plant-Based Diet Benefits: What Research Shows","Mindfulness Meditation for Busy Professionals","Sustainable Fashion: Building an Eco-Friendly Wardrobe","Home Organization Hacks That Actually Work","The Art of Digital Detox in Modern Life","Fitness Trends That Are Here to Stay","Creating a Productive Morning Routine","Travel on a Budget: Hidden Gems Around the World"];return(S.category==="tech"?x:S.category==="hobby"?b:S.category==="news"?C:P).map((R,N)=>({title:R,link:`https://example.com/article/${S.name.toLowerCase().replace(/\s+/g,"-")}/${N+1}`,pubDate:new Date(Date.now()-Math.random()*7*24*60*60*1e3).toISOString()}))},g=async S=>{setLoading(S.name);try{let x=await fetch("/api/taskade/projects/5z8LgfHbRp1z1enG/nodes",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({"/text":S.name,"/attributes/note":S.description,"/attributes/@url01":S.url,"/attributes/@cat01":S.category,"/attributes/@freq1":"hourly","/attributes/@actv1":"active"})});if(!x.ok){let P=await x.text();throw console.error("Feed creation error:",P),new Error("Failed to add feed to database")}let b=h(S);console.log("Generated mock articles:",b);let C=0;for(let P of b){let O={"/text":P.title,"/attributes/@feed2":S.name,"/attributes/@cat02":S.category,"/attributes/@read2":"unread","/attributes/@link2":P.link};console.log("Creating article:",O);let R=await fetch("/api/taskade/projects/r598oEy3CWus29Jv/nodes",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(O)});if(R.ok){C++;let N=await R.json();console.log("Article created:",N)}else{let N=await R.text();console.error("Failed to create article:",N)}}setAddedFeeds([...addedFeeds,S.name]),toast.success(`\u2705 Added ${S.name} with ${C} articles!`)}catch(x){console.error("Error adding feed:",x),toast.error("Error adding feed - check console for details")}finally{setLoading(null)}},y=async()=>
82{if(!o.name||!o.url){toast.error("Please fill in feed name and URL");return}l(!0);try{if(u&&r(t.filter(b=>b.name!==u)),!(await fetch("/api/taskade/projects/5z8LgfHbRp1z1enG/nodes",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({"/text":o.name,"/attributes/note":o.description||`RSS feed from ${o.url}`,"/attributes/@url01":o.url,"/attributes/@cat01":o.category,"/attributes/@freq1":"hourly","/attributes/@actv1":"active"})})).ok)throw new Error("Failed to add feed to database");let x=u?"Updated":"Added";toast.success(`\u2705 ${x} ${o.name} to RSS database`),r([...t,{...o}]),i({name:"",url:"",category:"tech",icon:"\u{1F4F0}",description:""}),d(null),n(!1),toast.success(`\u{1F389} ${o.name} is now live and will be monitored!`)}catch(S){console.error("Error adding custom feed:",S),toast.error("Failed to add feed - check console for details")}finally{l(!1)}};return(0,V.jsxs)("div",{className:"min-h-screen bg-gradient-to-br from-black via-gray-900 to-black text-white relative",children:[(0,V.jsx)(wp,{}),(0,V.jsxs)("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-8 relative z-10",children:[(0,V.jsxs)("div",{className:"mb-8",children:[(0,V.jsxs)("div",{className:"text-center mb-6",children:[(0,V.jsxs)("h1",{className:"text-5xl font-bold flex items-center justify-center gap-4 mb-3",children:[(0,V.jsx)(ha,{className:"w-12 h-12 text-violet-400"}),"RSS Feeds"]}),(0,V.jsxs)("p",{className:"text-lg text-gray-400",children:["Discover ",Bq.length+t.length," curated feeds across tech, news, and lifestyle"]})]}),(0,V.jsx)("div",{className:"flex justify-center",children:(0,V.jsxs)("button",{onClick:()=>n(!0),className:"flex items-center gap-2 px-8 py-4 rounded-xl bg-violet-500/30 hover:bg-violet-500/40 border-2 border-violet-500/60 hover:border-violet-500/100 transition-all duration-300 text-violet-300 font-bold shadow-xl shadow-violet-500/50 hover:shadow-2xl hover:shadow-violet-500/80 hover:scale-110 hover:-translate-y-1",children:[(0,V.jsx)(Tn,{className:"w-6 h-6"}),"Add Custom Feed"]})})]}),(0,V.jsxs)("div",{className:"grid grid-cols-1 lg:grid-cols-12 gap-6 items-start",children:[(0,V.jsx)("div",{className:"lg:col-span-8",children:(0,V.jsx)("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-4",children:[...Bq,...t].map((S,x)=>(0,V.jsxs)(yt.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.3,delay:x*.05},className:"group relative flex flex-col items-center text-center p-5 rounded-xl border backdrop-blur-xl transition-all duration-300 cursor-pointer bg-white/[0.03] border-white/[0.15] hover:bg-white/[0.08] hover:border-violet-500/80 hover:shadow-xl hover:shadow-violet-500/40 hover:-translate-y-1",onClick:()=>{e(`/feed/${encodeURIComponent(S.name)}`)},children:[(0,V.jsx)("div",{className:`w-14 h-14 rounded-xl flex items-center justify-center text-3xl mb-3 transition-all duration-300 border ${S.category==="tech"?"bg-violet-500/30 border-violet-500/50 shadow-lg shadow-violet-500/30 group-hover:shadow-xl group-hover:shadow-violet-500/60 group-hover:scale-110":S.category==="news"?"bg-emerald-500/30 border-emerald-500/50 shadow-lg shadow-emerald-500/30 group-hover:shadow-xl group-hover:shadow-emerald-500/60 group-hover:scale-110":"bg-amber-500/30 border-amber-500/50 shadow-lg shadow-amber-500/30 group-hover:shadow-xl group-hover:shadow-amber-500/60 group-hover:scale-110"}`,children:S.icon}),(0,V.jsxs)("div",{className:"flex-1",children:[(0,V.jsx)("h3",{className:"font-bold text-white text-base mb-1.5 group-hover:text-violet-400 transition-all duration-300",children:S.name}),(0,V.jsx)("span",{className:`inline-block px-2 py-0.5 rounded-full text-xs font-semibold capitalize mb-2 border transition-all duration-300 ${S.category==="tech"?"bg-violet-500/30 text-violet-300 border-violet-500/50":S.category==="news"?"bg-emerald-500/30 text-emerald-300 border-emerald-500/50":"bg-amber-500/30 text-amber-300 border-amber-500/50"}`,children:S.category}),(0,V.jsx)("p",{className:"text-xs text-gray-400 leading-relaxed group-hover:text-gray-300 transition-colors line-clamp-2",children:S.description})]}),(0,V.jsxs)("div",{className:"absolute top-2 right-2 flex gap-1.5 opacity-0 group-hover:opacity-100 transition-all duration-200 z-10",children:[(0,V.jsx)("button",{onClick:b=>{b.stopPropagation(),w(S,b)},className:"w-8 h-8 rounded-lg flex items-center justify-center bg-blue-500/30 hover:bg-blue-500/50 text-blue-300 hover:text-white transition-all border border-blue-500/40 hover:border-blue-400 shadow-lg hover:shadow-blue-500/50 hover:scale-110",title:"Edit feed",children:(0,V.jsx)(An,{className:"w-4 h-4"})}),(0,V.jsx)("button",{onClick:b=>{b.stopPropagation(),m(S.name,b)},className:"w-8 h-8 rounded-lg flex items-center justify-center bg-red-500/30 hover:bg-red-500/50 text-red-300 hover:text-white transition-all border border-red-500/40 hover:border-red-400 shadow-lg hover:shadow-red-500/50 hover:scale-110",title:"Remove feed",children:(0,V.jsx)(Md,{className:"w-4 h-4"})})]}),(0,V.jsx)("div",{className:"absolute bottom-3 right-3 w-8 h-8 rounded-lg flex items-center justify-center transition-all opacity-0 group-hover:opacity-100 bg-violet-500/20 text-violet-400",children:(0,V.jsx)(Si,{className:"w-4 h-4 rotate-180"})})]},S.name))})}),(0,V.jsxs)("div",{className:"lg:col-span-4 space-y-4 lg:pt-0",children:[(0,V.jsxs)(yt.div,{initial:{opacity:0,x:20}
82,animate:{opacity:1,x:0},className:"bg-white/[0.03] backdrop-blur-xl border border-white/[0.15] rounded-xl p-5 relative overflow-hidden",children:[(0,V.jsx)("div",{className:"absolute inset-0 bg-gradient-to-br from-violet-500/10 via-transparent to-cyan-500/10 pointer-events-none"}),(0,V.jsxs)("div",{className:"flex items-center gap-2 mb-4 relative z-10",children:[(0,V.jsx)(Rd,{className:"w-5 h-5 text-violet-400 drop-shadow-[0_0_8px_rgba(167,139,250,0.8)]"}),(0,V.jsx)("h3",{className:"font-semibold text-white",children:"Content Distribution"})]}),c.length>0?(0,V.jsx)("div",{className:"h-64 relative z-10",children:(0,V.jsx)(_S,{width:"100%",height:"100%",children:(0,V.jsxs)(FL,{children:[(0,V.jsx)(ea,{data:c,cx:"50%",cy:"50%",innerRadius:60,outerRadius:90,paddingAngle:2,dataKey:"value",startAngle:90,endAngle:450,isAnimationActive:!0,animationBegin:0,animationDuration:800,children:c.map((S,x)=>(0,V.jsx)(zl,{fill:S.color,stroke:S.color,strokeWidth:2,style:{filter:`drop-shadow(0 0 16px ${S.color})`}},`cell-${x}`))}),(0,V.jsx)(Cr,{contentStyle:{backgroundColor:"rgba(17, 24, 39, 0.98)",border:"2px solid rgba(167, 139, 250, 0.5)",borderRadius:"12px",color:"#ffffff",padding:"12px",fontSize:"14px",fontWeight:"600",boxShadow:"0 0 30px rgba(167, 139, 250, 0.6), 0 10px 40px rgba(0,0,0,0.5)"},labelStyle:{color:"#ffffff"},itemStyle:{color:"#ffffff"},formatter:S=>[`${S}%`,"Articles"]}),(0,V.jsx)(xa,{wrapperStyle:{fontSize:"13px",fontWeight:"500",paddingTop:"16px"},iconType:"circle",iconSize:10,formatter:S=>(0,V.jsx)("span",{className:"text-gray-300 drop-shadow-[0_0_4px_rgba(255,255,255,0.3)]",children:S})})]})})}):(0,V.jsx)("div",{className:"h-64 flex items-center justify-center relative z-10",children:(0,V.jsx)("p",{className:"text-sm text-gray-400",children:"Loading data..."})})]}),(0,V.jsxs)(yt.div,{initial:{opacity:0,x:20},animate:{opacity:1,x:0},transition:{delay:.1},className:"bg-white/[0.03] backdrop-blur-xl border border-white/[0.15] rounded-xl p-5",children:[(0,V.jsxs)("div",{className:"flex items-center gap-2 mb-4",children:[(0,V.jsx)(bo,{className:"w-5 h-5 text-cyan-400"}),(0,V.jsx)("h3",{className:"font-semibold text-white",children:"Reading Stats"})]}),(0,V.jsxs)("div",{className:"space-y-4",children:[(0,V.jsxs)("div",{children:[(0,V.jsxs)("div",{className:"flex items-center justify-between mb-2",children:[(0,V.jsx)("span",{className:"text-sm text-gray-400",children:"Total Articles"}),(0,V.jsx)("span",{className:"text-sm font-semibold text-white",children:p.totalArticles})]}),(0,V.jsx)("div",{className:"h-2 bg-white/5 rounded-full overflow-hidden",children:(0,V.jsx)("div",{className:"h-full w-full bg-gradient-to-r from-cyan-500 to-blue-500 rounded-full"})})]}),(0,V.jsxs)("div",{children:[(0,V.jsxs)("div",{className:"flex items-center justify-between mb-2",children:[(0,V.jsx)("span",{className:"text-sm text-gray-400",children:"Saved Articles"}),(0,V.jsx)("span",{className:"text-sm font-semibold text-white",children:p.savedArticles})]}),(0,V.jsx)("div",{className:"h-2 bg-white/5 rounded-full overflow-hidden",children:(0,V.jsx)("div",{className:"h-full bg-gradient-to-r from-amber-500 to-orange-500 rounded-full transition-all duration-500",style:{width:`${p.totalArticles>0?p.savedArticles/p.totalArticles*100:0}%`}})})]}),(0,V.jsxs)("div",{children:[(0,V.jsxs)("div",{className:"flex items-center justify-between mb-2",children:[(0,V.jsx)("span",{className:"text-sm text-gray-400",children:"Avg. Read Time"}),(0,V.jsxs)("span",{className:"text-sm font-semibold text-white",children:[p.avgReadTime," min"]})]}),(0,V.jsx)("div",{className:"h-2 bg-white/5 rounded-full overflow-hidden",children:(0,V.jsx)("div",{className:"h-full w-[65%] bg-gradient-to-r from-violet-500 to-purple-500 rounded-full"})})]})]})]})]})]})]}),(0,V.jsx)(Nq,{}),(0,V.jsx)(xd,{children:a&&(0,V.jsx)(yt.div,{initial:{opacity:0}
82,animate:{opacity:1},exit:{opacity:0},className:"fixed inset-0 bg-black/60 backdrop-blur-sm flex items-center justify-center z-50 p-4",onClick:()=>n(!1),children:(0,V.jsxs)(yt.div,{initial:{scale:.9,opacity:0},animate:{scale:1,opacity:1},exit:{scale:.9,opacity:0},className:"bg-gray-900/98 border-2 border-violet-500/40 rounded-2xl p-8 max-w-lg w-full shadow-2xl shadow-violet-500/60 backdrop-blur-xl",onClick:S=>S.stopPropagation(),children:[(0,V.jsxs)("div",{className:"flex items-center justify-between mb-6",children:[(0,V.jsx)("h2",{className:"text-2xl font-bold text-white flex items-center gap-3",children:u?(0,V.jsxs)(V.Fragment,{children:[(0,V.jsx)(An,{className:"w-7 h-7 text-blue-400"}),"Edit RSS Feed"]}):(0,V.jsxs)(V.Fragment,{children:[(0,V.jsx)(Tn,{className:"w-7 h-7 text-violet-400"}),"Add Custom RSS Feed"]})}),(0,V.jsx)("button",{onClick:()=>{n(!1),d(null)},className:"p-2 rounded-lg bg-white/5 hover:bg-white/10 transition-all",children:(0,V.jsx)(Pi,{className:"w-5 h-5"})})]}),(0,V.jsxs)("div",{className:"space-y-4",children:[(0,V.jsxs)("div",{children:[(0,V.jsx)("label",{className:"block text-sm font-medium text-gray-400 mb-2",children:"Feed Name"}),(0,V.jsx)("input",{type:"text",value:o.name,onChange:S=>i({...o,name:S.target.value}),placeholder:"e.g., TechCrunch",className:"w-full px-4 py-3 rounded-xl bg-white/5 border-2 border-white/20 text-white placeholder-gray-500 focus:outline-none focus:border-violet-500/80 focus:shadow-lg focus:shadow-violet-500/50 transition-all duration-300"})]}),(0,V.jsxs)("div",{children:[(0,V.jsx)("label",{className:"block text-sm font-medium text-gray-400 mb-2",children:"RSS Feed URL"}),(0,V.jsx)("input",{type:"url",value:o.url,onChange:S=>i({...o,url:S.target.value}),placeholder:"https://example.com/feed.xml",className:"w-full px-4 py-3 rounded-xl bg-white/5 border-2 border-white/20 text-white placeholder-gray-500 focus:outline-none focus:border-violet-500/80 focus:shadow-lg focus:shadow-violet-500/50 transition-all duration-300"})]}),(0,V.jsxs)("div",{children:[(0,V.jsx)("label",{className:"block text-sm font-medium text-gray-400 mb-2",children:"Category"}),(0,V.jsxs)("select",{value:o.category,onChange:S=>i({...o,category:S.target.value}),className:"w-full px-4 py-3 rounded-xl bg-white/5 border-2 border-white/20 text-white focus:outline-none focus:border-violet-500/80 focus:shadow-lg focus:shadow-violet-500/50 transition-all duration-300",children:[(0,V.jsx)("option",{value:"tech",className:"bg-gray-900",children:"Technology"}),(0,V.jsx)("option",{value:"news",className:"bg-gray-900",children:"News"}),(0,V.jsx)("option",{value:"lifestyle",className:"bg-gray-900",children:"Lifestyle"})]})]}),(0,V.jsxs)("div",{children:[(0,V.jsx)("label",{className:"block text-sm font-medium text-gray-400 mb-2",children:"Icon (Emoji)"}),(0,V.jsx)("input",{type:"text",value:o.icon,onChange:S=>i({...o,icon:S.target.value}),placeholder:"\u{1F4F0}",maxLength:2,className:"w-full px-4 py-3 rounded-xl bg-white/5 border-2 border-white/20 text-white placeholder-gray-500 focus:outline-none focus:border-violet-500/80 focus:shadow-lg focus:shadow-violet-500/50 transition-all duration-300"})]}),(0,V.jsxs)("div",{children:[(0,V.jsx)("label",{className:"block text-sm font-medium text-gray-400 mb-2",children:"Description (Optional)"}),(0,V.jsx)("textarea",{value:o.description,onChange:S=>i({...o,description:S.target.value}),placeholder:"Brief description of the feed...",rows:3,className:"w-full px-4 py-3 rounded-xl bg-white/5 border-2 border-white/20 text-white placeholder-gray-500 focus:outline-none focus:border-violet-500/80 focus:shadow-lg focus:shadow-violet-500/50 transition-all duration-300 resize-none"})]})]}),(0,V.jsxs)("div",{className:"flex gap-3 mt-6",children:[(0,V.jsx)("button",{onClick:()=>{n(!1),d(null)},className:"flex-1 px-4 py-3 rounded-xl bg-white/5 hover:bg-white/10 border-2 border-white/20 hover:border-white/40 transition-all duration-300 text-white font-medium hover:shadow-lg hover:shadow-white/20",children:"Cancel"}),(0,V.jsx)("button",{onClick:y,disabled:s,className:"flex-1 px-4 py-3 rounded-xl bg-violet-500/30 hover:bg-violet-500/40 border-2 border-violet-500/60 hover:border-violet-500/100 transition-all duration-300 text-violet-300 font-bold shadow-xl shadow-violet-500/50 hover:shadow-2xl hover:shadow-violet-500/80 disabled:opacity-50 disabled:cursor-not-allowed flex items-center justify-center gap-2 hover:scale-105",children:s?(0,V.jsxs)(V.Fragment,{children:[(0,V.jsx)(Ii,{className:"w-5 h-5 animate-spin"}),u?"Updating...":"Creating..."]}):(0,V.jsxs)(V.Fragment,{children:[(0,V.jsx)(Li,{className:"w-5 h-5"}),u?"Update Feed":"Add Feed"]})})]}),(0,V.jsx)("div",{className:"mt-6 p-4 rounded-xl bg-violet-500/20 border-2 border-violet-500/40 shadow-lg shadow-violet-500/30",children:(0,V.jsxs)("p",{className:"text-sm text-violet-200",children:[(0,V.jsx)("strong",{className:"text-violet-100",children:"What happens next:"})," Your feed will be added to the RSS Feeds Database and monitored hourly for new articles."]})})]})})})]})}var is=D(K());var Vme=Math.pow(10,8)*24*60*60*1e3,Lze=-Vme;var bp=43200,UL=1440;var qme=3600;var jq=qme*24,Ize=jq*7,zme=jq*365.2425,Hme=zme/12,Pze=Hme*3,VL=Symbol.for("constructDateFrom");function Fu(e,t){return typeof e=="function"?e(t):e&&typeof e=="object"&&VL in e?e[VL](t):e instanceof Date?new e.constructor(t):new Date(t)}function pr(e,t){return Fu(t||e,e)}var Wme={};function Uq(){return Wme}function qL(e){let t=pr(e),r=new Date(Date.UTC(t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()));return r.setUTCFullYear(t.getFullYear()),+e-+r}function Bu(e,...t){let r=Fu.bind(null,e||t.find(a=>typeof a=="object"));return t.map(r)}function ju(e,t){let r=+pr(e)-+pr(t);return r<0?-1:r>0?1:r}function Vq(e){return Fu(e,Date.now())}function qq(e,t,r){let[a,n]=Bu(r?.in,e,t),o=a.getFullYear()-n.getFullYear(),i=a.getMonth()-n.getMonth();return o*12+i}function zq(e){return t=>{let a=(e?Math[e]:Math.trunc)(t);return a===0?0:a}}function Hq(e,t){return+pr(e)-+pr(t)}function Wq(e,t){let r=pr(e,t?.in);return r.setHours(23,59,59,999),r}function Gq(e,t){let r=pr(e,t?.in),a=r.getMonth();return r.setFullYear(r.getFullYear(),a+1,0),r.setHours(23,59,59,999),r}function $q(e,t){let r=pr(e,t?.in);return+Wq(r,t)==+Gq(r,t)}function Xq(e,t,r){let[a,n,o]=Bu(r?.in,e,e,t),i=ju(n,o),s=Math.abs(qq(n,o));if(s<1)return 0;n.getMonth()===1&&n.getDate()>27&&n.setDate(30),n.setMonth(n.getMonth()-i*s);let l=ju(n,o)===-i;$q(a)&&s===1&&ju(a,o)===1&&(l=!1);let u=i*(s-+l);return u===0?0:u}function Kq(e,t,r){let a=Hq(e,t)/1e3;return zq(r?.roundingMethod)(a)}var Gme={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},Yq=(e,t,r)=>{let a,n=Gme[e];return typeof n=="string"?a=n:t===1?a=n.one:a=n.other.replace("{{count}}",t.toString()),r?.addSuffix?r.comparison&&r.comparison>0?"in "+a:a+" ago":a};function $y(e){return(t={})=>{let r=t.width?String(t.width):e.defaultWidth;return e.formats[r]||e.formats[e.defaultWidth]}}var $me={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},Xme={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},Kme={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},Qq={date:$y({formats:$me,defaultWidth:"full"}),time:$y({formats:Xme,defaultWidth:"full"}),dateTime:$y({formats:Kme,defaultWidth:"full"})};var Yme={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},Zq=(e,t,r,a)=>Yme[e];function Uu(e){return(t,r)=>{let a=r?.context?String(r.context):"standalone",n;if(a==="formatting"&&e.formattingValues){let i=e.defaultFormattingWidth||e.defaultWidth,s=r?.width?String(r.width):i;n=e.formattingValues[s]||e.formattingValues[i]}else{let i=e.defaultWidth,s=r?.width?String(r.width):e.defaultWidth;n=e.values[s]||e.values[i]}let o=e.argumentCallback?e.argumentCallback(t):t;return n[o]}}var Qme={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},Zme={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},Jme={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},ehe={narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Frid
82ay","Saturday"]},the={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},rhe={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},ahe=(e,t)=>{let r=Number(e),a=r%100;if(a>20||a<10)switch(a%10){case 1:return r+"st";case 2:return r+"nd";case 3:return r+"rd"}return r+"th"},Jq={ordinalNumber:ahe,era:Uu({values:Qme,defaultWidth:"wide"}),quarter:Uu({values:Zme,defaultWidth:"wide",argumentCallback:e=>e-1}),month:Uu({values:Jme,defaultWidth:"wide"}),day:Uu({values:ehe,defaultWidth:"wide"}),dayPeriod:Uu({values:the,defaultWidth:"wide",formattingValues:rhe,defaultFormattingWidth:"wide"})};function Vu(e){return(t,r={})=>{let a=r.width,n=a&&e.matchPatterns[a]||e.matchPatterns[e.defaultMatchWidth],o=t.match(n);if(!o)return null;let i=o[0],s=a&&e.parsePatterns[a]||e.parsePatterns[e.defaultParseWidth],l=Array.isArray(s)?ohe(s,c=>c.test(i)):nhe(s,c=>c.test(i)),u;u=e.valueCallback?e.valueCallback(l):l,u=r.valueCallback?r.valueCallback(u):u;let d=t.slice(i.length);return{value:u,rest:d}}}function nhe(e,t){for(let r in e)if(Object.prototype.hasOwnProperty.call(e,r)&&t(e[r]))return r}function ohe(e,t){for(let r=0;r<e.length;r++)if(t(e[r]))return r}function ez(e){return(t,r={})=>{let a=t.match(e.matchPattern);if(!a)return null;let n=a[0],o=t.match(e.parsePattern);if(!o)return null;let i=e.valueCallback?e.valueCallback(o[0]):o[0];i=r.valueCallback?r.valueCallback(i):i;let s=t.slice(n.length);return{value:i,rest:s}}}var ihe=/^(\d+)(th|st|nd|rd)?/i,she=/\d+/i,lhe={narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},uhe={any:[/^b/i,/^(a|c)/i]},che={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},dhe={any:[/1/i,/2/i,/3/i,/4/i]},fhe={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},phe={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},mhe={narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},hhe={narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},ghe={narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},vhe={any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},tz={ordinalNumber:ez({matchPattern:ihe,parsePattern:she,valueCallback:e=>parseInt(e,10)}),era:Vu({matchPatterns:lhe,defaultMatchWidth:"wide",parsePatterns:uhe,defaultParseWidth:"any"}),quarter:Vu({matchPatterns:che,defaultMatchWidth:"wide",parsePatterns:dhe,defaultParseWidth:"any",valueCallback:e=>e+1}),month:Vu({matchPatterns:fhe,defaultMatchWidth:"wide",parsePatterns:phe,defaultParseWidth:"any"}),day:Vu({matchPatterns:mhe,defaultMatchWidth:"wide",parsePatterns:hhe,defaultParseWidth:"any"}),dayPeriod:Vu({matchPatterns:ghe,defaultMatchWidth:"any",parsePatterns:vhe,defaultParseWidth:"any"})};var zL={code:"en-US",formatDistance:Yq,formatLong:Qq,formatRelative:Zq,localize:Jq,match:tz,options:{weekStartsOn:0,firstWeekContainsDate:1}};function rz(e,t,r){let a=Uq(),n=r?.locale??a.locale??zL,o=2520,i=ju(e,t);if(isNaN(i))throw new RangeError("Invalid time value");let s=Object.assign({},r,{addSuffix:r?.addSuffix,comparison:i}),[l,u]=Bu(r?.in,...i>0?[t,e]:[e,t]),d=Kq(u,l),c=(qL(u)-qL(l))/1e3,f=Math.round((d-c)/60),p;if(f<2)return r?.includeSeconds?d<5?n.formatDistance("lessThanXSeconds",5,s):d<10?n.formatDistance("lessThanXSeconds",10,s):d<20?n.formatDistance("lessThanXSeconds",20,s):d<40?n.formatDistance("halfAMinute",0,s):d<60?n.formatDistance("lessThanXMinutes",1,s):n.formatDistance("xMinutes",1,s):f===0?n.formatDistance("lessThanXMinutes",1,s):n.formatDistance("xMinutes",f,s);if(f<45)return n.formatDistance("xMinutes",f,s);if(f<90)return n.formatDistance("aboutXHours",1,s);if(f<UL){let v=Math.round(f/60);return n.formatDistance("aboutXHours",v,s)}else{if(f<o)return n.formatDistance("xDays",1,s);if(f<bp){let v=Math.round(f/UL);return n.formatDistance("xDays",v,s)}else if(f<bp*2)return p=Math.round(f/bp),n.formatDistance("aboutXMonths",p,s)}if(p=Xq(u,l),p<12){let v=Math.round(f/bp);return n.formatDistance("xMonths",v,s)}else{let v=p%12,m=Math.trunc(p/12);return v<3?n.formatDistance("aboutXYears",m,s):v<9?n.formatDistance("overXYears",m,s):n.formatDistance("almostXYears",m+1,s)}}function Xy(e,t){return rz(e,Vq(e),t)}var az=D(K()),Pe=D(Me());function HL({isOpen:e,onClose:t,article:r}){return(0,az.useEffect)(()=>{let a=n=>{n.key==="Escape"&&t()};return e&&(document.addEventListener("keydown",a),document.body.style.overflow="hidden"),()=>{document.removeEventListener("keydown",a),document.body.style.overflow="unset"}},[e,t]),r?(0,Pe.jsx)(xd,{children:e&&(0,Pe.jsxs)(Pe.Fragment,{children:[(0,Pe.jsx)(yt.div,{initial:{opacity:0}
82,animate:{opacity:1},exit:{opacity:0},onClick:t,className:"fixed inset-0 bg-black/80 backdrop-blur-sm z-50"}),(0,Pe.jsx)(yt.div,{initial:{opacity:0,scale:.95,y:20},animate:{opacity:1,scale:1,y:0},exit:{opacity:0,scale:.95,y:20},transition:{duration:.2},className:"fixed inset-4 md:inset-8 lg:inset-16 z-50 flex items-center justify-center",children:(0,Pe.jsxs)("div",{className:"w-full max-w-4xl max-h-full bg-gradient-to-br from-gray-900 via-gray-800 to-gray-900 rounded-2xl border border-white/10 shadow-2xl overflow-hidden flex flex-col",children:[(0,Pe.jsxs)("div",{className:"flex items-start justify-between p-6 border-b border-white/10 bg-white/5 backdrop-blur-xl rounded-t-2xl",children:[(0,Pe.jsxs)("div",{className:"flex-1 pr-4",children:[(0,Pe.jsx)("h2",{className:"text-2xl font-bold text-white mb-3 leading-tight",children:r.title}),(0,Pe.jsxs)("div",{className:"flex flex-wrap items-center gap-4 text-sm text-gray-400",children:[(0,Pe.jsxs)("div",{className:"flex items-center gap-1",children:[(0,Pe.jsx)(Ci,{className:"w-4 h-4"}),new Date(r.pubDate).toLocaleDateString()]}),(0,Pe.jsxs)("div",{className:"flex items-center gap-1",children:[(0,Pe.jsx)(kn,{className:"w-4 h-4"}),Xy(new Date(r.pubDate),{addSuffix:!0})]}),(0,Pe.jsx)("span",{className:`px-2 py-0.5 rounded-full text-xs font-medium capitalize ${r.category==="Technology"?"bg-violet-500/20 text-violet-400":r.category==="News"?"bg-emerald-500/20 text-emerald-400":"bg-amber-500/20 text-amber-400"}`,children:r.category}),(0,Pe.jsx)("span",{className:"text-violet-400 font-medium",children:r.source})]})]}),(0,Pe.jsx)("button",{onClick:t,className:"flex-shrink-0 p-2 rounded-xl bg-white/5 hover:bg-white/10 border border-white/10 transition-all",children:(0,Pe.jsx)(Pi,{className:"w-5 h-5 text-gray-400"})})]}),(0,Pe.jsx)("div",{className:"flex-1 overflow-y-auto p-6 md:p-8",children:(0,Pe.jsx)("div",{className:"prose prose-invert prose-lg max-w-none",children:(0,Pe.jsx)("div",{className:"text-gray-300 leading-relaxed whitespace-pre-wrap",children:r.content})})}),(0,Pe.jsx)("div",{className:"p-6 border-t border-white/10 bg-white/5 backdrop-blur-xl rounded-b-2xl",children:(0,Pe.jsxs)("div",{className:"flex items-center justify-between",children:[(0,Pe.jsx)("p",{className:"text-sm text-gray-400",children:"Article stored in Taskade for safekeeping"}),(0,Pe.jsx)("button",{onClick:t,className:"px-4 py-2 rounded-xl bg-violet-500/20 hover:bg-violet-500/30 text-violet-400 font-medium transition-all",children:"Close"})]})})]})})]})}):null}var le=D(Me()),yhe={TechCrunch:"fo3jB7fq3hnMBCpi","Hacker News":"twbUQy164YA4RWNP","The Verge":"npxDtmWcEo1qhW7h","BBC News":"i7Bm2gytj7dzaPKu",CNN:"c2g12XQYjeSnWDsz",Reuters:"4qnQETXaDPJD4FEh","Bon App\xE9tit":"Eusi9GmCmBXMukGt",Vogue:"HCr6qQi3z38paaQH",GQ:"PCWwAFvm89ATM4iy"};function WL(){let{feedName:e}=Pw(),[t,r]=(0,is.useState)([]),[a,n]=(0,is.useState)(!0),[o,i]=(0,is.useState)(null),[s,l]=(0,is.useState)(!1);(0,is.useEffect)(()=>{d()},[e]);let u=f=>{let p={TechCrunch:{category:"Technology",titles:["AI Breakthrough: New Model Achieves Human-Level Reasoning","Quantum Computing Reaches Major Milestone in Error Correction","Apple Announces Revolutionary AR Glasses for 2025","Tesla Unveils Next-Gen Battery Technology","Google DeepMind Solves Complex Protein Folding Challenge","Meta Launches Open-Source AI Assistant Platform","SpaceX Successfully Tests Reusable Rocket System","Revolutionary Brain-Computer Interface Enables Direct Thought Control","Microsoft Unveils Windows 12 with Native AI Integration","NVIDIA Announces RTX 6090: 10x Performance Leap for AI Workloads"],content:[`Researchers have achieved a groundbreaking milestone in artificial intelligence, developing a model that demonstrates human-level reasoning across diverse cognitive tasks. The system can solve complex problems, understand context, and make nuanced decisions.
83
84This advancement represents years of research in neural architecture and training methodologies. The implications for scientific research, healthcare, and automation are profound. Industry experts predict this will accelerate AI adoption across all sectors.`,`Scientists at leading quantum computing labs have successfully demonstrated error correction at scale, bringing practical quantum computers closer to reality. The breakthrough uses novel topological qubits that maintain coherence for extended periods.
85
86This achievement solves one of quantum computing's biggest challenges. Commercial applications in drug discovery, cryptography, and optimization are now within reach. The technology could revolutionize computing within the next decade.`,`Apple has unveiled its long-awaited AR glasses, featuring breakthrough display technology and all-day battery life. The lightweight design integrates seamlessly with the Apple ecosystem, offering immersive experiences for work and entertainment.
87
88The glasses use advanced waveguide optics and spatial computing to overlay digital content on the real world. Pre-orders have already exceeded expectations. This marks Apple's boldest hardware innovation since the iPhone.`,`Tesla has announced a revolutionary battery technology that doubles energy density while reducing costs by 50%. The new cells use solid-state electrolytes and silicon anodes, enabling 1000-mile range for electric vehicles.
89
90Production begins next year at Tesla's new gigafactory. The technology will also power grid-scale energy storage. This breakthrough could accelerate the global transition to sustainable energy.`,`Google DeepMind has solved the protein folding problem with unprecedented accuracy, enabling rapid drug discovery and disease understanding. The AI system predicts 3D protein structures from amino acid sequences in minutes.
91
92This achievement has immediate applications in medicine and biotechnology. Researchers worldwide are already using the tool to develop new treatments. The impact on human health could be transformative.`,`Meta has released an open-source AI assistant platform that rivals proprietary systems. The framework allows developers to build custom AI agents with advanced reasoning and multimodal capabilities.
93
94The move democratizes AI development and challenges the dominance of closed systems. Thousands of developers have already adopted the platform. This could reshape the AI landscape toward more open innovation.`,`SpaceX has successfully tested its fully reusable rocket system, landing both stages after orbital flight. The achievement dramatically reduces launch costs and makes space more accessible.
95
96The technology enables rapid reusability with minimal refurbishment. Commercial satellite operators are already booking flights. This marks a new era in space transportation.`,`A breakthrough brain-computer interface allows users to control devices through thought alone. The non-invasive system uses advanced neural decoding with 98% accuracy.
97
98Applications include assistive technology for paralyzed patients and productivity tools. Consumer release planned for late 2025. This technology could redefine human-computer interaction.`,`Windows 12 features AI deeply integrated into every aspect of the OS. The system can automate workflows, predict user needs, and optimize performance in real-time.
99
100Voice control works offline with on-device processing. The OS runs 30% faster than Windows 11. Free upgrade available for existing users starting March 2025.`,`NVIDIA's RTX 6090 delivers unprecedented AI performance with 24,576 CUDA cores and 96GB memory. The card enables real-time AI content generation and local LLM execution.
101
102Priced at $1,999, it targets creators and AI developers. Pre-orders sold out in minutes. This represents a quantum leap in consumer GPU capabilities.`]},"Hacker News":{category:"Technology",titles:["Show HN: I Built a Distributed Database in Rust","Ask HN: Best Practices for Scaling Microservices?","New Programming Language Promises Zero-Cost Abstractions","The Future of Web Development: WASM vs JavaScript","How We Reduced Our Cloud Costs by 80%","Building a Real-Time Collaborative Editor","Understanding Distributed Systems: A Deep Dive","Show HN: Real-Time Collaborative Whiteboard 
102with E2E Encryption","The Hidden Costs of Microservices: A Postmortem","Rust for JavaScript Developers: A Practical Guide"],content:[`After 2 years of development, I've built a distributed database in Rust that handles 1M writes/sec. The system uses Raft consensus and custom storage engine optimized for SSDs.
103
104Key features include automatic sharding, real-time replication, and ACID transactions. The codebase is open source and production-ready. Looking for early adopters and contributors.`,`Our startup is scaling from 10 to 100 services. What are the best practices for service discovery, monitoring, and deployment? How do you handle distributed tracing and debugging?
105
106Top answer: Start with a service mesh like Istio. Implement distributed tracing with OpenTelemetry. Use feature flags for gradual rollouts. Most importantly, invest in observability from day one.`,`A new systems programming language combines Rust's safety with C++'s performance. Zero-cost abstractions mean no runtime overhead. The compiler catches memory bugs at compile time.
107
108Early benchmarks show performance matching hand-optimized C. The syntax is familiar to C++ developers. This could be the next evolution in systems programming.`,`WebAssembly is maturing rapidly with component model and WASI. Major frameworks now compile to WASM for edge computing. Performance is within 5% of native code.
109
110JavaScript still dominates for DOM manipulation. But WASM excels at compute-intensive tasks. The future likely involves both technologies working together.`,`We cut our AWS bill from $500K to $100K monthly by optimizing our architecture. Key changes: right-sizing instances, using spot instances, and implementing aggressive caching.
111
112We also moved static assets to CDN and optimized database queries. The performance actually improved. Detailed breakdown and code examples in the article.`,`Built a collaborative editor using CRDTs for conflict-free merging. The system handles thousands of concurrent users with sub-100ms latency. WebRTC enables peer-to-peer sync.
113
114The architecture uses Yjs for CRDT implementation and WebSocket fallback. Open source and self-hostable. This solves real-time collaboration at scale.`,`Comprehensive guide to distributed systems covering consensus algorithms, replication strategies, and failure handling. Explains CAP theorem with practical examples.
115
116Covers Raft, Paxos, and vector clocks in depth. Includes code samples and architecture diagrams. Essential reading for backend engineers.`,`Built a collaborative whiteboard with end-to-end encryption using WebRTC and CRDTs. All data is encrypted using Signal protocol. The server can't read your content.
117
118Supports unlimited participants and infinite canvas. Works offline with automatic sync. Open source (MIT license) and looking for contributors.`,`After 3 years of microservices, we're moving back to a modular monolith. The distributed complexity wasn't worth it for our 15-person team. Debugging was a nightmare.
119
120The new monolith uses DDD with clear module boundaries. We kept benefits like independent deployments via feature flags. Performance improved 5x, costs down 60%.`,`Comprehensive guide for JS developers learning Rust. Covers ownership through familiar concepts like closures. Shows how to build a REST API comparing Express to Actix-web.
121
122Key insights: borrow checker is like TypeScript for memory. Error handling with Result is similar to Promise rejection. The learning curve is steep but worth it.`]},"The Verge":{category:"Technology",titles:["Microsoft Integrates Advanced AI into Office Suite","New Chip Architecture Promises 10x Performance Boost","Breakthrough in Fusion Energy Brings Clean Power Closer","Samsung Unveils Foldable Phone with Revolutionary Display","The Future of Gaming: Cloud vs Local Hardware","Apple Vision Pro: Six Months Later Review","Electric Vehicles Hit New Range Milestone","Samsung Galaxy S25 Ultra Review: The Camera King Returns","Nintendo Switch 2 Hands-On: A Generational Leap","Sonos Era 500: The Best Smart Speaker Gets Even Better"],content:Array(10).fill(`Detailed review content with hands-on impressions, technical specifications, and expert analysis. The product delivers on its promises with innovative features and s
122olid performance.
123
124Pricing is competitive for the category. Build quality exceeds expectations. This sets a new standard for the industry and will influence future products.`)},"BBC News":{category:"News",titles:["Global Climate Summit Reaches Historic Agreement","Economic Recovery Shows Strong Signs of Growth","Major Breakthrough in Cancer Treatment Research","International Space Station Welcomes New Crew","Renewable Energy Surpasses Fossil Fuels in Key Markets","Historic Peace Agreement Signed in Middle East","New Education Initiative Aims to Bridge Digital Divide","Scientists Achieve Nuclear Fusion Breakthrough","Global Ocean Cleanup Removes 10 Million Tons of Plastic","International Space Agencies Unite for Mars Colony"],content:Array(10).fill(`World leaders have announced a landmark agreement addressing global challenges. The comprehensive framework includes concrete targets and enforcement mechanisms.
125
126Experts praise the collaborative approach and ambitious goals. Implementation begins immediately with international cooperation. This represents a turning point in global policy.`)},CNN:{category:"News",titles:["Breaking: Major Policy Announcement Expected Today","Markets React to Federal Reserve Decision","International Summit Addresses Global Challenges","New Study Reveals Surprising Health Benefits","Technology Giants Face Regulatory Scrutiny","Climate Action Plan Unveiled by Coalition","Education Reform Proposal Gains Momentum","Antarctic Ice Sheet Collapse Accelerates","Global Food Crisis Averted by Vertical Farming","Artificial General Intelligence Declared Achieved"],content:Array(10).fill(`Breaking news developments continue to unfold as officials respond to the evolving situation. Stakeholders from multiple sectors are closely monitoring the implications.
127
128Analysts suggest this could have far-reaching consequences. Public reaction has been mixed with calls for further action. Updates will be provided as more information becomes available.`)},Reuters:{category:"News",titles:["Markets Rally on Positive Economic Data","Central Banks Coordinate Response to Inflation","Major Merger Reshapes Tech Industry Landscape","Energy Crisis: Nations Seek Alternative Solutions","Currency Markets React to Policy Changes","Global Supply Chain Shows Signs of Recovery","Investment Trends: Where Money Is Moving in 2025","Tech Giants Face $500B Antitrust Penalties","Cryptocurrency Regulation Framework Adopted","Global Supply Chain Fully Automated with AI"],content:Array(10).fill(`Financial markets responded positively to the latest economic indicators and policy announcements. Trading volumes increased significantly across major exchanges.
129
130Investors are repositioning portfolios based on the new outlook. Analysts project continued momentum in key sectors. The implications for global trade and investment are substantial.`)},"Bon App\xE9tit":{category:"Lifestyle",titles:["The Perfect Sourdough: Step-by-Step Guide","Seasonal Cooking: Farm-to-Table Recipes","Kitchen Equipment: What's Worth the Investment","Food Science: Understanding Flavor Chemistry","International Cuisine: Authentic Techniques","Meal Prep Mastery: Save Time and Money","Baking Fundamentals: From Beginner to Pro","Fermentation 101: Mastering Kombucha and Kimchi","Restaurant-Quality Pasta at Home","Zero-Waste Cooking: Using Every Ingredient"],content:Array(10).fill(`Master this essential cooking technique with our comprehensive guide. Professional chefs share their secrets for achieving perfect results every time.
131
132The key is understanding the science behind the process. Quality ingredients make a significant difference. With practice, you'll create restaurant-quality dishes at home.`)},Vogue:{category:"Lifestyle",titles:["Spring Fashion Trends: What to Wear Now","Beauty Secrets from Celebrity Makeup Artists","Sustainable Fashion: Luxury Meets Responsibility","The Return of Vintage: Shopping Guide","Skincare Routine: Expert Recommendations","Jewelry Trends: Investment Pieces","Fashion Week Highlights: Runway to Reality","Capsule Wardrobe 2025: 30 Pieces for Endless Outfits","Vintage Shopping Guide: Finding Designer Gems","The 10-Step Korean Skincare Routine"],content:Array(10).fill(`This season's trends blend timeless elegance with modern innovation. Designers are pushing boundaries while honoring classic silhouettes.
133
134Sustainability and craftsmanship take center stage. Investment pieces that transcend seasons are the focus. Style is about personal expression and confidence.`)},GQ:{category:"Lifestyle",titles:["Style Guide: Essential Wardrobe Pieces","Grooming Routine: Expert Recommendations","Fitness Trends That Are Here to Stay","Watch Collecting: Investment Pieces","Travel Destinations: Hidden Gems","Career Success: Leadership Lessons","Modern Gentleman: Etiquette for Today","Watch Collecting 101: Investment Under $10K","The Gentleman's Guide to Tailoring","Whiskey Appreciation: Building a Home Bar"],content:Array(10).fill(`Elevate your lifestyle with these expert insights and practical advice. Quality and craftsmanship matter more than trends.
135
136Invest in timeless pieces that reflect your personal style. Attention to detail makes all the difference. Master the fundamentals and build from there.`)}},v=p[f]||p.TechCrunch,m=Date.now();return v.titles.map((w,h)=>({id:`mock-${f}-${h}`,title:w,content:v.content[h]||v.content[0],pubDate:new Date(m-(
136h+1)*3*60*60*1e3).toISOString(),category:v.category,source:f,projectId:"demo"}))},d=async()=>{console.log("\u{1F50D} Fetching articles for feed:",e);try{let f=yhe[e||""],p=u(e||"");r(p),n(!1);return}catch(f){console.error("Error fetching articles:",f);let p=u(e||"");r(p)}finally{n(!1)}},c=f=>{i(f),l(!0)};return(0,le.jsxs)("div",{className:"min-h-screen bg-gradient-to-br from-gray-900 via-gray-800 to-gray-900 relative",children:[(0,le.jsx)(wp,{}),(0,le.jsx)(HL,{isOpen:s,onClose:()=>l(!1),article:o}),(0,le.jsxs)("div",{className:"max-w-5xl mx-auto p-6 relative z-10",children:[(0,le.jsxs)("div",{className:"flex items-center gap-4 mb-6",children:[(0,le.jsx)(Vc,{to:"/",className:"p-2 rounded-lg bg-white/5 hover:bg-white/10 border border-white/10 transition-all",children:(0,le.jsx)(Si,{className:"w-5 h-5"})}),(0,le.jsxs)("div",{children:[(0,le.jsx)("h1",{className:"text-3xl font-bold text-white",children:e}),(0,le.jsxs)("p",{className:"text-gray-400 mt-1",children:[t.length," articles"]})]})]}),(0,le.jsx)("div",{className:"mb-8 p-6 rounded-2xl bg-gradient-to-br from-violet-500/20 to-purple-500/20 border border-violet-400/30 backdrop-blur-xl shadow-lg shadow-violet-500/10",children:(0,le.jsxs)("div",{className:"flex items-start gap-4",children:[(0,le.jsx)("div",{className:"flex-shrink-0 w-12 h-12 rounded-xl bg-violet-500/30 flex items-center justify-center ring-2 ring-violet-400/20",children:(0,le.jsx)("svg",{className:"w-6 h-6 text-violet-300",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:(0,le.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M13 16h-1v-4h-1m1-4h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z"})})}),(0,le.jsxs)("div",{className:"flex-1",children:[(0,le.jsxs)("h3",{className:"text-lg font-bold text-violet-300 mb-2 flex items-center gap-2",children:["Demo Content",(0,le.jsx)("span",{className:"px-2 py-0.5 text-xs font-semibold bg-violet-500/30 text-violet-200 rounded-full",children:"Preview Mode"})]}),(0,le.jsxs)("p",{className:"text-base text-gray-300 leading-relaxed",children:["These are AI-generated demo articles to showcase the app. ",(0,le.jsx)("span",{className:"text-violet-300 font-medium",children:"Connect your RSS feeds"})," or ",(0,le.jsx)("span",{className:"text-violet-300 font-medium",children:"configure automation workflows"})," to pull real articles from your favorite sources."]})]})]})}),a?(0,le.jsx)("div",{className:"flex items-center justify-center h-64",children:(0,le.jsx)("div",{className:"w-8 h-8 border-2 border-violet-500 border-t-transparent rounded-full animate-spin"})}):t.length===0?(0,le.jsxs)("div",{className:"text-center py-16",children:[(0,le.jsx)("div",{className:"w-16 h-16 mx-auto mb-4 rounded-2xl bg-white/5 flex items-center justify-center",children:(0,le.jsx)("svg",{className:"w-8 h-8 text-gray-500",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:(0,le.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M19 20H5a2 2 0 01-2-2V6a2 2 0 012-2h10a2 2 0 012 2v1m2 13a2 2 0 01-2-2V7m2 13a2 2 0 002-2V9a2 2 0 00-2-2h-2m-4-3H9M7 16h6M7 8h6v4H7V8z"})})}),(0,le.jsx)("h3",{className:"text-lg font-semibold text-white mb-2",children:"No Articles Yet"}),(0,le.jsxs)("p",{className:"text-gray-400 max-w-md mx-auto",children:["Configure your RSS feeds or set up automation workflows to start collecting articles from ",e,"."]})]}):(0,le.jsx)("div",{className:"space-y-4",children:t.map((f,p)=>(0,le.jsx)(yt.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.3,delay:p*.05},onClick:()=>c(f),className:"group p-6 rounded-2xl border backdrop-blur-xl transition-all cursor-pointer bg-white/[0.03] border-white/[0.12] hover:border-violet-500/60 hover:shadow-2xl hover:shadow-violet-500/30",children:(0,le.jsxs)("div",{className:"flex items-start justify-between gap-4",children:[(0,le.jsxs)("div",{className:"flex-1",children:[(0,le.jsx)("h3",{className:"text-lg font-semibold text-white mb-2 group-hover:text-violet-400 transition-colors",children:f.title}),(0,le.jsxs)("div",{className:"flex items-center gap-4 text-sm text-gray-400",children:[(0,le.jsxs)("div",{className:"flex items-center gap-1",children:[(0,le.jsx)(Ci,{className:"w-4 h-4"}),new Date(f.pubDate).toLocaleDateString()]}),(0,le.jsxs)("div",{className:"flex items-center gap-1",children:[(0,le.jsx)(kn,{className:"w-4 h-4"}),Xy(new Date(f.pubDate),{addSuffix:!0})]}),(0,le.jsx)("span",{className:`px-2 py-0.5 rounded-full text-xs font-medium capitalize ${f.category==="Technology"?"bg-violet-500/20 text-violet-400":f.category==="News"?"bg-emerald-500/20 text-emerald-400":"bg-amber-500/20 text-amber-400"}`,children:f.category})]})]}),(0,le.jsx)("div",{className:"flex-shrink-0 p-3 rounded-xl bg-violet-500/20 group-hover:bg-violet-500/30 text-violet-400 transition-all shadow-lg shadow-violet-500/20 group-hover:scale-110 group-hover:shadow-violet-500/50",children:(0,le.jsx)(Td,{className:"w-5 h-5"})})]})},f.id))})]})]})}var Ja=D(Me());function xhe(){return(0,Ja.jsx)(QA,{children:(0,Ja.jsxs)(Aw,{children:[(0,Ja.jsx)(qs,{path:"/",element:(0,Ja.jsx)(jL,{})}),(0,Ja.jsx)(qs,{path:"/articles",element:(0,Ja.jsx)(Hb,{})}),(0,Ja.jsx)(qs,{path:"/feed/:feedName",element:(0,Ja.jsx)(WL,{})})]})})}var nz=xhe;var GL=D(Me()),Sp=(...e)=>{console.log("\u{1F507} Toast suppressed:",e)};Da.error=Sp;Da.success=Sp;Da.info=Sp;Da.warning=Sp;Da.message=Sp;window.addEventListener("unhandledrejection",e=>{e.preventDefault(),console.log("\u{1F507}
136 Suppressed unhandled rejection:",e.reason)});(0,iz.createRoot)(document.getElementById("root")).render((0,GL.jsx)(oz.StrictMode,{children:(0,GL.jsx)(nz,{})}));
137/*! Bundled license information:
138
139react/cjs/react.production.min.js:
140  (**
141   * @license React
142   * react.production.min.js
143   *
144   * Copyright (c) Facebook, Inc. and its affiliates.
145   *
146   * This source code is licensed under the MIT license found in the
147   * LICENSE file in the root directory of this source tree.
148   *)
149
150scheduler/cjs/scheduler.production.min.js:
151  (**
152   * @license React
153   * scheduler.production.min.js
154   *
155   * Copyright (c) Facebook, Inc. and its affiliates.
156   *
157   * This source code is licensed under the MIT license found in the
158   * LICENSE file in the root directory of this source tree.
159   *)
160
161react-dom/cjs/react-dom.production.min.js:
162  (**
163   * @license React
164   * react-dom.production.min.js
165   *
166   * Copyright (c) Facebook, Inc. and its affiliates.
167   *
168   * This source code is licensed under the MIT license found in the
169   * LICENSE file in the root directory of this source tree.
170   *)
171
172react/cjs/react-jsx-runtime.production.min.js:
173  (**
174   * @license React
175   * react-jsx-runtime.production.min.js
176   *
177   * Copyright (c) Facebook, Inc. and its affiliates.
178   *
179   * This source code is licensed under the MIT license found in the
180   * LICENSE file in the root directory of this source tree.
181   *)
182
183react-is/cjs/react-is.production.min.js:
184  (**
185   * @license React
186   * react-is.production.min.js
187   *
188   * Copyright (c) Facebook, Inc. and its affiliates.
189   *
190   * This source code is licensed under the MIT license found in the
191   * LICENSE file in the root directory of this source tree.
192   *)
193
194decimal.js-light/decimal.js:
195  (*! decimal.js-light v2.5.1 https://github.com/MikeMcl/decimal.js-light/LICENCE *)
196
197@remix-run/router/dist/router.js:
198  (**
199   * @remix-run/router v1.23.0
200   *
201   * Copyright (c) Remix Software Inc.
202   *
203   * This source code is licensed under the MIT license found in the
204   * LICENSE.md file in the root directory of this source tree.
205   *
206   * @license MIT
207   *)
208
209react-router/dist/index.js:
210  (**
211   * React Router v6.30.1
212   *
213   * Copyright (c) Remix Software Inc.
214   *
215   * This source code is licensed under the MIT license found in the
216   * LICENSE.md file in the root directory of this source tree.
217   *
218   * @license MIT
219   *)
220
221react-router-dom/dist/index.js:
222  (**
223   * React Router DOM v6.30.1
224   *
225   * Copyright (c) Remix Software Inc.
226   *
227   * This source code is licensed under the MIT license found in the
228   * LICENSE.md file in the root directory of this source tree.
229   *
230   * @license MIT
231   *)
232
233lucide-react/dist/esm/shared/src/utils.js:
234lucide-react/dist/esm/defaultAttributes.js:
235lucide-react/dist/esm/Icon.js:
236lucide-react/dist/esm/createLucideIcon.js:
237lucide-react/dist/esm/icons/arrow-left.js:
238lucide-react/dist/esm/icons/bell.js:
239lucide-react/dist/esm/icons/book-open.js:
240lucide-react/dist/esm/icons/calendar.js:
241lucide-react/dist/esm/icons/chart-column.js:
242lucide-react/dist/esm/icons/check.js:
243lucide-react/dist/esm/icons/clock.js:
244lucide-react/dist/esm/icons/external-link.js:
245lucide-react/dist/esm/icons/funnel.js:
246lucide-react/dist/esm/icons/pen.js:
247lucide-react/dist/esm/icons/plus.js:
248lucide-react/dist/esm/icons/refresh-cw.js:
249lucide-react/dist/esm/icons/rss.js:
250lucide-react/dist/esm/icons/settings.js:
251lucide-react/dist/esm/icons/trash-2.js:
252lucide-react/dist/esm/icons/trending-up.js:
253lucide-react/dist/esm/icons/user.js:
254lucide-react/dist/esm/icons/x.js:
255lucide-react/dist/esm/lucide-react.js:
256  (**
257   * @license lucide-react v0.542.0 - ISC
258   *
259   * This source code is licensed under the ISC license.
260   * See the LICENSE file in the root directory of this source tree.
261   *)
262*/

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.