{}),e||(e="second");var a=Intl.RelativeTimeFormat;a||t.onError(new x.u_(`Intl.RelativeTimeFormat is not available in this environment. Try polyfilling it using "@formatjs/intl-relativetimeformat" `,x.jK.MISSING_INTL_API));try{return U(t,i,o).format(r,e)}catch(l){t.onError(new m.Qe("Error formatting relative time.",t.locale,l))}return String(r)}var B=["formatMatcher","timeZone","hour12","weekday","era","year","month","day","hour","minute","second","timeZoneName","hourCycle","dateStyle","timeStyle","calendar","numberingSystem","fractionalSecondDigits"];function K(t,i,r,e){var o=t.locale,a=t.formats,l=t.onError,u=t.timeZone;e===void 0&&(e={});var g=e.format,R=(0,n.pi)((0,n.pi)({},u&&{timeZone:u}),g&&(0,f.TB)(a,i,g,l)),p=(0,f.L6)(e,B,R);return i==="time"&&!p.hour&&!p.minute&&!p.second&&!p.timeStyle&&!p.dateStyle&&(p=(0,n.pi)((0,n.pi)({},p),{hour:"numeric",minute:"numeric"})),r(o,p)}function _(t,i){for(var r=[],e=2;e(0,n.jsx)(c.x,{paddingLeft:10,paddingRight:10,children:d})},82055:function(b,E,s){"use strict";s.d(E,{T:function(){return N}});var n=s(74512),c=s(32735),v=s(8471);const d=f=>{const T=(0,c.useRef)(null),[O,I]=(0,c.useState)(!0),P=([x])=>{I(x.isIntersecting)};return(0,c.useEffect)(()=>{const x=T.current,A=new IntersectionObserver(P,f);return x&&A.observe(T.current),()=>{x&&A.disconnect()}},[T,f]),[T,O]};var h=s(81957);const y=(f,T)=>{const O=(0,h.W)(T);(0,c.useLayoutEffect)(()=>{const I=new ResizeObserver(O);return Array.isArray(f)?f.forEach(P=>{P.current&&I.observe(P.current)}):f.current&&I.observe(f.current),()=>{I.disconnect()}},[f,O])};var m=s(72850),S=s(87933),j=s(49372);const N=f=>{const T=(0,c.useRef)(null),[O,I]=(0,c.useState)(null),[P,x]=d({root:null,rootMargin:"0px",threshold:0});return y(P,()=>{P.current&&I(P.current.getBoundingClientRect())}),(0,c.useEffect)(()=>{T.current&&I(T.current.getBoundingClientRect())},[T]),(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("div",{style:{height:O?.height},ref:P,children:x&&(0,n.jsx)(C,{ref:T,...f})}),!x&&(0,n.jsx)(C,{...f,sticky:!0,width:O?.width})]})};N.displayName="HeaderLayout";const W=(0,v.ZP)(m.x)` width: ${({width:f})=>f?`${f/16}rem`:void 0}; z-index: ${({theme:f})=>f.zIndices[1]}; `,C=c.forwardRef(({navigationAction:f,primaryAction:T,secondaryAction:O,subtitle:I,title:P,sticky:x,width:A,...U},Q)=>{const B=typeof I=="string";return x?(0,n.jsx)(W,{paddingLeft:6,paddingRight:6,paddingTop:3,paddingBottom:3,position:"fixed",top:0,right:0,background:"neutral0",shadow:"tableShadow",width:A,"data-strapi-header-sticky":!0,children:(0,n.jsxs)(S.k,{justifyContent:"space-between",children:[(0,n.jsxs)(S.k,{children:[f&&(0,n.jsx)(m.x,{paddingRight:3,children:f}),(0,n.jsxs)(m.x,{children:[(0,n.jsx)(j.Z,{variant:"beta",as:"h1",...U,children:P}),B?(0,n.jsx)(j.Z,{variant:"pi",textColor:"neutral600",children:I}):I]}),O?(0,n.jsx)(m.x,{paddingLeft:4,children:O}):null]}),(0,n.jsx)(S.k,{children:T?(0,n.jsx)(m.x,{paddingLeft:2,children:T}):void 0})]})}):(0,n.jsxs)(m.x,{ref:Q,paddingLeft:10,paddingRight:10,paddingBottom:8,paddingTop:f?6:8,background:"neutral100","data-strapi-header":!0,children:[f?(0,n.jsx)(m.x,{paddingBottom:2,children:f}):null,(0,n.jsxs)(S.k,{justifyContent:"space-between",children:[(0,n.jsxs)(S.k,{minWidth:0,children:[(0,n.jsx)(j.Z,{as:"h1",variant:"alpha",...U,children:P}),O?(0,n.jsx)(m.x,{paddingLeft:4,children:O}):null]}),T]}),B?(0,n.jsx)(j.Z,{variant:"epsilon",textColor:"neutral600",as:"p",children:I}):I]})})},27649:function(b,E,s){"use strict";s.d(E,{o:function(){return h}});var n=s(74512),c=s(8471),v=s(72850);const d=(0,c.ZP)(v.x)` // To prevent global outline on focus visible to force an outline when Main is focused &:focus-visible { outline: none; } `,h=({labelledBy:y="main-content-title",...m})=>(0,n.jsx)(d,{"aria-labelledby":y,as:"main",id:"main-content",tabIndex:-1,...m})},10728:function(b,E,s){"use strict";s.d(E,{z:function(){return h}});var n=s(74512),c=s(8471),v=s(72850);const d=(0,c.ZP)(v.x)` text-decoration: none; &:focus { left: ${({theme:y})=>y.spaces[3]}; top: ${({theme:y})=>y.spaces[3]}; } `,h=({children:y})=>(0,n.jsx)(d,{as:"a",href:"#main-content",background:"primary600",color:"neutral0",left:"-100%",padding:3,position:"absolute",top:"-100%",hasRadius:!0,zIndex:9999,children:y})},65810:function(b,E,s){"use strict";s.d(E,{$:function(){return d}});const n={color:{alternative100:"#181826",alternative200:"#4a4a6a",alternative500:"#ac73e6",alternative600:"#ac73e6",alternative700:"#e0c1f4",buttonNeutral0:"#ffffff",buttonPrimary500:"#7b79ff",buttonPrimary600:"#4945ff",danger100:"#181826",danger200:"#4a4a6a",danger500:"#ee5e52",danger600:"#ee5e52",danger700:"#ee5e52",neutral0:"#212134",neutral100:"#181826",neutral1000:"#ffffff",neutral150:"#32324d",neutral200:"#4a4a6a",neutral300:"#666687",neutral400:"#a5a5ba",neutral500:"#c0c0cf",neutral600:"#a5a5ba",neutral700:"#eaeaef",neutral800:"#ffffff",neutral900:"#ffffff",primary100:"#181826",primary200:"#4a4a6a",primary500:"#4945ff",primary600:"#7b79ff",primary700:"#7b79ff",secondary100:"#181826",secondary200:"#4a4a6a",secondary500:"#66b7f1",secondary600:"#66b7f1",secondary700:"#b8e1ff",success100:"#181826",success200:"#4a4a6a",success500:"#5cb176",success600:"#5cb176",success700:"#c6f0c2",warning100:"#181826",warning200:"#4a4a6a",warning500:"#f29d41",warning600:"#f29d41",warning700:"#fae7b9"}},c={shadow:{filterShadow:"1px 1px 10px rgba(3, 3, 5, 0.35)",focus:"inset 2px 0px 0px rgb(39, 31, 224), inset 0px 2px 0px rgb(39, 31, 224), inset -2px 0px 0px rgb(39, 31, 224), inset 0px -2px 0px rgb(39, 31, 224)",focusShadow:"0px 0px 6px rgba(76, 191, 255, 0.75)",popupShadow:"1px 1px 10px rgba(3, 3, 5, 0.35)",tableShadow:"1px 1px 10px rgba(3, 3, 5, 0.2)"}};var v=s(37930);const d={colors:n.color,shadows:c.shadow,...v.x}}}]);