PageSourceSearch

https://www.blackpress200.org/_next/static/chunks/d48924f9-140d4d07f85174e9.js

js blackpress200.org collected 2026-10-08 21:35:00 UTC 130,509 bytes, 1,060 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4625],{66237:function(e,t,o){o.d(t,{Kq:function(){return tn},OK:function(){return tV},kC:function(){return ea},oi:function(){return tz},rj:function(){return ek},sN:function(){return tH},td:function(){return tY},u:function(){return tP},v2:function(){return tO},xu:function(){return ee},xv:function(){return eo},zx:function(){return ep}});var r=o(85893),n=o(65490),i=o(67294),a=o(41686),d=o(94713),l=o(33280),s=o(59864),c=o(70357),u=o(18573),p=o(49066),f=o(16045),h=o(41439),m=o(58354),g=o(73935),b=o(41622);(0,d.fi)();let v=[],y={},w={card:{initial:{scale:.97,willChange:"transform"},hidden:{opacity:0},visible:{opacity:1,transition:{when:"beforeChildren",duration:.1}},scaleIn:{scale:1},scaleOut:{scale:.97}},children:{hidden:{opacity:0},visible:{opacity:1}},transition:{type:"spring",visualDuration:.2,bounce:.25}};function rem(e){return 0===e?0:`${e/16}rem`}function _responsive(e,t,o){return(t?.map(o)||[]).map((t,o)=>0===o?t:{[`@media screen and (min-width: ${e[o-1]}px)`]:t})}function _getArrayProp(e,t){return void 0===e?t||v:Array.isArray(e)?e:[e]}function _getResponsiveSpace(e,t,o=v){if(!Array.isArray(o))throw Error("the property must be array of numbers");if(0===o.length)return null;let{media:r,space:n}=(0,l.aQ)(e);return _responsive(r,o,e=>{var o;return o=rem(n[e]),t.reduce((e,t)=>(e[t]=o,e),{})})}function responsiveFont(e,t){let{$size:o,$weight:r}=t,{font:n,media:i}=(0,l.aQ)(t.theme),{family:a,sizes:d,weights:s}=n[e],c=r&&s[r]||s.regular,u=d[2],p={position:"relative",fontFamily:a,fontWeight:c,padding:"1px 0",margin:0,"&:before":{content:'""',display:"block",height:0},"&:after":{content:'""',display:"block",height:0},"& > code, & > span":{display:"block"},"&:not([hidden])":{display:"block"}};if(!o)return responsiveFont.warned||(console.warn("No size specified for responsive font",{fontKey:e,$size:o,props:t,base:p}),responsiveFont.warned=!0),[p];let f=_responsive(i,o,e=>(function(e){let{ascenderHeight:t,descenderHeight:o,fontSize:r,iconSize:n,letterSpacing:i,lineHeight:a}=e,d=t+o,l=a-d,s=2*Math.floor(1.125*r/2)+1;return{fontSize:rem(r),lineHeight:`calc(${a} / ${r})`,letterSpacing:rem(i),transform:`translateY(${rem(o)})`,"&:before":{marginTop:`calc(${rem(0-d)} - 1px)`},"&:after":{marginBottom:"-1px"},"& svg:not([data-sanity-icon])":{fontSize:`calc(${s} / 16 * 1rem)`,margin:rem((l-s)/2)},"& [data-sanity-icon]":{fontSize:`calc(${n} / 16 * 1rem)`,margin:rem((l-n)/2)}}})(d[e]||u));return[p,...f]}function responsiveTextAlignStyle(e){let{media:t}=(0,l.aQ)(e.theme);return _responsive(t,e.$align,e=>({textAlign:e}))}function useArrayProp(e,t){let o;let r=(0,n.c)(3);r[0]!==t||r[1]!==e?(o=()=>[_getArrayProp(e,t),JSON.stringify(e??t)],r[0]=t,r[1]=e,r[2]=o):o=r[2];let[a,d]=(0,i.useState)(o),[l,s]=a,c=JSON.stringify(e??t);return c!==s&&d([_getArrayProp(e,t),c]),l}function _temp$9(){return v}function useCustomValidity(e,t){let o,r;let a=(0,n.c)(6);a[0]!==t||a[1]!==e.current?(o=()=>{e.current?.setCustomValidity(t||"")},a[0]=t,a[1]=e.current,a[2]=o):o=a[2],a[3]!==t||a[4]!==e?(r=[t,e],a[3]=t,a[4]=e,a[5]=r):r=a[5],(0,i.useEffect)(o,r)}let x="u">typeof document&&"u">typeof window&&window.ResizeObserver?window.ResizeObserver:m.do,$=function(){let e=new WeakMap,t=new WeakMap;return{subscribe(o,r){let n=t.get(o)||[],i=e.get(o);return t.has(o)||(t.set(o,n),i=({subscribe(e,t){let o=new x(([e])=>{t({_contentRect:e.contentRect,border:{width:e.borderBoxSize[0].inlineSize,height:e.borderBoxSize[0].blockSize},content:{width:e.contentRect.width,height:e.contentRect.height}})});return o.observe(e),()=>{o.unobserve(e),o.disconnect()}}}).subscribe(o,e=>{for(let t of n)t(e)})),n.push(r),()=>{let e=n.indexOf(r);e>-1&&n.splice(e,1),0===n.length&&i&&i()}}}}();function useElementSize(e){let t,o;let r=(0,n.c)(3),[a,d]=(0,i.useState)(null);return r[0]!==e?(t=()=>{if(e)return $.subscribe(e,d)},o=[e],r[0]=e,r[1]=t,r[2]=o):(t=r[1],o=r[2]),(0,i.useEffect)(t,o),a}let S=function(){if("u">typeof globalThis)return globalThis;if("u">typeof window)return window;if("u">typeof self)return self;if("u">typeof global)return global;throw Error("@sanity/ui: could not locate global scope")}();function createGlobalScopedContext(e,t){let o=Symbol.for(e);return typeof document>"u"?(0,i.createContext)(t):(S[o]=S[o]||(0,i.createContext)(t),S[o])}let R=createGlobalScopedContext("@sanity/ui/context/theme",null);function ThemeProvider(e){let t,o,l,s;let c=(0,n.c)(15),u=(0,i.useContext)(R),{children:p}=e,f=e.scheme??(u?.scheme||"light"),h=e.theme??(u?.theme||null),m=e.tone??(u?.tone||"default");e:{let e;if(!h){t=null;break e}c[0]!==h||c[1]!==f||c[2]!==m?(e={version:0,theme:h,scheme:f,tone:m},c[0]=h,c[1]=f,c[2]=m,c[3]=e):e=c[3],t=e}let g=t;t:{let e;if(!h){o=null;break t}c[4]!==h||c[5]!==f||c[6]!==m?(e=(0,d.BA)(h,f,m),c[4]=h,c[5]=f,c[6]=m,c[7]=e):e=c[7],o=e}let b=o;if(!b){let e;return c[8]===Symbol.for("react.memo_cache_sentinel")?(e=(0,r.jsx)("pre",{children:'ThemeProvider: no "theme" property provided'}),c[8]=e):e=c[8],e}return c[9]!==p||c[10]!==b?(l=(0,r.jsx)(a.f6,{theme:b,children:p}),c[9]=p,c[10]=b,c[11]=l):l=c[11],c[12]!==l||c[13]!==g?(s=(0,r.jsx)(R.Provider,{value:g,children:l}),c[12]=l,c[13]=g,c[14]=s):s=c[14],s}
1function useRootTheme(){let e=(0,i.useContext)(R);if(!e)throw Error("useRootTheme(): missing context value");return e}function ThemeColorProvider(e){let t;let o=(0,n.c)(5),{children:i,scheme:a,tone:d}=e,l=useRootTheme(),s=a||l.scheme;return o[0]!==i||o[1]!==l.theme||o[2]!==s||o[3]!==d?(t=(0,r.jsx)(ThemeProvider,{scheme:s,theme:l.theme,tone:d,children:i}),o[0]=i,o[1]=l.theme,o[2]=s,o[3]=d,o[4]=t):t=o[4],t}function useTheme_v2(){let e;let t=(0,n.c)(2),o=(0,a.Fg)();return t[0]!==o?(e=(0,l.aQ)(o),t[0]=o,t[1]=e):e=t[1],e}function getServerSnapshot(){return 0}function useMediaIndex(){let e,t;let o=(0,n.c)(2),{media:r}=useTheme_v2();return o[0]!==r?(t=function(e){let t;let o=e.length,getSizes=()=>{if(!t){t=[];for(let n=o;n>-1;n-=1){var r;let o=0===(r=n)?`screen and (max-width: ${e[r]-1}px)`:r===e.length?`screen and (min-width: ${e[r-1]}px)`:`screen and (min-width: ${e[r-1]}px) and (max-width: ${e[r]-1}px)`;t.push({index:n,mq:window.matchMedia(o)})}}return t};return{getSnapshot:()=>{for(let{index:e,mq:t}of getSizes())if(t.matches)return e;return 0},subscribe:e=>{let t=[];for(let{mq:o}of getSizes()){let handleChange=()=>{o.matches&&e()};o.addEventListener("change",handleChange),t.push(()=>o.removeEventListener("change",handleChange))}return()=>{for(let e of t)e()}}}}(r),o[0]=r,o[1]=t):t=o[1],e=t,(0,i.useSyncExternalStore)(e.subscribe,e.getSnapshot,getServerSnapshot)}function usePrefersReducedMotion(e){return function(e,t){let{subscribe:o,getSnapshot:r}=(0,i.useMemo)(()=>{let t;let getMatchMedia=()=>(t||(t=window.matchMedia(e)),t);return{subscribe:e=>{let t=getMatchMedia();return t.addEventListener("change",e),()=>t.removeEventListener("change",e)},getSnapshot:()=>getMatchMedia().matches}},[e]);return(0,i.useDebugValue)(e),(0,i.useSyncExternalStore)(o,r,t)}("(prefers-reduced-motion: reduce)",void 0===e?_temp$7:e)}function _temp$7(){return!1}function border(e){let{card:t,media:o}=(0,l.aQ)(e.theme),r=`${t.border?.width??1}px solid var(--card-border-color)`;return _responsive(o,e.$border,e=>e?{"&&":{border:r}}:{"&&":{border:0}})}function borderTop(e){let{card:t,media:o}=(0,l.aQ)(e.theme),r=`${t.border?.width??1}px solid var(--card-border-color)`;return _responsive(o,e.$borderTop,e=>e?{"&&":{borderTop:r}}:{"&&":{borderTop:0}})}function borderRight(e){let{card:t,media:o}=(0,l.aQ)(e.theme),r=`${t.border?.width??1}px solid var(--card-border-color)`;return _responsive(o,e.$borderRight,e=>e?{"&&":{borderRight:r}}:{"&&":{borderRight:0}})}function borderBottom(e){let{card:t,media:o}=(0,l.aQ)(e.theme),r=`${t.border?.width??1}px solid var(--card-border-color)`;return _responsive(o,e.$borderBottom,e=>e?{"&&":{borderBottom:r}}:{"&&":{borderBottom:0}})}function borderLeft(e){let{card:t,media:o}=(0,l.aQ)(e.theme),r=`${t.border?.width??1}px solid var(--card-border-color)`;return _responsive(o,e.$borderLeft,e=>e?{"&&":{borderLeft:r}}:{"&&":{borderLeft:0}})}ThemeProvider.displayName="ThemeProvider",ThemeColorProvider.displayName="ThemeColorProvider";let k={'&[data-as="ul"],&[data-as="ol"]':{listStyle:"none"}},C={content:"content-box",border:"border-box"},z={stretch:"stretch",fill:"100%"};function responsiveBoxDisplayStyle(e){let{media:t}=(0,l.aQ)(e.theme);return _responsive(t,e.$display,e=>({"&:not([hidden])":{display:e}}))}function responsiveBoxSizingStyle(e){let{media:t}=(0,l.aQ)(e.theme);return _responsive(t,e.$sizing,e=>({boxSizing:C[e]}))}function responsiveBoxHeightStyle(e){let{media:t}=(0,l.aQ)(e.theme);return _responsive(t,e.$height,e=>({height:z[e]}))}function responsiveBoxOverflowStyle(e){let{media:t}=(0,l.aQ)(e.theme);return _responsive(t,e.$overflow,e=>({overflow:e}))}let _={"&&:not([hidden])":{display:"flex"}};function responsiveFlexAlignStyle(e){let{media:t}=(0,l.aQ)(e.theme);return _responsive(t,e.$align,e=>({alignItems:e}))}function responsiveFlexGapStyle(e){let{media:t,space:o}=(0,l.aQ)(e.theme);return _responsive(t,e.$gap,e=>({gap:e?rem(o[e]):void 0}))}function responsiveFlexWrapStyle(e){let{media:t}=(0,l.aQ)(e.theme);return _responsive(t,e.$wrap,e=>({flexWrap:e}))}function responsiveFlexJustifyStyle(e){let{media:t}=(0,l.aQ)(e.theme);return _responsive(t,e.$justify,e=>({justifyContent:e}))}function responsiveFlexDirectionStyle(e){let{media:t}=(0,l.aQ)(e.theme);return _responsive(t,e.$direction,e=>({flexDirection:e}))}let j={minWidth:0,minHeight:0};function flexItemStyle(){return[j,responsiveFlexItemStyle]}function responsiveFlexItemStyle(e){let{media:t}=(0,l.aQ)(e.theme);return e.$flex?_responsive(t,e.$flex,e=>({flex:e})):v}function focusRingBorderStyle(e){return`inset 0 0 0 ${e.width}px ${e.color}`}function focusRingStyle(e){let{base:t,border:o,focusRing:r}=e,n=r.offset+r.width,i=0-r.offset,a=t?t.bg:"var(--card-bg-color)";return[i>0&&`inset 0 0 0 ${i}px var(--card-focus-ring-color)`,o&&focusRingBorderStyle(o),i<0&&`0 0 0 ${0-i}px ${a}`,n>0&&`0 0 0 ${n}
1px var(--card-focus-ring-color)`].filter(Boolean).join(",")}let I={"&&:not([hidden])":{display:"grid"},'&[data-as="ul"],&[data-as="ol"]':{listStyle:"none"}},A={auto:"auto",min:"min-content",max:"max-content",fr:"minmax(0, 1fr)"},E={auto:"auto",min:"min-content",max:"max-content",fr:"minmax(0, 1fr)"};function responsiveGridAutoFlowStyle(e){let{media:t}=(0,l.aQ)(e.theme);return _responsive(t,e.$autoFlow,e=>({gridAutoFlow:e}))}function responsiveGridAutoRowsStyle(e){let{media:t}=(0,l.aQ)(e.theme);return _responsive(t,e.$autoRows,e=>({gridAutoRows:e&&E[e]}))}function responsiveGridAutoColsStyle(e){let{media:t}=(0,l.aQ)(e.theme);return _responsive(t,e.$autoCols,e=>({gridAutoColumns:e&&A[e]}))}function responsiveGridColumnsStyle(e){let{media:t}=(0,l.aQ)(e.theme);return _responsive(t,e.$columns,e=>({gridTemplateColumns:e&&`repeat(${e},minmax(0,1fr));`}))}function responsiveGridRowsStyle(e){let{media:t}=(0,l.aQ)(e.theme);return _responsive(t,e.$rows,e=>({gridTemplateRows:e&&`repeat(${e},minmax(0,1fr));`}))}function responsiveGridGapStyle(e){let{media:t,space:o}=(0,l.aQ)(e.theme);return _responsive(t,e.$gap,e=>({gridGap:e?rem(o[e]):void 0}))}function responsiveGridGapXStyle(e){let{media:t,space:o}=(0,l.aQ)(e.theme);return _responsive(t,e.$gapX,e=>({columnGap:e?rem(o[e]):void 0}))}function responsiveGridGapYStyle(e){let{media:t,space:o}=(0,l.aQ)(e.theme);return _responsive(t,e.$gapY,e=>({rowGap:e?rem(o[e]):void 0}))}let P={auto:"auto",full:"1 / -1"},N={auto:"auto",full:"1 / -1"};function responsiveGridItemRowStyle(e){let{media:t}=(0,l.aQ)(e.theme);return _responsive(t,e.$row,e=>"number"==typeof e?{gridRow:`span ${e} / span ${e}`}:{gridRow:P[e]})}function responsiveGridItemRowStartStyle(e){let{media:t}=(0,l.aQ)(e.theme);return _responsive(t,e.$rowStart,e=>({gridRowStart:e}))}function responsiveGridItemRowEndStyle(e){let{media:t}=(0,l.aQ)(e.theme);return _responsive(t,e.$rowEnd,e=>({gridRowEnd:e}))}function responsiveGridItemColumnStyle(e){let{media:t}=(0,l.aQ)(e.theme);return _responsive(t,e.$column,e=>"number"==typeof e?{gridColumn:`span ${e} / span ${e}`}:{gridColumn:N[e]})}function responsiveGridItemColumnStartStyle(e){let{media:t}=(0,l.aQ)(e.theme);return _responsive(t,e.$columnStart,e=>({gridColumnStart:e}))}function responsiveGridItemColumnEndStyle(e){let{media:t}=(0,l.aQ)(e.theme);return _responsive(t,e.$columnEnd,e=>({gridColumnEnd:e}))}function responsiveInputPaddingStyle(e){let{$fontSize:t,$iconLeft:o,$iconRight:r,$padding:n,$space:i}=e,{font:a,media:d,space:s}=(0,l.aQ)(e.theme),c=Math.max(n.length,i.length,t.length),u=[],p=[],f=[];for(let e=0;e<c;e+=1)f[e]=void 0===t[e]?f[e-1]:t[e],u[e]=void 0===n[e]?u[e-1]:n[e],p[e]=void 0===i[e]?p[e-1]:i[e];return _responsive(d,u,(e,t)=>{let n=a.text.sizes[f[t]]||a.text.sizes[2],i=n.lineHeight-n.ascenderHeight-n.descenderHeight,d=s[u[t]],l=s[p[t]],c={paddingTop:rem(d-n.ascenderHeight),paddingRight:rem(d),paddingBottom:rem(d-n.descenderHeight),paddingLeft:rem(d)};return r&&(c.paddingRight=rem(d+i+l)),o&&(c.paddingLeft=rem(d+i+l)),c})}function responsiveInputPaddingIconRightStyle(e){return responsiveInputPaddingStyle({...e,$iconRight:!0})}let T=a.iv`
2  &:not([hidden]) {
3    display: flex;
4  }
5
6  align-items: center;
7`;function textInputRootStyle(){return T}function textInputBaseStyle(e){let{$scheme:t,$tone:o,$weight:r}=e,{color:n,font:i}=(0,l.aQ)(e.theme);return a.iv`
8    appearance: none;
9    background: none;
10    border: 0;
11    border-radius: 0;
12    outline: none;
13    width: 100%;
14    box-sizing: border-box;
15    font-family: ${i.text.family};
16    font-weight: ${r&&i.text.weights[r]||i.text.weights.regular};
17    margin: 0;
18    position: relative;
19    z-index: 1;
20    display: block;
21
22    /* NOTE: This is a hack to disable Chrome’s autofill styles */
23    &:-webkit-autofill,
24    &:-webkit-autofill:hover,
25    &:-webkit-autofill:focus,
26    &:-webkit-autofill:active {
27      -webkit-text-fill-color: var(--input-fg-color) !important;
28      transition: background-color 5000s;
29      transition-delay: 86400s /* 24h */;
30    }
31
32    /* &:is(textarea) */
33    &[data-as='textarea'] {
34      resize: none;
35    }
36
37    color: var(--input-fg-color);
38
39    &::placeholder {
40      color: var(--input-placeholder-color);
41    }
42
43    &[data-scheme='${t}'][data-tone='${o}'] {
44      --input-fg-color: ${n.input.default.enabled.fg};
45      --input-placeholder-color: ${n.input.default.enabled.placeholder};
46
47      /* enabled */
48      &:not(:invalid):not(:disabled):not(:read-only) {
49        --input-fg-color: ${n.input.default.enabled.fg};
50        --input-placeholder-color: ${n.input.default.enabled.placeholder};
51      }
52
53      /* disabled */
54      &:not(:invalid):disabled {
55        --input-fg-color: ${n.input.default.disabled.fg};
56        --input-placeholder-color: ${n.input.default.disabled.placeholder};
57      }
58
59      /* invalid */
60      &:invalid {
61        --input-fg-color: ${n.input.invalid.enabled.fg};
62        --input-placeholder-color: ${n.input.invalid.enabled.placeholder};
63      }
64
65      /* readOnly */
66      &:read-only {
67        --input-fg-color: ${n.input.default.readOnly.fg};
68        --input-placeholder-color: ${n.input.default.readOnly.placeholder};
69      }
70    }
71  `}function textInputFontSizeStyle(e){let{font:t,media:o}=(0,l.aQ)(e.theme);return _responsive(o,e.$fontSize,e=>{let o=t.text.sizes[e]||t.text.sizes[2];return{fontSize:rem(o.fontSize),lineHeight:o.lineHeight/o.fontSize}})}function textInputRepresentationStyle(e){let{$hasPrefix:t,$hasSuffix:o,$scheme:r,$tone:n,$unstableDisableFocusRing:i}=e,{color:d,input:s}=(0,l.aQ)(e.theme);return a.iv`
72    --input-box-shadow: none;
73
74    position: absolute;
75    top: 0;
76    left: 0;
77    right: 0;
78    bottom: 0;
79    display: block;
80    pointer-events: none;
81    z-index: 0;
82
83    background-color: var(--card-bg-color);
84    box-shadow: var(--input-box-shadow);
85
86    border-top-left-radius: ${t?0:void 0};
87    border-bottom-left-radius: ${t?0:void 0};
88    border-top-right-radius: ${o?0:void 0};
89    border-bottom-right-radius: ${o?0:void 0};
90
91    &[data-scheme='${r}'][data-tone='${n}'] {
92      --card-bg-color: ${d.input.default.enabled.bg};
93      --card-fg-color: ${d.input.default.enabled.fg};
94
95      /* enabled */
96      *:not(:disabled) + &[data-border] {
97        --input-box-shadow: ${focusRingBorderStyle({color:d.input.default.enabled.border,width:s.border.width})};
98      }
99
100      /* invalid */
101      *:not(:disabled):invalid + & {
102        --card-bg-color: ${d.input.invalid.enabled.bg};
103        --card-fg-color: ${d.input.invalid.enabled.fg};
104
105        &[data-border] {
106          --input-box-shadow: ${focusRingBorderStyle({color:d.input.invalid.enabled.border,width:s.border.width})};
107        }
108      }
109
110      /* focused */
111      *:not(:disabled):focus + & {
112        &[data-border] {
113          --input-box-shadow: ${i?void 0:focusRingStyle({border:{color:d.input.default.enabled.border,width:s.border.width},focusRing:s.text.focusRing})};
114        }
115
116        &:not([data-border]) {
117          --input-box-shadow: ${i?void 0:focusRingStyle({focusRing:s.text.focusRing})};
118        }
119      }
120
121      /* disabled */
122      *:not(:invalid):disabled + & {
123        --card-bg-color: ${d.input.default.disabled.bg} !important;
124        --card-fg-color: ${d.input.default.disabled.fg} !important;
125        --card-icon-color: ${d.input.default.disabled.fg} !important;
126
127        &[data-border] {
128          --input-box-shadow: ${focusRingBorderStyle({color:d.input.default.disabled.border,width:s.border.width})};
129        }
130      }
131
132      *:invalid:disabled + & {
133        --card-bg-color: ${d.input.invalid.disabled.bg} !important;
134        --card-fg-color: ${d.input.invalid.disabled.fg} !important;
135        --card-icon-color: ${d.input.invalid.disabled.fg} !important;
136
137        &[data-border] {
138          --input-box-shadow: ${focusRingBorderStyle({color:d.input.invalid.disabled.border,width:s.border.width})};
139        }
140      }
141
142      /* readOnly */
143      *:not(:invalid):read-only + & {
144        --card-bg-color: ${d.input.default.readOnly.bg} !important;
145        --card-fg-color: ${d.input.default.readOnly.fg} !important;
146      }
147
148      *:invalid:read-only + & {
149        --card-bg-color: ${d.input.invalid.readOnly.bg} !important;
150        --card-fg-color: ${d.input.invalid.readOnly.fg} !important;
151      }
152
153      /* hovered */
154      @media (hover: hover) {
155        *:not(:disabled):not(:read-only):not(:invalid):hover + & {
156          --card-bg-color: ${d.input.default.hovered.bg};
157          --card-fg-color: ${d.input.default.hovered.fg};
158        }
159
160        *:invalid:not(:disabled):not(:read-only):hover + & {
161          --card-bg-color: ${d.input.invalid.hovered.bg};
162          --card-fg-color: ${d.input.invalid.hovered.fg};
163        }
164
165        *:not(:disabled):not(:read-only):not(:invalid):not(:focus):hover + &[data-border] {
166          --input-box-shadow: ${focusRingBorderStyle({color:d.input.default.hovered.border,width:s.border.width})};
167        }
168
169        *:invalid:not(:disabled):not(:read-only):not(:focus):hover + &[data-border] {
170          --input-box-shadow: ${focusRingBorderStyle({color:d.input.invalid.hovered.border,width:s.border.width})};
171        }
172      }
173    }
174  `}function responsiveRadiusStyle(e){let{media:t,radius:o}=(0,l.aQ)(e.theme);return _responsive(t,e.$radius,e=>{let t=0;return"number"==typeof e&&(t=rem(o[e])),"full"===e&&(t="9999px"),{borderRadius:t}})}function toBoxShadow(e,t){return`${e.map(rem).join(" ")} ${t}`}let F=a.zo.span.withConfig({displayName:"SpanWithTextOverflow",componentId:"sc-ol2i3b-0"})`display:block;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;overflow:clip;`,B=a.zo.div.withConfig({displayName:"StyledLabel",componentId:"sc-1luap7z-0"})(function(e){return responsiveFont("label",e)},responsiveTextAlignStyle,function(e){let{$accent:t,$muted:o}=e,{font:r}=(0,l.aQ)(e.theme);return a.iv`
175    text-transform: uppercase;
176
177    ${t&&a.iv`
178      color: var(--card-accent-fg-color);
179    `}
180
181    ${o&&a.iv`
182      color: var(--card-muted-fg-color);
183    `}
184
185    & code {
186      font-family: ${r.code.family};
187      border-radius: 1px;
188    }
189
190    & a {
191      text-decoration: none;
192      border-radius: 1px;
193    }
194
195    & svg {
196      /* Certain popular CSS libraries changes the defaults for SVG display */
197      /* Make sure SVGs are rendered as inline elements */
198      display: inline;
199    }
200
201    & [data-sanity-icon] {
202      vertical-align: baseline;
203    }
204  `}),M=(0,i.forwardRef)(function(e,t){let o,i,a,d,l,s,c,u,p;let f=(0,n.c)(22);f[0]!==e?({accent:o,align:i,children:a,muted:l,size:s,textOverflow:c,weight:u,...d}=e,f[0]=e,f[1]=o,f[2]=i,f[3]=a,f[4]=d,f[5]=l,f[6]=s,f[7]=c,f[8]=u):(o=f[1],i=f[2],a=f[3],d=f[4],l=f[5],s=f[6],c=f[7],u=f[8]);let h=void 0!==l&&l,m=void 0===s?2:s,g=a;if("ellipsis"===c){let e;f[9]!==g?(e=(0,r.jsx)(F,{children:g}),f[9]=g,f[10]=e):e=f[10],g=e}else{let e;f[11]!==g?(e=(0,r.jsx)("span",{children:g}),f[11]=g,f[12]=e):e=f[12],g=e}let b=useArrayProp(i),v=useArrayProp(m);return f[13]!==o||f[14]!==g||f[15]!==h||f[16]!==t||f[17]!==d||f[18]!==b||f[19]!==v||f[20]!==u?(p=(0,r.jsx)(B,{"data-ui":"Label",...d,$accent:o,$align:b,$muted:h,$size:v,$weight:u,ref:t,children:g}),f[13]=o,f[14]=g,f[15]=h,f[16]=t,f[17]=d,f[18]=b,f[19]=v,f[20]=u,f[21]=p):p=f[21],p});M.displayName="ForwardRef(Label)";let L={root:function(e){let{$color:t}=e,{avatar:o}=(0,l.aQ)(e.theme);return{"--avatar-bg-color":`var(--card-avatar-${t}-bg-color)`,"--avatar-fg-color":`var(--card-avatar-${t}-fg-color)`,backgroundColor:"var(--avatar-bg-color)",position:"relative",boxSizing:"border-box",userSelect:"none",boxShadow:"0 0 0 1px var(--card-bg-color)",'&[data-status="inactive"]':{opacity:.5},"&>svg":{"&:not([hidden])":{display:"block"}},'&[data-as="button"]':{WebkitFontSmoothing:"inherit",appearance:"none",margin:0,padding:0,border:0,font:"inherit",color:"inherit",outline:"none","&:focus":{boxShadow:focusRingStyle({focusRing:o.focusRing})},"&:focus:not(:focus-visible)":{boxShadow:"none"}}}},arrow:function(){return{position:"absolute",boxSizing:"border-box",zIndex:0,opacity:0,transition:"all 0.2s linear",transform:"rotate(-90deg) translate3d(0, 6px, 0)",left:0,right:0,top:0,bottom:0,"& > svg":{width:"11px",height:"7px",position:"absolute",top:"-5px",left:"50%",transform:"translateX(-6px)","&:not([hidden])":{display:"block"}},"[data-arrow-position='inside'] > &":{transform:"rotate(-90deg) translate3d(0, 6px, 0)",opacity:0},"[data-arrow-position='top'] > &":{opacity:1,transform:"rotate(0deg)"},"[data-arrow-position='bottom'] > &":{opacity:1,transform:"rotate(-180deg)"}}},bgStroke:function(){return{strokeWidth:"4px",stroke:"var(--card-bg-color)"}},stroke:function(){return{strokeWidth:"2px",stroke:"var(--avatar-bg-color)",'[data-status="editing"] &':{strokeDasharray:"2 4",strokeLinecap:"round"}}},initials:function(){return{width:"100%",height:"100%",color:"var(--avatar-fg-color)",alignItems:"center",justifyContent:"center",textTransform:"uppercase",textAlign:"center",borderRadius:"50%","&:not([hidden])":{display:"flex"}}},image:function(){return{position:"relative"}}
204},O=a.zo.div.withConfig({displayName:"StyledAvatar",componentId:"sc-1rj7kl0-0"})(function(e){let{avatar:t,media:o}=(0,l.aQ)(e.theme);return _responsive(o,e.$size,e=>{let o=t.sizes[e]||t.sizes[0];return{width:rem(o.size),height:rem(o.size),borderRadius:rem(o.size/2),"&>svg":{width:rem(o.size),height:rem(o.size),borderRadius:rem(o.size/2)}}})},L.root),Q=a.zo.div.withConfig({displayName:"Arrow",componentId:"sc-1rj7kl0-1"})(L.arrow),G=a.zo.ellipse.withConfig({displayName:"BgStroke",componentId:"sc-1rj7kl0-2"})(L.bgStroke),H=a.zo.ellipse.withConfig({displayName:"Stroke",componentId:"sc-1rj7kl0-3"})(L.stroke),D=a.zo.div.withConfig({displayName:"Initials",componentId:"sc-1rj7kl0-4"})(L.initials),V=(0,a.zo)(M).withConfig({displayName:"InitialsLabel",componentId:"sc-1rj7kl0-5"})({color:"inherit"}),W=a.zo.svg.withConfig({displayName:"AvatarImage",componentId:"sc-1rj7kl0-6"})(L.image),Y=(0,i.forwardRef)(function(e,t){let o,a,d,l,c,u,p,f,h,m,g,b,v,y,w,x,$,S,R,k,C,z,_;let j=(0,n.c)(52);j[0]!==e?({__unstable_hideInnerStroke:o,as:l,color:h,src:f,title:b,initials:c,onImageLoadError:u,arrowPosition:d,animateArrowFrom:a,status:m,size:g,...p}=e,j[0]=e,j[1]=o,j[2]=a,j[3]=d,j[4]=l,j[5]=c,j[6]=u,j[7]=p,j[8]=f,j[9]=h,j[10]=m,j[11]=g,j[12]=b):(o=j[1],a=j[2],d=j[3],l=j[4],c=j[5],u=j[6],p=j[7],f=j[8],h=j[9],m=j[10],g=j[11],b=j[12]);let I=void 0===h?"gray":h,A=void 0===m?"online":m,E=void 0===g?1:g,{avatar:P}=useTheme_v2(),N=s.isValidElementType(l)?l:"div",T=useArrayProp(E),F=(P.sizes[T[0]]||P.sizes[0]).size,B=F/2,M=(0,i.useId)(),[L,Y]=(0,i.useState)(a||d||"inside"),[X,K]=(0,i.useState)(!1),q=`avatar-image-${M}`;j[13]!==L||j[14]!==d?(v=()=>{if(L===d)return;let e=requestAnimationFrame(()=>Y(d));return()=>cancelAnimationFrame(e)},y=[L,d],j[13]=L,j[14]=d,j[15]=v,j[16]=y):(v=j[15],y=j[16]),(0,i.useEffect)(v,y),j[17]!==f?(w=()=>{f&&K(!1)},x=[f],j[17]=f,j[18]=w,j[19]=x):(w=j[18],x=j[19]),(0,i.useEffect)(w,x),j[20]!==u?($=()=>{K(!0),u&&u(Error("Avatar: the image failed to load"))},j[20]=u,j[21]=$):$=j[21];let J=$;j[22]!==T?(R=T.map(_temp$6),j[22]=T,j[23]=R):R=j[23],S=R;let U="string"==typeof N?N:void 0;return j[24]!==I?(k=(0,r.jsx)(Q,{children:(0,r.jsx)("svg",{width:"11",height:"7",viewBox:"0 0 11 7",fill:"none",children:(0,r.jsx)("path",{d:"M6.67948 1.50115L11 7L0 7L4.32052 1.50115C4.92109 0.736796 6.07891 0.736795 6.67948 1.50115Z",fill:I})})}),j[24]=I,j[25]=k):k=j[25],j[26]!==o||j[27]!==B||j[28]!==F||j[29]!==J||j[30]!==X||j[31]!==q||j[32]!==f?(C=!X&&f&&(0,r.jsxs)(W,{viewBox:`0 0 ${F} ${F}`,fill:"none",children:[(0,r.jsx)("defs",{children:(0,r.jsx)("pattern",{id:q,patternContentUnits:"objectBoundingBox",width:"1",height:"1",children:(0,r.jsx)("image",{href:f,width:"1",height:"1",onError:J})})}),(0,r.jsx)("circle",{cx:B,cy:B,r:B,fill:`url(#${q})`}),!o&&(0,r.jsx)(G,{cx:B,cy:B,rx:B,ry:B,vectorEffect:"non-scaling-stroke"}),(0,r.jsx)(H,{cx:B,cy:B,rx:B,ry:B,vectorEffect:"non-scaling-stroke"})]}),j[26]=o,j[27]=B,j[28]=F,j[29]=J,j[30]=X,j[31]=q,j[32]=f,j[33]=C):C=j[33],j[34]!==X||j[35]!==c||j[36]!==S||j[37]!==f?(z=(X||!f)&&c&&(0,r.jsx)(r.Fragment,{children:(0,r.jsx)(D,{children:(0,r.jsx)(V,{forwardedAs:"span",size:S,weight:"medium",children:c})})}),j[34]=X,j[35]=c,j[36]=S,j[37]=f,j[38]=z):z=j[38],j[39]!==L||j[40]!==N||j[41]!==I||j[42]!==t||j[43]!==p||j[44]!==T||j[45]!==A||j[46]!==U||j[47]!==k||j[48]!==C||j[49]!==z||j[50]!==b?(_=(0,r.jsxs)(O,{as:N,"data-as":U,"data-ui":"Avatar",...p,$color:I,$size:T,"aria-label":b,"data-arrow-position":L,"data-status":A,ref:t,title:b,children:[k,C,z]}),j[39]=L,j[40]=N,j[41]=I,j[42]=t,j[43]=p,j[44]=T,j[45]=A,j[46]=U,j[47]=k,j[48]=C,j[49]=z,j[50]=b,j[51]=_):_=j[51],_});function _temp$6(e){return 1===e?1:2===e?3:3===e?5:0}Y.displayName="ForwardRef(Avatar)";let X=a.zo.div.withConfig({displayName:"StyledAvatarCounter",componentId:"sc-1ydx86y-0"})(function(e){let{avatar:t,media:o}=(0,l.aQ)(e.theme);return _responsive(o,e.$size,e=>{let o=t.sizes[e];return o?{borderRadius:rem(o.size/2),minWidth:rem(o.size),height:rem(o.size)}:y})},function(e){let{space:t}=(0,l.aQ)(e.theme);return a.iv`
205    align-items: center;
206    justify-content: center;
207    box-sizing: border-box;
208    user-select: none;
209    color: inherit;
210    color: var(--card-fg-color);
211    background: var(--card-bg-color);
212    box-shadow:
213      0 0 0 1px var(--card-bg-color),
214      inset 0 0 0 1px var(--card-hairline-hard-color);
215    padding: 0 ${rem(t[2])};
216
217    &:not([hidden]) {
218      display: flex;
219    }
220  `}),K=(0,i.forwardRef)(function(e,t){let o,i,a,d;let l=(0,n.c)(9),{count:s,size:c}=e,u=useArrayProp(void 0===c?1:c);return l[0]!==u?(i=u.map(_temp$5),l[0]=u,l[1]=i):i=l[1],o=i,l[2]!==s||l[3]!==o?(a=(0,r.jsx)(M,{as:"span",size:o,weight:"medium",children:s}),l[2]=s,l[3]=o,l[4]=a):a=l[4],l[5]!==t||l[6]!==u||l[7]!==a?(d=(0,r.jsx)(X,{$size:u,"data-ui":"AvatarCounter",ref:t,children:a}),l[5]=t,l[6]=u,l[7]=a,l[8]=d):d=l[8],d});function _temp$5(e){return 1===e?1:2===e?3:3===e?5:0}K.displayName="ForwardRef(AvatarCounter)";let q=a.iv`
221  white-space: nowrap;
222
223  & > div {
224    vertical-align: top;
225
226    &:not([hidden]) {
227      display: inline-block;
228    }
229  }
230`,J=a.zo.div.withConfig({displayName:"StyledAvatarStack",componentId:"sc-cysmbb-0"})(function(e){let{avatar:t,media:o}=(0,l.aQ)(e.theme);return _responsive(o,e.$size,e=>{let o=t.sizes[e];return o?{"& > div + div":{marginLeft:rem(o.distance)}}:y})},function(){return q}),U=(0,i.forwardRef)(function(e,t){let o,a,d,l,s,c;let u=(0,n.c)(15);u[0]!==e?({children:o,maxLength:d,size:l,...a}=e,u[0]=e,u[1]=o,u[2]=a,u[3]=d,u[4]=l):(o=u[1],a=u[2],d=u[3],l=u[4]);let p=void 0===d?4:d,f=void 0===l?1:l,h=i.Children.toArray(o).filter(i.isValidElement),m=useArrayProp(f),g=h.length,b=g-(Math.max(p,0)-1),v=b>1?h.slice(b,g):h,y=0===g&&(0,r.jsx)("div",{children:(0,r.jsx)(K,{count:g,size:m})}),w=0!==g&&b>1&&(0,r.jsx)("div",{children:(0,r.jsx)(K,{count:b,size:m})});u[5]!==m?(s=(e,t)=>(0,r.jsx)("div",{children:(0,i.cloneElement)(e,{size:m})},String(t)),u[5]=m,u[6]=s):s=u[6];let x=v.map(s);return u[7]!==J||u[8]!==t||u[9]!==a||u[10]!==m||u[11]!==y||u[12]!==w||u[13]!==x?(c=(0,r.jsxs)(J,{"data-ui":"AvatarStack",...a,ref:t,$size:m,children:[y,w,x]}),u[7]=J,u[8]=t,u[9]=a,u[10]=m,u[11]=y,u[12]=w,u[13]=x,u[14]=c):c=u[14],c});U.displayName="ForwardRef(AvatarStack)";let Z=a.zo.div.withConfig({displayName:"StyledBox",componentId:"sc-1hhky9f-0"})(function(){return k},flexItemStyle,function(){return[responsiveBoxSizingStyle,responsiveBoxHeightStyle,responsiveBoxOverflowStyle,responsiveBoxDisplayStyle]},function(){return[responsiveGridItemRowStyle,responsiveGridItemRowStartStyle,responsiveGridItemRowEndStyle,responsiveGridItemColumnStyle,responsiveGridItemColumnStartStyle,responsiveGridItemColumnEndStyle]},function(e){let{theme:t}=e;return[_getResponsiveSpace(t,["margin"],e.$margin),_getResponsiveSpace(t,["marginLeft","marginRight"],e.$marginX),_getResponsiveSpace(t,["marginTop","marginBottom"],e.$marginY),_getResponsiveSpace(t,["marginTop"],e.$marginTop),_getResponsiveSpace(t,["marginRight"],e.$marginRight),_getResponsiveSpace(t,["marginBottom"],e.$marginBottom),_getResponsiveSpace(t,["marginLeft"],e.$marginLeft)].filter(
230Boolean)},function(e){let{theme:t}=e;return[_getResponsiveSpace(t,["padding"],e.$padding),_getResponsiveSpace(t,["paddingLeft","paddingRight"],e.$paddingX),_getResponsiveSpace(t,["paddingTop","paddingBottom"],e.$paddingY),_getResponsiveSpace(t,["paddingTop"],e.$paddingTop),_getResponsiveSpace(t,["paddingRight"],e.$paddingRight),_getResponsiveSpace(t,["paddingBottom"],e.$paddingBottom),_getResponsiveSpace(t,["paddingLeft"],e.$paddingLeft)].filter(Boolean)}),ee=(0,i.forwardRef)(function(e,t){let o,i,a,d,l,s,c,u,p,f,h,m,g,b,v,y,w,x,$,S,R,k,C,z,_,j,I,A;let E=(0,n.c)(59);E[0]!==e?({as:z,column:o,columnStart:a,columnEnd:i,display:_,flex:d,height:l,margin:j,marginX:f,marginY:h,marginTop:p,marginRight:u,marginBottom:s,marginLeft:c,overflow:m,padding:I,paddingX:w,paddingY:x,paddingTop:y,paddingRight:v,paddingBottom:g,paddingLeft:b,row:S,rowStart:k,rowEnd:R,sizing:C,...$}=e,E[0]=e,E[1]=o,E[2]=i,E[3]=a,E[4]=d,E[5]=l,E[6]=s,E[7]=c,E[8]=u,E[9]=p,E[10]=f,E[11]=h,E[12]=m,E[13]=g,E[14]=b,E[15]=v,E[16]=y,E[17]=w,E[18]=x,E[19]=$,E[20]=S,E[21]=R,E[22]=k,E[23]=C,E[24]=z,E[25]=_,E[26]=j,E[27]=I):(o=E[1],i=E[2],a=E[3],d=E[4],l=E[5],s=E[6],c=E[7],u=E[8],p=E[9],f=E[10],h=E[11],m=E[12],g=E[13],b=E[14],v=E[15],y=E[16],w=E[17],x=E[18],$=E[19],S=E[20],R=E[21],k=E[22],C=E[23],z=E[24],_=E[25],j=E[26],I=E[27]);let P=void 0===z?"div":z,N=void 0===_?"block":_,T=void 0===j?0:j,F=void 0===I?0:I,B="string"==typeof P?P:void 0,M=useArrayProp(o),L=useArrayProp(a),O=useArrayProp(i),Q=useArrayProp(N),G=useArrayProp(d),H=useArrayProp(l),D=useArrayProp(T),V=useArrayProp(f),W=useArrayProp(h),Y=useArrayProp(p),X=useArrayProp(u),K=useArrayProp(s),q=useArrayProp(c),J=useArrayProp(m),U=useArrayProp(F),ee=useArrayProp(w),et=useArrayProp(x),eo=useArrayProp(y),er=useArrayProp(v),en=useArrayProp(g),ei=useArrayProp(b),ea=useArrayProp(S),ed=useArrayProp(k),el=useArrayProp(R),es=useArrayProp(C);return E[28]!==P||E[29]!==e.children||E[30]!==t||E[31]!==$||E[32]!==H||E[33]!==D||E[34]!==V||E[35]!==W||E[36]!==Y||E[37]!==X||E[38]!==K||E[39]!==q||E[40]!==J||E[41]!==U||E[42]!==ee||E[43]!==et||E[44]!==eo||E[45]!==er||E[46]!==en||E[47]!==ei||E[48]!==ea||E[49]!==ed||E[50]!==el||E[51]!==es||E[52]!==B||E[53]!==M||E[54]!==L||E[55]!==O||E[56]!==Q||E[57]!==G?(A=(0,r.jsx)(Z,{"data-as":B,"data-ui":"Box",...$,$column:M,$columnStart:L,$columnEnd:O,$display:Q,$flex:G,$height:H,$margin:D,$marginX:V,$marginY:W,$marginTop:Y,$marginRight:X,$marginBottom:K,$marginLeft:q,$overflow:J,$padding:U,$paddingX:ee,$paddingY:et,$paddingTop:eo,$paddingRight:er,$paddingBottom:en,$paddingLeft:ei,$row:ea,$rowStart:ed,$rowEnd:el,$sizing:es,as:P,ref:t,children:e.children}),E[28]=P,E[29]=e.children,E[30]=t,E[31]=$,E[32]=H,E[33]=D,E[34]=V,E[35]=W,E[36]=Y,E[37]=X,E[38]=K,E[39]=q,E[40]=J,E[41]=U,E[42]=ee,E[43]=et,E[44]=eo,E[45]=er,E[46]=en,E[47]=ei,E[48]=ea,E[49]=ed,E[50]=el,E[51]=es,E[52]=B,E[53]=M,E[54]=L,E[55]=O,E[56]=Q,E[57]=G,E[58]=A):A=E[58],A});ee.displayName="ForwardRef(Box)";let et=a.zo.div.withConfig({displayName:"StyledText",componentId:"sc-11ov82j-0"})(function(e){return responsiveFont("text",e)},responsiveTextAlignStyle,function(e){let{$accent:t,$muted:o}=e,{font:r}=(0,l.aQ)(e.theme);return a.iv`
231    color: var(--card-fg-color);
232
233    ${t&&a.iv`
234      color: var(--card-accent-fg-color);
235    `}
236
237    ${o&&a.iv`
238      color: var(--card-muted-fg-color);
239    `}
240
241    & code {
242      font-family: ${r.code.family};
243      border-radius: 1px;
244      background-color: var(--card-code-bg-color);
245      color: var(--card-code-fg-color);
246    }
247
248    & a {
249      text-decoration: none;
250      border-radius: 1px;
251      color: var(--card-link-color);
252      outline: none;
253
254      @media (hover: hover) {
255        &:hover {
256          text-decoration: underline;
257        }
258      }
259
260      &:focus {
261        box-shadow:
262          0 0 0 1px var(--card-bg-color),
263          0 0 0 3px var(--card-focus-ring-color);
264      }
265
266      &:focus:not(:focus-visible) {
267        box-shadow: none;
268      }
269    }
270
271    & strong {
272      font-weight: ${r.text.weights.bold};
273    }
274
275    & svg {
276      /* Certain popular CSS libraries changes the defaults for SVG display */
277      /* Make sure SVGs are rendered as inline elements */
278      display: inline;
279    }
280
281    & [data-sanity-icon] {
282      vertical-align: baseline;
283      color: var(--card-icon-color);
284
285      & path {
286        vector-effect: non-scaling-stroke !important;
287      }
288    }
289  `}),eo=(0,i.forwardRef)(function(e,t){let o,i,a,d,l,s,c,u,p,f;let h=(0,n.c)(22);h[0]!==e?({accent:d,align:o,children:i,muted:l,size:s,textOverflow:c,weight:u,...a}=e,h[0]=e,h[1]=o,h[2]=i,h[3]=a,h[4]=d,h[5]=l,h[6]=s,h[7]=c,h[8]=u):(o=h[1],i=h[2],a=h[3],d=h[4],l=h[5],s=h[6],c=h[7],u=h[8]);let m=void 0!==d&&d,g=void 0!==l&&l,b=void 0===s?2:s,v=i;if("ellipsis"===c){let e;h[9]!==v?(e=(0,r.jsx)(F,{children:v}),h[9]=v,h[10]=e):e=h[10],v=e}let y=useArrayProp(o),w=useArrayProp(b);return h[11]!==v?(p=(0,r.jsx)("span",{children:v}),h[11]=v,h[12]=p):p=h[12],h[13]!==m||h[14]!==g||h[15]!==t||h[16]!==a||h[17]!==y||h[18]!==w||h[19]!==p||h[20]!==u?(f=(0,r.jsx)(et,{"data-ui":"Text",...a,$accent:m,$align:y,$muted:g,ref:t,$size:w,$weight:u,children:p}),h[13]=m,h[14]=g,h[15]=t,h[16]=a,h[17]=y,h[18]=w,h[19]=p,h[20]=u,h[21]=f):f=h[21],f});eo.displayName="ForwardRef(Text)";let er=(0,a.zo)(ee).withConfig({displayName:"StyledBadge",componentId:"sc-5u140l-0"}
289)(responsiveRadiusStyle,function(e){let{$tone:t}=e;return{"--card-bg-color":`var(--card-badge-${t}-bg-color)`,"--card-fg-color":`var(--card-badge-${t}-fg-color)`,backgroundColor:"var(--card-bg-color)",cursor:"default","&:not([hidden])":{display:"inline-block",verticalAlign:"top"}}}),en=(0,i.forwardRef)(function(e,t){let o,i,a,d,l,s,c,u;let p=(0,n.c)(17);if(p[0]!==e){let{children:t,fontSize:r,mode:n,padding:c,radius:u,tone:f,...h}=e;o=t,a=r,d=c,l=u,s=f,i=h,p[0]=e,p[1]=o,p[2]=i,p[3]=a,p[4]=d,p[5]=l,p[6]=s}else o=p[1],i=p[2],a=p[3],d=p[4],l=p[5],s=p[6];let f=void 0===a?1:a,h=void 0===d?1:d,m=void 0===l?"full":l,g=void 0===s?"default":s,b=useArrayProp(m),v=useArrayProp(h);return p[7]!==o||p[8]!==f?(c=(0,r.jsx)(eo,{size:f,children:o}),p[7]=o,p[8]=f,p[9]=c):c=p[9],p[10]!==t||p[11]!==i||p[12]!==b||p[13]!==v||p[14]!==c||p[15]!==g?(u=(0,r.jsx)(er,{"data-ui":"Badge",...i,$tone:g,$radius:b,padding:v,ref:t,children:c}),p[10]=t,p[11]=i,p[12]=b,p[13]=v,p[14]=c,p[15]=g,p[16]=u):u=p[16],u});en.displayName="ForwardRef(Badge)";let ei=(0,a.zo)(ee).withConfig({displayName:"StyledFlex",componentId:"sc-oxesg3-0"})(flexItemStyle,function(){return[_,responsiveFlexAlignStyle,responsiveFlexGapStyle,responsiveFlexWrapStyle,responsiveFlexJustifyStyle,responsiveFlexDirectionStyle]}),ea=(0,i.forwardRef)(function(e,t){let o,i,a,d,l,s,c,u;let p=(0,n.c)(17);p[0]!==e?({align:o,as:i,direction:s,gap:a,justify:d,wrap:c,...l}=e,p[0]=e,p[1]=o,p[2]=i,p[3]=a,p[4]=d,p[5]=l,p[6]=s,p[7]=c):(o=p[1],i=p[2],a=p[3],d=p[4],l=p[5],s=p[6],c=p[7]);let f=void 0===s?"row":s,h=useArrayProp(o),m=useArrayProp(f),g=useArrayProp(a),b=useArrayProp(d),v=useArrayProp(c);return p[8]!==i||p[9]!==t||p[10]!==l||p[11]!==h||p[12]!==m||p[13]!==g||p[14]!==b||p[15]!==v?(u=(0,r.jsx)(ei,{"data-ui":"Flex",...l,$align:h,$direction:m,$gap:g,$justify:b,$wrap:v,forwardedAs:i,ref:t}),p[8]=i,p[9]=t,p[10]=l,p[11]=h,p[12]=m,p[13]=g,p[14]=b,p[15]=v,p[16]=u):u=p[16],u});ea.displayName="ForwardRef(Flex)";let ed=a.F4`
290  from {
291    transform: rotate(0deg);
292  }
293
294  to {
295    transform: rotate(360deg);
296  }
297`,el=(0,a.zo)(eo).withConfig({displayName:"StyledSpinner",componentId:"sc-124hnd0-0"})`& > span > svg{animation:${ed} 500ms linear infinite;}`,es=(0,i.forwardRef)(function(e,t){let o,i;let a=(0,n.c)(4);return a[0]===Symbol.for("react.memo_cache_sentinel")?(o=(0,r.jsx)(c.L4p,{}),a[0]=o):o=a[0],a[1]!==e||a[2]!==t?(i=(0,r.jsx)(el,{"data-ui":"Spinner",...e,ref:t,children:o}),a[1]=e,a[2]=t,a[3]=i):i=a[3],i});function _cardColorStyle(e,t,o=!1){return{"--card-backdrop-color":e.backdrop,"--card-focus-ring-color":e.focusRing,"--card-shadow-outline-color":e.shadow.outline,"--card-shadow-umbra-color":e.shadow.umbra,"--card-shadow-penumbra-color":e.shadow.penumbra,"--card-shadow-ambient-color":e.shadow.ambient,"--card-accent-fg-color":t.accent.fg,"--card-avatar-gray-bg-color":t.avatar.gray.bg,"--card-avatar-gray-fg-color":t.avatar.gray.fg,"--card-avatar-blue-bg-color":t.avatar.blue.bg,"--card-avatar-blue-fg-color":t.avatar.blue.fg,"--card-avatar-purple-bg-color":t.avatar.purple.bg,"--card-avatar-purple-fg-color":t.avatar.purple.fg,"--card-avatar-magenta-bg-color":t.avatar.magenta.bg,"--card-avatar-magenta-fg-color":t.avatar.magenta.fg,"--card-avatar-red-bg-color":t.avatar.red.bg,"--card-avatar-red-fg-color":t.avatar.red.fg,"--card-avatar-orange-bg-color":t.avatar.orange.bg,"--card-avatar-orange-fg-color":t.avatar.orange.fg,"--card-avatar-yellow-bg-color":t.avatar.yellow.bg,"--card-avatar-yellow-fg-color":t.avatar.yellow.fg,"--card-avatar-green-bg-color":t.avatar.green.bg,"--card-avatar-green-fg-color":t.avatar.green.fg,"--card-avatar-cyan-bg-color":t.avatar.cyan.bg,"--card-avatar-cyan-fg-color":t.avatar.cyan.fg,"--card-bg-color":t.bg,"--card-bg-image":o?`repeating-conic-gradient(${t.bg} 0% 25%, ${t.muted.bg} 0% 50%)`:void 0,"--card-border-color":t.border,"--card-badge-default-bg-color":t.badge.default.bg,"--card-badge-default-dot-color":t.badge.default.dot,"--card-badge-default-fg-color":t.badge.default.fg,"--card-badge-default-icon-color":t.badge.default.icon,"--card-badge-neutral-bg-color":t.badge.neutral?.bg,"--card-badge-neutral-dot-color":t.badge.neutral?.dot,"--card-badge-neutral-fg-color":t.badge.neutral?.fg,"--card-badge-neutral-icon-color":t.badge.neutral?.icon,"--card-badge-primary-bg-color":t.badge.primary.bg,"--card-badge-primary-dot-color":t.badge.primary.dot,"--card-badge-primary-fg-color":t.badge.primary.fg,"--card-badge-primary-icon-color":t.badge.primary.icon,"--card-badge-suggest-bg-color":t.badge.suggest?.bg,"--card-badge-suggest-dot-color":t.badge.suggest?.dot,"--card-badge-suggest-fg-color":t.badge.suggest?.fg,"--card-badge-suggest-icon-color":t.badge.suggest?.icon,"--card-badge-positive-bg-color":t.badge.positive.bg,"--card-badge-positive-dot-color":t.badge.positive.dot,"--card-badge-positive-fg-color":t.badge.positive.fg,"--card-badge-positive-icon-color":t.badge.positive.icon,"--card-badge-caution-bg-color":t.badge.caution.bg,"--card-badge-caution-dot-color":t.badge.caution.dot,"--card-badge-caution-fg-color":t.badge.caution.fg,"--card-badge-caution-icon-color":t.badge.caution.icon,"--card-badge-critical-bg-color":t.badge.critical.bg,"--card-badge-critical-dot-color":t.badge.critical.dot,"--card-badge-critical-fg-color":t.badge.critical.fg,"--card-badge-critical-icon-color":t.badge.critical.icon,"--card-code-bg-color":t.code.bg,"--card-code-fg-color":t.code.fg,"--card-fg-color":t.fg,"--card-icon-color":t.icon,"--card-kbd-bg-color":t.kbd.bg,"--card-kbd-border-color":t.kbd.border,"--card-kbd-fg-color":t.kbd.fg,"--card-link-fg-color":t.link.fg,"--card-muted-bg-color":t.muted.bg,"--card-muted-fg-color":t.muted.fg,"--card-skeleton-color-from":t.skeleton.from,"--card-skeleton-color-to":t.skeleton.to,"--card-bg2-color":t.muted.bg,"--card-link-color":t.link.fg,"--card-hairline-soft-color":t.border,"--card-hairline-hard-color":t.border}}function combineBoxShadow(...e){return e.filter(Boolean).join(",")}es.displayName="ForwardRef(Spinner)";let ec=a.zo.button.withConfig({displayName:"StyledButton",componentId:"sc-aaekt4-0"})(responsiveRadiusStyle,function(e){let{$width:t}=e,{style:o}=(0,l.aQ)(e.theme);return a.iv`
298    ${o?.button};
299
300    -webkit-font-smoothing: inherit;
301    appearance: none;
302    display: inline-flex;
303    align-items: center;
304    font: inherit;
305    border: 0;
306    outline: none;
307    user-select: none;
308    text-decoration: none;
309    border: 0;
310    box-sizing: border-box;
311    padding: 0;
312    margin: 0;
313    white-space: nowrap;
314    text-align: left;
315    position: relative;
316    vertical-align: top;
317
318    ${"fill"===t&&a.iv`
319      width: -moz-available;
320      width: -webkit-fill-available;
321      width: stretch;
322    `}
323
324    & > span {
325      display: block;
326      flex: 1;
327      min-width: 0;
328      border-radius: inherit;
329    }
330
331    &::-moz-focus-inner {
332      border: 0;
333      padding: 0;
334    }
335  `},function(e){let{$mode:t}=e,{button:o,color:r,style:n}=(0,l.aQ)(e.theme),i="ghost"===e.$mode,a=r.button[t]||r.button.default,d=a[e.$tone]||a.default,s={width:o.border.width,color:"var(--card-border-color)"},c=void 0;return[_cardColorStyle(r,d.enabled),{backgroundColor:"var(--card-bg-color)",color:"var(--card-fg-color)",boxShadow:focusRingBorderStyle(s),'&:disabled, &[data-disabled="true"]':_cardColorStyle(r,d.disabled),"&:not([data-disabled='true'])":{boxShadow:combineBoxShadow(focusRingBorderStyle(s),i?c:void 0),"&:focus":{boxShadow:focusRingStyle({base:r,border:{width:2,color:r.bg},focusRing:o.focusRing})},"&:focus:not(:focus-visible)":{boxShadow:combineBoxShadow(focusRingBorderStyle(s),i?c:void 0)},"@media (hover: hover)":{"&:hover":_cardColorStyle(r,d.hovered),"&:active":_cardColorStyle(r,d.pressed),"&[data-hovered]":_cardColorStyle(r,d.hovered)},"&[data-selected]":_cardColorStyle(r,d.pressed)}}
335,n?.button?.root].filter(Boolean)}),eu=a.zo.div.withConfig({displayName:"LoadingBox",componentId:"sc-aaekt4-1"})`position:absolute;top:0;left:0;right:0;bottom:0;display:flex;align-items:center;justify-content:center;background-color:var(--card-bg-color);border-radius:inherit;z-index:1;box-shadow:inherit;`,ep=(0,i.forwardRef)(function(e,t){let o,a,d,l,c,u,p,f,h,m,g,b,v,y,w,x,$,S,R,k,C,z,_,j,I,A,E,P,N,T,F,B;let M=(0,n.c)(66);M[0]!==e?({children:d,disabled:l,fontSize:y,icon:o,iconRight:a,justify:w,loading:c,mode:x,padding:$,paddingX:m,paddingY:g,paddingTop:h,paddingBottom:u,paddingLeft:p,paddingRight:f,radius:S,selected:v,space:R,text:_,textAlign:j,textWeight:I,tone:k,type:C,muted:z,width:A,...b}=e,M[0]=e,M[1]=o,M[2]=a,M[3]=d,M[4]=l,M[5]=c,M[6]=u,M[7]=p,M[8]=f,M[9]=h,M[10]=m,M[11]=g,M[12]=b,M[13]=v,M[14]=y,M[15]=w,M[16]=x,M[17]=$,M[18]=S,M[19]=R,M[20]=k,M[21]=C,M[22]=z,M[23]=_,M[24]=j,M[25]=I,M[26]=A):(o=M[1],a=M[2],d=M[3],l=M[4],c=M[5],u=M[6],p=M[7],f=M[8],h=M[9],m=M[10],g=M[11],b=M[12],v=M[13],y=M[14],w=M[15],x=M[16],$=M[17],S=M[18],R=M[19],k=M[20],C=M[21],z=M[22],_=M[23],j=M[24],I=M[25],A=M[26]);let L=void 0===y?1:y,O=void 0===w?"center":w,Q=void 0===x?"default":x,G=void 0===$?3:$,H=void 0===S?2:S,D=void 0===R?3:R,V=void 0===k?"default":k,W=void 0===C?"button":C,Y=void 0!==z&&z,{button:X}=useTheme_v2(),K=useArrayProp(O),q=useArrayProp(G),J=useArrayProp(m),U=useArrayProp(g),Z=useArrayProp(h),et=useArrayProp(u),er=useArrayProp(p),en=useArrayProp(f),ei=useArrayProp(H),ed=useArrayProp(D);M[27]!==q||M[28]!==et||M[29]!==er||M[30]!==en||M[31]!==Z||M[32]!==J||M[33]!==U?(P={padding:q,paddingX:J,paddingY:U,paddingTop:Z,paddingBottom:et,paddingLeft:er,paddingRight:en},M[27]=q,M[28]=et,M[29]=er,M[30]=en,M[31]=Z,M[32]=J,M[33]=U,M[34]=P):P=M[34],E=P;let el=!!(c||l),ep=v?"":void 0,ef=!!(c||l);return M[35]!==c?(N=!!c&&(0,r.jsx)(eu,{children:(0,r.jsx)(es,{})}),M[35]=c,M[36]=N):N=M[36],M[37]!==o||M[38]!==a||M[39]!==E||M[40]!==X||M[41]!==L||M[42]!==K||M[43]!==Y||M[44]!==ed||M[45]!==_||M[46]!==j||M[47]!==I?(T=(o||_||a)&&(0,r.jsx)(ee,{as:"span",...E,children:(0,r.jsxs)(ea,{as:"span",justify:K,gap:ed,children:[o&&(0,r.jsxs)(eo,{size:L,children:[(0,i.isValidElement)(o)&&o,(0,s.isValidElementType)(o)&&(0,r.jsx)(o,{})]}),_&&(0,r.jsx)(ee,{children:(0,r.jsx)(eo,{muted:Y,align:j,size:L,textOverflow:"ellipsis",weight:I??X.textWeight,children:_})}),a&&(0,r.jsxs)(eo,{size:L,children:[(0,i.isValidElement)(a)&&a,(0,s.isValidElementType)(a)&&(0,r.jsx)(a,{})]})]})}),M[37]=o,M[38]=a,M[39]=E,M[40]=X,M[41]=L,M[42]=K,M[43]=Y,M[44]=ed,M[45]=_,M[46]=j,M[47]=I,M[48]=T):T=M[48],M[49]!==E||M[50]!==d?(F=d&&(0,r.jsx)(ee,{as:"span",...E,children:d}),M[49]=E,M[50]=d,M[51]=F):F=M[51],M[52]!==Q||M[53]!==ei||M[54]!==t||M[55]!==b||M[56]!==el||M[57]!==ep||M[58]!==ef||M[59]!==N||M[60]!==T||M[61]!==F||M[62]!==V||M[63]!==W||M[64]!==A?(B=(0,r.jsxs)(ec,{"data-ui":"Button",...b,$mode:Q,$radius:ei,$tone
335:V,"data-disabled":el,"data-selected":ep,disabled:ef,ref:t,type:W,$width:A,children:[N,T,F]}),M[52]=Q,M[53]=ei,M[54]=t,M[55]=b,M[56]=el,M[57]=ep,M[58]=ef,M[59]=N,M[60]=T,M[61]=F,M[62]=V,M[63]=W,M[64]=A,M[65]=B):B=M[65],B});ep.displayName="ForwardRef(Button)";let ef=(0,a.zo)(ee).withConfig({displayName:"StyledCard",componentId:"sc-osnro2-0"})(function(){return[border,borderTop,borderRight,borderBottom,borderLeft]},responsiveRadiusStyle,function(e){let{card:t,media:o,shadow:r}=(0,l.aQ)(e.theme);return _responsive(o,e.$shadow,e=>(function(e,t=1){if(!e)return y;let o=`0 0 0 ${rem(t)} var(--card-shadow-outline-color)`,r=toBoxShadow(e.umbra,"var(--card-shadow-umbra-color)"),n=toBoxShadow(e.penumbra,"var(--card-shadow-penumbra-color)"),i=toBoxShadow(e.ambient,"var(--card-shadow-ambient-color)");return{boxShadow:`${o}, ${r}, ${n}, ${i}`}})(r[e],t.shadow.outline))},function(e){return[function(e){let{$checkered:t}=e,{space:o}=(0,l.aQ)(e.theme);return a.iv`
336    ${t&&a.iv`
337      background-size: ${o[3]}px ${o[3]}px;
338      background-position: 50% 50%;
339      background-image: var(--card-bg-image);
340    `}
341
342    &[data-as='button'] {
343      -webkit-font-smoothing: inherit;
344      appearance: none;
345      outline: none;
346      font: inherit;
347      text-align: inherit;
348      border: 0;
349      width: -moz-available;
350      width: -webkit-fill-available;
351      width: stretch;
352    }
353
354    /* &:is(a) */
355    &[data-as='a'] {
356      outline: none;
357      text-decoration: none;
358    }
359
360    /* &:is(pre) */
361    &[data-as='pre'] {
362      font: inherit;
363    }
364  `}(e),function(e){let{$checkered:t,$focusRing:o,$muted:r}=e,{card:n,color:i,style:d}=(0,l.aQ)(e.theme),s={width:n.border.width,color:"var(--card-border-color)"};return a.iv`
365    color-scheme: ${i._dark?"dark":"light"};
366
367    ${_cardColorStyle(i,i,t)}
368
369    background-color: ${r?"var(--card-muted-bg-color)":"var(--card-bg-color)"};
370    color: var(--card-fg-color);
371
372    /* &:is(button) */
373    &[data-as='button'] {
374      --card-focus-ring-box-shadow: none;
375
376      cursor: default;
377      box-shadow: var(--card-focus-ring-box-shadow);
378
379      &:disabled {
380        ${_cardColorStyle(i,i.selectable.default.disabled,t)}
381      }
382
383      &:not(:disabled) {
384        &[data-pressed] {
385          ${_cardColorStyle(i,i.selectable.default.pressed,t)}
386        }
387
388        &[data-selected] {
389          ${_cardColorStyle(i,i.selectable.default.selected,t)}
390        }
391
392        @media (hover: hover) {
393          &:not([data-pressed]):not([data-selected]) {
394            &[data-hovered],
395            &:hover {
396              ${_cardColorStyle(i,i.selectable.default.hovered,t)}
397            }
398
399            &:active {
400              ${_cardColorStyle(i,i.selectable.default.pressed,t)}
401            }
402          }
403        }
404
405        &:focus-visible {
406          --card-focus-ring-box-shadow: ${o?focusRingStyle({base:i,border:s,focusRing:n.focusRing}):void 0};
407        }
408      }
409    }
410
411    /* &:is(a) */
412    &[data-as='a'] {
413      cursor: pointer;
414      box-shadow: var(--card-focus-ring-box-shadow);
415
416      &[data-disabled] {
417        ${_cardColorStyle(i,i.selectable.default.disabled,t)}
418      }
419
420      &:not([data-disabled]) {
421        &[data-pressed] {
422          ${_cardColorStyle(i,i.selectable.default.pressed,t)}
423        }
424
425        &[data-selected] {
426          ${_cardColorStyle(i,i.selectable.default.selected,t)}
427        }
428
429        @media (hover: hover) {
430          &:not([data-pressed]):not([data-selected]) {
431            &[data-hovered],
432            &:hover {
433              ${_cardColorStyle(i,i.selectable.default.hovered,t)}
434            }
435
436            &:active {
437              ${_cardColorStyle(i,i.selectable.default.pressed,t)}
438            }
439          }
440        }
441
442        &:focus-visible {
443          --card-focus-ring-box-shadow: ${o?focusRingStyle({base:i,border:s,focusRing:n.focusRing}):void 0};
444        }
445      }
446    }
447
448    ${d?.card?.root}
449  `}(e)]}),eh=(0,i.forwardRef)(function(e,t){let o,i,a,d,l,c,u,p,f,h,m,g,b,v,y,w,x,$;let S=(0,n.c)(42);S[0]!==e?({__unstable_checkered:b,__unstable_focusRing:v,as:o,border:i,borderTop:c,borderRight:l,borderBottom:a,borderLeft:d,muted:u,pressed:p,radius:y,scheme:h,selected:m,shadow:g,tone:w,...f}=e,S[0]=e,S[1]=o,S[2]=i,S[3]=a,S[4]=d,S[5]=l,S[6]=c,S[7]=u,S[8]=p,S[9]=f,S[10]=h,S[11]=m,S[12]=g,S[13]=b,S[14]=v,S[15]=y,S[16]=w):(o=S[1],i=S[2],a=S[3],d=S[4],l=S[5],c=S[6],u=S[7],p=S[8],f=S[9],h=S[10],m=S[11],g=S[12],b=S[13],v=S[14],y=S[15],w=S[16]);let R=void 0!==b&&b,k=void 0!==v&&v,C=void 0===y?0:y,z=void 0===w?"default":w,_=(0,s.isValidElementType)(o)?o:"div",j=useRootTheme(
449),I="inherit"===z?j.tone:z,A="string"==typeof _?_:void 0,E=j.scheme,P=useArrayProp(i),N=useArrayProp(c),T=useArrayProp(l),F=useArrayProp(a),B=useArrayProp(d),M=useArrayProp(C),L=useArrayProp(g),O=R?"":void 0,Q=p?"":void 0,G=m?"":void 0;return S[17]!==_||S[18]!==R||S[19]!==k||S[20]!==u||S[21]!==t||S[22]!==f||S[23]!==j.scheme||S[24]!==m||S[25]!==B||S[26]!==M||S[27]!==L||S[28]!==O||S[29]!==Q||S[30]!==G||S[31]!==A||S[32]!==P||S[33]!==N||S[34]!==T||S[35]!==F||S[36]!==I?(x=(0,r.jsx)(ef,{"data-as":A,"data-scheme":E,"data-ui":"Card","data-tone":I,...f,$border:P,$borderTop:N,$borderRight:T,$borderBottom:F,$borderLeft:B,$checkered:R,$focusRing:k,$muted:u,$radius:M,$shadow:L,$tone:I,"data-checkered":O,"data-pressed":Q,"data-selected":G,forwardedAs:_,ref:t,selected:m}),S[17]=_,S[18]=R,S[19]=k,S[20]=u,S[21]=t,S[22]=f,S[23]=j.scheme,S[24]=m,S[25]=B,S[26]=M,S[27]=L,S[28]=O,S[29]=Q,S[30]=G,S[31]=A,S[32]=P,S[33]=N,S[34]=T,S[35]=F,S[36]=I,S[37]=x):x=S[37],S[38]!==h||S[39]!==x||S[40]!==I?($=(0,r.jsx)(ThemeColorProvider,{scheme:h,tone:I,children:x}),S[38]=h,S[39]=x,S[40]=I,S[41]=$):$=S[41],$});eh.displayName="ForwardRef(Card)";let em=a.zo.div.withConfig({displayName:"StyledCheckbox",componentId:"sc-1l5mt2l-0"})(function(){return a.iv`
450    position: relative;
451    display: inline-block;
452  `}),eg=a.zo.input.withConfig({displayName:"Input",componentId:"sc-1l5mt2l-1"})(function(e){let{color:t,input:o,radius:r}=(0,l.aQ)(e.theme),{focusRing:n}=o.checkbox;return a.iv`
453    position: absolute;
454    top: 0;
455    left: 0;
456    width: 100%;
457    height: 100%;
458    outline: none;
459    opacity: 0;
460    z-index: 1;
461    padding: 0;
462    margin: 0;
463
464    & + span {
465      position: relative;
466      display: block;
467      height: ${rem(o.checkbox.size)};
468      width: ${rem(o.checkbox.size)};
469      box-sizing: border-box;
470      box-shadow: ${focusRingBorderStyle({color:t.input.default.enabled.border,width:o.border.width})};
471      border-radius: ${rem(r[2])};
472      line-height: 1;
473      background-color: ${t.input.default.enabled.bg};
474
475      & > svg {
476        display: block;
477        position: absolute;
478        opacity: 0;
479        height: 100%;
480        width: 100%;
481
482        & > path {
483          vector-effect: non-scaling-stroke;
484          stroke-width: 1.5px !important;
485        }
486      }
487    }
488
489    &:checked + span {
490      background: ${t.input.default.enabled.fg};
491      box-shadow: ${focusRingBorderStyle({color:t.input.default.enabled.fg,width:o.border.width})};
492      color: ${t.input.default.enabled.bg};
493    }
494
495    /* focus */
496    &:not(:disabled):focus:focus-visible + span {
497      box-shadow: ${focusRingStyle({focusRing:n})};
498    }
499
500    /* focus when checked - uses a different offset */
501    &:not(:disabled):focus:focus-visible&:checked + span {
502      box-shadow: ${focusRingStyle({focusRing:{width:1,offset:1}})};
503    }
504
505    &[data-error] + span {
506      background-color: ${t.input.invalid.enabled.border};
507      box-shadow: ${focusRingBorderStyle({width:o.border.width,color:t.input.invalid.enabled.muted.bg})};
508      color: ${t.input.default.disabled.fg};
509    }
510    &[data-error]&:checked + span {
511      background-color: ${t.input.invalid.enabled.muted.bg};
512      color: ${t.input.default.enabled.bg};
513    }
514    &[data-error]&:checked&:not(:disabled):focus:focus-visible + span {
515      box-shadow: ${focusRingStyle({border:{width:o.border.width,color:t.input.invalid.readOnly.muted.bg},focusRing:{width:1,offset:1}})};
516    }
517
518    &:disabled + span {
519      background-color: ${t.input.default.disabled.bg};
520      box-shadow: ${focusRingBorderStyle({width:o.border.width,color:t.input.default.disabled.border})};
521      color: ${t.input.default.disabled.fg};
522    }
523    &:disabled&:checked + span {
524      background-color: ${t.input.default.disabled.muted.bg};
525    }
526
527    &[data-read-only] + span {
528      background-color: ${t.input.default.readOnly.bg};
529      box-shadow: ${focusRingBorderStyle({width:o.border.width,color:t.input.default.readOnly.border})};
530      color: ${t.input.default.readOnly.fg};
531    }
532
533    &[data-read-only]&:checked + span {
534      background-color: ${t.input.default.readOnly.muted.bg};
535    }
536
537    &:checked + span > svg:first-child {
538      opacity: 1;
539    }
540    &:indeterminate + span > svg:last-child {
541      opacity: 1;
542    }
543  `}),eb=(0,i.forwardRef)(function(e,t){let o,a,d,l,s,u,p,f,h,m,g,b,v,y;let w=(0,n.c)(25);
543w[0]!==e?({checked:o,className:a,disabled:l,indeterminate:s,customValidity:d,readOnly:u,style:f,...p}=e,w[0]=e,w[1]=o,w[2]=a,w[3]=d,w[4]=l,w[5]=s,w[6]=u,w[7]=p,w[8]=f):(o=w[1],a=w[2],d=w[3],l=w[4],s=w[5],u=w[6],p=w[7],f=w[8]);let x=(0,i.useRef)(null);w[9]===Symbol.for("react.memo_cache_sentinel")?(h=()=>x.current,w[9]=h):h=w[9],(0,i.useImperativeHandle)(t,h),w[10]!==s?(m=()=>{x.current&&(x.current.indeterminate=s||!1)},g=[s],w[10]=s,w[11]=m,w[12]=g):(m=w[11],g=w[12]),(0,i.useEffect)(m,g),useCustomValidity(x,d);let $=!l&&u?"":void 0,S=d?"":void 0,R=l||u;return w[13]!==o||w[14]!==u||w[15]!==p||w[16]!==$||w[17]!==S||w[18]!==R?(b=(0,r.jsx)(eg,{"data-read-only":$,"data-error":S,...p,checked:o,disabled:R,type:"checkbox",readOnly:u,ref:x}),w[13]=o,w[14]=u,w[15]=p,w[16]=$,w[17]=S,w[18]=R,w[19]=b):b=w[19],w[20]===Symbol.for("react.memo_cache_sentinel")?(v=(0,r.jsxs)("span",{children:[(0,r.jsx)(c.KML,{}),(0,r.jsx)(c.HFL,{})]}),w[20]=v):v=w[20],w[21]!==a||w[22]!==f||w[23]!==b?(y=(0,r.jsxs)(em,{className:a,"data-ui":"Checkbox",style:f,children:[b,v]}),w[21]=a,w[22]=f,w[23]=b,w[24]=y):y=w[24],y});function codeSyntaxHighlightingStyle({theme:e}){let{color:{syntax:t}}=(0,l.aQ)(e);return{"&.atrule":{color:t.atrule},"&.attr-name":{color:t.attrName},"&.attr-value":{color:t.attrValue},"&.attribute":{color:t.attribute},"&.boolean":{color:t.boolean},"&.builtin":{color:t.builtin},"&.cdata":{color:t.cdata},"&.char":{color:t.char},"&.class":{color:t.class},"&.class-name":{color:t.className},"&.comment":{color:t.comment},"&.constant":{color:t.constant},"&.deleted":{color:t.deleted},"&.doctype":{color:t.doctype},"&.entity":{color:t.entity},"&.function":{color:t.function},"&.hexcode":{color:t.hexcode},"&.id":{color:t.id},"&.important":{color:t.important},"&.inserted":{color:t.inserted},"&.keyword":{color:t.keyword},"&.number":{color:t.number},"&.operator":{color:t.operator},"&.prolog":{color:t.prolog},"&.property":{color:t.property},"&.pseudo-class":{color:t.pseudoClass},"&.pseudo-element":{color:t.pseudoElement},"&.punctuation":{color:t.punctuation},"&.regex":{color:t.regex},"&.selector":{color:t.selector},"&.string":{color:t.string},"&.symbol":{color:t.symbol},"&.tag":{color:t.tag},"&.unit":{color:t.unit},"&.url":{color:t.url},"&.variable":{color:t.variable}}}eb.displayName="ForwardRef(Checkbox)";let ev=(0,i.lazy)(()=>o.e(7648).then(o.bind(o,27648))),ey=a.zo.pre.withConfig({displayName:"StyledCode",componentId:"sc-4dymyn-0"})(function(){return a.iv`
544    color: var(--card-code-fg-color);
545
546    & code {
547      font-family: inherit;
548
549      &.refractor .token {
550        ${codeSyntaxHighlightingStyle}
551      }
552    }
553
554    & a {
555      color: inherit;
556      text-decoration: underline;
557      border-radius: 1px;
558    }
559
560    & svg {
561      /* Certain popular CSS libraries changes the defaults for SVG display */
562      /* Make sure SVGs are rendered as inline elements */
563      display: inline;
564    }
565
566    & [data-sanity-icon] {
567      vertical-align: baseline;
568    }
569  `},function(e){return responsiveFont("code",e)}),ew=(0,i.forwardRef)(function(e,t){let o,a,d,l,s,c,u,p,f;let h=(0,n.c)(20);h[0]!==e?({children:o,language:a,size:l,weight:s,...d}=e,h[0]=e,h[1]=o,h[2]=a,h[3]=d,h[4]=l,h[5]=s):(o=h[1],a=h[2],d=h[3],l=h[4],s=h[5]);let m=useArrayProp(void 0===l?2:l);return h[6]!==o?(c=(0,r.jsx)("code",{children:o}),h[6]=o,h[7]=c):c=h[7],h[8]!==o||h[9]!==a?(u=(0,r.jsx)(ev,{language:a,value:o}),h[8]=o,h[9]=a,h[10]=u):u=h[10],h[11]!==c||h[12]!==u?(p=(0,r.jsx)(i.Suspense,{fallback:c,children:u}),h[11]=c,h[12]=u,h[13]=p):p=h[13],h[14]!==t||h[15]!==d||h[16]!==m||h[17]!==p||h[18]!==s?(f=(0,r.jsx)(ey,{"data-ui":"Code",...d,$size:m,$weight:s,ref:t,children:p}),h[14]=t,h[15]=d,h[16]=m,h[17]=p,h[18]=s,h[19]=f):f=h[19],f});ew.displayName="ForwardRef(Code)";let ex={width:"100%",margin:"0 auto"},e$=(0,a.zo)(ee).withConfig({displayName:"StyledContainer",componentId:"sc-wyroop-0"})(function(){return ex},function(e){let{container:t,media:o}=(0,l.aQ)(e.theme);return _responsive(o,e.$width,e=>({maxWidth:"auto"===e?"none":rem(t[e])}))}),eS=(0,i.forwardRef)(function(e,t){let o,i,a,d;let l=(0,n.c)(9);l[0]!==e?({as:o,width:a,...i}=e,l[0]=e,l[1]=o,l[2]=i,l[3]=a):(o=l[1],i=l[2],a=l[3]);let s=useArrayProp(void 0===a?2:a);return l[4]!==o||l[5]!==t||l[6]!==i||l[7]!==s?(d=(0,r.jsx)(e$,{"data-ui":"Container",...i,$width:s,forwardedAs:o,ref:t}),l[4]=o,l[5]=t,l[6]=i,l[7]=s,l[8]=d):d=l[8],d});eS.displayName="ForwardRef(Container)";let eR=(0,a.zo)(ee).withConfig({displayName:"StyledGrid",componentId:"sc-v8t8oz-0"})(function(){return[I,responsiveGridAutoFlowStyle,responsiveGridAutoRowsStyle,responsiveGridAutoColsStyle,responsiveGridColumnsStyle,responsiveGridRowsStyle,responsiveGridGapStyle,responsiveGridGapXStyle,responsiveGridGapYStyle]}),ek=(0,i.forwardRef)(function(e,t){let o,i,a,d,l,s,c,u,p,f,h,m;let g=(0,n.c)(26);g[0]!==e?({as:o,autoRows:d,autoCols:i,autoFlow:a,columns:s,gap:c,gapX:u,gapY:p,rows:h,children:l,...f}=e,g[0]=e,g[1]=o,g[2]=i,g[3]=a,g[4]=d,g[5]=l,g[6]=s,g[7]=c,g[8]=u,g[9]=p,g[10]=f,g[11]=h):(o=g[1],i=g[2],a=g[3],d=g[4],l=g[5],s=g[6],c=g[7],u=g[8],p=g[9],f=g[10],h=g[11]);let b="string"==typeof o?o:void 0,v=useArrayProp(d),y=useArrayProp(i),w=useArrayProp(a),x=useArrayProp(s),$=useArrayProp(c),S=useArrayProp(u),R=useArrayProp(
569p),k=useArrayProp(h);return g[12]!==o||g[13]!==l||g[14]!==t||g[15]!==f||g[16]!==b||g[17]!==v||g[18]!==y||g[19]!==w||g[20]!==x||g[21]!==$||g[22]!==S||g[23]!==R||g[24]!==k?(m=(0,r.jsx)(eR,{"data-as":b,"data-ui":"Grid",...f,$autoRows:v,$autoCols:y,$autoFlow:w,$columns:x,$gap:$,$gapX:S,$gapY:R,$rows:k,forwardedAs:o,ref:t,children:l}),g[12]=o,g[13]=l,g[14]=t,g[15]=f,g[16]=b,g[17]=v,g[18]=y,g[19]=w,g[20]=x,g[21]=$,g[22]=S,g[23]=R,g[24]=k,g[25]=m):m=g[25],m});ek.displayName="ForwardRef(Grid)";let eC=a.zo.div.withConfig({displayName:"StyledHeading",componentId:"sc-137lwim-0"})(function(e){let{$accent:t,$muted:o}=e,{font:r}=(0,l.aQ)(e.theme);return a.iv`
570    ${t&&a.iv`
571      color: var(--card-accent-fg-color);
572    `}
573
574    ${o&&a.iv`
575      color: var(--card-muted-fg-color);
576    `}
577
578    & code {
579      font-family: ${r.code.family};
580      border-radius: 1px;
581    }
582
583    & a {
584      text-decoration: none;
585      border-radius: 1px;
586      color: var(--card-link-color);
587      outline: none;
588
589      @media (hover: hover) {
590        &:hover {
591          text-decoration: underline;
592        }
593      }
594
595      &:focus {
596        box-shadow:
597          0 0 0 1px var(--card-bg-color),
598          0 0 0 3px var(--card-focus-ring-color);
599      }
600
601      &:focus:not(:focus-visible) {
602        box-shadow: none;
603      }
604    }
605
606    & strong {
607      font-weight: ${r.heading.weights.bold};
608    }
609
610    & svg {
611      /* Certain popular CSS libraries changes the defaults for SVG display */
612      /* Make sure SVGs are rendered as inline elements */
613      display: inline;
614    }
615
616    & [data-sanity-icon] {
617      vertical-align: baseline;
618    }
619  `},responsiveTextAlignStyle,function(e){return responsiveFont("heading",e)}),ez=(0,i.forwardRef)(function(e,t){let o,i,a,d,l,s,c,u,p,f;let h=(0,n.c)(22);h[0]!==e?({accent:d,align:o,children:i,muted:l,size:s,textOverflow:c,weight:u,...a}=e,h[0]=e,h[1]=o,h[2]=i,h[3]=a,h[4]=d,h[5]=l,h[6]=s,h[7]=c,h[8]=u):(o=h[1],i=h[2],a=h[3],d=h[4],l=h[5],s=h[6],c=h[7],u=h[8]);let m=void 0!==d&&d,g=void 0!==l&&l,b=void 0===s?2:s,v=i;if("ellipsis"===c){let e;h[9]!==v?(e=(0,r.jsx)(F,{children:v}),h[9]=v,h[10]=e):e=h[10],v=e}let y=useArrayProp(o),w=useArrayProp(b);return h[11]!==v?(p=(0,r.jsx)("span",{children:v}),h[11]=v,h[12]=p):p=h[12],h[13]!==m||h[14]!==g||h[15]!==t||h[16]!==a||h[17]!==y||h[18]!==w||h[19]!==p||h[20]!==u?(f=(0,r.jsx)(eC,{"data-ui":"Heading",...a,$accent:m,$align:y,$muted:g,$size:w,$weight:u,ref:t,children:p}),h[13]=m,h[14]=g,h[15]=t,h[16]=a,h[17]=y,h[18]=w,h[19]=p,h[20]=u,h[21]=f):f=h[21],f});ez.displayName="ForwardRef(Heading)";let e_=(0,a.zo)(ee).withConfig({displayName:"StyledInline",componentId:"sc-1pkiy6j-0"})(function(){return{lineHeight:0,"&&:not([hidden])":{display:"block"},"& > div":{display:"inline-block",verticalAlign:"middle"}}},function(e){let{media:t,space:o}=(0,l.aQ)(e.theme);return _responsive(t,e.$space,e=>{let t=rem(.5===e?o[1]/2:o[e]);return{margin:`-${t} 0 0 -${t}`,"& > div":{padding:`${t} 0 0 ${t}`}}})}),ej=(0,i.forwardRef)(function(e,t){let o,a,d,l,s,c,u;let p=(0,n.c)(12);p[0]!==e?({as:o,children:a,space:l,...d}=e,p[0]=e,p[1]=o,p[2]=a,p[3]=d,p[4]=l):(o=p[1],a=p[2],d=p[3],l=p[4]),p[5]!==a?(c=i.Children.map(a,_temp$4),p[5]=a,p[6]=c):c=p[6],s=c;let f=useArrayProp(l);return p[7]!==o||p[8]!==s||p[9]!==d||p[10]!==f?(u=(0,r.jsx)(e_,{"data-ui":"Inline",...d,$space:f,forwardedAs:o,ref:t,children:s}),p[7]=o,p[8]=s,p[9]=d,p[10]=f,p[11]=u):u=p[11],u});function _temp$4(e){return e&&(0,r.jsx)("div",{children:e})}ej.displayName="ForwardRef(Inline)";let eI=a.zo.kbd.withConfig({displayName:"StyledKBD",componentId:"sc-1w7yd8w-0"})(responsiveRadiusStyle,function(){return a.iv`
620    --card-bg-color: var(--card-kbd-bg-color);
621    --card-border-color: var(--card-kbd-border-color);
622    --card-fg-color: var(--card-kbd-fg-color);
623
624    box-shadow: inset 0 0 0 1px var(--card-border-color);
625    background: var(--card-bg-color);
626    font: inherit;
627
628    vertical-align: top;
629
630    &:not([hidden]) {
631      display: inline-block;
632    }
633  `}),eA=(0,i.forwardRef)(function(e,t){let o,i,a,d,l,s,c,u;let p=(0,n.c)(17);p[0]!==e?({children:o,fontSize:a,padding:d,radius:l,...i}=e,p[0]=e,p[1]=o,p[2]=i,p[3]=a,p[4]=d,p[5]=l):(o=p[1],i=p[2],a=p[3],d=p[4],l=p[5]);let f=void 0===a?0:a,h=void 0===d?1:d,m=useArrayProp(void 0===l?2:l);return p[6]!==o||p[7]!==f?(s=(0,r.jsx)(eo,{as:"span",size:f,weight:"semibold",children:o}),p[6]=o,p[7]=f,p[8]=s):s=p[8],p[9]!==h||p[10]!==s?(c=(0,r.jsx)(ee,{as:"span",padding:h,children:s}),p[9]=h,p[10]=s,p[11]=c):c=p[11],p[12]!==t||p[13]!==i||p[14]!==m||p[15]!==c?(u=(0,r.jsx)(eI,{"data-ui":"KBD",...i,$radiu
633s:m,ref:t,children:c}),p[12]=t,p[13]=i,p[14]=m,p[15]=c,p[16]=u):u=p[16],u});eA.displayName="ForwardRef(KBD)";let eE={name:"@sanity/ui/origin",fn({middlewareData:e,placement:t,rects:o}){let[r]=t.split("-"),n=o.floating.width,i=o.floating.height,a=e.shift?.x||0,d=e.shift?.y||0;if(n<=0||i<=0)return{};let l=["bottom","top"].includes(r),{originX:s,originY:c}=l?{originX:clamp(.5-a/n,0,1),originY:"bottom"===r?0:1}:{originX:"left"===r?1:0,originY:clamp(.5-d/i,0,1)};return{data:{originX:s,originY:c}}}};function clamp(e,t,o){return Math.min(Math.max(e,t),o)}function moveTowardsLength(e,t,o){let r=t.x-e.x,n=t.y-e.y;return moveTowardsFractional(e,t,Math.min(1,o/Math.sqrt(r*r+n*n)))}function moveTowardsFractional(e,t,o){return{x:e.x+(t.x-e.x)*o,y:e.y+(t.y-e.y)*o}}let eP=a.zo.div.withConfig({displayName:"StyledArrow",componentId:"sc-12vzy6c-0"})(({$w:e})=>a.iv`
634    position: absolute;
635    width: ${e}px;
636    height: ${e}px;
637
638    :empty + & {
639      display: none;
640    }
641
642    & > svg {
643      display: block;
644      line-height: 0;
645      transform-origin: ${e/2}px ${e/2}px;
646    }
647
648    [data-placement^='top'] > & {
649      bottom: -${e}px;
650
651      & > svg {
652        transform: rotate(0);
653      }
654    }
655
656    [data-placement^='right'] > & {
657      left: -${e}px;
658
659      & > svg {
660        transform: rotate(90deg);
661      }
662    }
663
664    [data-placement^='left'] > & {
665      right: -${e}px;
666
667      & > svg {
668        transform: rotate(-90deg);
669      }
670    }
671
672    [data-placement^='bottom'] > & {
673      top: -${e}px;
674
675      & > svg {
676        transform: rotate(180deg);
677      }
678    }
679  `),eN=a.zo.path.withConfig({displayName:"StrokePath",componentId:"sc-12vzy6c-1"})`stroke:var(--card-shadow-outline-color);`,eT=a.zo.path.withConfig({displayName:"ShapePath",componentId:"sc-12vzy6c-2"})`fill:var(--card-bg-color);`,eF=(0,i.forwardRef)(function(e,t){let o,i,a,d,l,s,c,u,p;let f=(0,n.c)(24);f[0]!==e?({width:d,height:o,radius:a,...i}=e,f[0]=e,f[1]=o,f[2]=i,f[3]=a,f[4]=d):(o=f[1],i=f[2],a=f[3],d=f[4]);let h=void 0===a?0:a,{card:m}=useTheme_v2(),g=m.shadow.outline,b=d/2,v=[{x:0,y:0},{x:h,y:0,radius:h},{x:b,y:o-1,radius:h},{x:d-h,y:0,radius:h},{x:d,y:0}],y=function(e){let t=e.length,o=[];for(let r=0;r<t;r+=1){let t=e[r],n=e[r-1],i=e[r+1];if(n&&t.radius){let e=moveTowardsLength(t,n,t.radius),r=moveTowardsLength(t,i,t.radius),a=moveTowardsFractional(e,t,.5),d=moveTowardsFractional(t,r,.5);o.push({type:"point",...e}),o.push({type:"curve",curveEnd:r,startControl:a,endControl:d})}else o.push({type:"point",...t})}return o}(v),w=y.map((e,t)=>"point"===e.type?`${0===t?"M":"L"} ${e.x} ${e.y}`:"curve"===e.type?`C ${e.startControl.x} ${e.startControl.y} ${e.endControl.x} ${e.endControl.y} ${e.curveEnd.x} ${e.curveEnd.y}`:"").join(" "),x=`${w}`,$=`${w} M ${d} -1 M 0 -1 Z`,S=`0 0 ${d} ${d}`;f[5]!==g||f[6]!==d?(l=(0,r.jsx)("mask",{id:"stroke-mask",children:(0,r.jsx)("rect",{x:0,y:g,width:d,height:d,fill:"white"})}),f[5]=g,f[6]=d,f[7]=l):l=f[7];let R=2*g;return f[8]!==x||f[9]!==R?(s=(0,r.jsx)(eN,{d:x,mask:"url(#stroke-mask)",strokeWidth:R}),f[8]=x,f[9]=R,f[10]=s):s=f[10],f[11]!==$?(c=(0,r.jsx)(eT,{d:$}),f[11]=$,f[12]=c):c=f[12],f[13]!==S||f[14]!==l||f[15]!==s||f[16]!==c||f[17]!==d?(u=(0,r.jsxs)("svg",{width:d,height:d,viewBox:S,children:[l,s,c]}),f[13]=S,f[14]=l,f[15]=s,f[16]=c,f[17]=d,f[18]=u):u=f[18],f[19]!==t||f[20]!==i||f[21]!==u||f[22]!==d?(p=(0,r.jsx)(eP,{...i,$w:d,ref:t,children:u}),f[19]=t,f[20]=i,f[21]=u,f[22]=d,f[23]=p):p=f[23],p});eF.displayName="ForwardRef(Arrow)";let eB=createGlobalScopedContext("@sanity/ui/context/boundaryElement",null);function isRecord(e){return!!(e&&"object"==typeof e&&!Array.isArray(e))}let eM={version:0,element:null};function useBoundaryElement(){let e=(0,i.useContext)(eB);if(e&&(!isRecord(e)||0!==e.version))throw Error("useBoundaryElement(): the context value is not compatible");return e||eM}let eL=(0,i.forwardRef)(function(e,t){let o,a,d,l,s,c,u,p,f,h,m;let g=(0,n.c)(18),b=useTheme_v2();g[0]!==e?({children:a,media:o,...d}=e,g[0]=e,g[1]=o,g[2]=a,g[3]=d):(o=g[1],a=g[2],d=g[3]);let v=o??b.media,[y,w]=(0,i.useState)(null),x=useElementSize(y);if(l=x?.border.width??window.innerWidth,g[4]!==v||g[5]!==l){let e=function(e,t){let o=[];for(let r=0;r<e.length;r+=1)e[r]>t&&o.push(r);return o}(v,l);c=e.length?e.join(" "):void 0,g[4]=v,g[5]=l,g[6]=c}else c=g[6];if(s=c,g[7]!==v||g[8]!==l){let e=function(e,t){let o=[];for(let r=0;r<e.length;r+=1)e[r]<=t&&o.push(r);return o}(v,l);p=e.length?e.join(" "):void 0,g[7]=v,g[8]=l,g[9]=p}else p=g[9];return u=p,g[10]!==y?(f=()=>y,h=[y],g[10]=y,g[11]=f,g[12]=h):(f=g[11],h=g[12]),(0,i.useImperativeHandle)(t,f,h),g[13]!==a||g[14]!==s||g[15]!==u||g[16]!==d?(m=(0,r.jsx)("div",{"data-ui":"ElementQuery",...d,"data-eq-max":s,"data-eq-min":u,ref:w,children:a}),g[13]=a,g[14]=s,g[15]=u,g[16]=d,g[17]=m):m=g[17],m});
679function getLayerContext(e){if(!isRecord(e)||0!==e.version)throw Error("the context value is not compatible");if(!e)throw Error("components using `useLayer()` should be wrapped in a <LayerProvider>.");if(0===e.version)return e;throw Error("could not get layer context")}eL.displayName="ForwardRef(ElementQuery)";let eO=createGlobalScopedContext("@sanity/ui/context/layer",null);function useLayer(){let e=(0,n.c)(2),t=(0,i.useContext)(eO);if(!t)throw Error("useLayer(): missing context value");try{let o;return e[0]!==t?(o=getLayerContext(t),e[0]=t,e[1]=o):o=e[1],o}catch(e){throw e instanceof Error?Error(`useLayer(): ${e.message}`):Error(`useLayer(): ${e}`)}}function isHTMLElement(e){return e instanceof Node&&e.nodeType===Node.ELEMENT_NODE}function LayerProvider(e){let t,o,a,d,l,s,c,u;let p=(0,n.c)(19),{children:f,zOffset:h}=e,m=void 0===h?0:h,g=(0,i.useContext)(eO);p[0]!==g?(t=g&&getLayerContext(g),p[0]=g,p[1]=t):t=p[1];let b=t,v=b?.registerChild,y=(b?.level??0)+1,w=useArrayProp(m),x=w.length-1,$=Math.min(useMediaIndex(),x),S=b?b.zIndex+w[$]:w[$];p[2]===Symbol.for("react.memo_cache_sentinel")?(o={},p[2]=o):o=p[2];let[,R]=(0,i.useState)(o),[k,C]=(0,i.useState)(0),z=0===k;p[3]!==v||p[4]!==R?(a=e=>{let t=v?.(e);return void 0!==e?R(t=>{let o=t[e]??0,r={...t,[e]:o+1};return C(Object.keys(r).length),r}):C(_temp$3),()=>{void 0!==e?R(t=>{let o={...t};return 1===o[e]?(delete o[e],C(Object.keys(o).length)):o[e]=o[e]-1,o}):C(_temp2$2),t?.()}},p[3]=v,p[4]=R,p[5]=a):a=p[5];let _=a;return p[6]!==y||p[7]!==v?(d=()=>v?.(y),l=[y,v],p[6]=y,p[7]=v,p[8]=d,p[9]=l):(d=p[8],l=p[9]),(0,i.useEffect)(d,l),p[10]!==z||p[11]!==y||p[12]!==_||p[13]!==k||p[14]!==S?(c={version:0,isTopLayer:z,level:y,registerChild:_,size:k,zIndex:S},p[10]=z,p[11]=y,p[12]=_,p[13]=k,p[14]=S,p[15]=c):c=p[15],s=c,p[16]!==f||p[17]!==s?(u=(0,r.jsx)(eO.Provider,{value:s,children:f}),p[16]=f,p[17]=s,p[18]=u):u=p[18],u}function _temp2$2(e){return e-1}function _temp$3(e){return e+1}LayerProvider.displayName="LayerProvider";let eQ=a.zo.div.withConfig({displayName:"StyledLayer",componentId:"sc-16kojrv-0"})({position:"relative"}),eG=(0,i.forwardRef)(function(e,t){let o,a,d,l,s,c,u,p,f,h,m;let g=(0,n.c)(22);g[0]!==e?({children:o,onActivate:a,onFocus:d,style:s,...l}=e,g[0]=e,g[1]=o,g[2]=a,g[3]=d,g[4]=l,g[5]=s):(o=g[1],a=g[2],d=g[3],l=g[4],s=g[5]);let b=void 0===s?y:s,{zIndex:v,isTopLayer:w}=useLayer(),x=(0,i.useRef)(null),$=(0,i.useRef)(null),S=(0,i.useRef)(w);g[6]===Symbol.for("react.memo_cache_sentinel")?(c=()=>$.current,g[6]=c):c=g[6],(0,i.useImperativeHandle)(t,c),g[7]!==w||g[8]!==a?(u=()=>{S.current!==w&&w&&a?.({activeElement:x.current}),S.current=w},p=[w,a],g[7]=w,g[8]=a,g[9]=u,g[10]=p):(u=g[9],p=g[10]),(0,i.useEffect)(u,p),g[11]!==w||g[12]!==d?(f=e=>{d?.(e);let t=$.current,o=document.activeElement;!w||!t||!o||isHTMLElement(o)&&(t.contains(o)||t===o)&&(x.current=o)},g[11]=w,g[12]=d,g[13]=f):f=g[13];let R=f;return g[14]!==b||g[15]!==v?(h={...b,zIndex:v},g[14]=b,g[15]=v,g[16]=h):h=g[16],g[17]!==o||g[18]!==R||g[19]!==l||g[20]!==h?(m=(0,r.jsx)(eQ,{...l,"data-ui":"Layer",onFocus:R,ref:$,style:h,children:o}),g[17]=o,g[18]=R,g[19]=l,g[20]=h,g[21]=m):m=g[21],m}),eH=(0,i.forwardRef)(function(e,t){let o,i,a,d,l;let s=(0,n.c)(11);s[0]!==e?({children:o,zOffset:a,...i}=e,s[0]=e,s[1]=o,s[2]=i,s[3]=a):(o=s[1],i=s[2],a=s[3]);let c=void 0===a?1:a;return s[4]!==o||s[5]!==t||s[6]!==i?(d=(0,r.jsx)(eG,{...i,ref:t,children:o}),s[4]=o,s[5]=t,s[6]=i,s[7]=d):d=s[7],s[8]!==d||s[9]!==c?(l=(0,r.jsx)(LayerProvider,{zOffset:c,children:d}),s[8]=d,s[9]=c,s[10]=l):l=s[10],l});eH.displayName="ForwardRef(Layer)";let eD="@sanity/ui/context/portal",eV=Symbol.for(`${eD}/element`);S[eV]=null;let eW=createGlobalScopedContext(eD,{version:0,boundaryElement:null,get element(){return typeof document>"u"?null:(S[eV]||(S[eV]=document.createElement("div"),S[eV].setAttribute("data-portal",""),document.body.appendChild(S[eV])),S[eV])}});function usePortal(){let e=(0,i.useContext)(eW);if(!e)throw Error("usePortal(): missing context value");if(!isRecord(e)||0!==e.version)throw Error("usePortal(): the context value is not compatible");return e}function Portal(e){let t;let o=(0,n.c)(3),{children:r,__unstable_name:i}=e,a=usePortal(),d=(i?a.elements&&a.elements[i]:a.element)||a.elements?.default;return d?(o[0]!==r||o[1]!==d?(t=(0,g.createPortal)(r,d),o[0]=r,o[1]=d,o[2]=t):t=o[2],t):null}Portal.displayName="Portal";let eY=a.zo.div.withConfig({displayName:"StyledSrOnly",componentId:"sc-mubr0c-0"})`display:block;width:0;height:0;position:absolute;overflow:hidden;overflow:clip;`,eX=(0,i.forwardRef)(function(e,t){let o;let i=(0,n.c)(4),{as:a,children:d}=e;return i[0]!==a||i[1]!==d||i[2]!==t?(o=(0,r.jsx)(eY,{"aria-hidden":!0,as:a,"data-ui":"SrOnly",ref:t,children:d}),i[0]=a,i[1]=d,i[2]=t,i[3]=o):o=i[3],o});eX.displayName="ForwardRef(SrOnly)";let eK=a.zo.div.withConfig({displayName:"StyledVirtualList",componentId:"sc-dlqsj4-0"})`position:relative;`,eq=a.zo.div.withConfig({displayName:"ItemWrapper",componentId:"sc-dlqsj4-1"})`position:absolute;
679left:0;right:0;`,eJ=(0,i.forwardRef)(function(e,t){let o,a,d,l,s,c,u,p,f,h,m,g,b,v,y,w,$,S,R,k;let C=(0,n.c)(56);C[0]!==e?({as:s,gap:c,getItemKey:o,items:u,onChange:a,renderItem:d,...l}=e,C[0]=e,C[1]=o,C[2]=a,C[3]=d,C[4]=l,C[5]=s,C[6]=c,C[7]=u):(o=C[1],a=C[2],d=C[3],l=C[4],s=C[5],c=C[6],u=C[7]);let z=void 0===s?"div":s,_=void 0===c?0:c;C[8]!==u?(p=void 0===u?[]:u,C[8]=u,C[9]=p):p=C[9];let j=p,{space:I}=useTheme_v2(),A=(0,i.useRef)(null),E=(0,i.useRef)(null),[P,N]=(0,i.useState)(0),[T,F]=(0,i.useState)(0),[B,M]=(0,i.useState)(-1);C[10]===Symbol.for("react.memo_cache_sentinel")?(f=()=>A.current,C[10]=f):f=C[10],(0,i.useImperativeHandle)(t,f),C[11]===Symbol.for("react.memo_cache_sentinel")?(h=()=>{if(!E.current)return;let e=E.current.firstChild;e instanceof HTMLElement&&M(e.offsetHeight)},C[11]=h):h=C[11],C[12]!==d?(m=[d],C[12]=d,C[13]=m):m=C[13],(0,i.useEffect)(h,m),C[14]===Symbol.for("react.memo_cache_sentinel")?(g=()=>{if(!A.current)return;let e=function(e){let t=e;for(;t&&!function(e){if(!(e instanceof Element))return!1;let t=window.getComputedStyle(e);return t.overflowX.includes("auto")||t.overflowX.includes("scroll")||t.overflowY.includes("auto")||t.overflowY.includes("scroll")}(t);)t=t.parentNode;return t}(A.current.parentNode);if(e){if(!(e instanceof HTMLElement))return;let handleScroll=()=>{N(e.scrollTop)};e.addEventListener("scroll",handleScroll,{passive:!0});let t=new x(e=>{F(e[0].contentRect.height)});return t.observe(e),handleScroll(),()=>{e.removeEventListener("scroll",handleScroll),t.unobserve(e),t.disconnect()}}let handleScroll_0=()=>{N(window.scrollY)},handleResize=()=>{F(window.innerHeight)};return window.addEventListener("scroll",handleScroll_0,{passive:!0}),window.addEventListener("resize",handleResize),F(window.innerHeight),handleScroll_0(),()=>{window.removeEventListener("scroll",handleScroll_0),window.removeEventListener("resize",handleResize)}},b=[],C[14]=g,C[15]=b):(g=C[14],b=C[15]),(0,i.useEffect)(g,b);let L=j.length,O=B?L*(B+I[_])-I[_]:0,Q=O?Math.max(Math.floor(P/O*L)-2,0):0,G=O?Math.ceil((P+T)/O*L)+1:0;C[16]!==Q||C[17]!==_||C[18]!==B||C[19]!==a||C[20]!==T||C[21]!==P||C[22]!==I||C[23]!==G?(y=()=>{a&&a({fromIndex:Q,gap:I[_],itemHeight:B,scrollHeight:T,scrollTop:P,toIndex:G})},v=[Q,_,B,a,T,P,I,G],C[16]=Q,C[17]=_,C[18]=B,C[19]=a,C[20]=T,C[21]=P,C[22]=I,C[23]=G,C[24]=v,C[25]=y):(v=C[24],y=C[25]),(0,i.useEffect)(y,v);e:{let e;if(!d||0===j.length){w=null;break e}if(-1===B){let e,t;C[26]!==j[0]||C[27]!==d?(e=d(j[0]),C[26]=j[0],C[27]=d,C[28]=e):e=C[28],C[29]!==e?(t=[(0,r.jsx)(eq,{children:e},0)],C[29]=e,C[30]=t):t=C[30],w=t;break e}if(C[31]!==Q||C[32]!==_||C[33]!==o||C[34]!==B||C[35]!==j||C[36]!==d||C[37]!==I||C[38]!==G){let t;C[40]!==Q||C[41]!==_||C[42]!==o||C[43]!==B||C[44]!==d||C[45]!==I?(t=(e,t)=>{let n=Q+t,i=d(e),a=o?o(e,n):n;return(0,r.jsx)(eq,{style:{top:n*(B+I[_])},children:i},a)},C[40]=Q,C[41]=_,C[42]=o,C[43]=B,C[44]=d,C[45]=I,C[46]=t):t=C[46],e=j.slice(Q,G).map(t),C[31]=Q,C[32]=_,C[33]=o,C[34]=B,C[35]=j,C[36]=d,C[37]=I,C[38]=G,C[39]=e}else e=C[39];w=e}let H=w;return C[47]!==O?(S={height:O},C[47]=O,C[48]=S):S=C[48],$=S,C[49]!==H||C[50]!==$?(R=(0,r.jsx)("div",{ref:E,style:$,children:H}),C[49]=H,C[50]=$,C[51]=R):R=C[51],C[52]!==z||C[53]!==l||C[54]!==R?(k=(0,r.jsx)(eK,{as:z,"data-ui":"VirtualList",...l,ref:A,children:R}),C[52]=z,C[53]=l,C[54]=R,C[55]=k):k=C[55],k});function getElementRef(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,o=t&&"isReactWarning"in t&&t.isReactWarning;return o?e.ref:(o=(t=Object.getOwnPropertyDescriptor(e,"ref")?.get)&&"isReactWarning"in t&&t.isReactWarning)?e.props.ref:e.props.ref||e.ref}eJ.displayName="ForwardRef(VirtualList)";let eU=[0,0,0,0],eZ={top:["bottom","left","right"],"top-start":["bottom-start","left-start","right-start"],"top-end":["bottom-end","left-end","right-end"],bottom:["top","left","right"],"bottom-start":["top-start","left-start","right-start"],"bottom-end":["top-end","left-end","right-end"],left:["right","top","bottom"],"left-start":["right-start","top-start","bottom-start"],"left-end":["right-end","top-end","bottom-end"],right:["left","top","bottom"],"right-start":["left-start","to
679p-start","bottom-start"],"right-end":["left-end","top-end","bottom-end"]},e0=(0,a.zo)(f.E.create(eh)).withConfig({displayName:"MotionCard",componentId:"sc-ihg31s-0"})`&:not([hidden]){display:flex;}flex-direction:column;width:max-content;min-width:min-content;will-change:transform;`,e1=(0,a.zo)(f.E.create(ea)).withConfig({displayName:"MotionFlex",componentId:"sc-ihg31s-1"})`will-change:opacity;`,e2=(0,i.memo)((0,i.forwardRef)(function(e,t){let o,i,a,d,l,s,c,u,p,f,h,m,g,b,v,y,x,$,S,R,k,C,z,_,j,I,A,E,P,N,T,F,B,M;let L=(0,n.c)(66);L[0]!==e?({__unstable_margins:c,animate:o,arrow:i,arrowRef:a,arrowX:d,arrowY:l,children:s,padding:h,placement:m,originX:u,originY:p,overflow:f,radius:g,scheme:v,shadow:y,strategy:x,style:$,tone:S,width:R,x:k,y:C,...b}=e,L[0]=e,L[1]=o,L[2]=i,L[3]=a,L[4]=d,L[5]=l,L[6]=s,L[7]=c,L[8]=u,L[9]=p,L[10]=f,L[11]=h,L[12]=m,L[13]=g,L[14]=b,L[15]=v,L[16]=y,L[17]=x,L[18]=$,L[19]=S,L[20]=R,L[21]=k,L[22]=C):(o=L[1],i=L[2],a=L[3],d=L[4],l=L[5],s=L[6],c=L[7],u=L[8],p=L[9],f=L[10],h=L[11],m=L[12],g=L[13],b=L[14],v=L[15],y=L[16],x=L[17],$=L[18],S=L[19],R=L[20],k=L[21],C=L[22]);let{zIndex:O}=useLayer();z=c||eU;let Q=(k??0)+z[3],G=(C??0)+z[0],H=o?"transform":void 0;L[23]!==u||L[24]!==p||L[25]!==x||L[26]!==$||L[27]!==H||L[28]!==R||L[29]!==Q||L[30]!==G||L[31]!==O?(j={left:Q,originX:u,originY:p,position:x,top:G,width:R,zIndex:O,willChange:H,...$},L[23]=u,L[24]=p,L[25]=x,L[26]=$,L[27]=H,L[28]=R,L[29]=Q,L[30]=G,L[31]=O,L[32]=j):j=L[32],_=j;let D=null!==d?d:void 0,V=null!==l?l:void 0;L[33]!==D||L[34]!==V?(A={left:D,top:V,right:void 0,bottom:void 0},L[33]=D,L[34]=V,L[35]=A):A=L[35],I=A;let W=b;return L[36]!==o?(E=o?["hidden","initial"]:void 0,L[36]=o,L[37]=E):E=L[37],L[38]!==o?(P=o?["visible","scaleIn"]:void 0,L[38]=o,L[39]=P):P=L[39],L[40]!==o?(N=o?["hidden","scaleOut"]:void 0,L[40]=o,L[41]=N):N=L[41],L[42]!==s||L[43]!==h?(T=(0,r.jsx)(ea,{direction:"column",flex:1,padding:h,children:s}),L[42]=s,L[43]=h,L[44]=T):T=L[44],L[45]!==f||L[46]!==T?(F=(0,r.jsx)(e1,{"data-ui":"Popover__wrapper",direction:"column",flex:1,overflow:f,variants:w.children,transition:w.transition,children:T}),L[45]=f,L[46]=T,L[47]=F):F=L[47],L[48]!==i||L[49]!==a||L[50]!==I?(B=i&&(0,r.jsx)(eF,{ref:a,style:I,width:19,height:8,radius:2}),L[48]=i,L[49]=a,L[50]=I,L[51]=B):B=L[51],L[52]!==m||L[53]!==g||L[54]!==t||L[55]!==_||L[56]!==v||L[57]!==y||L[58]!==P||L[59]!==N||L[60]!==F||L[61]!==B||L[62]!==W||L[63]!==E||L[64]!==S?(M=(0,r.jsxs)(e0,{"data-ui":"Popover",...W,"data-placement":m,radius:g,ref:t,scheme:v,shadow:y,sizing:"border",style:_,tone:S,variants:w.card,transition:w.transition,initial:E,animate:P,exit:N,children:[F,B]}),L[52]=m,L[53]=g,L[54]=t,L[55]=_,L[56]=v,L[57]=y,L[58]=P,L[59]=N,L[60]=F,L[61]=B,L[62]=W,L[63]=E,L[64]=S,L[65]=M):M=L[65],M}));e2.displayName="Memo(ForwardRef(PopoverCard))";let ViewportOverlay=()=>{let e;let t=(0,n.c)(2),{zIndex:o}=useLayer();return t[0]!==o?(e=(0,r.jsx)("div",{style:{height:"100vh",inset:0,position:"fixed",width:"100vw",zIndex:o}}),t[0]=o,t[1]=e):e=t[1],e},e3=(0,i.memo)((0,i.forwardRef)(function(e,t){let{container:o,layer:n}=useTheme_v2(),a=useBoundaryElement(),{__unstable_margins:d=eU,animate:l=!1,arrow:s=!1,boundaryElement:c=a.element,children:f,constrainSize:m=!1,content:g,disabled:b,fallbackPlacements:v=e.fallbackPlacements??eZ[e.placement??"bottom"],matchReferenceWidth:y,floatingBoundary:w=e.boundaryElement??a.element,modal:x,onActivate:$,open:S,overflow:R="hidden",padding:k,placement:C="bottom",portal:z,preventOverflow:_=!0,radius:j=3,referenceBoundary:I=e.boundaryElement??a.element,referenceElement:A,scheme:E,shadow:P=3,tone:N="inherit",width:T="auto",zOffset:F=n.popover.zOffset,updateRef:B,...M}
679=e,L=!usePrefersReducedMotion()&&l,O=useElementSize(c)?.border,Q=useArrayProp(k),G=useArrayProp(j),H=useArrayProp(P),D=useArrayProp(T),V=useArrayProp(F),W=(0,i.useRef)(null),Y=(0,i.useRef)(null),X="viewport";(0,i.useImperativeHandle)(t,()=>W.current);let K=useMediaIndex(),q=m||_?O?.width:void 0,J=function(e){let{container:t,mediaIndex:o,width:r}=e,n=r[o],i=void 0===n?r[r.length-1]:n;return"number"==typeof i?t[i]:void 0}({container:o,mediaIndex:K,width:D}),U=(0,i.useRef)(J);(0,i.useEffect)(()=>{U.current=J},[J]);let Z=function(e){let{boundaryWidth:t,currentWidth:o}=e;if(!(void 0===o&&void 0===t))return Math.min(o??1/0,(t||1/0)-8)}({boundaryWidth:q,currentWidth:J}),ee=(0,i.useRef)(Z);(0,i.useEffect)(()=>{ee.current=Z},[Z]);let et=(0,i.useRef)(void 0);(0,i.useEffect)(()=>{let e=W.current;if(!S||!e)return;let t=et.current;y?void 0!==t&&(e.style.width=`${t}px`):void 0!==J&&(e.style.width=`${J}px`),"number"==typeof Z&&(e.style.maxWidth=`${Z}px`)},[J,y,Z,S]);let eo=(0,i.useMemo)(()=>{let e=[];return(m||_)&&e.push((0,p.RR)({boundary:w||void 0,fallbackPlacements:v,padding:4,rootBoundary:X})),e.push((0,p.cv)({mainAxis:4})),(m||y)&&e.push(function(e){let{apply:t,margins:o,padding:r=0}=e;return{name:"@sanity/ui/size",async fn(n){let{elements:i,placement:a,platform:d,rects:l}=n,{floating:s,reference:c}=l,p=await (0,u.US)(n,{altBoundary:!0,boundary:e.boundaryElement||void 0,elementContext:"floating",padding:r,rootBoundary:"viewport"}),f=1/0,h=1/0,m=s.width,g=s.height;a.includes("top")&&(f=m-(p.left+p.right),h=g-p.top),a.includes("right")&&(f=m-p.right,h=g-(p.top+p.bottom)),a.includes("bottom")&&(f=m-(p.left+p.right),h=g-p.bottom),a.includes("left")&&(f=m-p.left,h=g-(p.top+p.bottom)),t({availableWidth:f-o[1]-o[3],availableHeight:h-o[0]-o[2],elements:i,referenceWidth:c.width-o[1]-o[3]});let b=await d.getDimensions(i.floating),v=b.height,y=b.width;return m!==y||g!==v?{reset:{rects:!0}}:{}}}}({apply({availableWidth:e,availableHeight:t,elements:o,referenceWidth:r}){et.current=r;let n=U.current,i=ee.current;y?o.floating.style.width=`${r}px`:void 0!==n&&(o.floating.style.width=`${n}px`),m&&(o.floating.style.maxWidth=`${Math.min(e,i??1/0)}px`,o.floating.style.maxHeight=`${t}px`)},boundaryElement:w||void 0,margins:d,padding:4})),_&&e.push((0,p.uY)({boundary:w||void 0,rootBoundary:X,padding:4})),s&&e.push((0,p.x7)({element:Y,padding:4})),L&&e.push(eE),e.push((0,p.Cp)({boundary:I||void 0,padding:4,strategy:"referenceHidden"})),e},[L,s,m,v,w,d,y,_,I]),{x:er,y:en,middlewareData:ei,placement:ea,refs:ed,strategy:el,update:es}=(0,p.YF)({middleware:eo,placement:C,whileElementsMounted:u.Me,elements:A?{reference:A}:void 0}),ec=ei.hide?.referenceHidden,eu=ei.arrow?.x,ep=ei.arrow?.y,ef=ei["@sanity/ui/origin"]?.originX,eh=ei["@sanity/ui/origin"]?.originY,em=(0,i.useCallback)(e=>{Y.current=e},[]),eg=(0,i.useCallback)(e=>{W.current=e,ed.setFloating(e)},[ed]),eb=(0,i.useCallback)(e=>{ed.setReference(e);let t=getElementRef(f);"function"==typeof t?t(e):t&&(t.current=e)},[f,ed]),ev=(0,i.useMemo)(()=>A?f:f?(0,i.cloneElement)(f,{ref:eb}):null,[f,A,eb]);if((0,i.useEffect)(()=>{B&&("function"==typeof B?B(es):B&&(B.current=es))},[es,B]),b)return f||(0,r.jsx)(r.Fragment,{});let ey=(0,r.jsxs)(LayerProvider,{zOffset:V,children:[x&&(0,r.jsx)(ViewportOverlay,{}),(0,r.jsx)(e2,{...M,__unstable_margins:d,animate:L,arrow:s,arrowRef:em,arrowX:eu,arrowY:ep,hidden:ec,overflow:R,padding:Q,placement:ea,radius:G,ref:eg,scheme:E,shadow:H,originX:ef,originY:eh,strategy:el,tone:N,width:y?et.current:J,x:er,y:en,children:g})]}),ew=S&&(z?(0,r.jsx)(Portal,{__unstable_name:"string"==typeof z?z:void 0,children:ey}):ey);return(0,r.jsxs)(r.Fragment,{children:[L?(0,r.jsx)(h.M,{children:ew}):ew,ev]})}));e3.displayName="Memo(ForwardRef(Popover))";let e4=a.zo.div.withConfig({displayName:"StyledRadio",componentId:"sc-ccrwkf-0"})(function(){return a.iv`
680    position: relative;
681
682    &:not([hidden]) {
683      display: inline-block;
684    }
685
686    &[data-read-only] {
687      outline: 1px solid red;
688    }
689  `}),e5=a.zo.input.withConfig({displayName:"Input",componentId:"sc-ccrwkf-1"})(function(e){let{color:t,input:o}=(0,l.aQ)(e.theme),r=(o.radio.size-o.radio.markSize)/2;return a.iv`
690    appearance: none;
691    position: absolute;
692    top: 0;
693    left: 0;
694    opacity: 0;
695    height: 100%;
696    width: 100%;
697    outline: none;
698    z-index: 1;
699    padding: 0;
700    margin: 0;
701    border-radius: ${rem(o.radio.size/2)};
702    border: none;
703
704    /* enabled */
705    & + span {
706      display: block;
707      position: relative;
708      height: ${rem(o.radio.size)};
709      width: ${rem(o.radio.size)};
710      border-radius: ${rem(o.radio.size/2)};
711      background: ${t.input.default.enabled.bg};
712      box-shadow: ${focusRingBorderStyle({color:t.input.default.enabled.border,width:o.border.width})};
713
714      &::after {
715        content: '';
716        position: absolute;
717        top: ${rem(r)};
718        left: ${rem(r)};
719        height: ${rem(o.radio.markSize)};
720        width: ${rem(o.radio.markSize)};
721        border-radius: ${rem(o.radio.markSize/2)};
722        background: ${t.input.default.enabled.fg};
723        opacity: 0;
724      }
725    }
726
727    /* focused */
728    &:not(:disabled):focus + span {
729      box-shadow: ${focusRingStyle({border:{width:o.border.width,color:t.input.default.enabled.border},focusRing:o.radio.focusRing})};
730    }
731
732    &:not(:disabled):focus:not(:focus-visible) + span {
733      box-shadow: ${focusRingBorderStyle({color:t.input.default.enabled.border,width:o.border.width})};
734    }
735
736    &:checked + span::after {
737      opacity: 1;
738    }
739
740    /* customValidity */
741    &[data-error] + span {
742      background-color: ${t.input.invalid.enabled.border};
743      box-shadow: ${focusRingBorderStyle({width:o.border.width,color:t.input.invalid.enabled.muted.bg})};
744      &::after {
745        background: ${t.input.invalid.enabled.muted.bg};
746      }
747    }
748
749    /* read only */
750    &[data-read-only] + span {
751      box-shadow: 0 0 0 1px ${t.input.default.readOnly.border};
752      background: ${t.input.default.readOnly.bg};
753
754      &::after {
755        background: ${t.input.default.readOnly.border};
756      }
757    }
758
759    /* disabled */
760    &:not([data-read-only]):disabled + span {
761      box-shadow: 0 0 0 1px ${t.input.default.disabled.border};
762      background: ${t.input.default.disabled.bg};
763
764      &::after {
765        background: ${t.input.default.disabled.border};
766      }
767    }
768  `}),e6=(0,i.forwardRef)(function(e,t){let o,a,d,l,s,c,u,p,f,h;let m=(0,n.c)(19);m[0]!==e?({className:o,disabled:d,style:c,customValidity:a,readOnly:l,...s}=e,m[0]=e,m[1]=o,m[2]=a,m[3]=d,m[4]=l,m[5]=s,m[6]=c):(o=m[1],a=m[2],d=m[3],l=m[4],s=m[5],c=m[6]);let g=(0,i.useRef)(null);m[7]===Symbol.for("react.memo_cache_sentinel")?(u=()=>g.current,m[7]=u):u=m[7],(0,i.useImperativeHandle)(t,u),useCustomValidity(g,a);let b=!d&&l?"":void 0,v=a?"":void 0,y=d||l;return m[8]!==l||m[9]!==s||m[10]!==b||m[11]!==v||m[12]!==y?(p=(0,r.jsx)(e5,{"data-read-only":b,"data-error":v,...s,disabled:y,readOnly:l,ref:g,type:"radio"}),m[8]=l,m[9]=s,m[10]=b,m[11]=v,m[12]=y,m[13]=p):p=m[13],m[14]===Symbol.for("react.memo_cache_sentinel")?(f=(0,r.jsx)("span",{}),m[14]=f):f=m[14],m[15]!==o||m[16]!==c||m[17]!==p?(h=(0,r.jsxs)(e4,{className:o,"data-ui":"Radio",style:c,children:[p,f]}),m[15]=o,m[16]=c,m[17]=p,m[18]=h):h=m[18],h});function inputBaseStyle(e){let{font:t}=(0,l.aQ)(e.theme);return a.iv`
769    -webkit-font-smoothing: antialiased;
770    appearance: none;
771    border: 0;
772    font-family: ${t.text.family};
773    color: inherit;
774    width: 100%;
775    outline: none;
776    margin: 0;
777
778    &:disabled {
779      opacity: 1;
780    }
781  `}
781function inputColorStyle(e){let{color:t,input:o}=(0,l.aQ)(e.theme);return a.iv`
782    /* enabled */
783    background-color: ${t.input.default.enabled.bg};
784    color: ${t.input.default.enabled.fg};
785    box-shadow: ${focusRingBorderStyle({color:t.input.default.enabled.border,width:o.border.width})};
786
787    /* hovered */
788    @media (hover: hover) {
789      &:not(:disabled):hover {
790        background-color: ${t.input.default.hovered.bg};
791        color: ${t.input.default.hovered.fg};
792        box-shadow: ${focusRingBorderStyle({color:t.input.default.hovered.border,width:o.border.width})};
793      }
794    }
795
796    /* focused */
797    &:not(:disabled):focus {
798      box-shadow: ${focusRingStyle({border:{width:o.border.width,color:t.input.default.enabled.border},focusRing:o.select.focusRing})};
799    }
800
801    /* read-only */
802    &[data-read-only] {
803      background-color: ${t.input.default.readOnly.bg};
804      color: ${t.input.default.readOnly.fg};
805      box-shadow: ${focusRingBorderStyle({color:t.input.default.readOnly.border,width:o.border.width})};
806    }
807
808    /* disabled */
809    &:not([data-read-only]):disabled {
810      background-color: ${t.input.default.disabled.bg};
811      color: ${t.input.default.disabled.fg};
812      box-shadow: ${focusRingBorderStyle({color:t.input.default.disabled.border,width:o.border.width})};
813    }
814  `}function inputTextSizeStyle(e){let{$fontSize:t}=e,{font:o,media:r}=(0,l.aQ)(e.theme);return _responsive(r,t,e=>{var t;return{fontSize:rem((t=o.text.sizes[e]||o.text.sizes[2]).fontSize),lineHeight:rem(t.lineHeight)}})}e6.displayName="ForwardRef(Radio)";let e7={root:function(){return a.iv`
815    position: relative;
816    width: -moz-available;
817    width: -webkit-fill-available;
818    width: stretch;
819
820    &:not([hidden]) {
821      display: inline-block;
822    }
823  `},input:function(){return[responsiveRadiusStyle,inputBaseStyle,inputColorStyle,inputTextSizeStyle,responsiveInputPaddingIconRightStyle]},iconBox:function(e){let{color:t}=(0,l.aQ)(e.theme);return a.iv`
824    pointer-events: none;
825    position: absolute;
826    top: 0;
827    right: 0;
828
829    /* enabled */
830    --card-fg-color: ${t.input.default.enabled.fg};
831
832    /* hover */
833    @media (hover: hover) {
834      select:not(disabled):not(:read-only):hover + && {
835        --card-fg-color: ${t.input.default.hovered.fg};
836      }
837    }
838
839    /* disabled */
840    select:disabled + && {
841      --card-fg-color: ${t.input.default.disabled.fg};
842    }
843
844    /* read-only */
845    select[data-read-only] + && {
846      --card-fg-color: ${t.input.default.readOnly.fg};
847    }
848  `}},e8=a.zo.div.withConfig({displayName:"StyledSelect",componentId:"sc-5mxno7-0"})(e7.root),e9=a.zo.select.withConfig({displayName:"Input",componentId:"sc-5mxno7-1"})(e7.input),te=(0,a.zo)(ee).withConfig({displayName:"IconBox",componentId:"sc-5mxno7-2"})(e7.iconBox),tt=(0,i.forwardRef)(function(e,t){let o,a,d,l,s,u,p,f,h,m,g,b,v,y,w;let x=(0,n.c)(29);x[0]!==e?({children:o,customValidity:a,disabled:d,fontSize:u,padding:p,radius:f,readOnly:l,space:h,...s}=e,x[0]=e,x[1]=o,x[2]=a,x[3]=d,x[4]=l,x[5]=s,x[6]=u,x[7]=p,x[8]=f,x[9]=h):(o=x[1],a=x[2],d=x[3],l=x[4],s=x[5],u=x[6],p=x[7],f=x[8],h=x[9]);let $=void 0===u?2:u,S=void 0===p?3:p,R=void 0===f?2:f,k=void 0===h?3:h,C=(0,i.useRef)(null);x[10]===Symbol.for("react.memo_cache_sentinel")?(m=()=>C.current,x[10]=m):m=x[10],(0,i.useImperativeHandle)(t,m),useCustomValidity(C,a);let z=!d&&l?"":void 0,_=useArrayProp($),j=useArrayProp(S),I=useArrayProp(R),A=useArrayProp(k),E=d||l;return x[11]!==o||x[12]!==s||x[13]!==E||x[14]!==z||x[15]!==_||x[16]!==j||x[17]!==I||x[18]!==A?(g=(0,r.jsx)(e9,{"data-read-only":z,"data-ui":"Select",...s,$fontSize:_,$padding:j,$radius:I,$space:A,disabled:E,ref:C,children:o}),x[11]=o,x[12]=s,x[13]=E,x[14]=z,x[15]=_,x[16]=j,x[17]=I,x[18]=A,x[19]=g):g=x[19],x[20]===Symbol.for("react.memo_cache_sentinel")?(b=(0,r.jsx)(c.v4q,{}),x[20]=b):b=x[20],x[21]!==$?(v=(0,r.jsx)(eo,{size:$,children:b}),x[21]=$,x[22]=v):v=x[22],x[23]!==S||x[24]!==v?(y=(0,r.jsx)(te,{padding:S,children:v}),x[23]=S,x[24]=v,x[25]=y):y=x[25],x[26]!==g||x[27]!==y?(w=(0,r.jsxs)(e8,{"data-ui":"Select",children:[g,y]}),x[26]=g,x[27]=y,x[28]=w):w=x[28],w});tt.displayName="ForwardRef(Select)";let to={"&&:not([hidden])":{display:"grid"},'&[data-as="ul"],&[data-as="ol"]':{listStyle:"none"},gridTemplateColumns:"minmax(0, 1fr)",gridAutoRows:"min-content"},tr=(0,a.zo)(ee).withConfig({displayName:"StyledStack",componentId:"sc-8dpfq2-0"})(function(){return to}
848,function(e){let{media:t,space:o}=(0,l.aQ)(e.theme);return _responsive(t,e.$space,e=>({gridGap:rem(o[e])}))}),tn=(0,i.forwardRef)(function(e,t){let o,i,a,d;let l=(0,n.c)(10);l[0]!==e?({as:o,space:a,...i}=e,l[0]=e,l[1]=o,l[2]=i,l[3]=a):(o=l[1],i=l[2],a=l[3]);let s="string"==typeof o?o:void 0,c=useArrayProp(a);return l[4]!==o||l[5]!==t||l[6]!==i||l[7]!==s||l[8]!==c?(d=(0,r.jsx)(tr,{"data-as":s,"data-ui":"Stack",...i,$space:c,forwardedAs:o,ref:t}),l[4]=o,l[5]=t,l[6]=i,l[7]=s,l[8]=c,l[9]=d):d=l[9],d});tn.displayName="ForwardRef(Stack)";let ti=a.zo.span.withConfig({displayName:"StyledSwitch",componentId:"sc-dw1foe-0"})(function(){return a.iv`
849    position: relative;
850    &:not([hidden]) {
851      display: inline-block;
852    }
853  `}),ta=a.zo.input.withConfig({displayName:"Input",componentId:"sc-dw1foe-1"})(function(){return a.iv`
854    position: absolute;
855    top: 0;
856    right: 0;
857    bottom: 0;
858    left: 0;
859    opacity: 0;
860    height: 100%;
861    width: 100%;
862    outline: none;
863    padding: 0;
864    margin: 0;
865
866    /* Place the input element above the representation element */
867    z-index: 1;
868  `}),td=a.zo.span.withConfig({displayName:"Representation",componentId:"sc-dw1foe-2"})(function(e){let{color:t,input:o}=(0,l.aQ)(e.theme);return a.iv`
869    --switch-bg-color: ${t.input.default.enabled.border};
870    --switch-fg-color: ${t.input.default.enabled.bg};
871    --switch-box-shadow: none;
872
873    &:not([hidden]) {
874      display: block;
875    }
876    position: relative;
877    width: ${rem(o.switch.width)};
878    height: ${rem(o.switch.height)};
879    border-radius: ${rem(o.switch.height/2)};
880
881    /* Make sure it’s not possible to interact with the wrapper element */
882    pointer-events: none;
883
884    &:after {
885      content: '';
886      display: block;
887      position: absolute;
888      top: 0;
889      left: 0;
890      right: 0;
891      bottom: 0;
892      z-index: 1;
893      box-shadow: var(--switch-box-shadow);
894      border-radius: inherit;
895    }
896
897    /* Focus styles */
898    input:focus + && {
899      --switch-box-shadow: ${focusRingStyle({focusRing:o.switch.focusRing})};
900    }
901
902    input:focus:not(:focus-visible) + && {
903      --switch-box-shadow: none;
904    }
905
906    input:checked + && {
907      --switch-bg-color: ${t.input.default.enabled.fg};
908      --switch-fg-color: ${t.input.default.enabled.bg};
909    }
910
911    @media (hover: hover) {
912      input:not(:disabled):hover + && {
913        --switch-bg-color: ${t.input.default.hovered.border};
914        --switch-fg-color: ${t.input.default.hovered.bg};
915      }
916
917      input:not(:disabled):checked:hover + && {
918        --switch-bg-color: ${t.input.default.enabled.fg};
919        --switch-fg-color: ${t.input.default.enabled.bg};
920      }
921    }
922
923    input:not([data-read-only]):disabled + && {
924      --switch-bg-color: ${t.input.default.disabled.border};
925      --switch-fg-color: ${t.input.default.disabled.bg};
926    }
927
928    input[data-read-only]:disabled + && {
929      --switch-bg-color: ${t.input.default.readOnly.border};
930      --switch-fg-color: ${t.input.default.readOnly.bg};
931    }
932
933    input:checked[data-read-only]:disabled + && {
934      --switch-bg-color: ${t.input.default.readOnly.fg};
935      --switch-fg-color: ${t.input.default.readOnly.bg};
936    }
937  `}),tl=a.zo.span.withConfig({displayName:"Track",componentId:"sc-dw1foe-3"})(function(e){let{input:t}=(0,l.aQ)(e.theme);return a.iv`
938    &:not([hidden]) {
939      display: block;
940    }
941    background-color: var(--switch-bg-color);
942    position: absolute;
943    left: 0;
944    top: 0;
945    width: ${rem(t.switch.width)};
946    height: ${rem(t.switch.height)};
947    border-radius: ${rem(t.switch.height/2)};
948  `}),ts=a.zo.span.withConfig({displayName:"Thumb",componentId:"sc-dw1foe-4"})(function(e){let{$indeterminate:t}=e,{input:o}=(0,l.aQ)(e.theme),r=o.switch.width,n=o.switch.height,i=o.switch.padding,d=n-2*o.switch.padding,s=r-2*i-d,c=r/2-d/2-i,u=!0!==t&&!0===e.$checked;return a.iv`
949    &:not([hidden]) {
950      display: block;
951    }
952    position: absolute;
953    left: ${rem(i)};
954    top: ${rem(i)};
955    height: ${rem(d)};
956    width: ${rem(d)};
957    border-radius: ${rem(d/2)};
958    transition-property: transform;
959    transition-duration: ${o.switch.transitionDurationMs}ms;
960    transition-timing-function: ${o.switch.transitionTimingFunction};
961    background: var(--switch-fg-color);
962    transform: translate3d(0, 0, 0);
963    box-shadow: 0px 1px 0px 0px rgba(0, 0, 0, 0.05);
964
965    ${u&&a.iv`
966      transform: translate3d(${s}px, 0, 0);
967    `}
968
969    ${t&&a.iv`
970      transform: translate3d(${c}px, 0, 0);
971    `}
972  `}),tc=(0,i.forwardRef)(function(e,t){let o,a,d,l,s,c,u,p,f,h,m,g,b,v;let y=(0,n.c)(26);y[0]!==e?({checked:o,className:a,disabled:d,indeterminate:l,readOnly:s,style:u,...c}=e,y[0]=e,y[1]=o,y[2]=a,y[3]=d,y[4]=l,y[5]=s,y[6]=c,y[7]=u):(o=y[1],a=y[2],d=y[3],l=y[4],s=y[5],c=y[6],u=y[7]);let w=(0,i.useRef)(null);y[8]===Symbol.for("react.memo_cache_sentinel")?(p=()=>w.current,y[8]=p):p=y[8],(0,i.useImperativeHandle)(t,p),y[9]!==l?(f=()=>{w.current&&(w.current.indeterminate=l||!1)},h=[l],y[9]=l,y[10]=f,y[11]=h):(f=y[10],h=y[11]),(0,i.useEffect)(f,h);let x=!d&&s?"":void 0,$=!0!==l&&o,S=d||s;return y[12]!==c||y[13]!==x||y[14]!==$||y[15]!==S?(m=(0,r.jsx)(ta,{"data-read-only":x,...c,checked:$,disabled:S,type:"checkbox",ref:w}),y[12]=c,y[13]=x,y[14]=$,y[15]=S,y[16]=m):m=y[16],y[17]===Symbol.for("react.memo_cache_sentinel")?(g=(0,r.jsx)(tl,{}),y[17]=g):g=y[17],y[18]!==o||y[19]!==l?(b=(0,r.jsxs)(td,{"aria-hidden":!0,"data-name":"representation",children:[g,(0,r.jsx)(ts,{$checked:o,$indeterminate:l})]}),y[18]=o,y[19]=l,y[20]=b):b=y[20],y[21]!==a||y[22]!==u||y[23]!==m||y[24]!==b?(v=(0,r.jsxs)(ti,{className:a,"data-ui":"Switch",style:u,children:[m,b]}),y[21]=a,y[22]=u,y[23]=m,y[24]=b,y[25]=v):v=y[25],v});tc.displayName="ForwardRef(Switch)";let tu=a.zo.span.withConfig({displayName:"StyledTextArea",componentId:"sc-1d6h1o8-0"})(textInputRootStyle),tp=a.zo.span.withConfig({displayName:"InputRoot",componentId:"sc-1d6h1o8-1"})`flex:1;min-width:0;display:block;position:relative;`,tf=a.zo.textarea.withConfig({displayName:"Input",componentId:"sc-1d6h1o8-2"})(responsiveInputPaddingStyle,textInputBaseStyle,textInputFontSizeStyle),th=a.zo.div.withConfig({displayName:"Presentation",componentId:"sc-1d6h1o8-3"})(responsiveRadiusStyle,textInputRepresentationStyle),tm=(0,i.forwardRef)(function(e,t){let o,a,d,l,s,c,u,p,f,h,m,g,b;let v=(0,n.c)(29);v[0]!==e?({border:l,customValidity:a,disabled:s,fontSize:c,padding:u,radius:p,weight:f,__unstable_disableFocusRing:o,...d}=e,v[0]=e,v[1]=o,v[2]=a,v[3]=d,v[4]=l,v[5]=s,v[6]=c,v[7]=u,v[8]=p,v[9]=f):(o=v[1],a=v[2],d=v[3],l=v[4],s=v[5],c=v[6],u=v[7],p=v[8],f=v[9]);let y=void 0===l||l,w=void 0!==s&&s,x=void 0===c?2:c,$=void 0===u?3:u,S=void 0===p?2:p,R=(0,i.useRef)(null),k=useRootTheme(
972);v[10]===Symbol.for("react.memo_cache_sentinel")?(h=()=>R.current,v[10]=h):h=v[10],(0,i.useImperativeHandle)(t,h),useCustomValidity(R,a);let C=k.scheme,z=k.tone,_=useArrayProp(x),j=useArrayProp($),I=k.scheme,A=useArrayProp(0);v[11]!==w||v[12]!==d||v[13]!==k.scheme||v[14]!==k.tone||v[15]!==A||v[16]!==_||v[17]!==j||v[18]!==f?(m=(0,r.jsx)(tf,{"data-as":"textarea","data-scheme":C,"data-tone":z,...d,$fontSize:_,$padding:j,$scheme:I,$space:A,$tone:k.tone,$weight:f,disabled:w,ref:R}),v[11]=w,v[12]=d,v[13]=k.scheme,v[14]=k.tone,v[15]=A,v[16]=_,v[17]=j,v[18]=f,v[19]=m):m=v[19];let E=useArrayProp(S),P=y?"":void 0;return v[20]!==o||v[21]!==k.scheme||v[22]!==k.tone||v[23]!==E||v[24]!==P?(g=(0,r.jsx)(th,{$radius:E,$unstableDisableFocusRing:o,$scheme:k.scheme,$tone:k.tone,"data-border":P,"data-scheme":k.scheme,"data-tone":k.tone}),v[20]=o,v[21]=k.scheme,v[22]=k.tone,v[23]=E,v[24]=P,v[25]=g):g=v[25],v[26]!==m||v[27]!==g?(b=(0,r.jsx)(tu,{"data-ui":"TextArea",children:(0,r.jsxs)(tp,{children:[m,g]})}),v[26]=m,v[27]=g,v[28]=b):b=v[28],b});tm.displayName="ForwardRef(TextArea)";let tg={zIndex:2},tb=(0,a.zo)(eh).attrs({forwardedAs:"span"}).withConfig({displayName:"StyledTextInput",componentId:"sc-h62wco-0"})(textInputRootStyle),tv=a.zo.span.withConfig({displayName:"InputRoot",componentId:"sc-h62wco-1"})`flex:1;min-width:0;display:block;position:relative;`,ty=(0,a.zo)(eh).attrs({forwardedAs:"span"}).withConfig({displayName:"Prefix",componentId:"sc-h62wco-2"})`border-top-right-radius:0;border-bottom-right-radius:0;& > span{display:block;margin:-1px;}`,tw=(0,a.zo)(eh).attrs({forwardedAs:"span"}).withConfig({displayName:"Suffix",componentId:"sc-h62wco-3"})`border-top-left-radius:0;border-bottom-left-radius:0;& > span{display:block;margin:-1px;}`,tx=a.zo.input.withConfig({displayName:"Input",componentId:"sc-h62wco-4"})(responsiveInputPaddingStyle,textInputBaseStyle,textInputFontSizeStyle),t$=a.zo.span.withConfig({displayName:"Presentation",componentId:"sc-h62wco-5"})(responsiveRadiusStyle,textInputRepresentationStyle),tS=(0,a.zo)(ee).withConfig({displayName:"LeftBox",componentId:"sc-h62wco-6"})`position:absolute;top:0;left:0;`,tR=(0,a.zo)(ee).withConfig({displayName:"RightBox",componentId:"sc-h62wco-7"})`position:absolute;top:0;right:0;`,tk=(0,a.zo)(eh).withConfig({displayName:"RightCard",componentId:"sc-h62wco-8"})`background-color:transparent;position:absolute;top:0;right:0;`,tC=(0,a.zo)(ep).withConfig({displayName:"TextInputClearButton",componentId:"sc-h62wco-9"})({"&:not([hidden])":{display:"block"}}),tz=(0,i.forwardRef)(function(e,t){let o,a,d,l,u,p,f,h,m,g,b,v,w,x,$,S,R,k,C,z,_,j,I,A,E,P,N,T,F,B,M,L,O,Q,G,H,D,V;let W=(0,n.c)(84);W[0]!==e?({__unstable_disableFocusRing:d,border:b,clearButton:l,disabled:v,fontSize:w,icon:o,iconRight:a,onClear:p,padding:x,prefix:f,radius:$,readOnly:h,space:S,suffix:g,customValidity:u,type:R,weight:k,...m}=e,W[0]=e,W[1]=o,W[2]=a,W[3]=d,W[4]=l,W[5]=u,W[6]=p,W[7]=f,W[8]=h,W[9]=m,W[10]=g,W[11]=b,W[12]=v,W[13]=w,W[14]=x,W[15]=$,W[16]=S,W[17]=R,W[18]=k):(o=W[1],a=W[2],d=W[3],l=W[4],u=W[5],p=W[6],f=W[7],h=W[8],m=W[9],g=W[10],b=W[11],v=W[12],w=W[13],x=W[14],$=W[15],S=W[16],R=W[17],k=W[18]);let Y=void 0===b||b,X=void 0!==v&&v,K=void 0===w?2:w,q=void 0===x?3:x,J=void 0===$?2:$,U=void 0===S?3:S,Z=void 0===R?"text":R,ee=(0,i.useRef)(null),et=useRootTheme(),er=useArrayProp(K),en=useArrayProp(q),ei=useArrayProp(J),ea=useArrayProp(U),ed=!!l,el=!!o,es=!!a,ec=!!g,eu=!!f;W[19]===Symbol.for("react.memo_cache_sentinel")?(C=()=>ee.current,W[19]=C):C=W[19],(0,i.useImperativeHandle)(t,C),useCustomValidity(ee,u),W[20]!==p?(z=e=>{e.preventDefault(),e.stopPropagation(),p&&p(),ee.current?.focus()},W[20]=p,W[21]=z):z=W[21];let ep=z;W[22]!==f||W[23]!==ei?(j=f&&(0,r.jsx)(ty,{borderTop:!0,borderLeft:!0,borderBottom:!0,radius:ei,sizing:"border",tone:"inherit",children:(0,r.jsx)("span",{children:f})}),W[22]=f,W[23]=ei,W[24]=j):j=W[24],_=j;let ef=Y?"":void 0;W[25]!==o||W[26]!==er||W[27]!==en?(A=o&&(0,r.jsx)(tS,{padding:en,children:(0,r.jsxs)(eo,{size:er,children:[(0,i.isValidElement)(o)&&o,(0,s.isValidElementType)(o)&&(0,r.jsx)(o,{})]})}),W[25]=o,W[26]=er,W[27]=en,W[28]=A):A=W[28],W[29]!==ed||W[30]!==a||W[31]!==er||W[32]!==en?(E=!ed&&a&&(0,r.jsx)(tR,{padding:en,children:(0,r.jsxs)(eo,{size:er,children:[(0,i.isValidElement)(a)&&a,(0,s.isValidElementType)(a)&&(0,r.jsx)(a,{})]})}),W[29]=ed,W[30]=a,W[31]=er,W[32]=en,W[33]=E):E=W[33],W[34]!==eu||W[35]!==ec||W[36]!==d||W[37]!==ei||W[38]!==et.scheme||W[39]!==et.tone||W[40]!==ef||W[41]!==A||W[42]!==E?(P=(0,r.jsxs)(t$,{$hasPrefix:eu,$unstableDisableFocusRing:d,$hasSuffix:ec,$radiu
972s:ei,$scheme:et.scheme,$tone:et.tone,"data-border":ef,"data-scheme":et.scheme,"data-tone":et.tone,children:[A,E]}),W[34]=eu,W[35]=ec,W[36]=d,W[37]=ei,W[38]=et.scheme,W[39]=et.tone,W[40]=ef,W[41]=A,W[42]=E,W[43]=P):P=W[43],I=P,W[44]!==en?(T=en.map(_temp2),W[44]=en,W[45]=T):T=W[45],N=T,W[46]!==en?(B=en.map(_temp3),W[46]=en,W[47]=B):B=W[47],F=B,M="object"==typeof l?l:y,W[48]!==l||W[49]!==N||W[50]!==F||W[51]!==M||W[52]!==u||W[53]!==X||W[54]!==er||W[55]!==ep||W[56]!==ei||W[57]!==h?(O=!X&&!h&&l&&(0,r.jsx)(tk,{forwardedAs:"span",padding:N,style:tg,tone:u?"critical":"inherit",children:(0,r.jsx)(tC,{"aria-label":"Clear","data-qa":"clear-button",fontSize:er,icon:c.Two,mode:"bleed",padding:F,radius:ei,...M,onClick:ep,onMouseDown:_temp$1})}),W[48]=l,W[49]=N,W[50]=F,W[51]=M,W[52]=u,W[53]=X,W[54]=er,W[55]=ep,W[56]=ei,W[57]=h,W[58]=O):O=W[58],L=O,W[59]!==ei||W[60]!==g?(G=g&&(0,r.jsx)(tw,{borderTop:!0,borderRight:!0,borderBottom:!0,radius:ei,sizing:"border",tone:"inherit",children:(0,r.jsx)("span",{children:g})}),W[59]=ei,W[60]=g,W[61]=G):G=W[61],Q=G;let eh=es||ed;return W[62]!==el||W[63]!==X||W[64]!==er||W[65]!==en||W[66]!==h||W[67]!==m||W[68]!==et.scheme||W[69]!==et.tone||W[70]!==ea||W[71]!==eh||W[72]!==Z||W[73]!==k?(H=(0,r.jsx)(tx,{"data-as":"input","data-scheme":et.scheme,"data-tone":et.tone,...m,$fontSize:er,$iconLeft:el,$iconRight:eh,$padding:en,$scheme:et.scheme,$space:ea,$tone:et.tone,$weight:k,disabled:X,readOnly:h,ref:ee,type:Z}),W[62]=el,W[63]=X,W[64]=er,W[65]=en,W[66]=h,W[67]=m,W[68]=et.scheme,W[69]=et.tone,W[70]=ea,W[71]=eh,W[72]=Z,W[73]=k,W[74]=H):H=W[74],W[75]!==L||W[76]!==I||W[77]!==H?(D=(0,r.jsxs)(tv,{children:[H,I,L]}),W[75]=L,W[76]=I,W[77]=H,W[78]=D):D=W[78],W[79]!==_||W[80]!==et.tone||W[81]!==Q||W[82]!==D?(V=(0,r.jsxs)(tb,{"data-ui":"TextInput",tone
972:et.tone,children:[_,D,Q]}),W[79]=_,W[80]=et.tone,W[81]=Q,W[82]=D,W[83]=V):V=W[83],V});function _temp$1(e){e.preventDefault(),e.stopPropagation()}function _temp2(e){return 0===e?0:1===e||2===e?1:e-2}function _temp3(e){return 0===e||1===e?0:2===e?1:e-1}tz.displayName="ForwardRef(TextInput)";let t_={top:["top-end","top-start","bottom","left","right"],"top-start":["top","top-end","bottom-start","left-start","right-start"],"top-end":["top","top-start","bottom-end","left-end","right-end"],bottom:["bottom-end","bottom-start","top","left","right"],"bottom-start":["bottom","bottom-end","top-start","left-start","right-start"],"bottom-end":["bottom","bottom-start","top-end","left-end","right-end"],left:["left-end","left-start","right","top","bottom"],"left-start":["left","left-end","right-start","top-start","bottom-start"],"left-end":["left","left-start","right-end","top-end","bottom-end"],right:["right-end","right-start","left","top","bottom"],"right-start":["right","right-end","left-start","top-start","bottom-start"],"right-end":["right","right-start","left-end","top-end","bottom-end"]},tj=(0,a.zo)(f.E.create(eh)).withConfig({displayName:"MotionCard",componentId:"sc-1xn138w-0"})`will-change:transform;`,tI=(0,i.memo)((0,i.forwardRef)(function(e,t){let o,i,a,d,l,s,c,u,p,f,h,m,g,b,v,y,x,$,S,R,k,C,z,_;let j=(0,n.c)(48);j[0]!==e?({animate:o,arrow:i,arrowRef:a,arrowX:d,arrowY:l,children:s,originX:c,originY:u,padding:p,placement:f,radius:h,scheme:g,shadow:b,style:v,...m}=e,j[0]=e,j[1]=o,j[2]=i,j[3]=a,j[4]=d,j[5]=l,j[6]=s,j[7]=c,j[8]=u,j[9]=p,j[10]=f,j[11]=h,j[12]=m,j[13]=g,j[14]=b,j[15]=v):(o=j[1],i=j[2],a=j[3],d=j[4],l=j[5],s=j[6],c=j[7],u=j[8],p=j[9],f=j[10],h=j[11],m=j[12],g=j[13],b=j[14],v=j[15]);let I=o?"transform":void 0;j[16]!==c||j[17]!==u||j[18]!==v||j[19]!==I?(x={originX:c,originY:u,willChange:I,...v},j[16]=c,j[17]=u,j[18]=v,j[19]=I,j[20]=x):x=j[20],y=x;let A=null!==d?d:void 0,E=null!==l?l:void 0;j[21]!==A||j[22]!==E?(S={left:A,top:E,right:void 0,bottom:void 0},j[21]=A,j[22]=E,j[23]=S):S=j[23],$=S;let P=m;return j[24]!==o?(R=o?["hidden","initial"]:void 0,j[24]=o,j[25]=R):R=j[25],j[26]!==o?(k=o?["visible","scaleIn"]:void 0,j[26]=o,j[27]=k):k=j[27],j[28]!==o?(C=o?["hidden","scaleOut"]:void 0,j[28]=o,j[29]=C):C=j[29],j[30]!==i||j[31]!==a||j[32]!==$?(z=i&&(0,r.jsx)(eF,{ref:a,style:$,width:15,height:6,radius:2}),j[30]=i,j[31]=a,j[32]=$,j[33]=z):z=j[33],j[34]!==s||j[35]!==p||j[36]!==f||j[37]!==h||j[38]!==t||j[39]!==y||j[40]!==g||j[41]!==b||j[42]!==C||j[43]!==z||j[44]!==P||j[45]!==R||j[46]!==k?(_=(0,r.jsxs)(tj,{"data-ui":"Tooltip__card",...P,"data-placement":f,padding:p,radius:h,ref:t,scheme:g,shadow:b,style:y,variants:w.card,transition:w.transition,initial:R,animate:k,exit:C,children:[s,z]}),j[34]=s,j[35]=p,j[36]=f,j[37]=h,j[38]=t,j[39]=y,j[40]=g,j[41]=b,j[42]=C,j[43]=z,j[44]=P,j[45]=R,j[46]=k,j[47]=_):_=j[47],_}));tI.displayName="Memo(ForwardRef(TooltipCard))";let tA=createGlobalScopedContext("@sanity/ui/context/tooltipDelayGroup",null),tE=(0,a.zo)(eH).withConfig({displayName:"StyledTooltip",componentId:"sc-13f2zvh-0"})`pointer-events:none;`,tP=(0,i.forwardRef)(function(e,t){let o=useBoundaryElement(),{layer:a}=useTheme_v2(),{animate:d=!1,arrow:l=!1,boundaryElement:s=o?.element,children:c,content:f,disabled:m,fallbackPlacements:g=e.fallbackPlacements??t_[e.placement??"bottom"],padding:v=2,placement:y="bottom",portal:w,radius:x=2,scheme:$,shadow:S=2,zOffset:R=a.tooltip.zOffset,delay:k,...C}=e,z=!usePrefersReducedMotion()&&d,_=useArrayProp(g),j=(0,i.useRef)(null),[I,A]=(0,i.useState)(null),E=(0,i.useRef)(null),P="viewport",[N,T]=(0,i.useState)(0);(0,i.useImperativeHandle)(t,()=>j.current);let F=usePortal(),B="string"==typeof w?F.elements?.[w]||null:F.element,M=(0,i.useMemo)(()=>{let e=[];return e.push((0,p.RR)({boundary:s||void 0,fallbackPlacements:_,padding:4,rootBoundary:P})),e.push((0,p.cv)({mainAxis:4})),e.push((0,p.uY)({boundary:s||void 0,rootBoundary:P,padding:4})),l&&e.push((0,p.x7)({element:E,padding:4})),z&&e.push(eE),e},[z,l,s,_]),{floatingStyles:L,placement:O,middlewareData:Q,refs:G,update:H}=(0,p.YF)({middleware:M,placement:y,whileElementsMounted:u.Me,elements:{reference:I}}),D=Q.arrow?.x,V=Q.arrow?.y,W=Q["@sanity/ui/origin"]?.originX,Y=Q["@sanity/ui/origin"]?.originY,X=(0,i.useId)(),[K,q]=function(e){let t,o;let r=(0,n.c)(3),[a,d]=(0,i.useState)(e),l=(0,i.useRef)(void 0);r[0]===Symbol.for("react.memo_cache_sentinel")?(t=(e,t)=>
972{let action=()=>{d(e)};if(l.current&&(clearTimeout(l.current),l.current=void 0),!t)return action();l.current=setTimeout(action,t)},r[0]=t):t=r[0];let s=t;return r[1]!==a?(o=[a,s],r[1]=a,r[2]=o):o=r[2],o}(!1),J=(0,i.useContext)(tA),U=K||J?.openTooltipId===X,Z=null!==J,ee="number"==typeof k?k:k?.open||0,et="number"==typeof k?k:k?.close||0,eo=Z?J.openDelay:ee,er=Z?J.closeDelay:et,en=(0,i.useCallback)((e,t)=>{if(Z){if(e){let o=t?0:eo;J.setIsGroupActive(e,o),J.setOpenTooltipId(X,o)}else{let o=er>200?er:200;J.setIsGroupActive(e,o),J.setOpenTooltipId(null,t?0:er)}}else q(e,t?0:e?eo:er)},[Z,J,eo,X,er,q]),ei=(0,i.useCallback)(e=>{en(!1),c?.props?.onBlur?.(e)},[c?.props,en]),ea=(0,i.useCallback)(e=>{en(!1,!0),c?.props.onClick?.(e)},[c?.props,en]),ed=(0,i.useCallback)(e=>{en(!1,!0),c?.props.onContextMenu?.(e)},[c?.props,en]),el=(0,i.useCallback)(e=>{en(!0),c?.props?.onFocus?.(e)},[c?.props,en]),es=(0,i.useCallback)(e=>{en(!0),c?.props?.onMouseEnter?.(e)},[c?.props,en]),ec=(0,i.useCallback)(e=>{en(!1),c?.props?.onMouseLeave?.(e)},[c?.props,en]);(function(e){let t,o,r;let a=(0,n.c)(8),{handleIsOpenChange:d,referenceElement:l,showTooltip:s}=e;a[0]!==d||a[1]!==l?(t=(e,t)=>{l&&(l===e||e instanceof Node&&l.contains(e)||(d(!1),t()))},a[0]=d,a[1]=l,a[2]=t):t=a[2];let c=(0,b.i)(t);a[3]!==c||a[4]!==s?(o=()=>{if(!s)return;let handleMouseMove=e=>{c(e.target,()=>window.removeEventListener("mousemove",handleMouseMove))};return window.addEventListener("mousemove",handleMouseMove),()=>window.removeEventListener("mousemove",handleMouseMove)},a[3]=c,a[4]=s,a[5]=o):o=a[5],a[6]!==s?(r=[s],a[6]=s,a[7]=r):r=a[7],(0,i.useEffect)(o,r)})({handleIsOpenChange:en,referenceElement:I,showTooltip:U}),(0,i.useEffect)(()=>{m&&U&&en(!1)},[m,en,U]),(0,i.useEffect)(()=>{!f&&U&&en(!1)},[f,en,U]),(0,i.useEffect)(()=>{if(U)return window.addEventListener("keydown",handleWindowKeyDown),()=>{window.removeEventListener("keydown",handleWindowKeyDown)};function handleWindowKeyDown(e){"Escape"===e.key&&en(!1,!0)}},[en,U]),(0,i.useLayoutEffect)(()=>{let e=[...s?[s.offsetWidth]:[],B?.offsetWidth||document.body.offsetWidth];T(Math.min(...e)-8)},[s,B]);let eu=(0,i.useCallback)(e=>{E.current=e,H()},[H]),ep=(0,i.useCallback)(e=>{j.current=e,G.setFloating(e)},[G]),ef=(0,i.useMemo)(()=>c?(0,i.cloneElement)(c,{onBlur:ei,onFocus:el,onMouseEnter:es,onMouseLeave:ec,onClick:ea,onContextMenu:ed,ref:A}):null,[c,ei,ea,ed,el,es,ec]);if((0,i.useImperativeHandle)(c?getElementRef(c):null,()=>I,[I]),!ef)return(0,r.jsx)(r.Fragment,{});if(m)return ef;let eh=(0,r.jsx)(tE,{"data-ui":"Tooltip",...C,ref:ep,style:{...L,maxWidth:N>0?`${N}px`:void 0},zOffset:R,children:(0,r.jsx)(tI,{...C,animate:z,arrow:l,arrowRef:eu,arrowX:D,arrowY:V,originX:W,originY:Y,padding:v,placement:O,radius:x,ref:ep,scheme:$,shadow:S,children:f})}),em=U&&(w?(0,r.jsx)(Portal,{__unstable_name:"string"==typeof w?w:void 0,children:eh}):eh);return(0,r.jsxs)(r.Fragment,{children:[z?(0,r.jsx)(h.M,{children:em}):em,ef]})});tP.displayName="ForwardRef(Tooltip)";let tN=a.zo.kbd.withConfig({displayName:"StyledHotkeys",componentId:"sc-b37mge-0"})`font:inherit;padding:1px;&:not([hidden]){display:block;}`,tT=(0,a.zo)(eA).withConfig({displayName:"Key",componentId:"sc-b37mge-1"})`&:not([hidden]){display:block;}`,tF=(0,i.forwardRef)(function(e,t){let o,i,a,d,l,s,c,u,p;let f=(0,n.c)(24);f[0]!==e?({fontSize:o,keys:i,padding:a,radius:d,space:s,...l}=e,f[0]=e,f[1]=o,f[2]=i,f[3]=a,f[4]=d,f[5]=l,f[6]=s):(o=f[1],i=f[2],a=f[3],d=f[4],l=f[5],s=f[6]);let h=useArrayProp(void 0===s?.5:s);if(!i||0===i.length){let e;return f[7]===Symbol.for("react.memo_cache_sentinel")?(e=(0,r.jsx)(r.Fragment,{}),f[7]=e):e=f[7],e}if(f[8]!==o||f[9]!==i||f[10]!==a||f[11]!==d){let e;f[13]!==o||f[14]!==a||f[15]!==d?(e=(e,t)=>(0,r.jsx)(tT,{fontSize:o,padding:a,radius:d,children:e},t),f[13]=o,f[14]=a,f[15]=d,f[16]=e):e=f[16],c=i.map(e),f[8]=o,f[9]=i,f[10]=a,f[11]=d,f[12]=c}else c=f[12];return f[17]!==h||f[18]!==c?(u=(0,r.jsx)(ej,{as:"span",space:h,children:c}),f[17]=h,f[18]=c,f[19]=u):u=f[19],f[20]!==t||f[21]!==l||f[22]!==u?(p=(0,r.jsx)(tN,{"data-ui":"Hotkeys",...l,ref:t,children:u}),f[20]=t,f[21]=l,f[22]=u,f[23]=p):p=f[23],p});tF.displayName="ForwardRef(Hotkeys)";let tB=createGlobalScopedContext("@sanity/ui/context/menu",null);function _isFocusable(e){return isHTMLElement(e)&&"A"===e.nodeName&&"true"!==e.getAttribute("data-disabled")||isHTMLElement(e)&&"BUTTON"===e.nodeName&&!e.disabled}function _getFocusableElements(e){return e.filter(_isFocusable)}let tM=[],tL=(0,a.zo)(ee).withConfig({displayName:"StyledMenu",componentId:"sc-xt0tnv-0"})`outline:none;overflow:auto;`,tO=(0,i.forwardRef)(function(e,t){let o,a,d,l,s,c,u,p,f,h,m,g,v,y,w,x,$,S,R,k,C,z,_,j;let I=(0,n.c)(50);if(I[0]!==e){let{children:t,focusFirst:r,focusLast:n,onClickOutside:i,onEscape:b,onItemClick:v,onItemSelect:y,onKeyDown:w,originElement:x,padding:$,registerElement:S,shouldFocus:R,space:k,...C}=e;a=t,d=i,l=b,s=v,c=y,u=w,p=x,m=$,f=S,o=R,g=k,h=C,I[0]=e,I[1]=o,I[2]=a,I[3]=d,I[4]=l,I[5]=s,I[6]=c,I[7]=u,I[8]=p,I[9]=f,I[10]=h,I[11]=m,I[12]=g}
972else o=I[1],a=I[2],d=I[3],l=I[4],s=I[5],c=I[6],u=I[7],p=I[8],f=I[9],h=I[10],m=I[11],g=I[12];let A=void 0===m?1:m,E=void 0===g?1:g,P=o??(e.focusFirst&&"first"||e.focusLast&&"last"||null),N=(0,i.useRef)(null);I[13]===Symbol.for("react.memo_cache_sentinel")?(v=()=>N.current,I[13]=v):v=I[13],(0,i.useImperativeHandle)(t,v);let{isTopLayer:T}=useLayer();I[14]!==u||I[15]!==p||I[16]!==P?(y={onKeyDown:u,originElement:p,shouldFocus:P,rootElementRef:N},I[14]=u,I[15]=p,I[16]=P,I[17]=y):y=I[17];let{activeElement:F,activeIndex:B,handleItemMouseEnter:M,handleItemMouseLeave:L,handleKeyDown:O,mount:Q}=function(e){let{onKeyDown:t,originElement:o,shouldFocus:r,rootElementRef:n}=e,a=(0,i.useRef)([]),[d,l]=(0,i.useState)(-1),s=(0,i.useRef)(d),c=(0,i.useMemo)(()=>a.current[d]||null,[d]),u=!!n.current,p=(0,i.useCallback)(e=>{l(e),s.current=e},[]),f=(0,i.useCallback)((e,t)=>{if(!e)return()=>{};if(-1===a.current.indexOf(e)&&(a.current.push(e),function(e,t){if(!e)return;let o=new WeakMap;for(let r of t)o.set(r,function(e,t){let o=[],r=t;for(;r!==e;){let t=r.parentElement;if(!t)break;let n=Array.from(t.childNodes).indexOf(r);if(o.unshift(n),t===e)break;r=t}return o}(e,r));t.sort((e,t)=>{let r=o.get(e)||tM,n=o.get(t)||tM,i=Math.max(r.length,n.length);for(let e=0;e<i;e+=1){let t=r[e]||-1,o=n[e]||-1;if(t!==o)return t-o}return 0})}(n.current,a.current)),t){let t=a.current.indexOf(e);p(t)}return()=>{let t=a.current.indexOf(e);t>-1&&a.current.splice(t,1)}},[n,p]),h=(0,i.useCallback)(e=>{if("Tab"===e.key){o&&o.focus();return}if("Home"===e.key){e.preventDefault(),e.stopPropagation();let t=_getFocusableElements(a.current)[0];if(!t)return;let o=a.current.indexOf(t);p(o);return}if("End"===e.key){e.preventDefault(),e.stopPropagation();let t=_getFocusableElements(a.current),o=t[t.length-1];if(!o)return;let r=a.current.indexOf(o);p(r);return}if("ArrowUp"===e.key){e.preventDefault(),e.stopPropagation();let t=_getFocusableElements(a.current),o=t.length;if(0===o)return;let r=a.current[s.current],n=t.indexOf(r);n=(n-1+o)%o;let i=t[n],d=a.current.indexOf(i);p(d);return}if("ArrowDown"===e.key){e.preventDefault(),e.stopPropagation();let t=_getFocusableElements(a.current),o=t.length;if(0===o)return;let r=a.current[s.current],n=t.indexOf(r);n=(n+1)%o;let i=t[n],d=a.current.indexOf(i);p(d);return}t&&t(e)},[t,o,p]),m=(0,i.useCallback)(e=>{let t=e.currentTarget,o=a.current.indexOf(t);p(o)},[p]),g=(0,i.useCallback)(()=>{p(-2),n.current?.focus()},[n,p]);return(0,i.useEffect)(()=>{if(!u)return;let e=requestAnimationFrame(()=>{if(-1===d){if("first"===r){let e=_getFocusableElements(a.current)[0];if(e){let t=a.current.indexOf(e);p(t)}}if("last"===r){let e=_getFocusableElements(a.current),t=e[e.length-1];if(t){let e=a.current.indexOf(t);p(e)}}return}(a.current[d]||null)?.focus()});return()=>cancelAnimationFrame(e)},[d,u,p,r]),{activeElement:c,activeIndex:d,handleItemMouseEnter:m,handleItemMouseLeave:g,handleKeyDown:h,mount:f}}(y),G=(0,i.useRef)(null);I[18]!==f?(w=e=>{G.current&&(G.current(),G.current=null),N.current=e,N.current&&f&&(G.current=f(N.current))},I[18]=f,I[19]=w):w=I[19];let H=w;return I[20]!==B||I[21]!==c?(x=()=>{c&&c(B)},$=[B,c],I[20]=B,I[21]=c,I[22]=x,I[23]=$):(x=I[22],$=I[23]),(0,i.useEffect)(x,$),I[24]===Symbol.for("react.memo_cache_sentinel")?(S=()=>[N.current],I[24]=S):S=I[24],function(e,t,o){let r,a,d;let l=(0,n.c)(9),s=void 0===t?_temp$9:t;l[0]!==o||l[1]!==s||l[2]!==e?(r=t=>{if(!e)return;let r=t.target;if(!(r instanceof Node))return;let n=o?.();if(n&&!n.contains(r))return;let i=s().flat();for(let e of i)if(e&&(r===e||e.contains(r)))return;e(t)},l[0]=o,l[1]=s,l[2]=e,l[3]=r):r=l[3];let c=(0,b.i)(r),u=!!e;l[4]!==u||l[5]!==c?(a=()=>{if(!u)return;let handleEvent=e=>c(e);return document.addEventListener("mousedown",handleEvent),()=>{document.removeEventListener("mousedown",handleEvent)}},l[4]=u,l[5]=c,l[6]=a):a=l[6],l[7]!==u?(d=[u],l[7]=u,l[8]=d):d=l[8],(0,i.useEffect)(a,d),(0,i.useDebugValue)(e?"MouseDown On":"MouseDown Off")}(T&&d,S),I[25]!==T||I[26]!==l?(R=e=>{T&&"Escape"===e.key&&(e.stopPropagation(),l&&l())},I[25]=T,I[26]=l,I[27]=R):R=I[27],function(e){let t,o,r;let a=(0,n.c)(5);a[0]!==e?(t=t=>e(t),a[0]=e,a[1]=t):t=a[1];let d=(0,b.i)(t);a[2]!==d?(o=()=>{let handler=e=>d(e);return window.addEventListener("keydown",handler),()=>window.removeEventListener("keydown",handler)},a[2]=d,a[3]=o):o=a[3],a[4]===Symbol.for("react.memo_cache_sentinel")?(r=[],a[4]=r):r=a[4],(0,i.useEffect)(o,r)}(R),I[28]!==F||I[29]!==B||I[30]!==M||I[31]!==L||I[32]!==Q||I[33]!==d||I[34]!==l||I[35]!==s||I[36]!==f?(C={version:0,activeElement:F,activeIndex:B,mount:Q,onClickOutside:d,onEscape:l,onItemClick:s,onItemMouseEnter:M,onItemMouseLeave:L,registerElement:f,onMouseEnter:M,onMouseLeave:L},I[28]=F,I[29]=B,I[30]=M,I[31]=L,I[32]=Q,I[33]=d,I[34]=l,I[35]=s,I[36]=f,I[37]=C):C=I[37],k=C,I[38]!==a||I[39]!==E?(z=(0,r.jsx)(tn,{space:E,children:a}),I[38]=a,I[39]=E,I[40]=z):z=I[40],I[41]!==O||I[42]!==H||I[43]!==A||I[44]!==h||I[45]!==z?(_=(0,r.jsx)(tL,{"data-ui":"Menu",...h,onKeyDown:O,padding:A,ref:H,role:"menu",tabIndex:-1,
972children:z}),I[41]=O,I[42]=H,I[43]=A,I[44]=h,I[45]=z,I[46]=_):_=I[46],I[47]!==_||I[48]!==k?(j=(0,r.jsx)(tB.Provider,{value:k,children:_}),I[47]=_,I[48]=k,I[49]=j):j=I[49],j});tO.displayName="ForwardRef(Menu)";let tQ=a.zo.hr.withConfig({displayName:"MenuDivider",componentId:"sc-uhoxwu-0"})`height:1px;border:0;background:var(--card-hairline-soft-color);margin:0;`;tQ.displayName="MenuDivider";let tG=(0,a.zo)(ee).withConfig({displayName:"Selectable",componentId:"sc-1w01ang-0"})(responsiveRadiusStyle,function(){return a.iv`
973    background-color: inherit;
974    color: inherit;
975
976    &[data-as='button'] {
977      -webkit-font-smoothing: inherit;
978      appearance: none;
979      outline: none;
980      font: inherit;
981      text-align: inherit;
982      border: 0;
983      width: -moz-available;
984      width: -webkit-fill-available;
985      width: stretch;
986    }
987
988    /* &:is(a) */
989    &[data-as='a'] {
990      text-decoration: none;
991    }
992  `},function(e){let{$tone:t}=e,{color:o,style:r}=(0,l.aQ)(e.theme),n=o.selectable[t];return a.iv`
993    ${_cardColorStyle(o,n.enabled)}
994
995    background-color: var(--card-bg-color);
996    color: var(--card-fg-color);
997    outline: none;
998
999    /* &:is(button) */
1000    &[data-as='button'] {
1001      &:disabled {
1002        ${_cardColorStyle(o,n.disabled)}
1003      }
1004
1005      &:not(:disabled) {
1006        &[aria-pressed='true'] {
1007          ${_cardColorStyle(o,n.pressed)}
1008        }
1009
1010        &[data-selected],
1011        &[aria-selected='true'] > & {
1012          ${_cardColorStyle(o,n.selected)}
1013        }
1014
1015        @media (hover: hover) {
1016          &:not([data-selected]) {
1017            &[data-hovered],
1018            &:hover {
1019              ${_cardColorStyle(o,n.hovered)}
1020            }
1021
1022            &:active {
1023              ${_cardColorStyle(o,n.pressed)}
1024            }
1025          }
1026        }
1027      }
1028    }
1029
1030    /* &:is(a) */
1031    &[data-as='a'] {
1032      &[data-disabled] {
1033        ${_cardColorStyle(o,n.disabled)}
1034      }
1035
1036      &:not([data-disabled]) {
1037        &[data-pressed] {
1038          ${_cardColorStyle(o,n.pressed)}
1039        }
1040
1041        &[data-selected] {
1042          ${_cardColorStyle(o,n.selected)}
1043        }
1044
1045        @media (hover: hover) {
1046          &:not([data-selected]) {
1047            &[data-hovered],
1048            &:hover {
1049              ${_cardColorStyle(o,n.hovered)}
1050            }
1051            &:active {
1052              ${_cardColorStyle(o,n.pressed)}
1053            }
1054          }
1055        }
1056      }
1057    }
1058
1059    ${r?.card?.root}
1060  `});tG.displayName="Selectable";let tH=(0,i.forwardRef)(function(e,t){let o,a,d,l,c,u,p,f,h,m,g,b,v,y,w,x,$,S,R,k,C,z,_,j,I,A,E,P,N,T,F,B,M;let L=(0,n.c)(74);L[0]!==e?({as:x,children:d,disabled:l,fontSize:$,hotkeys:c,icon:o,iconRight:a,onClick:u,padding:S,paddingX:g,paddingY:b,paddingTop:m,paddingRight:h,paddingBottom:p,paddingLeft:f,pressed:v,radius:R,selected:w,space:k,text:z,tone:C,...y}=e,L[0]=e,L[1]=o,L[2]=a,L[3]=d,L[4]=l,L[5]=c,L[6]=u,L[7]=p,L[8]=f,L[9]=h,L[10]=m,L[11]=g,L[12]=b,L[13]=v,L[14]=y,L[15]=w,L[16]=x,L[17]=$,L[18]=S,L[19]=R,L[20]=k,L[21]=C,L[22]=z):(o=L[1],a=L[2],d=L[3],l=L[4],c=L[5],u=L[6],p=L[7],f=L[8],h=L[9],m=L[10],g=L[11],b=L[12],v=L[13],y=L[14],w=L[15],x=L[16],$=L[17],S=L[18],R=L[19],k=L[20],C=L[21],z=L[22]);let O=void 0===x?"button":x,Q=void 0===$?1:$,G=void 0===S?3:S,H=void 0===R?2:R,D=void 0===k?3:k,V=void 0===C?"default":C,{scheme:W}=useRootTheme(),Y=function(){let e=(0,i.useContext)(tB);if(!e)throw Error("useMenu(): missing context value");if(!isRecord(e)||0!==e.version)throw Error("useMenu(): the context value is not compatible");return e}(),{activeElement:X,mount:K,onItemClick:q,onItemMouseEnter:J,onItemMouseLeave:U}=Y,Z=J??Y.onMouseEnter,et=U??Y.onMouseLeave,[er,en]=(0,i.useState)(null),ei=!!X&&X===er,ed=(0,i.useRef)(null);L[23]===Symbol.for("react.memo_cache_sentinel")?(_=()=>
1060ed.current,L[23]=_):_=L[23],(0,i.useImperativeHandle)(t,_),L[24]!==K||L[25]!==er||L[26]!==w?(j=()=>K(er,w),I=[K,er,w],L[24]=K,L[25]=er,L[26]=w,L[27]=j,L[28]=I):(j=L[27],I=L[28]),(0,i.useEffect)(j,I),L[29]!==l||L[30]!==u||L[31]!==q?(A=e=>{l||(u&&u(e),q&&q())},L[29]=l,L[30]=u,L[31]=q,L[32]=A):A=L[32];let el=A;L[33]!==G||L[34]!==p||L[35]!==f||L[36]!==h||L[37]!==m||L[38]!==g||L[39]!==b?(P={padding:G,paddingX:g,paddingY:b,paddingTop:m,paddingRight:h,paddingBottom:p,paddingLeft:f},L[33]=G,L[34]=p,L[35]=f,L[36]=h,L[37]=m,L[38]=g,L[39]=b,L[40]=P):P=L[40],E=P;let es=useArrayProp(Q);L[41]!==es?(N=es.map(_temp),L[41]=es,L[42]=N):N=L[42];let ec=N;L[43]===Symbol.for("react.memo_cache_sentinel")?(T=e=>{ed.current=e,en(e)},L[43]=T):T=L[43];let eu=T,ep="button"===O&&v,ef="button"!==O&&v?"":void 0,eh=ei?"":void 0,em=l?"":void 0,eg=useArrayProp(H),eb=useArrayProp(0),ev=l?"default":V,ey="button"===O?"button":void 0;return L[44]!==o||L[45]!==a||L[46]!==Q||L[47]!==c||L[48]!==ec||L[49]!==E||L[50]!==D||L[51]!==z?(F=(o||z||a)&&(0,r.jsxs)(ea,{as:"span",gap:D,align:"center",...E,children:[o&&(0,r.jsxs)(eo,{size:Q,children:[(0,i.isValidElement)(o)&&o,(0,s.isValidElementType)(o)&&(0,r.jsx)(o,{})]}),z&&(0,r.jsx)(ee,{flex:1,children:(0,r.jsx)(eo,{size:Q,textOverflow:"ellipsis",weight:"medium",children:z})}),c&&(0,r.jsx)(tF,{fontSize:ec,keys:c,style:{marginTop:-4,marginBottom:-4}}),a&&(0,r.jsxs)(eo,{size:Q,children:[(0,i.isValidElement)(a)&&a,(0,s.isValidElementType)(a)&&(0,r.jsx)(a,{})]})]}),L[44]=o,L[45]=a,L[46]=Q,L[47]=c,L[48]=ec,L[49]=E,L[50]=D,L[51]=z,L[52]=F):F=L[52],L[53]!==d||L[54]!==E?(B=d&&(0,r.jsx)(ee,{as:"span",...E,children:d}),L[53]=d,L[54]=E,L[55]=B):B=L[55],L[56]!==O||L[57]!==l||L[58]!==el||L[59]!==Z||L[60]!==et||L[61]!==y||L[62]!==W||L[63]!==ep||L[64]!==ef||L[65]!==eh||L[66]!==em||L[67]!==eg||L[68]!==eb||L[69]!==ev||L[70]!==ey||L[71]!==F||L[72]!==B?(M=(0,r.jsxs)(tG,{"data-ui":"MenuItem",role:"menuitem",...y,"aria-pressed":ep,"data-pressed":ef,"data-selected":eh,"data-disabled":em,forwardedAs:O,$radius:eg,$padding:eb,$tone:ev,$scheme:W,disabled:l,onClick:el,onMouseEnter:Z,onMouseLeave:et,ref:eu,tabIndex:-1,type:ey,children:[F,B]}),L[56]=O,L[57]=l,L[58]=el,L[59]=Z,L[60]=et,L[61]=y,L[62]=W,L[63]=ep,L[64]=ef,L[65]=eh,L[66]=em,L[67]=eg,L[68]=eb,L[69]=ev,L[70]=ey,L[71]=F,L[72]=B,L[73]=M):M=L[73],M});function _temp(e){return e-1}tH.displayName="ForwardRef(MenuItem)";let tD=(0,a.zo)(ep).withConfig({displayName:"CustomButton",componentId:"sc-1kns779-0"})`max-width:100%;`,tV=(0,i.forwardRef)(function(e,t){let o,a,d,l,s,c,u,p,f,h,m,g,b,v,y,w;let x=(0,n.c)(30);x[0]!==e?({icon:a,id:d,focused:o,fontSize:f,label:l,onClick:s,onFocus:c,padding:h,selected:p,...u}=e,x[0]=e,x[1]=o,x[2]=a,x[3]=d,x[4]=l,x[5]=s,x[6]=c,x[7]=u,x[8]=p,x[9]=f,x[10]=h):(o=x[1],a=x[2],d=x[3],l=x[4],s=x[5],c=x[6],u=x[7],p=x[8],f=x[9],h=x[10]);let $=void 0===f?1:f,S=void 0===h?2:h,R=(0,i.useRef)(null),k=(0,i.useRef)(!1);x[11]===Symbol.for("react.memo_cache_sentinel")?(m=()=>R.current,x[11]=m):m=x[11],(0,i.useImperativeHandle)(t,m),x[12]===Symbol.for("react.memo_cache_sentinel")?(g=()=>{k.current=!1},x[12]=g):g=x[12];let C=g;x[13]!==c?(b=e=>{k.current=!0,c&&c(e)},x[13]=c,x[14]=b):b=x[14];let z=b;x[15]!==o?(v=()=>{o&&!k.current&&(R.current&&R.current.focus(),k.current=!0)},y=[o],x[15]=o,x[16]=v,x[17]=y):(v=x[16],y=x[17]),(0,i.useEffect)(v,y);let _=p?"true":"false",j=p?0:-1;return x[18]!==$||x[19]!==z||x[20]!==a||x[21]!==d||x[22]!==l||x[23]!==s||x[24]!==S||x[25]!==u||x[26]!==p||x[27]!==_||x[28]!==j?(w=(0,r.jsx)(tD,{"data-ui":"Tab",...u,"aria-selected":_,fontSize:$,icon:a,id:d,mode:"bleed",onClick:s,onBlur:C,onFocus:z,padding:S,ref:R,role:"tab",selected:p,tabIndex:j,text:l,type:"button"}),x[18]=$,x[19]=z,x[20]=a,x[21]=d,x[22]=l,x[23]=s,x[24]=S,x[25]=u,x[26]=p,x[27]=_,x[28]=j,x[29]=w):w=x[29],w});tV.displayName="ForwardRef(Tab)";let tW=(0,a.zo)(ej).withConfig({displayName:"CustomInline",componentId:"sc-5cm04m-0"})`& > div{display:inline-block;vertical-align:middle;max-width:100%;box-sizing:border-box;}`,tY=(0,i.forwardRef)(function(e,t){let o,a,d,l,s;let c=(0,n.c)(15);c[0]!==e?({children:o,...a}=e,c[0]=e,c[1]=o,c[2]=a):(o=c[1],a=c[2]);let[u,p]=(0,i.useState)(-1);if(c[3]!==o||c[4]!==u){let e;let t=i.Children.toArray(o).filter(i.isValidElement);c[6]!==u?(e=(e,t)=>(0,i.cloneElement)(e,{focused:u===t,key:t,onFocus:()=>p(t)}),c[6]=u,c[7]=e):e=c[7],d=t.map(e),c[3]=o,c[4]=u,c[5]=d}else d=c[5];let f=d,h=f.length;c[8]!==h?(l=e=>{"ArrowLeft"===e.key&&p(e=>(e+h-1)%h),"ArrowRight"===e.key&&p(e=>(e+1)%h)},c[8]=h,c[9]=l):l=c[9];let m=l;return c[10]!==m||c[11]!==t||c[12]!==a||c[13]!==f?(s=(0,r.jsx)(tW,{"data-ui":"TabList",...a,onKeyDown:m,ref:t,role:"tablist",children:f}),c[10]=m,c[11]=t,c[12]=a,c[13]=f,c[14]=s):s=c[14],s});tY.displayName="ForwardRef(TabList)"}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.