1import{g as C,r as o,j as s}from"./client-BLZHgAOY.js";var R=C(),P=Object.defineProperty,S=Object.defineProperties,$=Object.getOwnPropertyDescriptors,h=Object.getOwnPropertySymbols,j=Object.prototype.hasOwnProperty,O=Object.prototype.propertyIsEnumerable,b=(e,r,n)=>r in e?P(e,r,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[r]=n,E=(e,r)=>{for(var n in r||(r={}))j.call(r,n)&&b(e,n,r[n]);if(h)for(var n of h(r))O.call(r,n)&&b(e,n,r[n]);return e},U=(e,r)=>S(e,$(r)),D=(e,r)=>{var n={};for(var t in e)j.call(e,t)&&r.indexOf(t)<0&&(n[t]=e[t]);if(e!=null&&h)for(var t of h(e))r.indexOf(t)<0&&O.call(e,t)&&(n[t]=e[t]);return n},V={accent:"var(--clay-icon-accent)",critical:"var(--clay-icon-critical)"},W=e=>{var r=e,{variant:n="accent"}=r,t=D(r,["variant"]);return s.jsx("div",{className:"clay-icon-dot",style:E({position:"absolute",top:"-0.0625em",right:"-0.125em",width:"0.5em",height:"0.5em",borderRadius:"50%",borderWidth:"0.075em",borderStyle:"solid",borderColor:"var(--clay-dot-bg, #fff)",background:V[n],transition:"background-color 100ms ease-out"},t)})},k={small:"12px",medium:"16px",large:"20px",xlarge:"24px"},Z=o.forwardRef(({children:e,rotate:r=0,color:n,fill:t="none",width:l,height:i,size:a="medium",hasDot:p,dotProps:u,colorToken:m="icon"},d)=>{let y=k[a]||a,c=f=>`var(--clay-${f}, #000)`;return s.jsxs("div",{ref:d,style:{position:"relative",display:"inline-flex",transform:`rotate(${r}deg)`,color:n||c(m),fontSize:y,fill:t,width:l||y,height:i||y},children:[e,p&&s.jsx(W,E({},u))]})});function w(e){var r,n,t="";if(typeof e=="string"||typeof e=="number")t+=e;else if(typeof e=="object")if(Array.isArray(e)){var l=e.length;for(r=0;r<l;r++)e[r]&&(n=w(e[r]))&&(t&&(t+=" "),t+=n)}else for(n in e)e[n]&&(t&&(t+=" "),t+=n);return t}function A(){for(var e,r,n=0,t="",l=arguments.length;n<l;n++)(e=arguments[n])&&(r=w(e))&&(t&&(t+=" "),t+=r);return t}var G=A;function x(e,r){if(typeof e=="function")return e(r);e!=null&&(e.current=r)}function N(...e){return r=>{let n=!1,t=e.map(l=>{let i=x(l,r);return!n&&typeof i=="function"&&(n=!0),i});if(n)return()=>{for(let l=0;l<t.length;l++){let i=t[l];typeof i=="function"?i():x(e[l],null)}}}}var z=o.forwardRef((e,r)=>{let{children:n,...t}=e,l=o.Children.toArray(n),i=l.find(q);if(i){let a=i.props.children,p=l.map(u=>u===i?o.Children.count(a)>1?o.Children.only(null):o.isValidElement(a)?a.props.children:null:u);return s.jsx(g,{...t,ref:r,children:o.isValidElement(a)?o.cloneElement(a,void 0,p):null})}return s.jsx(g,{...t,ref:r,children:n})});z.displayName="Slot";var g=o.forwardRef((e,r)=>{let{children:n,...t}=e;if(o.isValidElement(n)){let l=F(n);return o.cloneElement(n,{...B(t,n.props),ref:r?N(r,l):l})}return o.Children.count(n)>1?o.Children.only(null):null});g.displayName="SlotClone";var T=({children:e})=>s.jsx(s.Fragment,{children:e});function q(e){return o.isValidElement(e)&&e.type===T}function B(e,r){let n={...r};for(let t in r){let l=e[t],i=r[t];/^on[A-Z]/.test(t)?l&&i?n[t]=(...a)=>{i(...a),l(...a)}:l&&(n[t]=l):t==="style"?n[t]={...l,...i}:t==="className"&&(n[t]=[l,i].filter(Boolean).join(" "))}return{...e,...n}}function F(e){let r=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,n=r&&"isReactWarning"in r&&r.isReactWarning;return n?e.ref:(r=Object.getOwnPropertyDescriptor(e,"ref")?.get,n=r&&"isReactWarning"in r&&r.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}var H=({children:e,container:r=globalThis?.document?.body})=>!r||!o.isValidElement(e)?null:R.createPortal(e,r);function v(e,r=[]){let n=o.useRef(e);return o.useEffect(()=>{n.current=e}),o.useCallback((...t)=>{var l;return(l=n.current)==null?void 0:l.call(n,...t)},r)}function J(e){let{value:r,defaultValue:n,onChange:t,shouldUpdate:l=(c,f)=>c!==f}=e,i=v(t),a=v(l),[p,u]=o.useState(n),m=r!==void 0,d=m?r:p,y=v(c=>{let f=typeof c=="function"?c(d):c;a(d,f)&&(m||u(f),i(f))},[m,i,d,a]);return[d,y]}export{Z as W,E as c,G as i,H as l,D as m,J as o,R as r,z as y,U as z};
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.