@okam/stack-ui 1.10.1 → 1.10.3
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.
- package/components/fields/Radio/Radio.interface.d.ts +26 -0
- package/components/fields/Radio/index.d.ts +4 -0
- package/components/fields/RadioGroup/RadioGroup.interface.d.ts +9 -0
- package/components/fields/RadioGroup/index.d.ts +3 -0
- package/components/icons/index.d.ts +25 -0
- package/index.d.ts +4 -1
- package/index.js +5 -5
- package/index.mjs +1390 -982
- package/package.json +1 -1
- package/providers/RadioGroup/RadioGroup.d.ts +5 -0
- package/providers/RadioGroup/RadioGroup.interface.d.ts +5 -0
- package/ArrowDown-2bdc734f.mjs +0 -7
- package/ArrowDown-a6edacd9.js +0 -1
- package/ArrowLeft-4eeead7e.js +0 -1
- package/ArrowLeft-cfc85f6d.mjs +0 -10
- package/BrandArrowRight-686606ab.mjs +0 -7
- package/BrandArrowRight-810d374a.js +0 -1
- package/Check-6ea26e42.mjs +0 -7
- package/Check-c61ded33.js +0 -1
- package/ChevronLeft-3d464239.js +0 -1
- package/ChevronLeft-50f70f08.mjs +0 -7
- package/ChevronRight-5709c683.js +0 -1
- package/ChevronRight-ea754d4d.mjs +0 -7
- package/CloseBtn-2f4aad79.mjs +0 -13
- package/CloseBtn-e65fe8bd.js +0 -1
- package/Facebook-0c77fec8.mjs +0 -13
- package/Facebook-f2646126.js +0 -1
- package/FacebookColored-9be40f21.mjs +0 -15
- package/FacebookColored-d986225c.js +0 -1
- package/FacebookRounded-9943c951.mjs +0 -15
- package/FacebookRounded-d75848d2.js +0 -1
- package/Globe-cb458fad.mjs +0 -48
- package/Globe-cbe70168.js +0 -1
- package/Instagram-2f8ef20d.js +0 -1
- package/Instagram-bf4a1667.mjs +0 -10
- package/InstagramColored-6a2b2b7a.js +0 -1
- package/InstagramColored-c4931693.mjs +0 -73
- package/Link-4ef5aaf2.mjs +0 -10
- package/Link-db71325e.js +0 -1
- package/LinkedIn-0f4aa0ac.mjs +0 -15
- package/LinkedIn-4745de60.js +0 -1
- package/Mail-a1aec200.js +0 -1
- package/Mail-c45e037a.mjs +0 -12
- package/Plus-144cf5f8.mjs +0 -19
- package/Plus-75849570.js +0 -1
- package/Share-608e1dd8.js +0 -1
- package/Share-c707352d.mjs +0 -15
- package/Twitter-1eb11c0c.js +0 -1
- package/Twitter-78d0ccc7.mjs +0 -15
- package/TwitterColored-334512f5.mjs +0 -15
- package/TwitterColored-8b72aa64.js +0 -1
- package/Upload-1f27bbaa.mjs +0 -13
- package/Upload-578304b2.js +0 -1
- package/X-02116119.mjs +0 -13
- package/X-ed6c3d62.js +0 -1
- package/YouTube-5dbf2e75.js +0 -1
- package/YouTube-782a6434.mjs +0 -15
- package/YouTubeColored-45e92b0e.mjs +0 -16
- package/YouTubeColored-5baa4a6c.js +0 -1
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import type React from 'react';
|
|
2
|
+
import type { ChangeHandler, RefCallBack } from 'react-hook-form';
|
|
3
|
+
import type { TDefaultComponent, TReactHookForm } from '../../../types/components';
|
|
4
|
+
export type TFieldReactHookForm = TReactHookForm & TDefaultComponent;
|
|
5
|
+
export interface TRadioProps extends TFieldReactHookForm {
|
|
6
|
+
id: string;
|
|
7
|
+
label: string;
|
|
8
|
+
name: string;
|
|
9
|
+
required?: boolean;
|
|
10
|
+
isDisabled?: boolean;
|
|
11
|
+
isError?: boolean;
|
|
12
|
+
errorMessage?: string;
|
|
13
|
+
ariaLabel?: string;
|
|
14
|
+
value: string;
|
|
15
|
+
onChange?: ((isSelected: boolean) => void) | ChangeHandler;
|
|
16
|
+
inputRef?: RefCallBack;
|
|
17
|
+
icon?: React.ReactNode;
|
|
18
|
+
}
|
|
19
|
+
export interface TRadioLabelStyles {
|
|
20
|
+
isDisabled?: boolean;
|
|
21
|
+
}
|
|
22
|
+
export interface TRadioStyles {
|
|
23
|
+
isDisabled?: boolean;
|
|
24
|
+
isFocused?: boolean;
|
|
25
|
+
isError?: boolean;
|
|
26
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type React from 'react';
|
|
2
|
+
import type { TDefaultComponent } from '../../../types/components';
|
|
3
|
+
export interface TRadioGroupProps extends TDefaultComponent {
|
|
4
|
+
children: React.ReactNode;
|
|
5
|
+
isError?: boolean;
|
|
6
|
+
isDisabled?: boolean;
|
|
7
|
+
errorMessage?: string;
|
|
8
|
+
label?: string;
|
|
9
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
export { default as ArrowDown } from './ArrowDown';
|
|
2
|
+
export { default as ArrowLeft } from './ArrowLeft';
|
|
3
|
+
export { default as ArrowRight } from './ArrowRight';
|
|
4
|
+
export { default as BrandArrowRight } from './BrandArrowRight';
|
|
5
|
+
export { default as Check } from './Check';
|
|
6
|
+
export { default as ChevronLeft } from './ChevronLeft';
|
|
7
|
+
export { default as ChevronRight } from './ChevronRight';
|
|
8
|
+
export { default as CloseBtn } from './CloseBtn';
|
|
9
|
+
export { default as Facebook } from './Facebook';
|
|
10
|
+
export { default as FacebookColored } from './FacebookColored';
|
|
11
|
+
export { default as FacebookRounded } from './FacebookRounded';
|
|
12
|
+
export { default as Globe } from './Globe';
|
|
13
|
+
export { default as Instagram } from './Instagram';
|
|
14
|
+
export { default as InstagramColored } from './InstagramColored';
|
|
15
|
+
export { default as Link } from './Link';
|
|
16
|
+
export { default as LinkedIn } from './LinkedIn';
|
|
17
|
+
export { default as Mail } from './Mail';
|
|
18
|
+
export { default as Plus } from './Plus';
|
|
19
|
+
export { default as Share } from './Share';
|
|
20
|
+
export { default as Twitter } from './Twitter';
|
|
21
|
+
export { default as TwitterColored } from './TwitterColored';
|
|
22
|
+
export { default as Upload } from './Upload';
|
|
23
|
+
export { default as X } from './X';
|
|
24
|
+
export { default as YouTube } from './YouTube';
|
|
25
|
+
export { default as YouTubeColored } from './YouTubeColored';
|
package/index.d.ts
CHANGED
|
@@ -7,7 +7,6 @@ export { default as SidePanel } from './components/SidePanel';
|
|
|
7
7
|
export { default as Lightbox } from './components/Lightbox';
|
|
8
8
|
export { default as Popover } from './components/Popover';
|
|
9
9
|
export { default as WysiwygBlock } from './components/WysiwygBlock';
|
|
10
|
-
export { default as ArrowRight } from './components/icons/ArrowRight';
|
|
11
10
|
export { default as Icon } from './components/Icon';
|
|
12
11
|
export { default as Date } from './components/Date';
|
|
13
12
|
export { default as Select, ReactHookFormSelect } from './components/fields/Select/Select';
|
|
@@ -18,10 +17,14 @@ export { default as DatePicker } from './components/fields/DatePicker';
|
|
|
18
17
|
export { default as Box, BoxWithForwardRef } from './components/Box';
|
|
19
18
|
export { default as Calendar } from './components/Calendar';
|
|
20
19
|
export { default as Modal } from './components/Modal';
|
|
20
|
+
export { default as Radio } from './components/fields/Radio';
|
|
21
|
+
export { default as RadioGroup } from './components/fields/RadioGroup';
|
|
22
|
+
export * from './components/icons';
|
|
21
23
|
export { makeTheme, createThemeProvider, useTheme, ThemeContextProvider } from './providers/Theme';
|
|
22
24
|
export { default as useThemeContext } from './providers/Theme/hooks';
|
|
23
25
|
export { useIsClient, IsClientContextProvider } from './providers/Client';
|
|
24
26
|
export { useSidePanel, SidePanelContextProvider } from './providers/SidePanel';
|
|
27
|
+
export { RadioGroupProvider, useRadioGroupCtx } from './providers/RadioGroup/RadioGroup';
|
|
25
28
|
export type { TButtonProps } from './components/Button/interface';
|
|
26
29
|
export type { TTypographyProps } from './components/Typography/interface';
|
|
27
30
|
export type { TTheme, TToken, TCustomTheme, TStyle, TDefaultTheme, TStyleCollection, TStyleValue, } from './providers/Theme/interface';
|
package/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const u=require("react"),o=require("react/jsx-runtime"),b=require("tailwind-variants"),yr=require("radash"),v=require("react-aria"),$r=require("react-div-100vh"),wr=require("@react-stately/overlays"),L=require("react-spring"),Q=require("@react-aria/overlays"),q=require("@react-aria/focus"),ot=require("react-stately"),Cr=require("isomorphic-dompurify"),he=require("@react-aria/i18n"),Te=require("lodash"),ie=require("react-hook-form"),jr=require("@react-aria/checkbox"),Mr=require("@react-aria/visually-hidden"),kr=require("@react-stately/toggle"),Sr=require("react-i18next"),Pe=require("@react-aria/datepicker"),st=require("@react-stately/datepicker"),Re=require("@react-aria/calendar"),Dr=require("@react-stately/calendar"),Tr=require("@react-aria/utils"),C=require("lodash.isequal");function Pr(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const r in e)if(r!=="default"){const n=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,n.get?n:{enumerable:!0,get:()=>e[r]})}}return t.default=e,Object.freeze(t)}const Rr=Pr(u),at=e=>e;function Ar(){const e=u.createContext(void 0);function t(){const r=u.useContext(e);return r===void 0?null:r}return[t,e.Provider]}const Ir={typography:()=>""},[it,Br]=Ar();function lt({children:e,brandTheme:t=Ir}){const r=u.useMemo(()=>({brandTheme:t}),[t]);return o.jsx(Br,{value:r,children:e})}const ct=e=>({children:r})=>o.jsx(lt,{brandTheme:e,children:r}),_r=b.tv({base:"[border-radius: 32px] p-1.5 focus:outline-none text-color-1-500",defaultVariants:{textAlign:"left",isOpen:!1},variants:{textAlign:{center:"text-center",left:"text-left"}}}),Er=b.tv({base:"grid overflow-hidden w-full items-center border-b-2 border-color-1-500 focus-ring-black",variants:{titleBold:{true:"font-bold"},textAlign:{center:"grid-cols-[3rem_1fr_3rem] pl-0 sm:pl-0",left:"grid-cols-[1fr_3rem]"}}}),Or=b.tv({base:"",defaultVariants:{textAlign:"left"},variants:{textAlign:{center:"justify-self-center col-start-2",left:"justify-self-start"}}}),Lr=b.tv({base:"text-color-1-500 min-h-12 rotate-90 min-w-12 rounded-full flex items-center justify-center transition duration-500 transform ml-auto aspect-square",variants:{isOpen:{true:"-rotate-90",false:""}}}),Nr=b.tv({base:"font-body text-inherit h-auto grid grid-rows-[0fr] transition-all duration-500",defaultVariants:{textAlign:"left",isOpen:!1},variants:{isOpen:{true:"pb-8 pt-3 grid-rows-[1fr]",false:""},textAlign:{center:"grid-cols-[3rem_1fr_3rem] px-6 text-center",left:"grid-cols-[1fr_3rem] text-left"}}}),Fr=b.tv({base:"overflow-hidden",defaultVariants:{textAlign:"left"},variants:{textAlign:{center:"col-start-2",left:""}}}),Vr=b.tv({base:"w-full bg-slate-100"}),ut=b.tv({base:"max-w-screen-lg mx-auto w-full",variants:{fullWidth:{true:"max-w-full col-span-full p-0"},spacing:{small:"mb-3",medium:"mb-6",large:"mb-8",none:"mb-0"}}}),Ur=b.tv({extend:ut,base:"grid grid-cols-12 gap-6 px-4 col-span-full",variants:{fullWidth:{true:"max-w-full col-span-full p-0"}}}),Yr=b.tv({base:"bg-slate-300 h-64 p-4 flex justify-start items-end",defaultVariants:{size:"small"},variants:{size:{small:"col-span-12 sm:col-span-6 md:col-span-4 lg:col-span-4",medium:"col-span-12 sm:col-span-12 md:col-span-8 lg:col-span-8",large:"lg:col-start-3 sm:col-start-1 sm:col-end-13 lg:col-end-11 md:col-start-3 md:col-end-11 col-start-1 col-end-13"}}}),ee=b.tv({base:`
|
|
2
2
|
flex
|
|
3
3
|
items-center
|
|
4
4
|
justify-center
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
text-white
|
|
40
40
|
pointer-events-none
|
|
41
41
|
!border-error
|
|
42
|
-
`},size:{default:"min-w-12 min-h-6",large:"min-w-36 min-h-18"},shape:{rounded:"rounded-md",circular:"rounded-full"}}}),
|
|
42
|
+
`},size:{default:"min-w-12 min-h-6",large:"min-w-36 min-h-18"},shape:{rounded:"rounded-md",circular:"rounded-full"}}}),zr=b.tv({base:"inline-block text-gray-800"}),qr=b.tv({base:"flex items-center justify-between pb-4"}),Hr=b.tv({base:"flex items-center gap-1"}),Jr=b.tv({base:"active:bg-color-1-500 p-2 rounded-full active:text-color-1-100 hover:bg-color-1-200 focus-ring-black"}),Wr=b.tv({base:"flex-1"}),Gr=b.tv({base:"text-center"}),Qr=b.tv({base:"py-0.5 relative",variants:{isFocusVisible:{true:"z-10",false:""}}}),Zr=b.tv({base:"w-10 h-10 outline-none group",variants:{isSelected:{true:"",false:""},isInvalid:{true:"",fasle:""},isDisabled:{true:"disabled",false:""},isRoundedLeft:{true:"rounded-l-full",false:""},isRoundedRight:{true:"rounded-r-full",false:""}},compoundVariants:[{isSelected:!0,isInvalid:!0,class:"bg-red-300"},{isSelected:!0,isInvalid:!1,class:"bg-color-1-300"}]}),Kr=b.tv({base:"w-full h-full rounded-full flex items-center justify-center cursor-pointer",variants:{isSelected:{true:"",false:""},isInvalid:{true:"",fasle:""},isDisabled:{true:"",false:""},isFocusVisible:{true:"ring-2 group-focus:z-2 ring-violet-600 ring-offset-2",false:""},isSelectionStart:{true:"",false:""},isSelectionEnd:{true:"",false:""}},compoundVariants:[{isDisabled:!0,isInvalid:!1,class:"text-gray-400"},{isSelectionStart:!0,isSelectionEnd:!1,isInvalid:!0,class:"bg-red-600 text-white hover:bg-red-700"},{isSelectionStart:!0,isSelectionEnd:!0,isInvalid:!0,class:"bg-red-600 text-white hover:bg-red-700"},{isSelectionStart:!0,isSelectionEnd:!1,isInvalid:!1,class:"bg-color-1-400 text-white hover:bg-color-1-500"},{isSelectionStart:!0,isSelectionEnd:!0,isInvalid:!1,class:"bg-color-1-400 rounded-full text-white hover:bg-color-1-500"},{isSelectionStart:!1,isSelectionEnd:!0,isInvalid:!0,class:"bg-red-600 text-white hover:bg-red-700"},{isSelectionStart:!1,isSelectionEnd:!0,isInvalid:!1,class:"bg-color-1-400 text-white hover:bg-color-1-500"},{isSelected:!1,isDisabled:!1,class:"hover:bg-color-1-100"},{isSelected:!0,isDisabled:!1,isInvalid:!1,isSelectionStart:!1,isSelectionEnd:!1,class:"hover:bg-color-1-300"},{isSelected:!0,isDisabled:!1,isInvalid:!0,isSelectionStart:!1,isSelectionEnd:!1,class:"hover:bg-red-400"}]}),Xr=b.tv({base:"flex focus-ring-black"}),en=b.tv({base:"hover:cursor-pointer",variants:{color:{gray:"text-gray-300",black:"text-black"},isDisabled:{true:"text-gray-6"}},defaultVariants:{color:"black"}}),tn=b.tv({base:"w-6 h-6 mt-0.5 mr-2.5 rounded-full border-2 border-gray-2 shrink-0 hover:cursor-pointer flex items-center justify-center",variants:{isDisabled:{true:"border-gray-6"},isFocused:{true:"outline-black [outline-offset: 2px]"},isError:{true:"border-red-500"}}}),rn=b.tv({base:"hidden w-4 h-4 bg-gray-300 rounded-full",variants:{selected:{true:"block text-white"}}}),nn=b.tv({base:"text-white w-4 h-4 [&_svg]:w-4 [&_svg]:h-4"}),on=b.tv({base:"relative inline-flex flex-col text-left"}),sn=b.tv({base:"flex items-center border-2 border-color-1-500 rounded focus-ring-black"}),an=b.tv({base:"fixed inset-0"}),ln=b.tv({base:"absolute top-full bg-white border border-gray-300 rounded-md shadow-lg mt-2 p-8 z-10"}),cn=b.tv({base:"pr-1 flex gap-2",defaultVariants:{dateFieldShown:!0},variants:{dateFieldShown:{true:"",false:"hidden"}}}),un=b.tv({base:"focus-ring-black"}),dn=b.tv({base:"text-color-1-500 bg-color-1-100 border-l-2 border-color-1-500 h-full py-2 px-2"}),fn=b.tv({base:"text-color-1-500 font-bold px-2"}),A=b.tv({variants:{size:{h1:"text-5xl",h2:"text-4xl",h3:"text-3xl",h4:"text-2xl",h5:"text-xl",h6:"text-lg",leading:"text-md font-bold leading-normal",paragraph:"text-md inline",footnotes:"text-sm",xs:"text-xs"},font:{body:"font-body"},weight:{normal:"font-normal",light:"font-light",bold:"font-bold"},color:{gray:"text-gray-500",white:"text-white"},isError:{true:"text-sm text-error ml-8 py-3"},align:{center:"text-center",left:"text-left",right:"text-right"}},defaultVariants:{size:"paragraph",font:"body"}}),hn=b.tv({base:"focus-ring-black"}),mn=b.tv({base:" w-screen h-screen relative flex items-center m-auto justify-center"}),gn=b.tv({base:`
|
|
43
43
|
absolute
|
|
44
44
|
xl:top-10
|
|
45
45
|
xl:right-20
|
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
w-[2.5rem]
|
|
52
52
|
h-[2.5rem]
|
|
53
53
|
focus-ring-black
|
|
54
|
-
`}),
|
|
54
|
+
`}),pn=b.tv({extend:A,base:"sr-only"}),bn=b.tv({base:"text-black flex flex-row items-center hover:cursor-pointer focus-ring-black",variants:{isDisabled:{true:"text-gray-6"}}}),xn=b.tv({base:"w-6 h-6 mt-0.5 mr-2.5 rounded-full border-2 border-gray-2 shrink-0 hover:cursor-pointer flex items-center justify-center",variants:{isDisabled:{true:"border-gray-6"},isFocused:{true:"outline-black [outline-offset: 2px]"}}}),vn=b.tv({base:"hidden w-4 h-4 bg-gray-300 rounded-full",variants:{selected:{true:"block text-white"}}}),yn=b.tv({base:"block",variants:{isDisabled:{true:"opacity-60 pointer-events-none"}}}),$n=b.tv({base:"flex flex-col gap-4 py-8"}),wn=b.tv({base:"flex print:hidden relative",defaultVariants:{listDirection:"row"},variants:{listDirection:{row:"flex-row",column:"flex-col"}}}),Cn=b.tv({base:"relative z-20 !bg-color-1-500 hover:!bg-color-1-400 w-16 h-16 flex justify-center items-center active:!bg-color-1-400 rounded-full text-white focus-ring-black",variants:{isOpen:{true:"",false:""}}}),jn=b.tv({base:"!bg-color-1-200 absolute opacity-0 invisible flex transition duration-300 items-center p-0 bg-primary-1 z-0 rounded-b-full rounded-t-full",defaultVariants:{listDirection:"row"},variants:{listDirection:{row:"flex-row pl-14 h-16 left-0",column:"flex-col [width:calc(100% + .5rem)] pt-14 w-16 top-0"},isOpen:{true:"opacity-100 visible",false:""}}}),Mn=b.tv({base:`
|
|
55
55
|
flex
|
|
56
56
|
items-center
|
|
57
57
|
justify-center
|
|
@@ -65,7 +65,7 @@
|
|
|
65
65
|
focus-ring-black
|
|
66
66
|
z-10
|
|
67
67
|
has-focus-ring:z-20
|
|
68
|
-
`,defaultVariants:{listDirection:"row"},variants:{listDirection:{row:"last:rounded-r-full h-full",column:"last:rounded-b-full"}}}),
|
|
68
|
+
`,defaultVariants:{listDirection:"row"},variants:{listDirection:{row:"last:rounded-r-full h-full",column:"last:rounded-b-full"}}}),kn=b.tv({base:"text-white"}),Sn=b.tv({base:""}),Dn=b.tv({base:"m-auto fixed right-0 top-0 bottom-0 w-full max-w-[512px] [&>div]:h-full"}),Tn=b.tv({base:"h-full w-full flex justify-end"}),Pn=b.tv({base:"bg-black h-full w-full overflow-y-auto"}),Rn=b.tv({base:`
|
|
69
69
|
w-full
|
|
70
70
|
min-h-32
|
|
71
71
|
rounded-2xl
|
|
@@ -80,4 +80,4 @@
|
|
|
80
80
|
placeholder:text-gray-2
|
|
81
81
|
focus-ring-black
|
|
82
82
|
|
|
83
|
-
`,variants:{isError:{true:"border-red-500"}}}),rn=ot({main:e=>fr(e),gridItem:e=>mr(e),grid:e=>hr(e),container:e=>lt(e),accordion:{container:e=>ar(e),button:e=>ir(e),title:e=>lr(e),icon:e=>cr(e),region:e=>ur(e),content:e=>dr(e)},calendar:{container:e=>br(e),header:e=>gr(e),navigationButtonsContainer:e=>pr(e),navigationButtons:e=>yr(e),table:e=>xr(e),dayLabel:e=>$r(e),cellContainer:e=>vr(e),cell:e=>wr(e),cellDate:e=>Dr(e)},datePicker:{container:e=>jr(e),button:e=>Sr(e),icon:e=>Er(e),dateField:e=>Ar(e),dateSegment:e=>Br(e),label:e=>Nr(e),calendarPopover:e=>Ir(e),calendarUnderlay:e=>Rr(e)},popover:{button:e=>Z(e),popover:()=>"border-2 text-black p-4 bg-gray-300"},typography:e=>R(e),button:e=>Z(e),sidePanel:{wrapper:e=>Xr(e),container:e=>Zr(e),innerContainer:e=>en(e)},lightBox:{wrapper:e=>Fr(e),container:e=>Lr(e),closeBtn:e=>Or(e),label:e=>qr(e)},shareButton:{icon:e=>zr(e),button:e=>Wr(e),container:e=>Qr(e),linksList:e=>Gr(e),link:e=>Hr(e),linkIcons:e=>Kr(e)},checkbox:{container:e=>Cr(e),label:e=>Mr(e),checkBox:e=>kr(e),checkMark:e=>Pr(e),checkMarkIcon:e=>Tr(e),errorMessage:e=>R(e)},radio:{label:e=>Ur(e),radio:e=>Yr(e),selectedMark:e=>Jr(e),errorMessage:e=>R(e)},radioGroup:{radioGroup:e=>_r(e),radioGroupItemsGroup:e=>Vr(e),errorMessage:e=>R(e)},select:{button:e=>Z(e),ul:e=>R({...e,className:"outline outline-2 outline-white outline-offset-2 p-2 my-4 rounded-md w-full flex flex-col gap-6"}),popover:e=>Z(e),errorMessage:e=>R({...e,size:"footnotes",isError:!0}),wrapper:()=>"flex flex-col gap-4 relative",container:()=>"flex flex-col gap-4",li:()=>"transition w-full hover:text-gray-300 focus-ring-white"},textarea:{wrapper:()=>"flex flex-col",container:()=>"flex items-center gap-4",label:()=>"text-gray-3 px-6",input:e=>tn(e),errorMessage:e=>R({...e,size:"footnotes",isError:!0})},textInput:{wrapper:()=>"flex flex-col rounded-md px-4 py-1 mb-3 m-0.5 border-2 aria-disabled:pointer-events-none aria-disabled:opacity-30 focus-ring-black",label:()=>"text-xs",container:()=>"flex items-center gap-4",input:()=>"",errorMessage:e=>R({...e,size:"footnotes",isError:!0})}}),nn=h.memo(it(rn)),g=(e,t={},r=null)=>{const n=st();if(n!=null&&e!=null){const{brandTheme:o}=n,s=_t.get(o,e);if(typeof s=="function"){const i=s?.(t);if(typeof i=="string")return i}}if(r)return r},T=({as:e="span",themeName:t="typography",tokens:r,customTheme:n,children:o,...s})=>{const i=g(t,r,n);return a.jsx(e,{...s,className:i,children:o})},Se=h.forwardRef((e,t)=>{const{as:r="span",tokens:n,themeName:o="typography",customTheme:s,children:i,...l}=e,c=g(o,n,s);return a.jsx(r,{...l,ref:t,className:c,children:i})}),ct=h.forwardRef((e,t)=>{const{as:r="a",handlePress:n,children:o,as:s,customTheme:i,tokens:l,themeName:c="button",...d}=e,u=t,{linkProps:y}=x.useLink({...e,elementType:s?.toString(),onPress:n},t??u),f=g(c,l,i);return a.jsx(x.FocusRing,{focusRingClass:"has-focus-ring",children:a.jsx(r,{ref:u,...y,...d,className:f,children:o})})}),ut=h.forwardRef((e,t)=>{const{as:r="button",handlePress:n,children:o,as:s,customTheme:i,tokens:l,themeName:c="button",isDisabled:d=!1,...u}=e,y=t,{buttonProps:f}=x.useButton({...e,isDisabled:d,elementType:s,onPress:n},t??y),p=g(c,l,i);return a.jsx(x.FocusRing,{within:!0,focusRingClass:"has-focus-ring",children:a.jsx(r,{ref:y,...f,...u,className:p,children:o})})}),V=h.forwardRef((e,t)=>{const{as:r}=e;return r==="a"?a.jsx(ct,{ref:t,...e}):a.jsx(ut,{ref:t,...e})}),on=e=>{const{as:t}=e,r=h.useRef(null);return t==="a"?a.jsx(ct,{ref:r,...e}):a.jsx(ut,{ref:r,...e})},Q=h.memo(on),sn=(e,t)=>{const r=e[t];return r?typeof r=="function"?r():Promise.resolve(r):new Promise((n,o)=>{(typeof queueMicrotask=="function"?queueMicrotask:setTimeout)(o.bind(null,new Error("Unknown variable dynamic import: "+t)))})},an=e=>a.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",height:48,width:48,fill:"currentColor",...e}),dt=h.memo(an),ln=Object.freeze(Object.defineProperty({__proto__:null,default:dt},Symbol.toStringTag,{value:"Module"})),cn=e=>{const{icon:t,...r}=e,n=h.useMemo(()=>h.lazy(()=>sn(Object.assign({"../icons/ArrowDown.tsx":()=>Promise.resolve().then(()=>require("./ArrowDown-a6edacd9.js")),"../icons/ArrowLeft.tsx":()=>Promise.resolve().then(()=>require("./ArrowLeft-4eeead7e.js")),"../icons/ArrowRight.tsx":()=>Promise.resolve().then(()=>jn),"../icons/BrandArrowRight.tsx":()=>Promise.resolve().then(()=>require("./BrandArrowRight-810d374a.js")),"../icons/Check.tsx":()=>Promise.resolve().then(()=>require("./Check-c61ded33.js")),"../icons/ChevronLeft.tsx":()=>Promise.resolve().then(()=>require("./ChevronLeft-3d464239.js")),"../icons/ChevronRight.tsx":()=>Promise.resolve().then(()=>require("./ChevronRight-5709c683.js")),"../icons/CloseBtn.tsx":()=>Promise.resolve().then(()=>require("./CloseBtn-e65fe8bd.js")),"../icons/Facebook.tsx":()=>Promise.resolve().then(()=>require("./Facebook-f2646126.js")),"../icons/FacebookColored.tsx":()=>Promise.resolve().then(()=>require("./FacebookColored-d986225c.js")),"../icons/FacebookRounded.tsx":()=>Promise.resolve().then(()=>require("./FacebookRounded-d75848d2.js")),"../icons/Globe.tsx":()=>Promise.resolve().then(()=>require("./Globe-cbe70168.js")),"../icons/IconFallback.tsx":()=>Promise.resolve().then(()=>ln),"../icons/Instagram.tsx":()=>Promise.resolve().then(()=>require("./Instagram-2f8ef20d.js")),"../icons/InstagramColored.tsx":()=>Promise.resolve().then(()=>require("./InstagramColored-6a2b2b7a.js")),"../icons/Link.tsx":()=>Promise.resolve().then(()=>require("./Link-db71325e.js")),"../icons/LinkedIn.tsx":()=>Promise.resolve().then(()=>require("./LinkedIn-4745de60.js")),"../icons/Mail.tsx":()=>Promise.resolve().then(()=>require("./Mail-a1aec200.js")),"../icons/Plus.tsx":()=>Promise.resolve().then(()=>require("./Plus-75849570.js")),"../icons/Share.tsx":()=>Promise.resolve().then(()=>require("./Share-608e1dd8.js")),"../icons/Twitter.tsx":()=>Promise.resolve().then(()=>require("./Twitter-1eb11c0c.js")),"../icons/TwitterColored.tsx":()=>Promise.resolve().then(()=>require("./TwitterColored-8b72aa64.js")),"../icons/Upload.tsx":()=>Promise.resolve().then(()=>require("./Upload-578304b2.js")),"../icons/X.tsx":()=>Promise.resolve().then(()=>require("./X-ed6c3d62.js")),"../icons/YouTube.tsx":()=>Promise.resolve().then(()=>require("./YouTube-5dbf2e75.js")),"../icons/YouTubeColored.tsx":()=>Promise.resolve().then(()=>require("./YouTubeColored-5baa4a6c.js"))}),`../icons/${t||"ArrowRight"}.tsx`)),[t]);return a.jsx(h.Suspense,{fallback:a.jsx(dt,{className:"overflow-visible pointer-events-none"}),children:a.jsx(n,{...r,className:"overflow-visible pointer-events-none",...e})})},j=e=>{const{icon:t,as:r="span",tokens:n,customTheme:o,themeName:s="icon",children:i,...l}=e,c=g(s,n,o);return typeof t!="string"?a.jsxs(r,{...l,className:c,children:[i,t]}):a.jsxs(r,{className:c,children:[i,a.jsx(cn,{icon:t,...l})]})},un=e=>{const{customTheme:t,themeName:r="accordion",id:n,tokens:o,title:s,ariaLabel:i,onClick:l,icon:c,children:d}=e,[u,y]=h.useState(!1),f=g(`${r}.container`,{...o,isOpen:u},t),p=g(`${r}.title`,{...o,isOpen:u},t),w=g(`${r}.icon`,{...o,isOpen:u},t),b=g(`${r}.region`,{...o,isOpen:u},t),$=g(`${r}.content`,{...o,isOpen:u},t);return a.jsxs("div",{className:f,id:`accordion-control-${n}`,"aria-label":i,"aria-expanded":u,"aria-controls":`accordion-content-${n}`,children:[a.jsxs(Q,{themeName:`${r}.button`,tokens:{...o,isOpen:u},handlePress:()=>{y(!u),l?.(u)},as:"button",id:`accordion-control-${n}`,"aria-label":i,children:[a.jsx("div",{className:p,children:s}),a.jsx("div",{className:w,children:a.jsx(j,{icon:c??"ArrowDown"})})]}),a.jsx("div",{className:b,role:"region",id:`accordion-content-${n}`,"aria-labelledby":`accordion-control-${n}`,children:a.jsx("div",{className:$,children:d})})]})},dn=e=>{const{sharingLinksList:t,id:r,isOpen:n,setIsOpen:o,onShare:s,themeName:i="shareButton",tokens:l,customTheme:c}=e,d=g(`${i}.linksList`,{...l,isOpen:n},c),u=x.useFocusManager(),y=f=>{f.key==="Escape"&&o(!1);const{listDirection:p}=l??{};p==="row"&&(f.key==="ArrowRight"&&(u.focusNext({wrap:!0}),f.preventDefault()),f.key==="ArrowLeft"&&(u.focusPrevious({wrap:!0}),f.preventDefault())),p==="column"&&(f.key==="ArrowDown"&&(u.focusNext({wrap:!0}),f.preventDefault()),f.key==="ArrowUp"&&(u.focusPrevious({wrap:!0}),f.preventDefault()))};return a.jsx("div",{className:d,id:r,role:"listbox",tabIndex:-1,onKeyDown:y,children:t?.map(f=>{const{ariaLabel:p,onClick:w,href:b,icon:$,key:v}=f;return a.jsx(Q,{themeName:`${i}.link`,tokens:{...l,isOpen:n},handlePress:()=>{s?.(v),w?.(v)},"aria-label":p,...b?{href:b,rel:"noopener noreferrer",target:"_blank",as:"a"}:{},role:"option",children:a.jsx(j,{themeName:`${i}.linkIcons`,icon:$})},v)})})},fn=e=>{const{ariaLabel:t,icon:r,id:n,sharingLinksList:o,onShare:s,customTheme:i,themeName:l="shareButton",tokens:c,...d}=e,[u,y]=h.useState(!1),f=g(`${l}.container`,c,i),p=b=>{y(!u),!u&&setTimeout(()=>{b.target.parentElement?.lastChild?.firstChild?.focus()})},w=b=>{const $=b.currentTarget.firstChild,v=b.currentTarget.lastChild,M=v.firstChild,k=v.lastChild,{listDirection:D}=c??{};D==="row"&&(b.key==="ArrowRight"&&b.target===$&&(M?.focus(),b.preventDefault()),b.key==="ArrowLeft"&&b.target===$&&(k.focus(),b.preventDefault())),D==="column"&&(b.key==="ArrowDown"&&b.target===$&&(M?.focus(),b.preventDefault()),b.key==="ArrowUp"&&b.target===$&&(k.focus(),b.preventDefault())),b.key==="Escape"&&(y(!1),$?.focus()),document.activeElement===v&&$?.focus()};return a.jsx(x.FocusScope,{autoFocus:!0,restoreFocus:!0,contain:u,children:a.jsxs("div",{className:f,onKeyDown:w,children:[a.jsx(V,{themeName:`${l}.button`,tokens:{...c,isOpen:u},"aria-label":t,"aria-haspopup":"listbox","aria-expanded":u?"true":"false","aria-controls":"share-buttons",handlePress:p,...d,children:a.jsx(j,{themeName:`${l}.icon`,icon:r??"Share"})}),u&&a.jsx(dn,{id:n,sharingLinksList:o,onShare:s,isOpen:u,setIsOpen:y,themeName:l,customTheme:i,tokens:c})]})})};function ft(){const e=h.createContext(void 0);function t(){const r=h.useContext(e);if(r===void 0)throw new Error("useCtx must be inside a Provider");return r}return[t,e.Provider]}const ht=(e,t,r)=>{const n=Qt.useOverlayTriggerState({defaultOpen:e,onOpenChange:u=>t?.(u)}),o=h.useRef(null),s=h.useRef(null);h.useEffect(()=>{if(e){n.open();return}n.close()},[e]);const i=()=>{n.open()},l=()=>{n.close(),r?.()},{buttonProps:c}=x.useButton({elementType:"div",onPress:i},o),{buttonProps:d}=x.useButton({onPress:l},s);return{state:n,openButtonProps:c,closeButtonProps:d,handleOpen:i,handleClose:l,openButtonRef:o,closeButtonRef:s}},[mt,hn]=ft();function mn({children:e,defaultSelectedKey:t}){const{state:r,closeButtonProps:n,closeButtonRef:o,openButtonProps:s,openButtonRef:i}=ht(!1),l=h.useMemo(()=>({defaultSelectedKey:t,overlayState:r,buttonProps:{closeButtonProps:n,closeButtonRef:o,openButtonProps:s,openButtonRef:i}}),[r,t,n,s]);return a.jsx(hn,{value:l,children:e})}const bn=({isVisible:e,children:t})=>F.useTransition(e,{from:{opacity:0,translateX:"100%"},enter:{opacity:1,translateX:"0%"},leave:{opacity:0,translateX:"25%"}})((n,o)=>o&&a.jsx(F.animated.div,{style:n,children:t})),gn="fixed",pn=({isVisible:e,children:t})=>F.useTransition(e,{from:{opacity:0,position:gn,left:0,top:0,zIndex:1e3,bottom:0,height:"100%",width:"100%"},enter:{opacity:1},leave:{opacity:0},config:F.config.stiff})((n,o)=>o&&a.jsx(F.animated.div,{style:n,children:t})),yn="fixed",xn=({isVisible:e,children:t})=>F.useTransition(e,{from:{opacity:0,scale:.75,position:yn,left:0,top:0,zIndex:1e3,bottom:0,height:"100%",width:"100%"},enter:{opacity:1,scale:1},leave:{opacity:0,scale:.75},config:F.config.stiff})((n,o)=>o&&a.jsx(F.animated.div,{style:n,children:t})),$n=e=>{const{children:t}=e,r=h.useRef(null),{overlayProps:n,underlayProps:o}=x.useOverlay(e,r),{modalProps:s}=x.useModal(),{dialogProps:i}=x.useDialog(e,r);return a.jsx("div",{...o,children:a.jsx(x.FocusRing,{focusRingClass:"has-focus-ring",within:!0,autoFocus:!0,children:a.jsx(x.FocusScope,{contain:!0,restoreFocus:!0,autoFocus:!0,children:a.jsx("div",{...n,...i,...s,ref:r,children:t})})})})},Re=e=>{const[t,r]=h.useState(!1),{children:n,state:o,onCloseCallBack:s,transitionComponent:i=xn}=e,l=h.useCallback(()=>{o.close(),s?.()},[o.close,s]);return h.useEffect(()=>{!o.isOpen&&t||r(!0)},[o.isOpen]),t?a.jsx(H.OverlayContainer,{children:a.jsx(i,{isVisible:o.isOpen,children:a.jsx($n,{isOpen:o.isOpen,onClose:l,isDismissable:!0,children:n})})}):null},vn=e=>{const{children:t,closeBtnRender:r,themeName:n="sidePanel",tokens:o,customTheme:s}=e,i=g(`${n}.wrapper`,o,s),l=g(`${n}.container`,o,s),c=g(`${n}.innerContainer`,o,s),{overlayState:d}=mt();return a.jsx(Re,{state:d,transitionComponent:pn,children:a.jsxs(Vt,{className:i,children:[r&&r(),a.jsx(bn,{isVisible:d.isOpen,children:a.jsx("div",{className:l,children:a.jsx("div",{className:c,children:t})})})]})})},wn=h.memo(vn),Dn=e=>{const{children:t,thumbnailContent:r,isOpen:n,onOpenCallBack:o,onCloseCallBack:s,label:i,themeName:l="lightBox",tokens:c,customTheme:d}=e,{state:u,openButtonRef:y,openButtonProps:f,closeButtonProps:p,closeButtonRef:w}=ht(n,o,s),b=g(`${l}.container`,c,d);return a.jsxs("div",{children:[a.jsx(_.FocusRing,{focusRingClass:"has-focus-ring",within:!0,children:a.jsxs(V,{ref:y,themeName:`${l}.wrapper`,...f,...n?{tabIndex:-1}:{},children:[i&&a.jsx(T,{themeName:`${l}.label`,tokens:{size:"footnotes"},children:i}),r]})}),a.jsx(Re,{onCloseCallBack:s,state:u,children:a.jsxs("div",{children:[a.jsx(V,{themeName:`${l}.closeBtn`,type:"button",...p,ref:w,children:a.jsx(j,{icon:"CloseBtn"})}),a.jsx("div",{className:b,children:t})]})})]})},Cn=({as:e="div",themeName:t="box",tokens:r,customTheme:n,children:o,className:s,...i})=>{const l=g(t,r,n);return a.jsx(e,{...i,className:l,children:o})},bt=h.forwardRef((e,t)=>{const{as:r="div",tokens:n,themeName:o="box",customTheme:s,children:i,...l}=e,c=g(o,n,s);return a.jsx(r,{...l,ref:t,className:c,children:i})}),Mn=h.forwardRef((e,t)=>{const{isOpen:r,onClose:n,children:o,positionProps:s,themeName:i="popover",tokens:l,customTheme:c,...d}=e,{overlayProps:u}=x.useOverlay({isOpen:r,onClose:n,shouldCloseOnBlur:!1,isDismissable:!1},t),{modalProps:y}=x.useModal(),{dialogProps:f}=x.useDialog({},t),p=g(`${i}.popover`,l,c);return a.jsx(x.FocusScope,{autoFocus:!0,restoreFocus:!0,contain:!0,children:a.jsxs(bt,{customTheme:p,...x.mergeProps(u,y,f),ref:t,...s,...d,children:[h.Children.map(o,w=>a.jsx(x.FocusRing,{focusRingClass:"has-focus-ring",children:w})),a.jsx(x.DismissButton,{onDismiss:n})]})})});function kn(e){const{children:t,buttonProps:r,placement:n="right",offset:o=5,themeName:s="popover",tokens:i,customTheme:l}=e,c=rt.useOverlayTriggerState({}),d=h.useRef(null),u=h.useRef(null),{triggerProps:y,overlayProps:f}=x.useOverlayTrigger({type:"dialog"},c,d),{overlayProps:p}=x.useOverlayPosition({targetRef:d,overlayRef:u,placement:n,offset:o,isOpen:c.isOpen}),{onPress:w,...b}=y;return a.jsxs(a.Fragment,{children:[a.jsx(V,{themeName:`${s}.button`,handlePress:w,...r,...b,ref:d}),c.isOpen&&a.jsx(x.OverlayContainer,{children:a.jsx(Mn,{themeName:s,tokens:i,customTheme:l,...f,positionProps:p,ref:u,isOpen:c.isOpen,onClose:c.close,children:t})})]})}const Pn=({content:e,themeName:t="wysiwyg",...r})=>a.jsx(T,{...r,themeName:t,dangerouslySetInnerHTML:{__html:Wt.sanitize(e,{ADD_TAGS:["iframe"],ADD_ATTR:["allow","allowfullscreen","frameborder","scrolling"]})}}),Tn=e=>a.jsxs("svg",{width:24,height:24,fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:[a.jsx("g",{children:a.jsx("path",{d:"M23.92 12.38a1 1 0 0 0 0-.76 1 1 0 0 0-.21-.33l-8-8a1.003 1.003 0 1 0-1.42 1.42l6.3 6.29H1a1 1 0 1 0 0 2h19.59l-6.3 6.29a1 1 0 0 0 0 1.42 1.002 1.002 0 0 0 1.42 0l8-8c.091-.095.162-.207.21-.33Z"})}),a.jsx("defs",{children:a.jsx("clipPath",{children:a.jsx("path",{fill:"currentColor",d:"M0 0h24v24H0z"})})})]}),gt=h.memo(Tn,Gt),jn=Object.freeze(Object.defineProperty({__proto__:null,default:gt},Symbol.toStringTag,{value:"Module"})),Sn=e=>{const{as:t="time",date:r,tokens:n,customTheme:o,dateFormatterOptions:s={month:"long",day:"numeric",year:"numeric"},themeName:i="typography",...l}=e,c=x.useIsSSR(),d=new Date(r),y=fe.useDateFormatter(s).format(d),f=g(i,n,o);return c||Pe.isEmpty(y)?null:a.jsx(t,{...l,dateTime:d.toISOString(),className:f,children:y})},Rn=({item:e,state:t,themeName:r="li"})=>{const n=h.useRef(null),{optionProps:o,isFocusVisible:s}=x.useOption({key:e.key},t,n),i=g(r);return a.jsx(Se,{as:"li",...o,tokens:{className:`${i} ${s?"has-focus-ring":""}`},ref:n,children:e.rendered})},In=e=>{const t=h.useRef(null),{listBoxRef:r=t,state:n,themeName:o="option"}=e,{listBoxProps:s}=x.useListBox(e,n,r);return a.jsx(x.FocusScope,{autoFocus:!0,restoreFocus:!0,contain:!0,children:a.jsx(Se,{...s,ref:r,as:"ul",themeName:`${o}.ul`,children:[...n.collection].map(i=>a.jsx(Rn,{themeName:`${o}.li`,item:i,state:n},i.key))})})},An=e=>{const t=h.useRef(null),{popoverRef:r=t,state:n,children:o,themeName:s="popover",...i}=e,{popoverProps:l,underlayProps:c}=x.usePopover({...e,popoverRef:r},n);return a.jsxs(x.Overlay,{children:[a.jsx("div",{...c,style:{position:"fixed",inset:0}}),a.jsxs(Se,{themeName:s,...i,...l,as:"div",ref:r,children:[a.jsx(x.DismissButton,{onDismiss:n.close}),o,a.jsx(x.DismissButton,{onDismiss:n.close})]})]})},pt=e=>{const{name:t,placeholderLabel:r,disabled:n,hookFormRef:o,isError:s=!1,errorMessage:i,themeName:l="select",tokens:c,customTheme:d,label:u,onSelectionChange:y,defaultValue:f,value:p,icon:w,...b}=e,$=h.useRef(null),v=rt.useSelectState({...b,selectedKey:p,defaultSelectedKey:f,onSelectionChange:y}),{triggerProps:M,menuProps:k,labelProps:D}=x.useSelect({...b},v,$),S=g(`${l}.wrapper`,c,d),L=g(`${l}.container`,c,d);return a.jsxs("div",{className:S,children:[u&&a.jsx(T,{...D,as:"label",themeName:`${l}.label`,children:u}),a.jsx(x.HiddenSelect,{...o,state:v,triggerRef:$,name:t,isDisabled:!0}),a.jsxs("div",{className:L,children:[a.jsxs(V,{...M,ref:$,disabled:n,themeName:`${l}.button`,tokens:{...c,intent:s?"error":"default"},children:[v.selectedItem?v.selectedItem.rendered:r,a.jsx(j,{icon:w??"ArrowDown"})]}),v.isOpen&&$.current&&a.jsx(An,{state:v,tokens:{width:`${$.current?.offsetWidth}`},triggerRef:$,placement:"bottom",themeName:`${l}.popover`,children:a.jsx(In,{...k,themeName:l,state:v})}),s&&a.jsx(T,{tokens:{...c,isError:s},themeName:`${l}.errorMessage`,children:i})]})]})},Bn=e=>{const{name:t,required:r,children:n}=e,{register:o,formState:s}=ae.useFormContext(),l=ae.get(s.errors,t)?.message??void 0,{ref:c}=o(t,{required:r?"This is an error message":!1});return a.jsx(pt,{...e,isError:!Pe.isEmpty(l),errorMessage:l,hookFormRef:c,children:n})},En=e=>{const{id:t,label:r,isDisabled:n=!1,isError:o=!1,errorMessage:s,ariaLabel:i,icon:l,themeName:c="checkbox",tokens:d,customTheme:u}=e,y=Kt.useToggleState(e),f=h.useRef(null),{inputProps:p}=Ht.useCheckbox(e,y,f),{isSelected:w}=y,{focusProps:b,isFocusVisible:$}=_.useFocusRing(),v={...d,selected:w,isDisabled:n,isError:o,isFocusVisible:$},M=g(`${c}.container`,v,u),k=g(`${c}.checkBox`,v,u),D=g(`${c}.checkMark`,v,u),S=g(`${c}.checkMarkIcon`,v,u);return a.jsxs("div",{children:[a.jsx(_.FocusRing,{focusRingClass:"has-focus-ring",within:!0,children:a.jsxs("label",{className:M,htmlFor:t,"aria-label":i,"aria-disabled":n,children:[a.jsx(zt.VisuallyHidden,{children:a.jsx("input",{type:"checkbox",ref:f,"aria-labelledby":t,...p,...b})}),a.jsx("div",{className:k,"aria-checked":w,role:"checkbox","aria-labelledby":t,children:a.jsx("div",{className:D,children:l&&a.jsx(j,{icon:l,customTheme:S})})}),a.jsx(T,{themeName:`${c}.label`,tokens:v,children:r})]})}),o&&s&&a.jsx(T,{themeName:`${c}.errorMessage`,tokens:v,children:s})]})},Nn=e=>{const{id:t,label:r,name:n,placeholder:o,required:s,disabled:i=!1,errorMessage:l,ariaLabel:c,value:d,onBlur:u,onChange:y,fieldRef:f,themeName:p="textarea",tokens:w,customTheme:b}=e,$=h.useRef(null),{errorMessageProps:v,inputProps:M,labelProps:k}=x.useTextField(e,$),D={...w,isDisabled:i,isError:l!=null},S=g(`${p}.wrapper`,D,b),L=g(`${p}.input`,D,b),pe=g(`${p}.label`,D,b),ye=g(`${p}.container`,D,b);return a.jsxs("div",{children:[a.jsxs("div",{className:S,"aria-disabled":i,children:[r&&a.jsx("label",{className:pe,...k,children:r}),a.jsx("div",{className:ye,children:a.jsx(_.FocusRing,{focusRingClass:"has-focus-ring",children:a.jsx("textarea",{ref:G=>{f?.(G),$.current=G},className:L,placeholder:o,disabled:i,required:s,id:t,name:n,"aria-label":c,"aria-labelledby":t,value:d,onBlur:u,onChange:y,...M})})})]}),l&&a.jsx(T,{themeName:`${p}.errorMessage`,tokens:D,...v,children:l})]})},yt=e=>{const{id:t,label:r,required:n,disabled:o=!1,errorMessage:s,ariaLabel:i,value:l,onBlur:c,onChange:d,fieldRef:u,type:y="text",children:f,themeName:p="textInput",tokens:w,customTheme:b}=e,$=h.useRef(null),{errorMessageProps:v,inputProps:M,labelProps:k}=x.useTextField(e,$),D={...w,isDisabled:o,isError:s!=null},S=g(`${p}.wrapper`,D,b),L=g(`${p}.label`,D,b),pe=g(`${p}.input`,D,b),ye=g(`${p}.container`,D,b);return a.jsxs("div",{children:[a.jsx(_.FocusRing,{focusRingClass:"has-focus-ring",within:!0,children:a.jsxs("div",{"aria-disabled":o,className:S,children:[r&&a.jsx("label",{className:L,...k,children:r}),a.jsxs("div",{className:ye,children:[f,a.jsx("input",{...M,className:pe,disabled:o,required:n,ref:G=>{u?.(G),$.current=G},"aria-label":i,"aria-labelledby":t,value:l,onBlur:c,onChange:d,type:y})]})]})}),s&&a.jsx(T,{themeName:`${p}.errorMessage`,tokens:D,...v,children:s})]})},Fn=e=>{const{name:t,required:r,minLength:n=0,maxLength:o=99999999,validation:s}=e,{register:i,formState:l}=ae.useFormContext(),d=ae.get(l.errors,t)?.message??void 0,{t:u}=Xt.useTranslation("components"),{ref:y,...f}=i(t,{required:r?u("FORM.ERROR.REQUIRED")??"required":!1,minLength:{value:n,message:u("FORM.ERROR.MIN_LENGTH",{length:n})},maxLength:{value:o,message:u("FORM.ERROR.MAX_LENGTH",{length:n})},...s});return a.jsx(yt,{fieldRef:y,...f,...e,isError:!Pe.isEmpty(d),errorMessage:d})};function Ln(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function xt(e,t,r){Ln(e,t),t.set(e,r)}function I(e,t){return e-t*Math.floor(e/t)}const $t=1721426;function q(e,t,r,n){t=X(e,t);let o=t-1,s=-2;return r<=2?s=0:E(t)&&(s=-1),$t-1+365*o+Math.floor(o/4)-Math.floor(o/100)+Math.floor(o/400)+Math.floor((367*r-362)/12+s+n)}function E(e){return e%4===0&&(e%100!==0||e%400===0)}function X(e,t){return e==="BC"?1-t:t}function he(e){let t="AD";return e<=0&&(t="BC",e=1-e),[t,e]}const On={standard:[31,28,31,30,31,30,31,31,30,31,30,31],leapyear:[31,29,31,30,31,30,31,31,30,31,30,31]};class A{fromJulianDay(t){let r=t,n=r-$t,o=Math.floor(n/146097),s=I(n,146097),i=Math.floor(s/36524),l=I(s,36524),c=Math.floor(l/1461),d=I(l,1461),u=Math.floor(d/365),y=o*400+i*100+c*4+u+(i!==4&&u!==4?1:0),[f,p]=he(y),w=r-q(f,p,1,1),b=2;r<q(f,p,3,1)?b=0:E(p)&&(b=1);let $=Math.floor(((w+b)*12+373)/367),v=r-q(f,p,$,1)+1;return new C(f,p,$,v)}toJulianDay(t){return q(t.era,t.year,t.month,t.day)}getDaysInMonth(t){return On[E(t.year)?"leapyear":"standard"][t.month-1]}getMonthsInYear(t){return 12}getDaysInYear(t){return E(t.year)?366:365}getYearsInEra(t){return 9999}getEras(){return["BC","AD"]}isInverseEra(t){return t.era==="BC"}balanceDate(t){t.year<=0&&(t.era=t.era==="BC"?"AD":"BC",t.year=1-t.year)}constructor(){this.identifier="gregory"}}const qn={"001":1,AD:1,AE:6,AF:6,AI:1,AL:1,AM:1,AN:1,AR:1,AT:1,AU:1,AX:1,AZ:1,BA:1,BE:1,BG:1,BH:6,BM:1,BN:1,BY:1,CH:1,CL:1,CM:1,CN:1,CR:1,CY:1,CZ:1,DE:1,DJ:6,DK:1,DZ:6,EC:1,EE:1,EG:6,ES:1,FI:1,FJ:1,FO:1,FR:1,GB:1,GE:1,GF:1,GP:1,GR:1,HR:1,HU:1,IE:1,IQ:6,IR:6,IS:1,IT:1,JO:6,KG:1,KW:6,KZ:1,LB:1,LI:1,LK:1,LT:1,LU:1,LV:1,LY:6,MC:1,MD:1,ME:1,MK:1,MN:1,MQ:1,MV:5,MY:1,NL:1,NO:1,NZ:1,OM:6,PL:1,QA:6,RE:1,RO:1,RS:1,RU:1,SD:6,SE:1,SI:1,SK:1,SM:1,SY:6,TJ:1,TM:1,TR:1,UA:1,UY:1,UZ:1,VA:1,VN:1,XK:1};function Ne(e,t){return t=me(t,e.calendar),e.era===t.era&&e.year===t.year&&e.month===t.month&&e.day===t.day}function vt(e,t){let r=e.calendar.toJulianDay(e),n=Math.ceil(r+1-_n(t))%7;return n<0&&(n+=7),n}function wt(e,t){return e.calendar.toJulianDay(e)-t.calendar.toJulianDay(t)}function Un(e,t){return Fe(e)-Fe(t)}function Fe(e){return e.hour*36e5+e.minute*6e4+e.second*1e3+e.millisecond}let xe=null;function Dt(){return xe==null&&(xe=new Intl.DateTimeFormat().resolvedOptions().timeZone),xe}function Yn(e){return e.subtract({days:e.day-1})}const Le=new Map;function Jn(e){if(Intl.Locale){let r=Le.get(e);return r||(r=new Intl.Locale(e).maximize().region,Le.set(e,r)),r}let t=e.split("-")[1];return t==="u"?null:t}function _n(e){let t=Jn(e);return qn[t]||0}function Vn(e,t){let r=e.calendar.getDaysInMonth(e);return Math.ceil((vt(Yn(e),t)+r)/7)}function Oe(e){e=me(e,new A);let t=X(e.era,e.year);return Ct(t,e.month,e.day,e.hour,e.minute,e.second,e.millisecond)}function Ct(e,t,r,n,o,s,i){let l=new Date;return l.setUTCHours(n,o,s,i),l.setUTCFullYear(e,t-1,r),l.getTime()}function qe(e,t){if(t==="UTC")return 0;if(e>0&&t===Dt())return new Date(e).getTimezoneOffset()*-6e4;let{year:r,month:n,day:o,hour:s,minute:i,second:l}=Mt(e,t);return Ct(r,n,o,s,i,l,0)-Math.floor(e/1e3)*1e3}const Ue=new Map;function Mt(e,t){let r=Ue.get(t);r||(r=new Intl.DateTimeFormat("en-US",{timeZone:t,hour12:!1,era:"short",year:"numeric",month:"numeric",day:"numeric",hour:"numeric",minute:"numeric",second:"numeric"}),Ue.set(t,r));let n=r.formatToParts(new Date(e)),o={};for(let s of n)s.type!=="literal"&&(o[s.type]=s.value);return{year:o.era==="BC"||o.era==="B"?-o.year+1:+o.year,month:+o.month,day:+o.day,hour:o.hour==="24"?0:+o.hour,minute:+o.minute,second:+o.second}}const Ye=864e5;function Qn(e,t,r,n){return(r===n?[r]:[r,n]).filter(s=>Wn(e,t,s))}function Wn(e,t,r){let n=Mt(r,t);return e.year===n.year&&e.month===n.month&&e.day===n.day&&e.hour===n.hour&&e.minute===n.minute&&e.second===n.second}function Gn(e,t,r="compatible"){let n=Pt(e);if(t==="UTC")return Oe(n);if(t===Dt()&&r==="compatible"){n=me(n,new A);let c=new Date,d=X(n.era,n.year);return c.setFullYear(d,n.month-1,n.day),c.setHours(n.hour,n.minute,n.second,n.millisecond),c.getTime()}let o=Oe(n),s=qe(o-Ye,t),i=qe(o+Ye,t),l=Qn(n,t,o-s,o-i);if(l.length===1)return l[0];if(l.length>1)switch(r){case"compatible":case"earlier":return l[0];case"later":return l[l.length-1];case"reject":throw new RangeError("Multiple possible absolute times found")}switch(r){case"earlier":return Math.min(o-s,o-i);case"compatible":case"later":return Math.max(o-s,o-i);case"reject":throw new RangeError("No such absolute time found")}}function kt(e,t,r="compatible"){return new Date(Gn(e,t,r))}function Pt(e,t){let r=0,n=0,o=0,s=0;if("timeZone"in e)({hour:r,minute:n,second:o,millisecond:s}=e);else if("hour"in e&&!t)return e;return t&&({hour:r,minute:n,second:o,millisecond:s}=t),new ie(e.calendar,e.era,e.year,e.month,e.day,r,n,o,s)}function me(e,t){if(e.calendar.identifier===t.identifier)return e;let r=t.fromJulianDay(e.calendar.toJulianDay(e)),n=e.copy();return n.calendar=t,n.era=r.era,n.year=r.year,n.month=r.month,n.day=r.day,W(n),n}function Ie(e,t){let r=e.copy(),n="hour"in r?eo(r,t):0;we(r,t.years||0),r.calendar.balanceYearMonth&&r.calendar.balanceYearMonth(r,e),r.month+=t.months||0,De(r),Tt(r),r.day+=(t.weeks||0)*7,r.day+=t.days||0,r.day+=n,Hn(r),r.calendar.balanceDate&&r.calendar.balanceDate(r),r.year<1&&(r.year=1,r.month=1,r.day=1);let o=r.calendar.getYearsInEra(r);if(r.year>o){var s,i;let c=(i=(s=r.calendar).isInverseEra)===null||i===void 0?void 0:i.call(s,r);r.year=o,r.month=c?1:r.calendar.getMonthsInYear(r),r.day=c?1:r.calendar.getDaysInMonth(r)}r.month<1&&(r.month=1,r.day=1);let l=r.calendar.getMonthsInYear(r);return r.month>l&&(r.month=l,r.day=r.calendar.getDaysInMonth(r)),r.day=Math.max(1,Math.min(r.calendar.getDaysInMonth(r),r.day)),r}function we(e,t){var r,n;!((n=(r=e.calendar).isInverseEra)===null||n===void 0)&&n.call(r,e)&&(t=-t),e.year+=t}function De(e){for(;e.month<1;)we(e,-1),e.month+=e.calendar.getMonthsInYear(e);let t=0;for(;e.month>(t=e.calendar.getMonthsInYear(e));)e.month-=t,we(e,1)}function Hn(e){for(;e.day<1;)e.month--,De(e),e.day+=e.calendar.getDaysInMonth(e);for(;e.day>e.calendar.getDaysInMonth(e);)e.day-=e.calendar.getDaysInMonth(e),e.month++,De(e)}function Tt(e){e.month=Math.max(1,Math.min(e.calendar.getMonthsInYear(e),e.month)),e.day=Math.max(1,Math.min(e.calendar.getDaysInMonth(e),e.day))}function W(e){e.calendar.constrainDate&&e.calendar.constrainDate(e),e.year=Math.max(1,Math.min(e.calendar.getYearsInEra(e),e.year)),Tt(e)}function zn(e){let t={};for(let r in e)typeof e[r]=="number"&&(t[r]=-e[r]);return t}function jt(e,t){return Ie(e,zn(t))}function St(e,t){let r=e.copy();return t.era!=null&&(r.era=t.era),t.year!=null&&(r.year=t.year),t.month!=null&&(r.month=t.month),t.day!=null&&(r.day=t.day),W(r),r}function Kn(e,t){let r=e.copy();return t.hour!=null&&(r.hour=t.hour),t.minute!=null&&(r.minute=t.minute),t.second!=null&&(r.second=t.second),t.millisecond!=null&&(r.millisecond=t.millisecond),Zn(r),r}function Xn(e){e.second+=Math.floor(e.millisecond/1e3),e.millisecond=ee(e.millisecond,1e3),e.minute+=Math.floor(e.second/60),e.second=ee(e.second,60),e.hour+=Math.floor(e.minute/60),e.minute=ee(e.minute,60);let t=Math.floor(e.hour/24);return e.hour=ee(e.hour,24),t}function Zn(e){e.millisecond=Math.max(0,Math.min(e.millisecond,1e3)),e.second=Math.max(0,Math.min(e.second,59)),e.minute=Math.max(0,Math.min(e.minute,59)),e.hour=Math.max(0,Math.min(e.hour,23))}function ee(e,t){let r=e%t;return r<0&&(r+=t),r}function eo(e,t){return e.hour+=t.hours||0,e.minute+=t.minutes||0,e.second+=t.seconds||0,e.millisecond+=t.milliseconds||0,Xn(e)}function Rt(e,t,r,n){let o=e.copy();switch(t){case"era":{let l=e.calendar.getEras(),c=l.indexOf(e.era);if(c<0)throw new Error("Invalid era: "+e.era);c=N(c,r,0,l.length-1,n?.round),o.era=l[c],W(o);break}case"year":var s,i;!((i=(s=o.calendar).isInverseEra)===null||i===void 0)&&i.call(s,o)&&(r=-r),o.year=N(e.year,r,-1/0,9999,n?.round),o.year===-1/0&&(o.year=1),o.calendar.balanceYearMonth&&o.calendar.balanceYearMonth(o,e);break;case"month":o.month=N(e.month,r,1,e.calendar.getMonthsInYear(e),n?.round);break;case"day":o.day=N(e.day,r,1,e.calendar.getDaysInMonth(e),n?.round);break;default:throw new Error("Unsupported field "+t)}return e.calendar.balanceDate&&e.calendar.balanceDate(o),W(o),o}function to(e,t,r,n){let o=e.copy();switch(t){case"hour":{let s=e.hour,i=0,l=23;if(n?.hourCycle===12){let c=s>=12;i=c?12:0,l=c?23:11}o.hour=N(s,r,i,l,n?.round);break}case"minute":o.minute=N(e.minute,r,0,59,n?.round);break;case"second":o.second=N(e.second,r,0,59,n?.round);break;case"millisecond":o.millisecond=N(e.millisecond,r,0,999,n?.round);break;default:throw new Error("Unsupported field "+t)}return o}function N(e,t,r,n,o=!1){if(o){e+=Math.sign(t),e<r&&(e=n);let s=Math.abs(t);t>0?e=Math.ceil(e/s)*s:e=Math.floor(e/s)*s,e>n&&(e=r)}else e+=t,e<r?e=n-(r-e-1):e>n&&(e=r+(e-n-1));return e}function ro(e){return`${String(e.hour).padStart(2,"0")}:${String(e.minute).padStart(2,"0")}:${String(e.second).padStart(2,"0")}${e.millisecond?String(e.millisecond/1e3).slice(1):""}`}function It(e){let t=me(e,new A);return`${String(t.year).padStart(4,"0")}-${String(t.month).padStart(2,"0")}-${String(t.day).padStart(2,"0")}`}function no(e){return`${It(e)}T${ro(e)}`}function At(e){let t=typeof e[0]=="object"?e.shift():new A,r;if(typeof e[0]=="string")r=e.shift();else{let i=t.getEras();r=i[i.length-1]}let n=e.shift(),o=e.shift(),s=e.shift();return[t,r,n,o,s]}var oo=new WeakMap;class C{copy(){return this.era?new C(this.calendar,this.era,this.year,this.month,this.day):new C(this.calendar,this.year,this.month,this.day)}add(t){return Ie(this,t)}subtract(t){return jt(this,t)}set(t){return St(this,t)}cycle(t,r,n){return Rt(this,t,r,n)}toDate(t){return kt(this,t)}toString(){return It(this)}compare(t){return wt(this,t)}constructor(...t){xt(this,oo,{writable:!0,value:void 0});let[r,n,o,s,i]=At(t);this.calendar=r,this.era=n,this.year=o,this.month=s,this.day=i,W(this)}}var so=new WeakMap;class ie{copy(){return this.era?new ie(this.calendar,this.era,this.year,this.month,this.day,this.hour,this.minute,this.second,this.millisecond):new ie(this.calendar,this.year,this.month,this.day,this.hour,this.minute,this.second,this.millisecond)}add(t){return Ie(this,t)}subtract(t){return jt(this,t)}set(t){return St(Kn(this,t),t)}cycle(t,r,n){switch(t){case"era":case"year":case"month":case"day":return Rt(this,t,r,n);default:return to(this,t,r,n)}}toDate(t,r){return kt(this,t,r)}toString(){return no(this)}compare(t){let r=wt(this,t);return r===0?Un(this,Pt(t)):r}constructor(...t){xt(this,so,{writable:!0,value:void 0});let[r,n,o,s,i]=At(t);this.calendar=r,this.era=n,this.year=o,this.month=s,this.day=i,this.hour=t.shift()||0,this.minute=t.shift()||0,this.second=t.shift()||0,this.millisecond=t.shift()||0,W(this)}}const Y=[[1868,9,8],[1912,7,30],[1926,12,25],[1989,1,8],[2019,5,1]],ao=[[1912,7,29],[1926,12,24],[1989,1,7],[2019,4,30]],ne=[1867,1911,1925,1988,2018],B=["meiji","taisho","showa","heisei","reiwa"];function Je(e){const t=Y.findIndex(([r,n,o])=>e.year<r||e.year===r&&e.month<n||e.year===r&&e.month===n&&e.day<o);return t===-1?Y.length-1:t===0?0:t-1}function $e(e){let t=ne[B.indexOf(e.era)];if(!t)throw new Error("Unknown era: "+e.era);return new C(e.year+t,e.month,e.day)}class io extends A{fromJulianDay(t){let r=super.fromJulianDay(t),n=Je(r);return new C(this,B[n],r.year-ne[n],r.month,r.day)}toJulianDay(t){return super.toJulianDay($e(t))}balanceDate(t){let r=$e(t),n=Je(r);B[n]!==t.era&&(t.era=B[n],t.year=r.year-ne[n]),this.constrainDate(t)}constrainDate(t){let r=B.indexOf(t.era),n=ao[r];if(n!=null){let[o,s,i]=n,l=o-ne[r];t.year=Math.max(1,Math.min(l,t.year)),t.year===l&&(t.month=Math.min(s,t.month),t.month===s&&(t.day=Math.min(i,t.day)))}if(t.year===1&&r>=0){let[,o,s]=Y[r];t.month=Math.max(o,t.month),t.month===o&&(t.day=Math.max(s,t.day))}}getEras(){return B}getYearsInEra(t){let r=B.indexOf(t.era),n=Y[r],o=Y[r+1];if(o==null)return 9999-n[0]+1;let s=o[0]-n[0];return(t.month<o[1]||t.month===o[1]&&t.day<o[2])&&s++,s}getDaysInMonth(t){return super.getDaysInMonth($e(t))}getMinimumMonthInYear(t){let r=_e(t);return r?r[1]:1}getMinimumDayInMonth(t){let r=_e(t);return r&&t.month===r[1]?r[2]:1}constructor(...t){super(...t),this.identifier="japanese"}}function _e(e){if(e.year===1){let t=B.indexOf(e.era);return Y[t]}}const Bt=-543;class lo extends A{fromJulianDay(t){let r=super.fromJulianDay(t),n=X(r.era,r.year);return new C(this,n-Bt,r.month,r.day)}toJulianDay(t){return super.toJulianDay(Ve(t))}getEras(){return["BE"]}getDaysInMonth(t){return super.getDaysInMonth(Ve(t))}balanceDate(){}constructor(...t){super(...t),this.identifier="buddhist"}}function Ve(e){let[t,r]=he(e.year+Bt);return new C(t,r,e.month,e.day)}const le=1911;function Et(e){return e.era==="minguo"?e.year+le:1-e.year+le}function Qe(e){let t=e-le;return t>0?["minguo",t]:["before_minguo",1-t]}class co extends A{fromJulianDay(t){let r=super.fromJulianDay(t),n=X(r.era,r.year),[o,s]=Qe(n);return new C(this,o,s,r.month,r.day)}toJulianDay(t){return super.toJulianDay(We(t))}getEras(){return["before_minguo","minguo"]}balanceDate(t){let[r,n]=Qe(Et(t));t.era=r,t.year=n}isInverseEra(t){return t.era==="before_minguo"}getDaysInMonth(t){return super.getDaysInMonth(We(t))}getYearsInEra(t){return t.era==="before_minguo"?9999:9999-le}constructor(...t){super(...t),this.identifier="roc"}}function We(e){let[t,r]=he(Et(e));return new C(t,r,e.month,e.day)}const uo=1948321;function fo(e){let t=e>0?e-474:e-473,r=I(t,2820)+474;return I((r+38)*31,128)<31}function te(e,t,r){let n=e>0?e-474:e-473,o=I(n,2820)+474,s=t<=7?31*(t-1):30*(t-1)+6;return uo-1+1029983*Math.floor(n/2820)+365*(o-1)+Math.floor((31*o-5)/128)+s+r}class ho{fromJulianDay(t){let r=t-te(475,1,1),n=Math.floor(r/1029983),o=I(r,1029983),s=o===1029982?2820:Math.floor((128*o+46878)/46751),i=474+2820*n+s;i<=0&&i--;let l=t-te(i,1,1)+1,c=l<=186?Math.ceil(l/31):Math.ceil((l-6)/31),d=t-te(i,c,1)+1;return new C(this,i,c,d)}toJulianDay(t){return te(t.year,t.month,t.day)}getMonthsInYear(){return 12}getDaysInMonth(t){return t.month<=6?31:t.month<=11||fo(t.year)?30:29}getEras(){return["AP"]}getYearsInEra(){return 9377}constructor(){this.identifier="persian"}}const ve=78,Ge=80;class mo extends A{fromJulianDay(t){let r=super.fromJulianDay(t),n=r.year-ve,o=t-q(r.era,r.year,1,1),s;o<Ge?(n--,s=E(r.year-1)?31:30,o+=s+155+90+10):(s=E(r.year)?31:30,o-=Ge);let i,l;if(o<s)i=1,l=o+1;else{let c=o-s;c<155?(i=Math.floor(c/31)+2,l=c%31+1):(c-=155,i=Math.floor(c/30)+7,l=c%30+1)}return new C(this,n,i,l)}toJulianDay(t){let r=t.year+ve,[n,o]=he(r),s,i;return E(o)?(s=31,i=q(n,o,3,21)):(s=30,i=q(n,o,3,22)),t.month===1?i+t.day-1:(i+=s+Math.min(t.month-2,5)*31,t.month>=8&&(i+=(t.month-7)*30),i+=t.day-1,i)}getDaysInMonth(t){return t.month===1&&E(t.year+ve)||t.month>=2&&t.month<=6?31:30}getYearsInEra(){return 9919}getEras(){return["saka"]}balanceDate(){}constructor(...t){super(...t),this.identifier="indian"}}const ce=1948440,He=1948439,P=1300,U=1600,bo=460322;function ue(e,t,r,n){return n+Math.ceil(29.5*(r-1))+(t-1)*354+Math.floor((3+11*t)/30)+e-1}function Nt(e,t,r){let n=Math.floor((30*(r-t)+10646)/10631),o=Math.min(12,Math.ceil((r-(29+ue(t,n,1,1)))/29.5)+1),s=r-ue(t,n,o,1)+1;return new C(e,n,o,s)}function ze(e){return(14+11*e)%30<11}class Ae{fromJulianDay(t){return Nt(this,ce,t)}toJulianDay(t){return ue(ce,t.year,t.month,t.day)}getDaysInMonth(t){let r=29+t.month%2;return t.month===12&&ze(t.year)&&r++,r}getMonthsInYear(){return 12}getDaysInYear(t){return ze(t.year)?355:354}getYearsInEra(){return 9665}getEras(){return["AH"]}constructor(){this.identifier="islamic-civil"}}class go extends Ae{fromJulianDay(t){return Nt(this,He,t)}toJulianDay(t){return ue(He,t.year,t.month,t.day)}constructor(...t){super(...t),this.identifier="islamic-tbla"}}const po="qgpUDckO1AbqBmwDrQpVBakGkgepC9QF2gpcBS0NlQZKB1QLagutBa4ETwoXBYsGpQbVCtYCWwmdBE0KJg2VDawFtgm6AlsKKwWVCsoG6Qr0AnYJtgJWCcoKpAvSC9kF3AJtCU0FpQpSC6ULtAW2CVcFlwJLBaMGUgdlC2oFqworBZUMSg2lDcoF1gpXCasESwmlClILagt1BXYCtwhbBFUFqQW0BdoJ3QRuAjYJqgpUDbIN1QXaAlsJqwRVCkkLZAtxC7QFtQpVCiUNkg7JDtQG6QprCasEkwpJDaQNsg25CroEWworBZUKKgtVC1wFvQQ9Ah0JlQpKC1oLbQW2AjsJmwRVBqkGVAdqC2wFrQpVBSkLkgupC9QF2gpaBasKlQVJB2QHqgu1BbYCVgpNDiULUgtqC60FrgIvCZcESwalBqwG1gpdBZ0ETQoWDZUNqgW1BdoCWwmtBJUFygbkBuoK9QS2AlYJqgpUC9IL2QXqAm0JrQSVCkoLpQuyBbUJ1gSXCkcFkwZJB1ULagVrCisFiwpGDaMNygXWCtsEawJLCaUKUgtpC3UFdgG3CFsCKwVlBbQF2gntBG0BtgimClINqQ3UBdoKWwmrBFMGKQdiB6kLsgW1ClUFJQuSDckO0gbpCmsFqwRVCikNVA2qDbUJugQ7CpsETQqqCtUK2gJdCV4ELgqaDFUNsga5BroEXQotBZUKUguoC7QLuQXaAloJSgukDdEO6AZqC20FNQWVBkoNqA3UDdoGWwWdAisGFQtKC5ULqgWuCi4JjwwnBZUGqgbWCl0FnQI=";let Ce,J;function oe(e){return bo+J[e-P]}function z(e,t){let r=e-P,n=1<<11-(t-1);return Ce[r]&n?30:29}function Ke(e,t){let r=oe(e);for(let n=1;n<t;n++)r+=z(e,n);return r}function Xe(e){return J[e+1-P]-J[e-P]}class yo extends Ae{fromJulianDay(t){let r=t-ce,n=oe(P),o=oe(U);if(r<n||r>o)return super.fromJulianDay(t);{let s=P-1,i=1,l=1;for(;l>0;){s++,l=r-oe(s)+1;let c=Xe(s);if(l===c){i=12;break}else if(l<c){let d=z(s,i);for(i=1;l>d;)l-=d,i++,d=z(s,i);break}}return new C(this,s,i,r-Ke(s,i)+1)}}toJulianDay(t){return t.year<P||t.year>U?super.toJulianDay(t):ce+Ke(t.year,t.month)+(t.day-1)}getDaysInMonth(t){return t.year<P||t.year>U?super.getDaysInMonth(t):z(t.year,t.month)}getDaysInYear(t){return t.year<P||t.year>U?super.getDaysInYear(t):Xe(t.year)}constructor(){if(super(),this.identifier="islamic-umalqura",Ce||(Ce=new Uint16Array(Uint8Array.from(atob(po),t=>t.charCodeAt(0)).buffer)),!J){J=new Uint32Array(U-P+1);let t=0;for(let r=P;r<=U;r++){J[r-P]=t;for(let n=1;n<=12;n++)t+=z(r,n)}}}}const Ze=347997,Ft=1080,Lt=24*Ft,xo=29,$o=12*Ft+793,vo=xo*Lt+$o;function O(e){return I(e*7+1,19)<7}function se(e){let t=Math.floor((235*e-234)/19),r=12084+13753*t,n=t*29+Math.floor(r/25920);return I(3*(n+1),7)<3&&(n+=1),n}function wo(e){let t=se(e-1),r=se(e);return se(e+1)-r===356?2:r-t===382?1:0}function K(e){return se(e)+wo(e)}function Ot(e){return K(e+1)-K(e)}function Do(e){let t=Ot(e);switch(t>380&&(t-=30),t){case 353:return 0;case 354:return 1;case 355:return 2}}function re(e,t){if(t>=6&&!O(e)&&t++,t===4||t===7||t===9||t===11||t===13)return 29;let r=Do(e);return t===2?r===2?30:29:t===3?r===0?29:30:t===6?O(e)?30:0:30}class Co{fromJulianDay(t){let r=t-Ze,n=r*Lt/vo,o=Math.floor((19*n+234)/235)+1,s=K(o),i=Math.floor(r-s);for(;i<1;)o--,s=K(o),i=Math.floor(r-s);let l=1,c=0;for(;c<i;)c+=re(o,l),l++;l--,c-=re(o,l);let d=i-c;return new C(this,o,l,d)}toJulianDay(t){let r=K(t.year);for(let n=1;n<t.month;n++)r+=re(t.year,n);return r+t.day+Ze}getDaysInMonth(t){return re(t.year,t.month)}getMonthsInYear(t){return O(t.year)?13:12}getDaysInYear(t){return Ot(t.year)}getYearsInEra(){return 9999}getEras(){return["AM"]}balanceYearMonth(t,r){r.year!==t.year&&(O(r.year)&&!O(t.year)&&r.month>6?t.month--:!O(r.year)&&O(t.year)&&r.month>6&&t.month++)}constructor(){this.identifier="hebrew"}}const Me=1723856,et=1824665,ke=5500;function de(e,t,r,n){return e+365*t+Math.floor(t/4)+30*(r-1)+n-1}function Be(e,t){let r=Math.floor(4*(t-e)/1461),n=1+Math.floor((t-de(e,r,1,1))/30),o=t+1-de(e,r,n,1);return[r,n,o]}function qt(e){return Math.floor(e%4/3)}function Ut(e,t){return t%13!==0?30:qt(e)+5}class Ee{fromJulianDay(t){let[r,n,o]=Be(Me,t),s="AM";return r<=0&&(s="AA",r+=ke),new C(this,s,r,n,o)}toJulianDay(t){let r=t.year;return t.era==="AA"&&(r-=ke),de(Me,r,t.month,t.day)}getDaysInMonth(t){return Ut(t.year,t.month)}getMonthsInYear(){return 13}getDaysInYear(t){return 365+qt(t.year)}getYearsInEra(t){return t.era==="AA"?9999:9991}getEras(){return["AA","AM"]}constructor(){this.identifier="ethiopic"}}class Mo extends Ee{fromJulianDay(t){let[r,n,o]=Be(Me,t);return r+=ke,new C(this,"AA",r,n,o)}getEras(){return["AA"]}getYearsInEra(){return 9999}constructor(...t){super(...t),this.identifier="ethioaa"}}class ko extends Ee{fromJulianDay(t){let[r,n,o]=Be(et,t),s="CE";return r<=0&&(s="BCE",r=1-r),new C(this,s,r,n,o)}toJulianDay(t){let r=t.year;return t.era==="BCE"&&(r=1-r),de(et,r,t.month,t.day)}getDaysInMonth(t){let r=t.year;return t.era==="BCE"&&(r=1-r),Ut(r,t.month)}isInverseEra(t){return t.era==="BCE"}balanceDate(t){t.year<=0&&(t.era=t.era==="BCE"?"CE":"BCE",t.year=1-t.year)}getEras(){return["BCE","CE"]}getYearsInEra(t){return t.era==="BCE"?9999:9715}constructor(...t){super(...t),this.identifier="coptic"}}function Yt(e){switch(e){case"buddhist":return new lo;case"ethiopic":return new Ee;case"ethioaa":return new Mo;case"coptic":return new ko;case"hebrew":return new Co;case"indian":return new mo;case"islamic-civil":return new Ae;case"islamic-tbla":return new go;case"islamic-umalqura":return new yo;case"japanese":return new io;case"persian":return new ho;case"roc":return new co;case"gregory":default:return new A}}function Po({themeName:e="calendar",tokens:t,state:r,date:n}){const o=h.useRef(null),{cellProps:s,buttonProps:i,isSelected:l,isOutsideVisibleRange:c,isDisabled:d,formattedDate:u,isInvalid:y}=je.useCalendarCell({date:n},r,o),f=r?.highlightedRange?Ne(n,r?.highlightedRange.start):l,p=r?.highlightedRange?Ne(n,r?.highlightedRange.end):l,{locale:w}=x.useLocale(),b=vt(n,w),$=l&&(f||b===0||n.day===1),v=l&&(p||b===6||n.day===n.calendar.getDaysInMonth(n)),{focusProps:M,isFocusVisible:k}=_.useFocusRing(),D=g(`${e}.cellContainer`,{...t,isFocusVisible:k}),S=g(`${e}.cell`,{...t,isSelected:l,isInvalid:y,isDisabled:d,isRoundedLeft:$,isRoundedRight:v}),L=g(`${e}.cellDate`,{...t,isSelected:l,isInvalid:y,isDisabled:d,isSelectionStart:f,isSelectionEnd:p});return a.jsx("td",{...s,"aria-disabled":!1,className:D,children:a.jsx("div",{...er.mergeProps(i,M),ref:o,hidden:c,className:S,children:a.jsx("div",{className:L,children:u})})})}function To({themeName:e="calendar",customTheme:t,tokens:r,state:n,...o}){const{locale:s}=fe.useLocale(),{gridProps:i,headerProps:l,weekDays:c}=je.useCalendarGrid({...o},n),d=Vn(n.visibleRange.start,s),u=g(`${e}.calendarTable`,r),y=g(`${e}.dayLabel`,r);return a.jsxs("table",{...i,cellPadding:"0",className:u,children:[a.jsx("thead",{...l,children:a.jsx("tr",{children:c.map(f=>a.jsx("th",{className:y,children:f},`${f}`))})}),a.jsx("tbody",{children:[...new Array(d).keys()].map(f=>a.jsx("tr",{children:n.getDatesInWeek(f).map((p,w)=>p?a.jsx(Po,{state:n,date:p},p?.day):a.jsx("td",{},w))},f))})]})}function Jt({buttons:e,tokens:t,customTheme:r,themeName:n="calendar",...o}){const{locale:s}=fe.useLocale(),i=Zt.useCalendarState({...o,locale:s,createCalendar:Yt}),l=h.useRef(null),{calendarProps:c,prevButtonProps:d,nextButtonProps:u,title:y}=je.useCalendar({...o},i),f=g(`${n}.container`,t),p=g(`${n}.header`,t),w=g(`${n}.navigationButtonsContainer`,t);return a.jsxs("div",{...c,ref:l,className:f,children:[a.jsxs("div",{className:p,children:[a.jsx(T,{as:"p",tokens:{size:"h6"},children:y}),a.jsxs("div",{className:w,children:[a.jsx(Q,{themeName:`${n}.navigationButtons`,tokens:{...t},type:"button",...d,handlePress:d?.onPress,children:a.jsx(j,{icon:e?.buttonPrev?.icon??"ArrowLeft"})}),a.jsx(Q,{themeName:`${n}.navigationButtons`,tokens:{...t},type:"button",...u,handlePress:u?.onPress,children:a.jsx(j,{icon:e?.buttonNext?.icon??"ArrowRight"})})]})]}),a.jsx(To,{state:i})]})}function jo({title:e,children:t,...r}){const n=h.useRef(null),{dialogProps:o}=x.useDialog(r,n);return a.jsx("div",{...o,ref:n,children:t})}function So({themeName:e="datePicker",tokens:t,...r}){const n=rr.useRef(null),{state:o,children:s}={...r},{popoverProps:i,underlayProps:l}=H.usePopover({...r,popoverRef:n},o),c=g(`${e}.calendarUnderlay`,t),d=g(`${e}.calendarPopover`,t);return a.jsxs(H.Overlay,{children:[a.jsx("div",{...l,className:c}),a.jsxs("div",{...i,ref:n,className:d,children:[a.jsx(H.DismissButton,{onDismiss:o.close}),s,a.jsx(H.DismissButton,{onDismiss:o.close})]})]})}function Ro({segment:e,state:t}){const r=h.useRef(null),{segmentProps:n}=Te.useDateSegment(e,t,r),o=g("datePicker.dateSegment");return a.jsx(x.FocusRing,{focusRingClass:"has-focus-ring",children:a.jsxs("div",{...n,ref:r,className:o,children:[a.jsx("span",{"aria-hidden":"true",style:{visibility:e.isPlaceholder?"visible":"hidden",height:e.isPlaceholder?"":0,pointerEvents:"none",display:e.isPlaceholder?"block":"none"},children:e.placeholder}),e.isPlaceholder?"":e.text]})})}function tt(e){const{locale:t}=fe.useLocale(),r=nt.useDateFieldState({...e,locale:t,createCalendar:Yt}),n=h.useRef(null),{fieldProps:o}=Te.useDateField(e,r,n);return a.jsx("div",{...o,ref:n,className:"flex",children:r.segments.map((s,i)=>a.jsx(Ro,{segment:s,state:r},i))})}function Io({popoverPlacement:e="bottom start",tokens:t,customTheme:r,themeName:n="datePicker",icon:o="ArrowDown",description:s,buttonLabel:i,...l}){const c=nt.useDatePickerState({...l}),d=h.useRef(null),{groupProps:u,fieldProps:y,labelProps:f,descriptionProps:p,buttonProps:w,dialogProps:b,calendarProps:$}=Te.useDatePicker({...l},c,d),{label:v}={...l},M=g(`${n}.container`,t),k=g(`${n}.dateField`,t),D=g(`${n}.label`,t);return a.jsxs("div",{className:M,children:[v&&a.jsx("span",{...f,children:v}),s&&a.jsx("div",{...p,children:s}),a.jsx("div",{...u,ref:d,children:a.jsxs(Q,{themeName:`${n}.button`,tokens:{...t},type:"button",...w,handlePress:w.onPress,children:[i&&a.jsx("p",{className:D,children:i}),a.jsxs("div",{className:k,children:[a.jsx(tt,{...y}),c.validationState==="invalid"&&"❌"]}),a.jsx(j,{themeName:`${n}.icon`,tokens:{...t},icon:o})]})}),c.isOpen&&a.jsx(So,{triggerRef:d,state:c,placement:e,children:a.jsxs(jo,{...b,children:[a.jsxs("div",{children:[a.jsx(tt,{...y}),c.validationState==="invalid"&&"❌"]}),a.jsx(Jt,{...$})]})})]})}const[Ao,Bo]=ft();function Eo({children:e}){const[t,r]=h.useState(!1);h.useEffect(()=>{r(!0)},[]);const n=h.useMemo(()=>({isClient:t}),[t]);return a.jsx(Bo,{value:n,children:e})}const be=(e,t,r="sharing_tool")=>`?utm_source=${e}&utm_medium=${t}&utm_campaign=${r}`,ge=()=>{const[e,t]=h.useState(),[r,n]=h.useState();return h.useEffect(()=>{t(window.location.href),n(window.document.title)},[]),{windowLocation:e,windowTitle:r}},No=(e,t,r)=>{const{windowLocation:n,windowTitle:o}=ge(),s=r??n,i=be(e,t);return`https://www.facebook.com/sharer.php?u=${`${s}${i}`}&t=${o}`},Fo=(e,t,r)=>{const{windowLocation:n,windowTitle:o}=ge(),s=r??n,i=be(e,t),l=`${s}${i}`;return`mailto:?to=&body=${o}%20${l}`},Lo=(e,t,r)=>{const{windowLocation:n}=ge(),o=r??n,s=be(e,t);return`https://twitter.com/intent/tweet?text=${`${o}${s}`}`};exports.Accordion=un;exports.ArrowRight=gt;exports.Box=Cn;exports.BoxWithForwardRef=bt;exports.Button=Q;exports.ButtonWithForwardRef=V;exports.Calendar=Jt;exports.Checkbox=En;exports.Date=Sn;exports.DatePicker=Io;exports.Icon=j;exports.IsClientContextProvider=Eo;exports.Lightbox=Dn;exports.Modal=Re;exports.Popover=kn;exports.ReactHookFormInput=Fn;exports.ReactHookFormSelect=Bn;exports.Select=pt;exports.ShareButton=fn;exports.SidePanel=wn;exports.SidePanelContextProvider=mn;exports.TextArea=Nn;exports.TextInputField=yt;exports.ThemeContextProvider=at;exports.ThemeProvider=nn;exports.Typography=T;exports.WysiwygBlock=Pn;exports.createThemeProvider=it;exports.generateUtmTags=be;exports.makeTheme=ot;exports.useFacebookShareUrl=No;exports.useIsClient=Ao;exports.useMailToShareUrl=Fo;exports.useSidePanel=mt;exports.useTheme=st;exports.useThemeContext=g;exports.useTwitterShareUrl=Lo;exports.useWindow=ge;
|
|
83
|
+
`,variants:{isError:{true:"border-red-500"}}}),An=at({main:e=>Vr(e),gridItem:e=>Yr(e),grid:e=>Ur(e),container:e=>ut(e),accordion:{container:e=>_r(e),button:e=>Er(e),title:e=>Or(e),icon:e=>Lr(e),region:e=>Nr(e),content:e=>Fr(e)},calendar:{container:e=>zr(e),header:e=>qr(e),navigationButtonsContainer:e=>Hr(e),navigationButtons:e=>Jr(e),table:e=>Wr(e),dayLabel:e=>Gr(e),cellContainer:e=>Qr(e),cell:e=>Zr(e),cellDate:e=>Kr(e)},datePicker:{container:e=>on(e),button:e=>sn(e),icon:e=>dn(e),dateField:e=>cn(e),dateSegment:e=>un(e),label:e=>fn(e),calendarPopover:e=>ln(e),calendarUnderlay:e=>an(e)},popover:{button:e=>ee(e),popover:()=>"border-2 text-black p-4 bg-gray-300"},typography:e=>A(e),button:e=>ee(e),sidePanel:{wrapper:e=>Dn(e),container:e=>Tn(e),innerContainer:e=>Pn(e)},lightBox:{wrapper:e=>hn(e),container:e=>mn(e),closeBtn:e=>gn(e),label:e=>pn(e)},shareButton:{icon:e=>kn(e),button:e=>Cn(e),container:e=>wn(e),linksList:e=>jn(e),link:e=>Mn(e),linkIcons:e=>Sn(e)},checkbox:{container:e=>Xr(e),label:e=>en(e),checkBox:e=>tn(e),checkMark:e=>rn(e),checkMarkIcon:e=>nn(e),errorMessage:e=>A(e)},radio:{label:e=>bn(e),radio:e=>xn(e),selectedMark:e=>vn(e),errorMessage:e=>A(e)},radioGroup:{radioGroup:e=>yn(e),radioGroupItemsGroup:e=>$n(e),errorMessage:e=>A(e)},select:{button:e=>ee(e),ul:e=>A({...e,className:"outline outline-2 outline-white outline-offset-2 p-2 my-4 rounded-md w-full flex flex-col gap-6"}),popover:e=>ee(e),errorMessage:e=>A({...e,size:"footnotes",isError:!0}),wrapper:()=>"flex flex-col gap-4 relative",container:()=>"flex flex-col gap-4",li:()=>"transition w-full hover:text-gray-300 focus-ring-white"},textarea:{wrapper:()=>"flex flex-col",container:()=>"flex items-center gap-4",label:()=>"text-gray-3 px-6",input:e=>Rn(e),errorMessage:e=>A({...e,size:"footnotes",isError:!0})},textInput:{wrapper:()=>"flex flex-col rounded-md px-4 py-1 mb-3 m-0.5 border-2 aria-disabled:pointer-events-none aria-disabled:opacity-30 focus-ring-black",label:()=>"text-xs",container:()=>"flex items-center gap-4",input:()=>"",errorMessage:e=>A({...e,size:"footnotes",isError:!0})}}),In=u.memo(ct(An)),p=(e,t={},r=null)=>{const n=it();if(n!=null&&e!=null){const{brandTheme:s}=n,a=yr.get(s,e);if(typeof a=="function"){const i=a?.(t);if(typeof i=="string")return i}}if(r)return r},D=({as:e="span",themeName:t="typography",tokens:r,customTheme:n,children:s,...a})=>{const i=p(t,r,n);return o.jsx(e,{...a,className:i,children:s})},Ae=u.forwardRef((e,t)=>{const{as:r="span",tokens:n,themeName:s="typography",customTheme:a,children:i,...l}=e,c=p(s,n,a);return o.jsx(r,{...l,ref:t,className:c,children:i})}),dt=u.forwardRef((e,t)=>{const{as:r="a",handlePress:n,children:s,as:a,customTheme:i,tokens:l,themeName:c="button",...d}=e,f=t,{linkProps:x}=v.useLink({...e,elementType:a?.toString(),onPress:n},t??f),h=p(c,l,i);return o.jsx(v.FocusRing,{focusRingClass:"has-focus-ring",children:o.jsx(r,{ref:f,...x,...d,className:h,children:s})})}),ft=u.forwardRef((e,t)=>{const{as:r="button",handlePress:n,children:s,as:a,customTheme:i,tokens:l,themeName:c="button",isDisabled:d=!1,...f}=e,x=t,{buttonProps:h}=v.useButton({...e,isDisabled:d,elementType:a,onPress:n},t??x),m=p(c,l,i);return o.jsx(v.FocusRing,{within:!0,focusRingClass:"has-focus-ring",children:o.jsx(r,{ref:x,...h,...f,className:m,children:s})})}),H=u.forwardRef((e,t)=>{const{as:r}=e;return r==="a"?o.jsx(dt,{ref:t,...e}):o.jsx(ft,{ref:t,...e})}),Bn=e=>{const{as:t}=e,r=u.useRef(null);return t==="a"?o.jsx(dt,{ref:r,...e}):o.jsx(ft,{ref:r,...e})},J=u.memo(Bn),_n=(e,t)=>{const r=e[t];return r?typeof r=="function"?r():Promise.resolve(r):new Promise((n,s)=>{(typeof queueMicrotask=="function"?queueMicrotask:setTimeout)(s.bind(null,new Error("Unknown variable dynamic import: "+t)))})},En=e=>o.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",height:48,width:48,fill:"currentColor",...e}),ht=u.memo(En),On=Object.freeze(Object.defineProperty({__proto__:null,default:ht},Symbol.toStringTag,{value:"Module"})),Ln=e=>{const{icon:t,...r}=e,n=u.useMemo(()=>u.lazy(()=>_n(Object.assign({"../icons/ArrowDown.tsx":()=>Promise.resolve().then(()=>ds),"../icons/ArrowLeft.tsx":()=>Promise.resolve().then(()=>hs),"../icons/ArrowRight.tsx":()=>Promise.resolve().then(()=>gs),"../icons/BrandArrowRight.tsx":()=>Promise.resolve().then(()=>bs),"../icons/Check.tsx":()=>Promise.resolve().then(()=>vs),"../icons/ChevronLeft.tsx":()=>Promise.resolve().then(()=>$s),"../icons/ChevronRight.tsx":()=>Promise.resolve().then(()=>Cs),"../icons/CloseBtn.tsx":()=>Promise.resolve().then(()=>Ms),"../icons/Facebook.tsx":()=>Promise.resolve().then(()=>Ss),"../icons/FacebookColored.tsx":()=>Promise.resolve().then(()=>Ts),"../icons/FacebookRounded.tsx":()=>Promise.resolve().then(()=>Rs),"../icons/Globe.tsx":()=>Promise.resolve().then(()=>Is),"../icons/IconFallback.tsx":()=>Promise.resolve().then(()=>On),"../icons/Instagram.tsx":()=>Promise.resolve().then(()=>_s),"../icons/InstagramColored.tsx":()=>Promise.resolve().then(()=>Os),"../icons/Link.tsx":()=>Promise.resolve().then(()=>Ns),"../icons/LinkedIn.tsx":()=>Promise.resolve().then(()=>Vs),"../icons/Mail.tsx":()=>Promise.resolve().then(()=>Ys),"../icons/Plus.tsx":()=>Promise.resolve().then(()=>qs),"../icons/Share.tsx":()=>Promise.resolve().then(()=>Js),"../icons/Twitter.tsx":()=>Promise.resolve().then(()=>Gs),"../icons/TwitterColored.tsx":()=>Promise.resolve().then(()=>Zs),"../icons/Upload.tsx":()=>Promise.resolve().then(()=>Xs),"../icons/X.tsx":()=>Promise.resolve().then(()=>ta),"../icons/YouTube.tsx":()=>Promise.resolve().then(()=>na),"../icons/YouTubeColored.tsx":()=>Promise.resolve().then(()=>sa)}),`../icons/${t||"ArrowRight"}.tsx`)),[t]);return o.jsx(u.Suspense,{fallback:o.jsx(ht,{className:"overflow-visible pointer-events-none"}),children:o.jsx(n,{...r,className:"overflow-visible pointer-events-none",...e})})},P=e=>{const{icon:t,as:r="span",tokens:n,customTheme:s,themeName:a="icon",children:i,...l}=e,c=p(a,n,s);return typeof t!="string"?o.jsxs(r,{...l,className:c,children:[i,t]}):o.jsxs(r,{className:c,children:[i,o.jsx(Ln,{icon:t,...l})]})},Nn=e=>{const{customTheme:t,themeName:r="accordion",id:n,tokens:s,title:a,ariaLabel:i,onClick:l,icon:c,children:d}=e,[f,x]=u.useState(!1),h=p(`${r}.container`,{...s,isOpen:f},t),m=p(`${r}.title`,{...s,isOpen:f},t),$=p(`${r}.icon`,{...s,isOpen:f},t),g=p(`${r}.region`,{...s,isOpen:f},t),w=p(`${r}.content`,{...s,isOpen:f},t);return o.jsxs("div",{className:h,id:`accordion-control-${n}`,"aria-label":i,"aria-expanded":f,"aria-controls":`accordion-content-${n}`,children:[o.jsxs(J,{themeName:`${r}.button`,tokens:{...s,isOpen:f},handlePress:()=>{x(!f),l?.(f)},as:"button",id:`accordion-control-${n}`,"aria-label":i,children:[o.jsx("div",{className:m,children:a}),o.jsx("div",{className:$,children:o.jsx(P,{icon:c??"ArrowDown"})})]}),o.jsx("div",{className:g,role:"region",id:`accordion-content-${n}`,"aria-labelledby":`accordion-control-${n}`,children:o.jsx("div",{className:w,children:d})})]})},Fn=e=>{const{sharingLinksList:t,id:r,isOpen:n,setIsOpen:s,onShare:a,themeName:i="shareButton",tokens:l,customTheme:c}=e,d=p(`${i}.linksList`,{...l,isOpen:n},c),f=v.useFocusManager(),x=h=>{h.key==="Escape"&&s(!1);const{listDirection:m}=l??{};m==="row"&&(h.key==="ArrowRight"&&(f.focusNext({wrap:!0}),h.preventDefault()),h.key==="ArrowLeft"&&(f.focusPrevious({wrap:!0}),h.preventDefault())),m==="column"&&(h.key==="ArrowDown"&&(f.focusNext({wrap:!0}),h.preventDefault()),h.key==="ArrowUp"&&(f.focusPrevious({wrap:!0}),h.preventDefault()))};return o.jsx("div",{className:d,id:r,role:"listbox",tabIndex:-1,onKeyDown:x,children:t?.map(h=>{const{ariaLabel:m,onClick:$,href:g,icon:w,key:y}=h;return o.jsx(J,{themeName:`${i}.link`,tokens:{...l,isOpen:n},handlePress:()=>{a?.(y),$?.(y)},"aria-label":m,...g?{href:g,rel:"noopener noreferrer",target:"_blank",as:"a"}:{},role:"option",children:o.jsx(P,{themeName:`${i}.linkIcons`,icon:w})},y)})})},Vn=e=>{const{ariaLabel:t,icon:r,id:n,sharingLinksList:s,onShare:a,customTheme:i,themeName:l="shareButton",tokens:c,...d}=e,[f,x]=u.useState(!1),h=p(`${l}.container`,c,i),m=g=>{x(!f),!f&&setTimeout(()=>{g.target.parentElement?.lastChild?.firstChild?.focus()})},$=g=>{const w=g.currentTarget.firstChild,y=g.currentTarget.lastChild,k=y.firstChild,S=y.lastChild,{listDirection:j}=c??{};j==="row"&&(g.key==="ArrowRight"&&g.target===w&&(k?.focus(),g.preventDefault()),g.key==="ArrowLeft"&&g.target===w&&(S.focus(),g.preventDefault())),j==="column"&&(g.key==="ArrowDown"&&g.target===w&&(k?.focus(),g.preventDefault()),g.key==="ArrowUp"&&g.target===w&&(S.focus(),g.preventDefault())),g.key==="Escape"&&(x(!1),w?.focus()),document.activeElement===y&&w?.focus()};return o.jsx(v.FocusScope,{autoFocus:!0,restoreFocus:!0,contain:f,children:o.jsxs("div",{className:h,onKeyDown:$,children:[o.jsx(H,{themeName:`${l}.button`,tokens:{...c,isOpen:f},"aria-label":t,"aria-haspopup":"listbox","aria-expanded":f?"true":"false","aria-controls":"share-buttons",handlePress:m,...d,children:o.jsx(P,{themeName:`${l}.icon`,icon:r??"Share"})}),f&&o.jsx(Fn,{id:n,sharingLinksList:s,onShare:a,isOpen:f,setIsOpen:x,themeName:l,customTheme:i,tokens:c})]})})};function mt(){const e=u.createContext(void 0);function t(){const r=u.useContext(e);if(r===void 0)throw new Error("useCtx must be inside a Provider");return r}return[t,e.Provider]}const gt=(e,t,r)=>{const n=wr.useOverlayTriggerState({defaultOpen:e,onOpenChange:f=>t?.(f)}),s=u.useRef(null),a=u.useRef(null);u.useEffect(()=>{if(e){n.open();return}n.close()},[e]);const i=()=>{n.open()},l=()=>{n.close(),r?.()},{buttonProps:c}=v.useButton({elementType:"div",onPress:i},s),{buttonProps:d}=v.useButton({onPress:l},a);return{state:n,openButtonProps:c,closeButtonProps:d,handleOpen:i,handleClose:l,openButtonRef:s,closeButtonRef:a}},[pt,Un]=mt();function Yn({children:e,defaultSelectedKey:t}){const{state:r,closeButtonProps:n,closeButtonRef:s,openButtonProps:a,openButtonRef:i}=gt(!1),l=u.useMemo(()=>({defaultSelectedKey:t,overlayState:r,buttonProps:{closeButtonProps:n,closeButtonRef:s,openButtonProps:a,openButtonRef:i}}),[r,t,n,a]);return o.jsx(Un,{value:l,children:e})}const zn=({isVisible:e,children:t})=>L.useTransition(e,{from:{opacity:0,translateX:"100%"},enter:{opacity:1,translateX:"0%"},leave:{opacity:0,translateX:"25%"}})((n,s)=>s&&o.jsx(L.animated.div,{style:n,children:t})),qn="fixed",Hn=({isVisible:e,children:t})=>L.useTransition(e,{from:{opacity:0,position:qn,left:0,top:0,zIndex:1e3,bottom:0,height:"100%",width:"100%"},enter:{opacity:1},leave:{opacity:0},config:L.config.stiff})((n,s)=>s&&o.jsx(L.animated.div,{style:n,children:t})),Jn="fixed",Wn=({isVisible:e,children:t})=>L.useTransition(e,{from:{opacity:0,scale:.75,position:Jn,left:0,top:0,zIndex:1e3,bottom:0,height:"100%",width:"100%"},enter:{opacity:1,scale:1},leave:{opacity:0,scale:.75},config:L.config.stiff})((n,s)=>s&&o.jsx(L.animated.div,{style:n,children:t})),Gn=e=>{const{children:t}=e,r=u.useRef(null),{overlayProps:n,underlayProps:s}=v.useOverlay(e,r),{modalProps:a}=v.useModal(),{dialogProps:i}=v.useDialog(e,r);return o.jsx("div",{...s,children:o.jsx(v.FocusRing,{focusRingClass:"has-focus-ring",within:!0,autoFocus:!0,children:o.jsx(v.FocusScope,{contain:!0,restoreFocus:!0,autoFocus:!0,children:o.jsx("div",{...n,...i,...a,ref:r,children:t})})})})},Ie=e=>{const[t,r]=u.useState(!1),{children:n,state:s,onCloseCallBack:a,transitionComponent:i=Wn}=e,l=u.useCallback(()=>{s.close(),a?.()},[s.close,a]);return u.useEffect(()=>{!s.isOpen&&t||r(!0)},[s.isOpen]),t?o.jsx(Q.OverlayContainer,{children:o.jsx(i,{isVisible:s.isOpen,children:o.jsx(Gn,{isOpen:s.isOpen,onClose:l,isDismissable:!0,children:n})})}):null},Qn=e=>{const{children:t,closeBtnRender:r,themeName:n="sidePanel",tokens:s,customTheme:a}=e,i=p(`${n}.wrapper`,s,a),l=p(`${n}.container`,s,a),c=p(`${n}.innerContainer`,s,a),{overlayState:d}=pt();return o.jsx(Ie,{state:d,transitionComponent:Hn,children:o.jsxs($r,{className:i,children:[r&&r(),o.jsx(zn,{isVisible:d.isOpen,children:o.jsx("div",{className:l,children:o.jsx("div",{className:c,children:t})})})]})})},Zn=u.memo(Qn),Kn=e=>{const{children:t,thumbnailContent:r,isOpen:n,onOpenCallBack:s,onCloseCallBack:a,label:i,themeName:l="lightBox",tokens:c,customTheme:d}=e,{state:f,openButtonRef:x,openButtonProps:h,closeButtonProps:m,closeButtonRef:$}=gt(n,s,a),g=p(`${l}.container`,c,d);return o.jsxs("div",{children:[o.jsx(q.FocusRing,{focusRingClass:"has-focus-ring",within:!0,children:o.jsxs(H,{ref:x,themeName:`${l}.wrapper`,...h,...n?{tabIndex:-1}:{},children:[i&&o.jsx(D,{themeName:`${l}.label`,tokens:{size:"footnotes"},children:i}),r]})}),o.jsx(Ie,{onCloseCallBack:a,state:f,children:o.jsxs("div",{children:[o.jsx(H,{themeName:`${l}.closeBtn`,type:"button",...m,ref:$,children:o.jsx(P,{icon:"CloseBtn"})}),o.jsx("div",{className:g,children:t})]})})]})},Ce=({as:e="div",themeName:t="box",tokens:r,customTheme:n,children:s,className:a,...i})=>{const l=p(t,r,n);return o.jsx(e,{...i,className:l,children:s})},bt=u.forwardRef((e,t)=>{const{as:r="div",tokens:n,themeName:s="box",customTheme:a,children:i,...l}=e,c=p(s,n,a);return o.jsx(r,{...l,ref:t,className:c,children:i})}),Xn=u.forwardRef((e,t)=>{const{isOpen:r,onClose:n,children:s,positionProps:a,themeName:i="popover",tokens:l,customTheme:c,...d}=e,{overlayProps:f}=v.useOverlay({isOpen:r,onClose:n,shouldCloseOnBlur:!1,isDismissable:!1},t),{modalProps:x}=v.useModal(),{dialogProps:h}=v.useDialog({},t),m=p(`${i}.popover`,l,c);return o.jsx(v.FocusScope,{autoFocus:!0,restoreFocus:!0,contain:!0,children:o.jsxs(bt,{customTheme:m,...v.mergeProps(f,x,h),ref:t,...a,...d,children:[u.Children.map(s,$=>o.jsx(v.FocusRing,{focusRingClass:"has-focus-ring",children:$})),o.jsx(v.DismissButton,{onDismiss:n})]})})});function eo(e){const{children:t,buttonProps:r,placement:n="right",offset:s=5,themeName:a="popover",tokens:i,customTheme:l}=e,c=ot.useOverlayTriggerState({}),d=u.useRef(null),f=u.useRef(null),{triggerProps:x,overlayProps:h}=v.useOverlayTrigger({type:"dialog"},c,d),{overlayProps:m}=v.useOverlayPosition({targetRef:d,overlayRef:f,placement:n,offset:s,isOpen:c.isOpen}),{onPress:$,...g}=x;return o.jsxs(o.Fragment,{children:[o.jsx(H,{themeName:`${a}.button`,handlePress:$,...r,...g,ref:d}),c.isOpen&&o.jsx(v.OverlayContainer,{children:o.jsx(Xn,{themeName:a,tokens:i,customTheme:l,...h,positionProps:m,ref:f,isOpen:c.isOpen,onClose:c.close,children:t})})]})}const to=({content:e,themeName:t="wysiwyg",...r})=>o.jsx(D,{...r,themeName:t,dangerouslySetInnerHTML:{__html:Cr.sanitize(e,{ADD_TAGS:["iframe"],ADD_ATTR:["allow","allowfullscreen","frameborder","scrolling"]})}}),ro=e=>{const{as:t="time",date:r,tokens:n,customTheme:s,dateFormatterOptions:a={month:"long",day:"numeric",year:"numeric"},themeName:i="typography",...l}=e,c=v.useIsSSR(),d=new Date(r),x=he.useDateFormatter(a).format(d),h=p(i,n,s);return c||Te.isEmpty(x)?null:o.jsx(t,{...l,dateTime:d.toISOString(),className:h,children:x})},no=({item:e,state:t,themeName:r="li"})=>{const n=u.useRef(null),{optionProps:s,isFocusVisible:a}=v.useOption({key:e.key},t,n),i=p(r);return o.jsx(Ae,{as:"li",...s,tokens:{className:`${i} ${a?"has-focus-ring":""}`},ref:n,children:e.rendered})},oo=e=>{const t=u.useRef(null),{listBoxRef:r=t,state:n,themeName:s="option"}=e,{listBoxProps:a}=v.useListBox(e,n,r);return o.jsx(v.FocusScope,{autoFocus:!0,restoreFocus:!0,contain:!0,children:o.jsx(Ae,{...a,ref:r,as:"ul",themeName:`${s}.ul`,children:[...n.collection].map(i=>o.jsx(no,{themeName:`${s}.li`,item:i,state:n},i.key))})})},so=e=>{const t=u.useRef(null),{popoverRef:r=t,state:n,children:s,themeName:a="popover",...i}=e,{popoverProps:l,underlayProps:c}=v.usePopover({...e,popoverRef:r},n);return o.jsxs(v.Overlay,{children:[o.jsx("div",{...c,style:{position:"fixed",inset:0}}),o.jsxs(Ae,{themeName:a,...i,...l,as:"div",ref:r,children:[o.jsx(v.DismissButton,{onDismiss:n.close}),s,o.jsx(v.DismissButton,{onDismiss:n.close})]})]})},xt=e=>{const{name:t,placeholderLabel:r,disabled:n,hookFormRef:s,isError:a=!1,errorMessage:i,themeName:l="select",tokens:c,customTheme:d,label:f,onSelectionChange:x,defaultValue:h,value:m,icon:$,...g}=e,w=u.useRef(null),y=ot.useSelectState({...g,selectedKey:m,defaultSelectedKey:h,onSelectionChange:x}),{triggerProps:k,menuProps:S,labelProps:j}=v.useSelect({...g},y,w),R=p(`${l}.wrapper`,c,d),N=p(`${l}.container`,c,d);return o.jsxs("div",{className:R,children:[f&&o.jsx(D,{...j,as:"label",themeName:`${l}.label`,children:f}),o.jsx(v.HiddenSelect,{...s,state:y,triggerRef:w,name:t,isDisabled:!0}),o.jsxs("div",{className:N,children:[o.jsxs(H,{...k,ref:w,disabled:n,themeName:`${l}.button`,tokens:{...c,intent:a?"error":"default"},children:[y.selectedItem?y.selectedItem.rendered:r,o.jsx(P,{icon:$??"ArrowDown"})]}),y.isOpen&&w.current&&o.jsx(so,{state:y,tokens:{width:`${w.current?.offsetWidth}`},triggerRef:w,placement:"bottom",themeName:`${l}.popover`,children:o.jsx(oo,{...S,themeName:l,state:y})}),a&&o.jsx(D,{tokens:{...c,isError:a},themeName:`${l}.errorMessage`,children:i})]})]})},ao=e=>{const{name:t,required:r,children:n}=e,{register:s,formState:a}=ie.useFormContext(),l=ie.get(a.errors,t)?.message??void 0,{ref:c}=s(t,{required:r?"This is an error message":!1});return o.jsx(xt,{...e,isError:!Te.isEmpty(l),errorMessage:l,hookFormRef:c,children:n})},io=e=>{const{id:t,label:r,isDisabled:n=!1,isError:s=!1,errorMessage:a,ariaLabel:i,icon:l,themeName:c="checkbox",tokens:d,customTheme:f}=e,x=kr.useToggleState(e),h=u.useRef(null),{inputProps:m}=jr.useCheckbox(e,x,h),{isSelected:$}=x,{focusProps:g,isFocusVisible:w}=q.useFocusRing(),y={...d,selected:$,isDisabled:n,isError:s,isFocusVisible:w},k=p(`${c}.container`,y,f),S=p(`${c}.checkBox`,y,f),j=p(`${c}.checkMark`,y,f),R=p(`${c}.checkMarkIcon`,y,f);return o.jsxs("div",{children:[o.jsx(q.FocusRing,{focusRingClass:"has-focus-ring",within:!0,children:o.jsxs("label",{className:k,htmlFor:t,"aria-label":i,"aria-disabled":n,children:[o.jsx(Mr.VisuallyHidden,{children:o.jsx("input",{type:"checkbox",ref:h,"aria-labelledby":t,...m,...g})}),o.jsx("div",{className:S,"aria-checked":$,role:"checkbox","aria-labelledby":t,children:o.jsx("div",{className:j,children:l&&o.jsx(P,{icon:l,customTheme:R})})}),o.jsx(D,{themeName:`${c}.label`,tokens:y,children:r})]})}),s&&a&&o.jsx(D,{themeName:`${c}.errorMessage`,tokens:y,children:a})]})},lo=e=>{const{id:t,label:r,name:n,placeholder:s,required:a,disabled:i=!1,errorMessage:l,ariaLabel:c,value:d,onBlur:f,onChange:x,fieldRef:h,themeName:m="textarea",tokens:$,customTheme:g}=e,w=u.useRef(null),{errorMessageProps:y,inputProps:k,labelProps:S}=v.useTextField(e,w),j={...$,isDisabled:i,isError:l!=null},R=p(`${m}.wrapper`,j,g),N=p(`${m}.input`,j,g),xe=p(`${m}.label`,j,g),ve=p(`${m}.container`,j,g);return o.jsxs("div",{children:[o.jsxs("div",{className:R,"aria-disabled":i,children:[r&&o.jsx("label",{className:xe,...S,children:r}),o.jsx("div",{className:ve,children:o.jsx(q.FocusRing,{focusRingClass:"has-focus-ring",children:o.jsx("textarea",{ref:G=>{h?.(G),w.current=G},className:N,placeholder:s,disabled:i,required:a,id:t,name:n,"aria-label":c,"aria-labelledby":t,value:d,onBlur:f,onChange:x,...k})})})]}),l&&o.jsx(D,{themeName:`${m}.errorMessage`,tokens:j,...y,children:l})]})},vt=e=>{const{id:t,label:r,required:n,disabled:s=!1,errorMessage:a,ariaLabel:i,value:l,onBlur:c,onChange:d,fieldRef:f,type:x="text",children:h,themeName:m="textInput",tokens:$,customTheme:g}=e,w=u.useRef(null),{errorMessageProps:y,inputProps:k,labelProps:S}=v.useTextField(e,w),j={...$,isDisabled:s,isError:a!=null},R=p(`${m}.wrapper`,j,g),N=p(`${m}.label`,j,g),xe=p(`${m}.input`,j,g),ve=p(`${m}.container`,j,g);return o.jsxs("div",{children:[o.jsx(q.FocusRing,{focusRingClass:"has-focus-ring",within:!0,children:o.jsxs("div",{"aria-disabled":s,className:R,children:[r&&o.jsx("label",{className:N,...S,children:r}),o.jsxs("div",{className:ve,children:[h,o.jsx("input",{...k,className:xe,disabled:s,required:n,ref:G=>{f?.(G),w.current=G},"aria-label":i,"aria-labelledby":t,value:l,onBlur:c,onChange:d,type:x})]})]})}),a&&o.jsx(D,{themeName:`${m}.errorMessage`,tokens:j,...y,children:a})]})},co=e=>{const{name:t,required:r,minLength:n=0,maxLength:s=99999999,validation:a}=e,{register:i,formState:l}=ie.useFormContext(),d=ie.get(l.errors,t)?.message??void 0,{t:f}=Sr.useTranslation("components"),{ref:x,...h}=i(t,{required:r?f("FORM.ERROR.REQUIRED")??"required":!1,minLength:{value:n,message:f("FORM.ERROR.MIN_LENGTH",{length:n})},maxLength:{value:s,message:f("FORM.ERROR.MAX_LENGTH",{length:n})},...a});return o.jsx(vt,{fieldRef:x,...h,...e,isError:!Te.isEmpty(d),errorMessage:d})};function uo(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function yt(e,t,r){uo(e,t),t.set(e,r)}function I(e,t){return e-t*Math.floor(e/t)}const $t=1721426;function V(e,t,r,n){t=X(e,t);let s=t-1,a=-2;return r<=2?a=0:E(t)&&(a=-1),$t-1+365*s+Math.floor(s/4)-Math.floor(s/100)+Math.floor(s/400)+Math.floor((367*r-362)/12+a+n)}function E(e){return e%4===0&&(e%100!==0||e%400===0)}function X(e,t){return e==="BC"?1-t:t}function me(e){let t="AD";return e<=0&&(t="BC",e=1-e),[t,e]}const fo={standard:[31,28,31,30,31,30,31,31,30,31,30,31],leapyear:[31,29,31,30,31,30,31,31,30,31,30,31]};class B{fromJulianDay(t){let r=t,n=r-$t,s=Math.floor(n/146097),a=I(n,146097),i=Math.floor(a/36524),l=I(a,36524),c=Math.floor(l/1461),d=I(l,1461),f=Math.floor(d/365),x=s*400+i*100+c*4+f+(i!==4&&f!==4?1:0),[h,m]=me(x),$=r-V(h,m,1,1),g=2;r<V(h,m,3,1)?g=0:E(m)&&(g=1);let w=Math.floor((($+g)*12+373)/367),y=r-V(h,m,w,1)+1;return new M(h,m,w,y)}toJulianDay(t){return V(t.era,t.year,t.month,t.day)}getDaysInMonth(t){return fo[E(t.year)?"leapyear":"standard"][t.month-1]}getMonthsInYear(t){return 12}getDaysInYear(t){return E(t.year)?366:365}getYearsInEra(t){return 9999}getEras(){return["BC","AD"]}isInverseEra(t){return t.era==="BC"}balanceDate(t){t.year<=0&&(t.era=t.era==="BC"?"AD":"BC",t.year=1-t.year)}constructor(){this.identifier="gregory"}}const ho={"001":1,AD:1,AE:6,AF:6,AI:1,AL:1,AM:1,AN:1,AR:1,AT:1,AU:1,AX:1,AZ:1,BA:1,BE:1,BG:1,BH:6,BM:1,BN:1,BY:1,CH:1,CL:1,CM:1,CN:1,CR:1,CY:1,CZ:1,DE:1,DJ:6,DK:1,DZ:6,EC:1,EE:1,EG:6,ES:1,FI:1,FJ:1,FO:1,FR:1,GB:1,GE:1,GF:1,GP:1,GR:1,HR:1,HU:1,IE:1,IQ:6,IR:6,IS:1,IT:1,JO:6,KG:1,KW:6,KZ:1,LB:1,LI:1,LK:1,LT:1,LU:1,LV:1,LY:6,MC:1,MD:1,ME:1,MK:1,MN:1,MQ:1,MV:5,MY:1,NL:1,NO:1,NZ:1,OM:6,PL:1,QA:6,RE:1,RO:1,RS:1,RU:1,SD:6,SE:1,SI:1,SK:1,SM:1,SY:6,TJ:1,TM:1,TR:1,UA:1,UY:1,UZ:1,VA:1,VN:1,XK:1};function Le(e,t){return t=ge(t,e.calendar),e.era===t.era&&e.year===t.year&&e.month===t.month&&e.day===t.day}function wt(e,t){let r=e.calendar.toJulianDay(e),n=Math.ceil(r+1-bo(t))%7;return n<0&&(n+=7),n}function Ct(e,t){return e.calendar.toJulianDay(e)-t.calendar.toJulianDay(t)}function mo(e,t){return Ne(e)-Ne(t)}function Ne(e){return e.hour*36e5+e.minute*6e4+e.second*1e3+e.millisecond}let ye=null;function jt(){return ye==null&&(ye=new Intl.DateTimeFormat().resolvedOptions().timeZone),ye}function go(e){return e.subtract({days:e.day-1})}const Fe=new Map;function po(e){if(Intl.Locale){let r=Fe.get(e);return r||(r=new Intl.Locale(e).maximize().region,Fe.set(e,r)),r}let t=e.split("-")[1];return t==="u"?null:t}function bo(e){let t=po(e);return ho[t]||0}function xo(e,t){let r=e.calendar.getDaysInMonth(e);return Math.ceil((wt(go(e),t)+r)/7)}function Ve(e){e=ge(e,new B);let t=X(e.era,e.year);return Mt(t,e.month,e.day,e.hour,e.minute,e.second,e.millisecond)}function Mt(e,t,r,n,s,a,i){let l=new Date;return l.setUTCHours(n,s,a,i),l.setUTCFullYear(e,t-1,r),l.getTime()}function Ue(e,t){if(t==="UTC")return 0;if(e>0&&t===jt())return new Date(e).getTimezoneOffset()*-6e4;let{year:r,month:n,day:s,hour:a,minute:i,second:l}=kt(e,t);return Mt(r,n,s,a,i,l,0)-Math.floor(e/1e3)*1e3}const Ye=new Map;function kt(e,t){let r=Ye.get(t);r||(r=new Intl.DateTimeFormat("en-US",{timeZone:t,hour12:!1,era:"short",year:"numeric",month:"numeric",day:"numeric",hour:"numeric",minute:"numeric",second:"numeric"}),Ye.set(t,r));let n=r.formatToParts(new Date(e)),s={};for(let a of n)a.type!=="literal"&&(s[a.type]=a.value);return{year:s.era==="BC"||s.era==="B"?-s.year+1:+s.year,month:+s.month,day:+s.day,hour:s.hour==="24"?0:+s.hour,minute:+s.minute,second:+s.second}}const ze=864e5;function vo(e,t,r,n){return(r===n?[r]:[r,n]).filter(a=>yo(e,t,a))}function yo(e,t,r){let n=kt(r,t);return e.year===n.year&&e.month===n.month&&e.day===n.day&&e.hour===n.hour&&e.minute===n.minute&&e.second===n.second}function $o(e,t,r="compatible"){let n=Dt(e);if(t==="UTC")return Ve(n);if(t===jt()&&r==="compatible"){n=ge(n,new B);let c=new Date,d=X(n.era,n.year);return c.setFullYear(d,n.month-1,n.day),c.setHours(n.hour,n.minute,n.second,n.millisecond),c.getTime()}let s=Ve(n),a=Ue(s-ze,t),i=Ue(s+ze,t),l=vo(n,t,s-a,s-i);if(l.length===1)return l[0];if(l.length>1)switch(r){case"compatible":case"earlier":return l[0];case"later":return l[l.length-1];case"reject":throw new RangeError("Multiple possible absolute times found")}switch(r){case"earlier":return Math.min(s-a,s-i);case"compatible":case"later":return Math.max(s-a,s-i);case"reject":throw new RangeError("No such absolute time found")}}function St(e,t,r="compatible"){return new Date($o(e,t,r))}function Dt(e,t){let r=0,n=0,s=0,a=0;if("timeZone"in e)({hour:r,minute:n,second:s,millisecond:a}=e);else if("hour"in e&&!t)return e;return t&&({hour:r,minute:n,second:s,millisecond:a}=t),new le(e.calendar,e.era,e.year,e.month,e.day,r,n,s,a)}function ge(e,t){if(e.calendar.identifier===t.identifier)return e;let r=t.fromJulianDay(e.calendar.toJulianDay(e)),n=e.copy();return n.calendar=t,n.era=r.era,n.year=r.year,n.month=r.month,n.day=r.day,W(n),n}function Be(e,t){let r=e.copy(),n="hour"in r?So(r,t):0;je(r,t.years||0),r.calendar.balanceYearMonth&&r.calendar.balanceYearMonth(r,e),r.month+=t.months||0,Me(r),Tt(r),r.day+=(t.weeks||0)*7,r.day+=t.days||0,r.day+=n,wo(r),r.calendar.balanceDate&&r.calendar.balanceDate(r),r.year<1&&(r.year=1,r.month=1,r.day=1);let s=r.calendar.getYearsInEra(r);if(r.year>s){var a,i;let c=(i=(a=r.calendar).isInverseEra)===null||i===void 0?void 0:i.call(a,r);r.year=s,r.month=c?1:r.calendar.getMonthsInYear(r),r.day=c?1:r.calendar.getDaysInMonth(r)}r.month<1&&(r.month=1,r.day=1);let l=r.calendar.getMonthsInYear(r);return r.month>l&&(r.month=l,r.day=r.calendar.getDaysInMonth(r)),r.day=Math.max(1,Math.min(r.calendar.getDaysInMonth(r),r.day)),r}function je(e,t){var r,n;!((n=(r=e.calendar).isInverseEra)===null||n===void 0)&&n.call(r,e)&&(t=-t),e.year+=t}function Me(e){for(;e.month<1;)je(e,-1),e.month+=e.calendar.getMonthsInYear(e);let t=0;for(;e.month>(t=e.calendar.getMonthsInYear(e));)e.month-=t,je(e,1)}function wo(e){for(;e.day<1;)e.month--,Me(e),e.day+=e.calendar.getDaysInMonth(e);for(;e.day>e.calendar.getDaysInMonth(e);)e.day-=e.calendar.getDaysInMonth(e),e.month++,Me(e)}function Tt(e){e.month=Math.max(1,Math.min(e.calendar.getMonthsInYear(e),e.month)),e.day=Math.max(1,Math.min(e.calendar.getDaysInMonth(e),e.day))}function W(e){e.calendar.constrainDate&&e.calendar.constrainDate(e),e.year=Math.max(1,Math.min(e.calendar.getYearsInEra(e),e.year)),Tt(e)}function Co(e){let t={};for(let r in e)typeof e[r]=="number"&&(t[r]=-e[r]);return t}function Pt(e,t){return Be(e,Co(t))}function Rt(e,t){let r=e.copy();return t.era!=null&&(r.era=t.era),t.year!=null&&(r.year=t.year),t.month!=null&&(r.month=t.month),t.day!=null&&(r.day=t.day),W(r),r}function jo(e,t){let r=e.copy();return t.hour!=null&&(r.hour=t.hour),t.minute!=null&&(r.minute=t.minute),t.second!=null&&(r.second=t.second),t.millisecond!=null&&(r.millisecond=t.millisecond),ko(r),r}function Mo(e){e.second+=Math.floor(e.millisecond/1e3),e.millisecond=te(e.millisecond,1e3),e.minute+=Math.floor(e.second/60),e.second=te(e.second,60),e.hour+=Math.floor(e.minute/60),e.minute=te(e.minute,60);let t=Math.floor(e.hour/24);return e.hour=te(e.hour,24),t}function ko(e){e.millisecond=Math.max(0,Math.min(e.millisecond,1e3)),e.second=Math.max(0,Math.min(e.second,59)),e.minute=Math.max(0,Math.min(e.minute,59)),e.hour=Math.max(0,Math.min(e.hour,23))}function te(e,t){let r=e%t;return r<0&&(r+=t),r}function So(e,t){return e.hour+=t.hours||0,e.minute+=t.minutes||0,e.second+=t.seconds||0,e.millisecond+=t.milliseconds||0,Mo(e)}function At(e,t,r,n){let s=e.copy();switch(t){case"era":{let l=e.calendar.getEras(),c=l.indexOf(e.era);if(c<0)throw new Error("Invalid era: "+e.era);c=O(c,r,0,l.length-1,n?.round),s.era=l[c],W(s);break}case"year":var a,i;!((i=(a=s.calendar).isInverseEra)===null||i===void 0)&&i.call(a,s)&&(r=-r),s.year=O(e.year,r,-1/0,9999,n?.round),s.year===-1/0&&(s.year=1),s.calendar.balanceYearMonth&&s.calendar.balanceYearMonth(s,e);break;case"month":s.month=O(e.month,r,1,e.calendar.getMonthsInYear(e),n?.round);break;case"day":s.day=O(e.day,r,1,e.calendar.getDaysInMonth(e),n?.round);break;default:throw new Error("Unsupported field "+t)}return e.calendar.balanceDate&&e.calendar.balanceDate(s),W(s),s}function Do(e,t,r,n){let s=e.copy();switch(t){case"hour":{let a=e.hour,i=0,l=23;if(n?.hourCycle===12){let c=a>=12;i=c?12:0,l=c?23:11}s.hour=O(a,r,i,l,n?.round);break}case"minute":s.minute=O(e.minute,r,0,59,n?.round);break;case"second":s.second=O(e.second,r,0,59,n?.round);break;case"millisecond":s.millisecond=O(e.millisecond,r,0,999,n?.round);break;default:throw new Error("Unsupported field "+t)}return s}function O(e,t,r,n,s=!1){if(s){e+=Math.sign(t),e<r&&(e=n);let a=Math.abs(t);t>0?e=Math.ceil(e/a)*a:e=Math.floor(e/a)*a,e>n&&(e=r)}else e+=t,e<r?e=n-(r-e-1):e>n&&(e=r+(e-n-1));return e}function To(e){return`${String(e.hour).padStart(2,"0")}:${String(e.minute).padStart(2,"0")}:${String(e.second).padStart(2,"0")}${e.millisecond?String(e.millisecond/1e3).slice(1):""}`}function It(e){let t=ge(e,new B);return`${String(t.year).padStart(4,"0")}-${String(t.month).padStart(2,"0")}-${String(t.day).padStart(2,"0")}`}function Po(e){return`${It(e)}T${To(e)}`}function Bt(e){let t=typeof e[0]=="object"?e.shift():new B,r;if(typeof e[0]=="string")r=e.shift();else{let i=t.getEras();r=i[i.length-1]}let n=e.shift(),s=e.shift(),a=e.shift();return[t,r,n,s,a]}var Ro=new WeakMap;class M{copy(){return this.era?new M(this.calendar,this.era,this.year,this.month,this.day):new M(this.calendar,this.year,this.month,this.day)}add(t){return Be(this,t)}subtract(t){return Pt(this,t)}set(t){return Rt(this,t)}cycle(t,r,n){return At(this,t,r,n)}toDate(t){return St(this,t)}toString(){return It(this)}compare(t){return Ct(this,t)}constructor(...t){yt(this,Ro,{writable:!0,value:void 0});let[r,n,s,a,i]=Bt(t);this.calendar=r,this.era=n,this.year=s,this.month=a,this.day=i,W(this)}}var Ao=new WeakMap;class le{copy(){return this.era?new le(this.calendar,this.era,this.year,this.month,this.day,this.hour,this.minute,this.second,this.millisecond):new le(this.calendar,this.year,this.month,this.day,this.hour,this.minute,this.second,this.millisecond)}add(t){return Be(this,t)}subtract(t){return Pt(this,t)}set(t){return Rt(jo(this,t),t)}cycle(t,r,n){switch(t){case"era":case"year":case"month":case"day":return At(this,t,r,n);default:return Do(this,t,r,n)}}toDate(t,r){return St(this,t,r)}toString(){return Po(this)}compare(t){let r=Ct(this,t);return r===0?mo(this,Dt(t)):r}constructor(...t){yt(this,Ao,{writable:!0,value:void 0});let[r,n,s,a,i]=Bt(t);this.calendar=r,this.era=n,this.year=s,this.month=a,this.day=i,this.hour=t.shift()||0,this.minute=t.shift()||0,this.second=t.shift()||0,this.millisecond=t.shift()||0,W(this)}}const Y=[[1868,9,8],[1912,7,30],[1926,12,25],[1989,1,8],[2019,5,1]],Io=[[1912,7,29],[1926,12,24],[1989,1,7],[2019,4,30]],oe=[1867,1911,1925,1988,2018],_=["meiji","taisho","showa","heisei","reiwa"];function qe(e){const t=Y.findIndex(([r,n,s])=>e.year<r||e.year===r&&e.month<n||e.year===r&&e.month===n&&e.day<s);return t===-1?Y.length-1:t===0?0:t-1}function $e(e){let t=oe[_.indexOf(e.era)];if(!t)throw new Error("Unknown era: "+e.era);return new M(e.year+t,e.month,e.day)}class Bo extends B{fromJulianDay(t){let r=super.fromJulianDay(t),n=qe(r);return new M(this,_[n],r.year-oe[n],r.month,r.day)}toJulianDay(t){return super.toJulianDay($e(t))}balanceDate(t){let r=$e(t),n=qe(r);_[n]!==t.era&&(t.era=_[n],t.year=r.year-oe[n]),this.constrainDate(t)}constrainDate(t){let r=_.indexOf(t.era),n=Io[r];if(n!=null){let[s,a,i]=n,l=s-oe[r];t.year=Math.max(1,Math.min(l,t.year)),t.year===l&&(t.month=Math.min(a,t.month),t.month===a&&(t.day=Math.min(i,t.day)))}if(t.year===1&&r>=0){let[,s,a]=Y[r];t.month=Math.max(s,t.month),t.month===s&&(t.day=Math.max(a,t.day))}}getEras(){return _}getYearsInEra(t){let r=_.indexOf(t.era),n=Y[r],s=Y[r+1];if(s==null)return 9999-n[0]+1;let a=s[0]-n[0];return(t.month<s[1]||t.month===s[1]&&t.day<s[2])&&a++,a}getDaysInMonth(t){return super.getDaysInMonth($e(t))}getMinimumMonthInYear(t){let r=He(t);return r?r[1]:1}getMinimumDayInMonth(t){let r=He(t);return r&&t.month===r[1]?r[2]:1}constructor(...t){super(...t),this.identifier="japanese"}}function He(e){if(e.year===1){let t=_.indexOf(e.era);return Y[t]}}const _t=-543;class _o extends B{fromJulianDay(t){let r=super.fromJulianDay(t),n=X(r.era,r.year);return new M(this,n-_t,r.month,r.day)}toJulianDay(t){return super.toJulianDay(Je(t))}getEras(){return["BE"]}getDaysInMonth(t){return super.getDaysInMonth(Je(t))}balanceDate(){}constructor(...t){super(...t),this.identifier="buddhist"}}function Je(e){let[t,r]=me(e.year+_t);return new M(t,r,e.month,e.day)}const ce=1911;function Et(e){return e.era==="minguo"?e.year+ce:1-e.year+ce}function We(e){let t=e-ce;return t>0?["minguo",t]:["before_minguo",1-t]}class Eo extends B{fromJulianDay(t){let r=super.fromJulianDay(t),n=X(r.era,r.year),[s,a]=We(n);return new M(this,s,a,r.month,r.day)}toJulianDay(t){return super.toJulianDay(Ge(t))}getEras(){return["before_minguo","minguo"]}balanceDate(t){let[r,n]=We(Et(t));t.era=r,t.year=n}isInverseEra(t){return t.era==="before_minguo"}getDaysInMonth(t){return super.getDaysInMonth(Ge(t))}getYearsInEra(t){return t.era==="before_minguo"?9999:9999-ce}constructor(...t){super(...t),this.identifier="roc"}}function Ge(e){let[t,r]=me(Et(e));return new M(t,r,e.month,e.day)}const Oo=1948321;function Lo(e){let t=e>0?e-474:e-473,r=I(t,2820)+474;return I((r+38)*31,128)<31}function re(e,t,r){let n=e>0?e-474:e-473,s=I(n,2820)+474,a=t<=7?31*(t-1):30*(t-1)+6;return Oo-1+1029983*Math.floor(n/2820)+365*(s-1)+Math.floor((31*s-5)/128)+a+r}class No{fromJulianDay(t){let r=t-re(475,1,1),n=Math.floor(r/1029983),s=I(r,1029983),a=s===1029982?2820:Math.floor((128*s+46878)/46751),i=474+2820*n+a;i<=0&&i--;let l=t-re(i,1,1)+1,c=l<=186?Math.ceil(l/31):Math.ceil((l-6)/31),d=t-re(i,c,1)+1;return new M(this,i,c,d)}toJulianDay(t){return re(t.year,t.month,t.day)}getMonthsInYear(){return 12}getDaysInMonth(t){return t.month<=6?31:t.month<=11||Lo(t.year)?30:29}getEras(){return["AP"]}getYearsInEra(){return 9377}constructor(){this.identifier="persian"}}const we=78,Qe=80;class Fo extends B{fromJulianDay(t){let r=super.fromJulianDay(t),n=r.year-we,s=t-V(r.era,r.year,1,1),a;s<Qe?(n--,a=E(r.year-1)?31:30,s+=a+155+90+10):(a=E(r.year)?31:30,s-=Qe);let i,l;if(s<a)i=1,l=s+1;else{let c=s-a;c<155?(i=Math.floor(c/31)+2,l=c%31+1):(c-=155,i=Math.floor(c/30)+7,l=c%30+1)}return new M(this,n,i,l)}toJulianDay(t){let r=t.year+we,[n,s]=me(r),a,i;return E(s)?(a=31,i=V(n,s,3,21)):(a=30,i=V(n,s,3,22)),t.month===1?i+t.day-1:(i+=a+Math.min(t.month-2,5)*31,t.month>=8&&(i+=(t.month-7)*30),i+=t.day-1,i)}getDaysInMonth(t){return t.month===1&&E(t.year+we)||t.month>=2&&t.month<=6?31:30}getYearsInEra(){return 9919}getEras(){return["saka"]}balanceDate(){}constructor(...t){super(...t),this.identifier="indian"}}const ue=1948440,Ze=1948439,T=1300,U=1600,Vo=460322;function de(e,t,r,n){return n+Math.ceil(29.5*(r-1))+(t-1)*354+Math.floor((3+11*t)/30)+e-1}function Ot(e,t,r){let n=Math.floor((30*(r-t)+10646)/10631),s=Math.min(12,Math.ceil((r-(29+de(t,n,1,1)))/29.5)+1),a=r-de(t,n,s,1)+1;return new M(e,n,s,a)}function Ke(e){return(14+11*e)%30<11}class _e{fromJulianDay(t){return Ot(this,ue,t)}toJulianDay(t){return de(ue,t.year,t.month,t.day)}getDaysInMonth(t){let r=29+t.month%2;return t.month===12&&Ke(t.year)&&r++,r}getMonthsInYear(){return 12}getDaysInYear(t){return Ke(t.year)?355:354}getYearsInEra(){return 9665}getEras(){return["AH"]}constructor(){this.identifier="islamic-civil"}}class Uo extends _e{fromJulianDay(t){return Ot(this,Ze,t)}toJulianDay(t){return de(Ze,t.year,t.month,t.day)}constructor(...t){super(...t),this.identifier="islamic-tbla"}}const Yo="qgpUDckO1AbqBmwDrQpVBakGkgepC9QF2gpcBS0NlQZKB1QLagutBa4ETwoXBYsGpQbVCtYCWwmdBE0KJg2VDawFtgm6AlsKKwWVCsoG6Qr0AnYJtgJWCcoKpAvSC9kF3AJtCU0FpQpSC6ULtAW2CVcFlwJLBaMGUgdlC2oFqworBZUMSg2lDcoF1gpXCasESwmlClILagt1BXYCtwhbBFUFqQW0BdoJ3QRuAjYJqgpUDbIN1QXaAlsJqwRVCkkLZAtxC7QFtQpVCiUNkg7JDtQG6QprCasEkwpJDaQNsg25CroEWworBZUKKgtVC1wFvQQ9Ah0JlQpKC1oLbQW2AjsJmwRVBqkGVAdqC2wFrQpVBSkLkgupC9QF2gpaBasKlQVJB2QHqgu1BbYCVgpNDiULUgtqC60FrgIvCZcESwalBqwG1gpdBZ0ETQoWDZUNqgW1BdoCWwmtBJUFygbkBuoK9QS2AlYJqgpUC9IL2QXqAm0JrQSVCkoLpQuyBbUJ1gSXCkcFkwZJB1ULagVrCisFiwpGDaMNygXWCtsEawJLCaUKUgtpC3UFdgG3CFsCKwVlBbQF2gntBG0BtgimClINqQ3UBdoKWwmrBFMGKQdiB6kLsgW1ClUFJQuSDckO0gbpCmsFqwRVCikNVA2qDbUJugQ7CpsETQqqCtUK2gJdCV4ELgqaDFUNsga5BroEXQotBZUKUguoC7QLuQXaAloJSgukDdEO6AZqC20FNQWVBkoNqA3UDdoGWwWdAisGFQtKC5ULqgWuCi4JjwwnBZUGqgbWCl0FnQI=";let ke,z;function se(e){return Vo+z[e-T]}function Z(e,t){let r=e-T,n=1<<11-(t-1);return ke[r]&n?30:29}function Xe(e,t){let r=se(e);for(let n=1;n<t;n++)r+=Z(e,n);return r}function et(e){return z[e+1-T]-z[e-T]}class zo extends _e{fromJulianDay(t){let r=t-ue,n=se(T),s=se(U);if(r<n||r>s)return super.fromJulianDay(t);{let a=T-1,i=1,l=1;for(;l>0;){a++,l=r-se(a)+1;let c=et(a);if(l===c){i=12;break}else if(l<c){let d=Z(a,i);for(i=1;l>d;)l-=d,i++,d=Z(a,i);break}}return new M(this,a,i,r-Xe(a,i)+1)}}toJulianDay(t){return t.year<T||t.year>U?super.toJulianDay(t):ue+Xe(t.year,t.month)+(t.day-1)}getDaysInMonth(t){return t.year<T||t.year>U?super.getDaysInMonth(t):Z(t.year,t.month)}getDaysInYear(t){return t.year<T||t.year>U?super.getDaysInYear(t):et(t.year)}constructor(){if(super(),this.identifier="islamic-umalqura",ke||(ke=new Uint16Array(Uint8Array.from(atob(Yo),t=>t.charCodeAt(0)).buffer)),!z){z=new Uint32Array(U-T+1);let t=0;for(let r=T;r<=U;r++){z[r-T]=t;for(let n=1;n<=12;n++)t+=Z(r,n)}}}}const tt=347997,Lt=1080,Nt=24*Lt,qo=29,Ho=12*Lt+793,Jo=qo*Nt+Ho;function F(e){return I(e*7+1,19)<7}function ae(e){let t=Math.floor((235*e-234)/19),r=12084+13753*t,n=t*29+Math.floor(r/25920);return I(3*(n+1),7)<3&&(n+=1),n}function Wo(e){let t=ae(e-1),r=ae(e);return ae(e+1)-r===356?2:r-t===382?1:0}function K(e){return ae(e)+Wo(e)}function Ft(e){return K(e+1)-K(e)}function Go(e){let t=Ft(e);switch(t>380&&(t-=30),t){case 353:return 0;case 354:return 1;case 355:return 2}}function ne(e,t){if(t>=6&&!F(e)&&t++,t===4||t===7||t===9||t===11||t===13)return 29;let r=Go(e);return t===2?r===2?30:29:t===3?r===0?29:30:t===6?F(e)?30:0:30}class Qo{fromJulianDay(t){let r=t-tt,n=r*Nt/Jo,s=Math.floor((19*n+234)/235)+1,a=K(s),i=Math.floor(r-a);for(;i<1;)s--,a=K(s),i=Math.floor(r-a);let l=1,c=0;for(;c<i;)c+=ne(s,l),l++;l--,c-=ne(s,l);let d=i-c;return new M(this,s,l,d)}toJulianDay(t){let r=K(t.year);for(let n=1;n<t.month;n++)r+=ne(t.year,n);return r+t.day+tt}getDaysInMonth(t){return ne(t.year,t.month)}getMonthsInYear(t){return F(t.year)?13:12}getDaysInYear(t){return Ft(t.year)}getYearsInEra(){return 9999}getEras(){return["AM"]}balanceYearMonth(t,r){r.year!==t.year&&(F(r.year)&&!F(t.year)&&r.month>6?t.month--:!F(r.year)&&F(t.year)&&r.month>6&&t.month++)}constructor(){this.identifier="hebrew"}}const Se=1723856,rt=1824665,De=5500;function fe(e,t,r,n){return e+365*t+Math.floor(t/4)+30*(r-1)+n-1}function Ee(e,t){let r=Math.floor(4*(t-e)/1461),n=1+Math.floor((t-fe(e,r,1,1))/30),s=t+1-fe(e,r,n,1);return[r,n,s]}function Vt(e){return Math.floor(e%4/3)}function Ut(e,t){return t%13!==0?30:Vt(e)+5}class Oe{fromJulianDay(t){let[r,n,s]=Ee(Se,t),a="AM";return r<=0&&(a="AA",r+=De),new M(this,a,r,n,s)}toJulianDay(t){let r=t.year;return t.era==="AA"&&(r-=De),fe(Se,r,t.month,t.day)}getDaysInMonth(t){return Ut(t.year,t.month)}getMonthsInYear(){return 13}getDaysInYear(t){return 365+Vt(t.year)}getYearsInEra(t){return t.era==="AA"?9999:9991}getEras(){return["AA","AM"]}constructor(){this.identifier="ethiopic"}}class Zo extends Oe{fromJulianDay(t){let[r,n,s]=Ee(Se,t);return r+=De,new M(this,"AA",r,n,s)}getEras(){return["AA"]}getYearsInEra(){return 9999}constructor(...t){super(...t),this.identifier="ethioaa"}}class Ko extends Oe{fromJulianDay(t){let[r,n,s]=Ee(rt,t),a="CE";return r<=0&&(a="BCE",r=1-r),new M(this,a,r,n,s)}toJulianDay(t){let r=t.year;return t.era==="BCE"&&(r=1-r),fe(rt,r,t.month,t.day)}getDaysInMonth(t){let r=t.year;return t.era==="BCE"&&(r=1-r),Ut(r,t.month)}isInverseEra(t){return t.era==="BCE"}balanceDate(t){t.year<=0&&(t.era=t.era==="BCE"?"CE":"BCE",t.year=1-t.year)}getEras(){return["BCE","CE"]}getYearsInEra(t){return t.era==="BCE"?9999:9715}constructor(...t){super(...t),this.identifier="coptic"}}function Yt(e){switch(e){case"buddhist":return new _o;case"ethiopic":return new Oe;case"ethioaa":return new Zo;case"coptic":return new Ko;case"hebrew":return new Qo;case"indian":return new Fo;case"islamic-civil":return new _e;case"islamic-tbla":return new Uo;case"islamic-umalqura":return new zo;case"japanese":return new Bo;case"persian":return new No;case"roc":return new Eo;case"gregory":default:return new B}}function Xo({themeName:e="calendar",tokens:t,state:r,date:n}){const s=u.useRef(null),{cellProps:a,buttonProps:i,isSelected:l,isOutsideVisibleRange:c,isDisabled:d,formattedDate:f,isInvalid:x}=Re.useCalendarCell({date:n},r,s),h=r?.highlightedRange?Le(n,r?.highlightedRange.start):l,m=r?.highlightedRange?Le(n,r?.highlightedRange.end):l,{locale:$}=v.useLocale(),g=wt(n,$),w=l&&(h||g===0||n.day===1),y=l&&(m||g===6||n.day===n.calendar.getDaysInMonth(n)),{focusProps:k,isFocusVisible:S}=q.useFocusRing(),j=p(`${e}.cellContainer`,{...t,isFocusVisible:S}),R=p(`${e}.cell`,{...t,isSelected:l,isInvalid:x,isDisabled:d,isRoundedLeft:w,isRoundedRight:y}),N=p(`${e}.cellDate`,{...t,isSelected:l,isInvalid:x,isDisabled:d,isSelectionStart:h,isSelectionEnd:m});return o.jsx("td",{...a,"aria-disabled":!1,className:j,children:o.jsx("div",{...Tr.mergeProps(i,k),ref:s,hidden:c,className:R,children:o.jsx("div",{className:N,children:f})})})}function es({themeName:e="calendar",customTheme:t,tokens:r,state:n,...s}){const{locale:a}=he.useLocale(),{gridProps:i,headerProps:l,weekDays:c}=Re.useCalendarGrid({...s},n),d=xo(n.visibleRange.start,a),f=p(`${e}.calendarTable`,r),x=p(`${e}.dayLabel`,r);return o.jsxs("table",{...i,cellPadding:"0",className:f,children:[o.jsx("thead",{...l,children:o.jsx("tr",{children:c.map(h=>o.jsx("th",{className:x,children:h},`${h}`))})}),o.jsx("tbody",{children:[...new Array(d).keys()].map(h=>o.jsx("tr",{children:n.getDatesInWeek(h).map((m,$)=>m?o.jsx(Xo,{state:n,date:m},m?.day):o.jsx("td",{},$))},h))})]})}function zt({buttons:e,tokens:t,customTheme:r,themeName:n="calendar",...s}){const{locale:a}=he.useLocale(),i=Dr.useCalendarState({...s,locale:a,createCalendar:Yt}),l=u.useRef(null),{calendarProps:c,prevButtonProps:d,nextButtonProps:f,title:x}=Re.useCalendar({...s},i),h=p(`${n}.container`,t),m=p(`${n}.header`,t),$=p(`${n}.navigationButtonsContainer`,t);return o.jsxs("div",{...c,ref:l,className:h,children:[o.jsxs("div",{className:m,children:[o.jsx(D,{as:"p",tokens:{size:"h6"},children:x}),o.jsxs("div",{className:$,children:[o.jsx(J,{themeName:`${n}.navigationButtons`,tokens:{...t},type:"button",...d,handlePress:d?.onPress,children:o.jsx(P,{icon:e?.buttonPrev?.icon??"ArrowLeft"})}),o.jsx(J,{themeName:`${n}.navigationButtons`,tokens:{...t},type:"button",...f,handlePress:f?.onPress,children:o.jsx(P,{icon:e?.buttonNext?.icon??"ArrowRight"})})]})]}),o.jsx(es,{state:i})]})}function ts({title:e,children:t,...r}){const n=u.useRef(null),{dialogProps:s}=v.useDialog(r,n);return o.jsx("div",{...s,ref:n,children:t})}function rs({themeName:e="datePicker",tokens:t,...r}){const n=Rr.useRef(null),{state:s,children:a}={...r},{popoverProps:i,underlayProps:l}=Q.usePopover({...r,popoverRef:n},s),c=p(`${e}.calendarUnderlay`,t),d=p(`${e}.calendarPopover`,t);return o.jsxs(Q.Overlay,{children:[o.jsx("div",{...l,className:c}),o.jsxs("div",{...i,ref:n,className:d,children:[o.jsx(Q.DismissButton,{onDismiss:s.close}),a,o.jsx(Q.DismissButton,{onDismiss:s.close})]})]})}function ns({segment:e,state:t}){const r=u.useRef(null),{segmentProps:n}=Pe.useDateSegment(e,t,r),s=p("datePicker.dateSegment");return o.jsx(v.FocusRing,{focusRingClass:"has-focus-ring",children:o.jsxs("div",{...n,ref:r,className:s,children:[o.jsx("span",{"aria-hidden":"true",style:{visibility:e.isPlaceholder?"visible":"hidden",height:e.isPlaceholder?"":0,pointerEvents:"none",display:e.isPlaceholder?"block":"none"},children:e.placeholder}),e.isPlaceholder?"":e.text]})})}function nt(e){const{locale:t}=he.useLocale(),r=st.useDateFieldState({...e,locale:t,createCalendar:Yt}),n=u.useRef(null),{fieldProps:s}=Pe.useDateField(e,r,n);return o.jsx("div",{...s,ref:n,className:"flex",children:r.segments.map((a,i)=>o.jsx(ns,{segment:a,state:r},i))})}function os({popoverPlacement:e="bottom start",tokens:t,customTheme:r,themeName:n="datePicker",icon:s="ArrowDown",description:a,buttonLabel:i,...l}){const c=st.useDatePickerState({...l}),d=u.useRef(null),{groupProps:f,fieldProps:x,labelProps:h,descriptionProps:m,buttonProps:$,dialogProps:g,calendarProps:w}=Pe.useDatePicker({...l},c,d),{label:y}={...l},k=p(`${n}.container`,t),S=p(`${n}.dateField`,t),j=p(`${n}.label`,t);return o.jsxs("div",{className:k,children:[y&&o.jsx("span",{...h,children:y}),a&&o.jsx("div",{...m,children:a}),o.jsx("div",{...f,ref:d,children:o.jsxs(J,{themeName:`${n}.button`,tokens:{...t},type:"button",...$,handlePress:$.onPress,children:[i&&o.jsx("p",{className:j,children:i}),o.jsxs("div",{className:S,children:[o.jsx(nt,{...x}),c.validationState==="invalid"&&"❌"]}),o.jsx(P,{themeName:`${n}.icon`,tokens:{...t},icon:s})]})}),c.isOpen&&o.jsx(rs,{triggerRef:d,state:c,placement:e,children:o.jsxs(ts,{...g,children:[o.jsxs("div",{children:[o.jsx(nt,{...x}),c.validationState==="invalid"&&"❌"]}),o.jsx(zt,{...w})]})})]})}function ss(e,t,r){let[n,s]=u.useState(e||t),a=u.useRef(e!==void 0),i=e!==void 0;u.useEffect(()=>{let d=a.current;d!==i&&console.warn(`WARN: A component changed from ${d?"controlled":"uncontrolled"} to ${i?"controlled":"uncontrolled"}.`),a.current=i},[i]);let l=i?e:n,c=u.useCallback((d,...f)=>{let x=(h,...m)=>{r&&(Object.is(l,h)||r(h,...m)),i||(l=h)};typeof d=="function"?(console.warn("We can not support a function callback. See Github Issues for details https://github.com/adobe/react-spectrum/issues/2320"),s((m,...$)=>{let g=d(i?l:m,...$);return x(g,...f),i?m:g})):(i||s(d),x(d,...f))},[i,l,r]);return[l,c]}let as=Math.round(Math.random()*1e10),is=0;function qt(e){let t=u.useMemo(()=>e.name||`radio-group-${as}-${++is}`,[e.name]),[r,n]=ss(e.value,e.defaultValue,e.onChange),[s,a]=u.useState(null);return{name:t,selectedValue:r,setSelectedValue:l=>{!e.isReadOnly&&!e.isDisabled&&n(l)},lastFocusedValue:s,setLastFocusedValue:a,isDisabled:e.isDisabled||!1,isReadOnly:e.isReadOnly||!1,isRequired:e.isRequired||!1,validationState:e.validationState||null,isInvalid:e.isInvalid||e.validationState==="invalid"}}const Ht=u.createContext(null),Jt=e=>{const{children:t}=e,r=qt(e);return o.jsx(Ht.Provider,{value:r,children:t})};function Wt(){const e=u.useContext(Ht);return e!==null?e:null}const ls=e=>{const{id:t,label:r,themeName:n="radio",tokens:s,customTheme:a,value:i,fieldRef:l}=e,c=Wt(),d=u.useRef(null),{inputProps:f}=v.useRadio(e,c,d),x=c?.selectedValue===i,{focusProps:h}=v.useFocusRing(),m={...s,selected:x},$=p(`${n}.label`,m,a),g=p(`${n}.radio`,m,a),w=p(`${n}.selectedMark`,m,a);return o.jsx("div",{children:o.jsx(v.FocusRing,{focusRingClass:"has-focus-ring",within:!0,children:o.jsxs("label",{htmlFor:t,className:$,children:[o.jsx(v.VisuallyHidden,{children:o.jsx("input",{type:"radio",...v.mergeProps(h,f),ref:y=>{l?.(y),d.current=y}})}),o.jsx("div",{className:g,"aria-checked":x,role:"radio","aria-labelledby":t,children:o.jsx("div",{className:w})}),o.jsx(D,{themeName:`${n}.label`,children:r})]})})})},cs=e=>{const{label:t,isError:r=!1,errorMessage:n,isDisabled:s=!1,children:a,themeName:i="radioGroup",tokens:l}=e,c=qt(e),{radioGroupProps:d}=v.useRadioGroup(e,c),f={...l,isDisabled:s};return o.jsxs(Ce,{...d,"aria-disabled":s,themeName:`${i}.radioGroup`,tokens:f,children:[t&&o.jsx(D,{tokens:{size:"h6"},children:t}),o.jsx(Ce,{themeName:`${i}.radioGroupItemsGroup`,children:o.jsx(Jt,{children:a})}),r&&n&&o.jsx(D,{tokens:{isError:!0},children:n})]})},us=e=>o.jsx("svg",{width:24,height:24,fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:o.jsx("path",{d:"M17.728 13.66 12.388 19 7.05 13.66M12.4 5v14",stroke:"currentColor"})}),Gt=u.memo(us,C),ds=Object.freeze(Object.defineProperty({__proto__:null,default:Gt},Symbol.toStringTag,{value:"Module"})),fs=e=>o.jsxs("svg",{width:24,height:24,fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:[o.jsx("g",{children:o.jsx("path",{d:"M.075 11.622a1 1 0 0 0 0 .76 1 1 0 0 0 .21.33l8 8a1.004 1.004 0 0 0 1.42-1.42l-6.3-6.29h19.59a1 1 0 0 0 0-2H3.405l6.3-6.29a1 1 0 0 0 0-1.42 1 1 0 0 0-1.42 0l-8 8a1 1 0 0 0-.21.33Z"})}),o.jsx("defs",{children:o.jsx("clipPath",{children:o.jsx("path",{fill:"currentColor",d:"M0 0h24v24H0z"})})})]}),Qt=u.memo(fs,C),hs=Object.freeze(Object.defineProperty({__proto__:null,default:Qt},Symbol.toStringTag,{value:"Module"})),ms=e=>o.jsxs("svg",{width:24,height:24,fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:[o.jsx("g",{children:o.jsx("path",{d:"M23.92 12.38a1 1 0 0 0 0-.76 1 1 0 0 0-.21-.33l-8-8a1.003 1.003 0 1 0-1.42 1.42l6.3 6.29H1a1 1 0 1 0 0 2h19.59l-6.3 6.29a1 1 0 0 0 0 1.42 1.002 1.002 0 0 0 1.42 0l8-8c.091-.095.162-.207.21-.33Z"})}),o.jsx("defs",{children:o.jsx("clipPath",{children:o.jsx("path",{fill:"currentColor",d:"M0 0h24v24H0z"})})})]}),Zt=u.memo(ms,C),gs=Object.freeze(Object.defineProperty({__proto__:null,default:Zt},Symbol.toStringTag,{value:"Module"})),ps=e=>o.jsx("svg",{width:24,height:24,fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:o.jsx("path",{stroke:"currentColor",d:"m13.944 7 5 5-5 5M5.833 12h13.111"})}),Kt=u.memo(ps,C),bs=Object.freeze(Object.defineProperty({__proto__:null,default:Kt},Symbol.toStringTag,{value:"Module"})),xs=e=>o.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",height:48,width:48,fill:"currentColor",viewBox:"0 0 48 48",...e,children:o.jsx("path",{d:"M21.05 33.1 35.2 18.95l-2.3-2.25-11.85 11.85-6-6-2.25 2.25ZM24 44q-4.1 0-7.75-1.575-3.65-1.575-6.375-4.3-2.725-2.725-4.3-6.375Q4 28.1 4 24q0-4.15 1.575-7.8 1.575-3.65 4.3-6.35 2.725-2.7 6.375-4.275Q19.9 4 24 4q4.15 0 7.8 1.575 3.65 1.575 6.35 4.275 2.7 2.7 4.275 6.35Q44 19.85 44 24q0 4.1-1.575 7.75-1.575 3.65-4.275 6.375t-6.35 4.3Q28.15 44 24 44Z"})}),Xt=u.memo(xs,C),vs=Object.freeze(Object.defineProperty({__proto__:null,default:Xt},Symbol.toStringTag,{value:"Module"})),ys=e=>o.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",height:"48",width:"48",fill:"currentColor",...e,children:o.jsx("path",{d:"M28.05 36 16 23.95 28.05 11.9l2.15 2.15-9.9 9.9 9.9 9.9Z"})}),er=u.memo(ys,C),$s=Object.freeze(Object.defineProperty({__proto__:null,default:er},Symbol.toStringTag,{value:"Module"})),ws=e=>o.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",height:"48",width:"48",fill:"currentColor",...e,children:o.jsx("path",{d:"m18.75 36-2.15-2.15 9.9-9.9-9.9-9.9 2.15-2.15L30.8 23.95Z"})}),tr=u.memo(ws,C),Cs=Object.freeze(Object.defineProperty({__proto__:null,default:tr},Symbol.toStringTag,{value:"Module"})),js=e=>o.jsx("svg",{width:42,height:42,fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 72 72",...e,children:o.jsx("path",{d:"M46.75 49.625a1.874 1.874 0 0 1-1.331-.544L35.5 39.144l-9.919 9.937a1.876 1.876 0 0 1-2.662 0 1.873 1.873 0 0 1 0-2.662l9.937-9.919-9.937-9.919a1.883 1.883 0 0 1 2.662-2.662l9.92 9.937 9.918-9.937a1.873 1.873 0 0 1 2.662 0 1.876 1.876 0 0 1 0 2.662l-9.937 9.92 9.937 9.918a1.876 1.876 0 0 1-1.33 3.206Z",fill:"currentColor"})}),rr=u.memo(js,C),Ms=Object.freeze(Object.defineProperty({__proto__:null,default:rr},Symbol.toStringTag,{value:"Module"})),ks=e=>o.jsx("svg",{width:24,height:24,fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:o.jsx("path",{d:"M9.161 5.889v2.753H7V12h2.161v10h4.442V12h2.977s.28-1.614.417-3.38h-3.379V6.316a.963.963 0 0 1 .332-.558c.174-.146.396-.233.63-.248H17V2h-3.275C9.063 2 9.173 5.37 9.173 5.889h-.012Z",fill:"currentColor"})}),nr=u.memo(ks,C),Ss=Object.freeze(Object.defineProperty({__proto__:null,default:nr},Symbol.toStringTag,{value:"Module"})),Ds=e=>o.jsx("svg",{width:24,height:24,xmlns:"http://www.w3.org/2000/svg",xmlSpace:"preserve",viewBox:"0 0 256 256",...e,children:o.jsx("path",{fill:"#3b5998",strokeMiterlimit:"10",strokeWidth:"0",d:"M147.5 254.3V139.1h38.7l6-45h-44.7V65.2c0-13 3.6-21.9 22.3-21.9h23.7V3.2c-11.6-1.2-23.1-1.8-34.7-1.8-34.3 0-57.8 20.9-57.8 59.4V94H62.2v45.1H101v115.2h46.5z"})}),or=u.memo(Ds,C),Ts=Object.freeze(Object.defineProperty({__proto__:null,default:or},Symbol.toStringTag,{value:"Module"})),Ps=e=>o.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,viewBox:"0 0 24 25",fill:"none",...e,children:o.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2 12.5001C2 17.4501 5.6 21.5501 10.35 22.4001L10.4094 22.3515C10.4063 22.3509 10.4032 22.3503 10.4001 22.3498V15.2998H7.90015V12.4998H10.4001V10.2998C10.4001 7.79978 12.0001 6.39978 14.3001 6.39978C15.0001 6.39978 15.8001 6.49978 16.5001 6.59978V9.14978H15.2001C14.0001 9.14978 13.7001 9.74978 13.7001 10.5498V12.4998H16.3501L15.9001 15.2998H13.7001V22.3498C13.6696 22.3553 13.639 22.3608 13.6084 22.366L13.65 22.4001C18.4 21.5501 22 17.4501 22 12.5001C22 7.00006 17.5 2.50006 12 2.50006C6.5 2.50006 2 7.00006 2 12.5001Z",fill:"currentColor"})}),sr=u.memo(Ps,C),Rs=Object.freeze(Object.defineProperty({__proto__:null,default:sr},Symbol.toStringTag,{value:"Module"})),As=e=>o.jsxs("svg",{width:"40",height:"40",viewBox:"0 0 67 67",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[o.jsx("path",{d:"M16.1339 8.5415C18.1397 10.0645 19.8152 11.9792 21.0587 14.1693C22.2848 16.2537 25.064 22.0491 22.5341 25.3227C19.6732 29.0215 11.3848 30.2721 11.3848 33.6807C11.3848 36.2473 15.0181 39.1736 16.9594 42.0386C18.0736 43.6842 18.6691 45.626 18.6691 47.6133C18.6691 49.6006 18.0736 51.5423 16.9594 53.1879C16.0541 54.6088 14.817 55.7884 13.3547 56.6251",stroke:"currentColor",strokeWidth:"5",strokeLinecap:"round",strokeLinejoin:"round"}),o.jsx("path",{d:"M57.8289 14.8058C52.7905 17.106 47.4837 18.766 42.0327 19.747C39.1227 19.9555 38.6895 17.5605 36.4621 14.1724C34.7905 11.6302 30.8874 8.45055 30.8874 5.81443C30.8648 4.90303 30.9876 3.99386 31.2511 3.12109",stroke:"currentColor",strokeWidth:"5",strokeLinecap:"round",strokeLinejoin:"round"}),o.jsx("path",{d:"M33.6799 64.3334C50.6088 64.3334 64.3324 50.6098 64.3324 33.6809C64.3324 16.7519 50.6088 3.02832 33.6799 3.02832C16.751 3.02832 3.02734 16.7519 3.02734 33.6809C3.02734 50.6098 16.751 64.3334 33.6799 64.3334Z",stroke:"currentColor",strokeWidth:"5",strokeLinecap:"round",strokeLinejoin:"round"}),o.jsx("path",{d:"M53.2225 36.1983C53.341 44.781 42.1549 55.5094 36.4658 53.188C31.4796 51.1445 34.9944 47.2291 33.7193 36.1983C33.188 31.6127 38.0842 27.8404 43.4872 27.8404C45.8806 27.6839 48.24 28.4711 50.0597 30.0335C51.8795 31.5958 53.2225 32.8948 53.2225 36.1983Z",stroke:"currentColor",strokeWidth:"5",strokeLinecap:"round",strokeLinejoin:"round"})]}),ar=u.memo(As,C),Is=Object.freeze(Object.defineProperty({__proto__:null,default:ar},Symbol.toStringTag,{value:"Module"})),Bs=e=>o.jsx("svg",{width:24,height:24,xmlns:"http://www.w3.org/2000/svg",xmlSpace:"preserve",viewBox:"0 0 256 256",...e,children:o.jsxs("g",{fill:"currentColor",strokeMiterlimit:"10",strokeWidth:"0",children:[o.jsx("path",{d:"M253.5 75.7a92.8 92.8 0 0 0-5.8-30.7A62 62 0 0 0 233 22.6 62 62 0 0 0 210.7 8c-8-3-17.2-5.2-30.7-5.8-13.5-.6-17.8-.8-52.1-.8s-38.7.2-52.2.8A92.8 92.8 0 0 0 45 8c-8.4 3.2-16 8.2-22.4 14.6A62 62 0 0 0 8 45c-3 8-5.2 17.3-5.8 30.7a890 890 0 0 0-.8 52.2c0 34.3.2 38.6.8 52.1A92.8 92.8 0 0 0 8 210.7a62 62 0 0 0 14.5 22.4A62 62 0 0 0 45 247.7c8 3.1 17.3 5.2 30.7 5.9 13.5.6 17.8.7 52.2.7s38.6-.1 52-.7a92.8 92.8 0 0 0 30.8-6c17-6.5 30.4-20 37-36.9 3-8 5.2-17.2 5.8-30.7.7-13.5.8-17.8.8-52.1s-.1-38.7-.8-52.2zM230.8 179c-.6 12.3-2.6 19-4.4 23.4-4.2 11-13 19.8-24 24a69.9 69.9 0 0 1-23.4 4.4c-13.4.6-17.4.7-51.1.7-33.8 0-37.8-.1-51.1-.7-12.4-.6-19-2.6-23.5-4.4-5.5-2-10.5-5.2-14.5-9.4-4.2-4.1-7.5-9-9.5-14.6a69.9 69.9 0 0 1-4.4-23.4c-.6-13.4-.7-17.4-.7-51.1s.1-37.8.7-51.1c.6-12.4 2.6-19 4.4-23.5 2-5.5 5.2-10.5 9.4-14.6 4.1-4.2 9-7.4 14.6-9.4a69.9 69.9 0 0 1 23.5-4.4c13.3-.6 17.3-.7 51-.7 33.8 0 37.8.1 51.1.7 12.4.6 19 2.7 23.5 4.4 5.5 2 10.5 5.2 14.6 9.4 4.2 4.1 7.4 9.1 9.4 14.6a69.9 69.9 0 0 1 4.4 23.5c.6 13.3.7 17.3.7 51s-.1 37.8-.7 51.2z"}),o.jsx("path",{d:"M127.9 63a65 65 0 1 0 0 129.8 65 65 0 0 0 0-129.9zm0 107a42.2 42.2 0 1 1 0-84.3 42.2 42.2 0 0 1 0 84.3zM210.5 60.4a15.2 15.2 0 1 1-30.3 0 15.2 15.2 0 0 1 30.3 0z"})]})}),ir=u.memo(Bs,C),_s=Object.freeze(Object.defineProperty({__proto__:null,default:ir},Symbol.toStringTag,{value:"Module"})),Es=e=>o.jsx("svg",{width:24,height:24,xmlns:"http://www.w3.org/2000/svg",xmlSpace:"preserve",viewBox:"0 0 256 256",...e,children:o.jsxs("g",{fill:"none",strokeMiterlimit:"10",strokeWidth:"0",transform:"matrix(2.8 0 0 2.8 1.4 1.4)",children:[o.jsxs("linearGradient",{id:"a",x1:"7.6",x2:"82.4",y1:"9.6",y2:"84.4",gradientTransform:"matrix(1 0 0 -1 0 92)",gradientUnits:"userSpaceOnUse",children:[o.jsx("stop",{offset:"0%",stopColor:"#ffd600"}),o.jsx("stop",{offset:"50%",stopColor:"#ff0100"}),o.jsx("stop",{offset:"100%",stopColor:"#d800b9"})]}),o.jsx("path",{fill:"url(#a)",d:"M89.7 26.4c-.2-4.7-1-8-2-10.9a22 22 0 0 0-5.3-8 22 22 0 0 0-8-5.1A33 33 0 0 0 63.7.3C58.8 0 57.2 0 45 0S31.2 0 26.4.3c-4.7.2-8 1-10.9 2a22 22 0 0 0-8 5.3 22 22 0 0 0-5.1 8A33 33 0 0 0 .3 26.3C0 31.2 0 32.8 0 45c0 12.2 0 13.8.3 18.6.2 4.7 1 8 2 10.9a22 22 0 0 0 5.3 8c2.2 2.2 5 4 8 5.1a33 33 0 0 0 10.8 2.1c4.8.2 6.4.3 18.6.3s13.8 0 18.6-.3c4.7-.2 8-1 10.9-2a23 23 0 0 0 13.1-13.2 33 33 0 0 0 2.1-11c.2-4.7.3-6.3.3-18.5s0-13.8-.3-18.6zm-8 36.8c-.3 4.4-1 6.8-1.6 8.3-1.5 4-4.6 7-8.6 8.6-1.5.6-4 1.3-8.3 1.5-4.8.2-6.2.3-18.2.3s-13.4 0-18.2-.3a25 25 0 0 1-8.3-1.5 14 14 0 0 1-5.2-3.4 14 14 0 0 1-3.4-5.2c-.6-1.5-1.3-4-1.5-8.3A313 313 0 0 1 8 45c0-12 0-13.4.3-18.2a25 25 0 0 1 1.5-8.3 14 14 0 0 1 3.4-5.2 14 14 0 0 1 5.2-3.4c1.5-.6 4-1.3 8.3-1.5C31.6 8.2 33 8 45 8s13.4 0 18.2.3c4.4.2 6.8.9 8.3 1.5a14 14 0 0 1 5.2 3.4 14 14 0 0 1 3.4 5.2c.6 1.5 1.3 4 1.5 8.3.2 4.8.3 6.2.3 18.2s0 13.4-.3 18.2z"}),o.jsxs("linearGradient",{id:"b",x1:"28.7",x2:"61.3",y1:"30.7",y2:"63.3",gradientTransform:"matrix(1 0 0 -1 0 92)",gradientUnits:"userSpaceOnUse",children:[o.jsx("stop",{offset:"0%",stopColor:"#ff6400"}),o.jsx("stop",{offset:"50%",stopColor:"#ff0100"}),o.jsx("stop",{offset:"100%",stopColor:"#fd0056"})]}),o.jsx("path",{fill:"url(#b)",d:"M45 21.9A23.1 23.1 0 1 0 45 68 23.1 23.1 0 0 0 45 22zM45 60a15 15 0 1 1 0-30 15 15 0 0 1 0 30z"}),o.jsxs("linearGradient",{id:"c",x1:"65.2",x2:"72.8",y1:"67.2",y2:"74.8",gradientTransform:"matrix(1 0 0 -1 0 92)",gradientUnits:"userSpaceOnUse",children:[o.jsx("stop",{offset:"0%",stopColor:"#f30072"}),o.jsx("stop",{offset:"100%",stopColor:"#e50097"})]}),o.jsx("path",{fill:"url(#c)",d:"M74.4 21a5.4 5.4 0 1 1-10.8 0 5.4 5.4 0 0 1 10.8 0z"})]})}),lr=u.memo(Es,C),Os=Object.freeze(Object.defineProperty({__proto__:null,default:lr},Symbol.toStringTag,{value:"Module"})),Ls=e=>o.jsx("svg",{width:24,height:24,xmlns:"http://www.w3.org/2000/svg",xmlSpace:"preserve",viewBox:"0 0 256 256",...e,children:o.jsxs("g",{fill:"currentColor",strokeMiterlimit:"10",strokeWidth:"0",children:[o.jsx("path",{d:"M61.4 254.3A59.8 59.8 0 0 1 19 151.8L65.8 105a11.2 11.2 0 0 1 15.9 16l-46.8 46.7a37.3 37.3 0 0 0 0 53.1 37.6 37.6 0 0 0 53 0l46.9-46.8a11.2 11.2 0 1 1 15.9 16l-46.8 46.7a59.8 59.8 0 0 1-42.5 17.6zM182 154a11.2 11.2 0 0 1-8-19.2L220.8 88a37.6 37.6 0 0 0-53-53.1l-46.9 46.8a11.2 11.2 0 0 1-15.9-16L151.8 19a59.6 59.6 0 0 1 85 0 60.1 60.1 0 0 1 0 84.9l-46.9 46.8c-2.2 2.2-5 3.3-8 3.3z"}),o.jsx("path",{d:"M72.6 194.3a11.2 11.2 0 0 1-8-19.1L175.3 64.7A11.2 11.2 0 1 1 191 80.6L80.6 191c-2.2 2.2-5.1 3.2-8 3.2z"})]})}),cr=u.memo(Ls,C),Ns=Object.freeze(Object.defineProperty({__proto__:null,default:cr},Symbol.toStringTag,{value:"Module"})),Fs=e=>o.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:18,height:19,viewBox:"0 0 18 19",fill:"none",...e,children:o.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0 1.79773C0 1.07677 0.604838 0.5 1.33064 0.5H16.6694C17.3952 0.5 18 1.07677 18 1.79773V17.2023C18 17.9232 17.3952 18.5 16.6694 18.5H1.33064C0.604838 18.5 0 17.9232 0 17.2023V1.79773ZM5.44373 15.5677V7.44492H2.73405V15.5677H5.44373ZM4.08889 6.31541C5.03244 6.31541 5.63728 5.69058 5.63728 4.92155C5.61308 4.1285 5.05663 3.52769 4.11308 3.52769C3.19373 3.52769 2.5647 4.1285 2.5647 4.92155C2.5647 5.69058 3.14534 6.31541 4.08889 6.31541ZM9.65304 15.5677H6.94336C6.94336 15.5677 6.99175 8.18991 6.94336 7.44492H9.67723V8.58586C9.66903 8.59819 9.66097 8.6104 9.65304 8.62249H9.67723V8.58586C10.0439 8.03441 10.6772 7.25266 12.1208 7.25266C13.9111 7.25266 15.2417 8.4062 15.2417 10.9055V15.5677H12.5321V11.2179C12.5321 10.1365 12.145 9.39151 11.153 9.39151C10.403 9.39151 9.94336 9.89619 9.74981 10.3768C9.67723 10.5451 9.65304 10.7854 9.65304 11.0257V15.5677Z",fill:"currentColor"})}),ur=u.memo(Fs,C),Vs=Object.freeze(Object.defineProperty({__proto__:null,default:ur},Symbol.toStringTag,{value:"Module"})),Us=e=>o.jsx("svg",{width:24,height:24,xmlns:"http://www.w3.org/2000/svg",xmlSpace:"preserve",viewBox:"0 0 256 256",...e,children:o.jsxs("g",{fill:"currentColor",strokeMiterlimit:"10",strokeWidth:"0",transform:"matrix(2.8 0 0 2.8 1.4 1.4)",children:[o.jsx("path",{d:"M80.9 78.8H9c-5 0-9.1-4.1-9.1-9.1V20.3c0-5 4-9 9.1-9H81c5 0 9.1 4 9.1 9v49.4c0 5-4 9-9.1 9zM9 17.2A3.1 3.1 0 0 0 6 20.3v49.4c0 1.7 1.4 3 3.1 3H81c1.7 0 3.1-1.3 3.1-3V20.3c0-1.7-1.4-3-3.1-3H9z"}),o.jsx("path",{d:"M45 55.4c-5.4 0-10.6-2.3-14.2-6.3l-28.3-31 4.4-4 28.3 31c2.5 2.8 6 4.3 9.8 4.3 3.8 0 7.3-1.5 9.8-4.3l28.3-31 4.4 4-28.3 31c-3.6 4-8.8 6.3-14.2 6.3z"}),o.jsx("rect",{width:"39",height:"6",x:"-1",y:"57.2",rx:"0",ry:"0",transform:"rotate(-45.1 18.5 60.2)"}),o.jsx("rect",{width:"6",height:"39",x:"68.5",y:"40.7",rx:"0",ry:"0",transform:"rotate(-44.8 71.5 60.2)"})]})}),dr=u.memo(Us,C),Ys=Object.freeze(Object.defineProperty({__proto__:null,default:dr},Symbol.toStringTag,{value:"Module"})),zs=e=>o.jsxs("svg",{height:48,width:48,fill:"currentColor",...e,xmlns:"http://www.w3.org/2000/svg",children:[o.jsx("ellipse",{cx:"26",cy:"24.095",rx:"26",ry:"23.547",fill:"#fff"}),o.jsx("path",{d:"M37.742 24.095H14.258M26 13.46V34.73 13.46Z",stroke:"#9E9E9E",strokeWidth:"5",strokeLinecap:"round",strokeLinejoin:"round"})]}),fr=u.memo(zs,C),qs=Object.freeze(Object.defineProperty({__proto__:null,default:fr},Symbol.toStringTag,{value:"Module"})),Hs=e=>o.jsx("svg",{width:24,height:24,xmlns:"http://www.w3.org/2000/svg",xmlSpace:"preserve",viewBox:"0 0 256 256",...e,children:o.jsx("path",{fill:"currentColor",strokeMiterlimit:"10",strokeWidth:"0",d:"M199.75 145.13a54.45 54.45 0 0 0-43.54 21.82l-47.88-23.93c1.4-4.82 2.2-9.9 2.2-15.17a54.3 54.3 0 0 0-2.2-15.16l47.88-23.93a54.45 54.45 0 0 0 43.54 21.82 54.61 54.61 0 0 0 54.56-54.56c0-30.08-24.48-54.56-54.56-54.56s-54.56 24.48-54.56 54.56c0 5.27.79 10.35 2.19 15.17L99.5 95.11A54.45 54.45 0 0 0 55.97 73.3C25.88 73.3 1.4 97.77 1.4 127.86s24.47 54.56 54.56 54.56c17.79 0 33.56-8.6 43.53-21.82l47.88 23.92a54.32 54.32 0 0 0-2.2 15.17c0 30.09 24.48 54.56 54.57 54.56s54.56-24.47 54.56-54.56a54.62 54.62 0 0 0-54.56-54.56zm0-124c19.24 0 34.89 15.65 34.89 34.9s-15.65 34.88-34.9 34.88-34.88-15.65-34.88-34.89 15.65-34.89 34.89-34.89zM55.97 162.75c-19.24 0-34.9-15.65-34.9-34.9s15.66-34.88 34.9-34.88 34.88 15.65 34.88 34.89-15.65 34.89-34.88 34.89zm143.78 71.83a34.93 34.93 0 0 1-34.9-34.89c0-19.24 15.66-34.89 34.9-34.89s34.89 15.65 34.89 34.9a34.93 34.93 0 0 1-34.9 34.88z"})}),hr=u.memo(Hs,C),Js=Object.freeze(Object.defineProperty({__proto__:null,default:hr},Symbol.toStringTag,{value:"Module"})),Ws=e=>o.jsx("svg",{width:24,height:24,xmlns:"http://www.w3.org/2000/svg",xmlSpace:"preserve",viewBox:"0 0 256 256",...e,children:o.jsx("path",{fill:"currentColor",strokeMiterlimit:"10",strokeWidth:"0",d:"M81 231A147 147 0 0 0 228 76c11-7 19-16 26-27-9 5-19 7-29 9 10-7 18-17 22-29-10 6-21 10-33 12a52 52 0 0 0-88 48C83 87 45 66 19 35a52 52 0 0 0 16 69c-8 0-16-3-23-7v1c0 25 17 46 41 51a52 52 0 0 1-23 1c6 20 26 35 48 36a104 104 0 0 1-77 21c23 15 51 24 80 24"})}),mr=u.memo(Ws,C),Gs=Object.freeze(Object.defineProperty({__proto__:null,default:mr},Symbol.toStringTag,{value:"Module"})),Qs=e=>o.jsx("svg",{width:24,height:24,xmlns:"http://www.w3.org/2000/svg",xmlSpace:"preserve",viewBox:"0 0 256 256",...e,children:o.jsx("path",{fill:"#1da1f2",strokeMiterlimit:"10",strokeWidth:"0",d:"M81 230.6c95.4 0 147.6-79 147.6-147.6 0-2.3 0-4.5-.2-6.7 10.2-7.4 19-16.5 25.9-26.9-9.5 4.2-19.5 7-29.8 8.2a52 52 0 0 0 22.8-28.7 104 104 0 0 1-33 12.6A52 52 0 0 0 126 88.8C84.2 86.7 45.4 67 19 34.6a52 52 0 0 0 16 69.2 51.5 51.5 0 0 1-23.5-6.5v.7c0 24.7 17.4 46 41.6 50.9-7.6 2-15.6 2.4-23.4.9a52 52 0 0 0 48.5 36 104.1 104.1 0 0 1-76.8 21.5A146.9 146.9 0 0 0 81 230.6"})}),gr=u.memo(Qs,C),Zs=Object.freeze(Object.defineProperty({__proto__:null,default:gr},Symbol.toStringTag,{value:"Module"})),Ks=e=>o.jsx("svg",{width:24,height:24,fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:o.jsx("path",{d:"M17 21H7a4 4 0 0 1-4-4v-1a1 1 0 1 1 2 0v1a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2v-1a1 1 0 0 1 2 0v1a4 4 0 0 1-4 4Zm-5-4a1 1 0 0 1-1-1V6.41l-2.29 2.3a1.004 1.004 0 0 1-1.42-1.42l4-4a1 1 0 0 1 .33-.21A1 1 0 0 1 12 3a1 1 0 0 1 .38.08 1 1 0 0 1 .33.21l4 4a1.004 1.004 0 1 1-1.42 1.42L13 6.41V16a1 1 0 0 1-1 1Z",fill:"currentColor"})}),pr=u.memo(Ks,C),Xs=Object.freeze(Object.defineProperty({__proto__:null,default:pr},Symbol.toStringTag,{value:"Module"})),ea=e=>o.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,viewBox:"0 0 24 25",fill:"none",...e,children:o.jsx("path",{d:"M14.119 11.7052L20.4486 4.5H18.9492L13.4509 10.7549L9.0626 4.5H4L10.6374 13.9594L4 21.5142H5.4994L11.3021 14.9074L15.9374 21.5142H21M6.04057 5.60727H8.34407L18.9481 20.4613H16.644",fill:"currentColor"})}),br=u.memo(ea,C),ta=Object.freeze(Object.defineProperty({__proto__:null,default:br},Symbol.toStringTag,{value:"Module"})),ra=e=>o.jsx("svg",{width:24,height:24,xmlns:"http://www.w3.org/2000/svg",xmlSpace:"preserve",viewBox:"0 0 256 256",...e,children:o.jsx("path",{fill:"currentColor",strokeMiterlimit:"10",strokeWidth:"0",d:"M249 67c-3-11-11-19-22-22-20-6-99-6-99-6s-79 0-99 6C18 48 10 56 7 67c-6 20-6 61-6 61s0 41 6 61c3 11 11 19 22 22 20 5 99 5 99 5s79 0 99-5c11-3 19-11 22-22 5-20 5-61 5-61s0-41-5-61zm-146 99V90l65 38-65 38z"})}),xr=u.memo(ra,C),na=Object.freeze(Object.defineProperty({__proto__:null,default:xr},Symbol.toStringTag,{value:"Module"})),oa=e=>o.jsx("svg",{width:24,height:24,xmlns:"http://www.w3.org/2000/svg",xmlSpace:"preserve",viewBox:"0 0 256 256",...e,children:o.jsxs("g",{fill:"currentColor",strokeMiterlimit:"10",strokeWidth:"0",children:[o.jsx("path",{fill:"red",d:"M249.02 66.99a31.68 31.68 0 0 0-22.36-22.36c-19.72-5.29-98.8-5.29-98.8-5.29s-79.09 0-98.8 5.29A31.68 31.68 0 0 0 6.68 66.99c-5.28 19.72-5.28 60.87-5.28 60.87s0 41.15 5.28 60.87a31.68 31.68 0 0 0 22.36 22.36c19.72 5.28 98.8 5.28 98.8 5.28s79.1 0 98.81-5.28a31.68 31.68 0 0 0 22.36-22.36c5.29-19.72 5.29-60.87 5.29-60.87s0-41.15-5.29-60.87z"}),o.jsx("path",{fill:"#fff",d:"m102.57 165.8 65.7-37.94-65.7-37.94z"})]})}),vr=u.memo(oa,C),sa=Object.freeze(Object.defineProperty({__proto__:null,default:vr},Symbol.toStringTag,{value:"Module"})),[aa,ia]=mt();function la({children:e}){const[t,r]=u.useState(!1);u.useEffect(()=>{r(!0)},[]);const n=u.useMemo(()=>({isClient:t}),[t]);return o.jsx(ia,{value:n,children:e})}const pe=(e,t,r="sharing_tool")=>`?utm_source=${e}&utm_medium=${t}&utm_campaign=${r}`,be=()=>{const[e,t]=u.useState(),[r,n]=u.useState();return u.useEffect(()=>{t(window.location.href),n(window.document.title)},[]),{windowLocation:e,windowTitle:r}},ca=(e,t,r)=>{const{windowLocation:n,windowTitle:s}=be(),a=r??n,i=pe(e,t);return`https://www.facebook.com/sharer.php?u=${`${a}${i}`}&t=${s}`},ua=(e,t,r)=>{const{windowLocation:n,windowTitle:s}=be(),a=r??n,i=pe(e,t),l=`${a}${i}`;return`mailto:?to=&body=${s}%20${l}`},da=(e,t,r)=>{const{windowLocation:n}=be(),s=r??n,a=pe(e,t);return`https://twitter.com/intent/tweet?text=${`${s}${a}`}`};exports.Accordion=Nn;exports.ArrowDown=Gt;exports.ArrowLeft=Qt;exports.ArrowRight=Zt;exports.Box=Ce;exports.BoxWithForwardRef=bt;exports.BrandArrowRight=Kt;exports.Button=J;exports.ButtonWithForwardRef=H;exports.Calendar=zt;exports.Check=Xt;exports.Checkbox=io;exports.ChevronLeft=er;exports.ChevronRight=tr;exports.CloseBtn=rr;exports.Date=ro;exports.DatePicker=os;exports.Facebook=nr;exports.FacebookColored=or;exports.FacebookRounded=sr;exports.Globe=ar;exports.Icon=P;exports.Instagram=ir;exports.InstagramColored=lr;exports.IsClientContextProvider=la;exports.Lightbox=Kn;exports.Link=cr;exports.LinkedIn=ur;exports.Mail=dr;exports.Modal=Ie;exports.Plus=fr;exports.Popover=eo;exports.Radio=ls;exports.RadioGroup=cs;exports.RadioGroupProvider=Jt;exports.ReactHookFormInput=co;exports.ReactHookFormSelect=ao;exports.Select=xt;exports.Share=hr;exports.ShareButton=Vn;exports.SidePanel=Zn;exports.SidePanelContextProvider=Yn;exports.TextArea=lo;exports.TextInputField=vt;exports.ThemeContextProvider=lt;exports.ThemeProvider=In;exports.Twitter=mr;exports.TwitterColored=gr;exports.Typography=D;exports.Upload=pr;exports.WysiwygBlock=to;exports.X=br;exports.YouTube=xr;exports.YouTubeColored=vr;exports.createThemeProvider=ct;exports.generateUtmTags=pe;exports.makeTheme=at;exports.useFacebookShareUrl=ca;exports.useIsClient=aa;exports.useMailToShareUrl=ua;exports.useRadioGroupCtx=Wt;exports.useSidePanel=pt;exports.useTheme=it;exports.useThemeContext=p;exports.useTwitterShareUrl=da;exports.useWindow=be;
|