pixel-react 1.14.42 → 1.14.44

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 (76) hide show
  1. package/lib/StyleGuide/ColorPalette/colorPaletteList.js +10 -0
  2. package/lib/StyleGuide/ColorPalette/colorPaletteList.js.map +1 -1
  3. package/lib/assets/icons/beautify_icon.svg.js +1 -1
  4. package/lib/assets/icons/beautify_icon.svg.js.map +1 -1
  5. package/lib/assets/icons/fia_clear.svg.js +6 -0
  6. package/lib/assets/icons/fia_clear.svg.js.map +1 -0
  7. package/lib/assets/icons/fia_magic.svg.js +6 -0
  8. package/lib/assets/icons/fia_magic.svg.js.map +1 -0
  9. package/lib/assets/icons/fia_queries.svg.js +6 -0
  10. package/lib/assets/icons/fia_queries.svg.js.map +1 -0
  11. package/lib/components/Charts/BarChart/BarChart.js +6 -2
  12. package/lib/components/Charts/BarChart/BarChart.js.map +1 -1
  13. package/lib/components/Charts/DashboardDonutChart/DashboardDonutChart.js +5 -1
  14. package/lib/components/Charts/DashboardDonutChart/DashboardDonutChart.js.map +1 -1
  15. package/lib/components/Charts/DashboardDonutChart/types.d.ts +1 -0
  16. package/lib/components/ChatModalAi/ChatModalAi.d.ts +4 -0
  17. package/lib/components/ChatModalAi/ChatModalAi.js +122 -0
  18. package/lib/components/ChatModalAi/ChatModalAi.js.map +1 -0
  19. package/lib/components/ChatModalAi/index.d.ts +1 -0
  20. package/lib/components/ChatModalAi/index.js +2 -0
  21. package/lib/components/ChatModalAi/index.js.map +1 -0
  22. package/lib/components/ChatModalAi/types.d.ts +33 -0
  23. package/lib/components/ChatModalAi/types.js +2 -0
  24. package/lib/components/ChatModalAi/types.js.map +1 -0
  25. package/lib/components/ConditionalDropdown/ConditionalDropdown.js +1 -1
  26. package/lib/components/ConditionalDropdown/ConditionalDropdown.js.map +1 -1
  27. package/lib/components/ConnectingBranch/BranchComponents/MachineInstances.js +3 -3
  28. package/lib/components/ConnectingBranch/BranchComponents/MachineInstances.js.map +1 -1
  29. package/lib/components/DatePicker/DatePicker.js +5 -3
  30. package/lib/components/DatePicker/DatePicker.js.map +1 -1
  31. package/lib/components/Excel/Data.js +14 -14
  32. package/lib/components/Excel/Data.js.map +1 -1
  33. package/lib/components/Excel/Data2.js +2 -2
  34. package/lib/components/Excel/ExcelFile/ExcelFileComponents/ActiveCell.d.ts +4 -0
  35. package/lib/components/Excel/ExcelFile/ExcelFileComponents/ActiveCell.js +6 -2
  36. package/lib/components/Excel/ExcelFile/ExcelFileComponents/ActiveCell.js.map +1 -1
  37. package/lib/components/Excel/ExcelFile/ExcelFileComponents/Cell.js +3 -1
  38. package/lib/components/Excel/ExcelFile/ExcelFileComponents/Cell.js.map +1 -1
  39. package/lib/components/Excel/ExcelFile/ExcelFileComponents/Selected.d.ts +7 -1
  40. package/lib/components/Excel/ExcelFile/ExcelFileComponents/Selected.js +6 -2
  41. package/lib/components/Excel/ExcelFile/ExcelFileComponents/Selected.js.map +1 -1
  42. package/lib/components/Excel/ExcelFile/ExcelFileComponents/Spreadsheet.js +8 -4
  43. package/lib/components/Excel/ExcelFile/ExcelFileComponents/Spreadsheet.js.map +1 -1
  44. package/lib/components/Excel/ExcelFile/ExcelFileComponents/reducer.js +32 -25
  45. package/lib/components/Excel/ExcelFile/ExcelFileComponents/reducer.js.map +1 -1
  46. package/lib/components/Excel/ExcelFile/ExcelFileComponents/reducerFunctions.js +117 -40
  47. package/lib/components/Excel/ExcelFile/ExcelFileComponents/reducerFunctions.js.map +1 -1
  48. package/lib/components/Excel/ExcelFile/ExcelFileComponents/types.d.ts +3 -0
  49. package/lib/components/Excel/ExcelFile/ExcelFileComponents/util.d.ts +16 -3
  50. package/lib/components/Excel/ExcelFile/ExcelFileComponents/util.js +201 -33
  51. package/lib/components/Excel/ExcelFile/ExcelFileComponents/util.js.map +1 -1
  52. package/lib/components/Icon/iconList.js +6 -0
  53. package/lib/components/Icon/iconList.js.map +1 -1
  54. package/lib/components/MultiSelect/Dropdown.js +2 -0
  55. package/lib/components/MultiSelect/Dropdown.js.map +1 -1
  56. package/lib/components/SessionDropdown/SessionDropdown.js +0 -2
  57. package/lib/components/SessionDropdown/SessionDropdown.js.map +1 -1
  58. package/lib/index.cjs +1056 -624
  59. package/lib/index.cjs.map +1 -1
  60. package/lib/index.d.ts +37 -1
  61. package/lib/index.js +1 -0
  62. package/lib/index.js.map +1 -1
  63. package/lib/node_modules/date-fns-tz/dist/esm/toZonedTime/index.js +39 -0
  64. package/lib/node_modules/date-fns-tz/dist/esm/toZonedTime/index.js.map +1 -0
  65. package/lib/node_modules/js-beautify/js/src/css/beautifier.js +1 -1
  66. package/lib/node_modules/js-beautify/js/src/css/options.js +1 -1
  67. package/lib/node_modules/js-beautify/js/src/html/beautifier.js +1 -1
  68. package/lib/node_modules/js-beautify/js/src/html/options.js +1 -1
  69. package/lib/node_modules/js-beautify/js/src/html/tokenizer.js +1 -1
  70. package/lib/node_modules/js-beautify/js/src/javascript/beautifier.js +1 -1
  71. package/lib/node_modules/js-beautify/js/src/javascript/options.js +1 -1
  72. package/lib/node_modules/js-beautify/js/src/javascript/tokenizer.js +1 -1
  73. package/lib/styles.css +1 -1
  74. package/lib/styles.css.map +1 -1
  75. package/lib/tsconfig.tsbuildinfo +1 -1
  76. package/package.json +1 -1
package/lib/index.cjs CHANGED
@@ -222,7 +222,7 @@ const SvgExportCollectionIcon = (props) => /* @__PURE__ */ React__namespace.crea
222
222
 
223
223
  const SvgRunIcon = (props) => /* @__PURE__ */ React__namespace.createElement("svg", { width: "1em", height: "1em", viewBox: "0 0 25 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...props }, /* @__PURE__ */ React__namespace.createElement("g", { clipPath: "url(#clip0_5151_106068)" }, /* @__PURE__ */ React__namespace.createElement("g", { filter: "url(#filter0_d_5151_106068)" }, /* @__PURE__ */ React__namespace.createElement("path", { d: "M24.8701 12C24.8701 18.6274 19.4975 24 12.8701 24C6.2427 24 0.870117 18.6274 0.870117 12C0.870117 5.37258 6.2427 0 12.8701 0C19.4975 0 24.8701 5.37258 24.8701 12Z", fill: "url(#paint0_linear_5151_106068)" })), /* @__PURE__ */ React__namespace.createElement("path", { d: "M11.2033 15.7503L16.2033 12.0003L11.2033 8.25032V15.7503ZM12.87 3.66699C11.2218 3.66699 9.61061 4.15573 8.24021 5.07141C6.8698 5.98709 5.80169 7.28858 5.17096 8.8113C4.54023 10.334 4.3752 12.0096 4.69675 13.6261C5.01829 15.2426 5.81196 16.7274 6.9774 17.8929C8.14284 19.0583 9.6277 19.852 11.2442 20.1735C12.8607 20.4951 14.5363 20.33 16.059 19.6993C17.5817 19.0686 18.8832 18.0005 19.7989 16.6301C20.7145 15.2597 21.2033 13.6485 21.2033 12.0003C21.2033 9.79019 20.3253 7.67057 18.7625 6.10777C17.1997 4.54497 15.0801 3.66699 12.87 3.66699ZM12.87 18.667C11.5514 18.667 10.2625 18.276 9.16616 17.5435C8.06983 16.8109 7.21535 15.7697 6.71076 14.5515C6.20618 13.3334 6.07415 11.9929 6.33139 10.6997C6.58862 9.40652 7.22356 8.21863 8.15591 7.28628C9.08826 6.35393 10.2761 5.71899 11.5694 5.46176C12.8626 5.20452 14.203 5.33654 15.4212 5.84113C16.6394 6.34571 17.6805 7.2002 18.4131 8.29652C19.1456 9.39285 19.5366 10.6818 19.5366 12.0003C19.5344 13.7678 18.8313 15.4622 17.5816 16.7119C16.3318 17.9617 14.6374 18.6648 12.87 18.667Z", fill: "currentColor" })), /* @__PURE__ */ React__namespace.createElement("defs", null, /* @__PURE__ */ React__namespace.createElement("filter", { id: "filter0_d_5151_106068", x: -0.129883, y: -3, width: 28, height: 28, filterUnits: "userSpaceOnUse", colorInterpolationFilters: "sRGB" }, /* @__PURE__ */ React__namespace.createElement("feFlood", { floodOpacity: 0, result: "BackgroundImageFix" }), /* @__PURE__ */ React__namespace.createElement("feColorMatrix", { in: "SourceAlpha", type: "matrix", values: "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0", result: "hardAlpha" }), /* @__PURE__ */ React__namespace.createElement("feOffset", { dx: 1, dy: -1 }), /* @__PURE__ */ React__namespace.createElement("feGaussianBlur", { stdDeviation: 1 }), /* @__PURE__ */ React__namespace.createElement("feColorMatrix", { type: "matrix", values: "0 0 0 0 0.141176 0 0 0 0 0.0745098 0 0 0 0 0.196078 0 0 0 0.1 0" }), /* @__PURE__ */ React__namespace.createElement("feBlend", { mode: "normal", in2: "BackgroundImageFix", result: "effect1_dropShadow_5151_106068" }), /* @__PURE__ */ React__namespace.createElement("feBlend", { mode: "normal", in: "SourceGraphic", in2: "effect1_dropShadow_5151_106068", result: "shape" })), /* @__PURE__ */ React__namespace.createElement("linearGradient", { id: "paint0_linear_5151_106068", x1: 2.59783, y1: 2.34599, x2: 24.8701, y2: 24, gradientUnits: "userSpaceOnUse" }, /* @__PURE__ */ React__namespace.createElement("stop", { offset: 1, stopColor: "#2A6F09" }), /* @__PURE__ */ React__namespace.createElement("stop", { stopColor: "#44B002" })), /* @__PURE__ */ React__namespace.createElement("clipPath", { id: "clip0_5151_106068" }, /* @__PURE__ */ React__namespace.createElement("rect", { width: 24, height: 24, fill: "currentColor", transform: "translate(0.870117)" }))));
224
224
 
225
- const SvgBeautifyIcon = (props) => /* @__PURE__ */ React__namespace.createElement("svg", { width: "1em", height: "1em", viewBox: "0 0 16 15", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...props }, /* @__PURE__ */ React__namespace.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M6 0.439941H0V1.71995H6V0.439941ZM0 3.00001H6V4.28001H0V3.00001ZM6 10.6801H0V11.9601H6V10.6801ZM6 13.2401H0V14.5201H6V13.2401ZM2.56001 5.56002H10.2401V6.84003H2.56001V5.56002ZM12.4084 5.56002H10.5601V6.84003H12.4084V5.56002ZM2.56001 8.12003H12.8V9.40004H2.56001V8.12003ZM16 8.12003H13.44V9.40004H16V8.12003Z", fill: "currentColor" }));
225
+ const SvgBeautifyIcon = (props) => /* @__PURE__ */ React__namespace.createElement("svg", { width: "1em", height: "1em", viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...props }, /* @__PURE__ */ React__namespace.createElement("rect", { x: 0.5, y: 0.5, width: 16, height: 16, rx: 4.5, stroke: "currentColor" }), /* @__PURE__ */ React__namespace.createElement("path", { d: "M10 15.2402H3V14.2402H10V15.2402ZM10 13.2402H3V12.2402H10V13.2402ZM14.7998 11.04H4.56055V9.75977H14.7998V11.04ZM12.2402 8.48047H4.56055V7.2002H12.2402V8.48047ZM14.4082 8.48047H12.5605V7.2002H14.4082V8.48047ZM10 6H3V5H10V6ZM10 4H3V3H10V4Z", fill: "currentColor" }), /* @__PURE__ */ React__namespace.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M13.2786 2.22236C13.249 2.0923 13.1334 2 13 2C12.8666 2 12.751 2.0923 12.7214 2.22236L12.5633 2.91756C12.4902 3.23911 12.2391 3.4902 11.9176 3.56331L11.2224 3.7214C11.0923 3.75097 11 3.86661 11 4C11 4.13339 11.0923 4.24903 11.2224 4.2786L11.9176 4.43669C12.2391 4.5098 12.4902 4.76089 12.5633 5.08244L12.7214 5.77764C12.751 5.9077 12.8666 6 13 6C13.1334 6 13.249 5.9077 13.2786 5.77764L13.4367 5.08244C13.5098 4.76089 13.7609 4.5098 14.0824 4.43669L14.7776 4.2786C14.9077 4.24903 15 4.13339 15 4C15 3.86661 14.9077 3.75097 14.7776 3.7214L14.0824 3.56331C13.7609 3.4902 13.5098 3.23911 13.4367 2.91756L13.2786 2.22236ZM12.3769 4C12.6449 3.86324 12.8632 3.64489 13 3.37691C13.1368 3.64489 13.3551 3.86324 13.6231 4C13.3551 4.13676 13.1368 4.35511 13 4.62309C12.8632 4.35511 12.6449 4.13676 12.3769 4Z", fill: "currentColor" }));
226
226
 
227
227
  const SvgAddVariableIcon = (props) => /* @__PURE__ */ React__namespace.createElement("svg", { width: "1em", height: "1em", viewBox: "0 0 16 14", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...props }, /* @__PURE__ */ React__namespace.createElement("path", { d: "M14.9799 1.39074L14.98 1.39066C14.7152 1.10024 14.2958 0.91202 13.667 0.901363L13.6603 0.901248L13.6603 0.901202C12.7479 0.873384 11.9951 1.10031 11.384 1.55729C10.8289 1.97239 10.3593 2.60115 10.001 3.47483C10.1534 3.44887 10.311 3.43399 10.4753 3.43399C10.7848 3.43399 11.4004 3.4707 11.7695 3.94829L11.7739 3.95398L11.7738 3.95401C12.0596 4.33506 12.0442 4.83443 11.9167 5.28791L11.9148 5.29459L11.9148 5.29458C11.8487 5.5177 11.679 5.86554 11.4767 6.23962C11.2662 6.62901 10.996 7.09066 10.702 7.55973L10.6993 7.56416L10.6992 7.56414C10.3347 8.13251 10.0495 8.55478 9.83621 8.83812C9.73082 8.9781 9.63297 9.09769 9.54476 9.18669C9.50132 9.23051 9.44774 9.27975 9.3864 9.32131C9.33933 9.3532 9.21625 9.43126 9.04751 9.43126H9.03969L9.03189 9.43102C8.86024 9.42565 8.74138 9.34197 8.68565 9.29502C8.62506 9.24396 8.58139 9.18766 8.55261 9.14632C8.49422 9.06244 8.44439 8.96269 8.40245 8.86844C8.31617 8.6746 8.22417 8.41394 8.13119 8.12159C7.94369 7.5321 7.73346 6.75358 7.53672 5.98052C7.33946 5.20536 7.15363 4.42727 7.01499 3.8353C6.94564 3.53916 6.88802 3.28929 6.84663 3.10947L6.79742 2.89575C6.78998 2.86356 6.7853 2.8436 6.78273 2.83267C6.78085 2.82467 6.78011 2.82151 6.78026 2.82195C6.57968 2.09733 6.4571 1.68312 6.26635 1.42424C6.18505 1.31391 6.0959 1.24128 5.9786 1.19094C5.85381 1.13739 5.67159 1.09837 5.39186 1.09837C5.26627 1.09837 5.03076 1.1623 4.67253 1.3451C4.32974 1.52003 3.92898 1.77495 3.49123 2.08709C2.6167 2.71068 1.63791 3.53124 0.748646 4.31012L0.746028 4.31241L0.74602 4.3124L0.529348 4.49953L0.770345 4.803C1.04584 4.59868 1.33341 4.39361 1.60844 4.23668C1.8837 4.07963 2.21683 3.9283 2.55433 3.92635C3.08046 3.91574 3.42074 4.32093 3.64468 4.72599C3.88424 5.15933 4.10594 5.79526 4.33533 6.63214C4.78297 8.25095 5.33179 9.99936 5.93252 11.3357C6.23406 12.0064 6.53701 12.5465 6.83047 12.9111C7.13988 13.2955 7.35241 13.3793 7.4597 13.3793C8.04015 13.3793 8.72417 13.1366 9.55755 12.509C10.3917 11.8809 11.3418 10.8921 12.4423 9.46323L14.9799 1.39074ZM14.9799 1.39074L14.9874 1.39862M14.9799 1.39074L14.9874 1.39862M14.9874 1.39862C15.338 1.76673 15.549 2.45607 15.4903 3.5376L15.4902 3.5376M14.9874 1.39862L15.4902 3.5376M15.4902 3.5376L15.4899 3.54442M15.4902 3.5376L15.4899 3.54442M15.4899 3.54442C15.4633 4.19952 15.2114 5.02391 14.6981 6.02812M15.4899 3.54442L14.6981 6.02812M14.6981 6.02812C14.1875 7.02705 13.4345 8.17281 12.4424 9.46314L14.6981 6.02812Z", fill: "currentColor", stroke: "currentColor" }), /* @__PURE__ */ React__namespace.createElement("path", { d: "M13.4708 9.75072H15.8999V11.1833H13.4708H13.3708V11.2833V13.7793H11.8044V11.2833V11.1833H11.7044H9.27529V9.75072H11.7044H11.8044V9.65072V7.15469H13.3708V9.65072V9.75072H13.4708Z", fill: "currentColor", stroke: "white", strokeWidth: 0.2 }));
228
228
 
@@ -856,6 +856,12 @@ const SvgHideScripts = (props) => /* @__PURE__ */ React__namespace.createElement
856
856
 
857
857
  const SvgFiaIcon = (props) => /* @__PURE__ */ React__namespace.createElement("svg", { width: "1em", height: "1em", viewBox: "0 0 32 32", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...props }, /* @__PURE__ */ React__namespace.createElement("circle", { cx: 16, cy: 17, r: 8, fill: "#F2D7FE" }), /* @__PURE__ */ React__namespace.createElement("rect", { x: 0.5, y: 0.5, width: 31, height: 31, rx: 15.5, fill: "url(#paint0_linear_175_15917)", stroke: "url(#paint1_linear_175_15917)" }), /* @__PURE__ */ React__namespace.createElement("path", { d: "M25.0585 16.7819C25.0585 19.7902 23.9858 21.7593 22.2647 22.9703C20.3982 24.2141 18.2799 24.5817 16 24.5817C10.9988 24.5817 6.9415 22.6318 6.9415 16.7819C6.9415 11.3181 10.9988 7.41821 16 7.41821C21.0013 7.41821 25.0585 11.3181 25.0585 16.7819Z", fill: "#F5F5F5" }), /* @__PURE__ */ React__namespace.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M22.7067 23.6157L22.6985 23.6212C20.653 24.9843 18.3597 25.3639 16 25.3639C13.4186 25.3639 10.9594 24.8642 9.12864 23.5033C7.25646 22.1116 6.1593 19.9083 6.1593 16.7819C6.1593 10.8945 10.5585 6.63605 16 6.63605C21.4415 6.63605 25.8407 10.8945 25.8407 16.7819C25.8407 20.0008 24.6777 22.2289 22.7148 23.61L22.7067 23.6157ZM22.2647 22.9703C23.9858 21.7593 25.0585 19.7903 25.0585 16.7819C25.0585 11.3182 21.0013 7.41824 16 7.41824C10.9988 7.41824 6.94149 11.3182 6.94149 16.7819C6.94149 22.6318 10.9988 24.5817 16 24.5817C18.2799 24.5817 20.3982 24.2142 22.2647 22.9703Z", fill: "black" }), /* @__PURE__ */ React__namespace.createElement("path", { d: "M16 7.41821C15.7588 7.41821 15.5233 7.43538 15.2849 7.45302C19.951 7.8063 23.6283 11.5818 23.6283 16.7819C23.6283 19.7902 22.5555 21.7593 20.8344 22.9703C19.5495 23.8284 17.9428 24.4573 15.304 24.5641C15.5342 24.5731 15.765 24.5817 16 24.5817C18.2823 24.5817 20.3991 24.2137 22.2647 22.9703C23.9858 21.7593 25.0585 19.7902 25.0585 16.7819C25.0585 11.3181 21.0013 7.41821 16 7.41821Z", fill: "#CFD8DC" }), /* @__PURE__ */ React__namespace.createElement("path", { d: "M18.8606 13.1394H13.1394C10.7696 13.1394 8.84856 15.0605 8.84856 17.4303C8.84856 19.8001 10.7696 21.7212 13.1394 21.7212H18.8606C21.2304 21.7212 23.1515 19.8001 23.1515 17.4303C23.1515 15.0605 21.2304 13.1394 18.8606 13.1394Z", fill: "#607D8B" }), /* @__PURE__ */ React__namespace.createElement("path", { d: "M18.8606 13.1394H17.4303C19.8001 13.1394 21.7212 15.0605 21.7212 17.4303C21.7212 19.8001 19.8001 21.7212 17.4303 21.7212H18.8606C21.2304 21.7212 23.1515 19.8001 23.1515 17.4303C23.1515 15.0605 21.2304 13.1394 18.8606 13.1394Z", fill: "#37474F" }), /* @__PURE__ */ React__namespace.createElement("path", { d: "M7.89503 9.32527C8.42165 9.32527 8.84855 8.89836 8.84855 8.37174C8.84855 7.84512 8.42165 7.41821 7.89503 7.41821C7.36841 7.41821 6.9415 7.84512 6.9415 8.37174C6.9415 8.89836 7.36841 9.32527 7.89503 9.32527Z", fill: "#D156E5" }), /* @__PURE__ */ React__namespace.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M9.40727 8.37179C9.40727 9.20698 8.73022 9.88403 7.89503 9.88403C7.05985 9.88403 6.3828 9.20698 6.3828 8.37179C6.3828 7.53661 7.05985 6.85956 7.89503 6.85956C8.73022 6.85956 9.40727 7.53661 9.40727 8.37179ZM8.84856 8.37179C8.84856 8.89841 8.42165 9.32532 7.89503 9.32532C7.36841 9.32532 6.94151 8.89841 6.94151 8.37179C6.94151 7.84518 7.36841 7.41827 7.89503 7.41827C8.42165 7.41827 8.84856 7.84518 8.84856 8.37179Z", fill: "black" }), /* @__PURE__ */ React__namespace.createElement("path", { d: "M12.1859 17.9071C12.7125 17.9071 13.1394 17.4801 13.1394 16.9535C13.1394 16.4269 12.7125 16 12.1859 16C11.6593 16 11.2324 16.4269 11.2324 16.9535C11.2324 17.4801 11.6593 17.9071 12.1859 17.9071Z", fill: "#00BCD4" }), /* @__PURE__ */ React__namespace.createElement("path", { d: "M19.8141 17.9071C20.3407 17.9071 20.7677 17.4801 20.7677 16.9535C20.7677 16.4269 20.3407 16 19.8141 16C19.2875 16 18.8606 16.4269 18.8606 16.9535C18.8606 17.4801 19.2875 17.9071 19.8141 17.9071Z", fill: "#00BCD4" }), /* @__PURE__ */ React__namespace.createElement("path", { d: "M24.105 9.32527C24.6317 9.32527 25.0586 8.89836 25.0586 8.37174C25.0586 7.84512 24.6317 7.41821 24.105 7.41821C23.5784 7.41821 23.1515 7.84512 23.1515 8.37174C23.1515 8.89836 23.5784 9.32527 24.105 9.32527Z", fill: "#D156E5" }), /* @__PURE__ */ React__namespace.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M25.6172 8.37179C25.6172 9.20698 24.9402 9.88403 24.105 9.88403C23.2698 9.88403 22.5927 9.20698 22.5927 8.37179C22.5927 7.53661 23.2698 6.85956 24.105 6.85956C24.9402 6.85956 25.6172 7.53661 25.6172 8.37179ZM25.0585 8.37179C25.0585 8.89841 24.6316 9.32532 24.105 9.32532C23.5784 9.32532 23.1515 8.89841 23.1515 8.37179C23.1515 7.84518 23.5784 7.41827 24.105 7.41827C24.6316 7.41827 25.0585 7.84518 25.0585 8.37179Z", fill: "black" }), /* @__PURE__ */ React__namespace.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M16.4768 10.7556H15.5233C15.2599 10.7556 15.0465 10.5421 15.0465 10.2788C15.0465 10.0155 15.2599 9.80206 15.5233 9.80206H16.4768C16.7401 9.80206 16.9535 10.0155 16.9535 10.2788C16.9535 10.5421 16.7401 10.7556 16.4768 10.7556ZM15.0465 12.1859H16.9536C17.2169 12.1859 17.4303 11.9724 17.4303 11.7091C17.4303 11.4458 17.2169 11.2324 16.9536 11.2324H15.0465C14.7832 11.2324 14.5697 11.4458 14.5697 11.7091C14.5697 11.9724 14.7832 12.1859 15.0465 12.1859ZM23.6282 17.4303C23.6254 14.7984 21.4925 12.6655 18.8606 12.6626H13.1394C10.5063 12.6626 8.3718 14.7972 8.3718 17.4303C8.3718 20.0634 10.5063 22.1979 13.1394 22.1979H18.8606C21.4925 22.195 23.6254 20.0622 23.6282 17.4303ZM9.32532 17.4303C9.32769 15.3248 11.0339 13.6185 13.1394 13.6162H18.8606C20.9671 13.6162 22.6747 15.3238 22.6747 17.4303C22.6747 19.5368 20.9671 21.2444 18.8606 21.2444H13.1394C11.0339 21.242 9.32769 19.5358 9.32532 17.4303ZM10.7556 16.9535C10.7556 16.1636 11.396 15.5232 12.1859 15.5232C12.9758 15.5232 13.6162 16.1636 13.6162 16.9535C13.6162 17.7435 12.9758 18.3838 12.1859 18.3838C11.396 18.3838 10.7556 17.7435 10.7556 16.9535ZM11.7091 16.9535C11.7091 17.2168 11.9226 17.4303 12.1859 17.4303C12.4492 17.4303 12.6627 17.2168 12.6627 16.9535C12.6627 16.6902 12.4492 16.4768 12.1859 16.4768C11.9226 16.4768 11.7091 16.6902 11.7091 16.9535ZM19.8141 15.5232C20.6041 15.5232 21.2444 16.1636 21.2444 16.9535C21.2444 17.7435 20.6041 18.3838 19.8141 18.3838C19.0242 18.3838 18.3838 17.7435 18.3838 16.9535C18.3838 16.1636 19.0242 15.5232 19.8141 15.5232ZM19.8141 16.4768C19.5508 16.4768 19.3374 16.6902 19.3374 16.9535C19.3374 17.2168 19.5508 17.4303 19.8141 17.4303C20.0774 17.4303 20.2909 17.2168 20.2909 16.9535C20.2909 16.6902 20.0774 16.4768 19.8141 16.4768ZM16 18.8606C16.3955 18.8817 16.7855 18.7603 17.099 18.5183C17.2887 18.3389 17.587 18.3442 17.7702 18.5302C17.953 18.7156 17.9517 19.0138 17.7674 19.1977C17.2786 19.6213 16.6463 19.8419 16 19.8141C15.3549 19.841 14.7239 19.6205 14.236 19.1977C14.0656 19.0105 14.0711 18.7229 14.2485 18.5424C14.426 18.362 14.7135 18.3516 14.9035 18.5187C15.2164 18.76 15.6054 18.8812 16 18.8606Z", fill: "black" }), /* @__PURE__ */ React__namespace.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M13.1394 13.5603H18.8606C20.9979 13.5603 22.7306 15.293 22.7306 17.4303C22.7306 19.5676 20.9979 21.3003 18.8606 21.3003H13.1394C11.0031 21.2979 9.27185 19.5667 9.26945 17.4304L9.26945 17.4302C9.27185 15.2939 11.0031 13.5627 13.1394 13.5603ZM17.1353 18.5608L17.1331 18.5625C16.8098 18.8121 16.4078 18.9376 16 18.9165C15.5931 18.9371 15.1921 18.8118 14.8694 18.563L14.8679 18.5619L14.8666 18.5607C14.6988 18.4131 14.445 18.4223 14.2884 18.5816C14.1325 18.7401 14.1269 18.9924 14.2751 19.1576C14.7519 19.5697 15.368 19.7846 15.9977 19.7583L16.0001 19.7582L16.0024 19.7583C16.6337 19.7854 17.2515 19.5702 17.7293 19.1568C17.8905 18.9945 17.8912 18.7325 17.7305 18.5694C17.5686 18.405 17.305 18.4003 17.1374 18.5589L17.1353 18.5608ZM17.7674 19.1977C17.2786 19.6213 16.6463 19.8419 16 19.8141C15.3549 19.841 14.7239 19.6205 14.236 19.1977C14.0656 19.0105 14.0711 18.7229 14.2485 18.5424C14.426 18.362 14.7135 18.3516 14.9035 18.5187C15.2164 18.76 15.6054 18.8812 16 18.8606C16.3955 18.8817 16.7855 18.7603 17.099 18.5183C17.2887 18.3389 17.587 18.3442 17.7702 18.5302C17.953 18.7156 17.9517 19.0138 17.7674 19.1977ZM15.5233 10.6997H16.4768C16.7092 10.6997 16.8977 10.5113 16.8977 10.2788C16.8977 10.0464 16.7092 9.85793 16.4768 9.85793H15.5233C15.2908 9.85793 15.1024 10.0464 15.1024 10.2788C15.1024 10.5113 15.2908 10.6997 15.5233 10.6997ZM15.0465 12.13H16.9536C17.186 12.13 17.3744 11.9416 17.3744 11.7091C17.3744 11.4767 17.186 11.2882 16.9536 11.2882H15.0465C14.814 11.2882 14.6256 11.4767 14.6256 11.7091C14.6256 11.9416 14.814 12.13 15.0465 12.13ZM23.5724 17.4303C23.5695 14.8292 21.4616 12.7214 18.8605 12.7185H13.1394C10.5372 12.7185 8.42767 14.8281 8.42767 17.4303C8.42767 20.0325 10.5372 22.1421 13.1394 22.1421H18.8605C21.4616 22.1392 23.5695 20.0314 23.5724 17.4303ZM23.6282 17.4303C23.6254 14.7984 21.4925 12.6655 18.8606 12.6626H13.1394C10.5063 12.6626 8.3718 14.7972 8.3718 17.4303C8.3718 20.0634 10.5063 22.1979 13.1394 22.1979H18.8606C21.4925 22.195 23.6254 20.0622 23.6282 17.4303ZM12.1859 15.5791C11.4268 15.5791 10.8115 16.1945 10.8115 16.9535C10.8115 17.7126 11.4268 18.3279 12.1859 18.3279C12.945 18.3279 13.5603 17.7126 13.5603 16.9535C13.5603 16.1945 12.945 15.5791 12.1859 15.5791ZM12.1859 17.4862C11.8917 17.4862 11.6533 17.2477 11.6533 16.9535C11.6533 16.6594 11.8917 16.4209 12.1859 16.4209C12.4801 16.4209 12.7185 16.6594 12.7185 16.9535C12.7185 17.2477 12.4801 17.4862 12.1859 17.4862ZM21.1886 16.9535C21.1886 16.1945 20.5732 15.5791 19.8141 15.5791C19.0551 15.5791 18.4397 16.1945 18.4397 16.9535C18.4397 17.7126 19.0551 18.3279 19.8141 18.3279C20.5732 18.3279 21.1886 17.7126 21.1886 16.9535ZM19.2815 16.9535C19.2815 16.6594 19.52 16.4209 19.8141 16.4209C20.1083 16.4209 20.3468 16.6594 20.3468 16.9535C20.3468 17.2477 20.1083 17.4862 19.8141 17.4862C19.52 17.4862 19.2815 17.2477 19.2815 16.9535ZM15.5233 10.7556H16.4768C16.7401 10.7556 16.9535 10.5421 16.9535 10.2788C16.9535 10.0155 16.7401 9.80206 16.4768 9.80206H15.5233C15.2599 9.80206 15.0465 10.0155 15.0465 10.2788C15.0465 10.5421 15.2599 10.7556 15.5233 10.7556ZM16.9536 12.1859H15.0465C14.7832 12.1859 14.5697 11.9724 14.5697 11.7091C14.5697 11.4458 14.7832 11.2324 15.0465 11.2324H16.9536C17.2169 11.2324 17.4303 11.4458 17.4303 11.7091C17.4303 11.9724 17.2169 12.1859 16.9536 12.1859ZM13.1394 13.6162C11.0339 13.6185 9.32769 15.3248 9.32532 17.4303C9.32769 19.5358 11.0339 21.242 13.1394 21.2444H18.8606C20.9671 21.2444 22.6747 19.5368 22.6747 17.4303C22.6747 15.3238 20.9671 13.6162 18.8606 13.6162H13.1394ZM12.1859 15.5232C11.396 15.5232 10.7556 16.1636 10.7556 16.9535C10.7556 17.7435 11.396 18.3838 12.1859 18.3838C12.9758 18.3838 13.6162 17.7435 13.6162 16.9535C13.6162 16.1636 12.9758 15.5232 12.1859 15.5232ZM12.1859 17.4303C11.9226 17.4303 11.7091 17.2168 11.7091 16.9535C11.7091 16.6902 11.9226 16.4768 12.1859 16.4768C12.4492 16.4768 12.6627 16.6902 12.6627 16.9535C12.6627 17.2168 12.4492 17.4303 12.1859 17.4303ZM21.2444 16.9535C21.2444 16.1636 20.6041 15.5232 19.8141 15.5232C19.0242 15.5232 18.3838 16.1636 18.3838 16.9535C18.3838 17.7435 19.0242 18.3838 19.8141 18.3838C20.6041 18.3838 21.2444 17.7435 21.2444 16.9535ZM19.3374 16.9535C19.3374 16.6902 19.5508 16.4768 19.8141 16.4768C20.0774 16.4768 20.2909 16.6902 20.2909 16.9535C20.2909 17.2168 20.0774 17.4303 19.8141 17.4303C19.5508 17.4303 19.3374 17.2168 19.3374 16.9535Z", fill: "black" }), /* @__PURE__ */ React__namespace.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M7.895 9.53558C8.08014 9.53558 8.23022 9.68567 8.23022 9.87081L8.23022 11.3757C8.23022 11.5608 8.08014 11.7109 7.895 11.7109C7.70986 11.7109 7.55978 11.5608 7.55978 11.3757L7.55978 9.87081C7.55978 9.68567 7.70986 9.53558 7.895 9.53558Z", fill: "black" }), /* @__PURE__ */ React__namespace.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M24.105 9.53558C24.2901 9.53558 24.4402 9.68567 24.4402 9.87081L24.4402 11.3757C24.4402 11.5608 24.2901 11.7109 24.105 11.7109C23.9199 11.7109 23.7698 11.5608 23.7698 11.3757L23.7698 9.87081C23.7698 9.68567 23.9199 9.53558 24.105 9.53558Z", fill: "black" }), /* @__PURE__ */ React__namespace.createElement("defs", null, /* @__PURE__ */ React__namespace.createElement("linearGradient", { id: "paint0_linear_175_15917", x1: 16, y1: 0, x2: 16, y2: 32, gradientUnits: "userSpaceOnUse" }, /* @__PURE__ */ React__namespace.createElement("stop", { stopColor: "#E14BEE" }), /* @__PURE__ */ React__namespace.createElement("stop", { offset: 1, stopColor: "#71347B" })), /* @__PURE__ */ React__namespace.createElement("linearGradient", { id: "paint1_linear_175_15917", x1: 16, y1: 0, x2: 16, y2: 32, gradientUnits: "userSpaceOnUse" }, /* @__PURE__ */ React__namespace.createElement("stop", { stopColor: "#71347B" }), /* @__PURE__ */ React__namespace.createElement("stop", { offset: 1, stopColor: "#E14BEE" }))));
858
858
 
859
+ const SvgFiaQueries = (props) => /* @__PURE__ */ React__namespace.createElement("svg", { width: "1em", height: "1em", viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...props }, /* @__PURE__ */ React__namespace.createElement("g", { clipPath: "url(#clip0_300_28244)" }, /* @__PURE__ */ React__namespace.createElement("path", { d: "M10.3438 13.625C10.3438 14.9188 9.29375 16 8 16C6.70625 16 5.65625 14.9188 5.65625 13.625C5.65625 13.3625 5.86247 13.1562 6.125 13.1562H9.875C10.1375 13.1562 10.3438 13.3625 10.3438 13.625Z", fill: "#AEADB3" }), /* @__PURE__ */ React__namespace.createElement("path", { d: "M10.3438 13.625C10.3438 14.9188 9.29375 16 8 16V13.1562H9.875C10.1375 13.1562 10.3438 13.3625 10.3438 13.625Z", fill: "#8B8892" }), /* @__PURE__ */ React__namespace.createElement("path", { d: "M11.2812 12.2188V12.6875C11.2812 13.4656 10.6532 14.0938 9.875 14.0938H6.125C5.34684 14.0938 4.71875 13.4656 4.71875 12.6875V12.2188L5.60938 11.25H10.3906L11.2812 12.2188Z", fill: "#D9D9D9" }), /* @__PURE__ */ React__namespace.createElement("path", { d: "M10.3906 11.25L11.2812 12.2188V12.6875C11.2812 13.4656 10.6532 14.0938 9.875 14.0938H8V11.25H10.3906Z", fill: "#C8C6CD" }), /* @__PURE__ */ React__namespace.createElement("path", { d: "M13.625 5.625C13.625 6.98438 13.1281 8.30625 12.2281 9.32812C11.7312 9.9 11.4312 10.5656 11.3281 11.25C11.3094 11.4093 11.2812 11.5906 11.2812 11.75V12.2188H4.71874V11.75C4.71874 11.5906 4.69996 11.4093 4.67186 11.25C4.57808 10.5656 4.27814 9.9 3.79061 9.35622C2.59058 8.00622 2.12183 6.19684 2.50624 4.39687C2.95624 2.2875 4.67186 0.571875 6.79064 0.121875C7.19374 0.0374688 7.59686 0 7.99999 0C9.28436 0 10.5406 0.440594 11.5438 1.25622C12.8656 2.33437 13.625 3.92812 13.625 5.625Z", fill: "#FEDB41" }), /* @__PURE__ */ React__namespace.createElement("path", { d: "M13.625 5.625C13.625 6.98438 13.1281 8.30625 12.2281 9.32812C11.7312 9.9 11.4312 10.5656 11.3281 11.25C11.3094 11.4093 11.2812 11.5906 11.2812 11.75V12.2188H8V0C9.28437 0 10.5407 0.440594 11.5438 1.25622C12.8656 2.33437 13.625 3.92812 13.625 5.625Z", fill: "#FCBF29" }), /* @__PURE__ */ React__namespace.createElement("path", { d: "M11.75 5.625C11.75 5.88747 11.5438 6.09375 11.2812 6.09375C11.0187 6.09375 10.8125 5.88747 10.8125 5.625C10.8125 4.07809 9.54691 2.8125 8 2.8125C7.73747 2.8125 7.53125 2.60622 7.53125 2.34375C7.53125 2.08122 7.73747 1.875 8 1.875C10.0719 1.875 11.75 3.55309 11.75 5.625Z", fill: "#FEA832" }), /* @__PURE__ */ React__namespace.createElement("path", { d: "M1.40625 6.5625H0.46875C0.209656 6.5625 0 6.35284 0 6.09375C0 5.83466 0.209656 5.625 0.46875 5.625H1.40625C1.66534 5.625 1.875 5.83466 1.875 6.09375C1.875 6.35284 1.66534 6.5625 1.40625 6.5625Z", fill: "#FEA832" }), /* @__PURE__ */ React__namespace.createElement("path", { d: "M1.2689 4.08152C1.14896 4.08152 1.02902 4.03574 0.937493 3.94418L0.274649 3.28137C0.0915557 3.09827 0.0915557 2.80162 0.274649 2.61852C0.457743 2.43543 0.754399 2.43543 0.937493 2.61852L1.60034 3.28137C1.78343 3.46446 1.78343 3.76112 1.60034 3.94421C1.50877 4.03577 1.38884 4.08152 1.2689 4.08152Z", fill: "#FEA832" }), /* @__PURE__ */ React__namespace.createElement("path", { d: "M0.274649 9.56921C0.0915557 9.38612 0.0915557 9.08946 0.274649 8.90637L0.937493 8.24352C1.12059 8.06043 1.41724 8.06043 1.60034 8.24352C1.78343 8.42662 1.78343 8.72327 1.60034 8.90637L0.937493 9.56921C0.754399 9.7523 0.457774 9.7523 0.274649 9.56921Z", fill: "#FEA832" }), /* @__PURE__ */ React__namespace.createElement("path", { d: "M15.5312 6.5625H14.5938C14.3347 6.5625 14.125 6.35284 14.125 6.09375C14.125 5.83466 14.3347 5.625 14.5938 5.625H15.5312C15.7903 5.625 16 5.83466 16 6.09375C16 6.35284 15.7903 6.5625 15.5312 6.5625Z", fill: "#FE9923" }), /* @__PURE__ */ React__namespace.createElement("path", { d: "M14.3996 3.94421C14.2166 3.76112 14.2166 3.46446 14.3996 3.28137L15.0625 2.61852C15.2456 2.43543 15.5422 2.43543 15.7253 2.61852C15.9084 2.80162 15.9084 3.09827 15.7253 3.28137L15.0625 3.94421C14.8794 4.1273 14.5828 4.1273 14.3996 3.94421Z", fill: "#FE9923" }), /* @__PURE__ */ React__namespace.createElement("path", { d: "M15.0625 9.56921L14.3996 8.90637C14.2166 8.72327 14.2166 8.42662 14.3996 8.24352C14.5827 8.06043 14.8794 8.06043 15.0625 8.24352L15.7253 8.90637C15.9084 9.08946 15.9084 9.38612 15.7253 9.56921C15.5422 9.7523 15.2456 9.7523 15.0625 9.56921Z", fill: "#FE9923" }), /* @__PURE__ */ React__namespace.createElement("path", { d: "M11.75 5.625C11.75 5.88747 11.5438 6.09375 11.2812 6.09375C11.0187 6.09375 10.8125 5.88747 10.8125 5.625C10.8125 4.07809 9.54691 2.8125 8 2.8125V1.875C10.0719 1.875 11.75 3.55309 11.75 5.625Z", fill: "#FE9923" })), /* @__PURE__ */ React__namespace.createElement("defs", null, /* @__PURE__ */ React__namespace.createElement("clipPath", { id: "clip0_300_28244" }, /* @__PURE__ */ React__namespace.createElement("rect", { width: 16, height: 16, fill: "white" }))));
860
+
861
+ const SvgFiaMagic = (props) => /* @__PURE__ */ React__namespace.createElement("svg", { width: "1em", height: "1em", viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...props }, /* @__PURE__ */ React__namespace.createElement("g", { clipPath: "url(#clip0_704_11368)" }, /* @__PURE__ */ React__namespace.createElement("path", { d: "M6.67062 10.6706L2.31875 15.5481C1.81344 16.1256 0.927188 16.1521 0.3875 15.6124C-0.15375 15.0712 -0.124062 14.1853 0.451875 13.6812L5.32937 9.32932C5.32937 9.32932 5.75 9.24994 6.25 9.74994C6.75 10.2499 6.67062 10.6706 6.67062 10.6706Z", fill: "#0052BE" }), /* @__PURE__ */ React__namespace.createElement("path", { d: "M6.67064 10.6706L2.31876 15.5481C1.81345 16.1256 0.9272 16.1522 0.387512 15.6125L6.25001 9.75C6.75001 10.25 6.67064 10.6706 6.67064 10.6706Z", fill: "#00429B" }), /* @__PURE__ */ React__namespace.createElement("path", { d: "M9.49997 7.5L6.6706 10.6706C6.20194 10.202 5.79803 9.79806 5.32935 9.32937L8.49997 6.5L9.49997 7.5Z", fill: "#00429B" }), /* @__PURE__ */ React__namespace.createElement("path", { d: "M9.5 7.5L6.67063 10.6706L6 10L9 7L9.5 7.5Z", fill: "#00337A" }), /* @__PURE__ */ React__namespace.createElement("path", { d: "M12.5 8.7189H10.4875L9.16032 10.5273C8.91407 10.8628 8.38457 10.7338 8.31938 10.3236L7.95813 8.04202L5.67657 7.68077C5.26598 7.61555 5.1377 7.08571 5.47282 6.83983L7.28126 5.51265V3.50015C7.28126 3.11965 7.71242 2.89736 8.02251 3.11858L9.5897 4.23827L11.8059 3.6164C12.1575 3.5174 12.4827 3.8428 12.3838 4.19421L11.7619 6.41046L12.8816 7.97765C13.1025 8.28743 12.8809 8.7189 12.5 8.7189Z", fill: "#FFDD54" }), /* @__PURE__ */ React__namespace.createElement("path", { d: "M12.8816 7.9774C13.1025 8.28718 12.8809 8.71865 12.5 8.71865H10.4875L9.16032 10.5271C8.91422 10.8623 8.3846 10.7338 8.31938 10.3233L7.95813 8.04178L12.2641 3.73584C12.3838 3.85584 12.4297 4.03084 12.3838 4.19396L11.7619 6.41021L12.8816 7.9774Z", fill: "#FFB454" }), /* @__PURE__ */ React__namespace.createElement("path", { d: "M16 1.21875C16 1.4775 15.79 1.6875 15.5312 1.6875H15.25V1.96875C15.25 2.2275 15.04 2.4375 14.7812 2.4375C14.5225 2.4375 14.3125 2.2275 14.3125 1.96875V1.6875H14.0312C13.7725 1.6875 13.5625 1.4775 13.5625 1.21875C13.5625 0.96 13.7725 0.75 14.0312 0.75H14.3125V0.46875C14.3125 0.21 14.5225 0 14.7812 0C15.04 0 15.25 0.21 15.25 0.46875V0.75H15.5312C15.79 0.75 16 0.959969 16 1.21875Z", fill: "#BEE75E" }), /* @__PURE__ */ React__namespace.createElement("path", { d: "M16 1.21875C16 1.4775 15.79 1.6875 15.5312 1.6875H15.25V1.96875C15.25 2.2275 15.04 2.4375 14.7812 2.4375C14.5225 2.4375 14.3125 2.2275 14.3125 1.96875V1.6875L15.25 0.75H15.5312C15.79 0.75 16 0.959969 16 1.21875Z", fill: "#00CB75" }), /* @__PURE__ */ React__namespace.createElement("path", { d: "M10.5 1.28125H10.2188V1C10.2188 0.741125 10.0089 0.53125 9.75 0.53125C9.49112 0.53125 9.28125 0.741125 9.28125 1V1.28125H9C8.74112 1.28125 8.53125 1.49112 8.53125 1.75C8.53125 2.00888 8.74112 2.21875 9 2.21875H9.28125V2.5C9.28125 2.75887 9.49112 2.96875 9.75 2.96875C10.0089 2.96875 10.2188 2.75887 10.2188 2.5V2.21875H10.5C10.7589 2.21875 10.9688 2.00888 10.9688 1.75C10.9688 1.49112 10.7589 1.28125 10.5 1.28125Z", fill: "#F6F9F9" }), /* @__PURE__ */ React__namespace.createElement("path", { d: "M13.7812 7C13.7812 7.25887 13.9911 7.46875 14.25 7.46875C14.5089 7.46875 14.7188 7.25887 14.7188 7V6.71875H15C15.2589 6.71875 15.4688 6.50888 15.4688 6.25C15.4688 5.99112 15.2589 5.78125 15 5.78125H14.7188V5.5C14.7188 5.24112 14.5089 5.03125 14.25 5.03125C13.9911 5.03125 13.7812 5.24112 13.7812 5.5V5.78125H13.5C13.2411 5.78125 13.0312 5.99112 13.0312 6.25C13.0312 6.50888 13.2411 6.71875 13.5 6.71875H13.7812V7Z", fill: "#E2DFF4" }), /* @__PURE__ */ React__namespace.createElement("path", { d: "M15.5312 10.2812H15.25V10C15.25 9.74112 15.0401 9.53125 14.7812 9.53125C14.5224 9.53125 14.3125 9.74112 14.3125 10V10.2812H14.0312C13.7724 10.2812 13.5625 10.4911 13.5625 10.75C13.5625 11.0089 13.7724 11.2188 14.0312 11.2188H14.3125V11.5C14.3125 11.7589 14.5224 11.9688 14.7812 11.9688C15.0401 11.9688 15.25 11.7589 15.25 11.5V11.2188H15.5312C15.7901 11.2188 16 11.0089 16 10.75C16 10.4911 15.7901 10.2812 15.5312 10.2812Z", fill: "#FF4A4A" }), /* @__PURE__ */ React__namespace.createElement("path", { d: "M6 0.75H5.71875V0.46875C5.71875 0.209875 5.50888 0 5.25 0C4.99112 0 4.78125 0.209875 4.78125 0.46875V0.75H4.5C4.24112 0.75 4.03125 0.959875 4.03125 1.21875C4.03125 1.47763 4.24112 1.6875 4.5 1.6875H4.78125V1.96875C4.78125 2.22762 4.99112 2.4375 5.25 2.4375C5.50888 2.4375 5.71875 2.22762 5.71875 1.96875V1.6875H6C6.25887 1.6875 6.46875 1.47763 6.46875 1.21875C6.46875 0.959875 6.25887 0.75 6 0.75Z", fill: "#FF8659" }), /* @__PURE__ */ React__namespace.createElement("path", { d: "M4.98259 3.84307L3.23259 2.84307C3.00787 2.71467 2.7215 2.79273 2.59303 3.01748C2.46459 3.24226 2.54268 3.52857 2.76743 3.65704L4.51743 4.65704C4.74118 4.78495 5.02796 4.70842 5.157 4.48264C5.28546 4.25786 5.20737 3.97154 4.98259 3.84307Z", fill: "#F6F9F9" }), /* @__PURE__ */ React__namespace.createElement("path", { d: "M3.6919 5.28499L1.6919 5.53499C1.43499 5.56708 1.25277 5.80136 1.28493 6.05824C1.31702 6.31505 1.55127 6.49743 1.80818 6.46521L3.80818 6.21521C4.06508 6.18311 4.2473 5.94883 4.21515 5.69196C4.18302 5.43508 3.94868 5.25252 3.6919 5.28499Z", fill: "#ACCEFF" }), /* @__PURE__ */ React__namespace.createElement("path", { d: "M12.157 11.0175C12.0285 10.7927 11.7422 10.7146 11.5174 10.8431C11.2927 10.9716 11.2146 11.2579 11.343 11.4827L12.343 13.2327C12.4296 13.3841 12.5877 13.469 12.7504 13.469C13.1042 13.469 13.3374 13.0833 13.157 12.7676L12.157 11.0175Z", fill: "#E2DFF4" }), /* @__PURE__ */ React__namespace.createElement("path", { d: "M10.3081 11.7849C10.0512 11.7527 9.81697 11.9351 9.78488 12.1919L9.53488 14.1919C9.49997 14.4708 9.71719 14.7188 10.0006 14.7188C10.2335 14.7188 10.4355 14.5453 10.4651 14.3082L10.7151 12.3082C10.7473 12.0513 10.565 11.817 10.3081 11.7849Z", fill: "#6BA7FF" })), /* @__PURE__ */ React__namespace.createElement("defs", null, /* @__PURE__ */ React__namespace.createElement("clipPath", { id: "clip0_704_11368" }, /* @__PURE__ */ React__namespace.createElement("rect", { width: 16, height: 16, fill: "white" }))));
862
+
863
+ const SvgFiaClear = (props) => /* @__PURE__ */ React__namespace.createElement("svg", { width: "1em", height: "1em", viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...props }, /* @__PURE__ */ React__namespace.createElement("path", { d: "M2.89523 6.0971C3.32481 6.0971 3.67305 5.74793 3.67305 5.31721C3.67305 4.88652 3.32481 4.53735 2.89523 4.53735C2.46567 4.53735 2.11743 4.88652 2.11743 5.31721C2.11743 5.74793 2.46567 6.0971 2.89523 6.0971Z", fill: "#71347B" }), /* @__PURE__ */ React__namespace.createElement("path", { d: "M0.777799 8.49407C1.20738 8.49407 1.55562 8.14491 1.55562 7.71419C1.55562 7.28349 1.20738 6.93433 0.777799 6.93433C0.34824 6.93433 0 7.28349 0 7.71419C0 8.14491 0.34824 8.49407 0.777799 8.49407Z", fill: "#71347B" }), /* @__PURE__ */ React__namespace.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M14.2301 0.202053C13.3497 -0.255167 12.2663 0.0897742 11.8103 0.97249L9.81862 4.8279C9.80795 4.84857 9.79874 4.86962 9.79095 4.89091C8.81537 4.85737 7.84895 5.28947 7.19718 6.0543C6.42925 6.95541 5.48448 7.93878 4.67715 8.44093C3.52614 9.15685 2.57459 9.41487 1.98368 9.50645C1.63808 9.56001 1.35757 9.7831 1.22093 10.0724C1.0782 10.3746 1.08896 10.7706 1.36633 11.077C1.9693 11.7433 3.1449 12.8345 5.30117 14.2095C6.79465 15.1619 8.13363 15.6887 8.85427 15.9327C9.40656 16.1197 9.99677 15.9058 10.3137 15.4299C10.7143 14.8283 11.4179 13.6938 12.0221 12.3132C12.469 11.2919 12.854 10.2392 13.2225 9.18836C13.5334 8.30189 13.3936 7.36679 12.921 6.6277L14.9966 2.63184C15.4553 1.74875 15.1119 0.659995 14.2301 0.202053ZM12.1382 5.80392L14.0443 2.1345C14.2286 1.77962 14.0906 1.34209 13.7362 1.15807C13.3824 0.974333 12.947 1.11295 12.7638 1.46768L10.8717 5.13019C10.9351 5.15715 10.998 5.18642 11.0603 5.2181L11.7516 5.56956C11.8878 5.63878 12.0168 5.71727 12.1382 5.80392ZM12.2095 8.83125C12.133 9.04941 12.0524 9.27634 11.9688 9.5074L7.61133 7.21465C7.75161 7.05783 7.88618 6.90315 8.01353 6.7537C8.6621 5.99266 9.72665 5.74725 10.5747 6.17836L11.266 6.52985C12.1178 6.96286 12.5206 7.94412 12.2095 8.83125ZM5.2432 9.35582C5.77304 9.02629 6.32592 8.54468 6.84471 8.0271L6.85167 8.03083L11.5905 10.5242C11.4082 10.9995 11.2209 11.4645 11.0388 11.8806C10.4683 13.1842 9.80047 14.2617 9.42064 14.8321C9.36652 14.9134 9.27859 14.94 9.19787 14.9126C8.88095 14.8053 8.42816 14.6365 7.88841 14.3916C8.13894 14.1267 8.50232 13.6938 8.85054 13.0989C9.00101 12.8419 8.91405 12.5156 8.6563 12.3701C8.39855 12.2246 8.06762 12.3151 7.91716 12.5721C7.63725 13.0503 7.29537 13.5212 6.87618 13.8886C6.55648 13.7156 6.22135 13.5204 5.87742 13.3011C5.59778 13.1227 5.3359 12.9498 5.09076 12.7826C5.21832 12.6966 5.35818 12.5912 5.50833 12.4621C5.73415 12.2679 5.75658 11.9322 5.55842 11.7124C5.36027 11.4925 5.01659 11.4717 4.79078 11.6658C4.45842 11.9516 4.22632 12.0604 4.13275 12.097C3.27781 11.453 2.705 10.9242 2.33429 10.5386C3.05249 10.4046 4.06702 10.0874 5.2432 9.35582Z", fill: "#71347B" }));
864
+
859
865
  const SvgArrowLeft = (props) => /* @__PURE__ */ React__namespace.createElement("svg", { width: "1em", height: "1em", viewBox: "0 0 8 12", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...props }, /* @__PURE__ */ React__namespace.createElement("path", { d: "M6.95155 11.8082L7.34736 11.4151C7.47097 11.2914 7.53907 11.1268 7.53907 10.9509C7.53907 10.7751 7.47097 10.6103 7.34736 10.4866C4.87086 8.01023 4.87589 3.99002 7.35233 1.51357C7.47594 1.39006 7.54395 1.22528 7.54395 1.04947C7.54395 0.873666 7.47594 0.708786 7.35233 0.585176L6.95896 0.192002C6.70316 -0.0640005 6.28647 -0.0640005 6.03066 0.192002L0.666621 5.53683C0.543108 5.66034 0.456083 5.82493 0.456083 6.00229V6.00434C0.456083 6.18025 0.543206 6.34483 0.666621 6.46835L6.01613 11.8082C6.13964 11.9319 6.3092 11.9998 6.48501 12C6.66091 12 6.82813 11.9319 6.95155 11.8082Z", fill: "currentColor" }));
860
866
 
861
867
  const SvgAccordionBack = (props) => /* @__PURE__ */ React__namespace.createElement("svg", { width: "1em", height: "1em", viewBox: "0 0 8 14", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...props }, /* @__PURE__ */ React__namespace.createElement("path", { d: "M7 13L1 7L7 1", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round" }));
@@ -1458,6 +1464,9 @@ Components['link'] = SvgLink;
1458
1464
  Components['arrow_left'] = SvgArrowLeft;
1459
1465
  Components['accordion_back'] = SvgAccordionBack;
1460
1466
  Components['fia_icon'] = SvgFiaIcon;
1467
+ Components['fia_queries'] = SvgFiaQueries;
1468
+ Components['fia_magic'] = SvgFiaMagic;
1469
+ Components['fia_clear'] = SvgFiaClear;
1461
1470
  Components['record_pause_icon'] = SvgRecordPauseIcon;
1462
1471
  Components['record_stop_icon'] = SvgRecordStopIcon;
1463
1472
  Components['add_setting'] = SvgAddSetting;
@@ -2792,6 +2801,8 @@ const Dropdown$2 = /*#__PURE__*/React.forwardRef(({
2792
2801
  action: () => {
2793
2802
  if (focusedIndex !== null) {
2794
2803
  handleOptionChange(filteredOptions[focusedIndex], !filteredOptions[focusedIndex]?.isChecked);
2804
+ } else {
2805
+ withSelectButton && !selectDisable && handleOptionChange({}, false);
2795
2806
  }
2796
2807
  }
2797
2808
  }]);
@@ -25621,6 +25632,498 @@ function DayPicker(initialProps) {
25621
25632
  }, props.footer))));
25622
25633
  }
25623
25634
 
25635
+ /**
25636
+ * @name toDate
25637
+ * @category Common Helpers
25638
+ * @summary Convert the given argument to an instance of Date.
25639
+ *
25640
+ * @description
25641
+ * Convert the given argument to an instance of Date.
25642
+ *
25643
+ * If the argument is an instance of Date, the function returns its clone.
25644
+ *
25645
+ * If the argument is a number, it is treated as a timestamp.
25646
+ *
25647
+ * If the argument is none of the above, the function returns Invalid Date.
25648
+ *
25649
+ * **Note**: *all* Date arguments passed to any *date-fns* function is processed by `toDate`.
25650
+ *
25651
+ * @typeParam DateType - The `Date` type, the function operates on. Gets inferred from passed arguments. Allows to use extensions like [`UTCDate`](https://github.com/date-fns/utc).
25652
+ *
25653
+ * @param argument - The value to convert
25654
+ *
25655
+ * @returns The parsed date in the local time zone
25656
+ *
25657
+ * @example
25658
+ * // Clone the date:
25659
+ * const result = toDate(new Date(2014, 1, 11, 11, 30, 30))
25660
+ * //=> Tue Feb 11 2014 11:30:30
25661
+ *
25662
+ * @example
25663
+ * // Convert the timestamp to date:
25664
+ * const result = toDate(1392098430000)
25665
+ * //=> Tue Feb 11 2014 11:30:30
25666
+ */
25667
+ function toDate$1(argument) {
25668
+ const argStr = Object.prototype.toString.call(argument);
25669
+
25670
+ // Clone the date
25671
+ if (
25672
+ argument instanceof Date ||
25673
+ (typeof argument === "object" && argStr === "[object Date]")
25674
+ ) {
25675
+ // Prevent the date to lose the milliseconds when passed to new Date() in IE10
25676
+ return new argument.constructor(+argument);
25677
+ } else if (
25678
+ typeof argument === "number" ||
25679
+ argStr === "[object Number]" ||
25680
+ typeof argument === "string" ||
25681
+ argStr === "[object String]"
25682
+ ) {
25683
+ // TODO: Can we get rid of as?
25684
+ return new Date(argument);
25685
+ } else {
25686
+ // TODO: Can we get rid of as?
25687
+ return new Date(NaN);
25688
+ }
25689
+ }
25690
+
25691
+ /**
25692
+ * @name constructFrom
25693
+ * @category Generic Helpers
25694
+ * @summary Constructs a date using the reference date and the value
25695
+ *
25696
+ * @description
25697
+ * The function constructs a new date using the constructor from the reference
25698
+ * date and the given value. It helps to build generic functions that accept
25699
+ * date extensions.
25700
+ *
25701
+ * It defaults to `Date` if the passed reference date is a number or a string.
25702
+ *
25703
+ * @typeParam DateType - The `Date` type, the function operates on. Gets inferred from passed arguments. Allows to use extensions like [`UTCDate`](https://github.com/date-fns/utc).
25704
+ *
25705
+ * @param date - The reference date to take constructor from
25706
+ * @param value - The value to create the date
25707
+ *
25708
+ * @returns Date initialized using the given date and value
25709
+ *
25710
+ * @example
25711
+ * import { constructFrom } from 'date-fns'
25712
+ *
25713
+ * // A function that clones a date preserving the original type
25714
+ * function cloneDate<DateType extends Date(date: DateType): DateType {
25715
+ * return constructFrom(
25716
+ * date, // Use contrustor from the given date
25717
+ * date.getTime() // Use the date value to create a new date
25718
+ * )
25719
+ * }
25720
+ */
25721
+ function constructFrom(date, value) {
25722
+ if (date instanceof Date) {
25723
+ return new date.constructor(value);
25724
+ } else {
25725
+ return new Date(value);
25726
+ }
25727
+ }
25728
+
25729
+ /**
25730
+ * @module constants
25731
+ * @summary Useful constants
25732
+ * @description
25733
+ * Collection of useful date constants.
25734
+ *
25735
+ * The constants could be imported from `date-fns/constants`:
25736
+ *
25737
+ * ```ts
25738
+ * import { maxTime, minTime } from "./constants/date-fns/constants";
25739
+ *
25740
+ * function isAllowedTime(time) {
25741
+ * return time <= maxTime && time >= minTime;
25742
+ * }
25743
+ * ```
25744
+ */
25745
+
25746
+
25747
+ /**
25748
+ * @constant
25749
+ * @name millisecondsInWeek
25750
+ * @summary Milliseconds in 1 week.
25751
+ */
25752
+ const millisecondsInWeek = 604800000;
25753
+
25754
+ /**
25755
+ * @constant
25756
+ * @name millisecondsInDay
25757
+ * @summary Milliseconds in 1 day.
25758
+ */
25759
+ const millisecondsInDay = 86400000;
25760
+
25761
+ let defaultOptions = {};
25762
+
25763
+ function getDefaultOptions$1() {
25764
+ return defaultOptions;
25765
+ }
25766
+
25767
+ /**
25768
+ * The {@link startOfWeek} function options.
25769
+ */
25770
+
25771
+ /**
25772
+ * @name startOfWeek
25773
+ * @category Week Helpers
25774
+ * @summary Return the start of a week for the given date.
25775
+ *
25776
+ * @description
25777
+ * Return the start of a week for the given date.
25778
+ * The result will be in the local timezone.
25779
+ *
25780
+ * @typeParam DateType - The `Date` type, the function operates on. Gets inferred from passed arguments. Allows to use extensions like [`UTCDate`](https://github.com/date-fns/utc).
25781
+ *
25782
+ * @param date - The original date
25783
+ * @param options - An object with options
25784
+ *
25785
+ * @returns The start of a week
25786
+ *
25787
+ * @example
25788
+ * // The start of a week for 2 September 2014 11:55:00:
25789
+ * const result = startOfWeek(new Date(2014, 8, 2, 11, 55, 0))
25790
+ * //=> Sun Aug 31 2014 00:00:00
25791
+ *
25792
+ * @example
25793
+ * // If the week starts on Monday, the start of the week for 2 September 2014 11:55:00:
25794
+ * const result = startOfWeek(new Date(2014, 8, 2, 11, 55, 0), { weekStartsOn: 1 })
25795
+ * //=> Mon Sep 01 2014 00:00:00
25796
+ */
25797
+ function startOfWeek(date, options) {
25798
+ const defaultOptions = getDefaultOptions$1();
25799
+ const weekStartsOn =
25800
+ options?.weekStartsOn ??
25801
+ options?.locale?.options?.weekStartsOn ??
25802
+ defaultOptions.weekStartsOn ??
25803
+ defaultOptions.locale?.options?.weekStartsOn ??
25804
+ 0;
25805
+
25806
+ const _date = toDate$1(date);
25807
+ const day = _date.getDay();
25808
+ const diff = (day < weekStartsOn ? 7 : 0) + day - weekStartsOn;
25809
+
25810
+ _date.setDate(_date.getDate() - diff);
25811
+ _date.setHours(0, 0, 0, 0);
25812
+ return _date;
25813
+ }
25814
+
25815
+ /**
25816
+ * @name startOfISOWeek
25817
+ * @category ISO Week Helpers
25818
+ * @summary Return the start of an ISO week for the given date.
25819
+ *
25820
+ * @description
25821
+ * Return the start of an ISO week for the given date.
25822
+ * The result will be in the local timezone.
25823
+ *
25824
+ * ISO week-numbering year: http://en.wikipedia.org/wiki/ISO_week_date
25825
+ *
25826
+ * @typeParam DateType - The `Date` type, the function operates on. Gets inferred from passed arguments. Allows to use extensions like [`UTCDate`](https://github.com/date-fns/utc).
25827
+ *
25828
+ * @param date - The original date
25829
+ *
25830
+ * @returns The start of an ISO week
25831
+ *
25832
+ * @example
25833
+ * // The start of an ISO week for 2 September 2014 11:55:00:
25834
+ * const result = startOfISOWeek(new Date(2014, 8, 2, 11, 55, 0))
25835
+ * //=> Mon Sep 01 2014 00:00:00
25836
+ */
25837
+ function startOfISOWeek(date) {
25838
+ return startOfWeek(date, { weekStartsOn: 1 });
25839
+ }
25840
+
25841
+ /**
25842
+ * @name getISOWeekYear
25843
+ * @category ISO Week-Numbering Year Helpers
25844
+ * @summary Get the ISO week-numbering year of the given date.
25845
+ *
25846
+ * @description
25847
+ * Get the ISO week-numbering year of the given date,
25848
+ * which always starts 3 days before the year's first Thursday.
25849
+ *
25850
+ * ISO week-numbering year: http://en.wikipedia.org/wiki/ISO_week_date
25851
+ *
25852
+ * @typeParam DateType - The `Date` type, the function operates on. Gets inferred from passed arguments. Allows to use extensions like [`UTCDate`](https://github.com/date-fns/utc).
25853
+ *
25854
+ * @param date - The given date
25855
+ *
25856
+ * @returns The ISO week-numbering year
25857
+ *
25858
+ * @example
25859
+ * // Which ISO-week numbering year is 2 January 2005?
25860
+ * const result = getISOWeekYear(new Date(2005, 0, 2))
25861
+ * //=> 2004
25862
+ */
25863
+ function getISOWeekYear(date) {
25864
+ const _date = toDate$1(date);
25865
+ const year = _date.getFullYear();
25866
+
25867
+ const fourthOfJanuaryOfNextYear = constructFrom(date, 0);
25868
+ fourthOfJanuaryOfNextYear.setFullYear(year + 1, 0, 4);
25869
+ fourthOfJanuaryOfNextYear.setHours(0, 0, 0, 0);
25870
+ const startOfNextYear = startOfISOWeek(fourthOfJanuaryOfNextYear);
25871
+
25872
+ const fourthOfJanuaryOfThisYear = constructFrom(date, 0);
25873
+ fourthOfJanuaryOfThisYear.setFullYear(year, 0, 4);
25874
+ fourthOfJanuaryOfThisYear.setHours(0, 0, 0, 0);
25875
+ const startOfThisYear = startOfISOWeek(fourthOfJanuaryOfThisYear);
25876
+
25877
+ if (_date.getTime() >= startOfNextYear.getTime()) {
25878
+ return year + 1;
25879
+ } else if (_date.getTime() >= startOfThisYear.getTime()) {
25880
+ return year;
25881
+ } else {
25882
+ return year - 1;
25883
+ }
25884
+ }
25885
+
25886
+ /**
25887
+ * @name startOfDay
25888
+ * @category Day Helpers
25889
+ * @summary Return the start of a day for the given date.
25890
+ *
25891
+ * @description
25892
+ * Return the start of a day for the given date.
25893
+ * The result will be in the local timezone.
25894
+ *
25895
+ * @typeParam DateType - The `Date` type, the function operates on. Gets inferred from passed arguments. Allows to use extensions like [`UTCDate`](https://github.com/date-fns/utc).
25896
+ *
25897
+ * @param date - The original date
25898
+ *
25899
+ * @returns The start of a day
25900
+ *
25901
+ * @example
25902
+ * // The start of a day for 2 September 2014 11:55:00:
25903
+ * const result = startOfDay(new Date(2014, 8, 2, 11, 55, 0))
25904
+ * //=> Tue Sep 02 2014 00:00:00
25905
+ */
25906
+ function startOfDay(date) {
25907
+ const _date = toDate$1(date);
25908
+ _date.setHours(0, 0, 0, 0);
25909
+ return _date;
25910
+ }
25911
+
25912
+ /**
25913
+ * Google Chrome as of 67.0.3396.87 introduced timezones with offset that includes seconds.
25914
+ * They usually appear for dates that denote time before the timezones were introduced
25915
+ * (e.g. for 'Europe/Prague' timezone the offset is GMT+00:57:44 before 1 October 1891
25916
+ * and GMT+01:00:00 after that date)
25917
+ *
25918
+ * Date#getTimezoneOffset returns the offset in minutes and would return 57 for the example above,
25919
+ * which would lead to incorrect calculations.
25920
+ *
25921
+ * This function returns the timezone offset in milliseconds that takes seconds in account.
25922
+ */
25923
+ function getTimezoneOffsetInMilliseconds$1(date) {
25924
+ const _date = toDate$1(date);
25925
+ const utcDate = new Date(
25926
+ Date.UTC(
25927
+ _date.getFullYear(),
25928
+ _date.getMonth(),
25929
+ _date.getDate(),
25930
+ _date.getHours(),
25931
+ _date.getMinutes(),
25932
+ _date.getSeconds(),
25933
+ _date.getMilliseconds(),
25934
+ ),
25935
+ );
25936
+ utcDate.setUTCFullYear(_date.getFullYear());
25937
+ return +date - +utcDate;
25938
+ }
25939
+
25940
+ /**
25941
+ * @name differenceInCalendarDays
25942
+ * @category Day Helpers
25943
+ * @summary Get the number of calendar days between the given dates.
25944
+ *
25945
+ * @description
25946
+ * Get the number of calendar days between the given dates. This means that the times are removed
25947
+ * from the dates and then the difference in days is calculated.
25948
+ *
25949
+ * @typeParam DateType - The `Date` type, the function operates on. Gets inferred from passed arguments. Allows to use extensions like [`UTCDate`](https://github.com/date-fns/utc).
25950
+ *
25951
+ * @param dateLeft - The later date
25952
+ * @param dateRight - The earlier date
25953
+ *
25954
+ * @returns The number of calendar days
25955
+ *
25956
+ * @example
25957
+ * // How many calendar days are between
25958
+ * // 2 July 2011 23:00:00 and 2 July 2012 00:00:00?
25959
+ * const result = differenceInCalendarDays(
25960
+ * new Date(2012, 6, 2, 0, 0),
25961
+ * new Date(2011, 6, 2, 23, 0)
25962
+ * )
25963
+ * //=> 366
25964
+ * // How many calendar days are between
25965
+ * // 2 July 2011 23:59:00 and 3 July 2011 00:01:00?
25966
+ * const result = differenceInCalendarDays(
25967
+ * new Date(2011, 6, 3, 0, 1),
25968
+ * new Date(2011, 6, 2, 23, 59)
25969
+ * )
25970
+ * //=> 1
25971
+ */
25972
+ function differenceInCalendarDays(dateLeft, dateRight) {
25973
+ const startOfDayLeft = startOfDay(dateLeft);
25974
+ const startOfDayRight = startOfDay(dateRight);
25975
+
25976
+ const timestampLeft =
25977
+ +startOfDayLeft - getTimezoneOffsetInMilliseconds$1(startOfDayLeft);
25978
+ const timestampRight =
25979
+ +startOfDayRight - getTimezoneOffsetInMilliseconds$1(startOfDayRight);
25980
+
25981
+ // Round the number of days to the nearest integer because the number of
25982
+ // milliseconds in a day is not constant (e.g. it's different in the week of
25983
+ // the daylight saving time clock shift).
25984
+ return Math.round((timestampLeft - timestampRight) / millisecondsInDay);
25985
+ }
25986
+
25987
+ /**
25988
+ * @name startOfISOWeekYear
25989
+ * @category ISO Week-Numbering Year Helpers
25990
+ * @summary Return the start of an ISO week-numbering year for the given date.
25991
+ *
25992
+ * @description
25993
+ * Return the start of an ISO week-numbering year,
25994
+ * which always starts 3 days before the year's first Thursday.
25995
+ * The result will be in the local timezone.
25996
+ *
25997
+ * ISO week-numbering year: http://en.wikipedia.org/wiki/ISO_week_date
25998
+ *
25999
+ * @typeParam DateType - The `Date` type, the function operates on. Gets inferred from passed arguments. Allows to use extensions like [`UTCDate`](https://github.com/date-fns/utc).
26000
+ *
26001
+ * @param date - The original date
26002
+ *
26003
+ * @returns The start of an ISO week-numbering year
26004
+ *
26005
+ * @example
26006
+ * // The start of an ISO week-numbering year for 2 July 2005:
26007
+ * const result = startOfISOWeekYear(new Date(2005, 6, 2))
26008
+ * //=> Mon Jan 03 2005 00:00:00
26009
+ */
26010
+ function startOfISOWeekYear(date) {
26011
+ const year = getISOWeekYear(date);
26012
+ const fourthOfJanuary = constructFrom(date, 0);
26013
+ fourthOfJanuary.setFullYear(year, 0, 4);
26014
+ fourthOfJanuary.setHours(0, 0, 0, 0);
26015
+ return startOfISOWeek(fourthOfJanuary);
26016
+ }
26017
+
26018
+ /**
26019
+ * @name isDate
26020
+ * @category Common Helpers
26021
+ * @summary Is the given value a date?
26022
+ *
26023
+ * @description
26024
+ * Returns true if the given value is an instance of Date. The function works for dates transferred across iframes.
26025
+ *
26026
+ * @param value - The value to check
26027
+ *
26028
+ * @returns True if the given value is a date
26029
+ *
26030
+ * @example
26031
+ * // For a valid date:
26032
+ * const result = isDate(new Date())
26033
+ * //=> true
26034
+ *
26035
+ * @example
26036
+ * // For an invalid date:
26037
+ * const result = isDate(new Date(NaN))
26038
+ * //=> true
26039
+ *
26040
+ * @example
26041
+ * // For some value:
26042
+ * const result = isDate('2014-02-31')
26043
+ * //=> false
26044
+ *
26045
+ * @example
26046
+ * // For an object:
26047
+ * const result = isDate({})
26048
+ * //=> false
26049
+ */
26050
+ function isDate(value) {
26051
+ return (
26052
+ value instanceof Date ||
26053
+ (typeof value === "object" &&
26054
+ Object.prototype.toString.call(value) === "[object Date]")
26055
+ );
26056
+ }
26057
+
26058
+ /**
26059
+ * @name isValid
26060
+ * @category Common Helpers
26061
+ * @summary Is the given date valid?
26062
+ *
26063
+ * @description
26064
+ * Returns false if argument is Invalid Date and true otherwise.
26065
+ * Argument is converted to Date using `toDate`. See [toDate](https://date-fns.org/docs/toDate)
26066
+ * Invalid Date is a Date, whose time value is NaN.
26067
+ *
26068
+ * Time value of Date: http://es5.github.io/#x15.9.1.1
26069
+ *
26070
+ * @typeParam DateType - The `Date` type, the function operates on. Gets inferred from passed arguments. Allows to use extensions like [`UTCDate`](https://github.com/date-fns/utc).
26071
+ *
26072
+ * @param date - The date to check
26073
+ *
26074
+ * @returns The date is valid
26075
+ *
26076
+ * @example
26077
+ * // For the valid date:
26078
+ * const result = isValid(new Date(2014, 1, 31))
26079
+ * //=> true
26080
+ *
26081
+ * @example
26082
+ * // For the value, convertable into a date:
26083
+ * const result = isValid(1393804800000)
26084
+ * //=> true
26085
+ *
26086
+ * @example
26087
+ * // For the invalid date:
26088
+ * const result = isValid(new Date(''))
26089
+ * //=> false
26090
+ */
26091
+ function isValid(date) {
26092
+ if (!isDate(date) && typeof date !== "number") {
26093
+ return false;
26094
+ }
26095
+ const _date = toDate$1(date);
26096
+ return !isNaN(Number(_date));
26097
+ }
26098
+
26099
+ /**
26100
+ * @name startOfYear
26101
+ * @category Year Helpers
26102
+ * @summary Return the start of a year for the given date.
26103
+ *
26104
+ * @description
26105
+ * Return the start of a year for the given date.
26106
+ * The result will be in the local timezone.
26107
+ *
26108
+ * @typeParam DateType - The `Date` type, the function operates on. Gets inferred from passed arguments. Allows to use extensions like [`UTCDate`](https://github.com/date-fns/utc).
26109
+ *
26110
+ * @param date - The original date
26111
+ *
26112
+ * @returns The start of a year
26113
+ *
26114
+ * @example
26115
+ * // The start of a year for 2 September 2014 11:55:00:
26116
+ * const result = startOfYear(new Date(2014, 8, 2, 11, 55, 00))
26117
+ * //=> Wed Jan 01 2014 00:00:00
26118
+ */
26119
+ function startOfYear(date) {
26120
+ const cleanDate = toDate$1(date);
26121
+ const _date = constructFrom(date, 0);
26122
+ _date.setFullYear(cleanDate.getFullYear(), 0, 1);
26123
+ _date.setHours(0, 0, 0, 0);
26124
+ return _date;
26125
+ }
26126
+
25624
26127
  const formatDistanceLocale = {
25625
26128
  lessThanXSeconds: {
25626
26129
  one: "less than a second",
@@ -26263,267 +26766,6 @@ const enUS = {
26263
26766
  },
26264
26767
  };
26265
26768
 
26266
- let defaultOptions = {};
26267
-
26268
- function getDefaultOptions$1() {
26269
- return defaultOptions;
26270
- }
26271
-
26272
- /**
26273
- * @module constants
26274
- * @summary Useful constants
26275
- * @description
26276
- * Collection of useful date constants.
26277
- *
26278
- * The constants could be imported from `date-fns/constants`:
26279
- *
26280
- * ```ts
26281
- * import { maxTime, minTime } from "./constants/date-fns/constants";
26282
- *
26283
- * function isAllowedTime(time) {
26284
- * return time <= maxTime && time >= minTime;
26285
- * }
26286
- * ```
26287
- */
26288
-
26289
-
26290
- /**
26291
- * @constant
26292
- * @name millisecondsInWeek
26293
- * @summary Milliseconds in 1 week.
26294
- */
26295
- const millisecondsInWeek = 604800000;
26296
-
26297
- /**
26298
- * @constant
26299
- * @name millisecondsInDay
26300
- * @summary Milliseconds in 1 day.
26301
- */
26302
- const millisecondsInDay = 86400000;
26303
-
26304
- /**
26305
- * @name toDate
26306
- * @category Common Helpers
26307
- * @summary Convert the given argument to an instance of Date.
26308
- *
26309
- * @description
26310
- * Convert the given argument to an instance of Date.
26311
- *
26312
- * If the argument is an instance of Date, the function returns its clone.
26313
- *
26314
- * If the argument is a number, it is treated as a timestamp.
26315
- *
26316
- * If the argument is none of the above, the function returns Invalid Date.
26317
- *
26318
- * **Note**: *all* Date arguments passed to any *date-fns* function is processed by `toDate`.
26319
- *
26320
- * @typeParam DateType - The `Date` type, the function operates on. Gets inferred from passed arguments. Allows to use extensions like [`UTCDate`](https://github.com/date-fns/utc).
26321
- *
26322
- * @param argument - The value to convert
26323
- *
26324
- * @returns The parsed date in the local time zone
26325
- *
26326
- * @example
26327
- * // Clone the date:
26328
- * const result = toDate(new Date(2014, 1, 11, 11, 30, 30))
26329
- * //=> Tue Feb 11 2014 11:30:30
26330
- *
26331
- * @example
26332
- * // Convert the timestamp to date:
26333
- * const result = toDate(1392098430000)
26334
- * //=> Tue Feb 11 2014 11:30:30
26335
- */
26336
- function toDate$1(argument) {
26337
- const argStr = Object.prototype.toString.call(argument);
26338
-
26339
- // Clone the date
26340
- if (
26341
- argument instanceof Date ||
26342
- (typeof argument === "object" && argStr === "[object Date]")
26343
- ) {
26344
- // Prevent the date to lose the milliseconds when passed to new Date() in IE10
26345
- return new argument.constructor(+argument);
26346
- } else if (
26347
- typeof argument === "number" ||
26348
- argStr === "[object Number]" ||
26349
- typeof argument === "string" ||
26350
- argStr === "[object String]"
26351
- ) {
26352
- // TODO: Can we get rid of as?
26353
- return new Date(argument);
26354
- } else {
26355
- // TODO: Can we get rid of as?
26356
- return new Date(NaN);
26357
- }
26358
- }
26359
-
26360
- /**
26361
- * @name startOfDay
26362
- * @category Day Helpers
26363
- * @summary Return the start of a day for the given date.
26364
- *
26365
- * @description
26366
- * Return the start of a day for the given date.
26367
- * The result will be in the local timezone.
26368
- *
26369
- * @typeParam DateType - The `Date` type, the function operates on. Gets inferred from passed arguments. Allows to use extensions like [`UTCDate`](https://github.com/date-fns/utc).
26370
- *
26371
- * @param date - The original date
26372
- *
26373
- * @returns The start of a day
26374
- *
26375
- * @example
26376
- * // The start of a day for 2 September 2014 11:55:00:
26377
- * const result = startOfDay(new Date(2014, 8, 2, 11, 55, 0))
26378
- * //=> Tue Sep 02 2014 00:00:00
26379
- */
26380
- function startOfDay(date) {
26381
- const _date = toDate$1(date);
26382
- _date.setHours(0, 0, 0, 0);
26383
- return _date;
26384
- }
26385
-
26386
- /**
26387
- * Google Chrome as of 67.0.3396.87 introduced timezones with offset that includes seconds.
26388
- * They usually appear for dates that denote time before the timezones were introduced
26389
- * (e.g. for 'Europe/Prague' timezone the offset is GMT+00:57:44 before 1 October 1891
26390
- * and GMT+01:00:00 after that date)
26391
- *
26392
- * Date#getTimezoneOffset returns the offset in minutes and would return 57 for the example above,
26393
- * which would lead to incorrect calculations.
26394
- *
26395
- * This function returns the timezone offset in milliseconds that takes seconds in account.
26396
- */
26397
- function getTimezoneOffsetInMilliseconds$1(date) {
26398
- const _date = toDate$1(date);
26399
- const utcDate = new Date(
26400
- Date.UTC(
26401
- _date.getFullYear(),
26402
- _date.getMonth(),
26403
- _date.getDate(),
26404
- _date.getHours(),
26405
- _date.getMinutes(),
26406
- _date.getSeconds(),
26407
- _date.getMilliseconds(),
26408
- ),
26409
- );
26410
- utcDate.setUTCFullYear(_date.getFullYear());
26411
- return +date - +utcDate;
26412
- }
26413
-
26414
- /**
26415
- * @name differenceInCalendarDays
26416
- * @category Day Helpers
26417
- * @summary Get the number of calendar days between the given dates.
26418
- *
26419
- * @description
26420
- * Get the number of calendar days between the given dates. This means that the times are removed
26421
- * from the dates and then the difference in days is calculated.
26422
- *
26423
- * @typeParam DateType - The `Date` type, the function operates on. Gets inferred from passed arguments. Allows to use extensions like [`UTCDate`](https://github.com/date-fns/utc).
26424
- *
26425
- * @param dateLeft - The later date
26426
- * @param dateRight - The earlier date
26427
- *
26428
- * @returns The number of calendar days
26429
- *
26430
- * @example
26431
- * // How many calendar days are between
26432
- * // 2 July 2011 23:00:00 and 2 July 2012 00:00:00?
26433
- * const result = differenceInCalendarDays(
26434
- * new Date(2012, 6, 2, 0, 0),
26435
- * new Date(2011, 6, 2, 23, 0)
26436
- * )
26437
- * //=> 366
26438
- * // How many calendar days are between
26439
- * // 2 July 2011 23:59:00 and 3 July 2011 00:01:00?
26440
- * const result = differenceInCalendarDays(
26441
- * new Date(2011, 6, 3, 0, 1),
26442
- * new Date(2011, 6, 2, 23, 59)
26443
- * )
26444
- * //=> 1
26445
- */
26446
- function differenceInCalendarDays(dateLeft, dateRight) {
26447
- const startOfDayLeft = startOfDay(dateLeft);
26448
- const startOfDayRight = startOfDay(dateRight);
26449
-
26450
- const timestampLeft =
26451
- +startOfDayLeft - getTimezoneOffsetInMilliseconds$1(startOfDayLeft);
26452
- const timestampRight =
26453
- +startOfDayRight - getTimezoneOffsetInMilliseconds$1(startOfDayRight);
26454
-
26455
- // Round the number of days to the nearest integer because the number of
26456
- // milliseconds in a day is not constant (e.g. it's different in the week of
26457
- // the daylight saving time clock shift).
26458
- return Math.round((timestampLeft - timestampRight) / millisecondsInDay);
26459
- }
26460
-
26461
- /**
26462
- * @name constructFrom
26463
- * @category Generic Helpers
26464
- * @summary Constructs a date using the reference date and the value
26465
- *
26466
- * @description
26467
- * The function constructs a new date using the constructor from the reference
26468
- * date and the given value. It helps to build generic functions that accept
26469
- * date extensions.
26470
- *
26471
- * It defaults to `Date` if the passed reference date is a number or a string.
26472
- *
26473
- * @typeParam DateType - The `Date` type, the function operates on. Gets inferred from passed arguments. Allows to use extensions like [`UTCDate`](https://github.com/date-fns/utc).
26474
- *
26475
- * @param date - The reference date to take constructor from
26476
- * @param value - The value to create the date
26477
- *
26478
- * @returns Date initialized using the given date and value
26479
- *
26480
- * @example
26481
- * import { constructFrom } from 'date-fns'
26482
- *
26483
- * // A function that clones a date preserving the original type
26484
- * function cloneDate<DateType extends Date(date: DateType): DateType {
26485
- * return constructFrom(
26486
- * date, // Use contrustor from the given date
26487
- * date.getTime() // Use the date value to create a new date
26488
- * )
26489
- * }
26490
- */
26491
- function constructFrom(date, value) {
26492
- if (date instanceof Date) {
26493
- return new date.constructor(value);
26494
- } else {
26495
- return new Date(value);
26496
- }
26497
- }
26498
-
26499
- /**
26500
- * @name startOfYear
26501
- * @category Year Helpers
26502
- * @summary Return the start of a year for the given date.
26503
- *
26504
- * @description
26505
- * Return the start of a year for the given date.
26506
- * The result will be in the local timezone.
26507
- *
26508
- * @typeParam DateType - The `Date` type, the function operates on. Gets inferred from passed arguments. Allows to use extensions like [`UTCDate`](https://github.com/date-fns/utc).
26509
- *
26510
- * @param date - The original date
26511
- *
26512
- * @returns The start of a year
26513
- *
26514
- * @example
26515
- * // The start of a year for 2 September 2014 11:55:00:
26516
- * const result = startOfYear(new Date(2014, 8, 2, 11, 55, 00))
26517
- * //=> Wed Jan 01 2014 00:00:00
26518
- */
26519
- function startOfYear(date) {
26520
- const cleanDate = toDate$1(date);
26521
- const _date = constructFrom(date, 0);
26522
- _date.setFullYear(cleanDate.getFullYear(), 0, 1);
26523
- _date.setHours(0, 0, 0, 0);
26524
- return _date;
26525
- }
26526
-
26527
26769
  /**
26528
26770
  * @name getDayOfYear
26529
26771
  * @category Day Helpers
@@ -26550,156 +26792,6 @@ function getDayOfYear(date) {
26550
26792
  return dayOfYear;
26551
26793
  }
26552
26794
 
26553
- /**
26554
- * The {@link startOfWeek} function options.
26555
- */
26556
-
26557
- /**
26558
- * @name startOfWeek
26559
- * @category Week Helpers
26560
- * @summary Return the start of a week for the given date.
26561
- *
26562
- * @description
26563
- * Return the start of a week for the given date.
26564
- * The result will be in the local timezone.
26565
- *
26566
- * @typeParam DateType - The `Date` type, the function operates on. Gets inferred from passed arguments. Allows to use extensions like [`UTCDate`](https://github.com/date-fns/utc).
26567
- *
26568
- * @param date - The original date
26569
- * @param options - An object with options
26570
- *
26571
- * @returns The start of a week
26572
- *
26573
- * @example
26574
- * // The start of a week for 2 September 2014 11:55:00:
26575
- * const result = startOfWeek(new Date(2014, 8, 2, 11, 55, 0))
26576
- * //=> Sun Aug 31 2014 00:00:00
26577
- *
26578
- * @example
26579
- * // If the week starts on Monday, the start of the week for 2 September 2014 11:55:00:
26580
- * const result = startOfWeek(new Date(2014, 8, 2, 11, 55, 0), { weekStartsOn: 1 })
26581
- * //=> Mon Sep 01 2014 00:00:00
26582
- */
26583
- function startOfWeek(date, options) {
26584
- const defaultOptions = getDefaultOptions$1();
26585
- const weekStartsOn =
26586
- options?.weekStartsOn ??
26587
- options?.locale?.options?.weekStartsOn ??
26588
- defaultOptions.weekStartsOn ??
26589
- defaultOptions.locale?.options?.weekStartsOn ??
26590
- 0;
26591
-
26592
- const _date = toDate$1(date);
26593
- const day = _date.getDay();
26594
- const diff = (day < weekStartsOn ? 7 : 0) + day - weekStartsOn;
26595
-
26596
- _date.setDate(_date.getDate() - diff);
26597
- _date.setHours(0, 0, 0, 0);
26598
- return _date;
26599
- }
26600
-
26601
- /**
26602
- * @name startOfISOWeek
26603
- * @category ISO Week Helpers
26604
- * @summary Return the start of an ISO week for the given date.
26605
- *
26606
- * @description
26607
- * Return the start of an ISO week for the given date.
26608
- * The result will be in the local timezone.
26609
- *
26610
- * ISO week-numbering year: http://en.wikipedia.org/wiki/ISO_week_date
26611
- *
26612
- * @typeParam DateType - The `Date` type, the function operates on. Gets inferred from passed arguments. Allows to use extensions like [`UTCDate`](https://github.com/date-fns/utc).
26613
- *
26614
- * @param date - The original date
26615
- *
26616
- * @returns The start of an ISO week
26617
- *
26618
- * @example
26619
- * // The start of an ISO week for 2 September 2014 11:55:00:
26620
- * const result = startOfISOWeek(new Date(2014, 8, 2, 11, 55, 0))
26621
- * //=> Mon Sep 01 2014 00:00:00
26622
- */
26623
- function startOfISOWeek(date) {
26624
- return startOfWeek(date, { weekStartsOn: 1 });
26625
- }
26626
-
26627
- /**
26628
- * @name getISOWeekYear
26629
- * @category ISO Week-Numbering Year Helpers
26630
- * @summary Get the ISO week-numbering year of the given date.
26631
- *
26632
- * @description
26633
- * Get the ISO week-numbering year of the given date,
26634
- * which always starts 3 days before the year's first Thursday.
26635
- *
26636
- * ISO week-numbering year: http://en.wikipedia.org/wiki/ISO_week_date
26637
- *
26638
- * @typeParam DateType - The `Date` type, the function operates on. Gets inferred from passed arguments. Allows to use extensions like [`UTCDate`](https://github.com/date-fns/utc).
26639
- *
26640
- * @param date - The given date
26641
- *
26642
- * @returns The ISO week-numbering year
26643
- *
26644
- * @example
26645
- * // Which ISO-week numbering year is 2 January 2005?
26646
- * const result = getISOWeekYear(new Date(2005, 0, 2))
26647
- * //=> 2004
26648
- */
26649
- function getISOWeekYear(date) {
26650
- const _date = toDate$1(date);
26651
- const year = _date.getFullYear();
26652
-
26653
- const fourthOfJanuaryOfNextYear = constructFrom(date, 0);
26654
- fourthOfJanuaryOfNextYear.setFullYear(year + 1, 0, 4);
26655
- fourthOfJanuaryOfNextYear.setHours(0, 0, 0, 0);
26656
- const startOfNextYear = startOfISOWeek(fourthOfJanuaryOfNextYear);
26657
-
26658
- const fourthOfJanuaryOfThisYear = constructFrom(date, 0);
26659
- fourthOfJanuaryOfThisYear.setFullYear(year, 0, 4);
26660
- fourthOfJanuaryOfThisYear.setHours(0, 0, 0, 0);
26661
- const startOfThisYear = startOfISOWeek(fourthOfJanuaryOfThisYear);
26662
-
26663
- if (_date.getTime() >= startOfNextYear.getTime()) {
26664
- return year + 1;
26665
- } else if (_date.getTime() >= startOfThisYear.getTime()) {
26666
- return year;
26667
- } else {
26668
- return year - 1;
26669
- }
26670
- }
26671
-
26672
- /**
26673
- * @name startOfISOWeekYear
26674
- * @category ISO Week-Numbering Year Helpers
26675
- * @summary Return the start of an ISO week-numbering year for the given date.
26676
- *
26677
- * @description
26678
- * Return the start of an ISO week-numbering year,
26679
- * which always starts 3 days before the year's first Thursday.
26680
- * The result will be in the local timezone.
26681
- *
26682
- * ISO week-numbering year: http://en.wikipedia.org/wiki/ISO_week_date
26683
- *
26684
- * @typeParam DateType - The `Date` type, the function operates on. Gets inferred from passed arguments. Allows to use extensions like [`UTCDate`](https://github.com/date-fns/utc).
26685
- *
26686
- * @param date - The original date
26687
- *
26688
- * @returns The start of an ISO week-numbering year
26689
- *
26690
- * @example
26691
- * // The start of an ISO week-numbering year for 2 July 2005:
26692
- * const result = startOfISOWeekYear(new Date(2005, 6, 2))
26693
- * //=> Mon Jan 03 2005 00:00:00
26694
- */
26695
- function startOfISOWeekYear(date) {
26696
- const year = getISOWeekYear(date);
26697
- const fourthOfJanuary = constructFrom(date, 0);
26698
- fourthOfJanuary.setFullYear(year, 0, 4);
26699
- fourthOfJanuary.setHours(0, 0, 0, 0);
26700
- return startOfISOWeek(fourthOfJanuary);
26701
- }
26702
-
26703
26795
  /**
26704
26796
  * @name getISOWeek
26705
26797
  * @category ISO Week Helpers
@@ -27863,87 +27955,6 @@ function message(token, format, input) {
27863
27955
  return `Use \`${token.toLowerCase()}\` instead of \`${token}\` (in \`${format}\`) for formatting ${subject} to the input \`${input}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`;
27864
27956
  }
27865
27957
 
27866
- /**
27867
- * @name isDate
27868
- * @category Common Helpers
27869
- * @summary Is the given value a date?
27870
- *
27871
- * @description
27872
- * Returns true if the given value is an instance of Date. The function works for dates transferred across iframes.
27873
- *
27874
- * @param value - The value to check
27875
- *
27876
- * @returns True if the given value is a date
27877
- *
27878
- * @example
27879
- * // For a valid date:
27880
- * const result = isDate(new Date())
27881
- * //=> true
27882
- *
27883
- * @example
27884
- * // For an invalid date:
27885
- * const result = isDate(new Date(NaN))
27886
- * //=> true
27887
- *
27888
- * @example
27889
- * // For some value:
27890
- * const result = isDate('2014-02-31')
27891
- * //=> false
27892
- *
27893
- * @example
27894
- * // For an object:
27895
- * const result = isDate({})
27896
- * //=> false
27897
- */
27898
- function isDate(value) {
27899
- return (
27900
- value instanceof Date ||
27901
- (typeof value === "object" &&
27902
- Object.prototype.toString.call(value) === "[object Date]")
27903
- );
27904
- }
27905
-
27906
- /**
27907
- * @name isValid
27908
- * @category Common Helpers
27909
- * @summary Is the given date valid?
27910
- *
27911
- * @description
27912
- * Returns false if argument is Invalid Date and true otherwise.
27913
- * Argument is converted to Date using `toDate`. See [toDate](https://date-fns.org/docs/toDate)
27914
- * Invalid Date is a Date, whose time value is NaN.
27915
- *
27916
- * Time value of Date: http://es5.github.io/#x15.9.1.1
27917
- *
27918
- * @typeParam DateType - The `Date` type, the function operates on. Gets inferred from passed arguments. Allows to use extensions like [`UTCDate`](https://github.com/date-fns/utc).
27919
- *
27920
- * @param date - The date to check
27921
- *
27922
- * @returns The date is valid
27923
- *
27924
- * @example
27925
- * // For the valid date:
27926
- * const result = isValid(new Date(2014, 1, 31))
27927
- * //=> true
27928
- *
27929
- * @example
27930
- * // For the value, convertable into a date:
27931
- * const result = isValid(1393804800000)
27932
- * //=> true
27933
- *
27934
- * @example
27935
- * // For the invalid date:
27936
- * const result = isValid(new Date(''))
27937
- * //=> false
27938
- */
27939
- function isValid(date) {
27940
- if (!isDate(date) && typeof date !== "number") {
27941
- return false;
27942
- }
27943
- const _date = toDate$1(date);
27944
- return !isNaN(Number(_date));
27945
- }
27946
-
27947
27958
  // This RegExp consists of three parts separated by `|`:
27948
27959
  // - [yYQqMLwIdDecihHKkms]o matches any available ordinal number token
27949
27960
  // (one of the certain letters followed by `o`)
@@ -29452,6 +29463,40 @@ function format$2(date, formatStr, options = {}) {
29452
29463
  return format$3(date, formatStr, options);
29453
29464
  }
29454
29465
 
29466
+ /**
29467
+ * @name toZonedTime
29468
+ * @category Time Zone Helpers
29469
+ * @summary Get a date/time representing local time in a given time zone from the UTC date
29470
+ *
29471
+ * @description
29472
+ * Returns a date instance with values representing the local time in the time zone
29473
+ * specified of the UTC time from the date provided. In other words, when the new date
29474
+ * is formatted it will show the equivalent hours in the target time zone regardless
29475
+ * of the current system time zone.
29476
+ *
29477
+ * @param date the date with the relevant UTC time
29478
+ * @param timeZone the time zone to get local time for, can be an offset or IANA time zone
29479
+ * @param options the object with options. See [Options]{@link https://date-fns.org/docs/Options}
29480
+ * @param {0|1|2} [options.additionalDigits=2] - passed to `toDate`. See [toDate]{@link https://date-fns.org/docs/toDate}
29481
+ *
29482
+ * @throws {TypeError} 2 arguments required
29483
+ * @throws {RangeError} `options.additionalDigits` must be 0, 1 or 2
29484
+ *
29485
+ * @example
29486
+ * // In June 10am UTC is 6am in New York (-04:00)
29487
+ * const result = toZonedTime('2014-06-25T10:00:00.000Z', 'America/New_York')
29488
+ * //=> Jun 25 2014 06:00:00
29489
+ */
29490
+ function toZonedTime(date, timeZone, options) {
29491
+ date = toDate(date, options);
29492
+ const offsetMilliseconds = tzParseTimezone(timeZone, date, true);
29493
+ const d = new Date(date.getTime() - offsetMilliseconds);
29494
+ const resultDate = new Date(0);
29495
+ resultDate.setFullYear(d.getUTCFullYear(), d.getUTCMonth(), d.getUTCDate());
29496
+ resultDate.setHours(d.getUTCHours(), d.getUTCMinutes(), d.getUTCSeconds(), d.getUTCMilliseconds());
29497
+ return resultDate;
29498
+ }
29499
+
29455
29500
  const TimePicker = ({
29456
29501
  value,
29457
29502
  onChange,
@@ -29739,21 +29784,6 @@ const TimePicker = ({
29739
29784
  });
29740
29785
  };
29741
29786
 
29742
- const handleTimeZoneChange = timeZone => {
29743
- const currentDate = new Date();
29744
- return new Intl.DateTimeFormat('en-US', {
29745
- timeZone,
29746
- weekday: 'long',
29747
- year: 'numeric',
29748
- month: 'short',
29749
- day: '2-digit',
29750
- hour: '2-digit',
29751
- minute: '2-digit',
29752
- second: '2-digit',
29753
- hour12: true
29754
- }).format(currentDate);
29755
- };
29756
-
29757
29787
  const CustomDatePicker = /*#__PURE__*/React.forwardRef(({
29758
29788
  minDate,
29759
29789
  maxDate,
@@ -29792,7 +29822,8 @@ const CustomDatePicker = /*#__PURE__*/React.forwardRef(({
29792
29822
  const pickerRef = React.useRef(null); // Ref to track the picker
29793
29823
  const containerRef = React.useRef(null);
29794
29824
  const mergedRef = useMergeRefs(pickerRef, ref);
29795
- const todayInTimeZone = new Date(handleTimeZoneChange(timezone));
29825
+ const todayInTimeZone = startOfDay(toZonedTime(new Date(), timezone));
29826
+ const systemTimeZone = Intl.DateTimeFormat().resolvedOptions().timeZone;
29796
29827
  React.useEffect(() => {
29797
29828
  selectedDateRef.current = selectedDate;
29798
29829
  }, [selectedDate]);
@@ -30136,7 +30167,7 @@ const CustomDatePicker = /*#__PURE__*/React.forwardRef(({
30136
30167
  before: new Date(minDate ? minDate : ''),
30137
30168
  after: new Date(maxDate ? maxDate : '')
30138
30169
  }],
30139
- timeZone: timezone,
30170
+ timeZone: systemTimeZone,
30140
30171
  components: {
30141
30172
  CaptionLabel: props => jsxRuntime.jsx(CustomCaption, {
30142
30173
  ...props
@@ -31612,7 +31643,8 @@ const DashboardDonutChart = ({
31612
31643
  onSelectedStatus = _value => {},
31613
31644
  selectedStatusKey = '',
31614
31645
  setSelectedStatusKey = _selectedStatusKey => {},
31615
- isOnClick = false
31646
+ isOnClick = false,
31647
+ zIndex = 99
31616
31648
  }) => {
31617
31649
  const [hoveredItemIndex, setHoveredItemIndex] = React.useState(null);
31618
31650
  const [hoveredVersion, setHoveredVersion] = React.useState(null);
@@ -32312,6 +32344,9 @@ const DashboardDonutChart = ({
32312
32344
  },
32313
32345
  children: [jsxRuntime.jsxs("div", {
32314
32346
  className: "ff-dashboard-donut-chart-svg-container",
32347
+ style: {
32348
+ zIndex: zIndex
32349
+ },
32315
32350
  children: [jsxRuntime.jsx("svg", {
32316
32351
  width: DONUT_SVG_SIZE,
32317
32352
  height: DONUT_SVG_SIZE,
@@ -37600,8 +37635,8 @@ function getOffsetRect(element) {
37600
37635
  return {
37601
37636
  width: element.offsetWidth,
37602
37637
  height: element.offsetHeight,
37603
- left: element.offsetLeft,
37604
- top: element.offsetTop
37638
+ left: element.offsetLeft - 1,
37639
+ top: element.offsetTop - 1
37605
37640
  };
37606
37641
  }
37607
37642
  /** Write given data to clipboard with given event */
@@ -37620,29 +37655,187 @@ function readTextFromClipboard(event) {
37620
37655
  }
37621
37656
  return '';
37622
37657
  }
37658
+ function getSortedNumericKeys(dataObject) {
37659
+ return Object.keys(dataObject).map(keyString => Number(keyString)).sort((firstKey, secondKey) => firstKey - secondKey);
37660
+ }
37661
+ function insertColumnDimension(columns, insertIndex, newWidth) {
37662
+ const updated = {};
37663
+ const keys = getSortedNumericKeys(columns);
37664
+ let shiftWidth = 0;
37665
+ let inserted = false;
37666
+ for (let i = 0; i < keys.length; i++) {
37667
+ // Insert before current index
37668
+ if (i === insertIndex) {
37669
+ const prev = updated[i - 1];
37670
+ const newLeft = prev ? prev.left + prev.width : 0;
37671
+ updated[i] = {
37672
+ left: newLeft,
37673
+ width: newWidth
37674
+ };
37675
+ shiftWidth = newWidth;
37676
+ inserted = true;
37677
+ }
37678
+ const oldKey = keys[i];
37679
+ if (oldKey === undefined) continue;
37680
+ const col = columns[oldKey];
37681
+ if (!col) continue;
37682
+ const newKey = inserted ? i + 1 : i;
37683
+ const newLeft = inserted ? col.left + shiftWidth : col.left;
37684
+ updated[newKey] = {
37685
+ ...col,
37686
+ left: newLeft
37687
+ };
37688
+ }
37689
+ // If inserting at the end
37690
+ if (!inserted) {
37691
+ const lastKey = keys.length > 0 ? keys[keys.length - 1] : undefined;
37692
+ const last = lastKey !== undefined ? updated[lastKey] : undefined;
37693
+ const newLeft = last ? last.left + last.width : 0;
37694
+ updated[insertIndex] = {
37695
+ left: newLeft,
37696
+ width: newWidth
37697
+ };
37698
+ }
37699
+ return updated;
37700
+ }
37701
+ function insertRowDimension(rows, insertIndex, newHeight) {
37702
+ const updated = {};
37703
+ const keys = getSortedNumericKeys(rows);
37704
+ let shiftHeight = 0;
37705
+ let inserted = false;
37706
+ for (let i = 0; i < keys.length; i++) {
37707
+ // Insert before current index
37708
+ if (i === insertIndex) {
37709
+ const prev = updated[i - 1];
37710
+ const newTop = prev ? prev.top + prev.height : 0;
37711
+ updated[i] = {
37712
+ top: newTop,
37713
+ height: newHeight
37714
+ };
37715
+ shiftHeight = newHeight;
37716
+ inserted = true;
37717
+ }
37718
+ const oldKey = keys[i];
37719
+ if (oldKey === undefined) continue;
37720
+ const row = rows[oldKey];
37721
+ if (!row) continue;
37722
+ const newKey = inserted ? i + 1 : i;
37723
+ const newTop = inserted ? row.top + shiftHeight : row.top;
37724
+ updated[newKey] = {
37725
+ ...row,
37726
+ top: newTop
37727
+ };
37728
+ }
37729
+ // If inserting at the end
37730
+ if (!inserted) {
37731
+ const lastKey = keys.length > 0 ? keys[keys.length - 1] : undefined;
37732
+ const last = lastKey !== undefined ? updated[lastKey] : undefined;
37733
+ const newTop = last ? last.top + last.height : 0;
37734
+ updated[insertIndex] = {
37735
+ top: newTop,
37736
+ height: newHeight
37737
+ };
37738
+ }
37739
+ return updated;
37740
+ }
37741
+ function deleteRowDimension(rows, deleteIndex) {
37742
+ const updated = {};
37743
+ const keys = getSortedNumericKeys(rows);
37744
+ let currentTop = 0;
37745
+ for (let i = 0, newIndex = 0; i < keys.length; i++) {
37746
+ if (keys[i] === deleteIndex) {
37747
+ continue;
37748
+ }
37749
+ const key = keys[i];
37750
+ if (key === undefined) continue;
37751
+ const row = rows[key];
37752
+ if (!row) continue;
37753
+ updated[newIndex] = {
37754
+ top: currentTop === 0 ? row.top : currentTop,
37755
+ height: row.height
37756
+ };
37757
+ if (typeof updated[newIndex]?.top === 'number') {
37758
+ currentTop = (updated[newIndex]?.top ?? 0) + row.height;
37759
+ }
37760
+ newIndex++;
37761
+ }
37762
+ return updated;
37763
+ }
37764
+ function deleteColumnDimension(columns, deleteIndex) {
37765
+ const updated = {};
37766
+ const keys = getSortedNumericKeys(columns);
37767
+ let currentLeft = 0;
37768
+ for (let i = 0, newIndex = 0; i < keys.length; i++) {
37769
+ if (keys[i] === deleteIndex) {
37770
+ continue;
37771
+ }
37772
+ const key = keys[i];
37773
+ if (key === undefined) continue;
37774
+ const col = columns[key];
37775
+ if (!col) continue;
37776
+ updated[newIndex] = {
37777
+ left: currentLeft === 0 ? col.left : currentLeft,
37778
+ width: col.width
37779
+ };
37780
+ if (typeof updated[newIndex]?.left === 'number') {
37781
+ currentLeft = (updated[newIndex]?.left ?? 0) + col.width;
37782
+ }
37783
+ newIndex++;
37784
+ }
37785
+ return updated;
37786
+ }
37623
37787
  /** Get the dimensions of cell at point from state */
37624
- function getCellDimensions(point, rowDimensions, columnDimensions) {
37625
- const cellRowDimensions = rowDimensions && rowDimensions[point.row];
37626
- const cellColumnDimensions = columnDimensions && columnDimensions[point.column];
37627
- return cellRowDimensions && cellColumnDimensions && {
37628
- ...cellRowDimensions,
37629
- ...cellColumnDimensions
37788
+ function getCellDimensions(point, rowDimensions, columnDimensions, visibleRange) {
37789
+ const DEFAULT_ROW_HEIGHT = 32;
37790
+ const DEFAULT_COLUMN_WIDTH = 100;
37791
+ const HEADER_HEIGHT = 32;
37792
+ const ROW_INDICATOR_WIDTH = 60;
37793
+ let top = HEADER_HEIGHT;
37794
+ for (let r = 0; r < point.row; r++) {
37795
+ top += (rowDimensions?.[r] ? rowDimensions?.[r]?.height : DEFAULT_ROW_HEIGHT) || DEFAULT_ROW_HEIGHT;
37796
+ }
37797
+ const height = (rowDimensions?.[point.row] ? rowDimensions?.[point.row]?.height : DEFAULT_ROW_HEIGHT) || DEFAULT_ROW_HEIGHT;
37798
+ if (visibleRange && rowDimensions && rowDimensions[visibleRange.start]) {
37799
+ const visibleTop = rowDimensions[visibleRange.start]?.top || HEADER_HEIGHT;
37800
+ top = top - visibleTop + HEADER_HEIGHT;
37801
+ }
37802
+ let left = ROW_INDICATOR_WIDTH;
37803
+ for (let c = 0; c < point.column; c++) {
37804
+ left += (columnDimensions?.[c] ? columnDimensions?.[c]?.width : DEFAULT_COLUMN_WIDTH) || DEFAULT_COLUMN_WIDTH;
37805
+ }
37806
+ const width = (columnDimensions?.[point.column] ? columnDimensions?.[point.column]?.width : DEFAULT_COLUMN_WIDTH) || DEFAULT_COLUMN_WIDTH;
37807
+ return {
37808
+ top,
37809
+ height,
37810
+ left,
37811
+ width
37630
37812
  };
37631
37813
  }
37632
37814
  /** Get the dimensions of customized cell at point from state */
37633
- function getScrollCellDimensions(point, rowDimensions, columnDimensions) {
37634
- let cellRowDimensions = rowDimensions && rowDimensions[point.row];
37635
- let initialDimensions = rowDimensions && rowDimensions[0];
37636
- if (rowDimensions && initialDimensions) {
37637
- cellRowDimensions = {
37638
- top: 4000,
37639
- height: initialDimensions?.height
37640
- }; //fixed height
37641
- }
37642
- const cellColumnDimensions = columnDimensions && columnDimensions[point.column];
37643
- return cellRowDimensions && cellColumnDimensions && {
37644
- ...cellRowDimensions,
37645
- ...cellColumnDimensions
37815
+ function getScrollCellDimensions(point, rowDimensions, columnDimensions, visibleRange) {
37816
+ const DEFAULT_ROW_HEIGHT = 32;
37817
+ const DEFAULT_COLUMN_WIDTH = 100;
37818
+ const HEADER_HEIGHT = 32;
37819
+ const ROW_INDICATOR_WIDTH = 60;
37820
+ let top = HEADER_HEIGHT;
37821
+ for (let r = 0; r < point.row; r++) {
37822
+ top += (rowDimensions?.[r] ? rowDimensions?.[r]?.height : DEFAULT_ROW_HEIGHT) || DEFAULT_ROW_HEIGHT;
37823
+ }
37824
+ const height = (rowDimensions?.[point.row] ? rowDimensions?.[point.row]?.height : DEFAULT_ROW_HEIGHT) || DEFAULT_ROW_HEIGHT;
37825
+ if (visibleRange && rowDimensions && rowDimensions[visibleRange.start]) {
37826
+ const visibleTop = rowDimensions[visibleRange.start]?.top || HEADER_HEIGHT;
37827
+ top = top - visibleTop + HEADER_HEIGHT;
37828
+ }
37829
+ let left = ROW_INDICATOR_WIDTH;
37830
+ for (let c = 0; c < point.column; c++) {
37831
+ left += (columnDimensions?.[c] ? columnDimensions?.[c]?.width : DEFAULT_COLUMN_WIDTH) || DEFAULT_COLUMN_WIDTH;
37832
+ }
37833
+ const width = (columnDimensions?.[point.column] ? columnDimensions?.[point.column]?.width : DEFAULT_COLUMN_WIDTH) || DEFAULT_COLUMN_WIDTH;
37834
+ return {
37835
+ top,
37836
+ height,
37837
+ left,
37838
+ width
37646
37839
  };
37647
37840
  }
37648
37841
  /** Get the dimensions of a range of cells */
@@ -37656,14 +37849,24 @@ function getRangeDimensions(rowDimensions, columnDimensions, range) {
37656
37849
  width: endDimensions.left + endDimensions.width - startDimensions.left,
37657
37850
  height: endDimensions.top + endDimensions.height - startDimensions.top,
37658
37851
  top: startDimensions.top + 1,
37659
- // Note: +1 Because of Active cell width is 2px
37660
- left: startDimensions.left + 1 // Note: +1 Because of Active cell width is 2px
37852
+ left: startDimensions.left + 1
37661
37853
  };
37662
37854
  }
37663
37855
  /** Get the dimensions of selected */
37664
- function getSelectedDimensions(rowDimensions, columnDimensions, data, selected) {
37856
+ function getSelectedDimensions(rowDimensions, columnDimensions, data, selected, visibleRange) {
37665
37857
  const range = selected.toRange(data);
37666
- return range ? getRangeDimensions(rowDimensions, columnDimensions, range) : undefined;
37858
+ if (!range) return undefined;
37859
+ let startDimensions = getCellDimensions(range.start, rowDimensions, columnDimensions, visibleRange);
37860
+ let endDimensions = getCellDimensions(range.end, rowDimensions, columnDimensions, visibleRange);
37861
+ if (endDimensions === undefined) {
37862
+ endDimensions = getScrollCellDimensions(range.end, rowDimensions, columnDimensions, visibleRange);
37863
+ }
37864
+ return startDimensions && endDimensions && {
37865
+ width: endDimensions.left + endDimensions.width - startDimensions.left,
37866
+ height: endDimensions.top + endDimensions.height - startDimensions.top,
37867
+ top: startDimensions.top + 1,
37868
+ left: startDimensions.left + 1
37869
+ };
37667
37870
  }
37668
37871
  /** Get given data as CSV */
37669
37872
  function getCSV(data) {
@@ -37738,7 +37941,7 @@ const EmptyCell = {
37738
37941
  };
37739
37942
  const fontFamilyList = [{
37740
37943
  label: 'Times New Roman',
37741
- value: '"Times New Roman"'
37944
+ value: 'Times New Roman'
37742
37945
  }, {
37743
37946
  label: 'Arial',
37744
37947
  value: 'Arial'
@@ -37762,28 +37965,28 @@ const fontFamilyList = [{
37762
37965
  value: 'Tahoma'
37763
37966
  }, {
37764
37967
  label: 'Trebuchet MS',
37765
- value: '"Trebuchet MS"'
37968
+ value: 'Trebuchet MS'
37766
37969
  }, {
37767
37970
  label: 'Comic Sans MS',
37768
- value: '"Comic Sans MS"'
37971
+ value: 'Comic Sans MS'
37769
37972
  }, {
37770
37973
  label: 'Impact',
37771
37974
  value: 'Impact'
37772
37975
  }, {
37773
37976
  label: 'Arial Black',
37774
- value: '"Arial Black"'
37977
+ value: 'Arial Black'
37775
37978
  }, {
37776
37979
  label: 'Lucida Console',
37777
- value: '"Lucida Console"'
37980
+ value: 'Lucida Console'
37778
37981
  }, {
37779
37982
  label: 'Lucida Sans Unicode',
37780
- value: '"Lucida Sans Unicode"'
37983
+ value: 'Lucida Sans Unicode'
37781
37984
  }, {
37782
37985
  label: 'Courier',
37783
37986
  value: 'Courier'
37784
37987
  }, {
37785
37988
  label: 'Arial Rounded MT Bold',
37786
- value: '"Arial Rounded MT Bold"'
37989
+ value: 'Arial Rounded MT Bold'
37787
37990
  }, {
37788
37991
  label: 'Georgia',
37789
37992
  value: 'Georgia'
@@ -38291,65 +38494,142 @@ function applyBorderToCells(currentData, selectedRange, value, color, editable)
38291
38494
  start,
38292
38495
  end
38293
38496
  } = selectedRange;
38497
+ const getCell = (row, col) => get$1({
38498
+ row,
38499
+ column: col
38500
+ }, updatedData);
38501
+ const setCell = (row, col, cell) => {
38502
+ updatedData = set$1({
38503
+ row,
38504
+ column: col
38505
+ }, cell, updatedData);
38506
+ };
38294
38507
  for (let row = start.row; row <= end.row; row++) {
38295
38508
  for (let col = start.column; col <= end.column; col++) {
38296
- const currentCell = get$1({
38297
- row,
38298
- column: col
38299
- }, updatedData);
38300
- if (!currentCell || !editable) continue;
38301
- if (currentCell.readOnly) continue;
38302
- let updatedCell = {
38303
- ...currentCell
38509
+ const currentCell = getCell(row, col);
38510
+ if (!currentCell || !editable || currentCell.readOnly) continue;
38511
+ const updatedCell = {
38512
+ ...currentCell,
38513
+ style: {
38514
+ ...currentCell.style
38515
+ }
38516
+ };
38517
+ const aboveCell = getCell(row - 1, col);
38518
+ const belowCell = getCell(row + 1, col);
38519
+ const leftCell = getCell(row, col - 1);
38520
+ const rightCell = getCell(row, col + 1);
38521
+ const borderStyle = `2px solid ${color}`;
38522
+ const defaultBorder = `1px solid var(--excel-header-border)`;
38523
+ const applyBorder = side => {
38524
+ switch (side) {
38525
+ case 'borderTop':
38526
+ if (!aboveCell || aboveCell.style?.borderBottom !== borderStyle) {
38527
+ updatedCell.style.borderTop = borderStyle;
38528
+ } else {
38529
+ updatedCell.style.borderTop = 'none';
38530
+ }
38531
+ break;
38532
+ case 'borderBottom':
38533
+ if (!belowCell || belowCell.style?.borderTop !== borderStyle) {
38534
+ updatedCell.style.borderBottom = borderStyle;
38535
+ } else {
38536
+ updatedCell.style.borderBottom = 'none';
38537
+ }
38538
+ break;
38539
+ case 'borderLeft':
38540
+ if (!leftCell || leftCell.style?.borderRight !== borderStyle) {
38541
+ updatedCell.style.borderLeft = borderStyle;
38542
+ } else {
38543
+ updatedCell.style.borderLeft = 'none';
38544
+ }
38545
+ break;
38546
+ case 'borderRight':
38547
+ if (!rightCell || rightCell.style?.borderLeft !== borderStyle) {
38548
+ updatedCell.style.borderRight = borderStyle;
38549
+ } else {
38550
+ updatedCell.style.borderRight = 'none';
38551
+ }
38552
+ break;
38553
+ }
38304
38554
  };
38305
38555
  switch (value) {
38306
38556
  case 'border-all-sides':
38307
- updatedCell.style = {
38308
- ...currentCell.style,
38309
- borderRight: `2px solid ${color}`,
38310
- borderLeft: `2px solid ${color}`,
38311
- borderTop: `2px solid ${color}`,
38312
- borderBottom: `2px solid ${color}`
38313
- };
38557
+ applyBorder('borderTop');
38558
+ applyBorder('borderBottom');
38559
+ applyBorder('borderLeft');
38560
+ applyBorder('borderRight');
38314
38561
  break;
38315
38562
  case 'border-none':
38316
38563
  updatedCell.style = {
38317
- ...currentCell.style,
38318
- borderRight: `1px solid var(--excel-header-border)`,
38319
- borderLeft: `1px solid var(--excel-header-border)`,
38320
- borderTop: `1px solid var(--excel-header-border)`,
38321
- borderBottom: `1px solid var(--excel-header-border)`
38564
+ ...updatedCell.style,
38565
+ borderRight: defaultBorder,
38566
+ borderLeft: defaultBorder,
38567
+ borderTop: defaultBorder,
38568
+ borderBottom: defaultBorder
38322
38569
  };
38570
+ if (aboveCell) {
38571
+ const updatedAbove = {
38572
+ ...aboveCell,
38573
+ style: {
38574
+ ...aboveCell.style
38575
+ }
38576
+ };
38577
+ if (updatedAbove.style.borderBottom === 'none') {
38578
+ updatedAbove.style.borderBottom = borderStyle;
38579
+ setCell(row - 1, col, updatedAbove);
38580
+ }
38581
+ }
38582
+ if (belowCell) {
38583
+ const updatedBelow = {
38584
+ ...belowCell,
38585
+ style: {
38586
+ ...belowCell.style
38587
+ }
38588
+ };
38589
+ if (updatedBelow.style.borderTop === 'none') {
38590
+ updatedBelow.style.borderTop = borderStyle;
38591
+ setCell(row + 1, col, updatedBelow);
38592
+ }
38593
+ }
38594
+ if (leftCell) {
38595
+ const updatedLeft = {
38596
+ ...leftCell,
38597
+ style: {
38598
+ ...leftCell.style
38599
+ }
38600
+ };
38601
+ if (updatedLeft.style.borderRight === 'none') {
38602
+ updatedLeft.style.borderRight = borderStyle;
38603
+ setCell(row, col - 1, updatedLeft);
38604
+ }
38605
+ }
38606
+ if (rightCell) {
38607
+ const updatedRight = {
38608
+ ...rightCell,
38609
+ style: {
38610
+ ...rightCell.style
38611
+ }
38612
+ };
38613
+ if (updatedRight.style.borderLeft === 'none') {
38614
+ updatedRight.style.borderLeft = borderStyle;
38615
+ setCell(row, col + 1, updatedRight);
38616
+ }
38617
+ }
38323
38618
  break;
38324
38619
  case 'border-right':
38325
- updatedCell.style = {
38326
- ...currentCell.style,
38327
- borderRight: `2px solid ${color}`
38328
- };
38620
+ applyBorder('borderRight');
38329
38621
  break;
38330
38622
  case 'border-left':
38331
- updatedCell.style = {
38332
- ...currentCell.style,
38333
- borderLeft: `2px solid ${color}`
38334
- };
38623
+ applyBorder('borderLeft');
38335
38624
  break;
38336
38625
  case 'border-top':
38337
- updatedCell.style = {
38338
- ...currentCell.style,
38339
- borderTop: `2px solid ${color}`
38340
- };
38626
+ applyBorder('borderTop');
38341
38627
  break;
38342
38628
  case 'border-bottom':
38343
- updatedCell.style = {
38344
- ...currentCell.style,
38345
- borderBottom: `2px solid ${color}`
38346
- };
38629
+ applyBorder('borderBottom');
38347
38630
  break;
38348
38631
  }
38349
- updatedData = set$1({
38350
- row,
38351
- column: col
38352
- }, updatedCell, updatedData);
38632
+ setCell(row, col, updatedCell);
38353
38633
  }
38354
38634
  }
38355
38635
  return updatedData;
@@ -39012,7 +39292,8 @@ function reducer(state, action) {
39012
39292
  let {
39013
39293
  selectedRow,
39014
39294
  selectedColumn,
39015
- model
39295
+ model,
39296
+ rowDimensions
39016
39297
  } = state;
39017
39298
  const {
39018
39299
  row
@@ -39029,7 +39310,8 @@ function reducer(state, action) {
39029
39310
  ...state,
39030
39311
  model: updatedModel,
39031
39312
  selectedRow: row ?? selectedRow,
39032
- selectedColumn: selectedColumn
39313
+ selectedColumn: selectedColumn,
39314
+ rowDimensions: insertRowDimension(rowDimensions, row ?? selectedRow, 32)
39033
39315
  };
39034
39316
  }
39035
39317
  case ADD_ROW_BOTTOM:
@@ -39037,7 +39319,8 @@ function reducer(state, action) {
39037
39319
  let {
39038
39320
  selectedRow,
39039
39321
  selectedColumn,
39040
- model
39322
+ model,
39323
+ rowDimensions
39041
39324
  } = state;
39042
39325
  const {
39043
39326
  row
@@ -39054,7 +39337,8 @@ function reducer(state, action) {
39054
39337
  ...state,
39055
39338
  model: updatedModel,
39056
39339
  selectedRow: (row ?? selectedRow) + 1,
39057
- selectedColumn: selectedColumn
39340
+ selectedColumn: selectedColumn,
39341
+ rowDimensions: insertRowDimension(rowDimensions, (row ?? selectedRow) + 1, 32)
39058
39342
  };
39059
39343
  }
39060
39344
  case ADD_COLUMN_LEFT:
@@ -39062,7 +39346,8 @@ function reducer(state, action) {
39062
39346
  let {
39063
39347
  selectedRow,
39064
39348
  selectedColumn,
39065
- model
39349
+ model,
39350
+ columnDimensions
39066
39351
  } = state;
39067
39352
  const {
39068
39353
  column
@@ -39070,17 +39355,18 @@ function reducer(state, action) {
39070
39355
  if (checkEmpty(column ?? selectedColumn)) {
39071
39356
  return state;
39072
39357
  }
39073
- selectedColumn = column ?? selectedColumn;
39358
+ const insertIndex = column ?? selectedColumn;
39074
39359
  let updatedData = [...model.data];
39075
39360
  updatedData = updatedData.map(row => {
39076
- return [...row.slice(0, column ?? selectedColumn), EmptyCell, ...row.slice(column ?? selectedColumn)];
39361
+ return [...row.slice(0, insertIndex), EmptyCell, ...row.slice(insertIndex)];
39077
39362
  });
39078
39363
  const updatedModel = new Model(model.createFormulaParser, updatedData);
39079
39364
  return {
39080
39365
  ...state,
39081
39366
  model: updatedModel,
39082
39367
  selectedRow: selectedRow,
39083
- selectedColumn: (column ?? selectedColumn) - 1
39368
+ selectedColumn: insertIndex,
39369
+ columnDimensions: insertColumnDimension(columnDimensions, insertIndex, 150)
39084
39370
  };
39085
39371
  }
39086
39372
  case ADD_COLUMN_RIGHT:
@@ -39088,7 +39374,8 @@ function reducer(state, action) {
39088
39374
  let {
39089
39375
  selectedRow,
39090
39376
  selectedColumn,
39091
- model
39377
+ model,
39378
+ columnDimensions
39092
39379
  } = state;
39093
39380
  const {
39094
39381
  column
@@ -39106,7 +39393,8 @@ function reducer(state, action) {
39106
39393
  ...state,
39107
39394
  model: updatedModel,
39108
39395
  selectedRow: selectedRow,
39109
- selectedColumn: (column ?? selectedColumn) + 1
39396
+ selectedColumn: (column ?? selectedColumn) + 1,
39397
+ columnDimensions: insertColumnDimension(columnDimensions, (column ?? selectedColumn) + 1, 150)
39110
39398
  };
39111
39399
  }
39112
39400
  case DELETE_ROW:
@@ -39114,7 +39402,8 @@ function reducer(state, action) {
39114
39402
  let {
39115
39403
  selectedRow,
39116
39404
  selectedColumn,
39117
- model
39405
+ model,
39406
+ rowDimensions
39118
39407
  } = state;
39119
39408
  const {
39120
39409
  row
@@ -39122,21 +39411,17 @@ function reducer(state, action) {
39122
39411
  if (checkEmpty(selectedRow)) {
39123
39412
  return state;
39124
39413
  }
39125
- selectedRow = row ?? selectedRow;
39414
+ const deleteIndex = row ?? selectedRow;
39126
39415
  let updatedData = [...model.data];
39127
- updatedData.splice(row ?? selectedRow, 1);
39416
+ updatedData.splice(deleteIndex, 1);
39128
39417
  const updatedModel = new Model(model.createFormulaParser, updatedData);
39129
- let newSelectedRow = row ?? selectedRow > 0 ? row ?? selectedRow - 1 : 0;
39418
+ let newSelectedRow = deleteIndex > 0 ? deleteIndex - 1 : 0;
39130
39419
  const newSelectedColumn = selectedColumn !== null ? selectedColumn : 0;
39131
39420
  const newActive = updatedData.length > 0 ? {
39132
39421
  row: newSelectedRow,
39133
39422
  column: newSelectedColumn
39134
39423
  } : null;
39135
39424
  const newSelected = updatedData.length > 0 ? new EntireRowsSelection(newSelectedRow, newSelectedRow) : new EmptySelection();
39136
- const {
39137
- [row ?? selectedRow]: _,
39138
- ...cleanedRowDimensions
39139
- } = state.rowDimensions;
39140
39425
  return {
39141
39426
  ...state,
39142
39427
  model: updatedModel,
@@ -39144,7 +39429,7 @@ function reducer(state, action) {
39144
39429
  selectedColumn: newSelectedColumn,
39145
39430
  selected: newSelected,
39146
39431
  active: newActive,
39147
- rowDimensions: cleanedRowDimensions
39432
+ rowDimensions: deleteRowDimension(rowDimensions, deleteIndex)
39148
39433
  };
39149
39434
  }
39150
39435
  case DELETE_COLUMN:
@@ -39152,22 +39437,24 @@ function reducer(state, action) {
39152
39437
  const {
39153
39438
  selectedRow,
39154
39439
  selectedColumn,
39155
- model
39440
+ model,
39441
+ columnDimensions
39156
39442
  } = state;
39157
39443
  const {
39158
39444
  column
39159
39445
  } = action;
39160
39446
  if (checkEmpty(column ?? selectedColumn)) return state;
39161
- const colIndex = column ?? selectedColumn;
39162
- const updatedData = model.data.map(row => row.filter((_, cellIndex) => cellIndex !== colIndex));
39447
+ const deleteIndex = column ?? selectedColumn;
39448
+ const updatedData = model.data.map(row => row.filter((_, cellIndex) => cellIndex !== deleteIndex));
39163
39449
  const updatedModel = new Model(model.createFormulaParser, updatedData);
39164
39450
  const newSelectedRow = selectedRow || 0;
39165
- const newSelectedColumn = colIndex > 0 ? colIndex - 1 : 0;
39451
+ const newSelectedColumn = deleteIndex > 0 ? deleteIndex - 1 : 0;
39166
39452
  return {
39167
39453
  ...state,
39168
39454
  model: updatedModel,
39169
39455
  selectedRow: newSelectedRow,
39170
- selectedColumn: newSelectedColumn
39456
+ selectedColumn: newSelectedColumn,
39457
+ columnDimensions: deleteColumnDimension(columnDimensions, deleteIndex)
39171
39458
  };
39172
39459
  }
39173
39460
  case BOLD:
@@ -41418,7 +41705,8 @@ const Cell = ({
41418
41705
  select,
41419
41706
  activate,
41420
41707
  setCellDimensions,
41421
- setCellData
41708
+ setCellData,
41709
+ editable
41422
41710
  }) => {
41423
41711
  const rootRef = React__namespace.useRef(null);
41424
41712
  const point = React__namespace.useMemo(() => ({
@@ -41426,6 +41714,7 @@ const Cell = ({
41426
41714
  column
41427
41715
  }), [row, column]);
41428
41716
  const handleMouseDown = React__namespace.useCallback(event => {
41717
+ if (!editable) return;
41429
41718
  if (mode === 'view') {
41430
41719
  setCellDimensions(point, getOffsetRect(event.currentTarget));
41431
41720
  if (event.shiftKey) {
@@ -41621,7 +41910,7 @@ const ActiveCell = props => {
41621
41910
  const mode = useSelector(state => state.mode);
41622
41911
  const cell = useSelector(state => state.active ? get$1(state.active, state.model.data) : undefined);
41623
41912
  const dimensions = useSelector(state => {
41624
- let dimensionValue = active ? getCellDimensions(active, state.rowDimensions, state.columnDimensions) : undefined;
41913
+ let dimensionValue = active ? getCellDimensions(active, state.rowDimensions, state.columnDimensions, props.visibleRange) : undefined;
41625
41914
  dimensionValue = {
41626
41915
  top: (dimensionValue?.top ?? 0) + 1,
41627
41916
  // Note: +1 Because of Active cell width is 2px
@@ -42046,7 +42335,11 @@ const ActiveCell = props => {
42046
42335
  className: "ff-spreadsheet-cell-textarea",
42047
42336
  style: {
42048
42337
  ...cell?.style,
42049
- textDecoration: 'normal'
42338
+ textDecoration: 'normal',
42339
+ borderTop: '',
42340
+ borderBottom: '',
42341
+ borderLeft: '',
42342
+ borderRight: ''
42050
42343
  },
42051
42344
  value: cell?.value,
42052
42345
  disabled: false
@@ -42100,9 +42393,13 @@ const FloatingRect = ({
42100
42393
  });
42101
42394
  };
42102
42395
 
42103
- const Selected = () => {
42396
+ const Selected = ({
42397
+ visibleRange
42398
+ }) => {
42104
42399
  const selected = useSelector(state => state.selected);
42105
- const dimensions = useSelector(state => selected && getSelectedDimensions(state.rowDimensions, state.columnDimensions, state.model.data, state.selected));
42400
+ const dimensions = useSelector(state => {
42401
+ return selected && getSelectedDimensions(state.rowDimensions, state.columnDimensions, state.model.data, state.selected, visibleRange);
42402
+ });
42106
42403
  const dragging = useSelector(state => state.dragging);
42107
42404
  const hidden = useSelector(state => state.selected.size(state.model.data) < 2);
42108
42405
  return jsxRuntime.jsx(FloatingRect, {
@@ -43031,7 +43328,8 @@ const Spreadsheet = props => {
43031
43328
  row: rowNumber,
43032
43329
  column: columnNumber,
43033
43330
  // @ts-ignore
43034
- DataViewer: DataViewer$1
43331
+ DataViewer: DataViewer$1,
43332
+ editable: editable$1
43035
43333
  }, columnNumber))]
43036
43334
  }, rowNumber))]
43037
43335
  }), [Table$1, size.rows, size.columns, Row$1, HeaderRow$1, CornerIndicator$1, columnLabels, ColumnIndicator, rowLabels, RowIndicator$1, Cell$1, DataViewer$1, visibleRange.end, visibleRange.start]);
@@ -43040,8 +43338,9 @@ const Spreadsheet = props => {
43040
43338
  contextOption: contextOption,
43041
43339
  setContextMenu: props.setContextMenu,
43042
43340
  // @ts-ignore
43043
- DataEditor: DataEditor$1
43044
- }), [DataEditor$1]);
43341
+ DataEditor: DataEditor$1,
43342
+ visibleRange: visibleRange
43343
+ }), [DataEditor$1, visibleRange]);
43045
43344
  const rootNode = React__namespace.useMemo(() => jsxRuntime.jsxs("div", {
43046
43345
  className: "ff-excel-spreadsheet-container",
43047
43346
  children: [jsxRuntime.jsx("div", {
@@ -43102,7 +43401,9 @@ const Spreadsheet = props => {
43102
43401
  }]
43103
43402
  });
43104
43403
  },
43105
- children: [tableNode, activeCellNode, jsxRuntime.jsx(Selected, {}), jsxRuntime.jsx(Copied, {})]
43404
+ children: [tableNode, activeCellNode, jsxRuntime.jsx(Selected, {
43405
+ visibleRange: visibleRange
43406
+ }), jsxRuntime.jsx(Copied, {})]
43106
43407
  })]
43107
43408
  }), [className, onKeyPress, handleKeyDown, handleMouseMove, tableNode, activeCellNode, maxWidth]);
43108
43409
  return jsxRuntime.jsx(context.Provider, {
@@ -49233,6 +49534,119 @@ const ChatModal = ({
49233
49534
  });
49234
49535
  };
49235
49536
 
49537
+ const ChatModalAi = /*#__PURE__*/React.forwardRef(({
49538
+ iconName,
49539
+ hoverTitle,
49540
+ iconPosition: {
49541
+ top: iconTop,
49542
+ left: iconLeft,
49543
+ bottom: iconBottom,
49544
+ right: iconRight
49545
+ },
49546
+ hoverIconPosition: {
49547
+ top: iconhoverTop,
49548
+ left: iconhoverLeft,
49549
+ bottom: iconhoverBottom,
49550
+ right: iconhoverRight
49551
+ },
49552
+ modalPosition: {
49553
+ top: modalTop,
49554
+ left: modalLeft,
49555
+ bottom: modalBottom,
49556
+ right: modalRight
49557
+ },
49558
+ modalWidth,
49559
+ modalHeight,
49560
+ headerContent = 'Header Content',
49561
+ footerContent = 'Footer Content',
49562
+ iconWidth,
49563
+ iconHeight,
49564
+ children
49565
+ }, ref) => {
49566
+ const [isOpen, setIsOpen] = React.useState(false);
49567
+ const [isVisible, setIsVisible] = React.useState(false);
49568
+ const timerRef = React.useRef(null);
49569
+ const openModal = () => {
49570
+ if (timerRef.current) clearTimeout(timerRef.current);
49571
+ setIsVisible(prev => !prev);
49572
+ timerRef.current = setTimeout(() => setIsOpen(prev => !prev), 10);
49573
+ };
49574
+ const closeModal = () => {
49575
+ if (timerRef.current) clearTimeout(timerRef.current);
49576
+ setIsOpen(false);
49577
+ timerRef.current = setTimeout(() => setIsVisible(false), 300);
49578
+ };
49579
+ React.useImperativeHandle(ref, () => ({
49580
+ closeModal
49581
+ }));
49582
+ React.useEffect(() => {
49583
+ return () => {
49584
+ if (timerRef.current) clearTimeout(timerRef.current);
49585
+ };
49586
+ }, []);
49587
+ return jsxRuntime.jsxs(jsxRuntime.Fragment, {
49588
+ children: [jsxRuntime.jsxs("div", {
49589
+ style: {
49590
+ top: iconTop !== undefined ? `${iconTop}px` : undefined,
49591
+ left: iconLeft !== undefined ? `${iconLeft}px` : undefined,
49592
+ bottom: iconBottom !== undefined ? `${iconBottom}px` : undefined,
49593
+ right: iconRight !== undefined ? `${iconRight}px` : undefined
49594
+ },
49595
+ className: "ff-ai-dynamic-icon-container",
49596
+ children: [jsxRuntime.jsx(Icon, {
49597
+ className: "ff-ai-dynamic-icon",
49598
+ name: iconName,
49599
+ onClick: openModal,
49600
+ height: iconHeight,
49601
+ width: iconWidth
49602
+ }), jsxRuntime.jsx("div", {
49603
+ style: {
49604
+ top: iconhoverTop !== undefined ? `${iconhoverTop}px` : undefined,
49605
+ left: iconhoverLeft !== undefined ? `${iconhoverLeft}px` : undefined,
49606
+ bottom: iconhoverBottom !== undefined ? `${iconhoverBottom}px` : undefined,
49607
+ right: iconhoverRight !== undefined ? `${iconhoverRight}px` : undefined
49608
+ },
49609
+ className: "ff-ai-chat-icon-hover",
49610
+ children: jsxRuntime.jsx("div", {
49611
+ className: "ai-hover-leaf",
49612
+ children: jsxRuntime.jsx(Typography, {
49613
+ fontWeight: "bold",
49614
+ fontSize: 14,
49615
+ color: "var(--chatbot-leaf-text)",
49616
+ children: hoverTitle
49617
+ })
49618
+ })
49619
+ })]
49620
+ }), isVisible && /*#__PURE__*/ReactDOM.createPortal(jsxRuntime.jsx("div", {
49621
+ className: classNames('ff-ai-dynamic-modal', {
49622
+ open: isOpen
49623
+ }),
49624
+ style: {
49625
+ top: modalTop !== undefined ? `${modalTop}px` : undefined,
49626
+ left: modalLeft !== undefined ? `${modalLeft}px` : undefined,
49627
+ bottom: modalBottom !== undefined ? `${modalBottom}px` : undefined,
49628
+ right: modalRight !== undefined ? `${modalRight}px` : undefined,
49629
+ position: 'fixed',
49630
+ height: modalHeight,
49631
+ width: modalWidth
49632
+ },
49633
+ children: jsxRuntime.jsxs("div", {
49634
+ className: "ff-ai-dynamic-modal-content",
49635
+ children: [headerContent && jsxRuntime.jsx("div", {
49636
+ className: "ff-ai-dynamic-modal-header",
49637
+ children: headerContent
49638
+ }), jsxRuntime.jsx("div", {
49639
+ className: "ff-ai-dynamic-modal-body",
49640
+ children: children
49641
+ }), footerContent && jsxRuntime.jsx("div", {
49642
+ className: "ff-ai-dynamic-modal-footer",
49643
+ children: footerContent
49644
+ })]
49645
+ })
49646
+ }), document.body)]
49647
+ });
49648
+ });
49649
+
49236
49650
  const HistoryCard = ({
49237
49651
  variant,
49238
49652
  title,
@@ -50303,7 +50717,6 @@ const SessionDropdown = ({
50303
50717
  className: `ff-dropdown-header-item ${activeTab === 'primary' ? 'active' : ''}`,
50304
50718
  onClick: onPrimaryTabClick,
50305
50719
  children: [jsxRuntime.jsx(Typography, {
50306
- fontSize: 16,
50307
50720
  fontWeight: "semi-bold",
50308
50721
  className: "ff-dropdown-text",
50309
50722
  children: header
@@ -50315,7 +50728,6 @@ const SessionDropdown = ({
50315
50728
  className: `ff-dropdown-header-item ${activeTab === 'secondary' ? 'active' : ''}`,
50316
50729
  onClick: onSecondaryTabClick,
50317
50730
  children: [jsxRuntime.jsx(Typography, {
50318
- fontSize: 16,
50319
50731
  fontWeight: "semi-bold",
50320
50732
  className: "ff-dropdown-text",
50321
50733
  children: secondaryHeader
@@ -56611,7 +57023,7 @@ const BarChart = ({
56611
57023
  const chartWidth = totalBarWidth + leftPadding * 2 + 10 + extendBarChartRightWidth;
56612
57024
  const id = Date.now();
56613
57025
  const renderGradients = gradients => {
56614
- return gradients.map((gradient, index) => jsxRuntime.jsx("defs", {
57026
+ return gradients.filter(gradient => gradient.length > 1).map((gradient, index) => jsxRuntime.jsx("defs", {
56615
57027
  children: jsxRuntime.jsx("linearGradient", {
56616
57028
  id: `gradient-${id}-${type}-${index}`,
56617
57029
  x1: "0%",
@@ -56625,7 +57037,11 @@ const BarChart = ({
56625
57037
  })
56626
57038
  }, index));
56627
57039
  };
56628
- const getFillColor = index => colors?.[index % colors.length]?.[0] ? `url(#gradient-${id}-${type}-${index % colors.length})` : 'grey';
57040
+ const getFillColor = index => {
57041
+ if (!colors.length) return 'grey';
57042
+ const colorGroup = colors[index % colors.length];
57043
+ return colorGroup?.length === 1 ? colorGroup[0] : `url(#gradient-${id}-${type}-${index % colors.length})`;
57044
+ };
56629
57045
  const handleMouseEnter = (label, value, id, percent, versions) => {
56630
57046
  setIsHoveringBar(true);
56631
57047
  const tooltip = tooltipRef.current;
@@ -64353,14 +64769,14 @@ const MachineInstances = ({
64353
64769
  },
64354
64770
  children: [jsxRuntime.jsx("div", {
64355
64771
  className: `ff-curve-right-icon ff-curve-right-icon-${runLevelExecutionDataSetIndex}`
64356
- }), childNodeData?.runScriptCount && jsxRuntime.jsx("div", {
64772
+ }), Number(childNodeData?.runScriptCount) ? jsxRuntime.jsx("div", {
64357
64773
  className: "ff-selectedMachines-connecting-line-text",
64358
64774
  children: jsxRuntime.jsx(Typography, {
64359
64775
  fontSize: 8,
64360
64776
  fontWeight: "regular",
64361
- children: `${childNodeData.runScriptCount} Script${childNodeData.runScriptCount !== 1 ? 's' : ''}`
64777
+ children: `${![0, '0', null].includes(childNodeData.runScriptCount) ? childNodeData.runScriptCount : ''} Script${childNodeData.runScriptCount !== 1 ? 's' : ''}`
64362
64778
  })
64363
- })]
64779
+ }) : jsxRuntime.jsx(jsxRuntime.Fragment, {})]
64364
64780
  })
64365
64781
  }), jsxRuntime.jsx("div", {
64366
64782
  className: "ff-run-data-box",
@@ -65884,7 +66300,7 @@ const ConditionalDropdown = /*#__PURE__*/React.forwardRef(({
65884
66300
  }), result?.showDropdown && isFocused && jsxRuntime.jsx(VariableDropdown, {
65885
66301
  position: "absolute",
65886
66302
  width: dropdownWidth,
65887
- optionsList: variableList.filter(file => file.name.toLowerCase().includes(result?.searchString)),
66303
+ optionsList: variableList.filter(file => file.name.toLowerCase().includes(result?.searchString.toLowerCase())),
65888
66304
  onSelectVariable: handleDropdownClick,
65889
66305
  height: height
65890
66306
  }), showDropdown && (isHash || onlyDropdown) && jsxRuntime.jsx(OptionsDropdown, {
@@ -79033,6 +79449,21 @@ const convertToISO = dateString => {
79033
79449
  return new Date(`${formattedDate}T${formattedTime}`);
79034
79450
  };
79035
79451
 
79452
+ const handleTimeZoneChange = timeZone => {
79453
+ const currentDate = new Date();
79454
+ return new Intl.DateTimeFormat('en-US', {
79455
+ timeZone,
79456
+ weekday: 'long',
79457
+ year: 'numeric',
79458
+ month: 'short',
79459
+ day: '2-digit',
79460
+ hour: '2-digit',
79461
+ minute: '2-digit',
79462
+ second: '2-digit',
79463
+ hour12: true
79464
+ }).format(currentDate);
79465
+ };
79466
+
79036
79467
  const PrePostStepAccordions = ({
79037
79468
  data,
79038
79469
  level = 0,
@@ -121422,6 +121853,7 @@ exports.CHECK_CAMEL_CASE = CHECK_CAMEL_CASE;
121422
121853
  exports.CREDIT_CARD_REGEX = CREDIT_CARD_REGEX;
121423
121854
  exports.CURRENCY_GENERIC_REGEX = CURRENCY_GENERIC_REGEX;
121424
121855
  exports.ChatModal = ChatModal;
121856
+ exports.ChatModalAi = ChatModalAi;
121425
121857
  exports.Checkbox = Checkbox;
121426
121858
  exports.Chip = Chip;
121427
121859
  exports.ChipWithCount = ChipWithCount;