@spaziodati/atoka-design-system 7.13.1-beta.5 → 8.0.1

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 (67) 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/index.js +1 -1
  9. package/ClickableExcludableItem/index.js +1 -1
  10. package/CursorPagination/index.js +1 -1
  11. package/DatePicker/index.js +1 -1
  12. package/DatePickerInput/index.js +1 -1
  13. package/DetailPage/index.js +1 -1
  14. package/DetailPageContent/index.js +1 -1
  15. package/Dropdown/index.js +1 -1
  16. package/EditableString/index.js +1 -1
  17. package/EllipsableContent/index.js +1 -1
  18. package/EmptyState/index.js +1 -1
  19. package/Expandable/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/GeoMap/index.js +1 -1
  28. package/GridCard/index.js +1 -1
  29. package/HighlightableText/index.js +1 -1
  30. package/Histogram/index.js +1 -1
  31. package/InlineStringEditor/index.js +1 -1
  32. package/InputGroup/index.js +1 -1
  33. package/Jumbotron/index.js +1 -1
  34. package/Map/index.js +1 -1
  35. package/Modal/index.js +1 -1
  36. package/MultiModeDatePicker/index.js +1 -1
  37. package/Navbar/index.js +1 -1
  38. package/OniruCard/index.js +1 -1
  39. package/Pagination/index.js +1 -1
  40. package/PieChart/index.js +1 -1
  41. package/PublicFooter/index.js +1 -1
  42. package/PublicNavbar/index.js +1 -1
  43. package/RecordBit/index.js +1 -1
  44. package/ResponsiveLineChart/index.js +1 -1
  45. package/ResultItemCard/index.js +1 -1
  46. package/RowCard/index.js +1 -1
  47. package/SelectDropdown/index.js +1 -1
  48. package/Spinner/index.js +1 -1
  49. package/StatisticsItemCard/index.js +1 -1
  50. package/StatisticsItemNumeric/index.js +1 -1
  51. package/StatisticsLegend/index.js +1 -1
  52. package/StatisticsTooltip/index.js +1 -1
  53. package/StreamDialog/index.js +1 -1
  54. package/Suggester/index.js +1 -1
  55. package/SuggestionCard/index.js +1 -1
  56. package/SunBurst/index.js +1 -1
  57. package/TabSwitcher/index.js +1 -1
  58. package/Text/index.js +1 -1
  59. package/Title/index.js +1 -1
  60. package/Toast/index.js +1 -1
  61. package/ToggleButtonGroup/index.js +1 -1
  62. package/Tooltip/index.js +1 -1
  63. package/UserAvatar/index.js +1 -1
  64. package/Utils/index.js +1 -1
  65. package/{atoka-design-system-7.13.1-beta.5.min.css → atoka-design-system-8.0.1.min.css} +1 -1
  66. package/package.json +1 -1
  67. package/styles/atoka-bs.scss +15 -0
package/Utils/index.js CHANGED
@@ -1 +1 @@
1
- !function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("@fortawesome/react-fontawesome"),require("classnames"),require("react"),require("react-bootstrap/Form"),require("react-bootstrap/FormControl"),require("react-bootstrap/FormText")):"function"==typeof define&&define.amd?define("atoka-design-system",["@fortawesome/react-fontawesome","classnames","react","react-bootstrap/Form","react-bootstrap/FormControl","react-bootstrap/FormText"],t):"object"==typeof exports?exports["atoka-design-system"]=t(require("@fortawesome/react-fontawesome"),require("classnames"),require("react"),require("react-bootstrap/Form"),require("react-bootstrap/FormControl"),require("react-bootstrap/FormText")):e["atoka-design-system"]=t(e["@fortawesome/react-fontawesome"],e.classnames,e.react,e["react-bootstrap/Form"],e["react-bootstrap/FormControl"],e["react-bootstrap/FormText"])}(self,((e,t,r,n,o,a)=>(()=>{"use strict";var i,u={4626:(e,t,r)=>{r.d(t,{GP:()=>o,s:()=>a});var n,o,a,i,u=r(1419);i={decimal:".",thousands:",",grouping:[3],currency:["$",""],minus:"-"},n=(0,u.A)(i),o=n.format,a=n.formatPrefix},886:(e,t,r)=>{r.d(t,{A:()=>o});var n=r(3735);function o(e){return(e=(0,n.f)(Math.abs(e)))?e[1]:NaN}},3735:(e,t,r)=>{function n(e){return Math.abs(e=Math.round(e))>=1e21?e.toLocaleString("en").replace(/,/g,""):e.toString(10)}function o(e,t){if((r=(e=t?e.toExponential(t-1):e.toExponential()).indexOf("e"))<0)return null;var r,n=e.slice(0,r);return[n.length>1?n[0]+n.slice(2):n,+e.slice(r+1)]}r.d(t,{A:()=>n,f:()=>o})},8791:(e,t,r)=>{function n(e,t){return function(r,n){for(var o=r.length,a=[],i=0,u=e[0],l=0;o>0&&u>0&&(l+u+1>n&&(u=Math.max(1,n-l)),a.push(r.substring(o-=u,o+u)),!((l+=u+1)>n));)u=e[i=(i+1)%e.length];return a.reverse().join(t)}}r.d(t,{A:()=>n})},1409:(e,t,r)=>{function n(e){return function(t){return t.replace(/[0-9]/g,(function(t){return e[+t]}))}}r.d(t,{A:()=>n})},4169:(e,t,r)=>{r.d(t,{A:()=>a,u:()=>n});var n,o=r(3735);function a(e,t){var r=(0,o.f)(e,t);if(!r)return e+"";var a=r[0],i=r[1],u=i-(n=3*Math.max(-8,Math.min(8,Math.floor(i/3))))+1,l=a.length;return u===l?a:u>l?a+new Array(u-l+1).join("0"):u>0?a.slice(0,u)+"."+a.slice(u):"0."+new Array(1-u).join("0")+(0,o.f)(e,Math.max(0,t+u-1))[0]}},81:(e,t,r)=>{r.d(t,{A:()=>o});var n=r(3735);function o(e,t){var r=(0,n.f)(e,t);if(!r)return e+"";var o=r[0],a=r[1];return a<0?"0."+new Array(-a).join("0")+o:o.length>a+1?o.slice(0,a+1)+"."+o.slice(a+1):o+new Array(a-o.length+2).join("0")}},1688:(e,t,r)=>{r.d(t,{A:()=>o});var n=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function o(e){if(!(t=n.exec(e)))throw new Error("invalid format: "+e);var t;return new a({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 a(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+""}o.prototype=a.prototype,a.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}},4182:(e,t,r)=>{function n(e){e:for(var t,r=e.length,n=1,o=-1;n<r;++n)switch(e[n]){case".":o=t=n;break;case"0":0===o&&(o=n),t=n;break;default:if(!+e[n])break e;o>0&&(o=0)}return o>0?e.slice(0,o)+e.slice(t+1):e}r.d(t,{A:()=>n})},6593:(e,t,r)=>{r.d(t,{A:()=>i});var n=r(3735),o=r(4169),a=r(81);const i={"%":function(e,t){return(100*e).toFixed(t)},b:function(e){return Math.round(e).toString(2)},c:function(e){return e+""},d:n.A,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(0,a.A)(100*e,t)},r:a.A,s:o.A,X:function(e){return Math.round(e).toString(16).toUpperCase()},x:function(e){return Math.round(e).toString(16)}}},3727:(e,t,r)=>{function n(e){return e}r.d(t,{A:()=>n})},1419:(e,t,r)=>{r.d(t,{A:()=>d});var n=r(886),o=r(8791),a=r(1409),i=r(1688),u=r(4182),l=r(6593),s=r(4169),c=r(3727),h=Array.prototype.map,f=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"];function d(e){var t=void 0===e.grouping||void 0===e.thousands?c.A:(0,o.A)(h.call(e.grouping,Number),e.thousands+""),r=void 0===e.currency?"":e.currency[0]+"",d=void 0===e.currency?"":e.currency[1]+"",p=void 0===e.decimal?".":e.decimal+"",g=void 0===e.numerals?c.A:(0,a.A)(h.call(e.numerals,String)),m=void 0===e.percent?"%":e.percent+"",y=void 0===e.minus?"-":e.minus+"",b=void 0===e.nan?"NaN":e.nan+"";function v(e){var n=(e=(0,i.A)(e)).fill,o=e.align,a=e.sign,c=e.symbol,h=e.zero,v=e.width,w=e.comma,A=e.precision,x=e.trim,N=e.type;"n"===N?(w=!0,N="g"):l.A[N]||(void 0===A&&(A=12),x=!0,N="g"),(h||"0"===n&&"="===o)&&(h=!0,n="0",o="=");var k="$"===c?r:"#"===c&&/[boxX]/.test(N)?"0"+N.toLowerCase():"",M="$"===c?d:/[%p]/.test(N)?m:"",$=l.A[N],F=/[defgprs%]/.test(N);function C(e){var r,i,l,c=k,d=M;if("c"===N)d=$(e)+d,e="";else{var m=(e=+e)<0||1/e<0;if(e=isNaN(e)?b:$(Math.abs(e),A),x&&(e=(0,u.A)(e)),m&&0==+e&&"+"!==a&&(m=!1),c=(m?"("===a?a:y:"-"===a||"("===a?"":a)+c,d=("s"===N?f[8+s.u/3]:"")+d+(m&&"("===a?")":""),F)for(r=-1,i=e.length;++r<i;)if(48>(l=e.charCodeAt(r))||l>57){d=(46===l?p+e.slice(r+1):e.slice(r))+d,e=e.slice(0,r);break}}w&&!h&&(e=t(e,1/0));var C=c.length+e.length+d.length,E=C<v?new Array(v-C+1).join(n):"";switch(w&&h&&(e=t(E+e,E.length?v-d.length:1/0),E=""),o){case"<":e=c+e+d+E;break;case"=":e=c+E+e+d;break;case"^":e=E.slice(0,C=E.length>>1)+c+e+d+E.slice(C);break;default:e=E+c+e+d}return g(e)}return A=void 0===A?6:/[gprs]/.test(N)?Math.max(1,Math.min(21,A)):Math.max(0,Math.min(20,A)),C.toString=function(){return e+""},C}return{format:v,formatPrefix:function(e,t){var r=v(((e=(0,i.A)(e)).type="f",e)),o=3*Math.max(-8,Math.min(8,Math.floor((0,n.A)(t)/3))),a=Math.pow(10,-o),u=f[8+o/3];return function(e){return r(a*e)+u}}}}},3391:(e,t,r)=>{r.d(t,{A:()=>o});var n=r(886);function o(e){return Math.max(0,-(0,n.A)(Math.abs(e)))}},6093:(e,t,r)=>{r.d(t,{A:()=>o});var n=r(886);function o(e,t){return Math.max(0,3*Math.max(-8,Math.min(8,Math.floor((0,n.A)(t)/3)))-(0,n.A)(Math.abs(e)))}},8209:(e,t,r)=>{r.d(t,{A:()=>o});var n=r(886);function o(e,t){return e=Math.abs(e),t=Math.abs(t)-e,Math.max(0,(0,n.A)(t)-(0,n.A)(e))+1}},1120:(e,t,r)=>{var n=r(9155),o=r.n(n),a=r(992),i=r.n(a),u=r(1759),l=r.n(u),s=r(3048),c=r(545),h=r(2039),f=r(8867),d=r(9125);const p=e=>{const t=i()(e?.className,"atoka-form");return o().createElement(l(),{...e,className:t},e.children)};p.displayName="Form",p.Control=c.M,p.Label=s.l,p.Checkbox=h.c,p.Radio=f.M,p.Switch=l().Switch,p.Help=d.W,p.Group=l().Group},2039:(e,t,r)=>{r.d(t,{c:()=>s});var n=r(9155),o=r.n(n),a=r(992),i=r.n(a),u=r(1759),l=r.n(u);const s=e=>{const t=i()("atoka-form-checkbox",e?.className);return o().createElement(l().Check,{type:"checkbox",...e,className:t,label:e.label??""})};s.displayName="FormCheckbox"},545:(e,t,r)=>{r.d(t,{M:()=>h});var n=r(9155),o=r.n(n),a=r(992),i=r.n(a),u=r(9852),l=r.n(u),s=r(5344);const c=o().forwardRef((({size:e="md",...t},r)=>{const n=i()("atoka-form-control",t?.className,{disabled:t.disabled});return o().createElement(l(),{as:t.as,rows:t.rows,cols:t.cols,placeholder:t.placeholder,className:n,disabled:t.disabled,readOnly:t.readOnly,value:t.value,onChange:t.onChange,onKeyPress:t.onKeyPress,onKeyDown:t.onKeyDown,onFocus:t.onFocus,defaultValue:t.defaultValue,size:"md"===e?void 0:e,type:t.type,id:t.id,isValid:t.isValid,isInvalid:t.isInvalid,ref:r,autoComplete:"off"},t.children)}));c.displayName="FormControlComponent";const h=c;h.FeedBack=s.B,h.displayName="FormControl"},5344:(e,t,r)=>{r.d(t,{B:()=>s});var n=r(9155),o=r.n(n),a=r(992),i=r.n(a),u=r(9852),l=r.n(u);const s=o().memo((({show:e=!0,...t})=>{const r=i()(t?.className,"atoka-form-control-feedback",{"d-block":e});return o().createElement(l().Feedback,{type:t.type,className:r},t.children)}));s.displayName="FormControlFeedBack"},9125:(e,t,r)=>{r.d(t,{W:()=>s});var n=r(7452),o=r.n(n),a=r(9155),i=r.n(a),u=r(992),l=r.n(u);const s=i().memo((({children:e,...t})=>{const r=l()("d-block",t?.className);return i().createElement(o(),{bsPrefix:"atoka-form-help",className:r},e)}));s.displayName="FormHelp"},3048:(e,t,r)=>{r.d(t,{l:()=>s});var n=r(9155),o=r.n(n),a=r(992),i=r.n(a),u=r(1759),l=r.n(u);const s=o().memo((e=>{const t=i()(e?.className,"atoka-form-label");return o().createElement(l().Label,{className:t},e.children)}));s.displayName="FormLabel"},8867:(e,t,r)=>{r.d(t,{M:()=>s});var n=r(9155),o=r.n(n),a=r(992),i=r.n(a),u=r(1759),l=r.n(u);const s=e=>{const t=i()(e?.className,"atoka-form-radio");return o().createElement(l().Check,{type:"radio",...e,className:t,label:e.label??""})};s.displayName="FormRadio"},3392:(e,t,r)=>{r.d(t,{F:()=>o,WM:()=>i});var n=r(862);function o(e,t,r,o=0,i,u="value"){let l=0;const s=t??"other",c=o??0,h=[],f=e?.sort((0,n.hv)(u));f?.forEach(((e,r)=>{if(r<c&&e.id!==t)h.push(function(e){if(null==e.children)return e;const t=(0,n.o8)(e);return a(t),t}(e));else{const t=Number(e?.value)??0;l+=t}}));const d={id:s,value:parseFloat(l.toFixed(2)),initialValue:parseFloat(l.toFixed(2)),label:r??s??""};return null!=e?.[0]?.percentage&&null!=i&&(d.percentage=l/i*100),o===1/0&&0===l||h.push(d),h}function a(e){const t=e?.children??[];e.initialValue=e.value,t.length>0&&delete e.value;for(const e of t)a(e)}function i(e){return`${parseInt(e?.toFixed?.(0),10)}%`}},7898:(e,t,r)=>{r.d(t,{Cl:()=>f,D9:()=>y,Gm:()=>u,Gz:()=>x,Jd:()=>$,Nd:()=>m,ON:()=>o,Pr:()=>N,Ql:()=>F,SN:()=>q,T_:()=>b,Wx:()=>C,Xm:()=>S,Xx:()=>p,Y0:()=>i,Ym:()=>E,Zp:()=>A,ew:()=>a,h7:()=>d,kY:()=>O,p1:()=>M,pl:()=>c,qQ:()=>k,s5:()=>g,w5:()=>s,wL:()=>w,wv:()=>v,yU:()=>h,z1:()=>l});var n=r(6502);const o="#FFFFFF",a="#eef2f5",i="#CBD8E0",u="#AFD1E0",l="#8FB7CB",s="#94C2DA",c="#6E9DB5",h="#578EA8",f="rgb(31, 88, 113)",d="#11455C",p="#FAFAFA",g="#EBEBEB",m="#B0B0B0",y="#FFBB00",b="#F38522",v="#F72200",w="#309B0A",A="#63619F",x="#965DA3",N="#C55795",k="#E85778",M="#F86752",$="#229CF3",F="#222222",C={redToGreen:["#F7977A","#F6EA25","#82CA9D"],atokaBlu:[h,a],CGS:["#ca473e","#eac950","#cfd589","#bdd78d","#a3d4b0","#7dc7a1","#5abc8a","#57a27d"]};function E(e,t=[...C.redToGreen]){const r=[];if(0===e)return;let o=(0,n.A)();const a=S(t.length,t.length),i=S(e,t.length);o=o.domain(a).range(t);for(let t=0;t<e;t++)r.push(o(i[t]));return r}function S(e,t){const r=[];r.push(0);for(let n=0;n<e-2;n++){const o=Number(t/e*(n+1));r.push(parseFloat(o.toFixed(2)))}return r.push(t),r}function q(e){try{return getComputedStyle(document.body).getPropertyValue(e)}catch(t){return console.error("Error while trying to extract color from css variable:",e,t),"red"}}const O=new Proxy({},{get:(e,t)=>q(`--atoka_colors_${t}`)})},5700:(e,t,r)=>{function n(e){if(null==e)return!0;try{return null!==e.match(/^\s*$/)}catch(e){return!0}}function o(e){const t="àáâäæãåāăąçćčđďèéêëēėęěğǵḧîïíīįìłḿñńǹňôöòóœøōõőṕŕřßśšşșťțûüùúūǘůűųẃẍÿýžźż·/_,:;",r=new RegExp(t.split("").join("|"),"g");return e.toString().toLowerCase().replace(/\s+/g,"-").replace(r,(e=>"aaaaaaaaaacccddeeeeeeeegghiiiiiilmnnnnoooooooooprrsssssttuuuuuuuuuwxyyzzz------".charAt(t.indexOf(e)))).replace(/&/g,"-and-").replace(/[^\w-]+/g,"").replace(/--+/g,"-").replace(/^-+/,"").replace(/-+$/,"")}function a(e,t,r){return e*t+r}function i(e,t){return null==e?"":e.length>t?`${e.substr(0,t-1)}…`:e}function u(e){return t=>{const r=/^([\d*]+)-([\d*]+)$/.exec(t);return null==r?t:l({from:r[1],to:r[2]},e??(e=>e))}}function l(e,t){const r="*"===e.to?"*":t(parseInt(e.to??"0",10)),n=t(parseInt(e.from??"0",10));return n===r?`${n}`:`${n} - ${r}`}function s(e,t){return r=>{const n=r.toString();return i(null==e?n:`${e(n)}`,t)}}function c(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}function h(e,t){if(null==e||null==t)return!1;if(e=e.toLowerCase(),null===(t=t.toLowerCase()).match(" "))return null!==e.match(c(t));const r=t.split(" ").filter((e=>!n(e))).sort(((e,t)=>t.length-e.length));for(const t of r)if(e===t)return!0;return!1}function f(e,t){if(null==t)return[];if(null===(e=c(e)).match(" ")){const r=new RegExp("("+e+")","gi");return t.split(r)}const r=e.split(" ").filter((e=>!n(e))).sort(((e,t)=>t.length-e.length)),o=[t];for(const t of r){const r=new RegExp("("+t+")","gi");for(let t=0;t<o.length;t++){const n=o[t];if(h(n,e))continue;const a=n.split(r).filter((e=>""!==e));o.splice(t,1,...a)}}return o}r.d(t,{Lu:()=>l,Nt:()=>c,W9:()=>h,Yv:()=>o,ZS:()=>n,ck:()=>a,dY:()=>u,lR:()=>f,pQ:()=>s,pw:()=>i})},862:(e,t,r)=>{r.d(t,{bD:()=>i,hv:()=>n,o8:()=>o});r(6889),r(9155),r(1120);function n(e){return function(t,r){let n=0,o=0;return null!=t?.[e]&&(n=t?.[e]),null!=r?.[e]&&(o=r?.[e]),n>o?-1:1}}function o(e){return JSON.parse(JSON.stringify(e))}function a(e){return"object"==typeof e&&null!=e}function i(e,t){if(e===t)return!0;if(a(e)&&a(t)){if(Object.keys(e).length!==Object.keys(t).length)return!1;let r;for(r in e)if(!i(e[r],t[r]))return!1;return!0}return!1}},1211:(e,t,r)=>{r.r(t),r.d(t,{black:()=>i.Ql,blue100:()=>i.yU,blue25:()=>i.ew,blue30:()=>i.Y0,blue300:()=>i.Cl,blue400:()=>i.h7,blue50:()=>i.Gm,blue80:()=>i.z1,blue90:()=>i.w5,blue95:()=>i.pl,bluelight:()=>i.Jd,calculateDomain:()=>i.Xm,createDataWithOtherSlice:()=>n.F,deepEqual:()=>o.bD,ellipse:()=>a.pw,ellipseAndFormat:()=>a.pQ,escapeRegExp:()=>a.Nt,estimateWordSize:()=>a.ck,extractColorFromVar:()=>i.SN,formatRange:()=>a.Lu,generateRangeColor:()=>i.Ym,gray100:()=>i.Xx,gray200:()=>i.s5,gray300:()=>i.Nd,green:()=>i.wL,isMatching:()=>a.W9,isStringEmpty:()=>a.ZS,matchAndFormatRangeLabel:()=>a.dY,normalizePercentage:()=>n.WM,orange:()=>i.T_,pink100:()=>i.qQ,pink200:()=>i.Pr,purple:()=>i.Zp,red:()=>i.wv,salmon:()=>i.p1,slugify:()=>a.Yv,sortObjDesc:()=>o.hv,splitTextInParts:()=>a.lR,themeColors:()=>i.kY,usableRangeColors:()=>i.Wx,violet:()=>i.Gz,white:()=>i.ON,yellow:()=>i.D9});var n=r(3392),o=r(862),a=r(5700),i=r(7898)},6889:t=>{t.exports=e},992:e=>{e.exports=t},9155:e=>{e.exports=r},1759:e=>{e.exports=n},9852:e=>{e.exports=o},7452:e=>{e.exports=a},2902:(e,t,r)=>{function n(e,t){return null==e||null==t?NaN:e<t?-1:e>t?1:e>=t?0:NaN}r.d(t,{A:()=>n})},2016:(e,t,r)=>{r.d(t,{Ay:()=>l});var n=r(2902),o=r(6037),a=r(3131);const i=(0,o.A)(n.A),u=i.right,l=(i.left,(0,o.A)(a.A).center,u)},6037:(e,t,r)=>{r.d(t,{A:()=>a});var n=r(2902),o=r(1180);function a(e){let t,r,a;function u(e,n,o=0,a=e.length){if(o<a){if(0!==t(n,n))return a;do{const t=o+a>>>1;r(e[t],n)<0?o=t+1:a=t}while(o<a)}return o}return 2!==e.length?(t=n.A,r=(t,r)=>(0,n.A)(e(t),r),a=(t,r)=>e(t)-r):(t=e===n.A||e===o.A?e:i,r=e,a=e),{left:u,center:function(e,t,r=0,n=e.length){const o=u(e,t,r,n-1);return o>r&&a(e[o-1],t)>-a(e[o],t)?o-1:o},right:function(e,n,o=0,a=e.length){if(o<a){if(0!==t(n,n))return a;do{const t=o+a>>>1;r(e[t],n)<=0?o=t+1:a=t}while(o<a)}return o}}}function i(){return 0}},1180:(e,t,r)=>{function n(e,t){return null==e||null==t?NaN:t<e?-1:t>e?1:t>=e?0:NaN}r.d(t,{A:()=>n})},3131:(e,t,r)=>{function n(e){return null===e?NaN:+e}r.d(t,{A:()=>n})},6946:(e,t,r)=>{r.d(t,{Ay:()=>u,lq:()=>l,sG:()=>s});const n=Math.sqrt(50),o=Math.sqrt(10),a=Math.sqrt(2);function i(e,t,r){const u=(t-e)/Math.max(0,r),l=Math.floor(Math.log10(u)),s=u/Math.pow(10,l),c=s>=n?10:s>=o?5:s>=a?2:1;let h,f,d;return l<0?(d=Math.pow(10,-l)/c,h=Math.round(e*d),f=Math.round(t*d),h/d<e&&++h,f/d>t&&--f,d=-d):(d=Math.pow(10,l)*c,h=Math.round(e/d),f=Math.round(t/d),h*d<e&&++h,f*d>t&&--f),f<h&&.5<=r&&r<2?i(e,t,2*r):[h,f,d]}function u(e,t,r){if(!((r=+r)>0))return[];if((e=+e)===(t=+t))return[e];const n=t<e,[o,a,u]=n?i(t,e,r):i(e,t,r);if(!(a>=o))return[];const l=a-o+1,s=new Array(l);if(n)if(u<0)for(let e=0;e<l;++e)s[e]=(a-e)/-u;else for(let e=0;e<l;++e)s[e]=(a-e)*u;else if(u<0)for(let e=0;e<l;++e)s[e]=(o+e)/-u;else for(let e=0;e<l;++e)s[e]=(o+e)*u;return s}function l(e,t,r){return i(e=+e,t=+t,r=+r)[2]}function s(e,t,r){r=+r;const n=(t=+t)<(e=+e),o=n?l(t,e,r):l(e,t,r);return(n?-1:1)*(o<0?1/-o:o)}},6957:(e,t,r)=>{r.d(t,{Ay:()=>w,Qh:()=>N});var n=r(871);function o(){}var a=.7,i=1/a,u="\\s*([+-]?\\d+)\\s*",l="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",s="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",c=/^#([0-9a-f]{3,8})$/,h=new RegExp(`^rgb\\(${u},${u},${u}\\)$`),f=new RegExp(`^rgb\\(${s},${s},${s}\\)$`),d=new RegExp(`^rgba\\(${u},${u},${u},${l}\\)$`),p=new RegExp(`^rgba\\(${s},${s},${s},${l}\\)$`),g=new RegExp(`^hsl\\(${l},${s},${s}\\)$`),m=new RegExp(`^hsla\\(${l},${s},${s},${l}\\)$`),y={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};function b(){return this.rgb().formatHex()}function v(){return this.rgb().formatRgb()}function w(e){var t,r;return e=(e+"").trim().toLowerCase(),(t=c.exec(e))?(r=t[1].length,t=parseInt(t[1],16),6===r?A(t):3===r?new k(t>>8&15|t>>4&240,t>>4&15|240&t,(15&t)<<4|15&t,1):8===r?x(t>>24&255,t>>16&255,t>>8&255,(255&t)/255):4===r?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=h.exec(e))?new k(t[1],t[2],t[3],1):(t=f.exec(e))?new k(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=p.exec(e))?x(255*t[1]/100,255*t[2]/100,255*t[3]/100,t[4]):(t=g.exec(e))?S(t[1],t[2]/100,t[3]/100,1):(t=m.exec(e))?S(t[1],t[2]/100,t[3]/100,t[4]):y.hasOwnProperty(e)?A(y[e]):"transparent"===e?new k(NaN,NaN,NaN,0):null}function A(e){return new k(e>>16&255,e>>8&255,255&e,1)}function x(e,t,r,n){return n<=0&&(e=t=r=NaN),new k(e,t,r,n)}function N(e,t,r,n){return 1===arguments.length?((a=e)instanceof o||(a=w(a)),a?new k((a=a.rgb()).r,a.g,a.b,a.opacity):new k):new k(e,t,r,null==n?1:n);var a}function k(e,t,r,n){this.r=+e,this.g=+t,this.b=+r,this.opacity=+n}function M(){return`#${E(this.r)}${E(this.g)}${E(this.b)}`}function $(){const e=F(this.opacity);return`${1===e?"rgb(":"rgba("}${C(this.r)}, ${C(this.g)}, ${C(this.b)}${1===e?")":`, ${e})`}`}function F(e){return isNaN(e)?1:Math.max(0,Math.min(1,e))}function C(e){return Math.max(0,Math.min(255,Math.round(e)||0))}function E(e){return((e=C(e))<16?"0":"")+e.toString(16)}function S(e,t,r,n){return n<=0?e=t=r=NaN:r<=0||r>=1?e=t=NaN:t<=0&&(e=NaN),new O(e,t,r,n)}function q(e){if(e instanceof O)return new O(e.h,e.s,e.l,e.opacity);if(e instanceof o||(e=w(e)),!e)return new O;if(e instanceof O)return e;var t=(e=e.rgb()).r/255,r=e.g/255,n=e.b/255,a=Math.min(t,r,n),i=Math.max(t,r,n),u=NaN,l=i-a,s=(i+a)/2;return l?(u=t===i?(r-n)/l+6*(r<n):r===i?(n-t)/l+2:(t-r)/l+4,l/=s<.5?i+a:2-i-a,u*=60):l=s>0&&s<1?0:u,new O(u,l,s,e.opacity)}function O(e,t,r,n){this.h=+e,this.s=+t,this.l=+r,this.opacity=+n}function j(e){return(e=(e||0)%360)<0?e+360:e}function R(e){return Math.max(0,Math.min(1,e||0))}function P(e,t,r){return 255*(e<60?t+(r-t)*e/60:e<180?r:e<240?t+(r-t)*(240-e)/60:t)}(0,n.A)(o,w,{copy(e){return Object.assign(new this.constructor,this,e)},displayable(){return this.rgb().displayable()},hex:b,formatHex:b,formatHex8:function(){return this.rgb().formatHex8()},formatHsl:function(){return q(this).formatHsl()},formatRgb:v,toString:v}),(0,n.A)(k,N,(0,n.X)(o,{brighter(e){return e=null==e?i:Math.pow(i,e),new k(this.r*e,this.g*e,this.b*e,this.opacity)},darker(e){return e=null==e?a:Math.pow(a,e),new k(this.r*e,this.g*e,this.b*e,this.opacity)},rgb(){return this},clamp(){return new k(C(this.r),C(this.g),C(this.b),F(this.opacity))},displayable(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:M,formatHex:M,formatHex8:function(){return`#${E(this.r)}${E(this.g)}${E(this.b)}${E(255*(isNaN(this.opacity)?1:this.opacity))}`},formatRgb:$,toString:$})),(0,n.A)(O,(function(e,t,r,n){return 1===arguments.length?q(e):new O(e,t,r,null==n?1:n)}),(0,n.X)(o,{brighter(e){return e=null==e?i:Math.pow(i,e),new O(this.h,this.s,this.l*e,this.opacity)},darker(e){return e=null==e?a:Math.pow(a,e),new O(this.h,this.s,this.l*e,this.opacity)},rgb(){var e=this.h%360+360*(this.h<0),t=isNaN(e)||isNaN(this.s)?0:this.s,r=this.l,n=r+(r<.5?r:1-r)*t,o=2*r-n;return new k(P(e>=240?e-240:e+120,o,n),P(e,o,n),P(e<120?e+240:e-120,o,n),this.opacity)},clamp(){return new O(j(this.h),R(this.s),R(this.l),F(this.opacity))},displayable(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl(){const e=F(this.opacity);return`${1===e?"hsl(":"hsla("}${j(this.h)}, ${100*R(this.s)}%, ${100*R(this.l)}%${1===e?")":`, ${e})`}`}}))},871:(e,t,r)=>{function n(e,t,r){e.prototype=t.prototype=r,r.constructor=e}function o(e,t){var r=Object.create(e.prototype);for(var n in t)r[n]=t[n];return r}r.d(t,{A:()=>n,X:()=>o})},8079:(e,t,r)=>{r.d(t,{$:()=>o});var n=r(8503);function o(e,t){var r,o=t?t.length:0,a=e?Math.min(o,e.length):0,i=new Array(a),u=new Array(o);for(r=0;r<a;++r)i[r]=(0,n.A)(e[r],t[r]);for(;r<o;++r)u[r]=t[r];return function(e){for(r=0;r<a;++r)u[r]=i[r](e);return u}}},6160:(e,t,r)=>{function n(e,t,r,n,o){var a=e*e,i=a*e;return((1-3*e+3*a-i)*t+(4-6*a+3*i)*r+(1+3*e+3*a-3*i)*n+i*o)/6}function o(e){var t=e.length-1;return function(r){var o=r<=0?r=0:r>=1?(r=1,t-1):Math.floor(r*t),a=e[o],i=e[o+1],u=o>0?e[o-1]:2*a-i,l=o<t-1?e[o+2]:2*i-a;return n((r-o/t)*t,u,a,i,l)}}r.d(t,{A:()=>o,H:()=>n})},9804:(e,t,r)=>{r.d(t,{A:()=>o});var n=r(6160);function o(e){var t=e.length;return function(r){var o=Math.floor(((r%=1)<0?++r:r)*t),a=e[(o+t-1)%t],i=e[o%t],u=e[(o+1)%t],l=e[(o+2)%t];return(0,n.H)((r-o/t)*t,a,i,u,l)}}},4709:(e,t,r)=>{r.d(t,{Ay:()=>i,uN:()=>a});var n=r(3116);function o(e,t){return function(r){return e+r*t}}function a(e){return 1==(e=+e)?i:function(t,r){return r-t?function(e,t,r){return e=Math.pow(e,r),t=Math.pow(t,r)-e,r=1/r,function(n){return Math.pow(e+n*t,r)}}(t,r,e):(0,n.A)(isNaN(t)?r:t)}}function i(e,t){var r=t-e;return r?o(e,r):(0,n.A)(isNaN(e)?t:e)}},3116:(e,t,r)=>{r.d(t,{A:()=>n});const n=e=>()=>e},8172:(e,t,r)=>{function n(e,t){var r=new Date;return e=+e,t=+t,function(n){return r.setTime(e*(1-n)+t*n),r}}r.d(t,{A:()=>n})},8981:(e,t,r)=>{function n(e,t){return e=+e,t=+t,function(r){return e*(1-r)+t*r}}r.d(t,{A:()=>n})},128:(e,t,r)=>{function n(e,t){t||(t=[]);var r,n=e?Math.min(t.length,e.length):0,o=t.slice();return function(a){for(r=0;r<n;++r)o[r]=e[r]*(1-a)+t[r]*a;return o}}function o(e){return ArrayBuffer.isView(e)&&!(e instanceof DataView)}r.d(t,{A:()=>n,p:()=>o})},4287:(e,t,r)=>{r.d(t,{A:()=>o});var n=r(8503);function o(e,t){var r,o={},a={};for(r in null!==e&&"object"==typeof e||(e={}),null!==t&&"object"==typeof t||(t={}),t)r in e?o[r]=(0,n.A)(e[r],t[r]):a[r]=t[r];return function(e){for(r in o)a[r]=o[r](e);return a}}},1197:(e,t,r)=>{r.d(t,{Ay:()=>u});var n=r(6957),o=r(6160),a=r(9804),i=r(4709);const u=function e(t){var r=(0,i.uN)(t);function o(e,t){var o=r((e=(0,n.Qh)(e)).r,(t=(0,n.Qh)(t)).r),a=r(e.g,t.g),u=r(e.b,t.b),l=(0,i.Ay)(e.opacity,t.opacity);return function(t){return e.r=o(t),e.g=a(t),e.b=u(t),e.opacity=l(t),e+""}}return o.gamma=e,o}(1);function l(e){return function(t){var r,o,a=t.length,i=new Array(a),u=new Array(a),l=new Array(a);for(r=0;r<a;++r)o=(0,n.Qh)(t[r]),i[r]=o.r||0,u[r]=o.g||0,l[r]=o.b||0;return i=e(i),u=e(u),l=e(l),o.opacity=1,function(e){return o.r=i(e),o.g=u(e),o.b=l(e),o+""}}}l(o.A),l(a.A)},9770:(e,t,r)=>{function n(e,t){return e=+e,t=+t,function(r){return Math.round(e*(1-r)+t*r)}}r.d(t,{A:()=>n})},7737:(e,t,r)=>{r.d(t,{A:()=>i});var n=r(8981),o=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,a=new RegExp(o.source,"g");function i(e,t){var r,i,u,l=o.lastIndex=a.lastIndex=0,s=-1,c=[],h=[];for(e+="",t+="";(r=o.exec(e))&&(i=a.exec(t));)(u=i.index)>l&&(u=t.slice(l,u),c[s]?c[s]+=u:c[++s]=u),(r=r[0])===(i=i[0])?c[s]?c[s]+=i:c[++s]=i:(c[++s]=null,h.push({i:s,x:(0,n.A)(r,i)})),l=a.lastIndex;return l<t.length&&(u=t.slice(l),c[s]?c[s]+=u:c[++s]=u),c.length<2?h[0]?function(e){return function(t){return e(t)+""}}(h[0].x):function(e){return function(){return e}}(t):(t=h.length,function(e){for(var r,n=0;n<t;++n)c[(r=h[n]).i]=r.x(e);return c.join("")})}},8503:(e,t,r)=>{r.d(t,{A:()=>f});var n=r(6957),o=r(1197),a=r(8079),i=r(8172),u=r(8981),l=r(4287),s=r(7737),c=r(3116),h=r(128);function f(e,t){var r,f=typeof t;return null==t||"boolean"===f?(0,c.A)(t):("number"===f?u.A:"string"===f?(r=(0,n.Ay)(t))?(t=r,o.Ay):s.A:t instanceof n.Ay?o.Ay:t instanceof Date?i.A:(0,h.p)(t)?h.A:Array.isArray(t)?a.$:"function"!=typeof t.valueOf&&"function"!=typeof t.toString||isNaN(t)?l.A:u.A)(e,t)}},9279:(e,t,r)=>{function n(e){return function(){return e}}r.d(t,{A:()=>n})},1052:(e,t,r)=>{r.d(t,{Ay:()=>m,C:()=>p});var n=r(2016),o=r(8503),a=r(8981),i=r(9770),u=r(9279),l=r(414),s=[0,1];function c(e){return e}function h(e,t){return(t-=e=+e)?function(r){return(r-e)/t}:(0,u.A)(isNaN(t)?NaN:.5)}function f(e,t,r){var n=e[0],o=e[1],a=t[0],i=t[1];return o<n?(n=h(o,n),a=r(i,a)):(n=h(n,o),a=r(a,i)),function(e){return a(n(e))}}function d(e,t,r){var o=Math.min(e.length,t.length)-1,a=new Array(o),i=new Array(o),u=-1;for(e[o]<e[0]&&(e=e.slice().reverse(),t=t.slice().reverse());++u<o;)a[u]=h(e[u],e[u+1]),i[u]=r(t[u],t[u+1]);return function(t){var r=(0,n.Ay)(e,t,1,o)-1;return i[r](a[r](t))}}function p(e,t){return t.domain(e.domain()).range(e.range()).interpolate(e.interpolate()).clamp(e.clamp()).unknown(e.unknown())}function g(){var e,t,r,n,u,h,p=s,g=s,m=o.A,y=c;function b(){var e,t,r,o=Math.min(p.length,g.length);return y!==c&&(e=p[0],t=p[o-1],e>t&&(r=e,e=t,t=r),y=function(r){return Math.max(e,Math.min(t,r))}),n=o>2?d:f,u=h=null,v}function v(t){return null==t||isNaN(t=+t)?r:(u||(u=n(p.map(e),g,m)))(e(y(t)))}return v.invert=function(r){return y(t((h||(h=n(g,p.map(e),a.A)))(r)))},v.domain=function(e){return arguments.length?(p=Array.from(e,l.A),b()):p.slice()},v.range=function(e){return arguments.length?(g=Array.from(e),b()):g.slice()},v.rangeRound=function(e){return g=Array.from(e),m=i.A,b()},v.clamp=function(e){return arguments.length?(y=!!e||c,b()):y!==c},v.interpolate=function(e){return arguments.length?(m=e,b()):m},v.unknown=function(e){return arguments.length?(r=e,v):r},function(r,n){return e=r,t=n,b()}}function m(){return g()(c,c)}},1446:(e,t,r)=>{function n(e,t){switch(arguments.length){case 0:break;case 1:this.range(e);break;default:this.range(t).domain(e)}return this}r.d(t,{C:()=>n})},6502:(e,t,r)=>{r.d(t,{A:()=>u});var n=r(6946),o=r(1052),a=r(1446),i=r(8993);function u(){var e=(0,o.Ay)();return e.copy=function(){return(0,o.C)(e,u())},a.C.apply(e,arguments),function(e){var t=e.domain;return e.ticks=function(e){var r=t();return(0,n.Ay)(r[0],r[r.length-1],null==e?10:e)},e.tickFormat=function(e,r){var n=t();return(0,i.A)(n[0],n[n.length-1],null==e?10:e,r)},e.nice=function(r){null==r&&(r=10);var o,a,i=t(),u=0,l=i.length-1,s=i[u],c=i[l],h=10;for(c<s&&(a=s,s=c,c=a,a=u,u=l,l=a);h-- >0;){if((a=(0,n.lq)(s,c,r))===o)return i[u]=s,i[l]=c,t(i);if(a>0)s=Math.floor(s/a)*a,c=Math.ceil(c/a)*a;else{if(!(a<0))break;s=Math.ceil(s*a)/a,c=Math.floor(c*a)/a}o=a}return e},e}(e)}},414:(e,t,r)=>{function n(e){return+e}r.d(t,{A:()=>n})},8993:(e,t,r)=>{r.d(t,{A:()=>s});var n=r(6946),o=r(1688),a=r(6093),i=r(4626),u=r(8209),l=r(3391);function s(e,t,r,s){var c,h=(0,n.sG)(e,t,r);switch((s=(0,o.A)(null==s?",f":s)).type){case"s":var f=Math.max(Math.abs(e),Math.abs(t));return null!=s.precision||isNaN(c=(0,a.A)(h,f))||(s.precision=c),(0,i.s)(s,f);case"":case"e":case"g":case"p":case"r":null!=s.precision||isNaN(c=(0,u.A)(h,Math.max(Math.abs(e),Math.abs(t))))||(s.precision=c-("e"===s.type));break;case"f":case"%":null!=s.precision||isNaN(c=(0,l.A)(h))||(s.precision=c-2*("%"===s.type))}return(0,i.GP)(s)}}},l={};function s(e){var t=l[e];if(void 0!==t)return t.exports;var r=l[e]={exports:{}};return u[e](r,r.exports,s),r.exports}s.m=u,i=[],s.O=(e,t,r,n)=>{if(!t){var o=1/0;for(c=0;c<i.length;c++){for(var[t,r,n]=i[c],a=!0,u=0;u<t.length;u++)(!1&n||o>=n)&&Object.keys(s.O).every((e=>s.O[e](t[u])))?t.splice(u--,1):(a=!1,n<o&&(o=n));if(a){i.splice(c--,1);var l=r();void 0!==l&&(e=l)}}return e}n=n||0;for(var c=i.length;c>0&&i[c-1][2]>n;c--)i[c]=i[c-1];i[c]=[t,r,n]},s.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return s.d(t,{a:t}),t},s.d=(e,t)=>{for(var r in t)s.o(t,r)&&!s.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},s.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),s.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{var e={6379:0,525:0};s.O.j=t=>0===e[t];var t=(t,r)=>{var n,o,[a,i,u]=r,l=0;if(a.some((t=>0!==e[t]))){for(n in i)s.o(i,n)&&(s.m[n]=i[n]);if(u)var c=u(s)}for(t&&t(r);l<a.length;l++)o=a[l],s.o(e,o)&&e[o]&&e[o][0](),e[o]=0;return s.O(c)},r=self.webpackChunkatoka_design_system=self.webpackChunkatoka_design_system||[];r.forEach(t.bind(null,0)),r.push=t.bind(null,r.push.bind(r))})();var c=s.O(void 0,[525],(()=>s(1211)));return c=s.O(c)})()));
1
+ !function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("@fortawesome/react-fontawesome"),require("classnames"),require("react"),require("react-bootstrap/Form"),require("react-bootstrap/FormControl"),require("react-bootstrap/FormText")):"function"==typeof define&&define.amd?define("atoka-design-system",["@fortawesome/react-fontawesome","classnames","react","react-bootstrap/Form","react-bootstrap/FormControl","react-bootstrap/FormText"],t):"object"==typeof exports?exports["atoka-design-system"]=t(require("@fortawesome/react-fontawesome"),require("classnames"),require("react"),require("react-bootstrap/Form"),require("react-bootstrap/FormControl"),require("react-bootstrap/FormText")):e["atoka-design-system"]=t(e["@fortawesome/react-fontawesome"],e.classnames,e.react,e["react-bootstrap/Form"],e["react-bootstrap/FormControl"],e["react-bootstrap/FormText"])}(self,((e,t,r,n,o,a)=>(()=>{"use strict";var i,u={4626:(e,t,r)=>{r.d(t,{GP:()=>o,s:()=>a});var n,o,a,i,u=r(1419);i={decimal:".",thousands:",",grouping:[3],currency:["$",""],minus:"-"},n=(0,u.A)(i),o=n.format,a=n.formatPrefix},886:(e,t,r)=>{r.d(t,{A:()=>o});var n=r(3735);function o(e){return(e=(0,n.f)(Math.abs(e)))?e[1]:NaN}},3735:(e,t,r)=>{function n(e){return Math.abs(e=Math.round(e))>=1e21?e.toLocaleString("en").replace(/,/g,""):e.toString(10)}function o(e,t){if((r=(e=t?e.toExponential(t-1):e.toExponential()).indexOf("e"))<0)return null;var r,n=e.slice(0,r);return[n.length>1?n[0]+n.slice(2):n,+e.slice(r+1)]}r.d(t,{A:()=>n,f:()=>o})},8791:(e,t,r)=>{function n(e,t){return function(r,n){for(var o=r.length,a=[],i=0,u=e[0],l=0;o>0&&u>0&&(l+u+1>n&&(u=Math.max(1,n-l)),a.push(r.substring(o-=u,o+u)),!((l+=u+1)>n));)u=e[i=(i+1)%e.length];return a.reverse().join(t)}}r.d(t,{A:()=>n})},1409:(e,t,r)=>{function n(e){return function(t){return t.replace(/[0-9]/g,(function(t){return e[+t]}))}}r.d(t,{A:()=>n})},4169:(e,t,r)=>{r.d(t,{A:()=>a,u:()=>n});var n,o=r(3735);function a(e,t){var r=(0,o.f)(e,t);if(!r)return e+"";var a=r[0],i=r[1],u=i-(n=3*Math.max(-8,Math.min(8,Math.floor(i/3))))+1,l=a.length;return u===l?a:u>l?a+new Array(u-l+1).join("0"):u>0?a.slice(0,u)+"."+a.slice(u):"0."+new Array(1-u).join("0")+(0,o.f)(e,Math.max(0,t+u-1))[0]}},81:(e,t,r)=>{r.d(t,{A:()=>o});var n=r(3735);function o(e,t){var r=(0,n.f)(e,t);if(!r)return e+"";var o=r[0],a=r[1];return a<0?"0."+new Array(-a).join("0")+o:o.length>a+1?o.slice(0,a+1)+"."+o.slice(a+1):o+new Array(a-o.length+2).join("0")}},1688:(e,t,r)=>{r.d(t,{A:()=>o});var n=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function o(e){if(!(t=n.exec(e)))throw new Error("invalid format: "+e);var t;return new a({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 a(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+""}o.prototype=a.prototype,a.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}},4182:(e,t,r)=>{function n(e){e:for(var t,r=e.length,n=1,o=-1;n<r;++n)switch(e[n]){case".":o=t=n;break;case"0":0===o&&(o=n),t=n;break;default:if(!+e[n])break e;o>0&&(o=0)}return o>0?e.slice(0,o)+e.slice(t+1):e}r.d(t,{A:()=>n})},6593:(e,t,r)=>{r.d(t,{A:()=>i});var n=r(3735),o=r(4169),a=r(81);const i={"%":function(e,t){return(100*e).toFixed(t)},b:function(e){return Math.round(e).toString(2)},c:function(e){return e+""},d:n.A,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(0,a.A)(100*e,t)},r:a.A,s:o.A,X:function(e){return Math.round(e).toString(16).toUpperCase()},x:function(e){return Math.round(e).toString(16)}}},3727:(e,t,r)=>{function n(e){return e}r.d(t,{A:()=>n})},1419:(e,t,r)=>{r.d(t,{A:()=>d});var n=r(886),o=r(8791),a=r(1409),i=r(1688),u=r(4182),l=r(6593),s=r(4169),c=r(3727),h=Array.prototype.map,f=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"];function d(e){var t=void 0===e.grouping||void 0===e.thousands?c.A:(0,o.A)(h.call(e.grouping,Number),e.thousands+""),r=void 0===e.currency?"":e.currency[0]+"",d=void 0===e.currency?"":e.currency[1]+"",p=void 0===e.decimal?".":e.decimal+"",g=void 0===e.numerals?c.A:(0,a.A)(h.call(e.numerals,String)),m=void 0===e.percent?"%":e.percent+"",y=void 0===e.minus?"-":e.minus+"",b=void 0===e.nan?"NaN":e.nan+"";function v(e){var n=(e=(0,i.A)(e)).fill,o=e.align,a=e.sign,c=e.symbol,h=e.zero,v=e.width,w=e.comma,A=e.precision,x=e.trim,N=e.type;"n"===N?(w=!0,N="g"):l.A[N]||(void 0===A&&(A=12),x=!0,N="g"),(h||"0"===n&&"="===o)&&(h=!0,n="0",o="=");var k="$"===c?r:"#"===c&&/[boxX]/.test(N)?"0"+N.toLowerCase():"",M="$"===c?d:/[%p]/.test(N)?m:"",$=l.A[N],F=/[defgprs%]/.test(N);function C(e){var r,i,l,c=k,d=M;if("c"===N)d=$(e)+d,e="";else{var m=(e=+e)<0||1/e<0;if(e=isNaN(e)?b:$(Math.abs(e),A),x&&(e=(0,u.A)(e)),m&&0==+e&&"+"!==a&&(m=!1),c=(m?"("===a?a:y:"-"===a||"("===a?"":a)+c,d=("s"===N?f[8+s.u/3]:"")+d+(m&&"("===a?")":""),F)for(r=-1,i=e.length;++r<i;)if(48>(l=e.charCodeAt(r))||l>57){d=(46===l?p+e.slice(r+1):e.slice(r))+d,e=e.slice(0,r);break}}w&&!h&&(e=t(e,1/0));var C=c.length+e.length+d.length,E=C<v?new Array(v-C+1).join(n):"";switch(w&&h&&(e=t(E+e,E.length?v-d.length:1/0),E=""),o){case"<":e=c+e+d+E;break;case"=":e=c+E+e+d;break;case"^":e=E.slice(0,C=E.length>>1)+c+e+d+E.slice(C);break;default:e=E+c+e+d}return g(e)}return A=void 0===A?6:/[gprs]/.test(N)?Math.max(1,Math.min(21,A)):Math.max(0,Math.min(20,A)),C.toString=function(){return e+""},C}return{format:v,formatPrefix:function(e,t){var r=v(((e=(0,i.A)(e)).type="f",e)),o=3*Math.max(-8,Math.min(8,Math.floor((0,n.A)(t)/3))),a=Math.pow(10,-o),u=f[8+o/3];return function(e){return r(a*e)+u}}}}},3391:(e,t,r)=>{r.d(t,{A:()=>o});var n=r(886);function o(e){return Math.max(0,-(0,n.A)(Math.abs(e)))}},6093:(e,t,r)=>{r.d(t,{A:()=>o});var n=r(886);function o(e,t){return Math.max(0,3*Math.max(-8,Math.min(8,Math.floor((0,n.A)(t)/3)))-(0,n.A)(Math.abs(e)))}},8209:(e,t,r)=>{r.d(t,{A:()=>o});var n=r(886);function o(e,t){return e=Math.abs(e),t=Math.abs(t)-e,Math.max(0,(0,n.A)(t)-(0,n.A)(e))+1}},1120:(e,t,r)=>{var n=r(9155),o=r.n(n),a=r(992),i=r.n(a),u=r(1759),l=r.n(u),s=r(3048),c=r(545),h=r(2039),f=r(8867),d=r(9125);const p=e=>{const t=i()(e?.className,"atoka-form");return o().createElement(l(),{...e,className:t},e.children)};p.displayName="Form",p.Control=c.M,p.Label=s.l,p.Checkbox=h.c,p.Radio=f.M,p.Switch=l().Switch,p.Help=d.W,p.Group=l().Group},2039:(e,t,r)=>{r.d(t,{c:()=>s});var n=r(9155),o=r.n(n),a=r(992),i=r.n(a),u=r(1759),l=r.n(u);const s=e=>{const t=i()("atoka-form-checkbox",e?.className);return o().createElement(l().Check,{type:"checkbox",...e,className:t,label:e.label??""})};s.displayName="FormCheckbox"},545:(e,t,r)=>{r.d(t,{M:()=>h});var n=r(9155),o=r.n(n),a=r(992),i=r.n(a),u=r(9852),l=r.n(u),s=r(5344);const c=o().forwardRef((({size:e="md",...t},r)=>{const n=i()("atoka-form-control",t?.className,{disabled:t.disabled});return o().createElement(l(),{as:t.as,rows:t.rows,cols:t.cols,placeholder:t.placeholder,className:n,disabled:t.disabled,readOnly:t.readOnly,value:t.value,onChange:t.onChange,onKeyPress:t.onKeyPress,onKeyDown:t.onKeyDown,onFocus:t.onFocus,defaultValue:t.defaultValue,size:"md"===e?void 0:e,type:t.type,id:t.id,isValid:t.isValid,isInvalid:t.isInvalid,ref:r,autoComplete:"off"},t.children)}));c.displayName="FormControlComponent";const h=c;h.FeedBack=s.B,h.displayName="FormControl"},5344:(e,t,r)=>{r.d(t,{B:()=>s});var n=r(9155),o=r.n(n),a=r(992),i=r.n(a),u=r(9852),l=r.n(u);const s=o().memo((({show:e=!0,...t})=>{const r=i()(t?.className,"atoka-form-control-feedback",{"d-block":e});return o().createElement(l().Feedback,{type:t.type,className:r},t.children)}));s.displayName="FormControlFeedBack"},9125:(e,t,r)=>{r.d(t,{W:()=>s});var n=r(7452),o=r.n(n),a=r(9155),i=r.n(a),u=r(992),l=r.n(u);const s=i().memo((({children:e,...t})=>{const r=l()("d-block",t?.className);return i().createElement(o(),{bsPrefix:"atoka-form-help",className:r},e)}));s.displayName="FormHelp"},3048:(e,t,r)=>{r.d(t,{l:()=>s});var n=r(9155),o=r.n(n),a=r(992),i=r.n(a),u=r(1759),l=r.n(u);const s=o().memo((e=>{const t=i()(e?.className,"atoka-form-label");return o().createElement(l().Label,{className:t},e.children)}));s.displayName="FormLabel"},8867:(e,t,r)=>{r.d(t,{M:()=>s});var n=r(9155),o=r.n(n),a=r(992),i=r.n(a),u=r(1759),l=r.n(u);const s=e=>{const t=i()(e?.className,"atoka-form-radio");return o().createElement(l().Check,{type:"radio",...e,className:t,label:e.label??""})};s.displayName="FormRadio"},3392:(e,t,r)=>{r.d(t,{F:()=>o,WM:()=>i});var n=r(862);function o(e,t,r,o=0,i,u="value"){let l=0;const s=t??"other",c=o??0,h=[],f=e?.sort((0,n.hv)(u));f?.forEach(((e,r)=>{if(r<c&&e.id!==t)h.push(function(e){if(null==e.children)return e;const t=(0,n.o8)(e);return a(t),t}(e));else{const t=Number(e?.value)??0;l+=t}}));const d={id:s,value:parseFloat(l.toFixed(2)),initialValue:parseFloat(l.toFixed(2)),label:r??s??""};return null!=e?.[0]?.percentage&&null!=i&&(d.percentage=l/i*100),o===1/0&&0===l||h.push(d),h}function a(e){const t=e?.children??[];e.initialValue=e.value,t.length>0&&delete e.value;for(const e of t)a(e)}function i(e){return`${parseInt(e?.toFixed?.(0),10)}%`}},7898:(e,t,r)=>{r.d(t,{Cl:()=>f,D9:()=>y,Gm:()=>u,Gz:()=>x,Jd:()=>$,Nd:()=>m,ON:()=>o,Pr:()=>N,Ql:()=>F,SN:()=>q,T_:()=>b,Wx:()=>C,Xm:()=>S,Xx:()=>p,Y0:()=>i,Ym:()=>E,Zp:()=>A,ew:()=>a,h7:()=>d,kY:()=>O,p1:()=>M,pl:()=>c,qQ:()=>k,s5:()=>g,w5:()=>s,wL:()=>w,wv:()=>v,yU:()=>h,z1:()=>l});var n=r(6502);const o="#FFFFFF",a="#eef2f5",i="#CBD8E0",u="#AFD1E0",l="#8FB7CB",s="#94C2DA",c="#6E9DB5",h="#578EA8",f="rgb(31, 88, 113)",d="#11455C",p="#FAFAFA",g="#EBEBEB",m="#B0B0B0",y="#FFBB00",b="#F38522",v="#F72200",w="#309B0A",A="#63619F",x="#965DA3",N="#C55795",k="#E85778",M="#F86752",$="#229CF3",F="#222222",C={redToGreen:["#F7977A","#F6EA25","#82CA9D"],atokaBlu:[h,a],CGS:["#ca473e","#eac950","#cfd589","#bdd78d","#a3d4b0","#7dc7a1","#5abc8a","#57a27d"]};function E(e,t=[...C.redToGreen]){const r=[];if(0===e)return;let o=(0,n.A)();const a=S(t.length,t.length),i=S(e,t.length);o=o.domain(a).range(t);for(let t=0;t<e;t++)r.push(o(i[t]));return r}function S(e,t){const r=[];r.push(0);for(let n=0;n<e-2;n++){const o=Number(t/e*(n+1));r.push(parseFloat(o.toFixed(2)))}return r.push(t),r}function q(e){try{return getComputedStyle(document.body).getPropertyValue(e)}catch(t){return console.error("Error while trying to extract color from css variable:",e,t),"red"}}const O=new Proxy({},{get:(e,t)=>q(`--atoka_colors_${t}`)})},5700:(e,t,r)=>{function n(e){if(null==e)return!0;try{return null!==e.match(/^\s*$/)}catch(e){return!0}}function o(e){const t="àáâäæãåāăąçćčđďèéêëēėęěğǵḧîïíīįìłḿñńǹňôöòóœøōõőṕŕřßśšşșťțûüùúūǘůűųẃẍÿýžźż·/_,:;",r=new RegExp(t.split("").join("|"),"g");return e.toString().toLowerCase().replace(/\s+/g,"-").replace(r,(e=>"aaaaaaaaaacccddeeeeeeeegghiiiiiilmnnnnoooooooooprrsssssttuuuuuuuuuwxyyzzz------".charAt(t.indexOf(e)))).replace(/&/g,"-and-").replace(/[^\w-]+/g,"").replace(/--+/g,"-").replace(/^-+/,"").replace(/-+$/,"")}function a(e,t,r){return e*t+r}function i(e,t){return null==e?"":e.length>t?`${e.substr(0,t-1)}…`:e}function u(e){return t=>{const r=/^([\d*]+)-([\d*]+)$/.exec(t);return null==r?t:l({from:r[1],to:r[2]},e??(e=>e))}}function l(e,t){const r="*"===e.to?"*":t(parseInt(e.to??"0",10)),n=t(parseInt(e.from??"0",10));return n===r?`${n}`:`${n} - ${r}`}function s(e,t){return r=>{const n=r.toString();return i(null==e?n:`${e(n)}`,t)}}function c(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}function h(e,t){if(null==e||null==t)return!1;if(e=e.toLowerCase(),null===(t=t.toLowerCase()).match(" "))return null!==e.match(c(t));const r=t.split(" ").filter((e=>!n(e))).sort(((e,t)=>t.length-e.length));for(const t of r)if(e===t)return!0;return!1}function f(e,t){if(null==t)return[];if(null===(e=c(e)).match(" ")){const r=new RegExp("("+e+")","gi");return t.split(r)}const r=e.split(" ").filter((e=>!n(e))).sort(((e,t)=>t.length-e.length)),o=[t];for(const t of r){const r=new RegExp("("+t+")","gi");for(let t=0;t<o.length;t++){const n=o[t];if(h(n,e))continue;const a=n.split(r).filter((e=>""!==e));o.splice(t,1,...a)}}return o}r.d(t,{Lu:()=>l,Nt:()=>c,W9:()=>h,Yv:()=>o,ZS:()=>n,ck:()=>a,dY:()=>u,lR:()=>f,pQ:()=>s,pw:()=>i})},862:(e,t,r)=>{r.d(t,{bD:()=>i,hv:()=>n,o8:()=>o});r(6889),r(9155),r(1120);function n(e){return function(t,r){let n=0,o=0;return null!=t?.[e]&&(n=t?.[e]),null!=r?.[e]&&(o=r?.[e]),n>o?-1:1}}function o(e){return JSON.parse(JSON.stringify(e))}function a(e){return"object"==typeof e&&null!=e}function i(e,t){if(e===t)return!0;if(a(e)&&a(t)){if(Object.keys(e).length!==Object.keys(t).length)return!1;let r;for(r in e)if(!i(e[r],t[r]))return!1;return!0}return!1}},1211:(e,t,r)=>{r.r(t),r.d(t,{black:()=>i.Ql,blue100:()=>i.yU,blue25:()=>i.ew,blue30:()=>i.Y0,blue300:()=>i.Cl,blue400:()=>i.h7,blue50:()=>i.Gm,blue80:()=>i.z1,blue90:()=>i.w5,blue95:()=>i.pl,bluelight:()=>i.Jd,calculateDomain:()=>i.Xm,createDataWithOtherSlice:()=>n.F,deepEqual:()=>o.bD,ellipse:()=>a.pw,ellipseAndFormat:()=>a.pQ,escapeRegExp:()=>a.Nt,estimateWordSize:()=>a.ck,extractColorFromVar:()=>i.SN,formatRange:()=>a.Lu,generateRangeColor:()=>i.Ym,gray100:()=>i.Xx,gray200:()=>i.s5,gray300:()=>i.Nd,green:()=>i.wL,isMatching:()=>a.W9,isStringEmpty:()=>a.ZS,matchAndFormatRangeLabel:()=>a.dY,normalizePercentage:()=>n.WM,orange:()=>i.T_,pink100:()=>i.qQ,pink200:()=>i.Pr,purple:()=>i.Zp,red:()=>i.wv,salmon:()=>i.p1,slugify:()=>a.Yv,sortObjDesc:()=>o.hv,splitTextInParts:()=>a.lR,themeColors:()=>i.kY,usableRangeColors:()=>i.Wx,violet:()=>i.Gz,white:()=>i.ON,yellow:()=>i.D9});var n=r(3392),o=r(862),a=r(5700),i=r(7898)},6889:t=>{t.exports=e},992:e=>{e.exports=t},9155:e=>{e.exports=r},1759:e=>{e.exports=n},9852:e=>{e.exports=o},7452:e=>{e.exports=a},2902:(e,t,r)=>{function n(e,t){return null==e||null==t?NaN:e<t?-1:e>t?1:e>=t?0:NaN}r.d(t,{A:()=>n})},2016:(e,t,r)=>{r.d(t,{Ay:()=>l});var n=r(2902),o=r(6037),a=r(3131);const i=(0,o.A)(n.A),u=i.right,l=(i.left,(0,o.A)(a.A).center,u)},6037:(e,t,r)=>{r.d(t,{A:()=>a});var n=r(2902),o=r(1180);function a(e){let t,r,a;function u(e,n,o=0,a=e.length){if(o<a){if(0!==t(n,n))return a;do{const t=o+a>>>1;r(e[t],n)<0?o=t+1:a=t}while(o<a)}return o}return 2!==e.length?(t=n.A,r=(t,r)=>(0,n.A)(e(t),r),a=(t,r)=>e(t)-r):(t=e===n.A||e===o.A?e:i,r=e,a=e),{left:u,center:function(e,t,r=0,n=e.length){const o=u(e,t,r,n-1);return o>r&&a(e[o-1],t)>-a(e[o],t)?o-1:o},right:function(e,n,o=0,a=e.length){if(o<a){if(0!==t(n,n))return a;do{const t=o+a>>>1;r(e[t],n)<=0?o=t+1:a=t}while(o<a)}return o}}}function i(){return 0}},1180:(e,t,r)=>{function n(e,t){return null==e||null==t?NaN:t<e?-1:t>e?1:t>=e?0:NaN}r.d(t,{A:()=>n})},3131:(e,t,r)=>{function n(e){return null===e?NaN:+e}r.d(t,{A:()=>n})},6946:(e,t,r)=>{r.d(t,{Ay:()=>u,lq:()=>l,sG:()=>s});const n=Math.sqrt(50),o=Math.sqrt(10),a=Math.sqrt(2);function i(e,t,r){const u=(t-e)/Math.max(0,r),l=Math.floor(Math.log10(u)),s=u/Math.pow(10,l),c=s>=n?10:s>=o?5:s>=a?2:1;let h,f,d;return l<0?(d=Math.pow(10,-l)/c,h=Math.round(e*d),f=Math.round(t*d),h/d<e&&++h,f/d>t&&--f,d=-d):(d=Math.pow(10,l)*c,h=Math.round(e/d),f=Math.round(t/d),h*d<e&&++h,f*d>t&&--f),f<h&&.5<=r&&r<2?i(e,t,2*r):[h,f,d]}function u(e,t,r){if(!((r=+r)>0))return[];if((e=+e)===(t=+t))return[e];const n=t<e,[o,a,u]=n?i(t,e,r):i(e,t,r);if(!(a>=o))return[];const l=a-o+1,s=new Array(l);if(n)if(u<0)for(let e=0;e<l;++e)s[e]=(a-e)/-u;else for(let e=0;e<l;++e)s[e]=(a-e)*u;else if(u<0)for(let e=0;e<l;++e)s[e]=(o+e)/-u;else for(let e=0;e<l;++e)s[e]=(o+e)*u;return s}function l(e,t,r){return i(e=+e,t=+t,r=+r)[2]}function s(e,t,r){r=+r;const n=(t=+t)<(e=+e),o=n?l(t,e,r):l(e,t,r);return(n?-1:1)*(o<0?1/-o:o)}},6957:(e,t,r)=>{r.d(t,{Ay:()=>w,Qh:()=>N});var n=r(871);function o(){}var a=.7,i=1/a,u="\\s*([+-]?\\d+)\\s*",l="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",s="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",c=/^#([0-9a-f]{3,8})$/,h=new RegExp(`^rgb\\(${u},${u},${u}\\)$`),f=new RegExp(`^rgb\\(${s},${s},${s}\\)$`),d=new RegExp(`^rgba\\(${u},${u},${u},${l}\\)$`),p=new RegExp(`^rgba\\(${s},${s},${s},${l}\\)$`),g=new RegExp(`^hsl\\(${l},${s},${s}\\)$`),m=new RegExp(`^hsla\\(${l},${s},${s},${l}\\)$`),y={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};function b(){return this.rgb().formatHex()}function v(){return this.rgb().formatRgb()}function w(e){var t,r;return e=(e+"").trim().toLowerCase(),(t=c.exec(e))?(r=t[1].length,t=parseInt(t[1],16),6===r?A(t):3===r?new k(t>>8&15|t>>4&240,t>>4&15|240&t,(15&t)<<4|15&t,1):8===r?x(t>>24&255,t>>16&255,t>>8&255,(255&t)/255):4===r?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=h.exec(e))?new k(t[1],t[2],t[3],1):(t=f.exec(e))?new k(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=p.exec(e))?x(255*t[1]/100,255*t[2]/100,255*t[3]/100,t[4]):(t=g.exec(e))?S(t[1],t[2]/100,t[3]/100,1):(t=m.exec(e))?S(t[1],t[2]/100,t[3]/100,t[4]):y.hasOwnProperty(e)?A(y[e]):"transparent"===e?new k(NaN,NaN,NaN,0):null}function A(e){return new k(e>>16&255,e>>8&255,255&e,1)}function x(e,t,r,n){return n<=0&&(e=t=r=NaN),new k(e,t,r,n)}function N(e,t,r,n){return 1===arguments.length?((a=e)instanceof o||(a=w(a)),a?new k((a=a.rgb()).r,a.g,a.b,a.opacity):new k):new k(e,t,r,null==n?1:n);var a}function k(e,t,r,n){this.r=+e,this.g=+t,this.b=+r,this.opacity=+n}function M(){return`#${E(this.r)}${E(this.g)}${E(this.b)}`}function $(){const e=F(this.opacity);return`${1===e?"rgb(":"rgba("}${C(this.r)}, ${C(this.g)}, ${C(this.b)}${1===e?")":`, ${e})`}`}function F(e){return isNaN(e)?1:Math.max(0,Math.min(1,e))}function C(e){return Math.max(0,Math.min(255,Math.round(e)||0))}function E(e){return((e=C(e))<16?"0":"")+e.toString(16)}function S(e,t,r,n){return n<=0?e=t=r=NaN:r<=0||r>=1?e=t=NaN:t<=0&&(e=NaN),new O(e,t,r,n)}function q(e){if(e instanceof O)return new O(e.h,e.s,e.l,e.opacity);if(e instanceof o||(e=w(e)),!e)return new O;if(e instanceof O)return e;var t=(e=e.rgb()).r/255,r=e.g/255,n=e.b/255,a=Math.min(t,r,n),i=Math.max(t,r,n),u=NaN,l=i-a,s=(i+a)/2;return l?(u=t===i?(r-n)/l+6*(r<n):r===i?(n-t)/l+2:(t-r)/l+4,l/=s<.5?i+a:2-i-a,u*=60):l=s>0&&s<1?0:u,new O(u,l,s,e.opacity)}function O(e,t,r,n){this.h=+e,this.s=+t,this.l=+r,this.opacity=+n}function j(e){return(e=(e||0)%360)<0?e+360:e}function R(e){return Math.max(0,Math.min(1,e||0))}function P(e,t,r){return 255*(e<60?t+(r-t)*e/60:e<180?r:e<240?t+(r-t)*(240-e)/60:t)}(0,n.A)(o,w,{copy(e){return Object.assign(new this.constructor,this,e)},displayable(){return this.rgb().displayable()},hex:b,formatHex:b,formatHex8:function(){return this.rgb().formatHex8()},formatHsl:function(){return q(this).formatHsl()},formatRgb:v,toString:v}),(0,n.A)(k,N,(0,n.X)(o,{brighter(e){return e=null==e?i:Math.pow(i,e),new k(this.r*e,this.g*e,this.b*e,this.opacity)},darker(e){return e=null==e?a:Math.pow(a,e),new k(this.r*e,this.g*e,this.b*e,this.opacity)},rgb(){return this},clamp(){return new k(C(this.r),C(this.g),C(this.b),F(this.opacity))},displayable(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:M,formatHex:M,formatHex8:function(){return`#${E(this.r)}${E(this.g)}${E(this.b)}${E(255*(isNaN(this.opacity)?1:this.opacity))}`},formatRgb:$,toString:$})),(0,n.A)(O,(function(e,t,r,n){return 1===arguments.length?q(e):new O(e,t,r,null==n?1:n)}),(0,n.X)(o,{brighter(e){return e=null==e?i:Math.pow(i,e),new O(this.h,this.s,this.l*e,this.opacity)},darker(e){return e=null==e?a:Math.pow(a,e),new O(this.h,this.s,this.l*e,this.opacity)},rgb(){var e=this.h%360+360*(this.h<0),t=isNaN(e)||isNaN(this.s)?0:this.s,r=this.l,n=r+(r<.5?r:1-r)*t,o=2*r-n;return new k(P(e>=240?e-240:e+120,o,n),P(e,o,n),P(e<120?e+240:e-120,o,n),this.opacity)},clamp(){return new O(j(this.h),R(this.s),R(this.l),F(this.opacity))},displayable(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl(){const e=F(this.opacity);return`${1===e?"hsl(":"hsla("}${j(this.h)}, ${100*R(this.s)}%, ${100*R(this.l)}%${1===e?")":`, ${e})`}`}}))},871:(e,t,r)=>{function n(e,t,r){e.prototype=t.prototype=r,r.constructor=e}function o(e,t){var r=Object.create(e.prototype);for(var n in t)r[n]=t[n];return r}r.d(t,{A:()=>n,X:()=>o})},8079:(e,t,r)=>{r.d(t,{$:()=>o});var n=r(8503);function o(e,t){var r,o=t?t.length:0,a=e?Math.min(o,e.length):0,i=new Array(a),u=new Array(o);for(r=0;r<a;++r)i[r]=(0,n.A)(e[r],t[r]);for(;r<o;++r)u[r]=t[r];return function(e){for(r=0;r<a;++r)u[r]=i[r](e);return u}}},6160:(e,t,r)=>{function n(e,t,r,n,o){var a=e*e,i=a*e;return((1-3*e+3*a-i)*t+(4-6*a+3*i)*r+(1+3*e+3*a-3*i)*n+i*o)/6}function o(e){var t=e.length-1;return function(r){var o=r<=0?r=0:r>=1?(r=1,t-1):Math.floor(r*t),a=e[o],i=e[o+1],u=o>0?e[o-1]:2*a-i,l=o<t-1?e[o+2]:2*i-a;return n((r-o/t)*t,u,a,i,l)}}r.d(t,{A:()=>o,H:()=>n})},9804:(e,t,r)=>{r.d(t,{A:()=>o});var n=r(6160);function o(e){var t=e.length;return function(r){var o=Math.floor(((r%=1)<0?++r:r)*t),a=e[(o+t-1)%t],i=e[o%t],u=e[(o+1)%t],l=e[(o+2)%t];return(0,n.H)((r-o/t)*t,a,i,u,l)}}},4709:(e,t,r)=>{r.d(t,{Ay:()=>i,uN:()=>a});var n=r(3116);function o(e,t){return function(r){return e+r*t}}function a(e){return 1==(e=+e)?i:function(t,r){return r-t?function(e,t,r){return e=Math.pow(e,r),t=Math.pow(t,r)-e,r=1/r,function(n){return Math.pow(e+n*t,r)}}(t,r,e):(0,n.A)(isNaN(t)?r:t)}}function i(e,t){var r=t-e;return r?o(e,r):(0,n.A)(isNaN(e)?t:e)}},3116:(e,t,r)=>{r.d(t,{A:()=>n});const n=e=>()=>e},8172:(e,t,r)=>{function n(e,t){var r=new Date;return e=+e,t=+t,function(n){return r.setTime(e*(1-n)+t*n),r}}r.d(t,{A:()=>n})},8981:(e,t,r)=>{function n(e,t){return e=+e,t=+t,function(r){return e*(1-r)+t*r}}r.d(t,{A:()=>n})},128:(e,t,r)=>{function n(e,t){t||(t=[]);var r,n=e?Math.min(t.length,e.length):0,o=t.slice();return function(a){for(r=0;r<n;++r)o[r]=e[r]*(1-a)+t[r]*a;return o}}function o(e){return ArrayBuffer.isView(e)&&!(e instanceof DataView)}r.d(t,{A:()=>n,p:()=>o})},4287:(e,t,r)=>{r.d(t,{A:()=>o});var n=r(8503);function o(e,t){var r,o={},a={};for(r in null!==e&&"object"==typeof e||(e={}),null!==t&&"object"==typeof t||(t={}),t)r in e?o[r]=(0,n.A)(e[r],t[r]):a[r]=t[r];return function(e){for(r in o)a[r]=o[r](e);return a}}},1197:(e,t,r)=>{r.d(t,{Ay:()=>u});var n=r(6957),o=r(6160),a=r(9804),i=r(4709);const u=function e(t){var r=(0,i.uN)(t);function o(e,t){var o=r((e=(0,n.Qh)(e)).r,(t=(0,n.Qh)(t)).r),a=r(e.g,t.g),u=r(e.b,t.b),l=(0,i.Ay)(e.opacity,t.opacity);return function(t){return e.r=o(t),e.g=a(t),e.b=u(t),e.opacity=l(t),e+""}}return o.gamma=e,o}(1);function l(e){return function(t){var r,o,a=t.length,i=new Array(a),u=new Array(a),l=new Array(a);for(r=0;r<a;++r)o=(0,n.Qh)(t[r]),i[r]=o.r||0,u[r]=o.g||0,l[r]=o.b||0;return i=e(i),u=e(u),l=e(l),o.opacity=1,function(e){return o.r=i(e),o.g=u(e),o.b=l(e),o+""}}}l(o.A),l(a.A)},9770:(e,t,r)=>{function n(e,t){return e=+e,t=+t,function(r){return Math.round(e*(1-r)+t*r)}}r.d(t,{A:()=>n})},7737:(e,t,r)=>{r.d(t,{A:()=>i});var n=r(8981),o=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,a=new RegExp(o.source,"g");function i(e,t){var r,i,u,l=o.lastIndex=a.lastIndex=0,s=-1,c=[],h=[];for(e+="",t+="";(r=o.exec(e))&&(i=a.exec(t));)(u=i.index)>l&&(u=t.slice(l,u),c[s]?c[s]+=u:c[++s]=u),(r=r[0])===(i=i[0])?c[s]?c[s]+=i:c[++s]=i:(c[++s]=null,h.push({i:s,x:(0,n.A)(r,i)})),l=a.lastIndex;return l<t.length&&(u=t.slice(l),c[s]?c[s]+=u:c[++s]=u),c.length<2?h[0]?function(e){return function(t){return e(t)+""}}(h[0].x):function(e){return function(){return e}}(t):(t=h.length,function(e){for(var r,n=0;n<t;++n)c[(r=h[n]).i]=r.x(e);return c.join("")})}},8503:(e,t,r)=>{r.d(t,{A:()=>f});var n=r(6957),o=r(1197),a=r(8079),i=r(8172),u=r(8981),l=r(4287),s=r(7737),c=r(3116),h=r(128);function f(e,t){var r,f=typeof t;return null==t||"boolean"===f?(0,c.A)(t):("number"===f?u.A:"string"===f?(r=(0,n.Ay)(t))?(t=r,o.Ay):s.A:t instanceof n.Ay?o.Ay:t instanceof Date?i.A:(0,h.p)(t)?h.A:Array.isArray(t)?a.$:"function"!=typeof t.valueOf&&"function"!=typeof t.toString||isNaN(t)?l.A:u.A)(e,t)}},9279:(e,t,r)=>{function n(e){return function(){return e}}r.d(t,{A:()=>n})},1052:(e,t,r)=>{r.d(t,{Ay:()=>m,C:()=>p});var n=r(2016),o=r(8503),a=r(8981),i=r(9770),u=r(9279),l=r(414),s=[0,1];function c(e){return e}function h(e,t){return(t-=e=+e)?function(r){return(r-e)/t}:(0,u.A)(isNaN(t)?NaN:.5)}function f(e,t,r){var n=e[0],o=e[1],a=t[0],i=t[1];return o<n?(n=h(o,n),a=r(i,a)):(n=h(n,o),a=r(a,i)),function(e){return a(n(e))}}function d(e,t,r){var o=Math.min(e.length,t.length)-1,a=new Array(o),i=new Array(o),u=-1;for(e[o]<e[0]&&(e=e.slice().reverse(),t=t.slice().reverse());++u<o;)a[u]=h(e[u],e[u+1]),i[u]=r(t[u],t[u+1]);return function(t){var r=(0,n.Ay)(e,t,1,o)-1;return i[r](a[r](t))}}function p(e,t){return t.domain(e.domain()).range(e.range()).interpolate(e.interpolate()).clamp(e.clamp()).unknown(e.unknown())}function g(){var e,t,r,n,u,h,p=s,g=s,m=o.A,y=c;function b(){var e,t,r,o=Math.min(p.length,g.length);return y!==c&&(e=p[0],t=p[o-1],e>t&&(r=e,e=t,t=r),y=function(r){return Math.max(e,Math.min(t,r))}),n=o>2?d:f,u=h=null,v}function v(t){return null==t||isNaN(t=+t)?r:(u||(u=n(p.map(e),g,m)))(e(y(t)))}return v.invert=function(r){return y(t((h||(h=n(g,p.map(e),a.A)))(r)))},v.domain=function(e){return arguments.length?(p=Array.from(e,l.A),b()):p.slice()},v.range=function(e){return arguments.length?(g=Array.from(e),b()):g.slice()},v.rangeRound=function(e){return g=Array.from(e),m=i.A,b()},v.clamp=function(e){return arguments.length?(y=!!e||c,b()):y!==c},v.interpolate=function(e){return arguments.length?(m=e,b()):m},v.unknown=function(e){return arguments.length?(r=e,v):r},function(r,n){return e=r,t=n,b()}}function m(){return g()(c,c)}},1446:(e,t,r)=>{function n(e,t){switch(arguments.length){case 0:break;case 1:this.range(e);break;default:this.range(t).domain(e)}return this}r.d(t,{C:()=>n})},6502:(e,t,r)=>{r.d(t,{A:()=>u});var n=r(6946),o=r(1052),a=r(1446),i=r(8993);function u(){var e=(0,o.Ay)();return e.copy=function(){return(0,o.C)(e,u())},a.C.apply(e,arguments),function(e){var t=e.domain;return e.ticks=function(e){var r=t();return(0,n.Ay)(r[0],r[r.length-1],null==e?10:e)},e.tickFormat=function(e,r){var n=t();return(0,i.A)(n[0],n[n.length-1],null==e?10:e,r)},e.nice=function(r){null==r&&(r=10);var o,a,i=t(),u=0,l=i.length-1,s=i[u],c=i[l],h=10;for(c<s&&(a=s,s=c,c=a,a=u,u=l,l=a);h-- >0;){if((a=(0,n.lq)(s,c,r))===o)return i[u]=s,i[l]=c,t(i);if(a>0)s=Math.floor(s/a)*a,c=Math.ceil(c/a)*a;else{if(!(a<0))break;s=Math.ceil(s*a)/a,c=Math.floor(c*a)/a}o=a}return e},e}(e)}},414:(e,t,r)=>{function n(e){return+e}r.d(t,{A:()=>n})},8993:(e,t,r)=>{r.d(t,{A:()=>s});var n=r(6946),o=r(1688),a=r(6093),i=r(4626),u=r(8209),l=r(3391);function s(e,t,r,s){var c,h=(0,n.sG)(e,t,r);switch((s=(0,o.A)(null==s?",f":s)).type){case"s":var f=Math.max(Math.abs(e),Math.abs(t));return null!=s.precision||isNaN(c=(0,a.A)(h,f))||(s.precision=c),(0,i.s)(s,f);case"":case"e":case"g":case"p":case"r":null!=s.precision||isNaN(c=(0,u.A)(h,Math.max(Math.abs(e),Math.abs(t))))||(s.precision=c-("e"===s.type));break;case"f":case"%":null!=s.precision||isNaN(c=(0,l.A)(h))||(s.precision=c-2*("%"===s.type))}return(0,i.GP)(s)}}},l={};function s(e){var t=l[e];if(void 0!==t)return t.exports;var r=l[e]={exports:{}};return u[e](r,r.exports,s),r.exports}s.m=u,i=[],s.O=(e,t,r,n)=>{if(!t){var o=1/0;for(c=0;c<i.length;c++){for(var[t,r,n]=i[c],a=!0,u=0;u<t.length;u++)(!1&n||o>=n)&&Object.keys(s.O).every((e=>s.O[e](t[u])))?t.splice(u--,1):(a=!1,n<o&&(o=n));if(a){i.splice(c--,1);var l=r();void 0!==l&&(e=l)}}return e}n=n||0;for(var c=i.length;c>0&&i[c-1][2]>n;c--)i[c]=i[c-1];i[c]=[t,r,n]},s.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return s.d(t,{a:t}),t},s.d=(e,t)=>{for(var r in t)s.o(t,r)&&!s.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},s.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),s.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{var e={6379:0,4711:0};s.O.j=t=>0===e[t];var t=(t,r)=>{var n,o,[a,i,u]=r,l=0;if(a.some((t=>0!==e[t]))){for(n in i)s.o(i,n)&&(s.m[n]=i[n]);if(u)var c=u(s)}for(t&&t(r);l<a.length;l++)o=a[l],s.o(e,o)&&e[o]&&e[o][0](),e[o]=0;return s.O(c)},r=self.webpackChunkatoka_design_system=self.webpackChunkatoka_design_system||[];r.forEach(t.bind(null,0)),r.push=t.bind(null,r.push.bind(r))})();var c=s.O(void 0,[4711],(()=>s(1211)));return c=s.O(c)})()));