PageSourceSearch

https://celocaster.netlify.app/_next/static/chunks/818-077b567ec7e83841.js

js celocaster.netlify.app collected 2026-10-03 10:34:00 UTC 592,406 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[818],{675:(t,e,r)=>{"use strict";r.d(e,{R:()=>n});var n=function(t,e){for(var r=arguments.length,n=Array(r>2?r-2:0),i=2;i<r;i++)n[i-2]=arguments[i]}},2107:(t,e,r)=>{"use strict";r.d(e,{VV:()=>i,jz:()=>n});var n,i,o="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},a={};(function(){function t(){this.blockSize=-1,this.blockSize=64,this.g=[,,,,],this.B=Array(this.blockSize),this.o=this.h=0,this.s()}var e=function(){this.blockSize=-1};function r(){}function o(t,e,r){r||(r=0);var n=Array(16);if("string"==typeof e)for(var i=0;16>i;++i)n[i]=e.charCodeAt(r++)|e.charCodeAt(r++)<<8|e.charCodeAt(r++)<<16|e.charCodeAt(r++)<<24;else for(i=0;16>i;++i)n[i]=e[r++]|e[r++]<<8|e[r++]<<16|e[r++]<<24;e=t.g[0],r=t.g[1],i=t.g[2];var o=t.g[3],a=e+(o^r&(i^o))+n[0]+0xd76aa478|0;a=o+(i^(e=r+(a<<7|a>>>25))&(r^i))+n[1]+0xe8c7b756|0,a=i+(r^(o=e+(a<<12|a>>>20))&(e^r))+n[2]+0x242070db|0,a=r+(e^(i=o+(a<<17|a>>>15))&(o^e))+n[3]+0xc1bdceee|0,a=e+(o^(r=i+(a<<22|a>>>10))&(i^o))+n[4]+0xf57c0faf|0,a=o+(i^(e=r+(a<<7|a>>>25))&(r^i))+n[5]+0x4787c62a|0,a=i+(r^(o=e+(a<<12|a>>>20))&(e^r))+n[6]+0xa8304613|0,a=r+(e^(i=o+(a<<17|a>>>15))&(o^e))+n[7]+0xfd469501|0,a=e+(o^(r=i+(a<<22|a>>>10))&(i^o))+n[8]+0x698098d8|0,a=o+(i^(e=r+(a<<7|a>>>25))&(r^i))+n[9]+0x8b44f7af|0,a=i+(r^(o=e+(a<<12|a>>>20))&(e^r))+n[10]+0xffff5bb1|0,a=r+(e^(i=o+(a<<17|a>>>15))&(o^e))+n[11]+0x895cd7be|0,a=e+(o^(r=i+(a<<22|a>>>10))&(i^o))+n[12]+0x6b901122|0,a=o+(i^(e=r+(a<<7|a>>>25))&(r^i))+n[13]+0xfd987193|0,a=i+(r^(o=e+(a<<12|a>>>20))&(e^r))+n[14]+0xa679438e|0,a=r+(e^(i=o+(a<<17|a>>>15))&(o^e))+n[15]+0x49b40821|0,r=i+(a<<22|a>>>10),a=e+(i^o&(r^i))+n[1]+0xf61e2562|0,e=r+(a<<5|a>>>27),a=o+(r^i&(e^r))+n[6]+0xc040b340|0,o=e+(a<<9|a>>>23),a=i+(e^r&(o^e))+n[11]+0x265e5a51|0,i=o+(a<<14|a>>>18),a=r+(o^e&(i^o))+n[0]+0xe9b6c7aa|0,r=i+(a<<20|a>>>12),a=e+(i^o&(r^i))+n[5]+0xd62f105d|0,e=r+(a<<5|a>>>27),a=o+(r^i&(e^r))+n[10]+0x2441453|0,o=e+(a<<9|a>>>23),a=i+(e^r&(o^e))+n[15]+0xd8a1e681|0,i=o+(a<<14|a>>>18),a=r+(o^e&(i^o))+n[4]+0xe7d3fbc8|0,r=i+(a<<20|a>>>12),a=e+(i^o&(r^i))+n[9]+0x21e1cde6|0,e=r+(a<<5|a>>>27),a=o+(r^i&(e^r))+n[14]+0xc33707d6|0,o=e+(a<<9|a>>>23),a=i+(e^r&(o^e))+n[3]+0xf4d50d87|0,i=o+(a<<14|a>>>18),a=r+(o^e&(i^o))+n[8]+0x455a14ed|0,r=i+(a<<20|a>>>12),a=e+(i^o&(r^i))+n[13]+0xa9e3e905|0,e=r+(a<<5|a>>>27),a=o+(r^i&(e^r))+n[2]+0xfcefa3f8|0,o=e+(a<<9|a>>>23),a=i+(e^r&(o^e))+n[7]+0x676f02d9|0,i=o+(a<<14|a>>>18),a=r+(o^e&(i^o))+n[12]+0x8d2a4c8a|0,a=e+((r=i+(a<<20|a>>>12))^i^o)+n[5]+0xfffa3942|0,a=o+((e=r+(a<<4|a>>>28))^r^i)+n[8]+0x8771f681|0,a=i+((o=e+(a<<11|a>>>21))^e^r)+n[11]+0x6d9d6122|0,a=r+((i=o+(a<<16|a>>>16))^o^e)+n[14]+0xfde5380c|0,a=e+((r=i+(a<<23|a>>>9))^i^o)+n[1]+0xa4beea44|0,a=o+((e=r+(a<<4|a>>>28))^r^i)+n[4]+0x4bdecfa9|0,a=i+((o=e+(a<<11|a>>>21))^e^r)+n[7]+0xf6bb4b60|0,a=r+((i=o+(a<<16|a>>>16))^o^e)+n[10]+0xbebfbc70|0,a=e+((r=i+(a<<23|a>>>9))^i^o)+n[13]+0x289b7ec6|0,a=o+((e=r+(a<<4|a>>>28))^r^i)+n[0]+0xeaa127fa|0,a=i+((o=e+(a<<11|a>>>21))^e^r)+n[3]+0xd4ef3085|0,a=r+((i=o+(a<<16|a>>>16))^o^e)+n[6]+0x4881d05|0,a=e+((r=i+(a<<23|a>>>9))^i^o)+n[9]+0xd9d4d039|0,a=o+((e=r+(a<<4|a>>>28))^r^i)+n[12]+0xe6db99e5|0,a=i+((o=e+(a<<11|a>>>21))^e^r)+n[15]+0x1fa27cf8|0,a=r+((i=o+(a<<16|a>>>16))^o^e)+n[2]+0xc4ac5665|0,r=i+(a<<23|a>>>9),a=e+(i^(r|~o))+n[0]+0xf4292244|0,e=r+(a<<6|a>>>26),a=o+(r^(e|~i))+n[7]+0x432aff97|0,o=e+(a<<10|a>>>22),a=i+(e^(o|~r))+n[14]+0xab9423a7|0,i=o+(a<<15|a>>>17),a=r+(o^(i|~e))+n[5]+0xfc93a039|0,r=i+(a<<21|a>>>11),a=e+(i^(r|~o))+n[12]+0x655b59c3|0,e=r+(a<<6|a>>>26),a=o+(r^(e|~i))+n[3]+0x8f0ccc92|0,o=e+(a<<10|a>>>22),a=i+(e^(o|~r))+n[10]+0xffeff47d|0,i=o+(a<<15|a>>>17),a=r+(o^(i|~e))+n[1]+0x85845dd1|0,r=i+(a<<21|a>>>11),a=e+(i^(r|~o))+n[8]+0x6fa87e4f|0,e=r+(a<<6|a>>>26),a=o+(r^(e|~i))+n[15]+0xfe2ce6e0|0,o=e+(a<<10|a>>>22),a=i+(e^(o|~r))+n[6]+0xa3014314|0,i=o+(a<<15|a>>>17),a=r+(o^(i|~e))+n[13]+0x4e0811a1|0,r=i+(a<<21|a>>>11),a=e+(i^(r|~o))+n[4]+0xf7537e82|0,e=r+(a<<6|a>>>26),a=o+(r^(e|~i))+n[11]+0xbd3af235|0,o=e+(a<<10|a>>>22),a=i+(e^(o|~r))+n[2]+0x2ad7d2bb|0,i=o+(a<<15|a>>>17),a=r+(o^(i|~e))+n[9]+0xeb86d391|0,t.g[0]=t.g[0]+e|0,t.g[1]=t.g[1]+(i+(a<<21|a>>>11))|0,t.g[2]=t.g[2]+i|0,t.g[3]=t.g[3]+o|0}function s(t,e){this.h=e;for(var r=[],n=!0,i=t.length-1;0<=i;i--){var o=0|t[i];n&&o==e||(r[i]=o,n=!1)}this.g=r}r.prototype=e.prototype,t.D=e.prototype,t.prototype=new r,t.prototype.constructor=t,t.C=function(t,r,n){for(var i=Array(arguments.length-2),o=2;o<arguments.length;o++)i[o-2]=arguments[o];return e.prototype[r].apply(t,i)},t.prototype.s=function(){this.g[0]=0x67452301,this.g[1]=0xefcdab89,this.g[2]=0x98badcfe,this.g[3]=0x10325476,this.o=this.h=0},t.prototype.u=function(t,e){void 0===e&&(e=t.length);for(var r=e-this.blockSize,n=this.B,i=this.h,a=0;a<e;){if(0==i)for(;a<=r;)o(this,t,a),a+=this.blockSize;if("string"==typeof t){for(;a<e;)if(n[i++]=t.charCodeAt(a++),i==this.blockSize){o(this,n),i=0;break}}else for(;a<e;)if(n[i++]=t[a++],i==this.blockSize){o(this,n),i=0;break}}this.h=i,this.o+=e},t.prototype.v=function(){var t=Array((56>this.h?this.blockSize:2*this.blockSize)-this.h);t[0]=128;for(var e=1;e<t.length-8;++e)t[e]=0;var r=8*this.o;for(e=t.length-8;e<t.length;++e)t[e]=255&r,r/=256;for(this.u(t),t=Array(16),e=r=0;4>e;++e)for(var n=0;32>n;n+=8)t[r++]=this.g[e]>>>n&255;return t};var l,u={};function c(t){var e;return -128<=t&&128>t?(e=function(t){return new s([0|t],0>t?-1:0)},Object.prototype.hasOwnProperty.call(u,t)?u[t]:u[t]=e(t)):new s([0|t],0>t?-1:0)}function f(t){if(isNaN(t)||!isFinite(t))return h;if(0>t)return g(f(-t));for(var e=[],r=1,n=0;t>=r;n++)e[n]=t/r|0,r*=0x100000000;return new s(e,0)}var h=c(0),p=c(1),d=c(0x1000000);function y(t){if(0!=t.h)return!1;for(var e=0;e<t.g.length;e++)if(0!=t.g[e])return!1;return!0}function m(t){return -1==t.h}function g(t){for(var e=t.g.length,r=[],n=0;n<e;n++)r[n]=~t.g[n];return new s(r,~t.h).add(p)}function v(t,e){return t.add(g(e))}function b(t,e){for(;(65535&t[e])!=t[e];)t[e+1]+=t[e]>>>16,t[e]&=65535,e++}function x(t,e){this.g=t,this.h=e}function w(t,e){if(y(e))throw Error("division by zero");if(y(t))return new x(h,h);if(m(t))return e=w(g(t),e),new x(g(e.g),g(e.h));if(m(e))return e=w(t,g(e)),new x(g(e.g),e.h);if(30<t.g.length){if(m(t)||m(e))throw Error("slowDivide_ only works with positive integers.");for(var r=p,n=e;0>=n.l(t);)r=O(r),n=O(n);var i=S(r,1),o=S(n,1);for(n=S(n,2),r=S(r,2);!y(n);){var a=o.add(n);0>=a.l(t)&&(i=i.add(r),o=a),n=S(n,1),r=S(r,1)}return e=v(t,i.j(e)),new x(i,e)}for(i=h;0<=t.l(e);){for(n=48>=(n=Math.ceil(Math.log(r=Math.max(1,Math.floor(t.m()/e.m())))/Math.LN2))?1:Math.pow(2,n-48),a=(o=f(r)).j(e);m(a)||0<a.l(t);)r-=n,a=(o=f(r)).j(e);y(o)&&(o=p),i=i.add(o),t=v(t,a)}return new x(i,t)}function O(t){for(var e=t.g.length+1,r=[],n=0;n<e;n++)r[n]=t.i(n)<<1|t.i(n-1)>>>31;return new s(r,t.h)}function S(t,e){var r=e>>5;e%=32;for(var n=t.g.length-r,i=[],o=0;o<n;o++)i[o]=0<e?t.i(o+r)>>>e|t.i(o+r+1)<<32-e:t.i(o+r);return new s(i,t.h)}(l=s.prototype).m=function(){if(m(this))return-g(this).m();for(var t=0,e=1,r=0;r<this.g.length;r++){var n=this.i(r);t+=(0<=n?n:0x100000000+n)*e,e*=0x100000000}return t},l.toString=function(t){if(2>(t=t||10)||36<t)throw Error("radix out of range: "+t);if(y(this))return"0";if(m(this))return"-"+g(this).toString(t);for(var e=f(Math.pow(t,6)),r=this,n="";;){var i=w(r,e).g,o=((0<(r=v(r,i.j(e))).g.length?r.g[0]:r.h)>>>0).toString(t);if(y(r=i))return o+n;for(;6>o.length;)o="0"+o;n=o+n}},l.i=function(t){return 0>t?0:t<this.g.length?this.g[t]:this.h},l.l=function(t){return m(t=v(this,t))?-1:+!y(t)},l.abs=function(){return m(this)?g(this):this},l.add=function(t){for(var e=Math.max(this.g.length,t.g.length),r=[],n=0,i=0;i<=e;i++){var o=n+(65535&this.i(i))+(65535&t.i(i)),a=(o>>>16)+(this.i(i)>>>16)+(t.i(i)>>>16);n=a>>>16,o&=65535,a&=65535,r[i]=a<<16|o}return new s(r,-0x80000000&r[r.length-1]?-1:0)},l.j=function(t){if(y(this)||y(t))return h;if(m(this))return m(t)?g(this).j(g(t)):g(g(this).j(t));if(m(t))return g(this.j(g(t)));if(0>this.l(d)&&0>t.l(d))return f(this.m()*t.m());for(var e=this.g.length+t.g.length,r=[],n=0;n<2*e;n++)r[n]=0;for(n=0;n<this.g.length;n++)for(var i=0;i<t.g.length;i++){var o=this.i(n)>>>16,a=65535&this.i(n),l=t.i(i)>>>16,u=65535&t.i(i);r[2*n+2*i]+=a*u,b(r,2*n+2*i),r[2*n+2*i+1]+=o*u,b(r,2*n+2*i+1),r[2*n+2*i+1]+=a*l,b(r,2*n+2*i+1),r[2*n+2*i+2]+=o*l,b(r,2*n+2*i+2)}for(n=0;n<e;n++)r[n]=r[2*n+1]<<16|r[2*n];for(n=e;n<2*e;n++)r[n]=0;return new s(r,0)},l.A=function(t){return w(this,t).h},l.and=function(t){for(var e=Math.max(this.g.length,t.g.length),r=[],n=0;n<e;n++)r[n]=this.i(n)&t.i(n);return new s(r,this.h&t.h)},l.or=function(t){for(var e=Math.max(this.g.length,t.g.length),r=[],n=0;n<e;n++)r[n]=this.i(n)|t.i(n);return new s(r,this.h|t.h)},l.xor=function(t){for(var e=Math.max(this.g.length,t.g.length),r=[],n=0;n<e;n++)r[n]=this.i(n)^t.i(n);return new s(r,this.h^t.h)},t.prototype.digest=t.prototype.v,t.prototype.reset=t.prototype.s,t.prototype.update=t.prototype.u,i=a.Md5=t,s.prototype.add=s.prototype.add,s.prototype.multiply=s.prototype.j,s.prototype.modulo=s.prototype.A,s.prototype.compare=s.prototype.l,s.prototype.toNumber=s.prototype.m,s.prototype.toString=s.prototype.toString,s.prototype.getBits=s.prototype.i,s.fromNumber=f,s.fromString=function t(e,r){if(0==e.length)throw Error("number format error: empty string");if(2>(r=r||10)||36<r)throw Error("radix out of range: "+r);if("-"==e.charAt(0))return g(t(e.substring(1),r));if(0<=e.indexOf("-"))throw Error('number format error: interior "-" character');for(var n=f(Math.pow(r,8)),i=h,o=0;o<e.length;o+=8){var a=Math.min(8,e.length-o),s=parseInt(e.substring(o,o+a),r);8>a?(a=f(Math.pow(r,a)),i=i.j(a).add(f(s))):i=(i=i.j(n)).add(f(s))}return i},n=a.Integer=s}
1).apply(void 0!==o?o:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},2348:(t,e,r)=>{"use strict";r.d(e,{W:()=>l});var n=r(12115),i=r(35796),o=r(70788),a=["children","className"];function s(){return(s=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}var l=n.forwardRef(function(t,e){var r=t.children,l=t.className,u=function(t,e){if(null==t)return{};var r,n,i=function(t,e){if(null==t)return{};var r={};for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)){if(e.indexOf(n)>=0)continue;r[n]=t[n]}return r}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(n=0;n<o.length;n++)r=o[n],!(e.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(i[r]=t[r])}return i}(t,a),c=(0,i.A)("recharts-layer",l);return n.createElement("g",s({className:c},(0,o.J9)(u,!0),{ref:e}),r)})},2494:(t,e,r)=>{"use strict";r.d(e,{s:()=>s});var n=r(3711),i=r.n(n),o=r(40139),a=r.n(o);function s(t,e,r){return!0===e?i()(t,r):a()(e)?i()(t,e):t}},3562:t=>{t.exports=function(t,e,r,n){for(var i=t.length,o=r+(n?1:-1);n?o--:++o<i;)if(e(t[o],o,t))return o;return -1}},3698:(t,e,r)=>{var n=r(77969),i=r(69363);t.exports=function(t,e){return n(i(t,e),1)}},3711:(t,e,r)=>{var n=r(18028),i=r(65836);t.exports=function(t,e){return t&&t.length?i(t,n(e,2)):[]}},4217:(t,e,r)=>{var n=r(36713),i=/^\s+/;t.exports=function(t){return t?t.slice(0,n(t)+1).replace(i,""):t}},4854:(t,e,r)=>{var n=r(67472),i=r(51911);t.exports=function(t,e,r,o){var a=r.length,s=a,l=!o;if(null==t)return!s;for(t=Object(t);a--;){var u=r[a];if(l&&u[2]?u[1]!==t[u[0]]:!(u[0]in t))return!1}for(;++a<s;){var c=(u=r[a])[0],f=t[c],h=u[1];if(l&&u[2]){if(void 0===f&&!(c in t))return!1}else{var p=new n;if(o)var d=o(f,h,c,t,e,p);if(!(void 0===d?i(h,f,3,o,p):d))return!1}}return!0}},5516:(t,e,r)=>{var n=r(5658);t.exports=function(t,e){var r=n(this,t),i=r.size;return r.set(t,e),this.size+=+(r.size!=i),this}},5658:(t,e,r)=>{var n=r(30699);t.exports=function(t,e){var r=t.__data__;return n(e)?r["string"==typeof e?"string":"hash"]:r.map}},6305:(t,e,r)=>{var n=r(53516),i=r(22471);t.exports=function(t,e){var r=-1,o=i(t)?Array(t.length):[];return n(t,function(t,n,i){o[++r]=e(t,n,i)}),o}},6672:(t,e,r)=>{"use strict";let n;function i(t){return null!==t&&"object"==typeof t&&"function"==typeof t.start}function o(t){let e=[{},{}];return t?.values.forEach((t,r)=>{e[0][r]=t.get(),e[1][r]=t.getVelocity()}),e}function a(t,e,r,n){if("function"==typeof e){let[i,a]=o(n);e=e(void 0!==r?r:t.custom,i,a)}if("string"==typeof e&&(e=t.variants&&t.variants[e]),"function"==typeof e){let[i,a]=o(n);e=e(void 0!==r?r:t.custom,i,a)}return e}function s(t,e,r){let n=t.getProps();return a(n,e,void 0!==r?r:n.custom,t)}function l(t,e){return t?.[e]??t?.default??t}r.d(e,{P:()=>oO});let u=t=>t,c={},f=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"],h={value:null,addProjectionMetrics:null};function p(t,e){let r=!1,n=!0,i={delta:0,timestamp:0,isProcessing:!1},o=()=>r=!0,a=f.reduce((t,r)=>(t[r]=function(t,e){let r=new Set,n=new Set,i=!1,o=!1,a=new WeakSet,s={delta:0,timestamp:0,isProcessing:!1},l=0;function u(e){a.has(e)&&(c.schedule(e),t()),l++,e(s)}let c={schedule:(t,e=!1,o=!1)=>{let s=o&&i?r:n;return e&&a.add(t),s.has(t)||s.add(t),t},cancel:t=>{n.delete(t),a.delete(t)},process:t=>{if(s=t,i){o=!0;return}i=!0,[r,n]=[n,r],r.forEach(u),e&&h.value&&h.value.frameloop[e].push(l),l=0,r.clear(),i=!1,o&&(o=!1,c.process(t))}};return c}(o,e?r:void 0),t),{}),{setup:s,read:l,resolveKeyframes:u,preUpdate:p,update:d,preRender:y,render:m,postRender:g}=a,v=()=>{let o=c.useManualTiming?i.timestamp:performance.now();r=!1,c.useManualTiming||(i.delta=n?1e3/60:Math.max(Math.min(o-i.timestamp,40),1)),i.timestamp=o,i.isProcessing=!0,s.process(i),l.process(i),u.process(i),p.process(i),d.process(i),y.process(i),m.process(i),g.process(i),i.isProcessing=!1,r&&e&&(n=!1,t(v))},b=()=>{r=!0,n=!0,i.isProcessing||t(v)};return{schedule:f.reduce((t,e)=>{let n=a[e];return t[e]=(t,e=!1,i=!1)=>(r||b(),n.schedule(t,e,i)),t},{}),cancel:t=>{for(let e=0;e<f.length;e++)a[f[e]].cancel(t)},state:i,steps:a}}let{schedule:d,cancel:y,state:m,steps:g}=p("undefined"!=typeof requestAnimationFrame?requestAnimationFrame:u,!0),v=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],b=new Set(v),x=new Set(["width","height","top","left","right","bottom",...v]);function w(t,e){-1===t.indexOf(e)&&t.push(e)}function O(t,e){let r=t.indexOf(e);r>-1&&t.splice(r,1)}class S{constructor(){this.subscriptions=[]}add(t){return w(this.subscriptions,t),()=>O(this.subscriptions,t)}notify(t,e,r){let n=this.subscriptions.length;if(n)if(1===n)this.subscriptions[0](t,e,r);else for(let i=0;i<n;i++){let n=this.subscriptions[i];n&&n(t,e,r)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}function A(){n=void 0}let E={now:()=>(void 0===n&&E.set(m.isProcessing||c.useManualTiming?m.timestamp:performance.now()),n),set
1:t=>{n=t,queueMicrotask(A)}},j=t=>!isNaN(parseFloat(t)),P={current:void 0};class T{constructor(t,e={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=(t,e=!0)=>{let r=E.now();if(this.updatedAt!==r&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(t),this.current!==this.prev&&(this.events.change?.notify(this.current),this.dependents))for(let t of this.dependents)t.dirty();e&&this.events.renderRequest?.notify(this.current)},this.hasAnimated=!1,this.setCurrent(t),this.owner=e.owner}setCurrent(t){this.current=t,this.updatedAt=E.now(),null===this.canTrackVelocity&&void 0!==t&&(this.canTrackVelocity=j(this.current))}setPrevFrameValue(t=this.current){this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt}onChange(t){return this.on("change",t)}on(t,e){this.events[t]||(this.events[t]=new S);let r=this.events[t].add(e);return"change"===t?()=>{r(),d.read(()=>{this.events.change.getSize()||this.stop()})}:r}clearListeners(){for(let t in this.events)this.events[t].clear()}attach(t,e){this.passiveEffect=t,this.stopPassiveEffect=e}set(t,e=!0){e&&this.passiveEffect?this.passiveEffect(t,this.updateAndNotify):this.updateAndNotify(t,e)}setWithVelocity(t,e,r){this.set(e),this.prev=void 0,this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt-r}jump(t,e=!0){this.updateAndNotify(t),this.prev=t,this.prevUpdatedAt=this.prevFrameValue=void 0,e&&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 P.current&&P.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){var t;let e=E.now();if(!this.canTrackVelocity||void 0===this.prevFrameValue||e-this.updatedAt>30)return 0;let r=Math.min(this.updatedAt-this.prevUpdatedAt,30);return t=parseFloat(this.current)-parseFloat(this.prevFrameValue),r?1e3/r*t:0}start(t){return this.stop(),new Promise(e=>{this.hasAnimated=!0,this.animation=t(e),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 M(t,e){return new T(t,e)}let k=t=>Array.isArray(t),C=t=>!!(t&&t.getVelocity);function I(t,e){let r=t.getValue("willChange");if(C(r)&&r.add)return r.add(e);if(!r&&c.WillChange){let r=new c.WillChange("auto");t.addValue("willChange",r),r.add(e)}}let _=t=>t.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase(),D="data-"+_("framerAppearId"),B=(t,e)=>r=>e(t(r)),R=(...t)=>t.reduce(B),N=(t,e,r)=>r>e?e:r<t?t:r,L=t=>1e3*t,U=t=>t/1e3,F={layout:0,mainThread:0,waapi:0},V=()=>{},$=()=>{},z=t=>e=>"string"==typeof e&&e.startsWith(t),W=z("--"),H=z("var(--"),X=t=>!!H(t)&&q.test(t.split("/*")[0].trim()),q=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu,K={test:t=>"number"==typeof t,parse:parseFloat,transform:t=>t},Y={...K,transform:t=>N(0,1,t)},G={...K,default:1},J=t=>Math.round(1e5*t)/1e5,Z=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu,Q=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,tt=(t,e)=>r=>!!("string"==typeof r&&Q.test(r)&&r.startsWith(t)||e&&null!=r&&Object.prototype.hasOwnProperty.call(r,e)),te=(t,e,r)=>n=>{if("string"!=typeof n)return n;let[i,o,a,s]=n.match(Z);return{[t]:parseFloat(i),[e]:parseFloat(o),[r]:parseFloat(a),alpha:void 0!==s?parseFloat(s):1}},tr=t=>N(0,255,t),tn={...K,transform:t=>Math.round(tr(t))},ti={test:tt("rgb","red"),parse:te("red","green","blue"),transform:({red:t,green:e,blue:r,alpha:n=1})=>"rgba("+tn.transform(t)+", "+tn.transform(e)+", "+tn.transform(r)+", "+J(Y.transform(n))+")"},to={test:tt("#"),parse:function(t){let e="",r="",n="",i="";return t.length>5?(e=t.substring(1,3),r=t.substring(3,5),n=t.substring(5,7),i=t.substring(7,9)):(e=t.substring(1,2),r=t.substring(2,3),n=t.substring(3,4),i=t.substring(4,5),e+=e,r+=r,n+=n,i+=i),{red:parseInt(e,16),green:parseInt(r,16),blue:parseInt(n,16),alph
1a:i?parseInt(i,16)/255:1}},transform:ti.transform},ta=t=>({test:e=>"string"==typeof e&&e.endsWith(t)&&1===e.split(" ").length,parse:parseFloat,transform:e=>`${e}${t}`}),ts=ta("deg"),tl=ta("%"),tu=ta("px"),tc=ta("vh"),tf=ta("vw"),th={...tl,parse:t=>tl.parse(t)/100,transform:t=>tl.transform(100*t)},tp={test:tt("hsl","hue"),parse:te("hue","saturation","lightness"),transform:({hue:t,saturation:e,lightness:r,alpha:n=1})=>"hsla("+Math.round(t)+", "+tl.transform(J(e))+", "+tl.transform(J(r))+", "+J(Y.transform(n))+")"},td={test:t=>ti.test(t)||to.test(t)||tp.test(t),parse:t=>ti.test(t)?ti.parse(t):tp.test(t)?tp.parse(t):to.parse(t),transform:t=>"string"==typeof t?t:t.hasOwnProperty("red")?ti.transform(t):tp.transform(t)},ty=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu,tm="number",tg="color",tv=/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 tb(t){let e=t.toString(),r=[],n={color:[],number:[],var:[]},i=[],o=0,a=e.replace(tv,t=>(td.test(t)?(n.color.push(o),i.push(tg),r.push(td.parse(t))):t.startsWith("var(")?(n.var.push(o),i.push("var"),r.push(t)):(n.number.push(o),i.push(tm),r.push(parseFloat(t))),++o,"${}")).split("${}");return{values:r,split:a,indexes:n,types:i}}function tx(t){return tb(t).values}function tw(t){let{split:e,types:r}=tb(t),n=e.length;return t=>{let i="";for(let o=0;o<n;o++)if(i+=e[o],void 0!==t[o]){let e=r[o];e===tm?i+=J(t[o]):e===tg?i+=td.transform(t[o]):i+=t[o]}return i}}let tO=t=>"number"==typeof t?0:t,tS={test:function(t){return isNaN(t)&&"string"==typeof t&&(t.match(Z)?.length||0)+(t.match(ty)?.length||0)>0},parse:tx,createTransformer:tw,getAnimatableNone:function(t){let e=tx(t);return tw(t)(e.map(tO))}};function tA(t,e,r){return(r<0&&(r+=1),r>1&&(r-=1),r<1/6)?t+(e-t)*6*r:r<.5?e:r<2/3?t+(e-t)*(2/3-r)*6:t}function tE(t,e){return r=>r>0?e:t}let tj=(t,e,r)=>t+(e-t)*r,tP=(t,e,r)=>{let n=t*t,i=r*(e*e-n)+n;return i<0?0:Math.sqrt(i)},tT=[to,ti,tp],tM=t=>tT.find(e=>e.test(t));function tk(t){let e=tM(t);if(V(!!e,`'${t}' is not an animatable color. Use the equivalent color code instead.`),!e)return!1;let r=e.parse(t);return e===tp&&(r=function({hue:t,saturation:e,lightness:r,alpha:n}){t/=360,r/=100;let i=0,o=0,a=0;if(e/=100){let n=r<.5?r*(1+e):r+e-r*e,s=2*r-n;i=tA(s,n,t+1/3),o=tA(s,n,t),a=tA(s,n,t-1/3)}else i=o=a=r;return{red:Math.round(255*i),green:Math.round(255*o),blue:Math.round(255*a),alpha:n}}(r)),r}let tC=(t,e)=>{let r=tk(t),n=tk(e);if(!r||!n)return tE(t,e);let i={...r};return t=>(i.red=tP(r.red,n.red,t),i.green=tP(r.green,n.green,t),i.blue=tP(r.blue,n.blue,t),i.alpha=tj(r.alpha,n.alpha,t),ti.transform(i))},tI=new Set(["none","hidden"]);function t_(t,e){return r=>tj(t,e,r)}function tD(t){return"number"==typeof t?t_:"string"==typeof t?X(t)?tE:td.test(t)?tC:tN:Array.isArray(t)?tB:"object"==typeof t?td.test(t)?tC:tR:tE}function tB(t,e){let r=[...t],n=r.length,i=t.map((t,r)=>tD(t)(t,e[r]));return t=>{for(let e=0;e<n;e++)r[e]=i[e](t);return r}}function tR(t,e){let r={...t,...e},n={};for(let i in r)void 0!==t[i]&&void 0!==e[i]&&(n[i]=tD(t[i])(t[i],e[i]));return t=>{for(let e in n)r[e]=n[e](t);return r}}let tN=(t,e)=>{let r=tS.createTransformer(e),n=tb(t),i=tb(e);return n.indexes.var.length===i.indexes.var.length&&n.indexes.color.length===i.indexes.color.length&&n.indexes.number.length>=i.indexes.number.length?tI.has(t)&&!i.values.length||tI.has(e)&&!n.values.length?function(t,e){return tI.has(t)?r=>r<=0?t:e:r=>r>=1?e:t}(t,e):R(tB(function(t,e){let r=[],n={color:0,var:0,number:0};for(let i=0;i<e.values.length;i++){let o=e.types[i],a=t.indexes[o][n[o]],s=t.values[a]??0;r[i]=s,n[o]++}return r}(n,i),i.values),r):(V(!0,`Complex values '${t}' and '${e}' 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.`),tE(t,e))};function tL(t,e,r){return"number"==typeof t&&"number"==typeof e&&"number"==typeof r?tj(t,e,r):tD(t)(t,e)}let tU=t=>{let e=({timestamp:e})=>t(e);return{start:(t=!0)=>d.update(e,t),stop:()=>y(e),now:()=>m.isProcessing?m.timestamp:E.now()}},tF=(t,e,r=10)=>{let n="",i=Math.max(Math.round(e/r),2);for(let e=0;e<i;e++)n+=t(e/(i-1))+", ";return`linear(${n.substring(0,n.length-2)})`};function tV(t){let e=0,r=t.next(e);for(;!r.done&&e<2e4;)e+=50,r=t.next(e);return e>=2e4?1/0:e}function t$(t,e,r){var n,i;let o=Math.max(e-5,0);return n=r-t(o),(i=e-o)?1e3/i*n:0}let tz={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};function tW(t,e){return t*Math.sqrt(1-e*e)}let tH=["duration","bounce"],tX=["stiffness","damping","mass"];function tq(t,e){return e.some(e=>void 0!==t[e])}function tK(t=tz.visualDuration,e=tz.bounce){let r,n="object"!=typeof t?{visualDuration:t,keyframes:[0,1],bounce:e}:t,{restSpeed:i,restDelta:o}=n,a=n.keyframes[0],s=n.keyframes[n.keyframes.length-1],l={done:!1,value:a},{stiffness:u,damping:c,mass:f,duration:h,velocity:p,isResolvedFromDuration:d}=function(t){let e={velocity:tz.velocity,stiffness:tz.stiffness,damping:tz.damping,mass:tz.mass,isResolvedFromDuration:!1,...t};if(!tq(t,tX)&&tq(t,tH))if(t.visualDuration){let r=2*Math.PI/(1.2*t.visualDuration),n=r*r,i=2*N(.05,1,1-(t.bounce||0))*Math.sqrt(n);e={...e,mass:tz.mass,stiffness:n,damping:i}}else{let r=function({duration:t=tz.duration,bounce:e=tz.bounce,velocity:r=tz.velocity,mass:n=tz.mass}){let i,o;V(t<=L(tz.maxDuration),"Spring duration must be 10 seconds or less");let a=1-e;a=N(tz.minDamping,tz.maxDamping,a),t=N(tz.minDuration,tz.maxDuration,U(t)),a<1?(i=e=>{let n=e*a,i=n*t;return .001-(n-r)/tW(e,a)*Math.exp(-i)},o=e=>{let n=e*a*t,o=Math.pow(a,2)*Math.pow(e,2)*t,s=Math.exp(-n),l=tW(Math.pow(e,2),a);return(n*r+r-o)*s*(-i(e)+.001>0?-1:1)/l}):(i=e=>-.001+Math.exp(-e*t)*((e-r)*t+1),o=e=>t*t*(r-e)*Math.exp(-e*t));let s=function(t,e,r){let n=r;for(let r=1;r<12;r++)n-=t(n)/e(n);return n}(i,o,5/t);if(t=L(t),isNaN(s))return{stiffness:tz.stiffness,damping:tz.damping,duration:t};{let e=Math.pow(s,2)*n;
1return{stiffness:e,damping:2*a*Math.sqrt(n*e),duration:t}}}(t);(e={...e,...r,mass:tz.mass}).isResolvedFromDuration=!0}return e}({...n,velocity:-U(n.velocity||0)}),y=p||0,m=c/(2*Math.sqrt(u*f)),g=s-a,v=U(Math.sqrt(u/f)),b=5>Math.abs(g);if(i||(i=b?tz.restSpeed.granular:tz.restSpeed.default),o||(o=b?tz.restDelta.granular:tz.restDelta.default),m<1){let t=tW(v,m);r=e=>s-Math.exp(-m*v*e)*((y+m*v*g)/t*Math.sin(t*e)+g*Math.cos(t*e))}else if(1===m)r=t=>s-Math.exp(-v*t)*(g+(y+v*g)*t);else{let t=v*Math.sqrt(m*m-1);r=e=>{let r=Math.exp(-m*v*e),n=Math.min(t*e,300);return s-r*((y+m*v*g)*Math.sinh(n)+t*g*Math.cosh(n))/t}}let x={calculatedDuration:d&&h||null,next:t=>{let e=r(t);if(d)l.done=t>=h;else{let n=0===t?y:0;m<1&&(n=0===t?L(y):t$(r,t,e));let a=Math.abs(s-e)<=o;l.done=Math.abs(n)<=i&&a}return l.value=l.done?s:e,l},toString:()=>{let t=Math.min(tV(x),2e4),e=tF(e=>x.next(t*e).value,t,30);return t+"ms "+e},toTransition:()=>{}};return x}function tY({keyframes:t,velocity:e=0,power:r=.8,timeConstant:n=325,bounceDamping:i=10,bounceStiffness:o=500,modifyTarget:a,min:s,max:l,restDelta:u=.5,restSpeed:c}){let f,h,p=t[0],d={done:!1,value:p},y=t=>void 0!==s&&t<s||void 0!==l&&t>l,m=t=>void 0===s?l:void 0===l||Math.abs(s-t)<Math.abs(l-t)?s:l,g=r*e,v=p+g,b=void 0===a?v:a(v);b!==v&&(g=b-p);let x=t=>-g*Math.exp(-t/n),w=t=>b+x(t),O=t=>{let e=x(t),r=w(t);d.done=Math.abs(e)<=u,d.value=d.done?b:r},S=t=>{y(d.value)&&(f=t,h=tK({keyframes:[d.value,m(d.value)],velocity:t$(w,t,d.value),damping:i,stiffness:o,restDelta:u,restSpeed:c}))};return S(0),{calculatedDuration:null,next:t=>{let e=!1;return(h||void 0!==f||(e=!0,O(t),S(t)),void 0!==f&&t>=f)?h.next(t-f):(e||O(t),d)}}}tK.applyToOptions=t=>{let e=function(t,e=100,r){let n=r({...t,keyframes:[0,e]}),i=Math.min(tV(n),2e4);return{type:"keyframes",ease:t=>n.next(i*t).value/e,duration:U(i)}}(t,100,tK);return t.ease=e.ease,t.duration=L(e.duration),t.type="keyframes",t};let tG=(t,e,r)=>(((1-3*r+3*e)*t+(3*r-6*e))*t+3*e)*t;function tJ(t,e,r,n){if(t===e&&r===n)return u;let i=e=>(function(t,e,r,n,i){let o,a,s=0;do(o=tG(a=e+(r-e)/2,n,i)-t)>0?r=a:e=a;while(Math.abs(o)>1e-7&&++s<12);return a})(e,0,1,t,r);return t=>0===t||1===t?t:tG(i(t),e,n)}let tZ=tJ(.42,0,1,1),tQ=tJ(0,0,.58,1),t0=tJ(.42,0,.58,1),t1=t=>Array.isArray(t)&&"number"!=typeof t[0],t2=t=>e=>e<=.5?t(2*e)/2:(2-t(2*(1-e)))/2,t5=t=>e=>1-t(1-e),t3=tJ(.33,1.53,.69,.99),t6=t5(t3),t8=t2(t6),t4=t=>(t*=2)<1?.5*t6(t):.5*(2-Math.pow(2,-10*(t-1))),t9=t=>1-Math.sin(Math.acos(t)),t7=t5(t9),et=t2(t9),ee=t=>Array.isArray(t)&&"number"==typeof t[0],er={linear:u,easeIn:tZ,easeInOut:t0,easeOut:tQ,circIn:t9,circInOut:et,circOut:t7,backIn:t6,backInOut:t8,backOut:t3,anticipate:t4},en=t=>"string"==typeof t,ei=t=>{if(ee(t)){$(4===t.length,"Cubic bezier arrays must contain four numerical values.");let[e,r,n,i]=t;return tJ(e,r,n,i)}return en(t)?($(void 0!==er[t],`Invalid easing type '${t}'`),er[t]):t},eo=(t,e,r)=>{let n=e-t;return 0===n?1:(r-t)/n};function ea({duration:t=300,keyframes:e,times:r,ease:n="easeInOut"}){var i;let o=t1(n)?n.map(ei):ei(n),a={done:!1,value:e[0]},s=function(t,e,{clamp:r=!0,ease:n,mixer:i}={}){let o=t.length;if($(o===e.length,"Both input and output ranges must be the same length"),1===o)return()=>e[0];if(2===o&&e[0]===e[1])return()=>e[1];let a=t[0]===t[1];t[0]>t[o-1]&&(t=[...t].reverse(),e=[...e].reverse());let s=function(t,e,r){let n=[],i=r||c.mix||tL,o=t.length-1;for(let r=0;r<o;r++){let o=i(t[r],t[r+1]);e&&(o=R(Array.isArray(e)?e[r]||u:e,o)),n.push(o)}return n}(e,n,i),l=s.length,f=r=>{if(a&&r<t[0])return e[0];let n=0;if(l>1)for(;n<t.length-2&&!(r<t[n+1]);n++);let i=eo(t[n],t[n+1],r);return s[n](i)};return r?e=>f(N(t[0],t[o-1],e)):f}((i=r&&r.length===e.length?r:function(t){let e=[0];return!function(t,e){let r=t[t.length-1];for(let n=1;n<=e;n++){let i=eo(0,e,n);t.push(tj(r,1,i))}}(e,t.length-1),e}(e),i.map(e=>e*t)),e,{ease:Array.isArray(o)?o:e.map(()=>o||t0).splice(0,e.length-1)});return{calculatedDuration:t,next:e=>(a.value=s(e),a.done=e>=t,a)}}let es=t=>null!==t;function el(t,{repeat:e,repeatType:r="loop"},n,i=1){let o=t.filter(es),a=i<0||e&&"loop"!==r&&e%2==1?0:o.length-1;return a&&void 0!==n?n:o[a]}let eu={decay:tY,inertia:tY,tween:ea,keyframes:ea,spring:tK};function ec(t){"string"==typeof t.type&&(t.type=eu[t.type])}class ef{constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise(t=>{this.resolve=t})}notifyFinished(){this.resolve()}then(t,e){return this.finished.then(t,e)}}let eh=t=>t/100;class ep extends ef{constructor(t){super(),this.state="idle",this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.stop=(t=!0)=>
1{if(t){let{motionValue:t}=this.options;t&&t.updatedAt!==E.now()&&this.tick(E.now())}this.isStopped=!0,"idle"!==this.state&&(this.teardown(),this.options.onStop?.())},F.mainThread++,this.options=t,this.initAnimation(),this.play(),!1===t.autoplay&&this.pause()}initAnimation(){let{options:t}=this;ec(t);let{type:e=ea,repeat:r=0,repeatDelay:n=0,repeatType:i,velocity:o=0}=t,{keyframes:a}=t,s=e||ea;s!==ea&&"number"!=typeof a[0]&&(this.mixKeyframes=R(eh,tL(a[0],a[1])),a=[0,100]);let l=s({...t,keyframes:a});"mirror"===i&&(this.mirroredGenerator=s({...t,keyframes:[...a].reverse(),velocity:-o})),null===l.calculatedDuration&&(l.calculatedDuration=tV(l));let{calculatedDuration:u}=l;this.calculatedDuration=u,this.resolvedDuration=u+n,this.totalDuration=this.resolvedDuration*(r+1)-n,this.generator=l}updateTime(t){let e=Math.round(t-this.startTime)*this.playbackSpeed;null!==this.holdTime?this.currentTime=this.holdTime:this.currentTime=e}tick(t,e=!1){let{generator:r,totalDuration:n,mixKeyframes:i,mirroredGenerator:o,resolvedDuration:a,calculatedDuration:s}=this;if(null===this.startTime)return r.next(0);let{delay:l=0,keyframes:u,repeat:c,repeatType:f,repeatDelay:h,type:p,onUpdate:d,finalKeyframe:y}=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)),e?this.currentTime=t:this.updateTime(t);let m=this.currentTime-l*(this.playbackSpeed>=0?1:-1),g=this.playbackSpeed>=0?m<0:m>n;this.currentTime=Math.max(m,0),"finished"===this.state&&null===this.holdTime&&(this.currentTime=n);let v=this.currentTime,b=r;if(c){let t=Math.min(this.currentTime,n)/a,e=Math.floor(t),r=t%1;!r&&t>=1&&(r=1),1===r&&e--,(e=Math.min(e,c+1))%2&&("reverse"===f?(r=1-r,h&&(r-=h/a)):"mirror"===f&&(b=o)),v=N(0,1,r)*a}let x=g?{done:!1,value:u[0]}:b.next(v);i&&(x.value=i(x.value));let{done:w}=x;g||null===s||(w=this.playbackSpeed>=0?this.currentTime>=n:this.currentTime<=0);let O=null===this.holdTime&&("finished"===this.state||"running"===this.state&&w);return O&&p!==tY&&(x.value=el(u,this.options,y,this.speed)),d&&d(x.value),O&&this.finish(),x}then(t,e){return this.finished.then(t,e)}get duration(){return U(this.calculatedDuration)}get time(){return U(this.currentTime)}set time(t){t=L(t),this.currentTime=t,null===this.startTime||null!==this.holdTime||0===this.playbackSpeed?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(E.now());let e=this.playbackSpeed!==t;this.playbackSpeed=t,e&&(this.time=U(this.currentTime))}play(){if(this.isStopped)return;let{driver:t=tU,startTime:e}=this.options;this.driver||(this.driver=t(t=>this.tick(t))),this.options.onPlay?.();let r=this.driver.now();"finished"===this.state?(this.updateFinished(),this.startTime=r):null!==this.holdTime?this.startTime=r-this.holdTime:this.startTime||(this.startTime=e??r),"finished"===this.state&&this.speed<0&&(this.startTime+=this.calculatedDuration),this.holdTime=null,this.state="running",this.driver.start()}pause(){this.state="paused",this.updateTime(E.now()),this.holdTime=this.currentTime}complete(){"running"!==this.state&&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,F.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)}}let ed=t=>180*t/Math.PI,ey=t=>eg(ed(Math.atan2(t[1],t[0]))),em={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:t=>(Math.abs(t[0])+Math.abs(t[3]))/2,rotate:ey,rotateZ:ey,skewX:t=>ed(Math.atan(t[1])),skewY:t=>ed(Math.atan(t[2])),skew:t=>(Math.abs(t[1])+Math.abs(t[2]))/2},eg=t=>((t%=360)<0&&(t+=360),t),ev=t=>Math.sqrt(t[0]*t[0]+t[1]*t[1]),eb=t=>Math.sqrt(t[4]*t[4]+t[5]*t[5]),ex={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:ev,scaleY:eb,scale:t=>(ev(t)+eb(t))/2,rotateX:t=>eg(ed(Math.atan2(t[6],t[5]))),rotateY:t=>eg(ed(Math.atan2(-t[2],t[0]))),rotateZ:ey,rotate:ey,skewX:t=>ed(Math.atan(t[4])),skewY:t=>ed(Math.atan(t[1])),skew:t=>(Math.abs(t[1])+Math.abs(t[4]))/2};function ew(t){return+!!t.includes("scale")}function eO(t,e){let r,n;if(!t||"none"===t)return ew(e);let i=t.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);if(i)r=ex,n=i;else{let e=t.match(/^matrix\(([-\d.e\s,]+)\)$/u);r=em,n=e}if(!n)return ew(e);let o=r[e],a=n[1].split(",").map(eA);return"function"==typeof o?o(a):a[o]}let eS=(t,e)=>{let{transform:r="none"}=getComputedStyle(t);return eO(r,e)};function eA(t){return parseFloat(t.trim())}let eE=t=>t===K||t===tu,ej=new Set(["x","y","z"]),eP=v.filter(t=>!ej.has(t)),eT={width:({x:t},{paddingLeft:e="0",paddingRight:r="0"})=>t.max-t.min-parseFloat(e)-parseFloat(r),height:({y:t},{paddingTop:e="0",paddingBottom:r="0"})=>t.max-t.min-parseFloat(e)-parseFloat(r),top:(t,{top:e})=>parseFloat(e),left:(t,{left:e})=>parseFloat(e),bottom:({y:t},{top:e})=>parseFloat(e)+(t.max-t.min),right:({x:t},{left:e})=>parseFloat(e)+(t.max-t.min),x:(t,{transform:e})=>eO(e,"x"),y:(t,{transform:e})=>eO(e,"y")};eT.translateX=eT.x,eT.translateY=eT.y;let eM=new Set,ek=!1,eC=!1,eI=!1;function e_(){if(eC){let t=Array.from(eM).filter(t=>t.needsMeasurement),e=new Set(t.map(t=>t.element)),r=new Map;e.forEach(t=>{let e=function(t){let e=[];return eP.forEach(r=>{let n=t.getValue(r);void 0!==n&&(e.push([r,n.get()]),n.set(+!!r.startsWith("scale")))}),e}(t);e.length&&(r.set(t,e),t.render())}),t.forEach(t=>t.measureInitialState()),e.forEach(t=>{t.render();let e=r.get(t);e&&e.forEach(([e,r])=>{t.getValue(e)?.set(r)})}),t.forEach(t=>t.measureEndState()),t.forEach(t=>{void 0!==t.suspendedScrollY&&window.scrollTo(0,t.suspendedScrollY)})}eC=!1,ek=!1,eM.forEach(t=>t.complete(eI)),eM.clear()}function eD(){eM.forEach(t=>{t.readKeyframes(),t.needsMeasurement&&(eC=!0)})}class eB{constructor(t,e,r,n,i,o=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...t],this.onComplete=e,this.name=r,this.motionValue=n,this.element=i,this.isAsync=o}scheduleResolve(){this.state="scheduled",this.isAsync?(eM.add(this),ek||(ek=!0,d.read(eD),d.resolveKeyframes(e_))):(this.readKeyframes(),this.complete())}readKeyframes(){let{unresolvedKeyframes:t,name:e,element:r,motionValue:n}=this;if(null===t[0]){let i=n?.get(),o=t[t.length-1];if(void 0!==i)t[0]=i;else if(r&&e){let n=r.readValue(e,o);null!=n&&(t[0]=n)}void 0===t[0]&&(t[0]=o),n&&void 0===i&&n.set(t[0])}for(let e=1;e<t.length;e++)t[e]??(t[e]=t[e-1])}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(t=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,t),eM.delete(this)}cancel(){"scheduled"===this.state&&(eM.delete(this),this.state="pending")}resume(){"pending"===this.state&&this.scheduleResolve()}}let eR=t=>t.startsWith("--");function eN(t){let e;return()=>(void 0===e&&(e=t()),e)}let eL=eN(()=>void 0!==window.ScrollTimeline),eU={},eF=function(t,e){let r=eN(t);return()=>eU[e]??r()}(()=>{try{document.createElement("div").animate({opacity:0}
1,{easing:"linear(0, 1)"})}catch(t){return!1}return!0},"linearEasing"),eV=([t,e,r,n])=>`cubic-bezier(${t}, ${e}, ${r}, ${n})`,e$={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:eV([0,.65,.55,1]),circOut:eV([.55,0,1,.45]),backIn:eV([.31,.01,.66,-.59]),backOut:eV([.33,1.53,.69,.99])};function ez(t){return"function"==typeof t&&"applyToOptions"in t}class eW extends ef{constructor(t){if(super(),this.finishedTime=null,this.isStopped=!1,!t)return;let{element:e,name:r,keyframes:n,pseudoElement:i,allowFlatten:o=!1,finalKeyframe:a,onComplete:s}=t;this.isPseudoElement=!!i,this.allowFlatten=o,this.options=t,$("string"!=typeof t.type,'animateMini doesn\'t support "type" as a string. Did you mean to import { spring } from "motion"?');let l=function({type:t,...e}){return ez(t)&&eF()?t.applyToOptions(e):(e.duration??(e.duration=300),e.ease??(e.ease="easeOut"),e)}(t);this.animation=function(t,e,r,{delay:n=0,duration:i=300,repeat:o=0,repeatType:a="loop",ease:s="easeOut",times:l}={},u){let c={[e]:r};l&&(c.offset=l);let f=function t(e,r){if(e)return"function"==typeof e?eF()?tF(e,r):"ease-out":ee(e)?eV(e):Array.isArray(e)?e.map(e=>t(e,r)||e$.easeOut):e$[e]}(s,i);Array.isArray(f)&&(c.easing=f),h.value&&F.waapi++;let p={delay:n,duration:i,easing:Array.isArray(f)?"linear":f,fill:"both",iterations:o+1,direction:"reverse"===a?"alternate":"normal"};u&&(p.pseudoElement=u);let d=t.animate(c,p);return h.value&&d.finished.finally(()=>{F.waapi--}),d}(e,r,n,l,i),!1===l.autoplay&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!i){let t=el(n,this.options,a,this.speed);this.updateMotionValue?this.updateMotionValue(t):function(t,e,r){eR(e)?t.style.setProperty(e,r):t.style[e]=r}(e,r,t),this.animation.cancel()}s?.(),this.notifyFinished()}}play(){this.isStopped||(this.animation.play(),"finished"===this.state&&this.updateFinished())}pause(){this.animation.pause()}complete(){this.animation.finish?.()}cancel(){try{this.animation.cancel()}catch(t){}}stop(){if(this.isStopped)return;this.isStopped=!0;let{state:t}=this;"idle"!==t&&"finished"!==t&&(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){this.isPseudoElement||this.animation.commitStyles?.()}get duration(){return U(Number(this.animation.effect?.getComputedTiming?.().duration||0))}get time(){return U(Number(this.animation.currentTime)||0)}set time(t){this.finishedTime=null,this.animation.currentTime=L(t)}get speed(){return this.animation.playbackRate}set speed(t){t<0&&(this.finishedTime=null),this.animation.playbackRate=t}get state(){return null!==this.finishedTime?"finished":this.animation.playState}get startTime(){return Number(this.animation.startTime)}set startTime(t){this.animation.startTime=t}attachTimeline({timeline:t,observe:e}){return(this.allowFlatten&&this.animation.effect?.updateTiming({easing:"linear"}),this.animation.onfinish=null,t&&eL())?(this.animation.timeline=t,u):e(this)}}let eH={anticipate:t4,backInOut:t8,circInOut:et};class eX extends eW{constructor(t){!function(t){"string"==typeof t.ease&&t.ease in eH&&(t.ease=eH[t.ease])}(t),ec(t),super(t),t.startTime&&(this.startTime=t.startTime),this.options=t}updateMotionValue(t){let{motionValue:e,onUpdate:r,onComplete:n,element:i,...o}=this.options;if(!e)return;if(void 0!==t)return void e.set(t);let a=new ep({...o,autoplay:!1}),s=L(this.finishedTime??this.time);e.setWithVelocity(a.sample(s-10).value,a.sample(s).value,10),a.stop()}}let eq=(t,e)=>"zIndex"!==e&&!!("number"==typeof t||Array.isArray(t)||"string"==typeof t&&(tS.test(t)||"0"===t)&&!t.startsWith("url(")),eK=new Set(["opacity","clipPath","filter","transform"]),eY=eN(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));class eG extends ef{constructor({autoplay:t=!0,delay:e=0,type:r="keyframes",repeat:n=0,repeatDelay:i=0,repeatType:o="loop",keyframes:a,name:s,motionValue:l,element:u,...c}){super(),this.stop=()=>{this._animation&&(this._animation.stop(),this.stopTimeline?.()),this.keyframeResolver?.cancel()},this.createdAt=E.now();
1let f={autoplay:t,delay:e,type:r,repeat:n,repeatDelay:i,repeatType:o,name:s,motionValue:l,element:u,...c},h=u?.KeyframeResolver||eB;this.keyframeResolver=new h(a,(t,e,r)=>this.onKeyframesResolved(t,e,f,!r),s,l,u),this.keyframeResolver?.scheduleResolve()}onKeyframesResolved(t,e,r,n){this.keyframeResolver=void 0;let{name:i,type:o,velocity:a,delay:s,isHandoff:l,onUpdate:f}=r;this.resolvedAt=E.now(),!function(t,e,r,n){let i=t[0];if(null===i)return!1;if("display"===e||"visibility"===e)return!0;let o=t[t.length-1],a=eq(i,e),s=eq(o,e);return V(a===s,`You are trying to animate ${e} from "${i}" to "${o}". ${i} is not an animatable value - to enable this animation set ${i} to a value animatable to ${o} via the \`style\` property.`),!!a&&!!s&&(function(t){let e=t[0];if(1===t.length)return!0;for(let r=0;r<t.length;r++)if(t[r]!==e)return!0}(t)||("spring"===r||ez(r))&&n)}(t,i,o,a)&&((c.instantAnimations||!s)&&f?.(el(t,r,e)),t[0]=t[t.length-1],r.duration=0,r.repeat=0);let h={startTime:n?this.resolvedAt&&this.resolvedAt-this.createdAt>40?this.resolvedAt:this.createdAt:void 0,finalKeyframe:e,...r,keyframes:t},p=!l&&function(t){let{motionValue:e,name:r,repeatDelay:n,repeatType:i,damping:o,type:a}=t;if(!e||!e.owner||!(e.owner.current instanceof HTMLElement))return!1;let{onUpdate:s,transformTemplate:l}=e.owner.getProps();return eY()&&r&&eK.has(r)&&("transform"!==r||!l)&&!s&&!n&&"mirror"!==i&&0!==o&&"inertia"!==a}(h)?new eX({...h,element:h.motionValue.owner.current}):new ep(h);p.finished.then(()=>this.notifyFinished()).catch(u),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,e){return this.finished.finally(t).then(()=>{})}get animation(){return this._animation||(this.keyframeResolver?.resume(),eI=!0,eD(),e_(),eI=!1),this._animation}get duration(){return this.animation.duration}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()}}let eJ=t=>null!==t,eZ={type:"spring",stiffness:500,damping:25,restSpeed:10},eQ=t=>({type:"spring",stiffness:550,damping:0===t?2*Math.sqrt(550):30,restSpeed:10}),e0={type:"keyframes",duration:.8},e1={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},e2=(t,{keyframes:e})=>e.length>2?e0:b.has(t)?t.startsWith("scale")?eQ(e[1]):eZ:e1,e5=(t,e,r,n={},i,o)=>a=>{let s=l(n,t)||{},u=s.delay||n.delay||0,{elapsed:f=0}=n;f-=L(u);let h={keyframes:Array.isArray(r)?r:[null,r],ease:"easeOut",velocity:e.getVelocity(),...s,delay:-f,onUpdate:t=>{e.set(t),s.onUpdate&&s.onUpdate(t)},onComplete:()=>{a(),s.onComplete&&s.onComplete()},name:t,motionValue:e,element:o?void 0:i};!function({when:t,delay:e,delayChildren:r,staggerChildren:n,staggerDirection:i,repeat:o,repeatType:a,repeatDelay:s,from:l,elapsed:u,...c}){return!!Object.keys(c).length}(s)&&Object.assign(h,e2(t,h)),h.duration&&(h.duration=L(h.duration)),h.repeatDelay&&(h.repeatDelay=L(h.repeatDelay)),void 0!==h.from&&(h.keyframes[0]=h.from);let p=!1;if(!1!==h.type&&(0!==h.duration||h.repeatDelay)||(h.duration=0,0===h.delay&&(p=!0)),(c.instantAnimations||c.skipAnimations)&&(p=!0,h.duration=0,h.delay=0),h.allowFlatten=!s.type&&!s.ease,p&&!o&&void 0!==e.get()){let t=function(t,{repeat:e,repeatType:r="loop"},n){let i=t.filter(eJ),o=e&&"loop"!==r&&e%2==1?0:i.length-1;return i[o]}(h.keyframes,s);if(void 0!==t)return void d.update(()=>{h.onUpdate(t),h.onComplete()})}return s.isSync?new ep(h):new eG(h)};function e3(t,e,{delay:r=0,transitionOverride:n,type:i}={}){let{transition:o=t.getDefaultTransition(),transitionEnd:a,...u}=e;n&&(o=n);let c=[],f=i&&t.animationState&&t.animationState.getState()[i];for(let e in u){let n=t.getValue(e,t.latestValues[e]??null),i=u[e];
1if(void 0===i||f&&function({protectedKeys:t,needsAnimating:e},r){let n=t.hasOwnProperty(r)&&!0!==e[r];return e[r]=!1,n}(f,e))continue;let a={delay:r,...l(o||{},e)},s=n.get();if(void 0!==s&&!n.isAnimating&&!Array.isArray(i)&&i===s&&!a.velocity)continue;let h=!1;if(window.MotionHandoffAnimation){let r=t.props[D];if(r){let t=window.MotionHandoffAnimation(r,e,d);null!==t&&(a.startTime=t,h=!0)}}I(t,e),n.start(e5(e,n,i,t.shouldReduceMotion&&x.has(e)?{type:!1}:a,t,h));let p=n.animation;p&&c.push(p)}return a&&Promise.all(c).then(()=>{d.update(()=>{a&&function(t,e){let{transitionEnd:r={},transition:n={},...i}=s(t,e)||{};for(let e in i={...i,...r}){var o;let r=k(o=i[e])?o[o.length-1]||0:o;t.hasValue(e)?t.getValue(e).set(r):t.addValue(e,M(r))}}(t,a)})}),c}function e6(t,e,r={}){let n=s(t,e,"exit"===r.type?t.presenceContext?.custom:void 0),{transition:i=t.getDefaultTransition()||{}}=n||{};r.transitionOverride&&(i=r.transitionOverride);let o=n?()=>Promise.all(e3(t,n,r)):()=>Promise.resolve(),a=t.variantChildren&&t.variantChildren.size?(n=0)=>{let{delayChildren:o=0,staggerChildren:a,staggerDirection:s}=i;return function(t,e,r=0,n=0,i=1,o){let a=[],s=(t.variantChildren.size-1)*n,l=1===i?(t=0)=>t*n:(t=0)=>s-t*n;return Array.from(t.variantChildren).sort(e8).forEach((t,n)=>{t.notify("AnimationStart",e),a.push(e6(t,e,{...o,delay:r+l(n)}).then(()=>t.notify("AnimationComplete",e)))}),Promise.all(a)}(t,e,o+n,a,s,r)}:()=>Promise.resolve(),{when:l}=i;if(!l)return Promise.all([o(),a(r.delay)]);{let[t,e]="beforeChildren"===l?[o,a]:[a,o];return t().then(()=>e())}}function e8(t,e){return t.sortNodePosition(e)}function e4(t,e){if(!Array.isArray(e))return!1;let r=e.length;if(r!==t.length)return!1;for(let n=0;n<r;n++)if(e[n]!==t[n])return!1;return!0}function e9(t){return"string"==typeof t||Array.isArray(t)}let e7=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],rt=["initial",...e7],re=rt.length,rr=[...e7].reverse(),rn=e7.length;function ri(t=!1){return{isActive:t,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function ro(){return{animate:ri(!0),whileInView:ri(),whileHover:ri(),whileTap:ri(),whileDrag:ri(),whileFocus:ri(),exit:ri()}}class ra{constructor(t){this.isMounted=!1,this.node=t}update(){}}class rs extends ra{constructor(t){super(t),t.animationState||(t.animationState=function(t){let e=e=>Promise.all(e.map(({animation:e,options:r})=>(function(t,e,r={}){let n;if(t.notify("AnimationStart",e),Array.isArray(e))n=Promise.all(e.map(e=>e6(t,e,r)));else if("string"==typeof e)n=e6(t,e,r);else{let i="function"==typeof e?s(t,e,r.custom):e;n=Promise.all(e3(t,i,r))}return n.then(()=>{t.notify("AnimationComplete",e)})})(t,e,r))),r=ro(),n=!0,o=e=>(r,n)=>{let i=s(t,n,"exit"===e?t.presenceContext?.custom:void 0);if(i){let{transition:t,transitionEnd:e,...n}=i;r={...r,...n,...e}}return r};function a(a){let{props:l}=t,u=function t(e){if(!e)return;if(!e.isControllingVariants){let r=e.parent&&t(e.parent)||{};return void 0!==e.props.initial&&(r.initial=e.props.initial),r}let r={};for(let t=0;t<re;t++){let n=rt[t],i=e.props[n];(e9(i)||!1===i)&&(r[n]=i)}return r}(t.parent)||{},c=[],f=new Set,h={},p=1/0;for(let e=0;e<rn;e++){var d,y;let s=rr[e],m=r[s],g=void 0!==l[s]?l[s]:u[s],v=e9(g),b=s===a?m.isActive:null;!1===b&&(p=e);let x=g===u[s]&&g!==l[s]&&v;if(x&&n&&t.manuallyAnimateOnMount&&(x=!1),m.protectedKeys={...h},!m.isActive&&null===b||!g&&!m.prevProp||i(g)||"boolean"==typeof g)continue;let w=(d=m.prevProp,"string"==typeof(y=g)?y!==d:!!Array.isArray(y)&&!e4(y,d)),O=w||s===a&&m.isActive&&!x&&v||e>p&&v,S=!1,A=Array.isArray(g)?g:[g],E=A.reduce(o(s),{});!1===b&&(E={});let{prevResolvedValues:j={}}=m,P={...j,...E},T=e=>{O=!0,f.has(e)&&(S=!0,f.delete(e)),m.needsAnimating[e]=!0;let r=t.getValue(e);r&&(r.liveStyle=!1)};for(let t in P){let e=E[t],r=j[t];if(h.hasOwnProperty(t))continue;let n=!1;(k(e)&&k(r)?e4(e,r):e===r)?void 0!==e&&f.has(t)?T(t):m.protectedKeys[t]=!0:null!=e?T(t):f.add(t)}m.prevProp=g,m.prevResolvedValues=E,m.isActive&&(h={...h,...E}),n&&t.blockInitialAnimation&&(O=!1);let M=!(x&&w)||S;O&&M&&c.push(...A.map(t=>({animation:t,options:{type:s}})))}
1if(f.size){let e={};if("boolean"!=typeof l.initial){let r=s(t,Array.isArray(l.initial)?l.initial[0]:l.initial);r&&r.transition&&(e.transition=r.transition)}f.forEach(r=>{let n=t.getBaseTarget(r),i=t.getValue(r);i&&(i.liveStyle=!0),e[r]=n??null}),c.push({animation:e})}let m=!!c.length;return n&&(!1===l.initial||l.initial===l.animate)&&!t.manuallyAnimateOnMount&&(m=!1),n=!1,m?e(c):Promise.resolve()}return{animateChanges:a,setActive:function(e,n){if(r[e].isActive===n)return Promise.resolve();t.variantChildren?.forEach(t=>t.animationState?.setActive(e,n)),r[e].isActive=n;let i=a(e);for(let t in r)r[t].protectedKeys={};return i},setAnimateFunction:function(r){e=r(t)},getState:()=>r,reset:()=>{r=ro(),n=!0}}}(t))}updateAnimationControlsSubscription(){let{animate:t}=this.node.getProps();i(t)&&(this.unmountControls=t.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){let{animate:t}=this.node.getProps(),{animate:e}=this.node.prevProps||{};t!==e&&this.updateAnimationControlsSubscription()}unmount(){this.node.animationState.reset(),this.unmountControls?.()}}let rl=0;class ru extends ra{constructor(){super(...arguments),this.id=rl++}update(){if(!this.node.presenceContext)return;let{isPresent:t,onExitComplete:e}=this.node.presenceContext,{isPresent:r}=this.node.prevPresenceContext||{};if(!this.node.animationState||t===r)return;let n=this.node.animationState.setActive("exit",!t);e&&!t&&n.then(()=>{e(this.id)})}mount(){let{register:t,onExitComplete:e}=this.node.presenceContext||{};
1e&&e(this.id),t&&(this.unmount=t(this.id))}unmount(){}}let rc={x:!1,y:!1};function rf(t,e,r,n={passive:!0}){return t.addEventListener(e,r,n),()=>t.removeEventListener(e,r)}let rh=t=>"mouse"===t.pointerType?"number"!=typeof t.button||t.button<=0:!1!==t.isPrimary;function rp(t){return{point:{x:t.pageX,y:t.pageY}}}let rd=t=>e=>rh(e)&&t(e,rp(e));function ry(t,e,r,n){return rf(t,e,rd(r),n)}function rm({top:t,left:e,right:r,bottom:n}){return{x:{min:e,max:r},y:{min:t,max:n}}}function rg(t){return t.max-t.min}function rv(t,e,r,n=.5){t.origin=n,t.originPoint=tj(e.min,e.max,t.origin),t.scale=rg(r)/rg(e),t.translate=tj(r.min,r.max,t.origin)-t.originPoint,(t.scale>=.9999&&t.scale<=1.0001||isNaN(t.scale))&&(t.scale=1),(t.translate>=-.01&&t.translate<=.01||isNaN(t.translate))&&(t.translate=0)}function rb(t,e,r,n){rv(t.x,e.x,r.x,n?n.originX:void 0),rv(t.y,e.y,r.y,n?n.originY:void 0)}function rx(t,e,r){t.min=r.min+e.min,t.max=t.min+rg(e)}function rw(t,e,r){t.min=e.min-r.min,t.max=t.min+rg(e)}function rO(t,e,r){rw(t.x,e.x,r.x),rw(t.y,e.y,r.y)}let rS=()=>({translate:0,scale:1,origin:0,originPoint:0}),rA=()=>({x:rS(),y:rS()}),rE=()=>({min:0,max:0}),rj=()=>({x:rE(),y:rE()});function rP(t){return[t("x"),t("y")]}function rT(t){return void 0===t||1===t}function rM({scale:t,scaleX:e,scaleY:r}){return!rT(t)||!rT(e)||!rT(r)}function rk(t){return rM(t)||rC(t)||t.z||t.rotate||t.rotateX||t.rotateY||t.skewX||t.skewY}function rC(t){var e,r;return(e=t.x)&&"0%"!==e||(r=t.y)&&"0%"!==r}function rI(t,e,r,n,i){return void 0!==i&&(t=n+i*(t-n)),n+r*(t-n)+e}function r_(t,e=0,r=1,n,i){t.min=rI(t.min,e,r,n,i),t.max=rI(t.max,e,r,n,i)}function rD(t,{x:e,y:r}){r_(t.x,e.translate,e.scale,e.originPoint),r_(t.y,r.translate,r.scale,r.originPoint)}function rB(t,e){t.min=t.min+e,t.max=t.max+e}function rR(t,e,r,n,i=.5){let o=tj(t.min,t.max,i);r_(t,e,r,o,n)}function rN(t,e){rR(t.x,e.x,e.scaleX,e.scale,e.originX),rR(t.y,e.y,e.scaleY,e.scale,e.originY)}function rL(t,e){return rm(function(t,e){if(!e)return t;let r=e({x:t.left,y:t.top}),n=e({x:t.right,y:t.bottom});return{top:r.y,left:r.x,bottom:n.y,right:n.x}}(t.getBoundingClientRect(),e))}let rU=({current:t})=>t?t.ownerDocument.defaultView:null;function rF(t){return t&&"object"==typeof t&&Object.prototype.hasOwnProperty.call(t,"current")}let rV=(t,e)=>Math.abs(t-e);class r${constructor(t,e,{transformPagePoint:r,contextWindow:n,dragSnapToOrigin:i=!1}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let t=rH(this.lastMoveEventInfo,this.history),e=null!==this.startEvent,r=function(t,e){return Math.sqrt(rV(t.x,e.x)**2+rV(t.y,e.y)**2)}(t.offset,{x:0,y:0})>=3;if(!e&&!r)return;let{point:n}=t,{timestamp:i}=m;this.history.push({...n,timestamp:i});let{onStart:o,onMove:a}=this.handlers;e||(o&&o(this.lastMoveEvent,t),this.startEvent=this.lastMoveEvent),a&&a(this.lastMoveEvent,t)},this.handlePointerMove=(t,e)=>{this.lastMoveEvent=t,this.lastMoveEventInfo=rz(e,this.transformPagePoint),d.update(this.updatePoint,!0)},this.handlePointerUp=(t,e)=>{this.end();let{onEnd:r,onSessionEnd:n,resumeAnimation:i}=this.handlers;if(this.dragSnapToOrigin&&i&&i(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let o=rH("pointercancel"===t.type?this.lastMoveEventInfo:rz(e,this.transformPagePoint),this.history);this.startEvent&&r&&r(t,o),n&&n(t,o)},!rh(t))return;this.dragSnapToOrigin=i,this.handlers=e,this.transformPagePoint=r,this.contextWindow=n||window;let o=rz(rp(t),this.transformPagePoint),{point:a}=o,{timestamp:s}=m;this.history=[{...a,timestamp:s}];let{onSessionStart:l}=e;l&&l(t,rH(o,this.history)),this.removeListeners=R(ry(this.contextWindow,"pointermove",this.handlePointerMove),ry(this.contextWindow,"pointerup",this.handlePointerUp),ry(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),y(this.updatePoint)}}function rz(t,e){return e?{point:e(t.point)}:t}function rW(t,e){return{x:t.x-e.x,y:t.y-e.y}}function rH({point:t},e){return{point:t,delta:rW(t,rX(e)),offset:rW(t,e[0]),velocity:function(t,e){if(t.length<2)return{x:0,y:0};let r=t.length-1,n=null,i=rX(t);for(;r>=0&&(n=t[r],!(i.timestamp-n.timestamp>L(.1)));)r--;if(!n)return{x:0,y:0};let o=U(i.timestamp-n.timestamp);if(0===o)return{x:0,y:0};let a={x:(i.x-n.x)/o,y:(i.y-n.y)/o};return a.x===1/0&&(a.x=0),a.y===1/0&&(a.y=0),a}(e,.1)}}function rX(t){return t[t.length-1]}function rq(t,e,r){return{min:void 0!==e?t.min+e:void 0,max:void 0!==r?t.max+r-(t.max-t.min):void 0}}function rK(t,e){let r=e.min-t.min,n=e.max-t.max;return e.max-e.min<t.max-t.min&&([r,n]=[n,r]),{min:r,max:n}}function rY(t,e,r){return{min:rG(t,e),max:rG(t,r)}}function rG(t,e){return"number"==typeof t?t:t[e]||0}let rJ=new WeakMap;class rZ{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=rj(),this.visualElement=t}start(t,{snapToCursor:e=!1}={}){let{presenceContext:r}=this.visualElement;if(r&&!1===r.isPresent)return;let{dragSnapToOrigin:n}=this.getProps();this.panSession=new r$(t,{onSessionStart:t=>{let{dragSnapToOrigin:r}=this.getProps();r?this.pauseAnimation():this.stopAnimation(),e&&this.snapToCursor(rp(t).point)},onStart:(t,e)=>{let{drag:r,dragPropagation:n,onDragStart:i}=this.getProps();if(r&&!n&&(this.openDragLock&&this.openDragLock(),this.openDragLock=function(t){if("x"===t||"y"===t)if(rc[t])return null;else return rc[t]=!0,()=>{rc[t]=!1};return rc.x||rc.y?null:(rc.x=rc.y=!0,()=>{rc.x=rc.y=!1})}(r),!this.openDragLock))return;this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),rP(t=>{let e=this.getAxisMotionValue(t).get()||0;if(tl.test(e)){let{projection:r}=this.visualElement;if(r&&r.layout){let n=r.layout.layoutBox[t];
1n&&(e=rg(n)*(parseFloat(e)/100))}}this.originPoint[t]=e}),i&&d.postRender(()=>i(t,e)),I(this.visualElement,"transform");let{animationState:o}=this.visualElement;o&&o.setActive("whileDrag",!0)},onMove:(t,e)=>{let{dragPropagation:r,dragDirectionLock:n,onDirectionLock:i,onDrag:o}=this.getProps();if(!r&&!this.openDragLock)return;let{offset:a}=e;if(n&&null===this.currentDirection){this.currentDirection=function(t,e=10){let r=null;return Math.abs(t.y)>e?r="y":Math.abs(t.x)>e&&(r="x"),r}(a),null!==this.currentDirection&&i&&i(this.currentDirection);return}this.updateAxis("x",e.point,a),this.updateAxis("y",e.point,a),this.visualElement.render(),o&&o(t,e)},onSessionEnd:(t,e)=>this.stop(t,e),resumeAnimation:()=>rP(t=>"paused"===this.getAnimationState(t)&&this.getAxisMotionValue(t).animation?.play())},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:n,contextWindow:rU(this.visualElement)})}stop(t,e){let r=this.isDragging;if(this.cancel(),!r)return;let{velocity:n}=e;this.startAnimation(n);let{onDragEnd:i}=this.getProps();i&&d.postRender(()=>i(t,e))}cancel(){this.isDragging=!1;let{projection:t,animationState:e}=this.visualElement;t&&(t.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;let{dragPropagation:r}=this.getProps();!r&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),e&&e.setActive("whileDrag",!1)}updateAxis(t,e,r){let{drag:n}=this.getProps();if(!r||!rQ(t,n,this.currentDirection))return;let i=this.getAxisMotionValue(t),o=this.originPoint[t]+r[t];this.constraints&&this.constraints[t]&&(o=function(t,{min:e,max:r},n){return void 0!==e&&t<e?t=n?tj(e,t,n.min):Math.max(t,e):void 0!==r&&t>r&&(t=n?tj(r,t,n.max):Math.min(t,r)),t}(o,this.constraints[t],this.elastic[t])),i.set(o)}resolveConstraints(){let{dragConstraints:t,dragElastic:e}=this.getProps(),r=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):this.visualElement.projection?.layout,n=this.constraints;t&&rF(t)?this.constraints||(this.constraints=this.resolveRefConstraints()):t&&r?this.constraints=function(t,{top:e,left:r,bottom:n,right:i}){return{x:rq(t.x,r,i),y:rq(t.y,e,n)}}(r.layoutBox,t):this.constraints=!1,this.elastic=function(t=.35){return!1===t?t=0:!0===t&&(t=.35),{x:rY(t,"left","right"),y:rY(t,"top","bottom")}}(e),n!==this.constraints&&r&&this.constraints&&!this.hasMutatedConstraints&&rP(t=>{!1!==this.constraints&&this.getAxisMotionValue(t)&&(this.constraints[t]=function(t,e){let r={};return void 0!==e.min&&(r.min=e.min-t.min),void 0!==e.max&&(r.max=e.max-t.min),r}(r.layoutBox[t],this.constraints[t]))})}resolveRefConstraints(){var t;let{dragConstraints:e,onMeasureDragConstraints:r}=this.getProps();if(!e||!rF(e))return!1;let n=e.current;$(null!==n,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.");let{projection:i}=this.visualElement;if(!i||!i.layout)return!1;let o=function(t,e,r){let n=rL(t,r),{scroll:i}=e;return i&&(rB(n.x,i.offset.x),rB(n.y,i.offset.y)),n}(n,i.root,this.visualElement.getTransformPagePoint()),a=(t=i.layout.layoutBox,{x:rK(t.x,o.x),y:rK(t.y,o.y)});if(r){let t=r(function({x:t,y:e}){return{top:e.min,right:t.max,bottom:e.max,left:t.min}}(a));this.hasMutatedConstraints=!!t,t&&(a=rm(t))}return a}startAnimation(t){let{drag:e,dragMomentum:r,dragElastic:n,dragTransition:i,dragSnapToOrigin:o,onDragTransitionEnd:a}=this.getProps(),s=this.constraints||{};return Promise.all(rP(a=>{if(!rQ(a,e,this.currentDirection))return;let l=s&&s[a]||{};o&&(l={min:0,max:0});let u={type:"inertia",velocity:r?t[a]:0,bounceStiffness:n?200:1e6,bounceDamping:n?40:1e7,timeConstant:750,restDelta:1,restSpeed:10,...i,...l};return this.startAxisValueAnimation(a,u)})).then(a)}startAxisValueAnimation(t,e){let r=this.getAxisMotionValue(t);return I(this.visualElement,t),r.start(e5(t,r,0,e,this.visualElement,!1))}stopAnimation(){rP(t=>this.getAxisMotionValue(t).stop())}pauseAnimation(){rP(t=>this.getAxisMotionValue(t).animation?.pause())}getAnimationState(t){return this.getAxisMotionValue(t).animation?.state}getAxisMotionValue(t){let e=`_drag${t.toUpperCase()}`,r=this.visualElement.getProps();return r[e]||this.visualElement.getValue(t,(r.initial?r.initial[t]:void 0)||0)}snapToCursor(t){rP(e=>{let{drag:r}=this.getProps();if(!rQ(e,r,this.currentDirection))return;let{projection:n}=this.visualElement,i=this.getAxisMotionValue(e);if(n&&n.layout){let{min:r,max:o}=n.layout.layoutBox[e];i.set(t[e]-tj(r,o,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;let{drag:t,dragConstraints:e}=this.getProps(),{projection:r}=this.visualElement;if(!rF(e)||!r||!this.constraints)return;this.stopAnimation();let n={x:0,y:0};rP(t=>{let e=this.getAxisMotionValue(t);if(e&&!1!==this.constraints){let r=e.get();n[t]=function(t,e){let r=.5,n=rg(t),i=rg(e);return i>n?r=eo(e.min,e.max-n,t.min):n>i&&(r=eo(t.min,t.max-i,e.min)),N(0,1,r)}({min:r,max:r},this.constraints[t])}});let{transformTemplate:i}=this.visualElement.getProps();this.visualElement.current.style.transform=i?i({},""):"none",r.root&&r.root.updateScroll(),r.updateLayout(),this.resolveConstraints(),rP(e=>{if(!rQ(e,t,null))return;let r=this.getAxisMotionValue(e),{min:i,max:o}=this.constraints[e];r.set(tj(i,o,n[e]))})}addListeners(){if(!this.visualElement.current)return;rJ.set(this.visualElement,this);let t=ry(this.visualElement.current,"pointerdown",t=>{let{drag:e,dragListener:r=!0}=this.getProps();e&&r&&this.start(t)}),e=()=>{let{dragConstraints:t}=this.getProps();rF(t)&&t.current&&(this.constraints=this.resolveRefConstraints())},{projection:r}=this.visualElement,n=r.addEventListener("measure",e);r&&!r.layout&&(r.root&&r.root.updateScroll(),r.updateLayout()),d.read(e);let i=rf(window,"resize",()=>this.scalePositionWithinConstraints()),o=r.addEventListener("didUpdate",({delta:t,hasLayoutChanged:e})=>{this.isDragging&&e&&(rP(e=>{let r=this.getAxisMotionValue(e);r&&(this.originPoint[e]+=t[e].translate,r.set(r.get()+t[e].translate))}),this.visualElement.render())});return()=>{i(),t(),n(),o&&o()}}getProps(){let t=this.visualElement.getProps(),{drag:e=!1,dragDirectionLock:r=!1,dragPropagation:n=!1,dragConstraints:i=!1,dragElastic:o=.35,dragMomentum:a=!0}=t;return{...t,drag:e,dragDirectionLock:r,dragPropagation:n,dragConstraints:i,dragElastic:o,dragMomentum:a}}}function rQ(t,e,r){return(!0===e||e===t)&&(null===r||r===t)}class r0 extends ra{constructor(t){super(t),this.removeGroupControls=u,this.removeListeners=u,this.controls=new rZ(t)}mount(){let{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||u}unmount(){this.removeGroupControls(),this.removeListeners()}}let r1=t=>(e,r)=>{t&&d.postRender(()=>t(e,r))};class r2 extends ra{constructor(){super(...arguments),this.removePointerDownListener=u}onPointerDown(t){this.session=new r$(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:rU(this.node)})}createPanHandlers(){let{onPanSessionStart:t,onPanStart:e,onPan:r,onPanEnd:n}=this.node.getProps();return{onSessionStart:r1(t),onStart:r1(e),onMove:r,onEnd:(t,e)=>{delete this.session,n&&d.postRender(()=>n(t,e))}}}mount(){this.removePointerDownListener=ry(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 r5,r3,r6=r(95155);let{schedule:r8}=p(queueMicrotask,!1);var r4=r(12115);let r9=(0,r4.createContext)(null),r7=(0,r4.createContext)({}),nt=(0,r4.createContext)({}),ne={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function nr(t,e){return e.max===e.min?0:t/(e.max-e.min)*100}let nn={correct:(t,e)=>{if(!e.target)return t;if("string"==typeof t)if(!tu.test(t))return t;else t=parseFloat(t);let r=nr(t,e.target.x),n=nr(t,e.target.y);return`${r}% ${n}%`}},ni={};class no extends r4.Component{componentDidMount(){let{visualElement:t,layoutGroup:e,switchLayoutGroup:r,layoutId:n}=this.props,{projection:i}=t;
1for(let t in ns)ni[t]=ns[t],W(t)&&(ni[t].isCSSVariable=!0);i&&(e.group&&e.group.add(i),r&&r.register&&n&&r.register(i),i.root.didUpdate(),i.addEventListener("animationComplete",()=>{this.safeToRemove()}),i.setOptions({...i.options,onExitComplete:()=>this.safeToRemove()})),ne.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){let{layoutDependency:e,visualElement:r,drag:n,isPresent:i}=this.props,{projection:o}=r;return o&&(o.isPresent=i,n||t.layoutDependency!==e||void 0===e||t.isPresent!==i?o.willUpdate():this.safeToRemove(),t.isPresent!==i&&(i?o.promote():o.relegate()||d.postRender(()=>{let t=o.getStack();t&&t.members.length||this.safeToRemove()}))),null}componentDidUpdate(){let{projection:t}=this.props.visualElement;t&&(t.root.didUpdate(),r8.postRender(()=>{!t.currentAnimation&&t.isLead()&&this.safeToRemove()}))}componentWillUnmount(){let{visualElement:t,layoutGroup:e,switchLayoutGroup:r}=this.props,{projection:n}=t;n&&(n.scheduleCheckAfterUnmount(),e&&e.group&&e.group.remove(n),r&&r.deregister&&r.deregister(n))}safeToRemove(){let{safeToRemove:t}=this.props;t&&t()}render(){return null}}function na(t){let[e,r]=function(t=!0){let e=(0,r4.useContext)(r9);if(null===e)return[!0,null];let{isPresent:r,onExitComplete:n,register:i}=e,o=(0,r4.useId)();(0,r4.useEffect)(()=>{if(t)return i(o)},[t]);let a=(0,r4.useCallback)(()=>t&&n&&n(o),[o,n,t]);return!r&&n?[!1,a]:[!0]}(),n=(0,r4.useContext)(r7);return(0,r6.jsx)(no,{...t,layoutGroup:n,switchLayoutGroup:(0,r4.useContext)(nt),isPresent:e,safeToRemove:r})}let ns={borderRadius:{...nn,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:nn,borderTopRightRadius:nn,borderBottomLeftRadius:nn,borderBottomRightRadius:nn,boxShadow:{correct:(t,{treeScale:e,projectionDelta:r})=>{let n=tS.parse(t);if(n.length>5)return t;let i=tS.createTransformer(t),o=+("number"!=typeof n[0]),a=r.x.scale*e.x,s=r.y.scale*e.y;n[0+o]/=a,n[1+o]/=s;let l=tj(a,s,.5);return"number"==typeof n[2+o]&&(n[2+o]/=l),"number"==typeof n[3+o]&&(n[3+o]/=l),i(n)}}},nl=(t,e)=>t.depth-e.depth;class nu{constructor(){this.children=[],this.isDirty=!1}add(t){w(this.children,t),this.isDirty=!0}remove(t){O(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(nl),this.isDirty=!1,this.children.forEach(t)}}function nc(t){return C(t)?t.get():t}let nf=["TopLeft","TopRight","BottomLeft","BottomRight"],nh=nf.length,np=t=>"string"==typeof t?parseFloat(t):t,nd=t=>"number"==typeof t||tu.test(t);function ny(t,e){return void 0!==t[e]?t[e]:t.borderRadius}let nm=nv(0,.5,t7),ng=nv(.5,.95,u);function nv(t,e,r){return n=>n<t?0:n>e?1:r(eo(t,e,n))}function nb(t,e){t.min=e.min,t.max=e.max}function nx(t,e){nb(t.x,e.x),nb(t.y,e.y)}function nw(t,e){t.translate=e.translate,t.scale=e.scale,t.originPoint=e.originPoint,t.origin=e.origin}function nO(t,e,r,n,i){return t-=e,t=n+1/r*(t-n),void 0!==i&&(t=n+1/i*(t-n)),t}function nS(t,e,[r,n,i],o,a){!function(t,e=0,r=1,n=.5,i,o=t,a=t){if(tl.test(e)&&(e=parseFloat(e),e=tj(a.min,a.max,e/100)-a.min),"number"!=typeof e)return;let s=tj(o.min,o.max,n);t===o&&(s-=e),t.min=nO(t.min,e,r,s,i),t.max=nO(t.max,e,r,s,i)}(t,e[r],e[n],e[i],e.scale,o,a)}let nA=["x","scaleX","originX"],nE=["y","scaleY","originY"];function nj(t,e,r,n){nS(t.x,e,nA,r?r.x:void 0,n?n.x:void 0),nS(t.y,e,nE,r?r.y:void 0,n?n.y:void 0)}function nP(t){return 0===t.translate&&1===t.scale}function nT(t){return nP(t.x)&&nP(t.y)}function nM(t,e){return t.min===e.min&&t.max===e.max}function nk(t,e){return Math.round(t.min)===Math.round(e.min)&&Math.round(t.max)===Math.round(e.max)}function nC(t,e){return nk(t.x,e.x)&&nk(t.y,e.y)}function nI(t){return rg(t.x)/rg(t.y)}function n_(t,e){return t.translate===e.translate&&t.scale===e.scale&&t.originPoint===e.originPoint}class nD{constructor(){this.members=[]}add(t){w(this.members,t),t.scheduleRender()}remove(t){if(O(this.members,t),t===this.prevLead&&(this.prevLead=void 0),t===this.lead){let t=this.members[this.members.length-1];t&&this.promote(t)}}relegate(t){let e,r=this.members.findIndex(e=>t===e);if(0===r)return!1;for(let t=r;t>=0;t--){let r=this.members[t];if(!1!==r.isPresent){e=r;break}}return!!e&&(this.promote(e),!0)}promote(t,e){let r=this.lead;if(t!==r&&(this.prevLead=r,this.lead=t,t.show(),r)){r.instance&&r.scheduleRender(),t.scheduleRender(),t.resumeFrom=r,e&&(t.resumeFrom.preserveOpacity=!0),r.snapshot&&(t.snapshot=r.snapshot,t.snapshot.latestValues=r.animationValues||r.latestValues),t.root&&t.root.isUpdating&&(t.isLayoutDirty=!0);let{crossfade:n}=t.options;!1===n&&r.hide()}}
1exitAnimationComplete(){this.members.forEach(t=>{let{options:e,resumingFrom:r}=t;e.onExitComplete&&e.onExitComplete(),r&&r.options.onExitComplete&&r.options.onExitComplete()})}scheduleRender(){this.members.forEach(t=>{t.instance&&t.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}let nB={nodes:0,calculatedTargetDeltas:0,calculatedProjections:0},nR=["","X","Y","Z"],nN={visibility:"hidden"},nL=0;function nU(t,e,r,n){let{latestValues:i}=e;i[t]&&(r[t]=i[t],e.setStaticValue(t,0),n&&(n[t]=0))}function nF({attachResizeListener:t,defaultParent:e,measureScroll:r,checkIsScrollRoot:n,resetTransform:i}){return class{constructor(t={},r=e?.()){this.id=nL++,this.animationId=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,h.value&&(nB.nodes=nB.calculatedTargetDeltas=nB.calculatedProjections=0),this.nodes.forEach(nz),this.nodes.forEach(nG),this.nodes.forEach(nJ),this.nodes.forEach(nW),h.addProjectionMetrics&&h.addProjectionMetrics(nB)},this.resolvedRelativeTargetAt=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=t,this.root=r?r.root||r:this,this.path=r?[...r.path,r]:[],this.parent=r,this.depth=r?r.depth+1:0;for(let t=0;t<this.path.length;t++)this.path[t].shouldResetTransform=!0;this.root===this&&(this.nodes=new nu)}addEventListener(t,e){return this.eventHandlers.has(t)||this.eventHandlers.set(t,new S),this.eventHandlers.get(t).add(e)}notifyListeners(t,...e){let r=this.eventHandlers.get(t);r&&r.notify(...e)}hasListeners(t){return this.eventHandlers.has(t)}mount(e){if(this.instance)return;this.isSVG=e instanceof SVGElement&&"svg"!==e.tagName,this.instance=e;let{layoutId:r,layout:n,visualElement:i}=this.options;if(i&&!i.current&&i.mount(e),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(n||r)&&(this.isLayoutDirty=!0),t){let r,n=()=>this.root.updateBlockedByResize=!1;t(e,()=>{this.root.updateBlockedByResize=!0,r&&r(),r=function(t,e){let r=E.now(),n=({timestamp:i})=>{let o=i-r;o>=250&&(y(n),t(o-e))};return d.setup(n,!0),()=>y(n)}(n,250),ne.hasAnimatedSinceResize&&(ne.hasAnimatedSinceResize=!1,this.nodes.forEach(nY))})}r&&this.root.registerSharedNode(r,this),!1!==this.options.animate&&i&&(r||n)&&this.addEventListener("didUpdate",({delta:t,hasLayoutChanged:e,hasRelativeLayoutChanged:r,layout:n})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}let o=this.options.transition||i.getDefaultTransition()||n5,{onLayoutAnimationStart:a,onLayoutAnimationComplete:s}=i.getProps(),u=!this.targetLayout||!nC(this.targetLayout,n),c=!e&&r;if(this.options.layoutRoot||this.resumeFrom||c||e&&(u||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(t,c);let e={...l(o,"layout"),onPlay:a,onComplete:s};(i.shouldReduceMotion||this.options.layoutRoot)&&(e.delay=0,e.type=!1),this.startAnimation(e)}else e||nY(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=n})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);let t=this.getStack();t&&t.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,this.eventHandlers.clear(),y(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
1h(nZ),this.animationId++)}getTransformTemplate(){let{visualElement:t}=this.options;return t&&t.getProps().transformTemplate}willUpdate(t=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&function t(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return;let{visualElement:r}=e.options;if(!r)return;let n=r.props[D];if(window.MotionHasOptimisedAnimation(n,"transform")){let{layout:t,layoutId:r}=e.options;window.MotionCancelOptimisedAnimation(n,"transform",d,!(t||r))}let{parent:i}=e;i&&!i.hasCheckedOptimisedAppear&&t(i)}(this),this.root.isUpdating||this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let t=0;t<this.path.length;t++){let e=this.path[t];e.shouldResetTransform=!0,e.updateScroll("snapshot"),e.options.layoutRoot&&e.willUpdate(!1)}let{layoutId:e,layout:r}=this.options;if(void 0===e&&!r)return;let n=this.getTransformTemplate();this.prevTransformTemplateValue=n?n(this.latestValues,""):void 0,this.updateSnapshot(),t&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(nX);return}this.isUpdating||this.nodes.forEach(nq),this.isUpdating=!1,this.nodes.forEach(nK),this.nodes.forEach(nV),this.nodes.forEach(n$),this.clearAllSnapshots();let t=E.now();m.delta=N(0,1e3/60,t-m.timestamp),m.timestamp=t,m.isProcessing=!0,g.update.process(m),g.preRender.process(m),g.render.process(m),m.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,r8.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(nH),this.sharedNodes.forEach(nQ)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,d.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){d.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){!this.snapshot&&this.instance&&(this.snapshot=this.measure(),!this.snapshot||rg(this.snapshot.measuredBox.x)||rg(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 t=0;t<this.path.length;t++)this.path[t].updateScroll();let t=this.layout;this.layout=this.measure(!1),this.layoutCorrected=rj(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);let{visualElement:e}=this.options;e&&e.notify("LayoutMeasure",this.layout.layoutBox,t?t.layoutBox:void 0)}updateScroll(t="measure"){let e=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===t&&(e=!1),e&&this.instance){let e=n(this.instance);this.scroll={animationId:this.root.animationId,phase:t,isRoot:e,offset:r(this.instance),wasRoot:this.scroll?this.scroll.isRoot:e}}}resetTransform(){if(!i)return;let t=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,e=this.projectionDelta&&!nT(this.projectionDelta),r=this.getTransformTemplate(),n=r?r(this.latestValues,""):void 0,o=n!==this.prevTransformTemplateValue;t&&this.instance&&(e||rk(this.latestValues)||o)&&(i(this.instance,n),this.shouldResetTransform=!1,this.scheduleRender())}measure(t=!0){var e;let r=this.measurePageBox(),n=this.removeElementScroll(r);return t&&(n=this.removeTransform(n)),n8((e=n).x),n8(e.y),{animationId:this.root.animationId,measuredBox:r,layoutBox:n,latestValues:{},source:this.id}}measurePageBox(){let{visualElement:t}=this.options;if(!t)return rj();let e=t.measureViewportBox();if(!(this.scroll?.wasRoot||this.path.some(n9))){let{scroll:t}=this.root;t&&(rB(e.x,t.offset.x),rB(e.y,t.offset.y))}return e}removeElementScroll(t){let e=rj();if(nx(e,t),this.scroll?.wasRoot)return e;for(let r=0;r<this.path.length;r++){let n=this.path[r],{scroll:i,options:o}=n;n!==this.root&&i&&o.layoutScroll&&(i.wasRoot&&nx(e,t),rB(e.x,i.offset.x),rB(e.y,i.offset.y))}return e}applyTransform(t,e=!1){let r=rj();nx(r,t);for(let t=0;t<this.path.length;t++){let n=this.path[t];!e&&n.options.layoutScroll&&n.scroll&&n!==n.root&&rN(r,{x:-n.scroll.offset.x,y:-n.scroll.offset.y}),rk(n.latestValues)&&rN(r,n.latestValues)}return rk(this.latestValues)&&rN(r,this.latestValues),r}removeTransform(t){let e=rj();nx(e,t);for(let t=0;t<this.path.length;t++){let r=this.path[t];if(!r.instance||!rk(r.latestValues))continue;rM(r.latestValues)&&r.updateSnapshot();let n=rj();nx(n,r.measurePageBox()),nj(e,r.latestValues,r.snapshot?r.snapshot.layoutBox:void 0,n)}return rk(this.latestValues)&&nj(e,this.latestValues),e}setTargetDelta(t){this.targetDelta=t,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(t){this.options={...this.options,...t,crossfade:void 0===t.crossfade||t.crossfade}}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!==m.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(t=!1){let e=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=e.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=e.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=e.isSharedProjectionDirty);let r=!!this.resumingFrom||this!==e;if(!(t||r&&this.isSharedProjectionDirty||this.isProjectionDirty||this.parent?.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;let{layout:n,layoutId:i}=this.options;if(this.layout&&(n||i)){if(this.resolvedRelativeTargetAt=m.timestamp,!this.targetDelta&&!this.relativeTarget){let t=this.getClosestProjectingParent();t&&t.layout&&1!==this.animationProgress?(this.relativeParent=t,this.forceRelativeParentToResolveTarget(),this.relativeTarget=rj(),this.relativeTargetOrigin=rj(),rO(this.relativeTargetOrigin,this.layout.layoutBox,t.layout.layoutBox),nx(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(this.relativeTarget||this.targetDelta){if(this.target||(this.target=rj(),this.targetWithTransforms=rj()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target){var o,a,s;this.forceRelativeParentToResolveTarget(),o=this.target,a=this.relativeTarget,s=this.relativeParent.target,rx(o.x,a.x,s.x),rx(o.y,a.y,s.y)}else this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):nx(this.target,this.layout.layoutBox),rD(this.target,this.targetDelta)):nx(this.target,this.layout.layoutBox);if(this.attemptToResolveRelativeTarget){this.attemptToResolveRelativeTarget=!1;let t=this.getClosestProjectingParent();t&&!!t.resumingFrom==!!this.resumingFrom&&!t.options.layoutScroll&&t.target&&1!==this.animationProgress?(this.relativeParent=t,this.forceRelativeParentToResolveTarget(),this.relativeTarget=rj(),this.relativeTargetOrigin=rj(),rO(this.relativeTargetOrigin,this.target,t.target),nx(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}h.value&&nB.calculatedTargetDeltas++}}}getClosestProjectingParent(){if(!(!this.parent||rM(this.parent.latestValues)||rC(this.parent.latestValues)))if(this.parent.isProjecting())return this.parent;else return this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}calcProjection(){let t=this.getLead(),e=!!this.resumingFrom||this!==t,r=!0;
1if((this.isProjectionDirty||this.parent?.isProjectionDirty)&&(r=!1),e&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(r=!1),this.resolvedRelativeTargetAt===m.timestamp&&(r=!1),r)return;let{layout:n,layoutId:i}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(n||i))return;nx(this.layoutCorrected,this.layout.layoutBox);let o=this.treeScale.x,a=this.treeScale.y;!function(t,e,r,n=!1){let i,o,a=r.length;if(a){e.x=e.y=1;for(let s=0;s<a;s++){o=(i=r[s]).projectionDelta;let{visualElement:a}=i.options;(!a||!a.props.style||"contents"!==a.props.style.display)&&(n&&i.options.layoutScroll&&i.scroll&&i!==i.root&&rN(t,{x:-i.scroll.offset.x,y:-i.scroll.offset.y}),o&&(e.x*=o.x.scale,e.y*=o.y.scale,rD(t,o)),n&&rk(i.latestValues)&&rN(t,i.latestValues))}e.x<1.0000000000001&&e.x>.999999999999&&(e.x=1),e.y<1.0000000000001&&e.y>.999999999999&&(e.y=1)}}(this.layoutCorrected,this.treeScale,this.path,e),t.layout&&!t.target&&(1!==this.treeScale.x||1!==this.treeScale.y)&&(t.target=t.layout.layoutBox,t.targetWithTransforms=rj());let{target:s}=t;if(!s){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}this.projectionDelta&&this.prevProjectionDelta?(nw(this.prevProjectionDelta.x,this.projectionDelta.x),nw(this.prevProjectionDelta.y,this.projectionDelta.y)):this.createProjectionDeltas(),rb(this.projectionDelta,this.layoutCorrected,s,this.latestValues),this.treeScale.x===o&&this.treeScale.y===a&&n_(this.projectionDelta.x,this.prevProjectionDelta.x)&&n_(this.projectionDelta.y,this.prevProjectionDelta.y)||(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",s)),h.value&&nB.calculatedProjections++}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(t=!0){if(this.options.visualElement?.scheduleRender(),t){let t=this.getStack();t&&t.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=rA(),this.projectionDelta=rA(),this.projectionDeltaWithTransform=rA()}setAnimationOrigin(t,e=!1){let r,n=this.snapshot,i=n?n.latestValues:{},o={...this.latestValues},a=rA();this.relativeParent&&this.relativeParent.options.layoutRoot||(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!e;let s=rj(),l=(n?n.source:void 0)!==(this.layout?this.layout.source:void 0),u=this.getStack(),c=!u||u.members.length<=1,f=!!(l&&!c&&!0===this.options.crossfade&&!this.path.some(n2));this.animationProgress=0,this.mixTargetDelta=e=>{let n=e/1e3;if(n0(a.x,t.x,n),n0(a.y,t.y,n),this.setTargetDelta(a),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout){var u,h,p,d,y,m;rO(s,this.layout.layoutBox,this.relativeParent.layout.layoutBox),p=this.relativeTarget,d=this.relativeTargetOrigin,y=s,m=n,n1(p.x,d.x,y.x,m),n1(p.y,d.y,y.y,m),r&&(u=this.relativeTarget,h=r,nM(u.x,h.x)&&nM(u.y,h.y))&&(this.isProjectionDirty=!1),r||(r=rj()),nx(r,this.relativeTarget)}l&&(this.animationValues=o,function(t,e,r,n,i,o){i?(t.opacity=tj(0,r.opacity??1,nm(n)),t.opacityExit=tj(e.opacity??1,0,ng(n))):o&&(t.opacity=tj(e.opacity??1,r.opacity??1,n));for(let i=0;i<nh;i++){let o=`border${nf[i]}Radius`,a=ny(e,o),s=ny(r,o);(void 0!==a||void 0!==s)&&(a||(a=0),s||(s=0),0===a||0===s||nd(a)===nd(s)?(t[o]=Math.max(tj(np(a),np(s),n),0),(tl.test(s)||tl.test(a))&&(t[o]+="%")):t[o]=s)}(e.rotate||r.rotate)&&(t.rotate=tj(e.rotate||0,r.rotate||0,n))}(o,i,this.latestValues,n,f,c)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=n},this.mixTargetDelta(1e3*!!this.options.layoutRoot)}startAnimation(t){this.notifyListeners("animationStart"),this.currentAnimation?.stop(!1),this.resumingFrom?.currentAnimation?.stop(!1),this.pendingAnimation&&(y(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=d.update(()=>{ne.hasAnimatedSinceResize=!0,F.layout++,this.motionValue||(this.motionValue=M(0)),this.currentAnimation=function(t,e,r){let n=C(t)?t:M(t);return n.start(e5("",n,e,r)),n.animation}(this.motionValue,[0,1e3],{...t,isSync:!0,onUpdate:e=>{this.mixTargetDelta(e),t.onUpdate&&t.onUpdate(e)},onStop:()=>{F.layout--},onComplete:()=>{F.layout--,t.onComplete&&t.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 t=this.getStack();t&&t.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(1e3),this.currentAnimation.stop(!1)),this.completeAnimation()}applyTransformsToTarget(){let t=this.getLead(),{targetWithTransforms:e,target:r,layout:n,latestValues:i}=t;if(e&&r&&n){if(this!==t&&this.layout&&n&&n4(this.options.animationType,this.layout.layoutBox,n.layoutBox)){r=this.target||rj();let e=rg(this.layout.layoutBox.x);r.x.min=t.target.x.min,r.x.max=r.x.min+e;let n=rg(this.layout.layoutBox.y);r.y.min=t.target.y.min,r.y.max=r.y.min+n}nx(e,r),rN(e,i),rb(this.projectionDeltaWithTransform,this.layoutCorrected,e,i)}}registerSharedNode(t,e){this.sharedNodes.has(t)||this.sharedNodes.set(t,new nD),this.sharedNodes.get(t).add(e);let r=e.options.initialPromotionConfig;e.promote({transition:r?r.transition:void 0,preserveFollowOpacity:r&&r.shouldPreserveFollowOpacity?r.shouldPreserveFollowOpacity(e):void 0})}isLead(){let t=this.getStack();return!t||t.lead===this}getLead(){let{layoutId:t}=this.options;
1return t&&this.getStack()?.lead||this}getPrevLead(){let{layoutId:t}=this.options;return t?this.getStack()?.prevLead:void 0}getStack(){let{layoutId:t}=this.options;if(t)return this.root.sharedNodes.get(t)}promote({needsReset:t,transition:e,preserveFollowOpacity:r}={}){let n=this.getStack();n&&n.promote(this,r),t&&(this.projectionDelta=void 0,this.needsReset=!0),e&&this.setOptions({transition:e})}relegate(){let t=this.getStack();return!!t&&t.relegate(this)}resetSkewAndRotation(){let{visualElement:t}=this.options;if(!t)return;let e=!1,{latestValues:r}=t;if((r.z||r.rotate||r.rotateX||r.rotateY||r.rotateZ||r.skewX||r.skewY)&&(e=!0),!e)return;let n={};r.z&&nU("z",t,n,this.animationValues);for(let e=0;e<nR.length;e++)nU(`rotate${nR[e]}`,t,n,this.animationValues),nU(`skew${nR[e]}`,t,n,this.animationValues);for(let e in t.render(),n)t.setStaticValue(e,n[e]),this.animationValues&&(this.animationValues[e]=n[e]);t.scheduleRender()}getProjectionStyles(t){if(!this.instance||this.isSVG)return;if(!this.isVisible)return nN;let e={visibility:""},r=this.getTransformTemplate();if(this.needsReset)return this.needsReset=!1,e.opacity="",e.pointerEvents=nc(t?.pointerEvents)||"",e.transform=r?r(this.latestValues,""):"none",e;let n=this.getLead();if(!this.projectionDelta||!this.layout||!n.target){let e={};return this.options.layoutId&&(e.opacity=void 0!==this.latestValues.opacity?this.latestValues.opacity:1,e.pointerEvents=nc(t?.pointerEvents)||""),this.hasProjected&&!rk(this.latestValues)&&(e.transform=r?r({},""):"none",this.hasProjected=!1),e}let i=n.animationValues||n.latestValues;this.applyTransformsToTarget(),e.transform=function(t,e,r){let n="",i=t.x.translate/e.x,o=t.y.translate/e.y,a=r?.z||0;if((i||o||a)&&(n=`translate3d(${i}px, ${o}px, ${a}px) `),(1!==e.x||1!==e.y)&&(n+=`scale(${1/e.x}, ${1/e.y}) `),r){let{transformPerspective:t,rotate:e,rotateX:i,rotateY:o,skewX:a,skewY:s}=r;t&&(n=`perspective(${t}px) ${n}`),e&&(n+=`rotate(${e}deg) `),i&&(n+=`rotateX(${i}deg) `),o&&(n+=`rotateY(${o}deg) `),a&&(n+=`skewX(${a}deg) `),s&&(n+=`skewY(${s}deg) `)}let s=t.x.scale*e.x,l=t.y.scale*e.y;return(1!==s||1!==l)&&(n+=`scale(${s}, ${l})`),n||"none"}(this.projectionDeltaWithTransform,this.treeScale,i),r&&(e.transform=r(i,e.transform));let{x:o,y:a}=this.projectionDelta;for(let t in e.transformOrigin=`${100*o.origin}% ${100*a.origin}% 0`,n.animationValues?e.opacity=n===this?i.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:i.opacityExit:e.opacity=n===this?void 0!==i.opacity?i.opacity:"":void 0!==i.opacityExit?i.opacityExit:0,ni){if(void 0===i[t])continue;let{correct:r,applyTo:o,isCSSVariable:a}=ni[t],s="none"===e.transform?i[t]:r(i[t],n);if(o){let t=o.length;for(let r=0;r<t;r++)e[o[r]]=s}else a?this.options.visualElement.renderState.vars[t]=s:e[t]=s}return this.options.layoutId&&(e.pointerEvents=n===this?nc(t?.pointerEvents)||"":"none"),e}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(t=>t.currentAnimation?.stop(!1)),this.root.nodes.forEach(nX),this.root.sharedNodes.clear()}}}function nV(t){t.updateLayout()}function n$(t){let e=t.resumeFrom?.snapshot||t.snapshot;if(t.isLead()&&t.layout&&e&&t.hasListeners("didUpdate")){let{layoutBox:r,measuredBox:n}=t.layout,{animationType:i}=t.options,o=e.source!==t.layout.source;"size"===i?rP(t=>{let n=o?e.measuredBox[t]:e.layoutBox[t],i=rg(n);n.min=r[t].min,n.max=n.min+i}):n4(i,e.layoutBox,r)&&rP(n=>{let i=o?e.measuredBox[n]:e.layoutBox[n],a=rg(r[n]);i.max=i.min+a,t.relativeTarget&&!t.currentAnimation&&(t.isProjectionDirty=!0,t.relativeTarget[n].max=t.relativeTarget[n].min+a)});let a=rA();rb(a,r,e.layoutBox);let s=rA();o?rb(s,t.applyTransform(n,!0),e.measuredBox):rb(s,r,e.layoutBox);let l=!nT(a),u=!1;if(!t.resumeFrom){let n=t.getClosestProjectingParent();if(n&&!n.resumeFrom){let{snapshot:i,layout:o}=n;if(i&&o){let a=rj();rO(a,e.layoutBox,i.layoutBox);let s=rj();rO(s,r,o.layoutBox),nC(a,s)||(u=!0),n.options.layoutRoot&&(t.relativeTarget=s,t.relativeTargetOrigin=a,t.relativeParent=n)}}}t.notifyListeners("didUpdate",{layout:r,snapshot:e,delta:s,layoutDelta:a,hasLayoutChanged:l,hasRelativeLayoutChanged:u})}else if(t.isLead()){let{onExitComplete:e}=t.options;e&&e()}t.options.transition=void 0}function nz(t){h.value&&nB.nodes++,t.parent&&(t.isProjecting()||(t.isProjectionDirty=t.parent.isProjectionDirty),t.isSharedProjectionDirty||(t.isSharedProjectionDirty=!!(t.
1isProjectionDirty||t.parent.isProjectionDirty||t.parent.isSharedProjectionDirty)),t.isTransformDirty||(t.isTransformDirty=t.parent.isTransformDirty))}function nW(t){t.isProjectionDirty=t.isSharedProjectionDirty=t.isTransformDirty=!1}function nH(t){t.clearSnapshot()}function nX(t){t.clearMeasurements()}function nq(t){t.isLayoutDirty=!1}function nK(t){let{visualElement:e}=t.options;e&&e.getProps().onBeforeLayoutMeasure&&e.notify("BeforeLayoutMeasure"),t.resetTransform()}function nY(t){t.finishAnimation(),t.targetDelta=t.relativeTarget=t.target=void 0,t.isProjectionDirty=!0}function nG(t){t.resolveTargetDelta()}function nJ(t){t.calcProjection()}function nZ(t){t.resetSkewAndRotation()}function nQ(t){t.removeLeadSnapshot()}function n0(t,e,r){t.translate=tj(e.translate,0,r),t.scale=tj(e.scale,1,r),t.origin=e.origin,t.originPoint=e.originPoint}function n1(t,e,r,n){t.min=tj(e.min,r.min,n),t.max=tj(e.max,r.max,n)}function n2(t){return t.animationValues&&void 0!==t.animationValues.opacityExit}let n5={duration:.45,ease:[.4,0,.1,1]},n3=t=>"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(t),n6=n3("applewebkit/")&&!n3("chrome/")?Math.round:u;function n8(t){t.min=n6(t.min),t.max=n6(t.max)}function n4(t,e,r){return"position"===t||"preserve-aspect"===t&&!(.2>=Math.abs(nI(e)-nI(r)))}function n9(t){return t!==t.root&&t.scroll?.wasRoot}let n7=nF({attachResizeListener:(t,e)=>rf(t,"resize",e),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),it={current:void 0},ie=nF({measureScroll:t=>({x:t.scrollLeft,y:t.scrollTop}),defaultParent:()=>{if(!it.current){let t=new n7({});t.mount(window),t.setOptions({layoutScroll:!0}),it.current=t}return it.current},resetTransform:(t,e)=>{t.style.transform=void 0!==e?e:"none"},checkIsScrollRoot:t=>"fixed"===window.getComputedStyle(t).position});function ir(t,e){let r=function(t,e,r){if(t instanceof EventTarget)return[t];if("string"==typeof t){let e=document,r=(void 0)??e.querySelectorAll(t);return r?Array.from(r):[]}return Array.from(t)}(t),n=new AbortController;return[r,{passive:!0,...e,signal:n.signal},()=>n.abort()]}function ii(t){return!("touch"===t.pointerType||rc.x||rc.y)}function io(t,e,r){let{props:n}=t;t.animationState&&n.whileHover&&t.animationState.setActive("whileHover","Start"===r);let i=n["onHover"+r];i&&d.postRender(()=>i(e,rp(e)))}class ia extends ra{mount(){let{current:t}=this.node;t&&(this.unmount=function(t,e,r={}){let[n,i,o]=ir(t,r),a=t=>{if(!ii(t))return;let{target:r}=t,n=e(r,t);if("function"!=typeof n||!r)return;let o=t=>{ii(t)&&(n(t),r.removeEventListener("pointerleave",o))};r.addEventListener("pointerleave",o,i)};return n.forEach(t=>{t.addEventListener("pointerenter",a,i)}),o}(t,(t,e)=>(io(this.node,e,"Start"),t=>io(this.node,t,"End"))))}unmount(){}}class is extends ra{constructor(){super(...arguments),this.isActive=!1}onFocus(){let t=!1;try{t=this.node.current.matches(":focus-visible")}catch(e){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=R(rf(this.node.current,"focus",()=>this.onFocus()),rf(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}let il=(t,e)=>!!e&&(t===e||il(t,e.parentElement)),iu=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]),ic=new WeakSet;function ih(t){return e=>{"Enter"===e.key&&t(e)}}function ip(t,e){t.dispatchEvent(new PointerEvent("pointer"+e,{isPrimary:!0,bubbles:!0}))}let id=(t,e)=>{let r=t.currentTarget;if(!r)return;let n=ih(()=>{if(ic.has(r))return;ip(r,"down");let t=ih(()=>{ip(r,"up")});r.addEventListener("keyup",t,e),r.addEventListener("blur",()=>ip(r,"cancel"),e)});r.addEventListener("keydown",n,e),r.addEventListener("blur",()=>r.removeEventListener("keydown",n),e)};function iy(t){return rh(t)&&!(rc.x||rc.y)}function im(t,e,r){let{props:n}=t;if(t.current instanceof HTMLButtonElement&&t.current.disabled)return;t.animationState&&n.whileTap&&t.animationState.setActive("whileTap","Start"===r);let i=n["onTap"+("End"===r?"":r)];i&&d.postRender(()=>i(e,rp(e)))}class ig extends ra{mount(){let{current:t}=this.node;t&&(this.unmount=function(t,e,r={}){let[n,i,o]=ir(t,r),a=t=>{let n=t.currentTarget;if(!iy(t))return;ic.add(n);let o=e(n,t),a=(t,e)=>{window.removeEventListener("pointerup",s),window.removeEventListener("pointercancel",l),ic.has(n)&&ic.delete(n),iy(t)&&"function"==typeof o&&o(t,{success:e})},s=t=>{a(t,n===window||n===document||r.useGlobalTarget||il(n,t.target))},l=t=>{a(t,!1)};window.addEventListener("pointerup",s,i),window.addEventListener("pointercancel",l,i)};
1return n.forEach(t=>{((r.useGlobalTarget?window:t).addEventListener("pointerdown",a,i),t instanceof HTMLElement)&&(t.addEventListener("focus",t=>id(t,i)),iu.has(t.tagName)||-1!==t.tabIndex||t.hasAttribute("tabindex")||(t.tabIndex=0))}),o}(t,(t,e)=>(im(this.node,e,"Start"),(t,{success:e})=>im(this.node,t,e?"End":"Cancel")),{useGlobalTarget:this.node.props.globalTapTarget}))}unmount(){}}let iv=new WeakMap,ib=new WeakMap,ix=t=>{let e=iv.get(t.target);e&&e(t)},iw=t=>{t.forEach(ix)},iO={some:0,all:1};class iS extends ra{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();let{viewport:t={}}=this.node.getProps(),{root:e,margin:r,amount:n="some",once:i}=t,o={root:e?e.current:void 0,rootMargin:r,threshold:"number"==typeof n?n:iO[n]};return function(t,e,r){let n=function({root:t,...e}){let r=t||document;ib.has(r)||ib.set(r,{});let n=ib.get(r),i=JSON.stringify(e);return n[i]||(n[i]=new IntersectionObserver(iw,{root:t,...e})),n[i]}(e);return iv.set(t,r),n.observe(t),()=>{iv.delete(t),n.unobserve(t)}}(this.node.current,o,t=>{let{isIntersecting:e}=t;if(this.isInView===e||(this.isInView=e,i&&!e&&this.hasEnteredView))return;e&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",e);let{onViewportEnter:r,onViewportLeave:n}=this.node.getProps(),o=e?r:n;o&&o(t)})}mount(){this.startObserver()}update(){if("undefined"==typeof IntersectionObserver)return;let{props:t,prevProps:e}=this.node;["amount","margin","root"].some(function({viewport:t={}},{viewport:e={}}={}){return r=>t[r]!==e[r]}(t,e))&&this.startObserver()}unmount(){}}let iA=(0,r4.createContext)({strict:!1}),iE=(0,r4.createContext)({transformPagePoint:t=>t,isStatic:!1,reducedMotion:"never"}),ij=(0,r4.createContext)({});function iP(t){return i(t.animate)||rt.some(e=>e9(t[e]))}function iT(t){return!!(iP(t)||t.variants)}function iM(t){return Array.isArray(t)?t.join(" "):t}let ik="undefined"!=typeof window,iC={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"]},iI={};for(let t in iC)iI[t]={isEnabled:e=>iC[t].some(t=>!!e[t])};let i_=Symbol.for("motionComponentSymbol"),iD=ik?r4.useLayoutEffect:r4.useEffect;function iB(t,{layout:e,layoutId:r}){return b.has(t)||t.startsWith("origin")||(e||void 0!==r)&&(!!ni[t]||"opacity"===t)}let iR=(t,e)=>e&&"number"==typeof t?e.transform(t):t,iN={...K,transform:Math.round},iL={borderWidth:tu,borderTopWidth:tu,borderRightWidth:tu,borderBottomWidth:tu,borderLeftWidth:tu,borderRadius:tu,radius:tu,borderTopLeftRadius:tu,borderTopRightRadius:tu,borderBottomRightRadius:tu,borderBottomLeftRadius:tu,width:tu,maxWidth:tu,height:tu,maxHeight:tu,top:tu,right:tu,bottom:tu,left:tu,padding:tu,paddingTop:tu,paddingRight:tu,paddingBottom:tu,paddingLeft:tu,margin:tu,marginTop:tu,marginRight:tu,marginBottom:tu,marginLeft:tu,backgroundPositionX:tu,backgroundPositionY:tu,rotate:ts,rotateX:ts,rotateY:ts,rotateZ:ts,scale:G,scaleX:G,scaleY:G,scaleZ:G,skew:ts,skewX:ts,skewY:ts,distance:tu,translateX:tu,translateY:tu,translateZ:tu,x:tu,y:tu,z:tu,perspective:tu,transformPerspective:tu,opacity:Y,originX:th,originY:th,originZ:tu,zIndex:iN,fillOpacity:Y,strokeOpacity:Y,numOctaves:iN},iU={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},iF=v.length;function iV(t,e,r){let{style:n,vars:i,transformOrigin:o}=t,a=!1,s=!1;for(let t in e){let r=e[t];if(b.has(t)){a=!0;continue}if(W(t)){i[t]=r;continue}{let e=iR(r,iL[t]);t.startsWith("origin")?(s=!0,o[t]=e):n[t]=e}}if(!e.transform&&(a||r?n.transform=function(t,e,r){let n="",i=!0;for(let o=0;o<iF;o++){let a=v[o],s=t[a];if(void 0===s)continue;let l=!0;if(!(l="number"==typeof s?s===+!!a.startsWith("scale"):0===parseFloat(s))||r){let t=iR(s,iL[a]);if(!l){i=!1;let e=iU[a]||a;n+=`${e}(${t}) `}r&&(e[a]=t)}}return n=n.trim(),r?n=r(e,i?"":n):i&&(n="none"),n}(e,t.transform,r):n.transform&&(n.transform="none")),s){let{originX:t="50%",originY:e="50%",originZ:r=0}=o;n.transformOrigin=`${t} ${e} ${r}`}}let i$=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function iz(t,e,r){for(let n in e)C(e[n])||iB(n,r)||(t[n]=e[n])}let iW=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 iH(t){return t.startsWith("while")||t.startsWith("drag")&&"draggable"!==t||t.startsWith("layout")||t.startsWith("onTap")||t.startsWith("onPan")||t.startsWith("onLayout")||iW.has(t)}let iX=t=>!iH(t);try{!function(t){t&&(iX=e=>e.startsWith("on")?!iH(e):t(e))}(require("@emotion/is-prop-valid").default)}catch{}let iq=["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 iK(t){if("string"!=typeof t||t.includes("-"));else if(iq.indexOf(t)>-1||/[A-Z]/u.test(t))return!0;return!1}let iY={offset:"stroke-dashoffset",array:"stroke-dasharray"},iG={offset:"strokeDashoffset",array:"strokeDasharray"};function iJ(t,{attrX:e,attrY:r,attrScale:n,pathLength:i,pathSpacing:o=1,pathOffset:a=0,...s}
1,l,u,c){if(iV(t,s,u),l){t.style.viewBox&&(t.attrs.viewBox=t.style.viewBox);return}t.attrs=t.style,t.style={};let{attrs:f,style:h}=t;f.transform&&(h.transform=f.transform,delete f.transform),(h.transform||f.transformOrigin)&&(h.transformOrigin=f.transformOrigin??"50% 50%",delete f.transformOrigin),h.transform&&(h.transformBox=c?.transformBox??"fill-box",delete f.transformBox),void 0!==e&&(f.x=e),void 0!==r&&(f.y=r),void 0!==n&&(f.scale=n),void 0!==i&&function(t,e,r=1,n=0,i=!0){t.pathLength=1;let o=i?iY:iG;t[o.offset]=tu.transform(-n);let a=tu.transform(e),s=tu.transform(r);t[o.array]=`${a} ${s}`}(f,i,o,a,!1)}let iZ=()=>({...i$(),attrs:{}}),iQ=t=>"string"==typeof t&&"svg"===t.toLowerCase(),i0=t=>(e,r)=>{let n=(0,r4.useContext)(ij),o=(0,r4.useContext)(r9),s=()=>(function({scrapeMotionValuesFromProps:t,createRenderState:e},r,n,o){return{latestValues:function(t,e,r,n){let o={},s=n(t,{});for(let t in s)o[t]=nc(s[t]);let{initial:l,animate:u}=t,c=iP(t),f=iT(t);e&&f&&!c&&!1!==t.inherit&&(void 0===l&&(l=e.initial),void 0===u&&(u=e.animate));let h=!!r&&!1===r.initial,p=(h=h||!1===l)?u:l;if(p&&"boolean"!=typeof p&&!i(p)){let e=Array.isArray(p)?p:[p];for(let r=0;r<e.length;r++){let n=a(t,e[r]);if(n){let{transitionEnd:t,transition:e,...r}=n;for(let t in r){let e=r[t];if(Array.isArray(e)){let t=h?e.length-1:0;e=e[t]}null!==e&&(o[t]=e)}for(let e in t)o[e]=t[e]}}}return o}(r,n,o,t),renderState:e()}})(t,e,n,o);return r?s():function(t){let e=(0,r4.useRef)(null);return null===e.current&&(e.current=t()),e.current}(s)};function i1(t,e,r){let{style:n}=t,i={};for(let o in n)(C(n[o])||e.style&&C(e.style[o])||iB(o,t)||r?.getValue(o)?.liveStyle!==void 0)&&(i[o]=n[o]);return i}let i2={useVisualState:i0({scrapeMotionValuesFromProps:i1,createRenderState:i$})};function i5(t,e,r){let n=i1(t,e,r);for(let r in t)(C(t[r])||C(e[r]))&&(n[-1!==v.indexOf(r)?"attr"+r.charAt(0).toUpperCase()+r.substring(1):r]=t[r]);return n}let i3={useVisualState:i0({scrapeMotionValuesFromProps:i5,createRenderState:iZ})},i6=t=>e=>e.test(t),i8=[K,tu,tl,ts,tf,tc,{test:t=>"auto"===t,parse:t=>t}],i4=t=>i8.find(i6(t)),i9=t=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(t),i7=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u,ot=t=>/^0[^.\s]+$/u.test(t),oe=new Set(["brightness","contrast","saturate","opacity"]);function or(t){let[e,r]=t.slice(0,-1).split("(");if("drop-shadow"===e)return t;let[n]=r.match(Z)||[];if(!n)return t;let i=r.replace(n,""),o=+!!oe.has(e);return n!==r&&(o*=100),e+"("+o+i+")"}let on=/\b([a-z-]*)\(.*?\)/gu,oi={...tS,getAnimatableNone:t=>{let e=t.match(on);return e?e.map(or).join(" "):t}},oo={...iL,color:td,backgroundColor:td,outlineColor:td,fill:td,stroke:td,borderColor:td,borderTopColor:td,borderRightColor:td,borderBottomColor:td,borderLeftColor:td,filter:oi,WebkitFilter:oi},oa=t=>oo[t];function os(t,e){let r=oa(t);return r!==oi&&(r=tS),r.getAnimatableNone?r.getAnimatableNone(e):void 0}let ol=new Set(["auto","none","0"]);class ou extends eB{constructor(t,e,r,n,i){super(t,e,r,n,i,!0)}readKeyframes(){let{unresolvedKeyframes:t,element:e,name:r}=this;if(!e||!e.current)return;super.readKeyframes();for(let r=0;r<t.length;r++){let n=t[r];if("string"==typeof n&&X(n=n.trim())){let i=function t(e,r,n=1){$(n<=4,`Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`);let[i,o]=function(t){let e=i7.exec(t);if(!e)return[,];let[,r,n,i]=e;return[`--${r??n}`,i]}(e);if(!i)return;let a=window.getComputedStyle(r).getPropertyValue(i);if(a){let t=a.trim();return i9(t)?parseFloat(t):t}return X(o)?t(o,r,n+1):o}(n,e.current);void 0!==i&&(t[r]=i),r===t.length-1&&(this.finalKeyframe=n)}}if(this.resolveNoneKeyframes(),!x.has(r)||2!==t.length)return;let[n,i]=t,o=i4(n),a=i4(i);if(o!==a)if(eE(o)&&eE(a))for(let e=0;e<t.length;e++){let r=t[e];"string"==typeof r&&(t[e]=parseFloat(r))}else eT[r]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){let{unresolvedKeyframes:t,name:e}=this,r=[];for(let e=0;e<t.length;e++){var n;(null===t[e]||("number"==typeof(n=t[e])?0===n:null===n||"none"===n||"0"===n||ot(n)))&&r.push(e)}r.length&&function(t,e,r){let n,i=0;for(;i<t.length&&!n;){let e=t[i];"string"==typeof e&&!ol.has(e)&&tb(e).values.length&&(n=t[i]),i++}if(n&&r)for(let i of e)t[i]=os(r,n)}(t,r,e)}measureInitialState(){let{element:t,unresolvedKeyframes:e,name:r}=this;if(!t||!t.current)return;"height"===r&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=eT[r](t.measureViewportBox(),window.getComputedStyle(t.current)),e[0]=this.measuredOrigin;let n=e[e.length-1];void 0!==n&&t.getValue(r,n).jump(n,!1)}measureEndState(){let{element:t,name:e,unresolvedKeyframes:r}=this;if(!t||!t.current)return;let n=t.getValue(e);n&&n.jump(this.measuredOrigin,!1);let i=r.length-1,o=r[i];r[i]=eT[e](t.measureViewportBox(),window.getComputedStyle(t.current)),null!==o&&void 0===this.finalKeyframe&&(this.finalKeyframe=o),this.removedTransforms?.length&&this.removedTransforms.forEac
1h(([e,r])=>{t.getValue(e).set(r)}),this.resolveNoneKeyframes()}}let oc=[...i8,td,tS],of=t=>oc.find(i6(t)),oh={current:null},op={current:!1},od=new WeakMap,oy=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];class om{scrapeMotionValuesFromProps(t,e,r){return{}}constructor({parent:t,props:e,presenceContext:r,reducedMotionConfig:n,blockInitialAnimation:i,visualState:o},a={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=eB,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 t=E.now();this.renderScheduledAt<t&&(this.renderScheduledAt=t,d.render(this.render,!1,!0))};let{latestValues:s,renderState:l}=o;this.latestValues=s,this.baseTarget={...s},this.initialValues=e.initial?{...s}:{},this.renderState=l,this.parent=t,this.props=e,this.presenceContext=r,this.depth=t?t.depth+1:0,this.reducedMotionConfig=n,this.options=a,this.blockInitialAnimation=!!i,this.isControllingVariants=iP(e),this.isVariantNode=iT(e),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(t&&t.current);let{willChange:u,...c}=this.scrapeMotionValuesFromProps(e,{},this);for(let t in c){let e=c[t];void 0!==s[t]&&C(e)&&e.set(s[t],!1)}}mount(t){this.current=t,od.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.forEach((t,e)=>this.bindToMotionValue(e,t)),op.current||function(){if(op.current=!0,ik)if(window.matchMedia){let t=window.matchMedia("(prefers-reduced-motion)"),e=()=>oh.current=t.matches;t.addListener(e),e()}else oh.current=!1}(),this.shouldReduceMotion="never"!==this.reducedMotionConfig&&("always"===this.reducedMotionConfig||oh.current),this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){for(let t in this.projection&&this.projection.unmount(),y(this.notifyUpdate),y(this.render),this.valueSubscriptions.forEach(t=>t()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent&&this.parent.children.delete(this),this.events)this.events[t].clear();for(let t in this.features){let e=this.features[t];e&&(e.unmount(),e.isMounted=!1)}this.current=null}bindToMotionValue(t,e){let r;this.valueSubscriptions.has(t)&&this.valueSubscriptions.get(t)();let n=b.has(t);n&&this.onBindTransform&&this.onBindTransform();let i=e.on("change",e=>{this.latestValues[t]=e,this.props.onUpdate&&d.preRender(this.notifyUpdate),n&&this.projection&&(this.projection.isTransformDirty=!0)}),o=e.on("renderRequest",this.scheduleRender);window.MotionCheckAppearSync&&(r=window.MotionCheckAppearSync(this,t,e)),this.valueSubscriptions.set(t,()=>{i(),o(),r&&r(),e.owner&&e.stop()})}sortNodePosition(t){return this.current&&this.sortInstanceNodePosition&&this.type===t.type?this.sortInstanceNodePosition(this.current,t.current):0}updateFeatures(){let t="animation";for(t in iI){let e=iI[t];if(!e)continue;let{isEnabled:r,Feature:n}=e;if(!this.features[t]&&n&&r(this.props)&&(this.features[t]=new n(this)),this.features[t]){let e=this.features[t];e.isMounted?e.update():(e.mount(),e.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):rj()}getStaticValue(t){return this.latestValues[t]}setStaticValue(t,e){this.latestValues[t]=e}update(t,e){(t.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=t,this.prevPresenceContext=this.presenceContext,this.presenceContext=e;for(let e=0;e<oy.length;e++){let r=oy[e];this.propEventSubscriptions[r]&&(this.propEventSubscriptions[r](),delete this.propEventSubscriptions[r]);let n=t["on"+r];n&&(this.propEventSubscriptions[r]=this.on(r,n))}this.prevMotionValues=function(t,e,r){for(let n in e){let i=e[n],o=r[n];if(C(i))t.addValue(n,i);else if(C(o))t.addValue(n,M(i,{owner:t}));else if(o!==i)if(t.hasValue(n)){let e=t.getValue(n);!0===e.liveStyle?e.jump(i):e.hasAnimated||e.set(i)}else{let e=t.getStaticValue(n);t.addValue(n,M(void 0!==e?e:i,{owner:t}))}}for(let n in r)void 0===e[n]&&t.removeValue(n);return e}(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}
1addVariantChild(t){let e=this.getClosestVariantNode();if(e)return e.variantChildren&&e.variantChildren.add(t),()=>e.variantChildren.delete(t)}addValue(t,e){let r=this.values.get(t);e!==r&&(r&&this.removeValue(t),this.bindToMotionValue(t,e),this.values.set(t,e),this.latestValues[t]=e.get())}removeValue(t){this.values.delete(t);let e=this.valueSubscriptions.get(t);e&&(e(),this.valueSubscriptions.delete(t)),delete this.latestValues[t],this.removeValueFromRenderState(t,this.renderState)}hasValue(t){return this.values.has(t)}getValue(t,e){if(this.props.values&&this.props.values[t])return this.props.values[t];let r=this.values.get(t);return void 0===r&&void 0!==e&&(r=M(null===e?void 0:e,{owner:this}),this.addValue(t,r)),r}readValue(t,e){let r=void 0===this.latestValues[t]&&this.current?this.getBaseTargetFromProps(this.props,t)??this.readValueFromInstance(this.current,t,this.options):this.latestValues[t];return null!=r&&("string"==typeof r&&(i9(r)||ot(r))?r=parseFloat(r):!of(r)&&tS.test(e)&&(r=os(t,e)),this.setBaseTarget(t,C(r)?r.get():r)),C(r)?r.get():r}setBaseTarget(t,e){this.baseTarget[t]=e}getBaseTarget(t){let e,{initial:r}=this.props;if("string"==typeof r||"object"==typeof r){let n=a(this.props,r,this.presenceContext?.custom);n&&(e=n[t])}if(r&&void 0!==e)return e;let n=this.getBaseTargetFromProps(this.props,t);return void 0===n||C(n)?void 0!==this.initialValues[t]&&void 0===e?void 0:this.baseTarget[t]:n}on(t,e){return this.events[t]||(this.events[t]=new S),this.events[t].add(e)}notify(t,...e){this.events[t]&&this.events[t].notify(...e)}}class og extends om{constructor(){super(...arguments),this.KeyframeResolver=ou}sortInstanceNodePosition(t,e){return 2&t.compareDocumentPosition(e)?1:-1}getBaseTargetFromProps(t,e){return t.style?t.style[e]:void 0}removeValueFromRenderState(t,{vars:e,style:r}){delete e[t],delete r[t]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);let{children:t}=this.props;C(t)&&(this.childSubscription=t.on("change",t=>{this.current&&(this.current.textContent=`${t}`)}))}}function ov(t,{style:e,vars:r},n,i){for(let o in Object.assign(t.style,e,i&&i.getProjectionStyles(n)),r)t.style.setProperty(o,r[o])}class ob extends og{constructor(){super(...arguments),this.type="html",this.renderInstance=ov}readValueFromInstance(t,e){if(b.has(e))return this.projection?.isProjecting?ew(e):eS(t,e);{let r=window.getComputedStyle(t),n=(W(e)?r.getPropertyValue(e):r[e])||0;return"string"==typeof n?n.trim():n}}measureInstanceViewportBox(t,{transformPagePoint:e}){return rL(t,e)}build(t,e,r){iV(t,e,r.transformTemplate)}scrapeMotionValuesFromProps(t,e,r){return i1(t,e,r)}}let ox=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"]);class ow extends og{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=rj}getBaseTargetFromProps(t,e){return t[e]}readValueFromInstance(t,e){if(b.has(e)){let t=oa(e);return t&&t.default||0}return e=ox.has(e)?e:_(e),t.getAttribute(e)}scrapeMotionValuesFromProps(t,e,r){return i5(t,e,r)}build(t,e,r){iJ(t,e,this.isSVGTag,r.transformTemplate,r.style)}renderInstance(t,e,r,n){for(let r in ov(t,e,void 0,n),e.attrs)t.setAttribute(ox.has(r)?r:_(r),e.attrs[r])}mount(t){this.isSVGTag=iQ(t.tagName),super.mount(t)}}let oO=function(t){if("undefined"==typeof Proxy)return t;let e=new Map;return new Proxy((...e)=>t(...e),{get:(r,n)=>"create"===n?t:(e.has(n)||e.set(n,t(n)),e.get(n))})}((r5={animation:{Feature:rs},exit:{Feature:ru},inView:{Feature:iS},tap:{Feature:ig},focus:{Feature:is},hover:{Feature:ia},pan:{Feature:r2},drag:{Feature:r0,ProjectionNode:ie,MeasureLayout:na},layout:{ProjectionNode:ie,MeasureLayout:na}},r3=(t,e)=>iK(t)?new ow(e):new ob(e,{allowProjection:t!==r4.Fragment}),function(t,{forwardMotionProps:e}={forwardMotionProps:!1}){return function(t){var e,r;let{preloadedFeatures:n,createVisualElement:i,useRender:o,useVisualState:a,Component:s}=t;function l(t,e){var r,n,l;let u,c={...(0,r4.useContext)(iE),...t,layoutId:function(t){let{layoutId:e}=t,r=(0,r4.useContext)(r7).id;return r&&void 0!==e?r+"-"+e:e}(t)},{isStatic:f}=c,h=function(t){let{initial:e,animate:r}=function(t,e){if(iP(t)){let{initial:e,animate:r}=t;return{initial:!1===e||e9(e)?e:void 0,animate:e9(r)?r:void 0}}return!1!==t.inherit?e:{}}(t,(0,r4.useContext)(ij));return(0,r4.useMemo)(()=>({initial:e,animate:r}),[iM(e),iM(r)])}(t),p=a(t,f);if(!f&&ik){n=0,l=0,(0,r4.useContext)(iA).strict;let t=function(t){let{drag:e,layout:r}=iI;if(!e&&!r)return{};let n={...e,...r};return{MeasureLayout:(null==e?void 0:e.isEnabled(t))||(null==r?void 0:r.isEnabled(t))?n.MeasureLayout:void 0,ProjectionNode:n.ProjectionNode}}
1(c);u=t.MeasureLayout,h.visualElement=function(t,e,r,n,i){let{visualElement:o}=(0,r4.useContext)(ij),a=(0,r4.useContext)(iA),s=(0,r4.useContext)(r9),l=(0,r4.useContext)(iE).reducedMotion,u=(0,r4.useRef)(null);n=n||a.renderer,!u.current&&n&&(u.current=n(t,{visualState:e,parent:o,props:r,presenceContext:s,blockInitialAnimation:!!s&&!1===s.initial,reducedMotionConfig:l}));let c=u.current,f=(0,r4.useContext)(nt);c&&!c.projection&&i&&("html"===c.type||"svg"===c.type)&&function(t,e,r,n){let{layoutId:i,layout:o,drag:a,dragConstraints:s,layoutScroll:l,layoutRoot:u,layoutCrossfade:c}=e;t.projection=new r(t.latestValues,e["data-framer-portal-id"]?void 0:function t(e){if(e)return!1!==e.options.allowProjection?e.projection:t(e.parent)}(t.parent)),t.projection.setOptions({layoutId:i,layout:o,alwaysMeasureLayout:!!a||s&&rF(s),visualElement:t,animationType:"string"==typeof o?o:"both",initialPromotionConfig:n,crossfade:c,layoutScroll:l,layoutRoot:u})}(u.current,r,i,f);let h=(0,r4.useRef)(!1);(0,r4.useInsertionEffect)(()=>{c&&h.current&&c.update(r,s)});let p=r[D],d=(0,r4.useRef)(!!p&&!window.MotionHandoffIsComplete?.(p)&&window.MotionHasOptimisedAnimation?.(p));return iD(()=>{c&&(h.current=!0,window.MotionIsMounted=!0,c.updateFeatures(),r8.render(c.render),d.current&&c.animationState&&c.animationState.animateChanges())}),(0,r4.useEffect)(()=>{c&&(!d.current&&c.animationState&&c.animationState.animateChanges(),d.current&&(queueMicrotask(()=>{window.MotionHandoffMarkAsComplete?.(p)}),d.current=!1))}),c}(s,p,c,i,t.ProjectionNode)}return(0,r6.jsxs)(ij.Provider,{value:h,children:[u&&h.visualElement?(0,r6.jsx)(u,{visualElement:h.visualElement,...c}):null,o(s,t,(r=h.visualElement,(0,r4.useCallback)(t=>{t&&p.onMount&&p.onMount(t),r&&(t?r.mount(t):r.unmount()),e&&("function"==typeof e?e(t):rF(e)&&(e.current=t))},[r])),p,f,h.visualElement)]})}n&&function(t){for(let e in t)iI[e]={...iI[e],...t[e]}}(n),l.displayName="motion.".concat("string"==typeof s?s:"create(".concat(null!=(r=null!=(e=s.displayName)?e:s.name)?r:"",")"));let u=(0,r4.forwardRef)(l);return u[i_]=s,u}({...iK(t)?i3:i2,preloadedFeatures:r5,useRender:function(t=!1){return(e,r,n,{latestValues:i},o)=>{let a=(iK(e)?function(t,e,r,n){let i=(0,r4.useMemo)(()=>{let r=iZ();return iJ(r,e,iQ(n),t.transformTemplate,t.style),{...r.attrs,style:{...r.style}}},[e]);if(t.style){let e={};iz(e,t.style,t),i.style={...e,...i.style}}return i}:function(t,e){let r={},n=function(t,e){let r=t.style||{},n={};return iz(n,r,t),Object.assign(n,function({transformTemplate:t},e){return(0,r4.useMemo)(()=>{let r=i$();return iV(r,e,t),Object.assign({},r.vars,r.style)},[e])}(t,e)),n}(t,e);return t.drag&&!1!==t.dragListener&&(r.draggable=!1,n.userSelect=n.WebkitUserSelect=n.WebkitTouchCallout="none",n.touchAction=!0===t.drag?"none":`pan-${"x"===t.drag?"y":"x"}`),void 0===t.tabIndex&&(t.onTap||t.onTapStart||t.whileTap)&&(r.tabIndex=0),r.style=n,r})(r,i,o,e),s=function(t,e,r){let n={};for(let i in t)("values"!==i||"object"!=typeof t.values)&&(iX(i)||!0===r&&iH(i)||!e&&!iH(i)||t.draggable&&i.startsWith("onDrag"))&&(n[i]=t[i]);return n}(r,"string"==typeof e,t),l=e!==r4.Fragment?{...s,...a,ref:n}:{},{children:u}=r,c=(0,r4.useMemo)(()=>C(u)?u.get():u,[u]);return(0,r4.createElement)(e,{...l,children:c})}}(e),createVisualElement:r3,Component:t})}))},6997:t=>{t.exports=function(t){return this.__data__.set(t,"__lodash_hash_undefined__"),this}},7512:t=>{var e=Function.prototype.toString;t.exports=function(t){if(null!=t){try{return e.call(t)}catch(t){}try{return t+""}catch(t){}}return""}},7548:(t,e,r)=>{var n=r(16746);t.exports=function(t,e){return!!(null==t?0:t.length)&&n(t,e,0)>-1}},7610:(t,e)=>{e.read=function(t,e,r,n,i){var o,a,s=8*i-n-1,l=(1<<s)-1,u=l>>1,c=-7,f=r?i-1:0,h=r?-1:1,p=t[e+f];for(f+=h,o=p&(1<<-c)-1,p>>=-c,c+=s;c>0;o=256*o+t[e+f],f+=h,c-=8);for(a=o&(1<<-c)-1,o>>=-c,c+=n;c>0;a=256*a+t[e+f],f+=h,c-=8);if(0===o)o=1-u;else{if(o===l)return a?NaN:1/0*(p?-1:1);a+=Math.pow(2,n),o-=u}return(p?-1:1)*a*Math.pow(2,o-n)},e.write=function(t,e,r,n,i,o){var a,s,l,u=8*o-i-1,c=(1<<u)-1,f=c>>1,h=5960464477539062e-23*(23===i),p=n?0:o-1,d=n?1:-1,y=+(e<0||0===e&&1/e<0);for(isNaN(e=Math.abs(e))||e===1/0?(s=+!!isNaN(e),a=c):(a=Math.floor(Math.log(e)/Math.LN2),e*(l=Math.pow(2,-a))<1&&(a--,l*=2),a+f>=1?e+=h/l:e+=h*Math.pow(2,1-f),e*l>=2&&(a++,l/=2),a+f>=c?(s=0,a=c):a+f>=1?(s=(e*l-1)*Math.pow(2,i),a+=f):(s=e*Math.pow(2,f-1)*Math.pow(2,i),a=0));i>=8;t[r+p]=255&s,p+=d,s/=256,i-=8);for(a=a<<i|s,u+=i;u>0;t[r+p]=255&a,p+=d,a/=256,u-=8);t[r+p-d]|=128*y}},7771:(t,e,r)=>{var n=r(31598),i=r(18686),o=r(88748);t.exports=function(t,e){var r=this.__data__;if(r instanceof n){var a=r.__data__;if(!i||a.length<199)return a.push([t,e]),this.size=++r.size,this;r=this.__data__=new o(a)}return r.set(t,e),this.size=r.size,this}},7985:(t,e,r)=>{t.exports="object"==typeof r.g&&r.g&&r.g.Object===Object&&r.g},8870:function(t,e,r){var n;!function(i){"use strict";
1var o,a={precision:20,rounding:4,toExpNeg:-7,toExpPos:21,LN10:"2.302585092994045684017991454684364207601101488628772976033327900967572609677352480235997205089598298341967784042286"},s=!0,l="[DecimalError] ",u=l+"Invalid argument: ",c=l+"Exponent out of range: ",f=Math.floor,h=Math.pow,p=/^(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i,d=f(1286742750677284.5),y={};function m(t,e){var r,n,i,o,a,l,u,c,f=t.constructor,h=f.precision;if(!t.s||!e.s)return e.s||(e=new f(t)),s?j(e,h):e;if(u=t.d,c=e.d,a=t.e,i=e.e,u=u.slice(),o=a-i){for(o<0?(n=u,o=-o,l=c.length):(n=c,i=a,l=u.length),o>(l=(a=Math.ceil(h/7))>l?a+1:l+1)&&(o=l,n.length=1),n.reverse();o--;)n.push(0);n.reverse()}for((l=u.length)-(o=c.length)<0&&(o=l,n=c,c=u,u=n),r=0;o;)r=(u[--o]=u[o]+c[o]+r)/1e7|0,u[o]%=1e7;for(r&&(u.unshift(r),++i),l=u.length;0==u[--l];)u.pop();return e.d=u,e.e=i,s?j(e,h):e}function g(t,e,r){if(t!==~~t||t<e||t>r)throw Error(u+t)}function v(t){var e,r,n,i=t.length-1,o="",a=t[0];if(i>0){for(o+=a,e=1;e<i;e++)(r=7-(n=t[e]+"").length)&&(o+=S(r)),o+=n;(r=7-(n=(a=t[e])+"").length)&&(o+=S(r))}else if(0===a)return"0";for(;a%10==0;)a/=10;return o+a}y.absoluteValue=y.abs=function(){var t=new this.constructor(this);return t.s&&(t.s=1),t},y.comparedTo=y.cmp=function(t){var e,r,n,i;if(t=new this.constructor(t),this.s!==t.s)return this.s||-t.s;if(this.e!==t.e)return this.e>t.e^this.s<0?1:-1;for(e=0,r=(n=this.d.length)<(i=t.d.length)?n:i;e<r;++e)if(this.d[e]!==t.d[e])return this.d[e]>t.d[e]^this.s<0?1:-1;return n===i?0:n>i^this.s<0?1:-1},y.decimalPlaces=y.dp=function(){var t=this.d.length-1,e=(t-this.e)*7;if(t=this.d[t])for(;t%10==0;t/=10)e--;return e<0?0:e},y.dividedBy=y.div=function(t){return b(this,new this.constructor(t))},y.dividedToIntegerBy=y.idiv=function(t){var e=this.constructor;return j(b(this,new e(t),0,1),e.precision)},y.equals=y.eq=function(t){return!this.cmp(t)},y.exponent=function(){return w(this)},y.greaterThan=y.gt=function(t){return this.cmp(t)>0},y.greaterThanOrEqualTo=y.gte=function(t){return this.cmp(t)>=0},y.isInteger=y.isint=function(){return this.e>this.d.length-2},y.isNegative=y.isneg=function(){return this.s<0},y.isPositive=y.ispos=function(){return this.s>0},y.isZero=function(){return 0===this.s},y.lessThan=y.lt=function(t){return 0>this.cmp(t)},y.lessThanOrEqualTo=y.lte=function(t){return 1>this.cmp(t)},y.logarithm=y.log=function(t){var e,r=this.constructor,n=r.precision,i=n+5;if(void 0===t)t=new r(10);else if((t=new r(t)).s<1||t.eq(o))throw Error(l+"NaN");if(this.s<1)throw Error(l+(this.s?"NaN":"-Infinity"));return this.eq(o)?new r(0):(s=!1,e=b(A(this,i),A(t,i),i),s=!0,j(e,n))},y.minus=y.sub=function(t){return t=new this.constructor(t),this.s==t.s?P(this,t):m(this,(t.s=-t.s,t))},y.modulo=y.mod=function(t){var e,r=this.constructor,n=r.precision;if(!(t=new r(t)).s)throw Error(l+"NaN");return this.s?(s=!1,e=b(this,t,0,1).times(t),s=!0,this.minus(e)):j(new r(this),n)},y.naturalExponential=y.exp=function(){return x(this)},y.naturalLogarithm=y.ln=function(){return A(this)},y.negated=y.neg=function(){var t=new this.constructor(this);return t.s=-t.s||0,t},y.plus=y.add=function(t){return t=new this.constructor(t),this.s==t.s?m(this,t):P(this,(t.s=-t.s,t))},y.precision=y.sd=function(t){var e,r,n;if(void 0!==t&&!!t!==t&&1!==t&&0!==t)throw Error(u+t);if(e=w(this)+1,r=7*(n=this.d.length-1)+1,n=this.d[n]){for(;n%10==0;n/=10)r--;for(n=this.d[0];n>=10;n/=10)r++}return t&&e>r?e:r},y.squareRoot=y.sqrt=function(){var t,e,r,n,i,o,a,u=this.constructor;if(this.s<1){if(!this.s)return new u(0);throw Error(l+"NaN")}for(t=w(this),s=!1,0==(i=Math.sqrt(+this))||i==1/0?(((e=v(this.d)).length+t)%2==0&&(e+="0"),i=Math.sqrt(e),t=f((t+1)/2)-(t<0||t%2),n=new u(e=i==1/0?"5e"+t:(e=i.toExponential()).slice(0,e.indexOf("e")+1)+t)):n=new u(i.toString()),i=a=(r=u.precision)+3;;)if(n=(o=n).plus(b(this,o,a+2)).times(.5),v(o.d).slice(0,a)===(e=v(n.d)).slice(0,a)){if(e=e.slice(a-3,a+1),i==a&&"4999"==e){if(j(o,r+1,0),o.times(o).eq(this)){n=o;break}}else if("9999"!=e)break;a+=4}return s=!0,j(n,r)},y.times=y.mul=function(t){var e,r,n,i,o,a,l,u,c,f=this.constructor,h=this.d,p=(t=new f(t)).d;if(!this.s||!t.s)return new f(0);for(t.s*=this.s,r=this.e+t.e,(u=h.length)<(c=p.length)&&(o=h,h=p,p=o,a=u,u=c,c=a),o=[],n=a=u+c;n--;)o.push(0);for(n=c;--n>=0;){for(e=0,i=u+n;
1i>n;)l=o[i]+p[n]*h[i-n-1]+e,o[i--]=l%1e7|0,e=l/1e7|0;o[i]=(o[i]+e)%1e7|0}for(;!o[--a];)o.pop();return e?++r:o.shift(),t.d=o,t.e=r,s?j(t,f.precision):t},y.toDecimalPlaces=y.todp=function(t,e){var r=this,n=r.constructor;return(r=new n(r),void 0===t)?r:(g(t,0,1e9),void 0===e?e=n.rounding:g(e,0,8),j(r,t+w(r)+1,e))},y.toExponential=function(t,e){var r,n=this,i=n.constructor;return void 0===t?r=T(n,!0):(g(t,0,1e9),void 0===e?e=i.rounding:g(e,0,8),r=T(n=j(new i(n),t+1,e),!0,t+1)),r},y.toFixed=function(t,e){var r,n,i=this.constructor;return void 0===t?T(this):(g(t,0,1e9),void 0===e?e=i.rounding:g(e,0,8),r=T((n=j(new i(this),t+w(this)+1,e)).abs(),!1,t+w(n)+1),this.isneg()&&!this.isZero()?"-"+r:r)},y.toInteger=y.toint=function(){var t=this.constructor;return j(new t(this),w(this)+1,t.rounding)},y.toNumber=function(){return+this},y.toPower=y.pow=function(t){var e,r,n,i,a,u,c=this,h=c.constructor,p=+(t=new h(t));if(!t.s)return new h(o);if(!(c=new h(c)).s){if(t.s<1)throw Error(l+"Infinity");return c}if(c.eq(o))return c;if(n=h.precision,t.eq(o))return j(c,n);if(u=(e=t.e)>=(r=t.d.length-1),a=c.s,u){if((r=p<0?-p:p)<=0x1fffffffffffff){for(i=new h(o),e=Math.ceil(n/7+4),s=!1;r%2&&M((i=i.times(c)).d,e),0!==(r=f(r/2));)M((c=c.times(c)).d,e);return s=!0,t.s<0?new h(o).div(i):j(i,n)}}else if(a<0)throw Error(l+"NaN");return a=a<0&&1&t.d[Math.max(e,r)]?-1:1,c.s=1,s=!1,i=t.times(A(c,n+12)),s=!0,(i=x(i)).s=a,i},y.toPrecision=function(t,e){var r,n,i=this,o=i.constructor;return void 0===t?(r=w(i),n=T(i,r<=o.toExpNeg||r>=o.toExpPos)):(g(t,1,1e9),void 0===e?e=o.rounding:g(e,0,8),r=w(i=j(new o(i),t,e)),n=T(i,t<=r||r<=o.toExpNeg,t)),n},y.toSignificantDigits=y.tosd=function(t,e){var r=this.constructor;return void 0===t?(t=r.precision,e=r.rounding):(g(t,1,1e9),void 0===e?e=r.rounding:g(e,0,8)),j(new r(this),t,e)},y.toString=y.valueOf=y.val=y.toJSON=function(){var t=w(this),e=this.constructor;return T(this,t<=e.toExpNeg||t>=e.toExpPos)};var b=function(){function t(t,e){var r,n=0,i=t.length;for(t=t.slice();i--;)r=t[i]*e+n,t[i]=r%1e7|0,n=r/1e7|0;return n&&t.unshift(n),t}function e(t,e,r,n){var i,o;if(r!=n)o=r>n?1:-1;else for(i=o=0;i<r;i++)if(t[i]!=e[i]){o=t[i]>e[i]?1:-1;break}return o}function r(t,e,r){for(var n=0;r--;)t[r]-=n,n=+(t[r]<e[r]),t[r]=1e7*n+t[r]-e[r];for(;!t[0]&&t.length>1;)t.shift()}return function(n,i,o,a){var s,u,c,f,h,p,d,y,m,g,v,b,x,O,S,A,E,P,T=n.constructor,M=n.s==i.s?1:-1,k=n.d,C=i.d;if(!n.s)return new T(n);if(!i.s)throw Error(l+"Division by zero");for(c=0,u=n.e-i.e,E=C.length,S=k.length,y=(d=new T(M)).d=[];C[c]==(k[c]||0);)++c;if(C[c]>(k[c]||0)&&--u,(b=null==o?o=T.precision:a?o+(w(n)-w(i))+1:o)<0)return new T(0);if(b=b/7+2|0,c=0,1==E)for(f=0,C=C[0],b++;(c<S||f)&&b--;c++)x=1e7*f+(k[c]||0),y[c]=x/C|0,f=x%C|0;else{for((f=1e7/(C[0]+1)|0)>1&&(C=t(C,f),k=t(k,f),E=C.length,S=k.length),O=E,g=(m=k.slice(0,E)).length;g<E;)m[g++]=0;(P=C.slice()).unshift(0),A=C[0],C[1]>=1e7/2&&++A;do f=0,(s=e(C,m,E,g))<0?(v=m[0],E!=g&&(v=1e7*v+(m[1]||0)),(f=v/A|0)>1?(f>=1e7&&(f=1e7-1),p=(h=t(C,f)).length,g=m.length,1==(s=e(h,m,p,g))&&(f--,r(h,E<p?P:C,p))):(0==f&&(s=f=1),h=C.slice()),(p=h.length)<g&&h.unshift(0),r(m,h,g),-1==s&&(g=m.length,(s=e(C,m,E,g))<1&&(f++,r(m,E<g?P:C,g))),g=m.length):0===s&&(f++,m=[0]),y[c++]=f,s&&m[0]?m[g++]=k[O]||0:(m=[k[O]],g=1);while((O++<S||void 0!==m[0])&&b--)}return y[0]||y.shift(),d.e=u,j(d,a?o+w(d)+1:o)}}();function x(t,e){var r,n,i,a,l,u=0,f=0,p=t.constructor,d=p.precision;if(w(t)>16)throw Error(c+w(t));if(!t.s)return new p(o);for(null==e?(s=!1,l=d):l=e,a=new p(.03125);t.abs().gte(.1);)t=t.times(a),f+=5;for(l+=Math.log(h(2,f))/Math.LN10*2+5|0,r=n=i=new p(o),p.precision=l;;){if(n=j(n.times(t),l),r=r.times(++u),v((a=i.plus(b(n,r,l))).d).slice(0,l)===v(i.d).slice(0,l)){for(;f--;)i=j(i.times(i),l);return p.precision=d,null==e?(s=!0,j(i,d)):i}i=a}}function w(t){for(var e=7*t.e,r=t.d[0];r>=10;r/=10)e++;return e}function O(t,e,r){if(e>t.LN10.sd())throw s=!0,r&&(t.precision=r),Error(l+"LN10 precision limit exceeded");return j(new t(t.LN10),e)}function S(t){for(var e="";t--;)e+="0";return e}function A(t,e){var r,n,i,a,u,c,f,h,p,d=1,y=t,m=y.d,g=y.constructor,x=g.precision;if(y.s<1)throw Error(l+(y.s?"NaN":"-Infinity"));if(y.eq(o))return new g(0);if(null==e?(s=!1,h=x):h=e,y.eq(10))return null==e&&(s=!0),O(g,h);if(g.precision=h+=10,n=(r=v(m)).charAt(0),!(15e14>Math.abs(a=w(y))))return f=O(g,h+2,x).times(a+""),y=A(new g(n+"."+r.slice(1)),h-10).plus(f),g.precision=x,null==e?(s=!0,j(y,x)):y;for(;n<7&&1!=n||1==n&&r.charAt(1)>3;)n=(r=v((y=y.times(t)).d)).charAt(0),d++;for(a=w(y),n>1?(y=new g("0."+r),a++):y=new g(n+"."+r.slice(1)),c=u=y=b(y.minus(o),y.plus(o),h),p=j(y.times(y),h),i=3;;){if(u=j(u.times(p),h),v((f=c.plus(b(u,new g(i),h))).d).slice(0,h)===v(c.d).slice(0,h))return c=c.times(2),0!==a&&(c=c.plus(O(g,h+2,x).times(a+""))),c=b(c,new g(d),h),g.precision=x,null==e?(s=!0,j(c,x)):c;c=f,i+=2}}function E(t,e){var r,n,i;for((r=e.indexOf("."))>-1&&(e=e.replace(".","")),(n=e.search(/e/i))>0?(r<0&&(r=n),r+=+e.slice(n+1),e=e.substring(0,n)):r<0&&(r=e.length),n=0;48===e.charCodeAt(n);)++n;for(i=e.length;48===e.charCodeAt(i-1);)--i;if(e=e.slice(n,i)){if(i-=n,t.e=f((r=r-n-1)/7),t.d=[],n=(r+1)%7,r<0&&(n+=7),n<i){for(n&&t.d.push(+e.slice(0,n)),i-=7;n<i;)t.d.push(+e.slice(n,n+=7));n=7-(e=e.slice(n)).length}else n-=i;for(;n--;)e+="0";if(t.d.push(+e),s&&(t.e>d||t.e<-d))throw Error(c+r)}else t.s=0,t.e=0,t.d=[0];return t}function j(t,e,r){var n,i,o,a,l,u,p,y,m=t.d;for(a=1,o=m[0];o>=10;o/=10)a++;if((n=e-a)<0)n+=7,i=e,p=m[y=0];else{if((y=Math.ceil((n+1)/7))>=(o=m.length))return t;for(a=1,p=o=m[y];o>=10;o/=10)a++;n%=7,i=n-7+a}if(void 0!==r&&(l=p/(o=h(10,a-i-1))%10|0,u=e<0||void 0!==m[y+1]||p%o,u=r<4?(l||u)&&(0==r||r==(t.s<0?3:2)):l>5||5==l&&(4==r||u||6==r&&(n>0?i>0?p/h(10,a-i):0:m[y-1])%10&1||r==(t.s<0?8:7))),e<1||!m[0])return u?(o=w(t),m.length=1,e=e-o-1,m[0]=h(10,(7-e%7)%7),t.e=f(-e/7)||0):(m.length=1,m[0]=t.e=t.s=0),t;if(0==n?(m.length=y,o=1,y--):(m.length=y+1,o=h(10,7-n),m[y]=i>0?(p/h(10,a-i)%h(10,i)|0)*o:0),u)for(;;)if(0==y){1e7==(m[0]+=o)&&(m[0]=1,++t.e);break}else{if(m[y]+=o,1e7!=m[y])break;m[y--]=0,o=1}for(n=m.length;0===m[--n];)m.pop();if(s&&(t.e>d||t.e<-d))throw Error(c+w(t));return t}function P(t,e){var r,n,i,o,a,l,u,c,f,h,p=t.constructor,d=p.precision;if(!t.s||!e.s)return e.s?e.s=-e.s:e=new p(t),s?j(e,d):e;if(u=t.d,h=e.d,n=e.e,c=t.e,u=u.slice(),a=c-n){for((f=a<0)?(r=u,a=-a,l=h.length):(r=h,n=c,l=u.length),a>(i=Math.max(Math.ceil(d/7),l)+2)&&(a=i,r.length=1),r.reverse(),i=a;i--;)r.push(0);r.reverse()}else{for((f=(i=u.length)<(l=h.length))&&(l=i),i=0;i<l;i++)if(u[i]!=h[i]){f=u[i]<h[i];break}a=0}
1for(f&&(r=u,u=h,h=r,e.s=-e.s),l=u.length,i=h.length-l;i>0;--i)u[l++]=0;for(i=h.length;i>a;){if(u[--i]<h[i]){for(o=i;o&&0===u[--o];)u[o]=1e7-1;--u[o],u[i]+=1e7}u[i]-=h[i]}for(;0===u[--l];)u.pop();for(;0===u[0];u.shift())--n;return u[0]?(e.d=u,e.e=n,s?j(e,d):e):new p(0)}function T(t,e,r){var n,i=w(t),o=v(t.d),a=o.length;return e?(r&&(n=r-a)>0?o=o.charAt(0)+"."+o.slice(1)+S(n):a>1&&(o=o.charAt(0)+"."+o.slice(1)),o=o+(i<0?"e":"e+")+i):i<0?(o="0."+S(-i-1)+o,r&&(n=r-a)>0&&(o+=S(n))):i>=a?(o+=S(i+1-a),r&&(n=r-i-1)>0&&(o=o+"."+S(n))):((n=i+1)<a&&(o=o.slice(0,n)+"."+o.slice(n)),r&&(n=r-a)>0&&(i+1===a&&(o+="."),o+=S(n))),t.s<0?"-"+o:o}function M(t,e){if(t.length>e)return t.length=e,!0}function k(t){if(!t||"object"!=typeof t)throw Error(l+"Object expected");var e,r,n,i=["precision",1,1e9,"rounding",0,8,"toExpNeg",-1/0,0,"toExpPos",0,1/0];for(e=0;e<i.length;e+=3)if(void 0!==(n=t[r=i[e]]))if(f(n)===n&&n>=i[e+1]&&n<=i[e+2])this[r]=n;else throw Error(u+r+": "+n);if(void 0!==(n=t[r="LN10"]))if(n==Math.LN10)this[r]=new this(n);else throw Error(u+r+": "+n);return this}(a=function t(e){var r,n,i;function o(t){if(!(this instanceof o))return new o(t);if(this.constructor=o,t instanceof o){this.s=t.s,this.e=t.e,this.d=(t=t.d)?t.slice():t;return}if("number"==typeof t){if(0*t!=0)throw Error(u+t);if(t>0)this.s=1;else if(t<0)t=-t,this.s=-1;else{this.s=0,this.e=0,this.d=[0];return}if(t===~~t&&t<1e7){this.e=0,this.d=[t];return}return E(this,t.toString())}if("string"!=typeof t)throw Error(u+t);if(45===t.charCodeAt(0)?(t=t.slice(1),this.s=-1):this.s=1,p.test(t))E(this,t);else throw Error(u+t)}if(o.prototype=y,o.ROUND_UP=0,o.ROUND_DOWN=1,o.ROUND_CEIL=2,o.ROUND_FLOOR=3,o.ROUND_HALF_UP=4,o.ROUND_HALF_DOWN=5,o.ROUND_HALF_EVEN=6,o.ROUND_HALF_CEIL=7,o.ROUND_HALF_FLOOR=8,o.clone=t,o.config=o.set=k,void 0===e&&(e={}),e)for(r=0,i=["precision","rounding","toExpNeg","toExpPos","LN10"];r<i.length;)e.hasOwnProperty(n=i[r++])||(e[n]=this[n]);return o.config(e),o}(a)).default=a.Decimal=a,o=new a(1),void 0===(n=(function(){return a}).call(e,r,e,t))||(t.exports=n)}(0)},9557:(t,e,r)=>{"use strict";r.d(e,{Ay:()=>tA});var n=r(12115),i=r(38637),o=r.n(i),a=Object.getOwnPropertyNames,s=Object.getOwnPropertySymbols,l=Object.prototype.hasOwnProperty;function u(t,e){return function(r,n,i){return t(r,n,i)&&e(r,n,i)}}function c(t){return function(e,r,n){if(!e||!r||"object"!=typeof e||"object"!=typeof r)return t(e,r,n);var i=n.cache,o=i.get(e),a=i.get(r);if(o&&a)return o===r&&a===e;i.set(e,r),i.set(r,e);var s=t(e,r,n);return i.delete(e),i.delete(r),s}}function f(t){return a(t).concat(s(t))}var h=Object.hasOwn||function(t,e){return l.call(t,e)};function p(t,e){return t===e||!t&&!e&&t!=t&&e!=e}var d=Object.getOwnPropertyDescriptor,y=Object.keys;function m(t,e,r){var n=t.length;if(e.length!==n)return!1;for(;n-- >0;)if(!r.equals(t[n],e[n],n,n,t,e,r))return!1;return!0}function g(t,e){return p(t.getTime(),e.getTime())}function v(t,e){return t.name===e.name&&t.message===e.message&&t.cause===e.cause&&t.stack===e.stack}function b(t,e){return t===e}function x(t,e,r){var n,i,o=t.size;if(o!==e.size)return!1;if(!o)return!0;for(var a=Array(o),s=t.entries(),l=0;(n=s.next())&&!n.done;){for(var u=e.entries(),c=!1,f=0;(i=u.next())&&!i.done;){if(a[f]){f++;continue}var h=n.value,p=i.value;if(r.equals(h[0],p[0],l,f,t,e,r)&&r.equals(h[1],p[1],h[0],p[0],t,e,r)){c=a[f]=!0;break}f++}if(!c)return!1;l++}return!0}function w(t,e,r){var n=y(t),i=n.length;if(y(e).length!==i)return!1;for(;i-- >0;)if(!T(t,e,r,n[i]))return!1;return!0}function O(t,e,r){var n,i,o,a=f(t),s=a.length;if(f(e).length!==s)return!1;for(;s-- >0;)if(!T(t,e,r,n=a[s])||(i=d(t,n),o=d(e,n),(i||o)&&(!i||!o||i.configurable!==o.configurable||i.enumerable!==o.enumerable||i.writable!==o.writable)))return!1;return!0}function S(t,e){return p(t.valueOf(),e.valueOf())}function A(t,e){return t.source===e.source&&t.flags===e.flags}function E(t,e,r){var n,i,o=t.size;if(o!==e.size)return!1;if(!o)return!0;for(var a=Array(o),s=t.values();(n=s.next())&&!n.done;){for(var l=e.values(),u=!1,c=0;(i=l.next())&&!i.done;){if(!a[c]&&r.equals(n.value,i.value,n.value,i.value,t,e,r)){u=a[c]=!0;break}c++}if(!u)return!1}return!0}function j(t,e){var r=t.length;if(e.length!==r)return!1;for(;r-- >0;)if(t[r]!==e[r])return!1;return!0}function P(t,e){return t.hostname===e.hostname&&t.pathname===e.pathname&&t.protocol===e.protocol&&t.port===e.port&&t.hash===e.hash&&t.username===e.username&&t.password===e.password}function T(t,e,r,n){return("_owner"===n||"__o"===n||"__v"===n)&&(!!t.$$typeof||!!e.$$typeof)||h(e,n)&&r.equals(t[n],e[n],n,n,t,e,r)}var M=Array.isArray,k="function"==typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView:null,C=Object.assign,I=Object.prototype.toString.call.bind(Object.prototype.toString),_=D();function D(t){void 0===t&&(t={});var e,r,n,i,o,a,s,l,f,h,d,y,T,_=t.circular,D=t.createInternalComparator,B=t.createState,R=t.strict,N=(r=(e=function(t){var e=t.circular,r=t.createCustomConfig,n=t.strict,i={areArraysEqual:n?O:m,areDatesEqual:g,areErrorsEqual:v,areFunctionsEqual:b,areMapsEqual:n?u(x,O):x,areNumbersEqual:p,areObjectsEqual:n?O:w,arePrimitiveWrappersEqual:S,areRegExpsEqual:A,areSetsEqual:n?u(E,O):E,areTypedArraysEqual:n?O:j,areUrlsEqual:P};if(r&&(i=C({},i,r(i))),e){var o=c(i.areArraysEqual),a=c(i.areMapsEqual),s=c(i.areObjectsEqual),l=c(i.areSetsEqual);i=C({},i,{areArraysEqual:o,areMapsEqual:a,areObjectsEqual:s,areSetsEqual:l})}return i}(t)).areArraysEqual,n=e.areDatesEqual,i=e.areErrorsEqual,o=e.areFunctionsEqual,a=e.areMapsEqual,s=e.areNumbersEqual,l=e.areObjectsEqual,f=e.arePrimitiveWrappersEqual,h=e.areRegExpsEqual,d=e.areSetsEqual,y=e.areTypedArraysEqual,T=e.areUrlsEqual,function(t,e,u){if(t===e)return!0;
1if(null==t||null==e)return!1;var c=typeof t;if(c!==typeof e)return!1;if("object"!==c)return"number"===c?s(t,e,u):"function"===c&&o(t,e,u);var p=t.constructor;if(p!==e.constructor)return!1;if(p===Object)return l(t,e,u);if(M(t))return r(t,e,u);if(null!=k&&k(t))return y(t,e,u);if(p===Date)return n(t,e,u);if(p===RegExp)return h(t,e,u);if(p===Map)return a(t,e,u);if(p===Set)return d(t,e,u);var m=I(t);return"[object Date]"===m?n(t,e,u):"[object RegExp]"===m?h(t,e,u):"[object Map]"===m?a(t,e,u):"[object Set]"===m?d(t,e,u):"[object Object]"===m?"function"!=typeof t.then&&"function"!=typeof e.then&&l(t,e,u):"[object URL]"===m?T(t,e,u):"[object Error]"===m?i(t,e,u):"[object Arguments]"===m?l(t,e,u):("[object Boolean]"===m||"[object Number]"===m||"[object String]"===m)&&f(t,e,u)}),L=D?D(N):function(t,e,r,n,i,o,a){return N(t,e,a)};return function(t){var e=t.circular,r=t.comparator,n=t.createState,i=t.equals,o=t.strict;if(n)return function(t,a){var s=n(),l=s.cache;return r(t,a,{cache:void 0===l?e?new WeakMap:void 0:l,equals:i,meta:s.meta,strict:o})};if(e)return function(t,e){return r(t,e,{cache:new WeakMap,equals:i,meta:void 0,strict:o})};var a={cache:void 0,equals:i,meta:void 0,strict:o};return function(t,e){return r(t,e,a)}}({circular:void 0!==_&&_,comparator:N,createState:B,equals:L,strict:void 0!==R&&R})}function B(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=-1;requestAnimationFrame(function n(i){if(r<0&&(r=i),i-r>e)t(i),r=-1;else{var o;o=n,"undefined"!=typeof requestAnimationFrame&&requestAnimationFrame(o)}})}function R(t){return(R="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function N(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function L(t){return(L="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function U(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function F(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?U(Object(r),!0).forEach(function(e){V(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):U(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function V(t,e,r){var n;return(n=function(t,e){if("object"!==L(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!==L(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(e,"string"),(e="symbol"===L(n)?n:String(n))in t)?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}D({strict:!0}),D({circular:!0}),D({circular:!0,strict:!0}),D({createInternalComparator:function(){return p}}),D({strict:!0,createInternalComparator:function(){return p}}),D({circular:!0,createInternalComparator:function(){return p}}),D({circular:!0,createInternalComparator:function(){return p},strict:!0});var $=function(t){return t},z=function(t,e){return Object.keys(e).reduce(function(r,n){return F(F({},r),{},V({},n,t(n,e[n])))},{})},W=function(t,e,r){return t.map(function(t){return"".concat(t.replace(/([A-Z])/g,function(t){return"-".concat(t.toLowerCase())})," ").concat(e,"ms ").concat(r)}).join(",")},H=function(t,e,r,n,i,o,a,s){};function X(t,e){if(t){if("string"==typeof t)return q(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);if("Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return q(t,e)}}function q(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}var K=function(t,e){return[0,3*t,3*e-6*t,3*t-3*e+1]},Y=function(t,e){return t.map(function(t,r){return t*Math.pow(e,r)}).reduce(function(t,e){return t+e})},G=function(t,e){return function(r){return Y(K(t,e),r)}},J=function(){for(var t,e,r=arguments.length,n=Array(r),i=0;i<r;i++)n[i]=arguments[i];var o=n[0],a=n[1],s=n[2],l=n[3];if(1===n.length)switch(n[0]){case"linear":o=0,a=0,s=1,l=1;break;case"ease":o=.25,a=.1,s=.25,l=1;break;case"ease-in":o=.42,a=0,s=1,l=1;break;case"ease-out":o=.42,a=0,s=.58,l=1;break;case"ease-in-out":o=0,a=0,s=.58,l=1;break;default:var u=n[0].split("(");if("cubic-bezier"===u[0]&&4===u[1].split(")")[0].split(",").length){var c,f=function(t){if(Array.isArray(t))return t}(c=u[1].split(")")[0].split(",").map(function(t){return parseFloat(t)}))||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,i,o,a,s=[],l=!0,u=!1;try{o=(r=r.call(t)).next,!1;for(;!(l=(n=o.call(r)).done)&&(s.push(n.value),s.length!==e);l=!0);}catch(t){u=!0,i=t}
1finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(u)throw i}}return s}}(c,4)||X(c,4)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}();o=f[0],a=f[1],s=f[2],l=f[3]}else H(!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",n)}H([o,s,a,l].every(function(t){return"number"==typeof t&&t>=0&&t<=1}),"[configBezier]: arguments should be x1, y1, x2, y2 of [0, 1] instead received %s",n);var h=G(o,s),p=G(a,l),d=(t=o,e=s,function(r){var n;return Y([].concat(function(t){if(Array.isArray(t))return q(t)}(n=K(t,e).map(function(t,e){return t*e}).slice(1))||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(n)||X(n)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),[0]),r)}),y=function(t){for(var e=t>1?1:t,r=e,n=0;n<8;++n){var i,o=h(r)-e,a=d(r);if(1e-4>Math.abs(o-e)||a<1e-4)break;r=(i=r-o/a)>1?1:i<0?0:i}return p(r)};return y.isStepper=!1,y},Z=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.stiff,r=void 0===e?100:e,n=t.damping,i=void 0===n?8:n,o=t.dt,a=void 0===o?17:o,s=function(t,e,n){var o=n+(-(t-e)*r-n*i)*a/1e3,s=n*a/1e3+t;return 1e-4>Math.abs(s-e)&&1e-4>Math.abs(o)?[e,0]:[s,o]};return s.isStepper=!0,s.dt=a,s},Q=function(){for(var t=arguments.length,e=Array(t),r=0;r<t;r++)e[r]=arguments[r];var n=e[0];if("string"==typeof n)switch(n){case"ease":case"ease-in-out":case"ease-out":case"ease-in":case"linear":return J(n);case"spring":return Z();default:if("cubic-bezier"===n.split("(")[0])return J(n);H(!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",e)}return"function"==typeof n?n:(H(!1,"[configEasing]: first argument type should be function or string, instead received %s",e),null)};function tt(t){return(tt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function te(t){return function(t){if(Array.isArray(t))return ta(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||to(t)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function tr(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function tn(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?tr(Object(r),!0).forEach(function(e){ti(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):tr(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function ti(t,e,r){var n;return(n=function(t,e){if("object"!==tt(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!==tt(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(e,"string"),(e="symbol"===tt(n)?n:String(n))in t)?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function to(t,e){if(t){if("string"==typeof t)return ta(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);if("Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return ta(t,e)}}function ta(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}var ts=function(t,e,r){return t+(e-t)*r},tl=function(t){return t.from!==t.to},tu=function t(e,r,n){var i=z(function(t,r){if(tl(r)){var n,i=function(t){if(Array.isArray(t))return t}(n=e(r.from,r.to,r.velocity))||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,i,o,a,s=[],l=!0,u=!1;try{o=(r=r.call(t)).next,!1;for(;!(l=(n=o.call(r)).done)&&(s.push(n.value),s.length!==e);l=!0);}catch(t){u=!0,i=t}
1finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(u)throw i}}return s}}(n,2)||to(n,2)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),o=i[0],a=i[1];return tn(tn({},r),{},{from:o,velocity:a})}return r},r);return n<1?z(function(t,e){return tl(e)?tn(tn({},e),{},{velocity:ts(e.velocity,i[t].velocity,n),from:ts(e.from,i[t].from,n)}):e},r):t(e,i,n-1)};let tc=function(t,e,r,n,i){var o,a,s=[Object.keys(t),Object.keys(e)].reduce(function(t,e){return t.filter(function(t){return e.includes(t)})}),l=s.reduce(function(r,n){return tn(tn({},r),{},ti({},n,[t[n],e[n]]))},{}),u=s.reduce(function(r,n){return tn(tn({},r),{},ti({},n,{from:t[n],velocity:0,to:e[n]}))},{}),c=-1,f=function(){return null};return f=r.isStepper?function(n){o||(o=n);var a=(n-o)/r.dt;u=tu(r,u,a),i(tn(tn(tn({},t),e),z(function(t,e){return e.from},u))),o=n,Object.values(u).filter(tl).length&&(c=requestAnimationFrame(f))}:function(o){a||(a=o);var s=(o-a)/n,u=z(function(t,e){return ts.apply(void 0,te(e).concat([r(s)]))},l);if(i(tn(tn(tn({},t),e),u)),s<1)c=requestAnimationFrame(f);else{var h=z(function(t,e){return ts.apply(void 0,te(e).concat([r(1)]))},l);i(tn(tn(tn({},t),e),h))}},function(){return requestAnimationFrame(f),function(){cancelAnimationFrame(c)}}};function tf(t){return(tf="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var th=["children","begin","duration","attributeName","easing","isActive","steps","from","to","canBegin","onAnimationEnd","shouldReAnimate","onAnimationReStart"];function tp(t){return function(t){if(Array.isArray(t))return td(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(t){if("string"==typeof t)return td(t,void 0);var r=Object.prototype.toString.call(t).slice(8,-1);if("Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return td(t,e)}}(t)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function td(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function ty(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function tm(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?ty(Object(r),!0).forEach(function(e){tg(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):ty(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function tg(t,e,r){return(e=tv(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function tv(t){var e=function(t,e){if("object"!==tf(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!==tf(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"===tf(e)?e:String(e)}function tb(t,e){return(tb=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function tx(t,e){if(e&&("object"===tf(e)||"function"==typeof e))return e;if(void 0!==e)throw TypeError("Derived constructors may only return object or undefined");return tw(t)}function tw(t){if(void 0===t)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function tO(t){return(tO=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var tS=function(t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");o.prototype=Object.create(t&&t.prototype,{constructor:{value:o,writable:!0,configurable:!0}}),Object.defineProperty(o,"prototype",{writable:!1}),t&&tb(o,t);var e,r,i=(e=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}(),function(){var t,r=tO(o);return t=e?Reflect.construct(r,arguments,tO(this).constructor):r.apply(this,arguments),tx(this,t)});function o(t,e){if(!(this instanceof o))throw TypeError("Cannot call a class as a function");var r=i.call(this,t,e),n=r.props,a=n.isActive,s=n.attributeName,l=n.from,u=n.to,c=n.steps,f=n.children,h=n.duration;if(r.handleStyleChange=r.handleStyleChange.bind(tw(r)),r.changeStyle=r.changeStyle.bind(tw(r)),!a||h<=0)return r.state={style:{}},"function"==typeof f&&(r.state={style:u}),tx(r);if(c&&c.length)r.state={style:c[0].style};else if(l){if("function"==typeof f)return r.state={style:l},tx(r);r.state={style:s?tg({},s,l):l}}else r.state={style:{}};return r}return r=[{key:"componentDidMount",value:function(){var t=this.props,e=t.isActive,r=t.canBegin;this.mounted=!0,e&&r&&this.runAnimation(this.props)}},{key:"componentDidUpdate",value:function(t){var e=this.props,r=e.isActive,n=e.canBegin,i=e.attributeName,o=e.shouldReAnimate,a=e.to,s=e.from,l=this.state.style;if(n){if(!r){var u={style:i?tg({},i,a):a};this.state&&l&&(i&&l[i]!==a||!i&&l!==a)&&this.setState(u);return}if(!_(t.to,a)||!t.canBegin||!t.isActive){var c=!t.canBegin||!t.isActive;this.manager&&this.manager.stop(),this.stopJSAnimation&&this.stopJSAnimation();var f=c||o?s:t.to;if(this.state&&l){var h={style:i?tg({},i,f):f};(i&&l[i]!==f||!i&&l!==f)&&this.setState(h)}this.runAnimation(tm(tm({},this.props),{},{from:f,begin:0}))}}}},{key:"componentWillUnmount",value:function(){this.mounted=!1;var t=this.props.onAnimationEnd;this.unSubscribe&&this.unSubscribe(),this.manager&&(this.manager.stop(),this.manager=null),this.stopJSAnimation&&this.stopJSAnimation(),t&&t()}},{key:"handleStyleChange",value:function(t){this.changeStyle(t)}},{key:"changeStyle",value:function(t){this.mounted&&this.setState({style:t})}},{key:"runJSAnimation",value:function(t){var e=this,r=t.from,n=t.to,i=t.duration,o=t.easing,a=t.begin,s=t.onAnimationEnd,l=t.onAnimationStart,u=tc(r,n,Q(o),i,this.changeStyle);this.manager.start([l,a,function(){e.stopJSAnimation=u()},i,s])}},{key:"runStepAnimation",value:function(t){var e=this,r=t.steps,n=t.begin,i=t.onAnimationStart,o=r[0],a=o.style,s=o.duration;return this.manager.start([i].concat(tp(r.reduce(function(t,n,i){if(0===i)return t;var o=n.duration,a=n.easing,s=void 0===a?"ease":a,l=n.style,u=n.properties,c=n.onAnimationEnd,f=i>0?r[i-1]:n,h=u||Object.keys(l);if("function"==typeof s||"spring"===s)return[].concat(tp(t),[e.runJSAnimation.bind(e,{from:f.style,to:l,duration:o,easing:s}),o]);var p=W(h,o,s),d=tm(tm(tm({},f.style),l),{},{transition:p});return[].concat(tp(t),[d,o,c]).filter($)},[a,Math.max(void 0===s?0:s,n)])),[t.onAnimationEnd]))}},{key:"runAnimation",value:function(t){this.manager||(this.manager=(r=function(){return null}
1,n=!1,i=function t(e){if(!n){if(Array.isArray(e)){if(!e.length)return;var i=function(t){if(Array.isArray(t))return t}(e)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(e)||function(t,e){if(t){if("string"==typeof t)return N(t,void 0);var r=Object.prototype.toString.call(t).slice(8,-1);if("Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return N(t,e)}}(e)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),o=i[0],a=i.slice(1);return"number"==typeof o?void B(t.bind(null,a),o):(t(o),void B(t.bind(null,a)))}"object"===R(e)&&r(e),"function"==typeof e&&e()}},{stop:function(){n=!0},start:function(t){n=!1,i(t)},subscribe:function(t){return r=t,function(){r=function(){return null}}}}));var e,r,n,i,o=t.begin,a=t.duration,s=t.attributeName,l=t.to,u=t.easing,c=t.onAnimationStart,f=t.onAnimationEnd,h=t.steps,p=t.children,d=this.manager;if(this.unSubscribe=d.subscribe(this.handleStyleChange),"function"==typeof u||"function"==typeof p||"spring"===u)return void this.runJSAnimation(t);if(h.length>1)return void this.runStepAnimation(t);var y=s?tg({},s,l):l,m=W(Object.keys(y),a,u);d.start([c,o,tm(tm({},y),{},{transition:m}),a,f])}},{key:"render",value:function(){var t=this.props,e=t.children,r=(t.begin,t.duration),i=(t.attributeName,t.easing,t.isActive),o=(t.steps,t.from,t.to,t.canBegin,t.onAnimationEnd,t.shouldReAnimate,t.onAnimationReStart,function(t,e){if(null==t)return{};var r,n,i=function(t,e){if(null==t)return{};var r,n,i={},o=Object.keys(t);for(n=0;n<o.length;n++)r=o[n],e.indexOf(r)>=0||(i[r]=t[r]);return i}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(n=0;n<o.length;n++)r=o[n],!(e.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(i[r]=t[r])}return i}(t,th)),a=n.Children.count(e),s=this.state.style;if("function"==typeof e)return e(s);if(!i||0===a||r<=0)return e;var l=function(t){var e=t.props,r=e.style,i=e.className;return(0,n.cloneElement)(t,tm(tm({},o),{},{style:tm(tm({},void 0===r?{}:r),s),className:i}))};return 1===a?l(n.Children.only(e)):n.createElement("div",null,n.Children.map(e,function(t){return l(t)}))}}],function(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,tv(n.key),n)}}(o.prototype,r),Object.defineProperty(o,"prototype",{writable:!1}),o}(n.PureComponent);tS.displayName="Animate",tS.defaultProps={begin:0,duration:1e3,from:"",to:"",attributeName:"",easing:"ease",isActive:!0,canBegin:!0,steps:[],onAnimationEnd:function(){},onAnimationStart:function(){}},tS.propTypes={from:o().oneOfType([o().object,o().string]),to:o().oneOfType([o().object,o().string]),attributeName:o().string,duration:o().number,begin:o().number,easing:o().oneOfType([o().string,o().func]),steps:o().arrayOf(o().shape({duration:o().number.isRequired,style:o().object.isRequired,easing:o().oneOfType([o().oneOf(["ease","ease-in","ease-out","ease-in-out","linear"]),o().func]),properties:o().arrayOf("string"),onAnimationEnd:o().func})),children:o().oneOfType([o().node,o().func]),isActive:o().bool,canBegin:o().bool,onAnimationEnd:o().func,shouldReAnimate:o().bool,onAnimationStart:o().func,onAnimationReStart:o().func};let tA=tS},9699:(t,e,r)=>{var n=r(11011);t.exports=function(t,e,r){for(var i=-1,o=t.criteria,a=e.criteria,s=o.length,l=r.length;++i<s;){var u=n(o[i],a[i]);if(u){if(i>=l)return u;return u*("desc"==r[i]?-1:1)}}return t.index-e.index}},9795:(t,e,r)=>{"use strict";r.d(e,{i:()=>_});var n=r(12115),i=r(23633),o=r.n(i);let a=Math.cos,s=Math.sin,l=Math.sqrt,u=Math.PI,c=2*u,f={draw(t,e){let r=l(e/u);t.moveTo(r,0),t.arc(0,0,r,0,c)}},h=l(1/3),p=2*h,d=s(u/10)/s(7*u/10),y=s(c/10)*d,m=-a(c/10)*d,g=l(3),v=l(3)/2,b=1/l(12),x=(b/2+1)*3;var w=r(85654),O=r(31847);l(3),l(3);var S=r(35796),A=r(70788);function E(t){return(E="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var j=["type","size","sizeType"];function P(){return(P=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];
1for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}function T(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function M(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?T(Object(r),!0).forEach(function(e){var n,i,o;n=t,i=e,o=r[e],(i=function(t){var e=function(t,e){if("object"!=E(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=E(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==E(e)?e:e+""}(i))in n?Object.defineProperty(n,i,{value:o,enumerable:!0,configurable:!0,writable:!0}):n[i]=o}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):T(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}var k={symbolCircle:f,symbolCross:{draw(t,e){let r=l(e/5)/2;t.moveTo(-3*r,-r),t.lineTo(-r,-r),t.lineTo(-r,-3*r),t.lineTo(r,-3*r),t.lineTo(r,-r),t.lineTo(3*r,-r),t.lineTo(3*r,r),t.lineTo(r,r),t.lineTo(r,3*r),t.lineTo(-r,3*r),t.lineTo(-r,r),t.lineTo(-3*r,r),t.closePath()}},symbolDiamond:{draw(t,e){let r=l(e/p),n=r*h;t.moveTo(0,-r),t.lineTo(n,0),t.lineTo(0,r),t.lineTo(-n,0),t.closePath()}},symbolSquare:{draw(t,e){let r=l(e),n=-r/2;t.rect(n,n,r,r)}},symbolStar:{draw(t,e){let r=l(.8908130915292852*e),n=y*r,i=m*r;t.moveTo(0,-r),t.lineTo(n,i);for(let e=1;e<5;++e){let o=c*e/5,l=a(o),u=s(o);t.lineTo(u*r,-l*r),t.lineTo(l*n-u*i,u*n+l*i)}t.closePath()}},symbolTriangle:{draw(t,e){let r=-l(e/(3*g));t.moveTo(0,2*r),t.lineTo(-g*r,-r),t.lineTo(g*r,-r),t.closePath()}},symbolWye:{draw(t,e){let r=l(e/x),n=r/2,i=r*b,o=r*b+r,a=-n;t.moveTo(n,i),t.lineTo(n,o),t.lineTo(a,o),t.lineTo(-.5*n-v*i,v*n+-.5*i),t.lineTo(-.5*n-v*o,v*n+-.5*o),t.lineTo(-.5*a-v*o,v*a+-.5*o),t.lineTo(-.5*n+v*i,-.5*i-v*n),t.lineTo(-.5*n+v*o,-.5*o-v*n),t.lineTo(-.5*a+v*o,-.5*o-v*a),t.closePath()}}},C=Math.PI/180,I=function(t,e,r){if("area"===e)return t;switch(r){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*C;return 1.25*t*t*(Math.tan(n)-Math.tan(2*n)*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}},_=function(t){var e,r=t.type,i=void 0===r?"circle":r,a=t.size,s=void 0===a?64:a,l=t.sizeType,u=void 0===l?"area":l,c=M(M({},function(t,e){if(null==t)return{};var r,n,i=function(t,e){if(null==t)return{};var r={};for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)){if(e.indexOf(n)>=0)continue;r[n]=t[n]}return r}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(n=0;n<o.length;n++)r=o[n],!(e.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(i[r]=t[r])}return i}(t,j)),{},{type:i,size:s,sizeType:u}),h=c.className,p=c.cx,d=c.cy,y=(0,A.J9)(c,!0);return p===+p&&d===+d&&s===+s?n.createElement("path",P({}
1,y,{className:(0,S.A)("recharts-symbols",h),transform:"translate(".concat(p,", ").concat(d,")"),d:(e=k["symbol".concat(o()(i))]||f,(function(t,e){let r=null,n=(0,O.i)(i);function i(){let i;if(r||(r=i=n()),t.apply(this,arguments).draw(r,+e.apply(this,arguments)),i)return r=null,i+""||null}return t="function"==typeof t?t:(0,w.A)(t||f),e="function"==typeof e?e:(0,w.A)(void 0===e?64:+e),i.type=function(e){return arguments.length?(t="function"==typeof e?e:(0,w.A)(e),i):t},i.size=function(t){return arguments.length?(e="function"==typeof t?t:(0,w.A)(+t),i):e},i.context=function(t){return arguments.length?(r=null==t?null:t,i):r},i})().type(e).size(I(s,u,i))())})):null};_.registerSymbol=function(t,e){k["symbol".concat(o()(t))]=e}},9813:(t,e,r)=>{var n=r(22143),i=r(48611),o=Object.prototype,a=o.hasOwnProperty,s=o.propertyIsEnumerable;t.exports=n(function(){return arguments}())?n:function(t){return i(t)&&a.call(t,"callee")&&!s.call(t,"callee")}},9819:(t,e,r)=>{"use strict";function n(t){return"object"==typeof t&&"length"in t?t:Array.from(t)}r.d(e,{A:()=>n}),Array.prototype.slice},10537:(t,e,r)=>{var n=r(96540),i=r(31598),o=r(18686);t.exports=function(){this.size=0,this.__data__={hash:new n,map:new(o||i),string:new n}}},10796:(t,e,r)=>{"use strict";var n;r.d(e,{$b:()=>n,Vy:()=>u});let i=[];!function(t){t[t.DEBUG=0]="DEBUG",t[t.VERBOSE=1]="VERBOSE",t[t.INFO=2]="INFO",t[t.WARN=3]="WARN",t[t.ERROR=4]="ERROR",t[t.SILENT=5]="SILENT"}(n||(n={}));let o={debug:n.DEBUG,verbose:n.VERBOSE,info:n.INFO,warn:n.WARN,error:n.ERROR,silent:n.SILENT},a=n.INFO,s={[n.DEBUG]:"log",[n.VERBOSE]:"log",[n.INFO]:"info",[n.WARN]:"warn",[n.ERROR]:"error"},l=(t,e,...r)=>{if(e<t.logLevel)return;let n=new Date().toISOString(),i=s[e];if(i)console[i](`[${n}]  ${t.name}:`,...r);else throw Error(`Attempted to log a message with an invalid logType (value: ${e})`)};class u{constructor(t){this.name=t,this._logLevel=a,this._logHandler=l,this._userLogHandler=null,i.push(this)}get logLevel(){return this._logLevel}set logLevel(t){if(!(t in n))throw TypeError(`Invalid value "${t}" assigned to \`logLevel\``);this._logLevel=t}setLogLevel(t){this._logLevel="string"==typeof t?o[t]:t}get logHandler(){return this._logHandler}set logHandler(t){if("function"!=typeof t)throw TypeError("Value assigned to `logHandler` must be a function");this._logHandler=t}get userLogHandler(){return this._userLogHandler}set userLogHandler(t){this._userLogHandler=t}debug(...t){this._userLogHandler&&this._userLogHandler(this,n.DEBUG,...t),this._logHandler(this,n.DEBUG,...t)}log(...t){this._userLogHandler&&this._userLogHandler(this,n.VERBOSE,...t),this._logHandler(this,n.VERBOSE,...t)}info(...t){this._userLogHandler&&this._userLogHandler(this,n.INFO,...t),this._logHandler(this,n.INFO,...t)}warn(...t){this._userLogHandler&&this._userLogHandler(this,n.WARN,...t),this._logHandler(this,n.WARN,...t)}error(...t){this._userLogHandler&&this._userLogHandler(this,n.ERROR,...t),this._logHandler(this,n.ERROR,...t)}}},11011:(t,e,r)=>{var n=r(70771);t.exports=function(t,e){if(t!==e){var r=void 0!==t,i=null===t,o=t==t,a=n(t),s=void 0!==e,l=null===e,u=e==e,c=n(e);if(!l&&!c&&!a&&t>e||a&&s&&u&&!l&&!c||i&&s&&u||!r&&u||!o)return 1;if(!i&&!a&&!c&&t<e||c&&r&&o&&!i&&!a||l&&r&&o||!s&&o||!u)return -1}return 0}},11670:(t,e,r)=>{var n=r(79401),i=r(9813),o=r(39608),a=r(33497),s=r(99544),l=r(35190),u=Object.prototype.hasOwnProperty;t.exports=function(t,e){var r=o(t),c=!r&&i(t),f=!r&&!c&&a(t),h=!r&&!c&&!f&&l(t),p=r||c||f||h,d=p?n(t.length,String):[],y=d.length;for(var m in t)(e||u.call(t,m))&&!(p&&("length"==m||f&&("offset"==m||"parent"==m)||h&&("buffer"==m||"byteLength"==m||"byteOffset"==m)||s(m,y)))&&d.push(m);return d}},12486:t=>{t.exports=function(t){return t!=t}},13122:(t,e,r)=>{var n=r(40139),i=r(38985),o=r(67460),a=r(7512),s=/^\[object .+?Constructor\]$/,l=Object.prototype,u=Function.prototype.toString,c=l.hasOwnProperty,f=RegExp("^"+u.call(c).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");t.exports=function(t){return!(!o(t)||i(t))&&(n(t)?f:s).test(a(t))}},13364:(t,e,r)=>{var n=r(75899),i=Object.prototype.hasOwnProperty;t.exports=function(t){var e=this.__data__;return n?void 0!==e[t]:i.call(e,t)}},13465:t=>{t.exports=function(t){return t}},13908:(t,e,r)=>{var n=r(40566);t.exports=function(t){return n(t)&&t!=+t}},14268:(t,e,r)=>
1{var n=r(58918),i=r(18028),o=r(52521);t.exports=function(t,e){return t&&t.length?n(t,i(e,2),o):void 0}},15232:(t,e,r)=>{"use strict";function n(t,e){for(var r in t)if(({}).hasOwnProperty.call(t,r)&&(!({}).hasOwnProperty.call(e,r)||t[r]!==e[r]))return!1;for(var n in e)if(({}).hasOwnProperty.call(e,n)&&!({}).hasOwnProperty.call(t,n))return!1;return!0}r.d(e,{b:()=>n})},15438:(t,e,r)=>{var n=r(98233),i=r(39608),o=r(48611);t.exports=function(t){return"string"==typeof t||!i(t)&&o(t)&&"[object String]"==n(t)}},15473:t=>{t.exports=function(t,e){return null==t?void 0:t[e]}},15631:t=>{t.exports=function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=0x1fffffffffffff}},16377:(t,e,r)=>{"use strict";r.d(e,{CG:()=>b,Dj:()=>x,Et:()=>p,F4:()=>g,NF:()=>m,_3:()=>h,eP:()=>w,lX:()=>v,sA:()=>f,vh:()=>d});var n=r(15438),i=r.n(n),o=r(13908),a=r.n(o),s=r(48973),l=r.n(s),u=r(40566),c=r.n(u),f=function(t){return 0===t?0:t>0?1:-1},h=function(t){return i()(t)&&t.indexOf("%")===t.length-1},p=function(t){return c()(t)&&!a()(t)},d=function(t){return p(t)||i()(t)},y=0,m=function(t){var e=++y;return"".concat(t||"").concat(e)},g=function(t,e){var r,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,o=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(!p(t)&&!i()(t))return n;if(h(t)){var s=t.indexOf("%");r=e*parseFloat(t.slice(0,s))/100}else r=+t;return a()(r)&&(r=n),o&&r>e&&(r=e),r},v=function(t){if(!t)return null;var e=Object.keys(t);return e&&e.length?t[e[0]]:null},b=function(t){if(!Array.isArray(t))return!1;for(var e=t.length,r={},n=0;n<e;n++)if(r[t[n]])return!0;else r[t[n]]=!0;return!1},x=function(t,e){return p(t)&&p(e)?function(r){return t+r*(e-t)}:function(){return e}};function w(t,e,r){return t&&t.length?t.find(function(t){return t&&("function"==typeof e?e(t):l()(t,e))===r}):null}},16571:(t,e,r)=>{var n=r(50687),i=r(54906),o=r(13465);t.exports=i?function(t,e){return i(t,"toString",{configurable:!0,enumerable:!1,value:n(e),writable:!0})}:o},16613:(t,e,r)=>{var n=r(24376),i=r(57213),o=r(39608),a=r(70771),s=1/0,l=n?n.prototype:void 0,u=l?l.toString:void 0;t.exports=function t(e){if("string"==typeof e)return e;if(o(e))return i(e,t)+"";if(a(e))return u?u.call(e):"";var r=e+"";return"0"==r&&1/e==-s?"-0":r}},16746:(t,e,r)=>{var n=r(3562),i=r(12486),o=r(69806);t.exports=function(t,e,r){return e==e?o(t,e,r):n(t,i,r)}},17489:(t,e,r)=>{var n=r(91113);t.exports=function(t){var e=n(t,function(t){return 500===r.size&&r.clear(),t}),r=e.cache;return e}},17855:t=>{var e="\ud800-\udfff",r="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",n="\ud83c[\udffb-\udfff]",i="[^"+e+"]",o="(?:\ud83c[\udde6-\uddff]){2}",a="[\ud800-\udbff][\udc00-\udfff]",s="(?:"+r+"|"+n+")?",l="[\\ufe0e\\ufe0f]?",u="(?:\\u200d(?:"+[i,o,a].join("|")+")"+l+s+")*",c=RegExp(n+"(?="+n+")|"+("(?:"+[i+r+"?",r,o,a,"["+e+"]"].join("|"))+")"+(l+s+u),"g");t.exports=function(t){return t.match(c)||[]}},18028:(t,e,r)=>{var n=r(55910),i=r(96699),o=r(13465),a=r(39608),s=r(28126);t.exports=function(t){return"function"==typeof t?t:null==t?o:"object"==typeof t?a(t)?i(t[0],t[1]):n(t):s(t)}},18489:(t,e,r)=>{var n=r(96294),i=r(72043),o=Object.prototype.hasOwnProperty;t.exports=function(t){if(!n(t))return i(t);var e=[];for(var r in Object(t))o.call(t,r)&&"constructor"!=r&&e.push(r);return e}},18686:(t,e,r)=>{t.exports=r(83711)(r(82500),"Map")},18940:(t,e,r)=>{t.exports=r(64189)()},19946:(t,e,r)=>{"use strict";r.d(e,{A:()=>f});var n=r(12115);let i=t=>t.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),o=t=>t.replace(/^([A-Z])|[\s-_]+(\w)/g,(t,e,r)=>r?r.toUpperCase():e.toLowerCase()),a=t=>{let e=o(t);return e.charAt(0).toUpperCase()+e.slice(1)},s=function(){for(var t=arguments.length,e=Array(t),r=0;r<t;r++)e[r]=arguments[r];return e.filter((t,e,r)=>!!t&&""!==t.trim()&&r.indexOf(t)===e).join(" ").trim()},l=t=>{for(let e in t)if(e.startsWith("aria-")||"role"===e||"title"===e)return!0};var u={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"};let c=(0,n.forwardRef)((t,e)=>{let{color:r="currentColor",size:i=24,strokeWidth:o=2,absoluteStrokeWidth:a,className:c="",children:f,iconNode:h,...p}=t;return(0,n.createElement)("svg",{ref:e,...u,width:i,height:i,stroke:r,strokeWidth:a?24*Number(o)/Number(i):o,className:s("lucide",c),...!f&&!l(p)&&{"aria-hidden":"true"},...p},[...h.map(t=>{let[e,r]=t;return(0,n.createElement)(e,r)}),...Array.isArray(f)?f:[f]])}),f=(t,e)=>{let r=(0,n.forwardRef)((r,o)=>{let{className:l,...u}=r;return(0,n.createElement)(c,{ref:o,iconNode:e,className:s("lucide-".concat(i(a(t))),"lucide-".concat(t),l),...u})});return r.displayName=a(t),r}},20134:(t,e,r)=>{var n=r(86452),i=r(50111);t.exports=function(t,e){return null!=t&&i(t,e,n)}},20480:(t,e,r)=>{var n=r(86216),i=r(35095);t.exports=function(t,e){return t&&n(t,e,i)}},20570:(t,e,r)=>{var n=r(24376),i=Object.prototype,o=i.hasOwnProperty,a=i.toString,s=n?n.toStringTag:void 0;t.exports=function(t){var e=o.call(t,s),r=t[s];try{t[s]=void 0;var n=!0}catch(t){}var i=a.call(t);return n&&(e?t[s]=r:delete t[s]),i}},20963:(t,e,r)=>{var n=r(65646),i=r(38649),o=r(35095);t.exports=function(t){return n(t,o,i)}},20988:(t,e,r)=>{var n=r(75899);t.exports=function(t,e){var r=this.__data__;return this.size+=+!this.has(t),r[t]=n&&void 0===e?"__lodash_hash_undefined__":e,this}},21087:(t,e,r)=>{var n=r(13465),i=r(64588),o=r(61632);t.exports=function(t,e){return o(i(t,e,n),t+"")}},21582:t=>{t.exports=function(t,e){return t>e}},21790:(t,e,r)=>{var n=r(54360);t.exports=function(t,e){var r=this.__data__,i=n(r,t);return i<0?(++this.size,r.push([t,e])):r[i][1]=e,this}},22143:(t,e,r)=>{var n=r(98233),i=r(48611);t.exports=function(t){return i(t)&&"[object Arguments]"==n(t)}},22315:(t,e,r)=>{var n=r(58918),i=r(21582),o=r(13465);t.exports=function(t){return t&&t.length?n(t,o,i):void 0}},22471:(t,e,r)=>{var n=r(40139),i=r(15631);t.exports=function(t){return null!=t&&i(t.length)&&!n(t)}},23360:(t,e,r)=>{var n=r(42233);t.exports=function(t){var e=n(t),r=e%1;return e==e?r?e-r:e:0}},23633:(t,e,r)=>{t.exports=r(62962)("toUpperCase")},23915:(t,e,r)=>{"use strict";r.d(e,{Dk:()=>n.Dk,Wp:()=>n.Wp});var n=r(46235);(0,n.KO)("firebase","11.7.1","app")},24026:(t,e,r)=>{"use strict";r.d(e,{s:()=>_});var n=r(12115),i=r(40139),o=r.n(i),a=r(35796),s=r(675),l=r(72790),u=r(9795),c=r(43597);function f(t){return(f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}
1function h(){return(h=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}function p(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function d(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(d=function(){return!!t})()}function y(t){return(y=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function m(t,e){return(m=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function g(t,e,r){return(e=v(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function v(t){var e=function(t,e){if("object"!=f(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=f(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==f(e)?e:e+""}var b=function(t){var e;function r(){var t,e;if(!(this instanceof r))throw TypeError("Cannot call a class as a function");return t=r,e=arguments,t=y(t),function(t,e){if(e&&("object"===f(e)||"function"==typeof e))return e;if(void 0!==e)throw TypeError("Derived constructors may only return object or undefined");var r=t;if(void 0===r)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return r}(this,d()?Reflect.construct(t,e||[],y(this).constructor):t.apply(this,e))}if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");return r.prototype=Object.create(t&&t.prototype,{constructor:{value:r,writable:!0,configurable:!0}}),Object.defineProperty(r,"prototype",{writable:!1}),t&&m(r,t),e=[{key:"renderIcon",value:function(t){var e=this.props.inactiveColor,r=32/6,i=32/3,o=t.inactive?e:t.color;if("plainline"===t.type)return n.createElement("line",{strokeWidth:4,fill:"none",stroke:o,strokeDasharray:t.payload.strokeDasharray,x1:0,y1:16,x2:32,y2:16,className:"recharts-legend-icon"});if("line"===t.type)return n.createElement("path",{strokeWidth:4,fill:"none",stroke:o,d:"M0,".concat(16,"h").concat(i,"\n            A").concat(r,",").concat(r,",0,1,1,").concat(2*i,",").concat(16,"\n            H").concat(32,"M").concat(2*i,",").concat(16,"\n            A").concat(r,",").concat(r,",0,1,1,").concat(i,",").concat(16),className:"recharts-legend-icon"});if("rect"===t.type)return n.createElement("path",{stroke:"none",fill:o,d:"M0,".concat(4,"h").concat(32,"v").concat(24,"h").concat(-32,"z"),className:"recharts-legend-icon"});if(n.isValidElement(t.legendIcon)){var a=function(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?p(Object(r),!0).forEach(function(e){g(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):p(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}({},t);return delete a.legendIcon,n.cloneElement(t.legendIcon,a)}return n.createElement(u.i,{fill:o,cx:16,cy:16,size:32,sizeType:"diameter",type:t.type})}},{key:"renderItems",value:function(){var t=this,e=this.props,r=e.payload,i=e.iconSize,u=e.layout,f=e.formatter,p=e.inactiveColor,d={x:0,y:0,width:32,height:32},y={display:"horizontal"===u?"inline-block":"block",marginRight:10},m={display:"inline-block",verticalAlign:"middle",marginRight:4};return r.map(function(e,r){var u=e.formatter||f,v=(0,a.A)(g(g({"recharts-legend-item":!0},"legend-item-".concat(r),!0),"inactive",e.inactive));if("none"===e.type)return null;var b=o()(e.value)?null:e.value;(0,s.R)(!o()(e.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 x=e.inactive?p:e.color;return n.createElement("li",h({className:v,style:y,key:"legend-item-".concat(r)},(0,c.XC)(t.props,e,r)),n.createElement(l.u,{width:i,height:i,viewBox:d,style:m},t.renderIcon(e)),n.createElement("span",{className:"recharts-legend-item-text",style:{color:x}},u?u(b,e,r):b))})}},{key:"render",value:function(){var t=this.props,e=t.payload,r=t.layout,i=t.align;return e&&e.length?n.createElement("ul",{className:"recharts-default-legend",style:{padding:0,margin:0,textAlign:"horizontal"===r?i:"left"}},this.renderItems()):null}}],function(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,v(n.key),n)}}(r.prototype,e),Object.defineProperty(r,"prototype",{writable:!1}),r}(n.PureComponent);g(b,"displayName","Legend"),g(b,"defaultProps",{iconSize:14,layout:"horizontal",align:"center",verticalAlign:"middle",inactiveColor:"#ccc"});var x=r(16377),w=r(2494);function O(t){return(O="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var S=["ref"];function A(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function E(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};
1e%2?A(Object(r),!0).forEach(function(e){k(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):A(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function j(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,C(n.key),n)}}function P(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(P=function(){return!!t})()}function T(t){return(T=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function M(t,e){return(M=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function k(t,e,r){return(e=C(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function C(t){var e=function(t,e){if("object"!=O(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=O(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==O(e)?e:e+""}function I(t){return t.value}var _=function(t){var e,r;function i(){var t,e,r;if(!(this instanceof i))throw TypeError("Cannot call a class as a function");for(var n=arguments.length,o=Array(n),a=0;a<n;a++)o[a]=arguments[a];return e=i,r=[].concat(o),e=T(e),k(t=function(t,e){if(e&&("object"===O(e)||"function"==typeof e))return e;if(void 0!==e)throw TypeError("Derived constructors may only return object or undefined");var r=t;if(void 0===r)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return r}(this,P()?Reflect.construct(e,r||[],T(this).constructor):e.apply(this,r)),"lastBoundingBox",{width:-1,height:-1}),t}if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");return i.prototype=Object.create(t&&t.prototype,{constructor:{value:i,writable:!0,configurable:!0}}),Object.defineProperty(i,"prototype",{writable:!1}),t&&M(i,t),e=[{key:"componentDidMount",value:function(){this.updateBBox()}},{key:"componentDidUpdate",value:function(){this.updateBBox()}},{key:"getBBox",value:function(){if(this.wrapperNode&&this.wrapperNode.getBoundingClientRect){var t=this.wrapperNode.getBoundingClientRect();return t.height=this.wrapperNode.offsetHeight,t.width=this.wrapperNode.offsetWidth,t}return null}},{key:"updateBBox",value:function(){var t=this.props.onBBoxUpdate,e=this.getBBox();e?(Math.abs(e.width-this.lastBoundingBox.width)>1||Math.abs(e.height-this.lastBoundingBox.height)>1)&&(this.lastBoundingBox.width=e.width,this.lastBoundingBox.height=e.height,t&&t(e)):(-1!==this.lastBoundingBox.width||-1!==this.lastBoundingBox.height)&&(this.lastBoundingBox.width=-1,this.lastBoundingBox.height=-1,t&&t(null))}},{key:"getBBoxSnapshot",value:function(){return this.lastBoundingBox.width>=0&&this.lastBoundingBox.height>=0?E({},this.lastBoundingBox):{width:0,height:0}}},{key:"getDefaultPosition",value:function(t){var e,r,n=this.props,i=n.layout,o=n.align,a=n.verticalAlign,s=n.margin,l=n.chartWidth,u=n.chartHeight;return t&&(void 0!==t.left&&null!==t.left||void 0!==t.right&&null!==t.right)||(e="center"===o&&"vertical"===i?{left:((l||0)-this.getBBoxSnapshot().width)/2}:"right"===o?{right:s&&s.right||0}:{left:s&&s.left||0}),t&&(void 0!==t.top&&null!==t.top||void 0!==t.bottom&&null!==t.bottom)||(r="middle"===a?{top:((u||0)-this.getBBoxSnapshot().height)/2}:"bottom"===a?{bottom:s&&s.bottom||0}:{top:s&&s.top||0}),E(E({},e),r)}},{key:"render",value:function(){var t=this,e=this.props,r=e.content,i=e.width,o=e.height,a=e.wrapperStyle,s=e.payloadUniqBy,l=e.payload,u=E(E({position:"absolute",width:i||"auto",height:o||"auto"},this.getDefaultPosition(a)),a);return n.createElement("div",{className:"recharts-legend-wrapper",style:u,ref:function(e){t.wrapperNode=e}},function(t,e){if(n.isValidElement(t))return n.cloneElement(t,e);if("function"==typeof t)return n.createElement(t,e);e.ref;var r=function(t,e){if(null==t)return{};var r,n,i=function(t,e){if(null==t)return{};var r={};for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)){if(e.indexOf(n)>=0)continue;r[n]=t[n]}return r}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(n=0;n<o.length;n++)r=o[n],!(e.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(i[r]=t[r])}return i}(e,S);return n.createElement(b,r)}(r,E(E({},this.props),{},{payload:(0,w.s)(l,s,I)})))}}],r=[{key:"getWithHeight",value:function(t,e){var r=E(E({},this.defaultProps),t.props).layout;return"vertical"===r&&(0,x.Et)(t.props.height)?{height:t.props.height}:"horizontal"===r?{width:t.props.width||e}:null}}],e&&j(i.prototype,e),r&&j(i,r),Object.defineProperty(i,"prototype",{writable:!1}),i}(n.PureComponent);k(_,"displayName","Legend"),k(_,"defaultProps",{iconSize:14,layout:"horizontal",align:"center",verticalAlign:"bottom"})},24376:(t,e,r)=>{t.exports=r(82500).Symbol},25641:(t,e,r)=>{"use strict";r.d(e,{IZ:()=>m,Kg:()=>y,Zk:()=>S,lY:()=>g,pr:()=>v,yy:()=>O});var n=r(59882),i=r.n(n),o=r(12115),a=r(40139),s=r.n(a),l=r(16377),u=r(49754);function c(t){return(c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function f(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function h(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};
1e%2?f(Object(r),!0).forEach(function(e){p(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):f(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function p(t,e,r){var n;return(n=function(t,e){if("object"!=c(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=c(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(e,"string"),(e="symbol"==c(n)?n:n+"")in t)?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function d(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}var y=Math.PI/180,m=function(t,e,r,n){return{x:t+Math.cos(-y*n)*r,y:e+Math.sin(-y*n)*r}},g=function(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{top:0,right:0,bottom:0,left:0};return Math.min(Math.abs(t-(r.left||0)-(r.right||0)),Math.abs(e-(r.top||0)-(r.bottom||0)))/2},v=function(t,e,r,n,o){var a=t.width,s=t.height,c=t.startAngle,f=t.endAngle,y=(0,l.F4)(t.cx,a,a/2),m=(0,l.F4)(t.cy,s,s/2),v=g(a,s,r),b=(0,l.F4)(t.innerRadius,v,0),x=(0,l.F4)(t.outerRadius,v,.8*v);return Object.keys(e).reduce(function(t,r){var a,s=e[r],l=s.domain,g=s.reversed;if(i()(s.range))"angleAxis"===n?a=[c,f]:"radiusAxis"===n&&(a=[b,x]),g&&(a=[a[1],a[0]]);else{var v,w=function(t){if(Array.isArray(t))return t}(v=a=s.range)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,i,o,a,s=[],l=!0,u=!1;try{o=(r=r.call(t)).next,!1;for(;!(l=(n=o.call(r)).done)&&(s.push(n.value),s.length!==e);l=!0);}catch(t){u=!0,i=t}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(u)throw i}}return s}}(v,2)||function(t,e){if(t){if("string"==typeof t)return d(t,2);var r=Object.prototype.toString.call(t).slice(8,-1);if("Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return d(t,e)}}(v,2)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}();c=w[0],f=w[1]}var O=(0,u.W7)(s,o),S=O.realScaleType,A=O.scale;A.domain(l).range(a),(0,u.YB)(A);var E=(0,u.w7)(A,h(h({},s),{},{realScaleType:S})),j=h(h(h({},s),E),{},{range:a,radius:x,realScaleType:S,scale:A,cx:y,cy:m,innerRadius:b,outerRadius:x,startAngle:c,endAngle:f});return h(h({},t),{},p({},r,j))},{})},b=function(t,e){var r=t.x,n=t.y;
1return Math.sqrt(Math.pow(r-e.x,2)+Math.pow(n-e.y,2))},x=function(t,e){var r=t.x,n=t.y,i=e.cx,o=e.cy,a=b({x:r,y:n},{x:i,y:o});if(a<=0)return{radius:a};var s=Math.acos((r-i)/a);return n>o&&(s=2*Math.PI-s),{radius:a,angle:180*s/Math.PI,angleInRadian:s}},w=function(t){var e=t.startAngle,r=t.endAngle,n=Math.min(Math.floor(e/360),Math.floor(r/360));return{startAngle:e-360*n,endAngle:r-360*n}},O=function(t,e){var r,n=x({x:t.x,y:t.y},e),i=n.radius,o=n.angle,a=e.innerRadius,s=e.outerRadius;if(i<a||i>s)return!1;if(0===i)return!0;var l=w(e),u=l.startAngle,c=l.endAngle,f=o;if(u<=c){for(;f>c;)f-=360;for(;f<u;)f+=360;r=f>=u&&f<=c}else{for(;f>u;)f-=360;for(;f<c;)f+=360;r=f>=c&&f<=u}return r?h(h({},e),{},{radius:i,angle:f+360*Math.min(Math.floor(e.startAngle/360),Math.floor(e.endAngle/360))}):null},S=function(t){return(0,o.isValidElement)(t)||s()(t)||"boolean"==typeof t?"":t.className}},26151:t=>{t.exports=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=!!e,e}},27569:(t,e,r)=>{var n=r(32197),i=r(35095);t.exports=function(t){for(var e=i(t),r=e.length;r--;){var o=e[r],a=t[o];e[r]=[o,a,n(a)]}return e}},28126:(t,e,r)=>{var n=r(96548),i=r(93294),o=r(79595),a=r(94356);t.exports=function(t){return o(t)?n(a(t)):i(t)}},28749:(t,e,r)=>{"use strict";function n(t,e){switch(arguments.length){case 0:break;case 1:this.range(t);break;default:this.range(e).domain(t)}return this}function i(t,e){switch(arguments.length){case 0:break;case 1:"function"==typeof t?this.interpolator(t):this.range(t);break;default:this.domain(t),"function"==typeof e?this.interpolator(e):this.range(e)}return this}r.d(e,{C:()=>n,K:()=>i})},28897:(t,e,r)=>{var n=r(54906);t.exports=function(t,e,r){"__proto__"==e&&n?n(t,e,{configurable:!0,enumerable:!0,value:r,writable:!0}):t[e]=r}},29794:(t,e,r)=>{var n=r(48628),i=r(74888),o=r(18028),a=r(39608),s=r(39641);t.exports=function(t,e,r){var l=a(t)?n:i;return r&&s(t,e,r)&&(e=void 0),l(t,o(e,3))}},30152:(t,e,r)=>{t.exports=r(82500)["__core-js_shared__"]},30294:(t,e)=>{"use strict";var r,n=Symbol.for("react.element"),i=Symbol.for("react.portal"),o=Symbol.for("react.fragment"),a=Symbol.for("react.strict_mode"),s=Symbol.for("react.profiler"),l=Symbol.for("react.provider"),u=Symbol.for("react.context"),c=Symbol.for("react.server_context"),f=Symbol.for("react.forward_ref"),h=Symbol.for("react.suspense"),p=Symbol.for("react.suspense_list"),d=Symbol.for("react.memo"),y=Symbol.for("react.lazy");Symbol.for("react.offscreen");Symbol.for("react.module.reference"),e.isFragment=function(t){return function(t){if("object"==typeof t&&null!==t){var e=t.$$typeof;switch(e){case n:switch(t=t.type){case o:case s:case a:case h:case p:return t;default:switch(t=t&&t.$$typeof){case c:case u:case f:case y:case d:case l:return t;default:return e}}case i:return e}}}(t)===o}},30699:t=>{t.exports=function(t){var e=typeof t;return"string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==t:null===t}},30716:t=>{t.exports=function(t){return function(e,r,n){for(var i=-1,o=Object(e),a=n(e),s=a.length;s--;){var l=a[t?s:++i];if(!1===r(o[l],l,o))break}return e}}},31431:t=>{t.exports=function(){}},31545:(t,e,r)=>{var n=r(75899);t.exports=function(){this.__data__=n?n(null):{},this.size=0}},31598:(t,e,r)=>{var n=r(31887),i=r(90929),o=r(45170),a=r(61830),s=r(21790);function l(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}l.prototype.clear=n,l.prototype.delete=i,l.prototype.get=o,l.prototype.has=a,l.prototype.set=s,t.exports=l},31847:(t,e,r)=>{"use strict";r.d(e,{i:()=>l});let n=Math.PI,i=2*n,o=i-1e-6;function a(t){this._+=t[0];for(let e=1,r=t.length;e<r;++e)this._+=arguments[e]+t[e]}class s{constructor(t){this._x0=this._y0=this._x1=this._y1=null,this._="",this._append=null==t?a:function(t){let e=Math.floor(t);if(!(e>=0))throw Error(`invalid digits: ${t}`);if(e>15)return a;let r=10**e;return function(t){this._+=t[0];for(let e=1,n=t.length;e<n;++e)this._+=Math.round(arguments[e]*r)/r+t[e]}}(t)}moveTo(t,e){this._append`M${this._x0=this._x1=+t},${this._y0=this._y1=+e}`}closePath(){null!==this._x1&&(this._x1=this._x0,this._y1=this._y0,this._append`Z`)}lineTo(t,e){this._append`L${this._x1=+t},${this._y1=+e}`}quadraticCurveTo(t,e,r,n){this._append`Q${+t},${+e},${this._x1=+r},${this._y1=+n}`}bezierCurveTo(t,e,r,n,i,o){this._append`C${+t},${+e},${+r},${+n}
1,${this._x1=+i},${this._y1=+o}`}arcTo(t,e,r,i,o){if(t*=1,e*=1,r*=1,i*=1,(o*=1)<0)throw Error(`negative radius: ${o}`);let a=this._x1,s=this._y1,l=r-t,u=i-e,c=a-t,f=s-e,h=c*c+f*f;if(null===this._x1)this._append`M${this._x1=t},${this._y1=e}`;else if(h>1e-6)if(Math.abs(f*l-u*c)>1e-6&&o){let p=r-a,d=i-s,y=l*l+u*u,m=Math.sqrt(y),g=Math.sqrt(h),v=o*Math.tan((n-Math.acos((y+h-(p*p+d*d))/(2*m*g)))/2),b=v/g,x=v/m;Math.abs(b-1)>1e-6&&this._append`L${t+b*c},${e+b*f}`,this._append`A${o},${o},0,0,${+(f*p>c*d)},${this._x1=t+x*l},${this._y1=e+x*u}`}else this._append`L${this._x1=t},${this._y1=e}`}arc(t,e,r,a,s,l){if(t*=1,e*=1,r*=1,l=!!l,r<0)throw Error(`negative radius: ${r}`);let u=r*Math.cos(a),c=r*Math.sin(a),f=t+u,h=e+c,p=1^l,d=l?a-s:s-a;null===this._x1?this._append`M${f},${h}`:(Math.abs(this._x1-f)>1e-6||Math.abs(this._y1-h)>1e-6)&&this._append`L${f},${h}`,r&&(d<0&&(d=d%i+i),d>o?this._append`A${r},${r},0,1,${p},${t-u},${e-c}A${r},${r},0,1,${p},${this._x1=f},${this._y1=h}`:d>1e-6&&this._append`A${r},${r},0,${+(d>=n)},${p},${this._x1=t+r*Math.cos(s)},${this._y1=e+r*Math.sin(s)}`)}rect(t,e,r,n){this._append`M${this._x0=this._x1=+t},${this._y0=this._y1=+e}h${r*=1}v${+n}h${-r}Z`}toString(){return this._}}function l(t){let e=3;return t.digits=function(r){if(!arguments.length)return e;if(null==r)e=null;else{let t=Math.floor(r);if(!(t>=0))throw RangeError(`invalid digits: ${r}`);e=t}return t},()=>new s(e)}s.prototype},31887:t=>{t.exports=function(){this.__data__=[],this.size=0}},32197:(t,e,r)=>{var n=r(67460);t.exports=function(t){return t==t&&!n(t)}},33109:(t,e,r)=>{"use strict";r.d(e,{A:()=>n});let n=(0,r(19946).A)("trending-up",[["polyline",{points:"22 7 13.5 15.5 8.5 10.5 2 17",key:"126l90"}],["polyline",{points:"16 7 22 7 22 13",key:"kwv8wd"}]])},33332:t=>{t.exports=function(t){return function(e){return t(e)}}},33497:(t,e,r)=>{t=r.nmd(t);var n=r(82500),i=r(44158),o=e&&!e.nodeType&&e,a=o&&t&&!t.nodeType&&t,s=a&&a.exports===o?n.Buffer:void 0,l=s?s.isBuffer:void 0;t.exports=l||i},34210:t=>{t.exports=function(t){return this.__data__.has(t)}},34711:(t,e,r)=>{var n=r(73800),i=r(94356);t.exports=function(t,e){e=n(e,t);for(var r=0,o=e.length;null!=t&&r<o;)t=t[i(e[r++])];return r&&r==o?t:void 0}},34869:(t,e,r)=>{"use strict";r.d(e,{A:()=>n});let n=(0,r(19946).A)("globe",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20",key:"13o1zl"}],["path",{d:"M2 12h20",key:"9i4pu4"}]])},35095:(t,e,r)=>{var n=r(11670),i=r(18489),o=r(22471);t.exports=function(t){return o(t)?n(t):i(t)}},35190:(t,e,r)=>{var n=r(89316),i=r(33332),o=r(49840),a=o&&o.isTypedArray;t.exports=a?i(a):n},35317:(t,e,r)=>{"use strict";r.d(e,{BN:()=>n.BN,GG:()=>n.GG,GV:()=>n.GV,H9:()=>n.H9,My:()=>n.My,P:()=>n.P,_M:()=>n._M,aQ:()=>n.aQ,aU:()=>n.aU,mZ:()=>n.mZ,rJ:()=>n.rJ,wP:()=>n.wP,x7:()=>n.x7});var n=r(87015)},35796:(t,e,r)=>{"use strict";r.d(e,{A:()=>n});let n=function(){for(var t,e,r=0,n="",i=arguments.length;r<i;r++)(t=arguments[r])&&(e=function t(e){var r,n,i="";if("string"==typeof e||"number"==typeof e)i+=e;else if("object"==typeof e)if(Array.isArray(e)){var o=e.length;for(r=0;r<o;r++)e[r]&&(n=t(e[r]))&&(i&&(i+=" "),i+=n)}else for(n in e)e[n]&&(i&&(i+=" "),i+=n);return i}(t))&&(n&&(n+=" "),n+=e);return n}},36314:(t,e,r)=>{var n=r(24376),i=r(9813),o=r(39608),a=n?n.isConcatSpreadable:void 0;t.exports=function(t){return o(t)||i(t)||!!(a&&t&&t[a])}},36713:t=>{var e=/\s/;t.exports=function(t){for(var r=t.length;r--&&e.test(t.charAt(r)););return r}},36730:t=>{var e=Date.now;t.exports=function(t){var r=0,n=0;return function(){var i=e(),o=16-(i-n);if(n=i,o>0){if(++r>=800)return arguments[0]}else r=0;return t.apply(void 0,arguments)}}},36815:(t,e,r)=>{var n=r(4217),i=r(67460),o=r(70771),a=0/0,s=/^[-+]0x[0-9a-f]+$/i,l=/^0b[01]+$/i,u=/^0o[0-7]+$/i,c=parseInt;t.exports=function(t){if("number"==typeof t)return t;if(o(t))return a;if(i(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=i(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=n(t);var r=l.test(t);return r||u.test(t)?c(t.slice(2),r?2:8):s.test(t)?a:+t}},37835:(t,e,r)=>{var n=r(17489),i=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,o=/\\(\\)?/g;t.exports=n(function(t){var e=[];return 46===t.charCodeAt(0)&&e.push(""),t.replace(i,function(t,r,n,i){e.push(n?i.replace(o,"$1"):r||t)}),e})},37929:t=>{t.exports=function(t,e,r){var n=-1,i=t.length;e<0&&(e=-e>i?0:i+e),(r=r>i?i:r)<0&&(r+=i),i=e>r?0:r-e>>>0,e>>>=0;for(var o=Array(i);++n<i;)o[n]=t[n+e];return o}},38008:(t,e,r)=>{t.exports=r(83711)(r(82500),"Set")},38406:(t,e,r)=>{var n=r(85090),i=r(92313),o=r(82954);t.exports=function(t,e,r,a,s,l){var u=1&r,c=t.length,f=e.length;if(c!=f&&!(u&&f>c))return!1;var h=l.get(t),p=l.get(e);if(h&&p)return h==e&&p==t;var d=-1,y=!0,m=2&r?new n:void 0;for(l.set(t,e),l.set(e,t);++d<c;){var g=t[d],v=e[d];if(a)var b=u?a(v,g,d,e,t,l):a(g,v,d,t,e,l);if(void 0!==b){if(b)continue;y=!1;break}if(m){if(!i(e,function(t,e){if(!o(m,e)&&(g===t||s(g,t,r,a,l)))return m.push(e)})){y=!1;break}}else if(!(g===v||s(g,v,r,a,l))){y=!1;break}}return l.delete(t),l.delete(e),y}},38637:(t,e,r)=>{t.exports=r(79399)()},38649:(t,e,r)=>{var n=r(38675),i=r(43720),o=Object.prototype.propertyIsEnumerable,a=Object.getOwnPropertySymbols;t.exports=a?function(t){return null==t?[]:n(a(t=Object(t)),function(e){return o.call(t,e)})}:i},38675:t=>{t.exports=function(t,e){for(var r=-1,n=null==t?0:t.length,i=0,o=[];++r<n;){var a=t[r];e(a,r,t)&&(o[i++]=a)}return o}},38985:(t,e,r)=>{var n=r(30152),i=function(){var t=/[^.]+$/.exec(n&&n.keys&&n.keys.IE_PROTO||"");
1return t?"Symbol(src)_1."+t:""}();t.exports=function(t){return!!i&&i in t}},39608:t=>{t.exports=Array.isArray},39641:(t,e,r)=>{var n=r(58817),i=r(22471),o=r(99544),a=r(67460);t.exports=function(t,e,r){if(!a(r))return!1;var s=typeof e;return("number"==s?!!(i(r)&&o(e,r.length)):"string"==s&&e in r)&&n(r[e],t)}},39984:t=>{t.exports=function(t,e,r){for(var n=-1,i=null==t?0:t.length;++n<i;)if(r(e,t[n]))return!0;return!1}},40139:(t,e,r)=>{var n=r(98233),i=r(67460);t.exports=function(t){if(!i(t))return!1;var e=n(t);return"[object Function]"==e||"[object GeneratorFunction]"==e||"[object AsyncFunction]"==e||"[object Proxy]"==e}},40382:(t,e,r)=>{t.exports=r(83711)(r(82500),"WeakMap")},40566:(t,e,r)=>{var n=r(98233),i=r(48611);t.exports=function(t){return"number"==typeof t||i(t)&&"[object Number]"==n(t)}},41643:(t,e,r)=>{"use strict";r.d(e,{m:()=>n});var n={isSsr:!("undefined"!=typeof window&&window.document&&window.document.createElement&&window.setTimeout),get:function(t){return n[t]},set:function(t,e){if("string"==typeof t)n[t]=e;else{var r=Object.keys(t);r&&r.length&&r.forEach(function(e){n[e]=t[e]})}}}},42233:(t,e,r)=>{var n=r(36815),i=1/0;t.exports=function(t){return t?(t=n(t))===i||t===-i?(t<0?-1:1)*17976931348623157e292:t==t?t:0:0===t?t:0}},43597:(t,e,r)=>{"use strict";r.d(e,{QQ:()=>s,VU:()=>u,XC:()=>h,_U:()=>f,j2:()=>c});var n=r(12115),i=r(67460),o=r.n(i);function a(t){return(a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var s=["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"],l=["points","pathLength"],u={svg:["viewBox","children"],polygon:l,polyline:l},c=["dangerouslySetInnerHTML","onCopy","onCopyCapture","onCut","onCutCapture","onPaste","onPasteCapture","onCompositionEnd","onCompositionEndCapture","onCompositionStart","onCompositionStartCapture","onCompositionUpdate","onCompositionUpdateCapture","onF
1ocus","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"],f=function(t,e){if(!t||"function"==typeof t||"boolean"==typeof t)return null;var r=t;if((0,n.isValidElement)(t)&&(r=t.props),!o()(r))return null;var i={};return Object.keys(r).forEach(function(t){c.includes(t)&&(i[t]=e||function(e){return r[t](r,e)})}),i},h=function(t,e,r){if(!o()(t)||"object"!==a(t))return null;var n=null;return Object.keys(t).forEach(function(i){var o=t[i];c.includes(i)&&"function"==typeof o&&(n||(n={}),n[i]=function(t){return o(e,r,t),null})}),n}},43720:t=>{t.exports=function(){return[]}},44101:(t,e,r)=>{t.exports=r(83711)(r(82500),"DataView")},44134:(t,e,r)=>{"use strict";let n=r(57719),i=r(7610),o="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;function a(t){if(t>0x7fffffff)throw RangeError('The value "'+t+'" is invalid for option "size"');let e=new Uint8Array(t);return Object.setPrototypeOf(e,s.prototype),e}function s(t,e,r){if("number"==typeof t){if("string"==typeof e)throw TypeError('The "string" argument must be of type string. Received type number');return c(t)}return l(t,e,r)}function l(t,e,r){if("string"==typeof t){var n=t,i=e;if(("string"!=typeof i||""===i)&&(i="utf8"),!s.isEncoding(i))throw TypeError("Unknown encoding: "+i);let r=0|d(n,i),o=a(r),l=o.write(n,i);return l!==r&&(o=o.slice(0,l)),o}if(ArrayBuffer.isView(t)){var o=t;if(N(o,Uint8Array)){let t=new Uint8Array(o);return h(t.buffer,t.byteOffset,t.byteLength)}return f(o)}if(null==t)throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t);
vendor: 20,237 bytes, line 1
1if(N(t,ArrayBuffer)||t&&N(t.buffer,ArrayBuffer)||"undefined"!=typeof SharedArrayBuffer&&(N(t,SharedArrayBuffer)||t&&N(t.buffer,SharedArrayBuffer)))return h(t,e,r);if("number"==typeof t)throw TypeError('The "value" argument must not be of type number. Received type number');let l=t.valueOf&&t.valueOf();if(null!=l&&l!==t)return s.from(l,e,r);let u=function(t){if(s.isBuffer(t)){let e=0|p(t.length),r=a(e);return 0===r.length||t.copy(r,0,0,e),r}return void 0!==t.length?"number"!=typeof t.length||function(t){return t!=t}(t.length)?a(0):f(t):"Buffer"===t.type&&Array.isArray(t.data)?f(t.data):void 0}(t);if(u)return u;if("undefined"!=typeof Symbol&&null!=Symbol.toPrimitive&&"function"==typeof t[Symbol.toPrimitive])return s.from(t[Symbol.toPrimitive]("string"),e,r);throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t)}function u(t){if("number"!=typeof t)throw TypeError('"size" argument must be of type number');if(t<0)throw RangeError('The value "'+t+'" is invalid for option "size"')}function c(t){return u(t),a(t<0?0:0|p(t))}function f(t){let e=t.length<0?0:0|p(t.length),r=a(e);for(let n=0;n<e;n+=1)r[n]=255&t[n];return r}function h(t,e,r){let n;if(e<0||t.byteLength<e)throw RangeError('"offset" is outside of buffer bounds');if(t.byteLength<e+(r||0))throw RangeError('"length" is outside of buffer bounds');return Object.setPrototypeOf(n=void 0===e&&void 0===r?new Uint8Array(t):void 0===r?new Uint8Array(t,e):new Uint8Array(t,e,r),s.prototype),n}function p(t){if(t>=0x7fffffff)throw RangeError("Attempt to allocate Buffer larger than maximum size: 0x7fffffff bytes");return 0|t}function d(t,e){if(s.isBuffer(t))return t.length;if(ArrayBuffer.isView(t)||N(t,ArrayBuffer))return t.byteLength;if("string"!=typeof t)throw TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof t);let r=t.length,n=arguments.length>2&&!0===arguments[2];if(!n&&0===r)return 0;let i=!1;for(;;)switch(e){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":return D(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return B(t).length;default:if(i)return n?-1:D(t).length;e=(""+e).toLowerCase(),i=!0}}function y(t,e,r){let i=!1;if((void 0===e||e<0)&&(e=0),e>this.length||((void 0===r||r>this.length)&&(r=this.length),r<=0||(r>>>=0)<=(e>>>=0)))return"";for(t||(t="utf8");;)switch(t){case"hex":return function(t,e,r){let n=t.length;(!e||e<0)&&(e=0),(!r||r<0||r>n)&&(r=n);let i="";for(let n=e;n<r;++n)i+=L[t[n]];return i}(this,e,r);case"utf8":case"utf-8":return b(this,e,r);case"ascii":return function(t,e,r){let n="";r=Math.min(t.length,r);for(let i=e;i<r;++i)n+=String.fromCharCode(127&t[i]);return n}(this,e,r);case"latin1":case"binary":return function(t,e,r){let n="";r=Math.min(t.length,r);for(let i=e;i<r;++i)n+=String.fromCharCode(t[i]);return n}(this,e,r);case"base64":var o,a,s;return o=this,a=e,s=r,0===a&&s===o.length?n.fromByteArray(o):n.fromByteArray(o.slice(a,s));case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return function(t,e,r){let n=t.slice(e,r),i="";for(let t=0;t<n.length-1;t+=2)i+=String.fromCharCode(n[t]+256*n[t+1]);return i}(this,e,r);default:if(i)throw TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),i=!0}}function m(t,e,r){let n=t[e];t[e]=t[r],t[r]=n}function g(t,e,r,n,i){var o;if(0===t.length)return -1;if("string"==typeof r?(n=r,r=0):r>0x7fffffff?r=0x7fffffff:r<-0x80000000&&(r=-0x80000000),(o=r*=1)!=o&&(r=i?0:t.length-1),r<0&&(r=t.length+r),r>=t.length)if(i)return -1;else r=t.length-1;else if(r<0)if(!i)return -1;else r=0;if("string"==typeof e&&(e=s.from(e,n)),s.isBuffer(e))return 0===e.length?-1:v(t,e,r,n,i);if("number"==typeof e){if(e&=255,"function"==typeof Uint8Array.prototype.indexOf)if(i)return Uint8Array.prototype.indexOf.call(t,e,r);else return Uint8Array.prototype.lastIndexOf.call(t,e,r);return v(t,[e],r,n,i)}throw TypeError("val must be string, number or Buffer")}function v(t,e,r,n,i){let o,a=1,s=t.length,l=e.length;if(void 0!==n&&("ucs2"===(n=String(n).toLowerCase())||"ucs-2"===n||"utf16le"===n||"utf-16le"===n)){if(t.length<2||e.length<2)return -1;a=2,s/=2,l/=2,r/=2}function u(t,e){return 1===a?t[e]:t.readUInt16BE(e*a)}if(i){let n=-1;for(o=r;o<s;o++)if(u(t,o)===u(e,-1===n?0:o-n)){if(-1===n&&(n=o),o-n+1===l)return n*a}else -1!==n&&(o-=o-n),n=-1}else for(r+l>s&&(r=s-l),o=r;o>=0;o--){let r=!0;for(let n=0;n<l;n++)if(u(t,o+n)!==u(e,n)){r=!1;break}if(r)return o}return -1}function b(t,e,r){r=Math.min(t.length,r);let n=[],i=e;for(;i<r;){let e=t[i],o=null,a=e>239?4:e>223?3:e>191?2:1;if(i+a<=r){let r,n,s,l;switch(a){case 1:e<128&&(o=e);break;case 2:(192&(r=t[i+1]))==128&&(l=(31&e)<<6|63&r)>127&&(o=l);break;case 3:r=t[i+1],n=t[i+2],(192&r)==128&&(192&n)==128&&(l=(15&e)<<12|(63&r)<<6|63&n)>2047&&(l<55296||l>57343)&&(o=l);break;case 4:r=t[i+1],n=t[i+2],s=t[i+3],(192&r)==128&&(192&n)==128&&(192&s)==128&&(l=(15&e)<<18|(63&r)<<12|(63&n)<<6|63&s)>65535&&l<1114112&&(o=l)}}null===o?(o=65533,a=1):o>65535&&(o-=65536,n.push(o>>>10&1023|55296),o=56320|1023&o),n.push(o),i+=a}var o=n;let a=o.length;if(a<=4096)return String.fromCharCode.apply(String,o);let s="",l=0;for(;l<a;)s+=String.fromCharCode.apply(String,o.slice(l,l+=4096));return s}function x(t,e,r){if(t%1!=0||t<0)throw RangeError("offset is not uint");if(t+e>r)throw RangeError("Trying to access beyond buffer length")}function w(t,e,r,n,i,o){if(!s.isBuffer(t))throw TypeError('"buffer" argument must be a Buffer instance');if(e>i||e<o)throw RangeError('"value" argument is out of bounds');if(r+n>t.length)throw RangeError("Index out of range")}function O(t,e,r,n,i){k(e,n,i,t,r,7);let o=Number(e&BigInt(0xffffffff));t[r++]=o,o>>=8,t[r++]=o,o>>=8,t[r++]=o,o>>=8,t[r++]=o;let a=Number(e>>BigInt(32)&BigInt(0xffffffff));return t[r++]=a,a>>=8,t[r++]=a,a>>=8,t[r++]=a,a>>=8,t[r++]=a,r}function S(t,e,r,n,i){k(e,n,i,t,r,7);let o=Number(e&BigInt(0xffffffff));t[r+7]=o,o>>=8,t[r+6]=o,o>>=8,t[r+5]=o,o>>=8,t[r+4]=o;let a=Number(e>>BigInt(32)&BigInt(0xffffffff));return t[r+3]=a,a>>=8,t[r+2]=a,a>>=8,t[r+1]=a,a>>=8,t[r]=a,r+8}function A(t,e,r,n,i,o){if(r+n>t.length||r<0)throw RangeError("Index out of range")}function E(t,e,r,n,o){return e*=1,r>>>=0,o||A(t,e,r,4,34028234663852886e22,-34028234663852886e22),i.write(t,e,r,n,23,4),r+4}function j(t,e,r,n,o){return e*=1,r>>>=0,o||A(t,e,r,8,17976931348623157e292,-17976931348623157e292),i.write(t,e,r,n,52,8),r+8}e.hp=s,e.IS=50,s.TYPED_ARRAY_SUPPORT=function(){try{let t=new Uint8Array(1),e={foo:function(){return 42}};return Object.setPrototypeOf(e,Uint8Array.prototype),Object.setPrototypeOf(t,e),42===t.foo()}catch(t){return!1}}(),s.TYPED_ARRAY_SUPPORT||"undefined"==typeof console||"function"!=typeof console.error||console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."),Object.defineProperty(s.prototype,"parent",{enumerable:!0,get:function(){if(s.isBuffer(this))return this.buffer}}),Object.defineProperty(s.prototype,"offset",{enumerable:!0,get:function(){if(s.isBuffer(this))return this.byteOffset}}),s.poolSize=8192,s.from=function(t,e,r){return l(t,e,r)},Object.setPrototypeOf(s.prototype,Uint8Array.prototype),Object.setPrototypeOf(s,Uint8Array),s.alloc=function(t,e,r){return(u(t),t<=0)?a(t):void 0!==e?"string"==typeof r?a(t).fill(e,r):a(t).fill(e):a(t)},s.allocUnsafe=function(t){return c(t)},s.allocUnsafeSlow=function(t){return c(t)},s.isBuffer=function(t){return null!=t&&!0===t._isBuffer&&t!==s.prototype},s.compare=function(t,e){if(N(t,Uint8Array)&&(t=s.from(t,t.offset,t.byteLength)),N(e,Uint8Array)&&(e=s.from(e,e.offset,e.byteLength)),!s.isBuffer(t)||!s.isBuffer(e))throw TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(t===e)return 0;let r=t.length,n=e.length;for(let i=0,o=Math.min(r,n);i<o;++i)if(t[i]!==e[i]){r=t[i],n=e[i];break}return r<n?-1:+(n<r)},s.isEncoding=function(t){switch(String(t).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},s.concat=function(t,e){let r;if(!Array.isArray(t))throw TypeError('"list" argument must be an Array of Buffers');if(0===t.length)return s.alloc(0);if(void 0===e)for(r=0,e=0;r<t.length;++r)e+=t[r].length;let n=s.allocUnsafe(e),i=0;for(r=0;r<t.length;++r){let e=t[r];if(N(e,Uint8Array))i+e.length>n.length?(s.isBuffer(e)||(e=s.from(e)),e.copy(n,i)):Uint8Array.prototype.set.call(n,e,i);else if(s.isBuffer(e))e.copy(n,i);else throw TypeError('"list" argument must be an Array of Buffers');i+=e.length}return n},s.byteLength=d,s.prototype._isBuffer=!0,s.prototype.swap16=function(){let t=this.length;if(t%2!=0)throw RangeError("Buffer size must be a multiple of 16-bits");for(let e=0;e<t;e+=2)m(this,e,e+1);return this},s.prototype.swap32=function(){let t=this.length;if(t%4!=0)throw RangeError("Buffer size must be a multiple of 32-bits");for(let e=0;e<t;e+=4)m(this,e,e+3),m(this,e+1,e+2);return this},s.prototype.swap64=function(){let t=this.length;if(t%8!=0)throw RangeError("Buffer size must be a multiple of 64-bits");for(let e=0;e<t;e+=8)m(this,e,e+7),m(this,e+1,e+6),m(this,e+2,e+5),m(this,e+3,e+4);return this},s.prototype.toString=function(){let t=this.length;return 0===t?"":0==arguments.length?b(this,0,t):y.apply(this,arguments)},s.prototype.toLocaleString=s.prototype.toString,s.prototype.equals=function(t){if(!s.isBuffer(t))throw TypeError("Argument must be a Buffer");return this===t||0===s.compare(this,t)},s.prototype.inspect=function(){let t="",r=e.IS;return t=this.toString("hex",0,r).replace(/(.{2})/g,"$1 ").trim(),this.length>r&&(t+=" ... "),"<Buffer "+t+">"},o&&(s.prototype[o]=s.prototype.inspect),s.prototype.compare=function(t,e,r,n,i){if(N(t,Uint8Array)&&(t=s.from(t,t.offset,t.byteLength)),!s.isBuffer(t))throw TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof t);if(void 0===e&&(e=0),void 0===r&&(r=t?t.length:0),void 0===n&&(n=0),void 0===i&&(i=this.length),e<0||r>t.length||n<0||i>this.length)throw RangeError("out of range index");if(n>=i&&e>=r)return 0;if(n>=i)return -1;if(e>=r)return 1;if(e>>>=0,r>>>=0,n>>>=0,i>>>=0,this===t)return 0;let o=i-n,a=r-e,l=Math.min(o,a),u=this.slice(n,i),c=t.slice(e,r);for(let t=0;t<l;++t)if(u[t]!==c[t]){o=u[t],a=c[t];break}return o<a?-1:+(a<o)},s.prototype.includes=function(t,e,r){return -1!==this.indexOf(t,e,r)},s.prototype.indexOf=function(t,e,r){return g(this,t,e,r,!0)},s.prototype.lastIndexOf=function(t,e,r){return g(this,t,e,r,!1)},s.prototype.write=function(t,e,r,n){var i,o,a,s,l,u,c,f;if(void 0===e)n="utf8",r=this.length,e=0;else if(void 0===r&&"string"==typeof e)n=e,r=this.length,e=0;else if(isFinite(e))e>>>=0,isFinite(r)?(r>>>=0,void 0===n&&(n="utf8")):(n=r,r=void 0);else throw Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");let h=this.length-e;if((void 0===r||r>h)&&(r=h),t.length>0&&(r<0||e<0)||e>this.length)throw RangeError("Attempt to write outside buffer bounds");n||(n="utf8");let p=!1;for(;;)switch(n){case"hex":return function(t,e,r,n){let i;r=Number(r)||0;let o=t.length-r;n?(n=Number(n))>o&&(n=o):n=o;let a=e.length;for(n>a/2&&(n=a/2),i=0;i<n;++i){var s;let n=parseInt(e.substr(2*i,2),16);if((s=n)!=s)break;t[r+i]=n}return i}(this,t,e,r);case"utf8":case"utf-8":return i=e,o=r,R(D(t,this.length-i),this,i,o);case"ascii":case"latin1":case"binary":return a=e,s=r,R(function(t){let e=[];for(let r=0;r<t.length;++r)e.push(255&t.charCodeAt(r));return e}(t),this,a,s);case"base64":return l=e,u=r,R(B(t),this,l,u);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return c=e,f=r,R(function(t,e){let r,n,i=[];for(let o=0;o<t.length&&!((e-=2)<0);++o)n=(r=t.charCodeAt(o))>>8,i.push(r%256),i.push(n);return i}(t,this.length-c),this,c,f);default:if(p)throw TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),p=!0}},s.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}},s.prototype.slice=function(t,e){let r=this.length;t=~~t,e=void 0===e?r:~~e,t<0?(t+=r)<0&&(t=0):t>r&&(t=r),e<0?(e+=r)<0&&(e=0):e>r&&(e=r),e<t&&(e=t);let n=this.subarray(t,e);return Object.setPrototypeOf(n,s.prototype),n},s.prototype.readUintLE=s.prototype.readUIntLE=function(t,e,r){t>>>=0,e>>>=0,r||x(t,e,this.length);let n=this[t],i=1,o=0;for(;++o<e&&(i*=256);)n+=this[t+o]*i;return n},s.prototype.readUintBE=s.prototype.readUIntBE=function(t,e,r){t>>>=0,e>>>=0,r||x(t,e,this.length);let n=this[t+--e],i=1;for(;e>0&&(i*=256);)n+=this[t+--e]*i;return n},s.prototype.readUint8=s.prototype.readUInt8=function(t,e){return t>>>=0,e||x(t,1,this.length),this[t]},s.prototype.readUint16LE=s.prototype.readUInt16LE=function(t,e){return t>>>=0,e||x(t,2,this.length),this[t]|this[t+1]<<8},s.prototype.readUint16BE=s.prototype.readUInt16BE=function(t,e){return t>>>=0,e||x(t,2,this.length),this[t]<<8|this[t+1]},s.prototype.readUint32LE=s.prototype.readUInt32LE=function(t,e){return t>>>=0,e||x(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+0x1000000*this[t+3]},s.prototype.readUint32BE=s.prototype.readUInt32BE=function(t,e){return t>>>=0,e||x(t,4,this.length),0x1000000*this[t]+(this[t+1]<<16|this[t+2]<<8|this[t+3])},s.prototype.readBigUInt64LE=U(function(t){C(t>>>=0,"offset");let e=this[t],r=this[t+7];(void 0===e||void 0===r)&&I(t,this.length-8);let n=e+256*this[++t]+65536*this[++t]+0x1000000*this[++t],i=this[++t]+256*this[++t]+65536*this[++t]+0x1000000*r;return BigInt(n)+(BigInt(i)<<BigInt(32))}),s.prototype.readBigUInt64BE=U(function(t){C(t>>>=0,"offset");let e=this[t],r=this[t+7];(void 0===e||void 0===r)&&I(t,this.length-8);let n=0x1000000*e+65536*this[++t]+256*this[++t]+this[++t],i=0x1000000*this[++t]+65536*this[++t]+256*this[++t]+r;return(BigInt(n)<<BigInt(32))+BigInt(i)}),s.prototype.readIntLE=function(t,e,r){t>>>=0,e>>>=0,r||x(t,e,this.length);let n=this[t],i=1,o=0;for(;++o<e&&(i*=256);)n+=this[t+o]*i;return n>=(i*=128)&&(n-=Math.pow(2,8*e)),n},s.prototype.readIntBE=function(t,e,r){t>>>=0,e>>>=0,r||x(t,e,this.length);let n=e,i=1,o=this[t+--n];for(;n>0&&(i*=256);)o+=this[t+--n]*i;return o>=(i*=128)&&(o-=Math.pow(2,8*e)),o},s.prototype.readInt8=function(t,e){return(t>>>=0,e||x(t,1,this.length),128&this[t])?-((255-this[t]+1)*1):this[t]},s.prototype.readInt16LE=function(t,e){t>>>=0,e||x(t,2,this.length);let r=this[t]|this[t+1]<<8;return 32768&r?0xffff0000|r:r},s.prototype.readInt16BE=function(t,e){t>>>=0,e||x(t,2,this.length);let r=this[t+1]|this[t]<<8;return 32768&r?0xffff0000|r:r},s.prototype.readInt32LE=function(t,e){return t>>>=0,e||x(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24},s.prototype.readInt32BE=function(t,e){return t>>>=0,e||x(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]},s.prototype.readBigInt64LE=U(function(t){C(t>>>=0,"offset");let e=this[t],r=this[t+7];return(void 0===e||void 0===r)&&I(t,this.length-8),(BigInt(this[t+4]+256*this[t+5]+65536*this[t+6]+(r<<24))<<BigInt(32))+BigInt(e+256*this[++t]+65536*this[++t]+0x1000000*this[++t])}),s.prototype.readBigInt64BE=U(function(t){C(t>>>=0,"offset");let e=this[t],r=this[t+7];return(void 0===e||void 0===r)&&I(t,this.length-8),(BigInt((e<<24)+65536*this[++t]+256*this[++t]+this[++t])<<BigInt(32))+BigInt(0x1000000*this[++t]+65536*this[++t]+256*this[++t]+r)}),s.prototype.readFloatLE=function(t,e){return t>>>=0,e||x(t,4,this.length),i.read(this,t,!0,23,4)},s.prototype.readFloatBE=function(t,e){return t>>>=0,e||x(t,4,this.length),i.read(this,t,!1,23,4)},s.prototype.readDoubleLE=function(t,e){return t>>>=0,e||x(t,8,this.length),i.read(this,t,!0,52,8)},s.prototype.readDoubleBE=function(t,e){return t>>>=0,e||x(t,8,this.length),i.read(this,t,!1,52,8)},s.prototype.writeUintLE=s.prototype.writeUIntLE=function(t,e,r,n){if(t*=1,e>>>=0,r>>>=0,!n){let n=Math.pow(2,8*r)-1;w(this,t,e,r,n,0)}let i=1,o=0;for(this[e]=255&t;++o<r&&(i*=256);)this[e+o]=t/i&255;return e+r},s.prototype.writeUintBE=s.prototype.writeUIntBE=function(t,e,r,n){if(t*=1,e>>>=0,r>>>=0,!n){let n=Math.pow(2,8*r)-1;w(this,t,e,r,n,0)}let i=r-1,o=1;for(this[e+i]=255&t;--i>=0&&(o*=256);)this[e+i]=t/o&255;return e+r},s.prototype.writeUint8=s.prototype.writeUInt8=function(t,e,r){return t*=1,e>>>=0,r||w(this,t,e,1,255,0),this[e]=255&t,e+1},s.prototype.writeUint16LE=s.prototype.writeUInt16LE=function(t,e,r){return t*=1,e>>>=0,r||w(this,t,e,2,65535,0),this[e]=255&t,this[e+1]=t>>>8,e+2},s.prototype.writeUint16BE=s.prototype.writeUInt16BE=function(t,e,r){return t*=1,e>>>=0,r||w(this,t,e,2,65535,0),this[e]=t>>>8,this[e+1]=255&t,e+2},s.prototype.writeUint32LE=s.prototype.writeUInt32LE=function(t,e,r){return t*=1,e>>>=0,r||w(this,t,e,4,0xffffffff,0),this[e+3]=t>>>24,this[e+2]=t>>>16,this[e+1]=t>>>8,this[e]=255&t,e+4},s.prototype.writeUint32BE=s.prototype.writeUInt32BE=function(t,e,r){return t*=1,e>>>=0,r||w(this,t,e,4,0xffffffff,0),this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t,e+4},s.prototype.writeBigUInt64LE=U(function(t,e=0){return O(this,t,e,BigInt(0),BigInt("0xffffffffffffffff"))}),s.prototype.writeBigUInt64BE=U(function(t,e=0){return S(this,t,e,BigInt(0),BigInt("0xffffffffffffffff"))}),s.prototype.writeIntLE=function(t,e,r,n){if(t*=1,e>>>=0,!n){let n=Math.pow(2,8*r-1);w(this,t,e,r,n-1,-n)}let i=0,o=1,a=0;for(this[e]=255&t;++i<r&&(o*=256);)t<0&&0===a&&0!==this[e+i-1]&&(a=1),this[e+i]=(t/o|0)-a&255;return e+r},s.prototype.writeIntBE=function(t,e,r,n){if(t*=1,e>>>=0,!n){let n=Math.pow(2,8*r-1);w(this,t,e,r,n-1,-n)}let i=r-1,o=1,a=0;for(this[e+i]=255&t;--i>=0&&(o*=256);)t<0&&0===a&&0!==this[e+i+1]&&(a=1),this[e+i]=(t/o|0)-a&255;return e+r},s.prototype.writeInt8=function(t,e,r){return t*=1,e>>>=0,r||w(this,t,e,1,127,-128),t<0&&(t=255+t+1),this[e]=255&t,e+1},s.prototype.writeInt16LE=function(t,e,r){return t*=1,e>>>=0,r||w(this,t,e,2,32767,-32768),this[e]=255&t,this[e+1]=t>>>8,e+2},s.prototype.writeInt16BE=function(t,e,r){return t*=1,e>>>=0,r||w(this,t,e,2,32767,-32768),this[e]=t>>>8,this[e+1]=255&t,e+2},s.prototype.writeInt32LE=function(t,e,r){return t*=1,e>>>=0,r||w(this,t,e,4,0x7fffffff,-0x80000000),this[e]=255&t,this[e+1]=t>>>8,this[e+2]=t>>>16,this[e+3]=t>>>24,e+4},s.prototype.writeInt32BE=function(t,e,r){return t*=1,e>>>=0,r||w(this,t,e,4,0x7fffffff,-0x80000000),t<0&&(t=0xffffffff+t+1),this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t,e+4},s.prototype.writeBigInt64LE=U(function(t,e=0){return O(this,t,e,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),s.prototype.writeBigInt64BE=U(function(t,e=0){return S(this,t,e,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),s.prototype.writeFloatLE=function(t,e,r){return E(this,t,e,!0,r)},s.prototype.writeFloatBE=function(t,e,r){return E(this,t,e,!1,r)},s.prototype.writeDoubleLE=function(t,e,r){return j(this,t,e,!0,r)},s.prototype.writeDoubleBE=function(t,e,r){return j(this,t,e,!1,r)},s.prototype.copy=function(t,e,r,n){if(!s.isBuffer(t))throw TypeError("argument should be a Buffer");if(r||(r=0),n||0===n||(n=this.length),e>=t.length&&(e=t.length),e||(e=0),n>0&&n<r&&(n=r),n===r||0===t.length||0===this.length)return 0;if(e<0)throw RangeError("targetStart out of bounds");if(r<0||r>=this.length)throw RangeError("Index out of range");if(n<0)throw RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),t.length-e<n-r&&(n=t.length-e+r);let i=n-r;return this===t&&"function"==typeof Uint8Array.prototype.copyWithin?this.copyWithin(e,r,n):Uint8Array.prototype.set.call(t,this.subarray(r,n),e),i},s.prototype.fill=function(t,e,r,n){let i;if("string"==typeof t){if("string"==typeof e?(n=e,e=0,r=this.length):"string"==typeof r&&(n=r,r=this.length),void 0!==n&&"string"!=typeof n)throw TypeError("encoding must be a string");if("string"==typeof n&&!s.isEncoding(n))throw TypeError("Unknown encoding: "+n);if(1===t.length){let e=t.charCodeAt(0);("utf8"===n&&e<128||"latin1"===n)&&(t=e)}}else"number"==typeof t?t&=255:"boolean"==typeof t&&(t=Number(t));if(e<0||this.length<e||this.length<r)throw RangeError("Out of range index");if(r<=e)return this;if(e>>>=0,r=void 0===r?this.length:r>>>0,t||(t=0),"number"==typeof t)for(i=e;i<r;++i)this[i]=t;else{let o=s.isBuffer(t)?t:s.from(t,n),a=o.length;
1if(0===a)throw TypeError('The value "'+t+'" is invalid for argument "value"');for(i=0;i<r-e;++i)this[i+e]=o[i%a]}return this};let P={};function T(t,e,r){P[t]=class extends r{constructor(){super(),Object.defineProperty(this,"message",{value:e.apply(this,arguments),writable:!0,configurable:!0}),this.name=`${this.name} [${t}]`,this.stack,delete this.name}get code(){return t}set code(t){Object.defineProperty(this,"code",{configurable:!0,enumerable:!0,value:t,writable:!0})}toString(){return`${this.name} [${t}]: ${this.message}`}}}function M(t){let e="",r=t.length,n=+("-"===t[0]);for(;r>=n+4;r-=3)e=`_${t.slice(r-3,r)}${e}`;return`${t.slice(0,r)}${e}`}function k(t,e,r,n,i,o){if(t>r||t<e){let n,i="bigint"==typeof e?"n":"";throw n=o>3?0===e||e===BigInt(0)?`>= 0${i} and < 2${i} ** ${(o+1)*8}${i}`:`>= -(2${i} ** ${(o+1)*8-1}${i}) and < 2 ** ${(o+1)*8-1}${i}`:`>= ${e}${i} and <= ${r}${i}`,new P.ERR_OUT_OF_RANGE("value",n,t)}C(i,"offset"),(void 0===n[i]||void 0===n[i+o])&&I(i,n.length-(o+1))}function C(t,e){if("number"!=typeof t)throw new P.ERR_INVALID_ARG_TYPE(e,"number",t)}function I(t,e,r){if(Math.floor(t)!==t)throw C(t,r),new P.ERR_OUT_OF_RANGE(r||"offset","an integer",t);if(e<0)throw new P.ERR_BUFFER_OUT_OF_BOUNDS;throw new P.ERR_OUT_OF_RANGE(r||"offset",`>= ${+!!r} and <= ${e}`,t)}T("ERR_BUFFER_OUT_OF_BOUNDS",function(t){return t?`${t} is outside of buffer bounds`:"Attempt to access memory outside buffer bounds"},RangeError),T("ERR_INVALID_ARG_TYPE",function(t,e){return`The "${t}" argument must be of type number. Received type ${typeof e}`},TypeError),T("ERR_OUT_OF_RANGE",function(t,e,r){let n=`The value of "${t}" is out of range.`,i=r;return Number.isInteger(r)&&Math.abs(r)>0x100000000?i=M(String(r)):"bigint"==typeof r&&(i=String(r),(r>BigInt(2)**BigInt(32)||r<-(BigInt(2)**BigInt(32)))&&(i=M(i)),i+="n"),n+=` It must be ${e}. Received ${i}`},RangeError);let _=/[^+/0-9A-Za-z-_]/g;function D(t,e){let r;e=e||1/0;let n=t.length,i=null,o=[];for(let a=0;a<n;++a){if((r=t.charCodeAt(a))>55295&&r<57344){if(!i){if(r>56319||a+1===n){(e-=3)>-1&&o.push(239,191,189);continue}i=r;continue}if(r<56320){(e-=3)>-1&&o.push(239,191,189),i=r;continue}r=(i-55296<<10|r-56320)+65536}else i&&(e-=3)>-1&&o.push(239,191,189);if(i=null,r<128){if((e-=1)<0)break;o.push(r)}else if(r<2048){if((e-=2)<0)break;o.push(r>>6|192,63&r|128)}else if(r<65536){if((e-=3)<0)break;o.push(r>>12|224,r>>6&63|128,63&r|128)}else if(r<1114112){if((e-=4)<0)break;o.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}else throw Error("Invalid code point")}return o}function B(t){return n.toByteArray(function(t){if((t=(t=t.split("=")[0]).trim().replace(_,"")).length<2)return"";for(;t.length%4!=0;)t+="=";return t}(t))}function R(t,e,r,n){let i;for(i=0;i<n&&!(i+r>=e.length)&&!(i>=t.length);++i)e[i+r]=t[i];return i}function N(t,e){return t instanceof e||null!=t&&null!=t.constructor&&null!=t.constructor.name&&t.constructor.name===e.name}let L=function(){let t="0123456789abcdef",e=Array(256);for(let r=0;r<16;++r){let n=16*r;for(let i=0;i<16;++i)e[n+i]=t[r]+t[i]}return e}();function U(t){return"undefined"==typeof BigInt?F:t}function F(){throw Error("BigInt not supported")}},44158:t=>{t.exports=function(){return!1}},44482:(t,e,r)=>{var n=r(98233),i=r(73726),o=r(48611),a=Object.prototype,s=Function.prototype.toString,l=a.hasOwnProperty,u=s.call(Object);t.exports=function(t){if(!o(t)||"[object Object]"!=n(t))return!1;var e=i(t);if(null===e)return!0;var r=l.call(e,"constructor")&&e.constructor;return"function"==typeof r&&r instanceof r&&s.call(r)==u}},44538:(t,e,r)=>{"use strict";r.d(e,{J:()=>p,M:()=>y});var n=r(12115),i=r(35796),o=r(9557),a=r(70788);function s(t){return(s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function l(){return(l=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}function u(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function c(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function f(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};
1e%2?c(Object(r),!0).forEach(function(e){var n,i,o;n=t,i=e,o=r[e],(i=function(t){var e=function(t,e){if("object"!=s(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=s(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==s(e)?e:e+""}(i))in n?Object.defineProperty(n,i,{value:o,enumerable:!0,configurable:!0,writable:!0}):n[i]=o}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):c(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}var h=function(t,e,r,n,i){var o,a=Math.min(Math.abs(r)/2,Math.abs(n)/2),s=n>=0?1:-1,l=r>=0?1:-1,u=+(n>=0&&r>=0||n<0&&r<0);if(a>0&&i instanceof Array){for(var c=[0,0,0,0],f=0;f<4;f++)c[f]=i[f]>a?a:i[f];o="M".concat(t,",").concat(e+s*c[0]),c[0]>0&&(o+="A ".concat(c[0],",").concat(c[0],",0,0,").concat(u,",").concat(t+l*c[0],",").concat(e)),o+="L ".concat(t+r-l*c[1],",").concat(e),c[1]>0&&(o+="A ".concat(c[1],",").concat(c[1],",0,0,").concat(u,",\n        ").concat(t+r,",").concat(e+s*c[1])),o+="L ".concat(t+r,",").concat(e+n-s*c[2]),c[2]>0&&(o+="A ".concat(c[2],",").concat(c[2],",0,0,").concat(u,",\n        ").concat(t+r-l*c[2],",").concat(e+n)),o+="L ".concat(t+l*c[3],",").concat(e+n),c[3]>0&&(o+="A ".concat(c[3],",").concat(c[3],",0,0,").concat(u,",\n        ").concat(t,",").concat(e+n-s*c[3])),o+="Z"}else if(a>0&&i===+i&&i>0){var h=Math.min(a,i);o="M ".concat(t,",").concat(e+s*h,"\n            A ").concat(h,",").concat(h,",0,0,").concat(u,",").concat(t+l*h,",").concat(e,"\n            L ").concat(t+r-l*h,",").concat(e,"\n            A ").concat(h,",").concat(h,",0,0,").concat(u,",").concat(t+r,",").concat(e+s*h,"\n            L ").concat(t+r,",").concat(e+n-s*h,"\n            A ").concat(h,",").concat(h,",0,0,").concat(u,",").concat(t+r-l*h,",").concat(e+n,"\n            L ").concat(t+l*h,",").concat(e+n,"\n            A ").concat(h,",").concat(h,",0,0,").concat(u,",").concat(t,",").concat(e+n-s*h," Z")}else o="M ".concat(t,",").concat(e," h ").concat(r," v ").concat(n," h ").concat(-r," Z");return o},p=function(t,e){if(!t||!e)return!1;var r=t.x,n=t.y,i=e.x,o=e.y,a=e.width,s=e.height;if(Math.abs(a)>0&&Math.abs(s)>0){var l=Math.min(i,i+a),u=Math.max(i,i+a),c=Math.min(o,o+s),f=Math.max(o,o+s);return r>=l&&r<=u&&n>=c&&n<=f}return!1},d={x:0,y:0,width:0,height:0,radius:0,isAnimationActive:!1,isUpdateAnimationActive:!1,animationBegin:0,animationDuration:1500,animationEasing:"ease"},y=function(t){var e,r=f(f({},d),t),s=(0,n.useRef)(),c=function(t){if(Array.isArray(t))return t}(e=(0,n.useState)(-1))||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,i,o,a,s=[],l=!0,u=!1;try{o=(r=r.call(t)).next,!1;for(;!(l=(n=o.call(r)).done)&&(s.push(n.value),s.length!==e);l=!0);}catch(t){u=!0,i=t}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(u)throw i}}return s}}(e,2)||function(t,e){if(t){if("string"==typeof t)return u(t,2);var r=Object.prototype.toString.call(t).slice(8,-1);if("Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return u(t,e)}}(e,2)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),p=c[0],y=c[1];(0,n.useEffect)(function(){if(s.current&&s.current.getTotalLength)try{var t=s.current.getTotalLength();t&&y(t)}catch(t){}},[]);var m=r.x,g=r.y,v=r.width,b=r.height,x=r.radius,w=r.className,O=r.animationEasing,S=r.animationDuration,A=r.animationBegin,E=r.isAnimationActive,j=r.isUpdateAnimationActive;if(m!==+m||g!==+g||v!==+v||b!==+b||0===v||0===b)return null;var P=(0,i.A)("recharts-rectangle",w);return j?n.createElement(o.Ay,{canBegin:p>0,from:{width:v,height:b,x:m,y:g},to:{width:v,height:b,x:m,y:g},duration:S,animationEasing:O,isActive:j},function(t){var e=t.width,i=t.height,u=t.x,c=t.y;return n.createElement(o.Ay,{canBegin:p>0,from:"0px ".concat(-1===p?1:p,"px"),to:"".concat(p,"px 0px"),attributeName:"strokeDasharray",begin:A,duration:S,isActive:E,easing:O}
1,n.createElement("path",l({},(0,a.J9)(r,!0),{className:P,d:h(u,c,e,i,x),ref:s})))}):n.createElement("path",l({},(0,a.J9)(r,!0),{className:P,d:h(m,g,v,b,x)}))}},45170:(t,e,r)=>{var n=r(54360);t.exports=function(t){var e=this.__data__,r=n(e,t);return r<0?void 0:e[r][1]}},45964:(t,e,r)=>{var n=r(67460),i=r(76685),o=r(36815),a=Math.max,s=Math.min;t.exports=function(t,e,r){var l,u,c,f,h,p,d=0,y=!1,m=!1,g=!0;if("function"!=typeof t)throw TypeError("Expected a function");function v(e){var r=l,n=u;return l=u=void 0,d=e,f=t.apply(n,r)}function b(t){var r=t-p,n=t-d;return void 0===p||r>=e||r<0||m&&n>=c}function x(){var t,r,n,o=i();if(b(o))return w(o);h=setTimeout(x,(t=o-p,r=o-d,n=e-t,m?s(n,c-r):n))}function w(t){return(h=void 0,g&&l)?v(t):(l=u=void 0,f)}function O(){var t,r=i(),n=b(r);if(l=arguments,u=this,p=r,n){if(void 0===h)return d=t=p,h=setTimeout(x,e),y?v(t):f;if(m)return clearTimeout(h),h=setTimeout(x,e),v(p)}return void 0===h&&(h=setTimeout(x,e)),f}return e=o(e)||0,n(r)&&(y=!!r.leading,c=(m="maxWait"in r)?a(o(r.maxWait)||0,e):c,g="trailing"in r?!!r.trailing:g),O.cancel=function(){void 0!==h&&clearTimeout(h),d=0,l=p=u=h=void 0},O.flush=function(){return void 0===h?f:w(i())},O}},46235:(t,e,r)=>{"use strict";r.d(e,{Dk:()=>j,KO:()=>T,MF:()=>S,Sx:()=>E,Wp:()=>A,j6:()=>v,om:()=>g,xZ:()=>b});var n=r(56391),i=r(10796),o=r(49887),a=r(46984);class s{constructor(t){this.container=t}getPlatformInfoString(){return this.container.getProviders().map(t=>{if(!function(t){let e=t.getComponent();return(null==e?void 0:e.type)==="VERSION"}(t))return null;{let e=t.getImmediate();return`${e.library}/${e.version}`}}).filter(t=>t).join(" ")}}let l="@firebase/app",u="0.12.1",c=new i.Vy("@firebase/app"),f="[DEFAULT]",h={[l]:"fire-core","@firebase/app-compat":"fire-core-compat","@firebase/analytics":"fire-analytics","@firebase/analytics-compat":"fire-analytics-compat","@firebase/app-check":"fire-app-check","@firebase/app-check-compat":"fire-app-check-compat","@firebase/auth":"fire-auth","@firebase/auth-compat":"fire-auth-compat","@firebase/database":"fire-rtdb","@firebase/data-connect":"fire-data-connect","@firebase/database-compat":"fire-rtdb-compat","@firebase/functions":"fire-fn","@firebase/functions-compat":"fire-fn-compat","@firebase/installations":"fire-iid","@firebase/installations-compat":"fire-iid-compat","@firebase/messaging":"fire-fcm","@firebase/messaging-compat":"fire-fcm-compat","@firebase/performance":"fire-perf","@firebase/performance-compat":"fire-perf-compat","@firebase/remote-config":"fire-rc","@firebase/remote-config-compat":"fire-rc-compat","@firebase/storage":"fire-gcs","@firebase/storage-compat":"fire-gcs-compat","@firebase/firestore":"fire-fst","@firebase/firestore-compat":"fire-fst-compat","@firebase/vertexai":"fire-vertex","fire-js":"fire-js",firebase:"fire-js-all"},p=new Map,d=new Map,y=new Map;function m(t,e){try{t.container.addComponent(e)}catch(r){c.debug(`Component ${e.name} failed to register with FirebaseApp ${t.name}`,r)}}function g(t){let e=t.name;if(y.has(e))return c.debug(`There were multiple attempts to register component ${e}.`),!1;for(let r of(y.set(e,t),p.values()))m(r,t);for(let e of d.values())m(e,t);return!0}function v(t,e){let r=t.container.getProvider("heartbeat").getImmediate({optional:!0});return r&&r.triggerHeartbeat(),t.container.getProvider(e)}function b(t){return null!=t&&void 0!==t.settings}let x=new o.FA("app","Firebase",{"no-app":"No Firebase App '{$appName}' has been created - call initializeApp() first","bad-app-name":"Illegal App name: '{$appName}'","duplicate-app":"Firebase App named '{$appName}' already exists with different options or config","app-deleted":"Firebase App named '{$appName}' already deleted","server-app-deleted":"Firebase Server App has been deleted","no-options":"Need to provide options, when not being deployed to hosting via source.","invalid-app-argument":"firebase.{$appName}() takes either no argument or a Firebase App instance.","invali
1d-log-argument":"First argument to `onLog` must be null or a function.","idb-open":"Error thrown when opening IndexedDB. Original error: {$originalErrorMessage}.","idb-get":"Error thrown when reading from IndexedDB. Original error: {$originalErrorMessage}.","idb-set":"Error thrown when writing to IndexedDB. Original error: {$originalErrorMessage}.","idb-delete":"Error thrown when deleting from IndexedDB. Original error: {$originalErrorMessage}.","finalization-registry-not-supported":"FirebaseServerApp deleteOnDeref field defined but the JS runtime does not support FinalizationRegistry.","invalid-server-app-environment":"FirebaseServerApp is not for use in browser environments."});class w{constructor(t,e,r){this._isDeleted=!1,this._options=Object.assign({},t),this._config=Object.assign({},e),this._name=e.name,this._automaticDataCollectionEnabled=e.automaticDataCollectionEnabled,this._container=r,this.container.addComponent(new n.uA("app",()=>this,"PUBLIC"))}get automaticDataCollectionEnabled(){return this.checkDestroyed(),this._automaticDataCollectionEnabled}set automaticDataCollectionEnabled(t){this.checkDestroyed(),this._automaticDataCollectionEnabled=t}get name(){return this.checkDestroyed(),this._name}get options(){return this.checkDestroyed(),this._options}get config(){return this.checkDestroyed(),this._config}get container(){return this._container}get isDeleted(){return this._isDeleted}set isDeleted(t){this._isDeleted=t}checkDestroyed(){if(this.isDeleted)throw x.create("app-deleted",{appName:this._name})}}function O(t,e){let r=(0,o.u)(t.split(".")[1]);if(null===r)return void console.error(`FirebaseServerApp ${e} is invalid: second part could not be parsed.`);if(void 0===JSON.parse(r).exp)return void console.error(`FirebaseServerApp ${e} is invalid: expiration claim could not be parsed`);let n=1e3*JSON.parse(r).exp;n-new Date().getTime()<=0&&console.error(`FirebaseServerApp ${e} is invalid: the token has expired.`)}let S="11.7.1";function A(t,e={}){let r=t;"object"!=typeof e&&(e={name:e});let i=Object.assign({name:f,automaticDataCollectionEnabled:!1},e),a=i.name;if("string"!=typeof a||!a)throw x.create("bad-app-name",{appName:String(a)});if(r||(r=(0,o.T9)()),!r)throw x.create("no-options");let s=p.get(a);if(s)if((0,o.bD)(r,s.options)&&(0,o.bD)(i,s.config))return s;else throw x.create("duplicate-app",{appName:a});let l=new n.h1(a);for(let t of y.values())l.addComponent(t);let u=new w(r,i,l);return p.set(a,u),u}function E(t=f){let e=p.get(t);if(!e&&t===f&&(0,o.T9)())return A();if(!e)throw x.create("no-app",{appName:t});return e}function j(){return Array.from(p.values())}async function P(t){let e=!1,r=t.name;p.has(r)?(e=!0,p.delete(r)):d.has(r)&&0>=t.decRefCount()&&(d.delete(r),e=!0),e&&(await Promise.all(t.container.getProviders().map(t=>t.delete())),t.isDeleted=!0)}function T(t,e,r){var i;let o=null!=(i=h[t])?i:t;r&&(o+=`-${r}`);let a=o.match(/\s|\//),s=e.match(/\s|\//);if(a||s){let t=[`Unable to register library "${o}" with version "${e}":`];a&&t.push(`library name "${o}" contains illegal characters (whitespace or "/")`),a&&s&&t.push("and"),s&&t.push(`version name "${e}" contains illegal characters (whitespace or "/")`),c.warn(t.join(" "));return}g(new n.uA(`${o}-version`,()=>({library:o,version:e}),"VERSION"))}let M="firebase-heartbeat-store",k=null;function C(){return k||(k=(0,a.P2)("firebase-heartbeat-database",1,{upgrade:(t,e)=>{if(0===e)try{t.createObjectStore(M)}catch(t){console.warn(t)}}}).catch(t=>{throw x.create("idb-open",{originalErrorMessage:t.message})})),k}async function I(t){try{let e=(await C()).transaction(M),r=await e.objectStore(M).get(D(t));return await e.done,r}catch(t){if(t instanceof o.g)c.warn(t.message);else{let e=x.create("idb-get",{originalErrorMessage:null==t?void 0:t.message});c.warn(e.message)}}}async function _(t,e){try{let r=(await C()).transaction(M,"readwrite"),n=r.objectStore(M);await n.put(e,D(t)),await r.done}catch(t){if(t instanceof o.g)c.warn(t.message);else{let e=x.create("idb-set",{originalErrorMessage:null==t?void 0:t.message});c.warn(e.message)}}}function D(t){return`${t.name}!${t.options.appId}`}class B{constructor(t){this.container=t,this._heartbeatsCache=null;let e=this.container.getProvider("app").getImmediate();this._storage=new N(e),this._heartbeatsCachePromise=this._storage.read().then(t=>(this._heartbeatsCache=t,t))}async triggerHeartbeat(){var t,e;try{let r=this.container.getProvider("platform-logger").getImmediate().getPlatformInfoString(),n=R();if((null==(t=this._heartbeatsCache)?void 0:t.heartbeats)==null&&(this._heartbeatsCache=await this._heartbeatsCachePromise,(null==(e=this._heartbeatsCache)?void 0:e.heartbeats)==null)||this._heartbeatsCache.lastSentHeartbeatDate===n||this._heartbeatsCache.heartbeats.some(t=>t.date===n))return;if(this._heartbeatsCache.heartbeats.push({date:n,agent:r}),this._heartbeatsCache.heartbeats.length>30){let t=function(t){if(0===t.length)return -1;let e=0,r=t[0].date;for(let n=1;n<t.length;n++)t[n].date<r&&(r=t[n].date,e=n);return e}(this._heartbeatsCache.heartbeats);this._heartbeatsCache.heartbeats.splice(t,1)}return this._storage.overwrite(this._heartbeatsCache)}catch(t){c.warn(t)}}async getHeartbeatsHeader(){var t;try{if(null===this._heartbeatsCache&&await this._heartbeatsCachePromise,(null==(t=this._heartbeatsCache)?void 0:t.heartbeats)==null||0===this._heartbeatsCache.heartbeats.length)return"";let e=R(),{heartbeatsToSend:r,unsentEntries:n}=function(t,e=1024){let r=[],n=t.slice();for(let i of t){let t=r.find(t=>t.agent===i.agent);if(t){if(t.dates.push(i.date),L(r)>e){t.dates.pop();break}}else if(r.push({agent:i.agent,dates:[i.date]}),L(r)>e){r.pop();break}n=n.slice(1)}return{heartbeatsToSend:r,unsentEntries:n}}(this._heartbeatsCache.heartbeats),i=(0,o.Uj)(JSON.stringify({version:2,heartbeats:r}));return this._heartbeatsCache.lastSentHeartbeatDate=e,n.length>0?(this._heartbeatsCache.heartbeats=n,await this._storage.overwrite(this._heartbeatsCache)):(this._heartbeatsCache.heartbeats=[],this._storage.overwrite(this._heartbeatsCache)),i}catch(t){return c.warn(t),""}}}function R(){return new Date().toISOString().substring(0,10)}class N{constructor(t){this.app=t,this._canUseIndexedDBPromise=this.runIndexedDBEnvironmentCheck()}async runIndexedDBEnvironmentCheck(){return!!(0,o.zW)()&&(0,o.eX)().then(()=>!0).catch(()=>!1)}async read(){if(!await this._canUseIndexedDBPromise)return{heartbeats:[]};{let t=await I(this.app);return(null==t?void 0:t.heartbeats)?t:{heartbeats:[]}}}async overwrite(t){var e;if(await this._canUseIndexedDBPromise){let r=await this.read();return _(this.app,{lastSentHeartbeatDate:null!=(e=t.lastSentHeartbeatDate)?e:r.lastSentHeartbeatDate,heartbeats:t.heartbeats})}}async add(t){var e;if(await this._canUseIndexedDBPromise){let r=await this.read();return _(this.app,{lastSentHeartbeatDate:null!=(e=t.lastSentHeartbeatDate)?e:r.lastSentHeartbeatDate,heartbeats:[...r.heartbeats,...t.heartbeats]})}}}function L(t){return(0,o.Uj)(JSON.stringify({version:2,heartbeats:t})).length}g(new n.uA("platform-logger",t=>new s(t),"PRIVATE")),g(new n.uA("heartbeat",t=>new B(t),"PRIVATE")),T(l,u,""),T(l,u,"esm2017"),T("fire-js","")},46605:(t,e,r)=>{"use strict";r.d(e,{A3:()=>h,Pu:()=>f});var n=r(41643);function i(t){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function o(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function a(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};
1e%2?o(Object(r),!0).forEach(function(e){var n,o,a;n=t,o=e,a=r[e],(o=function(t){var e=function(t,e){if("object"!=i(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=i(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==i(e)?e:e+""}(o))in n?Object.defineProperty(n,o,{value:a,enumerable:!0,configurable:!0,writable:!0}):n[o]=a}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):o(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function s(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}var l={widthCache:{},cacheCount:0},u={position:"absolute",top:"-20000px",left:0,padding:0,margin:0,border:"none",whiteSpace:"pre"},c="recharts_measurement_span",f=function(t){var e,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(null==t||n.m.isSsr)return{width:0,height:0};var i=(Object.keys(e=a({},r)).forEach(function(t){e[t]||delete e[t]}),e),o=JSON.stringify({text:t,copyStyle:i});if(l.widthCache[o])return l.widthCache[o];try{var s=document.getElementById(c);s||((s=document.createElement("span")).setAttribute("id",c),s.setAttribute("aria-hidden","true"),document.body.appendChild(s));var f=a(a({},u),i);Object.assign(s.style,f),s.textContent="".concat(t);var h=s.getBoundingClientRect(),p={width:h.width,height:h.height};return l.widthCache[o]=p,++l.cacheCount>2e3&&(l.cacheCount=0,l.widthCache={}),p}catch(t){return{width:0,height:0}}},h=function(t){return{top:t.top+window.scrollY-document.documentElement.clientTop,left:t.left+window.scrollX-document.documentElement.clientLeft}}},46984:(t,e,r)=>{"use strict";let n,i;r.d(e,{P2:()=>d});let o=(t,e)=>e.some(e=>t instanceof e),a=new WeakMap,s=new WeakMap,l=new WeakMap,u=new WeakMap,c=new WeakMap,f={get(t,e,r){if(t instanceof IDBTransaction){if("done"===e)return s.get(t);if("objectStoreNames"===e)return t.objectStoreNames||l.get(t);if("store"===e)return r.objectStoreNames[1]?void 0:r.objectStore(r.objectStoreNames[0])}return h(t[e])},set:(t,e,r)=>(t[e]=r,!0),has:(t,e)=>t instanceof IDBTransaction&&("done"===e||"store"===e)||e in t};function h(t){if(t instanceof IDBRequest){let e=new Promise((e,r)=>{let n=()=>{t.removeEventListener("success",i),t.removeEventListener("error",o)},i=()=>{e(h(t.result)),n()},o=()=>{r(t.error),n()};t.addEventListener("success",i),t.addEventListener("error",o)});return e.then(e=>{e instanceof IDBCursor&&a.set(e,t)}).catch(()=>{}),c.set(e,t),e}if(u.has(t))return u.get(t);let e=function(t){if("function"==typeof t)return t!==IDBDatabase.prototype.transaction||"objectStoreNames"in IDBTransaction.prototype?(i||(i=[IDBCursor.prototype.advance,IDBCursor.prototype.continue,IDBCursor.prototype.continuePrimaryKey])).includes(t)?function(...e){return t.apply(p(this),e),h(a.get(this))}:function(...e){return h(t.apply(p(this),e))}:function(e,...r){let n=t.call(p(this),e,...r);return l.set(n,e.sort?e.sort():[e]),h(n)};return(t instanceof IDBTransaction&&function(t){if(s.has(t))return;let e=new Promise((e,r)=>{let n=()=>{t.removeEventListener("complete",i),t.removeEventListener("error",o),t.removeEventListener("abort",o)},i=()=>{e(),n()},o=()=>{r(t.error||new DOMException("AbortError","AbortError")),n()};t.addEventListener("complete",i),t.addEventListener("error",o),t.addEventListener("abort",o)});s.set(t,e)}(t),o(t,n||(n=[IDBDatabase,IDBObjectStore,IDBIndex,IDBCursor,IDBTransaction])))?new Proxy(t,f):t}(t);return e!==t&&(u.set(t,e),c.set(e,t)),e}let p=t=>c.get(t);function d(t,e,{blocked:r,upgrade:n,blocking:i,terminated:o}={}){let a=indexedDB.open(t,e),s=h(a);return n&&a.addEventListener("upgradeneeded",t=>{n(h(a.result),t.oldVersion,t.newVersion,h(a.transaction),t)}),r&&a.addEventListener("blocked",t=>r(t.oldVersion,t.newVersion,t)),s.then(t=>{o&&t.addEventListener("close",()=>o()),i&&t.addEventListener("versionchange",t=>i(t.oldVersion,t.newVersion,t))}).catch(()=>{}),s}let y=["get","getKey","getAll","getAllKeys","count"],m=["put","add","delete","clear"],g=new Map;function v(t,e){if(!(t instanceof IDBDatabase&&!(e in t)&&"string"==typeof e))return;if(g.get(e))return g.get(e);
1let r=e.replace(/FromIndex$/,""),n=e!==r,i=m.includes(r);if(!(r in(n?IDBIndex:IDBObjectStore).prototype)||!(i||y.includes(r)))return;let o=async function(t,...e){let o=this.transaction(t,i?"readwrite":"readonly"),a=o.store;return n&&(a=a.index(e.shift())),(await Promise.all([a[r](...e),i&&o.done]))[0]};return g.set(e,o),o}f=(t=>({...t,get:(e,r,n)=>v(e,r)||t.get(e,r,n),has:(e,r)=>!!v(e,r)||t.has(e,r)}))(f)},47995:t=>{t.exports=function(t){var e=this.__data__,r=e.delete(t);return this.size=e.size,r}},48611:t=>{t.exports=function(t){return null!=t&&"object"==typeof t}},48628:t=>{t.exports=function(t,e){for(var r=-1,n=null==t?0:t.length;++r<n;)if(!e(t[r],r,t))return!1;return!0}},48659:(t,e,r)=>{var n=r(37929);t.exports=function(t,e,r){var i=t.length;return r=void 0===r?i:r,!e&&r>=i?t:n(t,e,r)}},48973:(t,e,r)=>{var n=r(34711);t.exports=function(t,e,r){var i=null==t?void 0:n(t,e);return void 0===i?r:i}},49754:(t,e,r)=>{"use strict";r.d(e,{s0:()=>is,gH:()=>ir,YB:()=>ig,HQ:()=>iy,Hj:()=>iP,BX:()=>ia,tA:()=>io,Ay:()=>ie,vf:()=>ic,Mk:()=>iS,Ps:()=>ii,Mn:()=>ix,kA:()=>iO,Rh:()=>ip,w7:()=>iw,zb:()=>iM,kr:()=>it,_L:()=>ih,KC:()=>iT,A1:()=>iu,W7:()=>im,AQ:()=>ij});var n,i,o,a,s,l,u,c={};r.r(c),r.d(c,{scaleBand:()=>f.A,scaleDiverging:()=>function t(){var e=tB(rZ()(tm));return e.copy=function(){return rY(e,t())},tS.K.apply(e,arguments)},scaleDivergingLog:()=>function t(){var e=tW(rZ()).domain([.1,1,10]);return e.copy=function(){return rY(e,t()).base(e.base())},tS.K.apply(e,arguments)},scaleDivergingPow:()=>rQ,scaleDivergingSqrt:()=>r0,scaleDivergingSymlog:()=>function t(){var e=tq(rZ());return e.copy=function(){return rY(e,t()).constant(e.constant())},tS.K.apply(e,arguments)},scaleIdentity:()=>function t(e){var r;function n(t){return null==t||isNaN(t*=1)?r:t}return n.invert=n,n.domain=n.range=function(t){return arguments.length?(e=Array.from(t,td),n):e.slice()},n.unknown=function(t){return arguments.length?(r=t,n):r},n.copy=function(){return t(e).unknown(r)},e=arguments.length?Array.from(e,td):[0,1],tB(n)},scaleImplicit:()=>tK.h,scaleLinear:()=>tR,scaleLog:()=>function t(){let e=tW(tw()).domain([1,10]);return e.copy=()=>tx(e,t()).base(e.base()),tS.C.apply(e,arguments),e},scaleOrdinal:()=>tK.A,scalePoint:()=>f.z,scalePow:()=>tQ,scaleQuantile:()=>function t(){var e,r=[],n=[],i=[];function o(){var t=0,e=Math.max(1,n.length);for(i=Array(e-1);++t<e;)i[t-1]=function(t,e,r=S){if(!(!(n=t.length)||isNaN(e*=1))){if(e<=0||n<2)return+r(t[0],0,t);if(e>=1)return+r(t[n-1],n-1,t);var n,i=(n-1)*e,o=Math.floor(i),a=+r(t[o],o,t);return a+(r(t[o+1],o+1,t)-a)*(i-o)}}(r,t/e);return a}function a(t){return null==t||isNaN(t*=1)?e:n[E(i,t)]}return a.invertExtent=function(t){var e=n.indexOf(t);return e<0?[NaN,NaN]:[e>0?i[e-1]:r[0],e<i.length?i[e]:r[r.length-1]]},a.domain=function(t){if(!arguments.length)return r.slice();for(let e of(r=[],t))null==e||isNaN(e*=1)||r.push(e);return r.sort(b),o()},a.range=function(t){return arguments.length?(n=Array.from(t),o()):n.slice()},a.unknown=function(t){return arguments.length?(e=t,a):e},a.quantiles=function(){return i.slice()},a.copy=function(){return t().domain(r).range(n).unknown(e)},tS.C.apply(a,arguments)},scaleQuantize:()=>function t(){var e,r=0,n=1,i=1,o=[.5],a=[0,1];function s(t){return null!=t&&t<=t?a[E(o,t,0,i)]:e}function l(){var t=-1;for(o=Array(i);++t<i;)o[t]=((t+1)*n-(t-i)*r)/(i+1);return s}return s.domain=function(t){return arguments.length?([r,n]=t,r*=1,n*=1,l()):[r,n]},s.range=function(t){return arguments.length?(i=(a=Array.from(t)).length-1,l()):a.slice()},s.invertExtent=function(t){var e=a.indexOf(t);return e<0?[NaN,NaN]:e<1?[r,o[0]]:e>=i?[o[i-1],n]:[o[e-1],o[e]]},s.unknown=function(t){return arguments.length&&(e=t),s},s.thresholds=function(){return o.slice()},s.copy=function(){return t().domain([r,n]).range(a).unknown(e)},tS.C.apply(tB(s),arguments)},scaleRadial:()=>function t(){var e,r=tO(),n=[0,1],i=!1;function o(t){var n,o=Math.sign(n=r(t))*Math.sqrt(Math.abs(n));return isNaN(o)?e:i?Math.round(o):o}return o.invert=function(t){return r.invert(t1(t))},o.domain=function(t){return arguments.length?(r.domain(t),o):r.domain()},o.range=function(t){return arguments.length?(r.range((n=Array.from(t,td)).map(t1)),o):n.slice()},o.rangeRound=function(t){return o.range(t).round(!0)},o.round=function(t){return arguments.length?(i=!!t,o):i},o.clamp=function(t){return arguments.length?(r.clamp(t),o):r.clamp()},o.unknown=function(t){return arguments.length?(e=t,o):e},o.copy=function(){return t(r.domain(),n).round(i).clamp(r.clamp()).unknown(e)},tS.C.apply(o,arguments),tB(o)},scaleSequential:()=>function t(){var e=tB(rK()(tm));return e.copy=function(){return rY(e,t())},tS.K.apply(e,arguments)},scaleSequentialLog:()=>function t(){var e=tW(rK()).domain([1,10]);return e.copy=function(){return rY(e,t()).base(e.base())},tS.K.apply(e,arguments)},scaleSequentialPow:()=>rG,scaleSequentialQuantile:()=>function t(){var e=[],r=tm;function n(t){if(null!=t&&!isNaN(t*=1))return r((E(e,t,1)-1)/(e.length-1))}return n.domain=function(t){if(!arguments.length)return e.slice();for(let r of(e=[],t))null==r||isNaN(r*=1)||e.push(r);return e.sort(b),n},n.interpolator=function(t){return arguments.length?(r=t,n):r},n.range=function(){return e.map((t,n)=>r(n/(e.length-1)))},n.quantiles=function(t){return Array.from({length:t+1},(r,n)=>(function(t,e,r){if(!(!(n=(t=Float64Array.from(function*(t,e){if(void 0===e)for(let e of t)null!=e&&(e*=1)>=e&&(yield e);else{let r=-1;for(let n of t)null!=(n=e(n,++r,t))&&(n*=1)>=n&&(yield n)}}(t,void 0))).length)||isNaN(e*=1))){if(e<=0||n<2)return t5(t);if(e>=1)return t2(t);var n,i=(n-1)*e,o=Math.floor(i),a=t2((function t(e,r,n=0,i=1/0,o){if(r=Math.floor(r),n=Math.floor(Math.max(0,n)),i=Math.floor(Math.min(e.length-1,i)),!(n<=r&&r<=i))return e;for(o=void 0===o?t3:function(t=b){if(t===b)return t3;if("function"!=typeof t)throw TypeError("compare is not a function");return(e,r)=>{let n=t(e,r);return n||0===n?n:(0===t(r,r))-(0===t(e,e))}}(o);i>n;){if(i-n>600){let a=i-n+1,s=r-n+1,l=Math.log(a),u=.5*Math.exp(2*l/3),c=.5*Math.sqrt(l*u*(a-u)/a)*(s-a/2<0?-1:1),f=Math.max(n,Math.floor(r-s*u/a+c)),h=Math.min(i,Math.floor(r+(a-s)*u/a+c));t(e,r,f,h,o)}let a=e[r],s=n,l=i;for(t6(e,n,r),o(e[i],a)>0&&t6(e,n,i);s<l;){for(t6(e,s,l),++s,--l;0>o(e[s],a);)++s;for(;o(e[l],a)>0;)--l}0===o(e[n],a)?t6(e,n,l):t6(e,++l,i),l<=r&&(n=l+1),r<=l&&(i=l-1)}return e})(t,o).subarray(0,o+1));return a+(t5(t.subarray(o+1))-a)*(i-o)}})(e,n/t))},n.copy=function(){return t(r).domain(e)},tS.K.apply(n,arguments)},scaleSequentialSqrt:()=>rJ,scaleSequentialSymlog:()=>function t(){var e=tq(rK());return e.copy=function(){return rY(e,t()).constant(e.constant())},tS.K.apply(e,arguments)},scaleSqrt:()=>t0,scaleSymlog:()=>function t(){var e=tq(tw());return e.copy=function(){return tx(e,t()).constant(e.constant())},tS.C.apply(e,arguments)},scaleThreshold:()=>function t(){var e,r=[.5],n=[0,1],i=1;function o(t){return null!=t&&t<=t?n[E(r,t,0,i)]:e}return o.domain=function(t){return arguments.length?(i=Math.min((r=Array.from(t)).length,n.length-1),o):r.slice()},o.range=function(t){return arguments.length?(n=Array.from(t),i=Math.min(r.length,n.length-1),o):n.slice()},o.invertExtent=function(t){var e=n.indexOf(t);return[r[e-1],r[e]]},o.unknown=function(t){return arguments.length?(e=t,o):e},o.copy=function(){return t().domain(r).range(n).unknown(e)},tS.C.apply(o,arguments)},scaleTime:()=>rX,scaleUtc:()=>rq,tickFormat:()=>tD});var f=r(81519);let h=Math.sqrt(50),p=Math.sqrt(10),d=Math.sqrt(2);function y(t,e,r){let n,i,o,a=(e-t)/Math.max(0,r),s=Math.floor(Math.log10(a)),l=a/Math.pow(10,s),u=l>=h?10:l>=p?5:l>=d?2:1;return(s<0?(n=Math.round(t*(o=Math.pow(10,-s)/u)),i=Math.round(e*o),n/o<t&&++n,i/o>e&&--i,o=-o):(n=Math.round(t/(o=Math.pow(10,s)*u)),i=Math.round(e/o),n*o<t&&++n,i*o>e&&--i),i<n&&.5<=r&&r<2)?y(t,e,2*r):[n,i,o]}function m(t,e,r){if(e*=1,t*=1,!((r*=1)>0))return[];if(t===e)return[t];let n=e<t,[i,o,a]=n?y(e,t,r):y(t,e,r);
1if(!(o>=i))return[];let s=o-i+1,l=Array(s);if(n)if(a<0)for(let t=0;t<s;++t)l[t]=-((o-t)/a);else for(let t=0;t<s;++t)l[t]=(o-t)*a;else if(a<0)for(let t=0;t<s;++t)l[t]=-((i+t)/a);else for(let t=0;t<s;++t)l[t]=(i+t)*a;return l}function g(t,e,r){return y(t*=1,e*=1,r*=1)[2]}function v(t,e,r){e*=1,t*=1,r*=1;let n=e<t,i=n?g(e,t,r):g(t,e,r);return(n?-1:1)*(i<0?-(1/i):i)}function b(t,e){return null==t||null==e?NaN:t<e?-1:t>e?1:t>=e?0:NaN}function x(t,e){return null==t||null==e?NaN:e<t?-1:e>t?1:e>=t?0:NaN}function w(t){let e,r,n;function i(t,n,o=0,a=t.length){if(o<a){if(0!==e(n,n))return a;do{let e=o+a>>>1;0>r(t[e],n)?o=e+1:a=e}while(o<a)}return o}return 2!==t.length?(e=b,r=(e,r)=>b(t(e),r),n=(e,r)=>t(e)-r):(e=t===b||t===x?t:O,r=t,n=t),{left:i,center:function(t,e,r=0,o=t.length){let a=i(t,e,r,o-1);return a>r&&n(t[a-1],e)>-n(t[a],e)?a-1:a},right:function(t,n,i=0,o=t.length){if(i<o){if(0!==e(n,n))return o;do{let e=i+o>>>1;0>=r(t[e],n)?i=e+1:o=e}while(i<o)}return i}}}function O(){return 0}function S(t){return null===t?NaN:+t}let A=w(b),E=A.right;function j(t,e,r){t.prototype=e.prototype=r,r.constructor=t}function P(t,e){var r=Object.create(t.prototype);for(var n in e)r[n]=e[n];return r}function T(){}A.left,w(S).center;var M="\\s*([+-]?\\d+)\\s*",k="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",C="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",I=/^#([0-9a-f]{3,8})$/,_=RegExp(`^rgb\\(${M},${M},${M}\\)$`),D=RegExp(`^rgb\\(${C},${C},${C}\\)$`),B=RegExp(`^rgba\\(${M},${M},${M},${k}\\)$`),R=RegExp(`^rgba\\(${C},${C},${C},${k}\\)$`),N=RegExp(`^hsl\\(${k},${C},${C}\\)$`),L=RegExp(`^hsla\\(${k},${C},${C},${k}\\)$`),U={aliceblue:0xf0f8ff,antiquewhite:0xfaebd7,aqua:65535,aquamarine:8388564,azure:0xf0ffff,beige:0xf5f5dc,bisque:0xffe4c4,black:0,blanchedalmond:0xffebcd,blue:255,blueviolet:9055202,brown:0xa52a2a,burlywood:0xdeb887,cadetblue:6266528,chartreuse:8388352,chocolate:0xd2691e,coral:0xff7f50,cornflowerblue:6591981,cornsilk:0xfff8dc,crimson:0xdc143c,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:0xb8860b,darkgray:0xa9a9a9,darkgreen:25600,darkgrey:0xa9a9a9,darkkhaki:0xbdb76b,darkmagenta:9109643,darkolivegreen:5597999,darkorange:0xff8c00,darkorchid:0x9932cc,darkred:9109504,darksalmon:0xe9967a,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:0xff1493,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:0xb22222,floralwhite:0xfffaf0,forestgreen:2263842,fuchsia:0xff00ff,gainsboro:0xdcdcdc,ghostwhite:0xf8f8ff,gold:0xffd700,goldenrod:0xdaa520,gray:8421504,green:32768,greenyellow:0xadff2f,grey:8421504,honeydew:0xf0fff0,hotpink:0xff69b4,indianred:0xcd5c5c,indigo:4915330,ivory:0xfffff0,khaki:0xf0e68c,lavender:0xe6e6fa,lavenderblush:0xfff0f5,lawngreen:8190976,lemonchiffon:0xfffacd,lightblue:0xadd8e6,lightcoral:0xf08080,lightcyan:0xe0ffff,lightgoldenrodyellow:0xfafad2,lightgray:0xd3d3d3,lightgreen:9498256,lightgrey:0xd3d3d3,lightpink:0xffb6c1,lightsalmon:0xffa07a,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:0xb0c4de,lightyellow:0xffffe0,lime:65280,limegreen:3329330,linen:0xfaf0e6,magenta:0xff00ff,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:0xba55d3,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:0xc71585,midnightblue:1644912,mintcream:0xf5fffa,mistyrose:0xffe4e1,moccasin:0xffe4b5,navajowhite:0xffdead,navy:128,oldlace:0xfdf5e6,olive:8421376,olivedrab:7048739,orange:0xffa500,orangered:0xff4500,orchid:0xda70d6,palegoldenrod:0xeee8aa,palegreen:0x98fb98,paleturquoise:0xafeeee,palevioletred:0xdb7093,papayawhip:0xffefd5,peachpuff:0xffdab9,peru:0xcd853f,pink:0xffc0cb,plum:0xdda0dd,powderblue:0xb0e0e6,purple:8388736,rebeccapurple:6697881,red:0xff0000,rosybrown:0xbc8f8f,royalblue:4286945,saddlebrown:9127187,salmon:0xfa8072,sandybrown:0xf4a460,seagreen:3050327,seashell:0xfff5ee,sienna:0xa0522d,silver:0xc0c0c0,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:0xfffafa,springgreen:65407,steelblue:4620980,tan:0xd2b48c,teal:32896,thistle:0xd8bfd8,tomato:0xff6347,turquoise:4251856,violet:0xee82ee,wheat:0xf5deb3,white:0xffffff,whitesmoke:0xf5f5f5,yellow:0xffff00,yellowgreen:0x9acd32};function F(){return this.rgb().formatHex()}function V(){return this.rgb().formatRgb()}function $(t){var e,r;return t=(t+"").trim().toLowerCase(),(e=I.exec(t))?(r=e[1].length,e=parseInt(e[1],16),6===r?z(e):3===r?new X(e>>8&15|e>>4&240,e>>4&15|240&e,(15&e)<<4|15&e,1):8===r?W(e>>24&255,e>>16&255,e>>8&255,(255&e)/255):4===r?W(e>>12&15|e>>8&240,e>>8&15|e>>4&240,e>>4&15|240&e,((15&e)<<4|15&e)/255):null):(e=_.exec(t))?new X(e[1],e[2],e[3],1):(e=D.exec(t))?new X(255*e[1]/100,255*e[2]/100,255*e[3]/100,1):(e=B.exec(t))?W(e[1],e[2],e[3],e[4]):(e=R.exec(t))?W(255*e[1]/100,255*e[2]/100,255*e[3]/100,e[4]):(e=N.exec(t))?Z(e[1],e[2]/100,e[3]/100,1):(e=L.exec(t))?Z(e[1],e[2]/100,e[3]/100,e[4]):U.hasOwnProperty(t)?z(U[t]):"transparent"===t?new X(NaN,NaN,NaN,0):null}function z(t){return new X(t>>16&255,t>>8&255,255&t,1)}function W(t,e,r,n){return n<=0&&(t=e=r=NaN),new X(t,e,r,n)}function H(t,e,r,n){var i;return 1==arguments.length?((i=t)instanceof T||(i=$(i)),i)?new X((i=i.rgb()).r,i.g,i.b,i.opacity):new X:new X(t,e,r,null==n?1:n)}function X(t,e,r,n){this.r=+t,this.g=+e,this.b=+r,this.opacity=+n}function q(){return`#${J(this.r)}${J(this.g)}${J(this.b)}`}function K(){let t=Y(this.opacity);return`${1===t?"rgb(":"rgba("}${G(this.r)}, ${G(this.g)}, ${G(this.b)}${1===t?")":`, ${t})`}`}function Y(t){return isNaN(t)?1:Math.max(0,Math.min(1,t))}function G(t){return Math.max(0,Math.min(255,Math.round(t)||0))}function J(t){return((t=G(t))<16?"0":"")+t.toString(16)}function Z(t,e,r,n){return n<=0?t=e=r=NaN:r<=0||r>=1?t=e=NaN:e<=0&&(t=NaN),new tt(t,e,r,n)}function Q(t){if(t instanceof tt)return new tt(t.h,t.s,t.l,t.opacity);if(t instanceof T||(t=$(t)),!t)return new tt;if(t instanceof tt)return t;var e=(t=t.rgb()).r/255,r=t.g/255,n=t.b/255,i=Math.min(e,r,n),o=Math.max(e,r,n),a=NaN,s=o-i,l=(o+i)/2;return s?(a=e===o?(r-n)/s+(r<n)*6:r===o?(n-e)/s+2:(e-r)/s+4,s/=l<.5?o+i:2-o-i,a*=60):s=l>0&&l<1?0:a,new tt(a,s,l,t.opacity)}function tt(t,e,r,n){this.h=+t,this.s=+e,this.l=+r,this.opacity=+n}function te(t){return(t=(t||0)%360)<0?t+360:t}
1function tr(t){return Math.max(0,Math.min(1,t||0))}function tn(t,e,r){return(t<60?e+(r-e)*t/60:t<180?r:t<240?e+(r-e)*(240-t)/60:e)*255}function ti(t,e,r,n,i){var o=t*t,a=o*t;return((1-3*t+3*o-a)*e+(4-6*o+3*a)*r+(1+3*t+3*o-3*a)*n+a*i)/6}j(T,$,{copy(t){return Object.assign(new this.constructor,this,t)},displayable(){return this.rgb().displayable()},hex:F,formatHex:F,formatHex8:function(){return this.rgb().formatHex8()},formatHsl:function(){return Q(this).formatHsl()},formatRgb:V,toString:V}),j(X,H,P(T,{brighter(t){return t=null==t?1.4285714285714286:Math.pow(1.4285714285714286,t),new X(this.r*t,this.g*t,this.b*t,this.opacity)},darker(t){return t=null==t?.7:Math.pow(.7,t),new X(this.r*t,this.g*t,this.b*t,this.opacity)},rgb(){return this},clamp(){return new X(G(this.r),G(this.g),G(this.b),Y(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:q,formatHex:q,formatHex8:function(){return`#${J(this.r)}${J(this.g)}${J(this.b)}${J((isNaN(this.opacity)?1:this.opacity)*255)}`},formatRgb:K,toString:K})),j(tt,function(t,e,r,n){return 1==arguments.length?Q(t):new tt(t,e,r,null==n?1:n)},P(T,{brighter(t){return t=null==t?1.4285714285714286:Math.pow(1.4285714285714286,t),new tt(this.h,this.s,this.l*t,this.opacity)},darker(t){return t=null==t?.7:Math.pow(.7,t),new tt(this.h,this.s,this.l*t,this.opacity)},rgb(){var t=this.h%360+(this.h<0)*360,e=isNaN(t)||isNaN(this.s)?0:this.s,r=this.l,n=r+(r<.5?r:1-r)*e,i=2*r-n;return new X(tn(t>=240?t-240:t+120,i,n),tn(t,i,n),tn(t<120?t+240:t-120,i,n),this.opacity)},clamp(){return new tt(te(this.h),tr(this.s),tr(this.l),Y(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 t=Y(this.opacity);return`${1===t?"hsl(":"hsla("}${te(this.h)}, ${100*tr(this.s)}%, ${100*tr(this.l)}%${1===t?")":`, ${t})`}`}}));let to=t=>()=>t;function ta(t,e){var r,n,i=e-t;return i?(r=t,n=i,function(t){return r+t*n}):to(isNaN(t)?e:t)}let ts=function t(e){var r,n=1==(r=+e)?ta:function(t,e){var n,i,o;return e-t?(n=t,i=e,n=Math.pow(n,o=r),i=Math.pow(i,o)-n,o=1/o,function(t){return Math.pow(n+t*i,o)}):to(isNaN(t)?e:t)};function i(t,e){var r=n((t=H(t)).r,(e=H(e)).r),i=n(t.g,e.g),o=n(t.b,e.b),a=ta(t.opacity,e.opacity);return function(e){return t.r=r(e),t.g=i(e),t.b=o(e),t.opacity=a(e),t+""}}return i.gamma=t,i}(1);function tl(t){return function(e){var r,n,i=e.length,o=Array(i),a=Array(i),s=Array(i);for(r=0;r<i;++r)n=H(e[r]),o[r]=n.r||0,a[r]=n.g||0,s[r]=n.b||0;return o=t(o),a=t(a),s=t(s),n.opacity=1,function(t){return n.r=o(t),n.g=a(t),n.b=s(t),n+""}}}tl(function(t){var e=t.length-1;return function(r){var n=r<=0?r=0:r>=1?(r=1,e-1):Math.floor(r*e),i=t[n],o=t[n+1],a=n>0?t[n-1]:2*i-o,s=n<e-1?t[n+2]:2*o-i;return ti((r-n/e)*e,a,i,o,s)}}),tl(function(t){var e=t.length;return function(r){var n=Math.floor(((r%=1)<0?++r:r)*e),i=t[(n+e-1)%e],o=t[n%e],a=t[(n+1)%e],s=t[(n+2)%e];return ti((r-n/e)*e,i,o,a,s)}});function tu(t,e){return t*=1,e*=1,function(r){return t*(1-r)+e*r}}var tc=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,tf=RegExp(tc.source,"g");function th(t,e){var r,n,i=typeof e;return null==e||"boolean"===i?to(e):("number"===i?tu:"string"===i?(n=$(e))?(e=n,ts):function(t,e){var r,n,i,o,a,s=tc.lastIndex=tf.lastIndex=0,l=-1,u=[],c=[];for(t+="",e+="";(i=tc.exec(t))&&(o=tf.exec(e));)(a=o.index)>s&&(a=e.slice(s,a),u[l]?u[l]+=a:u[++l]=a),(i=i[0])===(o=o[0])?u[l]?u[l]+=o:u[++l]=o:(u[++l]=null,c.push({i:l,x:tu(i,o)})),s=tf.lastIndex;return s<e.length&&(a=e.slice(s),u[l]?u[l]+=a:u[++l]=a),u.length<2?c[0]?(r=c[0].x,function(t){return r(t)+""}):(n=e,function(){return n}):(e=c.length,function(t){for(var r,n=0;n<e;++n)u[(r=c[n]).i]=r.x(t);return u.join("")})}:e instanceof $?ts:e instanceof Date?function(t,e){var r=new Date;return t*=1,e*=1,function(n){return r.setTime(t*(1-n)+e*n),r}}:!ArrayBuffer.isView(r=e)||r instanceof DataView?Array.isArray(e)?function(t,e){var r,n=e?e.length:0,i=t?Math.min(n,t.length):0,o=Array(i),a=Array(n);for(r=0;r<i;++r)o[r]=th(t[r],e[r]);for(;r<n;++r)a[r]=e[r];return function(t){for(r=0;r<i;++r)a[r]=o[r](t);return a}}:"function"!=typeof e.valueOf&&"function"!=typeof e.toString||isNaN(e)?function(t,e){var r,n={},i={};for(r in(null===t||"object"!=typeof t)&&(t={}),(null===e||"object"!=typeof e)&&(e={}),e)r in t?n[r]=th(t[r],e[r]):i[r]=e[r];return function(t){for(r in n)i[r]=n[r](t);return i}}:tu:function(t,e){e||(e=[]);var r,n=t?Math.min(e.length,t.length):0,i=e.slice();return function(o){for(r=0;r<n;++r)i[r]=t[r]*(1-o)+e[r]*o;return i}})(t,e)}function tp(t,e){return t*=1,e*=1,function(r){return Math.round(t*(1-r)+e*r)}}function td(t){return+t}var ty=[0,1];function tm(t){return t}function tg(t,e){var r;return(e-=t*=1)?function(r){return(r-t)/e}:(r=isNaN(e)?NaN:.5,function(){return r})}function tv(t,e,r){var n=t[0],i=t[1],o=e[0],a=e[1];return i<n?(n=tg(i,n),o=r(a,o)):(n=tg(n,i),o=r(o,a)),function(t){return o(n(t))}}function tb(t,e,r){var n=Math.min(t.length,e.length)-1,i=Array(n),o=Array(n),a=-1;for(t[n]<t[0]&&(t=t.slice().reverse(),e=e.slice().reverse());++a<n;)i[a]=tg(t[a],t[a+1]),o[a]=r(e[a],e[a+1]);return function(e){var r=E(t,e,1,n)-1;return o[r](i[r](e))}}function tx(t,e){return e.domain(t.domain()).range(t.range()).interpolate(t.interpolate()).clamp(t.clamp()).unknown(t.unknown())}function tw(){var t,e,r,n,i,o,a=ty,s=ty,l=th,u=tm;function c(){var t,e,r,l=Math.min(a.length,s.length);return u!==tm&&(t=a[0],e=a[l-1],t>e&&(r=t,t=e,e=r),u=function(r){return Math.max(t,Math.min(e,r))}),n=l>2?tb:tv,i=o=null,f}function f(e){return null==e||isNaN(e*=1)?r:(i||(i=n(a.map(t),s,l)))(t(u(e)))}return f.invert=function(r){return u(e((o||(o=n(s,a.map(t),tu)))(r)))},f.domain=function(t){return arguments.length?(a=Array.from(t,td),c()):a.slice()},f.range=function(t){return arguments.length?(s=Array.from(t),c()):s.slice()},f.rangeRound=function(t){return s=Array.from(t),l=tp,c()},f.clamp=function(t){return arguments.length?(u=!!t||tm,c()):u!==tm},f.interpolate=function(t){return arguments.length?(l=t,c()):l},f.unknown=function(t){return arguments.length?(r=t,f):r},function(r,n){return t=r,e=n,c()}}function tO(){return tw()(tm,tm)}var tS=r(28749),tA=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function tE(t){var e;if(!(e=tA.exec(t)))throw Error("invalid format: "+t);return new tj({fill:e[1],align:e[2],sign:e[3],symbol:e[4],zero:e[5],width:e[6],comma:e[7],precision:e[8]&&e[8].slice(1),trim:e[9],type:e[10]})}function tj(t){this.fill=void 0===t.fill?" ":t.fill+"",this.align=void 0===t.align?">":t.align+"",this.sign=void 0===t.sign?"-":t.sign+"",this.symbol=void 0===t.symbol?"":t.symbol+"",this.zero=!!t.zero,this.width=void 0===t.width?void 0:+t.
1width,this.comma=!!t.comma,this.precision=void 0===t.precision?void 0:+t.precision,this.trim=!!t.trim,this.type=void 0===t.type?"":t.type+""}function tP(t,e){if((r=(t=e?t.toExponential(e-1):t.toExponential()).indexOf("e"))<0)return null;var r,n=t.slice(0,r);return[n.length>1?n[0]+n.slice(2):n,+t.slice(r+1)]}function tT(t){return(t=tP(Math.abs(t)))?t[1]:NaN}function tM(t,e){var r=tP(t,e);if(!r)return t+"";var n=r[0],i=r[1];return i<0?"0."+Array(-i).join("0")+n:n.length>i+1?n.slice(0,i+1)+"."+n.slice(i+1):n+Array(i-n.length+2).join("0")}tE.prototype=tj.prototype,tj.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(void 0===this.width?"":Math.max(1,0|this.width))+(this.comma?",":"")+(void 0===this.precision?"":"."+Math.max(0,0|this.precision))+(this.trim?"~":"")+this.type};let tk={"%":(t,e)=>(100*t).toFixed(e),b:t=>Math.round(t).toString(2),c:t=>t+"",d:function(t){return Math.abs(t=Math.round(t))>=1e21?t.toLocaleString("en").replace(/,/g,""):t.toString(10)},e:(t,e)=>t.toExponential(e),f:(t,e)=>t.toFixed(e),g:(t,e)=>t.toPrecision(e),o:t=>Math.round(t).toString(8),p:(t,e)=>tM(100*t,e),r:tM,s:function(t,e){var r=tP(t,e);if(!r)return t+"";var i=r[0],o=r[1],a=o-(n=3*Math.max(-8,Math.min(8,Math.floor(o/3))))+1,s=i.length;return a===s?i:a>s?i+Array(a-s+1).join("0"):a>0?i.slice(0,a)+"."+i.slice(a):"0."+Array(1-a).join("0")+tP(t,Math.max(0,e+a-1))[0]},X:t=>Math.round(t).toString(16).toUpperCase(),x:t=>Math.round(t).toString(16)};function tC(t){return t}var tI=Array.prototype.map,t_=["y","z","a","f","p","n","\xb5","m","","k","M","G","T","P","E","Z","Y"];function tD(t,e,r,n){var i,s,l,u=v(t,e,r);switch((n=tE(null==n?",f":n)).type){case"s":var c=Math.max(Math.abs(t),Math.abs(e));return null!=n.precision||isNaN(l=Math.max(0,3*Math.max(-8,Math.min(8,Math.floor(tT(c)/3)))-tT(Math.abs(u))))||(n.precision=l),a(n,c);case"":case"e":case"g":case"p":case"r":null!=n.precision||isNaN(l=Math.max(0,tT(Math.abs(Math.max(Math.abs(t),Math.abs(e)))-(i=Math.abs(i=u)))-tT(i))+1)||(n.precision=l-("e"===n.type));break;case"f":case"%":null!=n.precision||isNaN(l=Math.max(0,-tT(Math.abs(u))))||(n.precision=l-("%"===n.type)*2)}return o(n)}function tB(t){var e=t.domain;return t.ticks=function(t){var r=e();return m(r[0],r[r.length-1],null==t?10:t)},t.tickFormat=function(t,r){var n=e();return tD(n[0],n[n.length-1],null==t?10:t,r)},t.nice=function(r){null==r&&(r=10);var n,i,o=e(),a=0,s=o.length-1,l=o[a],u=o[s],c=10;for(u<l&&(i=l,l=u,u=i,i=a,a=s,s=i);c-- >0;){if((i=g(l,u,r))===n)return o[a]=l,o[s]=u,e(o);if(i>0)l=Math.floor(l/i)*i,u=Math.ceil(u/i)*i;else if(i<0)l=Math.ceil(l*i)/i,u=Math.floor(u*i)/i;else break;n=i}return t},t}function tR(){var t=tO();return t.copy=function(){return tx(t,tR())},tS.C.apply(t,arguments),tB(t)}function tN(t,e){t=t.slice();var r,n=0,i=t.length-1,o=t[n],a=t[i];return a<o&&(r=n,n=i,i=r,r=o,o=a,a=r),t[n]=e.floor(o),t[i]=e.ceil(a),t}function tL(t){return Math.log(t)}function tU(t){return Math.exp(t)}function tF(t){return-Math.log(-t)}function tV(t){return-Math.exp(-t)}function t$(t){return isFinite(t)?+("1e"+t):t<0?0:t}function tz(t){return(e,r)=>-t(-e,r)}function tW(t){let e,r,n=t(tL,tU),i=n.domain,a=10;function s(){var o,s;return e=(o=a)===Math.E?Math.log:10===o&&Math.log10||2===o&&Math.log2||(o=Math.log(o),t=>Math.log(t)/o),r=10===(s=a)?t$:s===Math.E?Math.exp:t=>Math.pow(s,t),i()[0]<0?(e=tz(e),r=tz(r),t(tF,tV)):t(tL,tU),n}return n.base=function(t){return arguments.length?(a=+t,s()):a},n.domain=function(t){return arguments.length?(i(t),s()):i()},n.ticks=t=>{let n,o,s=i(),l=s[0],u=s[s.length-1],c=u<l;c&&([l,u]=[u,l]);let f=e(l),h=e(u),p=null==t?10:+t,d=[];if(!(a%1)&&h-f<p){if(f=Math.floor(f),h=Math.ceil(h),l>0){for(;f<=h;++f)for(n=1;n<a;++n)if(!((o=f<0?n/r(-f):n*r(f))<l)){if(o>u)break;d.push(o)}}else for(;f<=h;++f)for(n=a-1;n>=1;--n)if(!((o=f>0?n/r(-f):n*r(f))<l)){if(o>u)break;d.push(o)}2*d.length<p&&(d=m(l,u,p))}else d=m(f,h,Math.min(h-f,p)).map(r);return c?d.reverse():d},n.tickFormat=(t,i)=>{if(null==t&&(t=10),null==i&&(i=10===a?"s":","),"function"!=typeof i&&(a%1||null!=(i=tE(i)).precision||(i.trim=!0),i=o(i)),t===1/0)return i;let s=Math.max(1,a*t/n.ticks().length);return t=>{let n=t/r(Math.round(e(t)));return n*a<a-.5&&(n*=a),n<=s?i(t):""}},n.nice=()=>i(tN(i(),{floor:t=>r(Math.floor(e(t))),ceil:t=>r(Math.ceil(e(t)))})),n}function tH(t){return function(e){return Math.sign(e)*Math.log1p(Math.abs(e/t))}}function tX(t){return function(e){return Math.sign(e)*Math.expm1(Math.abs(e))*t}}function tq(t){var e=1,r=t(tH(1),tX(e));return r.constant=function(r){return arguments.length?t(tH(e=+r),tX(e)):e},tB(r)}o=(i=function(t){var e,r,i,o=void 0===t.grouping||void 0===t.thous
1ands?tC:(e=tI.call(t.grouping,Number),r=t.thousands+"",function(t,n){for(var i=t.length,o=[],a=0,s=e[0],l=0;i>0&&s>0&&(l+s+1>n&&(s=Math.max(1,n-l)),o.push(t.substring(i-=s,i+s)),!((l+=s+1)>n));)s=e[a=(a+1)%e.length];return o.reverse().join(r)}),a=void 0===t.currency?"":t.currency[0]+"",s=void 0===t.currency?"":t.currency[1]+"",l=void 0===t.decimal?".":t.decimal+"",u=void 0===t.numerals?tC:(i=tI.call(t.numerals,String),function(t){return t.replace(/[0-9]/g,function(t){return i[+t]})}),c=void 0===t.percent?"%":t.percent+"",f=void 0===t.minus?"−":t.minus+"",h=void 0===t.nan?"NaN":t.nan+"";function p(t){var e=(t=tE(t)).fill,r=t.align,i=t.sign,p=t.symbol,d=t.zero,y=t.width,m=t.comma,g=t.precision,v=t.trim,b=t.type;"n"===b?(m=!0,b="g"):tk[b]||(void 0===g&&(g=12),v=!0,b="g"),(d||"0"===e&&"="===r)&&(d=!0,e="0",r="=");var x="$"===p?a:"#"===p&&/[boxX]/.test(b)?"0"+b.toLowerCase():"",w="$"===p?s:/[%p]/.test(b)?c:"",O=tk[b],S=/[defgprs%]/.test(b);function A(t){var a,s,c,p=x,A=w;if("c"===b)A=O(t)+A,t="";else{var E=(t*=1)<0||1/t<0;if(t=isNaN(t)?h:O(Math.abs(t),g),v&&(t=function(t){t:for(var e,r=t.length,n=1,i=-1;n<r;++n)switch(t[n]){case".":i=e=n;break;case"0":0===i&&(i=n),e=n;break;default:if(!+t[n])break t;i>0&&(i=0)}return i>0?t.slice(0,i)+t.slice(e+1):t}(t)),E&&0==+t&&"+"!==i&&(E=!1),p=(E?"("===i?i:f:"-"===i||"("===i?"":i)+p,A=("s"===b?t_[8+n/3]:"")+A+(E&&"("===i?")":""),S){for(a=-1,s=t.length;++a<s;)if(48>(c=t.charCodeAt(a))||c>57){A=(46===c?l+t.slice(a+1):t.slice(a))+A,t=t.slice(0,a);break}}}m&&!d&&(t=o(t,1/0));var j=p.length+t.length+A.length,P=j<y?Array(y-j+1).join(e):"";switch(m&&d&&(t=o(P+t,P.length?y-A.length:1/0),P=""),r){case"<":t=p+t+A+P;break;case"=":t=p+P+t+A;break;case"^":t=P.slice(0,j=P.length>>1)+p+t+A+P.slice(j);break;default:t=P+p+t+A}return u(t)}return g=void 0===g?6:/[gprs]/.test(b)?Math.max(1,Math.min(21,g)):Math.max(0,Math.min(20,g)),A.toString=function(){return t+""},A}return{format:p,formatPrefix:function(t,e){var r=p(((t=tE(t)).type="f",t)),n=3*Math.max(-8,Math.min(8,Math.floor(tT(e)/3))),i=Math.pow(10,-n),o=t_[8+n/3];return function(t){return r(i*t)+o}}}}({thousands:",",grouping:[3],currency:["$",""]})).format,a=i.formatPrefix;var tK=r(95442);function tY(t){return function(e){return e<0?-Math.pow(-e,t):Math.pow(e,t)}}function tG(t){return t<0?-Math.sqrt(-t):Math.sqrt(t)}function tJ(t){return t<0?-t*t:t*t}function tZ(t){var e=t(tm,tm),r=1;return e.exponent=function(e){return arguments.length?1==(r=+e)?t(tm,tm):.5===r?t(tG,tJ):t(tY(r),tY(1/r)):r},tB(e)}function tQ(){var t=tZ(tw());return t.copy=function(){return tx(t,tQ()).exponent(t.exponent())},tS.C.apply(t,arguments),t}function t0(){return tQ.apply(null,arguments).exponent(.5)}function t1(t){return Math.sign(t)*t*t}function t2(t,e){let r;if(void 0===e)for(let e of t)null!=e&&(r<e||void 0===r&&e>=e)&&(r=e);else{let n=-1;for(let i of t)null!=(i=e(i,++n,t))&&(r<i||void 0===r&&i>=i)&&(r=i)}return r}function t5(t,e){let r;if(void 0===e)for(let e of t)null!=e&&(r>e||void 0===r&&e>=e)&&(r=e);else{let n=-1;for(let i of t)null!=(i=e(i,++n,t))&&(r>i||void 0===r&&i>=i)&&(r=i)}return r}function t3(t,e){return(null==t||!(t>=t))-(null==e||!(e>=e))||(t<e?-1:+(t>e))}function t6(t,e,r){let n=t[e];t[e]=t[r],t[r]=n}let t8=new Date,t4=new Date;function t9(t,e,r,n){function i(e){return t(e=0==arguments.length?new Date:new Date(+e)),e}return i.floor=e=>(t(e=new Date(+e)),e),i.ceil=r=>(t(r=new Date(r-1)),e(r,1),t(r),r),i.round=t=>{let e=i(t),r=i.ceil(t);return t-e<r-t?e:r},i.offset=(t,r)=>(e(t=new Date(+t),null==r?1:Math.floor(r)),t),i.range=(r,n,o)=>{let a,s=[];if(r=i.ceil(r),o=null==o?1:Math.floor(o),!(r<n)||!(o>0))return s;do s.push(a=new Date(+r)),e(r,o),t(r);while(a<r&&r<n);return s},i.filter=r=>t9(e=>{if(e>=e)for(;t(e),!r(e);)e.setTime(e-1)},(t,n)=>{if(t>=t)if(n<0)for(;++n<=0;)for(;e(t,-1),!r(t););else for(;--n>=0;)for(;e(t,1),!r(t););}),r&&(i.count=(e,n)=>(t8.setTime(+e),t4.setTime(+n),t(t8),t(t4),Math.floor(r(t8,t4))),i.every=t=>isFinite(t=Math.floor(t))&&t>0?t>1?i.filter(n?e=>n(e)%t==0:e=>i.count(0,e)%t==0):i:null),i}let t7=t9(()=>{},(t,e)=>{t.setTime(+t+e)},(t,e)=>e-t);t7.every=t=>isFinite(t=Math.floor(t))&&t>0?t>1?t9(e=>{e.setTime(Math.floor(e/t)*t)},(e,r)=>{e.setTime(+e+r*t)},(e,r)=>(r-e)/t):t7:null,t7.range;let et=t9(t=>{t.setTime(t-t.getMilliseconds())},(t,e)=>{t.setTime(+t+1e3*e)},(t,e)=>(e-t)/1e3,t=>t.getUTCSeconds());et.range;let ee=t9(t=>{t.setTime(t-t.getMilliseconds()-1e3*t.getSeconds())},(t,e)=>{t.setTime(+t+6e4*e)},(t,e)=>(e-t)/6e4,t=>t.getMinutes());ee.range;let er=t9(t=>{t.setUTCSeconds(0,0)},(t,e)=>{t.setTime(+t+6e4*e)},(t,e)=>(e-t)/6e4,t=>t.getUTCMinutes());er.range;let en=t9(t=>{t.setTime(t-t.getMilliseconds()-1e3*t.getSeconds()-6e4*t.getMinutes())},(t,e)=>{t.setTime(+t+36e5*e)},(t,e)=>(e-t)/36e5,t=>t.getHours());en.range;
1let ei=t9(t=>{t.setUTCMinutes(0,0,0)},(t,e)=>{t.setTime(+t+36e5*e)},(t,e)=>(e-t)/36e5,t=>t.getUTCHours());ei.range;let eo=t9(t=>t.setHours(0,0,0,0),(t,e)=>t.setDate(t.getDate()+e),(t,e)=>(e-t-(e.getTimezoneOffset()-t.getTimezoneOffset())*6e4)/864e5,t=>t.getDate()-1);eo.range;let ea=t9(t=>{t.setUTCHours(0,0,0,0)},(t,e)=>{t.setUTCDate(t.getUTCDate()+e)},(t,e)=>(e-t)/864e5,t=>t.getUTCDate()-1);ea.range;let es=t9(t=>{t.setUTCHours(0,0,0,0)},(t,e)=>{t.setUTCDate(t.getUTCDate()+e)},(t,e)=>(e-t)/864e5,t=>Math.floor(t/864e5));function el(t){return t9(e=>{e.setDate(e.getDate()-(e.getDay()+7-t)%7),e.setHours(0,0,0,0)},(t,e)=>{t.setDate(t.getDate()+7*e)},(t,e)=>(e-t-(e.getTimezoneOffset()-t.getTimezoneOffset())*6e4)/6048e5)}es.range;let eu=el(0),ec=el(1),ef=el(2),eh=el(3),ep=el(4),ed=el(5),ey=el(6);function em(t){return t9(e=>{e.setUTCDate(e.getUTCDate()-(e.getUTCDay()+7-t)%7),e.setUTCHours(0,0,0,0)},(t,e)=>{t.setUTCDate(t.getUTCDate()+7*e)},(t,e)=>(e-t)/6048e5)}eu.range,ec.range,ef.range,eh.range,ep.range,ed.range,ey.range;let eg=em(0),ev=em(1),eb=em(2),ex=em(3),ew=em(4),eO=em(5),eS=em(6);eg.range,ev.range,eb.range,ex.range,ew.range,eO.range,eS.range;let eA=t9(t=>{t.setDate(1),t.setHours(0,0,0,0)},(t,e)=>{t.setMonth(t.getMonth()+e)},(t,e)=>e.getMonth()-t.getMonth()+(e.getFullYear()-t.getFullYear())*12,t=>t.getMonth());eA.range;let eE=t9(t=>{t.setUTCDate(1),t.setUTCHours(0,0,0,0)},(t,e)=>{t.setUTCMonth(t.getUTCMonth()+e)},(t,e)=>e.getUTCMonth()-t.getUTCMonth()+(e.getUTCFullYear()-t.getUTCFullYear())*12,t=>t.getUTCMonth());eE.range;let ej=t9(t=>{t.setMonth(0,1),t.setHours(0,0,0,0)},(t,e)=>{t.setFullYear(t.getFullYear()+e)},(t,e)=>e.getFullYear()-t.getFullYear(),t=>t.getFullYear());ej.every=t=>isFinite(t=Math.floor(t))&&t>0?t9(e=>{e.setFullYear(Math.floor(e.getFullYear()/t)*t),e.setMonth(0,1),e.setHours(0,0,0,0)},(e,r)=>{e.setFullYear(e.getFullYear()+r*t)}):null,ej.range;let eP=t9(t=>{t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)},(t,e)=>{t.setUTCFullYear(t.getUTCFullYear()+e)},(t,e)=>e.getUTCFullYear()-t.getUTCFullYear(),t=>t.getUTCFullYear());function eT(t,e,r,n,i,o){let a=[[et,1,1e3],[et,5,5e3],[et,15,15e3],[et,30,3e4],[o,1,6e4],[o,5,3e5],[o,15,9e5],[o,30,18e5],[i,1,36e5],[i,3,108e5],[i,6,216e5],[i,12,432e5],[n,1,864e5],[n,2,1728e5],[r,1,6048e5],[e,1,2592e6],[e,3,7776e6],[t,1,31536e6]];function s(e,r,n){let i=Math.abs(r-e)/n,o=w(([,,t])=>t).right(a,i);if(o===a.length)return t.every(v(e/31536e6,r/31536e6,n));if(0===o)return t7.every(Math.max(v(e,r,n),1));let[s,l]=a[i/a[o-1][2]<a[o][2]/i?o-1:o];return s.every(l)}return[function(t,e,r){let n=e<t;n&&([t,e]=[e,t]);let i=r&&"function"==typeof r.range?r:s(t,e,r),o=i?i.range(t,+e+1):[];return n?o.reverse():o},s]}eP.every=t=>isFinite(t=Math.floor(t))&&t>0?t9(e=>{e.setUTCFullYear(Math.floor(e.getUTCFullYear()/t)*t),e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)},(e,r)=>{e.setUTCFullYear(e.getUTCFullYear()+r*t)}):null,eP.range;let[eM,ek]=eT(eP,eE,eg,es,ei,er),[eC,eI]=eT(ej,eA,eu,eo,en,ee);function e_(t){if(0<=t.y&&t.y<100){var e=new Date(-1,t.m,t.d,t.H,t.M,t.S,t.L);return e.setFullYear(t.y),e}return new Date(t.y,t.m,t.d,t.H,t.M,t.S,t.L)}function eD(t){if(0<=t.y&&t.y<100){var e=new Date(Date.UTC(-1,t.m,t.d,t.H,t.M,t.S,t.L));return e.setUTCFullYear(t.y),e}return new Date(Date.UTC(t.y,t.m,t.d,t.H,t.M,t.S,t.L))}function eB(t,e,r){return{y:t,m:e,d:r,H:0,M:0,S:0,L:0}}var eR={"-":"",_:" ",0:"0"},eN=/^\s*\d+/,eL=/^%/,eU=/[\\^$*+?|[\]().{}]/g;function eF(t,e,r){var n=t<0?"-":"",i=(n?-t:t)+"",o=i.length;return n+(o<r?Array(r-o+1).join(e)+i:i)}function eV(t){return t.replace(eU,"\\$&")}function e$(t){return RegExp("^(?:"+t.map(eV).join("|")+")","i")}function ez(t){return new Map(t.map((t,e)=>[t.toLowerCase(),e]))}function eW(t,e,r){var n=eN.exec(e.slice(r,r+1));return n?(t.w=+n[0],r+n[0].length):-1}function eH(t,e,r){var n=eN.exec(e.slice(r,r+1));return n?(t.u=+n[0],r+n[0].length):-1}function eX(t,e,r){var n=eN.exec(e.slice(r,r+2));return n?(t.U=+n[0],r+n[0].length):-1}function eq(t,e,r){var n=eN.exec(e.slice(r,r+2));return n?(t.V=+n[0],r+n[0].length):-1}function eK(t,e,r){var n=eN.exec(e.slice(r,r+2));return n?(t.W=+n[0],r+n[0].length):-1}function eY(t,e,r){var n=eN.exec(e.slice(r,r+4));return n?(t.y=+n[0],r+n[0].length):-1}function eG(t,e,r){var n=eN.exec(e.slice(r,r+2));return n?(t.y=+n[0]+(+n[0]>68?1900:2e3),r+n[0].length):-1}function eJ(t,e,r){var n=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(e.slice(r,r+6));return n?(t.Z=n[1]?0:-(n[2]+(n[3]||"00")),r+n[0].length):-1}function eZ(t,e,r){var n=eN.exec(e.slice(r,r+1));return n?(t.q=3*n[0]-3,r+n[0].length):-1}function eQ(t,e,r){var n=eN.exec(e.slice(r,r+2));return n?(t.m=n[0]-1,r+n[0].length):-1}function e0(t,e,r){var n=eN.exec(e.slice(r,r+2));return n?(t.d=+n[0],r+n[0].length):-1}function e1(t,e,r){var n=eN.exec(e.slice(r,r+3));return n?(t.m=0,t.d=+n[0],r+n[0].length):-1}function e2(t,e,r){var n=eN.exec(e.slice(r,r+2));return n?(t.H=+n[0],r+n[0].length):-1}function e5(t,e,r){var n=eN.exec(e.slice(r,r+2));return n?(t.M=+n[0],r+n[0].length):-1}function e3(t,e,r){var n=eN.exec(e.slice(r,r+2));return n?(t.S=+n[0],r+n[0].length):-1}function e6(t,e,r){var n=eN.exec(e.slice(r,r+3));return n?(t.L=+n[0],r+n[0].length):-1}function e8(t,e,r){var n=eN.exec(e.slice(r,r+6));return n?(t.L=Math.floor(n[0]/1e3),r+n[0].length):-1}function e4(t,e,r){var n=eL.exec(e.slice(r,r+1));return n?r+n[0].length:-1}function e9(t,e,r){var n=eN.exec(e.slice(r));return n?(t.Q=+n[0],r+n[0].length):-1}function e7(t,e,r){var n=eN.exec(e.slice(r));return n?(t.s=+n[0],r+n[0].length):-1}function rt(t,e){return eF(t.getDate(),e,2)}function re(t,e){return eF(t.getHours(),e,2)}function rr(t,e){return eF(t.getHours()%12||12,e,2)}function rn(t,e){return eF(1+eo.count(ej(t),t),e,3)}function ri(t,e){return eF(t.getMilliseconds(),e,3)}function ro(t,e){return ri(t,e)+"000"}function ra(t,e){return eF(t.getMonth()+1,e,2)}function rs(t,e){return eF(t.getMinutes(),e,2)}function rl(t,e){return eF(t.getSeconds(),e,2)}function ru(t){var e=t.getDay();return 0===e?7:e}function rc(t,e){return eF(eu.count(ej(t)-1,t),e,2)}function rf(t){var e=t.getDay();return e>=4||0===e?ep(t):ep.ceil(t)}function rh(t,e){return t=rf(t),eF(ep.count(ej(t),t)+(4===ej(t).getDay()),e,2)}function rp(t){return t.getDay()}function rd(t,e){return eF(ec.count(ej(t)-1,t),e,2)}function ry(t,e){return eF(t.getFullYear()%100,e,2)}function rm(t,e){return eF((t=rf(t)).getFullYear()%100,e,2)}function rg(t,e){return eF(t.getFullYear()%1e4,e,4)}function rv(t,e){var r=t.getDay();return eF((t=r>=4||0===r?ep(t):ep.ceil(t)).getFullYear()%1e4,e,4)}function rb(t){var e=t.getTimezoneOffset();return(e>0?"-":(e*=-1,"+"))+eF(e/60|0,"0",2)+eF(e%60,"0",2)}function rx(t,e){return eF(t.getUTCDate(),e,2)}function rw(t,e){return eF(t.getUTCHours(),e,2)}function rO(t,e){return eF(t.getUTCHours()%12||12,e,2)}function rS(t,e){return eF(1+ea.count(eP(t),t),e,3)}function rA(t,e){return eF(t.getUTCMilliseconds(),e,3)}function rE(t,e){return rA(t,e)+"000"}function rj(t,e){return eF(t.getUTCMonth()+1,e,2)}function rP(t,e){return eF(t.getUTCMinutes(),e,2)}function rT(t,e){return eF(t.getUTCSeconds(),e,2)}function rM(t){var e=t.getUTCDay();return 0===e?7:e}function rk(t,e){return eF(eg.count(eP(t)-1,t),e,2)}function rC(t){var e=t.getUTCDay();return e>=4||0===e?ew(t):ew.ceil(t)}function rI(t,e){return t=rC(t),eF(ew.count(eP(t),t)+(4===eP(t).getUTCDay()),e,2)}function r_(t){return t.getUTCDay()}function rD(t,e){return eF(ev.count(eP(t)-1,t),e,2)}function rB(t,e){return eF(t.getUTCFullYear()%100,e,2)}function rR(t,e){return eF((t=rC(t)).getUTCFullYear()%100,e,2)}function rN(t,e){return eF(t.getUTCFullYear()%1e4,e,4)}function rL(t,e){var r=t.getUTCDay();return eF((t=r>=4||0===r?ew(t):ew.ceil(t)).getUTCFullYear()%1e4,e,4)}function rU(){return"+0000"}function rF(){return"%"}function rV(t){return+t}function r$(t){return Math.floor(t/1e3)}function rz(t){return new Date(t)}function rW(t){return t instanceof Date?+t:+new Date(+t)}function rH(t,e,r,n,i,o,a,s,l,u){var c=tO(),f=c.invert,h=c.domain,p=u(".%L"),d=u(":%S"),y=u("%I:%M"),m=u("%I %p"),g=u("%a %d"),v=u("%b %d"),b=u("%B"),x=u("%Y");function w(t){return(l(t)<t?p:s(t)<t?d:a(t)<t?y:o(t)<t?m:n(t)<t?i(t)<t?g:v:r(t)<t?b:x)(t)}return c.invert=function(t){return new Date(f(t))},c.domain=function(t){return arguments.length?h(Array.from(t,rW)):h().map(rz)},c.ticks=function(e){var r=h();return t(r[0],r[r.length-1],null==e?10:e)},c.tickFormat=function(t,e){return null==e?w:u(e)},c.nice=function(t){var r=h();return t&&"function"==typeof t.range||(t=e(r[0],r[r.length-1],null==t?10:t)),t?h(tN(r,t)):c},c.copy=function(){return tx(c,rH(t,e,r,n,i,o,a,s,l,u))},c}function rX(){return tS.C.apply(rH(eC,eI,ej,eA,eu,eo,en,ee,et,l).domain([new Date(2e3,0,1),new Date(2e3,0,2)]),arguments)}function rq(){return tS.C.apply(rH(eM,ek,eP,eE,eg,ea,ei,er,et,u).domain([Date.UTC(2e3,0,1),Date.UTC(2e3,0,2)]),arguments)}function rK(){var t,e,r,n,i,o=0,a=1,s=tm,l=!1;function u(e){return null==e||isNaN(e*=1)?i:s(0===r?.5:(e=(n(e)-t)*r,l?Math.max(0,Math.min(1,e)):e))}function c(t){return function(e){var r,n;return arguments.length?([r,n]=e,s=t(r,n),u):[s(0),s(1)]}}return u.domain=function(i){return arguments.length?([o,a]=i,t=n(o*=1),e=n(a*=1),r=t===e?0:1/(e-t),u):[o,a]},u.clamp=function(t){return arguments.length?(l=!!t,u):l},u.interpolator=function(t){return arguments.length?(s=t,u):s},u.range=c(th),u.rangeRound=c(tp),u.unknown=function(t){return arguments.length?(i=t,u):i}
1,function(i){return n=i,t=i(o),e=i(a),r=t===e?0:1/(e-t),u}}function rY(t,e){return e.domain(t.domain()).interpolator(t.interpolator()).clamp(t.clamp()).unknown(t.unknown())}function rG(){var t=tZ(rK());return t.copy=function(){return rY(t,rG()).exponent(t.exponent())},tS.K.apply(t,arguments)}function rJ(){return rG.apply(null,arguments).exponent(.5)}function rZ(){var t,e,r,n,i,o,a,s=0,l=.5,u=1,c=1,f=tm,h=!1;function p(t){return isNaN(t*=1)?a:(t=.5+((t=+o(t))-e)*(c*t<c*e?n:i),f(h?Math.max(0,Math.min(1,t)):t))}function d(t){return function(e){var r,n,i;return arguments.length?([r,n,i]=e,f=function(t,e){void 0===e&&(e=t,t=th);for(var r=0,n=e.length-1,i=e[0],o=Array(n<0?0:n);r<n;)o[r]=t(i,i=e[++r]);return function(t){var e=Math.max(0,Math.min(n-1,Math.floor(t*=n)));return o[e](t-e)}}(t,[r,n,i]),p):[f(0),f(.5),f(1)]}}return p.domain=function(a){return arguments.length?([s,l,u]=a,t=o(s*=1),e=o(l*=1),r=o(u*=1),n=t===e?0:.5/(e-t),i=e===r?0:.5/(r-e),c=e<t?-1:1,p):[s,l,u]},p.clamp=function(t){return arguments.length?(h=!!t,p):h},p.interpolator=function(t){return arguments.length?(f=t,p):f},p.range=d(th),p.rangeRound=d(tp),p.unknown=function(t){return arguments.length?(a=t,p):a},function(a){return o=a,t=a(s),e=a(l),r=a(u),n=t===e?0:.5/(e-t),i=e===r?0:.5/(r-e),c=e<t?-1:1,p}}function rQ(){var t=tZ(rZ());return t.copy=function(){return rY(t,rQ()).exponent(t.exponent())},tS.K.apply(t,arguments)}function r0(){return rQ.apply(null,arguments).exponent(.5)}function r1(t,e){if((i=t.length)>1)for(var r,n,i,o=1,a=t[e[0]],s=a.length;o<i;++o)for(n=a,a=t[e[o]],r=0;r<s;++r)a[r][1]+=a[r][0]=isNaN(n[r][1])?n[r][0]:n[r][1]}l=(s=function(t){var e=t.dateTime,r=t.date,n=t.time,i=t.periods,o=t.days,a=t.shortDays,s=t.months,l=t.shortMonths,u=e$(i),c=ez(i),f=e$(o),h=ez(o),p=e$(a),d=ez(a),y=e$(s),m=ez(s),g=e$(l),v=ez(l),b={a:function(t){return a[t.getDay()]},A:function(t){return o[t.getDay()]},b:function(t){return l[t.getMonth()]},B:function(t){return s[t.getMonth()]},c:null,d:rt,e:rt,f:ro,g:rm,G:rv,H:re,I:rr,j:rn,L:ri,m:ra,M:rs,p:function(t){return i[+(t.getHours()>=12)]},q:function(t){return 1+~~(t.getMonth()/3)},Q:rV,s:r$,S:rl,u:ru,U:rc,V:rh,w:rp,W:rd,x:null,X:null,y:ry,Y:rg,Z:rb,"%":rF},x={a:function(t){return a[t.getUTCDay()]},A:function(t){return o[t.getUTCDay()]},b:function(t){return l[t.getUTCMonth()]},B:function(t){return s[t.getUTCMonth()]},c:null,d:rx,e:rx,f:rE,g:rR,G:rL,H:rw,I:rO,j:rS,L:rA,m:rj,M:rP,p:function(t){return i[+(t.getUTCHours()>=12)]},q:function(t){return 1+~~(t.getUTCMonth()/3)},Q:rV,s:r$,S:rT,u:rM,U:rk,V:rI,w:r_,W:rD,x:null,X:null,y:rB,Y:rN,Z:rU,"%":rF},w={a:function(t,e,r){var n=p.exec(e.slice(r));return n?(t.w=d.get(n[0].toLowerCase()),r+n[0].length):-1},A:function(t,e,r){var n=f.exec(e.slice(r));return n?(t.w=h.get(n[0].toLowerCase()),r+n[0].length):-1},b:function(t,e,r){var n=g.exec(e.slice(r));return n?(t.m=v.get(n[0].toLowerCase()),r+n[0].length):-1},B:function(t,e,r){var n=y.exec(e.slice(r));return n?(t.m=m.get(n[0].toLowerCase()),r+n[0].length):-1},c:function(t,r,n){return A(t,e,r,n)},d:e0,e:e0,f:e8,g:eG,G:eY,H:e2,I:e2,j:e1,L:e6,m:eQ,M:e5,p:function(t,e,r){var n=u.exec(e.slice(r));return n?(t.p=c.get(n[0].toLowerCase()),r+n[0].length):-1},q:eZ,Q:e9,s:e7,S:e3,u:eH,U:eX,V:eq,w:eW,W:eK,x:function(t,e,n){return A(t,r,e,n)},X:function(t,e,r){return A(t,n,e,r)},y:eG,Y:eY,Z:eJ,"%":e4};function O(t,e){return function(r){var n,i,o,a=[],s=-1,l=0,u=t.length;for(r instanceof Date||(r=new Date(+r));++s<u;)37===t.charCodeAt(s)&&(a.push(t.slice(l,s)),null!=(i=eR[n=t.charAt(++s)])?n=t.charAt(++s):i="e"===n?" ":"0",(o=e[n])&&(n=o(r,i)),a.push(n),l=s+1);return a.push(t.slice(l,s)),a.join("")}}function S(t,e){return function(r){var n,i,o=eB(1900,void 0,1);if(A(o,t,r+="",0)!=r.length)return null;if("Q"in o)return new Date(o.Q);if("s"in o)return new Date(1e3*o.s+("L"in o?o.L:0));if(!e||"Z"in o||(o.Z=0),"p"in o&&(o.H=o.H%12+12*o.p),void 0===o.m&&(o.m="q"in o?o.q:0),"V"in o){if(o.V<1||o.V>53)return null;"w"in o||(o.w=1),"Z"in o?(n=(i=(n=eD(eB(o.y,0,1))).getUTCDay())>4||0===i?ev.ceil(n):ev(n),n=ea.offset(n,(o.V-1)*7),o.y=n.getUTCFullYear(),o.m=n.getUTCMonth(),o.d=n.getUTCDate()+(o.w+6)%7):(n=(i=(n=e_(eB(o.y,0,1))).getDay())>4||0===i?ec.ceil(n):ec(n),n=eo.offset(n,(o.V-1)*7),o.y=n.getFullYear(),o.m=n.getMonth(),o.d=n.getDate()+(o.w+6)%7)}else("W"in o||"U"in o)&&("w"in o||(o.w="u"in o?o.u%7:+("W"in o)),i="Z"in o?eD(eB(o.y,0,1)).getUTCDay():e_(eB(o.y,0,1)).getDay(),o.m=0,o.d="W"in o?(o.w+6)%7+7*
1o.W-(i+5)%7:o.w+7*o.U-(i+6)%7);return"Z"in o?(o.H+=o.Z/100|0,o.M+=o.Z%100,eD(o)):e_(o)}}function A(t,e,r,n){for(var i,o,a=0,s=e.length,l=r.length;a<s;){if(n>=l)return -1;if(37===(i=e.charCodeAt(a++))){if(!(o=w[(i=e.charAt(a++))in eR?e.charAt(a++):i])||(n=o(t,r,n))<0)return -1}else if(i!=r.charCodeAt(n++))return -1}return n}return b.x=O(r,b),b.X=O(n,b),b.c=O(e,b),x.x=O(r,x),x.X=O(n,x),x.c=O(e,x),{format:function(t){var e=O(t+="",b);return e.toString=function(){return t},e},parse:function(t){var e=S(t+="",!1);return e.toString=function(){return t},e},utcFormat:function(t){var e=O(t+="",x);return e.toString=function(){return t},e},utcParse:function(t){var e=S(t+="",!0);return e.toString=function(){return t},e}}}({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","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"]})).format,s.parse,u=s.utcFormat,s.utcParse;var r2=r(9819),r5=r(85654);function r3(t){for(var e=t.length,r=Array(e);--e>=0;)r[e]=e;return r}function r6(t,e){return t[e]}function r8(t){let e=[];return e.key=t,e}var r4=r(22315),r9=r.n(r4),r7=r(89053),nt=r.n(r7),ne=r(59882),nr=r.n(ne),nn=r(40139),ni=r.n(nn),no=r(15438),na=r.n(no),ns=r(48973),nl=r.n(ns),nu=r(3698),nc=r.n(nu),nf=r(13908),nh=r.n(nf),np=r(23633),nd=r.n(np),ny=r(60245),nm=r.n(ny),ng=r(67206),nv=r.n(ng),nb=r(8870),nx=r.n(nb);function nw(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}var nO=function(t){return t},nS={},nA=function(t){return t===nS},nE=function(t){return function e(){return 0==arguments.length||1==arguments.length&&nA(arguments.length<=0?void 0:arguments[0])?e:t.apply(void 0,arguments)}},nj=function(t){return function t(e,r){return 1===e?r:nE(function(){for(var n=arguments.length,i=Array(n),o=0;o<n;o++)i[o]=arguments[o];var a=i.filter(function(t){return t!==nS}).length;return a>=e?r.apply(void 0,i):t(e-a,nE(function(){for(var t=arguments.length,e=Array(t),n=0;n<t;n++)e[n]=arguments[n];var o=i.map(function(t){return nA(t)?e.shift():t});return r.apply(void 0,((function(t){if(Array.isArray(t))return nw(t)})(o)||function(t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}(o)||function(t,e){if(t){if("string"==typeof t)return nw(t,void 0);var r=Object.prototype.toString.call(t).slice(8,-1);if("Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return nw(t,e)}}(o)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()).concat(e))}))})}(t.length,t)},nP=function(t,e){for(var r=[],n=t;n<e;++n)r[n-t]=n;return r},nT=nj(function(t,e){return Array.isArray(e)?e.map(t):Object.keys(e).map(function(t){return e[t]}).map(t)}),nM=function(){for(var t=arguments.length,e=Array(t),r=0;r<t;r++)e[r]=arguments[r];if(!e.length)return nO;var n=e.reverse(),i=n[0],o=n.slice(1);return function(){return o.reduce(function(t,e){return e(t)},i.apply(void 0,arguments))}},nk=function(t){return Array.isArray(t)?t.reverse():t.split("").reverse.join("")},nC=function(t){var e=null,r=null;return function(){for(var n=arguments.length,i=Array(n),o=0;o<n;o++)i[o]=arguments[o];return e&&i.every(function(t,r){return t===e[r]})?r:(e=i,r=t.apply(void 0,i))}};nj(function(t,e,r){var n=+t;return n+r*(e-n)}),nj(function(t,e,r){var n=e-t;return(r-t)/(n=n||1/0)}),nj(function(t,e,r){var n=e-t;return Math.max(0,Math.min(1,(r-t)/(n=n||1/0)))});let nI={rangeStep:function(t,e,r){for(var n=new(nx())(t),i=0,o=[];n.lt(e)&&i<1e5;)o.push(n.toNumber()),n=n.add(r),i++;return o},getDigitCount:function(t){var e;return 0===t?1:Math.floor(new(nx())(t).abs().log(10).toNumber())+1}};function n_(t){return function(t){if(Array.isArray(t))return nR(t)}(t)||function(t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}(t)||nB(t)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function nD(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t)){var r=[],n=!0,i=!1,o=void 0;try{for(var a,s=t[Symbol.iterator]();!(n=(a=s.next()).done)&&(r.push(a.value),!e||r.length!==e);n=!0);}catch(t){i=!0,o=t}finally{try{n||null==s.return||s.return()}finally{if(i)throw o}}return r}}(t,e)||nB(t,e)||function(){throw TypeError("Invalid attempt to de
1structure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function nB(t,e){if(t){if("string"==typeof t)return nR(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);if("Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return nR(t,e)}}function nR(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function nN(t){var e=nD(t,2),r=e[0],n=e[1],i=r,o=n;return r>n&&(i=n,o=r),[i,o]}function nL(t,e,r){if(t.lte(0))return new(nx())(0);var n=nI.getDigitCount(t.toNumber()),i=new(nx())(10).pow(n),o=t.div(i),a=1!==n?.05:.1,s=new(nx())(Math.ceil(o.div(a).toNumber())).add(r).mul(a).mul(i);return e?s:new(nx())(Math.ceil(s))}function nU(t,e,r){var n=1,i=new(nx())(t);if(!i.isint()&&r){var o=Math.abs(t);o<1?(n=new(nx())(10).pow(nI.getDigitCount(t)-1),i=new(nx())(Math.floor(i.div(n).toNumber())).mul(n)):o>1&&(i=new(nx())(Math.floor(t)))}else 0===t?i=new(nx())(Math.floor((e-1)/2)):r||(i=new(nx())(Math.floor(t)));var a=Math.floor((e-1)/2);return nM(nT(function(t){return i.add(new(nx())(t-a).mul(n)).toNumber()}),nP)(0,e)}var nF=nC(function(t){var e=nD(t,2),r=e[0],n=e[1],i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:6,o=!(arguments.length>2)||void 0===arguments[2]||arguments[2],a=Math.max(i,2),s=nD(nN([r,n]),2),l=s[0],u=s[1];if(l===-1/0||u===1/0){var c=u===1/0?[l].concat(n_(nP(0,i-1).map(function(){return 1/0}))):[].concat(n_(nP(0,i-1).map(function(){return-1/0})),[u]);return r>n?nk(c):c}if(l===u)return nU(l,i,o);var f=function t(e,r,n,i){var o,a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0;if(!Number.isFinite((r-e)/(n-1)))return{step:new(nx())(0),tickMin:new(nx())(0),tickMax:new(nx())(0)};var s=nL(new(nx())(r).sub(e).div(n-1),i,a),l=Math.ceil((o=e<=0&&r>=0?new(nx())(0):(o=new(nx())(e).add(r).div(2)).sub(new(nx())(o).mod(s))).sub(e).div(s).toNumber()),u=Math.ceil(new(nx())(r).sub(o).div(s).toNumber()),c=l+u+1;return c>n?t(e,r,n,i,a+1):(c<n&&(u=r>0?u+(n-c):u,l=r>0?l:l+(n-c)),{step:s,tickMin:o.sub(new(nx())(l).mul(s)),tickMax:o.add(new(nx())(u).mul(s))})}(l,u,a,o),h=f.step,p=f.tickMin,d=f.tickMax,y=nI.rangeStep(p,d.add(new(nx())(.1).mul(h)),h);return r>n?nk(y):y});nC(function(t){var e=nD(t,2),r=e[0],n=e[1],i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:6,o=!(arguments.length>2)||void 0===arguments[2]||arguments[2],a=Math.max(i,2),s=nD(nN([r,n]),2),l=s[0],u=s[1];if(l===-1/0||u===1/0)return[r,n];if(l===u)return nU(l,i,o);var c=nL(new(nx())(u).sub(l).div(a-1),o,0),f=nM(nT(function(t){return new(nx())(l).add(new(nx())(t).mul(c)).toNumber()}),nP)(0,a).filter(function(t){return t>=l&&t<=u});return r>n?nk(f):f});var nV=nC(function(t,e){var r=nD(t,2),n=r[0],i=r[1],o=!(arguments.length>2)||void 0===arguments[2]||arguments[2],a=nD(nN([n,i]),2),s=a[0],l=a[1];if(s===-1/0||l===1/0)return[n,i];if(s===l)return[s];var u=Math.max(e,2),c=nL(new(nx())(l).sub(s).div(u-1),o,0),f=[].concat(n_(nI.rangeStep(new(nx())(s),new(nx())(l).sub(new(nx())(.99).mul(c)),c)),[l]);return n>i?nk(f):f}),n$=r(12115),nz=r(93179),nW=r(2348),nH=r(70788),nX=["offset","layout","width","dataKey","data","dataPointFormatter","xAxis","yAxis"];function nq(t){return(nq="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function nK(){return(nK=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}function nY(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function nG(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(nG=function(){return!!t})()}function nJ(t){return(nJ=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}
1function nZ(t,e){return(nZ=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function nQ(t,e,r){return(e=n0(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function n0(t){var e=function(t,e){if("object"!=nq(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=nq(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==nq(e)?e:e+""}var n1=function(t){var e;function r(){var t,e;if(!(this instanceof r))throw TypeError("Cannot call a class as a function");return t=r,e=arguments,t=nJ(t),function(t,e){if(e&&("object"===nq(e)||"function"==typeof e))return e;if(void 0!==e)throw TypeError("Derived constructors may only return object or undefined");var r=t;if(void 0===r)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return r}(this,nG()?Reflect.construct(t,e||[],nJ(this).constructor):t.apply(this,e))}if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");return r.prototype=Object.create(t&&t.prototype,{constructor:{value:r,writable:!0,configurable:!0}}),Object.defineProperty(r,"prototype",{writable:!1}),t&&nZ(r,t),e=[{key:"render",value:function(){var t=this.props,e=t.offset,r=t.layout,n=t.width,i=t.dataKey,o=t.data,a=t.dataPointFormatter,s=t.xAxis,l=t.yAxis,u=function(t,e){if(null==t)return{};var r,n,i=function(t,e){if(null==t)return{};var r={};for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)){if(e.indexOf(n)>=0)continue;r[n]=t[n]}return r}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(n=0;n<o.length;n++)r=o[n],!(e.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(i[r]=t[r])}return i}(t,nX),c=(0,nH.J9)(u,!1);"x"===this.props.direction&&"number"!==s.type&&(0,nz.A)(!1);var f=o.map(function(t){var o,u,f=a(t,i),h=f.x,p=f.y,d=f.value,y=f.errorVal;if(!y)return null;var m=[];if(Array.isArray(y)){var g=function(t){if(Array.isArray(t))return t}(y)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,i,o,a,s=[],l=!0,u=!1;try{o=(r=r.call(t)).next,!1;for(;!(l=(n=o.call(r)).done)&&(s.push(n.value),s.length!==e);l=!0);}catch(t){u=!0,i=t}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(u)throw i}}return s}}(y,2)||function(t,e){if(t){if("string"==typeof t)return nY(t,2);var r=Object.prototype.toString.call(t).slice(8,-1);if("Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return nY(t,e)}}(y,2)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}();o=g[0],u=g[1]}else o=u=y;if("vertical"===r){var v=s.scale,b=p+e,x=b+n,w=b-n,O=v(d-o),S=v(d+u);m.push({x1:S,y1:x,x2:S,y2:w}),m.push({x1:O,y1:b,x2:S,y2:b}),m.push({x1:O,y1:x,x2:O,y2:w})}else if("horizontal"===r){var A=l.scale,E=h+e,j=E-n,P=E+n,T=A(d-o),M=A(d+u);m.push({x1:j,y1:M,x2:P,y2:M}),m.push({x1:E,y1:T,x2:E,y2:M}),m.push({x1:j,y1:T,x2:P,y2:T})}return n$.createElement(nW.W,nK({className:"recharts-errorBar",key:"bar-".concat(m.map(function(t){return"".concat(t.x1,"-").concat(t.x2,"-").concat(t.y1,"-").concat(t.y2)}))},c),m.map(function(t){return n$.createElement("line",nK({},t,{key:"line-".concat(t.x1,"-").concat(t.x2,"-").concat(t.y1,"-").concat(t.y2)}))}))});return n$.createElement(nW.W,{className:"recharts-errorBars"},f)}}],function(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n0(n.key),n)}}(r.prototype,e),Object.defineProperty(r,"prototype",{writable:!1}),r}(n$.Component);nQ(n1,"defaultProps",{stroke:"black",strokeWidth:1.5,width:5,offset:0,layout:"horizontal"}),nQ(n1,"displayName","ErrorBar");var n2=r(16377),n5=r(83197);function n3(t){return(n3="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function n6(t){return function(t){if(Array.isArray(t))return n8(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(t){if("string"==typeof t)return n8(t,void 0);var r=Object.prototype.toString.call(t).slice(8,-1);if("Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return n8(t,e)}}(t)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function n8(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function n4(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function n9(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};
1e%2?n4(Object(r),!0).forEach(function(e){n7(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):n4(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function n7(t,e,r){var n;return(n=function(t,e){if("object"!=n3(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=n3(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(e,"string"),(e="symbol"==n3(n)?n:n+"")in t)?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function it(t,e,r){return nr()(t)||nr()(e)?r:(0,n2.vh)(e)?nl()(t,e,r):ni()(e)?e(t):r}function ie(t,e,r,n){var i=nc()(t,function(t){return it(t,e)});if("number"===r){var o=i.filter(function(t){return(0,n2.Et)(t)||parseFloat(t)});return o.length?[nt()(o),r9()(o)]:[1/0,-1/0]}return(n?i.filter(function(t){return!nr()(t)}):i).map(function(t){return(0,n2.vh)(t)||t instanceof Date?t:""})}var ir=function(t){var e,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>2?arguments[2]:void 0,i=arguments.length>3?arguments[3]:void 0,o=-1,a=null!=(e=null==r?void 0:r.length)?e:0;if(a<=1)return 0;if(i&&"angleAxis"===i.axisType&&1e-6>=Math.abs(Math.abs(i.range[1]-i.range[0])-360))for(var s=i.range,l=0;l<a;l++){var u=l>0?n[l-1].coordinate:n[a-1].coordinate,c=n[l].coordinate,f=l>=a-1?n[0].coordinate:n[l+1].coordinate,h=void 0;if((0,n2.sA)(c-u)!==(0,n2.sA)(f-c)){var p=[];if((0,n2.sA)(f-c)===(0,n2.sA)(s[1]-s[0])){h=f;var d=c+s[1]-s[0];p[0]=Math.min(d,(d+u)/2),p[1]=Math.max(d,(d+u)/2)}else{h=u;var y=f+s[1]-s[0];p[0]=Math.min(c,(y+c)/2),p[1]=Math.max(c,(y+c)/2)}var m=[Math.min(c,(h+c)/2),Math.max(c,(h+c)/2)];if(t>m[0]&&t<=m[1]||t>=p[0]&&t<=p[1]){o=n[l].index;break}}else{var g=Math.min(u,f),v=Math.max(u,f);if(t>(g+c)/2&&t<=(v+c)/2){o=n[l].index;break}}}else for(var b=0;b<a;b++)if(0===b&&t<=(r[b].coordinate+r[b+1].coordinate)/2||b>0&&b<a-1&&t>(r[b].coordinate+r[b-1].coordinate)/2&&t<=(r[b].coordinate+r[b+1].coordinate)/2||b===a-1&&t>(r[b].coordinate+r[b-1].coordinate)/2){o=r[b].index;break}return o},ii=function(t){var e,r,n=t.type.displayName,i=null!=(e=t.type)&&e.defaultProps?n9(n9({},t.type.defaultProps),t.props):t.props,o=i.stroke,a=i.fill;switch(n){case"Line":r=o;break;case"Area":case"Radar":r=o&&"none"!==o?o:a;break;default:r=a}return r},io=function(t){var e=t.barSize,r=t.totalSize,n=t.stackGroups,i=void 0===n?{}:n;if(!i)return{};for(var o={},a=Object.keys(i),s=0,l=a.length;s<l;s++)for(var u=i[a[s]].stackGroups,c=Object.keys(u),f=0,h=c.length;f<h;f++){var p=u[c[f]],d=p.items,y=p.cateAxisId,m=d.filter(function(t){return(0,nH.Mn)(t.type).indexOf("Bar")>=0});if(m&&m.length){var g=m[0].type.defaultProps,v=void 0!==g?n9(n9({},g),m[0].props):m[0].props,b=v.barSize,x=v[y];o[x]||(o[x]=[]);var w=nr()(b)?e:b;o[x].push({item:m[0],stackList:m.slice(1),barSize:nr()(w)?void 0:(0,n2.F4)(w,r,0)})}}return o},ia=function(t){var e,r=t.barGap,n=t.barCategoryGap,i=t.bandSize,o=t.sizeList,a=void 0===o?[]:o,s=t.maxBarSize,l=a.length;if(l<1)return null;var u=(0,n2.F4)(r,i,0,!0),c=[];if(a[0].barSize===+a[0].barSize){var f=!1,h=i/l,p=a.reduce(function(t,e){return t+e.barSize||0},0);(p+=(l-1)*u)>=i&&(p-=(l-1)*u,u=0),p>=i&&h>0&&(f=!0,h*=.9,p=l*h);var d={offset:((i-p)/2|0)-u,size:0};e=a.reduce(function(t,e){var r={item:e.item,position:{offset:d.offset+d.size+u,size:f?h:e.barSize}},n=[].concat(n6(t),[r]);return d=n[n.length-1].position,e.stackList&&e.stackList.length&&e.stackList.forEach(function(t){n.push({item:t,position:d})}),n},c)}else{var y=(0,n2.F4)(n,i,0,!0);i-2*y-(l-1)*u<=0&&(u=0);var m=(i-2*y-(l-1)*u)/l;m>1&&(m>>=0);var g=s===+s?Math.min(m,s):m;e=a.reduce(function(t,e,r){var n=[].concat(n6(t),[{item:e.item,position:{offset:y+(m+u)*r+(m-g)/2,size:g}}]);return e.stackList&&e.stackList.length&&e.stackList.forEach(function(t){n.push({item:t,position:n[n.length-1].position})}),n},c)}return e},is=function(t,e,r,n){var i=r.children,o=r.width,a=r.margin,s=o-(a.left||0)-(a.right||0),l=(0,n5.g)({children:i,legendWidth:s});if(l){var u=n||{},c=u.width,f=u.height,h=l.align,p=l.verticalAlign,d=l.layout;if(("vertical"===d||"horizontal"===d&&"middle"===p)&&"center"!==h&&
1(0,n2.Et)(t[h]))return n9(n9({},t),{},n7({},h,t[h]+(c||0)));if(("horizontal"===d||"vertical"===d&&"center"===h)&&"middle"!==p&&(0,n2.Et)(t[p]))return n9(n9({},t),{},n7({},p,t[p]+(f||0)))}return t},il=function(t,e,r,n,i){var o=e.props.children,a=(0,nH.aS)(o,n1).filter(function(t){var e;return e=t.props.direction,!!nr()(i)||("horizontal"===n?"yAxis"===i:"vertical"===n||"x"===e?"xAxis"===i:"y"!==e||"yAxis"===i)});if(a&&a.length){var s=a.map(function(t){return t.props.dataKey});return t.reduce(function(t,e){var n=it(e,r);if(nr()(n))return t;var i=Array.isArray(n)?[nt()(n),r9()(n)]:[n,n],o=s.reduce(function(t,r){var n=it(e,r,0),o=i[0]-Math.abs(Array.isArray(n)?n[0]:n),a=i[1]+Math.abs(Array.isArray(n)?n[1]:n);return[Math.min(o,t[0]),Math.max(a,t[1])]},[1/0,-1/0]);return[Math.min(o[0],t[0]),Math.max(o[1],t[1])]},[1/0,-1/0])}return null},iu=function(t,e,r,n,i){var o=e.map(function(e){return il(t,e,r,i,n)}).filter(function(t){return!nr()(t)});return o&&o.length?o.reduce(function(t,e){return[Math.min(t[0],e[0]),Math.max(t[1],e[1])]},[1/0,-1/0]):null},ic=function(t,e,r,n,i){var o=e.map(function(e){var o=e.props.dataKey;return"number"===r&&o&&il(t,e,o,n)||ie(t,o,r,i)});if("number"===r)return o.reduce(function(t,e){return[Math.min(t[0],e[0]),Math.max(t[1],e[1])]},[1/0,-1/0]);var a={};return o.reduce(function(t,e){for(var r=0,n=e.length;r<n;r++)a[e[r]]||(a[e[r]]=!0,t.push(e[r]));return t},[])},ih=function(t,e){return"horizontal"===t&&"xAxis"===e||"vertical"===t&&"yAxis"===e||"centric"===t&&"angleAxis"===e||"radial"===t&&"radiusAxis"===e},ip=function(t,e,r){if(!t)return null;var n=t.scale,i=t.duplicateDomain,o=t.type,a=t.range,s="scaleBand"===t.realScaleType?n.bandwidth()/2:2,l=(e||r)&&"category"===o&&n.bandwidth?n.bandwidth()/s:0;return(l="angleAxis"===t.axisType&&(null==a?void 0:a.length)>=2?2*(0,n2.sA)(a[0]-a[1])*l:l,e&&(t.ticks||t.niceTicks))?(t.ticks||t.niceTicks).map(function(t){return{coordinate:n(i?i.indexOf(t):t)+l,value:t,offset:l}}).filter(function(t){return!nh()(t.coordinate)}):t.isCategorical&&t.categoricalDomain?t.categoricalDomain.map(function(t,e){return{coordinate:n(t)+l,value:t,index:e,offset:l}}):n.ticks&&!r?n.ticks(t.tickCount).map(function(t){return{coordinate:n(t)+l,value:t,offset:l}}):n.domain().map(function(t,e){return{coordinate:n(t)+l,value:i?i[t]:t,index:e,offset:l}})},id=new WeakMap,iy=function(t,e){if("function"!=typeof e)return t;id.has(t)||id.set(t,new WeakMap);var r=id.get(t);if(r.has(e))return r.get(e);var n=function(){t.apply(void 0,arguments),e.apply(void 0,arguments)};return r.set(e,n),n},im=function(t,e,r){var n=t.scale,i=t.type,o=t.layout,a=t.axisType;if("auto"===n)return"radial"===o&&"radiusAxis"===a?{scale:f.A(),realScaleType:"band"}:"radial"===o&&"angleAxis"===a?{scale:tR(),realScaleType:"linear"}:"category"===i&&e&&(e.indexOf("LineChart")>=0||e.indexOf("AreaChart")>
1=0||e.indexOf("ComposedChart")>=0&&!r)?{scale:f.z(),realScaleType:"point"}:"category"===i?{scale:f.A(),realScaleType:"band"}:{scale:tR(),realScaleType:"linear"};if(na()(n)){var s="scale".concat(nd()(n));return{scale:(c[s]||f.z)(),realScaleType:c[s]?s:"point"}}return ni()(n)?{scale:n}:{scale:f.z(),realScaleType:"point"}},ig=function(t){var e=t.domain();if(e&&!(e.length<=2)){var r=e.length,n=t.range(),i=Math.min(n[0],n[1])-1e-4,o=Math.max(n[0],n[1])+1e-4,a=t(e[0]),s=t(e[r-1]);(a<i||a>o||s<i||s>o)&&t.domain([e[0],e[r-1]])}},iv={sign:function(t){var e=t.length;if(!(e<=0))for(var r=0,n=t[0].length;r<n;++r)for(var i=0,o=0,a=0;a<e;++a){var s=nh()(t[a][r][1])?t[a][r][0]:t[a][r][1];s>=0?(t[a][r][0]=i,t[a][r][1]=i+s,i=t[a][r][1]):(t[a][r][0]=o,t[a][r][1]=o+s,o=t[a][r][1])}},expand:function(t,e){if((n=t.length)>0){for(var r,n,i,o=0,a=t[0].length;o<a;++o){for(i=r=0;r<n;++r)i+=t[r][o][1]||0;if(i)for(r=0;r<n;++r)t[r][o][1]/=i}r1(t,e)}},none:r1,silhouette:function(t,e){if((r=t.length)>0){for(var r,n=0,i=t[e[0]],o=i.length;n<o;++n){for(var a=0,s=0;a<r;++a)s+=t[a][n][1]||0;i[n][1]+=i[n][0]=-s/2}r1(t,e)}},wiggle:function(t,e){if((i=t.length)>0&&(n=(r=t[e[0]]).length)>0){for(var r,n,i,o=0,a=1;a<n;++a){for(var s=0,l=0,u=0;s<i;++s){for(var c=t[e[s]],f=c[a][1]||0,h=(f-(c[a-1][1]||0))/2,p=0;p<s;++p){var d=t[e[p]];h+=(d[a][1]||0)-(d[a-1][1]||0)}l+=f,u+=h*f}r[a-1][1]+=r[a-1][0]=o,l&&(o-=u/l)}r[a-1][1]+=r[a-1][0]=o,r1(t,e)}},positive:function(t){var e=t.length;if(!(e<=0))for(var r=0,n=t[0].length;r<n;++r)for(var i=0,o=0;o<e;++o){var a=nh()(t[o][r][1])?t[o][r][0]:t[o][r][1];a>=0?(t[o][r][0]=i,t[o][r][1]=i+a,i=t[o][r][1]):(t[o][r][0]=0,t[o][r][1]=0)}}},ib=function(t,e,r){var n=e.map(function(t){return t.props.dataKey}),i=iv[r];return(function(){var t=(0,r5.A)([]),e=r3,r=r1,n=r6;function i(i){var o,a,s=Array.from(t.apply(this,arguments),r8),l=s.length,u=-1;for(let t of i)for(o=0,++u;o<l;++o)(s[o][u]=[0,+n(t,s[o].key,u,i)]).data=t;for(o=0,a=(0,r2.A)(e(s));o<l;++o)s[a[o]].index=o;return r(s,a),s}return i.keys=function(e){return arguments.length?(t="function"==typeof e?e:(0,r5.A)(Array.from(e)),i):t},i.value=function(t){return arguments.length?(n="function"==typeof t?t:(0,r5.A)(+t),i):n},i.order=function(t){return arguments.length?(e=null==t?r3:"function"==typeof t?t:(0,r5.A)(Array.from(t)),i):e},i.offset=function(t){return arguments.length?(r=null==t?r1:t,i):r},i})().keys(n).value(function(t,e){return+it(t,e,0)}).order(r3).offset(i)(t)},ix=function(t,e,r,n,i,o){if(!t)return null;var a=(o?e.reverse():e).reduce(function(t,e){var i,o=null!=(i=e.type)&&i.defaultProps?n9(n9({},e.type.defaultProps),e.props):e.props,a=o.stackId;if(o.hide)return t;var s=o[r],l=t[s]||{hasStack:!1,stackGroups:{}};if((0,n2.vh)(a)){var u=l.stackGroups[a]||{numericAxisId:r,cateAxisId:n,items:[]};u.items.push(e),l.hasStack=!0,l.stackGroups[a]=u}else l.stackGroups[(0,n2.NF)("_stackId_")]={numericAxisId:r,cateAxisId:n,items:[e]};return n9(n9({},t),{},n7({},s,l))},{});return Object.keys(a).reduce(function(e,o){var s=a[o];return s.hasStack&&(s.stackGroups=Object.keys(s.stackGroups).reduce(function(e,o){var a=s.stackGroups[o];return n9(n9({},e),{},n7({},o,{numericAxisId:r,cateAxisId:n,items:a.items,stackedData:ib(t,a.items,i)}))},{})),n9(n9({},e),{},n7({},o,s))},{})},iw=function(t,e){var r=e.realScaleType,n=e.type,i=e.tickCount,o=e.originalDomain,a=e.allowDecimals,s=r||e.scale;if("auto"!==s&&"linear"!==s)return null;if(i&&"number"===n&&o&&("auto"===o[0]||"auto"===o[1])){var l=t.domain();if(!l.length)return null;var u=nF(l,i,a);return t.domain([nt()(u),r9()(u)]),{niceTicks:u}}return i&&"number"===n?{niceTicks:nV(t.domain(),i,a)}:null},iO=function(t,e){var r,n=(null!=(r=t.type)&&r.defaultProps?n9(n9({},t.type.defaultProps),t.props):t.props).stackId;if((0,n2.vh)(n)){var i=e[n];if(i){var o=i.items.indexOf(t);return o>=0?i.stackedData[o]:null}}return null},iS=function(t,e,r){return Object.keys(t).reduce(function(n,i){var o=t[i].stackedData.reduce(function(t,n){var i=n.slice(e,r+1).reduce(function(t,e){return[nt()(e.concat([t[0]]).filter(n2.Et)),r9()(e.concat([t[1]]).filter(n2.Et))]},[1/0,-1/0]);return[Math.min(t[0],i[0]),Math.max(t[1],i[1])]},[1/0,-1/0]);return[Math.min(o[0],n[0]),Math.max(o[1],n[1])]},[1/0,-1/0]).map(function(t){return t===1/0||t===-1/0?0:t})},iA=/^dataMin[\s]*-[\s]*([0-9]+([.]{1}[0-9]+){0,1})$/,iE=/^dataMax[\s]*\+[\s]*([0-9]+([.]{1}[0-9]+){0,1})$/,ij=function(t,e,r){if(ni()(t))return t(e,r);if(!Array.isArray(t))return e;var n=[];if((0,n2.Et)(t[0]))n[0]=r?t[0]:Math.min(t[0],e[0]);else if(iA.test(t[0])){var i=+iA.exec(t[0])[1];n[0]=e[0]-i}else ni()(t[0])?n[0]=t[0](e[0]):n[0]=e[0];if((0,n2.Et)(t[1]))n[1]=r?t[1]:Math.max(t[1],e[1]);else if(iE.test(t[1])){var o=+iE.exec(t[1])[1];n[1]=e[1]+o}else ni()(t[1])?n[1]=t[1](e[1]):n[1]=e[1];return n},iP=function(t,e,r){if(t&&t.scale&&t.scale.bandwidth){var n=t.scale.bandwidth();if(!r||n>0)return n}if(t&&e&&e.length>=2){for(var i=nv()(e,function(t){return t.coordinate}),o=1/0,a=1,s=i.length;a<s;a++){var l=i[a],u=i[a-1];o=Math.min((l.coordinate||0)-(u.coordinate||0),o)}return o===1/0?0:o}return r?void 0:0},iT=function(t,e,r){return!t||!t.length||nm()(t,nl()(r,"type.defaultProps.domain"))?e:t},iM=function(t,e){var r=t.type.defaultProps?n9(n9({},t.type.defaultProps),t.props):t.props,n=r.dataKey,i=r.name,o=r.unit,a=r.formatter,s=r.tooltipType,l=r.chartType,u=r.hide;return n9(n9({},(0,nH.J9)(t,!1)),{},{dataKey:n,unit:o,formatter:a,name:i||n,color:ii(t),value:it(e,n),type:s,payload:e,chartType:l,hide:u})}},49840:(t,e,r)=>{t=r.nmd(t);var n=r(7985),i=e&&!e.nodeType&&e,o=i&&t&&!t.nodeType&&t,a=o&&o.exports===i&&n.process,s=function(){try{var t=o&&o.require&&o.require("util").t
1ypes;if(t)return t;return a&&a.binding&&a.binding("util")}catch(t){}}();t.exports=s},49872:(t,e,r)=>{var n=r(22471);t.exports=function(t,e){return function(r,i){if(null==r)return r;if(!n(r))return t(r,i);for(var o=r.length,a=e?o:-1,s=Object(r);(e?a--:++a<o)&&!1!==i(s[a],a,s););return r}}},49887:(t,e,r)=>{"use strict";r.d(e,{cY:()=>x,FA:()=>M,g:()=>T,dM:()=>P,u:()=>f,Uj:()=>c,p9:()=>_,Fy:()=>w,bD:()=>function t(e,r){if(e===r)return!0;let n=Object.keys(e),i=Object.keys(r);for(let o of n){if(!i.includes(o))return!1;let n=e[o],a=r[o];if(C(n)&&C(a)){if(!t(n,a))return!1}else if(n!==a)return!1}for(let t of i)if(!n.includes(t))return!1;return!0},T9:()=>b,yU:()=>v,mS:()=>h,Ku:()=>D,ZQ:()=>O,sr:()=>S,zJ:()=>B,zW:()=>E,nr:()=>A,gE:()=>R,eX:()=>j});let n=()=>void 0;var i=r(87358);let o=function(t){let e=[],r=0;for(let n=0;n<t.length;n++){let i=t.charCodeAt(n);i<128?e[r++]=i:(i<2048?e[r++]=i>>6|192:((64512&i)==55296&&n+1<t.length&&(64512&t.charCodeAt(n+1))==56320?(i=65536+((1023&i)<<10)+(1023&t.charCodeAt(++n)),e[r++]=i>>18|240,e[r++]=i>>12&63|128):e[r++]=i>>12|224,e[r++]=i>>6&63|128),e[r++]=63&i|128)}return e},a=function(t){let e=[],r=0,n=0;for(;r<t.length;){let i=t[r++];if(i<128)e[n++]=String.fromCharCode(i);else if(i>191&&i<224){let o=t[r++];e[n++]=String.fromCharCode((31&i)<<6|63&o)}else if(i>239&&i<365){let o=t[r++],a=((7&i)<<18|(63&o)<<12|(63&t[r++])<<6|63&t[r++])-65536;e[n++]=String.fromCharCode(55296+(a>>10)),e[n++]=String.fromCharCode(56320+(1023&a))}else{let o=t[r++],a=t[r++];e[n++]=String.fromCharCode((15&i)<<12|(63&o)<<6|63&a)}}return e.join("")},s={byteToCharMap_:null,charToByteMap_:null,byteToCharMapWebSafe_:null,charToByteMapWebSafe_:null,ENCODED_VALS_BASE:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",get ENCODED_VALS(){return this.ENCODED_VALS_BASE+"+/="},get ENCODED_VALS_WEBSAFE(){return this.ENCODED_VALS_BASE+"-_."},HAS_NATIVE_SUPPORT:"function"==typeof atob,encodeByteArray(t,e){if(!Array.isArray(t))throw Error("encodeByteArray takes an array as a parameter");this.init_();let r=e?this.byteToCharMapWebSafe_:this.byteToCharMap_,n=[];for(let e=0;e<t.length;e+=3){let i=t[e],o=e+1<t.length,a=o?t[e+1]:0,s=e+2<t.length,l=s?t[e+2]:0,u=i>>2,c=(3&i)<<4|a>>4,f=(15&a)<<2|l>>6,h=63&l;!s&&(h=64,o||(f=64)),n.push(r[u],r[c],r[f],r[h])}return n.join("")},encodeString(t,e){return this.HAS_NATIVE_SUPPORT&&!e?btoa(t):this.encodeByteArray(o(t),e)},decodeString(t,e){return this.HAS_NATIVE_SUPPORT&&!e?atob(t):a(this.decodeStringToByteArray(t,e))},decodeStringToByteArray(t,e){this.init_();let r=e?this.charToByteMapWebSafe_:this.charToByteMap_,n=[];for(let e=0;e<t.length;){let i=r[t.charAt(e++)],o=e<t.length?r[t.charAt(e)]:0,a=++e<t.length?r[t.charAt(e)]:64,s=++e<t.length?r[t.charAt(e)]:64;if(++e,null==i||null==o||null==a||null==s)throw new l;let u=i<<2|o>>4;if(n.push(u),64!==a){let t=o<<4&240|a>>2;if(n.push(t),64!==s){let t=a<<6&192|s;n.push(t)}}}return n},init_(){if(!this.byteToCharMap_){this.byteToCharMap_={},this.charToByteMap_={},this.byteToCharMapWebSafe_={},this.charToByteMapWebSafe_={};for(let t=0;t<this.ENCODED_VALS.length;t++)this.byteToCharMap_[t]=this.ENCODED_VALS.charAt(t),this.charToByteMap_[this.byteToCharMap_[t]]=t,this.byteToCharMapWebSafe_[t]=this.ENCODED_VALS_WEBSAFE.charAt(t),this.charToByteMapWebSafe_[this.byteToCharMapWebSafe_[t]]=t,t>=this.ENCODED_VALS_BASE.length&&(this.charToByteMap_[this.ENCODED_VALS_WEBSAFE.charAt(t)]=t,this.charToByteMapWebSafe_[this.ENCODED_VALS.charAt(t)]=t)}}};class l extends Error{constructor(){super(...arguments),this.name="DecodeBase64StringError"}}let u=function(t){let e=o(t);return s.encodeByteArray(e,!0)},c=function(t){return u(t).replace(/\./g,"")},f=function(t){try{return s.decodeString(t,!0)}catch(t){console.error("base64Decode failed: ",t)}return null};function h(){if("undefined"!=typeof self)return self;if("undefined"!=typeof window)return window;if(void 0!==r.g)return r.g;throw Error("Unable to locate global object.")}let p=()=>h().__FIREBASE_DEFAULTS__,d=()=>{if(void 0===i||void 0===i.env)return;let t=i.env.__FIREBASE_DEFAULTS__;if(t)return JSON.parse(t)},y=()=>{let t;if("undefined"==typeof document)return;try{t=document.cookie.match(/__FIREBASE_DEFAULTS__=([^;
1]+)/)}catch(t){return}let e=t&&f(t[1]);return e&&JSON.parse(e)},m=()=>{try{return n()||p()||d()||y()}catch(t){console.info(`Unable to get __FIREBASE_DEFAULTS__ due to: ${t}`);return}},g=t=>{var e,r;return null==(r=null==(e=m())?void 0:e.emulatorHosts)?void 0:r[t]},v=t=>{let e=g(t);if(!e)return;let r=e.lastIndexOf(":");if(r<=0||r+1===e.length)throw Error(`Invalid host ${e} with no separate hostname and port!`);let n=parseInt(e.substring(r+1),10);return"["===e[0]?[e.substring(1,r-1),n]:[e.substring(0,r),n]},b=()=>{var t;return null==(t=m())?void 0:t.config};class x{constructor(){this.reject=()=>{},this.resolve=()=>{},this.promise=new Promise((t,e)=>{this.resolve=t,this.reject=e})}wrapCallback(t){return(e,r)=>{e?this.reject(e):this.resolve(r),"function"==typeof t&&(this.promise.catch(()=>{}),1===t.length?t(e):t(e,r))}}}function w(t,e){if(t.uid)throw Error('The "uid" field is no longer supported by mockUserToken. Please use "sub" instead for Firebase Auth User ID.');let r=e||"demo-project",n=t.iat||0,i=t.sub||t.user_id;if(!i)throw Error("mockUserToken must contain 'sub' or 'user_id' field!");let o=Object.assign({iss:`https://securetoken.google.com/${r}`,aud:r,iat:n,exp:n+3600,auth_time:n,sub:i,user_id:i,firebase:{sign_in_provider:"custom",identities:{}}},t);return[c(JSON.stringify({alg:"none",type:"JWT"})),c(JSON.stringify(o)),""].join(".")}function O(){return"undefined"!=typeof navigator&&"string"==typeof navigator.userAgent?navigator.userAgent:""}function S(){let t="object"==typeof chrome?chrome.runtime:"object"==typeof browser?browser.runtime:void 0;return"object"==typeof t&&void 0!==t.id}function A(){return!function(){var t;let e=null==(t=m())?void 0:t.forceEnvironment;if("node"===e)return!0;if("browser"===e)return!1;try{return"[object process]"===Object.prototype.toString.call(r.g.process)}catch(t){return!1}}()&&!!navigator.userAgent&&navigator.userAgent.includes("Safari")&&!navigator.userAgent.includes("Chrome")}function E(){try{return"object"==typeof indexedDB}catch(t){return!1}}function j(){return new Promise((t,e)=>{try{let r=!0,n="validate-browser-context-for-indexeddb-analytics-module",i=self.indexedDB.open(n);i.onsuccess=()=>{i.result.close(),r||self.indexedDB.deleteDatabase(n),t(!0)},i.onupgradeneeded=()=>{r=!1},i.onerror=()=>{var t;e((null==(t=i.error)?void 0:t.message)||"")}}catch(t){e(t)}})}function P(){return"undefined"!=typeof navigator&&!!navigator.cookieEnabled}class T extends Error{constructor(t,e,r){super(e),this.code=t,this.customData=r,this.name="FirebaseError",Object.setPrototypeOf(this,T.prototype),Error.captureStackTrace&&Error.captureStackTrace(this,M.prototype.create)}}class M{constructor(t,e,r){this.service=t,this.serviceName=e,this.errors=r}create(t,...e){var r,n;let i=e[0]||{},o=`${this.service}/${t}`,a=this.errors[t],s=a?(r=a,n=i,r.replace(k,(t,e)=>{let r=n[e];return null!=r?String(r):`<${e}?>`})):"Error",l=`${this.serviceName}: ${s} (${o}).`;return new T(o,l,i)}}let k=/\{\$([^}]+)}/g;function C(t){return null!==t&&"object"==typeof t}function I(){}function _(t,e=1e3,r=2){let n=e*Math.pow(r,t),i=Math.round(.5*n*(Math.random()-.5)*2);return Math.min(144e5,n+i)}function D(t){return t&&t._delegate?t._delegate:t}function B(t){return t.endsWith(".cloudworkstations.dev")}async function R(t){return(await fetch(t,{credentials:"include"})).ok}},50111:(t,e,r)=>{var n=r(73800),i=r(9813),o=r(39608),a=r(99544),s=r(15631),l=r(94356);t.exports=function(t,e,r){e=n(e,t);for(var u=-1,c=e.length,f=!1;++u<c;){var h=l(e[u]);if(!(f=null!=t&&r(t,h)))break;t=t[h]}return f||++u!=c?f:!!(c=null==t?0:t.length)&&s(c)&&a(h,c)&&(o(t)||i(t))}},50330:(t,e,r)=>{"use strict";t.exports=r(30294)},50523:(t,e,r)=>{var n=r(24376),i=r(76957),o=r(58817),a=r(38406),s=r(90724),l=r(74166),u=n?n.prototype:void 0,c=u?u.valueOf:void 0;t.exports=function(t,e,r,n,u,f,h){switch(r){case"[object DataView]":if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)break;t=t.buffer,e=e.buffer;case"[object ArrayBuffer]":if(t.byteLength!=e.byteLength||!f(new i(t),new i(e)))break;return!0;case"[object Boolean]":case"[object Date]":case"[object Number]":return o(+t,+e);case"[object Error]":return t.name==e.name&&t.message==e.message;case"[object RegExp]":case"[object String]":return t==e+"";case"[object Map]":var p=s;case"[object Set]":var d=1&n;if(p||(p=l),t.size!=e.size&&!d)break;var y=h.get(t);if(y)return y==e;n|=2,h.set(t,e);var m=a(p(t),p(e),n,u,f,h);return h.delete(t),m;case"[object Symbol]":if(c)return c.call(t)==c.call(e)}return!1}},50664:t=>{t.exports=function(t,e){var r=t.length;for(t.sort(e);
1r--;)t[r]=t[r].value;return t}},50687:t=>{t.exports=function(t){return function(){return t}}},50851:t=>{t.exports=function(t){return t.split("")}},51445:(t,e,r)=>{var n=r(53516);t.exports=function(t,e){var r;return n(t,function(t,n,i){return!(r=e(t,n,i))}),!!r}},51911:(t,e,r)=>{var n=r(69229),i=r(48611);t.exports=function t(e,r,o,a,s){return e===r||(null!=e&&null!=r&&(i(e)||i(r))?n(e,r,o,a,t,s):e!=e&&r!=r)}},52521:t=>{t.exports=function(t,e){return t<e}},53516:(t,e,r)=>{var n=r(20480);t.exports=r(49872)(n)},53657:t=>{"use strict";var e=Object.prototype.hasOwnProperty,r="~";function n(){}function i(t,e,r){this.fn=t,this.context=e,this.once=r||!1}function o(t,e,n,o,a){if("function"!=typeof n)throw TypeError("The listener must be a function");var s=new i(n,o||t,a),l=r?r+e:e;return t._events[l]?t._events[l].fn?t._events[l]=[t._events[l],s]:t._events[l].push(s):(t._events[l]=s,t._eventsCount++),t}function a(t,e){0==--t._eventsCount?t._events=new n:delete t._events[e]}function s(){this._events=new n,this._eventsCount=0}Object.create&&(n.prototype=Object.create(null),new n().__proto__||(r=!1)),s.prototype.eventNames=function(){var t,n,i=[];if(0===this._eventsCount)return i;for(n in t=this._events)e.call(t,n)&&i.push(r?n.slice(1):n);return Object.getOwnPropertySymbols?i.concat(Object.getOwnPropertySymbols(t)):i},s.prototype.listeners=function(t){var e=r?r+t:t,n=this._events[e];if(!n)return[];if(n.fn)return[n.fn];for(var i=0,o=n.length,a=Array(o);i<o;i++)a[i]=n[i].fn;return a},s.prototype.listenerCount=function(t){var e=r?r+t:t,n=this._events[e];return n?n.fn?1:n.length:0},s.prototype.emit=function(t,e,n,i,o,a){var s=r?r+t:t;if(!this._events[s])return!1;var l,u,c=this._events[s],f=arguments.length;if(c.fn){switch(c.once&&this.removeListener(t,c.fn,void 0,!0),f){case 1:return c.fn.call(c.context),!0;case 2:return c.fn.call(c.context,e),!0;case 3:return c.fn.call(c.context,e,n),!0;case 4:return c.fn.call(c.context,e,n,i),!0;case 5:return c.fn.call(c.context,e,n,i,o),!0;case 6:return c.fn.call(c.context,e,n,i,o,a),!0}for(u=1,l=Array(f-1);u<f;u++)l[u-1]=arguments[u];c.fn.apply(c.context,l)}else{var h,p=c.length;for(u=0;u<p;u++)switch(c[u].once&&this.removeListener(t,c[u].fn,void 0,!0),f){case 1:c[u].fn.call(c[u].context);break;case 2:c[u].fn.call(c[u].context,e);break;case 3:c[u].fn.call(c[u].context,e,n);break;case 4:c[u].fn.call(c[u].context,e,n,i);break;default:if(!l)for(h=1,l=Array(f-1);h<f;h++)l[h-1]=arguments[h];c[u].fn.apply(c[u].context,l)}}return!0},s.prototype.on=function(t,e,r){return o(this,t,e,r,!1)},s.prototype.once=function(t,e,r){return o(this,t,e,r,!0)},s.prototype.removeListener=function(t,e,n,i){var o=r?r+t:t;if(!this._events[o])return this;if(!e)return a(this,o),this;var s=this._events[o];if(s.fn)s.fn!==e||i&&!s.once||n&&s.context!==n||a(this,o);else{for(var l=0,u=[],c=s.length;l<c;l++)(s[l].fn!==e||i&&!s[l].once||n&&s[l].context!==n)&&u.push(s[l]);u.length?this._events[o]=1===u.length?u[0]:u:a(this,o)}return this},s.prototype.removeAllListeners=function(t){var e;return t?(e=r?r+t:t,this._events[e]&&a(this,e)):(this._events=new n,this._eventsCount=0),this},s.prototype.off=s.prototype.removeListener,s.prototype.addListener=s.prototype.on,s.prefixed=r,s.EventEmitter=s,t.exports=s},53696:(t,e,r)=>{var n=r(75899),i=Object.prototype.hasOwnProperty;t.exports=function(t){var e=this.__data__;if(n){var r=e[t];return"__lodash_hash_undefined__"===r?void 0:r}return i.call(e,t)?e[t]:void 0}},54360:(t,e,r)=>{var n=r(58817);t.exports=function(t,e){for(var r=t.length;r--;)if(n(t[r][0],e))return r;return -1}},54811:(t,e,r)=>{"use strict";r.d(e,{f:()=>n});var n=function(t){return null};n.displayName="Cell"},54906:(t,e,r)=>{var n=r(83711);t.exports=function(){try{var t=n(Object,"defineProperty");return t({},"",{}),t}catch(t){}}()},55794:(t,e,r)=>{var n=r(57213),i=r(34711),o=r(18028),a=r(6305),s=r(50664),l=r(33332),u=r(9699),c=r(13465),f=r(39608);t.exports=function(t,e,r){e=e.length?n(e,function(t){return f(t)?function(e){return i(e,1===t.length?t[0]:t)}:t}):[c];var h=-1;return e=n(e,l(o)),s(a(t,function(t,r,i){return{criteria:n(e,function(e){return e(t)}),index:++h,value:t}}),function(t,e){return u(t,e,r)})}},55910:(t,e,r)=>{var n=r(4854),i=r(27569),o=r(92972);t.exports=function(t){var e=i(t);return 1==e.length&&e[0][2]?o(e[0][0],e[0][1]):function(r){return r===t||n(r,t,e)}}},56391:(t,e,r)=>{"use strict";r.d(e,{h1:()=>s,uA:()=>i});var n=r(49887);class i{constructor(t,e,r){this.name=t,this.instanceFactory=e,this.type=r,this.multipleInstances=!1,this.serviceProps={},this.instantiationMode="LAZY",this.onInstanceCreated=null}setInstantiationMode(t){return this.instantiationMode=t,this}setMultipleInstances(t){return this.multipleInstances=t,this}setServiceProps(t){return this.serviceProps=t,this}setInstanceCreatedCallback(t){return this.onInstanceCreated=t,this}}let o="[DEFAULT]";class a{constructor(t,e){this.name=t,this.container=e,this.component=null,this.instances=new Map,this.instancesDeferred=new Map,this.instancesOptions=new Map,this.onInitCallbacks=new Map}get(t){let e=this.normalizeInstanceIdentifier(t);if(!this.instancesDeferred.has(e)){let t=new n.cY;if(this.instancesDeferred.set(e,t),this.isInitialized(e)||this.shouldAutoInitialize())try{let r=this.getOrInitializeService({instanceIdentifier:e});r&&t.resolve(r)}catch(t){}}return this.instancesDeferred.get(e).promise}getImmediate(t){var e;let r=this.normalizeInstanceIdentifier(null==t?void 0:t.identifier),n=null!=(e=null==t?void 0:t.optional)&&e;if(this.isInitialized(r)||this.shouldAutoInitialize())try{return this.getOrInitializeService({instanceIdentifier:r})}catch(t){if(n)return null;throw t}if(n)return null;throw Error(`Service ${this.name} is not available`)}getComponent(){return this.component}setComponent(t){if(t.name!==this.name)throw Error(`Mismatching Component ${t.name} for Provider ${this.name}.`);if(this.component)throw Error(`Component for ${this.name} has already been provided`);if(this.component=t,this.shouldAutoInitialize()){if("EAGER"===t.instantiationMode)try{this.getOrInitializeService({instanceIdentifier:o})}catch(t){}for(let[t,e]of this.instancesDeferred.entries()){let r=this.normalizeInstanceIdentifier(t);try{let t=this.getOrInitializeService({instanceIdentifier:r});e.resolve(t)}catch(t){}}}}clearInstance(t=o){this.instancesDeferred.delete(t),this.instancesOptions.delete(t),this.instances.delete(t)}async delete(){let t=Array.from(this.instances.values());await Promise.all([...t.filter(t=>"INTERNAL"in t).map(t=>t.INTERNAL.delete()),...t.filter(t=>"_delete"in t).map(t=>t._delete())])}isComponentSet(){return null!=this.component}isInitialized(t=o){return this.instances.has(t)}getOptions(t=o){return this.instancesOptions.get(t)||{}}initialize(t={}){let{options:e={}}=t,r=this.normalizeInstanceIdentifier(t.instanceIdentifier);if(this.isInitialized(r))throw Error(`${this.name}(${r}) has already been initialized`);if(!this.isComponentSet())throw Error(`Component ${this.name} has not been registered yet`);let n=this.getOrInitializeService({instanceIdentifier:r,options:e});for(let[t,e]of this.instancesDeferred.entries())r===this.normalizeInstanceIdentifier(t)&&e.resolve(n);return n}onInit(t,e){var r;let n=this.normalizeInstanceIdentifier(e),i=null!=(r=this.onInitCallbacks.get(n))?r:new Set;i.add(t),this.onInitCallbacks.set(n,i);let o=this.instances.get(n);return o&&t(o,n),()=>{i.delete(t)}}invokeOnInitCallbacks(t,e){let r=this.onInitCallbacks.get(e);if(r)for(let n of r)try{n(t,e)}catch(t){}}getOrInitializeService({instanceIdentifier:t,options:e={}}){var r;let n=this.instances.get(t);if(!n&&this.component&&(n=this.component.instanceFactory(this.container,{instanceIdentifier:(r=t)===o?void 0:r,options:e}),this.instances.set(t,n),this.instancesOptions.set(t,e),this.invokeOnInitCallbacks(n,t),this.component.onInstanceCreated))try{this.component.onInstanceCreated(this.container,t,n)}catch(t){}return n||null}normalizeInstanceIdentifier(t=o){return this.component?this.component.multipleInstances?t:o:t}shouldAutoInitialize(){return!!this.component&&"EXPLICIT"!==this.component.instantiationMode}}class s{constructor(t){this.name=t,this.providers=new Map}addComponent(t){let e=this.getProvider(t.name);if(e.isComponentSet())throw Error(`Component ${t.name} has already been registered with ${this.name}`);e.setComponent(t)}addOrOverwriteComponent(t){this.getProvider(t.name).isComponentSet()&&this.providers.delete(t.name),this.addComponent(t)}getProvider(t){if(this.providers.has(t))return this.providers.get(t);let e=new a(t,this);return this.providers.set(t,e),e}getProviders(){return Array.from(this.providers.values())}}},56917:(t,e,r)=>{var n=r(98233),i=r(48611);t.exports=function(t){return!0===t||!1===t||i(t)&&"[object Boolean]"==n(t)}},57213:t=>{t.exports=function(t,e){for(var r=-1,n=null==t?0:t.length,i=Array(n);++r<n;)i[r]=e(t[r],r,t);return i}},57719:(t,e)=>{"use strict";e.byteLength=function(t){var e=l(t),r=e[0],n=e[1];return(r+n)*3/4-n},e.toByteArray=function(t){var e,r,o=l(t),a=o[0],s=o[1],u=new i((a+s)*3/4-s),c=0,f=s>0?a-4:a;for(r=0;r<f;r+=4)e=n[t.charCodeAt(r)]<<18|n[t.charCodeAt(r+1)]<<12|n[t.charCodeAt(r+2)]<<6|n[t.charCodeAt(r+3)],u[c++]=e>>16&255,u[c++]=e>>8&255,u[c++]=255&e;return 2===s&&(e=n[t.charCodeAt(r)]<<2|n[t.charCodeAt(r+1)]>>4,u[c++]=255&e),1===s&&(e=n[t.charCodeAt(r)]<<10|n[t.charCodeAt(r+1)]<<4|n[t.charCodeAt(r+2)]>>2,u[c++]=e>>8&255,u[c++]=255&e),u},e.fromByteArray=function(t){for(var e,n=t.length,i=n%3,o=[],a=0,s=n-i;a<s;a+=16383)o.push(function(t,e,n){for(var i,o=[],a=e;a<n;a+=3)i=(t[a]<<16&0xff0000)+(t[a+1]<<8&65280)+(255&t[a+2]),o.push(r[i>>18&63]+r[i>>12&63]+r[i>>6&63]+r[63&i]);return o.join("")}(t,a,a+16383>
1s?s:a+16383));return 1===i?o.push(r[(e=t[n-1])>>2]+r[e<<4&63]+"=="):2===i&&o.push(r[(e=(t[n-2]<<8)+t[n-1])>>10]+r[e>>4&63]+r[e<<2&63]+"="),o.join("")};for(var r=[],n=[],i="undefined"!=typeof Uint8Array?Uint8Array:Array,o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",a=0,s=o.length;a<s;++a)r[a]=o[a],n[o.charCodeAt(a)]=a;function l(t){var e=t.length;if(e%4>0)throw Error("Invalid string. Length must be a multiple of 4");var r=t.indexOf("=");-1===r&&(r=e);var n=r===e?0:4-r%4;return[r,n]}n[45]=62,n[95]=63},58096:t=>{t.exports=function(t){return this.__data__.has(t)}},58817:t=>{t.exports=function(t,e){return t===e||t!=t&&e!=e}},58918:(t,e,r)=>{var n=r(70771);t.exports=function(t,e,r){for(var i=-1,o=t.length;++i<o;){var a=t[i],s=e(a);if(null!=s&&(void 0===l?s==s&&!n(s):r(s,l)))var l=s,u=a}return u}},58995:(t,e,r)=>{"use strict";r.d(e,{r:()=>rI});var n=r(12115),i=r(59882),o=r.n(i),a=r(40139),s=r.n(a),l=r(18940),u=r.n(l),c=r(48973),f=r.n(c),h=r(67206),p=r.n(h),d=r(91959),y=r.n(d),m=r(35796),g=r(93179),v=r(72790),b=r(2348),x=r(94517),w=r(24026),O=r(43597),S=r(70788);function A(){return(A=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}var E=function(t){var e=t.cx,r=t.cy,i=t.r,o=t.className,a=(0,m.A)("recharts-dot",o);return e===+e&&r===+r&&i===+i?n.createElement("circle",A({},(0,S.J9)(t,!1),(0,O._U)(t),{className:a,cx:e,cy:r,r:i})):null},j=r(44538),P=r(81519),T=r(79095),M=r(49754),k=r(16377);function C(t){return(C="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function I(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function _(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?I(Object(r),!0).forEach(function(e){D(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):I(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function D(t,e,r){var n;return(n=function(t,e){if("object"!=C(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=C(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(e,"string"),(e="symbol"==C(n)?n:n+"")in t)?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var B=["Webkit","Moz","O","ms"],R=function(t,e){if(!t)return null;var r=t.replace(/(\w)/,function(t){return t.toUpperCase()}),n=B.reduce(function(t,n){return _(_({},t),{},D({},n+r,e))},{});return n[t]=e,n};function N(t){return(N="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function L(){return(L=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}function U(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function F(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?U(Object(r),!0).forEach(function(e){H(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):U(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function V(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,X(n.key),n)}}function $(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return($=function(){return!!t})()}function z(t){return(z=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function W(t,e){return(W=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function H(t,e,r){return(e=X(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function X(t){var e=function(t,e){if("object"!=N(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=N(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}
1(t,"string");return"symbol"==N(e)?e:e+""}var q=function(t){var e=t.data,r=t.startIndex,n=t.endIndex,i=t.x,o=t.width,a=t.travellerWidth;if(!e||!e.length)return{};var s=e.length,l=(0,P.z)().domain(u()(0,s)).range([i,i+o-a]),c=l.domain().map(function(t){return l(t)});return{isTextActive:!1,isSlideMoving:!1,isTravellerMoving:!1,isTravellerFocused:!1,startX:l(r),endX:l(n),scale:l,scaleValues:c}},K=function(t){return t.changedTouches&&!!t.changedTouches.length},Y=function(t){var e,r;function i(t){var e,r,n;if(!(this instanceof i))throw TypeError("Cannot call a class as a function");return r=i,n=[t],r=z(r),H(e=function(t,e){if(e&&("object"===N(e)||"function"==typeof e))return e;if(void 0!==e)throw TypeError("Derived constructors may only return object or undefined");var r=t;if(void 0===r)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return r}(this,$()?Reflect.construct(r,n||[],z(this).constructor):r.apply(this,n)),"handleDrag",function(t){e.leaveTimer&&(clearTimeout(e.leaveTimer),e.leaveTimer=null),e.state.isTravellerMoving?e.handleTravellerMove(t):e.state.isSlideMoving&&e.handleSlideDrag(t)}),H(e,"handleTouchMove",function(t){null!=t.changedTouches&&t.changedTouches.length>0&&e.handleDrag(t.changedTouches[0])}),H(e,"handleDragEnd",function(){e.setState({isTravellerMoving:!1,isSlideMoving:!1},function(){var t=e.props,r=t.endIndex,n=t.onDragEnd,i=t.startIndex;null==n||n({endIndex:r,startIndex:i})}),e.detachDragEndListener()}),H(e,"handleLeaveWrapper",function(){(e.state.isTravellerMoving||e.state.isSlideMoving)&&(e.leaveTimer=window.setTimeout(e.handleDragEnd,e.props.leaveTimeOut))}),H(e,"handleEnterSlideOrTraveller",function(){e.setState({isTextActive:!0})}),H(e,"handleLeaveSlideOrTraveller",function(){e.setState({isTextActive:!1})}),H(e,"handleSlideDragStart",function(t){var r=K(t)?t.changedTouches[0]:t;e.setState({isTravellerMoving:!1,isSlideMoving:!0,slideMoveStartX:r.pageX}),e.attachDragEndListener()}),e.travellerDragStartHandlers={startX:e.handleTravellerDragStart.bind(e,"startX"),endX:e.handleTravellerDragStart.bind(e,"endX")},e.state={},e}if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");return i.prototype=Object.create(t&&t.prototype,{constructor:{value:i,writable:!0,configurable:!0}}),Object.defineProperty(i,"prototype",{writable:!1}),t&&W(i,t),e=[{key:"componentWillUnmount",value:function(){this.leaveTimer&&(clearTimeout(this.leaveTimer),this.leaveTimer=null),this.detachDragEndListener()}},{key:"getIndex",value:function(t){var e=t.startX,r=t.endX,n=this.state.scaleValues,o=this.props,a=o.gap,s=o.data.length-1,l=Math.min(e,r),u=Math.max(e,r),c=i.getIndexInRange(n,l),f=i.getIndexInRange(n,u);return{startIndex:c-c%a,endIndex:f===s?s:f-f%a}}},{key:"getTextOfTick",value:function(t){var e=this.props,r=e.data,n=e.tickFormatter,i=e.dataKey,o=(0,M.kr)(r[t],i,t);return s()(n)?n(o,t):o}},{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(t){var e=this.state,r=e.slideMoveStartX,n=e.startX,i=e.endX,o=this.props,a=o.x,s=o.width,l=o.travellerWidth,u=o.startIndex,c=o.endIndex,f=o.onChange,h=t.pageX-r;h>0?h=Math.min(h,a+s-l-i,a+s-l-n):h<0&&(h=Math.max(h,a-n,a-i));var p=this.getIndex({startX:n+h,endX:i+h});(p.startIndex!==u||p.endIndex!==c)&&f&&f(p),this.setState({startX:n+h,endX:i+h,slideMoveStartX:t.pageX})}},{key:"handleTravellerDragStart",value:function(t,e){var r=K(e)?e.changedTouches[0]:e;this.setState({isSlideMoving:!1,isTravellerMoving:!0,movingTravellerId:t,brushMoveStartX:r.pageX}),this.attachDragEndListener()}},{key:"handleTravellerMove",value:function(t){var e=this.state,r=e.brushMoveStartX,n=e.movingTravellerId,i=e.endX,o=e.startX,a=this.state[n],s=this.props,l=s.x,u=s.width,c=s.travellerWidth,f=s.onChange,h=s.gap,p=s.data,d={startX:this.state.startX,endX:this.state.endX},y=t.pageX-r;y>0?y=Math.min(y,l+u-c-a):y<0&&(y=Math.max(y,l-a)),d[n]=a+y;var m=this.getIndex(d),g=m.startIndex,v=m.endIndex,b=function(){var t=p.length-1;return"startX"===n&&(i>o?g%h==0:v%h==0)||!!(i<o)&&v===t||"endX"===n&&(i>o?v%h==0:g%h==0)||!!(i>o)&&v===t};this.setState(H(H({},n,a+y),"brushMoveStartX",t.pageX),function(){f&&b()&&f(m)})}},{key:"handleTravellerMoveKeyboard",value:function(t,e){var r=this,n=this.state,i=n.scaleValues,o=n.startX,a=n.endX,s=this.state[e],l=i.indexOf(s);if(-1!==l){var u=l+t;if(-1!==u&&!(u>=i.length)){var c=i[u];"startX"===e&&c>=a||"endX"===e&&c<=o||this.setState(H({},e,c),function(){r.props.onChange(r.getIndex({startX:r.state.startX,endX:r.
1state.endX}))})}}}},{key:"renderBackground",value:function(){var t=this.props,e=t.x,r=t.y,i=t.width,o=t.height,a=t.fill,s=t.stroke;return n.createElement("rect",{stroke:s,fill:a,x:e,y:r,width:i,height:o})}},{key:"renderPanorama",value:function(){var t=this.props,e=t.x,r=t.y,i=t.width,o=t.height,a=t.data,s=t.children,l=t.padding,u=n.Children.only(s);return u?n.cloneElement(u,{x:e,y:r,width:i,height:o,margin:l,compact:!0,data:a}):null}},{key:"renderTravellerLayer",value:function(t,e){var r,o,a=this,s=this.props,l=s.y,u=s.travellerWidth,c=s.height,f=s.traveller,h=s.ariaLabel,p=s.data,d=s.startIndex,y=s.endIndex,m=Math.max(t,this.props.x),g=F(F({},(0,S.J9)(this.props,!1)),{},{x:m,y:l,width:u,height:c}),v=h||"Min value: ".concat(null==(r=p[d])?void 0:r.name,", Max value: ").concat(null==(o=p[y])?void 0:o.name);return n.createElement(b.W,{tabIndex:0,role:"slider","aria-label":v,"aria-valuenow":t,className:"recharts-brush-traveller",onMouseEnter:this.handleEnterSlideOrTraveller,onMouseLeave:this.handleLeaveSlideOrTraveller,onMouseDown:this.travellerDragStartHandlers[e],onTouchStart:this.travellerDragStartHandlers[e],onKeyDown:function(t){["ArrowLeft","ArrowRight"].includes(t.key)&&(t.preventDefault(),t.stopPropagation(),a.handleTravellerMoveKeyboard("ArrowRight"===t.key?1:-1,e))},onFocus:function(){a.setState({isTravellerFocused:!0})},onBlur:function(){a.setState({isTravellerFocused:!1})},style:{cursor:"col-resize"}},i.renderTraveller(f,g))}},{key:"renderSlide",value:function(t,e){var r=this.props,i=r.y,o=r.height,a=r.stroke,s=r.travellerWidth,l=Math.min(t,e)+s,u=Math.max(Math.abs(e-t)-s,0);return n.createElement("rect",{className:"recharts-brush-slide",onMouseEnter:this.handleEnterSlideOrTraveller,onMouseLeave:this.handleLeaveSlideOrTraveller,onMouseDown:this.handleSlideDragStart,onTouchStart:this.handleSlideDragStart,style:{cursor:"move"},stroke:"none",fill:a,fillOpacity:.2,x:l,y:i,width:u,height:o})}},{key:"renderText",value:function(){var t=this.props,e=t.startIndex,r=t.endIndex,i=t.y,o=t.height,a=t.travellerWidth,s=t.stroke,l=this.state,u=l.startX,c=l.endX,f={pointerEvents:"none",fill:s};return n.createElement(b.W,{className:"recharts-brush-texts"},n.createElement(T.E,L({textAnchor:"end",verticalAnchor:"middle",x:Math.min(u,c)-5,y:i+o/2},f),this.getTextOfTick(e)),n.createElement(T.E,L({textAnchor:"start",verticalAnchor:"middle",x:Math.max(u,c)+a+5,y:i+o/2},f),this.getTextOfTick(r)))}},{key:"render",value:function(){var t=this.props,e=t.data,r=t.className,i=t.children,o=t.x,a=t.y,s=t.width,l=t.height,u=t.alwaysShowText,c=this.state,f=c.startX,h=c.endX,p=c.isTextActive,d=c.isSlideMoving,y=c.isTravellerMoving,g=c.isTravellerFocused;if(!e||!e.length||!(0,k.Et)(o)||!(0,k.Et)(a)||!(0,k.Et)(s)||!(0,k.Et)(l)||s<=0||l<=0)return null;var v=(0,m.A)("recharts-brush",r),x=1===n.Children.count(i),w=R("userSelect","none");return n.createElement(b.W,{className:v,onMouseLeave:this.handleLeaveWrapper,onTouchMove:this.handleTouchMove,style:w},this.renderBackground(),x&&this.renderPanorama(),this.renderSlide(f,h),this.renderTravellerLayer(f,"startX"),this.renderTravellerLayer(h,"endX"),(p||d||y||g||u)&&this.renderText())}}],r=[{key:"renderDefaultTraveller",value:function(t){var e=t.x,r=t.y,i=t.width,o=t.height,a=t.stroke,s=Math.floor(r+o/2)-1;return n.createElement(n.Fragment,null,n.createElement("rect",{x:e,y:r,width:i,height:o,fill:a,stroke:"none"}),n.createElement("line",{x1:e+1,y1:s,x2:e+i-1,y2:s,fill:"none",stroke:"#fff"}),n.createElement("line",{x1:e+1,y1:s+2,x2:e+i-1,y2:s+2,fill:"none",stroke:"#fff"}))}},{key:"renderTraveller",value:function(t,e){var r;return n.isValidElement(t)?n.cloneElement(t,e):s()(t)?t(e):i.renderDefaultTraveller(e)}},{key:"getDerivedStateFromProps",value:function(t,e){var r=t.data,n=t.width,i=t.x,o=t.travellerWidth,a=t.updateId,s=t.startIndex,l=t.endIndex;if(r!==e.prevData||a!==e.prevUpdateId)return F({prevData:r,prevTravellerWidth:o,prevUpdateId:a,prevX:i,prevWidth:n},r&&r.length?q({data:r,width:n,x:i,travellerWidth:o,startIndex:s,endIndex:l}):{scale:null,scaleValues:null});if(e.scale&&(n!==e.prevWidth||i!==e.prevX||o!==e.prevTravellerWidth)){e.scale.range([i,i+n-o]);var u=e.scale.domain().map(function(t){return e.scale(t)});return{prevData:r,prevTravellerWidth:o,prevUpdateId:a,prevX:i,prevWidth:n,startX:e.scale(t.startIndex),endX:e.scale(t.endIndex),scaleValues:u}}return null}},{key:"getIndexInRange",value:function(t,e){for(var r=t.length,n=0,i=r-1;i-n>1;){var o=Math.floor((n+i)/2);t[o]>e?i=o:n=o}return e>=t[i]?i:n}}],e&&V(i.prototype,e),r&&V(i,r),Object.defineProperty(i,"prototype",{writable:!1}),i}(n.PureComponent);H(Y,"displayName","Brush"),H(Y,"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 G=r(46605),J=r(83197),Z=r(60379),Q=function(t,e){var r=t.alwaysShow,n=t.ifOverflow;return r&&(n="extendDomain"),n===e},tt=r(74925),te=r.n(tt),tr=r(29794),tn=r.n(tr);function ti(t){return(ti="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function to(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,tu(n.key),n)}}function ta(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function ts(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};
1e%2?ta(Object(r),!0).forEach(function(e){tl(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):ta(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function tl(t,e,r){return(e=tu(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function tu(t){var e=function(t,e){if("object"!=ti(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=ti(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==ti(e)?e:e+""}var tc=function(t,e){var r=t.x,n=t.y,i=e.x,o=e.y;return{x:Math.min(r,i),y:Math.min(n,o),width:Math.abs(i-r),height:Math.abs(o-n)}},tf=function(){var t,e;function r(t){if(!(this instanceof r))throw TypeError("Cannot call a class as a function");this.scale=t}return t=[{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(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=e.bandAware,n=e.position;if(void 0!==t){if(n)switch(n){case"start":default:return this.scale(t);case"middle":var i=this.bandwidth?this.bandwidth()/2:0;return this.scale(t)+i;case"end":var o=this.bandwidth?this.bandwidth():0;return this.scale(t)+o}if(r){var a=this.bandwidth?this.bandwidth()/2:0;return this.scale(t)+a}return this.scale(t)}}},{key:"isInRange",value:function(t){var e=this.range(),r=e[0],n=e[e.length-1];return r<=n?t>=r&&t<=n:t>=n&&t<=r}}],e=[{key:"create",value:function(t){return new r(t)}}],t&&to(r.prototype,t),e&&to(r,e),Object.defineProperty(r,"prototype",{writable:!1}),r}();tl(tf,"EPS",1e-4);var th=function(t){var e=Object.keys(t).reduce(function(e,r){return ts(ts({},e),{},tl({},r,tf.create(t[r])))},{});return ts(ts({},e),{},{apply:function(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=r.bandAware,i=r.position;return te()(t,function(t,r){return e[r].apply(t,{bandAware:n,position:i})})},isInRange:function(t){return tn()(t,function(t,r){return e[r].isInRange(t)})}})},tp=r(675);function td(){return(td=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}function ty(t){return(ty="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function tm(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function tg(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?tm(Object(r),!0).forEach(function(e){tw(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):tm(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function tv(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(tv=function(){return!!t})()}function tb(t){return(tb=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function tx(t,e){return(tx=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function tw(t,e,r){return(e=tO(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function tO(t){var e=function(t,e){if("object"!=ty(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=ty(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}
1(t,"string");return"symbol"==ty(e)?e:e+""}var tS=function(t){var e=t.x,r=t.y,n=t.xAxis,i=t.yAxis,o=th({x:n.scale,y:i.scale}),a=o.apply({x:e,y:r},{bandAware:!0});return Q(t,"discard")&&!o.isInRange(a)?null:a},tA=function(t){var e;function r(){var t,e;if(!(this instanceof r))throw TypeError("Cannot call a class as a function");return t=r,e=arguments,t=tb(t),function(t,e){if(e&&("object"===ty(e)||"function"==typeof e))return e;if(void 0!==e)throw TypeError("Derived constructors may only return object or undefined");var r=t;if(void 0===r)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return r}(this,tv()?Reflect.construct(t,e||[],tb(this).constructor):t.apply(this,e))}if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");return r.prototype=Object.create(t&&t.prototype,{constructor:{value:r,writable:!0,configurable:!0}}),Object.defineProperty(r,"prototype",{writable:!1}),t&&tx(r,t),e=[{key:"render",value:function(){var t=this.props,e=t.x,i=t.y,o=t.r,a=t.alwaysShow,s=t.clipPathId,l=(0,k.vh)(e),u=(0,k.vh)(i);if((0,tp.R)(void 0===a,'The alwaysShow prop is deprecated. Please use ifOverflow="extendDomain" instead.'),!l||!u)return null;var c=tS(this.props);if(!c)return null;var f=c.x,h=c.y,p=this.props,d=p.shape,y=p.className,g=tg(tg({clipPath:Q(this.props,"hidden")?"url(#".concat(s,")"):void 0},(0,S.J9)(this.props,!0)),{},{cx:f,cy:h});return n.createElement(b.W,{className:(0,m.A)("recharts-reference-dot",y)},r.renderDot(d,g),Z.J.renderCallByParent(this.props,{x:f-o,y:h-o,width:2*o,height:2*o}))}}],function(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,tO(n.key),n)}}(r.prototype,e),Object.defineProperty(r,"prototype",{writable:!1}),r}(n.Component);tw(tA,"displayName","ReferenceDot"),tw(tA,"defaultProps",{isFront:!1,ifOverflow:"discard",xAxisId:0,yAxisId:0,r:10,fill:"#fff",stroke:"#ccc",fillOpacity:1,strokeWidth:1}),tw(tA,"renderDot",function(t,e){var r;return n.isValidElement(t)?n.cloneElement(t,e):s()(t)?t(e):n.createElement(E,td({},e,{cx:e.cx,cy:e.cy,className:"recharts-reference-dot-dot"}))});var tE=r(71571),tj=r.n(tE);r(97124);var tP=r(91113),tT=r.n(tP)()(function(t){return{x:t.left,y:t.top,width:t.width,height:t.height}},function(t){return["l",t.left,"t",t.top,"w",t.width,"h",t.height].join("")}),tM=(0,n.createContext)(void 0),tk=(0,n.createContext)(void 0),tC=(0,n.createContext)(void 0),tI=(0,n.createContext)({}),t_=(0,n.createContext)(void 0),tD=(0,n.createContext)(0),tB=(0,n.createContext)(0),tR=function(t){var e=t.state,r=e.xAxisMap,i=e.yAxisMap,o=e.offset,a=t.clipPathId,s=t.children,l=t.width,u=t.height,c=tT(o);return n.createElement(tM.Provider,{value:r},n.createElement(tk.Provider,{value:i},n.createElement(tI.Provider,{value:o},n.createElement(tC.Provider,{value:c},n.createElement(t_.Provider,{value:a},n.createElement(tD.Provider,{value:u},n.createElement(tB.Provider,{value:l},s)))))))},tN=function(t){var e=(0,n.useContext)(tM);null==e&&(0,g.A)(!1);var r=e[t];return null==r&&(0,g.A)(!1),r},tL=function(t){var e=(0,n.useContext)(tk);null==e&&(0,g.A)(!1);var r=e[t];return null==r&&(0,g.A)(!1),r};function tU(t){return(tU="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function tF(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(tF=function(){return!!t})()}
1function tV(t){return(tV=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function t$(t,e){return(t$=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function tz(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function tW(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?tz(Object(r),!0).forEach(function(e){tH(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):tz(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function tH(t,e,r){return(e=tX(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function tX(t){var e=function(t,e){if("object"!=tU(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=tU(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==tU(e)?e:e+""}function tq(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function tK(){return(tK=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}var tY=function(t,e){var r;return n.isValidElement(t)?n.cloneElement(t,e):s()(t)?t(e):n.createElement("line",tK({},e,{className:"recharts-reference-line-line"}))},tG=function(t,e,r,n,i,o,a,s,l){var u=i.x,c=i.y,f=i.width,h=i.height;if(r){var p=l.y,d=t.y.apply(p,{position:o});if(Q(l,"discard")&&!t.y.isInRange(d))return null;var y=[{x:u+f,y:d},{x:u,y:d}];return"left"===s?y.reverse():y}if(e){var m=l.x,g=t.x.apply(m,{position:o});if(Q(l,"discard")&&!t.x.isInRange(g))return null;var v=[{x:g,y:c+h},{x:g,y:c}];return"top"===a?v.reverse():v}if(n){var b=l.segment.map(function(e){return t.apply(e,{position:o})});return Q(l,"discard")&&tj()(b,function(e){return!t.isInRange(e)})?null:b}return null};function tJ(t){var e,r=t.x,i=t.y,o=t.segment,a=t.xAxisId,s=t.yAxisId,l=t.shape,u=t.className,c=t.alwaysShow,f=(0,n.useContext)(t_),h=tN(a),p=tL(s),d=(0,n.useContext)(tC);if(!f||!d)return null;(0,tp.R)(void 0===c,'The alwaysShow prop is deprecated. Please use ifOverflow="extendDomain" instead.');var y=tG(th({x:h.scale,y:p.scale}),(0,k.vh)(r),(0,k.vh)(i),o&&2===o.length,d,t.position,h.orientation,p.orientation,t);if(!y)return null;var g=function(t){if(Array.isArray(t))return t}(y)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,i,o,a,s=[],l=!0,u=!1;try{o=(r=r.call(t)).next,!1;for(;!(l=(n=o.call(r)).done)&&(s.push(n.value),s.length!==e);l=!0);}catch(t){u=!0,i=t}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(u)throw i}}return s}}(y,2)||function(t,e){if(t){if("string"==typeof t)return tq(t,2);var r=Object.prototype.toString.call(t).slice(8,-1);if("Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return tq(t,e)}}(y,2)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),v=g[0],x=v.x,w=v.y,O=g[1],A=O.x,E=O.y,j=tW(tW({clipPath:Q(t,"hidden")?"url(#".concat(f,")"):void 0},(0,S.J9)(t,!0)),{},{x1:x,y1:w,x2:A,y2:E});return n.createElement(b.W,{className:(0,m.A)("recharts-reference-line",u)},tY(l,j),Z.J.renderCallByParent(t,tc({x:(e={x1:x,y1:w,x2:A,y2:E}).x1,y:e.y1},{x:e.x2,y:e.y2})))}var tZ=function(t){var e;function r(){var t,e;if(!(this instanceof r))throw TypeError("Cannot call a class as a function");return t=r,e=arguments,t=tV(t),function(t,e){if(e&&("object"===tU(e)||"function"==typeof e))return e;if(void 0!==e)throw TypeError("Derived constructors may only return object or undefined");var r=t;if(void 0===r)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return r}(this,tF()?Reflect.construct(t,e||[],tV(this).constructor):t.apply(this,e))}if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");return r.prototype=Object.create(t&&t.prototype,{constructor:{value:r,writable:!0,configurable:!0}}),Object.defineProperty(r,"prototype",{writable:!1}),t&&t$(r,t),e=[{key:"render",value:function(){return n.createElement(tJ,this.props)}}],function(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,tX(n.key),n)}}(r.prototype,e),Object.defineProperty(r,"prototype",{writable:!1}),r}(n.Component);function tQ(){return(tQ=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];
1for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}function t0(t){return(t0="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function t1(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function t2(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?t1(Object(r),!0).forEach(function(e){t8(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):t1(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}tH(tZ,"displayName","ReferenceLine"),tH(tZ,"defaultProps",{isFront:!1,ifOverflow:"discard",xAxisId:0,yAxisId:0,fill:"none",stroke:"#ccc",fillOpacity:1,strokeWidth:1,position:"middle"});function t5(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(t5=function(){return!!t})()}function t3(t){return(t3=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}
1function t6(t,e){return(t6=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function t8(t,e,r){return(e=t4(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function t4(t){var e=function(t,e){if("object"!=t0(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=t0(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==t0(e)?e:e+""}var t9=function(t,e,r,n,i){var o=i.x1,a=i.x2,s=i.y1,l=i.y2,u=i.xAxis,c=i.yAxis;if(!u||!c)return null;var f=th({x:u.scale,y:c.scale}),h={x:t?f.x.apply(o,{position:"start"}):f.x.rangeMin,y:r?f.y.apply(s,{position:"start"}):f.y.rangeMin},p={x:e?f.x.apply(a,{position:"end"}):f.x.rangeMax,y:n?f.y.apply(l,{position:"end"}):f.y.rangeMax};return!Q(i,"discard")||f.isInRange(h)&&f.isInRange(p)?tc(h,p):null},t7=function(t){var e;function r(){var t,e;if(!(this instanceof r))throw TypeError("Cannot call a class as a function");return t=r,e=arguments,t=t3(t),function(t,e){if(e&&("object"===t0(e)||"function"==typeof e))return e;if(void 0!==e)throw TypeError("Derived constructors may only return object or undefined");var r=t;if(void 0===r)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return r}(this,t5()?Reflect.construct(t,e||[],t3(this).constructor):t.apply(this,e))}if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");return r.prototype=Object.create(t&&t.prototype,{constructor:{value:r,writable:!0,configurable:!0}}),Object.defineProperty(r,"prototype",{writable:!1}),t&&t6(r,t),e=[{key:"render",value:function(){var t=this.props,e=t.x1,i=t.x2,o=t.y1,a=t.y2,s=t.className,l=t.alwaysShow,u=t.clipPathId;(0,tp.R)(void 0===l,'The alwaysShow prop is deprecated. Please use ifOverflow="extendDomain" instead.');var c=(0,k.vh)(e),f=(0,k.vh)(i),h=(0,k.vh)(o),p=(0,k.vh)(a),d=this.props.shape;if(!c&&!f&&!h&&!p&&!d)return null;var y=t9(c,f,h,p,this.props);if(!y&&!d)return null;var g=Q(this.props,"hidden")?"url(#".concat(u,")"):void 0;return n.createElement(b.W,{className:(0,m.A)("recharts-reference-area",s)},r.renderRect(d,t2(t2({clipPath:g},(0,S.J9)(this.props,!0)),y)),Z.J.renderCallByParent(this.props,y))}}],function(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,t4(n.key),n)}}(r.prototype,e),Object.defineProperty(r,"prototype",{writable:!1}),r}(n.Component);function et(t){return function(t){if(Array.isArray(t))return ee(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(t){if("string"==typeof t)return ee(t,void 0);var r=Object.prototype.toString.call(t).slice(8,-1);if("Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return ee(t,e)}}(t)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function ee(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}t8(t7,"displayName","ReferenceArea"),t8(t7,"defaultProps",{isFront:!1,ifOverflow:"discard",xAxisId:0,yAxisId:0,r:10,fill:"#ccc",fillOpacity:.5,stroke:"none",strokeWidth:1}),t8(t7,"renderRect",function(t,e){var r;return n.isValidElement(t)?n.cloneElement(t,e):s()(t)?t(e):n.createElement(j.M,tQ({},e,{className:"recharts-reference-area-rect"}))});var er=function(t,e,r,n,i){var o=(0,S.aS)(t,tZ),a=(0,S.aS)(t,tA),s=[].concat(et(o),et(a)),l=(0,S.aS)(t,t7),u="".concat(n,"Id"),c=n[0],f=e;if(s.length&&(f=s.reduce(function(t,e){if(e.props[u]===r&&Q(e.props,"extendDomain")&&(0,k.Et)(e.props[c])){var n=e.props[c];return[Math.min(t[0],n),Math.max(t[1],n)]}return t},f)),l.length){var h="".concat(c,"1"),p="".concat(c,"2");f=l.reduce(function(t,e){if(e.props[u]===r&&Q(e.props,"extendDomain")&&(0,k.Et)(e.props[h])&&(0,k.Et)(e.props[p])){var n=e.props[h],i=e.props[p];return[Math.min(t[0],n,i),Math.max(t[1],n,i)]}return t},f)}return i&&i.length&&(f=i.reduce(function(t,e){return(0,k.Et)(e)?[Math.min(t[0],e),Math.max(t[1],e)]:t},f)),f},en=r(25641),ei=r(15232),eo=r(53657),ea=new(r.n(eo)()),es="recharts.syncMouseEvents";function el(t){return(el="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function eu(t,e,r){return(e=ec(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function ec(t){var e=function(t,e){if("object"!=el(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=el(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}
1(t,"string");return"symbol"==el(e)?e:e+""}var ef=function(){var t,e;return t=function t(){if(!(this instanceof t))throw TypeError("Cannot call a class as a function");eu(this,"activeIndex",0),eu(this,"coordinateList",[]),eu(this,"layout","horizontal")},e=[{key:"setDetails",value:function(t){var e,r=t.coordinateList,n=void 0===r?null:r,i=t.container,o=void 0===i?null:i,a=t.layout,s=void 0===a?null:a,l=t.offset,u=void 0===l?null:l,c=t.mouseHandlerCallback,f=void 0===c?null:c;this.coordinateList=null!=(e=null!=n?n:this.coordinateList)?e:[],this.container=null!=o?o:this.container,this.layout=null!=s?s:this.layout,this.offset=null!=u?u:this.offset,this.mouseHandlerCallback=null!=f?f: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(t){if(0!==this.coordinateList.length)switch(t.key){case"ArrowRight":if("horizontal"!==this.layout)return;this.activeIndex=Math.min(this.activeIndex+1,this.coordinateList.length-1),this.spoofMouse();break;case"ArrowLeft":if("horizontal"!==this.layout)return;this.activeIndex=Math.max(this.activeIndex-1,0),this.spoofMouse()}}},{key:"setIndex",value:function(t){this.activeIndex=t}},{key:"spoofMouse",value:function(){if("horizontal"===this.layout&&0!==this.coordinateList.length){var t,e,r=this.container.getBoundingClientRect(),n=r.x,i=r.y,o=r.height,a=this.coordinateList[this.activeIndex].coordinate,s=(null==(t=window)?void 0:t.scrollX)||0,l=(null==(e=window)?void 0:e.scrollY)||0,u=i+this.offset.top+o/2+l;this.mouseHandlerCallback({pageX:n+a+s,pageY:u})}}}],function(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,ec(n.key),n)}}(t.prototype,e),Object.defineProperty(t,"prototype",{writable:!1}),t}(),eh=r(67790),ep=r(70688);function ed(t){return(ed="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var ey=["x","y","top","left","width","height","className"];function em(){return(em=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}function eg(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}var ev=function(t){var e=t.x,r=void 0===e?0:e,i=t.y,o=void 0===i?0:i,a=t.top,s=void 0===a?0:a,l=t.left,u=void 0===l?0:l,c=t.width,f=void 0===c?0:c,h=t.height,p=void 0===h?0:h,d=t.className,y=function(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?eg(Object(r),!0).forEach(function(e){var n,i,o;n=t,i=e,o=r[e],(i=function(t){var e=function(t,e){if("object"!=ed(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=ed(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==ed(e)?e:e+""}(i))in n?Object.defineProperty(n,i,{value:o,enumerable:!0,configurable:!0,writable:!0}):n[i]=o}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):eg(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}({x:r,y:o,top:s,left:u,width:f,height:p},function(t,e){if(null==t)return{};var r,n,i=function(t,e){if(null==t)return{};var r={};for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)){if(e.indexOf(n)>=0)continue;r[n]=t[n]}return r}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(n=0;n<o.length;n++)r=o[n],!(e.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(i[r]=t[r])}return i}(t,ey));return(0,k.Et)(r)&&(0,k.Et)(o)&&(0,k.Et)(f)&&(0,k.Et)(p)&&(0,k.Et)(s)&&(0,k.Et)(u)?n.createElement("path",em({},(0,S.J9)(y,!0),{className:(0,m.A)("recharts-cross",d),d:"M".concat(r,",").concat(s,"v").concat(p,"M").concat(u,",").concat(o,"h").concat(f)})):null};function eb(t){var e=t.cx,r=t.cy,n=t.radius,i=t.startAngle,o=t.endAngle;return{points:[(0,en.IZ)(e,r,n,i),(0,en.IZ)(e,r,n,o)],cx:e,cy:r,radius:n,startAngle:i,endAngle:o}}
1var ex=r(77283);function ew(t){return(ew="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function eO(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function eS(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?eO(Object(r),!0).forEach(function(e){var n,i,o;n=t,i=e,o=r[e],(i=function(t){var e=function(t,e){if("object"!=ew(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=ew(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==ew(e)?e:e+""}(i))in n?Object.defineProperty(n,i,{value:o,enumerable:!0,configurable:!0,writable:!0}):n[i]=o}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):eO(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function eA(t){var e,r,i,o,a=t.element,s=t.tooltipEventType,l=t.isActive,u=t.activeCoordinate,c=t.activePayload,f=t.offset,h=t.activeTooltipIndex,p=t.tooltipAxisBandSize,d=t.layout,y=t.chartName,g=null!=(r=a.props.cursor)?r:null==(i=a.type.defaultProps)?void 0:i.cursor;if(!a||!g||!l||!u||"ScatterChart"!==y&&"axis"!==s)return null;var v=ep.I;if("ScatterChart"===y)o=u,v=ev;else if("BarChart"===y)e=p/2,o={stroke:"none",fill:"#ccc",x:"horizontal"===d?u.x-e:f.left+.5,y:"horizontal"===d?f.top+.5:u.y-e,width:"horizontal"===d?p:f.width-1,height:"horizontal"===d?f.height-1:p},v=j.M;else if("radial"===d){var b=eb(u),x=b.cx,w=b.cy,O=b.radius;o={cx:x,cy:w,startAngle:b.startAngle,endAngle:b.endAngle,innerRadius:O,outerRadius:O},v=ex.h}else o={points:function(t,e,r){var n,i,o,a;if("horizontal"===t)o=n=e.x,i=r.top,a=r.top+r.height;else if("vertical"===t)a=i=e.y,n=r.left,o=r.left+r.width;else if(null!=e.cx&&null!=e.cy)if("centric"!==t)return eb(e);else{var s=e.cx,l=e.cy,u=e.innerRadius,c=e.outerRadius,f=e.angle,h=(0,en.IZ)(s,l,u,f),p=(0,en.IZ)(s,l,c,f);n=h.x,i=h.y,o=p.x,a=p.y}return[{x:n,y:i},{x:o,y:a}]}(d,u,f)},v=ep.I;var A=eS(eS(eS(eS({stroke:"#ccc",pointerEvents:"none"},f),o),(0,S.J9)(g,!1)),{},{payload:c,payloadIndex:h,className:(0,m.A)("recharts-tooltip-cursor",g.className)});return(0,n.isValidElement)(g)?(0,n.cloneElement)(g,A):(0,n.createElement)(v,A)}var eE=["item"],ej=["children","className","width","height","style","compact","title","desc"];function eP(t){return(eP="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function eT(){return(eT=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}function eM(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,i,o,a,s=[],l=!0,u=!1;try{if(o=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=o.call(r)).done)&&(s.push(n.value),s.length!==e);l=!0);}catch(t){u=!0,i=t}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(u)throw i}}return s}}(t,e)||eB(t,e)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function ek(t,e){if(null==t)return{};var r,n,i=function(t,e){if(null==t)return{};var r={};for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)){if(e.indexOf(n)>=0)continue;r[n]=t[n]}return r}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(n=0;n<o.length;n++)r=o[n],!(e.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(i[r]=t[r])}return i}function eC(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(eC=function(){return!!t})()}
1function eI(t){return(eI=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function e_(t,e){return(e_=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function eD(t){return function(t){if(Array.isArray(t))return eR(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||eB(t)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function eB(t,e){if(t){if("string"==typeof t)return eR(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);if("Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return eR(t,e)}}function eR(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function eN(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function eL(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?eN(Object(r),!0).forEach(function(e){eU(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):eN(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function eU(t,e,r){return(e=eF(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function eF(t){var e=function(t,e){if("object"!=eP(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=eP(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==eP(e)?e:e+""}var eV={xAxis:["bottom","top"],yAxis:["left","right"]},e$={width:"100%",height:"100%"},ez={x:0,y:0};function eW(t){return t}var eH=function(t,e,r,n){var i=e.find(function(t){return t&&t.index===r});if(i){if("horizontal"===t)return{x:i.coordinate,y:n.y};if("vertical"===t)return{x:n.x,y:i.coordinate};if("centric"===t){var o=i.coordinate,a=n.radius;return eL(eL(eL({},n),(0,en.IZ)(n.cx,n.cy,a,o)),{},{angle:o,radius:a})}var s=i.coordinate,l=n.angle;return eL(eL(eL({},n),(0,en.IZ)(n.cx,n.cy,s,l)),{},{angle:l,radius:s})}return ez},eX=function(t,e){var r=e.graphicalItems,n=e.dataStartIndex,i=e.dataEndIndex,o=(null!=r?r:[]).reduce(function(t,e){var r=e.props.data;return r&&r.length?[].concat(eD(t),eD(r)):t},[]);return o.length>0?o:t&&t.length&&(0,k.Et)(n)&&(0,k.Et)(i)?t.slice(n,i+1):[]};function eq(t){return"number"===t?[0,"auto"]:void 0}var eK=function(t,e,r,n){var i=t.graphicalItems,o=t.tooltipAxis,a=eX(e,t);return r<0||!i||!i.length||r>=a.length?null:i.reduce(function(i,s){var l,u,c=null!=(l=s.props.data)?l:e;if(c&&t.dataStartIndex+t.dataEndIndex!==0&&t.dataEndIndex-t.dataStartIndex>=r&&(c=c.slice(t.dataStartIndex,t.dataEndIndex+1)),o.dataKey&&!o.allowDuplicatedCategory){var f=void 0===c?a:c;u=(0,k.eP)(f,o.dataKey,n)}else u=c&&c[r]||a[r];return u?[].concat(eD(i),[(0,M.zb)(s,u)]):i},[])},eY=function(t,e,r,n){var i=n||{x:t.chartX,y:t.chartY},o="horizontal"===r?i.x:"vertical"===r?i.y:"centric"===r?i.angle:i.radius,a=t.orderedTooltipTicks,s=t.tooltipAxis,l=t.tooltipTicks,u=(0,M.gH)(o,a,l,s);if(u>=0&&l){var c=l[u]&&l[u].value,f=eK(t,e,u,c),h=eH(r,a,u,i);return{activeTooltipIndex:u,activeLabel:c,activePayload:f,activeCoordinate:h}}return null},eG=function(t,e){var r=e.axes,n=e.graphicalItems,i=e.axisType,a=e.axisIdKey,s=e.stackGroups,l=e.dataStartIndex,c=e.dataEndIndex,f=t.layout,h=t.children,p=t.stackOffset,d=(0,M._L)(f,i);return r.reduce(function(e,r){var y=void 0!==r.type.defaultProps?eL(eL({},r.type.defaultProps),r.props):r.props,m=y.type,g=y.dataKey,v=y.allowDataOverflow,b=y.allowDuplicatedCategory,x=y.scale,w=y.ticks,O=y.includeHidden,S=y[a];if(e[S])return e;var A=eX(t.data,{graphicalItems:n.filter(function(t){var e;return(a in t.props?t.props[a]:null==(e=t.type.defaultProps)?void 0:e[a])===S}),dataStartIndex:l,dataEndIndex:c}),E=A.length;(function(t,e,r){if("number"===r&&!0===e&&Array.isArray(t)){var n=null==t?void 0:t[0],i=null==t?void 0:t[1];if(n&&i&&(0,k.Et)(n)&&(0,k.Et)(i))return!0}return!1})(y.domain,v,m)&&(T=(0,M.AQ)(y.domain,null,v),d&&("number"===m||"auto"!==x)&&(I=(0,M.Ay)(A,g,"category")));var j=eq(m);if(!T||0===T.length){var P,T,C,I,_,D=null!=(_=y.domain)?_:j;if(g){if(T=(0,M.Ay)(A,g,m),"category"===m&&d){var B=(0,k.CG)(T);b&&B?(C=T,T=u()(0,E)):b||(T=(0,M.KC)(D,T,r).reduce(function(t,e){return t.indexOf(e)>=0?t:[].concat(eD(t),[e])},[]))}else if("category"===m)T=b?T.filter(function(t){return""!==t&&!o()(t)}):(0,M.KC)(D,T,r).reduce(function(t,e){return t.indexOf(e)>=0||""===e||o()(e)?t:[].concat(eD(t),[e])},[]);else if("number"===m){var R=(0,M.A1)(A,n.filter(function(t){var e,r,n=a in t.props?t.props[a]:null==(e=t.type.defaultProps)?void 0:e[a],i="hide"in t.props?t.props.hide:null==(r=t.type.defaultProps)?void 0:r.hide;return n===S&&(O||!i)}),g,i,f);R&&(T=R)}d&&("number"===m||"auto"!==x)&&(I=(0,M.Ay)(A,g,"category"))}else T=d?u()(0,E):s&&s[S]&&s[S].hasStack&&"number"===m?"expand"===p?[0,1]:(0,M.Mk)(s[S].stackGroups,l,c):(0,M.vf)(A,n.filter(function(t){var e=a in t.props?t.props[a]:t.type.defaultProps[a],r="hide"in t.props?t.props.hide:t.type.defaultProps.hide;return e===S&&(O||!r)}),m,f,!0);"number"===m?(T=er(h,T,S,i,w),D&&(T=(0,M.AQ)(D,T,v))):"category"===m&&D&&T.every(function(t){return D.indexOf(t)>=0})&&(T=D)}return eL(eL({},e),{},eU({},S,eL(eL({},y),{},{axisType:i,domain:T,categoricalDomain:I,duplicateDomain:C,originalDomain:null!=(P=y.domain)?P:j,isCategorical:d,layout:f})))},{})},eJ=function(t,e){var r=e.graphicalItems,n=e.Axis,i=e.axisType,o=e.axisIdKey,a=e.stackGroups,s=e.dataStartIndex,l=e.dataEndIndex,c=t.layout,h=t.children,p=eX(t.data,{graphicalItems:r,dataStartIndex:s,dataEndIndex:l}),d=p.length,y=(0,M._L)(c,i),m=-1;return r.reduce(function(t,e){var g,v=(void 0!==e.type.defaultProps?eL(eL({},e.type.defaultProps),e.props):e.props)[o],b=eq("number");return t[v]?t:(m++,g=y?u()(0,d):a&&a[v]&&a[v].hasStack?er(h,g=(0,M.Mk)(a[v].stackGroups,s,l),v,i):er(h,g=(0,M.AQ)(b,(0,M.vf)(p,r.filter(function(t){var e,r,n=o in t.props?t.props[o]:null==(e=t.type.defaultProps)?void 0:e[o],i="hide"in t.props?t.props.hide:null==(r=t.type.defaultProps)?void 0:r.hide;return n===v&&!i}),"number",c),n.defaultProps.allowDataOverflow),v,i),eL(eL({},t),{},eU({},v,eL(eL({axisType:i},n.defaultProps),{},{hide:!0,orientation:f()(eV,"".concat(i,".").concat(m%2),null),domain:g,originalDomain:b,isCategorical:y,layout:c}))))},{})},eZ=function(t,e){var r=e.axisType,n=void 0===r?"xAxis":r,i=e.AxisComp,o=e.graphicalItems,a=e.stackGroups,s=e.dataStartIndex,l=e.dataEndIndex,u=t.children,c="".concat(n,"Id"),f=(0,S.aS)(u,i),h={};return f&&f.length?h=eG(t,{axes:f,graphicalItems:o,axisType:n,axisIdKey:c,stackGroups:a,dataStartIndex:s,dataEndIndex:l}):o&&o.length&&(h=eJ(t,{Axis:i,graphicalItems:o,axisType:n,axisIdKey:c,stackGroups:a,dataStartIndex:s,dataEndIndex:l})),h},eQ=function(t){var e=(0,k.lX)(t),r=(0,M.Rh)(e,!1,!0);return{tooltipTicks:r,orderedTooltipTicks:p()(r,function(t){return t.coordinate}),tooltipAxis:e,tooltipAxisBandSize:(0,M.Hj)(e,r)}},e0=function(t){var e=t.children,r=t.defaultShowTooltip,n=(0,S.BU)(e,Y),i=0,o=0;return t.data&&0!==t.data.length&&(o=t.data.length-1),n&&n.props&&(n.props.startIndex>=0&&(i=n.props.startIndex),n.props.endIndex>=0&&(o=n.props.endIndex)),{chartX:0,chartY:0,dataStartIndex:i,dataEndIndex:o,activeTooltipIndex:-1,isTooltipActive:!!r}},e1=function(t){return"horizontal"===t?{numericAxisName:"yAxis",cateAxisName:"xAxis"}:"vertical"===t?{numericAxisName:"xAxis",cateAxisName:"yAxis"}:"centric"===t?{numericAxisName:"radiusAxis",cateAxisName:"angleAxis"}:{numericAxisName:"angleAxis",cateAxisName:"radiusAxis"}},e2=function(t,e){var r=t.props,n=t.graphicalItems,i=t.xAxisMap,o=void 0===i?{}:i,a=t.yAxisMap,s=void 0===a?{}:a,l=r.width,u=r.height,c=r.children,h=r.margin||{},p=(0,S.BU)(c,Y),d=(0,S.BU)(c,w.s),y=Object.keys(s).reduce(function(t,e){var r=s[e],n=r.orientation;return r.mirror||r.hide?t:eL(eL({},t),{},eU({},n,t[n]+r.width))},{left:h.left||0,right:h.right||0}),m=Object.keys(o).reduce(function(t,e){var r=o[e],n=r.orientation;return r.mirror||r.hide?t:eL(eL({},t),{},eU({},n,f()(t,"".concat(n))+r.height))},{top:h.top||0,bottom:h.bottom||0}),g=eL(eL({},m),y),v=g.bottom;p&&(g.bottom+=p.props.height||Y.defaultProps.height),d&&e&&(g=(0,M.s0)(g,n,r,e));var b=l-g.left-g.right,x=u-g.top-g.bottom;return eL(eL({brushBottom:v},g),{},{width:Math.max(b,0),height:Math.max(x,0)})},e5=["points","className","baseLinePoints","connectNulls"];function e3(){return(e3=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];
1for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}function e6(t){return function(t){if(Array.isArray(t))return e8(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(t){if("string"==typeof t)return e8(t,void 0);var r=Object.prototype.toString.call(t).slice(8,-1);if("Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return e8(t,e)}}(t)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function e8(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}var e4=function(t){return t&&t.x===+t.x&&t.y===+t.y},e9=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],e=[[]];return t.forEach(function(t){e4(t)?e[e.length-1].push(t):e[e.length-1].length>0&&e.push([])}),e4(t[0])&&e[e.length-1].push(t[0]),e[e.length-1].length<=0&&(e=e.slice(0,-1)),e},e7=function(t,e){var r=e9(t);e&&(r=[r.reduce(function(t,e){return[].concat(e6(t),e6(e))},[])]);var n=r.map(function(t){return t.reduce(function(t,e,r){return"".concat(t).concat(0===r?"M":"L").concat(e.x,",").concat(e.y)},"")}).join("");return 1===r.length?"".concat(n,"Z"):n},rt=function(t,e,r){var n=e7(t,r);return"".concat("Z"===n.slice(-1)?n.slice(0,-1):n,"L").concat(e7(e.reverse(),r).slice(1))},re=function(t){var e=t.points,r=t.className,i=t.baseLinePoints,o=t.connectNulls,a=function(t,e){if(null==t)return{};var r,n,i=function(t,e){if(null==t)return{};var r={};for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)){if(e.indexOf(n)>=0)continue;r[n]=t[n]}return r}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(n=0;n<o.length;n++)r=o[n],!(e.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(i[r]=t[r])}return i}(t,e5);if(!e||!e.length)return null;var s=(0,m.A)("recharts-polygon",r);if(i&&i.length){var l=a.stroke&&"none"!==a.stroke,u=rt(e,i,o);return n.createElement("g",{className:s},n.createElement("path",e3({},(0,S.J9)(a,!0),{fill:"Z"===u.slice(-1)?a.fill:"none",stroke:"none",d:u})),l?n.createElement("path",e3({},(0,S.J9)(a,!0),{fill:"none",d:e7(e,o)})):null,l?n.createElement("path",e3({},(0,S.J9)(a,!0),{fill:"none",d:e7(i,o)})):null)}var c=e7(e,o);return n.createElement("path",e3({},(0,S.J9)(a,!0),{fill:"Z"===c.slice(-1)?a.fill:"none",className:s,d:c}))};function rr(t){return(rr="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function rn(){return(rn=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}function ri(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function ro(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?ri(Object(r),!0).forEach(function(e){rc(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):ri(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function ra(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,rf(n.key),n)}}function rs(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(rs=function(){return!!t})()}function rl(t){return(rl=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function ru(t,e){return(ru=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function rc(t,e,r){return(e=rf(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function rf(t){var e=function(t,e){if("object"!=rr(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=rr(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}
1(t,"string");return"symbol"==rr(e)?e:e+""}var rh=Math.PI/180,rp=function(t){var e,r;function i(){var t,e;if(!(this instanceof i))throw TypeError("Cannot call a class as a function");return t=i,e=arguments,t=rl(t),function(t,e){if(e&&("object"===rr(e)||"function"==typeof e))return e;if(void 0!==e)throw TypeError("Derived constructors may only return object or undefined");var r=t;if(void 0===r)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return r}(this,rs()?Reflect.construct(t,e||[],rl(this).constructor):t.apply(this,e))}if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");return i.prototype=Object.create(t&&t.prototype,{constructor:{value:i,writable:!0,configurable:!0}}),Object.defineProperty(i,"prototype",{writable:!1}),t&&ru(i,t),e=[{key:"getTickLineCoord",value:function(t){var e=this.props,r=e.cx,n=e.cy,i=e.radius,o=e.orientation,a=e.tickSize,s=(0,en.IZ)(r,n,i,t.coordinate),l=(0,en.IZ)(r,n,i+("inner"===o?-1:1)*(a||8),t.coordinate);return{x1:s.x,y1:s.y,x2:l.x,y2:l.y}}},{key:"getTickTextAnchor",value:function(t){var e=this.props.orientation,r=Math.cos(-t.coordinate*rh);return r>1e-5?"outer"===e?"start":"end":r<-1e-5?"outer"===e?"end":"start":"middle"}},{key:"renderAxisLine",value:function(){var t=this.props,e=t.cx,r=t.cy,i=t.radius,o=t.axisLine,a=t.axisLineType,s=ro(ro({},(0,S.J9)(this.props,!1)),{},{fill:"none"},(0,S.J9)(o,!1));if("circle"===a)return n.createElement(E,rn({className:"recharts-polar-angle-axis-line"},s,{cx:e,cy:r,r:i}));var l=this.props.ticks.map(function(t){return(0,en.IZ)(e,r,i,t.coordinate)});return n.createElement(re,rn({className:"recharts-polar-angle-axis-line"},s,{points:l}))}},{key:"renderTicks",value:function(){var t=this,e=this.props,r=e.ticks,o=e.tick,a=e.tickLine,s=e.tickFormatter,l=e.stroke,u=(0,S.J9)(this.props,!1),c=(0,S.J9)(o,!1),f=ro(ro({},u),{},{fill:"none"},(0,S.J9)(a,!1)),h=r.map(function(e,r){var h=t.getTickLineCoord(e),p=ro(ro(ro({textAnchor:t.getTickTextAnchor(e)},u),{},{stroke:"none",fill:l},c),{},{index:r,payload:e,x:h.x2,y:h.y2});return n.createElement(b.W,rn({className:(0,m.A)("recharts-polar-angle-axis-tick",(0,en.Zk)(o)),key:"tick-".concat(e.coordinate)},(0,O.XC)(t.props,e,r)),a&&n.createElement("line",rn({className:"recharts-polar-angle-axis-tick-line"},f,h)),o&&i.renderTickItem(o,p,s?s(e.value,r):e.value))});return n.createElement(b.W,{className:"recharts-polar-angle-axis-ticks"},h)}},{key:"render",value:function(){var t=this.props,e=t.ticks,r=t.radius,i=t.axisLine;return!(r<=0)&&e&&e.length?n.createElement(b.W,{className:(0,m.A)("recharts-polar-angle-axis",this.props.className)},i&&this.renderAxisLine(),this.renderTicks()):null}}],r=[{key:"renderTickItem",value:function(t,e,r){var i;return n.isValidElement(t)?n.cloneElement(t,e):s()(t)?t(e):n.createElement(T.E,rn({},e,{className:"recharts-polar-angle-axis-tick-value"}),r)}}],e&&ra(i.prototype,e),r&&ra(i,r),Object.defineProperty(i,"prototype",{writable:!1}),i}(n.PureComponent);rc(rp,"displayName","PolarAngleAxis"),rc(rp,"axisType","angleAxis"),rc(rp,"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 rd=r(83134),ry=r.n(rd),rm=r(14268),rg=r.n(rm),rv=["cx","cy","angle","ticks","axisLine"],rb=["ticks","tick","angle","tickFormatter","stroke"];function rx(t){return(rx="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function rw(){return(rw=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}function rO(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function rS(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};
1e%2?rO(Object(r),!0).forEach(function(e){rM(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):rO(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function rA(t,e){if(null==t)return{};var r,n,i=function(t,e){if(null==t)return{};var r={};for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)){if(e.indexOf(n)>=0)continue;r[n]=t[n]}return r}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(n=0;n<o.length;n++)r=o[n],!(e.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(i[r]=t[r])}return i}function rE(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,rk(n.key),n)}}function rj(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(rj=function(){return!!t})()}function rP(t){return(rP=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function rT(t,e){return(rT=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function rM(t,e,r){return(e=rk(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function rk(t){var e=function(t,e){if("object"!=rx(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=rx(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==rx(e)?e:e+""}var rC=function(t){var e,r;function i(){var t,e;if(!(this instanceof i))throw TypeError("Cannot call a class as a function");return t=i,e=arguments,t=rP(t),function(t,e){if(e&&("object"===rx(e)||"function"==typeof e))return e;if(void 0!==e)throw TypeError("Derived constructors may only return object or undefined");var r=t;if(void 0===r)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return r}(this,rj()?Reflect.construct(t,e||[],rP(this).constructor):t.apply(this,e))}if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");return i.prototype=Object.create(t&&t.prototype,{constructor:{value:i,writable:!0,configurable:!0}}),Object.defineProperty(i,"prototype",{writable:!1}),t&&rT(i,t),e=[{key:"getTickValueCoord",value:function(t){var e=t.coordinate,r=this.props,n=r.angle,i=r.cx,o=r.cy;return(0,en.IZ)(i,o,e,n)}},{key:"getTickTextAnchor",value:function(){var t;switch(this.props.orientation){case"left":t="end";break;case"right":t="start";break;default:t="middle"}return t}},{key:"getViewBox",value:function(){var t=this.props,e=t.cx,r=t.cy,n=t.angle,i=t.ticks,o=ry()(i,function(t){return t.coordinate||0});return{cx:e,cy:r,startAngle:n,endAngle:n,innerRadius:rg()(i,function(t){return t.coordinate||0}).coordinate||0,outerRadius:o.coordinate||0}}},{key:"renderAxisLine",value:function(){var t=this.props,e=t.cx,r=t.cy,i=t.angle,o=t.ticks,a=t.axisLine,s=rA(t,rv),l=o.reduce(function(t,e){return[Math.min(t[0],e.coordinate),Math.max(t[1],e.coordinate)]},[1/0,-1/0]),u=(0,en.IZ)(e,r,l[0],i),c=(0,en.IZ)(e,r,l[1],i),f=rS(rS(rS({},(0,S.J9)(s,!1)),{},{fill:"none"},(0,S.J9)(a,!1)),{},{x1:u.x,y1:u.y,x2:c.x,y2:c.y});return n.createElement("line",rw({className:"recharts-polar-radius-axis-line"},f))}},{key:"renderTicks",value:function(){var t=this,e=this.props,r=e.ticks,o=e.tick,a=e.angle,s=e.tickFormatter,l=e.stroke,u=rA(e,rb),c=this.getTickTextAnchor(),f=(0,S.J9)(u,!1),h=(0,S.J9)(o,!1),p=r.map(function(e,r){var u=t.getTickValueCoord(e),p=rS(rS(rS(rS({textAnchor:c,transform:"rotate(".concat(90-a,", ").concat(u.x,", ").concat(u.y,")")},f),{},{stroke:"none",fill:l},h),{},{index:r},u),{},{payload:e});return n.createElement(b.W,rw({className:(0,m.A)("recharts-polar-radius-axis-tick",(0,en.Zk)(o)),key:"tick-".concat(e.coordinate)},(0,O.XC)(t.props,e,r)),i.renderTickItem(o,p,s?s(e.value,r):e.value))});return n.createElement(b.W,{className:"recharts-polar-radius-axis-ticks"},p)}},{key:"render",value:function(){var t=this.props,e=t.ticks,r=t.axisLine,i=t.tick;return e&&e.length?n.createElement(b.W,{className:(0,m.A)("recharts-polar-radius-axis",this.props.className)},r&&this.renderAxisLine(),i&&this.renderTicks(),Z.J.renderCallByParent(this.props,this.getViewBox())):null}}],r=[{key:"renderTickItem",value:function(t,e,r){var i;return n.isValidElement(t)?n.cloneElement(t,e):s()(t)?t(e):n.createElement(T.E,rw({},e,{className:"recharts-polar-radius-axis-tick-value"}),r)}}],e&&rE(i.prototype,e),r&&rE(i,r),Object.defineProperty(i,"prototype",{writable:!1}),i}(n.PureComponent);rM(rC,"displayName","PolarRadiusAxis"),rM(rC,"axisType","radiusAxis"),rM(rC,"defaultProps",{type:"number",radiu
1sAxisId:0,cx:0,cy:0,angle:0,orientation:"right",stroke:"#ccc",axisLine:!0,tick:!0,tickCount:5,allowDataOverflow:!1,scale:"auto",allowDuplicatedCategory:!0});var rI=function(t){var e=t.chartName,r=t.GraphicalChild,i=t.defaultTooltipEventType,a=void 0===i?"axis":i,l=t.validateTooltipEventTypes,u=void 0===l?["axis"]:l,c=t.axisComponents,h=t.legendContent,p=t.formatAxisMap,d=t.defaultProps,w=function(t,e){var r=e.graphicalItems,n=e.stackGroups,i=e.offset,a=e.updateId,s=e.dataStartIndex,l=e.dataEndIndex,u=t.barSize,f=t.layout,h=t.barGap,p=t.barCategoryGap,d=t.maxBarSize,y=e1(f),m=y.numericAxisName,v=y.cateAxisName,b=!!r&&!!r.length&&r.some(function(t){var e=(0,S.Mn)(t&&t.type);return e&&e.indexOf("Bar")>=0}),x=[];return r.forEach(function(r,y){var w=eX(t.data,{graphicalItems:[r],dataStartIndex:s,dataEndIndex:l}),O=void 0!==r.type.defaultProps?eL(eL({},r.type.defaultProps),r.props):r.props,A=O.dataKey,E=O.maxBarSize,j=O["".concat(m,"Id")],P=O["".concat(v,"Id")],T=c.reduce(function(t,r){var n=e["".concat(r.axisType,"Map")],i=O["".concat(r.axisType,"Id")];n&&n[i]||"zAxis"===r.axisType||(0,g.A)(!1);var o=n[i];return eL(eL({},t),{},eU(eU({},r.axisType,o),"".concat(r.axisType,"Ticks"),(0,M.Rh)(o)))},{}),k=T[v],C=T["".concat(v,"Ticks")],I=n&&n[j]&&n[j].hasStack&&(0,M.kA)(r,n[j].stackGroups),_=(0,S.Mn)(r.type).indexOf("Bar")>=0,D=(0,M.Hj)(k,C),B=[],R=b&&(0,M.tA)({barSize:u,stackGroups:n,totalSize:"xAxis"===v?T[v].width:"yAxis"===v?T[v].height:void 0});if(_){var N,L,U=o()(E)?d:E,F=null!=(N=null!=(L=(0,M.Hj)(k,C,!0))?L:U)?N:0;B=(0,M.BX)({barGap:h,barCategoryGap:p,bandSize:F!==D?F:D,sizeList:R[P],maxBarSize:U}),F!==D&&(B=B.map(function(t){return eL(eL({},t),{},{position:eL(eL({},t.position),{},{offset:t.position.offset-F/2})})}))}var V=r&&r.type&&r.type.getComposedData;V&&x.push({props:eL(eL({},V(eL(eL({},T),{},{displayedData:w,props:t,dataKey:A,item:r,bandSize:D,barPosition:B,offset:i,stackedData:I,layout:f,dataStartIndex:s,dataEndIndex:l}))),{},eU(eU(eU({key:r.key||"item-".concat(y)},m,T[m]),v,T[v]),"animationId",a)),childIndex:(0,S.AW)(r,t.children),item:r})}),x},A=function(t,n){var i=t.props,o=t.dataStartIndex,a=t.dataEndIndex,s=t.updateId;if(!(0,S.Me)({props:i}))return null;var l=i.children,u=i.layout,f=i.stackOffset,h=i.data,d=i.reverseStackOrder,y=e1(u),m=y.numericAxisName,g=y.cateAxisName,v=(0,S.aS)(l,r),b=(0,M.Mn)(h,v,"".concat(m,"Id"),"".concat(g,"Id"),f,d),x=c.reduce(function(t,e){var r="".concat(e.axisType,"Map");return eL(eL({},t),{},eU({},r,eZ(i,eL(eL({},e),{},{graphicalItems:v,stackGroups:e.axisType===m&&b,dataStartIndex:o,dataEndIndex:a}))))},{}),O=e2(eL(eL({},x),{},{props:i,graphicalItems:v}),null==n?void 0:n.legendBBox);Object.keys(x).forEach(function(t){x[t]=p(i,x[t],O,t.replace("Map",""),e)});var A=eQ(x["".concat(g,"Map")]),E=w(i,eL(eL({},x),{},{dataStartIndex:o,dataEndIndex:a,updateId:s,graphicalItems:v,stackGroups:b,offset:O}));return eL(eL({formattedGraphicalItems:E,graphicalItems:v,offset:O,stackGroups:b},A),x)},P=function(t){var r;function i(t){var r,a,l,u,c;if(!(this instanceof i))throw TypeError("Cannot call a class as a function");return u=i,c=[t],u=eI(u),eU(l=function(t,e){if(e&&("object"===eP(e)||"function"==typeof e))return e;if(void 0!==e)throw TypeError("Derived constructors may only return object or undefined");var r=t;if(void 0===r)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return r}(this,eC()?Reflect.construct(u,c||[],eI(this).constructor):u.apply(this,c)),"eventEmitterSymbol",Symbol("rechartsEventEmitter")),eU(l,"accessibilityManager",new ef),eU(l,"handleLegendBBoxUpdate",function(t){if(t){var e=l.state,r=e.dataStartIndex,n=e.dataEndIndex,i=e.updateId;l.setState(eL({legendBBox:t},A({props:l.props,dataStartIndex:r,dataEndIndex:n,updateId:i},eL(eL({},l.state),{},{legendBBox:t}))))}}),eU(l,"handleReceiveSyncEvent",function(t,e,r){l.props.syncId===t&&(r!==l.eventEmitterSymbol||"function"==typeof l.props.syncMethod)&&l.applySyncEvent(e)}),eU(l,"handleBrushChange",function(t){var e=t.startIndex,r=t.endIndex;if(e!==l.state.dataStartIndex||r!==l.state.dataEndIndex){var n=l.state.updateId;l.setState(function(){return eL({dataStartIndex:e,dataEndIndex:r},A({props:l.props,dataStartIndex:e,dataEndIndex:r,updateId:n},l.state))}),l.triggerSyncEvent({dataStartIndex:e,dataEndIndex:r})}}),eU(l,"handleMouseEnter",function(t){var e=l.getMouseInfo(t);if(e){var r=eL(eL({},e),{},{isTooltipActive:!0});l.setState(r),l.triggerSyncEvent(r);var n=l.props.onMouseEnter;s()(n)&&n(r,t)}}),eU(l,"triggeredAfterMouseMove",function(t){var e=l.getMouseInfo(t),r=e?eL(eL({},e),{},{isTooltipActive:!0}):{isTooltipActive:!1};l.setState(r),l.triggerSyncEvent(r);var n=l.props.onMouseMove;s()(n)&&n(r,t)}),eU(l,"handleItemMouseEnter",function(t){l.setState(function(){return{isTooltipActive:!0,activeItem:t,activePayload:t.tooltipPayload,activeCoordinate:t.tooltipPosition||{x:t.cx,y:t.cy}}})}
1),eU(l,"handleItemMouseLeave",function(){l.setState(function(){return{isTooltipActive:!1}})}),eU(l,"handleMouseMove",function(t){t.persist(),l.throttleTriggeredAfterMouseMove(t)}),eU(l,"handleMouseLeave",function(t){l.throttleTriggeredAfterMouseMove.cancel();var e={isTooltipActive:!1};l.setState(e),l.triggerSyncEvent(e);var r=l.props.onMouseLeave;s()(r)&&r(e,t)}),eU(l,"handleOuterEvent",function(t){var e,r,n=(0,S.X_)(t),i=f()(l.props,"".concat(n));n&&s()(i)&&i(null!=(e=/.*touch.*/i.test(n)?l.getMouseInfo(t.changedTouches[0]):l.getMouseInfo(t))?e:{},t)}),eU(l,"handleClick",function(t){var e=l.getMouseInfo(t);if(e){var r=eL(eL({},e),{},{isTooltipActive:!0});l.setState(r),l.triggerSyncEvent(r);var n=l.props.onClick;s()(n)&&n(r,t)}}),eU(l,"handleMouseDown",function(t){var e=l.props.onMouseDown;s()(e)&&e(l.getMouseInfo(t),t)}),eU(l,"handleMouseUp",function(t){var e=l.props.onMouseUp;s()(e)&&e(l.getMouseInfo(t),t)}),eU(l,"handleTouchMove",function(t){null!=t.changedTouches&&t.changedTouches.length>0&&l.throttleTriggeredAfterMouseMove(t.changedTouches[0])}),eU(l,"handleTouchStart",function(t){null!=t.changedTouches&&t.changedTouches.length>0&&l.handleMouseDown(t.changedTouches[0])}),eU(l,"handleTouchEnd",function(t){null!=t.changedTouches&&t.changedTouches.length>0&&l.handleMouseUp(t.changedTouches[0])}),eU(l,"handleDoubleClick",function(t){var e=l.props.onDoubleClick;s()(e)&&e(l.getMouseInfo(t),t)}),eU(l,"handleContextMenu",function(t){var e=l.props.onContextMenu;s()(e)&&e(l.getMouseInfo(t),t)}),eU(l,"triggerSyncEvent",function(t){void 0!==l.props.syncId&&ea.emit(es,l.props.syncId,t,l.eventEmitterSymbol)}),eU(l,"applySyncEvent",function(t){var e=l.props,r=e.layout,n=e.syncMethod,i=l.state.updateId,o=t.dataStartIndex,a=t.dataEndIndex;if(void 0!==t.dataStartIndex||void 0!==t.dataEndIndex)l.setState(eL({dataStartIndex:o,dataEndIndex:a},A({props:l.props,dataStartIndex:o,dataEndIndex:a,updateId:i},l.state)));else if(void 0!==t.activeTooltipIndex){var s=t.chartX,u=t.chartY,c=t.activeTooltipIndex,f=l.state,h=f.offset,p=f.tooltipTicks;if(!h)return;if("function"==typeof n)c=n(p,t);else if("value"===n){c=-1;for(var d=0;d<p.length;d++)if(p[d].value===t.activeLabel){c=d;break}}var y=eL(eL({},h),{},{x:h.left,y:h.top}),m=Math.min(s,y.x+y.width),g=Math.min(u,y.y+y.height),v=p[c]&&p[c].value,b=eK(l.state,l.props.data,c),x=p[c]?{x:"horizontal"===r?p[c].coordinate:m,y:"horizontal"===r?g:p[c].coordinate}:ez;l.setState(eL(eL({},t),{},{activeLabel:v,activeCoordinate:x,activePayload:b,activeTooltipIndex:c}))}else l.setState(t)}),eU(l,"renderCursor",function(t){var r,i=l.state,o=i.isTooltipActive,a=i.activeCoordinate,s=i.activePayload,u=i.offset,c=i.activeTooltipIndex,f=i.tooltipAxisBandSize,h=l.getTooltipEventType(),p=null!=(r=t.props.active)?r:o,d=l.props.layout,y=t.key||"_recharts-cursor";return n.createElement(eA,{key:y,activeCoordinate:a,activePayload:s,activeTooltipIndex:c,chartName:e,element:t,isActive:p,layout:d,offset:u,tooltipAxisBandSize:f,tooltipEventType:h})}),eU(l,"renderPolarAxis",function(t,e,r){var i=f()(t,"type.axisType"),o=f()(l.state,"".concat(i,"Map")),a=t.type.defaultProps,s=void 0!==a?eL(eL({},a),t.props):t.props,u=o&&o[s["".concat(i,"Id")]];return(0,n.cloneElement)(t,eL(eL({},u),{},{className:(0,m.A)(i,u.className),key:t.key||"".concat(e,"-").concat(r),ticks:(0,M.Rh)(u,!0)}))}),eU(l,"renderPolarGrid",function(t){var e=t.props,r=e.radialLines,i=e.polarAngles,o=e.polarRadius,a=l.state,s=a.radiusAxisMap,u=a.angleAxisMap,c=(0,k.lX)(s),f=(0,k.lX)(u),h=f.cx,p=f.cy,d=f.innerRadius,y=f.outerRadius;return(0,n.cloneElement)(t,{polarAngles:Array.isArray(i)?i:(0,M.Rh)(f,!0).map(function(t){return t.coordinate}),polarRadius:Array.isArray(o)?o:(0,M.Rh)(c,!0).map(function(t){return t.coordinate}),cx:h,cy:p,innerRadius:d,outerRadius:y,key:t.key||"polar-grid",radialLines:r})}),eU(l,"renderLegend",function(){var t=l.state.formattedGraphicalItems,e=l.props,r=e.children,i=e.width,o=e.height,a=l.props.margin||{},s=i-(a.left||0)-(a.right||0),u=(0,J.g)({children:r,formattedGraphicalItems:t,legendWidth:s,legendContent:h});if(!u)return null;var c=u.item,f=ek(u,eE);return(0,n.cloneElement)(c,eL(eL({},f),{}
1,{chartWidth:i,chartHeight:o,margin:a,onBBoxUpdate:l.handleLegendBBoxUpdate}))}),eU(l,"renderTooltip",function(){var t,e=l.props,r=e.children,i=e.accessibilityLayer,o=(0,S.BU)(r,x.m);if(!o)return null;var a=l.state,s=a.isTooltipActive,u=a.activeCoordinate,c=a.activePayload,f=a.activeLabel,h=a.offset,p=null!=(t=o.props.active)?t:s;return(0,n.cloneElement)(o,{viewBox:eL(eL({},h),{},{x:h.left,y:h.top}),active:p,label:f,payload:p?c:[],coordinate:u,accessibilityLayer:i})}),eU(l,"renderBrush",function(t){var e=l.props,r=e.margin,i=e.data,o=l.state,a=o.offset,s=o.dataStartIndex,u=o.dataEndIndex,c=o.updateId;return(0,n.cloneElement)(t,{key:t.key||"_recharts-brush",onChange:(0,M.HQ)(l.handleBrushChange,t.props.onChange),data:i,x:(0,k.Et)(t.props.x)?t.props.x:a.left,y:(0,k.Et)(t.props.y)?t.props.y:a.top+a.height+a.brushBottom-(r.bottom||0),width:(0,k.Et)(t.props.width)?t.props.width:a.width,startIndex:s,endIndex:u,updateId:"brush-".concat(c)})}),eU(l,"renderReferenceElement",function(t,e,r){if(!t)return null;var i=l.clipPathId,o=l.state,a=o.xAxisMap,s=o.yAxisMap,u=o.offset,c=t.type.defaultProps||{},f=t.props,h=f.xAxisId,p=void 0===h?c.xAxisId:h,d=f.yAxisId,y=void 0===d?c.yAxisId:d;return(0,n.cloneElement)(t,{key:t.key||"".concat(e,"-").concat(r),xAxis:a[p],yAxis:s[y],viewBox:{x:u.left,y:u.top,width:u.width,height:u.height},clipPathId:i})}),eU(l,"renderActivePoints",function(t){var e=t.item,r=t.activePoint,n=t.basePoint,o=t.childIndex,a=t.isRange,s=[],l=e.props.key,u=void 0!==e.item.type.defaultProps?eL(eL({},e.item.type.defaultProps),e.item.props):e.item.props,c=u.activeDot,f=eL(eL({index:o,dataKey:u.dataKey,cx:r.x,cy:r.y,r:4,fill:(0,M.Ps)(e.item),strokeWidth:2,stroke:"#fff",payload:r.payload,value:r.value},(0,S.J9)(c,!1)),(0,O._U)(c));return s.push(i.renderActiveDot(c,f,"".concat(l,"-activePoint-").concat(o))),n?s.push(i.renderActiveDot(c,eL(eL({},f),{},{cx:n.x,cy:n.y}),"".concat(l,"-basePoint-").concat(o))):a&&s.push(null),s}),eU(l,"renderGraphicChild",function(t,e,r){var i=l.filterFormatItem(t,e,r);if(!i)return null;var a=l.getTooltipEventType(),s=l.state,u=s.isTooltipActive,c=s.tooltipAxis,f=s.activeTooltipIndex,h=s.activeLabel,p=l.props.children,d=(0,S.BU)(p,x.m),y=i.props,m=y.points,g=y.isRange,v=y.baseLine,b=void 0!==i.item.type.defaultProps?eL(eL({},i.item.type.defaultProps),i.item.props):i.item.props,w=b.activeDot,O=b.hide,A=b.activeBar,E=b.activeShape,j=!!(!O&&u&&d&&(w||A||E)),P={};"axis"!==a&&d&&"click"===d.props.trigger?P={onClick:(0,M.HQ)(l.handleItemMouseEnter,t.props.onClick)}:"axis"!==a&&(P={onMouseLeave:(0,M.HQ)(l.handleItemMouseLeave,t.props.onMouseLeave),onMouseEnter:(0,M.HQ)(l.handleItemMouseEnter,t.props.onMouseEnter)});var T=(0,n.cloneElement)(t,eL(eL({},i.props),P));if(j)if(f>=0){if(c.dataKey&&!c.allowDuplicatedCategory){var C="function"==typeof c.dataKey?function(t){return"function"==typeof c.dataKey?c.dataKey(t.payload):null}:"payload.".concat(c.dataKey.toString());_=(0,k.eP)(m,C,h),D=g&&v&&(0,k.eP)(v,C,h)}else _=null==m?void 0:m[f],D=g&&v&&v[f];if(E||A){var I=void 0!==t.props.activeIndex?t.props.activeIndex:f;return[(0,n.cloneElement)(t,eL(eL(eL({},i.props),P),{},{activeIndex:I})),null,null]}if(!o()(_))return[T].concat(eD(l.renderActivePoints({item:i,activePoint:_,basePoint:D,childIndex:f,isRange:g})))}else{var _,D,B,R=(null!=(B=l.getItemByXY(l.state.activeCoordinate))?B:{graphicalItem:T}).graphicalItem,N=R.item,L=void 0===N?t:N,U=R.childIndex,F=eL(eL(eL({},i.props),P),{},{activeIndex:U});return[(0,n.cloneElement)(L,F),null,null]}return g?[T,null,null]:[T,null]}),eU(l,"renderCustomized",function(t,e,r){return(0,n.cloneElement)(t,eL(eL({key:"recharts-customized-".concat(r)},l.props),l.state))}),eU(l,"renderMap",{CartesianGrid:{handler:eW,once:!0},ReferenceArea:{handler:l.renderReferenceElement},ReferenceLine:{handler:eW},ReferenceDot:{handler:l.renderReferenceElement},XAxis:{handler:eW},YAxis:{handler:eW},Brush:{handler:l.renderBrush,once:!0},Bar:{handler:l.renderGraphicChild},Line:{handler:l.renderGraphicChild},Area:{handler:l.renderGraphicChild},Radar:{handler:l.renderGraphicChild},RadialBar:{handler:l.renderGraphicChild},Scatter:{handler:l.renderGraphicChild},Pie:{handler:l.renderGraphicChild},Funnel:{handler:l.renderGraphicChild},Tooltip:{handler:l.renderCursor,once:!0},PolarGrid:{handler:l.renderPolarGrid,once:!0},PolarAngleAxis:{handler:l.renderPolarAxis},PolarRadiusAxis:{handler:l.renderPolarAxis},Customized:{handler:l.renderCustomized}}),l.clipPathId="".concat(null!=(r=t.id)?r:(0,k.NF)("recharts"),"-clip"),l.throttleTriggeredAfterMouseMove=y()(l.triggeredAfterMouseMove,null!=(a=t.throttleDelay)?a:1e3/60),l.state={},l}if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");return i.prototype=Object.create(t&&t.prototype,{constructor:{value:i,writable:!0,configurable:!0}}),Object.defineProperty(i,"prototype",{writable:!1}),t&&e_(i,t),r=[{key:"componentDidMount",value:function(){var t,e;this.addListener(),this.accessibilityManager.setDetails({container:this.container,offset:{left:null!=(t=this.props.margin.left)?t:0,top:null!=(e=this.props.margin.top)?e:0},coordinateList:this.state.tooltipTicks,mouseHandlerCallback:this.triggeredAfterMouseMove,layout:this.props.layout}),this.displayDefaultTooltip()}},{key:"displayDefaultTooltip",value:function(){var t=this.props,e=t.children,r=t.data,n=t.height,i=t.layout,o=(0,S.BU)(e,x.m);if(o){var a=o.props.defaultIndex;if("number"==typeof a&&!(a<0)&&!(a>this.state.tooltipTicks.length-1)){var s=this.state.tooltipTicks[a]&&this.state.tooltipTicks[a].value,l=eK(this.state,r,a,s),u=this.state.tooltipTicks[a].coordinate,c=(this.state.offset.top+n)/2,f="horizontal"===i?{x:u,y:c}:{y:u,x:c},h=this.state.formattedGraphicalItems.find(function(t){return"Scatter"===t.item.type.name});h&&(f=eL(eL({},f),h.props.points[a].tooltipPosition),l=h.props.points[a].tooltipPayload);var p={activeTooltipIndex:a,isTooltipActive:!0,activeLabel:s,activePayload:l,activeCoordinate:f};this.setState(p),this.renderCursor(o),this.accessibilityManager.setIndex(a)}}}},{key:"getSnapshotBeforeUpdate",value:function(t,e){if(!this.props.accessibilityLayer)return null;if(this.state.tooltipTicks!==e.tooltipTicks&&this.accessibilityManager.setDetails({coordinateList:this.state.tooltipTicks}),this.props.layout!==t.layout&&this.accessibilityManager.setDetails({layout:this.props.layout}),this.props.margin!==t.margin){var r,n;this.accessibilityManager.setDetails({offset:{left:null!=(r=this.props.margin.left)?r:0,top:null!=(n=this.props.margin.top)?n:0}})}return null}},{key:"componentDidUpdate",value:function(t){(0,S.OV)([(0,S.BU)(t.children,x.m)],[(0,S.BU)(this.props.children,x.m)])||this.displayDefaultTooltip()}},{key:"componentWillUnmount",value:function(){this.removeListener(),this.throttleTriggeredAfterMouseMove.cancel()}},{key:"getTooltipEventType",value:function(){var t=(0,S.BU)(this.props.children,x.m);if(t&&"boolean"==typeof t.props.shared){var e=t.props.shared?"axis":"item";return u.indexOf(e)>=0?e:a}return a}},{key:"getMouseInfo",value:function(t){if(!this.container)return null;var e=this.container,r=e.getBoundingClientRect(),n=(0,G.A3)(r),i={chartX:Math.round(t.pageX-n.left),chartY:Math.round(t.pageY-n.top)},o=r.width/e.offsetWidth||1,a=this.inRange(i.chartX,i.chartY,o);if(!a)return null;var s=this.state,l=s.xAxisMap,u=s.yAxisMap,c=this.getTooltipEventType(),f=eY(this.state,this.props.data,this.props.layout,a);if("axis"!==c&&l&&u){var h=(0,k.lX)(l).scale,p=(0,k.lX)(u).scale,d=h&&h.invert?h.invert(i.chartX):null,y=p&&p.invert?p.invert(i.chartY):null;return eL(eL({},i),{},{xValue:d,yValue:y},f)}return f?eL(eL({},i),f):null}},{key:"inRange",value:function(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,n=this.props.layout,i=t/r,o=e/r;if("horizontal"===n||"vertical"===n){var a=this.state.offset;return i>=a.left&&i<=a.left+a.width&&o>=a.top&&o<=a.top+a.height?{x:i,y:o}:null}var s=this.state,l=s.angleAxisMap,u=s.radiusAxisMap;if(l&&u){var c=(0,k.lX)(l);return(0,en.yy)({x:i,y:o},c)}return null}},{key:"parseEventsOfWrapper",value:function(){var t=this.props.children,e=this.getTooltipEventType(),r=(0,S.BU)(t,x.m),n={};return r&&"axis"===e&&(n="click"===r.props.trigger?{onClick:this.handleClick}:{onMouseEnter:this.handleMouseEnter,onDoubleClick:this.handleDoubleClick,onMouseMove:this.handleMouseMove,onMouseLeave:this.handleMouseLeave,onTouchMove:this.handleTouchMove,onTouchStart:this.handleTouchStart,onTouchEnd:this.handleTouchEnd,onContextMenu:this.handleContextMenu}),eL(eL({},(0,O._U)(this.props,this.handleOuterEvent)),n)}},{key:"addListener",value:function(){ea.on(es,this.handleReceiveSyncEvent)}},{key:"removeListener",value:function(){ea.removeListener(es,this.handleReceiveSyncEvent)}},{key:"filterFormatItem",value:function(t,e,r){for(var n=this.state.formattedGraphicalItems,i=0,o=n.length;i<o;i++){var a=n[i];if(a.item===t||a.props.key===t.key||e===(0,S.Mn)(a.item.type)&&r===a.childIndex)return a}return null}},{key:"renderClipPath",value:function(){var t=this.clipPathId,e=this.state.offset,r=e.left,i=e.top,o=e.height,a=e.width;return n.createElement("defs",null,n.createElement("clipPath",{id:t},n.createElement("rect",{x:r,y:i,height:o,width:a})))}},{key:"getXScales",value:function(){var t=this.state.xAxisMap;return t?Object.entries(t).reduce(function(t,e){var r=eM(e,2),n=r[0],i=r[1];return eL(eL({},t),{},eU({},n,i.scale))},{}):null}},{key:"getYScales",value:function(){var t=this.state.yAxisMap;return t?Object.entries(t).reduce(function(t,e){var r=eM(e,2),n=r[0],i=r[1];return eL(eL({},t),{},eU({},n,i.scale))},{}):null}},{key:"getXScaleByAxisId",value:function(t){var e;return null==(e=this.state.xAxisMap)||null==(e=e[t])?void 0:e.scale}},{key:"getYScaleByAxisId",value:function(t){var e;return null==(e=this.state.yAxisMap)||null==(e=e[t])?void 0:e.scale}},{key:"getItemByXY",value:function(t){var e=this.state,r=e.formattedGraphicalItems,n=e.activeItem;if(r&&r.length)for(var i=0,o=r.length;i<o;i++){var a=r[i],s=a.props,l=a.item,u=void 0!==l.type.defaultProps?eL(eL({},l.type.defaultProps),l.props):l.props,c=(0,S.Mn)(l.type);if("Bar"===c){var f=(s.data||[]).find(function(e){return(0,j.J)(t,e)});if(f)return{graphicalItem:a,payload:f}}else if("RadialBar"===c){var h=(s.data||[]).find(function(e){return(0,en.yy)(t,e)});if(h)return{graphicalItem:a,payload:h}}
1else if((0,eh.NE)(a,n)||(0,eh.nZ)(a,n)||(0,eh.xQ)(a,n)){var p=(0,eh.GG)({graphicalItem:a,activeTooltipItem:n,itemData:u.data}),d=void 0===u.activeIndex?p:u.activeIndex;return{graphicalItem:eL(eL({},a),{},{childIndex:d}),payload:(0,eh.xQ)(a,n)?u.data[p]:a.props.data[p]}}}return null}},{key:"render",value:function(){var t,e,r=this;if(!(0,S.Me)(this))return null;var i=this.props,o=i.children,a=i.className,s=i.width,l=i.height,u=i.style,c=i.compact,f=i.title,h=i.desc,p=ek(i,ej),d=(0,S.J9)(p,!1);if(c)return n.createElement(tR,{state:this.state,width:this.props.width,height:this.props.height,clipPathId:this.clipPathId},n.createElement(v.u,eT({},d,{width:s,height:l,title:f,desc:h}),this.renderClipPath(),(0,S.ee)(o,this.renderMap)));this.props.accessibilityLayer&&(d.tabIndex=null!=(t=this.props.tabIndex)?t:0,d.role=null!=(e=this.props.role)?e:"application",d.onKeyDown=function(t){r.accessibilityManager.keyboardEvent(t)},d.onFocus=function(){r.accessibilityManager.focus()});var y=this.parseEventsOfWrapper();return n.createElement(tR,{state:this.state,width:this.props.width,height:this.props.height,clipPathId:this.clipPathId},n.createElement("div",eT({className:(0,m.A)("recharts-wrapper",a),style:eL({position:"relative",cursor:"default",width:s,height:l},u)},y,{ref:function(t){r.container=t}}),n.createElement(v.u,eT({},d,{width:s,height:l,title:f,desc:h,style:e$}),this.renderClipPath(),(0,S.ee)(o,this.renderMap)),this.renderLegend(),this.renderTooltip()))}}],function(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,eF(n.key),n)}}(i.prototype,r),Object.defineProperty(i,"prototype",{writable:!1}),i}(n.Component);eU(P,"displayName",e),eU(P,"defaultProps",eL({layout:"horizontal",stackOffset:"none",barCategoryGap:"10%",barGap:4,margin:{top:5,right:5,bottom:5,left:5},reverseStackOrder:!1,syncMethod:"index"},d)),eU(P,"getDerivedStateFromProps",function(t,e){var r=t.dataKey,n=t.data,i=t.children,a=t.width,s=t.height,l=t.layout,u=t.stackOffset,c=t.margin,f=e.dataStartIndex,h=e.dataEndIndex;if(void 0===e.updateId){var p=e0(t);return eL(eL(eL({},p),{},{updateId:0},A(eL(eL({props:t},p),{},{updateId:0}),e)),{},{prevDataKey:r,prevData:n,prevWidth:a,prevHeight:s,prevLayout:l,prevStackOffset:u,prevMargin:c,prevChildren:i})}if(r!==e.prevDataKey||n!==e.prevData||a!==e.prevWidth||s!==e.prevHeight||l!==e.prevLayout||u!==e.prevStackOffset||!(0,ei.b)(c,e.prevMargin)){var d=e0(t),y={chartX:e.chartX,chartY:e.chartY,isTooltipActive:e.isTooltipActive},m=eL(eL({},eY(e,n,l)),{},{updateId:e.updateId+1}),g=eL(eL(eL({},d),y),m);return eL(eL(eL({},g),A(eL({props:t},g),e)),{},{prevDataKey:r,prevData:n,prevWidth:a,prevHeight:s,prevLayout:l,prevStackOffset:u,prevMargin:c,prevChildren:i})}if(!(0,S.OV)(i,e.prevChildren)){var v,b,x,w,O=(0,S.BU)(i,Y),E=O&&null!=(v=null==(b=O.props)?void 0:b.startIndex)?v:f,j=O&&null!=(x=null==(w=O.props)?void 0:w.endIndex)?x:h,P=o()(n)||E!==f||j!==h?e.updateId+1:e.updateId;return eL(eL({updateId:P},A(eL(eL({props:t},e),{},{updateId:P,dataStartIndex:E,dataEndIndex:j}),e)),{},{prevChildren:i,dataStartIndex:E,dataEndIndex:j})}return null}),eU(P,"renderActiveDot",function(t,e,r){var i;return i=(0,n.isValidElement)(t)?(0,n.cloneElement)(t,e):s()(t)?t(e):n.createElement(E,e),n.createElement(b.W,{className:"recharts-active-dot",key:r},i)});var T=(0,n.forwardRef)(function(t,e){return n.createElement(P,eT({},t,{ref:e}))});return T.displayName=P.displayName,T}({chartName:"PieChart",GraphicalChild:r(79133).F,validateTooltipEventTypes:["item"],defaultTooltipEventType:"item",legendContent:"children",axisComponents:[{axisType:"angleAxis",AxisComp:rp},{axisType:"radiusAxis",AxisComp:rC}],formatAxisMap:en.pr,defaultProps:{layout:"centric",startAngle:0,endAngle:360,cx:"50%",cy:"50%",innerRadius:0,outerRadius:"80%"}})},59882:t=>{t.exports=function(t){return null==t}},60245:(t,e,r)=>{var n=r(51911);t.exports=function(t,e){return n(t,e)}},60379:(t,e,r)=>{"use strict";r.d(e,{J:()=>E});var n=r(12115),i=r(59882),o=r.n(i),a=r(40139),s=r.n(a),l=r(67460),u=r.n(l),c=r(35796),f=r(79095),h=r(70788),p=r(16377),d=r(25641);function y(t){return(y="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var m=["offset"];function g(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function v(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function b(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};
1e%2?v(Object(r),!0).forEach(function(e){var n,i,o;n=t,i=e,o=r[e],(i=function(t){var e=function(t,e){if("object"!=y(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=y(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==y(e)?e:e+""}(i))in n?Object.defineProperty(n,i,{value:o,enumerable:!0,configurable:!0,writable:!0}):n[i]=o}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):v(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function x(){return(x=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}var w=function(t){var e=t.value,r=t.formatter,n=o()(t.children)?e:t.children;return s()(r)?r(n):n},O=function(t,e,r){var i,a,s=t.position,l=t.viewBox,u=t.offset,f=t.className,h=l.cx,y=l.cy,m=l.innerRadius,g=l.outerRadius,v=l.startAngle,b=l.endAngle,w=l.clockWise,O=(m+g)/2,S=(0,p.sA)(b-v)*Math.min(Math.abs(b-v),360),A=S>=0?1:-1;"insideStart"===s?(i=v+A*u,a=w):"insideEnd"===s?(i=b-A*u,a=!w):"end"===s&&(i=b+A*u,a=w),a=S<=0?a:!a;var E=(0,d.IZ)(h,y,O,i),j=(0,d.IZ)(h,y,O,i+(a?1:-1)*359),P="M".concat(E.x,",").concat(E.y,"\n    A").concat(O,",").concat(O,",0,1,").concat(+!a,",\n    ").concat(j.x,",").concat(j.y),T=o()(t.id)?(0,p.NF)("recharts-radial-line-"):t.id;return n.createElement("text",x({},r,{dominantBaseline:"central",className:(0,c.A)("recharts-radial-bar-label",f)}),n.createElement("defs",null,n.createElement("path",{id:T,d:P})),n.createElement("textPath",{xlinkHref:"#".concat(T)},e))},S=function(t){var e=t.viewBox,r=t.offset,n=t.position,i=e.cx,o=e.cy,a=e.innerRadius,s=e.outerRadius,l=(e.startAngle+e.endAngle)/2;if("outside"===n){var u=(0,d.IZ)(i,o,s+r,l),c=u.x;return{x:c,y:u.y,textAnchor:c>=i?"start":"end",verticalAnchor:"middle"}}if("center"===n)return{x:i,y:o,textAnchor:"middle",verticalAnchor:"middle"};if("centerTop"===n)return{x:i,y:o,textAnchor:"middle",verticalAnchor:"start"};if("centerBottom"===n)return{x:i,y:o,textAnchor:"middle",verticalAnchor:"end"};var f=(0,d.IZ)(i,o,(a+s)/2,l);return{x:f.x,y:f.y,textAnchor:"middle",verticalAnchor:"middle"}},A=function(t){var e=t.viewBox,r=t.parentViewBox,n=t.offset,i=t.position,o=e.x,a=e.y,s=e.width,l=e.height,c=l>=0?1:-1,f=c*n,h=c>0?"end":"start",d=c>0?"start":"end",y=s>=0?1:-1,m=y*n,g=y>0?"end":"start",v=y>0?"start":"end";if("top"===i)return b(b({},{x:o+s/2,y:a-c*n,textAnchor:"middle",verticalAnchor:h}),r?{height:Math.max(a-r.y,0),width:s}:{});if("bottom"===i)return b(b({},{x:o+s/2,y:a+l+f,textAnchor:"middle",verticalAnchor:d}),r?{height:Math.max(r.y+r.height-(a+l),0),width:s}:{});if("left"===i){var x={x:o-m,y:a+l/2,textAnchor:g,verticalAnchor:"middle"};return b(b({},x),r?{width:Math.max(x.x-r.x,0),height:l}:{})}if("right"===i){var w={x:o+s+m,y:a+l/2,textAnchor:v,verticalAnchor:"middle"};return b(b({},w),r?{width:Math.max(r.x+r.width-w.x,0),height:l}:{})}var O=r?{width:s,height:l}:{};return"insideLeft"===i?b({x:o+m,y:a+l/2,textAnchor:v,verticalAnchor:"middle"},O):"insideRight"===i?b({x:o+s-m,y:a+l/2,textAnchor:g,verticalAnchor:"middle"},O):"insideTop"===i?b({x:o+s/2,y:a+f,textAnchor:"middle",verticalAnchor:d},O):"insideBottom"===i?b({x:o+s/2,y:a+l-f,textAnchor:"middle",verticalAnchor:h},O):"insideTopLeft"===i?b({x:o+m,y:a+f,textAnchor:v,verticalAnchor:d},O):"insideTopRight"===i?b({x:o+s-m,y:a+f,textAnchor:g,verticalAnchor:d},O):"insideBottomLeft"===i?b({x:o+m,y:a+l-f,textAnchor:v,verticalAnchor:h},O):"insideBottomRight"===i?b({x:o+s-m,y:a+l-f,textAnchor:g,verticalAnchor:h},O):u()(i)&&((0,p.Et)(i.x)||(0,p._3)(i.x))&&((0,p.Et)(i.y)||(0,p._3)(i.y))?b({x:o+(0,p.F4)(i.x,s),y:a+(0,p.F4)(i.y,l),textAnchor:"end",verticalAnchor:"end"},O):b({x:o+s/2,y:a+l/2,textAnchor:"middle",verticalAnchor:"middle"},O)};function E(t){var e,r=t.offset,i=b({offset:void 0===r?5:r},function(t,e){if(null==t)return{};var r,n,i=function(t,e){if(null==t)return{};var r={};for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)){if(e.indexOf(n)>=0)continue;r[n]=t[n]}return r}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(n=0;n<o.length;n++)r=o[n],!(e.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(i[r]=t[r])}return i}(t,m)),a=i.viewBox,l=i.position,u=i.value,d=i.children,y=i.content,g=i.className,v=i.textBreakAll;if(!a||o()(u)&&o()(d)&&!(0,n.isValidElement)(y)&&!s()(y))return null;if((0,n.isValidElement)(y))return(0,n.cloneElement)(y,i);if(s()(y)){if(e=(0,n.createElement)(y,i),(0,n.isValidElement)(e))return e}else e=w(i);var E="cx"in a&&(0,p.Et)(a.cx),j=(0,h.J9)(i,!0);if(E&&("insideStart"===l||"insideEnd"===l||"end"===l))return O(i,e,j);var P=E?S(i):A(i);
1return n.createElement(f.E,x({className:(0,c.A)("recharts-label",void 0===g?"":g)},j,P,{breakAll:v}),e)}E.displayName="Label";var j=function(t){var e=t.cx,r=t.cy,n=t.angle,i=t.startAngle,o=t.endAngle,a=t.r,s=t.radius,l=t.innerRadius,u=t.outerRadius,c=t.x,f=t.y,h=t.top,d=t.left,y=t.width,m=t.height,g=t.clockWise,v=t.labelViewBox;if(v)return v;if((0,p.Et)(y)&&(0,p.Et)(m)){if((0,p.Et)(c)&&(0,p.Et)(f))return{x:c,y:f,width:y,height:m};if((0,p.Et)(h)&&(0,p.Et)(d))return{x:h,y:d,width:y,height:m}}return(0,p.Et)(c)&&(0,p.Et)(f)?{x:c,y:f,width:0,height:0}:(0,p.Et)(e)&&(0,p.Et)(r)?{cx:e,cy:r,startAngle:i||n||0,endAngle:o||n||0,innerRadius:l||0,outerRadius:u||s||a||0,clockWise:g}:t.viewBox?t.viewBox:{}};E.parseViewBox=j,E.renderCallByParent=function(t,e){var r,i,o=!(arguments.length>2)||void 0===arguments[2]||arguments[2];if(!t||!t.children&&o&&!t.label)return null;var a=t.children,l=j(t),c=(0,h.aS)(a,E).map(function(t,r){return(0,n.cloneElement)(t,{viewBox:e||l,key:"label-".concat(r)})});if(!o)return c;return[(r=t.label,i=e||l,!r?null:!0===r?n.createElement(E,{key:"label-implicit",viewBox:i}):(0,p.vh)(r)?n.createElement(E,{key:"label-implicit",viewBox:i,value:r}):(0,n.isValidElement)(r)?r.type===E?(0,n.cloneElement)(r,{key:"label-implicit",viewBox:i}):n.createElement(E,{key:"label-implicit",content:r,viewBox:i}):s()(r)?n.createElement(E,{key:"label-implicit",content:r,viewBox:i}):u()(r)?n.createElement(E,x({viewBox:i},r,{key:"label-implicit"})):null)].concat(function(t){if(Array.isArray(t))return g(t)}(c)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(c)||function(t,e){if(t){if("string"==typeof t)return g(t,void 0);var r=Object.prototype.toString.call(t).slice(8,-1);if("Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return g(t,e)}}(c)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}())}},61632:(t,e,r)=>{var n=r(16571);t.exports=r(36730)(n)},61830:(t,e,r)=>{var n=r(54360);t.exports=function(t){return n(this.__data__,t)>-1}},62464:(t,e,r)=>{var n=r(3562),i=r(18028),o=r(23360),a=Math.max;t.exports=function(t,e,r){var s=null==t?0:t.length;if(!s)return -1;var l=null==r?0:o(r);return l<0&&(l=a(s+l,0)),n(t,i(e,3),l)}},62962:(t,e,r)=>{var n=r(48659),i=r(65531),o=r(75145),a=r(85855);t.exports=function(t){return function(e){var r=i(e=a(e))?o(e):void 0,s=r?r[0]:e.charAt(0),l=r?n(r,1).join(""):e.slice(1);return s[t]()+l}}},64189:(t,e,r)=>{var n=r(74366),i=r(39641),o=r(42233);t.exports=function(t){return function(e,r,a){return a&&"number"!=typeof a&&i(e,r,a)&&(r=a=void 0),e=o(e),void 0===r?(r=e,e=0):r=o(r),a=void 0===a?e<r?1:-1:o(a),n(e,r,a,t)}}},64439:t=>{var e=Object.prototype.toString;t.exports=function(t){return e.call(t)}},64588:(t,e,r)=>{var n=r(84760),i=Math.max;t.exports=function(t,e,r){return e=i(void 0===e?t.length-1:e,0),function(){for(var o=arguments,a=-1,s=i(o.length-e,0),l=Array(s);++a<s;)l[a]=o[e+a];a=-1;for(var u=Array(e+1);++a<e;)u[a]=o[a];return u[e]=r(l),n(t,this,u)}}},65531:t=>{var e=RegExp("[\\u200d\ud800-\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");t.exports=function(t){return e.test(t)}},65646:(t,e,r)=>{var n=r(91569),i=r(39608);t.exports=function(t,e,r){var o=e(t);return i(t)?o:n(o,r(t))}},65796:t=>{t.exports=function(t){return this.__data__.get(t)}},65836:(t,e,r)=>{var n=r(85090),i=r(7548),o=r(39984),a=r(82954),s=r(82596),l=r(74166);t.exports=function(t,e,r){var u=-1,c=i,f=t.length,h=!0,p=[],d=p;if(r)h=!1,c=o;else if(f>=200){var y=e?null:s(t);if(y)return l(y);h=!1,c=a,d=new n}else d=e?[]:p;e:for(;++u<f;){var m=t[u],g=e?e(m):m;if(m=r||0!==m?m:0,h&&g==g){for(var v=d.length;v--;)if(d[v]===g)continue e;e&&d.push(g),p.push(m)}else c(d,g,r)||(d!==p&&d.push(g),p.push(m))}return p}},66373:(t,e,r)=>{t.exports=r(83711)(r(82500),"Promise")},67206:(t,e,r)=>{var n=r(77969),i=r(55794),o=r(21087),a=r(39641);t.exports=o(function(t,e){if(null==t)return[];var r=e.length;return r>1&&a(t,e[0],e[1])?e=[]:r>2&&a(e[0],e[1],e[2])&&(e=[e[0]]),i(t,n(e,1),[])})},67460:t=>{t.exports=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}},67472:(t,e,r)=>{var n=r(31598),i=r(90453),o=r(47995),a=r(65796),s=r(58096),l=r(7771);function u(t){var e=this.__data__=new n(t);this.size=e.size}u.prototype.clear=i,u.prototype.delete=o,u.prototype.get=a,u.prototype.has=s,u.prototype.set=l,t.exports=u},67790:(t,e,r)=>{"use strict";r.d(e,{yp:()=>I,GG:()=>U,NE:()=>_,nZ:()=>D,xQ:()=>B});var n=r(12115),i=r(40139),o=r.n(i),a=r(44482),s=r.n(a),l=r(56917),u=r.n(l),c=r(60245),f=r.n(c),h=r(44538),p=r(35796),d=r(9557),y=r(70788);function m(t){return(m="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function g(){return(g=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];
1for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}function v(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function b(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function x(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?b(Object(r),!0).forEach(function(e){var n,i,o;n=t,i=e,o=r[e],(i=function(t){var e=function(t,e){if("object"!=m(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=m(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==m(e)?e:e+""}(i))in n?Object.defineProperty(n,i,{value:o,enumerable:!0,configurable:!0,writable:!0}):n[i]=o}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):b(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}var w=function(t,e,r,n,i){var o,a=r-n;return"M ".concat(t,",").concat(e)+"L ".concat(t+r,",").concat(e)+"L ".concat(t+r-a/2,",").concat(e+i)+"L ".concat(t+r-a/2-n,",").concat(e+i)+"L ".concat(t,",").concat(e," Z")},O={x:0,y:0,upperWidth:0,lowerWidth:0,height:0,isUpdateAnimationActive:!1,animationBegin:0,animationDuration:1500,animationEasing:"ease"},S=function(t){var e,r=x(x({},O),t),i=(0,n.useRef)(),o=function(t){if(Array.isArray(t))return t}(e=(0,n.useState)(-1))||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,i,o,a,s=[],l=!0,u=!1;try{o=(r=r.call(t)).next,!1;for(;!(l=(n=o.call(r)).done)&&(s.push(n.value),s.length!==e);l=!0);}catch(t){u=!0,i=t}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(u)throw i}}return s}}(e,2)||function(t,e){if(t){if("string"==typeof t)return v(t,2);var r=Object.prototype.toString.call(t).slice(8,-1);if("Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return v(t,e)}}(e,2)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),a=o[0],s=o[1];(0,n.useEffect)(function(){if(i.current&&i.current.getTotalLength)try{var t=i.current.getTotalLength();t&&s(t)}catch(t){}},[]);var l=r.x,u=r.y,c=r.upperWidth,f=r.lowerWidth,h=r.height,m=r.className,b=r.animationEasing,S=r.animationDuration,A=r.animationBegin,E=r.isUpdateAnimationActive;if(l!==+l||u!==+u||c!==+c||f!==+f||h!==+h||0===c&&0===f||0===h)return null;var j=(0,p.A)("recharts-trapezoid",m);return E?n.createElement(d.Ay,{canBegin:a>0,from:{upperWidth:0,lowerWidth:0,height:h,x:l,y:u},to:{upperWidth:c,lowerWidth:f,height:h,x:l,y:u},duration:S,animationEasing:b,isActive:E},function(t){var e=t.upperWidth,o=t.lowerWidth,s=t.height,l=t.x,u=t.y;return n.createElement(d.Ay,{canBegin:a>0,from:"0px ".concat(-1===a?1:a,"px"),to:"".concat(a,"px 0px"),attributeName:"strokeDasharray",begin:A,duration:S,easing:b},n.createElement("path",g({},(0,y.J9)(r,!0),{className:j,d:w(l,u,e,o,s),ref:i})))}):n.createElement("g",null,n.createElement("path",g({},(0,y.J9)(r,!0),{className:j,d:w(l,u,c,f,h)})))},A=r(77283),E=r(2348),j=r(9795),P=["option","shapeType","propTransformer","activeClassName","isActive"];function T(t){return(T="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function M(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function k(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};
1e%2?M(Object(r),!0).forEach(function(e){var n,i,o;n=t,i=e,o=r[e],(i=function(t){var e=function(t,e){if("object"!=T(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=T(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==T(e)?e:e+""}(i))in n?Object.defineProperty(n,i,{value:o,enumerable:!0,configurable:!0,writable:!0}):n[i]=o}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):M(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function C(t){var e=t.shapeType,r=t.elementProps;switch(e){case"rectangle":return n.createElement(h.M,r);case"trapezoid":return n.createElement(S,r);case"sector":return n.createElement(A.h,r);case"symbols":if("symbols"===e)return n.createElement(j.i,r);break;default:return null}}function I(t){var e,r=t.option,i=t.shapeType,a=t.propTransformer,l=t.activeClassName,c=t.isActive,f=function(t,e){if(null==t)return{};var r,n,i=function(t,e){if(null==t)return{};var r={};for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)){if(e.indexOf(n)>=0)continue;r[n]=t[n]}return r}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(n=0;n<o.length;n++)r=o[n],!(e.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(i[r]=t[r])}return i}(t,P);if((0,n.isValidElement)(r))e=(0,n.cloneElement)(r,k(k({},f),(0,n.isValidElement)(r)?r.props:r));else if(o()(r))e=r(f);else if(s()(r)&&!u()(r)){var h=(void 0===a?function(t,e){return k(k({},e),t)}:a)(r,f);e=n.createElement(C,{shapeType:i,elementProps:h})}else e=n.createElement(C,{shapeType:i,elementProps:f});return c?n.createElement(E.W,{className:void 0===l?"recharts-active-shape":l},e):e}function _(t,e){return null!=e&&"trapezoids"in t.props}function D(t,e){return null!=e&&"sectors"in t.props}function B(t,e){return null!=e&&"points"in t.props}function R(t,e){var r,n,i=t.x===(null==e||null==(r=e.labelViewBox)?void 0:r.x)||t.x===e.x,o=t.y===(null==e||null==(n=e.labelViewBox)?void 0:n.y)||t.y===e.y;return i&&o}function N(t,e){var r=t.endAngle===e.endAngle,n=t.startAngle===e.startAngle;return r&&n}function L(t,e){var r=t.x===e.x,n=t.y===e.y,i=t.z===e.z;return r&&n&&i}function U(t){var e,r,n,i=t.activeTooltipItem,o=t.graphicalItem,a=t.itemData,s=(_(o,i)?e="trapezoids":D(o,i)?e="sectors":B(o,i)&&(e="points"),e),l=_(o,i)?null==(r=i.tooltipPayload)||null==(r=r[0])||null==(r=r.payload)?void 0:r.payload:D(o,i)?null==(n=i.tooltipPayload)||null==(n=n[0])||null==(n=n.payload)?void 0:n.payload:B(o,i)?i.payload:{},u=a.filter(function(t,e){var r=f()(l,t),n=o.props[s].filter(function(t){var e;return(_(o,i)?e=R:D(o,i)?e=N:B(o,i)&&(e=L),e)(t,i)}),a=o.props[s].indexOf(n[n.length-1]);return r&&e===a});return a.indexOf(u[u.length-1])}},69229:(t,e,r)=>{var n=r(67472),i=r(38406),o=r(50523),a=r(84464),s=r(94380),l=r(39608),u=r(33497),c=r(35190),f="[object Arguments]",h="[object Array]",p="[object Object]",d=Object.prototype.hasOwnProperty;t.exports=function(t,e,r,y,m,g){var v=l(t),b=l(e),x=v?h:s(t),w=b?h:s(e);x=x==f?p:x,w=w==f?p:w;var O=x==p,S=w==p,A=x==w;if(A&&u(t)){if(!u(e))return!1;v=!0,O=!1}if(A&&!O)return g||(g=new n),v||c(t)?i(t,e,r,y,m,g):o(t,e,x,r,y,m,g);if(!(1&r)){var E=O&&d.call(t,"__wrapped__"),j=S&&d.call(e,"__wrapped__");
1if(E||j){var P=E?t.value():t,T=j?e.value():e;return g||(g=new n),m(P,T,r,y,g)}}return!!A&&(g||(g=new n),a(t,e,r,y,m,g))}},69363:(t,e,r)=>{var n=r(57213),i=r(18028),o=r(6305),a=r(39608);t.exports=function(t,e){return(a(t)?n:o)(t,i(e,3))}},69806:t=>{t.exports=function(t,e,r){for(var n=r-1,i=t.length;++n<i;)if(t[n]===e)return n;return -1}},70688:(t,e,r)=>{"use strict";r.d(e,{I:()=>q});var n=r(12115);function i(){}function o(t,e,r){t._context.bezierCurveTo((2*t._x0+t._x1)/3,(2*t._y0+t._y1)/3,(t._x0+2*t._x1)/3,(t._y0+2*t._y1)/3,(t._x0+4*t._x1+e)/6,(t._y0+4*t._y1+r)/6)}function a(t){this._context=t}function s(t){this._context=t}function l(t){this._context=t}a.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:o(this,this._x1,this._y1);case 2:this._context.lineTo(this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t*=1,e*=1,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);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:o(this,t,e)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e}},s.prototype={areaStart:i,areaEnd:i,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)}},point:function(t,e){switch(t*=1,e*=1,this._point){case 0:this._point=1,this._x2=t,this._y2=e;break;case 1:this._point=2,this._x3=t,this._y3=e;break;case 2:this._point=3,this._x4=t,this._y4=e,this._context.moveTo((this._x0+4*this._x1+t)/6,(this._y0+4*this._y1+e)/6);break;default:o(this,t,e)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e}},l.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||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t*=1,e*=1,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+t)/6,n=(this._y0+4*this._y1+e)/6;this._line?this._context.lineTo(r,n):this._context.moveTo(r,n);break;case 3:this._point=4;default:o(this,t,e)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e}};class u{constructor(t,e){this._context=t,this._x=e}areaStart(){this._line=0}areaEnd(){this._line=NaN}lineStart(){this._point=0}lineEnd(){(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line}point(t,e){switch(t*=1,e*=1,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;default:this._x?this._context.bezierCurveTo(this._x0=(this._x0+t)/2,this._y0,this._x0,e,t,e):this._context.bezierCurveTo(this._x0,this._y0=(this._y0+e)/2,t,this._y0,t,e)}this._x0=t,this._y0=e}}function c(t){this._context=t}function f(t){this._context=t}function h(t){return new f(t)}c.prototype={areaStart:i,areaEnd:i,lineStart:function(){this._point=0},lineEnd:function(){this._point&&this._context.closePath()},point:function(t,e){t*=1,e*=1,this._point?this._context.lineTo(t,e):(this._point=1,this._context.moveTo(t,e))}};function p(t,e,r){var n=t._x1-t._x0,i=e-t._x1,o=(t._y1-t._y0)/(n||i<0&&-0),a=(r-t._y1)/(i||n<0&&-0);return((o<0?-1:1)+(a<0?-1:1))*Math.min(Math.abs(o),Math.abs(a),.5*Math.abs((o*i+a*n)/(n+i)))||0}function d(t,e){var r=t._x1-t._x0;return r?(3*(t._y1-t._y0)/r-e)/2:e}function y(t,e,r){var n=t._x0,i=t._y0,o=t._x1,a=t._y1,s=(o-n)/3;t._context.bezierCurveTo(n+s,i+s*e,o-s,a-s*r,o,a)}function m(t){this._context=t}function g(t){this._context=new v(t)}function v(t){this._context=t}function b(t){this._context=t}function x(t){var e,r,n=t.length-1,i=Array(n),o=Array(n),a=Array(n);for(i[0]=0,o[0]=2,a[0]=t[0]+2*t[1],e=1;e<n-1;++e)i[e]=1,o[e]=4,a[e]=4*t[e]+2*t[e+1];for(i[n-1]=2,o[n-1]=7,a[n-1]=8*t[n-1]+t[n],e=1;e<n;++e)r=i[e]/o[e-1],o[e]-=r,a[e]-=r*a[e-1];for(i[n-1]=a[n-1]/o[n-1],e=n-2;e>=0;--e)i[e]=(a[e]-i[e+1])/o[e];for(e=0,o[n-1]=(t[n]+i[n-1])/2;e<n-1;++e)o[e]=2*t[e+1]-i[e+1];return[i,o]}function w(t,e){this._context=t,this._t=e}f.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t*=1,e*=1,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;default:this._context.lineTo(t,e)}}},m.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:y(this,this._t0,d(this,this._t0))}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){var r=NaN;if(e*=1,(t*=1)!==this._x1||e!==this._y1){switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;break;case 2:this._point=3,y(this,d(this,r=p(this,t,e)),r);break;default:y(this,this._t0,r=p(this,t,e))}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e,this._t0=r}}},(g.prototype=Object.create(m.prototype)).point=function(t,e){m.prototype.point.call(this,e,t)},v.prototype={moveTo:function(t,e){this._context.moveTo(e,t)},closePath:function(){this._context.closePath()},lineTo:function(t,e){this._context.lineTo(e,t)},bezierCurveTo:function(t,e,r,n,i,o){this._context.bezierCurveTo(e,t,n,r,o,i)}},b.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=[],this._y=[]},lineEnd:function(){var t=this._x,e=this._y,r=t.length;if(r)if(this._line?this._context.lineTo(t[0],e[0]):this._context.moveTo(t[0],e[0]),2===r)this._context.lineTo(t[1],e[1]);else for(var n=x(t),i=x(e),o=0,a=1;a<r;++o,++a)this._context.bezierCurveTo(n[0][o],i[0][o],n[1][o],i[1][o],t[a],e[a]);(this._line||0!==this._line&&1===r)&&this._context.closePath(),this._line=1-this._line,this._x=this._y=null},point:function(t,e){this._x.push(+t),this._y.push(+e)}},w.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&&2===this._point&&this._context.lineTo(this._x,this._y),(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line>=0&&(this._t=1-this._t,this._line=1-this._line)},point:function(t,e){switch(t*=1,e*=1,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;default:if(this._t<=0)this._context.lineTo(this._x,e),this._context.lineTo(t,e);else{var r=this._x*(1-this._t)+t*this._t;this._context.lineTo(r,this._y),this._context.lineTo(r,e)}}this._x=t,this._y=e}};var O=r(9819),S=r(85654),A=r(31847);function E(t){return t[0]}function j(t){return t[1]}function P(t,e){var r=(0,S.A)(!0),n=null,i=h,o=null,a=(0,A.i)(s);function s(s){var l,u,c,f=(s=(0,O.A)(s)).length,h=!1;for(null==n&&(o=i(c=a())),l=0;l<=f;
1++l)!(l<f&&r(u=s[l],l,s))===h&&((h=!h)?o.lineStart():o.lineEnd()),h&&o.point(+t(u,l,s),+e(u,l,s));if(c)return o=null,c+""||null}return t="function"==typeof t?t:void 0===t?E:(0,S.A)(t),e="function"==typeof e?e:void 0===e?j:(0,S.A)(e),s.x=function(e){return arguments.length?(t="function"==typeof e?e:(0,S.A)(+e),s):t},s.y=function(t){return arguments.length?(e="function"==typeof t?t:(0,S.A)(+t),s):e},s.defined=function(t){return arguments.length?(r="function"==typeof t?t:(0,S.A)(!!t),s):r},s.curve=function(t){return arguments.length?(i=t,null!=n&&(o=i(n)),s):i},s.context=function(t){return arguments.length?(null==t?n=o=null:o=i(n=t),s):n},s}function T(t,e,r){var n=null,i=(0,S.A)(!0),o=null,a=h,s=null,l=(0,A.i)(u);function u(u){var c,f,h,p,d,y=(u=(0,O.A)(u)).length,m=!1,g=Array(y),v=Array(y);for(null==o&&(s=a(d=l())),c=0;c<=y;++c){if(!(c<y&&i(p=u[c],c,u))===m)if(m=!m)f=c,s.areaStart(),s.lineStart();else{for(s.lineEnd(),s.lineStart(),h=c-1;h>=f;--h)s.point(g[h],v[h]);s.lineEnd(),s.areaEnd()}m&&(g[c]=+t(p,c,u),v[c]=+e(p,c,u),s.point(n?+n(p,c,u):g[c],r?+r(p,c,u):v[c]))}if(d)return s=null,d+""||null}function c(){return P().defined(i).curve(a).context(o)}return t="function"==typeof t?t:void 0===t?E:(0,S.A)(+t),e="function"==typeof e?e:void 0===e?(0,S.A)(0):(0,S.A)(+e),r="function"==typeof r?r:void 0===r?j:(0,S.A)(+r),u.x=function(e){return arguments.length?(t="function"==typeof e?e:(0,S.A)(+e),n=null,u):t},u.x0=function(e){return arguments.length?(t="function"==typeof e?e:(0,S.A)(+e),u):t},u.x1=function(t){return arguments.length?(n=null==t?null:"function"==typeof t?t:(0,S.A)(+t),u):n},u.y=function(t){return arguments.length?(e="function"==typeof t?t:(0,S.A)(+t),r=null,u):e},u.y0=function(t){return arguments.length?(e="function"==typeof t?t:(0,S.A)(+t),u):e},u.y1=function(t){return arguments.length?(r=null==t?null:"function"==typeof t?t:(0,S.A)(+t),u):r},u.lineX0=u.lineY0=function(){return c().x(t).y(e)},u.lineY1=function(){return c().x(t).y(r)},u.lineX1=function(){return c().x(n).y(e)},u.defined=function(t){return arguments.length?(i="function"==typeof t?t:(0,S.A)(!!t),u):i},u.curve=function(t){return arguments.length?(a=t,null!=o&&(s=a(o)),u):a},u.context=function(t){return arguments.length?(null==t?o=s=null:s=a(o=t),u):o},u}var M=r(23633),k=r.n(M),C=r(40139),I=r.n(C),_=r(35796),D=r(43597),B=r(70788),R=r(16377);function N(t){return(N="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function L(){return(L=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}function U(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function F(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?U(Object(r),!0).forEach(function(e){var n,i,o;n=t,i=e,o=r[e],(i=function(t){var e=function(t,e){if("object"!=N(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=N(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==N(e)?e:e+""}(i))in n?Object.defineProperty(n,i,{value:o,enumerable:!0,configurable:!0,writable:!0}):n[i]=o}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):U(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}var V={curveBasisClosed:function(t){return new s(t)},curveBasisOpen:function(t){return new l(t)},curveBasis:function(t){return new a(t)},curveBumpX:function(t){return new u(t,!0)},curveBumpY:function(t){return new u(t,!1)},curveLinearClosed:function(t){return new c(t)},curveLinear:h,curveMonotoneX:function(t){return new m(t)},curveMonotoneY:function(t){return new g(t)},curveNatural:function(t){return new b(t)},curveStep:function(t){return new w(t,.5)},curveStepAfter:function(t){return new w(t,1)},curveStepBefore:function(t){return new w(t,0)}},$=function(t){return t.x===+t.x&&t.y===+t.y},z=function(t){return t.x},W=function(t){return t.y},H=function(t,e){if(I()(t))return t;var r="curve".concat(k()(t));return("curveMonotone"===r||"curveBump"===r)&&e?V["".concat(r).concat("vertical"===e?"Y":"X")]:V[r]||h},X=function(t){var e,r=t.type,n=t.points,i=void 0===n?[]:n,o=t.baseLine,a=t.layout,s=t.connectNulls,l=void 0!==s&&s,u=H(void 0===r?"linear":r,a),c=l?i.filter(function(t){return $(t)}):i;if(Array.isArray(o)){var f=l?o.filter(function(t){return $(t)}):o,h=c.map(function(t,e){return F(F({},t),{},{base:f[e]})});return(e="vertical"===a?T().y(W).x1(z).x0(function(t){return t.base.x}):T().x(z).y1(W).y0(function(t){return t.base.y})).defined($).curve(u),e(h)}return(e="vertical"===a&&(0,R.Et)(o)?T().y(W).x1(z).x0(o):(0,R.Et)(o)?T().x(z).y1(W).y0(o):P().x(z).y(W)).defined($).curve(u),e(c)},q=function(t){var e=t.className,r=t.points,i=t.path,o=t.pathRef;if((!r||!r.length)&&!i)return null;var a=r&&r.length?X(t):i;return n.createElement("path",L({},(0,B.J9)(t,!1),(0,D._U)(t),{className:(0,_.A)("recharts-curve",e),d:a,ref:o}))}},70771:(t,e,r)=>{var n=r(98233),i=r(48611);t.exports=function(t){return"symbol"==typeof t||i(t)&&"[object Symbol]"==n(t)}},70788:(t,e,r)=>{"use strict";r.d(e,{AW:()=>R,BU:()=>P,J9:()=>C,Me:()=>T,Mn:()=>O,OV:()=>I,X_:()=>B,aS:()=>j,ee:()=>D});var n=r(48973),i=r.n(n),o=r(59882),a=r.n(o),s=r(15438),l=r.n(s),u=r(40139),c=r.n(u),f=r(67460),h=r.n(f),p=r(12115),d=r(50330),y=r(16377),m=r(15232),g=r(43597),v=["children"],b=["children"];function x(t,e){if(null==t)return{};var r,n,i=function(t,e){if(null==t)return{};var r={};for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)){if(e.indexOf(n)>=0)continue;r[n]=t[n]}return r}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(n=0;n<o.length;n++)r=o[n],!(e.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(i[r]=t[r])}return i}var w={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"}
1,O=function(t){return"string"==typeof t?t:t?t.displayName||t.name||"Component":""},S=null,A=null,E=function t(e){if(e===S&&Array.isArray(A))return A;var r=[];return p.Children.forEach(e,function(e){a()(e)||((0,d.isFragment)(e)?r=r.concat(t(e.props.children)):r.push(e))}),A=r,S=e,r};function j(t,e){var r=[],n=[];return n=Array.isArray(e)?e.map(function(t){return O(t)}):[O(e)],E(t).forEach(function(t){var e=i()(t,"type.displayName")||i()(t,"type.name");-1!==n.indexOf(e)&&r.push(t)}),r}function P(t,e){var r=j(t,e);return r&&r[0]}var T=function(t){if(!t||!t.props)return!1;var e=t.props,r=e.width,n=e.height;return!!(0,y.Et)(r)&&!(r<=0)&&!!(0,y.Et)(n)&&!(n<=0)},M=["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"],k=function(t,e,r,n){var i,o=null!=(i=null===g.VU||void 0===g.VU?void 0:g.VU[n])?i:[];return e.startsWith("data-")||!c()(t)&&(n&&o.includes(e)||g.QQ.includes(e))||r&&g.j2.includes(e)},C=function(t,e,r){if(!t||"function"==typeof t||"boolean"==typeof t)return null;var n=t;if((0,p.isValidElement)(t)&&(n=t.props),!h()(n))return null;var i={};return Object.keys(n).forEach(function(t){var o;k(null==(o=n)?void 0:o[t],t,e,r)&&(i[t]=n[t])}),i},I=function t(e,r){if(e===r)return!0;var n=p.Children.count(e);if(n!==p.Children.count(r))return!1;if(0===n)return!0;if(1===n)return _(Array.isArray(e)?e[0]:e,Array.isArray(r)?r[0]:r);for(var i=0;i<n;i++){var o=e[i],a=r[i];if(Array.isArray(o)||Array.isArray(a)){if(!t(o,a))return!1}else if(!_(o,a))return!1}return!0},_=function(t,e){if(a()(t)&&a()(e))return!0;if(!a()(t)&&!a()(e)){var r=t.props||{},n=r.children,i=x(r,v),o=e.props||{},s=o.children,l=x(o,b);if(n&&s)return(0,m.b)(i,l)&&I(n,s);if(!n&&!s)return(0,m.b)(i,l)}return!1},D=function(t,e){var r=[],n={};return E(t).forEach(function(t,i){var o;if((o=t)&&o.type&&l()(o.type)&&M.indexOf(o.type)>=0)r.push(t);else if(t){var a=O(t.type),s=e[a]||{},u=s.handler,c=s.once;if(u&&(!c||!n[a])){var f=u(t,a,i);r.push(f),n[a]=!0}}}),r},B=function(t){var e=t&&t.type;return e&&w[e]?w[e]:null},R=function(t,e){return E(e).indexOf(t)}},70966:t=>{t.exports=function(t,e){return function(r){return t(e(r))}}},71571:(t,e,r)=>{var n=r(92313),i=r(18028),o=r(51445),a=r(39608),s=r(39641);t.exports=function(t,e,r){var l=a(t)?n:o;return r&&s(t,e,r)&&(e=void 0),l(t,i(e,3))}},72043:(t,e,r)=>{t.exports=r(70966)(Object.keys,Object)},72790:(t,e,r)=>{"use strict";r.d(e,{u:()=>l});var n=r(12115),i=r(35796),o=r(70788),a=["children","width","height","viewBox","className","style","title","desc"];function s(){return(s=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}function l(t){var e=t.children,r=t.width,l=t.height,u=t.viewBox,c=t.className,f=t.style,h=t.title,p=t.desc,d=function(t,e){if(null==t)return{};var r,n,i=function(t,e){if(null==t)return{};var r={};for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)){if(e.indexOf(n)>=0)continue;r[n]=t[n]}return r}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(n=0;n<o.length;n++)r=o[n],!(e.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(i[r]=t[r])}return i}(t,a),y=u||{width:r,height:l,x:0,y:0},m=(0,i.A)("recharts-surface",c);return n.createElement("svg",s({},(0,o.J9)(d,!0,"svg"),{className:m,width:r,height:l,style:f,viewBox:"".concat(y.x," ").concat(y.y," ").concat(y.width," ").concat(y.height)}),n.createElement("title",null,h),n.createElement("desc",null,p),e)}},72948:t=>{"use strict";
1t.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},73726:(t,e,r)=>{t.exports=r(70966)(Object.getPrototypeOf,Object)},73800:(t,e,r)=>{var n=r(39608),i=r(79595),o=r(37835),a=r(85855);t.exports=function(t,e){return n(t)?t:i(t,e)?[t]:o(a(t))}},73956:(t,e,r)=>{var n=r(5658);t.exports=function(t){return n(this,t).has(t)}},74166:t=>{t.exports=function(t){var e=-1,r=Array(t.size);return t.forEach(function(t){r[++e]=t}),r}},74366:t=>{var e=Math.ceil,r=Math.max;t.exports=function(t,n,i,o){for(var a=-1,s=r(e((n-t)/(i||1)),0),l=Array(s);s--;)l[o?s:++a]=t,t+=i;return l}},74544:(t,e,r)=>{var n=r(5658);t.exports=function(t){return n(this,t).get(t)}},74888:(t,e,r)=>{var n=r(53516);t.exports=function(t,e){var r=!0;return n(t,function(t,n,i){return r=!!e(t,n,i)}),r}},74925:(t,e,r)=>{var n=r(28897),i=r(20480),o=r(18028);t.exports=function(t,e){var r={};return e=o(e,3),i(t,function(t,i,o){n(r,i,e(t,i,o))}),r}},75031:(t,e,r)=>{var n=r(18028),i=r(22471),o=r(35095);t.exports=function(t){return function(e,r,a){var s=Object(e);if(!i(e)){var l=n(r,3);e=o(e),r=function(t){return l(s[t],t,s)}}var u=t(e,r,a);return u>-1?s[l?e[u]:u]:void 0}}},75145:(t,e,r)=>{var n=r(50851),i=r(65531),o=r(17855);t.exports=function(t){return i(t)?o(t):n(t)}},75899:(t,e,r)=>{t.exports=r(83711)(Object,"create")},76685:(t,e,r)=>{var n=r(82500);t.exports=function(){return n.Date.now()}},76957:(t,e,r)=>{t.exports=r(82500).Uint8Array},77283:(t,e,r)=>{"use strict";r.d(e,{h:()=>m});var n=r(12115),i=r(35796),o=r(70788),a=r(25641),s=r(16377);function l(t){return(l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function u(){return(u=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}function c(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function f(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?c(Object(r),!0).forEach(function(e){var n,i,o;n=t,i=e,o=r[e],(i=function(t){var e=function(t,e){if("object"!=l(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=l(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==l(e)?e:e+""}(i))in n?Object.defineProperty(n,i,{value:o,enumerable:!0,configurable:!0,writable:!0}):n[i]=o}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):c(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}var h=function(t){var e=t.cx,r=t.cy,n=t.radius,i=t.angle,o=t.sign,s=t.isExternal,l=t.cornerRadius,u=t.cornerIsExternal,c=l*(s?1:-1)+n,f=Math.asin(l/c)/a.Kg,h=u?i:i+o*f;return{center:(0,a.IZ)(e,r,c,h),circleTangency:(0,a.IZ)(e,r,n,h),lineTangency:(0,a.IZ)(e,r,c*Math.cos(f*a.Kg),u?i-o*f:i),theta:f}},p=function(t){var e=t.cx,r=t.cy,n=t.innerRadius,i=t.outerRadius,o=t.startAngle,l=t.endAngle,u=(0,s.sA)(l-o)*Math.min(Math.abs(l-o),359.999),c=o+u,f=(0,a.IZ)(e,r,i,o),h=(0,a.IZ)(e,r,i,c),p="M ".concat(f.x,",").concat(f.y,"\n    A ").concat(i,",").concat(i,",0,\n    ").concat(+(Math.abs(u)>180),",").concat(+(o>c),",\n    ").concat(h.x,",").concat(h.y,"\n  ");if(n>0){var d=(0,a.IZ)(e,r,n,o),y=(0,a.IZ)(e,r,n,c);p+="L ".concat(y.x,",").concat(y.y,"\n            A ").concat(n,",").concat(n,",0,\n            ").concat(+(Math.abs(u)>180),",").concat(+(o<=c),",\n            ").concat(d.x,",").concat(d.y," Z")}else p+="L ".concat(e,",").concat(r," Z");return p},d=function(t){var e=t.cx,r=t.cy,n=t.innerRadius,i=t.outerRadius,o=t.cornerRadius,a=t.forceCornerRadius,l=t.cornerIsExternal,u=t.startAngle,c=t.endAngle,f=(0,s.sA)(c-u),d=h({cx:e,cy:r,radius:i,angle:u,sign:f,cornerRadius:o,cornerIsExternal:l}),y=d.circleTangency,m=d.lineTangency,g=d.theta,v=h({cx:e,cy:r,radius:i,angle:c,sign:-f,cornerRadius:o,cornerIsExternal:l}
1),b=v.circleTangency,x=v.lineTangency,w=v.theta,O=l?Math.abs(u-c):Math.abs(u-c)-g-w;if(O<0)return a?"M ".concat(m.x,",").concat(m.y,"\n        a").concat(o,",").concat(o,",0,0,1,").concat(2*o,",0\n        a").concat(o,",").concat(o,",0,0,1,").concat(-(2*o),",0\n      "):p({cx:e,cy:r,innerRadius:n,outerRadius:i,startAngle:u,endAngle:c});var S="M ".concat(m.x,",").concat(m.y,"\n    A").concat(o,",").concat(o,",0,0,").concat(+(f<0),",").concat(y.x,",").concat(y.y,"\n    A").concat(i,",").concat(i,",0,").concat(+(O>180),",").concat(+(f<0),",").concat(b.x,",").concat(b.y,"\n    A").concat(o,",").concat(o,",0,0,").concat(+(f<0),",").concat(x.x,",").concat(x.y,"\n  ");if(n>0){var A=h({cx:e,cy:r,radius:n,angle:u,sign:f,isExternal:!0,cornerRadius:o,cornerIsExternal:l}),E=A.circleTangency,j=A.lineTangency,P=A.theta,T=h({cx:e,cy:r,radius:n,angle:c,sign:-f,isExternal:!0,cornerRadius:o,cornerIsExternal:l}),M=T.circleTangency,k=T.lineTangency,C=T.theta,I=l?Math.abs(u-c):Math.abs(u-c)-P-C;if(I<0&&0===o)return"".concat(S,"L").concat(e,",").concat(r,"Z");S+="L".concat(k.x,",").concat(k.y,"\n      A").concat(o,",").concat(o,",0,0,").concat(+(f<0),",").concat(M.x,",").concat(M.y,"\n      A").concat(n,",").concat(n,",0,").concat(+(I>180),",").concat(+(f>0),",").concat(E.x,",").concat(E.y,"\n      A").concat(o,",").concat(o,",0,0,").concat(+(f<0),",").concat(j.x,",").concat(j.y,"Z")}else S+="L".concat(e,",").concat(r,"Z");return S},y={cx:0,cy:0,innerRadius:0,outerRadius:0,startAngle:0,endAngle:0,cornerRadius:0,forceCornerRadius:!1,cornerIsExternal:!1},m=function(t){var e,r=f(f({},y),t),a=r.cx,l=r.cy,c=r.innerRadius,h=r.outerRadius,m=r.cornerRadius,g=r.forceCornerRadius,v=r.cornerIsExternal,b=r.startAngle,x=r.endAngle,w=r.className;if(h<c||b===x)return null;var O=(0,i.A)("recharts-sector",w),S=h-c,A=(0,s.F4)(m,S,0,!0);return e=A>0&&360>Math.abs(b-x)?d({cx:a,cy:l,innerRadius:c,outerRadius:h,cornerRadius:Math.min(A,S/2),forceCornerRadius:g,cornerIsExternal:v,startAngle:b,endAngle:x}):p({cx:a,cy:l,innerRadius:c,outerRadius:h,startAngle:b,endAngle:x}),n.createElement("path",u({},(0,o.J9)(r,!0),{className:O,d:e,role:"img"}))}},77969:(t,e,r)=>{var n=r(91569),i=r(36314);t.exports=function t(e,r,o,a,s){var l=-1,u=e.length;for(o||(o=i),s||(s=[]);++l<u;){var c=e[l];r>0&&o(c)?r>1?t(c,r-1,o,a,s):n(s,c):a||(s[s.length]=c)}return s}},79095:(t,e,r)=>{"use strict";r.d(e,{E:()=>N});var n=r(12115),i=r(59882),o=r.n(i),a=r(35796),s=r(16377),l=r(41643),u=r(70788),c=r(46605);function f(t){return(f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function h(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,i,o,a,s=[],l=!0,u=!1;try{if(o=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=o.call(r)).done)&&(s.push(n.value),s.length!==e);l=!0);}catch(t){u=!0,i=t}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(u)throw i}}return s}}(t,e)||function(t,e){if(t){if("string"==typeof t)return p(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);if("Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return p(t,e)}}(t,e)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function p(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function d(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,function(t){var e=function(t,e){if("object"!=f(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=f(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}
1(t,"string");return"symbol"==f(e)?e:e+""}(n.key),n)}}var y=/(-?\d+(?:\.\d+)?[a-zA-Z%]*)([*/])(-?\d+(?:\.\d+)?[a-zA-Z%]*)/,m=/(-?\d+(?:\.\d+)?[a-zA-Z%]*)([+-])(-?\d+(?:\.\d+)?[a-zA-Z%]*)/,g=/^px|cm|vh|vw|em|rem|%|mm|in|pt|pc|ex|ch|vmin|vmax|Q$/,v=/(-?\d+(?:\.\d+)?)([a-zA-Z%]+)?/,b={cm:96/2.54,mm:96/25.4,pt:96/72,pc:16,in:96,Q:96/101.6,px:1},x=Object.keys(b),w=function(){var t,e;function r(t,e){if(!(this instanceof r))throw TypeError("Cannot call a class as a function");this.num=t,this.unit=e,this.num=t,this.unit=e,Number.isNaN(t)&&(this.unit=""),""===e||g.test(e)||(this.num=NaN,this.unit=""),x.includes(e)&&(this.num=t*b[e],this.unit="px")}return t=[{key:"add",value:function(t){return this.unit!==t.unit?new r(NaN,""):new r(this.num+t.num,this.unit)}},{key:"subtract",value:function(t){return this.unit!==t.unit?new r(NaN,""):new r(this.num-t.num,this.unit)}},{key:"multiply",value:function(t){return""!==this.unit&&""!==t.unit&&this.unit!==t.unit?new r(NaN,""):new r(this.num*t.num,this.unit||t.unit)}},{key:"divide",value:function(t){return""!==this.unit&&""!==t.unit&&this.unit!==t.unit?new r(NaN,""):new r(this.num/t.num,this.unit||t.unit)}},{key:"toString",value:function(){return"".concat(this.num).concat(this.unit)}},{key:"isNaN",value:function(){return Number.isNaN(this.num)}}],e=[{key:"parse",value:function(t){var e,n=h(null!=(e=v.exec(t))?e:[],3),i=n[1],o=n[2];return new r(parseFloat(i),null!=o?o:"")}}],t&&d(r.prototype,t),e&&d(r,e),Object.defineProperty(r,"prototype",{writable:!1}),r}();function O(t){if(t.includes("NaN"))return"NaN";for(var e=t;e.includes("*")||e.includes("/");){var r,n=h(null!=(r=y.exec(e))?r:[],4),i=n[1],o=n[2],a=n[3],s=w.parse(null!=i?i:""),l=w.parse(null!=a?a:""),u="*"===o?s.multiply(l):s.divide(l);if(u.isNaN())return"NaN";e=e.replace(y,u.toString())}for(;e.includes("+")||/.-\d+(?:\.\d+)?/.test(e);){var c,f=h(null!=(c=m.exec(e))?c:[],4),p=f[1],d=f[2],g=f[3],v=w.parse(null!=p?p:""),b=w.parse(null!=g?g:""),x="+"===d?v.add(b):v.subtract(b);if(x.isNaN())return"NaN";e=e.replace(m,x.toString())}return e}var S=/\(([^()]*)\)/;function A(t){var e=function(t){try{var e;return e=t.replace(/\s+/g,""),e=function(t){for(var e=t;e.includes("(");){var r=h(S.exec(e),2)[1];e=e.replace(S,O(r))}return e}(e),e=O(e)}catch(t){return"NaN"}}(t.slice(5,-1));return"NaN"===e?"":e}var E=["x","y","lineHeight","capHeight","scaleToFit","textAnchor","verticalAnchor","fill"],j=["dx","dy","angle","className","breakAll"];function P(){return(P=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}function T(t,e){if(null==t)return{};var r,n,i=function(t,e){if(null==t)return{};var r={};for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)){if(e.indexOf(n)>=0)continue;r[n]=t[n]}return r}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(n=0;n<o.length;n++)r=o[n],!(e.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(i[r]=t[r])}return i}function M(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,i,o,a,s=[],l=!0,u=!1;try{if(o=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=o.call(r)).done)&&(s.push(n.value),s.length!==e);l=!0);}catch(t){u=!0,i=t}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(u)throw i}}return s}}(t,e)||function(t,e){if(t){if("string"==typeof t)return k(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);if("Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return k(t,e)}}(t,e)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function k(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}var C=/[ \f\n\r\t\v\u2028\u2029]+/,I=function(t){var e=t.children,r=t.breakAll,n=t.style;try{var i=[];o()(e)||(i=r?e.toString().split(""):e.toString().split(C));var a=i.map(function(t){return{word:t,width:(0,c.Pu)(t,n).width}}),s=r?0:(0,c.Pu)("\xa0",n).width;return{wordsWithComputedWidth:a,spaceWidth:s}}catch(t){return null}},_=function(t,e,r,n,i){var o,a=t.maxLines,l=t.children,u=t.style,c=t.breakAll,f=(0,s.Et)(a),h=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return t.reduce(function(t,e){var o=e.word,a=e.width,s=t[t.length-1];return s&&(null==n||i||s.width+a+r<Number(n))?(s.words.push(o),s.width+=a+r):t.push({words:[o],width:a}),t},[])},p=h(e);if(!f)return p;for(var d=function(t){var e=h(I({breakAll:c,style:u,children:l.slice(0,t)+"…"}).wordsWithComputedWidth);return[e.length>a||e.reduce(function(t,e){return t.width>e.width?t:e}).width>Number(n),e]},y=0,m=l.length-1,g=0;y<=m&&g<=l.length-1;){var v=Math.floor((y+m)/2),b=M(d(v-1),2),x=b[0],w=b[1],O=M(d(v),1)[0];if(x||O||(y=v+1),x&&O&&(m=v-1),!x&&O){o=w;break}g++}return o||p},D=function(t){return[{words:o()(t)?[]:t.toString().split(C)}]},B=function(t){var e=t.width,r=t.scaleToFit,n=t.children,i=t.style,o=t.breakAll,a=t.maxLines;if((e||r)&&!l.m.isSsr){var s=I({breakAll:o,children:n,style:i});if(!s)return D(n);var u=s.wordsWithComputedWidth,c=s.spaceWidth;return _({breakAll:o,children:n,maxLines:a,style:i},u,c,e,r)}return D(n)}
1,R="#808080",N=function(t){var e,r=t.x,i=void 0===r?0:r,o=t.y,l=void 0===o?0:o,c=t.lineHeight,f=void 0===c?"1em":c,h=t.capHeight,p=void 0===h?"0.71em":h,d=t.scaleToFit,y=void 0!==d&&d,m=t.textAnchor,g=t.verticalAnchor,v=t.fill,b=void 0===v?R:v,x=T(t,E),w=(0,n.useMemo)(function(){return B({breakAll:x.breakAll,children:x.children,maxLines:x.maxLines,scaleToFit:y,style:x.style,width:x.width})},[x.breakAll,x.children,x.maxLines,y,x.style,x.width]),O=x.dx,S=x.dy,M=x.angle,k=x.className,C=x.breakAll,I=T(x,j);if(!(0,s.vh)(i)||!(0,s.vh)(l))return null;var _=i+((0,s.Et)(O)?O:0),D=l+((0,s.Et)(S)?S:0);switch(void 0===g?"end":g){case"start":e=A("calc(".concat(p,")"));break;case"middle":e=A("calc(".concat((w.length-1)/2," * -").concat(f," + (").concat(p," / 2))"));break;default:e=A("calc(".concat(w.length-1," * -").concat(f,")"))}var N=[];if(y){var L=w[0].width,U=x.width;N.push("scale(".concat(((0,s.Et)(U)?U/L:1)/L,")"))}return M&&N.push("rotate(".concat(M,", ").concat(_,", ").concat(D,")")),N.length&&(I.transform=N.join(" ")),n.createElement("text",P({},(0,u.J9)(I,!0),{x:_,y:D,className:(0,a.A)("recharts-text",k),textAnchor:void 0===m?"start":m,fill:b.includes("url")?R:b}),w.map(function(t,r){var i=t.words.join(C?"":" ");return n.createElement("tspan",{x:_,dy:0===r?e:f,key:"".concat(i,"-").concat(r)},i)}))}},79133:(t,e,r)=>{"use strict";r.d(e,{F:()=>J});var n=r(12115),i=r(9557),o=r(48973),a=r.n(o),s=r(60245),l=r.n(s),u=r(59882),c=r.n(u),f=r(40139),h=r.n(f),p=r(35796),d=r(2348),y=r(70688),m=r(79095),g=r(60379),v=r(67460),b=r.n(v),x=r(83979),w=r.n(x),O=r(70788),S=r(49754);function A(t){return(A="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var E=["valueAccessor"],j=["data","dataKey","clockWise","id","textBreakAll"];function P(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function T(){return(T=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}function M(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function k(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?M(Object(r),!0).forEach(function(e){var n,i,o;n=t,i=e,o=r[e],(i=function(t){var e=function(t,e){if("object"!=A(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=A(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==A(e)?e:e+""}(i))in n?Object.defineProperty(n,i,{value:o,enumerable:!0,configurable:!0,writable:!0}):n[i]=o}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):M(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function C(t,e){if(null==t)return{};var r,n,i=function(t,e){if(null==t)return{};var r={};for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)){if(e.indexOf(n)>=0)continue;r[n]=t[n]}return r}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(n=0;n<o.length;n++)r=o[n],!(e.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(i[r]=t[r])}return i}var I=function(t){return Array.isArray(t.value)?w()(t.value):t.value};function _(t){var e=t.valueAccessor,r=void 0===e?I:e,i=C(t,E),o=i.data,a=i.dataKey,s=i.clockWise,l=i.id,u=i.textBreakAll,f=C(i,j);return o&&o.length?n.createElement(d.W,{className:"recharts-label-list"},o.map(function(t,e){var i=c()(a)?r(t,e):(0,S.kr)(t&&t.payload,a),o=c()(l)?{}:{id:"".concat(l,"-").concat(e)};return n.createElement(g.J,T({},(0,O.J9)(t,!0),f,o,{parentViewBox:t.parentViewBox,value:i,textBreakAll:u,viewBox:g.J.parseViewBox(c()(s)?t:k(k({},t),{},{clockWise:s})),key:"label-".concat(e),index:e}))})):null}_.displayName="LabelList",_.renderCallByParent=function(t,e){var r,i=!(arguments.length>2)||void 0===arguments[2]||arguments[2];
1if(!t||!t.children&&i&&!t.label)return null;var o=t.children,a=(0,O.aS)(o,_).map(function(t,r){return(0,n.cloneElement)(t,{data:e,key:"labelList-".concat(r)})});return i?[(r=t.label,!r?null:!0===r?n.createElement(_,{key:"labelList-implicit",data:e}):n.isValidElement(r)||h()(r)?n.createElement(_,{key:"labelList-implicit",data:e,content:r}):b()(r)?n.createElement(_,T({data:e},r,{key:"labelList-implicit"})):null)].concat(function(t){if(Array.isArray(t))return P(t)}(a)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(a)||function(t,e){if(t){if("string"==typeof t)return P(t,void 0);var r=Object.prototype.toString.call(t).slice(8,-1);if("Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return P(t,e)}}(a)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()):a};var D=r(54811),B=r(41643),R=r(25641),N=r(16377),L=r(675),U=r(43597),F=r(67790);function V(t){return(V="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function $(){return($=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}function z(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function W(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?z(Object(r),!0).forEach(function(e){Y(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):z(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function H(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,G(n.key),n)}}function X(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(X=function(){return!!t})()}function q(t){return(q=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function K(t,e){return(K=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function Y(t,e,r){return(e=G(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function G(t){var e=function(t,e){if("object"!=V(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=V(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==V(e)?e:e+""}var J=function(t){var e,r;function o(t){var e,r,n;if(!(this instanceof o))throw TypeError("Cannot call a class as a function");return r=o,n=[t],r=q(r),Y(e=function(t,e){if(e&&("object"===V(e)||"function"==typeof e))return e;if(void 0!==e)throw TypeError("Derived constructors may only return object or undefined");var r=t;if(void 0===r)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return r}(this,X()?Reflect.construct(r,n||[],q(this).constructor):r.apply(this,n)),"pieRef",null),Y(e,"sectorRefs",[]),Y(e,"id",(0,N.NF)("recharts-pie-")),Y(e,"handleAnimationEnd",function(){var t=e.props.onAnimationEnd;e.setState({isAnimationFinished:!0}),h()(t)&&t()}),Y(e,"handleAnimationStart",function(){var t=e.props.onAnimationStart;e.setState({isAnimationFinished:!1}),h()(t)&&t()}),e.state={isAnimationFinished:!t.isAnimationActive,prevIsAnimationActive:t.isAnimationActive,prevAnimationId:t.animationId,sectorToFocus:0},e}if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");return o.prototype=Object.create(t&&t.prototype,{constructor:{value:o,writable:!0,configurable:!0}}),Object.defineProperty(o,"prototype",{writable:!1}),t&&K(o,t),e=[{key:"isActiveIndex",value:function(t){var e=this.props.activeIndex;return Array.isArray(e)?-1!==e.indexOf(t):t===e}},{key:"hasActiveIndex",value:function(){var t=this.props.activeIndex;return Array.isArray(t)?0!==t.length:t||0===t}},{key:"renderLabels",value:function(t){if(this.props.isAnimationActive&&!this.state.isAnimationFinished)return null;var e=this.props,r=e.label,i=e.labelLine,a=e.dataKey,s=e.valueKey,l=(0,O.J9)(this.props,!1),u=(0,O.J9)(r,!1),f=(0,O.J9)(i,!1),h=r&&r.offsetRadius||20,p=t.map(function(t,e){var p=(t.startAngle+t.endAngle)/2,y=(0,R.IZ)(t.cx,t.cy,t.outerRadius+h,p),m=W(W(W(W({},l),t),{},{stroke:"none"},u),{},{index:e,textAnchor:o.getTextAnchor(y.x,t.cx)},y),g=W(W(W(W({},l),t),{},{fill:"none",stroke:t.fill},f),{},{index:e,points:[(0,R.IZ)(t.cx,t.cy,t.outerRadius,p),y]}),v=a;return c()(a)&&c()(s)?v="value":c()(a)&&(v=s),n.createElement(d.W,{key:"label-".concat(t.startAngle,"-").concat(t.endAngle,"-").concat(t.midAngle,"-").concat(e)},i&&o.renderLabelLineItem(i,g,"line"),o.renderLabelItem(r,m,(0,S.kr)(t,v)))});return n.createElement(d.W,{className:"recharts-pie-labels"},p)}},{key:"renderSectorsStatically",value:function(t){var e=this,r=this.props,i=r.activeShape,o=r.blendStroke,a=r.inactiveShape;return t.map(function(r,s){if((null==r?void 0:r.startAngle)===0&&(null==r?void 0:r.endAngle)===0&&1!==t.length)return null;var l=e.isActiveIndex(s),u=a&&e.hasActiveIndex()?a:null,c=W(W({},r),{},{stroke:o?r.fill:r.stroke,tabIndex:-1});return n.createElement(d.W,$({ref:function(t){t&&!e.sectorRefs.includes(t)&&e.sectorRefs.push(t)}
1,tabIndex:-1,className:"recharts-pie-sector"},(0,U.XC)(e.props,r,s),{key:"sector-".concat(null==r?void 0:r.startAngle,"-").concat(null==r?void 0:r.endAngle,"-").concat(r.midAngle,"-").concat(s)}),n.createElement(F.yp,$({option:l?i:u,isActive:l,shapeType:"sector"},c)))})}},{key:"renderSectorsWithAnimation",value:function(){var t=this,e=this.props,r=e.sectors,o=e.isAnimationActive,s=e.animationBegin,l=e.animationDuration,u=e.animationEasing,c=e.animationId,f=this.state,h=f.prevSectors,p=f.prevIsAnimationActive;return n.createElement(i.Ay,{begin:s,duration:l,isActive:o,easing:u,from:{t:0},to:{t:1},key:"pie-".concat(c,"-").concat(p),onAnimationStart:this.handleAnimationStart,onAnimationEnd:this.handleAnimationEnd},function(e){var i=e.t,o=[],s=(r&&r[0]).startAngle;return r.forEach(function(t,e){var r=h&&h[e],n=e>0?a()(t,"paddingAngle",0):0;if(r){var l=(0,N.Dj)(r.endAngle-r.startAngle,t.endAngle-t.startAngle),u=W(W({},t),{},{startAngle:s+n,endAngle:s+l(i)+n});o.push(u),s=u.endAngle}else{var c=t.endAngle,f=t.startAngle,p=(0,N.Dj)(0,c-f)(i),d=W(W({},t),{},{startAngle:s+n,endAngle:s+p+n});o.push(d),s=d.endAngle}}),n.createElement(d.W,null,t.renderSectorsStatically(o))})}},{key:"attachKeyboardHandlers",value:function(t){var e=this;t.onkeydown=function(t){if(!t.altKey)switch(t.key){case"ArrowLeft":var r=++e.state.sectorToFocus%e.sectorRefs.length;e.sectorRefs[r].focus(),e.setState({sectorToFocus:r});break;case"ArrowRight":var n=--e.state.sectorToFocus<0?e.sectorRefs.length-1:e.state.sectorToFocus%e.sectorRefs.length;e.sectorRefs[n].focus(),e.setState({sectorToFocus:n});break;case"Escape":e.sectorRefs[e.state.sectorToFocus].blur(),e.setState({sectorToFocus:0})}}}},{key:"renderSectors",value:function(){var t=this.props,e=t.sectors,r=t.isAnimationActive,n=this.state.prevSectors;return r&&e&&e.length&&(!n||!l()(n,e))?this.renderSectorsWithAnimation():this.renderSectorsStatically(e)}},{key:"componentDidMount",value:function(){this.pieRef&&this.attachKeyboardHandlers(this.pieRef)}},{key:"render",value:function(){var t=this,e=this.props,r=e.hide,i=e.sectors,o=e.className,a=e.label,s=e.cx,l=e.cy,u=e.innerRadius,c=e.outerRadius,f=e.isAnimationActive,h=this.state.isAnimationFinished;if(r||!i||!i.length||!(0,N.Et)(s)||!(0,N.Et)(l)||!(0,N.Et)(u)||!(0,N.Et)(c))return null;var y=(0,p.A)("recharts-pie",o);return n.createElement(d.W,{tabIndex:this.props.rootTabIndex,className:y,ref:function(e){t.pieRef=e}},this.renderSectors(),a&&this.renderLabels(i),g.J.renderCallByParent(this.props,null,!1),(!f||h)&&_.renderCallByParent(this.props,i,!1))}}],r=[{key:"getDerivedStateFromProps",value:function(t,e){return e.prevIsAnimationActive!==t.isAnimationActive?{prevIsAnimationActive:t.isAnimationActive,prevAnimationId:t.animationId,curSectors:t.sectors,prevSectors:[],isAnimationFinished:!0}:t.isAnimationActive&&t.animationId!==e.prevAnimationId?{prevAnimationId:t.animationId,curSectors:t.sectors,prevSectors:e.curSectors,isAnimationFinished:!0}:t.sectors!==e.curSectors?{curSectors:t.sectors,isAnimationFinished:!0}:null}},{key:"getTextAnchor",value:function(t,e){return t>e?"start":t<e?"end":"middle"}},{key:"renderLabelLineItem",value:function(t,e,r){if(n.isValidElement(t))return n.cloneElement(t,e);if(h()(t))return t(e);var i=(0,p.A)("recharts-pie-label-line","boolean"!=typeof t?t.className:"");return n.createElement(y.I,$({},e,{key:r,type:"linear",className:i}))}},{key:"renderLabelItem",value:function(t,e,r){if(n.isValidElement(t))return n.cloneElement(t,e);var i=r;if(h()(t)&&(i=t(e),n.isValidElement(i)))return i;var o=(0,p.A)("recharts-pie-label-text","boolean"==typeof t||h()(t)?"":t.className);return n.createElement(m.E,$({},e,{alignmentBaseline:"middle",className:o}),i)}}],e&&H(o.prototype,e),r&&H(o,r),Object.defineProperty(o,"prototype",{writable:!1}),o}(n.PureComponent);Y(J,"displayName","Pie"),Y(J,"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,minAngle:0,isAnimationActive:!B.m.isSsr,animationBegin:400,animationDuration:1500,animationEasing:"ease",nameKey:"name",blendStroke:!1,rootTabIndex:0}),Y(J,"parseDeltaAngle",function(t,e){return(0,N.sA)(e-t)*Math.min(Math.abs(e-t),360)}),Y(J,"getRealPieData",function(t){var e=t.data,r=t.children,n=(0,O.J9)(t,!1),i=(0,O.aS)(r,D.f);return e&&e.length?e.map(function(t,e){return W(W(W({payload:t},n),t),i&&i[e]&&i[e].props)}):i&&i.length?i.map(function(t){return W(W({},n),t.props)}):[]}),Y(J,"parseCoordinateOfPie",function(t,e){var r=e.top,n=e.left,i=e.width,o=e.height,a=(0,R.lY)(i,o);return{cx:n+(0,N.F4)(t.cx,i,i/2),cy:r+(0,N.F4)(t.cy,o,o/2),innerRadius:(0,N.F4)(t.
1innerRadius,a,0),outerRadius:(0,N.F4)(t.outerRadius,a,.8*a),maxRadius:t.maxRadius||Math.sqrt(i*i+o*o)/2}}),Y(J,"getComposedData",function(t){var e,r,n=t.item,i=t.offset,o=void 0!==n.type.defaultProps?W(W({},n.type.defaultProps),n.props):n.props,a=J.getRealPieData(o);if(!a||!a.length)return null;var s=o.cornerRadius,l=o.startAngle,u=o.endAngle,f=o.paddingAngle,h=o.dataKey,p=o.nameKey,d=o.valueKey,y=o.tooltipType,m=Math.abs(o.minAngle),g=J.parseCoordinateOfPie(o,i),v=J.parseDeltaAngle(l,u),b=Math.abs(v),x=h;c()(h)&&c()(d)?((0,L.R)(!1,'Use "dataKey" to specify the value of pie,\n      the props "valueKey" will be deprecated in 1.1.0'),x="value"):c()(h)&&((0,L.R)(!1,'Use "dataKey" to specify the value of pie,\n      the props "valueKey" will be deprecated in 1.1.0'),x=d);var w=a.filter(function(t){return 0!==(0,S.kr)(t,x,0)}).length,O=b-w*m-(b>=360?w:w-1)*f,A=a.reduce(function(t,e){var r=(0,S.kr)(e,x,0);return t+((0,N.Et)(r)?r:0)},0);return A>0&&(e=a.map(function(t,e){var n,i=(0,S.kr)(t,x,0),o=(0,S.kr)(t,p,e),a=((0,N.Et)(i)?i:0)/A,u=(n=e?r.endAngle+(0,N.sA)(v)*f*(0!==i):l)+(0,N.sA)(v)*((0!==i?m:0)+a*O),c=(n+u)/2,h=(g.innerRadius+g.outerRadius)/2,d=[{name:o,value:i,payload:t,dataKey:x,type:y}],b=(0,R.IZ)(g.cx,g.cy,h,c);return r=W(W(W({percent:a,cornerRadius:s,name:o,tooltipPayload:d,midAngle:c,middleRadius:h,tooltipPosition:b},t),g),{},{value:(0,S.kr)(t,x),startAngle:n,endAngle:u,payload:t,paddingAngle:(0,N.sA)(v)*f})})),W(W({},g),{},{sectors:e,data:a})})},79399:(t,e,r)=>{"use strict";var n=r(72948);function i(){}function o(){}o.resetWarningCache=i,t.exports=function(){function t(t,e,r,i,o,a){if(a!==n){var s=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 s.name="Invariant Violation",s}}function e(){return t}t.isRequired=t;var r={array:t,bigint:t,bool:t,func:t,number:t,object:t,string:t,symbol:t,any:t,arrayOf:e,element:t,elementType:t,instanceOf:e,node:t,objectOf:e,oneOf:e,oneOfType:e,shape:e,exact:e,checkPropTypes:o,resetWarningCache:i}
1;return r.PropTypes=r,r}},79401:t=>{t.exports=function(t,e){for(var r=-1,n=Array(t);++r<t;)n[r]=e(r);return n}},79595:(t,e,r)=>{var n=r(39608),i=r(70771),o=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,a=/^\w*$/;t.exports=function(t,e){if(n(t))return!1;var r=typeof t;return!!("number"==r||"symbol"==r||"boolean"==r||null==t||i(t))||a.test(t)||!o.test(t)||null!=e&&t in Object(e)}},80927:(t,e,r)=>{"use strict";r.d(e,{Ao:()=>u,Bx:()=>o,Jh:()=>l,O4:()=>a,ZS:()=>n,fF:()=>c,iO:()=>i,ro:()=>s});var n,i,o,a,s,l,u,c,f="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},h={};(function(){var t,e,r,p="function"==typeof Object.defineProperties?Object.defineProperty:function(t,e,r){return t==Array.prototype||t==Object.prototype||(t[e]=r.value),t},d=function(t){t=["object"==typeof globalThis&&globalThis,t,"object"==typeof window&&window,"object"==typeof self&&self,"object"==typeof f&&f];for(var e=0;e<t.length;++e){var r=t[e];if(r&&r.Math==Math)return r}throw Error("Cannot find global object")}(this);!function(t,e){if(e)r:{var r=d;t=t.split(".");for(var n=0;n<t.length-1;n++){var i=t[n];if(!(i in r))break r;r=r[i]}(e=e(n=r[t=t[t.length-1]]))!=n&&null!=e&&p(r,t,{configurable:!0,writable:!0,value:e})}}("Array.prototype.values",function(t){return t||function(){var t,e,r,n,i;return t=this,e=function(t,e){return e},t instanceof String&&(t+=""),r=0,n=!1,(i={next:function(){if(!n&&r<t.length){var i=r++;return{value:e(i,t[i]),done:!1}}return n=!0,{done:!0,value:void 0}}})[Symbol.iterator]=function(){return i},i}});var y=y||{},m=this||self;function g(t){var e=typeof t;return"array"==(e="object"!=e?e:t?Array.isArray(t)?"array":e:"null")||"object"==e&&"number"==typeof t.length}function v(t){var e=typeof t;return"object"==e&&null!=t||"function"==e}function b(t,e,r){return t.call.apply(t.bind,arguments)}function x(t,e,r){if(!t)throw Error();if(2<arguments.length){var n=Array.prototype.slice.call(arguments,2);return function(){var r=Array.prototype.slice.call(arguments);return Array.prototype.unshift.apply(r,n),t.apply(e,r)}}return function(){return t.apply(e,arguments)}}function w(t,e,r){return(w=Function.prototype.bind&&-1!=Function.prototype.bind.toString().indexOf("native code")?b:x).apply(null,arguments)}function O(t,e){var r=Array.prototype.slice.call(arguments,1);return function(){var e=r.slice();return e.push.apply(e,arguments),t.apply(this,e)}}function S(t,e){function r(){}r.prototype=e.prototype,t.aa=e.prototype,t.prototype=new r,t.prototype.constructor=t,t.Qb=function(t,r,n){for(var i=Array(arguments.length-2),o=2;o<arguments.length;o++)i[o-2]=arguments[o];return e.prototype[r].apply(t,i)}}function A(t){let e=t.length;if(0<e){let r=Array(e);for(let n=0;n<e;n++)r[n]=t[n];return r}return[]}function E(t,e){for(let e=1;e<arguments.length;e++){let r=arguments[e];if(g(r)){let e=t.length||0,n=r.length||0;t.length=e+n;for(let i=0;i<n;i++)t[e+i]=r[i]}else t.push(r)}}class j{constructor(t,e){this.i=t,this.j=e,this.h=0,this.g=null}get(){let t;return 0<this.h?(this.h--,t=this.g,this.g=t.next,t.next=null):t=this.i(),t}}function P(t){return/^[\s\xa0]*$/.test(t)}function T(){var t=m.navigator;return t&&(t=t.userAgent)?t:""}function M(t){return M[" "](t),t}M[" "]=function(){};var k=-1!=T().indexOf("Gecko")&&(-1==T().toLowerCase().indexOf("webkit")||-1!=T().indexOf("Edge"))&&-1==T().indexOf("Trident")&&-1==T().indexOf("MSIE")&&-1==T().indexOf("Edge");function C(t,e,r){for(let n in t)e.call(r,t[n],n,t)}function I(t){let e={};for(let r in t)e[r]=t[r];return e}let _="constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf".split(" ");function D(t,e){let r,n;for(let e=1;e<arguments.length;e++){for(r in n=arguments[e])t[r]=n[r];for(let e=0;e<_.length;e++)r=_[e],Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}}class B{constructor(){this.h=this.g=null}add(t,e){let r=R.get();r.set(t,e),this.h?this.h.next=r:this.g=r,this.h=r}}var R=new j(()=>new N,t=>t.reset());class N{constructor(){this.next=this.g=this.h=null}set(t,e){this.h=t,this.g=e,this.next=null}reset(){this.next=this.g=this.h=null}}let L,U=!1,F=new B,V=()=>{let t=m.Promise.resolve(void 0);L=()=>{t.then($)}};var $=()=>{let t;for(var e;t=null,F.g&&(t=F.g,F.g=F.g.next,F.g||(F.h=null),t.next=null),e=t;){try{e.h.call(e.g)}catch(t){!function(t){m.setTimeout(()=>{throw t},0)}(t)}R.j(e),100>R.h&&(R.h++,e.next=R.g,R.g=e)}U=!1};function z(){this.s=this.s,this.C=this.C}function W(t,e){this.type=t,this.g=this.target=e,this.defaultPrevented=!1}z.prototype.s=!1,z.prototype.ma=function(){this.s||(this.s=!0,this.N())},z.prototype.N=function(){if(this.C)for(;this.C.length;)this.C.shift()()},W.prototype.h=function(){this.defaultPrevented=!0};var H=function(){if(!m.addEventListener||!Object.defineProperty)return!1;var t=!1,e=Object.defineProperty({},"passive",{get:function(){t=!0}});try{let t=()=>{};m.addEventListener("test",t,e),m.removeEventListener("test",t,e)}catch(t){}return t}();function X(t,e){if(W.call(this,t?t.type:""),this.relatedTarget=this.g=this.target=null,this.button=this.screenY=this.screenX=this.clientY=this.clientX=0,this.key="",this.metaKey=this.shiftKey=this.altKey=this.ctrlKey=!1,this.state=null,this.pointerId=0,this.pointerType="",this.i=null,t){var r=this.t
1ype=t.type,n=t.changedTouches&&t.changedTouches.length?t.changedTouches[0]:null;if(this.target=t.target||t.srcElement,this.g=e,e=t.relatedTarget){if(k){r:{try{M(e.nodeName);var i=!0;break r}catch(t){}i=!1}i||(e=null)}}else"mouseover"==r?e=t.fromElement:"mouseout"==r&&(e=t.toElement);this.relatedTarget=e,n?(this.clientX=void 0!==n.clientX?n.clientX:n.pageX,this.clientY=void 0!==n.clientY?n.clientY:n.pageY,this.screenX=n.screenX||0,this.screenY=n.screenY||0):(this.clientX=void 0!==t.clientX?t.clientX:t.pageX,this.clientY=void 0!==t.clientY?t.clientY:t.pageY,this.screenX=t.screenX||0,this.screenY=t.screenY||0),this.button=t.button,this.key=t.key||"",this.ctrlKey=t.ctrlKey,this.altKey=t.altKey,this.shiftKey=t.shiftKey,this.metaKey=t.metaKey,this.pointerId=t.pointerId||0,this.pointerType="string"==typeof t.pointerType?t.pointerType:q[t.pointerType]||"",this.state=t.state,this.i=t,t.defaultPrevented&&X.aa.h.call(this)}}S(X,W);var q={2:"touch",3:"pen",4:"mouse"};X.prototype.h=function(){X.aa.h.call(this);var t=this.i;t.preventDefault?t.preventDefault():t.returnValue=!1};var K="closure_listenable_"+(1e6*Math.random()|0),Y=0;function G(t,e,r,n,i){this.listener=t,this.proxy=null,this.src=e,this.type=r,this.capture=!!n,this.ha=i,this.key=++Y,this.da=this.fa=!1}function J(t){t.da=!0,t.listener=null,t.proxy=null,t.src=null,t.ha=null}function Z(t){this.src=t,this.g={},this.h=0}function Q(t,e){var r=e.type;if(r in t.g){var n,i=t.g[r],o=Array.prototype.indexOf.call(i,e,void 0);(n=0<=o)&&Array.prototype.splice.call(i,o,1),n&&(J(e),0==t.g[r].length&&(delete t.g[r],t.h--))}}function tt(t,e,r,n){for(var i=0;i<t.length;++i){var o=t[i];if(!o.da&&o.listener==e&&!!r==o.capture&&o.ha==n)return i}return -1}Z.prototype.add=function(t,e,r,n,i){var o=t.toString();(t=this.g[o])||(t=this.g[o]=[],this.h++);var a=tt(t,e,n,i);return -1<a?(e=t[a],r||(e.fa=!1)):((e=new G(e,this.src,o,!!n,i)).fa=r,t.push(e)),e};var te="closure_lm_"+(1e6*Math.random()|0),tr={};function tn(t,e,r,n,i,o){if(!e)throw Error("Invalid event type");var a=v(i)?!!i.capture:!!i,s=ts(t);if(s||(t[te]=s=new Z(t)),(r=s.add(e,r,n,a,o)).proxy)return r;if(n=function t(e){return ta.call(t.src,t.listener,e)},r.proxy=n,n.src=t,n.listener=r,t.addEventListener)H||(i=a),void 0===i&&(i=!1),t.addEventListener(e.toString(),n,i);else if(t.attachEvent)t.attachEvent(to(e.toString()),n);else if(t.addListener&&t.removeListener)t.addListener(n);else throw Error("addEventListener and attachEvent are unavailable.");return r}function ti(t){if("number"!=typeof t&&t&&!t.da){var e=t.src;if(e&&e[K])Q(e.i,t);else{var r=t.type,n=t.proxy;e.removeEventListener?e.removeEventListener(r,n,t.capture):e.detachEvent?e.detachEvent(to(r),n):e.addListener&&e.removeListener&&e.removeListener(n),(r=ts(e))?(Q(r,t),0==r.h&&(r.src=null,e[te]=null)):J(t)}}}function to(t){return t in tr?tr[t]:tr[t]="on"+t}function ta(t,e){if(t.da)t=!0;else{e=new X(e,this);var r=t.listener,n=t.ha||t.src;t.fa&&ti(t),t=r.call(n,e)}return t}function ts(t){return(t=t[te])instanceof Z?t:null}var tl="__closure_events_fn_"+(1e9*Math.random()>>>0);function tu(t){return"function"==typeof t?t:(t[tl]||(t[tl]=function(e){return t.handleEvent(e)}),t[tl])}function tc(){z.call(this),this.i=new Z(this),this.M=this,this.F=null}function tf(t,e){var r,n=t.F;if(n)for(r=[];n;n=n.F)r.push(n);if(t=t.M,n=e.type||e,"string"==typeof e)e=new W(e,t);else if(e instanceof W)e.target=e.target||t;else{var i=e;D(e=new W(n,t),i)}if(i=!0,r)for(var o=r.length-1;0<=o;o--){var a=e.g=r[o];i=th(a,n,!0,e)&&i}if(i=th(a=e.g=t,n,!0,e)&&i,i=th(a,n,!1,e)&&i,r)for(o=0;o<r.length;o++)i=th(a=e.g=r[o],n,!1,e)&&i}function th(t,e,r,n){if(!(e=t.i.g[String(e)]))return!0;e=e.concat();for(var i=!0,o=0;o<e.length;++o){var a=e[o];if(a&&!a.da&&a.capture==r){var s=a.listener,l=a.ha||a.src;a.fa&&Q(t.i,a),i=!1!==s.call(l,n)&&i}}return i&&!n.defaultPrevented}function tp(t,e,r){if("function"==typeof t)r&&(t=w(t,r));else if(t&&"function"==typeof t.handleEvent)t=w(t.handleEvent,t);else throw Error("Invalid listener argument");return 0x7fffffff<Number(e)?-1:m.setTimeout(t,e||0)}S(tc,z),tc.prototype[K]=!0,tc.prototype.removeEventListener=function(t,e,r,n){!function t(e,r,n,i,o){if(Array.isArray(r))for(var a=0;a<r.length;a++)t(e,r[a],n,i,o);else(i=v(i)?!!i.capture:!!i,n=tu(n),e&&e[K])?(e=e.i,(r=String(r).toString())in e.g&&-1<(n=tt(a=e.g[r],n,i,o))&&(J(a[n]),Array.prototype.splice.call(a,n,1),0==a.length&&(delete e.g[r],e.h--))
1):e&&(e=ts(e))&&(r=e.g[r.toString()],e=-1,r&&(e=tt(r,n,i,o)),(n=-1<e?r[e]:null)&&ti(n))}(this,t,e,r,n)},tc.prototype.N=function(){if(tc.aa.N.call(this),this.i){var t,e=this.i;for(t in e.g){for(var r=e.g[t],n=0;n<r.length;n++)J(r[n]);delete e.g[t],e.h--}}this.F=null},tc.prototype.K=function(t,e,r,n){return this.i.add(String(t),e,!1,r,n)},tc.prototype.L=function(t,e,r,n){return this.i.add(String(t),e,!0,r,n)};class td extends z{constructor(t,e){super(),this.m=t,this.l=e,this.h=null,this.i=!1,this.g=null}j(t){this.h=arguments,this.g?this.i=!0:function t(e){e.g=tp(()=>{e.g=null,e.i&&(e.i=!1,t(e))},e.l);let r=e.h;e.h=null,e.m.apply(null,r)}(this)}N(){super.N(),this.g&&(m.clearTimeout(this.g),this.g=null,this.i=!1,this.h=null)}}function ty(t){z.call(this),this.h=t,this.g={}}S(ty,z);var tm=[];function tg(t){C(t.g,function(t,e){this.g.hasOwnProperty(e)&&ti(t)},t),t.g={}}ty.prototype.N=function(){ty.aa.N.call(this),tg(this)},ty.prototype.handleEvent=function(){throw Error("EventHandler.handleEvent not implemented")};var tv=m.JSON.stringify,tb=m.JSON.parse,tx=class{stringify(t){return m.JSON.stringify(t,void 0)}parse(t){return m.JSON.parse(t,void 0)}};function tw(){}function tO(t){return t.h||(t.h=t.i())}function tS(){}tw.prototype.h=null;var tA={OPEN:"a",kb:"b",Ja:"c",wb:"d"};function tE(){W.call(this,"d")}function tj(){W.call(this,"c")}S(tE,W),S(tj,W);var tP={},tT=null;function tM(){return tT=tT||new tc}function tk(t){W.call(this,tP.La,t)}function tC(t){let e=tM();tf(e,new tk(e))}function tI(t,e){W.call(this,tP.STAT_EVENT,t),this.stat=e}function t_(t){let e=tM();tf(e,new tI(e,t))}function tD(t,e){W.call(this,tP.Ma,t),this.size=e}function tB(t,e){if("function"!=typeof t)throw Error("Fn must not be null and must be a function");return m.setTimeout(function(){t()},e)}function tR(){this.g=!0}function tN(t,e,r,n){t.info(function(){return"XMLHTTP TEXT ("+e+"): "+function(t,e){if(!t.g)return e;if(!e)return null;try{var r=JSON.parse(e);if(r){for(t=0;t<r.length;t++)if(Array.isArray(r[t])){var n=r[t];if(!(2>n.length)){var i=n[1];if(Array.isArray(i)&&!(1>i.length)){var o=i[0];if("noop"!=o&&"stop"!=o&&"close"!=o)for(var a=1;a<i.length;a++)i[a]=""}}}}return tv(r)}catch(t){return e}}(t,r)+(n?" "+n:"")})}tP.La="serverreachability",S(tk,W),tP.STAT_EVENT="statevent",S(tI,W),tP.Ma="timingevent",S(tD,W),tR.prototype.xa=function(){this.g=!1},tR.prototype.info=function(){};var tL={NO_ERROR:0,gb:1,tb:2,sb:3,nb:4,rb:5,ub:6,Ia:7,TIMEOUT:8,xb:9},tU={lb:"complete",Hb:"success",Ja:"error",Ia:"abort",zb:"ready",Ab:"readystatechange",TIMEOUT:"timeout",vb:"incrementaldata",yb:"progress",ob:"downloadprogress",Pb:"uploadprogress"};function tF(){}function tV(t,e,r,n){this.j=t,this.i=e,this.l=r,this.R=n||1,this.U=new ty(this),this.I=45e3,this.H=null,this.o=!1,this.m=this.A=this.v=this.L=this.F=this.S=this.B=null,this.D=[],this.g=null,this.C=0,this.s=this.u=null,this.X=-1,this.J=!1,this.O=0,this.M=null,this.W=this.K=this.T=this.P=!1,this.h=new t$}function t$(){this.i=null,this.g="",this.h=!1}S(tF,tw),tF.prototype.g=function(){return new XMLHttpRequest},tF.prototype.i=function(){return{}},e=new tF;var tz={},tW={};function tH(t,e,r){t.L=1,t.v=ea(ee(e)),t.m=r,t.P=!0,tX(t,null)}function tX(t,e){t.F=Date.now(),tK(t),t.A=ee(t.v);var r,n,i,o,a,s,l=t.A,u=t.R;Array.isArray(u)||(u=[String(u)]),eb(l.i,"t",u),t.C=0,l=t.j.J,t.h=new t$,t.g=e6(t.j,l?e:null,!t.m),0<t.O&&(t.M=new td(w(t.Y,t,t.g),t.O)),e=t.U,l=t.g,u=t.ca;var c="readystatechange";Array.isArray(c)||(c&&(tm[0]=c.toString()),c=tm);for(var f=0;f<c.length;f++){var h=function t(e,r,n,i,o){if(i&&i.once)return function t(e,r,n,i,o){if(Array.isArray(r)){for(var a=0;a<r.length;a++)t(e,r[a],n,i,o);return null}return n=tu(n),e&&e[K]?e.L(r,n,v(i)?!!i.capture:!!i,o):tn(e,r,n,!0,i,o)}(e,r,n,i,o);if(Array.isArray(r)){for(var a=0;a<r.length;a++)t(e,r[a],n,i,o);return null}return n=tu(n),e&&e[K]?e.K(r,n,v(i)?!!i.capture:!!i,o):tn(e,r,n,!1,i,o)}(l,c[f],u||e.handleEvent,!1,e.h||e);if(!h)break;e.g[h.key]=h}e=t.H?I(t.H):{},t.m?(t.u||(t.u="POST"),e["Content-Type"]="application/x-www-form-urlencoded",t.g.ea(t.A,t.u,t.m,e)):(t.u="GET",t.g.ea(t.A,t.u,null,e)),tC(),r=t.i,n=t.u,i=t.A,o=t.l,a=t.R,s=t.m,r.info(function(){if(r.g)if(s)for(var t="",e=s.split("&"),l=0;l<e.length;l++){var u=e[l].split("=");if(1<u.length){var c=u[0];u=u[1];var f=c.split("_");t=2<=f.length&&"type"==f[1]?t+(c+"=")+u+"&":t+(c+"=redacted&")}}else t=null;else t=s;return"XMLHTTP REQ ("+o+") [attempt "+a+"]: "+n+"\n"+i+"\n"+t})}function tq(t){return!!t.g&&"GET"==t.u&&2!=t.L&&t.j.Ca}function tK(t){t.S=Date.now()+t.I,tY(t,t.I)}function tY(t,e){if(null!=t.B)throw Error("WatchDog timer not null");t.B=tB(w(t.ba,t),e)}function tG(t){t.B&&(m.clearTimeout(t.B),t.B=null)}function tJ(t){0==t.j.G||t.J||e0(t.j,t)}function tZ(t){tG(t);var e=t.M;e&&"function"==typeof e.ma&&e.ma(),t.M=null,tg(t.U),t.g&&(e=t.g,t.g=null,e.abort(),e.ma())}function tQ(t,e){try{var r=t.j;if(0!=r.G&&(r.g==t||t3(r.h,t))){if(!t.K&&t3(r.h,t)&&3==r.G){try{var n=r.Da.g.parse(e)}catch(t){n=null}if(Array.isArray(n)&&3==n.length){var i=n;
1if(0==i[0]){r:if(!r.u){if(r.g)if(r.g.F+3e3<t.F)eQ(r),ez(r);else break r;eG(r),t_(18)}}else r.za=i[1],0<r.za-r.T&&37500>i[2]&&r.F&&0==r.v&&!r.C&&(r.C=tB(w(r.Za,r),6e3));if(1>=t5(r.h)&&r.ca){try{r.ca()}catch(t){}r.ca=void 0}}else e2(r,11)}else if((t.K||r.g==t)&&eQ(r),!P(e))for(i=r.Da.g.parse(e),e=0;e<i.length;e++){let s=i[e];if(r.T=s[0],s=s[1],2==r.G)if("c"==s[0]){r.K=s[1],r.ia=s[2];let e=s[3];null!=e&&(r.la=e,r.j.info("VER="+r.la));let i=s[4];null!=i&&(r.Aa=i,r.j.info("SVER="+r.Aa));let l=s[5];null!=l&&"number"==typeof l&&0<l&&(r.L=n=1.5*l,r.j.info("backChannelRequestTimeoutMs_="+n)),n=r;let u=t.g;if(u){let t=u.g?u.g.getResponseHeader("X-Client-Wire-Protocol"):null;if(t){var o=n.h;o.g||-1==t.indexOf("spdy")&&-1==t.indexOf("quic")&&-1==t.indexOf("h2")||(o.j=o.l,o.g=new Set,o.h&&(t6(o,o.h),o.h=null))}if(n.D){let t=u.g?u.g.getResponseHeader("X-HTTP-Session-Id"):null;t&&(n.ya=t,eo(n.I,n.D,t))}}if(r.G=3,r.l&&r.l.ua(),r.ba&&(r.R=Date.now()-t.F,r.j.info("Handshake RTT: "+r.R+"ms")),(n=r).qa=e3(n,n.J?n.ia:null,n.W),t.K){t8(n.h,t);var a=n.L;a&&(t.I=a),t.B&&(tG(t),tK(t)),n.g=t}else eY(n);0<r.i.length&&eH(r)}else"stop"!=s[0]&&"close"!=s[0]||e2(r,7);else 3==r.G&&("stop"==s[0]||"close"==s[0]?"stop"==s[0]?e2(r,7):e$(r):"noop"!=s[0]&&r.l&&r.l.ta(s),r.v=0)}}tC(4)}catch(t){}}tV.prototype.ca=function(t){t=t.target;let e=this.M;e&&3==eL(t)?e.j():this.Y(t)},tV.prototype.Y=function(t){try{if(t==this.g)r:{let v=eL(this.g);var e=this.g.Ba();let b=this.g.Z();if(!(3>v)&&(3!=v||this.g&&(this.h.h||this.g.oa()||eU(this.g)))){this.J||4!=v||7==e||(8==e||0>=b?tC(3):tC(2)),tG(this);var r=this.g.Z();this.X=r;n:if(tq(this)){var n=eU(this.g);t="";var i=n.length,o=4==eL(this.g);if(!this.h.i){if("undefined"==typeof TextDecoder){tZ(this),tJ(this);var a="";break n}this.h.i=new m.TextDecoder}for(e=0;e<i;e++)this.h.h=!0,t+=this.h.i.decode(n[e],{stream:!(o&&e==i-1)});n.length=0,this.h.g+=t,this.C=0,a=this.h.g}else a=this.g.oa();if(this.o=200==r,s=this.i,l=this.u,u=this.A,c=this.l,f=this.R,h=r,s.info(function(){return"XMLHTTP RESP ("+c+") [ attempt "+f+"]: "+l+"\n"+u+"\n"+v+" "+h}),this.o){if(this.T&&!this.K){n:{if(this.g){var s,l,u,c,f,h,p,d=this.g;if((p=d.g?d.g.getResponseHeader("X-HTTP-Initial-Response"):null)&&!P(p)){var y=p;break n}}y=null}if(r=y)tN(this.i,this.l,r,"Initial handshake response via X-HTTP-Initial-Response"),this.K=!0,tQ(this,r);else{this.o=!1,this.s=3,t_(12),tZ(this),tJ(this);break r}}if(this.P){let t;for(r=!0;!this.J&&this.C<a.length;)if((t=function(t,e){var r=t.C,n=e.indexOf("\n",r);return -1==n?tW:isNaN(r=Number(e.substring(r,n)))?tz:(n+=1)+r>e.length?tW:(e=e.slice(n,n+r),t.C=n+r,e)}(this,a))==tW){4==v&&(this.s=4,t_(14),r=!1),tN(this.i,this.l,null,"[Incomplete Response]");break}else if(t==tz){this.s=4,t_(15),tN(this.i,this.l,a,"[Invalid Chunk]"),r=!1;break}else tN(this.i,this.l,t,null),tQ(this,t);if(tq(this)&&0!=this.C&&(this.h.g=this.h.g.slice(this.C),this.C=0),4!=v||0!=a.length||this.h.h||(this.s=1,t_(16),r=!1),this.o=this.o&&r,r){if(0<a.length&&!this.W){this.W=!0;var g=this.j;g.g==this&&g.ba&&!g.M&&(g.j.info("Great, no buffering proxy detected. Bytes received: "+a.length),eJ(g),g.M=!0,t_(11))}}else tN(this.i,this.l,a,"[Invalid Chunked Response]"),tZ(this),tJ(this)}else tN(this.i,this.l,a,null),tQ(this,a);4==v&&tZ(this),this.o&&!this.J&&(4==v?e0(this.j,this):(this.o=!1,tK(this)))}else(function(t){let e={};t=(t.g&&2<=eL(t)&&t.g.getAllResponseHeaders()||"").split("\r\n");for(let n=0;n<t.length;n++){if(P(t[n]))continue;var r=function(t){var e=1;t=t.split(":");let r=[];for(;0<e&&t.length;)r.push(t.shift()),e--;return t.length&&r.push(t.join(":")),r}(t[n]);let i=r[0];if("string"!=typeof(r=r[1]))continue;r=r.trim();let o=e[i]||[];e[i]=o,o.push(r)}var n=function(t){return t.join(", ")};for(let t in e)n.call(void 0,e[t],t,e)})(this.g),400==r&&0<a.indexOf("Unknown SID")?(this.s=3,t_(12)):(this.s=0,t_(13)),tZ(this),tJ(this)}}}catch(t){}finally{}},tV.prototype.cancel=function(){this.J=!0,tZ(this)},tV.prototype.ba=function(){var t,e;this.B=null;let r=Date.now();0<=r-this.S?(t=this.i,e=this.A,t.info(function(){return"TIMEOUT: "+e}),2!=this.L&&(tC(),t_(17)),tZ(this),this.s=2,tJ(this)):tY(this,this.S-r)};var t0=class{constructor(t,e){this.g=t,this.map=e}};function t1(t){this.l=t||10,t=m.PerformanceNavigationTiming?0<(t=m.performance.getEntriesByType("navigation")).length&&("hq"==t[0].nextHopProtocol||"h2"==t[0].nextHopProtocol):!!(m.chrome&&m.chrome.loadTimes&&m.chrome.loadTimes()&&m.chrome.loadTimes().wasFetchedViaSpdy),this.j=t?this.l:1,this.g=null,1<this.j&&(this.g=new Set),this.h=null,this.i=[]}function t2(t){return!!t.h||!!t.g&&t.g.size>=t.j}function t5(t){return t.h?1:t.g?t.g.size:0}function t3(t,e){return t.h?t.h==e:!!t.g&&t.g.has(e)}function t6(t,e){t.g?t.g.add(e):t.h=e}function t8(t,e){t.h&&t.h==e?t.h=null:t.g&&t.g.has(e)&&t.g.delete(e)}function t4(t){if(null!=t.h)return t.i.concat(t.h.D);if(null!=t.g&&0!==t.g.size){let e=t.i;for(let r of t.g.values())e=e.concat(r.D);return e}return A(t.i)}function t9(t,e){if(t.forEach&&"function"==typeof t.forEach)t.forEach(e,void 0);else if(g(t)||"string"==typeof t)Array.prototype.forEach.call(t,e,void 0);else for(var r=function(t){if(t.na&&"function"==typeof t.na)return t.na();if(!t.V||"function"!=typeof t.V){if("undefined"!=typeof Map&&t instanceof Map)return Array.from(t.keys());
1if(!("undefined"!=typeof Set&&t instanceof Set)){if(g(t)||"string"==typeof t){var e=[];t=t.length;for(var r=0;r<t;r++)e.push(r);return e}for(let n in e=[],r=0,t)e[r++]=n;return e}}}(t),n=function(t){if(t.V&&"function"==typeof t.V)return t.V();if("undefined"!=typeof Map&&t instanceof Map||"undefined"!=typeof Set&&t instanceof Set)return Array.from(t.values());if("string"==typeof t)return t.split("");if(g(t)){for(var e=[],r=t.length,n=0;n<r;n++)e.push(t[n]);return e}for(n in e=[],r=0,t)e[r++]=t[n];return e}(t),i=n.length,o=0;o<i;o++)e.call(void 0,n[o],r&&r[o],t)}t1.prototype.cancel=function(){if(this.i=t4(this),this.h)this.h.cancel(),this.h=null;else if(this.g&&0!==this.g.size){for(let t of this.g.values())t.cancel();this.g.clear()}};var t7=RegExp("^(?:([^:/?#.]+):)?(?://(?:([^\\\\/?#]*)@)?([^\\\\/?#]*?)(?::([0-9]+))?(?=[\\\\/?#]|$))?([^?#]+)?(?:\\?([^#]*))?(?:#([\\s\\S]*))?$");function et(t){if(this.g=this.o=this.j="",this.s=null,this.m=this.l="",this.h=!1,t instanceof et){this.h=t.h,er(this,t.j),this.o=t.o,this.g=t.g,en(this,t.s),this.l=t.l;var e=t.i,r=new ey;r.i=e.i,e.g&&(r.g=new Map(e.g),r.h=e.h),ei(this,r),this.m=t.m}else t&&(e=String(t).match(t7))?(this.h=!1,er(this,e[1]||"",!0),this.o=es(e[2]||""),this.g=es(e[3]||"",!0),en(this,e[4]),this.l=es(e[5]||"",!0),ei(this,e[6]||"",!0),this.m=es(e[7]||"")):(this.h=!1,this.i=new ey(null,this.h))}function ee(t){return new et(t)}function er(t,e,r){t.j=r?es(e,!0):e,t.j&&(t.j=t.j.replace(/:$/,""))}function en(t,e){if(e){if(isNaN(e=Number(e))||0>e)throw Error("Bad port number "+e);t.s=e}else t.s=null}function ei(t,e,r){var n,i;e instanceof ey?(t.i=e,n=t.i,(i=t.h)&&!n.j&&(em(n),n.i=null,n.g.forEach(function(t,e){var r=e.toLowerCase();e!=r&&(eg(this,e),eb(this,r,t))},n)),n.j=i):(r||(e=el(e,ep)),t.i=new ey(e,t.h))}function eo(t,e,r){t.i.set(e,r)}function ea(t){return eo(t,"zx",Math.floor(0x80000000*Math.random()).toString(36)+Math.abs(Math.floor(0x80000000*Math.random())^Date.now()).toString(36)),t}function es(t,e){return t?e?decodeURI(t.replace(/%25/g,"%2525")):decodeURIComponent(t):""}function el(t,e,r){return"string"==typeof t?(t=encodeURI(t).replace(e,eu),r&&(t=t.replace(/%25([0-9a-fA-F]{2})/g,"%$1")),t):null}function eu(t){return"%"+((t=t.charCodeAt(0))>>4&15).toString(16)+(15&t).toString(16)}et.prototype.toString=function(){var t=[],e=this.j;e&&t.push(el(e,ec,!0),":");var r=this.g;return(r||"file"==e)&&(t.push("//"),(e=this.o)&&t.push(el(e,ec,!0),"@"),t.push(encodeURIComponent(String(r)).replace(/%25([0-9a-fA-F]{2})/g,"%$1")),null!=(r=this.s)&&t.push(":",String(r))),(r=this.l)&&(this.g&&"/"!=r.charAt(0)&&t.push("/"),t.push(el(r,"/"==r.charAt(0)?eh:ef,!0))),(r=this.i.toString())&&t.push("?",r),(r=this.m)&&t.push("#",el(r,ed)),t.join("")};var ec=/[#\/\?@]/g,ef=/[#\?:]/g,eh=/[#\?]/g,ep=/[#\?@]/g,ed=/#/g;function ey(t,e){this.h=this.g=null,this.i=t||null,this.j=!!e}function em(t){t.g||(t.g=new Map,t.h=0,t.i&&function(t,e){if(t){t=t.split("&");for(var r=0;r<t.length;r++){var n=t[r].indexOf("="),i=null;if(0<=n){var o=t[r].substring(0,n);i=t[r].substring(n+1)}else o=t[r];e(o,i?decodeURIComponent(i.replace(/\+/g," ")):"")}}}(t.i,function(e,r){t.add(decodeURIComponent(e.replace(/\+/g," ")),r)}))}function eg(t,e){em(t),e=ex(t,e),t.g.has(e)&&(t.i=null,t.h-=t.g.get(e).length,t.g.delete(e))}function ev(t,e){return em(t),e=ex(t,e),t.g.has(e)}function eb(t,e,r){eg(t,e),0<r.length&&(t.i=null,t.g.set(ex(t,e),A(r)),t.h+=r.length)}function ex(t,e){return e=String(e),t.j&&(e=e.toLowerCase()),e}function ew(t,e,r,n,i){try{i&&(i.onload=null,i.onerror=null,i.onabort=null,i.ontimeout=null),n(r)}catch(t){}}function eO(){this.g=new tx}function eS(t){this.l=t.Ub||null,this.j=t.eb||!1}function eA(t,e){tc.call(this),this.D=t,this.o=e,this.m=void 0,this.status=this.readyState=0,this.responseType=this.responseText=this.response=this.statusText="",this.onreadystatechange=null,this.u=new Headers,this.h=null,this.B="GET",this.A="",this.g=!1,this.v=this.j=this.l=null}function eE(t){t.j.read().then(t.Pa.bind(t)).catch(t.ga.bind(t))}function ej(t){t.readyState=4,t.l=null,t.j=null,t.v=null,eP(t)}function eP(t){t.onreadystatechange&&t.onreadystatechange.call(t)}function eT(t){let e="";return C(t,function(t,r){e+=r,e+=":",e+=t,e+="\r\n"}),e}function eM(t,e,r){r:{for(n in r){var n=!1;break r}n=!0}n||(r=eT(r),"string"==typeof t?null!=r&&encodeURIComponent(String(r)):eo(t,e,r))}function ek(t){tc.call(this),this.headers=new Map,this.o=t||null,this.h=!1,this.v=this.g=null,this.D="",this.m=0,this.l="",this.j=this.B=this.u=this.A=!1,this.I=null,this.H="",this.J=!1}(r=ey.prototype).add=function(t,e){em(this),this.i=null,t=ex(this,t);var r=this.g.get(t);return r||this.g.set(t,r=[]),r.push(e),this.h+=1,this},r.forEach=function(t,e){em(this),this.g.forEach(function(r,n){r.forEach(function(r){t.call(e,r,n,this)},this)},this)},r.na=function(){em(this);let t=Array.from(this.g.values()),e=Array.from(this.g.keys()),r=[];for(let n=0;n<e.length;n++){let i=t[n];for(let t=0;t<i.length;t++)r.push(e[n])}return r},r.V=function(t){em(this);let e=[];
1if("string"==typeof t)ev(this,t)&&(e=e.concat(this.g.get(ex(this,t))));else{t=Array.from(this.g.values());for(let r=0;r<t.length;r++)e=e.concat(t[r])}return e},r.set=function(t,e){return em(this),this.i=null,ev(this,t=ex(this,t))&&(this.h-=this.g.get(t).length),this.g.set(t,[e]),this.h+=1,this},r.get=function(t,e){return t&&0<(t=this.V(t)).length?String(t[0]):e},r.toString=function(){if(this.i)return this.i;if(!this.g)return"";let t=[],e=Array.from(this.g.keys());for(var r=0;r<e.length;r++){var n=e[r];let o=encodeURIComponent(String(n)),a=this.V(n);for(n=0;n<a.length;n++){var i=o;""!==a[n]&&(i+="="+encodeURIComponent(String(a[n]))),t.push(i)}}return this.i=t.join("&")},S(eS,tw),eS.prototype.g=function(){return new eA(this.l,this.j)},eS.prototype.i=(t={},function(){return t}),S(eA,tc),(r=eA.prototype).open=function(t,e){if(0!=this.readyState)throw this.abort(),Error("Error reopening a connection");this.B=t,this.A=e,this.readyState=1,eP(this)},r.send=function(t){if(1!=this.readyState)throw this.abort(),Error("need to call open() first. ");this.g=!0;let e={headers:this.u,method:this.B,credentials:this.m,cache:void 0};t&&(e.body=t),(this.D||m).fetch(new Request(this.A,e)).then(this.Sa.bind(this),this.ga.bind(this))},r.abort=function(){this.response=this.responseText="",this.u=new Headers,this.status=0,this.j&&this.j.cancel("Request was aborted.").catch(()=>{}),1<=this.readyState&&this.g&&4!=this.readyState&&(this.g=!1,ej(this)),this.readyState=0},r.Sa=function(t){if(this.g&&(this.l=t,this.h||(this.status=this.l.status,this.statusText=this.l.statusText,this.h=t.headers,this.readyState=2,eP(this)),this.g&&(this.readyState=3,eP(this),this.g)))if("arraybuffer"===this.responseType)t.arrayBuffer().then(this.Qa.bind(this),this.ga.bind(this));else if(void 0!==m.ReadableStream&&"body"in t){if(this.j=t.body.getReader(),this.o){if(this.responseType)throw Error('responseType must be empty for "streamBinaryChunks" mode responses.');this.response=[]}else this.response=this.responseText="",this.v=new TextDecoder;eE(this)}else t.text().then(this.Ra.bind(this),this.ga.bind(this))},r.Pa=function(t){if(this.g){if(this.o&&t.value)this.response.push(t.value);else if(!this.o){var e=t.value?t.value:new Uint8Array(0);(e=this.v.decode(e,{stream:!t.done}))&&(this.response=this.responseText+=e)}t.done?ej(this):eP(this),3==this.readyState&&eE(this)}},r.Ra=function(t){this.g&&(this.response=this.responseText=t,ej(this))},r.Qa=function(t){this.g&&(this.response=t,ej(this))},r.ga=function(){this.g&&ej(this)},r.setRequestHeader=function(t,e){this.u.append(t,e)},r.getResponseHeader=function(t){return this.h&&this.h.get(t.toLowerCase())||""},r.getAllResponseHeaders=function(){if(!this.h)return"";let t=[],e=this.h.entries();for(var r=e.next();!r.done;)t.push((r=r.value)[0]+": "+r[1]),r=e.next();return t.join("\r\n")},Object.defineProperty(eA.prototype,"withCredentials",{get:function(){return"include"===this.m},set:function(t){this.m=t?"include":"same-origin"}}),S(ek,tc);var eC=/^https?$/i,eI=["POST","PUT"];function e_(t,e){t.h=!1,t.g&&(t.j=!0,t.g.abort(),t.j=!1),t.l=e,t.m=5,eD(t),eR(t)}function eD(t){t.A||(t.A=!0,tf(t,"complete"),tf(t,"error"))}function eB(t){if(t.h&&void 0!==y&&(!t.v[1]||4!=eL(t)||2!=t.Z())){if(t.u&&4==eL(t))tp(t.Ea,0,t);else if(tf(t,"readystatechange"),4==eL(t)){t.h=!1;try{let a=t.Z();switch(a){case 200:case 201:case 202:case 204:case 206:case 304:case 1223:var e,r,n=!0;break;default:n=!1}if(!(e=n)){if(r=0===a){var i=String(t.D).match(t7)[1]||null;!i&&m.self&&m.self.location&&(i=m.self.location.protocol.slice(0,-1)),r=!eC.test(i?i.toLowerCase():"")}e=r}if(e)tf(t,"complete"),tf(t,"success");else{t.m=6;try{var o=2<eL(t)?t.g.statusText:""}catch(t){o=""}t.l=o+" ["+t.Z()+"]",eD(t)}}finally{eR(t)}}}}function eR(t,e){if(t.g){eN(t);let r=t.g,n=t.v[0]?()=>{}:null;t.g=null,t.v=null,e||tf(t,"ready");try{r.onreadystatechange=n}catch(t){}}}function eN(t){t.I&&(m.clearTimeout(t.I),t.I=null)}function eL(t){return t.g?t.g.readyState:0}function eU(t){try{if(!t.g)return null;if("response"in t.g)return t.g.response;switch(t.H){case"":case"text":return t.g.responseText;case"arraybuffer":if("mozResponseArrayBuffer"in t.g)return t.g.mozResponseArrayBuffer}return null}catch(t){return null}}
1function eF(t,e,r){return r&&r.internalChannelParams&&r.internalChannelParams[t]||e}function eV(t){this.Aa=0,this.i=[],this.j=new tR,this.ia=this.qa=this.I=this.W=this.g=this.ya=this.D=this.H=this.m=this.S=this.o=null,this.Ya=this.U=0,this.Va=eF("failFast",!1,t),this.F=this.C=this.u=this.s=this.l=null,this.X=!0,this.za=this.T=-1,this.Y=this.v=this.B=0,this.Ta=eF("baseRetryDelayMs",5e3,t),this.cb=eF("retryDelaySeedMs",1e4,t),this.Wa=eF("forwardChannelMaxRetries",2,t),this.wa=eF("forwardChannelRequestTimeoutMs",2e4,t),this.pa=t&&t.xmlHttpFactory||void 0,this.Xa=t&&t.Tb||void 0,this.Ca=t&&t.useFetchStreams||!1,this.L=void 0,this.J=t&&t.supportsCrossDomainXhr||!1,this.K="",this.h=new t1(t&&t.concurrentRequestLimit),this.Da=new eO,this.P=t&&t.fastHandshake||!1,this.O=t&&t.encodeInitMessageHeaders||!1,this.P&&this.O&&(this.O=!1),this.Ua=t&&t.Rb||!1,t&&t.xa&&this.j.xa(),t&&t.forceLongPolling&&(this.X=!1),this.ba=!this.P&&this.X&&t&&t.detectBufferingProxy||!1,this.ja=void 0,t&&t.longPollingTimeout&&0<t.longPollingTimeout&&(this.ja=t.longPollingTimeout),this.ca=void 0,this.R=0,this.M=!1,this.ka=this.A=null}function e$(t){if(eW(t),3==t.G){var e=t.U++,r=ee(t.I);if(eo(r,"SID",t.K),eo(r,"RID",e),eo(r,"TYPE","terminate"),eq(t,r),(e=new tV(t,t.j,e)).L=2,e.v=ea(ee(r)),r=!1,m.navigator&&m.navigator.sendBeacon)try{r=m.navigator.sendBeacon(e.v.toString(),"")}catch(t){}!r&&m.Image&&((new Image).src=e.v,r=!0),r||(e.g=e6(e.j,null),e.g.ea(e.v)),e.F=Date.now(),tK(e)}e5(t)}function ez(t){t.g&&(eJ(t),t.g.cancel(),t.g=null)}function eW(t){ez(t),t.u&&(m.clearTimeout(t.u),t.u=null),eQ(t),t.h.cancel(),t.s&&("number"==typeof t.s&&m.clearTimeout(t.s),t.s=null)}function eH(t){if(!t2(t.h)&&!t.s){t.s=!0;var e=t.Ga;L||V(),U||(L(),U=!0),F.add(e,t),t.B=0}}function eX(t,e){var r;r=e?e.l:t.U++;let n=ee(t.I);eo(n,"SID",t.K),eo(n,"RID",r),eo(n,"AID",t.T),eq(t,n),t.m&&t.o&&eM(n,t.m,t.o),r=new tV(t,t.j,r,t.B+1),null===t.m&&(r.H=t.o),e&&(t.i=e.D.concat(t.i)),e=eK(t,r,1e3),r.I=Math.round(.5*t.wa)+Math.round(.5*t.wa*Math.random()),t6(t.h,r),tH(r,n,e)}function eq(t,e){t.H&&C(t.H,function(t,r){eo(e,r,t)}),t.l&&t9({},function(t,r){eo(e,r,t)})}function eK(t,e,r){r=Math.min(t.i.length,r);var n=t.l?w(t.l.Na,t.l,t):null;r:{var i=t.i;let e=-1;for(;;){let t=["count="+r];-1==e?0<r?(e=i[0].g,t.push("ofs="+e)):e=0:t.push("ofs="+e);let o=!0;for(let a=0;a<r;a++){let r=i[a].g,s=i[a].map;if(0>(r-=e))e=Math.max(0,i[a].g-100),o=!1;else try{!function(t,e,r){let n=r||"";try{t9(t,function(t,r){let i=t;v(t)&&(i=tv(t)),e.push(n+r+"="+encodeURIComponent(i))})}catch(t){throw e.push(n+"type="+encodeURIComponent("_badmap")),t}}(s,t,"req"+r+"_")}catch(t){n&&n(s)}}if(o){n=t.join("&");break r}}}return e.D=t=t.i.splice(0,r),n}function eY(t){if(!t.g&&!t.u){t.Y=1;var e=t.Fa;L||V(),U||(L(),U=!0),F.add(e,t),t.v=0}}function eG(t){return!t.g&&!t.u&&!(3<=t.v)&&(t.Y++,t.u=tB(w(t.Fa,t),e1(t,t.v)),t.v++,!0)}function eJ(t){null!=t.A&&(m.clearTimeout(t.A),t.A=null)}function eZ(t){t.g=new tV(t,t.j,"rpc",t.Y),null===t.m&&(t.g.H=t.o),t.g.O=0;var e=ee(t.qa);eo(e,"RID","rpc"),eo(e,"SID",t.K),eo(e,"AID",t.T),eo(e,"CI",t.F?"0":"1"),!t.F&&t.ja&&eo(e,"TO",t.ja),eo(e,"TYPE","xmlhttp"),eq(t,e),t.m&&t.o&&eM(e,t.m,t.o),t.L&&(t.g.I=t.L);var r=t.g;t=t.ia,r.L=1,r.v=ea(ee(e)),r.m=null,r.P=!0,tX(r,t)}function eQ(t){null!=t.C&&(m.clearTimeout(t.C),t.C=null)}function e0(t,e){var r,n=null;if(t.g==e){eQ(t),eJ(t),t.g=null;var i=2}else{if(!t3(t.h,e))return;n=e.D,t8(t.h,e),i=1}if(0!=t.G){if(e.o)if(1==i){n=e.m?e.m.length:0,e=Date.now()-e.F;var o=t.B;tf(i=tM(),new tD(i,n)),eH(t)}else eY(t);else if(3==(o=e.s)||0==o&&0<e.X||!(1==i&&(r=e,!(t5(t.h)>=t.h.j-!!t.s)&&(t.s?(t.i=r.D.concat(t.i),!0):1!=t.G&&2!=t.G&&!(t.B>=(t.Va?0:t.Wa))&&(t.s=tB(w(t.Ga,t,r),e1(t,t.B)),t.B++,!0)))||2==i&&eG(t)))switch(n&&0<n.length&&((e=t.h).i=e.i.concat(n)),o){case 1:e2(t,5);break;case 4:e2(t,10);break;case 3:e2(t,6);break;default:e2(t,2)}}}function e1(t,e){let r=t.Ta+Math.floor(Math.random()*t.cb);return t.isActive()||(r*=2),r*e}function e2(t,e){if(t.j.info("Error code "+e),2==e){var r=w(t.fb,t),n=t.Xa;let e=!n;n=new et(n||"//www.google.com/images/cleardot.gif"),m.location&&"http"==m.location.protocol||er(n,"https"),ea(n),e?function(t,e){let r=new tR;if(m.Image){let n=new Image;n.onload=O(ew,r,"TestLoadImage: loaded",!0,e,n),n.onerror=O(ew,r,"TestLoadImage: error",!1,e,n),n.onabort=O(ew,r,"TestLoadImage: abort",!1,e,n),n.ontimeout=O(ew,r,"TestLoadImage: timeout",!1,e,n),m.setTimeout(function(){n.ontimeout&&n.ontimeout()},1e4),n.src=t}else e(!1)}(n.toString(),r):function(t,e){let r=new tR,n=new AbortController,i=setTimeout(()=>{n.abort(),ew(r,"TestPingServer: timeout",!1,e)},1e4);fetch(t,{signal:n.signal}).then(t=>{clearTimeout(i),t.ok?ew(r,"TestPingServer: ok",!0,e):ew(r,"TestPingServer: server error",!1,e)}
1).catch(()=>{clearTimeout(i),ew(r,"TestPingServer: error",!1,e)})}(n.toString(),r)}else t_(2);t.G=0,t.l&&t.l.sa(e),e5(t),eW(t)}function e5(t){if(t.G=0,t.ka=[],t.l){let e=t4(t.h);(0!=e.length||0!=t.i.length)&&(E(t.ka,e),E(t.ka,t.i),t.h.i.length=0,A(t.i),t.i.length=0),t.l.ra()}}function e3(t,e,r){var n=r instanceof et?ee(r):new et(r);if(""!=n.g)e&&(n.g=e+"."+n.g),en(n,n.s);else{var i=m.location;n=i.protocol,e=e?e+"."+i.hostname:i.hostname,i=+i.port;var o=new et(null);n&&er(o,n),e&&(o.g=e),i&&en(o,i),r&&(o.l=r),n=o}return r=t.D,e=t.ya,r&&e&&eo(n,r,e),eo(n,"VER",t.la),eq(t,n),n}function e6(t,e,r){if(e&&!t.J)throw Error("Can't create secondary domain capable XhrIo object.");return(e=new ek(t.Ca&&!t.pa?new eS({eb:r}):t.pa)).Ha(t.J),e}function e8(){}function e4(){}function e9(t,e){tc.call(this),this.g=new eV(e),this.l=t,this.h=e&&e.messageUrlParams||null,t=e&&e.messageHeaders||null,e&&e.clientProtocolHeaderRequired&&(t?t["X-Client-Protocol"]="webchannel":t={"X-Client-Protocol":"webchannel"}),this.g.o=t,t=e&&e.initMessageHeaders||null,e&&e.messageContentType&&(t?t["X-WebChannel-Content-Type"]=e.messageContentType:t={"X-WebChannel-Content-Type":e.messageContentType}),e&&e.va&&(t?t["X-WebChannel-Client-Profile"]=e.va:t={"X-WebChannel-Client-Profile":e.va}),this.g.S=t,(t=e&&e.Sb)&&!P(t)&&(this.g.m=t),this.v=e&&e.supportsCrossDomainXhr||!1,this.u=e&&e.sendRawJson||!1,(e=e&&e.httpSessionIdParam)&&!P(e)&&(this.g.D=e,null!==(t=this.h)&&e in t&&e in(t=this.h)&&delete t[e]),this.j=new re(this)}function e7(t){tE.call(this),t.__headers__&&(this.headers=t.__headers__,this.statusCode=t.__status__,delete t.__headers__,delete t.__status__);var e=t.__sm__;if(e){r:{for(let r in e){t=r;break r}t=void 0}(this.i=t)&&(t=this.i,e=null!==e&&t in e?e[t]:void 0),this.data=e}else this.data=t}function rt(){tj.call(this),this.status=1}function re(t){this.g=t}(r=ek.prototype).Ha=function(t){this.J=t},r.ea=function(t,r,n,i){if(this.g)throw Error("[goog.net.XhrIo] Object is active with another request="+this.D+"; newUri="+t);r=r?r.toUpperCase():"GET",this.D=t,this.l="",this.m=0,this.A=!1,this.h=!0,this.g=this.o?this.o.g():e.g(),this.v=this.o?tO(this.o):tO(e),this.g.onreadystatechange=w(this.Ea,this);try{this.B=!0,this.g.open(r,String(t),!0),this.B=!1}catch(t){e_(this,t);return}if(t=n||"",n=new Map(this.headers),i)if(Object.getPrototypeOf(i)===Object.prototype)for(var o in i)n.set(o,i[o]);else if("function"==typeof i.keys&&"function"==typeof i.get)for(let t of i.keys())n.set(t,i.get(t));else throw Error("Unknown input type for opt_headers: "+String(i));for(let[e,a]of(i=Array.from(n.keys()).find(t=>"content-type"==t.toLowerCase()),o=m.FormData&&t instanceof m.FormData,!(0<=Array.prototype.indexOf.call(eI,r,void 0))||i||o||n.set("Content-Type","application/x-www-form-urlencoded;charset=utf-8"),n))this.g.setRequestHeader(e,a);this.H&&(this.g.responseType=this.H),"withCredentials"in this.g&&this.g.withCredentials!==this.J&&(this.g.withCredentials=this.J);try{eN(this),this.u=!0,this.g.send(t),this.u=!1}catch(t){e_(this,t)}},r.abort=function(t){this.g&&this.h&&(this.h=!1,this.j=!0,this.g.abort(),this.j=!1,this.m=t||7,tf(this,"complete"),tf(this,"abort"),eR(this))},r.N=function(){this.g&&(this.h&&(this.h=!1,this.j=!0,this.g.abort(),this.j=!1),eR(this,!0)),ek.aa.N.call(this)},r.Ea=function(){this.s||(this.B||this.u||this.j?eB(this):this.bb())},r.bb=function(){eB(this)},r.isActive=function(){return!!this.g},r.Z=function(){try{return 2<eL(this)?this.g.status:-1}catch(t){return -1}},r.oa=function(){try{return this.g?this.g.responseText:""}catch(t){return""}},r.Oa=function(t){if(this.g){var e=this.g.responseText;return t&&0==e.indexOf(t)&&(e=e.substring(t.length)),tb(e)}},r.Ba=function(){return this.m},r.Ka=function(){return"string"==typeof this.l?this.l:String(this.l)},(r=eV.prototype).la=8,r.G=1,r.connect=function(t,e,r,n){t_(0),this.W=t,this.H=e||{},r&&void 0!==n&&(this.H.OSID=r,this.H.OAID=n),this.F=this.X,this.I=e3(this,null,this.W),eH(this)},r.Ga=function(t){if(this.s)if(this.s=null,1==this.G){if(!t){this.U=Math.floor(1e5*Math.random()),t=this.U++;let i=new tV(this,this.j,t),o=this.o;if(this.S&&(o?D(o=I(o),this.S):o=this.S),null!==this.m||this.O||(i.H=o,o=null),this.P)r:{for(var e=0,r=0;r<this.i.length;r++){n:{var n=this.i[r];if("__data__"in n.map&&"string"==typeof(n=n.map.__data__)){n=n.length;break n}n=void 0}if(void 0===n)break;if(4096<(e+=n)){e=r;break r}if(4096===e||r===this.i.length-1){e=r+1;break r}}e=1e3}else e=1e3;
1e=eK(this,i,e),eo(r=ee(this.I),"RID",t),eo(r,"CVER",22),this.D&&eo(r,"X-HTTP-Session-Id",this.D),eq(this,r),o&&(this.O?e="headers="+encodeURIComponent(String(eT(o)))+"&"+e:this.m&&eM(r,this.m,o)),t6(this.h,i),this.Ua&&eo(r,"TYPE","init"),this.P?(eo(r,"$req",e),eo(r,"SID","null"),i.T=!0,tH(i,r,null)):tH(i,r,e),this.G=2}}else 3==this.G&&(t?eX(this,t):0==this.i.length||t2(this.h)||eX(this))},r.Fa=function(){if(this.u=null,eZ(this),this.ba&&!(this.M||null==this.g||0>=this.R)){var t=2*this.R;this.j.info("BP detection timer enabled: "+t),this.A=tB(w(this.ab,this),t)}},r.ab=function(){this.A&&(this.A=null,this.j.info("BP detection timeout reached."),this.j.info("Buffering proxy detected and switch to long-polling!"),this.F=!1,this.M=!0,t_(10),ez(this),eZ(this))},r.Za=function(){null!=this.C&&(this.C=null,ez(this),eG(this),t_(19))},r.fb=function(t){t?(this.j.info("Successfully pinged google.com"),t_(2)):(this.j.info("Failed to ping google.com"),t_(1))},r.isActive=function(){return!!this.l&&this.l.isActive(this)},(r=e8.prototype).ua=function(){},r.ta=function(){},r.sa=function(){},r.ra=function(){},r.isActive=function(){return!0},r.Na=function(){},e4.prototype.g=function(t,e){return new e9(t,e)},S(e9,tc),e9.prototype.m=function(){this.g.l=this.j,this.v&&(this.g.J=!0),this.g.connect(this.l,this.h||void 0)},e9.prototype.close=function(){e$(this.g)},e9.prototype.o=function(t){var e=this.g;if("string"==typeof t){var r={};r.__data__=t,t=r}else this.u&&((r={}).__data__=tv(t),t=r);e.i.push(new t0(e.Ya++,t)),3==e.G&&eH(e)},e9.prototype.N=function(){this.g.l=null,delete this.j,e$(this.g),delete this.g,e9.aa.N.call(this)},S(e7,tE),S(rt,tj),S(re,e8),re.prototype.ua=function(){tf(this.g,"a")},re.prototype.ta=function(t){tf(this.g,new e7(t))},re.prototype.sa=function(t){tf(this.g,new rt)},re.prototype.ra=function(){tf(this.g,"b")},e4.prototype.createWebChannel=e4.prototype.g,e9.prototype.send=e9.prototype.o,e9.prototype.open=e9.prototype.m,e9.prototype.close=e9.prototype.close,c=h.createWebChannelTransport=function(){return new e4},u=h.getStatEventTarget=function(){return tM()},l=h.Event=tP,s=h.Stat={mb:0,pb:1,qb:2,Jb:3,Ob:4,Lb:5,Mb:6,Kb:7,Ib:8,Nb:9,PROXY:10,NOPROXY:11,Gb:12,Cb:13,Db:14,Bb:15,Eb:16,Fb:17,ib:18,hb:19,jb:20},tL.NO_ERROR=0,tL.TIMEOUT=8,tL.HTTP_ERROR=6,a=h.ErrorCode=tL,tU.COMPLETE="complete",o=h.EventType=tU,tS.EventType=tA,tA.OPEN="a",tA.CLOSE="b",tA.ERROR="c",tA.MESSAGE="d",tc.prototype.listen=tc.prototype.K,i=h.WebChannel=tS,h.FetchXmlHttpFactory=eS,ek.prototype.listenOnce=ek.prototype.L,ek.prototype.getLastError=ek.prototype.Ka,ek.prototype.getLastErrorCode=ek.prototype.Ba,ek.prototype.getStatus=ek.prototype.Z,ek.prototype.getResponseJson=ek.prototype.Oa,ek.prototype.getResponseText=ek.prototype.oa,ek.prototype.send=ek.prototype.ea,ek.prototype.setWithCredentials=ek.prototype.Ha,n=h.XhrIo=ek}).apply(void 0!==f?f:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},81519:(t,e,r)=>{"use strict";r.d(e,{A:()=>o,z:()=>a});var n=r(28749),i=r(95442);function o(){var t,e,r=(0,i.A)().unknown(void 0),a=r.domain,s=r.range,l=0,u=1,c=!1,f=0,h=0,p=.5;function d(){var r=a().length,n=u<l,i=n?u:l,o=n?l:u;t=(o-i)/Math.max(1,r-f+2*h),c&&(t=Math.floor(t)),i+=(o-i-t*(r-f))*p,e=t*(1-f),c&&(i=Math.round(i),e=Math.round(e));var d=(function(t,e,r){t*=1,e*=1,r=(i=arguments.length)<2?(e=t,t=0,1):i<3?1:+r;for(var n=-1,i=0|Math.max(0,Math.ceil((e-t)/r)),o=Array(i);++n<i;)o[n]=t+n*r;return o})(r).map(function(e){return i+t*e});return s(n?d.reverse():d)}return delete r.unknown,r.domain=function(t){return arguments.length?(a(t),d()):a()},r.range=function(t){return arguments.length?([l,u]=t,l*=1,u*=1,d()):[l,u]},r.rangeRound=function(t){return[l,u]=t,l*=1,u*=1,c=!0,d()},r.bandwidth=function(){return e},r.step=function(){return t},r.round=function(t){return arguments.length?(c=!!t,d()):c},r.padding=function(t){return arguments.length?(f=Math.min(1,h=+t),d()):f},r.paddingInner=function(t){return arguments.length?(f=Math.min(1,t),d()):f},r.paddingOuter=function(t){return arguments.length?(h=+t,d()):h},r.align=function(t){return arguments.length?(p=Math.max(0,Math.min(1,t)),d()):p},r.copy=function(){return o(a(),[l,u]).round(c).paddingInner(f).paddingOuter(h).align(p)},n.C.apply(d(),arguments)}function a(){return function t(e){var r=e.copy;return e.padding=e.paddingOuter,delete e.paddingInner,delete e.paddingOuter,e.copy=function(){return t(r())},e}(o.apply(null,arguments).paddingInner(1))}},82500:(t,e,r)=>{var n=r(7985),i="object"==typeof self&&self&&self.Object===Object&&self;
1t.exports=n||i||Function("return this")()},82596:(t,e,r)=>{var n=r(38008),i=r(31431),o=r(74166);t.exports=n&&1/o(new n([,-0]))[1]==1/0?function(t){return new n(t)}:i},82954:t=>{t.exports=function(t,e){return t.has(e)}},83134:(t,e,r)=>{var n=r(58918),i=r(21582),o=r(18028);t.exports=function(t,e){return t&&t.length?n(t,o(e,2),i):void 0}},83197:(t,e,r)=>{"use strict";r.d(e,{g:()=>u});var n=r(24026),i=r(49754),o=r(70788);function a(t){return(a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function s(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function l(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?s(Object(r),!0).forEach(function(e){var n,i,o;n=t,i=e,o=r[e],(i=function(t){var e=function(t,e){if("object"!=a(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=a(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==a(e)?e:e+""}(i))in n?Object.defineProperty(n,i,{value:o,enumerable:!0,configurable:!0,writable:!0}):n[i]=o}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):s(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}var u=function(t){var e,r=t.children,a=t.formattedGraphicalItems,s=t.legendWidth,u=t.legendContent,c=(0,o.BU)(r,n.s);if(!c)return null;var f=n.s.defaultProps,h=void 0!==f?l(l({},f),c.props):{};return e=c.props&&c.props.payload?c.props&&c.props.payload:"children"===u?(a||[]).reduce(function(t,e){var r=e.item,n=e.props,i=n.sectors||n.data||[];return t.concat(i.map(function(t){return{type:c.props.iconType||r.props.legendType,value:t.name,color:t.fill,payload:t}}))},[]):(a||[]).map(function(t){var e=t.item,r=e.type.defaultProps,n=void 0!==r?l(l({},r),e.props):{},o=n.dataKey,a=n.name,s=n.legendType;return{inactive:n.hide,dataKey:o,type:h.iconType||s||"square",color:(0,i.Ps)(e),value:a||o,payload:n}}),l(l(l({},h),n.s.getWithHeight(c,s)),{},{payload:e,item:c})}},83540:(t,e,r)=>{"use strict";r.d(e,{u:()=>d});var n=r(35796),i=r(12115),o=r(91959),a=r.n(o),s=r(16377),l=r(675),u=r(70788);function c(t){return(c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function f(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function h(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?f(Object(r),!0).forEach(function(e){var n,i,o;n=t,i=e,o=r[e],(i=function(t){var e=function(t,e){if("object"!=c(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=c(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==c(e)?e:e+""}(i))in n?Object.defineProperty(n,i,{value:o,enumerable:!0,configurable:!0,writable:!0}):n[i]=o}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):f(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function p(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}var d=(0,i.forwardRef)(function(t,e){var r,o=t.aspect,c=t.initialDimension,f=void 0===c?{width:-1,height:-1}:c,d=t.width,y=void 0===d?"100%":d,m=t.height,g=void 0===m?"100%":m,v=t.minWidth,b=void 0===v?0:v,x=t.minHeight,w=t.maxHeight,O=t.children,S=t.debounce,A=void 0===S?0:S,E=t.id,j=t.className,P=t.onResize,T=t.style,M=(0,i.useRef)(null),k=(0,i.useRef)();k.current=P,(0,i.useImperativeHandle)(e,function(){return Object.defineProperty(M.current,"current",{get:function(){return console.warn("The usage of ref.current.current is deprecated and will no longer be supported."),M.current},configurable:!0})});var C=function(t){if(Array.isArray(t))return t}(r=(0,i.useState)({containerWidth:f.width,containerHeight:f.height}))||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,i,o,a,s=[],l=!0,u=!1;try{o=(r=r.call(t)).next,!1;for(;!(l=(n=o.call(r)).done)&&(s.push(n.value),s.length!==e);l=!0);}catch(t){u=!0,i=t}
1finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(u)throw i}}return s}}(r,2)||function(t,e){if(t){if("string"==typeof t)return p(t,2);var r=Object.prototype.toString.call(t).slice(8,-1);if("Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return p(t,e)}}(r,2)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),I=C[0],_=C[1],D=(0,i.useCallback)(function(t,e){_(function(r){var n=Math.round(t),i=Math.round(e);return r.containerWidth===n&&r.containerHeight===i?r:{containerWidth:n,containerHeight:i}})},[]);(0,i.useEffect)(function(){var t=function(t){var e,r=t[0].contentRect,n=r.width,i=r.height;D(n,i),null==(e=k.current)||e.call(k,n,i)};A>0&&(t=a()(t,A,{trailing:!0,leading:!1}));var e=new ResizeObserver(t),r=M.current.getBoundingClientRect();return D(r.width,r.height),e.observe(M.current),function(){e.disconnect()}},[D,A]);var B=(0,i.useMemo)(function(){var t=I.containerWidth,e=I.containerHeight;if(t<0||e<0)return null;(0,l.R)((0,s._3)(y)||(0,s._3)(g),"The width(%s) and height(%s) are both fixed numbers,\n       maybe you don't need to use a ResponsiveContainer.",y,g),(0,l.R)(!o||o>0,"The aspect(%s) must be greater than zero.",o);var r=(0,s._3)(y)?t:y,n=(0,s._3)(g)?e:g;o&&o>0&&(r?n=r/o:n&&(r=n*o),w&&n>w&&(n=w)),(0,l.R)(r>0||n>0,"The width(%s) and height(%s) of chart should be greater than 0,\n       please check the style of container, or the props width(%s) and height(%s),\n       or add a minWidth(%s) or minHeight(%s) or use aspect(%s) to control the\n       height and width.",r,n,y,g,b,x,o);var a=!Array.isArray(O)&&(0,u.Mn)(O.type).endsWith("Chart");return i.Children.map(O,function(t){return i.isValidElement(t)?(0,i.cloneElement)(t,h({width:r,height:n},a?{style:h({height:"100%",width:"100%",maxHeight:n,maxWidth:r},t.props.style)}:{})):t})},[o,O,g,w,x,b,I,y]);return i.createElement("div",{id:E?"".concat(E):void 0,className:(0,n.A)("recharts-responsive-container",j),style:h(h({},void 0===T?{}:T),{},{width:y,height:g,minWidth:b,minHeight:x,maxHeight:w}),ref:M},B)})},83711:(t,e,r)=>{var n=r(13122),i=r(15473);t.exports=function(t,e){var r=i(t,e);return n(r)?r:void 0}},83979:t=>{t.exports=function(t){var e=null==t?0:t.length;return e?t[e-1]:void 0}},84464:(t,e,r)=>{var n=r(20963),i=Object.prototype.hasOwnProperty;t.exports=function(t,e,r,o,a,s){var l=1&r,u=n(t),c=u.length;if(c!=n(e).length&&!l)return!1;for(var f=c;f--;){var h=u[f];if(!(l?h in e:i.call(e,h)))return!1}var p=s.get(t),d=s.get(e);if(p&&d)return p==e&&d==t;var y=!0;s.set(t,e),s.set(e,t);for(var m=l;++f<c;){var g=t[h=u[f]],v=e[h];if(o)var b=l?o(v,g,h,e,t,s):o(g,v,h,t,e,s);if(!(void 0===b?g===v||a(g,v,r,o,s):b)){y=!1;break}m||(m="constructor"==h)}if(y&&!m){var x=t.constructor,w=e.constructor;x!=w&&"constructor"in t&&"constructor"in e&&!("function"==typeof x&&x instanceof x&&"function"==typeof w&&w instanceof w)&&(y=!1)}return s.delete(t),s.delete(e),y}},84760:t=>{t.exports=function(t,e,r){switch(r.length){case 0:return t.call(e);case 1:return t.call(e,r[0]);case 2:return t.call(e,r[0],r[1]);case 3:return t.call(e,r[0],r[1],r[2])}return t.apply(e,r)}},85090:(t,e,r)=>{var n=r(88748),i=r(6997),o=r(34210);function a(t){var e=-1,r=null==t?0:t.length;for(this.__data__=new n;++e<r;)this.add(t[e])}a.prototype.add=a.prototype.push=i,a.prototype.has=o,t.exports=a},85654:(t,e,r)=>{"use strict";function n(t){return function(){return t}}r.d(e,{A:()=>n})},85855:(t,e,r)=>{var n=r(16613);t.exports=function(t){return null==t?"":n(t)}},86216:(t,e,r)=>{t.exports=r(30716)()},86452:t=>{t.exports=function(t,e){return null!=t&&e in Object(t)}},86864:(t,e,r)=>{"use strict";let n,i,o,a;r.d(e,{P5:()=>tS,TT:()=>tA});var s=r(46235),l=r(10796),u=r(49887),c=r(56391),f=r(46984);let h="@firebase/installations",p="0.6.14",d=`w:${p}`,y="FIS_v2",m=new u.FA("installations","Installations",{"missing-app-config-values":'Missing App configuration value: "{$valueName}"',"not-registered":"Firebase Installation is not registered.","installation-not-found":"Firebase Installation not found.","request-failed":'{$requestName} request failed with error "{$serverCode} {$serverStatus}: {$serverMessage}"',"app-offline":"Could not process request. Application offline.","delete-pending-registration":"Can't delete installation while there is a pending registration request."});function g(t){return t instanceof u.g&&t.code.includes("request-failed")}function v({projectId:t}){return`https://firebaseinstallations.googleapis.com/v1/projects/${t}/installations`}
1function b(t){return{token:t.token,requestStatus:2,expiresIn:Number(t.expiresIn.replace("s","000")),creationTime:Date.now()}}async function x(t,e){let r=(await e.json()).error;return m.create("request-failed",{requestName:t,serverCode:r.code,serverMessage:r.message,serverStatus:r.status})}function w({apiKey:t}){return new Headers({"Content-Type":"application/json",Accept:"application/json","x-goog-api-key":t})}function O(t,{refreshToken:e}){var r;let n=w(t);return n.append("Authorization",(r=e,`${y} ${r}`)),n}async function S(t){let e=await t();return e.status>=500&&e.status<600?t():e}async function A({appConfig:t,heartbeatServiceProvider:e},{fid:r}){let n=v(t),i=w(t),o=e.getImmediate({optional:!0});if(o){let t=await o.getHeartbeatsHeader();t&&i.append("x-firebase-client",t)}let a={method:"POST",headers:i,body:JSON.stringify({fid:r,authVersion:y,appId:t.appId,sdkVersion:d})},s=await S(()=>fetch(n,a));if(s.ok){let t=await s.json();return{fid:t.fid||r,registrationStatus:2,refreshToken:t.refreshToken,authToken:b(t.authToken)}}throw await x("Create Installation",s)}function E(t){return new Promise(e=>{setTimeout(e,t)})}let j=/^[cdef][\w-]{21}$/;function P(t){return`${t.appName}!${t.appId}`}let T=new Map;function M(t,e){let r=P(t);k(r,e),function(t,e){let r=function(){return!C&&"BroadcastChannel"in self&&((C=new BroadcastChannel("[Firebase] FID Change")).onmessage=t=>{k(t.data.key,t.data.fid)}),C}();r&&r.postMessage({key:t,fid:e}),function(){0===T.size&&C&&(C.close(),C=null)}()}(r,e)}function k(t,e){let r=T.get(t);if(r)for(let t of r)t(e)}let C=null,I="firebase-installations-store",_=null;function D(){return _||(_=(0,f.P2)("firebase-installations-database",1,{upgrade:(t,e)=>{0===e&&t.createObjectStore(I)}})),_}async function B(t,e){let r=P(t),n=(await D()).transaction(I,"readwrite"),i=n.objectStore(I),o=await i.get(r);return await i.put(e,r),await n.done,o&&o.fid===e.fid||M(t,e.fid),e}async function R(t){let e=P(t),r=(await D()).transaction(I,"readwrite");await r.objectStore(I).delete(e),await r.done}async function N(t,e){let r=P(t),n=(await D()).transaction(I,"readwrite"),i=n.objectStore(I),o=await i.get(r),a=e(o);return void 0===a?await i.delete(r):await i.put(a,r),await n.done,a&&(!o||o.fid!==a.fid)&&M(t,a.fid),a}async function L(t){let e,r=await N(t.appConfig,r=>{let n=function(t,e){if(0===e.registrationStatus){if(!navigator.onLine)return{installationEntry:e,registrationPromise:Promise.reject(m.create("app-offline"))};let r={fid:e.fid,registrationStatus:1,registrationTime:Date.now()},n=U(t,r);return{installationEntry:r,registrationPromise:n}}return 1===e.registrationStatus?{installationEntry:e,registrationPromise:F(t)}:{installationEntry:e}}(t,$(r||{fid:function(){try{var t;let e=new Uint8Array(17);(self.crypto||self.msCrypto).getRandomValues(e),e[0]=112+e[0]%16;let r=(t=e,btoa(String.fromCharCode(...t)).replace(/\+/g,"-").replace(/\//g,"_").substr(0,22));return j.test(r)?r:""}catch(t){return""}}(),registrationStatus:0}));return e=n.registrationPromise,n.installationEntry});return""===r.fid?{installationEntry:await e}:{installationEntry:r,registrationPromise:e}}async function U(t,e){try{let r=await A(t,e);return B(t.appConfig,r)}catch(r){throw g(r)&&409===r.customData.serverCode?await R(t.appConfig):await B(t.appConfig,{fid:e.fid,registrationStatus:0}),r}}async function F(t){let e=await V(t.appConfig);for(;1===e.registrationStatus;)await E(100),e=await V(t.appConfig);if(0===e.registrationStatus){let{installationEntry:e,registrationPromise:r}=await L(t);return r||e}return e}function V(t){return N(t,t=>{if(!t)throw m.create("installation-not-found");return $(t)})}function $(t){var e;return 1===(e=t).registrationStatus&&e.registrationTime+1e4<Date.now()?{fid:t.fid,registrationStatus:0}:t}async function z({appConfig:t,heartbeatServiceProvider:e},r){let n=function(t,{fid:e}){return`${v(t)}/${e}/authTokens:generate`}(t,r),i=O(t,r),o=e.getImmediate({optional:!0});if(o){let t=await o.getHeartbeatsHeader();t&&i.append("x-firebase-client",t)}let a={method:"POST",headers:i,body:JSON.stringify({installation:{sdkVersion:d,appId:t.appId}})},s=await S(()=>fetch(n,a));if(s.ok)return b(await s.json());throw await x("Generate Auth Token",s)}async function W(t,e=!1){let r,n=await N(t.appConfig,n=>{var i;if(!K(n))throw m.create("not-registered");let o=n.authToken;if(!e&&2===(i=o).requestStatus&&!function(t){let e=Date.now();
1return e<t.creationTime||t.creationTime+t.expiresIn<e+36e5}(i))return n;if(1===o.requestStatus)return r=H(t,e),n;{if(!navigator.onLine)throw m.create("app-offline");let e=function(t){let e={requestStatus:1,requestTime:Date.now()};return Object.assign(Object.assign({},t),{authToken:e})}(n);return r=q(t,e),e}});return r?await r:n.authToken}async function H(t,e){let r=await X(t.appConfig);for(;1===r.authToken.requestStatus;)await E(100),r=await X(t.appConfig);let n=r.authToken;return 0===n.requestStatus?W(t,e):n}function X(t){return N(t,t=>{var e;if(!K(t))throw m.create("not-registered");return 1===(e=t.authToken).requestStatus&&e.requestTime+1e4<Date.now()?Object.assign(Object.assign({},t),{authToken:{requestStatus:0}}):t})}async function q(t,e){try{let r=await z(t,e),n=Object.assign(Object.assign({},e),{authToken:r});return await B(t.appConfig,n),r}catch(r){if(g(r)&&(401===r.customData.serverCode||404===r.customData.serverCode))await R(t.appConfig);else{let r=Object.assign(Object.assign({},e),{authToken:{requestStatus:0}});await B(t.appConfig,r)}throw r}}function K(t){return void 0!==t&&2===t.registrationStatus}async function Y(t){let{installationEntry:e,registrationPromise:r}=await L(t);return r?r.catch(console.error):W(t).catch(console.error),e.fid}async function G(t,e=!1){return await J(t),(await W(t,e)).token}async function J(t){let{registrationPromise:e}=await L(t);e&&await e}function Z(t){return m.create("missing-app-config-values",{valueName:t})}let Q="installations";(0,s.om)(new c.uA(Q,t=>{let e=t.getProvider("app").getImmediate(),r=function(t){if(!t||!t.options)throw Z("App Configuration");if(!t.name)throw Z("App Name");for(let e of["projectId","apiKey","appId"])if(!t.options[e])throw Z(e);return{appName:t.name,projectId:t.options.projectId,apiKey:t.options.apiKey,appId:t.options.appId}}(e),n=(0,s.j6)(e,"heartbeat");return{app:e,appConfig:r,heartbeatServiceProvider:n,_delete:()=>Promise.resolve()}},"PUBLIC")),(0,s.om)(new c.uA("installations-internal",t=>{let e=t.getProvider("app").getImmediate(),r=(0,s.j6)(e,Q).getImmediate();return{getId:()=>Y(r),getToken:t=>G(r,t)}},"PRIVATE")),(0,s.KO)(h,p),(0,s.KO)(h,p,"esm2017");let tt="analytics",te="https://www.googletagmanager.com/gtag/js",tr=new l.Vy("@firebase/analytics"),tn=new u.FA("analytics","Analytics",{"already-exists":"A Firebase Analytics instance with the appId {$id}  already exists. Only one Firebase Analytics instance can be created for each appId.","already-initialized":"initializeAnalytics() cannot be called again with different options than those it was initially called with. It can be called again with the same options to return the existing instance, or getAnalytics() can be used to get a reference to the already-initialized instance.","already-initialized-settings":"Firebase Analytics has already been initialized.settings() must be called before initializing any Analytics instanceor it will have no effect.","interop-component-reg-failed":"Firebase Analytics Interop Component failed to instantiate: {$reason}","invalid-analytics-context":"Firebase Analytics is not supported in this environment. Wrap initialization of analytics in analytics.isSupported() to prevent initialization in unsupported environments. Details: {$errorInfo}","indexeddb-unavailable":"IndexedDB unavailable or restricted in this environment. Wrap initialization of analytics in analytics.isSupported() to prevent initialization in unsupported environments. Details: {$errorInfo}","fetch-throttle":"The config fetch request timed out while in an exponential backoff state. Unix timestamp in milliseconds when fetch request throttling ends: {$throttleEndTimeMillis}.","config-fetch-failed":"Dynamic config fetch failed: [{$httpStatus}] {$responseMessage}","no-api-key":'The "apiKey" field is empty in the local Firebase config. Firebase Analytics requires this field tocontain a valid API key.',"no-app-id":'The "appId" field is empty in the local Firebase config. Firebase Analytics requires this field tocontain a valid app ID.',"no-client-id":'The "client_id" field is empty.',"invalid-gtag-resource":"Trusted Types detected an invali
1d gtag resource: {$gtagURL}."});function ti(t){if(!t.startsWith(te)){let e=tn.create("invalid-gtag-resource",{gtagURL:t});return tr.warn(e.message),""}return t}function to(t){return Promise.all(t.map(t=>t.catch(t=>t)))}async function ta(t,e,r,n,i,o){let a=n[i];try{if(a)await e[a];else{let t=(await to(r)).find(t=>t.measurementId===i);t&&await e[t.appId]}}catch(t){tr.error(t)}t("config",i,o)}async function ts(t,e,r,n,i){try{let o=[];if(i&&i.send_to){let t=i.send_to;Array.isArray(t)||(t=[t]);let n=await to(r);for(let r of t){let t=n.find(t=>t.measurementId===r),i=t&&e[t.appId];if(i)o.push(i);else{o=[];break}}}0===o.length&&(o=Object.values(e)),await Promise.all(o),t("event",n,i||{})}catch(t){tr.error(t)}}class tl{constructor(t={},e=1e3){this.throttleMetadata=t,this.intervalMillis=e}getThrottleMetadata(t){return this.throttleMetadata[t]}setThrottleMetadata(t,e){this.throttleMetadata[t]=e}deleteThrottleMetadata(t){delete this.throttleMetadata[t]}}let tu=new tl;async function tc(t){var e;let{appId:r,apiKey:n}=t,i={method:"GET",headers:new Headers({Accept:"application/json","x-goog-api-key":n})},o="https://firebase.googleapis.com/v1alpha/projects/-/apps/{app-id}/webConfig".replace("{app-id}",r),a=await fetch(o,i);if(200!==a.status&&304!==a.status){let t="";try{let r=await a.json();(null==(e=r.error)?void 0:e.message)&&(t=r.error.message)}catch(t){}throw tn.create("config-fetch-failed",{httpStatus:a.status,responseMessage:t})}return a.json()}async function tf(t,e=tu,r){let{appId:n,apiKey:i,measurementId:o}=t.options;if(!n)throw tn.create("no-app-id");if(!i){if(o)return{measurementId:o,appId:n};throw tn.create("no-api-key")}let a=e.getThrottleMetadata(n)||{backoffCount:0,throttleEndTimeMillis:Date.now()},s=new tp;return setTimeout(async()=>{s.abort()},void 0!==r?r:6e4),th({appId:n,apiKey:i,measurementId:o},a,s,e)}async function th(t,{throttleEndTimeMillis:e,backoffCount:r},n,i=tu){var o,a,s;let{appId:l,measurementId:c}=t;try{await (a=n,s=e,new Promise((t,e)=>{let r=setTimeout(t,Math.max(s-Date.now(),0));a.addEventListener(()=>{clearTimeout(r),e(tn.create("fetch-throttle",{throttleEndTimeMillis:s}))})}))}catch(t){if(c)return tr.warn(`Timed out fetching this Firebase app's measurement ID from the server. Falling back to the measurement ID ${c} provided in the "measurementId" field in the local Firebase config. [${null==t?void 0:t.message}]`),{appId:l,measurementId:c};throw t}try{let e=await tc(t);return i.deleteThrottleMetadata(l),e}catch(s){if(!function(t){if(!(t instanceof u.g)||!t.customData)return!1;let e=Number(t.customData.httpStatus);return 429===e||500===e||503===e||504===e}(s)){if(i.deleteThrottleMetadata(l),c)return tr.warn(`Failed to fetch this Firebase app's measurement ID from the server. Falling back to the measurement ID ${c} provided in the "measurementId" field in the local Firebase config. [${null==s?void 0:s.message}]`),{appId:l,measurementId:c};throw s}let e=503===Number(null==(o=null==s?void 0:s.customData)?void 0:o.httpStatus)?(0,u.p9)(r,i.intervalMillis,30):(0,u.p9)(r,i.intervalMillis),a={throttleEndTimeMillis:Date.now()+e,backoffCount:r+1};return i.setThrottleMetadata(l,a),tr.debug(`Calling attemptFetch again in ${e} millis`),th(t,a,n,i)}}class tp{constructor(){this.listeners=[]}addEventListener(t){this.listeners.push(t)}abort(){this.listeners.forEach(t=>t())}}async function td(t,e,r,n,i){if(i&&i.global)return void t("event",r,n);{let i=await e;t("event",r,Object.assign(Object.assign({},n),{send_to:i}))}}async function ty(){if(!(0,u.zW)())return tr.warn(tn.create("indexeddb-unavailable",{errorInfo:"IndexedDB is not available in this environment."}).message),!1;try{await (0,u.eX)()}catch(t){return tr.warn(tn.create("indexeddb-unavailable",{errorInfo:null==t?void 0:t.toString()}).message),!1}return!0}async function tm(t,e,r,o,a,s,l){var u;let c=tf(t);c.then(e=>{r[e.measurementId]=e.appId,t.options.measurementId&&e.measurementId!==t.options.measurementId&&tr.warn(`The measurement ID in the local Firebase config (${t.options.measurementId}) does not match the measurement ID fetched from the server (${e.measurementId}). To ensure analytics events are always sent to the correct Analytics property, update the measurement ID field in the local config or remove it from the local config.`)}).catch(t=>tr.error(t)),e.push(c);let f=ty().then(t=>t?o.getId():void 0),[h,p]=await Promise.all([c,f]);!function(t){for(let e of Object.values(window.document.getElementsByTagName("script")))if(e.src&&e.src.includes(te)&&e.src.includes(t))return e;return null}(s)&&function(t,e){var r,n;let i,o=(r="firebase-js-sdk-policy",n={createScriptURL:ti},window.trustedTypes&&(i=window.trustedTypes.createPolicy(r,n)),i),a=document.createElement("script"),s=`${te}?l=${t}&id=${e}`;a.src=o?null==o?void 0:o.createScriptURL(s):s,a.async=!0,document.head.appendChild(a)}(s,h.measurementId),i&&(a("consent","default",i),i=void 0),a("js",new Date);let d=null!=(u=null==l?void 0:l.config)?u:{};return d.origin="firebase",d.update=!0,null!=p&&(d.firebase_id=p),a("config",h.measurementId,d),n&&(a("set",n),n=void 0),h.measurementId}class tg{constructor(t){this.app=t}_delete(){return delete tv[this.app.options.appId],Promise.resolve()}}let tv={},tb=[],tx={},tw="dataLayer",tO=!1;function tS(t=(0,s.Sx)()){t=(0,u.Ku)(t);let e=(0,s.j6)(t,tt);return e.isInitialized()?e.getImmediate():function(t,e={}){let r=(0,s.j6)(t,tt);if(r.isInitialized()){let t=r.getImmediate();if((0,u.bD)(e,r.getOptions()))return t;throw tn.create("already-initialized")}return r.initialize({options:e})}(t)}async function tA(){if((0,u.sr)()||!(0,u.dM)()||!(0,u.zW)())return!1;try{return await (0,u.eX)()}catch(t){return!1}}let tE="@firebase/analytics",tj="0.10.13";(0,s.om)(new c.uA(tt,(t,{options:e})=>(function(t,e,r){let n=[];if((0,u.sr)()&&n.push("This is a browser extension environment."),(0,u.dM)()||n.push("Cookies are not available."),n.length>0){let t=n.map((t,e)=>`(${e+1}) ${t}`).join(" "),e=tn.create("invalid-analytics-context",{errorInfo:t});tr.warn(e.message)}let i=t.options.appId;if(!i)throw tn.create("no-app-id");if(!t.options.apiKey)if(t.options.measurementId)tr.warn(`The "apiKey" field is empty in the local Firebase config. This is needed to fetch the latest measurement ID for this Firebase app. Falling back to the measurement ID ${t.options.measurementId} provided in the "measurementId" field in the local Firebase config.`);else throw tn.create("no-api-key");if(null!=tv[i])throw tn.create("already-exists",{id:i});if(!tO){var s,l;let t,e;t=[],Array.isArray(window[tw])?t=window[tw]:window[tw]=t;let{wrappedGtag:r,gtagCore:n}=(s="gtag",e=function(...t){window[tw].push(arguments)},window[s]&&"function"==typeof window[s]&&(e=window[s]),window[s]=(l=e,async function(t,...e){try{if("event"===t){let[t,r]=e;await ts(l,tv,tb,t,r)}else if("config"===t){let[t,r]=e;await ta(l,tv,tb,tx,t,r)}else if("consent"===t){let[t,r]=e;l("consent",t,r)}else if("get"===t){let[t,r,n]=e;l("get",t,r,n)}else if("set"===t){let[t]=e;l("set",t)}else l(t,...e)}catch(t){tr.error(t)}}),{gtagCore:e,wrappedGtag:window[s]});a=r,o=n,tO=!0}return tv[i]=tm(t,tb,tx,e,o,tw,r),new tg(t)})(t.getProvider("app").getImmediate(),t.getProvider("installations-internal").getImmediate(),e),"PUBLIC")),(0,s.om)(new c.uA("analytics-internal",function(t){try{let e=t.getProvider(tt).getImmediate();return{logEvent:(t,r,n)=>{var i;return i=e,void(i=(0,u.Ku)(i),td(a,tv[i.app.options.appId],t,r,n).catch(t=>tr.error(t)))}}}catch(t){throw tn.create("interop-component-reg-failed",{reason:t})}},"PRIVATE")),(0,s.KO)(tE,tj),(0,s.KO)(tE,tj,"esm2017")},88748:(t,e,r)=>{var n=r(10537),i=r(94999),o=r(74544),a=r(73956),s=r(5516);function l(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}l.prototype.clear=n,l.prototype.delete=i,l.prototype.get=o,l.prototype.has=a,l.prototype.set=s,t.exp
1orts=l},89053:(t,e,r)=>{var n=r(58918),i=r(52521),o=r(13465);t.exports=function(t){return t&&t.length?n(t,o,i):void 0}},89316:(t,e,r)=>{var n=r(98233),i=r(15631),o=r(48611),a={};a["[object Float32Array]"]=a["[object Float64Array]"]=a["[object Int8Array]"]=a["[object Int16Array]"]=a["[object Int32Array]"]=a["[object Uint8Array]"]=a["[object Uint8ClampedArray]"]=a["[object Uint16Array]"]=a["[object Uint32Array]"]=!0,a["[object Arguments]"]=a["[object Array]"]=a["[object ArrayBuffer]"]=a["[object Boolean]"]=a["[object DataView]"]=a["[object Date]"]=a["[object Error]"]=a["[object Function]"]=a["[object Map]"]=a["[object Number]"]=a["[object Object]"]=a["[object RegExp]"]=a["[object Set]"]=a["[object String]"]=a["[object WeakMap]"]=!1,t.exports=function(t){return o(t)&&i(t.length)&&!!a[n(t)]}},90453:(t,e,r)=>{var n=r(31598);t.exports=function(){this.__data__=new n,this.size=0}},90724:t=>{t.exports=function(t){var e=-1,r=Array(t.size);return t.forEach(function(t,n){r[++e]=[n,t]}),r}},90929:(t,e,r)=>{var n=r(54360),i=Array.prototype.splice;t.exports=function(t){var e=this.__data__,r=n(e,t);return!(r<0)&&(r==e.length-1?e.pop():i.call(e,r,1),--this.size,!0)}},91113:(t,e,r)=>{var n=r(88748);function i(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw TypeError("Expected a function");var r=function(){var n=arguments,i=e?e.apply(this,n):n[0],o=r.cache;if(o.has(i))return o.get(i);var a=t.apply(this,n);return r.cache=o.set(i,a)||o,a};return r.cache=new(i.Cache||n),r}
1i.Cache=n,t.exports=i},91569:t=>{t.exports=function(t,e){for(var r=-1,n=e.length,i=t.length;++r<n;)t[i+r]=e[r];return t}},91959:(t,e,r)=>{var n=r(45964),i=r(67460);t.exports=function(t,e,r){var o=!0,a=!0;if("function"!=typeof t)throw TypeError("Expected a function");return i(r)&&(o="leading"in r?!!r.leading:o,a="trailing"in r?!!r.trailing:a),n(t,e,{leading:o,maxWait:e,trailing:a})}},92313:t=>{t.exports=function(t,e){for(var r=-1,n=null==t?0:t.length;++r<n;)if(e(t[r],r,t))return!0;return!1}},92972:t=>{t.exports=function(t,e){return function(r){return null!=r&&r[t]===e&&(void 0!==e||t in Object(r))}}},93179:(t,e,r)=>{"use strict";r.d(e,{A:()=>n});function n(t,e){if(!t)throw Error("Invariant failed")}},93294:(t,e,r)=>{var n=r(34711);t.exports=function(t){return function(e){return n(e,t)}}},94356:(t,e,r)=>{var n=r(70771),i=1/0;t.exports=function(t){if("string"==typeof t||n(t))return t;var e=t+"";return"0"==e&&1/t==-i?"-0":e}},94380:(t,e,r)=>{var n=r(44101),i=r(18686),o=r(66373),a=r(38008),s=r(40382),l=r(98233),u=r(7512),c="[object Map]",f="[object Promise]",h="[object Set]",p="[object WeakMap]",d="[object DataView]",y=u(n),m=u(i),g=u(o),v=u(a),b=u(s),x=l;(n&&x(new n(new ArrayBuffer(1)))!=d||i&&x(new i)!=c||o&&x(o.resolve())!=f||a&&x(new a)!=h||s&&x(new s)!=p)&&(x=function(t){var e=l(t),r="[object Object]"==e?t.constructor:void 0,n=r?u(r):"";if(n)switch(n){case y:return d;case m:return c;case g:return f;case v:return h;case b:return p}return e}),t.exports=x},94517:(t,e,r)=>{"use strict";r.d(e,{m:()=>$});var n=r(12115),i=r(67206),o=r.n(i),a=r(59882),s=r.n(a),l=r(35796),u=r(16377);function c(t){return(c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function f(){return(f=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}function h(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function p(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function d(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?p(Object(r),!0).forEach(function(e){var n,i,o;n=t,i=e,o=r[e],(i=function(t){var e=function(t,e){if("object"!=c(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=c(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==c(e)?e:e+""}(i))in n?Object.defineProperty(n,i,{value:o,enumerable:!0,configurable:!0,writable:!0}):n[i]=o}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):p(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function y(t){return Array.isArray(t)&&(0,u.vh)(t[0])&&(0,u.vh)(t[1])?t.join(" ~ "):t}var m=function(t){var e=t.separator,r=void 0===e?" : ":e,i=t.contentStyle,a=t.itemStyle,c=void 0===a?{}:a,p=t.labelStyle,m=t.payload,g=t.formatter,v=t.itemSorter,b=t.wrapperClassName,x=t.labelClassName,w=t.label,O=t.labelFormatter,S=t.accessibilityLayer,A=d({margin:0,padding:10,backgroundColor:"#fff",border:"1px solid #ccc",whiteSpace:"nowrap"},void 0===i?{}:i),E=d({margin:0},void 0===p?{}:p),j=!s()(w),P=j?w:"",T=(0,l.A)("recharts-default-tooltip",b),M=(0,l.A)("recharts-tooltip-label",x);return j&&O&&null!=m&&(P=O(w,m)),n.createElement("div",f({className:T,style:A},void 0!==S&&S?{role:"status","aria-live":"assertive"}:{}),n.createElement("p",{className:M,style:E},n.isValidElement(P)?P:"".concat(P)),function(){if(m&&m.length){var t=(v?o()(m,v):m).map(function(t,e){if("none"===t.type)return null;var i=d({display:"block",paddingTop:4,paddingBottom:4,color:t.color||"#000"},c),o=t.formatter||g||y,a=t.value,s=t.name,l=a,f=s;if(o&&null!=l&&null!=f){var p=o(a,s,t,e,m);if(Array.isArray(p)){var v=function(t){if(Array.isArray(t))return t}(p)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,i,o,a,s=[],l=!0,u=!1;try{o=(r=r.call(t)).next,!1;for(;!(l=(n=o.call(r)).done)&&(s.push(n.value),s.length!==e);l=!0);}catch(t){u=!0,i=t}
1finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(u)throw i}}return s}}(p,2)||function(t,e){if(t){if("string"==typeof t)return h(t,2);var r=Object.prototype.toString.call(t).slice(8,-1);if("Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return h(t,e)}}(p,2)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}();l=v[0],f=v[1]}else l=p}return n.createElement("li",{className:"recharts-tooltip-item",key:"tooltip-item-".concat(e),style:i},(0,u.vh)(f)?n.createElement("span",{className:"recharts-tooltip-item-name"},f):null,(0,u.vh)(f)?n.createElement("span",{className:"recharts-tooltip-item-separator"},r):null,n.createElement("span",{className:"recharts-tooltip-item-value"},l),n.createElement("span",{className:"recharts-tooltip-item-unit"},t.unit||""))});return n.createElement("ul",{className:"recharts-tooltip-item-list",style:{padding:0,margin:0}},t)}return null}())};function g(t){return(g="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function v(t,e,r){var n;return(n=function(t,e){if("object"!=g(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=g(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(e,"string"),(e="symbol"==g(n)?n:n+"")in t)?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var b="recharts-tooltip-wrapper",x={visibility:"hidden"};function w(t){var e=t.allowEscapeViewBox,r=t.coordinate,n=t.key,i=t.offsetTopLeft,o=t.position,a=t.reverseDirection,s=t.tooltipDimension,l=t.viewBox,c=t.viewBoxDimension;if(o&&(0,u.Et)(o[n]))return o[n];var f=r[n]-s-i,h=r[n]+i;return e[n]?a[n]?f:h:a[n]?f<l[n]?Math.max(h,l[n]):Math.max(f,l[n]):h+s>l[n]+c?Math.max(f,l[n]):Math.max(h,l[n])}function O(t){return(O="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function S(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function A(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?S(Object(r),!0).forEach(function(e){T(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):S(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function E(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(E=function(){return!!t})()}function j(t){return(j=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function P(t,e){return(P=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function T(t,e,r){return(e=M(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function M(t){var e=function(t,e){if("object"!=O(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=O(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==O(e)?e:e+""}var k=function(t){var e;function r(){var t,e,n;if(!(this instanceof r))throw TypeError("Cannot call a class as a function");for(var i=arguments.length,o=Array(i),a=0;a<i;a++)o[a]=arguments[a];return e=r,n=[].concat(o),e=j(e),T(t=function(t,e){if(e&&("object"===O(e)||"function"==typeof e))return e;if(void 0!==e)throw TypeError("Derived constructors may only return object or undefined");var r=t;if(void 0===r)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return r}(this,E()?Reflect.construct(e,n||[],j(this).constructor):e.apply(this,n)),"state",{dismissed:!1,dismissedAtCoordinate:{x:0,y:0},lastBoundingBox:{width:-1,height:-1}}),T(t,"handleKeyDown",function(e){if("Escape"===e.key){var r,n,i,o;t.setState({dismissed:!0,dismissedAtCoordinate:{x:null!=(r=null==(n=t.props.coordinate)?void 0:n.x)?r:0,y:null!=(i=null==(o=t.props.coordinate)?void 0:o.y)?i:0}})}}),t}if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");return r.prototype=Object.create(t&&t.prototype,{constructor:{value:r,writable:!0,configurable:!0}}),Object.defineProperty(r,"prototype",{writable:!1}),t&&P(r,t),e=[{key:"updateBBox",value:function(){if(this.wrapperNode&&this.wrapperNode.getBoundingClientRect){var t=this.wrapperNode.getBoundingClientRect();(Math.abs(t.width-this.state.lastBoundingBox.width)>1||Math.abs(t.height-this.state.lastBoundingBox.height)>1)&&this.setState({lastBoundingBox:{width:t.width,height:t.height}})}else(-1!==this.state.lastBoundingBox.width||-1!==this.state.lastBoundingBox.height)&&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 t,e;this.props.active&&this.updateBBox(),this.state.dismissed&&((null==(t=this.props.coordinate)?void 0:t.x)!==this.state.dismissedAtCoordinate.x||(null==(e=this.props.coordinate)?void 0:e.y)!==this.state.dismissedAtCoordinate.y)&&(this.state.dismissed=!1)}},{key:"render",value:function(){var t,e,r,i,o,a,s,c,f,h,p,d,y,m,g,O,S,E,j,P=this,T=this.props,M=T.active,k=T.allowEscapeViewBox,C=T.animationDuration,I=T.animationEasing,_=T.children,D=T.coordinate,B=T.hasPayload,R=T.isAnimationActive,N=T.offset,L=T.position,U=T.reverseDirection,F=T.useTranslate3d,V=T.viewBox,$=T.wrapperStyle,z=(d=(t={allowEscapeViewBox:k,coordinate:D,offsetTopLeft:N,position:L,reverseDirection:U,tooltipBox:this.state.lastBoundingBox,useTranslate3d:F,viewBox:V}).allowEscapeViewBox,y=t.coordinate,m=t.offsetTopLeft,g=t.position,O=t.reverseDirection,S=t.tooltipBox,E=t.useTranslate3d,j=t.viewBox,S.height>0&&S.width>0&&y?(r=(e={translateX:h=w({allowEscapeViewBox:d,coordinate:y,key:"x",offsetTopLeft:m,position:g,reverseDirection:O,tooltipDimension:S.width,viewBox:j,viewBoxDimension:j.width}),translateY:p=w({allowEscapeViewBox:d,coordinate:y,key:"y",offsetTopLeft:m,position:g,reverseDirection:O,tooltipDimension:S.height,viewBox:j,viewBoxDimension:j.height}),useTranslate3d:E}).translateX,i=e.translateY,f={transform:e.useTranslate3d?"translate3d(".concat(r,"px, ").concat(i,"px, 0)"):"translate(".concat(r,"px, ").concat(i,"px)")}
1):f=x,{cssProperties:f,cssClasses:(a=(o={translateX:h,translateY:p,coordinate:y}).coordinate,s=o.translateX,c=o.translateY,(0,l.A)(b,v(v(v(v({},"".concat(b,"-right"),(0,u.Et)(s)&&a&&(0,u.Et)(a.x)&&s>=a.x),"".concat(b,"-left"),(0,u.Et)(s)&&a&&(0,u.Et)(a.x)&&s<a.x),"".concat(b,"-bottom"),(0,u.Et)(c)&&a&&(0,u.Et)(a.y)&&c>=a.y),"".concat(b,"-top"),(0,u.Et)(c)&&a&&(0,u.Et)(a.y)&&c<a.y)))}),W=z.cssClasses,H=z.cssProperties,X=A(A({transition:R&&M?"transform ".concat(C,"ms ").concat(I):void 0},H),{},{pointerEvents:"none",visibility:!this.state.dismissed&&M&&B?"visible":"hidden",position:"absolute",top:0,left:0},$);return n.createElement("div",{tabIndex:-1,className:W,style:X,ref:function(t){P.wrapperNode=t}},_)}}],function(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,M(n.key),n)}}(r.prototype,e),Object.defineProperty(r,"prototype",{writable:!1}),r}(n.PureComponent),C=r(41643),I=r(2494);function _(t){return(_="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function D(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function B(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?D(Object(r),!0).forEach(function(e){U(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):D(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function R(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(R=function(){return!!t})()}function N(t){return(N=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function L(t,e){return(L=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function U(t,e,r){return(e=F(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function F(t){var e=function(t,e){if("object"!=_(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=_(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==_(e)?e:e+""}function V(t){return t.dataKey}var $=function(t){var e;function r(){var t,e;if(!(this instanceof r))throw TypeError("Cannot call a class as a function");return t=r,e=arguments,t=N(t),function(t,e){if(e&&("object"===_(e)||"function"==typeof e))return e;if(void 0!==e)throw TypeError("Derived constructors may only return object or undefined");var r=t;if(void 0===r)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return r}(this,R()?Reflect.construct(t,e||[],N(this).constructor):t.apply(this,e))}if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");return r.prototype=Object.create(t&&t.prototype,{constructor:{value:r,writable:!0,configurable:!0}}),Object.defineProperty(r,"prototype",{writable:!1}),t&&L(r,t),e=[{key:"render",value:function(){var t,e=this,r=this.props,i=r.active,o=r.allowEscapeViewBox,a=r.animationDuration,s=r.animationEasing,l=r.content,u=r.coordinate,c=r.filterNull,f=r.isAnimationActive,h=r.offset,p=r.payload,d=r.payloadUniqBy,y=r.position,g=r.reverseDirection,v=r.useTranslate3d,b=r.viewBox,x=r.wrapperStyle,w=null!=p?p:[];c&&w.length&&(w=(0,I.s)(p.filter(function(t){return null!=t.value&&(!0!==t.hide||e.props.includeHidden)}),d,V));var O=w.length>0;return n.createElement(k,{allowEscapeViewBox:o,animationDuration:a,animationEasing:s,isAnimationActive:f,active:i,coordinate:u,hasPayload:O,offset:h,position:y,reverseDirection:g,useTranslate3d:v,viewBox:b,wrapperStyle:x},(t=B(B({},this.props),{},{payload:w}),n.isValidElement(l)?n.cloneElement(l,t):"function"==typeof l?n.createElement(l,t):n.createElement(m,t)))}}],function(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,F(n.key),n)}}(r.prototype,e),Object.defineProperty(r,"prototype",{writable:!1}),r}(n.PureComponent);U($,"displayName","Tooltip"),U($,"defaultProps",{accessibilityLayer:!1,allowEscapeViewBox:{x:!1,y:!1},animationDuration:400,animationEasing:"ease",contentStyle:{},coordinate:{x:0,y:0},cursor:!0,cursorStyle:{},filterNull:!0,isAnimationActive:!C.m.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:{}})},94788:(t,e,r)=>{"use strict";r.d(e,{A:()=>n});let n=(0,r(19946).A)("circle-help",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3",key:"1u773s"}],["path",{d:"M12 17h.01",key:"p32p05"}]])},94999:(t,e,r)=>{var n=r(5658);t.exports=function(t){var e=n(this,t).delete(t);return this.size-=!!e,e}},95442:(t,e,r)=>{"use strict";r.d(e,{A:()=>function t(){var e=new n,r=[],i=[],o=s;function l(t){let n=e.get(t);if(void 0===n){if(o!==s)return o;e.set(t,n=r.push(t)-1)}return i[n%i.length]}return l.domain=function(t){if(!arguments.length)return r.slice();for(let i of(r=[],e=new n,t))e.has(i)||e.set(i,r.push(i)-1);return l},l.range=function(t){return arguments.length?(i=Array.from(t),l):i.slice()},l.unknown=function(t){return arguments.length?(o=t,l):o},l.copy=function(){return t(r,i).unknown(o)},a.C.apply(l,arguments),l},h:()=>s});
1class n extends Map{constructor(t,e=o){if(super(),Object.defineProperties(this,{_intern:{value:new Map},_key:{value:e}}),null!=t)for(let[e,r]of t)this.set(e,r)}get(t){return super.get(i(this,t))}has(t){return super.has(i(this,t))}set(t,e){return super.set(function({_intern:t,_key:e},r){let n=e(r);return t.has(n)?t.get(n):(t.set(n,r),r)}(this,t),e)}delete(t){return super.delete(function({_intern:t,_key:e},r){let n=e(r);return t.has(n)&&(r=t.get(n),t.delete(n)),r}(this,t))}}function i({_intern:t,_key:e},r){let n=e(r);return t.has(n)?t.get(n):r}function o(t){return null!==t&&"object"==typeof t?t.valueOf():t}var a=r(28749);let s=Symbol("implicit")},96294:t=>{var e=Object.prototype;t.exports=function(t){var r=t&&t.constructor;return t===("function"==typeof r&&r.prototype||e)}},96540:(t,e,r)=>{var n=r(31545),i=r(26151),o=r(53696),a=r(13364),s=r(20988);function l(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}l.prototype.clear=n,l.prototype.delete=i,l.prototype.get=o,l.prototype.has=a,l.prototype.set=s,t.exports=l},96548:t=>{t.exports=function(t){return function(e){return null==e?void 0:e[t]}}},96699:(t,e,r)=>{var n=r(51911),i=r(48973),o=r(20134),a=r(79595),s=r(32197),l=r(92972),u=r(94356);t.exports=function(t,e){return a(t)&&s(e)?l(u(t),e):function(r){var a=i(r,t);return void 0===a&&a===e?o(r,t):n(e,a,3)}}},97124:(t,e,r)=>{t.exports=r(75031)(r(62464))},98233:(t,e,r)=>{var n=r(24376),i=r(20570),o=r(64439),a=n?n.toStringTag:void 0;t.exports=function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":a&&a in Object(t)?i(t):o(t)}},99544:t=>{var e=/^(?:0|[1-9]\d*)$/;t.exports=function(t,r){var n=typeof t;return!!(r=null==r?0x1fffffffffffff:r)&&("number"==n||"symbol"!=n&&e.test(t))&&t>-1&&t%1==0&&t<r}}}]);

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.