mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
295 lines
80 KiB
JavaScript
295 lines
80 KiB
JavaScript
|
import{v as p,eW as Ze,q as k,K as Mt,eX as Bt,W as dt,eY as c,eZ as v,a1 as Et,e_ as a,e$ as Dt,f0 as x,f1 as ct,f2 as jt,f3 as Rt,ar as Ht,f4 as Wt,U as Lt,f5 as Vt,f6 as Ot,f7 as qt,f8 as Nt}from"./index-4dfaefdd.js";import{u as Gt,M as Ut}from"./MantineProvider-7d837f42.js";var bt=String.raw,vt=bt`
|
||
|
:root,
|
||
|
:host {
|
||
|
--chakra-vh: 100vh;
|
||
|
}
|
||
|
|
||
|
@supports (height: -webkit-fill-available) {
|
||
|
:root,
|
||
|
:host {
|
||
|
--chakra-vh: -webkit-fill-available;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
@supports (height: -moz-fill-available) {
|
||
|
:root,
|
||
|
:host {
|
||
|
--chakra-vh: -moz-fill-available;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
@supports (height: 100dvh) {
|
||
|
:root,
|
||
|
:host {
|
||
|
--chakra-vh: 100dvh;
|
||
|
}
|
||
|
}
|
||
|
`,Yt=()=>p.jsx(Ze,{styles:vt}),Kt=({scope:e=""})=>p.jsx(Ze,{styles:bt`
|
||
|
html {
|
||
|
line-height: 1.5;
|
||
|
-webkit-text-size-adjust: 100%;
|
||
|
font-family: system-ui, sans-serif;
|
||
|
-webkit-font-smoothing: antialiased;
|
||
|
text-rendering: optimizeLegibility;
|
||
|
-moz-osx-font-smoothing: grayscale;
|
||
|
touch-action: manipulation;
|
||
|
}
|
||
|
|
||
|
body {
|
||
|
position: relative;
|
||
|
min-height: 100%;
|
||
|
margin: 0;
|
||
|
font-feature-settings: "kern";
|
||
|
}
|
||
|
|
||
|
${e} :where(*, *::before, *::after) {
|
||
|
border-width: 0;
|
||
|
border-style: solid;
|
||
|
box-sizing: border-box;
|
||
|
word-wrap: break-word;
|
||
|
}
|
||
|
|
||
|
main {
|
||
|
display: block;
|
||
|
}
|
||
|
|
||
|
${e} hr {
|
||
|
border-top-width: 1px;
|
||
|
box-sizing: content-box;
|
||
|
height: 0;
|
||
|
overflow: visible;
|
||
|
}
|
||
|
|
||
|
${e} :where(pre, code, kbd,samp) {
|
||
|
font-family: SFMono-Regular, Menlo, Monaco, Consolas, monospace;
|
||
|
font-size: 1em;
|
||
|
}
|
||
|
|
||
|
${e} a {
|
||
|
background-color: transparent;
|
||
|
color: inherit;
|
||
|
text-decoration: inherit;
|
||
|
}
|
||
|
|
||
|
${e} abbr[title] {
|
||
|
border-bottom: none;
|
||
|
text-decoration: underline;
|
||
|
-webkit-text-decoration: underline dotted;
|
||
|
text-decoration: underline dotted;
|
||
|
}
|
||
|
|
||
|
${e} :where(b, strong) {
|
||
|
font-weight: bold;
|
||
|
}
|
||
|
|
||
|
${e} small {
|
||
|
font-size: 80%;
|
||
|
}
|
||
|
|
||
|
${e} :where(sub,sup) {
|
||
|
font-size: 75%;
|
||
|
line-height: 0;
|
||
|
position: relative;
|
||
|
vertical-align: baseline;
|
||
|
}
|
||
|
|
||
|
${e} sub {
|
||
|
bottom: -0.25em;
|
||
|
}
|
||
|
|
||
|
${e} sup {
|
||
|
top: -0.5em;
|
||
|
}
|
||
|
|
||
|
${e} img {
|
||
|
border-style: none;
|
||
|
}
|
||
|
|
||
|
${e} :where(button, input, optgroup, select, textarea) {
|
||
|
font-family: inherit;
|
||
|
font-size: 100%;
|
||
|
line-height: 1.15;
|
||
|
margin: 0;
|
||
|
}
|
||
|
|
||
|
${e} :where(button, input) {
|
||
|
overflow: visible;
|
||
|
}
|
||
|
|
||
|
${e} :where(button, select) {
|
||
|
text-transform: none;
|
||
|
}
|
||
|
|
||
|
${e} :where(
|
||
|
button::-moz-focus-inner,
|
||
|
[type="button"]::-moz-focus-inner,
|
||
|
[type="reset"]::-moz-focus-inner,
|
||
|
[type="submit"]::-moz-focus-inner
|
||
|
) {
|
||
|
border-style: none;
|
||
|
padding: 0;
|
||
|
}
|
||
|
|
||
|
${e} fieldset {
|
||
|
padding: 0.35em 0.75em 0.625em;
|
||
|
}
|
||
|
|
||
|
${e} legend {
|
||
|
box-sizing: border-box;
|
||
|
color: inherit;
|
||
|
display: table;
|
||
|
max-width: 100%;
|
||
|
padding: 0;
|
||
|
white-space: normal;
|
||
|
}
|
||
|
|
||
|
${e} progress {
|
||
|
vertical-align: baseline;
|
||
|
}
|
||
|
|
||
|
${e} textarea {
|
||
|
overflow: auto;
|
||
|
}
|
||
|
|
||
|
${e} :where([type="checkbox"], [type="radio"]) {
|
||
|
box-sizing: border-box;
|
||
|
padding: 0;
|
||
|
}
|
||
|
|
||
|
${e} input[type="number"]::-webkit-inner-spin-button,
|
||
|
${e} input[type="number"]::-webkit-outer-spin-button {
|
||
|
-webkit-appearance: none !important;
|
||
|
}
|
||
|
|
||
|
${e} input[type="number"] {
|
||
|
-moz-appearance: textfield;
|
||
|
}
|
||
|
|
||
|
${e} input[type="search"] {
|
||
|
-webkit-appearance: textfield;
|
||
|
outline-offset: -2px;
|
||
|
}
|
||
|
|
||
|
${e} input[type="search"]::-webkit-search-decoration {
|
||
|
-webkit-appearance: none !important;
|
||
|
}
|
||
|
|
||
|
${e} ::-webkit-file-upload-button {
|
||
|
-webkit-appearance: button;
|
||
|
font: inherit;
|
||
|
}
|
||
|
|
||
|
${e} details {
|
||
|
display: block;
|
||
|
}
|
||
|
|
||
|
${e} summary {
|
||
|
display: list-item;
|
||
|
}
|
||
|
|
||
|
template {
|
||
|
display: none;
|
||
|
}
|
||
|
|
||
|
[hidden] {
|
||
|
display: none !important;
|
||
|
}
|
||
|
|
||
|
${e} :where(
|
||
|
blockquote,
|
||
|
dl,
|
||
|
dd,
|
||
|
h1,
|
||
|
h2,
|
||
|
h3,
|
||
|
h4,
|
||
|
h5,
|
||
|
h6,
|
||
|
hr,
|
||
|
figure,
|
||
|
p,
|
||
|
pre
|
||
|
) {
|
||
|
margin: 0;
|
||
|
}
|
||
|
|
||
|
${e} button {
|
||
|
background: transparent;
|
||
|
padding: 0;
|
||
|
}
|
||
|
|
||
|
${e} fieldset {
|
||
|
margin: 0;
|
||
|
padding: 0;
|
||
|
}
|
||
|
|
||
|
${e} :where(ol, ul) {
|
||
|
margin: 0;
|
||
|
padding: 0;
|
||
|
}
|
||
|
|
||
|
${e} textarea {
|
||
|
resize: vertical;
|
||
|
}
|
||
|
|
||
|
${e} :where(button, [role="button"]) {
|
||
|
cursor: pointer;
|
||
|
}
|
||
|
|
||
|
${e} button::-moz-focus-inner {
|
||
|
border: 0 !important;
|
||
|
}
|
||
|
|
||
|
${e} table {
|
||
|
border-collapse: collapse;
|
||
|
}
|
||
|
|
||
|
${e} :where(h1, h2, h3, h4, h5, h6) {
|
||
|
font-size: inherit;
|
||
|
font-weight: inherit;
|
||
|
}
|
||
|
|
||
|
${e} :where(button, input, optgroup, select, textarea) {
|
||
|
padding: 0;
|
||
|
line-height: inherit;
|
||
|
color: inherit;
|
||
|
}
|
||
|
|
||
|
${e} :where(img, svg, video, canvas, audio, iframe, embed, object) {
|
||
|
display: block;
|
||
|
}
|
||
|
|
||
|
${e} :where(img, video) {
|
||
|
max-width: 100%;
|
||
|
height: auto;
|
||
|
}
|
||
|
|
||
|
[data-js-focus-visible]
|
||
|
:focus:not([data-focus-visible-added]):not(
|
||
|
[data-focus-visible-disabled]
|
||
|
) {
|
||
|
outline: none;
|
||
|
box-shadow: none;
|
||
|
}
|
||
|
|
||
|
${e} select::-ms-expand {
|
||
|
display: none;
|
||
|
}
|
||
|
|
||
|
${vt}
|
||
|
`}),ze={light:"chakra-ui-light",dark:"chakra-ui-dark"};function Xt(e={}){const{preventTransition:r=!0}=e,t={setDataset:n=>{const i=r?t.preventTransition():void 0;document.documentElement.dataset.theme=n,document.documentElement.style.colorScheme=n,i==null||i()},setClassName(n){document.body.classList.add(n?ze.dark:ze.light),document.body.classList.remove(n?ze.light:ze.dark)},query(){return window.matchMedia("(prefers-color-scheme: dark)")},getSystemTheme(n){var i;return((i=t.query().matches)!=null?i:n==="dark")?"dark":"light"},addListener(n){const i=t.query(),l=s=>{n(s.matches?"dark":"light")};return typeof i.addListener=="function"?i.addListener(l):i.addEventListener("change",l),()=>{typeof i.removeListener=="function"?i.removeListener(l):i.removeEventListener("change",l)}},preventTransition(){const n=document.createElement("style");return n.appendChild(document.createTextNode("*{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}")),document.head.appendChild(n),()=>{window.getComputedStyle(document.body),requestAnimationFrame(()=>{requestAnimationFrame(()=>{document.head.removeChild(n)})})}}};return t}var Zt="chakra-ui-color-mode";function ut(e){return{ssr:!1,type:"localStorage",get(r){if(!(globalThis!=null&&globalThis.document))return r;let t;try{t=localStorage.getItem(e)||r}catch{}return t||r},set(r){try{localStorage.setItem(e,r)}catch{}}}}var Jt=ut(Zt),Ar=()=>{};function Pr(e,r){return e.type==="cookie"&&e.ssr?e.get(r):r}function ft(e){const{value:r,children:t,options:{useSystemColorMode:n,initialColorMode:i,disableTransitionOnChange:l}={},colorModeManager:s=Jt}=e,d=i==="dark"?"dark":"light",[b,$]=k.useState(()=>Pr(s,d)),[u,m]=k.useState(()=>Pr(s)),{getSystemTheme:_,setClassName:I,setDataset:ke,addListener:zr}=k.useMemo(()=>Xt({preventTransition:l}),[l]),_e=i==="system"&&!b?u:b,M=k.useCallback(oe=>{const we=oe==="system"?_():oe;$(we),I(we==="dark"),ke(we),s.set(we)},[s,_,I,ke]);Mt(()=>{i==="system"&&m(_())},[]),k.useEffect(()=>{const oe=s.get();if(oe){M(oe);return}if(i==="system"){M("system");return}M(d)},[s,d,i,M]);const Cr=k.useCallback(()=>{M(_e==="dark"?"light":"dark")},[_e,M]);k.useEffect(()=>{if(n)return zr(M)},[n,zr,M]);const It=k.useMemo(()=>({colorMode:r??_e,toggleColorMode:r?Ar:Cr,setColorMode:r?Ar:M,forced:r!==void 0}),[_e,Cr,M,r]);return p.jsx(Bt.Provider,{value:It,children:t})}ft.displayName="ColorModeProvider";var Qt=["borders","breakpoints","colors","components","config","direction","fonts","fontSizes","fontWeights","letterSpacings","lineHeights","radii","shadows","sizes","space","styles","transition","zIndices"];function ea(e){return dt(e)?Qt.every(r=>Object.prototype.hasOwnProperty.call(e,r)):!1}var ra={common:"background-color, border-color, color, fill, stroke, opacity, box-shadow, transform",colors:"background-color, border-color, color, fill, stroke",dimensions:"width, height",position:"left, right, top, bottom",background:"background-color, background-image, background-position"},ta={"ease-in":"cubic-bezier(0.4, 0, 1, 1)","ease-out":"cubic-bezier(0, 0, 0.2, 1)","ease-in-out":"cubic-bezier(0.4, 0, 0.2, 1)"},aa={"ultra-fast":"50ms",faster:"100ms",fast:"150ms",normal:"200ms",slow:"300ms",slower:"400ms","ultra-slow":"500ms"},oa={property:ra,easing:ta,duration:aa},na=oa,ia={hide:-1,auto:"auto",base:0,docked:10,dropdown:1e3,sticky:1100,banner:1200,overlay:1300,modal:1400,popover:1500,skipLink:1600,toast:1700,tooltip:1800},la=ia,sa={none:0,"1px":"1px solid","2px":"2px solid","4px":"4px solid","8px":"8px solid"},da=sa,ca={base:"0em",sm:"30em",md:"48em",lg:"62em",xl:"80em","2xl":"96em"},ba=ca,va={transparent:"transparent",current:"currentColor",black:"#000000",white:"#FFFFFF",whiteAlpha:{50:"rgba(255, 255, 255, 0.04)",100:"rgba(255, 255, 255, 0.06)",200:"rgba(255, 255, 255, 0.08)",300:"rgba(255, 255, 255, 0.16)",400:"rgba(255, 255, 255, 0.24)",500:"rgba(255, 255, 255, 0.36)",600:"rgba(255, 255, 255, 0.48)",700:"rgba(255, 255, 255, 0.64)",800:"rgba(255, 255, 255, 0.80)",900:"rgba(255, 255, 255, 0.92)"}
|
||
|
45deg,
|
||
|
${r} 25%,
|
||
|
transparent 25%,
|
||
|
transparent 50%,
|
||
|
${r} 50%,
|
||
|
${r} 75%,
|
||
|
transparent 75%,
|
||
|
transparent
|
||
|
)`,backgroundSize:`${e} ${e}`}}var yo=()=>`#${Math.floor(Math.random()*16777215).toString(16).padEnd(6,"0")}`;function po(e){const r=yo();return!e||fo(e)?r:e.string&&e.colors?xo(e.string,e.colors):e.string&&!e.colors?So(e.string):e.colors&&!e.string?$o(e.colors):r}function So(e){let r=0;if(e.length===0)return r.toString();for(let n=0;n<e.length;n+=1)r=e.charCodeAt(n)+((r<<5)-r),r=r&r;let t="#";for(let n=0;n<3;n+=1){const i=r>>n*8&255;t+=`00${i.toString(16)}`.substr(-2)}return t}function xo(e,r){let t=0;if(e.length===0)return r[0];for(let n=0;n<e.length;n+=1)t=e.charCodeAt(n)+((t<<5)-t),t=t&t;return t=(t%r.length+r.length)%r.length,r[t]}function $o(e){return e[Math.floor(Math.random()*e.length)]}function o(e,r){return t=>t.colorMode==="dark"?r:e}function $r(e){const{orientation:r,vertical:t,horizontal:n}=e;return r?r==="vertical"?t:n:{}}function yt(e){return dt(e)&&e.reference?e.reference:String(e)}var Je=(e,...r)=>r.map(yt).join(` ${e} `).replace(/calc/g,""),Mr=(...e)=>`calc(${Je("+",...e)})`,Br=(...e)=>`calc(${Je("-",...e)})`,gr=(...e)=>`calc(${Je("*",...e)})`,Er=(...e)=>`calc(${Je("/",...e)})`,Dr=e=>{const r=yt(e);return r!=null&&!Number.isNaN(parseFloat(r))?String(r).startsWith("-")?String(r).slice(1):`-${r}`:gr(r,-1)},j=Object.assign(e=>({add:(...r)=>j(Mr(e,...r)),subtract:(...r)=>j(Br(e,...r)),multiply:(...r)=>j(gr(e,...r)),divide:(...r)=>j(Er(e,...r)),negate:()=>j(Dr(e)),toString:()=>e.toString()}),{add:Mr,subtract:Br,multiply:gr,divide:Er,negate:Dr});function ko(e){return!Number.isInteger(parseFloat(e.toString()))}function _o(e,r="-"){return e.replace(/\s+/g,r)}function pt(e){const r=_o(e.toString());return r.includes("\\.")?e:ko(e)?r.replace(".","\\."):e}function wo(e,r=""){return[r,pt(e)].filter(Boolean).join("-")}function zo(e,r){return`var(${pt(e)}${r?`, ${r}`:""})`}function Co(e,r=""){return`--${wo(e,r)}`}function y(e,r){const t=Co(e,r==null?void 0:r.prefix);return{variable:t,reference:zo(t,Ao(r==null?void 0:r.fallback))}}function Ao(e){return typeof e=="string"?e:e==null?void 0:e.reference}var{defineMultiStyleConfig:Po,definePartsStyle:He}=v(Ya.keys),ue=y("switch-track-width"),G=y("switch-track-height"),rr=y("switch-track-diff"),To=j.subtract(ue,G),yr=y("switch-thumb-x"),ie=y("switch-bg"),Fo=a(e=>{const{colorScheme:r}=e;return{borderRadius:"full",p:"0.5",width:[ue.reference],height:[G.reference],transitionProperty:"common",transitionDuration:"fast",[ie.variable]:"colors.gray.300",_dark:{[ie.variable]:"colors.whiteAlpha.400"},_focusVisible:{boxShadow:"outline"},_disabled:{opacity:.4,cursor:"not-allowed"},_checked:{[ie.variable]:`colors.${r}.500`,_dark:{[ie.variable]:`colors.${r}.200`}},bg:ie.reference}}),Io=a({bg:"white",transitionProperty:"transform",transitionDuration:"normal",borderRadius:"inherit",width:[G.reference],height:[G.reference],_checked:{transform:`translateX(${yr.reference})`}}),Mo=He(e=>({container:{[rr.variable]:To,[yr.variable]:rr.reference,_rtl:{[yr.variable]:j(rr).negate().toString()}},track:Fo(e),thumb:Io})),Bo={sm:He({container:{[ue.variable]:"1.375rem",[G.variable]:"sizes.3"}}),md:He({container:{[ue.variable]:"1.875rem",[G.variable]:"sizes.4"}}),lg:He({container:{[ue.variable]:"2.875rem",[G.variable]:"sizes.6"}})},Eo=Po({baseStyle:Mo,sizes:Bo,defaultProps:{size:"md",colorScheme:"blue"}}),{defineMultiStyleConfig:Do,definePartsStyle:J}=v(Ka.keys),jo=J({table:{fontVariantNumeric:"lining-nums tabular-nums",borderCollapse:"collapse",width:"full"},th:{fontFamily:"heading",fontWeight:"bold",textTransform:"uppercase",letterSpacing:"wider",textAlign:"start"},td:{textAlign:"start"},caption:{mt:4,fontFamily:"heading",textAlign:"center",fontWeight:"medium"}}),Ye=a({"&[data-is-numeric=true]":{textAlign:"end"}}),Ro=J(e=>{const{colorScheme:r}=e;return{th:{color:o("gray.600","gray.400")(e),borderBottom:"1px",borderColor:o(`${r}.100`,`${r}.700`)(e),...Ye},td:{borderBottom:"1px",borderColor:o(`${r}.100`,`${r}.700`)(e),...Ye},caption:{color:o("gray.600","gray.100")(e)},tfoot:{tr:{"&:last-of-type":{th:{borderBottomWidth:0}}}}}}),Ho=J(e=>{const{colorScheme:r}=e;return{th:{color:o("gray.600","gray.400")(e
|
||
|
to right,
|
||
|
transparent 0%,
|
||
|
${F(t,s)} 50%,
|
||
|
transparent 100%
|
||
|
)`;return{...!n&&i&&l,...n?{bgImage:d}:{bgColor:s}}}),En=a({lineHeight:"1",fontSize:"0.25em",fontWeight:"bold",color:"white"}),Dn=a(e=>({bg:o("gray.100","whiteAlpha.300")(e)})),jn=a(e=>({transitionProperty:"common",transitionDuration:"slow",...Bn(e)})),Rn=be(e=>({label:En,filledTrack:jn(e),track:Dn(e)})),Hn={xs:be({track:{h:"1"}}),sm:be({track:{h:"2"}}),md:be({track:{h:"3"}}),lg:be({track:{h:"4"}})},Wn=Mn({sizes:Hn,baseStyle:Rn,defaultProps:{size:"md",colorScheme:"blue"}}),Ln=e=>typeof e=="function";function w(e,...r){return Ln(e)?e(...r):e}var{definePartsStyle:qe,defineMultiStyleConfig:Vn}=v(Ia.keys),me=c("checkbox-size"),On=a(e=>{const{colorScheme:r}=e;return{w:me.reference,h:me.reference,transitionProperty:"box-shadow",transitionDuration:"normal",border:"2px solid",borderRadius:"sm",borderColor:"inherit",color:"white",_checked:{bg:o(`${r}.500`,`${r}.200`)(e),borderColor:o(`${r}.500`,`${r}.200`)(e),color:o("white","gray.900")(e),_hover:{bg:o(`${r}.600`,`${r}.300`)(e),borderColor:o(`${r}.600`,`${r}.300`)(e)},_disabled:{borderColor:o("gray.200","transparent")(e),bg:o("gray.200","whiteAlpha.300")(e),color:o("gray.500","whiteAlpha.500")(e)}},_indeterminate:{bg:o(`${r}.500`,`${r}.200`)(e),borderColor:o(`${r}.500`,`${r}.200`)(e),color:o("white","gray.900")(e)},_disabled:{bg:o("gray.100","whiteAlpha.100")(e),borderColor:o("gray.100","transparent")(e)},_focusVisible:{boxShadow:"outline"},_invalid:{borderColor:o("red.500","red.300")(e)}}}),qn=a({_disabled:{cursor:"not-allowed"}}),Nn=a({userSelect:"none",_disabled:{opacity:.4}}),Gn=a({transitionProperty:"transform",transitionDuration:"normal"}),Un=qe(e=>({icon:Gn,container:qn,control:w(On,e),label:Nn})),Yn={sm:qe({control:{[me.variable]:"sizes.3"},label:{fontSize:"sm"},icon:{fontSize:"3xs"}}),md:qe({control:{[me.variable]:"sizes.4"},label:{fontSize:"md"},icon:{fontSize:"2xs"}}),lg:qe({control:{[me.variable]:"sizes.5"},label:{fontSize:"lg"},icon:{fontSize:"2xs"}})},Ke=Vn({baseStyle:Un,sizes:Yn,defaultProps:{size:"md",colorScheme:"blue"}}),{defineMultiStyleConfig:Kn,definePartsStyle:Ne}=v(qa.keys),Xn=a(e=>{var r;const t=(r=w(Ke.baseStyle,e))==null?void 0:r.control;return{...t,borderRadius:"full",_checked:{...t==null?void 0:t._checked,_before:{content:'""',display:"inline-block",pos:"relative",w:"50%",h:"50%",borderRadius:"50%",bg:"currentColor"}}}}),Zn=Ne(e=>{var r,t,n,i;return{label:(t=(r=Ke).baseStyle)==null?void 0:t.call(r,e).label,container:(i=(n=Ke).baseStyle)==null?void 0:i.call(n,e).container,control:Xn(e)}}),Jn={md:Ne({control:{w:"4",h:"4"},label:{fontSize:"md"}}),lg:Ne({control:{w:"5",h:"5"},label:{fontSize:"lg"}}),sm:Ne({control:{width:"3",height:"3"},label:{fontSize:"sm"}})},Qn=Kn({baseStyle:Zn,sizes:Jn,defaultProps:{size:"md",colorScheme:"blue"}}),{defineMultiStyleConfig:ei,definePartsStyle:ri}=v(Na.keys),Pe=c("select-bg"),Xr,ti=a({...(Xr=f.baseStyle)==null?void 0:Xr.field,appearance:"none",paddingBottom:"1px",lineHeight:"normal",bg:Pe.reference,[Pe.variable]:"colors.white",_dark:{[Pe.variable]:"colors.gray.700"},"> option, > optgroup":{bg:Pe.reference}}),ai=a({width:"6",height:"100%",insetEnd:"2",position:"relative",color:"currentColor",fontSize:"xl",_disabled:{opacity:.5}}),oi=ri({field:ti,icon:ai}),Te=a({paddingInlineEnd:"8"}),Zr,Jr,Qr,et,rt,tt,at,ot,ni={lg:{...(Zr=f.sizes)==null?void 0:Zr.lg,field:{...(Jr=f.sizes)==null?void 0:Jr.lg.field,...Te}},md:{...(Qr=f.sizes)==null?void 0:Qr.md,field:{...(et=f.sizes)==null?void 0:et.md.field,...Te}},sm:{...(rt=f.sizes)==null?void 0:rt.sm,field:{...(tt=f.sizes)==null?void 0:tt.sm.field,...Te}},xs:{...(at=f.sizes)==null?void 0:at.xs,field:{...(ot=f.sizes)==null?void 0:ot.xs.field,...Te},icon:{insetEnd:"1"}}},ii=ei({baseStyle:oi,sizes:ni,variants:f.variants,defaultProps:f.defaultProps}),or=c("skeleton-start-color"),nr=c("skeleton-end-color"),li=a({[or.variable]:"colors.gray.100",[nr.variable]:"colors.gray.400",_dark:{[or.variable]:"colors.gray.800",[nr.variable]:"colors.gray.600"},background:or.reference,borderColor:nr.reference,opacity:.7,borderRadius:"sm"}),si=x({baseStyle:li}),ir=c("skip-link-bg"),di=a({borderRadius:"md",
|