@spaziodati/atoka-design-system 2.2.20 → 2.2.21

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 (59) 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/CardsPageFullText.d.ts +3 -0
  9. package/CardsPage/CardsPageLayoutMode.d.ts +2 -1
  10. package/CardsPage/CardsPageSorting.d.ts +1 -1
  11. package/CardsPage/CardsPageTabContent.d.ts +1 -0
  12. package/CardsPage/index.js +1 -1
  13. package/CursorPagination/index.js +1 -1
  14. package/DatePicker/index.js +1 -1
  15. package/DetailPage/index.js +1 -1
  16. package/Dropdown/index.js +1 -1
  17. package/EditableString/index.js +1 -1
  18. package/EllipsableContent/index.js +1 -1
  19. package/EmptyState/index.js +1 -1
  20. package/Facet/index.js +1 -1
  21. package/FacetSection/index.js +1 -1
  22. package/FadeAnimation/index.js +1 -1
  23. package/FeedbackButton/index.js +1 -1
  24. package/Form/index.js +1 -1
  25. package/Funnel/index.js +1 -1
  26. package/Gauge/index.js +1 -1
  27. package/GridCard/index.js +1 -1
  28. package/HighlightableText/index.js +1 -1
  29. package/Histogram/index.js +1 -1
  30. package/InlineStringEditor/index.js +1 -1
  31. package/InputGroup/index.js +1 -1
  32. package/Jumbotron/index.js +1 -1
  33. package/Map/index.js +1 -1
  34. package/Modal/index.js +1 -1
  35. package/Navbar/index.js +1 -1
  36. package/Pagination/index.js +1 -1
  37. package/PieChart/index.js +1 -1
  38. package/PublicFooter/index.js +1 -1
  39. package/PublicNavbar/index.js +1 -1
  40. package/RecordBit/index.js +1 -1
  41. package/ResultItemCard/index.js +1 -1
  42. package/RowCard/index.js +1 -1
  43. package/SelectDropdown/index.js +1 -1
  44. package/Spinner/index.js +1 -1
  45. package/StatisticsItemCard/index.js +1 -1
  46. package/StatisticsItemNumeric/index.js +1 -1
  47. package/StatisticsLegend/index.js +1 -1
  48. package/StatisticsTooltip/index.js +1 -1
  49. package/Suggester/index.js +1 -1
  50. package/SunBurst/index.js +1 -1
  51. package/TabSwitcher/index.js +1 -1
  52. package/Title/index.js +1 -1
  53. package/Toast/index.js +1 -1
  54. package/ToggleButtonGroup/index.js +1 -1
  55. package/Tooltip/index.js +1 -1
  56. package/Utils/index.js +1 -1
  57. package/{atoka-design-system-2.2.20.min.css → atoka-design-system-2.2.21.min.css} +1 -1
  58. package/index.js +1 -1
  59. package/package.json +1 -1
package/Map/index.js CHANGED
@@ -1,2 +1,2 @@
1
1
  /*! For license information please see index.js.LICENSE.txt */
2
- !function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("@fortawesome/pro-light-svg-icons/faEmptySet"),require("@fortawesome/react-fontawesome"),require("classnames"),require("leaflet"),require("leaflet-image"),require("react"),require("react-bootstrap/Form"),require("react-bootstrap/FormControl"),require("react-bootstrap/FormText"),require("react-bootstrap/OverlayTrigger"),require("react-bootstrap/Tooltip")):"function"==typeof define&&define.amd?define("atoka-design-system",["@fortawesome/pro-light-svg-icons/faEmptySet","@fortawesome/react-fontawesome","classnames","leaflet","leaflet-image","react","react-bootstrap/Form","react-bootstrap/FormControl","react-bootstrap/FormText","react-bootstrap/OverlayTrigger","react-bootstrap/Tooltip"],t):"object"==typeof exports?exports["atoka-design-system"]=t(require("@fortawesome/pro-light-svg-icons/faEmptySet"),require("@fortawesome/react-fontawesome"),require("classnames"),require("leaflet"),require("leaflet-image"),require("react"),require("react-bootstrap/Form"),require("react-bootstrap/FormControl"),require("react-bootstrap/FormText"),require("react-bootstrap/OverlayTrigger"),require("react-bootstrap/Tooltip")):e["atoka-design-system"]=t(e["@fortawesome/pro-light-svg-icons/faEmptySet"],e["@fortawesome/react-fontawesome"],e.classnames,e.leaflet,e["leaflet-image"],e.react,e["react-bootstrap/Form"],e["react-bootstrap/FormControl"],e["react-bootstrap/FormText"],e["react-bootstrap/OverlayTrigger"],e["react-bootstrap/Tooltip"])}(self,(function(e,t,n,r,o,i,a,l,s,u,c){return(()=>{var p,f={9172:(e,t,n)=>{var r=n(6496).default;function o(){"use strict";e.exports=o=function(){return t},e.exports.__esModule=!0,e.exports.default=e.exports;var t={},n=Object.prototype,i=n.hasOwnProperty,a="function"==typeof Symbol?Symbol:{},l=a.iterator||"@@iterator",s=a.asyncIterator||"@@asyncIterator",u=a.toStringTag||"@@toStringTag";function c(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,n){return e[t]=n}}function p(e,t,n,r){var o=t&&t.prototype instanceof d?t:d,i=Object.create(o.prototype),a=new S(r||[]);return i._invoke=function(e,t,n){var r="suspendedStart";return function(o,i){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===o)throw i;return j()}for(n.method=o,n.arg=i;;){var a=n.delegate;if(a){var l=x(a,n);if(l){if(l===h)continue;return l}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var s=f(e,t,n);if("normal"===s.type){if(r=n.done?"completed":"suspendedYield",s.arg===h)continue;return{value:s.arg,done:n.done}}"throw"===s.type&&(r="completed",n.method="throw",n.arg=s.arg)}}}(e,n,a),i}function f(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}t.wrap=p;var h={};function d(){}function m(){}function y(){}var v={};c(v,l,(function(){return this}));var g=Object.getPrototypeOf,b=g&&g(g(C([])));b&&b!==n&&i.call(b,l)&&(v=b);var w=y.prototype=d.prototype=Object.create(v);function E(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function O(e,t){function n(o,a,l,s){var u=f(e[o],e,a);if("throw"!==u.type){var c=u.arg,p=c.value;return p&&"object"==r(p)&&i.call(p,"__await")?t.resolve(p.__await).then((function(e){n("next",e,l,s)}),(function(e){n("throw",e,l,s)})):t.resolve(p).then((function(e){c.value=e,l(c)}),(function(e){return n("throw",e,l,s)}))}s(u.arg)}var o;this._invoke=function(e,r){function i(){return new t((function(t,o){n(e,r,t,o)}))}return o=o?o.then(i,i):i()}}function x(e,t){var n=e.iterator[t.method];if(void 0===n){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=void 0,x(e,t),"throw"===t.method))return h;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return h}var r=f(n,e.iterator,t.arg);if("throw"===r.type)return t.method="throw",t.arg=r.arg,t.delegate=null,h;var o=r.arg;return o?o.done?(t[e.resultName]=o.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,h):o:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,h)}function M(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function N(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function S(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(M,this),this.reset(!0)}function C(e){if(e){var t=e[l];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var n=-1,r=function t(){for(;++n<e.length;)if(i.call(e,n))return t.value=e[n],t.done=!1,t;return t.value=void 0,t.done=!0,t};return r.next=r}}return{next:j}}function j(){return{value:void 0,done:!0}}return m.prototype=y,c(w,"constructor",y),c(y,"constructor",m),m.displayName=c(y,u,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===m||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,y):(e.__proto__=y,c(e,u,"GeneratorFunction")),e.prototype=Object.create(w),e},t.awrap=function(e){return{__await:e}},E(O.prototype),c(O.prototype,s,(function(){return this})),t.AsyncIterator=O,t.async=function(e,n,r,o,i){void 0===i&&(i=Promise);var a=new O(p(e,n,r,o),i);return t.isGeneratorFunction(n)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},E(w),c(w,u,"Generator"),c(w,l,(function(){return this})),c(w,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=[];for(var n in e)t.push(n);return t.reverse(),function n(){for(;t.length;){var r=t.pop();if(r in e)return n.value=r,n.done=!1,n}return n.done=!0,n}},t.values=C,S.prototype={constructor:S,reset:function(e){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(N),!e)for(var t in this)"t"===t.charAt(0)&&i.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function n(n,r){return a.type="throw",a.arg=e,t.next=n,r&&(t.method="next",t.arg=void 0),!!r}for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r],a=o.completion;if("root"===o.tryLoc)return n("end");if(o.tryLoc<=this.prev){var l=i.call(o,"catchLoc"),s=i.call(o,"finallyLoc");if(l&&s){if(this.prev<o.catchLoc)return n(o.catchLoc,!0);if(this.prev<o.finallyLoc)return n(o.finallyLoc)}else if(l){if(this.prev<o.catchLoc)return n(o.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return n(o.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&i.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var o=r;break}}o&&("break"===e||"continue"===e)&&o.tryLoc<=t&&t<=o.finallyLoc&&(o=null);var a=o?o.completion:{};return a.type=e,a.arg=t,o?(this.method="next",this.next=o.finallyLoc,h):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),h},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),N(n),h}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;N(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:C(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),h}},t}e.exports=o,e.exports.__esModule=!0,e.exports.default=e.exports},6496:e=>{function t(n){return e.exports=t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e.exports.__esModule=!0,e.exports.default=e.exports,t(n)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},9673:(e,t,n)=>{var r=n(6496),o=n(9172)();e.exports=o;try{regeneratorRuntime=o}catch(e){"object"===("undefined"==typeof globalThis?"undefined":r(globalThis))?globalThis.regeneratorRuntime=o:Function("r","regeneratorRuntime = r")(o)}},6627:(e,t,n)=>{"use strict";n.d(t,{MR:()=>i,ZP:()=>l});var r=n(4329);function o(e){return o="function"==typeof Symbol&&"symbol"===(0,r.Z)(Symbol.iterator)?function(e){return(0,r.Z)(e)}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":(0,r.Z)(e)},o(e)}function i(e,t,n){var r=n.value;if("function"!=typeof r)throw new TypeError("@boundMethod decorator can only be applied to methods not: ".concat(o(r)));var i=!1;return{configurable:!0,get:function(){if(i||this===e.prototype||this.hasOwnProperty(t)||"function"!=typeof r)return r;var n=r.bind(this);return i=!0,Object.defineProperty(this,t,{configurable:!0,get:function(){return n},set:function(e){r=e,delete this[t]}}),i=!1,n},set:function(e){r=e}}}function a(e){var t;return"undefined"!=typeof Reflect&&"function"==typeof Reflect.ownKeys?t=Reflect.ownKeys(e.prototype):(t=Object.getOwnPropertyNames(e.prototype),"function"==typeof Object.getOwnPropertySymbols&&(t=t.concat(Object.getOwnPropertySymbols(e.prototype)))),t.forEach((function(t){if("constructor"!==t){var n=Object.getOwnPropertyDescriptor(e.prototype,t);"function"==typeof n.value&&Object.defineProperty(e.prototype,t,i(e,t,n))}})),e}function l(){return 1===arguments.length?a.apply(void 0,arguments):i.apply(void 0,arguments)}},2766:(e,t,n)=>{"use strict";function r(e,t,n){e.prototype=t.prototype=n,n.constructor=e}function o(e,t){var n=Object.create(e.prototype);for(var r in t)n[r]=t[r];return n}function i(){}n.d(t,{ZP:()=>E,B8:()=>N});var a=.7,l=1/a,s="\\s*([+-]?\\d+)\\s*",u="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)\\s*",c="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)%\\s*",p=/^#([0-9a-f]{3,8})$/,f=new RegExp("^rgb\\("+[s,s,s]+"\\)$"),h=new RegExp("^rgb\\("+[c,c,c]+"\\)$"),d=new RegExp("^rgba\\("+[s,s,s,u]+"\\)$"),m=new RegExp("^rgba\\("+[c,c,c,u]+"\\)$"),y=new RegExp("^hsl\\("+[u,c,c]+"\\)$"),v=new RegExp("^hsla\\("+[u,c,c,u]+"\\)$"),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 E(e){var t,n;return e=(e+"").trim().toLowerCase(),(t=p.exec(e))?(n=t[1].length,t=parseInt(t[1],16),6===n?O(t):3===n?new S(t>>8&15|t>>4&240,t>>4&15|240&t,(15&t)<<4|15&t,1):8===n?x(t>>24&255,t>>16&255,t>>8&255,(255&t)/255):4===n?x(t>>12&15|t>>8&240,t>>8&15|t>>4&240,t>>4&15|240&t,((15&t)<<4|15&t)/255):null):(t=f.exec(e))?new S(t[1],t[2],t[3],1):(t=h.exec(e))?new S(255*t[1]/100,255*t[2]/100,255*t[3]/100,1):(t=d.exec(e))?x(t[1],t[2],t[3],t[4]):(t=m.exec(e))?x(255*t[1]/100,255*t[2]/100,255*t[3]/100,t[4]):(t=y.exec(e))?P(t[1],t[2]/100,t[3]/100,1):(t=v.exec(e))?P(t[1],t[2]/100,t[3]/100,t[4]):g.hasOwnProperty(e)?O(g[e]):"transparent"===e?new S(NaN,NaN,NaN,0):null}function O(e){return new S(e>>16&255,e>>8&255,255&e,1)}function x(e,t,n,r){return r<=0&&(e=t=n=NaN),new S(e,t,n,r)}function M(e){return e instanceof i||(e=E(e)),e?new S((e=e.rgb()).r,e.g,e.b,e.opacity):new S}function N(e,t,n,r){return 1===arguments.length?M(e):new S(e,t,n,null==r?1:r)}function S(e,t,n,r){this.r=+e,this.g=+t,this.b=+n,this.opacity=+r}function C(){return"#"+k(this.r)+k(this.g)+k(this.b)}function j(){var e=this.opacity;return(1===(e=isNaN(e)?1:Math.max(0,Math.min(1,e)))?"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===e?")":", "+e+")")}function k(e){return((e=Math.max(0,Math.min(255,Math.round(e)||0)))<16?"0":"")+e.toString(16)}function P(e,t,n,r){return r<=0?e=t=n=NaN:n<=0||n>=1?e=t=NaN:t<=0&&(e=NaN),new Z(e,t,n,r)}function _(e){if(e instanceof Z)return new Z(e.h,e.s,e.l,e.opacity);if(e instanceof i||(e=E(e)),!e)return new Z;if(e instanceof Z)return e;var t=(e=e.rgb()).r/255,n=e.g/255,r=e.b/255,o=Math.min(t,n,r),a=Math.max(t,n,r),l=NaN,s=a-o,u=(a+o)/2;return s?(l=t===a?(n-r)/s+6*(n<r):n===a?(r-t)/s+2:(t-n)/s+4,s/=u<.5?a+o:2-a-o,l*=60):s=u>0&&u<1?0:l,new Z(l,s,u,e.opacity)}function Z(e,t,n,r){this.h=+e,this.s=+t,this.l=+n,this.opacity=+r}function F(e,t,n){return 255*(e<60?t+(n-t)*e/60:e<180?n:e<240?t+(n-t)*(240-e)/60:t)}r(i,E,{copy:function(e){return Object.assign(new this.constructor,this,e)},displayable:function(){return this.rgb().displayable()},hex:b,formatHex:b,formatHsl:function(){return _(this).formatHsl()},formatRgb:w,toString:w}),r(S,N,o(i,{brighter:function(e){return e=null==e?l:Math.pow(l,e),new S(this.r*e,this.g*e,this.b*e,this.opacity)},darker:function(e){return e=null==e?a:Math.pow(a,e),new S(this.r*e,this.g*e,this.b*e,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:C,formatHex:C,formatRgb:j,toString:j})),r(Z,(function(e,t,n,r){return 1===arguments.length?_(e):new Z(e,t,n,null==r?1:r)}),o(i,{brighter:function(e){return e=null==e?l:Math.pow(l,e),new Z(this.h,this.s,this.l*e,this.opacity)},darker:function(e){return e=null==e?a:Math.pow(a,e),new Z(this.h,this.s,this.l*e,this.opacity)},rgb:function(){var e=this.h%360+360*(this.h<0),t=isNaN(e)||isNaN(this.s)?0:this.s,n=this.l,r=n+(n<.5?n:1-n)*t,o=2*n-r;return new S(F(e>=240?e-240:e+120,o,r),F(e,o,r),F(e<120?e+240:e-120,o,r),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 e=this.opacity;return(1===(e=isNaN(e)?1:Math.max(0,Math.min(1,e)))?"hsl(":"hsla(")+(this.h||0)+", "+100*(this.s||0)+"%, "+100*(this.l||0)+"%"+(1===e?")":", "+e+")")}}))},1820:(e,t,n)=>{"use strict";n.d(t,{Z:()=>oe});var r=Math.sqrt(50),o=Math.sqrt(10),i=Math.sqrt(2);function a(e,t,n){var a=(t-e)/Math.max(0,n),l=Math.floor(Math.log(a)/Math.LN10),s=a/Math.pow(10,l);return l>=0?(s>=r?10:s>=o?5:s>=i?2:1)*Math.pow(10,l):-Math.pow(10,-l)/(s>=r?10:s>=o?5:s>=i?2:1)}function l(e,t){return e<t?-1:e>t?1:e>=t?0:NaN}function s(e){var t=e,n=e;function r(e,t,r,o){for(null==r&&(r=0),null==o&&(o=e.length);r<o;){var i=r+o>>>1;n(e[i],t)<0?r=i+1:o=i}return r}return 1===e.length&&(t=function(t,n){return e(t)-n},n=function(e){return function(t,n){return l(e(t),n)}}(e)),{left:r,center:function(e,n,o,i){null==o&&(o=0),null==i&&(i=e.length);var a=r(e,n,o,i-1);return a>o&&t(e[a-1],n)>-t(e[a],n)?a-1:a},right:function(e,t,r,o){for(null==r&&(r=0),null==o&&(o=e.length);r<o;){var i=r+o>>>1;n(e[i],t)>0?o=i:r=i+1}return r}}}n(9673);var u=s(l),c=u.right;u.left,s((function(e){return null===e?NaN:+e})).center;const p=c;var f=n(4329),h=n(2766);function d(e,t,n,r,o){var i=e*e,a=i*e;return((1-3*e+3*i-a)*t+(4-6*i+3*a)*n+(1+3*e+3*i-3*a)*r+a*o)/6}const m=function(e){return function(){return e}};function y(e,t){return function(n){return e+n*t}}function v(e){return 1==(e=+e)?g:function(t,n){return n-t?function(e,t,n){return e=Math.pow(e,n),t=Math.pow(t,n)-e,n=1/n,function(r){return Math.pow(e+r*t,n)}}(t,n,e):m(isNaN(t)?n:t)}}function g(e,t){var n=t-e;return n?y(e,n):m(isNaN(e)?t:e)}const b=function e(t){var n=v(t);function r(e,t){var r=n((e=(0,h.B8)(e)).r,(t=(0,h.B8)(t)).r),o=n(e.g,t.g),i=n(e.b,t.b),a=g(e.opacity,t.opacity);return function(t){return e.r=r(t),e.g=o(t),e.b=i(t),e.opacity=a(t),e+""}}return r.gamma=e,r}(1);function w(e){return function(t){var n,r,o=t.length,i=new Array(o),a=new Array(o),l=new Array(o);for(n=0;n<o;++n)r=(0,h.B8)(t[n]),i[n]=r.r||0,a[n]=r.g||0,l[n]=r.b||0;return i=e(i),a=e(a),l=e(l),r.opacity=1,function(e){return r.r=i(e),r.g=a(e),r.b=l(e),r+""}}}w((function(e){var t=e.length-1;return function(n){var r=n<=0?n=0:n>=1?(n=1,t-1):Math.floor(n*t),o=e[r],i=e[r+1],a=r>0?e[r-1]:2*o-i,l=r<t-1?e[r+2]:2*i-o;return d((n-r/t)*t,a,o,i,l)}})),w((function(e){var t=e.length;return function(n){var r=Math.floor(((n%=1)<0?++n:n)*t),o=e[(r+t-1)%t],i=e[r%t],a=e[(r+1)%t],l=e[(r+2)%t];return d((n-r/t)*t,o,i,a,l)}}));function E(e,t){var n,r=t?t.length:0,o=e?Math.min(r,e.length):0,i=new Array(o),a=new Array(r);for(n=0;n<o;++n)i[n]=k(e[n],t[n]);for(;n<r;++n)a[n]=t[n];return function(e){for(n=0;n<o;++n)a[n]=i[n](e);return a}}function O(e,t){var n=new Date;return e=+e,t=+t,function(r){return n.setTime(e*(1-r)+t*r),n}}function x(e,t){return e=+e,t=+t,function(n){return e*(1-n)+t*n}}function M(e,t){var n,r={},o={};for(n in null!==e&&"object"===(0,f.Z)(e)||(e={}),null!==t&&"object"===(0,f.Z)(t)||(t={}),t)n in e?r[n]=k(e[n],t[n]):o[n]=t[n];return function(e){for(n in r)o[n]=r[n](e);return o}}var N=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,S=new RegExp(N.source,"g");function C(e,t){var n,r,o,i=N.lastIndex=S.lastIndex=0,a=-1,l=[],s=[];for(e+="",t+="";(n=N.exec(e))&&(r=S.exec(t));)(o=r.index)>i&&(o=t.slice(i,o),l[a]?l[a]+=o:l[++a]=o),(n=n[0])===(r=r[0])?l[a]?l[a]+=r:l[++a]=r:(l[++a]=null,s.push({i:a,x:x(n,r)})),i=S.lastIndex;return i<t.length&&(o=t.slice(i),l[a]?l[a]+=o:l[++a]=o),l.length<2?s[0]?function(e){return function(t){return e(t)+""}}(s[0].x):function(e){return function(){return e}}(t):(t=s.length,function(e){for(var n,r=0;r<t;++r)l[(n=s[r]).i]=n.x(e);return l.join("")})}function j(e,t){t||(t=[]);var n,r=e?Math.min(t.length,e.length):0,o=t.slice();return function(i){for(n=0;n<r;++n)o[n]=e[n]*(1-i)+t[n]*i;return o}}function k(e,t){var n,r,o=(0,f.Z)(t);return null==t||"boolean"===o?m(t):("number"===o?x:"string"===o?(n=(0,h.ZP)(t))?(t=n,b):C:t instanceof h.ZP?b:t instanceof Date?O:(r=t,!ArrayBuffer.isView(r)||r instanceof DataView?Array.isArray(t)?E:"function"!=typeof t.valueOf&&"function"!=typeof t.toString||isNaN(t)?M:x:j))(e,t)}function P(e,t){return e=+e,t=+t,function(n){return Math.round(e*(1-n)+t*n)}}function _(e){return+e}var Z=[0,1];function F(e){return e}function L(e,t){return(t-=e=+e)?function(n){return(n-e)/t}:(n=isNaN(t)?NaN:.5,function(){return n});var n}function D(e,t,n){var r=e[0],o=e[1],i=t[0],a=t[1];return o<r?(r=L(o,r),i=n(a,i)):(r=L(r,o),i=n(i,a)),function(e){return i(r(e))}}function T(e,t,n){var r=Math.min(e.length,t.length)-1,o=new Array(r),i=new Array(r),a=-1;for(e[r]<e[0]&&(e=e.slice().reverse(),t=t.slice().reverse());++a<r;)o[a]=L(e[a],e[a+1]),i[a]=n(t[a],t[a+1]);return function(t){var n=p(e,t,1,r)-1;return i[n](o[n](t))}}function I(e,t){return t.domain(e.domain()).range(e.range()).interpolate(e.interpolate()).clamp(e.clamp()).unknown(e.unknown())}function R(){var e,t,n,r,o,i,a=Z,l=Z,s=k,u=F;function c(){var e,t,n,s=Math.min(a.length,l.length);return u!==F&&(e=a[0],t=a[s-1],e>t&&(n=e,e=t,t=n),u=function(n){return Math.max(e,Math.min(t,n))}),r=s>2?T:D,o=i=null,p}function p(t){return null==t||isNaN(t=+t)?n:(o||(o=r(a.map(e),l,s)))(e(u(t)))}return p.invert=function(n){return u(t((i||(i=r(l,a.map(e),x)))(n)))},p.domain=function(e){return arguments.length?(a=Array.from(e,_),c()):a.slice()},p.range=function(e){return arguments.length?(l=Array.from(e),c()):l.slice()},p.rangeRound=function(e){return l=Array.from(e),s=P,c()},p.clamp=function(e){return arguments.length?(u=!!e||F,c()):u!==F},p.interpolate=function(e){return arguments.length?(s=e,c()):s},p.unknown=function(e){return arguments.length?(n=e,p):n},function(n,r){return e=n,t=r,c()}}function A(){return R()(F,F)}function z(e,t){switch(arguments.length){case 0:break;case 1:this.range(e);break;default:this.range(t).domain(e)}return this}var B,$=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function V(e){if(!(t=$.exec(e)))throw new Error("invalid format: "+e);var t;return new q({fill:t[1],align:t[2],sign:t[3],symbol:t[4],zero:t[5],width:t[6],comma:t[7],precision:t[8]&&t[8].slice(1),trim:t[9],type:t[10]})}function q(e){this.fill=void 0===e.fill?" ":e.fill+"",this.align=void 0===e.align?">":e.align+"",this.sign=void 0===e.sign?"-":e.sign+"",this.symbol=void 0===e.symbol?"":e.symbol+"",this.zero=!!e.zero,this.width=void 0===e.width?void 0:+e.width,this.comma=!!e.comma,this.precision=void 0===e.precision?void 0:+e.precision,this.trim=!!e.trim,this.type=void 0===e.type?"":e.type+""}function U(e,t){if((n=(e=t?e.toExponential(t-1):e.toExponential()).indexOf("e"))<0)return null;var n,r=e.slice(0,n);return[r.length>1?r[0]+r.slice(2):r,+e.slice(n+1)]}function K(e){return(e=U(Math.abs(e)))?e[1]:NaN}function G(e,t){var n=U(e,t);if(!n)return e+"";var r=n[0],o=n[1];return o<0?"0."+new Array(-o).join("0")+r:r.length>o+1?r.slice(0,o+1)+"."+r.slice(o+1):r+new Array(o-r.length+2).join("0")}V.prototype=q.prototype,q.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 H={"%":function(e,t){return(100*e).toFixed(t)},b:function(e){return Math.round(e).toString(2)},c:function(e){return e+""},d:function(e){return Math.abs(e=Math.round(e))>=1e21?e.toLocaleString("en").replace(/,/g,""):e.toString(10)},e:function(e,t){return e.toExponential(t)},f:function(e,t){return e.toFixed(t)},g:function(e,t){return e.toPrecision(t)},o:function(e){return Math.round(e).toString(8)},p:function(e,t){return G(100*e,t)},r:G,s:function(e,t){var n=U(e,t);if(!n)return e+"";var r=n[0],o=n[1],i=o-(B=3*Math.max(-8,Math.min(8,Math.floor(o/3))))+1,a=r.length;return i===a?r:i>a?r+new Array(i-a+1).join("0"):i>0?r.slice(0,i)+"."+r.slice(i):"0."+new Array(1-i).join("0")+U(e,Math.max(0,t+i-1))[0]},X:function(e){return Math.round(e).toString(16).toUpperCase()},x:function(e){return Math.round(e).toString(16)}};function W(e){return e}var Y,J,X,Q=Array.prototype.map,ee=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"];function te(e){var t,n,r=void 0===e.grouping||void 0===e.thousands?W:(t=Q.call(e.grouping,Number),n=e.thousands+"",function(e,r){for(var o=e.length,i=[],a=0,l=t[0],s=0;o>0&&l>0&&(s+l+1>r&&(l=Math.max(1,r-s)),i.push(e.substring(o-=l,o+l)),!((s+=l+1)>r));)l=t[a=(a+1)%t.length];return i.reverse().join(n)}),o=void 0===e.currency?"":e.currency[0]+"",i=void 0===e.currency?"":e.currency[1]+"",a=void 0===e.decimal?".":e.decimal+"",l=void 0===e.numerals?W:function(e){return function(t){return t.replace(/[0-9]/g,(function(t){return e[+t]}))}}(Q.call(e.numerals,String)),s=void 0===e.percent?"%":e.percent+"",u=void 0===e.minus?"-":e.minus+"",c=void 0===e.nan?"NaN":e.nan+"";function p(e){var t=(e=V(e)).fill,n=e.align,p=e.sign,f=e.symbol,h=e.zero,d=e.width,m=e.comma,y=e.precision,v=e.trim,g=e.type;"n"===g?(m=!0,g="g"):H[g]||(void 0===y&&(y=12),v=!0,g="g"),(h||"0"===t&&"="===n)&&(h=!0,t="0",n="=");var b="$"===f?o:"#"===f&&/[boxX]/.test(g)?"0"+g.toLowerCase():"",w="$"===f?i:/[%p]/.test(g)?s:"",E=H[g],O=/[defgprs%]/.test(g);function x(e){var o,i,s,f=b,x=w;if("c"===g)x=E(e)+x,e="";else{var M=(e=+e)<0||1/e<0;if(e=isNaN(e)?c:E(Math.abs(e),y),v&&(e=function(e){e:for(var t,n=e.length,r=1,o=-1;r<n;++r)switch(e[r]){case".":o=t=r;break;case"0":0===o&&(o=r),t=r;break;default:if(!+e[r])break e;o>0&&(o=0)}return o>0?e.slice(0,o)+e.slice(t+1):e}(e)),M&&0==+e&&"+"!==p&&(M=!1),f=(M?"("===p?p:u:"-"===p||"("===p?"":p)+f,x=("s"===g?ee[8+B/3]:"")+x+(M&&"("===p?")":""),O)for(o=-1,i=e.length;++o<i;)if(48>(s=e.charCodeAt(o))||s>57){x=(46===s?a+e.slice(o+1):e.slice(o))+x,e=e.slice(0,o);break}}m&&!h&&(e=r(e,1/0));var N=f.length+e.length+x.length,S=N<d?new Array(d-N+1).join(t):"";switch(m&&h&&(e=r(S+e,S.length?d-x.length:1/0),S=""),n){case"<":e=f+e+x+S;break;case"=":e=f+S+e+x;break;case"^":e=S.slice(0,N=S.length>>1)+f+e+x+S.slice(N);break;default:e=S+f+e+x}return l(e)}return y=void 0===y?6:/[gprs]/.test(g)?Math.max(1,Math.min(21,y)):Math.max(0,Math.min(20,y)),x.toString=function(){return e+""},x}return{format:p,formatPrefix:function(e,t){var n=p(((e=V(e)).type="f",e)),r=3*Math.max(-8,Math.min(8,Math.floor(K(t)/3))),o=Math.pow(10,-r),i=ee[8+r/3];return function(e){return n(o*e)+i}}}}function ne(e,t,n,a){var l,s=function(e,t,n){var a=Math.abs(t-e)/Math.max(0,n),l=Math.pow(10,Math.floor(Math.log(a)/Math.LN10)),s=a/l;return s>=r?l*=10:s>=o?l*=5:s>=i&&(l*=2),t<e?-l:l}(e,t,n);switch((a=V(null==a?",f":a)).type){case"s":var u=Math.max(Math.abs(e),Math.abs(t));return null!=a.precision||isNaN(l=function(e,t){return Math.max(0,3*Math.max(-8,Math.min(8,Math.floor(K(t)/3)))-K(Math.abs(e)))}(s,u))||(a.precision=l),X(a,u);case"":case"e":case"g":case"p":case"r":null!=a.precision||isNaN(l=function(e,t){return e=Math.abs(e),t=Math.abs(t)-e,Math.max(0,K(t)-K(e))+1}(s,Math.max(Math.abs(e),Math.abs(t))))||(a.precision=l-("e"===a.type));break;case"f":case"%":null!=a.precision||isNaN(l=function(e){return Math.max(0,-K(Math.abs(e)))}(s))||(a.precision=l-2*("%"===a.type))}return J(a)}function re(e){var t=e.domain;return e.ticks=function(e){var n=t();return function(e,t,n){var r,o,i,l,s=-1;if(n=+n,(e=+e)==(t=+t)&&n>0)return[e];if((r=t<e)&&(o=e,e=t,t=o),0===(l=a(e,t,n))||!isFinite(l))return[];if(l>0){var u=Math.round(e/l),c=Math.round(t/l);for(u*l<e&&++u,c*l>t&&--c,i=new Array(o=c-u+1);++s<o;)i[s]=(u+s)*l}else{l=-l;var p=Math.round(e*l),f=Math.round(t*l);for(p/l<e&&++p,f/l>t&&--f,i=new Array(o=f-p+1);++s<o;)i[s]=(p+s)/l}return r&&i.reverse(),i}(n[0],n[n.length-1],null==e?10:e)},e.tickFormat=function(e,n){var r=t();return ne(r[0],r[r.length-1],null==e?10:e,n)},e.nice=function(n){null==n&&(n=10);var r,o,i=t(),l=0,s=i.length-1,u=i[l],c=i[s],p=10;for(c<u&&(o=u,u=c,c=o,o=l,l=s,s=o);p-- >0;){if((o=a(u,c,n))===r)return i[l]=u,i[s]=c,t(i);if(o>0)u=Math.floor(u/o)*o,c=Math.ceil(c/o)*o;else{if(!(o<0))break;u=Math.ceil(u*o)/o,c=Math.floor(c*o)/o}r=o}return e},e}function oe(){var e=A();return e.copy=function(){return I(e,oe())},z.apply(e,arguments),re(e)}Y=te({decimal:".",thousands:",",grouping:[3],currency:["$",""],minus:"-"}),J=Y.format,X=Y.formatPrefix},627:(e,t,n)=>{"use strict";var r=n(6496);e.exports=function e(t,n){if(t===n)return!0;if(t&&n&&"object"==r(t)&&"object"==r(n)){if(t.constructor!==n.constructor)return!1;var o,i,a;if(Array.isArray(t)){if((o=t.length)!=n.length)return!1;for(i=o;0!=i--;)if(!e(t[i],n[i]))return!1;return!0}if(t.constructor===RegExp)return t.source===n.source&&t.flags===n.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===n.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===n.toString();if((o=(a=Object.keys(t)).length)!==Object.keys(n).length)return!1;for(i=o;0!=i--;)if(!Object.prototype.hasOwnProperty.call(n,a[i]))return!1;for(i=o;0!=i--;){var l=a[i];if(!e(t[l],n[l]))return!1}return!0}return t!=t&&n!=n}},5682:(e,t,n)=>{"use strict";var r=n(1573),o={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},i={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},a={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},l={};function s(e){return r.isMemo(e)?a:l[e.$$typeof]||o}l[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},l[r.Memo]=a;var u=Object.defineProperty,c=Object.getOwnPropertyNames,p=Object.getOwnPropertySymbols,f=Object.getOwnPropertyDescriptor,h=Object.getPrototypeOf,d=Object.prototype;e.exports=function e(t,n,r){if("string"!=typeof n){if(d){var o=h(n);o&&o!==d&&e(t,o,r)}var a=c(n);p&&(a=a.concat(p(n)));for(var l=s(t),m=s(n),y=0;y<a.length;++y){var v=a[y];if(!(i[v]||r&&r[v]||m&&m[v]||l&&l[v])){var g=f(n,v);try{u(t,v,g)}catch(e){}}}}return t}},8633:(e,t,n)=>{"use strict";var r=n(6496),o="function"==typeof Symbol&&Symbol.for,i=o?Symbol.for("react.element"):60103,a=o?Symbol.for("react.portal"):60106,l=o?Symbol.for("react.fragment"):60107,s=o?Symbol.for("react.strict_mode"):60108,u=o?Symbol.for("react.profiler"):60114,c=o?Symbol.for("react.provider"):60109,p=o?Symbol.for("react.context"):60110,f=o?Symbol.for("react.async_mode"):60111,h=o?Symbol.for("react.concurrent_mode"):60111,d=o?Symbol.for("react.forward_ref"):60112,m=o?Symbol.for("react.suspense"):60113,y=o?Symbol.for("react.suspense_list"):60120,v=o?Symbol.for("react.memo"):60115,g=o?Symbol.for("react.lazy"):60116,b=o?Symbol.for("react.block"):60121,w=o?Symbol.for("react.fundamental"):60117,E=o?Symbol.for("react.responder"):60118,O=o?Symbol.for("react.scope"):60119;function x(e){if("object"===r(e)&&null!==e){var t=e.$$typeof;switch(t){case i:switch(e=e.type){case f:case h:case l:case u:case s:case m:return e;default:switch(e=e&&e.$$typeof){case p:case d:case g:case v:case c:return e;default:return t}}case a:return t}}}function M(e){return x(e)===h}t.AsyncMode=f,t.ConcurrentMode=h,t.ContextConsumer=p,t.ContextProvider=c,t.Element=i,t.ForwardRef=d,t.Fragment=l,t.Lazy=g,t.Memo=v,t.Portal=a,t.Profiler=u,t.StrictMode=s,t.Suspense=m,t.isAsyncMode=function(e){return M(e)||x(e)===f},t.isConcurrentMode=M,t.isContextConsumer=function(e){return x(e)===p},t.isContextProvider=function(e){return x(e)===c},t.isElement=function(e){return"object"===r(e)&&null!==e&&e.$$typeof===i},t.isForwardRef=function(e){return x(e)===d},t.isFragment=function(e){return x(e)===l},t.isLazy=function(e){return x(e)===g},t.isMemo=function(e){return x(e)===v},t.isPortal=function(e){return x(e)===a},t.isProfiler=function(e){return x(e)===u},t.isStrictMode=function(e){return x(e)===s},t.isSuspense=function(e){return x(e)===m},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===l||e===h||e===u||e===s||e===m||e===y||"object"===r(e)&&null!==e&&(e.$$typeof===g||e.$$typeof===v||e.$$typeof===c||e.$$typeof===p||e.$$typeof===d||e.$$typeof===w||e.$$typeof===E||e.$$typeof===O||e.$$typeof===b)},t.typeOf=x},1573:(e,t,n)=>{"use strict";e.exports=n(8633)},1469:(e,t,n)=>{"use strict";n.d(t,{EmptyState:()=>p});var r,o=n(8156),i=n.n(o),a=n(5692),l=n(3402),s=n(8310),u=n.n(s),c=(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),p=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return c(t,e),t.prototype.render=function(){return i().createElement("div",{className:u()("atoka-empty-state",this.props.className)},i().createElement("div",{className:"mb-2"},i().createElement(a.FontAwesomeIcon,{icon:l.faEmptySet})),this.props.children)},t.displayName="EmptyState",t}(i().PureComponent)},8352:(e,t,n)=>{"use strict";var r=n(8156),o=n.n(r),i=n(8310),a=n.n(i),l=n(8721),s=n.n(l),u=o().memo((function(e){var t=a()(null==e?void 0:e.className,"atoka-form-label");return o().createElement(s().Label,{className:t},e.children)}));u.displayName="FormLabel";var c=n(2048),p=function(){return p=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},p.apply(this,arguments)},f=function(e){var t,n=a()("atoka-form-checkbox",null==e?void 0:e.className);return o().createElement(s().Check,p({type:"checkbox"},e,{custom:!0,className:n,label:null!==(t=e.label)&&void 0!==t?t:""}))};f.displayName="FormCheckbox";var h=function(){return h=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},h.apply(this,arguments)},d=function(e){var t,n=a()(null==e?void 0:e.className,"atoka-form-radio");return o().createElement(s().Check,h({type:"radio"},e,{custom:!0,className:n,label:null!==(t=e.label)&&void 0!==t?t:""}))};d.displayName="FormRadio";var m=n(8763),y=n.n(m),v=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n},g=o().memo((function(e){var t=e.children,n=v(e,["children"]),r=a()("d-block",null==n?void 0:n.className);return o().createElement(y(),{bsPrefix:"atoka-form-help",className:r},t)}));g.displayName="FormHelp";var b=function(){return b=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},b.apply(this,arguments)},w=function(e){var t=a()(null==e?void 0:e.className,"atoka-form");return o().createElement(s(),b({},e,{className:t}),e.children)};w.displayName="Form",w.Control=c.N,w.Label=u,w.Checkbox=f,w.Radio=d,w.File=s().File,w.Switch=s().Switch,w.Help=g,w.Group=s().Group},2048:(e,t,n)=>{"use strict";n.d(t,{N:()=>h});var r=n(8156),o=n.n(r),i=n(8310),a=n.n(i),l=n(1082),s=n.n(l),u=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n},c=o().memo((function(e){var t=e.show,n=void 0===t||t,r=u(e,["show"]),i=a()(null==r?void 0:r.className,"atoka-form-control-feedback",{"d-block":n});return o().createElement(s().Feedback,{type:r.type,className:i},r.children)}));c.displayName=" FormControlFeedBack";var p=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n},f=o().forwardRef((function(e,t){var n=e.size,r=void 0===n?"md":n,i=p(e,["size"]),l=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:l,disabled:i.disabled,readOnly:i.readOnly,value:i.value,onChange:i.onChange,onKeyPress:i.onKeyPress,onKeyDown:i.onKeyDown,defaultValue:i.defaultValue,size:"md"===r?void 0:r,type:i.type,id:i.id,isValid:i.isValid,isInvalid:i.isInvalid,ref:t,autoComplete:"off"},i.children)}));f.displayName="FormControlComponent";var h=f;h.FeedBack=c,h.displayName="FormControl"},3681:(e,t,n)=>{"use strict";n.r(t),n.d(t,{Map:()=>Me,MapChoroplethProps:()=>r.MapChoroplethProps,MapData:()=>r.MapData,MapDataKind:()=>r.MapDataKind,MapEventDispatcher:()=>r.MapEventDispatcher,MapProps:()=>r.MapProps});var r={};n.r(r);var o=n(8156),i=n.n(o),a=n(32),l=n(7038),s=n(3103),u=n(7581);function c(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var p=n(4159),f=n.n(p),h=n(5682),d=n.n(h),m=(0,o.createContext)({}),y=m.Consumer,v=m.Provider,g=function(e){var t=function(t,n){return i().createElement(y,null,(function(r){return i().createElement(e,(0,a.Z)({},t,{leaflet:r,ref:n}))}))},n=e.displayName||e.name||"Component";t.displayName="Leaflet("+n+")";var r=(0,o.forwardRef)(t);return d()(r,e),r},b=/^on(.+)$/i,w=function(e){function t(t){var n;return n=e.call(this,t)||this,c((0,s.Z)(n),"_leafletEvents",void 0),c((0,s.Z)(n),"leafletElement",void 0),n._leafletEvents=n.extractLeafletEvents(t),n}(0,u.Z)(t,e);var n=t.prototype;return n.componentDidMount=function(){this.bindLeafletEvents(this._leafletEvents)},n.componentDidUpdate=function(e){this._leafletEvents=this.bindLeafletEvents(this.extractLeafletEvents(this.props),this._leafletEvents)},n.componentWillUnmount=function(){var e=this,t=this.leafletElement;t&&Object.keys(this._leafletEvents).forEach((function(n){t.off(n,e._leafletEvents[n])}))},n.extractLeafletEvents=function(e){return Object.keys(e).reduce((function(t,n){b.test(n)&&(null!=e[n]&&(t[n.replace(b,(function(e,t){return t.toLowerCase()}))]=e[n]));return t}),{})},n.bindLeafletEvents=function(e,t){void 0===e&&(e={}),void 0===t&&(t={});var n=this.leafletElement;if(null==n||null==n.on)return{};var r=(0,a.Z)({},t);return Object.keys(t).forEach((function(o){null!=e[o]&&t[o]===e[o]||(delete r[o],n.off(o,t[o]))})),Object.keys(e).forEach((function(o){null!=t[o]&&e[o]===t[o]||(r[o]=e[o],n.on(o,e[o]))})),r},n.fireLeafletEvent=function(e,t){var n=this.leafletElement;n&&n.fire(e,t)},t}(o.Component),E=function(e){return void 0===e&&(e=""),e.split(" ").filter(Boolean)};const O=function(e,t,n){null!=e&&n!==t&&(null!=t&&t.length>0&&function(e,t){E(t).forEach((function(t){p.DomUtil.removeClass(e,t)}))}(e,t),null!=n&&n.length>0&&function(e,t){E(t).forEach((function(t){p.DomUtil.addClass(e,t)}))}(e,n))};function x(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return Object.keys(e).reduce((function(t,r){return-1===n.indexOf(r)&&(t[r]=e[r]),t}),{})}var M=["children","className","id","style","useFlyTo","whenReady"],N=function(e){return Array.isArray(e)?[e[0],e[1]]:[e.lat,e.lon?e.lon:e.lng]},S=function(e){function t(t){var n;return n=e.call(this,t)||this,c((0,s.Z)(n),"className",void 0),c((0,s.Z)(n),"contextValue",void 0),c((0,s.Z)(n),"container",void 0),c((0,s.Z)(n),"viewport",{center:void 0,zoom:void 0}),c((0,s.Z)(n),"_ready",!1),c((0,s.Z)(n),"_updating",!1),c((0,s.Z)(n),"onViewportChange",(function(){var e=n.leafletElement.getCenter();n.viewport={center:e?[e.lat,e.lng]:void 0,zoom:n.leafletElement.getZoom()},n.props.onViewportChange&&!n._updating&&n.props.onViewportChange(n.viewport)})),c((0,s.Z)(n),"onViewportChanged",(function(){n.props.onViewportChanged&&!n._updating&&n.props.onViewportChanged(n.viewport)})),c((0,s.Z)(n),"bindContainer",(function(e){n.container=e})),n.className=t.className,n}(0,u.Z)(t,e);var n=t.prototype;return n.createLeafletElement=function(e){var t=e.viewport,n=(0,l.Z)(e,["viewport"]);return t&&(t.center&&(n.center=t.center),"number"==typeof t.zoom&&(n.zoom=t.zoom)),new p.Map(this.container,n)},n.updateLeafletElement=function(e,t){this._updating=!0;var n=t.bounds,r=t.boundsOptions,o=t.boxZoom,i=t.center,a=t.className,l=t.doubleClickZoom,s=t.dragging,u=t.keyboard,c=t.maxBounds,p=t.scrollWheelZoom,f=t.tap,h=t.touchZoom,d=t.useFlyTo,m=t.viewport,y=t.zoom;if(O(this.container,e.className,a),m&&m!==e.viewport){var v=m.center?m.center:i,g=null==m.zoom?y:m.zoom;!0===d?this.leafletElement.flyTo(v,g,this.getZoomPanOptions(t)):this.leafletElement.setView(v,g,this.getZoomPanOptions(t))}else i&&this.shouldUpdateCenter(i,e.center)?!0===d?this.leafletElement.flyTo(i,y,this.getZoomPanOptions(t)):this.leafletElement.setView(i,y,this.getZoomPanOptions(t)):"number"==typeof y&&y!==e.zoom&&(null==e.zoom?this.leafletElement.setView(i,y,this.getZoomPanOptions(t)):this.leafletElement.setZoom(y,this.getZoomPanOptions(t)));c&&this.shouldUpdateBounds(c,e.maxBounds)&&this.leafletElement.setMaxBounds(c),n&&(this.shouldUpdateBounds(n,e.bounds)||r!==e.boundsOptions)&&(!0===d?this.leafletElement.flyToBounds(n,this.getFitBoundsOptions(t)):this.leafletElement.fitBounds(n,this.getFitBoundsOptions(t))),o!==e.boxZoom&&(!0===o?this.leafletElement.boxZoom.enable():this.leafletElement.boxZoom.disable()),l!==e.doubleClickZoom&&(!0===l||"string"==typeof l?(this.leafletElement.options.doubleClickZoom=l,this.leafletElement.doubleClickZoom.enable()):this.leafletElement.doubleClickZoom.disable()),s!==e.dragging&&(!0===s?this.leafletElement.dragging.enable():this.leafletElement.dragging.disable()),u!==e.keyboard&&(!0===u?this.leafletElement.keyboard.enable():this.leafletElement.keyboard.disable()),p!==e.scrollWheelZoom&&(!0===p||"string"==typeof p?(this.leafletElement.options.scrollWheelZoom=p,this.leafletElement.scrollWheelZoom.enable()):this.leafletElement.scrollWheelZoom.disable()),f!==e.tap&&(!0===f?this.leafletElement.tap.enable():this.leafletElement.tap.disable()),h!==e.touchZoom&&(!0===h||"string"==typeof h?(this.leafletElement.options.touchZoom=h,this.leafletElement.touchZoom.enable()):this.leafletElement.touchZoom.disable()),this._updating=!1},n.getZoomPanOptions=function(e){return{animate:e.animate,duration:e.duration,easeLinearity:e.easeLinearity,noMoveStart:e.noMoveStart}},n.getFitBoundsOptions=function(e){var t=this.getZoomPanOptions(e);return(0,a.Z)({},t,e.boundsOptions)},n.componentDidMount=function(){var t=x.apply(void 0,[this.props].concat(M));this.leafletElement=this.createLeafletElement(t),this.leafletElement.on("move",this.onViewportChange),this.leafletElement.on("moveend",this.onViewportChanged),null!=t.bounds&&this.leafletElement.fitBounds(t.bounds,this.getFitBoundsOptions(t)),this.contextValue={layerContainer:this.leafletElement,map:this.leafletElement},e.prototype.componentDidMount.call(this),this.forceUpdate()},n.componentDidUpdate=function(t){!1===this._ready&&(this._ready=!0,this.props.whenReady&&this.leafletElement.whenReady(this.props.whenReady)),e.prototype.componentDidUpdate.call(this,t),this.updateLeafletElement(t,this.props)},n.componentWillUnmount=function(){e.prototype.componentWillUnmount.call(this),this.leafletElement.off("move",this.onViewportChange),this.leafletElement.off("moveend",this.onViewportChanged),!0===this.props.preferCanvas?(this.leafletElement._initEvents(!0),this.leafletElement._stop()):this.leafletElement.remove()},n.shouldUpdateCenter=function(e,t){return!t||(e=N(e),t=N(t),e[0]!==t[0]||e[1]!==t[1])},n.shouldUpdateBounds=function(e,t){return!t||!(0,p.latLngBounds)(e).equals((0,p.latLngBounds)(t))},n.render=function(){return i().createElement("div",{className:this.className,id:this.props.id,ref:this.bindContainer,style:this.props.style},this.contextValue?i().createElement(v,{value:this.contextValue},this.props.children):null)},t}(w);function C(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var j=function(e){function t(){return e.apply(this,arguments)||this}return(0,u.Z)(t,e),t.prototype.getOptions=function(e){return null!=e.pane?e:null!=e.leaflet&&null!=e.leaflet.pane?(0,a.Z)({},e,{pane:e.leaflet.pane}):e},t}(w),k=function(e){function t(t){var n;return n=e.call(this,t)||this,c((0,s.Z)(n),"contextValue",void 0),c((0,s.Z)(n),"leafletElement",void 0),n.leafletElement=n.createLeafletElement(t),n}(0,u.Z)(t,e);var n,r,a,l=t.prototype;return l.createLeafletElement=function(e){throw new Error("createLeafletElement() must be implemented")},l.updateLeafletElement=function(e,t){},l.componentDidMount=function(){e.prototype.componentDidMount.call(this),this.layerContainer.addLayer(this.leafletElement)},l.componentDidUpdate=function(t){if(e.prototype.componentDidUpdate.call(this,t),this.props.attribution!==t.attribution){var n=this.props.leaflet.map;null!=n&&null!=n.attributionControl&&(n.attributionControl.removeAttribution(t.attribution),n.attributionControl.addAttribution(this.props.attribution))}this.updateLeafletElement(t,this.props)},l.componentWillUnmount=function(){e.prototype.componentWillUnmount.call(this),this.layerContainer.removeLayer(this.leafletElement)},l.render=function(){var e=this.props.children;return null==e?null:null==this.contextValue?i().createElement(o.Fragment,null,e):i().createElement(v,{value:this.contextValue},e)},n=t,(r=[{key:"layerContainer",get:function(){return this.props.leaflet.layerContainer||this.props.leaflet.map}}])&&C(n.prototype,r),a&&C(n,a),Object.defineProperty(n,"prototype",{writable:!1}),t}(j),P=function(e){function t(){return e.apply(this,arguments)||this}(0,u.Z)(t,e);var n=t.prototype;return n.createLeafletElement=function(e){return new p.GridLayer(this.getOptions(e))},n.updateLeafletElement=function(e,t){var n=t.opacity,r=t.zIndex;n!==e.opacity&&this.leafletElement.setOpacity(n),r!==e.zIndex&&this.leafletElement.setZIndex(r)},n.getOptions=function(t){var n=(0,a.Z)({},e.prototype.getOptions.call(this,t)),r=t.leaflet.map;return null!=r&&(null==n.maxZoom&&null!=r.options.maxZoom&&(n.maxZoom=r.options.maxZoom),null==n.minZoom&&null!=r.options.minZoom&&(n.minZoom=r.options.minZoom)),n},n.render=function(){return null},t}(k),_=function(e){function t(){return e.apply(this,arguments)||this}(0,u.Z)(t,e);var n=t.prototype;return n.createLeafletElement=function(e){return new p.TileLayer(e.url,this.getOptions(e))},n.updateLeafletElement=function(t,n){e.prototype.updateLeafletElement.call(this,t,n),n.url!==t.url&&this.leafletElement.setUrl(n.url)},t}(P);const Z=g(_);var F=n(8310),L=n.n(F),D=n(6627),T=n(855),I=n.n(T),R=n(4915),A=n(6216),z=n(1469),B=n(8053),$=n.n(B),V=n(6043),q=n.n(V),U=n(5692),K=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n},G=i().memo((function(e){var t,n=e.size,r=void 0===n?"sm":n,o=K(e,["size"]),a=null;null!=o.icon&&(a=i().createElement(U.FontAwesomeIcon,{size:"xs",icon:o.icon}));var l=L()("map-control-button",o.className,r,{selected:o.isSelected});if(null==o.children||"lg"===r)return i().createElement("button",{className:l,onClick:o.onClick},a,o.children);var s=i().createElement($(),{id:null!==(t=null==o?void 0:o.tooltipId)&&void 0!==t?t:"",className:"big-tooltip"},o.children);return i().createElement(q(),{rootClose:!0,trigger:["hover","focus"],placement:"bottom",overlay:s},i().createElement("button",{className:l,onClick:o.onClick},a))}));G.displayName="MapControl";var H=n(1820),W=n(627),Y=n.n(W);var J=["stroke","color","weight","opacity","lineCap","lineJoin","dashArray","dashOffset","fill","fillColor","fillOpacity","fillRule","bubblingMouseEvents","renderer","className","interactive","pane","attribution"],X=function(e){function t(){return e.apply(this,arguments)||this}(0,u.Z)(t,e);var n=t.prototype;return n.createLeafletElement=function(e){return new p.GeoJSON(e.data,this.getOptions(e))},n.updateLeafletElement=function(e,t){"function"==typeof t.style?this.leafletElement.setStyle(t.style):this.setStyleIfChanged(e,t)},t}(function(e){function t(t){var n;return null==(n=e.call(this,t)||this).contextValue&&(n.contextValue=(0,a.Z)({},t.leaflet,{popupContainer:n.leafletElement})),n}(0,u.Z)(t,e);var n=t.prototype;return n.componentDidUpdate=function(t){e.prototype.componentDidUpdate.call(this,t),this.setStyleIfChanged(t,this.props)},n.getPathOptions=function(e){return t=e,J.reduce((function(e,n){return void 0!==t[n]&&(e[n]=t[n]),e}),{});var t},n.setStyle=function(e){void 0===e&&(e={}),this.leafletElement.setStyle(e)},n.setStyleIfChanged=function(e,t){var n=this.getPathOptions(t);Y()(n,this.getPathOptions(e))||this.setStyle(n)},t}(k));const Q=g(X);var ee=n(7540),te=n(2394),ne=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n},re=i().memo((function(e){var t=ne(e,[]),n=L()("map-popup-container","w-100",t.className);return i().createElement("div",{className:n},t.children)}));re.displayName="MapPopup";var oe,ie=(oe=function(e,t){return oe=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},oe(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}oe(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),ae=function(e,t,n,r){var o,i=arguments.length,a=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var l=e.length-1;l>=0;l--)(o=e[l])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},le=function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},se=function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(e){o={error:e}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a},ue=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.popupRef=i().createRef(),t}return ie(t,e),t.prototype.componentDidMount=function(){this.props.forceUpdateOnMount&&this.forceUpdate()},t.estimatedWordSize=function(e,t,n){return void 0===t&&(t=this.ESTIMATED_LETTER_PIXELS),void 0===n&&(n=this.ESTIMATED_ADDABLE_SPACE),e*t+n},t.prototype.getItemsPositions=function(e,n){var r,o,i,a,l;void 0===n&&(n=30);var s=(null!==(a=null===(i=null===(o=null===(r=this.popupRef)||void 0===r?void 0:r.current)||void 0===o?void 0:o.getBoundingClientRect)||void 0===i?void 0:i.call(o))&&void 0!==a?a:{}).width,u=void 0===s?0:s,c=(null!==(l=this.props.hoveredItem)&&void 0!==l?l:{}).value,p=void 0===c?0:c,f=Math.round(p*u/this.props.valueMax),h=u/2,d=f<Math.round(h),m=t.estimatedWordSize(e);if(0===u)return[0,0];var y=f+(d?(h-f)*n/h:-(f-h)*n/h);return[y,y<u/3?y-10:y<u/3*2?y-m/2:y-m]},t.prototype.renderCursor=function(e){var t=L()({triangle:!0,invisible:null==this.props.hoveredItem});return i().createElement("div",{className:t,style:{left:e}})},t.prototype.renderMapBitInfo=function(e){var t,n,r=null!==(n=null===(t=this.props)||void 0===t?void 0:t.hoveredItem)&&void 0!==n?n:{},o=r.value,a=void 0===o?0:o,l=r.label,s=void 0===l?"":l,u=L()({"invisible w-0":null==this.props.hoveredItem,"w-100":null!=this.props.hoveredItem,"map-bit-info":!0});return i().createElement("div",{className:u},i().createElement("div",{className:"pusher-container",style:{flex:"0 1 ".concat(e,"px")}}),i().createElement("div",{className:"content"},i().createElement("span",{className:"first-letter-capitalize"},s),": ".concat(this.getFormattedNumber(a))))},t.prototype.getFormattedNumber=function(e){var t=this.props.numberToStringFormatter;return null!=t?t(e):"".concat(e)},t.prototype.renderPopupChildren=function(){var e=L()({invisible:null!=this.props.hoveredItem}),t=L()({"d-flex w-100":null==this.props.hoveredItem,"d-none":null!=this.props.hoveredItem,"text-white justify-content-between":!0}),n=Math.round(this.props.valueMin),r=(this.props.valueMax-this.props.valueMin)/2;return i().createElement("span",{className:t},i().createElement("span",{className:e},this.getFormattedNumber(n)),i().createElement("span",{className:e},this.getFormattedNumber(r)),i().createElement("span",{className:e},this.getFormattedNumber(this.props.valueMax)))},t.prototype.render=function(){var e,t,n,r="linear-gradient(to right, "+this.props.minColor+","+this.props.maxColor+")",o=L()({"popup-children":!0}),a=null!==(e=this.props.hoveredItem)&&void 0!==e?e:{},l=a.value,s=void 0===l?0:l,u=a.label,c=void 0===u?"":u,p=null==(null===(n=null===(t=this.props)||void 0===t?void 0:t.hoveredItem)||void 0===n?void 0:n.value)?"":"".concat(c,": ").concat(this.getFormattedNumber(s)),f=se(this.getItemsPositions(p.length),2),h=f[0],d=f[1];return i().createElement("div",{className:o,ref:this.popupRef,style:{backgroundImage:r}},this.renderPopupChildren(),this.renderMapBitInfo(d),this.renderCursor(h))},t.ESTIMATED_LETTER_PIXELS=5.4,t.ESTIMATED_ADDABLE_SPACE=1.1,t.displayName="MapLegendContent",t.defaultProps={forceUpdateOnMount:!1},ae([D.ZP,le("design:type",Function),le("design:paramtypes",[Number]),le("design:returntype",String)],t.prototype,"getFormattedNumber",null),t}(i().PureComponent),ce=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),pe=function(){return pe=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},pe.apply(this,arguments)},fe=function(e,t,n,r){var o,i=arguments.length,a=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var l=e.length-1;l>=0;l--)(o=e[l])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},he=function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},de=function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(e){o={error:e}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a},me=function(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},ye=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.state={mapDataShowKind:null,currentMapData:null,hoveredItem:null,nameToDataPoint:new Map,valueMax:-1/0,valueMin:1/0,itemValueToColor:(0,H.Z)()},t}var n,o,a,l,s,u,c,f,h,d;return ce(t,e),t.getDerivedStateFromProps=function(e,n){var r,o,i,a=null!==(r=null==n?void 0:n.mapDataShowKind)&&void 0!==r?r:null===(i=null===(o=e.mapData)||void 0===o?void 0:o[0])||void 0===i?void 0:i.kind,l=de(t.getSetupData(e,a),5),s=l[0],u=l[1],c=l[2],p=l[3],f=l[4];return pe(pe({},n),{mapDataShowKind:a,currentMapData:s,nameToDataPoint:u,valueMax:c,valueMin:p,itemValueToColor:f})},t.getSetupData=function(e,t){var n,r=e.mapData.filter((function(e){return e.kind===t}));if(0===r.length)return[null,new Map,-1/0,1/0,(0,H.Z)()];var o=r[0],i=o.dataPoint,a=new Map,l=-1/0,s=null!==(n=e.valueMin)&&void 0!==n?n:1/0,u=(0,H.Z)();return i.forEach((function(e){a.set(e.label,e),l=Math.max(l,e.value),s=Math.min(s,e.value)})),u.domain([s,l]).range([e.minColor,e.maxColor]),[o,a,l,s,u]},t.prototype.getFeatureStyle=function(e){var t,n,r,o,i,a=null!==(n=null===(t=e.properties)||void 0===t?void 0:t.name)&&void 0!==n?n:"",l=null===(r=this.state.nameToDataPoint)||void 0===r?void 0:r.get(a);return null==l?{className:"interactive-base ".concat((0,te.lV)(a)),weight:1,opacity:.5,fillOpacity:.1,fill:!0,stroke:!0,color:"white"}:(null===(i=null===(o=this.state)||void 0===o?void 0:o.hoveredItem)||void 0===i?void 0:i.label)===a?{weight:1,opacity:.9,fillOpacity:.9,className:"interactive-hovered ".concat((0,te.lV)(a)),fillColor:this.props.hoverColor,fill:!0,stroke:!0,color:"white"}:{weight:1,opacity:.9,fillOpacity:.9,className:"interactive-selected ".concat((0,te.lV)(a)),fillColor:this.state.itemValueToColor(l.value),fill:!0,stroke:!0,color:"white"}},t.prototype.handleFeatureOver=function(e){var t,n,r=null===(t=this.state.nameToDataPoint)||void 0===t?void 0:t.get(e.name);null!=r&&(null===(n=this.state.hoveredItem)||void 0===n?void 0:n.label)!==r.label&&this.setState({hoveredItem:r})},t.prototype.handleFeatureOut=function(){this.setState({hoveredItem:null})},t.prototype.handleChangeMapDataType=function(e){if(this.state.mapDataShowKind!==e){var n=de(t.getSetupData(this.props,e),5),r=n[0],o=n[1],i=n[2],a=n[3],l=n[4];this.setState({mapDataShowKind:e,currentMapData:r,nameToDataPoint:o,valueMax:i,valueMin:a,itemValueToColor:l,hoveredItem:null})}},t.prototype.renderSingleControl=function(e){var t=this;return i().createElement(Me.Control,{isSelected:e.kind===this.state.mapDataShowKind,key:e.kind,size:"lg",className:"ml-2",onClick:function(){return t.handleChangeMapDataType(e.kind)}},e.label)},t.prototype.renderMapDataToggleButtons=function(){return this.props.mapData.length<2?null:i().createElement(Me.ControlsContainer,{className:"d-flex"},this.props.mapData.map(this.renderSingleControl))},t.prototype.renderBottomPopup=function(){return this.props.withLegend?i().createElement(re,null,i().createElement(ue,{hoveredItem:this.state.hoveredItem,valueMax:this.state.valueMax,valueMin:this.state.valueMin,numberToStringFormatter:this.props.numberToStringFormatter,minColor:this.props.minColor,maxColor:this.props.maxColor})):null},t.prototype.renderHoveredItem=function(){var e,t,n,r,o,a,l,s=[],u=null!==(r=null===(n=this.state.currentMapData)||void 0===n?void 0:n.geometries)&&void 0!==r?r:[];try{for(var c=me(null!==(o=null==u?void 0:u.features)&&void 0!==o?o:[]),p=c.next();!p.done;p=c.next()){var f=p.value;f.properties.name===(null===(a=this.state.hoveredItem)||void 0===a?void 0:a.label)&&s.push(f)}}catch(t){e={error:t}}finally{try{p&&!p.done&&(t=c.return)&&t.call(c)}finally{if(e)throw e.error}}if(0===s.length)return null;var h={features:s};return i().createElement(Q,{key:null===(l=this.state.hoveredItem)||void 0===l?void 0:l.label,style:this.getFeatureStyle,data:h,onEachFeature:this.onHoverEachFeature})},t.prototype.onHoverEachFeature=function(e,t){var n=this;t.on("mouseout",(function(){return n.handleFeatureOut()}))},t.prototype.onEachFeature=function(e,t){var n=this;t.on("mouseover",(function(){return n.handleFeatureOver(e.properties)}))},t.prototype.render=function(){var e;if(null==!this.state.mapDataShowKind)return null;var t=null===(e=this.state.currentMapData)||void 0===e?void 0:e.geometries,n="ita-".concat(this.state.mapDataShowKind);return null==t?null:i().createElement(i().Fragment,null,this.renderHoveredItem(),i().createElement(Q,{key:n,style:this.getFeatureStyle,data:t,onEachFeature:this.onEachFeature}),this.renderBottomPopup(),this.renderMapDataToggleButtons(),i().createElement(Me.TileLayer,{url:"https://api.mapbox.com/styles/v1/mapbox/light-v10/tiles/{z}/{x}/{y}?access_token=pk.eyJ1Ijoic2RhdG9rYSIsImEiOiI5MjlmNDMxYzJiYWQ5YjhjMjU4ZGE2YmVkZjQ1YzhiOCJ9.FYB402MPxkR2bIME35d0zg",attribution:'<a href="https://www.mapbox.com/feedback/">&copy; Mapbox</a> | <a href="https://www.mapbox.com/feedback/" target="_blank"><strong>Improve this map</strong></a>',minZoom:4}))},t.displayName="MapChoropleth",t.defaultProps={minColor:ee.KH,maxColor:ee.p5,hoverColor:ee.$y,withLegend:!0},fe([D.ZP,he("design:type",Function),he("design:paramtypes",["function"==typeof(n="undefined"!=typeof MapBaseChoroplethFeature&&MapBaseChoroplethFeature)?n:Object]),he("design:returntype","function"==typeof(o=void 0!==p.PathOptions&&p.PathOptions)?o:Object)],t.prototype,"getFeatureStyle",null),fe([D.ZP,he("design:type",Function),he("design:paramtypes",["function"==typeof(a=void 0!==r.MapBaseChoroplethFeatureProperties&&r.MapBaseChoroplethFeatureProperties)?a:Object]),he("design:returntype",void 0)],t.prototype,"handleFeatureOver",null),fe([D.ZP,he("design:type",Function),he("design:paramtypes",[]),he("design:returntype",void 0)],t.prototype,"handleFeatureOut",null),fe([D.ZP,he("design:type",Function),he("design:paramtypes",["function"==typeof(l=void 0!==r.MapDataKind&&r.MapDataKind)?l:Object]),he("design:returntype",void 0)],t.prototype,"handleChangeMapDataType",null),fe([D.ZP,he("design:type",Function),he("design:paramtypes",["function"==typeof(s=void 0!==r.MapData&&r.MapData)?s:Object]),he("design:returntype","function"==typeof(u=void 0!==i()&&i().ReactNode)?u:Object)],t.prototype,"renderSingleControl",null),fe([D.ZP,he("design:type",Function),he("design:paramtypes",["function"==typeof(c="undefined"!=typeof MapBaseChoroplethFeature&&MapBaseChoroplethFeature)?c:Object,"function"==typeof(f=void 0!==p.Layer&&p.Layer)?f:Object]),he("design:returntype",void 0)],t.prototype,"onHoverEachFeature",null),fe([D.ZP,he("design:type",Function),he("design:paramtypes",["function"==typeof(h="undefined"!=typeof MapBaseChoroplethFeature&&MapBaseChoroplethFeature)?h:Object,"function"==typeof(d=void 0!==p.Layer&&p.Layer)?d:Object]),he("design:returntype",void 0)],t.prototype,"onEachFeature",null),t}(i().Component),ve=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),ge=function(){return ge=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},ge.apply(this,arguments)},be=function(e,t,n,r){var o,i=arguments.length,a=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var l=e.length-1;l>=0;l--)(o=e[l])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},we=function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},Ee=function(e,t,n,r){return new(n||(n=Promise))((function(o,i){function a(e){try{s(r.next(e))}catch(e){i(e)}}function l(e){try{s(r.throw(e))}catch(e){i(e)}}function s(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,l)}s((r=r.apply(e,t||[])).next())}))},Oe=function(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:l(0),throw:l(1),return:l(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function l(i){return function(l){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,r=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!(o=a.trys,(o=o.length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){a.label=i[1];break}if(6===i[0]&&a.label<o[1]){a.label=o[1],o=i;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(i);break}o[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(e){i=[6,e],r=0}finally{n=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,l])}}},xe=i().memo((function(e){var t=L()("map-controls-container",e.className);return i().createElement("div",{className:t},e.children)}));xe.displayName="ControlsContainer";var Me=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.map=null,t.italyBounds=[[47.53203824675999,6.3394115537],[36.12012758978146,18.8501168459]],t}var n;return ve(t,e),t.prototype.renderOtherChildren=function(){var e=[];return i().Children.forEach(this.props.children,(function(n){(null==n?void 0:n.type)!==t.Choropleth&&(null==n?void 0:n.type)!==A.Spinner&&(null==n?void 0:n.type)!==z.EmptyState&&e.push(n)})),e},t.prototype.renderChoropleth=function(){return this.props.isLoading||this.props.isEmpty?null:(0,R.z8)(this.props.children,t.Choropleth)},t.prototype.renderIsLoading=function(){return this.props.isLoading?i().createElement("div",{className:"w-100 h-100 d-flex justify-content-center align-items-center"},(0,R.z8)(this.props.children,A.Spinner)):null},t.prototype.renderIsEmpty=function(){return this.props.isEmpty?i().createElement("div",{className:"w-100 h-100 d-flex justify-content-center align-items-center"},(0,R.z8)(this.props.children,z.EmptyState)):null},t.prototype.handleMapCreated=function(e){var t,n;this.map=e,null===(n=(t=this.props).onInit)||void 0===n||n.call(t,{getCanvas:function(){return Ee(this,void 0,Promise,(function(){return Oe(this,(function(t){return[2,new Promise((function(t,n){I()(e,(function(e,r){e?n(e):t(r)}))}))]}))}))}})},t.prototype.render=function(){var e,t=null!==(e=this.props.bounds)&&void 0!==e?e:this.italyBounds,n=this.props.isLoading||this.props.isEmpty||!1===this.props.zoomControl,r=L()("atoka-map-container",{disabled:n});return i().createElement(S,ge({},this.props,{bounds:t,className:r,key:r,renderer:f().canvas(),whenCreated:this.handleMapCreated,id:this.props.id}),this.renderChoropleth(),this.renderIsLoading(),this.renderIsEmpty(),this.renderOtherChildren())},t.displayName="Map",t.defaultProps={isLoading:!1,isEmpty:!1,id:""},t.Choropleth=ye,t.TileLayer=Z,t.ControlsContainer=xe,t.Control=G,be([D.MR,we("design:type",Function),we("design:paramtypes",["function"==typeof(n=void 0!==f()&&f().Map)?n:Object]),we("design:returntype",void 0)],t.prototype,"handleMapCreated",null),t}(i().Component)},6216:(e,t,n)=>{"use strict";n.d(t,{Spinner:()=>c});var r,o,i=n(8310),a=n.n(i),l=n(8156),s=n.n(l),u=(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});!function(e){e[e.mini=0]="mini",e[e.small=1]="small",e[e.big=2]="big",e[e.modal=3]="modal"}(o||(o={}));var c=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return u(t,e),t.prototype.renderOnlyDotsSpinner=function(e){var t="atoka-spinner spinner-"+e+" "+this.props.className;return s().createElement("div",{className:t},s().createElement("div",{className:"spinner-dot1"},s().createElement("div",{className:"spinner-leaf"})),s().createElement("div",{className:"spinner-dot2"},s().createElement("div",{className:"spinner-leaf"})),s().createElement("div",{className:"spinner-dot3"},s().createElement("div",{className:"spinner-leaf"})))},t.prototype.renderSmall=function(){return this.renderOnlyDotsSpinner("small")},t.prototype.renderMini=function(){return this.renderOnlyDotsSpinner("mini")},t.prototype.renderLeaf=function(){return s().createElement("svg",{viewBox:"0 0 204.01 190.64",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},s().createElement("g",{id:"leaf"},s().createElement("path",{d:"M80.88,7.62a26,26,0,0,0-36.79,36.8,25.85,25.85,0,0,0,13.4,7.14V83.39c1.19,0,2.4-.08,3.62-.08,2.16,0,4.28.08,6.38.23v-32A26,26,0,0,0,80.88,7.62ZM73.81,37.35a16,16,0,1,1,0-22.66,15.92,15.92,0,0,1,0,22.66Z"})))},t.prototype.renderLetter=function(){return s().createElement("svg",{viewBox:"0 0 204.01 190.64",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},s().createElement("g",{id:"logo-vector"},s().createElement("path",{d:"M110.77,180.67V140.16a50.47,50.47,0,1,0-22,41.71L93.12,187a10,10,0,0,0,17.65-6.34Zm-81-40.51a30.5,30.5,0,1,1,30.5,30.5,30.49,30.49,0,0,1-30.5-30.5Z"})))},t.prototype.renderBig=function(){var e=a()(this.props.className,{"atoka-spinner":!0,"spinner-big":this.props.size===o.big,"spinner-medium":this.props.size===o.modal}),t=a()({"container-fluid spinner-modal":this.props.size===o.modal});return s().createElement("div",{className:t},s().createElement("div",{className:e},s().createElement("div",{className:"spinner-dot1"},s().createElement("div",{className:"spinner-leaf"},this.renderLeaf())),s().createElement("div",{className:"spinner-dot2"},s().createElement("div",{className:"spinner-leaf"},this.renderLeaf())),s().createElement("div",{className:"spinner-dot3"},s().createElement("div",{className:"spinner-leaf"},this.renderLeaf())),s().createElement("span",{className:"spinner-letter"},this.renderLetter())))},t.prototype.render=function(){switch(this.props.size){case o.mini:return this.renderMini();case o.small:return this.renderSmall();case o.big:case o.modal:return this.renderBig();default:return null}},t.displayName="Spinner",t.defaultProps={size:o.small,className:""},t}(s().Component)},7540:(e,t,n)=>{"use strict";n.d(t,{KH:()=>r,p5:()=>o,$y:()=>i});var r="#CBD8E0",o="rgb(32, 88, 113)",i="#F38522"},2394:(e,t,n)=>{"use strict";n.d(t,{lV:()=>r});function r(e){var t="àáâäæãåāăąçćčđďèéêëēėęěğǵḧîïíīįìłḿñńǹňôöòóœøōõőṕŕřßśšşșťțûüùúūǘůűųẃẍÿýžźż·/_,:;",n=new RegExp(t.split("").join("|"),"g");return e.toString().toLowerCase().replace(/\s+/g,"-").replace(n,(function(e){return"aaaaaaaaaacccddeeeeeeeegghiiiiiilmnnnnoooooooooprrsssssttuuuuuuuuuwxyyzzz------".charAt(t.indexOf(e))})).replace(/&/g,"-and-").replace(/[^\w-]+/g,"").replace(/--+/g,"-").replace(/^-+/,"").replace(/-+$/,"")}},4915:(e,t,n)=>{"use strict";n.d(t,{z8:()=>i});n(5692);var r=n(8156),o=n.n(r);n(8352);function i(e,t){var n,r;return null!==(r=null===(n=function(e,t){var n=[];return o().Children.forEach(e,(function(e){(null==e?void 0:e.type)===t&&n.push(e)})),n}(e,t))||void 0===n?void 0:n[0])&&void 0!==r?r:null}},3402:t=>{"use strict";t.exports=e},5692:e=>{"use strict";e.exports=t},8310:e=>{"use strict";e.exports=n},4159:e=>{"use strict";e.exports=r},855:e=>{"use strict";e.exports=o},8156:e=>{"use strict";e.exports=i},8721:e=>{"use strict";e.exports=a},1082:e=>{"use strict";e.exports=l},8763:e=>{"use strict";e.exports=s},6043:e=>{"use strict";e.exports=u},8053:e=>{"use strict";e.exports=c},3103:(e,t,n)=>{"use strict";function r(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}n.d(t,{Z:()=>r})},32:(e,t,n)=>{"use strict";function r(){return r=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},r.apply(this,arguments)}n.d(t,{Z:()=>r})},7581:(e,t,n)=>{"use strict";function r(e,t){return r=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},r(e,t)}function o(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,r(e,t)}n.d(t,{Z:()=>o})},7038:(e,t,n)=>{"use strict";function r(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}n.d(t,{Z:()=>r})},4329:(e,t,n)=>{"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}n.d(t,{Z:()=>r})}},h={};function d(e){var t=h[e];if(void 0!==t)return t.exports;var n=h[e]={exports:{}};return f[e](n,n.exports,d),n.exports}d.m=f,p=[],d.O=(e,t,n,r)=>{if(!t){var o=1/0;for(s=0;s<p.length;s++){for(var[t,n,r]=p[s],i=!0,a=0;a<t.length;a++)(!1&r||o>=r)&&Object.keys(d.O).every((e=>d.O[e](t[a])))?t.splice(a--,1):(i=!1,r<o&&(o=r));if(i){p.splice(s--,1);var l=n();void 0!==l&&(e=l)}}return e}r=r||0;for(var s=p.length;s>0&&p[s-1][2]>r;s--)p[s]=p[s-1];p[s]=[t,n,r]},d.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return d.d(t,{a:t}),t},d.d=(e,t)=>{for(var n in t)d.o(t,n)&&!d.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},d.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),d.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{var e={1855:0,8016:0,410:0,6824:0};d.O.j=t=>0===e[t];var t=(t,n)=>{var r,o,[i,a,l]=n,s=0;if(i.some((t=>0!==e[t]))){for(r in a)d.o(a,r)&&(d.m[r]=a[r]);if(l)var u=l(d)}for(t&&t(n);s<i.length;s++)o=i[s],d.o(e,o)&&e[o]&&e[o][0](),e[i[s]]=0;return d.O(u)},n=self.webpackChunkatoka_design_system=self.webpackChunkatoka_design_system||[];n.forEach(t.bind(null,0)),n.push=t.bind(null,n.push.bind(n))})();var m=d.O(void 0,[6824],(()=>d(3681)));return m=d.O(m)})()}));
2
+ !function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("@fortawesome/pro-light-svg-icons/faEmptySet"),require("@fortawesome/react-fontawesome"),require("classnames"),require("leaflet"),require("leaflet-image"),require("react"),require("react-bootstrap/Form"),require("react-bootstrap/FormControl"),require("react-bootstrap/FormText"),require("react-bootstrap/OverlayTrigger"),require("react-bootstrap/Tooltip")):"function"==typeof define&&define.amd?define("atoka-design-system",["@fortawesome/pro-light-svg-icons/faEmptySet","@fortawesome/react-fontawesome","classnames","leaflet","leaflet-image","react","react-bootstrap/Form","react-bootstrap/FormControl","react-bootstrap/FormText","react-bootstrap/OverlayTrigger","react-bootstrap/Tooltip"],t):"object"==typeof exports?exports["atoka-design-system"]=t(require("@fortawesome/pro-light-svg-icons/faEmptySet"),require("@fortawesome/react-fontawesome"),require("classnames"),require("leaflet"),require("leaflet-image"),require("react"),require("react-bootstrap/Form"),require("react-bootstrap/FormControl"),require("react-bootstrap/FormText"),require("react-bootstrap/OverlayTrigger"),require("react-bootstrap/Tooltip")):e["atoka-design-system"]=t(e["@fortawesome/pro-light-svg-icons/faEmptySet"],e["@fortawesome/react-fontawesome"],e.classnames,e.leaflet,e["leaflet-image"],e.react,e["react-bootstrap/Form"],e["react-bootstrap/FormControl"],e["react-bootstrap/FormText"],e["react-bootstrap/OverlayTrigger"],e["react-bootstrap/Tooltip"])}(self,(function(e,t,n,r,o,i,a,l,s,u,c){return(()=>{var p,f={9172:(e,t,n)=>{var r=n(6496).default;function o(){"use strict";e.exports=o=function(){return t},e.exports.__esModule=!0,e.exports.default=e.exports;var t={},n=Object.prototype,i=n.hasOwnProperty,a="function"==typeof Symbol?Symbol:{},l=a.iterator||"@@iterator",s=a.asyncIterator||"@@asyncIterator",u=a.toStringTag||"@@toStringTag";function c(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,n){return e[t]=n}}function p(e,t,n,r){var o=t&&t.prototype instanceof d?t:d,i=Object.create(o.prototype),a=new S(r||[]);return i._invoke=function(e,t,n){var r="suspendedStart";return function(o,i){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===o)throw i;return j()}for(n.method=o,n.arg=i;;){var a=n.delegate;if(a){var l=x(a,n);if(l){if(l===h)continue;return l}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var s=f(e,t,n);if("normal"===s.type){if(r=n.done?"completed":"suspendedYield",s.arg===h)continue;return{value:s.arg,done:n.done}}"throw"===s.type&&(r="completed",n.method="throw",n.arg=s.arg)}}}(e,n,a),i}function f(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}t.wrap=p;var h={};function d(){}function m(){}function y(){}var v={};c(v,l,(function(){return this}));var g=Object.getPrototypeOf,b=g&&g(g(C([])));b&&b!==n&&i.call(b,l)&&(v=b);var w=y.prototype=d.prototype=Object.create(v);function E(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function O(e,t){function n(o,a,l,s){var u=f(e[o],e,a);if("throw"!==u.type){var c=u.arg,p=c.value;return p&&"object"==r(p)&&i.call(p,"__await")?t.resolve(p.__await).then((function(e){n("next",e,l,s)}),(function(e){n("throw",e,l,s)})):t.resolve(p).then((function(e){c.value=e,l(c)}),(function(e){return n("throw",e,l,s)}))}s(u.arg)}var o;this._invoke=function(e,r){function i(){return new t((function(t,o){n(e,r,t,o)}))}return o=o?o.then(i,i):i()}}function x(e,t){var n=e.iterator[t.method];if(void 0===n){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=void 0,x(e,t),"throw"===t.method))return h;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return h}var r=f(n,e.iterator,t.arg);if("throw"===r.type)return t.method="throw",t.arg=r.arg,t.delegate=null,h;var o=r.arg;return o?o.done?(t[e.resultName]=o.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,h):o:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,h)}function M(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function N(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function S(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(M,this),this.reset(!0)}function C(e){if(e){var t=e[l];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var n=-1,r=function t(){for(;++n<e.length;)if(i.call(e,n))return t.value=e[n],t.done=!1,t;return t.value=void 0,t.done=!0,t};return r.next=r}}return{next:j}}function j(){return{value:void 0,done:!0}}return m.prototype=y,c(w,"constructor",y),c(y,"constructor",m),m.displayName=c(y,u,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===m||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,y):(e.__proto__=y,c(e,u,"GeneratorFunction")),e.prototype=Object.create(w),e},t.awrap=function(e){return{__await:e}},E(O.prototype),c(O.prototype,s,(function(){return this})),t.AsyncIterator=O,t.async=function(e,n,r,o,i){void 0===i&&(i=Promise);var a=new O(p(e,n,r,o),i);return t.isGeneratorFunction(n)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},E(w),c(w,u,"Generator"),c(w,l,(function(){return this})),c(w,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=[];for(var n in e)t.push(n);return t.reverse(),function n(){for(;t.length;){var r=t.pop();if(r in e)return n.value=r,n.done=!1,n}return n.done=!0,n}},t.values=C,S.prototype={constructor:S,reset:function(e){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(N),!e)for(var t in this)"t"===t.charAt(0)&&i.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function n(n,r){return a.type="throw",a.arg=e,t.next=n,r&&(t.method="next",t.arg=void 0),!!r}for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r],a=o.completion;if("root"===o.tryLoc)return n("end");if(o.tryLoc<=this.prev){var l=i.call(o,"catchLoc"),s=i.call(o,"finallyLoc");if(l&&s){if(this.prev<o.catchLoc)return n(o.catchLoc,!0);if(this.prev<o.finallyLoc)return n(o.finallyLoc)}else if(l){if(this.prev<o.catchLoc)return n(o.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return n(o.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&i.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var o=r;break}}o&&("break"===e||"continue"===e)&&o.tryLoc<=t&&t<=o.finallyLoc&&(o=null);var a=o?o.completion:{};return a.type=e,a.arg=t,o?(this.method="next",this.next=o.finallyLoc,h):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),h},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),N(n),h}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;N(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:C(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),h}},t}e.exports=o,e.exports.__esModule=!0,e.exports.default=e.exports},6496:e=>{function t(n){return e.exports=t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e.exports.__esModule=!0,e.exports.default=e.exports,t(n)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},9673:(e,t,n)=>{var r=n(6496),o=n(9172)();e.exports=o;try{regeneratorRuntime=o}catch(e){"object"===("undefined"==typeof globalThis?"undefined":r(globalThis))?globalThis.regeneratorRuntime=o:Function("r","regeneratorRuntime = r")(o)}},6627:(e,t,n)=>{"use strict";n.d(t,{MR:()=>i,ZP:()=>l});var r=n(4329);function o(e){return o="function"==typeof Symbol&&"symbol"===(0,r.Z)(Symbol.iterator)?function(e){return(0,r.Z)(e)}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":(0,r.Z)(e)},o(e)}function i(e,t,n){var r=n.value;if("function"!=typeof r)throw new TypeError("@boundMethod decorator can only be applied to methods not: ".concat(o(r)));var i=!1;return{configurable:!0,get:function(){if(i||this===e.prototype||this.hasOwnProperty(t)||"function"!=typeof r)return r;var n=r.bind(this);return i=!0,Object.defineProperty(this,t,{configurable:!0,get:function(){return n},set:function(e){r=e,delete this[t]}}),i=!1,n},set:function(e){r=e}}}function a(e){var t;return"undefined"!=typeof Reflect&&"function"==typeof Reflect.ownKeys?t=Reflect.ownKeys(e.prototype):(t=Object.getOwnPropertyNames(e.prototype),"function"==typeof Object.getOwnPropertySymbols&&(t=t.concat(Object.getOwnPropertySymbols(e.prototype)))),t.forEach((function(t){if("constructor"!==t){var n=Object.getOwnPropertyDescriptor(e.prototype,t);"function"==typeof n.value&&Object.defineProperty(e.prototype,t,i(e,t,n))}})),e}function l(){return 1===arguments.length?a.apply(void 0,arguments):i.apply(void 0,arguments)}},2766:(e,t,n)=>{"use strict";function r(e,t,n){e.prototype=t.prototype=n,n.constructor=e}function o(e,t){var n=Object.create(e.prototype);for(var r in t)n[r]=t[r];return n}function i(){}n.d(t,{ZP:()=>E,B8:()=>N});var a=.7,l=1/a,s="\\s*([+-]?\\d+)\\s*",u="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)\\s*",c="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)%\\s*",p=/^#([0-9a-f]{3,8})$/,f=new RegExp("^rgb\\("+[s,s,s]+"\\)$"),h=new RegExp("^rgb\\("+[c,c,c]+"\\)$"),d=new RegExp("^rgba\\("+[s,s,s,u]+"\\)$"),m=new RegExp("^rgba\\("+[c,c,c,u]+"\\)$"),y=new RegExp("^hsl\\("+[u,c,c]+"\\)$"),v=new RegExp("^hsla\\("+[u,c,c,u]+"\\)$"),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 E(e){var t,n;return e=(e+"").trim().toLowerCase(),(t=p.exec(e))?(n=t[1].length,t=parseInt(t[1],16),6===n?O(t):3===n?new S(t>>8&15|t>>4&240,t>>4&15|240&t,(15&t)<<4|15&t,1):8===n?x(t>>24&255,t>>16&255,t>>8&255,(255&t)/255):4===n?x(t>>12&15|t>>8&240,t>>8&15|t>>4&240,t>>4&15|240&t,((15&t)<<4|15&t)/255):null):(t=f.exec(e))?new S(t[1],t[2],t[3],1):(t=h.exec(e))?new S(255*t[1]/100,255*t[2]/100,255*t[3]/100,1):(t=d.exec(e))?x(t[1],t[2],t[3],t[4]):(t=m.exec(e))?x(255*t[1]/100,255*t[2]/100,255*t[3]/100,t[4]):(t=y.exec(e))?P(t[1],t[2]/100,t[3]/100,1):(t=v.exec(e))?P(t[1],t[2]/100,t[3]/100,t[4]):g.hasOwnProperty(e)?O(g[e]):"transparent"===e?new S(NaN,NaN,NaN,0):null}function O(e){return new S(e>>16&255,e>>8&255,255&e,1)}function x(e,t,n,r){return r<=0&&(e=t=n=NaN),new S(e,t,n,r)}function M(e){return e instanceof i||(e=E(e)),e?new S((e=e.rgb()).r,e.g,e.b,e.opacity):new S}function N(e,t,n,r){return 1===arguments.length?M(e):new S(e,t,n,null==r?1:r)}function S(e,t,n,r){this.r=+e,this.g=+t,this.b=+n,this.opacity=+r}function C(){return"#"+k(this.r)+k(this.g)+k(this.b)}function j(){var e=this.opacity;return(1===(e=isNaN(e)?1:Math.max(0,Math.min(1,e)))?"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===e?")":", "+e+")")}function k(e){return((e=Math.max(0,Math.min(255,Math.round(e)||0)))<16?"0":"")+e.toString(16)}function P(e,t,n,r){return r<=0?e=t=n=NaN:n<=0||n>=1?e=t=NaN:t<=0&&(e=NaN),new Z(e,t,n,r)}function _(e){if(e instanceof Z)return new Z(e.h,e.s,e.l,e.opacity);if(e instanceof i||(e=E(e)),!e)return new Z;if(e instanceof Z)return e;var t=(e=e.rgb()).r/255,n=e.g/255,r=e.b/255,o=Math.min(t,n,r),a=Math.max(t,n,r),l=NaN,s=a-o,u=(a+o)/2;return s?(l=t===a?(n-r)/s+6*(n<r):n===a?(r-t)/s+2:(t-n)/s+4,s/=u<.5?a+o:2-a-o,l*=60):s=u>0&&u<1?0:l,new Z(l,s,u,e.opacity)}function Z(e,t,n,r){this.h=+e,this.s=+t,this.l=+n,this.opacity=+r}function F(e,t,n){return 255*(e<60?t+(n-t)*e/60:e<180?n:e<240?t+(n-t)*(240-e)/60:t)}r(i,E,{copy:function(e){return Object.assign(new this.constructor,this,e)},displayable:function(){return this.rgb().displayable()},hex:b,formatHex:b,formatHsl:function(){return _(this).formatHsl()},formatRgb:w,toString:w}),r(S,N,o(i,{brighter:function(e){return e=null==e?l:Math.pow(l,e),new S(this.r*e,this.g*e,this.b*e,this.opacity)},darker:function(e){return e=null==e?a:Math.pow(a,e),new S(this.r*e,this.g*e,this.b*e,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:C,formatHex:C,formatRgb:j,toString:j})),r(Z,(function(e,t,n,r){return 1===arguments.length?_(e):new Z(e,t,n,null==r?1:r)}),o(i,{brighter:function(e){return e=null==e?l:Math.pow(l,e),new Z(this.h,this.s,this.l*e,this.opacity)},darker:function(e){return e=null==e?a:Math.pow(a,e),new Z(this.h,this.s,this.l*e,this.opacity)},rgb:function(){var e=this.h%360+360*(this.h<0),t=isNaN(e)||isNaN(this.s)?0:this.s,n=this.l,r=n+(n<.5?n:1-n)*t,o=2*n-r;return new S(F(e>=240?e-240:e+120,o,r),F(e,o,r),F(e<120?e+240:e-120,o,r),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 e=this.opacity;return(1===(e=isNaN(e)?1:Math.max(0,Math.min(1,e)))?"hsl(":"hsla(")+(this.h||0)+", "+100*(this.s||0)+"%, "+100*(this.l||0)+"%"+(1===e?")":", "+e+")")}}))},1820:(e,t,n)=>{"use strict";n.d(t,{Z:()=>oe});var r=Math.sqrt(50),o=Math.sqrt(10),i=Math.sqrt(2);function a(e,t,n){var a=(t-e)/Math.max(0,n),l=Math.floor(Math.log(a)/Math.LN10),s=a/Math.pow(10,l);return l>=0?(s>=r?10:s>=o?5:s>=i?2:1)*Math.pow(10,l):-Math.pow(10,-l)/(s>=r?10:s>=o?5:s>=i?2:1)}function l(e,t){return e<t?-1:e>t?1:e>=t?0:NaN}function s(e){var t=e,n=e;function r(e,t,r,o){for(null==r&&(r=0),null==o&&(o=e.length);r<o;){var i=r+o>>>1;n(e[i],t)<0?r=i+1:o=i}return r}return 1===e.length&&(t=function(t,n){return e(t)-n},n=function(e){return function(t,n){return l(e(t),n)}}(e)),{left:r,center:function(e,n,o,i){null==o&&(o=0),null==i&&(i=e.length);var a=r(e,n,o,i-1);return a>o&&t(e[a-1],n)>-t(e[a],n)?a-1:a},right:function(e,t,r,o){for(null==r&&(r=0),null==o&&(o=e.length);r<o;){var i=r+o>>>1;n(e[i],t)>0?o=i:r=i+1}return r}}}n(9673);var u=s(l),c=u.right;u.left,s((function(e){return null===e?NaN:+e})).center;const p=c;var f=n(4329),h=n(2766);function d(e,t,n,r,o){var i=e*e,a=i*e;return((1-3*e+3*i-a)*t+(4-6*i+3*a)*n+(1+3*e+3*i-3*a)*r+a*o)/6}const m=function(e){return function(){return e}};function y(e,t){return function(n){return e+n*t}}function v(e){return 1==(e=+e)?g:function(t,n){return n-t?function(e,t,n){return e=Math.pow(e,n),t=Math.pow(t,n)-e,n=1/n,function(r){return Math.pow(e+r*t,n)}}(t,n,e):m(isNaN(t)?n:t)}}function g(e,t){var n=t-e;return n?y(e,n):m(isNaN(e)?t:e)}const b=function e(t){var n=v(t);function r(e,t){var r=n((e=(0,h.B8)(e)).r,(t=(0,h.B8)(t)).r),o=n(e.g,t.g),i=n(e.b,t.b),a=g(e.opacity,t.opacity);return function(t){return e.r=r(t),e.g=o(t),e.b=i(t),e.opacity=a(t),e+""}}return r.gamma=e,r}(1);function w(e){return function(t){var n,r,o=t.length,i=new Array(o),a=new Array(o),l=new Array(o);for(n=0;n<o;++n)r=(0,h.B8)(t[n]),i[n]=r.r||0,a[n]=r.g||0,l[n]=r.b||0;return i=e(i),a=e(a),l=e(l),r.opacity=1,function(e){return r.r=i(e),r.g=a(e),r.b=l(e),r+""}}}w((function(e){var t=e.length-1;return function(n){var r=n<=0?n=0:n>=1?(n=1,t-1):Math.floor(n*t),o=e[r],i=e[r+1],a=r>0?e[r-1]:2*o-i,l=r<t-1?e[r+2]:2*i-o;return d((n-r/t)*t,a,o,i,l)}})),w((function(e){var t=e.length;return function(n){var r=Math.floor(((n%=1)<0?++n:n)*t),o=e[(r+t-1)%t],i=e[r%t],a=e[(r+1)%t],l=e[(r+2)%t];return d((n-r/t)*t,o,i,a,l)}}));function E(e,t){var n,r=t?t.length:0,o=e?Math.min(r,e.length):0,i=new Array(o),a=new Array(r);for(n=0;n<o;++n)i[n]=k(e[n],t[n]);for(;n<r;++n)a[n]=t[n];return function(e){for(n=0;n<o;++n)a[n]=i[n](e);return a}}function O(e,t){var n=new Date;return e=+e,t=+t,function(r){return n.setTime(e*(1-r)+t*r),n}}function x(e,t){return e=+e,t=+t,function(n){return e*(1-n)+t*n}}function M(e,t){var n,r={},o={};for(n in null!==e&&"object"===(0,f.Z)(e)||(e={}),null!==t&&"object"===(0,f.Z)(t)||(t={}),t)n in e?r[n]=k(e[n],t[n]):o[n]=t[n];return function(e){for(n in r)o[n]=r[n](e);return o}}var N=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,S=new RegExp(N.source,"g");function C(e,t){var n,r,o,i=N.lastIndex=S.lastIndex=0,a=-1,l=[],s=[];for(e+="",t+="";(n=N.exec(e))&&(r=S.exec(t));)(o=r.index)>i&&(o=t.slice(i,o),l[a]?l[a]+=o:l[++a]=o),(n=n[0])===(r=r[0])?l[a]?l[a]+=r:l[++a]=r:(l[++a]=null,s.push({i:a,x:x(n,r)})),i=S.lastIndex;return i<t.length&&(o=t.slice(i),l[a]?l[a]+=o:l[++a]=o),l.length<2?s[0]?function(e){return function(t){return e(t)+""}}(s[0].x):function(e){return function(){return e}}(t):(t=s.length,function(e){for(var n,r=0;r<t;++r)l[(n=s[r]).i]=n.x(e);return l.join("")})}function j(e,t){t||(t=[]);var n,r=e?Math.min(t.length,e.length):0,o=t.slice();return function(i){for(n=0;n<r;++n)o[n]=e[n]*(1-i)+t[n]*i;return o}}function k(e,t){var n,r,o=(0,f.Z)(t);return null==t||"boolean"===o?m(t):("number"===o?x:"string"===o?(n=(0,h.ZP)(t))?(t=n,b):C:t instanceof h.ZP?b:t instanceof Date?O:(r=t,!ArrayBuffer.isView(r)||r instanceof DataView?Array.isArray(t)?E:"function"!=typeof t.valueOf&&"function"!=typeof t.toString||isNaN(t)?M:x:j))(e,t)}function P(e,t){return e=+e,t=+t,function(n){return Math.round(e*(1-n)+t*n)}}function _(e){return+e}var Z=[0,1];function F(e){return e}function L(e,t){return(t-=e=+e)?function(n){return(n-e)/t}:(n=isNaN(t)?NaN:.5,function(){return n});var n}function D(e,t,n){var r=e[0],o=e[1],i=t[0],a=t[1];return o<r?(r=L(o,r),i=n(a,i)):(r=L(r,o),i=n(i,a)),function(e){return i(r(e))}}function T(e,t,n){var r=Math.min(e.length,t.length)-1,o=new Array(r),i=new Array(r),a=-1;for(e[r]<e[0]&&(e=e.slice().reverse(),t=t.slice().reverse());++a<r;)o[a]=L(e[a],e[a+1]),i[a]=n(t[a],t[a+1]);return function(t){var n=p(e,t,1,r)-1;return i[n](o[n](t))}}function I(e,t){return t.domain(e.domain()).range(e.range()).interpolate(e.interpolate()).clamp(e.clamp()).unknown(e.unknown())}function R(){var e,t,n,r,o,i,a=Z,l=Z,s=k,u=F;function c(){var e,t,n,s=Math.min(a.length,l.length);return u!==F&&(e=a[0],t=a[s-1],e>t&&(n=e,e=t,t=n),u=function(n){return Math.max(e,Math.min(t,n))}),r=s>2?T:D,o=i=null,p}function p(t){return null==t||isNaN(t=+t)?n:(o||(o=r(a.map(e),l,s)))(e(u(t)))}return p.invert=function(n){return u(t((i||(i=r(l,a.map(e),x)))(n)))},p.domain=function(e){return arguments.length?(a=Array.from(e,_),c()):a.slice()},p.range=function(e){return arguments.length?(l=Array.from(e),c()):l.slice()},p.rangeRound=function(e){return l=Array.from(e),s=P,c()},p.clamp=function(e){return arguments.length?(u=!!e||F,c()):u!==F},p.interpolate=function(e){return arguments.length?(s=e,c()):s},p.unknown=function(e){return arguments.length?(n=e,p):n},function(n,r){return e=n,t=r,c()}}function A(){return R()(F,F)}function z(e,t){switch(arguments.length){case 0:break;case 1:this.range(e);break;default:this.range(t).domain(e)}return this}var B,$=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function V(e){if(!(t=$.exec(e)))throw new Error("invalid format: "+e);var t;return new q({fill:t[1],align:t[2],sign:t[3],symbol:t[4],zero:t[5],width:t[6],comma:t[7],precision:t[8]&&t[8].slice(1),trim:t[9],type:t[10]})}function q(e){this.fill=void 0===e.fill?" ":e.fill+"",this.align=void 0===e.align?">":e.align+"",this.sign=void 0===e.sign?"-":e.sign+"",this.symbol=void 0===e.symbol?"":e.symbol+"",this.zero=!!e.zero,this.width=void 0===e.width?void 0:+e.width,this.comma=!!e.comma,this.precision=void 0===e.precision?void 0:+e.precision,this.trim=!!e.trim,this.type=void 0===e.type?"":e.type+""}function U(e,t){if((n=(e=t?e.toExponential(t-1):e.toExponential()).indexOf("e"))<0)return null;var n,r=e.slice(0,n);return[r.length>1?r[0]+r.slice(2):r,+e.slice(n+1)]}function K(e){return(e=U(Math.abs(e)))?e[1]:NaN}function G(e,t){var n=U(e,t);if(!n)return e+"";var r=n[0],o=n[1];return o<0?"0."+new Array(-o).join("0")+r:r.length>o+1?r.slice(0,o+1)+"."+r.slice(o+1):r+new Array(o-r.length+2).join("0")}V.prototype=q.prototype,q.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 H={"%":function(e,t){return(100*e).toFixed(t)},b:function(e){return Math.round(e).toString(2)},c:function(e){return e+""},d:function(e){return Math.abs(e=Math.round(e))>=1e21?e.toLocaleString("en").replace(/,/g,""):e.toString(10)},e:function(e,t){return e.toExponential(t)},f:function(e,t){return e.toFixed(t)},g:function(e,t){return e.toPrecision(t)},o:function(e){return Math.round(e).toString(8)},p:function(e,t){return G(100*e,t)},r:G,s:function(e,t){var n=U(e,t);if(!n)return e+"";var r=n[0],o=n[1],i=o-(B=3*Math.max(-8,Math.min(8,Math.floor(o/3))))+1,a=r.length;return i===a?r:i>a?r+new Array(i-a+1).join("0"):i>0?r.slice(0,i)+"."+r.slice(i):"0."+new Array(1-i).join("0")+U(e,Math.max(0,t+i-1))[0]},X:function(e){return Math.round(e).toString(16).toUpperCase()},x:function(e){return Math.round(e).toString(16)}};function W(e){return e}var Y,J,X,Q=Array.prototype.map,ee=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"];function te(e){var t,n,r=void 0===e.grouping||void 0===e.thousands?W:(t=Q.call(e.grouping,Number),n=e.thousands+"",function(e,r){for(var o=e.length,i=[],a=0,l=t[0],s=0;o>0&&l>0&&(s+l+1>r&&(l=Math.max(1,r-s)),i.push(e.substring(o-=l,o+l)),!((s+=l+1)>r));)l=t[a=(a+1)%t.length];return i.reverse().join(n)}),o=void 0===e.currency?"":e.currency[0]+"",i=void 0===e.currency?"":e.currency[1]+"",a=void 0===e.decimal?".":e.decimal+"",l=void 0===e.numerals?W:function(e){return function(t){return t.replace(/[0-9]/g,(function(t){return e[+t]}))}}(Q.call(e.numerals,String)),s=void 0===e.percent?"%":e.percent+"",u=void 0===e.minus?"-":e.minus+"",c=void 0===e.nan?"NaN":e.nan+"";function p(e){var t=(e=V(e)).fill,n=e.align,p=e.sign,f=e.symbol,h=e.zero,d=e.width,m=e.comma,y=e.precision,v=e.trim,g=e.type;"n"===g?(m=!0,g="g"):H[g]||(void 0===y&&(y=12),v=!0,g="g"),(h||"0"===t&&"="===n)&&(h=!0,t="0",n="=");var b="$"===f?o:"#"===f&&/[boxX]/.test(g)?"0"+g.toLowerCase():"",w="$"===f?i:/[%p]/.test(g)?s:"",E=H[g],O=/[defgprs%]/.test(g);function x(e){var o,i,s,f=b,x=w;if("c"===g)x=E(e)+x,e="";else{var M=(e=+e)<0||1/e<0;if(e=isNaN(e)?c:E(Math.abs(e),y),v&&(e=function(e){e:for(var t,n=e.length,r=1,o=-1;r<n;++r)switch(e[r]){case".":o=t=r;break;case"0":0===o&&(o=r),t=r;break;default:if(!+e[r])break e;o>0&&(o=0)}return o>0?e.slice(0,o)+e.slice(t+1):e}(e)),M&&0==+e&&"+"!==p&&(M=!1),f=(M?"("===p?p:u:"-"===p||"("===p?"":p)+f,x=("s"===g?ee[8+B/3]:"")+x+(M&&"("===p?")":""),O)for(o=-1,i=e.length;++o<i;)if(48>(s=e.charCodeAt(o))||s>57){x=(46===s?a+e.slice(o+1):e.slice(o))+x,e=e.slice(0,o);break}}m&&!h&&(e=r(e,1/0));var N=f.length+e.length+x.length,S=N<d?new Array(d-N+1).join(t):"";switch(m&&h&&(e=r(S+e,S.length?d-x.length:1/0),S=""),n){case"<":e=f+e+x+S;break;case"=":e=f+S+e+x;break;case"^":e=S.slice(0,N=S.length>>1)+f+e+x+S.slice(N);break;default:e=S+f+e+x}return l(e)}return y=void 0===y?6:/[gprs]/.test(g)?Math.max(1,Math.min(21,y)):Math.max(0,Math.min(20,y)),x.toString=function(){return e+""},x}return{format:p,formatPrefix:function(e,t){var n=p(((e=V(e)).type="f",e)),r=3*Math.max(-8,Math.min(8,Math.floor(K(t)/3))),o=Math.pow(10,-r),i=ee[8+r/3];return function(e){return n(o*e)+i}}}}function ne(e,t,n,a){var l,s=function(e,t,n){var a=Math.abs(t-e)/Math.max(0,n),l=Math.pow(10,Math.floor(Math.log(a)/Math.LN10)),s=a/l;return s>=r?l*=10:s>=o?l*=5:s>=i&&(l*=2),t<e?-l:l}(e,t,n);switch((a=V(null==a?",f":a)).type){case"s":var u=Math.max(Math.abs(e),Math.abs(t));return null!=a.precision||isNaN(l=function(e,t){return Math.max(0,3*Math.max(-8,Math.min(8,Math.floor(K(t)/3)))-K(Math.abs(e)))}(s,u))||(a.precision=l),X(a,u);case"":case"e":case"g":case"p":case"r":null!=a.precision||isNaN(l=function(e,t){return e=Math.abs(e),t=Math.abs(t)-e,Math.max(0,K(t)-K(e))+1}(s,Math.max(Math.abs(e),Math.abs(t))))||(a.precision=l-("e"===a.type));break;case"f":case"%":null!=a.precision||isNaN(l=function(e){return Math.max(0,-K(Math.abs(e)))}(s))||(a.precision=l-2*("%"===a.type))}return J(a)}function re(e){var t=e.domain;return e.ticks=function(e){var n=t();return function(e,t,n){var r,o,i,l,s=-1;if(n=+n,(e=+e)==(t=+t)&&n>0)return[e];if((r=t<e)&&(o=e,e=t,t=o),0===(l=a(e,t,n))||!isFinite(l))return[];if(l>0){var u=Math.round(e/l),c=Math.round(t/l);for(u*l<e&&++u,c*l>t&&--c,i=new Array(o=c-u+1);++s<o;)i[s]=(u+s)*l}else{l=-l;var p=Math.round(e*l),f=Math.round(t*l);for(p/l<e&&++p,f/l>t&&--f,i=new Array(o=f-p+1);++s<o;)i[s]=(p+s)/l}return r&&i.reverse(),i}(n[0],n[n.length-1],null==e?10:e)},e.tickFormat=function(e,n){var r=t();return ne(r[0],r[r.length-1],null==e?10:e,n)},e.nice=function(n){null==n&&(n=10);var r,o,i=t(),l=0,s=i.length-1,u=i[l],c=i[s],p=10;for(c<u&&(o=u,u=c,c=o,o=l,l=s,s=o);p-- >0;){if((o=a(u,c,n))===r)return i[l]=u,i[s]=c,t(i);if(o>0)u=Math.floor(u/o)*o,c=Math.ceil(c/o)*o;else{if(!(o<0))break;u=Math.ceil(u*o)/o,c=Math.floor(c*o)/o}r=o}return e},e}function oe(){var e=A();return e.copy=function(){return I(e,oe())},z.apply(e,arguments),re(e)}Y=te({decimal:".",thousands:",",grouping:[3],currency:["$",""],minus:"-"}),J=Y.format,X=Y.formatPrefix},627:(e,t,n)=>{"use strict";var r=n(6496);e.exports=function e(t,n){if(t===n)return!0;if(t&&n&&"object"==r(t)&&"object"==r(n)){if(t.constructor!==n.constructor)return!1;var o,i,a;if(Array.isArray(t)){if((o=t.length)!=n.length)return!1;for(i=o;0!=i--;)if(!e(t[i],n[i]))return!1;return!0}if(t.constructor===RegExp)return t.source===n.source&&t.flags===n.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===n.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===n.toString();if((o=(a=Object.keys(t)).length)!==Object.keys(n).length)return!1;for(i=o;0!=i--;)if(!Object.prototype.hasOwnProperty.call(n,a[i]))return!1;for(i=o;0!=i--;){var l=a[i];if(!e(t[l],n[l]))return!1}return!0}return t!=t&&n!=n}},5682:(e,t,n)=>{"use strict";var r=n(1573),o={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},i={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},a={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},l={};function s(e){return r.isMemo(e)?a:l[e.$$typeof]||o}l[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},l[r.Memo]=a;var u=Object.defineProperty,c=Object.getOwnPropertyNames,p=Object.getOwnPropertySymbols,f=Object.getOwnPropertyDescriptor,h=Object.getPrototypeOf,d=Object.prototype;e.exports=function e(t,n,r){if("string"!=typeof n){if(d){var o=h(n);o&&o!==d&&e(t,o,r)}var a=c(n);p&&(a=a.concat(p(n)));for(var l=s(t),m=s(n),y=0;y<a.length;++y){var v=a[y];if(!(i[v]||r&&r[v]||m&&m[v]||l&&l[v])){var g=f(n,v);try{u(t,v,g)}catch(e){}}}}return t}},8633:(e,t,n)=>{"use strict";var r=n(6496),o="function"==typeof Symbol&&Symbol.for,i=o?Symbol.for("react.element"):60103,a=o?Symbol.for("react.portal"):60106,l=o?Symbol.for("react.fragment"):60107,s=o?Symbol.for("react.strict_mode"):60108,u=o?Symbol.for("react.profiler"):60114,c=o?Symbol.for("react.provider"):60109,p=o?Symbol.for("react.context"):60110,f=o?Symbol.for("react.async_mode"):60111,h=o?Symbol.for("react.concurrent_mode"):60111,d=o?Symbol.for("react.forward_ref"):60112,m=o?Symbol.for("react.suspense"):60113,y=o?Symbol.for("react.suspense_list"):60120,v=o?Symbol.for("react.memo"):60115,g=o?Symbol.for("react.lazy"):60116,b=o?Symbol.for("react.block"):60121,w=o?Symbol.for("react.fundamental"):60117,E=o?Symbol.for("react.responder"):60118,O=o?Symbol.for("react.scope"):60119;function x(e){if("object"===r(e)&&null!==e){var t=e.$$typeof;switch(t){case i:switch(e=e.type){case f:case h:case l:case u:case s:case m:return e;default:switch(e=e&&e.$$typeof){case p:case d:case g:case v:case c:return e;default:return t}}case a:return t}}}function M(e){return x(e)===h}t.AsyncMode=f,t.ConcurrentMode=h,t.ContextConsumer=p,t.ContextProvider=c,t.Element=i,t.ForwardRef=d,t.Fragment=l,t.Lazy=g,t.Memo=v,t.Portal=a,t.Profiler=u,t.StrictMode=s,t.Suspense=m,t.isAsyncMode=function(e){return M(e)||x(e)===f},t.isConcurrentMode=M,t.isContextConsumer=function(e){return x(e)===p},t.isContextProvider=function(e){return x(e)===c},t.isElement=function(e){return"object"===r(e)&&null!==e&&e.$$typeof===i},t.isForwardRef=function(e){return x(e)===d},t.isFragment=function(e){return x(e)===l},t.isLazy=function(e){return x(e)===g},t.isMemo=function(e){return x(e)===v},t.isPortal=function(e){return x(e)===a},t.isProfiler=function(e){return x(e)===u},t.isStrictMode=function(e){return x(e)===s},t.isSuspense=function(e){return x(e)===m},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===l||e===h||e===u||e===s||e===m||e===y||"object"===r(e)&&null!==e&&(e.$$typeof===g||e.$$typeof===v||e.$$typeof===c||e.$$typeof===p||e.$$typeof===d||e.$$typeof===w||e.$$typeof===E||e.$$typeof===O||e.$$typeof===b)},t.typeOf=x},1573:(e,t,n)=>{"use strict";e.exports=n(8633)},1469:(e,t,n)=>{"use strict";n.d(t,{EmptyState:()=>p});var r,o=n(8156),i=n.n(o),a=n(5692),l=n(3402),s=n(8310),u=n.n(s),c=(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),p=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return c(t,e),t.prototype.render=function(){return i().createElement("div",{className:u()("atoka-empty-state",this.props.className)},i().createElement("div",{className:"mb-2"},i().createElement(a.FontAwesomeIcon,{icon:l.faEmptySet})),this.props.children)},t.displayName="EmptyState",t}(i().PureComponent)},8352:(e,t,n)=>{"use strict";var r=n(8156),o=n.n(r),i=n(8310),a=n.n(i),l=n(8721),s=n.n(l),u=o().memo((function(e){var t=a()(null==e?void 0:e.className,"atoka-form-label");return o().createElement(s().Label,{className:t},e.children)}));u.displayName="FormLabel";var c=n(2048),p=function(){return p=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},p.apply(this,arguments)},f=function(e){var t,n=a()("atoka-form-checkbox",null==e?void 0:e.className);return o().createElement(s().Check,p({type:"checkbox"},e,{custom:!0,className:n,label:null!==(t=e.label)&&void 0!==t?t:""}))};f.displayName="FormCheckbox";var h=function(){return h=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},h.apply(this,arguments)},d=function(e){var t,n=a()(null==e?void 0:e.className,"atoka-form-radio");return o().createElement(s().Check,h({type:"radio"},e,{custom:!0,className:n,label:null!==(t=e.label)&&void 0!==t?t:""}))};d.displayName="FormRadio";var m=n(8763),y=n.n(m),v=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n},g=o().memo((function(e){var t=e.children,n=v(e,["children"]),r=a()("d-block",null==n?void 0:n.className);return o().createElement(y(),{bsPrefix:"atoka-form-help",className:r},t)}));g.displayName="FormHelp";var b=function(){return b=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},b.apply(this,arguments)},w=function(e){var t=a()(null==e?void 0:e.className,"atoka-form");return o().createElement(s(),b({},e,{className:t}),e.children)};w.displayName="Form",w.Control=c.N,w.Label=u,w.Checkbox=f,w.Radio=d,w.File=s().File,w.Switch=s().Switch,w.Help=g,w.Group=s().Group},2048:(e,t,n)=>{"use strict";n.d(t,{N:()=>h});var r=n(8156),o=n.n(r),i=n(8310),a=n.n(i),l=n(1082),s=n.n(l),u=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n},c=o().memo((function(e){var t=e.show,n=void 0===t||t,r=u(e,["show"]),i=a()(null==r?void 0:r.className,"atoka-form-control-feedback",{"d-block":n});return o().createElement(s().Feedback,{type:r.type,className:i},r.children)}));c.displayName=" FormControlFeedBack";var p=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n},f=o().forwardRef((function(e,t){var n=e.size,r=void 0===n?"md":n,i=p(e,["size"]),l=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:l,disabled:i.disabled,readOnly:i.readOnly,value:i.value,onChange:i.onChange,onKeyPress:i.onKeyPress,onKeyDown:i.onKeyDown,defaultValue:i.defaultValue,size:"md"===r?void 0:r,type:i.type,id:i.id,isValid:i.isValid,isInvalid:i.isInvalid,ref:t,autoComplete:"off"},i.children)}));f.displayName="FormControlComponent";var h=f;h.FeedBack=c,h.displayName="FormControl"},3681:(e,t,n)=>{"use strict";n.r(t),n.d(t,{Map:()=>Me,MapChoroplethProps:()=>r.MapChoroplethProps,MapData:()=>r.MapData,MapDataKind:()=>r.MapDataKind,MapEventDispatcher:()=>r.MapEventDispatcher,MapProps:()=>r.MapProps});var r={};n.r(r);var o=n(8156),i=n.n(o),a=n(32),l=n(7038),s=n(3103),u=n(7581);function c(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var p=n(4159),f=n.n(p),h=n(5682),d=n.n(h),m=(0,o.createContext)({}),y=m.Consumer,v=m.Provider,g=function(e){var t=function(t,n){return i().createElement(y,null,(function(r){return i().createElement(e,(0,a.Z)({},t,{leaflet:r,ref:n}))}))},n=e.displayName||e.name||"Component";t.displayName="Leaflet("+n+")";var r=(0,o.forwardRef)(t);return d()(r,e),r},b=/^on(.+)$/i,w=function(e){function t(t){var n;return n=e.call(this,t)||this,c((0,s.Z)(n),"_leafletEvents",void 0),c((0,s.Z)(n),"leafletElement",void 0),n._leafletEvents=n.extractLeafletEvents(t),n}(0,u.Z)(t,e);var n=t.prototype;return n.componentDidMount=function(){this.bindLeafletEvents(this._leafletEvents)},n.componentDidUpdate=function(e){this._leafletEvents=this.bindLeafletEvents(this.extractLeafletEvents(this.props),this._leafletEvents)},n.componentWillUnmount=function(){var e=this,t=this.leafletElement;t&&Object.keys(this._leafletEvents).forEach((function(n){t.off(n,e._leafletEvents[n])}))},n.extractLeafletEvents=function(e){return Object.keys(e).reduce((function(t,n){b.test(n)&&(null!=e[n]&&(t[n.replace(b,(function(e,t){return t.toLowerCase()}))]=e[n]));return t}),{})},n.bindLeafletEvents=function(e,t){void 0===e&&(e={}),void 0===t&&(t={});var n=this.leafletElement;if(null==n||null==n.on)return{};var r=(0,a.Z)({},t);return Object.keys(t).forEach((function(o){null!=e[o]&&t[o]===e[o]||(delete r[o],n.off(o,t[o]))})),Object.keys(e).forEach((function(o){null!=t[o]&&e[o]===t[o]||(r[o]=e[o],n.on(o,e[o]))})),r},n.fireLeafletEvent=function(e,t){var n=this.leafletElement;n&&n.fire(e,t)},t}(o.Component),E=function(e){return void 0===e&&(e=""),e.split(" ").filter(Boolean)};const O=function(e,t,n){null!=e&&n!==t&&(null!=t&&t.length>0&&function(e,t){E(t).forEach((function(t){p.DomUtil.removeClass(e,t)}))}(e,t),null!=n&&n.length>0&&function(e,t){E(t).forEach((function(t){p.DomUtil.addClass(e,t)}))}(e,n))};function x(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return Object.keys(e).reduce((function(t,r){return-1===n.indexOf(r)&&(t[r]=e[r]),t}),{})}var M=["children","className","id","style","useFlyTo","whenReady"],N=function(e){return Array.isArray(e)?[e[0],e[1]]:[e.lat,e.lon?e.lon:e.lng]},S=function(e){function t(t){var n;return n=e.call(this,t)||this,c((0,s.Z)(n),"className",void 0),c((0,s.Z)(n),"contextValue",void 0),c((0,s.Z)(n),"container",void 0),c((0,s.Z)(n),"viewport",{center:void 0,zoom:void 0}),c((0,s.Z)(n),"_ready",!1),c((0,s.Z)(n),"_updating",!1),c((0,s.Z)(n),"onViewportChange",(function(){var e=n.leafletElement.getCenter();n.viewport={center:e?[e.lat,e.lng]:void 0,zoom:n.leafletElement.getZoom()},n.props.onViewportChange&&!n._updating&&n.props.onViewportChange(n.viewport)})),c((0,s.Z)(n),"onViewportChanged",(function(){n.props.onViewportChanged&&!n._updating&&n.props.onViewportChanged(n.viewport)})),c((0,s.Z)(n),"bindContainer",(function(e){n.container=e})),n.className=t.className,n}(0,u.Z)(t,e);var n=t.prototype;return n.createLeafletElement=function(e){var t=e.viewport,n=(0,l.Z)(e,["viewport"]);return t&&(t.center&&(n.center=t.center),"number"==typeof t.zoom&&(n.zoom=t.zoom)),new p.Map(this.container,n)},n.updateLeafletElement=function(e,t){this._updating=!0;var n=t.bounds,r=t.boundsOptions,o=t.boxZoom,i=t.center,a=t.className,l=t.doubleClickZoom,s=t.dragging,u=t.keyboard,c=t.maxBounds,p=t.scrollWheelZoom,f=t.tap,h=t.touchZoom,d=t.useFlyTo,m=t.viewport,y=t.zoom;if(O(this.container,e.className,a),m&&m!==e.viewport){var v=m.center?m.center:i,g=null==m.zoom?y:m.zoom;!0===d?this.leafletElement.flyTo(v,g,this.getZoomPanOptions(t)):this.leafletElement.setView(v,g,this.getZoomPanOptions(t))}else i&&this.shouldUpdateCenter(i,e.center)?!0===d?this.leafletElement.flyTo(i,y,this.getZoomPanOptions(t)):this.leafletElement.setView(i,y,this.getZoomPanOptions(t)):"number"==typeof y&&y!==e.zoom&&(null==e.zoom?this.leafletElement.setView(i,y,this.getZoomPanOptions(t)):this.leafletElement.setZoom(y,this.getZoomPanOptions(t)));c&&this.shouldUpdateBounds(c,e.maxBounds)&&this.leafletElement.setMaxBounds(c),n&&(this.shouldUpdateBounds(n,e.bounds)||r!==e.boundsOptions)&&(!0===d?this.leafletElement.flyToBounds(n,this.getFitBoundsOptions(t)):this.leafletElement.fitBounds(n,this.getFitBoundsOptions(t))),o!==e.boxZoom&&(!0===o?this.leafletElement.boxZoom.enable():this.leafletElement.boxZoom.disable()),l!==e.doubleClickZoom&&(!0===l||"string"==typeof l?(this.leafletElement.options.doubleClickZoom=l,this.leafletElement.doubleClickZoom.enable()):this.leafletElement.doubleClickZoom.disable()),s!==e.dragging&&(!0===s?this.leafletElement.dragging.enable():this.leafletElement.dragging.disable()),u!==e.keyboard&&(!0===u?this.leafletElement.keyboard.enable():this.leafletElement.keyboard.disable()),p!==e.scrollWheelZoom&&(!0===p||"string"==typeof p?(this.leafletElement.options.scrollWheelZoom=p,this.leafletElement.scrollWheelZoom.enable()):this.leafletElement.scrollWheelZoom.disable()),f!==e.tap&&(!0===f?this.leafletElement.tap.enable():this.leafletElement.tap.disable()),h!==e.touchZoom&&(!0===h||"string"==typeof h?(this.leafletElement.options.touchZoom=h,this.leafletElement.touchZoom.enable()):this.leafletElement.touchZoom.disable()),this._updating=!1},n.getZoomPanOptions=function(e){return{animate:e.animate,duration:e.duration,easeLinearity:e.easeLinearity,noMoveStart:e.noMoveStart}},n.getFitBoundsOptions=function(e){var t=this.getZoomPanOptions(e);return(0,a.Z)({},t,e.boundsOptions)},n.componentDidMount=function(){var t=x.apply(void 0,[this.props].concat(M));this.leafletElement=this.createLeafletElement(t),this.leafletElement.on("move",this.onViewportChange),this.leafletElement.on("moveend",this.onViewportChanged),null!=t.bounds&&this.leafletElement.fitBounds(t.bounds,this.getFitBoundsOptions(t)),this.contextValue={layerContainer:this.leafletElement,map:this.leafletElement},e.prototype.componentDidMount.call(this),this.forceUpdate()},n.componentDidUpdate=function(t){!1===this._ready&&(this._ready=!0,this.props.whenReady&&this.leafletElement.whenReady(this.props.whenReady)),e.prototype.componentDidUpdate.call(this,t),this.updateLeafletElement(t,this.props)},n.componentWillUnmount=function(){e.prototype.componentWillUnmount.call(this),this.leafletElement.off("move",this.onViewportChange),this.leafletElement.off("moveend",this.onViewportChanged),!0===this.props.preferCanvas?(this.leafletElement._initEvents(!0),this.leafletElement._stop()):this.leafletElement.remove()},n.shouldUpdateCenter=function(e,t){return!t||(e=N(e),t=N(t),e[0]!==t[0]||e[1]!==t[1])},n.shouldUpdateBounds=function(e,t){return!t||!(0,p.latLngBounds)(e).equals((0,p.latLngBounds)(t))},n.render=function(){return i().createElement("div",{className:this.className,id:this.props.id,ref:this.bindContainer,style:this.props.style},this.contextValue?i().createElement(v,{value:this.contextValue},this.props.children):null)},t}(w);function C(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var j=function(e){function t(){return e.apply(this,arguments)||this}return(0,u.Z)(t,e),t.prototype.getOptions=function(e){return null!=e.pane?e:null!=e.leaflet&&null!=e.leaflet.pane?(0,a.Z)({},e,{pane:e.leaflet.pane}):e},t}(w),k=function(e){function t(t){var n;return n=e.call(this,t)||this,c((0,s.Z)(n),"contextValue",void 0),c((0,s.Z)(n),"leafletElement",void 0),n.leafletElement=n.createLeafletElement(t),n}(0,u.Z)(t,e);var n,r,a,l=t.prototype;return l.createLeafletElement=function(e){throw new Error("createLeafletElement() must be implemented")},l.updateLeafletElement=function(e,t){},l.componentDidMount=function(){e.prototype.componentDidMount.call(this),this.layerContainer.addLayer(this.leafletElement)},l.componentDidUpdate=function(t){if(e.prototype.componentDidUpdate.call(this,t),this.props.attribution!==t.attribution){var n=this.props.leaflet.map;null!=n&&null!=n.attributionControl&&(n.attributionControl.removeAttribution(t.attribution),n.attributionControl.addAttribution(this.props.attribution))}this.updateLeafletElement(t,this.props)},l.componentWillUnmount=function(){e.prototype.componentWillUnmount.call(this),this.layerContainer.removeLayer(this.leafletElement)},l.render=function(){var e=this.props.children;return null==e?null:null==this.contextValue?i().createElement(o.Fragment,null,e):i().createElement(v,{value:this.contextValue},e)},n=t,(r=[{key:"layerContainer",get:function(){return this.props.leaflet.layerContainer||this.props.leaflet.map}}])&&C(n.prototype,r),a&&C(n,a),Object.defineProperty(n,"prototype",{writable:!1}),t}(j),P=function(e){function t(){return e.apply(this,arguments)||this}(0,u.Z)(t,e);var n=t.prototype;return n.createLeafletElement=function(e){return new p.GridLayer(this.getOptions(e))},n.updateLeafletElement=function(e,t){var n=t.opacity,r=t.zIndex;n!==e.opacity&&this.leafletElement.setOpacity(n),r!==e.zIndex&&this.leafletElement.setZIndex(r)},n.getOptions=function(t){var n=(0,a.Z)({},e.prototype.getOptions.call(this,t)),r=t.leaflet.map;return null!=r&&(null==n.maxZoom&&null!=r.options.maxZoom&&(n.maxZoom=r.options.maxZoom),null==n.minZoom&&null!=r.options.minZoom&&(n.minZoom=r.options.minZoom)),n},n.render=function(){return null},t}(k),_=function(e){function t(){return e.apply(this,arguments)||this}(0,u.Z)(t,e);var n=t.prototype;return n.createLeafletElement=function(e){return new p.TileLayer(e.url,this.getOptions(e))},n.updateLeafletElement=function(t,n){e.prototype.updateLeafletElement.call(this,t,n),n.url!==t.url&&this.leafletElement.setUrl(n.url)},t}(P);const Z=g(_);var F=n(8310),L=n.n(F),D=n(6627),T=n(855),I=n.n(T),R=n(4915),A=n(6216),z=n(1469),B=n(8053),$=n.n(B),V=n(6043),q=n.n(V),U=n(5692),K=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n},G=i().memo((function(e){var t,n=e.size,r=void 0===n?"sm":n,o=K(e,["size"]),a=null;null!=o.icon&&(a=i().createElement(U.FontAwesomeIcon,{size:"xs",icon:o.icon}));var l=L()("map-control-button",o.className,r,{selected:o.isSelected});if(null==o.children||"lg"===r)return i().createElement("button",{className:l,onClick:o.onClick},a,o.children);var s=i().createElement($(),{id:null!==(t=null==o?void 0:o.tooltipId)&&void 0!==t?t:"",className:"big-tooltip"},o.children);return i().createElement(q(),{rootClose:!0,trigger:["hover","focus"],placement:"bottom",overlay:s},i().createElement("button",{className:l,onClick:o.onClick},a))}));G.displayName="MapControl";var H=n(1820),W=n(627),Y=n.n(W);var J=["stroke","color","weight","opacity","lineCap","lineJoin","dashArray","dashOffset","fill","fillColor","fillOpacity","fillRule","bubblingMouseEvents","renderer","className","interactive","pane","attribution"],X=function(e){function t(){return e.apply(this,arguments)||this}(0,u.Z)(t,e);var n=t.prototype;return n.createLeafletElement=function(e){return new p.GeoJSON(e.data,this.getOptions(e))},n.updateLeafletElement=function(e,t){"function"==typeof t.style?this.leafletElement.setStyle(t.style):this.setStyleIfChanged(e,t)},t}(function(e){function t(t){var n;return null==(n=e.call(this,t)||this).contextValue&&(n.contextValue=(0,a.Z)({},t.leaflet,{popupContainer:n.leafletElement})),n}(0,u.Z)(t,e);var n=t.prototype;return n.componentDidUpdate=function(t){e.prototype.componentDidUpdate.call(this,t),this.setStyleIfChanged(t,this.props)},n.getPathOptions=function(e){return t=e,J.reduce((function(e,n){return void 0!==t[n]&&(e[n]=t[n]),e}),{});var t},n.setStyle=function(e){void 0===e&&(e={}),this.leafletElement.setStyle(e)},n.setStyleIfChanged=function(e,t){var n=this.getPathOptions(t);Y()(n,this.getPathOptions(e))||this.setStyle(n)},t}(k));const Q=g(X);var ee=n(7540),te=n(2394),ne=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n},re=i().memo((function(e){var t=ne(e,[]),n=L()("map-popup-container","w-100",t.className);return i().createElement("div",{className:n},t.children)}));re.displayName="MapPopup";var oe,ie=(oe=function(e,t){return oe=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},oe(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}oe(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),ae=function(e,t,n,r){var o,i=arguments.length,a=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var l=e.length-1;l>=0;l--)(o=e[l])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},le=function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},se=function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(e){o={error:e}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a},ue=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.popupRef=i().createRef(),t}return ie(t,e),t.prototype.componentDidMount=function(){this.props.forceUpdateOnMount&&this.forceUpdate()},t.estimatedWordSize=function(e,t,n){return void 0===t&&(t=this.ESTIMATED_LETTER_PIXELS),void 0===n&&(n=this.ESTIMATED_ADDABLE_SPACE),e*t+n},t.prototype.getItemsPositions=function(e,n){var r,o,i,a,l;void 0===n&&(n=30);var s=(null!==(a=null===(i=null===(o=null===(r=this.popupRef)||void 0===r?void 0:r.current)||void 0===o?void 0:o.getBoundingClientRect)||void 0===i?void 0:i.call(o))&&void 0!==a?a:{}).width,u=void 0===s?0:s,c=(null!==(l=this.props.hoveredItem)&&void 0!==l?l:{}).value,p=void 0===c?0:c,f=Math.round(p*u/this.props.valueMax),h=u/2,d=f<Math.round(h),m=t.estimatedWordSize(e);if(0===u)return[0,0];var y=f+(d?(h-f)*n/h:-(f-h)*n/h);return[y,y<u/3?y-10:y<u/3*2?y-m/2:y-m]},t.prototype.renderCursor=function(e){var t=L()({triangle:!0,invisible:null==this.props.hoveredItem});return i().createElement("div",{className:t,style:{left:e}})},t.prototype.renderMapBitInfo=function(e){var t,n,r=null!==(n=null===(t=this.props)||void 0===t?void 0:t.hoveredItem)&&void 0!==n?n:{},o=r.value,a=void 0===o?0:o,l=r.label,s=void 0===l?"":l,u=L()({"invisible w-0":null==this.props.hoveredItem,"w-100":null!=this.props.hoveredItem,"map-bit-info":!0});return i().createElement("div",{className:u},i().createElement("div",{className:"pusher-container",style:{flex:"0 1 ".concat(e,"px")}}),i().createElement("div",{className:"content"},i().createElement("span",{className:"first-letter-capitalize"},s),": ".concat(this.getFormattedNumber(a))))},t.prototype.getFormattedNumber=function(e){var t=this.props.numberToStringFormatter;return null!=t?t(e):"".concat(e)},t.prototype.renderPopupChildren=function(){var e=L()({invisible:null!=this.props.hoveredItem}),t=L()({"d-flex w-100":null==this.props.hoveredItem,"d-none":null!=this.props.hoveredItem,"text-white justify-content-between":!0}),n=Math.round(this.props.valueMin),r=(this.props.valueMax-this.props.valueMin)/2;return i().createElement("span",{className:t},i().createElement("span",{className:e},this.getFormattedNumber(n)),i().createElement("span",{className:e},this.getFormattedNumber(r)),i().createElement("span",{className:e},this.getFormattedNumber(this.props.valueMax)))},t.prototype.render=function(){var e,t,n,r="linear-gradient(to right, "+this.props.minColor+","+this.props.maxColor+")",o=L()({"popup-children":!0}),a=null!==(e=this.props.hoveredItem)&&void 0!==e?e:{},l=a.value,s=void 0===l?0:l,u=a.label,c=void 0===u?"":u,p=null==(null===(n=null===(t=this.props)||void 0===t?void 0:t.hoveredItem)||void 0===n?void 0:n.value)?"":"".concat(c,": ").concat(this.getFormattedNumber(s)),f=se(this.getItemsPositions(p.length),2),h=f[0],d=f[1];return i().createElement("div",{className:o,ref:this.popupRef,style:{backgroundImage:r}},this.renderPopupChildren(),this.renderMapBitInfo(d),this.renderCursor(h))},t.ESTIMATED_LETTER_PIXELS=5.4,t.ESTIMATED_ADDABLE_SPACE=1.1,t.displayName="MapLegendContent",t.defaultProps={forceUpdateOnMount:!1},ae([D.ZP,le("design:type",Function),le("design:paramtypes",[Number]),le("design:returntype",String)],t.prototype,"getFormattedNumber",null),t}(i().PureComponent),ce=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),pe=function(){return pe=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},pe.apply(this,arguments)},fe=function(e,t,n,r){var o,i=arguments.length,a=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var l=e.length-1;l>=0;l--)(o=e[l])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},he=function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},de=function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(e){o={error:e}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a},me=function(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},ye=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.state={mapDataShowKind:null,currentMapData:null,hoveredItem:null,nameToDataPoint:new Map,valueMax:-1/0,valueMin:1/0,itemValueToColor:(0,H.Z)()},t}var n,o,a,l,s,u,c,f,h,d;return ce(t,e),t.getDerivedStateFromProps=function(e,n){var r,o,i,a=null!==(r=null==n?void 0:n.mapDataShowKind)&&void 0!==r?r:null===(i=null===(o=e.mapData)||void 0===o?void 0:o[0])||void 0===i?void 0:i.kind,l=de(t.getSetupData(e,a),5),s=l[0],u=l[1],c=l[2],p=l[3],f=l[4];return pe(pe({},n),{mapDataShowKind:a,currentMapData:s,nameToDataPoint:u,valueMax:c,valueMin:p,itemValueToColor:f})},t.getSetupData=function(e,t){var n,r=e.mapData.filter((function(e){return e.kind===t}));if(0===r.length)return[null,new Map,-1/0,1/0,(0,H.Z)()];var o=r[0],i=o.dataPoint,a=new Map,l=-1/0,s=null!==(n=e.valueMin)&&void 0!==n?n:1/0,u=(0,H.Z)();return i.forEach((function(e){a.set(e.label,e),l=Math.max(l,e.value),s=Math.min(s,e.value)})),u.domain([s,l]).range([e.minColor,e.maxColor]),[o,a,l,s,u]},t.prototype.getFeatureStyle=function(e){var t,n,r,o,i,a=null!==(n=null===(t=e.properties)||void 0===t?void 0:t.name)&&void 0!==n?n:"",l=null===(r=this.state.nameToDataPoint)||void 0===r?void 0:r.get(a);return null==l?{className:"interactive-base ".concat((0,te.lV)(a)),weight:1,opacity:.5,fillOpacity:.1,fill:!0,stroke:!0,color:"white"}:(null===(i=null===(o=this.state)||void 0===o?void 0:o.hoveredItem)||void 0===i?void 0:i.label)===a?{weight:1,opacity:.9,fillOpacity:.9,className:"interactive-hovered ".concat((0,te.lV)(a)),fillColor:this.props.hoverColor,fill:!0,stroke:!0,color:"white"}:{weight:1,opacity:.9,fillOpacity:.9,className:"interactive-selected ".concat((0,te.lV)(a)),fillColor:this.state.itemValueToColor(l.value),fill:!0,stroke:!0,color:"white"}},t.prototype.handleFeatureOver=function(e){var t,n,r=null===(t=this.state.nameToDataPoint)||void 0===t?void 0:t.get(e.name);null!=r&&(null===(n=this.state.hoveredItem)||void 0===n?void 0:n.label)!==r.label&&this.setState({hoveredItem:r})},t.prototype.handleFeatureOut=function(){this.setState({hoveredItem:null})},t.prototype.handleChangeMapDataType=function(e){if(this.state.mapDataShowKind!==e){var n=de(t.getSetupData(this.props,e),5),r=n[0],o=n[1],i=n[2],a=n[3],l=n[4];this.setState({mapDataShowKind:e,currentMapData:r,nameToDataPoint:o,valueMax:i,valueMin:a,itemValueToColor:l,hoveredItem:null})}},t.prototype.renderSingleControl=function(e){var t=this;return i().createElement(Me.Control,{isSelected:e.kind===this.state.mapDataShowKind,key:e.kind,size:"lg",className:"ml-2",onClick:function(){return t.handleChangeMapDataType(e.kind)}},e.label)},t.prototype.renderMapDataToggleButtons=function(){return this.props.mapData.length<2?null:i().createElement(Me.ControlsContainer,{className:"d-flex"},this.props.mapData.map(this.renderSingleControl))},t.prototype.renderBottomPopup=function(){return this.props.withLegend?i().createElement(re,null,i().createElement(ue,{hoveredItem:this.state.hoveredItem,valueMax:this.state.valueMax,valueMin:this.state.valueMin,numberToStringFormatter:this.props.numberToStringFormatter,minColor:this.props.minColor,maxColor:this.props.maxColor})):null},t.prototype.renderHoveredItem=function(){var e,t,n,r,o,a,l,s=[],u=null!==(r=null===(n=this.state.currentMapData)||void 0===n?void 0:n.geometries)&&void 0!==r?r:[];try{for(var c=me(null!==(o=null==u?void 0:u.features)&&void 0!==o?o:[]),p=c.next();!p.done;p=c.next()){var f=p.value;f.properties.name===(null===(a=this.state.hoveredItem)||void 0===a?void 0:a.label)&&s.push(f)}}catch(t){e={error:t}}finally{try{p&&!p.done&&(t=c.return)&&t.call(c)}finally{if(e)throw e.error}}if(0===s.length)return null;var h={features:s};return i().createElement(Q,{key:null===(l=this.state.hoveredItem)||void 0===l?void 0:l.label,style:this.getFeatureStyle,data:h,onEachFeature:this.onHoverEachFeature})},t.prototype.onHoverEachFeature=function(e,t){var n=this;t.on("mouseout",(function(){return n.handleFeatureOut()}))},t.prototype.onEachFeature=function(e,t){var n=this;t.on("mouseover",(function(){return n.handleFeatureOver(e.properties)}))},t.prototype.render=function(){var e;if(null==!this.state.mapDataShowKind)return null;var t=null===(e=this.state.currentMapData)||void 0===e?void 0:e.geometries,n="ita-".concat(this.state.mapDataShowKind);return null==t?null:i().createElement(i().Fragment,null,this.renderHoveredItem(),i().createElement(Q,{key:n,style:this.getFeatureStyle,data:t,onEachFeature:this.onEachFeature}),this.renderBottomPopup(),this.renderMapDataToggleButtons(),i().createElement(Me.TileLayer,{url:"https://api.mapbox.com/styles/v1/mapbox/light-v10/tiles/{z}/{x}/{y}?access_token=pk.eyJ1Ijoic2RhdG9rYSIsImEiOiI5MjlmNDMxYzJiYWQ5YjhjMjU4ZGE2YmVkZjQ1YzhiOCJ9.FYB402MPxkR2bIME35d0zg",attribution:'<a href="https://www.mapbox.com/feedback/">&copy; Mapbox</a> | <a href="https://www.mapbox.com/feedback/" target="_blank"><strong>Improve this map</strong></a>',minZoom:4}))},t.displayName="MapChoropleth",t.defaultProps={minColor:ee.KH,maxColor:ee.p5,hoverColor:ee.$y,withLegend:!0},fe([D.ZP,he("design:type",Function),he("design:paramtypes",["function"==typeof(n="undefined"!=typeof MapBaseChoroplethFeature&&MapBaseChoroplethFeature)?n:Object]),he("design:returntype","function"==typeof(o=void 0!==p.PathOptions&&p.PathOptions)?o:Object)],t.prototype,"getFeatureStyle",null),fe([D.ZP,he("design:type",Function),he("design:paramtypes",["function"==typeof(a=void 0!==r.MapBaseChoroplethFeatureProperties&&r.MapBaseChoroplethFeatureProperties)?a:Object]),he("design:returntype",void 0)],t.prototype,"handleFeatureOver",null),fe([D.ZP,he("design:type",Function),he("design:paramtypes",[]),he("design:returntype",void 0)],t.prototype,"handleFeatureOut",null),fe([D.ZP,he("design:type",Function),he("design:paramtypes",["function"==typeof(l=void 0!==r.MapDataKind&&r.MapDataKind)?l:Object]),he("design:returntype",void 0)],t.prototype,"handleChangeMapDataType",null),fe([D.ZP,he("design:type",Function),he("design:paramtypes",["function"==typeof(s=void 0!==r.MapData&&r.MapData)?s:Object]),he("design:returntype","function"==typeof(u=void 0!==i()&&i().ReactNode)?u:Object)],t.prototype,"renderSingleControl",null),fe([D.ZP,he("design:type",Function),he("design:paramtypes",["function"==typeof(c="undefined"!=typeof MapBaseChoroplethFeature&&MapBaseChoroplethFeature)?c:Object,"function"==typeof(f=void 0!==p.Layer&&p.Layer)?f:Object]),he("design:returntype",void 0)],t.prototype,"onHoverEachFeature",null),fe([D.ZP,he("design:type",Function),he("design:paramtypes",["function"==typeof(h="undefined"!=typeof MapBaseChoroplethFeature&&MapBaseChoroplethFeature)?h:Object,"function"==typeof(d=void 0!==p.Layer&&p.Layer)?d:Object]),he("design:returntype",void 0)],t.prototype,"onEachFeature",null),t}(i().Component),ve=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),ge=function(){return ge=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},ge.apply(this,arguments)},be=function(e,t,n,r){var o,i=arguments.length,a=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var l=e.length-1;l>=0;l--)(o=e[l])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},we=function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},Ee=function(e,t,n,r){return new(n||(n=Promise))((function(o,i){function a(e){try{s(r.next(e))}catch(e){i(e)}}function l(e){try{s(r.throw(e))}catch(e){i(e)}}function s(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,l)}s((r=r.apply(e,t||[])).next())}))},Oe=function(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:l(0),throw:l(1),return:l(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function l(i){return function(l){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,r=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!(o=a.trys,(o=o.length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){a.label=i[1];break}if(6===i[0]&&a.label<o[1]){a.label=o[1],o=i;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(i);break}o[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(e){i=[6,e],r=0}finally{n=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,l])}}},xe=i().memo((function(e){var t=L()("map-controls-container",e.className);return i().createElement("div",{className:t},e.children)}));xe.displayName="ControlsContainer";var Me=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.map=null,t.italyBounds=[[47.53203824675999,6.3394115537],[36.12012758978146,18.8501168459]],t}var n;return ve(t,e),t.prototype.renderOtherChildren=function(){var e=[];return i().Children.forEach(this.props.children,(function(n){(null==n?void 0:n.type)!==t.Choropleth&&(null==n?void 0:n.type)!==A.Spinner&&(null==n?void 0:n.type)!==z.EmptyState&&e.push(n)})),e},t.prototype.renderChoropleth=function(){return this.props.isLoading||this.props.isEmpty?null:(0,R.z8)(this.props.children,t.Choropleth)},t.prototype.renderIsLoading=function(){return this.props.isLoading?i().createElement("div",{className:"w-100 h-100 d-flex justify-content-center align-items-center"},(0,R.z8)(this.props.children,A.Spinner)):null},t.prototype.renderIsEmpty=function(){return this.props.isEmpty?i().createElement("div",{className:"w-100 h-100 d-flex justify-content-center align-items-center"},(0,R.z8)(this.props.children,z.EmptyState)):null},t.prototype.handleMapCreated=function(e){var t,n;this.map=e,null===(n=(t=this.props).onInit)||void 0===n||n.call(t,{getCanvas:function(){return Ee(this,void 0,Promise,(function(){return Oe(this,(function(t){return[2,new Promise((function(t,n){I()(e,(function(e,r){e?n(e):t(r)}))}))]}))}))}})},t.prototype.render=function(){var e,t=null!==(e=this.props.bounds)&&void 0!==e?e:this.italyBounds,n=this.props.isLoading||this.props.isEmpty||!1===this.props.zoomControl,r=L()("atoka-map-container",{disabled:n});return i().createElement(S,ge({},this.props,{bounds:t,className:r,key:r,renderer:f().canvas(),whenCreated:this.handleMapCreated,id:this.props.id}),this.renderChoropleth(),this.renderIsLoading(),this.renderIsEmpty(),this.renderOtherChildren())},t.displayName="Map",t.defaultProps={isLoading:!1,isEmpty:!1,id:""},t.Choropleth=ye,t.TileLayer=Z,t.ControlsContainer=xe,t.Control=G,be([D.MR,we("design:type",Function),we("design:paramtypes",["function"==typeof(n=void 0!==f()&&f().Map)?n:Object]),we("design:returntype",void 0)],t.prototype,"handleMapCreated",null),t}(i().Component)},6216:(e,t,n)=>{"use strict";n.d(t,{Spinner:()=>c});var r,o,i=n(8310),a=n.n(i),l=n(8156),s=n.n(l),u=(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});!function(e){e[e.mini=0]="mini",e[e.small=1]="small",e[e.big=2]="big",e[e.modal=3]="modal"}(o||(o={}));var c=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return u(t,e),t.prototype.renderOnlyDotsSpinner=function(e){var t="atoka-spinner spinner-"+e+" "+this.props.className;return s().createElement("div",{className:t},s().createElement("div",{className:"spinner-dot1"},s().createElement("div",{className:"spinner-leaf"})),s().createElement("div",{className:"spinner-dot2"},s().createElement("div",{className:"spinner-leaf"})),s().createElement("div",{className:"spinner-dot3"},s().createElement("div",{className:"spinner-leaf"})))},t.prototype.renderSmall=function(){return this.renderOnlyDotsSpinner("small")},t.prototype.renderMini=function(){return this.renderOnlyDotsSpinner("mini")},t.prototype.renderLeaf=function(){return s().createElement("svg",{viewBox:"0 0 204.01 190.64",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},s().createElement("g",{id:"leaf"},s().createElement("path",{d:"M80.88,7.62a26,26,0,0,0-36.79,36.8,25.85,25.85,0,0,0,13.4,7.14V83.39c1.19,0,2.4-.08,3.62-.08,2.16,0,4.28.08,6.38.23v-32A26,26,0,0,0,80.88,7.62ZM73.81,37.35a16,16,0,1,1,0-22.66,15.92,15.92,0,0,1,0,22.66Z"})))},t.prototype.renderLetter=function(){return s().createElement("svg",{viewBox:"0 0 204.01 190.64",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},s().createElement("g",{id:"logo-vector"},s().createElement("path",{d:"M110.77,180.67V140.16a50.47,50.47,0,1,0-22,41.71L93.12,187a10,10,0,0,0,17.65-6.34Zm-81-40.51a30.5,30.5,0,1,1,30.5,30.5,30.49,30.49,0,0,1-30.5-30.5Z"})))},t.prototype.renderBig=function(){var e=a()(this.props.className,{"atoka-spinner":!0,"spinner-big":this.props.size===o.big,"spinner-medium":this.props.size===o.modal}),t=a()({"container-fluid spinner-modal":this.props.size===o.modal});return s().createElement("div",{className:t},s().createElement("div",{className:e},s().createElement("div",{className:"spinner-dot1"},s().createElement("div",{className:"spinner-leaf"},this.renderLeaf())),s().createElement("div",{className:"spinner-dot2"},s().createElement("div",{className:"spinner-leaf"},this.renderLeaf())),s().createElement("div",{className:"spinner-dot3"},s().createElement("div",{className:"spinner-leaf"},this.renderLeaf())),s().createElement("span",{className:"spinner-letter"},this.renderLetter())))},t.prototype.render=function(){switch(this.props.size){case o.mini:return this.renderMini();case o.small:return this.renderSmall();case o.big:case o.modal:return this.renderBig();default:return null}},t.displayName="Spinner",t.defaultProps={size:o.small,className:""},t}(s().Component)},7540:(e,t,n)=>{"use strict";n.d(t,{KH:()=>r,p5:()=>o,$y:()=>i});var r="#CBD8E0",o="rgb(32, 88, 113)",i="#F38522"},2394:(e,t,n)=>{"use strict";n.d(t,{lV:()=>r});function r(e){var t="àáâäæãåāăąçćčđďèéêëēėęěğǵḧîïíīįìłḿñńǹňôöòóœøōõőṕŕřßśšşșťțûüùúūǘůűųẃẍÿýžźż·/_,:;",n=new RegExp(t.split("").join("|"),"g");return e.toString().toLowerCase().replace(/\s+/g,"-").replace(n,(function(e){return"aaaaaaaaaacccddeeeeeeeegghiiiiiilmnnnnoooooooooprrsssssttuuuuuuuuuwxyyzzz------".charAt(t.indexOf(e))})).replace(/&/g,"-and-").replace(/[^\w-]+/g,"").replace(/--+/g,"-").replace(/^-+/,"").replace(/-+$/,"")}},4915:(e,t,n)=>{"use strict";n.d(t,{z8:()=>i});n(5692);var r=n(8156),o=n.n(r);n(8352);function i(e,t){var n,r;return null!==(r=null===(n=function(e,t){var n=[];return o().Children.forEach(e,(function(e){(null==e?void 0:e.type)===t&&n.push(e)})),n}(e,t))||void 0===n?void 0:n[0])&&void 0!==r?r:null}},3402:t=>{"use strict";t.exports=e},5692:e=>{"use strict";e.exports=t},8310:e=>{"use strict";e.exports=n},4159:e=>{"use strict";e.exports=r},855:e=>{"use strict";e.exports=o},8156:e=>{"use strict";e.exports=i},8721:e=>{"use strict";e.exports=a},1082:e=>{"use strict";e.exports=l},8763:e=>{"use strict";e.exports=s},6043:e=>{"use strict";e.exports=u},8053:e=>{"use strict";e.exports=c},3103:(e,t,n)=>{"use strict";function r(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}n.d(t,{Z:()=>r})},32:(e,t,n)=>{"use strict";function r(){return r=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},r.apply(this,arguments)}n.d(t,{Z:()=>r})},7581:(e,t,n)=>{"use strict";function r(e,t){return r=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},r(e,t)}function o(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,r(e,t)}n.d(t,{Z:()=>o})},7038:(e,t,n)=>{"use strict";function r(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}n.d(t,{Z:()=>r})},4329:(e,t,n)=>{"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}n.d(t,{Z:()=>r})}},h={};function d(e){var t=h[e];if(void 0!==t)return t.exports;var n=h[e]={exports:{}};return f[e](n,n.exports,d),n.exports}d.m=f,p=[],d.O=(e,t,n,r)=>{if(!t){var o=1/0;for(s=0;s<p.length;s++){for(var[t,n,r]=p[s],i=!0,a=0;a<t.length;a++)(!1&r||o>=r)&&Object.keys(d.O).every((e=>d.O[e](t[a])))?t.splice(a--,1):(i=!1,r<o&&(o=r));if(i){p.splice(s--,1);var l=n();void 0!==l&&(e=l)}}return e}r=r||0;for(var s=p.length;s>0&&p[s-1][2]>r;s--)p[s]=p[s-1];p[s]=[t,n,r]},d.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return d.d(t,{a:t}),t},d.d=(e,t)=>{for(var n in t)d.o(t,n)&&!d.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},d.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),d.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{var e={1855:0,8016:0,410:0,7593:0};d.O.j=t=>0===e[t];var t=(t,n)=>{var r,o,[i,a,l]=n,s=0;if(i.some((t=>0!==e[t]))){for(r in a)d.o(a,r)&&(d.m[r]=a[r]);if(l)var u=l(d)}for(t&&t(n);s<i.length;s++)o=i[s],d.o(e,o)&&e[o]&&e[o][0](),e[i[s]]=0;return d.O(u)},n=self.webpackChunkatoka_design_system=self.webpackChunkatoka_design_system||[];n.forEach(t.bind(null,0)),n.push=t.bind(null,n.push.bind(n))})();var m=d.O(void 0,[7593],(()=>d(3681)));return m=d.O(m)})()}));
package/Modal/index.js CHANGED
@@ -1 +1 @@
1
- !function(e,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"),require("react-bootstrap/Modal")):"function"==typeof define&&define.amd?define("atoka-design-system",["@fortawesome/react-fontawesome","classnames","react","react-bootstrap/Form","react-bootstrap/FormControl","react-bootstrap/FormText","react-bootstrap/Modal"],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"),require("react-bootstrap/Modal")):e["atoka-design-system"]=r(e["@fortawesome/react-fontawesome"],e.classnames,e.react,e["react-bootstrap/Form"],e["react-bootstrap/FormControl"],e["react-bootstrap/FormText"],e["react-bootstrap/Modal"])}(self,(function(e,r,o,t,a,n,l){return(()=>{"use strict";var s,c={8352:(e,r,o)=>{var t=o(8156),a=o.n(t),n=o(8310),l=o.n(n),s=o(8721),c=o.n(s),i=a().memo((function(e){var r=l()(null==e?void 0:e.className,"atoka-form-label");return a().createElement(c().Label,{className:r},e.children)}));i.displayName="FormLabel";var p=o(2048),u=function(){return u=Object.assign||function(e){for(var r,o=1,t=arguments.length;o<t;o++)for(var a in r=arguments[o])Object.prototype.hasOwnProperty.call(r,a)&&(e[a]=r[a]);return e},u.apply(this,arguments)},d=function(e){var r,o=l()("atoka-form-checkbox",null==e?void 0:e.className);return a().createElement(c().Check,u({type:"checkbox"},e,{custom:!0,className:o,label:null!==(r=e.label)&&void 0!==r?r:""}))};d.displayName="FormCheckbox";var f=function(){return f=Object.assign||function(e){for(var r,o=1,t=arguments.length;o<t;o++)for(var a in r=arguments[o])Object.prototype.hasOwnProperty.call(r,a)&&(e[a]=r[a]);return e},f.apply(this,arguments)},m=function(e){var r,o=l()(null==e?void 0:e.className,"atoka-form-radio");return a().createElement(c().Check,f({type:"radio"},e,{custom:!0,className:o,label:null!==(r=e.label)&&void 0!==r?r:""}))};m.displayName="FormRadio";var y=o(8763),b=o.n(y),v=function(e,r){var o={};for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&&r.indexOf(t)<0&&(o[t]=e[t]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var a=0;for(t=Object.getOwnPropertySymbols(e);a<t.length;a++)r.indexOf(t[a])<0&&Object.prototype.propertyIsEnumerable.call(e,t[a])&&(o[t[a]]=e[t[a]])}return o},h=a().memo((function(e){var r=e.children,o=v(e,["children"]),t=l()("d-block",null==o?void 0:o.className);return a().createElement(b(),{bsPrefix:"atoka-form-help",className:t},r)}));h.displayName="FormHelp";var O=function(){return O=Object.assign||function(e){for(var r,o=1,t=arguments.length;o<t;o++)for(var a in r=arguments[o])Object.prototype.hasOwnProperty.call(r,a)&&(e[a]=r[a]);return e},O.apply(this,arguments)},w=function(e){var r=l()(null==e?void 0:e.className,"atoka-form");return a().createElement(c(),O({},e,{className:r}),e.children)};w.displayName="Form",w.Control=p.N,w.Label=i,w.Checkbox=d,w.Radio=m,w.File=c().File,w.Switch=c().Switch,w.Help=h,w.Group=c().Group},2048:(e,r,o)=>{o.d(r,{N:()=>f});var t=o(8156),a=o.n(t),n=o(8310),l=o.n(n),s=o(1082),c=o.n(s),i=function(e,r){var o={};for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&&r.indexOf(t)<0&&(o[t]=e[t]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var a=0;for(t=Object.getOwnPropertySymbols(e);a<t.length;a++)r.indexOf(t[a])<0&&Object.prototype.propertyIsEnumerable.call(e,t[a])&&(o[t[a]]=e[t[a]])}return o},p=a().memo((function(e){var r=e.show,o=void 0===r||r,t=i(e,["show"]),n=l()(null==t?void 0:t.className,"atoka-form-control-feedback",{"d-block":o});return a().createElement(c().Feedback,{type:t.type,className:n},t.children)}));p.displayName=" FormControlFeedBack";var u=function(e,r){var o={};for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&&r.indexOf(t)<0&&(o[t]=e[t]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var a=0;for(t=Object.getOwnPropertySymbols(e);a<t.length;a++)r.indexOf(t[a])<0&&Object.prototype.propertyIsEnumerable.call(e,t[a])&&(o[t[a]]=e[t[a]])}return o},d=a().forwardRef((function(e,r){var o=e.size,t=void 0===o?"md":o,n=u(e,["size"]),s=l()("atoka-form-control",null==n?void 0:n.className,{"atoka-shadow":n.withShadow,disabled:n.disabled});return a().createElement(c(),{as:n.as,rows:n.rows,cols:n.cols,placeholder:n.placeholder,className:s,disabled:n.disabled,readOnly:n.readOnly,value:n.value,onChange:n.onChange,onKeyPress:n.onKeyPress,onKeyDown:n.onKeyDown,defaultValue:n.defaultValue,size:"md"===t?void 0:t,type:n.type,id:n.id,isValid:n.isValid,isInvalid:n.isInvalid,ref:r,autoComplete:"off"},n.children)}));d.displayName="FormControlComponent";var f=d;f.FeedBack=p,f.displayName="FormControl"},7527:(e,r,o)=>{o.r(r),o.d(r,{Modal:()=>y,ModalProps:()=>t.ModalProps});var t={};o.r(t),o.d(t,{u:()=>y});var a,n=o(8156),l=o.n(n),s=o(7738),c=o.n(s),i=o(8310),p=o.n(i),u=o(4915),d=(a=function(e,r){return a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,r){e.__proto__=r}||function(e,r){for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(e[o]=r[o])},a(e,r)},function(e,r){if("function"!=typeof r&&null!==r)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");function o(){this.constructor=e}a(e,r),e.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)}),f=function(){return f=Object.assign||function(e){for(var r,o=1,t=arguments.length;o<t;o++)for(var a in r=arguments[o])Object.prototype.hasOwnProperty.call(r,a)&&(e[a]=r[a]);return e},f.apply(this,arguments)},m=function(e,r){var o={};for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&&r.indexOf(t)<0&&(o[t]=e[t]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var a=0;for(t=Object.getOwnPropertySymbols(e);a<t.length;a++)r.indexOf(t[a])<0&&Object.prototype.propertyIsEnumerable.call(e,t[a])&&(o[t[a]]=e[t[a]])}return o},y=function(e){function r(){return null!==e&&e.apply(this,arguments)||this}return d(r,e),r.prototype.renderFooter=function(){var e=(0,u.z8)(this.props.children,c().Footer),r="modal-footer";if(null==e)return null;var o=l().Children.toArray(e.props.children).filter((function(e){return null!=e}));return null!=o&&2!==o.length?l().createElement(c().Footer,{key:r},o):l().createElement(c().Footer,{key:r,className:"centered-buttons"},o[0]," ",o[1]," ",l().createElement("span",{className:"hidden"},o[0]))},r.prototype.renderContent=function(){var e=this,r=[],o={ModalHeader:!1,ModalBody:!1,ModalFooter:!1};return l().Children.forEach(this.props.children,(function(t){o[t.type.displayName]=!0,(null==t?void 0:t.type)===c().Footer?r.push(e.renderFooter()):r.push(t)})),Object.values(o).indexOf(!1)>=0?(console.warn("You have to include an header, a body and a footer!"),l().createElement("h1",null,"Error!")):0===r.length?null:r},r.prototype.render=function(){var e=this.props,r=e.size,o=m(e,["size"]),t=p()("atoka-modal",this.props.className,{"modal-md":"md"===r});return l().createElement(c(),f({},o,{className:t,container:document.querySelector(".bs4-v3-external-container"),size:"md"===r?void 0:r,scrollable:this.props.scrollable}),this.renderContent())},r.displayName="Modal",r.Header=c().Header,r.Body=c().Body,r.Footer=c().Footer,r}(l().PureComponent)},4915:(e,r,o)=>{o.d(r,{z8:()=>n});o(5692);var t=o(8156),a=o.n(t);o(8352);function n(e,r){var o,t;return null!==(t=null===(o=function(e,r){var o=[];return a().Children.forEach(e,(function(e){(null==e?void 0:e.type)===r&&o.push(e)})),o}(e,r))||void 0===o?void 0:o[0])&&void 0!==t?t:null}},5692:r=>{r.exports=e},8310:e=>{e.exports=r},8156:e=>{e.exports=o},8721:e=>{e.exports=t},1082:e=>{e.exports=a},8763:e=>{e.exports=n},7738:e=>{e.exports=l}},i={};function p(e){var r=i[e];if(void 0!==r)return r.exports;var o=i[e]={exports:{}};return c[e](o,o.exports,p),o.exports}p.m=c,s=[],p.O=(e,r,o,t)=>{if(!r){var a=1/0;for(i=0;i<s.length;i++){for(var[r,o,t]=s[i],n=!0,l=0;l<r.length;l++)(!1&t||a>=t)&&Object.keys(p.O).every((e=>p.O[e](r[l])))?r.splice(l--,1):(n=!1,t<a&&(a=t));if(n){s.splice(i--,1);var c=o();void 0!==c&&(e=c)}}return e}t=t||0;for(var i=s.length;i>0&&s[i-1][2]>t;i--)s[i]=s[i-1];s[i]=[r,o,t]},p.n=e=>{var r=e&&e.__esModule?()=>e.default:()=>e;return p.d(r,{a:r}),r},p.d=(e,r)=>{for(var o in r)p.o(r,o)&&!p.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:r[o]})},p.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),p.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{var e={951:0,6824:0};p.O.j=r=>0===e[r];var r=(r,o)=>{var t,a,[n,l,s]=o,c=0;if(n.some((r=>0!==e[r]))){for(t in l)p.o(l,t)&&(p.m[t]=l[t]);if(s)var i=s(p)}for(r&&r(o);c<n.length;c++)a=n[c],p.o(e,a)&&e[a]&&e[a][0](),e[n[c]]=0;return p.O(i)},o=self.webpackChunkatoka_design_system=self.webpackChunkatoka_design_system||[];o.forEach(r.bind(null,0)),o.push=r.bind(null,o.push.bind(o))})();var u=p.O(void 0,[6824],(()=>p(7527)));return u=p.O(u)})()}));
1
+ !function(e,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"),require("react-bootstrap/Modal")):"function"==typeof define&&define.amd?define("atoka-design-system",["@fortawesome/react-fontawesome","classnames","react","react-bootstrap/Form","react-bootstrap/FormControl","react-bootstrap/FormText","react-bootstrap/Modal"],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"),require("react-bootstrap/Modal")):e["atoka-design-system"]=r(e["@fortawesome/react-fontawesome"],e.classnames,e.react,e["react-bootstrap/Form"],e["react-bootstrap/FormControl"],e["react-bootstrap/FormText"],e["react-bootstrap/Modal"])}(self,(function(e,r,o,t,a,n,l){return(()=>{"use strict";var s,c={8352:(e,r,o)=>{var t=o(8156),a=o.n(t),n=o(8310),l=o.n(n),s=o(8721),c=o.n(s),i=a().memo((function(e){var r=l()(null==e?void 0:e.className,"atoka-form-label");return a().createElement(c().Label,{className:r},e.children)}));i.displayName="FormLabel";var p=o(2048),u=function(){return u=Object.assign||function(e){for(var r,o=1,t=arguments.length;o<t;o++)for(var a in r=arguments[o])Object.prototype.hasOwnProperty.call(r,a)&&(e[a]=r[a]);return e},u.apply(this,arguments)},d=function(e){var r,o=l()("atoka-form-checkbox",null==e?void 0:e.className);return a().createElement(c().Check,u({type:"checkbox"},e,{custom:!0,className:o,label:null!==(r=e.label)&&void 0!==r?r:""}))};d.displayName="FormCheckbox";var f=function(){return f=Object.assign||function(e){for(var r,o=1,t=arguments.length;o<t;o++)for(var a in r=arguments[o])Object.prototype.hasOwnProperty.call(r,a)&&(e[a]=r[a]);return e},f.apply(this,arguments)},m=function(e){var r,o=l()(null==e?void 0:e.className,"atoka-form-radio");return a().createElement(c().Check,f({type:"radio"},e,{custom:!0,className:o,label:null!==(r=e.label)&&void 0!==r?r:""}))};m.displayName="FormRadio";var y=o(8763),b=o.n(y),v=function(e,r){var o={};for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&&r.indexOf(t)<0&&(o[t]=e[t]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var a=0;for(t=Object.getOwnPropertySymbols(e);a<t.length;a++)r.indexOf(t[a])<0&&Object.prototype.propertyIsEnumerable.call(e,t[a])&&(o[t[a]]=e[t[a]])}return o},h=a().memo((function(e){var r=e.children,o=v(e,["children"]),t=l()("d-block",null==o?void 0:o.className);return a().createElement(b(),{bsPrefix:"atoka-form-help",className:t},r)}));h.displayName="FormHelp";var O=function(){return O=Object.assign||function(e){for(var r,o=1,t=arguments.length;o<t;o++)for(var a in r=arguments[o])Object.prototype.hasOwnProperty.call(r,a)&&(e[a]=r[a]);return e},O.apply(this,arguments)},w=function(e){var r=l()(null==e?void 0:e.className,"atoka-form");return a().createElement(c(),O({},e,{className:r}),e.children)};w.displayName="Form",w.Control=p.N,w.Label=i,w.Checkbox=d,w.Radio=m,w.File=c().File,w.Switch=c().Switch,w.Help=h,w.Group=c().Group},2048:(e,r,o)=>{o.d(r,{N:()=>f});var t=o(8156),a=o.n(t),n=o(8310),l=o.n(n),s=o(1082),c=o.n(s),i=function(e,r){var o={};for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&&r.indexOf(t)<0&&(o[t]=e[t]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var a=0;for(t=Object.getOwnPropertySymbols(e);a<t.length;a++)r.indexOf(t[a])<0&&Object.prototype.propertyIsEnumerable.call(e,t[a])&&(o[t[a]]=e[t[a]])}return o},p=a().memo((function(e){var r=e.show,o=void 0===r||r,t=i(e,["show"]),n=l()(null==t?void 0:t.className,"atoka-form-control-feedback",{"d-block":o});return a().createElement(c().Feedback,{type:t.type,className:n},t.children)}));p.displayName=" FormControlFeedBack";var u=function(e,r){var o={};for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&&r.indexOf(t)<0&&(o[t]=e[t]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var a=0;for(t=Object.getOwnPropertySymbols(e);a<t.length;a++)r.indexOf(t[a])<0&&Object.prototype.propertyIsEnumerable.call(e,t[a])&&(o[t[a]]=e[t[a]])}return o},d=a().forwardRef((function(e,r){var o=e.size,t=void 0===o?"md":o,n=u(e,["size"]),s=l()("atoka-form-control",null==n?void 0:n.className,{"atoka-shadow":n.withShadow,disabled:n.disabled});return a().createElement(c(),{as:n.as,rows:n.rows,cols:n.cols,placeholder:n.placeholder,className:s,disabled:n.disabled,readOnly:n.readOnly,value:n.value,onChange:n.onChange,onKeyPress:n.onKeyPress,onKeyDown:n.onKeyDown,defaultValue:n.defaultValue,size:"md"===t?void 0:t,type:n.type,id:n.id,isValid:n.isValid,isInvalid:n.isInvalid,ref:r,autoComplete:"off"},n.children)}));d.displayName="FormControlComponent";var f=d;f.FeedBack=p,f.displayName="FormControl"},7527:(e,r,o)=>{o.r(r),o.d(r,{Modal:()=>y,ModalProps:()=>t.ModalProps});var t={};o.r(t),o.d(t,{u:()=>y});var a,n=o(8156),l=o.n(n),s=o(7738),c=o.n(s),i=o(8310),p=o.n(i),u=o(4915),d=(a=function(e,r){return a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,r){e.__proto__=r}||function(e,r){for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(e[o]=r[o])},a(e,r)},function(e,r){if("function"!=typeof r&&null!==r)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");function o(){this.constructor=e}a(e,r),e.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)}),f=function(){return f=Object.assign||function(e){for(var r,o=1,t=arguments.length;o<t;o++)for(var a in r=arguments[o])Object.prototype.hasOwnProperty.call(r,a)&&(e[a]=r[a]);return e},f.apply(this,arguments)},m=function(e,r){var o={};for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&&r.indexOf(t)<0&&(o[t]=e[t]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var a=0;for(t=Object.getOwnPropertySymbols(e);a<t.length;a++)r.indexOf(t[a])<0&&Object.prototype.propertyIsEnumerable.call(e,t[a])&&(o[t[a]]=e[t[a]])}return o},y=function(e){function r(){return null!==e&&e.apply(this,arguments)||this}return d(r,e),r.prototype.renderFooter=function(){var e=(0,u.z8)(this.props.children,c().Footer),r="modal-footer";if(null==e)return null;var o=l().Children.toArray(e.props.children).filter((function(e){return null!=e}));return null!=o&&2!==o.length?l().createElement(c().Footer,{key:r},o):l().createElement(c().Footer,{key:r,className:"centered-buttons"},o[0]," ",o[1]," ",l().createElement("span",{className:"hidden"},o[0]))},r.prototype.renderContent=function(){var e=this,r=[],o={ModalHeader:!1,ModalBody:!1,ModalFooter:!1};return l().Children.forEach(this.props.children,(function(t){o[t.type.displayName]=!0,(null==t?void 0:t.type)===c().Footer?r.push(e.renderFooter()):r.push(t)})),Object.values(o).indexOf(!1)>=0?(console.warn("You have to include an header, a body and a footer!"),l().createElement("h1",null,"Error!")):0===r.length?null:r},r.prototype.render=function(){var e=this.props,r=e.size,o=m(e,["size"]),t=p()("atoka-modal",this.props.className,{"modal-md":"md"===r});return l().createElement(c(),f({},o,{className:t,container:document.querySelector(".bs4-v3-external-container"),size:"md"===r?void 0:r,scrollable:this.props.scrollable}),this.renderContent())},r.displayName="Modal",r.Header=c().Header,r.Body=c().Body,r.Footer=c().Footer,r}(l().PureComponent)},4915:(e,r,o)=>{o.d(r,{z8:()=>n});o(5692);var t=o(8156),a=o.n(t);o(8352);function n(e,r){var o,t;return null!==(t=null===(o=function(e,r){var o=[];return a().Children.forEach(e,(function(e){(null==e?void 0:e.type)===r&&o.push(e)})),o}(e,r))||void 0===o?void 0:o[0])&&void 0!==t?t:null}},5692:r=>{r.exports=e},8310:e=>{e.exports=r},8156:e=>{e.exports=o},8721:e=>{e.exports=t},1082:e=>{e.exports=a},8763:e=>{e.exports=n},7738:e=>{e.exports=l}},i={};function p(e){var r=i[e];if(void 0!==r)return r.exports;var o=i[e]={exports:{}};return c[e](o,o.exports,p),o.exports}p.m=c,s=[],p.O=(e,r,o,t)=>{if(!r){var a=1/0;for(i=0;i<s.length;i++){for(var[r,o,t]=s[i],n=!0,l=0;l<r.length;l++)(!1&t||a>=t)&&Object.keys(p.O).every((e=>p.O[e](r[l])))?r.splice(l--,1):(n=!1,t<a&&(a=t));if(n){s.splice(i--,1);var c=o();void 0!==c&&(e=c)}}return e}t=t||0;for(var i=s.length;i>0&&s[i-1][2]>t;i--)s[i]=s[i-1];s[i]=[r,o,t]},p.n=e=>{var r=e&&e.__esModule?()=>e.default:()=>e;return p.d(r,{a:r}),r},p.d=(e,r)=>{for(var o in r)p.o(r,o)&&!p.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:r[o]})},p.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),p.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{var e={951:0,7593:0};p.O.j=r=>0===e[r];var r=(r,o)=>{var t,a,[n,l,s]=o,c=0;if(n.some((r=>0!==e[r]))){for(t in l)p.o(l,t)&&(p.m[t]=l[t]);if(s)var i=s(p)}for(r&&r(o);c<n.length;c++)a=n[c],p.o(e,a)&&e[a]&&e[a][0](),e[n[c]]=0;return p.O(i)},o=self.webpackChunkatoka_design_system=self.webpackChunkatoka_design_system||[];o.forEach(r.bind(null,0)),o.push=r.bind(null,o.push.bind(o))})();var u=p.O(void 0,[7593],(()=>p(7527)));return u=p.O(u)})()}));