@spaziodati/atoka-design-system 2.2.12 → 2.2.14

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.
Files changed (74) hide show
  1. package/AddableItems/index.js +1 -1
  2. package/Alert/index.js +1 -1
  3. package/Badge/index.js +1 -1
  4. package/Bs4V3Wrapper/index.js +1 -1
  5. package/BubbleChart/index.js +1 -1
  6. package/Button/index.js +1 -1
  7. package/ButtonDropdown/index.js +1 -1
  8. package/CardsPage/CardsPageCards.d.ts +5 -0
  9. package/CardsPage/index.js +1 -1
  10. package/CursorPagination/index.js +1 -1
  11. package/DatePicker/index.js +1 -1
  12. package/DetailPage/index.js +1 -1
  13. package/Dropdown/index.js +1 -1
  14. package/EditableString/index.js +1 -1
  15. package/EllipsableContent/index.js +1 -1
  16. package/EmptyState/index.js +1 -1
  17. package/Facet/index.js +1 -1
  18. package/FacetSection/index.js +1 -1
  19. package/FadeAnimation/index.js +1 -1
  20. package/FeedbackButton/index.js +1 -1
  21. package/Form/index.js +1 -1
  22. package/Funnel/index.js +1 -1
  23. package/Gauge/index.js +1 -1
  24. package/GridCard/CardMenu.d.ts +5 -0
  25. package/GridCard/CardTitle.d.ts +5 -0
  26. package/GridCard/GridCard.d.ts +4 -4
  27. package/GridCard/GridCardHeader.d.ts +2 -2
  28. package/GridCard/index.js +1 -1
  29. package/HighlightableText/index.js +1 -1
  30. package/Histogram/index.js +1 -1
  31. package/InlineStringEditor/index.js +1 -1
  32. package/InputGroup/index.js +1 -1
  33. package/Jumbotron/index.js +1 -1
  34. package/Map/index.js +1 -1
  35. package/Modal/index.js +1 -1
  36. package/Navbar/index.js +1 -1
  37. package/Pagination/index.js +1 -1
  38. package/PieChart/index.js +1 -1
  39. package/PublicFooter/index.js +1 -1
  40. package/PublicNavbar/index.js +1 -1
  41. package/RecordBit/index.js +1 -1
  42. package/ResultItemCard/index.js +1 -1
  43. package/RowCard/Fixtures.d.ts +2 -0
  44. package/RowCard/RowCard.d.ts +21 -0
  45. package/RowCard/RowCardActions.d.ts +8 -0
  46. package/RowCard/RowCardContent.d.ts +10 -0
  47. package/RowCard/RowCardHeader.d.ts +8 -0
  48. package/RowCard/RowCardLayout.d.ts +22 -0
  49. package/RowCard/index.d.ts +1 -0
  50. package/RowCard/index.js +1 -0
  51. package/SelectDropdown/index.js +1 -1
  52. package/Spinner/index.js +1 -1
  53. package/StatisticsItemCard/index.js +1 -1
  54. package/StatisticsItemNumeric/index.js +1 -1
  55. package/StatisticsLegend/index.js +1 -1
  56. package/StatisticsTooltip/index.js +1 -1
  57. package/Suggester/index.js +1 -1
  58. package/SunBurst/index.js +1 -1
  59. package/TabSwitcher/index.js +1 -1
  60. package/Title/index.js +1 -1
  61. package/{Toasts → Toast}/Toast.d.ts +0 -0
  62. package/{Toasts → Toast}/ToastContainer.d.ts +0 -0
  63. package/{Toasts → Toast}/ToastHeader.d.ts +0 -0
  64. package/{Toasts → Toast}/index.d.ts +0 -0
  65. package/{Toasts → Toast}/index.js +1 -1
  66. package/ToggleButtonGroup/index.js +1 -1
  67. package/Tooltip/index.js +1 -1
  68. package/Utils/index.js +1 -1
  69. package/{atoka-design-system-2.2.12.min.css → atoka-design-system-2.2.14.min.css} +1 -1
  70. package/index.d.ts +1 -1
  71. package/index.js +1 -1
  72. package/package.json +1 -1
  73. package/GridCard/GridCardMenu.d.ts +0 -5
  74. package/GridCard/GridCardTitle.d.ts +0 -6
package/Funnel/index.js CHANGED
@@ -1,2 +1,2 @@
1
1
  /*! For license information please see index.js.LICENSE.txt */
2
- !function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(require("@fortawesome/react-fontawesome"),require("@nivo/funnel"),require("classnames"),require("react"),require("react-bootstrap/Form"),require("react-bootstrap/FormControl"),require("react-bootstrap/FormText"),require("react-bootstrap/OverlayTrigger")):"function"==typeof define&&define.amd?define("atoka-design-system",["@fortawesome/react-fontawesome","@nivo/funnel","classnames","react","react-bootstrap/Form","react-bootstrap/FormControl","react-bootstrap/FormText","react-bootstrap/OverlayTrigger"],e):"object"==typeof exports?exports["atoka-design-system"]=e(require("@fortawesome/react-fontawesome"),require("@nivo/funnel"),require("classnames"),require("react"),require("react-bootstrap/Form"),require("react-bootstrap/FormControl"),require("react-bootstrap/FormText"),require("react-bootstrap/OverlayTrigger")):t["atoka-design-system"]=e(t["@fortawesome/react-fontawesome"],t["@nivo/funnel"],t.classnames,t.react,t["react-bootstrap/Form"],t["react-bootstrap/FormControl"],t["react-bootstrap/FormText"],t["react-bootstrap/OverlayTrigger"])}(self,(function(t,e,r,n,o,a,i,l){return(()=>{var u,c={9172:(t,e,r)=>{var n=r(6496).default;function o(){"use strict";t.exports=o=function(){return e},t.exports.__esModule=!0,t.exports.default=t.exports;var e={},r=Object.prototype,a=r.hasOwnProperty,i="function"==typeof Symbol?Symbol:{},l=i.iterator||"@@iterator",u=i.asyncIterator||"@@asyncIterator",c=i.toStringTag||"@@toStringTag";function s(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{s({},"")}catch(t){s=function(t,e,r){return t[e]=r}}function p(t,e,r,n){var o=e&&e.prototype instanceof d?e:d,a=Object.create(o.prototype),i=new S(n||[]);return a._invoke=function(t,e,r){var n="suspendedStart";return function(o,a){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw a;return j()}for(r.method=o,r.arg=a;;){var i=r.delegate;if(i){var l=N(i,r);if(l){if(l===h)continue;return l}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var u=f(t,e,r);if("normal"===u.type){if(n=r.done?"completed":"suspendedYield",u.arg===h)continue;return{value:u.arg,done:r.done}}"throw"===u.type&&(n="completed",r.method="throw",r.arg=u.arg)}}}(t,r,i),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=p;var h={};function d(){}function y(){}function m(){}var v={};s(v,l,(function(){return this}));var g=Object.getPrototypeOf,b=g&&g(g(E([])));b&&b!==r&&a.call(b,l)&&(v=b);var w=m.prototype=d.prototype=Object.create(v);function x(t){["next","throw","return"].forEach((function(e){s(t,e,(function(t){return this._invoke(e,t)}))}))}function O(t,e){function r(o,i,l,u){var c=f(t[o],t,i);if("throw"!==c.type){var s=c.arg,p=s.value;return p&&"object"==n(p)&&a.call(p,"__await")?e.resolve(p.__await).then((function(t){r("next",t,l,u)}),(function(t){r("throw",t,l,u)})):e.resolve(p).then((function(t){s.value=t,l(s)}),(function(t){return r("throw",t,l,u)}))}u(c.arg)}var o;this._invoke=function(t,n){function a(){return new e((function(e,o){r(t,n,e,o)}))}return o=o?o.then(a,a):a()}}function N(t,e){var r=t.iterator[e.method];if(void 0===r){if(e.delegate=null,"throw"===e.method){if(t.iterator.return&&(e.method="return",e.arg=void 0,N(t,e),"throw"===e.method))return h;e.method="throw",e.arg=new TypeError("The iterator does not provide a 'throw' method")}return h}var n=f(r,t.iterator,e.arg);if("throw"===n.type)return e.method="throw",e.arg=n.arg,e.delegate=null,h;var o=n.arg;return o?o.done?(e[t.resultName]=o.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,h):o:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,h)}function k(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function M(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function S(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(k,this),this.reset(!0)}function E(t){if(t){var e=t[l];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var r=-1,n=function e(){for(;++r<t.length;)if(a.call(t,r))return e.value=t[r],e.done=!1,e;return e.value=void 0,e.done=!0,e};return n.next=n}}return{next:j}}function j(){return{value:void 0,done:!0}}return y.prototype=m,s(w,"constructor",m),s(m,"constructor",y),y.displayName=s(m,c,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===y||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,m):(t.__proto__=m,s(t,c,"GeneratorFunction")),t.prototype=Object.create(w),t},e.awrap=function(t){return{__await:t}},x(O.prototype),s(O.prototype,u,(function(){return this})),e.AsyncIterator=O,e.async=function(t,r,n,o,a){void 0===a&&(a=Promise);var i=new O(p(t,r,n,o),a);return e.isGeneratorFunction(r)?i:i.next().then((function(t){return t.done?t.value:i.next()}))},x(w),s(w,c,"Generator"),s(w,l,(function(){return this})),s(w,"toString",(function(){return"[object Generator]"})),e.keys=function(t){var e=[];for(var r in t)e.push(r);return e.reverse(),function r(){for(;e.length;){var n=e.pop();if(n in t)return r.value=n,r.done=!1,r}return r.done=!0,r}},e.values=E,S.prototype={constructor:S,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(M),!t)for(var e in this)"t"===e.charAt(0)&&a.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function r(r,n){return i.type="throw",i.arg=t,e.next=r,n&&(e.method="next",e.arg=void 0),!!n}for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n],i=o.completion;if("root"===o.tryLoc)return r("end");if(o.tryLoc<=this.prev){var l=a.call(o,"catchLoc"),u=a.call(o,"finallyLoc");if(l&&u){if(this.prev<o.catchLoc)return r(o.catchLoc,!0);if(this.prev<o.finallyLoc)return r(o.finallyLoc)}else if(l){if(this.prev<o.catchLoc)return r(o.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return r(o.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&a.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var o=n;break}}o&&("break"===t||"continue"===t)&&o.tryLoc<=e&&e<=o.finallyLoc&&(o=null);var i=o?o.completion:{};return i.type=t,i.arg=e,o?(this.method="next",this.next=o.finallyLoc,h):this.complete(i)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),h},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),M(r),h}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;M(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:E(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=void 0),h}},e}t.exports=o,t.exports.__esModule=!0,t.exports.default=t.exports},6496:t=>{function e(r){return t.exports=e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},t.exports.__esModule=!0,t.exports.default=t.exports,e(r)}t.exports=e,t.exports.__esModule=!0,t.exports.default=t.exports},9673:(t,e,r)=>{var n=r(6496),o=r(9172)();t.exports=o;try{regeneratorRuntime=o}catch(t){"object"===("undefined"==typeof globalThis?"undefined":n(globalThis))?globalThis.regeneratorRuntime=o:Function("r","regeneratorRuntime = r")(o)}},6627:(t,e,r)=>{"use strict";r.d(e,{MR:()=>a,ZP:()=>l});var n=r(4329);function o(t){return o="function"==typeof Symbol&&"symbol"===(0,n.Z)(Symbol.iterator)?function(t){return(0,n.Z)(t)}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":(0,n.Z)(t)},o(t)}function a(t,e,r){var n=r.value;if("function"!=typeof n)throw new TypeError("@boundMethod decorator can only be applied to methods not: ".concat(o(n)));var a=!1;return{configurable:!0,get:function(){if(a||this===t.prototype||this.hasOwnProperty(e)||"function"!=typeof n)return n;var r=n.bind(this);return a=!0,Object.defineProperty(this,e,{configurable:!0,get:function(){return r},set:function(t){n=t,delete this[e]}}),a=!1,r},set:function(t){n=t}}}function i(t){var e;return"undefined"!=typeof Reflect&&"function"==typeof Reflect.ownKeys?e=Reflect.ownKeys(t.prototype):(e=Object.getOwnPropertyNames(t.prototype),"function"==typeof Object.getOwnPropertySymbols&&(e=e.concat(Object.getOwnPropertySymbols(t.prototype)))),e.forEach((function(e){if("constructor"!==e){var r=Object.getOwnPropertyDescriptor(t.prototype,e);"function"==typeof r.value&&Object.defineProperty(t.prototype,e,a(t,e,r))}})),t}function l(){return 1===arguments.length?i.apply(void 0,arguments):a.apply(void 0,arguments)}},2766:(t,e,r)=>{"use strict";function n(t,e,r){t.prototype=e.prototype=r,r.constructor=t}function o(t,e){var r=Object.create(t.prototype);for(var n in e)r[n]=e[n];return r}function a(){}r.d(e,{ZP:()=>x,B8:()=>M});var i=.7,l=1/i,u="\\s*([+-]?\\d+)\\s*",c="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)\\s*",s="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)%\\s*",p=/^#([0-9a-f]{3,8})$/,f=new RegExp("^rgb\\("+[u,u,u]+"\\)$"),h=new RegExp("^rgb\\("+[s,s,s]+"\\)$"),d=new RegExp("^rgba\\("+[u,u,u,c]+"\\)$"),y=new RegExp("^rgba\\("+[s,s,s,c]+"\\)$"),m=new RegExp("^hsl\\("+[c,s,s]+"\\)$"),v=new RegExp("^hsla\\("+[c,s,s,c]+"\\)$"),g={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};function b(){return this.rgb().formatHex()}function w(){return this.rgb().formatRgb()}function x(t){var e,r;return t=(t+"").trim().toLowerCase(),(e=p.exec(t))?(r=e[1].length,e=parseInt(e[1],16),6===r?O(e):3===r?new S(e>>8&15|e>>4&240,e>>4&15|240&e,(15&e)<<4|15&e,1):8===r?N(e>>24&255,e>>16&255,e>>8&255,(255&e)/255):4===r?N(e>>12&15|e>>8&240,e>>8&15|e>>4&240,e>>4&15|240&e,((15&e)<<4|15&e)/255):null):(e=f.exec(t))?new S(e[1],e[2],e[3],1):(e=h.exec(t))?new S(255*e[1]/100,255*e[2]/100,255*e[3]/100,1):(e=d.exec(t))?N(e[1],e[2],e[3],e[4]):(e=y.exec(t))?N(255*e[1]/100,255*e[2]/100,255*e[3]/100,e[4]):(e=m.exec(t))?F(e[1],e[2]/100,e[3]/100,1):(e=v.exec(t))?F(e[1],e[2]/100,e[3]/100,e[4]):g.hasOwnProperty(t)?O(g[t]):"transparent"===t?new S(NaN,NaN,NaN,0):null}function O(t){return new S(t>>16&255,t>>8&255,255&t,1)}function N(t,e,r,n){return n<=0&&(t=e=r=NaN),new S(t,e,r,n)}function k(t){return t instanceof a||(t=x(t)),t?new S((t=t.rgb()).r,t.g,t.b,t.opacity):new S}function M(t,e,r,n){return 1===arguments.length?k(t):new S(t,e,r,null==n?1:n)}function S(t,e,r,n){this.r=+t,this.g=+e,this.b=+r,this.opacity=+n}function E(){return"#"+P(this.r)+P(this.g)+P(this.b)}function j(){var t=this.opacity;return(1===(t=isNaN(t)?1:Math.max(0,Math.min(1,t)))?"rgb(":"rgba(")+Math.max(0,Math.min(255,Math.round(this.r)||0))+", "+Math.max(0,Math.min(255,Math.round(this.g)||0))+", "+Math.max(0,Math.min(255,Math.round(this.b)||0))+(1===t?")":", "+t+")")}function P(t){return((t=Math.max(0,Math.min(255,Math.round(t)||0)))<16?"0":"")+t.toString(16)}function F(t,e,r,n){return n<=0?t=e=r=NaN:r<=0||r>=1?t=e=NaN:e<=0&&(t=NaN),new D(t,e,r,n)}function L(t){if(t instanceof D)return new D(t.h,t.s,t.l,t.opacity);if(t instanceof a||(t=x(t)),!t)return new D;if(t instanceof D)return t;var e=(t=t.rgb()).r/255,r=t.g/255,n=t.b/255,o=Math.min(e,r,n),i=Math.max(e,r,n),l=NaN,u=i-o,c=(i+o)/2;return u?(l=e===i?(r-n)/u+6*(r<n):r===i?(n-e)/u+2:(e-r)/u+4,u/=c<.5?i+o:2-i-o,l*=60):u=c>0&&c<1?0:l,new D(l,u,c,t.opacity)}function D(t,e,r,n){this.h=+t,this.s=+e,this.l=+r,this.opacity=+n}function R(t,e,r){return 255*(t<60?e+(r-e)*t/60:t<180?r:t<240?e+(r-e)*(240-t)/60:e)}n(a,x,{copy:function(t){return Object.assign(new this.constructor,this,t)},displayable:function(){return this.rgb().displayable()},hex:b,formatHex:b,formatHsl:function(){return L(this).formatHsl()},formatRgb:w,toString:w}),n(S,M,o(a,{brighter:function(t){return t=null==t?l:Math.pow(l,t),new S(this.r*t,this.g*t,this.b*t,this.opacity)},darker:function(t){return t=null==t?i:Math.pow(i,t),new S(this.r*t,this.g*t,this.b*t,this.opacity)},rgb:function(){return this},displayable:function(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:E,formatHex:E,formatRgb:j,toString:j})),n(D,(function(t,e,r,n){return 1===arguments.length?L(t):new D(t,e,r,null==n?1:n)}),o(a,{brighter:function(t){return t=null==t?l:Math.pow(l,t),new D(this.h,this.s,this.l*t,this.opacity)},darker:function(t){return t=null==t?i:Math.pow(i,t),new D(this.h,this.s,this.l*t,this.opacity)},rgb:function(){var t=this.h%360+360*(this.h<0),e=isNaN(t)||isNaN(this.s)?0:this.s,r=this.l,n=r+(r<.5?r:1-r)*e,o=2*r-n;return new S(R(t>=240?t-240:t+120,o,n),R(t,o,n),R(t<120?t+240:t-120,o,n),this.opacity)},displayable:function(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl:function(){var t=this.opacity;return(1===(t=isNaN(t)?1:Math.max(0,Math.min(1,t)))?"hsl(":"hsla(")+(this.h||0)+", "+100*(this.s||0)+"%, "+100*(this.l||0)+"%"+(1===t?")":", "+t+")")}}))},1820:(t,e,r)=>{"use strict";r.d(e,{Z:()=>ot});var n=Math.sqrt(50),o=Math.sqrt(10),a=Math.sqrt(2);function i(t,e,r){var i=(e-t)/Math.max(0,r),l=Math.floor(Math.log(i)/Math.LN10),u=i/Math.pow(10,l);return l>=0?(u>=n?10:u>=o?5:u>=a?2:1)*Math.pow(10,l):-Math.pow(10,-l)/(u>=n?10:u>=o?5:u>=a?2:1)}function l(t,e){return t<e?-1:t>e?1:t>=e?0:NaN}function u(t){var e=t,r=t;function n(t,e,n,o){for(null==n&&(n=0),null==o&&(o=t.length);n<o;){var a=n+o>>>1;r(t[a],e)<0?n=a+1:o=a}return n}return 1===t.length&&(e=function(e,r){return t(e)-r},r=function(t){return function(e,r){return l(t(e),r)}}(t)),{left:n,center:function(t,r,o,a){null==o&&(o=0),null==a&&(a=t.length);var i=n(t,r,o,a-1);return i>o&&e(t[i-1],r)>-e(t[i],r)?i-1:i},right:function(t,e,n,o){for(null==n&&(n=0),null==o&&(o=t.length);n<o;){var a=n+o>>>1;r(t[a],e)>0?o=a:n=a+1}return n}}}r(9673);var c=u(l),s=c.right;c.left,u((function(t){return null===t?NaN:+t})).center;const p=s;var f=r(4329),h=r(2766);function d(t,e,r,n,o){var a=t*t,i=a*t;return((1-3*t+3*a-i)*e+(4-6*a+3*i)*r+(1+3*t+3*a-3*i)*n+i*o)/6}const y=function(t){return function(){return t}};function m(t,e){return function(r){return t+r*e}}function v(t){return 1==(t=+t)?g:function(e,r){return r-e?function(t,e,r){return t=Math.pow(t,r),e=Math.pow(e,r)-t,r=1/r,function(n){return Math.pow(t+n*e,r)}}(e,r,t):y(isNaN(e)?r:e)}}function g(t,e){var r=e-t;return r?m(t,r):y(isNaN(t)?e:t)}const b=function t(e){var r=v(e);function n(t,e){var n=r((t=(0,h.B8)(t)).r,(e=(0,h.B8)(e)).r),o=r(t.g,e.g),a=r(t.b,e.b),i=g(t.opacity,e.opacity);return function(e){return t.r=n(e),t.g=o(e),t.b=a(e),t.opacity=i(e),t+""}}return n.gamma=t,n}(1);function w(t){return function(e){var r,n,o=e.length,a=new Array(o),i=new Array(o),l=new Array(o);for(r=0;r<o;++r)n=(0,h.B8)(e[r]),a[r]=n.r||0,i[r]=n.g||0,l[r]=n.b||0;return a=t(a),i=t(i),l=t(l),n.opacity=1,function(t){return n.r=a(t),n.g=i(t),n.b=l(t),n+""}}}w((function(t){var e=t.length-1;return function(r){var n=r<=0?r=0:r>=1?(r=1,e-1):Math.floor(r*e),o=t[n],a=t[n+1],i=n>0?t[n-1]:2*o-a,l=n<e-1?t[n+2]:2*a-o;return d((r-n/e)*e,i,o,a,l)}})),w((function(t){var e=t.length;return function(r){var n=Math.floor(((r%=1)<0?++r:r)*e),o=t[(n+e-1)%e],a=t[n%e],i=t[(n+1)%e],l=t[(n+2)%e];return d((r-n/e)*e,o,a,i,l)}}));function x(t,e){var r,n=e?e.length:0,o=t?Math.min(n,t.length):0,a=new Array(o),i=new Array(n);for(r=0;r<o;++r)a[r]=P(t[r],e[r]);for(;r<n;++r)i[r]=e[r];return function(t){for(r=0;r<o;++r)i[r]=a[r](t);return i}}function O(t,e){var r=new Date;return t=+t,e=+e,function(n){return r.setTime(t*(1-n)+e*n),r}}function N(t,e){return t=+t,e=+e,function(r){return t*(1-r)+e*r}}function k(t,e){var r,n={},o={};for(r in null!==t&&"object"===(0,f.Z)(t)||(t={}),null!==e&&"object"===(0,f.Z)(e)||(e={}),e)r in t?n[r]=P(t[r],e[r]):o[r]=e[r];return function(t){for(r in n)o[r]=n[r](t);return o}}var M=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,S=new RegExp(M.source,"g");function E(t,e){var r,n,o,a=M.lastIndex=S.lastIndex=0,i=-1,l=[],u=[];for(t+="",e+="";(r=M.exec(t))&&(n=S.exec(e));)(o=n.index)>a&&(o=e.slice(a,o),l[i]?l[i]+=o:l[++i]=o),(r=r[0])===(n=n[0])?l[i]?l[i]+=n:l[++i]=n:(l[++i]=null,u.push({i,x:N(r,n)})),a=S.lastIndex;return a<e.length&&(o=e.slice(a),l[i]?l[i]+=o:l[++i]=o),l.length<2?u[0]?function(t){return function(e){return t(e)+""}}(u[0].x):function(t){return function(){return t}}(e):(e=u.length,function(t){for(var r,n=0;n<e;++n)l[(r=u[n]).i]=r.x(t);return l.join("")})}function j(t,e){e||(e=[]);var r,n=t?Math.min(e.length,t.length):0,o=e.slice();return function(a){for(r=0;r<n;++r)o[r]=t[r]*(1-a)+e[r]*a;return o}}function P(t,e){var r,n,o=(0,f.Z)(e);return null==e||"boolean"===o?y(e):("number"===o?N:"string"===o?(r=(0,h.ZP)(e))?(e=r,b):E:e instanceof h.ZP?b:e instanceof Date?O:(n=e,!ArrayBuffer.isView(n)||n instanceof DataView?Array.isArray(e)?x:"function"!=typeof e.valueOf&&"function"!=typeof e.toString||isNaN(e)?k:N:j))(t,e)}function F(t,e){return t=+t,e=+e,function(r){return Math.round(t*(1-r)+e*r)}}function L(t){return+t}var D=[0,1];function R(t){return t}function T(t,e){return(e-=t=+t)?function(r){return(r-t)/e}:(r=isNaN(e)?NaN:.5,function(){return r});var r}function _(t,e,r){var n=t[0],o=t[1],a=e[0],i=e[1];return o<n?(n=T(o,n),a=r(i,a)):(n=T(n,o),a=r(a,i)),function(t){return a(n(t))}}function C(t,e,r){var n=Math.min(t.length,e.length)-1,o=new Array(n),a=new Array(n),i=-1;for(t[n]<t[0]&&(t=t.slice().reverse(),e=e.slice().reverse());++i<n;)o[i]=T(t[i],t[i+1]),a[i]=r(e[i],e[i+1]);return function(e){var r=p(t,e,1,n)-1;return a[r](o[r](e))}}function A(t,e){return e.domain(t.domain()).range(t.range()).interpolate(t.interpolate()).clamp(t.clamp()).unknown(t.unknown())}function q(){var t,e,r,n,o,a,i=D,l=D,u=P,c=R;function s(){var t,e,r,u=Math.min(i.length,l.length);return c!==R&&(t=i[0],e=i[u-1],t>e&&(r=t,t=e,e=r),c=function(r){return Math.max(t,Math.min(e,r))}),n=u>2?C:_,o=a=null,p}function p(e){return null==e||isNaN(e=+e)?r:(o||(o=n(i.map(t),l,u)))(t(c(e)))}return p.invert=function(r){return c(e((a||(a=n(l,i.map(t),N)))(r)))},p.domain=function(t){return arguments.length?(i=Array.from(t,L),s()):i.slice()},p.range=function(t){return arguments.length?(l=Array.from(t),s()):l.slice()},p.rangeRound=function(t){return l=Array.from(t),u=F,s()},p.clamp=function(t){return arguments.length?(c=!!t||R,s()):c!==R},p.interpolate=function(t){return arguments.length?(u=t,s()):u},p.unknown=function(t){return arguments.length?(r=t,p):r},function(r,n){return t=r,e=n,s()}}function I(){return q()(R,R)}function V(t,e){switch(arguments.length){case 0:break;case 1:this.range(t);break;default:this.range(e).domain(t)}return this}var z,G=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function B(t){if(!(e=G.exec(t)))throw new Error("invalid format: "+t);var e;return new K({fill:e[1],align:e[2],sign:e[3],symbol:e[4],zero:e[5],width:e[6],comma:e[7],precision:e[8]&&e[8].slice(1),trim:e[9],type:e[10]})}function K(t){this.fill=void 0===t.fill?" ":t.fill+"",this.align=void 0===t.align?">":t.align+"",this.sign=void 0===t.sign?"-":t.sign+"",this.symbol=void 0===t.symbol?"":t.symbol+"",this.zero=!!t.zero,this.width=void 0===t.width?void 0:+t.width,this.comma=!!t.comma,this.precision=void 0===t.precision?void 0:+t.precision,this.trim=!!t.trim,this.type=void 0===t.type?"":t.type+""}function Z(t,e){if((r=(t=e?t.toExponential(e-1):t.toExponential()).indexOf("e"))<0)return null;var r,n=t.slice(0,r);return[n.length>1?n[0]+n.slice(2):n,+t.slice(r+1)]}function $(t){return(t=Z(Math.abs(t)))?t[1]:NaN}function H(t,e){var r=Z(t,e);if(!r)return t+"";var n=r[0],o=r[1];return o<0?"0."+new Array(-o).join("0")+n:n.length>o+1?n.slice(0,o+1)+"."+n.slice(o+1):n+new Array(o-n.length+2).join("0")}B.prototype=K.prototype,K.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(void 0===this.width?"":Math.max(1,0|this.width))+(this.comma?",":"")+(void 0===this.precision?"":"."+Math.max(0,0|this.precision))+(this.trim?"~":"")+this.type};const W={"%":function(t,e){return(100*t).toFixed(e)},b:function(t){return Math.round(t).toString(2)},c:function(t){return t+""},d:function(t){return Math.abs(t=Math.round(t))>=1e21?t.toLocaleString("en").replace(/,/g,""):t.toString(10)},e:function(t,e){return t.toExponential(e)},f:function(t,e){return t.toFixed(e)},g:function(t,e){return t.toPrecision(e)},o:function(t){return Math.round(t).toString(8)},p:function(t,e){return H(100*t,e)},r:H,s:function(t,e){var r=Z(t,e);if(!r)return t+"";var n=r[0],o=r[1],a=o-(z=3*Math.max(-8,Math.min(8,Math.floor(o/3))))+1,i=n.length;return a===i?n:a>i?n+new Array(a-i+1).join("0"):a>0?n.slice(0,a)+"."+n.slice(a):"0."+new Array(1-a).join("0")+Z(t,Math.max(0,e+a-1))[0]},X:function(t){return Math.round(t).toString(16).toUpperCase()},x:function(t){return Math.round(t).toString(16)}};function X(t){return t}var Y,Q,U,J=Array.prototype.map,tt=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"];function et(t){var e,r,n=void 0===t.grouping||void 0===t.thousands?X:(e=J.call(t.grouping,Number),r=t.thousands+"",function(t,n){for(var o=t.length,a=[],i=0,l=e[0],u=0;o>0&&l>0&&(u+l+1>n&&(l=Math.max(1,n-u)),a.push(t.substring(o-=l,o+l)),!((u+=l+1)>n));)l=e[i=(i+1)%e.length];return a.reverse().join(r)}),o=void 0===t.currency?"":t.currency[0]+"",a=void 0===t.currency?"":t.currency[1]+"",i=void 0===t.decimal?".":t.decimal+"",l=void 0===t.numerals?X:function(t){return function(e){return e.replace(/[0-9]/g,(function(e){return t[+e]}))}}(J.call(t.numerals,String)),u=void 0===t.percent?"%":t.percent+"",c=void 0===t.minus?"-":t.minus+"",s=void 0===t.nan?"NaN":t.nan+"";function p(t){var e=(t=B(t)).fill,r=t.align,p=t.sign,f=t.symbol,h=t.zero,d=t.width,y=t.comma,m=t.precision,v=t.trim,g=t.type;"n"===g?(y=!0,g="g"):W[g]||(void 0===m&&(m=12),v=!0,g="g"),(h||"0"===e&&"="===r)&&(h=!0,e="0",r="=");var b="$"===f?o:"#"===f&&/[boxX]/.test(g)?"0"+g.toLowerCase():"",w="$"===f?a:/[%p]/.test(g)?u:"",x=W[g],O=/[defgprs%]/.test(g);function N(t){var o,a,u,f=b,N=w;if("c"===g)N=x(t)+N,t="";else{var k=(t=+t)<0||1/t<0;if(t=isNaN(t)?s:x(Math.abs(t),m),v&&(t=function(t){t:for(var e,r=t.length,n=1,o=-1;n<r;++n)switch(t[n]){case".":o=e=n;break;case"0":0===o&&(o=n),e=n;break;default:if(!+t[n])break t;o>0&&(o=0)}return o>0?t.slice(0,o)+t.slice(e+1):t}(t)),k&&0==+t&&"+"!==p&&(k=!1),f=(k?"("===p?p:c:"-"===p||"("===p?"":p)+f,N=("s"===g?tt[8+z/3]:"")+N+(k&&"("===p?")":""),O)for(o=-1,a=t.length;++o<a;)if(48>(u=t.charCodeAt(o))||u>57){N=(46===u?i+t.slice(o+1):t.slice(o))+N,t=t.slice(0,o);break}}y&&!h&&(t=n(t,1/0));var M=f.length+t.length+N.length,S=M<d?new Array(d-M+1).join(e):"";switch(y&&h&&(t=n(S+t,S.length?d-N.length:1/0),S=""),r){case"<":t=f+t+N+S;break;case"=":t=f+S+t+N;break;case"^":t=S.slice(0,M=S.length>>1)+f+t+N+S.slice(M);break;default:t=S+f+t+N}return l(t)}return m=void 0===m?6:/[gprs]/.test(g)?Math.max(1,Math.min(21,m)):Math.max(0,Math.min(20,m)),N.toString=function(){return t+""},N}return{format:p,formatPrefix:function(t,e){var r=p(((t=B(t)).type="f",t)),n=3*Math.max(-8,Math.min(8,Math.floor($(e)/3))),o=Math.pow(10,-n),a=tt[8+n/3];return function(t){return r(o*t)+a}}}}function rt(t,e,r,i){var l,u=function(t,e,r){var i=Math.abs(e-t)/Math.max(0,r),l=Math.pow(10,Math.floor(Math.log(i)/Math.LN10)),u=i/l;return u>=n?l*=10:u>=o?l*=5:u>=a&&(l*=2),e<t?-l:l}(t,e,r);switch((i=B(null==i?",f":i)).type){case"s":var c=Math.max(Math.abs(t),Math.abs(e));return null!=i.precision||isNaN(l=function(t,e){return Math.max(0,3*Math.max(-8,Math.min(8,Math.floor($(e)/3)))-$(Math.abs(t)))}(u,c))||(i.precision=l),U(i,c);case"":case"e":case"g":case"p":case"r":null!=i.precision||isNaN(l=function(t,e){return t=Math.abs(t),e=Math.abs(e)-t,Math.max(0,$(e)-$(t))+1}(u,Math.max(Math.abs(t),Math.abs(e))))||(i.precision=l-("e"===i.type));break;case"f":case"%":null!=i.precision||isNaN(l=function(t){return Math.max(0,-$(Math.abs(t)))}(u))||(i.precision=l-2*("%"===i.type))}return Q(i)}function nt(t){var e=t.domain;return t.ticks=function(t){var r=e();return function(t,e,r){var n,o,a,l,u=-1;if(r=+r,(t=+t)==(e=+e)&&r>0)return[t];if((n=e<t)&&(o=t,t=e,e=o),0===(l=i(t,e,r))||!isFinite(l))return[];if(l>0){var c=Math.round(t/l),s=Math.round(e/l);for(c*l<t&&++c,s*l>e&&--s,a=new Array(o=s-c+1);++u<o;)a[u]=(c+u)*l}else{l=-l;var p=Math.round(t*l),f=Math.round(e*l);for(p/l<t&&++p,f/l>e&&--f,a=new Array(o=f-p+1);++u<o;)a[u]=(p+u)/l}return n&&a.reverse(),a}(r[0],r[r.length-1],null==t?10:t)},t.tickFormat=function(t,r){var n=e();return rt(n[0],n[n.length-1],null==t?10:t,r)},t.nice=function(r){null==r&&(r=10);var n,o,a=e(),l=0,u=a.length-1,c=a[l],s=a[u],p=10;for(s<c&&(o=c,c=s,s=o,o=l,l=u,u=o);p-- >0;){if((o=i(c,s,r))===n)return a[l]=c,a[u]=s,e(a);if(o>0)c=Math.floor(c/o)*o,s=Math.ceil(s/o)*o;else{if(!(o<0))break;c=Math.ceil(c*o)/o,s=Math.floor(s*o)/o}n=o}return t},t}function ot(){var t=I();return t.copy=function(){return A(t,ot())},V.apply(t,arguments),nt(t)}Y=et({decimal:".",thousands:",",grouping:[3],currency:["$",""],minus:"-"}),Q=Y.format,U=Y.formatPrefix},8352:(t,e,r)=>{"use strict";var n=r(8156),o=r.n(n),a=r(8310),i=r.n(a),l=r(8721),u=r.n(l),c=o().memo((function(t){var e=i()(null==t?void 0:t.className,"atoka-form-label");return o().createElement(u().Label,{className:e},t.children)}));c.displayName="FormLabel";var s=r(2048),p=function(){return p=Object.assign||function(t){for(var e,r=1,n=arguments.length;r<n;r++)for(var o in e=arguments[r])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t},p.apply(this,arguments)},f=function(t){var e,r=i()("atoka-form-checkbox",null==t?void 0:t.className);return o().createElement(u().Check,p({type:"checkbox"},t,{custom:!0,className:r,label:null!==(e=t.label)&&void 0!==e?e:""}))};f.displayName="FormCheckbox";var h=function(){return h=Object.assign||function(t){for(var e,r=1,n=arguments.length;r<n;r++)for(var o in e=arguments[r])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t},h.apply(this,arguments)},d=function(t){var e,r=i()(null==t?void 0:t.className,"atoka-form-radio");return o().createElement(u().Check,h({type:"radio"},t,{custom:!0,className:r,label:null!==(e=t.label)&&void 0!==e?e:""}))};d.displayName="FormRadio";var y=r(8763),m=r.n(y),v=function(t,e){var r={};for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&e.indexOf(n)<0&&(r[n]=t[n]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(t);o<n.length;o++)e.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(t,n[o])&&(r[n[o]]=t[n[o]])}return r},g=o().memo((function(t){var e=t.children,r=v(t,["children"]),n=i()("d-block",null==r?void 0:r.className);return o().createElement(m(),{bsPrefix:"atoka-form-help",className:n},e)}));g.displayName="FormHelp";var b=function(){return b=Object.assign||function(t){for(var e,r=1,n=arguments.length;r<n;r++)for(var o in e=arguments[r])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t},b.apply(this,arguments)},w=function(t){var e=i()(null==t?void 0:t.className,"atoka-form");return o().createElement(u(),b({},t,{className:e}),t.children)};w.displayName="Form",w.Control=s.N,w.Label=c,w.Checkbox=f,w.Radio=d,w.File=u().File,w.Switch=u().Switch,w.Help=g,w.Group=u().Group},2048:(t,e,r)=>{"use strict";r.d(e,{N:()=>h});var n=r(8156),o=r.n(n),a=r(8310),i=r.n(a),l=r(1082),u=r.n(l),c=function(t,e){var r={};for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&e.indexOf(n)<0&&(r[n]=t[n]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(t);o<n.length;o++)e.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(t,n[o])&&(r[n[o]]=t[n[o]])}return r},s=o().memo((function(t){var e=t.show,r=void 0===e||e,n=c(t,["show"]),a=i()(null==n?void 0:n.className,"atoka-form-control-feedback",{"d-block":r});return o().createElement(u().Feedback,{type:n.type,className:a},n.children)}));s.displayName=" FormControlFeedBack";var p=function(t,e){var r={};for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&e.indexOf(n)<0&&(r[n]=t[n]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(t);o<n.length;o++)e.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(t,n[o])&&(r[n[o]]=t[n[o]])}return r},f=o().forwardRef((function(t,e){var r=t.size,n=void 0===r?"md":r,a=p(t,["size"]),l=i()("atoka-form-control",null==a?void 0:a.className,{"atoka-shadow":a.withShadow,disabled:a.disabled});return o().createElement(u(),{as:a.as,rows:a.rows,cols:a.cols,placeholder:a.placeholder,className:l,disabled:a.disabled,readOnly:a.readOnly,value:a.value,onChange:a.onChange,onKeyPress:a.onKeyPress,onKeyDown:a.onKeyDown,defaultValue:a.defaultValue,size:"md"===n?void 0:n,type:a.type,id:a.id,isValid:a.isValid,isInvalid:a.isInvalid,ref:e,autoComplete:"off"},a.children)}));f.displayName="FormControlComponent";var h=f;h.FeedBack=s,h.displayName="FormControl"},9984:(t,e,r)=>{"use strict";r.r(e),r.d(e,{Funnel:()=>N,FunnelData:()=>n.FunnelData});var n={};r.r(n),r.d(n,{o:()=>N});var o=r(9179),a=r(8156),i=r.n(a),l=r(6627),u=r(8310),c=r.n(u),s=r(4915),p=r(7540),f=r(4603),h=r(8007),d=r(3311),y=r(2394),m=6,v=i().memo((function(t){var e,r,n,o=t.item,a=t.numberToStringFormatter,l=t.fontSize,u=void 0===l?11:l,c=null===(e=o.data)||void 0===e?void 0:e.value,s=null!==(r=o.data.label)&&void 0!==r?r:"",f=o.width/m,h=(0,y.Hp)(s,f),d=o.y1+o.y0+30,v="".concat((0,y.lV)(s),"-data-label");return i().createElement("text",{key:v,className:v,x:o.x0,y:d,fill:p.de},i().createElement("tspan",{fontSize:u,x:o.x0,y:d-u},h),i().createElement("tspan",{fontSize:u,fill:"black",fontWeight:"bold",x:o.x0,y:d+3},null!==(n=null==a?void 0:a(c))&&void 0!==n?n:c))}));v.displayName="SVGDataLabel";var g,b,w=(g=function(t,e){return g=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])},g(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function r(){this.constructor=t}g(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}),x=function(t,e,r,n){var o,a=arguments.length,i=a<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(t,e,r,n);else for(var l=t.length-1;l>=0;l--)(o=t[l])&&(i=(a<3?o(i):a>3?o(e,r,i):o(e,r))||i);return a>3&&i&&Object.defineProperty(e,r,i),i},O=function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};!function(t){t.Parts="parts"}(b||(b={}));var N=function(t){function e(e){var r=t.call(this,e)||this;return r.marginBottom=60,r.renderTooltip=null,r.state={data:[],sinkData:[],colors:[]},r}var r,n,a,u,y,m,g,N,k,M,S,E;return w(e,t),e.prototype.componentDidMount=function(){this.setupComponent()},e.prototype.componentDidUpdate=function(t){(0,s.vZ)(t,this.props)||this.setupComponent()},e.prototype.setupComponent=function(){var t,e=this.separateDataFromSinkData(),r=e.data,n=e.sinkData,o=r.reduce((function(t,e){return t+e.value}),0),a=(0,p.vA)(r.length,this.props.colors);this.renderTooltip=(0,h.q)({tooltipDataLabelKey:"value",tooltipDataTitleKey:"id",tooltipDataValueKey:"percentage",numberToStringFormatter:null!==(t=this.props.tooltipValueFormat)&&void 0!==t?t:this.props.numberToStringFormatter,className:null,withColor:!0}),this.setState({data:r,sinkData:n,colors:a,isZeroData:0===o})},e.prototype.separateDataFromSinkData=function(){var t,e,r=[],n=[];return(null!==(e=null===(t=this.props)||void 0===t?void 0:t.data)&&void 0!==e?e:[]).forEach((function(t){t.isSinkState?n.push(t):r.push({id:t.label,value:t.value,label:t.label,percentage:t.percentage})})),{data:r,sinkData:n}},e.prototype.renderTooltips=function(){return i().createElement("div",{className:"position-absolute h-100 w-100 d-flex align-items-end"},this.state.data.map(this.renderSingleTooltip))},e.prototype.renderSingleTooltip=function(t,e){var r,n,o,a=null===(r=null==this?void 0:this.renderTooltip)||void 0===r?void 0:r.call(this,{data:t,color:null===(o=null===(n=this.state)||void 0===n?void 0:n.colors)||void 0===o?void 0:o[e]});return null==a?null:i().createElement(f.Tooltip,{key:t.label,placement:"top",content:a},i().createElement("div",{className:"w-100 tooltip-zone"}))},e.prototype.renderDataLabels=function(t){return t.parts.map(this.renderSVGDataLabel)},e.prototype.renderSinkDataLabels=function(t){return i().createElement(d.Q,{data:this.state.sinkData,x:0,y:t.height+this.marginBottom-8,valueFormat:this.props.numberToStringFormatter})},e.prototype.renderSVGDataLabel=function(t){return i().createElement(v,{key:"".concat(t.data.label,"-data"),item:t,numberToStringFormatter:this.props.numberToStringFormatter})},e.prototype.renderEmptyParts=function(t){return t.parts.map(this.renderEmptyPart)},e.prototype.renderEmptyPart=function(t){return i().createElement("line",{key:"".concat(t.data.label,"-empty"),x1:t.x0,y1:t.y,x2:t.x1,y2:t.y,stroke:t.color})},e.prototype.render=function(){var t=this.state.isZeroData?[this.renderEmptyParts]:[b.Parts],e=c()("funnel-container w-100 h-100",this.props.className);return t.push(this.renderDataLabels,this.renderSinkDataLabels),i().createElement("div",{id:this.props.id,className:e,ref:this.props.chartRef},i().createElement(o.ResponsiveFunnel,{layers:t,shapeBlending:.25,isInteractive:!1,data:this.state.data,colors:this.state.colors,direction:"horizontal",margin:{top:0,right:0,bottom:this.marginBottom,left:0},borderWidth:1,borderOpacity:1,labelColor:{from:"color",modifiers:[["darker",3]]},enableBeforeSeparators:!1,enableAfterSeparators:!1,currentBorderWidth:0}),this.renderTooltips())},e.displayName="Funnel",e.defaultProps={colors:[p.WV,p.Ls,p.P3,p.p5]},x([l.MR,O("design:type",Function),O("design:paramtypes",[]),O("design:returntype","function"==typeof(r=void 0!==i()&&i().ReactNode)?r:Object)],e.prototype,"renderTooltips",null),x([l.MR,O("design:type",Function),O("design:paramtypes",[Object,Number]),O("design:returntype","function"==typeof(n=void 0!==i()&&i().ReactNode)?n:Object)],e.prototype,"renderSingleTooltip",null),x([l.MR,O("design:type",Function),O("design:paramtypes",["function"==typeof(a=void 0!==o.FunnelCustomLayerProps&&o.FunnelCustomLayerProps)?a:Object]),O("design:returntype","function"==typeof(u=void 0!==i()&&i().ReactNode)?u:Object)],e.prototype,"renderDataLabels",null),x([l.MR,O("design:type",Function),O("design:paramtypes",["function"==typeof(y=void 0!==o.FunnelCustomLayerProps&&o.FunnelCustomLayerProps)?y:Object]),O("design:returntype","function"==typeof(m=void 0!==i()&&i().ReactNode)?m:Object)],e.prototype,"renderSinkDataLabels",null),x([l.MR,O("design:type",Function),O("design:paramtypes",["function"==typeof(g=void 0!==o.Part&&o.Part)?g:Object]),O("design:returntype","function"==typeof(N=void 0!==i()&&i().ReactNode)?N:Object)],e.prototype,"renderSVGDataLabel",null),x([l.MR,O("design:type",Function),O("design:paramtypes",["function"==typeof(k=void 0!==o.FunnelCustomLayerProps&&o.FunnelCustomLayerProps)?k:Object]),O("design:returntype","function"==typeof(M=void 0!==i()&&i().ReactNode)?M:Object)],e.prototype,"renderEmptyParts",null),x([l.MR,O("design:type",Function),O("design:paramtypes",["function"==typeof(S=void 0!==o.Part&&o.Part)?S:Object]),O("design:returntype","function"==typeof(E=void 0!==i()&&i().ReactNode)?E:Object)],e.prototype,"renderEmptyPart",null),e}(i().Component)},3311:(t,e,r)=>{"use strict";r.d(e,{Q:()=>h});var n,o=r(8156),a=r.n(o),i=r(6627),l=r(3654),u=r(7540),c=r(5909),s=(n=function(t,e){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])},n(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function r(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}),p=function(t,e,r,n){var o,a=arguments.length,i=a<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(t,e,r,n);else for(var l=t.length-1;l>=0;l--)(o=t[l])&&(i=(a<3?o(i):a>3?o(e,r,i):o(e,r))||i);return a>3&&i&&Object.defineProperty(e,r,i),i},f=function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)},h=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}var r,n,o,h;return s(e,t),e.prototype.renderSVGDataInfoBit=function(t,e){var r,n,o,i,l,c,s,p,f=null!==(r=t.label)&&void 0!==r?r:"",h=this.renderPercentage(t),d=this.renderCircle(null===(n=this.props.colors)||void 0===n?void 0:n[e]);return a().createElement(a().Fragment,{key:"".concat(t.label,"-legend-data")},d,a().createElement("text",{x:this.props.x,y:this.props.y,fill:u.de,fontSize:this.props.fontSize,key:"".concat(t.label,"-legend-data")},a().createElement("tspan",{dx:null==d?0:10},null!==(l=null===(i=(o=this.props).labelFormat)||void 0===i?void 0:i.call(o,f))&&void 0!==l?l:f),a().createElement("tspan",{x:this.getRightElementX(),dx:5,fill:"black",fontWeight:"bold",textAnchor:"end"},null!==(p=null===(s=(c=this.props).valueFormat)||void 0===s?void 0:s.call(c,t.value))&&void 0!==p?p:t.value),h))},e.prototype.renderSVGDataInfoBitMoreItems=function(t,e){var r,n,o,i,l,c,s,p,f=null!==(r=t.label)&&void 0!==r?r:"",h=this.renderPercentage(t),d=this.renderCircle(null===(n=this.props.colors)||void 0===n?void 0:n[e]);return a().createElement(a().Fragment,{key:"".concat(t.label,"-legend-data-items")},d,a().createElement("tspan",{dx:0===e||null!=d?0:10,fill:u.de},null!==(l=null===(i=(o=this.props).labelFormat)||void 0===i?void 0:i.call(o,f))&&void 0!==l?l:f),a().createElement("tspan",{dx:5,fill:"black",fontWeight:"bold"},null!==(p=null===(s=(c=this.props).valueFormat)||void 0===s?void 0:s.call(c,t.value))&&void 0!==p?p:t.value),h)},e.prototype.renderCircle=function(t){return null==t?null:a().createElement("circle",{cx:this.props.x,cy:this.props.y-3,r:"5",fill:t})},e.prototype.renderPercentage=function(t){var e,r=null!=t.percentage?(0,c.Ow)(t.percentage):null;return null==r?null:a().createElement("tspan",{x:this.getRightElementX(),dx:5,fill:null===(e=this.props.colors)||void 0===e?void 0:e[0]},r)},e.prototype.getRightElementX=function(){var t=this.props.width;if(null!=t)return(0===this.props.x?t/2:t)-18},e.prototype.removeItemIfNoValue=function(t){return t.filter((function(t){return null!==t.value}))},e.prototype.render=function(){var t=this.removeItemIfNoValue(this.props.data);return(null==t?void 0:t.length)>1?a().createElement("g",null,a().createElement("text",{x:this.props.x,y:this.props.y,dy:this.props.dy,fill:u.de,fontSize:this.props.fontSize,key:"legend-data-bit",className:"legend-data-bit"},t.map(this.renderSVGDataInfoBitMoreItems))):a().createElement("g",null,t.map(this.renderSVGDataInfoBit))},e.displayName="StatisticsSVGLegend",e.defaultProps={dy:0,fontSize:11,colors:[]},p([i.ZP,f("design:type",Function),f("design:paramtypes",["function"==typeof(r=void 0!==l.hz&&l.hz)?r:Object,Number]),f("design:returntype","function"==typeof(n=void 0!==a()&&a().ReactNode)?n:Object)],e.prototype,"renderSVGDataInfoBit",null),p([i.ZP,f("design:type",Function),f("design:paramtypes",["function"==typeof(o=void 0!==l.hz&&l.hz)?o:Object,Number]),f("design:returntype","function"==typeof(h=void 0!==a()&&a().ReactNode)?h:Object)],e.prototype,"renderSVGDataInfoBitMoreItems",null),e}(a().PureComponent)},8007:(t,e,r)=>{"use strict";r.d(e,{q:()=>l});var n=r(8156),o=r.n(n),a=r(4806),i=function(){return i=Object.assign||function(t){for(var e,r=1,n=arguments.length;r<n;r++)for(var o in e=arguments[r])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t},i.apply(this,arguments)};function l(t){var e=t.tooltipDataLabelKey,r=t.tooltipDataValueKey,n=t.tooltipDataTitleKey,l=t.otherId,u=t.otherLabel,c=t.numberToStringFormatter,s=t.withColor,p=t.className,f=void 0===p?"tooltip-background":p;return function(t){var p,h,d,y,m=i(i({},t.data),{value:null===(p=t.data)||void 0===p?void 0:p.value,label:null===(h=t.data)||void 0===h?void 0:h.label,id:null===(d=t.data)||void 0===d?void 0:d.id,percentage:null===(y=t.data)||void 0===y?void 0:y.percentage});return o().createElement(a.StatisticsTooltip,{otherId:l,otherLabel:u,numberToStringFormatter:c,data:m,tooltipDataLabelKey:e,tooltipDataTitleKey:n,tooltipDataValueKey:r,className:null!=f?f:"",color:s?t.color:void 0})}}},4806:(t,e,r)=>{"use strict";r.d(e,{StatisticsTooltip:()=>u});var n=r(8156),o=r.n(n),a=r(8310),i=r.n(a),l=r(5909),u=o().memo((function(t){function e(){var e=t.tooltipDataLabelKey,r=t.numberToStringFormatter,o=n(e,t.data);if(null!=o)return null==r?String(o):"string"==typeof o?o:r(o)}function r(){var e=n(t.tooltipDataValueKey,t.data);if(null!=e)return"number"==typeof e?(0,l.Ow)(e):e}function n(t,e){return null==t||null==e?void 0:e[t]}var a,u,c,s,p,f,h=i()("statistics-tooltip",null==t?void 0:t.className),d=null==t.color?null:o().createElement("span",{className:"tooltip-rectangle",style:{background:t.color}});return o().createElement("div",{className:h},o().createElement("div",{className:"d-flex align-items-center"},d,o().createElement("span",{className:"text-left"},(u=t.tooltipDataTitleKey,c=t.data,s=t.otherId,p=t.otherLabel,(f=n(u,c))===s?null!=p?p:s:f?String(f):void 0))),0===(a=[{value:e(),key:t.tooltipDataLabelKey,className:"label"},{value:r(),key:t.tooltipDataValueKey,className:"value"}].filter((function(t){return null!=t.value})).map((function(t){return o().createElement("span",{key:t.key,className:t.className},t.value)}))).length?null:o().createElement("div",{className:"d-flex justify-content-between"},a),t.children)}));u.displayName="StatisticsTooltip";r(8007)},4603:(t,e,r)=>{"use strict";r.d(e,{Tooltip:()=>p});var n=r(8156),o=r.n(n),a=r(8310),i=r.n(a),l=r(6043),u=r.n(l),c=function(){return c=Object.assign||function(t){for(var e,r=1,n=arguments.length;r<n;r++)for(var o in e=arguments[r])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t},c.apply(this,arguments)},s=function(t,e){var r={};for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&e.indexOf(n)<0&&(r[n]=t[n]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(t);o<n.length;o++)e.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(t,n[o])&&(r[n[o]]=t[n[o]])}return r},p=o().memo((function(t){var e,r=document.querySelector(".bs4-v3-external-container"),n=null!==(e=t.placement)&&void 0!==e?e:"top",a=i()("tooltip atoka-tooltip",t.className,{"top bs-tooltip-top":0===n.indexOf("top"),"right bs-tooltip-right":0===n.indexOf("right"),"bottom bs-tooltip-bottom":0===n.indexOf("bottom"),"left bs-tooltip-left":0===n.indexOf("left")}),l=t.content,p=s(t,["content"]);return o().createElement(u(),c({},p,{container:r,overlay:function(t){var e=t.arrowProps,r=s(t,["arrowProps"]),n=(r.show,s(r,["show"]));return o().createElement("div",c({},n,{className:a,role:"tooltip"}),o().createElement("div",{className:"tooltip-inner"},o().createElement("div",c({className:"arrow arrow-back"},e)),l,o().createElement("div",c({className:"arrow arrow-front"},e))))}}),t.children)}));p.displayName="Tooltip"},3654:()=>{},5909:(t,e,r)=>{"use strict";r.d(e,{Ow:()=>n});r(4915);function n(t){var e;return"".concat(parseInt(null===(e=null==t?void 0:t.toFixed)||void 0===e?void 0:e.call(t,0),10),"%")}},7540:(t,e,r)=>{"use strict";r.d(e,{vA:()=>o,WV:()=>i,Ls:()=>l,P3:()=>u,p5:()=>c,de:()=>s});var n=r(1820);function o(t,e){void 0===e&&(e=["#82CA9D","#F6EA25","#F7977A"]);var r=[];if(0!==t){var o=(0,n.Z)(),i=a(e.length,e.length),l=a(t,e.length);o=o.domain(i).range(e);for(var u=0;u<t;u++)r.push(o(l[u]));return r}}function a(t,e){var r=[];r.push(0);for(var n=0;n<t-2;n++){var o=Number(e/t*(n+1));r.push(parseFloat(o.toFixed(2)))}return r.push(e),r}var i="#AFD1E0",l="#94C2DA",u="#6E9DB5",c="rgb(32, 88, 113)",s="#717171"},2394:(t,e,r)=>{"use strict";r.d(e,{lV:()=>n,Hp:()=>o});function n(t){var e="àáâäæãåāăąçćčđďèéêëēėęěğǵḧîïíīįìłḿñńǹňôöòóœøōõőṕŕřßśšşșťțûüùúūǘůűųẃẍÿýžźż·/_,:;",r=new RegExp(e.split("").join("|"),"g");return t.toString().toLowerCase().replace(/\s+/g,"-").replace(r,(function(t){return"aaaaaaaaaacccddeeeeeeeegghiiiiiilmnnnnoooooooooprrsssssttuuuuuuuuuwxyyzzz------".charAt(e.indexOf(t))})).replace(/&/g,"-and-").replace(/[^\w-]+/g,"").replace(/--+/g,"-").replace(/^-+/,"").replace(/-+$/,"")}function o(t,e){return null==t?"":t.length>e?"".concat(t.substr(0,e-1),"…"):t}},4915:(t,e,r)=>{"use strict";r.d(e,{vZ:()=>o});r(5692),r(8156),r(8352);function n(t){return"object"==typeof t&&null!=t}function o(t,e){if(t===e)return!0;if(n(t)&&n(e)){if(Object.keys(t).length!==Object.keys(e).length)return!1;for(var r in t)if(!o(t[r],e[r]))return!1;return!0}return!1}},5692:e=>{"use strict";e.exports=t},9179:t=>{"use strict";t.exports=e},8310:t=>{"use strict";t.exports=r},8156:t=>{"use strict";t.exports=n},8721:t=>{"use strict";t.exports=o},1082:t=>{"use strict";t.exports=a},8763:t=>{"use strict";t.exports=i},6043:t=>{"use strict";t.exports=l},4329:(t,e,r)=>{"use strict";function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}r.d(e,{Z:()=>n})}},s={};function p(t){var e=s[t];if(void 0!==e)return e.exports;var r=s[t]={exports:{}};return c[t](r,r.exports,p),r.exports}p.m=c,u=[],p.O=(t,e,r,n)=>{if(!e){var o=1/0;for(c=0;c<u.length;c++){for(var[e,r,n]=u[c],a=!0,i=0;i<e.length;i++)(!1&n||o>=n)&&Object.keys(p.O).every((t=>p.O[t](e[i])))?e.splice(i--,1):(a=!1,n<o&&(o=n));if(a){u.splice(c--,1);var l=r();void 0!==l&&(t=l)}}return t}n=n||0;for(var c=u.length;c>0&&u[c-1][2]>n;c--)u[c]=u[c-1];u[c]=[e,r,n]},p.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return p.d(e,{a:e}),e},p.d=(t,e)=>{for(var r in e)p.o(e,r)&&!p.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:e[r]})},p.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),p.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},(()=>{var t={2494:0,9811:0,2823:0,8397:0};p.O.j=e=>0===t[e];var e=(e,r)=>{var n,o,[a,i,l]=r,u=0;if(a.some((e=>0!==t[e]))){for(n in i)p.o(i,n)&&(p.m[n]=i[n]);if(l)var c=l(p)}for(e&&e(r);u<a.length;u++)o=a[u],p.o(t,o)&&t[o]&&t[o][0](),t[a[u]]=0;return p.O(c)},r=self.webpackChunkatoka_design_system=self.webpackChunkatoka_design_system||[];r.forEach(e.bind(null,0)),r.push=e.bind(null,r.push.bind(r))})();var f=p.O(void 0,[8397],(()=>p(9984)));return f=p.O(f)})()}));
2
+ !function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(require("@fortawesome/react-fontawesome"),require("@nivo/funnel"),require("classnames"),require("react"),require("react-bootstrap/Form"),require("react-bootstrap/FormControl"),require("react-bootstrap/FormText"),require("react-bootstrap/OverlayTrigger")):"function"==typeof define&&define.amd?define("atoka-design-system",["@fortawesome/react-fontawesome","@nivo/funnel","classnames","react","react-bootstrap/Form","react-bootstrap/FormControl","react-bootstrap/FormText","react-bootstrap/OverlayTrigger"],e):"object"==typeof exports?exports["atoka-design-system"]=e(require("@fortawesome/react-fontawesome"),require("@nivo/funnel"),require("classnames"),require("react"),require("react-bootstrap/Form"),require("react-bootstrap/FormControl"),require("react-bootstrap/FormText"),require("react-bootstrap/OverlayTrigger")):t["atoka-design-system"]=e(t["@fortawesome/react-fontawesome"],t["@nivo/funnel"],t.classnames,t.react,t["react-bootstrap/Form"],t["react-bootstrap/FormControl"],t["react-bootstrap/FormText"],t["react-bootstrap/OverlayTrigger"])}(self,(function(t,e,r,n,o,a,i,l){return(()=>{var u,c={9172:(t,e,r)=>{var n=r(6496).default;function o(){"use strict";t.exports=o=function(){return e},t.exports.__esModule=!0,t.exports.default=t.exports;var e={},r=Object.prototype,a=r.hasOwnProperty,i="function"==typeof Symbol?Symbol:{},l=i.iterator||"@@iterator",u=i.asyncIterator||"@@asyncIterator",c=i.toStringTag||"@@toStringTag";function s(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{s({},"")}catch(t){s=function(t,e,r){return t[e]=r}}function p(t,e,r,n){var o=e&&e.prototype instanceof d?e:d,a=Object.create(o.prototype),i=new S(n||[]);return a._invoke=function(t,e,r){var n="suspendedStart";return function(o,a){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw a;return j()}for(r.method=o,r.arg=a;;){var i=r.delegate;if(i){var l=N(i,r);if(l){if(l===h)continue;return l}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var u=f(t,e,r);if("normal"===u.type){if(n=r.done?"completed":"suspendedYield",u.arg===h)continue;return{value:u.arg,done:r.done}}"throw"===u.type&&(n="completed",r.method="throw",r.arg=u.arg)}}}(t,r,i),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=p;var h={};function d(){}function y(){}function m(){}var v={};s(v,l,(function(){return this}));var g=Object.getPrototypeOf,b=g&&g(g(E([])));b&&b!==r&&a.call(b,l)&&(v=b);var w=m.prototype=d.prototype=Object.create(v);function x(t){["next","throw","return"].forEach((function(e){s(t,e,(function(t){return this._invoke(e,t)}))}))}function O(t,e){function r(o,i,l,u){var c=f(t[o],t,i);if("throw"!==c.type){var s=c.arg,p=s.value;return p&&"object"==n(p)&&a.call(p,"__await")?e.resolve(p.__await).then((function(t){r("next",t,l,u)}),(function(t){r("throw",t,l,u)})):e.resolve(p).then((function(t){s.value=t,l(s)}),(function(t){return r("throw",t,l,u)}))}u(c.arg)}var o;this._invoke=function(t,n){function a(){return new e((function(e,o){r(t,n,e,o)}))}return o=o?o.then(a,a):a()}}function N(t,e){var r=t.iterator[e.method];if(void 0===r){if(e.delegate=null,"throw"===e.method){if(t.iterator.return&&(e.method="return",e.arg=void 0,N(t,e),"throw"===e.method))return h;e.method="throw",e.arg=new TypeError("The iterator does not provide a 'throw' method")}return h}var n=f(r,t.iterator,e.arg);if("throw"===n.type)return e.method="throw",e.arg=n.arg,e.delegate=null,h;var o=n.arg;return o?o.done?(e[t.resultName]=o.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,h):o:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,h)}function k(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function M(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function S(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(k,this),this.reset(!0)}function E(t){if(t){var e=t[l];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var r=-1,n=function e(){for(;++r<t.length;)if(a.call(t,r))return e.value=t[r],e.done=!1,e;return e.value=void 0,e.done=!0,e};return n.next=n}}return{next:j}}function j(){return{value:void 0,done:!0}}return y.prototype=m,s(w,"constructor",m),s(m,"constructor",y),y.displayName=s(m,c,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===y||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,m):(t.__proto__=m,s(t,c,"GeneratorFunction")),t.prototype=Object.create(w),t},e.awrap=function(t){return{__await:t}},x(O.prototype),s(O.prototype,u,(function(){return this})),e.AsyncIterator=O,e.async=function(t,r,n,o,a){void 0===a&&(a=Promise);var i=new O(p(t,r,n,o),a);return e.isGeneratorFunction(r)?i:i.next().then((function(t){return t.done?t.value:i.next()}))},x(w),s(w,c,"Generator"),s(w,l,(function(){return this})),s(w,"toString",(function(){return"[object Generator]"})),e.keys=function(t){var e=[];for(var r in t)e.push(r);return e.reverse(),function r(){for(;e.length;){var n=e.pop();if(n in t)return r.value=n,r.done=!1,r}return r.done=!0,r}},e.values=E,S.prototype={constructor:S,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(M),!t)for(var e in this)"t"===e.charAt(0)&&a.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function r(r,n){return i.type="throw",i.arg=t,e.next=r,n&&(e.method="next",e.arg=void 0),!!n}for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n],i=o.completion;if("root"===o.tryLoc)return r("end");if(o.tryLoc<=this.prev){var l=a.call(o,"catchLoc"),u=a.call(o,"finallyLoc");if(l&&u){if(this.prev<o.catchLoc)return r(o.catchLoc,!0);if(this.prev<o.finallyLoc)return r(o.finallyLoc)}else if(l){if(this.prev<o.catchLoc)return r(o.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return r(o.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&a.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var o=n;break}}o&&("break"===t||"continue"===t)&&o.tryLoc<=e&&e<=o.finallyLoc&&(o=null);var i=o?o.completion:{};return i.type=t,i.arg=e,o?(this.method="next",this.next=o.finallyLoc,h):this.complete(i)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),h},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),M(r),h}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;M(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:E(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=void 0),h}},e}t.exports=o,t.exports.__esModule=!0,t.exports.default=t.exports},6496:t=>{function e(r){return t.exports=e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},t.exports.__esModule=!0,t.exports.default=t.exports,e(r)}t.exports=e,t.exports.__esModule=!0,t.exports.default=t.exports},9673:(t,e,r)=>{var n=r(6496),o=r(9172)();t.exports=o;try{regeneratorRuntime=o}catch(t){"object"===("undefined"==typeof globalThis?"undefined":n(globalThis))?globalThis.regeneratorRuntime=o:Function("r","regeneratorRuntime = r")(o)}},6627:(t,e,r)=>{"use strict";r.d(e,{MR:()=>a,ZP:()=>l});var n=r(4329);function o(t){return o="function"==typeof Symbol&&"symbol"===(0,n.Z)(Symbol.iterator)?function(t){return(0,n.Z)(t)}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":(0,n.Z)(t)},o(t)}function a(t,e,r){var n=r.value;if("function"!=typeof n)throw new TypeError("@boundMethod decorator can only be applied to methods not: ".concat(o(n)));var a=!1;return{configurable:!0,get:function(){if(a||this===t.prototype||this.hasOwnProperty(e)||"function"!=typeof n)return n;var r=n.bind(this);return a=!0,Object.defineProperty(this,e,{configurable:!0,get:function(){return r},set:function(t){n=t,delete this[e]}}),a=!1,r},set:function(t){n=t}}}function i(t){var e;return"undefined"!=typeof Reflect&&"function"==typeof Reflect.ownKeys?e=Reflect.ownKeys(t.prototype):(e=Object.getOwnPropertyNames(t.prototype),"function"==typeof Object.getOwnPropertySymbols&&(e=e.concat(Object.getOwnPropertySymbols(t.prototype)))),e.forEach((function(e){if("constructor"!==e){var r=Object.getOwnPropertyDescriptor(t.prototype,e);"function"==typeof r.value&&Object.defineProperty(t.prototype,e,a(t,e,r))}})),t}function l(){return 1===arguments.length?i.apply(void 0,arguments):a.apply(void 0,arguments)}},2766:(t,e,r)=>{"use strict";function n(t,e,r){t.prototype=e.prototype=r,r.constructor=t}function o(t,e){var r=Object.create(t.prototype);for(var n in e)r[n]=e[n];return r}function a(){}r.d(e,{ZP:()=>x,B8:()=>M});var i=.7,l=1/i,u="\\s*([+-]?\\d+)\\s*",c="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)\\s*",s="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)%\\s*",p=/^#([0-9a-f]{3,8})$/,f=new RegExp("^rgb\\("+[u,u,u]+"\\)$"),h=new RegExp("^rgb\\("+[s,s,s]+"\\)$"),d=new RegExp("^rgba\\("+[u,u,u,c]+"\\)$"),y=new RegExp("^rgba\\("+[s,s,s,c]+"\\)$"),m=new RegExp("^hsl\\("+[c,s,s]+"\\)$"),v=new RegExp("^hsla\\("+[c,s,s,c]+"\\)$"),g={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};function b(){return this.rgb().formatHex()}function w(){return this.rgb().formatRgb()}function x(t){var e,r;return t=(t+"").trim().toLowerCase(),(e=p.exec(t))?(r=e[1].length,e=parseInt(e[1],16),6===r?O(e):3===r?new S(e>>8&15|e>>4&240,e>>4&15|240&e,(15&e)<<4|15&e,1):8===r?N(e>>24&255,e>>16&255,e>>8&255,(255&e)/255):4===r?N(e>>12&15|e>>8&240,e>>8&15|e>>4&240,e>>4&15|240&e,((15&e)<<4|15&e)/255):null):(e=f.exec(t))?new S(e[1],e[2],e[3],1):(e=h.exec(t))?new S(255*e[1]/100,255*e[2]/100,255*e[3]/100,1):(e=d.exec(t))?N(e[1],e[2],e[3],e[4]):(e=y.exec(t))?N(255*e[1]/100,255*e[2]/100,255*e[3]/100,e[4]):(e=m.exec(t))?F(e[1],e[2]/100,e[3]/100,1):(e=v.exec(t))?F(e[1],e[2]/100,e[3]/100,e[4]):g.hasOwnProperty(t)?O(g[t]):"transparent"===t?new S(NaN,NaN,NaN,0):null}function O(t){return new S(t>>16&255,t>>8&255,255&t,1)}function N(t,e,r,n){return n<=0&&(t=e=r=NaN),new S(t,e,r,n)}function k(t){return t instanceof a||(t=x(t)),t?new S((t=t.rgb()).r,t.g,t.b,t.opacity):new S}function M(t,e,r,n){return 1===arguments.length?k(t):new S(t,e,r,null==n?1:n)}function S(t,e,r,n){this.r=+t,this.g=+e,this.b=+r,this.opacity=+n}function E(){return"#"+P(this.r)+P(this.g)+P(this.b)}function j(){var t=this.opacity;return(1===(t=isNaN(t)?1:Math.max(0,Math.min(1,t)))?"rgb(":"rgba(")+Math.max(0,Math.min(255,Math.round(this.r)||0))+", "+Math.max(0,Math.min(255,Math.round(this.g)||0))+", "+Math.max(0,Math.min(255,Math.round(this.b)||0))+(1===t?")":", "+t+")")}function P(t){return((t=Math.max(0,Math.min(255,Math.round(t)||0)))<16?"0":"")+t.toString(16)}function F(t,e,r,n){return n<=0?t=e=r=NaN:r<=0||r>=1?t=e=NaN:e<=0&&(t=NaN),new D(t,e,r,n)}function L(t){if(t instanceof D)return new D(t.h,t.s,t.l,t.opacity);if(t instanceof a||(t=x(t)),!t)return new D;if(t instanceof D)return t;var e=(t=t.rgb()).r/255,r=t.g/255,n=t.b/255,o=Math.min(e,r,n),i=Math.max(e,r,n),l=NaN,u=i-o,c=(i+o)/2;return u?(l=e===i?(r-n)/u+6*(r<n):r===i?(n-e)/u+2:(e-r)/u+4,u/=c<.5?i+o:2-i-o,l*=60):u=c>0&&c<1?0:l,new D(l,u,c,t.opacity)}function D(t,e,r,n){this.h=+t,this.s=+e,this.l=+r,this.opacity=+n}function R(t,e,r){return 255*(t<60?e+(r-e)*t/60:t<180?r:t<240?e+(r-e)*(240-t)/60:e)}n(a,x,{copy:function(t){return Object.assign(new this.constructor,this,t)},displayable:function(){return this.rgb().displayable()},hex:b,formatHex:b,formatHsl:function(){return L(this).formatHsl()},formatRgb:w,toString:w}),n(S,M,o(a,{brighter:function(t){return t=null==t?l:Math.pow(l,t),new S(this.r*t,this.g*t,this.b*t,this.opacity)},darker:function(t){return t=null==t?i:Math.pow(i,t),new S(this.r*t,this.g*t,this.b*t,this.opacity)},rgb:function(){return this},displayable:function(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:E,formatHex:E,formatRgb:j,toString:j})),n(D,(function(t,e,r,n){return 1===arguments.length?L(t):new D(t,e,r,null==n?1:n)}),o(a,{brighter:function(t){return t=null==t?l:Math.pow(l,t),new D(this.h,this.s,this.l*t,this.opacity)},darker:function(t){return t=null==t?i:Math.pow(i,t),new D(this.h,this.s,this.l*t,this.opacity)},rgb:function(){var t=this.h%360+360*(this.h<0),e=isNaN(t)||isNaN(this.s)?0:this.s,r=this.l,n=r+(r<.5?r:1-r)*e,o=2*r-n;return new S(R(t>=240?t-240:t+120,o,n),R(t,o,n),R(t<120?t+240:t-120,o,n),this.opacity)},displayable:function(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl:function(){var t=this.opacity;return(1===(t=isNaN(t)?1:Math.max(0,Math.min(1,t)))?"hsl(":"hsla(")+(this.h||0)+", "+100*(this.s||0)+"%, "+100*(this.l||0)+"%"+(1===t?")":", "+t+")")}}))},1820:(t,e,r)=>{"use strict";r.d(e,{Z:()=>ot});var n=Math.sqrt(50),o=Math.sqrt(10),a=Math.sqrt(2);function i(t,e,r){var i=(e-t)/Math.max(0,r),l=Math.floor(Math.log(i)/Math.LN10),u=i/Math.pow(10,l);return l>=0?(u>=n?10:u>=o?5:u>=a?2:1)*Math.pow(10,l):-Math.pow(10,-l)/(u>=n?10:u>=o?5:u>=a?2:1)}function l(t,e){return t<e?-1:t>e?1:t>=e?0:NaN}function u(t){var e=t,r=t;function n(t,e,n,o){for(null==n&&(n=0),null==o&&(o=t.length);n<o;){var a=n+o>>>1;r(t[a],e)<0?n=a+1:o=a}return n}return 1===t.length&&(e=function(e,r){return t(e)-r},r=function(t){return function(e,r){return l(t(e),r)}}(t)),{left:n,center:function(t,r,o,a){null==o&&(o=0),null==a&&(a=t.length);var i=n(t,r,o,a-1);return i>o&&e(t[i-1],r)>-e(t[i],r)?i-1:i},right:function(t,e,n,o){for(null==n&&(n=0),null==o&&(o=t.length);n<o;){var a=n+o>>>1;r(t[a],e)>0?o=a:n=a+1}return n}}}r(9673);var c=u(l),s=c.right;c.left,u((function(t){return null===t?NaN:+t})).center;const p=s;var f=r(4329),h=r(2766);function d(t,e,r,n,o){var a=t*t,i=a*t;return((1-3*t+3*a-i)*e+(4-6*a+3*i)*r+(1+3*t+3*a-3*i)*n+i*o)/6}const y=function(t){return function(){return t}};function m(t,e){return function(r){return t+r*e}}function v(t){return 1==(t=+t)?g:function(e,r){return r-e?function(t,e,r){return t=Math.pow(t,r),e=Math.pow(e,r)-t,r=1/r,function(n){return Math.pow(t+n*e,r)}}(e,r,t):y(isNaN(e)?r:e)}}function g(t,e){var r=e-t;return r?m(t,r):y(isNaN(t)?e:t)}const b=function t(e){var r=v(e);function n(t,e){var n=r((t=(0,h.B8)(t)).r,(e=(0,h.B8)(e)).r),o=r(t.g,e.g),a=r(t.b,e.b),i=g(t.opacity,e.opacity);return function(e){return t.r=n(e),t.g=o(e),t.b=a(e),t.opacity=i(e),t+""}}return n.gamma=t,n}(1);function w(t){return function(e){var r,n,o=e.length,a=new Array(o),i=new Array(o),l=new Array(o);for(r=0;r<o;++r)n=(0,h.B8)(e[r]),a[r]=n.r||0,i[r]=n.g||0,l[r]=n.b||0;return a=t(a),i=t(i),l=t(l),n.opacity=1,function(t){return n.r=a(t),n.g=i(t),n.b=l(t),n+""}}}w((function(t){var e=t.length-1;return function(r){var n=r<=0?r=0:r>=1?(r=1,e-1):Math.floor(r*e),o=t[n],a=t[n+1],i=n>0?t[n-1]:2*o-a,l=n<e-1?t[n+2]:2*a-o;return d((r-n/e)*e,i,o,a,l)}})),w((function(t){var e=t.length;return function(r){var n=Math.floor(((r%=1)<0?++r:r)*e),o=t[(n+e-1)%e],a=t[n%e],i=t[(n+1)%e],l=t[(n+2)%e];return d((r-n/e)*e,o,a,i,l)}}));function x(t,e){var r,n=e?e.length:0,o=t?Math.min(n,t.length):0,a=new Array(o),i=new Array(n);for(r=0;r<o;++r)a[r]=P(t[r],e[r]);for(;r<n;++r)i[r]=e[r];return function(t){for(r=0;r<o;++r)i[r]=a[r](t);return i}}function O(t,e){var r=new Date;return t=+t,e=+e,function(n){return r.setTime(t*(1-n)+e*n),r}}function N(t,e){return t=+t,e=+e,function(r){return t*(1-r)+e*r}}function k(t,e){var r,n={},o={};for(r in null!==t&&"object"===(0,f.Z)(t)||(t={}),null!==e&&"object"===(0,f.Z)(e)||(e={}),e)r in t?n[r]=P(t[r],e[r]):o[r]=e[r];return function(t){for(r in n)o[r]=n[r](t);return o}}var M=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,S=new RegExp(M.source,"g");function E(t,e){var r,n,o,a=M.lastIndex=S.lastIndex=0,i=-1,l=[],u=[];for(t+="",e+="";(r=M.exec(t))&&(n=S.exec(e));)(o=n.index)>a&&(o=e.slice(a,o),l[i]?l[i]+=o:l[++i]=o),(r=r[0])===(n=n[0])?l[i]?l[i]+=n:l[++i]=n:(l[++i]=null,u.push({i,x:N(r,n)})),a=S.lastIndex;return a<e.length&&(o=e.slice(a),l[i]?l[i]+=o:l[++i]=o),l.length<2?u[0]?function(t){return function(e){return t(e)+""}}(u[0].x):function(t){return function(){return t}}(e):(e=u.length,function(t){for(var r,n=0;n<e;++n)l[(r=u[n]).i]=r.x(t);return l.join("")})}function j(t,e){e||(e=[]);var r,n=t?Math.min(e.length,t.length):0,o=e.slice();return function(a){for(r=0;r<n;++r)o[r]=t[r]*(1-a)+e[r]*a;return o}}function P(t,e){var r,n,o=(0,f.Z)(e);return null==e||"boolean"===o?y(e):("number"===o?N:"string"===o?(r=(0,h.ZP)(e))?(e=r,b):E:e instanceof h.ZP?b:e instanceof Date?O:(n=e,!ArrayBuffer.isView(n)||n instanceof DataView?Array.isArray(e)?x:"function"!=typeof e.valueOf&&"function"!=typeof e.toString||isNaN(e)?k:N:j))(t,e)}function F(t,e){return t=+t,e=+e,function(r){return Math.round(t*(1-r)+e*r)}}function L(t){return+t}var D=[0,1];function R(t){return t}function T(t,e){return(e-=t=+t)?function(r){return(r-t)/e}:(r=isNaN(e)?NaN:.5,function(){return r});var r}function _(t,e,r){var n=t[0],o=t[1],a=e[0],i=e[1];return o<n?(n=T(o,n),a=r(i,a)):(n=T(n,o),a=r(a,i)),function(t){return a(n(t))}}function C(t,e,r){var n=Math.min(t.length,e.length)-1,o=new Array(n),a=new Array(n),i=-1;for(t[n]<t[0]&&(t=t.slice().reverse(),e=e.slice().reverse());++i<n;)o[i]=T(t[i],t[i+1]),a[i]=r(e[i],e[i+1]);return function(e){var r=p(t,e,1,n)-1;return a[r](o[r](e))}}function A(t,e){return e.domain(t.domain()).range(t.range()).interpolate(t.interpolate()).clamp(t.clamp()).unknown(t.unknown())}function q(){var t,e,r,n,o,a,i=D,l=D,u=P,c=R;function s(){var t,e,r,u=Math.min(i.length,l.length);return c!==R&&(t=i[0],e=i[u-1],t>e&&(r=t,t=e,e=r),c=function(r){return Math.max(t,Math.min(e,r))}),n=u>2?C:_,o=a=null,p}function p(e){return null==e||isNaN(e=+e)?r:(o||(o=n(i.map(t),l,u)))(t(c(e)))}return p.invert=function(r){return c(e((a||(a=n(l,i.map(t),N)))(r)))},p.domain=function(t){return arguments.length?(i=Array.from(t,L),s()):i.slice()},p.range=function(t){return arguments.length?(l=Array.from(t),s()):l.slice()},p.rangeRound=function(t){return l=Array.from(t),u=F,s()},p.clamp=function(t){return arguments.length?(c=!!t||R,s()):c!==R},p.interpolate=function(t){return arguments.length?(u=t,s()):u},p.unknown=function(t){return arguments.length?(r=t,p):r},function(r,n){return t=r,e=n,s()}}function I(){return q()(R,R)}function V(t,e){switch(arguments.length){case 0:break;case 1:this.range(t);break;default:this.range(e).domain(t)}return this}var z,G=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function B(t){if(!(e=G.exec(t)))throw new Error("invalid format: "+t);var e;return new K({fill:e[1],align:e[2],sign:e[3],symbol:e[4],zero:e[5],width:e[6],comma:e[7],precision:e[8]&&e[8].slice(1),trim:e[9],type:e[10]})}function K(t){this.fill=void 0===t.fill?" ":t.fill+"",this.align=void 0===t.align?">":t.align+"",this.sign=void 0===t.sign?"-":t.sign+"",this.symbol=void 0===t.symbol?"":t.symbol+"",this.zero=!!t.zero,this.width=void 0===t.width?void 0:+t.width,this.comma=!!t.comma,this.precision=void 0===t.precision?void 0:+t.precision,this.trim=!!t.trim,this.type=void 0===t.type?"":t.type+""}function Z(t,e){if((r=(t=e?t.toExponential(e-1):t.toExponential()).indexOf("e"))<0)return null;var r,n=t.slice(0,r);return[n.length>1?n[0]+n.slice(2):n,+t.slice(r+1)]}function $(t){return(t=Z(Math.abs(t)))?t[1]:NaN}function H(t,e){var r=Z(t,e);if(!r)return t+"";var n=r[0],o=r[1];return o<0?"0."+new Array(-o).join("0")+n:n.length>o+1?n.slice(0,o+1)+"."+n.slice(o+1):n+new Array(o-n.length+2).join("0")}B.prototype=K.prototype,K.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(void 0===this.width?"":Math.max(1,0|this.width))+(this.comma?",":"")+(void 0===this.precision?"":"."+Math.max(0,0|this.precision))+(this.trim?"~":"")+this.type};const W={"%":function(t,e){return(100*t).toFixed(e)},b:function(t){return Math.round(t).toString(2)},c:function(t){return t+""},d:function(t){return Math.abs(t=Math.round(t))>=1e21?t.toLocaleString("en").replace(/,/g,""):t.toString(10)},e:function(t,e){return t.toExponential(e)},f:function(t,e){return t.toFixed(e)},g:function(t,e){return t.toPrecision(e)},o:function(t){return Math.round(t).toString(8)},p:function(t,e){return H(100*t,e)},r:H,s:function(t,e){var r=Z(t,e);if(!r)return t+"";var n=r[0],o=r[1],a=o-(z=3*Math.max(-8,Math.min(8,Math.floor(o/3))))+1,i=n.length;return a===i?n:a>i?n+new Array(a-i+1).join("0"):a>0?n.slice(0,a)+"."+n.slice(a):"0."+new Array(1-a).join("0")+Z(t,Math.max(0,e+a-1))[0]},X:function(t){return Math.round(t).toString(16).toUpperCase()},x:function(t){return Math.round(t).toString(16)}};function X(t){return t}var Y,Q,U,J=Array.prototype.map,tt=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"];function et(t){var e,r,n=void 0===t.grouping||void 0===t.thousands?X:(e=J.call(t.grouping,Number),r=t.thousands+"",function(t,n){for(var o=t.length,a=[],i=0,l=e[0],u=0;o>0&&l>0&&(u+l+1>n&&(l=Math.max(1,n-u)),a.push(t.substring(o-=l,o+l)),!((u+=l+1)>n));)l=e[i=(i+1)%e.length];return a.reverse().join(r)}),o=void 0===t.currency?"":t.currency[0]+"",a=void 0===t.currency?"":t.currency[1]+"",i=void 0===t.decimal?".":t.decimal+"",l=void 0===t.numerals?X:function(t){return function(e){return e.replace(/[0-9]/g,(function(e){return t[+e]}))}}(J.call(t.numerals,String)),u=void 0===t.percent?"%":t.percent+"",c=void 0===t.minus?"-":t.minus+"",s=void 0===t.nan?"NaN":t.nan+"";function p(t){var e=(t=B(t)).fill,r=t.align,p=t.sign,f=t.symbol,h=t.zero,d=t.width,y=t.comma,m=t.precision,v=t.trim,g=t.type;"n"===g?(y=!0,g="g"):W[g]||(void 0===m&&(m=12),v=!0,g="g"),(h||"0"===e&&"="===r)&&(h=!0,e="0",r="=");var b="$"===f?o:"#"===f&&/[boxX]/.test(g)?"0"+g.toLowerCase():"",w="$"===f?a:/[%p]/.test(g)?u:"",x=W[g],O=/[defgprs%]/.test(g);function N(t){var o,a,u,f=b,N=w;if("c"===g)N=x(t)+N,t="";else{var k=(t=+t)<0||1/t<0;if(t=isNaN(t)?s:x(Math.abs(t),m),v&&(t=function(t){t:for(var e,r=t.length,n=1,o=-1;n<r;++n)switch(t[n]){case".":o=e=n;break;case"0":0===o&&(o=n),e=n;break;default:if(!+t[n])break t;o>0&&(o=0)}return o>0?t.slice(0,o)+t.slice(e+1):t}(t)),k&&0==+t&&"+"!==p&&(k=!1),f=(k?"("===p?p:c:"-"===p||"("===p?"":p)+f,N=("s"===g?tt[8+z/3]:"")+N+(k&&"("===p?")":""),O)for(o=-1,a=t.length;++o<a;)if(48>(u=t.charCodeAt(o))||u>57){N=(46===u?i+t.slice(o+1):t.slice(o))+N,t=t.slice(0,o);break}}y&&!h&&(t=n(t,1/0));var M=f.length+t.length+N.length,S=M<d?new Array(d-M+1).join(e):"";switch(y&&h&&(t=n(S+t,S.length?d-N.length:1/0),S=""),r){case"<":t=f+t+N+S;break;case"=":t=f+S+t+N;break;case"^":t=S.slice(0,M=S.length>>1)+f+t+N+S.slice(M);break;default:t=S+f+t+N}return l(t)}return m=void 0===m?6:/[gprs]/.test(g)?Math.max(1,Math.min(21,m)):Math.max(0,Math.min(20,m)),N.toString=function(){return t+""},N}return{format:p,formatPrefix:function(t,e){var r=p(((t=B(t)).type="f",t)),n=3*Math.max(-8,Math.min(8,Math.floor($(e)/3))),o=Math.pow(10,-n),a=tt[8+n/3];return function(t){return r(o*t)+a}}}}function rt(t,e,r,i){var l,u=function(t,e,r){var i=Math.abs(e-t)/Math.max(0,r),l=Math.pow(10,Math.floor(Math.log(i)/Math.LN10)),u=i/l;return u>=n?l*=10:u>=o?l*=5:u>=a&&(l*=2),e<t?-l:l}(t,e,r);switch((i=B(null==i?",f":i)).type){case"s":var c=Math.max(Math.abs(t),Math.abs(e));return null!=i.precision||isNaN(l=function(t,e){return Math.max(0,3*Math.max(-8,Math.min(8,Math.floor($(e)/3)))-$(Math.abs(t)))}(u,c))||(i.precision=l),U(i,c);case"":case"e":case"g":case"p":case"r":null!=i.precision||isNaN(l=function(t,e){return t=Math.abs(t),e=Math.abs(e)-t,Math.max(0,$(e)-$(t))+1}(u,Math.max(Math.abs(t),Math.abs(e))))||(i.precision=l-("e"===i.type));break;case"f":case"%":null!=i.precision||isNaN(l=function(t){return Math.max(0,-$(Math.abs(t)))}(u))||(i.precision=l-2*("%"===i.type))}return Q(i)}function nt(t){var e=t.domain;return t.ticks=function(t){var r=e();return function(t,e,r){var n,o,a,l,u=-1;if(r=+r,(t=+t)==(e=+e)&&r>0)return[t];if((n=e<t)&&(o=t,t=e,e=o),0===(l=i(t,e,r))||!isFinite(l))return[];if(l>0){var c=Math.round(t/l),s=Math.round(e/l);for(c*l<t&&++c,s*l>e&&--s,a=new Array(o=s-c+1);++u<o;)a[u]=(c+u)*l}else{l=-l;var p=Math.round(t*l),f=Math.round(e*l);for(p/l<t&&++p,f/l>e&&--f,a=new Array(o=f-p+1);++u<o;)a[u]=(p+u)/l}return n&&a.reverse(),a}(r[0],r[r.length-1],null==t?10:t)},t.tickFormat=function(t,r){var n=e();return rt(n[0],n[n.length-1],null==t?10:t,r)},t.nice=function(r){null==r&&(r=10);var n,o,a=e(),l=0,u=a.length-1,c=a[l],s=a[u],p=10;for(s<c&&(o=c,c=s,s=o,o=l,l=u,u=o);p-- >0;){if((o=i(c,s,r))===n)return a[l]=c,a[u]=s,e(a);if(o>0)c=Math.floor(c/o)*o,s=Math.ceil(s/o)*o;else{if(!(o<0))break;c=Math.ceil(c*o)/o,s=Math.floor(s*o)/o}n=o}return t},t}function ot(){var t=I();return t.copy=function(){return A(t,ot())},V.apply(t,arguments),nt(t)}Y=et({decimal:".",thousands:",",grouping:[3],currency:["$",""],minus:"-"}),Q=Y.format,U=Y.formatPrefix},8352:(t,e,r)=>{"use strict";var n=r(8156),o=r.n(n),a=r(8310),i=r.n(a),l=r(8721),u=r.n(l),c=o().memo((function(t){var e=i()(null==t?void 0:t.className,"atoka-form-label");return o().createElement(u().Label,{className:e},t.children)}));c.displayName="FormLabel";var s=r(2048),p=function(){return p=Object.assign||function(t){for(var e,r=1,n=arguments.length;r<n;r++)for(var o in e=arguments[r])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t},p.apply(this,arguments)},f=function(t){var e,r=i()("atoka-form-checkbox",null==t?void 0:t.className);return o().createElement(u().Check,p({type:"checkbox"},t,{custom:!0,className:r,label:null!==(e=t.label)&&void 0!==e?e:""}))};f.displayName="FormCheckbox";var h=function(){return h=Object.assign||function(t){for(var e,r=1,n=arguments.length;r<n;r++)for(var o in e=arguments[r])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t},h.apply(this,arguments)},d=function(t){var e,r=i()(null==t?void 0:t.className,"atoka-form-radio");return o().createElement(u().Check,h({type:"radio"},t,{custom:!0,className:r,label:null!==(e=t.label)&&void 0!==e?e:""}))};d.displayName="FormRadio";var y=r(8763),m=r.n(y),v=function(t,e){var r={};for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&e.indexOf(n)<0&&(r[n]=t[n]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(t);o<n.length;o++)e.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(t,n[o])&&(r[n[o]]=t[n[o]])}return r},g=o().memo((function(t){var e=t.children,r=v(t,["children"]),n=i()("d-block",null==r?void 0:r.className);return o().createElement(m(),{bsPrefix:"atoka-form-help",className:n},e)}));g.displayName="FormHelp";var b=function(){return b=Object.assign||function(t){for(var e,r=1,n=arguments.length;r<n;r++)for(var o in e=arguments[r])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t},b.apply(this,arguments)},w=function(t){var e=i()(null==t?void 0:t.className,"atoka-form");return o().createElement(u(),b({},t,{className:e}),t.children)};w.displayName="Form",w.Control=s.N,w.Label=c,w.Checkbox=f,w.Radio=d,w.File=u().File,w.Switch=u().Switch,w.Help=g,w.Group=u().Group},2048:(t,e,r)=>{"use strict";r.d(e,{N:()=>h});var n=r(8156),o=r.n(n),a=r(8310),i=r.n(a),l=r(1082),u=r.n(l),c=function(t,e){var r={};for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&e.indexOf(n)<0&&(r[n]=t[n]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(t);o<n.length;o++)e.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(t,n[o])&&(r[n[o]]=t[n[o]])}return r},s=o().memo((function(t){var e=t.show,r=void 0===e||e,n=c(t,["show"]),a=i()(null==n?void 0:n.className,"atoka-form-control-feedback",{"d-block":r});return o().createElement(u().Feedback,{type:n.type,className:a},n.children)}));s.displayName=" FormControlFeedBack";var p=function(t,e){var r={};for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&e.indexOf(n)<0&&(r[n]=t[n]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(t);o<n.length;o++)e.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(t,n[o])&&(r[n[o]]=t[n[o]])}return r},f=o().forwardRef((function(t,e){var r=t.size,n=void 0===r?"md":r,a=p(t,["size"]),l=i()("atoka-form-control",null==a?void 0:a.className,{"atoka-shadow":a.withShadow,disabled:a.disabled});return o().createElement(u(),{as:a.as,rows:a.rows,cols:a.cols,placeholder:a.placeholder,className:l,disabled:a.disabled,readOnly:a.readOnly,value:a.value,onChange:a.onChange,onKeyPress:a.onKeyPress,onKeyDown:a.onKeyDown,defaultValue:a.defaultValue,size:"md"===n?void 0:n,type:a.type,id:a.id,isValid:a.isValid,isInvalid:a.isInvalid,ref:e,autoComplete:"off"},a.children)}));f.displayName="FormControlComponent";var h=f;h.FeedBack=s,h.displayName="FormControl"},9984:(t,e,r)=>{"use strict";r.r(e),r.d(e,{Funnel:()=>N,FunnelData:()=>n.FunnelData});var n={};r.r(n),r.d(n,{o:()=>N});var o=r(9179),a=r(8156),i=r.n(a),l=r(6627),u=r(8310),c=r.n(u),s=r(4915),p=r(7540),f=r(4603),h=r(8007),d=r(3311),y=r(2394),m=6,v=i().memo((function(t){var e,r,n,o=t.item,a=t.numberToStringFormatter,l=t.fontSize,u=void 0===l?11:l,c=null===(e=o.data)||void 0===e?void 0:e.value,s=null!==(r=o.data.label)&&void 0!==r?r:"",f=o.width/m,h=(0,y.Hp)(s,f),d=o.y1+o.y0+30,v="".concat((0,y.lV)(s),"-data-label");return i().createElement("text",{key:v,className:v,x:o.x0,y:d,fill:p.de},i().createElement("tspan",{fontSize:u,x:o.x0,y:d-u},h),i().createElement("tspan",{fontSize:u,fill:"black",fontWeight:"bold",x:o.x0,y:d+3},null!==(n=null==a?void 0:a(c))&&void 0!==n?n:c))}));v.displayName="SVGDataLabel";var g,b,w=(g=function(t,e){return g=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])},g(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function r(){this.constructor=t}g(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}),x=function(t,e,r,n){var o,a=arguments.length,i=a<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(t,e,r,n);else for(var l=t.length-1;l>=0;l--)(o=t[l])&&(i=(a<3?o(i):a>3?o(e,r,i):o(e,r))||i);return a>3&&i&&Object.defineProperty(e,r,i),i},O=function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};!function(t){t.Parts="parts"}(b||(b={}));var N=function(t){function e(e){var r=t.call(this,e)||this;return r.marginBottom=60,r.renderTooltip=null,r.state={data:[],sinkData:[],colors:[]},r}var r,n,a,u,y,m,g,N,k,M,S,E;return w(e,t),e.prototype.componentDidMount=function(){this.setupComponent()},e.prototype.componentDidUpdate=function(t){(0,s.vZ)(t,this.props)||this.setupComponent()},e.prototype.setupComponent=function(){var t,e=this.separateDataFromSinkData(),r=e.data,n=e.sinkData,o=r.reduce((function(t,e){return t+e.value}),0),a=(0,p.vA)(r.length,this.props.colors);this.renderTooltip=(0,h.q)({tooltipDataLabelKey:"value",tooltipDataTitleKey:"id",tooltipDataValueKey:"percentage",numberToStringFormatter:null!==(t=this.props.tooltipValueFormat)&&void 0!==t?t:this.props.numberToStringFormatter,className:null,withColor:!0}),this.setState({data:r,sinkData:n,colors:a,isZeroData:0===o})},e.prototype.separateDataFromSinkData=function(){var t,e,r=[],n=[];return(null!==(e=null===(t=this.props)||void 0===t?void 0:t.data)&&void 0!==e?e:[]).forEach((function(t){t.isSinkState?n.push(t):r.push({id:t.label,value:t.value,label:t.label,percentage:t.percentage})})),{data:r,sinkData:n}},e.prototype.renderTooltips=function(){return i().createElement("div",{className:"position-absolute h-100 w-100 d-flex align-items-end"},this.state.data.map(this.renderSingleTooltip))},e.prototype.renderSingleTooltip=function(t,e){var r,n,o,a=null===(r=null==this?void 0:this.renderTooltip)||void 0===r?void 0:r.call(this,{data:t,color:null===(o=null===(n=this.state)||void 0===n?void 0:n.colors)||void 0===o?void 0:o[e]});return null==a?null:i().createElement(f.Tooltip,{key:t.label,placement:"top",content:a},i().createElement("div",{className:"w-100 tooltip-zone"}))},e.prototype.renderDataLabels=function(t){return t.parts.map(this.renderSVGDataLabel)},e.prototype.renderSinkDataLabels=function(t){return i().createElement(d.Q,{data:this.state.sinkData,x:0,y:t.height+this.marginBottom-8,valueFormat:this.props.numberToStringFormatter})},e.prototype.renderSVGDataLabel=function(t){return i().createElement(v,{key:"".concat(t.data.label,"-data"),item:t,numberToStringFormatter:this.props.numberToStringFormatter})},e.prototype.renderEmptyParts=function(t){return t.parts.map(this.renderEmptyPart)},e.prototype.renderEmptyPart=function(t){return i().createElement("line",{key:"".concat(t.data.label,"-empty"),x1:t.x0,y1:t.y,x2:t.x1,y2:t.y,stroke:t.color})},e.prototype.render=function(){var t=this.state.isZeroData?[this.renderEmptyParts]:[b.Parts],e=c()("funnel-container w-100 h-100",this.props.className);return t.push(this.renderDataLabels,this.renderSinkDataLabels),i().createElement("div",{id:this.props.id,className:e,ref:this.props.chartRef},i().createElement(o.ResponsiveFunnel,{layers:t,shapeBlending:.25,isInteractive:!1,data:this.state.data,colors:this.state.colors,direction:"horizontal",margin:{top:0,right:0,bottom:this.marginBottom,left:0},borderWidth:1,borderOpacity:1,labelColor:{from:"color",modifiers:[["darker",3]]},enableBeforeSeparators:!1,enableAfterSeparators:!1,currentBorderWidth:0}),this.renderTooltips())},e.displayName="Funnel",e.defaultProps={colors:[p.WV,p.Ls,p.P3,p.p5]},x([l.MR,O("design:type",Function),O("design:paramtypes",[]),O("design:returntype","function"==typeof(r=void 0!==i()&&i().ReactNode)?r:Object)],e.prototype,"renderTooltips",null),x([l.MR,O("design:type",Function),O("design:paramtypes",[Object,Number]),O("design:returntype","function"==typeof(n=void 0!==i()&&i().ReactNode)?n:Object)],e.prototype,"renderSingleTooltip",null),x([l.MR,O("design:type",Function),O("design:paramtypes",["function"==typeof(a=void 0!==o.FunnelCustomLayerProps&&o.FunnelCustomLayerProps)?a:Object]),O("design:returntype","function"==typeof(u=void 0!==i()&&i().ReactNode)?u:Object)],e.prototype,"renderDataLabels",null),x([l.MR,O("design:type",Function),O("design:paramtypes",["function"==typeof(y=void 0!==o.FunnelCustomLayerProps&&o.FunnelCustomLayerProps)?y:Object]),O("design:returntype","function"==typeof(m=void 0!==i()&&i().ReactNode)?m:Object)],e.prototype,"renderSinkDataLabels",null),x([l.MR,O("design:type",Function),O("design:paramtypes",["function"==typeof(g=void 0!==o.Part&&o.Part)?g:Object]),O("design:returntype","function"==typeof(N=void 0!==i()&&i().ReactNode)?N:Object)],e.prototype,"renderSVGDataLabel",null),x([l.MR,O("design:type",Function),O("design:paramtypes",["function"==typeof(k=void 0!==o.FunnelCustomLayerProps&&o.FunnelCustomLayerProps)?k:Object]),O("design:returntype","function"==typeof(M=void 0!==i()&&i().ReactNode)?M:Object)],e.prototype,"renderEmptyParts",null),x([l.MR,O("design:type",Function),O("design:paramtypes",["function"==typeof(S=void 0!==o.Part&&o.Part)?S:Object]),O("design:returntype","function"==typeof(E=void 0!==i()&&i().ReactNode)?E:Object)],e.prototype,"renderEmptyPart",null),e}(i().Component)},3311:(t,e,r)=>{"use strict";r.d(e,{Q:()=>h});var n,o=r(8156),a=r.n(o),i=r(6627),l=r(3654),u=r(7540),c=r(5909),s=(n=function(t,e){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])},n(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function r(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}),p=function(t,e,r,n){var o,a=arguments.length,i=a<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(t,e,r,n);else for(var l=t.length-1;l>=0;l--)(o=t[l])&&(i=(a<3?o(i):a>3?o(e,r,i):o(e,r))||i);return a>3&&i&&Object.defineProperty(e,r,i),i},f=function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)},h=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}var r,n,o,h;return s(e,t),e.prototype.renderSVGDataInfoBit=function(t,e){var r,n,o,i,l,c,s,p,f=null!==(r=t.label)&&void 0!==r?r:"",h=this.renderPercentage(t),d=this.renderCircle(null===(n=this.props.colors)||void 0===n?void 0:n[e]);return a().createElement(a().Fragment,{key:"".concat(t.label,"-legend-data")},d,a().createElement("text",{x:this.props.x,y:this.props.y,fill:u.de,fontSize:this.props.fontSize,key:"".concat(t.label,"-legend-data")},a().createElement("tspan",{dx:null==d?0:10},null!==(l=null===(i=(o=this.props).labelFormat)||void 0===i?void 0:i.call(o,f))&&void 0!==l?l:f),a().createElement("tspan",{x:this.getRightElementX(),dx:5,fill:"black",fontWeight:"bold",textAnchor:"end"},null!==(p=null===(s=(c=this.props).valueFormat)||void 0===s?void 0:s.call(c,t.value))&&void 0!==p?p:t.value),h))},e.prototype.renderSVGDataInfoBitMoreItems=function(t,e){var r,n,o,i,l,c,s,p,f=null!==(r=t.label)&&void 0!==r?r:"",h=this.renderPercentage(t),d=this.renderCircle(null===(n=this.props.colors)||void 0===n?void 0:n[e]);return a().createElement(a().Fragment,{key:"".concat(t.label,"-legend-data-items")},d,a().createElement("tspan",{dx:0===e||null!=d?0:10,fill:u.de},null!==(l=null===(i=(o=this.props).labelFormat)||void 0===i?void 0:i.call(o,f))&&void 0!==l?l:f),a().createElement("tspan",{dx:5,fill:"black",fontWeight:"bold"},null!==(p=null===(s=(c=this.props).valueFormat)||void 0===s?void 0:s.call(c,t.value))&&void 0!==p?p:t.value),h)},e.prototype.renderCircle=function(t){return null==t?null:a().createElement("circle",{cx:this.props.x,cy:this.props.y-3,r:"5",fill:t})},e.prototype.renderPercentage=function(t){var e,r=null!=t.percentage?(0,c.Ow)(t.percentage):null;return null==r?null:a().createElement("tspan",{x:this.getRightElementX(),dx:5,fill:null===(e=this.props.colors)||void 0===e?void 0:e[0]},r)},e.prototype.getRightElementX=function(){var t=this.props.width;if(null!=t)return(0===this.props.x?t/2:t)-18},e.prototype.removeItemIfNoValue=function(t){return t.filter((function(t){return null!==t.value}))},e.prototype.render=function(){var t=this.removeItemIfNoValue(this.props.data);return(null==t?void 0:t.length)>1?a().createElement("g",null,a().createElement("text",{x:this.props.x,y:this.props.y,dy:this.props.dy,fill:u.de,fontSize:this.props.fontSize,key:"legend-data-bit",className:"legend-data-bit"},t.map(this.renderSVGDataInfoBitMoreItems))):a().createElement("g",null,t.map(this.renderSVGDataInfoBit))},e.displayName="StatisticsSVGLegend",e.defaultProps={dy:0,fontSize:11,colors:[]},p([i.ZP,f("design:type",Function),f("design:paramtypes",["function"==typeof(r=void 0!==l.hz&&l.hz)?r:Object,Number]),f("design:returntype","function"==typeof(n=void 0!==a()&&a().ReactNode)?n:Object)],e.prototype,"renderSVGDataInfoBit",null),p([i.ZP,f("design:type",Function),f("design:paramtypes",["function"==typeof(o=void 0!==l.hz&&l.hz)?o:Object,Number]),f("design:returntype","function"==typeof(h=void 0!==a()&&a().ReactNode)?h:Object)],e.prototype,"renderSVGDataInfoBitMoreItems",null),e}(a().PureComponent)},8007:(t,e,r)=>{"use strict";r.d(e,{q:()=>l});var n=r(8156),o=r.n(n),a=r(4806),i=function(){return i=Object.assign||function(t){for(var e,r=1,n=arguments.length;r<n;r++)for(var o in e=arguments[r])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t},i.apply(this,arguments)};function l(t){var e=t.tooltipDataLabelKey,r=t.tooltipDataValueKey,n=t.tooltipDataTitleKey,l=t.otherId,u=t.otherLabel,c=t.numberToStringFormatter,s=t.withColor,p=t.className,f=void 0===p?"tooltip-background":p;return function(t){var p,h,d,y,m=i(i({},t.data),{value:null===(p=t.data)||void 0===p?void 0:p.value,label:null===(h=t.data)||void 0===h?void 0:h.label,id:null===(d=t.data)||void 0===d?void 0:d.id,percentage:null===(y=t.data)||void 0===y?void 0:y.percentage});return o().createElement(a.StatisticsTooltip,{otherId:l,otherLabel:u,numberToStringFormatter:c,data:m,tooltipDataLabelKey:e,tooltipDataTitleKey:n,tooltipDataValueKey:r,className:null!=f?f:"",color:s?t.color:void 0})}}},4806:(t,e,r)=>{"use strict";r.d(e,{StatisticsTooltip:()=>u});var n=r(8156),o=r.n(n),a=r(8310),i=r.n(a),l=r(5909),u=o().memo((function(t){function e(){var e=t.tooltipDataLabelKey,r=t.numberToStringFormatter,o=n(e,t.data);if(null!=o)return null==r?String(o):"string"==typeof o?o:r(o)}function r(){var e=n(t.tooltipDataValueKey,t.data);if(null!=e)return"number"==typeof e?(0,l.Ow)(e):e}function n(t,e){return null==t||null==e?void 0:e[t]}var a,u,c,s,p,f,h=i()("statistics-tooltip",null==t?void 0:t.className),d=null==t.color?null:o().createElement("span",{className:"tooltip-rectangle",style:{background:t.color}});return o().createElement("div",{className:h},o().createElement("div",{className:"d-flex align-items-center"},d,o().createElement("span",{className:"text-left"},(u=t.tooltipDataTitleKey,c=t.data,s=t.otherId,p=t.otherLabel,(f=n(u,c))===s?null!=p?p:s:f?String(f):void 0))),0===(a=[{value:e(),key:t.tooltipDataLabelKey,className:"label"},{value:r(),key:t.tooltipDataValueKey,className:"value"}].filter((function(t){return null!=t.value})).map((function(t){return o().createElement("span",{key:t.key,className:t.className},t.value)}))).length?null:o().createElement("div",{className:"d-flex justify-content-between"},a),t.children)}));u.displayName="StatisticsTooltip";r(8007)},4603:(t,e,r)=>{"use strict";r.d(e,{Tooltip:()=>p});var n=r(8156),o=r.n(n),a=r(8310),i=r.n(a),l=r(6043),u=r.n(l),c=function(){return c=Object.assign||function(t){for(var e,r=1,n=arguments.length;r<n;r++)for(var o in e=arguments[r])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t},c.apply(this,arguments)},s=function(t,e){var r={};for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&e.indexOf(n)<0&&(r[n]=t[n]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(t);o<n.length;o++)e.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(t,n[o])&&(r[n[o]]=t[n[o]])}return r},p=o().memo((function(t){var e,r=document.querySelector(".bs4-v3-external-container"),n=null!==(e=t.placement)&&void 0!==e?e:"top",a=i()("tooltip atoka-tooltip",t.className,{"top bs-tooltip-top":0===n.indexOf("top"),"right bs-tooltip-right":0===n.indexOf("right"),"bottom bs-tooltip-bottom":0===n.indexOf("bottom"),"left bs-tooltip-left":0===n.indexOf("left")}),l=t.content,p=s(t,["content"]);return o().createElement(u(),c({},p,{container:r,overlay:function(t){var e=t.arrowProps,r=s(t,["arrowProps"]),n=(r.show,s(r,["show"]));return o().createElement("div",c({},n,{className:a,role:"tooltip"}),o().createElement("div",{className:"tooltip-inner"},o().createElement("div",c({className:"arrow arrow-back"},e)),l,o().createElement("div",c({className:"arrow arrow-front"},e))))}}),t.children)}));p.displayName="Tooltip"},3654:()=>{},5909:(t,e,r)=>{"use strict";r.d(e,{Ow:()=>n});r(4915);function n(t){var e;return"".concat(parseInt(null===(e=null==t?void 0:t.toFixed)||void 0===e?void 0:e.call(t,0),10),"%")}},7540:(t,e,r)=>{"use strict";r.d(e,{vA:()=>o,WV:()=>i,Ls:()=>l,P3:()=>u,p5:()=>c,de:()=>s});var n=r(1820);function o(t,e){void 0===e&&(e=["#82CA9D","#F6EA25","#F7977A"]);var r=[];if(0!==t){var o=(0,n.Z)(),i=a(e.length,e.length),l=a(t,e.length);o=o.domain(i).range(e);for(var u=0;u<t;u++)r.push(o(l[u]));return r}}function a(t,e){var r=[];r.push(0);for(var n=0;n<t-2;n++){var o=Number(e/t*(n+1));r.push(parseFloat(o.toFixed(2)))}return r.push(e),r}var i="#AFD1E0",l="#94C2DA",u="#6E9DB5",c="rgb(32, 88, 113)",s="#717171"},2394:(t,e,r)=>{"use strict";r.d(e,{lV:()=>n,Hp:()=>o});function n(t){var e="àáâäæãåāăąçćčđďèéêëēėęěğǵḧîïíīįìłḿñńǹňôöòóœøōõőṕŕřßśšşșťțûüùúūǘůűųẃẍÿýžźż·/_,:;",r=new RegExp(e.split("").join("|"),"g");return t.toString().toLowerCase().replace(/\s+/g,"-").replace(r,(function(t){return"aaaaaaaaaacccddeeeeeeeegghiiiiiilmnnnnoooooooooprrsssssttuuuuuuuuuwxyyzzz------".charAt(e.indexOf(t))})).replace(/&/g,"-and-").replace(/[^\w-]+/g,"").replace(/--+/g,"-").replace(/^-+/,"").replace(/-+$/,"")}function o(t,e){return null==t?"":t.length>e?"".concat(t.substr(0,e-1),"…"):t}},4915:(t,e,r)=>{"use strict";r.d(e,{vZ:()=>o});r(5692),r(8156),r(8352);function n(t){return"object"==typeof t&&null!=t}function o(t,e){if(t===e)return!0;if(n(t)&&n(e)){if(Object.keys(t).length!==Object.keys(e).length)return!1;for(var r in t)if(!o(t[r],e[r]))return!1;return!0}return!1}},5692:e=>{"use strict";e.exports=t},9179:t=>{"use strict";t.exports=e},8310:t=>{"use strict";t.exports=r},8156:t=>{"use strict";t.exports=n},8721:t=>{"use strict";t.exports=o},1082:t=>{"use strict";t.exports=a},8763:t=>{"use strict";t.exports=i},6043:t=>{"use strict";t.exports=l},4329:(t,e,r)=>{"use strict";function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}r.d(e,{Z:()=>n})}},s={};function p(t){var e=s[t];if(void 0!==e)return e.exports;var r=s[t]={exports:{}};return c[t](r,r.exports,p),r.exports}p.m=c,u=[],p.O=(t,e,r,n)=>{if(!e){var o=1/0;for(c=0;c<u.length;c++){for(var[e,r,n]=u[c],a=!0,i=0;i<e.length;i++)(!1&n||o>=n)&&Object.keys(p.O).every((t=>p.O[t](e[i])))?e.splice(i--,1):(a=!1,n<o&&(o=n));if(a){u.splice(c--,1);var l=r();void 0!==l&&(t=l)}}return t}n=n||0;for(var c=u.length;c>0&&u[c-1][2]>n;c--)u[c]=u[c-1];u[c]=[e,r,n]},p.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return p.d(e,{a:e}),e},p.d=(t,e)=>{for(var r in e)p.o(e,r)&&!p.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:e[r]})},p.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),p.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},(()=>{var t={2494:0,9811:0,2823:0,8535:0};p.O.j=e=>0===t[e];var e=(e,r)=>{var n,o,[a,i,l]=r,u=0;if(a.some((e=>0!==t[e]))){for(n in i)p.o(i,n)&&(p.m[n]=i[n]);if(l)var c=l(p)}for(e&&e(r);u<a.length;u++)o=a[u],p.o(t,o)&&t[o]&&t[o][0](),t[a[u]]=0;return p.O(c)},r=self.webpackChunkatoka_design_system=self.webpackChunkatoka_design_system||[];r.forEach(e.bind(null,0)),r.push=e.bind(null,r.push.bind(r))})();var f=p.O(void 0,[8535],(()=>p(9984)));return f=p.O(f)})()}));
package/Gauge/index.js CHANGED
@@ -1,2 +1,2 @@
1
1
  /*! For license information please see index.js.LICENSE.txt */
2
- !function(t,r){"object"==typeof exports&&"object"==typeof module?module.exports=r(require("@fortawesome/react-fontawesome"),require("classnames"),require("react"),require("react-bootstrap/Form"),require("react-bootstrap/FormControl"),require("react-bootstrap/FormText")):"function"==typeof define&&define.amd?define("atoka-design-system",["@fortawesome/react-fontawesome","classnames","react","react-bootstrap/Form","react-bootstrap/FormControl","react-bootstrap/FormText"],r):"object"==typeof exports?exports["atoka-design-system"]=r(require("@fortawesome/react-fontawesome"),require("classnames"),require("react"),require("react-bootstrap/Form"),require("react-bootstrap/FormControl"),require("react-bootstrap/FormText")):t["atoka-design-system"]=r(t["@fortawesome/react-fontawesome"],t.classnames,t.react,t["react-bootstrap/Form"],t["react-bootstrap/FormControl"],t["react-bootstrap/FormText"])}(self,(function(t,r,e,n,o,i){return(()=>{var a,u={9172:(t,r,e)=>{var n=e(6496).default;function o(){"use strict";t.exports=o=function(){return r},t.exports.__esModule=!0,t.exports.default=t.exports;var r={},e=Object.prototype,i=e.hasOwnProperty,a="function"==typeof Symbol?Symbol:{},u=a.iterator||"@@iterator",s=a.asyncIterator||"@@asyncIterator",c=a.toStringTag||"@@toStringTag";function l(t,r,e){return Object.defineProperty(t,r,{value:e,enumerable:!0,configurable:!0,writable:!0}),t[r]}try{l({},"")}catch(t){l=function(t,r,e){return t[r]=e}}function h(t,r,e,n){var o=r&&r.prototype instanceof d?r:d,i=Object.create(o.prototype),a=new j(n||[]);return i._invoke=function(t,r,e){var n="suspendedStart";return function(o,i){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw i;return S()}for(e.method=o,e.arg=i;;){var a=e.delegate;if(a){var u=k(a,e);if(u){if(u===p)continue;return u}}if("next"===e.method)e.sent=e._sent=e.arg;else if("throw"===e.method){if("suspendedStart"===n)throw n="completed",e.arg;e.dispatchException(e.arg)}else"return"===e.method&&e.abrupt("return",e.arg);n="executing";var s=f(t,r,e);if("normal"===s.type){if(n=e.done?"completed":"suspendedYield",s.arg===p)continue;return{value:s.arg,done:e.done}}"throw"===s.type&&(n="completed",e.method="throw",e.arg=s.arg)}}}(t,e,a),i}function f(t,r,e){try{return{type:"normal",arg:t.call(r,e)}}catch(t){return{type:"throw",arg:t}}}r.wrap=h;var p={};function d(){}function g(){}function m(){}var y={};l(y,u,(function(){return this}));var v=Object.getPrototypeOf,b=v&&v(v(E([])));b&&b!==e&&i.call(b,u)&&(y=b);var w=m.prototype=d.prototype=Object.create(y);function x(t){["next","throw","return"].forEach((function(r){l(t,r,(function(t){return this._invoke(r,t)}))}))}function M(t,r){function e(o,a,u,s){var c=f(t[o],t,a);if("throw"!==c.type){var l=c.arg,h=l.value;return h&&"object"==n(h)&&i.call(h,"__await")?r.resolve(h.__await).then((function(t){e("next",t,u,s)}),(function(t){e("throw",t,u,s)})):r.resolve(h).then((function(t){l.value=t,u(l)}),(function(t){return e("throw",t,u,s)}))}s(c.arg)}var o;this._invoke=function(t,n){function i(){return new r((function(r,o){e(t,n,r,o)}))}return o=o?o.then(i,i):i()}}function k(t,r){var e=t.iterator[r.method];if(void 0===e){if(r.delegate=null,"throw"===r.method){if(t.iterator.return&&(r.method="return",r.arg=void 0,k(t,r),"throw"===r.method))return p;r.method="throw",r.arg=new TypeError("The iterator does not provide a 'throw' method")}return p}var n=f(e,t.iterator,r.arg);if("throw"===n.type)return r.method="throw",r.arg=n.arg,r.delegate=null,p;var o=n.arg;return o?o.done?(r[t.resultName]=o.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=void 0),r.delegate=null,p):o:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,p)}function N(t){var r={tryLoc:t[0]};1 in t&&(r.catchLoc=t[1]),2 in t&&(r.finallyLoc=t[2],r.afterLoc=t[3]),this.tryEntries.push(r)}function O(t){var r=t.completion||{};r.type="normal",delete r.arg,t.completion=r}function j(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(N,this),this.reset(!0)}function E(t){if(t){var r=t[u];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var e=-1,n=function r(){for(;++e<t.length;)if(i.call(t,e))return r.value=t[e],r.done=!1,r;return r.value=void 0,r.done=!0,r};return n.next=n}}return{next:S}}function S(){return{value:void 0,done:!0}}return g.prototype=m,l(w,"constructor",m),l(m,"constructor",g),g.displayName=l(m,c,"GeneratorFunction"),r.isGeneratorFunction=function(t){var r="function"==typeof t&&t.constructor;return!!r&&(r===g||"GeneratorFunction"===(r.displayName||r.name))},r.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,m):(t.__proto__=m,l(t,c,"GeneratorFunction")),t.prototype=Object.create(w),t},r.awrap=function(t){return{__await:t}},x(M.prototype),l(M.prototype,s,(function(){return this})),r.AsyncIterator=M,r.async=function(t,e,n,o,i){void 0===i&&(i=Promise);var a=new M(h(t,e,n,o),i);return r.isGeneratorFunction(e)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},x(w),l(w,c,"Generator"),l(w,u,(function(){return this})),l(w,"toString",(function(){return"[object Generator]"})),r.keys=function(t){var r=[];for(var e in t)r.push(e);return r.reverse(),function e(){for(;r.length;){var n=r.pop();if(n in t)return e.value=n,e.done=!1,e}return e.done=!0,e}},r.values=E,j.prototype={constructor:j,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(O),!t)for(var r in this)"t"===r.charAt(0)&&i.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var r=this;function e(e,n){return a.type="throw",a.arg=t,r.next=e,n&&(r.method="next",r.arg=void 0),!!n}for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n],a=o.completion;if("root"===o.tryLoc)return e("end");if(o.tryLoc<=this.prev){var u=i.call(o,"catchLoc"),s=i.call(o,"finallyLoc");if(u&&s){if(this.prev<o.catchLoc)return e(o.catchLoc,!0);if(this.prev<o.finallyLoc)return e(o.finallyLoc)}else if(u){if(this.prev<o.catchLoc)return e(o.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return e(o.finallyLoc)}}}},abrupt:function(t,r){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc<=this.prev&&i.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var o=n;break}}o&&("break"===t||"continue"===t)&&o.tryLoc<=r&&r<=o.finallyLoc&&(o=null);var a=o?o.completion:{};return a.type=t,a.arg=r,o?(this.method="next",this.next=o.finallyLoc,p):this.complete(a)},complete:function(t,r){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&r&&(this.next=r),p},finish:function(t){for(var r=this.tryEntries.length-1;r>=0;--r){var e=this.tryEntries[r];if(e.finallyLoc===t)return this.complete(e.completion,e.afterLoc),O(e),p}},catch:function(t){for(var r=this.tryEntries.length-1;r>=0;--r){var e=this.tryEntries[r];if(e.tryLoc===t){var n=e.completion;if("throw"===n.type){var o=n.arg;O(e)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,r,e){return this.delegate={iterator:E(t),resultName:r,nextLoc:e},"next"===this.method&&(this.arg=void 0),p}},r}t.exports=o,t.exports.__esModule=!0,t.exports.default=t.exports},6496:t=>{function r(e){return t.exports=r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},t.exports.__esModule=!0,t.exports.default=t.exports,r(e)}t.exports=r,t.exports.__esModule=!0,t.exports.default=t.exports},9673:(t,r,e)=>{var n=e(6496),o=e(9172)();t.exports=o;try{regeneratorRuntime=o}catch(t){"object"===("undefined"==typeof globalThis?"undefined":n(globalThis))?globalThis.regeneratorRuntime=o:Function("r","regeneratorRuntime = r")(o)}},2766:(t,r,e)=>{"use strict";function n(t,r,e){t.prototype=r.prototype=e,e.constructor=t}function o(t,r){var e=Object.create(t.prototype);for(var n in r)e[n]=r[n];return e}function i(){}e.d(r,{ZP:()=>x,B8:()=>O});var a=.7,u=1/a,s="\\s*([+-]?\\d+)\\s*",c="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)\\s*",l="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)%\\s*",h=/^#([0-9a-f]{3,8})$/,f=new RegExp("^rgb\\("+[s,s,s]+"\\)$"),p=new RegExp("^rgb\\("+[l,l,l]+"\\)$"),d=new RegExp("^rgba\\("+[s,s,s,c]+"\\)$"),g=new RegExp("^rgba\\("+[l,l,l,c]+"\\)$"),m=new RegExp("^hsl\\("+[c,l,l]+"\\)$"),y=new RegExp("^hsla\\("+[c,l,l,c]+"\\)$"),v={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};function b(){return this.rgb().formatHex()}function w(){return this.rgb().formatRgb()}function x(t){var r,e;return t=(t+"").trim().toLowerCase(),(r=h.exec(t))?(e=r[1].length,r=parseInt(r[1],16),6===e?M(r):3===e?new j(r>>8&15|r>>4&240,r>>4&15|240&r,(15&r)<<4|15&r,1):8===e?k(r>>24&255,r>>16&255,r>>8&255,(255&r)/255):4===e?k(r>>12&15|r>>8&240,r>>8&15|r>>4&240,r>>4&15|240&r,((15&r)<<4|15&r)/255):null):(r=f.exec(t))?new j(r[1],r[2],r[3],1):(r=p.exec(t))?new j(255*r[1]/100,255*r[2]/100,255*r[3]/100,1):(r=d.exec(t))?k(r[1],r[2],r[3],r[4]):(r=g.exec(t))?k(255*r[1]/100,255*r[2]/100,255*r[3]/100,r[4]):(r=m.exec(t))?F(r[1],r[2]/100,r[3]/100,1):(r=y.exec(t))?F(r[1],r[2]/100,r[3]/100,r[4]):v.hasOwnProperty(t)?M(v[t]):"transparent"===t?new j(NaN,NaN,NaN,0):null}function M(t){return new j(t>>16&255,t>>8&255,255&t,1)}function k(t,r,e,n){return n<=0&&(t=r=e=NaN),new j(t,r,e,n)}function N(t){return t instanceof i||(t=x(t)),t?new j((t=t.rgb()).r,t.g,t.b,t.opacity):new j}function O(t,r,e,n){return 1===arguments.length?N(t):new j(t,r,e,null==n?1:n)}function j(t,r,e,n){this.r=+t,this.g=+r,this.b=+e,this.opacity=+n}function E(){return"#"+P(this.r)+P(this.g)+P(this.b)}function S(){var t=this.opacity;return(1===(t=isNaN(t)?1:Math.max(0,Math.min(1,t)))?"rgb(":"rgba(")+Math.max(0,Math.min(255,Math.round(this.r)||0))+", "+Math.max(0,Math.min(255,Math.round(this.g)||0))+", "+Math.max(0,Math.min(255,Math.round(this.b)||0))+(1===t?")":", "+t+")")}function P(t){return((t=Math.max(0,Math.min(255,Math.round(t)||0)))<16?"0":"")+t.toString(16)}function F(t,r,e,n){return n<=0?t=r=e=NaN:e<=0||e>=1?t=r=NaN:r<=0&&(t=NaN),new L(t,r,e,n)}function _(t){if(t instanceof L)return new L(t.h,t.s,t.l,t.opacity);if(t instanceof i||(t=x(t)),!t)return new L;if(t instanceof L)return t;var r=(t=t.rgb()).r/255,e=t.g/255,n=t.b/255,o=Math.min(r,e,n),a=Math.max(r,e,n),u=NaN,s=a-o,c=(a+o)/2;return s?(u=r===a?(e-n)/s+6*(e<n):e===a?(n-r)/s+2:(r-e)/s+4,s/=c<.5?a+o:2-a-o,u*=60):s=c>0&&c<1?0:u,new L(u,s,c,t.opacity)}function L(t,r,e,n){this.h=+t,this.s=+r,this.l=+e,this.opacity=+n}function A(t,r,e){return 255*(t<60?r+(e-r)*t/60:t<180?e:t<240?r+(e-r)*(240-t)/60:r)}n(i,x,{copy:function(t){return Object.assign(new this.constructor,this,t)},displayable:function(){return this.rgb().displayable()},hex:b,formatHex:b,formatHsl:function(){return _(this).formatHsl()},formatRgb:w,toString:w}),n(j,O,o(i,{brighter:function(t){return t=null==t?u:Math.pow(u,t),new j(this.r*t,this.g*t,this.b*t,this.opacity)},darker:function(t){return t=null==t?a:Math.pow(a,t),new j(this.r*t,this.g*t,this.b*t,this.opacity)},rgb:function(){return this},displayable:function(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:E,formatHex:E,formatRgb:S,toString:S})),n(L,(function(t,r,e,n){return 1===arguments.length?_(t):new L(t,r,e,null==n?1:n)}),o(i,{brighter:function(t){return t=null==t?u:Math.pow(u,t),new L(this.h,this.s,this.l*t,this.opacity)},darker:function(t){return t=null==t?a:Math.pow(a,t),new L(this.h,this.s,this.l*t,this.opacity)},rgb:function(){var t=this.h%360+360*(this.h<0),r=isNaN(t)||isNaN(this.s)?0:this.s,e=this.l,n=e+(e<.5?e:1-e)*r,o=2*e-n;return new j(A(t>=240?t-240:t+120,o,n),A(t,o,n),A(t<120?t+240:t-120,o,n),this.opacity)},displayable:function(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl:function(){var t=this.opacity;return(1===(t=isNaN(t)?1:Math.max(0,Math.min(1,t)))?"hsl(":"hsla(")+(this.h||0)+", "+100*(this.s||0)+"%, "+100*(this.l||0)+"%"+(1===t?")":", "+t+")")}}))},1820:(t,r,e)=>{"use strict";e.d(r,{Z:()=>ot});var n=Math.sqrt(50),o=Math.sqrt(10),i=Math.sqrt(2);function a(t,r,e){var a=(r-t)/Math.max(0,e),u=Math.floor(Math.log(a)/Math.LN10),s=a/Math.pow(10,u);return u>=0?(s>=n?10:s>=o?5:s>=i?2:1)*Math.pow(10,u):-Math.pow(10,-u)/(s>=n?10:s>=o?5:s>=i?2:1)}function u(t,r){return t<r?-1:t>r?1:t>=r?0:NaN}function s(t){var r=t,e=t;function n(t,r,n,o){for(null==n&&(n=0),null==o&&(o=t.length);n<o;){var i=n+o>>>1;e(t[i],r)<0?n=i+1:o=i}return n}return 1===t.length&&(r=function(r,e){return t(r)-e},e=function(t){return function(r,e){return u(t(r),e)}}(t)),{left:n,center:function(t,e,o,i){null==o&&(o=0),null==i&&(i=t.length);var a=n(t,e,o,i-1);return a>o&&r(t[a-1],e)>-r(t[a],e)?a-1:a},right:function(t,r,n,o){for(null==n&&(n=0),null==o&&(o=t.length);n<o;){var i=n+o>>>1;e(t[i],r)>0?o=i:n=i+1}return n}}}e(9673);var c=s(u),l=c.right;c.left,s((function(t){return null===t?NaN:+t})).center;const h=l;var f=e(4329),p=e(2766);function d(t,r,e,n,o){var i=t*t,a=i*t;return((1-3*t+3*i-a)*r+(4-6*i+3*a)*e+(1+3*t+3*i-3*a)*n+a*o)/6}const g=function(t){return function(){return t}};function m(t,r){return function(e){return t+e*r}}function y(t){return 1==(t=+t)?v:function(r,e){return e-r?function(t,r,e){return t=Math.pow(t,e),r=Math.pow(r,e)-t,e=1/e,function(n){return Math.pow(t+n*r,e)}}(r,e,t):g(isNaN(r)?e:r)}}function v(t,r){var e=r-t;return e?m(t,e):g(isNaN(t)?r:t)}const b=function t(r){var e=y(r);function n(t,r){var n=e((t=(0,p.B8)(t)).r,(r=(0,p.B8)(r)).r),o=e(t.g,r.g),i=e(t.b,r.b),a=v(t.opacity,r.opacity);return function(r){return t.r=n(r),t.g=o(r),t.b=i(r),t.opacity=a(r),t+""}}return n.gamma=t,n}(1);function w(t){return function(r){var e,n,o=r.length,i=new Array(o),a=new Array(o),u=new Array(o);for(e=0;e<o;++e)n=(0,p.B8)(r[e]),i[e]=n.r||0,a[e]=n.g||0,u[e]=n.b||0;return i=t(i),a=t(a),u=t(u),n.opacity=1,function(t){return n.r=i(t),n.g=a(t),n.b=u(t),n+""}}}w((function(t){var r=t.length-1;return function(e){var n=e<=0?e=0:e>=1?(e=1,r-1):Math.floor(e*r),o=t[n],i=t[n+1],a=n>0?t[n-1]:2*o-i,u=n<r-1?t[n+2]:2*i-o;return d((e-n/r)*r,a,o,i,u)}})),w((function(t){var r=t.length;return function(e){var n=Math.floor(((e%=1)<0?++e:e)*r),o=t[(n+r-1)%r],i=t[n%r],a=t[(n+1)%r],u=t[(n+2)%r];return d((e-n/r)*r,o,i,a,u)}}));function x(t,r){var e,n=r?r.length:0,o=t?Math.min(n,t.length):0,i=new Array(o),a=new Array(n);for(e=0;e<o;++e)i[e]=P(t[e],r[e]);for(;e<n;++e)a[e]=r[e];return function(t){for(e=0;e<o;++e)a[e]=i[e](t);return a}}function M(t,r){var e=new Date;return t=+t,r=+r,function(n){return e.setTime(t*(1-n)+r*n),e}}function k(t,r){return t=+t,r=+r,function(e){return t*(1-e)+r*e}}function N(t,r){var e,n={},o={};for(e in null!==t&&"object"===(0,f.Z)(t)||(t={}),null!==r&&"object"===(0,f.Z)(r)||(r={}),r)e in t?n[e]=P(t[e],r[e]):o[e]=r[e];return function(t){for(e in n)o[e]=n[e](t);return o}}var O=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,j=new RegExp(O.source,"g");function E(t,r){var e,n,o,i=O.lastIndex=j.lastIndex=0,a=-1,u=[],s=[];for(t+="",r+="";(e=O.exec(t))&&(n=j.exec(r));)(o=n.index)>i&&(o=r.slice(i,o),u[a]?u[a]+=o:u[++a]=o),(e=e[0])===(n=n[0])?u[a]?u[a]+=n:u[++a]=n:(u[++a]=null,s.push({i:a,x:k(e,n)})),i=j.lastIndex;return i<r.length&&(o=r.slice(i),u[a]?u[a]+=o:u[++a]=o),u.length<2?s[0]?function(t){return function(r){return t(r)+""}}(s[0].x):function(t){return function(){return t}}(r):(r=s.length,function(t){for(var e,n=0;n<r;++n)u[(e=s[n]).i]=e.x(t);return u.join("")})}function S(t,r){r||(r=[]);var e,n=t?Math.min(r.length,t.length):0,o=r.slice();return function(i){for(e=0;e<n;++e)o[e]=t[e]*(1-i)+r[e]*i;return o}}function P(t,r){var e,n,o=(0,f.Z)(r);return null==r||"boolean"===o?g(r):("number"===o?k:"string"===o?(e=(0,p.ZP)(r))?(r=e,b):E:r instanceof p.ZP?b:r instanceof Date?M:(n=r,!ArrayBuffer.isView(n)||n instanceof DataView?Array.isArray(r)?x:"function"!=typeof r.valueOf&&"function"!=typeof r.toString||isNaN(r)?N:k:S))(t,r)}function F(t,r){return t=+t,r=+r,function(e){return Math.round(t*(1-e)+r*e)}}function _(t){return+t}var L=[0,1];function A(t){return t}function C(t,r){return(r-=t=+t)?function(e){return(e-t)/r}:(e=isNaN(r)?NaN:.5,function(){return e});var e}function q(t,r,e){var n=t[0],o=t[1],i=r[0],a=r[1];return o<n?(n=C(o,n),i=e(a,i)):(n=C(n,o),i=e(i,a)),function(t){return i(n(t))}}function R(t,r,e){var n=Math.min(t.length,r.length)-1,o=new Array(n),i=new Array(n),a=-1;for(t[n]<t[0]&&(t=t.slice().reverse(),r=r.slice().reverse());++a<n;)o[a]=C(t[a],t[a+1]),i[a]=e(r[a],r[a+1]);return function(r){var e=h(t,r,1,n)-1;return i[e](o[e](r))}}function T(t,r){return r.domain(t.domain()).range(t.range()).interpolate(t.interpolate()).clamp(t.clamp()).unknown(t.unknown())}function H(){var t,r,e,n,o,i,a=L,u=L,s=P,c=A;function l(){var t,r,e,s=Math.min(a.length,u.length);return c!==A&&(t=a[0],r=a[s-1],t>r&&(e=t,t=r,r=e),c=function(e){return Math.max(t,Math.min(r,e))}),n=s>2?R:q,o=i=null,h}function h(r){return null==r||isNaN(r=+r)?e:(o||(o=n(a.map(t),u,s)))(t(c(r)))}return h.invert=function(e){return c(r((i||(i=n(u,a.map(t),k)))(e)))},h.domain=function(t){return arguments.length?(a=Array.from(t,_),l()):a.slice()},h.range=function(t){return arguments.length?(u=Array.from(t),l()):u.slice()},h.rangeRound=function(t){return u=Array.from(t),s=F,l()},h.clamp=function(t){return arguments.length?(c=!!t||A,l()):c!==A},h.interpolate=function(t){return arguments.length?(s=t,l()):s},h.unknown=function(t){return arguments.length?(e=t,h):e},function(e,n){return t=e,r=n,l()}}function I(){return H()(A,A)}function G(t,r){switch(arguments.length){case 0:break;case 1:this.range(t);break;default:this.range(r).domain(t)}return this}var $,z=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function Z(t){if(!(r=z.exec(t)))throw new Error("invalid format: "+t);var r;return new W({fill:r[1],align:r[2],sign:r[3],symbol:r[4],zero:r[5],width:r[6],comma:r[7],precision:r[8]&&r[8].slice(1),trim:r[9],type:r[10]})}function W(t){this.fill=void 0===t.fill?" ":t.fill+"",this.align=void 0===t.align?">":t.align+"",this.sign=void 0===t.sign?"-":t.sign+"",this.symbol=void 0===t.symbol?"":t.symbol+"",this.zero=!!t.zero,this.width=void 0===t.width?void 0:+t.width,this.comma=!!t.comma,this.precision=void 0===t.precision?void 0:+t.precision,this.trim=!!t.trim,this.type=void 0===t.type?"":t.type+""}function B(t,r){if((e=(t=r?t.toExponential(r-1):t.toExponential()).indexOf("e"))<0)return null;var e,n=t.slice(0,e);return[n.length>1?n[0]+n.slice(2):n,+t.slice(e+1)]}function D(t){return(t=B(Math.abs(t)))?t[1]:NaN}function V(t,r){var e=B(t,r);if(!e)return t+"";var n=e[0],o=e[1];return o<0?"0."+new Array(-o).join("0")+n:n.length>o+1?n.slice(0,o+1)+"."+n.slice(o+1):n+new Array(o-n.length+2).join("0")}Z.prototype=W.prototype,W.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(void 0===this.width?"":Math.max(1,0|this.width))+(this.comma?",":"")+(void 0===this.precision?"":"."+Math.max(0,0|this.precision))+(this.trim?"~":"")+this.type};const K={"%":function(t,r){return(100*t).toFixed(r)},b:function(t){return Math.round(t).toString(2)},c:function(t){return t+""},d:function(t){return Math.abs(t=Math.round(t))>=1e21?t.toLocaleString("en").replace(/,/g,""):t.toString(10)},e:function(t,r){return t.toExponential(r)},f:function(t,r){return t.toFixed(r)},g:function(t,r){return t.toPrecision(r)},o:function(t){return Math.round(t).toString(8)},p:function(t,r){return V(100*t,r)},r:V,s:function(t,r){var e=B(t,r);if(!e)return t+"";var n=e[0],o=e[1],i=o-($=3*Math.max(-8,Math.min(8,Math.floor(o/3))))+1,a=n.length;return i===a?n:i>a?n+new Array(i-a+1).join("0"):i>0?n.slice(0,i)+"."+n.slice(i):"0."+new Array(1-i).join("0")+B(t,Math.max(0,r+i-1))[0]},X:function(t){return Math.round(t).toString(16).toUpperCase()},x:function(t){return Math.round(t).toString(16)}};function Y(t){return t}var X,U,J,Q=Array.prototype.map,tt=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"];function rt(t){var r,e,n=void 0===t.grouping||void 0===t.thousands?Y:(r=Q.call(t.grouping,Number),e=t.thousands+"",function(t,n){for(var o=t.length,i=[],a=0,u=r[0],s=0;o>0&&u>0&&(s+u+1>n&&(u=Math.max(1,n-s)),i.push(t.substring(o-=u,o+u)),!((s+=u+1)>n));)u=r[a=(a+1)%r.length];return i.reverse().join(e)}),o=void 0===t.currency?"":t.currency[0]+"",i=void 0===t.currency?"":t.currency[1]+"",a=void 0===t.decimal?".":t.decimal+"",u=void 0===t.numerals?Y:function(t){return function(r){return r.replace(/[0-9]/g,(function(r){return t[+r]}))}}(Q.call(t.numerals,String)),s=void 0===t.percent?"%":t.percent+"",c=void 0===t.minus?"-":t.minus+"",l=void 0===t.nan?"NaN":t.nan+"";function h(t){var r=(t=Z(t)).fill,e=t.align,h=t.sign,f=t.symbol,p=t.zero,d=t.width,g=t.comma,m=t.precision,y=t.trim,v=t.type;"n"===v?(g=!0,v="g"):K[v]||(void 0===m&&(m=12),y=!0,v="g"),(p||"0"===r&&"="===e)&&(p=!0,r="0",e="=");var b="$"===f?o:"#"===f&&/[boxX]/.test(v)?"0"+v.toLowerCase():"",w="$"===f?i:/[%p]/.test(v)?s:"",x=K[v],M=/[defgprs%]/.test(v);function k(t){var o,i,s,f=b,k=w;if("c"===v)k=x(t)+k,t="";else{var N=(t=+t)<0||1/t<0;if(t=isNaN(t)?l:x(Math.abs(t),m),y&&(t=function(t){t:for(var r,e=t.length,n=1,o=-1;n<e;++n)switch(t[n]){case".":o=r=n;break;case"0":0===o&&(o=n),r=n;break;default:if(!+t[n])break t;o>0&&(o=0)}return o>0?t.slice(0,o)+t.slice(r+1):t}(t)),N&&0==+t&&"+"!==h&&(N=!1),f=(N?"("===h?h:c:"-"===h||"("===h?"":h)+f,k=("s"===v?tt[8+$/3]:"")+k+(N&&"("===h?")":""),M)for(o=-1,i=t.length;++o<i;)if(48>(s=t.charCodeAt(o))||s>57){k=(46===s?a+t.slice(o+1):t.slice(o))+k,t=t.slice(0,o);break}}g&&!p&&(t=n(t,1/0));var O=f.length+t.length+k.length,j=O<d?new Array(d-O+1).join(r):"";switch(g&&p&&(t=n(j+t,j.length?d-k.length:1/0),j=""),e){case"<":t=f+t+k+j;break;case"=":t=f+j+t+k;break;case"^":t=j.slice(0,O=j.length>>1)+f+t+k+j.slice(O);break;default:t=j+f+t+k}return u(t)}return m=void 0===m?6:/[gprs]/.test(v)?Math.max(1,Math.min(21,m)):Math.max(0,Math.min(20,m)),k.toString=function(){return t+""},k}return{format:h,formatPrefix:function(t,r){var e=h(((t=Z(t)).type="f",t)),n=3*Math.max(-8,Math.min(8,Math.floor(D(r)/3))),o=Math.pow(10,-n),i=tt[8+n/3];return function(t){return e(o*t)+i}}}}function et(t,r,e,a){var u,s=function(t,r,e){var a=Math.abs(r-t)/Math.max(0,e),u=Math.pow(10,Math.floor(Math.log(a)/Math.LN10)),s=a/u;return s>=n?u*=10:s>=o?u*=5:s>=i&&(u*=2),r<t?-u:u}(t,r,e);switch((a=Z(null==a?",f":a)).type){case"s":var c=Math.max(Math.abs(t),Math.abs(r));return null!=a.precision||isNaN(u=function(t,r){return Math.max(0,3*Math.max(-8,Math.min(8,Math.floor(D(r)/3)))-D(Math.abs(t)))}(s,c))||(a.precision=u),J(a,c);case"":case"e":case"g":case"p":case"r":null!=a.precision||isNaN(u=function(t,r){return t=Math.abs(t),r=Math.abs(r)-t,Math.max(0,D(r)-D(t))+1}(s,Math.max(Math.abs(t),Math.abs(r))))||(a.precision=u-("e"===a.type));break;case"f":case"%":null!=a.precision||isNaN(u=function(t){return Math.max(0,-D(Math.abs(t)))}(s))||(a.precision=u-2*("%"===a.type))}return U(a)}function nt(t){var r=t.domain;return t.ticks=function(t){var e=r();return function(t,r,e){var n,o,i,u,s=-1;if(e=+e,(t=+t)==(r=+r)&&e>0)return[t];if((n=r<t)&&(o=t,t=r,r=o),0===(u=a(t,r,e))||!isFinite(u))return[];if(u>0){var c=Math.round(t/u),l=Math.round(r/u);for(c*u<t&&++c,l*u>r&&--l,i=new Array(o=l-c+1);++s<o;)i[s]=(c+s)*u}else{u=-u;var h=Math.round(t*u),f=Math.round(r*u);for(h/u<t&&++h,f/u>r&&--f,i=new Array(o=f-h+1);++s<o;)i[s]=(h+s)/u}return n&&i.reverse(),i}(e[0],e[e.length-1],null==t?10:t)},t.tickFormat=function(t,e){var n=r();return et(n[0],n[n.length-1],null==t?10:t,e)},t.nice=function(e){null==e&&(e=10);var n,o,i=r(),u=0,s=i.length-1,c=i[u],l=i[s],h=10;for(l<c&&(o=c,c=l,l=o,o=u,u=s,s=o);h-- >0;){if((o=a(c,l,e))===n)return i[u]=c,i[s]=l,r(i);if(o>0)c=Math.floor(c/o)*o,l=Math.ceil(l/o)*o;else{if(!(o<0))break;c=Math.ceil(c*o)/o,l=Math.floor(l*o)/o}n=o}return t},t}function ot(){var t=I();return t.copy=function(){return T(t,ot())},G.apply(t,arguments),nt(t)}X=rt({decimal:".",thousands:",",grouping:[3],currency:["$",""],minus:"-"}),U=X.format,J=X.formatPrefix},8352:(t,r,e)=>{"use strict";var n=e(8156),o=e.n(n),i=e(8310),a=e.n(i),u=e(8721),s=e.n(u),c=o().memo((function(t){var r=a()(null==t?void 0:t.className,"atoka-form-label");return o().createElement(s().Label,{className:r},t.children)}));c.displayName="FormLabel";var l=e(2048),h=function(){return h=Object.assign||function(t){for(var r,e=1,n=arguments.length;e<n;e++)for(var o in r=arguments[e])Object.prototype.hasOwnProperty.call(r,o)&&(t[o]=r[o]);return t},h.apply(this,arguments)},f=function(t){var r,e=a()("atoka-form-checkbox",null==t?void 0:t.className);return o().createElement(s().Check,h({type:"checkbox"},t,{custom:!0,className:e,label:null!==(r=t.label)&&void 0!==r?r:""}))};f.displayName="FormCheckbox";var p=function(){return p=Object.assign||function(t){for(var r,e=1,n=arguments.length;e<n;e++)for(var o in r=arguments[e])Object.prototype.hasOwnProperty.call(r,o)&&(t[o]=r[o]);return t},p.apply(this,arguments)},d=function(t){var r,e=a()(null==t?void 0:t.className,"atoka-form-radio");return o().createElement(s().Check,p({type:"radio"},t,{custom:!0,className:e,label:null!==(r=t.label)&&void 0!==r?r:""}))};d.displayName="FormRadio";var g=e(8763),m=e.n(g),y=function(t,r){var e={};for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&r.indexOf(n)<0&&(e[n]=t[n]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(t);o<n.length;o++)r.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(t,n[o])&&(e[n[o]]=t[n[o]])}return e},v=o().memo((function(t){var r=t.children,e=y(t,["children"]),n=a()("d-block",null==e?void 0:e.className);return o().createElement(m(),{bsPrefix:"atoka-form-help",className:n},r)}));v.displayName="FormHelp";var b=function(){return b=Object.assign||function(t){for(var r,e=1,n=arguments.length;e<n;e++)for(var o in r=arguments[e])Object.prototype.hasOwnProperty.call(r,o)&&(t[o]=r[o]);return t},b.apply(this,arguments)},w=function(t){var r=a()(null==t?void 0:t.className,"atoka-form");return o().createElement(s(),b({},t,{className:r}),t.children)};w.displayName="Form",w.Control=l.N,w.Label=c,w.Checkbox=f,w.Radio=d,w.File=s().File,w.Switch=s().Switch,w.Help=v,w.Group=s().Group},2048:(t,r,e)=>{"use strict";e.d(r,{N:()=>p});var n=e(8156),o=e.n(n),i=e(8310),a=e.n(i),u=e(1082),s=e.n(u),c=function(t,r){var e={};for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&r.indexOf(n)<0&&(e[n]=t[n]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(t);o<n.length;o++)r.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(t,n[o])&&(e[n[o]]=t[n[o]])}return e},l=o().memo((function(t){var r=t.show,e=void 0===r||r,n=c(t,["show"]),i=a()(null==n?void 0:n.className,"atoka-form-control-feedback",{"d-block":e});return o().createElement(s().Feedback,{type:n.type,className:i},n.children)}));l.displayName=" FormControlFeedBack";var h=function(t,r){var e={};for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&r.indexOf(n)<0&&(e[n]=t[n]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(t);o<n.length;o++)r.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(t,n[o])&&(e[n[o]]=t[n[o]])}return e},f=o().forwardRef((function(t,r){var e=t.size,n=void 0===e?"md":e,i=h(t,["size"]),u=a()("atoka-form-control",null==i?void 0:i.className,{"atoka-shadow":i.withShadow,disabled:i.disabled});return o().createElement(s(),{as:i.as,rows:i.rows,cols:i.cols,placeholder:i.placeholder,className:u,disabled:i.disabled,readOnly:i.readOnly,value:i.value,onChange:i.onChange,onKeyPress:i.onKeyPress,onKeyDown:i.onKeyDown,defaultValue:i.defaultValue,size:"md"===n?void 0:n,type:i.type,id:i.id,isValid:i.isValid,isInvalid:i.isInvalid,ref:r,autoComplete:"off"},i.children)}));f.displayName="FormControlComponent";var p=f;p.FeedBack=l,p.displayName="FormControl"},4139:(t,r,e)=>{"use strict";e.r(r),e.d(r,{GaugeLinear:()=>s});var n,o=e(8156),i=e.n(o),a=e(4589),u=(n=function(t,r){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,r){t.__proto__=r}||function(t,r){for(var e in r)Object.prototype.hasOwnProperty.call(r,e)&&(t[e]=r[e])},n(t,r)},function(t,r){if("function"!=typeof r&&null!==r)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");function e(){this.constructor=t}n(t,r),t.prototype=null===r?Object.create(r):(e.prototype=r.prototype,new e)}),s=function(t){function r(){var r=null!==t&&t.apply(this,arguments)||this;return r.padding=4,r.barHeight=4,r.arrowPadding=2,r.arrowWidth=8,r.arrowHeight=6,r}return u(r,t),Object.defineProperty(r.prototype,"height",{get:function(){var t;return null!==(t=this.props.height)&&void 0!==t?t:20},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"barWidth",{get:function(){return(this.props.width-this.padding)/this.colors.length-this.padding},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"colors",{get:function(){var t,r;if(void 0!==this.props.colors)return this.props.colors;var e=null!==(r=(0,a.generateRangeColor)(null!==(t=this.props.stepsCount)&&void 0!==t?t:0))&&void 0!==r?r:[];return this.props.reverseDefaultColors&&e.reverse(),e},enumerable:!1,configurable:!0}),r.prototype.renderColors=function(){var t=this;return this.colors.map((function(r,e){var n={fill:r};return i().createElement("g",{key:r},i().createElement("rect",{width:t.barWidth,height:t.barHeight,style:n,x:e*(t.barWidth+t.padding)+t.padding}))}))},r.prototype.renderArrow=function(){var t={fill:a.black},r=this.props.currentStep*(this.barWidth+this.padding)+this.padding+this.barWidth/2,e=[[r,this.barHeight+this.arrowPadding],[r-this.arrowWidth/2,this.barHeight+this.arrowPadding+this.arrowHeight],[r+this.arrowWidth/2,this.barHeight+this.arrowPadding+this.arrowHeight]].map((function(t){return"".concat(t[0],",").concat(t[1])}));return i().createElement("polygon",{points:e.join(" "),style:t})},r.prototype.render=function(){if(0===this.colors.length)throw new Error('Invalid empty "colors"');if(this.props.currentStep>=this.colors.length||this.props.currentStep<0)throw new Error('Invalid "currentStep"');return i().createElement("svg",{width:this.props.width,height:this.height},this.renderColors(),this.renderArrow())},r.displayName="GaugeLinear",r}(i().PureComponent)},5909:(t,r,e)=>{"use strict";e(4915)},7540:(t,r,e)=>{"use strict";e.d(r,{vA:()=>o,Sn:()=>a});var n=e(1820);function o(t,r){void 0===r&&(r=["#82CA9D","#F6EA25","#F7977A"]);var e=[];if(0!==t){var o=(0,n.Z)(),a=i(r.length,r.length),u=i(t,r.length);o=o.domain(a).range(r);for(var s=0;s<t;s++)e.push(o(u[s]));return e}}function i(t,r){var e=[];e.push(0);for(var n=0;n<t-2;n++){var o=Number(r/t*(n+1));e.push(parseFloat(o.toFixed(2)))}return e.push(r),e}var a="#222222"},2394:(t,r,e)=>{"use strict"},4915:(t,r,e)=>{"use strict";e(5692),e(8156),e(8352)},4589:(t,r,e)=>{"use strict";e.d(r,{black:()=>n.Sn,generateRangeColor:()=>n.vA});e(5909),e(4915),e(2394);var n=e(7540)},5692:r=>{"use strict";r.exports=t},8310:t=>{"use strict";t.exports=r},8156:t=>{"use strict";t.exports=e},8721:t=>{"use strict";t.exports=n},1082:t=>{"use strict";t.exports=o},8763:t=>{"use strict";t.exports=i},4329:(t,r,e)=>{"use strict";function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}e.d(r,{Z:()=>n})}},s={};function c(t){var r=s[t];if(void 0!==r)return r.exports;var e=s[t]={exports:{}};return u[t](e,e.exports,c),e.exports}c.m=u,a=[],c.O=(t,r,e,n)=>{if(!r){var o=1/0;for(l=0;l<a.length;l++){for(var[r,e,n]=a[l],i=!0,u=0;u<r.length;u++)(!1&n||o>=n)&&Object.keys(c.O).every((t=>c.O[t](r[u])))?r.splice(u--,1):(i=!1,n<o&&(o=n));if(i){a.splice(l--,1);var s=e();void 0!==s&&(t=s)}}return t}n=n||0;for(var l=a.length;l>0&&a[l-1][2]>n;l--)a[l]=a[l-1];a[l]=[r,e,n]},c.n=t=>{var r=t&&t.__esModule?()=>t.default:()=>t;return c.d(r,{a:r}),r},c.d=(t,r)=>{for(var e in r)c.o(r,e)&&!c.o(t,e)&&Object.defineProperty(t,e,{enumerable:!0,get:r[e]})},c.o=(t,r)=>Object.prototype.hasOwnProperty.call(t,r),c.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},(()=>{var t={1977:0,8397:0};c.O.j=r=>0===t[r];var r=(r,e)=>{var n,o,[i,a,u]=e,s=0;if(i.some((r=>0!==t[r]))){for(n in a)c.o(a,n)&&(c.m[n]=a[n]);if(u)var l=u(c)}for(r&&r(e);s<i.length;s++)o=i[s],c.o(t,o)&&t[o]&&t[o][0](),t[i[s]]=0;return c.O(l)},e=self.webpackChunkatoka_design_system=self.webpackChunkatoka_design_system||[];e.forEach(r.bind(null,0)),e.push=r.bind(null,e.push.bind(e))})();var l=c.O(void 0,[8397],(()=>c(4139)));return l=c.O(l)})()}));
2
+ !function(t,r){"object"==typeof exports&&"object"==typeof module?module.exports=r(require("@fortawesome/react-fontawesome"),require("classnames"),require("react"),require("react-bootstrap/Form"),require("react-bootstrap/FormControl"),require("react-bootstrap/FormText")):"function"==typeof define&&define.amd?define("atoka-design-system",["@fortawesome/react-fontawesome","classnames","react","react-bootstrap/Form","react-bootstrap/FormControl","react-bootstrap/FormText"],r):"object"==typeof exports?exports["atoka-design-system"]=r(require("@fortawesome/react-fontawesome"),require("classnames"),require("react"),require("react-bootstrap/Form"),require("react-bootstrap/FormControl"),require("react-bootstrap/FormText")):t["atoka-design-system"]=r(t["@fortawesome/react-fontawesome"],t.classnames,t.react,t["react-bootstrap/Form"],t["react-bootstrap/FormControl"],t["react-bootstrap/FormText"])}(self,(function(t,r,e,n,o,i){return(()=>{var a,u={9172:(t,r,e)=>{var n=e(6496).default;function o(){"use strict";t.exports=o=function(){return r},t.exports.__esModule=!0,t.exports.default=t.exports;var r={},e=Object.prototype,i=e.hasOwnProperty,a="function"==typeof Symbol?Symbol:{},u=a.iterator||"@@iterator",s=a.asyncIterator||"@@asyncIterator",c=a.toStringTag||"@@toStringTag";function l(t,r,e){return Object.defineProperty(t,r,{value:e,enumerable:!0,configurable:!0,writable:!0}),t[r]}try{l({},"")}catch(t){l=function(t,r,e){return t[r]=e}}function h(t,r,e,n){var o=r&&r.prototype instanceof d?r:d,i=Object.create(o.prototype),a=new j(n||[]);return i._invoke=function(t,r,e){var n="suspendedStart";return function(o,i){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw i;return S()}for(e.method=o,e.arg=i;;){var a=e.delegate;if(a){var u=k(a,e);if(u){if(u===p)continue;return u}}if("next"===e.method)e.sent=e._sent=e.arg;else if("throw"===e.method){if("suspendedStart"===n)throw n="completed",e.arg;e.dispatchException(e.arg)}else"return"===e.method&&e.abrupt("return",e.arg);n="executing";var s=f(t,r,e);if("normal"===s.type){if(n=e.done?"completed":"suspendedYield",s.arg===p)continue;return{value:s.arg,done:e.done}}"throw"===s.type&&(n="completed",e.method="throw",e.arg=s.arg)}}}(t,e,a),i}function f(t,r,e){try{return{type:"normal",arg:t.call(r,e)}}catch(t){return{type:"throw",arg:t}}}r.wrap=h;var p={};function d(){}function g(){}function m(){}var y={};l(y,u,(function(){return this}));var v=Object.getPrototypeOf,b=v&&v(v(E([])));b&&b!==e&&i.call(b,u)&&(y=b);var w=m.prototype=d.prototype=Object.create(y);function x(t){["next","throw","return"].forEach((function(r){l(t,r,(function(t){return this._invoke(r,t)}))}))}function M(t,r){function e(o,a,u,s){var c=f(t[o],t,a);if("throw"!==c.type){var l=c.arg,h=l.value;return h&&"object"==n(h)&&i.call(h,"__await")?r.resolve(h.__await).then((function(t){e("next",t,u,s)}),(function(t){e("throw",t,u,s)})):r.resolve(h).then((function(t){l.value=t,u(l)}),(function(t){return e("throw",t,u,s)}))}s(c.arg)}var o;this._invoke=function(t,n){function i(){return new r((function(r,o){e(t,n,r,o)}))}return o=o?o.then(i,i):i()}}function k(t,r){var e=t.iterator[r.method];if(void 0===e){if(r.delegate=null,"throw"===r.method){if(t.iterator.return&&(r.method="return",r.arg=void 0,k(t,r),"throw"===r.method))return p;r.method="throw",r.arg=new TypeError("The iterator does not provide a 'throw' method")}return p}var n=f(e,t.iterator,r.arg);if("throw"===n.type)return r.method="throw",r.arg=n.arg,r.delegate=null,p;var o=n.arg;return o?o.done?(r[t.resultName]=o.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=void 0),r.delegate=null,p):o:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,p)}function N(t){var r={tryLoc:t[0]};1 in t&&(r.catchLoc=t[1]),2 in t&&(r.finallyLoc=t[2],r.afterLoc=t[3]),this.tryEntries.push(r)}function O(t){var r=t.completion||{};r.type="normal",delete r.arg,t.completion=r}function j(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(N,this),this.reset(!0)}function E(t){if(t){var r=t[u];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var e=-1,n=function r(){for(;++e<t.length;)if(i.call(t,e))return r.value=t[e],r.done=!1,r;return r.value=void 0,r.done=!0,r};return n.next=n}}return{next:S}}function S(){return{value:void 0,done:!0}}return g.prototype=m,l(w,"constructor",m),l(m,"constructor",g),g.displayName=l(m,c,"GeneratorFunction"),r.isGeneratorFunction=function(t){var r="function"==typeof t&&t.constructor;return!!r&&(r===g||"GeneratorFunction"===(r.displayName||r.name))},r.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,m):(t.__proto__=m,l(t,c,"GeneratorFunction")),t.prototype=Object.create(w),t},r.awrap=function(t){return{__await:t}},x(M.prototype),l(M.prototype,s,(function(){return this})),r.AsyncIterator=M,r.async=function(t,e,n,o,i){void 0===i&&(i=Promise);var a=new M(h(t,e,n,o),i);return r.isGeneratorFunction(e)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},x(w),l(w,c,"Generator"),l(w,u,(function(){return this})),l(w,"toString",(function(){return"[object Generator]"})),r.keys=function(t){var r=[];for(var e in t)r.push(e);return r.reverse(),function e(){for(;r.length;){var n=r.pop();if(n in t)return e.value=n,e.done=!1,e}return e.done=!0,e}},r.values=E,j.prototype={constructor:j,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(O),!t)for(var r in this)"t"===r.charAt(0)&&i.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var r=this;function e(e,n){return a.type="throw",a.arg=t,r.next=e,n&&(r.method="next",r.arg=void 0),!!n}for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n],a=o.completion;if("root"===o.tryLoc)return e("end");if(o.tryLoc<=this.prev){var u=i.call(o,"catchLoc"),s=i.call(o,"finallyLoc");if(u&&s){if(this.prev<o.catchLoc)return e(o.catchLoc,!0);if(this.prev<o.finallyLoc)return e(o.finallyLoc)}else if(u){if(this.prev<o.catchLoc)return e(o.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return e(o.finallyLoc)}}}},abrupt:function(t,r){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc<=this.prev&&i.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var o=n;break}}o&&("break"===t||"continue"===t)&&o.tryLoc<=r&&r<=o.finallyLoc&&(o=null);var a=o?o.completion:{};return a.type=t,a.arg=r,o?(this.method="next",this.next=o.finallyLoc,p):this.complete(a)},complete:function(t,r){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&r&&(this.next=r),p},finish:function(t){for(var r=this.tryEntries.length-1;r>=0;--r){var e=this.tryEntries[r];if(e.finallyLoc===t)return this.complete(e.completion,e.afterLoc),O(e),p}},catch:function(t){for(var r=this.tryEntries.length-1;r>=0;--r){var e=this.tryEntries[r];if(e.tryLoc===t){var n=e.completion;if("throw"===n.type){var o=n.arg;O(e)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,r,e){return this.delegate={iterator:E(t),resultName:r,nextLoc:e},"next"===this.method&&(this.arg=void 0),p}},r}t.exports=o,t.exports.__esModule=!0,t.exports.default=t.exports},6496:t=>{function r(e){return t.exports=r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},t.exports.__esModule=!0,t.exports.default=t.exports,r(e)}t.exports=r,t.exports.__esModule=!0,t.exports.default=t.exports},9673:(t,r,e)=>{var n=e(6496),o=e(9172)();t.exports=o;try{regeneratorRuntime=o}catch(t){"object"===("undefined"==typeof globalThis?"undefined":n(globalThis))?globalThis.regeneratorRuntime=o:Function("r","regeneratorRuntime = r")(o)}},2766:(t,r,e)=>{"use strict";function n(t,r,e){t.prototype=r.prototype=e,e.constructor=t}function o(t,r){var e=Object.create(t.prototype);for(var n in r)e[n]=r[n];return e}function i(){}e.d(r,{ZP:()=>x,B8:()=>O});var a=.7,u=1/a,s="\\s*([+-]?\\d+)\\s*",c="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)\\s*",l="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)%\\s*",h=/^#([0-9a-f]{3,8})$/,f=new RegExp("^rgb\\("+[s,s,s]+"\\)$"),p=new RegExp("^rgb\\("+[l,l,l]+"\\)$"),d=new RegExp("^rgba\\("+[s,s,s,c]+"\\)$"),g=new RegExp("^rgba\\("+[l,l,l,c]+"\\)$"),m=new RegExp("^hsl\\("+[c,l,l]+"\\)$"),y=new RegExp("^hsla\\("+[c,l,l,c]+"\\)$"),v={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};function b(){return this.rgb().formatHex()}function w(){return this.rgb().formatRgb()}function x(t){var r,e;return t=(t+"").trim().toLowerCase(),(r=h.exec(t))?(e=r[1].length,r=parseInt(r[1],16),6===e?M(r):3===e?new j(r>>8&15|r>>4&240,r>>4&15|240&r,(15&r)<<4|15&r,1):8===e?k(r>>24&255,r>>16&255,r>>8&255,(255&r)/255):4===e?k(r>>12&15|r>>8&240,r>>8&15|r>>4&240,r>>4&15|240&r,((15&r)<<4|15&r)/255):null):(r=f.exec(t))?new j(r[1],r[2],r[3],1):(r=p.exec(t))?new j(255*r[1]/100,255*r[2]/100,255*r[3]/100,1):(r=d.exec(t))?k(r[1],r[2],r[3],r[4]):(r=g.exec(t))?k(255*r[1]/100,255*r[2]/100,255*r[3]/100,r[4]):(r=m.exec(t))?F(r[1],r[2]/100,r[3]/100,1):(r=y.exec(t))?F(r[1],r[2]/100,r[3]/100,r[4]):v.hasOwnProperty(t)?M(v[t]):"transparent"===t?new j(NaN,NaN,NaN,0):null}function M(t){return new j(t>>16&255,t>>8&255,255&t,1)}function k(t,r,e,n){return n<=0&&(t=r=e=NaN),new j(t,r,e,n)}function N(t){return t instanceof i||(t=x(t)),t?new j((t=t.rgb()).r,t.g,t.b,t.opacity):new j}function O(t,r,e,n){return 1===arguments.length?N(t):new j(t,r,e,null==n?1:n)}function j(t,r,e,n){this.r=+t,this.g=+r,this.b=+e,this.opacity=+n}function E(){return"#"+P(this.r)+P(this.g)+P(this.b)}function S(){var t=this.opacity;return(1===(t=isNaN(t)?1:Math.max(0,Math.min(1,t)))?"rgb(":"rgba(")+Math.max(0,Math.min(255,Math.round(this.r)||0))+", "+Math.max(0,Math.min(255,Math.round(this.g)||0))+", "+Math.max(0,Math.min(255,Math.round(this.b)||0))+(1===t?")":", "+t+")")}function P(t){return((t=Math.max(0,Math.min(255,Math.round(t)||0)))<16?"0":"")+t.toString(16)}function F(t,r,e,n){return n<=0?t=r=e=NaN:e<=0||e>=1?t=r=NaN:r<=0&&(t=NaN),new L(t,r,e,n)}function _(t){if(t instanceof L)return new L(t.h,t.s,t.l,t.opacity);if(t instanceof i||(t=x(t)),!t)return new L;if(t instanceof L)return t;var r=(t=t.rgb()).r/255,e=t.g/255,n=t.b/255,o=Math.min(r,e,n),a=Math.max(r,e,n),u=NaN,s=a-o,c=(a+o)/2;return s?(u=r===a?(e-n)/s+6*(e<n):e===a?(n-r)/s+2:(r-e)/s+4,s/=c<.5?a+o:2-a-o,u*=60):s=c>0&&c<1?0:u,new L(u,s,c,t.opacity)}function L(t,r,e,n){this.h=+t,this.s=+r,this.l=+e,this.opacity=+n}function A(t,r,e){return 255*(t<60?r+(e-r)*t/60:t<180?e:t<240?r+(e-r)*(240-t)/60:r)}n(i,x,{copy:function(t){return Object.assign(new this.constructor,this,t)},displayable:function(){return this.rgb().displayable()},hex:b,formatHex:b,formatHsl:function(){return _(this).formatHsl()},formatRgb:w,toString:w}),n(j,O,o(i,{brighter:function(t){return t=null==t?u:Math.pow(u,t),new j(this.r*t,this.g*t,this.b*t,this.opacity)},darker:function(t){return t=null==t?a:Math.pow(a,t),new j(this.r*t,this.g*t,this.b*t,this.opacity)},rgb:function(){return this},displayable:function(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:E,formatHex:E,formatRgb:S,toString:S})),n(L,(function(t,r,e,n){return 1===arguments.length?_(t):new L(t,r,e,null==n?1:n)}),o(i,{brighter:function(t){return t=null==t?u:Math.pow(u,t),new L(this.h,this.s,this.l*t,this.opacity)},darker:function(t){return t=null==t?a:Math.pow(a,t),new L(this.h,this.s,this.l*t,this.opacity)},rgb:function(){var t=this.h%360+360*(this.h<0),r=isNaN(t)||isNaN(this.s)?0:this.s,e=this.l,n=e+(e<.5?e:1-e)*r,o=2*e-n;return new j(A(t>=240?t-240:t+120,o,n),A(t,o,n),A(t<120?t+240:t-120,o,n),this.opacity)},displayable:function(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl:function(){var t=this.opacity;return(1===(t=isNaN(t)?1:Math.max(0,Math.min(1,t)))?"hsl(":"hsla(")+(this.h||0)+", "+100*(this.s||0)+"%, "+100*(this.l||0)+"%"+(1===t?")":", "+t+")")}}))},1820:(t,r,e)=>{"use strict";e.d(r,{Z:()=>ot});var n=Math.sqrt(50),o=Math.sqrt(10),i=Math.sqrt(2);function a(t,r,e){var a=(r-t)/Math.max(0,e),u=Math.floor(Math.log(a)/Math.LN10),s=a/Math.pow(10,u);return u>=0?(s>=n?10:s>=o?5:s>=i?2:1)*Math.pow(10,u):-Math.pow(10,-u)/(s>=n?10:s>=o?5:s>=i?2:1)}function u(t,r){return t<r?-1:t>r?1:t>=r?0:NaN}function s(t){var r=t,e=t;function n(t,r,n,o){for(null==n&&(n=0),null==o&&(o=t.length);n<o;){var i=n+o>>>1;e(t[i],r)<0?n=i+1:o=i}return n}return 1===t.length&&(r=function(r,e){return t(r)-e},e=function(t){return function(r,e){return u(t(r),e)}}(t)),{left:n,center:function(t,e,o,i){null==o&&(o=0),null==i&&(i=t.length);var a=n(t,e,o,i-1);return a>o&&r(t[a-1],e)>-r(t[a],e)?a-1:a},right:function(t,r,n,o){for(null==n&&(n=0),null==o&&(o=t.length);n<o;){var i=n+o>>>1;e(t[i],r)>0?o=i:n=i+1}return n}}}e(9673);var c=s(u),l=c.right;c.left,s((function(t){return null===t?NaN:+t})).center;const h=l;var f=e(4329),p=e(2766);function d(t,r,e,n,o){var i=t*t,a=i*t;return((1-3*t+3*i-a)*r+(4-6*i+3*a)*e+(1+3*t+3*i-3*a)*n+a*o)/6}const g=function(t){return function(){return t}};function m(t,r){return function(e){return t+e*r}}function y(t){return 1==(t=+t)?v:function(r,e){return e-r?function(t,r,e){return t=Math.pow(t,e),r=Math.pow(r,e)-t,e=1/e,function(n){return Math.pow(t+n*r,e)}}(r,e,t):g(isNaN(r)?e:r)}}function v(t,r){var e=r-t;return e?m(t,e):g(isNaN(t)?r:t)}const b=function t(r){var e=y(r);function n(t,r){var n=e((t=(0,p.B8)(t)).r,(r=(0,p.B8)(r)).r),o=e(t.g,r.g),i=e(t.b,r.b),a=v(t.opacity,r.opacity);return function(r){return t.r=n(r),t.g=o(r),t.b=i(r),t.opacity=a(r),t+""}}return n.gamma=t,n}(1);function w(t){return function(r){var e,n,o=r.length,i=new Array(o),a=new Array(o),u=new Array(o);for(e=0;e<o;++e)n=(0,p.B8)(r[e]),i[e]=n.r||0,a[e]=n.g||0,u[e]=n.b||0;return i=t(i),a=t(a),u=t(u),n.opacity=1,function(t){return n.r=i(t),n.g=a(t),n.b=u(t),n+""}}}w((function(t){var r=t.length-1;return function(e){var n=e<=0?e=0:e>=1?(e=1,r-1):Math.floor(e*r),o=t[n],i=t[n+1],a=n>0?t[n-1]:2*o-i,u=n<r-1?t[n+2]:2*i-o;return d((e-n/r)*r,a,o,i,u)}})),w((function(t){var r=t.length;return function(e){var n=Math.floor(((e%=1)<0?++e:e)*r),o=t[(n+r-1)%r],i=t[n%r],a=t[(n+1)%r],u=t[(n+2)%r];return d((e-n/r)*r,o,i,a,u)}}));function x(t,r){var e,n=r?r.length:0,o=t?Math.min(n,t.length):0,i=new Array(o),a=new Array(n);for(e=0;e<o;++e)i[e]=P(t[e],r[e]);for(;e<n;++e)a[e]=r[e];return function(t){for(e=0;e<o;++e)a[e]=i[e](t);return a}}function M(t,r){var e=new Date;return t=+t,r=+r,function(n){return e.setTime(t*(1-n)+r*n),e}}function k(t,r){return t=+t,r=+r,function(e){return t*(1-e)+r*e}}function N(t,r){var e,n={},o={};for(e in null!==t&&"object"===(0,f.Z)(t)||(t={}),null!==r&&"object"===(0,f.Z)(r)||(r={}),r)e in t?n[e]=P(t[e],r[e]):o[e]=r[e];return function(t){for(e in n)o[e]=n[e](t);return o}}var O=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,j=new RegExp(O.source,"g");function E(t,r){var e,n,o,i=O.lastIndex=j.lastIndex=0,a=-1,u=[],s=[];for(t+="",r+="";(e=O.exec(t))&&(n=j.exec(r));)(o=n.index)>i&&(o=r.slice(i,o),u[a]?u[a]+=o:u[++a]=o),(e=e[0])===(n=n[0])?u[a]?u[a]+=n:u[++a]=n:(u[++a]=null,s.push({i:a,x:k(e,n)})),i=j.lastIndex;return i<r.length&&(o=r.slice(i),u[a]?u[a]+=o:u[++a]=o),u.length<2?s[0]?function(t){return function(r){return t(r)+""}}(s[0].x):function(t){return function(){return t}}(r):(r=s.length,function(t){for(var e,n=0;n<r;++n)u[(e=s[n]).i]=e.x(t);return u.join("")})}function S(t,r){r||(r=[]);var e,n=t?Math.min(r.length,t.length):0,o=r.slice();return function(i){for(e=0;e<n;++e)o[e]=t[e]*(1-i)+r[e]*i;return o}}function P(t,r){var e,n,o=(0,f.Z)(r);return null==r||"boolean"===o?g(r):("number"===o?k:"string"===o?(e=(0,p.ZP)(r))?(r=e,b):E:r instanceof p.ZP?b:r instanceof Date?M:(n=r,!ArrayBuffer.isView(n)||n instanceof DataView?Array.isArray(r)?x:"function"!=typeof r.valueOf&&"function"!=typeof r.toString||isNaN(r)?N:k:S))(t,r)}function F(t,r){return t=+t,r=+r,function(e){return Math.round(t*(1-e)+r*e)}}function _(t){return+t}var L=[0,1];function A(t){return t}function C(t,r){return(r-=t=+t)?function(e){return(e-t)/r}:(e=isNaN(r)?NaN:.5,function(){return e});var e}function q(t,r,e){var n=t[0],o=t[1],i=r[0],a=r[1];return o<n?(n=C(o,n),i=e(a,i)):(n=C(n,o),i=e(i,a)),function(t){return i(n(t))}}function R(t,r,e){var n=Math.min(t.length,r.length)-1,o=new Array(n),i=new Array(n),a=-1;for(t[n]<t[0]&&(t=t.slice().reverse(),r=r.slice().reverse());++a<n;)o[a]=C(t[a],t[a+1]),i[a]=e(r[a],r[a+1]);return function(r){var e=h(t,r,1,n)-1;return i[e](o[e](r))}}function T(t,r){return r.domain(t.domain()).range(t.range()).interpolate(t.interpolate()).clamp(t.clamp()).unknown(t.unknown())}function H(){var t,r,e,n,o,i,a=L,u=L,s=P,c=A;function l(){var t,r,e,s=Math.min(a.length,u.length);return c!==A&&(t=a[0],r=a[s-1],t>r&&(e=t,t=r,r=e),c=function(e){return Math.max(t,Math.min(r,e))}),n=s>2?R:q,o=i=null,h}function h(r){return null==r||isNaN(r=+r)?e:(o||(o=n(a.map(t),u,s)))(t(c(r)))}return h.invert=function(e){return c(r((i||(i=n(u,a.map(t),k)))(e)))},h.domain=function(t){return arguments.length?(a=Array.from(t,_),l()):a.slice()},h.range=function(t){return arguments.length?(u=Array.from(t),l()):u.slice()},h.rangeRound=function(t){return u=Array.from(t),s=F,l()},h.clamp=function(t){return arguments.length?(c=!!t||A,l()):c!==A},h.interpolate=function(t){return arguments.length?(s=t,l()):s},h.unknown=function(t){return arguments.length?(e=t,h):e},function(e,n){return t=e,r=n,l()}}function I(){return H()(A,A)}function G(t,r){switch(arguments.length){case 0:break;case 1:this.range(t);break;default:this.range(r).domain(t)}return this}var $,z=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function Z(t){if(!(r=z.exec(t)))throw new Error("invalid format: "+t);var r;return new W({fill:r[1],align:r[2],sign:r[3],symbol:r[4],zero:r[5],width:r[6],comma:r[7],precision:r[8]&&r[8].slice(1),trim:r[9],type:r[10]})}function W(t){this.fill=void 0===t.fill?" ":t.fill+"",this.align=void 0===t.align?">":t.align+"",this.sign=void 0===t.sign?"-":t.sign+"",this.symbol=void 0===t.symbol?"":t.symbol+"",this.zero=!!t.zero,this.width=void 0===t.width?void 0:+t.width,this.comma=!!t.comma,this.precision=void 0===t.precision?void 0:+t.precision,this.trim=!!t.trim,this.type=void 0===t.type?"":t.type+""}function B(t,r){if((e=(t=r?t.toExponential(r-1):t.toExponential()).indexOf("e"))<0)return null;var e,n=t.slice(0,e);return[n.length>1?n[0]+n.slice(2):n,+t.slice(e+1)]}function D(t){return(t=B(Math.abs(t)))?t[1]:NaN}function V(t,r){var e=B(t,r);if(!e)return t+"";var n=e[0],o=e[1];return o<0?"0."+new Array(-o).join("0")+n:n.length>o+1?n.slice(0,o+1)+"."+n.slice(o+1):n+new Array(o-n.length+2).join("0")}Z.prototype=W.prototype,W.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(void 0===this.width?"":Math.max(1,0|this.width))+(this.comma?",":"")+(void 0===this.precision?"":"."+Math.max(0,0|this.precision))+(this.trim?"~":"")+this.type};const K={"%":function(t,r){return(100*t).toFixed(r)},b:function(t){return Math.round(t).toString(2)},c:function(t){return t+""},d:function(t){return Math.abs(t=Math.round(t))>=1e21?t.toLocaleString("en").replace(/,/g,""):t.toString(10)},e:function(t,r){return t.toExponential(r)},f:function(t,r){return t.toFixed(r)},g:function(t,r){return t.toPrecision(r)},o:function(t){return Math.round(t).toString(8)},p:function(t,r){return V(100*t,r)},r:V,s:function(t,r){var e=B(t,r);if(!e)return t+"";var n=e[0],o=e[1],i=o-($=3*Math.max(-8,Math.min(8,Math.floor(o/3))))+1,a=n.length;return i===a?n:i>a?n+new Array(i-a+1).join("0"):i>0?n.slice(0,i)+"."+n.slice(i):"0."+new Array(1-i).join("0")+B(t,Math.max(0,r+i-1))[0]},X:function(t){return Math.round(t).toString(16).toUpperCase()},x:function(t){return Math.round(t).toString(16)}};function Y(t){return t}var X,U,J,Q=Array.prototype.map,tt=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"];function rt(t){var r,e,n=void 0===t.grouping||void 0===t.thousands?Y:(r=Q.call(t.grouping,Number),e=t.thousands+"",function(t,n){for(var o=t.length,i=[],a=0,u=r[0],s=0;o>0&&u>0&&(s+u+1>n&&(u=Math.max(1,n-s)),i.push(t.substring(o-=u,o+u)),!((s+=u+1)>n));)u=r[a=(a+1)%r.length];return i.reverse().join(e)}),o=void 0===t.currency?"":t.currency[0]+"",i=void 0===t.currency?"":t.currency[1]+"",a=void 0===t.decimal?".":t.decimal+"",u=void 0===t.numerals?Y:function(t){return function(r){return r.replace(/[0-9]/g,(function(r){return t[+r]}))}}(Q.call(t.numerals,String)),s=void 0===t.percent?"%":t.percent+"",c=void 0===t.minus?"-":t.minus+"",l=void 0===t.nan?"NaN":t.nan+"";function h(t){var r=(t=Z(t)).fill,e=t.align,h=t.sign,f=t.symbol,p=t.zero,d=t.width,g=t.comma,m=t.precision,y=t.trim,v=t.type;"n"===v?(g=!0,v="g"):K[v]||(void 0===m&&(m=12),y=!0,v="g"),(p||"0"===r&&"="===e)&&(p=!0,r="0",e="=");var b="$"===f?o:"#"===f&&/[boxX]/.test(v)?"0"+v.toLowerCase():"",w="$"===f?i:/[%p]/.test(v)?s:"",x=K[v],M=/[defgprs%]/.test(v);function k(t){var o,i,s,f=b,k=w;if("c"===v)k=x(t)+k,t="";else{var N=(t=+t)<0||1/t<0;if(t=isNaN(t)?l:x(Math.abs(t),m),y&&(t=function(t){t:for(var r,e=t.length,n=1,o=-1;n<e;++n)switch(t[n]){case".":o=r=n;break;case"0":0===o&&(o=n),r=n;break;default:if(!+t[n])break t;o>0&&(o=0)}return o>0?t.slice(0,o)+t.slice(r+1):t}(t)),N&&0==+t&&"+"!==h&&(N=!1),f=(N?"("===h?h:c:"-"===h||"("===h?"":h)+f,k=("s"===v?tt[8+$/3]:"")+k+(N&&"("===h?")":""),M)for(o=-1,i=t.length;++o<i;)if(48>(s=t.charCodeAt(o))||s>57){k=(46===s?a+t.slice(o+1):t.slice(o))+k,t=t.slice(0,o);break}}g&&!p&&(t=n(t,1/0));var O=f.length+t.length+k.length,j=O<d?new Array(d-O+1).join(r):"";switch(g&&p&&(t=n(j+t,j.length?d-k.length:1/0),j=""),e){case"<":t=f+t+k+j;break;case"=":t=f+j+t+k;break;case"^":t=j.slice(0,O=j.length>>1)+f+t+k+j.slice(O);break;default:t=j+f+t+k}return u(t)}return m=void 0===m?6:/[gprs]/.test(v)?Math.max(1,Math.min(21,m)):Math.max(0,Math.min(20,m)),k.toString=function(){return t+""},k}return{format:h,formatPrefix:function(t,r){var e=h(((t=Z(t)).type="f",t)),n=3*Math.max(-8,Math.min(8,Math.floor(D(r)/3))),o=Math.pow(10,-n),i=tt[8+n/3];return function(t){return e(o*t)+i}}}}function et(t,r,e,a){var u,s=function(t,r,e){var a=Math.abs(r-t)/Math.max(0,e),u=Math.pow(10,Math.floor(Math.log(a)/Math.LN10)),s=a/u;return s>=n?u*=10:s>=o?u*=5:s>=i&&(u*=2),r<t?-u:u}(t,r,e);switch((a=Z(null==a?",f":a)).type){case"s":var c=Math.max(Math.abs(t),Math.abs(r));return null!=a.precision||isNaN(u=function(t,r){return Math.max(0,3*Math.max(-8,Math.min(8,Math.floor(D(r)/3)))-D(Math.abs(t)))}(s,c))||(a.precision=u),J(a,c);case"":case"e":case"g":case"p":case"r":null!=a.precision||isNaN(u=function(t,r){return t=Math.abs(t),r=Math.abs(r)-t,Math.max(0,D(r)-D(t))+1}(s,Math.max(Math.abs(t),Math.abs(r))))||(a.precision=u-("e"===a.type));break;case"f":case"%":null!=a.precision||isNaN(u=function(t){return Math.max(0,-D(Math.abs(t)))}(s))||(a.precision=u-2*("%"===a.type))}return U(a)}function nt(t){var r=t.domain;return t.ticks=function(t){var e=r();return function(t,r,e){var n,o,i,u,s=-1;if(e=+e,(t=+t)==(r=+r)&&e>0)return[t];if((n=r<t)&&(o=t,t=r,r=o),0===(u=a(t,r,e))||!isFinite(u))return[];if(u>0){var c=Math.round(t/u),l=Math.round(r/u);for(c*u<t&&++c,l*u>r&&--l,i=new Array(o=l-c+1);++s<o;)i[s]=(c+s)*u}else{u=-u;var h=Math.round(t*u),f=Math.round(r*u);for(h/u<t&&++h,f/u>r&&--f,i=new Array(o=f-h+1);++s<o;)i[s]=(h+s)/u}return n&&i.reverse(),i}(e[0],e[e.length-1],null==t?10:t)},t.tickFormat=function(t,e){var n=r();return et(n[0],n[n.length-1],null==t?10:t,e)},t.nice=function(e){null==e&&(e=10);var n,o,i=r(),u=0,s=i.length-1,c=i[u],l=i[s],h=10;for(l<c&&(o=c,c=l,l=o,o=u,u=s,s=o);h-- >0;){if((o=a(c,l,e))===n)return i[u]=c,i[s]=l,r(i);if(o>0)c=Math.floor(c/o)*o,l=Math.ceil(l/o)*o;else{if(!(o<0))break;c=Math.ceil(c*o)/o,l=Math.floor(l*o)/o}n=o}return t},t}function ot(){var t=I();return t.copy=function(){return T(t,ot())},G.apply(t,arguments),nt(t)}X=rt({decimal:".",thousands:",",grouping:[3],currency:["$",""],minus:"-"}),U=X.format,J=X.formatPrefix},8352:(t,r,e)=>{"use strict";var n=e(8156),o=e.n(n),i=e(8310),a=e.n(i),u=e(8721),s=e.n(u),c=o().memo((function(t){var r=a()(null==t?void 0:t.className,"atoka-form-label");return o().createElement(s().Label,{className:r},t.children)}));c.displayName="FormLabel";var l=e(2048),h=function(){return h=Object.assign||function(t){for(var r,e=1,n=arguments.length;e<n;e++)for(var o in r=arguments[e])Object.prototype.hasOwnProperty.call(r,o)&&(t[o]=r[o]);return t},h.apply(this,arguments)},f=function(t){var r,e=a()("atoka-form-checkbox",null==t?void 0:t.className);return o().createElement(s().Check,h({type:"checkbox"},t,{custom:!0,className:e,label:null!==(r=t.label)&&void 0!==r?r:""}))};f.displayName="FormCheckbox";var p=function(){return p=Object.assign||function(t){for(var r,e=1,n=arguments.length;e<n;e++)for(var o in r=arguments[e])Object.prototype.hasOwnProperty.call(r,o)&&(t[o]=r[o]);return t},p.apply(this,arguments)},d=function(t){var r,e=a()(null==t?void 0:t.className,"atoka-form-radio");return o().createElement(s().Check,p({type:"radio"},t,{custom:!0,className:e,label:null!==(r=t.label)&&void 0!==r?r:""}))};d.displayName="FormRadio";var g=e(8763),m=e.n(g),y=function(t,r){var e={};for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&r.indexOf(n)<0&&(e[n]=t[n]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(t);o<n.length;o++)r.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(t,n[o])&&(e[n[o]]=t[n[o]])}return e},v=o().memo((function(t){var r=t.children,e=y(t,["children"]),n=a()("d-block",null==e?void 0:e.className);return o().createElement(m(),{bsPrefix:"atoka-form-help",className:n},r)}));v.displayName="FormHelp";var b=function(){return b=Object.assign||function(t){for(var r,e=1,n=arguments.length;e<n;e++)for(var o in r=arguments[e])Object.prototype.hasOwnProperty.call(r,o)&&(t[o]=r[o]);return t},b.apply(this,arguments)},w=function(t){var r=a()(null==t?void 0:t.className,"atoka-form");return o().createElement(s(),b({},t,{className:r}),t.children)};w.displayName="Form",w.Control=l.N,w.Label=c,w.Checkbox=f,w.Radio=d,w.File=s().File,w.Switch=s().Switch,w.Help=v,w.Group=s().Group},2048:(t,r,e)=>{"use strict";e.d(r,{N:()=>p});var n=e(8156),o=e.n(n),i=e(8310),a=e.n(i),u=e(1082),s=e.n(u),c=function(t,r){var e={};for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&r.indexOf(n)<0&&(e[n]=t[n]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(t);o<n.length;o++)r.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(t,n[o])&&(e[n[o]]=t[n[o]])}return e},l=o().memo((function(t){var r=t.show,e=void 0===r||r,n=c(t,["show"]),i=a()(null==n?void 0:n.className,"atoka-form-control-feedback",{"d-block":e});return o().createElement(s().Feedback,{type:n.type,className:i},n.children)}));l.displayName=" FormControlFeedBack";var h=function(t,r){var e={};for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&r.indexOf(n)<0&&(e[n]=t[n]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(t);o<n.length;o++)r.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(t,n[o])&&(e[n[o]]=t[n[o]])}return e},f=o().forwardRef((function(t,r){var e=t.size,n=void 0===e?"md":e,i=h(t,["size"]),u=a()("atoka-form-control",null==i?void 0:i.className,{"atoka-shadow":i.withShadow,disabled:i.disabled});return o().createElement(s(),{as:i.as,rows:i.rows,cols:i.cols,placeholder:i.placeholder,className:u,disabled:i.disabled,readOnly:i.readOnly,value:i.value,onChange:i.onChange,onKeyPress:i.onKeyPress,onKeyDown:i.onKeyDown,defaultValue:i.defaultValue,size:"md"===n?void 0:n,type:i.type,id:i.id,isValid:i.isValid,isInvalid:i.isInvalid,ref:r,autoComplete:"off"},i.children)}));f.displayName="FormControlComponent";var p=f;p.FeedBack=l,p.displayName="FormControl"},4139:(t,r,e)=>{"use strict";e.r(r),e.d(r,{GaugeLinear:()=>s});var n,o=e(8156),i=e.n(o),a=e(4589),u=(n=function(t,r){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,r){t.__proto__=r}||function(t,r){for(var e in r)Object.prototype.hasOwnProperty.call(r,e)&&(t[e]=r[e])},n(t,r)},function(t,r){if("function"!=typeof r&&null!==r)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");function e(){this.constructor=t}n(t,r),t.prototype=null===r?Object.create(r):(e.prototype=r.prototype,new e)}),s=function(t){function r(){var r=null!==t&&t.apply(this,arguments)||this;return r.padding=4,r.barHeight=4,r.arrowPadding=2,r.arrowWidth=8,r.arrowHeight=6,r}return u(r,t),Object.defineProperty(r.prototype,"height",{get:function(){var t;return null!==(t=this.props.height)&&void 0!==t?t:20},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"barWidth",{get:function(){return(this.props.width-this.padding)/this.colors.length-this.padding},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"colors",{get:function(){var t,r;if(void 0!==this.props.colors)return this.props.colors;var e=null!==(r=(0,a.generateRangeColor)(null!==(t=this.props.stepsCount)&&void 0!==t?t:0))&&void 0!==r?r:[];return this.props.reverseDefaultColors&&e.reverse(),e},enumerable:!1,configurable:!0}),r.prototype.renderColors=function(){var t=this;return this.colors.map((function(r,e){var n={fill:r};return i().createElement("g",{key:r},i().createElement("rect",{width:t.barWidth,height:t.barHeight,style:n,x:e*(t.barWidth+t.padding)+t.padding}))}))},r.prototype.renderArrow=function(){var t={fill:a.black},r=this.props.currentStep*(this.barWidth+this.padding)+this.padding+this.barWidth/2,e=[[r,this.barHeight+this.arrowPadding],[r-this.arrowWidth/2,this.barHeight+this.arrowPadding+this.arrowHeight],[r+this.arrowWidth/2,this.barHeight+this.arrowPadding+this.arrowHeight]].map((function(t){return"".concat(t[0],",").concat(t[1])}));return i().createElement("polygon",{points:e.join(" "),style:t})},r.prototype.render=function(){if(0===this.colors.length)throw new Error('Invalid empty "colors"');if(this.props.currentStep>=this.colors.length||this.props.currentStep<0)throw new Error('Invalid "currentStep"');return i().createElement("svg",{width:this.props.width,height:this.height},this.renderColors(),this.renderArrow())},r.displayName="GaugeLinear",r}(i().PureComponent)},5909:(t,r,e)=>{"use strict";e(4915)},7540:(t,r,e)=>{"use strict";e.d(r,{vA:()=>o,Sn:()=>a});var n=e(1820);function o(t,r){void 0===r&&(r=["#82CA9D","#F6EA25","#F7977A"]);var e=[];if(0!==t){var o=(0,n.Z)(),a=i(r.length,r.length),u=i(t,r.length);o=o.domain(a).range(r);for(var s=0;s<t;s++)e.push(o(u[s]));return e}}function i(t,r){var e=[];e.push(0);for(var n=0;n<t-2;n++){var o=Number(r/t*(n+1));e.push(parseFloat(o.toFixed(2)))}return e.push(r),e}var a="#222222"},2394:(t,r,e)=>{"use strict"},4915:(t,r,e)=>{"use strict";e(5692),e(8156),e(8352)},4589:(t,r,e)=>{"use strict";e.d(r,{black:()=>n.Sn,generateRangeColor:()=>n.vA});e(5909),e(4915),e(2394);var n=e(7540)},5692:r=>{"use strict";r.exports=t},8310:t=>{"use strict";t.exports=r},8156:t=>{"use strict";t.exports=e},8721:t=>{"use strict";t.exports=n},1082:t=>{"use strict";t.exports=o},8763:t=>{"use strict";t.exports=i},4329:(t,r,e)=>{"use strict";function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}e.d(r,{Z:()=>n})}},s={};function c(t){var r=s[t];if(void 0!==r)return r.exports;var e=s[t]={exports:{}};return u[t](e,e.exports,c),e.exports}c.m=u,a=[],c.O=(t,r,e,n)=>{if(!r){var o=1/0;for(l=0;l<a.length;l++){for(var[r,e,n]=a[l],i=!0,u=0;u<r.length;u++)(!1&n||o>=n)&&Object.keys(c.O).every((t=>c.O[t](r[u])))?r.splice(u--,1):(i=!1,n<o&&(o=n));if(i){a.splice(l--,1);var s=e();void 0!==s&&(t=s)}}return t}n=n||0;for(var l=a.length;l>0&&a[l-1][2]>n;l--)a[l]=a[l-1];a[l]=[r,e,n]},c.n=t=>{var r=t&&t.__esModule?()=>t.default:()=>t;return c.d(r,{a:r}),r},c.d=(t,r)=>{for(var e in r)c.o(r,e)&&!c.o(t,e)&&Object.defineProperty(t,e,{enumerable:!0,get:r[e]})},c.o=(t,r)=>Object.prototype.hasOwnProperty.call(t,r),c.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},(()=>{var t={1977:0,8535:0};c.O.j=r=>0===t[r];var r=(r,e)=>{var n,o,[i,a,u]=e,s=0;if(i.some((r=>0!==t[r]))){for(n in a)c.o(a,n)&&(c.m[n]=a[n]);if(u)var l=u(c)}for(r&&r(e);s<i.length;s++)o=i[s],c.o(t,o)&&t[o]&&t[o][0](),t[i[s]]=0;return c.O(l)},e=self.webpackChunkatoka_design_system=self.webpackChunkatoka_design_system||[];e.forEach(r.bind(null,0)),e.push=r.bind(null,e.push.bind(e))})();var l=c.O(void 0,[8535],(()=>c(4139)));return l=c.O(l)})()}));
@@ -0,0 +1,5 @@
1
+ import React from 'react';
2
+ export interface CardMenuProps {
3
+ isDisabled?: boolean;
4
+ }
5
+ export declare const CardMenu: React.FC<CardMenuProps>;
@@ -0,0 +1,5 @@
1
+ import React from 'react';
2
+ export interface CardTitleProps {
3
+ tooltip?: React.ReactNode;
4
+ }
5
+ export declare const CardTitle: React.FC<React.PropsWithChildren<CardTitleProps>>;
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
- import { GridCardTitle } from './GridCardTitle';
2
+ import { CardTitle } from './CardTitle';
3
3
  import { GridCardHeader, GridCardHeaderProps } from './GridCardHeader';
4
- import { GridCardMenu } from './GridCardMenu';
4
+ import { CardMenu } from './CardMenu';
5
5
  import './GridCard.less';
6
6
  export interface GridCardProps extends GridCardHeaderProps {
7
7
  className?: string;
@@ -9,9 +9,9 @@ export interface GridCardProps extends GridCardHeaderProps {
9
9
  export declare class GridCard extends React.PureComponent<GridCardProps> {
10
10
  static displayName: string;
11
11
  static Header: typeof GridCardHeader;
12
- static Title: typeof GridCardTitle;
12
+ static Title: typeof CardTitle;
13
13
  static Tags: React.FC;
14
- static Menu: typeof GridCardMenu;
14
+ static Menu: typeof CardMenu;
15
15
  static Content: React.FC;
16
16
  static Footer: React.FC;
17
17
  static defaultProps: GridCardProps;
@@ -1,9 +1,9 @@
1
1
  import React from 'react';
2
- import './GridCardTitle.less';
2
+ import './CardTitle.less';
3
3
  export interface GridCardHeaderProps {
4
4
  isSelectable: boolean;
5
5
  isSelected: boolean;
6
- onSelect: () => void;
6
+ onSelect?: () => void;
7
7
  id: string;
8
8
  }
9
9
  export declare class GridCardHeader extends React.PureComponent<GridCardHeaderProps> {