akku-kit 1.0.0-alpha.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (102) hide show
  1. package/dist/assets/images/ImagePaths.d.ts +5 -0
  2. package/dist/assets/images/arrowRightBlack-9e202c8a68eabcc8.png +0 -0
  3. package/dist/assets/images/nodata-04bb1c9b346f46fd.png +0 -0
  4. package/dist/components/Badge/Badge.d.ts +8 -0
  5. package/dist/components/Badge/Badge.stories.d.ts +19 -0
  6. package/dist/components/Badge/Badge.types.d.ts +50 -0
  7. package/dist/components/Button/Button.d.ts +4 -0
  8. package/dist/components/Button/Button.stories.d.ts +9 -0
  9. package/dist/components/Button/Button.types.d.ts +7 -0
  10. package/dist/components/Button/index.d.ts +2 -0
  11. package/dist/components/ButtonV1/Button.types.d.ts +18 -0
  12. package/dist/components/ButtonV1/ButtonV1.d.ts +3 -0
  13. package/dist/components/ButtonV1/ButtonV1.stories.d.ts +12 -0
  14. package/dist/components/ButtonV1/index.d.ts +1 -0
  15. package/dist/components/Charts/donut-chart/DonutChart.d.ts +16 -0
  16. package/dist/components/Charts/donut-chart/DonutChart.stories.d.ts +10 -0
  17. package/dist/components/Charts/donut-chart/index.d.ts +1 -0
  18. package/dist/components/Charts/spiral-chart/SpiralChart.d.ts +13 -0
  19. package/dist/components/Charts/spiral-chart/SpiralChart.stories.d.ts +10 -0
  20. package/dist/components/Charts/spiral-chart/index.d.ts +1 -0
  21. package/dist/components/Form/CheckboxField/CheckboxField.d.ts +4 -0
  22. package/dist/components/Form/CheckboxField/CheckboxField.stories.d.ts +14 -0
  23. package/dist/components/Form/CheckboxField/CheckboxField.types.d.ts +14 -0
  24. package/dist/components/Form/CheckboxField/index.d.ts +2 -0
  25. package/dist/components/Form/EmailField/EmailField.d.ts +4 -0
  26. package/dist/components/Form/EmailField/EmailField.stories.d.ts +10 -0
  27. package/dist/components/Form/EmailField/EmailField.types.d.ts +16 -0
  28. package/dist/components/Form/EmailField/index.d.ts +2 -0
  29. package/dist/components/Form/MultiSelectField/MultiSelect.stories.d.ts +11 -0
  30. package/dist/components/Form/MultiSelectField/MultiSelectField.d.ts +4 -0
  31. package/dist/components/Form/MultiSelectField/MultiSelectField.types.d.ts +26 -0
  32. package/dist/components/Form/MultiSelectField/index.d.ts +2 -0
  33. package/dist/components/Form/NumberField/NumberField.d.ts +4 -0
  34. package/dist/components/Form/NumberField/NumberField.stories.d.ts +12 -0
  35. package/dist/components/Form/NumberField/NumberField.types.d.ts +28 -0
  36. package/dist/components/Form/NumberField/index.d.ts +2 -0
  37. package/dist/components/Form/PhoneField/PhoneField.d.ts +4 -0
  38. package/dist/components/Form/PhoneField/PhoneField.stories.d.ts +12 -0
  39. package/dist/components/Form/PhoneField/PhoneField.types.d.ts +17 -0
  40. package/dist/components/Form/PhoneField/helper.d.ts +10 -0
  41. package/dist/components/Form/PhoneField/index.d.ts +2 -0
  42. package/dist/components/Form/RadioGroupField/RadioGroupField.d.ts +4 -0
  43. package/dist/components/Form/RadioGroupField/RadioGroupField.stories.d.ts +8 -0
  44. package/dist/components/Form/RadioGroupField/RadioGroupField.types.d.ts +13 -0
  45. package/dist/components/Form/RadioGroupField/index.d.ts +2 -0
  46. package/dist/components/Form/Search/Search.d.ts +4 -0
  47. package/dist/components/Form/Search/Search.stories.d.ts +10 -0
  48. package/dist/components/Form/Search/Search.types.d.ts +12 -0
  49. package/dist/components/Form/Search/index.d.ts +2 -0
  50. package/dist/components/Form/SwitchButtonField/SwitchButtonField.d.ts +4 -0
  51. package/dist/components/Form/SwitchButtonField/SwitchButtonField.stories.d.ts +13 -0
  52. package/dist/components/Form/SwitchButtonField/SwitchButtonField.types.d.ts +14 -0
  53. package/dist/components/Form/SwitchButtonField/index.d.ts +2 -0
  54. package/dist/components/Form/TextAreaField/TextAreaField.d.ts +4 -0
  55. package/dist/components/Form/TextAreaField/TextAreaField.stories.d.ts +11 -0
  56. package/dist/components/Form/TextAreaField/TextAreaField.types.d.ts +27 -0
  57. package/dist/components/Form/TextAreaField/index.d.ts +2 -0
  58. package/dist/components/Form/TextField/TextField.d.ts +4 -0
  59. package/dist/components/Form/TextField/TextField.stories.d.ts +11 -0
  60. package/dist/components/Form/TextField/TextField.types.d.ts +17 -0
  61. package/dist/components/Form/TextField/index.d.ts +2 -0
  62. package/dist/components/Form/URLField/URLField.d.ts +4 -0
  63. package/dist/components/Form/URLField/URLField.stories.d.ts +9 -0
  64. package/dist/components/Form/URLField/URLField.types.d.ts +22 -0
  65. package/dist/components/Form/URLField/index.d.ts +2 -0
  66. package/dist/components/Form/index.d.ts +19 -0
  67. package/dist/components/Input.d.ts +1 -0
  68. package/dist/components/Modal/Modal.d.ts +5 -0
  69. package/dist/components/Modal/Modal.stories.d.ts +12 -0
  70. package/dist/components/Modal/Modal.types.d.ts +56 -0
  71. package/dist/components/Modal/index.d.ts +2 -0
  72. package/dist/components/Skeleton/Skeleton.d.ts +52 -0
  73. package/dist/components/Skeleton/Skeleton.stories.d.ts +12 -0
  74. package/dist/components/Skeleton/index.d.ts +1 -0
  75. package/dist/components/Table/Table.d.ts +8 -0
  76. package/dist/components/Table/components/TableBody.d.ts +8 -0
  77. package/dist/components/Table/components/TableFooter.d.ts +8 -0
  78. package/dist/components/Table/components/TableHeader.d.ts +7 -0
  79. package/dist/components/Tooltip/Tooltip.d.ts +11 -0
  80. package/dist/components/Tooltip/Tooltip.stories.d.ts +8 -0
  81. package/dist/components/Typography/Display/Display.d.ts +4 -0
  82. package/dist/components/Typography/Display/Display.stories.d.ts +50 -0
  83. package/dist/components/Typography/Display/Display.types.d.ts +13 -0
  84. package/dist/components/Typography/Display/index.d.ts +2 -0
  85. package/dist/components/Typography/Text/Text.d.ts +4 -0
  86. package/dist/components/Typography/Text/Text.stories.d.ts +62 -0
  87. package/dist/components/Typography/Text/Text.types.d.ts +13 -0
  88. package/dist/components/Typography/Text/index.d.ts +2 -0
  89. package/dist/index.cjs.js +49 -0
  90. package/dist/index.cjs.js.map +1 -0
  91. package/dist/index.d.ts +17 -0
  92. package/dist/index.esm.js +48 -0
  93. package/dist/index.esm.js.map +1 -0
  94. package/dist/storybook/Button.d.ts +15 -0
  95. package/dist/storybook/Button.stories.d.ts +23 -0
  96. package/dist/storybook/Header.d.ts +12 -0
  97. package/dist/storybook/Header.stories.d.ts +18 -0
  98. package/dist/storybook/Page.d.ts +3 -0
  99. package/dist/storybook/Page.stories.d.ts +12 -0
  100. package/dist/styles.css +1 -0
  101. package/dist/utils/ui/cn.d.ts +1 -0
  102. package/package.json +72 -0
@@ -0,0 +1,49 @@
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react/jsx-runtime"),o=require("react");function t(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}function n(e){if(e&&e.__esModule)return e;var o=Object.create(null);return e&&Object.keys(e).forEach((function(t){if("default"!==t){var n=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(o,t,n.get?n:{enumerable:!0,get:function(){return e[t]}})}})),o.default=e,Object.freeze(o)}var l=n(o),a=t(o);function i(e,o){var t={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&o.indexOf(n)<0&&(t[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var l=0;for(n=Object.getOwnPropertySymbols(e);l<n.length;l++)o.indexOf(n[l])<0&&Object.prototype.propertyIsEnumerable.call(e,n[l])&&(t[n[l]]=e[n[l]])}return t}function r(e,o){void 0===o&&(o={});var t=o.insertAt;if(e&&"undefined"!=typeof document){var n=document.head||document.getElementsByTagName("head")[0],l=document.createElement("style");l.type="text/css","top"===t&&n.firstChild?n.insertBefore(l,n.firstChild):n.appendChild(l),l.styleSheet?l.styleSheet.cssText=e:l.appendChild(document.createTextNode(e))}}"function"==typeof SuppressedError&&SuppressedError;var s={button:"Button-module_button__18Bed",primary:"Button-module_primary__st6yY",secondary:"Button-module_secondary__j-3rj",danger:"Button-module_danger__Hxs5n","primary-outlined":"Button-module_primary-outlined__P6wo5",tertiary:"Button-module_tertiary__Nd7xM",warning:"Button-module_warning__1voOb",outline:"Button-module_outline__TFr94"};function d(e){var o,t,n="";if("string"==typeof e||"number"==typeof e)n+=e;else if("object"==typeof e)if(Array.isArray(e)){var l=e.length;for(o=0;o<l;o++)e[o]&&(t=d(e[o]))&&(n&&(n+=" "),n+=t)}else for(t in e)e[t]&&(n&&(n+=" "),n+=t);return n}function u(){for(var e,o,t=0,n="",l=arguments.length;t<l;t++)(e=arguments[t])&&(o=d(e))&&(n&&(n+=" "),n+=o);return n}r(".Button-module_button__18Bed{align-items:center;border:none;border-radius:8px;cursor:pointer;display:inline-flex;font-size:14px;font-weight:600;gap:.5rem;height:40px;justify-content:center;line-height:20px;padding:.5rem 1rem;transition:all .3s ease}.Button-module_button__18Bed:disabled{cursor:not-allowed;opacity:.5}.Button-module_button__18Bed:active{transform:scale(.98)}.Button-module_button__18Bed:focus{outline:2px solid var(--color-btn-focus-border);outline-offset:2px}.Button-module_button__18Bed:hover{background-color:inherit}.Button-module_button__18Bed.Button-module_primary__st6yY{background-color:var(--color-btn-primary-bg);color:var(--color-btn-primary-text)}.Button-module_button__18Bed.Button-module_secondary__j-3rj{background:var(--color-btn-secondary-bg);border:1px solid var(--color-btn-secondary-border);color:var(--color-btn-secondary-text)}.Button-module_button__18Bed.Button-module_danger__Hxs5n{background-color:var(--color-btn-danger-bg);color:var(--color-btn-primary-text)}.Button-module_button__18Bed.Button-module_primary-outlined__P6wo5{background-color:var(--color-white);border:1px solid var(--color-btn-outlined-primary-border);color:var(--color-btn-primary-outlined)}.Button-module_button__18Bed.Button-module_tertiary__Nd7xM{background-color:var(--color-btn-tertiary-bg);color:var(--color-btn-tertiary-text)}.Button-module_button__18Bed.Button-module_warning__1voOb{background-color:var(--color-btn-warning-bg);color:var(--color-btn-warning-text)}.Button-module_button__18Bed.Button-module_outline__TFr94{background-color:var(--color-white);border:1px solid var(--color-btn-outline-border);color:var(--color-btn-outline-text)}.Button-module_button__18Bed:hover.Button-module_primary__st6yY{background-color:var(--color-btn-primary-bg-hover)}.Button-module_button__18Bed:hover.Button-module_secondary__j-3rj{background-color:var(--color-btn-secondary-bg-hover)}.Button-module_button__18Bed:hover.Button-module_danger__Hxs5n{background-color:var(--color-btn-danger-bg-hover)}.Button-module_button__18Bed:hover.Button-module_primary-outlined__P6wo5{background-color:var(--color-btn-primary-outlined-hover)}.Button-module_button__18Bed:hover.Button-module_tertiary__Nd7xM{background-color:var(--color-btn-tertiary-bg-hover)}.Button-module_button__18Bed:hover.Button-module_warning__1voOb{background-color:var(--color-btn-warning-bg-hover)}.Button-module_button__18Bed:hover.Button-module_outline__TFr94{background-color:var(--color-btn-outline-bg-hover)}.Button-module_button__18Bed:active.Button-module_primary__st6yY{background-color:var(--color-btn-primary-bg-active)}.Button-module_button__18Bed:active.Button-module_secondary__j-3rj{background-color:var(--color-btn-secondary-bg-active)}.Button-module_button__18Bed:active.Button-module_danger__Hxs5n{background-color:var(--color-btn-danger-bg-active)}.Button-module_button__18Bed:active.Button-module_primary-outlined__P6wo5{background-color:var(--color-btn-primary-outlined-active)}.Button-module_button__18Bed:active.Button-module_tertiary__Nd7xM{background-color:var(--color-btn-tertiary-bg-active)}.Button-module_button__18Bed:active.Button-module_warning__1voOb{background-color:var(--color-btn-warning-bg-active)}.Button-module_button__18Bed:active.Button-module_outline__TFr94{background-color:var(--color-btn-outline-bg-active)}.Button-module_button__18Bed:focus.Button-module_primary__st6yY{outline:2px solid var(--color-btn-primary-focus-border)}.Button-module_button__18Bed:focus.Button-module_secondary__j-3rj{outline:2px solid var(--color-btn-secondary-focus-border)}.Button-module_button__18Bed:focus.Button-module_danger__Hxs5n{outline:2px solid var(--color-btn-danger-focus-border)}.Button-module_button__18Bed:focus.Button-module_primary-outlined__P6wo5{outline:2px solid var(--color-btn-primary-outlined-focus)}.Button-module_button__18Bed:focus.Button-module_tertiary__Nd7xM{outline:2px solid var(--color-btn-tertiary-focus-border)}.Button-module_button__18Bed:focus.Button-module_warning__1voOb{outline:2px solid var(--color-btn-warning-focus-border)}.Button-module_button__18Bed:focus.Button-module_outline__TFr94{outline:2px solid var(--color-btn-outline-focus-border)}");const c=o=>{var{variant:t="primary",className:n,children:l}=o,a=i(o,["variant","className","children"]);return e.jsx("button",Object.assign({className:u(s.button,t&&s[t],n)},a,{children:l}))};var g={button:"ButtonV1-module_button__NVATw",iconOnly:"ButtonV1-module_iconOnly__8uO1G",small:"ButtonV1-module_small__VXuQn",large:"ButtonV1-module_large__VBmZG",medium:"ButtonV1-module_medium__Kbj6C",text:"ButtonV1-module_text__fsgIT",contained:"ButtonV1-module_contained__3odUU",outlined:"ButtonV1-module_outlined__fBwOa",fullWidth:"ButtonV1-module_fullWidth__3bzGN",icon:"ButtonV1-module_icon__E1hc4",loadingIndicator:"ButtonV1-module_loadingIndicator__MVbPU",loadingSpacing:"ButtonV1-module_loadingSpacing__J8D3p",label:"ButtonV1-module_label__bBH8v",spinner:"ButtonV1-module_spinner__g--dg",spin:"ButtonV1-module_spin__CxbXc",loading:"ButtonV1-module_loading__q3Loz",primary:"ButtonV1-module_primary__nfYsS",secondary:"ButtonV1-module_secondary__HsFea",success:"ButtonV1-module_success__BngMC",error:"ButtonV1-module_error__T-K4-"};r(".ButtonV1-module_button__NVATw{align-items:center;border:none;border-radius:8px;cursor:pointer;display:inline-flex;font-size:14px;font-weight:600;gap:.5rem;height:40px;justify-content:center;line-height:20px;padding:.5rem 1rem;transition:all .3s ease}.ButtonV1-module_button__NVATw:disabled{cursor:not-allowed;opacity:.5}.ButtonV1-module_button__NVATw:active{transform:scale(.98)}.ButtonV1-module_button__NVATw:focus{outline:2px solid var(--color-btn-focus-border);outline-offset:2px}.ButtonV1-module_button__NVATw:hover{background-color:inherit}.ButtonV1-module_iconOnly__8uO1G{padding:.5rem}.ButtonV1-module_iconOnly__8uO1G.ButtonV1-module_small__VXuQn{padding:.25rem}.ButtonV1-module_iconOnly__8uO1G.ButtonV1-module_large__VBmZG{padding:.75rem}.ButtonV1-module_small__VXuQn{font-size:12px;height:32px;padding:.25rem .75rem}.ButtonV1-module_medium__Kbj6C{font-size:14px;height:40px;padding:.5rem 1rem}.ButtonV1-module_large__VBmZG{font-size:16px;height:48px;padding:.75rem 1.25rem}.ButtonV1-module_text__fsgIT{background:none;color:var(--color-primary)}.ButtonV1-module_contained__3odUU{background-color:var(--color-primary);color:#fff}.ButtonV1-module_contained__3odUU:hover{background-color:var(--color-primary-dark)}.ButtonV1-module_outlined__fBwOa{background:none;border:1px solid var(--color-primary);color:var(--color-primary)}.ButtonV1-module_outlined__fBwOa:hover{background-color:var(--color-primary-light)}.ButtonV1-module_fullWidth__3bzGN{width:100%}.ButtonV1-module_icon__E1hc4,.ButtonV1-module_loadingIndicator__MVbPU{align-items:center;display:inline-flex}.ButtonV1-module_loadingSpacing__J8D3p{display:inline-block;width:.5rem}.ButtonV1-module_label__bBH8v{display:inline-block}.ButtonV1-module_spinner__g--dg{animation:ButtonV1-module_spin__CxbXc .6s linear infinite;border:2px solid transparent;border-radius:50%;border-top-color:currentcolor;height:1rem;width:1rem}@keyframes ButtonV1-module_spin__CxbXc{to{transform:rotate(1turn)}}.ButtonV1-module_loading__q3Loz{pointer-events:none}.ButtonV1-module_primary__nfYsS{--color-primary:#1976d2;--color-primary-light:#e3f2fd;--color-primary-dark:#1565c0}.ButtonV1-module_secondary__HsFea{--color-primary:#9c27b0;--color-primary-light:#f3e5f5;--color-primary-dark:#7b1fa2}.ButtonV1-module_success__BngMC{--color-primary:#2e7d32;--color-primary-light:#e8f5e9;--color-primary-dark:#1b5e20}.ButtonV1-module_error__T-K4-{--color-primary:#d32f2f;--color-primary-light:#fcebea;--color-primary-dark:#c62828}");var m={"checkbox-wrapper":"CheckboxField-module_checkbox-wrapper__dPwPZ","label-top":"CheckboxField-module_label-top__ekfuW","label-bottom":"CheckboxField-module_label-bottom__xmfNo",disabled:"CheckboxField-module_disabled__0kKrN","field-error":"CheckboxField-module_field-error__1PiyX","checkbox-custom":"CheckboxField-module_checkbox-custom__g6cL6","size-small":"CheckboxField-module_size-small__Gzent","size-medium":"CheckboxField-module_size-medium__JShpf","size-large":"CheckboxField-module_size-large__uvk8v","checkbox-label":"CheckboxField-module_checkbox-label__EWPA1","checkbox-input":"CheckboxField-module_checkbox-input__BNfbX","color-primary":"CheckboxField-module_color-primary__qwYbX","color-secondary":"CheckboxField-module_color-secondary__Mnn3D","checkbox-text":"CheckboxField-module_checkbox-text__lvBJd",required:"CheckboxField-module_required__PZMr9","error-message":"CheckboxField-module_error-message__BmYTW"};r('.CheckboxField-module_checkbox-wrapper__dPwPZ{align-items:center;display:flex;gap:.5rem;position:relative}.CheckboxField-module_checkbox-wrapper__dPwPZ.CheckboxField-module_label-bottom__xmfNo,.CheckboxField-module_checkbox-wrapper__dPwPZ.CheckboxField-module_label-top__ekfuW{align-items:flex-start;flex-direction:column}.CheckboxField-module_checkbox-wrapper__dPwPZ.CheckboxField-module_disabled__0kKrN{cursor:not-allowed;opacity:.6}.CheckboxField-module_checkbox-wrapper__dPwPZ.CheckboxField-module_field-error__1PiyX .CheckboxField-module_checkbox-custom__g6cL6{border-color:#dc2626}.CheckboxField-module_checkbox-wrapper__dPwPZ.CheckboxField-module_size-small__Gzent .CheckboxField-module_checkbox-custom__g6cL6{height:16px;width:16px}.CheckboxField-module_checkbox-wrapper__dPwPZ.CheckboxField-module_size-small__Gzent .CheckboxField-module_checkbox-custom__g6cL6:after{height:9px;width:5px}.CheckboxField-module_checkbox-wrapper__dPwPZ.CheckboxField-module_size-medium__JShpf .CheckboxField-module_checkbox-custom__g6cL6{height:18px;width:18px}.CheckboxField-module_checkbox-wrapper__dPwPZ.CheckboxField-module_size-medium__JShpf .CheckboxField-module_checkbox-custom__g6cL6:after{height:10px;width:6px}.CheckboxField-module_checkbox-wrapper__dPwPZ.CheckboxField-module_size-large__uvk8v .CheckboxField-module_checkbox-custom__g6cL6{height:20px;width:20px}.CheckboxField-module_checkbox-wrapper__dPwPZ.CheckboxField-module_size-large__uvk8v .CheckboxField-module_checkbox-custom__g6cL6:after{height:11px;width:6px}.CheckboxField-module_checkbox-label__EWPA1{align-items:center;cursor:pointer;display:flex;gap:.5rem;position:relative}.CheckboxField-module_checkbox-input__BNfbX{cursor:pointer;height:1rem;left:0;margin:0;opacity:0;position:absolute;width:1rem;z-index:2}.CheckboxField-module_checkbox-custom__g6cL6{background-color:#fff;border:2px solid #ccc;border-radius:4px;display:inline-block;height:1rem;position:relative;transition:background-color .2s ease;width:1rem}.CheckboxField-module_checkbox-custom__g6cL6:after{border:solid #fff;border-width:0 2px 2px 0;content:"";display:none;height:10px;left:50%;position:absolute;top:50%;transform:translate(-50%,-60%) rotate(45deg);width:5px}.CheckboxField-module_checkbox-wrapper__dPwPZ.CheckboxField-module_color-primary__qwYbX .CheckboxField-module_checkbox-input__BNfbX:checked+.CheckboxField-module_checkbox-custom__g6cL6{background-color:#7f56d9;border-color:#7f56d9}.CheckboxField-module_checkbox-wrapper__dPwPZ.CheckboxField-module_color-secondary__Mnn3D .CheckboxField-module_checkbox-input__BNfbX:checked+.CheckboxField-module_checkbox-custom__g6cL6{background-color:#ff0;border-color:#ff0}.CheckboxField-module_checkbox-input__BNfbX:checked+.CheckboxField-module_checkbox-custom__g6cL6:after{display:block}.CheckboxField-module_checkbox-text__lvBJd{font-size:.9rem}.CheckboxField-module_required__PZMr9{color:#dc2626;margin-left:2px}.CheckboxField-module_error-message__BmYTW{color:#dc2626;font-size:12px;margin-top:.25rem}');var p={wrapper:"EmailField-module_wrapper__VZ3zF",label:"EmailField-module_label__ZBKa7",required:"EmailField-module_required__OVmUY","email-container":"EmailField-module_email-container__Sg-6q","email-icon":"EmailField-module_email-icon__nrGRz","field-error":"EmailField-module_field-error__U-W0Y","email-input":"EmailField-module_email-input__H8Q-t","error-message":"EmailField-module_error-message__2Pgdz"};r(".EmailField-module_wrapper__VZ3zF{display:flex;flex-direction:column;gap:4px;position:relative;width:100%}.EmailField-module_label__ZBKa7{color:#111827;font-family:Inter,sans-serif;font-size:14px;font-weight:500}.EmailField-module_required__OVmUY{color:#dc2626;font-family:Inter,sans-serif;font-size:14px;margin-left:2px}.EmailField-module_email-container__Sg-6q{border:1px solid #d1d5db;border-radius:8px;display:flex;overflow:hidden;transition:border-color .2s ease-in-out}.EmailField-module_email-container__Sg-6q:focus-within{border-color:#7f56d9}.EmailField-module_email-icon__nrGRz{align-items:center;background-color:#fff;color:#6b7280;display:flex;justify-content:center;padding:0 12px}.EmailField-module_email-icon__nrGRz svg{height:18px;width:18px}.EmailField-module_field-error__U-W0Y{border-color:#dc2626}.EmailField-module_email-input__H8Q-t{border:none;color:#111827;flex:1;font-family:Inter,sans-serif;font-size:14px;outline:none;padding:10px 14px;width:100%}.EmailField-module_email-input__H8Q-t:disabled{background-color:#f9fafb;color:#9ca3af;cursor:not-allowed;font-family:Inter,sans-serif}.EmailField-module_error-message__2Pgdz{color:#dc2626;font-size:12px}");var h="MultiSelectField-module_wrapper__RPcXA",f="MultiSelectField-module_label__QeAi9",_="MultiSelectField-module_required__yysY5",b="MultiSelectField-module_input-container__MqPsg",C="MultiSelectField-module_field-error__4cOD8",y="MultiSelectField-module_field-input__wiEx3";r(".MultiSelectField-module_wrapper__RPcXA{display:flex;flex-direction:column;gap:4px;position:relative;width:100%}.MultiSelectField-module_wrapper__RPcXA:hover .MultiSelectField-module_custom-textfield-tooltip__3-u-E{opacity:1;visibility:visible}.MultiSelectField-module_label__QeAi9{color:#111827;font-family:Inter,sans-serif;font-size:14px;font-weight:500}.MultiSelectField-module_required__yysY5{color:#dc2626;font-family:Inter,sans-serif;font-size:14px;margin-left:2px}.MultiSelectField-module_input-container__MqPsg{border:1px solid #d1d5db;border-radius:8px;display:flex;overflow:hidden;transition:border-color .2s ease-in-out}.MultiSelectField-module_input-container__MqPsg:focus-within{border-color:#7f56d9}.MultiSelectField-module_input-container__MqPsg.MultiSelectField-module_disabled__1jvI6{background-color:#f9fafb;border-color:#e5e7eb}.MultiSelectField-module_input-container__MqPsg.MultiSelectField-module_disabled__1jvI6 .MultiSelectField-module_custom-textfield-prefix__wC5Ll{background-color:#f3f4f6;color:#9ca3af}.MultiSelectField-module_field-error__4cOD8{border-color:#dc2626}.MultiSelectField-module_field-input__wiEx3{border:none;color:#111827;flex:1;font-family:Inter,sans-serif;font-size:14px;outline:none;padding:10px 14px;width:100%}.MultiSelectField-module_field-input__wiEx3:disabled{background-color:#f9fafb;color:#9ca3af;cursor:not-allowed;font-family:Inter,sans-serif}.MultiSelectField-module_dropdown-label__QZcNI{color:#dc2626!important;font-family:Inter,sans-serif;font-size:14px;font-weight:500}");var x={wrapper:"NumberField-module_wrapper__BxUZu",label:"NumberField-module_label__xgumx",required:"NumberField-module_required__6sWDW","field-container":"NumberField-module_field-container__Fmurv","field-error":"NumberField-module_field-error__dLV87","number-input":"NumberField-module_number-input__z1PAp","error-message":"NumberField-module_error-message__ILu-r"};r(".NumberField-module_wrapper__BxUZu{display:flex;flex-direction:column;gap:4px;position:relative;width:100%}.NumberField-module_label__xgumx{color:#111827;font-family:Inter,sans-serif;font-size:14px;font-weight:500}.NumberField-module_required__6sWDW{color:#dc2626;font-family:Inter,sans-serif;font-size:14px;margin-left:2px}.NumberField-module_field-container__Fmurv{border:1px solid #d1d5db;border-radius:8px;display:flex;overflow:hidden;transition:border-color .2s ease-in-out}.NumberField-module_field-container__Fmurv:focus-within{border-color:#7f56d9}.NumberField-module_field-error__dLV87{border-color:#dc2626}.NumberField-module_number-input__z1PAp{border:none;color:#111827;flex:1;font-family:Inter,sans-serif;font-size:14px;outline:none;padding:10px 14px;width:100%}.NumberField-module_number-input__z1PAp:disabled{background-color:#f9fafb;color:#9ca3af;cursor:not-allowed;font-family:Inter,sans-serif}.NumberField-module_error-message__ILu-r{color:#dc2626;font-size:12px}");var v="PhoneField-module_wrapper__4RF-f",w="PhoneField-module_label__DOYhx",S="PhoneField-module_required__P5Xoy",R="PhoneField-module_input-container__Lag-b",F="PhoneField-module_field-error__W8zll",B="PhoneField-module_field-input__8mQ7h";r(".PhoneField-module_wrapper__4RF-f{display:flex;flex-direction:column;gap:4px;position:relative;width:100%}.PhoneField-module_wrapper__4RF-f:hover .PhoneField-module_custom-textfield-tooltip__MXJzj{opacity:1;visibility:visible}.PhoneField-module_label__DOYhx{color:#111827;font-family:Inter,sans-serif;font-size:14px;font-weight:500}.PhoneField-module_required__P5Xoy{color:#dc2626;font-family:Inter,sans-serif;font-size:14px;margin-left:2px}.PhoneField-module_input-container__Lag-b{border:1px solid #d1d5db;border-radius:8px;display:flex;overflow:hidden;transition:border-color .2s ease-in-out}.PhoneField-module_input-container__Lag-b:focus-within{border-color:#7f56d9}.PhoneField-module_input-container__Lag-b.PhoneField-module_disabled__4iC9k{background-color:#f9fafb;border-color:#e5e7eb}.PhoneField-module_input-container__Lag-b.PhoneField-module_disabled__4iC9k .PhoneField-module_custom-textfield-prefix__SPk5T{background-color:#f3f4f6;color:#9ca3af}.PhoneField-module_field-error__W8zll{border-color:#dc2626}.PhoneField-module_field-input__8mQ7h{border:none;color:#111827;flex:1;font-family:Inter,sans-serif;font-size:14px;outline:none;padding:10px 14px;width:100%}.PhoneField-module_field-input__8mQ7h:disabled{background-color:#f9fafb;color:#9ca3af;cursor:not-allowed;font-family:Inter,sans-serif}");var k=[{country:"Australia",cities:["Sydney","Melbourne","Brisbane","Perth","Adelaide","Canberra","Hobart","Darwin","Gold Coast","Newcastle","Wollongong","Geelong","Cairns","Townsville","Toowoomba","Ballarat","Bendigo","Launceston","Alice Springs","Rockhampton"],states:["Australian Capital Territory","New South Wales","Northern Territory","Queensland","South Australia","Tasmania","Victoria","Western Australia"],phoneCountryCode:"+61",flagCode:"AU"},{country:"Canada",cities:["Toronto","Vancouver","Montreal","Calgary","Edmonton","Ottawa","Winnipeg","Quebec City","Hamilton","Kitchener","Halifax","Victoria","London","Saskatoon","Regina","St. John's","Mississauga","Brampton","Surrey","Burnaby"],states:["Alberta","British Columbia","Manitoba","New Brunswick","Newfoundland and Labrador","Northwest Territories","Nova Scotia","Nunavut","Ontario","Prince Edward Island","Quebec","Saskatchewan","Yukon"],phoneCountryCode:"+1",flagCode:"CA"},{country:"Finland",cities:["Helsinki","Espoo","Tampere","Vantaa","Oulu","Turku","Jyväskylä","Lahti","Kuopio","Kouvola","Pori","Joensuu","Lappeenranta","Hämeenlinna","Vaasa","Rovaniemi","Seinäjoki","Mikkeli","Kotka","Salo"],states:["Åland Islands","Central Finland","Central Ostrobothnia","Finland Proper","Kainuu","Kymenlaakso","Lapland","North Karelia","Northern Ostrobothnia","Northern Savonia","Ostrobothnia","Päijänne Tavastia","Pirkanmaa","Satakunta","South Karelia","Southern Ostrobothnia","Southern Savonia","Tavastia Proper","Uusimaa"],phoneCountryCode:"+358",flagCode:"FI"},{country:"France",cities:["Paris","Marseille","Lyon","Toulouse","Nice","Nantes","Strasbourg","Montpellier","Bordeaux","Lille","Rennes","Reims","Le Havre","Saint-Étienne","Toulon","Grenoble","Dijon","Angers","Nîmes","Villeurbanne"],states:["Ain","Aisne","Allier","Alpes-de-Haute-Provence","Alpes-Maritimes","Alsace","Ardèche","Ardennes","Ariège","Aube","Aude","Auvergne-Rhône-Alpes","Aveyron","Bas-Rhin","Bouches-du-Rhône","Bourgogne-Franche-Comté","Bretagne","Calvados","Cantal","Centre-Val de Loire","Charente","Charente-Maritime","Cher","Clipperton","Corrèze","Corse","Corse-du-Sud","Côte-d'Or","Côtes-d'Armor","Creuse","Deux-Sèvres","Dordogne","Doubs","Drôme","Essonne","Eure","Eure-et-Loir","Finistère","French Guiana","French Polynesia","French Southern and Antarctic Lands","Gard","Gers","Gironde","Grand-Est","Guadeloupe","Haut-Rhin","Haute-Corse","Haute-Garonne","Haute-Loire","Haute-Marne","Haute-Saône","Haute-Savoie","Haute-Vienne","Hautes-Alpes","Hautes-Pyrénées","Hauts-de-France","Hauts-de-Seine","Hérault","Île-de-France","Ille-et-Vilaine","Indre","Indre-et-Loire","Isère","Jura","La Réunion","Landes","Loir-et-Cher","Loire","Loire-Atlantique","Loiret","Lot","Lot-et-Garonne","Lozère","Maine-et-Loire","Manche","Marne","Martinique","Mayenne","Mayotte","Métropole de Lyon","Meurthe-et-Moselle","Meuse","Morbihan","Moselle","Nièvre","Nord","Normandie","Nouvelle-Aquitaine","Occitanie","Oise","Orne","Paris","Pas-de-Calais","Pays-de-la-Loire","Provence-Alpes-Côte-d’Azur","Puy-de-Dôme","Pyrénées-Atlantiques","Pyrénées-Orientales","Rhône","Saint Pierre and Miquelon","Saint-Barthélemy","Saint-Martin","Saône-et-Loire","Sarthe","Savoie","Seine-et-Marne","Seine-Maritime","Seine-Saint-Denis","Somme","Tarn","Tarn-et-Garonne","Territoire de Belfort","Val-d'Oise","Val-de-Marne","Var","Vaucluse","Vendée","Vienne","Vosges","Wallis and Futuna","Yonne","Yvelines"],phoneCountryCode:"+33",flagCode:"FR"},{country:"Germany",cities:["Berlin","Hamburg","Munich","Cologne","Frankfurt","Stuttgart","Düsseldorf","Dortmund","Essen","Leipzig","Bremen","Dresden","Hanover","Nuremberg","Duisburg","Bochum","Wuppertal","Bielefeld","Bonn","Mannheim"],states:["Baden-Württemberg","Bavaria","Berlin","Brandenburg","Bremen","Hamburg","Hessen","Lower Saxony","Mecklenburg-Vorpommern","North Rhine-Westphalia","Rhineland-Palatinate","Saarland","Saxony","Saxony-Anhalt","Schleswig-Holstein","Thuringia"],phoneCountryCode:"+49",flagCode:"DE"},{country:"India",cities:["Mumbai","Delhi","Bangalore","Hyderabad","Chennai","Kolkata","Pune","Ahmedabad","Jaipur","Surat","Lucknow","Kanpur","Nagpur","Visakhapatnam","Bhopal","Patna","Vadodara","Ghaziabad","Ludhiana","Agra","Nashik","Meerut","Rajkot","Coimbatore","Indore","Thane","Ranchi","Guwahati","Chandigarh","Mysore"],states:["Andaman and Nicobar Islands","Andhra Pradesh","Arunachal Pradesh","Assam","Bihar","Chandigarh","Chhattisgarh","Dadra and Nagar Haveli and Daman and Diu","Delhi","Goa","Gujarat","Haryana","Himachal Pradesh","Jammu and Kashmir","Jharkhand","Karnataka","Kerala","Ladakh","Lakshadweep","Madhya Pradesh","Maharashtra","Manipur","Meghalaya","Mizoram","Nagaland","Odisha","Puducherry","Punjab","Rajasthan","Sikkim","Tamil Nadu","Telangana","Tripura","Uttar Pradesh","Uttarakhand","West Bengal"],phoneCountryCode:"+91",flagCode:"IN"},{country:"Italy",cities:["Rome","Milan","Naples","Turin","Palermo","Genoa","Bologna","Florence","Venice","Verona","Catania","Bari","Padua","Trieste","Taranto","Brescia","Parma","Prato","Modena","Reggio Calabria"],states:["Abruzzo","Agrigento","Alessandria","Ancona","Aosta Valley","Apulia","Ascoli Piceno","Asti","Avellino","Barletta-Andria-Trani","Basilicata","Belluno","Benevento","Bergamo","Biella","Brescia","Brindisi","Calabria","Caltanissetta","Campania","Campobasso","Caserta","Catanzaro","Chieti","Como","Cosenza","Cremona","Crotone","Cuneo","Emilia-Romagna","Enna","Fermo","Ferrara","Foggia","Forlì-Cesena","Friuli–Venezia Giulia","Frosinone","Gorizia","Grosseto","Imperia","Isernia","L'Aquila","La Spezia","Latina","Lazio","Lecce","Lecco","Liguria","Livorno","Lodi","Lombardy","Lucca","Macerata","Mantua","Marche","Massa and Carrara","Matera","Medio Campidano","Modena","Molise","Monza and Brianza","Novara","Nuoro","Oristano","Padua","Palermo","Parma","Pavia","Perugia","Pesaro and Urbino","Pescara","Piacenza","Piedmont","Pisa","Pistoia","Pordenone","Potenza","Prato","Ragusa","Ravenna","Reggio Emilia","Rieti","Rimini","Rovigo","Salerno","Sardinia","Sassari","Savona","Sicily","Siena","Siracusa","Sondrio","South Sardinia","Taranto","Teramo","Terni","Trapani","Trentino-South Tyrol","Treviso","Trieste","Tuscany","Udine","Umbria","Varese","Veneto","Verbano-Cusio-Ossola","Vercelli","Verona","Vibo Valentia","Vicenza","Viterbo"],phoneCountryCode:"+39",flagCode:"IT"},{country:"Netherlands",cities:["Amsterdam","Rotterdam","The Hague","Utrecht","Eindhoven","Tilburg","Groningen","Almere","Breda","Nijmegen","Enschede","Apeldoorn","Haarlem","Arnhem","Zaanstad","Amersfoort","Zwolle","Leiden","Dordrecht","Maastricht"],states:["Bonaire","Drenthe","Flevoland","Friesland","Gelderland","Groningen","Limburg","North Brabant","North Holland","Overijssel","Saba","Sint Eustatius","South Holland","Utrecht","Zeeland"],phoneCountryCode:"+31",flagCode:"NL"},{country:"New Zealand",cities:["Auckland","Wellington","Christchurch","Hamilton","Tauranga","Napier","Dunedin","Palmerston North","Nelson","Rotorua","New Plymouth","Whangarei","Invercargill","Gisborne","Hastings","Porirua","Timaru","Blenheim","Whanganui","Upper Hutt"],states:["Auckland Region","Bay of Plenty Region","Canterbury Region","Chatham Islands","Gisborne District","Hawke's Bay Region","Manawatu-Wanganui Region","Marlborough Region","Nelson Region","Northland Region","Otago Region","Southland Region","Taranaki Region","Tasman District","Waikato Region","Wellington Region","West Coast Region"],phoneCountryCode:"+64",flagCode:"NZ"},{country:"Philippines",cities:["Manila","Quezon City","Cebu City","Davao City","Baguio","Makati","Taguig","Pasig","Caloocan","Parañaque","Las Piñas","Valenzuela","Mandaluyong","Marikina","Zamboanga City","Angeles City","Iloilo City","Bacolod","Cagayan de Oro","General Santos"],states:["Abra","Agusan del Norte","Agusan del Sur","Aklan","Albay","Antique","Apayao","Aurora","Autonomous Region in Muslim Mindanao","Basilan","Bataan","Batanes","Batangas","Benguet","Bicol","Biliran","Bohol","Bukidnon","Bulacan","Cagayan","Cagayan Valley","Calabarzon","Camarines Norte","Camarines Sur","Camiguin","Capiz","Caraga","Catanduanes","Cavite","Cebu","Central Luzon","Central Visayas","Compostela Valley","Cordillera Administrative","Cotabato","Davao","Davao del Norte","Davao del Sur","Davao Occidental","Davao Oriental","Dinagat Islands","Eastern Samar","Eastern Visayas","Guimaras","Ifugao","Ilocos","Ilocos Norte","Ilocos Sur","Iloilo","Isabela","Kalinga","La Union","Laguna","Lanao del Norte","Lanao del Sur","Leyte","Maguindanao","Marinduque","Masbate","Metro Manila","Mimaropa","Misamis Occidental","Misamis Oriental","Mountain Province","Negros Occidental","Negros Oriental","Northern Mindanao","Northern Samar","Nueva Ecija","Nueva Vizcaya","Occidental Mindoro","Oriental Mindoro","Palawan","Pampanga","Pangasinan","Quezon","Quirino","Rizal","Romblon","Sarangani","Siquijor","Soccsksargen","Sorsogon","South Cotabato","Southern Leyte","Sultan Kudarat","Sulu","Surigao del Norte","Surigao del Sur","Tarlac","Tawi-Tawi","Western Samar","Western Visayas","Zambales","Zamboanga del Norte","Zamboanga del Sur","Zamboanga Peninsula","Zamboanga Sibugay"],phoneCountryCode:"+63",flagCode:"PH"},{country:"Poland",cities:["Warsaw","Kraków","Łódź","Wrocław","Poznań","Gdańsk","Szczecin","Bydgoszcz","Lublin","Katowice","Białystok","Gdynia","Częstochowa","Radom","Rzeszów","Toruń","Kielce","Gliwice","Zabrze","Olsztyn"],states:["Greater Poland","Holy Cross","Kuyavia-Pomerania","Lesser Poland","Lower Silesia","Lublin","Lubusz","Łódź","Mazovia","Podlaskie","Pomerania","Silesia","Subcarpathia","Upper Silesia","Warmia-Masuria","West Pomerania"],phoneCountryCode:"+48",flagCode:"PL"},{country:"Saudi Arabia",cities:["Riyadh","Jeddah","Mecca","Medina","Dammam","Khobar","Tabuk","Abha","Taif","Hail","Jubail","Yanbu","Al-Kharj","Najran","Qassim","Al-Ahsa","Buraidah","Arar","Sakaka","Al-Bahah"],states:["'Asir","Al Bahah","Al Jawf","Al Madinah","Al-Qassim","Eastern Province","Ha'il","Jizan","Makkah","Najran","Northern Borders","Riyadh","Tabuk"],phoneCountryCode:"+966",flagCode:"SA"},{country:"South Africa",cities:["Johannesburg","Cape Town","Durban","Pretoria","Port Elizabeth","Bloemfontein","East London","Nelspruit","Polokwane","Kimberley","Rustenburg","Pietermaritzburg","George","Grahamstown","Vereeniging","Welkom","Uitenhage","Soweto","Richards Bay","Mthatha"],states:["Eastern Cape","Free State","Gauteng","KwaZulu-Natal","Limpopo","Mpumalanga","North West","Northern Cape","Western Cape"],phoneCountryCode:"+27",flagCode:"ZA"},{country:"Sri Lanka",cities:["Colombo","Kandy","Galle","Jaffna","Nuwara Eliya","Trincomalee","Anuradhapura","Batticaloa","Matara","Negombo","Badulla","Ratnapura","Polonnaruwa","Kurunegala","Ampara","Mannar","Puttalam","Hambantota","Kalutara","Vavuniya"],states:["Ampara District","Anuradhapura District","Badulla District","Batticaloa District","Central Province","Colombo District","Eastern Province","Galle District","Gampaha District","Hambantota District","Jaffna District","Kalutara District","Kandy District","Kegalle District","Kilinochchi District","Mannar District","Matale District","Matara District","Monaragala District","Mullaitivu District","North Central Province","North Western Province","Northern Province","Nuwara Eliya District","Polonnaruwa District","Puttalam District","Ratnapura district","Sabaragamuwa Province","Southern Province","Trincomalee District","Uva Province","Vavuniya District","Western Province"],phoneCountryCode:"+94",flagCode:"LK"},{country:"Switzerland",cities:["Zurich","Geneva","Basel","Lausanne","Bern","Lucerne","St. Gallen","Lugano","Biel/Bienne","Thun","Winterthur","Fribourg","Schaffhausen","Chur","Neuchâtel","Sion","Aarau","Solothurn","Zug","Bellinzona"],states:["Aargau","Appenzell Ausserrhoden","Appenzell Innerrhoden","Basel-Land","Basel-Stadt","Bern","Fribourg","Geneva","Glarus","Graubünden","Jura","Lucerne","Neuchâtel","Nidwalden","Obwalden","Schaffhausen","Schwyz","Solothurn","St. Gallen","Thurgau","Ticino","Uri","Valais","Vaud","Zug","Zürich"],phoneCountryCode:"+41",flagCode:"CH"},{country:"United Arab Emirates",cities:["Abu Dhabi","Al Ain","Al Khan","Ar Ruways","As Satwah","Dayrah","Dubai","Fujairah","Ras al-Khaimah","Sharjah"],states:["Abu Dhabi Emirate","Ajman Emirate","Dubai","Fujairah","Ras al-Khaimah","Sharjah Emirate","Umm al-Quwain"],phoneCountryCode:"+971",flagCode:"AE"},{country:"United Kingdom",cities:["London","Birmingham","Manchester","Glasgow","Liverpool","Leeds","Edinburgh","Sheffield","Bristol","Cardiff","Belfast","Nottingham","Newcastle upon Tyne","Leicester","Southampton","Portsmouth","Coventry","Bradford","Brighton","Plymouth","Derby","Stoke-on-Trent","Wolverhampton","Swansea","Aberdeen","Norwich","Oxford","Cambridge","York","Exeter"],states:["Aberdeen","Aberdeenshire","Angus","Antrim","Antrim and Newtownabbey","Ards","Ards and North Down","Argyll and Bute","Armagh City and District Council","Armagh, Banbridge and Craigavon","Ascension Island","Ballymena Borough","Ballymoney","Banbridge","Barnsley","Bath and North East Somerset","Bedford","Belfast district","Birmingham","Blackburn with Darwen","Blackpool","Blaenau Gwent County Borough","Bolton","Bournemouth","Bracknell Forest","Bradford","Bridgend County Borough","Brighton and Hove","Buckinghamshire","Bury","Caerphilly County Borough","Calderdale","Cambridgeshire","Carmarthenshire","Carrickfergus Borough Council","Castlereagh","Causeway Coast and Glens","Central Bedfordshire","Ceredigion","Cheshire East","Cheshire West and Chester","City and County of Cardiff","City and County of Swansea","City of Bristol","City of Derby","City of Kingston upon Hull","City of Leicester","City of London","City of Nottingham","City of Peterborough","City of Plymouth","City of Portsmouth","City of Southampton","City of Stoke-on-Trent","City of Sunderland","City of Westminster","City of Wolverhampton","City of York","Clackmannanshire","Coleraine Borough Council","Conwy County Borough","Cookstown District Council","Cornwall","County Durham","Coventry","Craigavon Borough Council","Cumbria","Darlington","Denbighshire","Derbyshire","Derry City and Strabane","Derry City Council","Devon","Doncaster","Dorset","Down District Council","Dudley","Dumfries and Galloway","Dundee","Dungannon and South Tyrone Borough Council","East Ayrshire","East Dunbartonshire","East Lothian","East Renfrewshire","East Riding of Yorkshire","East Sussex","Edinburgh","England","Essex","Falkirk","Fermanagh and Omagh","Fermanagh District Council","Fife","Flintshire","Gateshead","Glasgow","Gloucestershire","Gwynedd","Halton","Hampshire","Hartlepool","Herefordshire","Hertfordshire","Highland","Inverclyde","Isle of Wight","Isles of Scilly","Kent","Kirklees","Knowsley","Lancashire","Larne Borough Council","Leeds","Leicestershire","Limavady Borough Council","Lincolnshire","Lisburn and Castlereagh","Lisburn City Council","Liverpool","London Borough of Barking and Dagenham","London Borough of Barnet","London Borough of Bexley","London Borough of Brent","London Borough of Bromley","London Borough of Camden","London Borough of Croydon","London Borough of Ealing","London Borough of Enfield","London Borough of Hackney","London Borough of Hammersmith and Fulham","London Borough of Haringey","London Borough of Harrow","London Borough of Havering","London Borough of Hillingdon","London Borough of Hounslow","London Borough of Islington","London Borough of Lambeth","London Borough of Lewisham","London Borough of Merton","London Borough of Newham","London Borough of Redbridge","London Borough of Richmond upon Thames","London Borough of Southwark","London Borough of Sutton","London Borough of Tower Hamlets","London Borough of Waltham Forest","London Borough of Wandsworth","Magherafelt District Council","Manchester","Medway","Merthyr Tydfil County Borough","Metropolitan Borough of Wigan","Mid and East Antrim","Mid Ulster","Middlesbrough","Midlothian","Milton Keynes","Monmouthshire","Moray","Moyle District Council","Neath Port Talbot County Borough","Newcastle upon Tyne","Newport","Newry and Mourne District Council","Newry, Mourne and Down","Newtownabbey Borough Council","Norfolk","North Ayrshire","North Down Borough Council","North East Lincolnshire","North Lanarkshire","North Lincolnshire","North Somerset","North Tyneside","North Yorkshire","Northamptonshire","Northern Ireland","Northumberland","Nottinghamshire","Oldham","Omagh District Council","Orkney Islands","Outer Hebrides","Oxfordshire","Pembrokeshire","Perth and Kinross","Poole","Powys","Reading","Redcar and Cleveland","Renfrewshire","Rhondda Cynon Taf","Rochdale","Rotherham","Royal Borough of Greenwich","Royal Borough of Kensington and Chelsea","Royal Borough of Kingston upon Thames","Rutland","Saint Helena","Salford","Sandwell","Scotland","Scottish Borders","Sefton","Sheffield","Shetland Islands","Shropshire","Slough","Solihull","Somerset","South Ayrshire","South Gloucestershire","South Lanarkshire","South Tyneside","Southend-on-Sea","St Helens","Staffordshire","Stirling","Stockport","Stockton-on-Tees","Strabane District Council","Suffolk","Surrey","Swindon","Tameside","Telford and Wrekin","Thurrock","Torbay","Torfaen","Trafford","United Kingdom","Vale of Glamorgan","Wakefield","Wales","Walsall","Warrington","Warwickshire","West Berkshire","West Dunbartonshire","West Lothian","West Sussex","Wiltshire","Windsor and Maidenhead","Wirral","Wokingham","Worcestershire","Wrexham County Borough"],phoneCountryCode:"+44",flagCode:"GB"},{country:"United States",cities:["New York","Los Angeles","Chicago","Houston","Phoenix","Philadelphia","San Antonio","San Diego","Dallas","San Jose","Austin","Jacksonville","Fort Worth","Columbus","Charlotte","San Francisco","Indianapolis","Seattle","Denver","Washington","Boston","El Paso","Nashville","Detroit","Oklahoma City","Portland","Las Vegas","Memphis","Louisville","Baltimore","Milwaukee","Albuquerque","Tucson","Fresno","Sacramento","Kansas City","Atlanta","Miami","Colorado Springs","Raleigh"],states:["Alabama","Alaska","American Samoa","Arizona","Arkansas","Baker Island","California","Colorado","Connecticut","Delaware","District of Columbia","Florida","Georgia","Guam","Hawaii","Howland Island","Idaho","Illinois","Indiana","Iowa","Jarvis Island","Johnston Atoll","Kansas","Kentucky","Kingman Reef","Louisiana","Maine","Maryland","Massachusetts","Michigan","Midway Atoll","Minnesota","Mississippi","Missouri","Montana","Navassa Island","Nebraska","Nevada","New Hampshire","New Jersey","New Mexico","New York","North Carolina","North Dakota","Northern Mariana Islands","Ohio","Oklahoma","Oregon","Palmyra Atoll","Pennsylvania","Puerto Rico","Rhode Island","South Carolina","South Dakota","Tennessee","Texas","United States Minor Outlying Islands","United States Virgin Islands","Utah","Vermont","Virginia","Wake Island","Washington","West Virginia","Wisconsin","Wyoming"],phoneCountryCode:"+1",flagCode:"US"},{country:"Afghanistan",cities:[],states:["Badakhshan"],phoneCountryCode:"+93",flagCode:"AF"},{country:"Aland Islands",cities:[],states:["Brändö"],phoneCountryCode:"+358",flagCode:"AX"},{country:"Albania",cities:[],states:["Berat County"],phoneCountryCode:"+355",flagCode:"AL"},{country:"Algeria",cities:[],states:["Adrar"],phoneCountryCode:"+213",flagCode:"DZ"},{country:"Andorra",cities:[],states:["Andorra la Vella"],phoneCountryCode:"+376",flagCode:"AD"},{country:"Angola",cities:[],states:["Bengo Province"],phoneCountryCode:"+244",flagCode:"AO"},{country:"Anguilla",cities:[],states:["Blowing Point"],phoneCountryCode:"+1",flagCode:"AI"},{country:"Antigua and Barbuda",cities:[],states:["Barbuda"],phoneCountryCode:"+1",flagCode:"AG"},{country:"Argentina",cities:[],states:["Buenos Aires"],phoneCountryCode:"+54",flagCode:"AR"},{country:"Armenia",cities:[],states:["Aragatsotn Region"],phoneCountryCode:"+374",flagCode:"AM"},{country:"Aruba",cities:[],states:["Noord"],phoneCountryCode:"+297",flagCode:"AW"},{country:"Austria",cities:[],states:["Burgenland"],phoneCountryCode:"+43",flagCode:"AT"},{country:"Azerbaijan",cities:[],states:["Absheron District"],phoneCountryCode:"+994",flagCode:"AZ"},{country:"Bahrain",cities:[],states:["Capital"],phoneCountryCode:"+973",flagCode:"BH"},{country:"Bangladesh",cities:[],states:["Barisal "],phoneCountryCode:"+880",flagCode:"BD"},{country:"Barbados",cities:[],states:["Christ Church"],phoneCountryCode:"+1",flagCode:"BB"},{country:"Belarus",cities:[],states:["Brest Region"],phoneCountryCode:"+375",flagCode:"BY"},{country:"Belgium",cities:[],states:["Antwerp"],phoneCountryCode:"+32",flagCode:"BE"},{country:"Belize",cities:[],states:["Belize District"],phoneCountryCode:"+501",flagCode:"BZ"},{country:"Benin",cities:[],states:["Alibori Department"],phoneCountryCode:"+229",flagCode:"BJ"},{country:"Bermuda",cities:[],states:["Devonshire"],phoneCountryCode:"+1",flagCode:"BM"},{country:"Bhutan",cities:[],states:["Bumthang "],phoneCountryCode:"+975",flagCode:"BT"},{country:"Bolivia",cities:[],states:["Beni Department"],phoneCountryCode:"+591",flagCode:"BO"},{country:"Bonaire, Sint Eustatius and Saba",cities:[],states:["Bonaire"],phoneCountryCode:"+599",flagCode:"BQ"},{country:"Bosnia and Herzegovina",cities:[],states:["Bosnian Podrinje Canton"],phoneCountryCode:"+387",flagCode:"BA"},{country:"Botswana",cities:[],states:["Central District"],phoneCountryCode:"+267",flagCode:"BW"},{country:"Brazil",cities:[],states:["Acre"],phoneCountryCode:"+55",flagCode:"BR"},{country:"Brunei",cities:[],states:["Belait District"],phoneCountryCode:"+673",flagCode:"BN"},{country:"Bulgaria",cities:[],states:["Blagoevgrad Province"],phoneCountryCode:"+359",flagCode:"BG"},{country:"Burkina Faso",cities:[],states:["Balé Province"],phoneCountryCode:"+226",flagCode:"BF"},{country:"Burundi",cities:[],states:["Bubanza Province"],phoneCountryCode:"+257",flagCode:"BI"},{country:"Cambodia",cities:[],states:["Banteay Meanchey"],phoneCountryCode:"+855",flagCode:"KH"},{country:"Cameroon",cities:[],states:["Adamawa"],phoneCountryCode:"+237",flagCode:"CM"},{country:"Cape Verde",cities:[],states:["Barlavento Islands"],phoneCountryCode:"+238",flagCode:"CV"},{country:"Cayman Islands",cities:[],states:["Cayman Brac"],phoneCountryCode:"+1",flagCode:"KY"},{country:"Central African Republic",cities:[],states:["Bamingui-Bangoran Prefecture"],phoneCountryCode:"+236",flagCode:"CF"},{country:"Chad",cities:[],states:["Bahr el Gazel"],phoneCountryCode:"+235",flagCode:"TD"},{country:"Chile",cities:[],states:["Aisén del General Carlos Ibañez del Campo"],phoneCountryCode:"+56",flagCode:"CL"},{country:"China",cities:[],states:["Anhui"],phoneCountryCode:"+86",flagCode:"CN"},{country:"Colombia",cities:[],states:["Amazonas"],phoneCountryCode:"+57",flagCode:"CO"},{country:"Comoros",cities:[],states:["Anjouan"],phoneCountryCode:"+269",flagCode:"KM"},{country:"Congo",cities:[],states:["Bouenza Department"],phoneCountryCode:"+242",flagCode:"CG"},{country:"Costa Rica",cities:[],states:["Alajuela Province"],phoneCountryCode:"+506",flagCode:"CR"},{country:"Cote D'Ivoire (Ivory Coast)",cities:[],states:["Abidjan"],phoneCountryCode:"+225",flagCode:"CI"},{country:"Croatia",cities:[],states:["Bjelovar-Bilogora"],phoneCountryCode:"+385",flagCode:"HR"},{country:"Cuba",cities:[],states:["Artemisa Province"],phoneCountryCode:"+53",flagCode:"CU"},{country:"Cyprus",cities:[],states:["Famagusta District (Mağusa)"],phoneCountryCode:"+357",flagCode:"CY"},{country:"Czech Republic",cities:[],states:["Benešov"],phoneCountryCode:"+420",flagCode:"CZ"},{country:"Democratic Republic of the Congo",cities:[],states:["Bas-Uélé"],phoneCountryCode:"+243",flagCode:"CD"},{country:"Denmark",cities:[],states:["Capital Region of Denmark"],phoneCountryCode:"+45",flagCode:"DK"},{country:"Djibouti",cities:[],states:["Ali Sabieh Region"],phoneCountryCode:"+253",flagCode:"DJ"},{country:"Dominica",cities:[],states:["Saint Andrew Parish"],phoneCountryCode:"+1",flagCode:"DM"},{country:"Dominican Republic",cities:[],states:["Azua Province"],phoneCountryCode:"+1",flagCode:"DO"},{country:"Ecuador",cities:[],states:["Azuay"],phoneCountryCode:"+593",flagCode:"EC"},{country:"Egypt",cities:[],states:["Alexandria"],phoneCountryCode:"+20",flagCode:"EG"},{country:"El Salvador",cities:[],states:["Ahuachapán Department"],phoneCountryCode:"+503",flagCode:"SV"},{country:"Equatorial Guinea",cities:[],states:["Annobón Province"],phoneCountryCode:"+240",flagCode:"GQ"},{country:"Eritrea",cities:[],states:["Anseba Region"],phoneCountryCode:"+291",flagCode:"ER"},{country:"Estonia",cities:[],states:["Harju County"],phoneCountryCode:"+372",flagCode:"EE"},{country:"Eswatini",cities:[],states:["Hhohho District"],phoneCountryCode:"+268",flagCode:"SZ"},{country:"Ethiopia",cities:[],states:["Addis Ababa"],phoneCountryCode:"+251",flagCode:"ET"},{country:"Faroe Islands",cities:[],states:["Eysturoy"],phoneCountryCode:"+298",flagCode:"FO"},{country:"Fiji Islands",cities:[],states:["Ba"],phoneCountryCode:"+679",flagCode:"FJ"},{country:"Gabon",cities:[],states:["Estuaire Province"],phoneCountryCode:"+241",flagCode:"GA"},{country:"Georgia",cities:[],states:["Abkhazia"],phoneCountryCode:"+995",flagCode:"GE"},{country:"Ghana",cities:[],states:["Ahafo"],phoneCountryCode:"+233",flagCode:"GH"},{country:"Greece",cities:[],states:["Achaea Regional Unit"],phoneCountryCode:"+30",flagCode:"GR"},{country:"Grenada",cities:[],states:["Carriacou and Petite Martinique"],phoneCountryCode:"+1",flagCode:"GD"},{country:"Guam",cities:[],states:["Agana Heights"],phoneCountryCode:"+1",flagCode:"GU"},{country:"Guatemala",cities:[],states:["Alta Verapaz "],phoneCountryCode:"+502",flagCode:"GT"},{country:"Guinea",cities:[],states:["Beyla Prefecture"],phoneCountryCode:"+224",flagCode:"GN"},{country:"Guinea-Bissau",cities:[],states:["Bafatá"],phoneCountryCode:"+245",flagCode:"GW"},{country:"Guyana",cities:[],states:["Barima-Waini"],phoneCountryCode:"+592",flagCode:"GY"},{country:"Haiti",cities:[],states:["Artibonite"],phoneCountryCode:"+509",flagCode:"HT"},{country:"Honduras",cities:[],states:["Atlántida Department"],phoneCountryCode:"+504",flagCode:"HN"},{country:"Hong Kong S.A.R.",cities:[],states:["Central and Western"],phoneCountryCode:"+852",flagCode:"HK"},{country:"Hungary",cities:[],states:["Bács-Kiskun"],phoneCountryCode:"+36",flagCode:"HU"},{country:"Iceland",cities:[],states:["Capital Region"],phoneCountryCode:"+354",flagCode:"IS"},{country:"Indonesia",cities:[],states:["Aceh"],phoneCountryCode:"+62",flagCode:"ID"},{country:"Iran",cities:[],states:["Alborz"],phoneCountryCode:"+98",flagCode:"IR"},{country:"Iraq",cities:[],states:["Al Anbar"],phoneCountryCode:"+964",flagCode:"IQ"},{country:"Ireland",cities:[],states:["Carlow"],phoneCountryCode:"+353",flagCode:"IE"},{country:"Israel",cities:[],states:["Central District"],phoneCountryCode:"+972",flagCode:"IL"},{country:"Jamaica",cities:[],states:["Clarendon Parish"],phoneCountryCode:"+1",flagCode:"JM"},{country:"Japan",cities:[],states:["Aichi Prefecture"],phoneCountryCode:"+81",flagCode:"JP"},{country:"Jersey",cities:[],states:["Grouville"],phoneCountryCode:"+44",flagCode:"JE"},{country:"Jordan",cities:[],states:["Ajloun"],phoneCountryCode:"+962",flagCode:"JO"},{country:"Kazakhstan",cities:[],states:["Akmola Region"],phoneCountryCode:"+7",flagCode:"KZ"},{country:"Kenya",cities:[],states:["Baringo"],phoneCountryCode:"+254",flagCode:"KE"},{country:"Kiribati",cities:[],states:["Gilbert Islands"],phoneCountryCode:"+686",flagCode:"KI"},{country:"Kosovo",cities:[],states:["Đakovica District (Gjakove)"],phoneCountryCode:"+383",flagCode:"XK"},{country:"Kuwait",cities:[],states:["Al Ahmadi"],phoneCountryCode:"+965",flagCode:"KW"},{country:"Kyrgyzstan",cities:[],states:["Batken Region"],phoneCountryCode:"+996",flagCode:"KG"},{country:"Laos",cities:[],states:["Attapeu Province"],phoneCountryCode:"+856",flagCode:"LA"},{country:"Latvia",cities:[],states:["Aglona Municipality"],phoneCountryCode:"+371",flagCode:"LV"},{country:"Lebanon",cities:[],states:["Akkar"],phoneCountryCode:"+961",flagCode:"LB"},{country:"Lesotho",cities:[],states:["Berea District"],phoneCountryCode:"+266",flagCode:"LS"},{country:"Liberia",cities:[],states:["Bomi County"],phoneCountryCode:"+231",flagCode:"LR"},{country:"Libya",cities:[],states:["Al Wahat District"],phoneCountryCode:"+218",flagCode:"LY"},{country:"Liechtenstein",cities:[],states:["Balzers"],phoneCountryCode:"+423",flagCode:"LI"},{country:"Lithuania",cities:[],states:["Akmenė District Municipality"],phoneCountryCode:"+370",flagCode:"LT"},{country:"Luxembourg",cities:[],states:["Canton of Capellen"],phoneCountryCode:"+352",flagCode:"LU"},{country:"Madagascar",cities:[],states:["Antananarivo Province"],phoneCountryCode:"+261",flagCode:"MG"},{country:"Malawi",cities:[],states:["Balaka District"],phoneCountryCode:"+265",flagCode:"MW"},{country:"Malaysia",cities:[],states:["Johor"],phoneCountryCode:"+60",flagCode:"MY"},{country:"Maldives",cities:[],states:["Addu Atoll"],phoneCountryCode:"+960",flagCode:"MV"},{country:"Mali",cities:[],states:["Bamako"],phoneCountryCode:"+223",flagCode:"ML"},{country:"Malta",cities:[],states:["Attard"],phoneCountryCode:"+356",flagCode:"MT"},{country:"Man (Isle of)",cities:[],states:["Ayre"],phoneCountryCode:"+44",flagCode:"IM"},{country:"Marshall Islands",cities:[],states:["Ralik Chain"],phoneCountryCode:"+692",flagCode:"MH"},{country:"Mauritania",cities:[],states:["Adrar"],phoneCountryCode:"+222",flagCode:"MR"},{country:"Mauritius",cities:[],states:["Agalega Islands"],phoneCountryCode:"+230",flagCode:"MU"},{country:"Mexico",cities:[],states:["Aguascalientes"],phoneCountryCode:"+52",flagCode:"MX"},{country:"Micronesia",cities:[],states:["Chuuk State"],phoneCountryCode:"+691",flagCode:"FM"},{country:"Moldova",cities:[],states:["Anenii Noi District"],phoneCountryCode:"+373",flagCode:"MD"},{country:"Monaco",cities:[],states:["La Colle"],phoneCountryCode:"+377",flagCode:"MC"},{country:"Mongolia",cities:[],states:["Arkhangai Province"],phoneCountryCode:"+976",flagCode:"MN"},{country:"Montenegro",cities:[],states:["Andrijevica Municipality"],phoneCountryCode:"+382",flagCode:"ME"},{country:"Morocco",cities:[],states:["Agadir-Ida-Ou-Tanane"],phoneCountryCode:"+212",flagCode:"MA"},{country:"Mozambique",cities:[],states:["Cabo Delgado Province"],phoneCountryCode:"+258",flagCode:"MZ"},{country:"Myanmar",cities:[],states:["Ayeyarwady Region"],phoneCountryCode:"+95",flagCode:"MM"},{country:"Namibia",cities:[],states:["Erongo Region"],phoneCountryCode:"+264",flagCode:"NA"},{country:"Nauru",cities:[],states:["Aiwo District"],phoneCountryCode:"+674",flagCode:"NR"},{country:"Nepal",cities:[],states:["Bagmati"],phoneCountryCode:"+977",flagCode:"NP"},{country:"New Caledonia",cities:[],states:["Loyalty Islands Province"],phoneCountryCode:"+687",flagCode:"NC"},{country:"Nicaragua",cities:[],states:["Boaco"],phoneCountryCode:"+505",flagCode:"NI"},{country:"Niger",cities:[],states:["Agadez Region"],phoneCountryCode:"+227",flagCode:"NE"},{country:"Nigeria",cities:[],states:["Abia"],phoneCountryCode:"+234",flagCode:"NG"},{country:"North Korea",cities:[],states:["Chagang Province"]},{country:"North Macedonia",cities:[],states:["Aerodrom Municipality"],phoneCountryCode:"+389",flagCode:"MK"},{country:"Norway",cities:[],states:["Agder"],phoneCountryCode:"+47",flagCode:"NO"},{country:"Oman",cities:[],states:["Ad Dakhiliyah"],phoneCountryCode:"+968",flagCode:"OM"},{country:"Pakistan",cities:[],states:["Azad Kashmir"],phoneCountryCode:"+92",flagCode:"PK"},{country:"Palau",cities:[],states:["Aimeliik"],phoneCountryCode:"+680",flagCode:"PW"},{country:"Palestinian Territory Occupied",cities:[],states:["Bethlehem"],phoneCountryCode:"+970",flagCode:"PS"},{country:"Panama",cities:[],states:["Bocas del Toro Province"],phoneCountryCode:"+507",flagCode:"PA"},{country:"Papua New Guinea",cities:[],states:["Bougainville"],phoneCountryCode:"+675",flagCode:"PG"},{country:"Paraguay",cities:[],states:["Alto Paraguay Department"],phoneCountryCode:"+595",flagCode:"PY"},{country:"Peru",cities:[],states:["Amazonas"],phoneCountryCode:"+51",flagCode:"PE"},{country:"Portugal",cities:[],states:["Açores"],phoneCountryCode:"+351",flagCode:"PT"},{country:"Puerto Rico",cities:[],states:["Adjuntas"],phoneCountryCode:"+1",flagCode:"PR"},{country:"Qatar",cities:[],states:["Al Daayen"],phoneCountryCode:"+974",flagCode:"QA"},{country:"Romania",cities:[],states:["Alba"],phoneCountryCode:"+40",flagCode:"RO"},{country:"Russia",cities:[],states:["Altai Krai"],phoneCountryCode:"+7",flagCode:"RU"},{country:"Rwanda",cities:[],states:["Eastern Province"],phoneCountryCode:"+250",flagCode:"RW"},{country:"Saint Kitts and Nevis",cities:[],states:["Christ Church Nichola Town Parish"]},{country:"Saint Lucia",cities:[],states:["Anse la Raye Quarter"],phoneCountryCode:"+1",flagCode:"LC"},{country:"Saint Vincent and the Grenadines",cities:[],states:["Charlotte Parish"],phoneCountryCode:"+1",flagCode:"VC"},{country:"Samoa",cities:[],states:["A'ana"],phoneCountryCode:"+685",flagCode:"WS"},{country:"San Marino",cities:[],states:["Acquaviva"],phoneCountryCode:"+378",flagCode:"SM"},{country:"Sao Tome and Principe",cities:[],states:["Príncipe Province"],phoneCountryCode:"+239",flagCode:"ST"},{country:"Senegal",cities:[],states:["Dakar"],phoneCountryCode:"+221",flagCode:"SN"},{country:"Serbia",cities:[],states:["Belgrade"],phoneCountryCode:"+381",flagCode:"RS"},{country:"Seychelles",cities:[],states:["Anse Boileau"],phoneCountryCode:"+248",flagCode:"SC"},{country:"Sierra Leone",cities:[],states:["Eastern Province"],phoneCountryCode:"+232",flagCode:"SL"},{country:"Singapore",cities:[],states:["Central Singapore"],phoneCountryCode:"+65",flagCode:"SG"},{country:"Slovakia",cities:[],states:["Banská Bystrica Region"],phoneCountryCode:"+421",flagCode:"SK"},{country:"Slovenia",cities:[],states:["Ajdovščina Municipality"],phoneCountryCode:"+386",flagCode:"SI"},{country:"Solomon Islands",cities:[],states:["Central Province"],phoneCountryCode:"+677",flagCode:"SB"},{country:"Somalia",cities:[],states:["Awdal Region"],phoneCountryCode:"+252",flagCode:"SO"},{country:"South Korea",cities:[],states:["Busan"],phoneCountryCode:"+82",flagCode:"KR"},{country:"South Sudan",cities:[],states:["Central Equatoria"],phoneCountryCode:"+211",flagCode:"SS"},{country:"Spain",cities:[],states:["A Coruña"],phoneCountryCode:"+34",flagCode:"ES"},{country:"Sudan",cities:[],states:["Al Jazirah"],phoneCountryCode:"+249",flagCode:"SD"},{country:"Suriname",cities:[],states:["Brokopondo District"],phoneCountryCode:"+597",flagCode:"SR"},{country:"Sweden",cities:[],states:["Blekinge County"],phoneCountryCode:"+46",flagCode:"SE"},{country:"Syria",cities:[],states:["Al-Hasakah"],phoneCountryCode:"+963",flagCode:"SY"},{country:"Taiwan",cities:[],states:["Changhua"],phoneCountryCode:"+886",flagCode:"TW"},{country:"Tajikistan",cities:[],states:["districts of Republican Subordination"],phoneCountryCode:"+992",flagCode:"TJ"},{country:"Tanzania",cities:[],states:["Arusha"],phoneCountryCode:"+255",flagCode:"TZ"},{country:"Thailand",cities:[],states:["Amnat Charoen"],phoneCountryCode:"+66",flagCode:"TH"},{country:"The Bahamas",cities:[],states:["Acklins"],phoneCountryCode:"+1",flagCode:"BS"},{country:"The Gambia ",cities:[],states:["Banjul"],phoneCountryCode:"+220",flagCode:"GM"},{country:"Timor-Leste",cities:[],states:["Aileu municipality"],phoneCountryCode:"+670",flagCode:"TL"},{country:"Togo",cities:[],states:["Centrale Region"],phoneCountryCode:"+228",flagCode:"TG"},{country:"Tonga",cities:[],states:["Haʻapai"],phoneCountryCode:"+676",flagCode:"TO"},{country:"Trinidad and Tobago",cities:[],states:["Arima"],phoneCountryCode:"+1",flagCode:"TT"},{country:"Tunisia",cities:[],states:["Ariana"],phoneCountryCode:"+216",flagCode:"TN"},{country:"Turkey",cities:[],states:["Adana"],phoneCountryCode:"+90",flagCode:"TR"},{country:"Turkmenistan",cities:[],states:["Ahal Region"],phoneCountryCode:"+993",flagCode:"TM"},{country:"Tuvalu",cities:[],states:["Funafuti"],phoneCountryCode:"+688",flagCode:"TV"},{country:"Uganda",cities:[],states:["Abim District"],phoneCountryCode:"+256",flagCode:"UG"},{country:"Ukraine",cities:[],states:["Autonomous Republic of Crimea"],phoneCountryCode:"+380",flagCode:"UA"},{country:"United States Minor Outlying Islands",cities:[],states:["Baker Island"],phoneCountryCode:"+1",flagCode:"UM"},{country:"Uruguay",cities:[],states:["Artigas"],phoneCountryCode:"+598",flagCode:"UY"},{country:"Uzbekistan",cities:[],states:["Andijan Region"],phoneCountryCode:"+998",flagCode:"UZ"},{country:"Vanuatu",cities:[],states:["Malampa"],phoneCountryCode:"+678",flagCode:"VU"},{country:"Venezuela",cities:[],states:["Amazonas"],phoneCountryCode:"+58",flagCode:"VE"},{country:"Vietnam",cities:[],states:["An Giang"],phoneCountryCode:"+84",flagCode:"VN"},{country:"Virgin Islands (US)",cities:[],states:["Saint Croix"],phoneCountryCode:"+1",flagCode:"VI"},{country:"Yemen",cities:[],states:["'Adan"],phoneCountryCode:"+967",flagCode:"YE"},{country:"Zambia",cities:[],states:["Central Province"],phoneCountryCode:"+260",flagCode:"ZM"},{country:"Zimbabwe",cities:[],states:["Bulawayo Province"],phoneCountryCode:"+263",flagCode:"ZW"}];var M={"radio-group-wrapper":"RadioGroupField-module_radio-group-wrapper__p8ztu",disabled:"RadioGroupField-module_disabled__2SRMu","field-error":"RadioGroupField-module_field-error__-dtpf","radio-custom":"RadioGroupField-module_radio-custom__cZFLS",label:"RadioGroupField-module_label__twz-H",required:"RadioGroupField-module_required__1u-dL","error-message":"RadioGroupField-module_error-message__Hwpin","radio-options":"RadioGroupField-module_radio-options__9sphU","label-column":"RadioGroupField-module_label-column__-VEEz","label-row":"RadioGroupField-module_label-row__pcrVh","radio-option":"RadioGroupField-module_radio-option__vfHHU","radio-input":"RadioGroupField-module_radio-input__GIplu","size-small":"RadioGroupField-module_size-small__qRRAj","size-medium":"RadioGroupField-module_size-medium__gq24E","size-large":"RadioGroupField-module_size-large__hmMZ6","color-primary":"RadioGroupField-module_color-primary__o84NY","color-secondary":"RadioGroupField-module_color-secondary__OaySz"};r('.RadioGroupField-module_radio-group-wrapper__p8ztu{display:flex;flex-direction:column;gap:.5rem}.RadioGroupField-module_radio-group-wrapper__p8ztu.RadioGroupField-module_disabled__2SRMu{cursor:not-allowed;opacity:.6}.RadioGroupField-module_radio-group-wrapper__p8ztu.RadioGroupField-module_field-error__-dtpf .RadioGroupField-module_radio-custom__cZFLS{border-color:#dc2626}.RadioGroupField-module_radio-group-wrapper__p8ztu .RadioGroupField-module_label__twz-H{color:#111827;font-family:Inter,sans-serif;font-size:14px;font-weight:500}.RadioGroupField-module_radio-group-wrapper__p8ztu .RadioGroupField-module_required__1u-dL{color:#dc2626;margin-left:4px}.RadioGroupField-module_radio-group-wrapper__p8ztu .RadioGroupField-module_error-message__Hwpin{color:#dc2626;font-size:12px}.RadioGroupField-module_radio-group-wrapper__p8ztu .RadioGroupField-module_radio-options__9sphU{display:flex;flex-wrap:wrap;gap:1rem}.RadioGroupField-module_radio-group-wrapper__p8ztu .RadioGroupField-module_radio-options__9sphU.RadioGroupField-module_label-column__-VEEz{flex-direction:column}.RadioGroupField-module_radio-group-wrapper__p8ztu .RadioGroupField-module_radio-options__9sphU.RadioGroupField-module_label-row__pcrVh{flex-direction:row}.RadioGroupField-module_radio-group-wrapper__p8ztu .RadioGroupField-module_radio-option__vfHHU{align-items:center;cursor:pointer;display:flex;gap:.5rem;position:relative}.RadioGroupField-module_radio-group-wrapper__p8ztu .RadioGroupField-module_radio-input__GIplu{height:0;opacity:0;position:absolute;width:0}.RadioGroupField-module_radio-group-wrapper__p8ztu .RadioGroupField-module_radio-custom__cZFLS{background-color:#fff;border:2px solid #ccc;border-radius:50%;display:inline-block;position:relative;transition:background-color .2s ease}.RadioGroupField-module_radio-group-wrapper__p8ztu .RadioGroupField-module_radio-custom__cZFLS:after{background-color:#fff;border-radius:50%;content:"";display:none;height:50%;left:50%;position:absolute;top:50%;transform:translate(-50%,-50%);width:50%}.RadioGroupField-module_radio-group-wrapper__p8ztu .RadioGroupField-module_radio-input__GIplu:checked+.RadioGroupField-module_radio-custom__cZFLS:after{display:block}.RadioGroupField-module_radio-group-wrapper__p8ztu.RadioGroupField-module_size-small__qRRAj .RadioGroupField-module_radio-custom__cZFLS{height:16px;width:16px}.RadioGroupField-module_radio-group-wrapper__p8ztu.RadioGroupField-module_size-medium__gq24E .RadioGroupField-module_radio-custom__cZFLS{height:20px;width:20px}.RadioGroupField-module_radio-group-wrapper__p8ztu.RadioGroupField-module_size-large__hmMZ6 .RadioGroupField-module_radio-custom__cZFLS{height:24px;width:24px}.RadioGroupField-module_radio-group-wrapper__p8ztu.RadioGroupField-module_color-primary__o84NY .RadioGroupField-module_radio-input__GIplu:checked+.RadioGroupField-module_radio-custom__cZFLS{background-color:#7f56d9;border-color:#7f56d9}.RadioGroupField-module_radio-group-wrapper__p8ztu.RadioGroupField-module_color-secondary__OaySz .RadioGroupField-module_radio-input__GIplu:checked+.RadioGroupField-module_radio-custom__cZFLS{background-color:#ff0;border-color:#ff0}');var P="TextAreaField-module_wrapper__qk3-b",A="TextAreaField-module_label__SwM7W",N="TextAreaField-module_required__cZh3M",j="TextAreaField-module_textArea-input__a7WZh",I="TextAreaField-module_disabled__iliI1",L="TextAreaField-module_characters-label__2nnv1",V="TextAreaField-module_field-error__dqT-m",z="TextAreaField-module_error-message__6EqM2";r(".TextAreaField-module_wrapper__qk3-b{display:flex;flex-direction:column;gap:4px;position:relative;width:100%}.TextAreaField-module_label__SwM7W{color:#111827;font-family:Inter,sans-serif;font-size:14px;font-weight:500}.TextAreaField-module_required__cZh3M{color:#dc2626;font-family:Inter,sans-serif;margin-left:2px}.TextAreaField-module_textArea-input__a7WZh{border:1px solid #d1d5db;border-radius:8px;color:#111827;font-family:Inter,sans-serif;font-size:14px;outline:none;padding:10px 14px;transition:border-color .2s ease-in-out}.TextAreaField-module_textArea-input__a7WZh.TextAreaField-module_disabled__iliI1{background-color:#f9fafb;color:#9ca3af;cursor:not-allowed;font-family:Inter,sans-serif}.TextAreaField-module_characters-label__2nnv1{color:#a9b1bc;font-size:12px}.TextAreaField-module_field-error__dqT-m{border-color:#dc2626}.TextAreaField-module_error-message__6EqM2{color:#dc2626;font-size:12px}");var D="TextField-module_wrapper__wzHwV",O="TextField-module_label__8TDzf",T="TextField-module_required__IF-th",G="TextField-module_field-error__iqeXc",E="TextField-module_field-input__XxGyf",H="TextField-module_field-affix-input__pON6g",q="TextField-module_disabled__q-Yqn",U="TextField-module_field-affix-container__wDswi",W="TextField-module_field-prefix__J1y1J",$="TextField-module_field-suffix__oJsSo",K="TextField-module_field-tooltip__xcw58",Z="TextField-module_error-message__ylRGQ";r('.TextField-module_wrapper__wzHwV{display:flex;flex-direction:column;gap:4px;position:relative;width:100%}.TextField-module_label__8TDzf{color:#111827;font-family:Inter,sans-serif;font-size:14px;font-weight:500}.TextField-module_required__IF-th{color:#dc2626;font-family:Inter,sans-serif;margin-left:2px}.TextField-module_field-error__iqeXc{border-color:#dc2626!important}.TextField-module_field-input__XxGyf{border:1px solid #d1d5db;border-radius:8px;color:#111827;font-family:Inter,sans-serif;font-size:14px;outline:none;padding:10px 14px;transition:border-color .2s ease-in-out;width:100%}.TextField-module_field-input__XxGyf:focus{border-color:#7f56d9}.TextField-module_field-affix-input__pON6g.TextField-module_disabled__q-Yqn{cursor:not-allowed}.TextField-module_field-affix-container__wDswi{border:1px solid #d1d5db;border-radius:8px;display:flex;overflow:hidden;transition:border-color .2s ease-in-out}.TextField-module_field-affix-input__pON6g{border:none;color:#111827;flex:1;font-family:Inter,sans-serif;font-size:14px;outline:none;padding:10px 14px;width:100%}.TextField-module_field-prefix__J1y1J{border-right:1px solid #d1d5db}.TextField-module_field-prefix__J1y1J,.TextField-module_field-suffix__oJsSo{align-items:center;background-color:#fff;color:#4b5563;display:flex;font-family:Inter,sans-serif;font-size:14px;justify-content:center;padding:0 12px;white-space:nowrap;width:50px}.TextField-module_field-suffix__oJsSo{border-left:1px solid #d1d5db;font-weight:600}.TextField-module_field-affix-container__wDswi:focus-within{border-color:#7f56d9}.TextField-module_field-affix-container__wDswi.TextField-module_disabled__q-Yqn{background-color:#f9fafb;border-color:#e5e7eb;cursor:not-allowed}.TextField-module_field-affix-container__wDswi.TextField-module_disabled__q-Yqn .TextField-module_field-prefix__J1y1J,.TextField-module_field-affix-container__wDswi.TextField-module_disabled__q-Yqn .TextField-module_field-suffix__oJsSo{background-color:#f3f4f6;color:#9ca3af;cursor:not-allowed}.TextField-module_affix-input__RNh6B.TextField-module_disabled__q-Yqn{background-color:#f9fafb;color:#9ca3af;cursor:not-allowed;font-family:Inter,sans-serif}.TextField-module_field-tooltip__xcw58{background-color:#111827;border-radius:4px;color:#fff;font-size:12px;left:50%;opacity:0;padding:6px 10px;position:absolute;top:-36px;transform:translateX(-50%);transition:opacity .2s ease;visibility:hidden;white-space:nowrap;z-index:999999}.TextField-module_field-tooltip__xcw58:after{border:5px solid transparent;border-top-color:#111827;content:"";left:50%;position:absolute;top:100%;transform:translateX(-50%)}.TextField-module_wrapper__wzHwV:hover .TextField-module_field-tooltip__xcw58{opacity:1;visibility:visible}.TextField-module_error-message__ylRGQ{color:#dc2626;font-size:12px}');const J=e=>{const o=(e=>e.replace(/^([A-Z])|[\s-_]+(\w)/g,((e,o,t)=>t?t.toUpperCase():o.toLowerCase())))(e);return o.charAt(0).toUpperCase()+o.slice(1)},X=(...e)=>e.filter(((e,o,t)=>Boolean(e)&&""!==e.trim()&&t.indexOf(e)===o)).join(" ").trim(),Y=e=>{for(const o in e)if(o.startsWith("aria-")||"role"===o||"title"===o)return!0};
2
+ /**
3
+ * @license lucide-react v0.511.0 - ISC
4
+ *
5
+ * This source code is licensed under the ISC license.
6
+ * See the LICENSE file in the root directory of this source tree.
7
+ */
8
+ /**
9
+ * @license lucide-react v0.511.0 - ISC
10
+ *
11
+ * This source code is licensed under the ISC license.
12
+ * See the LICENSE file in the root directory of this source tree.
13
+ */
14
+ var Q={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};
15
+ /**
16
+ * @license lucide-react v0.511.0 - ISC
17
+ *
18
+ * This source code is licensed under the ISC license.
19
+ * See the LICENSE file in the root directory of this source tree.
20
+ */const ee=o.forwardRef((({color:e="currentColor",size:t=24,strokeWidth:n=2,absoluteStrokeWidth:l,className:a="",children:i,iconNode:r,...s},d)=>o.createElement("svg",{ref:d,...Q,width:t,height:t,stroke:e,strokeWidth:l?24*Number(n)/Number(t):n,className:X("lucide",a),...!i&&!Y(s)&&{"aria-hidden":"true"},...s},[...r.map((([e,t])=>o.createElement(e,t))),...Array.isArray(i)?i:[i]]))),oe=((e,t)=>{const n=o.forwardRef((({className:n,...l},a)=>{return o.createElement(ee,{ref:a,iconNode:t,className:X(`lucide-${i=J(e),i.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()}`,`lucide-${e}`,n),...l});var i}));return n.displayName=J(e),n})("check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]]);
21
+ /**
22
+ * @license lucide-react v0.511.0 - ISC
23
+ *
24
+ * This source code is licensed under the ISC license.
25
+ * See the LICENSE file in the root directory of this source tree.
26
+ */var te="URLField-module_wrapper__sGQbw",ne="URLField-module_label__pgFDQ",le="URLField-module_required__J6fRb",ae="URLField-module_field-error__wQ40X",ie="URLField-module_field-input__1cfg-",re="URLField-module_field-affix-container__axC45",se="URLField-module_field-affix-input__6nQnc",de="URLField-module_field-prefix__b3isn",ue="URLField-module_field-suffix__mKkeB",ce="URLField-module_disabled__G-tWC",ge="URLField-module_field-tooltip__RRMlX",me="URLField-module_error-message__6kvOJ";r('.URLField-module_wrapper__sGQbw{display:flex;flex-direction:column;gap:4px;position:relative;width:100%}.URLField-module_label__pgFDQ{color:#111827;font-family:Inter,sans-serif;font-size:14px;font-weight:500}.URLField-module_required__J6fRb{color:#dc2626;font-family:Inter,sans-serif;margin-left:2px}.URLField-module_field-error__wQ40X{border-color:#dc2626!important}.URLField-module_field-input__1cfg-{border:1px solid #d1d5db;border-radius:8px;color:#111827;font-family:Inter,sans-serif;font-size:14px;outline:none;padding:10px 14px;transition:border-color .2s ease-in-out;width:100%}.URLField-module_field-input__1cfg-:focus{border-color:#7f56d9}.URLField-module_field-affix-container__axC45{border:1px solid #d1d5db;border-radius:8px;display:flex;transition:border-color .2s ease-in-out}.URLField-module_field-affix-input__6nQnc{border:none;color:#111827;flex:1;font-family:Inter,sans-serif;font-size:14px;outline:none;padding:10px 14px;width:100%}.URLField-module_field-prefix__b3isn{border-radius:8px 0 0 8px;border-right:1px solid #d1d5db}.URLField-module_field-prefix__b3isn,.URLField-module_field-suffix__mKkeB{align-items:center;background-color:#fff;color:#4b5563;display:flex;font-family:Inter,sans-serif;font-size:14px;justify-content:center;padding:0 12px;white-space:nowrap}.URLField-module_field-suffix__mKkeB{border-left:1px solid #d1d5db;border-radius:0 8px 8px 0;font-weight:600}.URLField-module_field-affix-container__axC45:focus-within{border-color:#7f56d9}.URLField-module_field-affix-container__axC45.URLField-module_disabled__G-tWC,.URLField-module_field-affix-container__axC45.URLField-module_disabled__G-tWC .URLField-module_field-prefix__b3isn,.URLField-module_field-affix-container__axC45.URLField-module_disabled__G-tWC .URLField-module_field-suffix__mKkeB,.URLField-module_field-affix-input__6nQnc.URLField-module_disabled__G-tWC,.URLField-module_field-input__1cfg-.URLField-module_disabled__G-tWC{background-color:#f3f4f6;color:#9ca3af;cursor:not-allowed}.URLField-module_affix-input__-9oeH:disabled{background-color:#f9fafb;color:#9ca3af;cursor:not-allowed;font-family:Inter,sans-serif}.URLField-module_field-tooltip__RRMlX{background-color:#111827;border-radius:4px;color:#fff;font-size:12px;left:50%;opacity:0;padding:6px 10px;position:absolute;top:-36px;transform:translateX(-50%);transition:opacity .2s ease;visibility:hidden;white-space:nowrap;z-index:999999}.URLField-module_field-tooltip__RRMlX:after{border:5px solid transparent;border-top-color:#111827;content:"";left:50%;position:absolute;top:100%;transform:translateX(-50%)}.URLField-module_wrapper__sGQbw:hover .URLField-module_field-tooltip__RRMlX{opacity:1;visibility:visible}.URLField-module_error-message__6kvOJ{color:#dc2626;font-size:12px}');
27
+ /**
28
+ * table-core
29
+ *
30
+ * Copyright (c) TanStack
31
+ *
32
+ * This source code is licensed under the MIT license found in the
33
+ * LICENSE.md file in the root directory of this source tree.
34
+ *
35
+ * @license MIT
36
+ */
37
+ function pe(e,o){return"function"==typeof e?e(o):e}function he(e,o){return t=>{o.setState((o=>({...o,[e]:pe(t,o[e])})))}}function fe(e){return e instanceof Function}function _e(e,o,t){let n,l=[];return a=>{let i;t.key&&t.debug&&(i=Date.now());const r=e(a);if(!(r.length!==l.length||r.some(((e,o)=>l[o]!==e))))return n;let s;if(l=r,t.key&&t.debug&&(s=Date.now()),n=o(...r),null==t||null==t.onChange||t.onChange(n),t.key&&t.debug&&null!=t&&t.debug()){const e=Math.round(100*(Date.now()-i))/100,o=Math.round(100*(Date.now()-s))/100,n=o/16,l=(e,o)=>{for(e=String(e);e.length<o;)e=" "+e;return e};console.info(`%c⏱ ${l(o,5)} /${l(e,5)} ms`,`\n font-size: .6rem;\n font-weight: bold;\n color: hsl(${Math.max(0,Math.min(120-120*n,120))}deg 100% 31%);`,null==t?void 0:t.key)}return n}}function be(e,o,t,n){return{debug:()=>{var t;return null!=(t=null==e?void 0:e.debugAll)?t:e[o]},key:"development"===process.env.NODE_ENV&&t,onChange:n}}const Ce="debugHeaders";function ye(e,o,t){var n;let l={id:null!=(n=t.id)?n:o.id,column:o,index:t.index,isPlaceholder:!!t.isPlaceholder,placeholderId:t.placeholderId,depth:t.depth,subHeaders:[],colSpan:0,rowSpan:0,headerGroup:null,getLeafHeaders:()=>{const e=[],o=t=>{t.subHeaders&&t.subHeaders.length&&t.subHeaders.map(o),e.push(t)};return o(l),e},getContext:()=>({table:e,header:l,column:o})};return e._features.forEach((o=>{null==o.createHeader||o.createHeader(l,e)})),l}const xe={createTable:e=>{e.getHeaderGroups=_e((()=>[e.getAllColumns(),e.getVisibleLeafColumns(),e.getState().columnPinning.left,e.getState().columnPinning.right]),((o,t,n,l)=>{var a,i;const r=null!=(a=null==n?void 0:n.map((e=>t.find((o=>o.id===e)))).filter(Boolean))?a:[],s=null!=(i=null==l?void 0:l.map((e=>t.find((o=>o.id===e)))).filter(Boolean))?i:[];return ve(o,[...r,...t.filter((e=>!(null!=n&&n.includes(e.id)||null!=l&&l.includes(e.id)))),...s],e)}),be(e.options,Ce,"getHeaderGroups")),e.getCenterHeaderGroups=_e((()=>[e.getAllColumns(),e.getVisibleLeafColumns(),e.getState().columnPinning.left,e.getState().columnPinning.right]),((o,t,n,l)=>ve(o,t=t.filter((e=>!(null!=n&&n.includes(e.id)||null!=l&&l.includes(e.id)))),e,"center")),be(e.options,Ce,"getCenterHeaderGroups")),e.getLeftHeaderGroups=_e((()=>[e.getAllColumns(),e.getVisibleLeafColumns(),e.getState().columnPinning.left]),((o,t,n)=>{var l;return ve(o,null!=(l=null==n?void 0:n.map((e=>t.find((o=>o.id===e)))).filter(Boolean))?l:[],e,"left")}),be(e.options,Ce,"getLeftHeaderGroups")),e.getRightHeaderGroups=_e((()=>[e.getAllColumns(),e.getVisibleLeafColumns(),e.getState().columnPinning.right]),((o,t,n)=>{var l;return ve(o,null!=(l=null==n?void 0:n.map((e=>t.find((o=>o.id===e)))).filter(Boolean))?l:[],e,"right")}),be(e.options,Ce,"getRightHeaderGroups")),e.getFooterGroups=_e((()=>[e.getHeaderGroups()]),(e=>[...e].reverse()),be(e.options,Ce,"getFooterGroups")),e.getLeftFooterGroups=_e((()=>[e.getLeftHeaderGroups()]),(e=>[...e].reverse()),be(e.options,Ce,"getLeftFooterGroups")),e.getCenterFooterGroups=_e((()=>[e.getCenterHeaderGroups()]),(e=>[...e].reverse()),be(e.options,Ce,"getCenterFooterGroups")),e.getRightFooterGroups=_e((()=>[e.getRightHeaderGroups()]),(e=>[...e].reverse()),be(e.options,Ce,"getRightFooterGroups")),e.getFlatHeaders=_e((()=>[e.getHeaderGroups()]),(e=>e.map((e=>e.headers)).flat()),be(e.options,Ce,"getFlatHeaders")),e.getLeftFlatHeaders=_e((()=>[e.getLeftHeaderGroups()]),(e=>e.map((e=>e.headers)).flat()),be(e.options,Ce,"getLeftFlatHeaders")),e.getCenterFlatHeaders=_e((()=>[e.getCenterHeaderGroups()]),(e=>e.map((e=>e.headers)).flat()),be(e.options,Ce,"getCenterFlatHeaders")),e.getRightFlatHeaders=_e((()=>[e.getRightHeaderGroups()]),(e=>e.map((e=>e.headers)).flat()),be(e.options,Ce,"getRightFlatHeaders")),e.getCenterLeafHeaders=_e((()=>[e.getCenterFlatHeaders()]),(e=>e.filter((e=>{var o;return!(null!=(o=e.subHeaders)&&o.length)}))),be(e.options,Ce,"getCenterLeafHeaders")),e.getLeftLeafHeaders=_e((()=>[e.getLeftFlatHeaders()]),(e=>e.filter((e=>{var o;return!(null!=(o=e.subHeaders)&&o.length)}))),be(e.options,Ce,"getLeftLeafHeaders")),e.getRightLeafHeaders=_e((()=>[e.getRightFlatHeaders()]),(e=>e.filter((e=>{var o;return!(null!=(o=e.subHeaders)&&o.length)}))),be(e.options,Ce,"getRightLeafHeaders")),e.getLeafHeaders=_e((()=>[e.getLeftHeaderGroups(),e.getCenterHeaderGroups(),e.getRightHeaderGroups()]),((e,o,t)=>{var n,l,a,i,r,s;return[...null!=(n=null==(l=e[0])?void 0:l.headers)?n:[],...null!=(a=null==(i=o[0])?void 0:i.headers)?a:[],...null!=(r=null==(s=t[0])?void 0:s.headers)?r:[]].map((e=>e.getLeafHeaders())).flat()}),be(e.options,Ce,"getLeafHeaders"))}};function ve(e,o,t,n){var l,a;let i=0;const r=function(e,o){void 0===o&&(o=1),i=Math.max(i,o),e.filter((e=>e.getIsVisible())).forEach((e=>{var t;null!=(t=e.columns)&&t.length&&r(e.columns,o+1)}),0)};r(e);let s=[];const d=(e,o)=>{const l={depth:o,id:[n,`${o}`].filter(Boolean).join("_"),headers:[]},a=[];e.forEach((e=>{const i=[...a].reverse()[0];let r,s=!1;if(e.column.depth===l.depth&&e.column.parent?r=e.column.parent:(r=e.column,s=!0),i&&(null==i?void 0:i.column)===r)i.subHeaders.push(e);else{const l=ye(t,r,{id:[n,o,r.id,null==e?void 0:e.id].filter(Boolean).join("_"),isPlaceholder:s,placeholderId:s?`${a.filter((e=>e.column===r)).length}`:void 0,depth:o,index:a.length});l.subHeaders.push(e),a.push(l)}l.headers.push(e),e.headerGroup=l})),s.push(l),o>0&&d(a,o-1)},u=o.map(((e,o)=>ye(t,e,{depth:i,index:o})));d(u,i-1),s.reverse();const c=e=>e.filter((e=>e.column.getIsVisible())).map((e=>{let o=0,t=0,n=[0];e.subHeaders&&e.subHeaders.length?(n=[],c(e.subHeaders).forEach((e=>{let{colSpan:t,rowSpan:l}=e;o+=t,n.push(l)}))):o=1;return t+=Math.min(...n),e.colSpan=o,e.rowSpan=t,{colSpan:o,rowSpan:t}}));return c(null!=(l=null==(a=s[0])?void 0:a.headers)?l:[]),s}const we=(e,o,t,n,l,a,i)=>{let r={id:o,index:n,original:t,depth:l,parentId:i,_valuesCache:{},_uniqueValuesCache:{},getValue:o=>{if(r._valuesCache.hasOwnProperty(o))return r._valuesCache[o];const t=e.getColumn(o);return null!=t&&t.accessorFn?(r._valuesCache[o]=t.accessorFn(r.original,n),r._valuesCache[o]):void 0},getUniqueValues:o=>{if(r._uniqueValuesCache.hasOwnProperty(o))return r._uniqueValuesCache[o];const t=e.getColumn(o);return null!=t&&t.accessorFn?t.columnDef.getUniqueValues?(r._uniqueValuesCache[o]=t.columnDef.getUniqueValues(r.original,n),r._uniqueValuesCache[o]):(r._uniqueValuesCache[o]=[r.getValue(o)],r._uniqueValuesCache[o]):void 0},renderValue:o=>{var t;return null!=(t=r.getValue(o))?t:e.options.renderFallbackValue},subRows:null!=a?a:[],getLeafRows:()=>function(e,o){const t=[],n=e=>{e.forEach((e=>{t.push(e);const l=o(e);null!=l&&l.length&&n(l)}))};return n(e),t}(r.subRows,(e=>e.subRows)),getParentRow:()=>r.parentId?e.getRow(r.parentId,!0):void 0,getParentRows:()=>{let e=[],o=r;for(;;){const t=o.getParentRow();if(!t)break;e.push(t),o=t}return e.reverse()},getAllCells:_e((()=>[e.getAllLeafColumns()]),(o=>o.map((o=>function(e,o,t,n){const l={id:`${o.id}_${t.id}`,row:o,column:t,getValue:()=>o.getValue(n),renderValue:()=>{var o;return null!=(o=l.getValue())?o:e.options.renderFallbackValue},getContext:_e((()=>[e,t,o,l]),((e,o,t,n)=>({table:e,column:o,row:t,cell:n,getValue:n.getValue,renderValue:n.renderValue})),be(e.options,"debugCells","cell.getContext"))};return e._features.forEach((n=>{null==n.createCell||n.createCell(l,t,o,e)}),{}),l}(e,r,o,o.id)))),be(e.options,"debugRows","getAllCells")),_getAllCellsByColumnId:_e((()=>[r.getAllCells()]),(e=>e.reduce(((e,o)=>(e[o.column.id]=o,e)),{})),be(e.options,"debugRows","getAllCellsByColumnId"))};for(let o=0;o<e._features.length;o++){const t=e._features[o];null==t||null==t.createRow||t.createRow(r,e)}return r},Se={createColumn:(e,o)=>{e._getFacetedRowModel=o.options.getFacetedRowModel&&o.options.getFacetedRowModel(o,e.id),e.getFacetedRowModel=()=>e._getFacetedRowModel?e._getFacetedRowModel():o.getPreFilteredRowModel(),e._getFacetedUniqueValues=o.options.getFacetedUniqueValues&&o.options.getFacetedUniqueValues(o,e.id),e.getFacetedUniqueValues=()=>e._getFacetedUniqueValues?e._getFacetedUniqueValues():new Map,e._getFacetedMinMaxValues=o.options.getFacetedMinMaxValues&&o.options.getFacetedMinMaxValues(o,e.id),e.getFacetedMinMaxValues=()=>{if(e._getFacetedMinMaxValues)return e._getFacetedMinMaxValues()}}},Re=(e,o,t)=>{var n,l;const a=null==t||null==(n=t.toString())?void 0:n.toLowerCase();return Boolean(null==(l=e.getValue(o))||null==(l=l.toString())||null==(l=l.toLowerCase())?void 0:l.includes(a))};Re.autoRemove=e=>Le(e);const Fe=(e,o,t)=>{var n;return Boolean(null==(n=e.getValue(o))||null==(n=n.toString())?void 0:n.includes(t))};Fe.autoRemove=e=>Le(e);const Be=(e,o,t)=>{var n;return(null==(n=e.getValue(o))||null==(n=n.toString())?void 0:n.toLowerCase())===(null==t?void 0:t.toLowerCase())};Be.autoRemove=e=>Le(e);const ke=(e,o,t)=>{var n;return null==(n=e.getValue(o))?void 0:n.includes(t)};ke.autoRemove=e=>Le(e);const Me=(e,o,t)=>!t.some((t=>{var n;return!(null!=(n=e.getValue(o))&&n.includes(t))}));Me.autoRemove=e=>Le(e)||!(null!=e&&e.length);const Pe=(e,o,t)=>t.some((t=>{var n;return null==(n=e.getValue(o))?void 0:n.includes(t)}));Pe.autoRemove=e=>Le(e)||!(null!=e&&e.length);const Ae=(e,o,t)=>e.getValue(o)===t;Ae.autoRemove=e=>Le(e);const Ne=(e,o,t)=>e.getValue(o)==t;Ne.autoRemove=e=>Le(e);const je=(e,o,t)=>{let[n,l]=t;const a=e.getValue(o);return a>=n&&a<=l};je.resolveFilterValue=e=>{let[o,t]=e,n="number"!=typeof o?parseFloat(o):o,l="number"!=typeof t?parseFloat(t):t,a=null===o||Number.isNaN(n)?-1/0:n,i=null===t||Number.isNaN(l)?1/0:l;if(a>i){const e=a;a=i,i=e}return[a,i]},je.autoRemove=e=>Le(e)||Le(e[0])&&Le(e[1]);const Ie={includesString:Re,includesStringSensitive:Fe,equalsString:Be,arrIncludes:ke,arrIncludesAll:Me,arrIncludesSome:Pe,equals:Ae,weakEquals:Ne,inNumberRange:je};function Le(e){return null==e||""===e}const Ve={getDefaultColumnDef:()=>({filterFn:"auto"}),getInitialState:e=>({columnFilters:[],...e}),getDefaultOptions:e=>({onColumnFiltersChange:he("columnFilters",e),filterFromLeafRows:!1,maxLeafRowFilterDepth:100}),createColumn:(e,o)=>{e.getAutoFilterFn=()=>{const t=o.getCoreRowModel().flatRows[0],n=null==t?void 0:t.getValue(e.id);return"string"==typeof n?Ie.includesString:"number"==typeof n?Ie.inNumberRange:"boolean"==typeof n||null!==n&&"object"==typeof n?Ie.equals:Array.isArray(n)?Ie.arrIncludes:Ie.weakEquals},e.getFilterFn=()=>{var t,n;return fe(e.columnDef.filterFn)?e.columnDef.filterFn:"auto"===e.columnDef.filterFn?e.getAutoFilterFn():null!=(t=null==(n=o.options.filterFns)?void 0:n[e.columnDef.filterFn])?t:Ie[e.columnDef.filterFn]},e.getCanFilter=()=>{var t,n,l;return(null==(t=e.columnDef.enableColumnFilter)||t)&&(null==(n=o.options.enableColumnFilters)||n)&&(null==(l=o.options.enableFilters)||l)&&!!e.accessorFn},e.getIsFiltered=()=>e.getFilterIndex()>-1,e.getFilterValue=()=>{var t;return null==(t=o.getState().columnFilters)||null==(t=t.find((o=>o.id===e.id)))?void 0:t.value},e.getFilterIndex=()=>{var t,n;return null!=(t=null==(n=o.getState().columnFilters)?void 0:n.findIndex((o=>o.id===e.id)))?t:-1},e.setFilterValue=t=>{o.setColumnFilters((o=>{const n=e.getFilterFn(),l=null==o?void 0:o.find((o=>o.id===e.id)),a=pe(t,l?l.value:void 0);var i;if(ze(n,a,e))return null!=(i=null==o?void 0:o.filter((o=>o.id!==e.id)))?i:[];const r={id:e.id,value:a};var s;return l?null!=(s=null==o?void 0:o.map((o=>o.id===e.id?r:o)))?s:[]:null!=o&&o.length?[...o,r]:[r]}))}},createRow:(e,o)=>{e.columnFilters={},e.columnFiltersMeta={}},createTable:e=>{e.setColumnFilters=o=>{const t=e.getAllLeafColumns();null==e.options.onColumnFiltersChange||e.options.onColumnFiltersChange((e=>{var n;return null==(n=pe(o,e))?void 0:n.filter((e=>{const o=t.find((o=>o.id===e.id));if(o){if(ze(o.getFilterFn(),e.value,o))return!1}return!0}))}))},e.resetColumnFilters=o=>{var t,n;e.setColumnFilters(o?[]:null!=(t=null==(n=e.initialState)?void 0:n.columnFilters)?t:[])},e.getPreFilteredRowModel=()=>e.getCoreRowModel(),e.getFilteredRowModel=()=>(!e._getFilteredRowModel&&e.options.getFilteredRowModel&&(e._getFilteredRowModel=e.options.getFilteredRowModel(e)),e.options.manualFiltering||!e._getFilteredRowModel?e.getPreFilteredRowModel():e._getFilteredRowModel())}};function ze(e,o,t){return!(!e||!e.autoRemove)&&e.autoRemove(o,t)||void 0===o||"string"==typeof o&&!o}const De={sum:(e,o,t)=>t.reduce(((o,t)=>{const n=t.getValue(e);return o+("number"==typeof n?n:0)}),0),min:(e,o,t)=>{let n;return t.forEach((o=>{const t=o.getValue(e);null!=t&&(n>t||void 0===n&&t>=t)&&(n=t)})),n},max:(e,o,t)=>{let n;return t.forEach((o=>{const t=o.getValue(e);null!=t&&(n<t||void 0===n&&t>=t)&&(n=t)})),n},extent:(e,o,t)=>{let n,l;return t.forEach((o=>{const t=o.getValue(e);null!=t&&(void 0===n?t>=t&&(n=l=t):(n>t&&(n=t),l<t&&(l=t)))})),[n,l]},mean:(e,o)=>{let t=0,n=0;if(o.forEach((o=>{let l=o.getValue(e);null!=l&&(l=+l)>=l&&(++t,n+=l)})),t)return n/t},median:(e,o)=>{if(!o.length)return;const t=o.map((o=>o.getValue(e)));if(n=t,!Array.isArray(n)||!n.every((e=>"number"==typeof e)))return;var n;if(1===t.length)return t[0];const l=Math.floor(t.length/2),a=t.sort(((e,o)=>e-o));return t.length%2!=0?a[l]:(a[l-1]+a[l])/2},unique:(e,o)=>Array.from(new Set(o.map((o=>o.getValue(e)))).values()),uniqueCount:(e,o)=>new Set(o.map((o=>o.getValue(e)))).size,count:(e,o)=>o.length},Oe={getDefaultColumnDef:()=>({aggregatedCell:e=>{var o,t;return null!=(o=null==(t=e.getValue())||null==t.toString?void 0:t.toString())?o:null},aggregationFn:"auto"}),getInitialState:e=>({grouping:[],...e}),getDefaultOptions:e=>({onGroupingChange:he("grouping",e),groupedColumnMode:"reorder"}),createColumn:(e,o)=>{e.toggleGrouping=()=>{o.setGrouping((o=>null!=o&&o.includes(e.id)?o.filter((o=>o!==e.id)):[...null!=o?o:[],e.id]))},e.getCanGroup=()=>{var t,n;return(null==(t=e.columnDef.enableGrouping)||t)&&(null==(n=o.options.enableGrouping)||n)&&(!!e.accessorFn||!!e.columnDef.getGroupingValue)},e.getIsGrouped=()=>{var t;return null==(t=o.getState().grouping)?void 0:t.includes(e.id)},e.getGroupedIndex=()=>{var t;return null==(t=o.getState().grouping)?void 0:t.indexOf(e.id)},e.getToggleGroupingHandler=()=>{const o=e.getCanGroup();return()=>{o&&e.toggleGrouping()}},e.getAutoAggregationFn=()=>{const t=o.getCoreRowModel().flatRows[0],n=null==t?void 0:t.getValue(e.id);return"number"==typeof n?De.sum:"[object Date]"===Object.prototype.toString.call(n)?De.extent:void 0},e.getAggregationFn=()=>{var t,n;if(!e)throw new Error;return fe(e.columnDef.aggregationFn)?e.columnDef.aggregationFn:"auto"===e.columnDef.aggregationFn?e.getAutoAggregationFn():null!=(t=null==(n=o.options.aggregationFns)?void 0:n[e.columnDef.aggregationFn])?t:De[e.columnDef.aggregationFn]}},createTable:e=>{e.setGrouping=o=>null==e.options.onGroupingChange?void 0:e.options.onGroupingChange(o),e.resetGrouping=o=>{var t,n;e.setGrouping(o?[]:null!=(t=null==(n=e.initialState)?void 0:n.grouping)?t:[])},e.getPreGroupedRowModel=()=>e.getFilteredRowModel(),e.getGroupedRowModel=()=>(!e._getGroupedRowModel&&e.options.getGroupedRowModel&&(e._getGroupedRowModel=e.options.getGroupedRowModel(e)),e.options.manualGrouping||!e._getGroupedRowModel?e.getPreGroupedRowModel():e._getGroupedRowModel())},createRow:(e,o)=>{e.getIsGrouped=()=>!!e.groupingColumnId,e.getGroupingValue=t=>{if(e._groupingValuesCache.hasOwnProperty(t))return e._groupingValuesCache[t];const n=o.getColumn(t);return null!=n&&n.columnDef.getGroupingValue?(e._groupingValuesCache[t]=n.columnDef.getGroupingValue(e.original),e._groupingValuesCache[t]):e.getValue(t)},e._groupingValuesCache={}},createCell:(e,o,t,n)=>{e.getIsGrouped=()=>o.getIsGrouped()&&o.id===t.groupingColumnId,e.getIsPlaceholder=()=>!e.getIsGrouped()&&o.getIsGrouped(),e.getIsAggregated=()=>{var o;return!e.getIsGrouped()&&!e.getIsPlaceholder()&&!(null==(o=t.subRows)||!o.length)}}};const Te={getInitialState:e=>({columnOrder:[],...e}),getDefaultOptions:e=>({onColumnOrderChange:he("columnOrder",e)}),createColumn:(e,o)=>{e.getIndex=_e((e=>[We(o,e)]),(o=>o.findIndex((o=>o.id===e.id))),be(o.options,"debugColumns","getIndex")),e.getIsFirstColumn=t=>{var n;return(null==(n=We(o,t)[0])?void 0:n.id)===e.id},e.getIsLastColumn=t=>{var n;const l=We(o,t);return(null==(n=l[l.length-1])?void 0:n.id)===e.id}},createTable:e=>{e.setColumnOrder=o=>null==e.options.onColumnOrderChange?void 0:e.options.onColumnOrderChange(o),e.resetColumnOrder=o=>{var t;e.setColumnOrder(o?[]:null!=(t=e.initialState.columnOrder)?t:[])},e._getOrderColumnsFn=_e((()=>[e.getState().columnOrder,e.getState().grouping,e.options.groupedColumnMode]),((e,o,t)=>n=>{let l=[];if(null!=e&&e.length){const o=[...e],t=[...n];for(;t.length&&o.length;){const e=o.shift(),n=t.findIndex((o=>o.id===e));n>-1&&l.push(t.splice(n,1)[0])}l=[...l,...t]}else l=n;return function(e,o,t){if(null==o||!o.length||!t)return e;const n=e.filter((e=>!o.includes(e.id)));return"remove"===t?n:[...o.map((o=>e.find((e=>e.id===o)))).filter(Boolean),...n]}(l,o,t)}),be(e.options,"debugTable","_getOrderColumnsFn"))}},Ge={getInitialState:e=>({columnPinning:{left:[],right:[]},...e}),getDefaultOptions:e=>({onColumnPinningChange:he("columnPinning",e)}),createColumn:(e,o)=>{e.pin=t=>{const n=e.getLeafColumns().map((e=>e.id)).filter(Boolean);o.setColumnPinning((e=>{var o,l,a,i,r,s;return"right"===t?{left:(null!=(a=null==e?void 0:e.left)?a:[]).filter((e=>!(null!=n&&n.includes(e)))),right:[...(null!=(i=null==e?void 0:e.right)?i:[]).filter((e=>!(null!=n&&n.includes(e)))),...n]}:"left"===t?{left:[...(null!=(r=null==e?void 0:e.left)?r:[]).filter((e=>!(null!=n&&n.includes(e)))),...n],right:(null!=(s=null==e?void 0:e.right)?s:[]).filter((e=>!(null!=n&&n.includes(e))))}:{left:(null!=(o=null==e?void 0:e.left)?o:[]).filter((e=>!(null!=n&&n.includes(e)))),right:(null!=(l=null==e?void 0:e.right)?l:[]).filter((e=>!(null!=n&&n.includes(e))))}}))},e.getCanPin=()=>e.getLeafColumns().some((e=>{var t,n,l;return(null==(t=e.columnDef.enablePinning)||t)&&(null==(n=null!=(l=o.options.enableColumnPinning)?l:o.options.enablePinning)||n)})),e.getIsPinned=()=>{const t=e.getLeafColumns().map((e=>e.id)),{left:n,right:l}=o.getState().columnPinning,a=t.some((e=>null==n?void 0:n.includes(e))),i=t.some((e=>null==l?void 0:l.includes(e)));return a?"left":!!i&&"right"},e.getPinnedIndex=()=>{var t,n;const l=e.getIsPinned();return l?null!=(t=null==(n=o.getState().columnPinning)||null==(n=n[l])?void 0:n.indexOf(e.id))?t:-1:0}},createRow:(e,o)=>{e.getCenterVisibleCells=_e((()=>[e._getAllVisibleCells(),o.getState().columnPinning.left,o.getState().columnPinning.right]),((e,o,t)=>{const n=[...null!=o?o:[],...null!=t?t:[]];return e.filter((e=>!n.includes(e.column.id)))}),be(o.options,"debugRows","getCenterVisibleCells")),e.getLeftVisibleCells=_e((()=>[e._getAllVisibleCells(),o.getState().columnPinning.left]),((e,o)=>(null!=o?o:[]).map((o=>e.find((e=>e.column.id===o)))).filter(Boolean).map((e=>({...e,position:"left"})))),be(o.options,"debugRows","getLeftVisibleCells")),e.getRightVisibleCells=_e((()=>[e._getAllVisibleCells(),o.getState().columnPinning.right]),((e,o)=>(null!=o?o:[]).map((o=>e.find((e=>e.column.id===o)))).filter(Boolean).map((e=>({...e,position:"right"})))),be(o.options,"debugRows","getRightVisibleCells"))},createTable:e=>{e.setColumnPinning=o=>null==e.options.onColumnPinningChange?void 0:e.options.onColumnPinningChange(o),e.resetColumnPinning=o=>{var t,n;return e.setColumnPinning(o?{left:[],right:[]}:null!=(t=null==(n=e.initialState)?void 0:n.columnPinning)?t:{left:[],right:[]})},e.getIsSomeColumnsPinned=o=>{var t;const n=e.getState().columnPinning;var l,a;return o?Boolean(null==(t=n[o])?void 0:t.length):Boolean((null==(l=n.left)?void 0:l.length)||(null==(a=n.right)?void 0:a.length))},e.getLeftLeafColumns=_e((()=>[e.getAllLeafColumns(),e.getState().columnPinning.left]),((e,o)=>(null!=o?o:[]).map((o=>e.find((e=>e.id===o)))).filter(Boolean)),be(e.options,"debugColumns","getLeftLeafColumns")),e.getRightLeafColumns=_e((()=>[e.getAllLeafColumns(),e.getState().columnPinning.right]),((e,o)=>(null!=o?o:[]).map((o=>e.find((e=>e.id===o)))).filter(Boolean)),be(e.options,"debugColumns","getRightLeafColumns")),e.getCenterLeafColumns=_e((()=>[e.getAllLeafColumns(),e.getState().columnPinning.left,e.getState().columnPinning.right]),((e,o,t)=>{const n=[...null!=o?o:[],...null!=t?t:[]];return e.filter((e=>!n.includes(e.id)))}),be(e.options,"debugColumns","getCenterLeafColumns"))}};const Ee={size:150,minSize:20,maxSize:Number.MAX_SAFE_INTEGER},He={getDefaultColumnDef:()=>Ee,getInitialState:e=>({columnSizing:{},columnSizingInfo:{startOffset:null,startSize:null,deltaOffset:null,deltaPercentage:null,isResizingColumn:!1,columnSizingStart:[]},...e}),getDefaultOptions:e=>({columnResizeMode:"onEnd",columnResizeDirection:"ltr",onColumnSizingChange:he("columnSizing",e),onColumnSizingInfoChange:he("columnSizingInfo",e)}),createColumn:(e,o)=>{e.getSize=()=>{var t,n,l;const a=o.getState().columnSizing[e.id];return Math.min(Math.max(null!=(t=e.columnDef.minSize)?t:Ee.minSize,null!=(n=null!=a?a:e.columnDef.size)?n:Ee.size),null!=(l=e.columnDef.maxSize)?l:Ee.maxSize)},e.getStart=_e((e=>[e,We(o,e),o.getState().columnSizing]),((o,t)=>t.slice(0,e.getIndex(o)).reduce(((e,o)=>e+o.getSize()),0)),be(o.options,"debugColumns","getStart")),e.getAfter=_e((e=>[e,We(o,e),o.getState().columnSizing]),((o,t)=>t.slice(e.getIndex(o)+1).reduce(((e,o)=>e+o.getSize()),0)),be(o.options,"debugColumns","getAfter")),e.resetSize=()=>{o.setColumnSizing((o=>{let{[e.id]:t,...n}=o;return n}))},e.getCanResize=()=>{var t,n;return(null==(t=e.columnDef.enableResizing)||t)&&(null==(n=o.options.enableColumnResizing)||n)},e.getIsResizing=()=>o.getState().columnSizingInfo.isResizingColumn===e.id},createHeader:(e,o)=>{e.getSize=()=>{let o=0;const t=e=>{var n;e.subHeaders.length?e.subHeaders.forEach(t):o+=null!=(n=e.column.getSize())?n:0};return t(e),o},e.getStart=()=>{if(e.index>0){const o=e.headerGroup.headers[e.index-1];return o.getStart()+o.getSize()}return 0},e.getResizeHandler=t=>{const n=o.getColumn(e.column.id),l=null==n?void 0:n.getCanResize();return a=>{if(!n||!l)return;if(null==a.persist||a.persist(),Ue(a)&&a.touches&&a.touches.length>1)return;const i=e.getSize(),r=e?e.getLeafHeaders().map((e=>[e.column.id,e.column.getSize()])):[[n.id,n.getSize()]],s=Ue(a)?Math.round(a.touches[0].clientX):a.clientX,d={},u=(e,t)=>{"number"==typeof t&&(o.setColumnSizingInfo((e=>{var n,l;const a="rtl"===o.options.columnResizeDirection?-1:1,i=(t-(null!=(n=null==e?void 0:e.startOffset)?n:0))*a,r=Math.max(i/(null!=(l=null==e?void 0:e.startSize)?l:0),-.999999);return e.columnSizingStart.forEach((e=>{let[o,t]=e;d[o]=Math.round(100*Math.max(t+t*r,0))/100})),{...e,deltaOffset:i,deltaPercentage:r}})),"onChange"!==o.options.columnResizeMode&&"end"!==e||o.setColumnSizing((e=>({...e,...d}))))},c=e=>u("move",e),g=e=>{u("end",e),o.setColumnSizingInfo((e=>({...e,isResizingColumn:!1,startOffset:null,startSize:null,deltaOffset:null,deltaPercentage:null,columnSizingStart:[]})))},m=t||("undefined"!=typeof document?document:null);const p={moveHandler:e=>c(e.clientX),upHandler:e=>{null==m||m.removeEventListener("mousemove",p.moveHandler),null==m||m.removeEventListener("mouseup",p.upHandler),g(e.clientX)}},h={moveHandler:e=>(e.cancelable&&(e.preventDefault(),e.stopPropagation()),c(e.touches[0].clientX),!1),upHandler:e=>{var o;null==m||m.removeEventListener("touchmove",h.moveHandler),null==m||m.removeEventListener("touchend",h.upHandler),e.cancelable&&(e.preventDefault(),e.stopPropagation()),g(null==(o=e.touches[0])?void 0:o.clientX)}},f=!!function(){if("boolean"==typeof qe)return qe;let e=!1;try{const o={get passive(){return e=!0,!1}},t=()=>{};window.addEventListener("test",t,o),window.removeEventListener("test",t)}catch(o){e=!1}return qe=e,qe}()&&{passive:!1};Ue(a)?(null==m||m.addEventListener("touchmove",h.moveHandler,f),null==m||m.addEventListener("touchend",h.upHandler,f)):(null==m||m.addEventListener("mousemove",p.moveHandler,f),null==m||m.addEventListener("mouseup",p.upHandler,f)),o.setColumnSizingInfo((e=>({...e,startOffset:s,startSize:i,deltaOffset:0,deltaPercentage:0,columnSizingStart:r,isResizingColumn:n.id})))}}},createTable:e=>{e.setColumnSizing=o=>null==e.options.onColumnSizingChange?void 0:e.options.onColumnSizingChange(o),e.setColumnSizingInfo=o=>null==e.options.onColumnSizingInfoChange?void 0:e.options.onColumnSizingInfoChange(o),e.resetColumnSizing=o=>{var t;e.setColumnSizing(o?{}:null!=(t=e.initialState.columnSizing)?t:{})},e.resetHeaderSizeInfo=o=>{var t;e.setColumnSizingInfo(o?{startOffset:null,startSize:null,deltaOffset:null,deltaPercentage:null,isResizingColumn:!1,columnSizingStart:[]}:null!=(t=e.initialState.columnSizingInfo)?t:{startOffset:null,startSize:null,deltaOffset:null,deltaPercentage:null,isResizingColumn:!1,columnSizingStart:[]})},e.getTotalSize=()=>{var o,t;return null!=(o=null==(t=e.getHeaderGroups()[0])?void 0:t.headers.reduce(((e,o)=>e+o.getSize()),0))?o:0},e.getLeftTotalSize=()=>{var o,t;return null!=(o=null==(t=e.getLeftHeaderGroups()[0])?void 0:t.headers.reduce(((e,o)=>e+o.getSize()),0))?o:0},e.getCenterTotalSize=()=>{var o,t;return null!=(o=null==(t=e.getCenterHeaderGroups()[0])?void 0:t.headers.reduce(((e,o)=>e+o.getSize()),0))?o:0},e.getRightTotalSize=()=>{var o,t;return null!=(o=null==(t=e.getRightHeaderGroups()[0])?void 0:t.headers.reduce(((e,o)=>e+o.getSize()),0))?o:0}}};let qe=null;function Ue(e){return"touchstart"===e.type}function We(e,o){return o?"center"===o?e.getCenterVisibleLeafColumns():"left"===o?e.getLeftVisibleLeafColumns():e.getRightVisibleLeafColumns():e.getVisibleLeafColumns()}const $e={getInitialState:e=>({rowSelection:{},...e}),getDefaultOptions:e=>({onRowSelectionChange:he("rowSelection",e),enableRowSelection:!0,enableMultiRowSelection:!0,enableSubRowSelection:!0}),createTable:e=>{e.setRowSelection=o=>null==e.options.onRowSelectionChange?void 0:e.options.onRowSelectionChange(o),e.resetRowSelection=o=>{var t;return e.setRowSelection(o?{}:null!=(t=e.initialState.rowSelection)?t:{})},e.toggleAllRowsSelected=o=>{e.setRowSelection((t=>{o=void 0!==o?o:!e.getIsAllRowsSelected();const n={...t},l=e.getPreGroupedRowModel().flatRows;return o?l.forEach((e=>{e.getCanSelect()&&(n[e.id]=!0)})):l.forEach((e=>{delete n[e.id]})),n}))},e.toggleAllPageRowsSelected=o=>e.setRowSelection((t=>{const n=void 0!==o?o:!e.getIsAllPageRowsSelected(),l={...t};return e.getRowModel().rows.forEach((o=>{Ke(l,o.id,n,!0,e)})),l})),e.getPreSelectedRowModel=()=>e.getCoreRowModel(),e.getSelectedRowModel=_e((()=>[e.getState().rowSelection,e.getCoreRowModel()]),((o,t)=>Object.keys(o).length?Ze(e,t):{rows:[],flatRows:[],rowsById:{}}),be(e.options,"debugTable","getSelectedRowModel")),e.getFilteredSelectedRowModel=_e((()=>[e.getState().rowSelection,e.getFilteredRowModel()]),((o,t)=>Object.keys(o).length?Ze(e,t):{rows:[],flatRows:[],rowsById:{}}),be(e.options,"debugTable","getFilteredSelectedRowModel")),e.getGroupedSelectedRowModel=_e((()=>[e.getState().rowSelection,e.getSortedRowModel()]),((o,t)=>Object.keys(o).length?Ze(e,t):{rows:[],flatRows:[],rowsById:{}}),be(e.options,"debugTable","getGroupedSelectedRowModel")),e.getIsAllRowsSelected=()=>{const o=e.getFilteredRowModel().flatRows,{rowSelection:t}=e.getState();let n=Boolean(o.length&&Object.keys(t).length);return n&&o.some((e=>e.getCanSelect()&&!t[e.id]))&&(n=!1),n},e.getIsAllPageRowsSelected=()=>{const o=e.getPaginationRowModel().flatRows.filter((e=>e.getCanSelect())),{rowSelection:t}=e.getState();let n=!!o.length;return n&&o.some((e=>!t[e.id]))&&(n=!1),n},e.getIsSomeRowsSelected=()=>{var o;const t=Object.keys(null!=(o=e.getState().rowSelection)?o:{}).length;return t>0&&t<e.getFilteredRowModel().flatRows.length},e.getIsSomePageRowsSelected=()=>{const o=e.getPaginationRowModel().flatRows;return!e.getIsAllPageRowsSelected()&&o.filter((e=>e.getCanSelect())).some((e=>e.getIsSelected()||e.getIsSomeSelected()))},e.getToggleAllRowsSelectedHandler=()=>o=>{e.toggleAllRowsSelected(o.target.checked)},e.getToggleAllPageRowsSelectedHandler=()=>o=>{e.toggleAllPageRowsSelected(o.target.checked)}},createRow:(e,o)=>{e.toggleSelected=(t,n)=>{const l=e.getIsSelected();o.setRowSelection((a=>{var i;if(t=void 0!==t?t:!l,e.getCanSelect()&&l===t)return a;const r={...a};return Ke(r,e.id,t,null==(i=null==n?void 0:n.selectChildren)||i,o),r}))},e.getIsSelected=()=>{const{rowSelection:t}=o.getState();return Je(e,t)},e.getIsSomeSelected=()=>{const{rowSelection:t}=o.getState();return"some"===Xe(e,t)},e.getIsAllSubRowsSelected=()=>{const{rowSelection:t}=o.getState();return"all"===Xe(e,t)},e.getCanSelect=()=>{var t;return"function"==typeof o.options.enableRowSelection?o.options.enableRowSelection(e):null==(t=o.options.enableRowSelection)||t},e.getCanSelectSubRows=()=>{var t;return"function"==typeof o.options.enableSubRowSelection?o.options.enableSubRowSelection(e):null==(t=o.options.enableSubRowSelection)||t},e.getCanMultiSelect=()=>{var t;return"function"==typeof o.options.enableMultiRowSelection?o.options.enableMultiRowSelection(e):null==(t=o.options.enableMultiRowSelection)||t},e.getToggleSelectedHandler=()=>{const o=e.getCanSelect();return t=>{var n;o&&e.toggleSelected(null==(n=t.target)?void 0:n.checked)}}}},Ke=(e,o,t,n,l)=>{var a;const i=l.getRow(o,!0);t?(i.getCanMultiSelect()||Object.keys(e).forEach((o=>delete e[o])),i.getCanSelect()&&(e[o]=!0)):delete e[o],n&&null!=(a=i.subRows)&&a.length&&i.getCanSelectSubRows()&&i.subRows.forEach((o=>Ke(e,o.id,t,n,l)))};function Ze(e,o){const t=e.getState().rowSelection,n=[],l={},a=function(e,o){return e.map((e=>{var o;const i=Je(e,t);if(i&&(n.push(e),l[e.id]=e),null!=(o=e.subRows)&&o.length&&(e={...e,subRows:a(e.subRows)}),i)return e})).filter(Boolean)};return{rows:a(o.rows),flatRows:n,rowsById:l}}function Je(e,o){var t;return null!=(t=o[e.id])&&t}function Xe(e,o,t){var n;if(null==(n=e.subRows)||!n.length)return!1;let l=!0,a=!1;return e.subRows.forEach((e=>{if((!a||l)&&(e.getCanSelect()&&(Je(e,o)?a=!0:l=!1),e.subRows&&e.subRows.length)){const t=Xe(e,o);"all"===t?a=!0:"some"===t?(a=!0,l=!1):l=!1}})),l?"all":!!a&&"some"}const Ye=/([0-9]+)/gm;function Qe(e,o){return e===o?0:e>o?1:-1}function eo(e){return"number"==typeof e?isNaN(e)||e===1/0||e===-1/0?"":String(e):"string"==typeof e?e:""}function oo(e,o){const t=e.split(Ye).filter(Boolean),n=o.split(Ye).filter(Boolean);for(;t.length&&n.length;){const e=t.shift(),o=n.shift(),l=parseInt(e,10),a=parseInt(o,10),i=[l,a].sort();if(isNaN(i[0])){if(e>o)return 1;if(o>e)return-1}else{if(isNaN(i[1]))return isNaN(l)?-1:1;if(l>a)return 1;if(a>l)return-1}}return t.length-n.length}const to={alphanumeric:(e,o,t)=>oo(eo(e.getValue(t)).toLowerCase(),eo(o.getValue(t)).toLowerCase()),alphanumericCaseSensitive:(e,o,t)=>oo(eo(e.getValue(t)),eo(o.getValue(t))),text:(e,o,t)=>Qe(eo(e.getValue(t)).toLowerCase(),eo(o.getValue(t)).toLowerCase()),textCaseSensitive:(e,o,t)=>Qe(eo(e.getValue(t)),eo(o.getValue(t))),datetime:(e,o,t)=>{const n=e.getValue(t),l=o.getValue(t);return n>l?1:n<l?-1:0},basic:(e,o,t)=>Qe(e.getValue(t),o.getValue(t))},no=[xe,{getInitialState:e=>({columnVisibility:{},...e}),getDefaultOptions:e=>({onColumnVisibilityChange:he("columnVisibility",e)}),createColumn:(e,o)=>{e.toggleVisibility=t=>{e.getCanHide()&&o.setColumnVisibility((o=>({...o,[e.id]:null!=t?t:!e.getIsVisible()})))},e.getIsVisible=()=>{var t,n;const l=e.columns;return null==(t=l.length?l.some((e=>e.getIsVisible())):null==(n=o.getState().columnVisibility)?void 0:n[e.id])||t},e.getCanHide=()=>{var t,n;return(null==(t=e.columnDef.enableHiding)||t)&&(null==(n=o.options.enableHiding)||n)},e.getToggleVisibilityHandler=()=>o=>{null==e.toggleVisibility||e.toggleVisibility(o.target.checked)}},createRow:(e,o)=>{e._getAllVisibleCells=_e((()=>[e.getAllCells(),o.getState().columnVisibility]),(e=>e.filter((e=>e.column.getIsVisible()))),be(o.options,"debugRows","_getAllVisibleCells")),e.getVisibleCells=_e((()=>[e.getLeftVisibleCells(),e.getCenterVisibleCells(),e.getRightVisibleCells()]),((e,o,t)=>[...e,...o,...t]),be(o.options,"debugRows","getVisibleCells"))},createTable:e=>{const o=(o,t)=>_e((()=>[t(),t().filter((e=>e.getIsVisible())).map((e=>e.id)).join("_")]),(e=>e.filter((e=>null==e.getIsVisible?void 0:e.getIsVisible()))),be(e.options,"debugColumns",o));e.getVisibleFlatColumns=o("getVisibleFlatColumns",(()=>e.getAllFlatColumns())),e.getVisibleLeafColumns=o("getVisibleLeafColumns",(()=>e.getAllLeafColumns())),e.getLeftVisibleLeafColumns=o("getLeftVisibleLeafColumns",(()=>e.getLeftLeafColumns())),e.getRightVisibleLeafColumns=o("getRightVisibleLeafColumns",(()=>e.getRightLeafColumns())),e.getCenterVisibleLeafColumns=o("getCenterVisibleLeafColumns",(()=>e.getCenterLeafColumns())),e.setColumnVisibility=o=>null==e.options.onColumnVisibilityChange?void 0:e.options.onColumnVisibilityChange(o),e.resetColumnVisibility=o=>{var t;e.setColumnVisibility(o?{}:null!=(t=e.initialState.columnVisibility)?t:{})},e.toggleAllColumnsVisible=o=>{var t;o=null!=(t=o)?t:!e.getIsAllColumnsVisible(),e.setColumnVisibility(e.getAllLeafColumns().reduce(((e,t)=>({...e,[t.id]:o||!(null!=t.getCanHide&&t.getCanHide())})),{}))},e.getIsAllColumnsVisible=()=>!e.getAllLeafColumns().some((e=>!(null!=e.getIsVisible&&e.getIsVisible()))),e.getIsSomeColumnsVisible=()=>e.getAllLeafColumns().some((e=>null==e.getIsVisible?void 0:e.getIsVisible())),e.getToggleAllColumnsVisibilityHandler=()=>o=>{var t;e.toggleAllColumnsVisible(null==(t=o.target)?void 0:t.checked)}}},Te,Ge,Se,Ve,{createTable:e=>{e._getGlobalFacetedRowModel=e.options.getFacetedRowModel&&e.options.getFacetedRowModel(e,"__global__"),e.getGlobalFacetedRowModel=()=>e.options.manualFiltering||!e._getGlobalFacetedRowModel?e.getPreFilteredRowModel():e._getGlobalFacetedRowModel(),e._getGlobalFacetedUniqueValues=e.options.getFacetedUniqueValues&&e.options.getFacetedUniqueValues(e,"__global__"),e.getGlobalFacetedUniqueValues=()=>e._getGlobalFacetedUniqueValues?e._getGlobalFacetedUniqueValues():new Map,e._getGlobalFacetedMinMaxValues=e.options.getFacetedMinMaxValues&&e.options.getFacetedMinMaxValues(e,"__global__"),e.getGlobalFacetedMinMaxValues=()=>{if(e._getGlobalFacetedMinMaxValues)return e._getGlobalFacetedMinMaxValues()}}},{getInitialState:e=>({globalFilter:void 0,...e}),getDefaultOptions:e=>({onGlobalFilterChange:he("globalFilter",e),globalFilterFn:"auto",getColumnCanGlobalFilter:o=>{var t;const n=null==(t=e.getCoreRowModel().flatRows[0])||null==(t=t._getAllCellsByColumnId()[o.id])?void 0:t.getValue();return"string"==typeof n||"number"==typeof n}}),createColumn:(e,o)=>{e.getCanGlobalFilter=()=>{var t,n,l,a;return(null==(t=e.columnDef.enableGlobalFilter)||t)&&(null==(n=o.options.enableGlobalFilter)||n)&&(null==(l=o.options.enableFilters)||l)&&(null==(a=null==o.options.getColumnCanGlobalFilter?void 0:o.options.getColumnCanGlobalFilter(e))||a)&&!!e.accessorFn}},createTable:e=>{e.getGlobalAutoFilterFn=()=>Ie.includesString,e.getGlobalFilterFn=()=>{var o,t;const{globalFilterFn:n}=e.options;return fe(n)?n:"auto"===n?e.getGlobalAutoFilterFn():null!=(o=null==(t=e.options.filterFns)?void 0:t[n])?o:Ie[n]},e.setGlobalFilter=o=>{null==e.options.onGlobalFilterChange||e.options.onGlobalFilterChange(o)},e.resetGlobalFilter=o=>{e.setGlobalFilter(o?void 0:e.initialState.globalFilter)}}},{getInitialState:e=>({sorting:[],...e}),getDefaultColumnDef:()=>({sortingFn:"auto",sortUndefined:1}),getDefaultOptions:e=>({onSortingChange:he("sorting",e),isMultiSortEvent:e=>e.shiftKey}),createColumn:(e,o)=>{e.getAutoSortingFn=()=>{const t=o.getFilteredRowModel().flatRows.slice(10);let n=!1;for(const o of t){const t=null==o?void 0:o.getValue(e.id);if("[object Date]"===Object.prototype.toString.call(t))return to.datetime;if("string"==typeof t&&(n=!0,t.split(Ye).length>1))return to.alphanumeric}return n?to.text:to.basic},e.getAutoSortDir=()=>{const t=o.getFilteredRowModel().flatRows[0];return"string"==typeof(null==t?void 0:t.getValue(e.id))?"asc":"desc"},e.getSortingFn=()=>{var t,n;if(!e)throw new Error;return fe(e.columnDef.sortingFn)?e.columnDef.sortingFn:"auto"===e.columnDef.sortingFn?e.getAutoSortingFn():null!=(t=null==(n=o.options.sortingFns)?void 0:n[e.columnDef.sortingFn])?t:to[e.columnDef.sortingFn]},e.toggleSorting=(t,n)=>{const l=e.getNextSortingOrder(),a=null!=t;o.setSorting((i=>{const r=null==i?void 0:i.find((o=>o.id===e.id)),s=null==i?void 0:i.findIndex((o=>o.id===e.id));let d,u=[],c=a?t:"desc"===l;var g;(d=null!=i&&i.length&&e.getCanMultiSort()&&n?r?"toggle":"add":null!=i&&i.length&&s!==i.length-1?"replace":r?"toggle":"replace","toggle"===d&&(a||l||(d="remove")),"add"===d)?(u=[...i,{id:e.id,desc:c}],u.splice(0,u.length-(null!=(g=o.options.maxMultiSortColCount)?g:Number.MAX_SAFE_INTEGER))):u="toggle"===d?i.map((o=>o.id===e.id?{...o,desc:c}:o)):"remove"===d?i.filter((o=>o.id!==e.id)):[{id:e.id,desc:c}];return u}))},e.getFirstSortDir=()=>{var t,n;return(null!=(t=null!=(n=e.columnDef.sortDescFirst)?n:o.options.sortDescFirst)?t:"desc"===e.getAutoSortDir())?"desc":"asc"},e.getNextSortingOrder=t=>{var n,l;const a=e.getFirstSortDir(),i=e.getIsSorted();return i?!!(i===a||null!=(n=o.options.enableSortingRemoval)&&!n||t&&null!=(l=o.options.enableMultiRemove)&&!l)&&("desc"===i?"asc":"desc"):a},e.getCanSort=()=>{var t,n;return(null==(t=e.columnDef.enableSorting)||t)&&(null==(n=o.options.enableSorting)||n)&&!!e.accessorFn},e.getCanMultiSort=()=>{var t,n;return null!=(t=null!=(n=e.columnDef.enableMultiSort)?n:o.options.enableMultiSort)?t:!!e.accessorFn},e.getIsSorted=()=>{var t;const n=null==(t=o.getState().sorting)?void 0:t.find((o=>o.id===e.id));return!!n&&(n.desc?"desc":"asc")},e.getSortIndex=()=>{var t,n;return null!=(t=null==(n=o.getState().sorting)?void 0:n.findIndex((o=>o.id===e.id)))?t:-1},e.clearSorting=()=>{o.setSorting((o=>null!=o&&o.length?o.filter((o=>o.id!==e.id)):[]))},e.getToggleSortingHandler=()=>{const t=e.getCanSort();return n=>{t&&(null==n.persist||n.persist(),null==e.toggleSorting||e.toggleSorting(void 0,!!e.getCanMultiSort()&&(null==o.options.isMultiSortEvent?void 0:o.options.isMultiSortEvent(n))))}}},createTable:e=>{e.setSorting=o=>null==e.options.onSortingChange?void 0:e.options.onSortingChange(o),e.resetSorting=o=>{var t,n;e.setSorting(o?[]:null!=(t=null==(n=e.initialState)?void 0:n.sorting)?t:[])},e.getPreSortedRowModel=()=>e.getGroupedRowModel(),e.getSortedRowModel=()=>(!e._getSortedRowModel&&e.options.getSortedRowModel&&(e._getSortedRowModel=e.options.getSortedRowModel(e)),e.options.manualSorting||!e._getSortedRowModel?e.getPreSortedRowModel():e._getSortedRowModel())}},Oe,{getInitialState:e=>({expanded:{},...e}),getDefaultOptions:e=>({onExpandedChange:he("expanded",e),paginateExpandedRows:!0}),createTable:e=>{let o=!1,t=!1;e._autoResetExpanded=()=>{var n,l;if(o){if(null!=(n=null!=(l=e.options.autoResetAll)?l:e.options.autoResetExpanded)?n:!e.options.manualExpanding){if(t)return;t=!0,e._queue((()=>{e.resetExpanded(),t=!1}))}}else e._queue((()=>{o=!0}))},e.setExpanded=o=>null==e.options.onExpandedChange?void 0:e.options.onExpandedChange(o),e.toggleAllRowsExpanded=o=>{(null!=o?o:!e.getIsAllRowsExpanded())?e.setExpanded(!0):e.setExpanded({})},e.resetExpanded=o=>{var t,n;e.setExpanded(o?{}:null!=(t=null==(n=e.initialState)?void 0:n.expanded)?t:{})},e.getCanSomeRowsExpand=()=>e.getPrePaginationRowModel().flatRows.some((e=>e.getCanExpand())),e.getToggleAllRowsExpandedHandler=()=>o=>{null==o.persist||o.persist(),e.toggleAllRowsExpanded()},e.getIsSomeRowsExpanded=()=>{const o=e.getState().expanded;return!0===o||Object.values(o).some(Boolean)},e.getIsAllRowsExpanded=()=>{const o=e.getState().expanded;return"boolean"==typeof o?!0===o:!!Object.keys(o).length&&!e.getRowModel().flatRows.some((e=>!e.getIsExpanded()))},e.getExpandedDepth=()=>{let o=0;return(!0===e.getState().expanded?Object.keys(e.getRowModel().rowsById):Object.keys(e.getState().expanded)).forEach((e=>{const t=e.split(".");o=Math.max(o,t.length)})),o},e.getPreExpandedRowModel=()=>e.getSortedRowModel(),e.getExpandedRowModel=()=>(!e._getExpandedRowModel&&e.options.getExpandedRowModel&&(e._getExpandedRowModel=e.options.getExpandedRowModel(e)),e.options.manualExpanding||!e._getExpandedRowModel?e.getPreExpandedRowModel():e._getExpandedRowModel())},createRow:(e,o)=>{e.toggleExpanded=t=>{o.setExpanded((n=>{var l;const a=!0===n||!(null==n||!n[e.id]);let i={};if(!0===n?Object.keys(o.getRowModel().rowsById).forEach((e=>{i[e]=!0})):i=n,t=null!=(l=t)?l:!a,!a&&t)return{...i,[e.id]:!0};if(a&&!t){const{[e.id]:o,...t}=i;return t}return n}))},e.getIsExpanded=()=>{var t;const n=o.getState().expanded;return!!(null!=(t=null==o.options.getIsRowExpanded?void 0:o.options.getIsRowExpanded(e))?t:!0===n||(null==n?void 0:n[e.id]))},e.getCanExpand=()=>{var t,n,l;return null!=(t=null==o.options.getRowCanExpand?void 0:o.options.getRowCanExpand(e))?t:(null==(n=o.options.enableExpanding)||n)&&!(null==(l=e.subRows)||!l.length)},e.getIsAllParentsExpanded=()=>{let t=!0,n=e;for(;t&&n.parentId;)n=o.getRow(n.parentId,!0),t=n.getIsExpanded();return t},e.getToggleExpandedHandler=()=>{const o=e.getCanExpand();return()=>{o&&e.toggleExpanded()}}}},{getInitialState:e=>({...e,pagination:{pageIndex:0,pageSize:10,...null==e?void 0:e.pagination}}),getDefaultOptions:e=>({onPaginationChange:he("pagination",e)}),createTable:e=>{let o=!1,t=!1;e._autoResetPageIndex=()=>{var n,l;if(o){if(null!=(n=null!=(l=e.options.autoResetAll)?l:e.options.autoResetPageIndex)?n:!e.options.manualPagination){if(t)return;t=!0,e._queue((()=>{e.resetPageIndex(),t=!1}))}}else e._queue((()=>{o=!0}))},e.setPagination=o=>null==e.options.onPaginationChange?void 0:e.options.onPaginationChange((e=>pe(o,e))),e.resetPagination=o=>{var t;e.setPagination(o?{pageIndex:0,pageSize:10}:null!=(t=e.initialState.pagination)?t:{pageIndex:0,pageSize:10})},e.setPageIndex=o=>{e.setPagination((t=>{let n=pe(o,t.pageIndex);const l=void 0===e.options.pageCount||-1===e.options.pageCount?Number.MAX_SAFE_INTEGER:e.options.pageCount-1;return n=Math.max(0,Math.min(n,l)),{...t,pageIndex:n}}))},e.resetPageIndex=o=>{var t,n;e.setPageIndex(o?0:null!=(t=null==(n=e.initialState)||null==(n=n.pagination)?void 0:n.pageIndex)?t:0)},e.resetPageSize=o=>{var t,n;e.setPageSize(o?10:null!=(t=null==(n=e.initialState)||null==(n=n.pagination)?void 0:n.pageSize)?t:10)},e.setPageSize=o=>{e.setPagination((e=>{const t=Math.max(1,pe(o,e.pageSize)),n=e.pageSize*e.pageIndex,l=Math.floor(n/t);return{...e,pageIndex:l,pageSize:t}}))},e.setPageCount=o=>e.setPagination((t=>{var n;let l=pe(o,null!=(n=e.options.pageCount)?n:-1);return"number"==typeof l&&(l=Math.max(-1,l)),{...t,pageCount:l}})),e.getPageOptions=_e((()=>[e.getPageCount()]),(e=>{let o=[];return e&&e>0&&(o=[...new Array(e)].fill(null).map(((e,o)=>o))),o}),be(e.options,"debugTable","getPageOptions")),e.getCanPreviousPage=()=>e.getState().pagination.pageIndex>0,e.getCanNextPage=()=>{const{pageIndex:o}=e.getState().pagination,t=e.getPageCount();return-1===t||0!==t&&o<t-1},e.previousPage=()=>e.setPageIndex((e=>e-1)),e.nextPage=()=>e.setPageIndex((e=>e+1)),e.firstPage=()=>e.setPageIndex(0),e.lastPage=()=>e.setPageIndex(e.getPageCount()-1),e.getPrePaginationRowModel=()=>e.getExpandedRowModel(),e.getPaginationRowModel=()=>(!e._getPaginationRowModel&&e.options.getPaginationRowModel&&(e._getPaginationRowModel=e.options.getPaginationRowModel(e)),e.options.manualPagination||!e._getPaginationRowModel?e.getPrePaginationRowModel():e._getPaginationRowModel()),e.getPageCount=()=>{var o;return null!=(o=e.options.pageCount)?o:Math.ceil(e.getRowCount()/e.getState().pagination.pageSize)},e.getRowCount=()=>{var o;return null!=(o=e.options.rowCount)?o:e.getPrePaginationRowModel().rows.length}}},{getInitialState:e=>({rowPinning:{top:[],bottom:[]},...e}),getDefaultOptions:e=>({onRowPinningChange:he("rowPinning",e)}),createRow:(e,o)=>{e.pin=(t,n,l)=>{const a=n?e.getLeafRows().map((e=>{let{id:o}=e;return o})):[],i=l?e.getParentRows().map((e=>{let{id:o}=e;return o})):[],r=new Set([...i,e.id,...a]);o.setRowPinning((e=>{var o,n,l,a,i,s;return"bottom"===t?{top:(null!=(l=null==e?void 0:e.top)?l:[]).filter((e=>!(null!=r&&r.has(e)))),bottom:[...(null!=(a=null==e?void 0:e.bottom)?a:[]).filter((e=>!(null!=r&&r.has(e)))),...Array.from(r)]}:"top"===t?{top:[...(null!=(i=null==e?void 0:e.top)?i:[]).filter((e=>!(null!=r&&r.has(e)))),...Array.from(r)],bottom:(null!=(s=null==e?void 0:e.bottom)?s:[]).filter((e=>!(null!=r&&r.has(e))))}:{top:(null!=(o=null==e?void 0:e.top)?o:[]).filter((e=>!(null!=r&&r.has(e)))),bottom:(null!=(n=null==e?void 0:e.bottom)?n:[]).filter((e=>!(null!=r&&r.has(e))))}}))},e.getCanPin=()=>{var t;const{enableRowPinning:n,enablePinning:l}=o.options;return"function"==typeof n?n(e):null==(t=null!=n?n:l)||t},e.getIsPinned=()=>{const t=[e.id],{top:n,bottom:l}=o.getState().rowPinning,a=t.some((e=>null==n?void 0:n.includes(e))),i=t.some((e=>null==l?void 0:l.includes(e)));return a?"top":!!i&&"bottom"},e.getPinnedIndex=()=>{var t,n;const l=e.getIsPinned();if(!l)return-1;const a=null==(t="top"===l?o.getTopRows():o.getBottomRows())?void 0:t.map((e=>{let{id:o}=e;return o}));return null!=(n=null==a?void 0:a.indexOf(e.id))?n:-1}},createTable:e=>{e.setRowPinning=o=>null==e.options.onRowPinningChange?void 0:e.options.onRowPinningChange(o),e.resetRowPinning=o=>{var t,n;return e.setRowPinning(o?{top:[],bottom:[]}:null!=(t=null==(n=e.initialState)?void 0:n.rowPinning)?t:{top:[],bottom:[]})},e.getIsSomeRowsPinned=o=>{var t;const n=e.getState().rowPinning;var l,a;return o?Boolean(null==(t=n[o])?void 0:t.length):Boolean((null==(l=n.top)?void 0:l.length)||(null==(a=n.bottom)?void 0:a.length))},e._getPinnedRows=(o,t,n)=>{var l;return(null==(l=e.options.keepPinnedRows)||l?(null!=t?t:[]).map((o=>{const t=e.getRow(o,!0);return t.getIsAllParentsExpanded()?t:null})):(null!=t?t:[]).map((e=>o.find((o=>o.id===e))))).filter(Boolean).map((e=>({...e,position:n})))},e.getTopRows=_e((()=>[e.getRowModel().rows,e.getState().rowPinning.top]),((o,t)=>e._getPinnedRows(o,t,"top")),be(e.options,"debugRows","getTopRows")),e.getBottomRows=_e((()=>[e.getRowModel().rows,e.getState().rowPinning.bottom]),((o,t)=>e._getPinnedRows(o,t,"bottom")),be(e.options,"debugRows","getBottomRows")),e.getCenterRows=_e((()=>[e.getRowModel().rows,e.getState().rowPinning.top,e.getState().rowPinning.bottom]),((e,o,t)=>{const n=new Set([...null!=o?o:[],...null!=t?t:[]]);return e.filter((e=>!n.has(e.id)))}),be(e.options,"debugRows","getCenterRows"))}},$e,He];function lo(e){var o,t;"production"!==process.env.NODE_ENV&&(e.debugAll||e.debugTable)&&console.info("Creating Table Instance...");const n=[...no,...null!=(o=e._features)?o:[]];let l={_features:n};const a=l._features.reduce(((e,o)=>Object.assign(e,null==o.getDefaultOptions?void 0:o.getDefaultOptions(l))),{});let i={...null!=(t=e.initialState)?t:{}};l._features.forEach((e=>{var o;i=null!=(o=null==e.getInitialState?void 0:e.getInitialState(i))?o:i}));const r=[];let s=!1;const d={_features:n,options:{...a,...e},initialState:i,_queue:e=>{r.push(e),s||(s=!0,Promise.resolve().then((()=>{for(;r.length;)r.shift()();s=!1})).catch((e=>setTimeout((()=>{throw e})))))},reset:()=>{l.setState(l.initialState)},setOptions:e=>{const o=pe(e,l.options);l.options=(e=>l.options.mergeOptions?l.options.mergeOptions(a,e):{...a,...e})(o)},getState:()=>l.options.state,setState:e=>{null==l.options.onStateChange||l.options.onStateChange(e)},_getRowId:(e,o,t)=>{var n;return null!=(n=null==l.options.getRowId?void 0:l.options.getRowId(e,o,t))?n:`${t?[t.id,o].join("."):o}`},getCoreRowModel:()=>(l._getCoreRowModel||(l._getCoreRowModel=l.options.getCoreRowModel(l)),l._getCoreRowModel()),getRowModel:()=>l.getPaginationRowModel(),getRow:(e,o)=>{let t=(o?l.getPrePaginationRowModel():l.getRowModel()).rowsById[e];if(!t&&(t=l.getCoreRowModel().rowsById[e],!t)){if("production"!==process.env.NODE_ENV)throw new Error(`getRow could not find row with ID: ${e}`);throw new Error}return t},_getDefaultColumnDef:_e((()=>[l.options.defaultColumn]),(e=>{var o;return e=null!=(o=e)?o:{},{header:e=>{const o=e.header.column.columnDef;return o.accessorKey?o.accessorKey:o.accessorFn?o.id:null},cell:e=>{var o,t;return null!=(o=null==(t=e.renderValue())||null==t.toString?void 0:t.toString())?o:null},...l._features.reduce(((e,o)=>Object.assign(e,null==o.getDefaultColumnDef?void 0:o.getDefaultColumnDef())),{}),...e}}),be(e,"debugColumns","_getDefaultColumnDef")),_getColumnDefs:()=>l.options.columns,getAllColumns:_e((()=>[l._getColumnDefs()]),(e=>{const o=function(e,t,n){return void 0===n&&(n=0),e.map((e=>{const a=function(e,o,t,n){var l,a;const i={...e._getDefaultColumnDef(),...o},r=i.accessorKey;let s,d=null!=(l=null!=(a=i.id)?a:r?"function"==typeof String.prototype.replaceAll?r.replaceAll(".","_"):r.replace(/\./g,"_"):void 0)?l:"string"==typeof i.header?i.header:void 0;if(i.accessorFn?s=i.accessorFn:r&&(s=r.includes(".")?e=>{let o=e;for(const e of r.split(".")){var t;o=null==(t=o)?void 0:t[e],"production"!==process.env.NODE_ENV&&void 0===o&&console.warn(`"${e}" in deeply nested key "${r}" returned undefined.`)}return o}:e=>e[i.accessorKey]),!d){if("production"!==process.env.NODE_ENV)throw new Error(i.accessorFn?"Columns require an id when using an accessorFn":"Columns require an id when using a non-string header");throw new Error}let u={id:`${String(d)}`,accessorFn:s,parent:n,depth:t,columnDef:i,columns:[],getFlatColumns:_e((()=>[!0]),(()=>{var e;return[u,...null==(e=u.columns)?void 0:e.flatMap((e=>e.getFlatColumns()))]}),be(e.options,"debugColumns","column.getFlatColumns")),getLeafColumns:_e((()=>[e._getOrderColumnsFn()]),(e=>{var o;if(null!=(o=u.columns)&&o.length){let o=u.columns.flatMap((e=>e.getLeafColumns()));return e(o)}return[u]}),be(e.options,"debugColumns","column.getLeafColumns"))};for(const o of e._features)null==o.createColumn||o.createColumn(u,e);return u}(l,e,n,t),i=e;return a.columns=i.columns?o(i.columns,a,n+1):[],a}))};return o(e)}),be(e,"debugColumns","getAllColumns")),getAllFlatColumns:_e((()=>[l.getAllColumns()]),(e=>e.flatMap((e=>e.getFlatColumns()))),be(e,"debugColumns","getAllFlatColumns")),_getAllFlatColumnsById:_e((()=>[l.getAllFlatColumns()]),(e=>e.reduce(((e,o)=>(e[o.id]=o,e)),{})),be(e,"debugColumns","getAllFlatColumnsById")),getAllLeafColumns:_e((()=>[l.getAllColumns(),l._getOrderColumnsFn()]),((e,o)=>o(e.flatMap((e=>e.getLeafColumns())))),be(e,"debugColumns","getAllLeafColumns")),getColumn:e=>{const o=l._getAllFlatColumnsById()[e];return"production"===process.env.NODE_ENV||o||console.error(`[Table] Column with id '${e}' does not exist.`),o}};Object.assign(l,d);for(let e=0;e<l._features.length;e++){const o=l._features[e];null==o||null==o.createTable||o.createTable(l)}return l}function ao(e){const o=[],t=e=>{var n;o.push(e),null!=(n=e.subRows)&&n.length&&e.getIsExpanded()&&e.subRows.forEach(t)};return e.rows.forEach(t),{rows:o,flatRows:e.flatRows,rowsById:e.rowsById}}
38
+ /**
39
+ * react-table
40
+ *
41
+ * Copyright (c) TanStack
42
+ *
43
+ * This source code is licensed under the MIT license found in the
44
+ * LICENSE.md file in the root directory of this source tree.
45
+ *
46
+ * @license MIT
47
+ */
48
+ function io(e,o){return e?function(e){return"function"==typeof e&&(()=>{const o=Object.getPrototypeOf(e);return o.prototype&&o.prototype.isReactComponent})()}(t=e)||"function"==typeof t||function(e){return"object"==typeof e&&"symbol"==typeof e.$$typeof&&["react.memo","react.forward_ref"].includes(e.$$typeof.description)}(t)?l.createElement(e,o):e:null;var t}const ro=({headerGroups:o})=>e.jsx(e.Fragment,{children:o.map((o=>e.jsx("tr",{children:o.headers.map((o=>{const t=o.column.getIsSorted(),n=o.column.getCanSort();return e.jsx("th",Object.assign({style:{width:o.getSize()},className:"table-header-sorting px-4 py-3 text-left text-sm font-medium text-gray-500"},{children:o.isPlaceholder?null:e.jsxs("div",Object.assign({role:"none",className:u("flex items-center gap-1",n&&"cursor-pointer select-none"),onClick:o.column.getToggleSortingHandler()},{children:[io(o.column.columnDef.header,o.getContext()),n&&e.jsxs("div",Object.assign({className:"flex flex-col text-xs leading-none"},{children:[e.jsx("span",Object.assign({className:u("material-symbols-outlined","asc"===t?"text-black":"text-gray-300")},{children:"keyboard_arrow_up"})),e.jsx("span",Object.assign({className:u("material-symbols-outlined","desc"===t?"text-black":"text-gray-300")},{children:"keyboard_arrow_down"}))]}))]}))}),o.id)}))},o.id)))});const so={tableNoData:"assets/images/nodata-04bb1c9b346f46fd.png",arrowRightBlack:"assets/images/arrowRightBlack-9e202c8a68eabcc8.png"},uo=({loader:o,table:t})=>{var n,l;const i=(o,t=10)=>{var n;return null===(n=Array.from({length:t}))||void 0===n?void 0:n.map(((t,n)=>{var l;return e.jsx("tr",{children:null===(l=Array.from({length:o}))||void 0===l?void 0:l.map(((o,t)=>e.jsx("td",Object.assign({className:"px-4 py-3"},{children:e.jsx("div",{className:"h-4 bg-gray-200 rounded animate-pulse w-full"})}),`skeleton-cell-${n}-${t}`)))},`skeleton-row-${n}`)}))},r=(o,t=0)=>o.map((o=>{var n;return e.jsxs(a.default.Fragment,{children:[e.jsx("tr",Object.assign({onClick:()=>{o.getCanExpand()&&o.toggleExpanded()},className:o.getCanExpand()?"hover:bg-gray-100":""},{children:o.getVisibleCells().map((o=>e.jsx("td",Object.assign({className:"whitespace-nowrap lower-line px-4 py-3 text-sm text-gray-900",style:{paddingLeft:1.5*t+"rem"}},{children:io(o.column.columnDef.cell,o.getContext())}),o.id)))})),o.getIsExpanded()&&(null===(n=o.subRows)||void 0===n?void 0:n.length)>0&&r(o.subRows,t+1)]},o.id)}));if(o)return e.jsx(e.Fragment,{children:i(null===(n=null==t?void 0:t.getAllLeafColumns())||void 0===n?void 0:n.length)});const s=t.getCoreRowModel().rows;return(null==s?void 0:s.length)>0?e.jsx(e.Fragment,{children:r(s)}):e.jsx("tr",Object.assign({className:"relative"},{children:e.jsx("td",Object.assign({colSpan:null===(l=null==t?void 0:t.getAllColumns())||void 0===l?void 0:l.length,className:"text-center px-4 py-6 text-gray-500"},{children:e.jsxs("div",Object.assign({className:"flex justify-center items-center flex-col gap-2 h-[400px]"},{children:[e.jsx("img",{src:null==so?void 0:so.tableNoData,alt:"No data found"}),"No data found"]}))}))}))},co=({table:o,pageCount:t})=>{const n=o.getState().pagination.pageIndex+1;return e.jsx("div",Object.assign({className:"flex items-center justify-between px-4 py-5 bg-white border-gray-200"},{children:e.jsxs("div",Object.assign({className:"flex items-center gap-2 w-full justify-between"},{children:[e.jsxs(c,Object.assign({onClick:()=>o.previousPage(),disabled:!o.getCanPreviousPage(),variant:"secondary"},{children:[e.jsx("span",Object.assign({className:"material-symbols-outlined text-[#A4A7AE]"},{children:"arrow_back"}))," Previous"]})),e.jsx("div",Object.assign({className:"flex items-center gap-1"},{children:(()=>{const e=[];if(t<=7)return Array.from({length:t},((e,o)=>o+1));const o=Math.max(2,n-1),l=Math.min(t-1,n+1);e.push(1),o>2&&e.push("...");for(let t=o;t<=l;t++)e.push(t);return l<t-1&&e.push("..."),e.push(t),e})().map(((t,l)=>"number"==typeof t?e.jsx("button",Object.assign({onClick:()=>o.setPageIndex(t-1),className:u("px-3 py-1 text-sm rounded",n===t?"bg-[#FAFAFA]":"hover:bg-gray-100")},{children:t}),l+0):e.jsx("span",Object.assign({className:"px-2 py-1 text-sm text-gray-500"},{children:"..."}),l+0)))})),e.jsxs(c,Object.assign({onClick:()=>o.nextPage(),disabled:!o.getCanNextPage(),variant:"secondary"},{children:["Next ",e.jsx("span",Object.assign({className:"material-symbols-outlined text-[#A4A7AE]"},{children:"arrow_forward"}))]}))]}))}))};r('.table-wrapper{max-height:700px;overflow-y:auto}.table-wrapper table tbody tr{border-bottom:1px solid #eaeaea}.table-wrapper table tbody tr:hover{background-color:#f7fafc}.table-wrapper table tbody .lower-line{position:relative}.table-wrapper table tbody .lower-line:after{bottom:0;height:1px;left:10px;position:absolute;right:10px;width:auto}.table-wrapper .table-header-label{color:#717680;font-size:15px;font-weight:18px;font-weight:600}.table-wrapper .status-box{align-items:center;border:1px solid var(--color-secondary-border);border-radius:8px;box-shadow:0 1px 2px 0 var(--color-primary-box-shadow);display:flex;gap:5px;justify-content:space-between;max-height:22px;padding:10px}.table-wrapper .error-text{color:var(--color-danger-secondary);font-weight:600}.table-wrapper .no-border{border:0}.table-wrapper .sticky-header{background:#fafafa;height:49px;position:sticky;top:0;z-index:2}.table-header-sorting .material-symbols-outlined{word-wrap:normal;-webkit-font-feature-settings:"liga";-webkit-font-smoothing:antialiased;direction:ltr;display:inline-block;font-family:Material Symbols Outlined;font-size:22px;font-style:normal;font-weight:400;letter-spacing:normal;line-height:.45;text-transform:none;white-space:nowrap}');var go={"display-xs-semibold":"Display-module_display-xs-semibold__WymwJ","display-sm-semibold":"Display-module_display-sm-semibold__8vXcr","display-md-semibold":"Display-module_display-md-semibold__ez8ka","display-lg-semibold":"Display-module_display-lg-semibold__LqVEc","text-primary":"Display-module_text-primary__UOcb0","text-secondary":"Display-module_text-secondary__GobfS","text-tertiary":"Display-module_text-tertiary__EwyTF","text-brand-600":"Display-module_text-brand-600__5V4wh","text-brand-700":"Display-module_text-brand-700__CNSNX","text-success":"Display-module_text-success__jZVCA","text-white":"Display-module_text-white__o7ijR","text-placeholder":"Display-module_text-placeholder__RRxtq","text-left":"Display-module_text-left__-0Ohh","text-center":"Display-module_text-center__y7o1J","text-right":"Display-module_text-right__e2uwK"};r(".Display-module_display-xs-semibold__WymwJ{color:#181d27;font-family:Inter,sans-serif;font-size:24px;font-weight:600;line-height:32px}.Display-module_display-sm-semibold__8vXcr{color:#181d27;font-family:Inter,sans-serif;font-size:30px;font-weight:600;line-height:38px}.Display-module_display-md-semibold__ez8ka{color:#181d27;font-family:Inter,sans-serif;font-size:36px;font-weight:600;line-height:44px}.Display-module_display-lg-semibold__LqVEc{color:#181d27;font-family:Inter,sans-serif;font-size:48px;font-weight:600;letter-spacing:-.96px;line-height:60px}.Display-module_text-primary__UOcb0{color:#181d27}.Display-module_text-secondary__GobfS{color:#414651}.Display-module_text-tertiary__EwyTF{color:#535862}.Display-module_text-brand-600__5V4wh{color:#7f56d9}.Display-module_text-brand-700__CNSNX{color:#6a41c8}.Display-module_text-success__jZVCA{color:#067647}.Display-module_text-white__o7ijR{color:#fff}.Display-module_text-placeholder__RRxtq{color:#717680}.Display-module_text-left__-0Ohh{text-align:left}.Display-module_text-center__y7o1J{text-align:center}.Display-module_text-right__e2uwK{text-align:right}");var mo={"text-xs-regular":"Text-module_text-xs-regular__O0Fxg","text-xs-medium":"Text-module_text-xs-medium__KSpOA","text-xs-semibold":"Text-module_text-xs-semibold__zQ-D3","text-sm-regular":"Text-module_text-sm-regular__-DVCe","text-sm-medium":"Text-module_text-sm-medium__YZqUc","text-sm-semibold":"Text-module_text-sm-semibold__K14gZ","text-md-regular":"Text-module_text-md-regular__cJVgS","text-md-semibold":"Text-module_text-md-semibold__LTDX6","text-lg-semibold":"Text-module_text-lg-semibold__xT3yl","text-lg-bold":"Text-module_text-lg-bold__m1Xo5","text-xl-semibold":"Text-module_text-xl-semibold__j4lCy","text-primary":"Text-module_text-primary__3B8r3","text-secondary":"Text-module_text-secondary__xPg0-","text-tertiary":"Text-module_text-tertiary__B4epT","text-brand-600":"Text-module_text-brand-600__wrJ4z","text-brand-700":"Text-module_text-brand-700__nXPvf","text-success":"Text-module_text-success__jtDwD","text-white":"Text-module_text-white__4DiJ9","text-placeholder":"Text-module_text-placeholder__Y766h","text-left":"Text-module_text-left__j52n3","text-center":"Text-module_text-center__LKy3Y","text-right":"Text-module_text-right__WAySO"};r(".Text-module_text-xs-regular__O0Fxg{font-family:Inter,sans-serif;font-size:12px;font-weight:400;line-height:18px}.Text-module_text-xs-medium__KSpOA{font-family:Inter,sans-serif;font-size:12px;font-weight:500;line-height:18px}.Text-module_text-xs-semibold__zQ-D3{font-family:Inter,sans-serif;font-size:12px;font-weight:600;line-height:18px}.Text-module_text-sm-regular__-DVCe{font-family:Inter,sans-serif;font-size:14px;font-weight:400;line-height:20px}.Text-module_text-sm-medium__YZqUc{font-family:Inter,sans-serif;font-size:14px;font-weight:500;line-height:20px}.Text-module_text-sm-semibold__K14gZ{font-family:Inter,sans-serif;font-size:14px;font-weight:600;line-height:20px}.Text-module_text-md-regular__cJVgS{font-family:Inter,sans-serif;font-size:16px;font-weight:400;line-height:24px}.Text-module_text-md-semibold__LTDX6{font-family:Inter,sans-serif;font-size:16px;font-weight:600;line-height:24px}.Text-module_text-lg-semibold__xT3yl{font-family:Inter,sans-serif;font-size:18px;font-weight:600;line-height:28px}.Text-module_text-lg-bold__m1Xo5{font-family:Inter,sans-serif;font-size:18px;font-weight:700;line-height:28px}.Text-module_text-xl-semibold__j4lCy{font-family:Inter,sans-serif;font-size:20px;font-weight:600;line-height:30px}.Text-module_text-primary__3B8r3{color:#181d27}.Text-module_text-secondary__xPg0-{color:#414651}.Text-module_text-tertiary__B4epT{color:#535862}.Text-module_text-brand-600__wrJ4z{color:#7f56d9}.Text-module_text-brand-700__nXPvf{color:#6a41c8}.Text-module_text-success__jtDwD{color:#067647}.Text-module_text-white__4DiJ9{color:#fff}.Text-module_text-placeholder__Y766h{color:#717680}.Text-module_text-left__j52n3{text-align:left}.Text-module_text-center__LKy3Y{text-align:center}.Text-module_text-right__WAySO{text-align:right}");var po={skeleton:"Skeleton-module_skeleton__-VV98",shimmer:"Skeleton-module_shimmer__UJXHU","shimmer-animation":"Skeleton-module_shimmer-animation__3IxnR",pulse:"Skeleton-module_pulse__dX0ir","pulse-animation":"Skeleton-module_pulse-animation__WRyIj","no-animation":"Skeleton-module_no-animation__pc-c8"};r('.Skeleton-module_skeleton__-VV98{background-color:var(--skeleton-base-color,#eee);border-radius:4px;box-sizing:border-box;display:block;height:1em;line-height:1;margin-bottom:.5em;overflow:hidden;position:relative;width:100%}.Skeleton-module_skeleton__-VV98[style*="border-radius: 50%"]{height:1em;width:1em}.Skeleton-module_skeleton__-VV98.Skeleton-module_shimmer__UJXHU{animation:Skeleton-module_shimmer-animation__3IxnR 1.5s linear infinite;background:linear-gradient(to right,var(--skeleton-base-color,#eee) 8%,var(--skeleton-highlight-color,#f5f5f5) 18%,var(--skeleton-base-color,#eee) 33%);background-size:1000px 100%}.Skeleton-module_skeleton__-VV98.Skeleton-module_pulse__dX0ir{animation:Skeleton-module_pulse-animation__WRyIj 1.5s ease-in-out infinite}.Skeleton-module_skeleton__-VV98.Skeleton-module_no-animation__pc-c8{animation:none;background:var(--skeleton-base-color,#eee)}@keyframes Skeleton-module_shimmer-animation__3IxnR{0%{background-position:-1000px 0}to{background-position:1000px 0}}@keyframes Skeleton-module_pulse-animation__WRyIj{0%{opacity:1}50%{opacity:.5}to{opacity:1}}');exports.Button=c,exports.ButtonV1=o=>{var{children:t,variant:n="text",color:l="primary",size:a="medium",fullWidth:r=!1,startIcon:s,endIcon:d,loading:c=!1,loadingIndicator:m,loadingPosition:p="center",disabled:h,className:f}=o,_=i(o,["children","variant","color","size","fullWidth","startIcon","endIcon","loading","loadingIndicator","loadingPosition","disabled","className"]);const b=h||c,C=!t&&(s||d),y=()=>m?e.jsx("span",Object.assign({className:g.loadingIndicator},{children:m})):e.jsx("span",{className:g.spinner});return e.jsxs("button",Object.assign({className:u(g.button,g[n],g[l],g[a],{[g.fullWidth]:r,[g.disabled]:b,[g.loading]:c,[g.iconOnly]:C},f),disabled:b},_,{children:[c&&"start"===p&&y(),c&&"center"===p?y():e.jsxs(e.Fragment,{children:[s&&!c&&e.jsx("span",Object.assign({className:g.icon},{children:s})),s&&!t&&e.jsx("span",Object.assign({className:g.icon},{children:s})),t&&t,d&&!c&&e.jsx("span",Object.assign({className:g.icon},{children:d})),d&&!t&&e.jsx("span",Object.assign({className:g.icon},{children:d}))]}),c&&"end"===p&&y()]}))},exports.CheckboxField=o=>{var t,n,l,{id:a,label:r,labelPosition:s="right",required:d,disabled:c=!1,className:g="",size:p="medium",color:h="primary",field:f,form:_,error:b}=o,C=i(o,["id","label","labelPosition","required","disabled","className","size","color","field","form","error"]);const y=(null===(t=null==_?void 0:_.touched)||void 0===t?void 0:t[null==f?void 0:f.name])&&(null===(n=null==_?void 0:_.errors)||void 0===n?void 0:n[null==f?void 0:f.name])?_.errors[f.name]:b,x=(null!==(l=null==f?void 0:f.value)&&void 0!==l?l:C.checked)||!1;return e.jsxs("div",Object.assign({className:u(m["checkbox-wrapper"],m[`label-${s}`],m[`color-${h}`],m[`size-${p}`],c&&m.disabled,y&&m["field-error"])},{children:["top"===s&&r&&e.jsxs("label",Object.assign({htmlFor:a,className:m.label},{children:[r," ",d&&e.jsx("span",Object.assign({className:m.required},{children:"*"}))]})),e.jsxs("div",Object.assign({className:m["checkbox-label"]},{children:[e.jsx("input",Object.assign({type:"checkbox",id:a,className:u(m["checkbox-input"],g),disabled:c,checked:x,"aria-invalid":!!y,"aria-describedby":y?`${a}-error`:void 0},f||{},C)),e.jsx("span",{className:m["checkbox-custom"]}),"right"===s&&r&&e.jsxs("label",Object.assign({htmlFor:a,className:m.label},{children:[r," ",d&&e.jsx("span",Object.assign({className:m.required},{children:"*"}))]})),y&&e.jsx("span",Object.assign({id:`${a}-error`,className:m["error-message"]},{children:y}))]})),"bottom"===s&&r&&e.jsxs("label",Object.assign({htmlFor:a,className:m.label},{children:[r," ",d&&e.jsx("span",Object.assign({className:m.required},{children:"*"}))]}))]}))},exports.Display=o=>{var{variant:t="lg-semibold",color:n,align:l,className:a="",children:r,as:s="h1"}=o,d=i(o,["variant","color","align","className","children","as"]);const u=[go[`display-${t}`],n?go[`text-${n}`]:"",l?go[`text-${l}`]:"",a].filter(Boolean).join(" ");return e.jsx(s,Object.assign({className:u},d,{children:r}))},exports.DonutChart=({active:t,inactive:n,activeColor:l,inActiveColor:a="#D1D5DB",size:i=200,thickness:r=40,totalCount:s,toolTipLabel:d})=>{const u=o.useRef(null),[c,g]=o.useState(0),[m,p]=o.useState({x:0,y:0,label:"",visible:!1}),h=t/s,f=i/2,_=f-r/2;o.useEffect((()=>{let e=null;const o=t=>{e||(e=t);const n=t-e,l=Math.min(n/500,1);g(l*h),l<1&&requestAnimationFrame(o)};requestAnimationFrame(o)}),[h]),o.useEffect((()=>{const e=u.current;if(!e)return;const o=e.getContext("2d");if(!o)return;o.clearRect(0,0,i,i),o.beginPath(),o.arc(f,f,_,0,2*Math.PI),o.lineWidth=r,o.strokeStyle=a,o.stroke();const t=2*c*Math.PI-Math.PI/2;o.beginPath(),o.arc(f,f,_,-Math.PI/2,t),o.lineWidth=r,o.strokeStyle=l,o.lineCap="butt",o.stroke()}),[c,i,r,l]);return e.jsxs("div",Object.assign({className:"relative",style:{width:i,height:i}},{children:[e.jsx("canvas",{ref:u,width:i,height:i,onMouseMove:e=>{var o;const l=null===(o=u.current)||void 0===o?void 0:o.getBoundingClientRect();if(!l)return;const a=e.clientX-l.left,i=e.clientY-l.top;if(0===s)return void p({x:a,y:i,label:"Total: 0",visible:!0});const g=a-f,m=i-f,h=Math.sqrt(g*g+m*m);if(h<_+r/2&&h>_-r/2){let e=Math.atan2(m,g);e<-Math.PI/2&&(e+=2*Math.PI),e+=Math.PI/2;const o=e/(2*Math.PI);let l="";l=0===t&&0===n?`Total: ${s}`:o<=c?`${null==d?void 0:d.active}: ${t}`:`${null==d?void 0:d.inActive}: ${n}`,p({x:a,y:i,label:l,visible:!0})}else p((e=>Object.assign(Object.assign({},e),{visible:!1})))},onMouseLeave:()=>{p((e=>Object.assign(Object.assign({},e),{visible:!1})))}}),m.visible&&e.jsx("div",Object.assign({className:"absolute text-white font-Inter text-xs font-medium px-3 py-1.5 rounded-md shadow-lg pointer-events-none",style:{backgroundColor:"#1F2937",left:m.x+10,top:m.y+10,zIndex:10,whiteSpace:"nowrap"}},{children:m.label}))]}))},exports.EmailField=o=>{var t,n,{className:l,label:a,required:r,disabled:s,id:d,field:u,form:c,error:g}=o,m=i(o,["className","label","required","disabled","id","field","form","error"]);const h=(null===(t=null==c?void 0:c.touched)||void 0===t?void 0:t[null==u?void 0:u.name])&&(null===(n=null==c?void 0:c.errors)||void 0===n?void 0:n[null==u?void 0:u.name])?c.errors[u.name]:g;return e.jsxs("div",Object.assign({className:p.wrapper},{children:[a&&e.jsxs("label",Object.assign({htmlFor:d,className:p.label},{children:[a," ",r&&e.jsx("span",Object.assign({className:p.required},{children:"*"}))]})),e.jsxs("div",Object.assign({className:`${p["email-container"]} ${s?p.disabled:""} ${h?p["field-error"]:""}`},{children:[e.jsx("div",Object.assign({className:p["email-icon"]},{children:e.jsxs("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},{children:[e.jsx("path",{d:"M4 4h16c1.1 0 2 .9 2 2v12c0 1.1-.9 2-2 2H4c-1.1 0-2-.9-2-2V6c0-1.1.9-2 2-2z"}),e.jsx("polyline",{points:"22,6 12,13 2,6"})]}))})),e.jsx("input",Object.assign({},u,m,{id:d,type:"email",className:`${p["email-input"]} ${l}`,disabled:s,"aria-invalid":!!h,"aria-describedby":h?`${d}-error`:void 0}))]})),h&&e.jsx("span",Object.assign({id:`${d}-error`,className:p["error-message"]},{children:h}))]}))},exports.MultiSelectField=t=>{var{id:n,name:l,label:a,className:r,placeholder:s,options:d=[],error:u,required:c=!1,disabled:g=!1,field:m,form:p,onChange:x,value:v}=t,w=i(t,["id","name","label","className","placeholder","options","error","required","disabled","field","form","onChange","value"]);const[S,R]=o.useState(d),[F,B]=o.useState(!1),[k,M]=o.useState(""),[P,A]=o.useState(100),N=o.useRef(null),j=o.useRef(null),I=o.useRef(null),L=(null==m?void 0:m.value)||v||[];o.useEffect((()=>{if(j.current){const e=j.current.offsetWidth;A(Math.max(e+20,100))}}),[k]);const V=(e,o)=>{o&&o.stopPropagation();const t=L.filter((o=>o.value!==e.value));m&&p&&p.setFieldValue(m.name,t),x&&x(t),setTimeout((()=>{N.current&&N.current.focus()}),0)};return e.jsxs("div",Object.assign({className:`${h}`,ref:I},{children:[a&&e.jsxs("label",Object.assign({htmlFor:n||(null==m?void 0:m.name),className:f},{children:[a," ",c&&e.jsx("span",Object.assign({className:_},{children:"*"}))]})),e.jsx("div",Object.assign({className:`${b} ${u?C:""}`},{children:e.jsxs("div",Object.assign({className:"w-full"},{children:[e.jsxs("div",Object.assign({role:"none",className:`${y} ${r||""} flex flex-wrap items-center gap-1 min-h-[40px] cursor-text`,onClick:()=>{B(!0),N.current&&N.current.focus()},style:{paddingRight:"8px"}},{children:[L.map((o=>e.jsxs("span",Object.assign({className:"inline-flex items-center px-2 py-1 text-xs bg-blue-100 text-blue-800 rounded-full shrink-0"},{children:[o.label,e.jsx("button",Object.assign({type:"button",onClick:e=>V(o,e),className:"ml-1 text-blue-600 hover:text-blue-800 focus:outline-none",tabIndex:-1},{children:"×"}))]}),o.value))),e.jsx("input",Object.assign({ref:N,type:"text",id:n||(null==m?void 0:m.name),name:null==m?void 0:m.name,value:k,className:"border-none outline-none bg-transparent flex-1 min-w-0",style:{width:`${P}px`,minWidth:"100px"},disabled:g,"aria-invalid":!!u,"aria-describedby":u?`${n||(null==m?void 0:m.name)}-error`:void 0,placeholder:0===L.length?s:"",onChange:e=>{const o=e.target.value;M(o);const t=null==d?void 0:d.filter((e=>{var t;return null===(t=null==e?void 0:e.label)||void 0===t?void 0:t.toLowerCase().includes(o.toLowerCase())}));R(t)},onBlur:()=>B(!1),onKeyDown:e=>{if("Backspace"===e.key&&""===k&&L.length>0){const e=L[L.length-1];V(e)}},onFocus:()=>B(!0)},w))]})),e.jsx("span",Object.assign({ref:j,className:"absolute invisible whitespace-nowrap",style:{fontSize:"inherit",fontFamily:"inherit"}},{children:k||"W"})),(null==S?void 0:S.length)>0&&e.jsx("ul",Object.assign({className:"absolute z-10 w-full border border-gray-300 bg-white rounded shadow mt-1 max-h-40 overflow-auto"},{children:null==S?void 0:S.map((o=>{const t=(e=>L.some((o=>o.value===e.value)))(o);return e.jsxs("li",Object.assign({role:"none",onMouseDown:e=>{e.preventDefault(),((e,o)=>{let t=[...L];o?t.some((o=>o.value===e.value))||t.push(e):t=t.filter((o=>o.value!==e.value));M(""),m&&p&&p.setFieldValue(m.name,t),x&&x(t),setTimeout((()=>{N.current&&N.current.focus()}),0)})(o,!t)},className:`px-3 py-2 hover:bg-gray-100 cursor-pointer flex items-center ${t&&"bg-gray-100"} gap-2`},{children:[e.jsx("input",{type:"checkbox",checked:t,className:"mr-2 pointer-events-none h-4 w-4 text-blue-600 scale-125"}),e.jsxs("div",Object.assign({className:"flex flex-col w-full"},{children:[e.jsx("span",Object.assign({className:"font-Inter text-[16px] font-[500] text-[#111827]"},{children:o.label})),e.jsx("span",Object.assign({className:"font-Inter text-[12px] font-[500] text-[#535862]"},{children:"jhondoe@gmail.com"}))]}))]}),o.value)}))})),F&&0===(null==S?void 0:S.length)&&k&&e.jsx("div",Object.assign({className:"absolute z-10 w-full border border-gray-300 bg-white rounded shadow mt-1 px-3 py-2 text-gray-500"},{children:"No options found"}))]}))})),u&&e.jsx("span",Object.assign({id:`${n||(null==m?void 0:m.name)}-error`,className:_},{children:u}))]}))},exports.NumberField=o=>{var t,n,{className:l,label:a,required:r,disabled:s,id:d,field:u,form:c,error:g,maxLength:m,allowScroll:p=!1}=o,h=i(o,["className","label","required","disabled","id","field","form","error","maxLength","allowScroll"]);const f=(null===(t=null==c?void 0:c.touched)||void 0===t?void 0:t[null==u?void 0:u.name])&&(null===(n=null==c?void 0:c.errors)||void 0===n?void 0:n[null==u?void 0:u.name])?c.errors[u.name]:g;return e.jsxs("div",Object.assign({className:x.wrapper},{children:[a&&e.jsxs("label",Object.assign({htmlFor:d,className:x.label},{children:[a," ",r&&e.jsx("span",Object.assign({className:x.required},{children:"*"}))]})),e.jsx("div",Object.assign({className:`${x["field-container"]} ${s?x.disabled:""} ${f?x["field-error"]:""}`},{children:e.jsx("input",Object.assign({},u,h,{id:d,type:"number",className:`${x["number-input"]} ${l}`,disabled:s,"aria-invalid":!!f,"aria-describedby":f?`${d}-error`:void 0,onWheel:e=>{p||e.currentTarget.blur()},onKeyDown:e=>{p||"ArrowUp"!==e.key&&"ArrowDown"!==e.key||e.preventDefault()},onChange:e=>{const o=e.target.value;m&&o.length>m&&(e.target.value=o.slice(0,m)),null==u||u.onChange(e)},maxLength:m}))})),f&&e.jsx("span",Object.assign({id:`${d}-error`,className:x["error-message"]},{children:f}))]}))},exports.PhoneField=t=>{var{id:n,name:l,label:a,className:r,placeholder:s,error:d,required:u=!1,disabled:c=!1,defaultCountryCode:g="+91",field:m,form:p,onChange:h,value:f}=t,_=i(t,["id","name","label","className","placeholder","error","required","disabled","defaultCountryCode","field","form","onChange","value"]);const b=((e=!1)=>null==k?void 0:k.map((e=>({value:e.country,label:e.country,phone:e.phoneCountryCode,flagCode:e.flagCode}))).filter((e=>(null==e?void 0:e.phone)&&""!==(null==e?void 0:e.phone.trim()))).filter(((e,o,t)=>o===t.findIndex((o=>o.phone===e.phone)))).sort(((o,t)=>e?parseInt(o.phone.replace("+",""),10)-parseInt(t.phone.replace("+",""),10):o.label.localeCompare(t.label))))(!0),[C,y]=o.useState(b),[x,M]=o.useState({}),[P,A]=o.useState(""),[N,j]=o.useState(!1);o.useEffect((()=>{let e=g;if((null==m?void 0:m.value)&&"string"==typeof m.value){const e=b.find((e=>m.value.startsWith(e.phone)));if(e)return M(e),void A(e.phone)}const o=null==e?void 0:e.replace(/\s/g,""),t=b.find((e=>o.startsWith(e.phone)));t?(M(t),A(t.phone)):(M({phone:g}),A(g))}),[g,null==m?void 0:m.value]);return e.jsxs("div",Object.assign({className:`${v}`},{children:[a&&e.jsxs("label",Object.assign({htmlFor:n||(null==m?void 0:m.name),className:w},{children:[a," ",u&&e.jsx("span",Object.assign({className:S},{children:"*"}))]})),e.jsxs("div",Object.assign({className:`${R} ${d?F:""}`},{children:[e.jsxs("div",Object.assign({role:"none",className:"w-[50px]",onBlur:()=>j(!1)},{children:[e.jsx("input",{disabled:c,type:"text",className:"w-full text-center h-full border-r px-1 py-2 outline-none",value:P,onChange:e=>{const o=e.target.value,t=b.find((e=>e.phone===o));t&&M(t),A(o);const n=b.filter((e=>e.phone.includes(o)));y(n),j(!0)},onFocus:()=>j(!0)}),N&&(null==C?void 0:C.length)>0&&e.jsx("ul",Object.assign({className:"absolute z-10 w-full border border-gray-300 bg-white rounded shadow mt-1 max-h-40 overflow-auto"},{children:null==C?void 0:C.map((o=>e.jsx("li",Object.assign({role:"none",onMouseDown:()=>(e=>{if(M(e),A(e.phone),j(!1),m&&p){const o=m.value?m.value.replace(/^\+\d+\s*/,"").trim():"",t=`${e.phone} ${o}`;p.setFieldValue(m.name,t)}})(o),className:"px-3 py-2 hover:bg-gray-100 cursor-pointer"},{children:o.phone}),o.phone)))}))]})),e.jsx("input",Object.assign({type:"tel",id:n||(null==m?void 0:m.name),name:null==m?void 0:m.name,className:`${B} ${r||""}`,disabled:c,"aria-invalid":!!d,"aria-describedby":d?`${n||(null==m?void 0:m.name)}-error`:void 0,placeholder:s,onChange:e=>{const o=e.target.value.replace(/\D/g,""),t=x.phone?`${x.phone} ${o}`:o;m&&p&&p.setFieldValue(m.name,t),h&&h(e)},onBlur:null==m?void 0:m.onBlur,value:(null==m?void 0:m.value)&&"string"==typeof m.value?x.phone&&m.value.startsWith(x.phone)?m.value.replace(x.phone,"").trim():m.value.replace(/^\+\d+/,"").trim()||"":f&&"string"==typeof f?x.phone&&f.startsWith(x.phone)?f.replace(x.phone,"").trim():f.replace(/^\+\d+/,"").trim()||"":""},_))]})),d&&e.jsx("span",Object.assign({id:`${n||(null==m?void 0:m.name)}-error`,className:S},{children:d}))]}))},exports.RadioGroupField=({field:o,form:t,label:n,options:l,position:a="row",required:i,error:r,disabled:s=!1,size:d="small",color:c="primary"})=>{var g,m;const p=(null===(g=null==t?void 0:t.touched)||void 0===g?void 0:g[null==o?void 0:o.name])&&(null===(m=null==t?void 0:t.errors)||void 0===m?void 0:m[null==o?void 0:o.name])?t.errors[o.name]:r;return e.jsxs("div",Object.assign({className:u(M["radio-group-wrapper"],M[`size-${d}`],M[`color-${c}`],s&&M.disabled,p&&M["field-error"])},{children:[n&&e.jsxs("label",Object.assign({className:M.label},{children:[n," ",i&&e.jsx("span",Object.assign({className:M.required},{children:"*"}))]})),e.jsx("div",Object.assign({className:u(M["radio-options"],M[`label-${a}`])},{children:l.map((t=>e.jsxs("label",Object.assign({className:M["radio-option"]},{children:[e.jsx("input",{type:"radio",name:o.name,value:t.value,checked:o.value===t.value,disabled:s,onChange:o.onChange,onBlur:o.onBlur,className:M["radio-input"]}),e.jsx("span",{className:M["radio-custom"]}),t.label]}),t.value)))})),p&&e.jsx("div",Object.assign({className:M["error-message"]},{children:p}))]}))},exports.Skeleton=({width:o,height:t,circle:n=!1,count:l=1,baseColor:a="#eee",highlightColor:i="#f5f5f5",className:r,style:s,animation:d="shimmer"})=>{const u=Array.from({length:l},((l,u)=>{const c=Object.assign({width:"number"==typeof o?`${o}px`:o||"100%",height:"number"==typeof t?`${t}px`:t||"1em",borderRadius:n?"50%":void 0,"--skeleton-base-color":a,"--skeleton-highlight-color":i},s),g=[po.skeleton,"shimmer"===d&&po.shimmer,"pulse"===d&&po.pulse,r].filter(Boolean).join(" ");return e.jsx("div",{className:g,style:c},u)}));return e.jsx(e.Fragment,{children:u})},exports.SpiralChart=({data:t,chartSize:n})=>{const l=o.useRef(null),[a,i]=o.useState([]),[r,s]=o.useState(t.map((()=>0))),[d,u]=o.useState(null),[c,g]=o.useState({x:0,y:0});o.useEffect((()=>{const e=t.map((e=>e.percentage)),o=1.2*Math.max(...e),n=e.map((e=>{if(0===e)return 0;const t=e/o*100;return Math.max(t,5)}));i(n);let l=0;const a=setInterval((()=>{l++,s(n.map((e=>Math.min(e*l/60,e)))),l>=60&&clearInterval(a)}),1e3/60);return()=>clearInterval(a)}),[t]),o.useEffect((()=>{const e=l.current;if(!e)return;const o=e.getContext("2d");if(!o)return;const a=window.devicePixelRatio||1,i=n*a;e.width=i,e.height=i,e.style.width=`${n}px`,e.style.height=`${n}px`,o.scale(a,a);const s=n/2;o.clearRect(0,0,n,n),o.beginPath(),o.arc(s,s,t[t.length-1].radius+10,0,2*Math.PI),o.fillStyle="#fff",o.fill(),t.forEach(((e,t)=>{const{radius:n,stroke:l,strokeWidth:a}=e;o.beginPath(),o.arc(s,s,n,0,2*Math.PI),o.strokeStyle="#f3f4f6",o.lineWidth=a,o.stroke();const i=-Math.PI/2,u=i+2*Math.PI*r[t]/100;o.beginPath(),o.arc(s,s,n,i,u),o.strokeStyle=d===t?m(o,l):l,o.lineWidth=a,o.lineCap="round",o.stroke()})),o.textAlign="center",o.fillStyle="#535862",o.font="500 12px 'Inter', sans-serif",o.fillText("Risks Detected",s,s-10),o.fillStyle="#111827",o.font="bold 24px 'Inter', sans-serif";const u=t.reduce(((e,{percentage:o})=>e+o),0);o.fillText(u.toString(),s,s+20)}),[r,d,t,n]);const m=(e,o)=>{const t=e.createRadialGradient(n/2,n/2,0,n/2,n/2,n/2);return t.addColorStop(0,o),t.addColorStop(1,o+"80"),t};return e.jsxs("div",Object.assign({className:"mt-5 relative"},{children:[e.jsx("canvas",{ref:l,onMouseMove:e=>{const o=l.current;if(!o)return;const a=o.getBoundingClientRect(),i=e.clientX-a.left,r=e.clientY-a.top,s=n/2,d=i-s,c=r-s,m=Math.sqrt(d*d+c*c);let p=null;t.forEach(((e,o)=>{const{radius:t,strokeWidth:n}=e;Math.abs(m-t)<=n&&(p=o)})),u(p),g({x:i,y:r})},onMouseLeave:()=>{u(null)},style:{cursor:"pointer"}}),null!==d&&e.jsxs("div",Object.assign({className:"absolute pointer-events-none bg-black text-white text-xs px-3 py-1.5 rounded shadow z-20",style:{left:`${c.x}px`,top:`${c.y}px`,transform:"translate(-50%, -100%)",whiteSpace:"nowrap"}},{children:[e.jsx("div",Object.assign({className:"flex items-center space-x-2"},{children:e.jsxs("div",Object.assign({className:"font-Inter text-[14px]"},{children:[t[d].label,": ",Math.round(t[d].percentage)]}))})),e.jsx("div",{className:"absolute w-2 h-2 bg-black",style:{bottom:-4,left:"50%",transform:"translateX(-50%) rotate(45deg)"}})]}))]}))},exports.Table=function({columns:t,data:n,pagination:a,setPagination:i,pageCount:r,loader:s,expandableRows:d=!1}){const[u,c]=o.useState([]),[g,m]=o.useState({}),[p,h]=o.useState({}),f=function(e){const o={state:{},onStateChange:()=>{},renderFallbackValue:null,...e},[t]=l.useState((()=>({current:lo(o)}))),[n,a]=l.useState((()=>t.current.initialState));return t.current.setOptions((o=>({...o,...e,state:{...n,...e.state},onStateChange:o=>{a(o),null==e.onStateChange||e.onStateChange(o)}}))),t.current}(Object.assign({data:n,columns:d?[{id:"expander",size:40,header:()=>null,cell:({row:o})=>o.getCanExpand()?e.jsx("button",Object.assign({},{onClick:o.getToggleExpandedHandler(),className:"text-gray-600 hover:text-black"},{children:e.jsx("span",Object.assign({className:"material-symbols-outlined text-sm"},{children:o.getIsExpanded()?"expand_more":"chevron_right"}))})):null},...t]:t,pageCount:r,manualPagination:!0,state:{sorting:u,rowSelection:g,pagination:a,expanded:p},enableRowSelection:!0,onRowSelectionChange:m,onSortingChange:c,onPaginationChange:i,onExpandedChange:h,getCoreRowModel:e=>_e((()=>[e.options.data]),(o=>{const t={rows:[],flatRows:[],rowsById:{}},n=function(o,l,a){void 0===l&&(l=0);const i=[];for(let s=0;s<o.length;s++){const d=we(e,e._getRowId(o[s],s,a),o[s],s,l,void 0,null==a?void 0:a.id);var r;t.flatRows.push(d),t.rowsById[d.id]=d,i.push(d),e.options.getSubRows&&(d.originalSubRows=e.options.getSubRows(o[s],s),null!=(r=d.originalSubRows)&&r.length&&(d.subRows=n(d.originalSubRows,l+1,d)))}return i};return t.rows=n(o),t}),be(e.options,"debugTable","getRowModel",(()=>e._autoResetPageIndex()))),getSortedRowModel:e=>_e((()=>[e.getState().sorting,e.getPreSortedRowModel()]),((o,t)=>{if(!t.rows.length||null==o||!o.length)return t;const n=e.getState().sorting,l=[],a=n.filter((o=>{var t;return null==(t=e.getColumn(o.id))?void 0:t.getCanSort()})),i={};a.forEach((o=>{const t=e.getColumn(o.id);t&&(i[o.id]={sortUndefined:t.columnDef.sortUndefined,invertSorting:t.columnDef.invertSorting,sortingFn:t.getSortingFn()})}));const r=e=>{const o=e.map((e=>({...e})));return o.sort(((e,o)=>{for(let n=0;n<a.length;n+=1){var t;const l=a[n],r=i[l.id],s=r.sortUndefined,d=null!=(t=null==l?void 0:l.desc)&&t;let u=0;if(s){const t=void 0===e.getValue(l.id),n=void 0===o.getValue(l.id);if(t||n){if("first"===s)return t?-1:1;if("last"===s)return t?1:-1;u=t&&n?0:t?s:-s}}if(0===u&&(u=r.sortingFn(e,o,l.id)),0!==u)return d&&(u*=-1),r.invertSorting&&(u*=-1),u}return e.index-o.index})),o.forEach((e=>{var o;l.push(e),null!=(o=e.subRows)&&o.length&&(e.subRows=r(e.subRows))})),o};return{rows:r(t.rows),flatRows:l,rowsById:t.rowsById}}),be(e.options,"debugTable","getSortedRowModel",(()=>e._autoResetPageIndex()))),getPaginationRowModel:e=>_e((()=>[e.getState().pagination,e.getPrePaginationRowModel(),e.options.paginateExpandedRows?void 0:e.getState().expanded]),((o,t)=>{if(!t.rows.length)return t;const{pageSize:n,pageIndex:l}=o;let{rows:a,flatRows:i,rowsById:r}=t;const s=n*l,d=s+n;let u;a=a.slice(s,d),u=e.options.paginateExpandedRows?{rows:a,flatRows:i,rowsById:r}:ao({rows:a,flatRows:i,rowsById:r}),u.flatRows=[];const c=e=>{u.flatRows.push(e),e.subRows.length&&e.subRows.forEach(c)};return u.rows.forEach(c),u}),be(e.options,"debugTable","getPaginationRowModel"))},d&&{getExpandedRowModel:e=>_e((()=>[e.getState().expanded,e.getPreExpandedRowModel(),e.options.paginateExpandedRows]),((e,o,t)=>!o.rows.length||!0!==e&&!Object.keys(null!=e?e:{}).length?o:t?ao(o):o),be(e.options,"debugTable","getExpandedRowModel")),getSubRows:e=>{var o;return null!==(o=e.subRows)&&void 0!==o?o:[]}}));return e.jsxs(e.Fragment,{children:[e.jsx("div",Object.assign({className:"overflow-x-auto table-wrapper"},{children:e.jsxs("table",Object.assign({className:"w-full divide-y divide-gray-200 table-fixed"},{children:[e.jsx("thead",Object.assign({className:"sticky-header"},{children:e.jsx(ro,{headerGroups:null==f?void 0:f.getHeaderGroups()})})),e.jsx("tbody",Object.assign({className:"bg-[#fff]"},{children:e.jsx(uo,{loader:s,table:f})}))]}))})),e.jsx(co,{table:f,pageCount:r})]})},exports.Text=o=>{var{variant:t="md-regular",color:n,align:l,ellipsis:a=!1,className:r="",children:s,as:d="p"}=o,u=i(o,["variant","color","align","ellipsis","className","children","as"]);const c=[mo[`text-${t}`],n?mo[`text-${n}`]:"",l?mo[`text-${l}`]:"",a?mo["text-ellipsis"]:"",r].filter(Boolean).join(" ");return e.jsx(d,Object.assign({className:c},u,{children:s}))},exports.TextAreaField=o=>{var t,n,l,{className:a,label:r,required:s,disabled:d,rows:u=4,maxLength:c=254,id:g,field:m,form:p,error:h,width:f="w-full"}=o,_=i(o,["className","label","required","disabled","rows","maxLength","id","field","form","error","width"]);const b=(null===(t=null==p?void 0:p.touched)||void 0===t?void 0:t[null==m?void 0:m.name])&&(null===(n=null==p?void 0:p.errors)||void 0===n?void 0:n[null==m?void 0:m.name])?p.errors[m.name]:h;return e.jsxs("div",Object.assign({className:`${P}`},{children:[r&&e.jsxs("label",Object.assign({htmlFor:g,className:A},{children:[r," ",s&&e.jsx("span",Object.assign({className:N},{children:"*"}))]})),e.jsx("textarea",Object.assign({},m,_,{id:g,className:`${j} ${b?V:""} ${d?I:""} ${f} ${a}`,disabled:d,"aria-invalid":b,"aria-describedby":b?`${g}-error`:void 0,rows:u,maxLength:c})),!b&&e.jsxs("span",Object.assign({className:L},{children:[c-(null===(l=m.value)||void 0===l?void 0:l.length)," Character left"]})),b&&e.jsx("span",Object.assign({id:`${g}-error`,className:z},{children:b}))]}))},exports.TextField=o=>{var t,n,{className:l,label:a,required:r,disabled:s,prefix:d,suffix:u,tooltip:c=!1,id:g,field:m,form:p,error:h,width:f="w-full"}=o,_=i(o,["className","label","required","disabled","prefix","suffix","tooltip","id","field","form","error","width"]);const b=(null===(t=null==p?void 0:p.touched)||void 0===t?void 0:t[null==m?void 0:m.name])&&(null===(n=null==p?void 0:p.errors)||void 0===n?void 0:n[null==m?void 0:m.name])?p.errors[m.name]:h;return e.jsxs("div",Object.assign({className:`${D}`},{children:[a&&e.jsxs("label",Object.assign({htmlFor:g,className:O},{children:[a," ",r&&e.jsx("span",Object.assign({className:T},{children:"*"}))]})),e.jsxs("div",Object.assign({className:`${d||u?U:""} ${b?G:""} ${s?q:""} ${f}`},{children:[d&&e.jsx("div",Object.assign({className:W},{children:d})),e.jsx("input",Object.assign({id:g,type:"text",className:`${d||u?H:E} ${!b||d||u?"":G} ${d||u?"":f} ${s?q:""} ${l}`,disabled:s,"aria-invalid":!!b,"aria-describedby":b?`${g}-error`:void 0},m,_)),u&&e.jsx("div",Object.assign({className:$},{children:u}))]})),c&&e.jsx("span",Object.assign({className:K},{children:c})),b&&e.jsx("span",Object.assign({id:`${g}-error`,className:Z},{children:b}))]}))},exports.URLField=o=>{var t,n,{className:l,label:a,required:r,disabled:s,prefix:d="Https://",suffix:u="akku.work",showCheckmark:c,tooltip:g=!1,id:m,field:p,form:h,error:f,width:_="w-full"}=o,b=i(o,["className","label","required","disabled","prefix","suffix","showCheckmark","tooltip","id","field","form","error","width"]);const C=(null===(t=null==h?void 0:h.touched)||void 0===t?void 0:t[null==p?void 0:p.name])&&(null===(n=null==h?void 0:h.errors)||void 0===n?void 0:n[null==p?void 0:p.name])?h.errors[p.name]:f;return e.jsxs("div",Object.assign({className:`${te}`},{children:[a&&e.jsxs("label",Object.assign({htmlFor:m,className:ne},{children:[a," ",r&&e.jsx("span",Object.assign({className:le},{children:"*"}))]})),e.jsxs("div",Object.assign({className:`relative ${d||u?re:""} ${C?ae:""} ${s?ce:""} ${_}`},{children:[d&&e.jsx("div",Object.assign({className:de},{children:d})),e.jsx("input",Object.assign({id:m,type:"text",className:`${d||u?se:ie} ${s?ce:""} ${!C||d||u?"":ae} ${d||u?"":_} ${l}`,disabled:s,"aria-invalid":!!C,"aria-describedby":C?`${m}-error`:void 0},p,b)),u&&e.jsx("div",Object.assign({className:ue},{children:u})),c&&e.jsx("div",Object.assign({className:"absolute right-[-40px] top-1/2 -translate-y-1/2"},{children:e.jsx("div",Object.assign({className:"flex h-8 w-8 items-center justify-center rounded-full bg-purple-100"},{children:e.jsx(oe,{className:"h-5 w-5 text-purple-600"})}))}))]})),g&&e.jsx("span",Object.assign({className:ge},{children:g})),C&&e.jsx("span",Object.assign({id:`${m}-error`,className:me},{children:C}))]}))};
49
+ //# sourceMappingURL=index.cjs.js.map