File: //srv/htdocs/wp-content/plugins/jetpack/_inc/build/newsletter-widget.js
/*! For license information please see newsletter-widget.js.LICENSE.txt */
(()=>{var e={7893(e){function t(e,t,i){e instanceof RegExp&&(e=n(e,i)),t instanceof RegExp&&(t=n(t,i));var o=r(e,t,i);return o&&{start:o[0],end:o[1],pre:i.slice(0,o[0]),body:i.slice(o[0]+e.length,o[1]),post:i.slice(o[1]+t.length)}}function n(e,t){var n=t.match(e);return n?n[0]:null}function r(e,t,n){var r,i,o,s,a,c=n.indexOf(e),u=n.indexOf(t,c+1),l=c;if(c>=0&&u>0){for(r=[],o=n.length;l>=0&&!a;)l==c?(r.push(l),c=n.indexOf(e,l+1)):1==r.length?a=[r.pop(),u]:((i=r.pop())<o&&(o=i,s=u),u=n.indexOf(t,l+1)),l=c<u&&c>=0?c:u;r.length&&(a=[o,s])}return a}e.exports=t,t.range=r},274(e){"use strict";function t(e,t,i){e instanceof RegExp&&(e=n(e,i)),t instanceof RegExp&&(t=n(t,i));var o=r(e,t,i);return o&&{start:o[0],end:o[1],pre:i.slice(0,o[0]),body:i.slice(o[0]+e.length,o[1]),post:i.slice(o[1]+t.length)}}function n(e,t){var n=t.match(e);return n?n[0]:null}function r(e,t,n){var r,i,o,s,a,c=n.indexOf(e),u=n.indexOf(t,c+1),l=c;if(c>=0&&u>0){if(e===t)return[c,u];for(r=[],o=n.length;l>=0&&!a;)l==c?(r.push(l),c=n.indexOf(e,l+1)):1==r.length?a=[r.pop(),u]:((i=r.pop())<o&&(o=i,s=u),u=n.indexOf(t,l+1)),l=c<u&&c>=0?c:u;r.length&&(a=[o,s])}return a}e.exports=t,t.range=r},1028(e,t){!function(e){"use strict";function t(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function n(){return n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},n.apply(this,arguments)}function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function i(e){for(var n=1;n<arguments.length;n++){var i=null!=arguments[n]?arguments[n]:{};n%2?r(Object(i),!0).forEach(function(n){t(e,n,i[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(i)):r(Object(i)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(i,t))})}return e}function o(e,t){if(e){if("string"==typeof e)return s(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?s(e,t):void 0}}function s(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function a(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=o(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var s,a=!0,c=!1;return{s:function(){n=e[Symbol.iterator]()},n:function(){var e=n.next();return a=e.done,e},e:function(e){c=!0,s=e},f:function(){try{a||null==n.return||n.return()}finally{if(c)throw s}}}}function c(e,t){var n=[],r=[];function i(e,t){if(1===e.length)n.push(e[0]),r.push(e[0]);else{for(var o=Array(e.length-1),s=0;s<o.length;s++)0===s&&n.push(e[0]),s===o.length-1&&r.push(e[s+1]),o[s]=[(1-t)*e[s][0]+t*e[s+1][0],(1-t)*e[s][1]+t*e[s+1][1]];i(o,t)}}return e.length&&i(e,t),{left:n,right:r.reverse()}}function u(e){var t={};return 4===e.length&&(t.x2=e[2][0],t.y2=e[2][1]),e.length>=3&&(t.x1=e[1][0],t.y1=e[1][1]),t.x=e[e.length-1][0],t.y=e[e.length-1][1],4===e.length?t.type="C":3===e.length?t.type="Q":t.type="L",t}function l(e,t){for(var n=[],r=e,i=1/(t=t||2),o=0;o<t-1;o++){var s=c(r,i/(1-i*o));n.push(s.left),r=s.right}return n.push(r),n}function d(e,t,n){var r=[[e.x,e.y]];return null!=t.x1&&r.push([t.x1,t.y1]),null!=t.x2&&r.push([t.x2,t.y2]),r.push([t.x,t.y]),l(r,n).map(u)}var h=/[MLCSTQAHVZmlcstqahv]|-?[\d.e+-]+/g,f={M:["x","y"],L:["x","y"],H:["x"],V:["y"],C:["x1","y1","x2","y2","x","y"],S:["x2","y2","x","y"],Q:["x1","y1","x","y"],T:["x","y"],A:["rx","ry","xAxisRotation","largeArcFlag","sweepFlag","x","y"],Z:[]};function p(e,t){for(var n=Array(e),r=0;r<e;r++)n[r]=t;return n}function g(e){return"".concat(e.type).concat(f[e.type].map(function(t){return e[t]}).join(","))}function m(e,t){var n={x1:"x",y1:"y",x2:"x",y2:"y"},r=["xAxisRotation","largeArcFlag","sweepFlag"];if(e.type!==t.type&&"M"!==t.type.toUpperCase()){var i={};Object.keys(t).forEach(function(o){var s=t[o],a=e[o];void 0===a&&(r.includes(o)?a=s:(void 0===a&&n[o]&&(a=e[n[o]]),void 0===a&&(a=0))),i[o]=a}),i.type=t.type,e=i}return e}function y(e,t,r){var i=[];if("L"===t.type||"Q"===t.type||"C"===t.type)i=i.concat(d(e,t,r));else{var o=n({},e);"M"===o.type&&(o.type="L"),(i=i.concat(p(r-1).map(function(){return o}))).push(t)}return i}function v(e,t,r){var i=e.length-1,o=t.length-1,s=i/o,a=p(o).reduce(function(t,n,i){var o=Math.floor(s*i);if(r&&o<e.length-1&&r(e[o],e[o+1])){var a=s*i%1<.5;t[o]&&(a?o>0?o-=1:o<e.length-1&&(o+=1):o<e.length-1?o+=1:o>0&&(o-=1))}return t[o]=(t[o]||0)+1,t},[]).reduce(function(t,r,i){if(i===e.length-1){var o=p(r,n({},e[e.length-1]));return"M"===o[0].type&&o.forEach(function(e){e.type="L"}),t.concat(o)}return t.concat(y(e[i],e[i+1],r))},[]);return a.unshift(e[0]),a}function w(e){for(var t,n,r=(e||"").match(h)||[],i=[],o=0;o<r.length;++o)if(t=f[r[o]]){n={type:r[o]};for(var s=0;s<t.length;++s)n[t[s]]=+r[o+s+1];o+=t.length,i.push(n)}return i}function b(e,t,n){var r=null==e?[]:e.slice(),o=null==t?[]:t.slice();if(!r.length&&!o.length)return function(){return[]};var s=!(0!==r.length&&"Z"!==r[r.length-1].type||0!==o.length&&"Z"!==o[o.length-1].type);r.length>0&&"Z"===r[r.length-1].type&&r.pop(),o.length>0&&"Z"===o[o.length-1].type&&o.pop(),r.length?o.length||o.push(r[0]):r.push(o[0]),0!==Math.abs(o.length-r.length)&&(o.length>r.length?r=v(r,o,n):o.length<r.length&&(o=v(o,r,n)));var c=(r=r.map(function(e,t){return m(e,o[t])})).map(function(e){return i({},e)});return s&&c.push({type:"Z"}),function(e){if(1===e)return t??[];if(e>0)for(var n=0;n<c.length;++n){var i,s=r[n],u=o[n],l=c[n],d=a(f[l.type]);try{for(d.s();!(i=d.n()).done;){var h=i.value;l[h]=(1-e)*s[h]+e*u[h],"largeArcFlag"!==h&&"sweepFlag"!==h||(l[h]=Math.round(l[h]))}}catch(e){d.e(e)}finally{d.f()}}return c}}function A(e,t,n){var r=w(e),i=w(t);if(!r.length&&!i.length)return function(){return""};var o=b(r,i,n);return function(e){if(1===e)return t??"";var n,r="",i=a(o(e));try{for(i.s();!(n=i.n()).done;)r+=g(n.value)}catch(e){i.e(e)}finally{i.f()}return r}}Object.keys(f).forEach(function(e){f[e.toLowerCase()]=f[e]}),e.interpolatePath=A,e.interpolatePathCommands=b,e.pathCommandsFromString=w,Object.defineProperty(e,"__esModule",{value:!0})}(t)},6954(e){function t(e,t,n){var r,i,o,s,a;function c(){var u=Date.now()-s;u<t&&u>=0?r=setTimeout(c,t-u):(r=null,n||(a=e.apply(o,i),o=i=null))}null==t&&(t=100);var u=function(){o=this,i=arguments,s=Date.now();var u=n&&!r;return r||(r=setTimeout(c,t)),u&&(a=e.apply(o,i),o=i=null),a};return u.clear=function(){r&&(clearTimeout(r),r=null)},u.flush=function(){r&&(a=e.apply(o,i),o=i=null,clearTimeout(r),r=null)},u}t.debounce=t,e.exports=t},69(e,t,n){var r=n(4558);r.prototype.formulaEval=function(){"use strict";for(var e,t,n,r=[],i=this.value,o=0;o<i.length;o++)1===i[o].type||3===i[o].type?r.push({value:3===i[o].type?i[o].show:i[o].value,type:1}):13===i[o].type?r.push({value:i[o].show,type:1}):0===i[o].type?r[r.length-1]={value:i[o].show+("-"!=i[o].show?"(":"")+r[r.length-1].value+("-"!=i[o].show?")":""),type:0}:7===i[o].type?r[r.length-1]={value:(1!=r[r.length-1].type?"(":"")+r[r.length-1].value+(1!=r[r.length-1].type?")":"")+i[o].show,type:7}:10===i[o].type?(e=r.pop(),t=r.pop(),"P"===i[o].show||"C"===i[o].show?r.push({value:"<sup>"+t.value+"</sup>"+i[o].show+"<sub>"+e.value+"</sub>",type:10}):r.push({value:(1!=t.type?"(":"")+t.value+(1!=t.type?")":"")+"<sup>"+e.value+"</sup>",type:1})):2===i[o].type||9===i[o].type?(e=r.pop(),t=r.pop(),r.push({value:(1!=t.type?"(":"")+t.value+(1!=t.type?")":"")+i[o].show+(1!=e.type?"(":"")+e.value+(1!=e.type?")":""),type:i[o].type})):12===i[o].type&&(e=r.pop(),t=r.pop(),n=r.pop(),r.push({value:i[o].show+"("+n.value+","+t.value+","+e.value+")",type:12}));return r[0].value},e.exports=r},8119(e,t,n){"use strict";var r=n(1854);function i(e,t){for(var n=0;n<e.length;n++)e[n]+=t;return e}for(var o=[{token:"sin",show:"sin",type:0,value:r.math.sin},{token:"cos",show:"cos",type:0,value:r.math.cos},{token:"tan",show:"tan",type:0,value:r.math.tan},{token:"pi",show:"π",type:3,value:"PI"},{token:"(",show:"(",type:4,value:"("},{token:")",show:")",type:5,value:")"},{token:"P",show:"P",type:10,value:r.math.P},{token:"C",show:"C",type:10,value:r.math.C},{token:" ",show:" ",type:14,value:" ".anchor},{token:"asin",show:"asin",type:0,value:r.math.asin},{token:"acos",show:"acos",type:0,value:r.math.acos},{token:"atan",show:"atan",type:0,value:r.math.atan},{token:"7",show:"7",type:1,value:"7"},{token:"8",show:"8",type:1,value:"8"},{token:"9",show:"9",type:1,value:"9"},{token:"int",show:"Int",type:0,value:Math.floor},{token:"cosh",show:"cosh",type:0,value:r.math.cosh},{token:"acosh",show:"acosh",type:0,value:r.math.acosh},{token:"ln",show:" ln",type:0,value:Math.log},{token:"^",show:"^",type:10,value:Math.pow},{token:"root",show:"root",type:0,value:Math.sqrt},{token:"4",show:"4",type:1,value:"4"},{token:"5",show:"5",type:1,value:"5"},{token:"6",show:"6",type:1,value:"6"},{token:"/",show:"÷",type:2,value:r.math.div},{token:"!",show:"!",type:7,value:r.math.fact},{token:"tanh",show:"tanh",type:0,value:r.math.tanh},{token:"atanh",show:"atanh",type:0,value:r.math.atanh},{token:"Mod",show:" Mod ",type:2,value:r.math.mod},{token:"1",show:"1",type:1,value:"1"},{token:"2",show:"2",type:1,value:"2"},{token:"3",show:"3",type:1,value:"3"},{token:"*",show:"×",type:2,value:r.math.mul},{token:"sinh",show:"sinh",type:0,value:r.math.sinh},{token:"asinh",show:"asinh",type:0,value:r.math.asinh},{token:"e",show:"e",type:3,value:"E"},{token:"log",show:" log",type:0,value:r.math.log},{token:"0",show:"0",type:1,value:"0"},{token:".",show:".",type:6,value:"."},{token:"+",show:"+",type:9,value:r.math.add},{token:"-",show:"-",type:9,value:r.math.sub},{token:",",show:",",type:11,value:","},{token:"Sigma",show:"Σ",type:12,value:r.math.sigma},{token:"n",show:"n",type:13,value:"n"},{token:"Pi",show:"Π",type:12,value:r.math.Pi},{token:"pow",show:"pow",type:8,value:Math.pow,numberOfArguments:2},{token:"&",show:"&",type:9,value:r.math.and}],s={0:11,1:0,2:3,3:0,4:0,5:0,6:0,7:11,8:11,9:1,10:10,11:0,12:11,13:0,14:-1,15:11},a=0;a<o.length;a++)o[a].precedence=s[o[a].type];var c={0:!0,1:!0,3:!0,4:!0,6:!0,8:!0,9:!0,12:!0,13:!0,14:!0,15:!0},u={0:!0,1:!0,2:!0,3:!0,4:!0,5:!0,6:!0,7:!0,8:!0,9:!0,10:!0,11:!0,12:!0,13:!0,15:!0},l={0:!0,3:!0,4:!0,8:!0,12:!0,13:!0,15:!0},d={},h={0:!0,1:!0,3:!0,4:!0,6:!0,8:!0,12:!0,13:!0,15:!0},f={1:!0},p=[[],["1","2","3","7","8","9","4","5","6","+","-","*","/","(",")","^","!","P","C","e","0",".",",","n"," ","&"],["pi","ln","Pi"],["sin","cos","tan","Del","int","Mod","log","pow"],["asin","acos","atan","cosh","root","tanh","sinh"],["acosh","atanh","asinh","Sigma"]];function g(e,t,n,r){for(var i=0;i<r;i++)if(e[n+i]!==t[i])return!1;return!0}function m(e,t){for(var n=0;n<t.length;n++)if(t[n].token===e)return n;return-1}function y(e){for(var t,n,i,s=[],a=e.length,c=0;c<a;c++)if(!(c<a-1&&" "===e[c]&&" "===e[c+1])){for(t="",n=e.length-c>p.length-2?p.length-1:e.length-c;n>0;n--)if(void 0!==p[n])for(i=0;i<p[n].length;i++)g(e,p[n][i],c,n)&&(t=p[n][i],i=p[n].length,n=0);if(c+=t.length-1,""===t)throw new r.Exception("Can't understand after "+e.slice(c));s.push(o[m(t,o)])}return s}r.tokenTypes={FUNCTION_WITH_ONE_ARG:0,NUMBER:1,BINARY_OPERATOR_HIGH_PRECENDENCE:2,CONSTANT:3,OPENING_PARENTHESIS:4,CLOSING_PARENTHESIS:5,DECIMAL:6,POSTFIX_FUNCTION_WITH_ONE_ARG:7,FUNCTION_WITH_N_ARGS:8,BINARY_OPERATOR_LOW_PRECENDENCE:9,BINARY_OPERATOR_PERMUTATION:10,COMMA:11,EVALUATED_FUNCTION:12,EVALUATED_FUNCTION_PARAMETER:13,SPACE:14},r.addToken=function(e){for(var t=0;t<e.length;t++){var n=e[t].token.length,i=-1;e[t].type===r.tokenTypes.FUNCTION_WITH_N_ARGS&&void 0===e[t].numberOfArguments&&(e[t].numberOfArguments=2),p[n]=p[n]||[];for(var a=0;a<p[n].length;a++)if(e[t].token===p[n][a]){i=m(p[n][a],o);break}-1===i?(o.push(e[t]),e[t].precedence=s[e[t].type],p.length<=e[t].token.length&&(p[e[t].token.length]=[]),p[e[t].token.length].push(e[t].token)):(o[i]=e[t],e[t].precedence=s[e[t].type])}};var v={value:r.math.changeSign,type:0,pre:21,show:"-"},w={value:")",show:")",type:5,pre:0},b={value:"(",type:4,pre:0,show:"("};r.lex=function(e,t){var n,o=[b],s=[],a=e,p=c,g=0,m=d,A="";void 0!==t&&r.addToken(t);var x={},k=y(a);for(n=0;n<k.length;n++){var _=k[n];if(14!==_.type){var C,M=_.token,S=_.type,N=_.value,j=_.precedence,E=_.show,T=o[o.length-1];for(C=s.length;C--&&0===s[C];)if(-1!==[0,2,3,4,5,9,11,12,13].indexOf(S)){if(!0!==p[S])throw new r.Exception(M+" is not allowed after "+A);o.push(w),p=u,m=h,s.pop()}if(!0!==p[S])throw new r.Exception(M+" is not allowed after "+A);if(!0===m[S]&&(S=2,N=r.math.mul,E="×",j=3,n-=1),x={value:N,type:S,pre:j,show:E,numberOfArguments:_.numberOfArguments},0===S)p=c,m=d,i(s,2),o.push(x),4!==k[n+1].type&&(o.push(b),s.push(2));else if(1===S)1===T.type?(T.value+=N,i(s,1)):o.push(x),p=u,m=l;else if(2===S)p=c,m=d,i(s,2),o.push(x);else if(3===S)o.push(x),p=u,m=h;else if(4===S)i(s,1),g++,p=c,m=d,o.push(x);else if(5===S){if(!g)throw new r.Exception("Closing parenthesis are more than opening one, wait What!!!");g--,p=u,m=h,o.push(x),i(s,1)}else if(6===S){if(T.hasDec)throw new r.Exception("Two decimals are not allowed in one number");1!==T.type&&(T={value:0,type:1,pre:0},o.push(T)),p=f,i(s,1),m=d,T.value+=N,T.hasDec=!0}else 7===S&&(p=u,m=h,i(s,1),o.push(x));8===S?(p=c,m=d,i(s,_.numberOfArguments+2),o.push(x),4!==k[n+1].type&&(o.push(b),s.push(_.numberOfArguments+2))):9===S?(9===T.type?T.value===r.math.add?(T.value=N,T.show=E,i(s,1)):T.value===r.math.sub&&"-"===E&&(T.value=r.math.add,T.show="+",i(s,1)):5!==T.type&&7!==T.type&&1!==T.type&&3!==T.type&&13!==T.type?"-"===M&&(p=c,m=d,i(s,2).push(2),o.push(v),o.push(b)):(o.push(x),i(s,2)),p=c,m=d):10===S?(p=c,m=d,i(s,2),o.push(x)):11===S?(p=c,m=d,o.push(x)):12===S?(p=c,m=d,i(s,6),o.push(x),4!==k[n+1].type&&(o.push(b),s.push(6))):13===S&&(p=u,m=h,o.push(x)),i(s,-1),A=M}else if(n>0&&n<k.length-1&&1===k[n+1].type&&(1===k[n-1].type||6===k[n-1].type))throw new r.Exception("Unexpected Space")}for(C=s.length;C--;)o.push(w);if(!0!==p[5])throw new r.Exception("complete the expression");for(;g--;)o.push(w);return o.push(w),new r(o)},e.exports=r},1854(e){"use strict";var t=function(e){this.value=e};t.math={isDegree:!0,acos:function(e){return t.math.isDegree?180/Math.PI*Math.acos(e):Math.acos(e)},add:function(e,t){return e+t},asin:function(e){return t.math.isDegree?180/Math.PI*Math.asin(e):Math.asin(e)},atan:function(e){return t.math.isDegree?180/Math.PI*Math.atan(e):Math.atan(e)},acosh:function(e){return Math.log(e+Math.sqrt(e*e-1))},asinh:function(e){return Math.log(e+Math.sqrt(e*e+1))},atanh:function(e){return Math.log((1+e)/(1-e))},C:function(e,n){var r=1,i=e-n,o=n;o<i&&(o=i,i=n);for(var s=o+1;s<=e;s++)r*=s;return r/t.math.fact(i)},changeSign:function(e){return-e},cos:function(e){return t.math.isDegree&&(e=t.math.toRadian(e)),Math.cos(e)},cosh:function(e){return(Math.pow(Math.E,e)+Math.pow(Math.E,-1*e))/2},div:function(e,t){return e/t},fact:function(e){if(e%1!=0)return"NaN";for(var t=1,n=2;n<=e;n++)t*=n;return t},inverse:function(e){return 1/e},log:function(e){return Math.log(e)/Math.log(10)},mod:function(e,t){return e%t},mul:function(e,t){return e*t},P:function(e,t){for(var n=1,r=Math.floor(e)-Math.floor(t)+1;r<=Math.floor(e);r++)n*=r;return n},Pi:function(e,t,n){for(var r=1,i=e;i<=t;i++)r*=Number(n.postfixEval({n:i}));return r},pow10x:function(e){for(var t=1;e--;)t*=10;return t},sigma:function(e,t,n){for(var r=0,i=e;i<=t;i++)r+=Number(n.postfixEval({n:i}));return r},sin:function(e){return t.math.isDegree&&(e=t.math.toRadian(e)),Math.sin(e)},sinh:function(e){return(Math.pow(Math.E,e)-Math.pow(Math.E,-1*e))/2},sub:function(e,t){return e-t},tan:function(e){return t.math.isDegree&&(e=t.math.toRadian(e)),Math.tan(e)},tanh:function(e){return t.sinha(e)/t.cosha(e)},toRadian:function(e){return e*Math.PI/180},and:function(e,t){return e&t}},t.Exception=function(e){this.message=e},e.exports=t},5544(e,t,n){var r=n(8119);r.prototype.toPostfix=function(){"use strict";for(var e,t,n,i,o,s=[],a=[{value:"(",type:4,pre:0}],c=this.value,u=1;u<c.length;u++)if(1===c[u].type||3===c[u].type||13===c[u].type)1===c[u].type&&(c[u].value=Number(c[u].value)),s.push(c[u]);else if(4===c[u].type)a.push(c[u]);else if(5===c[u].type)for(;4!==(t=a.pop()).type;)s.push(t);else if(11===c[u].type){for(;4!==(t=a.pop()).type;)s.push(t);a.push(t)}else{i=(e=c[u]).pre,n=(o=a[a.length-1]).pre;var l="Math.pow"==o.value&&"Math.pow"==e.value;if(i>n)a.push(e);else{for(;n>=i&&!l||l&&i<n;)t=a.pop(),o=a[a.length-1],s.push(t),n=o.pre,l="Math.pow"==e.value&&"Math.pow"==o.value;a.push(e)}}return new r(s)},e.exports=r},4558(e,t,n){var r=n(5544);r.prototype.postfixEval=function(e){"use strict";(e=e||{}).PI=Math.PI,e.E=Math.E;for(var t,n,i,o=[],s=this.value,a=void 0!==e.n,c=0;c<s.length;c++)if(1===s[c].type)o.push({value:s[c].value,type:1});else if(3===s[c].type)o.push({value:e[s[c].value],type:1});else if(0===s[c].type)void 0===o[o.length-1].type?o[o.length-1].value.push(s[c]):o[o.length-1].value=s[c].value(o[o.length-1].value);else if(7===s[c].type)void 0===o[o.length-1].type?o[o.length-1].value.push(s[c]):o[o.length-1].value=s[c].value(o[o.length-1].value);else if(8===s[c].type){for(var u=[],l=0;l<s[c].numberOfArguments;l++)u.push(o.pop().value);o.push({type:1,value:s[c].value.apply(s[c],u.reverse())})}else 10===s[c].type?(t=o.pop(),void 0===(n=o.pop()).type?(n.value=n.concat(t),n.value.push(s[c]),o.push(n)):void 0===t.type?(t.unshift(n),t.push(s[c]),o.push(t)):o.push({type:1,value:s[c].value(n.value,t.value)})):2===s[c].type||9===s[c].type?(t=o.pop(),void 0===(n=o.pop()).type?((n=n.concat(t)).push(s[c]),o.push(n)):void 0===t.type?(t.unshift(n),t.push(s[c]),o.push(t)):o.push({type:1,value:s[c].value(n.value,t.value)})):12===s[c].type?(void 0!==(t=o.pop()).type&&(t=[t]),n=o.pop(),i=o.pop(),o.push({type:1,value:s[c].value(i.value,n.value,new r(t))})):13===s[c].type&&(a?o.push({value:e[s[c].value],type:3}):o.push([s[c]]));if(o.length>1)throw new r.Exception("Uncaught Syntax error");return o[0].value>1e15?"Infinity":parseFloat(o[0].value.toFixed(15))},r.eval=function(e,t,n){return void 0===t?this.lex(e).toPostfix().postfixEval():void 0===n?void 0!==t.length?this.lex(e,t).toPostfix().postfixEval():this.lex(e).toPostfix().postfixEval(t):this.lex(e,t).toPostfix().postfixEval(n)},e.exports=r},3371(){},9121(){},5852(e,t,n){"use strict";function r(e){return{all:e=e||new Map,on:function(t,n){var r=e.get(t);r&&r.push(n)||e.set(t,[n])},off:function(t,n){var r=e.get(t);r&&r.splice(r.indexOf(n)>>>0,1)},emit:function(t,n){(e.get(t)||[]).slice().map(function(e){e(n)}),(e.get("*")||[]).slice().map(function(e){e(t,n)})}}}n.d(t,{A:()=>r}),n.dn(r)},4997(e){var t=1e3,n=60*t,r=60*n,i=24*r,o=7*i,s=365.25*i;function a(e,t,n,r){var i=t>=1.5*n;return Math.round(e/n)+" "+r+(i?"s":"")}e.exports=function(e,c){c=c||{};var u=typeof e;if("string"===u&&e.length>0)return function(e){if((e=String(e)).length>100)return;var a=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(e);if(!a)return;var c=parseFloat(a[1]);switch((a[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return c*s;case"weeks":case"week":case"w":return c*o;case"days":case"day":case"d":return c*i;case"hours":case"hour":case"hrs":case"hr":case"h":return c*r;case"minutes":case"minute":case"mins":case"min":case"m":return c*n;case"seconds":case"second":case"secs":case"sec":case"s":return c*t;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return c;default:return}}(e);if("number"===u&&isFinite(e))return c.long?function(e){var o=Math.abs(e);if(o>=i)return a(e,o,i,"day");if(o>=r)return a(e,o,r,"hour");if(o>=n)return a(e,o,n,"minute");if(o>=t)return a(e,o,t,"second");return e+" ms"}(e):function(e){var o=Math.abs(e);if(o>=i)return Math.round(e/i)+"d";if(o>=r)return Math.round(e/r)+"h";if(o>=n)return Math.round(e/n)+"m";if(o>=t)return Math.round(e/t)+"s";return e+"ms"}(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))}},3958(e,t,n){"use strict";n.d(t,{A:()=>s});var r=n(1609),i=n(6954),o=n.n(i);function s(e){let{debounce:t,scroll:n,polyfill:i,offsetSize:s}=void 0===e?{debounce:0,scroll:!1,offsetSize:!1}:e;const c=i||("undefined"==typeof window?class{}:window.ResizeObserver);if(!c)throw new Error("This browser does not support ResizeObserver out of the box. See: https://github.com/react-spring/react-use-measure/#resize-observer-polyfills");const[l,d]=(0,r.useState)({left:0,top:0,width:0,height:0,bottom:0,right:0,x:0,y:0}),h=(0,r.useRef)({element:null,scrollContainers:null,resizeObserver:null,lastBounds:l}),f=t?"number"==typeof t?t:t.scroll:null,p=t?"number"==typeof t?t:t.resize:null,g=(0,r.useRef)(!1);(0,r.useEffect)(()=>(g.current=!0,()=>{g.current=!1}));const[m,y,v]=(0,r.useMemo)(()=>{const e=()=>{if(!h.current.element)return;const{left:e,top:t,width:n,height:r,bottom:i,right:o,x:a,y:c}=h.current.element.getBoundingClientRect(),l={left:e,top:t,width:n,height:r,bottom:i,right:o,x:a,y:c};h.current.element instanceof HTMLElement&&s&&(l.height=h.current.element.offsetHeight,l.width=h.current.element.offsetWidth),Object.freeze(l),g.current&&!u(h.current.lastBounds,l)&&d(h.current.lastBounds=l)};return[e,p?o()(e,p):e,f?o()(e,f):e]},[d,s,f,p]);function w(){h.current.scrollContainers&&(h.current.scrollContainers.forEach(e=>e.removeEventListener("scroll",v,!0)),h.current.scrollContainers=null),h.current.resizeObserver&&(h.current.resizeObserver.disconnect(),h.current.resizeObserver=null)}function b(){h.current.element&&(h.current.resizeObserver=new c(v),h.current.resizeObserver.observe(h.current.element),n&&h.current.scrollContainers&&h.current.scrollContainers.forEach(e=>e.addEventListener("scroll",v,{capture:!0,passive:!0})))}var A,x,k;return A=v,x=Boolean(n),(0,r.useEffect)(()=>{if(x){const e=A;return window.addEventListener("scroll",e,{capture:!0,passive:!0}),()=>{window.removeEventListener("scroll",e,!0)}}},[A,x]),k=y,(0,r.useEffect)(()=>{const e=k;return window.addEventListener("resize",e),()=>{window.removeEventListener("resize",e)}},[k]),(0,r.useEffect)(()=>{w(),b()},[n,v,y]),(0,r.useEffect)(()=>w,[]),[e=>{e&&e!==h.current.element&&(w(),h.current.element=e,h.current.scrollContainers=a(e),b())},l,m]}function a(e){const t=[];if(!e||e===document.body)return t;const{overflow:n,overflowX:r,overflowY:i}=window.getComputedStyle(e);return[n,r,i].some(e=>"auto"===e||"scroll"===e)&&t.push(e),[...t,...a(e.parentElement)]}const c=["x","y","top","bottom","left","right","width","height"],u=(e,t)=>c.every(n=>e[n]===t[n])},1897(e,t,n){var r,i=n(7893),o=n(821),s=n(69),a=/(\+|\-|\*|\\|[^a-z]|)(\s*)(\()/g;e.exports=function(e,t){function n(e,o,c){if(r++>100)throw r=0,new Error("Call stack overflow for "+c);if(""===e)throw new Error(o+"(): '"+c+"' must contain a non-whitespace string");e=function(e,t){e=e.replace(/((?:\-[a-z]+\-)?calc)/g,"");var r,o="",s=e;for(;r=a.exec(s);){r[0].index>0&&(o+=s.substring(0,r[0].index));var c=i("(",")",s.substring([0].index));if(""===c.body)throw new Error("'"+e+"' must contain a non-whitespace string");var u=n(c.body,"",t);o+=c.pre+u,s=c.post}return o+s}(e,c);var u=function(e){var t=[],n=[],r=/[\.0-9]([%a-z]+)/gi,i=r.exec(e);for(;i;)i&&i[1]&&(-1===n.indexOf(i[1].toLowerCase())&&(t.push(i[1]),n.push(i[1].toLowerCase())),i=r.exec(e));return t}(e);if(u.length>1||e.indexOf("var(")>-1)return o+"("+e+")";var l=u[0]||"";"%"===l&&(e=e.replace(/\b[0-9\.]+%/g,function(e){return.01*parseFloat(e.slice(0,-1))}));var d,h=e.replace(new RegExp(l,"gi"),"");try{d=s.eval(h)}catch(t){return o+"("+e+")"}return"%"===l&&(d*=100),(o.length||"%"===l)&&(d=Math.round(d*t)/t),d+=l}return r=0,t=Math.pow(10,void 0===t?5:t),e=e.replace(/\n+/g," "),o(e,/((?:\-[a-z]+\-)?calc)\(/,n)}},821(e,t,n){var r=n(274);function i(e,t,n){var o=e;return function(e,t){var n=[],i="string"==typeof t?new RegExp("\\b("+t+")\\("):t;do{var o=i.exec(e);if(!o)return n;if(void 0===o[1])throw new Error("Missing the first couple of parenthesis to get the function identifier in "+t);var s=o[1],a=o.index,c=r("(",")",e.substring(a));if(!c||c.start!==o[0].length-1)throw new SyntaxError(s+"(): missing closing ')' in the value '"+e+"'");n.push({matches:c,functionIdentifier:s}),e=c.post}while(i.test(e));return n}(e,t).reduce(function(e,r){return e.replace(r.functionIdentifier+"("+r.matches.body+")",function(e,t,n,r,o){return n(i(e,o,n),t,r)}(r.matches.body,r.functionIdentifier,n,o,t))},e)}e.exports=i},372(e,t,n){"use strict";n.d(t,{A:()=>c});var r=n(67);const i=n.n(r)()("dops:analytics");let o,s;window._tkq=window._tkq||[],window.ga=window.ga||function(){(window.ga.q=window.ga.q||[]).push(arguments)},window.ga.l=+new Date;const a={initialize:function(e,t,n){a.setUser(e,t),a.setSuperProps(n),a.identifyUser()},setGoogleAnalyticsEnabled:function(e,t=null){this.googleAnalyticsEnabled=e,this.googleAnalyticsKey=t},setMcAnalyticsEnabled:function(e){this.mcAnalyticsEnabled=e},setUser:function(e,t){s={ID:e,username:t}},setSuperProps:function(e){o=e},assignSuperProps:function(e){o=Object.assign(o||{},e)},mc:{bumpStat:function(e,t){const n=function(e,t){let n="";if("object"==typeof e){for(const t in e)n+="&x_"+encodeURIComponent(t)+"="+encodeURIComponent(e[t]);i("Bumping stats %o",e)}else n="&x_"+encodeURIComponent(e)+"="+encodeURIComponent(t),i('Bumping stat "%s" in group "%s"',t,e);return n}(e,t);a.mcAnalyticsEnabled&&((new Image).src=document.location.protocol+"//pixel.wp.com/g.gif?v=wpcom-no-pv"+n+"&t="+Math.random())},bumpStatWithPageView:function(e,t){const n=function(e,t){let n="";if("object"==typeof e){for(const t in e)n+="&"+encodeURIComponent(t)+"="+encodeURIComponent(e[t]);i("Built stats %o",e)}else n="&"+encodeURIComponent(e)+"="+encodeURIComponent(t),i('Built stat "%s" in group "%s"',t,e);return n}(e,t);a.mcAnalyticsEnabled&&((new Image).src=document.location.protocol+"//pixel.wp.com/g.gif?v=wpcom"+n+"&t="+Math.random())}},pageView:{record:function(e,t){a.tracks.recordPageView(e),a.ga.recordPageView(e,t)}},purchase:{record:function(e,t,n,r,i,o,s){a.ga.recordPurchase(e,t,n,r,i,o,s)}},tracks:{recordEvent:function(e,t){t=t||{},0===e.indexOf("akismet_")||0===e.indexOf("jetpack_")?(!t.blog_id&&"object"==typeof window.jpTracksContext&&window.jpTracksContext.blog_id&&(t.blog_id=window.jpTracksContext.blog_id),o&&(i("- Super Props: %o",o),t=Object.assign(t,o)),i('Record event "%s" called with props %s',e,JSON.stringify(t)),window._tkq.push(["recordEvent",e,t])):i('- Event name must be prefixed by "akismet_" or "jetpack_"')},recordJetpackClick:function(e){const t="object"==typeof e?e:{target:e};a.tracks.recordEvent("jetpack_wpa_click",t)},recordPageView:function(e){a.tracks.recordEvent("akismet_page_view",{path:e})},setOptOut:function(e){i("Pushing setOptOut: %o",e),window._tkq.push(["setOptOut",e])}},ga:{initialized:!1,initialize:function(){let e={};a.ga.initialized||(s&&(e={userId:"u-"+s.ID}),window.ga("create",this.googleAnalyticsKey,"auto",e),a.ga.initialized=!0)},recordPageView:function(e,t){a.ga.initialize(),i("Recording Page View ~ [URL: "+e+"] [Title: "+t+"]"),this.googleAnalyticsEnabled&&(window.ga("set","page",e),window.ga("send",{hitType:"pageview",page:e,title:t}))},recordEvent:function(e,t,n,r){a.ga.initialize();let o="Recording Event ~ [Category: "+e+"] [Action: "+t+"]";void 0!==n&&(o+=" [Option Label: "+n+"]"),void 0!==r&&(o+=" [Option Value: "+r+"]"),i(o),this.googleAnalyticsEnabled&&window.ga("send","event",e,t,n,r)},recordPurchase:function(e,t,n,r,i,o,s){window.ga("require","ecommerce"),window.ga("ecommerce:addTransaction",{id:e,revenue:r,currency:s}),window.ga("ecommerce:addItem",{id:e,name:t,sku:n,price:i,quantity:o}),window.ga("ecommerce:send")}},identifyUser:function(){s&&window._tkq.push(["identifyUser",s.ID,s.username])},setProperties:function(e){window._tkq.push(["setProperties",e])},clearedIdentity:function(){window._tkq.push(["clearIdentity"])}},c=a},5932(e,t,n){"use strict";n.d(t,{Ay:()=>d});var r=n(6439),i=n(3832);function o(e){class t extends Error{constructor(...t){super(...t),this.name=e}}return t}const s=o("JsonParseError"),a=o("JsonParseAfterRedirectError"),c=o("Api404Error"),u=o("Api404AfterRedirectError"),l=o("FetchNetworkError");const d=new function(e,t){let n=e,o=e,s={"X-WP-Nonce":t},a={credentials:"same-origin",headers:s},c={method:"post",credentials:"same-origin",headers:Object.assign({},s,{"Content-type":"application/json"})},u=function(e){const t=e.split("?"),n=t.length>1?t[1]:"",r=n.length?n.split("&"):[];return r.push("_cacheBuster="+(new Date).getTime()),t[0]+"?"+r.join("&")};const l={setApiRoot(e){n=e},setWpcomOriginApiUrl(e){o=e},setApiNonce(e){s={"X-WP-Nonce":e},a={credentials:"same-origin",headers:s},c={method:"post",credentials:"same-origin",headers:Object.assign({},s,{"Content-type":"application/json"})}},setCacheBusterCallback:e=>{u=e},registerSite:(e,t,i)=>{const o={};return(0,r.jetpackConfigHas)("consumer_slug")&&(o.plugin_slug=(0,r.jetpackConfigGet)("consumer_slug")),null!==t&&(o.redirect_uri=t),i&&(o.from=i),p(`${n}jetpack/v4/connection/register`,c,{body:JSON.stringify(o)}).then(h).then(f)},fetchAuthorizationUrl:e=>d((0,i.addQueryArgs)(`${n}jetpack/v4/connection/authorize_url`,{no_iframe:"1",redirect_uri:e}),a).then(h).then(f),fetchSiteConnectionData:()=>d(`${n}jetpack/v4/connection/data`,a).then(f),fetchSiteConnectionStatus:()=>d(`${n}jetpack/v4/connection`,a).then(f),fetchSiteConnectionTest:()=>d(`${n}jetpack/v4/connection/test`,a).then(h).then(f),fetchUserConnectionData:()=>d(`${n}jetpack/v4/connection/data`,a).then(f),fetchUserTrackingSettings:()=>d(`${n}jetpack/v4/tracking/settings`,a).then(h).then(f),updateUserTrackingSettings:e=>p(`${n}jetpack/v4/tracking/settings`,c,{body:JSON.stringify(e)}).then(h).then(f),disconnectSite:()=>p(`${n}jetpack/v4/connection`,c,{body:JSON.stringify({isActive:!1})}).then(h).then(f),fetchConnectUrl:()=>d(`${n}jetpack/v4/connection/url`,a).then(h).then(f),unlinkUser:(e=!1,t={})=>{const r={linked:!1,force:!!e};return t.disconnectAllUsers&&(r["disconnect-all-users"]=!0),p(`${n}jetpack/v4/connection/user`,c,{body:JSON.stringify(r)}).then(h).then(f)},reconnect:()=>p(`${n}jetpack/v4/connection/reconnect`,c).then(h).then(f),fetchConnectedPlugins:()=>d(`${n}jetpack/v4/connection/plugins`,a).then(h).then(f),setHasSeenWCConnectionModal:()=>p(`${n}jetpack/v4/seen-wc-connection-modal`,c).then(h).then(f),fetchModules:()=>d(`${n}jetpack/v4/module/all`,a).then(h).then(f),fetchModule:e=>d(`${n}jetpack/v4/module/${e}`,a).then(h).then(f),activateModule:e=>p(`${n}jetpack/v4/module/${e}/active`,c,{body:JSON.stringify({active:!0})}).then(h).then(f),deactivateModule:e=>p(`${n}jetpack/v4/module/${e}/active`,c,{body:JSON.stringify({active:!1})}),updateModuleOptions:(e,t)=>p(`${n}jetpack/v4/module/${e}`,c,{body:JSON.stringify(t)}).then(h).then(f),updateSettings:e=>p(`${n}jetpack/v4/settings`,c,{body:JSON.stringify(e)}).then(h).then(f),getProtectCount:()=>d(`${n}jetpack/v4/module/protect/data`,a).then(h).then(f),resetOptions:e=>p(`${n}jetpack/v4/options/${e}`,c,{body:JSON.stringify({reset:!0})}).then(h).then(f),activateVaultPress:()=>p(`${n}jetpack/v4/plugins`,c,{body:JSON.stringify({slug:"vaultpress",status:"active"})}).then(h).then(f),getVaultPressData:()=>d(`${n}jetpack/v4/module/vaultpress/data`,a).then(h).then(f),installPlugin:(e,t)=>{const r={slug:e,status:"active"};return t&&(r.source=t),p(`${n}jetpack/v4/plugins`,c,{body:JSON.stringify(r)}).then(h).then(f)},activateAkismet:()=>p(`${n}jetpack/v4/plugins`,c,{body:JSON.stringify({slug:"akismet",status:"active"})}).then(h).then(f),getAkismetData:()=>d(`${n}jetpack/v4/module/akismet/data`,a).then(h).then(f),checkAkismetKey:()=>d(`${n}jetpack/v4/module/akismet/key/check`,a).then(h).then(f),checkAkismetKeyTyped:e=>p(`${n}jetpack/v4/module/akismet/key/check`,c,{body:JSON.stringify({api_key:e})}).then(h).then(f),getFeatureTypeStatus:e=>d(`${n}jetpack/v4/feature/${e}`,a).then(h).then(f),fetchStatsData:e=>d(function(e){let t=`${n}jetpack/v4/module/stats/data`;-1!==t.indexOf("?")?t+=`&range=${encodeURIComponent(e)}`:t+=`?range=${encodeURIComponent(e)}`;return t}(e),a).then(h).then(f).then(m),getPluginUpdates:()=>d(`${n}jetpack/v4/updates/plugins`,a).then(h).then(f),getPlans:()=>d(`${n}jetpack/v4/plans`,a).then(h).then(f),fetchSettings:()=>d(`${n}jetpack/v4/settings`,a).then(h).then(f),updateSetting:e=>p(`${n}jetpack/v4/settings`,c,{body:JSON.stringify(e)}).then(h).then(f),fetchSiteData:()=>d(`${n}jetpack/v4/site`,a).then(h).then(f).then(e=>JSON.parse(e.data)),fetchSiteFeatures:()=>d(`${n}jetpack/v4/site/features`,a).then(h).then(f).then(e=>JSON.parse(e.data)),fetchSiteProducts:()=>d(`${n}jetpack/v4/site/products`,a).then(h).then(f),fetchSitePurchases:()=>d(`${n}jetpack/v4/site/purchases`,a).then(h).then(f).then(e=>JSON.parse(e.data)),fetchSiteBenefits:()=>d(`${n}jetpack/v4/site/benefits`,a).then(h).then(f).then(e=>JSON.parse(e.data)),fetchSiteDiscount:()=>d(`${n}jetpack/v4/site/discount`,a).then(h).then(f).then(e=>e.data),fetchSetupQuestionnaire:()=>d(`${n}jetpack/v4/setup/questionnaire`,a).then(h).then(f),fetchRecommendationsData:()=>d(`${n}jetpack/v4/recommendations/data`,a).then(h).then(f),fetchRecommendationsProductSuggestions:()=>d(`${n}jetpack/v4/recommendations/product-suggestions`,a).then(h).then(f),fetchRecommendationsUpsell:()=>d(`${n}jetpack/v4/recommendations/upsell`,a).then(h).then(f),fetchRecommendationsConditional:()=>d(`${n}jetpack/v4/recommendations/conditional`,a).then(h).then(f),saveRecommendationsData:e=>p(`${n}jetpack/v4/recommendations/data`,c,{body:JSON.stringify({data:e})}).then(h),fetchProducts:()=>d(`${n}jetpack/v4/products`,a).then(h).then(f),fetchRewindStatus:()=>d(`${n}jetpack/v4/rewind`,a).then(h).then(f).then(e=>JSON.parse(e.data)),fetchScanStatus:()=>d(`${n}jetpack/v4/scan`,a).then(h).then(f).then(e=>JSON.parse(e.data)),dismissJetpackNotice:e=>p(`${n}jetpack/v4/notice/${e}`,c,{body:JSON.stringify({dismissed:!0})}).then(h).then(f),fetchPluginsData:()=>d(`${n}jetpack/v4/plugins`,a).then(h).then(f),fetchIntroOffers:()=>d(`${n}jetpack/v4/intro-offers`,a).then(h).then(f),fetchVerifySiteGoogleStatus:e=>d(null!==e?`${n}jetpack/v4/verify-site/google/${e}`:`${n}jetpack/v4/verify-site/google`,a).then(h).then(f),verifySiteGoogle:e=>p(`${n}jetpack/v4/verify-site/google`,c,{body:JSON.stringify({keyring_id:e})}).then(h).then(f),submitSurvey:e=>p(`${n}jetpack/v4/marketing/survey`,c,{body:JSON.stringify(e)}).then(h).then(f),saveSetupQuestionnaire:e=>p(`${n}jetpack/v4/setup/questionnaire`,c,{body:JSON.stringify(e)}).then(h).then(f),updateLicensingError:e=>p(`${n}jetpack/v4/licensing/error`,c,{body:JSON.stringify(e)}).then(h).then(f),updateLicenseKey:e=>p(`${n}jetpack/v4/licensing/set-license`,c,{body:JSON.stringify({license:e})}).then(h).then(f),getUserLicensesCounts:()=>d(`${n}jetpack/v4/licensing/user/counts`,a).then(h).then(f),getUserLicenses:()=>d(`${n}jetpack/v4/licensing/user/licenses`,a).then(h).then(f),updateLicensingActivationNoticeDismiss:e=>p(`${n}jetpack/v4/licensing/user/activation-notice-dismiss`,c,{body:JSON.stringify({last_detached_count:e})}).then(h).then(f),updateRecommendationsStep:e=>p(`${n}jetpack/v4/recommendations/step`,c,{body:JSON.stringify({step:e})}).then(h),confirmIDCSafeMode:()=>p(`${n}jetpack/v4/identity-crisis/confirm-safe-mode`,c).then(h),startIDCFresh:e=>p(`${n}jetpack/v4/identity-crisis/start-fresh`,c,{body:JSON.stringify({redirect_uri:e})}).then(h).then(f),migrateIDC:()=>p(`${n}jetpack/v4/identity-crisis/migrate`,c).then(h),attachLicenses:e=>p(`${n}jetpack/v4/licensing/attach-licenses`,c,{body:JSON.stringify({licenses:e})}).then(h).then(f),fetchSearchPlanInfo:()=>d(`${o}jetpack/v4/search/plan`,a).then(h).then(f),fetchSearchSettings:()=>d(`${o}jetpack/v4/search/settings`,a).then(h).then(f),updateSearchSettings:e=>p(`${o}jetpack/v4/search/settings`,c,{body:JSON.stringify(e)}).then(h).then(f),fetchSearchStats:()=>d(`${o}jetpack/v4/search/stats`,a).then(h).then(f),fetchWafSettings:()=>d(`${n}jetpack/v4/waf`,a).then(h).then(f),updateWafSettings:e=>p(`${n}jetpack/v4/waf`,c,{body:JSON.stringify(e)}).then(h).then(f),fetchWordAdsSettings:()=>d(`${n}jetpack/v4/wordads/settings`,a).then(h).then(f),updateWordAdsSettings:e=>p(`${n}jetpack/v4/wordads/settings`,c,{body:JSON.stringify(e)}),fetchSearchPricing:()=>d(`${o}jetpack/v4/search/pricing`,a).then(h).then(f),fetchMigrationStatus:()=>d(`${n}jetpack/v4/migration/status`,a).then(h).then(f),fetchBackupUndoEvent:()=>d(`${n}jetpack/v4/site/backup/undo-event`,a).then(h).then(f),fetchBackupPreflightStatus:()=>d(`${n}jetpack/v4/site/backup/preflight`,a).then(h).then(f)};function d(e,t){return fetch(u(e),t)}function p(e,t,n){return fetch(e,Object.assign({},t,n)).catch(g)}function m(e){return e.general&&void 0===e.general.response||e.week&&void 0===e.week.response||e.month&&void 0===e.month.response?e:{}}Object.assign(this,l)};function h(e){return e.status>=200&&e.status<300?e:404===e.status?new Promise(()=>{throw e.redirected?new u(e.redirected):new c}):e.json().catch(e=>p(e)).then(t=>{const n=new Error(`${t.message} (Status ${e.status})`);throw n.response=t,n.name="ApiError",n})}function f(e){return e.json().catch(t=>p(t,e.redirected,e.url))}function p(e,t,n){throw t?new a(n):new s}function g(){throw new l}},3924(e,t,n){"use strict";function r(e,t={}){const n={};let r;if("undefined"!=typeof window&&(r=window?.JP_CONNECTION_INITIAL_STATE?.calypsoEnv),0===e.search("https://")){const t=new URL(e);e=`https://${t.host}${t.pathname}`,n.url=encodeURIComponent(e)}else n.source=encodeURIComponent(e);for(const e in t)n[e]=encodeURIComponent(t[e]);!Object.keys(n).includes("site")&&"undefined"!=typeof jetpack_redirects&&Object.hasOwn(jetpack_redirects,"currentSiteRawUrl")&&(n.site=jetpack_redirects.currentBlogID??jetpack_redirects.currentSiteRawUrl),r&&(n.calypso_env=r);return"https://jetpack.com/redirect/?"+Object.keys(n).map(e=>e+"="+n[e]).join("&")}n.d(t,{A:()=>r})},6439(e,t,n){let r={};try{r=n(4277)}catch{console.error("jetpackConfig is missing in your webpack config file. See @automattic/jetpack-config"),r={missingConfig:!0}}const i=e=>Object.hasOwn(r,e);e.exports={jetpackConfigHas:i,jetpackConfigGet:e=>{if(!i(e))throw'This app requires the "'+e+'" Jetpack Config to be defined in your webpack configuration file. See details in @automattic/jetpack-config package docs.';return r[e]}}},4882(e,t,n){"use strict";n.d(t,{A:()=>u});var r=n(5932),i=n(7999),o=n(7143),s=n(1609),a=n(4293);const c=window?.JP_CONNECTION_INITIAL_STATE||(0,i.getScriptData)()?.connection||{};function u({registrationNonce:e=c.registrationNonce,apiRoot:t=c.apiRoot,apiNonce:n=c.apiNonce,redirectUri:i,autoTrigger:u,from:l,skipUserConnection:d,skipPricingPage:h}={}){const{registerSite:f,connectUser:p,refreshConnectedPlugins:g}=(0,o.useDispatch)(a.a),m=(0,o.useSelect)(e=>e(a.a).getRegistrationError(),[]),{siteIsRegistering:y,userIsConnecting:v,userConnectionData:w,connectedPlugins:b,connectionErrors:A,connectionHealthErrors:x,isRegistered:k,isUserConnected:_,hasConnectedOwner:C,isOfflineMode:M}=(0,o.useSelect)(e=>{const t=e(a.a).getConnectionStatus();return{siteIsRegistering:e(a.a).getSiteIsRegistering(),userIsConnecting:e(a.a).getUserIsConnecting(),userConnectionData:e(a.a).getUserConnectionData()||{},connectedPlugins:e(a.a).getConnectedPlugins(),connectionErrors:e(a.a).getConnectionErrors(),connectionHealthErrors:e(a.a).getConnectionHealthErrors?.()??{},isOfflineMode:e(a.a).getIsOfflineMode(),isRegistered:t.isRegistered??!1,isUserConnected:t.isUserConnected??!1,hasConnectedOwner:t.hasConnectedOwner??!1}},[]),S=()=>d?i?(window.location.href=i,Promise.resolve(i)):Promise.resolve():p({from:l,redirectUri:i,skipPricingPage:h}),N=t=>(t&&t.preventDefault(),k?S():f({registrationNonce:e,redirectUri:i,from:l}).then(()=>S()));return(0,s.useEffect)(()=>{r.Ay.setApiRoot(t),r.Ay.setApiNonce(n)},[t,n]),(0,s.useEffect)(()=>{!u||y||v||N()},[]),{handleRegisterSite:N,handleConnectUser:S,refreshConnectedPlugins:g,isRegistered:k,isUserConnected:_,siteIsRegistering:y,userIsConnecting:v,registrationError:m,userConnectionData:w,hasConnectedOwner:C,connectedPlugins:b,connectionErrors:A,connectionHealthErrors:x,isOfflineMode:M}}},4750(e,t,n){"use strict";n.d(t,{A:()=>o});var r=n(7723);const __=r.__;function i(e){if(!e||"string"!=typeof e)return{};const t=e.indexOf(" :");if(-1===t)return{};const n=e.slice(0,t).trim(),r=e.slice(t+2).trim(),i={};return r&&(i.action_url=r),n&&(i.action_label=n),i}function o(e){const t={};for(const n of function(e){if(!e||"object"!=typeof e)return[];const t=e;return t.code?[{code:t.code,message:t.message??"",data:t.data||{}},...(Array.isArray(t.additional_errors)?t.additional_errors:[]).map(e=>({code:e.code??"",message:e.message??"",data:e.data||{}}))]:[]}(e))n.code.startsWith("failed_")&&(t[n.code]={0:{error_code:n.code,error_message:n.message||__("A connection check failed.","jetpack"),error_type:"connection_health",error_data:i(n.data.resolution)}});return t}},3935(e,t,n){"use strict";n.d(t,{A1:()=>d,Ay:()=>S,DO:()=>l,Ij:()=>u,Kl:()=>m,LW:()=>h,MU:()=>v,XY:()=>f,ZO:()=>c,dz:()=>p,gH:()=>g,j4:()=>y,v_:()=>a});var r=n(5932),i=n(1455),o=n.n(i),s=n(4750);const a="SET_CONNECTION_STATUS",c="SET_CONNECTION_STATUS_IS_FETCHING",u="SET_SITE_IS_REGISTERING",l="SET_USER_IS_CONNECTING",d="SET_REGISTRATION_ERROR",h="CLEAR_REGISTRATION_ERROR",f="SET_AUTHORIZATION_URL",p="DISCONNECT_USER_SUCCESS",g="SET_CONNECTED_PLUGINS",m="SET_CONNECTION_ERRORS",y="SET_CONNECTION_HEALTH_ERRORS",v="SET_IS_OFFLINE_MODE",w=e=>({type:a,connectionStatus:e}),b=e=>({type:u,isRegistering:e}),A=e=>({type:l,isConnecting:e}),x=e=>({type:d,registrationError:e}),k=()=>({type:h}),_=e=>({type:f,authorizationUrl:e}),C=e=>({type:g,connectedPlugins:e}),M=e=>({type:y,connectionHealthErrors:e});const S={setConnectionStatus:w,setConnectionStatusIsFetching:e=>({type:c,isFetching:e}),fetchConnectionStatus:()=>({type:"FETCH_CONNECTION_STATUS"}),fetchAuthorizationUrl:e=>({type:"FETCH_AUTHORIZATION_URL",redirectUri:e}),setSiteIsRegistering:b,setUserIsConnecting:A,setRegistrationError:x,clearRegistrationError:k,setAuthorizationUrl:_,registerSite:function*({registrationNonce:e,redirectUri:t,from:n=""}){yield k(),yield b(!0);try{const r=yield{type:"REGISTER_SITE",registrationNonce:e,redirectUri:t,from:n};return yield w({isRegistered:!0}),yield _(r.authorizeUrl),yield b(!1),Promise.resolve(r)}catch(e){return yield x(e),yield b(!1),Promise.reject(e)}},connectUser:function*({from:e,redirectFunc:t,redirectUri:n,skipPricingPage:r}={}){yield A(!0),yield{type:"CONNECT_USER",from:e,redirectFunc:t,redirectUri:n,skipPricingPage:r}},disconnectUserSuccess:()=>({type:p}),setConnectedPlugins:C,refreshConnectedPlugins:()=>async({dispatch:e})=>await new Promise(t=>r.Ay.fetchConnectedPlugins().then(n=>{e(C(n)),t(n)})),setConnectionErrors:e=>({type:m,connectionErrors:e}),setConnectionHealthErrors:M,runConnectionHealthCheck:()=>async({dispatch:e})=>{try{return await o()({path:"/jetpack/v4/connection/test"}),e(M({})),{}}catch(t){const n=(0,s.A)(t);return e(M(n)),n}},setIsOfflineMode:e=>({type:v,isOfflineMode:e})}},7938(e,t,n){"use strict";function r(e){return window.location.assign(e)}n.d(t,{d:()=>r})},2494(e,t,n){"use strict";n.d(t,{A:()=>a});var r=n(5932),i=n(7143),o=n(7938),s=n(4660);const a={FETCH_AUTHORIZATION_URL:({redirectUri:e})=>r.Ay.fetchAuthorizationUrl(e),REGISTER_SITE:({redirectUri:e,from:t})=>r.Ay.registerSite(null,e,t),CONNECT_USER:(0,i.createRegistryControl)(({resolveSelect:e})=>({from:t,redirectFunc:n,redirectUri:r,skipPricingPage:i}={})=>new Promise((a,c)=>{e(s.A).getAuthorizationUrl(r).then(e=>{const r=n||(e=>(0,o.d)(e)),s=new URL(e);i&&s.searchParams.set("skip_pricing","true"),t&&s.searchParams.set("from",encodeURIComponent(t));const c=s.toString();r(c),a(c)}).catch(e=>{c(e)})}))}},5051(e,t,n){"use strict";n.d(t,{A:()=>o});var r=n(7143),i=n(3935);const o=(0,r.combineReducers)({connectionStatus:(e={},t)=>{switch(t.type){case i.v_:return{...e,...t.connectionStatus};case i.dz:return{...e,isUserConnected:!1}}return e},connectionStatusIsFetching:(e=!1,t)=>t.type===i.ZO?t.isFetching:e,siteIsRegistering:(e=!1,t)=>t.type===i.Ij?t.isRegistering:e,userIsConnecting:(e=!1,t)=>t.type===i.DO?t.isConnecting:e,registrationError:(e,t)=>{switch(t.type){case i.LW:return!1;case i.A1:return t.registrationError;default:return e}},authorizationUrl:(e,t)=>t.type===i.XY?t.authorizationUrl:e,userConnectionData:(e,t)=>(t.type,e),connectedPlugins:(e={},t)=>t.type===i.gH?t.connectedPlugins:e,connectionErrors:(e={},t)=>t.type===i.Kl?t.connectionErrors:e,connectionHealthErrors:(e={},t)=>t.type===i.j4?t.connectionHealthErrors:e,isOfflineMode:(e=!1,t)=>t.type===i.MU?t.isConnecting:e})},8019(e,t,n){"use strict";n.d(t,{A:()=>s});var r=n(7143),i=n(3935),o=n(4660);const s={...{getAuthorizationUrl:{isFulfilled:(e,...t)=>{const n=Boolean(e.authorizationUrl),i=(0,r.select)(o.A).hasFinishedResolution("getAuthorizationUrl",t);return n&&!i&&(0,r.dispatch)(o.A).finishResolution("getAuthorizationUrl",t),n},*fulfill(e){const t=yield i.Ay.fetchAuthorizationUrl(e);yield i.Ay.setAuthorizationUrl(t.authorizeUrl)}}}}},2676(e,t,n){"use strict";n.d(t,{A:()=>r});const r={...{getConnectionStatus:e=>e.connectionStatus||{},getConnectionStatusIsFetching:()=>!1,getSiteIsRegistering:e=>e.siteIsRegistering||!1,getUserIsConnecting:e=>e.userIsConnecting||!1,getRegistrationError:e=>e.registrationError||!1,getAuthorizationUrl:e=>e.authorizationUrl||!1,getUserConnectionData:e=>e.userConnectionData||!1,getConnectedPlugins:e=>e.connectedPlugins||[],getConnectionErrors:e=>e.connectionErrors||[],getConnectionHealthErrors:e=>e.connectionHealthErrors||{},getIsOfflineMode:e=>e.isOfflineMode||!1,getWpcomUser:e=>e?.userConnectionData?.currentUser?.wpcomUser,getBlogId:e=>e?.userConnectionData?.currentUser?.blogId}}},8734(e,t,n){"use strict";n.d(t,{A:()=>o});var r=n(7143);class i{static store=null;static mayBeInit(e,t){null===i.store&&(i.store=(0,r.createReduxStore)(e,t),(0,r.register)(i.store))}}const o=i},4660(e,t,n){"use strict";n.d(t,{A:()=>r});const r="jetpack-connection"},4293(e,t,n){"use strict";n.d(t,{a:()=>l.A});var r=n(7999),i=n(3935),o=n(2494),s=n(5051),a=n(8019),c=n(2676),u=n(8734),l=n(4660);const d=window.JP_CONNECTION_INITIAL_STATE||(0,r.getScriptData)()?.connection;d||console.error("Jetpack Connection package: Initial state is missing. Check documentation to see how to use the Connection composer package to set up the initial state."),u.A.mayBeInit(l.A,{__experimentalUseThunks:!0,reducer:s.A,actions:i.Ay,selectors:c.A,resolvers:a.A,controls:o.A,initialState:d||{}})},5985(e,t,n){"use strict";n.d(t,{st:()=>r.A});n(4815),n(1409),n(2034),n(5595),n(3265);var r=n(3489);n(9581),n(8406),n(6923),n(335),n(7687),n(9061),n(5929),n(5765)},5765(e,t,n){"use strict";n(8490)},335(e,t,n){"use strict";n(6087)},4815(e,t,n){"use strict";n(7999)},3489(e,t,n){"use strict";n.d(t,{A:()=>c});var r=n(372),i=n(4882),o=n(6087);const{tracks:s}=r.A,{recordEvent:a}=s,c=({pageViewEventName:e=null,pageViewNamespace:t="jetpack",pageViewSuffix:n="page_view",pageViewEventProperties:c={}}={})=>{const[u,l]=(0,o.useState)(!1),{isUserConnected:d,isRegistered:h,userConnectionData:f={}}=(0,i.A)(),{wpcomUser:{login:p,ID:g}={},blogId:m}=f.currentUser||{},y=(0,o.useCallback)(async(e,t={})=>{d&&g&&p&&a(e,t)},[d,g,p]);return(0,o.useEffect)(()=>{d&&g&&p&&m&&r.A.initialize(g,p,{blog_id:m})},[m,g,p,d]),(0,o.useEffect)(()=>{const r=e?`${t}_${e}_${n}`:null;h&&r&&(u||(y(r,c),l(!0)))},[u,t,e,n,h,c,y]),{recordEvent:y,tracks:s}}},9581(e,t,n){"use strict";n(7143),n(6087)},6923(e,t,n){"use strict";n(7687),n(7143),n(6087)},8406(e,t,n){"use strict";n(6087)},5929(e,t,n){"use strict";n(7143),n(2619),n(3265),n(9581)},9520(e,t,n){"use strict";n(7999);var r=n(67),i=n.n(r);window,i()("shared-extension-utils:connection")},9061(e,t,n){"use strict";n(9520)},3265(e,t,n){"use strict";n(7999);var r=n(7723);n(3832),n(4815);const __=r.__;__("Upgrade your plan to use video covers","jetpack"),__("Upgrade your plan to upload audio","jetpack")},2034(e,t,n){"use strict";n(2279)},1409(e,t,n){"use strict";n(7999)},5595(e,t,n){"use strict";n(9491),n(3371),n(790)},225(e,t,n){"use strict";n.d(t,{j:()=>c});var r=n(5985),i=n(6087),o=n(9654),s=n(1720),a=n(4060);const c=(e,t,n,c)=>{const{tracks:u}=(0,r.st)();(0,i.useEffect)(()=>{u.recordEvent(`${s.xe}_view`)},[u]);const l=!e,d=l?o.N:"a",h={href:t,onClick:(0,a.R)(u,n)};return l&&(h.openInNewTab=!0),(0,i.createElement)(d,h,c||void 0)}},5164(e,t,n){"use strict";n.d(t,{Y:()=>g});var r=n(3924),i=n(5985),o=(n(9121),n(6427)),s=n(6087),a=n(7723),c=n(71),u=n(8351),l=n(1720),d=n(4060),h=n(225),f=n(1984),p=n(790);const __=a.__,_n=a._n,g=({site:e,adminUrl:t,isWpcomSite:n,isStatsModuleActive:g,emailSubscribers:m=0,paidSubscribers:y=0,allSubscribers:v=0,subscriberTotalsByDate:w={},showHeader:b,showChart:A,newsletterSettingsUrl:x})=>{const{tracks:k}=(0,i.st)();(0,s.useEffect)(()=>{k.recordEvent(`${l.xe}_view`)},[k]);const _=(0,a.sprintf)(
//translators: %1$s is the total number of subscribers, %2$s is the number of email subscribers
_n("%1$s subscriber (%2$s via email)","%1$s subscribers (%2$s via email)",v,"jetpack"),(0,d.ZV)(v),(0,d.ZV)(m)),C=(0,a.sprintf)(
//translators: %s is the number of paid subscribers
_n("%s paid subscriber","%s paid subscribers",y,"jetpack"),(0,d.ZV)(y));return(0,p.jsxs)("div",{className:"newsletter-widget",children:[b&&(0,p.jsx)("div",{className:"newsletter-widget__header",children:(0,p.jsxs)("div",{className:"newsletter-widget__stats",children:[(0,p.jsxs)("span",{className:"newsletter-widget__stat-item",children:[(0,p.jsx)("span",{className:"newsletter-widget__icon",children:(0,p.jsx)(o.Icon,{icon:c.A,size:24})}),(0,p.jsx)("span",{className:"newsletter-widget__stat-content",children:(0,p.jsx)("span",{className:"newsletter-widget__stat-label",children:(0,h.j)(!0,(0,d.R8)(e,t),"all_subscribers_click",_)})})]}),(0,p.jsxs)("span",{className:"newsletter-widget__stat-item",children:[(0,p.jsx)("span",{className:"newsletter-widget__icon",children:(0,p.jsx)(o.Icon,{icon:u.A,size:24})}),(0,p.jsx)("span",{className:"newsletter-widget__stat-content",children:(0,p.jsx)("span",{className:"newsletter-widget__stat-label",children:(0,h.j)(!0,(0,d.R8)(e,t),"paid_subscribers_click",C)})})]})]})}),A&&(0,p.jsxs)("div",{className:"newsletter-widget__chart",children:[(0,p.jsx)("h3",{className:"newsletter-widget__heading",children:__("Total Subscribers","jetpack")}),(0,p.jsx)(f.w,{subscriberTotalsByDate:w})]}),(0,p.jsxs)("div",{className:"newsletter-widget__footer",children:[(0,p.jsx)("p",{className:"newsletter-widget__footer-msg",children:(0,s.createInterpolateElement)(__("Effortlessly turn posts into emails with our Newsletter feature. Expand your reach, engage readers, and monetize your writing. No coding required. <link>Learn more</link>","jetpack"),{link:(0,h.j)(n,n?"https://wordpress.com/learn/courses/newsletters-101/wordpress-com-newsletter":"https://jetpack.com/support/newsletter","learn_more_click")})}),(0,p.jsxs)("div",{children:[(0,p.jsx)("h3",{className:"newsletter-widget__heading",children:__("Quick Links","jetpack")}),(0,p.jsxs)("ul",{className:"newsletter-widget__footer-list",children:[(0,p.jsx)("li",{children:(0,p.jsx)("a",{href:`${t}post-new.php`,onClick:(0,d.R)(k,"publish_post_click"),children:__("Publish your next post","jetpack")})}),g&&(0,p.jsx)("li",{children:(0,h.j)(!0,(0,d.R8)(e,t),"view_stats_click",__("View subscriber stats","jetpack"))}),(0,p.jsx)("li",{children:(0,h.j)(n,(0,r.A)((0,d.Qj)(`subscribers/${e}`,n),{anchor:"add-subscribers"}),"import_subscribers_click",__("Import subscribers","jetpack"))}),(0,p.jsx)("li",{children:(0,h.j)(n,(0,r.A)((0,d.Qj)(`subscribers/${e}`,n)),"manage_subscribers_click",__("Manage subscribers","jetpack"))}),(0,p.jsx)("li",{children:(0,h.j)(n,(0,r.A)((0,d.Qj)(`${n?"earn":"monetize"}/${e}`,n)),"monetize_click",__("Monetize","jetpack"))}),x&&(0,p.jsx)("li",{children:(0,h.j)(!0,x,"newsletter_settings_click",__("Newsletter settings","jetpack"))})]})]})]})]})}},1984(e,t,n){"use strict";n.d(t,{w:()=>k});var r=n(5985),i=n(555),o=n(7700),s=n(6079),a=n(7553),c=n(7298),u=n(6087),l=n(7723),d=n(1720),h=n(4060),f=n(790);const __=l.__,p=(0,a.UM)({domain:["all","paid"],range:[d.hg.all,d.hg.paid]}),g=(0,c.mJ)({backgroundColor:"white",colors:[d.hg.all,d.hg.paid],gridColor:"#e0e0e0",gridColorDark:"#e0e0e0",tickLength:0,gridStyles:{strokeWidth:1},svgLabelSmall:{fill:"#1e1e1e",fontSize:13,fontWeight:400}}),m=e=>e.date,y=e=>e.all,v=e=>e.paid,w=e=>d.hg[e],b=e=>d.aH[e],A=({key:e,color:t,x:n,y:r})=>{const i=d.hg[e]||t;return(0,f.jsx)("circle",{cx:n,cy:r,r:4,fill:i,stroke:"white",strokeWidth:2},`glyph-${e}`)},x=({tooltipData:e})=>{if(!e?.nearestDatum)return null;const t=e.nearestDatum.datum,n=m(t);return(0,f.jsxs)(f.Fragment,{children:[(0,f.jsx)("div",{className:"subscribers-chart__tooltip-date",children:(0,h.Yq)(n,"full")}),(0,f.jsxs)("div",{className:"subscribers-chart__tooltip-stats",children:[(0,f.jsxs)("div",{className:"subscribers-chart__tooltip-stat",children:[(0,f.jsx)("div",{style:{backgroundColor:d.hg.all},className:"subscribers-chart__tooltip-indicator"}),(0,f.jsx)("span",{children:(0,l.sprintf)(
// translators: %s is the total number of subscribers.
__("All: %s","jetpack"),(0,h.ZV)(y(t)))})]}),(0,f.jsxs)("div",{className:"subscribers-chart__tooltip-stat",children:[(0,f.jsx)("div",{style:{backgroundColor:d.hg.paid},className:"subscribers-chart__tooltip-indicator"}),(0,f.jsx)("span",{children:(0,l.sprintf)(
// translators: %s is the number of paid subscribers.
__("Paid: %s","jetpack"),(0,h.ZV)(v(t)))})]})]})]})},k=({subscriberTotalsByDate:e})=>{const{tracks:t}=(0,r.st)();if((0,u.useEffect)(()=>{t.recordEvent(`${d.xe}chart_view`)},[t]),0===Object.keys(e).length)return(0,f.jsx)("div",{children:__("No data available","jetpack")});const n=(0,h.tX)(e);return(0,f.jsxs)(f.Fragment,{children:[(0,f.jsx)("div",{className:"subscribers-chart",children:(0,f.jsx)(s.Gc,{children:({width:e,height:t})=>e&&t?(0,f.jsxs)(c.C1,{height:t,width:e,xScale:{type:"time"},yScale:{type:"linear",nice:!0},theme:g,margin:{top:10,right:30,bottom:30,left:(0,h.oO)(n)},children:[(0,f.jsx)(c.xA,{columns:!1,numTicks:5}),(0,f.jsx)(c.Im,{dataKey:"all",data:n,xAccessor:m,yAccessor:y,colorAccessor:w,strokeWidth:2,curve:i.G}),(0,f.jsx)(c.Im,{dataKey:"paid",data:n,xAccessor:m,yAccessor:v,colorAccessor:w,strokeWidth:2,curve:i.G}),(0,f.jsx)(c._0,{orientation:"left",hideAxisLine:!0,hideTicks:!0,hideZero:!0,numTicks:5}),(0,f.jsx)(c._0,{orientation:"bottom",tickFormat:h.Ac,hideAxisLine:!0,hideTicks:!0,numTicks:5,tickValues:(0,h.NL)(n)}),(0,f.jsx)(c.m_,{showVerticalCrosshair:!0,showSeriesGlyphs:!0,className:"subscribers-chart__tooltip",renderTooltip:x,renderGlyph:A})]}):null})}),(0,f.jsx)(o.XR,{scale:p,direction:"row",labelFormat:b,shape:"circle",shapeWidth:10,shapeHeight:10,itemMargin:5,className:"subscribers-chart__legend"})]})}},1720(e,t,n){"use strict";n.d(t,{aH:()=>o,hg:()=>i,xe:()=>s});var r=n(7723);const __=r.__,i={all:"#3057dc",paid:"#e68b28"},o={all:__("All","jetpack"),paid:__("Paid","jetpack")},s="jetpack_newsletter_widget_"},4060(e,t,n){"use strict";n.d(t,{Ac:()=>u,NL:()=>l,Qj:()=>o,R:()=>i,R8:()=>s,Yq:()=>c,ZV:()=>a,oO:()=>h,tX:()=>d});var r=n(8443);const i=(e,t,n={})=>()=>{e.recordEvent(`jetpack_newsletter_widget_${t}`,n)},o=(e,t=!0)=>`https://${t?"wordpress.com":"cloud.jetpack.com"}/${e}`,s=(e,t)=>`${t}admin.php?page=stats#!/stats/subscribers/${e}`,a=e=>e.toLocaleString(),c=(e,t="short")=>"short"===t?(0,r.dateI18n)("M j",e):(0,r.dateI18n)("M j, Y",e),u=e=>c(e,"short"),l=e=>{if(e.length<2)return e.map(e=>e.date);const t=e[0].date,n=e[e.length-1].date,r=n.getTime()-t.getTime();return[t,new Date(t.getTime()+.25*r),new Date(t.getTime()+.5*r),new Date(t.getTime()+.75*r),n]},d=e=>Object.entries(e).map(([e,t])=>{const n=new Date(e);return isNaN(n.getTime())?null:{date:n,all:t?.all??0,paid:t?.paid??0}}).filter(Boolean).sort((e,t)=>e.date.getTime()-t.date.getTime()),h=e=>{if(0===e.length)return 30;const t=Math.max(...e.map(e=>Math.max(e.all||0,e.paid||0))).toString().length;return Math.max(30,8*t+10)}},67(e,t,n){t.formatArgs=function(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff),!this.useColors)return;const n="color: "+this.color;t.splice(1,0,n,"color: inherit");let r=0,i=0;t[0].replace(/%[a-zA-Z%]/g,e=>{"%%"!==e&&(r++,"%c"===e&&(i=r))}),t.splice(i,0,n)},t.save=function(e){try{e?t.storage.setItem("debug",e):t.storage.removeItem("debug")}catch(e){}},t.load=function(){let e;try{e=t.storage.getItem("debug")||t.storage.getItem("DEBUG")}catch(e){}!e&&"undefined"!=typeof process&&"env"in process&&(e=process.env.DEBUG);return e},t.useColors=function(){if("undefined"!=typeof window&&window.process&&("renderer"===window.process.type||window.process.__nwjs))return!0;if("undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;let e;return"undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&(e=navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/))&&parseInt(e[1],10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)},t.storage=function(){try{return localStorage}catch(e){}}(),t.destroy=(()=>{let e=!1;return()=>{e||(e=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})(),t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],t.log=console.debug||console.log||(()=>{}),e.exports=n(8926)(t);const{formatters:r}=e.exports;r.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}},8926(e,t,n){e.exports=function(e){function t(e){let n,i,o,s=null;function a(...e){if(!a.enabled)return;const r=a,i=Number(new Date),o=i-(n||i);r.diff=o,r.prev=n,r.curr=i,n=i,e[0]=t.coerce(e[0]),"string"!=typeof e[0]&&e.unshift("%O");let s=0;e[0]=e[0].replace(/%([a-zA-Z%])/g,(n,i)=>{if("%%"===n)return"%";s++;const o=t.formatters[i];if("function"==typeof o){const t=e[s];n=o.call(r,t),e.splice(s,1),s--}return n}),t.formatArgs.call(r,e);(r.log||t.log).apply(r,e)}return a.namespace=e,a.useColors=t.useColors(),a.color=t.selectColor(e),a.extend=r,a.destroy=t.destroy,Object.defineProperty(a,"enabled",{enumerable:!0,configurable:!1,get:()=>null!==s?s:(i!==t.namespaces&&(i=t.namespaces,o=t.enabled(e)),o),set:e=>{s=e}}),"function"==typeof t.init&&t.init(a),a}function r(e,n){const r=t(this.namespace+(void 0===n?":":n)+e);return r.log=this.log,r}function i(e,t){let n=0,r=0,i=-1,o=0;for(;n<e.length;)if(r<t.length&&(t[r]===e[n]||"*"===t[r]))"*"===t[r]?(i=r,o=n,r++):(n++,r++);else{if(-1===i)return!1;r=i+1,o++,n=o}for(;r<t.length&&"*"===t[r];)r++;return r===t.length}return t.debug=t,t.default=t,t.coerce=function(e){if(e instanceof Error)return e.stack||e.message;return e},t.disable=function(){const e=[...t.names,...t.skips.map(e=>"-"+e)].join(",");return t.enable(""),e},t.enable=function(e){t.save(e),t.namespaces=e,t.names=[],t.skips=[];const n=("string"==typeof e?e:"").trim().replace(/\s+/g,",").split(",").filter(Boolean);for(const e of n)"-"===e[0]?t.skips.push(e.slice(1)):t.names.push(e)},t.enabled=function(e){for(const n of t.skips)if(i(e,n))return!1;for(const n of t.names)if(i(e,n))return!0;return!1},t.humanize=n(4997),t.destroy=function(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")},Object.keys(e).forEach(n=>{t[n]=e[n]}),t.names=[],t.skips=[],t.formatters={},t.selectColor=function(e){let n=0;for(let t=0;t<e.length;t++)n=(n<<5)-n+e.charCodeAt(t),n|=0;return t.colors[Math.abs(n)%t.colors.length]},t.enable(t.load()),t}},4277(e){"use strict";e.exports={consumer_slug:"jetpack"}},7999(e){"use strict";e.exports=window.JetpackScriptDataModule},7687(e){"use strict";e.exports=window.JetpackSharedStores},1609(e){"use strict";e.exports=window.React},5795(e){"use strict";e.exports=window.ReactDOM},790(e){"use strict";e.exports=window.ReactJSXRuntime},1455(e){"use strict";e.exports=window.wp.apiFetch},6427(e){"use strict";e.exports=window.wp.components},9491(e){"use strict";e.exports=window.wp.compose},7143(e){"use strict";e.exports=window.wp.data},8443(e){"use strict";e.exports=window.wp.date},8490(e){"use strict";e.exports=window.wp.domReady},6087(e){"use strict";e.exports=window.wp.element},2619(e){"use strict";e.exports=window.wp.hooks},7723(e){"use strict";e.exports=window.wp.i18n},2279(e){"use strict";e.exports=window.wp.plugins},5573(e){"use strict";e.exports=window.wp.primitives},3832(e){"use strict";e.exports=window.wp.url},5868(e,t){var n;!function(){"use strict";var r={}.hasOwnProperty;function i(){for(var e="",t=0;t<arguments.length;t++){var n=arguments[t];n&&(e=s(e,o(n)))}return e}function o(e){if("string"==typeof e||"number"==typeof e)return e;if("object"!=typeof e)return"";if(Array.isArray(e))return i.apply(null,e);if(e.toString!==Object.prototype.toString&&!e.toString.toString().includes("[native code]"))return e.toString();var t="";for(var n in e)r.call(e,n)&&e[n]&&(t=s(t,n));return t}function s(e,t){return t?e?e+" "+t:e+t:e}e.exports?(i.default=i,e.exports=i):void 0===(n=function(){return i}.apply(t,[]))||(e.exports=n)}()},266(e,t,n){"use strict";function r(e,t){const n={};for(const r in e){const i=e[r];if(t?.hasOwnProperty(r)){const e=t[r](i);null!=e&&Object.assign(n,e);continue}!0===i?n[`data-${r.toLowerCase()}`]="":i&&(n[`data-${r.toLowerCase()}`]=i.toString())}return n}n.d(t,{v:()=>r})},3307(e,t,n){"use strict";n.d(t,{o:()=>f});var r=n(3169),i=n(1609),o=n(8970),s=n(8641),a=n(2452),c=n(2570),u=n(266),l=n(3850),d=n(1044),h=n(5339);function f(e,t,n={}){const f=t.render,g=function(e,t={}){const{className:n,style:r,render:i}=e,{state:f=c.t0,ref:p,props:g,stateAttributesMapping:m,enabled:y=!0}=t,v=y?(0,l.S)(n,f):void 0,w=y?(0,d.m)(r,f):void 0,b=y?(0,u.v)(f,m):c.t0,A=y&&g?function(e){if(Array.isArray(e))return(0,h.lZ)(e);return(0,h.v6)(void 0,e)}(g):void 0,x=y?(0,a.r)(b,A)??{}:c.t0;"undefined"!=typeof document&&(y?Array.isArray(p)?x.ref=(0,o.U)([x.ref,(0,s.v)(i),...p]):x.ref=(0,o.a)(x.ref,(0,s.v)(i),p):(0,o.a)(null,null));if(!y)return c.t0;void 0!==v&&(x.className=(0,h.VN)(x.className,v));void 0!==w&&(x.style=(0,a.r)(x.style,w));return x}(t,n);if(!1===n.enabled)return null;return function(e,t,n,o){if(t){if("function"==typeof t)return t(n,o);const e=(0,h.v6)(n,t.props);e.ref=n.ref;let r=t;if(r?.$$typeof===p){r=i.Children.toArray(t)[0]}return i.cloneElement(r,e)}if(e&&"string"==typeof e)return function(e,t){if("button"===e)return(0,i.createElement)("button",{type:"button",...t,key:t.key});if("img"===e)return(0,i.createElement)("img",{alt:"",...t,key:t.key});return i.createElement(e,t)}(e,n);throw new Error((0,r.A)(8))}(e,f,g,n.state??c.t0)}const p=Symbol.for("react.lazy")},5339(e,t,n){"use strict";n.d(t,{VN:()=>g,lZ:()=>s,v6:()=>o});var r=n(2452);const i={};function o(e,t,n,r,i){if(!(n||r||i||e))return a(t);let o=a(e);return t&&(o=c(o,t)),n&&(o=c(o,n)),r&&(o=c(o,r)),i&&(o=c(o,i)),o}function s(e){if(0===e.length)return i;if(1===e.length)return a(e[0]);let t=a(e[0]);for(let n=1;n<e.length;n+=1)t=c(t,e[n]);return t}function a(e){return l(e)?{...d(e,i)}:function(e){const t={...e};for(const e in t){const n=t[e];u(e,n)&&(t[e]=f(n))}return t}(e)}function c(e,t){return l(t)?d(t,e):function(e,t){if(!t)return e;for(const n in t){const i=t[n];switch(n){case"style":e[n]=(0,r.r)(e.style,i);break;case"className":e[n]=g(e.className,i);break;default:u(n,i)?e[n]=h(e[n],i):e[n]=i}}return e}(e,t)}function u(e,t){const n=e.charCodeAt(0),r=e.charCodeAt(1),i=e.charCodeAt(2);return 111===n&&110===r&&i>=65&&i<=90&&("function"==typeof t||void 0===t)}function l(e){return"function"==typeof e}function d(e,t){return l(e)?e(t):e??i}function h(e,t){return t?e?(...n)=>{const r=n[0];if(m(r)){const i=r;p(i);const o=t(...n);return i.baseUIHandlerPrevented||e?.(...n),o}const i=t(...n);return e?.(...n),i}:f(t):e}function f(e){return e?(...t)=>{const n=t[0];return m(n)&&p(n),e(...t)}:e}function p(e){return e.preventBaseUIHandler=()=>{e.baseUIHandlerPrevented=!0},e}function g(e,t){return t?e?t+" "+e:t:e}function m(e){return null!=e&&"object"==typeof e&&"nativeEvent"in e}},899(e,t,n){"use strict";n.d(t,{C:()=>i});var r=n(3307);function i(e){return(0,r.o)(e.defaultTagName??"div",e,e)}},3850(e,t,n){"use strict";function r(e,t){return"function"==typeof e?e(t):e}n.d(t,{S:()=>r})},1044(e,t,n){"use strict";function r(e,t){return"function"==typeof e?e(t):e}n.d(t,{m:()=>r})},2570(e,t,n){"use strict";n.d(t,{t0:()=>r});Object.freeze([]);const r=Object.freeze({})},3169(e,t,n){"use strict";n.d(t,{A:()=>o});var r,i;const o=(r="https://base-ui.com/production-error",i="Base UI",function(e,...t){const n=new URL(r);return n.searchParams.set("code",e.toString()),t.forEach(e=>n.searchParams.append("args[]",e)),`${i} error #${e}; visit ${n} for the full message.`})},8641(e,t,n){"use strict";n.d(t,{v:()=>o});var r=n(1609),i=n(3100);function o(e){if(!r.isValidElement(e))return null;const t=e,n=t.props;return((0,i._)(19)?n?.ref:t.ref)??null}},2452(e,t,n){"use strict";function r(e,t){return e&&!t?e:!e&&t?t:e||t?{...e,...t}:void 0}n.d(t,{r:()=>r})},3100(e,t,n){"use strict";n.d(t,{_:()=>o});var r=n(1609);const i=parseInt(r.version,10);function o(e){return i>=e}},8970(e,t,n){"use strict";n.d(t,{U:()=>o,a:()=>i});var r=n(1749);function i(e,t,n,i){const o=(0,r.j)(s).current;return function(e,t,n,r,i){return e.refs[0]!==t||e.refs[1]!==n||e.refs[2]!==r||e.refs[3]!==i}(o,e,t,n,i)&&a(o,[e,t,n,i]),o.callback}function o(e){const t=(0,r.j)(s).current;return function(e,t){return e.refs.length!==t.length||e.refs.some((e,n)=>e!==t[n])}(t,e)&&a(t,e),t.callback}function s(){return{callback:null,cleanup:null,refs:[]}}function a(e,t){e.refs=t,t.every(e=>null==e)?e.callback=null:e.callback=n=>{if(e.cleanup&&(e.cleanup(),e.cleanup=null),null!=n){const r=Array(t.length).fill(null);for(let e=0;e<t.length;e+=1){const i=t[e];if(null!=i)switch(typeof i){case"function":{const t=i(n);"function"==typeof t&&(r[e]=t);break}case"object":i.current=n}}e.cleanup=()=>{for(let e=0;e<t.length;e+=1){const n=t[e];if(null!=n)switch(typeof n){case"function":{const t=r[e];"function"==typeof t?t():n(null);break}case"object":n.current=null}}}}}}},1749(e,t,n){"use strict";n.d(t,{j:()=>o});var r=n(1609);const i={};function o(e,t){const n=r.useRef(i);return n.current===i&&(n.current=e(t)),n}},4935(e,t,n){"use strict";n.d(t,{$s:()=>f,Ao:()=>s,De:()=>A,SJ:()=>m,nm:()=>c,pS:()=>d,rf:()=>l,uX:()=>a});var r=n(1971),i=n(1609);const o=Symbol.for("Animated:node"),s=e=>e&&e[o],a=(e,t)=>(0,r.OX)(e,o,t),c=e=>e&&e[o]&&e[o].getPayload();var u=class{constructor(){a(this,this)}getPayload(){return this.payload||[]}},l=class e extends u{constructor(e){super(),this._value=e,this.done=!0,this.durationProgress=0,r.is.num(this._value)&&(this.lastPosition=this._value)}static create(t){return new e(t)}getPayload(){return[this]}getValue(){return this._value}setValue(e,t){return r.is.num(e)&&(this.lastPosition=e,t&&(e=Math.round(e/t)*t,this.done&&(this.lastPosition=e))),this._value!==e&&(this._value=e,!0)}reset(){const{done:e}=this;this.done=!1,r.is.num(this._value)&&(this.elapsedTime=0,this.durationProgress=0,this.lastPosition=this._value,e&&(this.lastVelocity=null),this.v0=null)}},d=class e extends l{constructor(e){super(0),this._string=null,this._toString=(0,r.kx)({output:[e,e]})}static create(t){return new e(t)}getValue(){const e=this._string;return e??(this._string=this._toString(this._value))}setValue(e){if(r.is.str(e)){if(e==this._string)return!1;this._string=e,this._value=1}else{if(!super.setValue(e))return!1;this._string=null}return!0}reset(e){e&&(this._toString=(0,r.kx)({output:[this.getValue(),e]})),this._value=0,super.reset()}};const h={dependencies:null};var f=class extends u{constructor(e){super(),this.source=e,this.setValue(e)}getValue(e){const t={};return(0,r.FI)(this.source,(n,i)=>{var s;(s=n)&&s[o]===s?t[i]=n.getValue(e):(0,r.at)(n)?t[i]=(0,r.oq)(n):e||(t[i]=n)}),t}setValue(e){this.source=e,this.payload=this._makePayload(e)}reset(){this.payload&&(0,r.HN)(this.payload,e=>e.reset())}_makePayload(e){if(e){const t=new Set;return(0,r.FI)(e,this._addToPayload,t),Array.from(t)}}_addToPayload(e){h.dependencies&&(0,r.at)(e)&&h.dependencies.add(e);const t=c(e);t&&(0,r.HN)(t,e=>this.add(e))}},p=class e extends f{constructor(e){super(e)}static create(t){return new e(t)}getValue(){return this.source.map(e=>e.getValue())}setValue(e){const t=this.getPayload();return e.length==t.length?t.map((t,n)=>t.setValue(e[n])).some(Boolean):(super.setValue(e.map(g)),!0)}};function g(e){return((0,r.$7)(e)?d:l).create(e)}function m(e){const t=s(e);return t?t.constructor:r.is.arr(e)?p:(0,r.$7)(e)?d:l}const y=(e,t)=>{const n=!r.is.fun(e)||e.prototype&&e.prototype.isReactComponent;return(0,i.forwardRef)((o,s)=>{const a=(0,i.useRef)(null),c=n&&(0,i.useCallback)(e=>{a.current=function(e,t){e&&(r.is.fun(e)?e(t):e.current=t);return t}(s,e)},[s]),[u,l]=function(e,t){const n=new Set;h.dependencies=n,e.style&&(e={...e,style:t.createAnimatedStyle(e.style)});return e=new f(e),h.dependencies=null,[e,n]}(o,t),d=(0,r.CH)(),p=()=>{const e=a.current;n&&!e||!1===(!!e&&t.applyAnimatedValues(e,u.getValue(!0)))&&d()},g=new v(p,l),m=(0,i.useRef)(void 0);(0,r.Es)(()=>(m.current=g,(0,r.HN)(l,e=>(0,r.Ec)(e,g)),()=>{m.current&&((0,r.HN)(m.current.deps,e=>(0,r.DV)(e,m.current)),r.er.cancel(m.current.update))})),(0,i.useEffect)(p,[]),(0,r.H5)(()=>()=>{const e=m.current;(0,r.HN)(e.deps,t=>(0,r.DV)(t,e))});const y=t.getComponentProps(u.getValue());return i.createElement(e,{...y,ref:c})})};var v=class{constructor(e,t){this.update=e,this.deps=t}eventObserved(e){"change"==e.type&&r.er.write(this.update)}};const w=Symbol.for("AnimatedComponent"),b=new WeakMap,A=(e,{applyAnimatedValues:t=()=>!1,createAnimatedStyle:n=e=>new f(e),getComponentProps:i=e=>e}={})=>{const o={applyAnimatedValues:t,createAnimatedStyle:n,getComponentProps:i},s=e=>{const t=x(e)||"Anonymous";if(r.is.str(e))e=s[e]||(s[e]=y(e,o));else{let t=e[w]??b.get(e);if(!t){t=y(e,o);try{e[w]=t}catch{}b.set(e,t)}e=t}return e.displayName=`Animated(${t})`,e};return(0,r.FI)(e,(t,n)=>{r.is.arr(e)&&(n=x(t)),s[n]=s(t)}),{animated:s}},x=e=>r.is.str(e)?e:e&&r.is.str(e.displayName)?e.displayName:r.is.fun(e)&&e.name||null},8847(e,t,n){"use strict";n.d(t,{RV:()=>r.RV});var r=n(1971),i=n(1609),o=n(4935);r.le.linear;Error,Error;const s=e=>e instanceof c;let a=1;var c=class extends r.aq{constructor(...e){super(...e),this.id=a++,this._priority=0}get priority(){return this._priority}set priority(e){this._priority!=e&&(this._priority=e,this._onPriorityChange(e))}get(){const e=(0,o.Ao)(this);return e&&e.getValue()}to(...e){return r.RV.to(this,e)}interpolate(...e){return(0,r.ZJ)(),r.RV.to(this,e)}toJSON(){return this.get()}observerAdded(e){1==e&&this._attach()}observerRemoved(e){0==e&&this._detach()}_attach(){}_detach(){}_onChange(e,t=!1){(0,r.MI)(this,{type:"change",parent:this,value:e,idle:t})}_onPriorityChange(e){this.idle||r.WU.sort(this),(0,r.MI)(this,{type:"priority",parent:this,priority:e})}};Symbol.for("SpringPhase");i.createContext({pause:!1,immediate:!1});var u=class extends c{constructor(e,t){super(),this.source=e,this.idle=!0,this._active=new Set,this.calc=(0,r.kx)(...t);const n=this._get(),i=(0,o.SJ)(n);(0,o.uX)(this,i.create(n))}advance(e){const t=this._get();(0,r.n4)(t,this.get())||((0,o.Ao)(this).setValue(t),this._onChange(t,this.idle)),!this.idle&&d(this._active)&&h(this)}_get(){const e=r.is.arr(this.source)?this.source.map(r.oq):(0,r.$r)((0,r.oq)(this.source));return this.calc(...e)}_start(){this.idle&&!d(this._active)&&(this.idle=!1,(0,r.HN)((0,o.nm)(this),e=>{e.done=!1}),r.RV.skipAnimation?(r.er.batchedUpdates(()=>this.advance()),h(this)):r.WU.start(this))}_attach(){let e=1;(0,r.HN)((0,r.$r)(this.source),t=>{(0,r.at)(t)&&(0,r.Ec)(t,this),s(t)&&(t.idle||this._active.add(t),e=Math.max(e,t.priority+1))}),this.priority=e,this._start()}_detach(){(0,r.HN)((0,r.$r)(this.source),e=>{(0,r.at)(e)&&(0,r.DV)(e,this)}),this._active.clear(),h(this)}eventObserved(e){"change"==e.type?e.idle?this.advance():(this._active.add(e.parent),this._start()):"idle"==e.type?this._active.delete(e.parent):"priority"==e.type&&(this.priority=(0,r.$r)(this.source).reduce((e,t)=>Math.max(e,(s(t)?t.priority:0)+1),0))}};function l(e){return!1!==e.idle}function d(e){return!e.size||Array.from(e).every(l)}function h(e){e.idle||(e.idle=!0,(0,r.HN)((0,o.nm)(e),e=>{e.done=!0}),(0,r.MI)(e,{type:"idle",parent:e}))}r.RV.assign({createStringInterpolator:r.Rs,to:(e,t)=>new u(e,t)});r.WU.advance},4327(e,t,n){"use strict";n.d(t,{e:()=>i});let r=w();const i=e=>g(e,r);let o=w();i.write=e=>g(e,o);let s=w();i.onStart=e=>g(e,s);let a=w();i.onFrame=e=>g(e,a);let c=w();i.onFinish=e=>g(e,c);let u=[];i.setTimeout=(e,t)=>{const n=i.now()+t,r=()=>{const e=u.findIndex(e=>e.cancel==r);~e&&u.splice(e,1),f-=~e?1:0},o={time:n,handler:e,cancel:r};return u.splice(l(n),0,o),f+=1,m(),o};const l=e=>~(~u.findIndex(t=>t.time>e)||~u.length);i.cancel=e=>{s.delete(e),a.delete(e),c.delete(e),r.delete(e),o.delete(e)},i.sync=e=>{p=!0,i.batchedUpdates(e),p=!1},i.throttle=e=>{let t;function n(){try{e(...t)}finally{t=null}}function r(...e){t=e,i.onStart(n)}return r.handler=e,r.cancel=()=>{s.delete(n),t=null},r};let d="undefined"!=typeof window?window.requestAnimationFrame:()=>{};i.use=e=>d=e,i.now="undefined"!=typeof performance?()=>performance.now():Date.now,i.batchedUpdates=e=>e(),i.catch=console.error,i.frameLoop="always",i.onDemand=()=>{},i.advance=()=>{"demand"!==i.frameLoop?console.warn("Cannot call the manual advancement of rafz whilst frameLoop is not set as demand"):v()};let h=-1,f=0,p=!1;function g(e,t){p?(t.delete(e),e(0)):(t.add(e),m(),"demand"===i.frameLoop&&i.onDemand())}function m(){h<0&&(h=0,"demand"!==i.frameLoop&&d(y))}function y(){~h&&(d(y),i.batchedUpdates(v))}function v(){const e=h;h=i.now();const t=l(h);t&&(b(u.splice(0,t),e=>e.handler()),f-=t),f?(s.flush(),r.flush(e?Math.min(64,h-e):16.667),a.flush(),o.flush(),c.flush(),"demand"===i.frameLoop&&f>0&&i.onDemand()):h=-1}function w(){let e=new Set,t=e;return{add(n){f+=t!=e||e.has(n)?0:1,e.add(n)},delete:n=>(f-=t==e&&e.has(n)?1:0,e.delete(n)),flush(n){t.size&&(e=new Set,f-=t.size,b(t,t=>t(n)&&e.add(t)),f+=e.size,t=e)}}}function b(e,t){e.forEach(e=>{try{t(e)}catch(e){i.catch(e)}})}},2136(e,t,n){"use strict";n.d(t,{t:()=>i});var r=Object.defineProperty,i=(e,t)=>{let n={};for(var i in e)r(n,i,{get:e[i],enumerable:!0});return t||r(n,Symbol.toStringTag,{value:"Module"}),n}},1971(e,t,n){"use strict";n.d(t,{$7:()=>Ee,$r:()=>d,CH:()=>Oe,DV:()=>fe,Ec:()=>he,Es:()=>Te,FI:()=>l,H5:()=>Pe,HN:()=>u,MI:()=>ue,OX:()=>s,RV:()=>g,Rs:()=>Ce,Tj:()=>T,WU:()=>M,Wd:()=>f,Wg:()=>ce,ZJ:()=>je,aq:()=>le,at:()=>se,bX:()=>h,er:()=>i.e,is:()=>a,kx:()=>Z,le:()=>re,n4:()=>c,oq:()=>ae});var r=n(2136),i=n(4327),o=n(1609);const s=(e,t,n)=>Object.defineProperty(e,t,{value:n,writable:!0,configurable:!0}),a={arr:Array.isArray,obj:e=>!!e&&"Object"===e.constructor.name,fun:e=>"function"==typeof e,str:e=>"string"==typeof e,num:e=>"number"==typeof e,und:e=>void 0===e};function c(e,t){if(a.arr(e)){if(!a.arr(t)||e.length!==t.length)return!1;for(let n=0;n<e.length;n++)if(e[n]!==t[n])return!1;return!0}return e===t}const u=(e,t)=>e.forEach(t);function l(e,t,n){if(a.arr(e))for(let r=0;r<e.length;r++)t.call(n,e[r],`${r}`);else for(const r in e)e.hasOwnProperty(r)&&t.call(n,e[r],r)}const d=e=>a.und(e)?[]:a.arr(e)?e:[e];function h(e,t){if(e.size){const n=Array.from(e);e.clear(),u(n,t)}}const f=(e,...t)=>h(e,e=>e(...t)),p=()=>"undefined"==typeof window||!window.navigator||/ServerSideRendering|^Deno\//.test(window.navigator.userAgent);var g=(0,r.t)({assign:()=>A,colors:()=>v,createStringInterpolator:()=>m,skipAnimation:()=>w,to:()=>y,willAdvance:()=>b});let m,y,v=null,w=!1,b=function(){};const A=e=>{e.to&&(y=e.to),e.now&&(i.e.now=e.now),void 0!==e.colors&&(v=e.colors),null!=e.skipAnimation&&(w=e.skipAnimation),e.createStringInterpolator&&(m=e.createStringInterpolator),e.requestAnimationFrame&&i.e.use(e.requestAnimationFrame),e.batchedUpdates&&(i.e.batchedUpdates=e.batchedUpdates),e.willAdvance&&(b=e.willAdvance),e.frameLoop&&(i.e.frameLoop=e.frameLoop),e.onDemand&&(i.e.onDemand=e.onDemand)},x=new Set;let k=[],_=[],C=0;const M={get idle(){return!x.size&&!k.length},start(e){C>e.priority?(x.add(e),i.e.onStart(S)):(N(e),(0,i.e)(E))},advance:E,sort(e){if(C)i.e.onFrame(()=>M.sort(e));else{const t=k.indexOf(e);~t&&(k.splice(t,1),j(e))}},clear(){k=[],x.clear()}};function S(){x.forEach(N),x.clear(),(0,i.e)(E)}function N(e){k.includes(e)||j(e)}function j(e){k.splice(function(e,t){const n=e.findIndex(t);return n<0?e.length:n}(k,t=>t.priority>e.priority),0,e)}function E(e){const t=_;for(let n=0;n<k.length;n++){const r=k[n];C=r.priority,r.idle||(b(r),r.advance(e),r.idle||t.push(r))}return C=0,_=k,_.length=0,k=t,k.length>0}const T={transparent:0,aliceblue:4042850303,antiquewhite:4209760255,aqua:16777215,aquamarine:2147472639,azure:4043309055,beige:4126530815,bisque:4293182719,black:255,blanchedalmond:4293643775,blue:65535,blueviolet:2318131967,brown:2771004159,burlywood:3736635391,burntsienna:3934150143,cadetblue:1604231423,chartreuse:2147418367,chocolate:3530104575,coral:4286533887,cornflowerblue:1687547391,cornsilk:4294499583,crimson:3692313855,cyan:16777215,darkblue:35839,darkcyan:9145343,darkgoldenrod:3095792639,darkgray:2846468607,darkgreen:6553855,darkgrey:2846468607,darkkhaki:3182914559,darkmagenta:2332068863,darkolivegreen:1433087999,darkorange:4287365375,darkorchid:2570243327,darkred:2332033279,darksalmon:3918953215,darkseagreen:2411499519,darkslateblue:1211993087,darkslategray:793726975,darkslategrey:793726975,darkturquoise:13554175,darkviolet:2483082239,deeppink:4279538687,deepskyblue:12582911,dimgray:1768516095,dimgrey:1768516095,dodgerblue:512819199,firebrick:2988581631,floralwhite:4294635775,forestgreen:579543807,fuchsia:4278255615,gainsboro:3705462015,ghostwhite:4177068031,gold:4292280575,goldenrod:3668254975,gray:2155905279,green:8388863,greenyellow:2919182335,grey:2155905279,honeydew:4043305215,hotpink:4285117695,indianred:3445382399,indigo:1258324735,ivory:4294963455,khaki:4041641215,lavender:3873897215,lavenderblush:4293981695,lawngreen:2096890111,lemonchiffon:4294626815,lightblue:2916673279,lightcoral:4034953471,lightcyan:3774873599,lightgoldenrodyellow:4210742015,lightgray:3553874943,lightgreen:2431553791,lightgrey:3553874943,lightpink:4290167295,lightsalmon:4288707327,lightseagreen:548580095,lightskyblue:2278488831,lightslategray:2005441023,lightslategrey:2005441023,lightsteelblue:2965692159,lightyellow:4294959359,lime:16711935,limegreen:852308735,linen:4210091775,magenta:4278255615,maroon:2147483903,mediumaquamarine:1724754687,mediumblue:52735,mediumorchid:3126187007,mediumpurple:2473647103,mediumseagreen:1018393087,mediumslateblue:2070474495,mediumspringgreen:16423679,mediumturquoise:1221709055,mediumvioletred:3340076543,midnightblue:421097727,mintcream:4127193855,mistyrose:4293190143,moccasin:4293178879,navajowhite:4292783615,navy:33023,oldlace:4260751103,olive:2155872511,olivedrab:1804477439,orange:4289003775,orangered:4282712319,orchid:3664828159,palegoldenrod:4008225535,palegreen:2566625535,paleturquoise:2951671551,palevioletred:3681588223,papayawhip:4293907967,peachpuff:4292524543,peru:3448061951,pink:4290825215,plum:3718307327,powderblue:2967529215,purple:2147516671,rebeccapurple:1714657791,red:4278190335,rosybrown:3163525119,royalblue:1097458175,saddlebrown:2336560127,salmon:4202722047,sandybrown:4104413439,seagreen:780883967,seashell:4294307583,sienna:2689740287,silver:3233857791,skyblue:2278484991,slateblue:1784335871,slategray:1887473919,slategrey:1887473919,snow:4294638335,springgreen:16744447,steelblue:1182971135,tan:3535047935,teal:8421631,thistle:3636451583,tomato:4284696575,turquoise:1088475391,violet:4001558271,wheat:4125012991,white:4294967295,whitesmoke:4126537215,yellow:4294902015,yellowgreen:2597139199},O="[-+]?\\d*\\.?\\d+",P="[-+]?\\d*\\.?\\d+%";function $(...e){return"\\(\\s*("+e.join(")\\s*,\\s*(")+")\\s*\\)"}const R=new RegExp("rgb"+$(O,O,O)),D=new RegExp("rgba"+$(O,O,O,O)),I=new RegExp("hsl"+$(O,P,P)),U=new RegExp("hsla"+$(O,P,P,O)),F=/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,L=/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,z=/^#([0-9a-fA-F]{6})$/,H=/^#([0-9a-fA-F]{8})$/;function B(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+6*(t-e)*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function V(e,t,n){const r=n<.5?n*(1+t):n+t-n*t,i=2*n-r,o=B(i,r,e+1/3),s=B(i,r,e),a=B(i,r,e-1/3);return Math.round(255*o)<<24|Math.round(255*s)<<16|Math.round(255*a)<<8}function W(e){const t=parseInt(e,10);return t<0?0:t>255?255:t}function q(e){return(parseFloat(e)%360+360)%360/360}function Y(e){const t=parseFloat(e);return t<0?0:t>1?255:Math.round(255*t)}function J(e){const t=parseFloat(e);return t<0?0:t>100?1:t/100}function G(e){let t=function(e){let t;return"number"==typeof e?e>>>0===e&&e>=0&&e<=4294967295?e:null:(t=z.exec(e))?parseInt(t[1]+"ff",16)>>>0:v&&void 0!==v[e]?v[e]:(t=R.exec(e))?(W(t[1])<<24|W(t[2])<<16|W(t[3])<<8|255)>>>0:(t=D.exec(e))?(W(t[1])<<24|W(t[2])<<16|W(t[3])<<8|Y(t[4]))>>>0:(t=F.exec(e))?parseInt(t[1]+t[1]+t[2]+t[2]+t[3]+t[3]+"ff",16)>>>0:(t=H.exec(e))?parseInt(t[1],16)>>>0:(t=L.exec(e))?parseInt(t[1]+t[1]+t[2]+t[2]+t[3]+t[3]+t[4]+t[4],16)>>>0:(t=I.exec(e))?(255|V(q(t[1]),J(t[2]),J(t[3])))>>>0:(t=U.exec(e))?(V(q(t[1]),J(t[2]),J(t[3]))|Y(t[4]))>>>0:null}(e);return null===t?e:(t=t||0,`rgba(${(4278190080&t)>>>24}, ${(16711680&t)>>>16}, ${(65280&t)>>>8}, ${(255&t)/255})`)}const Z=(e,t,n)=>{if(a.fun(e))return e;if(a.arr(e))return Z({range:e,output:t,extrapolate:n});if(a.str(e.output[0]))return m(e);const r=e,i=r.output,o=r.range||[0,1],s=r.extrapolateLeft||r.extrapolate||"extend",c=r.extrapolateRight||r.extrapolate||"extend",u=r.easing||(e=>e);return e=>{const t=function(e,t){for(var n=1;n<t.length-1&&!(t[n]>=e);++n);return n-1}(e,o);return function(e,t,n,r,i,o,s,a,c){let u=c?c(e):e;if(u<t){if("identity"===s)return u;"clamp"===s&&(u=t)}if(u>n){if("identity"===a)return u;"clamp"===a&&(u=n)}if(r===i)return r;if(t===n)return e<=t?r:i;t===-1/0?u=-u:n===1/0?u-=t:u=(u-t)/(n-t);u=o(u),r===-1/0?u=-u:i===1/0?u+=r:u=u*(i-r)+r;return u}(e,o[t],o[t+1],i[t],i[t+1],u,s,c,r.map)}};const X=1.70158,Q=1.525*X,K=2.70158,ee=2*Math.PI/3,te=2*Math.PI/4.5,ne=e=>{const t=7.5625,n=2.75;return e<1/n?t*e*e:e<2/n?t*(e-=1.5/n)*e+.75:e<2.5/n?t*(e-=2.25/n)*e+.9375:t*(e-=2.625/n)*e+.984375},re={linear:e=>e,easeInQuad:e=>e*e,easeOutQuad:e=>1-(1-e)*(1-e),easeInOutQuad:e=>e<.5?2*e*e:1-Math.pow(-2*e+2,2)/2,easeInCubic:e=>e*e*e,easeOutCubic:e=>1-Math.pow(1-e,3),easeInOutCubic:e=>e<.5?4*e*e*e:1-Math.pow(-2*e+2,3)/2,easeInQuart:e=>e*e*e*e,easeOutQuart:e=>1-Math.pow(1-e,4),easeInOutQuart:e=>e<.5?8*e*e*e*e:1-Math.pow(-2*e+2,4)/2,easeInQuint:e=>e*e*e*e*e,easeOutQuint:e=>1-Math.pow(1-e,5),easeInOutQuint:e=>e<.5?16*e*e*e*e*e:1-Math.pow(-2*e+2,5)/2,easeInSine:e=>1-Math.cos(e*Math.PI/2),easeOutSine:e=>Math.sin(e*Math.PI/2),easeInOutSine:e=>-(Math.cos(Math.PI*e)-1)/2,easeInExpo:e=>0===e?0:Math.pow(2,10*e-10),easeOutExpo:e=>1===e?1:1-Math.pow(2,-10*e),easeInOutExpo:e=>0===e?0:1===e?1:e<.5?Math.pow(2,20*e-10)/2:(2-Math.pow(2,-20*e+10))/2,easeInCirc:e=>1-Math.sqrt(1-Math.pow(e,2)),easeOutCirc:e=>Math.sqrt(1-Math.pow(e-1,2)),easeInOutCirc:e=>e<.5?(1-Math.sqrt(1-Math.pow(2*e,2)))/2:(Math.sqrt(1-Math.pow(-2*e+2,2))+1)/2,easeInBack:e=>K*e*e*e-X*e*e,easeOutBack:e=>1+K*Math.pow(e-1,3)+X*Math.pow(e-1,2),easeInOutBack:e=>e<.5?Math.pow(2*e,2)*(7.189819*e-Q)/2:(Math.pow(2*e-2,2)*(3.5949095*(2*e-2)+Q)+2)/2,easeInElastic:e=>0===e?0:1===e?1:-Math.pow(2,10*e-10)*Math.sin((10*e-10.75)*ee),easeOutElastic:e=>0===e?0:1===e?1:Math.pow(2,-10*e)*Math.sin((10*e-.75)*ee)+1,easeInOutElastic:e=>0===e?0:1===e?1:e<.5?-Math.pow(2,20*e-10)*Math.sin((20*e-11.125)*te)/2:Math.pow(2,-20*e+10)*Math.sin((20*e-11.125)*te)/2+1,easeInBounce:e=>1-ne(1-e),easeOutBounce:ne,easeInOutBounce:e=>e<.5?(1-ne(1-2*e))/2:(1+ne(2*e-1))/2,steps:(e,t="end")=>n=>{const r=(n="end"===t?Math.min(n,.999):Math.max(n,.001))*e;return i=0,o=1,s=("end"===t?Math.floor(r):Math.ceil(r))/e,Math.min(Math.max(s,i),o);var i,o,s}},ie=Symbol.for("FluidValue.get"),oe=Symbol.for("FluidValue.observers"),se=e=>Boolean(e&&e[ie]),ae=e=>e&&e[ie]?e[ie]():e,ce=e=>e[oe]||null;function ue(e,t){const n=e[oe];n&&n.forEach(e=>{!function(e,t){e.eventObserved?e.eventObserved(t):e(t)}(e,t)})}var le=class{constructor(e){if(!e&&!(e=this.get))throw Error("Unknown getter");de(this,e)}};const de=(e,t)=>pe(e,ie,t);function he(e,t){if(e[ie]){let n=e[oe];n||pe(e,oe,n=new Set),n.has(t)||(n.add(t),e.observerAdded&&e.observerAdded(n.size,t))}return t}function fe(e,t){const n=e[oe];if(n&&n.has(t)){const r=n.size-1;r?n.delete(t):e[oe]=null,e.observerRemoved&&e.observerRemoved(r,t)}}const pe=(e,t,n)=>Object.defineProperty(e,t,{value:n,writable:!0,configurable:!0}),ge=/[+\-]?(?:0|[1-9]\d*)(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,me=/(#(?:[0-9a-f]{2}){2,4}|(#[0-9a-f]{3})|(rgb|hsl)a?\((-?\d+%?[,\s]+){2,3}\s*[\d\.]+%?\))/gi,ye=new RegExp(`(${ge.source})(%|[a-z]+)`,"i"),ve=/rgba\(([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+)\)/gi,we=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/,be=e=>{const[t,n]=Ae(e);if(!t||p())return e;const r=window.getComputedStyle(document.documentElement).getPropertyValue(t);if(r)return r.trim();if(n&&n.startsWith("--")){const t=window.getComputedStyle(document.documentElement).getPropertyValue(n);return t||e}return n&&we.test(n)?be(n):n||e},Ae=e=>{const t=we.exec(e);if(!t)return[,];const[,n,r]=t;return[n,r]};let xe;const ke=(e,t,n,r,i)=>`rgba(${Math.round(t)}, ${Math.round(n)}, ${Math.round(r)}, ${i})`,_e=e=>e.match(ge)??[],Ce=e=>{xe||(xe=v?new RegExp(`(${Object.keys(v).join("|")})(?!\\w)`,"g"):/^\b$/);const t=e.output.map(e=>ae(e).replace(we,be).replace(me,G).replace(xe,G)),n=t.map(e=>_e(e).map(Number)),r=n[0].map((e,t)=>n.map(e=>{if(!(t in e))throw Error('The arity of each "output" value must be equal');return e[t]})).map(t=>Z({...e,output:t})),i=e.range||[0,1],o=t.map(e=>_e(e)),s=o[0].map((e,t)=>{const n=o.map(e=>{const n=e[t],r=n.indexOf(".");return-1===r?0:n.length-r-1});return n.every(e=>e===n[0])&&n[0]>0?n[0]:null});return e=>{const n=i.indexOf(e);if(-1!==n)return t[n];const o=!ye.test(t[0])&&t.find(e=>ye.test(e))?.replace(ge,"");let a=0;return t[0].replace(ge,()=>{const t=a++,n=r[t](e),i=s[t];return`${null!=i?n.toFixed(i):n}${o||""}`}).replace(ve,ke)}},Me="react-spring: ",Se=e=>{const t=e;let n=!1;if("function"!=typeof t)throw new TypeError(`${Me}once requires a function parameter`);return(...e)=>{n||(t(...e),n=!0)}},Ne=Se(console.warn);function je(){Ne(`${Me}The "interpolate" function is deprecated in v9 (use "to" instead)`)}Se(console.warn);function Ee(e){return a.str(e)&&("#"==e[0]||/\d/.test(e)||!p()&&we.test(e)||e in(v||{}))}const Te=p()?o.useEffect:o.useLayoutEffect;function Oe(){const e=(0,o.useState)()[1],t=(()=>{const e=(0,o.useRef)(!1);return Te(()=>(e.current=!0,()=>{e.current=!1}),[]),e})();return()=>{t.current&&e(Math.random())}}const Pe=e=>(0,o.useEffect)(e,$e),$e=[]},6245(e,t,n){"use strict";var r=n(8847),i=n(5795),o=n(1971),s=n(4935);const a=/^--/;function c(e,t){return null==t||"boolean"==typeof t||""===t?"":"number"!=typeof t||0===t||a.test(e)||l.hasOwnProperty(e)&&l[e]?(""+t).trim():t+"px"}const u={};let l={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0};const d=["Webkit","Ms","Moz","O"];l=Object.keys(l).reduce((e,t)=>(d.forEach(n=>e[((e,t)=>e+t.charAt(0).toUpperCase()+t.substring(1))(n,t)]=e[t]),e),l);const h=/^(matrix3d|matrix|translate3d|translate[XYZ]?|scale3d|scale[XYZ]?|rotate3d|rotate[XYZ]?|skew[XY]?)$/,f=/^(translate)/,p=/^(rotate|skew)/,g=(e,t)=>o.is.num(e)&&0!==e?e+t:e,m=(e,t)=>o.is.arr(e)?e.every(e=>m(e,t)):o.is.num(e)?e===t:parseFloat(e)===t;var y=class extends s.$s{constructor({x:e,y:t,z:n,...r}){const i=[],s=[];(e||t||n)&&(i.push([e||0,t||0,n||0]),s.push(e=>[`translate3d(${e.map(e=>g(e,"px")).join(",")})`,m(e,0)])),(0,o.FI)(r,(e,t)=>{if("transform"===t)i.push([e||""]),s.push(e=>[e,""===e]);else if(h.test(t)){if(delete r[t],o.is.und(e))return;const n=f.test(t)?"px":p.test(t)?"deg":"";i.push((0,o.$r)(e)),s.push("rotate3d"===t?([e,t,r,i])=>[`rotate3d(${e},${t},${r},${g(i,n)})`,m(i,0)]:e=>[`${t}(${e.map(e=>g(e,n)).join(",")})`,m(e,t.startsWith("scale")?1:0)])}}),i.length&&(r.transform=new v(i,s)),super(r)}},v=class extends o.aq{constructor(e,t){super(),this.inputs=e,this.transforms=t,this._value=null}get(){return this._value||(this._value=this._get())}_get(){let e="",t=!0;return(0,o.HN)(this.inputs,(n,r)=>{const i=(0,o.oq)(n[0]),[s,a]=this.transforms[r](o.is.arr(i)?i:n.map(o.oq));e+=" "+s,t=t&&a}),t?"none":e}observerAdded(e){1==e&&(0,o.HN)(this.inputs,e=>(0,o.HN)(e,e=>(0,o.at)(e)&&(0,o.Ec)(e,this)))}observerRemoved(e){0==e&&(0,o.HN)(this.inputs,e=>(0,o.HN)(e,e=>(0,o.at)(e)&&(0,o.DV)(e,this)))}eventObserved(e){"change"==e.type&&(this._value=null),(0,o.MI)(this,e)}};r.RV.assign({batchedUpdates:i.unstable_batchedUpdates,createStringInterpolator:o.Rs,colors:o.Tj});(0,s.De)(["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"],{applyAnimatedValues:function(e,t){if(!e.nodeType||!e.setAttribute||!e.removeAttribute)return!1;const n="filter"===e.nodeName||e.parentNode&&"filter"===e.parentNode.nodeName,{className:r,style:i,children:o,scrollTop:s,scrollLeft:l,viewBox:d,...h}=t,f=Object.values(h),p=Object.keys(h).map(t=>n||e.hasAttribute(t)?t:u[t]||(u[t]=t.replace(/([A-Z])/g,e=>"-"+e.toLowerCase())));t.hasOwnProperty("children")&&(e.textContent=o);for(const t in i)if(i.hasOwnProperty(t)){const n=c(t,i[t]);a.test(t)?e.style.setProperty(t,n):e.style[t]=n}p.forEach((t,n)=>{const r=f[n];void 0!==r?e.setAttribute(t,r):e.removeAttribute(t)}),t.hasOwnProperty("className")&&(void 0!==r?e.className=r:e.removeAttribute("class")),void 0!==s&&(e.scrollTop=s),void 0!==l&&(e.scrollLeft=l),t.hasOwnProperty("viewBox")&&(void 0!==d?e.setAttribute("viewBox",d):e.removeAttribute("viewBox"))},createAnimatedStyle:e=>new y(e),getComponentProps:({scrollTop:e,scrollLeft:t,...n})=>n}).animated},8040(e,t,n){"use strict";n(1609),n(3316),n(790)},217(e,t,n){"use strict";n(1609),n(5868),n(3316),n(790)},3622(e,t,n){"use strict";n(1609),n(5868),n(3316),n(790)},6496(e,t,n){"use strict";n(1609),n(2503),n(8040),n(790)},6460(e,t,n){"use strict";n(1609),n(5868),n(6476),n(3316),n(9456),n(790)},8359(e,t,n){"use strict";n(1609),n(5868),n(6476),n(466),n(3316),n(9456),n(790)},9456(e,t,n){"use strict";n(790)},6591(e,t,n){"use strict";n(1609),n(5868),n(3316),n(790)},3316(e,t,n){"use strict";n(1609)},3464(e,t,n){"use strict";n(3622),n(8359),n(6460),n(217),n(6591),n(8040),n(6496),n(3316)},5587(e,t,n){"use strict";n.d(t,{A:()=>f});var r=n(5868),i=n(6476),o=n(7553),s=n(2696),a=n(7232),c=n(5105),u=n(996),l=n(5988),d=n(1967),h=n(790);function f(e){let{children:t=s.A,axisClassName:n,hideAxisLine:f=!1,hideTicks:p=!1,hideZero:g=!1,innerRef:m,left:y=0,numTicks:v=10,orientation:w=l.A.bottom,rangePadding:b=0,scale:A,tickFormat:x,tickLength:k=8,tickValues:_,top:C=0,...M}=e;const S=x??(0,c.A)(A),N=w===l.A.left,j=w===l.A.top,E=j||w===l.A.bottom,T=(0,a.A)(A),O=N||j?-1:1,P=A.range(),$=(0,d.A)(b),R=(0,u.A)({x:Number(P[0])+.5-$.start,y:0},E),D=(0,u.A)({x:Number(P[P.length-1])+.5+$.end,y:0},E),I=(_??(0,o.fC)(A,v)).filter(e=>!g||0!==e&&"0"!==e).map((e,t)=>({value:e,index:t})),U=I.map(e=>{let{value:t,index:n}=e;const r=(0,o.NU)(T(t));return{value:t,index:n,from:(0,u.A)({x:r,y:0},E),to:(0,u.A)({x:r,y:k*O},E),formattedValue:S(t,n,I)}});return(0,h.jsx)(i.Y,{className:r("visx-axis",n),innerRef:m,top:C,left:y,children:t({...M,axisFromPoint:R,axisToPoint:D,hideAxisLine:f,hideTicks:p,hideZero:g,horizontal:E,numTicks:v,orientation:w,rangePadding:b,scale:A,tickFormat:S,tickLength:k,tickPosition:T,tickSign:O,ticks:U})})}},1628(e,t,n){"use strict";n(5868),n(5587),n(790)},8094(e,t,n){"use strict";n(5868),n(5587),n(790)},2696(e,t,n){"use strict";n.d(t,{A:()=>d});var r=n(5868),i=n(8042),o=n(466),s=n(324),a=n(5988),c=n(3118),u=n(790);const l={textAnchor:"middle",fontFamily:"Arial",fontSize:10,fill:"#222"};function d(e){let{axisFromPoint:t,axisLineClassName:n,axisToPoint:d,hideAxisLine:h,hideTicks:f,horizontal:p,label:g="",labelClassName:m,labelOffset:y=14,labelProps:v,orientation:w=a.A.bottom,scale:b,stroke:A="#222",strokeDasharray:x,strokeWidth:k=1,tickClassName:_,tickComponent:C,tickLineProps:M,tickLabelProps:S,tickLength:N=8,tickStroke:j="#222",tickTransform:E,ticks:T,ticksComponent:O=c.A}=e;const P={...l,...v},$={...l,..."object"==typeof S?S:null},R=T.map(e=>{let{value:t,index:n}=e;return"function"==typeof S?S(t,n,T):$}),D=Math.max(10,...R.map(e=>"number"==typeof e.fontSize?e.fontSize:0));return(0,u.jsxs)(u.Fragment,{children:[O({hideTicks:f,horizontal:p,orientation:w,scale:b,tickClassName:_,tickComponent:C,tickLabelProps:R,tickStroke:j,tickTransform:E,ticks:T,strokeWidth:k,tickLineProps:M}),!h&&(0,u.jsx)(i.N1,{className:r("visx-axis-line",n),from:t,to:d,stroke:A,strokeWidth:k,strokeDasharray:x}),g&&(0,u.jsx)(o.EY,{className:r("visx-axis-label",m),...(0,s.A)({labelOffset:y,labelProps:P,orientation:w,range:b.range(),tickLabelFontSize:D,tickLength:N}),...P,children:g})]})}},2889(e,t,n){"use strict";n(5868),n(5587),n(790)},8964(e,t,n){"use strict";n(5868),n(5587),n(790)},3118(e,t,n){"use strict";n.d(t,{A:()=>u});var r=n(5868),i=n(8042),o=n(6476),s=n(466),a=n(5988),c=n(790);function u(e){let{hideTicks:t,horizontal:n,orientation:u,tickClassName:l,tickComponent:d,tickLabelProps:h,tickStroke:f="#222",tickTransform:p,ticks:g,strokeWidth:m,tickLineProps:y}=e;return g.map(e=>{let{value:g,index:v,from:w,to:b,formattedValue:A}=e;const x=h[v]??{},k=Math.max(10,"number"==typeof x.fontSize&&x.fontSize||0),_=b.y+(n&&u!==a.A.top?k:0);return(0,c.jsxs)(o.Y,{className:r("visx-axis-tick",l),transform:p,children:[!t&&(0,c.jsx)(i.N1,{from:w,to:b,stroke:f,strokeWidth:m,strokeLinecap:"square",...y}),d?d({...x,x:b.x,y:_,formattedValue:A}):(0,c.jsx)(s.EY,{x:b.x,y:_,...x,children:A})]},`visx-tick-${g}-${v}`)})}},5988(e,t,n){"use strict";n.d(t,{A:()=>r});const r={top:"top",left:"left",right:"right",bottom:"bottom"}},3268(e,t,n){"use strict";n.d(t,{_0:()=>r.A});var r=n(5587);n(8094),n(2889),n(8964),n(1628)},996(e,t,n){"use strict";n.d(t,{A:()=>i});var r=n(1947);function i(e,t){let{x:n,y:i}=e;return new r.A(t?{x:n,y:i}:{x:i,y:n})}},1967(e,t,n){"use strict";n.d(t,{A:()=>r});function r(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return"number"==typeof e?{start:e,end:e}:{start:0,end:0,...e}}},324(e,t,n){"use strict";n.d(t,{A:()=>i});var r=n(5988);function i(e){let{labelOffset:t,labelProps:n,orientation:i,range:o,tickLabelFontSize:s,tickLength:a}=e;const c=i===r.A.left||i===r.A.top?-1:1;let u,l,d;if(i===r.A.top||i===r.A.bottom){const e=i===r.A.bottom&&"number"==typeof n.fontSize?n.fontSize:0;u=(Number(o[0])+Number(o[o.length-1]))/2,l=c*(a+t+s+e)}else u=c*((Number(o[0])+Number(o[o.length-1]))/2),l=-(a+t),d=`rotate(${90*c})`;return{x:u,y:l,transform:d}}},5105(e,t,n){"use strict";n.d(t,{A:()=>i});var r=n(7553);function i(e){return"tickFormat"in e?e.tickFormat():r.dI}},7232(e,t,n){"use strict";function r(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"center";const n=e;if("start"!==t&&"bandwidth"in n){let e=n.bandwidth();return"center"===t&&(e/=2),n.round()&&(e=Math.round(e)),t=>{const r=n(t);return"number"==typeof r?r+e:r}}return e}n.d(t,{A:()=>r})},3457(e,t,n){"use strict";n.d(t,{A:()=>s});var r=n(1609),i=n(790);const o={top:0,right:0,bottom:0,left:0,width:0,height:0};function s(e){return class extends r.PureComponent{static displayName=(()=>`withBoundingRects(${e.displayName||""})`)();constructor(e){super(e),this.state={rect:void 0,parentRect:void 0},this.nodeRef=(0,r.createRef)(),this.getRects=this.getRects.bind(this)}componentDidMount(){this.node=this.nodeRef?.current||null,this.setState(()=>this.getRects())}getRects(){if(!this.node)return this.state;const{node:e}=this,t=e.parentNode;return{rect:e.getBoundingClientRect?e.getBoundingClientRect():o,parentRect:t?.getBoundingClientRect?t.getBoundingClientRect():o}}render(){return(0,i.jsx)(e,{nodeRef:this.nodeRef,getRects:this.getRects,...this.state,...this.props})}}}},8200(e,t,n){"use strict";n.d(t,{S:()=>r.A});var r=n(3457)},2745(e,t,n){"use strict";n(7886),n(790)},2503(e,t,n){"use strict";n(2745),n(7886)},7886(e,t,n){"use strict";n(1609),n(6801),n(7048)},7048(e,t,n){"use strict";n(1609)},6801(e,t,n){"use strict";n(1609)},1395(e,t,n){"use strict";n.d(t,{A:()=>o});var r=n(7973);const i={x:0,y:0};function o(e){if(!e)return{...i};if((0,r.kH)(e))return e.changedTouches.length>0?{x:e.changedTouches[0].clientX,y:e.changedTouches[0].clientY}:{...i};if((0,r.Er)(e))return{x:e.clientX,y:e.clientY};const t=e?.target,n=t&&"getBoundingClientRect"in t?t.getBoundingClientRect():null;return n?{x:n.x+n.width/2,y:n.y+n.height/2}:{...i}}},5304(e,t,n){"use strict";n.d(t,{A:()=>o});var r=n(2363),i=n(7973);function o(e,t){if((0,i.vq)(e)&&t)return(0,r.A)(e,t);if((0,i.xH)(e)){const t=e,n=t.target;if(n)return(0,r.A)(n,t)}return null}},2363(e,t,n){"use strict";n.d(t,{A:()=>s});var r=n(1947),i=n(7973),o=n(1395);function s(e,t){if(!e||!t)return null;const n=(0,o.A)(t),s=(0,i.xZ)(e)?e.ownerSVGElement:e,a=(0,i.GI)(s)?s.getScreenCTM():null;if((0,i.h1)(s)&&a){let e=s.createSVGPoint();return e.x=n.x,e.y=n.y,e=e.matrixTransform(a.inverse()),new r.A({x:e.x,y:e.y})}const c=e.getBoundingClientRect();return new r.A({x:n.x-c.left-e.clientLeft,y:n.y-c.top-e.clientTop})}},7973(e,t,n){"use strict";function r(e){return!!e&&e instanceof Element}function i(e){return!!e&&(e instanceof SVGElement||"ownerSVGElement"in e)}function o(e){return!!e&&"createSVGPoint"in e}function s(e){return!!e&&"getScreenCTM"in e}function a(e){return!!e&&"changedTouches"in e}function c(e){return!!e&&"clientX"in e}function u(e){return!!e&&(e instanceof Event||"nativeEvent"in e&&e.nativeEvent instanceof Event)}n.d(t,{Er:()=>c,GI:()=>s,h1:()=>o,kH:()=>a,vq:()=>r,xH:()=>u,xZ:()=>i})},6731(e,t,n){"use strict";n(5868),n(6476),n(8549),n(9020),n(790)},1364(e,t,n){"use strict";n(5868),n(8042),n(6476),n(7553),n(790)},9020(e,t,n){"use strict";n.d(t,{A:()=>l});var r=n(5868),i=n(8042),o=n(6476),s=n(1947),a=n(7553),c=n(7500),u=n(790);function l(e){let{top:t=0,left:n=0,scale:l,height:d,stroke:h="#eaf0f6",strokeWidth:f=1,strokeDasharray:p,className:g,numTicks:m=10,lineStyle:y,offset:v,tickValues:w,children:b,...A}=e;const x=w??(0,a.fC)(l,m),k=(v??0)+(0,c.A)(l)/2,_=x.map((e,t)=>{const n=((0,a.NU)(l(e))??0)+k;return{index:t,from:new s.A({x:n,y:0}),to:new s.A({x:n,y:d})}});return(0,u.jsx)(o.Y,{className:r("visx-columns",g),top:t,left:n,children:b?b({lines:_}):_.map(e=>{let{from:t,to:n,index:r}=e;return(0,u.jsx)(i.N1,{from:t,to:n,stroke:h,strokeWidth:f,strokeDasharray:p,style:y,...A},`column-line-${r}`)})})}},1167(e,t,n){"use strict";n(5868),n(6476),n(1364),n(4772),n(790)},4772(e,t,n){"use strict";n(5868),n(8042),n(6476),n(7553),n(790)},8549(e,t,n){"use strict";n.d(t,{A:()=>l});var r=n(5868),i=n(8042),o=n(6476),s=n(1947),a=n(7553),c=n(7500),u=n(790);function l(e){let{top:t=0,left:n=0,scale:l,width:d,stroke:h="#eaf0f6",strokeWidth:f=1,strokeDasharray:p,className:g,children:m,numTicks:y=10,lineStyle:v,offset:w,tickValues:b,...A}=e;const x=b??(0,a.fC)(l,y),k=(w??0)+(0,c.A)(l)/2,_=x.map((e,t)=>{const n=((0,a.NU)(l(e))??0)+k;return{index:t,from:new s.A({x:0,y:n}),to:new s.A({x:d,y:n})}});return(0,u.jsx)(o.Y,{className:r("visx-rows",g),top:t,left:n,children:m?m({lines:_}):_.map(e=>{let{from:t,to:n,index:r}=e;return(0,u.jsx)(i.N1,{from:t,to:n,stroke:h,strokeWidth:f,strokeDasharray:p,style:v,...A},`row-line-${r}`)})})}},7921(e,t,n){"use strict";n.d(t,{YN:()=>r.A,_2:()=>i.A});var r=n(8549),i=n(9020);n(6731),n(1364),n(4772),n(1167)},7500(e,t,n){"use strict";function r(e){return"bandwidth"in e?e.bandwidth():0}n.d(t,{A:()=>r})},5151(e,t,n){"use strict";n.d(t,{A:()=>o});var r=n(5868),i=n(790);function o(e){let{top:t=0,left:n=0,transform:o,className:s,children:a,innerRef:c,...u}=e;return(0,i.jsx)("g",{ref:c,className:r("visx-group",s),transform:o||`translate(${n}, ${t})`,...u,children:a})}},6476(e,t,n){"use strict";n.d(t,{Y:()=>r.A});var r=n(5151)},7700(e,t,n){"use strict";n.d(t,{XR:()=>r.A});n(6671),n(788),n(4184);var r=n(5084);n(3302),n(5520),n(5129),n(9294),n(7585),n(2943),n(8497),n(2701)},5129(e,t,n){"use strict";n.d(t,{A:()=>i});var r=n(790);function i(e){let{flexDirection:t="row",alignItems:n="center",margin:i="0",display:o="flex",children:s,...a}=e;return(0,r.jsx)("div",{className:"visx-legend-item",style:{display:o,alignItems:n,flexDirection:t,margin:i},...a,children:s})}},9294(e,t,n){"use strict";n.d(t,{A:()=>i});var r=n(790);function i(e){let{flex:t="1",label:n,margin:i="5px 0",align:o="left",children:s,...a}=e;return(0,r.jsx)("div",{className:"visx-legend-label",style:{justifyContent:o,display:"flex",flex:t,margin:i},...a,children:s||n})}},7585(e,t,n){"use strict";n.d(t,{A:()=>s});var r=n(2701),i=n(2012),o=n(790);function s(e){let{shape:t=r.A,width:n,height:s,margin:a,label:c,item:u,itemIndex:l,fill:d,size:h,shapeStyle:f}=e;return(0,o.jsx)("div",{className:"visx-legend-shape",style:{display:"flex",width:h?h({...c}):n,height:h?h({...c}):s,margin:a},children:(0,i.A)({shape:t,item:u,itemIndex:l,label:c,width:n,height:s,fill:d,shapeStyle:f})})}},6671(e,t,n){"use strict";n.d(t,{A:()=>d});var r=n(5868),i=n(5129),o=n(9294),s=n(7585),a=n(2195),c=n(505),u=n(790);const l={display:"flex"};function d(e){let{className:t,style:n=l,scale:d,shape:h,domain:f,fill:p=a.o,size:g=a.o,labelFormat:m=a.A,labelTransform:y=c.A,shapeWidth:v=15,shapeHeight:w=15,shapeMargin:b="2px 4px 2px 0",shapeStyle:A,labelAlign:x="left",labelFlex:k="1",labelMargin:_="0 4px",itemMargin:C="0",direction:M="column",itemDirection:S="row",legendLabelProps:N,children:j,...E}=e;const T=f||("domain"in d?d.domain():[]),O=y({scale:d,labelFormat:m}),P=T.map(O);return j?(0,u.jsx)(u.Fragment,{children:j(P)}):(0,u.jsx)("div",{className:r("visx-legend",t),style:{...n,flexDirection:M},children:P.map((e,t)=>(0,u.jsxs)(i.A,{margin:C,flexDirection:S,...E,children:[(0,u.jsx)(s.A,{shape:h,height:w,width:v,margin:b,item:T[t],itemIndex:t,label:e,fill:p,size:g,shapeStyle:A}),(0,u.jsx)(o.A,{label:e.text,flex:k,margin:_,align:x,...N})]},`legend-${e.text}-${t}`))})}},4184(e,t,n){"use strict";n(6671),n(790)},5084(e,t,n){"use strict";n.d(t,{A:()=>o});var r=n(6671),i=n(790);function o(e){return(0,i.jsx)(r.A,{...e})}},788(e,t,n){"use strict";n(6671),n(790)},5520(e,t,n){"use strict";n(6671),n(790)},3302(e,t,n){"use strict";n(6671),n(790)},2943(e,t,n){"use strict";n.d(t,{A:()=>o});var r=n(6476),i=n(790);function o(e){let{fill:t,width:n,height:o,style:s}=e;const a="string"==typeof n||void 0===n?0:n,c="string"==typeof o||void 0===o?0:o,u=Math.max(a,c),l=u/2;return(0,i.jsx)("svg",{width:u,height:u,children:(0,i.jsx)(r.Y,{top:l,left:l,children:(0,i.jsx)("circle",{r:l,fill:t,style:s})})})}},8497(e,t,n){"use strict";n.d(t,{A:()=>o});var r=n(6476),i=n(790);function o(e){let{fill:t,width:n,height:o,style:s}=e;const a="string"==typeof o||void 0===o?0:o,c="number"==typeof s?.strokeWidth?s?.strokeWidth:2;return(0,i.jsx)("svg",{width:n,height:o,children:(0,i.jsx)(r.Y,{top:a/2-c/2,children:(0,i.jsx)("line",{x1:0,x2:n,y1:0,y2:0,stroke:t,strokeWidth:c,style:s})})})}},2701(e,t,n){"use strict";n.d(t,{A:()=>i});var r=n(790);function i(e){let{fill:t,width:n,height:i,style:o}=e;return(0,r.jsx)("div",{style:{width:n,height:i,background:t,...o}})}},505(e,t,n){"use strict";function r(e){let{scale:t,labelFormat:n}=e;return(e,r)=>({datum:e,index:r,text:`${n(e,r)}`,value:t(e)})}n.d(t,{A:()=>r})},2012(e,t,n){"use strict";n.d(t,{A:()=>c});var r=n(1609),i=n(2701),o=n(2943),s=n(8497);const a=()=>{};function c(e){let{shape:t="rect",fill:n=a,size:c=a,width:u,height:l,label:d,item:h,itemIndex:f,shapeStyle:p=a}=e;const g={width:u,height:l,item:h,itemIndex:f,label:d,fill:n({...d}),size:c({...d}),style:p({...d})};return"string"==typeof t?"circle"===t?(0,r.createElement)(o.A,g):"line"===t?(0,r.createElement)(s.A,g):(0,r.createElement)(i.A,g):(0,r.isValidElement)(t)?(0,r.cloneElement)(t,g):t?(0,r.createElement)(t,g):null}},2195(e,t,n){"use strict";function r(e){return e&&"object"==typeof e&&"value"in e&&void 0!==e.value?e.value:e}function i(e){return String(r(e))}n.d(t,{A:()=>r,o:()=>i})},1947(e,t,n){"use strict";n.d(t,{A:()=>r});class r{x=0;y=0;constructor(e){let{x:t=0,y:n=0}=e;this.x=t,this.y=n}value(){return{x:this.x,y:this.y}}toArray(){return[this.x,this.y]}}},1092(e,t,n){"use strict";n(1609),n(3268),n(2371),n(790)},2371(e,t,n){"use strict";n(6245),n(5868),n(3268),n(466),n(1228),n(790)},6151(e,t,n){"use strict";n(7921),n(9671),n(790)},9671(e,t,n){"use strict";n(6245),n(1228),n(790)},59(e,t,n){"use strict";n(7921),n(9671),n(790)},6894(e,t,n){"use strict";n(2371),n(1092),n(59),n(6151)},1228(e,t,n){"use strict";n(1609),n(7553)},8043(e,t,n){"use strict";n.d(t,{A:()=>a});var r=n(4430),i=n(790);const o={width:"100%",height:"100%",position:"relative"},s={position:"absolute",top:0,right:0,bottom:0,left:0,overflow:"hidden"};function a(e){let{className:t,children:n,debounceTime:a,ignoreDimensions:c,initialSize:u,parentSizeStyles:l,enableDebounceLeadingCall:d=!0,resizeObserverPolyfill:h,style:f,...p}=e;const{parentRef:g,node:m,resize:y,...v}=(0,r.A)({initialSize:u,debounceTime:a,ignoreDimensions:c,enableDebounceLeadingCall:d,resizeObserverPolyfill:h}),w=l?{position:"relative",...l,...f}:{...o,...f};return(0,i.jsx)("div",{style:w,className:t,...p,children:(0,i.jsx)("div",{style:s,ref:g,children:n({...v,ref:m,resize:y})})})}},6070(e,t,n){"use strict";n(790)},2880(e,t,n){"use strict";n(1609),n(790)},5844(e,t,n){"use strict";n(1609),n(790)},4430(e,t,n){"use strict";n.d(t,{A:()=>a});var r=n(1609),i=n(2534);const o=[],s={width:0,height:0,top:0,left:0};function a(){let{initialSize:e=s,debounceTime:t=300,ignoreDimensions:n=o,enableDebounceLeadingCall:a=!0,resizeObserverPolyfill:c,externalRef:u}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const[l,d]=(0,r.useState)(null),h=(0,r.useCallback)(e=>{d(e),"function"==typeof u?u(e):null!=u&&(u.current=e)},[u]),f=(0,r.useRef)(0),[p,g]=(0,r.useState)({...s,...e}),m=(0,r.useMemo)(()=>{const e=Array.isArray(n)?n:[n];return(0,i.s)(t=>{g(n=>Object.keys(n).filter(e=>n[e]!==t[e]).every(t=>e.includes(t))?n:t)},t,{leading:a})},[t,a,n]);return(0,r.useEffect)(()=>{if(!l)return void m.cancel();const e=new(c||window.ResizeObserver)(e=>{e.forEach(e=>{const{left:t,top:n,width:r,height:i}=e?.contentRect??{};f.current=window.requestAnimationFrame(()=>{m({width:r,height:i,top:n,left:t})})})});return e.observe(l),()=>{window.cancelAnimationFrame(f.current),e.disconnect(),m.cancel()}},[l,m,c]),{parentRef:h,node:l,resize:m,...p}}},3906(e,t,n){"use strict";n(1609)},6079(e,t,n){"use strict";n.d(t,{Gc:()=>r.A,sg:()=>i.s});var r=n(8043),i=(n(6070),n(2880),n(5844),n(4430),n(3906),n(2534))},2534(e,t,n){"use strict";function r(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const{leading:r=!1}=n;let i,o,s=null;function a(){for(var n=arguments.length,a=new Array(n),c=0;c<n;c++)a[c]=arguments[c];r&&void 0===i?(e.apply(this,a),s=null):(s=a,o=this),clearTimeout(i),i=setTimeout(()=>{i=void 0,null!==s&&(e.apply(o,s),s=null,o=void 0)},t)}return a.cancel=function(){clearTimeout(i),i=void 0,s=null,o=void 0},a}n.d(t,{s:()=>r})},7563(e,t,n){"use strict";n.d(t,{A:()=>y});var r=n(2680),i=n(4239),o=n(5280),s=n(562),a=n(622),c=n(504),u=n(4591),l=n(8420),d=n(7414),h=n(3526),f=n(1196),p=n(2723),g=n(4154),m=n(9482);const y=function(e){if(void 0!==e&&"type"in e)switch(e.type){case"linear":return(0,r.A)(e);case"log":return(0,i.A)(e);case"pow":return(0,o.A)(e);case"sqrt":return(0,s.A)(e);case"symlog":return(0,a.A)(e);case"time":return(0,c.A)(e);case"utc":return(0,u.A)(e);case"quantile":return(0,l.A)(e);case"quantize":return(0,d.A)(e);case"threshold":return(0,h.A)(e);case"ordinal":return(0,f.A)(e);case"point":return(0,p.A)(e);case"band":return(0,g.A)(e);case"radial":return(0,m.A)(e)}return(0,r.A)(e)}},7553(e,t,n){"use strict";n.d(t,{NU:()=>s.A,UM:()=>i.A,dI:()=>c.A,fC:()=>a.A,m4:()=>r.A,pb:()=>u.A,rF:()=>o.A});n(4154),n(2723);var r=n(2680),i=(n(9482),n(504),n(4591),n(4239),n(5280),n(1196)),o=(n(7414),n(8420),n(622),n(3526),n(562),n(7563)),s=(n(2816),n(8325),n(4391)),a=n(1505),c=n(9763),u=n(1913)},5922(e,t,n){"use strict";function r(e,t){"align"in e&&"align"in t&&void 0!==t.align&&e.align(t.align)}n.d(t,{A:()=>r})},1418(e,t,n){"use strict";function r(e,t){"base"in e&&"base"in t&&void 0!==t.base&&e.base(t.base)}n.d(t,{A:()=>r})},9056(e,t,n){"use strict";function r(e,t){"clamp"in e&&"clamp"in t&&void 0!==t.clamp&&e.clamp(t.clamp)}n.d(t,{A:()=>r})},1503(e,t,n){"use strict";function r(e,t){"constant"in e&&"constant"in t&&void 0!==t.constant&&e.constant(t.constant)}n.d(t,{A:()=>r})},7895(e,t,n){"use strict";function r(e,t){t.domain&&e.domain(t.domain)}n.d(t,{A:()=>r})},3784(e,t,n){"use strict";function r(e,t){"exponent"in e&&"exponent"in t&&void 0!==t.exponent&&e.exponent(t.exponent)}n.d(t,{A:()=>r})},1152(e,t,n){"use strict";n.d(t,{A:()=>i});var r=n(1185);function i(e,t){if("interpolate"in t&&"interpolate"in e&&void 0!==t.interpolate){const n=(0,r.A)(t.interpolate);e.interpolate(n)}}},8078(e,t,n){"use strict";n.d(t,{A:()=>f});var r=n(4680),i=n(1184),o=n(8566),s=n(8407),a=n(1208),c=n(4836),u=n(289),l=n(5971);const d={day:s.UA,hour:o.Ag,minute:i.wX,month:c.Ui,second:r.R,week:a.YP,year:u.he},h={day:s.dA,hour:o.pz,minute:i.vD,month:c.R6,second:r.R,week:a.Hl,year:u.Mb};function f(e,t){if("nice"in t&&void 0!==t.nice&&"nice"in e){const{nice:n}=t;if("boolean"==typeof n)n&&e.nice();else if("number"==typeof n)e.nice(n);else{const t=e,r=(0,l.A)(t);if("string"==typeof n)t.nice(r?h[n]:d[n]);else{const{interval:e,step:i}=n,o=(r?h[e]:d[e]).every(i);null!=o&&t.nice(o)}}}}},1066(e,t,n){"use strict";function r(e,t){"padding"in e&&"padding"in t&&void 0!==t.padding&&e.padding(t.padding),"paddingInner"in e&&"paddingInner"in t&&void 0!==t.paddingInner&&e.paddingInner(t.paddingInner),"paddingOuter"in e&&"paddingOuter"in t&&void 0!==t.paddingOuter&&e.paddingOuter(t.paddingOuter)}n.d(t,{A:()=>r})},8954(e,t,n){"use strict";function r(e,t){t.range&&e.range(t.range)}n.d(t,{A:()=>r})},8693(e,t,n){"use strict";function r(e,t){if(t.reverse){const t=e.range().slice().reverse();e.range(t)}}n.d(t,{A:()=>r})},4875(e,t,n){"use strict";n.d(t,{A:()=>i});var r=n(4220);function i(e,t){"round"in t&&void 0!==t.round&&(t.round&&"interpolate"in t&&void 0!==t.interpolate?console.warn("[visx/scale/applyRound] ignoring round: scale config contains round and interpolate. only applying interpolate. config:",t):"round"in e?e.round(t.round):"interpolate"in e&&t.round&&e.interpolate(r.A))}},329(e,t,n){"use strict";n.d(t,{A:()=>w,C:()=>y});var r=n(7895),i=n(8954),o=n(5922),s=n(1418),a=n(9056),c=n(1503),u=n(3784),l=n(1152),d=n(8078),h=n(1066),f=n(8693),p=n(4875),g=n(2865),m=n(4137);const y=["domain","nice","zero","interpolate","round","range","reverse","align","base","clamp","constant","exponent","padding","unknown"],v={domain:r.A,nice:d.A,zero:m.A,interpolate:l.A,round:p.A,align:o.A,base:s.A,clamp:a.A,constant:c.A,exponent:u.A,padding:h.A,range:i.A,reverse:f.A,unknown:g.A};function w(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];const r=new Set(t),i=y.filter(e=>r.has(e));return function(e,t){return void 0!==t&&i.forEach(n=>{v[n](e,t)}),e}}},2865(e,t,n){"use strict";function r(e,t){"unknown"in e&&"unknown"in t&&void 0!==t.unknown&&e.unknown(t.unknown)}n.d(t,{A:()=>r})},4137(e,t,n){"use strict";function r(e,t){if("zero"in t&&!0===t.zero){const t=e.domain(),[n,r]=t,i=r<n,[o,s]=i?[r,n]:[n,r],a=[Math.min(0,o),Math.max(0,s)];e.domain(i?a.reverse():a)}}n.d(t,{A:()=>r})},4154(e,t,n){"use strict";n.d(t,{A:()=>o});var r=n(1390);const i=(0,n(329).A)("domain","range","reverse","align","padding","round");function o(e){return i((0,r.A)(),e)}},2680(e,t,n){"use strict";n.d(t,{A:()=>o});var r=n(6212);const i=(0,n(329).A)("domain","range","reverse","clamp","interpolate","nice","round","zero");function o(e){return i((0,r.A)(),e)}},4239(e,t,n){"use strict";n.d(t,{A:()=>o});var r=n(1843);const i=(0,n(329).A)("domain","range","reverse","base","clamp","interpolate","nice","round");function o(e){return i((0,r.A)(),e)}},1196(e,t,n){"use strict";n.d(t,{A:()=>o});var r=n(984);const i=(0,n(329).A)("domain","range","reverse","unknown");function o(e){return i((0,r.A)(),e)}},2723(e,t,n){"use strict";n.d(t,{A:()=>o});var r=n(1390);const i=(0,n(329).A)("domain","range","reverse","align","padding","round");function o(e){return i((0,r.z)(),e)}},5280(e,t,n){"use strict";n.d(t,{A:()=>o});var r=n(5591);const i=(0,n(329).A)("domain","range","reverse","clamp","exponent","interpolate","nice","round","zero");function o(e){return i((0,r.Ay)(),e)}},8420(e,t,n){"use strict";n.d(t,{A:()=>o});var r=n(5168);const i=(0,n(329).A)("domain","range","reverse");function o(e){return i((0,r.A)(),e)}},7414(e,t,n){"use strict";n.d(t,{A:()=>o});var r=n(7434);const i=(0,n(329).A)("domain","range","reverse","nice","zero");function o(e){return i((0,r.A)(),e)}},9482(e,t,n){"use strict";n.d(t,{A:()=>o});var r=n(270);const i=(0,n(329).A)("domain","range","clamp","nice","round","unknown");function o(e){return i((0,r.A)(),e)}},562(e,t,n){"use strict";n.d(t,{A:()=>o});var r=n(5591);const i=(0,n(329).A)("domain","range","reverse","clamp","interpolate","nice","round","zero");function o(e){return i((0,r.RZ)(),e)}},622(e,t,n){"use strict";n.d(t,{A:()=>o});var r=n(4530);const i=(0,n(329).A)("domain","range","reverse","clamp","constant","nice","zero","round");function o(e){return i((0,r.A)(),e)}},3526(e,t,n){"use strict";n.d(t,{A:()=>o});var r=n(1626);const i=(0,n(329).A)("domain","range","reverse");function o(e){return i((0,r.A)(),e)}},504(e,t,n){"use strict";n.d(t,{A:()=>o});var r=n(2564);const i=(0,n(329).A)("domain","range","reverse","clamp","interpolate","nice","round");function o(e){return i((0,r.A)(),e)}},4591(e,t,n){"use strict";n.d(t,{A:()=>o});var r=n(7118);const i=(0,n(329).A)("domain","range","reverse","clamp","interpolate","nice","round");function o(e){return i((0,r.A)(),e)}},2816(e,t,n){"use strict";var r=n(329);(0,r.A)(...r.C)},4391(e,t,n){"use strict";function r(e){if(("function"==typeof e||"object"==typeof e&&e)&&"valueOf"in e){const t=e.valueOf();if("number"==typeof t)return t}return e}n.d(t,{A:()=>r})},1185(e,t,n){"use strict";n.d(t,{A:()=>u});var r=n(7855),i=n(4283),o=n(4359),s=n(5387),a=n(27);const c={lab:o.A,hcl:s.A,"hcl-long":s.G,hsl:i.A,"hsl-long":i.y,cubehelix:a.A,"cubehelix-long":a.w,rgb:r.Ay};function u(e){switch(e){case"lab":case"hcl":case"hcl-long":case"hsl":case"hsl-long":case"cubehelix":case"cubehelix-long":case"rgb":return c[e]}const{type:t,gamma:n}=e,r=c[t];return void 0===n?r:r.gamma(n)}},1505(e,t,n){"use strict";function r(e,t){const n=e;return"ticks"in n?n.ticks(t):n.domain().filter((e,n,r)=>null==t||r.length<=t||n%Math.round((r.length-1)/t)===0)}n.d(t,{A:()=>r})},8325(e,t,n){"use strict";n(5971)},5971(e,t,n){"use strict";n.d(t,{A:()=>i});const r=new Date(Date.UTC(2020,1,2,3,4,5));function i(e){return"2020-02-02 03:04"===e.tickFormat(1,"%Y-%m-%d %H:%M")(r)}},1913(e,t,n){"use strict";n.d(t,{A:()=>i});const r=new Set(["linear","pow","quantize","sqrt","symlog"]);function i(e){return r.has(e.type)}},9763(e,t,n){"use strict";function r(e){return e?.toString()}n.d(t,{A:()=>r})},8042(e,t,n){"use strict";n.d(t,{N1:()=>r.A,Wi:()=>i.A});n(1053),n(211);var r=n(824),i=n(7139);n(2324),n(2624),n(7452),n(7950),n(1780),n(6027),n(7401),n(2829),n(1650),n(6462),n(6305),n(880),n(87),n(930),n(6616),n(1729),n(5741),n(5747),n(3392),n(1387),n(3197),n(608),n(7720),n(8429),n(3560),n(1383),n(4073),n(1056),n(1667)},1053(e,t,n){"use strict";n(5868),n(1667),n(790)},2624(e,t,n){"use strict";n(5868),n(1667),n(790)},7452(e,t,n){"use strict";n(5868),n(1667),n(790)},7950(e,t,n){"use strict";n(5868),n(6305),n(790)},1780(e,t,n){"use strict";n(5868),n(790)},7401(e,t,n){"use strict";n(5868),n(6476),n(1780),n(790)},2829(e,t,n){"use strict";n(5868),n(6476),n(1780),n(790)},6027(e,t,n){"use strict";n(5868),n(790)},1650(e,t,n){"use strict";n(5868),n(6476),n(87),n(880),n(1780),n(790)},6462(e,t,n){"use strict";n(5868),n(6476),n(87),n(880),n(1780),n(790)},4073(e,t,n){"use strict";n(5868),n(790)},824(e,t,n){"use strict";n.d(t,{A:()=>o});var r=n(5868),i=n(790);function o(e){let{from:t={x:0,y:0},to:n={x:1,y:1},fill:o="transparent",className:s,innerRef:a,...c}=e;const u=t.x===n.x||t.y===n.y;return(0,i.jsx)("line",{ref:a,className:r("visx-line",s),x1:t.x,y1:t.y,x2:n.x,y2:n.y,fill:o,shapeRendering:u?"crispEdges":"auto",...c})}},7139(e,t,n){"use strict";n.d(t,{A:()=>s});var r=n(5868),i=n(1667),o=n(790);function s(e){let{children:t,data:n=[],x:s,y:a,fill:c="transparent",className:u,curve:l,innerRef:d,defined:h=()=>!0,...f}=e;const p=(0,i.n8)({x:s,y:a,defined:h,curve:l});return t?(0,o.jsx)(o.Fragment,{children:t({path:p})}):(0,o.jsx)("path",{ref:d,className:r("visx-linepath",u),d:p(n)||"",fill:c,strokeLinecap:"round",...f})}},2324(e,t,n){"use strict";n(5868),n(1667),n(790)},211(e,t,n){"use strict";n(5868),n(6476),n(1667),n(790)},1383(e,t,n){"use strict";n(5868),n(790)},1056(e,t,n){"use strict";n(1609),n(1667),n(7139),n(790)},6305(e,t,n){"use strict";n(5868),n(6476),n(1667),n(790)},5741(e,t,n){"use strict";n(5868),n(790)},3392(e,t,n){"use strict";n(5868),n(790)},5747(e,t,n){"use strict";n(5868),n(790)},930(e,t,n){"use strict";n(5868),n(790)},1729(e,t,n){"use strict";n(5868),n(790)},6616(e,t,n){"use strict";n(5868),n(790)},1387(e,t,n){"use strict";n(5868),n(790)},608(e,t,n){"use strict";n(5868),n(790)},3197(e,t,n){"use strict";n(5868),n(790)},7720(e,t,n){"use strict";n(5868),n(790)},3560(e,t,n){"use strict";n(5868),n(790)},8429(e,t,n){"use strict";n(5868),n(790)},1667(e,t,n){"use strict";n.d(t,{n8:()=>o});var r=n(7894),i=n(3729);n(87),n(880);function o(){let{x:e,y:t,defined:n,curve:o}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const s=(0,r.A)();return e&&(0,i.A)(s.x,e),t&&(0,i.A)(s.y,t),n&&s.defined(n),o&&s.curve(o),s}},3729(e,t,n){"use strict";function r(e,t){e(t)}n.d(t,{A:()=>r})},880(e,t,n){"use strict";var r=n(7606),i=n(4395),o=n(8204),s=n(9740),a=n(9515);const c={expand:r.A,diverging:i.A,none:o.A,silhouette:s.A,wiggle:a.A};Object.keys(c)},87(e,t,n){"use strict";var r=n(675),i=n(887),o=n(4749),s=n(2383),a=n(6211);const c={ascending:r.A,descending:i.A,insideout:o.A,none:s.A,reverse:a.A};Object.keys(c)},5539(e,t,n){"use strict";n.d(t,{A:()=>s});var r=n(7517),i=n(790);const o={overflow:"visible"};function s(e){const{dx:t=0,dy:n=0,textAnchor:s="start",innerRef:a,innerTextRef:c,verticalAnchor:u,angle:l,lineHeight:d="1em",scaleToFit:h=!1,capHeight:f,width:p,...g}=e,{x:m=0,fontSize:y}=g,{wordsByLines:v,startDy:w,transform:b}=(0,r.A)(e);return(0,i.jsx)("svg",{ref:a,x:t,y:n,fontSize:y,style:o,children:v.length>0?(0,i.jsx)("text",{ref:c,transform:b,...g,textAnchor:s,children:v.map((e,t)=>(0,i.jsx)("tspan",{x:m,dy:0===t?w:d,children:e.words.join(" ")},t))}):null})}},7517(e,t,n){"use strict";n.d(t,{A:()=>c});var r=n(1609),i=n(1897),o=n(6940);function s(e){return"number"==typeof e}function a(e){return"number"==typeof e&&Number.isFinite(e)||"string"==typeof e}function c(e){const{verticalAnchor:t="end",scaleToFit:n=!1,angle:c,width:u,lineHeight:l="1em",capHeight:d="0.71em",children:h,style:f,...p}=e,{x:g=0,y:m=0}=p,y=!a(g)||!a(m),{wordsWithWidth:v,spaceWidth:w}=(0,r.useMemo)(()=>({wordsWithWidth:(null==h?[]:h.toString().split(/(?:(?!\u00A0+)\s+)/)).map(e=>({word:e,wordWidth:(0,o.A)(e,f)||0})),spaceWidth:(0,o.A)(" ",f)||0}),[h,f]),b=(0,r.useMemo)(()=>y?[]:u||n?v.reduce((e,t)=>{let{word:r,wordWidth:i}=t;const o=e[e.length-1];if(o&&(null==u||n||(o.width||0)+i+w<u))o.words.push(r),o.width=o.width||0,o.width+=i+w;else{const t={words:[r],width:i};e.push(t)}return e},[]):[{words:null==h?[]:h.toString().split(/(?:(?!\u00A0+)\s+)/)}],[y,u,n,h,v,w]),A=(0,r.useMemo)(()=>y?"":i("start"===t?`calc(${d})`:"middle"===t?`calc(${(b.length-1)/2} * -${l} + (${d} / 2))`:`calc(${b.length-1} * -${l})`),[y,t,d,b.length,l]),x=(0,r.useMemo)(()=>{const e=[];if(y)return"";if(s(g)&&s(m)&&s(u)&&n&&b.length>0){const t=b[0].width||1,r="shrink-only"===n?Math.min(u/t,1):u/t,i=r,o=g-r*g,s=m-i*m;e.push(`matrix(${r}, 0, 0, ${i}, ${o}, ${s})`)}return c&&e.push(`rotate(${c}, ${g}, ${m})`),e.length>0?e.join(" "):""},[y,g,m,u,n,b,c]);return{wordsByLines:b,startDy:A,transform:x}}},466(e,t,n){"use strict";n.d(t,{EY:()=>r.A});var r=n(5539);n(6940),n(7517)},6940(e,t,n){"use strict";n.d(t,{A:()=>o});var r=n(8619);const i="__react_svg_text_measurement_id";const o=(0,r.A)(function(e,t){if("undefined"==typeof document)return null;try{let n=document.getElementById(i);if(!n){const e=document.createElementNS("http://www.w3.org/2000/svg","svg");e.setAttribute("aria-hidden","true"),e.style.width="0",e.style.height="0",e.style.position="absolute",e.style.top="-100%",e.style.left="-100%",n=document.createElementNS("http://www.w3.org/2000/svg","text"),n.setAttribute("id",i),e.appendChild(n),document.body.appendChild(e)}return Object.assign(n.style,t),n.textContent=e,n.getComputedTextLength()}catch{return null}},(e,t)=>`${e}_${JSON.stringify(t)}`)},8619(e,t,n){"use strict";function r(e,t){const n=new Map;return function(){for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];const s=t(...i);if(n.has(s))return n.get(s);const a=e.apply(this,i);return n.set(s,a),a}}n.d(t,{A:()=>r})},2958(e,t,n){"use strict";n.d(t,{A:()=>o});var r=n(1609),i=n(5795);class o extends r.PureComponent{componentWillUnmount(){this.node&&document.body&&(document.body.removeChild(this.node),delete this.node)}render(){return this.node||"undefined"==typeof document||(this.node=document.createElement("div"),null!=this.props.zIndex&&(this.node.style.zIndex=`${this.props.zIndex}`),document.body.append(this.node)),this.node?i.createPortal(this.props.children,this.node):null}}},6777(e,t,n){"use strict";n.d(t,{gO:()=>i});const r=(0,n(1609).createContext)({isFlippedVertically:!1,isFlippedHorizontally:!1}),i=r.Provider;r.Consumer},685(e,t,n){"use strict";n(97),n(790)},97(e,t,n){"use strict";n.d(t,{A:()=>i});var r=n(1609);function i(e){const[t,n]=(0,r.useState)({tooltipOpen:!1,...e}),i=(0,r.useCallback)(e=>n("function"==typeof e?t=>{let{tooltipOpen:n,...r}=t;return{...e(r),tooltipOpen:!0}}:{tooltipOpen:!0,tooltipLeft:e.tooltipLeft,tooltipTop:e.tooltipTop,tooltipData:e.tooltipData}),[n]),o=(0,r.useCallback)(()=>n({tooltipOpen:!1,tooltipLeft:void 0,tooltipTop:void 0,tooltipData:void 0}),[n]);return{tooltipOpen:t.tooltipOpen,tooltipLeft:t.tooltipLeft,tooltipTop:t.tooltipTop,tooltipData:t.tooltipData,updateTooltip:n,showTooltip:i,hideTooltip:o}}},5892(e,t,n){"use strict";n.d(t,{A:()=>u});var r=n(1609),i=n(3958),o=n(2958),s=n(2090),a=n(3815),c=n(790);function u(){let{detectBounds:e=!0,zIndex:t,...n}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const[u,l,d]=(0,i.A)(n),[h,f]=(0,r.useState)(!1);(0,r.useEffect)(()=>{f(!1)},[]);const p=(0,r.useMemo)(()=>function(n){let{left:r=0,top:i=0,detectBounds:u,zIndex:d,...f}=n;const p=d??t,g=u??e?a.A:s.A,m=h?0:window.scrollX,y=h?0:window.scrollY,v=r+(l.left||0)+m,w=i+(l.top||0)+y;return(0,c.jsx)(o.A,{zIndex:p,children:(0,c.jsx)(g,{left:v,top:w,...f})})},[e,t,l.left,l.top,h]);return{containerRef:u,containerBounds:l,forceRefreshBounds:d,TooltipInPortal:p}}},9328(e,t,n){"use strict";n.d(t,{Wj:()=>i.A,fS:()=>r.A,k5:()=>o.k});n(685);var r=n(97),i=n(5892),o=(n(6777),n(2090));n(3815),n(2958)},2090(e,t,n){"use strict";n.d(t,{A:()=>c,k:()=>s});var r=n(1609),i=n(5868),o=n(790);const s={position:"absolute",backgroundColor:"white",color:"#666666",padding:"0.3rem 0.5rem",borderRadius:"3px",fontSize:"14px",boxShadow:"0 1px 2px rgba(33,33,33,0.2)",lineHeight:"1em",pointerEvents:"none"},a=(0,r.forwardRef)((e,t)=>{let{className:n,top:r,left:a,offsetLeft:c=10,offsetTop:u=10,style:l=s,children:d,unstyled:h=!1,applyPositionStyle:f=!1,...p}=e;return(0,o.jsx)("div",{ref:t,className:i("visx-tooltip",n),style:{top:null==r||null==u?r:r+u,left:null==a||null==c?a:a+c,...f&&{position:"absolute"},...!h&&l},...p,children:d})});a.displayName="Tooltip";const c=a},3815(e,t,n){"use strict";n.d(t,{A:()=>a});var r=n(8200),i=n(2090),o=n(6777),s=n(790);const a=(0,r.S)(function(e){let t,{children:n,getRects:r,left:a=0,offsetLeft:c=10,offsetTop:u=10,parentRect:l,rect:d,style:h=i.k,top:f=0,unstyled:p=!1,nodeRef:g,...m}=e,y=!1,v=!1;if(d&&l){let e=a,n=f;if(l.width){const t=e+c+d.width-l.width,n=d.width-e-c;y=t>0&&t>n}else{const t=e+c+d.width-window.innerWidth,n=d.width-e-c;y=t>0&&t>n}if(l.height){const e=n+u+d.height-l.height,t=d.height-n-u;v=e>0&&e>t}else v=n+u+d.height>window.innerHeight;e=y?e-d.width-c:e+c,n=v?n-d.height-u:n+u,e=Math.round(e),n=Math.round(n),t=`translate(${e}px, ${n}px)`}return(0,s.jsx)(i.A,{ref:g,style:{left:0,top:0,transform:t,...!p&&h},...m,children:(0,s.jsx)(o.gO,{value:{isFlippedVertically:!v,isFlippedHorizontally:!y},children:n})})})},658(e,t,n){"use strict";n.d(t,{A:()=>r});class r{registry={};registryKeys=[];registerData(e){(Array.isArray(e)?e:[e]).forEach(e=>{this.registry[e.key]=e,this.registryKeys=Object.keys(this.registry)})}unregisterData(e){(Array.isArray(e)?e:[e]).forEach(e=>{delete this.registry[e],this.registryKeys=Object.keys(this.registry)})}entries(){return Object.values(this.registry)}get(e){return this.registry[e]}keys(){return this.registryKeys}}},1872(e,t,n){"use strict";n.d(t,{A:()=>g});var r=n(1609),i=n(9328),o=n(8738),s=n(3113),a=n(3575),c=n(1634),u=n(790);const l={position:"absolute",pointerEvents:"none",fontSize:0,lineHeight:0},d={position:"absolute",left:0,top:0,opacity:0,width:0,height:0,pointerEvents:"none"};function h(e){let{x:t,y:n,size:i,color:o,glyphStyle:a}=e;const{theme:c}=(0,r.useContext)(s.A)||{};return(0,u.jsx)("circle",{cx:t,cy:n,r:i,fill:o,stroke:c?.backgroundColor,strokeWidth:1.5,paintOrder:"fill",...a})}function f(e){let{key:t,...n}=e;return(0,u.jsx)(h,{...n})}function p(e){let{debounce:t,detectBounds:n,horizontalCrosshairStyle:h,glyphStyle:p,renderTooltip:g,renderGlyph:m=f,resizeObserverPolyfill:y,scroll:v=!0,showDatumGlyph:w=!1,showHorizontalCrosshair:b=!1,showSeriesGlyphs:A=!1,showVerticalCrosshair:x=!1,snapTooltipToDatumX:k=!1,snapTooltipToDatumY:_=!1,verticalCrosshairStyle:C,zIndex:M,...S}=e;const{colorScale:N,theme:j,innerHeight:E,innerWidth:T,margin:O,xScale:P,yScale:$,dataRegistry:R,resizeObserverPolyfill:D}=(0,r.useContext)(s.A)||{},I=(0,r.useContext)(o.A),{containerRef:U,TooltipInPortal:F,forceRefreshBounds:L}=(0,i.Wj)({debounce:t,detectBounds:n,polyfill:D||y,scroll:v,zIndex:M}),z=(0,r.useCallback)(e=>{U(e?.parentElement??null)},[U]),H=I?.tooltipOpen?g({...I,colorScale:N}):null,B=I?.tooltipOpen&&null!=H,V=(0,r.useRef)(!1);(0,r.useEffect)(()=>{B&&!V.current&&L(),V.current=B},[B,L]);let W=I?.tooltipLeft,q=I?.tooltipTop;const Y=P?(0,a.A)(P):0,J=$?(0,a.A)($):0,G=(0,r.useCallback)((e,t)=>{const n=R?.get(e),r=n?.xAccessor,i=n?.yAccessor;return{left:P&&r?Number(P(r(t)))+Y/2:void 0,top:$&&i?Number($(i(t)))+J/2:void 0}},[R,Y,J,P,$]),Z=I?.tooltipData?.nearestDatum,X=Z?.key??"";if(B&&Z&&(k||_)){const{left:e,top:t}=G(X,Z.datum);W=k&&(0,c.A)(e)?e:W,q=_&&(0,c.A)(t)?t:q}const Q=[];if(B&&(w||A)){const e=Number(p?.radius??4);if(A)Object.values(I?.tooltipData?.datumByKey??{}).forEach(t=>{let{key:n,datum:r,index:i}=t;const o=N?.(n)??j?.htmlLabel?.color??"#222",{left:s,top:a}=G(n,r);(0,c.A)(s)&&(0,c.A)(a)&&Q.push({key:n,color:o,datum:r,index:i,size:e,x:s,y:a,glyphStyle:p,isNearestDatum:!!Z&&Z.key===n})});else if(Z){const{left:t,top:n}=G(X,Z.datum);if((0,c.A)(t)&&(0,c.A)(n)){const r=(X&&N?.(X))??null??j?.gridStyles?.stroke??j?.htmlLabel?.color??"#222";Q.push({key:X,color:r,datum:Z.datum,index:Z.index,size:e,x:t,y:n,glyphStyle:p,isNearestDatum:!0})}}}return(0,u.jsxs)(u.Fragment,{children:[(0,u.jsx)("svg",{ref:z,style:d}),B&&(0,u.jsxs)(u.Fragment,{children:[x&&(0,u.jsx)(F,{className:"visx-crosshair visx-crosshair-vertical",left:W,top:O?.top,offsetLeft:0,offsetTop:0,detectBounds:!1,style:l,children:(0,u.jsx)("svg",{width:"1",height:E,overflow:"visible",children:(0,u.jsx)("line",{x1:0,x2:0,y1:0,y2:E,strokeWidth:1.5,stroke:j?.gridStyles?.stroke??j?.htmlLabel?.color??"#222",...C})})}),b&&(0,u.jsx)(F,{className:"visx-crosshair visx-crosshair-horizontal",left:O?.left,top:q,offsetLeft:0,offsetTop:0,detectBounds:!1,style:l,children:(0,u.jsx)("svg",{width:T,height:"1",overflow:"visible",children:(0,u.jsx)("line",{x1:0,x2:T,y1:0,y2:0,strokeWidth:1.5,stroke:j?.gridStyles?.stroke??j?.htmlLabel?.color??"#222",...h})})}),Q.map(e=>{let{key:t,x:n,y:r,...i}=e;return(0,u.jsx)(F,{className:"visx-tooltip-glyph",left:n,top:r,offsetLeft:0,offsetTop:0,detectBounds:!1,style:l,children:(0,u.jsx)("svg",{overflow:"visible",children:m({key:t,x:0,y:0,...i})})},t)}),(0,u.jsx)(F,{left:W,top:q,style:{...i.k5,background:j?.backgroundColor??"white",boxShadow:"0 1px 2px \n "+(j?.htmlLabel?.color?`${j?.htmlLabel?.color}55`:"#22222255"),...j?.htmlLabel},...S,children:H})]})]})}function g(e){const t=(0,r.useContext)(o.A);return t?.tooltipOpen?(0,u.jsx)(p,{...e}):null}},6702(e,t,n){"use strict";n.d(t,{A:()=>y});var r=n(1609),i=n(6079),o=n(3113),s=n(672),a=n(6956),c=n(8738),u=n(3777),l=n(189),d=n(879),h=n(8051),f=n(3741),p=n(790);const g={top:50,right:50,bottom:50,left:50},m=[h.dB];function y(e){const{accessibilityLabel:t="XYChart",captureEvents:n=!0,children:v,height:w,horizontal:b,margin:A=g,onPointerMove:x,onPointerOut:k,onPointerUp:_,onPointerDown:C,pointerEventsDataKey:M="nearest",theme:S,width:N,xScale:j,yScale:E,resizeObserverPolyfill:T}=e,{setDimensions:O,resizeObserverPolyfill:P}=(0,r.useContext)(o.A),$=(0,r.useContext)(c.A),R=(0,s.A)();(0,r.useEffect)(()=>{O&&null!=N&&null!=w&&N>0&&w>0&&O({width:N,height:w,margin:A})},[O,N,w,A]);const D=(0,d.A)({source:h.dB});return(0,f.Ay)({dataKey:"nearest"===M?f.Hy:f.G1,onPointerMove:x,onPointerOut:k,onPointerUp:_,onPointerDown:C,allowedSources:m}),O?null==N||null==w?(0,p.jsx)(i.Gc,{resizeObserverPolyfill:P,children:t=>(0,p.jsx)(y,{...e,width:null==e.width?t.width:e.width,height:null==e.height?t.height:e.height})}):null==$?(0,p.jsx)(u.A,{children:(0,p.jsx)(y,{...e})}):null==R?(0,p.jsx)(a.A,{children:(0,p.jsx)(y,{...e})}):N<=0||w<=0?null:(0,p.jsxs)("svg",{width:N,height:w,"aria-label":t,children:[v,n&&(0,p.jsx)("rect",{x:A.left,y:A.top,width:N-A.left-A.right,height:w-A.top-A.bottom,fill:"transparent",...D})]}):j&&E?(0,p.jsx)(l.A,{xScale:j,yScale:E,theme:S,initialDimensions:{width:N,height:w,margin:A},horizontal:b,resizeObserverPolyfill:T,children:(0,p.jsx)(y,{...e})}):(console.warn("[@visx/xychart] XYChart: When no DataProvider is available in context, you must pass xScale & yScale config to XYChart."),null)}},4445(e,t,n){"use strict";n(1609),n(6245),n(3464),n(2005),n(790)},8860(e,t,n){"use strict";n(3464),n(2005),n(790)},950(e,t,n){"use strict";n(1609),n(3464),n(3113),n(790)},1917(e,t,n){"use strict";n(1609),n(3464),n(3113),n(790)},6708(e,t,n){"use strict";n(1609),n(3464),n(3113),n(790)},1772(e,t,n){"use strict";n(1609),n(3464),n(3113),n(790)},2005(e,t,n){"use strict";n(1609),n(7553),n(3113),n(790)},5325(e,t,n){"use strict";n(6894),n(8349),n(790)},524(e,t,n){"use strict";n.d(t,{A:()=>s});var r=n(3268),i=n(8349),o=n(790);function s(e){return(0,o.jsx)(i.A,{AxisComponent:r._0,...e})}},8349(e,t,n){"use strict";n.d(t,{A:()=>s});var r=n(1609),i=n(3113),o=n(790);function s(e){let{AxisComponent:t,...n}=e;const{theme:s,xScale:a,yScale:c,margin:u,width:l,height:d,dataRegistry:h}=(0,r.useContext)(i.A),{orientation:f}=n,p=(0,r.useMemo)(()=>"left"===f||"right"===f?s?.axisStyles?.y?.[f]:s?.axisStyles?.x?.[f],[s,f]),g=n.tickLabelProps,m=(0,r.useMemo)(()=>g||p?(e,t,n)=>({...p?.tickLabel,width:"left"===f||"right"===f?u?.[f]:void 0,..."function"==typeof g?g(e,t,n):g}):void 0,[g,p,f,u]),y="bottom"===f?(d??0)-(u?.bottom??0):"top"===f?u?.top??0:0,v="left"===f?u?.left??0:"right"===f?(l??0)-(u?.right??0):0,w="left"===f||"right"===f?c:a,b=h?.entries().some(e=>e.data.length>0)??!1;return w&&b?(0,o.jsx)(t,{top:y,left:v,labelProps:p?.axisLabel,stroke:p?.axisLine?.stroke,strokeWidth:p?.axisLine?.strokeWidth,tickLength:p?.tickLength,tickStroke:p?.tickLine?.stroke,...n,tickLabelProps:m,scale:w}):null}},3907(e,t,n){"use strict";n(1609),n(6894),n(2855),n(790)},2855(e,t,n){"use strict";n.d(t,{A:()=>s});var r=n(1609),i=n(3113),o=n(790);function s(e){let{rows:t=!0,columns:n=!0,GridRowsComponent:s,GridColumnsComponent:a,...c}=e;const{theme:u,xScale:l,yScale:d,margin:h,innerWidth:f,innerHeight:p}=(0,r.useContext)(i.A),g=u?.gridStyles;return(0,o.jsxs)(o.Fragment,{children:[t&&d&&null!=f&&(0,o.jsx)(s,{left:h?.left,lineStyle:g,width:f,scale:d,...c}),n&&l&&null!=p&&(0,o.jsx)(a,{top:h?.top,lineStyle:g,height:p,scale:l,...c})]})}},1314(e,t,n){"use strict";n.d(t,{A:()=>s});var r=n(7921),i=n(2855),o=n(790);function s(e){return(0,o.jsx)(i.A,{GridRowsComponent:r.YN,GridColumnsComponent:r._2,...e})}},2620(e,t,n){"use strict";n(3243),n(1543),n(790)},321(e,t,n){"use strict";n(9673),n(3243),n(790)},4740(e,t,n){"use strict";n(4252),n(3078),n(790)},4346(e,t,n){"use strict";n(1042),n(3078),n(790)},5443(e,t,n){"use strict";n(6299),n(3078),n(790)},9917(e,t,n){"use strict";n(1609),n(7551),n(5877),n(6964),n(790)},2067(e,t,n){"use strict";n(987),n(3243),n(790)},9829(e,t,n){"use strict";n(1543),n(790)},7646(e,t,n){"use strict";n(9673),n(790)},3801(e,t,n){"use strict";n(4252),n(8003),n(790)},8361(e,t,n){"use strict";n(1042),n(8003),n(790)},6466(e,t,n){"use strict";n(6299),n(8003),n(790)},6834(e,t,n){"use strict";n(1609),n(5877),n(6964),n(790)},8250(e,t,n){"use strict";n.d(t,{A:()=>o});var r=n(987),i=n(790);function o(e){return(0,i.jsx)(r.A,{...e})}},3078(e,t,n){"use strict";n(8042),n(1609),n(6245),n(5907),n(3243),n(790)},7551(e,t,n){"use strict";n(1609),n(6245),n(5907),n(790)},3243(e,t,n){"use strict";n(1609),n(6245),n(1028),n(6079),n(790)},8003(e,t,n){"use strict";n(8042),n(790)},1543(e,t,n){"use strict";n(1609),n(8042),n(3113),n(5907),n(5877),n(6964),n(8542),n(790)},9673(e,t,n){"use strict";n(1609),n(8042),n(7553),n(3113),n(5877),n(5629),n(3568),n(8542),n(6964),n(790)},4252(e,t,n){"use strict";n(1609),n(7553),n(3113),n(5907),n(8542),n(7627),n(790)},1042(e,t,n){"use strict";n(1609),n(3113),n(5907),n(8542),n(790)},6299(e,t,n){"use strict";n(1609),n(8042),n(3113),n(8542),n(3568),n(5629),n(790)},5877(e,t,n){"use strict";n.d(t,{r:()=>l});var r=n(1609),i=n(3113),o=n(4048),s=n(1634),a=n(8051),c=n(8542),u=n(790);function l(e){let{colorAccessor:t,data:n,dataKey:l,onBlur:d,onFocus:h,onPointerMove:f,onPointerOut:p,onPointerUp:g,onPointerDown:m,enableEvents:y=!0,renderGlyphs:v,size:w=8,xAccessor:b,xScale:A,yAccessor:x,yScale:k}=e;const{colorScale:_,theme:C,horizontal:M}=(0,r.useContext)(i.A),S=(0,r.useMemo)(()=>(0,o.A)(A,b),[A,b]),N=(0,r.useMemo)(()=>(0,o.A)(k,x),[k,x]),j=_?.(l)??C?.colors?.[0]??"#222",E=`${a.J2}-${l}`,T=(0,c.A)({dataKey:l,enableEvents:y,onBlur:d,onFocus:h,onPointerMove:f,onPointerOut:p,onPointerUp:g,onPointerDown:m,source:E,allowedSources:[a.dB,E]}),O=(0,r.useMemo)(()=>n.map((e,n)=>{const r=S(e);if(!(0,s.A)(r))return null;const i=N(e);return(0,s.A)(i)?{key:`${n}`,x:r,y:i,color:t?.(e,n)??j,size:"function"==typeof w?w(e):w,datum:e}:null}).filter(e=>e),[j,t,n,S,N,w]);return(0,u.jsx)(u.Fragment,{children:v({glyphs:O,xScale:A,yScale:k,horizontal:M,...T})})}},987(e,t,n){"use strict";n.d(t,{A:()=>p});var r=n(1609),i=n(8042),o=n(3113),s=n(4048),a=n(1634),c=n(8051),u=n(5877),l=n(6964),d=n(8542),h=n(790);function f(e){let{colorAccessor:t,curve:n,data:f,dataKey:p,onBlur:g,onFocus:m,onPointerMove:y,onPointerOut:v,onPointerUp:w,onPointerDown:b,enableEvents:A=!0,xAccessor:x,xScale:k,yAccessor:_,yScale:C,PathComponent:M="path",...S}=e;const{colorScale:N,theme:j}=(0,r.useContext)(o.A),E=(0,r.useMemo)(()=>(0,s.A)(k,x),[k,x]),T=(0,r.useMemo)(()=>(0,s.A)(C,_),[C,_]),O=(0,r.useCallback)(e=>(0,a.A)(k(x(e)))&&(0,a.A)(C(_(e))),[k,x,C,_]),P=N?.(p)??j?.colors?.[0]??"#222",$=`${c.js}-${p}`,R=(0,d.A)({dataKey:p,enableEvents:A,onBlur:g,onFocus:m,onPointerMove:y,onPointerOut:v,onPointerUp:w,onPointerDown:b,source:$,allowedSources:[c.dB,$]}),D=Boolean(m||g),I=(0,r.useCallback)(e=>{let{glyphs:t}=e;return D?t.map(e=>(0,h.jsx)(r.Fragment,{children:(0,l.A)({...e,color:"transparent",onFocus:R.onFocus,onBlur:R.onBlur})},e.key)):null},[D,R.onFocus,R.onBlur]);return(0,h.jsxs)(h.Fragment,{children:[(0,h.jsx)(i.Wi,{x:E,y:T,defined:O,curve:n,...S,children:e=>{let{path:n}=e;return(0,h.jsx)(M,{stroke:t?.(p)??P,strokeWidth:2,fill:"transparent",strokeLinecap:"round",...S,d:n(f)||"",...R})}}),D&&(0,h.jsx)(u.r,{dataKey:p,data:f,xAccessor:x,yAccessor:_,xScale:k,yScale:C,renderGlyphs:I})]})}function p(e){const{dataKey:t,data:n,xAccessor:i,yAccessor:s}=e,{xScale:a,yScale:c,dataRegistry:u}=(0,r.useContext)(o.A);(0,r.useEffect)(()=>(u&&u.registerData({key:t,data:n,xAccessor:i,yAccessor:s}),()=>u?.unregisterData(t)),[u,t,n,i,s]);const l=u?.get(t);return a&&c&&l?(0,h.jsx)(f,{...e,xScale:a,yScale:c,data:l.data,xAccessor:l.xAccessor,yAccessor:l.yAccessor}):null}},6964(e,t,n){"use strict";n.d(t,{A:()=>i});var r=n(790);function i(e){let{key:t,color:n,x:i,y:o,size:s,onBlur:a,onFocus:c,onPointerMove:u,onPointerOut:l,onPointerUp:d}=e;return(0,r.jsx)("circle",{className:"visx-circle-glyph",tabIndex:a||c?0:void 0,fill:n,r:s/2,cx:i,cy:o,onBlur:a,onFocus:c,onPointerMove:u,onPointerOut:l,onPointerUp:d},t)}},8051(e,t,n){"use strict";n.d(t,{J2:()=>r,dB:()=>o,js:()=>i});const r="GLYPHSERIES_EVENT_SOURCE",i="LINESERIES_EVENT_SOURCE",o="XYCHART_EVENT_SOURCE"},3113(e,t,n){"use strict";n.d(t,{A:()=>r});const r=(0,n(1609).createContext)({})},1555(e,t,n){"use strict";n.d(t,{A:()=>r});const r=(0,n(1609).createContext)(null)},2672(e,t,n){"use strict";n.d(t,{A:()=>o});var r=n(1609),i=n(5371);const o=(0,r.createContext)(i.A)},8738(e,t,n){"use strict";n.d(t,{A:()=>r});const r=(0,n(1609).createContext)(null)},9357(e,t,n){"use strict";n.d(t,{A:()=>o});var r=n(1609),i=n(658);function o(){const[,e]=(0,r.useState)(Math.random()),t=(0,r.useMemo)(()=>new i.A,[]);return(0,r.useMemo)(()=>({registerData:function(){t.registerData(...arguments),e(Math.random())},unregisterData:function(){t.unregisterData(...arguments),e(Math.random())},entries:()=>t.entries(),get:e=>t.get(e),keys:()=>t.keys()}),[t])}},9571(e,t,n){"use strict";n.d(t,{A:()=>o});var r=n(1609);const i={width:0,height:0,margin:{top:0,right:0,bottom:0,left:0}};function o(e){const[t,n]=(0,r.useState)({width:null==e?.width?i.width:e.width,height:null==e?.height?i.height:e.height,margin:null==e?.margin?i.margin:e.margin}),o=(0,r.useCallback)(e=>{e.width===t.width&&e.height===t.height&&e.margin.left===t.margin.left&&e.margin.right===t.margin.right&&e.margin.top===t.margin.top&&e.margin.bottom===t.margin.bottom||n(e)},[t.width,t.height,t.margin.left,t.margin.right,t.margin.bottom,t.margin.top]);return[t,o]}},672(e,t,n){"use strict";n.d(t,{A:()=>s});var r=n(1609),i=n(5304),o=n(1555);function s(e,t,n){const s=(0,r.useContext)(o.A),a=(0,r.useRef)(void 0);a.current=n;const c=(0,r.useCallback)((e,t,n)=>{s&&s.emit(e,{event:t,svgPoint:(0,i.A)(t),source:n})},[s]);return(0,r.useEffect)(()=>{if(s&&e&&t){const n=e=>{(!a.current||e?.source&&a.current?.includes(e.source))&&t(e)};return s.on(e,n),()=>s?.off(e,n)}},[s,e,t]),s?c:null}},879(e,t,n){"use strict";n.d(t,{A:()=>o});var r=n(1609),i=n(672);function o(e){let{source:t,onPointerOut:n=!0,onPointerMove:o=!0,onPointerUp:s=!0,onPointerDown:a=!0,onFocus:c=!1,onBlur:u=!1}=e;const l=(0,i.A)(),d=(0,r.useCallback)(e=>l?.("pointermove",e,t),[l,t]),h=(0,r.useCallback)(e=>l?.("pointerout",e,t),[l,t]),f=(0,r.useCallback)(e=>l?.("pointerup",e,t),[l,t]),p=(0,r.useCallback)(e=>l?.("pointerdown",e,t),[l,t]),g=(0,r.useCallback)(e=>l?.("focus",e,t),[l,t]),m=(0,r.useCallback)(e=>l?.("blur",e,t),[l,t]);return{onPointerMove:o?d:void 0,onFocus:c?g:void 0,onBlur:u?m:void 0,onPointerOut:n?h:void 0,onPointerUp:s?f:void 0,onPointerDown:a?p:void 0}}},3741(e,t,n){"use strict";n.d(t,{Ay:()=>d,G1:()=>u,Hy:()=>l});var r=n(1609),i=n(3113),o=n(44),s=n(50),a=n(9777),c=n(672);const u="__POINTER_EVENTS_ALL",l="__POINTER_EVENTS_NEAREST";function d(e){let{dataKey:t,findNearestDatum:n,onBlur:d,onFocus:h,onPointerMove:f,onPointerOut:p,onPointerUp:g,onPointerDown:m,allowedSources:y}=e;const{width:v,height:w,horizontal:b,dataRegistry:A,xScale:x,yScale:k}=(0,r.useContext)(i.A),_=n||(b?a.A:s.A),C=(0,r.useCallback)(e=>{const{svgPoint:n,event:r}=e||{},i={};let o=null,s=1/0;if(e&&r&&n&&v&&w){(t===l||t===u?A?.keys()??[]:Array.isArray(t)?t:[t]).forEach(e=>{const a=A?.get(e);if(a){const c=_({dataKey:e,data:a.data,height:w,point:n,width:v,xAccessor:a.xAccessor,xScale:x,yAccessor:a.yAccessor,yScale:k});if(c&&(i[e]={key:e,svgPoint:n,event:r,...c},t===l)){const t=Math.sqrt((c.distanceX??1/0)+(c.distanceY??1/0));o=t<s?i[e]:o,s=Math.min(s,t)}}});return(t===l?[o]:t===u||Array.isArray(t)?Object.values(i):[i[t]]).filter(e=>e)}return[]},[t,A,x,k,v,w,_]),M=(0,r.useCallback)(e=>{f&&C(e).forEach(e=>f(e))},[C,f]),S=(0,r.useCallback)(e=>{g&&C(e).forEach(e=>g(e))},[C,g]),N=(0,r.useCallback)(e=>{m&&C(e).forEach(e=>m(e))},[C,m]),j=(0,r.useCallback)(e=>{h&&C(e).forEach(e=>h(e))},[C,h]),E=(0,r.useCallback)(e=>{const t=e?.event;t&&(0,o.E)(t)&&p&&p(t)},[p]),T=(0,r.useCallback)(e=>{const t=e?.event;t&&(0,o.r)(t)&&d&&d(t)},[d]);(0,c.A)("pointermove",f?M:void 0,y),(0,c.A)("pointerout",p?E:void 0,y),(0,c.A)("pointerup",g?S:void 0,y),(0,c.A)("pointerdown",m?N:void 0,y),(0,c.A)("focus",h?j:void 0,y),(0,c.A)("blur",d?T:void 0,y)}},6517(e,t,n){"use strict";n.d(t,{A:()=>a});var r=n(7553),i=n(2304),o=n(1609),s=n(6059);function a(e){let{dataRegistry:t,xRange:n,xScaleConfig:a,yRange:c,yScaleConfig:u}=e;const l=t.keys(),[d,h]=n,[f,p]=c;return{xScale:(0,o.useMemo)(()=>{const e=l.map(e=>t.get(e)),n=e.reduce((e,t)=>t?e.concat(t.data.map(e=>t.xAccessor(e))):e,[]);if(0===n.length)return;const o=(0,s.A)(a)?n:(0,i.A)(n);let c=(0,r.pb)(a)?(0,r.rF)({range:[d,h],domain:o,zero:!0,...a}):(0,r.rF)({range:[d,h],domain:o,...a});return e.forEach(e=>{e?.xScale&&(c=e.xScale(c))}),c},[t,a,l,d,h]),yScale:(0,o.useMemo)(()=>{const e=l.map(e=>t.get(e)),n=e.reduce((e,t)=>t?e.concat(t.data.map(e=>t.yAccessor(e))):e,[]);if(0===n.length)return;const o=(0,s.A)(u)?n:(0,i.A)(n);let a=(0,r.pb)(u)?(0,r.rF)({range:[f,p],domain:o,zero:!0,...u}):(0,r.rF)({range:[f,p],domain:o,...u});return e.forEach(e=>{e?.yScale&&(a=e.yScale(a))}),a},[t,u,l,f,p])}}},8542(e,t,n){"use strict";n.d(t,{A:()=>a});var r=n(1609),i=n(8738),o=n(879),s=n(3741);function a(e){let{dataKey:t,enableEvents:n,findNearestDatum:a,onBlur:c,onFocus:u,onPointerMove:l,onPointerOut:d,onPointerUp:h,onPointerDown:f,source:p,allowedSources:g}=e;const{showTooltip:m,hideTooltip:y}=(0,r.useContext)(i.A)??{},v=(0,r.useCallback)(e=>{m(e),l&&l(e)},[m,l]),w=(0,r.useCallback)(e=>{m(e),u&&u(e)},[m,u]),b=(0,r.useCallback)(e=>{y(),e&&d&&d(e)},[y,d]),A=(0,r.useCallback)(e=>{y(),e&&c&&c(e)},[y,c]),x=(0,r.useCallback)(e=>{m(e),f&&f(e)},[m,f]);return(0,s.Ay)({dataKey:t,findNearestDatum:a,onBlur:n?A:void 0,onFocus:n?w:void 0,onPointerMove:n?v:void 0,onPointerOut:n?b:void 0,onPointerUp:n?h:void 0,onPointerDown:n?x:void 0,allowedSources:g}),(0,o.A)({source:p,onBlur:!!c&&n,onFocus:!!u&&n,onPointerMove:!!l&&n,onPointerOut:!!d&&n,onPointerUp:!!h&&n,onPointerDown:!!f&&n})}},5629(e,t,n){"use strict";n(1609),n(8042),n(3113),n(4936),n(7627)},7298(e,t,n){"use strict";n.d(t,{C1:()=>s.A,Im:()=>a.A,_0:()=>r.A,mJ:()=>c.A,m_:()=>o.A,xA:()=>i.A});n(8860),n(4445),n(6708),n(1917),n(950),n(1772),n(5325),n(3907);var r=n(524),i=n(1314),o=n(1872),s=n(6702),a=(n(9829),n(7646),n(3801),n(8361),n(6466),n(6834),n(8250)),c=(n(2620),n(321),n(4346),n(5443),n(4740),n(9917),n(2067),n(3113),n(1555),n(2672),n(8738),n(189),n(6956),n(9095),n(3777),n(672),n(5371),n(4411),n(8913));n(7902)},189(e,t,n){"use strict";n.d(t,{A:()=>h});var r=n(7553),i=n(1609),o=n(2672),s=n(3113),a=n(9357),c=n(9571),u=n(6517),l=n(6059),d=n(790);function h(e){let{initialDimensions:t,theme:n,xScale:h,yScale:f,children:p,horizontal:g="auto",resizeObserverPolyfill:m}=e;const y=(0,i.useContext)(o.A),v=n||y,[{width:w,height:b,margin:A},x]=(0,c.A)(t),k=Math.max(0,w-A.left-A.right),_=Math.max(0,b-A.top-A.bottom),C=(0,a.A)(),{xScale:M,yScale:S}=(0,u.A)({dataRegistry:C,xScaleConfig:h,yScaleConfig:f,xRange:[A.left,Math.max(0,w-A.right)],yRange:[Math.max(0,b-A.bottom),A.top]}),N=C.keys(),j=(0,i.useMemo)(()=>(0,r.UM)({domain:N,range:v.colors}),[N,v.colors]),E="auto"===g?(0,l.A)(f)||"time"===f.type||"utc"===f.type:g,T=(0,i.useMemo)(()=>({dataRegistry:C,registerData:C.registerData,unregisterData:C.unregisterData,xScale:M||(0,r.m4)(),yScale:S||(0,r.m4)(),colorScale:j,theme:v,width:w,height:b,margin:A,innerWidth:k,innerHeight:_,setDimensions:x,horizontal:E,resizeObserverPolyfill:m}),[j,C,b,E,_,k,A,x,v,w,M,S,m]);return(0,d.jsx)(s.A.Provider,{value:T,children:p})}},6956(e,t,n){"use strict";n.d(t,{A:()=>a});var r=n(1609),i=n(5852),o=n(1555),s=n(790);function a(e){let{children:t}=e;const n=(0,r.useMemo)(()=>(0,i.A)(),[]);return(0,s.jsx)(o.A.Provider,{value:n,children:t})}},9095(e,t,n){"use strict";n(2672),n(5371),n(790)},3777(e,t,n){"use strict";n.d(t,{A:()=>u});var r=n(1609),i=n(6079),o=n(9328),s=n(8738),a=n(1634),c=n(790);function u(e){let{hideTooltipDebounceMs:t=400,children:n}=e;const{tooltipOpen:u,tooltipLeft:l,tooltipTop:d,tooltipData:h,updateTooltip:f,hideTooltip:p}=(0,o.fS)(void 0),g=(0,r.useRef)(null);function m(){g.current&&(g.current.cancel(),g.current=null)}(0,r.useEffect)(()=>m,[]);const y=(0,r.useRef)(e=>{let{svgPoint:t,index:n,key:r,datum:i,distanceX:o,distanceY:s}=e;m();const c=(0,a.A)(o)?o:1/0,u=(0,a.A)(s)?s:1/0,l=Math.sqrt(c**2+u**2);f(e=>{let{tooltipData:o}=e;const s=o?.nearestDatum&&(0,a.A)(o.nearestDatum.distance)?o.nearestDatum.distance:1/0;return{tooltipOpen:!0,tooltipLeft:t?.x,tooltipTop:t?.y,tooltipData:{nearestDatum:(o?.nearestDatum?.key??"")!==r&&s<l?o?.nearestDatum:{key:r,index:n,datum:i,distance:l},datumByKey:{...o?.datumByKey,[r]:{datum:i,index:n,key:r}}}}})}),v=(0,r.useCallback)(()=>{g.current=(0,i.sg)(p,t),g.current()},[p,t]),w=(0,r.useMemo)(()=>({tooltipOpen:u,tooltipLeft:l,tooltipTop:d,tooltipData:h,updateTooltip:f,showTooltip:y.current,hideTooltip:v}),[v,h,l,u,d,f]);return(0,c.jsx)(s.A.Provider,{value:w,children:n})}},8913(e,t,n){"use strict";n.d(t,{A:()=>o});var r=n(7902);const i={fontFamily:"-apple-system,BlinkMacSystemFont,Roboto,Helvetica Neue,sans-serif",fontWeight:700,fontSize:12,textAnchor:"middle",pointerEvents:"none",letterSpacing:.4};function o(e){const t={...i,fill:r.hk,stroke:"none",...e.svgLabelBig},n={...i,fontWeight:200,fontSize:11,fill:r.hk,stroke:"none",...e.svgLabelSmall},o={color:e.htmlLabel?.color??e.svgLabelBig?.fill??e.svgLabelSmall?.fill??r.hk,...i,...e.htmlLabel};return{backgroundColor:e.backgroundColor,colors:[...e.colors],htmlLabel:{...o},svgLabelSmall:{...n},svgLabelBig:{...t},gridStyles:{stroke:e.gridColor,strokeWidth:1,...e.gridStyles},axisStyles:{x:{top:{axisLabel:{...t,dy:"-0.25em"},axisLine:{stroke:e.gridColorDark,strokeWidth:2,...e.xAxisLineStyles},tickLabel:{...n,dy:"-0.25em"},tickLength:e.tickLength,tickLine:{strokeWidth:1,stroke:e.gridColor,...e.xTickLineStyles}},bottom:{axisLabel:{...t,dy:"-0.25em"},axisLine:{stroke:e.gridColorDark,strokeWidth:2,...e.xAxisLineStyles},tickLabel:{...n,dy:"0.125em"},tickLength:e.tickLength,tickLine:{strokeWidth:1,stroke:e.gridColor,...e.xTickLineStyles}}},y:{left:{axisLabel:{...t,dx:"-1.25em"},axisLine:{stroke:e.gridColor,strokeWidth:1,...e.yAxisLineStyles},tickLabel:{...n,textAnchor:"end",dx:"-0.25em",dy:"0.25em"},tickLength:e.tickLength,tickLine:{strokeWidth:1,stroke:e.gridColor,...e.yTickLineStyles}},right:{axisLabel:{...t,dx:"1.25em"},axisLine:{stroke:e.gridColor,strokeWidth:1,...e.yAxisLineStyles},tickLabel:{...n,textAnchor:"start",dx:"0.25em",dy:"0.25em"},tickLength:e.tickLength,tickLine:{strokeWidth:1,stroke:e.gridColor,...e.yTickLineStyles}}}}}}},7902(e,t,n){"use strict";n.d(t,{Ag:()=>i,IO:()=>s,QD:()=>r,hk:()=>o});const r={red:["#fff5f5","#ffe3e3","#ffc9c9","#ffa8a8","#ff8787","#ff6b6b","#fa5252","#f03e3e","#e03131","#c92a2a"],pink:["#fff0f6","#ffdeeb","#fcc2d7","#faa2c1","#f783ac","#f06595","#e64980","#d6336c","#c2255c","#a61e4d"],grape:["#f8f0fc","#f3d9fa","#eebefa","#e599f7","#da77f2","#cc5de8","#be4bdb","#ae3ec9","#9c36b5","#862e9c"],violet:["#f3f0ff","#e5dbff","#d0bfff","#b197fc","#9775fa","#845ef7","#7950f2","#7048e8","#6741d9","#5f3dc4"],indigo:["#edf2ff","#dbe4ff","#bac8ff","#91a7ff","#748ffc","#5c7cfa","#4c6ef5","#4263eb","#3b5bdb","#364fc7"],blue:["#e8f7ff","#ccedff","#a3daff","#72c3fc","#4dadf7","#329af0","#228ae6","#1c7cd6","#1b6ec2","#1862ab"],cyan:["#e3fafc","#c5f6fa","#99e9f2","#66d9e8","#3bc9db","#22b8cf","#15aabf","#1098ad","#0c8599","#0b7285"],teal:["#e6fcf5","#c3fae8","#96f2d7","#63e6be","#38d9a9","#20c997","#12b886","#0ca678","#099268","#087f5b"],green:["#ebfbee","#d3f9d8","#b2f2bb","#8ce99a","#69db7c","#51cf66","#40c057","#37b24d","#2f9e44","#2b8a3e"],lime:["#f4fce3","#e9fac8","#d8f5a2","#c0eb75","#a9e34b","#94d82d","#82c91e","#74b816","#66a80f","#5c940d"],yellow:["#fff9db","#fff3bf","#ffec99","#ffe066","#ffd43b","#fcc419","#fab005","#f59f00","#f08c00","#e67700"],orange:["#fff4e6","#ffe8cc","#ffd8a8","#ffc078","#ffa94d","#ff922b","#fd7e14","#f76707","#e8590c","#d9480f"],gray:["#f8f9fa","#f1f3f5","#e9ecef","#dee2e6","#ced4da","#adb5bd","#868e96","#495057","#343a40","#212529"]},i=r.gray,o=i[7],s=[r.cyan[9],r.cyan[3],r.yellow[5],r.red[4],r.grape[8],r.grape[5],r.pink[9]]},4411(e,t,n){"use strict";var r=n(7902);(0,n(8913).A)({backgroundColor:"#222",colors:[r.QD.cyan[4],r.QD.teal[1],r.QD.yellow[2],r.QD.red[4],r.QD.grape[3],r.QD.grape[6],r.QD.pink[3]],tickLength:4,svgLabelSmall:{fill:r.Ag[2]},svgLabelBig:{fill:r.Ag[0]},gridColor:r.Ag[4],gridColorDark:r.Ag[1]})},5371(e,t,n){"use strict";n.d(t,{A:()=>i});var r=n(7902);const i=(0,n(8913).A)({backgroundColor:"#fff",colors:r.IO,tickLength:4,svgLabelSmall:{fill:r.Ag[7]},svgLabelBig:{fill:r.Ag[9]},gridColor:r.Ag[5],gridColorDark:r.Ag[9]})},44(e,t,n){"use strict";function r(e){return!!e&&("clientX"in e||"changedTouches"in e)}function i(e){return!!e&&!r(e)}n.d(t,{E:()=>r,r:()=>i})},1634(e,t,n){"use strict";function r(e){return null!=e&&"number"==typeof e&&!Number.isNaN(e)&&Number.isFinite(e)}n.d(t,{A:()=>r})},7926(e,t,n){"use strict";n.d(t,{A:()=>s});var r=n(3714),i=n(6247),o=n(5007);function s(e){let{scale:t,accessor:n,scaledValue:s,data:a}=e;const c=t;let u,l;if("invert"in c&&"function"==typeof c.invert){const e=(0,i.A)(n).left,t=Number(c.invert(s)),r=e(a,t),o=a[r-1],d=a[r];u=!o||Math.abs(t-n(o))>Math.abs(t-n(d))?d:o,l=u===o?r-1:r}else{if(!("step"in c)||void 0===c.step)return console.warn("[visx/xychart/findNearestDatum] encountered incompatible scale type, bailing"),null;{const e=t.domain(),i=t.range().map(Number),d=[...i].sort((e,t)=>e-t),h=(0,o.A)(d[0],d[1],c.step()),f=(0,r.ah)(h,s),p=(i[0]<i[1]?e:e.reverse())[f-1],g=a.findIndex(e=>String(n(e))===String(p));u=a[g],l=g}}if(null==u||null==l)return null;return{datum:u,index:l,distance:Math.abs(Number(c(n(u)))-s)}}},50(e,t,n){"use strict";n.d(t,{A:()=>i});var r=n(7926);function i(e){let{xScale:t,xAccessor:n,yScale:i,yAccessor:o,point:s,data:a}=e;if(!s)return null;const c=(0,r.A)({scale:t,accessor:n,scaledValue:s.x,data:a});return c?{datum:c.datum,index:c.index,distanceX:c.distance,distanceY:Math.abs(Number(i(o(c.datum)))-s.y)}:null}},9777(e,t,n){"use strict";n.d(t,{A:()=>i});var r=n(7926);function i(e){let{yScale:t,yAccessor:n,xScale:i,xAccessor:o,point:s,data:a}=e;if(!s)return null;const c=(0,r.A)({scale:t,accessor:n,scaledValue:s.y,data:a});return c?{datum:c.datum,index:c.index,distanceY:c.distance,distanceX:Math.abs(Number(i(o(c.datum)))-s.x)}:null}},3568(e,t,n){"use strict";n(8042)},4936(e,t,n){"use strict";n(8042)},7627(e,t,n){"use strict";n(1609)},3575(e,t,n){"use strict";function r(e){const t=e;return t&&"bandwidth"in t?t?.bandwidth()??0:0}n.d(t,{A:()=>r})},5907(e,t,n){"use strict";n(7553)},4048(e,t,n){"use strict";n.d(t,{A:()=>o});var r=n(1634),i=n(3575);function o(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"center";return o=>{const s=e(t(o));if((0,r.A)(s)){return s+("start"===n?0:(0,i.A)(e))/("center"===n?2:1)}return NaN}}},6059(e,t,n){"use strict";function r(e){return"band"===e?.type||"ordinal"===e?.type||"point"===e?.type}n.d(t,{A:()=>r})},71(e,t,n){"use strict";n.d(t,{A:()=>o});var r=n(5573),i=n(790),o=(0,i.jsx)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,i.jsx)(r.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M3 7c0-1.1.9-2 2-2h14a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V7Zm2-.5h14c.3 0 .5.2.5.5v1L12 13.5 4.5 7.9V7c0-.3.2-.5.5-.5Zm-.5 3.3V17c0 .3.2.5.5.5h14c.3 0 .5-.2.5-.5V9.8L12 15.4 4.5 9.8Z"})})},8351(e,t,n){"use strict";n.d(t,{A:()=>o});var r=n(5573),i=n(790),o=(0,i.jsx)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,i.jsx)(r.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M5.5 9.5v-2h13v2h-13zm0 3v4h13v-4h-13zM4 7a1 1 0 011-1h14a1 1 0 011 1v10a1 1 0 01-1 1H5a1 1 0 01-1-1V7z"})})},3022(e,t,n){"use strict";function r(e){var t,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(t=0;t<o;t++)e[t]&&(n=r(e[t]))&&(i&&(i+=" "),i+=n)}else for(n in e)e[n]&&(i&&(i+=" "),i+=n);return i}n.d(t,{A:()=>i});const i=function(){for(var e,t,n=0,i="",o=arguments.length;n<o;n++)(e=arguments[n])&&(t=r(e))&&(i&&(i+=" "),i+=t);return i}},3580(e,t,n){"use strict";function r(e,t){return null==e||null==t?NaN:e<t?-1:e>t?1:e>=t?0:NaN}n.d(t,{A:()=>r})},3714(e,t,n){"use strict";n.d(t,{Ay:()=>u,ah:()=>c});var r=n(3580),i=n(6247),o=n(4349);const s=(0,i.A)(r.A),a=s.right,c=s.left,u=((0,i.A)(o.A).center,a)},6247(e,t,n){"use strict";n.d(t,{A:()=>o});var r=n(3580),i=n(8398);function o(e){let t,n,o;function a(e,r,i=0,o=e.length){if(i<o){if(0!==t(r,r))return o;do{const t=i+o>>>1;n(e[t],r)<0?i=t+1:o=t}while(i<o)}return i}return 2!==e.length?(t=r.A,n=(t,n)=>(0,r.A)(e(t),n),o=(t,n)=>e(t)-n):(t=e===r.A||e===i.A?e:s,n=e,o=e),{left:a,center:function(e,t,n=0,r=e.length){const i=a(e,t,n,r-1);return i>n&&o(e[i-1],t)>-o(e[i],t)?i-1:i},right:function(e,r,i=0,o=e.length){if(i<o){if(0!==t(r,r))return o;do{const t=i+o>>>1;n(e[t],r)<=0?i=t+1:o=t}while(i<o)}return i}}}function s(){return 0}},8398(e,t,n){"use strict";function r(e,t){return null==e||null==t?NaN:t<e?-1:t>e?1:t>=e?0:NaN}n.d(t,{A:()=>r})},2304(e,t,n){"use strict";function r(e,t){let n,r;if(void 0===t)for(const t of e)null!=t&&(void 0===n?t>=t&&(n=r=t):(n>t&&(n=t),r<t&&(r=t)));else{let i=-1;for(let o of e)null!=(o=t(o,++i,e))&&(void 0===n?o>=o&&(n=r=o):(n>o&&(n=o),r<o&&(r=o)))}return[n,r]}n.d(t,{A:()=>r})},4349(e,t,n){"use strict";function r(e){return null===e?NaN:+e}n.d(t,{A:()=>r})},1217(e,t,n){"use strict";n.d(t,{Z4:()=>i});var r=n(4349);function i(e,t,n=r.A){if((i=e.length)&&!isNaN(t=+t)){if(t<=0||i<2)return+n(e[0],0,e);if(t>=1)return+n(e[i-1],i-1,e);var i,o=(i-1)*t,s=Math.floor(o),a=+n(e[s],s,e);return a+(+n(e[s+1],s+1,e)-a)*(o-s)}}},5007(e,t,n){"use strict";function r(e,t,n){e=+e,t=+t,n=(i=arguments.length)<2?(t=e,e=0,1):i<3?1:+n;for(var r=-1,i=0|Math.max(0,Math.ceil((t-e)/n)),o=new Array(i);++r<i;)o[r]=e+r*n;return o}n.d(t,{A:()=>r})},2280(e,t,n){"use strict";n.d(t,{Ay:()=>s,lq:()=>a,sG:()=>c});var r=Math.sqrt(50),i=Math.sqrt(10),o=Math.sqrt(2);function s(e,t,n){var r,i,o,s,c=-1;if(n=+n,(e=+e)===(t=+t)&&n>0)return[e];if((r=t<e)&&(i=e,e=t,t=i),0===(s=a(e,t,n))||!isFinite(s))return[];if(s>0){let n=Math.round(e/s),r=Math.round(t/s);for(n*s<e&&++n,r*s>t&&--r,o=new Array(i=r-n+1);++c<i;)o[c]=(n+c)*s}else{s=-s;let n=Math.round(e*s),r=Math.round(t*s);for(n/s<e&&++n,r/s>t&&--r,o=new Array(i=r-n+1);++c<i;)o[c]=(n+c)/s}return r&&o.reverse(),o}function a(e,t,n){var s=(t-e)/Math.max(0,n),a=Math.floor(Math.log(s)/Math.LN10),c=s/Math.pow(10,a);return a>=0?(c>=r?10:c>=i?5:c>=o?2:1)*Math.pow(10,a):-Math.pow(10,-a)/(c>=r?10:c>=i?5:c>=o?2:1)}function c(e,t,n){var s=Math.abs(t-e)/Math.max(0,n),a=Math.pow(10,Math.floor(Math.log(s)/Math.LN10)),c=s/a;return c>=r?a*=10:c>=i?a*=5:c>=o&&(a*=2),t<e?-a:a}},4407(e,t,n){"use strict";n.d(t,{Ay:()=>b,Gw:()=>C,KI:()=>P,Q1:()=>i,Qh:()=>_,Uw:()=>s,b:()=>k,ef:()=>o});var r=n(3933);function i(){}var o=.7,s=1/o,a="\\s*([+-]?\\d+)\\s*",c="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",u="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",l=/^#([0-9a-f]{3,8})$/,d=new RegExp(`^rgb\\(${a},${a},${a}\\)$`),h=new RegExp(`^rgb\\(${u},${u},${u}\\)$`),f=new RegExp(`^rgba\\(${a},${a},${a},${c}\\)$`),p=new RegExp(`^rgba\\(${u},${u},${u},${c}\\)$`),g=new RegExp(`^hsl\\(${c},${u},${u}\\)$`),m=new RegExp(`^hsla\\(${c},${u},${u},${c}\\)$`),y={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};function v(){return this.rgb().formatHex()}function w(){return this.rgb().formatRgb()}function b(e){var t,n;return e=(e+"").trim().toLowerCase(),(t=l.exec(e))?(n=t[1].length,t=parseInt(t[1],16),6===n?A(t):3===n?new C(t>>8&15|t>>4&240,t>>4&15|240&t,(15&t)<<4|15&t,1):8===n?x(t>>24&255,t>>16&255,t>>8&255,(255&t)/255):4===n?x(t>>12&15|t>>8&240,t>>8&15|t>>4&240,t>>4&15|240&t,((15&t)<<4|15&t)/255):null):(t=d.exec(e))?new C(t[1],t[2],t[3],1):(t=h.exec(e))?new C(255*t[1]/100,255*t[2]/100,255*t[3]/100,1):(t=f.exec(e))?x(t[1],t[2],t[3],t[4]):(t=p.exec(e))?x(255*t[1]/100,255*t[2]/100,255*t[3]/100,t[4]):(t=g.exec(e))?T(t[1],t[2]/100,t[3]/100,1):(t=m.exec(e))?T(t[1],t[2]/100,t[3]/100,t[4]):y.hasOwnProperty(e)?A(y[e]):"transparent"===e?new C(NaN,NaN,NaN,0):null}function A(e){return new C(e>>16&255,e>>8&255,255&e,1)}function x(e,t,n,r){return r<=0&&(e=t=n=NaN),new C(e,t,n,r)}function k(e){return e instanceof i||(e=b(e)),e?new C((e=e.rgb()).r,e.g,e.b,e.opacity):new C}function _(e,t,n,r){return 1===arguments.length?k(e):new C(e,t,n,r??1)}function C(e,t,n,r){this.r=+e,this.g=+t,this.b=+n,this.opacity=+r}function M(){return`#${E(this.r)}${E(this.g)}${E(this.b)}`}function S(){const e=N(this.opacity);return`${1===e?"rgb(":"rgba("}${j(this.r)}, ${j(this.g)}, ${j(this.b)}${1===e?")":`, ${e})`}`}function N(e){return isNaN(e)?1:Math.max(0,Math.min(1,e))}function j(e){return Math.max(0,Math.min(255,Math.round(e)||0))}function E(e){return((e=j(e))<16?"0":"")+e.toString(16)}function T(e,t,n,r){return r<=0?e=t=n=NaN:n<=0||n>=1?e=t=NaN:t<=0&&(e=NaN),new $(e,t,n,r)}function O(e){if(e instanceof $)return new $(e.h,e.s,e.l,e.opacity);if(e instanceof i||(e=b(e)),!e)return new $;if(e instanceof $)return e;var t=(e=e.rgb()).r/255,n=e.g/255,r=e.b/255,o=Math.min(t,n,r),s=Math.max(t,n,r),a=NaN,c=s-o,u=(s+o)/2;return c?(a=t===s?(n-r)/c+6*(n<r):n===s?(r-t)/c+2:(t-n)/c+4,c/=u<.5?s+o:2-s-o,a*=60):c=u>0&&u<1?0:a,new $(a,c,u,e.opacity)}function P(e,t,n,r){return 1===arguments.length?O(e):new $(e,t,n,r??1)}function $(e,t,n,r){this.h=+e,this.s=+t,this.l=+n,this.opacity=+r}function R(e){return(e=(e||0)%360)<0?e+360:e}function D(e){return Math.max(0,Math.min(1,e||0))}function I(e,t,n){return 255*(e<60?t+(n-t)*e/60:e<180?n:e<240?t+(n-t)*(240-e)/60:t)}(0,r.A)(i,b,{copy(e){return Object.assign(new this.constructor,this,e)},displayable(){return this.rgb().displayable()},hex:v,formatHex:v,formatHex8:function(){return this.rgb().formatHex8()},formatHsl:function(){return O(this).formatHsl()},formatRgb:w,toString:w}),(0,r.A)(C,_,(0,r.X)(i,{brighter(e){return e=null==e?s:Math.pow(s,e),new C(this.r*e,this.g*e,this.b*e,this.opacity)},darker(e){return e=null==e?o:Math.pow(o,e),new C(this.r*e,this.g*e,this.b*e,this.opacity)},rgb(){return this},clamp(){return new C(j(this.r),j(this.g),j(this.b),N(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:M,formatHex:M,formatHex8:function(){return`#${E(this.r)}${E(this.g)}${E(this.b)}${E(255*(isNaN(this.opacity)?1:this.opacity))}`},formatRgb:S,toString:S})),(0,r.A)($,P,(0,r.X)(i,{brighter(e){return e=null==e?s:Math.pow(s,e),new $(this.h,this.s,this.l*e,this.opacity)},darker(e){return e=null==e?o:Math.pow(o,e),new $(this.h,this.s,this.l*e,this.opacity)},rgb(){var e=this.h%360+360*(this.h<0),t=isNaN(e)||isNaN(this.s)?0:this.s,n=this.l,r=n+(n<.5?n:1-n)*t,i=2*n-r;return new C(I(e>=240?e-240:e+120,i,r),I(e,i,r),I(e<120?e+240:e-120,i,r),this.opacity)},clamp(){return new $(R(this.h),D(this.s),D(this.l),N(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(){const e=N(this.opacity);return`${1===e?"hsl(":"hsla("}${R(this.h)}, ${100*D(this.s)}%, ${100*D(this.l)}%${1===e?")":`, ${e})`}`}}))},7223(e,t,n){"use strict";n.d(t,{A:()=>p});var r=n(3933),i=n(4407),o=n(9484),s=-.14861,a=1.78277,c=-.29227,u=-.90649,l=1.97294,d=l*u,h=l*a,f=a*c-u*s;function p(e,t,n,r){return 1===arguments.length?function(e){if(e instanceof g)return new g(e.h,e.s,e.l,e.opacity);e instanceof i.Gw||(e=(0,i.b)(e));var t=e.r/255,n=e.g/255,r=e.b/255,s=(f*r+d*t-h*n)/(f+d-h),a=r-s,p=(l*(n-s)-c*a)/u,m=Math.sqrt(p*p+a*a)/(l*s*(1-s)),y=m?Math.atan2(p,a)*o.u-120:NaN;return new g(y<0?y+360:y,m,s,e.opacity)}(e):new g(e,t,n,r??1)}function g(e,t,n,r){this.h=+e,this.s=+t,this.l=+n,this.opacity=+r}(0,r.A)(g,p,(0,r.X)(i.Q1,{brighter(e){return e=null==e?i.Uw:Math.pow(i.Uw,e),new g(this.h,this.s,this.l*e,this.opacity)},darker(e){return e=null==e?i.ef:Math.pow(i.ef,e),new g(this.h,this.s,this.l*e,this.opacity)},rgb(){var e=isNaN(this.h)?0:(this.h+120)*o.F,t=+this.l,n=isNaN(this.s)?0:this.s*t*(1-t),r=Math.cos(e),d=Math.sin(e);return new i.Gw(255*(t+n*(s*r+a*d)),255*(t+n*(c*r+u*d)),255*(t+n*(l*r)),this.opacity)}}))},3933(e,t,n){"use strict";function r(e,t,n){e.prototype=t.prototype=n,n.constructor=e}function i(e,t){var n=Object.create(e.prototype);for(var r in t)n[r]=t[r];return n}n.d(t,{A:()=>r,X:()=>i}),n.dn(r)},9099(e,t,n){"use strict";n.d(t,{Ay:()=>f,aq:()=>b});var r=n(3933),i=n(4407),o=n(9484);const s=.96422,a=.82521,c=4/29,u=6/29,l=3*u*u,d=u*u*u;function h(e){if(e instanceof p)return new p(e.l,e.a,e.b,e.opacity);if(e instanceof A)return x(e);e instanceof i.Gw||(e=(0,i.b)(e));var t,n,r=v(e.r),o=v(e.g),c=v(e.b),u=g((.2225045*r+.7168786*o+.0606169*c)/1);return r===o&&o===c?t=n=u:(t=g((.4360747*r+.3850649*o+.1430804*c)/s),n=g((.0139322*r+.0971045*o+.7141733*c)/a)),new p(116*u-16,500*(t-u),200*(u-n),e.opacity)}function f(e,t,n,r){return 1===arguments.length?h(e):new p(e,t,n,r??1)}function p(e,t,n,r){this.l=+e,this.a=+t,this.b=+n,this.opacity=+r}function g(e){return e>d?Math.pow(e,1/3):e/l+c}function m(e){return e>u?e*e*e:l*(e-c)}function y(e){return 255*(e<=.0031308?12.92*e:1.055*Math.pow(e,1/2.4)-.055)}function v(e){return(e/=255)<=.04045?e/12.92:Math.pow((e+.055)/1.055,2.4)}function w(e){if(e instanceof A)return new A(e.h,e.c,e.l,e.opacity);if(e instanceof p||(e=h(e)),0===e.a&&0===e.b)return new A(NaN,0<e.l&&e.l<100?0:NaN,e.l,e.opacity);var t=Math.atan2(e.b,e.a)*o.u;return new A(t<0?t+360:t,Math.sqrt(e.a*e.a+e.b*e.b),e.l,e.opacity)}function b(e,t,n,r){return 1===arguments.length?w(e):new A(e,t,n,r??1)}function A(e,t,n,r){this.h=+e,this.c=+t,this.l=+n,this.opacity=+r}function x(e){if(isNaN(e.h))return new p(e.l,0,0,e.opacity);var t=e.h*o.F;return new p(e.l,Math.cos(t)*e.c,Math.sin(t)*e.c,e.opacity)}(0,r.A)(p,f,(0,r.X)(i.Q1,{brighter(e){return new p(this.l+18*(e??1),this.a,this.b,this.opacity)},darker(e){return new p(this.l-18*(e??1),this.a,this.b,this.opacity)},rgb(){var e=(this.l+16)/116,t=isNaN(this.a)?e:e+this.a/500,n=isNaN(this.b)?e:e-this.b/200;return t=s*m(t),e=1*m(e),n=a*m(n),new i.Gw(y(3.1338561*t-1.6168667*e-.4906146*n),y(-.9787684*t+1.9161415*e+.033454*n),y(.0719453*t-.2289914*e+1.4052427*n),this.opacity)}})),(0,r.A)(A,b,(0,r.X)(i.Q1,{brighter(e){return new A(this.h,this.c,this.l+18*(e??1),this.opacity)},darker(e){return new A(this.h,this.c,this.l-18*(e??1),this.opacity)},rgb(){return x(this).rgb()}}))},9484(e,t,n){"use strict";n.d(t,{F:()=>r,u:()=>i});const r=Math.PI/180,i=180/Math.PI},4491(e,t,n){"use strict";n.d(t,{GP:()=>i,s:()=>o});var r,i,o,s,a=n(976);s={thousands:",",grouping:[3],currency:["$",""]},r=(0,a.A)(s),i=r.format,o=r.formatPrefix},2141(e,t,n){"use strict";n.d(t,{A:()=>i}),n.dn(i);var r=n(1166);function i(e){return(e=(0,r.f)(Math.abs(e)))?e[1]:NaN}},1166(e,t,n){"use strict";function r(e){return Math.abs(e=Math.round(e))>=1e21?e.toLocaleString("en").replace(/,/g,""):e.toString(10)}function i(e,t){if((n=(e=t?e.toExponential(t-1):e.toExponential()).indexOf("e"))<0)return null;var n,r=e.slice(0,n);return[r.length>1?r[0]+r.slice(2):r,+e.slice(n+1)]}n.d(t,{A:()=>r,f:()=>i}),n.dn(r)},8514(e,t,n){"use strict";function r(e,t){return function(n,r){for(var i=n.length,o=[],s=0,a=e[0],c=0;i>0&&a>0&&(c+a+1>r&&(a=Math.max(1,r-c)),o.push(n.substring(i-=a,i+a)),!((c+=a+1)>r));)a=e[s=(s+1)%e.length];return o.reverse().join(t)}}n.d(t,{A:()=>r}),n.dn(r)},4422(e,t,n){"use strict";function r(e){return function(t){return t.replace(/[0-9]/g,function(t){return e[+t]})}}n.d(t,{A:()=>r}),n.dn(r)},3134(e,t,n){"use strict";n.d(t,{A:()=>o,u:()=>r}),n.dn(o);var r,i=n(1166);function o(e,t){var n=(0,i.f)(e,t);if(!n)return e+"";var o=n[0],s=n[1],a=s-(r=3*Math.max(-8,Math.min(8,Math.floor(s/3))))+1,c=o.length;return a===c?o:a>c?o+new Array(a-c+1).join("0"):a>0?o.slice(0,a)+"."+o.slice(a):"0."+new Array(1-a).join("0")+(0,i.f)(e,Math.max(0,t+a-1))[0]}},3092(e,t,n){"use strict";n.d(t,{A:()=>i}),n.dn(i);var r=n(1166);function i(e,t){var n=(0,r.f)(e,t);if(!n)return e+"";var i=n[0],o=n[1];return o<0?"0."+new Array(-o).join("0")+i:i.length>o+1?i.slice(0,o+1)+"."+i.slice(o+1):i+new Array(o-i.length+2).join("0")}},5909(e,t,n){"use strict";n.d(t,{A:()=>i});var r=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function i(e){if(!(t=r.exec(e)))throw new Error("invalid format: "+e);var t;return new o({fill:t[1],align:t[2],sign:t[3],symbol:t[4],zero:t[5],width:t[6],comma:t[7],precision:t[8]&&t[8].slice(1),trim:t[9],type:t[10]})}function o(e){this.fill=void 0===e.fill?" ":e.fill+"",this.align=void 0===e.align?">":e.align+"",this.sign=void 0===e.sign?"-":e.sign+"",this.symbol=void 0===e.symbol?"":e.symbol+"",this.zero=!!e.zero,this.width=void 0===e.width?void 0:+e.width,this.comma=!!e.comma,this.precision=void 0===e.precision?void 0:+e.precision,this.trim=!!e.trim,this.type=void 0===e.type?"":e.type+""}i.prototype=o.prototype,o.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}},3361(e,t,n){"use strict";function r(e){e:for(var t,n=e.length,r=1,i=-1;r<n;++r)switch(e[r]){case".":i=t=r;break;case"0":0===i&&(i=r),t=r;break;default:if(!+e[r])break e;i>0&&(i=0)}return i>0?e.slice(0,i)+e.slice(t+1):e}n.d(t,{A:()=>r}),n.dn(r)},3892(e,t,n){"use strict";n.d(t,{A:()=>s});var r=n(1166),i=n(3134),o=n(3092);const s={"%":(e,t)=>(100*e).toFixed(t),b:e=>Math.round(e).toString(2),c:e=>e+"",d:r.A,e:(e,t)=>e.toExponential(t),f:(e,t)=>e.toFixed(t),g:(e,t)=>e.toPrecision(t),o:e=>Math.round(e).toString(8),p:(e,t)=>(0,o.A)(100*e,t),r:o.A,s:i.A,X:e=>Math.round(e).toString(16).toUpperCase(),x:e=>Math.round(e).toString(16)}},6876(e,t,n){"use strict";function r(e){return e}n.d(t,{A:()=>r}),n.dn(r)},976(e,t,n){"use strict";n.d(t,{A:()=>f}),n.dn(f);var r=n(2141),i=n(8514),o=n(4422),s=n(5909),a=n(3361),c=n(3892),u=n(3134),l=n(6876),d=Array.prototype.map,h=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"];function f(e){var t=void 0===e.grouping||void 0===e.thousands?l.A:(0,i.A)(d.call(e.grouping,Number),e.thousands+""),n=void 0===e.currency?"":e.currency[0]+"",f=void 0===e.currency?"":e.currency[1]+"",p=void 0===e.decimal?".":e.decimal+"",g=void 0===e.numerals?l.A:(0,o.A)(d.call(e.numerals,String)),m=void 0===e.percent?"%":e.percent+"",y=void 0===e.minus?"−":e.minus+"",v=void 0===e.nan?"NaN":e.nan+"";function w(e){var r=(e=(0,s.A)(e)).fill,i=e.align,o=e.sign,l=e.symbol,d=e.zero,w=e.width,b=e.comma,A=e.precision,x=e.trim,k=e.type;"n"===k?(b=!0,k="g"):c.A[k]||(void 0===A&&(A=12),x=!0,k="g"),(d||"0"===r&&"="===i)&&(d=!0,r="0",i="=");var _="$"===l?n:"#"===l&&/[boxX]/.test(k)?"0"+k.toLowerCase():"",C="$"===l?f:/[%p]/.test(k)?m:"",M=c.A[k],S=/[defgprs%]/.test(k);function N(e){var n,s,c,l=_,f=C;if("c"===k)f=M(e)+f,e="";else{var m=(e=+e)<0||1/e<0;if(e=isNaN(e)?v:M(Math.abs(e),A),x&&(e=(0,a.A)(e)),m&&0===+e&&"+"!==o&&(m=!1),l=(m?"("===o?o:y:"-"===o||"("===o?"":o)+l,f=("s"===k?h[8+u.u/3]:"")+f+(m&&"("===o?")":""),S)for(n=-1,s=e.length;++n<s;)if(48>(c=e.charCodeAt(n))||c>57){f=(46===c?p+e.slice(n+1):e.slice(n))+f,e=e.slice(0,n);break}}b&&!d&&(e=t(e,1/0));var N=l.length+e.length+f.length,j=N<w?new Array(w-N+1).join(r):"";switch(b&&d&&(e=t(j+e,j.length?w-f.length:1/0),j=""),i){case"<":e=l+e+f+j;break;case"=":e=l+j+e+f;break;case"^":e=j.slice(0,N=j.length>>1)+l+e+f+j.slice(N);break;default:e=j+l+e+f}return g(e)}return A=void 0===A?6:/[gprs]/.test(k)?Math.max(1,Math.min(21,A)):Math.max(0,Math.min(20,A)),N.toString=function(){return e+""},N}return{format:w,formatPrefix:function(e,t){var n=w(((e=(0,s.A)(e)).type="f",e)),i=3*Math.max(-8,Math.min(8,Math.floor((0,r.A)(t)/3))),o=Math.pow(10,-i),a=h[8+i/3];return function(e){return n(o*e)+a}}}}},4231(e,t,n){"use strict";n.d(t,{A:()=>i}),n.dn(i);var r=n(2141);function i(e){return Math.max(0,-(0,r.A)(Math.abs(e)))}},6444(e,t,n){"use strict";n.d(t,{A:()=>i}),n.dn(i);var r=n(2141);function i(e,t){return Math.max(0,3*Math.max(-8,Math.min(8,Math.floor((0,r.A)(t)/3)))-(0,r.A)(Math.abs(e)))}},5026(e,t,n){"use strict";n.d(t,{A:()=>i}),n.dn(i);var r=n(2141);function i(e,t){return e=Math.abs(e),t=Math.abs(t)-e,Math.max(0,(0,r.A)(t)-(0,r.A)(e))+1}},5469(e,t,n){"use strict";n.d(t,{$:()=>i});var r=n(361);function i(e,t){var n,i=t?t.length:0,o=e?Math.min(i,e.length):0,s=new Array(o),a=new Array(i);for(n=0;n<o;++n)s[n]=(0,r.A)(e[n],t[n]);for(;n<i;++n)a[n]=t[n];return function(e){for(n=0;n<o;++n)a[n]=s[n](e);return a}}},9946(e,t,n){"use strict";function r(e,t,n,r,i){var o=e*e,s=o*e;return((1-3*e+3*o-s)*t+(4-6*o+3*s)*n+(1+3*e+3*o-3*s)*r+s*i)/6}function i(e){var t=e.length-1;return function(n){var i=n<=0?n=0:n>=1?(n=1,t-1):Math.floor(n*t),o=e[i],s=e[i+1],a=i>0?e[i-1]:2*o-s,c=i<t-1?e[i+2]:2*s-o;return r((n-i/t)*t,a,o,s,c)}}n.d(t,{A:()=>i,H:()=>r}),n.dn(i)},5002(e,t,n){"use strict";n.d(t,{A:()=>i}),n.dn(i);var r=n(9946);function i(e){var t=e.length;return function(n){var i=Math.floor(((n%=1)<0?++n:n)*t),o=e[(i+t-1)%t],s=e[i%t],a=e[(i+1)%t],c=e[(i+2)%t];return(0,r.H)((n-i/t)*t,o,s,a,c)}}},4115(e,t,n){"use strict";n.d(t,{Ay:()=>a,lG:()=>o,uN:()=>s});var r=n(8338);function i(e,t){return function(n){return e+n*t}}function o(e,t){var n=t-e;return n?i(e,n>180||n<-180?n-360*Math.round(n/360):n):(0,r.A)(isNaN(e)?t:e)}function s(e){return 1===(e=+e)?a:function(t,n){return n-t?function(e,t,n){return e=Math.pow(e,n),t=Math.pow(t,n)-e,n=1/n,function(r){return Math.pow(e+r*t,n)}}(t,n,e):(0,r.A)(isNaN(t)?n:t)}}function a(e,t){var n=t-e;return n?i(e,n):(0,r.A)(isNaN(e)?t:e)}},8338(e,t,n){"use strict";n.d(t,{A:()=>r});const r=e=>()=>e;n.dn(r)},27(e,t,n){"use strict";n.d(t,{A:()=>s,w:()=>a});var r=n(7223),i=n(4115);function o(e){return function t(n){function o(t,o){var s=e((t=(0,r.A)(t)).h,(o=(0,r.A)(o)).h),a=(0,i.Ay)(t.s,o.s),c=(0,i.Ay)(t.l,o.l),u=(0,i.Ay)(t.opacity,o.opacity);return function(e){return t.h=s(e),t.s=a(e),t.l=c(Math.pow(e,n)),t.opacity=u(e),t+""}}return n=+n,o.gamma=t,o}(1)}const s=o(i.lG);var a=o(i.Ay)},62(e,t,n){"use strict";function r(e,t){var n=new Date;return e=+e,t=+t,function(r){return n.setTime(e*(1-r)+t*r),n}}n.d(t,{A:()=>r}),n.dn(r)},5387(e,t,n){"use strict";n.d(t,{A:()=>s,G:()=>a});var r=n(9099),i=n(4115);function o(e){return function(t,n){var o=e((t=(0,r.aq)(t)).h,(n=(0,r.aq)(n)).h),s=(0,i.Ay)(t.c,n.c),a=(0,i.Ay)(t.l,n.l),c=(0,i.Ay)(t.opacity,n.opacity);return function(e){return t.h=o(e),t.c=s(e),t.l=a(e),t.opacity=c(e),t+""}}}const s=o(i.lG);var a=o(i.Ay)},4283(e,t,n){"use strict";n.d(t,{A:()=>s,y:()=>a});var r=n(4407),i=n(4115);function o(e){return function(t,n){var o=e((t=(0,r.KI)(t)).h,(n=(0,r.KI)(n)).h),s=(0,i.Ay)(t.s,n.s),a=(0,i.Ay)(t.l,n.l),c=(0,i.Ay)(t.opacity,n.opacity);return function(e){return t.h=o(e),t.s=s(e),t.l=a(e),t.opacity=c(e),t+""}}}const s=o(i.lG);var a=o(i.Ay)},4359(e,t,n){"use strict";n.d(t,{A:()=>o});var r=n(9099),i=n(4115);function o(e,t){var n=(0,i.Ay)((e=(0,r.Ay)(e)).l,(t=(0,r.Ay)(t)).l),o=(0,i.Ay)(e.a,t.a),s=(0,i.Ay)(e.b,t.b),a=(0,i.Ay)(e.opacity,t.opacity);return function(t){return e.l=n(t),e.a=o(t),e.b=s(t),e.opacity=a(t),e+""}}},3835(e,t,n){"use strict";function r(e,t){return e=+e,t=+t,function(n){return e*(1-n)+t*n}}n.d(t,{A:()=>r}),n.dn(r)},7114(e,t,n){"use strict";function r(e,t){t||(t=[]);var n,r=e?Math.min(t.length,e.length):0,i=t.slice();return function(o){for(n=0;n<r;++n)i[n]=e[n]*(1-o)+t[n]*o;return i}}function i(e){return ArrayBuffer.isView(e)&&!(e instanceof DataView)}n.d(t,{A:()=>r,p:()=>i}),n.dn(r)},8905(e,t,n){"use strict";n.d(t,{A:()=>i}),n.dn(i);var r=n(361);function i(e,t){var n,i={},o={};for(n in null!==e&&"object"==typeof e||(e={}),null!==t&&"object"==typeof t||(t={}),t)n in e?i[n]=(0,r.A)(e[n],t[n]):o[n]=t[n];return function(e){for(n in i)o[n]=i[n](e);return o}}},7855(e,t,n){"use strict";n.d(t,{Ay:()=>a});var r=n(4407),i=n(9946),o=n(5002),s=n(4115);const a=function e(t){var n=(0,s.uN)(t);function i(e,t){var i=n((e=(0,r.Qh)(e)).r,(t=(0,r.Qh)(t)).r),o=n(e.g,t.g),a=n(e.b,t.b),c=(0,s.Ay)(e.opacity,t.opacity);return function(t){return e.r=i(t),e.g=o(t),e.b=a(t),e.opacity=c(t),e+""}}return i.gamma=e,i}(1);function c(e){return function(t){var n,i,o=t.length,s=new Array(o),a=new Array(o),c=new Array(o);for(n=0;n<o;++n)i=(0,r.Qh)(t[n]),s[n]=i.r||0,a[n]=i.g||0,c[n]=i.b||0;return s=e(s),a=e(a),c=e(c),i.opacity=1,function(e){return i.r=s(e),i.g=a(e),i.b=c(e),i+""}}}c(i.A),c(o.A)},4220(e,t,n){"use strict";function r(e,t){return e=+e,t=+t,function(n){return Math.round(e*(1-n)+t*n)}}n.d(t,{A:()=>r}),n.dn(r)},7523(e,t,n){"use strict";n.d(t,{A:()=>s}),n.dn(s);var r=n(3835),i=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,o=new RegExp(i.source,"g");function s(e,t){var n,s,a,c=i.lastIndex=o.lastIndex=0,u=-1,l=[],d=[];for(e+="",t+="";(n=i.exec(e))&&(s=o.exec(t));)(a=s.index)>c&&(a=t.slice(c,a),l[u]?l[u]+=a:l[++u]=a),(n=n[0])===(s=s[0])?l[u]?l[u]+=s:l[++u]=s:(l[++u]=null,d.push({i:u,x:(0,r.A)(n,s)})),c=o.lastIndex;return c<t.length&&(a=t.slice(c),l[u]?l[u]+=a:l[++u]=a),l.length<2?d[0]?function(e){return function(t){return e(t)+""}}(d[0].x):function(e){return function(){return e}}(t):(t=d.length,function(e){for(var n,r=0;r<t;++r)l[(n=d[r]).i]=n.x(e);return l.join("")})}},361(e,t,n){"use strict";n.d(t,{A:()=>h}),n.dn(h);var r=n(4407),i=n(7855),o=n(5469),s=n(62),a=n(3835),c=n(8905),u=n(7523),l=n(8338),d=n(7114);function h(e,t){var n,h=typeof t;return null==t||"boolean"===h?(0,l.A)(t):("number"===h?a.A:"string"===h?(n=(0,r.Ay)(t))?(t=n,i.Ay):u.A:t instanceof r.Ay?i.Ay:t instanceof Date?s.A:(0,d.p)(t)?d.A:Array.isArray(t)?o.$:"function"!=typeof t.valueOf&&"function"!=typeof t.toString||isNaN(t)?c.A:a.A)(e,t)}},1101(e,t,n){"use strict";n.d(t,{wA:()=>c});const r=Math.PI,i=2*r,o=1e-6,s=i-o;function a(e){this._+=e[0];for(let t=1,n=e.length;t<n;++t)this._+=arguments[t]+e[t]}class c{constructor(e){this._x0=this._y0=this._x1=this._y1=null,this._="",this._append=null==e?a:function(e){let t=Math.floor(e);if(!(t>=0))throw new Error(`invalid digits: ${e}`);if(t>15)return a;const n=10**t;return function(e){this._+=e[0];for(let t=1,r=e.length;t<r;++t)this._+=Math.round(arguments[t]*n)/n+e[t]}}(e)}moveTo(e,t){this._append`M${this._x0=this._x1=+e},${this._y0=this._y1=+t}`}closePath(){null!==this._x1&&(this._x1=this._x0,this._y1=this._y0,this._append`Z`)}lineTo(e,t){this._append`L${this._x1=+e},${this._y1=+t}`}quadraticCurveTo(e,t,n,r){this._append`Q${+e},${+t},${this._x1=+n},${this._y1=+r}`}bezierCurveTo(e,t,n,r,i,o){this._append`C${+e},${+t},${+n},${+r},${this._x1=+i},${this._y1=+o}`}arcTo(e,t,n,i,s){if(e=+e,t=+t,n=+n,i=+i,(s=+s)<0)throw new Error(`negative radius: ${s}`);let a=this._x1,c=this._y1,u=n-e,l=i-t,d=a-e,h=c-t,f=d*d+h*h;if(null===this._x1)this._append`M${this._x1=e},${this._y1=t}`;else if(f>o)if(Math.abs(h*u-l*d)>o&&s){let p=n-a,g=i-c,m=u*u+l*l,y=p*p+g*g,v=Math.sqrt(m),w=Math.sqrt(f),b=s*Math.tan((r-Math.acos((m+f-y)/(2*v*w)))/2),A=b/w,x=b/v;Math.abs(A-1)>o&&this._append`L${e+A*d},${t+A*h}`,this._append`A${s},${s},0,0,${+(h*p>d*g)},${this._x1=e+x*u},${this._y1=t+x*l}`}else this._append`L${this._x1=e},${this._y1=t}`;else;}arc(e,t,n,a,c,u){if(e=+e,t=+t,u=!!u,(n=+n)<0)throw new Error(`negative radius: ${n}`);let l=n*Math.cos(a),d=n*Math.sin(a),h=e+l,f=t+d,p=1^u,g=u?a-c:c-a;null===this._x1?this._append`M${h},${f}`:(Math.abs(this._x1-h)>o||Math.abs(this._y1-f)>o)&&this._append`L${h},${f}`,n&&(g<0&&(g=g%i+i),g>s?this._append`A${n},${n},0,1,${p},${e-l},${t-d}A${n},${n},0,1,${p},${this._x1=h},${this._y1=f}`:g>o&&this._append`A${n},${n},0,${+(g>=r)},${p},${this._x1=e+n*Math.cos(c)},${this._y1=t+n*Math.sin(c)}`)}rect(e,t,n,r){this._append`M${this._x0=this._x1=+e},${this._y0=this._y1=+t}h${n=+n}v${+r}h${-n}Z`}toString(){return this._}}},1390(e,t,n){"use strict";n.d(t,{A:()=>s,z:()=>c});var r=n(5007),i=n(1363),o=n(984);function s(){var e,t,n=(0,o.A)().unknown(void 0),a=n.domain,c=n.range,u=0,l=1,d=!1,h=0,f=0,p=.5;function g(){var n=a().length,i=l<u,o=i?l:u,s=i?u:l;e=(s-o)/Math.max(1,n-h+2*f),d&&(e=Math.floor(e)),o+=(s-o-e*(n-h))*p,t=e*(1-h),d&&(o=Math.round(o),t=Math.round(t));var g=(0,r.A)(n).map(function(t){return o+e*t});return c(i?g.reverse():g)}return delete n.unknown,n.domain=function(e){return arguments.length?(a(e),g()):a()},n.range=function(e){return arguments.length?([u,l]=e,u=+u,l=+l,g()):[u,l]},n.rangeRound=function(e){return[u,l]=e,u=+u,l=+l,d=!0,g()},n.bandwidth=function(){return t},n.step=function(){return e},n.round=function(e){return arguments.length?(d=!!e,g()):d},n.padding=function(e){return arguments.length?(h=Math.min(1,f=+e),g()):h},n.paddingInner=function(e){return arguments.length?(h=Math.min(1,e),g()):h},n.paddingOuter=function(e){return arguments.length?(f=+e,g()):f},n.align=function(e){return arguments.length?(p=Math.max(0,Math.min(1,e)),g()):p},n.copy=function(){return s(a(),[u,l]).round(d).paddingInner(h).paddingOuter(f).align(p)},i.C.apply(g(),arguments)}function a(e){var t=e.copy;return e.padding=e.paddingOuter,delete e.paddingInner,delete e.paddingOuter,e.copy=function(){return a(t())},e}function c(){return a(s.apply(null,arguments).paddingInner(1))}},785(e,t,n){"use strict";function r(e){return function(){return e}}n.d(t,{A:()=>r})},226(e,t,n){"use strict";n.d(t,{Ay:()=>m,C:()=>p,D_:()=>l,Gu:()=>g});var r=n(3714),i=n(361),o=n(3835),s=n(4220),a=n(785),c=n(3656),u=[0,1];function l(e){return e}function d(e,t){return(t-=e=+e)?function(n){return(n-e)/t}:(0,a.A)(isNaN(t)?NaN:.5)}function h(e,t,n){var r=e[0],i=e[1],o=t[0],s=t[1];return i<r?(r=d(i,r),o=n(s,o)):(r=d(r,i),o=n(o,s)),function(e){return o(r(e))}}function f(e,t,n){var i=Math.min(e.length,t.length)-1,o=new Array(i),s=new Array(i),a=-1;for(e[i]<e[0]&&(e=e.slice().reverse(),t=t.slice().reverse());++a<i;)o[a]=d(e[a],e[a+1]),s[a]=n(t[a],t[a+1]);return function(t){var n=(0,r.Ay)(e,t,1,i)-1;return s[n](o[n](t))}}function p(e,t){return t.domain(e.domain()).range(e.range()).interpolate(e.interpolate()).clamp(e.clamp()).unknown(e.unknown())}function g(){var e,t,n,r,a,d,p=u,g=u,m=i.A,y=l;function v(){var e,t,n,i=Math.min(p.length,g.length);return y!==l&&(e=p[0],t=p[i-1],e>t&&(n=e,e=t,t=n),y=function(n){return Math.max(e,Math.min(t,n))}),r=i>2?f:h,a=d=null,w}function w(t){return null==t||isNaN(t=+t)?n:(a||(a=r(p.map(e),g,m)))(e(y(t)))}return w.invert=function(n){return y(t((d||(d=r(g,p.map(e),o.A)))(n)))},w.domain=function(e){return arguments.length?(p=Array.from(e,c.A),v()):p.slice()},w.range=function(e){return arguments.length?(g=Array.from(e),v()):g.slice()},w.rangeRound=function(e){return g=Array.from(e),m=s.A,v()},w.clamp=function(e){return arguments.length?(y=!!e||l,v()):y!==l},w.interpolate=function(e){return arguments.length?(m=e,v()):m},w.unknown=function(e){return arguments.length?(n=e,w):n},function(n,r){return e=n,t=r,v()}}function m(){return g()(l,l)}},1363(e,t,n){"use strict";function r(e,t){switch(arguments.length){case 0:break;case 1:this.range(e);break;default:this.range(t).domain(e)}return this}n.d(t,{C:()=>r})},6212(e,t,n){"use strict";n.d(t,{A:()=>c,C:()=>a});var r=n(2280),i=n(226),o=n(1363),s=n(8859);function a(e){var t=e.domain;return e.ticks=function(e){var n=t();return(0,r.Ay)(n[0],n[n.length-1],e??10)},e.tickFormat=function(e,n){var r=t();return(0,s.A)(r[0],r[r.length-1],e??10,n)},e.nice=function(n){null==n&&(n=10);var i,o,s=t(),a=0,c=s.length-1,u=s[a],l=s[c],d=10;for(l<u&&(o=u,u=l,l=o,o=a,a=c,c=o);d-- >0;){if((o=(0,r.lq)(u,l,n))===i)return s[a]=u,s[c]=l,t(s);if(o>0)u=Math.floor(u/o)*o,l=Math.ceil(l/o)*o;else{if(!(o<0))break;u=Math.ceil(u*o)/o,l=Math.floor(l*o)/o}i=o}return e},e}function c(){var e=(0,i.Ay)();return e.copy=function(){return(0,i.C)(e,c())},o.C.apply(e,arguments),a(e)}},1843(e,t,n){"use strict";n.d(t,{A:()=>m});var r=n(2280),i=n(4491),o=n(5909),s=n(4492),a=n(226),c=n(1363);function u(e){return Math.log(e)}function l(e){return Math.exp(e)}function d(e){return-Math.log(-e)}function h(e){return-Math.exp(-e)}function f(e){return isFinite(e)?+("1e"+e):e<0?0:e}function p(e){return(t,n)=>-e(-t,n)}function g(e){const t=e(u,l),n=t.domain;let a,c,g=10;function m(){return a=function(e){return e===Math.E?Math.log:10===e&&Math.log10||2===e&&Math.log2||(e=Math.log(e),t=>Math.log(t)/e)}(g),c=function(e){return 10===e?f:e===Math.E?Math.exp:t=>Math.pow(e,t)}(g),n()[0]<0?(a=p(a),c=p(c),e(d,h)):e(u,l),t}return t.base=function(e){return arguments.length?(g=+e,m()):g},t.domain=function(e){return arguments.length?(n(e),m()):n()},t.ticks=e=>{const t=n();let i=t[0],o=t[t.length-1];const s=o<i;s&&([i,o]=[o,i]);let u,l,d=a(i),h=a(o);const f=null==e?10:+e;let p=[];if(!(g%1)&&h-d<f){if(d=Math.floor(d),h=Math.ceil(h),i>0){for(;d<=h;++d)for(u=1;u<g;++u)if(l=d<0?u/c(-d):u*c(d),!(l<i)){if(l>o)break;p.push(l)}}else for(;d<=h;++d)for(u=g-1;u>=1;--u)if(l=d>0?u/c(-d):u*c(d),!(l<i)){if(l>o)break;p.push(l)}2*p.length<f&&(p=(0,r.Ay)(i,o,f))}else p=(0,r.Ay)(d,h,Math.min(h-d,f)).map(c);return s?p.reverse():p},t.tickFormat=(e,n)=>{if(null==e&&(e=10),null==n&&(n=10===g?"s":","),"function"!=typeof n&&(g%1||null!=(n=(0,o.A)(n)).precision||(n.trim=!0),n=(0,i.GP)(n)),e===1/0)return n;const r=Math.max(1,g*e/t.ticks().length);return e=>{let t=e/c(Math.round(a(e)));return t*g<g-.5&&(t*=g),t<=r?n(e):""}},t.nice=()=>n((0,s.A)(n(),{floor:e=>c(Math.floor(a(e))),ceil:e=>c(Math.ceil(a(e)))})),t}function m(){const e=g((0,a.Gu)()).domain([1,10]);return e.copy=()=>(0,a.C)(e,m()).base(e.base()),c.C.apply(e,arguments),e}},4492(e,t,n){"use strict";function r(e,t){var n,r=0,i=(e=e.slice()).length-1,o=e[r],s=e[i];return s<o&&(n=r,r=i,i=n,n=o,o=s,s=n),e[r]=t.floor(o),e[i]=t.ceil(s),e}n.d(t,{A:()=>r})},3656(e,t,n){"use strict";function r(e){return+e}n.d(t,{A:()=>r})},984(e,t,n){"use strict";n.d(t,{A:()=>s});var r=n(7513),i=n(1363);const o=Symbol("implicit");function s(){var e=new r.B,t=[],n=[],a=o;function c(r){let i=e.get(r);if(void 0===i){if(a!==o)return a;e.set(r,i=t.push(r)-1)}return n[i%n.length]}return c.domain=function(n){if(!arguments.length)return t.slice();t=[],e=new r.B;for(const r of n)e.has(r)||e.set(r,t.push(r)-1);return c},c.range=function(e){return arguments.length?(n=Array.from(e),c):n.slice()},c.unknown=function(e){return arguments.length?(a=e,c):a},c.copy=function(){return s(t,n).unknown(a)},i.C.apply(c,arguments),c}},5591(e,t,n){"use strict";n.d(t,{Ay:()=>l,RZ:()=>d});var r=n(6212),i=n(226),o=n(1363);function s(e){return function(t){return t<0?-Math.pow(-t,e):Math.pow(t,e)}}function a(e){return e<0?-Math.sqrt(-e):Math.sqrt(e)}function c(e){return e<0?-e*e:e*e}function u(e){var t=e(i.D_,i.D_),n=1;return t.exponent=function(t){return arguments.length?1===(n=+t)?e(i.D_,i.D_):.5===n?e(a,c):e(s(n),s(1/n)):n},(0,r.C)(t)}function l(){var e=u((0,i.Gu)());return e.copy=function(){return(0,i.C)(e,l()).exponent(e.exponent())},o.C.apply(e,arguments),e}function d(){return l.apply(null,arguments).exponent(.5)}},5168(e,t,n){"use strict";n.d(t,{A:()=>a});var r=n(3714),i=n(3580),o=n(1217),s=n(1363);function a(){var e,t=[],n=[],c=[];function u(){var e=0,r=Math.max(1,n.length);for(c=new Array(r-1);++e<r;)c[e-1]=(0,o.Z4)(t,e/r);return l}function l(t){return null==t||isNaN(t=+t)?e:n[(0,r.Ay)(c,t)]}return l.invertExtent=function(e){var r=n.indexOf(e);return r<0?[NaN,NaN]:[r>0?c[r-1]:t[0],r<c.length?c[r]:t[t.length-1]]},l.domain=function(e){if(!arguments.length)return t.slice();t=[];for(let n of e)null==n||isNaN(n=+n)||t.push(n);return t.sort(i.A),u()},l.range=function(e){return arguments.length?(n=Array.from(e),u()):n.slice()},l.unknown=function(t){return arguments.length?(e=t,l):e},l.quantiles=function(){return c.slice()},l.copy=function(){return a().domain(t).range(n).unknown(e)},s.C.apply(l,arguments)}},7434(e,t,n){"use strict";n.d(t,{A:()=>s});var r=n(3714),i=n(6212),o=n(1363);function s(){var e,t=0,n=1,a=1,c=[.5],u=[0,1];function l(t){return null!=t&&t<=t?u[(0,r.Ay)(c,t,0,a)]:e}function d(){var e=-1;for(c=new Array(a);++e<a;)c[e]=((e+1)*n-(e-a)*t)/(a+1);return l}return l.domain=function(e){return arguments.length?([t,n]=e,t=+t,n=+n,d()):[t,n]},l.range=function(e){return arguments.length?(a=(u=Array.from(e)).length-1,d()):u.slice()},l.invertExtent=function(e){var r=u.indexOf(e);return r<0?[NaN,NaN]:r<1?[t,c[0]]:r>=a?[c[a-1],n]:[c[r-1],c[r]]},l.unknown=function(t){return arguments.length?(e=t,l):l},l.thresholds=function(){return c.slice()},l.copy=function(){return s().domain([t,n]).range(u).unknown(e)},o.C.apply((0,i.C)(l),arguments)}},270(e,t,n){"use strict";n.d(t,{A:()=>c});var r=n(226),i=n(1363),o=n(6212),s=n(3656);function a(e){return Math.sign(e)*e*e}function c(){var e,t=(0,r.Ay)(),n=[0,1],u=!1;function l(n){var r=function(e){return Math.sign(e)*Math.sqrt(Math.abs(e))}(t(n));return isNaN(r)?e:u?Math.round(r):r}return l.invert=function(e){return t.invert(a(e))},l.domain=function(e){return arguments.length?(t.domain(e),l):t.domain()},l.range=function(e){return arguments.length?(t.range((n=Array.from(e,s.A)).map(a)),l):n.slice()},l.rangeRound=function(e){return l.range(e).round(!0)},l.round=function(e){return arguments.length?(u=!!e,l):u},l.clamp=function(e){return arguments.length?(t.clamp(e),l):t.clamp()},l.unknown=function(t){return arguments.length?(e=t,l):e},l.copy=function(){return c(t.domain(),n).round(u).clamp(t.clamp()).unknown(e)},i.C.apply(l,arguments),(0,o.C)(l)}},4530(e,t,n){"use strict";n.d(t,{A:()=>c});var r=n(6212),i=n(226),o=n(1363);function s(e){return function(t){return Math.sign(t)*Math.log1p(Math.abs(t/e))}}function a(e){return function(t){return Math.sign(t)*Math.expm1(Math.abs(t))*e}}function c(){var e=function(e){var t=1,n=e(s(t),a(t));return n.constant=function(n){return arguments.length?e(s(t=+n),a(t)):t},(0,r.C)(n)}((0,i.Gu)());return e.copy=function(){return(0,i.C)(e,c()).constant(e.constant())},o.C.apply(e,arguments)}},1626(e,t,n){"use strict";n.d(t,{A:()=>o});var r=n(3714),i=n(1363);function o(){var e,t=[.5],n=[0,1],s=1;function a(i){return null!=i&&i<=i?n[(0,r.Ay)(t,i,0,s)]:e}return a.domain=function(e){return arguments.length?(t=Array.from(e),s=Math.min(t.length,n.length-1),a):t.slice()},a.range=function(e){return arguments.length?(n=Array.from(e),s=Math.min(t.length,n.length-1),a):n.slice()},a.invertExtent=function(e){var r=n.indexOf(e);return[t[r-1],t[r]]},a.unknown=function(t){return arguments.length?(e=t,a):e},a.copy=function(){return o().domain(t).range(n).unknown(e)},i.C.apply(a,arguments)}},8859(e,t,n){"use strict";n.d(t,{A:()=>u});var r=n(2280),i=n(4491),o=n(5909),s=n(4231),a=n(6444),c=n(5026);function u(e,t,n,u){var l,d=(0,r.sG)(e,t,n);switch((u=(0,o.A)(u??",f")).type){case"s":var h=Math.max(Math.abs(e),Math.abs(t));return null!=u.precision||isNaN(l=(0,a.A)(d,h))||(u.precision=l),(0,i.s)(u,h);case"":case"e":case"g":case"p":case"r":null!=u.precision||isNaN(l=(0,c.A)(d,Math.max(Math.abs(e),Math.abs(t))))||(u.precision=l-("e"===u.type));break;case"f":case"%":null!=u.precision||isNaN(l=(0,s.A)(d))||(u.precision=l-2*("%"===u.type))}return(0,i.GP)(u)}},2564(e,t,n){"use strict";n.d(t,{A:()=>v,B:()=>y});var r=n(4680),i=n(1184),o=n(8566),s=n(8407),a=n(1208),c=n(4836),u=n(289),l=n(8827),d=n(8979),h=n(226),f=n(1363),p=n(4492);function g(e){return new Date(e)}function m(e){return e instanceof Date?+e:+new Date(+e)}function y(e,t,n,r,i,o,s,a,c,u){var l=(0,h.Ay)(),d=l.invert,f=l.domain,v=u(".%L"),w=u(":%S"),b=u("%I:%M"),A=u("%I %p"),x=u("%a %d"),k=u("%b %d"),_=u("%B"),C=u("%Y");function M(e){return(c(e)<e?v:a(e)<e?w:s(e)<e?b:o(e)<e?A:r(e)<e?i(e)<e?x:k:n(e)<e?_:C)(e)}return l.invert=function(e){return new Date(d(e))},l.domain=function(e){return arguments.length?f(Array.from(e,m)):f().map(g)},l.ticks=function(t){var n=f();return e(n[0],n[n.length-1],t??10)},l.tickFormat=function(e,t){return null==t?M:u(t)},l.nice=function(e){var n=f();return e&&"function"==typeof e.range||(e=t(n[0],n[n.length-1],e??10)),e?f((0,p.A)(n,e)):l},l.copy=function(){return(0,h.C)(l,y(e,t,n,r,i,o,s,a,c,u))},l}function v(){return f.C.apply(y(l.Cf,l.yE,u.he,c.Ui,a.YP,s.UA,o.Ag,i.wX,r.R,d.DC).domain([new Date(2e3,0,1),new Date(2e3,0,2)]),arguments)}},7118(e,t,n){"use strict";n.d(t,{A:()=>p});var r=n(4680),i=n(1184),o=n(8566),s=n(8407),a=n(1208),c=n(4836),u=n(289),l=n(8827),d=n(8979),h=n(2564),f=n(1363);function p(){return f.C.apply((0,h.B)(l.$Z,l.lk,u.Mb,c.R6,a.Hl,s.dA,o.pz,i.vD,r.R,d.aL).domain([Date.UTC(2e3,0,1),Date.UTC(2e3,0,2)]),arguments)}},9131(e,t,n){"use strict";n.d(t,{A:()=>r}),n.dn(r);Array.prototype.slice;function r(e){return"object"==typeof e&&"length"in e?e:Array.from(e)}},9400(e,t,n){"use strict";function r(e){return function(){return e}}n.d(t,{A:()=>r}),n.dn(r)},3217(e,t,n){"use strict";function r(e){this._context=e}function i(e){return new r(e)}n.d(t,{A:()=>i}),n.dn(i),r.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(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;default:this._context.lineTo(e,t)}}}},555(e,t,n){"use strict";function r(e){return e<0?-1:1}function i(e,t,n){var i=e._x1-e._x0,o=t-e._x1,s=(e._y1-e._y0)/(i||o<0&&-0),a=(n-e._y1)/(o||i<0&&-0),c=(s*o+a*i)/(i+o);return(r(s)+r(a))*Math.min(Math.abs(s),Math.abs(a),.5*Math.abs(c))||0}function o(e,t){var n=e._x1-e._x0;return n?(3*(e._y1-e._y0)/n-t)/2:t}function s(e,t,n){var r=e._x0,i=e._y0,o=e._x1,s=e._y1,a=(o-r)/3;e._context.bezierCurveTo(r+a,i+a*t,o-a,s-a*n,o,s)}function a(e){this._context=e}function c(e){this._context=new u(e)}function u(e){this._context=e}function l(e){return new a(e)}n.d(t,{G:()=>l}),a.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:s(this,this._t0,o(this,this._t0))}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){var n=NaN;if(t=+t,(e=+e)!==this._x1||t!==this._y1){switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;break;case 2:this._point=3,s(this,o(this,n=i(this,e,t)),n);break;default:s(this,this._t0,n=i(this,e,t))}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t,this._t0=n}}},(c.prototype=Object.create(a.prototype)).point=function(e,t){a.prototype.point.call(this,t,e)},u.prototype={moveTo:function(e,t){this._context.moveTo(t,e)},closePath:function(){this._context.closePath()},lineTo:function(e,t){this._context.lineTo(t,e)},bezierCurveTo:function(e,t,n,r,i,o){this._context.bezierCurveTo(t,e,r,n,o,i)}}},7894(e,t,n){"use strict";n.d(t,{A:()=>c}),n.dn(c);var r=n(9131),i=n(9400),o=n(3217),s=n(3087),a=n(8084);function c(e,t){var n=(0,i.A)(!0),c=null,u=o.A,l=null,d=(0,s.i)(h);function h(i){var o,s,a,h=(i=(0,r.A)(i)).length,f=!1;for(null==c&&(l=u(a=d())),o=0;o<=h;++o)!(o<h&&n(s=i[o],o,i))===f&&((f=!f)?l.lineStart():l.lineEnd()),f&&l.point(+e(s,o,i),+t(s,o,i));if(a)return l=null,a+""||null}return e="function"==typeof e?e:void 0===e?a.x:(0,i.A)(e),t="function"==typeof t?t:void 0===t?a.y:(0,i.A)(t),h.x=function(t){return arguments.length?(e="function"==typeof t?t:(0,i.A)(+t),h):e},h.y=function(e){return arguments.length?(t="function"==typeof e?e:(0,i.A)(+e),h):t},h.defined=function(e){return arguments.length?(n="function"==typeof e?e:(0,i.A)(!!e),h):n},h.curve=function(e){return arguments.length?(u=e,null!=c&&(l=u(c)),h):u},h.context=function(e){return arguments.length?(null==e?c=l=null:l=u(c=e),h):c},h}},4395(e,t,n){"use strict";function r(e,t){if((a=e.length)>0)for(var n,r,i,o,s,a,c=0,u=e[t[0]].length;c<u;++c)for(o=s=0,n=0;n<a;++n)(i=(r=e[t[n]][c])[1]-r[0])>0?(r[0]=o,r[1]=o+=i):i<0?(r[1]=s,r[0]=s+=i):(r[0]=0,r[1]=i)}n.d(t,{A:()=>r}),n.dn(r)},7606(e,t,n){"use strict";n.d(t,{A:()=>i}),n.dn(i);var r=n(8204);function i(e,t){if((i=e.length)>0){for(var n,i,o,s=0,a=e[0].length;s<a;++s){for(o=n=0;n<i;++n)o+=e[n][s][1]||0;if(o)for(n=0;n<i;++n)e[n][s][1]/=o}(0,r.A)(e,t)}}},8204(e,t,n){"use strict";function r(e,t){if((i=e.length)>1)for(var n,r,i,o=1,s=e[t[0]],a=s.length;o<i;++o)for(r=s,s=e[t[o]],n=0;n<a;++n)s[n][1]+=s[n][0]=isNaN(r[n][1])?r[n][0]:r[n][1]}n.d(t,{A:()=>r}),n.dn(r)},9740(e,t,n){"use strict";n.d(t,{A:()=>i}),n.dn(i);var r=n(8204);function i(e,t){if((n=e.length)>0){for(var n,i=0,o=e[t[0]],s=o.length;i<s;++i){for(var a=0,c=0;a<n;++a)c+=e[a][i][1]||0;o[i][1]+=o[i][0]=-c/2}(0,r.A)(e,t)}}},9515(e,t,n){"use strict";n.d(t,{A:()=>i}),n.dn(i);var r=n(8204);function i(e,t){if((o=e.length)>0&&(i=(n=e[t[0]]).length)>0){for(var n,i,o,s=0,a=1;a<i;++a){for(var c=0,u=0,l=0;c<o;++c){for(var d=e[t[c]],h=d[a][1]||0,f=(h-(d[a-1][1]||0))/2,p=0;p<c;++p){var g=e[t[p]];f+=(g[a][1]||0)-(g[a-1][1]||0)}u+=h,l+=f*h}n[a-1][1]+=n[a-1][0]=s,u&&(s-=l/u)}n[a-1][1]+=n[a-1][0]=s,(0,r.A)(e,t)}}},6791(e,t,n){"use strict";n.d(t,{A:()=>i}),n.dn(i);var r=n(2383);function i(e){var t=e.map(o);return(0,r.A)(e).sort(function(e,n){return t[e]-t[n]})}function o(e){for(var t,n=-1,r=0,i=e.length,o=-1/0;++n<i;)(t=+e[n][1])>o&&(o=t,r=n);return r}},675(e,t,n){"use strict";n.d(t,{A:()=>i,c:()=>o}),n.dn(i);var r=n(2383);function i(e){var t=e.map(o);return(0,r.A)(e).sort(function(e,n){return t[e]-t[n]})}function o(e){for(var t,n=0,r=-1,i=e.length;++r<i;)(t=+e[r][1])&&(n+=t);return n}},887(e,t,n){"use strict";n.d(t,{A:()=>i}),n.dn(i);var r=n(675);function i(e){return(0,r.A)(e).reverse()}},4749(e,t,n){"use strict";n.d(t,{A:()=>o}),n.dn(o);var r=n(6791),i=n(675);function o(e){var t,n,o=e.length,s=e.map(i.c),a=(0,r.A)(e),c=0,u=0,l=[],d=[];for(t=0;t<o;++t)n=a[t],c<u?(c+=s[n],l.push(n)):(u+=s[n],d.push(n));return d.reverse().concat(l)}},2383(e,t,n){"use strict";function r(e){for(var t=e.length,n=new Array(t);--t>=0;)n[t]=t;return n}n.d(t,{A:()=>r}),n.dn(r)},6211(e,t,n){"use strict";n.d(t,{A:()=>i}),n.dn(i);var r=n(2383);function i(e){return(0,r.A)(e).reverse()}},3087(e,t,n){"use strict";n.d(t,{i:()=>i});var r=n(1101);function i(e){let t=3;return e.digits=function(n){if(!arguments.length)return t;if(null==n)t=null;else{const e=Math.floor(n);if(!(e>=0))throw new RangeError(`invalid digits: ${n}`);t=e}return e},()=>new r.wA(t)}},8084(e,t,n){"use strict";function r(e){return e[0]}function i(e){return e[1]}n.d(t,{x:()=>r,y:()=>i})},8979(e,t,n){"use strict";n.d(t,{DC:()=>i,aL:()=>o});var r,i,o,s,a=n(9752);s={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"]},r=(0,a.A)(s),i=r.format,r.parse,o=r.utcFormat,r.utcParse},9752(e,t,n){"use strict";n.d(t,{A:()=>u});var r=n(8407),i=n(1208),o=n(289);function s(e){if(0<=e.y&&e.y<100){var t=new Date(-1,e.m,e.d,e.H,e.M,e.S,e.L);return t.setFullYear(e.y),t}return new Date(e.y,e.m,e.d,e.H,e.M,e.S,e.L)}function a(e){if(0<=e.y&&e.y<100){var t=new Date(Date.UTC(-1,e.m,e.d,e.H,e.M,e.S,e.L));return t.setUTCFullYear(e.y),t}return new Date(Date.UTC(e.y,e.m,e.d,e.H,e.M,e.S,e.L))}function c(e,t,n){return{y:e,m:t,d:n,H:0,M:0,S:0,L:0}}function u(e){var t=e.dateTime,n=e.date,o=e.time,u=e.periods,d=e.days,h=e.shortDays,f=e.months,p=e.shortMonths,g=m(u),G=y(u),ge=m(d),Se=y(d),Ne=m(h),je=y(h),Ee=m(f),Te=y(f),Oe=m(p),Pe=y(p),$e={a:function(e){return h[e.getDay()]},A:function(e){return d[e.getDay()]},b:function(e){return p[e.getMonth()]},B:function(e){return f[e.getMonth()]},c:null,d:U,e:U,f:B,g:ee,G:ne,H:F,I:L,j:z,L:H,m:V,M:W,p:function(e){return u[+(e.getHours()>=12)]},q:function(e){return 1+~~(e.getMonth()/3)},Q:Ce,s:Me,S:q,u:Y,U:J,V:Z,w:X,W:Q,x:null,X:null,y:K,Y:te,Z:re,"%":_e},Re={a:function(e){return h[e.getUTCDay()]},A:function(e){return d[e.getUTCDay()]},b:function(e){return p[e.getUTCMonth()]},B:function(e){return f[e.getUTCMonth()]},c:null,d:ie,e:ie,f:ue,g:be,G:xe,H:oe,I:se,j:ae,L:ce,m:le,M:de,p:function(e){return u[+(e.getUTCHours()>=12)]},q:function(e){return 1+~~(e.getUTCMonth()/3)},Q:Ce,s:Me,S:he,u:fe,U:pe,V:me,w:ye,W:ve,x:null,X:null,y:we,Y:Ae,Z:ke,"%":_e},De={a:function(e,t,n){var r=Ne.exec(t.slice(n));return r?(e.w=je.get(r[0].toLowerCase()),n+r[0].length):-1},A:function(e,t,n){var r=ge.exec(t.slice(n));return r?(e.w=Se.get(r[0].toLowerCase()),n+r[0].length):-1},b:function(e,t,n){var r=Oe.exec(t.slice(n));return r?(e.m=Pe.get(r[0].toLowerCase()),n+r[0].length):-1},B:function(e,t,n){var r=Ee.exec(t.slice(n));return r?(e.m=Te.get(r[0].toLowerCase()),n+r[0].length):-1},c:function(e,n,r){return Fe(e,t,n,r)},d:N,e:N,f:$,g:_,G:k,H:E,I:E,j,L:P,m:S,M:T,p:function(e,t,n){var r=g.exec(t.slice(n));return r?(e.p=G.get(r[0].toLowerCase()),n+r[0].length):-1},q:M,Q:D,s:I,S:O,u:w,U:b,V:A,w:v,W:x,x:function(e,t,r){return Fe(e,n,t,r)},X:function(e,t,n){return Fe(e,o,t,n)},y:_,Y:k,Z:C,"%":R};function Ie(e,t){return function(n){var r,i,o,s=[],a=-1,c=0,u=e.length;for(n instanceof Date||(n=new Date(+n));++a<u;)37===e.charCodeAt(a)&&(s.push(e.slice(c,a)),null!=(i=l[r=e.charAt(++a)])?r=e.charAt(++a):i="e"===r?" ":"0",(o=t[r])&&(r=o(n,i)),s.push(r),c=a+1);return s.push(e.slice(c,a)),s.join("")}}function Ue(e,t){return function(n){var o,u,l=c(1900,void 0,1);if(Fe(l,e,n+="",0)!=n.length)return null;if("Q"in l)return new Date(l.Q);if("s"in l)return new Date(1e3*l.s+("L"in l?l.L:0));if(t&&!("Z"in l)&&(l.Z=0),"p"in l&&(l.H=l.H%12+12*l.p),void 0===l.m&&(l.m="q"in l?l.q:0),"V"in l){if(l.V<1||l.V>53)return null;"w"in l||(l.w=1),"Z"in l?(u=(o=a(c(l.y,0,1))).getUTCDay(),o=u>4||0===u?i.rt.ceil(o):(0,i.rt)(o),o=r.dA.offset(o,7*(l.V-1)),l.y=o.getUTCFullYear(),l.m=o.getUTCMonth(),l.d=o.getUTCDate()+(l.w+6)%7):(u=(o=s(c(l.y,0,1))).getDay(),o=u>4||0===u?i.AB.ceil(o):(0,i.AB)(o),o=r.UA.offset(o,7*(l.V-1)),l.y=o.getFullYear(),l.m=o.getMonth(),l.d=o.getDate()+(l.w+6)%7)}else("W"in l||"U"in l)&&("w"in l||(l.w="u"in l?l.u%7:"W"in l?1:0),u="Z"in l?a(c(l.y,0,1)).getUTCDay():s(c(l.y,0,1)).getDay(),l.m=0,l.d="W"in l?(l.w+6)%7+7*l.W-(u+5)%7:l.w+7*l.U-(u+6)%7);return"Z"in l?(l.H+=l.Z/100|0,l.M+=l.Z%100,a(l)):s(l)}}function Fe(e,t,n,r){for(var i,o,s=0,a=t.length,c=n.length;s<a;){if(r>=c)return-1;if(37===(i=t.charCodeAt(s++))){if(i=t.charAt(s++),!(o=De[i in l?t.charAt(s++):i])||(r=o(e,n,r))<0)return-1}else if(i!=n.charCodeAt(r++))return-1}return r}return $e.x=Ie(n,$e),$e.X=Ie(o,$e),$e.c=Ie(t,$e),Re.x=Ie(n,Re),Re.X=Ie(o,Re),Re.c=Ie(t,Re),{format:function(e){var t=Ie(e+="",$e);return t.toString=function(){return e},t},parse:function(e){var t=Ue(e+="",!1);return t.toString=function(){return e},t},utcFormat:function(e){var t=Ie(e+="",Re);return t.toString=function(){return e},t},utcParse:function(e){var t=Ue(e+="",!0);return t.toString=function(){return e},t}}}var l={"-":"",_:" ",0:"0"},d=/^\s*\d+/,h=/^%/,f=/[\\^$*+?|[\]().{}]/g;function p(e,t,n){var r=e<0?"-":"",i=(r?-e:e)+"",o=i.length;return r+(o<n?new Array(n-o+1).join(t)+i:i)}function g(e){return e.replace(f,"\\$&")}function m(e){return new RegExp("^(?:"+e.map(g).join("|")+")","i")}function y(e){return new Map(e.map((e,t)=>[e.toLowerCase(),t]))}function v(e,t,n){var r=d.exec(t.slice(n,n+1));return r?(e.w=+r[0],n+r[0].length):-1}function w(e,t,n){var r=d.exec(t.slice(n,n+1));return r?(e.u=+r[0],n+r[0].length):-1}function b(e,t,n){var r=d.exec(t.slice(n,n+2));return r?(e.U=+r[0],n+r[0].length):-1}function A(e,t,n){var r=d.exec(t.slice(n,n+2));return r?(e.V=+r[0],n+r[0].length):-1}function x(e,t,n){var r=d.exec(t.slice(n,n+2));return r?(e.W=+r[0],n+r[0].length):-1}function k(e,t,n){var r=d.exec(t.slice(n,n+4));return r?(e.y=+r[0],n+r[0].length):-1}function _(e,t,n){var r=d.exec(t.slice(n,n+2));return r?(e.y=+r[0]+(+r[0]>68?1900:2e3),n+r[0].length):-1}function C(e,t,n){var r=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(t.slice(n,n+6));return r?(e.Z=r[1]?0:-(r[2]+(r[3]||"00")),n+r[0].length):-1}function M(e,t,n){var r=d.exec(t.slice(n,n+1));return r?(e.q=3*r[0]-3,n+r[0].length):-1}function S(e,t,n){var r=d.exec(t.slice(n,n+2));return r?(e.m=r[0]-1,n+r[0].length):-1}function N(e,t,n){var r=d.exec(t.slice(n,n+2));return r?(e.d=+r[0],n+r[0].length):-1}function j(e,t,n){var r=d.exec(t.slice(n,n+3));return r?(e.m=0,e.d=+r[0],n+r[0].length):-1}function E(e,t,n){var r=d.exec(t.slice(n,n+2));return r?(e.H=+r[0],n+r[0].length):-1}function T(e,t,n){var r=d.exec(t.slice(n,n+2));return r?(e.M=+r[0],n+r[0].length):-1}function O(e,t,n){var r=d.exec(t.slice(n,n+2));return r?(e.S=+r[0],n+r[0].length):-1}function P(e,t,n){var r=d.exec(t.slice(n,n+3));return r?(e.L=+r[0],n+r[0].length):-1}function $(e,t,n){var r=d.exec(t.slice(n,n+6));return r?(e.L=Math.floor(r[0]/1e3),n+r[0].length):-1}function R(e,t,n){var r=h.exec(t.slice(n,n+1));return r?n+r[0].length:-1}function D(e,t,n){var r=d.exec(t.slice(n));return r?(e.Q=+r[0],n+r[0].length):-1}function I(e,t,n){var r=d.exec(t.slice(n));return r?(e.s=+r[0],n+r[0].length):-1}function U(e,t){return p(e.getDate(),t,2)}function F(e,t){return p(e.getHours(),t,2)}function L(e,t){return p(e.getHours()%12||12,t,2)}function z(e,t){return p(1+r.UA.count((0,o.he)(e),e),t,3)}function H(e,t){return p(e.getMilliseconds(),t,3)}function B(e,t){return H(e,t)+"000"}function V(e,t){return p(e.getMonth()+1,t,2)}function W(e,t){return p(e.getMinutes(),t,2)}function q(e,t){return p(e.getSeconds(),t,2)}function Y(e){var t=e.getDay();return 0===t?7:t}function J(e,t){return p(i.YP.count((0,o.he)(e)-1,e),t,2)}function G(e){var t=e.getDay();return t>=4||0===t?(0,i.Mo)(e):i.Mo.ceil(e)}function Z(e,t){return e=G(e),p(i.Mo.count((0,o.he)(e),e)+(4===(0,o.he)(e).getDay()),t,2)}function X(e){return e.getDay()}function Q(e,t){return p(i.AB.count((0,o.he)(e)-1,e),t,2)}function K(e,t){return p(e.getFullYear()%100,t,2)}function ee(e,t){return p((e=G(e)).getFullYear()%100,t,2)}function te(e,t){return p(e.getFullYear()%1e4,t,4)}function ne(e,t){var n=e.getDay();return p((e=n>=4||0===n?(0,i.Mo)(e):i.Mo.ceil(e)).getFullYear()%1e4,t,4)}function re(e){var t=e.getTimezoneOffset();return(t>0?"-":(t*=-1,"+"))+p(t/60|0,"0",2)+p(t%60,"0",2)}function ie(e,t){return p(e.getUTCDate(),t,2)}function oe(e,t){return p(e.getUTCHours(),t,2)}function se(e,t){return p(e.getUTCHours()%12||12,t,2)}function ae(e,t){return p(1+r.dA.count((0,o.Mb)(e),e),t,3)}function ce(e,t){return p(e.getUTCMilliseconds(),t,3)}function ue(e,t){return ce(e,t)+"000"}function le(e,t){return p(e.getUTCMonth()+1,t,2)}function de(e,t){return p(e.getUTCMinutes(),t,2)}function he(e,t){return p(e.getUTCSeconds(),t,2)}function fe(e){var t=e.getUTCDay();return 0===t?7:t}function pe(e,t){return p(i.Hl.count((0,o.Mb)(e)-1,e),t,2)}function ge(e){var t=e.getUTCDay();return t>=4||0===t?(0,i.pT)(e):i.pT.ceil(e)}function me(e,t){return e=ge(e),p(i.pT.count((0,o.Mb)(e),e)+(4===(0,o.Mb)(e).getUTCDay()),t,2)}function ye(e){return e.getUTCDay()}function ve(e,t){return p(i.rt.count((0,o.Mb)(e)-1,e),t,2)}function we(e,t){return p(e.getUTCFullYear()%100,t,2)}function be(e,t){return p((e=ge(e)).getUTCFullYear()%100,t,2)}function Ae(e,t){return p(e.getUTCFullYear()%1e4,t,4)}function xe(e,t){var n=e.getUTCDay();return p((e=n>=4||0===n?(0,i.pT)(e):i.pT.ceil(e)).getUTCFullYear()%1e4,t,4)}function ke(){return"+0000"}function _e(){return"%"}function Ce(e){return+e}function Me(e){return Math.floor(+e/1e3)}},8407(e,t,n){"use strict";n.d(t,{TW:()=>a,UA:()=>o,dA:()=>s});var r=n(9981),i=n(6612);const o=(0,r.f)(e=>e.setHours(0,0,0,0),(e,t)=>e.setDate(e.getDate()+t),(e,t)=>(t-e-(t.getTimezoneOffset()-e.getTimezoneOffset())*i.rR)/i.Nm,e=>e.getDate()-1),s=(o.range,(0,r.f)(e=>{e.setUTCHours(0,0,0,0)},(e,t)=>{e.setUTCDate(e.getUTCDate()+t)},(e,t)=>(t-e)/i.Nm,e=>e.getUTCDate()-1)),a=(s.range,(0,r.f)(e=>{e.setUTCHours(0,0,0,0)},(e,t)=>{e.setUTCDate(e.getUTCDate()+t)},(e,t)=>(t-e)/i.Nm,e=>Math.floor(e/i.Nm)));a.range},6612(e,t,n){"use strict";n.d(t,{Fq:()=>a,JJ:()=>o,MP:()=>u,Nm:()=>s,Pv:()=>c,Tt:()=>r,rR:()=>i});const r=1e3,i=60*r,o=60*i,s=24*o,a=7*s,c=30*s,u=365*s},8566(e,t,n){"use strict";n.d(t,{Ag:()=>o,pz:()=>s});var r=n(9981),i=n(6612);const o=(0,r.f)(e=>{e.setTime(e-e.getMilliseconds()-e.getSeconds()*i.Tt-e.getMinutes()*i.rR)},(e,t)=>{e.setTime(+e+t*i.JJ)},(e,t)=>(t-e)/i.JJ,e=>e.getHours()),s=(o.range,(0,r.f)(e=>{e.setUTCMinutes(0,0,0)},(e,t)=>{e.setTime(+e+t*i.JJ)},(e,t)=>(t-e)/i.JJ,e=>e.getUTCHours()));s.range},9981(e,t,n){"use strict";n.d(t,{f:()=>o});const r=new Date,i=new Date;function o(e,t,n,s){function a(t){return e(t=0===arguments.length?new Date:new Date(+t)),t}return a.floor=t=>(e(t=new Date(+t)),t),a.ceil=n=>(e(n=new Date(n-1)),t(n,1),e(n),n),a.round=e=>{const t=a(e),n=a.ceil(e);return e-t<n-e?t:n},a.offset=(e,n)=>(t(e=new Date(+e),null==n?1:Math.floor(n)),e),a.range=(n,r,i)=>{const o=[];if(n=a.ceil(n),i=null==i?1:Math.floor(i),!(n<r&&i>0))return o;let s;do{o.push(s=new Date(+n)),t(n,i),e(n)}while(s<n&&n<r);return o},a.filter=n=>o(t=>{if(t>=t)for(;e(t),!n(t);)t.setTime(t-1)},(e,r)=>{if(e>=e)if(r<0)for(;++r<=0;)for(;t(e,-1),!n(e););else for(;--r>=0;)for(;t(e,1),!n(e););}),n&&(a.count=(t,o)=>(r.setTime(+t),i.setTime(+o),e(r),e(i),Math.floor(n(r,i))),a.every=e=>(e=Math.floor(e),isFinite(e)&&e>0?e>1?a.filter(s?t=>s(t)%e===0:t=>a.count(0,t)%e===0):a:null)),a}},2059(e,t,n){"use strict";n.d(t,{y:()=>i});var r=n(9981);const i=(0,r.f)(()=>{},(e,t)=>{e.setTime(+e+t)},(e,t)=>t-e);i.every=e=>(e=Math.floor(e),isFinite(e)&&e>0?e>1?(0,r.f)(t=>{t.setTime(Math.floor(t/e)*e)},(t,n)=>{t.setTime(+t+n*e)},(t,n)=>(n-t)/e):i:null);i.range},1184(e,t,n){"use strict";n.d(t,{vD:()=>s,wX:()=>o});var r=n(9981),i=n(6612);const o=(0,r.f)(e=>{e.setTime(e-e.getMilliseconds()-e.getSeconds()*i.Tt)},(e,t)=>{e.setTime(+e+t*i.rR)},(e,t)=>(t-e)/i.rR,e=>e.getMinutes()),s=(o.range,(0,r.f)(e=>{e.setUTCSeconds(0,0)},(e,t)=>{e.setTime(+e+t*i.rR)},(e,t)=>(t-e)/i.rR,e=>e.getUTCMinutes()));s.range},4836(e,t,n){"use strict";n.d(t,{R6:()=>o,Ui:()=>i});var r=n(9981);const i=(0,r.f)(e=>{e.setDate(1),e.setHours(0,0,0,0)},(e,t)=>{e.setMonth(e.getMonth()+t)},(e,t)=>t.getMonth()-e.getMonth()+12*(t.getFullYear()-e.getFullYear()),e=>e.getMonth()),o=(i.range,(0,r.f)(e=>{e.setUTCDate(1),e.setUTCHours(0,0,0,0)},(e,t)=>{e.setUTCMonth(e.getUTCMonth()+t)},(e,t)=>t.getUTCMonth()-e.getUTCMonth()+12*(t.getUTCFullYear()-e.getUTCFullYear()),e=>e.getUTCMonth()));o.range},4680(e,t,n){"use strict";n.d(t,{R:()=>o});var r=n(9981),i=n(6612);const o=(0,r.f)(e=>{e.setTime(e-e.getMilliseconds())},(e,t)=>{e.setTime(+e+t*i.Tt)},(e,t)=>(t-e)/i.Tt,e=>e.getUTCSeconds());o.range},8827(e,t,n){"use strict";n.d(t,{$Z:()=>g,Cf:()=>y,lk:()=>m,yE:()=>v});var r=n(6247),i=n(2280),o=n(6612),s=n(2059),a=n(4680),c=n(1184),u=n(8566),l=n(8407),d=n(1208),h=n(4836),f=n(289);function p(e,t,n,c,u,l){const d=[[a.R,1,o.Tt],[a.R,5,5*o.Tt],[a.R,15,15*o.Tt],[a.R,30,30*o.Tt],[l,1,o.rR],[l,5,5*o.rR],[l,15,15*o.rR],[l,30,30*o.rR],[u,1,o.JJ],[u,3,3*o.JJ],[u,6,6*o.JJ],[u,12,12*o.JJ],[c,1,o.Nm],[c,2,2*o.Nm],[n,1,o.Fq],[t,1,o.Pv],[t,3,3*o.Pv],[e,1,o.MP]];function h(t,n,a){const c=Math.abs(n-t)/a,u=(0,r.A)(([,,e])=>e).right(d,c);if(u===d.length)return e.every((0,i.sG)(t/o.MP,n/o.MP,a));if(0===u)return s.y.every(Math.max((0,i.sG)(t,n,a),1));const[l,h]=d[c/d[u-1][2]<d[u][2]/c?u-1:u];return l.every(h)}return[function(e,t,n){const r=t<e;r&&([e,t]=[t,e]);const i=n&&"function"==typeof n.range?n:h(e,t,n),o=i?i.range(e,+t+1):[];return r?o.reverse():o},h]}const[g,m]=p(f.Mb,h.R6,d.Hl,l.TW,u.pz,c.vD),[y,v]=p(f.he,h.Ui,d.YP,l.UA,u.Ag,c.wX)},1208(e,t,n){"use strict";n.d(t,{AB:()=>a,Hl:()=>p,Mo:()=>l,YP:()=>s,pT:()=>v,rt:()=>g});var r=n(9981),i=n(6612);function o(e){return(0,r.f)(t=>{t.setDate(t.getDate()-(t.getDay()+7-e)%7),t.setHours(0,0,0,0)},(e,t)=>{e.setDate(e.getDate()+7*t)},(e,t)=>(t-e-(t.getTimezoneOffset()-e.getTimezoneOffset())*i.rR)/i.Fq)}const s=o(0),a=o(1),c=o(2),u=o(3),l=o(4),d=o(5),h=o(6);s.range,a.range,c.range,u.range,l.range,d.range,h.range;function f(e){return(0,r.f)(t=>{t.setUTCDate(t.getUTCDate()-(t.getUTCDay()+7-e)%7),t.setUTCHours(0,0,0,0)},(e,t)=>{e.setUTCDate(e.getUTCDate()+7*t)},(e,t)=>(t-e)/i.Fq)}const p=f(0),g=f(1),m=f(2),y=f(3),v=f(4),w=f(5),b=f(6);p.range,g.range,m.range,y.range,v.range,w.range,b.range},289(e,t,n){"use strict";n.d(t,{Mb:()=>o,he:()=>i});var r=n(9981);const i=(0,r.f)(e=>{e.setMonth(0,1),e.setHours(0,0,0,0)},(e,t)=>{e.setFullYear(e.getFullYear()+t)},(e,t)=>t.getFullYear()-e.getFullYear(),e=>e.getFullYear());i.every=e=>isFinite(e=Math.floor(e))&&e>0?(0,r.f)(t=>{t.setFullYear(Math.floor(t.getFullYear()/e)*e),t.setMonth(0,1),t.setHours(0,0,0,0)},(t,n)=>{t.setFullYear(t.getFullYear()+n*e)}):null;i.range;const o=(0,r.f)(e=>{e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)},(e,t)=>{e.setUTCFullYear(e.getUTCFullYear()+t)},(e,t)=>t.getUTCFullYear()-e.getUTCFullYear(),e=>e.getUTCFullYear());o.every=e=>isFinite(e=Math.floor(e))&&e>0?(0,r.f)(t=>{t.setUTCFullYear(Math.floor(t.getUTCFullYear()/e)*e),t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)},(t,n)=>{t.setUTCFullYear(t.getUTCFullYear()+n*e)}):null;o.range},7513(e,t,n){"use strict";n.d(t,{B:()=>r});class r extends Map{constructor(e,t=a){if(super(),Object.defineProperties(this,{_intern:{value:new Map},_key:{value:t}}),null!=e)for(const[t,n]of e)this.set(t,n)}get(e){return super.get(i(this,e))}has(e){return super.has(i(this,e))}set(e,t){return super.set(o(this,e),t)}delete(e){return super.delete(s(this,e))}}Set;function i({_intern:e,_key:t},n){const r=t(n);return e.has(r)?e.get(r):n}function o({_intern:e,_key:t},n){const r=t(n);return e.has(r)?e.get(r):(e.set(r,n),n)}function s({_intern:e,_key:t},n){const r=t(n);return e.has(r)&&(n=e.get(r),e.delete(r)),n}function a(e){return null!==e&&"object"==typeof e?e.valueOf():e}},9654(e,t,n){"use strict";n.d(t,{N:()=>y});var r=n(899),i=n(5339),o=n(3022),s=n(6087),a=n(7723),c=n(790),u="data-wp-hash";function l(){const e=globalThis;return e.__wpStyleRuntime||(e.__wpStyleRuntime={documents:new Map,styles:new Map,injectedStyles:new WeakMap},"undefined"!=typeof document&&function(e){const t=l();t.documents.set(e,(t.documents.get(e)??0)+1);for(const[n,r]of t.styles)d(e,n,r)}(document)),e.__wpStyleRuntime}function d(e,t,n){if(!e.head)return;const r=l();let i=r.injectedStyles.get(e);if(i||(i=new Set,r.injectedStyles.set(e,i)),i.has(t))return;if(function(e,t){if(!e.head)return!1;for(const n of e.head.querySelectorAll(`style[${u}]`))if(n.getAttribute(u)===t)return!0;return!1}(e,t))return void i.add(t);const o=e.createElement("style");o.setAttribute(u,t),o.appendChild(e.createTextNode(n)),e.head.appendChild(o),i.add(t)}function h(e,t){const n=l();n.styles.set(e,t);for(const r of n.documents.keys())d(r,e,t)}h("10f3806643","@layer wp-ui{@layer utilities, components, compositions, overrides;@layer utilities{._336cd3e4e743482f__box-sizing{box-sizing:border-box;*,:after,:before{box-sizing:inherit}}}}");var f="_336cd3e4e743482f__box-sizing";h("5f8e7aa0bc","@layer wp-ui{@layer utilities, components, compositions, overrides;@layer utilities{._08e8a2e44959f892__outset-ring--focus:focus,._970d04df7376df67__outset-ring--focus-within-except-active:focus-within:not(:has(:active)),.c5cb3ee4bddaa8e4__outset-ring--focus-within-visible:focus-within:has(:focus-visible),.cd83dfc2126a0846__outset-ring--focus-within:focus-within,.d0541bc9dd9dc7b6__outset-ring--focus-visible:focus-visible,.e25b2bdd7aa21721__outset-ring--focus-except-active:focus:not(:active),:focus-visible .ecadb9e080e2dfa5__outset-ring--focus-parent-visible{--_gcd-a-outline:var(--wpds-border-width-focus,var(--wp-admin-border-width-focus,2px)) solid var(--wpds-color-stroke-focus,var(--wp-admin-theme-color,#3858e9));--_gcd-div-outline:var(--wpds-border-width-focus,var(--wp-admin-border-width-focus,2px)) solid var(--wpds-color-stroke-focus,var(--wp-admin-theme-color,#3858e9));outline:var(--wpds-border-width-focus,var(--wp-admin-border-width-focus,2px)) solid var(--wpds-color-stroke-focus,var(--wp-admin-theme-color,#3858e9));outline-offset:var(--wpds-border-width-focus,var(--wp-admin-border-width-focus,2px))}}}");var p="_08e8a2e44959f892__outset-ring--focus";h("7e0119b657",'@layer wp-ui{@layer utilities, components, compositions, overrides;@layer components{.d4250949359b05ce__link{text-decoration-thickness:from-font;text-underline-offset:.2em}.c6055659b8e2cd2c__is-brand,.c6055659b8e2cd2c__is-brand:visited{--_gcd-a-color:var(--wpds-color-foreground-interactive-brand,var(--wp-admin-theme-color,#3858e9));color:var(--wpds-color-foreground-interactive-brand,var(--wp-admin-theme-color,#3858e9))}.c6055659b8e2cd2c__is-brand:active,.c6055659b8e2cd2c__is-brand:hover{--_gcd-a-color:var(--wpds-color-foreground-interactive-brand-active,color-mix(in oklch,var(--wp-admin-theme-color,#3858e9) 52%,#000));color:var(--wpds-color-foreground-interactive-brand-active,color-mix(in oklch,var(--wp-admin-theme-color,#3858e9) 52%,#000))}._92e0dfcaeee15b88__is-neutral,._92e0dfcaeee15b88__is-neutral:visited{--_gcd-a-color:var(--wpds-color-foreground-interactive-neutral,#1e1e1e);color:var(--wpds-color-foreground-interactive-neutral,#1e1e1e);text-decoration-color:var(--wpds-color-stroke-interactive-neutral,#8d8d8d)}._92e0dfcaeee15b88__is-neutral:active,._92e0dfcaeee15b88__is-neutral:hover{--_gcd-a-color:var(--wpds-color-foreground-interactive-neutral-active,#1e1e1e);color:var(--wpds-color-foreground-interactive-neutral-active,#1e1e1e)}.cf122a9bf1035d42__is-unstyled{--_gcd-a-color:inherit;color:inherit;text-decoration:none}._0cb411afac4c86c7__link-icon{display:inline-block;font-weight:var(--wpds-typography-font-weight-regular,400);line-height:1;margin-inline-start:var(--wpds-dimension-padding-xs,4px);text-decoration:none}._0cb411afac4c86c7__link-icon:after{content:"\\2197"}._0cb411afac4c86c7__link-icon:dir(rtl):after{content:"\\2196"}}}');var g={link:"d4250949359b05ce__link","is-brand":"c6055659b8e2cd2c__is-brand","is-neutral":"_92e0dfcaeee15b88__is-neutral","is-unstyled":"cf122a9bf1035d42__is-unstyled","link-icon":"_0cb411afac4c86c7__link-icon"};h("d390e935a7","._6defc79820e382c6__button{box-sizing:var(--_gcd-button-box-sizing,border-box);font-family:var(--_gcd-button-font-family,inherit);font-size:var(--_gcd-button-font-size,inherit);font-weight:var(--_gcd-button-font-weight,inherit)}.d2cff2e5dea83bd1__input{box-sizing:var(--_gcd-input-box-sizing,border-box);font-family:var(--_gcd-input-font-family,inherit);font-size:var(--_gcd-input-font-size,inherit);font-weight:var(--_gcd-input-font-weight,inherit);margin:var(--_gcd-input-margin,0);&:is(textarea,[type=text],[type=password],[type=color],[type=date],[type=datetime],[type=datetime-local],[type=email],[type=month],[type=number],[type=search],[type=tel],[type=time],[type=url],[type=week]){background-color:var(--_gcd-input-background-color,transparent);border:var(--_gcd-input-border,none);border-radius:var(--_gcd-input-border-radius,0);box-shadow:var(--_gcd-input-box-shadow,0 0 0 transparent);color:var(--_gcd-input-color,var(--wpds-color-foreground-interactive-neutral,#1e1e1e));&:focus{border-color:var(--_gcd-input-border-color-focus,var(--wp-admin-theme-color));box-shadow:var(--_gcd-input-box-shadow-focus,none);outline:var(--_gcd-input-outline-focus,none)}&:disabled{background:var(--_gcd-input-background-disabled,transparent);border-color:var(--_gcd-input-border-color-disabled,transparent);box-shadow:var(--_gcd-input-box-shadow-disabled,none);color:var(--_gcd-input-color-disabled,var(--wpds-color-foreground-interactive-neutral-disabled,#8d8d8d))}&::placeholder{color:var(--_gcd-input-placeholder-color,var(--wpds-color-foreground-interactive-neutral-disabled,#8d8d8d))}}&:is(textarea,[type=text],[type=password],[type=date],[type=datetime],[type=datetime-local],[type=email],[type=month],[type=number],[type=search],[type=tel],[type=time],[type=url],[type=week]){line-height:var(--_gcd-input-line-height,inherit);min-height:var(--_gcd-input-min-height,auto);padding:var(--_gcd-input-padding,0)}}._547d86373d02e108__textarea{box-sizing:var(--_gcd-textarea-box-sizing,border-box);overflow:var(--_gcd-textarea-overflow,auto);resize:var(--_gcd-textarea-resize,block)}._8c15fd0ed9f28ba4__div{outline:var(--_gcd-div-outline,0 solid transparent)}p._43cec3e1eec1066d__p{font-size:var(--_gcd-p-font-size,13px);line-height:var(--_gcd-p-line-height,1.5);margin:var(--_gcd-p-margin,0)}:is(h1,h2,h3,h4,h5,h6).e97669c6d9a38497__heading{color:var(--_gcd-heading-color,var(--wpds-color-foreground-content-neutral,#1e1e1e));font-size:var(--_gcd-heading-font-size,inherit);font-weight:var(--_gcd-heading-font-weight,var(--wpds-typography-font-weight-medium,499));margin:var(--_gcd-heading-margin,0)}._2c0831b0499dbd6e__a,._2c0831b0499dbd6e__a:is(:hover,:focus,:active){border-radius:var(--_gcd-a-border-radius,0);box-shadow:var(--_gcd-a-box-shadow,none);color:var(--_gcd-a-color,inherit);outline:var(--_gcd-a-outline,0 solid transparent);transition:var(--_gcd-a-transition,none)}");var m="_2c0831b0499dbd6e__a",y=(0,s.forwardRef)(function({children:e,variant:t="default",tone:n="brand",openInNewTab:s=!1,render:u,className:l,...d},h){return(0,r.C)({render:u,defaultTagName:"a",ref:h,props:(0,i.v6)(d,{className:(0,o.A)(m,f,p,"unstyled"!==t&&g.link,"unstyled"!==t&&g[`is-${n}`],"unstyled"===t&&g["is-unstyled"],l),target:s?"_blank":void 0,children:(0,c.jsxs)(c.Fragment,{children:[e,s&&(0,c.jsx)("span",{className:g["link-icon"],role:"img","aria-label":/* translators: accessibility text appended to link text */ /* translators: accessibility text appended to link text */(0,a.__)("(opens in a new tab)","jetpack")})]})})})})}},t={};function n(r){var i=t[r];if(void 0!==i)return i.exports;var o=t[r]={exports:{}};return e[r].call(o.exports,o,o.exports,n),o.exports}n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.dn=e=>{(Object.getOwnPropertyDescriptor(e,"name")||{}).writable||Object.defineProperty(e,"name",{value:"default",configurable:!0})},(()=>{"use strict";var e=n(7999),t=n(6087),r=n(5164),i=n(790);document.addEventListener("DOMContentLoaded",()=>{const n=document.getElementById("newsletter-widget-app");if(!n)return;const{emailSubscribers:o,paidSubscribers:s,allSubscribers:a,subscriberTotalsByDate:c,isStatsModuleActive:u,showHeader:l,showChart:d,newsletterSettingsUrl:h}=window.jetpackNewsletterWidgetConfigData||{},{suffix:f}=e.getSiteData(),p=e.getAdminUrl(),g=e.isWpcomPlatformSite();if(!f||!p||void 0===g)return;(0,t.createRoot)(n).render((0,i.jsx)(r.Y,{site:f,adminUrl:p,isWpcomSite:g,isStatsModuleActive:u,emailSubscribers:o,paidSubscribers:s,allSubscribers:a,subscriberTotalsByDate:c,showHeader:l,showChart:d,newsletterSettingsUrl:h}))})})()})();