@okam/stack-ui 1.12.0 → 1.12.2
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/Popover/interface.d.ts +3 -3
- package/index.js +6 -43
- package/index.mjs +1339 -4747
- package/package.json +1 -1
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 h=require("react"),o=require("react/jsx-runtime"),b=require("tailwind-variants"),St=require("radash"),y=require("react-aria"),Jr=require("react-div-100vh"),Gr=require("@react-stately/overlays"),Y=require("react-spring"),ue=require("@react-aria/overlays"),re=require("@react-aria/focus"),Dt=require("react-stately"),Wr=require("isomorphic-dompurify"),Ie=require("@react-aria/i18n"),Ae=require("lodash"),H=require("react-hook-form"),Qr=require("@react-aria/checkbox"),Zr=require("@react-aria/visually-hidden"),Kr=require("@react-stately/toggle"),Je=require("react-i18next"),Ge=require("@react-aria/datepicker"),Tt=require("@react-stately/datepicker"),We=require("@react-aria/calendar"),Xr=require("@react-stately/calendar"),en=require("@react-aria/utils"),at=require("next/image"),M=require("lodash.isequal");function tn(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 rn=tn(h),Rt=e=>e;function nn(){const e=h.createContext(void 0);function t(){const r=h.useContext(e);return r===void 0?null:r}return[t,e.Provider]}const on={typography:()=>""},[Pt,sn]=nn();function It({children:e,brandTheme:t=on}){const r=h.useMemo(()=>({brandTheme:t}),[t]);return o.jsx(sn,{value:r,children:e})}const At=e=>({children:r})=>o.jsx(It,{brandTheme:e,children:r}),an=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"}}}),ln=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]"}}}),cn=b.tv({base:"",defaultVariants:{textAlign:"left"},variants:{textAlign:{center:"justify-self-center col-start-2",left:"justify-self-start"}}}),un=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:""}}}),dn=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"}}}),fn=b.tv({base:"overflow-hidden",defaultVariants:{textAlign:"left"},variants:{textAlign:{center:"col-start-2",left:""}}}),hn=b.tv({base:"w-full bg-slate-100"}),Bt=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"}}}),mn=b.tv({extend:Bt,base:"grid grid-cols-12 gap-6 px-4 col-span-full",variants:{fullWidth:{true:"max-w-full col-span-full p-0"}}}),gn=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"}}}),ve=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"}}}),pn=b.tv({base:"inline-block text-gray-800"}),bn=b.tv({base:"flex items-center justify-between pb-4"}),xn=b.tv({base:"flex items-center gap-1"}),yn=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"}),vn=b.tv({base:"flex-1"}),$n=b.tv({base:"text-center"}),wn=b.tv({base:"py-0.5 relative",variants:{isFocusVisible:{true:"z-10",false:""}}}),Cn=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"}]}),jn=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"}]}),Mn=b.tv({base:"flex justify-between items-center relative h-[475px] mb-18 lg:h-[650px]"}),kn=b.tv({base:"flex justify-center m-auto px-8 w-full h-full"}),Sn=b.tv({base:"bg-color-1-500 rounded-full p-4 text-white"}),Dn=b.tv({base:"flex focus-ring-black"}),Tn=b.tv({base:"hover:cursor-pointer",variants:{color:{gray:"text-gray-300",black:"text-black"},isDisabled:{true:"text-gray-6"}},defaultVariants:{color:"black"}}),Rn=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"}}}),Pn=b.tv({base:"hidden w-4 h-4 bg-gray-300 rounded-full",variants:{selected:{true:"block text-white"}}}),In=b.tv({base:"text-white w-4 h-4 [&_svg]:w-4 [&_svg]:h-4"}),An=b.tv({base:"relative inline-flex flex-col text-left"}),Bn=b.tv({base:"flex items-center border-2 border-color-1-500 rounded focus-ring-black"}),_n=b.tv({base:"fixed inset-0"}),En=b.tv({base:"absolute top-full bg-white border border-gray-300 rounded-md shadow-lg mt-2 p-8 z-10"}),On=b.tv({base:"pr-1 flex gap-2",defaultVariants:{dateFieldShown:!0},variants:{dateFieldShown:{true:"",false:"hidden"}}}),Ln=b.tv({base:"focus-ring-black"}),Nn=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"}),Un=b.tv({base:"object-contain"}),Vn=e=>Un(e),L=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"}}),qn=b.tv({base:"focus-ring-black"}),Yn=b.tv({base:" w-screen h-screen relative flex items-center m-auto justify-center"}),Hn=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
|
+
`}),zn=b.tv({extend:L,base:"sr-only"}),Jn=b.tv({base:"text-black flex flex-row items-center hover:cursor-pointer focus-ring-black",variants:{isDisabled:{true:"text-gray-6"}}}),Gn=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]"}}}),Wn=b.tv({base:"hidden w-4 h-4 bg-gray-300 rounded-full",variants:{selected:{true:"block text-white"}}}),Qn=b.tv({base:"block",variants:{isDisabled:{true:"opacity-60 pointer-events-none"}}}),Zn=b.tv({base:"flex flex-col gap-4 py-8"}),Kn=b.tv({base:"flex print:hidden relative",defaultVariants:{listDirection:"row"},variants:{listDirection:{row:"flex-row",column:"flex-col"}}}),Xn=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:""}}}),eo=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:""}}}),to=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"}}}),ro=b.tv({base:"text-white"}),no=b.tv({base:""}),oo=b.tv({base:"m-auto fixed right-0 top-0 bottom-0 w-full max-w-[512px] [&>div]:h-full"}),so=b.tv({base:"h-full w-full flex justify-end"}),ao=b.tv({base:"bg-black h-full w-full overflow-y-auto"}),io=b.tv({base:`
|
|
69
69
|
w-full
|
|
70
70
|
min-h-32
|
|
71
71
|
rounded-2xl
|
|
@@ -80,7 +80,7 @@
|
|
|
80
80
|
placeholder:text-gray-2
|
|
81
81
|
focus-ring-black
|
|
82
82
|
|
|
83
|
-
`,variants:{isError:{true:"border-red-500"}}}),yi=jn({main:e=>xa(e),gridItem:e=>Aa(e),grid:e=>wa(e),container:e=>Mn(e),accordion:{container:e=>ha(e),button:e=>ya(e),title:e=>ga(e),icon:e=>ma(e),region:e=>ba(e),content:e=>va(e)},carousel:{container:e=>Pa(e),slideContainer:e=>Ma(e),navigationButtons:e=>Ia(e)},calendar:{container:e=>Sa(e),header:e=>Ca(e),navigationButtonsContainer:e=>$a(e),navigationButtons:e=>Ra(e),table:e=>_a(e),dayLabel:e=>Ea(e),cellContainer:e=>ja(e),cell:e=>Oa(e),cellDate:e=>Ta(e)},datePicker:{container:e=>Ha(e),button:e=>Fa(e),icon:e=>Va(e),dateField:e=>Ga(e),dateSegment:e=>za(e),label:e=>Wa(e),calendarPopover:e=>qa(e),calendarUnderlay:e=>Ua(e)},popover:{button:e=>tt(e),popover:()=>"border-2 text-black p-4 bg-gray-300"},typography:e=>je(e),button:e=>tt(e),sidePanel:{wrapper:e=>fi(e),container:e=>di(e),innerContainer:e=>pi(e)},lightBox:{wrapper:e=>Ja(e),container:e=>Ka(e),closeBtn:e=>Za(e),label:e=>Xa(e)},shareButton:{icon:e=>ci(e),button:e=>ii(e),container:e=>ai(e),linksList:e=>si(e),link:e=>li(e),linkIcons:e=>ui(e)},checkbox:{container:e=>ka(e),label:e=>Da(e),checkBox:e=>Ba(e),checkMark:e=>La(e),checkMarkIcon:e=>Na(e),errorMessage:e=>je(e)},radio:{label:e=>ei(e),radio:e=>ti(e),selectedMark:e=>ri(e),errorMessage:e=>je(e)},radioGroup:{radioGroup:e=>ni(e),radioGroupItemsGroup:e=>oi(e),errorMessage:e=>je(e)},select:{button:e=>tt(e),ul:e=>je({...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=>tt(e),errorMessage:e=>je({...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=>hi(e),errorMessage:e=>je({...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=>je({...e,size:"footnotes",isError:!0})},img:Qa}),gi=F.memo(Pn(yi)),re=(e,t={},r=null)=>{const n=On();if(n!=null&&e!=null){const{brandTheme:o}=n,a=Rn.get(o,e);if(typeof a=="function"){const i=a?.(t);if(typeof i=="string")return i}}if(r)return r},Ae=({as:e="span",themeName:t="typography",tokens:r,customTheme:n,children:o,...a})=>{const i=re(t,r,n);return u.jsx(e,{...a,className:i,children:o})},pr=F.forwardRef((e,t)=>{const{as:r="span",tokens:n,themeName:o="typography",customTheme:a,children:i,...c}=e,s=re(o,n,a);return u.jsx(r,{...c,ref:t,className:s,children:i})}),In=F.forwardRef((e,t)=>{const{as:r="a",handlePress:n,children:o,as:a,customTheme:i,tokens:c,themeName:s="button",...y}=e,h=t,{linkProps:v}=oe.useLink({...e,elementType:a?.toString(),onPress:n},t??h),d=re(s,c,i);return u.jsx(oe.FocusRing,{focusRingClass:"has-focus-ring",children:u.jsx(r,{ref:h,...v,...y,className:d,children:o})})}),kn=F.forwardRef((e,t)=>{const{as:r="button",handlePress:n,children:o,as:a,customTheme:i,tokens:c,themeName:s="button",isDisabled:y=!1,...h}=e,v=t,{buttonProps:d}=oe.useButton({...e,isDisabled:y,elementType:a,onPress:n},t??v),l=re(s,c,i);return u.jsx(oe.FocusRing,{within:!0,focusRingClass:"has-focus-ring",children:u.jsx(r,{ref:v,...d,...h,className:l,children:o})})}),Ve=F.forwardRef((e,t)=>{const{as:r}=e;return r==="a"?u.jsx(In,{ref:t,...e}):u.jsx(kn,{ref:t,...e})}),mi=e=>{const{as:t}=e,r=F.useRef(null);return t==="a"?u.jsx(In,{ref:r,...e}):u.jsx(kn,{ref:r,...e})},We=F.memo(mi),bi=(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)))})},vi=e=>u.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",height:48,width:48,fill:"currentColor",...e}),Dn=F.memo(vi),xi=Object.freeze(Object.defineProperty({__proto__:null,default:Dn},Symbol.toStringTag,{value:"Module"})),wi=e=>{const{icon:t,...r}=e,n=F.useMemo(()=>F.lazy(()=>bi(Object.assign({"../icons/ArrowDown.tsx":()=>Promise.resolve().then(()=>Pl),"../icons/ArrowLeft.tsx":()=>Promise.resolve().then(()=>Il),"../icons/ArrowRight.tsx":()=>Promise.resolve().then(()=>Dl),"../icons/Check.tsx":()=>Promise.resolve().then(()=>Ll),"../icons/ChevronLeft.tsx":()=>Promise.resolve().then(()=>Hl),"../icons/ChevronRight.tsx":()=>Promise.resolve().then(()=>Ul),"../icons/CloseBtn.tsx":()=>Promise.resolve().then(()=>Gl),"../icons/Facebook.tsx":()=>Promise.resolve().then(()=>Vl),"../icons/FacebookColored.tsx":()=>Promise.resolve().then(()=>Yl),"../icons/FacebookRounded.tsx":()=>Promise.resolve().then(()=>Jl),"../icons/Globe.tsx":()=>Promise.resolve().then(()=>Zl),"../icons/IconFallback.tsx":()=>Promise.resolve().then(()=>xi),"../icons/Instagram.tsx":()=>Promise.resolve().then(()=>ec),"../icons/InstagramColored.tsx":()=>Promise.resolve().then(()=>rc),"../icons/Link.tsx":()=>Promise.resolve().then(()=>oc),"../icons/LinkedIn.tsx":()=>Promise.resolve().then(()=>ic),"../icons/Mail.tsx":()=>Promise.resolve().then(()=>lc),"../icons/Plus.tsx":()=>Promise.resolve().then(()=>uc),"../icons/Share.tsx":()=>Promise.resolve().then(()=>dc),"../icons/Twitter.tsx":()=>Promise.resolve().then(()=>hc),"../icons/TwitterColored.tsx":()=>Promise.resolve().then(()=>gc),"../icons/Upload.tsx":()=>Promise.resolve().then(()=>bc),"../icons/X.tsx":()=>Promise.resolve().then(()=>xc),"../icons/YouTube.tsx":()=>Promise.resolve().then(()=>Ac),"../icons/YouTubeColored.tsx":()=>Promise.resolve().then(()=>Cc)}),`../icons/${t||"ArrowRight"}.tsx`)),[t]);return u.jsx(F.Suspense,{fallback:u.jsx(Dn,{className:"overflow-visible pointer-events-none"}),children:u.jsx(n,{...r,className:"overflow-visible pointer-events-none",...e})})},Re=e=>{const{icon:t,as:r="span",tokens:n,customTheme:o,themeName:a="icon",children:i,...c}=e,s=re(a,n,o);return typeof t!="string"?u.jsxs(r,{...c,className:s,children:[i,t]}):u.jsxs(r,{className:s,children:[i,u.jsx(wi,{icon:t,...c})]})},Ai=e=>{const{customTheme:t,themeName:r="accordion",id:n,tokens:o,title:a,ariaLabel:i,onClick:c,icon:s,children:y}=e,[h,v]=F.useState(!1),d=re(`${r}.container`,{...o,isOpen:h},t),l=re(`${r}.title`,{...o,isOpen:h},t),f=re(`${r}.icon`,{...o,isOpen:h},t),m=re(`${r}.region`,{...o,isOpen:h},t),w=re(`${r}.content`,{...o,isOpen:h},t);return u.jsxs("div",{className:d,id:`accordion-control-${n}`,"aria-label":i,"aria-expanded":h,"aria-controls":`accordion-content-${n}`,children:[u.jsxs(We,{themeName:`${r}.button`,tokens:{...o,isOpen:h},handlePress:()=>{v(!h),c?.(h)},as:"button",id:`accordion-control-${n}`,"aria-label":i,children:[u.jsx("div",{className:l,children:a}),u.jsx("div",{className:f,children:u.jsx(Re,{icon:s??"ArrowDown"})})]}),u.jsx("div",{className:m,role:"region",id:`accordion-content-${n}`,"aria-labelledby":`accordion-control-${n}`,children:u.jsx("div",{className:w,children:y})})]})},Si=e=>{const{sharingLinksList:t,id:r,isOpen:n,setIsOpen:o,onShare:a,themeName:i="shareButton",tokens:c,customTheme:s}=e,y=re(`${i}.linksList`,{...c,isOpen:n},s),h=oe.useFocusManager(),v=d=>{d.key==="Escape"&&o(!1);const{listDirection:l}=c??{};l==="row"&&(d.key==="ArrowRight"&&(h.focusNext({wrap:!0}),d.preventDefault()),d.key==="ArrowLeft"&&(h.focusPrevious({wrap:!0}),d.preventDefault())),l==="column"&&(d.key==="ArrowDown"&&(h.focusNext({wrap:!0}),d.preventDefault()),d.key==="ArrowUp"&&(h.focusPrevious({wrap:!0}),d.preventDefault()))};return u.jsx("div",{className:y,id:r,role:"listbox",tabIndex:-1,onKeyDown:v,children:t?.map(d=>{const{ariaLabel:l,onClick:f,href:m,icon:w,key:$}=d;return u.jsx(We,{themeName:`${i}.link`,tokens:{...c,isOpen:n},handlePress:()=>{a?.($),f?.($)},"aria-label":l,...m?{href:m,rel:"noopener noreferrer",target:"_blank",as:"a"}:{},role:"option",children:u.jsx(Re,{themeName:`${i}.linkIcons`,icon:w})},$)})})},Ci=e=>{const{ariaLabel:t,icon:r,id:n,sharingLinksList:o,onShare:a,customTheme:i,themeName:c="shareButton",tokens:s,...y}=e,[h,v]=F.useState(!1),d=re(`${c}.container`,s,i),l=m=>{v(!h),!h&&setTimeout(()=>{m.target.parentElement?.lastChild?.firstChild?.focus()})},f=m=>{const w=m.currentTarget.firstChild,$=m.currentTarget.lastChild,j=$.firstChild,b=$.lastChild,{listDirection:D}=s??{};D==="row"&&(m.key==="ArrowRight"&&m.target===w&&(j?.focus(),m.preventDefault()),m.key==="ArrowLeft"&&m.target===w&&(b.focus(),m.preventDefault())),D==="column"&&(m.key==="ArrowDown"&&m.target===w&&(j?.focus(),m.preventDefault()),m.key==="ArrowUp"&&m.target===w&&(b.focus(),m.preventDefault())),m.key==="Escape"&&(v(!1),w?.focus()),document.activeElement===$&&w?.focus()};return u.jsx(oe.FocusScope,{autoFocus:!0,restoreFocus:!0,contain:h,children:u.jsxs("div",{className:d,onKeyDown:f,children:[u.jsx(Ve,{themeName:`${c}.button`,tokens:{...s,isOpen:h},"aria-label":t,"aria-haspopup":"listbox","aria-expanded":h?"true":"false","aria-controls":"share-buttons",handlePress:l,...y,children:u.jsx(Re,{themeName:`${c}.icon`,icon:r??"Share"})}),h&&u.jsx(Si,{id:n,sharingLinksList:o,onShare:a,isOpen:h,setIsOpen:v,themeName:c,customTheme:i,tokens:s})]})})};function Bn(){const e=F.createContext(void 0);function t(){const r=F.useContext(e);if(r===void 0)throw new Error("useCtx must be inside a Provider");return r}return[t,e.Provider]}const Ln=(e,t,r)=>{const n=ra.useOverlayTriggerState({defaultOpen:e,onOpenChange:h=>t?.(h)}),o=F.useRef(null),a=F.useRef(null);F.useEffect(()=>{if(e){n.open();return}n.close()},[e]);const i=()=>{n.open()},c=()=>{n.close(),r?.()},{buttonProps:s}=oe.useButton({elementType:"div",onPress:i},o),{buttonProps:y}=oe.useButton({onPress:c},a);return{state:n,openButtonProps:s,closeButtonProps:y,handleOpen:i,handleClose:c,openButtonRef:o,closeButtonRef:a}},[Nn,$i]=Bn();function Ri({children:e,defaultSelectedKey:t}){const{state:r,closeButtonProps:n,closeButtonRef:o,openButtonProps:a,openButtonRef:i}=Ln(!1),c=F.useMemo(()=>({defaultSelectedKey:t,overlayState:r,buttonProps:{closeButtonProps:n,closeButtonRef:o,openButtonProps:a,openButtonRef:i}}),[r,t,n,a]);return u.jsx($i,{value:c,children:e})}const _i=({isVisible:e,children:t})=>ke.useTransition(e,{from:{opacity:0,translateX:"100%"},enter:{opacity:1,translateX:"0%"},leave:{opacity:0,translateX:"25%"}})((n,o)=>o&&u.jsx(ke.animated.div,{style:n,children:t})),Ei="fixed",ji=({isVisible:e,children:t})=>ke.useTransition(e,{from:{opacity:0,position:Ei,left:0,top:0,zIndex:1e3,bottom:0,height:"100%",width:"100%"},enter:{opacity:1},leave:{opacity:0},config:ke.config.stiff})((n,o)=>o&&u.jsx(ke.animated.div,{style:n,children:t})),Oi="fixed",Ti=({isVisible:e,children:t})=>ke.useTransition(e,{from:{opacity:0,scale:.75,position:Oi,left:0,top:0,zIndex:1e3,bottom:0,height:"100%",width:"100%"},enter:{opacity:1,scale:1},leave:{opacity:0,scale:.75},config:ke.config.stiff})((n,o)=>o&&u.jsx(ke.animated.div,{style:n,children:t})),Pi=e=>{const{children:t}=e,r=F.useRef(null),{overlayProps:n,underlayProps:o}=oe.useOverlay(e,r),{modalProps:a}=oe.useModal(),{dialogProps:i}=oe.useDialog(e,r);return u.jsx("div",{...o,children:u.jsx(oe.FocusRing,{focusRingClass:"has-focus-ring",within:!0,autoFocus:!0,children:u.jsx(oe.FocusScope,{contain:!0,restoreFocus:!0,autoFocus:!0,children:u.jsx("div",{...n,...i,...a,ref:r,children:t})})})})},hr=e=>{const[t,r]=F.useState(!1),{children:n,state:o,onCloseCallBack:a,transitionComponent:i=Ti}=e,c=F.useCallback(()=>{o.close(),a?.()},[o.close,a]);return F.useEffect(()=>{!o.isOpen&&t||r(!0)},[o.isOpen]),t?u.jsx(Je.OverlayContainer,{children:u.jsx(i,{isVisible:o.isOpen,children:u.jsx(Pi,{isOpen:o.isOpen,onClose:c,isDismissable:!0,children:n})})}):null},Mi=e=>{const{children:t,closeBtnRender:r,themeName:n="sidePanel",tokens:o,customTheme:a}=e,i=re(`${n}.wrapper`,o,a),c=re(`${n}.container`,o,a),s=re(`${n}.innerContainer`,o,a),{overlayState:y}=Nn();return u.jsx(hr,{state:y,transitionComponent:ji,children:u.jsxs(ta,{className:i,children:[r&&r(),u.jsx(_i,{isVisible:y.isOpen,children:u.jsx("div",{className:c,children:u.jsx("div",{className:s,children:t})})})]})})},Ii=F.memo(Mi),ki=e=>{const{children:t,thumbnailContent:r,isOpen:n,onOpenCallBack:o,onCloseCallBack:a,label:i,themeName:c="lightBox",tokens:s,customTheme:y}=e,{state:h,openButtonRef:v,openButtonProps:d,closeButtonProps:l,closeButtonRef:f}=Ln(n,o,a),m=re(`${c}.container`,s,y);return u.jsxs("div",{children:[u.jsx(ze.FocusRing,{focusRingClass:"has-focus-ring",within:!0,children:u.jsxs(Ve,{ref:v,themeName:`${c}.wrapper`,...d,...n?{tabIndex:-1}:{},children:[i&&u.jsx(Ae,{themeName:`${c}.label`,tokens:{size:"footnotes"},children:i}),r]})}),u.jsx(hr,{onCloseCallBack:a,state:h,children:u.jsxs("div",{children:[u.jsx(Ve,{themeName:`${c}.closeBtn`,type:"button",...l,ref:f,children:u.jsx(Re,{icon:"CloseBtn"})}),u.jsx("div",{className:m,children:t})]})})]})},nr=({as:e="div",themeName:t="box",tokens:r,customTheme:n,children:o,className:a,...i})=>{const c=re(t,r,n);return u.jsx(e,{...i,className:c,children:o})},Hn=F.forwardRef((e,t)=>{const{as:r="div",tokens:n,themeName:o="box",customTheme:a,children:i,...c}=e,s=re(o,n,a);return u.jsx(r,{...c,ref:t,className:s,children:i})}),Di=F.forwardRef((e,t)=>{const{isOpen:r,onClose:n,children:o,positionProps:a,themeName:i="popover",tokens:c,customTheme:s,isDismissable:y,shouldCloseOnBlur:h,...v}=e,{overlayProps:d}=oe.useOverlay({isDismissable:y,shouldCloseOnBlur:h,isOpen:r,onClose:n},t),{modalProps:l}=oe.useModal(),{dialogProps:f}=oe.useDialog({},t),m=re(`${i}.popover`,c,s);return u.jsx(oe.FocusScope,{autoFocus:!0,restoreFocus:!0,contain:!0,children:u.jsxs(Hn,{customTheme:m,...oe.mergeProps(d,l,f),ref:t,...a,...v,children:[F.Children.map(o,w=>u.jsx(oe.FocusRing,{focusRingClass:"has-focus-ring",children:w})),u.jsx(oe.DismissButton,{onDismiss:n})]})})});function Bi(e){const{children:t,buttonProps:r,placement:n="right",offset:o=5,themeName:a="popover",tokens:i,customTheme:c,...s}=e,y=_n.useOverlayTriggerState({}),h=F.useRef(null),v=F.useRef(null),{triggerProps:d,overlayProps:l}=oe.useOverlayTrigger({type:"dialog"},y,h),{overlayProps:f}=oe.useOverlayPosition({targetRef:h,overlayRef:v,placement:n,offset:o,isOpen:y.isOpen}),{onPress:m,...w}=d;return u.jsxs(u.Fragment,{children:[u.jsx(Ve,{themeName:`${a}.button`,handlePress:m,...r,...w,ref:h}),y.isOpen&&u.jsx(oe.OverlayContainer,{children:u.jsx(Di,{themeName:a,tokens:i,customTheme:c,...l,...s,positionProps:f,ref:v,isOpen:y.isOpen,onClose:y.close,children:t})})]})}const Li=({content:e,themeName:t="wysiwyg",...r})=>u.jsx(Ae,{...r,themeName:t,dangerouslySetInnerHTML:{__html:na.sanitize(e,{ADD_TAGS:["iframe"],ADD_ATTR:["allow","allowfullscreen","frameborder","scrolling"]})}}),Ni=e=>{const{as:t="time",date:r,tokens:n,customTheme:o,dateFormatterOptions:a={month:"long",day:"numeric",year:"numeric"},themeName:i="typography",...c}=e,s=oe.useIsSSR(),y=new Date(r),v=yt.useDateFormatter(a).format(y),d=re(i,n,o);return s||gt.isEmpty(v)?null:u.jsx(t,{...c,dateTime:y.toISOString(),className:d,children:v})},Hi=({item:e,state:t,themeName:r="li"})=>{const n=F.useRef(null),{optionProps:o,isFocusVisible:a}=oe.useOption({key:e.key},t,n),i=re(r);return u.jsx(pr,{as:"li",...o,tokens:{className:`${i} ${a?"has-focus-ring":""}`},ref:n,children:e.rendered})},Fi=e=>{const t=F.useRef(null),{listBoxRef:r=t,state:n,themeName:o="option"}=e,{listBoxProps:a}=oe.useListBox(e,n,r);return u.jsx(oe.FocusScope,{autoFocus:!0,restoreFocus:!0,contain:!0,children:u.jsx(pr,{...a,ref:r,as:"ul",themeName:`${o}.ul`,children:[...n.collection].map(i=>u.jsx(Hi,{themeName:`${o}.li`,item:i,state:n},i.key))})})},Ui=e=>{const t=F.useRef(null),{popoverRef:r=t,state:n,children:o,themeName:a="popover",triggerRef:i,...c}=e,{popoverProps:s,underlayProps:y}=oe.usePopover({...e,popoverRef:r,triggerRef:i},n);return u.jsxs(oe.Overlay,{children:[u.jsx("div",{...y,style:{position:"fixed",inset:0}}),u.jsxs(pr,{themeName:a,...c,...s,as:"div",ref:r,children:[u.jsx(oe.DismissButton,{onDismiss:n.close}),o,u.jsx(oe.DismissButton,{onDismiss:n.close})]})]})},Fn=e=>{const{name:t,placeholderLabel:r,disabled:n,hookFormRef:o,isError:a=!1,errorMessage:i,themeName:c="select",tokens:s,customTheme:y,label:h,onSelectionChange:v,defaultValue:d,value:l,icon:f,...m}=e,w=F.useRef(null),$=_n.useSelectState({...m,selectedKey:l,defaultSelectedKey:d,onSelectionChange:v}),{triggerProps:j,menuProps:b,labelProps:D}=oe.useSelect({...m},$,w),L=re(`${c}.wrapper`,s,y),W=re(`${c}.container`,s,y),{onPress:P,onPressStart:T,...H}=j;return u.jsxs("div",{className:L,children:[h&&u.jsx(Ae,{...D,as:"label",themeName:`${c}.label`,children:h}),u.jsx(oe.HiddenSelect,{...o,state:$,triggerRef:w,name:t,isDisabled:!0}),u.jsxs("div",{className:W,children:[u.jsxs(Ve,{...H,handlePress:p=>{P?.(p),T?.(p)},ref:w,disabled:n,themeName:`${c}.button`,tokens:{...s,intent:a?"error":"default"},children:[$.selectedItem?$.selectedItem.rendered:r,u.jsx(Re,{icon:f??"ArrowDown"})]}),$.isOpen&&w.current&&u.jsx(Ui,{state:$,tokens:{width:`${w.current?.offsetWidth}`},triggerRef:w,placement:"bottom",themeName:`${c}.popover`,children:u.jsx(Fi,{...b,themeName:c,state:$})}),a&&u.jsx(Ae,{tokens:{...s,isError:a},themeName:`${c}.errorMessage`,children:i})]})]})},qi=e=>{const{name:t,required:r,children:n}=e,{register:o,formState:a}=De.useFormContext(),c=De.get(a.errors,t)?.message??void 0,{ref:s}=o(t,{required:r?"This is an error message":!1});return u.jsx(Fn,{...e,isError:!gt.isEmpty(c),errorMessage:c,hookFormRef:s,children:n})},Gi=e=>{const{id:t,label:r,isDisabled:n=!1,isError:o=!1,errorMessage:a,ariaLabel:i,icon:c,themeName:s="checkbox",tokens:y,customTheme:h}=e,v=ia.useToggleState(e),d=F.useRef(null),{inputProps:l}=oa.useCheckbox(e,v,d),{isSelected:f}=v,{focusProps:m,isFocusVisible:w}=ze.useFocusRing(),$={...y,selected:f,isDisabled:n,isError:o,isFocusVisible:w},j=re(`${s}.container`,$,h),b=re(`${s}.checkBox`,$,h),D=re(`${s}.checkMark`,$,h),L=re(`${s}.checkMarkIcon`,$,h);return u.jsxs("div",{children:[u.jsx(ze.FocusRing,{focusRingClass:"has-focus-ring",within:!0,children:u.jsxs("label",{className:j,htmlFor:t,"aria-label":i,"aria-disabled":n,children:[u.jsx(aa.VisuallyHidden,{children:u.jsx("input",{type:"checkbox",ref:d,"aria-labelledby":t,...l,...m})}),u.jsx("div",{className:b,"aria-checked":f,role:"checkbox","aria-labelledby":t,children:u.jsx("div",{className:D,children:c&&u.jsx(Re,{icon:c,customTheme:L})})}),u.jsx(Ae,{themeName:`${s}.label`,tokens:$,children:r})]})}),o&&a&&u.jsx(Ae,{themeName:`${s}.errorMessage`,tokens:$,children:a})]})},Un=e=>{const{id:t,label:r,name:n,placeholder:o,required:a,disabled:i=!1,errorMessage:c,ariaLabel:s,value:y,onBlur:h,onChange:v,fieldRef:d,themeName:l="textarea",tokens:f,customTheme:m}=e,w=F.useRef(null),{errorMessageProps:$,inputProps:j,labelProps:b}=oe.useTextField(e,w),D={...f,isDisabled:i,isError:c!=null},L=re(`${l}.wrapper`,D,m),W=re(`${l}.input`,D,m),P=re(`${l}.label`,D,m),T=re(`${l}.container`,D,m);return u.jsxs("div",{children:[u.jsxs("div",{className:L,"aria-disabled":i,children:[r&&u.jsx("label",{className:P,...b,children:r}),u.jsx("div",{className:T,children:u.jsx(ze.FocusRing,{focusRingClass:"has-focus-ring",children:u.jsx("textarea",{...j,ref:H=>{d?.(H),w.current=H},className:W,placeholder:o,disabled:i,required:a,id:t,name:n,"aria-label":s,"aria-labelledby":t,value:y,onBlur:h,onChange:v})})})]}),c&&u.jsx(Ae,{themeName:`${l}.errorMessage`,tokens:D,...$,children:c})]})},zi=e=>{const{name:t,required:r,minLength:n=0,maxLength:o=99999999,validation:a}=e,{register:i,formState:c}=De.useFormContext(),y=De.get(c.errors,t)?.message??void 0,{t:h}=ur.useTranslation("components"),{ref:v,...d}=i(t,{required:r?h("FORM.ERROR.REQUIRED")??"required":!1,minLength:{value:n,message:h("FORM.ERROR.MIN_LENGTH",{length:n})},maxLength:{value:o,message:h("FORM.ERROR.MAX_LENGTH",{length:n})},...a});return u.jsx(Un,{fieldRef:v,...d,...e,isError:!Rn.isEmpty(y),errorMessage:y})},qn=e=>{const{id:t,label:r,required:n,disabled:o=!1,errorMessage:a,ariaLabel:i,value:c,onBlur:s,onChange:y,fieldRef:h,type:v="text",children:d,themeName:l="textInput",tokens:f,customTheme:m}=e,w=F.useRef(null),{errorMessageProps:$,inputProps:j,labelProps:b}=oe.useTextField(e,w),D={...f,isDisabled:o,isError:a!=null},L=re(`${l}.wrapper`,D,m),W=re(`${l}.label`,D,m),P=re(`${l}.input`,D,m),T=re(`${l}.container`,D,m);return u.jsxs("div",{children:[u.jsx(ze.FocusRing,{focusRingClass:"has-focus-ring",within:!0,children:u.jsxs("div",{"aria-disabled":o,className:L,children:[r&&u.jsx("label",{className:W,...b,children:r}),u.jsxs("div",{className:T,children:[d,u.jsx("input",{...j,className:P,disabled:o,required:n,ref:H=>{h?.(H),w.current=H},"aria-label":i,"aria-labelledby":t,value:c,onBlur:s,onChange:y,type:v})]})]})}),a&&u.jsx(Ae,{themeName:`${l}.errorMessage`,tokens:D,...$,children:a})]})},Vi=e=>{const{name:t,required:r,minLength:n=0,maxLength:o=99999999,validation:a}=e,{register:i,formState:c}=De.useFormContext(),y=De.get(c.errors,t)?.message??void 0,{t:h}=ur.useTranslation("components"),{ref:v,...d}=i(t,{required:r?h("FORM.ERROR.REQUIRED")??"required":!1,minLength:{value:n,message:h("FORM.ERROR.MIN_LENGTH",{length:n})},maxLength:{value:o,message:h("FORM.ERROR.MAX_LENGTH",{length:n})},...a});return u.jsx(qn,{fieldRef:v,...d,...e,isError:!gt.isEmpty(y),errorMessage:y})};function Wi(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function Gn(e,t,r){Wi(e,t),t.set(e,r)}function Oe(e,t){return e-t*Math.floor(e/t)}const zn=1721426;function Ne(e,t,r,n){t=et(e,t);let o=t-1,a=-2;return r<=2?a=0:Me(t)&&(a=-1),zn-1+365*o+Math.floor(o/4)-Math.floor(o/100)+Math.floor(o/400)+Math.floor((367*r-362)/12+a+n)}function Me(e){return e%4===0&&(e%100!==0||e%400===0)}function et(e,t){return e==="BC"?1-t:t}function mt(e){let t="AD";return e<=0&&(t="BC",e=1-e),[t,e]}const Yi={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 Te{fromJulianDay(t){let r=t,n=r-zn,o=Math.floor(n/146097),a=Oe(n,146097),i=Math.floor(a/36524),c=Oe(a,36524),s=Math.floor(c/1461),y=Oe(c,1461),h=Math.floor(y/365),v=o*400+i*100+s*4+h+(i!==4&&h!==4?1:0),[d,l]=mt(v),f=r-Ne(d,l,1,1),m=2;r<Ne(d,l,3,1)?m=0:Me(l)&&(m=1);let w=Math.floor(((f+m)*12+373)/367),$=r-Ne(d,l,w,1)+1;return new we(d,l,w,$)}toJulianDay(t){return Ne(t.era,t.year,t.month,t.day)}getDaysInMonth(t){return Yi[Me(t.year)?"leapyear":"standard"][t.month-1]}getMonthsInYear(t){return 12}getDaysInYear(t){return Me(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 Qi={"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 Cr(e,t){return t=bt(t,e.calendar),e.era===t.era&&e.year===t.year&&e.month===t.month&&e.day===t.day}function Vn(e,t){let r=e.calendar.toJulianDay(e),n=Math.ceil(r+1-Xi(t))%7;return n<0&&(n+=7),n}function Wn(e,t){return e.calendar.toJulianDay(e)-t.calendar.toJulianDay(t)}function Ji(e,t){return $r(e)-$r(t)}function $r(e){return e.hour*36e5+e.minute*6e4+e.second*1e3+e.millisecond}let At=null;function Yn(){return At==null&&(At=new Intl.DateTimeFormat().resolvedOptions().timeZone),At}function Ki(e){return e.subtract({days:e.day-1})}const Rr=new Map;function Zi(e){if(Intl.Locale){let r=Rr.get(e);return r||(r=new Intl.Locale(e).maximize().region,Rr.set(e,r)),r}let t=e.split("-")[1];return t==="u"?null:t}function Xi(e){let t=Zi(e);return Qi[t]||0}function es(e,t){let r=e.calendar.getDaysInMonth(e);return Math.ceil((Vn(Ki(e),t)+r)/7)}function _r(e){e=bt(e,new Te);let t=et(e.era,e.year);return Qn(t,e.month,e.day,e.hour,e.minute,e.second,e.millisecond)}function Qn(e,t,r,n,o,a,i){let c=new Date;return c.setUTCHours(n,o,a,i),c.setUTCFullYear(e,t-1,r),c.getTime()}function Er(e,t){if(t==="UTC")return 0;if(e>0&&t===Yn())return new Date(e).getTimezoneOffset()*-6e4;let{year:r,month:n,day:o,hour:a,minute:i,second:c}=Jn(e,t);return Qn(r,n,o,a,i,c,0)-Math.floor(e/1e3)*1e3}const jr=new Map;function Jn(e,t){let r=jr.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"}),jr.set(t,r));let n=r.formatToParts(new Date(e)),o={};for(let a of n)a.type!=="literal"&&(o[a.type]=a.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 Or=864e5;function ts(e,t,r,n){return(r===n?[r]:[r,n]).filter(a=>rs(e,t,a))}function rs(e,t,r){let n=Jn(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 ns(e,t,r="compatible"){let n=Zn(e);if(t==="UTC")return _r(n);if(t===Yn()&&r==="compatible"){n=bt(n,new Te);let s=new Date,y=et(n.era,n.year);return s.setFullYear(y,n.month-1,n.day),s.setHours(n.hour,n.minute,n.second,n.millisecond),s.getTime()}let o=_r(n),a=Er(o-Or,t),i=Er(o+Or,t),c=ts(n,t,o-a,o-i);if(c.length===1)return c[0];if(c.length>1)switch(r){case"compatible":case"earlier":return c[0];case"later":return c[c.length-1];case"reject":throw new RangeError("Multiple possible absolute times found")}switch(r){case"earlier":return Math.min(o-a,o-i);case"compatible":case"later":return Math.max(o-a,o-i);case"reject":throw new RangeError("No such absolute time found")}}function Kn(e,t,r="compatible"){return new Date(ns(e,t,r))}function Zn(e,t){let r=0,n=0,o=0,a=0;if("timeZone"in e)({hour:r,minute:n,second:o,millisecond:a}=e);else if("hour"in e&&!t)return e;return t&&({hour:r,minute:n,second:o,millisecond:a}=t),new ut(e.calendar,e.era,e.year,e.month,e.day,r,n,o,a)}function bt(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,Ye(n),n}function yr(e,t){let r=e.copy(),n="hour"in r?cs(r,t):0;or(r,t.years||0),r.calendar.balanceYearMonth&&r.calendar.balanceYearMonth(r,e),r.month+=t.months||0,ar(r),Xn(r),r.day+=(t.weeks||0)*7,r.day+=t.days||0,r.day+=n,os(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 a,i;let s=(i=(a=r.calendar).isInverseEra)===null||i===void 0?void 0:i.call(a,r);r.year=o,r.month=s?1:r.calendar.getMonthsInYear(r),r.day=s?1:r.calendar.getDaysInMonth(r)}r.month<1&&(r.month=1,r.day=1);let c=r.calendar.getMonthsInYear(r);return r.month>c&&(r.month=c,r.day=r.calendar.getDaysInMonth(r)),r.day=Math.max(1,Math.min(r.calendar.getDaysInMonth(r),r.day)),r}function or(e,t){var r,n;!((n=(r=e.calendar).isInverseEra)===null||n===void 0)&&n.call(r,e)&&(t=-t),e.year+=t}function ar(e){for(;e.month<1;)or(e,-1),e.month+=e.calendar.getMonthsInYear(e);let t=0;for(;e.month>(t=e.calendar.getMonthsInYear(e));)e.month-=t,or(e,1)}function os(e){for(;e.day<1;)e.month--,ar(e),e.day+=e.calendar.getDaysInMonth(e);for(;e.day>e.calendar.getDaysInMonth(e);)e.day-=e.calendar.getDaysInMonth(e),e.month++,ar(e)}function Xn(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 Ye(e){e.calendar.constrainDate&&e.calendar.constrainDate(e),e.year=Math.max(1,Math.min(e.calendar.getYearsInEra(e),e.year)),Xn(e)}function as(e){let t={};for(let r in e)typeof e[r]=="number"&&(t[r]=-e[r]);return t}function eo(e,t){return yr(e,as(t))}function to(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),Ye(r),r}function is(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),ls(r),r}function ss(e){e.second+=Math.floor(e.millisecond/1e3),e.millisecond=rt(e.millisecond,1e3),e.minute+=Math.floor(e.second/60),e.second=rt(e.second,60),e.hour+=Math.floor(e.minute/60),e.minute=rt(e.minute,60);let t=Math.floor(e.hour/24);return e.hour=rt(e.hour,24),t}function ls(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 rt(e,t){let r=e%t;return r<0&&(r+=t),r}function cs(e,t){return e.hour+=t.hours||0,e.minute+=t.minutes||0,e.second+=t.seconds||0,e.millisecond+=t.milliseconds||0,ss(e)}function ro(e,t,r,n){let o=e.copy();switch(t){case"era":{let c=e.calendar.getEras(),s=c.indexOf(e.era);if(s<0)throw new Error("Invalid era: "+e.era);s=Ie(s,r,0,c.length-1,n?.round),o.era=c[s],Ye(o);break}case"year":var a,i;!((i=(a=o.calendar).isInverseEra)===null||i===void 0)&&i.call(a,o)&&(r=-r),o.year=Ie(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=Ie(e.month,r,1,e.calendar.getMonthsInYear(e),n?.round);break;case"day":o.day=Ie(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),Ye(o),o}function us(e,t,r,n){let o=e.copy();switch(t){case"hour":{let a=e.hour,i=0,c=23;if(n?.hourCycle===12){let s=a>=12;i=s?12:0,c=s?23:11}o.hour=Ie(a,r,i,c,n?.round);break}case"minute":o.minute=Ie(e.minute,r,0,59,n?.round);break;case"second":o.second=Ie(e.second,r,0,59,n?.round);break;case"millisecond":o.millisecond=Ie(e.millisecond,r,0,999,n?.round);break;default:throw new Error("Unsupported field "+t)}return o}function Ie(e,t,r,n,o=!1){if(o){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 fs(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 no(e){let t=bt(e,new Te);return`${String(t.year).padStart(4,"0")}-${String(t.month).padStart(2,"0")}-${String(t.day).padStart(2,"0")}`}function ds(e){return`${no(e)}T${fs(e)}`}function oo(e){let t=typeof e[0]=="object"?e.shift():new Te,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(),a=e.shift();return[t,r,n,o,a]}var ps=new WeakMap;class we{copy(){return this.era?new we(this.calendar,this.era,this.year,this.month,this.day):new we(this.calendar,this.year,this.month,this.day)}add(t){return yr(this,t)}subtract(t){return eo(this,t)}set(t){return to(this,t)}cycle(t,r,n){return ro(this,t,r,n)}toDate(t){return Kn(this,t)}toString(){return no(this)}compare(t){return Wn(this,t)}constructor(...t){Gn(this,ps,{writable:!0,value:void 0});let[r,n,o,a,i]=oo(t);this.calendar=r,this.era=n,this.year=o,this.month=a,this.day=i,Ye(this)}}var hs=new WeakMap;class ut{copy(){return this.era?new ut(this.calendar,this.era,this.year,this.month,this.day,this.hour,this.minute,this.second,this.millisecond):new ut(this.calendar,this.year,this.month,this.day,this.hour,this.minute,this.second,this.millisecond)}add(t){return yr(this,t)}subtract(t){return eo(this,t)}set(t){return to(is(this,t),t)}cycle(t,r,n){switch(t){case"era":case"year":case"month":case"day":return ro(this,t,r,n);default:return us(this,t,r,n)}}toDate(t,r){return Kn(this,t,r)}toString(){return ds(this)}compare(t){let r=Wn(this,t);return r===0?Ji(this,Zn(t)):r}constructor(...t){Gn(this,hs,{writable:!0,value:void 0});let[r,n,o,a,i]=oo(t);this.calendar=r,this.era=n,this.year=o,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,Ye(this)}}const qe=[[1868,9,8],[1912,7,30],[1926,12,25],[1989,1,8],[2019,5,1]],ys=[[1912,7,29],[1926,12,24],[1989,1,7],[2019,4,30]],st=[1867,1911,1925,1988,2018],Pe=["meiji","taisho","showa","heisei","reiwa"];function Tr(e){const t=qe.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?qe.length-1:t===0?0:t-1}function St(e){let t=st[Pe.indexOf(e.era)];if(!t)throw new Error("Unknown era: "+e.era);return new we(e.year+t,e.month,e.day)}class gs extends Te{fromJulianDay(t){let r=super.fromJulianDay(t),n=Tr(r);return new we(this,Pe[n],r.year-st[n],r.month,r.day)}toJulianDay(t){return super.toJulianDay(St(t))}balanceDate(t){let r=St(t),n=Tr(r);Pe[n]!==t.era&&(t.era=Pe[n],t.year=r.year-st[n]),this.constrainDate(t)}constrainDate(t){let r=Pe.indexOf(t.era),n=ys[r];if(n!=null){let[o,a,i]=n,c=o-st[r];t.year=Math.max(1,Math.min(c,t.year)),t.year===c&&(t.month=Math.min(a,t.month),t.month===a&&(t.day=Math.min(i,t.day)))}if(t.year===1&&r>=0){let[,o,a]=qe[r];t.month=Math.max(o,t.month),t.month===o&&(t.day=Math.max(a,t.day))}}getEras(){return Pe}getYearsInEra(t){let r=Pe.indexOf(t.era),n=qe[r],o=qe[r+1];if(o==null)return 9999-n[0]+1;let a=o[0]-n[0];return(t.month<o[1]||t.month===o[1]&&t.day<o[2])&&a++,a}getDaysInMonth(t){return super.getDaysInMonth(St(t))}getMinimumMonthInYear(t){let r=Pr(t);return r?r[1]:1}getMinimumDayInMonth(t){let r=Pr(t);return r&&t.month===r[1]?r[2]:1}constructor(...t){super(...t),this.identifier="japanese"}}function Pr(e){if(e.year===1){let t=Pe.indexOf(e.era);return qe[t]}}const ao=-543;class ms extends Te{fromJulianDay(t){let r=super.fromJulianDay(t),n=et(r.era,r.year);return new we(this,n-ao,r.month,r.day)}toJulianDay(t){return super.toJulianDay(Mr(t))}getEras(){return["BE"]}getDaysInMonth(t){return super.getDaysInMonth(Mr(t))}balanceDate(){}constructor(...t){super(...t),this.identifier="buddhist"}}function Mr(e){let[t,r]=mt(e.year+ao);return new we(t,r,e.month,e.day)}const ft=1911;function io(e){return e.era==="minguo"?e.year+ft:1-e.year+ft}function Ir(e){let t=e-ft;return t>0?["minguo",t]:["before_minguo",1-t]}class bs extends Te{fromJulianDay(t){let r=super.fromJulianDay(t),n=et(r.era,r.year),[o,a]=Ir(n);return new we(this,o,a,r.month,r.day)}toJulianDay(t){return super.toJulianDay(kr(t))}getEras(){return["before_minguo","minguo"]}balanceDate(t){let[r,n]=Ir(io(t));t.era=r,t.year=n}isInverseEra(t){return t.era==="before_minguo"}getDaysInMonth(t){return super.getDaysInMonth(kr(t))}getYearsInEra(t){return t.era==="before_minguo"?9999:9999-ft}constructor(...t){super(...t),this.identifier="roc"}}function kr(e){let[t,r]=mt(io(e));return new we(t,r,e.month,e.day)}const vs=1948321;function xs(e){let t=e>0?e-474:e-473,r=Oe(t,2820)+474;return Oe((r+38)*31,128)<31}function nt(e,t,r){let n=e>0?e-474:e-473,o=Oe(n,2820)+474,a=t<=7?31*(t-1):30*(t-1)+6;return vs-1+1029983*Math.floor(n/2820)+365*(o-1)+Math.floor((31*o-5)/128)+a+r}class ws{fromJulianDay(t){let r=t-nt(475,1,1),n=Math.floor(r/1029983),o=Oe(r,1029983),a=o===1029982?2820:Math.floor((128*o+46878)/46751),i=474+2820*n+a;i<=0&&i--;let c=t-nt(i,1,1)+1,s=c<=186?Math.ceil(c/31):Math.ceil((c-6)/31),y=t-nt(i,s,1)+1;return new we(this,i,s,y)}toJulianDay(t){return nt(t.year,t.month,t.day)}getMonthsInYear(){return 12}getDaysInMonth(t){return t.month<=6?31:t.month<=11||xs(t.year)?30:29}getEras(){return["AP"]}getYearsInEra(){return 9377}constructor(){this.identifier="persian"}}const Ct=78,Dr=80;class As extends Te{fromJulianDay(t){let r=super.fromJulianDay(t),n=r.year-Ct,o=t-Ne(r.era,r.year,1,1),a;o<Dr?(n--,a=Me(r.year-1)?31:30,o+=a+155+90+10):(a=Me(r.year)?31:30,o-=Dr);let i,c;if(o<a)i=1,c=o+1;else{let s=o-a;s<155?(i=Math.floor(s/31)+2,c=s%31+1):(s-=155,i=Math.floor(s/30)+7,c=s%30+1)}return new we(this,n,i,c)}toJulianDay(t){let r=t.year+Ct,[n,o]=mt(r),a,i;return Me(o)?(a=31,i=Ne(n,o,3,21)):(a=30,i=Ne(n,o,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&&Me(t.year+Ct)||t.month>=2&&t.month<=6?31:30}getYearsInEra(){return 9919}getEras(){return["saka"]}balanceDate(){}constructor(...t){super(...t),this.identifier="indian"}}const dt=1948440,Br=1948439,Se=1300,Ue=1600,Ss=460322;function pt(e,t,r,n){return n+Math.ceil(29.5*(r-1))+(t-1)*354+Math.floor((3+11*t)/30)+e-1}function so(e,t,r){let n=Math.floor((30*(r-t)+10646)/10631),o=Math.min(12,Math.ceil((r-(29+pt(t,n,1,1)))/29.5)+1),a=r-pt(t,n,o,1)+1;return new we(e,n,o,a)}function Lr(e){return(14+11*e)%30<11}class gr{fromJulianDay(t){return so(this,dt,t)}toJulianDay(t){return pt(dt,t.year,t.month,t.day)}getDaysInMonth(t){let r=29+t.month%2;return t.month===12&&Lr(t.year)&&r++,r}getMonthsInYear(){return 12}getDaysInYear(t){return Lr(t.year)?355:354}getYearsInEra(){return 9665}getEras(){return["AH"]}constructor(){this.identifier="islamic-civil"}}class Cs extends gr{fromJulianDay(t){return so(this,Br,t)}toJulianDay(t){return pt(Br,t.year,t.month,t.day)}constructor(...t){super(...t),this.identifier="islamic-tbla"}}const $s="qgpUDckO1AbqBmwDrQpVBakGkgepC9QF2gpcBS0NlQZKB1QLagutBa4ETwoXBYsGpQbVCtYCWwmdBE0KJg2VDawFtgm6AlsKKwWVCsoG6Qr0AnYJtgJWCcoKpAvSC9kF3AJtCU0FpQpSC6ULtAW2CVcFlwJLBaMGUgdlC2oFqworBZUMSg2lDcoF1gpXCasESwmlClILagt1BXYCtwhbBFUFqQW0BdoJ3QRuAjYJqgpUDbIN1QXaAlsJqwRVCkkLZAtxC7QFtQpVCiUNkg7JDtQG6QprCasEkwpJDaQNsg25CroEWworBZUKKgtVC1wFvQQ9Ah0JlQpKC1oLbQW2AjsJmwRVBqkGVAdqC2wFrQpVBSkLkgupC9QF2gpaBasKlQVJB2QHqgu1BbYCVgpNDiULUgtqC60FrgIvCZcESwalBqwG1gpdBZ0ETQoWDZUNqgW1BdoCWwmtBJUFygbkBuoK9QS2AlYJqgpUC9IL2QXqAm0JrQSVCkoLpQuyBbUJ1gSXCkcFkwZJB1ULagVrCisFiwpGDaMNygXWCtsEawJLCaUKUgtpC3UFdgG3CFsCKwVlBbQF2gntBG0BtgimClINqQ3UBdoKWwmrBFMGKQdiB6kLsgW1ClUFJQuSDckO0gbpCmsFqwRVCikNVA2qDbUJugQ7CpsETQqqCtUK2gJdCV4ELgqaDFUNsga5BroEXQotBZUKUguoC7QLuQXaAloJSgukDdEO6AZqC20FNQWVBkoNqA3UDdoGWwWdAisGFQtKC5ULqgWuCi4JjwwnBZUGqgbWCl0FnQI=";let ir,Ge;function lt(e){return Ss+Ge[e-Se]}function Ke(e,t){let r=e-Se,n=1<<11-(t-1);return ir[r]&n?30:29}function Nr(e,t){let r=lt(e);for(let n=1;n<t;n++)r+=Ke(e,n);return r}function Hr(e){return Ge[e+1-Se]-Ge[e-Se]}class Rs extends gr{fromJulianDay(t){let r=t-dt,n=lt(Se),o=lt(Ue);if(r<n||r>o)return super.fromJulianDay(t);{let a=Se-1,i=1,c=1;for(;c>0;){a++,c=r-lt(a)+1;let s=Hr(a);if(c===s){i=12;break}else if(c<s){let y=Ke(a,i);for(i=1;c>y;)c-=y,i++,y=Ke(a,i);break}}return new we(this,a,i,r-Nr(a,i)+1)}}toJulianDay(t){return t.year<Se||t.year>Ue?super.toJulianDay(t):dt+Nr(t.year,t.month)+(t.day-1)}getDaysInMonth(t){return t.year<Se||t.year>Ue?super.getDaysInMonth(t):Ke(t.year,t.month)}getDaysInYear(t){return t.year<Se||t.year>Ue?super.getDaysInYear(t):Hr(t.year)}constructor(){if(super(),this.identifier="islamic-umalqura",ir||(ir=new Uint16Array(Uint8Array.from(atob($s),t=>t.charCodeAt(0)).buffer)),!Ge){Ge=new Uint32Array(Ue-Se+1);let t=0;for(let r=Se;r<=Ue;r++){Ge[r-Se]=t;for(let n=1;n<=12;n++)t+=Ke(r,n)}}}}const Fr=347997,lo=1080,co=24*lo,_s=29,Es=12*lo+793,js=_s*co+Es;function Le(e){return Oe(e*7+1,19)<7}function ct(e){let t=Math.floor((235*e-234)/19),r=12084+13753*t,n=t*29+Math.floor(r/25920);return Oe(3*(n+1),7)<3&&(n+=1),n}function Os(e){let t=ct(e-1),r=ct(e);return ct(e+1)-r===356?2:r-t===382?1:0}function Ze(e){return ct(e)+Os(e)}function uo(e){return Ze(e+1)-Ze(e)}function Ts(e){let t=uo(e);switch(t>380&&(t-=30),t){case 353:return 0;case 354:return 1;case 355:return 2}}function ot(e,t){if(t>=6&&!Le(e)&&t++,t===4||t===7||t===9||t===11||t===13)return 29;let r=Ts(e);return t===2?r===2?30:29:t===3?r===0?29:30:t===6?Le(e)?30:0:30}class Ps{fromJulianDay(t){let r=t-Fr,n=r*co/js,o=Math.floor((19*n+234)/235)+1,a=Ze(o),i=Math.floor(r-a);for(;i<1;)o--,a=Ze(o),i=Math.floor(r-a);let c=1,s=0;for(;s<i;)s+=ot(o,c),c++;c--,s-=ot(o,c);let y=i-s;return new we(this,o,c,y)}toJulianDay(t){let r=Ze(t.year);for(let n=1;n<t.month;n++)r+=ot(t.year,n);return r+t.day+Fr}getDaysInMonth(t){return ot(t.year,t.month)}getMonthsInYear(t){return Le(t.year)?13:12}getDaysInYear(t){return uo(t.year)}getYearsInEra(){return 9999}getEras(){return["AM"]}balanceYearMonth(t,r){r.year!==t.year&&(Le(r.year)&&!Le(t.year)&&r.month>6?t.month--:!Le(r.year)&&Le(t.year)&&r.month>6&&t.month++)}constructor(){this.identifier="hebrew"}}const sr=1723856,Ur=1824665,lr=5500;function ht(e,t,r,n){return e+365*t+Math.floor(t/4)+30*(r-1)+n-1}function mr(e,t){let r=Math.floor(4*(t-e)/1461),n=1+Math.floor((t-ht(e,r,1,1))/30),o=t+1-ht(e,r,n,1);return[r,n,o]}function fo(e){return Math.floor(e%4/3)}function po(e,t){return t%13!==0?30:fo(e)+5}class br{fromJulianDay(t){let[r,n,o]=mr(sr,t),a="AM";return r<=0&&(a="AA",r+=lr),new we(this,a,r,n,o)}toJulianDay(t){let r=t.year;return t.era==="AA"&&(r-=lr),ht(sr,r,t.month,t.day)}getDaysInMonth(t){return po(t.year,t.month)}getMonthsInYear(){return 13}getDaysInYear(t){return 365+fo(t.year)}getYearsInEra(t){return t.era==="AA"?9999:9991}getEras(){return["AA","AM"]}constructor(){this.identifier="ethiopic"}}class Ms extends br{fromJulianDay(t){let[r,n,o]=mr(sr,t);return r+=lr,new we(this,"AA",r,n,o)}getEras(){return["AA"]}getYearsInEra(){return 9999}constructor(...t){super(...t),this.identifier="ethioaa"}}class Is extends br{fromJulianDay(t){let[r,n,o]=mr(Ur,t),a="CE";return r<=0&&(a="BCE",r=1-r),new we(this,a,r,n,o)}toJulianDay(t){let r=t.year;return t.era==="BCE"&&(r=1-r),ht(Ur,r,t.month,t.day)}getDaysInMonth(t){let r=t.year;return t.era==="BCE"&&(r=1-r),po(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 ho(e){switch(e){case"buddhist":return new ms;case"ethiopic":return new br;case"ethioaa":return new Ms;case"coptic":return new Is;case"hebrew":return new Ps;case"indian":return new As;case"islamic-civil":return new gr;case"islamic-tbla":return new Cs;case"islamic-umalqura":return new Rs;case"japanese":return new gs;case"persian":return new ws;case"roc":return new bs;case"gregory":default:return new Te}}function ks({themeName:e="calendar",tokens:t,state:r,date:n}){const o=F.useRef(null),{cellProps:a,buttonProps:i,isSelected:c,isOutsideVisibleRange:s,isDisabled:y,formattedDate:h,isInvalid:v}=dr.useCalendarCell({date:n},r,o),d=r?.highlightedRange?Cr(n,r?.highlightedRange.start):c,l=r?.highlightedRange?Cr(n,r?.highlightedRange.end):c,{locale:f}=oe.useLocale(),m=Vn(n,f),w=c&&(d||m===0||n.day===1),$=c&&(l||m===6||n.day===n.calendar.getDaysInMonth(n)),{focusProps:j,isFocusVisible:b}=ze.useFocusRing(),D=re(`${e}.cellContainer`,{...t,isFocusVisible:b}),L=re(`${e}.cell`,{...t,isSelected:c,isInvalid:v,isDisabled:y,isRoundedLeft:w,isRoundedRight:$}),W=re(`${e}.cellDate`,{...t,isSelected:c,isInvalid:v,isDisabled:y,isSelectionStart:d,isSelectionEnd:l});return u.jsx("td",{...a,"aria-disabled":!1,className:D,children:u.jsx("div",{...la.mergeProps(i,j),ref:o,hidden:s,className:L,children:u.jsx("div",{className:W,children:h})})})}function Ds({themeName:e="calendar",customTheme:t,tokens:r,state:n,...o}){const{locale:a}=yt.useLocale(),{gridProps:i,headerProps:c,weekDays:s}=dr.useCalendarGrid({...o},n),y=es(n.visibleRange.start,a),h=re(`${e}.calendarTable`,r),v=re(`${e}.dayLabel`,r);return u.jsxs("table",{...i,cellPadding:"0",className:h,children:[u.jsx("thead",{...c,children:u.jsx("tr",{children:s.map(d=>u.jsx("th",{className:v,children:d},`${d}`))})}),u.jsx("tbody",{children:[...new Array(y).keys()].map(d=>u.jsx("tr",{children:n.getDatesInWeek(d).map((l,f)=>l?u.jsx(ks,{state:n,date:l},l?.day):u.jsx("td",{},f))},d))})]})}function yo({buttons:e,tokens:t,customTheme:r,themeName:n="calendar",...o}){const{locale:a}=yt.useLocale(),i=sa.useCalendarState({...o,locale:a,createCalendar:ho}),c=F.useRef(null),{calendarProps:s,prevButtonProps:y,nextButtonProps:h,title:v}=dr.useCalendar({...o},i),d=re(`${n}.container`,t),l=re(`${n}.header`,t),f=re(`${n}.navigationButtonsContainer`,t);return u.jsxs("div",{...s,ref:c,className:d,children:[u.jsxs("div",{className:l,children:[u.jsx(Ae,{as:"p",tokens:{size:"h6"},children:v}),u.jsxs("div",{className:f,children:[u.jsx(We,{themeName:`${n}.navigationButtons`,tokens:{...t},type:"button",...y,handlePress:y?.onPress,children:u.jsx(Re,{icon:e?.buttonPrev?.icon??"ArrowLeft"})}),u.jsx(We,{themeName:`${n}.navigationButtons`,tokens:{...t},type:"button",...h,handlePress:h?.onPress,children:u.jsx(Re,{icon:e?.buttonNext?.icon??"ArrowRight"})})]})]}),u.jsx(Ds,{state:i})]})}function Bs({title:e,children:t,...r}){const n=F.useRef(null),{dialogProps:o}=oe.useDialog(r,n);return u.jsx("div",{...o,ref:n,children:t})}function Ls({themeName:e="datePicker",tokens:t,...r}){const n=ua.useRef(null),{state:o,children:a}={...r},{popoverProps:i,underlayProps:c}=Je.usePopover({...r,popoverRef:n},o),s=re(`${e}.calendarUnderlay`,t),y=re(`${e}.calendarPopover`,t);return u.jsxs(Je.Overlay,{children:[u.jsx("div",{...c,className:s}),u.jsxs("div",{...i,ref:n,className:y,children:[u.jsx(Je.DismissButton,{onDismiss:o.close}),a,u.jsx(Je.DismissButton,{onDismiss:o.close})]})]})}function Ns({segment:e,state:t}){const r=F.useRef(null),{segmentProps:n}=fr.useDateSegment(e,t,r),o=re("datePicker.dateSegment");return u.jsx(oe.FocusRing,{focusRingClass:"has-focus-ring",children:u.jsxs("div",{...n,ref:r,className:o,children:[u.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 qr(e){const{locale:t}=yt.useLocale(),r=En.useDateFieldState({...e,locale:t,createCalendar:ho}),n=F.useRef(null),{fieldProps:o}=fr.useDateField(e,r,n);return u.jsx("div",{...o,ref:n,className:"flex",children:r.segments.map((a,i)=>u.jsx(Ns,{segment:a,state:r},i))})}function Hs({popoverPlacement:e="bottom start",tokens:t,customTheme:r,themeName:n="datePicker",icon:o="ArrowDown",description:a,buttonLabel:i,...c}){const s=En.useDatePickerState({...c}),y=F.useRef(null),{groupProps:h,fieldProps:v,labelProps:d,descriptionProps:l,buttonProps:f,dialogProps:m,calendarProps:w}=fr.useDatePicker({...c},s,y),{label:$}={...c},j=re(`${n}.container`,t),b=re(`${n}.dateField`,t),D=re(`${n}.label`,t);return u.jsxs("div",{className:j,children:[$&&u.jsx("span",{...d,children:$}),a&&u.jsx("div",{...l,children:a}),u.jsx("div",{...h,ref:y,children:u.jsxs(We,{themeName:`${n}.button`,tokens:{...t},type:"button",...f,handlePress:f.onPress,children:[i&&u.jsx("p",{className:D,children:i}),u.jsxs("div",{className:b,children:[u.jsx(qr,{...v}),s.validationState==="invalid"&&"❌"]}),u.jsx(Re,{themeName:`${n}.icon`,tokens:{...t},icon:o})]})}),s.isOpen&&u.jsx(Ls,{triggerRef:y,state:s,placement:e,children:u.jsxs(Bs,{...m,children:[u.jsxs("div",{children:[u.jsx(qr,{...v}),s.validationState==="invalid"&&"❌"]}),u.jsx(yo,{...w})]})})]})}function Fs(e,t,r){let[n,o]=F.useState(e||t),a=F.useRef(e!==void 0),i=e!==void 0;F.useEffect(()=>{let y=a.current;y!==i&&console.warn(`WARN: A component changed from ${y?"controlled":"uncontrolled"} to ${i?"controlled":"uncontrolled"}.`),a.current=i},[i]);let c=i?e:n,s=F.useCallback((y,...h)=>{let v=(d,...l)=>{r&&(Object.is(c,d)||r(d,...l)),i||(c=d)};typeof y=="function"?(console.warn("We can not support a function callback. See Github Issues for details https://github.com/adobe/react-spectrum/issues/2320"),o((l,...f)=>{let m=y(i?c:l,...f);return v(m,...h),i?l:m})):(i||o(y),v(y,...h))},[i,c,r]);return[c,s]}let Us=Math.round(Math.random()*1e10),qs=0;function go(e){let t=F.useMemo(()=>e.name||`radio-group-${Us}-${++qs}`,[e.name]),[r,n]=Fs(e.value,e.defaultValue,e.onChange),[o,a]=F.useState(null);return{name:t,selectedValue:r,setSelectedValue:c=>{!e.isReadOnly&&!e.isDisabled&&n(c)},lastFocusedValue:o,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 mo=F.createContext(null),bo=e=>{const{children:t}=e,r=go(e);return u.jsx(mo.Provider,{value:r,children:t})};function vo(){const e=F.useContext(mo);return e!==null?e:null}const xo=e=>{const{id:t,label:r,themeName:n="radio",tokens:o,customTheme:a,value:i,fieldRef:c}=e,s=vo(),y=F.useRef(null),{inputProps:h}=oe.useRadio(e,s,y),v=s?.selectedValue===i,{focusProps:d}=oe.useFocusRing(),l={...o,selected:v},f=re(`${n}.label`,l,a),m=re(`${n}.radio`,l,a),w=re(`${n}.selectedMark`,l,a);return u.jsx("div",{children:u.jsx(oe.FocusRing,{focusRingClass:"has-focus-ring",within:!0,children:u.jsxs("label",{htmlFor:t,className:f,children:[u.jsx(oe.VisuallyHidden,{children:u.jsx("input",{type:"radio",...oe.mergeProps(d,h),ref:$=>{c?.($),y.current=$}})}),u.jsx("div",{className:m,"aria-checked":v,role:"radio","aria-labelledby":t,children:u.jsx("div",{className:w})}),u.jsx(Ae,{themeName:`${n}.label`,children:r})]})})})},Gs=e=>{const{name:t,required:r}=e,{register:n,formState:o}=De.useFormContext(),i=De.get(o.errors,t)?.message??void 0,{t:c}=ur.useTranslation("components"),{ref:s,...y}=n(t,{required:r?c("FORM.ERROR.REQUIRED")??"required":!1});return u.jsx(xo,{fieldRef:s,...y,...e,isError:!gt.isEmpty(i),errorMessage:i})},zs=e=>{const{label:t,isError:r=!1,errorMessage:n,isDisabled:o=!1,children:a,themeName:i="radioGroup",tokens:c}=e,s=go(e),{radioGroupProps:y}=oe.useRadioGroup(e,s),h={...c,isDisabled:o};return u.jsxs(nr,{...y,"aria-disabled":o,themeName:`${i}.radioGroup`,tokens:h,children:[t&&u.jsx(Ae,{tokens:{size:"h6"},children:t}),u.jsx(nr,{themeName:`${i}.radioGroupItemsGroup`,children:u.jsx(bo,{children:a})}),r&&n&&u.jsx(Ae,{tokens:{isError:!0},children:n})]})};function Vs(e){const t=e.replace(/-/g,"+").replace(/_/g,"/"),r=typeof Buffer<"u"?Buffer.from(t,"base64"):Uint8Array.from(atob(t),n=>n.charCodeAt(0));return new Uint8Array(r)}/**
|
|
83
|
+
`,variants:{isError:{true:"border-red-500"}}}),lo=Rt({main:e=>hn(e),gridItem:e=>gn(e),grid:e=>mn(e),container:e=>Bt(e),accordion:{container:e=>an(e),button:e=>ln(e),title:e=>cn(e),icon:e=>un(e),region:e=>dn(e),content:e=>fn(e)},carousel:{container:e=>Mn(e),slideContainer:e=>kn(e),navigationButtons:e=>Sn(e)},calendar:{container:e=>pn(e),header:e=>bn(e),navigationButtonsContainer:e=>xn(e),navigationButtons:e=>yn(e),table:e=>vn(e),dayLabel:e=>$n(e),cellContainer:e=>wn(e),cell:e=>Cn(e),cellDate:e=>jn(e)},datePicker:{container:e=>An(e),button:e=>Bn(e),icon:e=>Nn(e),dateField:e=>On(e),dateSegment:e=>Ln(e),label:e=>Fn(e),calendarPopover:e=>En(e),calendarUnderlay:e=>_n(e)},popover:{button:e=>ve(e),popover:()=>"border-2 text-black p-4 bg-gray-300"},typography:e=>L(e),button:e=>ve(e),sidePanel:{wrapper:e=>oo(e),container:e=>so(e),innerContainer:e=>ao(e)},lightBox:{wrapper:e=>qn(e),container:e=>Yn(e),closeBtn:e=>Hn(e),label:e=>zn(e)},shareButton:{icon:e=>ro(e),button:e=>Xn(e),container:e=>Kn(e),linksList:e=>eo(e),link:e=>to(e),linkIcons:e=>no(e)},checkbox:{container:e=>Dn(e),label:e=>Tn(e),checkBox:e=>Rn(e),checkMark:e=>Pn(e),checkMarkIcon:e=>In(e),errorMessage:e=>L(e)},radio:{label:e=>Jn(e),radio:e=>Gn(e),selectedMark:e=>Wn(e),errorMessage:e=>L(e)},radioGroup:{radioGroup:e=>Qn(e),radioGroupItemsGroup:e=>Zn(e),errorMessage:e=>L(e)},select:{button:e=>ve(e),ul:e=>L({...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=>ve(e),errorMessage:e=>L({...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=>io(e),errorMessage:e=>L({...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=>L({...e,size:"footnotes",isError:!0})},img:Vn}),co=h.memo(At(lo)),x=(e,t={},r=null)=>{const n=Pt();if(n!=null&&e!=null){const{brandTheme:s}=n,a=St.get(s,e);if(typeof a=="function"){const i=a?.(t);if(typeof i=="string")return i}}if(r)return r},R=({as:e="span",themeName:t="typography",tokens:r,customTheme:n,children:s,...a})=>{const i=x(t,r,n);return o.jsx(e,{...a,className:i,children:s})},Qe=h.forwardRef((e,t)=>{const{as:r="span",tokens:n,themeName:s="typography",customTheme:a,children:i,...l}=e,c=x(s,n,a);return o.jsx(r,{...l,ref:t,className:c,children:i})}),_t=h.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:m}=y.useLink({...e,elementType:a?.toString(),onPress:n},t??f),u=x(c,l,i);return o.jsx(y.FocusRing,{focusRingClass:"has-focus-ring",children:o.jsx(r,{ref:f,...m,...d,className:u,children:s})})}),Et=h.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,m=t,{buttonProps:u}=y.useButton({...e,isDisabled:d,elementType:a,onPress:n},t??m),g=x(c,l,i);return o.jsx(y.FocusRing,{within:!0,focusRingClass:"has-focus-ring",children:o.jsx(r,{ref:m,...u,...f,className:g,children:s})})}),ne=h.forwardRef((e,t)=>{const{as:r}=e;return r==="a"?o.jsx(_t,{ref:t,...e}):o.jsx(Et,{ref:t,...e})}),uo=e=>{const{as:t}=e,r=h.useRef(null);return t==="a"?o.jsx(_t,{ref:r,...e}):o.jsx(Et,{ref:r,...e})},oe=h.memo(uo),fo=(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)))})},ho=e=>o.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",height:48,width:48,fill:"currentColor",...e}),Ot=h.memo(ho),mo=Object.freeze(Object.defineProperty({__proto__:null,default:Ot},Symbol.toStringTag,{value:"Module"})),go=e=>{const{icon:t,...r}=e,n=h.useMemo(()=>h.lazy(()=>fo(Object.assign({"../icons/ArrowDown.tsx":()=>Promise.resolve().then(()=>Gs),"../icons/ArrowLeft.tsx":()=>Promise.resolve().then(()=>Qs),"../icons/ArrowRight.tsx":()=>Promise.resolve().then(()=>Ks),"../icons/Check.tsx":()=>Promise.resolve().then(()=>ea),"../icons/ChevronLeft.tsx":()=>Promise.resolve().then(()=>ra),"../icons/ChevronRight.tsx":()=>Promise.resolve().then(()=>oa),"../icons/CloseBtn.tsx":()=>Promise.resolve().then(()=>aa),"../icons/Facebook.tsx":()=>Promise.resolve().then(()=>la),"../icons/FacebookColored.tsx":()=>Promise.resolve().then(()=>ua),"../icons/FacebookRounded.tsx":()=>Promise.resolve().then(()=>fa),"../icons/Globe.tsx":()=>Promise.resolve().then(()=>ma),"../icons/IconFallback.tsx":()=>Promise.resolve().then(()=>mo),"../icons/Instagram.tsx":()=>Promise.resolve().then(()=>pa),"../icons/InstagramColored.tsx":()=>Promise.resolve().then(()=>xa),"../icons/Link.tsx":()=>Promise.resolve().then(()=>va),"../icons/LinkedIn.tsx":()=>Promise.resolve().then(()=>wa),"../icons/Mail.tsx":()=>Promise.resolve().then(()=>ja),"../icons/Plus.tsx":()=>Promise.resolve().then(()=>ka),"../icons/Share.tsx":()=>Promise.resolve().then(()=>Da),"../icons/Twitter.tsx":()=>Promise.resolve().then(()=>Ra),"../icons/TwitterColored.tsx":()=>Promise.resolve().then(()=>Ia),"../icons/Upload.tsx":()=>Promise.resolve().then(()=>Ba),"../icons/X.tsx":()=>Promise.resolve().then(()=>Ea),"../icons/YouTube.tsx":()=>Promise.resolve().then(()=>La),"../icons/YouTubeColored.tsx":()=>Promise.resolve().then(()=>Fa)}),`../icons/${t||"ArrowRight"}.tsx`)),[t]);return o.jsx(h.Suspense,{fallback:o.jsx(Ot,{className:"overflow-visible pointer-events-none"}),children:o.jsx(n,{...r,className:"overflow-visible pointer-events-none",...e})})},_=e=>{const{icon:t,as:r="span",tokens:n,customTheme:s,themeName:a="icon",children:i,...l}=e,c=x(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(go,{icon:t,...l})]})},po=e=>{const{customTheme:t,themeName:r="accordion",id:n,tokens:s,title:a,ariaLabel:i,onClick:l,icon:c,children:d}=e,[f,m]=h.useState(!1),u=x(`${r}.container`,{...s,isOpen:f},t),g=x(`${r}.title`,{...s,isOpen:f},t),w=x(`${r}.icon`,{...s,isOpen:f},t),p=x(`${r}.region`,{...s,isOpen:f},t),v=x(`${r}.content`,{...s,isOpen:f},t);return o.jsxs("div",{className:u,id:`accordion-control-${n}`,"aria-label":i,"aria-expanded":f,"aria-controls":`accordion-content-${n}`,children:[o.jsxs(oe,{themeName:`${r}.button`,tokens:{...s,isOpen:f},handlePress:()=>{m(!f),l?.(f)},as:"button",id:`accordion-control-${n}`,"aria-label":i,children:[o.jsx("div",{className:g,children:a}),o.jsx("div",{className:w,children:o.jsx(_,{icon:c??"ArrowDown"})})]}),o.jsx("div",{className:p,role:"region",id:`accordion-content-${n}`,"aria-labelledby":`accordion-control-${n}`,children:o.jsx("div",{className:v,children:d})})]})},bo=e=>{const{sharingLinksList:t,id:r,isOpen:n,setIsOpen:s,onShare:a,themeName:i="shareButton",tokens:l,customTheme:c}=e,d=x(`${i}.linksList`,{...l,isOpen:n},c),f=y.useFocusManager(),m=u=>{u.key==="Escape"&&s(!1);const{listDirection:g}=l??{};g==="row"&&(u.key==="ArrowRight"&&(f.focusNext({wrap:!0}),u.preventDefault()),u.key==="ArrowLeft"&&(f.focusPrevious({wrap:!0}),u.preventDefault())),g==="column"&&(u.key==="ArrowDown"&&(f.focusNext({wrap:!0}),u.preventDefault()),u.key==="ArrowUp"&&(f.focusPrevious({wrap:!0}),u.preventDefault()))};return o.jsx("div",{className:d,id:r,role:"listbox",tabIndex:-1,onKeyDown:m,children:t?.map(u=>{const{ariaLabel:g,onClick:w,href:p,icon:v,key:$}=u;return o.jsx(oe,{themeName:`${i}.link`,tokens:{...l,isOpen:n},handlePress:()=>{a?.($),w?.($)},"aria-label":g,...p?{href:p,rel:"noopener noreferrer",target:"_blank",as:"a"}:{},role:"option",children:o.jsx(_,{themeName:`${i}.linkIcons`,icon:v})},$)})})},xo=e=>{const{ariaLabel:t,icon:r,id:n,sharingLinksList:s,onShare:a,customTheme:i,themeName:l="shareButton",tokens:c,...d}=e,[f,m]=h.useState(!1),u=x(`${l}.container`,c,i),g=p=>{m(!f),!f&&setTimeout(()=>{p.target.parentElement?.lastChild?.firstChild?.focus()})},w=p=>{const v=p.currentTarget.firstChild,$=p.currentTarget.lastChild,S=$.firstChild,D=$.lastChild,{listDirection:j}=c??{};j==="row"&&(p.key==="ArrowRight"&&p.target===v&&(S?.focus(),p.preventDefault()),p.key==="ArrowLeft"&&p.target===v&&(D.focus(),p.preventDefault())),j==="column"&&(p.key==="ArrowDown"&&p.target===v&&(S?.focus(),p.preventDefault()),p.key==="ArrowUp"&&p.target===v&&(D.focus(),p.preventDefault())),p.key==="Escape"&&(m(!1),v?.focus()),document.activeElement===$&&v?.focus()};return o.jsx(y.FocusScope,{autoFocus:!0,restoreFocus:!0,contain:f,children:o.jsxs("div",{className:u,onKeyDown:w,children:[o.jsx(ne,{themeName:`${l}.button`,tokens:{...c,isOpen:f},"aria-label":t,"aria-haspopup":"listbox","aria-expanded":f?"true":"false","aria-controls":"share-buttons",handlePress:g,...d,children:o.jsx(_,{themeName:`${l}.icon`,icon:r??"Share"})}),f&&o.jsx(bo,{id:n,sharingLinksList:s,onShare:a,isOpen:f,setIsOpen:m,themeName:l,customTheme:i,tokens:c})]})})};function Lt(){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 Nt=(e,t,r)=>{const n=Gr.useOverlayTriggerState({defaultOpen:e,onOpenChange:f=>t?.(f)}),s=h.useRef(null),a=h.useRef(null);h.useEffect(()=>{if(e){n.open();return}n.close()},[e]);const i=()=>{n.open()},l=()=>{n.close(),r?.()},{buttonProps:c}=y.useButton({elementType:"div",onPress:i},s),{buttonProps:d}=y.useButton({onPress:l},a);return{state:n,openButtonProps:c,closeButtonProps:d,handleOpen:i,handleClose:l,openButtonRef:s,closeButtonRef:a}},[Ft,yo]=Lt();function vo({children:e,defaultSelectedKey:t}){const{state:r,closeButtonProps:n,closeButtonRef:s,openButtonProps:a,openButtonRef:i}=Nt(!1),l=h.useMemo(()=>({defaultSelectedKey:t,overlayState:r,buttonProps:{closeButtonProps:n,closeButtonRef:s,openButtonProps:a,openButtonRef:i}}),[r,t,n,a]);return o.jsx(yo,{value:l,children:e})}const $o=({isVisible:e,children:t})=>Y.useTransition(e,{from:{opacity:0,translateX:"100%"},enter:{opacity:1,translateX:"0%"},leave:{opacity:0,translateX:"25%"}})((n,s)=>s&&o.jsx(Y.animated.div,{style:n,children:t})),wo="fixed",Co=({isVisible:e,children:t})=>Y.useTransition(e,{from:{opacity:0,position:wo,left:0,top:0,zIndex:1e3,bottom:0,height:"100%",width:"100%"},enter:{opacity:1},leave:{opacity:0},config:Y.config.stiff})((n,s)=>s&&o.jsx(Y.animated.div,{style:n,children:t})),jo="fixed",Mo=({isVisible:e,children:t})=>Y.useTransition(e,{from:{opacity:0,scale:.75,position:jo,left:0,top:0,zIndex:1e3,bottom:0,height:"100%",width:"100%"},enter:{opacity:1,scale:1},leave:{opacity:0,scale:.75},config:Y.config.stiff})((n,s)=>s&&o.jsx(Y.animated.div,{style:n,children:t})),ko=e=>{const{children:t}=e,r=h.useRef(null),{overlayProps:n,underlayProps:s}=y.useOverlay(e,r),{modalProps:a}=y.useModal(),{dialogProps:i}=y.useDialog(e,r);return o.jsx("div",{...s,children:o.jsx(y.FocusRing,{focusRingClass:"has-focus-ring",within:!0,autoFocus:!0,children:o.jsx(y.FocusScope,{contain:!0,restoreFocus:!0,autoFocus:!0,children:o.jsx("div",{...n,...i,...a,ref:r,children:t})})})})},Ze=e=>{const[t,r]=h.useState(!1),{children:n,state:s,onCloseCallBack:a,transitionComponent:i=Mo}=e,l=h.useCallback(()=>{s.close(),a?.()},[s.close,a]);return h.useEffect(()=>{!s.isOpen&&t||r(!0)},[s.isOpen]),t?o.jsx(ue.OverlayContainer,{children:o.jsx(i,{isVisible:s.isOpen,children:o.jsx(ko,{isOpen:s.isOpen,onClose:l,isDismissable:!0,children:n})})}):null},So=e=>{const{children:t,closeBtnRender:r,themeName:n="sidePanel",tokens:s,customTheme:a}=e,i=x(`${n}.wrapper`,s,a),l=x(`${n}.container`,s,a),c=x(`${n}.innerContainer`,s,a),{overlayState:d}=Ft();return o.jsx(Ze,{state:d,transitionComponent:Co,children:o.jsxs(Jr,{className:i,children:[r&&r(),o.jsx($o,{isVisible:d.isOpen,children:o.jsx("div",{className:l,children:o.jsx("div",{className:c,children:t})})})]})})},Do=h.memo(So),To=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:m,openButtonProps:u,closeButtonProps:g,closeButtonRef:w}=Nt(n,s,a),p=x(`${l}.container`,c,d);return o.jsxs("div",{children:[o.jsx(re.FocusRing,{focusRingClass:"has-focus-ring",within:!0,children:o.jsxs(ne,{ref:m,themeName:`${l}.wrapper`,...u,...n?{tabIndex:-1}:{},children:[i&&o.jsx(R,{themeName:`${l}.label`,tokens:{size:"footnotes"},children:i}),r]})}),o.jsx(Ze,{onCloseCallBack:a,state:f,children:o.jsxs("div",{children:[o.jsx(ne,{themeName:`${l}.closeBtn`,type:"button",...g,ref:w,children:o.jsx(_,{icon:"CloseBtn"})}),o.jsx("div",{className:p,children:t})]})})]})},Ue=({as:e="div",themeName:t="box",tokens:r,customTheme:n,children:s,className:a,...i})=>{const l=x(t,r,n);return o.jsx(e,{...i,className:l,children:s})},Ut=h.forwardRef((e,t)=>{const{as:r="div",tokens:n,themeName:s="box",customTheme:a,children:i,...l}=e,c=x(s,n,a);return o.jsx(r,{...l,ref:t,className:c,children:i})}),Ro=h.forwardRef((e,t)=>{const{isOpen:r,onClose:n,children:s,positionProps:a,themeName:i="popover",tokens:l,customTheme:c,isDismissable:d,shouldCloseOnBlur:f,...m}=e,{overlayProps:u}=y.useOverlay({isDismissable:d,shouldCloseOnBlur:f,isOpen:r,onClose:n},t),{modalProps:g}=y.useModal(),{dialogProps:w}=y.useDialog({},t),p=x(`${i}.popover`,l,c);return o.jsx(y.FocusScope,{autoFocus:!0,restoreFocus:!0,contain:!0,children:o.jsxs(Ut,{customTheme:p,...y.mergeProps(u,g,w),ref:t,...a,...m,children:[h.Children.map(s,v=>o.jsx(y.FocusRing,{focusRingClass:"has-focus-ring",children:v})),o.jsx(y.DismissButton,{onDismiss:n})]})})});function Po(e){const{children:t,buttonProps:r,placement:n="right",offset:s=5,themeName:a="popover",tokens:i,customTheme:l,...c}=e,d=Dt.useOverlayTriggerState({}),f=h.useRef(null),m=h.useRef(null),{triggerProps:u,overlayProps:g}=y.useOverlayTrigger({type:"dialog"},d,f),{overlayProps:w}=y.useOverlayPosition({targetRef:f,overlayRef:m,placement:n,offset:s,isOpen:d.isOpen}),{onPress:p,...v}=u;return o.jsxs(o.Fragment,{children:[o.jsx(ne,{themeName:`${a}.button`,handlePress:p,...r,...v,ref:f}),d.isOpen&&o.jsx(y.OverlayContainer,{children:o.jsx(Ro,{themeName:a,tokens:i,customTheme:l,...g,...c,positionProps:w,ref:m,isOpen:d.isOpen,onClose:d.close,children:t})})]})}const Io=({content:e,themeName:t="wysiwyg",...r})=>o.jsx(R,{...r,themeName:t,dangerouslySetInnerHTML:{__html:Wr.sanitize(e,{ADD_TAGS:["iframe"],ADD_ATTR:["allow","allowfullscreen","frameborder","scrolling"]})}}),Ao=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=y.useIsSSR(),d=new Date(r),m=Ie.useDateFormatter(a).format(d),u=x(i,n,s);return c||Ae.isEmpty(m)?null:o.jsx(t,{...l,dateTime:d.toISOString(),className:u,children:m})},Bo=({item:e,state:t,themeName:r="li"})=>{const n=h.useRef(null),{optionProps:s,isFocusVisible:a}=y.useOption({key:e.key},t,n),i=x(r);return o.jsx(Qe,{as:"li",...s,tokens:{className:`${i} ${a?"has-focus-ring":""}`},ref:n,children:e.rendered})},_o=e=>{const t=h.useRef(null),{listBoxRef:r=t,state:n,themeName:s="option"}=e,{listBoxProps:a}=y.useListBox(e,n,r);return o.jsx(y.FocusScope,{autoFocus:!0,restoreFocus:!0,contain:!0,children:o.jsx(Qe,{...a,ref:r,as:"ul",themeName:`${s}.ul`,children:[...n.collection].map(i=>o.jsx(Bo,{themeName:`${s}.li`,item:i,state:n},i.key))})})},Eo=e=>{const t=h.useRef(null),{popoverRef:r=t,state:n,children:s,themeName:a="popover",triggerRef:i,...l}=e,{popoverProps:c,underlayProps:d}=y.usePopover({...e,popoverRef:r,triggerRef:i},n);return o.jsxs(y.Overlay,{children:[o.jsx("div",{...d,style:{position:"fixed",inset:0}}),o.jsxs(Qe,{themeName:a,...l,...c,as:"div",ref:r,children:[o.jsx(y.DismissButton,{onDismiss:n.close}),s,o.jsx(y.DismissButton,{onDismiss:n.close})]})]})},Vt=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:m,defaultValue:u,value:g,icon:w,...p}=e,v=h.useRef(null),$=Dt.useSelectState({...p,selectedKey:g,defaultSelectedKey:u,onSelectionChange:m}),{triggerProps:S,menuProps:D,labelProps:j}=y.useSelect({...p},$,v),P=x(`${l}.wrapper`,c,d),I=x(`${l}.container`,c,d),{onPress:z,onPressStart:J,...E}=S;return o.jsxs("div",{className:P,children:[f&&o.jsx(R,{...j,as:"label",themeName:`${l}.label`,children:f}),o.jsx(y.HiddenSelect,{...s,state:$,triggerRef:v,name:t,isDisabled:!0}),o.jsxs("div",{className:I,children:[o.jsxs(ne,{...E,handlePress:me=>{z?.(me),J?.(me)},ref:v,disabled:n,themeName:`${l}.button`,tokens:{...c,intent:a?"error":"default"},children:[$.selectedItem?$.selectedItem.rendered:r,o.jsx(_,{icon:w??"ArrowDown"})]}),$.isOpen&&v.current&&o.jsx(Eo,{state:$,tokens:{width:`${v.current?.offsetWidth}`},triggerRef:v,placement:"bottom",themeName:`${l}.popover`,children:o.jsx(_o,{...D,themeName:l,state:$})}),a&&o.jsx(R,{tokens:{...c,isError:a},themeName:`${l}.errorMessage`,children:i})]})]})},Oo=e=>{const{name:t,required:r,children:n}=e,{register:s,formState:a}=H.useFormContext(),l=H.get(a.errors,t)?.message??void 0,{ref:c}=s(t,{required:r?"This is an error message":!1});return o.jsx(Vt,{...e,isError:!Ae.isEmpty(l),errorMessage:l,hookFormRef:c,children:n})},Lo=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,m=Kr.useToggleState(e),u=h.useRef(null),{inputProps:g}=Qr.useCheckbox(e,m,u),{isSelected:w}=m,{focusProps:p,isFocusVisible:v}=re.useFocusRing(),$={...d,selected:w,isDisabled:n,isError:s,isFocusVisible:v},S=x(`${c}.container`,$,f),D=x(`${c}.checkBox`,$,f),j=x(`${c}.checkMark`,$,f),P=x(`${c}.checkMarkIcon`,$,f);return o.jsxs("div",{children:[o.jsx(re.FocusRing,{focusRingClass:"has-focus-ring",within:!0,children:o.jsxs("label",{className:S,htmlFor:t,"aria-label":i,"aria-disabled":n,children:[o.jsx(Zr.VisuallyHidden,{children:o.jsx("input",{type:"checkbox",ref:u,"aria-labelledby":t,...g,...p})}),o.jsx("div",{className:D,"aria-checked":w,role:"checkbox","aria-labelledby":t,children:o.jsx("div",{className:j,children:l&&o.jsx(_,{icon:l,customTheme:P})})}),o.jsx(R,{themeName:`${c}.label`,tokens:$,children:r})]})}),s&&a&&o.jsx(R,{themeName:`${c}.errorMessage`,tokens:$,children:a})]})},qt=e=>{const{id:t,label:r,name:n,placeholder:s,required:a,disabled:i=!1,errorMessage:l,ariaLabel:c,value:d,onBlur:f,onChange:m,fieldRef:u,themeName:g="textarea",tokens:w,customTheme:p}=e,v=h.useRef(null),{errorMessageProps:$,inputProps:S,labelProps:D}=y.useTextField(e,v),j={...w,isDisabled:i,isError:l!=null},P=x(`${g}.wrapper`,j,p),I=x(`${g}.input`,j,p),z=x(`${g}.label`,j,p),J=x(`${g}.container`,j,p);return o.jsxs("div",{children:[o.jsxs("div",{className:P,"aria-disabled":i,children:[r&&o.jsx("label",{className:z,...D,children:r}),o.jsx("div",{className:J,children:o.jsx(re.FocusRing,{focusRingClass:"has-focus-ring",children:o.jsx("textarea",{...S,ref:E=>{u?.(E),v.current=E},className:I,placeholder:s,disabled:i,required:a,id:t,name:n,"aria-label":c,"aria-labelledby":t,value:d,onBlur:f,onChange:m})})})]}),l&&o.jsx(R,{themeName:`${g}.errorMessage`,tokens:j,...$,children:l})]})},No=e=>{const{name:t,required:r,minLength:n=0,maxLength:s=99999999,validation:a}=e,{register:i,formState:l}=H.useFormContext(),d=H.get(l.errors,t)?.message??void 0,{t:f}=Je.useTranslation("components"),{ref:m,...u}=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(qt,{fieldRef:m,...u,...e,isError:!St.isEmpty(d),errorMessage:d})},Yt=e=>{const{id:t,label:r,required:n,disabled:s=!1,errorMessage:a,ariaLabel:i,value:l,onBlur:c,onChange:d,fieldRef:f,type:m="text",children:u,themeName:g="textInput",tokens:w,customTheme:p}=e,v=h.useRef(null),{errorMessageProps:$,inputProps:S,labelProps:D}=y.useTextField(e,v),j={...w,isDisabled:s,isError:a!=null},P=x(`${g}.wrapper`,j,p),I=x(`${g}.label`,j,p),z=x(`${g}.input`,j,p),J=x(`${g}.container`,j,p);return o.jsxs("div",{children:[o.jsx(re.FocusRing,{focusRingClass:"has-focus-ring",within:!0,children:o.jsxs("div",{"aria-disabled":s,className:P,children:[r&&o.jsx("label",{className:I,...D,children:r}),o.jsxs("div",{className:J,children:[u,o.jsx("input",{...S,className:z,disabled:s,required:n,ref:E=>{f?.(E),v.current=E},"aria-label":i,"aria-labelledby":t,value:l,onBlur:c,onChange:d,type:m})]})]})}),a&&o.jsx(R,{themeName:`${g}.errorMessage`,tokens:j,...$,children:a})]})},Fo=e=>{const{name:t,required:r,minLength:n=0,maxLength:s=99999999,validation:a}=e,{register:i,formState:l}=H.useFormContext(),d=H.get(l.errors,t)?.message??void 0,{t:f}=Je.useTranslation("components"),{ref:m,...u}=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(Yt,{fieldRef:m,...u,...e,isError:!Ae.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 Ht(e,t,r){Uo(e,t),t.set(e,r)}function N(e,t){return e-t*Math.floor(e/t)}const zt=1721426;function Q(e,t,r,n){t=he(e,t);let s=t-1,a=-2;return r<=2?a=0:V(t)&&(a=-1),zt-1+365*s+Math.floor(s/4)-Math.floor(s/100)+Math.floor(s/400)+Math.floor((367*r-362)/12+a+n)}function V(e){return e%4===0&&(e%100!==0||e%400===0)}function he(e,t){return e==="BC"?1-t:t}function Be(e){let t="AD";return e<=0&&(t="BC",e=1-e),[t,e]}const Vo={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 F{fromJulianDay(t){let r=t,n=r-zt,s=Math.floor(n/146097),a=N(n,146097),i=Math.floor(a/36524),l=N(a,36524),c=Math.floor(l/1461),d=N(l,1461),f=Math.floor(d/365),m=s*400+i*100+c*4+f+(i!==4&&f!==4?1:0),[u,g]=Be(m),w=r-Q(u,g,1,1),p=2;r<Q(u,g,3,1)?p=0:V(g)&&(p=1);let v=Math.floor(((w+p)*12+373)/367),$=r-Q(u,g,v,1)+1;return new k(u,g,v,$)}toJulianDay(t){return Q(t.era,t.year,t.month,t.day)}getDaysInMonth(t){return Vo[V(t.year)?"leapyear":"standard"][t.month-1]}getMonthsInYear(t){return 12}getDaysInYear(t){return V(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 qo={"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 it(e,t){return t=_e(t,e.calendar),e.era===t.era&&e.year===t.year&&e.month===t.month&&e.day===t.day}function Jt(e,t){let r=e.calendar.toJulianDay(e),n=Math.ceil(r+1-Jo(t))%7;return n<0&&(n+=7),n}function Gt(e,t){return e.calendar.toJulianDay(e)-t.calendar.toJulianDay(t)}function Yo(e,t){return lt(e)-lt(t)}function lt(e){return e.hour*36e5+e.minute*6e4+e.second*1e3+e.millisecond}let Le=null;function Wt(){return Le==null&&(Le=new Intl.DateTimeFormat().resolvedOptions().timeZone),Le}function Ho(e){return e.subtract({days:e.day-1})}const ct=new Map;function zo(e){if(Intl.Locale){let r=ct.get(e);return r||(r=new Intl.Locale(e).maximize().region,ct.set(e,r)),r}let t=e.split("-")[1];return t==="u"?null:t}function Jo(e){let t=zo(e);return qo[t]||0}function Go(e,t){let r=e.calendar.getDaysInMonth(e);return Math.ceil((Jt(Ho(e),t)+r)/7)}function ut(e){e=_e(e,new F);let t=he(e.era,e.year);return Qt(t,e.month,e.day,e.hour,e.minute,e.second,e.millisecond)}function Qt(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 dt(e,t){if(t==="UTC")return 0;if(e>0&&t===Wt())return new Date(e).getTimezoneOffset()*-6e4;let{year:r,month:n,day:s,hour:a,minute:i,second:l}=Zt(e,t);return Qt(r,n,s,a,i,l,0)-Math.floor(e/1e3)*1e3}const ft=new Map;function Zt(e,t){let r=ft.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"}),ft.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 ht=864e5;function Wo(e,t,r,n){return(r===n?[r]:[r,n]).filter(a=>Qo(e,t,a))}function Qo(e,t,r){let n=Zt(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 Zo(e,t,r="compatible"){let n=Xt(e);if(t==="UTC")return ut(n);if(t===Wt()&&r==="compatible"){n=_e(n,new F);let c=new Date,d=he(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=ut(n),a=dt(s-ht,t),i=dt(s+ht,t),l=Wo(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 Kt(e,t,r="compatible"){return new Date(Zo(e,t,r))}function Xt(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 Se(e.calendar,e.era,e.year,e.month,e.day,r,n,s,a)}function _e(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,se(n),n}function Ke(e,t){let r=e.copy(),n="hour"in r?ns(r,t):0;Ve(r,t.years||0),r.calendar.balanceYearMonth&&r.calendar.balanceYearMonth(r,e),r.month+=t.months||0,qe(r),er(r),r.day+=(t.weeks||0)*7,r.day+=t.days||0,r.day+=n,Ko(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 Ve(e,t){var r,n;!((n=(r=e.calendar).isInverseEra)===null||n===void 0)&&n.call(r,e)&&(t=-t),e.year+=t}function qe(e){for(;e.month<1;)Ve(e,-1),e.month+=e.calendar.getMonthsInYear(e);let t=0;for(;e.month>(t=e.calendar.getMonthsInYear(e));)e.month-=t,Ve(e,1)}function Ko(e){for(;e.day<1;)e.month--,qe(e),e.day+=e.calendar.getDaysInMonth(e);for(;e.day>e.calendar.getDaysInMonth(e);)e.day-=e.calendar.getDaysInMonth(e),e.month++,qe(e)}function er(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 se(e){e.calendar.constrainDate&&e.calendar.constrainDate(e),e.year=Math.max(1,Math.min(e.calendar.getYearsInEra(e),e.year)),er(e)}function Xo(e){let t={};for(let r in e)typeof e[r]=="number"&&(t[r]=-e[r]);return t}function tr(e,t){return Ke(e,Xo(t))}function rr(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),se(r),r}function es(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),rs(r),r}function ts(e){e.second+=Math.floor(e.millisecond/1e3),e.millisecond=$e(e.millisecond,1e3),e.minute+=Math.floor(e.second/60),e.second=$e(e.second,60),e.hour+=Math.floor(e.minute/60),e.minute=$e(e.minute,60);let t=Math.floor(e.hour/24);return e.hour=$e(e.hour,24),t}function rs(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 $e(e,t){let r=e%t;return r<0&&(r+=t),r}function ns(e,t){return e.hour+=t.hours||0,e.minute+=t.minutes||0,e.second+=t.seconds||0,e.millisecond+=t.milliseconds||0,ts(e)}function nr(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=q(c,r,0,l.length-1,n?.round),s.era=l[c],se(s);break}case"year":var a,i;!((i=(a=s.calendar).isInverseEra)===null||i===void 0)&&i.call(a,s)&&(r=-r),s.year=q(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=q(e.month,r,1,e.calendar.getMonthsInYear(e),n?.round);break;case"day":s.day=q(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),se(s),s}function os(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=q(a,r,i,l,n?.round);break}case"minute":s.minute=q(e.minute,r,0,59,n?.round);break;case"second":s.second=q(e.second,r,0,59,n?.round);break;case"millisecond":s.millisecond=q(e.millisecond,r,0,999,n?.round);break;default:throw new Error("Unsupported field "+t)}return s}function q(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 ss(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 or(e){let t=_e(e,new F);return`${String(t.year).padStart(4,"0")}-${String(t.month).padStart(2,"0")}-${String(t.day).padStart(2,"0")}`}function as(e){return`${or(e)}T${ss(e)}`}function sr(e){let t=typeof e[0]=="object"?e.shift():new F,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 is=new WeakMap;class k{copy(){return this.era?new k(this.calendar,this.era,this.year,this.month,this.day):new k(this.calendar,this.year,this.month,this.day)}add(t){return Ke(this,t)}subtract(t){return tr(this,t)}set(t){return rr(this,t)}cycle(t,r,n){return nr(this,t,r,n)}toDate(t){return Kt(this,t)}toString(){return or(this)}compare(t){return Gt(this,t)}constructor(...t){Ht(this,is,{writable:!0,value:void 0});let[r,n,s,a,i]=sr(t);this.calendar=r,this.era=n,this.year=s,this.month=a,this.day=i,se(this)}}var ls=new WeakMap;class Se{copy(){return this.era?new Se(this.calendar,this.era,this.year,this.month,this.day,this.hour,this.minute,this.second,this.millisecond):new Se(this.calendar,this.year,this.month,this.day,this.hour,this.minute,this.second,this.millisecond)}add(t){return Ke(this,t)}subtract(t){return tr(this,t)}set(t){return rr(es(this,t),t)}cycle(t,r,n){switch(t){case"era":case"year":case"month":case"day":return nr(this,t,r,n);default:return os(this,t,r,n)}}toDate(t,r){return Kt(this,t,r)}toString(){return as(this)}compare(t){let r=Gt(this,t);return r===0?Yo(this,Xt(t)):r}constructor(...t){Ht(this,ls,{writable:!0,value:void 0});let[r,n,s,a,i]=sr(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,se(this)}}const ee=[[1868,9,8],[1912,7,30],[1926,12,25],[1989,1,8],[2019,5,1]],cs=[[1912,7,29],[1926,12,24],[1989,1,7],[2019,4,30]],je=[1867,1911,1925,1988,2018],U=["meiji","taisho","showa","heisei","reiwa"];function mt(e){const t=ee.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?ee.length-1:t===0?0:t-1}function Ne(e){let t=je[U.indexOf(e.era)];if(!t)throw new Error("Unknown era: "+e.era);return new k(e.year+t,e.month,e.day)}class us extends F{fromJulianDay(t){let r=super.fromJulianDay(t),n=mt(r);return new k(this,U[n],r.year-je[n],r.month,r.day)}toJulianDay(t){return super.toJulianDay(Ne(t))}balanceDate(t){let r=Ne(t),n=mt(r);U[n]!==t.era&&(t.era=U[n],t.year=r.year-je[n]),this.constrainDate(t)}constrainDate(t){let r=U.indexOf(t.era),n=cs[r];if(n!=null){let[s,a,i]=n,l=s-je[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]=ee[r];t.month=Math.max(s,t.month),t.month===s&&(t.day=Math.max(a,t.day))}}getEras(){return U}getYearsInEra(t){let r=U.indexOf(t.era),n=ee[r],s=ee[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(Ne(t))}getMinimumMonthInYear(t){let r=gt(t);return r?r[1]:1}getMinimumDayInMonth(t){let r=gt(t);return r&&t.month===r[1]?r[2]:1}constructor(...t){super(...t),this.identifier="japanese"}}function gt(e){if(e.year===1){let t=U.indexOf(e.era);return ee[t]}}const ar=-543;class ds extends F{fromJulianDay(t){let r=super.fromJulianDay(t),n=he(r.era,r.year);return new k(this,n-ar,r.month,r.day)}toJulianDay(t){return super.toJulianDay(pt(t))}getEras(){return["BE"]}getDaysInMonth(t){return super.getDaysInMonth(pt(t))}balanceDate(){}constructor(...t){super(...t),this.identifier="buddhist"}}function pt(e){let[t,r]=Be(e.year+ar);return new k(t,r,e.month,e.day)}const De=1911;function ir(e){return e.era==="minguo"?e.year+De:1-e.year+De}function bt(e){let t=e-De;return t>0?["minguo",t]:["before_minguo",1-t]}class fs extends F{fromJulianDay(t){let r=super.fromJulianDay(t),n=he(r.era,r.year),[s,a]=bt(n);return new k(this,s,a,r.month,r.day)}toJulianDay(t){return super.toJulianDay(xt(t))}getEras(){return["before_minguo","minguo"]}balanceDate(t){let[r,n]=bt(ir(t));t.era=r,t.year=n}isInverseEra(t){return t.era==="before_minguo"}getDaysInMonth(t){return super.getDaysInMonth(xt(t))}getYearsInEra(t){return t.era==="before_minguo"?9999:9999-De}constructor(...t){super(...t),this.identifier="roc"}}function xt(e){let[t,r]=Be(ir(e));return new k(t,r,e.month,e.day)}const hs=1948321;function ms(e){let t=e>0?e-474:e-473,r=N(t,2820)+474;return N((r+38)*31,128)<31}function we(e,t,r){let n=e>0?e-474:e-473,s=N(n,2820)+474,a=t<=7?31*(t-1):30*(t-1)+6;return hs-1+1029983*Math.floor(n/2820)+365*(s-1)+Math.floor((31*s-5)/128)+a+r}class gs{fromJulianDay(t){let r=t-we(475,1,1),n=Math.floor(r/1029983),s=N(r,1029983),a=s===1029982?2820:Math.floor((128*s+46878)/46751),i=474+2820*n+a;i<=0&&i--;let l=t-we(i,1,1)+1,c=l<=186?Math.ceil(l/31):Math.ceil((l-6)/31),d=t-we(i,c,1)+1;return new k(this,i,c,d)}toJulianDay(t){return we(t.year,t.month,t.day)}getMonthsInYear(){return 12}getDaysInMonth(t){return t.month<=6?31:t.month<=11||ms(t.year)?30:29}getEras(){return["AP"]}getYearsInEra(){return 9377}constructor(){this.identifier="persian"}}const Fe=78,yt=80;class ps extends F{fromJulianDay(t){let r=super.fromJulianDay(t),n=r.year-Fe,s=t-Q(r.era,r.year,1,1),a;s<yt?(n--,a=V(r.year-1)?31:30,s+=a+155+90+10):(a=V(r.year)?31:30,s-=yt);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 k(this,n,i,l)}toJulianDay(t){let r=t.year+Fe,[n,s]=Be(r),a,i;return V(s)?(a=31,i=Q(n,s,3,21)):(a=30,i=Q(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&&V(t.year+Fe)||t.month>=2&&t.month<=6?31:30}getYearsInEra(){return 9919}getEras(){return["saka"]}balanceDate(){}constructor(...t){super(...t),this.identifier="indian"}}const Te=1948440,vt=1948439,A=1300,X=1600,bs=460322;function Re(e,t,r,n){return n+Math.ceil(29.5*(r-1))+(t-1)*354+Math.floor((3+11*t)/30)+e-1}function lr(e,t,r){let n=Math.floor((30*(r-t)+10646)/10631),s=Math.min(12,Math.ceil((r-(29+Re(t,n,1,1)))/29.5)+1),a=r-Re(t,n,s,1)+1;return new k(e,n,s,a)}function $t(e){return(14+11*e)%30<11}class Xe{fromJulianDay(t){return lr(this,Te,t)}toJulianDay(t){return Re(Te,t.year,t.month,t.day)}getDaysInMonth(t){let r=29+t.month%2;return t.month===12&&$t(t.year)&&r++,r}getMonthsInYear(){return 12}getDaysInYear(t){return $t(t.year)?355:354}getYearsInEra(){return 9665}getEras(){return["AH"]}constructor(){this.identifier="islamic-civil"}}class xs extends Xe{fromJulianDay(t){return lr(this,vt,t)}toJulianDay(t){return Re(vt,t.year,t.month,t.day)}constructor(...t){super(...t),this.identifier="islamic-tbla"}}const ys="qgpUDckO1AbqBmwDrQpVBakGkgepC9QF2gpcBS0NlQZKB1QLagutBa4ETwoXBYsGpQbVCtYCWwmdBE0KJg2VDawFtgm6AlsKKwWVCsoG6Qr0AnYJtgJWCcoKpAvSC9kF3AJtCU0FpQpSC6ULtAW2CVcFlwJLBaMGUgdlC2oFqworBZUMSg2lDcoF1gpXCasESwmlClILagt1BXYCtwhbBFUFqQW0BdoJ3QRuAjYJqgpUDbIN1QXaAlsJqwRVCkkLZAtxC7QFtQpVCiUNkg7JDtQG6QprCasEkwpJDaQNsg25CroEWworBZUKKgtVC1wFvQQ9Ah0JlQpKC1oLbQW2AjsJmwRVBqkGVAdqC2wFrQpVBSkLkgupC9QF2gpaBasKlQVJB2QHqgu1BbYCVgpNDiULUgtqC60FrgIvCZcESwalBqwG1gpdBZ0ETQoWDZUNqgW1BdoCWwmtBJUFygbkBuoK9QS2AlYJqgpUC9IL2QXqAm0JrQSVCkoLpQuyBbUJ1gSXCkcFkwZJB1ULagVrCisFiwpGDaMNygXWCtsEawJLCaUKUgtpC3UFdgG3CFsCKwVlBbQF2gntBG0BtgimClINqQ3UBdoKWwmrBFMGKQdiB6kLsgW1ClUFJQuSDckO0gbpCmsFqwRVCikNVA2qDbUJugQ7CpsETQqqCtUK2gJdCV4ELgqaDFUNsga5BroEXQotBZUKUguoC7QLuQXaAloJSgukDdEO6AZqC20FNQWVBkoNqA3UDdoGWwWdAisGFQtKC5ULqgWuCi4JjwwnBZUGqgbWCl0FnQI=";let Ye,te;function Me(e){return bs+te[e-A]}function de(e,t){let r=e-A,n=1<<11-(t-1);return Ye[r]&n?30:29}function wt(e,t){let r=Me(e);for(let n=1;n<t;n++)r+=de(e,n);return r}function Ct(e){return te[e+1-A]-te[e-A]}class vs extends Xe{fromJulianDay(t){let r=t-Te,n=Me(A),s=Me(X);if(r<n||r>s)return super.fromJulianDay(t);{let a=A-1,i=1,l=1;for(;l>0;){a++,l=r-Me(a)+1;let c=Ct(a);if(l===c){i=12;break}else if(l<c){let d=de(a,i);for(i=1;l>d;)l-=d,i++,d=de(a,i);break}}return new k(this,a,i,r-wt(a,i)+1)}}toJulianDay(t){return t.year<A||t.year>X?super.toJulianDay(t):Te+wt(t.year,t.month)+(t.day-1)}getDaysInMonth(t){return t.year<A||t.year>X?super.getDaysInMonth(t):de(t.year,t.month)}getDaysInYear(t){return t.year<A||t.year>X?super.getDaysInYear(t):Ct(t.year)}constructor(){if(super(),this.identifier="islamic-umalqura",Ye||(Ye=new Uint16Array(Uint8Array.from(atob(ys),t=>t.charCodeAt(0)).buffer)),!te){te=new Uint32Array(X-A+1);let t=0;for(let r=A;r<=X;r++){te[r-A]=t;for(let n=1;n<=12;n++)t+=de(r,n)}}}}const jt=347997,cr=1080,ur=24*cr,$s=29,ws=12*cr+793,Cs=$s*ur+ws;function W(e){return N(e*7+1,19)<7}function ke(e){let t=Math.floor((235*e-234)/19),r=12084+13753*t,n=t*29+Math.floor(r/25920);return N(3*(n+1),7)<3&&(n+=1),n}function js(e){let t=ke(e-1),r=ke(e);return ke(e+1)-r===356?2:r-t===382?1:0}function fe(e){return ke(e)+js(e)}function dr(e){return fe(e+1)-fe(e)}function Ms(e){let t=dr(e);switch(t>380&&(t-=30),t){case 353:return 0;case 354:return 1;case 355:return 2}}function Ce(e,t){if(t>=6&&!W(e)&&t++,t===4||t===7||t===9||t===11||t===13)return 29;let r=Ms(e);return t===2?r===2?30:29:t===3?r===0?29:30:t===6?W(e)?30:0:30}class ks{fromJulianDay(t){let r=t-jt,n=r*ur/Cs,s=Math.floor((19*n+234)/235)+1,a=fe(s),i=Math.floor(r-a);for(;i<1;)s--,a=fe(s),i=Math.floor(r-a);let l=1,c=0;for(;c<i;)c+=Ce(s,l),l++;l--,c-=Ce(s,l);let d=i-c;return new k(this,s,l,d)}toJulianDay(t){let r=fe(t.year);for(let n=1;n<t.month;n++)r+=Ce(t.year,n);return r+t.day+jt}getDaysInMonth(t){return Ce(t.year,t.month)}getMonthsInYear(t){return W(t.year)?13:12}getDaysInYear(t){return dr(t.year)}getYearsInEra(){return 9999}getEras(){return["AM"]}balanceYearMonth(t,r){r.year!==t.year&&(W(r.year)&&!W(t.year)&&r.month>6?t.month--:!W(r.year)&&W(t.year)&&r.month>6&&t.month++)}constructor(){this.identifier="hebrew"}}const He=1723856,Mt=1824665,ze=5500;function Pe(e,t,r,n){return e+365*t+Math.floor(t/4)+30*(r-1)+n-1}function et(e,t){let r=Math.floor(4*(t-e)/1461),n=1+Math.floor((t-Pe(e,r,1,1))/30),s=t+1-Pe(e,r,n,1);return[r,n,s]}function fr(e){return Math.floor(e%4/3)}function hr(e,t){return t%13!==0?30:fr(e)+5}class tt{fromJulianDay(t){let[r,n,s]=et(He,t),a="AM";return r<=0&&(a="AA",r+=ze),new k(this,a,r,n,s)}toJulianDay(t){let r=t.year;return t.era==="AA"&&(r-=ze),Pe(He,r,t.month,t.day)}getDaysInMonth(t){return hr(t.year,t.month)}getMonthsInYear(){return 13}getDaysInYear(t){return 365+fr(t.year)}getYearsInEra(t){return t.era==="AA"?9999:9991}getEras(){return["AA","AM"]}constructor(){this.identifier="ethiopic"}}class Ss extends tt{fromJulianDay(t){let[r,n,s]=et(He,t);return r+=ze,new k(this,"AA",r,n,s)}getEras(){return["AA"]}getYearsInEra(){return 9999}constructor(...t){super(...t),this.identifier="ethioaa"}}class Ds extends tt{fromJulianDay(t){let[r,n,s]=et(Mt,t),a="CE";return r<=0&&(a="BCE",r=1-r),new k(this,a,r,n,s)}toJulianDay(t){let r=t.year;return t.era==="BCE"&&(r=1-r),Pe(Mt,r,t.month,t.day)}getDaysInMonth(t){let r=t.year;return t.era==="BCE"&&(r=1-r),hr(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 mr(e){switch(e){case"buddhist":return new ds;case"ethiopic":return new tt;case"ethioaa":return new Ss;case"coptic":return new Ds;case"hebrew":return new ks;case"indian":return new ps;case"islamic-civil":return new Xe;case"islamic-tbla":return new xs;case"islamic-umalqura":return new vs;case"japanese":return new us;case"persian":return new gs;case"roc":return new fs;case"gregory":default:return new F}}function Ts({themeName:e="calendar",tokens:t,state:r,date:n}){const s=h.useRef(null),{cellProps:a,buttonProps:i,isSelected:l,isOutsideVisibleRange:c,isDisabled:d,formattedDate:f,isInvalid:m}=We.useCalendarCell({date:n},r,s),u=r?.highlightedRange?it(n,r?.highlightedRange.start):l,g=r?.highlightedRange?it(n,r?.highlightedRange.end):l,{locale:w}=y.useLocale(),p=Jt(n,w),v=l&&(u||p===0||n.day===1),$=l&&(g||p===6||n.day===n.calendar.getDaysInMonth(n)),{focusProps:S,isFocusVisible:D}=re.useFocusRing(),j=x(`${e}.cellContainer`,{...t,isFocusVisible:D}),P=x(`${e}.cell`,{...t,isSelected:l,isInvalid:m,isDisabled:d,isRoundedLeft:v,isRoundedRight:$}),I=x(`${e}.cellDate`,{...t,isSelected:l,isInvalid:m,isDisabled:d,isSelectionStart:u,isSelectionEnd:g});return o.jsx("td",{...a,"aria-disabled":!1,className:j,children:o.jsx("div",{...en.mergeProps(i,S),ref:s,hidden:c,className:P,children:o.jsx("div",{className:I,children:f})})})}function Rs({themeName:e="calendar",customTheme:t,tokens:r,state:n,...s}){const{locale:a}=Ie.useLocale(),{gridProps:i,headerProps:l,weekDays:c}=We.useCalendarGrid({...s},n),d=Go(n.visibleRange.start,a),f=x(`${e}.calendarTable`,r),m=x(`${e}.dayLabel`,r);return o.jsxs("table",{...i,cellPadding:"0",className:f,children:[o.jsx("thead",{...l,children:o.jsx("tr",{children:c.map(u=>o.jsx("th",{className:m,children:u},`${u}`))})}),o.jsx("tbody",{children:[...new Array(d).keys()].map(u=>o.jsx("tr",{children:n.getDatesInWeek(u).map((g,w)=>g?o.jsx(Ts,{state:n,date:g},g?.day):o.jsx("td",{},w))},u))})]})}function gr({buttons:e,tokens:t,customTheme:r,themeName:n="calendar",...s}){const{locale:a}=Ie.useLocale(),i=Xr.useCalendarState({...s,locale:a,createCalendar:mr}),l=h.useRef(null),{calendarProps:c,prevButtonProps:d,nextButtonProps:f,title:m}=We.useCalendar({...s},i),u=x(`${n}.container`,t),g=x(`${n}.header`,t),w=x(`${n}.navigationButtonsContainer`,t);return o.jsxs("div",{...c,ref:l,className:u,children:[o.jsxs("div",{className:g,children:[o.jsx(R,{as:"p",tokens:{size:"h6"},children:m}),o.jsxs("div",{className:w,children:[o.jsx(oe,{themeName:`${n}.navigationButtons`,tokens:{...t},type:"button",...d,handlePress:d?.onPress,children:o.jsx(_,{icon:e?.buttonPrev?.icon??"ArrowLeft"})}),o.jsx(oe,{themeName:`${n}.navigationButtons`,tokens:{...t},type:"button",...f,handlePress:f?.onPress,children:o.jsx(_,{icon:e?.buttonNext?.icon??"ArrowRight"})})]})]}),o.jsx(Rs,{state:i})]})}function Ps({title:e,children:t,...r}){const n=h.useRef(null),{dialogProps:s}=y.useDialog(r,n);return o.jsx("div",{...s,ref:n,children:t})}function Is({themeName:e="datePicker",tokens:t,...r}){const n=rn.useRef(null),{state:s,children:a}={...r},{popoverProps:i,underlayProps:l}=ue.usePopover({...r,popoverRef:n},s),c=x(`${e}.calendarUnderlay`,t),d=x(`${e}.calendarPopover`,t);return o.jsxs(ue.Overlay,{children:[o.jsx("div",{...l,className:c}),o.jsxs("div",{...i,ref:n,className:d,children:[o.jsx(ue.DismissButton,{onDismiss:s.close}),a,o.jsx(ue.DismissButton,{onDismiss:s.close})]})]})}function As({segment:e,state:t}){const r=h.useRef(null),{segmentProps:n}=Ge.useDateSegment(e,t,r),s=x("datePicker.dateSegment");return o.jsx(y.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 kt(e){const{locale:t}=Ie.useLocale(),r=Tt.useDateFieldState({...e,locale:t,createCalendar:mr}),n=h.useRef(null),{fieldProps:s}=Ge.useDateField(e,r,n);return o.jsx("div",{...s,ref:n,className:"flex",children:r.segments.map((a,i)=>o.jsx(As,{segment:a,state:r},i))})}function Bs({popoverPlacement:e="bottom start",tokens:t,customTheme:r,themeName:n="datePicker",icon:s="ArrowDown",description:a,buttonLabel:i,...l}){const c=Tt.useDatePickerState({...l}),d=h.useRef(null),{groupProps:f,fieldProps:m,labelProps:u,descriptionProps:g,buttonProps:w,dialogProps:p,calendarProps:v}=Ge.useDatePicker({...l},c,d),{label:$}={...l},S=x(`${n}.container`,t),D=x(`${n}.dateField`,t),j=x(`${n}.label`,t);return o.jsxs("div",{className:S,children:[$&&o.jsx("span",{...u,children:$}),a&&o.jsx("div",{...g,children:a}),o.jsx("div",{...f,ref:d,children:o.jsxs(oe,{themeName:`${n}.button`,tokens:{...t},type:"button",...w,handlePress:w.onPress,children:[i&&o.jsx("p",{className:j,children:i}),o.jsxs("div",{className:D,children:[o.jsx(kt,{...m}),c.validationState==="invalid"&&"❌"]}),o.jsx(_,{themeName:`${n}.icon`,tokens:{...t},icon:s})]})}),c.isOpen&&o.jsx(Is,{triggerRef:d,state:c,placement:e,children:o.jsxs(Ps,{...p,children:[o.jsxs("div",{children:[o.jsx(kt,{...m}),c.validationState==="invalid"&&"❌"]}),o.jsx(gr,{...v})]})})]})}function _s(e,t,r){let[n,s]=h.useState(e||t),a=h.useRef(e!==void 0),i=e!==void 0;h.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=h.useCallback((d,...f)=>{let m=(u,...g)=>{r&&(Object.is(l,u)||r(u,...g)),i||(l=u)};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((g,...w)=>{let p=d(i?l:g,...w);return m(p,...f),i?g:p})):(i||s(d),m(d,...f))},[i,l,r]);return[l,c]}let Es=Math.round(Math.random()*1e10),Os=0;function pr(e){let t=h.useMemo(()=>e.name||`radio-group-${Es}-${++Os}`,[e.name]),[r,n]=_s(e.value,e.defaultValue,e.onChange),[s,a]=h.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 br=h.createContext(null),xr=e=>{const{children:t}=e,r=pr(e);return o.jsx(br.Provider,{value:r,children:t})};function yr(){const e=h.useContext(br);return e!==null?e:null}const vr=e=>{const{id:t,label:r,themeName:n="radio",tokens:s,customTheme:a,value:i,fieldRef:l}=e,c=yr(),d=h.useRef(null),{inputProps:f}=y.useRadio(e,c,d),m=c?.selectedValue===i,{focusProps:u}=y.useFocusRing(),g={...s,selected:m},w=x(`${n}.label`,g,a),p=x(`${n}.radio`,g,a),v=x(`${n}.selectedMark`,g,a);return o.jsx("div",{children:o.jsx(y.FocusRing,{focusRingClass:"has-focus-ring",within:!0,children:o.jsxs("label",{htmlFor:t,className:w,children:[o.jsx(y.VisuallyHidden,{children:o.jsx("input",{type:"radio",...y.mergeProps(u,f),ref:$=>{l?.($),d.current=$}})}),o.jsx("div",{className:p,"aria-checked":m,role:"radio","aria-labelledby":t,children:o.jsx("div",{className:v})}),o.jsx(R,{themeName:`${n}.label`,children:r})]})})})},Ls=e=>{const{name:t,required:r}=e,{register:n,formState:s}=H.useFormContext(),i=H.get(s.errors,t)?.message??void 0,{t:l}=Je.useTranslation("components"),{ref:c,...d}=n(t,{required:r?l("FORM.ERROR.REQUIRED")??"required":!1});return o.jsx(vr,{fieldRef:c,...d,...e,isError:!Ae.isEmpty(i),errorMessage:i})},Ns=e=>{const{label:t,isError:r=!1,errorMessage:n,isDisabled:s=!1,children:a,themeName:i="radioGroup",tokens:l}=e,c=pr(e),{radioGroupProps:d}=y.useRadioGroup(e,c),f={...l,isDisabled:s};return o.jsxs(Ue,{...d,"aria-disabled":s,themeName:`${i}.radioGroup`,tokens:f,children:[t&&o.jsx(R,{tokens:{size:"h6"},children:t}),o.jsx(Ue,{themeName:`${i}.radioGroupItemsGroup`,children:o.jsx(xr,{children:a})}),r&&n&&o.jsx(R,{tokens:{isError:!0},children:n})]})};function Fs(e){const t=e.replace(/-/g,"+").replace(/_/g,"/"),r=typeof Buffer<"u"?Buffer.from(t,"base64"):Uint8Array.from(atob(t),n=>n.charCodeAt(0));return new Uint8Array(r)}/**
|
|
84
84
|
* Encodes an RGBA image to a PNG data URI. RGB should not be premultiplied by A.
|
|
85
85
|
*
|
|
86
86
|
* @remarks
|
|
@@ -90,41 +90,4 @@
|
|
|
90
90
|
* @see https://github.com/evanw/thumbhash
|
|
91
91
|
* @author Evan Wallace
|
|
92
92
|
* @license MIT
|
|
93
|
-
*/function Ws(e,t,r){const n=e*4+1,o=6+t*(5+n),a=[137,80,78,71,13,10,26,10,0,0,0,13,73,72,68,82,0,0,e>>8,e&255,0,0,t>>8,t&255,8,6,0,0,0,0,0,0,0,o>>>24,o>>16&255,o>>8&255,o&255,73,68,65,84,120,1],i=[0,498536548,997073096,651767980,1994146192,1802195444,1303535960,1342533948,-306674912,-267414716,-690576408,-882789492,-1687895376,-2032938284,-1609899400,-1111625188];let c=1,s=0;for(let h=0,v=0,d=n-1;h<t;h++,d+=n-1)for(a.push(h+1<t?0:1,n&255,n>>8,~n&255,n>>8^255,0),s=(s+c)%65521;v<d;v++){const l=r[v]&255;a.push(l),c=(c+l)%65521,s=(s+c)%65521}a.push(s>>8,s&255,c>>8,c&255,0,0,0,0,0,0,0,0,73,69,78,68,174,66,96,130);for(let[h,v]of[[12,29],[37,41+o]]){let d=-1;for(let l=h;l<v;l++)d^=a[l],d=d>>>4^i[d&15],d=d>>>4^i[d&15];d=~d,a[v++]=d>>>24,a[v++]=d>>16&255,a[v++]=d>>8&255,a[v++]=d&255}return`data:image/png;base64,${typeof Buffer<"u"?Buffer.from(new Uint8Array(a)).toString("base64"):btoa(String.fromCharCode(...a))}`}function Ys(e){let{PI:t,min:r,max:n,cos:o,round:a}=Math,i=e[0]|e[1]<<8|e[2]<<16,c=e[3]|e[4]<<8,s=(i&63)/63,y=(i>>6&63)/31.5-1,h=(i>>12&63)/31.5-1,v=(i>>18&31)/31,d=i>>23,l=(c>>3&63)/63,f=(c>>9&63)/63,m=c>>15,w=n(3,m?d?5:7:c&7),$=n(3,m?c&7:d?5:7),j=d?(e[5]&15)/15:1,b=(e[5]>>4)/15,D=d?6:5,L=0,W=(Y,V,U)=>{let I=[];for(let Z=0;Z<V;Z++)for(let g=Z?0:1;g*V<Y*(V-Z);g++)I.push(((e[D+(L>>1)]>>((L++&1)<<2)&15)/7.5-1)*U);return I},P=W(w,$,v),T=W(3,3,l*1.25),H=W(3,3,f*1.25),p=d&&W(5,5,b),E=Qs(e),x=a(E>1?32:32*E),O=a(E>1?32/E:32),S=new Uint8Array(x*O*4),B=[],N=[];for(let Y=0,V=0;Y<O;Y++)for(let U=0;U<x;U++,V+=4){let I=s,Z=y,g=h,C=j;for(let q=0,A=n(w,d?5:3);q<A;q++)B[q]=o(t/x*(U+.5)*q);for(let q=0,A=n($,d?5:3);q<A;q++)N[q]=o(t/O*(Y+.5)*q);for(let q=0,A=0;q<$;q++)for(let J=q?0:1,X=N[q]*2;J*$<w*($-q);J++,A++)I+=P[A]*B[J]*X;for(let q=0,A=0;q<3;q++)for(let J=q?0:1,X=N[q]*2;J<3-q;J++,A++){let ce=B[J]*X;Z+=T[A]*ce,g+=H[A]*ce}if(d)for(let q=0,A=0;q<5;q++)for(let J=q?0:1,X=N[q]*2;J<5-q;J++,A++)C+=p[A]*B[J]*X;let _=I-2/3*Z,G=(3*I-_+g)/2,K=G-g;S[V]=n(0,255*r(1,G)),S[V+1]=n(0,255*r(1,K)),S[V+2]=n(0,255*r(1,_)),S[V+3]=n(0,255*r(1,C))}return{w:x,h:O,rgba:S}}function Qs(e){let t=e[3],r=e[2]&128,n=e[4]&128,o=n?r?5:7:t&7,a=n?t&7:r?5:7;return o/a}function Js(e){const{w:t,h:r,rgba:n}=Ys(Vs(e));return Ws(t,r,n)}var vr=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Ks(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function Zs(e){if(e.__esModule)return e;var t=e.default;if(typeof t=="function"){var r=function n(){if(this instanceof n){var o=[null];o.push.apply(o,arguments);var a=Function.bind.apply(t,o);return new a}return t.apply(this,arguments)};r.prototype=t.prototype}else r={};return Object.defineProperty(r,"__esModule",{value:!0}),Object.keys(e).forEach(function(n){var o=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(r,n,o.get?o:{enumerable:!0,get:function(){return e[n]}})}),r}var cr={exports:{}},He={};He._=He._interop_require_default=Xs;function Xs(e){return e&&e.__esModule?e:{default:e}}var Xe={};function wo(e){if(typeof WeakMap!="function")return null;var t=new WeakMap,r=new WeakMap;return(wo=function(n){return n?r:t})(e)}Xe._=Xe._interop_require_wildcard=el;function el(e,t){if(!t&&e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var r=wo(t);if(r&&r.has(e))return r.get(e);var n={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(a!=="default"&&Object.prototype.hasOwnProperty.call(e,a)){var i=o?Object.getOwnPropertyDescriptor(e,a):null;i&&(i.get||i.set)?Object.defineProperty(n,a,i):n[a]=e[a]}return n.default=e,r&&r.set(e,n),n}var at={exports:{}},$t={},Gr;function tl(){return Gr||(Gr=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return i}});const r=Xe._(F),n=typeof window>"u",o=n?()=>{}:r.useLayoutEffect,a=n?()=>{}:r.useEffect;function i(c){const{headManager:s,reduceComponentsToState:y}=c;function h(){if(s&&s.mountedInstances){const d=r.Children.toArray(Array.from(s.mountedInstances).filter(Boolean));s.updateHead(y(d,c))}}if(n){var v;s==null||(v=s.mountedInstances)==null||v.add(c.children),h()}return o(()=>{var d;return s==null||(d=s.mountedInstances)==null||d.add(c.children),()=>{var l;s==null||(l=s.mountedInstances)==null||l.delete(c.children)}}),o(()=>(s&&(s._pendingUpdate=h),()=>{s&&(s._pendingUpdate=h)})),a(()=>(s&&s._pendingUpdate&&(s._pendingUpdate(),s._pendingUpdate=null),()=>{s&&s._pendingUpdate&&(s._pendingUpdate(),s._pendingUpdate=null)})),null}}($t)),$t}var Rt={},zr;function rl(){return zr||(zr=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"AmpStateContext",{enumerable:!0,get:function(){return n}});const n=He._(F).default.createContext({});process.env.NODE_ENV!=="production"&&(n.displayName="AmpStateContext")}(Rt)),Rt}var _t={},Vr;function nl(){return Vr||(Vr=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"HeadManagerContext",{enumerable:!0,get:function(){return n}});const n=He._(F).default.createContext({});process.env.NODE_ENV!=="production"&&(n.displayName="HeadManagerContext")}(_t)),_t}var Et={},Wr;function ol(){return Wr||(Wr=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"isInAmpMode",{enumerable:!0,get:function(){return t}});function t(r){let{ampFirst:n=!1,hybrid:o=!1,hasQuery:a=!1}=r===void 0?{}:r;return n||o&&a}}(Et)),Et}var jt={},Yr;function Ao(){return Yr||(Yr=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"warnOnce",{enumerable:!0,get:function(){return t}});let t=r=>{};if(process.env.NODE_ENV!=="production"){const r=new Set;t=n=>{r.has(n)||console.warn(n),r.add(n)}}}(jt)),jt}var Qr;function al(){return Qr||(Qr=1,function(e,t){"use client";Object.defineProperty(t,"__esModule",{value:!0});function r(j,b){for(var D in b)Object.defineProperty(j,D,{enumerable:!0,get:b[D]})}r(t,{defaultHead:function(){return v},default:function(){return $}});const n=He,a=Xe._(F),i=n._(tl()),c=rl(),s=nl(),y=ol(),h=Ao();function v(j){j===void 0&&(j=!1);const b=[a.default.createElement("meta",{charSet:"utf-8"})];return j||b.push(a.default.createElement("meta",{name:"viewport",content:"width=device-width"})),b}function d(j,b){return typeof b=="string"||typeof b=="number"?j:b.type===a.default.Fragment?j.concat(a.default.Children.toArray(b.props.children).reduce((D,L)=>typeof L=="string"||typeof L=="number"?D:D.concat(L),[])):j.concat(b)}const l=["name","httpEquiv","charSet","itemProp"];function f(){const j=new Set,b=new Set,D=new Set,L={};return W=>{let P=!0,T=!1;if(W.key&&typeof W.key!="number"&&W.key.indexOf("$")>0){T=!0;const H=W.key.slice(W.key.indexOf("$")+1);j.has(H)?P=!1:j.add(H)}switch(W.type){case"title":case"base":b.has(W.type)?P=!1:b.add(W.type);break;case"meta":for(let H=0,p=l.length;H<p;H++){const E=l[H];if(W.props.hasOwnProperty(E))if(E==="charSet")D.has(E)?P=!1:D.add(E);else{const x=W.props[E],O=L[E]||new Set;(E!=="name"||!T)&&O.has(x)?P=!1:(O.add(x),L[E]=O)}}break}return P}}function m(j,b){const{inAmpMode:D}=b;return j.reduce(d,[]).reverse().concat(v(D).reverse()).filter(f()).reverse().map((L,W)=>{const P=L.key||W;if(process.env.NODE_ENV!=="development"&&process.env.__NEXT_OPTIMIZE_FONTS&&!D&&L.type==="link"&&L.props.href&&["https://fonts.googleapis.com/css","https://use.typekit.net/"].some(T=>L.props.href.startsWith(T))){const T={...L.props||{}};return T["data-href"]=T.href,T.href=void 0,T["data-optimized-fonts"]=!0,a.default.cloneElement(L,T)}if(process.env.NODE_ENV==="development")if(L.type==="script"&&L.props.type!=="application/ld+json"){const T=L.props.src?'<script> tag with src="'+L.props.src+'"':"inline <script>";(0,h.warnOnce)("Do not add <script> tags using next/head (see "+T+`). Use next/script instead.
|
|
94
|
-
See more info here: https://nextjs.org/docs/messages/no-script-tags-in-head-component`)}else L.type==="link"&&L.props.rel==="stylesheet"&&(0,h.warnOnce)('Do not add stylesheets using next/head (see <link rel="stylesheet"> tag with href="'+L.props.href+`"). Use Document instead.
|
|
95
|
-
See more info here: https://nextjs.org/docs/messages/no-stylesheets-in-head-component`);return a.default.cloneElement(L,{key:P})})}function w(j){let{children:b}=j;const D=(0,a.useContext)(c.AmpStateContext),L=(0,a.useContext)(s.HeadManagerContext);return a.default.createElement(i.default,{reduceComponentsToState:m,headManager:L,inAmpMode:(0,y.isInAmpMode)(D)},b)}const $=w;(typeof t.default=="function"||typeof t.default=="object"&&t.default!==null)&&typeof t.default.__esModule>"u"&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)}(at,at.exports)),at.exports}var Ot={},Jr;function il(){return Jr||(Jr=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"getImageBlurSvg",{enumerable:!0,get:function(){return t}});function t(r){let{widthInt:n,heightInt:o,blurWidth:a,blurHeight:i,blurDataURL:c,objectFit:s}=r;const y=a&&i?"1":"20",h=a||n,v=i||o,d=c.startsWith("data:image/jpeg")?"%3CfeComponentTransfer%3E%3CfeFuncA type='discrete' tableValues='1 1'/%3E%3C/feComponentTransfer%3E%":"";return h&&v?"%3Csvg xmlns='http%3A//www.w3.org/2000/svg' viewBox='0 0 "+h+" "+v+"'%3E%3Cfilter id='b' color-interpolation-filters='sRGB'%3E%3CfeGaussianBlur stdDeviation='"+y+"'/%3E"+d+"%3C/filter%3E%3Cimage preserveAspectRatio='none' filter='url(%23b)' x='0' y='0' height='100%25' width='100%25' href='"+c+"'/%3E%3C/svg%3E":"%3Csvg xmlns='http%3A//www.w3.org/2000/svg'%3E%3Cimage style='filter:blur(20px)' preserveAspectRatio='"+(s==="contain"?"xMidYMid":s==="cover"?"xMidYMid slice":"none")+"' x='0' y='0' height='100%25' width='100%25' href='"+c+"'/%3E%3C/svg%3E"}}(Ot)),Ot}var Tt={},Kr;function So(){return Kr||(Kr=1,function(e){Object.defineProperty(e,"__esModule",{value:!0});function t(o,a){for(var i in a)Object.defineProperty(o,i,{enumerable:!0,get:a[i]})}t(e,{VALID_LOADERS:function(){return r},imageConfigDefault:function(){return n}});const r=["default","imgix","cloudinary","akamai","custom"],n={deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],path:"/_next/image",loader:"default",loaderFile:"",domains:[],disableStaticImages:!1,minimumCacheTTL:60,formats:["image/webp"],dangerouslyAllowSVG:!1,contentSecurityPolicy:"script-src 'none'; frame-src 'none'; sandbox;",contentDispositionType:"inline",remotePatterns:[],unoptimized:!1}}(Tt)),Tt}var Pt={},Zr;function sl(){return Zr||(Zr=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"ImageConfigContext",{enumerable:!0,get:function(){return o}});const r=He._(F),n=So(),o=r.default.createContext(n.imageConfigDefault);process.env.NODE_ENV!=="production"&&(o.displayName="ImageConfigContext")}(Pt)),Pt}var Mt={},It={},kt={exports:{}};const ll={},cl=Object.freeze(Object.defineProperty({__proto__:null,default:ll},Symbol.toStringTag,{value:"Module"})),ul=Zs(cl);var Dt={},Bt={},Lt,Xr;function Co(){return Xr||(Xr=1,Lt=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var t={},r=Symbol("test"),n=Object(r);if(typeof r=="string"||Object.prototype.toString.call(r)!=="[object Symbol]"||Object.prototype.toString.call(n)!=="[object Symbol]")return!1;var o=42;t[r]=o;for(r in t)return!1;if(typeof Object.keys=="function"&&Object.keys(t).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(t).length!==0)return!1;var a=Object.getOwnPropertySymbols(t);if(a.length!==1||a[0]!==r||!Object.prototype.propertyIsEnumerable.call(t,r))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var i=Object.getOwnPropertyDescriptor(t,r);if(i.value!==o||i.enumerable!==!0)return!1}return!0}),Lt}var Nt,en;function vt(){if(en)return Nt;en=1;var e=Co();return Nt=function(){return e()&&!!Symbol.toStringTag},Nt}var Ht,tn;function fl(){if(tn)return Ht;tn=1;var e=typeof Symbol<"u"&&Symbol,t=Co();return Ht=function(){return typeof e!="function"||typeof Symbol!="function"||typeof e("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:t()},Ht}var Ft,rn;function dl(){if(rn)return Ft;rn=1;var e={foo:{}},t=Object;return Ft=function(){return{__proto__:e}.foo===e.foo&&!({__proto__:null}instanceof t)},Ft}var Ut,nn;function pl(){if(nn)return Ut;nn=1;var e="Function.prototype.bind called on incompatible ",t=Array.prototype.slice,r=Object.prototype.toString,n="[object Function]";return Ut=function(a){var i=this;if(typeof i!="function"||r.call(i)!==n)throw new TypeError(e+i);for(var c=t.call(arguments,1),s,y=function(){if(this instanceof s){var f=i.apply(this,c.concat(t.call(arguments)));return Object(f)===f?f:this}else return i.apply(a,c.concat(t.call(arguments)))},h=Math.max(0,i.length-c.length),v=[],d=0;d<h;d++)v.push("$"+d);if(s=Function("binder","return function ("+v.join(",")+"){ return binder.apply(this,arguments); }")(y),i.prototype){var l=function(){};l.prototype=i.prototype,s.prototype=new l,l.prototype=null}return s},Ut}var qt,on;function xr(){if(on)return qt;on=1;var e=pl();return qt=Function.prototype.bind||e,qt}var Gt,an;function hl(){if(an)return Gt;an=1;var e=xr();return Gt=e.call(Function.call,Object.prototype.hasOwnProperty),Gt}var zt,sn;function wr(){if(sn)return zt;sn=1;var e,t=SyntaxError,r=Function,n=TypeError,o=function(x){try{return r('"use strict"; return ('+x+").constructor;")()}catch{}},a=Object.getOwnPropertyDescriptor;if(a)try{a({},"")}catch{a=null}var i=function(){throw new n},c=a?function(){try{return arguments.callee,i}catch{try{return a(arguments,"callee").get}catch{return i}}}():i,s=fl()(),y=dl()(),h=Object.getPrototypeOf||(y?function(x){return x.__proto__}:null),v={},d=typeof Uint8Array>"u"||!h?e:h(Uint8Array),l={"%AggregateError%":typeof AggregateError>"u"?e:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?e:ArrayBuffer,"%ArrayIteratorPrototype%":s&&h?h([][Symbol.iterator]()):e,"%AsyncFromSyncIteratorPrototype%":e,"%AsyncFunction%":v,"%AsyncGenerator%":v,"%AsyncGeneratorFunction%":v,"%AsyncIteratorPrototype%":v,"%Atomics%":typeof Atomics>"u"?e:Atomics,"%BigInt%":typeof BigInt>"u"?e:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?e:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?e:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?e:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":typeof Float32Array>"u"?e:Float32Array,"%Float64Array%":typeof Float64Array>"u"?e:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?e:FinalizationRegistry,"%Function%":r,"%GeneratorFunction%":v,"%Int8Array%":typeof Int8Array>"u"?e:Int8Array,"%Int16Array%":typeof Int16Array>"u"?e:Int16Array,"%Int32Array%":typeof Int32Array>"u"?e:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":s&&h?h(h([][Symbol.iterator]())):e,"%JSON%":typeof JSON=="object"?JSON:e,"%Map%":typeof Map>"u"?e:Map,"%MapIteratorPrototype%":typeof Map>"u"||!s||!h?e:h(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?e:Promise,"%Proxy%":typeof Proxy>"u"?e:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":typeof Reflect>"u"?e:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?e:Set,"%SetIteratorPrototype%":typeof Set>"u"||!s||!h?e:h(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?e:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":s&&h?h(""[Symbol.iterator]()):e,"%Symbol%":s?Symbol:e,"%SyntaxError%":t,"%ThrowTypeError%":c,"%TypedArray%":d,"%TypeError%":n,"%Uint8Array%":typeof Uint8Array>"u"?e:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?e:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?e:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?e:Uint32Array,"%URIError%":URIError,"%WeakMap%":typeof WeakMap>"u"?e:WeakMap,"%WeakRef%":typeof WeakRef>"u"?e:WeakRef,"%WeakSet%":typeof WeakSet>"u"?e:WeakSet};if(h)try{null.error}catch(x){var f=h(h(x));l["%Error.prototype%"]=f}var m=function x(O){var S;if(O==="%AsyncFunction%")S=o("async function () {}");else if(O==="%GeneratorFunction%")S=o("function* () {}");else if(O==="%AsyncGeneratorFunction%")S=o("async function* () {}");else if(O==="%AsyncGenerator%"){var B=x("%AsyncGeneratorFunction%");B&&(S=B.prototype)}else if(O==="%AsyncIteratorPrototype%"){var N=x("%AsyncGenerator%");N&&h&&(S=h(N.prototype))}return l[O]=S,S},w={"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},$=xr(),j=hl(),b=$.call(Function.call,Array.prototype.concat),D=$.call(Function.apply,Array.prototype.splice),L=$.call(Function.call,String.prototype.replace),W=$.call(Function.call,String.prototype.slice),P=$.call(Function.call,RegExp.prototype.exec),T=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,H=/\\(\\)?/g,p=function(O){var S=W(O,0,1),B=W(O,-1);if(S==="%"&&B!=="%")throw new t("invalid intrinsic syntax, expected closing `%`");if(B==="%"&&S!=="%")throw new t("invalid intrinsic syntax, expected opening `%`");var N=[];return L(O,T,function(Y,V,U,I){N[N.length]=U?L(I,H,"$1"):V||Y}),N},E=function(O,S){var B=O,N;if(j(w,B)&&(N=w[B],B="%"+N[0]+"%"),j(l,B)){var Y=l[B];if(Y===v&&(Y=m(B)),typeof Y>"u"&&!S)throw new n("intrinsic "+O+" exists, but is not available. Please file an issue!");return{alias:N,name:B,value:Y}}throw new t("intrinsic "+O+" does not exist!")};return zt=function(O,S){if(typeof O!="string"||O.length===0)throw new n("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof S!="boolean")throw new n('"allowMissing" argument must be a boolean');if(P(/^%?[^%]*%?$/,O)===null)throw new t("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var B=p(O),N=B.length>0?B[0]:"",Y=E("%"+N+"%",S),V=Y.name,U=Y.value,I=!1,Z=Y.alias;Z&&(N=Z[0],D(B,b([0,1],Z)));for(var g=1,C=!0;g<B.length;g+=1){var _=B[g],G=W(_,0,1),K=W(_,-1);if((G==='"'||G==="'"||G==="`"||K==='"'||K==="'"||K==="`")&&G!==K)throw new t("property names with quotes must have matching quotes");if((_==="constructor"||!C)&&(I=!0),N+="."+_,V="%"+N+"%",j(l,V))U=l[V];else if(U!=null){if(!(_ in U)){if(!S)throw new n("base intrinsic for "+O+" exists, but the property is not available.");return}if(a&&g+1>=B.length){var q=a(U,_);C=!!q,C&&"get"in q&&!("originalValue"in q.get)?U=q.get:U=U[_]}else C=j(U,_),U=U[_];C&&!I&&(l[V]=U)}}return U},zt}var Vt={exports:{}},ln;function yl(){return ln||(ln=1,function(e){var t=xr(),r=wr(),n=r("%Function.prototype.apply%"),o=r("%Function.prototype.call%"),a=r("%Reflect.apply%",!0)||t.call(o,n),i=r("%Object.getOwnPropertyDescriptor%",!0),c=r("%Object.defineProperty%",!0),s=r("%Math.max%");if(c)try{c({},"a",{value:1})}catch{c=null}e.exports=function(v){var d=a(t,o,arguments);if(i&&c){var l=i(d,"length");l.configurable&&c(d,"length",{value:1+s(0,v.length-(arguments.length-1))})}return d};var y=function(){return a(t,n,arguments)};c?c(e.exports,"apply",{value:y}):e.exports.apply=y}(Vt)),Vt.exports}var Wt,cn;function Ar(){if(cn)return Wt;cn=1;var e=wr(),t=yl(),r=t(e("String.prototype.indexOf"));return Wt=function(o,a){var i=e(o,!!a);return typeof i=="function"&&r(o,".prototype.")>-1?t(i):i},Wt}var Yt,un;function gl(){if(un)return Yt;un=1;var e=vt()(),t=Ar(),r=t("Object.prototype.toString"),n=function(c){return e&&c&&typeof c=="object"&&Symbol.toStringTag in c?!1:r(c)==="[object Arguments]"},o=function(c){return n(c)?!0:c!==null&&typeof c=="object"&&typeof c.length=="number"&&c.length>=0&&r(c)!=="[object Array]"&&r(c.callee)==="[object Function]"},a=function(){return n(arguments)}();return n.isLegacyArguments=o,Yt=a?n:o,Yt}var Qt,fn;function ml(){if(fn)return Qt;fn=1;var e=Object.prototype.toString,t=Function.prototype.toString,r=/^\s*(?:function)?\*/,n=vt()(),o=Object.getPrototypeOf,a=function(){if(!n)return!1;try{return Function("return function*() {}")()}catch{}},i;return Qt=function(s){if(typeof s!="function")return!1;if(r.test(t.call(s)))return!0;if(!n){var y=e.call(s);return y==="[object GeneratorFunction]"}if(!o)return!1;if(typeof i>"u"){var h=a();i=h?o(h):!1}return o(s)===i},Qt}var Jt,dn;function bl(){if(dn)return Jt;dn=1;var e=Function.prototype.toString,t=typeof Reflect=="object"&&Reflect!==null&&Reflect.apply,r,n;if(typeof t=="function"&&typeof Object.defineProperty=="function")try{r=Object.defineProperty({},"length",{get:function(){throw n}}),n={},t(function(){throw 42},null,r)}catch(j){j!==n&&(t=null)}else t=null;var o=/^\s*class\b/,a=function(b){try{var D=e.call(b);return o.test(D)}catch{return!1}},i=function(b){try{return a(b)?!1:(e.call(b),!0)}catch{return!1}},c=Object.prototype.toString,s="[object Object]",y="[object Function]",h="[object GeneratorFunction]",v="[object HTMLAllCollection]",d="[object HTML document.all class]",l="[object HTMLCollection]",f=typeof Symbol=="function"&&!!Symbol.toStringTag,m=!(0 in[,]),w=function(){return!1};if(typeof document=="object"){var $=document.all;c.call($)===c.call(document.all)&&(w=function(b){if((m||!b)&&(typeof b>"u"||typeof b=="object"))try{var D=c.call(b);return(D===v||D===d||D===l||D===s)&&b("")==null}catch{}return!1})}return Jt=t?function(b){if(w(b))return!0;if(!b||typeof b!="function"&&typeof b!="object")return!1;try{t(b,null,r)}catch(D){if(D!==n)return!1}return!a(b)&&i(b)}:function(b){if(w(b))return!0;if(!b||typeof b!="function"&&typeof b!="object")return!1;if(f)return i(b);if(a(b))return!1;var D=c.call(b);return D!==y&&D!==h&&!/^\[object HTML/.test(D)?!1:i(b)},Jt}var Kt,pn;function $o(){if(pn)return Kt;pn=1;var e=bl(),t=Object.prototype.toString,r=Object.prototype.hasOwnProperty,n=function(s,y,h){for(var v=0,d=s.length;v<d;v++)r.call(s,v)&&(h==null?y(s[v],v,s):y.call(h,s[v],v,s))},o=function(s,y,h){for(var v=0,d=s.length;v<d;v++)h==null?y(s.charAt(v),v,s):y.call(h,s.charAt(v),v,s)},a=function(s,y,h){for(var v in s)r.call(s,v)&&(h==null?y(s[v],v,s):y.call(h,s[v],v,s))},i=function(s,y,h){if(!e(y))throw new TypeError("iterator must be a function");var v;arguments.length>=3&&(v=h),t.call(s)==="[object Array]"?n(s,y,v):typeof s=="string"?o(s,y,v):a(s,y,v)};return Kt=i,Kt}var Zt,hn;function Ro(){if(hn)return Zt;hn=1;var e=["BigInt64Array","BigUint64Array","Float32Array","Float64Array","Int16Array","Int32Array","Int8Array","Uint16Array","Uint32Array","Uint8Array","Uint8ClampedArray"],t=typeof globalThis>"u"?vr:globalThis;return Zt=function(){for(var n=[],o=0;o<e.length;o++)typeof t[e[o]]=="function"&&(n[n.length]=e[o]);return n},Zt}var Xt,yn;function _o(){if(yn)return Xt;yn=1;var e=wr(),t=e("%Object.getOwnPropertyDescriptor%",!0);if(t)try{t([],"length")}catch{t=null}return Xt=t,Xt}var er,gn;function Eo(){if(gn)return er;gn=1;var e=$o(),t=Ro(),r=Ar(),n=r("Object.prototype.toString"),o=vt()(),a=_o(),i=typeof globalThis>"u"?vr:globalThis,c=t(),s=r("Array.prototype.indexOf",!0)||function(f,m){for(var w=0;w<f.length;w+=1)if(f[w]===m)return w;return-1},y=r("String.prototype.slice"),h={},v=Object.getPrototypeOf;o&&a&&v&&e(c,function(l){var f=new i[l];if(Symbol.toStringTag in f){var m=v(f),w=a(m,Symbol.toStringTag);if(!w){var $=v(m);w=a($,Symbol.toStringTag)}h[l]=w.get}});var d=function(f){var m=!1;return e(h,function(w,$){if(!m)try{m=w.call(f)===$}catch{}}),m};return er=function(f){if(!f||typeof f!="object")return!1;if(!o||!(Symbol.toStringTag in f)){var m=y(n(f),8,-1);return s(c,m)>-1}return a?d(f):!1},er}var tr,mn;function vl(){if(mn)return tr;mn=1;var e=$o(),t=Ro(),r=Ar(),n=_o(),o=r("Object.prototype.toString"),a=vt()(),i=typeof globalThis>"u"?vr:globalThis,c=t(),s=r("String.prototype.slice"),y={},h=Object.getPrototypeOf;a&&n&&h&&e(c,function(l){if(typeof i[l]=="function"){var f=new i[l];if(Symbol.toStringTag in f){var m=h(f),w=n(m,Symbol.toStringTag);if(!w){var $=h(m);w=n($,Symbol.toStringTag)}y[l]=w.get}}});var v=function(f){var m=!1;return e(y,function(w,$){if(!m)try{var j=w.call(f);j===$&&(m=j)}catch{}}),m},d=Eo();return tr=function(f){return d(f)?!a||!(Symbol.toStringTag in f)?s(o(f),8,-1):v(f):!1},tr}var bn;function xl(){return bn||(bn=1,function(e){var t=gl(),r=ml(),n=vl(),o=Eo();function a(k){return k.call.bind(k)}var i=typeof BigInt<"u",c=typeof Symbol<"u",s=a(Object.prototype.toString),y=a(Number.prototype.valueOf),h=a(String.prototype.valueOf),v=a(Boolean.prototype.valueOf);if(i)var d=a(BigInt.prototype.valueOf);if(c)var l=a(Symbol.prototype.valueOf);function f(k,ye){if(typeof k!="object")return!1;try{return ye(k),!0}catch{return!1}}e.isArgumentsObject=t,e.isGeneratorFunction=r,e.isTypedArray=o;function m(k){return typeof Promise<"u"&&k instanceof Promise||k!==null&&typeof k=="object"&&typeof k.then=="function"&&typeof k.catch=="function"}e.isPromise=m;function w(k){return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?ArrayBuffer.isView(k):o(k)||C(k)}e.isArrayBufferView=w;function $(k){return n(k)==="Uint8Array"}e.isUint8Array=$;function j(k){return n(k)==="Uint8ClampedArray"}e.isUint8ClampedArray=j;function b(k){return n(k)==="Uint16Array"}e.isUint16Array=b;function D(k){return n(k)==="Uint32Array"}e.isUint32Array=D;function L(k){return n(k)==="Int8Array"}e.isInt8Array=L;function W(k){return n(k)==="Int16Array"}e.isInt16Array=W;function P(k){return n(k)==="Int32Array"}e.isInt32Array=P;function T(k){return n(k)==="Float32Array"}e.isFloat32Array=T;function H(k){return n(k)==="Float64Array"}e.isFloat64Array=H;function p(k){return n(k)==="BigInt64Array"}e.isBigInt64Array=p;function E(k){return n(k)==="BigUint64Array"}e.isBigUint64Array=E;function x(k){return s(k)==="[object Map]"}x.working=typeof Map<"u"&&x(new Map);function O(k){return typeof Map>"u"?!1:x.working?x(k):k instanceof Map}e.isMap=O;function S(k){return s(k)==="[object Set]"}S.working=typeof Set<"u"&&S(new Set);function B(k){return typeof Set>"u"?!1:S.working?S(k):k instanceof Set}e.isSet=B;function N(k){return s(k)==="[object WeakMap]"}N.working=typeof WeakMap<"u"&&N(new WeakMap);function Y(k){return typeof WeakMap>"u"?!1:N.working?N(k):k instanceof WeakMap}e.isWeakMap=Y;function V(k){return s(k)==="[object WeakSet]"}V.working=typeof WeakSet<"u"&&V(new WeakSet);function U(k){return V(k)}e.isWeakSet=U;function I(k){return s(k)==="[object ArrayBuffer]"}I.working=typeof ArrayBuffer<"u"&&I(new ArrayBuffer);function Z(k){return typeof ArrayBuffer>"u"?!1:I.working?I(k):k instanceof ArrayBuffer}e.isArrayBuffer=Z;function g(k){return s(k)==="[object DataView]"}g.working=typeof ArrayBuffer<"u"&&typeof DataView<"u"&&g(new DataView(new ArrayBuffer(1),0,1));function C(k){return typeof DataView>"u"?!1:g.working?g(k):k instanceof DataView}e.isDataView=C;var _=typeof SharedArrayBuffer<"u"?SharedArrayBuffer:void 0;function G(k){return s(k)==="[object SharedArrayBuffer]"}function K(k){return typeof _>"u"?!1:(typeof G.working>"u"&&(G.working=G(new _)),G.working?G(k):k instanceof _)}e.isSharedArrayBuffer=K;function q(k){return s(k)==="[object AsyncFunction]"}e.isAsyncFunction=q;function A(k){return s(k)==="[object Map Iterator]"}e.isMapIterator=A;function J(k){return s(k)==="[object Set Iterator]"}e.isSetIterator=J;function X(k){return s(k)==="[object Generator]"}e.isGeneratorObject=X;function ce(k){return s(k)==="[object WebAssembly.Module]"}e.isWebAssemblyCompiledModule=ce;function M(k){return f(k,y)}e.isNumberObject=M;function R(k){return f(k,h)}e.isStringObject=R;function ae(k){return f(k,v)}e.isBooleanObject=ae;function ne(k){return i&&f(k,d)}e.isBigIntObject=ne;function me(k){return c&&f(k,l)}e.isSymbolObject=me;function fe(k){return M(k)||R(k)||ae(k)||ne(k)||me(k)}e.isBoxedPrimitive=fe;function le(k){return typeof Uint8Array<"u"&&(Z(k)||K(k))}e.isAnyArrayBuffer=le,["isProxy","isExternal","isModuleNamespaceObject"].forEach(function(k){Object.defineProperty(e,k,{enumerable:!1,value:function(){throw new Error(k+" is not supported in userland")}})})}(Bt)),Bt}var rr,vn;function wl(){return vn||(vn=1,rr=function(t){return t&&typeof t=="object"&&typeof t.copy=="function"&&typeof t.fill=="function"&&typeof t.readUInt8=="function"}),rr}var it={exports:{}},xn;function Al(){return xn||(xn=1,typeof Object.create=="function"?it.exports=function(t,r){r&&(t.super_=r,t.prototype=Object.create(r.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}))}:it.exports=function(t,r){if(r){t.super_=r;var n=function(){};n.prototype=r.prototype,t.prototype=new n,t.prototype.constructor=t}}),it.exports}var wn;function Sl(){return wn||(wn=1,function(e){var t=Object.getOwnPropertyDescriptors||function(C){for(var _=Object.keys(C),G={},K=0;K<_.length;K++)G[_[K]]=Object.getOwnPropertyDescriptor(C,_[K]);return G},r=/%[sdj%]/g;e.format=function(g){if(!L(g)){for(var C=[],_=0;_<arguments.length;_++)C.push(i(arguments[_]));return C.join(" ")}for(var _=1,G=arguments,K=G.length,q=String(g).replace(r,function(J){if(J==="%%")return"%";if(_>=K)return J;switch(J){case"%s":return String(G[_++]);case"%d":return Number(G[_++]);case"%j":try{return JSON.stringify(G[_++])}catch{return"[Circular]"}default:return J}}),A=G[_];_<K;A=G[++_])j(A)||!H(A)?q+=" "+A:q+=" "+i(A);return q},e.deprecate=function(g,C){if(typeof process<"u"&&process.noDeprecation===!0)return g;if(typeof process>"u")return function(){return e.deprecate(g,C).apply(this,arguments)};var _=!1;function G(){if(!_){if(process.throwDeprecation)throw new Error(C);process.traceDeprecation?console.trace(C):console.error(C),_=!0}return g.apply(this,arguments)}return G};var n={},o=/^$/;if(process.env.NODE_DEBUG){var a=process.env.NODE_DEBUG;a=a.replace(/[|\\{}()[\]^$+?.]/g,"\\$&").replace(/\*/g,".*").replace(/,/g,"$|^").toUpperCase(),o=new RegExp("^"+a+"$","i")}e.debuglog=function(g){if(g=g.toUpperCase(),!n[g])if(o.test(g)){var C=process.pid;n[g]=function(){var _=e.format.apply(e,arguments);console.error("%s %d: %s",g,C,_)}}else n[g]=function(){};return n[g]};function i(g,C){var _={seen:[],stylize:s};return arguments.length>=3&&(_.depth=arguments[2]),arguments.length>=4&&(_.colors=arguments[3]),$(C)?_.showHidden=C:C&&e._extend(_,C),P(_.showHidden)&&(_.showHidden=!1),P(_.depth)&&(_.depth=2),P(_.colors)&&(_.colors=!1),P(_.customInspect)&&(_.customInspect=!0),_.colors&&(_.stylize=c),h(_,g,_.depth)}e.inspect=i,i.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},i.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"};function c(g,C){var _=i.styles[C];return _?"\x1B["+i.colors[_][0]+"m"+g+"\x1B["+i.colors[_][1]+"m":g}function s(g,C){return g}function y(g){var C={};return g.forEach(function(_,G){C[_]=!0}),C}function h(g,C,_){if(g.customInspect&&C&&x(C.inspect)&&C.inspect!==e.inspect&&!(C.constructor&&C.constructor.prototype===C)){var G=C.inspect(_,g);return L(G)||(G=h(g,G,_)),G}var K=v(g,C);if(K)return K;var q=Object.keys(C),A=y(q);if(g.showHidden&&(q=Object.getOwnPropertyNames(C)),E(C)&&(q.indexOf("message")>=0||q.indexOf("description")>=0))return d(C);if(q.length===0){if(x(C)){var J=C.name?": "+C.name:"";return g.stylize("[Function"+J+"]","special")}if(T(C))return g.stylize(RegExp.prototype.toString.call(C),"regexp");if(p(C))return g.stylize(Date.prototype.toString.call(C),"date");if(E(C))return d(C)}var X="",ce=!1,M=["{","}"];if(w(C)&&(ce=!0,M=["[","]"]),x(C)){var R=C.name?": "+C.name:"";X=" [Function"+R+"]"}if(T(C)&&(X=" "+RegExp.prototype.toString.call(C)),p(C)&&(X=" "+Date.prototype.toUTCString.call(C)),E(C)&&(X=" "+d(C)),q.length===0&&(!ce||C.length==0))return M[0]+X+M[1];if(_<0)return T(C)?g.stylize(RegExp.prototype.toString.call(C),"regexp"):g.stylize("[Object]","special");g.seen.push(C);var ae;return ce?ae=l(g,C,_,A,q):ae=q.map(function(ne){return f(g,C,_,A,ne,ce)}),g.seen.pop(),m(ae,X,M)}function v(g,C){if(P(C))return g.stylize("undefined","undefined");if(L(C)){var _="'"+JSON.stringify(C).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return g.stylize(_,"string")}if(D(C))return g.stylize(""+C,"number");if($(C))return g.stylize(""+C,"boolean");if(j(C))return g.stylize("null","null")}function d(g){return"["+Error.prototype.toString.call(g)+"]"}function l(g,C,_,G,K){for(var q=[],A=0,J=C.length;A<J;++A)V(C,String(A))?q.push(f(g,C,_,G,String(A),!0)):q.push("");return K.forEach(function(X){X.match(/^\d+$/)||q.push(f(g,C,_,G,X,!0))}),q}function f(g,C,_,G,K,q){var A,J,X;if(X=Object.getOwnPropertyDescriptor(C,K)||{value:C[K]},X.get?X.set?J=g.stylize("[Getter/Setter]","special"):J=g.stylize("[Getter]","special"):X.set&&(J=g.stylize("[Setter]","special")),V(G,K)||(A="["+K+"]"),J||(g.seen.indexOf(X.value)<0?(j(_)?J=h(g,X.value,null):J=h(g,X.value,_-1),J.indexOf(`
|
|
96
|
-
`)>-1&&(q?J=J.split(`
|
|
97
|
-
`).map(function(ce){return" "+ce}).join(`
|
|
98
|
-
`).slice(2):J=`
|
|
99
|
-
`+J.split(`
|
|
100
|
-
`).map(function(ce){return" "+ce}).join(`
|
|
101
|
-
`))):J=g.stylize("[Circular]","special")),P(A)){if(q&&K.match(/^\d+$/))return J;A=JSON.stringify(""+K),A.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(A=A.slice(1,-1),A=g.stylize(A,"name")):(A=A.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),A=g.stylize(A,"string"))}return A+": "+J}function m(g,C,_){var G=g.reduce(function(K,q){return q.indexOf(`
|
|
102
|
-
`)>=0,K+q.replace(/\u001b\[\d\d?m/g,"").length+1},0);return G>60?_[0]+(C===""?"":C+`
|
|
103
|
-
`)+" "+g.join(`,
|
|
104
|
-
`)+" "+_[1]:_[0]+C+" "+g.join(", ")+" "+_[1]}e.types=xl();function w(g){return Array.isArray(g)}e.isArray=w;function $(g){return typeof g=="boolean"}e.isBoolean=$;function j(g){return g===null}e.isNull=j;function b(g){return g==null}e.isNullOrUndefined=b;function D(g){return typeof g=="number"}e.isNumber=D;function L(g){return typeof g=="string"}e.isString=L;function W(g){return typeof g=="symbol"}e.isSymbol=W;function P(g){return g===void 0}e.isUndefined=P;function T(g){return H(g)&&S(g)==="[object RegExp]"}e.isRegExp=T,e.types.isRegExp=T;function H(g){return typeof g=="object"&&g!==null}e.isObject=H;function p(g){return H(g)&&S(g)==="[object Date]"}e.isDate=p,e.types.isDate=p;function E(g){return H(g)&&(S(g)==="[object Error]"||g instanceof Error)}e.isError=E,e.types.isNativeError=E;function x(g){return typeof g=="function"}e.isFunction=x;function O(g){return g===null||typeof g=="boolean"||typeof g=="number"||typeof g=="string"||typeof g=="symbol"||typeof g>"u"}e.isPrimitive=O,e.isBuffer=wl();function S(g){return Object.prototype.toString.call(g)}function B(g){return g<10?"0"+g.toString(10):g.toString(10)}var N=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function Y(){var g=new Date,C=[B(g.getHours()),B(g.getMinutes()),B(g.getSeconds())].join(":");return[g.getDate(),N[g.getMonth()],C].join(" ")}e.log=function(){console.log("%s - %s",Y(),e.format.apply(e,arguments))},e.inherits=Al(),e._extend=function(g,C){if(!C||!H(C))return g;for(var _=Object.keys(C),G=_.length;G--;)g[_[G]]=C[_[G]];return g};function V(g,C){return Object.prototype.hasOwnProperty.call(g,C)}var U=typeof Symbol<"u"?Symbol("util.promisify.custom"):void 0;e.promisify=function(C){if(typeof C!="function")throw new TypeError('The "original" argument must be of type Function');if(U&&C[U]){var _=C[U];if(typeof _!="function")throw new TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(_,U,{value:_,enumerable:!1,writable:!1,configurable:!0}),_}function _(){for(var G,K,q=new Promise(function(X,ce){G=X,K=ce}),A=[],J=0;J<arguments.length;J++)A.push(arguments[J]);A.push(function(X,ce){X?K(X):G(ce)});try{C.apply(this,A)}catch(X){K(X)}return q}return Object.setPrototypeOf(_,Object.getPrototypeOf(C)),U&&Object.defineProperty(_,U,{value:_,enumerable:!1,writable:!1,configurable:!0}),Object.defineProperties(_,t(C))},e.promisify.custom=U;function I(g,C){if(!g){var _=new Error("Promise was rejected with a falsy value");_.reason=g,g=_}return C(g)}function Z(g){if(typeof g!="function")throw new TypeError('The "original" argument must be of type Function');function C(){for(var _=[],G=0;G<arguments.length;G++)_.push(arguments[G]);var K=_.pop();if(typeof K!="function")throw new TypeError("The last argument must be of type Function");var q=this,A=function(){return K.apply(q,arguments)};g.apply(this,_).then(function(J){process.nextTick(A.bind(null,null,J))},function(J){process.nextTick(I.bind(null,J,A))})}return Object.setPrototypeOf(C,Object.getPrototypeOf(g)),Object.defineProperties(C,t(g)),C}e.callbackify=Z}(Dt)),Dt}var An;function Cl(){return An||(An=1,(()=>{var e={333:(o,a,i)=>{const c=i(137),s=i(179),y=i(13),h=i(719),v=(d,l={})=>{let f=[];if(Array.isArray(d))for(let m of d){let w=v.create(m,l);Array.isArray(w)?f.push(...w):f.push(w)}else f=[].concat(v.create(d,l));return l&&l.expand===!0&&l.nodupes===!0&&(f=[...new Set(f)]),f};v.parse=(d,l={})=>h(d,l),v.stringify=(d,l={})=>c(typeof d=="string"?v.parse(d,l):d,l),v.compile=(d,l={})=>(typeof d=="string"&&(d=v.parse(d,l)),s(d,l)),v.expand=(d,l={})=>{typeof d=="string"&&(d=v.parse(d,l));let f=y(d,l);return l.noempty===!0&&(f=f.filter(Boolean)),l.nodupes===!0&&(f=[...new Set(f)]),f},v.create=(d,l={})=>d===""||d.length<3?[d]:l.expand!==!0?v.compile(d,l):v.expand(d,l),o.exports=v},179:(o,a,i)=>{const c=i(783),s=i(617),y=(h,v={})=>{let d=(l,f={})=>{let m=s.isInvalidBrace(f),w=l.invalid===!0&&v.escapeInvalid===!0,$=m===!0||w===!0,j=v.escapeInvalid===!0?"\\":"",b="";if(l.isOpen===!0||l.isClose===!0)return j+l.value;if(l.type==="open")return $?j+l.value:"(";if(l.type==="close")return $?j+l.value:")";if(l.type==="comma")return l.prev.type==="comma"?"":$?l.value:"|";if(l.value)return l.value;if(l.nodes&&l.ranges>0){let D=s.reduce(l.nodes),L=c(...D,{...v,wrap:!1,toRegex:!0});if(L.length!==0)return D.length>1&&L.length>1?`(${L})`:L}if(l.nodes)for(let D of l.nodes)b+=d(D,l);return b};return d(h)};o.exports=y},457:o=>{o.exports={MAX_LENGTH:65536,CHAR_0:"0",CHAR_9:"9",CHAR_UPPERCASE_A:"A",CHAR_LOWERCASE_A:"a",CHAR_UPPERCASE_Z:"Z",CHAR_LOWERCASE_Z:"z",CHAR_LEFT_PARENTHESES:"(",CHAR_RIGHT_PARENTHESES:")",CHAR_ASTERISK:"*",CHAR_AMPERSAND:"&",CHAR_AT:"@",CHAR_BACKSLASH:"\\",CHAR_BACKTICK:"`",CHAR_CARRIAGE_RETURN:"\r",CHAR_CIRCUMFLEX_ACCENT:"^",CHAR_COLON:":",CHAR_COMMA:",",CHAR_DOLLAR:"$",CHAR_DOT:".",CHAR_DOUBLE_QUOTE:'"',CHAR_EQUAL:"=",CHAR_EXCLAMATION_MARK:"!",CHAR_FORM_FEED:"\f",CHAR_FORWARD_SLASH:"/",CHAR_HASH:"#",CHAR_HYPHEN_MINUS:"-",CHAR_LEFT_ANGLE_BRACKET:"<",CHAR_LEFT_CURLY_BRACE:"{",CHAR_LEFT_SQUARE_BRACKET:"[",CHAR_LINE_FEED:`
|
|
105
|
-
`,CHAR_NO_BREAK_SPACE:" ",CHAR_PERCENT:"%",CHAR_PLUS:"+",CHAR_QUESTION_MARK:"?",CHAR_RIGHT_ANGLE_BRACKET:">",CHAR_RIGHT_CURLY_BRACE:"}",CHAR_RIGHT_SQUARE_BRACKET:"]",CHAR_SEMICOLON:";",CHAR_SINGLE_QUOTE:"'",CHAR_SPACE:" ",CHAR_TAB:" ",CHAR_UNDERSCORE:"_",CHAR_VERTICAL_LINE:"|",CHAR_ZERO_WIDTH_NOBREAK_SPACE:"\uFEFF"}},13:(o,a,i)=>{const c=i(783),s=i(137),y=i(617),h=(d="",l="",f=!1)=>{let m=[];if(d=[].concat(d),l=[].concat(l),!l.length)return d;if(!d.length)return f?y.flatten(l).map(w=>`{${w}}`):l;for(let w of d)if(Array.isArray(w))for(let $ of w)m.push(h($,l,f));else for(let $ of l)f===!0&&typeof $=="string"&&($=`{${$}}`),m.push(Array.isArray($)?h(w,$,f):w+$);return y.flatten(m)},v=(d,l={})=>{let f=l.rangeLimit===void 0?1e3:l.rangeLimit,m=(w,$={})=>{w.queue=[];let j=$,b=$.queue;for(;j.type!=="brace"&&j.type!=="root"&&j.parent;)j=j.parent,b=j.queue;if(w.invalid||w.dollar){b.push(h(b.pop(),s(w,l)));return}if(w.type==="brace"&&w.invalid!==!0&&w.nodes.length===2){b.push(h(b.pop(),["{}"]));return}if(w.nodes&&w.ranges>0){let P=y.reduce(w.nodes);if(y.exceedsLimit(...P,l.step,f))throw new RangeError("expanded array length exceeds range limit. Use options.rangeLimit to increase or disable the limit.");let T=c(...P,l);T.length===0&&(T=s(w,l)),b.push(h(b.pop(),T)),w.nodes=[];return}let D=y.encloseBrace(w),L=w.queue,W=w;for(;W.type!=="brace"&&W.type!=="root"&&W.parent;)W=W.parent,L=W.queue;for(let P=0;P<w.nodes.length;P++){let T=w.nodes[P];if(T.type==="comma"&&w.type==="brace"){P===1&&L.push(""),L.push("");continue}if(T.type==="close"){b.push(h(b.pop(),L,D));continue}if(T.value&&T.type!=="open"){L.push(h(L.pop(),T.value));continue}T.nodes&&m(T,w)}return L};return y.flatten(m(d))};o.exports=v},719:(o,a,i)=>{const c=i(137),{MAX_LENGTH:s,CHAR_BACKSLASH:y,CHAR_BACKTICK:h,CHAR_COMMA:v,CHAR_DOT:d,CHAR_LEFT_PARENTHESES:l,CHAR_RIGHT_PARENTHESES:f,CHAR_LEFT_CURLY_BRACE:m,CHAR_RIGHT_CURLY_BRACE:w,CHAR_LEFT_SQUARE_BRACKET:$,CHAR_RIGHT_SQUARE_BRACKET:j,CHAR_DOUBLE_QUOTE:b,CHAR_SINGLE_QUOTE:D,CHAR_NO_BREAK_SPACE:L,CHAR_ZERO_WIDTH_NOBREAK_SPACE:W}=i(457),P=(T,H={})=>{if(typeof T!="string")throw new TypeError("Expected a string");let p=H||{},E=typeof p.maxLength=="number"?Math.min(s,p.maxLength):s;if(T.length>E)throw new SyntaxError(`Input length (${T.length}), exceeds max characters (${E})`);let x={type:"root",input:T,nodes:[]},O=[x],S=x,B=x,N=0,Y=T.length,V=0,U=0,I;const Z=()=>T[V++],g=C=>{if(C.type==="text"&&B.type==="dot"&&(B.type="text"),B&&B.type==="text"&&C.type==="text"){B.value+=C.value;return}return S.nodes.push(C),C.parent=S,C.prev=B,B=C,C};for(g({type:"bos"});V<Y;)if(S=O[O.length-1],I=Z(),!(I===W||I===L)){if(I===y){g({type:"text",value:(H.keepEscaping?I:"")+Z()});continue}if(I===j){g({type:"text",value:"\\"+I});continue}if(I===$){N++;let C;for(;V<Y&&(C=Z());){if(I+=C,C===$){N++;continue}if(C===y){I+=Z();continue}if(C===j&&(N--,N===0))break}g({type:"text",value:I});continue}if(I===l){S=g({type:"paren",nodes:[]}),O.push(S),g({type:"text",value:I});continue}if(I===f){if(S.type!=="paren"){g({type:"text",value:I});continue}S=O.pop(),g({type:"text",value:I}),S=O[O.length-1];continue}if(I===b||I===D||I===h){let C=I,_;for(H.keepQuotes!==!0&&(I="");V<Y&&(_=Z());){if(_===y){I+=_+Z();continue}if(_===C){H.keepQuotes===!0&&(I+=_);break}I+=_}g({type:"text",value:I});continue}if(I===m){U++;let _={type:"brace",open:!0,close:!1,dollar:B.value&&B.value.slice(-1)==="$"||S.dollar===!0,depth:U,commas:0,ranges:0,nodes:[]};S=g(_),O.push(S),g({type:"open",value:I});continue}if(I===w){if(S.type!=="brace"){g({type:"text",value:I});continue}let C="close";S=O.pop(),S.close=!0,g({type:C,value:I}),U--,S=O[O.length-1];continue}if(I===v&&U>0){if(S.ranges>0){S.ranges=0;let C=S.nodes.shift();S.nodes=[C,{type:"text",value:c(S)}]}g({type:"comma",value:I}),S.commas++;continue}if(I===d&&U>0&&S.commas===0){let C=S.nodes;if(U===0||C.length===0){g({type:"text",value:I});continue}if(B.type==="dot"){if(S.range=[],B.value+=I,B.type="range",S.nodes.length!==3&&S.nodes.length!==5){S.invalid=!0,S.ranges=0,B.type="text";continue}S.ranges++,S.args=[];continue}if(B.type==="range"){C.pop();let _=C[C.length-1];_.value+=B.value+I,B=_,S.ranges--;continue}g({type:"dot",value:I});continue}g({type:"text",value:I})}do if(S=O.pop(),S.type!=="root"){S.nodes.forEach(G=>{G.nodes||(G.type==="open"&&(G.isOpen=!0),G.type==="close"&&(G.isClose=!0),G.nodes||(G.type="text"),G.invalid=!0)});let C=O[O.length-1],_=C.nodes.indexOf(S);C.nodes.splice(_,1,...S.nodes)}while(O.length>0);return g({type:"eos"}),x};o.exports=P},137:(o,a,i)=>{const c=i(617);o.exports=(s,y={})=>{let h=(v,d={})=>{let l=y.escapeInvalid&&c.isInvalidBrace(d),f=v.invalid===!0&&y.escapeInvalid===!0,m="";if(v.value)return(l||f)&&c.isOpenOrClose(v)?"\\"+v.value:v.value;if(v.value)return v.value;if(v.nodes)for(let w of v.nodes)m+=h(w);return m};return h(s)}},617:(o,a)=>{a.isInteger=i=>typeof i=="number"?Number.isInteger(i):typeof i=="string"&&i.trim()!==""?Number.isInteger(Number(i)):!1,a.find=(i,c)=>i.nodes.find(s=>s.type===c),a.exceedsLimit=(i,c,s=1,y)=>y===!1||!a.isInteger(i)||!a.isInteger(c)?!1:(Number(c)-Number(i))/Number(s)>=y,a.escapeNode=(i,c=0,s)=>{let y=i.nodes[c];y&&(s&&y.type===s||y.type==="open"||y.type==="close")&&y.escaped!==!0&&(y.value="\\"+y.value,y.escaped=!0)},a.encloseBrace=i=>i.type!=="brace"||i.commas>>0+i.ranges>>0?!1:(i.invalid=!0,!0),a.isInvalidBrace=i=>i.type!=="brace"?!1:i.invalid===!0||i.dollar?!0:!(i.commas>>0+i.ranges>>0)||i.open!==!0||i.close!==!0?(i.invalid=!0,!0):!1,a.isOpenOrClose=i=>i.type==="open"||i.type==="close"?!0:i.open===!0||i.close===!0,a.reduce=i=>i.reduce((c,s)=>(s.type==="text"&&c.push(s.value),s.type==="range"&&(s.type="text"),c),[]),a.flatten=(...i)=>{const c=[],s=y=>{for(let h=0;h<y.length;h++){let v=y[h];Array.isArray(v)?s(v):v!==void 0&&c.push(v)}return c};return s(i),c}},783:(o,a,i)=>{/*!
|
|
106
|
-
* fill-range <https://github.com/jonschlinkert/fill-range>
|
|
107
|
-
*
|
|
108
|
-
* Copyright (c) 2014-present, Jon Schlinkert.
|
|
109
|
-
* Licensed under the MIT License.
|
|
110
|
-
*/const c=i(837),s=i(492),y=p=>p!==null&&typeof p=="object"&&!Array.isArray(p),h=p=>E=>p===!0?Number(E):String(E),v=p=>typeof p=="number"||typeof p=="string"&&p!=="",d=p=>Number.isInteger(+p),l=p=>{let E=`${p}`,x=-1;if(E[0]==="-"&&(E=E.slice(1)),E==="0")return!1;for(;E[++x]==="0";);return x>0},f=(p,E,x)=>typeof p=="string"||typeof E=="string"?!0:x.stringify===!0,m=(p,E,x)=>{if(E>0){let O=p[0]==="-"?"-":"";O&&(p=p.slice(1)),p=O+p.padStart(O?E-1:E,"0")}return x===!1?String(p):p},w=(p,E)=>{let x=p[0]==="-"?"-":"";for(x&&(p=p.slice(1),E--);p.length<E;)p="0"+p;return x?"-"+p:p},$=(p,E)=>{p.negatives.sort((N,Y)=>N<Y?-1:N>Y?1:0),p.positives.sort((N,Y)=>N<Y?-1:N>Y?1:0);let x=E.capture?"":"?:",O="",S="",B;return p.positives.length&&(O=p.positives.join("|")),p.negatives.length&&(S=`-(${x}${p.negatives.join("|")})`),O&&S?B=`${O}|${S}`:B=O||S,E.wrap?`(${x}${B})`:B},j=(p,E,x,O)=>{if(x)return s(p,E,{wrap:!1,...O});let S=String.fromCharCode(p);if(p===E)return S;let B=String.fromCharCode(E);return`[${S}-${B}]`},b=(p,E,x)=>{if(Array.isArray(p)){let O=x.wrap===!0,S=x.capture?"":"?:";return O?`(${S}${p.join("|")})`:p.join("|")}return s(p,E,x)},D=(...p)=>new RangeError("Invalid range arguments: "+c.inspect(...p)),L=(p,E,x)=>{if(x.strictRanges===!0)throw D([p,E]);return[]},W=(p,E)=>{if(E.strictRanges===!0)throw new TypeError(`Expected step "${p}" to be a number`);return[]},P=(p,E,x=1,O={})=>{let S=Number(p),B=Number(E);if(!Number.isInteger(S)||!Number.isInteger(B)){if(O.strictRanges===!0)throw D([p,E]);return[]}S===0&&(S=0),B===0&&(B=0);let N=S>B,Y=String(p),V=String(E),U=String(x);x=Math.max(Math.abs(x),1);let I=l(Y)||l(V)||l(U),Z=I?Math.max(Y.length,V.length,U.length):0,g=I===!1&&f(p,E,O)===!1,C=O.transform||h(g);if(O.toRegex&&x===1)return j(w(p,Z),w(E,Z),!0,O);let _={negatives:[],positives:[]},G=A=>_[A<0?"negatives":"positives"].push(Math.abs(A)),K=[],q=0;for(;N?S>=B:S<=B;)O.toRegex===!0&&x>1?G(S):K.push(m(C(S,q),Z,g)),S=N?S-x:S+x,q++;return O.toRegex===!0?x>1?$(_,O):b(K,null,{wrap:!1,...O}):K},T=(p,E,x=1,O={})=>{if(!d(p)&&p.length>1||!d(E)&&E.length>1)return L(p,E,O);let S=O.transform||(g=>String.fromCharCode(g)),B=`${p}`.charCodeAt(0),N=`${E}`.charCodeAt(0),Y=B>N,V=Math.min(B,N),U=Math.max(B,N);if(O.toRegex&&x===1)return j(V,U,!1,O);let I=[],Z=0;for(;Y?B>=N:B<=N;)I.push(S(B,Z)),B=Y?B-x:B+x,Z++;return O.toRegex===!0?b(I,null,{wrap:!1,options:O}):I},H=(p,E,x,O={})=>{if(E==null&&v(p))return[p];if(!v(p)||!v(E))return L(p,E,O);if(typeof x=="function")return H(p,E,1,{transform:x});if(y(x))return H(p,E,0,x);let S={...O};return S.capture===!0&&(S.wrap=!0),x=x||S.step||1,d(x)?d(p)&&d(E)?P(p,E,x,S):T(p,E,Math.max(Math.abs(x),1),S):x!=null&&!y(x)?W(x,S):H(p,E,1,x)};o.exports=H},357:o=>{/*!
|
|
111
|
-
* is-number <https://github.com/jonschlinkert/is-number>
|
|
112
|
-
*
|
|
113
|
-
* Copyright (c) 2014-present, Jon Schlinkert.
|
|
114
|
-
* Released under the MIT License.
|
|
115
|
-
*/o.exports=function(a){return typeof a=="number"?a-a===0:typeof a=="string"&&a.trim()!==""?Number.isFinite?Number.isFinite(+a):isFinite(+a):!1}},971:(o,a,i)=>{const c=i(837),s=i(333),y=i(251),h=i(513),v=l=>l===""||l==="./",d=(l,f,m)=>{f=[].concat(f),l=[].concat(l);let w=new Set,$=new Set,j=new Set,b=0,D=P=>{j.add(P.output),m&&m.onResult&&m.onResult(P)};for(let P=0;P<f.length;P++){let T=y(String(f[P]),{...m,onResult:D},!0),H=T.state.negated||T.state.negatedExtglob;H&&b++;for(let p of l){let E=T(p,!0);(H?!E.isMatch:E.isMatch)&&(H?w.add(E.output):(w.delete(E.output),$.add(E.output)))}}let W=(b===f.length?[...j]:[...$]).filter(P=>!w.has(P));if(m&&W.length===0){if(m.failglob===!0)throw new Error(`No matches found for "${f.join(", ")}"`);if(m.nonull===!0||m.nullglob===!0)return m.unescape?f.map(P=>P.replace(/\\/g,"")):f}return W};d.match=d,d.matcher=(l,f)=>y(l,f),d.isMatch=(l,f,m)=>y(f,m)(l),d.any=d.isMatch,d.not=(l,f,m={})=>{f=[].concat(f).map(String);let w=new Set,$=[],b=d(l,f,{...m,onResult:D=>{m.onResult&&m.onResult(D),$.push(D.output)}});for(let D of $)b.includes(D)||w.add(D);return[...w]},d.contains=(l,f,m)=>{if(typeof l!="string")throw new TypeError(`Expected a string: "${c.inspect(l)}"`);if(Array.isArray(f))return f.some(w=>d.contains(l,w,m));if(typeof f=="string"){if(v(l)||v(f))return!1;if(l.includes(f)||l.startsWith("./")&&l.slice(2).includes(f))return!0}return d.isMatch(l,f,{...m,contains:!0})},d.matchKeys=(l,f,m)=>{if(!h.isObject(l))throw new TypeError("Expected the first argument to be an object");let w=d(Object.keys(l),f,m),$={};for(let j of w)$[j]=l[j];return $},d.some=(l,f,m)=>{let w=[].concat(l);for(let $ of[].concat(f)){let j=y(String($),m);if(w.some(b=>j(b)))return!0}return!1},d.every=(l,f,m)=>{let w=[].concat(l);for(let $ of[].concat(f)){let j=y(String($),m);if(!w.every(b=>j(b)))return!1}return!0},d.all=(l,f,m)=>{if(typeof l!="string")throw new TypeError(`Expected a string: "${c.inspect(l)}"`);return[].concat(f).every(w=>y(w,m)(l))},d.capture=(l,f,m)=>{let w=h.isWindows(m),j=y.makeRe(String(l),{...m,capture:!0}).exec(w?h.toPosixSlashes(f):f);if(j)return j.slice(1).map(b=>b===void 0?"":b)},d.makeRe=(...l)=>y.makeRe(...l),d.scan=(...l)=>y.scan(...l),d.parse=(l,f)=>{let m=[];for(let w of[].concat(l||[]))for(let $ of s(String(w),f))m.push(y.parse($,f));return m},d.braces=(l,f)=>{if(typeof l!="string")throw new TypeError("Expected a string");return f&&f.nobrace===!0||!/\{.*\}/.test(l)?[l]:s(l,f)},d.braceExpand=(l,f)=>{if(typeof l!="string")throw new TypeError("Expected a string");return d.braces(l,{...f,expand:!0})},o.exports=d},251:(o,a,i)=>{o.exports=i(683)},356:(o,a,i)=>{const c=i(17),s="\\\\/",y=`[^${s}]`,h="\\.",v="\\+",d="\\?",l="\\/",f="(?=.)",m="[^/]",w=`(?:${l}|$)`,$=`(?:^|${l})`,j=`${h}{1,2}${w}`,b=`(?!${h})`,D=`(?!${$}${j})`,L=`(?!${h}{0,1}${w})`,W=`(?!${j})`,P=`[^.${l}]`,T=`${m}*?`,H={DOT_LITERAL:h,PLUS_LITERAL:v,QMARK_LITERAL:d,SLASH_LITERAL:l,ONE_CHAR:f,QMARK:m,END_ANCHOR:w,DOTS_SLASH:j,NO_DOT:b,NO_DOTS:D,NO_DOT_SLASH:L,NO_DOTS_SLASH:W,QMARK_NO_DOT:P,STAR:T,START_ANCHOR:$},p={...H,SLASH_LITERAL:`[${s}]`,QMARK:y,STAR:`${y}*?`,DOTS_SLASH:`${h}{1,2}(?:[${s}]|$)`,NO_DOT:`(?!${h})`,NO_DOTS:`(?!(?:^|[${s}])${h}{1,2}(?:[${s}]|$))`,NO_DOT_SLASH:`(?!${h}{0,1}(?:[${s}]|$))`,NO_DOTS_SLASH:`(?!${h}{1,2}(?:[${s}]|$))`,QMARK_NO_DOT:`[^.${s}]`,START_ANCHOR:`(?:^|[${s}])`,END_ANCHOR:`(?:[${s}]|$)`},E={alnum:"a-zA-Z0-9",alpha:"a-zA-Z",ascii:"\\x00-\\x7F",blank:" \\t",cntrl:"\\x00-\\x1F\\x7F",digit:"0-9",graph:"\\x21-\\x7E",lower:"a-z",print:"\\x20-\\x7E ",punct:"\\-!\"#$%&'()\\*+,./:;<=>?@[\\]^_`{|}~",space:" \\t\\r\\n\\v\\f",upper:"A-Z",word:"A-Za-z0-9_",xdigit:"A-Fa-f0-9"};o.exports={MAX_LENGTH:65536,POSIX_REGEX_SOURCE:E,REGEX_BACKSLASH:/\\(?![*+?^${}(|)[\]])/g,REGEX_NON_SPECIAL_CHARS:/^[^@![\].,$*+?^{}()|\\/]+/,REGEX_SPECIAL_CHARS:/[-*+?.^${}(|)[\]]/,REGEX_SPECIAL_CHARS_BACKREF:/(\\?)((\W)(\3*))/g,REGEX_SPECIAL_CHARS_GLOBAL:/([-*+?.^${}(|)[\]])/g,REGEX_REMOVE_BACKSLASH:/(?:\[.*?[^\\]\]|\\(?=.))/g,REPLACEMENTS:{"***":"*","**/**":"**","**/**/**":"**"},CHAR_0:48,CHAR_9:57,CHAR_UPPERCASE_A:65,CHAR_LOWERCASE_A:97,CHAR_UPPERCASE_Z:90,CHAR_LOWERCASE_Z:122,CHAR_LEFT_PARENTHESES:40,CHAR_RIGHT_PARENTHESES:41,CHAR_ASTERISK:42,CHAR_AMPERSAND:38,CHAR_AT:64,CHAR_BACKWARD_SLASH:92,CHAR_CARRIAGE_RETURN:13,CHAR_CIRCUMFLEX_ACCENT:94,CHAR_COLON:58,CHAR_COMMA:44,CHAR_DOT:46,CHAR_DOUBLE_QUOTE:34,CHAR_EQUAL:61,CHAR_EXCLAMATION_MARK:33,CHAR_FORM_FEED:12,CHAR_FORWARD_SLASH:47,CHAR_GRAVE_ACCENT:96,CHAR_HASH:35,CHAR_HYPHEN_MINUS:45,CHAR_LEFT_ANGLE_BRACKET:60,CHAR_LEFT_CURLY_BRACE:123,CHAR_LEFT_SQUARE_BRACKET:91,CHAR_LINE_FEED:10,CHAR_NO_BREAK_SPACE:160,CHAR_PERCENT:37,CHAR_PLUS:43,CHAR_QUESTION_MARK:63,CHAR_RIGHT_ANGLE_BRACKET:62,CHAR_RIGHT_CURLY_BRACE:125,CHAR_RIGHT_SQUARE_BRACKET:93,CHAR_SEMICOLON:59,CHAR_SINGLE_QUOTE:39,CHAR_SPACE:32,CHAR_TAB:9,CHAR_UNDERSCORE:95,CHAR_VERTICAL_LINE:124,CHAR_ZERO_WIDTH_NOBREAK_SPACE:65279,SEP:c.sep,extglobChars(x){return{"!":{type:"negate",open:"(?:(?!(?:",close:`))${x.STAR})`},"?":{type:"qmark",open:"(?:",close:")?"},"+":{type:"plus",open:"(?:",close:")+"},"*":{type:"star",open:"(?:",close:")*"},"@":{type:"at",open:"(?:",close:")"}}},globChars(x){return x===!0?p:H}}},754:(o,a,i)=>{const c=i(356),s=i(513),{MAX_LENGTH:y,POSIX_REGEX_SOURCE:h,REGEX_NON_SPECIAL_CHARS:v,REGEX_SPECIAL_CHARS_BACKREF:d,REPLACEMENTS:l}=c,f=($,j)=>{if(typeof j.expandRange=="function")return j.expandRange(...$,j);$.sort();const b=`[${$.join("-")}]`;try{new RegExp(b)}catch{return $.map(L=>s.escapeRegex(L)).join("..")}return b},m=($,j)=>`Missing ${$}: "${j}" - use "\\\\${j}" to match literal characters`,w=($,j)=>{if(typeof $!="string")throw new TypeError("Expected a string");$=l[$]||$;const b={...j},D=typeof b.maxLength=="number"?Math.min(y,b.maxLength):y;let L=$.length;if(L>D)throw new SyntaxError(`Input length: ${L}, exceeds maximum allowed length: ${D}`);const W={type:"bos",value:"",output:b.prepend||""},P=[W],T=b.capture?"":"?:",H=s.isWindows(j),p=c.globChars(H),E=c.extglobChars(p),{DOT_LITERAL:x,PLUS_LITERAL:O,SLASH_LITERAL:S,ONE_CHAR:B,DOTS_SLASH:N,NO_DOT:Y,NO_DOT_SLASH:V,NO_DOTS_SLASH:U,QMARK:I,QMARK_NO_DOT:Z,STAR:g,START_ANCHOR:C}=p,_=Q=>`(${T}(?:(?!${C}${Q.dot?N:x}).)*?)`,G=b.dot?"":Y,K=b.dot?I:Z;let q=b.bash===!0?_(b):g;b.capture&&(q=`(${q})`),typeof b.noext=="boolean"&&(b.noextglob=b.noext);const A={input:$,index:-1,start:0,dot:b.dot===!0,consumed:"",output:"",prefix:"",backtrack:!1,negated:!1,brackets:0,braces:0,parens:0,quotes:0,globstar:!1,tokens:P};$=s.removePrefix($,A),L=$.length;const J=[],X=[],ce=[];let M=W,R;const ae=()=>A.index===L-1,ne=A.peek=(Q=1)=>$[A.index+Q],me=A.advance=()=>$[++A.index],fe=()=>$.slice(A.index+1),le=(Q="",pe=0)=>{A.consumed+=Q,A.index+=pe},k=Q=>{A.output+=Q.output!=null?Q.output:Q.value,le(Q.value)},ye=()=>{let Q=1;for(;ne()==="!"&&(ne(2)!=="("||ne(3)==="?");)me(),A.start++,Q++;return Q%2===0?!1:(A.negated=!0,A.start++,!0)},de=Q=>{A[Q]++,ce.push(Q)},be=Q=>{A[Q]--,ce.pop()},te=Q=>{if(M.type==="globstar"){const pe=A.braces>0&&(Q.type==="comma"||Q.type==="brace"),z=Q.extglob===!0||J.length&&(Q.type==="pipe"||Q.type==="paren");Q.type!=="slash"&&Q.type!=="paren"&&!pe&&!z&&(A.output=A.output.slice(0,-M.output.length),M.type="star",M.value="*",M.output=q,A.output+=M.output)}if(J.length&&Q.type!=="paren"&&!E[Q.value]&&(J[J.length-1].inner+=Q.value),(Q.value||Q.output)&&k(Q),M&&M.type==="text"&&Q.type==="text"){M.value+=Q.value,M.output=(M.output||"")+Q.value;return}Q.prev=M,P.push(Q),M=Q},_e=(Q,pe)=>{const z={...E[pe],conditions:1,inner:""};z.prev=M,z.parens=A.parens,z.output=A.output;const se=(b.capture?"(":"")+z.open;de("parens"),te({type:Q,value:pe,output:A.output?"":B}),te({type:"paren",extglob:!0,value:me(),output:se}),J.push(z)},Fe=Q=>{let pe=Q.close+(b.capture?")":"");if(Q.type==="negate"){let z=q;Q.inner&&Q.inner.length>1&&Q.inner.includes("/")&&(z=_(b)),(z!==q||ae()||/^\)+$/.test(fe()))&&(pe=Q.close=`)$))${z}`),Q.prev.type==="bos"&&(A.negatedExtglob=!0)}te({type:"paren",extglob:!0,value:R,output:pe}),be("parens")};if(b.fastpaths!==!1&&!/(^[*!]|[/()[\]{}"])/.test($)){let Q=!1,pe=$.replace(d,(z,se,he,xe,ue,Qe)=>xe==="\\"?(Q=!0,z):xe==="?"?se?se+xe+(ue?I.repeat(ue.length):""):Qe===0?K+(ue?I.repeat(ue.length):""):I.repeat(he.length):xe==="."?x.repeat(he.length):xe==="*"?se?se+xe+(ue?q:""):q:se?z:`\\${z}`);return Q===!0&&(b.unescape===!0?pe=pe.replace(/\\/g,""):pe=pe.replace(/\\+/g,z=>z.length%2===0?"\\\\":z?"\\":"")),pe===$&&b.contains===!0?(A.output=$,A):(A.output=s.wrapOutput(pe,A,j),A)}for(;!ae();){if(R=me(),R==="\0")continue;if(R==="\\"){const z=ne();if(z==="/"&&b.bash!==!0||z==="."||z===";")continue;if(!z){R+="\\",te({type:"text",value:R});continue}const se=/^\\+/.exec(fe());let he=0;if(se&&se[0].length>2&&(he=se[0].length,A.index+=he,he%2!==0&&(R+="\\")),b.unescape===!0?R=me()||"":R+=me()||"",A.brackets===0){te({type:"text",value:R});continue}}if(A.brackets>0&&(R!=="]"||M.value==="["||M.value==="[^")){if(b.posix!==!1&&R===":"){const z=M.value.slice(1);if(z.includes("[")&&(M.posix=!0,z.includes(":"))){const se=M.value.lastIndexOf("["),he=M.value.slice(0,se),xe=M.value.slice(se+2),ue=h[xe];if(ue){M.value=he+ue,A.backtrack=!0,me(),!W.output&&P.indexOf(M)===1&&(W.output=B);continue}}}(R==="["&&ne()!==":"||R==="-"&&ne()==="]")&&(R=`\\${R}`),R==="]"&&(M.value==="["||M.value==="[^")&&(R=`\\${R}`),b.posix===!0&&R==="!"&&M.value==="["&&(R="^"),M.value+=R,k({value:R});continue}if(A.quotes===1&&R!=='"'){R=s.escapeRegex(R),M.value+=R,k({value:R});continue}if(R==='"'){A.quotes=A.quotes===1?0:1,b.keepQuotes===!0&&te({type:"text",value:R});continue}if(R==="("){de("parens"),te({type:"paren",value:R});continue}if(R===")"){if(A.parens===0&&b.strictBrackets===!0)throw new SyntaxError(m("opening","("));const z=J[J.length-1];if(z&&A.parens===z.parens+1){Fe(J.pop());continue}te({type:"paren",value:R,output:A.parens?")":"\\)"}),be("parens");continue}if(R==="["){if(b.nobracket===!0||!fe().includes("]")){if(b.nobracket!==!0&&b.strictBrackets===!0)throw new SyntaxError(m("closing","]"));R=`\\${R}`}else de("brackets");te({type:"bracket",value:R});continue}if(R==="]"){if(b.nobracket===!0||M&&M.type==="bracket"&&M.value.length===1){te({type:"text",value:R,output:`\\${R}`});continue}if(A.brackets===0){if(b.strictBrackets===!0)throw new SyntaxError(m("opening","["));te({type:"text",value:R,output:`\\${R}`});continue}be("brackets");const z=M.value.slice(1);if(M.posix!==!0&&z[0]==="^"&&!z.includes("/")&&(R=`/${R}`),M.value+=R,k({value:R}),b.literalBrackets===!1||s.hasRegexChars(z))continue;const se=s.escapeRegex(M.value);if(A.output=A.output.slice(0,-M.value.length),b.literalBrackets===!0){A.output+=se,M.value=se;continue}M.value=`(${T}${se}|${M.value})`,A.output+=M.value;continue}if(R==="{"&&b.nobrace!==!0){de("braces");const z={type:"brace",value:R,output:"(",outputIndex:A.output.length,tokensIndex:A.tokens.length};X.push(z),te(z);continue}if(R==="}"){const z=X[X.length-1];if(b.nobrace===!0||!z){te({type:"text",value:R,output:R});continue}let se=")";if(z.dots===!0){const he=P.slice(),xe=[];for(let ue=he.length-1;ue>=0&&(P.pop(),he[ue].type!=="brace");ue--)he[ue].type!=="dots"&&xe.unshift(he[ue].value);se=f(xe,b),A.backtrack=!0}if(z.comma!==!0&&z.dots!==!0){const he=A.output.slice(0,z.outputIndex),xe=A.tokens.slice(z.tokensIndex);z.value=z.output="\\{",R=se="\\}",A.output=he;for(const ue of xe)A.output+=ue.output||ue.value}te({type:"brace",value:R,output:se}),be("braces"),X.pop();continue}if(R==="|"){J.length>0&&J[J.length-1].conditions++,te({type:"text",value:R});continue}if(R===","){let z=R;const se=X[X.length-1];se&&ce[ce.length-1]==="braces"&&(se.comma=!0,z="|"),te({type:"comma",value:R,output:z});continue}if(R==="/"){if(M.type==="dot"&&A.index===A.start+1){A.start=A.index+1,A.consumed="",A.output="",P.pop(),M=W;continue}te({type:"slash",value:R,output:S});continue}if(R==="."){if(A.braces>0&&M.type==="dot"){M.value==="."&&(M.output=x);const z=X[X.length-1];M.type="dots",M.output+=R,M.value+=R,z.dots=!0;continue}if(A.braces+A.parens===0&&M.type!=="bos"&&M.type!=="slash"){te({type:"text",value:R,output:x});continue}te({type:"dot",value:R,output:x});continue}if(R==="?"){if(!(M&&M.value==="(")&&b.noextglob!==!0&&ne()==="("&&ne(2)!=="?"){_e("qmark",R);continue}if(M&&M.type==="paren"){const se=ne();let he=R;if(se==="<"&&!s.supportsLookbehinds())throw new Error("Node.js v10 or higher is required for regex lookbehinds");(M.value==="("&&!/[!=<:]/.test(se)||se==="<"&&!/<([!=]|\w+>)/.test(fe()))&&(he=`\\${R}`),te({type:"text",value:R,output:he});continue}if(b.dot!==!0&&(M.type==="slash"||M.type==="bos")){te({type:"qmark",value:R,output:Z});continue}te({type:"qmark",value:R,output:I});continue}if(R==="!"){if(b.noextglob!==!0&&ne()==="("&&(ne(2)!=="?"||!/[!=<:]/.test(ne(3)))){_e("negate",R);continue}if(b.nonegate!==!0&&A.index===0){ye();continue}}if(R==="+"){if(b.noextglob!==!0&&ne()==="("&&ne(2)!=="?"){_e("plus",R);continue}if(M&&M.value==="("||b.regex===!1){te({type:"plus",value:R,output:O});continue}if(M&&(M.type==="bracket"||M.type==="paren"||M.type==="brace")||A.parens>0){te({type:"plus",value:R});continue}te({type:"plus",value:O});continue}if(R==="@"){if(b.noextglob!==!0&&ne()==="("&&ne(2)!=="?"){te({type:"at",extglob:!0,value:R,output:""});continue}te({type:"text",value:R});continue}if(R!=="*"){(R==="$"||R==="^")&&(R=`\\${R}`);const z=v.exec(fe());z&&(R+=z[0],A.index+=z[0].length),te({type:"text",value:R});continue}if(M&&(M.type==="globstar"||M.star===!0)){M.type="star",M.star=!0,M.value+=R,M.output=q,A.backtrack=!0,A.globstar=!0,le(R);continue}let Q=fe();if(b.noextglob!==!0&&/^\([^?]/.test(Q)){_e("star",R);continue}if(M.type==="star"){if(b.noglobstar===!0){le(R);continue}const z=M.prev,se=z.prev,he=z.type==="slash"||z.type==="bos",xe=se&&(se.type==="star"||se.type==="globstar");if(b.bash===!0&&(!he||Q[0]&&Q[0]!=="/")){te({type:"star",value:R,output:""});continue}const ue=A.braces>0&&(z.type==="comma"||z.type==="brace"),Qe=J.length&&(z.type==="pipe"||z.type==="paren");if(!he&&z.type!=="paren"&&!ue&&!Qe){te({type:"star",value:R,output:""});continue}for(;Q.slice(0,3)==="/**";){const Be=$[A.index+4];if(Be&&Be!=="/")break;Q=Q.slice(3),le("/**",3)}if(z.type==="bos"&&ae()){M.type="globstar",M.value+=R,M.output=_(b),A.output=M.output,A.globstar=!0,le(R);continue}if(z.type==="slash"&&z.prev.type!=="bos"&&!xe&&ae()){A.output=A.output.slice(0,-(z.output+M.output).length),z.output=`(?:${z.output}`,M.type="globstar",M.output=_(b)+(b.strictSlashes?")":"|$)"),M.value+=R,A.globstar=!0,A.output+=z.output+M.output,le(R);continue}if(z.type==="slash"&&z.prev.type!=="bos"&&Q[0]==="/"){const Be=Q[1]!==void 0?"|$":"";A.output=A.output.slice(0,-(z.output+M.output).length),z.output=`(?:${z.output}`,M.type="globstar",M.output=`${_(b)}${S}|${S}${Be})`,M.value+=R,A.output+=z.output+M.output,A.globstar=!0,le(R+me()),te({type:"slash",value:"/",output:""});continue}if(z.type==="bos"&&Q[0]==="/"){M.type="globstar",M.value+=R,M.output=`(?:^|${S}|${_(b)}${S})`,A.output=M.output,A.globstar=!0,le(R+me()),te({type:"slash",value:"/",output:""});continue}A.output=A.output.slice(0,-M.output.length),M.type="globstar",M.output=_(b),M.value+=R,A.output+=M.output,A.globstar=!0,le(R);continue}const pe={type:"star",value:R,output:q};if(b.bash===!0){pe.output=".*?",(M.type==="bos"||M.type==="slash")&&(pe.output=G+pe.output),te(pe);continue}if(M&&(M.type==="bracket"||M.type==="paren")&&b.regex===!0){pe.output=R,te(pe);continue}(A.index===A.start||M.type==="slash"||M.type==="dot")&&(M.type==="dot"?(A.output+=V,M.output+=V):b.dot===!0?(A.output+=U,M.output+=U):(A.output+=G,M.output+=G),ne()!=="*"&&(A.output+=B,M.output+=B)),te(pe)}for(;A.brackets>0;){if(b.strictBrackets===!0)throw new SyntaxError(m("closing","]"));A.output=s.escapeLast(A.output,"["),be("brackets")}for(;A.parens>0;){if(b.strictBrackets===!0)throw new SyntaxError(m("closing",")"));A.output=s.escapeLast(A.output,"("),be("parens")}for(;A.braces>0;){if(b.strictBrackets===!0)throw new SyntaxError(m("closing","}"));A.output=s.escapeLast(A.output,"{"),be("braces")}if(b.strictSlashes!==!0&&(M.type==="star"||M.type==="bracket")&&te({type:"maybe_slash",value:"",output:`${S}?`}),A.backtrack===!0){A.output="";for(const Q of A.tokens)A.output+=Q.output!=null?Q.output:Q.value,Q.suffix&&(A.output+=Q.suffix)}return A};w.fastpaths=($,j)=>{const b={...j},D=typeof b.maxLength=="number"?Math.min(y,b.maxLength):y,L=$.length;if(L>D)throw new SyntaxError(`Input length: ${L}, exceeds maximum allowed length: ${D}`);$=l[$]||$;const W=s.isWindows(j),{DOT_LITERAL:P,SLASH_LITERAL:T,ONE_CHAR:H,DOTS_SLASH:p,NO_DOT:E,NO_DOTS:x,NO_DOTS_SLASH:O,STAR:S,START_ANCHOR:B}=c.globChars(W),N=b.dot?x:E,Y=b.dot?O:E,V=b.capture?"":"?:",U={negated:!1,prefix:""};let I=b.bash===!0?".*?":S;b.capture&&(I=`(${I})`);const Z=G=>G.noglobstar===!0?I:`(${V}(?:(?!${B}${G.dot?p:P}).)*?)`,g=G=>{switch(G){case"*":return`${N}${H}${I}`;case".*":return`${P}${H}${I}`;case"*.*":return`${N}${I}${P}${H}${I}`;case"*/*":return`${N}${I}${T}${H}${Y}${I}`;case"**":return N+Z(b);case"**/*":return`(?:${N}${Z(b)}${T})?${Y}${H}${I}`;case"**/*.*":return`(?:${N}${Z(b)}${T})?${Y}${I}${P}${H}${I}`;case"**/.*":return`(?:${N}${Z(b)}${T})?${P}${H}${I}`;default:{const K=/^(.*?)\.(\w+)$/.exec(G);if(!K)return;const q=g(K[1]);return q?q+P+K[2]:void 0}}},C=s.removePrefix($,U);let _=g(C);return _&&b.strictSlashes!==!0&&(_+=`${T}?`),_},o.exports=w},683:(o,a,i)=>{const c=i(17),s=i(700),y=i(754),h=i(513),v=i(356),d=f=>f&&typeof f=="object"&&!Array.isArray(f),l=(f,m,w=!1)=>{if(Array.isArray(f)){const T=f.map(p=>l(p,m,w));return p=>{for(const E of T){const x=E(p);if(x)return x}return!1}}const $=d(f)&&f.tokens&&f.input;if(f===""||typeof f!="string"&&!$)throw new TypeError("Expected pattern to be a non-empty string");const j=m||{},b=h.isWindows(m),D=$?l.compileRe(f,m):l.makeRe(f,m,!1,!0),L=D.state;delete D.state;let W=()=>!1;if(j.ignore){const T={...m,ignore:null,onMatch:null,onResult:null};W=l(j.ignore,T,w)}const P=(T,H=!1)=>{const{isMatch:p,match:E,output:x}=l.test(T,D,m,{glob:f,posix:b}),O={glob:f,state:L,regex:D,posix:b,input:T,output:x,match:E,isMatch:p};return typeof j.onResult=="function"&&j.onResult(O),p===!1?(O.isMatch=!1,H?O:!1):W(T)?(typeof j.onIgnore=="function"&&j.onIgnore(O),O.isMatch=!1,H?O:!1):(typeof j.onMatch=="function"&&j.onMatch(O),H?O:!0)};return w&&(P.state=L),P};l.test=(f,m,w,{glob:$,posix:j}={})=>{if(typeof f!="string")throw new TypeError("Expected input to be a string");if(f==="")return{isMatch:!1,output:""};const b=w||{},D=b.format||(j?h.toPosixSlashes:null);let L=f===$,W=L&&D?D(f):f;return L===!1&&(W=D?D(f):f,L=W===$),(L===!1||b.capture===!0)&&(b.matchBase===!0||b.basename===!0?L=l.matchBase(f,m,w,j):L=m.exec(W)),{isMatch:!!L,match:L,output:W}},l.matchBase=(f,m,w,$=h.isWindows(w))=>(m instanceof RegExp?m:l.makeRe(m,w)).test(c.basename(f)),l.isMatch=(f,m,w)=>l(m,w)(f),l.parse=(f,m)=>Array.isArray(f)?f.map(w=>l.parse(w,m)):y(f,{...m,fastpaths:!1}),l.scan=(f,m)=>s(f,m),l.compileRe=(f,m,w=!1,$=!1)=>{if(w===!0)return f.output;const j=m||{},b=j.contains?"":"^",D=j.contains?"":"$";let L=`${b}(?:${f.output})${D}`;f&&f.negated===!0&&(L=`^(?!${L}).*$`);const W=l.toRegex(L,m);return $===!0&&(W.state=f),W},l.makeRe=(f,m,w=!1,$=!1)=>{if(!f||typeof f!="string")throw new TypeError("Expected a non-empty string");const j=m||{};let b={negated:!1,fastpaths:!0},D="",L;return f.startsWith("./")&&(f=f.slice(2),D=b.prefix="./"),j.fastpaths!==!1&&(f[0]==="."||f[0]==="*")&&(L=y.fastpaths(f,m)),L===void 0?(b=y(f,m),b.prefix=D+(b.prefix||"")):b.output=L,l.compileRe(b,m,w,$)},l.toRegex=(f,m)=>{try{const w=m||{};return new RegExp(f,w.flags||(w.nocase?"i":""))}catch(w){if(m&&m.debug===!0)throw w;return/$^/}},l.constants=v,o.exports=l},700:(o,a,i)=>{const c=i(513),{CHAR_ASTERISK:s,CHAR_AT:y,CHAR_BACKWARD_SLASH:h,CHAR_COMMA:v,CHAR_DOT:d,CHAR_EXCLAMATION_MARK:l,CHAR_FORWARD_SLASH:f,CHAR_LEFT_CURLY_BRACE:m,CHAR_LEFT_PARENTHESES:w,CHAR_LEFT_SQUARE_BRACKET:$,CHAR_PLUS:j,CHAR_QUESTION_MARK:b,CHAR_RIGHT_CURLY_BRACE:D,CHAR_RIGHT_PARENTHESES:L,CHAR_RIGHT_SQUARE_BRACKET:W}=i(356),P=p=>p===f||p===h,T=p=>{p.isPrefix!==!0&&(p.depth=p.isGlobstar?1/0:1)},H=(p,E)=>{const x=E||{},O=p.length-1,S=x.parts===!0||x.scanToEnd===!0,B=[],N=[],Y=[];let V=p,U=-1,I=0,Z=0,g=!1,C=!1,_=!1,G=!1,K=!1,q=!1,A=!1,J=!1,X=!1,ce=0,M,R,ae={value:"",depth:0,isGlob:!1};const ne=()=>U>=O,me=()=>V.charCodeAt(U+1),fe=()=>(M=R,V.charCodeAt(++U));for(;U<O;){R=fe();let be;if(R===h){A=ae.backslashes=!0,R=fe(),R===m&&(q=!0);continue}if(q===!0||R===m){for(ce++;ne()!==!0&&(R=fe());){if(R===h){A=ae.backslashes=!0,fe();continue}if(R===m){ce++;continue}if(q!==!0&&R===d&&(R=fe())===d){if(g=ae.isBrace=!0,_=ae.isGlob=!0,X=!0,S===!0)continue;break}if(q!==!0&&R===v){if(g=ae.isBrace=!0,_=ae.isGlob=!0,X=!0,S===!0)continue;break}if(R===D&&(ce--,ce===0)){q=!1,g=ae.isBrace=!0,X=!0;break}}if(S===!0)continue;break}if(R===f){if(B.push(U),N.push(ae),ae={value:"",depth:0,isGlob:!1},X===!0)continue;if(M===d&&U===I+1){I+=2;continue}Z=U+1;continue}if(x.noext!==!0&&(R===j||R===y||R===s||R===b||R===l)===!0&&me()===w){if(_=ae.isGlob=!0,G=ae.isExtglob=!0,X=!0,S===!0){for(;ne()!==!0&&(R=fe());){if(R===h){A=ae.backslashes=!0,R=fe();continue}if(R===L){_=ae.isGlob=!0,X=!0;break}}continue}break}if(R===s){if(M===s&&(K=ae.isGlobstar=!0),_=ae.isGlob=!0,X=!0,S===!0)continue;break}if(R===b){if(_=ae.isGlob=!0,X=!0,S===!0)continue;break}if(R===$){for(;ne()!==!0&&(be=fe());){if(be===h){A=ae.backslashes=!0,fe();continue}if(be===W){C=ae.isBracket=!0,_=ae.isGlob=!0,X=!0;break}}if(S===!0)continue;break}if(x.nonegate!==!0&&R===l&&U===I){J=ae.negated=!0,I++;continue}if(x.noparen!==!0&&R===w){if(_=ae.isGlob=!0,S===!0){for(;ne()!==!0&&(R=fe());){if(R===w){A=ae.backslashes=!0,R=fe();continue}if(R===L){X=!0;break}}continue}break}if(_===!0){if(X=!0,S===!0)continue;break}}x.noext===!0&&(G=!1,_=!1);let le=V,k="",ye="";I>0&&(k=V.slice(0,I),V=V.slice(I),Z-=I),le&&_===!0&&Z>0?(le=V.slice(0,Z),ye=V.slice(Z)):_===!0?(le="",ye=V):le=V,le&&le!==""&&le!=="/"&&le!==V&&P(le.charCodeAt(le.length-1))&&(le=le.slice(0,-1)),x.unescape===!0&&(ye&&(ye=c.removeBackslashes(ye)),le&&A===!0&&(le=c.removeBackslashes(le)));const de={prefix:k,input:p,start:I,base:le,glob:ye,isBrace:g,isBracket:C,isGlob:_,isExtglob:G,isGlobstar:K,negated:J};if(x.tokens===!0&&(de.maxDepth=0,P(R)||N.push(ae),de.tokens=N),x.parts===!0||x.tokens===!0){let be;for(let te=0;te<B.length;te++){const _e=be?be+1:I,Fe=B[te],Q=p.slice(_e,Fe);x.tokens&&(te===0&&I!==0?(N[te].isPrefix=!0,N[te].value=k):N[te].value=Q,T(N[te]),de.maxDepth+=N[te].depth),(te!==0||Q!=="")&&Y.push(Q),be=Fe}if(be&&be+1<p.length){const te=p.slice(be+1);Y.push(te),x.tokens&&(N[N.length-1].value=te,T(N[N.length-1]),de.maxDepth+=N[N.length-1].depth)}de.slashes=B,de.parts=Y}return de};o.exports=H},513:(o,a,i)=>{const c=i(17),s=process.platform==="win32",{REGEX_BACKSLASH:y,REGEX_REMOVE_BACKSLASH:h,REGEX_SPECIAL_CHARS:v,REGEX_SPECIAL_CHARS_GLOBAL:d}=i(356);a.isObject=l=>l!==null&&typeof l=="object"&&!Array.isArray(l),a.hasRegexChars=l=>v.test(l),a.isRegexChar=l=>l.length===1&&a.hasRegexChars(l),a.escapeRegex=l=>l.replace(d,"\\$1"),a.toPosixSlashes=l=>l.replace(y,"/"),a.removeBackslashes=l=>l.replace(h,f=>f==="\\"?"":f),a.supportsLookbehinds=()=>{const l=process.version.slice(1).split(".").map(Number);return l.length===3&&l[0]>=9||l[0]===8&&l[1]>=10},a.isWindows=l=>l&&typeof l.windows=="boolean"?l.windows:s===!0||c.sep==="\\",a.escapeLast=(l,f,m)=>{const w=l.lastIndexOf(f,m);return w===-1?l:l[w-1]==="\\"?a.escapeLast(l,f,w-1):`${l.slice(0,w)}\\${l.slice(w)}`},a.removePrefix=(l,f={})=>{let m=l;return m.startsWith("./")&&(m=m.slice(2),f.prefix="./"),m},a.wrapOutput=(l,f={},m={})=>{const w=m.contains?"":"^",$=m.contains?"":"$";let j=`${w}(?:${l})${$}`;return f.negated===!0&&(j=`(?:^(?!${j}).*$)`),j}},492:(o,a,i)=>{/*!
|
|
116
|
-
* to-regex-range <https://github.com/micromatch/to-regex-range>
|
|
117
|
-
*
|
|
118
|
-
* Copyright (c) 2015-present, Jon Schlinkert.
|
|
119
|
-
* Released under the MIT License.
|
|
120
|
-
*/const c=i(357),s=(P,T,H)=>{if(c(P)===!1)throw new TypeError("toRegexRange: expected the first argument to be a number");if(T===void 0||P===T)return String(P);if(c(T)===!1)throw new TypeError("toRegexRange: expected the second argument to be a number.");let p={relaxZeros:!0,...H};typeof p.strictZeros=="boolean"&&(p.relaxZeros=p.strictZeros===!1);let E=String(p.relaxZeros),x=String(p.shorthand),O=String(p.capture),S=String(p.wrap),B=P+":"+T+"="+E+x+O+S;if(s.cache.hasOwnProperty(B))return s.cache[B].result;let N=Math.min(P,T),Y=Math.max(P,T);if(Math.abs(N-Y)===1){let g=P+"|"+T;return p.capture?`(${g})`:p.wrap===!1?g:`(?:${g})`}let V=L(P)||L(T),U={min:P,max:T,a:N,b:Y},I=[],Z=[];if(V&&(U.isPadded=V,U.maxLen=String(U.max).length),N<0){let g=Y<0?Math.abs(Y):1;Z=d(g,Math.abs(N),U,p),N=U.a=0}return Y>=0&&(I=d(N,Y,U,p)),U.negatives=Z,U.positives=I,U.result=y(Z,I),p.capture===!0?U.result=`(${U.result})`:p.wrap!==!1&&I.length+Z.length>1&&(U.result=`(?:${U.result})`),s.cache[B]=U,U.result};function y(P,T,H){let p=l(P,T,"-",!1)||[],E=l(T,P,"",!1)||[],x=l(P,T,"-?",!0)||[];return p.concat(x).concat(E).join("|")}function h(P,T){let H=1,p=1,E=$(P,H),x=new Set([T]);for(;P<=E&&E<=T;)x.add(E),H+=1,E=$(P,H);for(E=j(T+1,p)-1;P<E&&E<=T;)x.add(E),p+=1,E=j(T+1,p)-1;return x=[...x],x.sort(m),x}function v(P,T,H){if(P===T)return{pattern:P,count:[],digits:0};let p=f(P,T),E=p.length,x="",O=0;for(let S=0;S<E;S++){let[B,N]=p[S];B===N?x+=B:B!=="0"||N!=="9"?x+=D(B,N):O++}return O&&(x+=H.shorthand===!0?"\\d":"[0-9]"),{pattern:x,count:[O],digits:E}}function d(P,T,H,p){let E=h(P,T),x=[],O=P,S;for(let B=0;B<E.length;B++){let N=E[B],Y=v(String(O),String(N),p),V="";if(!H.isPadded&&S&&S.pattern===Y.pattern){S.count.length>1&&S.count.pop(),S.count.push(Y.count[0]),S.string=S.pattern+b(S.count),O=N+1;continue}H.isPadded&&(V=W(N,H,p)),Y.string=V+Y.pattern+b(Y.count),x.push(Y),O=N+1,S=Y}return x}function l(P,T,H,p,E){let x=[];for(let O of P){let{string:S}=O;!p&&!w(T,"string",S)&&x.push(H+S),p&&w(T,"string",S)&&x.push(H+S)}return x}function f(P,T){let H=[];for(let p=0;p<P.length;p++)H.push([P[p],T[p]]);return H}function m(P,T){return P>T?1:T>P?-1:0}function w(P,T,H){return P.some(p=>p[T]===H)}function $(P,T){return Number(String(P).slice(0,-T)+"9".repeat(T))}function j(P,T){return P-P%Math.pow(10,T)}function b(P){let[T=0,H=""]=P;return H||T>1?`{${T+(H?","+H:"")}}`:""}function D(P,T,H){return`[${P}${T-P===1?"":"-"}${T}]`}function L(P){return/^-?(0+)\d/.test(P)}function W(P,T,H){if(!T.isPadded)return P;let p=Math.abs(T.maxLen-String(P).length),E=H.relaxZeros!==!1;switch(p){case 0:return"";case 1:return E?"0?":"0";case 2:return E?"0{0,2}":"00";default:return E?`0{0,${p}}`:`0{${p}}`}}s.cache={},s.clearCache=()=>s.cache={},o.exports=s},17:o=>{o.exports=ul},837:o=>{o.exports=Sl()}},t={};function r(o){var a=t[o];if(a!==void 0)return a.exports;var i=t[o]={exports:{}},c=!0;try{e[o](i,i.exports,r),c=!1}finally{c&&delete t[o]}return i.exports}typeof r<"u"&&(r.ab=__dirname+"/");var n=r(971);kt.exports=n})()),kt.exports}var Sn;function $l(){return Sn||(Sn=1,function(e){Object.defineProperty(e,"__esModule",{value:!0});function t(a,i){for(var c in i)Object.defineProperty(a,c,{enumerable:!0,get:i[c]})}t(e,{matchRemotePattern:function(){return n},hasMatch:function(){return o}});const r=Cl();function n(a,i){if(a.protocol!==void 0){const s=i.protocol.slice(0,-1);if(a.protocol!==s)return!1}if(a.port!==void 0&&a.port!==i.port)return!1;if(a.hostname===void 0)throw new Error(`Pattern should define hostname but found
|
|
121
|
-
`+JSON.stringify(a));if(!(0,r.makeRe)(a.hostname).test(i.hostname))return!1;var c;return!!(0,r.makeRe)((c=a.pathname)!=null?c:"**").test(i.pathname)}function o(a,i,c){return a.some(s=>c.hostname===s)||i.some(s=>n(s,c))}}(It)),It}var Cn;function Rl(){return Cn||(Cn=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return r}});function t(n){let{config:o,src:a,width:i,quality:c}=n;if(process.env.NODE_ENV!=="production"){const s=[];if(a||s.push("src"),i||s.push("width"),s.length>0)throw new Error("Next Image Optimization requires "+s.join(", ")+" to be provided. Make sure you pass them as props to the `next/image` component. Received: "+JSON.stringify({src:a,width:i,quality:c}));if(a.startsWith("//"))throw new Error('Failed to parse src "'+a+'" on `next/image`, protocol-relative URL (//) must be changed to an absolute URL (http:// or https://)');if(!a.startsWith("/")&&(o.domains||o.remotePatterns)){let y;try{y=new URL(a)}catch(h){throw console.error(h),new Error('Failed to parse src "'+a+'" on `next/image`, if using relative image it must start with a leading slash "/" or be an absolute URL (http:// or https://)')}if(process.env.NODE_ENV!=="test"&&process.env.NEXT_RUNTIME!=="edge"){const{hasMatch:h}=$l();if(!h(o.domains,o.remotePatterns,y))throw new Error("Invalid src prop ("+a+') on `next/image`, hostname "'+y.hostname+'" is not configured under images in your `next.config.js`\nSee more info: https://nextjs.org/docs/messages/next-image-unconfigured-host')}}}return o.path+"?url="+encodeURIComponent(a)+"&w="+i+"&q="+(c||75)}t.__next_img_default=!0;const r=t}(Mt)),Mt}(function(e,t){"use client";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return H}});const r=He,o=Xe._(F),a=r._(al()),i=il(),c=So(),s=sl(),y=Ao(),h=r._(Rl()),v=process.env.__NEXT_IMAGE_OPTS,d=new Map;let l;typeof window>"u"&&(globalThis.__NEXT_IMAGE_IMPORTED=!0);const f=["lazy","eager",void 0];function m(p){return p.default!==void 0}function w(p){return p.src!==void 0}function $(p){return typeof p=="object"&&(m(p)||w(p))}function j(p,E,x){let{deviceSizes:O,allSizes:S}=p;if(x){const N=/(^|\s)(1?\d?\d)vw/g,Y=[];for(let V;V=N.exec(x);V)Y.push(parseInt(V[2]));if(Y.length){const V=Math.min(...Y)*.01;return{widths:S.filter(U=>U>=O[0]*V),kind:"w"}}return{widths:S,kind:"w"}}return typeof E!="number"?{widths:O,kind:"w"}:{widths:[...new Set([E,E*2].map(N=>S.find(Y=>Y>=N)||S[S.length-1]))],kind:"x"}}function b(p){let{config:E,src:x,unoptimized:O,width:S,quality:B,sizes:N,loader:Y}=p;if(O)return{src:x,srcSet:void 0,sizes:void 0};const{widths:V,kind:U}=j(E,S,N),I=V.length-1;return{sizes:!N&&U==="w"?"100vw":N,srcSet:V.map((Z,g)=>Y({config:E,src:x,quality:B,width:Z})+" "+(U==="w"?Z:g+1)+U).join(", "),src:Y({config:E,src:x,quality:B,width:V[I]})}}function D(p){return typeof p>"u"?p:typeof p=="number"?Number.isFinite(p)?p:NaN:typeof p=="string"&&/^[0-9]+$/.test(p)?parseInt(p,10):NaN}function L(p,E,x,O,S,B,N){if(!p||p["data-loaded-src"]===E)return;p["data-loaded-src"]=E,("decode"in p?p.decode():Promise.resolve()).catch(()=>{}).then(()=>{if(!(!p.parentElement||!p.isConnected)){if(x==="blur"&&B(!0),O?.current){const V=new Event("load");Object.defineProperty(V,"target",{writable:!1,value:p});let U=!1,I=!1;O.current({...V,nativeEvent:V,currentTarget:p,target:p,isDefaultPrevented:()=>U,isPropagationStopped:()=>I,persist:()=>{},preventDefault:()=>{U=!0,V.preventDefault()},stopPropagation:()=>{I=!0,V.stopPropagation()}})}if(S?.current&&S.current(p),process.env.NODE_ENV!=="production"){if(p.getAttribute("data-nimg")==="fill"){if(!N&&(!p.getAttribute("sizes")||p.getAttribute("sizes")==="100vw")&&p.getBoundingClientRect().width/window.innerWidth<.6&&(0,y.warnOnce)('Image with src "'+E+'" has "fill" but is missing "sizes" prop. Please add it to improve page performance. Read more: https://nextjs.org/docs/api-reference/next/image#sizes'),p.parentElement){const{position:I}=window.getComputedStyle(p.parentElement),Z=["absolute","fixed","relative"];Z.includes(I)||(0,y.warnOnce)('Image with src "'+E+'" has "fill" and parent element with invalid "position". Provided "'+I+'" should be one of '+Z.map(String).join(",")+".")}p.height===0&&(0,y.warnOnce)('Image with src "'+E+'" has "fill" and a height value of 0. This is likely because the parent element of the image has not been styled to have a set height.')}const V=p.height.toString()!==p.getAttribute("height"),U=p.width.toString()!==p.getAttribute("width");(V&&!U||!V&&U)&&(0,y.warnOnce)('Image with src "'+E+`" has either width or height modified, but not the other. If you use CSS to change the size of your image, also include the styles 'width: "auto"' or 'height: "auto"' to maintain the aspect ratio.`)}}})}function W(p){const[E,x]=o.version.split("."),O=parseInt(E,10),S=parseInt(x,10);return O>18||O===18&&S>=3?{fetchPriority:p}:{fetchpriority:p}}const P=(0,o.forwardRef)((p,E)=>{let{imgAttributes:x,heightInt:O,widthInt:S,qualityInt:B,className:N,imgStyle:Y,blurStyle:V,isLazy:U,fetchPriority:I,fill:Z,placeholder:g,loading:C,srcString:_,config:G,unoptimized:K,loader:q,onLoadRef:A,onLoadingCompleteRef:J,setBlurComplete:X,setShowAltText:ce,onLoad:M,onError:R,...ae}=p;return C=U?"lazy":C,o.default.createElement("img",{...ae,...W(I),loading:C,width:S,height:O,decoding:"async","data-nimg":Z?"fill":"1",className:N,style:{...Y,...V},...x,ref:(0,o.useCallback)(ne=>{E&&(typeof E=="function"?E(ne):typeof E=="object"&&(E.current=ne)),ne&&(R&&(ne.src=ne.src),process.env.NODE_ENV!=="production"&&(_||console.error('Image is missing required "src" property:',ne),ne.getAttribute("alt")===null&&console.error('Image is missing required "alt" property. Please add Alternative Text to describe the image for screen readers and search engines.')),ne.complete&&L(ne,_,g,A,J,X,K))},[_,g,A,J,X,R,K,E]),onLoad:ne=>{const me=ne.currentTarget;L(me,_,g,A,J,X,K)},onError:ne=>{ce(!0),g==="blur"&&X(!0),R&&R(ne)}})}),H=(0,o.forwardRef)((p,E)=>{let{src:x,sizes:O,unoptimized:S=!1,priority:B=!1,loading:N,className:Y,quality:V,width:U,height:I,fill:Z,style:g,onLoad:C,onLoadingComplete:_,placeholder:G="empty",blurDataURL:K,fetchPriority:q,layout:A,objectFit:J,objectPosition:X,lazyBoundary:ce,lazyRoot:M,...R}=p;const ae=(0,o.useContext)(s.ImageConfigContext),ne=(0,o.useMemo)(()=>{const ie=v||ae||c.imageConfigDefault,ve=[...ie.deviceSizes,...ie.imageSizes].sort((Ce,$e)=>Ce-$e),Ee=ie.deviceSizes.sort((Ce,$e)=>Ce-$e);return{...ie,allSizes:ve,deviceSizes:Ee}},[ae]);let me=R,fe=me.loader||h.default;delete me.loader;const le="__next_img_default"in fe;if(le){if(ne.loader==="custom")throw new Error('Image with src "'+x+`" is missing "loader" prop.
|
|
122
|
-
Read more: https://nextjs.org/docs/messages/next-image-missing-loader`)}else{const ie=fe;fe=ve=>{const{config:Ee,...Ce}=ve;return ie(Ce)}}if(A){A==="fill"&&(Z=!0);const ie={intrinsic:{maxWidth:"100%",height:"auto"},responsive:{width:"100%",height:"auto"}},ve={responsive:"100vw",fill:"100vw"},Ee=ie[A];Ee&&(g={...g,...Ee});const Ce=ve[A];Ce&&!O&&(O=Ce)}let k="",ye=D(U),de=D(I),be,te;if($(x)){const ie=m(x)?x.default:x;if(!ie.src)throw new Error("An object should only be passed to the image component src parameter if it comes from a static image import. It must include src. Received "+JSON.stringify(ie));if(!ie.height||!ie.width)throw new Error("An object should only be passed to the image component src parameter if it comes from a static image import. It must include height and width. Received "+JSON.stringify(ie));if(be=ie.blurWidth,te=ie.blurHeight,K=K||ie.blurDataURL,k=ie.src,!Z){if(!ye&&!de)ye=ie.width,de=ie.height;else if(ye&&!de){const ve=ye/ie.width;de=Math.round(ie.height*ve)}else if(!ye&&de){const ve=de/ie.height;ye=Math.round(ie.width*ve)}}}x=typeof x=="string"?x:k;let _e=!B&&(N==="lazy"||typeof N>"u");(!x||x.startsWith("data:")||x.startsWith("blob:"))&&(S=!0,_e=!1),ne.unoptimized&&(S=!0),le&&x.endsWith(".svg")&&!ne.dangerouslyAllowSVG&&(S=!0),B&&(q="high");const[Fe,Q]=(0,o.useState)(!1),[pe,z]=(0,o.useState)(!1),se=D(V);if(process.env.NODE_ENV!=="production"){if(ne.output==="export"&&le&&!S)throw new Error("Image Optimization using the default loader is not compatible with `{ output: 'export' }`.\n Possible solutions:\n - Remove `{ output: 'export' }` and run \"next start\" to run server mode including the Image Optimization API.\n - Configure `{ images: { unoptimized: true } }` in `next.config.js` to disable the Image Optimization API.\n Read more: https://nextjs.org/docs/messages/export-image-api");if(!x)S=!0;else if(Z){if(U)throw new Error('Image with src "'+x+'" has both "width" and "fill" properties. Only one should be used.');if(I)throw new Error('Image with src "'+x+'" has both "height" and "fill" properties. Only one should be used.');if(g?.position&&g.position!=="absolute")throw new Error('Image with src "'+x+'" has both "fill" and "style.position" properties. Images with "fill" always use position absolute - it cannot be modified.');if(g?.width&&g.width!=="100%")throw new Error('Image with src "'+x+'" has both "fill" and "style.width" properties. Images with "fill" always use width 100% - it cannot be modified.');if(g?.height&&g.height!=="100%")throw new Error('Image with src "'+x+'" has both "fill" and "style.height" properties. Images with "fill" always use height 100% - it cannot be modified.')}else{if(typeof ye>"u")throw new Error('Image with src "'+x+'" is missing required "width" property.');if(isNaN(ye))throw new Error('Image with src "'+x+'" has invalid "width" property. Expected a numeric value in pixels but received "'+U+'".');if(typeof de>"u")throw new Error('Image with src "'+x+'" is missing required "height" property.');if(isNaN(de))throw new Error('Image with src "'+x+'" has invalid "height" property. Expected a numeric value in pixels but received "'+I+'".')}if(!f.includes(N))throw new Error('Image with src "'+x+'" has invalid "loading" property. Provided "'+N+'" should be one of '+f.map(String).join(",")+".");if(B&&N==="lazy")throw new Error('Image with src "'+x+`" has both "priority" and "loading='lazy'" properties. Only one should be used.`);if(G==="blur"&&(ye&&de&&ye*de<1600&&(0,y.warnOnce)('Image with src "'+x+`" is smaller than 40x40. Consider removing the "placeholder='blur'" property to improve performance.`),!K)){const ie=["jpeg","png","webp","avif"];throw new Error('Image with src "'+x+`" has "placeholder='blur'" property but is missing the "blurDataURL" property.
|
|
123
|
-
Possible solutions:
|
|
124
|
-
- Add a "blurDataURL" property, the contents should be a small Data URL to represent the image
|
|
125
|
-
- Change the "src" property to a static import with one of the supported file types: `+ie.join(",")+`
|
|
126
|
-
- Remove the "placeholder" property, effectively no blur effect
|
|
127
|
-
Read more: https://nextjs.org/docs/messages/placeholder-blur-data-url`)}if("ref"in me&&(0,y.warnOnce)('Image with src "'+x+'" is using unsupported "ref" property. Consider using the "onLoadingComplete" property instead.'),!S&&fe!==h.default){const ie=fe({config:ne,src:x,width:ye||400,quality:se||75});let ve;try{ve=new URL(ie)}catch{}(ie===x||ve&&ve.pathname===x&&!ve.search)&&(0,y.warnOnce)('Image with src "'+x+`" has a "loader" property that does not implement width. Please implement it or use the "unoptimized" property instead.
|
|
128
|
-
Read more: https://nextjs.org/docs/messages/next-image-missing-loader-width`)}for(const[ie,ve]of Object.entries({layout:A,objectFit:J,objectPosition:X,lazyBoundary:ce,lazyRoot:M}))ve&&(0,y.warnOnce)('Image with src "'+x+'" has legacy prop "'+ie+`". Did you forget to run the codemod?
|
|
129
|
-
Read more: https://nextjs.org/docs/messages/next-image-upgrade-to-13`);if(typeof window<"u"&&!l&&window.PerformanceObserver){l=new PerformanceObserver(ie=>{for(const Ee of ie.getEntries()){var ve;const Ce=(Ee==null||(ve=Ee.element)==null?void 0:ve.src)||"",$e=d.get(Ce);$e&&!$e.priority&&$e.placeholder!=="blur"&&!$e.src.startsWith("data:")&&!$e.src.startsWith("blob:")&&(0,y.warnOnce)('Image with src "'+$e.src+`" was detected as the Largest Contentful Paint (LCP). Please add the "priority" property if this image is above the fold.
|
|
130
|
-
Read more: https://nextjs.org/docs/api-reference/next/image#priority`)}});try{l.observe({type:"largest-contentful-paint",buffered:!0})}catch(ie){console.error(ie)}}}const he=Object.assign(Z?{position:"absolute",height:"100%",width:"100%",left:0,top:0,right:0,bottom:0,objectFit:J,objectPosition:X}:{},pe?{}:{color:"transparent"},g),xe=G==="blur"&&K&&!Fe?{backgroundSize:he.objectFit||"cover",backgroundPosition:he.objectPosition||"50% 50%",backgroundRepeat:"no-repeat",backgroundImage:'url("data:image/svg+xml;charset=utf-8,'+(0,i.getImageBlurSvg)({widthInt:ye,heightInt:de,blurWidth:be,blurHeight:te,blurDataURL:K,objectFit:he.objectFit})+'")'}:{};process.env.NODE_ENV==="development"&&xe.backgroundImage&&K?.startsWith("/")&&(xe.backgroundImage='url("'+K+'")');const ue=b({config:ne,src:x,unoptimized:S,width:ye,quality:se,sizes:O,loader:fe});let Qe=x;if(process.env.NODE_ENV!=="production"&&typeof window<"u"){let ie;try{ie=new URL(ue.src)}catch{ie=new URL(ue.src,window.location.href)}d.set(ie.href,{src:x,priority:B,placeholder:G})}const Be=(0,o.useRef)(C);(0,o.useEffect)(()=>{Be.current=C},[C]);const Sr=(0,o.useRef)(_);(0,o.useEffect)(()=>{Sr.current=_},[_]);const ea={isLazy:_e,imgAttributes:ue,heightInt:de,widthInt:ye,qualityInt:se,className:Y,imgStyle:he,blurStyle:xe,loading:N,config:ne,fetchPriority:q,fill:Z,unoptimized:S,placeholder:G,loader:fe,srcString:Qe,onLoadRef:Be,onLoadingCompleteRef:Sr,setBlurComplete:Q,setShowAltText:z,...me};return o.default.createElement(o.default.Fragment,null,o.default.createElement(P,{...ea,ref:E}),B?o.default.createElement(a.default,null,o.default.createElement("link",{key:"__nimg-"+ue.src+ue.srcSet+ue.sizes,rel:"preload",as:"image",href:ue.srcSet?void 0:ue.src,imageSrcSet:ue.srcSet,imageSizes:ue.sizes,crossOrigin:me.crossOrigin,...W(q)})):null)});(typeof t.default=="function"||typeof t.default=="object"&&t.default!==null)&&typeof t.default.__esModule>"u"&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)})(cr,cr.exports);var _l=cr.exports,El=_l;const $n=Ks(El),jo=e=>{const{src:t,width:r,height:n,themeName:o="img",tokens:a,customTheme:i,...c}=e,s=re(o,a,i);if(typeof t=="object"){const{blurWidth:y,blurHeight:h,width:v,height:d,...l}=t,f={blurwidth:y,blurheight:h};return u.jsx($n,{className:s,...l,...c,...f,width:v??r,height:d??n})}return u.jsx($n,{width:r,height:n,className:s,src:t,...c})},jl=process.env.NEXT_PUBLIC_IMG_DOMAIN??"",Ol=e=>{const{fit:t,customTheme:r,thumbhash:n,description:o,width:a,height:i,id:c,filenameDownload:s,...y}=e;if(!c||!s)return null;const v=(()=>{try{const d=new URL(`/assets/${c}/${s}`,`https://${jl}`);return d.searchParams.set("fit",t??"contain"),d}catch(d){return console.warn(d),null}})();return v==null?null:u.jsx(jo,{alt:o??"",...n?{blurDataURL:Js(n),placeholder:"blur"}:{},src:v.href,...y,width:a??void 0,height:i??void 0})},Tl=e=>u.jsx("svg",{width:24,height:24,fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:u.jsx("path",{d:"M17.728 13.66 12.388 19 7.05 13.66M12.4 5v14",stroke:"currentColor"})}),Oo=F.memo(Tl,ge),Pl=Object.freeze(Object.defineProperty({__proto__:null,default:Oo},Symbol.toStringTag,{value:"Module"})),Ml=e=>u.jsxs("svg",{width:24,height:24,fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:[u.jsx("g",{children:u.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"})}),u.jsx("defs",{children:u.jsx("clipPath",{children:u.jsx("path",{fill:"currentColor",d:"M0 0h24v24H0z"})})})]}),To=F.memo(Ml,ge),Il=Object.freeze(Object.defineProperty({__proto__:null,default:To},Symbol.toStringTag,{value:"Module"})),kl=e=>u.jsxs("svg",{width:24,height:24,fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:[u.jsx("g",{children:u.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"})}),u.jsx("defs",{children:u.jsx("clipPath",{children:u.jsx("path",{fill:"currentColor",d:"M0 0h24v24H0z"})})})]}),Po=F.memo(kl,ge),Dl=Object.freeze(Object.defineProperty({__proto__:null,default:Po},Symbol.toStringTag,{value:"Module"})),Bl=e=>u.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",height:48,width:48,fill:"currentColor",viewBox:"0 0 48 48",...e,children:u.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"})}),Mo=F.memo(Bl,ge),Ll=Object.freeze(Object.defineProperty({__proto__:null,default:Mo},Symbol.toStringTag,{value:"Module"})),Nl=e=>u.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",height:"48",width:"48",fill:"currentColor",...e,children:u.jsx("path",{d:"M28.05 36 16 23.95 28.05 11.9l2.15 2.15-9.9 9.9 9.9 9.9Z"})}),Io=F.memo(Nl,ge),Hl=Object.freeze(Object.defineProperty({__proto__:null,default:Io},Symbol.toStringTag,{value:"Module"})),Fl=e=>u.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",height:"48",width:"48",fill:"currentColor",...e,children:u.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"})}),ko=F.memo(Fl,ge),Ul=Object.freeze(Object.defineProperty({__proto__:null,default:ko},Symbol.toStringTag,{value:"Module"})),ql=e=>u.jsx("svg",{width:42,height:42,fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 72 72",...e,children:u.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"})}),Do=F.memo(ql,ge),Gl=Object.freeze(Object.defineProperty({__proto__:null,default:Do},Symbol.toStringTag,{value:"Module"})),zl=e=>u.jsx("svg",{width:24,height:24,fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:u.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"})}),Bo=F.memo(zl,ge),Vl=Object.freeze(Object.defineProperty({__proto__:null,default:Bo},Symbol.toStringTag,{value:"Module"})),Wl=e=>u.jsx("svg",{width:24,height:24,xmlns:"http://www.w3.org/2000/svg",xmlSpace:"preserve",viewBox:"0 0 256 256",...e,children:u.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"})}),Lo=F.memo(Wl,ge),Yl=Object.freeze(Object.defineProperty({__proto__:null,default:Lo},Symbol.toStringTag,{value:"Module"})),Ql=e=>u.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,viewBox:"0 0 24 25",fill:"none",...e,children:u.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"})}),No=F.memo(Ql,ge),Jl=Object.freeze(Object.defineProperty({__proto__:null,default:No},Symbol.toStringTag,{value:"Module"})),Kl=e=>u.jsxs("svg",{width:"40",height:"40",viewBox:"0 0 67 67",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[u.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"}),u.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"}),u.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"}),u.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"})]}),Ho=F.memo(Kl,ge),Zl=Object.freeze(Object.defineProperty({__proto__:null,default:Ho},Symbol.toStringTag,{value:"Module"})),Xl=e=>u.jsx("svg",{width:24,height:24,xmlns:"http://www.w3.org/2000/svg",xmlSpace:"preserve",viewBox:"0 0 256 256",...e,children:u.jsxs("g",{fill:"currentColor",strokeMiterlimit:"10",strokeWidth:"0",children:[u.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"}),u.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"})]})}),Fo=F.memo(Xl,ge),ec=Object.freeze(Object.defineProperty({__proto__:null,default:Fo},Symbol.toStringTag,{value:"Module"})),tc=e=>u.jsx("svg",{width:24,height:24,xmlns:"http://www.w3.org/2000/svg",xmlSpace:"preserve",viewBox:"0 0 256 256",...e,children:u.jsxs("g",{fill:"none",strokeMiterlimit:"10",strokeWidth:"0",transform:"matrix(2.8 0 0 2.8 1.4 1.4)",children:[u.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:[u.jsx("stop",{offset:"0%",stopColor:"#ffd600"}),u.jsx("stop",{offset:"50%",stopColor:"#ff0100"}),u.jsx("stop",{offset:"100%",stopColor:"#d800b9"})]}),u.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"}),u.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:[u.jsx("stop",{offset:"0%",stopColor:"#ff6400"}),u.jsx("stop",{offset:"50%",stopColor:"#ff0100"}),u.jsx("stop",{offset:"100%",stopColor:"#fd0056"})]}),u.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"}),u.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:[u.jsx("stop",{offset:"0%",stopColor:"#f30072"}),u.jsx("stop",{offset:"100%",stopColor:"#e50097"})]}),u.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"})]})}),Uo=F.memo(tc,ge),rc=Object.freeze(Object.defineProperty({__proto__:null,default:Uo},Symbol.toStringTag,{value:"Module"})),nc=e=>u.jsx("svg",{width:24,height:24,xmlns:"http://www.w3.org/2000/svg",xmlSpace:"preserve",viewBox:"0 0 256 256",...e,children:u.jsxs("g",{fill:"currentColor",strokeMiterlimit:"10",strokeWidth:"0",children:[u.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"}),u.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"})]})}),qo=F.memo(nc,ge),oc=Object.freeze(Object.defineProperty({__proto__:null,default:qo},Symbol.toStringTag,{value:"Module"})),ac=e=>u.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:18,height:19,viewBox:"0 0 18 19",fill:"none",...e,children:u.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"})}),Go=F.memo(ac,ge),ic=Object.freeze(Object.defineProperty({__proto__:null,default:Go},Symbol.toStringTag,{value:"Module"})),sc=e=>u.jsx("svg",{width:24,height:24,xmlns:"http://www.w3.org/2000/svg",xmlSpace:"preserve",viewBox:"0 0 256 256",...e,children:u.jsxs("g",{fill:"currentColor",strokeMiterlimit:"10",strokeWidth:"0",transform:"matrix(2.8 0 0 2.8 1.4 1.4)",children:[u.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"}),u.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"}),u.jsx("rect",{width:"39",height:"6",x:"-1",y:"57.2",rx:"0",ry:"0",transform:"rotate(-45.1 18.5 60.2)"}),u.jsx("rect",{width:"6",height:"39",x:"68.5",y:"40.7",rx:"0",ry:"0",transform:"rotate(-44.8 71.5 60.2)"})]})}),zo=F.memo(sc,ge),lc=Object.freeze(Object.defineProperty({__proto__:null,default:zo},Symbol.toStringTag,{value:"Module"})),cc=e=>u.jsxs("svg",{height:48,width:48,fill:"currentColor",...e,xmlns:"http://www.w3.org/2000/svg",children:[u.jsx("ellipse",{cx:"26",cy:"24.095",rx:"26",ry:"23.547",fill:"#fff"}),u.jsx("path",{d:"M37.742 24.095H14.258M26 13.46V34.73 13.46Z",stroke:"#9E9E9E",strokeWidth:"5",strokeLinecap:"round",strokeLinejoin:"round"})]}),Vo=F.memo(cc,ge),uc=Object.freeze(Object.defineProperty({__proto__:null,default:Vo},Symbol.toStringTag,{value:"Module"})),fc=e=>u.jsx("svg",{width:24,height:24,xmlns:"http://www.w3.org/2000/svg",xmlSpace:"preserve",viewBox:"0 0 256 256",...e,children:u.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"})}),Wo=F.memo(fc,ge),dc=Object.freeze(Object.defineProperty({__proto__:null,default:Wo},Symbol.toStringTag,{value:"Module"})),pc=e=>u.jsx("svg",{width:24,height:24,xmlns:"http://www.w3.org/2000/svg",xmlSpace:"preserve",viewBox:"0 0 256 256",...e,children:u.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"})}),Yo=F.memo(pc,ge),hc=Object.freeze(Object.defineProperty({__proto__:null,default:Yo},Symbol.toStringTag,{value:"Module"})),yc=e=>u.jsx("svg",{width:24,height:24,xmlns:"http://www.w3.org/2000/svg",xmlSpace:"preserve",viewBox:"0 0 256 256",...e,children:u.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"})}),Qo=F.memo(yc,ge),gc=Object.freeze(Object.defineProperty({__proto__:null,default:Qo},Symbol.toStringTag,{value:"Module"})),mc=e=>u.jsx("svg",{width:24,height:24,fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:u.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"})}),Jo=F.memo(mc,ge),bc=Object.freeze(Object.defineProperty({__proto__:null,default:Jo},Symbol.toStringTag,{value:"Module"})),vc=e=>u.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,viewBox:"0 0 24 25",fill:"none",...e,children:u.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"})}),Ko=F.memo(vc,ge),xc=Object.freeze(Object.defineProperty({__proto__:null,default:Ko},Symbol.toStringTag,{value:"Module"})),wc=e=>u.jsx("svg",{width:24,height:24,xmlns:"http://www.w3.org/2000/svg",xmlSpace:"preserve",viewBox:"0 0 256 256",...e,children:u.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"})}),Zo=F.memo(wc,ge),Ac=Object.freeze(Object.defineProperty({__proto__:null,default:Zo},Symbol.toStringTag,{value:"Module"})),Sc=e=>u.jsx("svg",{width:24,height:24,xmlns:"http://www.w3.org/2000/svg",xmlSpace:"preserve",viewBox:"0 0 256 256",...e,children:u.jsxs("g",{fill:"currentColor",strokeMiterlimit:"10",strokeWidth:"0",children:[u.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"}),u.jsx("path",{fill:"#fff",d:"m102.57 165.8 65.7-37.94-65.7-37.94z"})]})}),Xo=F.memo(Sc,ge),Cc=Object.freeze(Object.defineProperty({__proto__:null,default:Xo},Symbol.toStringTag,{value:"Module"})),[$c,Rc]=Bn();function _c({children:e}){const[t,r]=F.useState(!1);F.useEffect(()=>{r(!0)},[]);const n=F.useMemo(()=>({isClient:t}),[t]);return u.jsx(Rc,{value:n,children:e})}const xt=(e,t,r="sharing_tool")=>`?utm_source=${e}&utm_medium=${t}&utm_campaign=${r}`,wt=()=>{const[e,t]=F.useState(),[r,n]=F.useState();return F.useEffect(()=>{t(window.location.href),n(window.document.title)},[]),{windowLocation:e,windowTitle:r}},Ec=(e,t,r)=>{const{windowLocation:n,windowTitle:o}=wt(),a=r??n,i=xt(e,t);return`https://www.facebook.com/sharer.php?u=${`${a}${i}`}&t=${o}`},jc=(e,t,r)=>{const{windowLocation:n,windowTitle:o}=wt(),a=r??n,i=xt(e,t),c=`${a}${i}`;return`mailto:?to=&body=${o}%20${c}`},Oc=(e,t,r)=>{const{windowLocation:n}=wt(),o=r??n,a=xt(e,t);return`https://twitter.com/intent/tweet?text=${`${o}${a}`}`};exports.Accordion=Ai;exports.ArrowDown=Oo;exports.ArrowLeft=To;exports.ArrowRight=Po;exports.Box=nr;exports.BoxWithForwardRef=Hn;exports.Button=We;exports.ButtonWithForwardRef=Ve;exports.Calendar=yo;exports.Check=Mo;exports.Checkbox=Gi;exports.ChevronLeft=Io;exports.ChevronRight=ko;exports.CloseBtn=Do;exports.Date=Ni;exports.DatePicker=Hs;exports.DirectusImg=Ol;exports.Facebook=Bo;exports.FacebookColored=Lo;exports.FacebookRounded=No;exports.Globe=Ho;exports.Icon=Re;exports.Img=jo;exports.Instagram=Fo;exports.InstagramColored=Uo;exports.IsClientContextProvider=_c;exports.Lightbox=ki;exports.Link=qo;exports.LinkedIn=Go;exports.Mail=zo;exports.Modal=hr;exports.Plus=Vo;exports.Popover=Bi;exports.Radio=xo;exports.RadioGroup=zs;exports.RadioGroupProvider=bo;exports.ReactHookFormInput=Vi;exports.ReactHookFormRadio=Gs;exports.ReactHookFormSelect=qi;exports.ReactHookFormTextArea=zi;exports.Select=Fn;exports.Share=Wo;exports.ShareButton=Ci;exports.SidePanel=Ii;exports.SidePanelContextProvider=Ri;exports.TextArea=Un;exports.TextInputField=qn;exports.ThemeContextProvider=Tn;exports.ThemeProvider=gi;exports.Twitter=Yo;exports.TwitterColored=Qo;exports.Typography=Ae;exports.Upload=Jo;exports.WysiwygBlock=Li;exports.X=Ko;exports.YouTube=Zo;exports.YouTubeColored=Xo;exports.createThemeProvider=Pn;exports.generateUtmTags=xt;exports.makeTheme=jn;exports.useFacebookShareUrl=Ec;exports.useIsClient=$c;exports.useMailToShareUrl=jc;exports.useRadioGroupCtx=vo;exports.useSidePanel=Nn;exports.useTheme=On;exports.useThemeContext=re;exports.useTwitterShareUrl=Oc;exports.useWindow=wt;
|
|
93
|
+
*/function Us(e,t,r){const n=e*4+1,s=6+t*(5+n),a=[137,80,78,71,13,10,26,10,0,0,0,13,73,72,68,82,0,0,e>>8,e&255,0,0,t>>8,t&255,8,6,0,0,0,0,0,0,0,s>>>24,s>>16&255,s>>8&255,s&255,73,68,65,84,120,1],i=[0,498536548,997073096,651767980,1994146192,1802195444,1303535960,1342533948,-306674912,-267414716,-690576408,-882789492,-1687895376,-2032938284,-1609899400,-1111625188];let l=1,c=0;for(let f=0,m=0,u=n-1;f<t;f++,u+=n-1)for(a.push(f+1<t?0:1,n&255,n>>8,~n&255,n>>8^255,0),c=(c+l)%65521;m<u;m++){const g=r[m]&255;a.push(g),l=(l+g)%65521,c=(c+l)%65521}a.push(c>>8,c&255,l>>8,l&255,0,0,0,0,0,0,0,0,73,69,78,68,174,66,96,130);for(let[f,m]of[[12,29],[37,41+s]]){let u=-1;for(let g=f;g<m;g++)u^=a[g],u=u>>>4^i[u&15],u=u>>>4^i[u&15];u=~u,a[m++]=u>>>24,a[m++]=u>>16&255,a[m++]=u>>8&255,a[m++]=u&255}return`data:image/png;base64,${typeof Buffer<"u"?Buffer.from(new Uint8Array(a)).toString("base64"):btoa(String.fromCharCode(...a))}`}function Vs(e){let{PI:t,min:r,max:n,cos:s,round:a}=Math,i=e[0]|e[1]<<8|e[2]<<16,l=e[3]|e[4]<<8,c=(i&63)/63,d=(i>>6&63)/31.5-1,f=(i>>12&63)/31.5-1,m=(i>>18&31)/31,u=i>>23,g=(l>>3&63)/63,w=(l>>9&63)/63,p=l>>15,v=n(3,p?u?5:7:l&7),$=n(3,p?l&7:u?5:7),S=u?(e[5]&15)/15:1,D=(e[5]>>4)/15,j=u?6:5,P=0,I=(ie,O,le)=>{let Z=[];for(let G=0;G<O;G++)for(let K=G?0:1;K*O<ie*(O-G);K++)Z.push(((e[j+(P>>1)]>>((P++&1)<<2)&15)/7.5-1)*le);return Z},z=I(v,$,m),J=I(3,3,g*1.25),E=I(3,3,w*1.25),me=u&&I(5,5,D),ge=qs(e),pe=a(ge>1?32:32*ge),be=a(ge>1?32/ge:32),ae=new Uint8Array(pe*be*4),xe=[],ye=[];for(let ie=0,O=0;ie<be;ie++)for(let le=0;le<pe;le++,O+=4){let Z=c,G=d,K=f,rt=S;for(let C=0,T=n(v,u?5:3);C<T;C++)xe[C]=s(t/pe*(le+.5)*C);for(let C=0,T=n($,u?5:3);C<T;C++)ye[C]=s(t/be*(ie+.5)*C);for(let C=0,T=0;C<$;C++)for(let B=C?0:1,ce=ye[C]*2;B*$<v*($-C);B++,T++)Z+=z[T]*xe[B]*ce;for(let C=0,T=0;C<3;C++)for(let B=C?0:1,ce=ye[C]*2;B<3-C;B++,T++){let st=xe[B]*ce;G+=J[T]*st,K+=E[T]*st}if(u)for(let C=0,T=0;C<5;C++)for(let B=C?0:1,ce=ye[C]*2;B<5-C;B++,T++)rt+=me[T]*xe[B]*ce;let nt=Z-2/3*G,ot=(3*Z-nt+K)/2,zr=ot-K;ae[O]=n(0,255*r(1,ot)),ae[O+1]=n(0,255*r(1,zr)),ae[O+2]=n(0,255*r(1,nt)),ae[O+3]=n(0,255*r(1,rt))}return{w:pe,h:be,rgba:ae}}function qs(e){let t=e[3],r=e[2]&128,n=e[4]&128,s=n?r?5:7:t&7,a=n?t&7:r?5:7;return s/a}function Ys(e){const{w:t,h:r,rgba:n}=Vs(Fs(e));return Us(t,r,n)}const $r=e=>{const{src:t,width:r,height:n,themeName:s="img",tokens:a,customTheme:i,...l}=e,c=x(s,a,i);if(typeof t=="object"){const{blurWidth:d,blurHeight:f,width:m,height:u,...g}=t,w={blurwidth:d,blurheight:f};return o.jsx(at,{className:c,...g,...l,...w,width:m??r,height:u??n})}return o.jsx(at,{width:r,height:n,className:c,src:t,...l})},Hs=process.env.NEXT_PUBLIC_IMG_DOMAIN??"",zs=e=>{const{fit:t,customTheme:r,thumbhash:n,description:s,width:a,height:i,id:l,filenameDownload:c,...d}=e;if(!l||!c)return null;const m=(()=>{try{const u=new URL(`/assets/${l}/${c}`,`https://${Hs}`);return u.searchParams.set("fit",t??"contain"),u}catch(u){return console.warn(u),null}})();return m==null?null:o.jsx($r,{alt:s??"",...n?{blurDataURL:Ys(n),placeholder:"blur"}:{},src:m.href,...d,width:a??void 0,height:i??void 0})},Js=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"})}),wr=h.memo(Js,M),Gs=Object.freeze(Object.defineProperty({__proto__:null,default:wr},Symbol.toStringTag,{value:"Module"})),Ws=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"})})})]}),Cr=h.memo(Ws,M),Qs=Object.freeze(Object.defineProperty({__proto__:null,default:Cr},Symbol.toStringTag,{value:"Module"})),Zs=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"})})})]}),jr=h.memo(Zs,M),Ks=Object.freeze(Object.defineProperty({__proto__:null,default:jr},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"})}),Mr=h.memo(Xs,M),ea=Object.freeze(Object.defineProperty({__proto__:null,default:Mr},Symbol.toStringTag,{value:"Module"})),ta=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"})}),kr=h.memo(ta,M),ra=Object.freeze(Object.defineProperty({__proto__:null,default:kr},Symbol.toStringTag,{value:"Module"})),na=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"})}),Sr=h.memo(na,M),oa=Object.freeze(Object.defineProperty({__proto__:null,default:Sr},Symbol.toStringTag,{value:"Module"})),sa=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"})}),Dr=h.memo(sa,M),aa=Object.freeze(Object.defineProperty({__proto__:null,default:Dr},Symbol.toStringTag,{value:"Module"})),ia=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"})}),Tr=h.memo(ia,M),la=Object.freeze(Object.defineProperty({__proto__:null,default:Tr},Symbol.toStringTag,{value:"Module"})),ca=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"})}),Rr=h.memo(ca,M),ua=Object.freeze(Object.defineProperty({__proto__:null,default:Rr},Symbol.toStringTag,{value:"Module"})),da=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"})}),Pr=h.memo(da,M),fa=Object.freeze(Object.defineProperty({__proto__:null,default:Pr},Symbol.toStringTag,{value:"Module"})),ha=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"})]}),Ir=h.memo(ha,M),ma=Object.freeze(Object.defineProperty({__proto__:null,default:Ir},Symbol.toStringTag,{value:"Module"})),ga=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"})]})}),Ar=h.memo(ga,M),pa=Object.freeze(Object.defineProperty({__proto__:null,default:Ar},Symbol.toStringTag,{value:"Module"})),ba=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"})]})}),Br=h.memo(ba,M),xa=Object.freeze(Object.defineProperty({__proto__:null,default:Br},Symbol.toStringTag,{value:"Module"})),ya=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"})]})}),_r=h.memo(ya,M),va=Object.freeze(Object.defineProperty({__proto__:null,default:_r},Symbol.toStringTag,{value:"Module"})),$a=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"})}),Er=h.memo($a,M),wa=Object.freeze(Object.defineProperty({__proto__:null,default:Er},Symbol.toStringTag,{value:"Module"})),Ca=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)"})]})}),Or=h.memo(Ca,M),ja=Object.freeze(Object.defineProperty({__proto__:null,default:Or},Symbol.toStringTag,{value:"Module"})),Ma=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"})]}),Lr=h.memo(Ma,M),ka=Object.freeze(Object.defineProperty({__proto__:null,default:Lr},Symbol.toStringTag,{value:"Module"})),Sa=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"})}),Nr=h.memo(Sa,M),Da=Object.freeze(Object.defineProperty({__proto__:null,default:Nr},Symbol.toStringTag,{value:"Module"})),Ta=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"})}),Fr=h.memo(Ta,M),Ra=Object.freeze(Object.defineProperty({__proto__:null,default:Fr},Symbol.toStringTag,{value:"Module"})),Pa=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"})}),Ur=h.memo(Pa,M),Ia=Object.freeze(Object.defineProperty({__proto__:null,default:Ur},Symbol.toStringTag,{value:"Module"})),Aa=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"})}),Vr=h.memo(Aa,M),Ba=Object.freeze(Object.defineProperty({__proto__:null,default:Vr},Symbol.toStringTag,{value:"Module"})),_a=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"})}),qr=h.memo(_a,M),Ea=Object.freeze(Object.defineProperty({__proto__:null,default:qr},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.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"})}),Yr=h.memo(Oa,M),La=Object.freeze(Object.defineProperty({__proto__:null,default:Yr},Symbol.toStringTag,{value:"Module"})),Na=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"})]})}),Hr=h.memo(Na,M),Fa=Object.freeze(Object.defineProperty({__proto__:null,default:Hr},Symbol.toStringTag,{value:"Module"})),[Ua,Va]=Lt();function qa({children:e}){const[t,r]=h.useState(!1);h.useEffect(()=>{r(!0)},[]);const n=h.useMemo(()=>({isClient:t}),[t]);return o.jsx(Va,{value:n,children:e})}const Ee=(e,t,r="sharing_tool")=>`?utm_source=${e}&utm_medium=${t}&utm_campaign=${r}`,Oe=()=>{const[e,t]=h.useState(),[r,n]=h.useState();return h.useEffect(()=>{t(window.location.href),n(window.document.title)},[]),{windowLocation:e,windowTitle:r}},Ya=(e,t,r)=>{const{windowLocation:n,windowTitle:s}=Oe(),a=r??n,i=Ee(e,t);return`https://www.facebook.com/sharer.php?u=${`${a}${i}`}&t=${s}`},Ha=(e,t,r)=>{const{windowLocation:n,windowTitle:s}=Oe(),a=r??n,i=Ee(e,t),l=`${a}${i}`;return`mailto:?to=&body=${s}%20${l}`},za=(e,t,r)=>{const{windowLocation:n}=Oe(),s=r??n,a=Ee(e,t);return`https://twitter.com/intent/tweet?text=${`${s}${a}`}`};exports.Accordion=po;exports.ArrowDown=wr;exports.ArrowLeft=Cr;exports.ArrowRight=jr;exports.Box=Ue;exports.BoxWithForwardRef=Ut;exports.Button=oe;exports.ButtonWithForwardRef=ne;exports.Calendar=gr;exports.Check=Mr;exports.Checkbox=Lo;exports.ChevronLeft=kr;exports.ChevronRight=Sr;exports.CloseBtn=Dr;exports.Date=Ao;exports.DatePicker=Bs;exports.DirectusImg=zs;exports.Facebook=Tr;exports.FacebookColored=Rr;exports.FacebookRounded=Pr;exports.Globe=Ir;exports.Icon=_;exports.Img=$r;exports.Instagram=Ar;exports.InstagramColored=Br;exports.IsClientContextProvider=qa;exports.Lightbox=To;exports.Link=_r;exports.LinkedIn=Er;exports.Mail=Or;exports.Modal=Ze;exports.Plus=Lr;exports.Popover=Po;exports.Radio=vr;exports.RadioGroup=Ns;exports.RadioGroupProvider=xr;exports.ReactHookFormInput=Fo;exports.ReactHookFormRadio=Ls;exports.ReactHookFormSelect=Oo;exports.ReactHookFormTextArea=No;exports.Select=Vt;exports.Share=Nr;exports.ShareButton=xo;exports.SidePanel=Do;exports.SidePanelContextProvider=vo;exports.TextArea=qt;exports.TextInputField=Yt;exports.ThemeContextProvider=It;exports.ThemeProvider=co;exports.Twitter=Fr;exports.TwitterColored=Ur;exports.Typography=R;exports.Upload=Vr;exports.WysiwygBlock=Io;exports.X=qr;exports.YouTube=Yr;exports.YouTubeColored=Hr;exports.createThemeProvider=At;exports.generateUtmTags=Ee;exports.makeTheme=Rt;exports.useFacebookShareUrl=Ya;exports.useIsClient=Ua;exports.useMailToShareUrl=Ha;exports.useRadioGroupCtx=yr;exports.useSidePanel=Ft;exports.useTheme=Pt;exports.useThemeContext=x;exports.useTwitterShareUrl=za;exports.useWindow=Oe;
|