victory-cursor-container 36.9.1 → 36.9.2-next.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +11 -0
- package/dist/victory-cursor-container.js +1538 -2119
- package/dist/victory-cursor-container.min.js +1 -1
- package/es/cursor-helpers.d.ts +32 -32
- package/es/cursor-helpers.js +79 -112
- package/es/index.d.ts +2 -2
- package/es/victory-cursor-container.d.ts +133 -133
- package/es/victory-cursor-container.js +138 -205
- package/lib/cursor-helpers.d.ts +32 -32
- package/lib/cursor-helpers.js +80 -122
- package/lib/index.d.ts +2 -2
- package/lib/index.js +0 -4
- package/lib/victory-cursor-container.d.ts +133 -133
- package/lib/victory-cursor-container.js +138 -215
- package/package.json +6 -9
- package/src/cursor-helpers.tsx +4 -4
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(require("react")):"function"==typeof define&&define.amd?define(["react"],e):"object"==typeof exports?exports.VictoryCursorContainer=e(require("react")):t.VictoryCursorContainer=e(t.React)}(self,(t=>(()=>{var e={503:(t,e,r)=>{var n=r(1171),o=r(7838),i=r(4859),a=r(4073),u=r(8541);function c(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}c.prototype.clear=n,c.prototype.delete=o,c.prototype.get=i,c.prototype.has=a,c.prototype.set=u,t.exports=c},3273:(t,e,r)=>{var n=r(163);t.exports=function(){if(!arguments.length)return[];var t=arguments[0];return n(t)?t:[t]}},8708:(t,e,r)=>{var n=r(1171),o=r(7838),i=r(4859),a=r(4073),u=r(8541);function c(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}c.prototype.clear=n,c.prototype.delete=o,c.prototype.get=i,c.prototype.has=a,c.prototype.set=u,t.exports=c},2596:(t,e,r)=>{var n=r(2373).Symbol;t.exports=n},6082:t=>{t.exports=function(t,e,r){switch(r.length){case 0:return t.call(e);case 1:return t.call(e,r[0]);case 2:return t.call(e,r[0],r[1]);case 3:return t.call(e,r[0],r[1],r[2])}return t.apply(e,r)}},8644:t=>{t.exports=function(t,e){for(var r=-1,n=null==t?0:t.length,o=Array(n);++r<n;)o[r]=e(t[r],r,t);return o}},9559:t=>{t.exports=function(t,e){for(var r=-1,n=e.length,o=t.length;++r<n;)t[o+r]=e[r];return t}},1634:t=>{t.exports=function(t,e){for(var r=-1,n=null==t?0:t.length;++r<n;)if(e(t[r],r,t))return!0;return!1}},4132:(t,e,r)=>{var n=r(8347),o=r(788),i=Object.prototype.hasOwnProperty;t.exports=function(t,e,r){var a=t[e];i.call(t,e)&&o(a,r)&&(void 0!==r||e in t)||n(t,e,r)}},3162:(t,e,r)=>{var n=r(788);t.exports=function(t,e){for(var r=t.length;r--;)if(n(t[r][0],e))return r;return-1}},8347:(t,e,r)=>{var n=r(5525);t.exports=function(t,e,r){"__proto__"==e&&n?n(t,e,{configurable:!0,enumerable:!0,value:r,writable:!0}):t[e]=r}},6457:(t,e,r)=>{var n=r(9559),o=r(3608);t.exports=function t(e,r,i,a,u){var c=-1,l=e.length;for(i||(i=o),u||(u=[]);++c<l;){var f=e[c];r>0&&i(f)?r>1?t(f,r-1,i,a,u):n(u,f):a||(u[u.length]=f)}return u}},320:(t,e,r)=>{var n=r(4710)();t.exports=n},2446:(t,e,r)=>{var n=r(320),o=r(7747);t.exports=function(t,e){return t&&n(t,e,o)}},4432:(t,e,r)=>{var n=r(9026),o=r(3110);t.exports=function(t,e){for(var r=0,i=(e=n(e,t)).length;null!=t&&r<i;)t=t[o(e[r++])];return r&&r==i?t:void 0}},563:t=>{var e=Object.prototype.toString;t.exports=function(t){return e.call(t)}},6776:t=>{t.exports=function(t,e){return null!=t&&e in Object(t)}},6123:t=>{t.exports=function(t,e,r){for(var n=r-1,o=t.length;++n<o;)if(t[n]===e)return n;return-1}},9070:(t,e,r)=>{var n=r(7028),o=r(3474);t.exports=function t(e,r,i,a,u){return e===r||(null==e||null==r||!o(e)&&!o(r)?e!=e&&r!=r:n(e,r,i,a,t,u))}},7028:(t,e,r)=>{var n=r(8708),o=r(8705),i=r(2813),a=r(6682),u=r(9667),c=r(163),l=r(4801),f=r(4289),s="[object Arguments]",p="[object Array]",d="[object Object]",y=Object.prototype.hasOwnProperty;t.exports=function(t,e,r,v,h,b){var g=c(t),m=c(e),O=g?p:u(t),x=m?p:u(e),w=(O=O==s?d:O)==d,j=(x=x==s?d:x)==d,P=O==x;if(P&&l(t)){if(!l(e))return!1;g=!0,w=!1}if(P&&!w)return b||(b=new n),g||f(t)?o(t,e,r,v,h,b):i(t,e,O,r,v,h,b);if(!(1&r)){var S=w&&y.call(t,"__wrapped__"),A=j&&y.call(e,"__wrapped__");if(S||A){var E=S?t.value():t,k=A?e.value():e;return b||(b=new n),h(E,k,r,v,b)}}return!!P&&(b||(b=new n),a(t,e,r,v,h,b))}},9548:(t,e,r)=>{var n=r(8708),o=r(9070);t.exports=function(t,e,r,i){var a=r.length,u=a,c=!i;if(null==t)return!u;for(t=Object(t);a--;){var l=r[a];if(c&&l[2]?l[1]!==t[l[0]]:!(l[0]in t))return!1}for(;++a<u;){var f=(l=r[a])[0],s=t[f],p=l[1];if(c&&l[2]){if(void 0===s&&!(f in t))return!1}else{var d=new n;if(i)var y=i(s,p,f,t,e,d);if(!(void 0===y?o(p,s,3,i,d):y))return!1}}return!0}},3472:(t,e,r)=>{var n=r(758),o=r(5223),i=r(5346),a=r(163),u=r(8532);t.exports=function(t){return"function"==typeof t?t:null==t?i:"object"==typeof t?a(t)?o(t[0],t[1]):n(t):u(t)}},7190:(t,e,r)=>{var n=r(5125)(Object.keys,Object);t.exports=n},758:(t,e,r)=>{var n=r(9548),o=r(597),i=r(6878);t.exports=function(t){var e=o(t);return 1==e.length&&e[0][2]?i(e[0][0],e[0][1]):function(r){return r===t||n(r,t,e)}}},5223:(t,e,r)=>{var n=r(9070),o=r(9201),i=r(5066),a=r(726),u=r(5385),c=r(6878),l=r(3110);t.exports=function(t,e){return a(t)&&u(e)?c(l(t),e):function(r){var a=o(r,t);return void 0===a&&a===e?i(r,t):n(e,a,3)}}},5436:(t,e,r)=>{var n=r(6371),o=r(5066);t.exports=function(t,e){return n(t,e,(function(e,r){return o(t,r)}))}},6371:(t,e,r)=>{var n=r(4432),o=r(6539),i=r(9026);t.exports=function(t,e,r){for(var a=-1,u=e.length,c={};++a<u;){var l=e[a],f=n(t,l);r(f,l)&&o(c,i(l,t),f)}return c}},1600:t=>{t.exports=function(t){return function(e){return null==e?void 0:e[t]}}},3301:(t,e,r)=>{var n=r(4432);t.exports=function(t){return function(e){return n(e,t)}}},6317:(t,e,r)=>{var n=r(5346),o=r(4280),i=r(201);t.exports=function(t,e){return i(o(t,e,n),t+"")}},6539:(t,e,r)=>{var n=r(4132),o=r(9026),i=r(9099),a=r(7709),u=r(3110);t.exports=function(t,e,r,c){if(!a(t))return t;for(var l=-1,f=(e=o(e,t)).length,s=f-1,p=t;null!=p&&++l<f;){var d=u(e[l]),y=r;if("__proto__"===d||"constructor"===d||"prototype"===d)return t;if(l!=s){var v=p[d];void 0===(y=c?c(v,d,p):void 0)&&(y=a(v)?v:i(e[l+1])?[]:{})}n(p,d,y),p=p[d]}return t}},6316:(t,e,r)=>{var n=r(2596),o=r(8644),i=r(163),a=r(1995),u=n?n.prototype:void 0,c=u?u.toString:void 0;t.exports=function t(e){if("string"==typeof e)return e;if(i(e))return o(e,t)+"";if(a(e))return c?c.call(e):"";var r=e+"";return"0"==r&&1/e==-1/0?"-0":r}},9914:(t,e,r)=>{var n=r(6123);t.exports=function(t,e){return!(null==t||!t.length)&&n(t,e,0)>-1}},9026:(t,e,r)=>{var n=r(163),o=r(726),i=r(7801),a=r(7010);t.exports=function(t,e){return n(t)?t:o(t,e)?[t]:i(a(t))}},4710:t=>{t.exports=function(t){return function(e,r,n){for(var o=-1,i=Object(e),a=n(e),u=a.length;u--;){var c=a[t?u:++o];if(!1===r(i[c],c,i))break}return e}}},5525:(t,e,r)=>{var n=r(3743),o=function(){try{var t=n(Object,"defineProperty");return t({},"",{}),t}catch(t){}}();t.exports=o},8705:(t,e,r)=>{var n=r(3273),o=r(1634),i=r(9914);t.exports=function(t,e,r,a,u,c){var l=1&r,f=t.length,s=e.length;if(f!=s&&!(l&&s>f))return!1;var p=c.get(t),d=c.get(e);if(p&&d)return p==e&&d==t;var y=-1,v=!0,h=2&r?new n:void 0;for(c.set(t,e),c.set(e,t);++y<f;){var b=t[y],g=e[y];if(a)var m=l?a(g,b,y,e,t,c):a(b,g,y,t,e,c);if(void 0!==m){if(m)continue;v=!1;break}if(h){if(!o(e,(function(t,e){if(!i(h,e)&&(b===t||u(b,t,r,a,c)))return h.push(e)}))){v=!1;break}}else if(b!==g&&!u(b,g,r,a,c)){v=!1;break}}return c.delete(t),c.delete(e),v}},2813:t=>{t.exports=function(t,e){return t===e||t!=t&&e!=e}},6682:(t,e,r)=>{var n=r(8143),o=Object.prototype.hasOwnProperty;t.exports=function(t,e,r,i,a,u){var c=1&r,l=n(t),f=l.length;if(f!=n(e).length&&!c)return!1;for(var s=f;s--;){var p=l[s];if(!(c?p in e:o.call(e,p)))return!1}var d=u.get(t),y=u.get(e);if(d&&y)return d==e&&y==t;var v=!0;u.set(t,e),u.set(e,t);for(var h=c;++s<f;){var b=t[p=l[s]],g=e[p];if(i)var m=c?i(g,b,p,e,t,u):i(b,g,p,t,e,u);if(!(void 0===m?b===g||a(b,g,r,i,u):m)){v=!1;break}h||(h="constructor"==p)}if(v&&!h){var O=t.constructor,x=e.constructor;O==x||!("constructor"in t)||!("constructor"in e)||"function"==typeof O&&O instanceof O&&"function"==typeof x&&x instanceof x||(v=!1)}return u.delete(t),u.delete(e),v}},5557:(t,e,r)=>{var n=r(2645),o=r(4280),i=r(201);t.exports=function(t){return i(o(t,void 0,n),t+"")}},2117:(t,e,r)=>{var n="object"==typeof r.g&&r.g&&r.g.Object===Object&&r.g;t.exports=n},8143:(t,e,r)=>{var n=r(5125)(Object.keys,Object);t.exports=n},597:(t,e,r)=>{var n=r(5385),o=r(7747);t.exports=function(t){for(var e=o(t),r=e.length;r--;){var i=e[r],a=t[i];e[r]=[i,a,n(a)]}return e}},3743:t=>{t.exports=function(t,e){return null==t?void 0:t[e]}},9667:t=>{var e=Object.prototype.toString;t.exports=function(t){return e.call(t)}},3096:(t,e,r)=>{var n=r(9026),o=r(5075),i=r(163),a=r(9099),u=r(8454),c=r(3110);t.exports=function(t,e,r){for(var l=-1,f=(e=n(e,t)).length,s=!1;++l<f;){var p=c(e[l]);if(!(s=null!=t&&r(t,p)))break;t=t[p]}return s||++l!=f?s:!!(f=null==t?0:t.length)&&u(f)&&a(p,f)&&(i(t)||o(t))}},3608:(t,e,r)=>{var n=r(2596),o=r(5075),i=r(163),a=n?n.isConcatSpreadable:void 0;t.exports=function(t){return i(t)||o(t)||!!(a&&t&&t[a])}},9099:t=>{var e=/^(?:0|[1-9]\d*)$/;t.exports=function(t,r){var n=typeof t;return!!(r=null==r?9007199254740991:r)&&("number"==n||"symbol"!=n&&e.test(t))&&t>-1&&t%1==0&&t<r}},8286:t=>{t.exports=function(){return!1}},726:(t,e,r)=>{var n=r(163),o=r(1995),i=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,a=/^\w*$/;t.exports=function(t,e){if(n(t))return!1;var r=typeof t;return!("number"!=r&&"symbol"!=r&&"boolean"!=r&&null!=t&&!o(t))||a.test(t)||!i.test(t)||null!=e&&t in Object(e)}},5782:t=>{t.exports=function(){return!1}},5385:(t,e,r)=>{var n=r(7709);t.exports=function(t){return t==t&&!n(t)}},1171:t=>{t.exports=function(){this.__data__=[],this.size=0}},7838:(t,e,r)=>{var n=r(3162),o=Array.prototype.splice;t.exports=function(t){var e=this.__data__,r=n(e,t);return!(r<0||(r==e.length-1?e.pop():o.call(e,r,1),--this.size,0))}},4859:(t,e,r)=>{var n=r(3162);t.exports=function(t){var e=this.__data__,r=n(e,t);return r<0?void 0:e[r][1]}},4073:(t,e,r)=>{var n=r(3162);t.exports=function(t){return n(this.__data__,t)>-1}},8541:(t,e,r)=>{var n=r(3162);t.exports=function(t,e){var r=this.__data__,o=n(r,t);return o<0?(++this.size,r.push([t,e])):r[o][1]=e,this}},6878:t=>{t.exports=function(t,e){return function(r){return null!=r&&r[t]===e&&(void 0!==e||t in Object(r))}}},2453:t=>{t.exports=function(t){return t}},5125:t=>{t.exports=function(t,e){return function(r){return t(e(r))}}},4280:(t,e,r)=>{var n=r(6082),o=Math.max;t.exports=function(t,e,r){return e=o(void 0===e?t.length-1:e,0),function(){for(var i=arguments,a=-1,u=o(i.length-e,0),c=Array(u);++a<u;)c[a]=i[e+a];a=-1;for(var l=Array(e+1);++a<e;)l[a]=i[a];return l[e]=r(c),n(t,this,l)}}},2373:(t,e,r)=>{var n=r(2117),o="object"==typeof self&&self&&self.Object===Object&&self,i=n||o||Function("return this")();t.exports=i},201:t=>{t.exports=function(t){return t}},7801:(t,e,r)=>{var n=r(2453),o=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,i=/\\(\\)?/g,a=n((function(t){var e=[];return 46===t.charCodeAt(0)&&e.push(""),t.replace(o,(function(t,r,n,o){e.push(n?o.replace(i,"$1"):r||t)})),e}));t.exports=a},3110:t=>{t.exports=function(t){return t}},5034:(t,e,r)=>{var n=r(7709),o=r(6987),i=r(5812),a=Math.max,u=Math.min;t.exports=function(t,e,r){var c,l,f,s,p,d,y=0,v=!1,h=!1,b=!0;if("function"!=typeof t)throw new TypeError("Expected a function");function g(e){var r=c,n=l;return c=l=void 0,y=e,s=t.apply(n,r)}function m(t){return y=t,p=setTimeout(x,e),v?g(t):s}function O(t){var r=t-d;return void 0===d||r>=e||r<0||h&&t-y>=f}function x(){var t=o();if(O(t))return w(t);p=setTimeout(x,function(t){var r=e-(t-d);return h?u(r,f-(t-y)):r}(t))}function w(t){return p=void 0,b&&c?g(t):(c=l=void 0,s)}function j(){var t=o(),r=O(t);if(c=arguments,l=this,d=t,r){if(void 0===p)return m(d);if(h)return clearTimeout(p),p=setTimeout(x,e),g(d)}return void 0===p&&(p=setTimeout(x,e)),s}return e=i(e)||0,n(r)&&(v=!!r.leading,f=(h="maxWait"in r)?a(i(r.maxWait)||0,e):f,b="trailing"in r?!!r.trailing:b),j.cancel=function(){void 0!==p&&clearTimeout(p),y=0,c=d=l=p=void 0},j.flush=function(){return void 0===p?s:w(o())},j}},1893:(t,e,r)=>{var n=r(6317),o=r(788),i=r(8286),a=r(8855),u=Object.prototype,c=u.hasOwnProperty,l=n((function(t,e){t=Object(t);var r=-1,n=e.length,l=n>2?e[2]:void 0;for(l&&i(e[0],e[1],l)&&(n=1);++r<n;)for(var f=e[r],s=a(f),p=-1,d=s.length;++p<d;){var y=s[p],v=t[y];(void 0===v||o(v,u[y])&&!c.call(t,y))&&(t[y]=f[y])}return t}));t.exports=l},788:t=>{t.exports=function(t,e){return t===e||t!=t&&e!=e}},2645:(t,e,r)=>{var n=r(6457);t.exports=function(t){return null!=t&&t.length?n(t,1):[]}},9201:(t,e,r)=>{var n=r(4432);t.exports=function(t,e,r){var o=null==t?void 0:n(t,e);return void 0===o?r:o}},5066:(t,e,r)=>{var n=r(6776),o=r(3096);t.exports=function(t,e){return null!=t&&o(t,e,n)}},5346:t=>{t.exports=function(t){return t}},5075:t=>{t.exports=function(){return!1}},163:t=>{var e=Array.isArray;t.exports=e},981:(t,e,r)=>{var n=r(9642),o=r(8454);t.exports=function(t){return null!=t&&o(t.length)&&!n(t)}},4801:t=>{t.exports=function(){return!1}},4155:(t,e,r)=>{var n=r(7190),o=r(9667),i=r(5075),a=r(163),u=r(981),c=r(4801),l=r(5782),f=r(4289),s=Object.prototype.hasOwnProperty;t.exports=function(t){if(null==t)return!0;if(u(t)&&(a(t)||"string"==typeof t||"function"==typeof t.splice||c(t)||f(t)||i(t)))return!t.length;var e=o(t);if("[object Map]"==e||"[object Set]"==e)return!t.size;if(l(t))return!n(t).length;for(var r in t)if(s.call(t,r))return!1;return!0}},9642:(t,e,r)=>{var n=r(563),o=r(7709);t.exports=function(t){if(!o(t))return!1;var e=n(t);return"[object Function]"==e||"[object GeneratorFunction]"==e||"[object AsyncFunction]"==e||"[object Proxy]"==e}},8454:t=>{t.exports=function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=9007199254740991}},7709:t=>{t.exports=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}},3474:t=>{t.exports=function(t){return null!=t&&"object"==typeof t}},1995:t=>{t.exports=function(){return!1}},4289:t=>{t.exports=function(){return!1}},7747:(t,e,r)=>{var n=r(5125)(Object.keys,Object);t.exports=n},8855:t=>{t.exports=function(t){var e=[];if(null!=t)for(var r in Object(t))e.push(r);return e}},4943:(t,e,r)=>{var n=r(8347),o=r(2446),i=r(3472);t.exports=function(t,e){var r={};return e=i(e,3),o(t,(function(t,o,i){n(r,o,e(t,o,i))})),r}},1594:(t,e,r)=>{var n=r(503);function o(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw new TypeError("Expected a function");var r=function(){var n=arguments,o=e?e.apply(this,n):n[0],i=r.cache;if(i.has(o))return i.get(o);var a=t.apply(this,n);return r.cache=i.set(o,a)||i,a};return r.cache=new(o.Cache||n),r}o.Cache=n,t.exports=o},6987:(t,e,r)=>{var n=r(2373);t.exports=function(){return n.Date.now()}},9082:(t,e,r)=>{var n=r(5436),o=r(5557)((function(t,e){return null==t?{}:n(t,e)}));t.exports=o},8532:(t,e,r)=>{var n=r(1600),o=r(3301),i=r(726),a=r(3110);t.exports=function(t){return i(t)?n(a(t)):o(t)}},8163:(t,e,r)=>{var n=r(5034),o=r(7709);t.exports=function(t,e,r){var i=!0,a=!0;if("function"!=typeof t)throw new TypeError("Expected a function");return o(r)&&(i="leading"in r?!!r.leading:i,a="trailing"in r?!!r.trailing:a),n(t,e,{leading:i,maxWait:e,trailing:a})}},5812:t=>{t.exports=function(t){return t}},7010:(t,e,r)=>{var n=r(6316);t.exports=function(t){return null==t?"":n(t)}},660:(t,e,r)=>{var n=r(7010),o=0;t.exports=function(t){var e=++o;return n(t)+e}},9787:e=>{"use strict";e.exports=t}},r={};function n(t){var o=r[t];if(void 0!==o)return o.exports;var i=r[t]={exports:{}};return e[t](i,i.exports,n),i.exports}n.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return n.d(e,{a:e}),e},n.d=(t,e)=>{for(var r in e)n.o(e,r)&&!n.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:e[r]})},n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),n.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),n.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var o={};return(()=>{"use strict";n.r(o),n.d(o,{CursorHelpers:()=>p,VictoryCursorContainer:()=>Le,cursorContainerMixin:()=>Be});var t=n(4943),e=n.n(t),r=n(9642),i=n.n(r),a=n(8163),u=n.n(a);function c(t,e,r){var n=e.a,o=e.d,i=e.e,a=e.f;return"y"===r?o*t+a:n*t+i}function l(t){return!(!t||void 0===t.identifier)}function f(t){if(!l(t.nativeEvent)){var e=function(t){return"svg"===t.nodeName?t:t.parentNode?e(t.parentNode):t};return e(t.target)}}function s(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}var p=new(function(){function t(){var e=this;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.handleMouseMove=function(t,r){var n=r.onCursorChange,o=r.domain,a=e.getDimension(r),u=r.parentSVG||f(t),s=function(t,e){if(l(t.nativeEvent))return{x:t.nativeEvent.locationX,y:t.nativeEvent.locationY};var r=function(t){return t.changedTouches&&t.changedTouches.length>0}(t)?t.changedTouches[0]:t,n=function(t){return t.getScreenCTM().inverse()}(e||f(r));return{x:c(r.clientX,n,"x"),y:c(r.clientY,n,"y")}}(t,u),p=function(t,e,r,n){var o=t.polar,i=t.horizontal;if(!o)return{x:i?e.x.invert(n):e.x.invert(r),y:i?e.y.invert(r):e.y.invert(n)};var a=t.origin||{x:0,y:0},u=r-a.x,c=n-a.y,l=Math.abs(u*Math.sqrt(1+Math.pow(-c/u,2))),f=(-Math.atan2(c,u)+2*Math.PI)%(2*Math.PI);return{x:e.x.invert(f),y:e.y.invert(l)}}(r,r.scale,s.x,s.y);return e.withinBounds(p,{x1:o.x[0],x2:o.x[1],y1:o.y[0],y2:o.y[1]})||(p=null),i()(n)&&(p?n(a?p[a]:p,r):p!==r.cursorValue&&n(r.defaultCursorValue||null,r)),[{target:"parent",eventKey:"parent",mutation:function(){return{cursorValue:p,parentSVG:u}}}]},this.onMouseMove=u()(this.handleMouseMove,16,{leading:!0,trailing:!1}),this.onMouseLeave=this.handleMouseMove,this.onTouchEnd=function(t,e){var r=e.onCursorChange;return i()(e.onCursorChange)&&r(null,e),[{target:"parent",eventKey:"parent",mutation:function(){return{cursorValue:null}}}]}}var r,n;return r=t,(n=[{key:"getDimension",value:function(t){var e=t.horizontal,r=t.cursorDimension;return e&&r?"x"===r?"y":"x":r}},{key:"withinBounds",value:function(t,r){var n=e()(r,Number),o=n.x1,i=n.x2,a=n.y1,u=n.y2,c=e()(t,Number),l=c.x,f=c.y;return l>=Math.min(o,i)&&l<=Math.max(o,i)&&f>=Math.min(a,u)&&f<=Math.max(a,u)}}])&&s(r.prototype,n),Object.defineProperty(r,"prototype",{writable:!1}),t}()),d=n(7709),y=n.n(d),v=n(1893),h=n.n(v),b=n(9787),g=n.n(b),m=n(7747),O=n.n(m);function x(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r={};for(var n in t)e.indexOf(n)>=0||Object.prototype.hasOwnProperty.call(t,n)&&(r[n]=t[n]);return r}function w(t){var e=function(t){return void 0!==t},r=t._x,n=t._x1,o=t._x0,i=t._voronoiX,a=t._y,u=t._y1,c=t._y0,l=t._voronoiY,f=e(n)?n:r,s=e(u)?u:a,p={x:e(i)?i:f,x0:e(o)?o:r,y:e(l)?l:s,y0:e(c)?c:a};return h()({},p,t)}function j(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"padding",r=t[e],n="number"==typeof r?r:0,o="object"==typeof r?r:{};return{top:o.top||n,bottom:o.bottom||n,left:o.left||n,right:o.right||n}}function P(t,e){return i()(t)?t(e):t}function S(t,e){return e.disableInlineStyles?{}:t&&O()(t).some((function(e){return i()(t[e])}))?O()(t).reduce((function(r,n){return r[n]=P(t[n],e),r}),{}):t}n(9082),n(8532);var A=n(660),E=n.n(A);function k(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function _(t,e){return _=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},_(t,e)}function C(t,e){if(e&&("object"==typeof e||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}function M(t){return M=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},M(t)}var I=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&_(t,e)}(a,t);var e,r,n,o,i=(n=a,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}(),function(){var t,e=M(n);if(o){var r=M(this).constructor;t=Reflect.construct(e,arguments,r)}else t=e.apply(this,arguments);return C(this,t)});function a(t){var e;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,a),(e=i.call(this,t)).map=void 0,e.index=void 0,e.portalRegister=function(){return++e.index},e.portalUpdate=function(t,r){e.map[t]=r,e.forceUpdate()},e.portalDeregister=function(t){delete e.map[t],e.forceUpdate()},e.map={},e.index=1,e}return e=a,(r=[{key:"getChildren",value:function(){var t=this;return O()(this.map).map((function(e){var r=t.map[e];return r?g().cloneElement(r,{key:e}):r}))}},{key:"render",value:function(){return g().createElement("svg",this.props,this.getChildren())}}])&&k(e.prototype,r),Object.defineProperty(e,"prototype",{writable:!1}),a}(g().Component);I.displayName="Portal";var R=g().createContext({});R.displayName="PortalContext";var D,T,z=0,H=0,N=0,F=0,B=0,L=0,W="object"==typeof performance&&performance.now?performance:Date,U="object"==typeof window&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):function(t){setTimeout(t,17)};function V(){return B||(U(G),B=W.now()+L)}function G(){B=0}function $(){this._call=this._time=this._next=null}function K(t,e,r){var n=new $;return n.restart(t,e,r),n}function q(){B=(F=W.now())+L,z=H=0;try{!function(){V(),++z;for(var t,e=D;e;)(t=B-e._time)>=0&&e._call.call(void 0,t),e=e._next;--z}()}finally{z=0,function(){for(var t,e,r=D,n=1/0;r;)r._call?(n>r._time&&(n=r._time),t=r,r=r._next):(e=r._next,r._next=null,r=t?t._next=e:D=e);T=t,X(n)}(),B=0}}function Z(){var t=W.now(),e=t-F;e>1e3&&(L-=e,F=t)}function X(t){z||(H&&(H=clearTimeout(H)),t-B>24?(t<1/0&&(H=setTimeout(q,t-W.now()-L)),N&&(N=clearInterval(N))):(N||(F=W.now(),N=setInterval(Z,1e3)),z=1,U(q)))}function Y(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}$.prototype=K.prototype={constructor:$,restart:function(t,e,r){if("function"!=typeof t)throw new TypeError("callback is not a function");r=(null==r?V():+r)+(null==e?0:+e),this._next||T===this||(T?T._next=this:D=this,T=this),this._call=t,this._time=r,X()},stop:function(){this._call&&(this._call=null,this._time=1/0,X())}};var J=function(){function t(){var e=this;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.shouldAnimate=void 0,this.subscribers=void 0,this.activeSubscriptions=void 0,this.timer=void 0,this.loop=function(){e.subscribers.forEach((function(t){t.callback(V()-t.startTime,t.duration)}))},this.shouldAnimate=!0,this.subscribers=[],this.timer=null,this.activeSubscriptions=0}var e,r;return e=t,(r=[{key:"bypassAnimation",value:function(){this.shouldAnimate=!1}},{key:"resumeAnimation",value:function(){this.shouldAnimate=!0}},{key:"start",value:function(){this.timer||(this.timer=K(this.loop))}},{key:"stop",value:function(){this.timer&&(this.timer.stop(),this.timer=null)}},{key:"subscribe",value:function(t,e){var r=this.subscribers.push({startTime:V(),callback:t,duration:this.shouldAnimate?e:0});return this.activeSubscriptions++,this.start(),r}},{key:"unsubscribe",value:function(t){null!==t&&this.subscribers[t-1]&&(delete this.subscribers[t-1],this.activeSubscriptions--),0===this.activeSubscriptions&&this.stop()}}])&&Y(e.prototype,r),Object.defineProperty(e,"prototype",{writable:!1}),t}(),Q=g().createContext({transitionTimer:new J,animationTimer:new J});Q.displayName="TimerContext";const tt=Q;function et(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i=[],a=!0,u=!1;try{for(r=r.call(t);!(a=(n=r.next()).done)&&(i.push(n.value),!e||i.length!==e);a=!0);}catch(t){u=!0,o=t}finally{try{a||null==r.return||r.return()}finally{if(u)throw o}}return i}}(t,e)||function(t,e){if(t){if("string"==typeof t)return rt(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?rt(t,e):void 0}}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function rt(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function nt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function ot(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var it={startsWith:["data-","aria-"],exactMatch:[]},at=function(t){var e=function(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?nt(Object(r),!0).forEach((function(e){ot(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):nt(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}({},t);return Object.fromEntries(Object.entries(e).filter((function(t){return function(t){return!(!function(t){var e=!1;return it.startsWith.forEach((function(r){new RegExp("\\b(".concat(r,")(\\w|-)+"),"g").test(t)&&(e=!0)})),e}(t)&&!function(t){return it.exactMatch.includes(t)}(t))}(et(t,1)[0])})).map((function(e){var r=et(e,2);return[r[0],P(r[1],t)]})))};function ut(){return ut=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},ut.apply(this,arguments)}function ct(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function lt(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?ct(Object(r),!0).forEach((function(e){ft(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):ct(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function ft(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function st(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function pt(t,e){return pt=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},pt(t,e)}function dt(t,e){if(e&&("object"==typeof e||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}function yt(t){return yt=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},yt(t)}var vt=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&pt(t,e)}(u,t);var e,r,n,o,a=(n=u,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}(),function(){var t,e=yt(n);if(o){var r=yt(this).constructor;t=Reflect.construct(e,arguments,r)}else t=e.apply(this,arguments);return dt(this,t)});function u(t){var e;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,u),(e=a.call(this,t)).containerId=void 0,e.portalRef=void 0,e.containerRef=void 0,e.shouldHandleWheel=void 0,e.savePortalRef=function(t){return e.portalRef=t,t},e.portalUpdate=function(t,r){return e.portalRef.portalUpdate(t,r)},e.portalRegister=function(){return e.portalRef.portalRegister()},e.portalDeregister=function(t){return e.portalRef.portalDeregister(t)},e.saveContainerRef=function(t){return i()(e.props.containerRef)&&e.props.containerRef(t),e.containerRef=t,t},e.handleWheel=function(t){return t.preventDefault()},e.containerId=y()(t)&&void 0!==t.containerId?t.containerId:E()("victory-container-"),e.shouldHandleWheel=!!(t&&t.events&&t.events.onWheel),e}return e=u,(r=[{key:"componentDidMount",value:function(){this.shouldHandleWheel&&this.containerRef&&this.containerRef.addEventListener("wheel",this.handleWheel)}},{key:"componentWillUnmount",value:function(){this.shouldHandleWheel&&this.containerRef&&this.containerRef.removeEventListener("wheel",this.handleWheel)}},{key:"getIdForElement",value:function(t){return"".concat(this.containerId,"-").concat(t)}},{key:"getChildren",value:function(t){return t.children}},{key:"getOUIAProps",value:function(t){var e=t.ouiaId,r=t.ouiaSafe,n=t.ouiaType;return lt(lt(lt({},e&&{"data-ouia-component-id":e}),n&&{"data-ouia-component-type":n}),void 0!==r&&{"data-ouia-safe":r})}},{key:"renderContainer",value:function(t,e,r){var n=t.title,o=t.desc,i=t.portalComponent,a=t.className,u=t.width,c=t.height,l=t.portalZIndex,f=t.responsive,s=this.getChildren(t),p=f?{width:"100%",height:"100%"}:{width:u,height:c},d=Object.assign({pointerEvents:"none",touchAction:"none",position:"relative"},p),y=Object.assign({zIndex:l,position:"absolute",top:0,left:0},p),v=Object.assign({pointerEvents:"all"},p),b=Object.assign({overflow:"visible"},p),m={width:u,height:c,viewBox:e.viewBox,preserveAspectRatio:e.preserveAspectRatio,style:b};return g().createElement(R.Provider,{value:{portalUpdate:this.portalUpdate,portalRegister:this.portalRegister,portalDeregister:this.portalDeregister}},g().createElement("div",ut({style:h()({},r,d),className:a,ref:this.saveContainerRef},this.getOUIAProps(t)),g().createElement("svg",ut({},e,{style:v}),n?g().createElement("title",{id:this.getIdForElement("title")},n):null,o?g().createElement("desc",{id:this.getIdForElement("desc")},o):null,s),g().createElement("div",{style:y},g().cloneElement(i,lt(lt({},m),{},{ref:this.savePortalRef})))))}},{key:"render",value:function(){var t=this.props,e=t.width,r=t.height,n=t.responsive,o=t.events,i=t.title,a=t.desc,u=t.tabIndex,c=t.preserveAspectRatio,l=t.role,f=n?this.props.style:x(this.props.style,["height","width"]),s=at(this.props),p=Object.assign(lt({width:e,height:r,tabIndex:u,role:l,"aria-labelledby":[i&&this.getIdForElement("title"),this.props["aria-labelledby"]].filter(Boolean).join(" ")||void 0,"aria-describedby":[a&&this.getIdForElement("desc"),this.props["aria-describedby"]].filter(Boolean).join(" ")||void 0,viewBox:n?"0 0 ".concat(e," ").concat(r):void 0,preserveAspectRatio:n?c:void 0},s),o);return this.renderContainer(this.props,p,f)}}])&&st(e.prototype,r),Object.defineProperty(e,"prototype",{writable:!1}),u}(g().Component);vt.displayName="VictoryContainer",vt.role="container",vt.defaultProps={className:"VictoryContainer",portalComponent:g().createElement(I,null),portalZIndex:99,responsive:!0,role:"img"},vt.contextType=tt;var ht=n(4155),bt=n.n(ht);function gt(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function mt(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function Ot(t,e){return Ot=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},Ot(t,e)}function xt(t,e){if(e&&("object"==typeof e||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}function wt(t){return wt=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},wt(t)}var jt=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&Ot(t,e)}(a,t);var e,r,n,o,i=(n=a,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}(),function(){var t,e=wt(n);if(o){var r=wt(this).constructor;t=Reflect.construct(e,arguments,r)}else t=e.apply(this,arguments);return xt(this,t)});function a(){var t;gt(this,a);for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];return(t=i.call.apply(i,[this].concat(r))).checkedContext=void 0,t.portalKey=void 0,t.renderInPlace=void 0,t.element=void 0,t}return e=a,(r=[{key:"componentDidMount",value:function(){this.checkedContext||("function"!=typeof this.context.portalUpdate&&(this.renderInPlace=!0),this.checkedContext=!0),this.forceUpdate()}},{key:"componentDidUpdate",value:function(){this.renderInPlace||(this.portalKey=this.portalKey||this.context.portalRegister(),this.context.portalUpdate(this.portalKey,this.element))}},{key:"componentWillUnmount",value:function(){this.context&&this.context.portalDeregister&&this.context.portalDeregister(this.portalKey)}},{key:"renderPortal",value:function(t){return this.renderInPlace?t:(this.element=t,null)}},{key:"render",value:function(){var t=Array.isArray(this.props.children)?this.props.children[0]:this.props.children,e=this.props.groupComponent,r=t&&t.props||{},n=r.groupComponent?{groupComponent:e,standalone:!1}:{},o=h()(n,r,x(this.props,["children","groupComponent"])),i=t&&g().cloneElement(t,o);return this.renderPortal(i)}}])&&mt(e.prototype,r),Object.defineProperty(e,"prototype",{writable:!1}),a}(g().Component);jt.displayName="VictoryPortal",jt.role="portal",jt.defaultProps={groupComponent:g().createElement("g",null)},jt.contextType=R;var Pt=["desc","id","tabIndex","origin"];function St(){return St=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},St.apply(this,arguments)}function At(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Et(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var kt=(0,b.forwardRef)((function(t,e){var r,n=t.desc,o=t.id,i=t.tabIndex,a=(t.origin,function(t,e){if(null==t)return{};var r,n,o=function(t,e){if(null==t)return{};var r,n,o={},i=Object.keys(t);for(n=0;n<i.length;n++)r=i[n],e.indexOf(r)>=0||(o[r]=t[r]);return o}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(n=0;n<i.length;n++)r=i[n],e.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}(t,Pt)),u=function(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?At(Object(r),!0).forEach((function(e){Et(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):At(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}({vectorEffect:"non-scaling-stroke",id:null===(r=P(o,t))||void 0===r?void 0:r.toString(),tabIndex:P(i,t)},a);return n?g().createElement("rect",St({},u,{ref:e}),g().createElement("desc",null,n)):g().createElement("rect",St({},u,{ref:e}))})),_t=["children","desc","id","origin","tabIndex","title"];function Ct(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Mt(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var It=function(t){var e,r=t.children,n=t.desc,o=t.id,i=(t.origin,t.tabIndex),a=t.title,u=function(t,e){if(null==t)return{};var r,n,o=function(t,e){if(null==t)return{};var r,n,o={},i=Object.keys(t);for(n=0;n<i.length;n++)r=i[n],e.indexOf(r)>=0||(o[r]=t[r]);return o}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(n=0;n<i.length;n++)r=i[n],e.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}(t,_t),c=function(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?Ct(Object(r),!0).forEach((function(e){Mt(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Ct(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}({id:null===(e=P(o,t))||void 0===e?void 0:e.toString(),tabIndex:P(i,t)},u);return g().createElement("text",c,a&&g().createElement("title",null,a),n&&g().createElement("desc",null,n),r)},Rt=["desc","id","tabIndex","origin"];function Dt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Tt(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var zt=function(t){t.desc;var e,r=t.id,n=t.tabIndex,o=(t.origin,function(t,e){if(null==t)return{};var r,n,o=function(t,e){if(null==t)return{};var r,n,o={},i=Object.keys(t);for(n=0;n<i.length;n++)r=i[n],e.indexOf(r)>=0||(o[r]=t[r]);return o}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(n=0;n<i.length;n++)r=i[n],e.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}(t,Rt)),i=function(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?Dt(Object(r),!0).forEach((function(e){Tt(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Dt(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}({id:null===(e=P(r,t))||void 0===e?void 0:e.toString(),tabIndex:P(n,t)},o);return g().createElement("tspan",i)};var Ht=function(t){for(var e=arguments.length,r=new Array(e>1?e-1:0),n=1;n<e;n++)r[n-1]=arguments[n];if(r.length>0)return r.reduce((function(t,e){return[t,Ht(e)].join(" ")}),Ht(t)).trim();if(null==t||"string"==typeof t)return t;var o=[];for(var i in t)if(t.hasOwnProperty(i)){var a=t[i];o.push("".concat(i,"(").concat(a,")"))}return o.join(" ").trim()},Nt=n(1594),Ft=n.n(Nt);function Bt(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i=[],a=!0,u=!1;try{for(r=r.call(t);!(a=(n=r.next()).done)&&(i.push(n.value),!e||i.length!==e);a=!0);}catch(t){u=!0,o=t}finally{try{a||null==r.return||r.return()}finally{if(u)throw o}}return i}}(t,e)||Lt(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Lt(t,e){if(t){if("string"==typeof t)return Wt(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Wt(t,e):void 0}}function Wt(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}var Ut={"American Typewriter":{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.25,.4203125,.3296875,.6,.6375,.8015625,.8203125,.1875,.45625,.45625,.6375,.5,.2734375,.309375,.2734375,.4390625,.6375,.6375,.6375,.6375,.6375,.6375,.6375,.6375,.6375,.6375,.2734375,.2734375,.5,.5,.5,.6,.6921875,.7640625,.6921875,.6375,.728125,.6734375,.6203125,.7109375,.784375,.3828125,.6421875,.7859375,.6375,.9484375,.7640625,.65625,.6375,.65625,.7296875,.6203125,.6375,.7109375,.740625,.940625,.784375,.7578125,.6203125,.4375,.5,.4375,.5,.5,.4921875,.5734375,.5890625,.5109375,.6,.528125,.43125,.5578125,.6375,.3109375,.40625,.6234375,.309375,.928125,.6375,.546875,.6,.58125,.4921875,.4921875,.4,.6203125,.625,.825,.6375,.640625,.528125,.5,.5,.5,.6671875],avg:.5793421052631578},Arial:{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.278125,.278125,.35625,.55625,.55625,.890625,.6671875,.1921875,.334375,.334375,.390625,.584375,.278125,.334375,.278125,.278125,.55625,.55625,.55625,.55625,.55625,.55625,.55625,.55625,.55625,.55625,.278125,.278125,.584375,.584375,.584375,.55625,1.015625,.6703125,.6671875,.7234375,.7234375,.6671875,.6109375,.778125,.7234375,.278125,.5,.6671875,.55625,.834375,.7234375,.778125,.6671875,.778125,.7234375,.6671875,.6109375,.7234375,.6671875,.9453125,.6671875,.6671875,.6109375,.278125,.278125,.278125,.4703125,.584375,.334375,.55625,.55625,.5,.55625,.55625,.3125,.55625,.55625,.2234375,.2703125,.5,.2234375,.834375,.55625,.55625,.55625,.55625,.346875,.5,.278125,.55625,.5,.7234375,.5,.5,.5,.334375,.2609375,.334375,.584375],avg:.528733552631579},"Arial Black":{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.33125,.334375,.5,.6609375,.6671875,1,.890625,.278125,.390625,.390625,.55625,.6609375,.334375,.334375,.334375,.28125,.6671875,.6671875,.6671875,.6671875,.6671875,.6671875,.6671875,.6671875,.6671875,.6671875,.334375,.334375,.6609375,.6609375,.6609375,.6109375,.7453125,.78125,.778125,.778125,.778125,.7234375,.6671875,.834375,.834375,.390625,.6671875,.834375,.6671875,.9453125,.834375,.834375,.7234375,.834375,.78125,.7234375,.7234375,.834375,.7796875,1.003125,.78125,.78125,.7234375,.390625,.28125,.390625,.6609375,.5125,.334375,.6671875,.6671875,.6671875,.6671875,.6671875,.41875,.6671875,.6671875,.334375,.384375,.6671875,.334375,1,.6671875,.6671875,.6671875,.6671875,.4703125,.6109375,.4453125,.6671875,.6140625,.946875,.6671875,.615625,.55625,.390625,.278125,.390625,.6609375],avg:.6213157894736842},Baskerville:{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.25,.25,.40625,.6671875,.490625,.875,.7015625,.178125,.2453125,.246875,.4171875,.6671875,.25,.3125,.25,.521875,.5,.5,.5,.5,.5,.5,.5,.5,.5,.5,.25,.25,.6671875,.6671875,.6671875,.396875,.9171875,.684375,.615625,.71875,.7609375,.625,.553125,.771875,.803125,.3546875,.515625,.78125,.6046875,.928125,.75,.8234375,.5625,.96875,.7296875,.5421875,.6984375,.771875,.7296875,.9484375,.771875,.678125,.6359375,.3640625,.521875,.3640625,.46875,.5125,.334375,.46875,.521875,.428125,.521875,.4375,.3890625,.4765625,.53125,.25,.359375,.4640625,.240625,.803125,.53125,.5,.521875,.521875,.365625,.334375,.2921875,.521875,.4640625,.678125,.4796875,.465625,.428125,.4796875,.5109375,.4796875,.6671875],avg:.5323519736842108},Courier:{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.5984375,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6078125,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.61875,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.615625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6140625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625],avg:.6020559210526316},"Courier New":{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.5984375,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625],avg:.6015296052631579},cursive:{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.1921875,.24375,.40625,.5671875,.3984375,.721875,.909375,.2328125,.434375,.365625,.4734375,.5578125,.19375,.3484375,.19375,.7734375,.503125,.4171875,.5453125,.45,.6046875,.4703125,.5984375,.55625,.503125,.5546875,.20625,.2,.5625,.5546875,.546875,.403125,.70625,.734375,.7078125,.64375,.85,.753125,.75,.6484375,1.0765625,.44375,.5359375,.8359375,.653125,1.0109375,1.1515625,.6796875,.6984375,1.0625,.8234375,.5125,.9234375,.8546875,.70625,.9109375,.7421875,.715625,.6015625,.4640625,.3359375,.4109375,.5421875,.5421875,.4328125,.5125,.5,.3859375,.7375,.359375,.75625,.540625,.5328125,.3203125,.5296875,.5015625,.484375,.7890625,.5640625,.4203125,.703125,.471875,.4734375,.35,.4125,.5640625,.471875,.6484375,.5296875,.575,.4140625,.415625,.20625,.3796875,.5421875],avg:.5604440789473684},fantasy:{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.215625,.2625,.3265625,.6109375,.534375,.7625,.7828125,.2,.4359375,.4359375,.3765625,.5109375,.2796875,.4609375,.2796875,.5296875,.6640625,.253125,.521875,.4765625,.6640625,.490625,.528125,.5546875,.496875,.5421875,.2796875,.2796875,.5625,.4609375,.5625,.4828125,.609375,.740625,.7234375,.740625,.8265625,.7234375,.6171875,.7359375,.765625,.240625,.5453125,.715625,.6078125,.8640625,.653125,.9125,.6484375,.946875,.6921875,.653125,.6953125,.8015625,.58125,.784375,.671875,.6265625,.690625,.4359375,.5296875,.4359375,.53125,.5,.2875,.5375,.603125,.4984375,.60625,.53125,.434375,.6421875,.56875,.209375,.4671875,.5484375,.2203125,.709375,.55,.5984375,.6140625,.5765625,.40625,.4734375,.3734375,.559375,.4421875,.6421875,.4890625,.578125,.4484375,.2546875,.2203125,.2546875,.55],avg:.536496710526316},Geneva:{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.3328125,.3046875,.5,.6671875,.6671875,.90625,.728125,.3046875,.446875,.446875,.5078125,.6671875,.3046875,.3796875,.3046875,.5390625,.6671875,.6671875,.6671875,.6671875,.6671875,.6671875,.6671875,.6671875,.6671875,.6671875,.3046875,.3046875,.6671875,.6671875,.6671875,.56875,.871875,.728125,.6375,.6515625,.7015625,.5765625,.5546875,.675,.690625,.2421875,.4921875,.6640625,.584375,.7890625,.709375,.7359375,.584375,.78125,.60625,.60625,.640625,.6671875,.728125,.946875,.6109375,.6109375,.5765625,.446875,.5390625,.446875,.6671875,.6671875,.5921875,.5546875,.6109375,.546875,.603125,.5765625,.390625,.6109375,.584375,.2359375,.334375,.5390625,.2359375,.8953125,.584375,.60625,.603125,.603125,.3875,.509375,.44375,.584375,.565625,.78125,.53125,.571875,.5546875,.4515625,.246875,.4515625,.6671875],avg:.5762664473684211},Georgia:{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.2421875,.33125,.4125,.64375,.6109375,.81875,.7109375,.215625,.375,.375,.4734375,.64375,.2703125,.375,.2703125,.46875,.6140625,.4296875,.559375,.553125,.565625,.5296875,.5671875,.503125,.596875,.5671875,.3125,.3125,.64375,.64375,.64375,.4796875,.9296875,.715625,.6546875,.6421875,.75,.6546875,.6,.7265625,.815625,.390625,.51875,.7203125,.6046875,.928125,.7671875,.7453125,.6109375,.7453125,.7234375,.5625,.61875,.7578125,.70625,.99375,.7125,.6640625,.6015625,.375,.46875,.375,.64375,.65,.5,.5046875,.56875,.4546875,.575,.484375,.39375,.509375,.5828125,.29375,.3671875,.546875,.2875,.88125,.5921875,.5390625,.571875,.5640625,.4109375,.4328125,.3453125,.5765625,.5203125,.75625,.50625,.5171875,.4453125,.43125,.375,.43125,.64375],avg:.5551809210526316},"Gill Sans":{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.2765625,.271875,.3546875,.584375,.5421875,.6765625,.625,.1890625,.3234375,.3234375,.4171875,.584375,.2203125,.3234375,.2203125,.28125,.5,.5,.5,.5,.5,.5,.5,.5,.5,.5,.2203125,.2296875,.584375,.584375,.584375,.334375,1.0109375,.6671875,.5640625,.709375,.75,.5,.4703125,.740625,.7296875,.25,.3125,.65625,.490625,.78125,.78125,.8234375,.5109375,.8234375,.6046875,.459375,.6046875,.709375,.6046875,1.0421875,.709375,.6046875,.646875,.334375,.28125,.334375,.4703125,.5828125,.334375,.428125,.5,.4390625,.5109375,.4796875,.296875,.428125,.5,.2203125,.2265625,.5,.2203125,.771875,.5,.553125,.5,.5,.3984375,.3859375,.334375,.5,.4390625,.7203125,.5,.4390625,.4171875,.334375,.2609375,.334375,.584375],avg:.4933717105263159},Helvetica:{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.2796875,.2765625,.3546875,.5546875,.5546875,.8890625,.665625,.190625,.3328125,.3328125,.3890625,.5828125,.2765625,.3328125,.2765625,.3015625,.5546875,.5546875,.5546875,.5546875,.5546875,.5546875,.5546875,.5546875,.5546875,.5546875,.2765625,.2765625,.584375,.5828125,.584375,.5546875,1.0140625,.665625,.665625,.721875,.721875,.665625,.609375,.7765625,.721875,.2765625,.5,.665625,.5546875,.8328125,.721875,.7765625,.665625,.7765625,.721875,.665625,.609375,.721875,.665625,.94375,.665625,.665625,.609375,.2765625,.3546875,.2765625,.4765625,.5546875,.3328125,.5546875,.5546875,.5,.5546875,.5546875,.2765625,.5546875,.5546875,.221875,.240625,.5,.221875,.8328125,.5546875,.5546875,.5546875,.5546875,.3328125,.5,.2765625,.5546875,.5,.721875,.5,.5,.5,.3546875,.259375,.353125,.5890625],avg:.5279276315789471},"Helvetica Neue":{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.278125,.259375,.4265625,.55625,.55625,1,.6453125,.278125,.2703125,.26875,.353125,.6,.278125,.3890625,.278125,.36875,.55625,.55625,.55625,.55625,.55625,.55625,.55625,.55625,.55625,.55625,.278125,.278125,.6,.6,.6,.55625,.8,.6625,.6859375,.7234375,.7046875,.6125,.575,.759375,.7234375,.259375,.5203125,.6703125,.55625,.871875,.7234375,.7609375,.6484375,.7609375,.6859375,.6484375,.575,.7234375,.6140625,.9265625,.6125,.6484375,.6125,.259375,.36875,.259375,.6,.5,.25625,.5375,.59375,.5375,.59375,.5375,.2984375,.575,.55625,.2234375,.2375,.5203125,.2234375,.853125,.55625,.575,.59375,.59375,.334375,.5,.315625,.55625,.5,.759375,.51875,.5,.48125,.334375,.2234375,.334375,.6],avg:.5279440789473684},"Hoefler Text":{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.2359375,.2234375,.3921875,.7125,.49375,.8859375,.771875,.2125,.3078125,.309375,.375,.4234375,.234375,.3125,.234375,.3,.5828125,.365625,.434375,.3921875,.5234375,.3984375,.5125,.4328125,.46875,.5125,.234375,.234375,.515625,.4234375,.515625,.340625,.7609375,.7359375,.6359375,.721875,.8125,.6375,.5875,.8078125,.853125,.4296875,.503125,.78125,.609375,.9609375,.8515625,.8140625,.6125,.8140625,.71875,.49375,.7125,.76875,.771875,1.125,.7765625,.7734375,.65625,.321875,.3078125,.321875,.3546875,.5,.3375,.446875,.5359375,.45,.5296875,.4546875,.425,.4921875,.54375,.2671875,.240625,.5390625,.25,.815625,.5375,.5234375,.5390625,.5421875,.365625,.36875,.35625,.5171875,.5015625,.75,.5,.509375,.44375,.2421875,.14375,.2421875,.35],avg:.5116447368421051},Montserrat:{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.2625,.2609375,.3734375,.696875,.615625,.8296875,.6703125,.203125,.3296875,.3296875,.3875,.575,.2125,.3828125,.2125,.3953125,.6625,.3625,.56875,.5640625,.6625,.5671875,.609375,.5890625,.6390625,.609375,.2125,.2125,.575,.575,.575,.5671875,1.034375,.7171875,.7546875,.7203125,.8265625,.6703125,.634375,.7734375,.8140625,.303125,.5078125,.7125,.5890625,.95625,.8140625,.8390625,.71875,.8390625,.7234375,.615625,.575,.7921875,.6984375,1.1125,.65625,.6359375,.6515625,.31875,.396875,.31875,.5765625,.5,.6,.590625,.678125,.5640625,.678125,.6046875,.375,.6875,.678125,.2703125,.365625,.6015625,.2703125,1.0625,.678125,.628125,.678125,.678125,.4015625,.4890625,.40625,.6734375,.5421875,.8796875,.534375,.5671875,.5125,.334375,.2953125,.334375,.575],avg:.571792763157895},monospace:{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.5984375,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6078125,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.61875,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.615625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6140625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625],avg:.6020559210526316},Overpass:{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.2296875,.2765625,.4203125,.68125,.584375,.8515625,.7015625,.2203125,.3453125,.3453125,.53125,.63125,.2234375,.3953125,.2234375,.509375,.65,.4046875,.6171875,.60625,.6484375,.60625,.6015625,.5375,.615625,.6015625,.2234375,.2234375,.63125,.63125,.63125,.5015625,.8203125,.696875,.6671875,.65,.6859375,.6015625,.559375,.690625,.7078125,.2953125,.565625,.678125,.58125,.8046875,.7109375,.740625,.6421875,.740625,.6765625,.6046875,.590625,.696875,.6640625,.853125,.65,.6671875,.6625,.3734375,.509375,.3734375,.63125,.5125,.4,.5328125,.5625,.51875,.5625,.546875,.3359375,.5625,.565625,.25625,.3203125,.55,.265625,.85,.565625,.5671875,.5625,.5625,.4046875,.4765625,.3796875,.565625,.521875,.7265625,.53125,.5390625,.5125,.3671875,.275,.3671875,.63125],avg:.5430756578947369},Palatino:{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.25,.278125,.371875,.60625,.5,.840625,.778125,.209375,.334375,.334375,.390625,.60625,.2578125,.334375,.25,.60625,.5,.5,.5,.5,.5,.5,.5,.5,.5,.5,.25,.25,.60625,.60625,.60625,.4453125,.7484375,.778125,.6109375,.709375,.775,.6109375,.55625,.7640625,.8328125,.3375,.346875,.7265625,.6109375,.946875,.83125,.7875,.6046875,.7875,.66875,.525,.6140625,.778125,.7234375,1,.6671875,.6671875,.6671875,.334375,.60625,.334375,.60625,.5,.334375,.5,.565625,.4453125,.6109375,.4796875,.340625,.55625,.5828125,.2921875,.2671875,.5640625,.2921875,.8828125,.5828125,.546875,.6015625,.5609375,.3953125,.425,.3265625,.603125,.565625,.834375,.5171875,.55625,.5,.334375,.60625,.334375,.60625],avg:.5408552631578947},RedHatText:{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.2328125,.2203125,.35625,.6890625,.55,.7390625,.6703125,.2140625,.4015625,.4015625,.4546875,.53125,.2203125,.45625,.2203125,.515625,.6609375,.3078125,.5484375,.5875,.61875,.5703125,.6203125,.559375,.6140625,.6203125,.2203125,.2234375,.465625,.534375,.465625,.5125,.7671875,.6609375,.6703125,.7265625,.728125,.6203125,.6109375,.8,.73125,.253125,.6,.6125,.6078125,.8625,.7390625,.8109375,.6546875,.809375,.6484375,.6234375,.6171875,.7125,.6609375,.8984375,.6546875,.646875,.60625,.3625,.5203125,.3625,.540625,.4609375,.5234375,.5265625,.584375,.509375,.5828125,.5578125,.3703125,.5828125,.553125,.2234375,.24375,.4890625,.2234375,.8453125,.553125,.58125,.584375,.5828125,.353125,.453125,.378125,.553125,.5015625,.6984375,.4875,.4984375,.459375,.3953125,.2921875,.3953125,.58125],avg:.5341940789473685},"sans-serif":{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.278125,.278125,.35625,.55625,.55625,.890625,.6671875,.1921875,.334375,.334375,.390625,.584375,.278125,.334375,.278125,.303125,.55625,.55625,.55625,.55625,.55625,.55625,.55625,.55625,.55625,.55625,.278125,.278125,.5859375,.584375,.5859375,.55625,1.015625,.6671875,.6671875,.7234375,.7234375,.6671875,.6109375,.778125,.7234375,.278125,.5,.6671875,.55625,.834375,.7234375,.778125,.6671875,.778125,.7234375,.6671875,.6109375,.7234375,.6671875,.9453125,.6671875,.6671875,.6109375,.278125,.35625,.278125,.478125,.55625,.334375,.55625,.55625,.5,.55625,.55625,.278125,.55625,.55625,.2234375,.2421875,.5,.2234375,.834375,.55625,.55625,.55625,.55625,.334375,.5,.278125,.55625,.5,.7234375,.5,.5,.5,.35625,.2609375,.3546875,.590625],avg:.5293256578947368},Seravek:{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.215625,.296875,.4171875,.6734375,.4953125,.9125,.740625,.2421875,.3375,.3375,.409375,.60625,.2609375,.35625,.25625,.41875,.5921875,.3515625,.475,.4875,.5375,.509375,.5484375,.4546875,.5421875,.5484375,.25625,.2546875,.5875,.6171875,.5875,.4578125,.8140625,.6765625,.5703125,.6109375,.684375,.5109375,.4953125,.678125,.6859375,.2625,.2625,.5859375,.4734375,.846875,.709375,.740625,.509375,.740625,.584375,.5015625,.528125,.675,.5953125,.9453125,.596875,.540625,.540625,.359375,.4203125,.359375,.5109375,.421875,.4046875,.5015625,.5421875,.446875,.5453125,.484375,.38125,.5140625,.5546875,.240625,.2640625,.490625,.2765625,.8625,.5546875,.546875,.5453125,.5453125,.3625,.41875,.3890625,.5453125,.4703125,.7546875,.4921875,.4609375,.453125,.4015625,.2640625,.4015625,.58125],avg:.5044078947368421},serif:{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.2484375,.334375,.409375,.5,.5,.834375,.778125,.18125,.334375,.334375,.5,.5640625,.25,.334375,.25,.278125,.5,.5,.5,.5,.5,.5,.5,.5,.5,.5,.278125,.278125,.5640625,.5640625,.5640625,.4453125,.921875,.7234375,.6671875,.6671875,.7234375,.6109375,.55625,.7234375,.7234375,.334375,.390625,.7234375,.6109375,.890625,.7234375,.7234375,.55625,.7234375,.6671875,.55625,.6109375,.7234375,.7234375,.9453125,.7234375,.7234375,.6109375,.334375,.340625,.334375,.4703125,.5,.3453125,.4453125,.5,.4453125,.5,.4453125,.3828125,.5,.5,.278125,.3359375,.5,.278125,.778125,.5,.5,.5,.5,.3375,.390625,.2796875,.5,.5,.7234375,.5,.5,.4453125,.48125,.2015625,.48125,.5421875],avg:.5126315789473684},Tahoma:{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.3109375,.3328125,.4015625,.728125,.546875,.9765625,.70625,.2109375,.3828125,.3828125,.546875,.728125,.303125,.3640625,.303125,.3953125,.546875,.546875,.546875,.546875,.546875,.546875,.546875,.546875,.546875,.546875,.3546875,.3546875,.728125,.728125,.728125,.475,.909375,.6109375,.590625,.6015625,.6796875,.5625,.521875,.66875,.6765625,.3734375,.4171875,.6046875,.4984375,.771875,.66875,.7078125,.5515625,.7078125,.6375,.5578125,.5875,.65625,.60625,.903125,.58125,.5890625,.559375,.3828125,.39375,.3828125,.728125,.5625,.546875,.525,.553125,.4625,.553125,.5265625,.3546875,.553125,.5578125,.2296875,.328125,.51875,.2296875,.840625,.5578125,.54375,.553125,.553125,.3609375,.446875,.3359375,.5578125,.4984375,.7421875,.4953125,.4984375,.4453125,.48125,.3828125,.48125,.728125],avg:.5384374999999998},"Times New Roman":{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.2484375,.334375,.409375,.5,.5,.834375,.778125,.18125,.334375,.334375,.5,.5640625,.25,.334375,.25,.28125,.5,.5,.5,.5,.5,.5,.5,.5,.5,.5,.278125,.278125,.5640625,.5640625,.5640625,.4453125,.921875,.7234375,.6671875,.6671875,.7234375,.6109375,.55625,.7234375,.7234375,.334375,.390625,.73125,.6109375,.890625,.7375,.7234375,.55625,.7234375,.6765625,.55625,.6109375,.7234375,.7234375,.9453125,.7234375,.7234375,.6109375,.334375,.28125,.334375,.4703125,.51875,.334375,.4453125,.503125,.4453125,.503125,.4453125,.4359375,.5,.5,.278125,.35625,.50625,.278125,.778125,.5,.5,.5046875,.5,.340625,.390625,.2796875,.5,.5,.7234375,.5,.5,.4453125,.48125,.2015625,.48125,.5421875],avg:.5134375},"Trebuchet MS":{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.3015625,.3671875,.325,.53125,.525,.6015625,.70625,.1609375,.3671875,.3671875,.3671875,.525,.3671875,.3671875,.3671875,.525,.525,.525,.525,.525,.525,.525,.525,.525,.525,.525,.3671875,.3671875,.525,.525,.525,.3671875,.771875,.590625,.5671875,.5984375,.6140625,.5359375,.525,.6765625,.6546875,.2796875,.4765625,.5765625,.5078125,.7109375,.6390625,.675,.5578125,.7421875,.5828125,.48125,.58125,.6484375,.5875,.853125,.5578125,.5703125,.5515625,.3671875,.3578125,.3671875,.525,.53125,.525,.5265625,.5578125,.4953125,.5578125,.546875,.375,.503125,.546875,.2859375,.3671875,.5046875,.2953125,.83125,.546875,.5375,.5578125,.5578125,.3890625,.40625,.396875,.546875,.490625,.7453125,.5015625,.49375,.475,.3671875,.525,.3671875,.525],avg:.5085197368421052},Verdana:{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.35,.39375,.459375,.81875,.6359375,1.0765625,.759375,.26875,.4546875,.4546875,.6359375,.81875,.3640625,.4546875,.3640625,.4703125,.6359375,.6359375,.6359375,.6359375,.6359375,.6359375,.6359375,.6359375,.6359375,.6359375,.4546875,.4546875,.81875,.81875,.81875,.546875,1,.684375,.6859375,.6984375,.771875,.6328125,.575,.7765625,.7515625,.421875,.4546875,.69375,.5578125,.84375,.7484375,.7875,.603125,.7875,.7,.684375,.6171875,.7328125,.684375,.9890625,.6859375,.615625,.6859375,.4546875,.46875,.4546875,.81875,.6421875,.6359375,.6015625,.6234375,.521875,.6234375,.596875,.384375,.6234375,.6328125,.275,.3765625,.5921875,.275,.9734375,.6328125,.6078125,.6234375,.6234375,.43125,.521875,.3953125,.6328125,.5921875,.81875,.5921875,.5921875,.5265625,.6359375,.4546875,.6359375,.81875],avg:.6171875000000003}},Vt={mm:3.8,sm:38,pt:1.33,pc:16,in:96,px:1},Gt={em:1,ex:.5},$t={lineHeight:1,letterSpacing:"0px",fontSize:0,angle:0,fontFamily:""},Kt=function(t){return Array.isArray(t)?t:t.toString().split(/\r\n|\r|\n/g)},qt=function(t,e,r){var n=function(t){return t*Math.PI/180}(r);return Math.abs(Math.cos(n)*t)+Math.abs(Math.sin(n)*e)},Zt=function(t,e){var r,n=null===(r=t.match(/[a-zA-Z%]+/))||void 0===r?void 0:r[0],o=Number(t.match(/[0-9.,]+/));return n?Vt.hasOwnProperty(n)?o*Vt[n]:Gt.hasOwnProperty(n)?(e?o*e:o*$t.fontSize)*Gt[n]:o:o||0},Xt=function(t,e){var r=Array.isArray(t)?t[e]:t,n=h()({},r,$t);return Object.assign({},n,{fontFamily:n.fontFamily,letterSpacing:"number"==typeof n.letterSpacing?n.letterSpacing:Zt(String(n.letterSpacing),n.fontSize),fontSize:"number"==typeof n.fontSize?n.fontSize:Zt(String(n.fontSize))})},Yt=function(t,e){if(void 0===t||""===t||null===t)return 0;var r,n=Kt(t).map((function(t,r){var n,o,i=t.toString().length,a=Xt(e,r),u=a.fontSize,c=a.letterSpacing,l=(n=a.fontFamily,o=n.split(",").map((function(t){return t.replace(/'|"/g,"")})).find((function(t){return Ut[t]}))||"Helvetica",Ut[o]);return t.toString().split("").map((function(t){return t.charCodeAt(0)<l.widths.length?l.widths[t.charCodeAt(0)]:l.avg})).reduce((function(t,e){return e+t}),0)*u+c*Math.max(i-1,0)}));return Math.max.apply(Math,function(t){if(Array.isArray(t))return Wt(t)}(r=n)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(r)||Lt(r)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}())},Jt=function(t,e){var r=Array.isArray(e)?e[0]&&e[0].angle:e&&e.angle,n=function(t,e){return void 0===t||""===t||null===t?0:Kt(t).reduce((function(t,r,n){var o=Xt(e,n),i=r.toString().match(/[(A-Z)(0-9)]/)?1.15*o.fontSize:o.fontSize;return t+o.lineHeight*i}),0)}(t,e),o=Yt(t,e);return{width:r?qt(o,n,r):o,height:1.05*(r?qt(n,o,r):n)}},Qt=Ft()((function(){var t=document.createElementNS("http://www.w3.org/2000/svg","svg");t.setAttribute("xlink","http://www.w3.org/1999/xlink"),t.setAttribute("width","300"),t.setAttribute("height","300"),t.setAttribute("viewBox","0 0 300 300"),t.setAttribute("aria-hidden","true");var e=document.createElementNS("http://www.w3.org/2000/svg","text");return t.appendChild(e),t.style.position="fixed",t.style.top="-9999px",t.style.left="-9999px",document.body.appendChild(t),e})),te=function(t){return t?"".concat(t.angle,":").concat(t.fontFamily,":").concat(t.fontSize,":").concat(t.letterSpacing,":").concat(t.lineHeight):"null"},ee=Ft()((function(t,e){var r,n,o=Qt();o.isConnected||(null===(r=(n=Qt.cache).clear)||void 0===r||r.call(n),o=Qt());var i=Kt(t),a=0;for(var u of i.entries()){var c=Bt(u,2),l=c[0],f=c[1],s=document.createElementNS("http://www.w3.org/2000/svg","tspan"),p=Xt(e,l);s.style.fontFamily=p.fontFamily,s.style.fontSize="".concat(p.fontSize,"px"),s.style.lineHeight=p.lineHeight,s.style.fontFamily=p.fontFamily,s.style.letterSpacing=p.letterSpacing,s.textContent=f,s.setAttribute("x","0"),s.setAttribute("y","".concat(a)),o.appendChild(s),a+=p.lineHeight*s.getBoundingClientRect().height}var d=o.getBoundingClientRect().width;return o.innerHTML="",{width:null!=e&&e.angle?qt(d,a,null==e?void 0:e.angle):d,height:null!=e&&e.angle?qt(a,d,null==e?void 0:e.angle):a}}),(function(t,e){var r=Array.isArray(t)?t.join():t,n=Array.isArray(e)?e.map(te).join():te(e);return"".concat(r,"::").concat(n)})),re=function(t,e){return function(t,e){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return"undefined"==typeof window||void 0===window.document||void 0===window.document.createElement||r?Jt(t,e):ee(t,e)}(t,e)};function ne(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function oe(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?ne(Object(r),!0).forEach((function(e){ie(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):ne(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function ie(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function ae(t){return function(t){if(Array.isArray(t))return ue(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(t){if("string"==typeof t)return ue(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?ue(t,e):void 0}}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function ue(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}var ce={fill:"#252525",fontSize:14,fontFamily:"'Gill Sans', 'Gill Sans MT', 'Seravek', 'Trebuchet MS', sans-serif",stroke:"transparent"},le=function(t,e){if(!t.datum)return 0;var r=function(t,e){var r=t.scale,n=t.polar,o=t.horizontal,i=w(e),a=t.origin||{x:0,y:0},u=o?r.y(i.y):r.x(i.x),c=o?r.y(i.y0):r.x(i.x0),l=o?r.x(i.x):r.y(i.y),f=o?r.x(i.x0):r.y(i.y0);return{x:n?l*Math.cos(u)+a.x:u,x0:n?f*Math.cos(c)+a.x:c,y:n?-l*Math.sin(u)+a.y:l,y0:n?-f*Math.sin(c)+a.x:f}}(t,t.datum);return r[e]},fe=function(t){var e=t&&t.fontSize;if("number"==typeof e)return e;if(null==e)return ce.fontSize;if("string"==typeof e){var r=Number(e.replace("px",""));return isNaN(r)?ce.fontSize:r}return ce.fontSize},se=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return Array.isArray(t)?t[e]||t[0]:t},pe=function(t){var e=t.backgroundStyle,r=t.backgroundPadding;return Array.isArray(e)&&!bt()(e)||Array.isArray(r)&&!bt()(r)},de=function(t,e,r){var n=t.polar,o=se(t.style),i=n?function(t,e){var r=t.labelPlacement,n=t.datum;if(!r||"vertical"===r)return 0;var o=function(t,e){var r,n=w(e).x;return("number"==typeof(r=t.scale.x(n))?r/(Math.PI/180):r)%360}(t,n),i=0;return 0===o||180===o?i=90:o>0&&o<180?i=90-o:o>180&&o<360&&(i=270-o),i+(o>90&&o<180||o>270?1:-1)*("perpendicular"===r?0:90)}(t):0,a=void 0===o.angle?P(t.angle,t):o.angle,u=void 0===a?i:a,c=t.transform||o.transform,l=c&&P(c,t);return l||u?Ht(l,u&&{rotate:[u,e,r]}):void 0},ye=function(t,e){var r=t.direction,n=t.textAnchor,o=t.x,i=t.dx;if("rtl"===r)return o-e;switch(n){case"middle":return Math.round(o-e/2);case"end":return Math.round(o-e);default:return o+(i||0)}},ve=function(t,e){var r=t.verticalAnchor,n=t.y,o=t.originalDy,i=n+(void 0===o?0:o);switch(r){case"start":return Math.floor(i);case"end":return Math.ceil(i-e);default:return Math.floor(i-e/2)}},he=function(t,e){return pe(t)?function(t,e){var r=t.dy,n=t.dx,o=t.transform,i=t.backgroundStyle,a=t.backgroundPadding,u=t.backgroundComponent,c=t.inline,l=t.y,f=e.map((function(t,o){var i=se(e,o-1),u=t.textSize,f=t.fontSize*t.lineHeight,s=Math.ceil(f),p=se(a,o),d=se(a,o-1),y=c&&n||0,v=o&&!c?i.fontSize*i.lineHeight+d.top+d.bottom:r-.5*f-(t.fontSize-t.capHeight);return{textHeight:s,labelSize:u,heightWithPadding:s+p.top+p.bottom,widthWithPadding:u.width+p.left+p.right+y,y:l,fontSize:t.fontSize,dy:v}}));return f.map((function(e,r){var n=ye(t,e.labelSize.width),s=f.slice(0,r+1).reduce((function(t,e){return t+e.dy}),l),p=se(a,r),d=e.heightWithPadding,y=c?function(t,e,r){var n=t.textAnchor,o=e.map((function(t){return t.widthWithPadding})),i=-o.reduce((function(t,e){return t+e}),0)/2;switch(n){case"start":return o.reduce((function(t,e,n){return n<r?t+e:t}),0);case"end":return o.reduce((function(t,e,n){return n>r?t-e:t}),0);default:return o.reduce((function(t,e,n){return n===r?t+e/2:t+(n<r?e:0)}),i)}}(t,f,r)+n-p.left:n,v=c?ve(t,d)-p.top:s,b={key:"tspan-background-".concat(r),height:d,style:se(i,r),width:e.widthWithPadding,transform:o,x:y-p.left,y:v};return g().cloneElement(u,h()({},u.props,b))}))}(t,e):function(t,e){var r=t.dx,n=void 0===r?0:r,o=t.transform,i=t.backgroundComponent,a=t.backgroundStyle,u=t.inline,c=t.backgroundPadding,l=t.capHeight,f=e.map((function(t){return t.textSize})),s=u?Math.max.apply(Math,ae(f.map((function(t){return t.height})))):f.reduce((function(t,r,n){var o=n?0:l/2;return t+r.height*(e[n].lineHeight-o)}),0),p=u?f.reduce((function(t,e,r){var o=r?n:0;return t+e.width+o}),0):Math.max.apply(Math,ae(f.map((function(t){return t.width})))),d=ye(t,p),y=ve(t,s),v={key:"background",height:s+c.top+c.bottom,style:a,transform:o,width:p+c.left+c.right,x:u?d-c.left:d+n-c.left,y};return g().cloneElement(i,h()({},i.props,v))}(t,e)},be=function(t,e,r){var n=e.inline,o=se(t,r);return r&&!n?function(t,e,r){var n=se(t,e),o=se(t,e-1),i=o.fontSize*o.lineHeight,a=n.fontSize*n.lineHeight,u=o.fontSize-o.capHeight,c=n.fontSize-n.capHeight,l=i-o.fontSize/2+n.fontSize/2-i/2+a/2-c/2+u/2;return pe(r)?l+n.backgroundPadding.top+o.backgroundPadding.bottom:l}(t,r,e):n?0===r?o.backgroundPadding.top:void 0:o.backgroundPadding.top},ge={backgroundComponent:g().createElement(kt,null),groupComponent:g().createElement("g",null),direction:"inherit",textComponent:g().createElement(It,null),tspanComponent:g().createElement(zt,null),capHeight:.71,lineHeight:1},me=function(t){var e=function(t){var e=function(t,e){if(null!=t){if(Array.isArray(t))return t.map((function(t){return P(t,e)}));var r=P(t,e);if(null!=r)return Array.isArray(r)?r:"".concat(r).split("\n")}}(t.text,t),r=function(t,e){if(e.disableInlineStyles){var r=S(t,e);return{fontSize:fe(r)}}var n=function(t){var r=S(t?h()({},t,ce):ce,e);return Object.assign({},r,{fontSize:fe(r)})};return Array.isArray(t)&&!bt()(t)?t.map((function(t){return n(t)})):n(t)}(t.style,Object.assign({},t,{text:e})),n=function(t,e){if(t)return Array.isArray(t)&&!bt()(t)?t.map((function(t){return S(t,e)})):S(t,e)}(t.backgroundStyle,Object.assign({},t,{text:e,style:r})),o=function(t){return t.backgroundPadding&&Array.isArray(t.backgroundPadding)?t.backgroundPadding.map((function(e){return j({padding:P(e,t)})})):j({padding:P(t.backgroundPadding,t)})}(Object.assign({},t,{text:e,style:r,backgroundStyle:n})),i=P(t.id,t);return Object.assign({},t,{backgroundStyle:n,backgroundPadding:o,style:r,text:e,id:i})}(oe(oe({},ge),t));if(null===e.text||void 0===e.text)return null;var r=function(t){var e=P(t.ariaLabel,t),r=se(t.style),n=function(t){var e=P(t.lineHeight,t);return Array.isArray(e)&&bt()(e)?[1]:e}(t),o=t.direction?P(t.direction,t):"inherit",i=t.textAnchor?P(t.textAnchor,t):r.textAnchor||"start",a=t.verticalAnchor?P(t.verticalAnchor,t):r.verticalAnchor||"middle",u=t.dx?P(t.dx,t):0,c=function(t,e,r){var n=t.dy?P(t.dy,t):0,o=t.inline?1:t.text.length,i=P(t.capHeight,t),a=e?P(e,t):"middle",u=ae(Array(o).keys()).map((function(e){return se(t.style,e).fontSize})),c=ae(Array(o).keys()).map((function(t){return se(r,t)}));if("start"===a)return n+(i/2+c[0]/2)*u[0];if(t.inline)return"end"===a?n+(i/2-c[0]/2)*u[0]:n+i/2*u[0];if(1===o)return"end"===a?n+(i/2+(.5-o)*c[0])*u[0]:n+(i/2+(.5-o/2)*c[0])*u[0];var l=ae(Array(o).keys()).reduce((function(t,e){return t+(i/2+(.5-o)*c[e])*u[e]/o}),0);return"end"===a?n+l:n+l/2+i/2*c[o-1]*u[o-1]}(t,a,n),l=void 0!==t.x?t.x:le(t,"x"),f=void 0!==t.y?t.y:le(t,"y"),s=de(t,l,f);return Object.assign({},t,{ariaLabel:e,lineHeight:n,direction:o,textAnchor:i,verticalAnchor:a,dx:u,dy:c,originalDy:P(t.dy,t),transform:s,x:l,y:f})}(e),n=r.text,o=r.style,i=r.capHeight,a=r.backgroundPadding,u=r.lineHeight,c=n.map((function(t,e){var r=se(o,e),n=Zt("".concat(i,"em"),r.fontSize),c=se(u,e);return{style:r,fontSize:r.fontSize||ce.fontSize,capHeight:n,text:t,textSize:re(t,r),lineHeight:c,backgroundPadding:se(a,e)}})),l=function(t,e){var r=t.ariaLabel,n=t.inline,o=t.className,i=t.title,a=t.events,u=t.direction,c=t.text,l=t.textAnchor,f=t.dx,s=t.dy,p=t.transform,d=t.x,y=t.y,v=t.desc,h=t.id,b=t.tabIndex,m=t.tspanComponent,O=t.textComponent,x=at(t),w=oe(oe({"aria-label":r,key:"text"},a),{},{direction:u,dx:f,x:d,y:y+s,transform:p,className:o,title:i,desc:P(v,t),tabIndex:P(b,t),id:h},x),j=c.map((function(r,o){var i=e[o].style,a={key:"".concat(h,"-key-").concat(o),x:n?void 0:d,dx:n?f+e[o].backgroundPadding.left:f,dy:be(e,t,o),textAnchor:i.textAnchor||l,style:i,children:r};return g().cloneElement(m,a)}));return g().cloneElement(O,w,j)}(r,c);if(e.backgroundStyle){var f=[he(r,c),l],s=g().cloneElement(e.groupComponent,{},f);return e.renderInPortal?g().createElement(jt,null,s):s}return e.renderInPortal?g().createElement(jt,null,l):l};me.displayName="VictoryLabel",me.role="label",me.defaultStyles=ce;var Oe=["desc","id","tabIndex","origin"];function xe(){return xe=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},xe.apply(this,arguments)}function we(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function je(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var Pe=(0,b.forwardRef)((function(t,e){var r,n=t.desc,o=t.id,i=t.tabIndex,a=(t.origin,function(t,e){if(null==t)return{};var r,n,o=function(t,e){if(null==t)return{};var r,n,o={},i=Object.keys(t);for(n=0;n<i.length;n++)r=i[n],e.indexOf(r)>=0||(o[r]=t[r]);return o}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(n=0;n<i.length;n++)r=i[n],e.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}(t,Oe)),u=function(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?we(Object(r),!0).forEach((function(e){je(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):we(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}({vectorEffect:"non-scaling-stroke",id:null===(r=P(o,t))||void 0===r?void 0:r.toString(),tabIndex:P(i,t)},a);return n?g().createElement("line",xe({},u,{ref:e}),g().createElement("desc",null,n)):g().createElement("line",xe({},u,{ref:e}))}));function Se(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Ae(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?Se(Object(r),!0).forEach((function(e){Ee(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Se(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function Ee(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var ke={lineComponent:g().createElement(Pe,null),role:"presentation",shapeRendering:"auto"},_e=function(t){var e=function(t){var e=P(t.ariaLabel,t),r=P(t.desc,t),n=P(t.id,t),o=S(Object.assign({stroke:"black"},t.style),t),i=P(t.tabIndex,t);return Object.assign({},t,{ariaLabel:e,desc:r,id:n,style:o,tabIndex:i})}(Ae(Ae({},ke),t));return g().cloneElement(e.lineComponent,Ae(Ae({},e.events),{},{"aria-label":e.ariaLabel,style:e.style,desc:e.desc,tabIndex:e.tabIndex,className:e.className,role:e.role,shapeRendering:e.shapeRendering,x1:e.x1,x2:e.x2,y1:e.y1,y2:e.y2,transform:e.transform,clipPath:e.clipPath}))};function Ce(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Me(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?Ce(Object(r),!0).forEach((function(e){De(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Ce(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function Ie(t){return function(t){if(Array.isArray(t))return Re(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(t){if("string"==typeof t)return Re(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Re(t,e):void 0}}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Re(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function De(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function Te(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ze(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function He(t,e){return He=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},He(t,e)}function Ne(t,e){if(e&&("object"==typeof e||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}function Fe(t){return Fe=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},Fe(t)}function Be(t){var e;return e=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&He(t,e)}(a,t);var e,r,n,o,i=(n=a,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}(),function(){var t,e=Fe(n);if(o){var r=Fe(this).constructor;t=Reflect.construct(e,arguments,r)}else t=e.apply(this,arguments);return Ne(this,t)});function a(){return Te(this,a),i.apply(this,arguments)}return e=a,(r=[{key:"getCursorPosition",value:function(t){var e=t.cursorValue,r=t.defaultCursorValue,n=t.domain,o=t.cursorDimension;return e||("number"==typeof r?De({x:(n.x[0]+n.x[1])/2,y:(n.y[0]+n.y[1])/2},o,r):r)}},{key:"getCursorLabelOffset",value:function(t){var e=t.cursorLabelOffset;return"number"==typeof e?{x:e,y:e}:e}},{key:"getPadding",value:function(t){return void 0===t.padding?j(t.children.find((function(t){return y()(t.props)&&void 0!==t.props.padding})).props):j(t)}},{key:"getCursorElements",value:function(t){var e=t.scale,r=t.cursorLabelComponent,n=t.cursorLabel,o=t.cursorComponent,i=t.width,a=t.height,u=t.name,c=t.horizontal,l=t.theme,f=p.getDimension(t),s=this.getCursorPosition(t),d=this.getCursorLabelOffset(t);if(!s)return[];var y,v=[],b=this.getPadding(t),m={x:c?e.y(s.y):e.x(s.x),y:c?e.x(s.x):e.y(s.y)};if(n){var O=h()({active:!0},r.props,{x:m.x+d.x,y:m.y+d.y,datum:s,active:!0,key:"".concat(u,"-cursor-label")});if("tooltip"===((y=r)&&y.type&&y.type.role)){var x=l&&l.tooltip||{};O=h()({},O,x)}v.push(g().cloneElement(r,h()({},O,{text:P(n,O)})))}var w=Object.assign({stroke:"black"},o.props.style);return"x"!==f&&void 0!==f||v.push(g().cloneElement(o,{key:"".concat(u,"-x-cursor"),x1:m.x,x2:m.x,y1:b.top,y2:a-b.bottom,style:w})),"y"!==f&&void 0!==f||v.push(g().cloneElement(o,{key:"".concat(u,"-y-cursor"),x1:b.left,x2:i-b.right,y1:m.y,y2:m.y,style:w})),v}},{key:"getChildren",value:function(t){return[].concat(Ie(g().Children.toArray(t.children)),Ie(this.getCursorElements(t)))}}])&&ze(e.prototype,r),Object.defineProperty(e,"prototype",{writable:!1}),a}(t),e.displayName="VictoryCursorContainer",e.defaultProps=Me(Me({},vt.defaultProps),{},{cursorLabelComponent:g().createElement(me,null),cursorLabelOffset:{x:5,y:-10},cursorComponent:g().createElement(_e,null)}),e.defaultEvents=function(t){return[{target:"parent",eventHandlers:{onMouseLeave:function(e,r){return t.disable?{}:p.onMouseLeave(e,r)},onTouchCancel:function(){return[]},onMouseMove:function(e,r){return t.disable?{}:p.onMouseMove(e,r)},onTouchMove:function(e,r){return t.disable?{}:p.onMouseMove(e,r)}}}]},e}var Le=Be(vt)})(),o})()));
|
|
1
|
+
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(require("react")):"function"==typeof define&&define.amd?define(["react"],e):"object"==typeof exports?exports.VictoryCursorContainer=e(require("react")):t.VictoryCursorContainer=e(t.React)}(self,(function(t){return function(){var e={503:function(t,e,n){var r=n(1171),o=n(7838),i=n(4859),a=n(4073),s=n(8541);function c(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}c.prototype.clear=r,c.prototype.delete=o,c.prototype.get=i,c.prototype.has=a,c.prototype.set=s,t.exports=c},3273:function(t,e,n){var r=n(163);t.exports=function(){if(!arguments.length)return[];var t=arguments[0];return r(t)?t:[t]}},8708:function(t,e,n){var r=n(1171),o=n(7838),i=n(4859),a=n(4073),s=n(8541);function c(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}c.prototype.clear=r,c.prototype.delete=o,c.prototype.get=i,c.prototype.has=a,c.prototype.set=s,t.exports=c},2596:function(t,e,n){var r=n(2373).Symbol;t.exports=r},6082:function(t){t.exports=function(t,e,n){switch(n.length){case 0:return t.call(e);case 1:return t.call(e,n[0]);case 2:return t.call(e,n[0],n[1]);case 3:return t.call(e,n[0],n[1],n[2])}return t.apply(e,n)}},8644:function(t){t.exports=function(t,e){for(var n=-1,r=null==t?0:t.length,o=Array(r);++n<r;)o[n]=e(t[n],n,t);return o}},9559:function(t){t.exports=function(t,e){for(var n=-1,r=e.length,o=t.length;++n<r;)t[o+n]=e[n];return t}},1634:function(t){t.exports=function(t,e){for(var n=-1,r=null==t?0:t.length;++n<r;)if(e(t[n],n,t))return!0;return!1}},4132:function(t,e,n){var r=n(8347),o=n(788),i=Object.prototype.hasOwnProperty;t.exports=function(t,e,n){var a=t[e];i.call(t,e)&&o(a,n)&&(void 0!==n||e in t)||r(t,e,n)}},3162:function(t,e,n){var r=n(788);t.exports=function(t,e){for(var n=t.length;n--;)if(r(t[n][0],e))return n;return-1}},8347:function(t,e,n){var r=n(5525);t.exports=function(t,e,n){"__proto__"==e&&r?r(t,e,{configurable:!0,enumerable:!0,value:n,writable:!0}):t[e]=n}},6457:function(t,e,n){var r=n(9559),o=n(3608);t.exports=function t(e,n,i,a,s){var c=-1,u=e.length;for(i||(i=o),s||(s=[]);++c<u;){var l=e[c];n>0&&i(l)?n>1?t(l,n-1,i,a,s):r(s,l):a||(s[s.length]=l)}return s}},320:function(t,e,n){var r=n(4710)();t.exports=r},2446:function(t,e,n){var r=n(320),o=n(7747);t.exports=function(t,e){return t&&r(t,e,o)}},4432:function(t,e,n){var r=n(9026),o=n(3110);t.exports=function(t,e){for(var n=0,i=(e=r(e,t)).length;null!=t&&n<i;)t=t[o(e[n++])];return n&&n==i?t:void 0}},563:function(t){var e=Object.prototype.toString;t.exports=function(t){return e.call(t)}},6776:function(t){t.exports=function(t,e){return null!=t&&e in Object(t)}},6123:function(t){t.exports=function(t,e,n){for(var r=n-1,o=t.length;++r<o;)if(t[r]===e)return r;return-1}},9070:function(t,e,n){var r=n(7028),o=n(3474);t.exports=function t(e,n,i,a,s){return e===n||(null==e||null==n||!o(e)&&!o(n)?e!=e&&n!=n:r(e,n,i,a,t,s))}},7028:function(t,e,n){var r=n(8708),o=n(8705),i=n(2813),a=n(6682),s=n(9667),c=n(163),u=n(4801),l=n(4289),f="[object Arguments]",p="[object Array]",d="[object Object]",h=Object.prototype.hasOwnProperty;t.exports=function(t,e,n,v,g,y){var x=c(t),m=c(e),b=x?p:s(t),w=m?p:s(e),S=(b=b==f?d:b)==d,A=(w=w==f?d:w)==d,j=b==w;if(j&&u(t)){if(!u(e))return!1;x=!0,S=!1}if(j&&!S)return y||(y=new r),x||l(t)?o(t,e,n,v,g,y):i(t,e,b,n,v,g,y);if(!(1&n)){var C=S&&h.call(t,"__wrapped__"),O=A&&h.call(e,"__wrapped__");if(C||O){var E=C?t.value():t,P=O?e.value():e;return y||(y=new r),g(E,P,n,v,y)}}return!!j&&(y||(y=new r),a(t,e,n,v,g,y))}},9548:function(t,e,n){var r=n(8708),o=n(9070);t.exports=function(t,e,n,i){var a=n.length,s=a,c=!i;if(null==t)return!s;for(t=Object(t);a--;){var u=n[a];if(c&&u[2]?u[1]!==t[u[0]]:!(u[0]in t))return!1}for(;++a<s;){var l=(u=n[a])[0],f=t[l],p=u[1];if(c&&u[2]){if(void 0===f&&!(l in t))return!1}else{var d=new r;if(i)var h=i(f,p,l,t,e,d);if(!(void 0===h?o(p,f,3,i,d):h))return!1}}return!0}},3472:function(t,e,n){var r=n(758),o=n(5223),i=n(5346),a=n(163),s=n(8532);t.exports=function(t){return"function"==typeof t?t:null==t?i:"object"==typeof t?a(t)?o(t[0],t[1]):r(t):s(t)}},7190:function(t,e,n){var r=n(5125)(Object.keys,Object);t.exports=r},758:function(t,e,n){var r=n(9548),o=n(597),i=n(6878);t.exports=function(t){var e=o(t);return 1==e.length&&e[0][2]?i(e[0][0],e[0][1]):function(n){return n===t||r(n,t,e)}}},5223:function(t,e,n){var r=n(9070),o=n(9201),i=n(5066),a=n(726),s=n(5385),c=n(6878),u=n(3110);t.exports=function(t,e){return a(t)&&s(e)?c(u(t),e):function(n){var a=o(n,t);return void 0===a&&a===e?i(n,t):r(e,a,3)}}},5436:function(t,e,n){var r=n(6371),o=n(5066);t.exports=function(t,e){return r(t,e,(function(e,n){return o(t,n)}))}},6371:function(t,e,n){var r=n(4432),o=n(6539),i=n(9026);t.exports=function(t,e,n){for(var a=-1,s=e.length,c={};++a<s;){var u=e[a],l=r(t,u);n(l,u)&&o(c,i(u,t),l)}return c}},1600:function(t){t.exports=function(t){return function(e){return null==e?void 0:e[t]}}},3301:function(t,e,n){var r=n(4432);t.exports=function(t){return function(e){return r(e,t)}}},6317:function(t,e,n){var r=n(5346),o=n(4280),i=n(201);t.exports=function(t,e){return i(o(t,e,r),t+"")}},6539:function(t,e,n){var r=n(4132),o=n(9026),i=n(9099),a=n(7709),s=n(3110);t.exports=function(t,e,n,c){if(!a(t))return t;for(var u=-1,l=(e=o(e,t)).length,f=l-1,p=t;null!=p&&++u<l;){var d=s(e[u]),h=n;if("__proto__"===d||"constructor"===d||"prototype"===d)return t;if(u!=f){var v=p[d];void 0===(h=c?c(v,d,p):void 0)&&(h=a(v)?v:i(e[u+1])?[]:{})}r(p,d,h),p=p[d]}return t}},6316:function(t,e,n){var r=n(2596),o=n(8644),i=n(163),a=n(1995),s=r?r.prototype:void 0,c=s?s.toString:void 0;t.exports=function t(e){if("string"==typeof e)return e;if(i(e))return o(e,t)+"";if(a(e))return c?c.call(e):"";var n=e+"";return"0"==n&&1/e==-1/0?"-0":n}},9914:function(t,e,n){var r=n(6123);t.exports=function(t,e){return!(null==t||!t.length)&&r(t,e,0)>-1}},9026:function(t,e,n){var r=n(163),o=n(726),i=n(7801),a=n(7010);t.exports=function(t,e){return r(t)?t:o(t,e)?[t]:i(a(t))}},4710:function(t){t.exports=function(t){return function(e,n,r){for(var o=-1,i=Object(e),a=r(e),s=a.length;s--;){var c=a[t?s:++o];if(!1===n(i[c],c,i))break}return e}}},5525:function(t,e,n){var r=n(3743),o=function(){try{var t=r(Object,"defineProperty");return t({},"",{}),t}catch(t){}}();t.exports=o},8705:function(t,e,n){var r=n(3273),o=n(1634),i=n(9914);t.exports=function(t,e,n,a,s,c){var u=1&n,l=t.length,f=e.length;if(l!=f&&!(u&&f>l))return!1;var p=c.get(t),d=c.get(e);if(p&&d)return p==e&&d==t;var h=-1,v=!0,g=2&n?new r:void 0;for(c.set(t,e),c.set(e,t);++h<l;){var y=t[h],x=e[h];if(a)var m=u?a(x,y,h,e,t,c):a(y,x,h,t,e,c);if(void 0!==m){if(m)continue;v=!1;break}if(g){if(!o(e,(function(t,e){if(!i(g,e)&&(y===t||s(y,t,n,a,c)))return g.push(e)}))){v=!1;break}}else if(y!==x&&!s(y,x,n,a,c)){v=!1;break}}return c.delete(t),c.delete(e),v}},2813:function(t){t.exports=function(t,e){return t===e||t!=t&&e!=e}},6682:function(t,e,n){var r=n(8143),o=Object.prototype.hasOwnProperty;t.exports=function(t,e,n,i,a,s){var c=1&n,u=r(t),l=u.length;if(l!=r(e).length&&!c)return!1;for(var f=l;f--;){var p=u[f];if(!(c?p in e:o.call(e,p)))return!1}var d=s.get(t),h=s.get(e);if(d&&h)return d==e&&h==t;var v=!0;s.set(t,e),s.set(e,t);for(var g=c;++f<l;){var y=t[p=u[f]],x=e[p];if(i)var m=c?i(x,y,p,e,t,s):i(y,x,p,t,e,s);if(!(void 0===m?y===x||a(y,x,n,i,s):m)){v=!1;break}g||(g="constructor"==p)}if(v&&!g){var b=t.constructor,w=e.constructor;b==w||!("constructor"in t)||!("constructor"in e)||"function"==typeof b&&b instanceof b&&"function"==typeof w&&w instanceof w||(v=!1)}return s.delete(t),s.delete(e),v}},5557:function(t,e,n){var r=n(2645),o=n(4280),i=n(201);t.exports=function(t){return i(o(t,void 0,r),t+"")}},2117:function(t,e,n){var r="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g;t.exports=r},8143:function(t,e,n){var r=n(5125)(Object.keys,Object);t.exports=r},597:function(t,e,n){var r=n(5385),o=n(7747);t.exports=function(t){for(var e=o(t),n=e.length;n--;){var i=e[n],a=t[i];e[n]=[i,a,r(a)]}return e}},3743:function(t){t.exports=function(t,e){return null==t?void 0:t[e]}},9667:function(t){var e=Object.prototype.toString;t.exports=function(t){return e.call(t)}},3096:function(t,e,n){var r=n(9026),o=n(5075),i=n(163),a=n(9099),s=n(8454),c=n(3110);t.exports=function(t,e,n){for(var u=-1,l=(e=r(e,t)).length,f=!1;++u<l;){var p=c(e[u]);if(!(f=null!=t&&n(t,p)))break;t=t[p]}return f||++u!=l?f:!!(l=null==t?0:t.length)&&s(l)&&a(p,l)&&(i(t)||o(t))}},3608:function(t,e,n){var r=n(2596),o=n(5075),i=n(163),a=r?r.isConcatSpreadable:void 0;t.exports=function(t){return i(t)||o(t)||!!(a&&t&&t[a])}},9099:function(t){var e=/^(?:0|[1-9]\d*)$/;t.exports=function(t,n){var r=typeof t;return!!(n=null==n?9007199254740991:n)&&("number"==r||"symbol"!=r&&e.test(t))&&t>-1&&t%1==0&&t<n}},8286:function(t){t.exports=function(){return!1}},726:function(t,e,n){var r=n(163),o=n(1995),i=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,a=/^\w*$/;t.exports=function(t,e){if(r(t))return!1;var n=typeof t;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=t&&!o(t))||a.test(t)||!i.test(t)||null!=e&&t in Object(e)}},5782:function(t){t.exports=function(){return!1}},5385:function(t,e,n){var r=n(7709);t.exports=function(t){return t==t&&!r(t)}},1171:function(t){t.exports=function(){this.__data__=[],this.size=0}},7838:function(t,e,n){var r=n(3162),o=Array.prototype.splice;t.exports=function(t){var e=this.__data__,n=r(e,t);return!(n<0||(n==e.length-1?e.pop():o.call(e,n,1),--this.size,0))}},4859:function(t,e,n){var r=n(3162);t.exports=function(t){var e=this.__data__,n=r(e,t);return n<0?void 0:e[n][1]}},4073:function(t,e,n){var r=n(3162);t.exports=function(t){return r(this.__data__,t)>-1}},8541:function(t,e,n){var r=n(3162);t.exports=function(t,e){var n=this.__data__,o=r(n,t);return o<0?(++this.size,n.push([t,e])):n[o][1]=e,this}},6878:function(t){t.exports=function(t,e){return function(n){return null!=n&&n[t]===e&&(void 0!==e||t in Object(n))}}},2453:function(t){t.exports=function(t){return t}},5125:function(t){t.exports=function(t,e){return function(n){return t(e(n))}}},4280:function(t,e,n){var r=n(6082),o=Math.max;t.exports=function(t,e,n){return e=o(void 0===e?t.length-1:e,0),function(){for(var i=arguments,a=-1,s=o(i.length-e,0),c=Array(s);++a<s;)c[a]=i[e+a];a=-1;for(var u=Array(e+1);++a<e;)u[a]=i[a];return u[e]=n(c),r(t,this,u)}}},2373:function(t,e,n){var r=n(2117),o="object"==typeof self&&self&&self.Object===Object&&self,i=r||o||Function("return this")();t.exports=i},201:function(t){t.exports=function(t){return t}},7801:function(t,e,n){var r=n(2453),o=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,i=/\\(\\)?/g,a=r((function(t){var e=[];return 46===t.charCodeAt(0)&&e.push(""),t.replace(o,(function(t,n,r,o){e.push(r?o.replace(i,"$1"):n||t)})),e}));t.exports=a},3110:function(t,e,n){var r=n(1995);t.exports=function(t){if("string"==typeof t||r(t))return t;var e=t+"";return"0"==e&&1/t==-1/0?"-0":e}},5034:function(t,e,n){var r=n(7709),o=n(6987),i=n(5812),a=Math.max,s=Math.min;t.exports=function(t,e,n){var c,u,l,f,p,d,h=0,v=!1,g=!1,y=!0;if("function"!=typeof t)throw new TypeError("Expected a function");function x(e){var n=c,r=u;return c=u=void 0,h=e,f=t.apply(r,n)}function m(t){return h=t,p=setTimeout(w,e),v?x(t):f}function b(t){var n=t-d;return void 0===d||n>=e||n<0||g&&t-h>=l}function w(){var t=o();if(b(t))return S(t);p=setTimeout(w,function(t){var n=e-(t-d);return g?s(n,l-(t-h)):n}(t))}function S(t){return p=void 0,y&&c?x(t):(c=u=void 0,f)}function A(){var t=o(),n=b(t);if(c=arguments,u=this,d=t,n){if(void 0===p)return m(d);if(g)return clearTimeout(p),p=setTimeout(w,e),x(d)}return void 0===p&&(p=setTimeout(w,e)),f}return e=i(e)||0,r(n)&&(v=!!n.leading,l=(g="maxWait"in n)?a(i(n.maxWait)||0,e):l,y="trailing"in n?!!n.trailing:y),A.cancel=function(){void 0!==p&&clearTimeout(p),h=0,c=d=u=p=void 0},A.flush=function(){return void 0===p?f:S(o())},A}},1893:function(t,e,n){var r=n(6317),o=n(788),i=n(8286),a=n(8855),s=Object.prototype,c=s.hasOwnProperty,u=r((function(t,e){t=Object(t);var n=-1,r=e.length,u=r>2?e[2]:void 0;for(u&&i(e[0],e[1],u)&&(r=1);++n<r;)for(var l=e[n],f=a(l),p=-1,d=f.length;++p<d;){var h=f[p],v=t[h];(void 0===v||o(v,s[h])&&!c.call(t,h))&&(t[h]=l[h])}return t}));t.exports=u},788:function(t){t.exports=function(t,e){return t===e||t!=t&&e!=e}},2645:function(t,e,n){var r=n(6457);t.exports=function(t){return null!=t&&t.length?r(t,1):[]}},9201:function(t,e,n){var r=n(4432);t.exports=function(t,e,n){var o=null==t?void 0:r(t,e);return void 0===o?n:o}},5066:function(t,e,n){var r=n(6776),o=n(3096);t.exports=function(t,e){return null!=t&&o(t,e,r)}},5346:function(t){t.exports=function(t){return t}},5075:function(t){t.exports=function(){return!1}},163:function(t){var e=Array.isArray;t.exports=e},981:function(t,e,n){var r=n(9642),o=n(8454);t.exports=function(t){return null!=t&&o(t.length)&&!r(t)}},4801:function(t){t.exports=function(){return!1}},4155:function(t,e,n){var r=n(7190),o=n(9667),i=n(5075),a=n(163),s=n(981),c=n(4801),u=n(5782),l=n(4289),f=Object.prototype.hasOwnProperty;t.exports=function(t){if(null==t)return!0;if(s(t)&&(a(t)||"string"==typeof t||"function"==typeof t.splice||c(t)||l(t)||i(t)))return!t.length;var e=o(t);if("[object Map]"==e||"[object Set]"==e)return!t.size;if(u(t))return!r(t).length;for(var n in t)if(f.call(t,n))return!1;return!0}},9642:function(t,e,n){var r=n(563),o=n(7709);t.exports=function(t){if(!o(t))return!1;var e=r(t);return"[object Function]"==e||"[object GeneratorFunction]"==e||"[object AsyncFunction]"==e||"[object Proxy]"==e}},8454:function(t){t.exports=function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=9007199254740991}},7709:function(t){t.exports=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}},3474:function(t){t.exports=function(t){return null!=t&&"object"==typeof t}},1995:function(t){t.exports=function(){return!1}},4289:function(t){t.exports=function(){return!1}},7747:function(t,e,n){var r=n(5125)(Object.keys,Object);t.exports=r},8855:function(t){t.exports=function(t){var e=[];if(null!=t)for(var n in Object(t))e.push(n);return e}},4943:function(t,e,n){var r=n(8347),o=n(2446),i=n(3472);t.exports=function(t,e){var n={};return e=i(e,3),o(t,(function(t,o,i){r(n,o,e(t,o,i))})),n}},1594:function(t,e,n){var r=n(503);function o(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw new TypeError("Expected a function");var n=function(){var r=arguments,o=e?e.apply(this,r):r[0],i=n.cache;if(i.has(o))return i.get(o);var a=t.apply(this,r);return n.cache=i.set(o,a)||i,a};return n.cache=new(o.Cache||r),n}o.Cache=r,t.exports=o},6987:function(t,e,n){var r=n(2373);t.exports=function(){return r.Date.now()}},9082:function(t,e,n){var r=n(5436),o=n(5557)((function(t,e){return null==t?{}:r(t,e)}));t.exports=o},8532:function(t,e,n){var r=n(1600),o=n(3301),i=n(726),a=n(3110);t.exports=function(t){return i(t)?r(a(t)):o(t)}},8163:function(t,e,n){var r=n(5034),o=n(7709);t.exports=function(t,e,n){var i=!0,a=!0;if("function"!=typeof t)throw new TypeError("Expected a function");return o(n)&&(i="leading"in n?!!n.leading:i,a="trailing"in n?!!n.trailing:a),r(t,e,{leading:i,maxWait:e,trailing:a})}},5812:function(t){t.exports=function(t){return t}},7010:function(t,e,n){var r=n(6316);t.exports=function(t){return null==t?"":r(t)}},660:function(t,e,n){var r=n(7010),o=0;t.exports=function(t){var e=++o;return r(t)+e}},9787:function(e){"use strict";e.exports=t}},n={};function r(t){var o=n[t];if(void 0!==o)return o.exports;var i=n[t]={exports:{}};return e[t](i,i.exports,r),i.exports}r.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(e,{a:e}),e},r.d=function(t,e){for(var n in e)r.o(e,n)&&!r.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),r.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},r.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var o={};return function(){"use strict";r.r(o),r.d(o,{CursorHelpers:function(){return w},VictoryCursorContainer:function(){return $t},cursorContainerMixin:function(){return Nt}});var t=r(4943),e=r.n(t),n=r(8163),i=r.n(n);function a(t,e,n){const{a:r,d:o,e:i,f:a}=e;return"y"===n?o*t+a:r*t+i}function s(t){return!(!t||void 0===t.identifier)}function c(t){if(s(t.nativeEvent))return;const e=t=>"svg"===t.nodeName?t:t.parentNode?e(t.parentNode):t;return e(t.target)}var u=r(7747),l=r.n(u),f=(r(9082),r(8532),r(1893)),p=r.n(f),d=r(9787),h=r.n(d);function v(t,e){void 0===e&&(e=[]);const n={};for(const r in t)e.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(t,r)&&(n[r]=t[r]);return n}function g(t){const e=t=>void 0!==t,{_x:n,_x1:r,_x0:o,_voronoiX:i,_y:a,_y1:s,_y0:c,_voronoiY:u}=t,l=e(r)?r:n,f=e(s)?s:a,d={x:e(i)?i:l,x0:e(o)?o:n,y:e(u)?u:f,y0:e(c)?c:a};return p()({},d,t)}function y(t,e){void 0===e&&(e="padding");const n=t[e],r="number"==typeof n?n:0,o="object"==typeof n?n:{};return{top:o.top||r,bottom:o.bottom||r,left:o.left||r,right:o.right||r}}function x(t,e){return b(t)?t(e):t}function m(t,e){return e.disableInlineStyles?{}:t&&l()(t).some((e=>b(t[e])))?l()(t).reduce(((n,r)=>(n[r]=x(t[r],e),n)),{}):t}function b(t){return"function"==typeof t}const w=new class{getDimension(t){const{horizontal:e,cursorDimension:n}=t;return e&&n?"x"===n?"y":"x":n}withinBounds(t,n){const{x1:r,x2:o,y1:i,y2:a}=e()(n,Number),{x:s,y:c}=e()(t,Number);return s>=Math.min(r,o)&&s<=Math.max(r,o)&&c>=Math.min(i,a)&&c<=Math.max(i,a)}handleMouseMove=(t,e)=>{const{onCursorChange:n,domain:r}=e,o=this.getDimension(e),i=e.parentSVG||c(t),u=function(t,e){if(s(t.nativeEvent))return{x:t.nativeEvent.locationX,y:t.nativeEvent.locationY};const n=function(t){return t.changedTouches&&t.changedTouches.length>0}(t)?t.changedTouches[0]:t,r=function(t){return t.getScreenCTM().inverse()}(e||c(n));return{x:a(n.clientX,r,"x"),y:a(n.clientY,r,"y")}}(t,i);let l=function(t,e,n,r){const{polar:o,horizontal:i}=t;if(!o)return{x:i?e.x.invert(r):e.x.invert(n),y:i?e.y.invert(n):e.y.invert(r)};const a=t.origin||{x:0,y:0},s=n-a.x,c=r-a.y,u=Math.abs(s*Math.sqrt(1+Math.pow(-c/s,2))),l=(-Math.atan2(c,s)+2*Math.PI)%(2*Math.PI);return{x:e.x.invert(l),y:e.y.invert(u)}}(e,e.scale,u.x,u.y);return this.withinBounds(l,{x1:r.x[0],x2:r.x[1],y1:r.y[0],y2:r.y[1]})||(l=null),b(n)&&(l?n(o?l[o]:l,e):l!==e.cursorValue&&n(e.defaultCursorValue||null,e)),[{target:"parent",eventKey:"parent",mutation:()=>({cursorValue:l,parentSVG:i})}]};onMouseMove=i()(this.handleMouseMove,16,{leading:!0,trailing:!1});onMouseLeave=this.handleMouseMove;onTouchEnd=(t,e)=>{const{onCursorChange:n}=e;return b(e.onCursorChange)&&n(null,e),[{target:"parent",eventKey:"parent",mutation:()=>({cursorValue:null})}]}};var S=r(7709),A=r.n(S),j=r(660),C=r.n(j);class O extends h().Component{static displayName="Portal";constructor(t){super(t),this.map={},this.index=1}portalRegister=()=>++this.index;portalUpdate=(t,e)=>{this.map[t]=e,this.forceUpdate()};portalDeregister=t=>{delete this.map[t],this.forceUpdate()};getChildren(){return l()(this.map).map((t=>{const e=this.map[t];return e?h().cloneElement(e,{key:t}):e}))}render(){return h().createElement("svg",this.props,this.getChildren())}}const E=h().createContext({});E.displayName="PortalContext";var P,_,k=0,M=0,z=0,I=0,T=0,H=0,R="object"==typeof performance&&performance.now?performance:Date,N="object"==typeof window&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):function(t){setTimeout(t,17)};function $(){return T||(N(F),T=R.now()+H)}function F(){T=0}function D(){this._call=this._time=this._next=null}function L(t,e,n){var r=new D;return r.restart(t,e,n),r}function W(){T=(I=R.now())+H,k=M=0;try{!function(){$(),++k;for(var t,e=P;e;)(t=T-e._time)>=0&&e._call.call(void 0,t),e=e._next;--k}()}finally{k=0,function(){for(var t,e,n=P,r=1/0;n;)n._call?(r>n._time&&(r=n._time),t=n,n=n._next):(e=n._next,n._next=null,n=t?t._next=e:P=e);_=t,U(r)}(),T=0}}function V(){var t=R.now(),e=t-I;e>1e3&&(H-=e,I=t)}function U(t){k||(M&&(M=clearTimeout(M)),t-T>24?(t<1/0&&(M=setTimeout(W,t-R.now()-H)),z&&(z=clearInterval(z))):(z||(I=R.now(),z=setInterval(V,1e3)),k=1,N(W)))}D.prototype=L.prototype={constructor:D,restart:function(t,e,n){if("function"!=typeof t)throw new TypeError("callback is not a function");n=(null==n?$():+n)+(null==e?0:+e),this._next||_===this||(_?_._next=this:P=this,_=this),this._call=t,this._time=n,U()},stop:function(){this._call&&(this._call=null,this._time=1/0,U())}};class B{constructor(){this.shouldAnimate=!0,this.subscribers=[],this.timer=null,this.activeSubscriptions=0}bypassAnimation(){this.shouldAnimate=!1}resumeAnimation(){this.shouldAnimate=!0}loop=()=>{this.subscribers.forEach((t=>{t.callback($()-t.startTime,t.duration)}))};start(){this.timer||(this.timer=L(this.loop))}stop(){this.timer&&(this.timer.stop(),this.timer=null)}subscribe(t,e){const n=this.subscribers.push({startTime:$(),callback:t,duration:this.shouldAnimate?e:0});return this.activeSubscriptions++,this.start(),n}unsubscribe(t){null!==t&&this.subscribers[t-1]&&(delete this.subscribers[t-1],this.activeSubscriptions--),0===this.activeSubscriptions&&this.stop()}}const G=h().createContext({transitionTimer:new B,animationTimer:new B});G.displayName="TimerContext";var K=G;const q={startsWith:["data-","aria-"],exactMatch:[]},Z=t=>{const e={...t};return Object.fromEntries(Object.entries(e).filter((t=>{let[e]=t;return(t=>!(!(t=>{let e=!1;return q.startsWith.forEach((n=>{new RegExp(`\\b(${n})(\\w|-)+`,"g").test(t)&&(e=!0)})),e})(t)&&!(t=>q.exactMatch.includes(t))(t)))(e)})).map((e=>{let[n,r]=e;return[n,x(r,t)]})))};function X(){return X=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},X.apply(this,arguments)}class Y extends h().Component{static displayName="VictoryContainer";static role="container";static defaultProps={className:"VictoryContainer",portalComponent:h().createElement(O,null),portalZIndex:99,responsive:!0,role:"img"};static contextType=K;constructor(t){super(t),this.containerId=A()(t)&&void 0!==t.containerId?t.containerId:C()("victory-container-"),this.shouldHandleWheel=!!(t&&t.events&&t.events.onWheel)}savePortalRef=t=>(this.portalRef=t,t);portalUpdate=(t,e)=>this.portalRef.portalUpdate(t,e);portalRegister=()=>this.portalRef.portalRegister();portalDeregister=t=>this.portalRef.portalDeregister(t);saveContainerRef=t=>(b(this.props.containerRef)&&this.props.containerRef(t),this.containerRef=t,t);handleWheel=t=>t.preventDefault();componentDidMount(){this.shouldHandleWheel&&this.containerRef&&this.containerRef.addEventListener("wheel",this.handleWheel)}componentWillUnmount(){this.shouldHandleWheel&&this.containerRef&&this.containerRef.removeEventListener("wheel",this.handleWheel)}getIdForElement(t){return`${this.containerId}-${t}`}getChildren(t){return t.children}getOUIAProps(t){const{ouiaId:e,ouiaSafe:n,ouiaType:r}=t;return{...e&&{"data-ouia-component-id":e},...r&&{"data-ouia-component-type":r},...void 0!==n&&{"data-ouia-safe":n}}}renderContainer(t,e,n){const{title:r,desc:o,portalComponent:i,className:a,width:s,height:c,portalZIndex:u,responsive:l}=t,f=this.getChildren(t),d=l?{width:"100%",height:"100%"}:{width:s,height:c},v=Object.assign({pointerEvents:"none",touchAction:"none",position:"relative"},d),g=Object.assign({zIndex:u,position:"absolute",top:0,left:0},d),y=Object.assign({pointerEvents:"all"},d),x=Object.assign({overflow:"visible"},d),m={width:s,height:c,viewBox:e.viewBox,preserveAspectRatio:e.preserveAspectRatio,style:x};return h().createElement(E.Provider,{value:{portalUpdate:this.portalUpdate,portalRegister:this.portalRegister,portalDeregister:this.portalDeregister}},h().createElement("div",X({style:p()({},n,v),className:a,ref:this.saveContainerRef},this.getOUIAProps(t)),h().createElement("svg",X({},e,{style:y}),r?h().createElement("title",{id:this.getIdForElement("title")},r):null,o?h().createElement("desc",{id:this.getIdForElement("desc")},o):null,f),h().createElement("div",{style:g},h().cloneElement(i,{...m,ref:this.savePortalRef}))))}render(){const{width:t,height:e,responsive:n,events:r,title:o,desc:i,tabIndex:a,preserveAspectRatio:s,role:c}=this.props,u=n?this.props.style:v(this.props.style,["height","width"]),l=Z(this.props),f=Object.assign({width:t,height:e,tabIndex:a,role:c,"aria-labelledby":[o&&this.getIdForElement("title"),this.props["aria-labelledby"]].filter(Boolean).join(" ")||void 0,"aria-describedby":[i&&this.getIdForElement("desc"),this.props["aria-describedby"]].filter(Boolean).join(" ")||void 0,viewBox:n?`0 0 ${t} ${e}`:void 0,preserveAspectRatio:n?s:void 0,...l},r);return this.renderContainer(this.props,f,u)}}var J=r(4155),Q=r.n(J);class tt extends h().Component{static displayName="VictoryPortal";static role="portal";static defaultProps={groupComponent:h().createElement("g",null)};static contextType=E;componentDidMount(){this.checkedContext||("function"!=typeof this.context.portalUpdate&&(this.renderInPlace=!0),this.checkedContext=!0),this.forceUpdate()}componentDidUpdate(){this.renderInPlace||(this.portalKey=this.portalKey||this.context.portalRegister(),this.context.portalUpdate(this.portalKey,this.element))}componentWillUnmount(){this.context&&this.context.portalDeregister&&this.context.portalDeregister(this.portalKey)}renderPortal(t){return this.renderInPlace?t:(this.element=t,null)}render(){const t=Array.isArray(this.props.children)?this.props.children[0]:this.props.children,{groupComponent:e}=this.props,n=t&&t.props||{},r=n.groupComponent?{groupComponent:e,standalone:!1}:{},o=p()(r,n,v(this.props,["children","groupComponent"])),i=t&&h().cloneElement(t,o);return this.renderPortal(i)}}function et(){return et=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},et.apply(this,arguments)}const nt=(0,d.forwardRef)(((t,e)=>{const{desc:n,id:r,tabIndex:o,origin:i,...a}=t,s={vectorEffect:"non-scaling-stroke",id:x(r,t)?.toString(),tabIndex:x(o,t),...a};return n?h().createElement("rect",et({},s,{ref:e}),h().createElement("desc",null,n)):h().createElement("rect",et({},s,{ref:e}))})),rt=t=>{const{children:e,desc:n,id:r,origin:o,tabIndex:i,title:a,...s}=t,c={id:x(r,t)?.toString(),tabIndex:x(i,t),...s};return h().createElement("text",c,a&&h().createElement("title",null,a),n&&h().createElement("desc",null,n),e)},ot=t=>{const{desc:e,id:n,tabIndex:r,origin:o,...i}=t,a={id:x(n,t)?.toString(),tabIndex:x(r,t),...i};return h().createElement("tspan",a)};const it=function(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];if(n.length>0)return n.reduce(((t,e)=>[t,it(e)].join(" ")),it(t)).trim();if(null==t||"string"==typeof t)return t;const o=[];for(const e in t)if(t.hasOwnProperty(e)){const n=t[e];o.push(`${e}(${n})`)}return o.join(" ").trim()};var at=r(1594),st=r.n(at);const ct={"American Typewriter":{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.25,.4203125,.3296875,.6,.6375,.8015625,.8203125,.1875,.45625,.45625,.6375,.5,.2734375,.309375,.2734375,.4390625,.6375,.6375,.6375,.6375,.6375,.6375,.6375,.6375,.6375,.6375,.2734375,.2734375,.5,.5,.5,.6,.6921875,.7640625,.6921875,.6375,.728125,.6734375,.6203125,.7109375,.784375,.3828125,.6421875,.7859375,.6375,.9484375,.7640625,.65625,.6375,.65625,.7296875,.6203125,.6375,.7109375,.740625,.940625,.784375,.7578125,.6203125,.4375,.5,.4375,.5,.5,.4921875,.5734375,.5890625,.5109375,.6,.528125,.43125,.5578125,.6375,.3109375,.40625,.6234375,.309375,.928125,.6375,.546875,.6,.58125,.4921875,.4921875,.4,.6203125,.625,.825,.6375,.640625,.528125,.5,.5,.5,.6671875],avg:.5793421052631578},Arial:{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.278125,.278125,.35625,.55625,.55625,.890625,.6671875,.1921875,.334375,.334375,.390625,.584375,.278125,.334375,.278125,.278125,.55625,.55625,.55625,.55625,.55625,.55625,.55625,.55625,.55625,.55625,.278125,.278125,.584375,.584375,.584375,.55625,1.015625,.6703125,.6671875,.7234375,.7234375,.6671875,.6109375,.778125,.7234375,.278125,.5,.6671875,.55625,.834375,.7234375,.778125,.6671875,.778125,.7234375,.6671875,.6109375,.7234375,.6671875,.9453125,.6671875,.6671875,.6109375,.278125,.278125,.278125,.4703125,.584375,.334375,.55625,.55625,.5,.55625,.55625,.3125,.55625,.55625,.2234375,.2703125,.5,.2234375,.834375,.55625,.55625,.55625,.55625,.346875,.5,.278125,.55625,.5,.7234375,.5,.5,.5,.334375,.2609375,.334375,.584375],avg:.528733552631579},"Arial Black":{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.33125,.334375,.5,.6609375,.6671875,1,.890625,.278125,.390625,.390625,.55625,.6609375,.334375,.334375,.334375,.28125,.6671875,.6671875,.6671875,.6671875,.6671875,.6671875,.6671875,.6671875,.6671875,.6671875,.334375,.334375,.6609375,.6609375,.6609375,.6109375,.7453125,.78125,.778125,.778125,.778125,.7234375,.6671875,.834375,.834375,.390625,.6671875,.834375,.6671875,.9453125,.834375,.834375,.7234375,.834375,.78125,.7234375,.7234375,.834375,.7796875,1.003125,.78125,.78125,.7234375,.390625,.28125,.390625,.6609375,.5125,.334375,.6671875,.6671875,.6671875,.6671875,.6671875,.41875,.6671875,.6671875,.334375,.384375,.6671875,.334375,1,.6671875,.6671875,.6671875,.6671875,.4703125,.6109375,.4453125,.6671875,.6140625,.946875,.6671875,.615625,.55625,.390625,.278125,.390625,.6609375],avg:.6213157894736842},Baskerville:{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.25,.25,.40625,.6671875,.490625,.875,.7015625,.178125,.2453125,.246875,.4171875,.6671875,.25,.3125,.25,.521875,.5,.5,.5,.5,.5,.5,.5,.5,.5,.5,.25,.25,.6671875,.6671875,.6671875,.396875,.9171875,.684375,.615625,.71875,.7609375,.625,.553125,.771875,.803125,.3546875,.515625,.78125,.6046875,.928125,.75,.8234375,.5625,.96875,.7296875,.5421875,.6984375,.771875,.7296875,.9484375,.771875,.678125,.6359375,.3640625,.521875,.3640625,.46875,.5125,.334375,.46875,.521875,.428125,.521875,.4375,.3890625,.4765625,.53125,.25,.359375,.4640625,.240625,.803125,.53125,.5,.521875,.521875,.365625,.334375,.2921875,.521875,.4640625,.678125,.4796875,.465625,.428125,.4796875,.5109375,.4796875,.6671875],avg:.5323519736842108},Courier:{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.5984375,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6078125,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.61875,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.615625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6140625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625],avg:.6020559210526316},"Courier New":{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.5984375,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625],avg:.6015296052631579},cursive:{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.1921875,.24375,.40625,.5671875,.3984375,.721875,.909375,.2328125,.434375,.365625,.4734375,.5578125,.19375,.3484375,.19375,.7734375,.503125,.4171875,.5453125,.45,.6046875,.4703125,.5984375,.55625,.503125,.5546875,.20625,.2,.5625,.5546875,.546875,.403125,.70625,.734375,.7078125,.64375,.85,.753125,.75,.6484375,1.0765625,.44375,.5359375,.8359375,.653125,1.0109375,1.1515625,.6796875,.6984375,1.0625,.8234375,.5125,.9234375,.8546875,.70625,.9109375,.7421875,.715625,.6015625,.4640625,.3359375,.4109375,.5421875,.5421875,.4328125,.5125,.5,.3859375,.7375,.359375,.75625,.540625,.5328125,.3203125,.5296875,.5015625,.484375,.7890625,.5640625,.4203125,.703125,.471875,.4734375,.35,.4125,.5640625,.471875,.6484375,.5296875,.575,.4140625,.415625,.20625,.3796875,.5421875],avg:.5604440789473684},fantasy:{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.215625,.2625,.3265625,.6109375,.534375,.7625,.7828125,.2,.4359375,.4359375,.3765625,.5109375,.2796875,.4609375,.2796875,.5296875,.6640625,.253125,.521875,.4765625,.6640625,.490625,.528125,.5546875,.496875,.5421875,.2796875,.2796875,.5625,.4609375,.5625,.4828125,.609375,.740625,.7234375,.740625,.8265625,.7234375,.6171875,.7359375,.765625,.240625,.5453125,.715625,.6078125,.8640625,.653125,.9125,.6484375,.946875,.6921875,.653125,.6953125,.8015625,.58125,.784375,.671875,.6265625,.690625,.4359375,.5296875,.4359375,.53125,.5,.2875,.5375,.603125,.4984375,.60625,.53125,.434375,.6421875,.56875,.209375,.4671875,.5484375,.2203125,.709375,.55,.5984375,.6140625,.5765625,.40625,.4734375,.3734375,.559375,.4421875,.6421875,.4890625,.578125,.4484375,.2546875,.2203125,.2546875,.55],avg:.536496710526316},Geneva:{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.3328125,.3046875,.5,.6671875,.6671875,.90625,.728125,.3046875,.446875,.446875,.5078125,.6671875,.3046875,.3796875,.3046875,.5390625,.6671875,.6671875,.6671875,.6671875,.6671875,.6671875,.6671875,.6671875,.6671875,.6671875,.3046875,.3046875,.6671875,.6671875,.6671875,.56875,.871875,.728125,.6375,.6515625,.7015625,.5765625,.5546875,.675,.690625,.2421875,.4921875,.6640625,.584375,.7890625,.709375,.7359375,.584375,.78125,.60625,.60625,.640625,.6671875,.728125,.946875,.6109375,.6109375,.5765625,.446875,.5390625,.446875,.6671875,.6671875,.5921875,.5546875,.6109375,.546875,.603125,.5765625,.390625,.6109375,.584375,.2359375,.334375,.5390625,.2359375,.8953125,.584375,.60625,.603125,.603125,.3875,.509375,.44375,.584375,.565625,.78125,.53125,.571875,.5546875,.4515625,.246875,.4515625,.6671875],avg:.5762664473684211},Georgia:{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.2421875,.33125,.4125,.64375,.6109375,.81875,.7109375,.215625,.375,.375,.4734375,.64375,.2703125,.375,.2703125,.46875,.6140625,.4296875,.559375,.553125,.565625,.5296875,.5671875,.503125,.596875,.5671875,.3125,.3125,.64375,.64375,.64375,.4796875,.9296875,.715625,.6546875,.6421875,.75,.6546875,.6,.7265625,.815625,.390625,.51875,.7203125,.6046875,.928125,.7671875,.7453125,.6109375,.7453125,.7234375,.5625,.61875,.7578125,.70625,.99375,.7125,.6640625,.6015625,.375,.46875,.375,.64375,.65,.5,.5046875,.56875,.4546875,.575,.484375,.39375,.509375,.5828125,.29375,.3671875,.546875,.2875,.88125,.5921875,.5390625,.571875,.5640625,.4109375,.4328125,.3453125,.5765625,.5203125,.75625,.50625,.5171875,.4453125,.43125,.375,.43125,.64375],avg:.5551809210526316},"Gill Sans":{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.2765625,.271875,.3546875,.584375,.5421875,.6765625,.625,.1890625,.3234375,.3234375,.4171875,.584375,.2203125,.3234375,.2203125,.28125,.5,.5,.5,.5,.5,.5,.5,.5,.5,.5,.2203125,.2296875,.584375,.584375,.584375,.334375,1.0109375,.6671875,.5640625,.709375,.75,.5,.4703125,.740625,.7296875,.25,.3125,.65625,.490625,.78125,.78125,.8234375,.5109375,.8234375,.6046875,.459375,.6046875,.709375,.6046875,1.0421875,.709375,.6046875,.646875,.334375,.28125,.334375,.4703125,.5828125,.334375,.428125,.5,.4390625,.5109375,.4796875,.296875,.428125,.5,.2203125,.2265625,.5,.2203125,.771875,.5,.553125,.5,.5,.3984375,.3859375,.334375,.5,.4390625,.7203125,.5,.4390625,.4171875,.334375,.2609375,.334375,.584375],avg:.4933717105263159},Helvetica:{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.2796875,.2765625,.3546875,.5546875,.5546875,.8890625,.665625,.190625,.3328125,.3328125,.3890625,.5828125,.2765625,.3328125,.2765625,.3015625,.5546875,.5546875,.5546875,.5546875,.5546875,.5546875,.5546875,.5546875,.5546875,.5546875,.2765625,.2765625,.584375,.5828125,.584375,.5546875,1.0140625,.665625,.665625,.721875,.721875,.665625,.609375,.7765625,.721875,.2765625,.5,.665625,.5546875,.8328125,.721875,.7765625,.665625,.7765625,.721875,.665625,.609375,.721875,.665625,.94375,.665625,.665625,.609375,.2765625,.3546875,.2765625,.4765625,.5546875,.3328125,.5546875,.5546875,.5,.5546875,.5546875,.2765625,.5546875,.5546875,.221875,.240625,.5,.221875,.8328125,.5546875,.5546875,.5546875,.5546875,.3328125,.5,.2765625,.5546875,.5,.721875,.5,.5,.5,.3546875,.259375,.353125,.5890625],avg:.5279276315789471},"Helvetica Neue":{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.278125,.259375,.4265625,.55625,.55625,1,.6453125,.278125,.2703125,.26875,.353125,.6,.278125,.3890625,.278125,.36875,.55625,.55625,.55625,.55625,.55625,.55625,.55625,.55625,.55625,.55625,.278125,.278125,.6,.6,.6,.55625,.8,.6625,.6859375,.7234375,.7046875,.6125,.575,.759375,.7234375,.259375,.5203125,.6703125,.55625,.871875,.7234375,.7609375,.6484375,.7609375,.6859375,.6484375,.575,.7234375,.6140625,.9265625,.6125,.6484375,.6125,.259375,.36875,.259375,.6,.5,.25625,.5375,.59375,.5375,.59375,.5375,.2984375,.575,.55625,.2234375,.2375,.5203125,.2234375,.853125,.55625,.575,.59375,.59375,.334375,.5,.315625,.55625,.5,.759375,.51875,.5,.48125,.334375,.2234375,.334375,.6],avg:.5279440789473684},"Hoefler Text":{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.2359375,.2234375,.3921875,.7125,.49375,.8859375,.771875,.2125,.3078125,.309375,.375,.4234375,.234375,.3125,.234375,.3,.5828125,.365625,.434375,.3921875,.5234375,.3984375,.5125,.4328125,.46875,.5125,.234375,.234375,.515625,.4234375,.515625,.340625,.7609375,.7359375,.6359375,.721875,.8125,.6375,.5875,.8078125,.853125,.4296875,.503125,.78125,.609375,.9609375,.8515625,.8140625,.6125,.8140625,.71875,.49375,.7125,.76875,.771875,1.125,.7765625,.7734375,.65625,.321875,.3078125,.321875,.3546875,.5,.3375,.446875,.5359375,.45,.5296875,.4546875,.425,.4921875,.54375,.2671875,.240625,.5390625,.25,.815625,.5375,.5234375,.5390625,.5421875,.365625,.36875,.35625,.5171875,.5015625,.75,.5,.509375,.44375,.2421875,.14375,.2421875,.35],avg:.5116447368421051},Montserrat:{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.2625,.2609375,.3734375,.696875,.615625,.8296875,.6703125,.203125,.3296875,.3296875,.3875,.575,.2125,.3828125,.2125,.3953125,.6625,.3625,.56875,.5640625,.6625,.5671875,.609375,.5890625,.6390625,.609375,.2125,.2125,.575,.575,.575,.5671875,1.034375,.7171875,.7546875,.7203125,.8265625,.6703125,.634375,.7734375,.8140625,.303125,.5078125,.7125,.5890625,.95625,.8140625,.8390625,.71875,.8390625,.7234375,.615625,.575,.7921875,.6984375,1.1125,.65625,.6359375,.6515625,.31875,.396875,.31875,.5765625,.5,.6,.590625,.678125,.5640625,.678125,.6046875,.375,.6875,.678125,.2703125,.365625,.6015625,.2703125,1.0625,.678125,.628125,.678125,.678125,.4015625,.4890625,.40625,.6734375,.5421875,.8796875,.534375,.5671875,.5125,.334375,.2953125,.334375,.575],avg:.571792763157895},monospace:{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.5984375,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6078125,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.61875,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.615625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6140625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625],avg:.6020559210526316},Overpass:{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.2296875,.2765625,.4203125,.68125,.584375,.8515625,.7015625,.2203125,.3453125,.3453125,.53125,.63125,.2234375,.3953125,.2234375,.509375,.65,.4046875,.6171875,.60625,.6484375,.60625,.6015625,.5375,.615625,.6015625,.2234375,.2234375,.63125,.63125,.63125,.5015625,.8203125,.696875,.6671875,.65,.6859375,.6015625,.559375,.690625,.7078125,.2953125,.565625,.678125,.58125,.8046875,.7109375,.740625,.6421875,.740625,.6765625,.6046875,.590625,.696875,.6640625,.853125,.65,.6671875,.6625,.3734375,.509375,.3734375,.63125,.5125,.4,.5328125,.5625,.51875,.5625,.546875,.3359375,.5625,.565625,.25625,.3203125,.55,.265625,.85,.565625,.5671875,.5625,.5625,.4046875,.4765625,.3796875,.565625,.521875,.7265625,.53125,.5390625,.5125,.3671875,.275,.3671875,.63125],avg:.5430756578947369},Palatino:{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.25,.278125,.371875,.60625,.5,.840625,.778125,.209375,.334375,.334375,.390625,.60625,.2578125,.334375,.25,.60625,.5,.5,.5,.5,.5,.5,.5,.5,.5,.5,.25,.25,.60625,.60625,.60625,.4453125,.7484375,.778125,.6109375,.709375,.775,.6109375,.55625,.7640625,.8328125,.3375,.346875,.7265625,.6109375,.946875,.83125,.7875,.6046875,.7875,.66875,.525,.6140625,.778125,.7234375,1,.6671875,.6671875,.6671875,.334375,.60625,.334375,.60625,.5,.334375,.5,.565625,.4453125,.6109375,.4796875,.340625,.55625,.5828125,.2921875,.2671875,.5640625,.2921875,.8828125,.5828125,.546875,.6015625,.5609375,.3953125,.425,.3265625,.603125,.565625,.834375,.5171875,.55625,.5,.334375,.60625,.334375,.60625],avg:.5408552631578947},RedHatText:{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.2328125,.2203125,.35625,.6890625,.55,.7390625,.6703125,.2140625,.4015625,.4015625,.4546875,.53125,.2203125,.45625,.2203125,.515625,.6609375,.3078125,.5484375,.5875,.61875,.5703125,.6203125,.559375,.6140625,.6203125,.2203125,.2234375,.465625,.534375,.465625,.5125,.7671875,.6609375,.6703125,.7265625,.728125,.6203125,.6109375,.8,.73125,.253125,.6,.6125,.6078125,.8625,.7390625,.8109375,.6546875,.809375,.6484375,.6234375,.6171875,.7125,.6609375,.8984375,.6546875,.646875,.60625,.3625,.5203125,.3625,.540625,.4609375,.5234375,.5265625,.584375,.509375,.5828125,.5578125,.3703125,.5828125,.553125,.2234375,.24375,.4890625,.2234375,.8453125,.553125,.58125,.584375,.5828125,.353125,.453125,.378125,.553125,.5015625,.6984375,.4875,.4984375,.459375,.3953125,.2921875,.3953125,.58125],avg:.5341940789473685},"sans-serif":{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.278125,.278125,.35625,.55625,.55625,.890625,.6671875,.1921875,.334375,.334375,.390625,.584375,.278125,.334375,.278125,.303125,.55625,.55625,.55625,.55625,.55625,.55625,.55625,.55625,.55625,.55625,.278125,.278125,.5859375,.584375,.5859375,.55625,1.015625,.6671875,.6671875,.7234375,.7234375,.6671875,.6109375,.778125,.7234375,.278125,.5,.6671875,.55625,.834375,.7234375,.778125,.6671875,.778125,.7234375,.6671875,.6109375,.7234375,.6671875,.9453125,.6671875,.6671875,.6109375,.278125,.35625,.278125,.478125,.55625,.334375,.55625,.55625,.5,.55625,.55625,.278125,.55625,.55625,.2234375,.2421875,.5,.2234375,.834375,.55625,.55625,.55625,.55625,.334375,.5,.278125,.55625,.5,.7234375,.5,.5,.5,.35625,.2609375,.3546875,.590625],avg:.5293256578947368},Seravek:{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.215625,.296875,.4171875,.6734375,.4953125,.9125,.740625,.2421875,.3375,.3375,.409375,.60625,.2609375,.35625,.25625,.41875,.5921875,.3515625,.475,.4875,.5375,.509375,.5484375,.4546875,.5421875,.5484375,.25625,.2546875,.5875,.6171875,.5875,.4578125,.8140625,.6765625,.5703125,.6109375,.684375,.5109375,.4953125,.678125,.6859375,.2625,.2625,.5859375,.4734375,.846875,.709375,.740625,.509375,.740625,.584375,.5015625,.528125,.675,.5953125,.9453125,.596875,.540625,.540625,.359375,.4203125,.359375,.5109375,.421875,.4046875,.5015625,.5421875,.446875,.5453125,.484375,.38125,.5140625,.5546875,.240625,.2640625,.490625,.2765625,.8625,.5546875,.546875,.5453125,.5453125,.3625,.41875,.3890625,.5453125,.4703125,.7546875,.4921875,.4609375,.453125,.4015625,.2640625,.4015625,.58125],avg:.5044078947368421},serif:{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.2484375,.334375,.409375,.5,.5,.834375,.778125,.18125,.334375,.334375,.5,.5640625,.25,.334375,.25,.278125,.5,.5,.5,.5,.5,.5,.5,.5,.5,.5,.278125,.278125,.5640625,.5640625,.5640625,.4453125,.921875,.7234375,.6671875,.6671875,.7234375,.6109375,.55625,.7234375,.7234375,.334375,.390625,.7234375,.6109375,.890625,.7234375,.7234375,.55625,.7234375,.6671875,.55625,.6109375,.7234375,.7234375,.9453125,.7234375,.7234375,.6109375,.334375,.340625,.334375,.4703125,.5,.3453125,.4453125,.5,.4453125,.5,.4453125,.3828125,.5,.5,.278125,.3359375,.5,.278125,.778125,.5,.5,.5,.5,.3375,.390625,.2796875,.5,.5,.7234375,.5,.5,.4453125,.48125,.2015625,.48125,.5421875],avg:.5126315789473684},Tahoma:{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.3109375,.3328125,.4015625,.728125,.546875,.9765625,.70625,.2109375,.3828125,.3828125,.546875,.728125,.303125,.3640625,.303125,.3953125,.546875,.546875,.546875,.546875,.546875,.546875,.546875,.546875,.546875,.546875,.3546875,.3546875,.728125,.728125,.728125,.475,.909375,.6109375,.590625,.6015625,.6796875,.5625,.521875,.66875,.6765625,.3734375,.4171875,.6046875,.4984375,.771875,.66875,.7078125,.5515625,.7078125,.6375,.5578125,.5875,.65625,.60625,.903125,.58125,.5890625,.559375,.3828125,.39375,.3828125,.728125,.5625,.546875,.525,.553125,.4625,.553125,.5265625,.3546875,.553125,.5578125,.2296875,.328125,.51875,.2296875,.840625,.5578125,.54375,.553125,.553125,.3609375,.446875,.3359375,.5578125,.4984375,.7421875,.4953125,.4984375,.4453125,.48125,.3828125,.48125,.728125],avg:.5384374999999998},"Times New Roman":{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.2484375,.334375,.409375,.5,.5,.834375,.778125,.18125,.334375,.334375,.5,.5640625,.25,.334375,.25,.28125,.5,.5,.5,.5,.5,.5,.5,.5,.5,.5,.278125,.278125,.5640625,.5640625,.5640625,.4453125,.921875,.7234375,.6671875,.6671875,.7234375,.6109375,.55625,.7234375,.7234375,.334375,.390625,.73125,.6109375,.890625,.7375,.7234375,.55625,.7234375,.6765625,.55625,.6109375,.7234375,.7234375,.9453125,.7234375,.7234375,.6109375,.334375,.28125,.334375,.4703125,.51875,.334375,.4453125,.503125,.4453125,.503125,.4453125,.4359375,.5,.5,.278125,.35625,.50625,.278125,.778125,.5,.5,.5046875,.5,.340625,.390625,.2796875,.5,.5,.7234375,.5,.5,.4453125,.48125,.2015625,.48125,.5421875],avg:.5134375},"Trebuchet MS":{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.3015625,.3671875,.325,.53125,.525,.6015625,.70625,.1609375,.3671875,.3671875,.3671875,.525,.3671875,.3671875,.3671875,.525,.525,.525,.525,.525,.525,.525,.525,.525,.525,.525,.3671875,.3671875,.525,.525,.525,.3671875,.771875,.590625,.5671875,.5984375,.6140625,.5359375,.525,.6765625,.6546875,.2796875,.4765625,.5765625,.5078125,.7109375,.6390625,.675,.5578125,.7421875,.5828125,.48125,.58125,.6484375,.5875,.853125,.5578125,.5703125,.5515625,.3671875,.3578125,.3671875,.525,.53125,.525,.5265625,.5578125,.4953125,.5578125,.546875,.375,.503125,.546875,.2859375,.3671875,.5046875,.2953125,.83125,.546875,.5375,.5578125,.5578125,.3890625,.40625,.396875,.546875,.490625,.7453125,.5015625,.49375,.475,.3671875,.525,.3671875,.525],avg:.5085197368421052},Verdana:{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.35,.39375,.459375,.81875,.6359375,1.0765625,.759375,.26875,.4546875,.4546875,.6359375,.81875,.3640625,.4546875,.3640625,.4703125,.6359375,.6359375,.6359375,.6359375,.6359375,.6359375,.6359375,.6359375,.6359375,.6359375,.4546875,.4546875,.81875,.81875,.81875,.546875,1,.684375,.6859375,.6984375,.771875,.6328125,.575,.7765625,.7515625,.421875,.4546875,.69375,.5578125,.84375,.7484375,.7875,.603125,.7875,.7,.684375,.6171875,.7328125,.684375,.9890625,.6859375,.615625,.6859375,.4546875,.46875,.4546875,.81875,.6421875,.6359375,.6015625,.6234375,.521875,.6234375,.596875,.384375,.6234375,.6328125,.275,.3765625,.5921875,.275,.9734375,.6328125,.6078125,.6234375,.6234375,.43125,.521875,.3953125,.6328125,.5921875,.81875,.5921875,.5921875,.5265625,.6359375,.4546875,.6359375,.81875],avg:.6171875000000003}},ut={mm:3.8,sm:38,pt:1.33,pc:16,in:96,px:1},lt={em:1,ex:.5},ft={lineHeight:1,letterSpacing:"0px",fontSize:0,angle:0,fontFamily:""},pt=t=>Array.isArray(t)?t:t.toString().split(/\r\n|\r|\n/g),dt=(t,e,n)=>{const r=(t=>t*Math.PI/180)(n);return Math.abs(Math.cos(r)*t)+Math.abs(Math.sin(r)*e)},ht=(t,e)=>{const n=t.match(/[a-zA-Z%]+/)?.[0],r=Number(t.match(/[0-9.,]+/));let o;return o=n?ut.hasOwnProperty(n)?r*ut[n]:lt.hasOwnProperty(n)?(e?r*e:r*ft.fontSize)*lt[n]:r:r||0,o},vt=(t,e)=>{const n=Array.isArray(t)?t[e]:t,r=p()({},n,ft);return Object.assign({},r,{fontFamily:r.fontFamily,letterSpacing:"number"==typeof r.letterSpacing?r.letterSpacing:ht(String(r.letterSpacing),r.fontSize),fontSize:"number"==typeof r.fontSize?r.fontSize:ht(String(r.fontSize))})},gt=(t,e)=>{const n=Array.isArray(e)?e[0]&&e[0].angle:e&&e.angle,r=((t,e)=>void 0===t||""===t||null===t?0:pt(t).reduce(((t,n,r)=>{const o=vt(e,r),i=n.toString().match(/[(A-Z)(0-9)]/)?1.15*o.fontSize:o.fontSize;return t+o.lineHeight*i}),0))(t,e),o=((t,e)=>{if(void 0===t||""===t||null===t)return 0;const n=pt(t).map(((t,n)=>{const r=t.toString().length,{fontSize:o,letterSpacing:i,fontFamily:a}=vt(e,n),s=(t=>{const e=t.split(",").map((t=>t.replace(/'|"/g,""))).find((t=>ct[t]))||"Helvetica";return ct[e]})(a);return t.toString().split("").map((t=>t.charCodeAt(0)<s.widths.length?s.widths[t.charCodeAt(0)]:s.avg)).reduce(((t,e)=>e+t),0)*o+i*Math.max(r-1,0)}));return Math.max(...n)})(t,e);return{width:n?dt(o,r,n):o,height:1.05*(n?dt(r,o,n):r)}},yt=st()((()=>{const t=document.createElementNS("http://www.w3.org/2000/svg","svg");t.setAttribute("xlink","http://www.w3.org/1999/xlink"),t.setAttribute("width","300"),t.setAttribute("height","300"),t.setAttribute("viewBox","0 0 300 300"),t.setAttribute("aria-hidden","true");const e=document.createElementNS("http://www.w3.org/2000/svg","text");return t.appendChild(e),t.style.position="fixed",t.style.top="-9999px",t.style.left="-9999px",document.body.appendChild(t),e})),xt=t=>t?`${t.angle}:${t.fontFamily}:${t.fontSize}:${t.letterSpacing}:${t.lineHeight}`:"null",mt=st()(((t,e)=>{let n=yt();n.isConnected||(yt.cache.clear?.(),n=yt());const r=pt(t);let o=0;for(const[t,i]of r.entries()){const r=document.createElementNS("http://www.w3.org/2000/svg","tspan"),a=vt(e,t);r.style.fontFamily=a.fontFamily,r.style.fontSize=`${a.fontSize}px`,r.style.lineHeight=a.lineHeight,r.style.fontFamily=a.fontFamily,r.style.letterSpacing=a.letterSpacing,r.textContent=i,r.setAttribute("x","0"),r.setAttribute("y",`${o}`),n.appendChild(r),o+=a.lineHeight*r.getBoundingClientRect().height}const{width:i}=n.getBoundingClientRect();return n.innerHTML="",{width:e?.angle?dt(i,o,e?.angle):i,height:e?.angle?dt(o,i,e?.angle):o}}),((t,e)=>`${Array.isArray(t)?t.join():t}::${Array.isArray(e)?e.map(xt).join():xt(e)}`)),bt=(t,e)=>function(t,e,n){return void 0===n&&(n=!1),"undefined"==typeof window||void 0===window.document||void 0===window.document.createElement||n?gt(t,e):mt(t,e)}(t,e),wt={fill:"#252525",fontSize:14,fontFamily:"'Gill Sans', 'Gill Sans MT', 'Seravek', 'Trebuchet MS', sans-serif",stroke:"transparent"},St=(t,e)=>{if(!t.datum)return 0;const n=function(t,e){const{scale:n,polar:r,horizontal:o}=t,i=g(e),a=t.origin||{x:0,y:0},s=o?n.y(i.y):n.x(i.x),c=o?n.y(i.y0):n.x(i.x0),u=o?n.x(i.x):n.y(i.y),l=o?n.x(i.x0):n.y(i.y0);return{x:r?u*Math.cos(s)+a.x:s,x0:r?l*Math.cos(c)+a.x:c,y:r?-u*Math.sin(s)+a.y:u,y0:r?-l*Math.sin(c)+a.x:l}}(t,t.datum);return n[e]},At=t=>{const e=t&&t.fontSize;if("number"==typeof e)return e;if(null==e)return wt.fontSize;if("string"==typeof e){const t=Number(e.replace("px",""));return isNaN(t)?wt.fontSize:t}return wt.fontSize},jt=function(t,e){return void 0===e&&(e=0),Array.isArray(t)?t[e]||t[0]:t},Ct=t=>{const{backgroundStyle:e,backgroundPadding:n}=t;return Array.isArray(e)&&!Q()(e)||Array.isArray(n)&&!Q()(n)},Ot=(t,e,n)=>{const{polar:r}=t,o=jt(t.style),i=r?function(t,e){const{labelPlacement:n,datum:r}=t;if(!n||"vertical"===n)return 0;const o=function(t,e){const{x:n}=g(e);return("number"==typeof(r=t.scale.x(n))?r/(Math.PI/180):r)%360;var r}(t,r);let i=0;return 0===o||180===o?i=90:o>0&&o<180?i=90-o:o>180&&o<360&&(i=270-o),i+(o>90&&o<180||o>270?1:-1)*("perpendicular"===n?0:90)}(t):0,a=void 0===o.angle?x(t.angle,t):o.angle,s=void 0===a?i:a,c=t.transform||o.transform,u=c&&x(c,t);return u||s?it(u,s&&{rotate:[s,e,n]}):void 0},Et=(t,e)=>{const{direction:n,textAnchor:r,x:o,dx:i}=t;if("rtl"===n)return o-e;switch(r){case"middle":return Math.round(o-e/2);case"end":return Math.round(o-e);default:return o+(i||0)}},Pt=(t,e)=>{const{verticalAnchor:n,y:r,originalDy:o=0}=t,i=r+o;switch(n){case"start":return Math.floor(i);case"end":return Math.ceil(i-e);default:return Math.floor(i-e/2)}},_t=(t,e)=>Ct(t)?((t,e)=>{const{dy:n,dx:r,transform:o,backgroundStyle:i,backgroundPadding:a,backgroundComponent:s,inline:c,y:u}=t,l=e.map(((t,o)=>{const i=jt(e,o-1),s=t.textSize,l=t.fontSize*t.lineHeight,f=Math.ceil(l),p=jt(a,o),d=jt(a,o-1),h=c&&r||0,v=o&&!c?i.fontSize*i.lineHeight+d.top+d.bottom:n-.5*l-(t.fontSize-t.capHeight);return{textHeight:f,labelSize:s,heightWithPadding:f+p.top+p.bottom,widthWithPadding:s.width+p.left+p.right+h,y:u,fontSize:t.fontSize,dy:v}}));return l.map(((e,n)=>{const r=Et(t,e.labelSize.width),f=l.slice(0,n+1).reduce(((t,e)=>t+e.dy),u),d=jt(a,n),v=e.heightWithPadding,g=c?((t,e,n)=>{const{textAnchor:r}=t,o=e.map((t=>t.widthWithPadding)),i=-o.reduce(((t,e)=>t+e),0)/2;switch(r){case"start":return o.reduce(((t,e,r)=>r<n?t+e:t),0);case"end":return o.reduce(((t,e,r)=>r>n?t-e:t),0);default:return o.reduce(((t,e,r)=>r===n?t+e/2:t+(r<n?e:0)),i)}})(t,l,n)+r-d.left:r,y=c?Pt(t,v)-d.top:f,x={key:`tspan-background-${n}`,height:v,style:jt(i,n),width:e.widthWithPadding,transform:o,x:g-d.left,y:y};return h().cloneElement(s,p()({},s.props,x))}))})(t,e):((t,e)=>{const{dx:n=0,transform:r,backgroundComponent:o,backgroundStyle:i,inline:a,backgroundPadding:s,capHeight:c}=t,u=e.map((t=>t.textSize)),l=a?Math.max(...u.map((t=>t.height))):u.reduce(((t,n,r)=>{const o=r?0:c/2;return t+n.height*(e[r].lineHeight-o)}),0),f=a?u.reduce(((t,e,r)=>{const o=r?n:0;return t+e.width+o}),0):Math.max(...u.map((t=>t.width))),d=Et(t,f),v=Pt(t,l),g={key:"background",height:l+s.top+s.bottom,style:i,transform:r,width:f+s.left+s.right,x:a?d-s.left:d+n-s.left,y:v};return h().cloneElement(o,p()({},o.props,g))})(t,e),kt=(t,e,n)=>{const{inline:r}=e,o=jt(t,n);return n&&!r?((t,e,n)=>{const r=jt(t,e),o=jt(t,e-1),i=o.fontSize*o.lineHeight,a=r.fontSize*r.lineHeight,s=o.fontSize-o.capHeight,c=r.fontSize-r.capHeight,u=i-o.fontSize/2+r.fontSize/2-i/2+a/2-c/2+s/2;return Ct(n)?u+r.backgroundPadding.top+o.backgroundPadding.bottom:u})(t,n,e):r?0===n?o.backgroundPadding.top:void 0:o.backgroundPadding.top},Mt={backgroundComponent:h().createElement(nt,null),groupComponent:h().createElement("g",null),direction:"inherit",textComponent:h().createElement(rt,null),tspanComponent:h().createElement(ot,null),capHeight:.71,lineHeight:1},zt=t=>{const e=(t=>{const e=((t,e)=>{if(null==t)return;if(Array.isArray(t))return t.map((t=>x(t,e)));const n=x(t,e);return null!=n?Array.isArray(n)?n:`${n}`.split("\n"):void 0})(t.text,t),n=((t,e)=>{if(e.disableInlineStyles){const n=m(t,e);return{fontSize:At(n)}}const n=t=>{const n=m(t?p()({},t,wt):wt,e);return Object.assign({},n,{fontSize:At(n)})};return Array.isArray(t)&&!Q()(t)?t.map((t=>n(t))):n(t)})(t.style,Object.assign({},t,{text:e})),r=((t,e)=>{if(t)return Array.isArray(t)&&!Q()(t)?t.map((t=>m(t,e))):m(t,e)})(t.backgroundStyle,Object.assign({},t,{text:e,style:n})),o=(t=>t.backgroundPadding&&Array.isArray(t.backgroundPadding)?t.backgroundPadding.map((e=>y({padding:x(e,t)}))):y({padding:x(t.backgroundPadding,t)}))(Object.assign({},t,{text:e,style:n,backgroundStyle:r})),i=x(t.id,t);return Object.assign({},t,{backgroundStyle:r,backgroundPadding:o,style:n,text:e,id:i})})({...Mt,...t});if(null===e.text||void 0===e.text)return null;const n=(t=>{const e=x(t.ariaLabel,t),n=jt(t.style),r=(t=>{const e=x(t.lineHeight,t);return Array.isArray(e)&&Q()(e)?[1]:e})(t),o=t.direction?x(t.direction,t):"inherit",i=t.textAnchor?x(t.textAnchor,t):n.textAnchor||"start",a=t.verticalAnchor?x(t.verticalAnchor,t):n.verticalAnchor||"middle",s=t.dx?x(t.dx,t):0,c=((t,e,n)=>{const r=t.dy?x(t.dy,t):0,o=t.inline?1:t.text.length,i=x(t.capHeight,t),a=e?x(e,t):"middle",s=[...Array(o).keys()].map((e=>jt(t.style,e).fontSize)),c=[...Array(o).keys()].map((t=>jt(n,t)));if("start"===a)return r+(i/2+c[0]/2)*s[0];if(t.inline)return"end"===a?r+(i/2-c[0]/2)*s[0]:r+i/2*s[0];if(1===o)return"end"===a?r+(i/2+(.5-o)*c[0])*s[0]:r+(i/2+(.5-o/2)*c[0])*s[0];const u=[...Array(o).keys()].reduce(((t,e)=>t+(i/2+(.5-o)*c[e])*s[e]/o),0);return"end"===a?r+u:r+u/2+i/2*c[o-1]*s[o-1]})(t,a,r),u=void 0!==t.x?t.x:St(t,"x"),l=void 0!==t.y?t.y:St(t,"y"),f=Ot(t,u,l);return Object.assign({},t,{ariaLabel:e,lineHeight:r,direction:o,textAnchor:i,verticalAnchor:a,dx:s,dy:c,originalDy:x(t.dy,t),transform:f,x:u,y:l})})(e),{text:r,style:o,capHeight:i,backgroundPadding:a,lineHeight:s}=n,c=r.map(((t,e)=>{const n=jt(o,e),r=ht(`${i}em`,n.fontSize),c=jt(s,e);return{style:n,fontSize:n.fontSize||wt.fontSize,capHeight:r,text:t,textSize:bt(t,n),lineHeight:c,backgroundPadding:jt(a,e)}})),u=((t,e)=>{const{ariaLabel:n,inline:r,className:o,title:i,events:a,direction:s,text:c,textAnchor:u,dx:l,dy:f,transform:p,x:d,y:v,desc:g,id:y,tabIndex:m,tspanComponent:b,textComponent:w}=t,S=Z(t),A={"aria-label":n,key:"text",...a,direction:s,dx:l,x:d,y:v+f,transform:p,className:o,title:i,desc:x(g,t),tabIndex:x(m,t),id:y,...S},j=c.map(((n,o)=>{const i=e[o].style,a={key:`${y}-key-${o}`,x:r?void 0:d,dx:r?l+e[o].backgroundPadding.left:l,dy:kt(e,t,o),textAnchor:i.textAnchor||u,style:i,children:n};return h().cloneElement(b,a)}));return h().cloneElement(w,A,j)})(n,c);if(e.backgroundStyle){const t=[_t(n,c),u],r=h().cloneElement(e.groupComponent,{},t);return e.renderInPortal?h().createElement(tt,null,r):r}return e.renderInPortal?h().createElement(tt,null,u):u};function It(){return It=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},It.apply(this,arguments)}zt.displayName="VictoryLabel",zt.role="label",zt.defaultStyles=wt;const Tt=(0,d.forwardRef)(((t,e)=>{const{desc:n,id:r,tabIndex:o,origin:i,...a}=t,s={vectorEffect:"non-scaling-stroke",id:x(r,t)?.toString(),tabIndex:x(o,t),...a};return n?h().createElement("line",It({},s,{ref:e}),h().createElement("desc",null,n)):h().createElement("line",It({},s,{ref:e}))})),Ht={lineComponent:h().createElement(Tt,null),role:"presentation",shapeRendering:"auto"},Rt=t=>{const e=(t=>{const e=x(t.ariaLabel,t),n=x(t.desc,t),r=x(t.id,t),o=m(Object.assign({stroke:"black"},t.style),t),i=x(t.tabIndex,t);return Object.assign({},t,{ariaLabel:e,desc:n,id:r,style:o,tabIndex:i})})({...Ht,...t});return h().cloneElement(e.lineComponent,{...e.events,"aria-label":e.ariaLabel,style:e.style,desc:e.desc,tabIndex:e.tabIndex,className:e.className,role:e.role,shapeRendering:e.shapeRendering,x1:e.x1,x2:e.x2,y1:e.y1,y2:e.y2,transform:e.transform,clipPath:e.clipPath})};function Nt(t){return class extends t{static displayName="VictoryCursorContainer";static defaultProps={...Y.defaultProps,cursorLabelComponent:h().createElement(zt,null),cursorLabelOffset:{x:5,y:-10},cursorComponent:h().createElement(Rt,null)};static defaultEvents=t=>[{target:"parent",eventHandlers:{onMouseLeave:(e,n)=>t.disable?{}:w.onMouseLeave(e,n),onTouchCancel:()=>[],onMouseMove:(e,n)=>t.disable?{}:w.onMouseMove(e,n),onTouchMove:(e,n)=>t.disable?{}:w.onMouseMove(e,n)}}];getCursorPosition(t){const{cursorValue:e,defaultCursorValue:n,domain:r,cursorDimension:o}=t;return e||("number"==typeof n?{x:(r.x[0]+r.x[1])/2,y:(r.y[0]+r.y[1])/2,[o]:n}:n)}getCursorLabelOffset(t){const{cursorLabelOffset:e}=t;return"number"==typeof e?{x:e,y:e}:e}getPadding(t){return void 0===t.padding?y(t.children.find((t=>A()(t.props)&&void 0!==t.props.padding)).props):y(t)}getCursorElements(t){const{scale:e,cursorLabelComponent:n,cursorLabel:r,cursorComponent:o,width:i,height:a,name:s,horizontal:c,theme:u}=t,l=w.getDimension(t),f=this.getCursorPosition(t),d=this.getCursorLabelOffset(t);if(!f)return[];const v=[],g=this.getPadding(t),y={x:c?e.y(f.y):e.x(f.x),y:c?e.x(f.x):e.y(f.y)};if(r){let t=p()({active:!0},n.props,{x:y.x+d.x,y:y.y+d.y,datum:f,active:!0,key:`${s}-cursor-label`});if("tooltip"===((m=n)&&m.type&&m.type.role)){const e=u&&u.tooltip||{};t=p()({},t,e)}v.push(h().cloneElement(n,p()({},t,{text:x(r,t)})))}var m;const b=Object.assign({stroke:"black"},o.props.style);return"x"!==l&&void 0!==l||v.push(h().cloneElement(o,{key:`${s}-x-cursor`,x1:y.x,x2:y.x,y1:g.top,y2:a-g.bottom,style:b})),"y"!==l&&void 0!==l||v.push(h().cloneElement(o,{key:`${s}-y-cursor`,x1:g.left,x2:i-g.right,y1:y.y,y2:y.y,style:b})),v}getChildren(t){return[...h().Children.toArray(t.children),...this.getCursorElements(t)]}}}const $t=Nt(Y)}(),o}()}));
|
|
2
2
|
//# sourceMappingURL=victory-cursor-container.min.js.map
|
package/es/cursor-helpers.d.ts
CHANGED
|
@@ -1,33 +1,33 @@
|
|
|
1
|
-
/// <reference types="lodash" />
|
|
2
|
-
import { Selection } from "victory-core";
|
|
3
|
-
declare class CursorHelpersClass {
|
|
4
|
-
getDimension(props: any): any;
|
|
5
|
-
withinBounds(point: any, bounds: any): boolean;
|
|
6
|
-
private handleMouseMove;
|
|
7
|
-
onMouseMove: import("lodash").DebouncedFunc<(evt: any, targetProps: any) => {
|
|
8
|
-
target: string;
|
|
9
|
-
eventKey: string;
|
|
10
|
-
mutation: () => {
|
|
11
|
-
cursorValue: Selection.SVGCoordinateType | null;
|
|
12
|
-
parentSVG: any;
|
|
13
|
-
};
|
|
14
|
-
}[]>;
|
|
15
|
-
onMouseLeave: (evt: any, targetProps: any) => {
|
|
16
|
-
target: string;
|
|
17
|
-
eventKey: string;
|
|
18
|
-
mutation: () => {
|
|
19
|
-
cursorValue: Selection.SVGCoordinateType | null;
|
|
20
|
-
parentSVG: any;
|
|
21
|
-
};
|
|
22
|
-
}[];
|
|
23
|
-
onTouchEnd: (evt: any, targetProps: any) => {
|
|
24
|
-
target: string;
|
|
25
|
-
eventKey: string;
|
|
26
|
-
mutation: () => {
|
|
27
|
-
cursorValue: null;
|
|
28
|
-
};
|
|
29
|
-
}[];
|
|
30
|
-
}
|
|
31
|
-
export declare const CursorHelpers: CursorHelpersClass;
|
|
32
|
-
export {};
|
|
1
|
+
/// <reference types="lodash" />
|
|
2
|
+
import { Selection } from "victory-core";
|
|
3
|
+
declare class CursorHelpersClass {
|
|
4
|
+
getDimension(props: any): any;
|
|
5
|
+
withinBounds(point: any, bounds: any): boolean;
|
|
6
|
+
private handleMouseMove;
|
|
7
|
+
onMouseMove: import("lodash").DebouncedFunc<(evt: any, targetProps: any) => {
|
|
8
|
+
target: string;
|
|
9
|
+
eventKey: string;
|
|
10
|
+
mutation: () => {
|
|
11
|
+
cursorValue: Selection.SVGCoordinateType | null;
|
|
12
|
+
parentSVG: any;
|
|
13
|
+
};
|
|
14
|
+
}[]>;
|
|
15
|
+
onMouseLeave: (evt: any, targetProps: any) => {
|
|
16
|
+
target: string;
|
|
17
|
+
eventKey: string;
|
|
18
|
+
mutation: () => {
|
|
19
|
+
cursorValue: Selection.SVGCoordinateType | null;
|
|
20
|
+
parentSVG: any;
|
|
21
|
+
};
|
|
22
|
+
}[];
|
|
23
|
+
onTouchEnd: (evt: any, targetProps: any) => {
|
|
24
|
+
target: string;
|
|
25
|
+
eventKey: string;
|
|
26
|
+
mutation: () => {
|
|
27
|
+
cursorValue: null;
|
|
28
|
+
};
|
|
29
|
+
}[];
|
|
30
|
+
}
|
|
31
|
+
export declare const CursorHelpers: CursorHelpersClass;
|
|
32
|
+
export {};
|
|
33
33
|
//# sourceMappingURL=cursor-helpers.d.ts.map
|