quirk-ui 0.0.619 → 0.0.621

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 (160) hide show
  1. package/dist/{CategoryFilters-D--R7dHY.js → CategoryFilters-D4rVPLhu.js} +1 -1
  2. package/dist/{CategoryFilters-Bim90LqV.cjs → CategoryFilters-zHzA3-A8.cjs} +1 -1
  3. package/dist/assets/CategoryFilters.css.d.ts +30 -0
  4. package/dist/assets/NavLink.css.d.ts +73 -0
  5. package/dist/assets/index.css.d.ts +1 -0
  6. package/dist/assets/index10.css.d.ts +10 -0
  7. package/dist/assets/index11.css.d.ts +19 -0
  8. package/dist/assets/index12.css.d.ts +18 -0
  9. package/dist/assets/index13.css.d.ts +33 -0
  10. package/dist/assets/index14.css.d.ts +12 -0
  11. package/dist/assets/index15.css.d.ts +15 -0
  12. package/dist/assets/index16.css.d.ts +14 -0
  13. package/dist/assets/index17.css.d.ts +5 -0
  14. package/dist/assets/index18.css.d.ts +9 -0
  15. package/dist/assets/index19.css.d.ts +37 -0
  16. package/dist/assets/index2.css.d.ts +11 -0
  17. package/dist/assets/index20.css.d.ts +10 -0
  18. package/dist/assets/index21.css.d.ts +15 -0
  19. package/dist/assets/index22.css.d.ts +24 -0
  20. package/dist/assets/index23.css.d.ts +12 -0
  21. package/dist/assets/index24.css.d.ts +18 -0
  22. package/dist/assets/index25.css.d.ts +17 -0
  23. package/dist/assets/index26.css.d.ts +8 -0
  24. package/dist/assets/index27.css.d.ts +6 -0
  25. package/dist/assets/index28.css.d.ts +10 -0
  26. package/dist/assets/index29.css.d.ts +10 -0
  27. package/dist/assets/index3.css.d.ts +9 -0
  28. package/dist/assets/index30.css.d.ts +9 -0
  29. package/dist/assets/index31.css.d.ts +21 -0
  30. package/dist/assets/index32.css.d.ts +10 -0
  31. package/dist/assets/index33.css.d.ts +11 -0
  32. package/dist/assets/index34.css.d.ts +15 -0
  33. package/dist/assets/index35.css.d.ts +12 -0
  34. package/dist/assets/index36.css.d.ts +13 -0
  35. package/dist/assets/index37.css.d.ts +31 -0
  36. package/dist/assets/index38.css.d.ts +11 -0
  37. package/dist/assets/index39.css.d.ts +19 -0
  38. package/dist/assets/index4.css.d.ts +32 -0
  39. package/dist/assets/index40.css.d.ts +7 -0
  40. package/dist/assets/index41.css.d.ts +11 -0
  41. package/dist/assets/index42.css.d.ts +7 -0
  42. package/dist/assets/index43.css.d.ts +7 -0
  43. package/dist/assets/index44.css.d.ts +12 -0
  44. package/dist/assets/index45.css.d.ts +6 -0
  45. package/dist/assets/index46.css.d.ts +9 -0
  46. package/dist/assets/index47.css.d.ts +13 -0
  47. package/dist/assets/index48.css.d.ts +27 -0
  48. package/dist/assets/index49.css.d.ts +5 -0
  49. package/dist/assets/index5.css.d.ts +18 -0
  50. package/dist/assets/index50.css.d.ts +13 -0
  51. package/dist/assets/index51.css.d.ts +6 -0
  52. package/dist/assets/index52.css.d.ts +6 -0
  53. package/dist/assets/index53.css.d.ts +14 -0
  54. package/dist/assets/index54.css.d.ts +5 -0
  55. package/dist/assets/index55.css.d.ts +12 -0
  56. package/dist/assets/index56.css.d.ts +7 -0
  57. package/dist/assets/index57.css.d.ts +10 -0
  58. package/dist/assets/index58.css +1 -1
  59. package/dist/assets/index58.css.d.ts +11 -0
  60. package/dist/assets/index59.css +1 -1
  61. package/dist/assets/index59.css.d.ts +9 -0
  62. package/dist/assets/index6.css.d.ts +7 -0
  63. package/dist/assets/index60.css +1 -1
  64. package/dist/assets/index60.css.d.ts +11 -0
  65. package/dist/assets/index61.css +1 -1
  66. package/dist/assets/index61.css.d.ts +14 -0
  67. package/dist/assets/index62.css +1 -1
  68. package/dist/assets/index62.css.d.ts +21 -0
  69. package/dist/assets/index63.css +1 -1
  70. package/dist/assets/index63.css.d.ts +8 -0
  71. package/dist/assets/index64.css +1 -1
  72. package/dist/assets/index64.css.d.ts +8 -0
  73. package/dist/assets/index65.css +1 -1
  74. package/dist/assets/index65.css.d.ts +7 -0
  75. package/dist/assets/index66.css +1 -0
  76. package/dist/assets/index66.css.d.ts +11 -0
  77. package/dist/assets/index67.css +0 -1
  78. package/dist/assets/index67.css.d.ts +1 -0
  79. package/dist/assets/index68.css +1 -1
  80. package/dist/assets/index68.css.d.ts +29 -0
  81. package/dist/assets/index69.css +1 -1
  82. package/dist/assets/index69.css.d.ts +20 -0
  83. package/dist/assets/index7.css.d.ts +9 -0
  84. package/dist/assets/index70.css +1 -1
  85. package/dist/assets/index70.css.d.ts +21 -0
  86. package/dist/assets/index71.css +1 -1
  87. package/dist/assets/index71.css.d.ts +21 -0
  88. package/dist/assets/index72.css +1 -0
  89. package/dist/assets/index72.css.d.ts +12 -0
  90. package/dist/assets/index8.css.d.ts +31 -0
  91. package/dist/assets/index9.css.d.ts +12 -0
  92. package/dist/core/components/Button/Button.test.cjs +1 -1
  93. package/dist/core/components/Button/Button.test.mjs +1 -1
  94. package/dist/core/components/Button/index.cjs +1 -1
  95. package/dist/core/components/Button/index.mjs +1 -1
  96. package/dist/core/components/Calendar/Calendar.test.cjs +1 -1
  97. package/dist/core/components/Calendar/Calendar.test.mjs +1 -1
  98. package/dist/core/components/Calendar/index.cjs +1 -1
  99. package/dist/core/components/Calendar/index.mjs +1 -1
  100. package/dist/core/components/DatePicker/DatePicker.test.cjs +1 -1
  101. package/dist/core/components/DatePicker/DatePicker.test.mjs +1 -1
  102. package/dist/core/components/DatePicker/index.cjs +1 -1
  103. package/dist/core/components/DatePicker/index.mjs +1 -1
  104. package/dist/core/components/Footer/index.cjs +1 -1
  105. package/dist/core/components/Footer/index.mjs +1 -1
  106. package/dist/core/components/Label/index.cjs +1 -1
  107. package/dist/core/components/Label/index.mjs +1 -1
  108. package/dist/core/components/NavBar/index.cjs +1 -1
  109. package/dist/core/components/NavBar/index.mjs +1 -1
  110. package/dist/core/components/Sidebar/index.cjs +1 -0
  111. package/dist/core/components/Sidebar/index.mjs +46 -0
  112. package/dist/core/components/Skeleton/index.cjs +1 -1
  113. package/dist/core/components/Skeleton/index.mjs +1 -1
  114. package/dist/core/components/Spacer/index.cjs +1 -1
  115. package/dist/core/components/Spacer/index.mjs +1 -1
  116. package/dist/core/components/Spinner/index.cjs +1 -1
  117. package/dist/core/components/Spinner/index.mjs +1 -1
  118. package/dist/core/components/Stack/index.cjs +1 -1
  119. package/dist/core/components/Stack/index.mjs +1 -1
  120. package/dist/core/components/Switch/index.cjs +1 -1
  121. package/dist/core/components/Switch/index.mjs +1 -1
  122. package/dist/core/components/Table/index.cjs +1 -1
  123. package/dist/core/components/Table/index.mjs +1 -1
  124. package/dist/core/components/Textarea/index.cjs +1 -1
  125. package/dist/core/components/Textarea/index.mjs +1 -1
  126. package/dist/core/components/Tooltip/index.cjs +1 -1
  127. package/dist/core/components/Tooltip/index.mjs +1 -1
  128. package/dist/core/utils/ThemeProvider/index.cjs +1 -1
  129. package/dist/core/utils/ThemeProvider/index.mjs +1 -1
  130. package/dist/core.cjs +1 -1
  131. package/dist/core.d.ts +40 -1
  132. package/dist/core.mjs +25 -23
  133. package/dist/{index-C6VbmPXf.cjs → index-Ch_zYffV.cjs} +1 -1
  134. package/dist/{index-WyOajBwb.js → index-CpANRidP.js} +1 -1
  135. package/dist/{index-D0nspsx2.js → index-D6WGLyk0.js} +1 -1
  136. package/dist/{index-BTdwmHrX.cjs → index-Dl97sr1m.cjs} +1 -1
  137. package/dist/main.cjs +1 -1
  138. package/dist/main.d.ts +40 -1
  139. package/dist/main.mjs +74 -72
  140. package/dist/next/blocks/DocumentListBlock/CategoryFilters.cjs +1 -1
  141. package/dist/next/blocks/DocumentListBlock/CategoryFilters.mjs +2 -2
  142. package/dist/next/blocks/DocumentListBlock/index.cjs +1 -1
  143. package/dist/next/blocks/DocumentListBlock/index.mjs +2 -2
  144. package/dist/next/blocks/HeroBlock/index.cjs +1 -1
  145. package/dist/next/blocks/HeroBlock/index.mjs +1 -1
  146. package/dist/next/blocks/TabsBlock/index.cjs +1 -1
  147. package/dist/next/blocks/TabsBlock/index.mjs +1 -1
  148. package/dist/next/blocks/WasHelpfulBlock/index.cjs +1 -1
  149. package/dist/next/blocks/WasHelpfulBlock/index.mjs +1 -1
  150. package/dist/next/cards/BlogArticleCard/index.cjs +1 -1
  151. package/dist/next/cards/BlogArticleCard/index.mjs +1 -1
  152. package/dist/next/cards/SpotlightCard/index.cjs +1 -1
  153. package/dist/next/cards/SpotlightCard/index.mjs +1 -1
  154. package/dist/next/ui/CallToAction/index.cjs +1 -1
  155. package/dist/next/ui/CallToAction/index.mjs +1 -1
  156. package/dist/next/ui/PortableTextRenderer/index.cjs +1 -1
  157. package/dist/next/ui/PortableTextRenderer/index.mjs +17 -22
  158. package/dist/styles.css +2 -0
  159. package/dist/styles.css.d.ts +769 -0
  160. package/package.json +1 -1
package/dist/core.d.ts CHANGED
@@ -40,6 +40,8 @@ declare type Alignment_2 = keyof typeof alignmentClassMap_2;
40
40
 
41
41
  declare type Alignment_3 = keyof typeof alignmentClassMap_3;
42
42
 
43
+ declare type Alignment_4 = keyof typeof alignmentClassMap_4;
44
+
43
45
  declare const alignmentClassMap: {
44
46
  readonly left: string;
45
47
  readonly center: string;
@@ -58,6 +60,11 @@ declare const alignmentClassMap_3: {
58
60
  readonly right: string;
59
61
  };
60
62
 
63
+ declare const alignmentClassMap_4: {
64
+ readonly left: string;
65
+ readonly right: string;
66
+ };
67
+
61
68
  declare type AnchorTypeProps = {
62
69
  as: "a";
63
70
  href: string;
@@ -815,7 +822,7 @@ declare type NavbarProps = {
815
822
  variant?: Variant_5;
816
823
  alignment: Alignment_3;
817
824
  className?: string;
818
- navigationType: "default" | "advanced";
825
+ navigationType: "default" | "advanced" | "sidebar";
819
826
  searchComponent?: default_2.ReactNode;
820
827
  localeSelectComponent?: default_2.ReactNode;
821
828
  };
@@ -841,6 +848,19 @@ export declare type NavItem = {
841
848
  iconAlignment?: "left" | "right" | undefined;
842
849
  };
843
850
 
851
+ declare type NavItem_2 = {
852
+ _key?: string;
853
+ label: string;
854
+ subtitle?: string;
855
+ description?: RichContent_2;
856
+ href?: string;
857
+ sublinks?: NavItem_2[];
858
+ isExternal?: boolean;
859
+ onClick?: () => void;
860
+ icon?: string;
861
+ iconAlignment?: "left" | "right" | undefined;
862
+ };
863
+
844
864
  declare function Notification_2({ message, variant, duration, onClose, className, }: NotificationProps): JSX.Element;
845
865
  export { Notification_2 as Notification }
846
866
 
@@ -958,6 +978,14 @@ export declare type RichContent = string | {
958
978
  content: any[];
959
979
  };
960
980
 
981
+ declare type RichContent_2 = string | {
982
+ type: "markdown";
983
+ content: string;
984
+ } | {
985
+ type: "portableText";
986
+ content: any[];
987
+ };
988
+
961
989
  declare type ScrollTypeProps = {
962
990
  as: "scroll";
963
991
  scrollTarget?: string;
@@ -977,6 +1005,17 @@ declare type SelectProps = {
977
1005
  className?: string;
978
1006
  };
979
1007
 
1008
+ export declare function Sidebar({ items, alignment, className, }: SidebarProps): JSX.Element;
1009
+
1010
+ declare type SidebarProps = {
1011
+ renderText?: (content?: RichContent_2, className?: string) => default_2.ReactNode;
1012
+ title?: string;
1013
+ items?: NavItem_2[];
1014
+ alignment: Alignment_4;
1015
+ className?: string;
1016
+ navigationType: "default" | "advanced" | "sidebar";
1017
+ };
1018
+
980
1019
  declare type Size = keyof typeof sizeClassMap;
981
1020
 
982
1021
  declare type Size_2 = keyof typeof sizeClassMap_2;
package/dist/core.mjs CHANGED
@@ -6,7 +6,7 @@ import { Badge as i } from "./core/components/Badge/index.mjs";
6
6
  import { Box as c } from "./core/components/Box/index.mjs";
7
7
  import { Breadcrumbs as d } from "./core/components/Breadcrumbs/index.mjs";
8
8
  import { ButtonGroup as B } from "./core/components/ButtonGroup/index.mjs";
9
- import { B as S } from "./index-WyOajBwb.js";
9
+ import { B as S } from "./index-CpANRidP.js";
10
10
  import { Card as T } from "./core/components/Card/index.mjs";
11
11
  import { Carousel as C } from "./core/components/Carousel/index.mjs";
12
12
  import { Checkbox as k } from "./core/components/Checkbox/index.mjs";
@@ -34,17 +34,18 @@ import { ProgressBar as co } from "./core/components/ProgressBar/index.mjs";
34
34
  import { Radio as uo } from "./core/components/Radio/index.mjs";
35
35
  import { Range as so } from "./core/components/Range/index.mjs";
36
36
  import { Select as bo } from "./core/components/Select/index.mjs";
37
- import { Skeleton as go } from "./core/components/Skeleton/index.mjs";
38
- import { Spacer as Fo } from "./core/components/Spacer/index.mjs";
39
- import { Spinner as vo } from "./core/components/Spinner/index.mjs";
40
- import { Stack as ho } from "./core/components/Stack/index.mjs";
41
- import { Switch as No } from "./core/components/Switch/index.mjs";
42
- import { Table as wo } from "./core/components/Table/index.mjs";
43
- import { Tabs as Io } from "./core/components/Tabs/index.mjs";
44
- import { Text as Mo } from "./core/components/Text/index.mjs";
45
- import { Textarea as Ho } from "./core/components/Textarea/index.mjs";
46
- import { Tooltip as jo } from "./core/components/Tooltip/index.mjs";
47
- import { ThemeProvider as yo } from "./core/utils/ThemeProvider/index.mjs";
37
+ import { Sidebar as go } from "./core/components/Sidebar/index.mjs";
38
+ import { Skeleton as Fo } from "./core/components/Skeleton/index.mjs";
39
+ import { Spacer as vo } from "./core/components/Spacer/index.mjs";
40
+ import { Spinner as ho } from "./core/components/Spinner/index.mjs";
41
+ import { Stack as No } from "./core/components/Stack/index.mjs";
42
+ import { Switch as wo } from "./core/components/Switch/index.mjs";
43
+ import { Table as Io } from "./core/components/Table/index.mjs";
44
+ import { Tabs as Mo } from "./core/components/Tabs/index.mjs";
45
+ import { Text as Ho } from "./core/components/Text/index.mjs";
46
+ import { Textarea as jo } from "./core/components/Textarea/index.mjs";
47
+ import { Tooltip as yo } from "./core/components/Tooltip/index.mjs";
48
+ import { ThemeProvider as Eo } from "./core/utils/ThemeProvider/index.mjs";
48
49
  export {
49
50
  t as Accordion,
50
51
  m as Alert,
@@ -81,15 +82,16 @@ export {
81
82
  uo as Radio,
82
83
  so as Range,
83
84
  bo as Select,
84
- go as Skeleton,
85
- Fo as Spacer,
86
- vo as Spinner,
87
- ho as Stack,
88
- No as Switch,
89
- wo as Table,
90
- Io as Tabs,
91
- Mo as Text,
92
- Ho as Textarea,
93
- yo as ThemeProvider,
94
- jo as Tooltip
85
+ go as Sidebar,
86
+ Fo as Skeleton,
87
+ vo as Spacer,
88
+ ho as Spinner,
89
+ No as Stack,
90
+ wo as Switch,
91
+ Io as Table,
92
+ Mo as Tabs,
93
+ Ho as Text,
94
+ jo as Textarea,
95
+ Eo as ThemeProvider,
96
+ yo as Tooltip
95
97
  };
@@ -1,4 +1,4 @@
1
- "use strict";require('./assets/index70.css');const e=require("react/jsx-runtime"),g=require("react"),_=require("./index-CBK5rp6X.cjs"),o=require("./createLucideIcon-DpotSgUx.cjs"),$=require("./external-link-DDShu-48.cjs"),w=require("./play-CQBnZgNa.cjs"),q=require("./chevron-down-DfK1XBl3.cjs"),M=require("./arrow-right-DO6S4vfx.cjs"),N=require("./arrow-left-4E3t8axP.cjs");/**
1
+ "use strict";require('./assets/index71.css');const e=require("react/jsx-runtime"),g=require("react"),_=require("./index-CBK5rp6X.cjs"),o=require("./createLucideIcon-DpotSgUx.cjs"),$=require("./external-link-DDShu-48.cjs"),w=require("./play-CQBnZgNa.cjs"),q=require("./chevron-down-DfK1XBl3.cjs"),M=require("./arrow-right-DO6S4vfx.cjs"),N=require("./arrow-left-4E3t8axP.cjs");/**
2
2
  * @license lucide-react v0.488.0 - ISC
3
3
  *
4
4
  * This source code is licensed under the ISC license.
@@ -7,7 +7,7 @@ import { P as E } from "./play-DYgKiSaf.js";
7
7
  import { C as R } from "./chevron-down-DSUzBz9F.js";
8
8
  import { A } from "./arrow-right-QEwnX3Sk.js";
9
9
  import { A as C } from "./arrow-left-BIJvHwNQ.js";
10
- import './assets/index70.css';/**
10
+ import './assets/index71.css';/**
11
11
  * @license lucide-react v0.488.0 - ISC
12
12
  *
13
13
  * This source code is licensed under the ISC license.
@@ -3,7 +3,7 @@ import { useState as J } from "react";
3
3
  import { IconButton as C } from "./core/components/IconButton/index.mjs";
4
4
  import { A as z } from "./arrow-left-BIJvHwNQ.js";
5
5
  import { A as U } from "./arrow-right-QEwnX3Sk.js";
6
- import './assets/index71.css';const G = 6048e5, K = 864e5, j = Symbol.for("constructDateFrom");
6
+ import './assets/index72.css';const G = 6048e5, K = 864e5, j = Symbol.for("constructDateFrom");
7
7
  function y(t, e) {
8
8
  return typeof t == "function" ? t(e) : t && typeof t == "object" && j in t ? t[j](e) : t instanceof Date ? new t.constructor(e) : new Date(e);
9
9
  }
@@ -1 +1 @@
1
- "use strict";require('./assets/index71.css');const w=require("react/jsx-runtime"),$=require("react"),E=require("./core/components/IconButton/index.cjs"),J=require("./arrow-left-4E3t8axP.cjs"),z=require("./arrow-right-DO6S4vfx.cjs"),R=6048e5,U=864e5,C=Symbol.for("constructDateFrom");function b(t,e){return typeof t=="function"?t(e):t&&typeof t=="object"&&C in t?t[C](e):t instanceof Date?new t.constructor(e):new Date(e)}function m(t,e){return b(e||t,t)}function j(t,e,n){const r=m(t,n==null?void 0:n.in);return isNaN(e)?b(t,NaN):(e&&r.setDate(r.getDate()+e),r)}function I(t,e,n){const r=m(t,n==null?void 0:n.in);if(isNaN(e))return b(t,NaN);if(!e)return r;const a=r.getDate(),i=b(t,r.getTime());i.setMonth(r.getMonth()+e+1,0);const s=i.getDate();return a>=s?i:(r.setFullYear(i.getFullYear(),i.getMonth(),a),r)}let K={};function _(){return K}function k(t,e){var o,d,u,h;const n=_(),r=(e==null?void 0:e.weekStartsOn)??((d=(o=e==null?void 0:e.locale)==null?void 0:o.options)==null?void 0:d.weekStartsOn)??n.weekStartsOn??((h=(u=n.locale)==null?void 0:u.options)==null?void 0:h.weekStartsOn)??0,a=m(t,e==null?void 0:e.in),i=a.getDay(),s=(i<r?7:0)+i-r;return a.setDate(a.getDate()-s),a.setHours(0,0,0,0),a}function Y(t,e){return k(t,{...e,weekStartsOn:1})}function G(t,e){const n=m(t,e==null?void 0:e.in),r=n.getFullYear(),a=b(n,0);a.setFullYear(r+1,0,4),a.setHours(0,0,0,0);const i=Y(a),s=b(n,0);s.setFullYear(r,0,4),s.setHours(0,0,0,0);const o=Y(s);return n.getTime()>=i.getTime()?r+1:n.getTime()>=o.getTime()?r:r-1}function H(t){const e=m(t),n=new Date(Date.UTC(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()));return n.setUTCFullYear(e.getFullYear()),+t-+n}function F(t,...e){const n=b.bind(null,e.find(r=>typeof r=="object"));return e.map(n)}function q(t,e){const n=m(t,e==null?void 0:e.in);return n.setHours(0,0,0,0),n}function Z(t,e,n){const[r,a]=F(n==null?void 0:n.in,t,e),i=q(r),s=q(a),o=+i-H(i),d=+s-H(s);return Math.round((o-d)/U)}function p(t,e){const n=G(t,e),r=b(t,0);return r.setFullYear(n,0,4),r.setHours(0,0,0,0),Y(r)}function ee(t,e,n){const[r,a]=F(n==null?void 0:n.in,t,e);return+q(r)==+q(a)}function te(t){return t instanceof Date||typeof t=="object"&&Object.prototype.toString.call(t)==="[object Date]"}function ne(t){return!(!te(t)&&typeof t!="number"||isNaN(+m(t)))}function re(t,e){const n=m(t,e==null?void 0:e.in),r=n.getMonth();return n.setFullYear(n.getFullYear(),r+1,0),n.setHours(23,59,59,999),n}function ae(t,e){const n=m(t,e==null?void 0:e.in);return n.setDate(1),n.setHours(0,0,0,0),n}function ie(t,e){const n=m(t,e==null?void 0:e.in);return n.setFullYear(n.getFullYear(),0,1),n.setHours(0,0,0,0),n}const se={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},oe=(t,e,n)=>{let r;const a=se[t];return typeof a=="string"?r=a:e===1?r=a.one:r=a.other.replace("{{count}}",e.toString()),n!=null&&n.addSuffix?n.comparison&&n.comparison>0?"in "+r:r+" ago":r};function N(t){return(e={})=>{const n=e.width?String(e.width):t.defaultWidth;return t.formats[n]||t.formats[t.defaultWidth]}}const ce={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},ue={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},de={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},he={date:N({formats:ce,defaultWidth:"full"}),time:N({formats:ue,defaultWidth:"full"}),dateTime:N({formats:de,defaultWidth:"full"})},fe={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},le=(t,e,n,r)=>fe[t];function v(t){return(e,n)=>{const r=n!=null&&n.context?String(n.context):"standalone";let a;if(r==="formatting"&&t.formattingValues){const s=t.defaultFormattingWidth||t.defaultWidth,o=n!=null&&n.width?String(n.width):s;a=t.formattingValues[o]||t.formattingValues[s]}else{const s=t.defaultWidth,o=n!=null&&n.width?String(n.width):t.defaultWidth;a=t.values[o]||t.values[s]}const i=t.argumentCallback?t.argumentCallback(e):e;return a[i]}}const me={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},ge={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},we={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},ye={narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},be={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},Me={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},Oe=(t,e)=>{const n=Number(t),r=n%100;if(r>20||r<10)switch(r%10){case 1:return n+"st";case 2:return n+"nd";case 3:return n+"rd"}return n+"th"},Pe={ordinalNumber:Oe,era:v({values:me,defaultWidth:"wide"}),quarter:v({values:ge,defaultWidth:"wide",argumentCallback:t=>t-1}),month:v({values:we,defaultWidth:"wide"}),day:v({values:ye,defaultWidth:"wide"}),dayPeriod:v({values:be,defaultWidth:"wide",formattingValues:Me,defaultFormattingWidth:"wide"})};function S(t){return(e,n={})=>{const r=n.width,a=r&&t.matchPatterns[r]||t.matchPatterns[t.defaultMatchWidth],i=e.match(a);if(!i)return null;const s=i[0],o=r&&t.parsePatterns[r]||t.parsePatterns[t.defaultParseWidth],d=Array.isArray(o)?ke(o,g=>g.test(s)):xe(o,g=>g.test(s));let u;u=t.valueCallback?t.valueCallback(d):d,u=n.valueCallback?n.valueCallback(u):u;const h=e.slice(s.length);return{value:u,rest:h}}}function xe(t,e){for(const n in t)if(Object.prototype.hasOwnProperty.call(t,n)&&e(t[n]))return n}function ke(t,e){for(let n=0;n<t.length;n++)if(e(t[n]))return n}function De(t){return(e,n={})=>{const r=e.match(t.matchPattern);if(!r)return null;const a=r[0],i=e.match(t.parsePattern);if(!i)return null;let s=t.valueCallback?t.valueCallback(i[0]):i[0];s=n.valueCallback?n.valueCallback(s):s;const o=e.slice(a.length);return{value:s,rest:o}}}const ve=/^(\d+)(th|st|nd|rd)?/i,Se=/\d+/i,We={narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},Ye={any:[/^b/i,/^(a|c)/i]},qe={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},_e={any:[/1/i,/2/i,/3/i,/4/i]},Te={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},Ne={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},Fe={narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},Ee={narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},Ce={narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},je={any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},He={ordinalNumber:De({matchPattern:ve,parsePattern:Se,valueCallback:t=>parseInt(t,10)}),era:S({matchPatterns:We,defaultMatchWidth:"wide",parsePatterns:Ye,defaultParseWidth:"any"}),quarter:S({matchPatterns:qe,defaultMatchWidth:"wide",parsePatterns:_e,defaultParseWidth:"any",valueCallback:t=>t+1}),month:S({matchPatterns:Te,defaultMatchWidth:"wide",parsePatterns:Ne,defaultParseWidth:"any"}),day:S({matchPatterns:Fe,defaultMatchWidth:"wide",parsePatterns:Ee,defaultParseWidth:"any"}),dayPeriod:S({matchPatterns:Ce,defaultMatchWidth:"any",parsePatterns:je,defaultParseWidth:"any"})},Le={code:"en-US",formatDistance:oe,formatLong:he,formatRelative:le,localize:Pe,match:He,options:{weekStartsOn:0,firstWeekContainsDate:1}};function Qe(t,e){const n=m(t,e==null?void 0:e.in);return Z(n,ie(n))+1}function Xe(t,e){const n=m(t,e==null?void 0:e.in),r=+Y(n)-+p(n);return Math.round(r/R)+1}function A(t,e){var h,g,O,y;const n=m(t,e==null?void 0:e.in),r=n.getFullYear(),a=_(),i=(e==null?void 0:e.firstWeekContainsDate)??((g=(h=e==null?void 0:e.locale)==null?void 0:h.options)==null?void 0:g.firstWeekContainsDate)??a.firstWeekContainsDate??((y=(O=a.locale)==null?void 0:O.options)==null?void 0:y.firstWeekContainsDate)??1,s=b((e==null?void 0:e.in)||t,0);s.setFullYear(r+1,0,i),s.setHours(0,0,0,0);const o=k(s,e),d=b((e==null?void 0:e.in)||t,0);d.setFullYear(r,0,i),d.setHours(0,0,0,0);const u=k(d,e);return+n>=+o?r+1:+n>=+u?r:r-1}function Be(t,e){var o,d,u,h;const n=_(),r=(e==null?void 0:e.firstWeekContainsDate)??((d=(o=e==null?void 0:e.locale)==null?void 0:o.options)==null?void 0:d.firstWeekContainsDate)??n.firstWeekContainsDate??((h=(u=n.locale)==null?void 0:u.options)==null?void 0:h.firstWeekContainsDate)??1,a=A(t,e),i=b((e==null?void 0:e.in)||t,0);return i.setFullYear(a,0,r),i.setHours(0,0,0,0),k(i,e)}function Re(t,e){const n=m(t,e==null?void 0:e.in),r=+k(n,e)-+Be(n,e);return Math.round(r/R)+1}function c(t,e){const n=t<0?"-":"",r=Math.abs(t).toString().padStart(e,"0");return n+r}const P={y(t,e){const n=t.getFullYear(),r=n>0?n:1-n;return c(e==="yy"?r%100:r,e.length)},M(t,e){const n=t.getMonth();return e==="M"?String(n+1):c(n+1,2)},d(t,e){return c(t.getDate(),e.length)},a(t,e){const n=t.getHours()/12>=1?"pm":"am";switch(e){case"a":case"aa":return n.toUpperCase();case"aaa":return n;case"aaaaa":return n[0];case"aaaa":default:return n==="am"?"a.m.":"p.m."}},h(t,e){return c(t.getHours()%12||12,e.length)},H(t,e){return c(t.getHours(),e.length)},m(t,e){return c(t.getMinutes(),e.length)},s(t,e){return c(t.getSeconds(),e.length)},S(t,e){const n=e.length,r=t.getMilliseconds(),a=Math.trunc(r*Math.pow(10,n-3));return c(a,e.length)}},D={midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},L={G:function(t,e,n){const r=t.getFullYear()>0?1:0;switch(e){case"G":case"GG":case"GGG":return n.era(r,{width:"abbreviated"});case"GGGGG":return n.era(r,{width:"narrow"});case"GGGG":default:return n.era(r,{width:"wide"})}},y:function(t,e,n){if(e==="yo"){const r=t.getFullYear(),a=r>0?r:1-r;return n.ordinalNumber(a,{unit:"year"})}return P.y(t,e)},Y:function(t,e,n,r){const a=A(t,r),i=a>0?a:1-a;if(e==="YY"){const s=i%100;return c(s,2)}return e==="Yo"?n.ordinalNumber(i,{unit:"year"}):c(i,e.length)},R:function(t,e){const n=G(t);return c(n,e.length)},u:function(t,e){const n=t.getFullYear();return c(n,e.length)},Q:function(t,e,n){const r=Math.ceil((t.getMonth()+1)/3);switch(e){case"Q":return String(r);case"QQ":return c(r,2);case"Qo":return n.ordinalNumber(r,{unit:"quarter"});case"QQQ":return n.quarter(r,{width:"abbreviated",context:"formatting"});case"QQQQQ":return n.quarter(r,{width:"narrow",context:"formatting"});case"QQQQ":default:return n.quarter(r,{width:"wide",context:"formatting"})}},q:function(t,e,n){const r=Math.ceil((t.getMonth()+1)/3);switch(e){case"q":return String(r);case"qq":return c(r,2);case"qo":return n.ordinalNumber(r,{unit:"quarter"});case"qqq":return n.quarter(r,{width:"abbreviated",context:"standalone"});case"qqqqq":return n.quarter(r,{width:"narrow",context:"standalone"});case"qqqq":default:return n.quarter(r,{width:"wide",context:"standalone"})}},M:function(t,e,n){const r=t.getMonth();switch(e){case"M":case"MM":return P.M(t,e);case"Mo":return n.ordinalNumber(r+1,{unit:"month"});case"MMM":return n.month(r,{width:"abbreviated",context:"formatting"});case"MMMMM":return n.month(r,{width:"narrow",context:"formatting"});case"MMMM":default:return n.month(r,{width:"wide",context:"formatting"})}},L:function(t,e,n){const r=t.getMonth();switch(e){case"L":return String(r+1);case"LL":return c(r+1,2);case"Lo":return n.ordinalNumber(r+1,{unit:"month"});case"LLL":return n.month(r,{width:"abbreviated",context:"standalone"});case"LLLLL":return n.month(r,{width:"narrow",context:"standalone"});case"LLLL":default:return n.month(r,{width:"wide",context:"standalone"})}},w:function(t,e,n,r){const a=Re(t,r);return e==="wo"?n.ordinalNumber(a,{unit:"week"}):c(a,e.length)},I:function(t,e,n){const r=Xe(t);return e==="Io"?n.ordinalNumber(r,{unit:"week"}):c(r,e.length)},d:function(t,e,n){return e==="do"?n.ordinalNumber(t.getDate(),{unit:"date"}):P.d(t,e)},D:function(t,e,n){const r=Qe(t);return e==="Do"?n.ordinalNumber(r,{unit:"dayOfYear"}):c(r,e.length)},E:function(t,e,n){const r=t.getDay();switch(e){case"E":case"EE":case"EEE":return n.day(r,{width:"abbreviated",context:"formatting"});case"EEEEE":return n.day(r,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(r,{width:"short",context:"formatting"});case"EEEE":default:return n.day(r,{width:"wide",context:"formatting"})}},e:function(t,e,n,r){const a=t.getDay(),i=(a-r.weekStartsOn+8)%7||7;switch(e){case"e":return String(i);case"ee":return c(i,2);case"eo":return n.ordinalNumber(i,{unit:"day"});case"eee":return n.day(a,{width:"abbreviated",context:"formatting"});case"eeeee":return n.day(a,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(a,{width:"short",context:"formatting"});case"eeee":default:return n.day(a,{width:"wide",context:"formatting"})}},c:function(t,e,n,r){const a=t.getDay(),i=(a-r.weekStartsOn+8)%7||7;switch(e){case"c":return String(i);case"cc":return c(i,e.length);case"co":return n.ordinalNumber(i,{unit:"day"});case"ccc":return n.day(a,{width:"abbreviated",context:"standalone"});case"ccccc":return n.day(a,{width:"narrow",context:"standalone"});case"cccccc":return n.day(a,{width:"short",context:"standalone"});case"cccc":default:return n.day(a,{width:"wide",context:"standalone"})}},i:function(t,e,n){const r=t.getDay(),a=r===0?7:r;switch(e){case"i":return String(a);case"ii":return c(a,e.length);case"io":return n.ordinalNumber(a,{unit:"day"});case"iii":return n.day(r,{width:"abbreviated",context:"formatting"});case"iiiii":return n.day(r,{width:"narrow",context:"formatting"});case"iiiiii":return n.day(r,{width:"short",context:"formatting"});case"iiii":default:return n.day(r,{width:"wide",context:"formatting"})}},a:function(t,e,n){const a=t.getHours()/12>=1?"pm":"am";switch(e){case"a":case"aa":return n.dayPeriod(a,{width:"abbreviated",context:"formatting"});case"aaa":return n.dayPeriod(a,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return n.dayPeriod(a,{width:"narrow",context:"formatting"});case"aaaa":default:return n.dayPeriod(a,{width:"wide",context:"formatting"})}},b:function(t,e,n){const r=t.getHours();let a;switch(r===12?a=D.noon:r===0?a=D.midnight:a=r/12>=1?"pm":"am",e){case"b":case"bb":return n.dayPeriod(a,{width:"abbreviated",context:"formatting"});case"bbb":return n.dayPeriod(a,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return n.dayPeriod(a,{width:"narrow",context:"formatting"});case"bbbb":default:return n.dayPeriod(a,{width:"wide",context:"formatting"})}},B:function(t,e,n){const r=t.getHours();let a;switch(r>=17?a=D.evening:r>=12?a=D.afternoon:r>=4?a=D.morning:a=D.night,e){case"B":case"BB":case"BBB":return n.dayPeriod(a,{width:"abbreviated",context:"formatting"});case"BBBBB":return n.dayPeriod(a,{width:"narrow",context:"formatting"});case"BBBB":default:return n.dayPeriod(a,{width:"wide",context:"formatting"})}},h:function(t,e,n){if(e==="ho"){let r=t.getHours()%12;return r===0&&(r=12),n.ordinalNumber(r,{unit:"hour"})}return P.h(t,e)},H:function(t,e,n){return e==="Ho"?n.ordinalNumber(t.getHours(),{unit:"hour"}):P.H(t,e)},K:function(t,e,n){const r=t.getHours()%12;return e==="Ko"?n.ordinalNumber(r,{unit:"hour"}):c(r,e.length)},k:function(t,e,n){let r=t.getHours();return r===0&&(r=24),e==="ko"?n.ordinalNumber(r,{unit:"hour"}):c(r,e.length)},m:function(t,e,n){return e==="mo"?n.ordinalNumber(t.getMinutes(),{unit:"minute"}):P.m(t,e)},s:function(t,e,n){return e==="so"?n.ordinalNumber(t.getSeconds(),{unit:"second"}):P.s(t,e)},S:function(t,e){return P.S(t,e)},X:function(t,e,n){const r=t.getTimezoneOffset();if(r===0)return"Z";switch(e){case"X":return X(r);case"XXXX":case"XX":return x(r);case"XXXXX":case"XXX":default:return x(r,":")}},x:function(t,e,n){const r=t.getTimezoneOffset();switch(e){case"x":return X(r);case"xxxx":case"xx":return x(r);case"xxxxx":case"xxx":default:return x(r,":")}},O:function(t,e,n){const r=t.getTimezoneOffset();switch(e){case"O":case"OO":case"OOO":return"GMT"+Q(r,":");case"OOOO":default:return"GMT"+x(r,":")}},z:function(t,e,n){const r=t.getTimezoneOffset();switch(e){case"z":case"zz":case"zzz":return"GMT"+Q(r,":");case"zzzz":default:return"GMT"+x(r,":")}},t:function(t,e,n){const r=Math.trunc(+t/1e3);return c(r,e.length)},T:function(t,e,n){return c(+t,e.length)}};function Q(t,e=""){const n=t>0?"-":"+",r=Math.abs(t),a=Math.trunc(r/60),i=r%60;return i===0?n+String(a):n+String(a)+e+c(i,2)}function X(t,e){return t%60===0?(t>0?"-":"+")+c(Math.abs(t)/60,2):x(t,e)}function x(t,e=""){const n=t>0?"-":"+",r=Math.abs(t),a=c(Math.trunc(r/60),2),i=c(r%60,2);return n+a+e+i}const B=(t,e)=>{switch(t){case"P":return e.date({width:"short"});case"PP":return e.date({width:"medium"});case"PPP":return e.date({width:"long"});case"PPPP":default:return e.date({width:"full"})}},V=(t,e)=>{switch(t){case"p":return e.time({width:"short"});case"pp":return e.time({width:"medium"});case"ppp":return e.time({width:"long"});case"pppp":default:return e.time({width:"full"})}},Ie=(t,e)=>{const n=t.match(/(P+)(p+)?/)||[],r=n[1],a=n[2];if(!a)return B(t,e);let i;switch(r){case"P":i=e.dateTime({width:"short"});break;case"PP":i=e.dateTime({width:"medium"});break;case"PPP":i=e.dateTime({width:"long"});break;case"PPPP":default:i=e.dateTime({width:"full"});break}return i.replace("{{date}}",B(r,e)).replace("{{time}}",V(a,e))},Ge={p:V,P:Ie},Ae=/^D+$/,Ve=/^Y+$/,$e=["D","DD","YY","YYYY"];function Je(t){return Ae.test(t)}function ze(t){return Ve.test(t)}function Ue(t,e,n){const r=Ke(t,e,n);if(console.warn(r),$e.includes(t))throw new RangeError(r)}function Ke(t,e,n){const r=t[0]==="Y"?"years":"days of the month";return`Use \`${t.toLowerCase()}\` instead of \`${t}\` (in \`${e}\`) for formatting ${r} to the input \`${n}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`}const Ze=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,pe=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,et=/^'([^]*?)'?$/,tt=/''/g,nt=/[a-zA-Z]/;function W(t,e,n){var h,g,O,y;const r=_(),a=r.locale??Le,i=r.firstWeekContainsDate??((g=(h=r.locale)==null?void 0:h.options)==null?void 0:g.firstWeekContainsDate)??1,s=r.weekStartsOn??((y=(O=r.locale)==null?void 0:O.options)==null?void 0:y.weekStartsOn)??0,o=m(t,n==null?void 0:n.in);if(!ne(o))throw new RangeError("Invalid time value");let d=e.match(pe).map(l=>{const f=l[0];if(f==="p"||f==="P"){const T=Ge[f];return T(l,a.formatLong)}return l}).join("").match(Ze).map(l=>{if(l==="''")return{isToken:!1,value:"'"};const f=l[0];if(f==="'")return{isToken:!1,value:rt(l)};if(L[f])return{isToken:!0,value:l};if(f.match(nt))throw new RangeError("Format string contains an unescaped latin alphabet character `"+f+"`");return{isToken:!1,value:l}});a.localize.preprocessor&&(d=a.localize.preprocessor(o,d));const u={firstWeekContainsDate:i,weekStartsOn:s,locale:a};return d.map(l=>{if(!l.isToken)return l.value;const f=l.value;(ze(f)||Je(f))&&Ue(f,e,String(t));const T=L[f[0]];return T(o,f,a.localize,u)}).join("")}function rt(t){const e=t.match(et);return e?e[1].replace(tt,"'"):t}function at(t,e,n){const[r,a]=F(n==null?void 0:n.in,t,e);return r.getFullYear()===a.getFullYear()&&r.getMonth()===a.getMonth()}function it(t,e,n){return I(t,-1,n)}const st="_calendar_1q8jq_1",ot="_header_1q8jq_7",ct="_dayName_1q8jq_13",ut="_monthName_1q8jq_22",dt="_week_1q8jq_27",ht="_cell_1q8jq_33",ft="_outside_1q8jq_44",lt="_selected_1q8jq_48",M={calendar:st,header:ot,dayName:ct,monthName:ut,week:dt,cell:ht,outside:ft,selected:lt};function mt({selectedDate:t,onSelectDate:e}){const[n,r]=$.useState(t??new Date),a=()=>w.jsxs("div",{className:M.header,children:[w.jsx(E.IconButton,{type:"button",icon:w.jsx(J.ArrowLeft,{size:21}),size:"sm",intent:"accent",srOnlyLabel:"Decrease month number",onClick:()=>r(it(n))}),w.jsx("span",{className:M.monthName,children:W(n,"MMMM yyyy")}),w.jsx(E.IconButton,{type:"button",icon:w.jsx(z.ArrowRight,{size:21}),size:"sm",intent:"accent",srOnlyLabel:"Increase month number",onClick:()=>r(I(n,1))})]}),i=()=>{const o=[],d=k(n,{weekStartsOn:0});for(let u=0;u<7;u++)o.push(w.jsx("div",{className:M.dayName,children:W(j(d,u),"EEE")},u));return w.jsx("div",{className:M.week,children:o})},s=()=>{const o=ae(n),d=k(o,{weekStartsOn:0}),u=[];let h=d;for(;h<=re(n)||u.length<6;){const g=[];for(let O=0;O<7;O++){const y=h,l=at(y,n),f=t&&ee(y,t);g.push(w.jsx("button",{type:"button",className:`${M.cell} ${l?"":M.outside} ${f?M.selected:""}`,onClick:()=>e(new Date(y)),children:W(y,"d")},y.toISOString())),h=j(h,1)}u.push(w.jsx("div",{className:M.week,children:g},h.toISOString()))}return w.jsx("div",{children:u})};return w.jsxs("div",{className:M.calendar,children:[a(),i(),s()]})}exports.Calendar=mt;exports.format=W;
1
+ "use strict";require('./assets/index72.css');const w=require("react/jsx-runtime"),$=require("react"),E=require("./core/components/IconButton/index.cjs"),J=require("./arrow-left-4E3t8axP.cjs"),z=require("./arrow-right-DO6S4vfx.cjs"),R=6048e5,U=864e5,C=Symbol.for("constructDateFrom");function b(t,e){return typeof t=="function"?t(e):t&&typeof t=="object"&&C in t?t[C](e):t instanceof Date?new t.constructor(e):new Date(e)}function m(t,e){return b(e||t,t)}function j(t,e,n){const r=m(t,n==null?void 0:n.in);return isNaN(e)?b(t,NaN):(e&&r.setDate(r.getDate()+e),r)}function I(t,e,n){const r=m(t,n==null?void 0:n.in);if(isNaN(e))return b(t,NaN);if(!e)return r;const a=r.getDate(),i=b(t,r.getTime());i.setMonth(r.getMonth()+e+1,0);const s=i.getDate();return a>=s?i:(r.setFullYear(i.getFullYear(),i.getMonth(),a),r)}let K={};function _(){return K}function k(t,e){var o,d,u,h;const n=_(),r=(e==null?void 0:e.weekStartsOn)??((d=(o=e==null?void 0:e.locale)==null?void 0:o.options)==null?void 0:d.weekStartsOn)??n.weekStartsOn??((h=(u=n.locale)==null?void 0:u.options)==null?void 0:h.weekStartsOn)??0,a=m(t,e==null?void 0:e.in),i=a.getDay(),s=(i<r?7:0)+i-r;return a.setDate(a.getDate()-s),a.setHours(0,0,0,0),a}function Y(t,e){return k(t,{...e,weekStartsOn:1})}function G(t,e){const n=m(t,e==null?void 0:e.in),r=n.getFullYear(),a=b(n,0);a.setFullYear(r+1,0,4),a.setHours(0,0,0,0);const i=Y(a),s=b(n,0);s.setFullYear(r,0,4),s.setHours(0,0,0,0);const o=Y(s);return n.getTime()>=i.getTime()?r+1:n.getTime()>=o.getTime()?r:r-1}function H(t){const e=m(t),n=new Date(Date.UTC(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()));return n.setUTCFullYear(e.getFullYear()),+t-+n}function F(t,...e){const n=b.bind(null,e.find(r=>typeof r=="object"));return e.map(n)}function q(t,e){const n=m(t,e==null?void 0:e.in);return n.setHours(0,0,0,0),n}function Z(t,e,n){const[r,a]=F(n==null?void 0:n.in,t,e),i=q(r),s=q(a),o=+i-H(i),d=+s-H(s);return Math.round((o-d)/U)}function p(t,e){const n=G(t,e),r=b(t,0);return r.setFullYear(n,0,4),r.setHours(0,0,0,0),Y(r)}function ee(t,e,n){const[r,a]=F(n==null?void 0:n.in,t,e);return+q(r)==+q(a)}function te(t){return t instanceof Date||typeof t=="object"&&Object.prototype.toString.call(t)==="[object Date]"}function ne(t){return!(!te(t)&&typeof t!="number"||isNaN(+m(t)))}function re(t,e){const n=m(t,e==null?void 0:e.in),r=n.getMonth();return n.setFullYear(n.getFullYear(),r+1,0),n.setHours(23,59,59,999),n}function ae(t,e){const n=m(t,e==null?void 0:e.in);return n.setDate(1),n.setHours(0,0,0,0),n}function ie(t,e){const n=m(t,e==null?void 0:e.in);return n.setFullYear(n.getFullYear(),0,1),n.setHours(0,0,0,0),n}const se={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},oe=(t,e,n)=>{let r;const a=se[t];return typeof a=="string"?r=a:e===1?r=a.one:r=a.other.replace("{{count}}",e.toString()),n!=null&&n.addSuffix?n.comparison&&n.comparison>0?"in "+r:r+" ago":r};function N(t){return(e={})=>{const n=e.width?String(e.width):t.defaultWidth;return t.formats[n]||t.formats[t.defaultWidth]}}const ce={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},ue={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},de={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},he={date:N({formats:ce,defaultWidth:"full"}),time:N({formats:ue,defaultWidth:"full"}),dateTime:N({formats:de,defaultWidth:"full"})},fe={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},le=(t,e,n,r)=>fe[t];function v(t){return(e,n)=>{const r=n!=null&&n.context?String(n.context):"standalone";let a;if(r==="formatting"&&t.formattingValues){const s=t.defaultFormattingWidth||t.defaultWidth,o=n!=null&&n.width?String(n.width):s;a=t.formattingValues[o]||t.formattingValues[s]}else{const s=t.defaultWidth,o=n!=null&&n.width?String(n.width):t.defaultWidth;a=t.values[o]||t.values[s]}const i=t.argumentCallback?t.argumentCallback(e):e;return a[i]}}const me={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},ge={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},we={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},ye={narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},be={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},Me={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},Oe=(t,e)=>{const n=Number(t),r=n%100;if(r>20||r<10)switch(r%10){case 1:return n+"st";case 2:return n+"nd";case 3:return n+"rd"}return n+"th"},Pe={ordinalNumber:Oe,era:v({values:me,defaultWidth:"wide"}),quarter:v({values:ge,defaultWidth:"wide",argumentCallback:t=>t-1}),month:v({values:we,defaultWidth:"wide"}),day:v({values:ye,defaultWidth:"wide"}),dayPeriod:v({values:be,defaultWidth:"wide",formattingValues:Me,defaultFormattingWidth:"wide"})};function S(t){return(e,n={})=>{const r=n.width,a=r&&t.matchPatterns[r]||t.matchPatterns[t.defaultMatchWidth],i=e.match(a);if(!i)return null;const s=i[0],o=r&&t.parsePatterns[r]||t.parsePatterns[t.defaultParseWidth],d=Array.isArray(o)?ke(o,g=>g.test(s)):xe(o,g=>g.test(s));let u;u=t.valueCallback?t.valueCallback(d):d,u=n.valueCallback?n.valueCallback(u):u;const h=e.slice(s.length);return{value:u,rest:h}}}function xe(t,e){for(const n in t)if(Object.prototype.hasOwnProperty.call(t,n)&&e(t[n]))return n}function ke(t,e){for(let n=0;n<t.length;n++)if(e(t[n]))return n}function De(t){return(e,n={})=>{const r=e.match(t.matchPattern);if(!r)return null;const a=r[0],i=e.match(t.parsePattern);if(!i)return null;let s=t.valueCallback?t.valueCallback(i[0]):i[0];s=n.valueCallback?n.valueCallback(s):s;const o=e.slice(a.length);return{value:s,rest:o}}}const ve=/^(\d+)(th|st|nd|rd)?/i,Se=/\d+/i,We={narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},Ye={any:[/^b/i,/^(a|c)/i]},qe={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},_e={any:[/1/i,/2/i,/3/i,/4/i]},Te={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},Ne={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},Fe={narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},Ee={narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},Ce={narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},je={any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},He={ordinalNumber:De({matchPattern:ve,parsePattern:Se,valueCallback:t=>parseInt(t,10)}),era:S({matchPatterns:We,defaultMatchWidth:"wide",parsePatterns:Ye,defaultParseWidth:"any"}),quarter:S({matchPatterns:qe,defaultMatchWidth:"wide",parsePatterns:_e,defaultParseWidth:"any",valueCallback:t=>t+1}),month:S({matchPatterns:Te,defaultMatchWidth:"wide",parsePatterns:Ne,defaultParseWidth:"any"}),day:S({matchPatterns:Fe,defaultMatchWidth:"wide",parsePatterns:Ee,defaultParseWidth:"any"}),dayPeriod:S({matchPatterns:Ce,defaultMatchWidth:"any",parsePatterns:je,defaultParseWidth:"any"})},Le={code:"en-US",formatDistance:oe,formatLong:he,formatRelative:le,localize:Pe,match:He,options:{weekStartsOn:0,firstWeekContainsDate:1}};function Qe(t,e){const n=m(t,e==null?void 0:e.in);return Z(n,ie(n))+1}function Xe(t,e){const n=m(t,e==null?void 0:e.in),r=+Y(n)-+p(n);return Math.round(r/R)+1}function A(t,e){var h,g,O,y;const n=m(t,e==null?void 0:e.in),r=n.getFullYear(),a=_(),i=(e==null?void 0:e.firstWeekContainsDate)??((g=(h=e==null?void 0:e.locale)==null?void 0:h.options)==null?void 0:g.firstWeekContainsDate)??a.firstWeekContainsDate??((y=(O=a.locale)==null?void 0:O.options)==null?void 0:y.firstWeekContainsDate)??1,s=b((e==null?void 0:e.in)||t,0);s.setFullYear(r+1,0,i),s.setHours(0,0,0,0);const o=k(s,e),d=b((e==null?void 0:e.in)||t,0);d.setFullYear(r,0,i),d.setHours(0,0,0,0);const u=k(d,e);return+n>=+o?r+1:+n>=+u?r:r-1}function Be(t,e){var o,d,u,h;const n=_(),r=(e==null?void 0:e.firstWeekContainsDate)??((d=(o=e==null?void 0:e.locale)==null?void 0:o.options)==null?void 0:d.firstWeekContainsDate)??n.firstWeekContainsDate??((h=(u=n.locale)==null?void 0:u.options)==null?void 0:h.firstWeekContainsDate)??1,a=A(t,e),i=b((e==null?void 0:e.in)||t,0);return i.setFullYear(a,0,r),i.setHours(0,0,0,0),k(i,e)}function Re(t,e){const n=m(t,e==null?void 0:e.in),r=+k(n,e)-+Be(n,e);return Math.round(r/R)+1}function c(t,e){const n=t<0?"-":"",r=Math.abs(t).toString().padStart(e,"0");return n+r}const P={y(t,e){const n=t.getFullYear(),r=n>0?n:1-n;return c(e==="yy"?r%100:r,e.length)},M(t,e){const n=t.getMonth();return e==="M"?String(n+1):c(n+1,2)},d(t,e){return c(t.getDate(),e.length)},a(t,e){const n=t.getHours()/12>=1?"pm":"am";switch(e){case"a":case"aa":return n.toUpperCase();case"aaa":return n;case"aaaaa":return n[0];case"aaaa":default:return n==="am"?"a.m.":"p.m."}},h(t,e){return c(t.getHours()%12||12,e.length)},H(t,e){return c(t.getHours(),e.length)},m(t,e){return c(t.getMinutes(),e.length)},s(t,e){return c(t.getSeconds(),e.length)},S(t,e){const n=e.length,r=t.getMilliseconds(),a=Math.trunc(r*Math.pow(10,n-3));return c(a,e.length)}},D={midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},L={G:function(t,e,n){const r=t.getFullYear()>0?1:0;switch(e){case"G":case"GG":case"GGG":return n.era(r,{width:"abbreviated"});case"GGGGG":return n.era(r,{width:"narrow"});case"GGGG":default:return n.era(r,{width:"wide"})}},y:function(t,e,n){if(e==="yo"){const r=t.getFullYear(),a=r>0?r:1-r;return n.ordinalNumber(a,{unit:"year"})}return P.y(t,e)},Y:function(t,e,n,r){const a=A(t,r),i=a>0?a:1-a;if(e==="YY"){const s=i%100;return c(s,2)}return e==="Yo"?n.ordinalNumber(i,{unit:"year"}):c(i,e.length)},R:function(t,e){const n=G(t);return c(n,e.length)},u:function(t,e){const n=t.getFullYear();return c(n,e.length)},Q:function(t,e,n){const r=Math.ceil((t.getMonth()+1)/3);switch(e){case"Q":return String(r);case"QQ":return c(r,2);case"Qo":return n.ordinalNumber(r,{unit:"quarter"});case"QQQ":return n.quarter(r,{width:"abbreviated",context:"formatting"});case"QQQQQ":return n.quarter(r,{width:"narrow",context:"formatting"});case"QQQQ":default:return n.quarter(r,{width:"wide",context:"formatting"})}},q:function(t,e,n){const r=Math.ceil((t.getMonth()+1)/3);switch(e){case"q":return String(r);case"qq":return c(r,2);case"qo":return n.ordinalNumber(r,{unit:"quarter"});case"qqq":return n.quarter(r,{width:"abbreviated",context:"standalone"});case"qqqqq":return n.quarter(r,{width:"narrow",context:"standalone"});case"qqqq":default:return n.quarter(r,{width:"wide",context:"standalone"})}},M:function(t,e,n){const r=t.getMonth();switch(e){case"M":case"MM":return P.M(t,e);case"Mo":return n.ordinalNumber(r+1,{unit:"month"});case"MMM":return n.month(r,{width:"abbreviated",context:"formatting"});case"MMMMM":return n.month(r,{width:"narrow",context:"formatting"});case"MMMM":default:return n.month(r,{width:"wide",context:"formatting"})}},L:function(t,e,n){const r=t.getMonth();switch(e){case"L":return String(r+1);case"LL":return c(r+1,2);case"Lo":return n.ordinalNumber(r+1,{unit:"month"});case"LLL":return n.month(r,{width:"abbreviated",context:"standalone"});case"LLLLL":return n.month(r,{width:"narrow",context:"standalone"});case"LLLL":default:return n.month(r,{width:"wide",context:"standalone"})}},w:function(t,e,n,r){const a=Re(t,r);return e==="wo"?n.ordinalNumber(a,{unit:"week"}):c(a,e.length)},I:function(t,e,n){const r=Xe(t);return e==="Io"?n.ordinalNumber(r,{unit:"week"}):c(r,e.length)},d:function(t,e,n){return e==="do"?n.ordinalNumber(t.getDate(),{unit:"date"}):P.d(t,e)},D:function(t,e,n){const r=Qe(t);return e==="Do"?n.ordinalNumber(r,{unit:"dayOfYear"}):c(r,e.length)},E:function(t,e,n){const r=t.getDay();switch(e){case"E":case"EE":case"EEE":return n.day(r,{width:"abbreviated",context:"formatting"});case"EEEEE":return n.day(r,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(r,{width:"short",context:"formatting"});case"EEEE":default:return n.day(r,{width:"wide",context:"formatting"})}},e:function(t,e,n,r){const a=t.getDay(),i=(a-r.weekStartsOn+8)%7||7;switch(e){case"e":return String(i);case"ee":return c(i,2);case"eo":return n.ordinalNumber(i,{unit:"day"});case"eee":return n.day(a,{width:"abbreviated",context:"formatting"});case"eeeee":return n.day(a,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(a,{width:"short",context:"formatting"});case"eeee":default:return n.day(a,{width:"wide",context:"formatting"})}},c:function(t,e,n,r){const a=t.getDay(),i=(a-r.weekStartsOn+8)%7||7;switch(e){case"c":return String(i);case"cc":return c(i,e.length);case"co":return n.ordinalNumber(i,{unit:"day"});case"ccc":return n.day(a,{width:"abbreviated",context:"standalone"});case"ccccc":return n.day(a,{width:"narrow",context:"standalone"});case"cccccc":return n.day(a,{width:"short",context:"standalone"});case"cccc":default:return n.day(a,{width:"wide",context:"standalone"})}},i:function(t,e,n){const r=t.getDay(),a=r===0?7:r;switch(e){case"i":return String(a);case"ii":return c(a,e.length);case"io":return n.ordinalNumber(a,{unit:"day"});case"iii":return n.day(r,{width:"abbreviated",context:"formatting"});case"iiiii":return n.day(r,{width:"narrow",context:"formatting"});case"iiiiii":return n.day(r,{width:"short",context:"formatting"});case"iiii":default:return n.day(r,{width:"wide",context:"formatting"})}},a:function(t,e,n){const a=t.getHours()/12>=1?"pm":"am";switch(e){case"a":case"aa":return n.dayPeriod(a,{width:"abbreviated",context:"formatting"});case"aaa":return n.dayPeriod(a,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return n.dayPeriod(a,{width:"narrow",context:"formatting"});case"aaaa":default:return n.dayPeriod(a,{width:"wide",context:"formatting"})}},b:function(t,e,n){const r=t.getHours();let a;switch(r===12?a=D.noon:r===0?a=D.midnight:a=r/12>=1?"pm":"am",e){case"b":case"bb":return n.dayPeriod(a,{width:"abbreviated",context:"formatting"});case"bbb":return n.dayPeriod(a,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return n.dayPeriod(a,{width:"narrow",context:"formatting"});case"bbbb":default:return n.dayPeriod(a,{width:"wide",context:"formatting"})}},B:function(t,e,n){const r=t.getHours();let a;switch(r>=17?a=D.evening:r>=12?a=D.afternoon:r>=4?a=D.morning:a=D.night,e){case"B":case"BB":case"BBB":return n.dayPeriod(a,{width:"abbreviated",context:"formatting"});case"BBBBB":return n.dayPeriod(a,{width:"narrow",context:"formatting"});case"BBBB":default:return n.dayPeriod(a,{width:"wide",context:"formatting"})}},h:function(t,e,n){if(e==="ho"){let r=t.getHours()%12;return r===0&&(r=12),n.ordinalNumber(r,{unit:"hour"})}return P.h(t,e)},H:function(t,e,n){return e==="Ho"?n.ordinalNumber(t.getHours(),{unit:"hour"}):P.H(t,e)},K:function(t,e,n){const r=t.getHours()%12;return e==="Ko"?n.ordinalNumber(r,{unit:"hour"}):c(r,e.length)},k:function(t,e,n){let r=t.getHours();return r===0&&(r=24),e==="ko"?n.ordinalNumber(r,{unit:"hour"}):c(r,e.length)},m:function(t,e,n){return e==="mo"?n.ordinalNumber(t.getMinutes(),{unit:"minute"}):P.m(t,e)},s:function(t,e,n){return e==="so"?n.ordinalNumber(t.getSeconds(),{unit:"second"}):P.s(t,e)},S:function(t,e){return P.S(t,e)},X:function(t,e,n){const r=t.getTimezoneOffset();if(r===0)return"Z";switch(e){case"X":return X(r);case"XXXX":case"XX":return x(r);case"XXXXX":case"XXX":default:return x(r,":")}},x:function(t,e,n){const r=t.getTimezoneOffset();switch(e){case"x":return X(r);case"xxxx":case"xx":return x(r);case"xxxxx":case"xxx":default:return x(r,":")}},O:function(t,e,n){const r=t.getTimezoneOffset();switch(e){case"O":case"OO":case"OOO":return"GMT"+Q(r,":");case"OOOO":default:return"GMT"+x(r,":")}},z:function(t,e,n){const r=t.getTimezoneOffset();switch(e){case"z":case"zz":case"zzz":return"GMT"+Q(r,":");case"zzzz":default:return"GMT"+x(r,":")}},t:function(t,e,n){const r=Math.trunc(+t/1e3);return c(r,e.length)},T:function(t,e,n){return c(+t,e.length)}};function Q(t,e=""){const n=t>0?"-":"+",r=Math.abs(t),a=Math.trunc(r/60),i=r%60;return i===0?n+String(a):n+String(a)+e+c(i,2)}function X(t,e){return t%60===0?(t>0?"-":"+")+c(Math.abs(t)/60,2):x(t,e)}function x(t,e=""){const n=t>0?"-":"+",r=Math.abs(t),a=c(Math.trunc(r/60),2),i=c(r%60,2);return n+a+e+i}const B=(t,e)=>{switch(t){case"P":return e.date({width:"short"});case"PP":return e.date({width:"medium"});case"PPP":return e.date({width:"long"});case"PPPP":default:return e.date({width:"full"})}},V=(t,e)=>{switch(t){case"p":return e.time({width:"short"});case"pp":return e.time({width:"medium"});case"ppp":return e.time({width:"long"});case"pppp":default:return e.time({width:"full"})}},Ie=(t,e)=>{const n=t.match(/(P+)(p+)?/)||[],r=n[1],a=n[2];if(!a)return B(t,e);let i;switch(r){case"P":i=e.dateTime({width:"short"});break;case"PP":i=e.dateTime({width:"medium"});break;case"PPP":i=e.dateTime({width:"long"});break;case"PPPP":default:i=e.dateTime({width:"full"});break}return i.replace("{{date}}",B(r,e)).replace("{{time}}",V(a,e))},Ge={p:V,P:Ie},Ae=/^D+$/,Ve=/^Y+$/,$e=["D","DD","YY","YYYY"];function Je(t){return Ae.test(t)}function ze(t){return Ve.test(t)}function Ue(t,e,n){const r=Ke(t,e,n);if(console.warn(r),$e.includes(t))throw new RangeError(r)}function Ke(t,e,n){const r=t[0]==="Y"?"years":"days of the month";return`Use \`${t.toLowerCase()}\` instead of \`${t}\` (in \`${e}\`) for formatting ${r} to the input \`${n}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`}const Ze=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,pe=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,et=/^'([^]*?)'?$/,tt=/''/g,nt=/[a-zA-Z]/;function W(t,e,n){var h,g,O,y;const r=_(),a=r.locale??Le,i=r.firstWeekContainsDate??((g=(h=r.locale)==null?void 0:h.options)==null?void 0:g.firstWeekContainsDate)??1,s=r.weekStartsOn??((y=(O=r.locale)==null?void 0:O.options)==null?void 0:y.weekStartsOn)??0,o=m(t,n==null?void 0:n.in);if(!ne(o))throw new RangeError("Invalid time value");let d=e.match(pe).map(l=>{const f=l[0];if(f==="p"||f==="P"){const T=Ge[f];return T(l,a.formatLong)}return l}).join("").match(Ze).map(l=>{if(l==="''")return{isToken:!1,value:"'"};const f=l[0];if(f==="'")return{isToken:!1,value:rt(l)};if(L[f])return{isToken:!0,value:l};if(f.match(nt))throw new RangeError("Format string contains an unescaped latin alphabet character `"+f+"`");return{isToken:!1,value:l}});a.localize.preprocessor&&(d=a.localize.preprocessor(o,d));const u={firstWeekContainsDate:i,weekStartsOn:s,locale:a};return d.map(l=>{if(!l.isToken)return l.value;const f=l.value;(ze(f)||Je(f))&&Ue(f,e,String(t));const T=L[f[0]];return T(o,f,a.localize,u)}).join("")}function rt(t){const e=t.match(et);return e?e[1].replace(tt,"'"):t}function at(t,e,n){const[r,a]=F(n==null?void 0:n.in,t,e);return r.getFullYear()===a.getFullYear()&&r.getMonth()===a.getMonth()}function it(t,e,n){return I(t,-1,n)}const st="_calendar_1q8jq_1",ot="_header_1q8jq_7",ct="_dayName_1q8jq_13",ut="_monthName_1q8jq_22",dt="_week_1q8jq_27",ht="_cell_1q8jq_33",ft="_outside_1q8jq_44",lt="_selected_1q8jq_48",M={calendar:st,header:ot,dayName:ct,monthName:ut,week:dt,cell:ht,outside:ft,selected:lt};function mt({selectedDate:t,onSelectDate:e}){const[n,r]=$.useState(t??new Date),a=()=>w.jsxs("div",{className:M.header,children:[w.jsx(E.IconButton,{type:"button",icon:w.jsx(J.ArrowLeft,{size:21}),size:"sm",intent:"accent",srOnlyLabel:"Decrease month number",onClick:()=>r(it(n))}),w.jsx("span",{className:M.monthName,children:W(n,"MMMM yyyy")}),w.jsx(E.IconButton,{type:"button",icon:w.jsx(z.ArrowRight,{size:21}),size:"sm",intent:"accent",srOnlyLabel:"Increase month number",onClick:()=>r(I(n,1))})]}),i=()=>{const o=[],d=k(n,{weekStartsOn:0});for(let u=0;u<7;u++)o.push(w.jsx("div",{className:M.dayName,children:W(j(d,u),"EEE")},u));return w.jsx("div",{className:M.week,children:o})},s=()=>{const o=ae(n),d=k(o,{weekStartsOn:0}),u=[];let h=d;for(;h<=re(n)||u.length<6;){const g=[];for(let O=0;O<7;O++){const y=h,l=at(y,n),f=t&&ee(y,t);g.push(w.jsx("button",{type:"button",className:`${M.cell} ${l?"":M.outside} ${f?M.selected:""}`,onClick:()=>e(new Date(y)),children:W(y,"d")},y.toISOString())),h=j(h,1)}u.push(w.jsx("div",{className:M.week,children:g},h.toISOString()))}return w.jsx("div",{children:u})};return w.jsxs("div",{className:M.calendar,children:[a(),i(),s()]})}exports.Calendar=mt;exports.format=W;
package/dist/main.cjs CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('./assets/index.css');;/* empty css */const r=require("./core/components/Accordion/index.cjs"),c=require("./core/components/Alert/index.cjs"),t=require("./core/components/Avatar/index.cjs"),i=require("./core/components/Badge/index.cjs"),_=require("./core/components/Box/index.cjs"),s=require("./core/components/Breadcrumbs/index.cjs"),d=require("./core/components/ButtonGroup/index.cjs"),l=require("./index-C6VbmPXf.cjs"),u=require("./core/components/Card/index.cjs"),a=require("./core/components/Carousel/index.cjs"),x=require("./core/components/Checkbox/index.cjs"),k=require("./core/components/Container/index.cjs"),p=require("./core/components/DatePicker/index.cjs"),B=require("./core/components/Divider/index.cjs"),q=require("./core/components/Drawer/index.cjs"),m=require("./core/components/Fieldset/index.cjs"),b=require("./core/components/FileUpload/index.cjs"),C=require("./core/components/FloatingActionButton/index.cjs"),T=require("./core/components/Footer/index.cjs"),S=require("./core/components/Form/index.cjs"),g=require("./core/components/Grid/index.cjs"),h=require("./core/components/Heading/index.cjs"),F=require("./core/components/IconButton/index.cjs"),A=require("./core/components/Input/index.cjs"),L=require("./core/components/Label/index.cjs"),v=require("./core/components/List/index.cjs"),P=require("./core/components/Modal/index.cjs"),D=require("./core/components/MultiSelect/index.cjs"),H=require("./core/components/NavBar/index.cjs"),R=require("./core/components/Notification/index.cjs"),f=require("./core/components/NotificationContainer/index.cjs"),G=require("./core/components/ProgressBar/index.cjs"),N=require("./core/components/Radio/index.cjs"),M=require("./core/components/Range/index.cjs"),w=require("./core/components/Select/index.cjs"),I=require("./core/components/Skeleton/index.cjs"),y=require("./core/components/Spacer/index.cjs"),Q=require("./core/components/Spinner/index.cjs"),U=require("./core/components/Stack/index.cjs"),W=require("./core/components/Switch/index.cjs"),j=require("./core/components/Table/index.cjs"),O=require("./core/components/Tabs/index.cjs"),z=require("./core/components/Text/index.cjs"),E=require("./core/components/Textarea/index.cjs"),J=require("./core/components/Tooltip/index.cjs"),K=require("./core/utils/ThemeProvider/index.cjs"),V=require("./next/blocks/AccordionBlock/index.cjs"),X=require("./next/blocks/AdditionalCategoriesBlock/index.cjs"),Y=require("./next/blocks/CardGridBlock/index.cjs"),Z=require("./next/blocks/CarouselBlock/index.cjs"),$=require("./next/blocks/ContentBlock/index.cjs"),ee=require("./next/blocks/DocumentListBlock/index.cjs"),oe=require("./next/blocks/FaqBlock/index.cjs"),ne=require("./next/blocks/FeaturedDocumentsBlock/index.cjs"),re=require("./next/blocks/HeroBlock/index.cjs"),e=require("./next/blocks/HeroBlock/HeroContext.cjs"),ce=require("./next/ui/LocaleLink/index.cjs"),te=require("./next/blocks/QuoteBlock/index.cjs"),ie=require("./next/blocks/RichTextBlock/index.cjs"),_e=require("./next/ui/PortableTextRenderer/index.cjs"),se=require("./next/blocks/StickyScrollBlock/index.cjs"),de=require("./next/blocks/TabsBlock/index.cjs"),le=require("./next/blocks/WasHelpfulBlock/index.cjs"),ue=require("./next/cards/SpotlightCard/index.cjs"),o=require("./next/contexts/LocaleBridge.cjs"),n=require("./next/contexts/ThemeContext.cjs");exports.Accordion=r.Accordion;exports.Alert=c.Alert;exports.Avatar=t.Avatar;exports.Badge=i.Badge;exports.Box=_.Box;exports.Breadcrumbs=s.Breadcrumbs;exports.ButtonGroup=d.ButtonGroup;exports.Button=l.Button;exports.Card=u.Card;exports.Carousel=a.Carousel;exports.Checkbox=x.Checkbox;exports.Container=k.Container;exports.DatePicker=p.DatePicker;exports.Divider=B.Divider;exports.Drawer=q.Drawer;exports.Fieldset=m.Fieldset;exports.FileUpload=b.FileUpload;exports.FloatingActionButton=C.FloatingActionButton;exports.Footer=T.Footer;exports.Form=S.Form;exports.Grid=g.Grid;exports.Heading=h.Heading;exports.IconButton=F.IconButton;exports.Input=A.Input;exports.Label=L.Label;exports.List=v.List;exports.Modal=P.Modal;exports.MultiSelect=D.MultiSelect;exports.Navbar=H.Navbar;exports.Notification=R.Notification;exports.NotificationContainer=f.NotificationContainer;exports.ProgressBar=G.ProgressBar;exports.Radio=N.Radio;exports.Range=M.Range;exports.Select=w.Select;exports.Skeleton=I.Skeleton;exports.Spacer=y.Spacer;exports.Spinner=Q.Spinner;exports.Stack=U.Stack;exports.Switch=W.Switch;exports.Table=j.Table;exports.Tabs=O.Tabs;exports.Text=z.Text;exports.Textarea=E.Textarea;exports.Tooltip=J.Tooltip;exports.ThemeProvider=K.ThemeProvider;exports.AccordionBlock=V.AccordionBlock;exports.AdditionalCategoriesBlock=X.AdditionalCategoriesBlock;exports.CardGridBlock=Y.CardGridBlock;exports.CarouselBlock=Z.CarouselBlock;exports.ContentBlock=$.ContentBlock;exports.DocumentListBlock=ee.DocumentListBlock;exports.FaqBlock=oe.FaqBlock;exports.FeaturedDocumentsBlock=ne.FeaturedDocumentsBlock;exports.HeroBlock=re.HeroBlock;exports.HeroProvider=e.HeroProvider;exports.useHeroContext=e.useHeroContext;exports.LocaleLink=ce.LocaleLink;exports.QuoteBlock=te.QuoteBlock;exports.RichTextBlock=ie.RichTextBlock;exports.RichText=_e.RichText;exports.StickyScrollBlock=se.StickyScrollBlock;exports.TabsBlock=de.TabsBlock;exports.WasHelpfulBlock=le.WasHelpfulBlock;exports.SpotlightCard=ue.SpotlightCard;exports.LocaleBridgeProvider=o.LocaleBridgeProvider;exports.useLocaleBridge=o.useLocaleBridge;exports.AppThemeProvider=n.AppThemeProvider;exports.useTheme=n.useTheme;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('./assets/index.css');;/* empty css */const r=require("./core/components/Accordion/index.cjs"),c=require("./core/components/Alert/index.cjs"),t=require("./core/components/Avatar/index.cjs"),i=require("./core/components/Badge/index.cjs"),_=require("./core/components/Box/index.cjs"),s=require("./core/components/Breadcrumbs/index.cjs"),d=require("./core/components/ButtonGroup/index.cjs"),l=require("./index-Ch_zYffV.cjs"),a=require("./core/components/Card/index.cjs"),u=require("./core/components/Carousel/index.cjs"),x=require("./core/components/Checkbox/index.cjs"),k=require("./core/components/Container/index.cjs"),p=require("./core/components/DatePicker/index.cjs"),B=require("./core/components/Divider/index.cjs"),q=require("./core/components/Drawer/index.cjs"),m=require("./core/components/Fieldset/index.cjs"),b=require("./core/components/FileUpload/index.cjs"),S=require("./core/components/FloatingActionButton/index.cjs"),C=require("./core/components/Footer/index.cjs"),T=require("./core/components/Form/index.cjs"),g=require("./core/components/Grid/index.cjs"),h=require("./core/components/Heading/index.cjs"),F=require("./core/components/IconButton/index.cjs"),A=require("./core/components/Input/index.cjs"),L=require("./core/components/Label/index.cjs"),v=require("./core/components/List/index.cjs"),P=require("./core/components/Modal/index.cjs"),D=require("./core/components/MultiSelect/index.cjs"),H=require("./core/components/NavBar/index.cjs"),R=require("./core/components/Notification/index.cjs"),f=require("./core/components/NotificationContainer/index.cjs"),G=require("./core/components/ProgressBar/index.cjs"),N=require("./core/components/Radio/index.cjs"),M=require("./core/components/Range/index.cjs"),w=require("./core/components/Select/index.cjs"),I=require("./core/components/Sidebar/index.cjs"),y=require("./core/components/Skeleton/index.cjs"),Q=require("./core/components/Spacer/index.cjs"),U=require("./core/components/Spinner/index.cjs"),W=require("./core/components/Stack/index.cjs"),j=require("./core/components/Switch/index.cjs"),O=require("./core/components/Table/index.cjs"),z=require("./core/components/Tabs/index.cjs"),E=require("./core/components/Text/index.cjs"),J=require("./core/components/Textarea/index.cjs"),K=require("./core/components/Tooltip/index.cjs"),V=require("./core/utils/ThemeProvider/index.cjs"),X=require("./next/blocks/AccordionBlock/index.cjs"),Y=require("./next/blocks/AdditionalCategoriesBlock/index.cjs"),Z=require("./next/blocks/CardGridBlock/index.cjs"),$=require("./next/blocks/CarouselBlock/index.cjs"),ee=require("./next/blocks/ContentBlock/index.cjs"),oe=require("./next/blocks/DocumentListBlock/index.cjs"),ne=require("./next/blocks/FaqBlock/index.cjs"),re=require("./next/blocks/FeaturedDocumentsBlock/index.cjs"),ce=require("./next/blocks/HeroBlock/index.cjs"),e=require("./next/blocks/HeroBlock/HeroContext.cjs"),te=require("./next/ui/LocaleLink/index.cjs"),ie=require("./next/blocks/QuoteBlock/index.cjs"),_e=require("./next/blocks/RichTextBlock/index.cjs"),se=require("./next/ui/PortableTextRenderer/index.cjs"),de=require("./next/blocks/StickyScrollBlock/index.cjs"),le=require("./next/blocks/TabsBlock/index.cjs"),ae=require("./next/blocks/WasHelpfulBlock/index.cjs"),ue=require("./next/cards/SpotlightCard/index.cjs"),o=require("./next/contexts/LocaleBridge.cjs"),n=require("./next/contexts/ThemeContext.cjs");exports.Accordion=r.Accordion;exports.Alert=c.Alert;exports.Avatar=t.Avatar;exports.Badge=i.Badge;exports.Box=_.Box;exports.Breadcrumbs=s.Breadcrumbs;exports.ButtonGroup=d.ButtonGroup;exports.Button=l.Button;exports.Card=a.Card;exports.Carousel=u.Carousel;exports.Checkbox=x.Checkbox;exports.Container=k.Container;exports.DatePicker=p.DatePicker;exports.Divider=B.Divider;exports.Drawer=q.Drawer;exports.Fieldset=m.Fieldset;exports.FileUpload=b.FileUpload;exports.FloatingActionButton=S.FloatingActionButton;exports.Footer=C.Footer;exports.Form=T.Form;exports.Grid=g.Grid;exports.Heading=h.Heading;exports.IconButton=F.IconButton;exports.Input=A.Input;exports.Label=L.Label;exports.List=v.List;exports.Modal=P.Modal;exports.MultiSelect=D.MultiSelect;exports.Navbar=H.Navbar;exports.Notification=R.Notification;exports.NotificationContainer=f.NotificationContainer;exports.ProgressBar=G.ProgressBar;exports.Radio=N.Radio;exports.Range=M.Range;exports.Select=w.Select;exports.Sidebar=I.Sidebar;exports.Skeleton=y.Skeleton;exports.Spacer=Q.Spacer;exports.Spinner=U.Spinner;exports.Stack=W.Stack;exports.Switch=j.Switch;exports.Table=O.Table;exports.Tabs=z.Tabs;exports.Text=E.Text;exports.Textarea=J.Textarea;exports.Tooltip=K.Tooltip;exports.ThemeProvider=V.ThemeProvider;exports.AccordionBlock=X.AccordionBlock;exports.AdditionalCategoriesBlock=Y.AdditionalCategoriesBlock;exports.CardGridBlock=Z.CardGridBlock;exports.CarouselBlock=$.CarouselBlock;exports.ContentBlock=ee.ContentBlock;exports.DocumentListBlock=oe.DocumentListBlock;exports.FaqBlock=ne.FaqBlock;exports.FeaturedDocumentsBlock=re.FeaturedDocumentsBlock;exports.HeroBlock=ce.HeroBlock;exports.HeroProvider=e.HeroProvider;exports.useHeroContext=e.useHeroContext;exports.LocaleLink=te.LocaleLink;exports.QuoteBlock=ie.QuoteBlock;exports.RichTextBlock=_e.RichTextBlock;exports.RichText=se.RichText;exports.StickyScrollBlock=de.StickyScrollBlock;exports.TabsBlock=le.TabsBlock;exports.WasHelpfulBlock=ae.WasHelpfulBlock;exports.SpotlightCard=ue.SpotlightCard;exports.LocaleBridgeProvider=o.LocaleBridgeProvider;exports.useLocaleBridge=o.useLocaleBridge;exports.AppThemeProvider=n.AppThemeProvider;exports.useTheme=n.useTheme;
package/dist/main.d.ts CHANGED
@@ -89,6 +89,8 @@ declare type Alignment_2 = keyof typeof alignmentClassMap_2;
89
89
 
90
90
  declare type Alignment_3 = keyof typeof alignmentClassMap_3;
91
91
 
92
+ declare type Alignment_4 = keyof typeof alignmentClassMap_4;
93
+
92
94
  declare const alignmentClassMap: {
93
95
  readonly left: string;
94
96
  readonly center: string;
@@ -107,6 +109,11 @@ declare const alignmentClassMap_3: {
107
109
  readonly right: string;
108
110
  };
109
111
 
112
+ declare const alignmentClassMap_4: {
113
+ readonly left: string;
114
+ readonly right: string;
115
+ };
116
+
110
117
  declare type AnchorTypeProps = {
111
118
  as: "a";
112
119
  href: string;
@@ -923,7 +930,7 @@ declare type NavbarProps = {
923
930
  variant?: Variant_5;
924
931
  alignment: Alignment_3;
925
932
  className?: string;
926
- navigationType: "default" | "advanced";
933
+ navigationType: "default" | "advanced" | "sidebar";
927
934
  searchComponent?: default_2.ReactNode;
928
935
  localeSelectComponent?: default_2.ReactNode;
929
936
  };
@@ -951,6 +958,19 @@ export declare type NavItem = {
951
958
  iconAlignment?: "left" | "right" | undefined;
952
959
  };
953
960
 
961
+ declare type NavItem_2 = {
962
+ _key?: string;
963
+ label: string;
964
+ subtitle?: string;
965
+ description?: RichContent_2;
966
+ href?: string;
967
+ sublinks?: NavItem_2[];
968
+ isExternal?: boolean;
969
+ onClick?: () => void;
970
+ icon?: string;
971
+ iconAlignment?: "left" | "right" | undefined;
972
+ };
973
+
954
974
  declare function Notification_2({ message, variant, duration, onClose, className, }: NotificationProps): JSX.Element;
955
975
  export { Notification_2 as Notification }
956
976
 
@@ -1081,6 +1101,14 @@ export declare type RichContent = string | {
1081
1101
  content: any[];
1082
1102
  };
1083
1103
 
1104
+ declare type RichContent_2 = string | {
1105
+ type: "markdown";
1106
+ content: string;
1107
+ } | {
1108
+ type: "portableText";
1109
+ content: any[];
1110
+ };
1111
+
1084
1112
  export declare const RichText: default_2.FC<RichTextProps>;
1085
1113
 
1086
1114
  export declare function RichTextBlock({ text, styleOptions, id }: RichTextBlockProps_2): JSX.Element;
@@ -1115,6 +1143,17 @@ declare type SelectProps = {
1115
1143
  className?: string;
1116
1144
  };
1117
1145
 
1146
+ export declare function Sidebar({ items, alignment, className, }: SidebarProps): JSX.Element;
1147
+
1148
+ declare type SidebarProps = {
1149
+ renderText?: (content?: RichContent_2, className?: string) => default_2.ReactNode;
1150
+ title?: string;
1151
+ items?: NavItem_2[];
1152
+ alignment: Alignment_4;
1153
+ className?: string;
1154
+ navigationType: "default" | "advanced" | "sidebar";
1155
+ };
1156
+
1118
1157
  export { SingletonBlockProps }
1119
1158
 
1120
1159
  export { SiteSettings }
package/dist/main.mjs CHANGED
@@ -4,12 +4,12 @@ import { Alert as m } from "./core/components/Alert/index.mjs";
4
4
  import { Avatar as f } from "./core/components/Avatar/index.mjs";
5
5
  import { Badge as a } from "./core/components/Badge/index.mjs";
6
6
  import { Box as l } from "./core/components/Box/index.mjs";
7
- import { Breadcrumbs as B } from "./core/components/Breadcrumbs/index.mjs";
7
+ import { Breadcrumbs as d } from "./core/components/Breadcrumbs/index.mjs";
8
8
  import { ButtonGroup as k } from "./core/components/ButtonGroup/index.mjs";
9
- import { B as s } from "./index-WyOajBwb.js";
10
- import { Card as T } from "./core/components/Card/index.mjs";
9
+ import { B as s } from "./index-CpANRidP.js";
10
+ import { Card as S } from "./core/components/Card/index.mjs";
11
11
  import { Carousel as g } from "./core/components/Carousel/index.mjs";
12
- import { Checkbox as b } from "./core/components/Checkbox/index.mjs";
12
+ import { Checkbox as h } from "./core/components/Checkbox/index.mjs";
13
13
  import { Container as A } from "./core/components/Container/index.mjs";
14
14
  import { DatePicker as L } from "./core/components/DatePicker/index.mjs";
15
15
  import { Divider as D } from "./core/components/Divider/index.mjs";
@@ -34,62 +34,63 @@ import { ProgressBar as lo } from "./core/components/ProgressBar/index.mjs";
34
34
  import { Radio as Bo } from "./core/components/Radio/index.mjs";
35
35
  import { Range as uo } from "./core/components/Range/index.mjs";
36
36
  import { Select as Co } from "./core/components/Select/index.mjs";
37
- import { Skeleton as So } from "./core/components/Skeleton/index.mjs";
38
- import { Spacer as ho } from "./core/components/Spacer/index.mjs";
39
- import { Spinner as vo } from "./core/components/Spinner/index.mjs";
40
- import { Stack as Fo } from "./core/components/Stack/index.mjs";
41
- import { Switch as Po } from "./core/components/Switch/index.mjs";
42
- import { Table as Ho } from "./core/components/Table/index.mjs";
43
- import { Tabs as Go } from "./core/components/Tabs/index.mjs";
44
- import { Text as wo } from "./core/components/Text/index.mjs";
45
- import { Textarea as Mo } from "./core/components/Textarea/index.mjs";
46
- import { Tooltip as yo } from "./core/components/Tooltip/index.mjs";
47
- import { ThemeProvider as Uo } from "./core/utils/ThemeProvider/index.mjs";
48
- import { AccordionBlock as jo } from "./next/blocks/AccordionBlock/index.mjs";
49
- import { AdditionalCategoriesBlock as Eo } from "./next/blocks/AdditionalCategoriesBlock/index.mjs";
50
- import { CardGridBlock as Ko } from "./next/blocks/CardGridBlock/index.mjs";
51
- import { CarouselBlock as Vo } from "./next/blocks/CarouselBlock/index.mjs";
52
- import { ContentBlock as Yo } from "./next/blocks/ContentBlock/index.mjs";
53
- import { DocumentListBlock as _o } from "./next/blocks/DocumentListBlock/index.mjs";
54
- import { FaqBlock as or } from "./next/blocks/FaqBlock/index.mjs";
55
- import { FeaturedDocumentsBlock as er } from "./next/blocks/FeaturedDocumentsBlock/index.mjs";
56
- import { HeroBlock as pr } from "./next/blocks/HeroBlock/index.mjs";
57
- import { HeroProvider as xr, useHeroContext as fr } from "./next/blocks/HeroBlock/HeroContext.mjs";
58
- import { LocaleLink as ar } from "./next/ui/LocaleLink/index.mjs";
59
- import { QuoteBlock as lr } from "./next/blocks/QuoteBlock/index.mjs";
60
- import { RichTextBlock as Br } from "./next/blocks/RichTextBlock/index.mjs";
61
- import { RichText as kr } from "./next/ui/PortableTextRenderer/index.mjs";
62
- import { StickyScrollBlock as sr } from "./next/blocks/StickyScrollBlock/index.mjs";
63
- import { TabsBlock as Tr } from "./next/blocks/TabsBlock/index.mjs";
64
- import { WasHelpfulBlock as gr } from "./next/blocks/WasHelpfulBlock/index.mjs";
65
- import { SpotlightCard as br } from "./next/cards/SpotlightCard/index.mjs";
66
- import { LocaleBridgeProvider as Ar, useLocaleBridge as Fr } from "./next/contexts/LocaleBridge.mjs";
67
- import { AppThemeProvider as Pr, useTheme as Dr } from "./next/contexts/ThemeContext.mjs";
37
+ import { Sidebar as To } from "./core/components/Sidebar/index.mjs";
38
+ import { Skeleton as bo } from "./core/components/Skeleton/index.mjs";
39
+ import { Spacer as vo } from "./core/components/Spacer/index.mjs";
40
+ import { Spinner as Fo } from "./core/components/Spinner/index.mjs";
41
+ import { Stack as Po } from "./core/components/Stack/index.mjs";
42
+ import { Switch as Ho } from "./core/components/Switch/index.mjs";
43
+ import { Table as Go } from "./core/components/Table/index.mjs";
44
+ import { Tabs as wo } from "./core/components/Tabs/index.mjs";
45
+ import { Text as Mo } from "./core/components/Text/index.mjs";
46
+ import { Textarea as yo } from "./core/components/Textarea/index.mjs";
47
+ import { Tooltip as Uo } from "./core/components/Tooltip/index.mjs";
48
+ import { ThemeProvider as jo } from "./core/utils/ThemeProvider/index.mjs";
49
+ import { AccordionBlock as Eo } from "./next/blocks/AccordionBlock/index.mjs";
50
+ import { AdditionalCategoriesBlock as Ko } from "./next/blocks/AdditionalCategoriesBlock/index.mjs";
51
+ import { CardGridBlock as Vo } from "./next/blocks/CardGridBlock/index.mjs";
52
+ import { CarouselBlock as Yo } from "./next/blocks/CarouselBlock/index.mjs";
53
+ import { ContentBlock as _o } from "./next/blocks/ContentBlock/index.mjs";
54
+ import { DocumentListBlock as or } from "./next/blocks/DocumentListBlock/index.mjs";
55
+ import { FaqBlock as er } from "./next/blocks/FaqBlock/index.mjs";
56
+ import { FeaturedDocumentsBlock as pr } from "./next/blocks/FeaturedDocumentsBlock/index.mjs";
57
+ import { HeroBlock as xr } from "./next/blocks/HeroBlock/index.mjs";
58
+ import { HeroProvider as ir, useHeroContext as ar } from "./next/blocks/HeroBlock/HeroContext.mjs";
59
+ import { LocaleLink as lr } from "./next/ui/LocaleLink/index.mjs";
60
+ import { QuoteBlock as dr } from "./next/blocks/QuoteBlock/index.mjs";
61
+ import { RichTextBlock as kr } from "./next/blocks/RichTextBlock/index.mjs";
62
+ import { RichText as sr } from "./next/ui/PortableTextRenderer/index.mjs";
63
+ import { StickyScrollBlock as Sr } from "./next/blocks/StickyScrollBlock/index.mjs";
64
+ import { TabsBlock as gr } from "./next/blocks/TabsBlock/index.mjs";
65
+ import { WasHelpfulBlock as hr } from "./next/blocks/WasHelpfulBlock/index.mjs";
66
+ import { SpotlightCard as Ar } from "./next/cards/SpotlightCard/index.mjs";
67
+ import { LocaleBridgeProvider as Lr, useLocaleBridge as Pr } from "./next/contexts/LocaleBridge.mjs";
68
+ import { AppThemeProvider as Hr, useTheme as Rr } from "./next/contexts/ThemeContext.mjs";
68
69
  export {
69
70
  t as Accordion,
70
- jo as AccordionBlock,
71
- Eo as AdditionalCategoriesBlock,
71
+ Eo as AccordionBlock,
72
+ Ko as AdditionalCategoriesBlock,
72
73
  m as Alert,
73
- Pr as AppThemeProvider,
74
+ Hr as AppThemeProvider,
74
75
  f as Avatar,
75
76
  a as Badge,
76
77
  l as Box,
77
- B as Breadcrumbs,
78
+ d as Breadcrumbs,
78
79
  s as Button,
79
80
  k as ButtonGroup,
80
- T as Card,
81
- Ko as CardGridBlock,
81
+ S as Card,
82
+ Vo as CardGridBlock,
82
83
  g as Carousel,
83
- Vo as CarouselBlock,
84
- b as Checkbox,
84
+ Yo as CarouselBlock,
85
+ h as Checkbox,
85
86
  A as Container,
86
- Yo as ContentBlock,
87
+ _o as ContentBlock,
87
88
  L as DatePicker,
88
89
  D as Divider,
89
- _o as DocumentListBlock,
90
+ or as DocumentListBlock,
90
91
  R as Drawer,
91
- or as FaqBlock,
92
- er as FeaturedDocumentsBlock,
92
+ er as FaqBlock,
93
+ pr as FeaturedDocumentsBlock,
93
94
  N as Fieldset,
94
95
  I as FileUpload,
95
96
  q as FloatingActionButton,
@@ -97,42 +98,43 @@ export {
97
98
  W as Form,
98
99
  z as Grid,
99
100
  J as Heading,
100
- pr as HeroBlock,
101
- xr as HeroProvider,
101
+ xr as HeroBlock,
102
+ ir as HeroProvider,
102
103
  O as IconButton,
103
104
  X as Input,
104
105
  Z as Label,
105
106
  $ as List,
106
- Ar as LocaleBridgeProvider,
107
- ar as LocaleLink,
107
+ Lr as LocaleBridgeProvider,
108
+ lr as LocaleLink,
108
109
  ro as Modal,
109
110
  to as MultiSelect,
110
111
  mo as Navbar,
111
112
  fo as Notification,
112
113
  ao as NotificationContainer,
113
114
  lo as ProgressBar,
114
- lr as QuoteBlock,
115
+ dr as QuoteBlock,
115
116
  Bo as Radio,
116
117
  uo as Range,
117
- kr as RichText,
118
- Br as RichTextBlock,
118
+ sr as RichText,
119
+ kr as RichTextBlock,
119
120
  Co as Select,
120
- So as Skeleton,
121
- ho as Spacer,
122
- vo as Spinner,
123
- br as SpotlightCard,
124
- Fo as Stack,
125
- sr as StickyScrollBlock,
126
- Po as Switch,
127
- Ho as Table,
128
- Go as Tabs,
129
- Tr as TabsBlock,
130
- wo as Text,
131
- Mo as Textarea,
132
- Uo as ThemeProvider,
133
- yo as Tooltip,
134
- gr as WasHelpfulBlock,
135
- fr as useHeroContext,
136
- Fr as useLocaleBridge,
137
- Dr as useTheme
121
+ To as Sidebar,
122
+ bo as Skeleton,
123
+ vo as Spacer,
124
+ Fo as Spinner,
125
+ Ar as SpotlightCard,
126
+ Po as Stack,
127
+ Sr as StickyScrollBlock,
128
+ Ho as Switch,
129
+ Go as Table,
130
+ wo as Tabs,
131
+ gr as TabsBlock,
132
+ Mo as Text,
133
+ yo as Textarea,
134
+ jo as ThemeProvider,
135
+ Uo as Tooltip,
136
+ hr as WasHelpfulBlock,
137
+ ar as useHeroContext,
138
+ Pr as useLocaleBridge,
139
+ Rr as useTheme
138
140
  };