figma-kit 1.0.0-beta.33 → 1.0.0-beta.34

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,21 +1,19 @@
1
- import type { HEX, HSLA, HSVA, RGBA } from '../../lib/color';
1
+ import type { HSLA, HSVA, RGBA } from '../../lib/color';
2
2
  type ColorModel = 'hex' | 'rgb' | 'hsl' | 'hsv';
3
3
  type ColorSpace = 'srgb' | 'display-p3';
4
4
  type ColorsByModel = {
5
- hex: HEX;
6
5
  rgb: RGBA;
7
- hsl: HSLA;
8
6
  hsv: HSVA;
7
+ hsl: HSLA;
9
8
  };
10
9
  declare const useColorPickerContext: (consumerName: string) => {
11
10
  colorSpace: ColorSpace;
12
11
  models: ColorModel[];
13
12
  activeModel: ColorModel;
14
13
  onActiveModelChange: (model: ColorModel) => void;
15
- color: RGBA;
16
- onColorChange: (params: ColorChangeParams) => void;
17
14
  colorsByModel: ColorsByModel;
18
15
  hue: number;
16
+ onColorChange: (params: ColorChangeParams) => void;
19
17
  };
20
18
  type RootProps = {
21
19
  /**
@@ -49,14 +47,17 @@ type RootProps = {
49
47
  children: React.ReactNode;
50
48
  };
51
49
  type ColorChangeParams = {
50
+ mode: 'rgb';
51
+ value: RGBA;
52
+ } | {
52
53
  mode: 'hsv';
53
54
  value: HSVA;
54
55
  } | {
55
56
  mode: 'hsl';
56
57
  value: HSLA;
57
58
  } | {
58
- mode: 'rgb';
59
- value: RGBA;
59
+ mode: 'hue';
60
+ value: number;
60
61
  };
61
62
  declare const Root: (props: RootProps) => import("react/jsx-runtime").JSX.Element;
62
63
  export type { RootProps, ColorModel, ColorSpace, ColorsByModel };
package/dist/index.cjs CHANGED
@@ -1 +1 @@
1
- Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});var e=Object.create,t=Object.defineProperty,n=Object.getOwnPropertyDescriptor,r=Object.getOwnPropertyNames,i=Object.getPrototypeOf,a=Object.prototype.hasOwnProperty,o=(e,n)=>{let r={};for(var i in e)t(r,i,{get:e[i],enumerable:!0});return n||t(r,Symbol.toStringTag,{value:`Module`}),r},s=(e,i,o,s)=>{if(i&&typeof i==`object`||typeof i==`function`)for(var c=r(i),l=0,u=c.length,d;l<u;l++)d=c[l],!a.call(e,d)&&d!==o&&t(e,d,{get:(e=>i[e]).bind(null,d),enumerable:!(s=n(i,d))||s.enumerable});return e},c=(n,r,a)=>(a=n==null?{}:e(i(n)),s(r||!n||!n.__esModule?t(a,`default`,{value:n,enumerable:!0}):a,n));let l=require("react");l=c(l,1);let u=require("@base-ui/react/tabs"),d=require("class-variance-authority"),f=require("react/jsx-runtime"),p=require("@base-ui/react/toggle"),m=require("@base-ui/react/toggle-group"),h=require("@base-ui/react/use-render"),g=require("@base-ui/react/radio"),_=require("@base-ui/react/radio-group"),v=require("@base-ui/react/select"),y=require("@base-ui/react/combobox"),b=require("@base-ui/react/separator"),x=require("@base-ui/react/menu"),S=require("@base-ui/react/context-menu"),C=require("@base-ui/react/popover"),w=require("@base-ui/react/tooltip"),T=require("@base-ui/react/dialog"),E=require("@base-ui/react/alert-dialog"),D=require("remeda"),O=require("@emmetio/math-expression");O=c(O,1);let k=require("@base-ui/react/merge-props"),A=require("react-dom"),j=require("@base-ui/react/direction-provider"),M=require("@base-ui/react/slider"),N=require("@base-ui/react/collapsible"),P=require("react-textarea-autosize");P=c(P,1);let F=require("@base-ui/react/switch");function I(e,t){return typeof e==`function`?n=>(0,d.cx)(e(n),t):(0,d.cx)(e,t)}function ee(e,t){typeof e==`function`?e(t):e!=null&&(e.current=t)}function te(...e){return t=>e.forEach(e=>ee(e,t))}function L(...e){return l.useCallback(te(...e),e)}var ne=l.default.forwardRef((e,t)=>{let{className:n,...r}=e;return(0,f.jsx)(u.Tabs.Root,{ref:t,className:I(n,`fp-TabsRoot`),...r})}),re=l.default.forwardRef((e,t)=>{let{className:n,...r}=e;return(0,f.jsx)(u.Tabs.List,{ref:t,className:I(n,`fp-TabsList`),...r})}),ie=l.default.forwardRef((e,t)=>{let{className:n,...r}=e,i=te(t,ae());return(0,f.jsx)(u.Tabs.Tab,{ref:i,className:I(n,`fp-TabsTrigger`),...r})});function ae(){return(0,l.useCallback)(e=>{e!==null&&(e.style.width=e.getBoundingClientRect().width+`px`)},[])}var oe=l.default.forwardRef((e,t)=>{let{className:n,...r}=e;return(0,f.jsx)(u.Tabs.Panel,{ref:t,className:I(n,`fp-TabsContent`),...r})});ne.displayName=`Tabs.Root`,re.displayName=`Tabs.List`,ie.displayName=`Tabs.Tab`,oe.displayName=`Tabs.Panel`;var se=o({List:()=>re,Panel:()=>oe,Root:()=>ne,Tab:()=>ie}),ce=(0,d.cva)(`fp-Text`,{variants:{size:{small:`fp-size-small`,medium:`fp-size-medium`,large:`fp-size-large`},weight:{default:`fp-weight-default`,strong:`fp-weight-strong`},align:{start:`fp-align-start`,center:`fp-align-center`,end:`fp-align-end`},block:{true:`fp-block`}}}),R=l.default.forwardRef((e,t)=>{let{className:n,render:r,size:i,weight:a,align:o,block:s,...c}=e;return(0,h.useRender)({defaultTagName:`span`,render:r,ref:t,props:{className:ce({className:n,size:i,weight:a,align:o,block:s}),...c}})});R.displayName=`Text`;var le=l.default.forwardRef((e,t)=>{let{className:n,size:r,weight:i,align:a,block:o,...s}=e;return(0,f.jsx)(`label`,{ref:t,className:ce({className:n,size:r,weight:i,align:a,block:o}),...s})});le.displayName=`Label`;var ue=l.default.forwardRef((e,t)=>{let{className:n,size:r,weight:i,align:a,block:o,...s}=e;return(0,f.jsx)(`p`,{ref:t,className:ce({className:n,size:r,weight:i,align:a,block:o}),...s})});ue.displayName=`Paragraph`;var de=l.default.forwardRef((e,t)=>{let{className:n,render:r,size:i,weight:a,align:o,block:s,...c}=e;return(0,h.useRender)({defaultTagName:`a`,render:r,ref:t,props:{className:(0,d.cx)(ce({className:n,size:i,weight:a,align:o,block:s}),`fp-Link`),...c}})});de.displayName=`Link`;function fe(e){let t=l.useRef(e);return l.useEffect(()=>{t.current=e}),l.useMemo(()=>((...e)=>t.current?.(...e)),[])}function pe({prop:e,defaultProp:t,onChange:n=()=>{}}){let[r,i]=me({defaultProp:t,onChange:n}),a=e!==void 0,o=a?e:r,s=fe(n);return[o,l.useCallback(t=>{if(a){let n=typeof t==`function`?t(e):t;n!==e&&s(n)}else i(t)},[a,e,i,s])]}function me({defaultProp:e,onChange:t}){let n=l.useState(e),[r]=n,i=l.useRef(r),a=fe(t);return l.useEffect(()=>{i.current!==r&&(a(r),i.current=r)},[r,i,a]),n}var he=l.default.forwardRef((e,t)=>{let{className:n,fullWidth:r,value:i,defaultValue:a,onValueChange:o,...s}=e,[c,l]=pe({prop:i,defaultProp:a,onChange:o});return(0,f.jsx)(m.ToggleGroup,{ref:t,className:I(n,(0,d.cx)(`fp-SegmentedControlRoot`,{"fp-full-width":r})),...s,multiple:!1,value:ve(c),onValueChange:e=>{let t=e[0];t!==void 0&&l(t)}})}),ge=l.default.forwardRef((e,t)=>{let{className:n,...r}=e;return(0,f.jsx)(p.Toggle,{ref:t,className:I(n,`fp-SegmentedControlItem`),...r})}),_e=l.default.forwardRef((e,t)=>{let{className:n,...r}=e;return(0,f.jsx)(R,{ref:t,className:(0,d.cx)(n,`fp-SegmentedControlText`),...r})});he.displayName=`SegmentedControl.Root`,ge.displayName=`SegmentedControl.Item`,_e.displayName=`SegmentedControl.Text`;function ve(e){return e===void 0?[]:[e]}var ye=o({Item:()=>ge,Root:()=>he,Text:()=>_e});function be(e,t){let n=l.default.createContext(t);function r(e){let{children:t,...r}=e,i=l.default.useMemo(()=>r,Object.values(r));return(0,f.jsx)(n.Provider,{value:i,children:t})}function i(r){let i=l.default.useContext(n);if(i)return i;if(t!==void 0)return t;throw Error(`\`${r}\` must be used within \`${e}\``)}return r.displayName=e+`Provider`,[r,i]}var[xe,Se]=be(`RadioGroup`),Ce=l.default.forwardRef((e,t)=>{let{orientation:n=`horizontal`,disabled:r,className:i,...a}=e;return(0,f.jsx)(xe,{orientation:n,disabled:r,children:(0,f.jsx)(_.RadioGroup,{ref:t,disabled:r,className:I(i,`fp-RadioGroupRoot`),"data-orientation":n,...a})})}),we=l.default.forwardRef((e,t)=>{let{className:n,...r}=e;return(0,f.jsx)(g.Radio.Root,{ref:t,className:I(n,`fp-RadioGroupItem`),...r})}),Te=l.default.forwardRef((e,t)=>{let{orientation:n,disabled:r}=Se(`Label`),{className:i,...a}=e;return(0,f.jsx)(le,{ref:t,className:(0,d.cx)(i,`fp-RadioGroupLabel`),"data-orientation":n,"data-disabled":r?``:void 0,...a})});Ce.displayName=`RadioGroup.Root`,we.displayName=`RadioGroup.Item`,Te.displayName=`RadioGroup.Label`;var Ee=o({Item:()=>we,Label:()=>Te,Root:()=>Ce}),De=`6`,Oe=`0 0 24 24`,ke=(0,d.cva)(`fp-Icon`,{variants:{size:{1:`fp-size-1`,2:`fp-size-2`,"2_5":`fp-size-2_5`,3:`fp-size-3`,"3_5":`fp-size-3_5`,4:`fp-size-4`,5:`fp-size-5`,6:`fp-size-6`,7:`fp-size-7`,8:`fp-size-8`,9:`fp-size-9`,10:`fp-size-10`}},defaultVariants:{size:De}});function z(e){let{path:t,viewBox:n=Oe,displayName:r}=e,i=l.default.forwardRef((e,r)=>{let{size:i,className:a,...o}=e;return(0,f.jsx)(`svg`,{xmlns:`http://www.w3.org/2000/svg`,ref:r,viewBox:n,className:ke({className:a,size:i}),fill:`none`,...o,children:t})});return i.displayName=r||`Icon`,i}var Ae=z({displayName:`Actions`,path:(0,f.jsx)(`path`,{fill:`var(--color-icon)`,d:`M9 13a2 2 0 0 1 2 2v3a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2v-3a2 2 0 0 1 2-2zm7.5 0a.5.5 0 0 1 .5.5V16h2.5a.5.5 0 0 1 0 1H17v2.5a.5.5 0 0 1-1 0V17h-2.5a.5.5 0 0 1 0-1H16v-2.5a.5.5 0 0 1 .5-.5M6 14a1 1 0 0 0-1 1v3a1 1 0 0 0 .897.995L6 19h3a1 1 0 0 0 1-1v-3a1 1 0 0 0-1-1zm.87-10.275a1 1 0 0 1 1.337.068l3 3a1 1 0 0 1 0 1.414l-3 3a1 1 0 0 1-1.414 0l-3-3a1 1 0 0 1 0-1.414l3-3zM16.5 4a3.5 3.5 0 1 1 0 7 3.5 3.5 0 0 1 0-7m-12 3.5 3 3 3-3-3-3zm12-2.5a2.5 2.5 0 1 0 0 5 2.5 2.5 0 0 0 0-5`})}),je=z({displayName:`AlignBottom`,path:(0,f.jsxs)(f.Fragment,{children:[(0,f.jsx)(`path`,{fill:`var(--color-icon)`,fillRule:`evenodd`,d:`M10 6.75A.75.75 0 0 0 9.25 6h-.5a.75.75 0 0 0-.75.75v8.5c0 .414.336.75.75.75h.5a.75.75 0 0 0 .75-.75zm5 4a.75.75 0 0 0-.75-.75h-.5a.75.75 0 0 0-.75.75v4.5c0 .414.336.75.75.75h.5a.75.75 0 0 0 .75-.75z`,clipRule:`evenodd`}),(0,f.jsx)(`path`,{fill:`var(--color-icon-tertiary)`,d:`M17.5 18a.5.5 0 0 1 0 1h-12a.5.5 0 0 1 0-1z`})]})}),Me=z({displayName:`AlignHorizontalCenter`,path:(0,f.jsxs)(f.Fragment,{children:[(0,f.jsx)(`path`,{fill:`var(--color-icon)`,fillRule:`evenodd`,d:`M17.25 10a.75.75 0 0 0 .75-.75v-.5a.75.75 0 0 0-.75-.75h-9.5a.75.75 0 0 0-.75.75v.5c0 .414.336.75.75.75zm-2 5a.75.75 0 0 0 .75-.75v-.5a.75.75 0 0 0-.75-.75h-5.5a.75.75 0 0 0-.75.75v.5c0 .414.336.75.75.75z`,clipRule:`evenodd`}),(0,f.jsx)(`path`,{fill:`var(--color-icon-tertiary)`,fillRule:`evenodd`,d:`M13 17.5a.5.5 0 0 1-1 0V15h1zm0-4.5v-3h-1v3zm0-7.5V8h-1V5.5a.5.5 0 0 1 1 0`,clipRule:`evenodd`})]})}),Ne=z({displayName:`AlignLeft`,path:(0,f.jsxs)(f.Fragment,{children:[(0,f.jsx)(`path`,{fill:`var(--color-icon)`,fillRule:`evenodd`,d:`M17.25 10a.75.75 0 0 0 .75-.75v-.5a.75.75 0 0 0-.75-.75h-8.5a.75.75 0 0 0-.75.75v.5c0 .414.336.75.75.75zm-4 5a.75.75 0 0 0 .75-.75v-.5a.75.75 0 0 0-.75-.75h-4.5a.75.75 0 0 0-.75.75v.5c0 .414.336.75.75.75z`,clipRule:`evenodd`}),(0,f.jsx)(`path`,{fill:`var(--color-icon-tertiary)`,d:`M6 17.5a.5.5 0 0 1-1 0v-12a.5.5 0 0 1 1 0z`})]})}),Pe=z({displayName:`AlignRight`,path:(0,f.jsxs)(f.Fragment,{children:[(0,f.jsx)(`path`,{fill:`var(--color-icon)`,fillRule:`evenodd`,d:`M6.75 10A.75.75 0 0 1 6 9.25v-.5A.75.75 0 0 1 6.75 8h8.5a.75.75 0 0 1 .75.75v.5a.75.75 0 0 1-.75.75zm4 5a.75.75 0 0 1-.75-.75v-.5a.75.75 0 0 1 .75-.75h4.5a.75.75 0 0 1 .75.75v.5a.75.75 0 0 1-.75.75z`,clipRule:`evenodd`}),(0,f.jsx)(`path`,{fill:`var(--color-icon-tertiary)`,d:`M18 17.5a.5.5 0 0 0 1 0v-12a.5.5 0 0 0-1 0z`})]})}),Fe=z({displayName:`AlignTop`,path:(0,f.jsxs)(f.Fragment,{children:[(0,f.jsx)(`path`,{fill:`var(--color-icon)`,fillRule:`evenodd`,d:`M10 17.25a.75.75 0 0 1-.75.75h-.5a.75.75 0 0 1-.75-.75v-8.5A.75.75 0 0 1 8.75 8h.5a.75.75 0 0 1 .75.75zm5-4a.75.75 0 0 1-.75.75h-.5a.75.75 0 0 1-.75-.75v-4.5a.75.75 0 0 1 .75-.75h.5a.75.75 0 0 1 .75.75z`,clipRule:`evenodd`}),(0,f.jsx)(`path`,{fill:`var(--color-icon-tertiary)`,d:`M17.5 6a.5.5 0 0 0 0-1h-12a.5.5 0 0 0 0 1z`})]})}),Ie=z({displayName:`AlignVerticalCenter`,path:(0,f.jsxs)(f.Fragment,{children:[(0,f.jsx)(`path`,{fill:`var(--color-icon)`,fillRule:`evenodd`,d:`M10 6.75A.75.75 0 0 0 9.25 6h-.5a.75.75 0 0 0-.75.75v9.5c0 .414.336.75.75.75h.5a.75.75 0 0 0 .75-.75zm5 2a.75.75 0 0 0-.75-.75h-.5a.75.75 0 0 0-.75.75v5.5c0 .414.336.75.75.75h.5a.75.75 0 0 0 .75-.75z`,clipRule:`evenodd`}),(0,f.jsx)(`path`,{fill:`var(--color-icon-tertiary)`,fillRule:`evenodd`,d:`M17.5 11a.5.5 0 0 1 0 1H15v-1zM13 11h-3v1h3zm-7.5 0H8v1H5.5a.5.5 0 0 1 0-1`,clipRule:`evenodd`})]})}),Le=z({displayName:`Annotation`,path:(0,f.jsx)(`path`,{fill:`var(--color-icon)`,fillRule:`evenodd`,d:`M16.8 5H8.2c-.577 0-.949 0-1.232.024-.272.022-.373.06-.422.085a1 1 0 0 0-.437.437c-.025.05-.063.15-.085.422C6 6.25 6 6.623 6 7.2v7.3a.5.5 0 0 1-1 0V7.2c0-1.12 0-1.68.218-2.108a2 2 0 0 1 .874-.874C6.52 4 7.08 4 8.2 4h8.6c1.12 0 1.68 0 2.108.218a2 2 0 0 1 .874.874C20 5.52 20 6.08 20 7.2v8.6c0 1.12 0 1.68-.218 2.108a2 2 0 0 1-.874.874C18.48 19 17.92 19 16.8 19H9.5a.5.5 0 0 1 0-1h7.3c.577 0 .949 0 1.232-.024.272-.022.372-.06.422-.085a1 1 0 0 0 .437-.437c.025-.05.063-.15.085-.422C19 16.75 19 16.377 19 15.8V7.2c0-.577 0-.949-.024-1.232-.022-.272-.06-.373-.085-.422a1 1 0 0 0-.437-.437c-.05-.025-.15-.063-.422-.085C17.75 5 17.377 5 16.8 5M7 18.5a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0m1 0a2.5 2.5 0 1 1-5 0 2.5 2.5 0 0 1 5 0m1-5a.5.5 0 0 1 .5-.5h4a.5.5 0 0 1 0 1h-4a.5.5 0 0 1-.5-.5M9.5 9a.5.5 0 0 0 0 1h6a.5.5 0 0 0 0-1z`,clipRule:`evenodd`})}),Re=z({displayName:`AspectRatio`,path:(0,f.jsx)(`path`,{fill:`var(--color-icon)`,fillRule:`evenodd`,d:`M7.5 7h9a.5.5 0 0 1 .5.5v9a.5.5 0 0 1-.5.5h-9a.5.5 0 0 1-.5-.5v-9a.5.5 0 0 1 .5-.5M6 7.5A1.5 1.5 0 0 1 7.5 6h9A1.5 1.5 0 0 1 18 7.5v9a1.5 1.5 0 0 1-1.5 1.5h-9A1.5 1.5 0 0 1 6 16.5zM9.5 9a.5.5 0 0 0-.5.5v2a.5.5 0 0 0 1 0V10h1.5a.5.5 0 0 0 0-1zm5.5 3.5a.5.5 0 0 0-1 0V14h-1.5a.5.5 0 0 0 0 1h2a.5.5 0 0 0 .5-.5z`,clipRule:`evenodd`})}),ze=z({displayName:`AutoHeight`,path:(0,f.jsx)(`path`,{fill:`var(--color-icon)`,fillRule:`evenodd`,d:`M6.5 6a.5.5 0 0 1 .5.5v11a.5.5 0 0 1-1 0v-11a.5.5 0 0 1 .5-.5m3 4h5a.5.5 0 1 0 0-1h-5a.5.5 0 0 0 0 1m5 2.5h-5a.5.5 0 1 1 0-1h5a.5.5 0 1 1 0 1m-5.5 2a.5.5 0 0 1 .5-.5h3a.5.5 0 0 1 0 1h-3a.5.5 0 0 1-.5-.5m9-8a.5.5 0 0 0-1 0v11a.5.5 0 0 0 1 0z`,clipRule:`evenodd`})}),Be=z({displayName:`AutoWidth`,path:(0,f.jsx)(`path`,{fill:`var(--color-icon)`,fillRule:`evenodd`,d:`M7 6.5a.5.5 0 0 0-1 0v11a.5.5 0 0 0 1 0zm7.853 2.146a.5.5 0 1 0-.707.708l2.147 2.146H9.5a.5.5 0 0 0 0 1h6.793l-2.147 2.146a.5.5 0 0 0 .707.708l3-3a.5.5 0 0 0 0-.708z`,clipRule:`evenodd`})}),Ve=z({displayName:`BlendMode`,path:(0,f.jsx)(`path`,{fill:`var(--color-icon)`,fillRule:`evenodd`,d:`M14.783 16.058C15.479 15.454 16 14.49 16 13c0-1.037-.597-2.328-1.493-3.631-.844-1.227-1.85-2.316-2.507-2.98-.658.664-1.662 1.753-2.507 2.98C8.597 10.673 8 11.964 8 13c0 1.491.521 2.454 1.217 3.058.72.623 1.721.943 2.783.943s2.063-.32 2.783-.944M12 18c2.5 0 5-1.5 5-5 0-2.712-3-6.023-4.353-7.378a.907.907 0 0 0-1.294 0C10 6.978 7 10.29 7 13.001c0 3.5 2.5 5 5 5`,clipRule:`evenodd`})}),He=z({displayName:`Boolean`,path:(0,f.jsx)(`path`,{fill:`var(--color-icon)`,fillRule:`evenodd`,d:`M10 8h4a4 4 0 0 1 0 8h-4a4 4 0 0 1 0-8m-5 4a5 5 0 0 1 5-5h4a5 5 0 0 1 0 10h-4a5 5 0 0 1-5-5m5 2a2 2 0 1 1 0-4 2 2 0 0 1 0 4m-3-2a3 3 0 1 1 6 0 3 3 0 0 1-6 0`,clipRule:`evenodd`})}),B=z({displayName:`Checkmark`,viewBox:`0 0 16 16`,path:(0,f.jsx)(`path`,{fill:`var(--color-icon)`,fillRule:`evenodd`,clipRule:`evenodd`,d:`M11.777 4.08399C11.8873 4.1575 11.9639 4.27178 11.99 4.40172C12.016 4.53167 11.9894 4.66665 11.916 4.77699L7.91602 10.777C7.87506 10.8387 7.82091 10.8905 7.75748 10.9287C7.69405 10.9669 7.62294 10.9905 7.54926 10.9979C7.47559 11.0053 7.40119 10.9962 7.33146 10.9713C7.26172 10.9464 7.19839 10.9063 7.14602 10.854L4.14602 7.85399C4.09953 7.80751 4.06266 7.75232 4.0375 7.69158C4.01234 7.63084 3.99939 7.56574 3.99939 7.49999C3.99939 7.43425 4.01234 7.36915 4.0375 7.30841C4.06266 7.24767 4.09953 7.19248 4.14602 7.14599C4.19251 7.09951 4.2477 7.06263 4.30844 7.03747C4.36918 7.01231 4.43428 6.99936 4.50002 6.99936C4.56577 6.99936 4.63087 7.01231 4.6916 7.03747C4.75234 7.06263 4.80753 7.09951 4.85402 7.14599L7.42202 9.71599L11.084 4.22299C11.1575 4.11271 11.2718 4.03612 11.4018 4.01006C11.5317 3.98399 11.6667 4.01059 11.777 4.08399Z`})}),Ue=z({displayName:`CheckmarkIndeterminate`,viewBox:`0 0 16 16`,path:(0,f.jsx)(`path`,{fill:`var(--color-icon)`,d:`M4 8a1 1 0 0 1 1-1h6a1 1 0 1 1 0 2H5a1 1 0 0 1-1-1Z`})}),V=z({displayName:`ChevronDown`,path:(0,f.jsx)(`svg`,{width:`24`,height:`24`,viewBox:`0 0 24 24`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,children:(0,f.jsx)(`path`,{stroke:`var(--color-icon)`,strokeLinecap:`round`,d:`M9.87897 11.121L12 13.243L14.121 11.12`})})}),We=z({displayName:`ChevronLeft`,path:(0,f.jsx)(`path`,{stroke:`var(--color-icon)`,strokeLinecap:`round`,d:`M12.879 9.879L10.757 12L12.88 14.121`})}),Ge=z({displayName:`ChevronRight`,path:(0,f.jsx)(`path`,{stroke:`var(--color-icon)`,strokeLinecap:`round`,d:`M11.121 14.121L13.243 12L11.12 9.879`})}),Ke=z({displayName:`ChevronUp`,path:(0,f.jsx)(`path`,{stroke:`var(--color-icon)`,strokeLinecap:`round`,d:`M14.121 12.879L12 10.757L9.87903 12.88`})}),qe=z({displayName:`Circle`,viewBox:`0 0 16 16`,path:(0,f.jsx)(`circle`,{fill:`var(--color-icon)`,cx:`8`,cy:`8`,r:`3`})}),Je=z({displayName:`Clear`,path:(0,f.jsx)(`path`,{fill:`var(--color-icon)`,d:`M12 5a7 7 0 1 1 0 14 7 7 0 0 1 0-14m0 1a6 6 0 1 0 0 12 6 6 0 0 0 0-12m2.225 3.082a.5.5 0 0 1 .693.693l-.064.079L12.707 12l2.147 2.146.064.079a.5.5 0 0 1-.693.693l-.078-.064L12 12.707l-2.146 2.146a.5.5 0 1 1-.707-.707L11.293 12 9.147 9.854l-.065-.079a.5.5 0 0 1 .694-.693l.078.064L12 11.293l2.147-2.147z`})}),Ye=z({displayName:`Close`,path:(0,f.jsx)(`path`,{stroke:`var(--color-icon)`,d:`M16.5 7.5L12 12M12 12L7.5 16.5M12 12L7.5 7.5M12 12L16.5 16.5`,strokeLinecap:`round`})}),Xe=z({displayName:`Code`,path:(0,f.jsx)(`path`,{fill:`var(--color-icon)`,d:`M13.631 6.018a.5.5 0 0 1 .367.513l-.016.1-3 11-.036.095a.5.5 0 0 1-.93-.358l3-11 .037-.095a.5.5 0 0 1 .578-.255M8.224 8.582a.501.501 0 0 1 .693.693l-.064.079L6.206 12l2.647 2.646a.5.5 0 1 1-.707.707l-3-3a.5.5 0 0 1 0-.707l3-3zm6.922.064a.5.5 0 0 1 .707 0l3 3a.5.5 0 0 1 0 .707l-3 3-.078.065a.5.5 0 0 1-.694-.693l.065-.079L17.792 12l-2.646-2.646a.5.5 0 0 1 0-.707`})}),Ze=z({displayName:`Comment`,path:(0,f.jsx)(`path`,{fill:`var(--color-icon)`,d:`M12.5 3a8.5 8.5 0 0 1 0 17H7.09c-.89 0-1.39 0-1.767-.121l-.154-.06a2 2 0 0 1-.906-.828l-.082-.16c-.136-.297-.17-.657-.178-1.248L4 16.909V11.5A8.5 8.5 0 0 1 12.5 3m0 1A7.5 7.5 0 0 0 5 11.5v5.41c0 .523 0 .861.02 1.12.018.247.05.34.07.385a1 1 0 0 0 .495.494c.045.02.138.053.386.072.258.019.596.019 1.12.019H12.5a7.5 7.5 0 0 0 0-15`})}),Qe=z({displayName:`Component`,path:(0,f.jsx)(`path`,{fill:`var(--color-icon)`,fillRule:`evenodd`,d:`M11.116 13.592a1.25 1.25 0 0 1 1.768 0l1.637 1.637a1.25 1.25 0 0 1 0 1.768l-1.637 1.638-.095.085a1.25 1.25 0 0 1-1.578 0l-.095-.085-1.638-1.64a1.25 1.25 0 0 1-.085-1.672l.085-.095zm1.06.707a.25.25 0 0 0-.353 0l-1.638 1.636a.25.25 0 0 0 0 .354l1.638 1.639a.25.25 0 0 0 .354 0l1.637-1.638a.25.25 0 0 0 0-.354zm3.053-4.82a1.25 1.25 0 0 1 1.767 0l1.639 1.637a1.25 1.25 0 0 1 0 1.768l-1.639 1.638-.095.086a1.25 1.25 0 0 1-1.578 0l-.095-.086-1.637-1.637a1.25 1.25 0 0 1-.086-1.673l.086-.095zm-8.226 0a1.25 1.25 0 0 1 1.767 0l1.64 1.638a1.25 1.25 0 0 1 0 1.768L8.77 14.52a1.25 1.25 0 0 1-1.672.086l-.095-.086-1.638-1.637a1.25 1.25 0 0 1-.086-1.673l.086-.095zm9.286.706a.25.25 0 0 0-.354 0l-1.637 1.64a.25.25 0 0 0 0 .353l1.637 1.637a.25.25 0 0 0 .354 0l1.639-1.638a.25.25 0 0 0 0-.354zm-8.226 0a.25.25 0 0 0-.353 0l-1.637 1.638a.25.25 0 0 0 0 .354l1.638 1.637a.25.25 0 0 0 .353 0l1.638-1.636a.25.25 0 0 0 0-.354zm3.053-4.819a1.25 1.25 0 0 1 1.768 0l1.637 1.638a1.25 1.25 0 0 1 0 1.767l-1.637 1.639-.095.085a1.25 1.25 0 0 1-1.578 0l-.095-.085-1.639-1.639a1.25 1.25 0 0 1-.085-1.673l.085-.094zm1.06.707a.25.25 0 0 0-.353 0l-1.639 1.638a.25.25 0 0 0 0 .353l1.64 1.639a.25.25 0 0 0 .353 0l1.637-1.639a.25.25 0 0 0 0-.353z`,clipRule:`evenodd`})}),$e=z({displayName:`ConstraintLeft`,path:(0,f.jsx)(`path`,{fill:`var(--color-icon)`,fillRule:`evenodd`,d:`M16.5 8.5a.5.5 0 0 1 .5.5v5a.5.5 0 1 1-1 0v-2H7v2a.5.5 0 0 1-1 0V9a.5.5 0 0 1 1 0v2h9V9a.5.5 0 0 1 .5-.5`,clipRule:`evenodd`})}),et=z({displayName:`ConstraintTop`,path:(0,f.jsx)(`path`,{fill:`var(--color-icon)`,fillRule:`evenodd`,d:`M8.5 6.5A.5.5 0 0 1 9 6h5a.5.5 0 0 1 0 1h-2v9h2a.5.5 0 0 1 0 1H9a.5.5 0 0 1 0-1h2V7H9a.5.5 0 0 1-.5-.5`,clipRule:`evenodd`})}),tt=z({displayName:`CornerRadius`,path:(0,f.jsx)(`path`,{fill:`var(--color-icon)`,d:`M6.5 14a.5.5 0 0 1 .5.5v.6c0 .428 0 .72.019.945.017.219.05.331.09.41.096.187.249.34.437.436.078.04.19.073.41.09.224.019.516.019.944.019h.6a.5.5 0 0 1 0 1h-.621c-.402 0-.734 0-1.005-.023-.281-.022-.54-.071-.782-.195a2 2 0 0 1-.874-.874c-.124-.242-.173-.501-.196-.782A13 13 0 0 1 6 15.121V14.5a.5.5 0 0 1 .5-.5m11 0a.5.5 0 0 1 .5.5v.621c0 .402 0 .734-.023 1.005-.022.281-.071.54-.195.782a2 2 0 0 1-.874.874c-.242.124-.501.173-.782.195-.27.023-.603.023-1.005.023H14.5a.5.5 0 0 1 0-1h.6c.428 0 .72 0 .945-.019.219-.018.331-.05.41-.09a1 1 0 0 0 .436-.437c.04-.078.073-.19.09-.41.019-.224.019-.516.019-.944v-.6a.5.5 0 0 1 .5-.5m-8-8a.5.5 0 0 1 0 1h-.6c-.428 0-.719 0-.944.019-.22.017-.332.05-.41.09a1 1 0 0 0-.437.437c-.04.078-.073.19-.09.41C7 8.18 7 8.471 7 8.9v.6a.5.5 0 0 1-1 0v-.621c0-.402 0-.734.022-1.005.023-.281.072-.54.196-.782a2 2 0 0 1 .874-.874c.242-.124.501-.173.782-.196C8.144 6 8.477 6 8.88 6zm5.621 0c.402 0 .734 0 1.005.022.281.023.54.072.782.196a2 2 0 0 1 .874.874c.124.242.173.501.195.782.023.27.023.603.023 1.005V9.5a.5.5 0 0 1-1 0v-.6c0-.428 0-.72-.019-.945-.018-.219-.05-.33-.09-.41a1 1 0 0 0-.437-.436c-.078-.04-.19-.073-.41-.09A13 13 0 0 0 15.1 7h-.6a.5.5 0 0 1 0-1z`})}),nt=z({displayName:`Design`,path:(0,f.jsx)(`path`,{fill:`var(--color-icon)`,d:`M12.11 13.956c-.44-1.121.618-2.23 1.738-1.885l.108.038 4.15 1.63.115.051c1.136.556 1.027 2.254-.218 2.637l-1.205.372-.37 1.205c-.397 1.29-2.196 1.356-2.689.102zm1.48-.916a.425.425 0 0 0-.55.55l1.63 4.15c.138.35.618.356.775.038l.027-.068.526-1.711 1.711-.527a.425.425 0 0 0 .031-.802zM16.5 6A1.5 1.5 0 0 1 18 7.5v1a1.5 1.5 0 0 1-1.5 1.5H10v6.5A1.5 1.5 0 0 1 8.5 18h-1A1.5 1.5 0 0 1 6 16.5v-9A1.5 1.5 0 0 1 7.5 6zM7 16.5a.5.5 0 0 0 .5.5h1a.5.5 0 0 0 .5-.5V15h-.5a.5.5 0 0 1 0-1H9v-1h-.5a.5.5 0 0 1 0-1H9v-2H7zM7.5 7a.5.5 0 0 0-.5.5V9h2V7zM10 9h2v-.5a.5.5 0 0 1 1 0V9h1v-.5a.5.5 0 0 1 1 0V9h1.5a.5.5 0 0 0 .5-.5v-1a.5.5 0 0 0-.5-.5H10z`})}),rt=z({displayName:`Draw`,path:(0,f.jsx)(`path`,{fill:`var(--color-icon)`,fillRule:`evenodd`,d:`M13.407 5.06c.61-.123 1.227-.079 1.657.343l.135.15c.277.361.316.79.208 1.204-.115.44-.397.887-.734 1.314-.68.86-1.74 1.829-2.748 2.76-1.031.952-2.01 1.867-2.606 2.662-.3.4-.466.724-.517.97-.044.21-.003.34.12.46l.065.052c.072.044.167.062.313.039.217-.034.505-.155.866-.378.72-.445 1.561-1.183 2.445-1.966.862-.763 1.768-1.571 2.57-2.076.4-.252.817-.457 1.221-.527.427-.074.87.002 1.223.346l.102.112c.22.271.296.593.266.918-.032.344-.183.684-.364.993-.363.617-.963 1.296-1.515 1.922-.574.651-1.1 1.251-1.403 1.767-.151.257-.218.449-.23.581-.01.106.012.163.072.22l.054.04c.074.038.214.062.474-.031.356-.128.853-.456 1.465-1.1a.5.5 0 0 1 .725.687c-.666.702-1.291 1.153-1.853 1.354-.535.192-1.08.173-1.485-.163l-.08-.071a1.23 1.23 0 0 1-.369-1.03c.033-.344.183-.684.364-.993.363-.617.964-1.297 1.516-1.923.574-.651 1.1-1.25 1.402-1.766.152-.258.22-.449.232-.581.007-.08-.004-.132-.035-.177l-.038-.045c-.07-.068-.162-.108-.353-.075-.213.037-.5.161-.858.388-.717.451-1.555 1.194-2.44 1.978-.862.764-1.774 1.57-2.584 2.07-.404.249-.826.45-1.237.514-.38.06-.767 0-1.095-.247l-.136-.118c-.402-.394-.502-.887-.399-1.38.097-.46.367-.923.696-1.363.663-.885 1.718-1.865 2.728-2.798 1.033-.954 2.023-1.862 2.642-2.645.31-.393.489-.71.55-.946.04-.152.028-.246-.017-.32l-.057-.069c-.082-.08-.284-.172-.76-.076-.468.094-1.091.352-1.863.803-1.537.898-3.552 2.496-5.893 4.786a.5.5 0 0 1-.699-.715c2.37-2.319 4.45-3.98 6.087-4.935.815-.476 1.55-.794 2.17-.92`,clipRule:`evenodd`})}),it=z({displayName:`Ellipsis`,path:(0,f.jsx)(`path`,{fill:`var(--color-icon)`,fillRule:`evenodd`,d:`M7.5 12a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0m6 0a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0m4.5 1.5a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3`,clipRule:`evenodd`})}),at=z({displayName:`Expand`,path:(0,f.jsx)(`path`,{fill:`var(--color-icon)`,fillRule:`evenodd`,d:`m17 7.707-3.146 3.147a.5.5 0 0 1-.708-.708L16.293 7H13.5a.5.5 0 0 1 0-1h4a.5.5 0 0 1 .5.5v4a.5.5 0 0 1-1 0zm-6.854 5.44a.5.5 0 0 1 .708.707L7.707 17H10.5a.5.5 0 0 1 0 1h-4a.5.5 0 0 1-.5-.5v-4a.5.5 0 0 1 1 0v2.793z`,clipRule:`evenodd`})}),ot=z({displayName:`Eye`,path:(0,f.jsx)(`path`,{fill:`var(--color-icon)`,fillRule:`evenodd`,d:`M6 12c0-.066.054-.358.313-.825a5.9 5.9 0 0 1 1.12-1.414C8.443 8.816 9.956 8 12 8s3.558.816 4.566 1.76c.508.477.88.98 1.121 1.415.258.467.313.76.313.825 0 .066-.055.358-.313.825-.24.435-.613.938-1.12 1.414C15.557 15.184 14.044 16 12 16s-3.558-.816-4.566-1.76a5.9 5.9 0 0 1-1.121-1.415C6.055 12.358 6 12.065 6 12m-1 0c0-1.25 2.333-5 7-5s7 3.75 7 5-2.333 5-7 5-7-3.75-7-5m8 0a1 1 0 1 1-2 0 1 1 0 0 1 2 0m1 0a2 2 0 1 1-4 0 2 2 0 0 1 4 0`,clipRule:`evenodd`})}),st=z({displayName:`Eyedropper`,path:(0,f.jsx)(`path`,{fill:`var(--color-icon)`,d:`M16.922 3.56a2.501 2.501 0 0 1 3.517 3.517l-.172.19-2.206 2.205a.33.33 0 0 0 0 .466h.001c.548.549.582 1.418.103 2.007l-.104.115a1.5 1.5 0 0 1-2.12 0l-.233-.233-6.94 6.94a2.5 2.5 0 0 1-2.12.705L5.56 20.56a1.5 1.5 0 0 1-2.12-2.121l1.086-1.09a2.5 2.5 0 0 1 .706-2.118l6.94-6.939-.232-.232a1.5 1.5 0 0 1 0-2.122l.114-.103a1.5 1.5 0 0 1 1.893 0l.114.103.052.042c.127.084.3.07.411-.042l2.208-2.207zM5.939 15.939a1.5 1.5 0 0 0-.405 1.37c.044.208.013.435-.137.585l-1.25 1.25v.002a.5.5 0 0 0 .706.706l1.251-1.251c.15-.15.377-.181.584-.137.48.102 1-.032 1.372-.404L15 11.12 12.88 9zm13.621-11.5a1.5 1.5 0 0 0-2.12 0l-2.21 2.206a1.327 1.327 0 0 1-1.877 0 .5.5 0 0 0-.707.707l3.994 3.994.005.005h.001a.5.5 0 0 0 .707-.707l-.004-.003a1.33 1.33 0 0 1 .004-1.877L19.56 6.56a1.5 1.5 0 0 0 0-2.122`})}),ct=z({displayName:`FillGradient`,path:(0,f.jsx)(`path`,{fill:`var(--color-icon)`,fillRule:`evenodd`,d:`M8 7h8a1 1 0 0 1 1 1v8a1 1 0 0 1-1 1H8a1 1 0 0 1-1-1V8a1 1 0 0 1 1-1M6 8a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2H8a2 2 0 0 1-2-2zm3.75.875a.875.875 0 1 1-1.75 0 .875.875 0 0 1 1.75 0m3.791.625a.625.625 0 1 0 0-1.25.625.625 0 0 0 0 1.25m-1.458.875a.75.75 0 1 1-1.5 0 .75.75 0 0 1 1.5 0m0 3.12a.75.75 0 1 1-1.5 0 .75.75 0 0 1 1.5 0m1.458 2.245a.625.625 0 1 0 0-1.25.625.625 0 0 0 0 1.25m.625-3.865a.625.625 0 1 1-1.25 0 .625.625 0 0 1 1.25 0M8.875 15.99a.875.875 0 1 0 0-1.75.875.875 0 0 0 0 1.75m.875-4.115a.875.875 0 1 1-1.75 0 .875.875 0 0 1 1.75 0m5.75-1a.5.5 0 1 0 0-1 .5.5 0 0 0 0 1m.5 2.623a.5.5 0 1 1-1 0 .5.5 0 0 1 1 0`,clipRule:`evenodd`})}),lt=z({displayName:`FillPattern`,path:(0,f.jsx)(`path`,{fill:`var(--color-icon)`,fillRule:`evenodd`,d:`M12.5 7H16a1 1 0 0 1 1 1v1h-4.5zm-1 0H8a1 1 0 0 0-1 1v1h4.5zM7 10v4h2v-4h1v4h4v-4h1v4h2v-4zm10 5h-4.5v2H16a1 1 0 0 0 1-1zm-5.5 2v-2H7v1a1 1 0 0 0 1 1zM6 8a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2H8a2 2 0 0 1-2-2z`,clipRule:`evenodd`})}),ut=z({displayName:`FillSolid`,path:(0,f.jsxs)(f.Fragment,{children:[(0,f.jsx)(`path`,{fill:`var(--color-icon-tertiary)`,d:`M9 9h6v6H9z`}),(0,f.jsx)(`path`,{fill:`var(--color-icon)`,fillRule:`evenodd`,d:`M8 7h8a1 1 0 0 1 1 1v8a1 1 0 0 1-1 1H8a1 1 0 0 1-1-1V8a1 1 0 0 1 1-1M6 8a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2H8a2 2 0 0 1-2-2zm3 7V9h6v6zM8 8.5a.5.5 0 0 1 .5-.5h7a.5.5 0 0 1 .5.5v7a.5.5 0 0 1-.5.5h-7a.5.5 0 0 1-.5-.5z`,clipRule:`evenodd`})]})}),dt=z({displayName:`Figma`,path:(0,f.jsx)(`path`,{fill:`var(--color-icon)`,fillRule:`evenodd`,d:`M6.5 7c0 1.043.533 1.963 1.341 2.5A3 3 0 0 0 6.5 12c0 1.043.533 1.963 1.341 2.5A3 3 0 1 0 12.5 17v-2.764A3 3 0 1 0 16.159 9.5 3 3 0 0 0 14.5 4h-5a3 3 0 0 0-3 3m8 2a2 2 0 1 0 0-4h-2v4zm-2 3a2 2 0 1 0 4 0 2 2 0 0 0-4 0m-1 2h-2a2 2 0 1 1 0-4h2zm-2 1h2v2a2 2 0 1 1-2-2m2-6h-2a2 2 0 1 1 0-4h2z`,clipRule:`evenodd`})}),ft=z({displayName:`FixedSize`,path:(0,f.jsx)(`path`,{fill:`var(--color-icon)`,fillRule:`evenodd`,d:`M7 7.5a.5.5 0 0 1 .5-.5h9a.5.5 0 0 1 .5.5v9a.5.5 0 0 1-.5.5h-9a.5.5 0 0 1-.5-.5zM7.5 6A1.5 1.5 0 0 0 6 7.5v9A1.5 1.5 0 0 0 7.5 18h9a1.5 1.5 0 0 0 1.5-1.5v-9A1.5 1.5 0 0 0 16.5 6zm7 4h-5a.5.5 0 1 1 0-1h5a.5.5 0 1 1 0 1m-5 2.5h5a.5.5 0 1 0 0-1h-5a.5.5 0 0 0 0 1m0 1.5a.5.5 0 0 0 0 1h3a.5.5 0 0 0 0-1z`,clipRule:`evenodd`})}),pt=z({displayName:`FlipHorizontal`,path:(0,f.jsx)(`path`,{fill:`var(--color-icon)`,fillRule:`evenodd`,d:`M12.5 6.5a.5.5 0 0 0-1 0v11a.5.5 0 0 0 1 0zM6 9.104a.75.75 0 0 1 1.28-.53L10 11.292a1 1 0 0 1 0 1.414l-2.72 2.72a.75.75 0 0 1-1.28-.53zm1 .603v4.586L9.293 12zm11-.603a.75.75 0 0 0-1.28-.53L14 11.292a1 1 0 0 0 0 1.414l2.72 2.72a.75.75 0 0 0 1.28-.53zm-1 .603v4.586L14.707 12z`,clipRule:`evenodd`})}),mt=z({displayName:`FlipVertical`,path:(0,f.jsx)(`path`,{fill:`var(--color-icon)`,fillRule:`evenodd`,d:`M17.5 12.5a.5.5 0 0 0 0-1h-11a.5.5 0 0 0 0 1zM14.896 18a.75.75 0 0 0 .53-1.28L12.708 14a1 1 0 0 0-1.414 0l-2.72 2.72a.75.75 0 0 0 .53 1.28zm-.603-1H9.707L12 14.707zm.603-11a.75.75 0 0 1 .53 1.28L12.708 10a1 1 0 0 1-1.414 0l-2.72-2.72A.75.75 0 0 1 9.103 6zm-.603 1H9.707L12 9.293z`,clipRule:`evenodd`})}),ht=z({displayName:`Frame`,path:(0,f.jsx)(`path`,{fill:`var(--color-icon)`,fillRule:`evenodd`,d:`M7.5 4a.5.5 0 0 0-.5.5V7H4.5a.5.5 0 0 0 0 1H7v8H4.5a.5.5 0 0 0 0 1H7v2.5a.5.5 0 0 0 1 0V17h8v2.5a.5.5 0 0 0 1 0V17h2.5a.5.5 0 0 0 0-1H17V8h2.5a.5.5 0 0 0 0-1H17V4.5a.5.5 0 0 0-1 0V7H8V4.5a.5.5 0 0 0-.5-.5M16 8H8v8h8z`,clipRule:`evenodd`})}),gt=z({displayName:`Help`,path:(0,f.jsx)(`path`,{fill:`var(--color-icon)`,fillRule:`evenodd`,d:`M11.69 16.572q.357 0 .61.254a.83.83 0 0 1 .26.616q0 .236-.12.435a.9.9 0 0 1-.315.32.84.84 0 0 1-.435.114.85.85 0 0 1-.615-.253.85.85 0 0 1-.254-.616.84.84 0 0 1 .254-.616.85.85 0 0 1 .615-.254m.332-10.884q1.002 0 1.763.416.76.41 1.19 1.13.428.712.428 1.635 0 .61-.193 1.111a2.9 2.9 0 0 1-.58.924 4.8 4.8 0 0 1-.954.797 4.6 4.6 0 0 0-.863.718 2.1 2.1 0 0 0-.459.815q-.138.453-.15 1.117c0 .18-.146.326-.326.326h-.44a.326.326 0 0 1-.327-.326q.006-.954.21-1.551.207-.598.604-1.009a5.5 5.5 0 0 1 1.003-.797q.447-.29.748-.61.308-.325.465-.711a2.2 2.2 0 0 0 .163-.852q0-.651-.307-1.14a2.04 2.04 0 0 0-.822-.755 2.45 2.45 0 0 0-1.153-.272q-.603 0-1.129.266a2.15 2.15 0 0 0-1.138 1.483c-.067.3-.312.545-.619.545-.323 0-.588-.269-.53-.587a3.12 3.12 0 0 1 1.678-2.268 3.7 3.7 0 0 1 1.738-.405`,clipRule:`evenodd`})}),_t=z({displayName:`Image`,path:(0,f.jsx)(`path`,{fill:`var(--color-icon)`,d:`M16 6a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2H8a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2zM8 7a1 1 0 0 0-1 1v8a1 1 0 0 0 1 1h8a1 1 0 0 0 1-1V8a1 1 0 0 0-1-1zm2.225 4.082a.5.5 0 0 1 .629.064l4 4a.5.5 0 1 1-.707.707L10.5 12.208l-1.646 1.646a.5.5 0 1 1-.708-.707l2-2zM14.5 8a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3m0 1a.5.5 0 1 0 0 1 .5.5 0 0 0 0-1`})}),vt=z({displayName:`LayersCollapse`,path:(0,f.jsx)(`path`,{fill:`var(--color-icon)`,fillRule:`evenodd`,d:`M6.5 7a.5.5 0 0 0 0 1h5a.5.5 0 0 0 0-1zm0 3a.5.5 0 0 0 0 1h5a.5.5 0 0 0 0-1zM6 13.5a.5.5 0 0 1 .5-.5h5a.5.5 0 0 1 0 1h-5a.5.5 0 0 1-.5-.5m.5 2.5a.5.5 0 0 0 0 1h5a.5.5 0 0 0 0-1zm6.646.146 2-2a.5.5 0 0 1 .708 0l2 2a.5.5 0 0 1-.708.708L15.5 15.207l-1.646 1.647a.5.5 0 0 1-.708-.708m2.708-6.292a.5.5 0 0 1-.708 0l-2-2a.5.5 0 0 1 .708-.708L15.5 8.793l1.646-1.647a.5.5 0 0 1 .708.708z`,clipRule:`evenodd`})}),yt=z({displayName:`LetterSpacing`,path:(0,f.jsx)(`path`,{fill:`var(--color-icon)`,d:`M6.5 6a.5.5 0 0 1 .5.5v11a.5.5 0 0 1-1 0v-11a.5.5 0 0 1 .5-.5m11 0a.5.5 0 0 1 .5.5v11a.5.5 0 0 1-1 0v-11a.5.5 0 0 1 .5-.5m-5.25 3a.5.5 0 0 1 .472.335l1.75 5a.5.5 0 1 1-.944.33l-.407-1.165H10.88l-.407 1.165a.5.5 0 1 1-.944-.33l1.75-5 .032-.072A.5.5 0 0 1 11.75 9zm-1.02 3.5h1.54L12 10.298z`})}),bt=z({displayName:`LineHeight`,path:(0,f.jsx)(`path`,{fill:`var(--color-icon)`,d:`M17.5 17a.5.5 0 0 1 0 1h-11a.5.5 0 0 1 0-1zm-5.25-9a.5.5 0 0 1 .476.347l2.25 7a.5.5 0 0 1-.952.306L13.494 14h-2.987l-.531 1.653a.5.5 0 0 1-.952-.306l2.25-7 .03-.075A.5.5 0 0 1 11.75 8zm-1.422 5h2.344L12 9.354zM17.5 6a.5.5 0 0 1 0 1h-11a.5.5 0 0 1 0-1z`})}),xt=z({displayName:`Link`,path:(0,f.jsx)(`path`,{fill:`var(--color-icon)`,d:`M12.444 10.37a2.998 2.998 0 0 1 .677 4.75l-2 2a3 3 0 1 1-4.243-4.242l1.27-1.27c.262-.263.746-.069.826.293a.44.44 0 0 1-.111.405l-1.278 1.279a2 2 0 1 0 2.829 2.828l2-2a2 2 0 0 0 0-2.828l-.029-.028c-.093-.089-.187-.184-.224-.307a.88.88 0 0 1 .22-.87.05.05 0 0 1 .063-.01m.434-3.492a3 3 0 1 1 4.243 4.242l-1.27 1.27c-.262.262-.745.068-.826-.294a.44.44 0 0 1 .111-.405l1.278-1.278a2 2 0 1 0-2.829-2.828l-2 2a2 2 0 0 0 0 2.828l.029.026c.093.089.186.183.223.306a.88.88 0 0 1-.218.874.05.05 0 0 1-.062.009 3 3 0 0 1-.679-4.75z`})}),St=z({displayName:`Minus`,path:(0,f.jsx)(`path`,{fill:`var(--color-icon)`,fillRule:`evenodd`,d:`M6 12a.5.5 0 0 1 .5-.5h11a.5.5 0 0 1 0 1h-11A.5.5 0 0 1 6 12`,clipRule:`evenodd`})}),Ct=z({displayName:`Move`,path:(0,f.jsx)(`path`,{fill:`var(--color-icon)`,d:`M4.586 4.586a2 2 0 0 1 2.005-.497l.14.05 13 5.107a2 2 0 0 1 1.267 1.779v.159a2 2 0 0 1-1.26 1.782l-.15.053-5.024 1.545-1.545 5.024a2 2 0 0 1-1.677 1.398l-.158.012a2 2 0 0 1-1.938-1.267l-5.107-13a2 2 0 0 1 .447-2.145m1.78.484a1 1 0 0 0-1.073.223l-.097.112a1 1 0 0 0-.127.96l5.108 13a1 1 0 0 0 .811.628l.158.006a1 1 0 0 0 .859-.558l.058-.147 1.7-5.53 5.531-1.701a1 1 0 0 0 .687-.76l.018-.157a1 1 0 0 0-.492-.9l-.142-.069z`})}),wt=z({displayName:`Number`,path:(0,f.jsx)(`path`,{fill:`var(--color-icon)`,d:`M16 6a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2H8a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2zM8 7a1 1 0 0 0-1 1v8a1 1 0 0 0 1 1h8a1 1 0 0 0 1-1V8a1 1 0 0 0-1-1zm3.05 2.002a.5.5 0 0 1 .448.547l-.045.452h1.495l.055-.55a.5.5 0 0 1 .995.098l-.045.452h.547a.5.5 0 1 1 0 1h-.648l-.199 2h.847a.5.5 0 1 1 0 1h-.948l-.054.548a.501.501 0 0 1-.995-.098l.044-.45h-1.495l-.054.548a.501.501 0 0 1-.995-.098l.044-.45H9.5a.5.5 0 0 1 0-1h.647l.2-2H9.5a.5.5 0 0 1 0-1h.948l.055-.55a.5.5 0 0 1 .546-.449m.302 1.999-.199 2h1.494l.2-2z`})}),Tt=z({displayName:`Opacity`,path:(0,f.jsx)(`path`,{fill:`var(--color-icon)`,fillRule:`evenodd`,d:`M8 7h8a1 1 0 0 1 1 1v8a1 1 0 0 1-1 1H8a1 1 0 0 1-1-1V8a1 1 0 0 1 1-1M6 8a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2H8a2 2 0 0 1-2-2zm9 1.5a.5.5 0 1 0 0-1 .5.5 0 0 0 0 1M13.5 11a.5.5 0 1 1-1 0 .5.5 0 0 1 1 0m-2 2a.5.5 0 1 1-1 0 .5.5 0 0 1 1 0m-2 2a.5.5 0 1 1-1 0 .5.5 0 0 1 1 0m1.5.5a.5.5 0 1 0 0-1 .5.5 0 0 0 0 1m2-2a.5.5 0 1 0 0-1 .5.5 0 0 0 0 1m.5 1.5a.5.5 0 1 1-1 0 .5.5 0 0 1 1 0m2-4a.5.5 0 1 1-1 0 .5.5 0 0 1 1 0m-.5 2.5a.5.5 0 1 0 0-1 .5.5 0 0 0 0 1m.5 1.5a.5.5 0 1 1-1 0 .5.5 0 0 1 1 0`,clipRule:`evenodd`})}),Et=z({displayName:`Palette`,path:(0,f.jsx)(`path`,{fill:`var(--color-icon)`,d:`M7.312 6.803a7 7 0 0 1 9.639.248l.28.298a7 7 0 0 1 1.76 4.998l-.029.38C18.807 14.222 17.446 15 16.242 15H13.5l-.101.01a.5.5 0 0 0-.4.49v.5c0 .82-.338 1.603-.92 2.127-.6.542-1.468.8-2.37.488a7 7 0 0 1-2.362-1.385l-.297-.28a7 7 0 0 1 0-9.9zm8.93.955a6 6 0 0 0-8.485 0l-.212.225a6 6 0 0 0 2.492 9.689c.978.337 1.848-.457 1.953-1.467L12 16v-.499a1.5 1.5 0 0 1 1.5-1.5h2.743l.158-.006c.733-.057 1.391-.513 1.543-1.216l.024-.155a6 6 0 0 0-1.484-4.611zM8.5 12.001a1 1 0 1 1 0 2 1 1 0 0 1 0-2m7-2a1 1 0 1 1-.001 2 1 1 0 0 1 0-2m-6-1.5a1 1 0 1 1 0 2.001 1 1 0 0 1 0-2m3.5-1a1 1 0 1 1 0 2 1 1 0 0 1 0-2`})}),Dt=z({displayName:`PanelLeftClose`,path:(0,f.jsx)(`path`,{fill:`var(--color-icon)`,d:`M17.653 7.008A1.5 1.5 0 0 1 19 8.5v7a1.5 1.5 0 0 1-1.347 1.492L17.5 17h-11a1.5 1.5 0 0 1-1.492-1.347L5 15.5v-7A1.5 1.5 0 0 1 6.5 7h11zM6.5 8a.5.5 0 0 0-.5.5v7a.5.5 0 0 0 .5.5H9V8zm3.5 8h7.5a.5.5 0 0 0 .5-.5v-7a.5.5 0 0 0-.5-.5H10z`})}),Ot=z({displayName:`Pen`,path:(0,f.jsx)(`path`,{fill:`var(--color-icon)`,d:`M4.886 3.21a1 1 0 0 1 .812-.19l7.698 1.56.338.076a7.67 7.67 0 0 1 5.806 7.266v.346l-.008.329 1.197 1.197a1 1 0 0 1 0 1.414l-5.523 5.522a1 1 0 0 1-1.413 0l-1.198-1.197-.328.008a7.67 7.67 0 0 1-7.612-5.806l-.077-.338L3.02 5.7a1 1 0 0 1 .274-.906l1.5-1.5zm.674 9.99a6.666 6.666 0 0 0 6.383 5.342h.3l.756-.018 1.5 1.5 5.523-5.522-1.5-1.5.018-.756a6.67 6.67 0 0 0-5.048-6.619l-.295-.066L5.5 4l-.396.397 5.16 5.16A3 3 0 0 1 12 9.001 3.001 3.001 0 0 1 12 15a3 3 0 0 1-2.444-4.737l-5.16-5.16L4 5.5zM12 10.001a2 2 0 0 0-2 2l.01.204a2 2 0 0 0 1.786 1.785L12 14a2 2 0 0 0 1.989-1.795l.01-.204a2 2 0 0 0-1.795-1.99z`})}),kt=z({displayName:`Play`,path:(0,f.jsx)(`path`,{fill:`var(--color-icon)`,fillRule:`evenodd`,d:`M6 5.903C6 4.43 7.604 3.517 8.87 4.269l10.15 6.028c1.307.776 1.305 2.669-.003 3.442l-10.15 5.995c-1.228.724-2.768-.11-2.863-1.5L6 18.098zm1 12.195a.9.9 0 0 0 1.357.774l10.152-5.995a1 1 0 0 0 .002-1.72L8.359 5.129A.9.9 0 0 0 7 5.903z`,clipRule:`evenodd`})}),At=z({displayName:`Plus`,path:(0,f.jsx)(`path`,{stroke:`var(--color-icon)`,d:`M12 6.5V17.5M6.5 12H17.5`,strokeLinecap:`round`,strokeLinejoin:`round`})}),jt=z({displayName:`Rectangle`,path:(0,f.jsx)(`path`,{fill:`var(--color-icon)`,fillRule:`evenodd`,d:`M18 5H6a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1V6a1 1 0 0 0-1-1M6 4a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V6a2 2 0 0 0-2-2z`,clipRule:`evenodd`})}),Mt=z({displayName:`RotateClockwise`,path:(0,f.jsx)(`path`,{fill:`var(--color-icon)`,d:`M11.054 9.543a1.5 1.5 0 0 1 2.007.103l3.293 3.293a1.5 1.5 0 0 1 0 2.121l-3.293 3.293a1.5 1.5 0 0 1-2.121 0L7.647 15.06a1.5 1.5 0 0 1 0-2.121l3.293-3.293zm1.3.81a.5.5 0 0 0-.707 0l-3.293 3.293a.5.5 0 0 0 0 .707l3.293 3.293a.5.5 0 0 0 .629.064l.078-.064 3.293-3.293a.5.5 0 0 0 .064-.629l-.064-.078zM9.526 5.767a3.5 3.5 0 0 1 4.949 0L16 7.292V6a.5.5 0 0 1 1 0v2.5a.5.5 0 0 1-.5.5H14a.5.5 0 0 1 0-1h1.293l-1.525-1.526a2.5 2.5 0 0 0-3.535 0l-2.38 2.379a.5.5 0 0 1-.706-.707z`})}),Nt=z({displayName:`Rotation`,path:(0,f.jsx)(`path`,{fill:`var(--color-icon)`,fillRule:`evenodd`,d:`M9 8.5a.5.5 0 0 0-1 0v7a.5.5 0 0 0 .5.5h7a.5.5 0 0 0 0-1H13a4 4 0 0 0-4-4zM9 12v3h3a3 3 0 0 0-3-3`,clipRule:`evenodd`})}),Pt=z({displayName:`Ruler`,path:(0,f.jsx)(`path`,{fill:`var(--color-icon)`,fillRule:`evenodd`,d:`M3.293 7.793a1 1 0 0 0 0 1.414l11.5 11.5a1 1 0 0 0 1.414 0l4.5-4.5a1 1 0 0 0 0-1.414l-11.5-11.5a1 1 0 0 0-1.414 0zM4 8.5l.707.707.69.69.75-.75a.5.5 0 1 1 .707.707l-.75.75 1.292 1.292 2.25-2.25a.5.5 0 0 1 .708.708l-2.25 2.25 1.292 1.292.75-.75a.5.5 0 0 1 .708.708l-.75.75 1.292 1.292 2.25-2.25a.5.5 0 0 1 .708.708l-2.25 2.25 2.689 2.689.707.707.707-.707 3.086-3.086L20 15.5l-.707-.707L9.207 4.707 8.5 4l-.707.707-3.086 3.086zM16 17a1 1 0 1 0 0-2 1 1 0 0 0 0 2`,clipRule:`evenodd`})}),Ft=z({displayName:`Search`,path:(0,f.jsx)(`path`,{fill:`var(--color-icon)`,d:`M11.5 6a5.5 5.5 0 0 1 4.226 9.019l2.127 2.127a.5.5 0 1 1-.707.707l-2.127-2.127A5.5 5.5 0 1 1 11.5 6m0 1a4.5 4.5 0 1 0 0 9 4.5 4.5 0 0 0 0-9`})}),It=z({displayName:`SelectMatching`,path:(0,f.jsx)(`path`,{fill:`var(--color-icon)`,d:`M6.5 16a.5.5 0 0 1 .49.4l.02.2c.04.196.194.35.39.39l.2.02a.5.5 0 0 1-.1.99A1.5 1.5 0 0 1 6 16.5a.5.5 0 0 1 .5-.5m4 0a.5.5 0 0 1 .5.5A1.5 1.5 0 0 1 9.5 18a.5.5 0 0 1-.1-.99l.2-.02a.5.5 0 0 0 .39-.39l.02-.2a.5.5 0 0 1 .49-.4m3 0a.5.5 0 0 1 .49.4l.02.2c.04.196.194.35.39.39l.2.02a.5.5 0 0 1-.1.99 1.5 1.5 0 0 1-1.5-1.5.5.5 0 0 1 .5-.5m4 0a.5.5 0 0 1 .5.5 1.5 1.5 0 0 1-1.5 1.5.5.5 0 0 1-.1-.99l.2-.02a.5.5 0 0 0 .39-.39l.02-.2a.5.5 0 0 1 .49-.4m-10-3a.5.5 0 0 1 .1.99l-.2.02a.5.5 0 0 0-.39.39l-.02.2a.5.5 0 0 1-.99-.1A1.5 1.5 0 0 1 7.5 13m2 0a1.5 1.5 0 0 1 1.5 1.5.5.5 0 0 1-.99.1l-.02-.2a.5.5 0 0 0-.39-.39l-.2-.02a.5.5 0 0 1 .1-.99m5 0a.5.5 0 0 1 .1.99l-.2.02a.5.5 0 0 0-.39.39l-.02.2a.5.5 0 0 1-.99-.1 1.5 1.5 0 0 1 1.5-1.5m2 0a1.5 1.5 0 0 1 1.5 1.5.5.5 0 0 1-.99.1l-.02-.2a.5.5 0 0 0-.39-.39l-.2-.02a.5.5 0 0 1 .1-.99m-7-7A1.5 1.5 0 0 1 11 7.5v2A1.5 1.5 0 0 1 9.5 11h-2A1.5 1.5 0 0 1 6 9.5v-2A1.5 1.5 0 0 1 7.5 6zm4 3a.5.5 0 0 1 .49.4l.02.2c.04.196.194.35.39.39l.2.02a.5.5 0 0 1-.1.99A1.5 1.5 0 0 1 13 9.5a.5.5 0 0 1 .5-.5m4 0a.5.5 0 0 1 .5.5 1.5 1.5 0 0 1-1.5 1.5.5.5 0 0 1-.1-.99l.2-.02a.5.5 0 0 0 .39-.39l.02-.2a.5.5 0 0 1 .49-.4m-10-2a.5.5 0 0 0-.5.5v2a.5.5 0 0 0 .5.5h2a.5.5 0 0 0 .5-.5v-2a.5.5 0 0 0-.5-.5zm7-1a.5.5 0 0 1 .1.99l-.2.02a.5.5 0 0 0-.39.39l-.02.2a.5.5 0 0 1-.99-.1A1.5 1.5 0 0 1 14.5 6m2 0A1.5 1.5 0 0 1 18 7.5a.5.5 0 0 1-.99.1l-.02-.2a.5.5 0 0 0-.39-.39l-.2-.02a.5.5 0 0 1 .1-.99`})}),Lt=z({displayName:`ShadowBottomLeft`,path:(0,f.jsxs)(f.Fragment,{children:[(0,f.jsx)(`path`,{fill:`var(--color-icon)`,d:`M16.204 6.01A2 2 0 0 1 18 8v8l-.01.204a2 2 0 0 1-1.786 1.785L16 18H8l-.204-.01a2 2 0 0 1-1.785-1.786L6 16V8a2 2 0 0 1 1.796-1.99L8 6h8zM8 7a1 1 0 0 0-1 1v8a1 1 0 0 0 1 1h8a1 1 0 0 0 1-1V8a1 1 0 0 0-1-1z`}),(0,f.jsx)(`path`,{fill:`var(--color-icon-tertiary)`,d:`M6 8v8a2 2 0 0 0 2 2h8a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2v-8a2 2 0 0 1 1.796-1.99z`})]})}),Rt=z({displayName:`ShadowBottomRight`,path:(0,f.jsxs)(f.Fragment,{children:[(0,f.jsx)(`path`,{fill:`var(--color-icon)`,d:`M16.204 6.01A2 2 0 0 1 18 8v8l-.01.204a2 2 0 0 1-1.786 1.785L16 18H8l-.204-.01a2 2 0 0 1-1.785-1.786L6 16V8a2 2 0 0 1 1.796-1.99L8 6h8zM8 7a1 1 0 0 0-1 1v8a1 1 0 0 0 1 1h8a1 1 0 0 0 1-1V8a1 1 0 0 0-1-1z`}),(0,f.jsx)(`path`,{fill:`var(--color-icon-tertiary)`,d:`M18.204 8.01A2 2 0 0 1 20 10v8a2 2 0 0 1-2 2h-8a2 2 0 0 1-1.99-1.796L8 18h8a2 2 0 0 0 2-2V8z`})]})}),zt=z({displayName:`ShadowDown`,path:(0,f.jsxs)(f.Fragment,{children:[(0,f.jsx)(`path`,{fill:`var(--color-icon)`,d:`M16.204 6.01A2 2 0 0 1 18 8v8l-.01.204a2 2 0 0 1-1.786 1.785L16 18H8l-.204-.01a2 2 0 0 1-1.785-1.786L6 16V8a2 2 0 0 1 1.796-1.99L8 6h8zM8 7a1 1 0 0 0-1 1v8a1 1 0 0 0 1 1h8a1 1 0 0 0 1-1V8a1 1 0 0 0-1-1z`}),(0,f.jsx)(`path`,{fill:`var(--color-icon-tertiary)`,d:`M18 19a2 2 0 0 1-2 2H8a2 2 0 0 1-2-2v-3a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2z`})]})}),Bt=z({displayName:`ShadowLeft`,path:(0,f.jsxs)(f.Fragment,{children:[(0,f.jsx)(`path`,{fill:`var(--color-icon)`,d:`M16.204 6.01A2 2 0 0 1 18 8v8l-.01.204a2 2 0 0 1-1.786 1.785L16 18H8l-.204-.01a2 2 0 0 1-1.785-1.786L6 16V8a2 2 0 0 1 1.796-1.99L8 6h8zM8 7a1 1 0 0 0-1 1v8a1 1 0 0 0 1 1h8a1 1 0 0 0 1-1V8a1 1 0 0 0-1-1z`}),(0,f.jsx)(`path`,{fill:`var(--color-icon-tertiary)`,d:`M8 6a2 2 0 0 0-2 2v8a2 2 0 0 0 2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2z`})]})}),Vt=z({displayName:`ShadowRight`,path:(0,f.jsxs)(f.Fragment,{children:[(0,f.jsx)(`path`,{fill:`var(--color-icon)`,d:`M16.204 6.01A2 2 0 0 1 18 8v8l-.01.204a2 2 0 0 1-1.786 1.785L16 18H8l-.204-.01a2 2 0 0 1-1.785-1.786L6 16V8a2 2 0 0 1 1.796-1.99L8 6h8zM8 7a1 1 0 0 0-1 1v8a1 1 0 0 0 1 1h8a1 1 0 0 0 1-1V8a1 1 0 0 0-1-1z`}),(0,f.jsx)(`path`,{fill:`var(--color-icon-tertiary)`,d:`M19 6a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2h-3a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2z`})]})}),Ht=z({displayName:`ShadowTopLeft`,path:(0,f.jsxs)(f.Fragment,{children:[(0,f.jsx)(`path`,{fill:`var(--color-icon)`,d:`M16.204 6.01A2 2 0 0 1 18 8v8l-.01.204a2 2 0 0 1-1.786 1.785L16 18H8l-.204-.01a2 2 0 0 1-1.785-1.786L6 16V8a2 2 0 0 1 1.796-1.99L8 6h8zM8 7a1 1 0 0 0-1 1v8a1 1 0 0 0 1 1h8a1 1 0 0 0 1-1V8a1 1 0 0 0-1-1z`}),(0,f.jsx)(`path`,{fill:`var(--color-icon-tertiary)`,d:`M14 4a2 2 0 0 1 2 2H8a2 2 0 0 0-2 2v8l-.204-.01A2 2 0 0 1 4 14V6a2 2 0 0 1 2-2z`})]})}),Ut=z({displayName:`ShadowTopRight`,path:(0,f.jsxs)(f.Fragment,{children:[(0,f.jsx)(`path`,{fill:`var(--color-icon)`,d:`M16.204 6.01A2 2 0 0 1 18 8v8l-.01.204a2 2 0 0 1-1.786 1.785L16 18H8l-.204-.01a2 2 0 0 1-1.785-1.786L6 16V8a2 2 0 0 1 1.796-1.99L8 6h8zM8 7a1 1 0 0 0-1 1v8a1 1 0 0 0 1 1h8a1 1 0 0 0 1-1V8a1 1 0 0 0-1-1z`}),(0,f.jsx)(`path`,{fill:`var(--color-icon-tertiary)`,d:`M18 4a2 2 0 0 1 2 2v8a2 2 0 0 1-1.796 1.99L18 16V8a2 2 0 0 0-2-2H8a2 2 0 0 1 2-2z`})]})}),Wt=z({displayName:`ShadowUp`,path:(0,f.jsxs)(f.Fragment,{children:[(0,f.jsx)(`path`,{fill:`var(--color-icon)`,d:`M16.204 6.01A2 2 0 0 1 18 8v8l-.01.204a2 2 0 0 1-1.786 1.785L16 18H8l-.204-.01a2 2 0 0 1-1.785-1.786L6 16V8a2 2 0 0 1 1.796-1.99L8 6h8zM8 7a1 1 0 0 0-1 1v8a1 1 0 0 0 1 1h8a1 1 0 0 0 1-1V8a1 1 0 0 0-1-1z`}),(0,f.jsx)(`path`,{fill:`var(--color-icon-tertiary)`,d:`M16 3a2 2 0 0 1 2 2v3a2 2 0 0 0-2-2H8a2 2 0 0 0-2 2V5a2 2 0 0 1 2-2z`})]})}),Gt=z({displayName:`Sliders`,path:(0,f.jsx)(`path`,{fill:`var(--color-icon)`,d:`M8.5 18a.5.5 0 0 0 .5-.5v-1.55a2.5 2.5 0 0 0 0-4.9V6.5a.5.5 0 0 0-1 0v4.55a2.501 2.501 0 0 0 0 4.9v1.55a.5.5 0 0 0 .5.5m7 0a.5.5 0 0 0 .5-.5v-4.55a2.501 2.501 0 0 0 0-4.9V6.5a.5.5 0 0 0-1 0v1.55a2.5 2.5 0 0 0 0 4.9v4.55a.5.5 0 0 0 .5.5m0-6a1.5 1.5 0 1 1 0-3 1.5 1.5 0 0 1 0 3m-7 3a1.5 1.5 0 1 1 0-3 1.5 1.5 0 0 1 0 3`})}),Kt=z({displayName:`String`,path:(0,f.jsx)(`path`,{fill:`var(--color-icon)`,fillRule:`evenodd`,d:`M8 7h8a1 1 0 0 1 1 1v8a1 1 0 0 1-1 1H8a1 1 0 0 1-1-1V8a1 1 0 0 1 1-1M6 8a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2H8a2 2 0 0 1-2-2zm3.5 1a.5.5 0 0 0-.5.5v1a.5.5 0 0 0 1 0V10h1.5v4H11a.5.5 0 0 0 0 1h2a.5.5 0 0 0 0-1h-.5v-4H14v.5a.5.5 0 0 0 1 0v-1a.5.5 0 0 0-.5-.5z`,clipRule:`evenodd`})}),qt=z({displayName:`Text`,path:(0,f.jsx)(`path`,{fill:`var(--color-icon)`,d:`M19.5 4a.5.5 0 0 1 .5.5v3a.5.5 0 0 1-1 0V5h-6.5v14H15a.5.5 0 0 1 0 1H9a.5.5 0 0 1 0-1h2.5V5H5v2.5a.5.5 0 0 1-1 0v-3a.5.5 0 0 1 .5-.5z`})}),Jt=z({displayName:`TextAlignCenter`,path:(0,f.jsx)(`path`,{fill:`var(--color-icon)`,fillRule:`evenodd`,d:`M5 7.5a.5.5 0 0 1 .5-.5h13a.5.5 0 0 1 0 1h-13a.5.5 0 0 1-.5-.5m3 4a.5.5 0 0 1 .5-.5h7a.5.5 0 0 1 0 1h-7a.5.5 0 0 1-.5-.5M7.5 15a.5.5 0 0 0 0 1h9a.5.5 0 0 0 0-1z`,clipRule:`evenodd`})}),Yt=z({displayName:`TextAlignLeft`,path:(0,f.jsx)(`path`,{fill:`var(--color-icon)`,fillRule:`evenodd`,d:`M5 7.5a.5.5 0 0 1 .5-.5h13a.5.5 0 0 1 0 1h-13a.5.5 0 0 1-.5-.5m0 4a.5.5 0 0 1 .5-.5h7a.5.5 0 0 1 0 1h-7a.5.5 0 0 1-.5-.5m.5 3.5a.5.5 0 0 0 0 1h9a.5.5 0 0 0 0-1z`,clipRule:`evenodd`})}),Xt=z({displayName:`TextAlignRight`,path:(0,f.jsx)(`path`,{fill:`var(--color-icon)`,fillRule:`evenodd`,d:`M19 7.5a.5.5 0 0 0-.5-.5h-13a.5.5 0 0 0 0 1h13a.5.5 0 0 0 .5-.5m0 4a.5.5 0 0 0-.5-.5h-7a.5.5 0 0 0 0 1h7a.5.5 0 0 0 .5-.5m-.5 3.5a.5.5 0 0 1 0 1h-9a.5.5 0 0 1 0-1z`,clipRule:`evenodd`})}),Zt=z({displayName:`TextVerticalAlignBottom`,path:(0,f.jsx)(`path`,{fill:`var(--color-icon)`,fillRule:`evenodd`,d:`m14.854 13.854-3 3a.5.5 0 0 1-.708 0l-3-3a.5.5 0 0 1 .708-.708L11 15.293V7.5a.5.5 0 0 1 1 0v7.793l2.146-2.147a.5.5 0 0 1 .708.708M5.5 19a.5.5 0 0 1 0-1h12a.5.5 0 0 1 0 1z`,clipRule:`evenodd`})}),Qt=z({displayName:`TextVerticalAlignMiddle`,path:(0,f.jsx)(`path`,{fill:`var(--color-icon)`,fillRule:`evenodd`,d:`m11.854 9.854 2-2a.5.5 0 0 0-.708-.708L12 8.293V4.5a.5.5 0 0 0-1 0v3.793L9.854 7.146a.5.5 0 1 0-.708.708l2 2a.5.5 0 0 0 .708 0m0 3.292 2 2a.5.5 0 0 1-.708.708L12 14.707V18.5a.5.5 0 0 1-1 0v-3.793l-1.146 1.147a.5.5 0 0 1-.708-.708l2-2a.5.5 0 0 1 .708 0M5.5 11a.5.5 0 0 0 0 1h12a.5.5 0 0 0 0-1z`,clipRule:`evenodd`})}),$t=z({displayName:`TextVerticalAlignTop`,path:(0,f.jsx)(`path`,{fill:`var(--color-icon)`,fillRule:`evenodd`,d:`M5.5 5a.5.5 0 0 0 0 1h12a.5.5 0 0 0 0-1zm6.354 2.146a.5.5 0 0 0-.708 0l-3 3a.5.5 0 0 0 .708.708L11 8.707V16.5a.5.5 0 0 0 1 0V8.707l2.146 2.147a.5.5 0 0 0 .708-.708z`,clipRule:`evenodd`})}),en=z({displayName:`VariableMode`,path:(0,f.jsx)(`path`,{fill:`var(--color-icon)`,d:`M9.154 5.004A3 3 0 0 1 12 8v7a3 3 0 0 1-5.996.154L6 15V8a3 3 0 0 1 3-3zm7.953 7.544a.41.41 0 0 1 .512-.07A2.99 2.99 0 0 1 19 15a3 3 0 0 1-3 3h-3.29c-.371 0-.574-.492-.37-.802a.43.43 0 0 1 .356-.198H16a2 2 0 0 0 1.24-3.57c-.269-.211-.374-.64-.133-.882M9 6a2 2 0 0 0-2 2v7a2 2 0 0 0 4 0V8a2 2 0 0 0-2-2m0 8a1 1 0 1 1 0 2 1 1 0 0 1 0-2m4.305-6.918a3 3 0 0 1 2.816.797l.107.112a3 3 0 0 1 0 4.018l-.107.112-2.267 2.268a.5.5 0 0 1-.707-.707l2.267-2.268a2 2 0 0 0-1.68-3.394c-.344.046-.734-.184-.734-.53 0-.19.12-.364.305-.408`})}),tn=z({displayName:`Variable`,path:(0,f.jsx)(`path`,{fill:`var(--color-icon)`,d:`M11 5.65a2 2 0 0 1 2 0l4 2.31a2 2 0 0 1 1 1.731v4.62a2 2 0 0 1-1 1.732l-4 2.309a2 2 0 0 1-2 0l-4-2.309a2 2 0 0 1-1-1.732.31.31 0 0 1 .31-.311h.38a.31.31 0 0 1 .31.31l.009.133c.04.305.22.578.491.734l4 2.31c.27.155.597.175.88.058l.12-.059 4-2.31a1 1 0 0 0 .491-.733L17 14.31V9.692a1 1 0 0 0-.5-.866l-4-2.308a1 1 0 0 0-1 0l-4 2.308-.11.074a1 1 0 0 0-.39.792.31.31 0 0 1-.309.309H6.31a.31.31 0 0 1-.31-.31A2 2 0 0 1 7 7.96zm1 4.351a2 2 0 1 1-1.935 2.499H5.5a.5.5 0 0 1 0-1h4.566A2 2 0 0 1 12 10.001m0 1a1 1 0 1 0 0 2 1 1 0 0 0 0-2`})}),nn=z({displayName:`Video`,path:(0,f.jsx)(`path`,{fill:`var(--color-icon)`,fillRule:`evenodd`,d:`M8 7h8a1 1 0 0 1 1 1v8a1 1 0 0 1-1 1H8a1 1 0 0 1-1-1V8a1 1 0 0 1 1-1M6 8a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2H8a2 2 0 0 1-2-2zm4.996 1.132A1 1 0 0 0 9.5 10v4a1 1 0 0 0 1.496.868l3.5-2a1 1 0 0 0 0-1.736zm.504 4.297-1 .571v-4l1 .571 1.492.853L14 12l-1.008.576z`,clipRule:`evenodd`})}),rn=z({displayName:`Styles`,path:(0,f.jsx)(`path`,{fill:`var(--color-icon)`,fillRule:`evenodd`,clipRule:`evenodd`,d:`M8.5 10a1.5 1.5 0 1 1 0-3 1.5 1.5 0 0 1 0 3Zm0 1a2.5 2.5 0 1 1 0-5 2.5 2.5 0 0 1 0 5Zm7-1a1.5 1.5 0 1 1 0-3 1.5 1.5 0 0 1 0 3Zm0 1a2.5 2.5 0 1 1 0-5 2.5 2.5 0 0 1 0 5ZM14 15.5a1.5 1.5 0 1 0 3 0 1.5 1.5 0 0 0-3 0Zm-1 0a2.5 2.5 0 1 0 5 0 2.5 2.5 0 0 0-5 0ZM8.5 17a1.5 1.5 0 1 1 0-3 1.5 1.5 0 0 1 0 3Zm0 1a2.5 2.5 0 1 1 0-5 2.5 2.5 0 0 1 0 5Z`})}),[an,on]=be(`Checkbox`),sn=l.default.forwardRef((e,t)=>{let{className:n,id:r,...i}=e,a=(0,l.useId)();return(0,f.jsx)(an,{id:r??a,children:(0,f.jsx)(`div`,{ref:t,className:(0,d.cx)(n,`fp-CheckboxRoot`),...i})})}),cn=l.default.forwardRef((e,t)=>{let{className:n,indeterminate:r,...i}=e,{id:a}=on(`Input`);return(0,f.jsxs)(f.Fragment,{children:[(0,f.jsx)(`input`,{ref:L(t,fn(r)),className:(0,d.cx)(n,`fp-CheckboxInput`),id:a,"aria-labelledby":`checkbox-label-${a}`,"aria-describedby":`checkbox-description-${a}`,...i,type:`checkbox`}),(0,f.jsx)(ln,{})]})}),ln=()=>(0,f.jsxs)(`span`,{className:`fp-CheckboxIndicator`,"aria-hidden":`true`,children:[(0,f.jsx)(B,{className:`fp-CheckboxCheckmark`,size:`4`}),(0,f.jsx)(Ue,{className:`fp-CheckboxIndeterminate`,size:`4`})]}),un=l.default.forwardRef((e,t)=>{let{className:n,...r}=e,{id:i}=on(`Input`);return(0,f.jsx)(le,{"aria-hidden":`true`,ref:t,className:(0,d.cx)(n,`fp-CheckboxLabel`),htmlFor:i,id:`checkbox-label-${i}`,...r})}),dn=l.default.forwardRef((e,t)=>{let{className:n,...r}=e,{id:i}=on(`Description`);return(0,f.jsx)(R,{"aria-hidden":`true`,ref:t,className:(0,d.cx)(n,`fp-CheckboxDescription`),id:`checkbox-description-${i}`,...r})});function fn(e){return(0,l.useCallback)(t=>{t&&(t.indeterminate=!!e)},[e])}sn.displayName=`Checkbox.Root`,cn.displayName=`Checkbox.Input`,ln.displayName=`Checkbox.Indicator`,un.displayName=`Checkbox.Label`,dn.displayName=`Checkbox.Description`;var pn=o({Description:()=>dn,Input:()=>cn,Label:()=>un,Root:()=>sn}),mn=v.Select.Root,hn=v.Select.Portal,gn=v.Select.Value,_n=v.Select.Label,vn=v.Select.Arrow,yn=l.default.forwardRef((e,t)=>{let{className:n,...r}=e;return(0,f.jsx)(v.Select.Trigger,{ref:t,className:I(n,`fp-SelectTrigger`),...r})}),bn=l.default.forwardRef((e,t)=>{let{className:n,...r}=e;return(0,f.jsx)(v.Select.Icon,{ref:t,className:I(n,`fp-SelectTriggerIcon`),...r})}),xn=l.default.forwardRef((e,t)=>{let{className:n,positionMethod:r=`fixed`,...i}=e;return(0,f.jsx)(v.Select.Positioner,{ref:t,className:I(n,`fp-SelectPositioner`),positionMethod:r,...i})}),Sn=l.default.forwardRef((e,t)=>{let{className:n,...r}=e;return(0,f.jsx)(v.Select.Popup,{ref:t,className:I(n,`fp-MenuContent`),...r})}),Cn=l.default.forwardRef((e,t)=>(0,f.jsx)(v.Select.List,{ref:t,...e})),wn=l.default.forwardRef((e,t)=>{let{className:n,...r}=e;return(0,f.jsx)(v.Select.Item,{ref:t,className:I(n,`fp-MenuItem fp-MenuCheckboxItem`),...r})}),Tn=v.Select.ItemText,En=l.default.forwardRef((e,t)=>{let{className:n,...r}=e;return(0,f.jsx)(v.Select.ItemIndicator,{ref:t,className:I(n,`fp-MenuItemIndicator`),...r})}),Dn=l.default.forwardRef((e,t)=>{let{className:n,...r}=e;return(0,f.jsx)(v.Select.Separator,{ref:t,className:I(n,`fp-MenuSeparator`),...r})}),On=l.default.forwardRef((e,t)=>{let{className:n,...r}=e;return(0,f.jsx)(v.Select.Group,{ref:t,className:I(n,`fp-MenuGroup`),...r})}),kn=l.default.forwardRef((e,t)=>{let{className:n,...r}=e;return(0,f.jsx)(v.Select.GroupLabel,{ref:t,className:I(n,`fp-MenuLabel`),...r})}),An=l.default.forwardRef((e,t)=>{let{className:n,...r}=e;return(0,f.jsx)(v.Select.ScrollUpArrow,{ref:t,className:I(n,`fp-SelectScrollUpButton`),...r})}),jn=l.default.forwardRef((e,t)=>{let{className:n,...r}=e;return(0,f.jsx)(v.Select.ScrollDownArrow,{ref:t,className:I(n,`fp-SelectScrollDownButton`),...r})});yn.displayName=`Select.Trigger`,bn.displayName=`Select.Icon`,xn.displayName=`Select.Positioner`,Sn.displayName=`Select.Popup`,Cn.displayName=`Select.List`,wn.displayName=`Select.Item`,En.displayName=`Select.ItemIndicator`,Dn.displayName=`Select.Separator`,On.displayName=`Select.Group`,kn.displayName=`Select.GroupLabel`,An.displayName=`Select.ScrollUpArrow`,jn.displayName=`Select.ScrollDownArrow`;var Mn=o({Arrow:()=>vn,Group:()=>On,GroupLabel:()=>kn,Icon:()=>bn,Item:()=>wn,ItemIndicator:()=>En,ItemText:()=>Tn,Label:()=>_n,List:()=>Cn,Popup:()=>Sn,Portal:()=>hn,Positioner:()=>xn,Root:()=>mn,ScrollDownArrow:()=>jn,ScrollUpArrow:()=>An,Separator:()=>Dn,Trigger:()=>yn,Value:()=>gn}),Nn=y.Combobox.Root,Pn=y.Combobox.Label,Fn=y.Combobox.Value,In=y.Combobox.Portal,Ln=y.Combobox.Arrow,Rn=y.Combobox.Backdrop,zn=l.default.forwardRef((e,t)=>{let{className:n,...r}=e;return(0,f.jsx)(y.Combobox.Trigger,{ref:t,className:I(n,`fp-SelectTrigger fp-ComboboxTrigger`),...r})}),Bn=l.default.forwardRef((e,t)=>{let{className:n,...r}=e;return(0,f.jsx)(y.Combobox.Icon,{ref:t,className:I(n,`fp-SelectTriggerIcon fp-ComboboxTriggerIcon`),...r})}),Vn=l.default.forwardRef((e,t)=>{let{className:n,positionMethod:r=`fixed`,sideOffset:i=4,...a}=e;return(0,f.jsx)(y.Combobox.Positioner,{ref:t,className:I(n,`fp-ComboboxPositioner`),positionMethod:r,sideOffset:i,...a})}),Hn=l.default.forwardRef((e,t)=>{let{className:n,...r}=e;return(0,f.jsx)(y.Combobox.Popup,{ref:t,className:I(n,`fp-ComboboxPopup`),...r})}),Un=l.default.forwardRef((e,t)=>{let{className:n,...r}=e;return(0,f.jsx)(y.Combobox.InputGroup,{ref:t,className:I(n,`fp-ComboboxInputGroup`),...r})}),Wn=l.default.forwardRef((e,t)=>{let{className:n,...r}=e;return(0,f.jsx)(y.Combobox.Input,{ref:t,className:I(n,`fp-Input fp-ComboboxInput`),...r})}),Gn=l.default.forwardRef((e,t)=>{let{placeholder:n=` `,...r}=e,i=l.default.useRef(null),a=L(t,i);function o(){nr(i.current),i.current?.focus()}return(0,f.jsxs)(l.default.Fragment,{children:[(0,f.jsx)(Ft,{}),(0,f.jsx)(Wn,{ref:a,placeholder:n,...r}),(0,f.jsx)(`button`,{type:`button`,"aria-label":`Clear search`,className:`fp-IconButton fp-size-small fp-ComboboxSearchClear`,onMouseDown:e=>e.preventDefault(),onClick:o,children:(0,f.jsx)(Je,{})})]})}),Kn=l.default.forwardRef((e,t)=>{let{className:n,...r}=e;return(0,f.jsx)(y.Combobox.List,{ref:t,className:I(n,`fp-ComboboxList`),...r})}),qn=l.default.forwardRef((e,t)=>{let{className:n,...r}=e;return(0,f.jsx)(y.Combobox.Item,{ref:t,className:I(n,`fp-MenuItem fp-MenuCheckboxItem fp-ComboboxItem`),...r})}),Jn=l.default.forwardRef((e,t)=>{let{className:n,...r}=e;return(0,f.jsx)(y.Combobox.ItemIndicator,{ref:t,className:I(n,`fp-MenuItemIndicator fp-ComboboxItemIndicator`),...r})}),Yn=l.default.forwardRef((e,t)=>{let{className:n,...r}=e;return(0,f.jsx)(y.Combobox.Empty,{ref:t,className:I(n,`fp-ComboboxMessage`),...r})}),Xn=l.default.forwardRef((e,t)=>{let{className:n,...r}=e;return(0,f.jsx)(y.Combobox.Status,{ref:t,className:I(n,`fp-ComboboxMessage`),...r})}),Zn=l.default.forwardRef((e,t)=>{let{className:n,...r}=e;return(0,f.jsx)(y.Combobox.Group,{ref:t,className:I(n,`fp-MenuGroup`),...r})}),Qn=l.default.forwardRef((e,t)=>{let{className:n,...r}=e;return(0,f.jsx)(y.Combobox.GroupLabel,{ref:t,className:I(n,`fp-MenuLabel`),...r})}),$n=y.Combobox.Collection,er=l.default.forwardRef((e,t)=>{let{className:n,...r}=e;return(0,f.jsx)(b.Separator,{ref:t,className:I(n,`fp-MenuSeparator`),...r})}),tr=l.default.forwardRef((e,t)=>{let{className:n,...r}=e;return(0,f.jsx)(y.Combobox.Clear,{ref:t,className:I(n,`fp-IconButton fp-size-small fp-ComboboxClear`),...r})});zn.displayName=`Combobox.Trigger`,Bn.displayName=`Combobox.Icon`,Vn.displayName=`Combobox.Positioner`,Hn.displayName=`Combobox.Popup`,Un.displayName=`Combobox.InputGroup`,Wn.displayName=`Combobox.Input`,Gn.displayName=`Combobox.SearchInput`,Kn.displayName=`Combobox.List`,qn.displayName=`Combobox.Item`,Jn.displayName=`Combobox.ItemIndicator`,Yn.displayName=`Combobox.Empty`,Xn.displayName=`Combobox.Status`,Zn.displayName=`Combobox.Group`,Qn.displayName=`Combobox.GroupLabel`,er.displayName=`Combobox.Separator`,tr.displayName=`Combobox.Clear`;function nr(e){if(e===null)return;let t=Object.getOwnPropertyDescriptor(HTMLInputElement.prototype,`value`)?.set;t===void 0?e.value=``:t.call(e,``),e.dispatchEvent(new Event(`input`,{bubbles:!0,cancelable:!0}))}var rr=o({Arrow:()=>Ln,Backdrop:()=>Rn,Clear:()=>tr,Collection:()=>$n,Empty:()=>Yn,Group:()=>Zn,GroupLabel:()=>Qn,Icon:()=>Bn,Input:()=>Wn,InputGroup:()=>Un,Item:()=>qn,ItemIndicator:()=>Jn,Label:()=>Pn,List:()=>Kn,Popup:()=>Hn,Portal:()=>In,Positioner:()=>Vn,Root:()=>Nn,SearchInput:()=>Gn,Separator:()=>er,Status:()=>Xn,Trigger:()=>zn,Value:()=>Fn}),ir=x.Menu.Root,ar=x.Menu.Trigger,or=x.Menu.Portal,sr=x.Menu.Positioner,cr=x.Menu.SubmenuRoot,lr=x.Menu.RadioGroup,ur=l.default.forwardRef((e,t)=>{let{className:n,...r}=e;return(0,f.jsx)(x.Menu.Popup,{ref:t,className:I(n,`fp-MenuContent`),...r})}),dr=l.default.forwardRef((e,t)=>{let{className:n,...r}=e;return(0,f.jsx)(x.Menu.Item,{ref:t,className:I(n,`fp-MenuItem`),...r})}),fr=l.default.forwardRef((e,t)=>{let{className:n,...r}=e;return(0,f.jsx)(x.Menu.Separator,{ref:t,className:I(n,`fp-MenuSeparator`),...r})}),pr=l.default.forwardRef((e,t)=>{let{className:n,...r}=e;return(0,f.jsx)(x.Menu.GroupLabel,{ref:t,className:I(n,`fp-MenuLabel`),...r})}),mr=l.default.forwardRef((e,t)=>{let{className:n,...r}=e;return(0,f.jsx)(x.Menu.Group,{ref:t,className:I(n,`fp-MenuGroup`),...r})}),hr=e=>{let{children:t,...n}=e;return(0,f.jsxs)(`div`,{...n,children:[t,(0,f.jsx)(Ge,{className:`fp-MenuSubtriggerCaret`})]})},gr=l.default.forwardRef((e,t)=>{let{className:n,render:r=hr,...i}=e;return(0,f.jsx)(x.Menu.SubmenuTrigger,{ref:t,className:I(n,`fp-MenuItem`),render:r,...i})}),_r=l.default.forwardRef((e,t)=>{let{className:n,...r}=e;return(0,f.jsx)(x.Menu.CheckboxItem,{ref:t,className:I(n,`fp-MenuItem fp-MenuCheckboxItem`),...r})}),vr=l.default.forwardRef((e,t)=>{let{className:n,...r}=e;return(0,f.jsx)(x.Menu.CheckboxItemIndicator,{ref:t,className:I(n,`fp-MenuItemIndicator`),...r})}),yr=l.default.forwardRef((e,t)=>{let{className:n,...r}=e;return(0,f.jsx)(x.Menu.RadioItem,{ref:t,className:I(n,`fp-MenuItem fp-MenuRadioItem`),...r})}),br=l.default.forwardRef((e,t)=>{let{className:n,...r}=e;return(0,f.jsx)(x.Menu.RadioItemIndicator,{ref:t,className:I(n,`fp-MenuItemIndicator`),...r})});ur.displayName=`DropdownMenu.Popup`,dr.displayName=`DropdownMenu.Item`,fr.displayName=`DropdownMenu.Separator`,mr.displayName=`DropdownMenu.Group`,pr.displayName=`DropdownMenu.GroupLabel`,gr.displayName=`DropdownMenu.SubmenuTrigger`,_r.displayName=`DropdownMenu.CheckboxItem`,vr.displayName=`DropdownMenu.CheckboxItemIndicator`,yr.displayName=`DropdownMenu.RadioItem`,br.displayName=`DropdownMenu.RadioItemIndicator`;var xr=o({CheckboxItem:()=>_r,CheckboxItemIndicator:()=>vr,Group:()=>mr,GroupLabel:()=>pr,Item:()=>dr,Popup:()=>ur,Portal:()=>or,Positioner:()=>sr,RadioGroup:()=>lr,RadioItem:()=>yr,RadioItemIndicator:()=>br,Root:()=>ir,Separator:()=>fr,SubmenuRoot:()=>cr,SubmenuTrigger:()=>gr,Trigger:()=>ar}),Sr=S.ContextMenu.Root,Cr=S.ContextMenu.Trigger,wr=S.ContextMenu.Portal,Tr=S.ContextMenu.Positioner,Er=S.ContextMenu.SubmenuRoot,Dr=S.ContextMenu.RadioGroup,Or=l.default.forwardRef((e,t)=>{let{className:n,...r}=e;return(0,f.jsx)(S.ContextMenu.Popup,{ref:t,className:I(n,`fp-MenuContent`),...r})}),kr=l.default.forwardRef((e,t)=>{let{className:n,...r}=e;return(0,f.jsx)(S.ContextMenu.Item,{ref:t,className:I(n,`fp-MenuItem`),...r})}),Ar=l.default.forwardRef((e,t)=>{let{className:n,...r}=e;return(0,f.jsx)(S.ContextMenu.Separator,{ref:t,className:I(n,`fp-MenuSeparator`),...r})}),jr=l.default.forwardRef((e,t)=>{let{className:n,...r}=e;return(0,f.jsx)(S.ContextMenu.GroupLabel,{ref:t,className:I(n,`fp-MenuLabel`),...r})}),Mr=l.default.forwardRef((e,t)=>{let{className:n,...r}=e;return(0,f.jsx)(S.ContextMenu.Group,{ref:t,className:I(n,`fp-MenuGroup`),...r})}),Nr=e=>{let{children:t,...n}=e;return(0,f.jsxs)(`div`,{...n,children:[t,(0,f.jsx)(Ge,{className:`fp-MenuSubtriggerCaret`})]})},Pr=l.default.forwardRef((e,t)=>{let{className:n,render:r=Nr,...i}=e;return(0,f.jsx)(S.ContextMenu.SubmenuTrigger,{ref:t,className:I(n,`fp-MenuItem`),render:r,...i})}),Fr=l.default.forwardRef((e,t)=>{let{className:n,...r}=e;return(0,f.jsx)(S.ContextMenu.CheckboxItem,{ref:t,className:I(n,`fp-MenuItem fp-MenuCheckboxItem`),...r})}),Ir=l.default.forwardRef((e,t)=>{let{className:n,...r}=e;return(0,f.jsx)(S.ContextMenu.CheckboxItemIndicator,{ref:t,className:I(n,`fp-MenuItemIndicator`),...r})}),Lr=l.default.forwardRef((e,t)=>{let{className:n,...r}=e;return(0,f.jsx)(S.ContextMenu.RadioItem,{ref:t,className:I(n,`fp-MenuItem fp-MenuRadioItem`),...r})}),Rr=l.default.forwardRef((e,t)=>{let{className:n,...r}=e;return(0,f.jsx)(S.ContextMenu.RadioItemIndicator,{ref:t,className:I(n,`fp-MenuItemIndicator`),...r})});Or.displayName=`ContextMenu.Popup`,kr.displayName=`ContextMenu.Item`,Ar.displayName=`ContextMenu.Separator`,Mr.displayName=`ContextMenu.Group`,jr.displayName=`ContextMenu.GroupLabel`,Pr.displayName=`ContextMenu.SubmenuTrigger`,Fr.displayName=`ContextMenu.CheckboxItem`,Ir.displayName=`ContextMenu.CheckboxItemIndicator`,Lr.displayName=`ContextMenu.RadioItem`,Rr.displayName=`ContextMenu.RadioItemIndicator`;var zr=o({CheckboxItem:()=>Fr,CheckboxItemIndicator:()=>Ir,Group:()=>Mr,GroupLabel:()=>jr,Item:()=>kr,Popup:()=>Or,Portal:()=>wr,Positioner:()=>Tr,RadioGroup:()=>Dr,RadioItem:()=>Lr,RadioItemIndicator:()=>Rr,Root:()=>Sr,Separator:()=>Ar,SubmenuRoot:()=>Er,SubmenuTrigger:()=>Pr,Trigger:()=>Cr}),Br=l.default.createContext({}),Vr=e=>{let{children:t,disableHoverablePopup:n,...r}=e,i=l.default.useMemo(()=>({disableHoverablePopup:n}),[n]);return(0,f.jsx)(Br.Provider,{value:i,children:(0,f.jsx)(w.Tooltip.Provider,{...r,children:t})})},Hr=l.default.forwardRef((e,t)=>{let{className:n,...r}=e;return(0,f.jsx)(w.Tooltip.Popup,{ref:t,className:I(n,`fp-tooltip`),...r})}),Ur=e=>{let{className:t,...n}=e;return(0,f.jsx)(w.Tooltip.Arrow,{className:I(t,`fp-tooltip-arrow`),render:(0,f.jsx)(`svg`,{xmlns:`http://www.w3.org/2000/svg`,width:`10`,height:`5`,viewBox:`0 0 30 10`,preserveAspectRatio:`none`,children:(0,f.jsx)(`polygon`,{points:`0,0 30,0 15,10`})}),...n})},Wr=l.default.forwardRef((e,t)=>{let{defaultOpen:n,disabled:r,open:i,onOpenChange:a,onOpenChangeComplete:o,delay:s,closeDelay:c,closeOnClick:u,disableHoverablePopup:d,trackCursorAxis:p,container:m,keepMounted:h,side:g,sideOffset:_,align:v,alignOffset:y,anchor:b,arrowPadding:x,collisionAvoidance:S,collisionBoundary:C,collisionPadding:T,disableAnchorTracking:E,positionMethod:D,sticky:O,children:k,content:A,...j}=e,M=l.default.useContext(Br);return(0,f.jsxs)(w.Tooltip.Root,{defaultOpen:n,disabled:r,disableHoverablePopup:d??M.disableHoverablePopup,onOpenChange:a,onOpenChangeComplete:o,open:i,trackCursorAxis:p,children:[(0,f.jsx)(w.Tooltip.Trigger,{closeDelay:c,closeOnClick:u,delay:s,render:k}),(0,f.jsx)(w.Tooltip.Portal,{keepMounted:h,container:m,children:(0,f.jsxs)(w.Tooltip.Positioner,{align:v,alignOffset:y,anchor:b,arrowPadding:x??8,collisionAvoidance:S,collisionBoundary:C,collisionPadding:T,disableAnchorTracking:E,positionMethod:D,side:g,sideOffset:_??7,sticky:O,children:[(0,f.jsx)(Hr,{ref:t,...j,children:A}),(0,f.jsx)(Ur,{})]})})]})});Wr.displayName=`Tooltip`;var Gr=(0,d.cva)(`fp-IconButton`,{variants:{size:{small:`fp-size-small`,medium:`fp-size-medium`},activeAppearance:{subtle:`fp-active-appearance-subtle`,solid:`fp-active-appearance-solid`}},defaultVariants:{size:`small`,activeAppearance:`subtle`}}),Kr=l.default.forwardRef((e,t)=>{let{className:n,size:r,activeAppearance:i,"aria-label":a,tooltipContent:o,disableTooltip:s,...c}=e,l=(0,f.jsx)(`button`,{ref:t,className:Gr({className:n,size:r,activeAppearance:i}),"aria-label":a,...c});return s?l:(0,f.jsx)(Wr,{content:o??a,children:l})});Kr.displayName=`IconButton`;var qr=l.default.forwardRef((e,t)=>{let{children:n,className:r,...i}=e;return(0,f.jsx)(`header`,{ref:t,className:(0,d.cx)(r,`fp-DialogBaseHeader`),...i,children:n})}),Jr=l.default.forwardRef((e,t)=>{let{className:n,size:r,...i}=e;return(0,f.jsx)(`div`,{ref:t,className:Xr({className:n,size:r}),...i})}),Yr=l.default.forwardRef((e,t)=>{let{className:n,...r}=e;return(0,f.jsx)(`div`,{ref:t,className:(0,d.cx)(n,`fp-DialogBaseControls`),...r})}),Xr=(0,d.cva)(`fp-DialogBaseSection`,{variants:{size:{base:`fp-DialogBaseSection-base`,small:`fp-DialogBaseSection-small`}},defaultVariants:{size:`base`}});qr.displayName=`Dialog.Header`,Jr.displayName=`Dialog.Section`,Yr.displayName=`Dialog.Controls`;var Zr=C.Popover.Root,Qr=C.Popover.Trigger,$r=C.Popover.Portal,ei=l.default.forwardRef((e,t)=>{let{positionMethod:n=`fixed`,...r}=e;return(0,f.jsx)(C.Popover.Positioner,{ref:t,positionMethod:n,...r})}),ti=l.default.forwardRef((e,t)=>{let{className:n,...r}=e;return(0,f.jsx)(C.Popover.Popup,{ref:t,className:I(n,`fp-DialogBaseContent`),...r})}),ni=l.default.forwardRef((e,t)=>{let{className:n,render:r=(0,f.jsx)(R,{weight:`strong`}),...i}=e;return(0,f.jsx)(C.Popover.Title,{ref:t,className:I(n,`fp-DialogBaseTitle`),render:r,...i})}),ri=l.default.forwardRef((e,t)=>{let{render:n=(0,f.jsx)(Kr,{"aria-label":`Close`,disableTooltip:!0,children:(0,f.jsx)(Ye,{})}),...r}=e;return(0,f.jsx)(C.Popover.Close,{ref:t,render:n,...r})});ti.displayName=`Popover.Popup`,ei.displayName=`Popover.Positioner`,ni.displayName=`Popover.Title`,ri.displayName=`Popover.Close`;var ii=o({Close:()=>ri,Controls:()=>Yr,Header:()=>qr,Popup:()=>ti,Portal:()=>$r,Positioner:()=>ei,Root:()=>Zr,Section:()=>Jr,Title:()=>ni,Trigger:()=>Qr}),ai=T.Dialog.Root,oi=T.Dialog.Portal,si=T.Dialog.Trigger,ci=(0,d.cva)([`fp-DialogBaseContent`,`fp-DialogContent`],{variants:{size:{1:`fp-size-1`,2:`fp-size-2`,3:`fp-size-3`,fullscreen:`fp-size-fullscreen`},placement:{center:`fp-placement-center`,top:`fp-placement-top`}},defaultVariants:{size:`2`,placement:`top`}}),li=l.default.forwardRef((e,t)=>{let{children:n,className:r,size:i,placement:a,...o}=e,s=ci({size:i,placement:a});return(0,f.jsx)(T.Dialog.Popup,{ref:t,className:I(r,s),...o,children:n})}),ui=l.default.forwardRef((e,t)=>{let{className:n,...r}=e;return(0,f.jsx)(T.Dialog.Backdrop,{ref:t,className:I(n,`fp-DialogBaseOverlay`),...r})}),di=l.default.forwardRef((e,t)=>{let{className:n,render:r=(0,f.jsx)(R,{weight:`strong`}),...i}=e;return(0,f.jsx)(T.Dialog.Title,{ref:t,className:I(n,`fp-DialogBaseTitle`),render:r,...i})}),fi=l.default.forwardRef((e,t)=>{let{render:n=(0,f.jsx)(Kr,{"aria-label":`Close`,disableTooltip:!0,children:(0,f.jsx)(Ye,{})}),...r}=e;return(0,f.jsx)(T.Dialog.Close,{ref:t,render:n,...r})});li.displayName=`Dialog.Popup`,ui.displayName=`Dialog.Backdrop`,di.displayName=`Dialog.Title`,fi.displayName=`Dialog.Close`;var pi=o({Backdrop:()=>ui,Close:()=>fi,Controls:()=>Yr,Header:()=>qr,Popup:()=>li,Portal:()=>oi,Root:()=>ai,Section:()=>Jr,Title:()=>di,Trigger:()=>si}),mi=E.AlertDialog.Root,hi=E.AlertDialog.Portal,gi=E.AlertDialog.Trigger,_i=E.AlertDialog.Close,vi=(0,d.cva)([`fp-DialogBaseContent`,`fp-AlertDialogContent`],{variants:{size:{1:`fp-size-1`,2:`fp-size-2`,3:`fp-size-3`},placement:{center:`fp-placement-center`,top:`fp-placement-top`}},defaultVariants:{size:`2`,placement:`top`}}),yi=l.default.forwardRef((e,t)=>{let{className:n,size:r,placement:i,...a}=e,o=vi({size:r,placement:i});return(0,f.jsx)(E.AlertDialog.Popup,{ref:t,className:I(n,o),...a})}),bi=l.default.forwardRef((e,t)=>{let{className:n,...r}=e;return(0,f.jsx)(E.AlertDialog.Backdrop,{ref:t,className:I(n,`fp-DialogBaseOverlay`),...r})}),xi=l.default.forwardRef((e,t)=>{let{className:n,render:r=(0,f.jsx)(R,{weight:`strong`}),...i}=e;return(0,f.jsx)(E.AlertDialog.Title,{ref:t,className:I(n,`fp-AlertDialogTitle`),render:r,...i})}),Si=l.default.forwardRef((e,t)=>{let{className:n,render:r=(0,f.jsx)(R,{}),...i}=e;return(0,f.jsx)(E.AlertDialog.Description,{ref:t,className:I(n,`fp-AlertDialogDescription`),render:r,...i})}),Ci=l.default.forwardRef((e,t)=>{let{className:n,...r}=e;return(0,f.jsx)(`div`,{ref:t,className:(0,d.cx)(n,`fp-AlertDialogActions`),...r})});yi.displayName=`AlertDialog.Popup`,bi.displayName=`AlertDialog.Backdrop`,xi.displayName=`AlertDialog.Title`,Si.displayName=`AlertDialog.Description`,Ci.displayName=`AlertDialog.Actions`;var wi=o({Actions:()=>Ci,Backdrop:()=>bi,Close:()=>_i,Description:()=>Si,Popup:()=>yi,Portal:()=>hi,Root:()=>mi,Title:()=>xi,Trigger:()=>gi}),[Ti,H]=be(`ValueFieldProvider`,null),U=l.default.forwardRef((e,t)=>{let{className:n,disabled:r,...i}=e,a=Ei(r,H(`Root`));return(0,f.jsx)(Ti,{...a,children:(0,f.jsx)(`label`,{ref:t,className:(0,d.cx)(n,`fp-ValueFieldRoot`),"data-disabled":a.disabled?``:void 0,"data-scrubbing":a.scrubbing?``:void 0,...i})})}),W=l.default.forwardRef((e,t)=>{let{className:n,disabled:r,...i}=e,a=Ei(r,H(`Multi`));return(0,f.jsx)(Ti,{...a,children:(0,f.jsx)(`div`,{ref:t,className:(0,d.cx)(n,`fp-ValueFieldMulti`),"data-disabled":a.disabled?``:void 0,"data-scrubbing":a.scrubbing?``:void 0,...i})})}),G=l.default.forwardRef((e,t)=>{let{className:n,...r}=e,i=H(`Root`);return(0,f.jsx)(`span`,{ref:t,className:(0,d.cx)(n,`fp-ValueFieldLabel`),"data-disabled":i?.disabled?``:void 0,...r})});U.displayName=`ValueField.Root`,G.displayName=`ValueField.Label`,W.displayName=`ValueField.Multi`;function Ei(e,t){let[n,r]=l.default.useState(!1),i=l.default.useRef([]),a=e||t?.disabled?!0:void 0,o=l.default.useCallback(e=>e?(i.current=[...i.current.filter(t=>t!==e),e],()=>{i.current=i.current.filter(t=>t!==e)}):()=>{},[]);return l.default.useMemo(()=>({disabled:a,scrubbing:n,scrubTargetsRef:i,registerScrubTarget:o,setScrubbing:r}),[a,o,n])}function K(e,t){let[n,r]=e,[i,a]=t;return function(e){return n===r||i===a?i:(e-n)/(r-n)*(a-i)+i}}function Di(){let[e,t]=(0,l.useState)(!0),n=(0,l.useCallback)(()=>{t(!0)},[]);return{onMouseLeave:(0,l.useCallback)(()=>{t(!1)},[]),onMouseUp:(0,l.useCallback)(n=>{e&&n.currentTarget.selectionStart===n.currentTarget.selectionEnd&&(n.currentTarget.select(),t(!1))},[e]),onFocus:n}}var Oi=l.default.forwardRef((e,t)=>{let{type:n=`text`,className:r,selectOnClick:i=!1,...a}=e,o=L((0,l.useRef)(null),t),{onMouseLeave:s,onMouseUp:c,onFocus:u}=Di(),p=i?(0,k.mergeProps)(a,{onMouseLeave:s,onMouseUp:c,onFocus:u}):a;return(0,f.jsx)(`input`,{ref:o,type:n,className:(0,d.cx)(r,`fp-Input`),...p})});Oi.displayName=`Input`;var ki=e=>{let{className:t,inputRef:n,value:r,onChange:i,smallNudge:a=1,bigNudge:o=10,formatter:s,disabled:c,...u}=e,p=(0,l.useRef)(null),m=L(n,p),h=(0,l.useRef)(r),[g,_]=(0,l.useState)(null),v=g??s.format(r),y=H(`ValueField`),b=c||y?.disabled?!0:void 0,x=y?.registerScrubTarget;l.default.useEffect(()=>{y?.scrubbing||(h.current=r)},[y?.scrubbing,r]);let S=e=>{let t=s.parse(e,r);if(e.length===0||!t.valid||t.value===r)return C();_(null),i(t.value)},C=()=>{_(null)},w=e=>{_(e.currentTarget.value)},T=e=>{let t=e.currentTarget;if(e.key===`Enter`&&(e.preventDefault(),t.blur()),e.key===`Escape`&&(e.preventDefault(),C(),requestAnimationFrame(()=>{t.blur()})),e.key===`ArrowUp`||e.key===`ArrowDown`){if(!s.incrementBy)return;e.preventDefault();let n=s.parse(t.value,r),i=n.valid?n.value:r,c=e.shiftKey?o:a,l=e.key===`ArrowUp`?c:-c,u=s.getIncrementTargets?s.getIncrementTargets(t):null,d=s.incrementBy(i,l,u);S(s.format(d)),requestAnimationFrame(()=>{if(u&&s.getIncrementSelection){let[e,n]=s.getIncrementSelection(u);t.setSelectionRange(e,n)}else t.select()})}},E=e=>{S(e.currentTarget.value)},D=l.default.useCallback(()=>{let e=p.current;if(_(null),!e){h.current=r;return}let t=s.parse(e.value,r);h.current=t.valid?t.value:r,e.focus()},[s,r]),O=l.default.useCallback((e,t)=>{if(!s.incrementBy)return;let n=h.current,r=t.shiftKey?o:a,c=s.incrementBy(n,e*r,null),l=s.parse(s.format(c),n);!l.valid||l.value===n||(h.current=l.value,_(null),i(l.value))},[o,s,i,a]);return l.default.useEffect(()=>{if(!(!x||!s.incrementBy))return x({disabled:!!b,inputRef:p,startScrub:D,scrub:O})},[b,s,O,D,x]),(0,f.jsx)(Oi,{ref:m,dir:`auto`,autoComplete:`off`,spellCheck:`false`,selectOnClick:!0,className:(0,d.cx)(t,`fp-ValueFieldBase`),value:v,onChange:w,disabled:b,...(0,k.mergeProps)({onBlur:E,onKeyDown:T},u)})};ki.displayName=`ValueField.Base`;var Ai=15,q=l.default.forwardRef((e,t)=>{let{value:n,onChange:r,min:i,max:a,targetRange:o,precision:s,suffix:c,allowedUnits:u,...d}=e;return(0,f.jsx)(ki,{inputRef:t,value:n,onChange:r,formatter:(0,l.useMemo)(()=>ji({min:i,max:a,precision:s,targetRange:o,suffix:c,allowedUnits:u}),[i,a,s,o,c,u]),...d})});function ji(e={}){let{min:t,max:n,targetRange:r,precision:i=Ai,suffix:a,allowedUnits:o=[]}=e,{toDisplayValue:s,fromDisplayValue:c}=Mi({min:t,max:n,targetRange:r});return{parse:(e,r)=>{try{return{valid:!0,value:(0,D.pipe)(e,e=>Pi({expression:e,displayValue:s(r),suffix:a,allowedUnits:o}),(0,D.round)(i),c,(0,D.clamp)({min:t,max:n}))}}catch{return{valid:!1}}},format:e=>(0,D.pipe)(e,(0,D.clamp)({min:t,max:n}),s,(0,D.round)(i),e=>Ni(e,a)),incrementBy(e,t){return e+c(t)}}}function Mi(e){let{min:t,max:n,targetRange:r}=e;if(!r)return{toDisplayValue:e=>e,fromDisplayValue:e=>e};if(typeof t!=`number`||typeof n!=`number`)throw Error(`'targetRange' requires specifying 'min' and 'max'.`);if(t===n)throw Error(`'min' and 'max' cannot be equal.`);return{toDisplayValue:K([t,n],r),fromDisplayValue:K(r,[t,n])}}function Ni(e,t){return Number.isNaN(e)?``:t?`${e}${t}`:`${e}`}function Pi(e){let{displayValue:t,expression:n,suffix:r=``,allowedUnits:i=[]}=e,a=`(\\d*\\.?\\d+)`,o=`(?:${[...i,r].join(`|`)})*`,s=(0,O.default)(n.replace(RegExp(`${a}${o}`,`gi`),(e,t)=>t).replace(RegExp(`${o}${a}`,`gi`),(e,t)=>t).replace(RegExp(`${a}%`,`gi`),(e,n)=>`(${t}*${n}/100)`).replace(RegExp(`%${a}`,`gi`),(e,n)=>`(${t}*${n}/100)`).replace(RegExp(`${a}x`,`gi`),(e,n)=>`(${t}*${n})`).replace(RegExp(`x${a}`,`gi`),(e,n)=>`(${t}*${n})`).replace(/(?<!\d)x(?!\d)/gi,`${t}`).trim());if(s===null)throw Error(`Invalid expression.`);return s}var Fi=2,Ii=4,Li=l.default.forwardRef((e,t)=>{let{children:n,className:r,onPointerDown:i,pixelSensitivity:a=Fi,teleportDistance:o,style:s,...c}=e,u=H(`Scrubber`),p=(0,l.useRef)(null),m=(0,l.useRef)(null),[h,g]=(0,l.useState)(null),_=L(t,l.default.useCallback(e=>{p.current=e,g(qi(e))},[])),[v,y]=(0,l.useState)(!1),[b,x]=(0,l.useState)(!1),[S,C]=(0,l.useState)(!1),w=(0,l.useRef)(!1),T=(0,l.useRef)(!1),E=(0,l.useRef)(null),D=(0,l.useRef)(0),O=(0,l.useRef)({x:0,y:0}),k=u?.scrubTargetsRef,j=u?.disabled,M=u?.setScrubbing,N=v&&!b&&!S&&!Ji(),P=l.default.useCallback((e,t)=>{(0,A.flushSync)(()=>{y(e),M?.(e)});let n=m.current;if(!e||!n)return;let r={x:t.clientX-n.offsetWidth/2,y:t.clientY-n.offsetHeight/2};O.current=r,Hi(n,r)},[M]),F=l.default.useCallback((e,t)=>{let n=m.current,r=p.current;if(!n||!r)return;let i=Wi(o,r),a=O.current,s=Ui({x:Math.round(a.x+e),y:Math.round(a.y+t)},i,n);O.current=s,Hi(n,s)},[o]);function I(e){i?.(e);let t=zi(k?.current,p.current),n=e.button===0;if(e.defaultPrevented||!n||j||!t||t.disabled)return;let r=e.pointerType===`touch`;x(r),C(!1),e.pointerType===`mouse`&&e.preventDefault(),t.startScrub(),w.current=!0,T.current=!1,D.current=0,E.current=e.nativeEvent.target,P(!0,e.nativeEvent),!r&&!Ji()&&Ri(p.current,C)}(0,l.useEffect)(()=>{if(!v||!k||j)return;let e=k,t=zi(e.current,p.current);if(!t||t.disabled)return;let n=Ki(p.current);if(!n)return;function r(t){if(w.current&&(t.preventDefault(),F(t.movementX,t.movementY),D.current+=t.movementX,Math.abs(D.current)>=a)){let n=D.current;D.current=0,T.current=!0;let r=zi(e.current,p.current);n!==0&&r&&!r.disabled&&r.scrub(n,t)}}function i(e){let t=Gi(p.current);typeof t?.exitPointerLock==`function`&&t.exitPointerLock(),w.current=!1,P(!1,e),Vi(E.current,p.current,T.current),T.current=!1,E.current=null,D.current=0}return n.addEventListener(`pointermove`,r,!0),n.addEventListener(`pointerup`,i,!0),()=>{n.removeEventListener(`pointermove`,r,!0),n.removeEventListener(`pointerup`,i,!0)}},[j,v,a,k,P,F]),(0,l.useEffect)(()=>{let e=p.current;if(!e||j)return;function t(e){e.touches.length===1&&e.preventDefault()}return e.addEventListener(`touchstart`,t),()=>{e.removeEventListener(`touchstart`,t)}},[j]);let ee={touchAction:`none`,WebkitUserSelect:`none`,userSelect:`none`,...s};return(0,f.jsxs)(`span`,{ref:_,className:(0,d.cx)(r,`fp-ValueFieldScrubber`),"data-disabled":j?``:void 0,"data-scrubbing":v?``:void 0,role:`presentation`,style:ee,onPointerDown:I,...c,children:[n,N&&h?(0,A.createPortal)((0,f.jsx)(`span`,{ref:m,role:`presentation`,className:`fp-ValueFieldScrubberCursor`,children:(0,f.jsx)(Yi,{})}),h):null]})});function Ri(e,t){let n=Gi(e)?.body;if(!n||!n.requestPointerLock){t(!0);return}try{n.requestPointerLock().then(()=>t(!1),()=>t(!0))}catch{t(!0)}}function zi(e,t){if(!e||e.length===0)return null;if(!t||e.length===1)return e[0]??null;let n=t.closest(`.fp-ValueFieldRoot`),r=n?e.filter(e=>e.inputRef.current?.closest(`.fp-ValueFieldRoot`)===n):e;return Bi(r,t)??r[0]??null}function Bi(e,t){return e.find(e=>{let n=e.inputRef.current;return n?(t.compareDocumentPosition(n)&Ii)!==0:!1})??null}function Vi(e,t,n){if(n||!e)return;let r=Ki(t);r&&e.dispatchEvent(new r.MouseEvent(`click`,{bubbles:!0,cancelable:!0}))}function Hi(e,t){e.style.transform=`translate3d(${t.x}px,${t.y}px,0)`}function Ui(e,t,n){let r={...e},i=n.offsetWidth/2,a=n.offsetHeight/2;return r.x+i<t.left?r.x=t.right-i:r.x+i>t.right&&(r.x=t.left-i),r.y+a<t.top?r.y=t.bottom-a:r.y+a>t.bottom&&(r.y=t.top-a),r}function Wi(e,t){let n=t.getBoundingClientRect();if(e!==void 0)return{left:n.left-e/2,top:n.top-e/2,right:n.right+e/2,bottom:n.bottom+e/2};let r=Ki(t)?.visualViewport;return r?{left:r.offsetLeft,top:r.offsetTop,right:r.offsetLeft+r.width,bottom:r.offsetTop+r.height}:{left:0,top:0,right:t.ownerDocument.documentElement.clientWidth,bottom:t.ownerDocument.documentElement.clientHeight}}function Gi(e){return e?e.ownerDocument:typeof document>`u`?null:document}function Ki(e){return Gi(e)?.defaultView??null}function qi(e){return Gi(e)?.body??null}function Ji(){return typeof navigator<`u`&&/AppleWebKit/i.test(navigator.userAgent)&&!/(Chrome|Chromium|Edg|OPR|Firefox|HappyDOM)/i.test(navigator.userAgent)}function Yi(){return(0,f.jsx)(`svg`,{className:`fp-ValueFieldScrubberCursorIcon`,width:`26`,height:`14`,viewBox:`0 0 26 14`,"aria-hidden":`true`,children:(0,f.jsx)(`path`,{d:`M20.5 5.5H6.5V2L1 7L6.5 12V8.5H20.5V12L26 7L20.5 2V5.5Z`})})}Li.displayName=`ValueField.Scrubber`;var Xi=l.default.forwardRef((e,t)=>{let{className:n,style:r,value:i,onChange:a,options:o,onItemHighlighted:s,disabled:c,triggerLabel:u=`Select value`,...p}=e,m=o.includes(i),h=J(i),g=Zi(i,o,m),_=l.default.useRef(null),y=l.default.useRef(void 0);function b(e){e!==null&&a(Number(e))}function x(e){y.current!==e&&(y.current=e,s?.(e))}function S(e){e||x(void 0)}function C(e){e.target===e.currentTarget&&x(void 0)}return(0,f.jsxs)(v.Select.Root,{items:g,value:h,onValueChange:b,onOpenChange:S,disabled:c,children:[(0,f.jsxs)(W,{ref:_,className:(0,d.cx)(n,`fp-ValueFieldNumericSelect`),style:r,disabled:c,children:[(0,f.jsxs)(U,{className:`fp-ValueFieldNumericSelectField`,disabled:c,children:[(0,f.jsx)(Li,{}),(0,f.jsx)(q,{ref:t,value:i,onChange:a,disabled:c,...p})]}),(0,f.jsxs)(v.Select.Trigger,{className:`fp-ValueFieldNumericSelectTrigger`,"aria-label":u,children:[(0,f.jsx)(v.Select.Value,{}),(0,f.jsx)(v.Select.Icon,{className:`fp-ValueFieldNumericSelectIcon`,children:(0,f.jsx)(V,{size:`4`})})]})]}),(0,f.jsx)(v.Select.Portal,{children:(0,f.jsx)(v.Select.Positioner,{anchor:_,className:(0,d.cx)(`fp-ValueFieldNumericSelectPositioner`,m&&`fp-ValueFieldNumericSelectPositionerInOptions`),positionMethod:`fixed`,collisionPadding:0,children:(0,f.jsxs)(v.Select.Popup,{className:`fp-MenuContent`,onFocus:C,children:[(0,f.jsx)(v.Select.ScrollUpArrow,{className:`fp-SelectScrollUpButton`,children:(0,f.jsx)(Ke,{size:`4`})}),(0,f.jsxs)(v.Select.List,{children:[!m&&(0,f.jsxs)(f.Fragment,{children:[(0,f.jsxs)(v.Select.Item,{value:h,label:h,className:`fp-MenuItem fp-MenuCheckboxItem fp-ValueFieldNumericSelectCurrentItem`,onFocus:()=>x(i),children:[(0,f.jsx)(v.Select.ItemIndicator,{className:`fp-MenuItemIndicator`,children:(0,f.jsx)(B,{size:`4`})}),(0,f.jsx)(v.Select.ItemText,{children:i})]}),(0,f.jsx)(v.Select.Separator,{className:`fp-MenuSeparator`})]}),o.map(e=>(0,f.jsxs)(v.Select.Item,{value:J(e),label:J(e),className:`fp-MenuItem fp-MenuCheckboxItem`,onFocus:()=>x(e),children:[(0,f.jsx)(v.Select.ItemIndicator,{className:`fp-MenuItemIndicator`,children:(0,f.jsx)(B,{size:`4`})}),(0,f.jsx)(v.Select.ItemText,{children:e})]},J(e)))]}),(0,f.jsx)(v.Select.ScrollDownArrow,{className:`fp-SelectScrollDownButton`,children:(0,f.jsx)(V,{size:`4`})})]})})})]})});function Zi(e,t,n){let r=t.map(e=>{let t=J(e);return{value:t,label:t}});return n?r:[{value:J(e),label:J(e)},...r]}function J(e){return`${e}`}Xi.displayName=`ValueField.NumericSelect`;var Qi={aliceblue:{r:240,g:248,b:255},antiquewhite:{r:250,g:235,b:215},aqua:{r:0,g:255,b:255},aquamarine:{r:127,g:255,b:212},azure:{r:240,g:255,b:255},beige:{r:245,g:245,b:220},bisque:{r:255,g:228,b:196},black:{r:0,g:0,b:0},blanchedalmond:{r:255,g:235,b:205},blue:{r:0,g:0,b:255},blueviolet:{r:138,g:43,b:226},brown:{r:165,g:42,b:42},burlywood:{r:222,g:184,b:135},cadetblue:{r:95,g:158,b:160},chartreuse:{r:127,g:255,b:0},chocolate:{r:210,g:105,b:30},coral:{r:255,g:127,b:80},cornflowerblue:{r:100,g:149,b:237},cornsilk:{r:255,g:248,b:220},crimson:{r:220,g:20,b:60},cyan:{r:0,g:255,b:255},darkblue:{r:0,g:0,b:139},darkcyan:{r:0,g:139,b:139},darkgoldenrod:{r:184,g:134,b:11},darkgray:{r:169,g:169,b:169},darkgreen:{r:0,g:100,b:0},darkgrey:{r:169,g:169,b:169},darkkhaki:{r:189,g:183,b:107},darkmagenta:{r:139,g:0,b:139},darkolivegreen:{r:85,g:107,b:47},darkorange:{r:255,g:140,b:0},darkorchid:{r:153,g:50,b:204},darkred:{r:139,g:0,b:0},darksalmon:{r:233,g:150,b:122},darkseagreen:{r:143,g:188,b:143},darkslateblue:{r:72,g:61,b:139},darkslategray:{r:47,g:79,b:79},darkslategrey:{r:47,g:79,b:79},darkturquoise:{r:0,g:206,b:209},darkviolet:{r:148,g:0,b:211},deeppink:{r:255,g:20,b:147},deepskyblue:{r:0,g:191,b:255},dimgray:{r:105,g:105,b:105},dimgrey:{r:105,g:105,b:105},dodgerblue:{r:30,g:144,b:255},firebrick:{r:178,g:34,b:34},floralwhite:{r:255,g:250,b:240},forestgreen:{r:34,g:139,b:34},fuchsia:{r:255,g:0,b:255},gainsboro:{r:220,g:220,b:220},ghostwhite:{r:248,g:248,b:255},gold:{r:255,g:215,b:0},goldenrod:{r:218,g:165,b:32},gray:{r:128,g:128,b:128},green:{r:0,g:128,b:0},greenyellow:{r:173,g:255,b:47},grey:{r:128,g:128,b:128},honeydew:{r:240,g:255,b:240},hotpink:{r:255,g:105,b:180},indianred:{r:205,g:92,b:92},indigo:{r:75,g:0,b:130},ivory:{r:255,g:255,b:240},khaki:{r:240,g:230,b:140},lavender:{r:230,g:230,b:250},lavenderblush:{r:255,g:240,b:245},lawngreen:{r:124,g:252,b:0},lemonchiffon:{r:255,g:250,b:205},lightblue:{r:173,g:216,b:230},lightcoral:{r:240,g:128,b:128},lightcyan:{r:224,g:255,b:255},lightgoldenrodyellow:{r:250,g:250,b:210},lightgray:{r:211,g:211,b:211},lightgreen:{r:144,g:238,b:144},lightgrey:{r:211,g:211,b:211},lightpink:{r:255,g:182,b:193},lightsalmon:{r:255,g:160,b:122},lightseagreen:{r:32,g:178,b:170},lightskyblue:{r:135,g:206,b:250},lightslategray:{r:119,g:136,b:153},lightslategrey:{r:119,g:136,b:153},lightsteelblue:{r:176,g:196,b:222},lightyellow:{r:255,g:255,b:224},lime:{r:0,g:255,b:0},limegreen:{r:50,g:205,b:50},linen:{r:250,g:240,b:230},magenta:{r:255,g:0,b:255},maroon:{r:128,g:0,b:0},mediumaquamarine:{r:102,g:205,b:170},mediumblue:{r:0,g:0,b:205},mediumorchid:{r:186,g:85,b:211},mediumpurple:{r:147,g:112,b:219},mediumseagreen:{r:60,g:179,b:113},mediumslateblue:{r:123,g:104,b:238},mediumspringgreen:{r:0,g:250,b:154},mediumturquoise:{r:72,g:209,b:204},mediumvioletred:{r:199,g:21,b:133},midnightblue:{r:25,g:25,b:112},mintcream:{r:245,g:255,b:250},mistyrose:{r:255,g:228,b:225},moccasin:{r:255,g:228,b:181},navajowhite:{r:255,g:222,b:173},navy:{r:0,g:0,b:128},oldlace:{r:253,g:245,b:230},olive:{r:128,g:128,b:0},olivedrab:{r:107,g:142,b:35},orange:{r:255,g:165,b:0},orangered:{r:255,g:69,b:0},orchid:{r:218,g:112,b:214},palegoldenrod:{r:238,g:232,b:170},palegreen:{r:152,g:251,b:152},paleturquoise:{r:175,g:238,b:238},palevioletred:{r:219,g:112,b:147},papayawhip:{r:255,g:239,b:213},peachpuff:{r:255,g:218,b:185},peru:{r:205,g:133,b:63},pink:{r:255,g:192,b:203},plum:{r:221,g:160,b:221},powderblue:{r:176,g:224,b:230},purple:{r:128,g:0,b:128},red:{r:255,g:0,b:0},rosybrown:{r:188,g:143,b:143},royalblue:{r:65,g:105,b:225},saddlebrown:{r:139,g:69,b:19},salmon:{r:250,g:128,b:114},sandybrown:{r:244,g:164,b:96},seagreen:{r:46,g:139,b:87},seashell:{r:255,g:245,b:238},sienna:{r:160,g:82,b:45},silver:{r:192,g:192,b:192},skyblue:{r:135,g:206,b:235},slateblue:{r:106,g:90,b:205},slategray:{r:112,g:128,b:144},slategrey:{r:112,g:128,b:144},snow:{r:255,g:250,b:250},springgreen:{r:0,g:255,b:127},steelblue:{r:70,g:130,b:180},tan:{r:210,g:180,b:140},teal:{r:0,g:128,b:128},thistle:{r:216,g:191,b:216},tomato:{r:255,g:99,b:71},turquoise:{r:64,g:224,b:208},violet:{r:238,g:130,b:238},wheat:{r:245,g:222,b:179},white:{r:255,g:255,b:255},whitesmoke:{r:245,g:245,b:245},yellow:{r:255,g:255,b:0},yellowgreen:{r:154,g:205,b:50}},$i=l.default.forwardRef((e,t)=>{let{value:n,onChange:r,ignoreAlpha:i=!1,...a}=e;return(0,f.jsx)(ki,{inputRef:t,value:n,onChange:r,formatter:(0,l.useMemo)(()=>ea({ignoreAlpha:i}),[i]),...a})});function ea(e){let{ignoreAlpha:t}=e;return{parse(e,n){if(ta(e)){let{r:t,g:r,b:i}=Qi[e];return{valid:!0,value:{r:t/255,g:r/255,b:i/255,a:n.a}}}try{return{value:(0,D.pipe)(e,na,e=>ra(e,n),ia,e=>t?{...e,a:1}:e),valid:!0}}catch{return{valid:!1}}},format(e){return(Math.round(e.r*255).toString(16).padStart(2,`0`)+Math.round(e.g*255).toString(16).padStart(2,`0`)+Math.round(e.b*255).toString(16).padStart(2,`0`)).toUpperCase()},incrementBy(e,t,n){return n??={r:!0,g:!0,b:!0},{r:n.r?(0,D.clamp)(Math.round(e.r*255)+t,{min:0,max:255})/255:e.r,g:n.g?(0,D.clamp)(Math.round(e.g*255)+t,{min:0,max:255})/255:e.g,b:n.b?(0,D.clamp)(Math.round(e.b*255)+t,{min:0,max:255})/255:e.b,a:e.a}},getIncrementTargets(e){let t=e.selectionStart,n=e.selectionEnd;return t===null||n===null?null:{r:t<2||t===2&&n===2,g:t<4&&n>=3||t===4&&n===4,b:n>=5}},getIncrementSelection(e){let t,n;return e?(t=e.r?0:e.g?2:4,n=e.b?6:e.g?4:2,[t,n]):[0,6]}}}function ta(e){return Object.keys(Qi).includes(e)}function na(e){return e.match(/[0-9a-f]+/gi)?.[0]??``}function ra(e,t){if(!/^[0-9a-f]{1,8}$/i.test(e))throw Error(`Invalid hex substring`);switch(e.length){case 1:return e.repeat(6)+aa(t.a);case 2:return e.repeat(3)+aa(t.a);case 3:return e.split(``).map(e=>e.repeat(2)).join(``)+aa(t.a);case 4:return e.slice(0,3).split(``).map(e=>e.repeat(2)).join(``)+e[3].repeat(2);case 5:return e.slice(0,3).split(``).map(e=>e.repeat(2)).join(``)+e.slice(-2);case 6:return e+aa(t.a);case 7:return e.slice(0,6)+e[6].repeat(2);case 8:return e;default:throw Error(`Invalid hex substring`)}}function ia(e){return{r:parseInt(e.substring(0,2),16)/255,g:parseInt(e.substring(2,4),16)/255,b:parseInt(e.substring(4,6),16)/255,a:parseInt(e.substring(6,8),16)/255}}function aa(e){return Math.round(e*255).toString(16)}var oa=o({Hex:()=>$i,Label:()=>G,Multi:()=>W,Numeric:()=>q,NumericSelect:()=>Xi,Root:()=>U,Scrubber:()=>Li});function sa(e){let t=(0,D.round)(e*255,0).toString(16);return t.length<2?`0`+t:t}function ca({r:e,g:t,b:n,a:r}){let i=r<1?sa(r):``;return`#`+sa(e)+sa(t)+sa(n)+i}function la(e){return ca(pa(e))}function ua(e){return ca(X(e))}function Y({r:e,g:t,b:n,a:r}){let i=Math.max(e,t,n),a=i-Math.min(e,t,n),o=a?i===e?(t-n)/a:i===t?2+(n-e)/a:4+(e-t)/a:0;return{h:60*(o<0?o+6:o),s:i?a/i*100:0,v:i*100,a:r}}function X({h:e,s:t,v:n,a:r}){e=e/360*6,t/=100,n/=100;let i=Math.floor(e),a=n*(1-t),o=n*(1-(e-i)*t),s=n*(1-(1-e+i)*t),c=i%6;return{r:[n,o,a,a,s,n][c],g:[s,n,n,o,a,a][c],b:[a,a,s,n,n,o][c],a:r}}function da({h:e,s:t,l:n,a:r}){return t*=(n<50?n:100-n)/100,{h:e,s:t>0?2*t/(n+t)*100:0,v:n+t,a:r}}function fa({h:e,s:t,v:n,a:r}){let i=(200-t)*n/100;return{h:e,s:i>0&&i<200?t*n/100/(i<=100?i:200-i)*100:0,l:i/2,a:r}}function pa(e){return X(da(e))}function ma(e){return fa(Y(e))}function Z(e){let t=(0,D.round)(e.r,4),n=(0,D.round)(e.g,4),r=(0,D.round)(e.b,4),i=(0,D.round)(e.a,2);return i<1?`color(display-p3 ${t} ${n} ${r} / ${i})`:`color(display-p3 ${t} ${n} ${r})`}function Q(e){let t=Math.round(e.r*255),n=Math.round(e.g*255),r=Math.round(e.b*255),i=e.a;return i<1?`rgb(${t} ${n} ${r} / ${i})`:`rgb(${t} ${n} ${r})`}function ha(e){let{r:t,g:n,b:r,a:i}=e;return{r:t+(1-t)*(1-i),g:n+(1-n)*(1-i),b:r+(1-r)*(1-i),a:1}}var ga={r:0,g:0,b:0,a:1},_a=[`hex`,`rgb`,`hsl`,`hsv`],[va,$]=be(`ColorPicker`),ya=e=>{let{colorSpace:t,models:n=_a,defaultActiveModel:r,activeModel:i,onActiveModelChange:a,defaultColor:o,color:s,onColorChange:c,children:u}=e;ba(i,r,n);let[d=ga,p]=pe({prop:s,defaultProp:o,onChange:c}),[m=n[0],h]=pe({prop:i,defaultProp:r,onChange:a}),[g,_]=(0,l.useState)({}),v={hsv:g.hsv??Y(d),hsl:g.hsl??ma(d),rgb:g.rgb??d,hex:g.hex??ca(d)},y=v.hsv.h;return(0,f.jsx)(va,{colorSpace:t,models:n,activeModel:m,onActiveModelChange:h,color:d,onColorChange:e=>{let{mode:t,value:n}=e;t===`rgb`?(_({rgb:n,hsv:Y(n),hsl:ma(n),hex:ca(n)}),p(n)):t===`hsv`?(_({hsv:n,hsl:fa(n),rgb:X(n),hex:ua(n)}),p(X(n))):t===`hsl`&&(_({hsv:da(n),hsl:n,rgb:pa(n),hex:la(n)}),p(pa(n)))},hue:y,colorsByModel:v,children:u})};function ba(e,t,n){if(n.length===0)throw Error(`The 'models' prop must contain at least one color model. Omit the 'models' prop entirely to use default models.`);if(e&&!n.includes(e))throw Error(`Invalid 'activeModel': '${e}' is not present in the 'models' array. Make sure 'activeModel' matches a model name in 'models'.`);if(t&&!n.includes(t))throw Error(`Invalid 'defaultActiveModel': '${t}' is not present in the 'models' array. Make sure 'activeModel' matches a model name in 'models'.`)}var xa=2,Sa=0,Ca=100,wa=`horizontal`,Ta=`ltr`,Ea=(0,d.cva)(`fp-SliderRoot`,{variants:{size:{small:`fp-size-small`,large:`fp-size-large`}},defaultVariants:{size:`large`}}),Da=l.default.forwardRef((e,t)=>{let{className:n,size:r,min:i=Sa,max:a=Ca,defaultValue:o=[i],value:s,onValueChange:c,onValueCommit:u,tabIndex:p,orientation:m=wa,dir:h=Ta,inverted:g,disabled:_,step:v=1,minStepsBetweenThumbs:y,range:b=!0,rangeAnchor:x,baseValue:S,hints:C,...w}=e,T=H(`Slider`),E=_||T?.disabled,O=(0,l.useRef)(null),k=L(O,t),[A,N]=(0,l.useState)(s??o),P=ja(A,g,i,a),F=ja(o,g,i,a),ee=(0,l.useRef)(s),te=(0,l.useRef)(o);return(0,l.useEffect)(()=>{(0,D.isDeepEqual)(s,ee.current)&&(0,D.isDeepEqual)(o,te.current)||(N(s??o),ee.current=s,te.current=o)},[s,o]),(0,f.jsx)(j.DirectionProvider,{direction:h,children:(0,f.jsx)(M.Slider.Root,{className:I(n,Ea({size:r})),defaultValue:F,dir:h===Ta?void 0:h,disabled:E,max:a,min:i,minStepsBetweenValues:y,onValueChange:(e,t)=>{let n=Na(Ma(e,g,i,a),t,O.current,m,h,g,i,a,v).map(e=>za(e,C,i,a));c?.(n),N(n)},onValueCommitted:(e,t)=>{let n=Na(Ma(e,g,i,a),t,O.current,m,h,g,i,a,v).map(e=>za(e,C,i,a));u?.(n)},orientation:m,step:v,thumbAlignment:`center`,value:P,...w,children:(0,f.jsxs)(M.Slider.Control,{ref:k,className:`fp-SliderControl`,tabIndex:p??-1,children:[(0,f.jsx)(M.Slider.Track,{className:`fp-SliderTrack`,style:{position:`static`},children:A.map((e,t)=>(0,f.jsx)(M.Slider.Thumb,{index:t,className:(0,d.cx)(`fp-SliderThumb`,{"fp-SliderThumb-focusVisible":!0,"fp-SliderThumb-baseValue":e===S})},t))}),b&&(0,f.jsx)(ka,{dir:h,value:A,min:i,max:a,orientation:m,inverted:g,rangeAnchor:x,disabled:E}),C&&C.map(e=>(0,f.jsx)(Oa,{hint:e,baseValue:S,min:i,max:a,orientation:m,dir:h,inverted:g},e))]})})})});Da.displayName=`Slider`;var Oa=e=>{let{baseValue:t,dir:n,inverted:r,max:i,min:a,orientation:o,hint:s}=e,{startEdge:c}=Aa(o,n,r),l=K([a,i],[0,100])(s);return(0,f.jsx)(`span`,{className:(0,d.cx)(`fp-SliderHint`,{"fp-SliderHint-baseValue":s===t}),"data-orientation":o,style:{[c]:`calc(${l}% - var(--slider-hint-width) / 2)`}})},ka=e=>{let{min:t,max:n,value:r,rangeAnchor:i=t,orientation:a,dir:o,inverted:s,disabled:c}=e,l=r.length>1?Math.min(...r):Math.min(i,...r),u=r.length>1?Math.max(...r):Math.max(i,...r),d=K([t,n],[0,100])(l),p=100-K([t,n],[0,100])(u),m=Aa(a,o,s);return(0,f.jsx)(`span`,{className:`fp-SliderRange`,"data-orientation":a,"data-disabled":c?``:void 0,style:{[m.startEdge]:`${d}%`,[m.endEdge]:`${p}%`}})};function Aa(e,t,n){let r=n?`inverted`:`normal`;return{vertical:{normal:{startEdge:`bottom`,endEdge:`top`},inverted:{startEdge:`top`,endEdge:`bottom`}},horizontal:{normal:{startEdge:t===`ltr`?`left`:`right`,endEdge:t===`ltr`?`right`:`left`},inverted:{startEdge:t===`ltr`?`right`:`left`,endEdge:t===`ltr`?`left`:`right`}}}[e][r]}function ja(e,t,n,r){let i=Ra(e,t,n,r);if(i.length===1){let e=i[0];if(e!==void 0)return e}return i}function Ma(e,t,n,r){return Ra(typeof e==`number`?[e]:e,t,n,r)}function Na(e,t,n,r,i,a,o,s,c){if(t.reason!==`track-press`||n===null)return e;let l=n.parentElement,u=Pa(t.event);if(l===null||u===void 0)return e;let d=Ia(u,l.getBoundingClientRect(),r,i,a),f=La(o+(s-o)*d,o,s,c),p=Fa(t);return e.map((t,n)=>n===p||e.length===1?f:t)}function Pa(e){if(`clientX`in e&&`clientY`in e&&typeof e.clientX==`number`&&typeof e.clientY==`number`)return{x:e.clientX,y:e.clientY}}function Fa(e){if(`activeThumbIndex`in e&&typeof e.activeThumbIndex==`number`)return e.activeThumbIndex}function Ia(e,t,n,r,i){let a=n===`vertical`?(t.bottom-e.y)/t.height:(e.x-t.left)/t.width,o=n===`horizontal`&&r===`rtl`?1-a:a,s=i?1-o:o;return Math.min(1,Math.max(0,s))}function La(e,t,n,r){let i=t+Math.round((e-t)/r)*r,a=Number(i.toFixed(10));return Math.min(n,Math.max(t,a))}function Ra(e,t,n,r){return t?e.map(e=>n+r-e):[...e]}function za(e,t,n,r){let i=K([0,100],[0,r-n])(xa),a=t?.find(t=>Math.abs(t-e)<=i);return typeof a==`number`?a:e}var Ba=e=>{let{className:t,style:n}=e,{activeModel:r,colorSpace:i,hue:a,color:o,onColorChange:s}=$(`Hue`),c=Ha[r],l=e=>{s({mode:`rgb`,value:c.setHue(o,e[0])})},u=c.getThumbColor(a,i);return(0,f.jsx)(Da,{"aria-label":`hue`,range:!1,min:0,max:359,value:[a],onValueChange:l,className:`fp-ColorPickerHueSlider fp-color-model-${r} fp-color-space-${i} ${t}`,style:{"--slider-thumb-bg":u,...n}})},Va={getHue:e=>Math.round(Y(e).h),setHue:(e,t)=>{let{s:n,v:r}=Y(e);return X({h:t,s:n,v:r,a:e.a})},getThumbColor:(e,t)=>{let{r:n,g:r,b:i}=X({h:e,s:100,v:100,a:1});return t===`display-p3`?`color(display-p3 ${+n.toFixed(4)} ${+r.toFixed(4)} ${+i.toFixed(4)})`:`rgb(${Math.round(n*255)} ${Math.round(r*255)} ${Math.round(i*255)})`}},Ha={rgb:Va,hsl:Va,hsv:Va,hex:Va},Ua=e=>{let{className:t,style:n}=e,{colorSpace:r,color:i,onColorChange:a}=$(`Hue`),o={srgb:{transparent:Q({...i,a:0}),opaque:Q({...i,a:1})},p3:{transparent:Z({...i,a:0}),opaque:Z({...i,a:1})}},s={srgb:Q(ha(i)),p3:Z(ha(i))};return(0,f.jsx)(Da,{"aria-label":`alpha`,min:0,max:100,range:!1,value:[i.a*100],onValueChange:e=>{a({mode:`rgb`,value:{...i,a:(0,D.round)(e[0]/100,2)}})},className:`fp-ColorPickerAlphaSlider fp-color-space-${r} ${t}`,style:{"--track-bg-transparent-srgb":o.srgb.transparent,"--track-bg-opaque-srgb":o.srgb.opaque,"--track-bg-transparent-p3":o.p3.transparent,"--track-bg-opaque-p3":o.p3.opaque,"--thumb-bg-srgb":s.srgb,"--thumb-bg-p3":s.p3,...n}})},Wa=8,Ga=e=>{let{onColorChange:t,colorsByModel:n,hue:r,colorSpace:i,activeModel:a}=$(`ColorPicker.Area`),o={srgb:Q(X({h:r,s:100,v:100,a:1})),p3:Z(X({h:r,s:100,v:100,a:1}))},s={srgb:Q(n.rgb),p3:Z(n.rgb)},c=Ka(n,a),u=(0,l.useRef)(null),{size:d}=qa(u),p=e=>{t(a===`hsl`?{mode:`hsl`,value:{h:r,s:e.x,l:100-e.y,a:n.rgb.a}}:{mode:`hsv`,value:{h:r,s:e.x,v:100-e.y,a:n.rgb.a}})},m=e=>{if(e.type===`pointerdown`&&e.currentTarget.setPointerCapture(e.pointerId),e.type===`pointermove`&&!e.currentTarget.hasPointerCapture(e.pointerId))return;let t=e.currentTarget.getBoundingClientRect();p({x:(0,D.pipe)(e.clientX-t.x,K([0,d],[0,100]),(0,D.clamp)({min:0,max:100})),y:(0,D.pipe)(e.clientY-t.y-Wa,K([0,d],[0,100]),(0,D.clamp)({min:0,max:100}))})};return(0,f.jsxs)(`div`,{ref:u,className:`fp-ColorPickerArea`,onPointerDown:m,onPointerMove:m,style:{"--base-color-srgb":o.srgb,"--base-color-p3":o.p3},children:[(0,f.jsx)(`div`,{className:`fp-ColorPickerAreaCanvas fp-color-space-${i} fp-color-model-${a}`}),(0,f.jsx)(`div`,{tabIndex:0,onKeyDown:e=>{let t=e.shiftKey?10:1,n={ArrowRight:{x:1,y:0},ArrowLeft:{x:-1,y:0},ArrowDown:{x:0,y:1},ArrowUp:{x:0,y:-1}}[e.key];n&&p({x:(0,D.clamp)(c.x+n.x*t,{min:0,max:100}),y:(0,D.clamp)(c.y+n.y*t,{min:0,max:100})})},className:`fp-ColorPickerThumb fp-color-space-${i}`,style:{"--thumb-bg-srgb":s.srgb,"--thumb-bg-p3":s.p3,left:`${c.x}%`,top:`${c.y}%`}})]})};function Ka(e,t){if(t===`hsl`){let t=e.hsl;return{x:t.s,y:100-t.l}}else{let t=e.hsv;return{x:t.s,y:100-t.v}}}function qa(e){let[t,n]=l.default.useState(0);return l.default.useLayoutEffect(()=>{let t=e.current;if(!t)return;n(t.getBoundingClientRect().width);let r=new ResizeObserver(e=>{for(let t of e)n(t.contentRect.width)});return r.observe(t),()=>{r.unobserve(t)}},[e]),{size:t}}var Ja={0:`fp-gap-0`,px:`fp-gap-px`,"0.5":`fp-gap-0_5`,1:`fp-gap-1`,"1.5":`fp-gap-1_5`,2:`fp-gap-2`,"2.5":`fp-gap-2_5`,3:`fp-gap-3`,"3.5":`fp-gap-3_5`,4:`fp-gap-4`,5:`fp-gap-5`,6:`fp-gap-6`,7:`fp-gap-7`,8:`fp-gap-8`,9:`fp-gap-9`,10:`fp-gap-10`,11:`fp-gap-11`,12:`fp-gap-12`,13:`fp-gap-13`,14:`fp-gap-14`,15:`fp-gap-15`,16:`fp-gap-16`},Ya=(0,d.cva)(`fp-Flex`,{variants:{direction:{row:`fp-direction-row`,column:`fp-direction-column`,rowReverse:`fp-direction-row-reverse`,columnReverse:`fp-direction-column-reverse`},align:{start:`fp-align-start`,center:`fp-align-center`,end:`fp-align-end`,baseline:`fp-align-baseline`,stretch:`fp-align-stretch`},justify:{start:`fp-justify-start`,center:`fp-justify-center`,end:`fp-justify-end`,between:`fp-justify-between`},wrap:{nowrap:`fp-wrap-nowrap`,wrap:`fp-wrap-wrap`,wrapReverse:`fp-wrap-wrap-reverse`},gap:Ja,columnGap:Ja,rowGap:Ja},defaultVariants:{direction:`row`}}),Xa=l.default.forwardRef((e,t)=>{let{className:n,direction:r,align:i,justify:a,wrap:o,gap:s,columnGap:c,rowGap:l,...u}=e;return(0,f.jsx)(`div`,{ref:t,className:Ya({className:n,direction:r,align:i,justify:a,wrap:o,gap:s,columnGap:c,rowGap:l}),...u})});Xa.displayName=`Flex`;var Za={hex:()=>{let{colorsByModel:e,onColorChange:t}=$(`ColorPicker.HEX`),n=e.rgb;return(0,f.jsxs)(W,{children:[(0,f.jsx)(U,{children:(0,f.jsx)($i,{onChange:e=>{t({mode:`rgb`,value:e})},value:n})}),(0,f.jsxs)(U,{style:{flex:`0 0 52px`},children:[(0,f.jsx)(q,{onChange:e=>{t({mode:`rgb`,value:{...n,a:e}})},value:n.a,min:0,max:1,targetRange:[0,100],precision:2,allowedUnits:[`%`]}),(0,f.jsx)(G,{children:`%`})]})]})},hsv:()=>{let{colorsByModel:e,onColorChange:t}=$(`ColorPicker.HSVA`),n=e.hsv,r=e=>r=>{t({mode:`hsv`,value:{...n,[e]:r}})};return(0,f.jsxs)(W,{children:[(0,f.jsx)(U,{children:(0,f.jsx)(q,{onChange:r(`h`),value:n.h,min:0,max:360,precision:0})}),(0,f.jsx)(U,{children:(0,f.jsx)(q,{onChange:r(`s`),value:n.s,min:0,max:100,precision:0})}),(0,f.jsx)(U,{children:(0,f.jsx)(q,{onChange:r(`v`),value:n.v,min:0,max:100,precision:0})}),(0,f.jsxs)(U,{style:{flex:`0 0 52px`},children:[(0,f.jsx)(q,{onChange:r(`a`),value:n.a,min:0,max:1,targetRange:[0,100],precision:2,allowedUnits:[`%`]}),(0,f.jsx)(G,{children:`%`})]})]})},hsl:()=>{let{colorsByModel:e,onColorChange:t}=$(`ColorPicker.HSLA`),n=e.hsl,r=e=>r=>{t({mode:`hsl`,value:{...n,[e]:r}})};return(0,f.jsxs)(W,{children:[(0,f.jsx)(U,{children:(0,f.jsx)(q,{onChange:r(`h`),value:n.h,min:0,max:360,precision:0})}),(0,f.jsx)(U,{children:(0,f.jsx)(q,{onChange:r(`s`),value:n.s,min:0,max:100,precision:0})}),(0,f.jsx)(U,{children:(0,f.jsx)(q,{onChange:r(`l`),value:n.l,min:0,max:100,precision:0})}),(0,f.jsxs)(U,{style:{flex:`0 0 52px`},children:[(0,f.jsx)(q,{onChange:r(`a`),value:n.a,min:0,max:1,targetRange:[0,100],precision:2,allowedUnits:[`%`]}),(0,f.jsx)(G,{children:`%`})]})]})},rgb:()=>{let{colorsByModel:e,onColorChange:t}=$(`ColorPicker.RGBA`),n=e.rgb,r=e=>r=>{t({mode:`rgb`,value:{...n,[e]:r}})};return(0,f.jsxs)(W,{children:[(0,f.jsx)(U,{children:(0,f.jsx)(q,{onChange:r(`r`),value:n.r,min:0,max:1,targetRange:[0,255],precision:0})}),(0,f.jsx)(U,{children:(0,f.jsx)(q,{onChange:r(`g`),value:n.g,min:0,max:1,targetRange:[0,255],precision:0})}),(0,f.jsx)(U,{children:(0,f.jsx)(q,{onChange:r(`b`),value:n.b,min:0,max:1,targetRange:[0,255],precision:0})}),(0,f.jsxs)(U,{style:{flex:`0 0 52px`},children:[(0,f.jsx)(q,{onChange:r(`a`),value:n.a,min:0,max:1,targetRange:[0,100],precision:2,allowedUnits:[`%`]}),(0,f.jsx)(G,{children:`%`})]})]})}},Qa=e=>{let{models:t,activeModel:n,onActiveModelChange:r}=$(`ColorPicker.Input`),i=Za[n],a=t.map(e=>({value:e,label:e.toUpperCase()}));function o(e){e!==null&&r(e)}return(0,f.jsxs)(Xa,{gap:`2.5`,className:e.className,style:e.style,children:[t.length>1&&(0,f.jsxs)(mn,{items:a,value:n,onValueChange:o,children:[(0,f.jsxs)(yn,{style:{width:56},children:[(0,f.jsx)(gn,{}),(0,f.jsx)(bn,{children:(0,f.jsx)(V,{})})]}),(0,f.jsx)($a,{children:a.map(e=>(0,f.jsxs)(wn,{value:e.value,label:e.label,children:[(0,f.jsx)(En,{children:(0,f.jsx)(B,{size:`4`})}),(0,f.jsx)(Tn,{children:e.label})]},e.value))})]}),(0,f.jsx)(i,{})]})};function $a(e){let{children:t}=e;return(0,f.jsx)(hn,{children:(0,f.jsx)(xn,{children:(0,f.jsxs)(Sn,{children:[(0,f.jsx)(An,{children:(0,f.jsx)(Ke,{})}),(0,f.jsx)(Cn,{children:t}),(0,f.jsx)(jn,{children:(0,f.jsx)(V,{})})]})})})}var eo=o({Alpha:()=>Ua,Area:()=>Ga,Hue:()=>Ba,Input:()=>Qa,Root:()=>ya,useColorPickerContext:()=>$}),to=l.default.forwardRef((e,t)=>{let{className:n,...r}=e;return(0,f.jsx)(N.Collapsible.Root,{ref:t,className:I(n,`fp-CollapsibleRoot`),...r})}),no=l.default.forwardRef((e,t)=>{let{className:n,children:r,...i}=e;return(0,f.jsxs)(N.Collapsible.Trigger,{ref:t,className:I(n,`fp-CollapsibleTrigger`),...i,children:[(0,f.jsx)(Ge,{viewBox:`4 4 16 16`,size:`4`,className:`fp-CollapsibleIndicator`}),r]})}),ro=l.default.forwardRef((e,t)=>{let{className:n,...r}=e;return(0,f.jsx)(N.Collapsible.Panel,{ref:t,className:I(n,`fp-CollapsibleContent`),...r})});to.displayName=`Collapsible.Root`,no.displayName=`Collapsible.Trigger`,ro.displayName=`Collapsible.Panel`;var io=o({Panel:()=>ro,Root:()=>to,Trigger:()=>no}),ao=(0,d.cva)(`fp-Button`,{variants:{variant:{primary:`fp-variant-primary`,secondary:`fp-variant-secondary`,inverse:`fp-variant-inverse`,destructive:`fp-variant-destructive`,success:`fp-variant-success`,text:`fp-variant-text`},size:{small:`fp-size-small`,medium:`fp-size-medium`},fullWidth:{true:`fp-full-width`}},defaultVariants:{variant:`secondary`,size:`small`}}),oo=l.default.forwardRef((e,t)=>{let{className:n,variant:r,size:i,fullWidth:a,...o}=e;return(0,f.jsx)(`button`,{ref:t,className:ao({className:n,variant:r,size:i,fullWidth:a}),...o})});oo.displayName=`Button`;var so=l.default.forwardRef((e,t)=>{let{className:n,...r}=e;return(0,f.jsx)(P.default,{className:(0,d.cx)(n,`fp-textarea`),ref:t,...r})});so.displayName=`Textarea`;var co=l.default.forwardRef((e,t)=>{let{className:n,...r}=e;return(0,f.jsx)(F.Switch.Root,{ref:t,className:I(n,`fp-switchRoot`),...r,children:(0,f.jsx)(F.Switch.Thumb,{className:`fp-switchThumb`})})});co.displayName=`Switch`,exports.ActionsIcon=Ae,Object.defineProperty(exports,"AlertDialog",{enumerable:!0,get:function(){return wi}}),exports.AlignBottomIcon=je,exports.AlignHorizontalCenterIcon=Me,exports.AlignLeftIcon=Ne,exports.AlignRightIcon=Pe,exports.AlignTopIcon=Fe,exports.AlignVerticalCenterIcon=Ie,exports.AnnotationIcon=Le,exports.AspectRatioIcon=Re,exports.AutoHeightIcon=ze,exports.AutoWidthIcon=Be,exports.BlendModeIcon=Ve,exports.BooleanIcon=He,exports.Button=oo,Object.defineProperty(exports,"Checkbox",{enumerable:!0,get:function(){return pn}}),exports.CheckmarkIcon=B,exports.CheckmarkIndeterminateIcon=Ue,exports.ChevronDownIcon=V,exports.ChevronLeftIcon=We,exports.ChevronRightIcon=Ge,exports.ChevronUpIcon=Ke,exports.CircleIcon=qe,exports.ClearIcon=Je,exports.CloseIcon=Ye,exports.CodeIcon=Xe,Object.defineProperty(exports,"Collapsible",{enumerable:!0,get:function(){return io}}),Object.defineProperty(exports,"ColorPicker",{enumerable:!0,get:function(){return eo}}),Object.defineProperty(exports,"Combobox",{enumerable:!0,get:function(){return rr}}),exports.CommentIcon=Ze,exports.ComponentIcon=Qe,exports.ConstraintLeftIcon=$e,exports.ConstraintTopIcon=et,Object.defineProperty(exports,"ContextMenu",{enumerable:!0,get:function(){return zr}}),exports.CornerRadiusIcon=tt,exports.DesignIcon=nt,Object.defineProperty(exports,"Dialog",{enumerable:!0,get:function(){return pi}}),exports.DrawIcon=rt,Object.defineProperty(exports,"DropdownMenu",{enumerable:!0,get:function(){return xr}}),exports.EllipsisIcon=it,exports.ExpandIcon=at,exports.EyeIcon=ot,exports.EyedropperIcon=st,exports.FigmaIcon=dt,exports.FillGradientIcon=ct,exports.FillPatternIcon=lt,exports.FillSolidIcon=ut,exports.FixedSizeIcon=ft,exports.Flex=Xa,exports.FlipHorizontalIcon=pt,exports.FlipVerticalIcon=mt,exports.FrameIcon=ht,exports.HelpIcon=gt,exports.IconButton=Kr,exports.ImageIcon=_t,exports.Input=Oi,exports.Label=le,exports.LayersCollapseIcon=vt,exports.LetterSpacingIcon=yt,exports.LineHeightIcon=bt,exports.Link=de,exports.LinkIcon=xt,exports.MinusIcon=St,exports.MoveIcon=Ct,exports.NumberIcon=wt,exports.OpacityIcon=Tt,exports.PaletteIcon=Et,exports.PanelLeftCloseIcon=Dt,exports.Paragraph=ue,exports.PenIcon=Ot,exports.PlayIcon=kt,exports.PlusIcon=At,Object.defineProperty(exports,"Popover",{enumerable:!0,get:function(){return ii}}),Object.defineProperty(exports,"RadioGroup",{enumerable:!0,get:function(){return Ee}}),exports.RectangleIcon=jt,exports.RotateClockwiseIcon=Mt,exports.RotationIcon=Nt,exports.RulerIcon=Pt,exports.SearchIcon=Ft,Object.defineProperty(exports,"SegmentedControl",{enumerable:!0,get:function(){return ye}}),Object.defineProperty(exports,"Select",{enumerable:!0,get:function(){return Mn}}),exports.SelectMatchingIcon=It,exports.ShadowBottomLeftIcon=Lt,exports.ShadowBottomRightIcon=Rt,exports.ShadowDownIcon=zt,exports.ShadowLeftIcon=Bt,exports.ShadowRightIcon=Vt,exports.ShadowTopLeftIcon=Ht,exports.ShadowTopRightIcon=Ut,exports.ShadowUpIcon=Wt,exports.Slider=Da,exports.SlidersIcon=Gt,exports.StringIcon=Kt,exports.StylesIcon=rn,exports.Switch=co,Object.defineProperty(exports,"Tabs",{enumerable:!0,get:function(){return se}}),exports.Text=R,exports.TextAlignCenterIcon=Jt,exports.TextAlignLeftIcon=Yt,exports.TextAlignRightIcon=Xt,exports.TextIcon=qt,exports.TextVerticalAlignBottomIcon=Zt,exports.TextVerticalAlignMiddleIcon=Qt,exports.TextVerticalAlignTopIcon=$t,exports.Textarea=so,exports.Tooltip=Wr,exports.TooltipProvider=Vr,Object.defineProperty(exports,"ValueField",{enumerable:!0,get:function(){return oa}}),exports.VariableIcon=tn,exports.VariableModeIcon=en,exports.VideoIcon=nn,exports.createIcon=z;
1
+ Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});var e=Object.create,t=Object.defineProperty,n=Object.getOwnPropertyDescriptor,r=Object.getOwnPropertyNames,i=Object.getPrototypeOf,a=Object.prototype.hasOwnProperty,o=(e,n)=>{let r={};for(var i in e)t(r,i,{get:e[i],enumerable:!0});return n||t(r,Symbol.toStringTag,{value:`Module`}),r},s=(e,i,o,s)=>{if(i&&typeof i==`object`||typeof i==`function`)for(var c=r(i),l=0,u=c.length,d;l<u;l++)d=c[l],!a.call(e,d)&&d!==o&&t(e,d,{get:(e=>i[e]).bind(null,d),enumerable:!(s=n(i,d))||s.enumerable});return e},c=(n,r,a)=>(a=n==null?{}:e(i(n)),s(r||!n||!n.__esModule?t(a,`default`,{value:n,enumerable:!0}):a,n));let l=require("react");l=c(l,1);let u=require("@base-ui/react/tabs"),d=require("class-variance-authority"),f=require("react/jsx-runtime"),p=require("@base-ui/react/toggle"),m=require("@base-ui/react/toggle-group"),h=require("@base-ui/react/use-render"),g=require("@base-ui/react/radio"),_=require("@base-ui/react/radio-group"),v=require("@base-ui/react/select"),y=require("@base-ui/react/combobox"),b=require("@base-ui/react/separator"),x=require("@base-ui/react/menu"),S=require("@base-ui/react/context-menu"),C=require("@base-ui/react/popover"),w=require("@base-ui/react/tooltip"),T=require("@base-ui/react/dialog"),E=require("@base-ui/react/alert-dialog"),D=require("remeda"),O=require("@emmetio/math-expression");O=c(O,1);let k=require("@base-ui/react/merge-props"),A=require("react-dom"),j=require("@base-ui/react/direction-provider"),M=require("@base-ui/react/slider"),N=require("@base-ui/react/collapsible"),P=require("react-textarea-autosize");P=c(P,1);let F=require("@base-ui/react/switch");function I(e,t){return typeof e==`function`?n=>(0,d.cx)(e(n),t):(0,d.cx)(e,t)}function ee(e,t){typeof e==`function`?e(t):e!=null&&(e.current=t)}function te(...e){return t=>e.forEach(e=>ee(e,t))}function L(...e){return l.useCallback(te(...e),e)}var ne=l.default.forwardRef((e,t)=>{let{className:n,...r}=e;return(0,f.jsx)(u.Tabs.Root,{ref:t,className:I(n,`fp-TabsRoot`),...r})}),re=l.default.forwardRef((e,t)=>{let{className:n,...r}=e;return(0,f.jsx)(u.Tabs.List,{ref:t,className:I(n,`fp-TabsList`),...r})}),ie=l.default.forwardRef((e,t)=>{let{className:n,...r}=e,i=te(t,ae());return(0,f.jsx)(u.Tabs.Tab,{ref:i,className:I(n,`fp-TabsTrigger`),...r})});function ae(){return(0,l.useCallback)(e=>{e!==null&&(e.style.width=e.getBoundingClientRect().width+`px`)},[])}var oe=l.default.forwardRef((e,t)=>{let{className:n,...r}=e;return(0,f.jsx)(u.Tabs.Panel,{ref:t,className:I(n,`fp-TabsContent`),...r})});ne.displayName=`Tabs.Root`,re.displayName=`Tabs.List`,ie.displayName=`Tabs.Tab`,oe.displayName=`Tabs.Panel`;var se=o({List:()=>re,Panel:()=>oe,Root:()=>ne,Tab:()=>ie}),ce=(0,d.cva)(`fp-Text`,{variants:{size:{small:`fp-size-small`,medium:`fp-size-medium`,large:`fp-size-large`},weight:{default:`fp-weight-default`,strong:`fp-weight-strong`},align:{start:`fp-align-start`,center:`fp-align-center`,end:`fp-align-end`},block:{true:`fp-block`}}}),R=l.default.forwardRef((e,t)=>{let{className:n,render:r,size:i,weight:a,align:o,block:s,...c}=e;return(0,h.useRender)({defaultTagName:`span`,render:r,ref:t,props:{className:ce({className:n,size:i,weight:a,align:o,block:s}),...c}})});R.displayName=`Text`;var le=l.default.forwardRef((e,t)=>{let{className:n,size:r,weight:i,align:a,block:o,...s}=e;return(0,f.jsx)(`label`,{ref:t,className:ce({className:n,size:r,weight:i,align:a,block:o}),...s})});le.displayName=`Label`;var ue=l.default.forwardRef((e,t)=>{let{className:n,size:r,weight:i,align:a,block:o,...s}=e;return(0,f.jsx)(`p`,{ref:t,className:ce({className:n,size:r,weight:i,align:a,block:o}),...s})});ue.displayName=`Paragraph`;var de=l.default.forwardRef((e,t)=>{let{className:n,render:r,size:i,weight:a,align:o,block:s,...c}=e;return(0,h.useRender)({defaultTagName:`a`,render:r,ref:t,props:{className:(0,d.cx)(ce({className:n,size:i,weight:a,align:o,block:s}),`fp-Link`),...c}})});de.displayName=`Link`;function fe(e){let t=l.useRef(e);return l.useEffect(()=>{t.current=e}),l.useMemo(()=>((...e)=>t.current?.(...e)),[])}function pe({prop:e,defaultProp:t,onChange:n=()=>{}}){let[r,i]=me({defaultProp:t,onChange:n}),a=e!==void 0,o=a?e:r,s=fe(n);return[o,l.useCallback(t=>{if(a){let n=typeof t==`function`?t(e):t;n!==e&&s(n)}else i(t)},[a,e,i,s])]}function me({defaultProp:e,onChange:t}){let n=l.useState(e),[r]=n,i=l.useRef(r),a=fe(t);return l.useEffect(()=>{i.current!==r&&(a(r),i.current=r)},[r,i,a]),n}var he=l.default.forwardRef((e,t)=>{let{className:n,fullWidth:r,value:i,defaultValue:a,onValueChange:o,...s}=e,[c,l]=pe({prop:i,defaultProp:a,onChange:o});return(0,f.jsx)(m.ToggleGroup,{ref:t,className:I(n,(0,d.cx)(`fp-SegmentedControlRoot`,{"fp-full-width":r})),...s,multiple:!1,value:ve(c),onValueChange:e=>{let t=e[0];t!==void 0&&l(t)}})}),ge=l.default.forwardRef((e,t)=>{let{className:n,...r}=e;return(0,f.jsx)(p.Toggle,{ref:t,className:I(n,`fp-SegmentedControlItem`),...r})}),_e=l.default.forwardRef((e,t)=>{let{className:n,...r}=e;return(0,f.jsx)(R,{ref:t,className:(0,d.cx)(n,`fp-SegmentedControlText`),...r})});he.displayName=`SegmentedControl.Root`,ge.displayName=`SegmentedControl.Item`,_e.displayName=`SegmentedControl.Text`;function ve(e){return e===void 0?[]:[e]}var ye=o({Item:()=>ge,Root:()=>he,Text:()=>_e});function z(e,t){let n=l.default.createContext(t);function r(e){let{children:t,...r}=e,i=l.default.useMemo(()=>r,Object.values(r));return(0,f.jsx)(n.Provider,{value:i,children:t})}function i(r){let i=l.default.useContext(n);if(i)return i;if(t!==void 0)return t;throw Error(`\`${r}\` must be used within \`${e}\``)}return r.displayName=e+`Provider`,[r,i]}var[be,xe]=z(`RadioGroup`),Se=l.default.forwardRef((e,t)=>{let{orientation:n=`horizontal`,disabled:r,className:i,...a}=e;return(0,f.jsx)(be,{orientation:n,disabled:r,children:(0,f.jsx)(_.RadioGroup,{ref:t,disabled:r,className:I(i,`fp-RadioGroupRoot`),"data-orientation":n,...a})})}),Ce=l.default.forwardRef((e,t)=>{let{className:n,...r}=e;return(0,f.jsx)(g.Radio.Root,{ref:t,className:I(n,`fp-RadioGroupItem`),...r})}),we=l.default.forwardRef((e,t)=>{let{orientation:n,disabled:r}=xe(`Label`),{className:i,...a}=e;return(0,f.jsx)(le,{ref:t,className:(0,d.cx)(i,`fp-RadioGroupLabel`),"data-orientation":n,"data-disabled":r?``:void 0,...a})});Se.displayName=`RadioGroup.Root`,Ce.displayName=`RadioGroup.Item`,we.displayName=`RadioGroup.Label`;var Te=o({Item:()=>Ce,Label:()=>we,Root:()=>Se}),Ee=`6`,De=`0 0 24 24`,Oe=(0,d.cva)(`fp-Icon`,{variants:{size:{1:`fp-size-1`,2:`fp-size-2`,"2_5":`fp-size-2_5`,3:`fp-size-3`,"3_5":`fp-size-3_5`,4:`fp-size-4`,5:`fp-size-5`,6:`fp-size-6`,7:`fp-size-7`,8:`fp-size-8`,9:`fp-size-9`,10:`fp-size-10`}},defaultVariants:{size:Ee}});function B(e){let{path:t,viewBox:n=De,displayName:r}=e,i=l.default.forwardRef((e,r)=>{let{size:i,className:a,...o}=e;return(0,f.jsx)(`svg`,{xmlns:`http://www.w3.org/2000/svg`,ref:r,viewBox:n,className:Oe({className:a,size:i}),fill:`none`,...o,children:t})});return i.displayName=r||`Icon`,i}var ke=B({displayName:`Actions`,path:(0,f.jsx)(`path`,{fill:`var(--color-icon)`,d:`M9 13a2 2 0 0 1 2 2v3a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2v-3a2 2 0 0 1 2-2zm7.5 0a.5.5 0 0 1 .5.5V16h2.5a.5.5 0 0 1 0 1H17v2.5a.5.5 0 0 1-1 0V17h-2.5a.5.5 0 0 1 0-1H16v-2.5a.5.5 0 0 1 .5-.5M6 14a1 1 0 0 0-1 1v3a1 1 0 0 0 .897.995L6 19h3a1 1 0 0 0 1-1v-3a1 1 0 0 0-1-1zm.87-10.275a1 1 0 0 1 1.337.068l3 3a1 1 0 0 1 0 1.414l-3 3a1 1 0 0 1-1.414 0l-3-3a1 1 0 0 1 0-1.414l3-3zM16.5 4a3.5 3.5 0 1 1 0 7 3.5 3.5 0 0 1 0-7m-12 3.5 3 3 3-3-3-3zm12-2.5a2.5 2.5 0 1 0 0 5 2.5 2.5 0 0 0 0-5`})}),Ae=B({displayName:`AlignBottom`,path:(0,f.jsxs)(f.Fragment,{children:[(0,f.jsx)(`path`,{fill:`var(--color-icon)`,fillRule:`evenodd`,d:`M10 6.75A.75.75 0 0 0 9.25 6h-.5a.75.75 0 0 0-.75.75v8.5c0 .414.336.75.75.75h.5a.75.75 0 0 0 .75-.75zm5 4a.75.75 0 0 0-.75-.75h-.5a.75.75 0 0 0-.75.75v4.5c0 .414.336.75.75.75h.5a.75.75 0 0 0 .75-.75z`,clipRule:`evenodd`}),(0,f.jsx)(`path`,{fill:`var(--color-icon-tertiary)`,d:`M17.5 18a.5.5 0 0 1 0 1h-12a.5.5 0 0 1 0-1z`})]})}),je=B({displayName:`AlignHorizontalCenter`,path:(0,f.jsxs)(f.Fragment,{children:[(0,f.jsx)(`path`,{fill:`var(--color-icon)`,fillRule:`evenodd`,d:`M17.25 10a.75.75 0 0 0 .75-.75v-.5a.75.75 0 0 0-.75-.75h-9.5a.75.75 0 0 0-.75.75v.5c0 .414.336.75.75.75zm-2 5a.75.75 0 0 0 .75-.75v-.5a.75.75 0 0 0-.75-.75h-5.5a.75.75 0 0 0-.75.75v.5c0 .414.336.75.75.75z`,clipRule:`evenodd`}),(0,f.jsx)(`path`,{fill:`var(--color-icon-tertiary)`,fillRule:`evenodd`,d:`M13 17.5a.5.5 0 0 1-1 0V15h1zm0-4.5v-3h-1v3zm0-7.5V8h-1V5.5a.5.5 0 0 1 1 0`,clipRule:`evenodd`})]})}),Me=B({displayName:`AlignLeft`,path:(0,f.jsxs)(f.Fragment,{children:[(0,f.jsx)(`path`,{fill:`var(--color-icon)`,fillRule:`evenodd`,d:`M17.25 10a.75.75 0 0 0 .75-.75v-.5a.75.75 0 0 0-.75-.75h-8.5a.75.75 0 0 0-.75.75v.5c0 .414.336.75.75.75zm-4 5a.75.75 0 0 0 .75-.75v-.5a.75.75 0 0 0-.75-.75h-4.5a.75.75 0 0 0-.75.75v.5c0 .414.336.75.75.75z`,clipRule:`evenodd`}),(0,f.jsx)(`path`,{fill:`var(--color-icon-tertiary)`,d:`M6 17.5a.5.5 0 0 1-1 0v-12a.5.5 0 0 1 1 0z`})]})}),Ne=B({displayName:`AlignRight`,path:(0,f.jsxs)(f.Fragment,{children:[(0,f.jsx)(`path`,{fill:`var(--color-icon)`,fillRule:`evenodd`,d:`M6.75 10A.75.75 0 0 1 6 9.25v-.5A.75.75 0 0 1 6.75 8h8.5a.75.75 0 0 1 .75.75v.5a.75.75 0 0 1-.75.75zm4 5a.75.75 0 0 1-.75-.75v-.5a.75.75 0 0 1 .75-.75h4.5a.75.75 0 0 1 .75.75v.5a.75.75 0 0 1-.75.75z`,clipRule:`evenodd`}),(0,f.jsx)(`path`,{fill:`var(--color-icon-tertiary)`,d:`M18 17.5a.5.5 0 0 0 1 0v-12a.5.5 0 0 0-1 0z`})]})}),Pe=B({displayName:`AlignTop`,path:(0,f.jsxs)(f.Fragment,{children:[(0,f.jsx)(`path`,{fill:`var(--color-icon)`,fillRule:`evenodd`,d:`M10 17.25a.75.75 0 0 1-.75.75h-.5a.75.75 0 0 1-.75-.75v-8.5A.75.75 0 0 1 8.75 8h.5a.75.75 0 0 1 .75.75zm5-4a.75.75 0 0 1-.75.75h-.5a.75.75 0 0 1-.75-.75v-4.5a.75.75 0 0 1 .75-.75h.5a.75.75 0 0 1 .75.75z`,clipRule:`evenodd`}),(0,f.jsx)(`path`,{fill:`var(--color-icon-tertiary)`,d:`M17.5 6a.5.5 0 0 0 0-1h-12a.5.5 0 0 0 0 1z`})]})}),Fe=B({displayName:`AlignVerticalCenter`,path:(0,f.jsxs)(f.Fragment,{children:[(0,f.jsx)(`path`,{fill:`var(--color-icon)`,fillRule:`evenodd`,d:`M10 6.75A.75.75 0 0 0 9.25 6h-.5a.75.75 0 0 0-.75.75v9.5c0 .414.336.75.75.75h.5a.75.75 0 0 0 .75-.75zm5 2a.75.75 0 0 0-.75-.75h-.5a.75.75 0 0 0-.75.75v5.5c0 .414.336.75.75.75h.5a.75.75 0 0 0 .75-.75z`,clipRule:`evenodd`}),(0,f.jsx)(`path`,{fill:`var(--color-icon-tertiary)`,fillRule:`evenodd`,d:`M17.5 11a.5.5 0 0 1 0 1H15v-1zM13 11h-3v1h3zm-7.5 0H8v1H5.5a.5.5 0 0 1 0-1`,clipRule:`evenodd`})]})}),Ie=B({displayName:`Annotation`,path:(0,f.jsx)(`path`,{fill:`var(--color-icon)`,fillRule:`evenodd`,d:`M16.8 5H8.2c-.577 0-.949 0-1.232.024-.272.022-.373.06-.422.085a1 1 0 0 0-.437.437c-.025.05-.063.15-.085.422C6 6.25 6 6.623 6 7.2v7.3a.5.5 0 0 1-1 0V7.2c0-1.12 0-1.68.218-2.108a2 2 0 0 1 .874-.874C6.52 4 7.08 4 8.2 4h8.6c1.12 0 1.68 0 2.108.218a2 2 0 0 1 .874.874C20 5.52 20 6.08 20 7.2v8.6c0 1.12 0 1.68-.218 2.108a2 2 0 0 1-.874.874C18.48 19 17.92 19 16.8 19H9.5a.5.5 0 0 1 0-1h7.3c.577 0 .949 0 1.232-.024.272-.022.372-.06.422-.085a1 1 0 0 0 .437-.437c.025-.05.063-.15.085-.422C19 16.75 19 16.377 19 15.8V7.2c0-.577 0-.949-.024-1.232-.022-.272-.06-.373-.085-.422a1 1 0 0 0-.437-.437c-.05-.025-.15-.063-.422-.085C17.75 5 17.377 5 16.8 5M7 18.5a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0m1 0a2.5 2.5 0 1 1-5 0 2.5 2.5 0 0 1 5 0m1-5a.5.5 0 0 1 .5-.5h4a.5.5 0 0 1 0 1h-4a.5.5 0 0 1-.5-.5M9.5 9a.5.5 0 0 0 0 1h6a.5.5 0 0 0 0-1z`,clipRule:`evenodd`})}),Le=B({displayName:`AspectRatio`,path:(0,f.jsx)(`path`,{fill:`var(--color-icon)`,fillRule:`evenodd`,d:`M7.5 7h9a.5.5 0 0 1 .5.5v9a.5.5 0 0 1-.5.5h-9a.5.5 0 0 1-.5-.5v-9a.5.5 0 0 1 .5-.5M6 7.5A1.5 1.5 0 0 1 7.5 6h9A1.5 1.5 0 0 1 18 7.5v9a1.5 1.5 0 0 1-1.5 1.5h-9A1.5 1.5 0 0 1 6 16.5zM9.5 9a.5.5 0 0 0-.5.5v2a.5.5 0 0 0 1 0V10h1.5a.5.5 0 0 0 0-1zm5.5 3.5a.5.5 0 0 0-1 0V14h-1.5a.5.5 0 0 0 0 1h2a.5.5 0 0 0 .5-.5z`,clipRule:`evenodd`})}),Re=B({displayName:`AutoHeight`,path:(0,f.jsx)(`path`,{fill:`var(--color-icon)`,fillRule:`evenodd`,d:`M6.5 6a.5.5 0 0 1 .5.5v11a.5.5 0 0 1-1 0v-11a.5.5 0 0 1 .5-.5m3 4h5a.5.5 0 1 0 0-1h-5a.5.5 0 0 0 0 1m5 2.5h-5a.5.5 0 1 1 0-1h5a.5.5 0 1 1 0 1m-5.5 2a.5.5 0 0 1 .5-.5h3a.5.5 0 0 1 0 1h-3a.5.5 0 0 1-.5-.5m9-8a.5.5 0 0 0-1 0v11a.5.5 0 0 0 1 0z`,clipRule:`evenodd`})}),ze=B({displayName:`AutoWidth`,path:(0,f.jsx)(`path`,{fill:`var(--color-icon)`,fillRule:`evenodd`,d:`M7 6.5a.5.5 0 0 0-1 0v11a.5.5 0 0 0 1 0zm7.853 2.146a.5.5 0 1 0-.707.708l2.147 2.146H9.5a.5.5 0 0 0 0 1h6.793l-2.147 2.146a.5.5 0 0 0 .707.708l3-3a.5.5 0 0 0 0-.708z`,clipRule:`evenodd`})}),Be=B({displayName:`BlendMode`,path:(0,f.jsx)(`path`,{fill:`var(--color-icon)`,fillRule:`evenodd`,d:`M14.783 16.058C15.479 15.454 16 14.49 16 13c0-1.037-.597-2.328-1.493-3.631-.844-1.227-1.85-2.316-2.507-2.98-.658.664-1.662 1.753-2.507 2.98C8.597 10.673 8 11.964 8 13c0 1.491.521 2.454 1.217 3.058.72.623 1.721.943 2.783.943s2.063-.32 2.783-.944M12 18c2.5 0 5-1.5 5-5 0-2.712-3-6.023-4.353-7.378a.907.907 0 0 0-1.294 0C10 6.978 7 10.29 7 13.001c0 3.5 2.5 5 5 5`,clipRule:`evenodd`})}),Ve=B({displayName:`Boolean`,path:(0,f.jsx)(`path`,{fill:`var(--color-icon)`,fillRule:`evenodd`,d:`M10 8h4a4 4 0 0 1 0 8h-4a4 4 0 0 1 0-8m-5 4a5 5 0 0 1 5-5h4a5 5 0 0 1 0 10h-4a5 5 0 0 1-5-5m5 2a2 2 0 1 1 0-4 2 2 0 0 1 0 4m-3-2a3 3 0 1 1 6 0 3 3 0 0 1-6 0`,clipRule:`evenodd`})}),V=B({displayName:`Checkmark`,viewBox:`0 0 16 16`,path:(0,f.jsx)(`path`,{fill:`var(--color-icon)`,fillRule:`evenodd`,clipRule:`evenodd`,d:`M11.777 4.08399C11.8873 4.1575 11.9639 4.27178 11.99 4.40172C12.016 4.53167 11.9894 4.66665 11.916 4.77699L7.91602 10.777C7.87506 10.8387 7.82091 10.8905 7.75748 10.9287C7.69405 10.9669 7.62294 10.9905 7.54926 10.9979C7.47559 11.0053 7.40119 10.9962 7.33146 10.9713C7.26172 10.9464 7.19839 10.9063 7.14602 10.854L4.14602 7.85399C4.09953 7.80751 4.06266 7.75232 4.0375 7.69158C4.01234 7.63084 3.99939 7.56574 3.99939 7.49999C3.99939 7.43425 4.01234 7.36915 4.0375 7.30841C4.06266 7.24767 4.09953 7.19248 4.14602 7.14599C4.19251 7.09951 4.2477 7.06263 4.30844 7.03747C4.36918 7.01231 4.43428 6.99936 4.50002 6.99936C4.56577 6.99936 4.63087 7.01231 4.6916 7.03747C4.75234 7.06263 4.80753 7.09951 4.85402 7.14599L7.42202 9.71599L11.084 4.22299C11.1575 4.11271 11.2718 4.03612 11.4018 4.01006C11.5317 3.98399 11.6667 4.01059 11.777 4.08399Z`})}),He=B({displayName:`CheckmarkIndeterminate`,viewBox:`0 0 16 16`,path:(0,f.jsx)(`path`,{fill:`var(--color-icon)`,d:`M4 8a1 1 0 0 1 1-1h6a1 1 0 1 1 0 2H5a1 1 0 0 1-1-1Z`})}),H=B({displayName:`ChevronDown`,path:(0,f.jsx)(`svg`,{width:`24`,height:`24`,viewBox:`0 0 24 24`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,children:(0,f.jsx)(`path`,{stroke:`var(--color-icon)`,strokeLinecap:`round`,d:`M9.87897 11.121L12 13.243L14.121 11.12`})})}),Ue=B({displayName:`ChevronLeft`,path:(0,f.jsx)(`path`,{stroke:`var(--color-icon)`,strokeLinecap:`round`,d:`M12.879 9.879L10.757 12L12.88 14.121`})}),We=B({displayName:`ChevronRight`,path:(0,f.jsx)(`path`,{stroke:`var(--color-icon)`,strokeLinecap:`round`,d:`M11.121 14.121L13.243 12L11.12 9.879`})}),Ge=B({displayName:`ChevronUp`,path:(0,f.jsx)(`path`,{stroke:`var(--color-icon)`,strokeLinecap:`round`,d:`M14.121 12.879L12 10.757L9.87903 12.88`})}),Ke=B({displayName:`Circle`,viewBox:`0 0 16 16`,path:(0,f.jsx)(`circle`,{fill:`var(--color-icon)`,cx:`8`,cy:`8`,r:`3`})}),qe=B({displayName:`Clear`,path:(0,f.jsx)(`path`,{fill:`var(--color-icon)`,d:`M12 5a7 7 0 1 1 0 14 7 7 0 0 1 0-14m0 1a6 6 0 1 0 0 12 6 6 0 0 0 0-12m2.225 3.082a.5.5 0 0 1 .693.693l-.064.079L12.707 12l2.147 2.146.064.079a.5.5 0 0 1-.693.693l-.078-.064L12 12.707l-2.146 2.146a.5.5 0 1 1-.707-.707L11.293 12 9.147 9.854l-.065-.079a.5.5 0 0 1 .694-.693l.078.064L12 11.293l2.147-2.147z`})}),Je=B({displayName:`Close`,path:(0,f.jsx)(`path`,{stroke:`var(--color-icon)`,d:`M16.5 7.5L12 12M12 12L7.5 16.5M12 12L7.5 7.5M12 12L16.5 16.5`,strokeLinecap:`round`})}),Ye=B({displayName:`Code`,path:(0,f.jsx)(`path`,{fill:`var(--color-icon)`,d:`M13.631 6.018a.5.5 0 0 1 .367.513l-.016.1-3 11-.036.095a.5.5 0 0 1-.93-.358l3-11 .037-.095a.5.5 0 0 1 .578-.255M8.224 8.582a.501.501 0 0 1 .693.693l-.064.079L6.206 12l2.647 2.646a.5.5 0 1 1-.707.707l-3-3a.5.5 0 0 1 0-.707l3-3zm6.922.064a.5.5 0 0 1 .707 0l3 3a.5.5 0 0 1 0 .707l-3 3-.078.065a.5.5 0 0 1-.694-.693l.065-.079L17.792 12l-2.646-2.646a.5.5 0 0 1 0-.707`})}),Xe=B({displayName:`Comment`,path:(0,f.jsx)(`path`,{fill:`var(--color-icon)`,d:`M12.5 3a8.5 8.5 0 0 1 0 17H7.09c-.89 0-1.39 0-1.767-.121l-.154-.06a2 2 0 0 1-.906-.828l-.082-.16c-.136-.297-.17-.657-.178-1.248L4 16.909V11.5A8.5 8.5 0 0 1 12.5 3m0 1A7.5 7.5 0 0 0 5 11.5v5.41c0 .523 0 .861.02 1.12.018.247.05.34.07.385a1 1 0 0 0 .495.494c.045.02.138.053.386.072.258.019.596.019 1.12.019H12.5a7.5 7.5 0 0 0 0-15`})}),Ze=B({displayName:`Component`,path:(0,f.jsx)(`path`,{fill:`var(--color-icon)`,fillRule:`evenodd`,d:`M11.116 13.592a1.25 1.25 0 0 1 1.768 0l1.637 1.637a1.25 1.25 0 0 1 0 1.768l-1.637 1.638-.095.085a1.25 1.25 0 0 1-1.578 0l-.095-.085-1.638-1.64a1.25 1.25 0 0 1-.085-1.672l.085-.095zm1.06.707a.25.25 0 0 0-.353 0l-1.638 1.636a.25.25 0 0 0 0 .354l1.638 1.639a.25.25 0 0 0 .354 0l1.637-1.638a.25.25 0 0 0 0-.354zm3.053-4.82a1.25 1.25 0 0 1 1.767 0l1.639 1.637a1.25 1.25 0 0 1 0 1.768l-1.639 1.638-.095.086a1.25 1.25 0 0 1-1.578 0l-.095-.086-1.637-1.637a1.25 1.25 0 0 1-.086-1.673l.086-.095zm-8.226 0a1.25 1.25 0 0 1 1.767 0l1.64 1.638a1.25 1.25 0 0 1 0 1.768L8.77 14.52a1.25 1.25 0 0 1-1.672.086l-.095-.086-1.638-1.637a1.25 1.25 0 0 1-.086-1.673l.086-.095zm9.286.706a.25.25 0 0 0-.354 0l-1.637 1.64a.25.25 0 0 0 0 .353l1.637 1.637a.25.25 0 0 0 .354 0l1.639-1.638a.25.25 0 0 0 0-.354zm-8.226 0a.25.25 0 0 0-.353 0l-1.637 1.638a.25.25 0 0 0 0 .354l1.638 1.637a.25.25 0 0 0 .353 0l1.638-1.636a.25.25 0 0 0 0-.354zm3.053-4.819a1.25 1.25 0 0 1 1.768 0l1.637 1.638a1.25 1.25 0 0 1 0 1.767l-1.637 1.639-.095.085a1.25 1.25 0 0 1-1.578 0l-.095-.085-1.639-1.639a1.25 1.25 0 0 1-.085-1.673l.085-.094zm1.06.707a.25.25 0 0 0-.353 0l-1.639 1.638a.25.25 0 0 0 0 .353l1.64 1.639a.25.25 0 0 0 .353 0l1.637-1.639a.25.25 0 0 0 0-.353z`,clipRule:`evenodd`})}),Qe=B({displayName:`ConstraintLeft`,path:(0,f.jsx)(`path`,{fill:`var(--color-icon)`,fillRule:`evenodd`,d:`M16.5 8.5a.5.5 0 0 1 .5.5v5a.5.5 0 1 1-1 0v-2H7v2a.5.5 0 0 1-1 0V9a.5.5 0 0 1 1 0v2h9V9a.5.5 0 0 1 .5-.5`,clipRule:`evenodd`})}),$e=B({displayName:`ConstraintTop`,path:(0,f.jsx)(`path`,{fill:`var(--color-icon)`,fillRule:`evenodd`,d:`M8.5 6.5A.5.5 0 0 1 9 6h5a.5.5 0 0 1 0 1h-2v9h2a.5.5 0 0 1 0 1H9a.5.5 0 0 1 0-1h2V7H9a.5.5 0 0 1-.5-.5`,clipRule:`evenodd`})}),et=B({displayName:`CornerRadius`,path:(0,f.jsx)(`path`,{fill:`var(--color-icon)`,d:`M6.5 14a.5.5 0 0 1 .5.5v.6c0 .428 0 .72.019.945.017.219.05.331.09.41.096.187.249.34.437.436.078.04.19.073.41.09.224.019.516.019.944.019h.6a.5.5 0 0 1 0 1h-.621c-.402 0-.734 0-1.005-.023-.281-.022-.54-.071-.782-.195a2 2 0 0 1-.874-.874c-.124-.242-.173-.501-.196-.782A13 13 0 0 1 6 15.121V14.5a.5.5 0 0 1 .5-.5m11 0a.5.5 0 0 1 .5.5v.621c0 .402 0 .734-.023 1.005-.022.281-.071.54-.195.782a2 2 0 0 1-.874.874c-.242.124-.501.173-.782.195-.27.023-.603.023-1.005.023H14.5a.5.5 0 0 1 0-1h.6c.428 0 .72 0 .945-.019.219-.018.331-.05.41-.09a1 1 0 0 0 .436-.437c.04-.078.073-.19.09-.41.019-.224.019-.516.019-.944v-.6a.5.5 0 0 1 .5-.5m-8-8a.5.5 0 0 1 0 1h-.6c-.428 0-.719 0-.944.019-.22.017-.332.05-.41.09a1 1 0 0 0-.437.437c-.04.078-.073.19-.09.41C7 8.18 7 8.471 7 8.9v.6a.5.5 0 0 1-1 0v-.621c0-.402 0-.734.022-1.005.023-.281.072-.54.196-.782a2 2 0 0 1 .874-.874c.242-.124.501-.173.782-.196C8.144 6 8.477 6 8.88 6zm5.621 0c.402 0 .734 0 1.005.022.281.023.54.072.782.196a2 2 0 0 1 .874.874c.124.242.173.501.195.782.023.27.023.603.023 1.005V9.5a.5.5 0 0 1-1 0v-.6c0-.428 0-.72-.019-.945-.018-.219-.05-.33-.09-.41a1 1 0 0 0-.437-.436c-.078-.04-.19-.073-.41-.09A13 13 0 0 0 15.1 7h-.6a.5.5 0 0 1 0-1z`})}),tt=B({displayName:`Design`,path:(0,f.jsx)(`path`,{fill:`var(--color-icon)`,d:`M12.11 13.956c-.44-1.121.618-2.23 1.738-1.885l.108.038 4.15 1.63.115.051c1.136.556 1.027 2.254-.218 2.637l-1.205.372-.37 1.205c-.397 1.29-2.196 1.356-2.689.102zm1.48-.916a.425.425 0 0 0-.55.55l1.63 4.15c.138.35.618.356.775.038l.027-.068.526-1.711 1.711-.527a.425.425 0 0 0 .031-.802zM16.5 6A1.5 1.5 0 0 1 18 7.5v1a1.5 1.5 0 0 1-1.5 1.5H10v6.5A1.5 1.5 0 0 1 8.5 18h-1A1.5 1.5 0 0 1 6 16.5v-9A1.5 1.5 0 0 1 7.5 6zM7 16.5a.5.5 0 0 0 .5.5h1a.5.5 0 0 0 .5-.5V15h-.5a.5.5 0 0 1 0-1H9v-1h-.5a.5.5 0 0 1 0-1H9v-2H7zM7.5 7a.5.5 0 0 0-.5.5V9h2V7zM10 9h2v-.5a.5.5 0 0 1 1 0V9h1v-.5a.5.5 0 0 1 1 0V9h1.5a.5.5 0 0 0 .5-.5v-1a.5.5 0 0 0-.5-.5H10z`})}),nt=B({displayName:`Draw`,path:(0,f.jsx)(`path`,{fill:`var(--color-icon)`,fillRule:`evenodd`,d:`M13.407 5.06c.61-.123 1.227-.079 1.657.343l.135.15c.277.361.316.79.208 1.204-.115.44-.397.887-.734 1.314-.68.86-1.74 1.829-2.748 2.76-1.031.952-2.01 1.867-2.606 2.662-.3.4-.466.724-.517.97-.044.21-.003.34.12.46l.065.052c.072.044.167.062.313.039.217-.034.505-.155.866-.378.72-.445 1.561-1.183 2.445-1.966.862-.763 1.768-1.571 2.57-2.076.4-.252.817-.457 1.221-.527.427-.074.87.002 1.223.346l.102.112c.22.271.296.593.266.918-.032.344-.183.684-.364.993-.363.617-.963 1.296-1.515 1.922-.574.651-1.1 1.251-1.403 1.767-.151.257-.218.449-.23.581-.01.106.012.163.072.22l.054.04c.074.038.214.062.474-.031.356-.128.853-.456 1.465-1.1a.5.5 0 0 1 .725.687c-.666.702-1.291 1.153-1.853 1.354-.535.192-1.08.173-1.485-.163l-.08-.071a1.23 1.23 0 0 1-.369-1.03c.033-.344.183-.684.364-.993.363-.617.964-1.297 1.516-1.923.574-.651 1.1-1.25 1.402-1.766.152-.258.22-.449.232-.581.007-.08-.004-.132-.035-.177l-.038-.045c-.07-.068-.162-.108-.353-.075-.213.037-.5.161-.858.388-.717.451-1.555 1.194-2.44 1.978-.862.764-1.774 1.57-2.584 2.07-.404.249-.826.45-1.237.514-.38.06-.767 0-1.095-.247l-.136-.118c-.402-.394-.502-.887-.399-1.38.097-.46.367-.923.696-1.363.663-.885 1.718-1.865 2.728-2.798 1.033-.954 2.023-1.862 2.642-2.645.31-.393.489-.71.55-.946.04-.152.028-.246-.017-.32l-.057-.069c-.082-.08-.284-.172-.76-.076-.468.094-1.091.352-1.863.803-1.537.898-3.552 2.496-5.893 4.786a.5.5 0 0 1-.699-.715c2.37-2.319 4.45-3.98 6.087-4.935.815-.476 1.55-.794 2.17-.92`,clipRule:`evenodd`})}),rt=B({displayName:`Ellipsis`,path:(0,f.jsx)(`path`,{fill:`var(--color-icon)`,fillRule:`evenodd`,d:`M7.5 12a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0m6 0a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0m4.5 1.5a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3`,clipRule:`evenodd`})}),it=B({displayName:`Expand`,path:(0,f.jsx)(`path`,{fill:`var(--color-icon)`,fillRule:`evenodd`,d:`m17 7.707-3.146 3.147a.5.5 0 0 1-.708-.708L16.293 7H13.5a.5.5 0 0 1 0-1h4a.5.5 0 0 1 .5.5v4a.5.5 0 0 1-1 0zm-6.854 5.44a.5.5 0 0 1 .708.707L7.707 17H10.5a.5.5 0 0 1 0 1h-4a.5.5 0 0 1-.5-.5v-4a.5.5 0 0 1 1 0v2.793z`,clipRule:`evenodd`})}),at=B({displayName:`Eye`,path:(0,f.jsx)(`path`,{fill:`var(--color-icon)`,fillRule:`evenodd`,d:`M6 12c0-.066.054-.358.313-.825a5.9 5.9 0 0 1 1.12-1.414C8.443 8.816 9.956 8 12 8s3.558.816 4.566 1.76c.508.477.88.98 1.121 1.415.258.467.313.76.313.825 0 .066-.055.358-.313.825-.24.435-.613.938-1.12 1.414C15.557 15.184 14.044 16 12 16s-3.558-.816-4.566-1.76a5.9 5.9 0 0 1-1.121-1.415C6.055 12.358 6 12.065 6 12m-1 0c0-1.25 2.333-5 7-5s7 3.75 7 5-2.333 5-7 5-7-3.75-7-5m8 0a1 1 0 1 1-2 0 1 1 0 0 1 2 0m1 0a2 2 0 1 1-4 0 2 2 0 0 1 4 0`,clipRule:`evenodd`})}),ot=B({displayName:`Eyedropper`,path:(0,f.jsx)(`path`,{fill:`var(--color-icon)`,d:`M16.922 3.56a2.501 2.501 0 0 1 3.517 3.517l-.172.19-2.206 2.205a.33.33 0 0 0 0 .466h.001c.548.549.582 1.418.103 2.007l-.104.115a1.5 1.5 0 0 1-2.12 0l-.233-.233-6.94 6.94a2.5 2.5 0 0 1-2.12.705L5.56 20.56a1.5 1.5 0 0 1-2.12-2.121l1.086-1.09a2.5 2.5 0 0 1 .706-2.118l6.94-6.939-.232-.232a1.5 1.5 0 0 1 0-2.122l.114-.103a1.5 1.5 0 0 1 1.893 0l.114.103.052.042c.127.084.3.07.411-.042l2.208-2.207zM5.939 15.939a1.5 1.5 0 0 0-.405 1.37c.044.208.013.435-.137.585l-1.25 1.25v.002a.5.5 0 0 0 .706.706l1.251-1.251c.15-.15.377-.181.584-.137.48.102 1-.032 1.372-.404L15 11.12 12.88 9zm13.621-11.5a1.5 1.5 0 0 0-2.12 0l-2.21 2.206a1.327 1.327 0 0 1-1.877 0 .5.5 0 0 0-.707.707l3.994 3.994.005.005h.001a.5.5 0 0 0 .707-.707l-.004-.003a1.33 1.33 0 0 1 .004-1.877L19.56 6.56a1.5 1.5 0 0 0 0-2.122`})}),st=B({displayName:`FillGradient`,path:(0,f.jsx)(`path`,{fill:`var(--color-icon)`,fillRule:`evenodd`,d:`M8 7h8a1 1 0 0 1 1 1v8a1 1 0 0 1-1 1H8a1 1 0 0 1-1-1V8a1 1 0 0 1 1-1M6 8a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2H8a2 2 0 0 1-2-2zm3.75.875a.875.875 0 1 1-1.75 0 .875.875 0 0 1 1.75 0m3.791.625a.625.625 0 1 0 0-1.25.625.625 0 0 0 0 1.25m-1.458.875a.75.75 0 1 1-1.5 0 .75.75 0 0 1 1.5 0m0 3.12a.75.75 0 1 1-1.5 0 .75.75 0 0 1 1.5 0m1.458 2.245a.625.625 0 1 0 0-1.25.625.625 0 0 0 0 1.25m.625-3.865a.625.625 0 1 1-1.25 0 .625.625 0 0 1 1.25 0M8.875 15.99a.875.875 0 1 0 0-1.75.875.875 0 0 0 0 1.75m.875-4.115a.875.875 0 1 1-1.75 0 .875.875 0 0 1 1.75 0m5.75-1a.5.5 0 1 0 0-1 .5.5 0 0 0 0 1m.5 2.623a.5.5 0 1 1-1 0 .5.5 0 0 1 1 0`,clipRule:`evenodd`})}),ct=B({displayName:`FillPattern`,path:(0,f.jsx)(`path`,{fill:`var(--color-icon)`,fillRule:`evenodd`,d:`M12.5 7H16a1 1 0 0 1 1 1v1h-4.5zm-1 0H8a1 1 0 0 0-1 1v1h4.5zM7 10v4h2v-4h1v4h4v-4h1v4h2v-4zm10 5h-4.5v2H16a1 1 0 0 0 1-1zm-5.5 2v-2H7v1a1 1 0 0 0 1 1zM6 8a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2H8a2 2 0 0 1-2-2z`,clipRule:`evenodd`})}),lt=B({displayName:`FillSolid`,path:(0,f.jsxs)(f.Fragment,{children:[(0,f.jsx)(`path`,{fill:`var(--color-icon-tertiary)`,d:`M9 9h6v6H9z`}),(0,f.jsx)(`path`,{fill:`var(--color-icon)`,fillRule:`evenodd`,d:`M8 7h8a1 1 0 0 1 1 1v8a1 1 0 0 1-1 1H8a1 1 0 0 1-1-1V8a1 1 0 0 1 1-1M6 8a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2H8a2 2 0 0 1-2-2zm3 7V9h6v6zM8 8.5a.5.5 0 0 1 .5-.5h7a.5.5 0 0 1 .5.5v7a.5.5 0 0 1-.5.5h-7a.5.5 0 0 1-.5-.5z`,clipRule:`evenodd`})]})}),ut=B({displayName:`Figma`,path:(0,f.jsx)(`path`,{fill:`var(--color-icon)`,fillRule:`evenodd`,d:`M6.5 7c0 1.043.533 1.963 1.341 2.5A3 3 0 0 0 6.5 12c0 1.043.533 1.963 1.341 2.5A3 3 0 1 0 12.5 17v-2.764A3 3 0 1 0 16.159 9.5 3 3 0 0 0 14.5 4h-5a3 3 0 0 0-3 3m8 2a2 2 0 1 0 0-4h-2v4zm-2 3a2 2 0 1 0 4 0 2 2 0 0 0-4 0m-1 2h-2a2 2 0 1 1 0-4h2zm-2 1h2v2a2 2 0 1 1-2-2m2-6h-2a2 2 0 1 1 0-4h2z`,clipRule:`evenodd`})}),dt=B({displayName:`FixedSize`,path:(0,f.jsx)(`path`,{fill:`var(--color-icon)`,fillRule:`evenodd`,d:`M7 7.5a.5.5 0 0 1 .5-.5h9a.5.5 0 0 1 .5.5v9a.5.5 0 0 1-.5.5h-9a.5.5 0 0 1-.5-.5zM7.5 6A1.5 1.5 0 0 0 6 7.5v9A1.5 1.5 0 0 0 7.5 18h9a1.5 1.5 0 0 0 1.5-1.5v-9A1.5 1.5 0 0 0 16.5 6zm7 4h-5a.5.5 0 1 1 0-1h5a.5.5 0 1 1 0 1m-5 2.5h5a.5.5 0 1 0 0-1h-5a.5.5 0 0 0 0 1m0 1.5a.5.5 0 0 0 0 1h3a.5.5 0 0 0 0-1z`,clipRule:`evenodd`})}),ft=B({displayName:`FlipHorizontal`,path:(0,f.jsx)(`path`,{fill:`var(--color-icon)`,fillRule:`evenodd`,d:`M12.5 6.5a.5.5 0 0 0-1 0v11a.5.5 0 0 0 1 0zM6 9.104a.75.75 0 0 1 1.28-.53L10 11.292a1 1 0 0 1 0 1.414l-2.72 2.72a.75.75 0 0 1-1.28-.53zm1 .603v4.586L9.293 12zm11-.603a.75.75 0 0 0-1.28-.53L14 11.292a1 1 0 0 0 0 1.414l2.72 2.72a.75.75 0 0 0 1.28-.53zm-1 .603v4.586L14.707 12z`,clipRule:`evenodd`})}),pt=B({displayName:`FlipVertical`,path:(0,f.jsx)(`path`,{fill:`var(--color-icon)`,fillRule:`evenodd`,d:`M17.5 12.5a.5.5 0 0 0 0-1h-11a.5.5 0 0 0 0 1zM14.896 18a.75.75 0 0 0 .53-1.28L12.708 14a1 1 0 0 0-1.414 0l-2.72 2.72a.75.75 0 0 0 .53 1.28zm-.603-1H9.707L12 14.707zm.603-11a.75.75 0 0 1 .53 1.28L12.708 10a1 1 0 0 1-1.414 0l-2.72-2.72A.75.75 0 0 1 9.103 6zm-.603 1H9.707L12 9.293z`,clipRule:`evenodd`})}),mt=B({displayName:`Frame`,path:(0,f.jsx)(`path`,{fill:`var(--color-icon)`,fillRule:`evenodd`,d:`M7.5 4a.5.5 0 0 0-.5.5V7H4.5a.5.5 0 0 0 0 1H7v8H4.5a.5.5 0 0 0 0 1H7v2.5a.5.5 0 0 0 1 0V17h8v2.5a.5.5 0 0 0 1 0V17h2.5a.5.5 0 0 0 0-1H17V8h2.5a.5.5 0 0 0 0-1H17V4.5a.5.5 0 0 0-1 0V7H8V4.5a.5.5 0 0 0-.5-.5M16 8H8v8h8z`,clipRule:`evenodd`})}),ht=B({displayName:`Help`,path:(0,f.jsx)(`path`,{fill:`var(--color-icon)`,fillRule:`evenodd`,d:`M11.69 16.572q.357 0 .61.254a.83.83 0 0 1 .26.616q0 .236-.12.435a.9.9 0 0 1-.315.32.84.84 0 0 1-.435.114.85.85 0 0 1-.615-.253.85.85 0 0 1-.254-.616.84.84 0 0 1 .254-.616.85.85 0 0 1 .615-.254m.332-10.884q1.002 0 1.763.416.76.41 1.19 1.13.428.712.428 1.635 0 .61-.193 1.111a2.9 2.9 0 0 1-.58.924 4.8 4.8 0 0 1-.954.797 4.6 4.6 0 0 0-.863.718 2.1 2.1 0 0 0-.459.815q-.138.453-.15 1.117c0 .18-.146.326-.326.326h-.44a.326.326 0 0 1-.327-.326q.006-.954.21-1.551.207-.598.604-1.009a5.5 5.5 0 0 1 1.003-.797q.447-.29.748-.61.308-.325.465-.711a2.2 2.2 0 0 0 .163-.852q0-.651-.307-1.14a2.04 2.04 0 0 0-.822-.755 2.45 2.45 0 0 0-1.153-.272q-.603 0-1.129.266a2.15 2.15 0 0 0-1.138 1.483c-.067.3-.312.545-.619.545-.323 0-.588-.269-.53-.587a3.12 3.12 0 0 1 1.678-2.268 3.7 3.7 0 0 1 1.738-.405`,clipRule:`evenodd`})}),gt=B({displayName:`Image`,path:(0,f.jsx)(`path`,{fill:`var(--color-icon)`,d:`M16 6a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2H8a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2zM8 7a1 1 0 0 0-1 1v8a1 1 0 0 0 1 1h8a1 1 0 0 0 1-1V8a1 1 0 0 0-1-1zm2.225 4.082a.5.5 0 0 1 .629.064l4 4a.5.5 0 1 1-.707.707L10.5 12.208l-1.646 1.646a.5.5 0 1 1-.708-.707l2-2zM14.5 8a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3m0 1a.5.5 0 1 0 0 1 .5.5 0 0 0 0-1`})}),_t=B({displayName:`LayersCollapse`,path:(0,f.jsx)(`path`,{fill:`var(--color-icon)`,fillRule:`evenodd`,d:`M6.5 7a.5.5 0 0 0 0 1h5a.5.5 0 0 0 0-1zm0 3a.5.5 0 0 0 0 1h5a.5.5 0 0 0 0-1zM6 13.5a.5.5 0 0 1 .5-.5h5a.5.5 0 0 1 0 1h-5a.5.5 0 0 1-.5-.5m.5 2.5a.5.5 0 0 0 0 1h5a.5.5 0 0 0 0-1zm6.646.146 2-2a.5.5 0 0 1 .708 0l2 2a.5.5 0 0 1-.708.708L15.5 15.207l-1.646 1.647a.5.5 0 0 1-.708-.708m2.708-6.292a.5.5 0 0 1-.708 0l-2-2a.5.5 0 0 1 .708-.708L15.5 8.793l1.646-1.647a.5.5 0 0 1 .708.708z`,clipRule:`evenodd`})}),vt=B({displayName:`LetterSpacing`,path:(0,f.jsx)(`path`,{fill:`var(--color-icon)`,d:`M6.5 6a.5.5 0 0 1 .5.5v11a.5.5 0 0 1-1 0v-11a.5.5 0 0 1 .5-.5m11 0a.5.5 0 0 1 .5.5v11a.5.5 0 0 1-1 0v-11a.5.5 0 0 1 .5-.5m-5.25 3a.5.5 0 0 1 .472.335l1.75 5a.5.5 0 1 1-.944.33l-.407-1.165H10.88l-.407 1.165a.5.5 0 1 1-.944-.33l1.75-5 .032-.072A.5.5 0 0 1 11.75 9zm-1.02 3.5h1.54L12 10.298z`})}),yt=B({displayName:`LineHeight`,path:(0,f.jsx)(`path`,{fill:`var(--color-icon)`,d:`M17.5 17a.5.5 0 0 1 0 1h-11a.5.5 0 0 1 0-1zm-5.25-9a.5.5 0 0 1 .476.347l2.25 7a.5.5 0 0 1-.952.306L13.494 14h-2.987l-.531 1.653a.5.5 0 0 1-.952-.306l2.25-7 .03-.075A.5.5 0 0 1 11.75 8zm-1.422 5h2.344L12 9.354zM17.5 6a.5.5 0 0 1 0 1h-11a.5.5 0 0 1 0-1z`})}),bt=B({displayName:`Link`,path:(0,f.jsx)(`path`,{fill:`var(--color-icon)`,d:`M12.444 10.37a2.998 2.998 0 0 1 .677 4.75l-2 2a3 3 0 1 1-4.243-4.242l1.27-1.27c.262-.263.746-.069.826.293a.44.44 0 0 1-.111.405l-1.278 1.279a2 2 0 1 0 2.829 2.828l2-2a2 2 0 0 0 0-2.828l-.029-.028c-.093-.089-.187-.184-.224-.307a.88.88 0 0 1 .22-.87.05.05 0 0 1 .063-.01m.434-3.492a3 3 0 1 1 4.243 4.242l-1.27 1.27c-.262.262-.745.068-.826-.294a.44.44 0 0 1 .111-.405l1.278-1.278a2 2 0 1 0-2.829-2.828l-2 2a2 2 0 0 0 0 2.828l.029.026c.093.089.186.183.223.306a.88.88 0 0 1-.218.874.05.05 0 0 1-.062.009 3 3 0 0 1-.679-4.75z`})}),xt=B({displayName:`Minus`,path:(0,f.jsx)(`path`,{fill:`var(--color-icon)`,fillRule:`evenodd`,d:`M6 12a.5.5 0 0 1 .5-.5h11a.5.5 0 0 1 0 1h-11A.5.5 0 0 1 6 12`,clipRule:`evenodd`})}),St=B({displayName:`Move`,path:(0,f.jsx)(`path`,{fill:`var(--color-icon)`,d:`M4.586 4.586a2 2 0 0 1 2.005-.497l.14.05 13 5.107a2 2 0 0 1 1.267 1.779v.159a2 2 0 0 1-1.26 1.782l-.15.053-5.024 1.545-1.545 5.024a2 2 0 0 1-1.677 1.398l-.158.012a2 2 0 0 1-1.938-1.267l-5.107-13a2 2 0 0 1 .447-2.145m1.78.484a1 1 0 0 0-1.073.223l-.097.112a1 1 0 0 0-.127.96l5.108 13a1 1 0 0 0 .811.628l.158.006a1 1 0 0 0 .859-.558l.058-.147 1.7-5.53 5.531-1.701a1 1 0 0 0 .687-.76l.018-.157a1 1 0 0 0-.492-.9l-.142-.069z`})}),Ct=B({displayName:`Number`,path:(0,f.jsx)(`path`,{fill:`var(--color-icon)`,d:`M16 6a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2H8a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2zM8 7a1 1 0 0 0-1 1v8a1 1 0 0 0 1 1h8a1 1 0 0 0 1-1V8a1 1 0 0 0-1-1zm3.05 2.002a.5.5 0 0 1 .448.547l-.045.452h1.495l.055-.55a.5.5 0 0 1 .995.098l-.045.452h.547a.5.5 0 1 1 0 1h-.648l-.199 2h.847a.5.5 0 1 1 0 1h-.948l-.054.548a.501.501 0 0 1-.995-.098l.044-.45h-1.495l-.054.548a.501.501 0 0 1-.995-.098l.044-.45H9.5a.5.5 0 0 1 0-1h.647l.2-2H9.5a.5.5 0 0 1 0-1h.948l.055-.55a.5.5 0 0 1 .546-.449m.302 1.999-.199 2h1.494l.2-2z`})}),wt=B({displayName:`Opacity`,path:(0,f.jsx)(`path`,{fill:`var(--color-icon)`,fillRule:`evenodd`,d:`M8 7h8a1 1 0 0 1 1 1v8a1 1 0 0 1-1 1H8a1 1 0 0 1-1-1V8a1 1 0 0 1 1-1M6 8a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2H8a2 2 0 0 1-2-2zm9 1.5a.5.5 0 1 0 0-1 .5.5 0 0 0 0 1M13.5 11a.5.5 0 1 1-1 0 .5.5 0 0 1 1 0m-2 2a.5.5 0 1 1-1 0 .5.5 0 0 1 1 0m-2 2a.5.5 0 1 1-1 0 .5.5 0 0 1 1 0m1.5.5a.5.5 0 1 0 0-1 .5.5 0 0 0 0 1m2-2a.5.5 0 1 0 0-1 .5.5 0 0 0 0 1m.5 1.5a.5.5 0 1 1-1 0 .5.5 0 0 1 1 0m2-4a.5.5 0 1 1-1 0 .5.5 0 0 1 1 0m-.5 2.5a.5.5 0 1 0 0-1 .5.5 0 0 0 0 1m.5 1.5a.5.5 0 1 1-1 0 .5.5 0 0 1 1 0`,clipRule:`evenodd`})}),Tt=B({displayName:`Palette`,path:(0,f.jsx)(`path`,{fill:`var(--color-icon)`,d:`M7.312 6.803a7 7 0 0 1 9.639.248l.28.298a7 7 0 0 1 1.76 4.998l-.029.38C18.807 14.222 17.446 15 16.242 15H13.5l-.101.01a.5.5 0 0 0-.4.49v.5c0 .82-.338 1.603-.92 2.127-.6.542-1.468.8-2.37.488a7 7 0 0 1-2.362-1.385l-.297-.28a7 7 0 0 1 0-9.9zm8.93.955a6 6 0 0 0-8.485 0l-.212.225a6 6 0 0 0 2.492 9.689c.978.337 1.848-.457 1.953-1.467L12 16v-.499a1.5 1.5 0 0 1 1.5-1.5h2.743l.158-.006c.733-.057 1.391-.513 1.543-1.216l.024-.155a6 6 0 0 0-1.484-4.611zM8.5 12.001a1 1 0 1 1 0 2 1 1 0 0 1 0-2m7-2a1 1 0 1 1-.001 2 1 1 0 0 1 0-2m-6-1.5a1 1 0 1 1 0 2.001 1 1 0 0 1 0-2m3.5-1a1 1 0 1 1 0 2 1 1 0 0 1 0-2`})}),Et=B({displayName:`PanelLeftClose`,path:(0,f.jsx)(`path`,{fill:`var(--color-icon)`,d:`M17.653 7.008A1.5 1.5 0 0 1 19 8.5v7a1.5 1.5 0 0 1-1.347 1.492L17.5 17h-11a1.5 1.5 0 0 1-1.492-1.347L5 15.5v-7A1.5 1.5 0 0 1 6.5 7h11zM6.5 8a.5.5 0 0 0-.5.5v7a.5.5 0 0 0 .5.5H9V8zm3.5 8h7.5a.5.5 0 0 0 .5-.5v-7a.5.5 0 0 0-.5-.5H10z`})}),Dt=B({displayName:`Pen`,path:(0,f.jsx)(`path`,{fill:`var(--color-icon)`,d:`M4.886 3.21a1 1 0 0 1 .812-.19l7.698 1.56.338.076a7.67 7.67 0 0 1 5.806 7.266v.346l-.008.329 1.197 1.197a1 1 0 0 1 0 1.414l-5.523 5.522a1 1 0 0 1-1.413 0l-1.198-1.197-.328.008a7.67 7.67 0 0 1-7.612-5.806l-.077-.338L3.02 5.7a1 1 0 0 1 .274-.906l1.5-1.5zm.674 9.99a6.666 6.666 0 0 0 6.383 5.342h.3l.756-.018 1.5 1.5 5.523-5.522-1.5-1.5.018-.756a6.67 6.67 0 0 0-5.048-6.619l-.295-.066L5.5 4l-.396.397 5.16 5.16A3 3 0 0 1 12 9.001 3.001 3.001 0 0 1 12 15a3 3 0 0 1-2.444-4.737l-5.16-5.16L4 5.5zM12 10.001a2 2 0 0 0-2 2l.01.204a2 2 0 0 0 1.786 1.785L12 14a2 2 0 0 0 1.989-1.795l.01-.204a2 2 0 0 0-1.795-1.99z`})}),Ot=B({displayName:`Play`,path:(0,f.jsx)(`path`,{fill:`var(--color-icon)`,fillRule:`evenodd`,d:`M6 5.903C6 4.43 7.604 3.517 8.87 4.269l10.15 6.028c1.307.776 1.305 2.669-.003 3.442l-10.15 5.995c-1.228.724-2.768-.11-2.863-1.5L6 18.098zm1 12.195a.9.9 0 0 0 1.357.774l10.152-5.995a1 1 0 0 0 .002-1.72L8.359 5.129A.9.9 0 0 0 7 5.903z`,clipRule:`evenodd`})}),kt=B({displayName:`Plus`,path:(0,f.jsx)(`path`,{stroke:`var(--color-icon)`,d:`M12 6.5V17.5M6.5 12H17.5`,strokeLinecap:`round`,strokeLinejoin:`round`})}),At=B({displayName:`Rectangle`,path:(0,f.jsx)(`path`,{fill:`var(--color-icon)`,fillRule:`evenodd`,d:`M18 5H6a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1V6a1 1 0 0 0-1-1M6 4a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V6a2 2 0 0 0-2-2z`,clipRule:`evenodd`})}),jt=B({displayName:`RotateClockwise`,path:(0,f.jsx)(`path`,{fill:`var(--color-icon)`,d:`M11.054 9.543a1.5 1.5 0 0 1 2.007.103l3.293 3.293a1.5 1.5 0 0 1 0 2.121l-3.293 3.293a1.5 1.5 0 0 1-2.121 0L7.647 15.06a1.5 1.5 0 0 1 0-2.121l3.293-3.293zm1.3.81a.5.5 0 0 0-.707 0l-3.293 3.293a.5.5 0 0 0 0 .707l3.293 3.293a.5.5 0 0 0 .629.064l.078-.064 3.293-3.293a.5.5 0 0 0 .064-.629l-.064-.078zM9.526 5.767a3.5 3.5 0 0 1 4.949 0L16 7.292V6a.5.5 0 0 1 1 0v2.5a.5.5 0 0 1-.5.5H14a.5.5 0 0 1 0-1h1.293l-1.525-1.526a2.5 2.5 0 0 0-3.535 0l-2.38 2.379a.5.5 0 0 1-.706-.707z`})}),Mt=B({displayName:`Rotation`,path:(0,f.jsx)(`path`,{fill:`var(--color-icon)`,fillRule:`evenodd`,d:`M9 8.5a.5.5 0 0 0-1 0v7a.5.5 0 0 0 .5.5h7a.5.5 0 0 0 0-1H13a4 4 0 0 0-4-4zM9 12v3h3a3 3 0 0 0-3-3`,clipRule:`evenodd`})}),Nt=B({displayName:`Ruler`,path:(0,f.jsx)(`path`,{fill:`var(--color-icon)`,fillRule:`evenodd`,d:`M3.293 7.793a1 1 0 0 0 0 1.414l11.5 11.5a1 1 0 0 0 1.414 0l4.5-4.5a1 1 0 0 0 0-1.414l-11.5-11.5a1 1 0 0 0-1.414 0zM4 8.5l.707.707.69.69.75-.75a.5.5 0 1 1 .707.707l-.75.75 1.292 1.292 2.25-2.25a.5.5 0 0 1 .708.708l-2.25 2.25 1.292 1.292.75-.75a.5.5 0 0 1 .708.708l-.75.75 1.292 1.292 2.25-2.25a.5.5 0 0 1 .708.708l-2.25 2.25 2.689 2.689.707.707.707-.707 3.086-3.086L20 15.5l-.707-.707L9.207 4.707 8.5 4l-.707.707-3.086 3.086zM16 17a1 1 0 1 0 0-2 1 1 0 0 0 0 2`,clipRule:`evenodd`})}),Pt=B({displayName:`Search`,path:(0,f.jsx)(`path`,{fill:`var(--color-icon)`,d:`M11.5 6a5.5 5.5 0 0 1 4.226 9.019l2.127 2.127a.5.5 0 1 1-.707.707l-2.127-2.127A5.5 5.5 0 1 1 11.5 6m0 1a4.5 4.5 0 1 0 0 9 4.5 4.5 0 0 0 0-9`})}),Ft=B({displayName:`SelectMatching`,path:(0,f.jsx)(`path`,{fill:`var(--color-icon)`,d:`M6.5 16a.5.5 0 0 1 .49.4l.02.2c.04.196.194.35.39.39l.2.02a.5.5 0 0 1-.1.99A1.5 1.5 0 0 1 6 16.5a.5.5 0 0 1 .5-.5m4 0a.5.5 0 0 1 .5.5A1.5 1.5 0 0 1 9.5 18a.5.5 0 0 1-.1-.99l.2-.02a.5.5 0 0 0 .39-.39l.02-.2a.5.5 0 0 1 .49-.4m3 0a.5.5 0 0 1 .49.4l.02.2c.04.196.194.35.39.39l.2.02a.5.5 0 0 1-.1.99 1.5 1.5 0 0 1-1.5-1.5.5.5 0 0 1 .5-.5m4 0a.5.5 0 0 1 .5.5 1.5 1.5 0 0 1-1.5 1.5.5.5 0 0 1-.1-.99l.2-.02a.5.5 0 0 0 .39-.39l.02-.2a.5.5 0 0 1 .49-.4m-10-3a.5.5 0 0 1 .1.99l-.2.02a.5.5 0 0 0-.39.39l-.02.2a.5.5 0 0 1-.99-.1A1.5 1.5 0 0 1 7.5 13m2 0a1.5 1.5 0 0 1 1.5 1.5.5.5 0 0 1-.99.1l-.02-.2a.5.5 0 0 0-.39-.39l-.2-.02a.5.5 0 0 1 .1-.99m5 0a.5.5 0 0 1 .1.99l-.2.02a.5.5 0 0 0-.39.39l-.02.2a.5.5 0 0 1-.99-.1 1.5 1.5 0 0 1 1.5-1.5m2 0a1.5 1.5 0 0 1 1.5 1.5.5.5 0 0 1-.99.1l-.02-.2a.5.5 0 0 0-.39-.39l-.2-.02a.5.5 0 0 1 .1-.99m-7-7A1.5 1.5 0 0 1 11 7.5v2A1.5 1.5 0 0 1 9.5 11h-2A1.5 1.5 0 0 1 6 9.5v-2A1.5 1.5 0 0 1 7.5 6zm4 3a.5.5 0 0 1 .49.4l.02.2c.04.196.194.35.39.39l.2.02a.5.5 0 0 1-.1.99A1.5 1.5 0 0 1 13 9.5a.5.5 0 0 1 .5-.5m4 0a.5.5 0 0 1 .5.5 1.5 1.5 0 0 1-1.5 1.5.5.5 0 0 1-.1-.99l.2-.02a.5.5 0 0 0 .39-.39l.02-.2a.5.5 0 0 1 .49-.4m-10-2a.5.5 0 0 0-.5.5v2a.5.5 0 0 0 .5.5h2a.5.5 0 0 0 .5-.5v-2a.5.5 0 0 0-.5-.5zm7-1a.5.5 0 0 1 .1.99l-.2.02a.5.5 0 0 0-.39.39l-.02.2a.5.5 0 0 1-.99-.1A1.5 1.5 0 0 1 14.5 6m2 0A1.5 1.5 0 0 1 18 7.5a.5.5 0 0 1-.99.1l-.02-.2a.5.5 0 0 0-.39-.39l-.2-.02a.5.5 0 0 1 .1-.99`})}),It=B({displayName:`ShadowBottomLeft`,path:(0,f.jsxs)(f.Fragment,{children:[(0,f.jsx)(`path`,{fill:`var(--color-icon)`,d:`M16.204 6.01A2 2 0 0 1 18 8v8l-.01.204a2 2 0 0 1-1.786 1.785L16 18H8l-.204-.01a2 2 0 0 1-1.785-1.786L6 16V8a2 2 0 0 1 1.796-1.99L8 6h8zM8 7a1 1 0 0 0-1 1v8a1 1 0 0 0 1 1h8a1 1 0 0 0 1-1V8a1 1 0 0 0-1-1z`}),(0,f.jsx)(`path`,{fill:`var(--color-icon-tertiary)`,d:`M6 8v8a2 2 0 0 0 2 2h8a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2v-8a2 2 0 0 1 1.796-1.99z`})]})}),Lt=B({displayName:`ShadowBottomRight`,path:(0,f.jsxs)(f.Fragment,{children:[(0,f.jsx)(`path`,{fill:`var(--color-icon)`,d:`M16.204 6.01A2 2 0 0 1 18 8v8l-.01.204a2 2 0 0 1-1.786 1.785L16 18H8l-.204-.01a2 2 0 0 1-1.785-1.786L6 16V8a2 2 0 0 1 1.796-1.99L8 6h8zM8 7a1 1 0 0 0-1 1v8a1 1 0 0 0 1 1h8a1 1 0 0 0 1-1V8a1 1 0 0 0-1-1z`}),(0,f.jsx)(`path`,{fill:`var(--color-icon-tertiary)`,d:`M18.204 8.01A2 2 0 0 1 20 10v8a2 2 0 0 1-2 2h-8a2 2 0 0 1-1.99-1.796L8 18h8a2 2 0 0 0 2-2V8z`})]})}),Rt=B({displayName:`ShadowDown`,path:(0,f.jsxs)(f.Fragment,{children:[(0,f.jsx)(`path`,{fill:`var(--color-icon)`,d:`M16.204 6.01A2 2 0 0 1 18 8v8l-.01.204a2 2 0 0 1-1.786 1.785L16 18H8l-.204-.01a2 2 0 0 1-1.785-1.786L6 16V8a2 2 0 0 1 1.796-1.99L8 6h8zM8 7a1 1 0 0 0-1 1v8a1 1 0 0 0 1 1h8a1 1 0 0 0 1-1V8a1 1 0 0 0-1-1z`}),(0,f.jsx)(`path`,{fill:`var(--color-icon-tertiary)`,d:`M18 19a2 2 0 0 1-2 2H8a2 2 0 0 1-2-2v-3a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2z`})]})}),zt=B({displayName:`ShadowLeft`,path:(0,f.jsxs)(f.Fragment,{children:[(0,f.jsx)(`path`,{fill:`var(--color-icon)`,d:`M16.204 6.01A2 2 0 0 1 18 8v8l-.01.204a2 2 0 0 1-1.786 1.785L16 18H8l-.204-.01a2 2 0 0 1-1.785-1.786L6 16V8a2 2 0 0 1 1.796-1.99L8 6h8zM8 7a1 1 0 0 0-1 1v8a1 1 0 0 0 1 1h8a1 1 0 0 0 1-1V8a1 1 0 0 0-1-1z`}),(0,f.jsx)(`path`,{fill:`var(--color-icon-tertiary)`,d:`M8 6a2 2 0 0 0-2 2v8a2 2 0 0 0 2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2z`})]})}),Bt=B({displayName:`ShadowRight`,path:(0,f.jsxs)(f.Fragment,{children:[(0,f.jsx)(`path`,{fill:`var(--color-icon)`,d:`M16.204 6.01A2 2 0 0 1 18 8v8l-.01.204a2 2 0 0 1-1.786 1.785L16 18H8l-.204-.01a2 2 0 0 1-1.785-1.786L6 16V8a2 2 0 0 1 1.796-1.99L8 6h8zM8 7a1 1 0 0 0-1 1v8a1 1 0 0 0 1 1h8a1 1 0 0 0 1-1V8a1 1 0 0 0-1-1z`}),(0,f.jsx)(`path`,{fill:`var(--color-icon-tertiary)`,d:`M19 6a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2h-3a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2z`})]})}),Vt=B({displayName:`ShadowTopLeft`,path:(0,f.jsxs)(f.Fragment,{children:[(0,f.jsx)(`path`,{fill:`var(--color-icon)`,d:`M16.204 6.01A2 2 0 0 1 18 8v8l-.01.204a2 2 0 0 1-1.786 1.785L16 18H8l-.204-.01a2 2 0 0 1-1.785-1.786L6 16V8a2 2 0 0 1 1.796-1.99L8 6h8zM8 7a1 1 0 0 0-1 1v8a1 1 0 0 0 1 1h8a1 1 0 0 0 1-1V8a1 1 0 0 0-1-1z`}),(0,f.jsx)(`path`,{fill:`var(--color-icon-tertiary)`,d:`M14 4a2 2 0 0 1 2 2H8a2 2 0 0 0-2 2v8l-.204-.01A2 2 0 0 1 4 14V6a2 2 0 0 1 2-2z`})]})}),Ht=B({displayName:`ShadowTopRight`,path:(0,f.jsxs)(f.Fragment,{children:[(0,f.jsx)(`path`,{fill:`var(--color-icon)`,d:`M16.204 6.01A2 2 0 0 1 18 8v8l-.01.204a2 2 0 0 1-1.786 1.785L16 18H8l-.204-.01a2 2 0 0 1-1.785-1.786L6 16V8a2 2 0 0 1 1.796-1.99L8 6h8zM8 7a1 1 0 0 0-1 1v8a1 1 0 0 0 1 1h8a1 1 0 0 0 1-1V8a1 1 0 0 0-1-1z`}),(0,f.jsx)(`path`,{fill:`var(--color-icon-tertiary)`,d:`M18 4a2 2 0 0 1 2 2v8a2 2 0 0 1-1.796 1.99L18 16V8a2 2 0 0 0-2-2H8a2 2 0 0 1 2-2z`})]})}),Ut=B({displayName:`ShadowUp`,path:(0,f.jsxs)(f.Fragment,{children:[(0,f.jsx)(`path`,{fill:`var(--color-icon)`,d:`M16.204 6.01A2 2 0 0 1 18 8v8l-.01.204a2 2 0 0 1-1.786 1.785L16 18H8l-.204-.01a2 2 0 0 1-1.785-1.786L6 16V8a2 2 0 0 1 1.796-1.99L8 6h8zM8 7a1 1 0 0 0-1 1v8a1 1 0 0 0 1 1h8a1 1 0 0 0 1-1V8a1 1 0 0 0-1-1z`}),(0,f.jsx)(`path`,{fill:`var(--color-icon-tertiary)`,d:`M16 3a2 2 0 0 1 2 2v3a2 2 0 0 0-2-2H8a2 2 0 0 0-2 2V5a2 2 0 0 1 2-2z`})]})}),Wt=B({displayName:`Sliders`,path:(0,f.jsx)(`path`,{fill:`var(--color-icon)`,d:`M8.5 18a.5.5 0 0 0 .5-.5v-1.55a2.5 2.5 0 0 0 0-4.9V6.5a.5.5 0 0 0-1 0v4.55a2.501 2.501 0 0 0 0 4.9v1.55a.5.5 0 0 0 .5.5m7 0a.5.5 0 0 0 .5-.5v-4.55a2.501 2.501 0 0 0 0-4.9V6.5a.5.5 0 0 0-1 0v1.55a2.5 2.5 0 0 0 0 4.9v4.55a.5.5 0 0 0 .5.5m0-6a1.5 1.5 0 1 1 0-3 1.5 1.5 0 0 1 0 3m-7 3a1.5 1.5 0 1 1 0-3 1.5 1.5 0 0 1 0 3`})}),Gt=B({displayName:`String`,path:(0,f.jsx)(`path`,{fill:`var(--color-icon)`,fillRule:`evenodd`,d:`M8 7h8a1 1 0 0 1 1 1v8a1 1 0 0 1-1 1H8a1 1 0 0 1-1-1V8a1 1 0 0 1 1-1M6 8a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2H8a2 2 0 0 1-2-2zm3.5 1a.5.5 0 0 0-.5.5v1a.5.5 0 0 0 1 0V10h1.5v4H11a.5.5 0 0 0 0 1h2a.5.5 0 0 0 0-1h-.5v-4H14v.5a.5.5 0 0 0 1 0v-1a.5.5 0 0 0-.5-.5z`,clipRule:`evenodd`})}),Kt=B({displayName:`Text`,path:(0,f.jsx)(`path`,{fill:`var(--color-icon)`,d:`M19.5 4a.5.5 0 0 1 .5.5v3a.5.5 0 0 1-1 0V5h-6.5v14H15a.5.5 0 0 1 0 1H9a.5.5 0 0 1 0-1h2.5V5H5v2.5a.5.5 0 0 1-1 0v-3a.5.5 0 0 1 .5-.5z`})}),qt=B({displayName:`TextAlignCenter`,path:(0,f.jsx)(`path`,{fill:`var(--color-icon)`,fillRule:`evenodd`,d:`M5 7.5a.5.5 0 0 1 .5-.5h13a.5.5 0 0 1 0 1h-13a.5.5 0 0 1-.5-.5m3 4a.5.5 0 0 1 .5-.5h7a.5.5 0 0 1 0 1h-7a.5.5 0 0 1-.5-.5M7.5 15a.5.5 0 0 0 0 1h9a.5.5 0 0 0 0-1z`,clipRule:`evenodd`})}),Jt=B({displayName:`TextAlignLeft`,path:(0,f.jsx)(`path`,{fill:`var(--color-icon)`,fillRule:`evenodd`,d:`M5 7.5a.5.5 0 0 1 .5-.5h13a.5.5 0 0 1 0 1h-13a.5.5 0 0 1-.5-.5m0 4a.5.5 0 0 1 .5-.5h7a.5.5 0 0 1 0 1h-7a.5.5 0 0 1-.5-.5m.5 3.5a.5.5 0 0 0 0 1h9a.5.5 0 0 0 0-1z`,clipRule:`evenodd`})}),Yt=B({displayName:`TextAlignRight`,path:(0,f.jsx)(`path`,{fill:`var(--color-icon)`,fillRule:`evenodd`,d:`M19 7.5a.5.5 0 0 0-.5-.5h-13a.5.5 0 0 0 0 1h13a.5.5 0 0 0 .5-.5m0 4a.5.5 0 0 0-.5-.5h-7a.5.5 0 0 0 0 1h7a.5.5 0 0 0 .5-.5m-.5 3.5a.5.5 0 0 1 0 1h-9a.5.5 0 0 1 0-1z`,clipRule:`evenodd`})}),Xt=B({displayName:`TextVerticalAlignBottom`,path:(0,f.jsx)(`path`,{fill:`var(--color-icon)`,fillRule:`evenodd`,d:`m14.854 13.854-3 3a.5.5 0 0 1-.708 0l-3-3a.5.5 0 0 1 .708-.708L11 15.293V7.5a.5.5 0 0 1 1 0v7.793l2.146-2.147a.5.5 0 0 1 .708.708M5.5 19a.5.5 0 0 1 0-1h12a.5.5 0 0 1 0 1z`,clipRule:`evenodd`})}),Zt=B({displayName:`TextVerticalAlignMiddle`,path:(0,f.jsx)(`path`,{fill:`var(--color-icon)`,fillRule:`evenodd`,d:`m11.854 9.854 2-2a.5.5 0 0 0-.708-.708L12 8.293V4.5a.5.5 0 0 0-1 0v3.793L9.854 7.146a.5.5 0 1 0-.708.708l2 2a.5.5 0 0 0 .708 0m0 3.292 2 2a.5.5 0 0 1-.708.708L12 14.707V18.5a.5.5 0 0 1-1 0v-3.793l-1.146 1.147a.5.5 0 0 1-.708-.708l2-2a.5.5 0 0 1 .708 0M5.5 11a.5.5 0 0 0 0 1h12a.5.5 0 0 0 0-1z`,clipRule:`evenodd`})}),Qt=B({displayName:`TextVerticalAlignTop`,path:(0,f.jsx)(`path`,{fill:`var(--color-icon)`,fillRule:`evenodd`,d:`M5.5 5a.5.5 0 0 0 0 1h12a.5.5 0 0 0 0-1zm6.354 2.146a.5.5 0 0 0-.708 0l-3 3a.5.5 0 0 0 .708.708L11 8.707V16.5a.5.5 0 0 0 1 0V8.707l2.146 2.147a.5.5 0 0 0 .708-.708z`,clipRule:`evenodd`})}),$t=B({displayName:`VariableMode`,path:(0,f.jsx)(`path`,{fill:`var(--color-icon)`,d:`M9.154 5.004A3 3 0 0 1 12 8v7a3 3 0 0 1-5.996.154L6 15V8a3 3 0 0 1 3-3zm7.953 7.544a.41.41 0 0 1 .512-.07A2.99 2.99 0 0 1 19 15a3 3 0 0 1-3 3h-3.29c-.371 0-.574-.492-.37-.802a.43.43 0 0 1 .356-.198H16a2 2 0 0 0 1.24-3.57c-.269-.211-.374-.64-.133-.882M9 6a2 2 0 0 0-2 2v7a2 2 0 0 0 4 0V8a2 2 0 0 0-2-2m0 8a1 1 0 1 1 0 2 1 1 0 0 1 0-2m4.305-6.918a3 3 0 0 1 2.816.797l.107.112a3 3 0 0 1 0 4.018l-.107.112-2.267 2.268a.5.5 0 0 1-.707-.707l2.267-2.268a2 2 0 0 0-1.68-3.394c-.344.046-.734-.184-.734-.53 0-.19.12-.364.305-.408`})}),en=B({displayName:`Variable`,path:(0,f.jsx)(`path`,{fill:`var(--color-icon)`,d:`M11 5.65a2 2 0 0 1 2 0l4 2.31a2 2 0 0 1 1 1.731v4.62a2 2 0 0 1-1 1.732l-4 2.309a2 2 0 0 1-2 0l-4-2.309a2 2 0 0 1-1-1.732.31.31 0 0 1 .31-.311h.38a.31.31 0 0 1 .31.31l.009.133c.04.305.22.578.491.734l4 2.31c.27.155.597.175.88.058l.12-.059 4-2.31a1 1 0 0 0 .491-.733L17 14.31V9.692a1 1 0 0 0-.5-.866l-4-2.308a1 1 0 0 0-1 0l-4 2.308-.11.074a1 1 0 0 0-.39.792.31.31 0 0 1-.309.309H6.31a.31.31 0 0 1-.31-.31A2 2 0 0 1 7 7.96zm1 4.351a2 2 0 1 1-1.935 2.499H5.5a.5.5 0 0 1 0-1h4.566A2 2 0 0 1 12 10.001m0 1a1 1 0 1 0 0 2 1 1 0 0 0 0-2`})}),tn=B({displayName:`Video`,path:(0,f.jsx)(`path`,{fill:`var(--color-icon)`,fillRule:`evenodd`,d:`M8 7h8a1 1 0 0 1 1 1v8a1 1 0 0 1-1 1H8a1 1 0 0 1-1-1V8a1 1 0 0 1 1-1M6 8a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2H8a2 2 0 0 1-2-2zm4.996 1.132A1 1 0 0 0 9.5 10v4a1 1 0 0 0 1.496.868l3.5-2a1 1 0 0 0 0-1.736zm.504 4.297-1 .571v-4l1 .571 1.492.853L14 12l-1.008.576z`,clipRule:`evenodd`})}),nn=B({displayName:`Styles`,path:(0,f.jsx)(`path`,{fill:`var(--color-icon)`,fillRule:`evenodd`,clipRule:`evenodd`,d:`M8.5 10a1.5 1.5 0 1 1 0-3 1.5 1.5 0 0 1 0 3Zm0 1a2.5 2.5 0 1 1 0-5 2.5 2.5 0 0 1 0 5Zm7-1a1.5 1.5 0 1 1 0-3 1.5 1.5 0 0 1 0 3Zm0 1a2.5 2.5 0 1 1 0-5 2.5 2.5 0 0 1 0 5ZM14 15.5a1.5 1.5 0 1 0 3 0 1.5 1.5 0 0 0-3 0Zm-1 0a2.5 2.5 0 1 0 5 0 2.5 2.5 0 0 0-5 0ZM8.5 17a1.5 1.5 0 1 1 0-3 1.5 1.5 0 0 1 0 3Zm0 1a2.5 2.5 0 1 1 0-5 2.5 2.5 0 0 1 0 5Z`})}),[rn,an]=z(`Checkbox`),on=l.default.forwardRef((e,t)=>{let{className:n,id:r,...i}=e,a=(0,l.useId)();return(0,f.jsx)(rn,{id:r??a,children:(0,f.jsx)(`div`,{ref:t,className:(0,d.cx)(n,`fp-CheckboxRoot`),...i})})}),sn=l.default.forwardRef((e,t)=>{let{className:n,indeterminate:r,...i}=e,{id:a}=an(`Input`);return(0,f.jsxs)(f.Fragment,{children:[(0,f.jsx)(`input`,{ref:L(t,dn(r)),className:(0,d.cx)(n,`fp-CheckboxInput`),id:a,"aria-labelledby":`checkbox-label-${a}`,"aria-describedby":`checkbox-description-${a}`,...i,type:`checkbox`}),(0,f.jsx)(cn,{})]})}),cn=()=>(0,f.jsxs)(`span`,{className:`fp-CheckboxIndicator`,"aria-hidden":`true`,children:[(0,f.jsx)(V,{className:`fp-CheckboxCheckmark`,size:`4`}),(0,f.jsx)(He,{className:`fp-CheckboxIndeterminate`,size:`4`})]}),ln=l.default.forwardRef((e,t)=>{let{className:n,...r}=e,{id:i}=an(`Input`);return(0,f.jsx)(le,{"aria-hidden":`true`,ref:t,className:(0,d.cx)(n,`fp-CheckboxLabel`),htmlFor:i,id:`checkbox-label-${i}`,...r})}),un=l.default.forwardRef((e,t)=>{let{className:n,...r}=e,{id:i}=an(`Description`);return(0,f.jsx)(R,{"aria-hidden":`true`,ref:t,className:(0,d.cx)(n,`fp-CheckboxDescription`),id:`checkbox-description-${i}`,...r})});function dn(e){return(0,l.useCallback)(t=>{t&&(t.indeterminate=!!e)},[e])}on.displayName=`Checkbox.Root`,sn.displayName=`Checkbox.Input`,cn.displayName=`Checkbox.Indicator`,ln.displayName=`Checkbox.Label`,un.displayName=`Checkbox.Description`;var fn=o({Description:()=>un,Input:()=>sn,Label:()=>ln,Root:()=>on}),pn=v.Select.Root,mn=v.Select.Portal,hn=v.Select.Value,gn=v.Select.Label,_n=v.Select.Arrow,vn=l.default.forwardRef((e,t)=>{let{className:n,...r}=e;return(0,f.jsx)(v.Select.Trigger,{ref:t,className:I(n,`fp-SelectTrigger`),...r})}),yn=l.default.forwardRef((e,t)=>{let{className:n,...r}=e;return(0,f.jsx)(v.Select.Icon,{ref:t,className:I(n,`fp-SelectTriggerIcon`),...r})}),bn=l.default.forwardRef((e,t)=>{let{className:n,positionMethod:r=`fixed`,...i}=e;return(0,f.jsx)(v.Select.Positioner,{ref:t,className:I(n,`fp-SelectPositioner`),positionMethod:r,...i})}),xn=l.default.forwardRef((e,t)=>{let{className:n,...r}=e;return(0,f.jsx)(v.Select.Popup,{ref:t,className:I(n,`fp-MenuContent`),...r})}),Sn=l.default.forwardRef((e,t)=>(0,f.jsx)(v.Select.List,{ref:t,...e})),Cn=l.default.forwardRef((e,t)=>{let{className:n,...r}=e;return(0,f.jsx)(v.Select.Item,{ref:t,className:I(n,`fp-MenuItem fp-MenuCheckboxItem`),...r})}),wn=v.Select.ItemText,Tn=l.default.forwardRef((e,t)=>{let{className:n,...r}=e;return(0,f.jsx)(v.Select.ItemIndicator,{ref:t,className:I(n,`fp-MenuItemIndicator`),...r})}),En=l.default.forwardRef((e,t)=>{let{className:n,...r}=e;return(0,f.jsx)(v.Select.Separator,{ref:t,className:I(n,`fp-MenuSeparator`),...r})}),Dn=l.default.forwardRef((e,t)=>{let{className:n,...r}=e;return(0,f.jsx)(v.Select.Group,{ref:t,className:I(n,`fp-MenuGroup`),...r})}),On=l.default.forwardRef((e,t)=>{let{className:n,...r}=e;return(0,f.jsx)(v.Select.GroupLabel,{ref:t,className:I(n,`fp-MenuLabel`),...r})}),kn=l.default.forwardRef((e,t)=>{let{className:n,...r}=e;return(0,f.jsx)(v.Select.ScrollUpArrow,{ref:t,className:I(n,`fp-SelectScrollUpButton`),...r})}),An=l.default.forwardRef((e,t)=>{let{className:n,...r}=e;return(0,f.jsx)(v.Select.ScrollDownArrow,{ref:t,className:I(n,`fp-SelectScrollDownButton`),...r})});vn.displayName=`Select.Trigger`,yn.displayName=`Select.Icon`,bn.displayName=`Select.Positioner`,xn.displayName=`Select.Popup`,Sn.displayName=`Select.List`,Cn.displayName=`Select.Item`,Tn.displayName=`Select.ItemIndicator`,En.displayName=`Select.Separator`,Dn.displayName=`Select.Group`,On.displayName=`Select.GroupLabel`,kn.displayName=`Select.ScrollUpArrow`,An.displayName=`Select.ScrollDownArrow`;var jn=o({Arrow:()=>_n,Group:()=>Dn,GroupLabel:()=>On,Icon:()=>yn,Item:()=>Cn,ItemIndicator:()=>Tn,ItemText:()=>wn,Label:()=>gn,List:()=>Sn,Popup:()=>xn,Portal:()=>mn,Positioner:()=>bn,Root:()=>pn,ScrollDownArrow:()=>An,ScrollUpArrow:()=>kn,Separator:()=>En,Trigger:()=>vn,Value:()=>hn}),Mn=y.Combobox.Root,Nn=y.Combobox.Label,Pn=y.Combobox.Value,Fn=y.Combobox.Portal,In=y.Combobox.Arrow,Ln=y.Combobox.Backdrop,Rn=l.default.forwardRef((e,t)=>{let{className:n,...r}=e;return(0,f.jsx)(y.Combobox.Trigger,{ref:t,className:I(n,`fp-SelectTrigger fp-ComboboxTrigger`),...r})}),zn=l.default.forwardRef((e,t)=>{let{className:n,...r}=e;return(0,f.jsx)(y.Combobox.Icon,{ref:t,className:I(n,`fp-SelectTriggerIcon fp-ComboboxTriggerIcon`),...r})}),Bn=l.default.forwardRef((e,t)=>{let{className:n,positionMethod:r=`fixed`,sideOffset:i=4,...a}=e;return(0,f.jsx)(y.Combobox.Positioner,{ref:t,className:I(n,`fp-ComboboxPositioner`),positionMethod:r,sideOffset:i,...a})}),Vn=l.default.forwardRef((e,t)=>{let{className:n,...r}=e;return(0,f.jsx)(y.Combobox.Popup,{ref:t,className:I(n,`fp-ComboboxPopup`),...r})}),Hn=l.default.forwardRef((e,t)=>{let{className:n,...r}=e;return(0,f.jsx)(y.Combobox.InputGroup,{ref:t,className:I(n,`fp-ComboboxInputGroup`),...r})}),Un=l.default.forwardRef((e,t)=>{let{className:n,...r}=e;return(0,f.jsx)(y.Combobox.Input,{ref:t,className:I(n,`fp-Input fp-ComboboxInput`),...r})}),Wn=l.default.forwardRef((e,t)=>{let{placeholder:n=` `,...r}=e,i=l.default.useRef(null),a=L(t,i);function o(){tr(i.current),i.current?.focus()}return(0,f.jsxs)(l.default.Fragment,{children:[(0,f.jsx)(Pt,{}),(0,f.jsx)(Un,{ref:a,placeholder:n,...r}),(0,f.jsx)(`button`,{type:`button`,"aria-label":`Clear search`,className:`fp-IconButton fp-size-small fp-ComboboxSearchClear`,onMouseDown:e=>e.preventDefault(),onClick:o,children:(0,f.jsx)(qe,{})})]})}),Gn=l.default.forwardRef((e,t)=>{let{className:n,...r}=e;return(0,f.jsx)(y.Combobox.List,{ref:t,className:I(n,`fp-ComboboxList`),...r})}),Kn=l.default.forwardRef((e,t)=>{let{className:n,...r}=e;return(0,f.jsx)(y.Combobox.Item,{ref:t,className:I(n,`fp-MenuItem fp-MenuCheckboxItem fp-ComboboxItem`),...r})}),qn=l.default.forwardRef((e,t)=>{let{className:n,...r}=e;return(0,f.jsx)(y.Combobox.ItemIndicator,{ref:t,className:I(n,`fp-MenuItemIndicator fp-ComboboxItemIndicator`),...r})}),Jn=l.default.forwardRef((e,t)=>{let{className:n,...r}=e;return(0,f.jsx)(y.Combobox.Empty,{ref:t,className:I(n,`fp-ComboboxMessage`),...r})}),Yn=l.default.forwardRef((e,t)=>{let{className:n,...r}=e;return(0,f.jsx)(y.Combobox.Status,{ref:t,className:I(n,`fp-ComboboxMessage`),...r})}),Xn=l.default.forwardRef((e,t)=>{let{className:n,...r}=e;return(0,f.jsx)(y.Combobox.Group,{ref:t,className:I(n,`fp-MenuGroup`),...r})}),Zn=l.default.forwardRef((e,t)=>{let{className:n,...r}=e;return(0,f.jsx)(y.Combobox.GroupLabel,{ref:t,className:I(n,`fp-MenuLabel`),...r})}),Qn=y.Combobox.Collection,$n=l.default.forwardRef((e,t)=>{let{className:n,...r}=e;return(0,f.jsx)(b.Separator,{ref:t,className:I(n,`fp-MenuSeparator`),...r})}),er=l.default.forwardRef((e,t)=>{let{className:n,...r}=e;return(0,f.jsx)(y.Combobox.Clear,{ref:t,className:I(n,`fp-IconButton fp-size-small fp-ComboboxClear`),...r})});Rn.displayName=`Combobox.Trigger`,zn.displayName=`Combobox.Icon`,Bn.displayName=`Combobox.Positioner`,Vn.displayName=`Combobox.Popup`,Hn.displayName=`Combobox.InputGroup`,Un.displayName=`Combobox.Input`,Wn.displayName=`Combobox.SearchInput`,Gn.displayName=`Combobox.List`,Kn.displayName=`Combobox.Item`,qn.displayName=`Combobox.ItemIndicator`,Jn.displayName=`Combobox.Empty`,Yn.displayName=`Combobox.Status`,Xn.displayName=`Combobox.Group`,Zn.displayName=`Combobox.GroupLabel`,$n.displayName=`Combobox.Separator`,er.displayName=`Combobox.Clear`;function tr(e){if(e===null)return;let t=Object.getOwnPropertyDescriptor(HTMLInputElement.prototype,`value`)?.set;t===void 0?e.value=``:t.call(e,``),e.dispatchEvent(new Event(`input`,{bubbles:!0,cancelable:!0}))}var nr=o({Arrow:()=>In,Backdrop:()=>Ln,Clear:()=>er,Collection:()=>Qn,Empty:()=>Jn,Group:()=>Xn,GroupLabel:()=>Zn,Icon:()=>zn,Input:()=>Un,InputGroup:()=>Hn,Item:()=>Kn,ItemIndicator:()=>qn,Label:()=>Nn,List:()=>Gn,Popup:()=>Vn,Portal:()=>Fn,Positioner:()=>Bn,Root:()=>Mn,SearchInput:()=>Wn,Separator:()=>$n,Status:()=>Yn,Trigger:()=>Rn,Value:()=>Pn}),rr=x.Menu.Root,ir=x.Menu.Trigger,ar=x.Menu.Portal,or=x.Menu.Positioner,sr=x.Menu.SubmenuRoot,cr=x.Menu.RadioGroup,lr=l.default.forwardRef((e,t)=>{let{className:n,...r}=e;return(0,f.jsx)(x.Menu.Popup,{ref:t,className:I(n,`fp-MenuContent`),...r})}),ur=l.default.forwardRef((e,t)=>{let{className:n,...r}=e;return(0,f.jsx)(x.Menu.Item,{ref:t,className:I(n,`fp-MenuItem`),...r})}),dr=l.default.forwardRef((e,t)=>{let{className:n,...r}=e;return(0,f.jsx)(x.Menu.Separator,{ref:t,className:I(n,`fp-MenuSeparator`),...r})}),fr=l.default.forwardRef((e,t)=>{let{className:n,...r}=e;return(0,f.jsx)(x.Menu.GroupLabel,{ref:t,className:I(n,`fp-MenuLabel`),...r})}),pr=l.default.forwardRef((e,t)=>{let{className:n,...r}=e;return(0,f.jsx)(x.Menu.Group,{ref:t,className:I(n,`fp-MenuGroup`),...r})}),mr=e=>{let{children:t,...n}=e;return(0,f.jsxs)(`div`,{...n,children:[t,(0,f.jsx)(We,{className:`fp-MenuSubtriggerCaret`})]})},hr=l.default.forwardRef((e,t)=>{let{className:n,render:r=mr,...i}=e;return(0,f.jsx)(x.Menu.SubmenuTrigger,{ref:t,className:I(n,`fp-MenuItem`),render:r,...i})}),gr=l.default.forwardRef((e,t)=>{let{className:n,...r}=e;return(0,f.jsx)(x.Menu.CheckboxItem,{ref:t,className:I(n,`fp-MenuItem fp-MenuCheckboxItem`),...r})}),_r=l.default.forwardRef((e,t)=>{let{className:n,...r}=e;return(0,f.jsx)(x.Menu.CheckboxItemIndicator,{ref:t,className:I(n,`fp-MenuItemIndicator`),...r})}),vr=l.default.forwardRef((e,t)=>{let{className:n,...r}=e;return(0,f.jsx)(x.Menu.RadioItem,{ref:t,className:I(n,`fp-MenuItem fp-MenuRadioItem`),...r})}),yr=l.default.forwardRef((e,t)=>{let{className:n,...r}=e;return(0,f.jsx)(x.Menu.RadioItemIndicator,{ref:t,className:I(n,`fp-MenuItemIndicator`),...r})});lr.displayName=`DropdownMenu.Popup`,ur.displayName=`DropdownMenu.Item`,dr.displayName=`DropdownMenu.Separator`,pr.displayName=`DropdownMenu.Group`,fr.displayName=`DropdownMenu.GroupLabel`,hr.displayName=`DropdownMenu.SubmenuTrigger`,gr.displayName=`DropdownMenu.CheckboxItem`,_r.displayName=`DropdownMenu.CheckboxItemIndicator`,vr.displayName=`DropdownMenu.RadioItem`,yr.displayName=`DropdownMenu.RadioItemIndicator`;var br=o({CheckboxItem:()=>gr,CheckboxItemIndicator:()=>_r,Group:()=>pr,GroupLabel:()=>fr,Item:()=>ur,Popup:()=>lr,Portal:()=>ar,Positioner:()=>or,RadioGroup:()=>cr,RadioItem:()=>vr,RadioItemIndicator:()=>yr,Root:()=>rr,Separator:()=>dr,SubmenuRoot:()=>sr,SubmenuTrigger:()=>hr,Trigger:()=>ir}),xr=S.ContextMenu.Root,Sr=S.ContextMenu.Trigger,Cr=S.ContextMenu.Portal,wr=S.ContextMenu.Positioner,Tr=S.ContextMenu.SubmenuRoot,Er=S.ContextMenu.RadioGroup,Dr=l.default.forwardRef((e,t)=>{let{className:n,...r}=e;return(0,f.jsx)(S.ContextMenu.Popup,{ref:t,className:I(n,`fp-MenuContent`),...r})}),Or=l.default.forwardRef((e,t)=>{let{className:n,...r}=e;return(0,f.jsx)(S.ContextMenu.Item,{ref:t,className:I(n,`fp-MenuItem`),...r})}),kr=l.default.forwardRef((e,t)=>{let{className:n,...r}=e;return(0,f.jsx)(S.ContextMenu.Separator,{ref:t,className:I(n,`fp-MenuSeparator`),...r})}),Ar=l.default.forwardRef((e,t)=>{let{className:n,...r}=e;return(0,f.jsx)(S.ContextMenu.GroupLabel,{ref:t,className:I(n,`fp-MenuLabel`),...r})}),jr=l.default.forwardRef((e,t)=>{let{className:n,...r}=e;return(0,f.jsx)(S.ContextMenu.Group,{ref:t,className:I(n,`fp-MenuGroup`),...r})}),Mr=e=>{let{children:t,...n}=e;return(0,f.jsxs)(`div`,{...n,children:[t,(0,f.jsx)(We,{className:`fp-MenuSubtriggerCaret`})]})},Nr=l.default.forwardRef((e,t)=>{let{className:n,render:r=Mr,...i}=e;return(0,f.jsx)(S.ContextMenu.SubmenuTrigger,{ref:t,className:I(n,`fp-MenuItem`),render:r,...i})}),Pr=l.default.forwardRef((e,t)=>{let{className:n,...r}=e;return(0,f.jsx)(S.ContextMenu.CheckboxItem,{ref:t,className:I(n,`fp-MenuItem fp-MenuCheckboxItem`),...r})}),Fr=l.default.forwardRef((e,t)=>{let{className:n,...r}=e;return(0,f.jsx)(S.ContextMenu.CheckboxItemIndicator,{ref:t,className:I(n,`fp-MenuItemIndicator`),...r})}),Ir=l.default.forwardRef((e,t)=>{let{className:n,...r}=e;return(0,f.jsx)(S.ContextMenu.RadioItem,{ref:t,className:I(n,`fp-MenuItem fp-MenuRadioItem`),...r})}),Lr=l.default.forwardRef((e,t)=>{let{className:n,...r}=e;return(0,f.jsx)(S.ContextMenu.RadioItemIndicator,{ref:t,className:I(n,`fp-MenuItemIndicator`),...r})});Dr.displayName=`ContextMenu.Popup`,Or.displayName=`ContextMenu.Item`,kr.displayName=`ContextMenu.Separator`,jr.displayName=`ContextMenu.Group`,Ar.displayName=`ContextMenu.GroupLabel`,Nr.displayName=`ContextMenu.SubmenuTrigger`,Pr.displayName=`ContextMenu.CheckboxItem`,Fr.displayName=`ContextMenu.CheckboxItemIndicator`,Ir.displayName=`ContextMenu.RadioItem`,Lr.displayName=`ContextMenu.RadioItemIndicator`;var Rr=o({CheckboxItem:()=>Pr,CheckboxItemIndicator:()=>Fr,Group:()=>jr,GroupLabel:()=>Ar,Item:()=>Or,Popup:()=>Dr,Portal:()=>Cr,Positioner:()=>wr,RadioGroup:()=>Er,RadioItem:()=>Ir,RadioItemIndicator:()=>Lr,Root:()=>xr,Separator:()=>kr,SubmenuRoot:()=>Tr,SubmenuTrigger:()=>Nr,Trigger:()=>Sr}),zr=l.default.createContext({}),Br=e=>{let{children:t,disableHoverablePopup:n,...r}=e,i=l.default.useMemo(()=>({disableHoverablePopup:n}),[n]);return(0,f.jsx)(zr.Provider,{value:i,children:(0,f.jsx)(w.Tooltip.Provider,{...r,children:t})})},Vr=l.default.forwardRef((e,t)=>{let{className:n,...r}=e;return(0,f.jsx)(w.Tooltip.Popup,{ref:t,className:I(n,`fp-tooltip`),...r})}),Hr=e=>{let{className:t,...n}=e;return(0,f.jsx)(w.Tooltip.Arrow,{className:I(t,`fp-tooltip-arrow`),render:(0,f.jsx)(`svg`,{xmlns:`http://www.w3.org/2000/svg`,width:`10`,height:`5`,viewBox:`0 0 30 10`,preserveAspectRatio:`none`,children:(0,f.jsx)(`polygon`,{points:`0,0 30,0 15,10`})}),...n})},Ur=l.default.forwardRef((e,t)=>{let{defaultOpen:n,disabled:r,open:i,onOpenChange:a,onOpenChangeComplete:o,delay:s,closeDelay:c,closeOnClick:u,disableHoverablePopup:d,trackCursorAxis:p,container:m,keepMounted:h,side:g,sideOffset:_,align:v,alignOffset:y,anchor:b,arrowPadding:x,collisionAvoidance:S,collisionBoundary:C,collisionPadding:T,disableAnchorTracking:E,positionMethod:D,sticky:O,children:k,content:A,...j}=e,M=l.default.useContext(zr);return(0,f.jsxs)(w.Tooltip.Root,{defaultOpen:n,disabled:r,disableHoverablePopup:d??M.disableHoverablePopup,onOpenChange:a,onOpenChangeComplete:o,open:i,trackCursorAxis:p,children:[(0,f.jsx)(w.Tooltip.Trigger,{closeDelay:c,closeOnClick:u,delay:s,render:k}),(0,f.jsx)(w.Tooltip.Portal,{keepMounted:h,container:m,children:(0,f.jsxs)(w.Tooltip.Positioner,{align:v,alignOffset:y,anchor:b,arrowPadding:x??8,collisionAvoidance:S,collisionBoundary:C,collisionPadding:T,disableAnchorTracking:E,positionMethod:D,side:g,sideOffset:_??7,sticky:O,children:[(0,f.jsx)(Vr,{ref:t,...j,children:A}),(0,f.jsx)(Hr,{})]})})]})});Ur.displayName=`Tooltip`;var Wr=(0,d.cva)(`fp-IconButton`,{variants:{size:{small:`fp-size-small`,medium:`fp-size-medium`},activeAppearance:{subtle:`fp-active-appearance-subtle`,solid:`fp-active-appearance-solid`}},defaultVariants:{size:`small`,activeAppearance:`subtle`}}),Gr=l.default.forwardRef((e,t)=>{let{className:n,size:r,activeAppearance:i,"aria-label":a,tooltipContent:o,disableTooltip:s,...c}=e,l=(0,f.jsx)(`button`,{ref:t,className:Wr({className:n,size:r,activeAppearance:i}),"aria-label":a,...c});return s?l:(0,f.jsx)(Ur,{content:o??a,children:l})});Gr.displayName=`IconButton`;var Kr=l.default.forwardRef((e,t)=>{let{children:n,className:r,...i}=e;return(0,f.jsx)(`header`,{ref:t,className:(0,d.cx)(r,`fp-DialogBaseHeader`),...i,children:n})}),qr=l.default.forwardRef((e,t)=>{let{className:n,size:r,...i}=e;return(0,f.jsx)(`div`,{ref:t,className:Yr({className:n,size:r}),...i})}),Jr=l.default.forwardRef((e,t)=>{let{className:n,...r}=e;return(0,f.jsx)(`div`,{ref:t,className:(0,d.cx)(n,`fp-DialogBaseControls`),...r})}),Yr=(0,d.cva)(`fp-DialogBaseSection`,{variants:{size:{base:`fp-DialogBaseSection-base`,small:`fp-DialogBaseSection-small`}},defaultVariants:{size:`base`}});Kr.displayName=`Dialog.Header`,qr.displayName=`Dialog.Section`,Jr.displayName=`Dialog.Controls`;var Xr=C.Popover.Root,Zr=C.Popover.Trigger,Qr=C.Popover.Portal,$r=l.default.forwardRef((e,t)=>{let{positionMethod:n=`fixed`,...r}=e;return(0,f.jsx)(C.Popover.Positioner,{ref:t,positionMethod:n,...r})}),ei=l.default.forwardRef((e,t)=>{let{className:n,...r}=e;return(0,f.jsx)(C.Popover.Popup,{ref:t,className:I(n,`fp-DialogBaseContent`),...r})}),ti=l.default.forwardRef((e,t)=>{let{className:n,render:r=(0,f.jsx)(R,{weight:`strong`}),...i}=e;return(0,f.jsx)(C.Popover.Title,{ref:t,className:I(n,`fp-DialogBaseTitle`),render:r,...i})}),ni=l.default.forwardRef((e,t)=>{let{render:n=(0,f.jsx)(Gr,{"aria-label":`Close`,disableTooltip:!0,children:(0,f.jsx)(Je,{})}),...r}=e;return(0,f.jsx)(C.Popover.Close,{ref:t,render:n,...r})});ei.displayName=`Popover.Popup`,$r.displayName=`Popover.Positioner`,ti.displayName=`Popover.Title`,ni.displayName=`Popover.Close`;var ri=o({Close:()=>ni,Controls:()=>Jr,Header:()=>Kr,Popup:()=>ei,Portal:()=>Qr,Positioner:()=>$r,Root:()=>Xr,Section:()=>qr,Title:()=>ti,Trigger:()=>Zr}),ii=T.Dialog.Root,ai=T.Dialog.Portal,oi=T.Dialog.Trigger,si=(0,d.cva)([`fp-DialogBaseContent`,`fp-DialogContent`],{variants:{size:{1:`fp-size-1`,2:`fp-size-2`,3:`fp-size-3`,fullscreen:`fp-size-fullscreen`},placement:{center:`fp-placement-center`,top:`fp-placement-top`}},defaultVariants:{size:`2`,placement:`top`}}),ci=l.default.forwardRef((e,t)=>{let{children:n,className:r,size:i,placement:a,...o}=e,s=si({size:i,placement:a});return(0,f.jsx)(T.Dialog.Popup,{ref:t,className:I(r,s),...o,children:n})}),li=l.default.forwardRef((e,t)=>{let{className:n,...r}=e;return(0,f.jsx)(T.Dialog.Backdrop,{ref:t,className:I(n,`fp-DialogBaseOverlay`),...r})}),ui=l.default.forwardRef((e,t)=>{let{className:n,render:r=(0,f.jsx)(R,{weight:`strong`}),...i}=e;return(0,f.jsx)(T.Dialog.Title,{ref:t,className:I(n,`fp-DialogBaseTitle`),render:r,...i})}),di=l.default.forwardRef((e,t)=>{let{render:n=(0,f.jsx)(Gr,{"aria-label":`Close`,disableTooltip:!0,children:(0,f.jsx)(Je,{})}),...r}=e;return(0,f.jsx)(T.Dialog.Close,{ref:t,render:n,...r})});ci.displayName=`Dialog.Popup`,li.displayName=`Dialog.Backdrop`,ui.displayName=`Dialog.Title`,di.displayName=`Dialog.Close`;var fi=o({Backdrop:()=>li,Close:()=>di,Controls:()=>Jr,Header:()=>Kr,Popup:()=>ci,Portal:()=>ai,Root:()=>ii,Section:()=>qr,Title:()=>ui,Trigger:()=>oi}),pi=E.AlertDialog.Root,mi=E.AlertDialog.Portal,hi=E.AlertDialog.Trigger,gi=E.AlertDialog.Close,_i=(0,d.cva)([`fp-DialogBaseContent`,`fp-AlertDialogContent`],{variants:{size:{1:`fp-size-1`,2:`fp-size-2`,3:`fp-size-3`},placement:{center:`fp-placement-center`,top:`fp-placement-top`}},defaultVariants:{size:`2`,placement:`top`}}),vi=l.default.forwardRef((e,t)=>{let{className:n,size:r,placement:i,...a}=e,o=_i({size:r,placement:i});return(0,f.jsx)(E.AlertDialog.Popup,{ref:t,className:I(n,o),...a})}),yi=l.default.forwardRef((e,t)=>{let{className:n,...r}=e;return(0,f.jsx)(E.AlertDialog.Backdrop,{ref:t,className:I(n,`fp-DialogBaseOverlay`),...r})}),bi=l.default.forwardRef((e,t)=>{let{className:n,render:r=(0,f.jsx)(R,{weight:`strong`}),...i}=e;return(0,f.jsx)(E.AlertDialog.Title,{ref:t,className:I(n,`fp-AlertDialogTitle`),render:r,...i})}),xi=l.default.forwardRef((e,t)=>{let{className:n,render:r=(0,f.jsx)(R,{}),...i}=e;return(0,f.jsx)(E.AlertDialog.Description,{ref:t,className:I(n,`fp-AlertDialogDescription`),render:r,...i})}),Si=l.default.forwardRef((e,t)=>{let{className:n,...r}=e;return(0,f.jsx)(`div`,{ref:t,className:(0,d.cx)(n,`fp-AlertDialogActions`),...r})});vi.displayName=`AlertDialog.Popup`,yi.displayName=`AlertDialog.Backdrop`,bi.displayName=`AlertDialog.Title`,xi.displayName=`AlertDialog.Description`,Si.displayName=`AlertDialog.Actions`;var Ci=o({Actions:()=>Si,Backdrop:()=>yi,Close:()=>gi,Description:()=>xi,Popup:()=>vi,Portal:()=>mi,Root:()=>pi,Title:()=>bi,Trigger:()=>hi}),[wi,U]=z(`ValueFieldProvider`,null),W=l.default.forwardRef((e,t)=>{let{className:n,disabled:r,...i}=e,a=Ti(r,U(`Root`));return(0,f.jsx)(wi,{...a,children:(0,f.jsx)(`label`,{ref:t,className:(0,d.cx)(n,`fp-ValueFieldRoot`),"data-disabled":a.disabled?``:void 0,"data-scrubbing":a.scrubbing?``:void 0,...i})})}),G=l.default.forwardRef((e,t)=>{let{className:n,disabled:r,...i}=e,a=Ti(r,U(`Multi`));return(0,f.jsx)(wi,{...a,children:(0,f.jsx)(`div`,{ref:t,className:(0,d.cx)(n,`fp-ValueFieldMulti`),"data-disabled":a.disabled?``:void 0,"data-scrubbing":a.scrubbing?``:void 0,...i})})}),K=l.default.forwardRef((e,t)=>{let{className:n,...r}=e,i=U(`Root`);return(0,f.jsx)(`span`,{ref:t,className:(0,d.cx)(n,`fp-ValueFieldLabel`),"data-disabled":i?.disabled?``:void 0,...r})});W.displayName=`ValueField.Root`,K.displayName=`ValueField.Label`,G.displayName=`ValueField.Multi`;function Ti(e,t){let[n,r]=l.default.useState(!1),i=l.default.useRef([]),a=e||t?.disabled?!0:void 0,o=l.default.useCallback(e=>e?(i.current=[...i.current.filter(t=>t!==e),e],()=>{i.current=i.current.filter(t=>t!==e)}):()=>{},[]);return l.default.useMemo(()=>({disabled:a,scrubbing:n,scrubTargetsRef:i,registerScrubTarget:o,setScrubbing:r}),[a,o,n])}function q(e,t){let[n,r]=e,[i,a]=t;return function(e){return n===r||i===a?i:(e-n)/(r-n)*(a-i)+i}}function Ei(){let[e,t]=(0,l.useState)(!0),n=(0,l.useCallback)(()=>{t(!0)},[]);return{onMouseLeave:(0,l.useCallback)(()=>{t(!1)},[]),onMouseUp:(0,l.useCallback)(n=>{e&&n.currentTarget.selectionStart===n.currentTarget.selectionEnd&&(n.currentTarget.select(),t(!1))},[e]),onFocus:n}}var Di=l.default.forwardRef((e,t)=>{let{type:n=`text`,className:r,selectOnClick:i=!1,...a}=e,o=L((0,l.useRef)(null),t),{onMouseLeave:s,onMouseUp:c,onFocus:u}=Ei(),p=i?(0,k.mergeProps)(a,{onMouseLeave:s,onMouseUp:c,onFocus:u}):a;return(0,f.jsx)(`input`,{ref:o,type:n,className:(0,d.cx)(r,`fp-Input`),...p})});Di.displayName=`Input`;var Oi=e=>{let{className:t,inputRef:n,value:r,onChange:i,smallNudge:a=1,bigNudge:o=10,formatter:s,disabled:c,...u}=e,p=(0,l.useRef)(null),m=L(n,p),h=(0,l.useRef)(r),[g,_]=(0,l.useState)(null),v=g??s.format(r),y=U(`ValueField`),b=c||y?.disabled?!0:void 0,x=y?.registerScrubTarget;l.default.useEffect(()=>{y?.scrubbing||(h.current=r)},[y?.scrubbing,r]);let S=e=>{let t=s.parse(e,r);if(e.length===0||!t.valid||t.value===r)return C();_(null),i(t.value)},C=()=>{_(null)},w=e=>{_(e.currentTarget.value)},T=e=>{let t=e.currentTarget;if(e.key===`Enter`&&(e.preventDefault(),t.blur()),e.key===`Escape`&&(e.preventDefault(),C(),requestAnimationFrame(()=>{t.blur()})),e.key===`ArrowUp`||e.key===`ArrowDown`){if(!s.incrementBy)return;e.preventDefault();let n=s.parse(t.value,r),i=n.valid?n.value:r,c=e.shiftKey?o:a,l=e.key===`ArrowUp`?c:-c,u=s.getIncrementTargets?s.getIncrementTargets(t):null,d=s.incrementBy(i,l,u);S(s.format(d)),requestAnimationFrame(()=>{if(u&&s.getIncrementSelection){let[e,n]=s.getIncrementSelection(u);t.setSelectionRange(e,n)}else t.select()})}},E=e=>{S(e.currentTarget.value)},D=l.default.useCallback(()=>{let e=p.current;if(_(null),!e){h.current=r;return}let t=s.parse(e.value,r);h.current=t.valid?t.value:r,e.focus()},[s,r]),O=l.default.useCallback((e,t)=>{if(!s.incrementBy)return;let n=h.current,r=t.shiftKey?o:a,c=s.incrementBy(n,e*r,null),l=s.parse(s.format(c),n);!l.valid||l.value===n||(h.current=l.value,_(null),i(l.value))},[o,s,i,a]);return l.default.useEffect(()=>{if(!(!x||!s.incrementBy))return x({disabled:!!b,inputRef:p,startScrub:D,scrub:O})},[b,s,O,D,x]),(0,f.jsx)(Di,{ref:m,dir:`auto`,autoComplete:`off`,spellCheck:`false`,selectOnClick:!0,className:(0,d.cx)(t,`fp-ValueFieldBase`),value:v,onChange:w,disabled:b,...(0,k.mergeProps)({onBlur:E,onKeyDown:T},u)})};Oi.displayName=`ValueField.Base`;var ki=15,J=l.default.forwardRef((e,t)=>{let{value:n,onChange:r,min:i,max:a,targetRange:o,precision:s,suffix:c,allowedUnits:u,...d}=e;return(0,f.jsx)(Oi,{inputRef:t,value:n,onChange:r,formatter:(0,l.useMemo)(()=>Ai({min:i,max:a,precision:s,targetRange:o,suffix:c,allowedUnits:u}),[i,a,s,o,c,u]),...d})});function Ai(e={}){let{min:t,max:n,targetRange:r,precision:i=ki,suffix:a,allowedUnits:o=[]}=e,{toDisplayValue:s,fromDisplayValue:c}=ji({min:t,max:n,targetRange:r});return{parse:(e,r)=>{try{return{valid:!0,value:(0,D.pipe)(e,e=>Ni({expression:e,displayValue:s(r),suffix:a,allowedUnits:o}),(0,D.round)(i),c,(0,D.clamp)({min:t,max:n}))}}catch{return{valid:!1}}},format:e=>(0,D.pipe)(e,(0,D.clamp)({min:t,max:n}),s,(0,D.round)(i),e=>Mi(e,a)),incrementBy(e,t){return e+c(t)}}}function ji(e){let{min:t,max:n,targetRange:r}=e;if(!r)return{toDisplayValue:e=>e,fromDisplayValue:e=>e};if(typeof t!=`number`||typeof n!=`number`)throw Error(`'targetRange' requires specifying 'min' and 'max'.`);if(t===n)throw Error(`'min' and 'max' cannot be equal.`);return{toDisplayValue:q([t,n],r),fromDisplayValue:q(r,[t,n])}}function Mi(e,t){return Number.isNaN(e)?``:t?`${e}${t}`:`${e}`}function Ni(e){let{displayValue:t,expression:n,suffix:r=``,allowedUnits:i=[]}=e,a=`(\\d*\\.?\\d+)`,o=`(?:${[...i,r].join(`|`)})*`,s=(0,O.default)(n.replace(RegExp(`${a}${o}`,`gi`),(e,t)=>t).replace(RegExp(`${o}${a}`,`gi`),(e,t)=>t).replace(RegExp(`${a}%`,`gi`),(e,n)=>`(${t}*${n}/100)`).replace(RegExp(`%${a}`,`gi`),(e,n)=>`(${t}*${n}/100)`).replace(RegExp(`${a}x`,`gi`),(e,n)=>`(${t}*${n})`).replace(RegExp(`x${a}`,`gi`),(e,n)=>`(${t}*${n})`).replace(/(?<!\d)x(?!\d)/gi,`${t}`).trim());if(s===null)throw Error(`Invalid expression.`);return s}var Pi=2,Fi=4,Ii=l.default.forwardRef((e,t)=>{let{children:n,className:r,onPointerDown:i,pixelSensitivity:a=Pi,teleportDistance:o,style:s,...c}=e,u=U(`Scrubber`),p=(0,l.useRef)(null),m=(0,l.useRef)(null),[h,g]=(0,l.useState)(null),_=L(t,l.default.useCallback(e=>{p.current=e,g(Ki(e))},[])),[v,y]=(0,l.useState)(!1),[b,x]=(0,l.useState)(!1),[S,C]=(0,l.useState)(!1),w=(0,l.useRef)(!1),T=(0,l.useRef)(!1),E=(0,l.useRef)(null),D=(0,l.useRef)(0),O=(0,l.useRef)({x:0,y:0}),k=u?.scrubTargetsRef,j=u?.disabled,M=u?.setScrubbing,N=v&&!b&&!S&&!qi(),P=l.default.useCallback((e,t)=>{(0,A.flushSync)(()=>{y(e),M?.(e)});let n=m.current;if(!e||!n)return;let r={x:t.clientX-n.offsetWidth/2,y:t.clientY-n.offsetHeight/2};O.current=r,Vi(n,r)},[M]),F=l.default.useCallback((e,t)=>{let n=m.current,r=p.current;if(!n||!r)return;let i=Ui(o,r),a=O.current,s=Hi({x:Math.round(a.x+e),y:Math.round(a.y+t)},i,n);O.current=s,Vi(n,s)},[o]);function I(e){i?.(e);let t=Ri(k?.current,p.current),n=e.button===0;if(e.defaultPrevented||!n||j||!t||t.disabled)return;let r=e.pointerType===`touch`;x(r),C(!1),e.pointerType===`mouse`&&e.preventDefault(),t.startScrub(),w.current=!0,T.current=!1,D.current=0,E.current=e.nativeEvent.target,P(!0,e.nativeEvent),!r&&!qi()&&Li(p.current,C)}(0,l.useEffect)(()=>{if(!v||!k||j)return;let e=k,t=Ri(e.current,p.current);if(!t||t.disabled)return;let n=Gi(p.current);if(!n)return;function r(t){if(w.current&&(t.preventDefault(),F(t.movementX,t.movementY),D.current+=t.movementX,Math.abs(D.current)>=a)){let n=D.current;D.current=0,T.current=!0;let r=Ri(e.current,p.current);n!==0&&r&&!r.disabled&&r.scrub(n,t)}}function i(e){let t=Wi(p.current);typeof t?.exitPointerLock==`function`&&t.exitPointerLock(),w.current=!1,P(!1,e),Bi(E.current,p.current,T.current),T.current=!1,E.current=null,D.current=0}return n.addEventListener(`pointermove`,r,!0),n.addEventListener(`pointerup`,i,!0),()=>{n.removeEventListener(`pointermove`,r,!0),n.removeEventListener(`pointerup`,i,!0)}},[j,v,a,k,P,F]),(0,l.useEffect)(()=>{let e=p.current;if(!e||j)return;function t(e){e.touches.length===1&&e.preventDefault()}return e.addEventListener(`touchstart`,t),()=>{e.removeEventListener(`touchstart`,t)}},[j]);let ee={touchAction:`none`,WebkitUserSelect:`none`,userSelect:`none`,...s};return(0,f.jsxs)(`span`,{ref:_,className:(0,d.cx)(r,`fp-ValueFieldScrubber`),"data-disabled":j?``:void 0,"data-scrubbing":v?``:void 0,role:`presentation`,style:ee,onPointerDown:I,...c,children:[n,N&&h?(0,A.createPortal)((0,f.jsx)(`span`,{ref:m,role:`presentation`,className:`fp-ValueFieldScrubberCursor`,children:(0,f.jsx)(Ji,{})}),h):null]})});function Li(e,t){let n=Wi(e)?.body;if(!n||!n.requestPointerLock){t(!0);return}try{n.requestPointerLock().then(()=>t(!1),()=>t(!0))}catch{t(!0)}}function Ri(e,t){if(!e||e.length===0)return null;if(!t||e.length===1)return e[0]??null;let n=t.closest(`.fp-ValueFieldRoot`),r=n?e.filter(e=>e.inputRef.current?.closest(`.fp-ValueFieldRoot`)===n):e;return zi(r,t)??r[0]??null}function zi(e,t){return e.find(e=>{let n=e.inputRef.current;return n?(t.compareDocumentPosition(n)&Fi)!==0:!1})??null}function Bi(e,t,n){if(n||!e)return;let r=Gi(t);r&&e.dispatchEvent(new r.MouseEvent(`click`,{bubbles:!0,cancelable:!0}))}function Vi(e,t){e.style.transform=`translate3d(${t.x}px,${t.y}px,0)`}function Hi(e,t,n){let r={...e},i=n.offsetWidth/2,a=n.offsetHeight/2;return r.x+i<t.left?r.x=t.right-i:r.x+i>t.right&&(r.x=t.left-i),r.y+a<t.top?r.y=t.bottom-a:r.y+a>t.bottom&&(r.y=t.top-a),r}function Ui(e,t){let n=t.getBoundingClientRect();if(e!==void 0)return{left:n.left-e/2,top:n.top-e/2,right:n.right+e/2,bottom:n.bottom+e/2};let r=Gi(t)?.visualViewport;return r?{left:r.offsetLeft,top:r.offsetTop,right:r.offsetLeft+r.width,bottom:r.offsetTop+r.height}:{left:0,top:0,right:t.ownerDocument.documentElement.clientWidth,bottom:t.ownerDocument.documentElement.clientHeight}}function Wi(e){return e?e.ownerDocument:typeof document>`u`?null:document}function Gi(e){return Wi(e)?.defaultView??null}function Ki(e){return Wi(e)?.body??null}function qi(){return typeof navigator<`u`&&/AppleWebKit/i.test(navigator.userAgent)&&!/(Chrome|Chromium|Edg|OPR|Firefox|HappyDOM)/i.test(navigator.userAgent)}function Ji(){return(0,f.jsx)(`svg`,{className:`fp-ValueFieldScrubberCursorIcon`,width:`26`,height:`14`,viewBox:`0 0 26 14`,"aria-hidden":`true`,children:(0,f.jsx)(`path`,{d:`M20.5 5.5H6.5V2L1 7L6.5 12V8.5H20.5V12L26 7L20.5 2V5.5Z`})})}Ii.displayName=`ValueField.Scrubber`;var Yi=l.default.forwardRef((e,t)=>{let{className:n,style:r,value:i,onChange:a,options:o,onItemHighlighted:s,disabled:c,triggerLabel:u=`Select value`,...p}=e,m=o.includes(i),h=Y(i),g=Xi(i,o,m),_=l.default.useRef(null),y=l.default.useRef(void 0);function b(e){e!==null&&a(Number(e))}function x(e){y.current!==e&&(y.current=e,s?.(e))}function S(e){e||x(void 0)}function C(e){e.target===e.currentTarget&&x(void 0)}return(0,f.jsxs)(v.Select.Root,{items:g,value:h,onValueChange:b,onOpenChange:S,disabled:c,children:[(0,f.jsxs)(G,{ref:_,className:(0,d.cx)(n,`fp-ValueFieldNumericSelect`),style:r,disabled:c,children:[(0,f.jsxs)(W,{className:`fp-ValueFieldNumericSelectField`,disabled:c,children:[(0,f.jsx)(Ii,{}),(0,f.jsx)(J,{ref:t,value:i,onChange:a,disabled:c,...p})]}),(0,f.jsxs)(v.Select.Trigger,{className:`fp-ValueFieldNumericSelectTrigger`,"aria-label":u,children:[(0,f.jsx)(v.Select.Value,{}),(0,f.jsx)(v.Select.Icon,{className:`fp-ValueFieldNumericSelectIcon`,children:(0,f.jsx)(H,{size:`4`})})]})]}),(0,f.jsx)(v.Select.Portal,{children:(0,f.jsx)(v.Select.Positioner,{anchor:_,className:(0,d.cx)(`fp-ValueFieldNumericSelectPositioner`,m&&`fp-ValueFieldNumericSelectPositionerInOptions`),positionMethod:`fixed`,collisionPadding:0,children:(0,f.jsxs)(v.Select.Popup,{className:`fp-MenuContent`,onFocus:C,children:[(0,f.jsx)(v.Select.ScrollUpArrow,{className:`fp-SelectScrollUpButton`,children:(0,f.jsx)(Ge,{size:`4`})}),(0,f.jsxs)(v.Select.List,{children:[!m&&(0,f.jsxs)(f.Fragment,{children:[(0,f.jsxs)(v.Select.Item,{value:h,label:h,className:`fp-MenuItem fp-MenuCheckboxItem fp-ValueFieldNumericSelectCurrentItem`,onFocus:()=>x(i),children:[(0,f.jsx)(v.Select.ItemIndicator,{className:`fp-MenuItemIndicator`,children:(0,f.jsx)(V,{size:`4`})}),(0,f.jsx)(v.Select.ItemText,{children:i})]}),(0,f.jsx)(v.Select.Separator,{className:`fp-MenuSeparator`})]}),o.map(e=>(0,f.jsxs)(v.Select.Item,{value:Y(e),label:Y(e),className:`fp-MenuItem fp-MenuCheckboxItem`,onFocus:()=>x(e),children:[(0,f.jsx)(v.Select.ItemIndicator,{className:`fp-MenuItemIndicator`,children:(0,f.jsx)(V,{size:`4`})}),(0,f.jsx)(v.Select.ItemText,{children:e})]},Y(e)))]}),(0,f.jsx)(v.Select.ScrollDownArrow,{className:`fp-SelectScrollDownButton`,children:(0,f.jsx)(H,{size:`4`})})]})})})]})});function Xi(e,t,n){let r=t.map(e=>{let t=Y(e);return{value:t,label:t}});return n?r:[{value:Y(e),label:Y(e)},...r]}function Y(e){return`${e}`}Yi.displayName=`ValueField.NumericSelect`;var Zi={aliceblue:{r:240,g:248,b:255},antiquewhite:{r:250,g:235,b:215},aqua:{r:0,g:255,b:255},aquamarine:{r:127,g:255,b:212},azure:{r:240,g:255,b:255},beige:{r:245,g:245,b:220},bisque:{r:255,g:228,b:196},black:{r:0,g:0,b:0},blanchedalmond:{r:255,g:235,b:205},blue:{r:0,g:0,b:255},blueviolet:{r:138,g:43,b:226},brown:{r:165,g:42,b:42},burlywood:{r:222,g:184,b:135},cadetblue:{r:95,g:158,b:160},chartreuse:{r:127,g:255,b:0},chocolate:{r:210,g:105,b:30},coral:{r:255,g:127,b:80},cornflowerblue:{r:100,g:149,b:237},cornsilk:{r:255,g:248,b:220},crimson:{r:220,g:20,b:60},cyan:{r:0,g:255,b:255},darkblue:{r:0,g:0,b:139},darkcyan:{r:0,g:139,b:139},darkgoldenrod:{r:184,g:134,b:11},darkgray:{r:169,g:169,b:169},darkgreen:{r:0,g:100,b:0},darkgrey:{r:169,g:169,b:169},darkkhaki:{r:189,g:183,b:107},darkmagenta:{r:139,g:0,b:139},darkolivegreen:{r:85,g:107,b:47},darkorange:{r:255,g:140,b:0},darkorchid:{r:153,g:50,b:204},darkred:{r:139,g:0,b:0},darksalmon:{r:233,g:150,b:122},darkseagreen:{r:143,g:188,b:143},darkslateblue:{r:72,g:61,b:139},darkslategray:{r:47,g:79,b:79},darkslategrey:{r:47,g:79,b:79},darkturquoise:{r:0,g:206,b:209},darkviolet:{r:148,g:0,b:211},deeppink:{r:255,g:20,b:147},deepskyblue:{r:0,g:191,b:255},dimgray:{r:105,g:105,b:105},dimgrey:{r:105,g:105,b:105},dodgerblue:{r:30,g:144,b:255},firebrick:{r:178,g:34,b:34},floralwhite:{r:255,g:250,b:240},forestgreen:{r:34,g:139,b:34},fuchsia:{r:255,g:0,b:255},gainsboro:{r:220,g:220,b:220},ghostwhite:{r:248,g:248,b:255},gold:{r:255,g:215,b:0},goldenrod:{r:218,g:165,b:32},gray:{r:128,g:128,b:128},green:{r:0,g:128,b:0},greenyellow:{r:173,g:255,b:47},grey:{r:128,g:128,b:128},honeydew:{r:240,g:255,b:240},hotpink:{r:255,g:105,b:180},indianred:{r:205,g:92,b:92},indigo:{r:75,g:0,b:130},ivory:{r:255,g:255,b:240},khaki:{r:240,g:230,b:140},lavender:{r:230,g:230,b:250},lavenderblush:{r:255,g:240,b:245},lawngreen:{r:124,g:252,b:0},lemonchiffon:{r:255,g:250,b:205},lightblue:{r:173,g:216,b:230},lightcoral:{r:240,g:128,b:128},lightcyan:{r:224,g:255,b:255},lightgoldenrodyellow:{r:250,g:250,b:210},lightgray:{r:211,g:211,b:211},lightgreen:{r:144,g:238,b:144},lightgrey:{r:211,g:211,b:211},lightpink:{r:255,g:182,b:193},lightsalmon:{r:255,g:160,b:122},lightseagreen:{r:32,g:178,b:170},lightskyblue:{r:135,g:206,b:250},lightslategray:{r:119,g:136,b:153},lightslategrey:{r:119,g:136,b:153},lightsteelblue:{r:176,g:196,b:222},lightyellow:{r:255,g:255,b:224},lime:{r:0,g:255,b:0},limegreen:{r:50,g:205,b:50},linen:{r:250,g:240,b:230},magenta:{r:255,g:0,b:255},maroon:{r:128,g:0,b:0},mediumaquamarine:{r:102,g:205,b:170},mediumblue:{r:0,g:0,b:205},mediumorchid:{r:186,g:85,b:211},mediumpurple:{r:147,g:112,b:219},mediumseagreen:{r:60,g:179,b:113},mediumslateblue:{r:123,g:104,b:238},mediumspringgreen:{r:0,g:250,b:154},mediumturquoise:{r:72,g:209,b:204},mediumvioletred:{r:199,g:21,b:133},midnightblue:{r:25,g:25,b:112},mintcream:{r:245,g:255,b:250},mistyrose:{r:255,g:228,b:225},moccasin:{r:255,g:228,b:181},navajowhite:{r:255,g:222,b:173},navy:{r:0,g:0,b:128},oldlace:{r:253,g:245,b:230},olive:{r:128,g:128,b:0},olivedrab:{r:107,g:142,b:35},orange:{r:255,g:165,b:0},orangered:{r:255,g:69,b:0},orchid:{r:218,g:112,b:214},palegoldenrod:{r:238,g:232,b:170},palegreen:{r:152,g:251,b:152},paleturquoise:{r:175,g:238,b:238},palevioletred:{r:219,g:112,b:147},papayawhip:{r:255,g:239,b:213},peachpuff:{r:255,g:218,b:185},peru:{r:205,g:133,b:63},pink:{r:255,g:192,b:203},plum:{r:221,g:160,b:221},powderblue:{r:176,g:224,b:230},purple:{r:128,g:0,b:128},red:{r:255,g:0,b:0},rosybrown:{r:188,g:143,b:143},royalblue:{r:65,g:105,b:225},saddlebrown:{r:139,g:69,b:19},salmon:{r:250,g:128,b:114},sandybrown:{r:244,g:164,b:96},seagreen:{r:46,g:139,b:87},seashell:{r:255,g:245,b:238},sienna:{r:160,g:82,b:45},silver:{r:192,g:192,b:192},skyblue:{r:135,g:206,b:235},slateblue:{r:106,g:90,b:205},slategray:{r:112,g:128,b:144},slategrey:{r:112,g:128,b:144},snow:{r:255,g:250,b:250},springgreen:{r:0,g:255,b:127},steelblue:{r:70,g:130,b:180},tan:{r:210,g:180,b:140},teal:{r:0,g:128,b:128},thistle:{r:216,g:191,b:216},tomato:{r:255,g:99,b:71},turquoise:{r:64,g:224,b:208},violet:{r:238,g:130,b:238},wheat:{r:245,g:222,b:179},white:{r:255,g:255,b:255},whitesmoke:{r:245,g:245,b:245},yellow:{r:255,g:255,b:0},yellowgreen:{r:154,g:205,b:50}},Qi=l.default.forwardRef((e,t)=>{let{value:n,onChange:r,ignoreAlpha:i=!1,...a}=e;return(0,f.jsx)(Oi,{inputRef:t,value:n,onChange:r,formatter:(0,l.useMemo)(()=>$i({ignoreAlpha:i}),[i]),...a})});function $i(e){let{ignoreAlpha:t}=e;return{parse(e,n){if(ea(e)){let{r:t,g:r,b:i}=Zi[e];return{valid:!0,value:{r:t/255,g:r/255,b:i/255,a:n.a}}}try{return{value:(0,D.pipe)(e,ta,e=>na(e,n),ra,e=>t?{...e,a:1}:e),valid:!0}}catch{return{valid:!1}}},format(e){return(Math.round(e.r*255).toString(16).padStart(2,`0`)+Math.round(e.g*255).toString(16).padStart(2,`0`)+Math.round(e.b*255).toString(16).padStart(2,`0`)).toUpperCase()},incrementBy(e,t,n){return n??={r:!0,g:!0,b:!0},{r:n.r?(0,D.clamp)(Math.round(e.r*255)+t,{min:0,max:255})/255:e.r,g:n.g?(0,D.clamp)(Math.round(e.g*255)+t,{min:0,max:255})/255:e.g,b:n.b?(0,D.clamp)(Math.round(e.b*255)+t,{min:0,max:255})/255:e.b,a:e.a}},getIncrementTargets(e){let t=e.selectionStart,n=e.selectionEnd;return t===null||n===null?null:{r:t<2||t===2&&n===2,g:t<4&&n>=3||t===4&&n===4,b:n>=5}},getIncrementSelection(e){let t,n;return e?(t=e.r?0:e.g?2:4,n=e.b?6:e.g?4:2,[t,n]):[0,6]}}}function ea(e){return Object.keys(Zi).includes(e)}function ta(e){return e.match(/[0-9a-f]+/gi)?.[0]??``}function na(e,t){if(!/^[0-9a-f]{1,8}$/i.test(e))throw Error(`Invalid hex substring`);switch(e.length){case 1:return e.repeat(6)+ia(t.a);case 2:return e.repeat(3)+ia(t.a);case 3:return e.split(``).map(e=>e.repeat(2)).join(``)+ia(t.a);case 4:return e.slice(0,3).split(``).map(e=>e.repeat(2)).join(``)+e[3].repeat(2);case 5:return e.slice(0,3).split(``).map(e=>e.repeat(2)).join(``)+e.slice(-2);case 6:return e+ia(t.a);case 7:return e.slice(0,6)+e[6].repeat(2);case 8:return e;default:throw Error(`Invalid hex substring`)}}function ra(e){return{r:parseInt(e.substring(0,2),16)/255,g:parseInt(e.substring(2,4),16)/255,b:parseInt(e.substring(4,6),16)/255,a:parseInt(e.substring(6,8),16)/255}}function ia(e){return Math.round(e*255).toString(16)}var aa=o({Hex:()=>Qi,Label:()=>K,Multi:()=>G,Numeric:()=>J,NumericSelect:()=>Yi,Root:()=>W,Scrubber:()=>Ii});function oa({r:e,g:t,b:n,a:r}){let i=Math.max(e,t,n),a=i-Math.min(e,t,n),o=a?i===e?(t-n)/a:i===t?2+(n-e)/a:4+(e-t)/a:0;return{h:60*(o<0?o+6:o),s:i?a/i*100:0,v:i*100,a:r}}function X({h:e,s:t,v:n,a:r}){e=e/360*6,t/=100,n/=100;let i=Math.floor(e),a=n*(1-t),o=n*(1-(e-i)*t),s=n*(1-(1-e+i)*t),c=i%6;return{r:[n,o,a,a,s,n][c],g:[s,n,n,o,a,a][c],b:[a,a,s,n,n,o][c],a:r}}function sa({h:e,s:t,l:n,a:r}){return t*=(n<50?n:100-n)/100,{h:e,s:t>0?2*t/(n+t)*100:0,v:n+t,a:r}}function ca({h:e,s:t,v:n,a:r}){let i=(200-t)*n/100;return{h:e,s:i>0&&i<200?t*n/100/(i<=100?i:200-i)*100:0,l:i/2,a:r}}function la(e){return X(sa(e))}function ua(e){return ca(oa(e))}function Z(e){let t=(0,D.round)(e.r,4),n=(0,D.round)(e.g,4),r=(0,D.round)(e.b,4),i=(0,D.round)(e.a,2);return i<1?`color(display-p3 ${t} ${n} ${r} / ${i})`:`color(display-p3 ${t} ${n} ${r})`}function Q(e){let t=Math.round(e.r*255),n=Math.round(e.g*255),r=Math.round(e.b*255),i=e.a;return i<1?`rgb(${t} ${n} ${r} / ${i})`:`rgb(${t} ${n} ${r})`}function da(e){let{r:t,g:n,b:r,a:i}=e;return{r:t+(1-t)*(1-i),g:n+(1-n)*(1-i),b:r+(1-r)*(1-i),a:1}}var fa={r:0,g:0,b:0,a:1},pa=[`hex`,`rgb`,`hsl`,`hsv`],[ma,$]=z(`ColorPicker`),ha=e=>{let{colorSpace:t,models:n=pa,defaultActiveModel:r,activeModel:i,onActiveModelChange:a,defaultColor:o,color:s,onColorChange:c,children:l}=e;_a(i,r,n);let[u,d]=ga(s,o,c),[p=n[0],m]=pe({prop:i,defaultProp:r,onChange:a});return(0,f.jsx)(ma,{colorSpace:t,models:n,activeModel:p,onActiveModelChange:m,colorsByModel:u,hue:u.hsv.h,onColorChange:d,children:l})};function ga(e,t,n){let[r,i]=(0,l.useState)(()=>va(e??t??fa)),a=e===void 0?r:ya(r,{mode:`rgb`,value:e});return a!==r&&i(a),[a,e=>{let t=ya(a,e);i(t),Oa(t.rgb,a.rgb)||n?.(t.rgb)}]}function _a(e,t,n){if(n.length===0)throw Error(`The 'models' prop must contain at least one color model. Omit the 'models' prop entirely to use default models.`);if(e&&!n.includes(e))throw Error(`Invalid 'activeModel': '${e}' is not present in the 'models' array. Make sure 'activeModel' matches a model name in 'models'.`);if(t&&!n.includes(t))throw Error(`Invalid 'defaultActiveModel': '${t}' is not present in the 'models' array. Make sure 'activeModel' matches a model name in 'models'.`)}function va(e){return{rgb:e,hsv:oa(e),hsl:ua(e)}}function ya(e,t){switch(t.mode){case`rgb`:return ba(e,t.value);case`hue`:return xa(e,t.value);case`hsv`:{let n=X(t.value);return{rgb:n,hsv:t.value,hsl:wa(e.hsl,ca(t.value),n)}}case`hsl`:{let n=la(t.value);return{rgb:n,hsv:Ca(e.hsv,sa(t.value),n),hsl:t.value}}}}function ba(e,t){return Oa(e.rgb,t)?e:ka(e.rgb,t)?{rgb:t,hsv:{...e.hsv,a:t.a},hsl:{...e.hsl,a:t.a}}:{rgb:t,hsv:Sa(e.hsv,Ca(e.hsv,oa(t),t),t),hsl:Sa(e.hsl,wa(e.hsl,ua(t),t),t)}}function xa(e,t){let n={...e.hsv,h:t};return{rgb:X(n),hsv:n,hsl:{...e.hsl,h:t}}}function Sa(e,t,n){return Ta(n)?t:{...t,h:e.h}}function Ca(e,t,n){return Ea(n)?{...t,s:e.s}:t}function wa(e,t,n){return Ea(n)||Da(n)?{...t,s:e.s}:t}function Ta({r:e,g:t,b:n}){return Math.max(e,t,n)!==Math.min(e,t,n)}function Ea({r:e,g:t,b:n}){return Math.max(e,t,n)===0}function Da({r:e,g:t,b:n}){return Math.min(e,t,n)===1}function Oa(e,t){return ka(e,t)&&Aa(e.a,t.a)}function ka(e,t){return Aa(e.r,t.r)&&Aa(e.g,t.g)&&Aa(e.b,t.b)}function Aa(e,t){return Object.is(Math.fround(e),Math.fround(t))}var ja=2,Ma=0,Na=100,Pa=`horizontal`,Fa=`ltr`,Ia=(0,d.cva)(`fp-SliderRoot`,{variants:{size:{small:`fp-size-small`,large:`fp-size-large`}},defaultVariants:{size:`large`}}),La=l.default.forwardRef((e,t)=>{let{className:n,size:r,min:i=Ma,max:a=Na,defaultValue:o=[i],value:s,onValueChange:c,onValueCommit:u,tabIndex:p,orientation:m=Pa,dir:h=Fa,inverted:g,disabled:_,step:v=1,minStepsBetweenThumbs:y,range:b=!0,rangeAnchor:x,baseValue:S,hints:C,...w}=e,T=U(`Slider`),E=_||T?.disabled,O=(0,l.useRef)(null),k=L(O,t),[A,N]=(0,l.useState)(s??o),P=Va(A,g,i,a),F=Va(o,g,i,a),ee=(0,l.useRef)(s),te=(0,l.useRef)(o);return(0,l.useEffect)(()=>{(0,D.isDeepEqual)(s,ee.current)&&(0,D.isDeepEqual)(o,te.current)||(N(s??o),ee.current=s,te.current=o)},[s,o]),(0,f.jsx)(j.DirectionProvider,{direction:h,children:(0,f.jsx)(M.Slider.Root,{className:I(n,Ia({size:r})),defaultValue:F,dir:h===Fa?void 0:h,disabled:E,max:a,min:i,minStepsBetweenValues:y,onValueChange:(e,t)=>{let n=Ua(Ha(e,g,i,a),t,O.current,m,h,g,i,a,v).map(e=>Ya(e,C,i,a));c?.(n),N(n)},onValueCommitted:(e,t)=>{let n=Ua(Ha(e,g,i,a),t,O.current,m,h,g,i,a,v).map(e=>Ya(e,C,i,a));u?.(n)},orientation:m,step:v,thumbAlignment:`center`,value:P,...w,children:(0,f.jsxs)(M.Slider.Control,{ref:k,className:`fp-SliderControl`,tabIndex:p??-1,children:[(0,f.jsx)(M.Slider.Track,{className:`fp-SliderTrack`,style:{position:`static`},children:A.map((e,t)=>(0,f.jsx)(M.Slider.Thumb,{index:t,className:(0,d.cx)(`fp-SliderThumb`,{"fp-SliderThumb-focusVisible":!0,"fp-SliderThumb-baseValue":e===S})},t))}),b&&(0,f.jsx)(za,{dir:h,value:A,min:i,max:a,orientation:m,inverted:g,rangeAnchor:x,disabled:E}),C&&C.map(e=>(0,f.jsx)(Ra,{hint:e,baseValue:S,min:i,max:a,orientation:m,dir:h,inverted:g},e))]})})})});La.displayName=`Slider`;var Ra=e=>{let{baseValue:t,dir:n,inverted:r,max:i,min:a,orientation:o,hint:s}=e,{startEdge:c}=Ba(o,n,r),l=q([a,i],[0,100])(s);return(0,f.jsx)(`span`,{className:(0,d.cx)(`fp-SliderHint`,{"fp-SliderHint-baseValue":s===t}),"data-orientation":o,style:{[c]:`calc(${l}% - var(--slider-hint-width) / 2)`}})},za=e=>{let{min:t,max:n,value:r,rangeAnchor:i=t,orientation:a,dir:o,inverted:s,disabled:c}=e,l=r.length>1?Math.min(...r):Math.min(i,...r),u=r.length>1?Math.max(...r):Math.max(i,...r),d=q([t,n],[0,100])(l),p=100-q([t,n],[0,100])(u),m=Ba(a,o,s);return(0,f.jsx)(`span`,{className:`fp-SliderRange`,"data-orientation":a,"data-disabled":c?``:void 0,style:{[m.startEdge]:`${d}%`,[m.endEdge]:`${p}%`}})};function Ba(e,t,n){let r=n?`inverted`:`normal`;return{vertical:{normal:{startEdge:`bottom`,endEdge:`top`},inverted:{startEdge:`top`,endEdge:`bottom`}},horizontal:{normal:{startEdge:t===`ltr`?`left`:`right`,endEdge:t===`ltr`?`right`:`left`},inverted:{startEdge:t===`ltr`?`right`:`left`,endEdge:t===`ltr`?`left`:`right`}}}[e][r]}function Va(e,t,n,r){let i=Ja(e,t,n,r);if(i.length===1){let e=i[0];if(e!==void 0)return e}return i}function Ha(e,t,n,r){return Ja(typeof e==`number`?[e]:e,t,n,r)}function Ua(e,t,n,r,i,a,o,s,c){if(t.reason!==`track-press`||n===null)return e;let l=n.parentElement,u=Wa(t.event);if(l===null||u===void 0)return e;let d=Ka(u,l.getBoundingClientRect(),r,i,a),f=qa(o+(s-o)*d,o,s,c),p=Ga(t);return e.map((t,n)=>n===p||e.length===1?f:t)}function Wa(e){if(`clientX`in e&&`clientY`in e&&typeof e.clientX==`number`&&typeof e.clientY==`number`)return{x:e.clientX,y:e.clientY}}function Ga(e){if(`activeThumbIndex`in e&&typeof e.activeThumbIndex==`number`)return e.activeThumbIndex}function Ka(e,t,n,r,i){let a=n===`vertical`?(t.bottom-e.y)/t.height:(e.x-t.left)/t.width,o=n===`horizontal`&&r===`rtl`?1-a:a,s=i?1-o:o;return Math.min(1,Math.max(0,s))}function qa(e,t,n,r){let i=t+Math.round((e-t)/r)*r,a=Number(i.toFixed(10));return Math.min(n,Math.max(t,a))}function Ja(e,t,n,r){return t?e.map(e=>n+r-e):[...e]}function Ya(e,t,n,r){let i=q([0,100],[0,r-n])(ja),a=t?.find(t=>Math.abs(t-e)<=i);return typeof a==`number`?a:e}var Xa=e=>{let{className:t,style:n}=e,{activeModel:r,colorSpace:i,hue:a,onColorChange:o}=$(`ColorPicker.Hue`);return(0,f.jsx)(La,{"aria-label":`hue`,range:!1,min:0,max:359,value:[a],onValueChange:e=>{o({mode:`hue`,value:e[0]})},className:`fp-ColorPickerHueSlider fp-color-model-${r} fp-color-space-${i} ${t}`,style:{"--slider-thumb-bg":Za(a,i),...n}})};function Za(e,t){let{r:n,g:r,b:i}=X({h:e,s:100,v:100,a:1});return t===`display-p3`?`color(display-p3 ${+n.toFixed(4)} ${+r.toFixed(4)} ${+i.toFixed(4)})`:`rgb(${Math.round(n*255)} ${Math.round(r*255)} ${Math.round(i*255)})`}var Qa=e=>{let{className:t,style:n}=e,{colorSpace:r,colorsByModel:i,onColorChange:a}=$(`ColorPicker.Alpha`),o=i.rgb,s={srgb:{transparent:Q({...o,a:0}),opaque:Q({...o,a:1})},p3:{transparent:Z({...o,a:0}),opaque:Z({...o,a:1})}},c={srgb:Q(da(o)),p3:Z(da(o))};return(0,f.jsx)(La,{"aria-label":`alpha`,min:0,max:100,range:!1,value:[o.a*100],onValueChange:e=>{a({mode:`rgb`,value:{...o,a:(0,D.round)(e[0]/100,2)}})},className:`fp-ColorPickerAlphaSlider fp-color-space-${r} ${t}`,style:{"--track-bg-transparent-srgb":s.srgb.transparent,"--track-bg-opaque-srgb":s.srgb.opaque,"--track-bg-transparent-p3":s.p3.transparent,"--track-bg-opaque-p3":s.p3.opaque,"--thumb-bg-srgb":c.srgb,"--thumb-bg-p3":c.p3,...n}})},$a=8,eo=e=>{let{onColorChange:t,colorsByModel:n,hue:r,colorSpace:i,activeModel:a}=$(`ColorPicker.Area`),o={srgb:Q(X({h:r,s:100,v:100,a:1})),p3:Z(X({h:r,s:100,v:100,a:1}))},s={srgb:Q(n.rgb),p3:Z(n.rgb)},c=to(n,a),u=(0,l.useRef)(null),{size:d}=no(u),p=e=>{t(a===`hsl`?{mode:`hsl`,value:{h:r,s:e.x,l:100-e.y,a:n.rgb.a}}:{mode:`hsv`,value:{h:r,s:e.x,v:100-e.y,a:n.rgb.a}})},m=e=>{if(e.type===`pointerdown`&&e.currentTarget.setPointerCapture(e.pointerId),e.type===`pointermove`&&!e.currentTarget.hasPointerCapture(e.pointerId))return;let t=e.currentTarget.getBoundingClientRect();p({x:(0,D.pipe)(e.clientX-t.x,q([0,d],[0,100]),(0,D.clamp)({min:0,max:100})),y:(0,D.pipe)(e.clientY-t.y-$a,q([0,d],[0,100]),(0,D.clamp)({min:0,max:100}))})};return(0,f.jsxs)(`div`,{ref:u,className:`fp-ColorPickerArea`,onPointerDown:m,onPointerMove:m,style:{"--base-color-srgb":o.srgb,"--base-color-p3":o.p3},children:[(0,f.jsx)(`div`,{className:`fp-ColorPickerAreaCanvas fp-color-space-${i} fp-color-model-${a}`}),(0,f.jsx)(`div`,{tabIndex:0,onKeyDown:e=>{let t=e.shiftKey?10:1,n={ArrowRight:{x:1,y:0},ArrowLeft:{x:-1,y:0},ArrowDown:{x:0,y:1},ArrowUp:{x:0,y:-1}}[e.key];n&&p({x:(0,D.clamp)(c.x+n.x*t,{min:0,max:100}),y:(0,D.clamp)(c.y+n.y*t,{min:0,max:100})})},className:`fp-ColorPickerThumb fp-color-space-${i}`,style:{"--thumb-bg-srgb":s.srgb,"--thumb-bg-p3":s.p3,left:`${c.x}%`,top:`${c.y}%`}})]})};function to(e,t){if(t===`hsl`){let t=e.hsl;return{x:t.s,y:100-t.l}}else{let t=e.hsv;return{x:t.s,y:100-t.v}}}function no(e){let[t,n]=l.default.useState(0);return l.default.useLayoutEffect(()=>{let t=e.current;if(!t)return;n(t.getBoundingClientRect().width);let r=new ResizeObserver(e=>{for(let t of e)n(t.contentRect.width)});return r.observe(t),()=>{r.unobserve(t)}},[e]),{size:t}}var ro={0:`fp-gap-0`,px:`fp-gap-px`,"0.5":`fp-gap-0_5`,1:`fp-gap-1`,"1.5":`fp-gap-1_5`,2:`fp-gap-2`,"2.5":`fp-gap-2_5`,3:`fp-gap-3`,"3.5":`fp-gap-3_5`,4:`fp-gap-4`,5:`fp-gap-5`,6:`fp-gap-6`,7:`fp-gap-7`,8:`fp-gap-8`,9:`fp-gap-9`,10:`fp-gap-10`,11:`fp-gap-11`,12:`fp-gap-12`,13:`fp-gap-13`,14:`fp-gap-14`,15:`fp-gap-15`,16:`fp-gap-16`},io=(0,d.cva)(`fp-Flex`,{variants:{direction:{row:`fp-direction-row`,column:`fp-direction-column`,rowReverse:`fp-direction-row-reverse`,columnReverse:`fp-direction-column-reverse`},align:{start:`fp-align-start`,center:`fp-align-center`,end:`fp-align-end`,baseline:`fp-align-baseline`,stretch:`fp-align-stretch`},justify:{start:`fp-justify-start`,center:`fp-justify-center`,end:`fp-justify-end`,between:`fp-justify-between`},wrap:{nowrap:`fp-wrap-nowrap`,wrap:`fp-wrap-wrap`,wrapReverse:`fp-wrap-wrap-reverse`},gap:ro,columnGap:ro,rowGap:ro},defaultVariants:{direction:`row`}}),ao=l.default.forwardRef((e,t)=>{let{className:n,direction:r,align:i,justify:a,wrap:o,gap:s,columnGap:c,rowGap:l,...u}=e;return(0,f.jsx)(`div`,{ref:t,className:io({className:n,direction:r,align:i,justify:a,wrap:o,gap:s,columnGap:c,rowGap:l}),...u})});ao.displayName=`Flex`;var oo={hex:()=>{let{colorsByModel:e,onColorChange:t}=$(`ColorPicker.HEX`),n=e.rgb;return(0,f.jsxs)(G,{children:[(0,f.jsx)(W,{children:(0,f.jsx)(Qi,{onChange:e=>{t({mode:`rgb`,value:e})},value:n})}),(0,f.jsxs)(W,{style:{flex:`0 0 52px`},children:[(0,f.jsx)(J,{onChange:e=>{t({mode:`rgb`,value:{...n,a:e}})},value:n.a,min:0,max:1,targetRange:[0,100],precision:2,allowedUnits:[`%`]}),(0,f.jsx)(K,{children:`%`})]})]})},hsv:()=>{let{colorsByModel:e,onColorChange:t}=$(`ColorPicker.HSVA`),n=e.hsv,r=e=>r=>{t({mode:`hsv`,value:{...n,[e]:r}})};return(0,f.jsxs)(G,{children:[(0,f.jsx)(W,{children:(0,f.jsx)(J,{onChange:r(`h`),value:n.h,min:0,max:360,precision:0})}),(0,f.jsx)(W,{children:(0,f.jsx)(J,{onChange:r(`s`),value:n.s,min:0,max:100,precision:0})}),(0,f.jsx)(W,{children:(0,f.jsx)(J,{onChange:r(`v`),value:n.v,min:0,max:100,precision:0})}),(0,f.jsxs)(W,{style:{flex:`0 0 52px`},children:[(0,f.jsx)(J,{onChange:r(`a`),value:n.a,min:0,max:1,targetRange:[0,100],precision:2,allowedUnits:[`%`]}),(0,f.jsx)(K,{children:`%`})]})]})},hsl:()=>{let{colorsByModel:e,onColorChange:t}=$(`ColorPicker.HSLA`),n=e.hsl,r=e=>r=>{t({mode:`hsl`,value:{...n,[e]:r}})};return(0,f.jsxs)(G,{children:[(0,f.jsx)(W,{children:(0,f.jsx)(J,{onChange:r(`h`),value:n.h,min:0,max:360,precision:0})}),(0,f.jsx)(W,{children:(0,f.jsx)(J,{onChange:r(`s`),value:n.s,min:0,max:100,precision:0})}),(0,f.jsx)(W,{children:(0,f.jsx)(J,{onChange:r(`l`),value:n.l,min:0,max:100,precision:0})}),(0,f.jsxs)(W,{style:{flex:`0 0 52px`},children:[(0,f.jsx)(J,{onChange:r(`a`),value:n.a,min:0,max:1,targetRange:[0,100],precision:2,allowedUnits:[`%`]}),(0,f.jsx)(K,{children:`%`})]})]})},rgb:()=>{let{colorsByModel:e,onColorChange:t}=$(`ColorPicker.RGBA`),n=e.rgb,r=e=>r=>{t({mode:`rgb`,value:{...n,[e]:r}})};return(0,f.jsxs)(G,{children:[(0,f.jsx)(W,{children:(0,f.jsx)(J,{onChange:r(`r`),value:n.r,min:0,max:1,targetRange:[0,255],precision:0})}),(0,f.jsx)(W,{children:(0,f.jsx)(J,{onChange:r(`g`),value:n.g,min:0,max:1,targetRange:[0,255],precision:0})}),(0,f.jsx)(W,{children:(0,f.jsx)(J,{onChange:r(`b`),value:n.b,min:0,max:1,targetRange:[0,255],precision:0})}),(0,f.jsxs)(W,{style:{flex:`0 0 52px`},children:[(0,f.jsx)(J,{onChange:r(`a`),value:n.a,min:0,max:1,targetRange:[0,100],precision:2,allowedUnits:[`%`]}),(0,f.jsx)(K,{children:`%`})]})]})}},so=e=>{let{models:t,activeModel:n,onActiveModelChange:r}=$(`ColorPicker.Input`),i=oo[n],a=t.map(e=>({value:e,label:e.toUpperCase()}));function o(e){e!==null&&r(e)}return(0,f.jsxs)(ao,{gap:`2.5`,className:e.className,style:e.style,children:[t.length>1&&(0,f.jsxs)(pn,{items:a,value:n,onValueChange:o,children:[(0,f.jsxs)(vn,{style:{width:56},children:[(0,f.jsx)(hn,{}),(0,f.jsx)(yn,{children:(0,f.jsx)(H,{})})]}),(0,f.jsx)(co,{children:a.map(e=>(0,f.jsxs)(Cn,{value:e.value,label:e.label,children:[(0,f.jsx)(Tn,{children:(0,f.jsx)(V,{size:`4`})}),(0,f.jsx)(wn,{children:e.label})]},e.value))})]}),(0,f.jsx)(i,{})]})};function co(e){let{children:t}=e;return(0,f.jsx)(mn,{children:(0,f.jsx)(bn,{children:(0,f.jsxs)(xn,{children:[(0,f.jsx)(kn,{children:(0,f.jsx)(Ge,{})}),(0,f.jsx)(Sn,{children:t}),(0,f.jsx)(An,{children:(0,f.jsx)(H,{})})]})})})}var lo=o({Alpha:()=>Qa,Area:()=>eo,Hue:()=>Xa,Input:()=>so,Root:()=>ha,useColorPickerContext:()=>$}),uo=l.default.forwardRef((e,t)=>{let{className:n,...r}=e;return(0,f.jsx)(N.Collapsible.Root,{ref:t,className:I(n,`fp-CollapsibleRoot`),...r})}),fo=l.default.forwardRef((e,t)=>{let{className:n,children:r,...i}=e;return(0,f.jsxs)(N.Collapsible.Trigger,{ref:t,className:I(n,`fp-CollapsibleTrigger`),...i,children:[(0,f.jsx)(We,{viewBox:`4 4 16 16`,size:`4`,className:`fp-CollapsibleIndicator`}),r]})}),po=l.default.forwardRef((e,t)=>{let{className:n,...r}=e;return(0,f.jsx)(N.Collapsible.Panel,{ref:t,className:I(n,`fp-CollapsibleContent`),...r})});uo.displayName=`Collapsible.Root`,fo.displayName=`Collapsible.Trigger`,po.displayName=`Collapsible.Panel`;var mo=o({Panel:()=>po,Root:()=>uo,Trigger:()=>fo}),ho=(0,d.cva)(`fp-Button`,{variants:{variant:{primary:`fp-variant-primary`,secondary:`fp-variant-secondary`,inverse:`fp-variant-inverse`,destructive:`fp-variant-destructive`,success:`fp-variant-success`,text:`fp-variant-text`},size:{small:`fp-size-small`,medium:`fp-size-medium`},fullWidth:{true:`fp-full-width`}},defaultVariants:{variant:`secondary`,size:`small`}}),go=l.default.forwardRef((e,t)=>{let{className:n,variant:r,size:i,fullWidth:a,...o}=e;return(0,f.jsx)(`button`,{ref:t,className:ho({className:n,variant:r,size:i,fullWidth:a}),...o})});go.displayName=`Button`;var _o=l.default.forwardRef((e,t)=>{let{className:n,...r}=e;return(0,f.jsx)(P.default,{className:(0,d.cx)(n,`fp-textarea`),ref:t,...r})});_o.displayName=`Textarea`;var vo=l.default.forwardRef((e,t)=>{let{className:n,...r}=e;return(0,f.jsx)(F.Switch.Root,{ref:t,className:I(n,`fp-switchRoot`),...r,children:(0,f.jsx)(F.Switch.Thumb,{className:`fp-switchThumb`})})});vo.displayName=`Switch`,exports.ActionsIcon=ke,Object.defineProperty(exports,"AlertDialog",{enumerable:!0,get:function(){return Ci}}),exports.AlignBottomIcon=Ae,exports.AlignHorizontalCenterIcon=je,exports.AlignLeftIcon=Me,exports.AlignRightIcon=Ne,exports.AlignTopIcon=Pe,exports.AlignVerticalCenterIcon=Fe,exports.AnnotationIcon=Ie,exports.AspectRatioIcon=Le,exports.AutoHeightIcon=Re,exports.AutoWidthIcon=ze,exports.BlendModeIcon=Be,exports.BooleanIcon=Ve,exports.Button=go,Object.defineProperty(exports,"Checkbox",{enumerable:!0,get:function(){return fn}}),exports.CheckmarkIcon=V,exports.CheckmarkIndeterminateIcon=He,exports.ChevronDownIcon=H,exports.ChevronLeftIcon=Ue,exports.ChevronRightIcon=We,exports.ChevronUpIcon=Ge,exports.CircleIcon=Ke,exports.ClearIcon=qe,exports.CloseIcon=Je,exports.CodeIcon=Ye,Object.defineProperty(exports,"Collapsible",{enumerable:!0,get:function(){return mo}}),Object.defineProperty(exports,"ColorPicker",{enumerable:!0,get:function(){return lo}}),Object.defineProperty(exports,"Combobox",{enumerable:!0,get:function(){return nr}}),exports.CommentIcon=Xe,exports.ComponentIcon=Ze,exports.ConstraintLeftIcon=Qe,exports.ConstraintTopIcon=$e,Object.defineProperty(exports,"ContextMenu",{enumerable:!0,get:function(){return Rr}}),exports.CornerRadiusIcon=et,exports.DesignIcon=tt,Object.defineProperty(exports,"Dialog",{enumerable:!0,get:function(){return fi}}),exports.DrawIcon=nt,Object.defineProperty(exports,"DropdownMenu",{enumerable:!0,get:function(){return br}}),exports.EllipsisIcon=rt,exports.ExpandIcon=it,exports.EyeIcon=at,exports.EyedropperIcon=ot,exports.FigmaIcon=ut,exports.FillGradientIcon=st,exports.FillPatternIcon=ct,exports.FillSolidIcon=lt,exports.FixedSizeIcon=dt,exports.Flex=ao,exports.FlipHorizontalIcon=ft,exports.FlipVerticalIcon=pt,exports.FrameIcon=mt,exports.HelpIcon=ht,exports.IconButton=Gr,exports.ImageIcon=gt,exports.Input=Di,exports.Label=le,exports.LayersCollapseIcon=_t,exports.LetterSpacingIcon=vt,exports.LineHeightIcon=yt,exports.Link=de,exports.LinkIcon=bt,exports.MinusIcon=xt,exports.MoveIcon=St,exports.NumberIcon=Ct,exports.OpacityIcon=wt,exports.PaletteIcon=Tt,exports.PanelLeftCloseIcon=Et,exports.Paragraph=ue,exports.PenIcon=Dt,exports.PlayIcon=Ot,exports.PlusIcon=kt,Object.defineProperty(exports,"Popover",{enumerable:!0,get:function(){return ri}}),Object.defineProperty(exports,"RadioGroup",{enumerable:!0,get:function(){return Te}}),exports.RectangleIcon=At,exports.RotateClockwiseIcon=jt,exports.RotationIcon=Mt,exports.RulerIcon=Nt,exports.SearchIcon=Pt,Object.defineProperty(exports,"SegmentedControl",{enumerable:!0,get:function(){return ye}}),Object.defineProperty(exports,"Select",{enumerable:!0,get:function(){return jn}}),exports.SelectMatchingIcon=Ft,exports.ShadowBottomLeftIcon=It,exports.ShadowBottomRightIcon=Lt,exports.ShadowDownIcon=Rt,exports.ShadowLeftIcon=zt,exports.ShadowRightIcon=Bt,exports.ShadowTopLeftIcon=Vt,exports.ShadowTopRightIcon=Ht,exports.ShadowUpIcon=Ut,exports.Slider=La,exports.SlidersIcon=Wt,exports.StringIcon=Gt,exports.StylesIcon=nn,exports.Switch=vo,Object.defineProperty(exports,"Tabs",{enumerable:!0,get:function(){return se}}),exports.Text=R,exports.TextAlignCenterIcon=qt,exports.TextAlignLeftIcon=Jt,exports.TextAlignRightIcon=Yt,exports.TextIcon=Kt,exports.TextVerticalAlignBottomIcon=Xt,exports.TextVerticalAlignMiddleIcon=Zt,exports.TextVerticalAlignTopIcon=Qt,exports.Textarea=_o,exports.Tooltip=Ur,exports.TooltipProvider=Br,Object.defineProperty(exports,"ValueField",{enumerable:!0,get:function(){return aa}}),exports.VariableIcon=en,exports.VariableModeIcon=$t,exports.VideoIcon=tn,exports.createIcon=B;