1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5797],{79417:function(e,t,o){o.d(t,{$j:function(){return tg},Bj:function(){return q},CP:function(){return ox},Ct:function(){return ts},E5:function(){return eq},EK:function(){return tE},Fg:function(){return W},J2:function(){return oE},Jh:function(){return tn},Kq:function(){return oH},Kx:function(){return oJ},LL:function(){return t8},LZ:function(){return x},Lg:function(){return y},Lt:function(){return j},NM:function(){return tZ},OK:function(){return rE},Of:function(){return I},Ph:function(){return oQ},Q5:function(){return N},R:function(){return r$},RV:function(){return oe},Re:function(){return t6},Rm:function(){return t5},SV:function(){return rg},Tb:function(){return Z},Uy:function(){return tU},W2:function(){return t_},X6:function(){return tF},XZ:function(){return tj},Xp:function(){return oh},Y8:function(){return o_},ZE:function(){return eY},ZH:function(){return ot},Zb:function(){return t$},__:function(){return eJ},bT:function(){return $},bg:function(){return t7},d2:function(){return Y},dG:function(){return oo},eb:function(){return V},f6:function(){return H},fe:function(){return t9},g9:function(){return G},gF:function(){return tA},gG:function(){return tm},h4:function(){return F},hO:function(){return z},h_:function(){return op},iX:function(){return t1},kC:function(){return tf},kS:function(){return rj},li:function(){return or},m4:function(){return w},mh:function(){return ol},oi:function(){return rt},p2:function(){return te},qE:function(){return e7},qh:function(){return O},rj:function(){return tL},rs:function(){return oY},sJ:function(){return t4},sN:function(){return rS},sz:function(){return t0},td:function(){return rI},tx:function(){return B},u:function(){return rf},uE:function(){return rs},v2:function(){return rx},vI:function(){return of},xu:function(){return ta},xv:function(){return tl},zx:function(){return ty}});var r=o(57437),n=o(12920),i=o(2265),a=o(89183),d=o(59465),l=o(87325),c=o(12659),s=o(53997),u=o(51751),f=o(85621),p=o(94674),h=o(81346),g=o(86594),m=o(54111),b=o(54887),v=o(62607);let w=d.m4,y=(0,d.fi)(),x=[],$={},k={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 z(e){return 0===e?0:`${e/16}rem`}function j(e,t,o){return(t?.map(o)||[]).map((t,o)=>0===o?t:{[`@media screen and (min-width: ${e[o-1]}px)`]:t})}function S(e,t){return void 0===e?t||x:Array.isArray(e)?e:[e]}function R(e,t,o=x){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 j(r,o,e=>{var o;return o=z(n[e]),t.reduce((e,t)=>(e[t]=o,e),{})})}function C(e,t){let{$size:o,$weight:r}=t,{font:n,media:i}=(0,l.aQ)(t.theme),{family:a,sizes:d,weights:c}=n[e],s=r&&c[r]||c.regular,u=d[2],f={position:"relative",fontFamily:a,fontWeight:s,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"}};return o?[f,...j(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,c=2*Math.floor(1.125*r/2)+1;return{fontSize:z(r),lineHeight:`calc(${a} / ${r})`,letterSpacing:z(i),transform:`translateY(${z(o)})`,"&:before":{marginTop:`calc(${z(0-d)} - 1px)`},"&:after":{marginBottom:"-1px"},"& svg:not([data-sanity-icon])":{fontSize:`calc(${c} / 16 * 1rem)`,margin:z((l-c)/2)},"& [data-sanity-icon]":{fontSize:`calc(${n} / 16 * 1rem)`,margin:z((l-n)/2)}}})(d[e]||u))]:(C.warned||(console.warn("No size specified for responsive font",{fontKey:e,$size:o,props:t,base:f}),C.warned=!0),[f])}function E(e){let{media:t}=(0,l.aQ)(e.theme);return j(t,e.$align,e=>({textAlign:e}))}function N(e,t){let o;let r=(0,n.c)(3);r[0]!==t||r[1]!==e?(o=()=>[S(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,c]=a,s=JSON.stringify(e??t);return s!==c&&d([S(e,t),s]),l}function I(e,t,o){let r,a,d;let l=(0,n.c)(9),c=void 0===t?_:t;l[0]!==o||l[1]!==c||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)){for(let e of c().flat())if(e&&(r===e||e.contains(r)))return;e(t)}},l[0]=o,l[1]=c,l[2]=e,l[3]=r):r=l[3];let s=(0,v.i)(r),u=!!e;l[4]!==u||l[5]!==s?(a=()=>
1{if(!u)return;let e=e=>s(e);return document.addEventListener("mousedown",e),()=>{document.removeEventListener("mousedown",e)}},l[4]=u,l[5]=s,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")}function _(){return x}function M(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 L="u">typeof document&&"u">typeof window&&window.ResizeObserver?window.ResizeObserver:m.do,T=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 L(([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 F(e){let t,o;let r=(0,n.c)(3),[a,d]=(0,i.useState)(null);return r[0]!==e?(t=()=>{if(e)return T.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}function O(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,v.i)(t);a[2]!==d?(o=()=>{let e=e=>d(e);return window.addEventListener("keydown",e),()=>window.removeEventListener("keydown",e)},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)}function A(e,t){let{subscribe:o,getSnapshot:r}=(0,i.useMemo)(()=>{let t;let o=()=>(t||(t=window.matchMedia(e)),t);return{subscribe:e=>{let t=o();return t.addEventListener("change",e),()=>t.removeEventListener("change",e)},getSnapshot:()=>o().matches}},[e]);return(0,i.useDebugValue)(e),(0,i.useSyncExternalStore)(o,r,t)}let Q=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 B(e,t){let o=Symbol.for(e);return typeof document>"u"?(0,i.createContext)(t):(Q[o]=Q[o]||(0,i.createContext)(t),Q[o])}let P=B("@sanity/ui/context/theme",null);function H(e){let t,o,l,c;let s=(0,n.c)(15),u=(0,i.useContext)(P),{children:f}=e,p=e.scheme??(u?.scheme||"light"),h=e.theme??(u?.theme||null),g=e.tone??(u?.tone||"default");e:{let e;if(!h){t=null;break e}s[0]!==h||s[1]!==p||s[2]!==g?(e={version:0,theme:h,scheme:p,tone:g},s[0]=h,s[1]=p,s[2]=g,s[3]=e):e=s[3],t=e}let m=t;t:{let e;if(!h){o=null;break t}s[4]!==h||s[5]!==p||s[6]!==g?(e=(0,d.BA)(h,p,g),s[4]=h,s[5]=p,s[6]=g,s[7]=e):e=s[7],o=e}let b=o;if(!b){let e;return s[8]===Symbol.for("react.memo_cache_sentinel")?(e=(0,r.jsx)("pre",{children:'ThemeProvider: no "theme" property provided'}),s[8]=e):e=s[8],e}return s[9]!==f||s[10]!==b?(l=(0,r.jsx)(a.f6,{theme:b,children:f}),s[9]=f,s[10]=b,s[11]=l):l=s[11],s[12]!==l||s[13]!==m?(c=(0,r.jsx)(P.Provider,{value:m,children:l}),s[12]=l,s[13]=m,s[14]=c):c=s[14],c}function D(){let e=(0,i.useContext)(P);if(!e)throw Error("useRootTheme(): missing context value");return e}function V(e){let t;let o=(0,n.c)(5),{children:i,scheme:a,tone:d}=e,l=D(),c=a||l.scheme;return o[0]!==i||o[1]!==l.theme||o[2]!==c||o[3]!==d?(t=(0,r.jsx)(H,{scheme:c,theme:l.theme,tone:d,children:i}),o[0]=i,o[1]=l.theme,o[2]=c,o[3]=d,o[4]=t):t=o[4],t}function W(){return(0,a.Fg)()}function G(){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 X(){return 0}function Y(){let e,t;let o=(0,n.c)(2),{media:r}=G();return o[0]!==r?(t=function(e){let t;let o=e.length,r=()=>{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 r())if(t.matches)return e;return 0},subscribe:e=>{let t=[];for(let{mq:o}of r()){let r=()=>{o.matches&&e()};
1o.addEventListener("change",r),t.push(()=>o.removeEventListener("change",r))}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,X)}function q(e){return A("(prefers-color-scheme: dark)",void 0===e?K:e)}function K(){return!1}function Z(e){return A("(prefers-reduced-motion: reduce)",void 0===e?U:e)}function U(){return!1}function J(e){let{card:t,media:o}=(0,l.aQ)(e.theme),r=`${t.border?.width??1}px solid var(--card-border-color)`;return j(o,e.$border,e=>e?{"&&":{border:r}}:{"&&":{border:0}})}function ee(e){let{card:t,media:o}=(0,l.aQ)(e.theme),r=`${t.border?.width??1}px solid var(--card-border-color)`;return j(o,e.$borderTop,e=>e?{"&&":{borderTop:r}}:{"&&":{borderTop:0}})}function et(e){let{card:t,media:o}=(0,l.aQ)(e.theme),r=`${t.border?.width??1}px solid var(--card-border-color)`;return j(o,e.$borderRight,e=>e?{"&&":{borderRight:r}}:{"&&":{borderRight:0}})}function eo(e){let{card:t,media:o}=(0,l.aQ)(e.theme),r=`${t.border?.width??1}px solid var(--card-border-color)`;return j(o,e.$borderBottom,e=>e?{"&&":{borderBottom:r}}:{"&&":{borderBottom:0}})}function er(e){let{card:t,media:o}=(0,l.aQ)(e.theme),r=`${t.border?.width??1}px solid var(--card-border-color)`;return j(o,e.$borderLeft,e=>e?{"&&":{borderLeft:r}}:{"&&":{borderLeft:0}})}H.displayName="ThemeProvider",V.displayName="ThemeColorProvider";let en={'&[data-as="ul"],&[data-as="ol"]':{listStyle:"none"}},ei={content:"content-box",border:"border-box"},ea={stretch:"stretch",fill:"100%"};function ed(e){let{media:t}=(0,l.aQ)(e.theme);return j(t,e.$display,e=>({"&:not([hidden])":{display:e}}))}function el(e){let{media:t}=(0,l.aQ)(e.theme);return j(t,e.$sizing,e=>({boxSizing:ei[e]}))}function ec(e){let{media:t}=(0,l.aQ)(e.theme);return j(t,e.$height,e=>({height:ea[e]}))}function es(e){let{media:t}=(0,l.aQ)(e.theme);return j(t,e.$overflow,e=>({overflow:e}))}let eu={"&&:not([hidden])":{display:"flex"}};function ef(e){let{media:t}=(0,l.aQ)(e.theme);return j(t,e.$align,e=>({alignItems:e}))}function ep(e){let{media:t,space:o}=(0,l.aQ)(e.theme);return j(t,e.$gap,e=>({gap:e?z(o[e]):void 0}))}function eh(e){let{media:t}=(0,l.aQ)(e.theme);return j(t,e.$wrap,e=>({flexWrap:e}))}function eg(e){let{media:t}=(0,l.aQ)(e.theme);return j(t,e.$justify,e=>({justifyContent:e}))}function em(e){let{media:t}=(0,l.aQ)(e.theme);return j(t,e.$direction,e=>({flexDirection:e}))}let eb={minWidth:0,minHeight:0};function ev(){return[eb,ew]}function ew(e){let{media:t}=(0,l.aQ)(e.theme);return e.$flex?j(t,e.$flex,e=>({flex:e})):x}function ey(e){return`inset 0 0 0 ${e.width}px ${e.color}`}function ex(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&&ey(o),i<0&&`0 0 0 ${0-i}px ${a}`,n>0&&`0 0 0 ${n}px var(--card-focus-ring-color)`].filter(Boolean).join(",")}let e$={"&&:not([hidden])":{display:"grid"},'&[data-as="ul"],&[data-as="ol"]':{listStyle:"none"}},ek={auto:"auto",min:"min-content",max:"max-content",fr:"minmax(0, 1fr)"},ez={auto:"auto",min:"min-content",max:"max-content",fr:"minmax(0, 1fr)"};function ej(e){let{media:t}=(0,l.aQ)(e.theme);return j(t,e.$autoFlow,e=>({gridAutoFlow:e}))}function eS(e){let{media:t}=(0,l.aQ)(e.theme);return j(t,e.$autoRows,e=>({gridAutoRows:e&&ez[e]}))}function eR(e){let{media:t}=(0,l.aQ)(e.theme);return j(t,e.$autoCols,e=>({gridAutoColumns:e&&ek[e]}))}function eC(e){let{media:t}=(0,l.aQ)(e.theme);return j(t,e.$columns,e=>({gridTemplateColumns:e&&`repeat(${e},minmax(0,1fr));`}))}function eE(e){let{media:t}=(0,l.aQ)(e.theme);return j(t,e.$rows,e=>({gridTemplateRows:e&&`repeat(${e},minmax(0,1fr));`}))}function eN(e){let{media:t,space:o}=(0,l.aQ)(e.theme);return j(t,e.$gap,e=>({gridGap:e?z(o[e]):void 0}))}function eI(e){let{media:t,space:o}=(0,l.aQ)(e.theme);return j(t,e.$gapX,e=>({columnGap:e?z(o[e]):void 0}))}function e_(e){let{media:t,space:o}=(0,l.aQ)(e.theme);return j(t,e.$gapY,e=>({rowGap:e?z(o[e]):void 0}))}let eM={auto:"auto",full:"1 / -1"},eL={auto:"auto",full:"1 / -1"};function eT(e){let{media:t}=(0,l.aQ)(e.theme);return j(t,e.$row,e=>"number"==typeof e?{gridRow:`span ${e} / span ${e}`}
1:{gridRow:eM[e]})}function eF(e){let{media:t}=(0,l.aQ)(e.theme);return j(t,e.$rowStart,e=>({gridRowStart:e}))}function eO(e){let{media:t}=(0,l.aQ)(e.theme);return j(t,e.$rowEnd,e=>({gridRowEnd:e}))}function eA(e){let{media:t}=(0,l.aQ)(e.theme);return j(t,e.$column,e=>"number"==typeof e?{gridColumn:`span ${e} / span ${e}`}:{gridColumn:eL[e]})}function eQ(e){let{media:t}=(0,l.aQ)(e.theme);return j(t,e.$columnStart,e=>({gridColumnStart:e}))}function eB(e){let{media:t}=(0,l.aQ)(e.theme);return j(t,e.$columnEnd,e=>({gridColumnEnd:e}))}function eP(e){let{$fontSize:t,$iconLeft:o,$iconRight:r,$padding:n,$space:i}=e,{font:a,media:d,space:c}=(0,l.aQ)(e.theme),s=Math.max(n.length,i.length,t.length),u=[],f=[],p=[];for(let e=0;e<s;e+=1)p[e]=void 0===t[e]?p[e-1]:t[e],u[e]=void 0===n[e]?u[e-1]:n[e],f[e]=void 0===i[e]?f[e-1]:i[e];return j(d,u,(e,t)=>{let n=a.text.sizes[p[t]]||a.text.sizes[2],i=n.lineHeight-n.ascenderHeight-n.descenderHeight,d=c[u[t]],l=c[f[t]],s={paddingTop:z(d-n.ascenderHeight),paddingRight:z(d),paddingBottom:z(d-n.descenderHeight),paddingLeft:z(d)};return r&&(s.paddingRight=z(d+i+l)),o&&(s.paddingLeft=z(d+i+l)),s})}function eH(e){return eP({...e,$iconRight:!0})}let eD=(0,a.iv)` 2 &:not([hidden]) { 3 display: flex; 4 } 5 6 align-items: center; 7`;function eV(){return eD}function eW(e){let{$scheme:t,$tone:o,$weight:r}=e,{color:n,font:i}=(0,l.aQ)(e.theme);return(0,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 eG(e){let{font:t,media:o}=(0,l.aQ)(e.theme);return j(o,e.$fontSize,e=>{let o=t.text.sizes[e]||t.text.sizes[2];return{fontSize:z(o.fontSize),lineHeight:o.lineHeight/o.fontSize}})}function eX(e){let{$hasPrefix:t,$hasSuffix:o,$scheme:r,$tone:n,$unstableDisableFocusRing:i}=e,{color:d,input:c}=(0,l.aQ)(e.theme);return(0,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: ${ey({color:d.input.default.enabled.border,width:c.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: ${ey({color:d.input.invalid.enabled.border,width:c.border.width})}; 107 } 108 } 109 110 /* focused */ 111 *:not(:disabled):focus + & { 112 &[data-border] { 113 --input-box-shadow: ${i?void 0:ex({border:{color:d.input.default.enabled.border,width:c.border.width},focusRing:c.text.focusRing})}; 114 } 115 116 &:not([data-border]) { 117 --input-box-shadow: ${i?void 0:ex({focusRing:c.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: ${ey({color:d.input.default.disabled.border,width:c.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: ${ey({color:d.input.invalid.disabled.border,width:c.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: ${ey({color:d.input.default.hovered.border,width:c.border.width})}; 167 } 168 169 *:invalid:not(:disabled):not(:read-only):not(:focus):hover + &[data-border] { 170 --input-box-shadow: ${ey({color:d.input.invalid.hovered.border,width:c.border.width})}; 171 } 172 } 173 } 174 `}function eY(e){let{theme:t}=e;return[R(t,["padding"],e.$padding),R(t,["paddingLeft","paddingRight"],e.$paddingX),R(t,["paddingTop","paddingBottom"],e.$paddingY),R(t,["paddingTop"],e.$paddingTop),R(t,["paddingRight"],e.$paddingRight),R(t,["paddingBottom"],e.$paddingBottom),R(t,["paddingLeft"],e.$paddingLeft)].filter(Boolean)}function eq(e){let{media:t,radius:o}=(0,l.aQ)(e.theme);return j(t,e.$radius,e=>{let t=0;return"number"==typeof e&&(t=z(o[e])),"full"===e&&(t="9999px"),{borderRadius:t}})}function eK(e,t){return`${e.map(z).join(" ")} ${t}`}let eZ=a.zo.span.withConfig({displayName:"SpanWithTextOverflow",componentId:"sc-ol2i3b-0"})`display:block;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;overflow:clip;`,eU=a.zo.div.withConfig({displayName:"StyledLabel",componentId:"sc-1luap7z-0"})(function(e){return C("label",e)},E,function(e){let{$accent:t,$muted:o}=e,{font:r}=(0,l.aQ)(e.theme);return(0,a.iv)` 175 text-transform: uppercase; 176 177 ${t&&(0,a.iv)` 178 color: var(--card-accent-fg-color); 179 `} 180 181 ${o&&(0,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 `}),eJ=(0,i.forwardRef)(function(e,t){let o,i,a,d,l,c,s,u,f;let p=(0,n.c)(22);p[0]!==e?({accent:o,align:i,children:a,muted:l,size:c,textOverflow:s,weight:u,...d}=e,p[0]=e,p[1]=o,p[2]=i,p[3]=a,p[4]=d,p[5]=l,p[6]=c,p[7]=s,p[8]=u):(o=p[1],i=p[2],a=p[3],d=p[4],l=p[5],c=p[6],s=p[7],u=p[8]);let h=void 0!==l&&l,g=void 0===c?2:c,m=a;if("ellipsis"===s){let e;p[9]!==m?(e=(0,r.jsx)(eZ,{children:m}),p[9]=m,p[10]=e):e=p[10],m=e}else{let e;p[11]!==m?(e=(0,r.jsx)("span",{children:m}),p[11]=m,p[12]=e):e=p[12],m=e}let b=N(i),v=N(g);
204return p[13]!==o||p[14]!==m||p[15]!==h||p[16]!==t||p[17]!==d||p[18]!==b||p[19]!==v||p[20]!==u?(f=(0,r.jsx)(eU,{"data-ui":"Label",...d,$accent:o,$align:b,$muted:h,$size:v,$weight:u,ref:t,children:m}),p[13]=o,p[14]=m,p[15]=h,p[16]=t,p[17]=d,p[18]=b,p[19]=v,p[20]=u,p[21]=f):f=p[21],f});eJ.displayName="ForwardRef(Label)";let e0=a.zo.div.withConfig({displayName:"StyledAvatar",componentId:"sc-1rj7kl0-0"})(function(e){let{avatar:t,media:o}=(0,l.aQ)(e.theme);return j(o,e.$size,e=>{let o=t.sizes[e]||t.sizes[0];return{width:z(o.size),height:z(o.size),borderRadius:z(o.size/2),"&>svg":{width:z(o.size),height:z(o.size),borderRadius:z(o.size/2)}}})},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:ex({focusRing:o.focusRing})},"&:focus:not(:focus-visible)":{boxShadow:"none"}}}}),e1=a.zo.div.withConfig({displayName:"Arrow",componentId:"sc-1rj7kl0-1"})(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)"}}}),e2=a.zo.ellipse.withConfig({displayName:"BgStroke",componentId:"sc-1rj7kl0-2"})(function(){return{strokeWidth:"4px",stroke:"var(--card-bg-color)"}}),e3=a.zo.ellipse.withConfig({displayName:"Stroke",componentId:"sc-1rj7kl0-3"})(function(){return{strokeWidth:"2px",stroke:"var(--avatar-bg-color)",'[data-status="editing"] &':{strokeDasharray:"2 4",strokeLinecap:"round"}}}),e4=a.zo.div.withConfig({displayName:"Initials",componentId:"sc-1rj7kl0-4"})(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"}}}),e5=(0,a.zo)(eJ).withConfig({displayName:"InitialsLabel",componentId:"sc-1rj7kl0-5"})({color:"inherit"}),e6=a.zo.svg.withConfig({displayName:"AvatarImage",componentId:"sc-1rj7kl0-6"})(function(){return{position:"relative"}}),e7=(0,i.forwardRef)(function(e,t){let o,a,d,l,s,u,f,p,h,g,m,b,v,w,y,x,$,k,z,j,S,R,C;let E=(0,n.c)(52);E[0]!==e?({__unstable_hideInnerStroke:o,as:l,color:h,src:p,title:b,initials:s,onImageLoadError:u,arrowPosition:d,animateArrowFrom:a,status:g,size:m,...f}=e,E[0]=e,E[1]=o,E[2]=a,E[3]=d,E[4]=l,E[5]=s,E[6]=u,E[7]=f,E[8]=p,E[9]=h,E[10]=g,E[11]=m,E[12]=b):(o=E[1],a=E[2],d=E[3],l=E[4],s=E[5],u=E[6],f=E[7],p=E[8],h=E[9],g=E[10],m=E[11],b=E[12]);let I=void 0===h?"gray":h,_=void 0===g?"online":g,M=void 0===m?1:m,{avatar:L}=G(),T=c.isValidElementType(l)?l:"div",F=N(M),O=(L.sizes[F[0]]||L.sizes[0]).size,A=O/2,Q=(0,i.useId)(),[B,P]=(0,i.useState)(a||d||"inside"),[H,D]=(0,i.useState)(!1),V=`avatar-image-${Q}`;E[13]!==B||E[14]!==d?(v=()=>{if(B===d)return;let e=requestAnimationFrame(()=>P(d));return()=>cancelAnimationFrame(e)},w=[B,d],E[13]=B,E[14]=d,E[15]=v,E[16]=w):(v=E[15],w=E[16]),(0,i.useEffect)(v,w),E[17]!==p?(y=()=>{p&&D(!1)},x=[p],E[17]=p,E[18]=y,E[19]=x):(y=E[18],x=E[19]),(0,i.useEffect)(y,x),E[20]!==u?($=()=>{D(!0),u&&u(Error("Avatar: the image failed to load"))},E[20]=u,E[21]=$):$=E[21];let W=$;E[22]!==F?(z=F.map(e8),E[22]=F,E[23]=z):z=E[23],k=z;let X="string"==typeof T?T:void 0;return E[24]!==I?(j=(0,r.jsx)(e1,{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})})}),E[24]=I,E[25]=j):j=E[25],E[26]!==o||E[27]!==A||E[28]!==O||E[29]!==W||E[30]!==H||E[31]!==V||E[32]!==p?(S=!H&&p&&(0,r.jsxs)(e6,{viewBox:`0 0 ${O} ${O}`,fill:"none",children:[(0,r.jsx)("defs",{children:(0,r.jsx)("pattern",{id:V,patternContentUnits:"objectBoundingBox",width:"1",height:"1",children:(0,r.jsx)("image",{href:p,width:"1",height:"1",onError:W})})}),(0,r.jsx)("circle",{cx:A,cy:A,r:A,fill:`url(#${V})`}),!o&&(0,r.jsx)(e2,{cx:A,cy:A,rx:A,ry:A,vectorEffect:"non-scaling-stroke"}),(0,r.jsx)(e3,{cx:A,cy:A,rx:A,ry:A,vectorEffect:"non-scaling-stroke"})]}),E[26]=o,E[27]=A,E[28]=O,E[29]=W,E[30]=H,E[31]=V,E[32]=p,E[33]=S):S=E[33],E[34]!==H||E[35]!==s||E[36]!==k||E[37]!==p?(R=(H||!p)&&s&&(0,r.jsx)(r.Fragment,{children:(0,r.jsx)(e4,{children:(0,r.jsx)(e5,{forwardedAs:"span",size:k,weight:"medium",children:s})})}),E[34]=H,E[35]=s,E[36]=k,E[37]=p,E[38]=R):R=E[38],E[39]!==B||E[40]!==T||E[41]!==I||E[42]!==t||E[43]!==f||E[44]!==F||E[45]!==_||E[46]!==X||E[47]!==j||E[48]!==S||E[49]!==R||E[50]!==b?(C=(0,r.jsxs)(e0,{as:T,"data-as":X,"data-ui":"Avatar",...f,$color:I,$size:F,"aria-label":b,"data-arrow-position":B,"data-status":_,ref:t,title:b,children:[j,S,R]}),E[39]=B,E[40]=T,E[41]=I,E[42]=t,E[43]=f,E[44]=F,E[45]=_,E[46]=X,E[47]=j,E[48]=S,E[49]=R,E[50]=b,E[51]=C):C=E[51],C});function e8(e){return 1===e?1:2===e?3:3===e?5:0}e7.displayName="ForwardRef(Avatar)";let e9=a.zo.div.withConfig({displayName:"StyledAvatarCounter",componentId:"sc-1ydx86y-0"})(function(e){let{avatar:t,media:o}=(0,l.aQ)(e.theme);return j(o,e.$size,e=>{let o=t.sizes[e];return o?{borderRadius:z(o.size/2),minWidth:z(o.size),height:z(o.size)}:$})},function(e){let{space:t}=(0,l.aQ)(e.theme);return(0,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 ${z(t[2])}; 216 217 &:not([hidden]) { 218 display: flex; 219 } 220 `}),te=(0,i.forwardRef)(function(e,t){let o,i,a,d;let l=(0,n.c)(9),{count:c,size:s}=e,u=N(void 0===s?1:s);return l[0]!==u?(i=u.map(tt),l[0]=u,l[1]=i):i=l[1],o=i,l[2]!==c||l[3]!==o?(a=(0,r.jsx)(eJ,{as:"span",size:o,weight:"medium",children:c}),l[2]=c,l[3]=o,l[4]=a):a=l[4],l[5]!==t||l[6]!==u||l[7]!==a?(d=(0,r.jsx)(e9,{$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 tt(e){return 1===e?1:2===e?3:3===e?5:0}te.displayName="ForwardRef(AvatarCounter)";let to=(0,a.iv)` 221 white-space: nowrap; 222 223 & > div { 224 vertical-align: top; 225 226 &:not([hidden]) { 227 display: inline-block; 228 } 229 } 230`,tr=a.zo.div.withConfig({displayName:"StyledAvatarStack",componentId:"sc-cysmbb-0"})(function(e){let{avatar:t,media:o}=(0,l.aQ)(e.theme);return j(o,e.$size,e=>{let o=t.sizes[e];return o?{"& > div + div":{marginLeft:z(o.distance)}}:$})},function(){return to}),tn=(0,i.forwardRef)(function(e,t){let o,a,d,l,c,s;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 f=void 0===d?4:d,p=void 0===l?1:l,h=i.Children.toArray(o).filter(i.isValidElement),g=N(p),m=h.length,b=m-(Math.max(f,0)-1),v=b>1?h.slice(b,m):h,w=0===m&&(0,r.jsx)("div",{children:(0,r.jsx)(te,{count:m,size:g})}),y=0!==m&&b>1&&(0,r.jsx)("div",{children:(0,r.jsx)(te,{count:b,size:g})});u[5]!==g?(c=(e,t)=>(0,r.jsx)("div",{children:(0,i.cloneElement)(e,{size:g})},String(t)),u[5]=g,u[6]=c):c=u[6];let x=v.map(c);return u[7]!==tr||u[8]!==t||u[9]!==a||u[10]!==g||u[11]!==w||u[12]!==y||u[13]!==x?(s=(0,r.jsxs)(tr,{"data-ui":"AvatarStack",...a,ref:t,$size:g,children:[w,y,x]}),u[7]=tr,u[8]=t,u[9]=a,u[10]=g,u[11]=w,u[12]=y,u[13]=x,u[14]=s):s=u[14],s});tn.displayName="ForwardRef(AvatarStack)";let ti=a.zo.div.withConfig({displayName:"StyledBox",componentId:"sc-1hhky9f-0"})(function(){return en},ev,function(){return[el,ec,es,ed]},function(){return[eT,eF,eO,eA,eQ,eB]},function(e){let{theme:t}=e;return[R(t,["margin"],e.$margin),R(t,["marginLeft","marginRight"],e.$marginX),R(t,["marginTop","marginBottom"],e.$marginY),R(t,["marginTop"],e.$marginTop),R(t,["marginRight"],e.$marginRight),R(t,["marginBottom"],e.$marginBottom),R(t,["marginLeft"],e.$marginLeft)].filter(
230Boolean)},eY),ta=(0,i.forwardRef)(function(e,t){let o,i,a,d,l,c,s,u,f,p,h,g,m,b,v,w,y,x,$,k,z,j,S,R,C,E,I,_;let M=(0,n.c)(59);M[0]!==e?({as:R,column:o,columnStart:a,columnEnd:i,display:C,flex:d,height:l,margin:E,marginX:p,marginY:h,marginTop:f,marginRight:u,marginBottom:c,marginLeft:s,overflow:g,padding:I,paddingX:y,paddingY:x,paddingTop:w,paddingRight:v,paddingBottom:m,paddingLeft:b,row:k,rowStart:j,rowEnd:z,sizing:S,...$}=e,M[0]=e,M[1]=o,M[2]=i,M[3]=a,M[4]=d,M[5]=l,M[6]=c,M[7]=s,M[8]=u,M[9]=f,M[10]=p,M[11]=h,M[12]=g,M[13]=m,M[14]=b,M[15]=v,M[16]=w,M[17]=y,M[18]=x,M[19]=$,M[20]=k,M[21]=z,M[22]=j,M[23]=S,M[24]=R,M[25]=C,M[26]=E,M[27]=I):(o=M[1],i=M[2],a=M[3],d=M[4],l=M[5],c=M[6],s=M[7],u=M[8],f=M[9],p=M[10],h=M[11],g=M[12],m=M[13],b=M[14],v=M[15],w=M[16],y=M[17],x=M[18],$=M[19],k=M[20],z=M[21],j=M[22],S=M[23],R=M[24],C=M[25],E=M[26],I=M[27]);let L=void 0===R?"div":R,T=void 0===C?"block":C,F=void 0===E?0:E,O=void 0===I?0:I,A="string"==typeof L?L:void 0,Q=N(o),B=N(a),P=N(i),H=N(T),D=N(d),V=N(l),W=N(F),G=N(p),X=N(h),Y=N(f),q=N(u),K=N(c),Z=N(s),U=N(g),J=N(O),ee=N(y),et=N(x),eo=N(w),er=N(v),en=N(m),ei=N(b),ea=N(k),ed=N(j),el=N(z),ec=N(S);return M[28]!==L||M[29]!==e.children||M[30]!==t||M[31]!==$||M[32]!==V||M[33]!==W||M[34]!==G||M[35]!==X||M[36]!==Y||M[37]!==q||M[38]!==K||M[39]!==Z||M[40]!==U||M[41]!==J||M[42]!==ee||M[43]!==et||M[44]!==eo||M[45]!==er||M[46]!==en||M[47]!==ei||M[48]!==ea||M[49]!==ed||M[50]!==el||M[51]!==ec||M[52]!==A||M[53]!==Q||M[54]!==B||M[55]!==P||M[56]!==H||M[57]!==D?(_=(0,r.jsx)(ti,{"data-as":A,"data-ui":"Box",...$,$column:Q,$columnStart:B,$columnEnd:P,$display:H,$flex:D,$height:V,$margin:W,$marginX:G,$marginY:X,$marginTop:Y,$marginRight:q,$marginBottom:K,$marginLeft:Z,$overflow:U,$padding:J,$paddingX:ee,$paddingY:et,$paddingTop:eo,$paddingRight:er,$paddingBottom:en,$paddingLeft:ei,$row:ea,$rowStart:ed,$rowEnd:el,$sizing:ec,as:L,ref:t,children:e.children}),M[28]=L,M[29]=e.children,M[30]=t,M[31]=$,M[32]=V,M[33]=W,M[34]=G,M[35]=X,M[36]=Y,M[37]=q,M[38]=K,M[39]=Z,M[40]=U,M[41]=J,M[42]=ee,M[43]=et,M[44]=eo,M[45]=er,M[46]=en,M[47]=ei,M[48]=ea,M[49]=ed,M[50]=el,M[51]=ec,M[52]=A,M[53]=Q,M[54]=B,M[55]=P,M[56]=H,M[57]=D,M[58]=_):_=M[58],_});ta.displayName="ForwardRef(Box)";let td=a.zo.div.withConfig({displayName:"StyledText",componentId:"sc-11ov82j-0"})(function(e){return C("text",e)},E,function(e){let{$accent:t,$muted:o}=e,{font:r}=(0,l.aQ)(e.theme);return(0,a.iv)` 231 color: var(--card-fg-color); 232 233 ${t&&(0,a.iv)` 234 color: var(--card-accent-fg-color); 235 `} 236 237 ${o&&(0,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 `}),tl=(0,i.forwardRef)(function(e,t){let o,i,a,d,l,c,s,u,f,p;let h=(0,n.c)(22);h[0]!==e?({accent:d,align:o,children:i,muted:l,size:c,textOverflow:s,weight:u,...a}=e,h[0]=e,h[1]=o,h[2]=i,h[3]=a,h[4]=d,h[5]=l,h[6]=c,h[7]=s,h[8]=u):(o=h[1],i=h[2],a=h[3],d=h[4],l=h[5],c=h[6],s=h[7],u=h[8]);let g=void 0!==d&&d,m=void 0!==l&&l,b=void 0===c?2:c,v=i;if("ellipsis"===s){let e;h[9]!==v?(e=(0,r.jsx)(eZ,{children:v}),h[9]=v,h[10]=e):e=h[10],v=e}let w=N(o),y=N(b);return h[11]!==v?(f=(0,r.jsx)("span",{children:v}),h[11]=v,h[12]=f):f=h[12],h[13]!==g||h[14]!==m||h[15]!==t||h[16]!==a||h[17]!==w||h[18]!==y||h[19]!==f||h[20]!==u?(p=(0,r.jsx)(td,{"data-ui":"Text",...a,$accent:g,$align:w,$muted:m,ref:t,$size:y,$weight:u,children:f}),h[13]=g,h[14]=m,h[15]=t,h[16]=a,h[17]=w,h[18]=y,h[19]=f,h[20]=u,h[21]=p):p=h[21],p});tl.displayName="ForwardRef(Text)";let tc=(0,a.zo)(ta).withConfig({displayName:"StyledBadge",componentId:"sc-5u140l-0"}
289)(eq,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"}}}),ts=(0,i.forwardRef)(function(e,t){let o,i,a,d,l,c,s,u;let f=(0,n.c)(17);if(f[0]!==e){let{children:t,fontSize:r,mode:n,padding:s,radius:u,tone:p,...h}=e;o=t,a=r,d=s,l=u,c=p,i=h,f[0]=e,f[1]=o,f[2]=i,f[3]=a,f[4]=d,f[5]=l,f[6]=c}else o=f[1],i=f[2],a=f[3],d=f[4],l=f[5],c=f[6];let p=void 0===a?1:a,h=void 0===d?1:d,g=void 0===c?"default":c,m=N(void 0===l?"full":l),b=N(h);return f[7]!==o||f[8]!==p?(s=(0,r.jsx)(tl,{size:p,children:o}),f[7]=o,f[8]=p,f[9]=s):s=f[9],f[10]!==t||f[11]!==i||f[12]!==m||f[13]!==b||f[14]!==s||f[15]!==g?(u=(0,r.jsx)(tc,{"data-ui":"Badge",...i,$tone:g,$radius:m,padding:b,ref:t,children:s}),f[10]=t,f[11]=i,f[12]=m,f[13]=b,f[14]=s,f[15]=g,f[16]=u):u=f[16],u});ts.displayName="ForwardRef(Badge)";let tu=(0,a.zo)(ta).withConfig({displayName:"StyledFlex",componentId:"sc-oxesg3-0"})(ev,function(){return[eu,ef,ep,eh,eg,em]}),tf=(0,i.forwardRef)(function(e,t){let o,i,a,d,l,c,s,u;let f=(0,n.c)(17);f[0]!==e?({align:o,as:i,direction:c,gap:a,justify:d,wrap:s,...l}=e,f[0]=e,f[1]=o,f[2]=i,f[3]=a,f[4]=d,f[5]=l,f[6]=c,f[7]=s):(o=f[1],i=f[2],a=f[3],d=f[4],l=f[5],c=f[6],s=f[7]);let p=void 0===c?"row":c,h=N(o),g=N(p),m=N(a),b=N(d),v=N(s);return f[8]!==i||f[9]!==t||f[10]!==l||f[11]!==h||f[12]!==g||f[13]!==m||f[14]!==b||f[15]!==v?(u=(0,r.jsx)(tu,{"data-ui":"Flex",...l,$align:h,$direction:g,$gap:m,$justify:b,$wrap:v,forwardedAs:i,ref:t}),f[8]=i,f[9]=t,f[10]=l,f[11]=h,f[12]=g,f[13]=m,f[14]=b,f[15]=v,f[16]=u):u=f[16],u});tf.displayName="ForwardRef(Flex)";let tp=(0,a.F4)` 290 from { 291 transform: rotate(0deg); 292 } 293 294 to { 295 transform: rotate(360deg); 296 } 297`,th=(0,a.zo)(tl).withConfig({displayName:"StyledSpinner",componentId:"sc-124hnd0-0"})`& > span > svg{animation:${tp} 500ms linear infinite;}`,tg=(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)(u.L4p,{}),a[0]=o):o=a[0],a[1]!==e||a[2]!==t?(i=(0,r.jsx)(th,{"data-ui":"Spinner",...e,ref:t,children:o}),a[1]=e,a[2]=t,a[3]=i):i=a[3],i});function tm(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 tb(...e){return e.filter(Boolean).join(",")}
297tg.displayName="ForwardRef(Spinner)";let tv=a.zo.button.withConfig({displayName:"StyledButton",componentId:"sc-aaekt4-0"})(eq,function(e){let{$width:t}=e,{style:o}=(0,l.aQ)(e.theme);return(0,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&&(0,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,c={width:o.border.width,color:"var(--card-border-color)"},s=void 0;return[tm(r,d.enabled),{backgroundColor:"var(--card-bg-color)",color:"var(--card-fg-color)",boxShadow:ey(c),'&:disabled, &[data-disabled="true"]':tm(r,d.disabled),"&:not([data-disabled='true'])":{boxShadow:tb(ey(c),i?s:void 0),"&:focus":{boxShadow:ex({base:r,border:{width:2,color:r.bg},focusRing:o.focusRing})},"&:focus:not(:focus-visible)":{boxShadow:tb(ey(c),i?s:void 0)},"@media (hover: hover)":{"&:hover":tm(r,d.hovered),"&:active":tm(r,d.pressed),"&[data-hovered]":tm(r,d.hovered)},"&[data-selected]":tm(r,d.pressed)}}
335,n?.button?.root].filter(Boolean)}),tw=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;`,ty=(0,i.forwardRef)(function(e,t){let o,a,d,l,c,u,f,p,h,g,m,b,v,w,y,x,$,k,z,j,S,R,C,E,I,_,M,L,T,F,O,A;let Q=(0,n.c)(66);Q[0]!==e?({children:d,disabled:l,fontSize:w,icon:o,iconRight:a,justify:y,loading:c,mode:x,padding:$,paddingX:g,paddingY:m,paddingTop:h,paddingBottom:u,paddingLeft:f,paddingRight:p,radius:k,selected:v,space:z,text:C,textAlign:E,textWeight:I,tone:j,type:S,muted:R,width:_,...b}=e,Q[0]=e,Q[1]=o,Q[2]=a,Q[3]=d,Q[4]=l,Q[5]=c,Q[6]=u,Q[7]=f,Q[8]=p,Q[9]=h,Q[10]=g,Q[11]=m,Q[12]=b,Q[13]=v,Q[14]=w,Q[15]=y,Q[16]=x,Q[17]=$,Q[18]=k,Q[19]=z,Q[20]=j,Q[21]=S,Q[22]=R,Q[23]=C,Q[24]=E,Q[25]=I,Q[26]=_):(o=Q[1],a=Q[2],d=Q[3],l=Q[4],c=Q[5],u=Q[6],f=Q[7],p=Q[8],h=Q[9],g=Q[10],m=Q[11],b=Q[12],v=Q[13],w=Q[14],y=Q[15],x=Q[16],$=Q[17],k=Q[18],z=Q[19],j=Q[20],S=Q[21],R=Q[22],C=Q[23],E=Q[24],I=Q[25],_=Q[26]);let B=void 0===w?1:w,P=void 0===y?"center":y,H=void 0===x?"default":x,D=void 0===$?3:$,V=void 0===k?2:k,W=void 0===z?3:z,X=void 0===j?"default":j,Y=void 0===S?"button":S,q=void 0!==R&&R,{button:K}=G(),Z=N(P),U=N(D),J=N(g),ee=N(m),et=N(h),eo=N(u),er=N(f),en=N(p),ei=N(V),ea=N(W);Q[27]!==U||Q[28]!==eo||Q[29]!==er||Q[30]!==en||Q[31]!==et||Q[32]!==J||Q[33]!==ee?(L={padding:U,paddingX:J,paddingY:ee,paddingTop:et,paddingBottom:eo,paddingLeft:er,paddingRight:en},Q[27]=U,Q[28]=eo,Q[29]=er,Q[30]=en,Q[31]=et,Q[32]=J,Q[33]=ee,Q[34]=L):L=Q[34],M=L;let ed=!!(c||l),el=v?"":void 0,ec=!!(c||l);return Q[35]!==c?(T=!!c&&(0,r.jsx)(tw,{children:(0,r.jsx)(tg,{})}),Q[35]=c,Q[36]=T):T=Q[36],Q[37]!==o||Q[38]!==a||Q[39]!==M||Q[40]!==K||Q[41]!==B||Q[42]!==Z||Q[43]!==q||Q[44]!==ea||Q[45]!==C||Q[46]!==E||Q[47]!==I?(F=(o||C||a)&&(0,r.jsx)(ta,{as:"span",...M,children:(0,r.jsxs)(tf,{as:"span",justify:Z,gap:ea,children:[o&&(0,r.jsxs)(tl,{size:B,children:[(0,i.isValidElement)(o)&&o,(0,s.isValidElementType)(o)&&(0,r.jsx)(o,{})]}),C&&(0,r.jsx)(ta,{children:(0,r.jsx)(tl,{muted:q,align:E,size:B,textOverflow:"ellipsis",weight:I??K.textWeight,children:C})}),a&&(0,r.jsxs)(tl,{size:B,children:[(0,i.isValidElement)(a)&&a,(0,s.isValidElementType)(a)&&(0,r.jsx)(a,{})]})]})}),Q[37]=o,Q[38]=a,Q[39]=M,Q[40]=K,Q[41]=B,Q[42]=Z,Q[43]=q,Q[44]=ea,Q[45]=C,Q[46]=E,Q[47]=I,Q[48]=F):F=Q[48],Q[49]!==M||Q[50]!==d?(O=d&&(0,r.jsx)(ta,{as:"span",...M,children:d}),Q[49]=M,Q[50]=d,Q[51]=O):O=Q[51],Q[52]!==H||Q[53]!==ei||Q[54]!==t||Q[55]!==b||Q[56]!==ed||Q[57]!==el||Q[58]!==ec||Q[59]!==T||Q[60]!==F||Q[61]!==O||Q[62]!==X||Q[63]!==Y||Q[64]!==_?(A=(0,r.jsxs)(tv,{"data-ui":"Button",...b,$mode:H,$radius:ei,$tone
335:X,"data-disabled":ed,"data-selected":el,disabled:ec,ref:t,type:Y,$width:_,children:[T,F,O]}),Q[52]=H,Q[53]=ei,Q[54]=t,Q[55]=b,Q[56]=ed,Q[57]=el,Q[58]=ec,Q[59]=T,Q[60]=F,Q[61]=O,Q[62]=X,Q[63]=Y,Q[64]=_,Q[65]=A):A=Q[65],A});ty.displayName="ForwardRef(Button)";let tx=(0,a.zo)(ta).withConfig({displayName:"StyledCard",componentId:"sc-osnro2-0"})(function(){return[J,ee,et,eo,er]},eq,function(e){let{card:t,media:o,shadow:r}=(0,l.aQ)(e.theme);return j(o,e.$shadow,e=>(function(e,t=1){if(!e)return $;let o=`0 0 0 ${z(t)} var(--card-shadow-outline-color)`,r=eK(e.umbra,"var(--card-shadow-umbra-color)"),n=eK(e.penumbra,"var(--card-shadow-penumbra-color)"),i=eK(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(0,a.iv)` 336 ${t&&(0,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),c={width:n.border.width,color:"var(--card-border-color)"};return(0,a.iv)` 365 color-scheme: ${i._dark?"dark":"light"}; 366 367 ${tm(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 ${tm(i,i.selectable.default.disabled,t)} 381 } 382 383 &:not(:disabled) { 384 &[data-pressed] { 385 ${tm(i,i.selectable.default.pressed,t)} 386 } 387 388 &[data-selected] { 389 ${tm(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 ${tm(i,i.selectable.default.hovered,t)} 397 } 398 399 &:active { 400 ${tm(i,i.selectable.default.pressed,t)} 401 } 402 } 403 } 404 405 &:focus-visible { 406 --card-focus-ring-box-shadow: ${o?ex({base:i,border:c,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 ${tm(i,i.selectable.default.disabled,t)} 418 } 419 420 &:not([data-disabled]) { 421 &[data-pressed] { 422 ${tm(i,i.selectable.default.pressed,t)} 423 } 424 425 &[data-selected] { 426 ${tm(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 ${tm(i,i.selectable.default.hovered,t)} 434 } 435 436 &:active { 437 ${tm(i,i.selectable.default.pressed,t)} 438 } 439 } 440 } 441 442 &:focus-visible { 443 --card-focus-ring-box-shadow: ${o?ex({base:i,border:c,focusRing:n.focusRing}):void 0}; 444 } 445 } 446 } 447 448 ${d?.card?.root} 449 `}(e)]}),t$=(0,i.forwardRef)(function(e,t){let o,i,a,d,l,c,u,f,p,h,g,m,b,v,w,y,x,$;let k=(0,n.c)(42);k[0]!==e?({__unstable_checkered:b,__unstable_focusRing:v,as:o,border:i,borderTop:c,borderRight:l,borderBottom:a,borderLeft:d,muted:u,pressed:f,radius:w,scheme:h,selected:g,shadow:m,tone:y,...p}=e,k[0]=e,k[1]=o,k[2]=i,k[3]=a,k[4]=d,k[5]=l,k[6]=c,k[7]=u,k[8]=f,k[9]=p,k[10]=h,k[11]=g,k[12]=m,k[13]=b,k[14]=v,k[15]=w,k[16]=y):(o=k[1],i=k[2],a=k[3],d=k[4],l=k[5],c=k[6],u=k[7],f=k[8],p=k[9],h=k[10],g=k[11],m=k[12],b=k[13],v=k[14],w=k[15],y=k[16]);let z=void 0!==b&&b,j=void 0!==v&&v,S=void 0===w?0:w,R=void 0===y?"default":y,C=(0,s.isValidElementType)(o)?o:"div",E=D(),I="inherit"===R?E.tone:R,_="string"==typeof C?C:void 0,M=E.scheme,L=N(i),T=N(c),F=N(l),O=N(a),A=N(d),Q=N(S),B=N(m),P=z?"":void 0,H=f?"":void 0,W=g?"":void 0;return k[17]!==C||k[18]!==z||k[19]!==j||k[20]!==u||k[21]!==t||k[22]!==p||k[23]!==E.scheme||k[24]!==g||k[25]!==A||k[26]!==Q||k[27]!==B||k[28]!==P||k[29]!==H||k[30]!==W||k[31]!==_||k[32]!==L||k[33]!==T||k[34]!==F||k[35]!==O||k[36]!==I?(x=(0,r.jsx)(tx,{"data-as":_,"data-scheme":M,"data-ui":"Card","data-tone":I,...p,$border:L,$borderTop:T,$borderRight:F,$borderBottom:O,$borderLeft:A,$checkered:z,$focusRing:j,$muted:u,$radius:Q,$shadow:B,$tone:I,"data-checkered":P,"data-
449pressed":H,"data-selected":W,forwardedAs:C,ref:t,selected:g}),k[17]=C,k[18]=z,k[19]=j,k[20]=u,k[21]=t,k[22]=p,k[23]=E.scheme,k[24]=g,k[25]=A,k[26]=Q,k[27]=B,k[28]=P,k[29]=H,k[30]=W,k[31]=_,k[32]=L,k[33]=T,k[34]=F,k[35]=O,k[36]=I,k[37]=x):x=k[37],k[38]!==h||k[39]!==x||k[40]!==I?($=(0,r.jsx)(V,{scheme:h,tone:I,children:x}),k[38]=h,k[39]=x,k[40]=I,k[41]=$):$=k[41],$});t$.displayName="ForwardRef(Card)";let tk=a.zo.div.withConfig({displayName:"StyledCheckbox",componentId:"sc-1l5mt2l-0"})(function(){return(0,a.iv)` 450 position: relative; 451 display: inline-block; 452 `}),tz=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(0,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: ${z(o.checkbox.size)}; 468 width: ${z(o.checkbox.size)}; 469 box-sizing: border-box; 470 box-shadow: ${ey({color:t.input.default.enabled.border,width:o.border.width})}; 471 border-radius: ${z(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: ${ey({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: ${ex({focusRing:n})}; 498 } 499 500 /* focus when checked - uses a different offset */ 501 &:not(:disabled):focus:focus-visible&:checked + span { 502 box-shadow: ${ex({focusRing:{width:1,offset:1}})}; 503 } 504 505 &[data-error] + span { 506 background-color: ${t.input.invalid.enabled.border}; 507 box-shadow: ${ey({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: ${ex({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: ${ey({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: ${ey({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 `}),tj=(0,i.forwardRef)(function(e,t){let o,a,d,l,c,s,f,p,h,g,m,b,v,w;let y=(0,n.c)(25);y[0]!==e?({checked:o,className:a,disabled:l,indeterminate:c,customValidity:d,readOnly:s,style:p,...f}=e,y[0]=e,y[1]=o,y[2]=a,y[3]=d,y[4]=l,y[5]=c,y[6]=s,y[7]=f,y[8]=p):(o=y[1],a=y[2],d=y[3],l=y[4],c=y[5],s=y[6],f=y[7],p=y[8]);let x=(0,i.useRef)(null);y[9]===Symbol.for("react.memo_cache_sentinel")?(h=()=>x.current,y[9]=h):h=y[9],(0,i.useImperativeHandle)(t,h),y[10]!==c?(g=()=>{x.current&&(x.current.indeterminate=c||!1)},m=[c],y[10]=c,y[11]=g,y[12]=m):(g=y[11],m=y[12]),(0,i.useEffect)(g,m),M(x,d);let $=!l&&s?"":void 0,k=d?"":void 0,z=l||s;return y[13]!==o||y[14]!==s||y[15]!==f||y[16]!==$||y[17]!==k||y[18]!==z?(b=(0,r.jsx)(tz,{"data-read-only":$,"data-error":k,...f,checked:o,disabled:z,type:"checkbox",readOnly:s,ref:x}),y[13]=o,y[14]=s,y[15]=f,y[16]=$,y[17]=k,y[18]=z,y[19]=b):b=y[19],y[20]===Symbol.for("react.memo_cache_sentinel")?(v=(0,r.jsxs)("span",{children:[(0,r.jsx)(u.KML,{}),(0,r.jsx)(u.HFL,{})]}),y[20]=v):v=y[20],y[21]!==a||y[22]!==p||y[23]!==b?(w=(0,r.jsxs)(tk,{className:a,"data-ui":"Checkbox",style:p,children:[b,v]}),y[21]=a,y[22]=p,y[23]=b,y[24]=w):w=y[24],w});function tS({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}}}tj.displayName="ForwardRef(Checkbox)";let tR=(0,i.lazy)(()=>Promise.all([o.e(9271),o.e(3122)]).then(o.bind(o,3122))),tC=a.zo.pre.withConfig({displayName:"StyledCode",componentId:"sc-4dymyn-0"})(function(){return(0,a.iv)` 544 color: var(--card-code-fg-color); 545 546 & code { 547 font-family: inherit; 548 549 &.refractor .token { 550 ${tS} 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 C("code",e)}),tE=(0,i.forwardRef)(function(e,t){let o,a,d,l,c,s,u,f,p;let h=(0,n.c)(20);h[0]!==e?({children:o,language:a,size:l,weight:c,...d}=e,h[0]=e,h[1]=o,h[2]=a,h[3]=d,h[4]=l,h[5]=c):(o=h[1],a=h[2],d=h[3],l=h[4],c=h[5]);let g=N(void 0===l?2:l);return h[6]!==o?(s=(0,r.jsx)("code",{children:o}),h[6]=o,h[7]=s):s=h[7],h[8]!==o||h[9]!==a?(u=(0,r.jsx)(tR,{language:a,value:o}),h[8]=o,h[9]=a,h[10]=u):u=h[10],h[11]!==s||h[12]!==u?(f=(0,r.jsx)(i.Suspense,{fallback:s,children:u}),h[11]=s,h[12]=u,h[13]=f):f=h[13],h[14]!==t||h[15]!==d||h[16]!==g||h[17]!==f||h[18]!==c?(p=(0,r.jsx)(tC,{"data-ui":"Code",...d,$size:g,$weight:c,ref:t,children:f}),h[14]=t,h[15]=d,h[16]=g,h[17]=f,h[18]=c,h[19]=p):p=h[19],p});tE.displayName="ForwardRef(Code)";let tN={width:"100%",margin:"0 auto"},tI=(0,a.zo)(ta).withConfig({displayName:"StyledContainer",componentId:"sc-wyroop-0"})(function(){return tN}
569,function(e){let{container:t,media:o}=(0,l.aQ)(e.theme);return j(o,e.$width,e=>({maxWidth:"auto"===e?"none":z(t[e])}))}),t_=(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 c=N(void 0===a?2:a);return l[4]!==o||l[5]!==t||l[6]!==i||l[7]!==c?(d=(0,r.jsx)(tI,{"data-ui":"Container",...i,$width:c,forwardedAs:o,ref:t}),l[4]=o,l[5]=t,l[6]=i,l[7]=c,l[8]=d):d=l[8],d});t_.displayName="ForwardRef(Container)";let tM=(0,a.zo)(ta).withConfig({displayName:"StyledGrid",componentId:"sc-v8t8oz-0"})(function(){return[e$,ej,eS,eR,eC,eE,eN,eI,e_]}),tL=(0,i.forwardRef)(function(e,t){let o,i,a,d,l,c,s,u,f,p,h,g;let m=(0,n.c)(26);m[0]!==e?({as:o,autoRows:d,autoCols:i,autoFlow:a,columns:c,gap:s,gapX:u,gapY:f,rows:h,children:l,...p}=e,m[0]=e,m[1]=o,m[2]=i,m[3]=a,m[4]=d,m[5]=l,m[6]=c,m[7]=s,m[8]=u,m[9]=f,m[10]=p,m[11]=h):(o=m[1],i=m[2],a=m[3],d=m[4],l=m[5],c=m[6],s=m[7],u=m[8],f=m[9],p=m[10],h=m[11]);let b="string"==typeof o?o:void 0,v=N(d),w=N(i),y=N(a),x=N(c),$=N(s),k=N(u),z=N(f),j=N(h);return m[12]!==o||m[13]!==l||m[14]!==t||m[15]!==p||m[16]!==b||m[17]!==v||m[18]!==w||m[19]!==y||m[20]!==x||m[21]!==$||m[22]!==k||m[23]!==z||m[24]!==j?(g=(0,r.jsx)(tM,{"data-as":b,"data-ui":"Grid",...p,$autoRows:v,$autoCols:w,$autoFlow:y,$columns:x,$gap:$,$gapX:k,$gapY:z,$rows:j,forwardedAs:o,ref:t,children:l}),m[12]=o,m[13]=l,m[14]=t,m[15]=p,m[16]=b,m[17]=v,m[18]=w,m[19]=y,m[20]=x,m[21]=$,m[22]=k,m[23]=z,m[24]=j,m[25]=g):g=m[25],g});tL.displayName="ForwardRef(Grid)";let tT=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(0,a.iv)` 570 ${t&&(0,a.iv)` 571 color: var(--card-accent-fg-color); 572 `} 573 574 ${o&&(0,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 `},E,function(e){return C("heading",e)}),tF=(0,i.forwardRef)(function(e,t){let o,i,a,d,l,c,s,u,f,p;let h=(0,n.c)(22);h[0]!==e?({accent:d,align:o,children:i,muted:l,size:c,textOverflow:s,weight:u,...a}=e,h[0]=e,h[1]=o,h[2]=i,h[3]=a,h[4]=d,h[5]=l,h[6]=c,h[7]=s,h[8]=u):(o=h[1],i=h[2],a=h[3],d=h[4],l=h[5],c=h[6],s=h[7],u=h[8]);let g=void 0!==d&&d,m=void 0!==l&&l,b=void 0===c?2:c,v=i;if("ellipsis"===s){let e;h[9]!==v?(e=(0,r.jsx)(eZ,{children:v}),h[9]=v,h[10]=e):e=h[10],v=e}let w=N(o),y=N(b);return h[11]!==v?(f=(0,r.jsx)("span",{children:v}),h[11]=v,h[12]=f):f=h[12],h[13]!==g||h[14]!==m||h[15]!==t||h[16]!==a||h[17]!==w||h[18]!==y||h[19]!==f||h[20]!==u?(p=(0,r.jsx)(tT,{"data-ui":"Heading",...a,$accent:g,$align:w,$muted:m,$size:y,$weight:u,ref:t,children:f}),h[13]=g,h[14]=m,h[15]=t,h[16]=a,h[17]=w,h[18]=y,h[19]=f,h[20]=u,h[21]=p):p=h[21],p});tF.displayName="ForwardRef(Heading)";let tO=(0,a.zo)(ta).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 j(t,e.$space,e=>{let t=z(.5===e?o[1]/2:o[e]);return{margin:`-${t} 0 0 -${t}`,"& > div":{padding:`${t} 0 0 ${t}`}}})}),tA=(0,i.forwardRef)(function(e,t){let o,a,d,l,c,s,u;let f=(0,n.c)(12);f[0]!==e?({as:o,children:a,space:l,...d}=e,f[0]=e,f[1]=o,f[2]=a,f[3]=d,f[4]=l):(o=f[1],a=f[2],d=f[3],l=f[4]),f[5]!==a?(s=i.Children.map(a,tQ),f[5]=a,f[6]=s):s=f[6],c=s;let p=N(l);return f[7]!==o||f[8]!==c||f[9]!==d||f[10]!==p?(u=(0,r.jsx)(tO,{"data-ui":"Inline",...d,$space:p,forwardedAs:o,ref:t,children:c}
619),f[7]=o,f[8]=c,f[9]=d,f[10]=p,f[11]=u):u=f[11],u});function tQ(e){return e&&(0,r.jsx)("div",{children:e})}tA.displayName="ForwardRef(Inline)";let tB=a.zo.kbd.withConfig({displayName:"StyledKBD",componentId:"sc-1w7yd8w-0"})(eq,function(){return(0,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 `}),tP=(0,i.forwardRef)(function(e,t){let o,i,a,d,l,c,s,u;let f=(0,n.c)(17);f[0]!==e?({children:o,fontSize:a,padding:d,radius:l,...i}=e,f[0]=e,f[1]=o,f[2]=i,f[3]=a,f[4]=d,f[5]=l):(o=f[1],i=f[2],a=f[3],d=f[4],l=f[5]);let p=void 0===a?0:a,h=void 0===d?1:d,g=N(void 0===l?2:l);return f[6]!==o||f[7]!==p?(c=(0,r.jsx)(tl,{as:"span",size:p,weight:"semibold",children:o}),f[6]=o,f[7]=p,f[8]=c):c=f[8],f[9]!==h||f[10]!==c?(s=(0,r.jsx)(ta,{as:"span",padding:h,children:c}),f[9]=h,f[10]=c,f[11]=s):s=f[11],f[12]!==t||f[13]!==i||f[14]!==g||f[15]!==s?(u=(0,r.jsx)(tB,{"data-ui":"KBD",...i,$radius:g,ref:t,children:s}),f[12]=t,f[13]=i,f[14]=g,f[15]=s,f[16]=u):u=f[16],u});tP.displayName="ForwardRef(KBD)";let tH={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{originX:l,originY:c}=["bottom","top"].includes(r)?{originX:tD(.5-a/n,0,1),originY:"bottom"===r?0:1}:{originX:"left"===r?1:0,originY:tD(.5-d/i,0,1)};return{data:{originX:l,originY:c}}}};function tD(e,t,o){return Math.min(Math.max(e,t),o)}function tV(e,t,o){let r=t.x-e.x,n=t.y-e.y;return tW(e,t,Math.min(1,o/Math.sqrt(r*r+n*n)))}function tW(e,t,o){return{x:e.x+(t.x-e.x)*o,y:e.y+(t.y-e.y)*o}}let tG=a.zo.div.withConfig({displayName:"StyledArrow",componentId:"sc-12vzy6c-0"})(({$w:e})=>(0,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 `),tX=a.zo.path.withConfig({displayName:"StrokePath",componentId:"sc-12vzy6c-1"})`stroke:var(--card-shadow-outline-color);`,tY=a.zo.path.withConfig({displayName:"ShapePath",componentId:"sc-12vzy6c-2"})`fill:var(--card-bg-color);`,tq=(0,i.forwardRef)(function(e,t){let o,i,a,d,l,c,s,u,f;let p=(0,n.c)(24);p[0]!==e?({width:d,height:o,radius:a,...i}=e,p[0]=e,p[1]=o,p[2]=i,p[3]=a,p[4]=d):(o=p[1],i=p[2],a=p[3],d=p[4]);let h=void 0===a?0:a,{card:g}=G(),m=g.shadow.outline,b=(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=tV(t,n,t.radius),r=tV(t,i,t.radius),a=tW(e,t,.5),d=tW(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})([{x:0,y:0},{x:h,y:0,radius:h},{x:d/2,y:o-1,radius:h},{x:d-h,y:0,radius:h},{x:d,y:0}]).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(" "),v=`${b}`,w=`${b} M ${d} -1 M 0 -1 Z`,y=`0 0 ${d} ${d}`;p[5]!==m||p[6]!==d?(l=(0,r.jsx)("mask",{id:"stroke-mask",children:(0,r.jsx)("rect",{x:0,y:m,width:d,height:d,fill:"white"})}),p[5]=m,p[6]=d,p[7]=l):l=p[7];let x=2*m;return p[8]!==v||p[9]!==x?(c=(0,r.jsx)(tX,{d:v,mask:"url(#stroke-mask)",strokeWidth:x}),p[8]=v,p[9]=x,p[10]=c):c=p[10],p[11]!==w?(s=(0,r.jsx)(tY,{d:w}),p[11]=w,p[12]=s):s=p[12],p[13]!==y||p[14]!==l||p[15]!==c||p[16]!==s||p[17]!==d?(u=(0,r.jsxs)("svg",{width:d,height:d,viewBox:y,children:[l,c,s]}),p[13]=y,p[14]=l,p[15]=c,p[16]=s,p[17]=d,p[18]=u):u=p[18],p[19]!==t||p[20]!==i||p[21]!==u||p[22]!==d?(f=(0,r.jsx)(tG,{...i,$w:d,ref:t,children:u}),p[19]=t,p[20]=i,p[21]=u,p[22]=d,p[23]=f):f=p[23],f});tq.displayName="ForwardRef(Arrow)";let tK=B("@sanity/ui/context/boundaryElement",null);function tZ(e){let t,o,i;let a=(0,n.c)(5),{children:d,element:l}=e;return a[0]!==l?(o={version:0,element:l},a[0]=l,a[1]=o):o=a[1],t=o,a[2]!==d||a[3]!==t?(i=(0,r.jsx)(tK.Provider,{value:t,children:d}),a[2]=d,a[3]=t,a[4]=i):i=a[4],i}function tU(e){return!!(e&&"object"==typeof e&&!Array.isArray(e))}tZ.displayName="BoundaryElementProvider";let tJ={version:0,element:null};function t0(){let e=(0,i.useContext)(tK);if(e&&(!tU(e)||0!==e.version))throw Error("useBoundaryElement(): the context value is not compatible");return e||tJ}let t1=(0,i.forwardRef)(function(e,t){let o,a,d,l,c,s,u,f,p,h,g;let m=(0,n.c)(18),b=G();m[0]!==e?({children:a,media:o,...d}=e,m[0]=e,m[1]=o,m[2]=a,m[3]=d):(o=m[1],a=m[2],d=m[3]);let v=o??b.media,[w,y]=(0,i.useState)(null),x=F(w);if(l=x?.border.width??window.innerWidth,m[4]!==v||m[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);s=e.length?e.join(" "):void 0,m[4]=v,m[5]=l,m[6]=s}else s=m[6];if(c=s,m[7]!==v||m[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);f=e.length?e.join(" "):void 0,m[7]=v,m[8]=l,m[9]=f}else f=m[9];return u=f,m[10]!==w?(p=()=>w,h=[w],m[10]=w,m[11]=p,m[12]=h):(p=m[11],h=m[12]),(0,i.useImperativeHandle)(t,p,h),m[13]!==a||m[14]!==c||m[15]!==u||m[16]!==d?(g=(0,r.jsx)("div",{"data-ui":"ElementQuery",...d,"data-eq-max":c,"data-eq-min":u,ref:y,children:a}),m[13]=a,m[14]=c,m[15]=u,m[16]=d,m[17]=g):g=m[17],g});function t2(e){if(!tU(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>.");
679if(0===e.version)return e;throw Error("could not get layer context")}t1.displayName="ForwardRef(ElementQuery)";let t3=B("@sanity/ui/context/layer",null);function t4(){let e=(0,n.c)(2),t=(0,i.useContext)(t3);if(!t)throw Error("useLayer(): missing context value");try{let o;return e[0]!==t?(o=t2(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 t5(e){return t7(e)||t9(e)}function t6(e){return e instanceof Node&&e.nodeType===Node.ELEMENT_NODE}function t7(e){return t6(e)&&"A"===e.nodeName}function t8(e){return t6(e)&&"INPUT"===e.nodeName}function t9(e){return t6(e)&&"BUTTON"===e.nodeName}function oe(e){return t6(e)&&"SELECT"===e.nodeName}function ot(e){return t6(e)&&"TEXTAREA"===e.nodeName}function oo(e,t){return e.contains(t)||e===t}function or(e){let t,o,a,d,l,c,s,u;let f=(0,n.c)(19),{children:p,zOffset:h}=e,g=(0,i.useContext)(t3);f[0]!==g?(t=g&&t2(g),f[0]=g,f[1]=t):t=f[1];let m=t,b=m?.registerChild,v=(m?.level??0)+1,w=N(void 0===h?0:h),y=w.length-1,x=Math.min(Y(),y),$=m?m.zIndex+w[x]:w[x];f[2]===Symbol.for("react.memo_cache_sentinel")?(o={},f[2]=o):o=f[2];let[,k]=(0,i.useState)(o),[z,j]=(0,i.useState)(0),S=0===z;f[3]!==b||f[4]!==k?(a=e=>{let t=b?.(e);return void 0!==e?k(t=>{let o=t[e]??0,r={...t,[e]:o+1};return j(Object.keys(r).length),r}):j(oi),()=>{void 0!==e?k(t=>{let o={...t};return 1===o[e]?(delete o[e],j(Object.keys(o).length)):o[e]=o[e]-1,o}):j(on),t?.()}},f[3]=b,f[4]=k,f[5]=a):a=f[5];let R=a;return f[6]!==v||f[7]!==b?(d=()=>b?.(v),l=[v,b],f[6]=v,f[7]=b,f[8]=d,f[9]=l):(d=f[8],l=f[9]),(0,i.useEffect)(d,l),f[10]!==S||f[11]!==v||f[12]!==R||f[13]!==z||f[14]!==$?(s={version:0,isTopLayer:S,level:v,registerChild:R,size:z,zIndex:$},f[10]=S,f[11]=v,f[12]=R,f[13]=z,f[14]=$,f[15]=s):s=f[15],c=s,f[16]!==p||f[17]!==c?(u=(0,r.jsx)(t3.Provider,{value:c,children:p}),f[16]=p,f[17]=c,f[18]=u):u=f[18],u}function on(e){return e-1}function oi(e){return e+1}or.displayName="LayerProvider";let oa=a.zo.div.withConfig({displayName:"StyledLayer",componentId:"sc-16kojrv-0"})({position:"relative"}),od=(0,i.forwardRef)(function(e,t){let o,a,d,l,c,s,u,f,p,h,g;let m=(0,n.c)(22);m[0]!==e?({children:o,onActivate:a,onFocus:d,style:c,...l}=e,m[0]=e,m[1]=o,m[2]=a,m[3]=d,m[4]=l,m[5]=c):(o=m[1],a=m[2],d=m[3],l=m[4],c=m[5]);let b=void 0===c?$:c,{zIndex:v,isTopLayer:w}=t4(),y=(0,i.useRef)(null),x=(0,i.useRef)(null),k=(0,i.useRef)(w);m[6]===Symbol.for("react.memo_cache_sentinel")?(s=()=>x.current,m[6]=s):s=m[6],(0,i.useImperativeHandle)(t,s),m[7]!==w||m[8]!==a?(u=()=>{k.current!==w&&w&&a?.({activeElement:y.current}),k.current=w},f=[w,a],m[7]=w,m[8]=a,m[9]=u,m[10]=f):(u=m[9],f=m[10]),(0,i.useEffect)(u,f),m[11]!==w||m[12]!==d?(p=e=>{d?.(e);let t=x.current,o=document.activeElement;!w||!t||!o||t6(o)&&oo(t,o)&&(y.current=o)},m[11]=w,m[12]=d,m[13]=p):p=m[13];let z=p;return m[14]!==b||m[15]!==v?(h={...b,zIndex:v},m[14]=b,m[15]=v,m[16]=h):h=m[16],m[17]!==o||m[18]!==z||m[19]!==l||m[20]!==h?(g=(0,r.jsx)(oa,{...l,"data-ui":"Layer",onFocus:z,ref:x,style:h,children:o}),m[17]=o,m[18]=z,m[19]=l,m[20]=h,m[21]=g):g=m[21],g}),ol=(0,i.forwardRef)(function(e,t){let o,i,a,d,l;let c=(0,n.c)(11);c[0]!==e?({children:o,zOffset:a,...i}=e,c[0]=e,c[1]=o,c[2]=i,c[3]=a):(o=c[1],i=c[2],a=c[3]);let s=void 0===a?1:a;return c[4]!==o||c[5]!==t||c[6]!==i?(d=(0,r.jsx)(od,{...i,ref:t,children:o}),c[4]=o,c[5]=t,c[6]=i,c[7]=d):d=c[7],c[8]!==d||c[9]!==s?(l=(0,r.jsx)(or,{zOffset:s,children:d}),c[8]=d,c[9]=s,c[10]=l):l=c[10],l});ol.displayName="ForwardRef(Layer)";let oc="@sanity/ui/context/portal",os=Symbol.for(`${oc}/element`);Q[os]=null;let ou=B(oc,{version:0,boundaryElement:null,get element(){return typeof document>"u"?null:(Q[os]||(Q[os]=document.createElement("div"),Q[os].setAttribute("data-portal",""),document.body.appendChild(Q[os])),Q[os])}});function of(){let e=(0,i.useContext)(ou);if(!e)throw Error("usePortal(): missing context value");if(!tU(e)||0!==e.version)throw Error("usePortal(): the context value is not compatible");return e}function op(e){let t;let o=(0,n.c)(3),{children:r,__unstable_name:i}=e,a=of(),d=(i?a.elements&&a.elements[i]:a.element)||a.elements?.default;return d?(o[0]!==r||o[1]!==d?(t=(0,b.createPortal)(r,d),o[0]=r,o[1]=d,o[2]=t):t=o[2],t):null}function oh(e){let t,o,a;let d=(0,n.c)(7),{boundaryElement:l,children:c,element:s,__unstable_elements:u}=e,f=function(e){let t=(0,i.useRef)(e);return function(e,t){if(!e||!t)return e===t;let o=Object.keys(e),r=Object.keys(t);return o.length===r.length&&o.every(o=>e[o]===t[o])}(t.current,e)||(t.current=e),t.current}(u),p=(0,i.useSyncExternalStore)(ob,om,og),h=l||null,g=s||p;return d[0]!==f||d[1]!==h||d[2]!==g?(o={version:0,boundaryElement:h,element:g,elements:f},d[0]=f,d[1]=h,d[2]=g,d[3]=o):o=d[3],t=o,d[4]!==c||d[5]!==t?(a=(0,r.jsx)(ou.Provider,{value:t,children:c}),d[4]=c,d[5]=t,d[6]=a):a=d[6],a}function og(){return null}function om(){return document.body}op.displayName="Portal",oh.displayName="PortalProvider";let ob=()=>()=>{},ov=a.zo.div.withConfig({displayName:"StyledSrOnly",componentId:"sc-mubr0c-0"})`display:block;width:0;height:0;position:absolute;overflow:hidden;overflow:clip;`;(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)(ov,{"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}).displayName="ForwardRef(SrOnly)";let ow=a.zo.div.withConfig({displayName:"StyledVirtualList",componentId:"sc-dlqsj4-0"})`position:relative;`,oy=a.zo.div.withConfig({displayName:"ItemWrapper",componentId:"sc-dlqsj4-1"})`position:absolute;
679left:0;right:0;`,ox=(0,i.forwardRef)(function(e,t){let o,a,d,l,c,s,u,f,p,h,g,m,b,v,w,y,x,$,k,z;let j=(0,n.c)(56);j[0]!==e?({as:c,gap:s,getItemKey:o,items:u,onChange:a,renderItem:d,...l}=e,j[0]=e,j[1]=o,j[2]=a,j[3]=d,j[4]=l,j[5]=c,j[6]=s,j[7]=u):(o=j[1],a=j[2],d=j[3],l=j[4],c=j[5],s=j[6],u=j[7]);let S=void 0===c?"div":c,R=void 0===s?0:s;j[8]!==u?(f=void 0===u?[]:u,j[8]=u,j[9]=f):f=j[9];let C=f,{space:E}=G(),N=(0,i.useRef)(null),I=(0,i.useRef)(null),[_,M]=(0,i.useState)(0),[T,F]=(0,i.useState)(0),[O,A]=(0,i.useState)(-1);j[10]===Symbol.for("react.memo_cache_sentinel")?(p=()=>N.current,j[10]=p):p=j[10],(0,i.useImperativeHandle)(t,p),j[11]===Symbol.for("react.memo_cache_sentinel")?(h=()=>{if(!I.current)return;let e=I.current.firstChild;e instanceof HTMLElement&&A(e.offsetHeight)},j[11]=h):h=j[11],j[12]!==d?(g=[d],j[12]=d,j[13]=g):g=j[13],(0,i.useEffect)(h,g),j[14]===Symbol.for("react.memo_cache_sentinel")?(m=()=>{if(!N.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}(N.current.parentNode);if(e){if(!(e instanceof HTMLElement))return;let t=()=>{M(e.scrollTop)};e.addEventListener("scroll",t,{passive:!0});let o=new L(e=>{F(e[0].contentRect.height)});return o.observe(e),t(),()=>{e.removeEventListener("scroll",t),o.unobserve(e),o.disconnect()}}let t=()=>{M(window.scrollY)},o=()=>{F(window.innerHeight)};return window.addEventListener("scroll",t,{passive:!0}),window.addEventListener("resize",o),F(window.innerHeight),t(),()=>{window.removeEventListener("scroll",t),window.removeEventListener("resize",o)}},b=[],j[14]=m,j[15]=b):(m=j[14],b=j[15]),(0,i.useEffect)(m,b);let Q=C.length,B=O?Q*(O+E[R])-E[R]:0,P=B?Math.max(Math.floor(_/B*Q)-2,0):0,H=B?Math.ceil((_+T)/B*Q)+1:0;j[16]!==P||j[17]!==R||j[18]!==O||j[19]!==a||j[20]!==T||j[21]!==_||j[22]!==E||j[23]!==H?(w=()=>{a&&a({fromIndex:P,gap:E[R],itemHeight:O,scrollHeight:T,scrollTop:_,toIndex:H})},v=[P,R,O,a,T,_,E,H],j[16]=P,j[17]=R,j[18]=O,j[19]=a,j[20]=T,j[21]=_,j[22]=E,j[23]=H,j[24]=v,j[25]=w):(v=j[24],w=j[25]),(0,i.useEffect)(w,v);e:{let e;if(!d||0===C.length){y=null;break e}if(-1===O){let e,t;j[26]!==C[0]||j[27]!==d?(e=d(C[0]),j[26]=C[0],j[27]=d,j[28]=e):e=j[28],j[29]!==e?(t=[(0,r.jsx)(oy,{children:e},0)],j[29]=e,j[30]=t):t=j[30],y=t;break e}if(j[31]!==P||j[32]!==R||j[33]!==o||j[34]!==O||j[35]!==C||j[36]!==d||j[37]!==E||j[38]!==H){let t;j[40]!==P||j[41]!==R||j[42]!==o||j[43]!==O||j[44]!==d||j[45]!==E?(t=(e,t)=>{let n=P+t,i=d(e),a=o?o(e,n):n;return(0,r.jsx)(oy,{style:{top:n*(O+E[R])},children:i},a)},j[40]=P,j[41]=R,j[42]=o,j[43]=O,j[44]=d,j[45]=E,j[46]=t):t=j[46],e=C.slice(P,H).map(t),j[31]=P,j[32]=R,j[33]=o,j[34]=O,j[35]=C,j[36]=d,j[37]=E,j[38]=H,j[39]=e}else e=j[39];y=e}let D=y;return j[47]!==B?($={height:B},j[47]=B,j[48]=$):$=j[48],x=$,j[49]!==D||j[50]!==x?(k=(0,r.jsx)("div",{ref:I,style:x,children:D}),j[49]=D,j[50]=x,j[51]=k):k=j[51],j[52]!==S||j[53]!==l||j[54]!==k?(z=(0,r.jsx)(ow,{as:S,"data-ui":"VirtualList",...l,ref:N,children:k}),j[52]=S,j[53]=l,j[54]=k,j[55]=z):z=j[55],z});function o$(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}ox.displayName="ForwardRef(VirtualList)";let ok=[0,0,0,0],oz={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","top-start","bottom-start"],"right-end":["left-end","top-end","bottom-end"]},oj=(0,a.zo)(h.E.create(t$)).withConfig({displayName:"MotionCard",componentId:"sc-ihg31s-0"})`&:not([hidden]){display:flex;}flex-direction:column;width:max-content;min-width:min-content;will-change:transform;`,oS=(0,a.zo)(h.E.create(tf)).withConfig({displayName:"MotionFlex",componentId:"sc-ihg31s-1"})`will-change:opacity;`,oR=(0,i.memo)((0,i.forwardRef)(function(e,t){let o,i,a,d,l,c,s,u,f,p,h,g,m,b,v,w,y,x,$,z,j,S,R,C,E,N,I,_,M,L,T,F,O,A;let Q=(0,n.c)(66);Q[0]!==e?({__unstable_margins:s,animate:o,arrow:i,arrowRef:a,arrowX:d,arrowY:l,children:c,padding:h,placement:g,originX:u,originY:f,overflow:p,radius:m,scheme:v,shadow:w,strategy:y,style:x,tone:$,width:z,x:j,y:S,...b}=e,Q[0]=e,Q[1]=o,Q[2]=i,Q[3]=a,Q[4]=d,Q[5]=l,Q[6]=c,Q[7]=s,Q[8]=u,Q[9]=f,Q[10]=p,Q[11]=h,Q[12]=g,Q[13]=m,Q[14]=b,Q[15]=v,Q[16]=w,Q[17]=y,Q[18]=x,Q[19]=$,Q[20]=z,Q[21]=j,Q[22]=S):(o=Q[1],i=Q[2],a=Q[3],d=Q[4],l=Q[5],c=Q[6],s=Q[7],u=Q[8],f=Q[9],p=Q[10],h=Q[11],g=Q[12],m=Q[13],b=Q[14],v=Q[15],w=Q[16],y=Q[17],x=Q[
67918],$=Q[19],z=Q[20],j=Q[21],S=Q[22]);let{zIndex:B}=t4(),P=(j??0)+(R=s||ok)[3],H=(S??0)+R[0],D=o?"transform":void 0;Q[23]!==u||Q[24]!==f||Q[25]!==y||Q[26]!==x||Q[27]!==D||Q[28]!==z||Q[29]!==P||Q[30]!==H||Q[31]!==B?(E={left:P,originX:u,originY:f,position:y,top:H,width:z,zIndex:B,willChange:D,...x},Q[23]=u,Q[24]=f,Q[25]=y,Q[26]=x,Q[27]=D,Q[28]=z,Q[29]=P,Q[30]=H,Q[31]=B,Q[32]=E):E=Q[32],C=E;let V=null!==d?d:void 0,W=null!==l?l:void 0;Q[33]!==V||Q[34]!==W?(I={left:V,top:W,right:void 0,bottom:void 0},Q[33]=V,Q[34]=W,Q[35]=I):I=Q[35],N=I;let G=b;return Q[36]!==o?(_=o?["hidden","initial"]:void 0,Q[36]=o,Q[37]=_):_=Q[37],Q[38]!==o?(M=o?["visible","scaleIn"]:void 0,Q[38]=o,Q[39]=M):M=Q[39],Q[40]!==o?(L=o?["hidden","scaleOut"]:void 0,Q[40]=o,Q[41]=L):L=Q[41],Q[42]!==c||Q[43]!==h?(T=(0,r.jsx)(tf,{direction:"column",flex:1,padding:h,children:c}),Q[42]=c,Q[43]=h,Q[44]=T):T=Q[44],Q[45]!==p||Q[46]!==T?(F=(0,r.jsx)(oS,{"data-ui":"Popover__wrapper",direction:"column",flex:1,overflow:p,variants:k.children,transition:k.transition,children:T}),Q[45]=p,Q[46]=T,Q[47]=F):F=Q[47],Q[48]!==i||Q[49]!==a||Q[50]!==N?(O=i&&(0,r.jsx)(tq,{ref:a,style:N,width:19,height:8,radius:2}),Q[48]=i,Q[49]=a,Q[50]=N,Q[51]=O):O=Q[51],Q[52]!==g||Q[53]!==m||Q[54]!==t||Q[55]!==C||Q[56]!==v||Q[57]!==w||Q[58]!==M||Q[59]!==L||Q[60]!==F||Q[61]!==O||Q[62]!==G||Q[63]!==_||Q[64]!==$?(A=(0,r.jsxs)(oj,{"data-ui":"Popover",...G,"data-placement":g,radius:m,ref:t,scheme:v,shadow:w,sizing:"border",style:C,tone:$,variants:k.card,transition:k.transition,initial:_,animate:M,exit:L,children:[F,O]}),Q[52]=g,Q[53]=m,Q[54]=t,Q[55]=C,Q[56]=v,Q[57]=w,Q[58]=M,Q[59]=L,Q[60]=F,Q[61]=O,Q[62]=G,Q[63]=_,Q[64]=$,Q[65]=A):A=Q[65],A}));oR.displayName="Memo(ForwardRef(PopoverCard))";let oC=()=>{let e;let t=(0,n.c)(2),{zIndex:o}=t4();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},oE=(0,i.memo)((0,i.forwardRef)(function(e,t){let{container:o,layer:n}=G(),a=t0(),{__unstable_margins:d=ok,animate:l=!1,arrow:c=!1,boundaryElement:s=a.element,children:u,constrainSize:h=!1,content:m,disabled:b,fallbackPlacements:v=e.fallbackPlacements??oz[e.placement??"bottom"],matchReferenceWidth:w,floatingBoundary:y=e.boundaryElement??a.element,modal:x,onActivate:$,open:k,overflow:z="hidden",padding:j,placement:S="bottom",portal:R,preventOverflow:C=!0,radius:E=3,referenceBoundary:I=e.boundaryElement??a.element,referenceElement:_,scheme:M,shadow:L=3,tone:T="inherit",width:O="auto",zOffset:A=n.popover.zOffset,updateRef:Q,...B}=e,P=!Z()&&l,H=F(s)?.border,D=N(j),V=N(E),W=N(L),X=N(O),q=N(A),K=(0,i.useRef)(null),U=(0,i.useRef)(null),J="viewport";(0,i.useImperativeHandle)(t,()=>K.current);let ee=Y(),et=h||C?H?.width:void 0,eo=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:ee,width:X}),er=(0,i.useRef)(eo);(0,i.useEffect)(()=>{er.current=eo},[eo]);let en=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:et,currentWidth:eo}),ei=(0,i.useRef)(en);(0,i.useEffect)(()=>{ei.current=en},[en]);let ea=(0,i.useRef)(void 0);(0,i.useEffect)(()=>{let e=K.current;if(!k||!e)return;let t=ea.current;w?void 0!==t&&(e.style.width=`${t}px`):void 0!==eo&&(e.style.width=`${eo}px`),"number"==typeof en&&(e.style.maxWidth=`${en}px`)},[eo,w,en,k]);let ed=(0,i.useMemo)(()=>{let e=[];return(h||C)&&e.push((0,p.RR)({boundary:y||void 0,fallbackPlacements:v,padding:4,rootBoundary:J})),e.push((0,p.cv)({mainAxis:4})),(h||w)&&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:c,reference:s}=l,u=await (0,f.US)(n,{altBoundary:!0,boundary:e.boundaryElement||void 0,elementContext:"floating",padding:r,rootBoundary:"viewport"}),p=1/0,h=1/0,g=c.width,m=c.height;a.includes("top")&&(p=g-(u.left+u.right),h=m-u.top),a.includes("right")&&(p=g-u.right,h=m-(u.top+u.bottom)),a.includes("bottom")&&(p=g-(u.left+u.right),h=m-u.bottom),a.includes("left")&&(p=g-u.left,h=m-(u.top+u.bottom)),t({availableWidth:p-o[1]-o[3],availableHeight:h-o[0]-o[2],elements:i,referenceWidth:s.width-o[1]-o[3]});let b=await d.getDimensions(i.floating),v=b.height;return g!==b.width||m!==v?{reset:{rects:!0}}:{}}}}({apply({availableWidth:e,availableHeight:t,elements:o,referenceWidth:r}){ea.current=r;let n=er.current,i=ei.current;w?o.floating.style.width=`${r}px`:void 0!==n&&(o.floating.style.width=`${n}px`),h&&(o.floating.style.maxWidth=`${Math.min(e,i??1/0)}px`,o.floating.style.maxHeight=`${t}px`)},boundaryElement:y||void 0,margins:d,padding:4})),C&&e.push((0,p.uY)({boundary:y||void 0,rootBoundary:J,padding:4})),c&&e.push((0,p.x7)({element:U,padding:4})),P&&e.push(tH),e.push((0,p.Cp)({boundary:I||void 0,padding:4,strategy:"referenceHidden"})),e},[P,c,h,v,y,d,w,C,I]),{x:el,y:ec,middlewareData:es,placement:eu,refs:ef,strategy:ep,update:eh}=(0,p.YF)({middleware:ed,placement:S,whileElementsMounted:f.Me,elements:_?{reference:_}:void 0}),eg=es.hide?.referenceHidden,em=es.arrow?.x,eb=es.arrow?.y,ev=es["@sanity/ui/origin"]?.originX,ew=es["@sanity/ui/origin"]?.originY,ey=(0,i.useCallback)(e=>{U.current=e},[]),ex=(0,i.useCallback)(e=>{K.current=e,ef.setFloating(e)},[ef]),e$=(0,i.useCallback)(e=>{ef.setReference(e);
679let t=o$(u);"function"==typeof t?t(e):t&&(t.current=e)},[u,ef]),ek=(0,i.useMemo)(()=>_?u:u?(0,i.cloneElement)(u,{ref:e$}):null,[u,_,e$]);if((0,i.useEffect)(()=>{Q&&("function"==typeof Q?Q(eh):Q&&(Q.current=eh))},[eh,Q]),b)return u||(0,r.jsx)(r.Fragment,{});let ez=(0,r.jsxs)(or,{zOffset:q,children:[x&&(0,r.jsx)(oC,{}),(0,r.jsx)(oR,{...B,__unstable_margins:d,animate:P,arrow:c,arrowRef:ey,arrowX:em,arrowY:eb,hidden:eg,overflow:z,padding:D,placement:eu,radius:V,ref:ex,scheme:M,shadow:W,originX:ev,originY:ew,strategy:ep,tone:T,width:w?ea.current:eo,x:el,y:ec,children:m})]}),ej=k&&(R?(0,r.jsx)(op,{__unstable_name:"string"==typeof R?R:void 0,children:ez}):ez);return(0,r.jsxs)(r.Fragment,{children:[P?(0,r.jsx)(g.M,{children:ej}):ej,ek]})}));oE.displayName="Memo(ForwardRef(Popover))";let oN=a.zo.div.withConfig({displayName:"StyledRadio",componentId:"sc-ccrwkf-0"})(function(){return(0,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 `}),oI=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(0,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: ${z(o.radio.size/2)}; 702 border: none; 703 704 /* enabled */ 705 & + span { 706 display: block; 707 position: relative; 708 height: ${z(o.radio.size)}; 709 width: ${z(o.radio.size)}; 710 border-radius: ${z(o.radio.size/2)}; 711 background: ${t.input.default.enabled.bg}; 712 box-shadow: ${ey({color:t.input.default.enabled.border,width:o.border.width})}; 713 714 &::after { 715 content: ''; 716 position: absolute; 717 top: ${z(r)}; 718 left: ${z(r)}; 719 height: ${z(o.radio.markSize)}; 720 width: ${z(o.radio.markSize)}; 721 border-radius: ${z(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: ${ex({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: ${ey({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: ${ey({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 `}),o_=(0,i.forwardRef)(function(e,t){let o,a,d,l,c,s,u,f,p,h;let g=(0,n.c)(19);g[0]!==e?({className:o,disabled:d,style:s,customValidity:a,readOnly:l,...c}=e,g[0]=e,g[1]=o,g[2]=a,g[3]=d,g[4]=l,g[5]=c,g[6]=s):(o=g[1],a=g[2],d=g[3],l=g[4],c=g[5],s=g[6]);let m=(0,i.useRef)(null);g[7]===Symbol.for("react.memo_cache_sentinel")?(u=()=>m.current,g[7]=u):u=g[7],(0,i.useImperativeHandle)(t,u),M(m,a);let b=!d&&l?"":void 0,v=a?"":void 0,w=d||l;return g[8]!==l||g[9]!==c||g[10]!==b||g[11]!==v||g[12]!==w?(f=(0,r.jsx)(oI,{"data-read-only":b,"data-error":v,...c,disabled:w,readOnly:l,ref:m,type:"radio"}),g[8]=l,g[9]=c,g[10]=b,g[11]=v,g[12]=w,g[13]=f):f=g[13],g[14]===Symbol.for("react.memo_cache_sentinel")?(p=(0,r.jsx)("span",{}),g[14]=p):p=g[14],g[15]!==o||g[16]!==s||g[17]!==f?(h=(0,r.jsxs)(oN,{className:o,"data-ui":"Radio",style:s,children:[f,p]}),g[15]=o,g[16]=s,g[17]=f,g[18]=h):h=g[18],h}
768);function oM(e){let{font:t}=(0,l.aQ)(e.theme);return(0,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 `}function oL(e){let{color:t,input:o}=(0,l.aQ)(e.theme);return(0,a.iv)` 782 /* enabled */ 783 background-color: ${t.input.default.enabled.bg}; 784 color: ${t.input.default.enabled.fg}; 785 box-shadow: ${ey({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: ${ey({color:t.input.default.hovered.border,width:o.border.width})}; 793 } 794 } 795 796 /* focused */ 797 &:not(:disabled):focus { 798 box-shadow: ${ex({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: ${ey({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: ${ey({color:t.input.default.disabled.border,width:o.border.width})}; 813 } 814 `}function oT(e){let{$fontSize:t}=e,{font:o,media:r}=(0,l.aQ)(e.theme);return j(r,t,e=>{var t;return{fontSize:z((t=o.text.sizes[e]||o.text.sizes[2]).fontSize),lineHeight:z(t.lineHeight)}})}o_.displayName="ForwardRef(Radio)";let oF=a.zo.div.withConfig({displayName:"StyledSelect",componentId:"sc-5mxno7-0"})(function(){return(0,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 `}),oO=a.zo.select.withConfig({displayName:"Input",componentId:"sc-5mxno7-1"})(function(){return[eq,oM,oL,oT,eH]}),oA=(0,a.zo)(ta).withConfig({displayName:"IconBox",componentId:"sc-5mxno7-2"})(function(e){let{color:t}=(0,l.aQ)(e.theme);return(0,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 `}),oQ=(0,i.forwardRef)(function(e,t){let o,a,d,l,c,s,f,p,h,g,m,b,v,w,y;let x=(0,n.c)(29);x[0]!==e?({children:o,customValidity:a,disabled:d,fontSize:s,padding:f,radius:p,readOnly:l,space:h,...c}=e,x[0]=e,x[1]=o,x[2]=a,x[3]=d,x[4]=l,x[5]=c,x[6]=s,x[7]=f,x[8]=p,x[9]=h):(o=x[1],a=x[2],d=x[3],l=x[4],c=x[5],s=x[6],f=x[7],p=x[8],h=x[9]);let $=void 0===s?2:s,k=void 0===f?3:f,z=void 0===p?2:p,j=void 0===h?3:h,S=(0,i.useRef)(null);x[10]===Symbol.for("react.memo_cache_sentinel")?(g=()=>S.current,x[10]=g):g=x[10],(0,i.useImperativeHandle)(t,g),M(S,a);let R=!d&&l?"":void 0,C=N($),E=N(k),I=N(z),_=N(j),L=d||l;return x[11]!==o||x[12]!==c||x[13]!==L||x[14]!==R||x[15]!==C||x[16]!==E||x[17]!==I||x[18]!==_?(m=(0,r.jsx)(oO,{"data-read-only":R,"data-ui":"Select",...c,$fontSize:C,$padding:E,$radius:I,$space:_,disabled:L,ref:S,children:o}),x[11]=o,x[12]=c,x[13]=L,x[14]=R,x[15]=C,x[16]=E,x[17]=I,x[18]=_,x[19]=m):m=x[19],x[20]===Symbol.for("react.memo_cache_sentinel")?(b=(0,r.jsx)(u.v4q,{}),x[20]=b):b=x[20],x[21]!==$?(v=(0,r.jsx)(tl,{size:$,children:b}),x[21]=$,x[22]=v):v=x[22],x[23]!==k||x[24]!==v?(w=(0,r.jsx)(oA,{padding:k,children:v}),x[23]=k,x[24]=v,x[25]=w):w=x[25],x[26]!==m||x[27]!==w?(y=(0,r.jsxs)(oF,{"data-ui":"Select",children:[m,w]}),x[26]=m,x[27]=w,x[28]=y):y=x[28],y});oQ.displayName="ForwardRef(Select)";let oB={"&&:not([hidden])":{display:"grid"},'&[data-as="ul"],&[data-as="ol"]':{listStyle:"none"},gridTemplateColumns:"minmax(0, 1fr)",gridAutoRows:"min-content"},oP=(0,a.zo)(ta).withConfig({displayName:"StyledStack",componentId:"sc-8dpfq2-0"})(function(){return oB}
848,function(e){let{media:t,space:o}=(0,l.aQ)(e.theme);return j(t,e.$space,e=>({gridGap:z(o[e])}))}),oH=(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 c="string"==typeof o?o:void 0,s=N(a);return l[4]!==o||l[5]!==t||l[6]!==i||l[7]!==c||l[8]!==s?(d=(0,r.jsx)(oP,{"data-as":c,"data-ui":"Stack",...i,$space:s,forwardedAs:o,ref:t}),l[4]=o,l[5]=t,l[6]=i,l[7]=c,l[8]=s,l[9]=d):d=l[9],d});oH.displayName="ForwardRef(Stack)";let oD=a.zo.span.withConfig({displayName:"StyledSwitch",componentId:"sc-dw1foe-0"})(function(){return(0,a.iv)` 849 position: relative; 850 &:not([hidden]) { 851 display: inline-block; 852 } 853 `}),oV=a.zo.input.withConfig({displayName:"Input",componentId:"sc-dw1foe-1"})(function(){return(0,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 `}),oW=a.zo.span.withConfig({displayName:"Representation",componentId:"sc-dw1foe-2"})(function(e){let{color:t,input:o}=(0,l.aQ)(e.theme);return(0,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: ${z(o.switch.width)}; 878 height: ${z(o.switch.height)}; 879 border-radius: ${z(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: ${ex({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 `}),oG=a.zo.span.withConfig({displayName:"Track",componentId:"sc-dw1foe-3"})(function(e){let{input:t}=(0,l.aQ)(e.theme);return(0,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: ${z(t.switch.width)}; 946 height: ${z(t.switch.height)}; 947 border-radius: ${z(t.switch.height/2)}; 948 `}),oX=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,c=r-2*i-d,s=r/2-d/2-i,u=!0!==t&&!0===e.$checked;return(0,a.iv)` 949 &:not([hidden]) { 950 display: block; 951 } 952 position: absolute; 953 left: ${z(i)}; 954 top: ${z(i)}; 955 height: ${z(d)}; 956 width: ${z(d)}; 957 border-radius: ${z(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&&(0,a.iv)` 966 transform: translate3d(${c}
966px, 0, 0); 967 `} 968 969 ${t&&(0,a.iv)` 970 transform: translate3d(${s}px, 0, 0); 971 `} 972 `}),oY=(0,i.forwardRef)(function(e,t){let o,a,d,l,c,s,u,f,p,h,g,m,b,v;let w=(0,n.c)(26);w[0]!==e?({checked:o,className:a,disabled:d,indeterminate:l,readOnly:c,style:u,...s}=e,w[0]=e,w[1]=o,w[2]=a,w[3]=d,w[4]=l,w[5]=c,w[6]=s,w[7]=u):(o=w[1],a=w[2],d=w[3],l=w[4],c=w[5],s=w[6],u=w[7]);let y=(0,i.useRef)(null);w[8]===Symbol.for("react.memo_cache_sentinel")?(f=()=>y.current,w[8]=f):f=w[8],(0,i.useImperativeHandle)(t,f),w[9]!==l?(p=()=>{y.current&&(y.current.indeterminate=l||!1)},h=[l],w[9]=l,w[10]=p,w[11]=h):(p=w[10],h=w[11]),(0,i.useEffect)(p,h);let x=!d&&c?"":void 0,$=!0!==l&&o,k=d||c;return w[12]!==s||w[13]!==x||w[14]!==$||w[15]!==k?(g=(0,r.jsx)(oV,{"data-read-only":x,...s,checked:$,disabled:k,type:"checkbox",ref:y}),w[12]=s,w[13]=x,w[14]=$,w[15]=k,w[16]=g):g=w[16],w[17]===Symbol.for("react.memo_cache_sentinel")?(m=(0,r.jsx)(oG,{}),w[17]=m):m=w[17],w[18]!==o||w[19]!==l?(b=(0,r.jsxs)(oW,{"aria-hidden":!0,"data-name":"representation",children:[m,(0,r.jsx)(oX,{$checked:o,$indeterminate:l})]}),w[18]=o,w[19]=l,w[20]=b):b=w[20],w[21]!==a||w[22]!==u||w[23]!==g||w[24]!==b?(v=(0,r.jsxs)(oD,{className:a,"data-ui":"Switch",style:u,children:[g,b]}),w[21]=a,w[22]=u,w[23]=g,w[24]=b,w[25]=v):v=w[25],v});oY.displayName="ForwardRef(Switch)";let oq=a.zo.span.withConfig({displayName:"StyledTextArea",componentId:"sc-1d6h1o8-0"})(eV),oK=a.zo.span.withConfig({displayName:"InputRoot",componentId:"sc-1d6h1o8-1"})`flex:1;min-width:0;display:block;position:relative;`,oZ=a.zo.textarea.withConfig({displayName:"Input",componentId:"sc-1d6h1o8-2"})(eP,eW,eG),oU=a.zo.div.withConfig({displayName:"Presentation",componentId:"sc-1d6h1o8-3"})(eq,eX),oJ=(0,i.forwardRef)(function(e,t){let o,a,d,l,c,s,u,f,p,h,g,m,b;let v=(0,n.c)(29);v[0]!==e?({border:l,customValidity:a,disabled:c,fontSize:s,padding:u,radius:f,weight:p,__unstable_disableFocusRing:o,...d}=e,v[0]=e,v[1]=o,v[2]=a,v[3]=d,v[4]=l,v[5]=c,v[6]=s,v[7]=u,v[8]=f,v[9]=p):(o=v[1],a=v[2],d=v[3],l=v[4],c=v[5],s=v[6],u=v[7],f=v[8],p=v[9]);let w=void 0===l||l,y=void 0!==c&&c,x=void 0===s?2:s,$=void 0===u?3:u,k=void 0===f?2:f,z=(0,i.useRef)(null),j=D();v[10]===Symbol.for("react.memo_cache_sentinel")?(h=()=>z.current,v[10]=h):h=v[10],(0,i.useImperativeHandle)(t,h),M(z,a);let S=j.scheme,R=j.tone,C=N(x),E=N($),I=j.scheme,_=N(0);v[11]!==y||v[12]!==d||v[13]!==j.scheme||v[14]!==j.tone||v[15]!==_||v[16]!==C||v[17]!==E||v[18]!==p?(g=(0,r.jsx)(oZ,{"data-as":"textarea","data-scheme":S,"data-tone":R,...d,$fontSize:C,$padding:E,$scheme:I,$space:_,$tone:j.tone,$weight:p,disabled:y,ref:z}),v[11]=y,v[12]=d,v[13]=j.scheme,v[14]=j.tone,v[15]=_,v[16]=C,v[17]=E,v[18]=p,v[19]=g):g=v[19];let L=N(k),T=w?"":void 0;return v[20]!==o||v[21]!==j.scheme||v[22]!==j.tone||v[23]!==L||v[24]!==T?(m=(0,r.jsx)(oU,{$radius:L,$unstableDisableFocusRing:o,$scheme:j.scheme,$tone:j.tone,"data-border":T,"data-scheme":j.scheme,"data-tone":j.tone}),v[20]=o,v[21]=j.scheme,v[22]=j.tone,v[23]=L,v[24]=T,v[25]=m):m=v[25],v[26]!==g||v[27]!==m?(b=(0,r.jsx)(oq,{"data-ui":"TextArea",children:(0,r.jsxs)(oK,{children:[g,m]})}),v[26]=g,v[27]=m,v[28]=b):b=v[28],b});oJ.displayName="ForwardRef(TextArea)";let o0={zIndex:2},o1=(0,a.zo)(t$).attrs({forwardedAs:"span"}).withConfig({displayName:"StyledTextInput",componentId:"sc-h62wco-0"})(eV),o2=a.zo.span.withConfig({displayName:"InputRoot",componentId:"sc-h62wco-1"})`flex:1;min-width:0;display:block;position:relative;`,o3=(0,a.zo)(t$).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;}`,o4=(0,a.zo)(t$).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;}`,o5=a.zo.input.withConfig({displayName:"Input",componentId:"sc-h62wco-4"})(eP,eW,eG),o6=a.zo.span.withConfig({displayName:"Presentation",componentId:"sc-h62wco-5"})(eq,eX),o7=(0,a.zo)(ta).withConfig({displayName:"LeftBox",componentId:"sc-h62wco-6"})`position:absolute;top:0;left:0;`,o8=(0,a.zo)(ta).withConfig({displayName:"RightBox",componentId:"sc-h62wco-7"})`position:absolute;top:0;right:0;`,o9=(0,a.zo)(t$).withConfig({displayName:"RightCard",componentId:"sc-h62wco-8"})`background-color:transparent;position:absolute;top:0;right:0;`,re=(0,a.zo)(ty).withConfig({displayName:"TextInputClearButton",componentId:"sc-h62wco-9"})({"&:not([hidden])":{display:"block"}}),rt=(0,i.forwardRef)(function(e,t){let o,a,d,l,c,f,p,h,g,m,b,v,w,y,x,k,z,j,S,R,C,E,I,_,L,T,F,O,A,Q,B,P,H,V,W,G,X,Y;let q=(0,n.c)(84);q[0]!==e?({__unstable_disableFocusRing:d,border:b,clearButton:l,disabled:v,fontSize:w,icon:o,iconRight:a,onClear:f,padding:y,prefix:p,radius:x,readOnly:h,space:k,suffix:m,customValidity:c,type:z,weight:j,...g}=e,q[0]=e,q[1]=o,q[2]=a,q[3]=d,q[4]=l,q[5]=c,q[6]=f,q[7]=p,q[8]=h,q[9]=g,q[10]=m,q[11]=b,q[12]=v,q[13]=w,q[14]=y,q[15]=x,q[16]=k,q[17]=z,q[18]=j):(o=q[1],a=q[2],d=q[3],l=q[4],c=q[5],f=q[6],p=q[7],h=q[8],g=q[9],m=q[10],b=q[11],v=q[12],w=q[13],y=q[14],x=q[15],k=q[16],z=q[17],j=q[18]);let K=void 0===b||b,Z=void 0!==v&&v,U=void 0===w?2:w,J=void 0===y?3:y,ee=void 0===x?2:x,et=void 0===k?3:k,eo=void 0===z?"text":z,er=(0,i.useRef)(null),en=D(),ei=N(U),ea=N(J),ed=N(ee),el=N(et),ec=!!l,es=!!o,eu=!!a,ef=!!m,ep=!!p;q[19]===Symbol.for("react.memo_cache_sentinel")?(S=()=>er.current,q[19]=S):S=q[19],(0,i.useImperativeHandle)(t,S),M(er,c),q[20]!==f?(R=e=>{e.preventDefault(),e.stopPropagation(),f&&f(),er.current?.focus()},q[20]=f,q[21]=R):R=q[21];let eh=R;
972q[22]!==p||q[23]!==ed?(E=p&&(0,r.jsx)(o3,{borderTop:!0,borderLeft:!0,borderBottom:!0,radius:ed,sizing:"border",tone:"inherit",children:(0,r.jsx)("span",{children:p})}),q[22]=p,q[23]=ed,q[24]=E):E=q[24],C=E;let eg=K?"":void 0;q[25]!==o||q[26]!==ei||q[27]!==ea?(_=o&&(0,r.jsx)(o7,{padding:ea,children:(0,r.jsxs)(tl,{size:ei,children:[(0,i.isValidElement)(o)&&o,(0,s.isValidElementType)(o)&&(0,r.jsx)(o,{})]})}),q[25]=o,q[26]=ei,q[27]=ea,q[28]=_):_=q[28],q[29]!==ec||q[30]!==a||q[31]!==ei||q[32]!==ea?(L=!ec&&a&&(0,r.jsx)(o8,{padding:ea,children:(0,r.jsxs)(tl,{size:ei,children:[(0,i.isValidElement)(a)&&a,(0,s.isValidElementType)(a)&&(0,r.jsx)(a,{})]})}),q[29]=ec,q[30]=a,q[31]=ei,q[32]=ea,q[33]=L):L=q[33],q[34]!==ep||q[35]!==ef||q[36]!==d||q[37]!==ed||q[38]!==en.scheme||q[39]!==en.tone||q[40]!==eg||q[41]!==_||q[42]!==L?(T=(0,r.jsxs)(o6,{$hasPrefix:ep,$unstableDisableFocusRing:d,$hasSuffix:ef,$radius:ed,$scheme:en.scheme,$tone:en.tone,"data-border":eg,"data-scheme":en.scheme,"data-tone":en.tone,children:[_,L]}),q[34]=ep,q[35]=ef,q[36]=d,q[37]=ed,q[38]=en.scheme,q[39]=en.tone,q[40]=eg,q[41]=_,q[42]=L,q[43]=T):T=q[43],I=T,q[44]!==ea?(O=ea.map(rr),q[44]=ea,q[45]=O):O=q[45],F=O,q[46]!==ea?(Q=ea.map(rn),q[46]=ea,q[47]=Q):Q=q[47],A=Q,B="object"==typeof l?l:$,q[48]!==l||q[49]!==F||q[50]!==A||q[51]!==B||q[52]!==c||q[53]!==Z||q[54]!==ei||q[55]!==eh||q[56]!==ed||q[57]!==h?(H=!Z&&!h&&l&&(0,r.jsx)(o9,{forwardedAs:"span",padding:F,style:o0,tone:c?"critical":"inherit",children:(0,r.jsx)(re,{"aria-label":"Clear","data-qa":"clear-button",fontSize:ei,icon:u.Two,mode:"bleed",padding:A,radius:ed,...B,onClick:eh,onMouseDown:ro})}),q[48]=l,q[49]=F,q[50]=A,q[51]=B,q[52]=c,q[53]=Z,q[54]=ei,q[55]=eh,q[56]=ed,q[57]=h,q[58]=H):H=q[58],P=H,q[59]!==ed||q[60]!==m?(W=m&&(0,r.jsx)(o4,{borderTop:!0,borderRight:!0,borderBottom:!0,radius:ed,sizing:"border",tone:"inherit",children:(0,r.jsx)("span",{children:m})}),q[59]=ed,q[60]=m,q[61]=W):W=q[61],V=W;let em=eu||ec;return q[62]!==es||q[63]!==Z||q[64]!==ei||q[65]!==ea||q[66]!==h||q[67]!==g||q[68]!==en.scheme||q[69]!==en.tone||q[70]!==el||q[71]!==em||q[72]!==eo||q[73]!==j?(G=(0,r.jsx)(o5,{"data-as":"input","data-scheme":en.scheme,"data-tone":en.tone,...g,$fontSize:ei,$iconLeft:es,$iconRight:em,$padding:ea,$scheme:en.scheme,$space:el,$tone:en.tone,$weight:j,disabled:Z,readOnly:h,ref:er,type:eo}),q[62]=es,q[63]=Z,q[64]=ei,q[65]=ea,q[66]=h,q[67]=g,q[68]=en.scheme,q[69]=en.tone,q[70]=el,q[71]=em,q[72]=eo,q[73]=j,q[74]=G):G=q[74],q[75]!==P||q[76]!==I||q[77]!==G?(X=(0,r.jsxs)(o2,{children:[G,I,P]}),q[75]=P,q[76]=I,q[77]=G,q[78]=X):X=q[78],q[79]!==C||q[80]!==en.tone||q[81]!==V||q[82]!==X?(Y=(0,r.jsxs)(o1,{"data-ui":"TextInput",tone
972:en.tone,children:[C,X,V]}),q[79]=C,q[80]=en.tone,q[81]=V,q[82]=X,q[83]=Y):Y=q[83],Y});function ro(e){e.preventDefault(),e.stopPropagation()}function rr(e){return 0===e?0:1===e||2===e?1:e-2}function rn(e){return 0===e||1===e?0:2===e?1:e-1}function ri(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)=>{let o=()=>{d(e)};if(l.current&&(clearTimeout(l.current),l.current=void 0),!t)return o();l.current=setTimeout(o,t)},r[0]=t):t=r[0];let c=t;return r[1]!==a?(o=[a,c],r[1]=a,r[2]=o):o=r[2],o}rt.displayName="ForwardRef(TextInput)";let ra={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"]},rd=(0,a.zo)(h.E.create(t$)).withConfig({displayName:"MotionCard",componentId:"sc-1xn138w-0"})`will-change:transform;`,rl=(0,i.memo)((0,i.forwardRef)(function(e,t){let o,i,a,d,l,c,s,u,f,p,h,g,m,b,v,w,y,x,$,z,j,S,R,C;let E=(0,n.c)(48);E[0]!==e?({animate:o,arrow:i,arrowRef:a,arrowX:d,arrowY:l,children:c,originX:s,originY:u,padding:f,placement:p,radius:h,scheme:m,shadow:b,style:v,...g}=e,E[0]=e,E[1]=o,E[2]=i,E[3]=a,E[4]=d,E[5]=l,E[6]=c,E[7]=s,E[8]=u,E[9]=f,E[10]=p,E[11]=h,E[12]=g,E[13]=m,E[14]=b,E[15]=v):(o=E[1],i=E[2],a=E[3],d=E[4],l=E[5],c=E[6],s=E[7],u=E[8],f=E[9],p=E[10],h=E[11],g=E[12],m=E[13],b=E[14],v=E[15]);let N=o?"transform":void 0;E[16]!==s||E[17]!==u||E[18]!==v||E[19]!==N?(y={originX:s,originY:u,willChange:N,...v},E[16]=s,E[17]=u,E[18]=v,E[19]=N,E[20]=y):y=E[20],w=y;let I=null!==d?d:void 0,_=null!==l?l:void 0;E[21]!==I||E[22]!==_?($={left:I,top:_,right:void 0,bottom:void 0},E[21]=I,E[22]=_,E[23]=$):$=E[23],x=$;let M=g;return E[24]!==o?(z=o?["hidden","initial"]:void 0,E[24]=o,E[25]=z):z=E[25],E[26]!==o?(j=o?["visible","scaleIn"]:void 0,E[26]=o,E[27]=j):j=E[27],E[28]!==o?(S=o?["hidden","scaleOut"]:void 0,E[28]=o,E[29]=S):S=E[29],E[30]!==i||E[31]!==a||E[32]!==x?(R=i&&(0,r.jsx)(tq,{ref:a,style:x,width:15,height:6,radius:2}),E[30]=i,E[31]=a,E[32]=x,E[33]=R):R=E[33],E[34]!==c||E[35]!==f||E[36]!==p||E[37]!==h||E[38]!==t||E[39]!==w||E[40]!==m||E[41]!==b||E[42]!==S||E[43]!==R||E[44]!==M||E[45]!==z||E[46]!==j?(C=(0,r.jsxs)(rd,{"data-ui":"Tooltip__card",...M,"data-placement":p,padding:f,radius:h,ref:t,scheme:m,shadow:b,style:w,variants:k.card,transition:k.transition,initial:z,animate:j,exit:S,children:[c,R]}),E[34]=c,E[35]=f,E[36]=p,E[37]=h,E[38]=t,E[39]=w,E[40]=m,E[41]=b,E[42]=S,E[43]=R,E[44]=M,E[45]=z,E[46]=j,E[47]=C):C=E[47],C}));rl.displayName="Memo(ForwardRef(TooltipCard))";let rc=B("@sanity/ui/context/tooltipDelayGroup",null);function rs(e){let t,o,i;let a=(0,n.c)(10),{children:d,delay:l}=e,[c,s]=ri(!1),[u,f]=ri(null),p="number"==typeof l?l:l?.open||0,h="number"==typeof l?l:l?.close||0,g=c?1:p;return a[0]!==h||a[1]!==c||a[2]!==u||a[3]!==s||a[4]!==f||a[5]!==g?(o={isGroupActive:c,setIsGroupActive:s,openTooltipId:u,setOpenTooltipId:f,openDelay:g,closeDelay:h},a[0]=h,a[1]=c,a[2]=u,a[3]=s,a[4]=f,a[5]=g,a[6]=o):o=a[6],t=o,a[7]!==d||a[8]!==t?(i=(0,r.jsx)(rc.Provider,{value:t,children:d}),a[7]=d,a[8]=t,a[9]=i):i=a[9],i}rs.displayName="TooltipDelayGroupProvider";let ru=(0,a.zo)(ol).withConfig({displayName:"StyledTooltip",componentId:"sc-13f2zvh-0"})`pointer-events:none;`,rf=(0,i.forwardRef)(function(e,t){let o=t0(),{layer:a}=G(),{animate:d=!1,arrow:l=!1,boundaryElement:c=o?.element,children:s,content:u,disabled:h,fallbackPlacements:m=e.fallbackPlacements??ra[e.placement??"bottom"],padding:b=2,placement:w="bottom",portal:y,radius:x=2,scheme:$,shadow:k=2,zOffset:z=a.tooltip.zOffset,delay:j,...S}=e,R=!Z()&&d,C=N(m),E=(0,i.useRef)(null),[I,_]=(0,i.useState)(null),M=(0,i.useRef)(null),L="viewport",[T,F]=(0,i.useState)(0);(0,i.useImperativeHandle)(t,()=>E.current);let O=of(),A="string"==typeof y?O.elements?.[y]||null:O.element,Q=(0,i.useMemo)(()=>{let e=[];return e.push((0,p.RR)({boundary:c||void 0,fallbackPlacements:C,padding:4,rootBoundary:L})),e.push((0,p.cv)({mainAxis:4})),e.push((0,p.uY)({boundary:c||void 0,rootBoundary:L,padding:4})),l&&e.push((0,p.x7)({element:M,padding:4})),R&&e.push(tH),e},[R,l,c,C]),{floatingStyles:B,placement:P,middlewareData:H,refs:D,update:V}=(0,p.YF)({middleware:Q,placement:w,whileElementsMounted:f.Me,elements:{reference:I}}),W=H.arrow?.x,X=H.arrow?.y,Y=H["@sanity/ui/origin"]?.originX,q=H["@sanity/ui/origin"]?.originY,K=(0,i.useId)(),[U,J]=ri(!1),ee=(0,i.useContext)(rc),et=U||ee?.openTooltipId===K,eo=null!==ee,er="number"==typeof j?j:j?.open||0,en="number"==typeof j?j:j?.close||0,ei=eo?ee.openDelay:er,ea=eo?ee.closeDelay:en,ed=(0,i.useCallback)((e,t)=>{if(eo){if(e){let o=t?0:ei;ee.setIsGroupActive(e,o),ee.setOpenTooltipId(K,o)}else{let o=ea>200?ea:200;ee.setIsGroupActive(e,o),ee.setOpenTooltipId(null,t?0:ea)}}else J(e,t?0:e?ei:ea)},[eo,ee,ei,K,ea,J]),el=(0,i.useCallback)(e=>{ed(!1),s?.props?.onBlur?.(e)},[s?.props,ed]),ec=(0,i.useCallback)(e=>{ed(!1,!0),s?.props.onClick?.(e)},[s?.props,ed]),es=(0,i.useCallback)(e=>{ed(!1,!0),s?.props.onContextMenu?.(e)},[s?.props,ed]),eu=(0,i.useCallback)(e=>{ed(!0),s?.props?.onFocus?.(e)},[s?.props,ed]),ef=(0,i.useCallback)(e=>{ed(!0),s?.props?.onMouseEnter?.(e)},[s?.props,ed]),ep=(0,i.useCallback)(e=>{ed(!1),s?.props?.onMouseLeave?.(e)},[s?.props,ed]);(function(e){let t,o,r;let a=(0,n.c)(8),{handleIsOpenChange:d,referenceElement:l,showTooltip:c}=e;a[0]!==d||a[1]!==l?(t=(e,t)=>
972{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 s=(0,v.i)(t);a[3]!==s||a[4]!==c?(o=()=>{if(!c)return;let e=t=>{s(t.target,()=>window.removeEventListener("mousemove",e))};return window.addEventListener("mousemove",e),()=>window.removeEventListener("mousemove",e)},a[3]=s,a[4]=c,a[5]=o):o=a[5],a[6]!==c?(r=[c],a[6]=c,a[7]=r):r=a[7],(0,i.useEffect)(o,r)})({handleIsOpenChange:ed,referenceElement:I,showTooltip:et}),(0,i.useEffect)(()=>{h&&et&&ed(!1)},[h,ed,et]),(0,i.useEffect)(()=>{!u&&et&&ed(!1)},[u,ed,et]),(0,i.useEffect)(()=>{if(et)return window.addEventListener("keydown",e),()=>{window.removeEventListener("keydown",e)};function e(e){"Escape"===e.key&&ed(!1,!0)}},[ed,et]),(0,i.useLayoutEffect)(()=>{F(Math.min(...c?[c.offsetWidth]:[],A?.offsetWidth||document.body.offsetWidth)-8)},[c,A]);let eh=(0,i.useCallback)(e=>{M.current=e,V()},[V]),eg=(0,i.useCallback)(e=>{E.current=e,D.setFloating(e)},[D]),em=(0,i.useMemo)(()=>s?(0,i.cloneElement)(s,{onBlur:el,onFocus:eu,onMouseEnter:ef,onMouseLeave:ep,onClick:ec,onContextMenu:es,ref:_}):null,[s,el,ec,es,eu,ef,ep]);if((0,i.useImperativeHandle)(s?o$(s):null,()=>I,[I]),!em)return(0,r.jsx)(r.Fragment,{});if(h)return em;let eb=(0,r.jsx)(ru,{"data-ui":"Tooltip",...S,ref:eg,style:{...B,maxWidth:T>0?`${T}px`:void 0},zOffset:z,children:(0,r.jsx)(rl,{...S,animate:R,arrow:l,arrowRef:eh,arrowX:W,arrowY:X,originX:Y,originY:q,padding:b,placement:P,radius:x,ref:eg,scheme:$,shadow:k,children:u})}),ev=et&&(y?(0,r.jsx)(op,{__unstable_name:"string"==typeof y?y:void 0,children:eb}):eb);return(0,r.jsxs)(r.Fragment,{children:[R?(0,r.jsx)(g.M,{children:ev}):ev,em]})});rf.displayName="ForwardRef(Tooltip)";let rp=a.zo.kbd.withConfig({displayName:"StyledHotkeys",componentId:"sc-b37mge-0"})`font:inherit;padding:1px;&:not([hidden]){display:block;}`,rh=(0,a.zo)(tP).withConfig({displayName:"Key",componentId:"sc-b37mge-1"})`&:not([hidden]){display:block;}`,rg=(0,i.forwardRef)(function(e,t){let o,i,a,d,l,c,s,u,f;let p=(0,n.c)(24);p[0]!==e?({fontSize:o,keys:i,padding:a,radius:d,space:c,...l}=e,p[0]=e,p[1]=o,p[2]=i,p[3]=a,p[4]=d,p[5]=l,p[6]=c):(o=p[1],i=p[2],a=p[3],d=p[4],l=p[5],c=p[6]);let h=N(void 0===c?.5:c);if(!i||0===i.length){let e;return p[7]===Symbol.for("react.memo_cache_sentinel")?(e=(0,r.jsx)(r.Fragment,{}),p[7]=e):e=p[7],e}if(p[8]!==o||p[9]!==i||p[10]!==a||p[11]!==d){let e;p[13]!==o||p[14]!==a||p[15]!==d?(e=(e,t)=>(0,r.jsx)(rh,{fontSize:o,padding:a,radius:d,children:e},t),p[13]=o,p[14]=a,p[15]=d,p[16]=e):e=p[16],s=i.map(e),p[8]=o,p[9]=i,p[10]=a,p[11]=d,p[12]=s}else s=p[12];return p[17]!==h||p[18]!==s?(u=(0,r.jsx)(tA,{as:"span",space:h,children:s}),p[17]=h,p[18]=s,p[19]=u):u=p[19],p[20]!==t||p[21]!==l||p[22]!==u?(f=(0,r.jsx)(rp,{"data-ui":"Hotkeys",...l,ref:t,children:u}),p[20]=t,p[21]=l,p[22]=u,p[23]=f):f=p[23],f});rg.displayName="ForwardRef(Hotkeys)";let rm=B("@sanity/ui/context/menu",null);function rb(e){return t7(e)&&"true"!==e.getAttribute("data-disabled")||t9(e)&&!e.disabled}function rv(e){return e.filter(rb)}let rw=[],ry=(0,a.zo)(ta).withConfig({displayName:"StyledMenu",componentId:"sc-xt0tnv-0"})`outline:none;overflow:auto;`,rx=(0,i.forwardRef)(function(e,t){let o,a,d,l,c,s,u,f,p,h,g,m,b,v,w,y,x,$,k,z,j,S,R,C;let E=(0,n.c)(50);if(E[0]!==e){let{children:t,focusFirst:r,focusLast:n,onClickOutside:i,onEscape:b,onItemClick:v,onItemSelect:w,onKeyDown:y,originElement:x,padding:$,registerElement:k,shouldFocus:z,space:j,...S}=e;a=t,d=i,l=b,c=v,s=w,u=y,f=x,g=$,p=k,o=z,m=j,h=S,E[0]=e,E[1]=o,E[2]=a,E[3]=d,E[4]=l,E[5]=c,E[6]=s,E[7]=u,E[8]=f,E[9]=p,E[10]=h,E[11]=g,E[12]=m}else o=E[1],a=E[2],d=E[3],l=E[4],c=E[5],s=E[6],u=E[7],f=E[8],p=E[9],h=E[10],g=E[11],m=E[12];let N=void 0===g?1:g,_=void 0===m?1:m,M=o??(e.focusFirst&&"first"||e.focusLast&&"last"||null),L=(0,i.useRef)(null);E[13]===Symbol.for("react.memo_cache_sentinel")?(b=()=>L.current,E[13]=b):b=E[13],(0,i.useImperativeHandle)(t,b);let{isTopLayer:T}=t4();E[14]!==u||E[15]!==f||E[16]!==M?(v={onKeyDown:u,originElement:f,shouldFocus:M,rootElementRef:L},E[14]=u,E[15]=f,E[16]=M,E[17]=v):v=E[17];let{activeElement:F,activeIndex:A,handleItemMouseEnter:Q,handleItemMouseLeave:B,handleKeyDown:P,mount:H}=function(e){let{onKeyDown:t,originElement:o,shouldFocus:r,rootElementRef:n}=e,a=(0,i.useRef)([]),[d,l]=(0,i.useState)(-1),c=(0,i.useRef)(d),s=(0,i.useMemo)(()=>a.current[d]||null,[d]),u=!!n.current,f=(0,i.useCallback)(e=>{l(e),c.current=e},[]),p=(0,i.useCallback)((e,t)=>e?(-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)=>
972{let r=o.get(e)||rw,n=o.get(t)||rw,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&&f(a.current.indexOf(e)),()=>{let t=a.current.indexOf(e);t>-1&&a.current.splice(t,1)}):()=>{},[n,f]),h=(0,i.useCallback)(e=>{if("Tab"===e.key){o&&o.focus();return}if("Home"===e.key){e.preventDefault(),e.stopPropagation();let t=rv(a.current)[0];if(!t)return;f(a.current.indexOf(t));return}if("End"===e.key){e.preventDefault(),e.stopPropagation();let t=rv(a.current),o=t[t.length-1];if(!o)return;f(a.current.indexOf(o));return}if("ArrowUp"===e.key){e.preventDefault(),e.stopPropagation();let t=rv(a.current),o=t.length;if(0===o)return;let r=a.current[c.current],n=t.indexOf(r),i=t[n=(n-1+o)%o];f(a.current.indexOf(i));return}if("ArrowDown"===e.key){e.preventDefault(),e.stopPropagation();let t=rv(a.current),o=t.length;if(0===o)return;let r=a.current[c.current],n=t.indexOf(r),i=t[n=(n+1)%o];f(a.current.indexOf(i));return}t&&t(e)},[t,o,f]),g=(0,i.useCallback)(e=>{let t=e.currentTarget;f(a.current.indexOf(t))},[f]),m=(0,i.useCallback)(()=>{f(-2),n.current?.focus()},[n,f]);return(0,i.useEffect)(()=>{if(!u)return;let e=requestAnimationFrame(()=>{if(-1===d){if("first"===r){let e=rv(a.current)[0];e&&f(a.current.indexOf(e))}if("last"===r){let e=rv(a.current),t=e[e.length-1];t&&f(a.current.indexOf(t))}return}(a.current[d]||null)?.focus()});return()=>cancelAnimationFrame(e)},[d,u,f,r]),{activeElement:s,activeIndex:d,handleItemMouseEnter:g,handleItemMouseLeave:m,handleKeyDown:h,mount:p}}(v),D=(0,i.useRef)(null);E[18]!==p?(w=e=>{D.current&&(D.current(),D.current=null),L.current=e,L.current&&p&&(D.current=p(L.current))},E[18]=p,E[19]=w):w=E[19];let V=w;return E[20]!==A||E[21]!==s?(y=()=>{s&&s(A)},x=[A,s],E[20]=A,E[21]=s,E[22]=y,E[23]=x):(y=E[22],x=E[23]),(0,i.useEffect)(y,x),E[24]===Symbol.for("react.memo_cache_sentinel")?($=()=>[L.current],E[24]=$):$=E[24],I(T&&d,$),E[25]!==T||E[26]!==l?(k=e=>{T&&"Escape"===e.key&&(e.stopPropagation(),l&&l())},E[25]=T,E[26]=l,E[27]=k):k=E[27],O(k),E[28]!==F||E[29]!==A||E[30]!==Q||E[31]!==B||E[32]!==H||E[33]!==d||E[34]!==l||E[35]!==c||E[36]!==p?(j={version:0,activeElement:F,activeIndex:A,mount:H,onClickOutside:d,onEscape:l,onItemClick:c,onItemMouseEnter:Q,onItemMouseLeave:B,registerElement:p,onMouseEnter:Q,onMouseLeave:B},E[28]=F,E[29]=A,E[30]=Q,E[31]=B,E[32]=H,E[33]=d,E[34]=l,E[35]=c,E[36]=p,E[37]=j):j=E[37],z=j,E[38]!==a||E[39]!==_?(S=(0,r.jsx)(oH,{space:_,children:a}),E[38]=a,E[39]=_,E[40]=S):S=E[40],E[41]!==P||E[42]!==V||E[43]!==N||E[44]!==h||E[45]!==S?(R=(0,r.jsx)(ry,{"data-ui":"Menu",...h,onKeyDown:P,padding:N,ref:V,role:"menu",tabIndex:-1,children:S}),E[41]=P,E[42]=V,E[43]=N,E[44]=h,E[45]=S,E[46]=R):R=E[46],E[47]!==R||E[48]!==z?(C=(0,r.jsx)(rm.Provider,{value:z,children:R}),E[47]=R,E[48]=z,E[49]=C):C=E[49],C});rx.displayName="ForwardRef(Menu)";let r$=a.zo.hr.withConfig({displayName:"MenuDivider",componentId:"sc-uhoxwu-0"})`height:1px;border:0;background:var(--card-hairline-soft-color);margin:0;`;r$.displayName="MenuDivider";let rk=(0,a.zo)(ta).withConfig({displayName:"Selectable",componentId:"sc-1w01ang-0"})(eq,function(){return(0,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(0,a.iv)` 993 ${tm(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 ${tm(o,n.disabled)} 1003 } 1004 1005 &:not(:disabled) { 1006 &[aria-pressed='true'] { 1007 ${tm(o,n.pressed)} 1008 } 1009 1010 &[data-selected], 1011 &[aria-selected='true'] > & { 1012 ${tm(o,n.selected)} 1013 } 1014 1015 @media (hover: hover) { 1016 &:not([data-selected]) { 1017 &[data-hovered], 1018 &:hover { 1019 ${tm(o,n.hovered)} 1020 } 1021 1022 &:active { 1023 ${tm(o,n.pressed)} 1024 } 1025 } 1026 } 1027 } 1028 } 1029 1030 /* &:is(a) */ 1031 &[data-as='a'] { 1032 &[data-disabled] { 1033 ${tm(o,n.disabled)} 1034 } 1035 1036 &:not([data-disabled]) { 1037 &[data-pressed] { 1038 ${tm(o,n.pressed)} 1039 } 1040 1041 &[data-selected] { 1042 ${tm(o,n.selected)} 1043 } 1044 1045 @media (hover: hover) { 1046 &:not([data-selected]) { 1047 &[data-hovered], 1048 &:hover { 1049 ${tm(o,n.hovered)} 1050 } 1051 &:active { 1052 ${tm(o,n.pressed)} 1053 } 1054 } 1055 } 1056 } 1057 } 1058 1059 ${r?.card?.root} 1060 `});function rz(){let e=(0,i.useContext)(rm);
1060if(!e)throw Error("useMenu(): missing context value");if(!tU(e)||0!==e.version)throw Error("useMenu(): the context value is not compatible");return e}function rj(e){let t,o,a,d,l,c,f,p,h,g,m,b,v,w,y,x,$,k,z,j,S,R,C,E,I,_,M,L,T,F,O,A,Q,B,P;let H=(0,n.c)(79);H[0]!==e?({as:f,children:o,fontSize:p,icon:t,menu:a,onClick:d,padding:h,popover:l,radius:g,space:m,text:v,tone:b,...c}=e,H[0]=e,H[1]=t,H[2]=o,H[3]=a,H[4]=d,H[5]=l,H[6]=c,H[7]=f,H[8]=p,H[9]=h,H[10]=g,H[11]=m,H[12]=b,H[13]=v):(t=H[1],o=H[2],a=H[3],d=H[4],l=H[5],c=H[6],f=H[7],p=H[8],h=H[9],g=H[10],m=H[11],b=H[12],v=H[13]);let V=void 0===f?"button":f,W=void 0===p?1:p,G=void 0===h?3:h,X=void 0===g?2:g,Y=void 0===m?3:m,q=void 0===b?"default":b,K=rz(),{scheme:Z}=D(),{activeElement:U,mount:J,onClickOutside:ee,onEscape:et,onItemClick:eo,onItemMouseEnter:er,registerElement:en}=K,ei=er??K.onMouseEnter,[ea,ed]=(0,i.useState)(null),[el,ec]=(0,i.useState)(!1),[es,eu]=(0,i.useState)(null),ef=!!U&&U===ea,[ep,eh]=(0,i.useState)(!1);H[14]!==ei?(w=e=>{eh(!1),ei(e),ec(!0)},H[14]=ei,H[15]=w):w=H[15];let eg=w;H[16]!==ea?(y=e=>{"ArrowLeft"===e.key&&(e.stopPropagation(),ec(!1),requestAnimationFrame(()=>{ea?.focus()}))},H[16]=ea,H[17]=y):y=H[17];let em=y;H[18]!==d?(x=e=>{d?.(e),eu("first"),ec(!0)},H[18]=d,H[19]=x):x=H[19];let eb=x;H[20]!==eo?($=()=>{ec(!1),eo?.()},H[20]=eo,H[21]=$):$=H[21];let ev=$;H[22]===Symbol.for("react.memo_cache_sentinel")?(k=()=>eh(!0),H[22]=k):k=H[22];let ew=k;H[23]!==J||H[24]!==ea?(z=()=>J(ea),j=[J,ea],H[23]=J,H[24]=ea,H[25]=z,H[26]=j):(z=H[25],j=H[26]),(0,i.useEffect)(z,j),H[27]!==ef?(S=()=>{ef||ec(!1)},R=[ef],H[27]=ef,H[28]=S,H[29]=R):(S=H[28],R=H[29]),(0,i.useEffect)(S,R),H[30]!==el?(C=()=>{el||eh(!1)},E=[el],H[30]=el,H[31]=C,H[32]=E):(C=H[31],E=H[32]),(0,i.useEffect)(C,E),H[33]!==es?(I=()=>{if(!es)return;let e=requestAnimationFrame(()=>eu(null));return()=>cancelAnimationFrame(e)},_=[es],H[33]=es,H[34]=I,H[35]=_):(I=H[34],_=H[35]),(0,i.useEffect)(I,_),H[36]!==o||H[37]!==ev||H[38]!==em||H[39]!==a||H[40]!==ee||H[41]!==et||H[42]!==en||H[43]!==es?(M=(0,r.jsx)(rx,{...a,onClickOutside:ee,onEscape:et,onItemClick:ev,onKeyDown:em,onMouseEnter:ew,registerElement:en,shouldFocus:es,children:o}),H[36]=o,H[37]=ev,H[38]=em,H[39]=a,H[40]=ee,H[41]=et,H[42]=en,H[43]=es,H[44]=M):M=H[44];let ey=M;H[45]===Symbol.for("react.memo_cache_sentinel")?(L=e=>{let t=e.currentTarget;if(document.activeElement===t&&"ArrowRight"===e.key){eu("first"),ec(!0),eh(!0);return}},H[45]=L):L=H[45];let ex=L,e$="button"===V?ep:void 0,ek="button"!==V?ep:void 0,ez=!ep&&ef?"":void 0,ej=N(X),eS="button"===V?"button":void 0;return H[46]!==t||H[47]!==W?(T=t&&(0,r.jsxs)(tl,{size:W,children:[(0,i.isValidElement)(t)&&t,(0,s.isValidElementType)(t)&&(0,r.jsx)(t,{})]}),H[46]=t,H[47]=W,H[48]=T):T=H[48],H[49]!==W||H[50]!==v?(F=(0,r.jsx)(ta,{flex:1,children:(0,r.jsx)(tl,{size:W,textOverflow:"ellipsis",weight:"medium",children:v})}),H[49]=W,H[50]=v,H[51]=F):F=H[51],H[52]===Symbol.for("react.memo_cache_sentinel")?(O=(0,r.jsx)(u.XCv,{}),H[52]=O):O=H[52],H[53]!==W?(A=(0,r.jsx)(tl,{size:W,children:O}),H[53]=W,H[54]=A):A=H[54],H[55]!==G||H[56]!==Y||H[57]!==T||H[58]!==F||H[59]!==A?(Q=(0,r.jsxs)(tf,{gap:Y,padding:G,children:[T,F,A]}),H[55]=G,H[56]=Y,H[57]=T,H[58]=F,H[59]=A,H[60]=Q):Q=H[60],H[61]!==V||H[62]!==eb||H[63]!==eg||H[64]!==c||H[65]!==Z||H[66]!==e$||H[67]!==ek||H[68]!==ez||H[69]!==ej||H[70]!==eS||H[71]!==Q||H[72]!==q?(B=(0,r.jsx)(rk,{"data-as":V,"data-ui":"MenuGroup",forwardedAs:V,...c,"aria-pressed":e$,"data-pressed":ek,"data-selected":ez,$radius:ej,$tone:q,$scheme:Z,onClick:eb,onKeyDown:ex,onMouseEnter:eg,ref:ed,tabIndex:-1,type:eS,children:Q}),H[61]=V,H[62]=eb,H[63]=eg,H[64]=c,H[65]=Z,H[66]=e$,H[67]=ek,H[68]=ez,H[69]=ej,H[70]=eS,H[71]=Q,H[72]=q,H[73]=B):B=H[73],H[74]!==ey||H[75]!==el||H[76]!==l||H[77]!==B?(P=(0,r.jsx)(oE,{...l,content:ey,"data-ui":"MenuGroup__popover",open:el,children:B}),H[74]=ey,H[75]=el,H[76]=l,H[77]=B,H[78]=P):P=H[78],P}rk.displayName="Selectable",rj.displayName="MenuGroup";let rS=(0,i.forwardRef)(function(e,t){let o,a,d,l,c,u,f,p,h,g,m,b,v,w,y,x,$,k,z,j,S,R,C,E,I,_,M,L,T,F,O,A,Q;let B=(0,n.c)(74);B[0]!==e?({as:x,children:d,disabled:l,fontSize:$,hotkeys:c,icon:o,iconRight:a,onClick:u,padding:k,paddingX:m,paddingY:b,paddingTop:g,paddingRight:h,paddingBottom:f,paddingLeft:p,pressed:v,radiu
1060s:z,selected:y,space:j,text:R,tone:S,...w}=e,B[0]=e,B[1]=o,B[2]=a,B[3]=d,B[4]=l,B[5]=c,B[6]=u,B[7]=f,B[8]=p,B[9]=h,B[10]=g,B[11]=m,B[12]=b,B[13]=v,B[14]=w,B[15]=y,B[16]=x,B[17]=$,B[18]=k,B[19]=z,B[20]=j,B[21]=S,B[22]=R):(o=B[1],a=B[2],d=B[3],l=B[4],c=B[5],u=B[6],f=B[7],p=B[8],h=B[9],g=B[10],m=B[11],b=B[12],v=B[13],w=B[14],y=B[15],x=B[16],$=B[17],k=B[18],z=B[19],j=B[20],S=B[21],R=B[22]);let P=void 0===x?"button":x,H=void 0===$?1:$,V=void 0===k?3:k,W=void 0===z?2:z,G=void 0===j?3:j,X=void 0===S?"default":S,{scheme:Y}=D(),q=rz(),{activeElement:K,mount:Z,onItemClick:U,onItemMouseEnter:J,onItemMouseLeave:ee}=q,et=J??q.onMouseEnter,eo=ee??q.onMouseLeave,[er,en]=(0,i.useState)(null),ei=!!K&&K===er,ea=(0,i.useRef)(null);B[23]===Symbol.for("react.memo_cache_sentinel")?(C=()=>ea.current,B[23]=C):C=B[23],(0,i.useImperativeHandle)(t,C),B[24]!==Z||B[25]!==er||B[26]!==y?(E=()=>Z(er,y),I=[Z,er,y],B[24]=Z,B[25]=er,B[26]=y,B[27]=E,B[28]=I):(E=B[27],I=B[28]),(0,i.useEffect)(E,I),B[29]!==l||B[30]!==u||B[31]!==U?(_=e=>{l||(u&&u(e),U&&U())},B[29]=l,B[30]=u,B[31]=U,B[32]=_):_=B[32];let ed=_;B[33]!==V||B[34]!==f||B[35]!==p||B[36]!==h||B[37]!==g||B[38]!==m||B[39]!==b?(L={padding:V,paddingX:m,paddingY:b,paddingTop:g,paddingRight:h,paddingBottom:f,paddingLeft:p},B[33]=V,B[34]=f,B[35]=p,B[36]=h,B[37]=g,B[38]=m,B[39]=b,B[40]=L):L=B[40],M=L;let el=N(H);B[41]!==el?(T=el.map(rR),B[41]=el,B[42]=T):T=B[42];let ec=T;B[43]===Symbol.for("react.memo_cache_sentinel")?(F=e=>{ea.current=e,en(e)},B[43]=F):F=B[43];let es=F,eu="button"===P&&v,ef="button"!==P&&v?"":void 0,ep=ei?"":void 0,eh=l?"":void 0,eg=N(W),em=N(0),eb=l?"default":X,ev="button"===P?"button":void 0;return B[44]!==o||B[45]!==a||B[46]!==H||B[47]!==c||B[48]!==ec||B[49]!==M||B[50]!==G||B[51]!==R?(O=(o||R||a)&&(0,r.jsxs)(tf,{as:"span",gap:G,align:"center",...M,children:[o&&(0,r.jsxs)(tl,{size:H,children:[(0,i.isValidElement)(o)&&o,(0,s.isValidElementType)(o)&&(0,r.jsx)(o,{})]}),R&&(0,r.jsx)(ta,{flex:1,children:(0,r.jsx)(tl,{size:H,textOverflow:"ellipsis",weight:"medium",children:R})}),c&&(0,r.jsx)(rg,{fontSize:ec,keys:c,style:{marginTop:-4,marginBottom:-4}}),a&&(0,r.jsxs)(tl,{size:H,children:[(0,i.isValidElement)(a)&&a,(0,s.isValidElementType)(a)&&(0,r.jsx)(a,{})]})]}),B[44]=o,B[45]=a,B[46]=H,B[47]=c,B[48]=ec,B[49]=M,B[50]=G,B[51]=R,B[52]=O):O=B[52],B[53]!==d||B[54]!==M?(A=d&&(0,r.jsx)(ta,{as:"span",...M,children:d}),B[53]=d,B[54]=M,B[55]=A):A=B[55],B[56]!==P||B[57]!==l||B[58]!==ed||B[59]!==et||B[60]!==eo||B[61]!==w||B[62]!==Y||B[63]!==eu||B[64]!==ef||B[65]!==ep||B[66]!==eh||B[67]!==eg||B[68]!==em||B[69]!==eb||B[70]!==ev||B[71]!==O||B[72]!==A?(Q=(0,r.jsxs)(rk,{"data-ui":"MenuItem",role:"menuitem",...w,"aria-pressed":eu,"data-pressed":ef,"data-selected":ep,"data-disabled":eh,forwardedAs:P,$radius:eg,$padding:em,$tone:eb,$scheme:Y,disabled:l,onClick:ed,onMouseEnter:et,onMouseLeave:eo,ref:es,tabIndex:-1,type:ev,children:[O,A]}),B[56]=P,B[57]=l,B[58]=ed,B[59]=et,B[60]=eo,B[61]=w,B[62]=Y,B[63]=eu,B[64]=ef,B[65]=ep,B[66]=eh,B[67]=eg,B[68]=em,B[69]=eb,B[70]=ev,B[71]=O,B[72]=A,B[73]=Q):Q=B[73],Q});function rR(e){return e-1}rS.displayName="ForwardRef(MenuItem)";let rC=(0,a.zo)(ty).withConfig({displayName:"CustomButton",componentId:"sc-1kns779-0"})`max-width:100%;`,rE=(0,i.forwardRef)(function(e,t){let o,a,d,l,c,s,u,f,p,h,g,m,b,v,w,y;let x=(0,n.c)(30);x[0]!==e?({icon:a,id:d,focused:o,fontSize:p,label:l,onClick:c,onFocus:s,padding:h,selected:f,...u}=e,x[0]=e,x[1]=o,x[2]=a,x[3]=d,x[4]=l,x[5]=c,x[6]=s,x[7]=u,x[8]=f,x[9]=p,x[10]=h):(o=x[1],a=x[2],d=x[3],l=x[4],c=x[5],s=x[6],u=x[7],f=x[8],p=x[9],h=x[10]);let $=void 0===p?1:p,k=void 0===h?2:h,z=(0,i.useRef)(null),j=(0,i.useRef)(!1);x[11]===Symbol.for("react.memo_cache_sentinel")?(g=()=>z.current,x[11]=g):g=x[11],(0,i.useImperativeHandle)(t,g),x[12]===Symbol.for("react.memo_cache_sentinel")?(m=()=>{j.current=!1},x[12]=m):m=x[12];let S=m;x[13]!==s?(b=e=>{j.current=!0,s&&s(e)},x[13]=s,x[14]=b):b=x[14];let R=b;x[15]!==o?(v=()=>{o&&!j.current&&(z.current&&z.current.focus(),j.current=!0)},w=[o],x[15]=o,x[16]=v,x[17]=w):(v=x[16],w=x[17]),(0,i.useEffect)(v,w);let C=f?"true":"false",E=f?0:-1;return x[18]!==$||x[19]!==R||x[20]!==a||x[21]!==d||x[22]!==l||x[23]!==c||x[24]!==k||x[25]!==u||x[26]!==f||x[27]!==C||x[28]!==E?(y=(0,r.jsx)(rC,{"data-ui":"Tab",...u,"aria-selected":C,fontSize:$,icon:a,id:d,mode:"bleed",onClick:c,onBlur:S,onFocus:R,padding:k,ref:z,role:"tab",selected:f,tabIndex:E,text:l,type:"button"}),x[18]=$,x[19]=R,x[20]=a,x[21]=d,x[22]=l,x[23]=c,x[24]=k,x[25]=u,x[26]=f,x[27]=C,x[28]=E,x[29]=y):y=x[29],y});rE.displayName="ForwardRef(Tab)";let rN=(0,a.zo)(tA).withConfig({displayName:"CustomInline",componentId:"sc-5cm04m-0"})`& > div{display:inline-block;vertical-align:middle;max-width:100%;box-sizing:border-box;}`,rI=(0,i.forwardRef)(function(e,t){let o,a,d,l,c;let s=(0,n.c)(15);s[0]!==e?({children:o,...a}=e,s[0]=e,s[1]=o,s[2]=a):(o=s[1],a=s[2]);let[u,f]=(0,i.useState)(-1);if(s[3]!==o||s[4]!==u){let e;let t=i.Children.toArray(o).filter(i.isValidElement);s[6]!==u?(e=(e,t)=>(0,i.cloneElement)(e,{focused:u===t,key:t,onFocus:()=>f(t)}),s[6]=u,s[7]=e):e=s[7],d=t.map(e),s[3]=o,s[4]=u,s[5]=d}else d=s[5];let p=d,h=p.length;s[8]!==h?(l=e=>{"ArrowLeft"===e.key&&f(e=>(e+h-1)%h),"ArrowRight"===e.key&&f(e=>(e+1)%h)},s[8]=h,s[9]=l):l=s[9];let g=l;return s[10]!==g||s[11]!==t||s[12]!==a||s[13]!==p?(c=(0,r.jsx)(rN,{"data-ui":"TabList",...a,onKeyDown:g,ref:t,role:"tablist",children:p}),s[10]=g,s[11]=t,s[12]=a,s[13]=p,s[14]=c):c=s[14],c});rI.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.