@luminescent/ui 0.1.1

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 (32) hide show
  1. package/LICENSE +661 -0
  2. package/README.md +1 -0
  3. package/lib/index.qwik.cjs +1328 -0
  4. package/lib/index.qwik.mjs +1328 -0
  5. package/lib-types/components/elements/Button.d.ts +31 -0
  6. package/lib-types/components/elements/Card.d.ts +99 -0
  7. package/lib-types/components/elements/ColorInput.d.ts +9 -0
  8. package/lib-types/components/elements/LoadingIcon.d.ts +8 -0
  9. package/lib-types/components/elements/NumberInput.d.ts +26 -0
  10. package/lib-types/components/elements/OutputField.d.ts +20 -0
  11. package/lib-types/components/elements/SelectInput.d.ts +14 -0
  12. package/lib-types/components/elements/TextAreaInput.d.ts +13 -0
  13. package/lib-types/components/elements/TextInput.d.ts +15 -0
  14. package/lib-types/components/elements/Toggle.d.ts +12 -0
  15. package/lib-types/components/elements.d.ts +9 -0
  16. package/lib-types/components/logos/Birdflop.d.ts +6 -0
  17. package/lib-types/components/logos/Discord.d.ts +2 -0
  18. package/lib-types/components/logos/Fabric.d.ts +2 -0
  19. package/lib-types/components/logos/Forge.d.ts +2 -0
  20. package/lib-types/components/logos/IconProps.d.ts +3 -0
  21. package/lib-types/components/logos/LoadingIcon.d.ts +8 -0
  22. package/lib-types/components/logos/Paper.d.ts +2 -0
  23. package/lib-types/components/logos/Pterodactyl.d.ts +2 -0
  24. package/lib-types/components/logos/Purpur.d.ts +2 -0
  25. package/lib-types/components/logos/Velocity.d.ts +2 -0
  26. package/lib-types/components/logos/Waterfall.d.ts +2 -0
  27. package/lib-types/components/logos.d.ts +10 -0
  28. package/lib-types/entry.dev.d.ts +2 -0
  29. package/lib-types/entry.ssr.d.ts +14 -0
  30. package/lib-types/index.d.ts +2 -0
  31. package/lib-types/root.d.ts +3 -0
  32. package/package.json +61 -0
@@ -0,0 +1,1328 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
+ const qwik = require("@builder.io/qwik");
4
+ const build = require("@builder.io/qwik/build");
5
+ const jsxRuntime = require("@builder.io/qwik/jsx-runtime");
6
+ const buttonColorClasses = {
7
+ blue: "bg-blue-600/90 border-blue-500 hover:bg-blue-500 focus:bg-blue-500",
8
+ purple: "bg-purple-600/90 border-purple-500 hover:bg-purple-500 focus:bg-purple-500",
9
+ pink: "bg-pink-600/90 border-pink-500 hover:bg-pink-500 focus:bg-pink-500",
10
+ gray: "bg-gray-800/90 border-gray-700 hover:bg-gray-700 focus:bg-gray-700",
11
+ red: "bg-red-700/90 border-red-600 hover:bg-red-600 focus:bg-red-600",
12
+ green: "bg-green-700/90 border-green-600 hover:bg-green-600 focus:bg-green-600",
13
+ yellow: "bg-yellow-700/90 border-yellow-600 hover:bg-yellow-600 focus:bg-yellow-600"
14
+ };
15
+ const sizeClasses = {
16
+ sm: "text-sm px-2 py-1 rounded-md gap-2",
17
+ md: "text-base px-4 py-2 rounded-md gap-3",
18
+ lg: "text-base px-6 py-3 rounded-lg gap-3",
19
+ xl: "text-base px-8 py-4 rounded-xl gap-4"
20
+ };
21
+ const buttonClass = "relative flex items-center gap-3 transition ease-in-out border text-gray-50 fill-gray-50 disabled:opacity-50";
22
+ const Button = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.inlinedQrl((props) => {
23
+ const props1 = qwik._restProps(props, [
24
+ "color",
25
+ "size"
26
+ ]);
27
+ props1.class = {
28
+ [buttonClass]: true,
29
+ [buttonColorClasses[props.color ?? "gray"]]: true,
30
+ [sizeClasses[props.size ?? "md"]]: true,
31
+ ...props1.class
32
+ };
33
+ return /* @__PURE__ */ qwik._jsxS("button", {
34
+ ...props1,
35
+ children: /* @__PURE__ */ qwik._jsxC(qwik.Slot, null, 3, "IU_0")
36
+ }, null, 0, "IU_1");
37
+ }, "Button_component_pNnu9oueddE"));
38
+ const ButtonAnchor = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.inlinedQrl((props) => {
39
+ const props1 = qwik._restProps(props, [
40
+ "color",
41
+ "size"
42
+ ]);
43
+ props1.class = {
44
+ [buttonClass]: true,
45
+ [buttonColorClasses[props.color ?? "gray"]]: true,
46
+ [sizeClasses[props.size ?? "md"]]: true,
47
+ ...props1.class
48
+ };
49
+ return /* @__PURE__ */ qwik._jsxS("a", {
50
+ ...props1,
51
+ children: /* @__PURE__ */ qwik._jsxC(qwik.Slot, null, 3, "IU_2")
52
+ }, null, 0, "IU_3");
53
+ }, "ButtonAnchor_component_hLA0X8fdWzI"));
54
+ const LoadingIcon = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.inlinedQrl((props) => {
55
+ return /* @__PURE__ */ qwik._jsxS("svg", {
56
+ ...props,
57
+ children: [
58
+ /* @__PURE__ */ qwik._jsxQ("circle", null, {
59
+ class: "opacity-25",
60
+ cx: "12",
61
+ cy: "12",
62
+ r: "10",
63
+ stroke: "currentColor",
64
+ "stroke-width": "4"
65
+ }, null, 3, null),
66
+ /* @__PURE__ */ qwik._jsxQ("path", null, {
67
+ class: "opacity-75",
68
+ d: "M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z",
69
+ fill: "currentColor"
70
+ }, null, 3, null)
71
+ ]
72
+ }, {
73
+ class: qwik._fnSignal((p0) => ({
74
+ "animate-spin": true,
75
+ ...p0.class
76
+ }), [
77
+ props
78
+ ], '{"animate-spin":true,...p0.class}'),
79
+ fill: "none",
80
+ viewBox: "0 0 24 24",
81
+ xmlns: "http://www.w3.org/2000/svg"
82
+ }, 0, "RF_0");
83
+ }, "LoadingIcon_component_EnZ0n0lcr7s"));
84
+ const cardColorClasses = {
85
+ pink: {
86
+ card: {
87
+ bg_blobs: "bg-pink-400/10 border-pink-400/20",
88
+ bg: "bg-pink-400/60 border-pink-400",
89
+ hover: "hover:bg-pink-400/20"
90
+ },
91
+ blobs: [
92
+ "bg-pink-400",
93
+ "bg-pink-500",
94
+ "bg-pink-600"
95
+ ]
96
+ },
97
+ red: {
98
+ card: {
99
+ bg_blobs: "bg-purple-400/10 border-purple-400/20",
100
+ bg: "bg-red-400/60 border-red-400",
101
+ hover: "hover:bg-purple-400/20"
102
+ },
103
+ blobs: [
104
+ "bg-red-400",
105
+ "bg-red-500",
106
+ "bg-red-600"
107
+ ]
108
+ },
109
+ orange: {
110
+ card: {
111
+ bg_blobs: "bg-orange-400/10 border-orange-400/20",
112
+ bg: "bg-orange-400/60 border-orange-400",
113
+ hover: "hover:bg-orange-400/20"
114
+ },
115
+ blobs: [
116
+ "bg-orange-400",
117
+ "bg-orange-500",
118
+ "bg-orange-600"
119
+ ]
120
+ },
121
+ yellow: {
122
+ card: {
123
+ bg_blobs: "bg-yellow-400/10 border-yellow-400/20",
124
+ bg: "bg-yellow-400/60 border-yellow-400",
125
+ hover: "hover:bg-yellow-400/20"
126
+ },
127
+ blobs: [
128
+ "bg-yellow-400",
129
+ "bg-yellow-500",
130
+ "bg-yellow-600"
131
+ ]
132
+ },
133
+ green: {
134
+ card: {
135
+ bg_blobs: "bg-green-400/10 border-green-400/20",
136
+ bg: "bg-green-400/60 border-green-400",
137
+ hover: "hover:bg-green-400/20"
138
+ },
139
+ blobs: [
140
+ "bg-green-400",
141
+ "bg-green-500",
142
+ "bg-green-600"
143
+ ]
144
+ },
145
+ blue: {
146
+ card: {
147
+ bg_blobs: "bg-blue-400/10 border-blue-400/20",
148
+ bg: "bg-blue-400/60 border-blue-400",
149
+ hover: "hover:bg-blue-400/20"
150
+ },
151
+ blobs: [
152
+ "bg-blue-400",
153
+ "bg-blue-500",
154
+ "bg-blue-600"
155
+ ]
156
+ },
157
+ purple: {
158
+ card: {
159
+ bg_blobs: "bg-purple-400/10 border-purple-400/20",
160
+ bg: "bg-purple-400/60 border-purple-400",
161
+ hover: "hover:bg-purple-400/20"
162
+ },
163
+ blobs: [
164
+ "bg-purple-400",
165
+ "bg-purple-500",
166
+ "bg-purple-600"
167
+ ]
168
+ },
169
+ gray: {
170
+ card: {
171
+ bg_blobs: "bg-gray-400/10 border-gray-400/20",
172
+ bg: "bg-gray-400/60 border-gray-400",
173
+ hover: "hover:bg-gray-400/20"
174
+ },
175
+ blobs: [
176
+ "bg-gray-400",
177
+ "bg-gray-500",
178
+ "bg-gray-600"
179
+ ]
180
+ },
181
+ darkgray: {
182
+ card: {
183
+ bg_blobs: "bg-gray-800/10 border-gray-800/20",
184
+ bg: "bg-gray-800/60 border-gray-800",
185
+ hover: "hover:bg-gray-800/20"
186
+ },
187
+ blobs: [
188
+ "bg-gray-400",
189
+ "bg-gray-500",
190
+ "bg-gray-600"
191
+ ]
192
+ },
193
+ darkergray: {
194
+ card: {
195
+ bg_blobs: "bg-gray-900/10 border-gray-900/20",
196
+ bg: "bg-gray-900/60 border-gray-900",
197
+ hover: "hover:bg-gray-900/20"
198
+ },
199
+ blobs: [
200
+ "bg-gray-400",
201
+ "bg-gray-500",
202
+ "bg-gray-600"
203
+ ]
204
+ }
205
+ };
206
+ const blobClasses = [
207
+ "animate-blob",
208
+ "animate-blob1",
209
+ "animate-blob2",
210
+ "animate-blob3",
211
+ "animate-blob4",
212
+ "animate-blob5",
213
+ "animate-blob6"
214
+ ];
215
+ const Card = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.inlinedQrl((props) => {
216
+ const props1 = qwik._restProps(props, [
217
+ "color",
218
+ "hoverable",
219
+ "row",
220
+ "blobs"
221
+ ]);
222
+ const blob = Math.round(Math.random() * 6);
223
+ const button = !!props1.onClick$ || props.hoverable;
224
+ return /* @__PURE__ */ qwik._jsxS("div", {
225
+ ...props1,
226
+ children: /* @__PURE__ */ qwik._jsxQ("div", null, {
227
+ class: {
228
+ "p-8": true
229
+ }
230
+ }, [
231
+ /* @__PURE__ */ qwik._jsxQ("div", null, {
232
+ class: "relative z-10"
233
+ }, /* @__PURE__ */ qwik._jsxQ("div", null, {
234
+ class: qwik._fnSignal((p0) => ({
235
+ "flex gap-4": true,
236
+ "flex-col": !p0.row,
237
+ "flex-row items-center": p0.row
238
+ }), [
239
+ props
240
+ ], '{"flex gap-4":true,"flex-col":!p0.row,"flex-row items-center":p0.row}')
241
+ }, /* @__PURE__ */ qwik._jsxC(qwik.Slot, null, 3, "8Z_0"), 1, null), 1, null),
242
+ props.blobs && /* @__PURE__ */ qwik._jsxQ("div", null, {
243
+ class: "absolute -z-10 inset-0 w-full h-full transition-all overflow-clip",
244
+ style: {
245
+ containerType: "size"
246
+ }
247
+ }, [
248
+ /* @__PURE__ */ qwik._jsxQ("div", {
249
+ class: {
250
+ "absolute top-0 w-[30cqw] h-[30cqw] rounded-full opacity-20 ease-in-out blur-xl": true,
251
+ [blobClasses[blob]]: true,
252
+ [cardColorClasses[props.color ?? "darkgray"].blobs[0]]: true
253
+ }
254
+ }, null, null, 3, null),
255
+ /* @__PURE__ */ qwik._jsxQ("div", {
256
+ class: {
257
+ "absolute top-0 w-[30cqw] h-[30cqw] rounded-full opacity-20 ease-in-out blur-xl": true,
258
+ "-animation-delay-5": true,
259
+ [blobClasses[blob]]: true,
260
+ [cardColorClasses[props.color ?? "darkgray"].blobs[1]]: true
261
+ }
262
+ }, null, null, 3, null),
263
+ /* @__PURE__ */ qwik._jsxQ("div", {
264
+ class: {
265
+ "absolute top-0 w-[30cqw] h-[30cqw] rounded-full opacity-20 ease-in-out blur-xl": true,
266
+ "-animation-delay-10": true,
267
+ [blobClasses[blob]]: true,
268
+ [cardColorClasses[props.color ?? "darkgray"].blobs[2]]: true
269
+ }
270
+ }, null, null, 3, null)
271
+ ], 1, "8Z_1")
272
+ ], 1, null),
273
+ class: {
274
+ "flex-1 relative border rounded-lg group transition-all": true,
275
+ [cardColorClasses[props.color ?? "darkgray"].card.bg]: !props.blobs,
276
+ [cardColorClasses[props.color ?? "darkgray"].card.bg_blobs]: props.blobs,
277
+ [cardColorClasses[props.color ?? "darkgray"].card.hover]: props.hoverable,
278
+ "hover:shadow-lg cursor-pointer": button,
279
+ ...props1.class
280
+ }
281
+ }, null, 0, "8Z_2");
282
+ }, "Card_component_QpjNtv3LuRY"));
283
+ const CardHeader = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.inlinedQrl((props) => {
284
+ qwik._jsxBranch();
285
+ return /* @__PURE__ */ qwik._jsxQ("h1", null, {
286
+ class: "flex font-bold text-gray-100 text-2xl"
287
+ }, [
288
+ props.id && /* @__PURE__ */ qwik._jsxQ("span", null, {
289
+ class: "block h-32 -mt-32",
290
+ id: qwik._fnSignal((p0) => p0.id, [
291
+ props
292
+ ], "p0.id")
293
+ }, null, 3, "8Z_3"),
294
+ /* @__PURE__ */ qwik._jsxQ("div", null, {
295
+ class: "flex flex-1"
296
+ }, /* @__PURE__ */ qwik._jsxQ("div", null, {
297
+ class: "flex flex-col"
298
+ }, [
299
+ /* @__PURE__ */ qwik._jsxQ("div", null, {
300
+ class: "flex items-center gap-3"
301
+ }, /* @__PURE__ */ qwik._jsxC(qwik.Slot, null, 3, "8Z_4"), 1, null),
302
+ /* @__PURE__ */ qwik._jsxC(qwik.Slot, {
303
+ name: "subheader",
304
+ [qwik._IMMUTABLE]: {
305
+ name: qwik._IMMUTABLE
306
+ }
307
+ }, 3, "8Z_5")
308
+ ], 1, null), 1, null),
309
+ (props.loading ?? false) && /* @__PURE__ */ qwik._jsxQ("div", null, {
310
+ class: qwik._fnSignal((p0) => ({
311
+ "transition-all": true,
312
+ "opacity-0": !(p0.loading ?? false),
313
+ "opacity-100": p0.loading ?? false
314
+ }), [
315
+ props
316
+ ], '{"transition-all":true,"opacity-0":!(p0.loading??false),"opacity-100":p0.loading??false}')
317
+ }, /* @__PURE__ */ qwik._jsxC(LoadingIcon, {
318
+ class: {
319
+ "text-white": true
320
+ },
321
+ width: 20,
322
+ [qwik._IMMUTABLE]: {
323
+ class: qwik._IMMUTABLE,
324
+ width: qwik._IMMUTABLE
325
+ }
326
+ }, 3, "8Z_6"), 1, "8Z_7")
327
+ ], 1, "8Z_8");
328
+ }, "CardHeader_component_T5lE20o8i0g"));
329
+ var insertCss$1 = { exports: {} };
330
+ var containers = [];
331
+ var styleElements = [];
332
+ var usage = "insert-css: You need to provide a CSS string. Usage: insertCss(cssString[, options]).";
333
+ function insertCss(css, options) {
334
+ options = options || {};
335
+ if (css === void 0) {
336
+ throw new Error(usage);
337
+ }
338
+ var position = options.prepend === true ? "prepend" : "append";
339
+ var container = options.container !== void 0 ? options.container : document.querySelector("head");
340
+ var containerId = containers.indexOf(container);
341
+ if (containerId === -1) {
342
+ containerId = containers.push(container) - 1;
343
+ styleElements[containerId] = {};
344
+ }
345
+ var styleElement;
346
+ if (styleElements[containerId] !== void 0 && styleElements[containerId][position] !== void 0) {
347
+ styleElement = styleElements[containerId][position];
348
+ } else {
349
+ styleElement = styleElements[containerId][position] = createStyleElement();
350
+ if (position === "prepend") {
351
+ container.insertBefore(styleElement, container.childNodes[0]);
352
+ } else {
353
+ container.appendChild(styleElement);
354
+ }
355
+ }
356
+ if (css.charCodeAt(0) === 65279) {
357
+ css = css.substr(1, css.length);
358
+ }
359
+ if (styleElement.styleSheet) {
360
+ styleElement.styleSheet.cssText += css;
361
+ } else {
362
+ styleElement.textContent += css;
363
+ }
364
+ return styleElement;
365
+ }
366
+ function createStyleElement() {
367
+ var styleElement = document.createElement("style");
368
+ styleElement.setAttribute("type", "text/css");
369
+ return styleElement;
370
+ }
371
+ insertCss$1.exports = insertCss;
372
+ var insertCss_2 = insertCss$1.exports.insertCss = insertCss;
373
+ function e(t, e2) {
374
+ for (var i2 = 0; i2 < e2.length; i2++) {
375
+ var o2 = e2[i2];
376
+ o2.enumerable = o2.enumerable || false, o2.configurable = true, "value" in o2 && (o2.writable = true), Object.defineProperty(t, o2.key, o2);
377
+ }
378
+ }
379
+ function i(t, i2, o2) {
380
+ return i2 && e(t.prototype, i2), o2 && e(t, o2), t;
381
+ }
382
+ function o(t) {
383
+ return "number" == typeof t && !isNaN(t);
384
+ }
385
+ function s(t, e2, i2) {
386
+ return Math.min(Math.max(t, e2), i2);
387
+ }
388
+ function n(t) {
389
+ if (0 === t.type.indexOf("touch")) {
390
+ var e2 = t.touches[0];
391
+ return { x: e2.clientX, y: e2.clientY };
392
+ }
393
+ return { x: t.clientX, y: t.clientY };
394
+ }
395
+ function r(t) {
396
+ return 1 == t.length ? "0" + t : "" + t;
397
+ }
398
+ var h = function() {
399
+ function t(t2) {
400
+ this._rgba = { r: 0, g: 0, b: 0, a: 1 }, this._hsva = { h: 0, s: 0, v: 0, a: 1 }, this.fromHex(t2);
401
+ }
402
+ var e2 = t.prototype;
403
+ return e2.fromHex = function(t2) {
404
+ t2 || (t2 = 0), o(t2) ? (this._hexNumber = t2, this._hexString = function(t3) {
405
+ return "#" + ("00000" + (0 | t3).toString(16)).substr(-6).toUpperCase();
406
+ }(this._hexNumber)) : (this._hexString = t2.toUpperCase(), this._hexNumber = u(this._hexString));
407
+ var e3 = function(t3) {
408
+ return { r: (t3 >> 16 & 255) / 255, g: (t3 >> 8 & 255) / 255, b: (255 & t3) / 255 };
409
+ }(this._hexNumber), i2 = e3.g, s2 = e3.b;
410
+ this._rgba.r = e3.r, this._rgba.g = i2, this._rgba.b = s2;
411
+ var n2 = function(t3) {
412
+ var e4, i3 = t3.r, o2 = t3.g, s3 = t3.b, n3 = Math.max(i3, o2, s3), r3 = Math.min(i3, o2, s3), h3 = n3 - r3, u2 = 0 === n3 ? 0 : h3 / n3, a2 = n3;
413
+ if (n3 == r3)
414
+ e4 = 0;
415
+ else {
416
+ switch (n3) {
417
+ case i3:
418
+ e4 = (o2 - s3) / h3 + (o2 < s3 ? 6 : 0);
419
+ break;
420
+ case o2:
421
+ e4 = (s3 - i3) / h3 + 2;
422
+ break;
423
+ case s3:
424
+ e4 = (i3 - o2) / h3 + 4;
425
+ }
426
+ e4 /= 6;
427
+ }
428
+ return { h: e4, s: u2, v: a2 };
429
+ }(this._rgba), r2 = n2.s, h2 = n2.v;
430
+ this._hsva.h = n2.h, this._hsva.s = r2, this._hsva.v = h2, this._updateBrightness();
431
+ }, e2.fromHsv = function(t2) {
432
+ var e3 = t2.s, i2 = t2.v;
433
+ this._hsva.h = t2.h, this._hsva.s = e3, this._hsva.v = i2;
434
+ var o2 = function(t3) {
435
+ var e4 = t3.h, i3 = t3.s, o3 = t3.v;
436
+ e4 *= 6;
437
+ var s3 = Math.floor(e4), n3 = e4 - s3, r2 = o3 * (1 - i3), h2 = o3 * (1 - n3 * i3), u2 = o3 * (1 - (1 - n3) * i3), a2 = s3 % 6;
438
+ return { r: [o3, h2, r2, r2, u2, o3][a2], g: [u2, o3, o3, h2, r2, r2][a2], b: [r2, r2, u2, o3, o3, h2][a2] };
439
+ }(this._hsva), s2 = o2.g, n2 = o2.b;
440
+ this._rgba.r = o2.r, this._rgba.g = s2, this._rgba.b = n2, this._hexString = function(t3) {
441
+ var e4 = t3.g, i3 = t3.b;
442
+ return ["#", r(Math.round(255 * t3.r).toString(16)), r(Math.round(255 * e4).toString(16)), r(Math.round(255 * i3).toString(16))].join("").toUpperCase();
443
+ }(this._rgba), this._hexNumber = u(this._hexString), this._updateBrightness();
444
+ }, e2._updateBrightness = function() {
445
+ var t2 = this._rgba;
446
+ this._brightness = (299 * t2.r + 587 * t2.g + 114 * t2.b) / 1e3, this._isDark = this._brightness < 0.5, this._isLight = !this._isDark;
447
+ }, i(t, [{ key: "rgb", get: function() {
448
+ return this._rgba;
449
+ } }, { key: "hsv", get: function() {
450
+ return this._hsva;
451
+ } }, { key: "hex", get: function() {
452
+ return this._hexNumber;
453
+ } }, { key: "hexString", get: function() {
454
+ return this._hexString;
455
+ } }, { key: "brightness", get: function() {
456
+ return this._brightness;
457
+ } }, { key: "isDark", get: function() {
458
+ return this._isDark;
459
+ } }, { key: "isLight", get: function() {
460
+ return this._isLight;
461
+ } }]), t;
462
+ }();
463
+ function u(t) {
464
+ return parseInt(t.replace("#", ""), 16);
465
+ }
466
+ var a = function() {
467
+ function t(t2) {
468
+ var e3 = this;
469
+ void 0 === t2 && (t2 = {}), this._widthUnits = "px", this._heightUnits = "px", this._huePosition = 0, this._hueHeight = 0, this._maxHue = 0, this._inputIsNumber = false, this._saturationWidth = 0, this._isChoosing = false, this._callbacks = [], this.width = 0, this.height = 0, this.hue = 0, this.position = { x: 0, y: 0 }, this.color = new h(0), this.backgroundColor = new h(0), this.hueColor = new h(0), this._onSaturationMouseDown = function(t3) {
470
+ var i2 = e3.$saturation.getBoundingClientRect(), o2 = n(t3), s2 = o2.x, r2 = o2.y;
471
+ e3._isChoosing = true, e3._moveSelectorTo(s2 - i2.left, r2 - i2.top), e3._updateColorFromPosition(), e3._window.addEventListener("mouseup", e3._onSaturationMouseUp), e3._window.addEventListener("touchend", e3._onSaturationMouseUp), e3._window.addEventListener("mousemove", e3._onSaturationMouseMove), e3._window.addEventListener("touchmove", e3._onSaturationMouseMove), t3.preventDefault();
472
+ }, this._onSaturationMouseMove = function(t3) {
473
+ var i2 = e3.$saturation.getBoundingClientRect(), o2 = n(t3);
474
+ e3._moveSelectorTo(o2.x - i2.left, o2.y - i2.top), e3._updateColorFromPosition();
475
+ }, this._onSaturationMouseUp = function() {
476
+ e3._isChoosing = false, e3._window.removeEventListener("mouseup", e3._onSaturationMouseUp), e3._window.removeEventListener("touchend", e3._onSaturationMouseUp), e3._window.removeEventListener("mousemove", e3._onSaturationMouseMove), e3._window.removeEventListener("touchmove", e3._onSaturationMouseMove);
477
+ }, this._onHueMouseDown = function(t3) {
478
+ var i2 = e3.$hue.getBoundingClientRect(), o2 = n(t3).y;
479
+ e3._isChoosing = true, e3._moveHueTo(o2 - i2.top), e3._updateHueFromPosition(), e3._window.addEventListener("mouseup", e3._onHueMouseUp), e3._window.addEventListener("touchend", e3._onHueMouseUp), e3._window.addEventListener("mousemove", e3._onHueMouseMove), e3._window.addEventListener("touchmove", e3._onHueMouseMove), t3.preventDefault();
480
+ }, this._onHueMouseMove = function(t3) {
481
+ var i2 = e3.$hue.getBoundingClientRect(), o2 = n(t3);
482
+ e3._moveHueTo(o2.y - i2.top), e3._updateHueFromPosition();
483
+ }, this._onHueMouseUp = function() {
484
+ e3._isChoosing = false, e3._window.removeEventListener("mouseup", e3._onHueMouseUp), e3._window.removeEventListener("touchend", e3._onHueMouseUp), e3._window.removeEventListener("mousemove", e3._onHueMouseMove), e3._window.removeEventListener("touchmove", e3._onHueMouseMove);
485
+ }, this._window = t2.window || window, this._document = this._window.document, this.$el = this._document.createElement("div"), this.$el.className = "Scp", this.$el.innerHTML = '\n <div class="Scp-saturation">\n <div class="Scp-brightness"></div>\n <div class="Scp-sbSelector"></div>\n </div>\n <div class="Scp-hue">\n <div class="Scp-hSelector"></div>\n </div>\n ', this.$saturation = this.$el.querySelector(".Scp-saturation"), this.$hue = this.$el.querySelector(".Scp-hue"), this.$sbSelector = this.$el.querySelector(".Scp-sbSelector"), this.$hSelector = this.$el.querySelector(".Scp-hSelector"), this.$saturation.addEventListener("mousedown", this._onSaturationMouseDown), this.$saturation.addEventListener("touchstart", this._onSaturationMouseDown), this.$hue.addEventListener("mousedown", this._onHueMouseDown), this.$hue.addEventListener("touchstart", this._onHueMouseDown), t2.el && this.appendTo(t2.el), t2.background && this.setBackgroundColor(t2.background), t2.widthUnits && (this._widthUnits = t2.widthUnits), t2.heightUnits && (this._heightUnits = t2.heightUnits), this.setSize(t2.width || 175, t2.height || 150), this.setColor(t2.color);
486
+ }
487
+ var e2 = t.prototype;
488
+ return e2.appendTo = function(t2) {
489
+ return "string" == typeof t2 ? document.querySelector(t2).appendChild(this.$el) : t2.appendChild(this.$el), this;
490
+ }, e2.remove = function() {
491
+ this._callbacks = [], this._onSaturationMouseUp(), this._onHueMouseUp(), this.$saturation.removeEventListener("mousedown", this._onSaturationMouseDown), this.$saturation.removeEventListener("touchstart", this._onSaturationMouseDown), this.$hue.removeEventListener("mousedown", this._onHueMouseDown), this.$hue.removeEventListener("touchstart", this._onHueMouseDown), this.$el.parentNode && this.$el.parentNode.removeChild(this.$el);
492
+ }, e2.setColor = function(t2) {
493
+ this._inputIsNumber = o(t2), this.color.fromHex(t2);
494
+ var e3 = this.color.hsv, i2 = e3.h, s2 = e3.s, n2 = e3.v;
495
+ return isNaN(i2) || (this.hue = i2), this._moveSelectorTo(this._saturationWidth * s2, (1 - n2) * this._hueHeight), this._moveHueTo((1 - this.hue) * this._hueHeight), this._updateHue(), this;
496
+ }, e2.setSize = function(t2, e3) {
497
+ return this.width = t2, this.height = e3, this.$el.style.width = this.width + this._widthUnits, this.$el.style.height = this.height + this._heightUnits, this._saturationWidth = this.width - 25, this.$saturation.style.width = this._saturationWidth + "px", this._hueHeight = this.height, this._maxHue = this._hueHeight - 2, this;
498
+ }, e2.setBackgroundColor = function(t2) {
499
+ return this.backgroundColor.fromHex(t2), this.$el.style.padding = "5px", this.$el.style.background = this.backgroundColor.hexString, this;
500
+ }, e2.setNoBackground = function() {
501
+ return this.$el.style.padding = "0px", this.$el.style.background = "none", this;
502
+ }, e2.onChange = function(t2) {
503
+ return this._callbacks.indexOf(t2) < 0 && (this._callbacks.push(t2), t2(this.getHexString())), this;
504
+ }, e2.getColor = function() {
505
+ return this._inputIsNumber ? this.getHexNumber() : this.getHexString();
506
+ }, e2.getHexString = function() {
507
+ return this.color.hexString.toUpperCase();
508
+ }, e2.getHexNumber = function() {
509
+ return this.color.hex;
510
+ }, e2.getRGB = function() {
511
+ return this.color.rgb;
512
+ }, e2.getHSV = function() {
513
+ return this.color.hsv;
514
+ }, e2.isDark = function() {
515
+ return this.color.isDark;
516
+ }, e2.isLight = function() {
517
+ return this.color.isLight;
518
+ }, e2._moveSelectorTo = function(t2, e3) {
519
+ this.position.x = s(t2, 0, this._saturationWidth), this.position.y = s(e3, 0, this._hueHeight), this.$sbSelector.style.transform = "translate(" + this.position.x + "px, " + this.position.y + "px)";
520
+ }, e2._updateColorFromPosition = function() {
521
+ this.color.fromHsv({ h: this.hue, s: this.position.x / this._saturationWidth, v: 1 - this.position.y / this._hueHeight }), this._updateColor();
522
+ }, e2._moveHueTo = function(t2) {
523
+ this._huePosition = s(t2, 0, this._maxHue), this.$hSelector.style.transform = "translateY(" + this._huePosition + "px)";
524
+ }, e2._updateHueFromPosition = function() {
525
+ var t2 = this.getHSV();
526
+ this.hue = 1 - this._huePosition / this._maxHue, this.color.fromHsv({ h: this.hue, s: t2.s, v: t2.v }), this._updateHue();
527
+ }, e2._updateHue = function() {
528
+ this.hueColor.fromHsv({ h: this.hue, s: 1, v: 1 }), this.$saturation.style.background = "linear-gradient(to right, #fff, " + this.hueColor.hexString + ")", this._updateColor();
529
+ }, e2._updateColor = function() {
530
+ this.$sbSelector.style.background = this.getHexString(), this.$sbSelector.style.borderColor = this.isDark() ? "#fff" : "#000", this._triggerChange();
531
+ }, e2._triggerChange = function() {
532
+ var t2 = this;
533
+ this._callbacks.forEach(function(e3) {
534
+ return e3(t2.getHexString());
535
+ });
536
+ }, i(t, [{ key: "isChoosing", get: function() {
537
+ return this._isChoosing;
538
+ } }]), t;
539
+ }();
540
+ insertCss_2(".Scp{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;position:relative}.Scp-saturation{position:relative;height:100%;background:linear-gradient(90deg,#fff,red);float:left;margin-right:5px}.Scp-brightness{width:100%;height:100%;background:linear-gradient(hsla(0,0%,100%,0),#000)}.Scp-sbSelector{border:2px solid #fff;position:absolute;width:14px;height:14px;background:#fff;border-radius:10px;top:-7px;left:-7px;box-sizing:border-box;z-index:10}.Scp-hue{width:20px;height:100%;position:relative;float:left;background:linear-gradient(red,#f0f 17%,#00f 34%,#0ff 50%,#0f0 67%,#ff0 84%,red)}.Scp-hSelector{position:absolute;background:#fff;border-bottom:1px solid #000;right:-3px;width:10px;height:2px}");
541
+ const TextInput = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.inlinedQrl((props) => {
542
+ return /* @__PURE__ */ qwik._jsxQ("div", null, {
543
+ class: "flex flex-col"
544
+ }, [
545
+ /* @__PURE__ */ qwik._jsxQ("label", null, {
546
+ class: "mb-2",
547
+ for: qwik._fnSignal((p0) => p0.id, [
548
+ props
549
+ ], "p0.id")
550
+ }, qwik._fnSignal((p0) => p0.label, [
551
+ props
552
+ ], "p0.label"), 3, null),
553
+ /* @__PURE__ */ qwik._jsxC(TextInputRaw, {
554
+ ...props,
555
+ children: void 0
556
+ }, 0, "Lu_0")
557
+ ], 1, "Lu_1");
558
+ }, "TextInput_component_tuo5ZbXE4fU"));
559
+ const TextInputRaw = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.inlinedQrl((props) => {
560
+ return /* @__PURE__ */ qwik._jsxS("input", {
561
+ ...props,
562
+ class: {
563
+ "transition ease-in-out text-lg border border-gray-700 bg-gray-800 text-gray-50 hover:bg-gray-700 focus:bg-gray-700 rounded-md px-3 py-2": true,
564
+ ...props.class
565
+ }
566
+ }, null, 0, "Lu_2");
567
+ }, "TextInputRaw_component_VPutIQQcf7s"));
568
+ const ColorInput = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.inlinedQrl((props) => {
569
+ const props1 = qwik._restProps(props, [
570
+ "onInput$",
571
+ "value"
572
+ ]);
573
+ qwik.useStylesQrl(/* @__PURE__ */ qwik.inlinedQrl(`
574
+ .Scp {
575
+ display: flex;
576
+ height: 170px !important;
577
+ width: 170px !important;
578
+ padding: 10px !important;
579
+ border-radius: 0.375rem;
580
+ border: hsl(0, 27%, 76%);
581
+ border-width: 1px;
582
+ }
583
+ `, "ColorInput_component_useStyles_kQnXj16wVw4"));
584
+ const store = qwik.useStore({
585
+ value: (props.value ?? "#FFFFFF") || "#FFFFFF"
586
+ });
587
+ return /* @__PURE__ */ qwik._jsxQ("div", null, null, [
588
+ props1.label && /* @__PURE__ */ qwik._jsxQ("label", {
589
+ for: qwik._wrapSignal(props1, "id")
590
+ }, {
591
+ class: "mb-2 flex"
592
+ }, qwik._wrapSignal(props1, "label"), 1, "LJ_0"),
593
+ /* @__PURE__ */ qwik._jsxC(TextInputRaw, {
594
+ ...props1,
595
+ get value() {
596
+ return store.value;
597
+ },
598
+ onBlur$: /* @__PURE__ */ qwik.inlinedQrl(() => {
599
+ const [props12] = qwik.useLexicalScope();
600
+ const pickerDiv = document.getElementById(`${props12.id}-color-picker`);
601
+ pickerDiv.style.display = "none";
602
+ }, "ColorInput_component_div_TextInputRaw_onBlur_SNMoVbOuZ0M", [
603
+ props1
604
+ ]),
605
+ onFocus$: /* @__PURE__ */ qwik.inlinedQrl((event, element) => {
606
+ const [props12, props2, store2] = qwik.useLexicalScope();
607
+ const pickerDiv = document.getElementById(`${props12.id}-color-picker`);
608
+ if (!pickerDiv.children.length) {
609
+ if (build.isServer)
610
+ return;
611
+ const picker = new a({
612
+ el: pickerDiv,
613
+ color: store2.value,
614
+ background: "#1D1D1D",
615
+ width: 150,
616
+ height: 150
617
+ });
618
+ picker.onChange((color) => {
619
+ store2.value = color;
620
+ if (props2.onInput$)
621
+ props2.onInput$(color, element);
622
+ });
623
+ element.addEventListener("input", () => {
624
+ if (!/^#[0-9A-F]{6}$/i.test(element.value))
625
+ return;
626
+ picker.setColor(element.value);
627
+ });
628
+ }
629
+ pickerDiv.style.display = "block";
630
+ }, "ColorInput_component_div_TextInputRaw_onFocus_jGNFOc0h7YQ", [
631
+ props1,
632
+ props,
633
+ store
634
+ ]),
635
+ get style() {
636
+ return {
637
+ borderLeft: `40px solid ${store.value}`
638
+ };
639
+ },
640
+ [qwik._IMMUTABLE]: {
641
+ style: qwik._fnSignal((p0) => ({
642
+ borderLeft: `40px solid ${p0.value}`
643
+ }), [
644
+ store
645
+ ], "{borderLeft:`40px solid ${p0.value}`}"),
646
+ value: qwik._fnSignal((p0) => p0.value, [
647
+ store
648
+ ], "p0.value")
649
+ }
650
+ }, 0, "LJ_1"),
651
+ /* @__PURE__ */ qwik._jsxQ("div", {
652
+ id: `${props1.id}-color-picker`
653
+ }, {
654
+ class: "hidden absolute mt-2"
655
+ }, null, 3, null)
656
+ ], 1, "LJ_2");
657
+ }, "ColorInput_component_gefBssfHK44"));
658
+ const Add = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.inlinedQrl((rawProps) => {
659
+ const props = {
660
+ ...rawProps
661
+ };
662
+ props.class = ((props.class ?? "") + " ionicon").trim();
663
+ return /* @__PURE__ */ qwik._jsxS("svg", {
664
+ ...props,
665
+ children: [
666
+ /* @__PURE__ */ qwik._jsxQ("line", null, {
667
+ x1: "256",
668
+ y1: "112",
669
+ x2: "256",
670
+ y2: "400",
671
+ style: "fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:32px"
672
+ }, null, 3, null),
673
+ /* @__PURE__ */ qwik._jsxQ("line", null, {
674
+ x1: "400",
675
+ y1: "256",
676
+ x2: "112",
677
+ y2: "256",
678
+ style: "fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:32px"
679
+ }, null, 3, null)
680
+ ]
681
+ }, {
682
+ xmlns: "http://www.w3.org/2000/svg",
683
+ viewBox: "0 0 512 512"
684
+ }, 0, "Oz_0");
685
+ }, "Add_component_V0yTYgKwUXY"));
686
+ const Remove = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.inlinedQrl((rawProps) => {
687
+ const props = {
688
+ ...rawProps
689
+ };
690
+ props.class = ((props.class ?? "") + " ionicon").trim();
691
+ return /* @__PURE__ */ qwik._jsxS("svg", {
692
+ ...props,
693
+ children: /* @__PURE__ */ qwik._jsxQ("line", null, {
694
+ x1: "400",
695
+ y1: "256",
696
+ x2: "112",
697
+ y2: "256",
698
+ style: "fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:32px"
699
+ }, null, 3, null)
700
+ }, {
701
+ xmlns: "http://www.w3.org/2000/svg",
702
+ viewBox: "0 0 512 512"
703
+ }, 0, "yE_0");
704
+ }, "Remove_component_JljE09jA0yc"));
705
+ const NumberInput = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.inlinedQrl((props) => {
706
+ return /* @__PURE__ */ qwik._jsxQ("div", null, {
707
+ class: "flex flex-col"
708
+ }, [
709
+ /* @__PURE__ */ qwik._jsxQ("label", null, {
710
+ class: "mb-2",
711
+ for: qwik._fnSignal((p0) => p0.id, [
712
+ props
713
+ ], "p0.id")
714
+ }, qwik._fnSignal((p0) => p0.label, [
715
+ props
716
+ ], "p0.label"), 3, null),
717
+ /* @__PURE__ */ qwik._jsxC(NumberInputRaw, {
718
+ ...props
719
+ }, 0, "s2_0")
720
+ ], 1, "s2_1");
721
+ }, "NumberInput_component_24VCzPxvTvU"));
722
+ const NumberInputRaw = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.inlinedQrl((props) => {
723
+ const props1 = qwik._restProps(props, [
724
+ "input",
725
+ "onDecrement$",
726
+ "onIncrement$",
727
+ "value",
728
+ "step"
729
+ ]);
730
+ const store = qwik.useStore({
731
+ value: props.value ?? 0
732
+ });
733
+ return /* @__PURE__ */ qwik._jsxQ("div", null, {
734
+ class: qwik._fnSignal((p0) => ({
735
+ "flex text-gray-50": true,
736
+ "gap-2": !p0.input
737
+ }), [
738
+ props
739
+ ], '{"flex text-gray-50":true,"gap-2":!p0.input}')
740
+ }, [
741
+ /* @__PURE__ */ qwik._jsxQ("button", {
742
+ class: {
743
+ "flex justify-center items-center transition ease-in-out border border-gray-700 bg-gray-800 text-2xl hover:bg-gray-600 h-full py-1.5 cursor-pointer": true,
744
+ "px-3 rounded-l-md border-r-0": props.input,
745
+ "w-[50%] rounded-md": !props.input,
746
+ "opacity-50 pointer-events-none": props1.min ? store.value <= props1.min : false
747
+ },
748
+ disabled: props1.min ? store.value <= props1.min : false
749
+ }, {
750
+ "aria-label": "Decrement",
751
+ "data-action": "decrement",
752
+ onClick$: /* @__PURE__ */ qwik.inlinedQrl((event, element) => {
753
+ const [props2, store2] = qwik.useLexicalScope();
754
+ store2.value = store2.value - (props2.step ?? 1);
755
+ props2.onDecrement$(event, element, store2);
756
+ }, "NumberInputRaw_component_div_button_onClick_jSJobSwAZdw", [
757
+ props,
758
+ store
759
+ ])
760
+ }, /* @__PURE__ */ qwik._jsxC(Remove, {
761
+ class: "fill-current",
762
+ width: "24",
763
+ [qwik._IMMUTABLE]: {
764
+ class: qwik._IMMUTABLE,
765
+ width: qwik._IMMUTABLE
766
+ }
767
+ }, 3, "s2_2"), 1, null),
768
+ props.input && /* @__PURE__ */ qwik._jsxS("input", {
769
+ ...props1,
770
+ class: {
771
+ "transition ease-in-out text-lg text-center border border-gray-600 bg-gray-700 hover:bg-gray-600 focus:bg-gray-500 px-3 py-1 w-full": true,
772
+ ...props1.class
773
+ }
774
+ }, {
775
+ step: qwik._fnSignal((p0) => p0.step ?? 1, [
776
+ props
777
+ ], "p0.step??1"),
778
+ type: "number",
779
+ value: qwik._fnSignal((p0) => p0.value, [
780
+ store
781
+ ], "p0.value")
782
+ }, 0, "s2_3"),
783
+ /* @__PURE__ */ qwik._jsxQ("button", {
784
+ class: {
785
+ "flex justify-center items-center transition ease-in-out border border-gray-700 bg-gray-800 text-2xl hover:bg-gray-600 h-full py-1.5 cursor-pointer": true,
786
+ "px-3 rounded-r-md border-l-0": props.input,
787
+ "w-[50%] rounded-md": !props.input,
788
+ "opacity-50 pointer-events-none": props1.max ? store.value >= props1.max : false
789
+ },
790
+ disabled: props1.max ? store.value >= props1.max : false
791
+ }, {
792
+ "aria-label": "Increment",
793
+ "data-action": "increment",
794
+ onClick$: /* @__PURE__ */ qwik.inlinedQrl((event, element) => {
795
+ const [props2, store2] = qwik.useLexicalScope();
796
+ store2.value = store2.value + (props2.step ?? 1);
797
+ props2.onIncrement$(event, element, store2);
798
+ }, "NumberInputRaw_component_div_button_onClick_1_VgNSQtzeCMk", [
799
+ props,
800
+ store
801
+ ])
802
+ }, /* @__PURE__ */ qwik._jsxC(Add, {
803
+ class: "fill-current",
804
+ width: "24",
805
+ [qwik._IMMUTABLE]: {
806
+ class: qwik._IMMUTABLE,
807
+ width: qwik._IMMUTABLE
808
+ }
809
+ }, 3, "s2_4"), 1, null)
810
+ ], 1, "s2_5");
811
+ }, "NumberInputRaw_component_VntJOtwvmM0"));
812
+ const OutputField = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.inlinedQrl((props) => {
813
+ return /* @__PURE__ */ qwik._jsxQ("div", null, {
814
+ class: "flex flex-col"
815
+ }, [
816
+ /* @__PURE__ */ qwik._jsxQ("label", null, {
817
+ class: "mb-2",
818
+ for: qwik._fnSignal((p0) => p0.id, [
819
+ props
820
+ ], "p0.id")
821
+ }, qwik._fnSignal((p0) => p0.label, [
822
+ props
823
+ ], "p0.label"), 3, null),
824
+ /* @__PURE__ */ qwik._jsxC(OutputFieldRaw, {
825
+ ...props
826
+ }, 0, "eT_0")
827
+ ], 1, "eT_1");
828
+ }, "OutputField_component_aZz1x0PsR68"));
829
+ const OutputFieldRaw = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.inlinedQrl((props) => {
830
+ const props1 = qwik._restProps(props, [
831
+ "onChange$"
832
+ ]);
833
+ const alertsStore = qwik.useStore({
834
+ alerts: []
835
+ }, {
836
+ deep: true
837
+ });
838
+ return /* @__PURE__ */ qwik._jsxC(jsxRuntime.Fragment, {
839
+ children: [
840
+ /* @__PURE__ */ qwik._jsxS("textarea", {
841
+ ...props1,
842
+ class: {
843
+ "transition ease-in-out cursor-pointer text-lg border border-gray-700 bg-gray-800 text-gray-50 hover:bg-gray-700 focus:bg-gray-700 rounded-md px-3 py-2 break-words": true,
844
+ ...props1.class
845
+ },
846
+ onChange$: /* @__PURE__ */ qwik.inlinedQrl((event, element) => {
847
+ const [alertsStore2, props2] = qwik.useLexicalScope();
848
+ if (props2.onChange$)
849
+ props2.onChange$(event, element, alertsStore2);
850
+ }, "OutputFieldRaw_component__Fragment_textarea_onChange_xDB4MqWPYJE", [
851
+ alertsStore,
852
+ props
853
+ ]),
854
+ onClick$: /* @__PURE__ */ qwik.inlinedQrl((event, element) => {
855
+ const [alertsStore2] = qwik.useLexicalScope();
856
+ navigator.clipboard.writeText(element.value);
857
+ const alert = {
858
+ class: "text-green-500",
859
+ text: "Copied to clipboard!"
860
+ };
861
+ alertsStore2.alerts.push(alert);
862
+ setTimeout(() => {
863
+ alertsStore2.alerts.splice(alertsStore2.alerts.indexOf(alert), 1);
864
+ }, 1e3);
865
+ }, "OutputFieldRaw_component__Fragment_textarea_onClick_3cKznleAw7k", [
866
+ alertsStore
867
+ ])
868
+ }, null, 0, null),
869
+ alertsStore.alerts.map((alert, i2) => /* @__PURE__ */ qwik._jsxQ("p", {
870
+ class: qwik._wrapSignal(alert, "class"),
871
+ dangerouslySetInnerHTML: qwik._wrapSignal(alert, "text")
872
+ }, null, null, 3, `output-alert${i2}`))
873
+ ]
874
+ }, 1, "eT_2");
875
+ }, "OutputFieldRaw_component_01qlrYqVLxg"));
876
+ const SelectInput = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.inlinedQrl((props) => {
877
+ return /* @__PURE__ */ qwik._jsxQ("div", null, {
878
+ class: "flex flex-col"
879
+ }, [
880
+ /* @__PURE__ */ qwik._jsxQ("label", null, {
881
+ class: "mb-2",
882
+ for: qwik._fnSignal((p0) => p0.id, [
883
+ props
884
+ ], "p0.id")
885
+ }, qwik._fnSignal((p0) => p0.label, [
886
+ props
887
+ ], "p0.label"), 3, null),
888
+ /* @__PURE__ */ qwik._jsxC(SelectInputRaw, {
889
+ ...props,
890
+ children: /* @__PURE__ */ qwik._jsxC(qwik.Slot, null, 3, "Ng_0")
891
+ }, 0, "Ng_1")
892
+ ], 1, "Ng_2");
893
+ }, "SelectInput_component_tsmPxDHgsg4"));
894
+ const SelectInputRaw = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.inlinedQrl((props) => {
895
+ const props1 = qwik._restProps(props, [
896
+ "transparent"
897
+ ]);
898
+ return /* @__PURE__ */ qwik._jsxS("select", {
899
+ ...props1,
900
+ children: /* @__PURE__ */ qwik._jsxC(qwik.Slot, null, 3, "Ng_3"),
901
+ class: {
902
+ "transition ease-in-out text-lg border border-gray-700 bg-gray-800 text-gray-50 hover:bg-gray-700 focus:bg-gray-700 rounded-md px-2 py-3": true,
903
+ "border-0 bg-transparent": props.transparent,
904
+ ...props1.class
905
+ }
906
+ }, null, 0, "Ng_4");
907
+ }, "SelectInputRaw_component_shUb6XV81ac"));
908
+ const TextAreaInput = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.inlinedQrl((props) => {
909
+ return /* @__PURE__ */ qwik._jsxQ("div", null, {
910
+ class: "flex flex-col"
911
+ }, [
912
+ /* @__PURE__ */ qwik._jsxQ("label", null, {
913
+ class: "mb-2",
914
+ for: qwik._fnSignal((p0) => p0.id, [
915
+ props
916
+ ], "p0.id")
917
+ }, qwik._fnSignal((p0) => p0.label, [
918
+ props
919
+ ], "p0.label"), 3, null),
920
+ /* @__PURE__ */ qwik._jsxC(TextAreaInputRaw, {
921
+ ...props
922
+ }, 0, "QH_0")
923
+ ], 1, "QH_1");
924
+ }, "TextAreaInput_component_1Be04zWHPB4"));
925
+ const TextAreaInputRaw = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.inlinedQrl((props) => {
926
+ return /* @__PURE__ */ qwik._jsxS("textarea", {
927
+ ...props,
928
+ class: {
929
+ "transition ease-in-out text-lg border border-gray-700 bg-gray-800 text-gray-50 hover:bg-gray-700 focus:bg-gray-700 rounded-md px-3 py-2 resize-y w-full h-32": true,
930
+ ...props.class
931
+ }
932
+ }, null, 0, "QH_2");
933
+ }, "TextAreaInputRaw_component_0LDqWcPUVoM"));
934
+ const Toggle = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.inlinedQrl((props) => {
935
+ const props1 = qwik._restProps(props, [
936
+ "label",
937
+ "center"
938
+ ]);
939
+ return /* @__PURE__ */ qwik._jsxQ("div", null, {
940
+ class: qwik._fnSignal((p0) => ({
941
+ "flex gap-3 items-center": true,
942
+ "justify-center": p0.center
943
+ }), [
944
+ props
945
+ ], '{"flex gap-3 items-center":true,"justify-center":p0.center}')
946
+ }, [
947
+ /* @__PURE__ */ qwik._jsxQ("label", null, {
948
+ class: "inline-flex relative items-center cursor-pointer"
949
+ }, [
950
+ /* @__PURE__ */ qwik._jsxS("input", {
951
+ ...props1,
952
+ class: {
953
+ "sr-only peer": true,
954
+ ...props1.class
955
+ }
956
+ }, {
957
+ type: "checkbox"
958
+ }, 0, null),
959
+ /* @__PURE__ */ qwik._jsxQ("div", null, {
960
+ class: {
961
+ "transition ease-in-out w-12 h-7 rounded-md peer bg-gray-800 border border-gray-700 hover:bg-gray-700": true,
962
+ "peer-checked:bg-blue-700 peer-checked:border-blue-600 peer-checked:hover:bg-blue-600": true,
963
+ "after:content-[''] after:absolute after:top-[4px] after:left-[4px] after:bg-gray-700 after:border after:border-gray-600 hover:after:bg-gray-600 after:rounded-md after:h-5 after:w-5 after:transition-all after:ease-in-out": true,
964
+ "peer-checked:after:translate-x-full peer-checked:after:bg-blue-500 peer-checked:after:border-blue-400 peer-checked:hover:after:bg-blue-400": true
965
+ }
966
+ }, null, 3, null)
967
+ ], 1, null),
968
+ props.label && /* @__PURE__ */ qwik._jsxQ("label", {
969
+ for: qwik._wrapSignal(props1, "id")
970
+ }, {
971
+ class: "text-gray-100"
972
+ }, qwik._fnSignal((p0) => p0.label, [
973
+ props
974
+ ], "p0.label"), 3, "qv_0")
975
+ ], 1, "qv_1");
976
+ }, "Toggle_component_9jluhzRll9k"));
977
+ const LogoBirdflop = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.inlinedQrl((props) => {
978
+ const props1 = qwik._restProps(props, [
979
+ "confused"
980
+ ]);
981
+ return /* @__PURE__ */ qwik._jsxS("svg", {
982
+ ...props1,
983
+ children: [
984
+ /* @__PURE__ */ qwik._jsxQ("defs", null, null, [
985
+ /* @__PURE__ */ qwik._jsxQ("linearGradient", null, {
986
+ gradientUnits: "objectBoundingBox",
987
+ id: "linear-gradient",
988
+ x1: "0.5",
989
+ x2: "0.5",
990
+ y2: "1"
991
+ }, [
992
+ /* @__PURE__ */ qwik._jsxQ("stop", null, {
993
+ offset: "0",
994
+ "stop-color": "#54daf4"
995
+ }, null, 3, null),
996
+ /* @__PURE__ */ qwik._jsxQ("stop", null, {
997
+ offset: "1",
998
+ "stop-color": "#545eb6"
999
+ }, null, 3, null)
1000
+ ], 3, null),
1001
+ /* @__PURE__ */ qwik._jsxQ("clipPath", null, {
1002
+ id: "clip-bf_3"
1003
+ }, /* @__PURE__ */ qwik._jsxQ("rect", null, {
1004
+ height: "1080",
1005
+ width: "1080"
1006
+ }, null, 3, null), 3, null)
1007
+ ], 3, null),
1008
+ /* @__PURE__ */ qwik._jsxQ("g", null, {
1009
+ "clip-path": "url(#clip-bf_3)",
1010
+ "data-name": "bf - 3",
1011
+ id: "bf_3"
1012
+ }, /* @__PURE__ */ qwik._jsxQ("path", null, {
1013
+ d: "M-1886.608-89.36c-8.311-65.774-27.64-219.008-27.64-221.333a.279.279,0,0,1,.09-.159q-.474-4.88-.477-9.885A101.066,101.066,0,0,1-1813.61-421.844a100.671,100.671,0,0,1,71.913,30.1l.093-.042c-.077-.093-8.783-10.549-22.7-24.758-8.216-8.388-16.645-16.459-25.052-23.993-10.51-9.417-21.018-18.013-31.23-25.552a120.5,120.5,0,0,0-40.468-71.567,119.916,119.916,0,0,0-77.984-28.881c-66.215,0-120.083,53.941-120.083,120.244h-.237v116.01h-.24c-.131,132.971-107.6,240.728-240.16,240.728V-330.289H-2300V-449.818h.362V-931.536h0V-1170c132.71,0,240.293,106.764,240.293,238.464v145.112a358.089,358.089,0,0,1,47.7-13.28,362.475,362.475,0,0,1,72.6-7.329,362.455,362.455,0,0,1,72.6,7.329,358.112,358.112,0,0,1,67.622,21.02,360.042,360.042,0,0,1,61.191,33.26,362.833,362.833,0,0,1,53.315,44.049,363.178,363.178,0,0,1,43.99,53.387,360.83,360.83,0,0,1,33.213,61.276A359.3,359.3,0,0,1-1586.118-519a363.948,363.948,0,0,1,7.317,72.7,363.957,363.957,0,0,1-7.317,72.7,359.333,359.333,0,0,1-20.992,67.714,360.95,360.95,0,0,1-33.213,61.277,363.233,363.233,0,0,1-43.99,53.388,362.833,362.833,0,0,1-53.315,44.049,360.017,360.017,0,0,1-61.191,33.259,358.108,358.108,0,0,1-67.622,21.02c-6.636,1.36-13.421,2.548-20.165,3.532Zm-79.831-365.056a27.049,27.049,0,0,1,27.038-27.059,27.048,27.048,0,0,1,27.037,27.059,27.049,27.049,0,0,1-27.037,27.06A27.05,27.05,0,0,1-1966.439-454.416Z",
1014
+ "data-name": "Union 26",
1015
+ fill: "url(#linear-gradient)",
1016
+ id: "Union_26",
1017
+ transform: "translate(2479.9 1169.7)"
1018
+ }, null, 3, null), 3, null),
1019
+ props.confused && /* @__PURE__ */ qwik._jsxQ("g", null, {
1020
+ fill: "#1E2837",
1021
+ stroke: "#1E2837",
1022
+ style: "transform: translate(595px, 460px) scale(0.375)"
1023
+ }, [
1024
+ /* @__PURE__ */ qwik._jsxQ("path", null, {
1025
+ d: "M160 164s1.44-33 33.54-59.46C212.6 88.83 235.49 84.28 256 84c18.73-.23 35.47 2.94 45.48 7.82C318.59 100.2 352 120.6 352 164c0 45.67-29.18 66.37-62.35 89.18S248 298.36 248 324",
1026
+ fill: "none",
1027
+ "stroke-linecap": "round",
1028
+ "stroke-miterlimit": "10",
1029
+ "stroke-width": "80"
1030
+ }, null, 3, null),
1031
+ /* @__PURE__ */ qwik._jsxQ("circle", null, {
1032
+ cx: "248",
1033
+ cy: "399.99",
1034
+ r: "40",
1035
+ style: "transform: translate(0, 30px)"
1036
+ }, null, 3, null)
1037
+ ], 3, "V8_0")
1038
+ ],
1039
+ height: qwik._wrapSignal(props1, "width")
1040
+ }, {
1041
+ viewBox: "0 0 1080 1080",
1042
+ xmlns: "http://www.w3.org/2000/svg",
1043
+ "xmlns:xlink": "http://www.w3.org/1999/xlink"
1044
+ }, 0, "V8_1");
1045
+ }, "LogoBirdflop_component_xs4c0ltbdlQ"));
1046
+ const LogoDiscord = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.inlinedQrl((props) => {
1047
+ return /* @__PURE__ */ qwik._jsxS("svg", {
1048
+ ...props,
1049
+ children: /* @__PURE__ */ qwik._jsxQ("path", null, {
1050
+ d: "M107.7,8.07A105.15,105.15,0,0,0,81.47,0a72.06,72.06,0,0,0-3.36,6.83A97.68,97.68,0,0,0,49,6.83,72.37,72.37,0,0,0,45.64,0,105.89,105.89,0,0,0,19.39,8.09C2.79,32.65-1.71,56.6.54,80.21h0A105.73,105.73,0,0,0,32.71,96.36,77.7,77.7,0,0,0,39.6,85.25a68.42,68.42,0,0,1-10.85-5.18c.91-.66,1.8-1.34,2.66-2a75.57,75.57,0,0,0,64.32,0c.87.71,1.76,1.39,2.66,2a68.68,68.68,0,0,1-10.87,5.19,77,77,0,0,0,6.89,11.1A105.25,105.25,0,0,0,126.6,80.22h0C129.24,52.84,122.09,29.11,107.7,8.07ZM42.45,65.69C36.18,65.69,31,60,31,53s5-12.74,11.43-12.74S54,46,53.89,53,48.84,65.69,42.45,65.69Zm42.24,0C78.41,65.69,73.25,60,73.25,53s5-12.74,11.44-12.74S96.23,46,96.12,53,91.08,65.69,84.69,65.69Z"
1051
+ }, null, 3, null)
1052
+ }, {
1053
+ height: qwik._fnSignal((p0) => p0.width, [
1054
+ props
1055
+ ], "p0.width"),
1056
+ viewBox: "0 0 127.14 96.36",
1057
+ xmlns: "http://www.w3.org/2000/svg"
1058
+ }, 0, "zl_0");
1059
+ }, "LogoDiscord_component_AmOcFZoZxss"));
1060
+ const LogoFabric = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.inlinedQrl((props) => {
1061
+ return /* @__PURE__ */ qwik._jsxS("svg", {
1062
+ ...props,
1063
+ children: [
1064
+ /* @__PURE__ */ qwik._jsxQ("path", null, {
1065
+ d: "M0 0h24v24H0z",
1066
+ fill: "none"
1067
+ }, null, 3, null),
1068
+ /* @__PURE__ */ qwik._jsxQ("path", null, {
1069
+ d: "m820 761-85.6-87.6c-4.6-4.7-10.4-9.6-25.9 1-19.9 13.6-8.4 21.9-5.2 25.4 8.2 9 84.1 89 97.2 104 2.5 2.8-20.3-22.5-6.5-39.7 5.4-7 18-12 26-3 6.5 7.3 10.7 18-3.4 29.7-24.7 20.4-102 82.4-127 103-12.5 10.3-28.5 2.3-35.8-6-7.5-8.9-30.6-34.6-51.3-58.2-5.5-6.3-4.1-19.6 2.3-25 35-30.3 91.9-73.8 111.9-90.8",
1070
+ fill: "none",
1071
+ stroke: "currentColor",
1072
+ "stroke-width": "23",
1073
+ transform: "matrix(.08671 0 0 .0867 -49.8 -56)"
1074
+ }, null, 3, null)
1075
+ ]
1076
+ }, {
1077
+ "clip-rule": "evenodd",
1078
+ "fill-rule": "evenodd",
1079
+ height: qwik._fnSignal((p0) => p0.width, [
1080
+ props
1081
+ ], "p0.width"),
1082
+ "stroke-linecap": "round",
1083
+ "stroke-linejoin": "round",
1084
+ viewBox: "0 0 24 24",
1085
+ "xml:space": "preserve",
1086
+ xmlns: "http://www.w3.org/2000/svg"
1087
+ }, 0, "MX_0");
1088
+ }, "LogoFabric_component_b4TU1XWJcXA"));
1089
+ const LogoForge = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.inlinedQrl((props) => {
1090
+ return /* @__PURE__ */ qwik._jsxS("svg", {
1091
+ ...props,
1092
+ children: [
1093
+ /* @__PURE__ */ qwik._jsxQ("path", null, {
1094
+ d: "M0 0h24v24H0z",
1095
+ fill: "none"
1096
+ }, null, 3, null),
1097
+ /* @__PURE__ */ qwik._jsxQ("path", null, {
1098
+ d: "M2 7.5h8v-2h12v2s-7 3.4-7 6 3.1 3.1 3.1 3.1l.9 3.9H5l1-4.1s3.8.1 4-2.9c.2-2.7-6.5-.7-8-6Z",
1099
+ fill: "none",
1100
+ stroke: "currentColor",
1101
+ "stroke-width": "2"
1102
+ }, null, 3, null)
1103
+ ]
1104
+ }, {
1105
+ "clip-rule": "evenodd",
1106
+ "fill-rule": "evenodd",
1107
+ height: qwik._fnSignal((p0) => p0.width, [
1108
+ props
1109
+ ], "p0.width"),
1110
+ "stroke-linecap": "round",
1111
+ "stroke-linejoin": "round",
1112
+ "stroke-miterlimit": "1.5",
1113
+ viewBox: "0 0 24 24",
1114
+ "xml:space": "preserve"
1115
+ }, 0, "AC_0");
1116
+ }, "LogoForge_component_fCGFug6ct1Q"));
1117
+ const LogoPaper = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.inlinedQrl((props) => {
1118
+ return /* @__PURE__ */ qwik._jsxS("svg", {
1119
+ ...props,
1120
+ children: [
1121
+ /* @__PURE__ */ qwik._jsxQ("path", null, {
1122
+ d: "M0 0h24v24H0z",
1123
+ fill: "none"
1124
+ }, null, 3, null),
1125
+ /* @__PURE__ */ qwik._jsxQ("path", null, {
1126
+ d: "m12 18 6 2 3-17L2 14l6 2",
1127
+ fill: "none",
1128
+ stroke: "currentColor",
1129
+ "stroke-width": "2"
1130
+ }, null, 3, null),
1131
+ /* @__PURE__ */ qwik._jsxQ("path", null, {
1132
+ d: "m9 21-1-5 4 2-3 3Z",
1133
+ stroke: "currentColor",
1134
+ "stroke-width": "2"
1135
+ }, null, 3, null),
1136
+ /* @__PURE__ */ qwik._jsxQ("path", null, {
1137
+ d: "m12 18-4-2 10-9-6 11Z",
1138
+ fill: "currentColor"
1139
+ }, null, 3, null)
1140
+ ]
1141
+ }, {
1142
+ "clip-rule": "evenodd",
1143
+ "fill-rule": "evenodd",
1144
+ height: qwik._fnSignal((p0) => p0.width, [
1145
+ props
1146
+ ], "p0.width"),
1147
+ "stroke-linecap": "round",
1148
+ "stroke-linejoin": "round",
1149
+ "stroke-miterlimit": "1.5",
1150
+ viewBox: "0 0 24 24",
1151
+ "xml:space": "preserve"
1152
+ }, 0, "CY_0");
1153
+ }, "LogoPaper_component_ngpMW0V9Km8"));
1154
+ const LogoPterodactyl = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.inlinedQrl((props) => {
1155
+ return /* @__PURE__ */ qwik._jsxS("svg", {
1156
+ ...props,
1157
+ children: /* @__PURE__ */ qwik._jsxQ("g", null, {
1158
+ fill: "currentColor",
1159
+ stroke: "none",
1160
+ transform: "translate(0,180) scale(0.100000,-0.100000)"
1161
+ }, [
1162
+ /* @__PURE__ */ qwik._jsxQ("path", null, {
1163
+ d: "M965 1489 c-86 -13 -231 -63 -305 -107 -70 -41 -175 -138 -204 -190 l-18 -34 53 32 c127 75 410 193 425 177 3 -3 -3 -18 -13 -34 l-18 -28 40 33 c39 32 136 99 205 140 l35 22 -70 -1 c-38 -1 -97 -5 -130 -10z"
1164
+ }, null, 3, null),
1165
+ /* @__PURE__ */ qwik._jsxQ("path", null, {
1166
+ d: "M1149 1320 c-147 -23 -282 -103 -431 -254 -103 -104 -143 -125 -65 -34 48 56 188 261 182 266 -6 7 -191 -71 -265 -111 -245 -132 -410 -289 -502 -474 -27 -56 -48 -107 -46 -112 1 -5 41 20 88 56 120 93 200 146 200 133 0 -6 -46 -59 -103 -117 -56 -59 -95 -104 -87 -101 8 3 89 36 180 73 150 61 165 66 175 50 64 -109 121 -158 225 -194 103 -36 259 -47 366 -26 13 3 42 -11 80 -39 32 -24 78 -49 101 -55 27 -7 44 -19 48 -31 8 -27 41 -43 71 -36 28 7 32 26 5 26 -24 0 -44 24 -39 47 2 10 18 25 35 34 18 9 30 19 26 23 -13 13 -58 5 -79 -15 -15 -14 -29 -18 -48 -13 -29 7 -79 60 -73 78 2 6 29 20 60 31 31 11 57 23 57 27 0 13 -181 96 -248 114 l-64 18 6 40 c11 71 63 162 132 231 101 101 239 159 582 246 28 7 52 15 52 19 0 7 -209 64 -310 84 -99 19 -241 27 -311 16z m-819 -401 c-13 -22 -37 -35 -48 -24 -7 7 34 45 49 45 6 0 5 -9 -1 -21z"
1167
+ }, null, 3, null),
1168
+ /* @__PURE__ */ qwik._jsxQ("path", null, {
1169
+ d: "M1224 496 c-14 -11 -16 -17 -7 -26 9 -10 17 -8 37 6 14 11 26 22 26 27 0 12 -35 8 -56 -7z"
1170
+ }, null, 3, null),
1171
+ /* @__PURE__ */ qwik._jsxQ("path", null, {
1172
+ d: "M1012 441 c-19 -11 64 -51 106 -51 39 0 40 4 5 35 -29 25 -85 33 -111 16z"
1173
+ }, null, 3, null)
1174
+ ], 3, null)
1175
+ }, {
1176
+ height: qwik._fnSignal((p0) => p0.width, [
1177
+ props
1178
+ ], "p0.width"),
1179
+ preserveAspectRatio: "xMidYMid meet",
1180
+ version: "1.0",
1181
+ viewBox: "0 0 180 180",
1182
+ xmlns: "http://www.w3.org/2000/svg"
1183
+ }, 0, "QM_0");
1184
+ }, "LogoPterodactyl_component_TnaGzuDx6YY"));
1185
+ const LogoPurpur = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.inlinedQrl((props) => {
1186
+ return /* @__PURE__ */ qwik._jsxS("svg", {
1187
+ ...props,
1188
+ children: [
1189
+ /* @__PURE__ */ qwik._jsxQ("defs", null, null, /* @__PURE__ */ qwik._jsxQ("path", null, {
1190
+ d: "m264 41.95 8-4v8l-8 4v-8Z",
1191
+ fill: "none",
1192
+ id: "purpur",
1193
+ stroke: "currentColor",
1194
+ "stroke-width": "1.68"
1195
+ }, null, 3, null), 3, null),
1196
+ /* @__PURE__ */ qwik._jsxQ("path", null, {
1197
+ d: "M0 0h24v24H0z",
1198
+ fill: "none"
1199
+ }, null, 3, null),
1200
+ /* @__PURE__ */ qwik._jsxQ("path", null, {
1201
+ d: "m264 29.95-8 4 8 4.42 8-4.42-8-4Z",
1202
+ fill: "none",
1203
+ stroke: "currentColor",
1204
+ "stroke-width": "1.77",
1205
+ transform: "matrix(1.125 0 0 1.1372 -285 -31.69)"
1206
+ }, null, 3, null),
1207
+ /* @__PURE__ */ qwik._jsxQ("path", null, {
1208
+ d: "m272 38.37-8 4.42-8-4.42",
1209
+ fill: "none",
1210
+ stroke: "currentColor",
1211
+ "stroke-width": "1.77",
1212
+ transform: "matrix(1.125 0 0 1.1372 -285 -31.69)"
1213
+ }, null, 3, null),
1214
+ /* @__PURE__ */ qwik._jsxQ("path", null, {
1215
+ d: "m260 31.95 8 4.21V45",
1216
+ fill: "none",
1217
+ stroke: "currentColor",
1218
+ "stroke-width": "1.77",
1219
+ transform: "matrix(1.125 0 0 1.1372 -285 -31.69)"
1220
+ }, null, 3, null),
1221
+ /* @__PURE__ */ qwik._jsxQ("path", null, {
1222
+ d: "M260 45v-8.84l8-4.21",
1223
+ fill: "none",
1224
+ stroke: "currentColor",
1225
+ "stroke-width": "1.77",
1226
+ transform: "matrix(1.125 0 0 1.1372 -285 -31.69)"
1227
+ }, null, 3, null),
1228
+ /* @__PURE__ */ qwik._jsxQ("path", null, {
1229
+ d: "m264 41.95 8-4v8l-8 4v-8Z",
1230
+ fill: "none",
1231
+ stroke: "currentColor",
1232
+ "stroke-width": "1.68",
1233
+ transform: "matrix(1.125 0 0 1.2569 -285 -40.78)"
1234
+ }, null, 3, null),
1235
+ /* @__PURE__ */ qwik._jsxQ("path", null, {
1236
+ d: "m264 41.95 8-4v8l-8 4v-8Z",
1237
+ fill: "none",
1238
+ stroke: "currentColor",
1239
+ "stroke-width": "1.68",
1240
+ transform: "matrix(-1.125 0 0 1.2569 309 -40.78)"
1241
+ }, null, 3, null)
1242
+ ]
1243
+ }, {
1244
+ "clip-rule": "evenodd",
1245
+ "fill-rule": "evenodd",
1246
+ height: qwik._fnSignal((p0) => p0.width, [
1247
+ props
1248
+ ], "p0.width"),
1249
+ "stroke-linecap": "round",
1250
+ "stroke-linejoin": "round",
1251
+ "stroke-miterlimit": "1.5",
1252
+ viewBox: "0 0 24 24",
1253
+ "xml:space": "preserve"
1254
+ }, 0, "cF_0");
1255
+ }, "LogoPurpur_component_rScmHYvBb0A"));
1256
+ const LogoVelocity = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.inlinedQrl((props) => {
1257
+ return /* @__PURE__ */ qwik._jsxS("svg", {
1258
+ ...props,
1259
+ children: [
1260
+ /* @__PURE__ */ qwik._jsxQ("path", null, {
1261
+ d: "M236.25 232.55l-54.08-73.79a11.86 11.86 0 00-11.91-4.62L84 171.57a11.88 11.88 0 00-8 5.88l-42.64 77.07a11.84 11.84 0 00.81 12.75l54.21 74a11.86 11.86 0 0011.91 4.62l86-17.37a11.85 11.85 0 008-5.89l42.78-77.3a11.86 11.86 0 00-.82-12.78zm-59.45 74.21a9.57 9.57 0 01-13.39-2.06l-31-42.24a16 16 0 00-16-6.21l-52.58 10.63a9.58 9.58 0 01-11.29-7.49A9.58 9.58 0 0160 248.1l57-11.52a16 16 0 0010.81-7.92L156.42 177a9.58 9.58 0 0113-3.75 9.58 9.58 0 013.75 13L146.81 234a16 16 0 001.09 17.16l31 42.23a9.58 9.58 0 01-2.1 13.37z"
1262
+ }, null, 3, null),
1263
+ /* @__PURE__ */ qwik._jsxQ("circle", null, {
1264
+ cx: "416.44",
1265
+ cy: "236.11",
1266
+ r: "9.83"
1267
+ }, null, 3, null),
1268
+ /* @__PURE__ */ qwik._jsxQ("path", null, {
1269
+ d: "M458.29 265.6H280.52a9.83 9.83 0 110-19.66h106.22a9.84 9.84 0 000-19.67h-70.2a9.83 9.83 0 110-19.66H422.9a9.84 9.84 0 000-19.67H202.83l33.42 45.61a11.86 11.86 0 01.81 12.75l-42.78 77.3a11.75 11.75 0 01-1.4 2h212.29a9.83 9.83 0 100-19.66h-53.53a9.84 9.84 0 110-19.67h106.65a9.84 9.84 0 100-19.67z"
1270
+ }, null, 3, null)
1271
+ ]
1272
+ }, {
1273
+ fill: "currentColor",
1274
+ height: qwik._fnSignal((p0) => p0.width, [
1275
+ props
1276
+ ], "p0.width"),
1277
+ viewBox: "0 0 500 500"
1278
+ }, 0, "vY_0");
1279
+ }, "LogoVelocity_component_0O15KZhC134"));
1280
+ const LogoWaterfall = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.inlinedQrl((props) => {
1281
+ return /* @__PURE__ */ qwik._jsxS("svg", {
1282
+ ...props,
1283
+ children: /* @__PURE__ */ qwik._jsxQ("path", null, {
1284
+ d: "M12 2.69l5.66 5.66a8 8 0 1 1-11.31 0z"
1285
+ }, null, 3, null)
1286
+ }, {
1287
+ fill: "none",
1288
+ height: qwik._fnSignal((p0) => p0.width, [
1289
+ props
1290
+ ], "p0.width"),
1291
+ stroke: "currentColor",
1292
+ "stroke-linecap": "round",
1293
+ "stroke-linejoin": "round",
1294
+ "stroke-width": "2",
1295
+ viewBox: "0 0 24 24"
1296
+ }, 0, "fo_0");
1297
+ }, "LogoWaterfall_component_k4x97LWls04"));
1298
+ exports.Button = Button;
1299
+ exports.ButtonAnchor = ButtonAnchor;
1300
+ exports.Card = Card;
1301
+ exports.CardHeader = CardHeader;
1302
+ exports.ColorInput = ColorInput;
1303
+ exports.LoadingIcon = LoadingIcon;
1304
+ exports.LogoBirdflop = LogoBirdflop;
1305
+ exports.LogoDiscord = LogoDiscord;
1306
+ exports.LogoFabric = LogoFabric;
1307
+ exports.LogoForge = LogoForge;
1308
+ exports.LogoPaper = LogoPaper;
1309
+ exports.LogoPterodactyl = LogoPterodactyl;
1310
+ exports.LogoPurpur = LogoPurpur;
1311
+ exports.LogoVelocity = LogoVelocity;
1312
+ exports.LogoWaterfall = LogoWaterfall;
1313
+ exports.NumberInput = NumberInput;
1314
+ exports.NumberInputRaw = NumberInputRaw;
1315
+ exports.OutputField = OutputField;
1316
+ exports.OutputFieldRaw = OutputFieldRaw;
1317
+ exports.SelectInput = SelectInput;
1318
+ exports.SelectInputRaw = SelectInputRaw;
1319
+ exports.TextAreaInput = TextAreaInput;
1320
+ exports.TextAreaInputRaw = TextAreaInputRaw;
1321
+ exports.TextInput = TextInput;
1322
+ exports.TextInputRaw = TextInputRaw;
1323
+ exports.Toggle = Toggle;
1324
+ exports._auto_blobClasses = blobClasses;
1325
+ exports._auto_buttonClass = buttonClass;
1326
+ exports.buttonColorClasses = buttonColorClasses;
1327
+ exports.cardColorClasses = cardColorClasses;
1328
+ exports.sizeClasses = sizeClasses;