@charisol/plexo-sdk 1.4.42 → 2.0.2

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.
Files changed (255) hide show
  1. package/README.md +72 -0
  2. package/dist/InlineColorPicker-8ewm1Asx.js +2912 -0
  3. package/dist/client-DlVJt_6V.js +339 -0
  4. package/dist/colorUtils-ohNG3v1i.js +222 -0
  5. package/dist/columnOrder-f5-VOg2T.js +11 -0
  6. package/dist/{compiler-BvseEhDC.js → compiler-Dhpsq71h.js} +121 -120
  7. package/dist/compiler.js +1 -1
  8. package/dist/{compilerClient-BIrZIgfG.js → compilerClient-BC4TGAr9.js} +93 -92
  9. package/dist/compilerClient.js +1 -1
  10. package/dist/{iconSvgStatic-CGue7nyp.js → iconSvgStatic-Lnpg27U9.js} +66 -75
  11. package/dist/index.js +14042 -15423
  12. package/dist/legacy-B4E71HSa.js +16192 -0
  13. package/dist/lint-D-2x-Yeb.js +225 -0
  14. package/dist/{mjmlBrowser-DWk0mRD6.js → mjmlBrowser-wlHcAT8n.js} +2 -2
  15. package/dist/plexo-sdk.css +1 -1
  16. package/dist/rolldown-runtime-B1bRi_D7.js +27 -0
  17. package/dist/sanitize.js +1 -1
  18. package/dist/{sanitizeCompiledHtml-CNjUXlMK.js → sanitizeCompiledHtml-GgGsetm3.js} +673 -698
  19. package/dist/{zoom-in-DL4pfiLG.js → schemas-Bq5o5MfF.js} +916 -2120
  20. package/dist/utilities/colorUtils.d.ts +35 -0
  21. package/dist/utilities/playground.interfaces.d.ts +19 -1
  22. package/dist/v2/V2Editor.d.ts +25 -0
  23. package/dist/v2/compile/build.d.ts +38 -0
  24. package/dist/v2/compile/html.d.ts +18 -0
  25. package/dist/v2/compile/index.d.ts +28 -15
  26. package/dist/v2/compile/react.d.ts +17 -0
  27. package/dist/v2/compile/schema.d.ts +16 -0
  28. package/dist/v2/components/canvas/AlignmentGuidesOverlay.d.ts +7 -0
  29. package/dist/v2/components/canvas/CanvasArea.d.ts +2 -0
  30. package/dist/v2/components/canvas/CanvasControls.d.ts +2 -0
  31. package/dist/v2/components/canvas/ContextualToolbar.d.ts +7 -0
  32. package/dist/v2/components/canvas/DropIndicator.d.ts +6 -0
  33. package/dist/v2/components/canvas/IrView.d.ts +12 -0
  34. package/dist/v2/components/canvas/NodeRenderer.d.ts +12 -0
  35. package/dist/v2/components/canvas/PageFrame.d.ts +9 -0
  36. package/dist/v2/components/canvas/ResizeHandles.d.ts +8 -0
  37. package/dist/v2/components/canvas/SectionToolbar.d.ts +6 -0
  38. package/dist/v2/components/canvas/SpacingOverlay.d.ts +7 -0
  39. package/dist/v2/components/design/AutoUpdateWatcher.d.ts +7 -0
  40. package/dist/v2/components/design/DesignSystemPanel.d.ts +7 -0
  41. package/dist/v2/components/design/ReviewView.d.ts +7 -0
  42. package/dist/v2/components/design/StrataCard.d.ts +8 -0
  43. package/dist/v2/components/design/TidyView.d.ts +15 -0
  44. package/dist/v2/components/design/bits.d.ts +20 -0
  45. package/dist/v2/components/design/useStrataSync.d.ts +51 -0
  46. package/dist/v2/components/layout/ContextMenu.d.ts +2 -0
  47. package/dist/v2/components/layout/EditorShell.d.ts +2 -0
  48. package/dist/v2/components/layout/LeftToolRail.d.ts +2 -0
  49. package/dist/v2/components/layout/PreviewOverlay.d.ts +6 -0
  50. package/dist/v2/components/layout/TopToolbar.d.ts +8 -0
  51. package/dist/v2/components/modals/SettingsModal.d.ts +7 -0
  52. package/dist/v2/components/modals/ShortcutsModal.d.ts +7 -0
  53. package/dist/v2/components/properties/ColorField.d.ts +14 -0
  54. package/dist/v2/components/properties/ElementSettings.d.ts +39 -0
  55. package/dist/v2/components/properties/LinkField.d.ts +26 -0
  56. package/dist/v2/components/properties/PageInspector.d.ts +2 -0
  57. package/dist/v2/components/properties/PropertiesPanel.d.ts +2 -0
  58. package/dist/v2/components/properties/SectionSettings.d.ts +6 -0
  59. package/dist/v2/components/properties/sections/ConstraintsSection.d.ts +7 -0
  60. package/dist/v2/components/properties/sections/LayoutDiagnostics.d.ts +7 -0
  61. package/dist/v2/components/sections/BlockInspector.d.ts +9 -0
  62. package/dist/v2/components/sections/FieldForm.d.ts +14 -0
  63. package/dist/v2/components/sections/ManagedChildNotice.d.ts +7 -0
  64. package/dist/v2/components/sections/SectionThumb.d.ts +11 -0
  65. package/dist/v2/components/sidebar/FlyoutDrawer.d.ts +2 -0
  66. package/dist/v2/components/sidebar/InsertPanel.d.ts +2 -0
  67. package/dist/v2/components/sidebar/LayersPanel.d.ts +2 -0
  68. package/dist/v2/components/sidebar/LibraryPanel.d.ts +3 -0
  69. package/dist/v2/components/sidebar/PagesPanel.d.ts +2 -0
  70. package/dist/v2/components/sidebar/SectionsPanel.d.ts +6 -0
  71. package/dist/v2/components/sidebar/SolPanel.d.ts +3 -0
  72. package/dist/v2/components/sidebar/TemplateChooser.d.ts +13 -0
  73. package/dist/v2/context/BlockContext.d.ts +7 -0
  74. package/dist/v2/context/EditorContext.d.ts +213 -0
  75. package/dist/v2/context/FrameContext.d.ts +3 -0
  76. package/dist/v2/context/ParentLayoutContext.d.ts +10 -0
  77. package/dist/v2/context/PlacementContext.d.ts +4 -0
  78. package/dist/v2/data/blankPage.d.ts +3 -0
  79. package/dist/v2/data/insertableComponents.d.ts +17 -0
  80. package/dist/v2/data/samplePageData.d.ts +3 -0
  81. package/dist/v2/design/audit.d.ts +78 -0
  82. package/dist/v2/design/baseline.d.ts +3 -0
  83. package/dist/v2/design/baselineData.d.ts +3 -0
  84. package/dist/v2/design/components.d.ts +9 -0
  85. package/dist/v2/design/css.d.ts +16 -0
  86. package/dist/v2/design/fonts.d.ts +10 -0
  87. package/dist/v2/design/index.d.ts +11 -0
  88. package/dist/v2/design/lint.d.ts +22 -0
  89. package/dist/v2/design/shades.d.ts +15 -0
  90. package/dist/v2/design/textStyles.d.ts +29 -0
  91. package/dist/v2/design/themes.d.ts +35 -0
  92. package/dist/v2/design/tokens.d.ts +24 -0
  93. package/dist/v2/design/types.d.ts +81 -0
  94. package/dist/v2/host/HostContext.d.ts +176 -0
  95. package/dist/v2/host/SolMark.d.ts +8 -0
  96. package/dist/v2/index.d.ts +19 -11
  97. package/dist/v2/migrate/legacy.d.ts +26 -0
  98. package/dist/v2/render/adapt.d.ts +12 -0
  99. package/dist/v2/render/anchors.d.ts +7 -0
  100. package/dist/v2/render/elementCss.d.ts +7 -0
  101. package/dist/v2/render/elementProps.d.ts +92 -0
  102. package/dist/v2/render/elements.d.ts +32 -0
  103. package/dist/v2/render/formAction.d.ts +33 -0
  104. package/dist/v2/render/frames.d.ts +10 -0
  105. package/dist/v2/render/iconSet.d.ts +5 -0
  106. package/dist/v2/render/ir.d.ts +20 -0
  107. package/dist/v2/render/nodeStyle.d.ts +24 -0
  108. package/dist/v2/render/placement.d.ts +12 -0
  109. package/dist/v2/render/resolve.d.ts +3 -0
  110. package/dist/v2/render/runtime.d.ts +18 -0
  111. package/dist/v2/render/sanitize.d.ts +15 -0
  112. package/dist/v2/render/socialIcons.d.ts +83 -0
  113. package/dist/v2/sections/catalog/about.d.ts +2 -0
  114. package/dist/v2/sections/catalog/announcement.d.ts +2 -0
  115. package/dist/v2/sections/catalog/contact.d.ts +2 -0
  116. package/dist/v2/sections/catalog/cta.d.ts +2 -0
  117. package/dist/v2/sections/catalog/faq.d.ts +2 -0
  118. package/dist/v2/sections/catalog/features.d.ts +2 -0
  119. package/dist/v2/sections/catalog/footer.d.ts +5 -0
  120. package/dist/v2/sections/catalog/gallery.d.ts +2 -0
  121. package/dist/v2/sections/catalog/header.d.ts +2 -0
  122. package/dist/v2/sections/catalog/hero.d.ts +2 -0
  123. package/dist/v2/sections/catalog/logos.d.ts +2 -0
  124. package/dist/v2/sections/catalog/pricing.d.ts +2 -0
  125. package/dist/v2/sections/catalog/stats.d.ts +2 -0
  126. package/dist/v2/sections/catalog/steps.d.ts +2 -0
  127. package/dist/v2/sections/catalog/team.d.ts +2 -0
  128. package/dist/v2/sections/catalog/testimonials.d.ts +2 -0
  129. package/dist/v2/sections/catalog/video.d.ts +2 -0
  130. package/dist/v2/sections/kit.d.ts +64 -0
  131. package/dist/v2/sections/materialize.d.ts +72 -0
  132. package/dist/v2/sections/names.d.ts +6 -0
  133. package/dist/v2/sections/pageTemplates.d.ts +52 -0
  134. package/dist/v2/sections/registry.d.ts +5 -0
  135. package/dist/v2/sections/types.d.ts +103 -0
  136. package/dist/v2/sol/catalogSchema.d.ts +43 -0
  137. package/dist/v2/sol/commands.d.ts +21 -0
  138. package/dist/v2/sol/describe.d.ts +32 -0
  139. package/dist/v2/sol/index.d.ts +7 -0
  140. package/dist/v2/sol/parse.d.ts +10 -0
  141. package/dist/v2/sol/prompt.d.ts +5 -0
  142. package/dist/v2/sol/schema.d.ts +177 -0
  143. package/dist/v2/sol/summarize.d.ts +4 -0
  144. package/dist/v2/strata/autoUpdate.d.ts +37 -0
  145. package/dist/v2/strata/client.d.ts +38 -0
  146. package/dist/v2/strata/index.d.ts +8 -0
  147. package/dist/v2/strata/merge.d.ts +27 -0
  148. package/dist/v2/strata/types.d.ts +115 -0
  149. package/dist/v2/types/editor.d.ts +175 -0
  150. package/dist/v2/utils/css.d.ts +3 -0
  151. package/dist/v2/utils/id.d.ts +3 -0
  152. package/dist/v2-compile.js +138 -7
  153. package/dist/v2-strata.js +2 -0
  154. package/dist/v2.js +11089 -8174
  155. package/package.json +6 -1
  156. package/dist/toReact-BBzjWoFG.js +0 -595
  157. package/dist/v2/ai/commands.d.ts +0 -616
  158. package/dist/v2/ai/dispatch.d.ts +0 -24
  159. package/dist/v2/ai/nodeSchema.d.ts +0 -196
  160. package/dist/v2/brand/BrandColorSwatches.d.ts +0 -4
  161. package/dist/v2/brand/BrandPanel.d.ts +0 -4
  162. package/dist/v2/brand/ChangeSetGallery.d.ts +0 -10
  163. package/dist/v2/brand/StyleSetEditor.d.ts +0 -22
  164. package/dist/v2/canvas/CatalogDragContext.d.ts +0 -27
  165. package/dist/v2/canvas/ContextMenuContext.d.ts +0 -16
  166. package/dist/v2/canvas/DeviceModeContext.d.ts +0 -20
  167. package/dist/v2/canvas/DragEngineContext.d.ts +0 -13
  168. package/dist/v2/canvas/LayoutGuideContext.d.ts +0 -22
  169. package/dist/v2/canvas/PreviewModeContext.d.ts +0 -15
  170. package/dist/v2/canvas/SidebarContext.d.ts +0 -21
  171. package/dist/v2/canvas/StylePainterContext.d.ts +0 -19
  172. package/dist/v2/canvas/WorkspaceThemeContext.d.ts +0 -19
  173. package/dist/v2/canvas/aiTextTransforms.d.ts +0 -24
  174. package/dist/v2/canvas/animationPresets.d.ts +0 -12
  175. package/dist/v2/canvas/constants.d.ts +0 -6
  176. package/dist/v2/canvas/layoutRoles.d.ts +0 -12
  177. package/dist/v2/canvas/modelRect.d.ts +0 -4
  178. package/dist/v2/canvas/rectMath.d.ts +0 -34
  179. package/dist/v2/canvas/reorderMath.d.ts +0 -8
  180. package/dist/v2/canvas/resizeMath.d.ts +0 -16
  181. package/dist/v2/canvas/resolveBoxStyle.d.ts +0 -12
  182. package/dist/v2/canvas/resolveTargetSection.d.ts +0 -10
  183. package/dist/v2/canvas/sectionDividerShapes.d.ts +0 -12
  184. package/dist/v2/canvas/snapping.d.ts +0 -28
  185. package/dist/v2/canvas/useAlignNode.d.ts +0 -10
  186. package/dist/v2/canvas/useClipboardKeyBinding.d.ts +0 -7
  187. package/dist/v2/canvas/useDeleteKeyBinding.d.ts +0 -3
  188. package/dist/v2/canvas/useDragEngine.d.ts +0 -44
  189. package/dist/v2/canvas/useDraggableNode.d.ts +0 -30
  190. package/dist/v2/canvas/useInlineTextEdit.d.ts +0 -29
  191. package/dist/v2/canvas/usePointerEngine.d.ts +0 -22
  192. package/dist/v2/canvas/useResizeHandle.d.ts +0 -12
  193. package/dist/v2/canvas/useResolvedTextStyles.d.ts +0 -13
  194. package/dist/v2/canvas/useSelectionRects.d.ts +0 -13
  195. package/dist/v2/canvas/useUndoRedoKeyBinding.d.ts +0 -8
  196. package/dist/v2/catalog/elementCatalog.d.ts +0 -31
  197. package/dist/v2/catalog/imagePreset.d.ts +0 -7
  198. package/dist/v2/compile/toReact.d.ts +0 -32
  199. package/dist/v2/components/AdornmentLayer.d.ts +0 -20
  200. package/dist/v2/components/AskSolPanel.d.ts +0 -25
  201. package/dist/v2/components/CatalogDragGhost.d.ts +0 -6
  202. package/dist/v2/components/CellBoundary.d.ts +0 -14
  203. package/dist/v2/components/CenterCanvas.d.ts +0 -3
  204. package/dist/v2/components/ContentTabPanel.d.ts +0 -12
  205. package/dist/v2/components/ContextMenu.d.ts +0 -5
  206. package/dist/v2/components/ContextualToolbar.d.ts +0 -25
  207. package/dist/v2/components/ImagesTabPanel.d.ts +0 -15
  208. package/dist/v2/components/LayoutGuidePanel.d.ts +0 -10
  209. package/dist/v2/components/ManageLayersPanel.d.ts +0 -13
  210. package/dist/v2/components/NodeRenderer.d.ts +0 -8
  211. package/dist/v2/components/PreviewOverlay.d.ts +0 -11
  212. package/dist/v2/components/ResizeHandle.d.ts +0 -6
  213. package/dist/v2/components/RightRail.d.ts +0 -13
  214. package/dist/v2/components/SectionDividerOverlay.d.ts +0 -8
  215. package/dist/v2/components/SectionEdgeAddZone.d.ts +0 -17
  216. package/dist/v2/components/SectionGridOverlay.d.ts +0 -10
  217. package/dist/v2/components/SectionNamePill.d.ts +0 -6
  218. package/dist/v2/components/SectionNode.d.ts +0 -5
  219. package/dist/v2/components/SectionSideRail.d.ts +0 -17
  220. package/dist/v2/components/SelectionToolbar.d.ts +0 -11
  221. package/dist/v2/components/StylePainterToast.d.ts +0 -5
  222. package/dist/v2/components/V2Canvas.d.ts +0 -59
  223. package/dist/v2/components/nodes/ButtonNode.d.ts +0 -4
  224. package/dist/v2/components/nodes/ContainerNode.d.ts +0 -11
  225. package/dist/v2/components/nodes/EmbedNode.d.ts +0 -4
  226. package/dist/v2/components/nodes/ImageNode.d.ts +0 -4
  227. package/dist/v2/components/nodes/InputNode.d.ts +0 -4
  228. package/dist/v2/components/nodes/MenuNode.d.ts +0 -18
  229. package/dist/v2/components/nodes/TextNode.d.ts +0 -4
  230. package/dist/v2/inspector/AiQuickEditPanel.d.ts +0 -12
  231. package/dist/v2/inspector/AnimationPanel.d.ts +0 -11
  232. package/dist/v2/inspector/DesignAccordions.d.ts +0 -7
  233. package/dist/v2/inspector/FieldRenderer.d.ts +0 -9
  234. package/dist/v2/inspector/IconPopoverButton.d.ts +0 -9
  235. package/dist/v2/inspector/MenuIconPanel.d.ts +0 -7
  236. package/dist/v2/inspector/MenuManagePanel.d.ts +0 -8
  237. package/dist/v2/inspector/Popover.d.ts +0 -21
  238. package/dist/v2/inspector/SectionDividerPanel.d.ts +0 -9
  239. package/dist/v2/inspector/fieldStyles.d.ts +0 -15
  240. package/dist/v2/inspector/fields/ColorField.d.ts +0 -7
  241. package/dist/v2/inspector/fields/NumberField.d.ts +0 -7
  242. package/dist/v2/inspector/fields/SelectField.d.ts +0 -7
  243. package/dist/v2/inspector/fields/TextField.d.ts +0 -7
  244. package/dist/v2/inspector/fields/TextStyleField.d.ts +0 -11
  245. package/dist/v2/inspector/fields/TextareaField.d.ts +0 -7
  246. package/dist/v2/inspector/schema.d.ts +0 -25
  247. package/dist/v2/inspector/useFieldCommit.d.ts +0 -12
  248. package/dist/v2/store/brandDefaults.d.ts +0 -4
  249. package/dist/v2/store/brandTypes.d.ts +0 -40
  250. package/dist/v2/store/cloneSubtree.d.ts +0 -12
  251. package/dist/v2/store/createBrandStore.d.ts +0 -2
  252. package/dist/v2/store/createCanvasStore.d.ts +0 -2
  253. package/dist/v2/store/seed.d.ts +0 -17
  254. package/dist/v2/store/types.d.ts +0 -163
  255. package/dist/v2/ui/theme.d.ts +0 -85
@@ -0,0 +1,2912 @@
1
+ import { n as e, t } from "./columnOrder-f5-VOg2T.js";
2
+ import { a as n, i as r, n as i, o as a, r as o } from "./colorUtils-ohNG3v1i.js";
3
+ import { createContext as s, createElement as c, forwardRef as l, useCallback as u, useContext as d, useEffect as f, useLayoutEffect as p, useMemo as m, useRef as h, useState as g } from "react";
4
+ import { Fragment as _, jsx as v, jsxs as y } from "react/jsx-runtime";
5
+ import { create as ee } from "zustand";
6
+ import te from "react-dom";
7
+ //#region src/store.ts
8
+ var b = () => ({
9
+ backgroundColor: "#ffffff",
10
+ borderRadius: "20px",
11
+ width: "100%",
12
+ padding: "24px",
13
+ paddingTop: "24px",
14
+ paddingRight: "24px",
15
+ paddingBottom: "24px",
16
+ paddingLeft: "24px",
17
+ fieldSpacing: "12px",
18
+ borderWidth: "1px",
19
+ borderStyle: "solid",
20
+ borderColor: "#dbe4f0",
21
+ boxShadow: "0 18px 40px rgba(15, 23, 42, 0.08)",
22
+ buttonBackgroundColor: "#0f172a",
23
+ buttonTextColor: "#ffffff",
24
+ buttonBorderRadius: "12px",
25
+ buttonPaddingTop: "10px",
26
+ buttonPaddingBottom: "10px",
27
+ buttonPaddingLeft: "14px",
28
+ buttonPaddingRight: "14px",
29
+ buttonFontSize: "13px",
30
+ buttonFontWeight: "700"
31
+ }), x = (e) => e.type === "form_container" ? {
32
+ ...e,
33
+ style: {
34
+ ...b(),
35
+ ...e.style || {}
36
+ }
37
+ } : e, S = (e) => {
38
+ let t = JSON.parse(JSON.stringify(e));
39
+ return (Array.isArray(t?.body?.rows) ? t.body.rows : []).forEach((e) => {
40
+ (Array.isArray(e?.columns) ? e.columns : []).forEach((e) => {
41
+ e.elements = (Array.isArray(e?.elements) ? e.elements : []).map((e) => x(e));
42
+ });
43
+ }), t;
44
+ }, C = ee((n) => ({
45
+ template: { body: {
46
+ style: { background: "#0b0f19" },
47
+ rows: []
48
+ } },
49
+ selectedElementId: null,
50
+ selectedRowId: null,
51
+ selectedColumnId: null,
52
+ past: [],
53
+ future: [],
54
+ strataTokens: [],
55
+ setStrataTokens: (e) => n({ strataTokens: e }),
56
+ builderTheme: {},
57
+ setBuilderTheme: (e) => n({ builderTheme: e }),
58
+ selectElement: (e) => n({
59
+ selectedElementId: e,
60
+ selectedRowId: null,
61
+ selectedColumnId: null
62
+ }),
63
+ selectRow: (e) => n({
64
+ selectedElementId: null,
65
+ selectedRowId: e,
66
+ selectedColumnId: null
67
+ }),
68
+ selectColumn: (e) => n({
69
+ selectedElementId: null,
70
+ selectedRowId: null,
71
+ selectedColumnId: e
72
+ }),
73
+ undo: () => n((e) => {
74
+ if (e.past.length === 0) return {};
75
+ let t = e.past[e.past.length - 1];
76
+ return {
77
+ past: e.past.slice(0, e.past.length - 1),
78
+ future: [JSON.parse(JSON.stringify(e.template)), ...e.future],
79
+ template: t
80
+ };
81
+ }),
82
+ redo: () => n((e) => {
83
+ if (e.future.length === 0) return {};
84
+ let t = e.future[0], n = e.future.slice(1);
85
+ return {
86
+ past: [...e.past, JSON.parse(JSON.stringify(e.template))],
87
+ future: n,
88
+ template: t
89
+ };
90
+ }),
91
+ hydrateTemplate: (e) => n(() => ({
92
+ past: [],
93
+ future: [],
94
+ template: S(e),
95
+ selectedElementId: null,
96
+ selectedRowId: null,
97
+ selectedColumnId: null
98
+ })),
99
+ updateRowStyle: (e, t, r) => n((n) => {
100
+ let i = JSON.parse(JSON.stringify(n.template)), a = !1, o = (n) => {
101
+ for (let i of n) {
102
+ if (i.id === e) {
103
+ r === "tablet" ? i.styleTablet = {
104
+ ...i.styleTablet || {},
105
+ ...t
106
+ } : r === "mobile" ? i.styleMobile = {
107
+ ...i.styleMobile || {},
108
+ ...t
109
+ } : i.style = {
110
+ ...i.style,
111
+ ...t
112
+ }, a = !0;
113
+ return;
114
+ }
115
+ for (let e of i.columns) if (o(e.nestedRows || []), a) return;
116
+ }
117
+ };
118
+ return o(i.body.rows), {
119
+ past: [...n.past, JSON.parse(JSON.stringify(n.template))],
120
+ future: [],
121
+ template: i
122
+ };
123
+ }),
124
+ updateRowAttrs: (e, t) => n((n) => {
125
+ let r = JSON.parse(JSON.stringify(n.template)), i = !1, a = (n) => {
126
+ for (let r of n) {
127
+ if (r.id === e) {
128
+ t.htmlId !== void 0 && (r.htmlId = t.htmlId), t.htmlClass !== void 0 && (r.htmlClass = t.htmlClass), i = !0;
129
+ return;
130
+ }
131
+ for (let e of r.columns) if (a(e.nestedRows || []), i) return;
132
+ }
133
+ };
134
+ return a(r.body.rows), i ? {
135
+ past: [...n.past, JSON.parse(JSON.stringify(n.template))],
136
+ future: [],
137
+ template: r
138
+ } : {};
139
+ }),
140
+ updateColumnStyle: (e, t, r) => n((n) => {
141
+ let i = JSON.parse(JSON.stringify(n.template)), a = !1, o = (n) => {
142
+ for (let i of n) for (let n of i.columns) {
143
+ if (n.id === e) return r === "tablet" ? n.stylesTablet = {
144
+ ...n.stylesTablet || {},
145
+ ...t
146
+ } : r === "mobile" ? n.stylesMobile = {
147
+ ...n.stylesMobile || {},
148
+ ...t
149
+ } : n.styles = {
150
+ ...n.styles || {},
151
+ ...t
152
+ }, !0;
153
+ if (n.nestedRows && o(n.nestedRows)) return !0;
154
+ }
155
+ return !1;
156
+ };
157
+ return a = o(i.body.rows), a ? {
158
+ past: [...n.past, JSON.parse(JSON.stringify(n.template))],
159
+ future: [],
160
+ template: i
161
+ } : {};
162
+ }),
163
+ updateColumnAttrs: (e, t) => n((n) => {
164
+ let r = JSON.parse(JSON.stringify(n.template)), i = !1, a = (n) => {
165
+ for (let r of n) for (let n of r.columns) {
166
+ if (n.id === e) return n.attrs = {
167
+ ...n.attrs || {},
168
+ ...t
169
+ }, i = !0, !0;
170
+ if (n.nestedRows && a(n.nestedRows)) return !0;
171
+ }
172
+ return !1;
173
+ };
174
+ return a(r.body.rows), i ? {
175
+ past: [...n.past, JSON.parse(JSON.stringify(n.template))],
176
+ future: [],
177
+ template: r
178
+ } : {};
179
+ }),
180
+ addElement: (r, i, a, o) => n((n) => {
181
+ let r = JSON.parse(JSON.stringify(n.template)), s = (e, t) => {
182
+ for (let n of e) for (let e of n.columns) {
183
+ if (e.id === t) return e;
184
+ let n = s(e.nestedRows || [], t);
185
+ if (n) return n;
186
+ }
187
+ return null;
188
+ }, c = s(r.body.rows, i);
189
+ if (!c) return {};
190
+ let l = x(a), u = t(c);
191
+ return c.elements.push(l), c.childOrder = e(u, l.id, o), {
192
+ past: [...n.past, JSON.parse(JSON.stringify(n.template))],
193
+ future: [],
194
+ template: r
195
+ };
196
+ }),
197
+ moveElement: (r, i, a, o) => n((n) => {
198
+ let i = JSON.parse(JSON.stringify(n.template)), s = (e, t) => {
199
+ for (let n of e) for (let e of n.columns) {
200
+ if (e.id === t) return e;
201
+ let n = s(e.nestedRows || [], t);
202
+ if (n) return n;
203
+ }
204
+ return null;
205
+ }, c = s(i.body.rows, a), l = c ? t(c).indexOf(r) : -1, u = (e) => {
206
+ for (let t of e) for (let e of t.columns) {
207
+ let t = e.elements.findIndex((e) => e.id === r);
208
+ if (t !== -1) return e.elements.splice(t, 1)[0];
209
+ let n = u(e.nestedRows || []);
210
+ if (n) return n;
211
+ }
212
+ return null;
213
+ }, d = u(i.body.rows);
214
+ if (!d) return {};
215
+ let f = s(i.body.rows, a);
216
+ if (!f) return {};
217
+ let p = t(f).filter((e) => e !== r);
218
+ f.elements.push(d);
219
+ let m;
220
+ return typeof o == "number" ? (m = o, l !== -1 && l < m && --m) : m = p.length, f.childOrder = e(p, r, m), {
221
+ past: [...n.past, JSON.parse(JSON.stringify(n.template))],
222
+ future: [],
223
+ template: i
224
+ };
225
+ }),
226
+ updateElement: (e, t) => n((n) => {
227
+ let r = JSON.parse(JSON.stringify(n.template)), i = (n) => {
228
+ for (let r of n) for (let n of r.columns) {
229
+ let r = n.elements.find((t) => t.id === e);
230
+ if (r) return t.style && (r.style = {
231
+ ...r.type === "form_container" ? b() : {},
232
+ ...r.style,
233
+ ...t.style
234
+ }), t.styleTablet && (r.styleTablet = {
235
+ ...r.styleTablet || {},
236
+ ...t.styleTablet
237
+ }), t.styleMobile && (r.styleMobile = {
238
+ ...r.styleMobile || {},
239
+ ...t.styleMobile
240
+ }), t.attributes && (r.attributes = {
241
+ ...r.attributes,
242
+ ...t.attributes
243
+ }), !0;
244
+ if (i(n.nestedRows || [])) return !0;
245
+ }
246
+ return !1;
247
+ };
248
+ return i(r.body.rows) ? {
249
+ past: [...n.past, JSON.parse(JSON.stringify(n.template))],
250
+ future: [],
251
+ template: r
252
+ } : {};
253
+ }),
254
+ deleteElement: (e) => n((t) => {
255
+ let n = JSON.parse(JSON.stringify(t.template)), r = (t) => {
256
+ for (let n of t) for (let t of n.columns) {
257
+ let n = t.elements.findIndex((t) => t.id === e);
258
+ if (n !== -1) return t.elements.splice(n, 1), !0;
259
+ if (r(t.nestedRows || [])) return !0;
260
+ }
261
+ return !1;
262
+ };
263
+ if (!r(n.body.rows)) return {};
264
+ let i = {};
265
+ return t.selectedElementId === e && (i.selectedElementId = null), {
266
+ past: [...t.past, JSON.parse(JSON.stringify(t.template))],
267
+ future: [],
268
+ template: n,
269
+ ...i
270
+ };
271
+ }),
272
+ duplicateElement: (r) => n((n) => {
273
+ let i = JSON.parse(JSON.stringify(n.template)), a = null, o = -1, s = null, c = (e) => {
274
+ for (let t of e) for (let e of t.columns) {
275
+ let t = e.elements.findIndex((e) => e.id === r);
276
+ if (t !== -1) return a = e, o = t, s = e.elements[t], !0;
277
+ if (c(e.nestedRows || [])) return !0;
278
+ }
279
+ return !1;
280
+ };
281
+ if (c(i.body.rows), !a || !s) return {};
282
+ let l = JSON.parse(JSON.stringify(s));
283
+ l.id = `elem-${l.type}-${Date.now()}`;
284
+ let u = a, d = t(u);
285
+ u.elements.splice(o + 1, 0, l);
286
+ let f = d.indexOf(r);
287
+ return u.childOrder = e(d, l.id, f === -1 ? void 0 : f + 1), {
288
+ past: [...n.past, JSON.parse(JSON.stringify(n.template))],
289
+ future: [],
290
+ template: i
291
+ };
292
+ }),
293
+ addRow: (e, t) => n((n) => {
294
+ let r = JSON.parse(JSON.stringify(n.template));
295
+ return typeof t == "number" ? r.body.rows.splice(t, 0, e) : r.body.rows.push(e), {
296
+ past: [...n.past, JSON.parse(JSON.stringify(n.template))],
297
+ future: [],
298
+ template: r
299
+ };
300
+ }),
301
+ moveRow: (e, t) => n((n) => {
302
+ let r = JSON.parse(JSON.stringify(n.template)), i = r.body.rows.findIndex((t) => t.id === e);
303
+ if (i === -1) return {};
304
+ let [a] = r.body.rows.splice(i, 1), o = i < t ? t - 1 : t;
305
+ return r.body.rows.splice(o, 0, a), {
306
+ past: [...n.past, JSON.parse(JSON.stringify(n.template))],
307
+ future: [],
308
+ template: r
309
+ };
310
+ }),
311
+ deleteRow: (e) => n((t) => {
312
+ let n = JSON.parse(JSON.stringify(t.template)), r = (t) => {
313
+ let n = t.findIndex((t) => t.id === e);
314
+ if (n !== -1) return t.splice(n, 1), !0;
315
+ for (let e of t) for (let t of e.columns) if (t.nestedRows && r(t.nestedRows)) return !0;
316
+ return !1;
317
+ };
318
+ if (!r(n.body.rows)) return {};
319
+ let i = {};
320
+ return t.selectedRowId === e && (i.selectedRowId = null), {
321
+ past: [...t.past, JSON.parse(JSON.stringify(t.template))],
322
+ future: [],
323
+ template: n,
324
+ ...i
325
+ };
326
+ }),
327
+ duplicateRow: (e) => n((t) => {
328
+ let n = JSON.parse(JSON.stringify(t.template)), r = (t) => {
329
+ let n = t.findIndex((t) => t.id === e);
330
+ if (n !== -1) {
331
+ let e = t[n], r = JSON.parse(JSON.stringify(e)), i = (e) => {
332
+ e.id = `row-${Date.now()}-${Math.random().toString(36).substr(2, 4)}`, e.columns.forEach((t, n) => {
333
+ t.id = `col-${e.id}-${n + 1}`, t.elements.forEach((e, t) => {
334
+ e.id = `elem-${e.type}-${Date.now()}-${n}-${t}-${Math.random().toString(36).substr(2, 4)}`;
335
+ }), t.nestedRows && t.nestedRows.length > 0 && t.nestedRows.forEach(i);
336
+ });
337
+ };
338
+ return i(r), t.splice(n + 1, 0, r), !0;
339
+ }
340
+ for (let e of t) for (let t of e.columns) if (t.nestedRows && r(t.nestedRows)) return !0;
341
+ return !1;
342
+ };
343
+ return r(n.body.rows) ? {
344
+ past: [...t.past, JSON.parse(JSON.stringify(t.template))],
345
+ future: [],
346
+ template: n
347
+ } : {};
348
+ }),
349
+ updateRowColumns: (e, t) => n((n) => {
350
+ let r = JSON.parse(JSON.stringify(n.template)), i = r.body.rows.find((t) => t.id === e);
351
+ if (!i) return {};
352
+ let a = [];
353
+ return i.columns.forEach((e) => {
354
+ a.push(...e.elements);
355
+ }), i.columns = t.map((t, n) => ({
356
+ id: `col-${e}-${n + 1}`,
357
+ width: t,
358
+ elements: n === 0 ? a : [],
359
+ styles: {}
360
+ })), {
361
+ past: [...n.past, JSON.parse(JSON.stringify(n.template))],
362
+ future: [],
363
+ template: r
364
+ };
365
+ }),
366
+ updateColumnWidth: (e, t) => n((n) => {
367
+ let r = JSON.parse(JSON.stringify(n.template)), i = (n) => {
368
+ for (let r of n) for (let n of r.columns) {
369
+ if (n.id === e) return n.width = t, !0;
370
+ if (n.nestedRows && i(n.nestedRows)) return !0;
371
+ }
372
+ return !1;
373
+ };
374
+ return i(r.body.rows), {
375
+ past: [...n.past, JSON.parse(JSON.stringify(n.template))],
376
+ future: [],
377
+ template: r
378
+ };
379
+ }),
380
+ updateTemplateBodyStyle: (e) => n((t) => {
381
+ let n = JSON.parse(JSON.stringify(t.template));
382
+ return n.body.style = {
383
+ ...n.body.style,
384
+ ...e
385
+ }, {
386
+ past: [...t.past, JSON.parse(JSON.stringify(t.template))],
387
+ future: [],
388
+ template: n
389
+ };
390
+ }),
391
+ addUploadedImage: (e) => n((t) => {
392
+ let n = JSON.parse(JSON.stringify(t.template));
393
+ return n.body.uploadedImages || (n.body.uploadedImages = []), n.body.uploadedImages.some((t) => t.src === e.src) || n.body.uploadedImages.unshift(e), {
394
+ past: [...t.past, JSON.parse(JSON.stringify(t.template))],
395
+ future: [],
396
+ template: n
397
+ };
398
+ }),
399
+ addColumnToRow: (e) => {
400
+ let t = null;
401
+ return n((n) => {
402
+ let r = JSON.parse(JSON.stringify(n.template)), i = (t) => {
403
+ for (let n of t) {
404
+ if (n.id === e) return n;
405
+ for (let e of n.columns) {
406
+ let t = i(e.nestedRows || []);
407
+ if (t) return t;
408
+ }
409
+ }
410
+ return null;
411
+ }, a = i(r.body.rows);
412
+ if (!a) return {};
413
+ let o = `${(100 / (a.columns.length + 1)).toFixed(1)}%`;
414
+ return a.columns.forEach((e) => {
415
+ e.width = o;
416
+ }), t = `col-${e}-new-${Date.now()}`, a.columns.push({
417
+ id: t,
418
+ width: o,
419
+ elements: [],
420
+ styles: {}
421
+ }), {
422
+ past: [...n.past, JSON.parse(JSON.stringify(n.template))],
423
+ future: [],
424
+ template: r
425
+ };
426
+ }), t;
427
+ },
428
+ deleteColumnFromRow: (e) => n((t) => {
429
+ let n = JSON.parse(JSON.stringify(t.template)), r = null, i = (t) => {
430
+ for (let n = 0; n < t.length; n++) {
431
+ let a = t[n], o = a.columns.findIndex((t) => t.id === e);
432
+ if (o !== -1) {
433
+ if (a.columns.length <= 1) r = a.id, t.splice(n, 1);
434
+ else {
435
+ a.columns.splice(o, 1);
436
+ let e = `${(100 / a.columns.length).toFixed(1)}%`;
437
+ a.columns.forEach((t) => {
438
+ t.width = e;
439
+ });
440
+ }
441
+ return !0;
442
+ }
443
+ for (let e of a.columns) if (i(e.nestedRows || [])) return !0;
444
+ }
445
+ return !1;
446
+ };
447
+ if (!i(n.body.rows)) return {};
448
+ let a = { selectedColumnId: null };
449
+ return r && t.selectedRowId === r && (a.selectedRowId = null), {
450
+ past: [...t.past, JSON.parse(JSON.stringify(t.template))],
451
+ future: [],
452
+ template: n,
453
+ ...a
454
+ };
455
+ }),
456
+ duplicateColumn: (e) => n((t) => {
457
+ let n = JSON.parse(JSON.stringify(t.template)), r = "", i = (e, t) => {
458
+ e.id = `${t}-${Date.now()}-${Math.random().toString(36).substr(2, 5)}`, e.elements && e.elements.forEach((e) => {
459
+ e.id = `elem-${Date.now()}-${Math.random().toString(36).substr(2, 5)}`;
460
+ }), e.nestedRows && e.nestedRows.forEach((e) => {
461
+ e.id = `row-${Date.now()}-${Math.random().toString(36).substr(2, 5)}`, e.columns && e.columns.forEach((t, n) => {
462
+ i(t, `col-${e.id}-${n + 1}`);
463
+ });
464
+ });
465
+ }, a = (t) => {
466
+ for (let n of t) {
467
+ let t = n.columns.findIndex((t) => t.id === e);
468
+ if (t !== -1) {
469
+ let e = JSON.parse(JSON.stringify(n.columns[t]));
470
+ r = `col-${n.id}-dup-${Date.now()}`, i(e, r), e.id = r, n.columns.splice(t + 1, 0, e);
471
+ let a = `${(100 / n.columns.length).toFixed(1)}%`;
472
+ return n.columns.forEach((e) => {
473
+ e.width = a;
474
+ }), !0;
475
+ }
476
+ for (let e of n.columns) if (a(e.nestedRows || [])) return !0;
477
+ }
478
+ return !1;
479
+ };
480
+ return a(n.body.rows) ? {
481
+ past: [...t.past, JSON.parse(JSON.stringify(t.template))],
482
+ future: [],
483
+ template: n,
484
+ selectedColumnId: r || null
485
+ } : {};
486
+ }),
487
+ moveColumn: (e, t, r) => n((n) => {
488
+ let i = JSON.parse(JSON.stringify(n.template)), a = null, o = (t) => {
489
+ for (let n = 0; n < t.length; n++) {
490
+ let r = t[n], i = r.columns.findIndex((t) => t.id === e);
491
+ if (i !== -1) {
492
+ if ([a] = r.columns.splice(i, 1), r.columns.length === 0) t.splice(n, 1);
493
+ else {
494
+ let e = `${(100 / r.columns.length).toFixed(1)}%`;
495
+ r.columns.forEach((t) => {
496
+ t.width = e;
497
+ });
498
+ }
499
+ return !0;
500
+ }
501
+ for (let e of r.columns) if (o(e.nestedRows || [])) return !0;
502
+ }
503
+ return !1;
504
+ };
505
+ if (!o(i.body.rows) || !a) return {};
506
+ let s = (e) => {
507
+ for (let n of e) {
508
+ if (n.id === t) {
509
+ let e = r ? n.columns.findIndex((e) => e.id === r) : -1;
510
+ e === -1 ? n.columns.push(a) : n.columns.splice(e, 0, a);
511
+ let t = `${(100 / n.columns.length).toFixed(1)}%`;
512
+ return n.columns.forEach((e) => {
513
+ e.width = t;
514
+ }), !0;
515
+ }
516
+ for (let e of n.columns) if (s(e.nestedRows || [])) return !0;
517
+ }
518
+ return !1;
519
+ };
520
+ return s(i.body.rows) ? {
521
+ past: [...n.past, JSON.parse(JSON.stringify(n.template))],
522
+ future: [],
523
+ template: i,
524
+ selectedColumnId: e
525
+ } : {};
526
+ }),
527
+ addNestedRowToColumn: (e, t, r) => n((n) => {
528
+ let i = JSON.parse(JSON.stringify(n.template)), a = i.body.rows.find((t) => t.id === e);
529
+ if (!a) return {};
530
+ let o = a.columns.find((e) => e.id === t);
531
+ return o ? (o.nestedRows ||= [], o.nestedRows.push(r), {
532
+ past: [...n.past, JSON.parse(JSON.stringify(n.template))],
533
+ future: [],
534
+ template: i
535
+ }) : {};
536
+ }),
537
+ nestRowInColumn: (r, i, a, o) => n((n) => {
538
+ let s = JSON.parse(JSON.stringify(n.template)), c = s.body.rows.findIndex((e) => e.id === r);
539
+ if (c === -1) return {};
540
+ let [l] = s.body.rows.splice(c, 1), u = s.body.rows.find((e) => e.id === i);
541
+ if (!u) return {};
542
+ let d = u.columns.find((e) => e.id === a);
543
+ if (!d) return {};
544
+ d.nestedRows ||= [];
545
+ let f = t(d);
546
+ return d.nestedRows.push(l), d.childOrder = e(f, r, o), {
547
+ past: [...n.past, JSON.parse(JSON.stringify(n.template))],
548
+ future: [],
549
+ template: s
550
+ };
551
+ }),
552
+ moveNestedRowToTopLevel: (e, t, r, i) => n((n) => {
553
+ let a = JSON.parse(JSON.stringify(n.template)), o = (n) => {
554
+ for (let i of n) for (let n of i.columns) {
555
+ if (n.id === r && i.id === t) {
556
+ let t = (n.nestedRows || []).findIndex((t) => t.id === e);
557
+ if (t !== -1) {
558
+ let [e] = n.nestedRows.splice(t, 1);
559
+ return e;
560
+ }
561
+ }
562
+ let a = o(n.nestedRows || []);
563
+ if (a) return a;
564
+ }
565
+ return null;
566
+ }, s = o(a.body.rows);
567
+ if (!s) return {};
568
+ let c = typeof i == "number" ? Math.min(i, a.body.rows.length) : a.body.rows.length;
569
+ return a.body.rows.splice(c, 0, s), {
570
+ past: [...n.past, JSON.parse(JSON.stringify(n.template))],
571
+ future: [],
572
+ template: a
573
+ };
574
+ }),
575
+ moveNestedRowBetweenColumns: (r, i, a, o, s, c) => n((n) => {
576
+ let l = JSON.parse(JSON.stringify(n.template)), u = (e, t, n) => {
577
+ for (let r of e) {
578
+ if (r.id === n) {
579
+ let e = r.columns.find((e) => e.id === t);
580
+ if (e) return e;
581
+ }
582
+ for (let e of r.columns) {
583
+ let r = u(e.nestedRows || [], t, n);
584
+ if (r) return r;
585
+ }
586
+ }
587
+ return null;
588
+ }, d = u(l.body.rows, s, o), f = d ? t(d).indexOf(r) : -1, p = (e) => {
589
+ for (let t of e) for (let e of t.columns) {
590
+ if (e.id === a && t.id === i) {
591
+ let t = (e.nestedRows || []).findIndex((e) => e.id === r);
592
+ if (t !== -1) {
593
+ let [n] = e.nestedRows.splice(t, 1);
594
+ return n;
595
+ }
596
+ }
597
+ let n = p(e.nestedRows || []);
598
+ if (n) return n;
599
+ }
600
+ return null;
601
+ }, m = p(l.body.rows);
602
+ if (!m) return {};
603
+ let h = u(l.body.rows, s, o);
604
+ if (!h) return {};
605
+ h.nestedRows ||= [];
606
+ let g = t(h).filter((e) => e !== r);
607
+ h.nestedRows.push(m);
608
+ let _;
609
+ return typeof c == "number" ? (_ = c, f !== -1 && f < _ && --_) : _ = g.length, h.childOrder = e(g, r, _), {
610
+ past: [...n.past, JSON.parse(JSON.stringify(n.template))],
611
+ future: [],
612
+ template: l
613
+ };
614
+ })
615
+ })), w = (...e) => e.filter((e, t, n) => !!e && e.trim() !== "" && n.indexOf(e) === t).join(" ").trim(), T = (e) => e.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase(), E = (e) => e.replace(/^([A-Z])|[\s-_]+(\w)/g, (e, t, n) => n ? n.toUpperCase() : t.toLowerCase()), D = (e) => {
616
+ let t = E(e);
617
+ return t.charAt(0).toUpperCase() + t.slice(1);
618
+ }, O = {
619
+ xmlns: "http://www.w3.org/2000/svg",
620
+ width: 24,
621
+ height: 24,
622
+ viewBox: "0 0 24 24",
623
+ fill: "none",
624
+ stroke: "currentColor",
625
+ strokeWidth: 2,
626
+ strokeLinecap: "round",
627
+ strokeLinejoin: "round"
628
+ }, k = (e) => {
629
+ for (let t in e) if (t.startsWith("aria-") || t === "role" || t === "title") return !0;
630
+ return !1;
631
+ }, A = s({});
632
+ function ne({ children: e, size: t, color: n, strokeWidth: r, absoluteStrokeWidth: i, className: a }) {
633
+ let o = m(() => ({
634
+ size: t,
635
+ color: n,
636
+ strokeWidth: r,
637
+ absoluteStrokeWidth: i,
638
+ className: a
639
+ }), [
640
+ t,
641
+ n,
642
+ r,
643
+ i,
644
+ a
645
+ ]);
646
+ return c(A.Provider, { value: o }, e);
647
+ }
648
+ var j = () => d(A), re = l(({ color: e, size: t, strokeWidth: n, absoluteStrokeWidth: r, className: i = "", children: a, iconNode: o, ...s }, l) => {
649
+ let { size: u = 24, strokeWidth: d = 2, absoluteStrokeWidth: f = !1, color: p = "currentColor", className: m = "" } = j() ?? {}, h = r ?? f ? Number(n ?? d) * 24 / Number(t ?? u) : n ?? d;
650
+ return c("svg", {
651
+ ref: l,
652
+ ...O,
653
+ width: t ?? u ?? O.width,
654
+ height: t ?? u ?? O.height,
655
+ stroke: e ?? p,
656
+ strokeWidth: h,
657
+ className: w("lucide", m, i),
658
+ ...!a && !k(s) && { "aria-hidden": "true" },
659
+ ...s
660
+ }, [...o.map(([e, t]) => c(e, t)), ...Array.isArray(a) ? a : [a]]);
661
+ }), M = (e, t) => {
662
+ let n = l(({ className: n, ...r }, i) => c(re, {
663
+ ref: i,
664
+ iconNode: t,
665
+ className: w(`lucide-${T(D(e))}`, `lucide-${e}`, n),
666
+ ...r
667
+ }));
668
+ return n.displayName = D(e), n;
669
+ }, N = M("align-center-vertical", [
670
+ ["path", {
671
+ d: "M12 2v20",
672
+ key: "t6zp3m"
673
+ }],
674
+ ["path", {
675
+ d: "M8 10H4a2 2 0 0 1-2-2V6c0-1.1.9-2 2-2h4",
676
+ key: "14d6g8"
677
+ }],
678
+ ["path", {
679
+ d: "M16 10h4a2 2 0 0 0 2-2V6a2 2 0 0 0-2-2h-4",
680
+ key: "1e2lrw"
681
+ }],
682
+ ["path", {
683
+ d: "M8 20H7a2 2 0 0 1-2-2v-2c0-1.1.9-2 2-2h1",
684
+ key: "1fkdwx"
685
+ }],
686
+ ["path", {
687
+ d: "M16 14h1a2 2 0 0 1 2 2v2a2 2 0 0 1-2 2h-1",
688
+ key: "1euafb"
689
+ }]
690
+ ]), P = M("align-end-vertical", [
691
+ ["rect", {
692
+ width: "16",
693
+ height: "6",
694
+ x: "2",
695
+ y: "4",
696
+ rx: "2",
697
+ key: "10wcwx"
698
+ }],
699
+ ["rect", {
700
+ width: "9",
701
+ height: "6",
702
+ x: "9",
703
+ y: "14",
704
+ rx: "2",
705
+ key: "4p5bwg"
706
+ }],
707
+ ["path", {
708
+ d: "M22 22V2",
709
+ key: "12ipfv"
710
+ }]
711
+ ]), F = M("align-horizontal-distribute-center", [
712
+ ["rect", {
713
+ width: "6",
714
+ height: "14",
715
+ x: "4",
716
+ y: "5",
717
+ rx: "2",
718
+ key: "1wwnby"
719
+ }],
720
+ ["rect", {
721
+ width: "6",
722
+ height: "10",
723
+ x: "14",
724
+ y: "7",
725
+ rx: "2",
726
+ key: "1fe6j6"
727
+ }],
728
+ ["path", {
729
+ d: "M17 22v-5",
730
+ key: "4b6g73"
731
+ }],
732
+ ["path", {
733
+ d: "M17 7V2",
734
+ key: "hnrr36"
735
+ }],
736
+ ["path", {
737
+ d: "M7 22v-3",
738
+ key: "1r4jpn"
739
+ }],
740
+ ["path", {
741
+ d: "M7 5V2",
742
+ key: "liy1u9"
743
+ }]
744
+ ]), ie = M("align-start-vertical", [
745
+ ["rect", {
746
+ width: "9",
747
+ height: "6",
748
+ x: "6",
749
+ y: "14",
750
+ rx: "2",
751
+ key: "lpm2y7"
752
+ }],
753
+ ["rect", {
754
+ width: "16",
755
+ height: "6",
756
+ x: "6",
757
+ y: "4",
758
+ rx: "2",
759
+ key: "rdj6ps"
760
+ }],
761
+ ["path", {
762
+ d: "M2 2v20",
763
+ key: "1ivd8o"
764
+ }]
765
+ ]), I = M("align-vertical-distribute-center", [
766
+ ["path", {
767
+ d: "M22 17h-3",
768
+ key: "1lwga1"
769
+ }],
770
+ ["path", {
771
+ d: "M22 7h-5",
772
+ key: "o2endc"
773
+ }],
774
+ ["path", {
775
+ d: "M5 17H2",
776
+ key: "1gx9xc"
777
+ }],
778
+ ["path", {
779
+ d: "M7 7H2",
780
+ key: "6bq26l"
781
+ }],
782
+ ["rect", {
783
+ x: "5",
784
+ y: "14",
785
+ width: "14",
786
+ height: "6",
787
+ rx: "2",
788
+ key: "1qrzuf"
789
+ }],
790
+ ["rect", {
791
+ x: "7",
792
+ y: "4",
793
+ width: "10",
794
+ height: "6",
795
+ rx: "2",
796
+ key: "we8e9z"
797
+ }]
798
+ ]), L = M("anchor", [
799
+ ["path", {
800
+ d: "M12 6v16",
801
+ key: "nqf5sj"
802
+ }],
803
+ ["path", {
804
+ d: "m19 13 2-1a9 9 0 0 1-18 0l2 1",
805
+ key: "y7qv08"
806
+ }],
807
+ ["path", {
808
+ d: "M9 11h6",
809
+ key: "1fldmi"
810
+ }],
811
+ ["circle", {
812
+ cx: "12",
813
+ cy: "4",
814
+ r: "2",
815
+ key: "muu5ef"
816
+ }]
817
+ ]), ae = M("arrow-down-to-line", [
818
+ ["path", {
819
+ d: "M12 17V3",
820
+ key: "1cwfxf"
821
+ }],
822
+ ["path", {
823
+ d: "m6 11 6 6 6-6",
824
+ key: "12ii2o"
825
+ }],
826
+ ["path", {
827
+ d: "M19 21H5",
828
+ key: "150jfl"
829
+ }]
830
+ ]), R = M("arrow-down", [["path", {
831
+ d: "M12 5v14",
832
+ key: "s699le"
833
+ }], ["path", {
834
+ d: "m19 12-7 7-7-7",
835
+ key: "1idqje"
836
+ }]]), z = M("arrow-left", [["path", {
837
+ d: "m12 19-7-7 7-7",
838
+ key: "1l729n"
839
+ }], ["path", {
840
+ d: "M19 12H5",
841
+ key: "x3x0zl"
842
+ }]]), oe = M("arrow-right", [["path", {
843
+ d: "M5 12h14",
844
+ key: "1ays0h"
845
+ }], ["path", {
846
+ d: "m12 5 7 7-7 7",
847
+ key: "xquz4c"
848
+ }]]), B = M("arrow-up", [["path", {
849
+ d: "m5 12 7-7 7 7",
850
+ key: "hav0vg"
851
+ }], ["path", {
852
+ d: "M12 19V5",
853
+ key: "x0mq9r"
854
+ }]]), V = M("bold", [["path", {
855
+ d: "M6 12h9a4 4 0 0 1 0 8H7a1 1 0 0 1-1-1V5a1 1 0 0 1 1-1h7a4 4 0 0 1 0 8",
856
+ key: "mg9rjx"
857
+ }]]), H = M("box", [
858
+ ["path", {
859
+ d: "M21 8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16Z",
860
+ key: "hh9hay"
861
+ }],
862
+ ["path", {
863
+ d: "m3.3 7 8.7 5 8.7-5",
864
+ key: "g66t2b"
865
+ }],
866
+ ["path", {
867
+ d: "M12 22V12",
868
+ key: "d0xqtd"
869
+ }]
870
+ ]), U = M("boxes", [
871
+ ["path", {
872
+ d: "M2.97 12.92A2 2 0 0 0 2 14.63v3.24a2 2 0 0 0 .97 1.71l3 1.8a2 2 0 0 0 2.06 0L12 19v-5.5l-5-3-4.03 2.42Z",
873
+ key: "lc1i9w"
874
+ }],
875
+ ["path", {
876
+ d: "m7 16.5-4.74-2.85",
877
+ key: "1o9zyk"
878
+ }],
879
+ ["path", {
880
+ d: "m7 16.5 5-3",
881
+ key: "va8pkn"
882
+ }],
883
+ ["path", {
884
+ d: "M7 16.5v5.17",
885
+ key: "jnp8gn"
886
+ }],
887
+ ["path", {
888
+ d: "M12 13.5V19l3.97 2.38a2 2 0 0 0 2.06 0l3-1.8a2 2 0 0 0 .97-1.71v-3.24a2 2 0 0 0-.97-1.71L17 10.5l-5 3Z",
889
+ key: "8zsnat"
890
+ }],
891
+ ["path", {
892
+ d: "m17 16.5-5-3",
893
+ key: "8arw3v"
894
+ }],
895
+ ["path", {
896
+ d: "m17 16.5 4.74-2.85",
897
+ key: "8rfmw"
898
+ }],
899
+ ["path", {
900
+ d: "M17 16.5v5.17",
901
+ key: "k6z78m"
902
+ }],
903
+ ["path", {
904
+ d: "M7.97 4.42A2 2 0 0 0 7 6.13v4.37l5 3 5-3V6.13a2 2 0 0 0-.97-1.71l-3-1.8a2 2 0 0 0-2.06 0l-3 1.8Z",
905
+ key: "1xygjf"
906
+ }],
907
+ ["path", {
908
+ d: "M12 8 7.26 5.15",
909
+ key: "1vbdud"
910
+ }],
911
+ ["path", {
912
+ d: "m12 8 4.74-2.85",
913
+ key: "3rx089"
914
+ }],
915
+ ["path", {
916
+ d: "M12 13.5V8",
917
+ key: "1io7kd"
918
+ }]
919
+ ]), W = M("check", [["path", {
920
+ d: "M20 6 9 17l-5-5",
921
+ key: "1gmf2c"
922
+ }]]), G = M("chevron-down", [["path", {
923
+ d: "m6 9 6 6 6-6",
924
+ key: "qrunsl"
925
+ }]]), K = M("chevron-right", [["path", {
926
+ d: "m9 18 6-6-6-6",
927
+ key: "mthhwq"
928
+ }]]), q = M("chevron-up", [["path", {
929
+ d: "m18 15-6-6-6 6",
930
+ key: "153udz"
931
+ }]]), se = M("chevrons-down", [["path", {
932
+ d: "m7 6 5 5 5-5",
933
+ key: "1lc07p"
934
+ }], ["path", {
935
+ d: "m7 13 5 5 5-5",
936
+ key: "1d48rs"
937
+ }]]), J = M("chevrons-up", [["path", {
938
+ d: "m17 11-5-5-5 5",
939
+ key: "e8nh98"
940
+ }], ["path", {
941
+ d: "m17 18-5-5-5 5",
942
+ key: "2avn1x"
943
+ }]]), ce = M("circle-question-mark", [
944
+ ["circle", {
945
+ cx: "12",
946
+ cy: "12",
947
+ r: "10",
948
+ key: "1mglay"
949
+ }],
950
+ ["path", {
951
+ d: "M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3",
952
+ key: "1u773s"
953
+ }],
954
+ ["path", {
955
+ d: "M12 17h.01",
956
+ key: "p32p05"
957
+ }]
958
+ ]), Y = M("clock", [["circle", {
959
+ cx: "12",
960
+ cy: "12",
961
+ r: "10",
962
+ key: "1mglay"
963
+ }], ["path", {
964
+ d: "M12 6v6l4 2",
965
+ key: "mmk7yg"
966
+ }]]), X = M("code-xml", [
967
+ ["path", {
968
+ d: "m18 16 4-4-4-4",
969
+ key: "1inbqp"
970
+ }],
971
+ ["path", {
972
+ d: "m6 8-4 4 4 4",
973
+ key: "15zrgr"
974
+ }],
975
+ ["path", {
976
+ d: "m14.5 4-5 16",
977
+ key: "e7oirm"
978
+ }]
979
+ ]), le = M("columns-2", [["rect", {
980
+ width: "18",
981
+ height: "18",
982
+ x: "3",
983
+ y: "3",
984
+ rx: "2",
985
+ key: "afitv7"
986
+ }], ["path", {
987
+ d: "M12 3v18",
988
+ key: "108xh3"
989
+ }]]), ue = M("columns-3", [
990
+ ["rect", {
991
+ width: "18",
992
+ height: "18",
993
+ x: "3",
994
+ y: "3",
995
+ rx: "2",
996
+ key: "afitv7"
997
+ }],
998
+ ["path", {
999
+ d: "M9 3v18",
1000
+ key: "fh3hqa"
1001
+ }],
1002
+ ["path", {
1003
+ d: "M15 3v18",
1004
+ key: "14nvp0"
1005
+ }]
1006
+ ]), de = M("command", [["path", {
1007
+ d: "M15 6v12a3 3 0 1 0 3-3H6a3 3 0 1 0 3 3V6a3 3 0 1 0-3 3h12a3 3 0 1 0-3-3",
1008
+ key: "11bfej"
1009
+ }]]), Z = M("copy", [["rect", {
1010
+ width: "14",
1011
+ height: "14",
1012
+ x: "8",
1013
+ y: "8",
1014
+ rx: "2",
1015
+ ry: "2",
1016
+ key: "17jyea"
1017
+ }], ["path", {
1018
+ d: "M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2",
1019
+ key: "zix9uf"
1020
+ }]]), fe = M("ellipsis-vertical", [
1021
+ ["circle", {
1022
+ cx: "12",
1023
+ cy: "12",
1024
+ r: "1",
1025
+ key: "41hilf"
1026
+ }],
1027
+ ["circle", {
1028
+ cx: "12",
1029
+ cy: "5",
1030
+ r: "1",
1031
+ key: "gxeob9"
1032
+ }],
1033
+ ["circle", {
1034
+ cx: "12",
1035
+ cy: "19",
1036
+ r: "1",
1037
+ key: "lyex9k"
1038
+ }]
1039
+ ]), pe = M("ellipsis", [
1040
+ ["circle", {
1041
+ cx: "12",
1042
+ cy: "12",
1043
+ r: "1",
1044
+ key: "41hilf"
1045
+ }],
1046
+ ["circle", {
1047
+ cx: "19",
1048
+ cy: "12",
1049
+ r: "1",
1050
+ key: "1wjl8i"
1051
+ }],
1052
+ ["circle", {
1053
+ cx: "5",
1054
+ cy: "12",
1055
+ r: "1",
1056
+ key: "1pcz8c"
1057
+ }]
1058
+ ]), Q = M("external-link", [
1059
+ ["path", {
1060
+ d: "M15 3h6v6",
1061
+ key: "1q9fwt"
1062
+ }],
1063
+ ["path", {
1064
+ d: "M10 14 21 3",
1065
+ key: "gplh6r"
1066
+ }],
1067
+ ["path", {
1068
+ d: "M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6",
1069
+ key: "a6xqqp"
1070
+ }]
1071
+ ]), me = M("eye-off", [
1072
+ ["path", {
1073
+ d: "M10.733 5.076a10.744 10.744 0 0 1 11.205 6.575 1 1 0 0 1 0 .696 10.747 10.747 0 0 1-1.444 2.49",
1074
+ key: "ct8e1f"
1075
+ }],
1076
+ ["path", {
1077
+ d: "M14.084 14.158a3 3 0 0 1-4.242-4.242",
1078
+ key: "151rxh"
1079
+ }],
1080
+ ["path", {
1081
+ d: "M17.479 17.499a10.75 10.75 0 0 1-15.417-5.151 1 1 0 0 1 0-.696 10.75 10.75 0 0 1 4.446-5.143",
1082
+ key: "13bj9a"
1083
+ }],
1084
+ ["path", {
1085
+ d: "m2 2 20 20",
1086
+ key: "1ooewy"
1087
+ }]
1088
+ ]), he = M("eye", [["path", {
1089
+ d: "M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0",
1090
+ key: "1nclc0"
1091
+ }], ["circle", {
1092
+ cx: "12",
1093
+ cy: "12",
1094
+ r: "3",
1095
+ key: "1v7zrd"
1096
+ }]]), ge = M("file-code-corner", [
1097
+ ["path", {
1098
+ d: "M4 12.15V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.706.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2h-3.35",
1099
+ key: "1wthlu"
1100
+ }],
1101
+ ["path", {
1102
+ d: "M14 2v5a1 1 0 0 0 1 1h5",
1103
+ key: "wfsgrz"
1104
+ }],
1105
+ ["path", {
1106
+ d: "m5 16-3 3 3 3",
1107
+ key: "331omg"
1108
+ }],
1109
+ ["path", {
1110
+ d: "m9 22 3-3-3-3",
1111
+ key: "lsp7cz"
1112
+ }]
1113
+ ]), _e = M("file-text", [
1114
+ ["path", {
1115
+ d: "M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z",
1116
+ key: "1oefj6"
1117
+ }],
1118
+ ["path", {
1119
+ d: "M14 2v5a1 1 0 0 0 1 1h5",
1120
+ key: "wfsgrz"
1121
+ }],
1122
+ ["path", {
1123
+ d: "M10 9H8",
1124
+ key: "b1mrlr"
1125
+ }],
1126
+ ["path", {
1127
+ d: "M16 13H8",
1128
+ key: "t4e002"
1129
+ }],
1130
+ ["path", {
1131
+ d: "M16 17H8",
1132
+ key: "z1uh3a"
1133
+ }]
1134
+ ]), ve = M("globe", [
1135
+ ["circle", {
1136
+ cx: "12",
1137
+ cy: "12",
1138
+ r: "10",
1139
+ key: "1mglay"
1140
+ }],
1141
+ ["path", {
1142
+ d: "M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20",
1143
+ key: "13o1zl"
1144
+ }],
1145
+ ["path", {
1146
+ d: "M2 12h20",
1147
+ key: "9i4pu4"
1148
+ }]
1149
+ ]), ye = M("grid-3x3", [
1150
+ ["rect", {
1151
+ width: "18",
1152
+ height: "18",
1153
+ x: "3",
1154
+ y: "3",
1155
+ rx: "2",
1156
+ key: "afitv7"
1157
+ }],
1158
+ ["path", {
1159
+ d: "M3 9h18",
1160
+ key: "1pudct"
1161
+ }],
1162
+ ["path", {
1163
+ d: "M3 15h18",
1164
+ key: "5xshup"
1165
+ }],
1166
+ ["path", {
1167
+ d: "M9 3v18",
1168
+ key: "fh3hqa"
1169
+ }],
1170
+ ["path", {
1171
+ d: "M15 3v18",
1172
+ key: "14nvp0"
1173
+ }]
1174
+ ]), be = M("grip-vertical", [
1175
+ ["circle", {
1176
+ cx: "9",
1177
+ cy: "12",
1178
+ r: "1",
1179
+ key: "1vctgf"
1180
+ }],
1181
+ ["circle", {
1182
+ cx: "9",
1183
+ cy: "5",
1184
+ r: "1",
1185
+ key: "hp0tcf"
1186
+ }],
1187
+ ["circle", {
1188
+ cx: "9",
1189
+ cy: "19",
1190
+ r: "1",
1191
+ key: "fkjjf6"
1192
+ }],
1193
+ ["circle", {
1194
+ cx: "15",
1195
+ cy: "12",
1196
+ r: "1",
1197
+ key: "1tmaij"
1198
+ }],
1199
+ ["circle", {
1200
+ cx: "15",
1201
+ cy: "5",
1202
+ r: "1",
1203
+ key: "19l28e"
1204
+ }],
1205
+ ["circle", {
1206
+ cx: "15",
1207
+ cy: "19",
1208
+ r: "1",
1209
+ key: "f4zoj3"
1210
+ }]
1211
+ ]), xe = M("group", [
1212
+ ["path", {
1213
+ d: "M3 7V5c0-1.1.9-2 2-2h2",
1214
+ key: "adw53z"
1215
+ }],
1216
+ ["path", {
1217
+ d: "M17 3h2c1.1 0 2 .9 2 2v2",
1218
+ key: "an4l38"
1219
+ }],
1220
+ ["path", {
1221
+ d: "M21 17v2c0 1.1-.9 2-2 2h-2",
1222
+ key: "144t0e"
1223
+ }],
1224
+ ["path", {
1225
+ d: "M7 21H5c-1.1 0-2-.9-2-2v-2",
1226
+ key: "rtnfgi"
1227
+ }],
1228
+ ["rect", {
1229
+ width: "7",
1230
+ height: "5",
1231
+ x: "7",
1232
+ y: "7",
1233
+ rx: "1",
1234
+ key: "1eyiv7"
1235
+ }],
1236
+ ["rect", {
1237
+ width: "7",
1238
+ height: "5",
1239
+ x: "10",
1240
+ y: "12",
1241
+ rx: "1",
1242
+ key: "1qlmkx"
1243
+ }]
1244
+ ]), Se = M("hand", [
1245
+ ["path", {
1246
+ d: "M18 11V6a2 2 0 0 0-2-2a2 2 0 0 0-2 2",
1247
+ key: "1fvzgz"
1248
+ }],
1249
+ ["path", {
1250
+ d: "M14 10V4a2 2 0 0 0-2-2a2 2 0 0 0-2 2v2",
1251
+ key: "1kc0my"
1252
+ }],
1253
+ ["path", {
1254
+ d: "M10 10.5V6a2 2 0 0 0-2-2a2 2 0 0 0-2 2v8",
1255
+ key: "10h0bg"
1256
+ }],
1257
+ ["path", {
1258
+ d: "M18 8a2 2 0 1 1 4 0v6a8 8 0 0 1-8 8h-2c-2.8 0-4.5-.86-5.99-2.34l-3.6-3.6a2 2 0 0 1 2.83-2.82L7 15",
1259
+ key: "1s1gnw"
1260
+ }]
1261
+ ]), Ce = M("heading", [
1262
+ ["path", {
1263
+ d: "M6 12h12",
1264
+ key: "8npq4p"
1265
+ }],
1266
+ ["path", {
1267
+ d: "M6 20V4",
1268
+ key: "1w1bmo"
1269
+ }],
1270
+ ["path", {
1271
+ d: "M18 20V4",
1272
+ key: "o2hl4u"
1273
+ }]
1274
+ ]), we = M("house", [["path", {
1275
+ d: "M15 21v-8a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v8",
1276
+ key: "5wwlr5"
1277
+ }], ["path", {
1278
+ d: "M3 10a2 2 0 0 1 .709-1.528l7-6a2 2 0 0 1 2.582 0l7 6A2 2 0 0 1 21 10v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z",
1279
+ key: "r6nss1"
1280
+ }]]), Te = M("image", [
1281
+ ["rect", {
1282
+ width: "18",
1283
+ height: "18",
1284
+ x: "3",
1285
+ y: "3",
1286
+ rx: "2",
1287
+ ry: "2",
1288
+ key: "1m3agn"
1289
+ }],
1290
+ ["circle", {
1291
+ cx: "9",
1292
+ cy: "9",
1293
+ r: "2",
1294
+ key: "af1f0g"
1295
+ }],
1296
+ ["path", {
1297
+ d: "m21 15-3.086-3.086a2 2 0 0 0-2.828 0L6 21",
1298
+ key: "1xmnt7"
1299
+ }]
1300
+ ]), Ee = M("info", [
1301
+ ["circle", {
1302
+ cx: "12",
1303
+ cy: "12",
1304
+ r: "10",
1305
+ key: "1mglay"
1306
+ }],
1307
+ ["path", {
1308
+ d: "M12 16v-4",
1309
+ key: "1dtifu"
1310
+ }],
1311
+ ["path", {
1312
+ d: "M12 8h.01",
1313
+ key: "e9boi3"
1314
+ }]
1315
+ ]), De = M("italic", [
1316
+ ["line", {
1317
+ x1: "19",
1318
+ x2: "10",
1319
+ y1: "4",
1320
+ y2: "4",
1321
+ key: "15jd3p"
1322
+ }],
1323
+ ["line", {
1324
+ x1: "14",
1325
+ x2: "5",
1326
+ y1: "20",
1327
+ y2: "20",
1328
+ key: "bu0au3"
1329
+ }],
1330
+ ["line", {
1331
+ x1: "15",
1332
+ x2: "9",
1333
+ y1: "4",
1334
+ y2: "20",
1335
+ key: "uljnxc"
1336
+ }]
1337
+ ]), Oe = M("keyboard", [
1338
+ ["path", {
1339
+ d: "M10 8h.01",
1340
+ key: "1r9ogq"
1341
+ }],
1342
+ ["path", {
1343
+ d: "M12 12h.01",
1344
+ key: "1mp3jc"
1345
+ }],
1346
+ ["path", {
1347
+ d: "M14 8h.01",
1348
+ key: "1primd"
1349
+ }],
1350
+ ["path", {
1351
+ d: "M16 12h.01",
1352
+ key: "1l6xoz"
1353
+ }],
1354
+ ["path", {
1355
+ d: "M18 8h.01",
1356
+ key: "emo2bl"
1357
+ }],
1358
+ ["path", {
1359
+ d: "M6 8h.01",
1360
+ key: "x9i8wu"
1361
+ }],
1362
+ ["path", {
1363
+ d: "M7 16h10",
1364
+ key: "wp8him"
1365
+ }],
1366
+ ["path", {
1367
+ d: "M8 12h.01",
1368
+ key: "czm47f"
1369
+ }],
1370
+ ["rect", {
1371
+ width: "20",
1372
+ height: "16",
1373
+ x: "2",
1374
+ y: "4",
1375
+ rx: "2",
1376
+ key: "18n3k1"
1377
+ }]
1378
+ ]), ke = M("layers", [
1379
+ ["path", {
1380
+ d: "M12.83 2.18a2 2 0 0 0-1.66 0L2.6 6.08a1 1 0 0 0 0 1.83l8.58 3.91a2 2 0 0 0 1.66 0l8.58-3.9a1 1 0 0 0 0-1.83z",
1381
+ key: "zw3jo"
1382
+ }],
1383
+ ["path", {
1384
+ d: "M2 12a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 12",
1385
+ key: "1wduqc"
1386
+ }],
1387
+ ["path", {
1388
+ d: "M2 17a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 17",
1389
+ key: "kqbvx6"
1390
+ }]
1391
+ ]), Ae = M("layout-grid", [
1392
+ ["rect", {
1393
+ width: "7",
1394
+ height: "7",
1395
+ x: "3",
1396
+ y: "3",
1397
+ rx: "1",
1398
+ key: "1g98yp"
1399
+ }],
1400
+ ["rect", {
1401
+ width: "7",
1402
+ height: "7",
1403
+ x: "14",
1404
+ y: "3",
1405
+ rx: "1",
1406
+ key: "6d4xhi"
1407
+ }],
1408
+ ["rect", {
1409
+ width: "7",
1410
+ height: "7",
1411
+ x: "14",
1412
+ y: "14",
1413
+ rx: "1",
1414
+ key: "nxv5o0"
1415
+ }],
1416
+ ["rect", {
1417
+ width: "7",
1418
+ height: "7",
1419
+ x: "3",
1420
+ y: "14",
1421
+ rx: "1",
1422
+ key: "1bb6yr"
1423
+ }]
1424
+ ]), je = M("layout-template", [
1425
+ ["rect", {
1426
+ width: "18",
1427
+ height: "7",
1428
+ x: "3",
1429
+ y: "3",
1430
+ rx: "1",
1431
+ key: "f1a2em"
1432
+ }],
1433
+ ["rect", {
1434
+ width: "9",
1435
+ height: "7",
1436
+ x: "3",
1437
+ y: "14",
1438
+ rx: "1",
1439
+ key: "jqznyg"
1440
+ }],
1441
+ ["rect", {
1442
+ width: "5",
1443
+ height: "7",
1444
+ x: "16",
1445
+ y: "14",
1446
+ rx: "1",
1447
+ key: "q5h2i8"
1448
+ }]
1449
+ ]), Me = M("link-2-off", [
1450
+ ["path", {
1451
+ d: "M9 17H7A5 5 0 0 1 7 7",
1452
+ key: "10o201"
1453
+ }],
1454
+ ["path", {
1455
+ d: "M15 7h2a5 5 0 0 1 4 8",
1456
+ key: "1d3206"
1457
+ }],
1458
+ ["line", {
1459
+ x1: "8",
1460
+ x2: "12",
1461
+ y1: "12",
1462
+ y2: "12",
1463
+ key: "rvw6j4"
1464
+ }],
1465
+ ["line", {
1466
+ x1: "2",
1467
+ x2: "22",
1468
+ y1: "2",
1469
+ y2: "22",
1470
+ key: "a6p6uj"
1471
+ }]
1472
+ ]), Ne = M("loader-circle", [["path", {
1473
+ d: "M21 12a9 9 0 1 1-6.219-8.56",
1474
+ key: "13zald"
1475
+ }]]), Pe = M("lock-open", [["rect", {
1476
+ width: "18",
1477
+ height: "11",
1478
+ x: "3",
1479
+ y: "11",
1480
+ rx: "2",
1481
+ ry: "2",
1482
+ key: "1w4ew1"
1483
+ }], ["path", {
1484
+ d: "M7 11V7a5 5 0 0 1 9.9-1",
1485
+ key: "1mm8w8"
1486
+ }]]), Fe = M("lock", [["rect", {
1487
+ width: "18",
1488
+ height: "11",
1489
+ x: "3",
1490
+ y: "11",
1491
+ rx: "2",
1492
+ ry: "2",
1493
+ key: "1w4ew1"
1494
+ }], ["path", {
1495
+ d: "M7 11V7a5 5 0 0 1 10 0v4",
1496
+ key: "fwvmzm"
1497
+ }]]), Ie = M("magnet", [
1498
+ ["path", {
1499
+ d: "m12 15 4 4",
1500
+ key: "lnac28"
1501
+ }],
1502
+ ["path", {
1503
+ d: "M2.352 10.648a1.205 1.205 0 0 0 0 1.704l2.296 2.296a1.205 1.205 0 0 0 1.704 0l6.029-6.029a1 1 0 1 1 3 3l-6.029 6.029a1.205 1.205 0 0 0 0 1.704l2.296 2.296a1.205 1.205 0 0 0 1.704 0l6.365-6.367A1 1 0 0 0 8.716 4.282z",
1504
+ key: "nlhkjb"
1505
+ }],
1506
+ ["path", {
1507
+ d: "m5 8 4 4",
1508
+ key: "j6kj7e"
1509
+ }]
1510
+ ]), Le = M("maximize-2", [
1511
+ ["path", {
1512
+ d: "M15 3h6v6",
1513
+ key: "1q9fwt"
1514
+ }],
1515
+ ["path", {
1516
+ d: "m21 3-7 7",
1517
+ key: "1l2asr"
1518
+ }],
1519
+ ["path", {
1520
+ d: "m3 21 7-7",
1521
+ key: "tjx5ai"
1522
+ }],
1523
+ ["path", {
1524
+ d: "M9 21H3v-6",
1525
+ key: "wtvkvv"
1526
+ }]
1527
+ ]), Re = M("maximize", [
1528
+ ["path", {
1529
+ d: "M8 3H5a2 2 0 0 0-2 2v3",
1530
+ key: "1dcmit"
1531
+ }],
1532
+ ["path", {
1533
+ d: "M21 8V5a2 2 0 0 0-2-2h-3",
1534
+ key: "1e4gt3"
1535
+ }],
1536
+ ["path", {
1537
+ d: "M3 16v3a2 2 0 0 0 2 2h3",
1538
+ key: "wsl5sc"
1539
+ }],
1540
+ ["path", {
1541
+ d: "M16 21h3a2 2 0 0 0 2-2v-3",
1542
+ key: "18trek"
1543
+ }]
1544
+ ]), ze = M("menu", [
1545
+ ["path", {
1546
+ d: "M4 5h16",
1547
+ key: "1tepv9"
1548
+ }],
1549
+ ["path", {
1550
+ d: "M4 12h16",
1551
+ key: "1lakjw"
1552
+ }],
1553
+ ["path", {
1554
+ d: "M4 19h16",
1555
+ key: "1djgab"
1556
+ }]
1557
+ ]), Be = M("minus", [["path", {
1558
+ d: "M5 12h14",
1559
+ key: "1ays0h"
1560
+ }]]), Ve = M("monitor", [
1561
+ ["rect", {
1562
+ width: "20",
1563
+ height: "14",
1564
+ x: "2",
1565
+ y: "3",
1566
+ rx: "2",
1567
+ key: "48i651"
1568
+ }],
1569
+ ["line", {
1570
+ x1: "8",
1571
+ x2: "16",
1572
+ y1: "21",
1573
+ y2: "21",
1574
+ key: "1svkeh"
1575
+ }],
1576
+ ["line", {
1577
+ x1: "12",
1578
+ x2: "12",
1579
+ y1: "17",
1580
+ y2: "21",
1581
+ key: "vw1qmm"
1582
+ }]
1583
+ ]), He = M("mouse-pointer", [["path", {
1584
+ d: "M12.586 12.586 19 19",
1585
+ key: "ea5xo7"
1586
+ }], ["path", {
1587
+ d: "M3.688 3.037a.497.497 0 0 0-.651.651l6.5 15.999a.501.501 0 0 0 .947-.062l1.569-6.083a2 2 0 0 1 1.448-1.479l6.124-1.579a.5.5 0 0 0 .063-.947z",
1588
+ key: "277e5u"
1589
+ }]]), Ue = M("move-vertical", [
1590
+ ["path", {
1591
+ d: "M12 2v20",
1592
+ key: "t6zp3m"
1593
+ }],
1594
+ ["path", {
1595
+ d: "m8 18 4 4 4-4",
1596
+ key: "bh5tu3"
1597
+ }],
1598
+ ["path", {
1599
+ d: "m8 6 4-4 4 4",
1600
+ key: "ybng9g"
1601
+ }]
1602
+ ]), We = M("move", [
1603
+ ["path", {
1604
+ d: "M12 2v20",
1605
+ key: "t6zp3m"
1606
+ }],
1607
+ ["path", {
1608
+ d: "m15 19-3 3-3-3",
1609
+ key: "11eu04"
1610
+ }],
1611
+ ["path", {
1612
+ d: "m19 9 3 3-3 3",
1613
+ key: "1mg7y2"
1614
+ }],
1615
+ ["path", {
1616
+ d: "M2 12h20",
1617
+ key: "9i4pu4"
1618
+ }],
1619
+ ["path", {
1620
+ d: "m5 9-3 3 3 3",
1621
+ key: "j64kie"
1622
+ }],
1623
+ ["path", {
1624
+ d: "m9 5 3-3 3 3",
1625
+ key: "l8vdw6"
1626
+ }]
1627
+ ]), Ge = M("palette", [
1628
+ ["path", {
1629
+ d: "M12 22a1 1 0 0 1 0-20 10 9 0 0 1 10 9 5 5 0 0 1-5 5h-2.25a1.75 1.75 0 0 0-1.4 2.8l.3.4a1.75 1.75 0 0 1-1.4 2.8z",
1630
+ key: "e79jfc"
1631
+ }],
1632
+ ["circle", {
1633
+ cx: "13.5",
1634
+ cy: "6.5",
1635
+ r: ".5",
1636
+ fill: "currentColor",
1637
+ key: "1okk4w"
1638
+ }],
1639
+ ["circle", {
1640
+ cx: "17.5",
1641
+ cy: "10.5",
1642
+ r: ".5",
1643
+ fill: "currentColor",
1644
+ key: "f64h9f"
1645
+ }],
1646
+ ["circle", {
1647
+ cx: "6.5",
1648
+ cy: "12.5",
1649
+ r: ".5",
1650
+ fill: "currentColor",
1651
+ key: "qy21gx"
1652
+ }],
1653
+ ["circle", {
1654
+ cx: "8.5",
1655
+ cy: "7.5",
1656
+ r: ".5",
1657
+ fill: "currentColor",
1658
+ key: "fotxhn"
1659
+ }]
1660
+ ]), Ke = M("panel-left-close", [
1661
+ ["rect", {
1662
+ width: "18",
1663
+ height: "18",
1664
+ x: "3",
1665
+ y: "3",
1666
+ rx: "2",
1667
+ key: "afitv7"
1668
+ }],
1669
+ ["path", {
1670
+ d: "M9 3v18",
1671
+ key: "fh3hqa"
1672
+ }],
1673
+ ["path", {
1674
+ d: "m16 15-3-3 3-3",
1675
+ key: "14y99z"
1676
+ }]
1677
+ ]), qe = M("panel-left-open", [
1678
+ ["rect", {
1679
+ width: "18",
1680
+ height: "18",
1681
+ x: "3",
1682
+ y: "3",
1683
+ rx: "2",
1684
+ key: "afitv7"
1685
+ }],
1686
+ ["path", {
1687
+ d: "M9 3v18",
1688
+ key: "fh3hqa"
1689
+ }],
1690
+ ["path", {
1691
+ d: "m14 9 3 3-3 3",
1692
+ key: "8010ee"
1693
+ }]
1694
+ ]), Je = M("pen-line", [["path", {
1695
+ d: "M13 21h8",
1696
+ key: "1jsn5i"
1697
+ }], ["path", {
1698
+ d: "M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z",
1699
+ key: "1a8usu"
1700
+ }]]), Ye = M("plus", [["path", {
1701
+ d: "M5 12h14",
1702
+ key: "1ays0h"
1703
+ }], ["path", {
1704
+ d: "M12 5v14",
1705
+ key: "s699le"
1706
+ }]]), Xe = M("redo-2", [["path", {
1707
+ d: "m15 14 5-5-5-5",
1708
+ key: "12vg1m"
1709
+ }], ["path", {
1710
+ d: "M20 9H9.5A5.5 5.5 0 0 0 4 14.5A5.5 5.5 0 0 0 9.5 20H13",
1711
+ key: "6uklza"
1712
+ }]]), Ze = M("refresh-cw", [
1713
+ ["path", {
1714
+ d: "M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8",
1715
+ key: "v9h5vc"
1716
+ }],
1717
+ ["path", {
1718
+ d: "M21 3v5h-5",
1719
+ key: "1q7to0"
1720
+ }],
1721
+ ["path", {
1722
+ d: "M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16",
1723
+ key: "3uifl3"
1724
+ }],
1725
+ ["path", {
1726
+ d: "M8 16H3v5",
1727
+ key: "1cv678"
1728
+ }]
1729
+ ]), Qe = M("rotate-ccw", [["path", {
1730
+ d: "M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8",
1731
+ key: "1357e3"
1732
+ }], ["path", {
1733
+ d: "M3 3v5h5",
1734
+ key: "1xhq8a"
1735
+ }]]), $e = M("search", [["path", {
1736
+ d: "m21 21-4.34-4.34",
1737
+ key: "14j7rj"
1738
+ }], ["circle", {
1739
+ cx: "11",
1740
+ cy: "11",
1741
+ r: "8",
1742
+ key: "4ej97u"
1743
+ }]]), et = M("send", [["path", {
1744
+ d: "M14.536 21.686a.5.5 0 0 0 .937-.024l6.5-19a.496.496 0 0 0-.635-.635l-19 6.5a.5.5 0 0 0-.024.937l7.93 3.18a2 2 0 0 1 1.112 1.11z",
1745
+ key: "1ffxy3"
1746
+ }], ["path", {
1747
+ d: "m21.854 2.147-10.94 10.939",
1748
+ key: "12cjpa"
1749
+ }]]), tt = M("settings", [["path", {
1750
+ d: "M9.671 4.136a2.34 2.34 0 0 1 4.659 0 2.34 2.34 0 0 0 3.319 1.915 2.34 2.34 0 0 1 2.33 4.033 2.34 2.34 0 0 0 0 3.831 2.34 2.34 0 0 1-2.33 4.033 2.34 2.34 0 0 0-3.319 1.915 2.34 2.34 0 0 1-4.659 0 2.34 2.34 0 0 0-3.32-1.915 2.34 2.34 0 0 1-2.33-4.033 2.34 2.34 0 0 0 0-3.831A2.34 2.34 0 0 1 6.35 6.051a2.34 2.34 0 0 0 3.319-1.915",
1751
+ key: "1i5ecw"
1752
+ }], ["circle", {
1753
+ cx: "12",
1754
+ cy: "12",
1755
+ r: "3",
1756
+ key: "1v7zrd"
1757
+ }]]), nt = M("share-2", [
1758
+ ["circle", {
1759
+ cx: "18",
1760
+ cy: "5",
1761
+ r: "3",
1762
+ key: "gq8acd"
1763
+ }],
1764
+ ["circle", {
1765
+ cx: "6",
1766
+ cy: "12",
1767
+ r: "3",
1768
+ key: "w7nqdw"
1769
+ }],
1770
+ ["circle", {
1771
+ cx: "18",
1772
+ cy: "19",
1773
+ r: "3",
1774
+ key: "1xt0gg"
1775
+ }],
1776
+ ["line", {
1777
+ x1: "8.59",
1778
+ x2: "15.42",
1779
+ y1: "13.51",
1780
+ y2: "17.49",
1781
+ key: "47mynk"
1782
+ }],
1783
+ ["line", {
1784
+ x1: "15.41",
1785
+ x2: "8.59",
1786
+ y1: "6.51",
1787
+ y2: "10.49",
1788
+ key: "1n3mei"
1789
+ }]
1790
+ ]), rt = M("sliders-horizontal", [
1791
+ ["path", {
1792
+ d: "M10 5H3",
1793
+ key: "1qgfaw"
1794
+ }],
1795
+ ["path", {
1796
+ d: "M12 19H3",
1797
+ key: "yhmn1j"
1798
+ }],
1799
+ ["path", {
1800
+ d: "M14 3v4",
1801
+ key: "1sua03"
1802
+ }],
1803
+ ["path", {
1804
+ d: "M16 17v4",
1805
+ key: "1q0r14"
1806
+ }],
1807
+ ["path", {
1808
+ d: "M21 12h-9",
1809
+ key: "1o4lsq"
1810
+ }],
1811
+ ["path", {
1812
+ d: "M21 19h-5",
1813
+ key: "1rlt1p"
1814
+ }],
1815
+ ["path", {
1816
+ d: "M21 5h-7",
1817
+ key: "1oszz2"
1818
+ }],
1819
+ ["path", {
1820
+ d: "M8 10v4",
1821
+ key: "tgpxqk"
1822
+ }],
1823
+ ["path", {
1824
+ d: "M8 12H3",
1825
+ key: "a7s4jb"
1826
+ }]
1827
+ ]), it = M("sliders-vertical", [
1828
+ ["path", {
1829
+ d: "M10 8h4",
1830
+ key: "1sr2af"
1831
+ }],
1832
+ ["path", {
1833
+ d: "M12 21v-9",
1834
+ key: "17s77i"
1835
+ }],
1836
+ ["path", {
1837
+ d: "M12 8V3",
1838
+ key: "13r4qs"
1839
+ }],
1840
+ ["path", {
1841
+ d: "M17 16h4",
1842
+ key: "h1uq16"
1843
+ }],
1844
+ ["path", {
1845
+ d: "M19 12V3",
1846
+ key: "o1uvq1"
1847
+ }],
1848
+ ["path", {
1849
+ d: "M19 21v-5",
1850
+ key: "qua636"
1851
+ }],
1852
+ ["path", {
1853
+ d: "M3 14h4",
1854
+ key: "bcjad9"
1855
+ }],
1856
+ ["path", {
1857
+ d: "M5 10V3",
1858
+ key: "cb8scm"
1859
+ }],
1860
+ ["path", {
1861
+ d: "M5 21v-7",
1862
+ key: "1w1uti"
1863
+ }]
1864
+ ]), at = M("smartphone", [["rect", {
1865
+ width: "14",
1866
+ height: "20",
1867
+ x: "5",
1868
+ y: "2",
1869
+ rx: "2",
1870
+ ry: "2",
1871
+ key: "1yt0o3"
1872
+ }], ["path", {
1873
+ d: "M12 18h.01",
1874
+ key: "mhygvu"
1875
+ }]]), ot = M("smile", [
1876
+ ["circle", {
1877
+ cx: "12",
1878
+ cy: "12",
1879
+ r: "10",
1880
+ key: "1mglay"
1881
+ }],
1882
+ ["path", {
1883
+ d: "M8 14s1.5 2 4 2 4-2 4-2",
1884
+ key: "1y1vjs"
1885
+ }],
1886
+ ["line", {
1887
+ x1: "9",
1888
+ x2: "9.01",
1889
+ y1: "9",
1890
+ y2: "9",
1891
+ key: "yxxnd0"
1892
+ }],
1893
+ ["line", {
1894
+ x1: "15",
1895
+ x2: "15.01",
1896
+ y1: "9",
1897
+ y2: "9",
1898
+ key: "1p4y9e"
1899
+ }]
1900
+ ]), st = M("square-check-big", [["path", {
1901
+ d: "M21 10.656V19a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h12.344",
1902
+ key: "2acyp4"
1903
+ }], ["path", {
1904
+ d: "m9 11 3 3L22 4",
1905
+ key: "1pflzl"
1906
+ }]]), ct = M("square-chevron-down", [["rect", {
1907
+ width: "18",
1908
+ height: "18",
1909
+ x: "3",
1910
+ y: "3",
1911
+ rx: "2",
1912
+ key: "afitv7"
1913
+ }], ["path", {
1914
+ d: "m16 10-4 4-4-4",
1915
+ key: "894hmk"
1916
+ }]]), lt = M("square", [["rect", {
1917
+ width: "18",
1918
+ height: "18",
1919
+ x: "3",
1920
+ y: "3",
1921
+ rx: "2",
1922
+ key: "afitv7"
1923
+ }]]), ut = M("star", [["path", {
1924
+ d: "M11.525 2.295a.53.53 0 0 1 .95 0l2.31 4.679a2.123 2.123 0 0 0 1.595 1.16l5.166.756a.53.53 0 0 1 .294.904l-3.736 3.638a2.123 2.123 0 0 0-.611 1.878l.882 5.14a.53.53 0 0 1-.771.56l-4.618-2.428a2.122 2.122 0 0 0-1.973 0L6.396 21.01a.53.53 0 0 1-.77-.56l.881-5.139a2.122 2.122 0 0 0-.611-1.879L2.16 9.795a.53.53 0 0 1 .294-.906l5.165-.755a2.122 2.122 0 0 0 1.597-1.16z",
1925
+ key: "r04s7s"
1926
+ }]]), dt = M("table", [
1927
+ ["path", {
1928
+ d: "M12 3v18",
1929
+ key: "108xh3"
1930
+ }],
1931
+ ["rect", {
1932
+ width: "18",
1933
+ height: "18",
1934
+ x: "3",
1935
+ y: "3",
1936
+ rx: "2",
1937
+ key: "afitv7"
1938
+ }],
1939
+ ["path", {
1940
+ d: "M3 9h18",
1941
+ key: "1pudct"
1942
+ }],
1943
+ ["path", {
1944
+ d: "M3 15h18",
1945
+ key: "5xshup"
1946
+ }]
1947
+ ]), ft = M("tablet", [["rect", {
1948
+ width: "16",
1949
+ height: "20",
1950
+ x: "4",
1951
+ y: "2",
1952
+ rx: "2",
1953
+ ry: "2",
1954
+ key: "76otgf"
1955
+ }], ["line", {
1956
+ x1: "12",
1957
+ x2: "12.01",
1958
+ y1: "18",
1959
+ y2: "18",
1960
+ key: "1dp563"
1961
+ }]]), pt = M("tag", [["path", {
1962
+ d: "M12.586 2.586A2 2 0 0 0 11.172 2H4a2 2 0 0 0-2 2v7.172a2 2 0 0 0 .586 1.414l8.704 8.704a2.426 2.426 0 0 0 3.42 0l6.58-6.58a2.426 2.426 0 0 0 0-3.42z",
1963
+ key: "vktsd0"
1964
+ }], ["circle", {
1965
+ cx: "7.5",
1966
+ cy: "7.5",
1967
+ r: ".5",
1968
+ fill: "currentColor",
1969
+ key: "kqv944"
1970
+ }]]), mt = M("text-align-center", [
1971
+ ["path", {
1972
+ d: "M21 5H3",
1973
+ key: "1fi0y6"
1974
+ }],
1975
+ ["path", {
1976
+ d: "M17 12H7",
1977
+ key: "16if0g"
1978
+ }],
1979
+ ["path", {
1980
+ d: "M19 19H5",
1981
+ key: "vjpgq2"
1982
+ }]
1983
+ ]), ht = M("text-align-end", [
1984
+ ["path", {
1985
+ d: "M21 5H3",
1986
+ key: "1fi0y6"
1987
+ }],
1988
+ ["path", {
1989
+ d: "M21 12H9",
1990
+ key: "dn1m92"
1991
+ }],
1992
+ ["path", {
1993
+ d: "M21 19H7",
1994
+ key: "4cu937"
1995
+ }]
1996
+ ]), gt = M("text-align-start", [
1997
+ ["path", {
1998
+ d: "M21 5H3",
1999
+ key: "1fi0y6"
2000
+ }],
2001
+ ["path", {
2002
+ d: "M15 12H3",
2003
+ key: "6jk70r"
2004
+ }],
2005
+ ["path", {
2006
+ d: "M17 19H3",
2007
+ key: "z6ezky"
2008
+ }]
2009
+ ]), _t = M("trash-2", [
2010
+ ["path", {
2011
+ d: "M10 11v6",
2012
+ key: "nco0om"
2013
+ }],
2014
+ ["path", {
2015
+ d: "M14 11v6",
2016
+ key: "outv1u"
2017
+ }],
2018
+ ["path", {
2019
+ d: "M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6",
2020
+ key: "miytrc"
2021
+ }],
2022
+ ["path", {
2023
+ d: "M3 6h18",
2024
+ key: "d0wm0j"
2025
+ }],
2026
+ ["path", {
2027
+ d: "M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2",
2028
+ key: "e791ji"
2029
+ }]
2030
+ ]), vt = M("triangle-alert", [
2031
+ ["path", {
2032
+ d: "m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",
2033
+ key: "wmoenq"
2034
+ }],
2035
+ ["path", {
2036
+ d: "M12 9v4",
2037
+ key: "juzpu7"
2038
+ }],
2039
+ ["path", {
2040
+ d: "M12 17h.01",
2041
+ key: "p32p05"
2042
+ }]
2043
+ ]), yt = M("underline", [["path", {
2044
+ d: "M6 4v6a6 6 0 0 0 12 0V4",
2045
+ key: "9kb039"
2046
+ }], ["line", {
2047
+ x1: "4",
2048
+ x2: "20",
2049
+ y1: "20",
2050
+ y2: "20",
2051
+ key: "nun2al"
2052
+ }]]), bt = M("undo-2", [["path", {
2053
+ d: "M9 14 4 9l5-5",
2054
+ key: "102s5s"
2055
+ }], ["path", {
2056
+ d: "M4 9h10.5a5.5 5.5 0 0 1 5.5 5.5a5.5 5.5 0 0 1-5.5 5.5H11",
2057
+ key: "f3b9sd"
2058
+ }]]), xt = M("ungroup", [["rect", {
2059
+ x: "11",
2060
+ y: "14",
2061
+ width: "10",
2062
+ height: "7",
2063
+ rx: "2",
2064
+ key: "nfm8rk"
2065
+ }], ["rect", {
2066
+ x: "3",
2067
+ y: "3",
2068
+ width: "10",
2069
+ height: "7",
2070
+ rx: "2",
2071
+ key: "1ljebb"
2072
+ }]]), St = M("upload", [
2073
+ ["path", {
2074
+ d: "M12 3v12",
2075
+ key: "1x0j5s"
2076
+ }],
2077
+ ["path", {
2078
+ d: "m17 8-5-5-5 5",
2079
+ key: "7q97r8"
2080
+ }],
2081
+ ["path", {
2082
+ d: "M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",
2083
+ key: "ih7n3h"
2084
+ }]
2085
+ ]), Ct = M("video", [["path", {
2086
+ d: "m16 13 5.223 3.482a.5.5 0 0 0 .777-.416V7.87a.5.5 0 0 0-.752-.432L16 10.5",
2087
+ key: "ftymec"
2088
+ }], ["rect", {
2089
+ x: "2",
2090
+ y: "6",
2091
+ width: "14",
2092
+ height: "12",
2093
+ rx: "2",
2094
+ key: "158x01"
2095
+ }]]), wt = M("wand-sparkles", [
2096
+ ["path", {
2097
+ d: "m21.64 3.64-1.28-1.28a1.21 1.21 0 0 0-1.72 0L2.36 18.64a1.21 1.21 0 0 0 0 1.72l1.28 1.28a1.2 1.2 0 0 0 1.72 0L21.64 5.36a1.2 1.2 0 0 0 0-1.72",
2098
+ key: "ul74o6"
2099
+ }],
2100
+ ["path", {
2101
+ d: "m14 7 3 3",
2102
+ key: "1r5n42"
2103
+ }],
2104
+ ["path", {
2105
+ d: "M5 6v4",
2106
+ key: "ilb8ba"
2107
+ }],
2108
+ ["path", {
2109
+ d: "M19 14v4",
2110
+ key: "blhpug"
2111
+ }],
2112
+ ["path", {
2113
+ d: "M10 2v2",
2114
+ key: "7u0qdc"
2115
+ }],
2116
+ ["path", {
2117
+ d: "M7 8H3",
2118
+ key: "zfb6yr"
2119
+ }],
2120
+ ["path", {
2121
+ d: "M21 16h-4",
2122
+ key: "1cnmox"
2123
+ }],
2124
+ ["path", {
2125
+ d: "M11 3H9",
2126
+ key: "1obp7u"
2127
+ }]
2128
+ ]), Tt = M("x", [["path", {
2129
+ d: "M18 6 6 18",
2130
+ key: "1bl5f8"
2131
+ }], ["path", {
2132
+ d: "m6 6 12 12",
2133
+ key: "d8bk6v"
2134
+ }]]), Et = M("zoom-in", [
2135
+ ["circle", {
2136
+ cx: "11",
2137
+ cy: "11",
2138
+ r: "8",
2139
+ key: "4ej97u"
2140
+ }],
2141
+ ["line", {
2142
+ x1: "21",
2143
+ x2: "16.65",
2144
+ y1: "21",
2145
+ y2: "16.65",
2146
+ key: "13gj7c"
2147
+ }],
2148
+ ["line", {
2149
+ x1: "11",
2150
+ x2: "11",
2151
+ y1: "8",
2152
+ y2: "14",
2153
+ key: "1vmskp"
2154
+ }],
2155
+ ["line", {
2156
+ x1: "8",
2157
+ x2: "14",
2158
+ y1: "11",
2159
+ y2: "11",
2160
+ key: "durymu"
2161
+ }]
2162
+ ]), Dt = M("zoom-out", [
2163
+ ["circle", {
2164
+ cx: "11",
2165
+ cy: "11",
2166
+ r: "8",
2167
+ key: "4ej97u"
2168
+ }],
2169
+ ["line", {
2170
+ x1: "21",
2171
+ x2: "16.65",
2172
+ y1: "21",
2173
+ y2: "16.65",
2174
+ key: "13gj7c"
2175
+ }],
2176
+ ["line", {
2177
+ x1: "8",
2178
+ x2: "14",
2179
+ y1: "11",
2180
+ y2: "11",
2181
+ key: "durymu"
2182
+ }]
2183
+ ]), Ot = ({ filter: e, onSelect: t, currentValue: n }) => {
2184
+ let [r, i] = g(!1), a = h(null), o = h(null), [s, c] = g({
2185
+ top: 0,
2186
+ left: 0
2187
+ }), l = C((e) => e.strataTokens), u = C((e) => e.builderTheme), d = l.filter(e);
2188
+ return f(() => {
2189
+ if (!r) return;
2190
+ let e = (e) => {
2191
+ o.current && !o.current.contains(e.target) && a.current && !a.current.contains(e.target) && i(!1);
2192
+ };
2193
+ return document.addEventListener("mousedown", e), window.addEventListener("scroll", e, !0), () => {
2194
+ document.removeEventListener("mousedown", e), window.removeEventListener("scroll", e, !0);
2195
+ };
2196
+ }, [r]), d.length === 0 ? null : /* @__PURE__ */ y(_, { children: [/* @__PURE__ */ v("button", {
2197
+ ref: a,
2198
+ type: "button",
2199
+ onClick: (e) => {
2200
+ if (e.stopPropagation(), !r && a.current) {
2201
+ let e = a.current.getBoundingClientRect(), t = window.innerWidth - 240 - 12;
2202
+ c({
2203
+ top: e.bottom + 4,
2204
+ left: Math.min(Math.max(12, e.right - 240), Math.max(12, t))
2205
+ });
2206
+ }
2207
+ i((e) => !e);
2208
+ },
2209
+ title: "Pick a Strata token",
2210
+ className: "flex items-center justify-center transition-opacity hover:opacity-75 flex-shrink-0",
2211
+ style: {
2212
+ background: "none",
2213
+ border: "none",
2214
+ padding: "1px",
2215
+ cursor: "pointer"
2216
+ },
2217
+ children: /* @__PURE__ */ y("svg", {
2218
+ width: "14",
2219
+ height: "14",
2220
+ viewBox: "0 0 500 500",
2221
+ fill: "none",
2222
+ xmlns: "http://www.w3.org/2000/svg",
2223
+ children: [/* @__PURE__ */ v("path", {
2224
+ d: "M213.078 288.059C210.521 308.908 176.678 276.095 163.148 249.05C149.617 222.006 138.865 124.302 175.075 97.8405C205.945 75.2806 329.643 70.7506 380.275 85.6488C444.829 104.644 431.142 185.962 422.62 227.178C418.109 248.992 390.232 181.783 343.324 147.438C239.628 71.5133 221.622 218.37 213.095 287.919L213.078 288.059Z",
2225
+ fill: "#fe5d7a",
2226
+ stroke: "#fe5d7a",
2227
+ strokeWidth: "4"
2228
+ }), /* @__PURE__ */ v("path", {
2229
+ d: "M296.923 228.541C299.479 207.691 333.323 240.504 346.853 267.549C360.383 294.593 371.135 392.297 334.926 418.759C304.056 441.318 180.357 445.849 129.726 430.95C65.1711 411.955 78.8583 330.637 87.3808 289.421C91.8914 267.607 119.769 334.816 166.676 369.161C270.372 445.086 288.378 298.23 296.906 228.68L296.923 228.541Z",
2230
+ fill: "#fe5d7a",
2231
+ fillOpacity: "0.55",
2232
+ stroke: "#fe5d7a",
2233
+ strokeOpacity: "0.55",
2234
+ strokeWidth: "4"
2235
+ })]
2236
+ })
2237
+ }), r && typeof document < "u" && te.createPortal(/* @__PURE__ */ v("div", {
2238
+ ref: o,
2239
+ className: "rounded-lg shadow-2xl overflow-hidden",
2240
+ style: {
2241
+ position: "fixed",
2242
+ top: `${s.top}px`,
2243
+ left: `${s.left}px`,
2244
+ zIndex: 999999,
2245
+ backgroundColor: u.backgroundColor || "#0e1526",
2246
+ border: "1px solid #334155",
2247
+ width: "240px",
2248
+ maxHeight: "240px",
2249
+ overflowY: "auto",
2250
+ boxShadow: "0 20px 50px rgba(0, 0, 0, 0.5)"
2251
+ },
2252
+ children: d.map((e) => {
2253
+ let r = n === e.value || n === `var(--${e.key})`;
2254
+ return /* @__PURE__ */ y("button", {
2255
+ type: "button",
2256
+ onClick: () => {
2257
+ t(e.value), i(!1);
2258
+ },
2259
+ className: `w-full text-left px-3 py-2 text-xs flex items-center justify-between transition hover:bg-slate-800 ${r ? "bg-indigo-950/60 font-bold" : ""}`,
2260
+ style: { color: r ? void 0 : u.textColor || "#cbd5e1" },
2261
+ children: [/* @__PURE__ */ y("div", {
2262
+ className: "flex flex-col min-w-0 pr-2",
2263
+ children: [/* @__PURE__ */ v("span", {
2264
+ className: "truncate font-mono text-[11px]",
2265
+ children: e.name || e.key
2266
+ }), /* @__PURE__ */ v("span", {
2267
+ className: "text-[9px] font-mono truncate opacity-70",
2268
+ children: e.value
2269
+ })]
2270
+ }), e.type === "color" && /* @__PURE__ */ v("span", {
2271
+ className: "w-3.5 h-3.5 rounded-full border border-slate-700 shrink-0",
2272
+ style: { backgroundColor: e.value }
2273
+ })]
2274
+ }, e.key);
2275
+ })
2276
+ }), document.body)] });
2277
+ }, kt = {
2278
+ backgroundImage: "linear-gradient(45deg, #8884 25%, transparent 25%), linear-gradient(-45deg, #8884 25%, transparent 25%), linear-gradient(45deg, transparent 75%, #8884 75%), linear-gradient(-45deg, transparent 75%, #8884 75%)",
2279
+ backgroundSize: "8px 8px",
2280
+ backgroundPosition: "0 0, 0 4px, 4px -4px, -4px 0",
2281
+ backgroundColor: "#fff"
2282
+ }, At = 232, $ = (e, t, n) => Math.min(n, Math.max(t, e)), jt = [], Mt = (e) => {
2283
+ jt = [e, ...jt.filter((t) => t !== e)].slice(0, 8);
2284
+ }, Nt = (e) => (e || "").trim().toLowerCase().startsWith("rgb") ? "rgba" : "hex";
2285
+ function Pt(e, t, n) {
2286
+ let r = h(null), i = h(!1), a = (t) => {
2287
+ let n = r.current?.getBoundingClientRect();
2288
+ !n || !n.width || !n.height || e($((t.clientX - n.left) / n.width, 0, 1), $((t.clientY - n.top) / n.height, 0, 1));
2289
+ };
2290
+ return {
2291
+ ref: r,
2292
+ props: {
2293
+ tabIndex: 0,
2294
+ onPointerDown: (e) => {
2295
+ e.preventDefault(), i.current = !0, e.currentTarget.focus(), e.currentTarget.setPointerCapture(e.pointerId), a(e);
2296
+ },
2297
+ onPointerMove: (e) => i.current && a(e),
2298
+ onPointerUp: () => {
2299
+ i.current && (i.current = !1, n());
2300
+ },
2301
+ onPointerCancel: () => {
2302
+ i.current && (i.current = !1, n());
2303
+ },
2304
+ onKeyDown: (e) => {
2305
+ let n = e.shiftKey ? 10 : 1, r = {
2306
+ ArrowLeft: [-n, 0],
2307
+ ArrowRight: [n, 0],
2308
+ ArrowUp: [0, n],
2309
+ ArrowDown: [0, -n]
2310
+ };
2311
+ r[e.key] && (e.preventDefault(), t(...r[e.key]));
2312
+ },
2313
+ onKeyUp: (e) => {
2314
+ e.key.startsWith("Arrow") && n();
2315
+ },
2316
+ style: { touchAction: "none" }
2317
+ }
2318
+ };
2319
+ }
2320
+ var Ft = ({ label: e, value: t, onChange: s, textColor: c, backgroundColor: l, compact: d, accentColor: _, swatches: ee, tokens: b, resolve: x }) => {
2321
+ let S = c || "var(--builder-text-color, #e2e8f0)", C = l || "var(--builder-background-color, #0e1526)", w = _ || "var(--theme-accent, #6366f1)", T = "rgba(128,128,128,0.35)", [E, D] = g(!1), [O, k] = g(null), [A, ne] = g(() => Nt(t)), [j, re] = g(null), M = h(null), N = h(null), P = h(null), F = b?.find((e) => e.value === t), ie = m(() => /^\s*var\(/.test(t) ? x?.(t) ?? F?.color ?? t : t, [
2322
+ t,
2323
+ x,
2324
+ F
2325
+ ]), I = m(() => r(ie), [ie]), L = !t || t.trim().toLowerCase() === "transparent", ae = !L && !I, R = h(I ?? {
2326
+ r: 255,
2327
+ g: 255,
2328
+ b: 255
2329
+ });
2330
+ I && !L && (R.current = I);
2331
+ let [z, oe] = g(() => i(R.current)), [B, V] = g(() => L ? 0 : I?.a ?? 1), H = h(z);
2332
+ H.current = z;
2333
+ let U = h(B);
2334
+ U.current = B;
2335
+ let W = h(A);
2336
+ W.current = A;
2337
+ let G = h(null);
2338
+ f(() => {
2339
+ t === G.current && !F || (I && !L ? (oe((e) => i(I, e)), V(I.a), F || ne(Nt(t))) : L && V(0));
2340
+ }, [
2341
+ t,
2342
+ I,
2343
+ L,
2344
+ F
2345
+ ]);
2346
+ let K = u((e, t, r = W.current) => {
2347
+ let i = o(e.h, e.s, e.v);
2348
+ R.current = i;
2349
+ let c = {
2350
+ ...i,
2351
+ a: t
2352
+ }, l = r === "rgba" ? a(c) : n(c);
2353
+ G.current = l, oe(e), V(t), s(l);
2354
+ }, [s]), q = u((e, t) => {
2355
+ if (t.trim().toLowerCase() === "transparent") {
2356
+ G.current = "transparent", V(0), s("transparent");
2357
+ return;
2358
+ }
2359
+ let n = /^\s*rgb/i.test(t) ? "rgba" : W.current;
2360
+ n !== W.current && ne(n), K(i(e, H.current), e.a, n);
2361
+ }, [K, s]), se = () => {
2362
+ if (O === null) return;
2363
+ let e = r(O);
2364
+ e && O.trim() && q(e, O), k(null);
2365
+ }, J = O !== null && O.trim() !== "" && !r(O), ce = O ?? F?.label ?? t, Y = u(() => {
2366
+ let e = N.current?.getBoundingClientRect();
2367
+ if (!e) return;
2368
+ let t = P.current?.offsetHeight ?? 340, n = $(e.right - At, 8, Math.max(8, window.innerWidth - At - 8)), r = e.bottom + 6, i = r + t > window.innerHeight - 8 ? Math.max(8, e.top - t - 6) : r;
2369
+ re({
2370
+ top: i,
2371
+ left: n
2372
+ });
2373
+ }, []);
2374
+ p(() => {
2375
+ E && Y();
2376
+ }, [E, Y]);
2377
+ let X = u((e = !1) => {
2378
+ D(!1), !L && I && Mt(n({
2379
+ ...R.current,
2380
+ a: 1
2381
+ })), e && N.current?.focus();
2382
+ }, [L, I]);
2383
+ f(() => {
2384
+ if (!E) return;
2385
+ let e = (e) => {
2386
+ let t = e.target;
2387
+ P.current?.contains(t) || N.current?.contains(t) || X();
2388
+ }, t = (e) => {
2389
+ e.key === "Escape" && (e.stopPropagation(), X(!0));
2390
+ }, n = (e) => {
2391
+ P.current?.contains(e.target) || X();
2392
+ };
2393
+ return document.addEventListener("pointerdown", e, !0), document.addEventListener("keydown", t, !0), window.addEventListener("scroll", n, !0), window.addEventListener("resize", Y), () => {
2394
+ document.removeEventListener("pointerdown", e, !0), document.removeEventListener("keydown", t, !0), window.removeEventListener("scroll", n, !0), window.removeEventListener("resize", Y);
2395
+ };
2396
+ }, [
2397
+ E,
2398
+ X,
2399
+ Y
2400
+ ]);
2401
+ let le = Pt((e, t) => K({
2402
+ ...H.current,
2403
+ s: e * 100,
2404
+ v: (1 - t) * 100
2405
+ }, U.current === 0 ? 1 : U.current), (e, t) => K({
2406
+ ...H.current,
2407
+ s: $(H.current.s + e, 0, 100),
2408
+ v: $(H.current.v + t, 0, 100)
2409
+ }, U.current === 0 ? 1 : U.current), () => void 0), ue = Pt((e) => K({
2410
+ ...H.current,
2411
+ h: e * 360
2412
+ }, U.current === 0 ? 1 : U.current), (e) => K({
2413
+ ...H.current,
2414
+ h: $(H.current.h + e * 2, 0, 360)
2415
+ }, U.current === 0 ? 1 : U.current), () => void 0), de = Pt((e) => K(H.current, Math.round(e * 100) / 100), (e) => K(H.current, $(Math.round((U.current + e / 100) * 100) / 100, 0, 1)), () => void 0), Z = o(z.h, z.s, z.v), fe = `rgb(${Z.r}, ${Z.g}, ${Z.b})`, pe = L ? "transparent" : ae ? t : I ? a(I) : "transparent", Q = L, me = typeof window < "u" && "EyeDropper" in window, he = async () => {
2416
+ try {
2417
+ let e = window.EyeDropper, t = await new e().open(), n = r(t.sRGBHex);
2418
+ n && q({
2419
+ ...n,
2420
+ a: U.current === 0 ? 1 : U.current
2421
+ }, t.sRGBHex);
2422
+ } catch {}
2423
+ }, ge = () => {
2424
+ let e = A === "hex" ? "rgba" : "hex";
2425
+ ne(e), !L && I && K(H.current, U.current === 0 ? 1 : U.current, e);
2426
+ }, _e = (e) => {
2427
+ e ? (G.current = "transparent", V(0), s("transparent")) : K(H.current, 1);
2428
+ }, ve = [...ee ?? [], ...jt.filter((e) => !(ee ?? []).includes(e))].slice(0, 14), ye = /* @__PURE__ */ v("input", {
2429
+ type: "text",
2430
+ value: ce,
2431
+ spellCheck: !1,
2432
+ autoComplete: "off",
2433
+ "aria-label": e ? `${e} colour code` : "Colour code",
2434
+ "aria-invalid": J || void 0,
2435
+ placeholder: "#3b82f6",
2436
+ onFocus: (e) => e.currentTarget.select(),
2437
+ onChange: (e) => {
2438
+ let t = e.target.value;
2439
+ k(t);
2440
+ let c = r(t);
2441
+ if (c && t.trim()) {
2442
+ let e = /^\s*rgb/i.test(t) ? "rgba" : W.current;
2443
+ if (t.trim().toLowerCase() === "transparent") G.current = "transparent", s("transparent");
2444
+ else {
2445
+ let t = i(c, H.current), r = o(t.h, t.s, t.v), l = e === "rgba" ? a({
2446
+ ...r,
2447
+ a: c.a
2448
+ }) : n({
2449
+ ...r,
2450
+ a: c.a
2451
+ });
2452
+ G.current = l, oe(t), V(c.a), s(l);
2453
+ }
2454
+ }
2455
+ },
2456
+ onPaste: (e) => {
2457
+ let t = e.clipboardData.getData("text").trim();
2458
+ if (!t) return;
2459
+ e.preventDefault();
2460
+ let n = r(t);
2461
+ n ? (q(n, t), k(null)) : k(t);
2462
+ },
2463
+ onBlur: se,
2464
+ onKeyDown: (e) => {
2465
+ e.key === "Enter" ? (e.preventDefault(), se(), e.target.blur()) : e.key === "Escape" && (k(null), e.target.blur());
2466
+ },
2467
+ className: `${d ? "flex-1 min-w-0" : "w-24"} bg-transparent font-mono text-xs outline-none rounded px-1.5 py-1 border`,
2468
+ style: {
2469
+ color: S,
2470
+ borderColor: J ? "#f43f5e" : "transparent"
2471
+ },
2472
+ onMouseEnter: (e) => {
2473
+ J || (e.currentTarget.style.borderColor = T);
2474
+ },
2475
+ onMouseLeave: (e) => {
2476
+ !J && document.activeElement !== e.currentTarget && (e.currentTarget.style.borderColor = "transparent");
2477
+ }
2478
+ }), be = /* @__PURE__ */ y("button", {
2479
+ ref: N,
2480
+ type: "button",
2481
+ onClick: () => D((e) => !e),
2482
+ "aria-haspopup": "dialog",
2483
+ "aria-expanded": E,
2484
+ "aria-label": `${e ?? "Colour"}: ${t || "none"}. Open colour picker`,
2485
+ className: "relative w-6 h-6 rounded-md overflow-hidden shrink-0 focus:outline-none",
2486
+ style: {
2487
+ ...kt,
2488
+ border: `1px solid ${T}`,
2489
+ boxShadow: E ? `0 0 0 2px ${w}` : void 0
2490
+ },
2491
+ children: [/* @__PURE__ */ v("span", {
2492
+ className: "absolute inset-0",
2493
+ style: { backgroundColor: pe }
2494
+ }), L && /* @__PURE__ */ v("span", { className: "absolute left-0 right-0 top-1/2 h-0.5 bg-rose-500 rotate-45 scale-110" })]
2495
+ }), xe = M.current?.closest(".plexo-editor") ?? (typeof document < "u" ? document.body : null), Se = E && xe ? te.createPortal(/* @__PURE__ */ y("div", {
2496
+ ref: P,
2497
+ role: "dialog",
2498
+ "aria-label": "Colour picker",
2499
+ tabIndex: -1,
2500
+ style: {
2501
+ position: "fixed",
2502
+ top: j?.top ?? 0,
2503
+ left: j?.left ?? 0,
2504
+ visibility: j ? "visible" : "hidden",
2505
+ zIndex: 2147483e3,
2506
+ width: At,
2507
+ boxSizing: "border-box",
2508
+ padding: 12,
2509
+ display: "flex",
2510
+ flexDirection: "column",
2511
+ gap: 12,
2512
+ borderRadius: 12,
2513
+ border: `1px solid ${T}`,
2514
+ boxShadow: "0 16px 40px rgba(0,0,0,0.45)",
2515
+ backgroundColor: C,
2516
+ color: S,
2517
+ fontSize: 12
2518
+ },
2519
+ children: [
2520
+ /* @__PURE__ */ y("div", {
2521
+ ref: le.ref,
2522
+ ...le.props,
2523
+ role: "slider",
2524
+ "aria-label": "Saturation and brightness",
2525
+ "aria-valuetext": `Saturation ${Math.round(z.s)}%, brightness ${Math.round(z.v)}%`,
2526
+ "aria-valuenow": Math.round(z.s),
2527
+ style: {
2528
+ ...le.props.style,
2529
+ position: "relative",
2530
+ height: 120,
2531
+ borderRadius: 8,
2532
+ cursor: "crosshair",
2533
+ overflow: "hidden",
2534
+ opacity: Q ? .35 : 1,
2535
+ pointerEvents: Q ? "none" : "auto",
2536
+ backgroundColor: `hsl(${z.h}, 100%, 50%)`
2537
+ },
2538
+ children: [
2539
+ /* @__PURE__ */ v("div", { style: {
2540
+ position: "absolute",
2541
+ inset: 0,
2542
+ background: "linear-gradient(to right, #fff, rgba(255,255,255,0))"
2543
+ } }),
2544
+ /* @__PURE__ */ v("div", { style: {
2545
+ position: "absolute",
2546
+ inset: 0,
2547
+ background: "linear-gradient(to top, #000, rgba(0,0,0,0))"
2548
+ } }),
2549
+ /* @__PURE__ */ v("div", { style: {
2550
+ position: "absolute",
2551
+ left: `${z.s}%`,
2552
+ bottom: `${z.v}%`,
2553
+ width: 14,
2554
+ height: 14,
2555
+ marginLeft: -7,
2556
+ marginBottom: -7,
2557
+ borderRadius: 999,
2558
+ border: "2px solid #fff",
2559
+ boxShadow: "0 0 0 1px rgba(0,0,0,0.4), 0 2px 6px rgba(0,0,0,0.4)",
2560
+ backgroundColor: fe,
2561
+ pointerEvents: "none"
2562
+ } })
2563
+ ]
2564
+ }),
2565
+ /* @__PURE__ */ y("div", {
2566
+ style: {
2567
+ display: "flex",
2568
+ alignItems: "center",
2569
+ gap: 8
2570
+ },
2571
+ children: [me && /* @__PURE__ */ v("button", {
2572
+ type: "button",
2573
+ onClick: he,
2574
+ title: "Pick a colour from the screen",
2575
+ "aria-label": "Pick a colour from the screen",
2576
+ style: {
2577
+ display: "flex",
2578
+ alignItems: "center",
2579
+ justifyContent: "center",
2580
+ width: 28,
2581
+ height: 28,
2582
+ flex: "none",
2583
+ borderRadius: 8,
2584
+ border: `1px solid ${T}`,
2585
+ background: "transparent",
2586
+ color: S,
2587
+ cursor: "pointer"
2588
+ },
2589
+ children: /* @__PURE__ */ y("svg", {
2590
+ width: "14",
2591
+ height: "14",
2592
+ viewBox: "0 0 24 24",
2593
+ fill: "none",
2594
+ stroke: "currentColor",
2595
+ strokeWidth: "2.2",
2596
+ strokeLinecap: "round",
2597
+ strokeLinejoin: "round",
2598
+ "aria-hidden": "true",
2599
+ children: [
2600
+ /* @__PURE__ */ v("path", { d: "m2 22 1-1h3l9-9" }),
2601
+ /* @__PURE__ */ v("path", { d: "M3 21v-3l9-9" }),
2602
+ /* @__PURE__ */ v("path", { d: "m15 6 3.4-3.4a2.1 2.1 0 1 1 3 3L18 9l.4.4a2.1 2.1 0 1 1-3 3l-3.8-3.8a2.1 2.1 0 1 1 3-3l.4.4Z" })
2603
+ ]
2604
+ })
2605
+ }), /* @__PURE__ */ v("div", {
2606
+ ref: ue.ref,
2607
+ ...ue.props,
2608
+ role: "slider",
2609
+ "aria-label": "Hue",
2610
+ "aria-valuemin": 0,
2611
+ "aria-valuemax": 360,
2612
+ "aria-valuenow": Math.round(z.h),
2613
+ style: {
2614
+ ...ue.props.style,
2615
+ position: "relative",
2616
+ flex: 1,
2617
+ height: 10,
2618
+ borderRadius: 999,
2619
+ cursor: "pointer",
2620
+ opacity: Q ? .35 : 1,
2621
+ pointerEvents: Q ? "none" : "auto",
2622
+ background: "linear-gradient(to right, #f00 0%, #ff0 17%, #0f0 33%, #0ff 50%, #00f 67%, #f0f 83%, #f00 100%)"
2623
+ },
2624
+ children: /* @__PURE__ */ v("div", { style: {
2625
+ position: "absolute",
2626
+ top: "50%",
2627
+ left: `${z.h / 360 * 100}%`,
2628
+ width: 14,
2629
+ height: 14,
2630
+ marginLeft: -7,
2631
+ marginTop: -7,
2632
+ borderRadius: 999,
2633
+ border: "2px solid #fff",
2634
+ boxShadow: "0 0 0 1px rgba(0,0,0,0.4)",
2635
+ backgroundColor: `hsl(${z.h}, 100%, 50%)`,
2636
+ pointerEvents: "none"
2637
+ } })
2638
+ })]
2639
+ }),
2640
+ /* @__PURE__ */ y("div", {
2641
+ style: {
2642
+ display: "flex",
2643
+ flexDirection: "column",
2644
+ gap: 6
2645
+ },
2646
+ children: [/* @__PURE__ */ y("div", {
2647
+ style: {
2648
+ display: "flex",
2649
+ justifyContent: "space-between",
2650
+ fontWeight: 600
2651
+ },
2652
+ children: [/* @__PURE__ */ v("span", { children: "Opacity" }), /* @__PURE__ */ y("span", {
2653
+ style: {
2654
+ fontFamily: "ui-monospace, monospace",
2655
+ fontWeight: 500,
2656
+ opacity: .8
2657
+ },
2658
+ children: [Math.round(B * 100), "%"]
2659
+ })]
2660
+ }), /* @__PURE__ */ y("div", {
2661
+ ref: de.ref,
2662
+ ...de.props,
2663
+ role: "slider",
2664
+ "aria-label": "Opacity",
2665
+ "aria-valuemin": 0,
2666
+ "aria-valuemax": 100,
2667
+ "aria-valuenow": Math.round(B * 100),
2668
+ style: {
2669
+ ...de.props.style,
2670
+ ...kt,
2671
+ position: "relative",
2672
+ height: 10,
2673
+ borderRadius: 999,
2674
+ cursor: "pointer",
2675
+ opacity: Q ? .35 : 1,
2676
+ pointerEvents: Q ? "none" : "auto"
2677
+ },
2678
+ children: [/* @__PURE__ */ v("div", { style: {
2679
+ position: "absolute",
2680
+ inset: 0,
2681
+ borderRadius: 999,
2682
+ background: `linear-gradient(to right, rgba(${Z.r},${Z.g},${Z.b},0), ${fe})`
2683
+ } }), /* @__PURE__ */ v("div", { style: {
2684
+ position: "absolute",
2685
+ top: "50%",
2686
+ left: `${B * 100}%`,
2687
+ width: 14,
2688
+ height: 14,
2689
+ marginLeft: -7,
2690
+ marginTop: -7,
2691
+ borderRadius: 999,
2692
+ border: "2px solid #fff",
2693
+ boxShadow: "0 0 0 1px rgba(0,0,0,0.4)",
2694
+ backgroundColor: fe,
2695
+ pointerEvents: "none"
2696
+ } })]
2697
+ })]
2698
+ }),
2699
+ b && b.length > 0 && /* @__PURE__ */ y("div", {
2700
+ style: {
2701
+ display: "flex",
2702
+ flexDirection: "column",
2703
+ gap: 6
2704
+ },
2705
+ children: [
2706
+ /* @__PURE__ */ v("div", {
2707
+ style: { fontWeight: 600 },
2708
+ children: "Brand colours"
2709
+ }),
2710
+ /* @__PURE__ */ v("div", {
2711
+ style: {
2712
+ display: "flex",
2713
+ flexWrap: "wrap",
2714
+ gap: 6
2715
+ },
2716
+ children: b.map((e) => {
2717
+ let n = e.value === t;
2718
+ return /* @__PURE__ */ v("button", {
2719
+ type: "button",
2720
+ title: e.label,
2721
+ "aria-label": `Use ${e.label}`,
2722
+ "aria-pressed": n,
2723
+ onClick: () => {
2724
+ G.current = e.value, s(e.value);
2725
+ },
2726
+ style: {
2727
+ ...kt,
2728
+ position: "relative",
2729
+ width: 22,
2730
+ height: 22,
2731
+ borderRadius: 7,
2732
+ border: `1px solid ${T}`,
2733
+ boxShadow: n ? `0 0 0 2px ${w}` : void 0,
2734
+ padding: 0,
2735
+ cursor: "pointer",
2736
+ overflow: "hidden"
2737
+ },
2738
+ children: /* @__PURE__ */ v("span", { style: {
2739
+ position: "absolute",
2740
+ inset: 0,
2741
+ backgroundColor: e.color
2742
+ } })
2743
+ }, e.value);
2744
+ })
2745
+ }),
2746
+ F && /* @__PURE__ */ y("div", {
2747
+ style: {
2748
+ fontSize: 11,
2749
+ opacity: .7
2750
+ },
2751
+ children: [
2752
+ "Using “",
2753
+ F.label,
2754
+ "” — it changes if your brand does."
2755
+ ]
2756
+ })
2757
+ ]
2758
+ }),
2759
+ ve.length > 0 && /* @__PURE__ */ v("div", {
2760
+ style: {
2761
+ display: "flex",
2762
+ flexWrap: "wrap",
2763
+ gap: 6
2764
+ },
2765
+ children: ve.map((e) => /* @__PURE__ */ v("button", {
2766
+ type: "button",
2767
+ title: e,
2768
+ "aria-label": `Use ${e}`,
2769
+ onClick: () => {
2770
+ let t = r(e);
2771
+ t && q(t, e);
2772
+ },
2773
+ style: {
2774
+ ...kt,
2775
+ position: "relative",
2776
+ width: 20,
2777
+ height: 20,
2778
+ borderRadius: 6,
2779
+ border: `1px solid ${T}`,
2780
+ padding: 0,
2781
+ cursor: "pointer",
2782
+ overflow: "hidden"
2783
+ },
2784
+ children: /* @__PURE__ */ v("span", { style: {
2785
+ position: "absolute",
2786
+ inset: 0,
2787
+ backgroundColor: e
2788
+ } })
2789
+ }, e))
2790
+ }),
2791
+ /* @__PURE__ */ y("div", {
2792
+ style: {
2793
+ display: "flex",
2794
+ alignItems: "center",
2795
+ justifyContent: "space-between",
2796
+ paddingTop: 10,
2797
+ borderTop: `1px solid ${T}`
2798
+ },
2799
+ children: [/* @__PURE__ */ v("button", {
2800
+ type: "button",
2801
+ onClick: ge,
2802
+ title: `Write colours as ${A === "hex" ? "RGBA" : "HEX"}`,
2803
+ style: {
2804
+ padding: "3px 8px",
2805
+ borderRadius: 6,
2806
+ border: `1px solid ${T}`,
2807
+ background: "transparent",
2808
+ color: S,
2809
+ cursor: "pointer",
2810
+ fontSize: 10,
2811
+ fontWeight: 700,
2812
+ letterSpacing: "0.05em"
2813
+ },
2814
+ children: A === "hex" ? "HEX" : "RGBA"
2815
+ }), /* @__PURE__ */ y("label", {
2816
+ style: {
2817
+ display: "flex",
2818
+ alignItems: "center",
2819
+ gap: 8,
2820
+ cursor: "pointer",
2821
+ fontWeight: 500
2822
+ },
2823
+ children: ["Transparent", /* @__PURE__ */ v("button", {
2824
+ type: "button",
2825
+ role: "switch",
2826
+ "aria-checked": L,
2827
+ "aria-label": "Transparent",
2828
+ onClick: () => _e(!L),
2829
+ style: {
2830
+ position: "relative",
2831
+ width: 30,
2832
+ height: 18,
2833
+ borderRadius: 999,
2834
+ border: 0,
2835
+ padding: 0,
2836
+ cursor: "pointer",
2837
+ backgroundColor: L ? w : "rgba(128,128,128,0.4)",
2838
+ transition: "background-color .15s"
2839
+ },
2840
+ children: /* @__PURE__ */ v("span", { style: {
2841
+ position: "absolute",
2842
+ top: 2,
2843
+ left: L ? 14 : 2,
2844
+ width: 14,
2845
+ height: 14,
2846
+ borderRadius: 999,
2847
+ backgroundColor: "#fff",
2848
+ boxShadow: "0 1px 2px rgba(0,0,0,0.4)",
2849
+ transition: "left .15s"
2850
+ } })
2851
+ })]
2852
+ })]
2853
+ }),
2854
+ ae && !F && /* @__PURE__ */ v("p", {
2855
+ style: {
2856
+ margin: 0,
2857
+ fontSize: 11,
2858
+ opacity: .7
2859
+ },
2860
+ children: "This colour comes from a setting the picker can't show. Picking a colour replaces it."
2861
+ })
2862
+ ]
2863
+ }), xe) : null, Ce = /* @__PURE__ */ v(Ot, {
2864
+ filter: (e) => e.type === "color" || /^#[0-9a-fA-F]{3,8}$|^rgba?\(|^hsla?\(/.test(e.value),
2865
+ onSelect: s,
2866
+ currentValue: t
2867
+ });
2868
+ return d ? /* @__PURE__ */ y("div", {
2869
+ ref: M,
2870
+ className: "relative flex items-center gap-1.5 w-full min-w-0",
2871
+ children: [
2872
+ be,
2873
+ ye,
2874
+ Ce,
2875
+ J && /* @__PURE__ */ v("span", {
2876
+ className: "sr-only",
2877
+ role: "alert",
2878
+ children: "That isn't a colour. Try something like #3b82f6."
2879
+ }),
2880
+ Se
2881
+ ]
2882
+ }) : /* @__PURE__ */ y("div", {
2883
+ ref: M,
2884
+ className: "relative flex flex-col border-b border-slate-800/10 last:border-b-0 py-3",
2885
+ children: [
2886
+ /* @__PURE__ */ y("div", {
2887
+ className: "flex items-center justify-between gap-2",
2888
+ children: [e && /* @__PURE__ */ v("span", {
2889
+ className: "text-sm font-semibold leading-5 tracking-[0.01em]",
2890
+ style: { color: S },
2891
+ children: e
2892
+ }), /* @__PURE__ */ y("div", {
2893
+ className: "flex items-center gap-2 min-w-0",
2894
+ children: [
2895
+ ye,
2896
+ Ce,
2897
+ be
2898
+ ]
2899
+ })]
2900
+ }),
2901
+ J && /* @__PURE__ */ v("p", {
2902
+ role: "alert",
2903
+ className: "text-[11px] text-right mt-1",
2904
+ style: { color: "#fb7185" },
2905
+ children: "That isn't a colour. Try something like #3b82f6."
2906
+ }),
2907
+ Se
2908
+ ]
2909
+ });
2910
+ };
2911
+ //#endregion
2912
+ export { je as $, et as A, K as At, We as B, ae as Bt, st as C, le as Ct, rt as D, J as Dt, it as E, ce as Et, Ye as F, V as Ft, ze as G, P as Gt, He as H, I as Ht, Je as I, B as It, Ie as J, re as Jt, Re as K, N as Kt, qe as L, oe as Lt, Qe as M, W as Mt, Ze as N, U as Nt, nt as O, se as Ot, Xe as P, H as Pt, Me as Q, Ke as R, z as Rt, ct as S, ue as St, at as T, Y as Tt, Ve as U, ie as Ut, Ue as V, L as Vt, Be as W, F as Wt, Pe as X, j as Xt, Fe as Y, ne as Yt, Ne as Z, C as Zt, pt as _, Q as _t, Tt as a, Te as at, ut as b, Z as bt, St as c, Se as ct, yt as d, ye as dt, Ae as et, vt as f, ve as ft, mt as g, me as gt, ht as h, he as ht, Et as i, Ee as it, $e as j, G as jt, tt as k, q as kt, xt as l, xe as lt, gt as m, ge as mt, Ot as n, Oe as nt, wt as o, we as ot, _t as p, _e as pt, Le as q, M as qt, Dt as r, De as rt, Ct as s, Ce as st, Ft as t, ke as tt, bt as u, be as ut, ft as v, pe as vt, ot as w, X as wt, lt as x, de as xt, dt as y, fe as yt, Ge as z, R as zt };