@elmethis/qwik 0.1.0-alpha.7 → 1.0.0-alpha.9
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.
- package/lib/index.qwik.cjs +550 -591
- package/lib/index.qwik.mjs +551 -592
- package/lib/q-manifest.json +4 -4
- package/lib/style.css +409 -391
- package/lib-types/components/icon/elm-dot-loading-icon.d.ts +0 -6
- package/lib-types/components/others/elm-color-token-sample.d.ts +6 -0
- package/lib-types/components/others/elm-color-token-sample.stories.d.ts +6 -0
- package/lib-types/styles/variables.d.ts +5 -19
- package/package.json +2 -2
package/lib/index.qwik.cjs
CHANGED
|
@@ -42,15 +42,15 @@ const uuid = require("uuid");
|
|
|
42
42
|
const autoAnimate = require("@formkit/auto-animate");
|
|
43
43
|
const esToolkit = require("es-toolkit");
|
|
44
44
|
const polished = require("polished");
|
|
45
|
-
const tab = "
|
|
46
|
-
const active$3 = "
|
|
45
|
+
const tab = "_tab_1wt9e_14";
|
|
46
|
+
const active$3 = "_active_1wt9e_38";
|
|
47
47
|
const styles$U = {
|
|
48
|
-
"elm-tabs": "_elm-
|
|
49
|
-
"tab-container": "_tab-
|
|
48
|
+
"elm-tabs": "_elm-tabs_1wt9e_1",
|
|
49
|
+
"tab-container": "_tab-container_1wt9e_14",
|
|
50
50
|
tab,
|
|
51
51
|
active: active$3,
|
|
52
|
-
"tab-content": "_tab-
|
|
53
|
-
"tab-content-inner": "_tab-content-
|
|
52
|
+
"tab-content": "_tab-content_1wt9e_53",
|
|
53
|
+
"tab-content-inner": "_tab-content-inner_1wt9e_58"
|
|
54
54
|
};
|
|
55
55
|
const row$2 = "_row_12wiu_5";
|
|
56
56
|
const open$2 = "_open_12wiu_11";
|
|
@@ -65,7 +65,7 @@ const styles$T = {
|
|
|
65
65
|
both,
|
|
66
66
|
inner
|
|
67
67
|
};
|
|
68
|
-
const _hf0$
|
|
68
|
+
const _hf0$Q = (p0) => ({
|
|
69
69
|
"--elmethis-scoped-transition-timing-function": p0.transitionTimingFunction ?? "ease-in-out"
|
|
70
70
|
});
|
|
71
71
|
const ElmCollapse = /* @__PURE__ */ core$1.componentQrl(/* @__PURE__ */ core$1.inlinedQrl((_rawProps) => {
|
|
@@ -86,7 +86,7 @@ const ElmCollapse = /* @__PURE__ */ core$1.componentQrl(/* @__PURE__ */ core$1.i
|
|
|
86
86
|
},
|
|
87
87
|
_rawProps.class
|
|
88
88
|
],
|
|
89
|
-
style: core$1._fnSignal(_hf0$
|
|
89
|
+
style: core$1._fnSignal(_hf0$Q, [
|
|
90
90
|
_rawProps
|
|
91
91
|
]),
|
|
92
92
|
...core$1._getVarProps(props)
|
|
@@ -98,7 +98,7 @@ function useBindableSignal({ signal, defaultValue }) {
|
|
|
98
98
|
const internal = core$1.useSignal(defaultValue);
|
|
99
99
|
return signal ?? internal;
|
|
100
100
|
}
|
|
101
|
-
const _hf0$
|
|
101
|
+
const _hf0$P = (p0, p1) => p0.selectedValue.value === p1.value;
|
|
102
102
|
const ElmTabsContext = core$1.createContextId("elmethis.tabs");
|
|
103
103
|
const ElmTabs = /* @__PURE__ */ core$1.componentQrl(/* @__PURE__ */ core$1.inlinedQrl((props) => {
|
|
104
104
|
const rest = core$1._restProps(props, [
|
|
@@ -174,7 +174,7 @@ const ElmTabPanel = /* @__PURE__ */ core$1.componentQrl(/* @__PURE__ */ core$1.i
|
|
|
174
174
|
...core$1._getVarProps(rest)
|
|
175
175
|
}, core$1._getConstProps(rest), /* @__PURE__ */ core$1._jsxSorted(ElmCollapse, null, {
|
|
176
176
|
direction: "row",
|
|
177
|
-
isOpen: core$1._fnSignal(_hf0$
|
|
177
|
+
isOpen: core$1._fnSignal(_hf0$P, [
|
|
178
178
|
ctx,
|
|
179
179
|
props
|
|
180
180
|
]),
|
|
@@ -183,17 +183,17 @@ const ElmTabPanel = /* @__PURE__ */ core$1.componentQrl(/* @__PURE__ */ core$1.i
|
|
|
183
183
|
class: styles$U["tab-content-inner"]
|
|
184
184
|
}, /* @__PURE__ */ core$1._jsxSorted(core$1.Slot, null, null, null, 3, "lK_6"), 1, null), 1, "lK_7"), 0, "lK_8");
|
|
185
185
|
}, "ElmTabPanel_component_4GhH207NkRY"));
|
|
186
|
-
const h1 = "
|
|
187
|
-
const h2 = "
|
|
188
|
-
const h2__underline = "
|
|
189
|
-
const h3 = "
|
|
190
|
-
const h4 = "
|
|
191
|
-
const h5 = "
|
|
192
|
-
const h6 = "
|
|
186
|
+
const h1 = "_h1_1ppra_23";
|
|
187
|
+
const h2 = "_h2_1ppra_50";
|
|
188
|
+
const h2__underline = "_h2__underline_1ppra_76";
|
|
189
|
+
const h3 = "_h3_1ppra_89";
|
|
190
|
+
const h4 = "_h4_1ppra_104";
|
|
191
|
+
const h5 = "_h5_1ppra_108";
|
|
192
|
+
const h6 = "_h6_1ppra_112";
|
|
193
193
|
const styles$S = {
|
|
194
|
-
"heading-common": "_heading-
|
|
194
|
+
"heading-common": "_heading-common_1ppra_1",
|
|
195
195
|
h1,
|
|
196
|
-
"heading-stretch": "_heading-
|
|
196
|
+
"heading-stretch": "_heading-stretch_1ppra_1",
|
|
197
197
|
h2,
|
|
198
198
|
h2__underline,
|
|
199
199
|
h3,
|
|
@@ -201,11 +201,11 @@ const styles$S = {
|
|
|
201
201
|
h5,
|
|
202
202
|
h6
|
|
203
203
|
};
|
|
204
|
-
const text$
|
|
204
|
+
const text$4 = "_text_1a71m_1";
|
|
205
205
|
const textStyles = {
|
|
206
|
-
text: text$
|
|
206
|
+
text: text$4
|
|
207
207
|
};
|
|
208
|
-
const fragment = "
|
|
208
|
+
const fragment = "_fragment_w9jju_1";
|
|
209
209
|
const styles$R = {
|
|
210
210
|
fragment
|
|
211
211
|
};
|
|
@@ -284,21 +284,21 @@ const ElmHeading = /* @__PURE__ */ core$1.componentQrl(/* @__PURE__ */ core$1.in
|
|
|
284
284
|
}, null, 3, "sL_3")
|
|
285
285
|
], 0, "sL_4");
|
|
286
286
|
}, "ElmHeading_component_O0GozTFBBog"));
|
|
287
|
-
const text$
|
|
288
|
-
const code$2 = "
|
|
289
|
-
const kbd = "
|
|
290
|
-
const link$1 = "
|
|
287
|
+
const text$3 = "_text_yfzp9_1";
|
|
288
|
+
const code$2 = "_code_yfzp9_12";
|
|
289
|
+
const kbd = "_kbd_yfzp9_21";
|
|
290
|
+
const link$1 = "_link_yfzp9_55";
|
|
291
291
|
const styles$Q = {
|
|
292
|
-
text: text$
|
|
292
|
+
text: text$3,
|
|
293
293
|
code: code$2,
|
|
294
294
|
kbd,
|
|
295
295
|
link: link$1
|
|
296
296
|
};
|
|
297
|
-
const icon$
|
|
297
|
+
const icon$6 = "_icon_1pv7j_1";
|
|
298
298
|
const styles$P = {
|
|
299
|
-
icon: icon$
|
|
299
|
+
icon: icon$6
|
|
300
300
|
};
|
|
301
|
-
const _hf0$
|
|
301
|
+
const _hf0$O = (p0) => p0.width ?? p0.size ?? 16;
|
|
302
302
|
const _hf1$h = (p0) => p0.height ?? p0.size ?? 16;
|
|
303
303
|
const ElmInlineIcon = /* @__PURE__ */ core$1.componentQrl(/* @__PURE__ */ core$1.inlinedQrl((_rawProps) => {
|
|
304
304
|
const props = core$1._restProps(_rawProps, [
|
|
@@ -321,19 +321,13 @@ const ElmInlineIcon = /* @__PURE__ */ core$1.componentQrl(/* @__PURE__ */ core$1
|
|
|
321
321
|
_rawProps
|
|
322
322
|
]),
|
|
323
323
|
src: core$1._wrapProp(_rawProps, "src"),
|
|
324
|
-
width: core$1._fnSignal(_hf0$
|
|
324
|
+
width: core$1._fnSignal(_hf0$O, [
|
|
325
325
|
_rawProps
|
|
326
326
|
])
|
|
327
327
|
}, {
|
|
328
328
|
class: styles$P.icon
|
|
329
329
|
}, null, 3, null), 0, "D4_0");
|
|
330
330
|
}, "ElmInlineIcon_component_9LkENpSGozA"));
|
|
331
|
-
const _hf0$P = (p0) => ({
|
|
332
|
-
...p0.style,
|
|
333
|
-
"--elmethis-scoped-color": p0.color,
|
|
334
|
-
"--elmethis-scoped-font-size": p0.size ?? "1em",
|
|
335
|
-
"--elmethis-scoped-background-color": p0.backgroundColor
|
|
336
|
-
});
|
|
337
331
|
const ElmInlineText = /* @__PURE__ */ core$1.componentQrl(/* @__PURE__ */ core$1.inlinedQrl((_rawProps) => {
|
|
338
332
|
const rest = core$1._restProps(_rawProps, [
|
|
339
333
|
"class",
|
|
@@ -391,17 +385,21 @@ const ElmInlineText = /* @__PURE__ */ core$1.componentQrl(/* @__PURE__ */ core$1
|
|
|
391
385
|
textStyles.text,
|
|
392
386
|
_rawProps.class
|
|
393
387
|
],
|
|
394
|
-
style:
|
|
395
|
-
_rawProps
|
|
396
|
-
|
|
388
|
+
style: {
|
|
389
|
+
..._rawProps.style,
|
|
390
|
+
color: _rawProps.color ?? "var(--elmethis-color-mono-fg)",
|
|
391
|
+
"--elmethis-scoped-color": _rawProps.color,
|
|
392
|
+
"--elmethis-scoped-font-size": _rawProps.size ?? "1em",
|
|
393
|
+
"--elmethis-scoped-background-color": _rawProps.backgroundColor
|
|
394
|
+
},
|
|
397
395
|
...core$1._getVarProps(rest)
|
|
398
396
|
}, core$1._getConstProps(rest), vnode, 0, "7t_10");
|
|
399
397
|
}, "ElmInlineText_component_MdjKbLJ3SR0"));
|
|
400
|
-
const paragraph = "
|
|
398
|
+
const paragraph = "_paragraph_15bb1_1";
|
|
401
399
|
const styles$O = {
|
|
402
400
|
paragraph
|
|
403
401
|
};
|
|
404
|
-
const _hf0$
|
|
402
|
+
const _hf0$N = (p0) => ({
|
|
405
403
|
...p0.style,
|
|
406
404
|
"--elmethis-scoped-color": p0.color,
|
|
407
405
|
"--elmethis-scoped-background-color": p0.backgroundColor
|
|
@@ -419,7 +417,7 @@ const ElmParagraph = /* @__PURE__ */ core$1.componentQrl(/* @__PURE__ */ core$1.
|
|
|
419
417
|
textStyles.text,
|
|
420
418
|
_rawProps.class
|
|
421
419
|
],
|
|
422
|
-
style: core$1._fnSignal(_hf0$
|
|
420
|
+
style: core$1._fnSignal(_hf0$N, [
|
|
423
421
|
_rawProps
|
|
424
422
|
]),
|
|
425
423
|
...core$1._getVarProps(props)
|
|
@@ -432,7 +430,7 @@ const list = "_list_4ps3c_64";
|
|
|
432
430
|
const card = "_card_4ps3c_81";
|
|
433
431
|
const button$1 = "_button_4ps3c_91";
|
|
434
432
|
const image$3 = "_image_4ps3c_122";
|
|
435
|
-
const icon$
|
|
433
|
+
const icon$5 = "_icon_4ps3c_130";
|
|
436
434
|
const divider$2 = "_divider_4ps3c_139";
|
|
437
435
|
const label$1 = "_label_4ps3c_161";
|
|
438
436
|
const input$2 = "_input_4ps3c_167";
|
|
@@ -454,7 +452,7 @@ const styles$N = {
|
|
|
454
452
|
button: button$1,
|
|
455
453
|
"button-primary": "_button-primary_4ps3c_110",
|
|
456
454
|
image: image$3,
|
|
457
|
-
icon: icon$
|
|
455
|
+
icon: icon$5,
|
|
458
456
|
divider: divider$2,
|
|
459
457
|
"divider-vertical": "_divider-vertical_4ps3c_145",
|
|
460
458
|
"text-field": "_text-field_4ps3c_155",
|
|
@@ -539,7 +537,7 @@ function firstChildMargin(index) {
|
|
|
539
537
|
marginBlockStart: 0
|
|
540
538
|
} : void 0;
|
|
541
539
|
}
|
|
542
|
-
const _hf0$
|
|
540
|
+
const _hf0$M = (p0) => p0.props.min ?? 0;
|
|
543
541
|
const _hf1$g = (p0) => p0.props.max;
|
|
544
542
|
const textFieldInputType = {
|
|
545
543
|
shortText: "text",
|
|
@@ -700,7 +698,7 @@ const basicCatalog = new CatalogRenderer([
|
|
|
700
698
|
max: core$1._fnSignal(_hf1$g, [
|
|
701
699
|
_rawProps
|
|
702
700
|
]),
|
|
703
|
-
min: core$1._fnSignal(_hf0$
|
|
701
|
+
min: core$1._fnSignal(_hf0$M, [
|
|
704
702
|
_rawProps
|
|
705
703
|
]),
|
|
706
704
|
"q-e:change": /* @__PURE__ */ core$1.inlinedQrl((_e, el, _rawProps2) => _rawProps2.setBinding$("value", Number(el.value)), "basicCatalog_defineRenderer_input_q_e_change_U0Dwvjz0O9o"),
|
|
@@ -1197,7 +1195,7 @@ const katex = "_katex_19jd6_1";
|
|
|
1197
1195
|
const styles$M = {
|
|
1198
1196
|
katex
|
|
1199
1197
|
};
|
|
1200
|
-
const _hf0$
|
|
1198
|
+
const _hf0$L = (p0) => p0.value ?? "";
|
|
1201
1199
|
const ElmKatex = /* @__PURE__ */ core$1.componentQrl(/* @__PURE__ */ core$1.inlinedQrl((props) => {
|
|
1202
1200
|
const rest = core$1._restProps(props, [
|
|
1203
1201
|
"class",
|
|
@@ -1219,24 +1217,24 @@ const ElmKatex = /* @__PURE__ */ core$1.componentQrl(/* @__PURE__ */ core$1.inli
|
|
|
1219
1217
|
props.block ? styles$M.katex : void 0,
|
|
1220
1218
|
props.class
|
|
1221
1219
|
],
|
|
1222
|
-
dangerouslySetInnerHTML: core$1._fnSignal(_hf0$
|
|
1220
|
+
dangerouslySetInnerHTML: core$1._fnSignal(_hf0$L, [
|
|
1223
1221
|
html
|
|
1224
1222
|
]),
|
|
1225
1223
|
...core$1._getVarProps(rest)
|
|
1226
1224
|
}, core$1._getConstProps(rest), null, 0, "FX_0");
|
|
1227
1225
|
}, "ElmKatex_component_83EW4M1WU0k"));
|
|
1228
|
-
const caption$1 = "
|
|
1229
|
-
const divider$1 = "
|
|
1230
|
-
const code$1 = "
|
|
1226
|
+
const caption$1 = "_caption_n4s8a_22";
|
|
1227
|
+
const divider$1 = "_divider_n4s8a_33";
|
|
1228
|
+
const code$1 = "_code_n4s8a_1";
|
|
1231
1229
|
const styles$L = {
|
|
1232
|
-
"code-block": "_code-
|
|
1233
|
-
"language-icon": "_language-
|
|
1230
|
+
"code-block": "_code-block_n4s8a_1",
|
|
1231
|
+
"language-icon": "_language-icon_n4s8a_17",
|
|
1234
1232
|
caption: caption$1,
|
|
1235
|
-
"copy-icon": "_copy-
|
|
1233
|
+
"copy-icon": "_copy-icon_n4s8a_29",
|
|
1236
1234
|
divider: divider$1,
|
|
1237
1235
|
code: code$1
|
|
1238
1236
|
};
|
|
1239
|
-
const _hf0$
|
|
1237
|
+
const _hf0$K = (p0) => p0.size ?? 24;
|
|
1240
1238
|
const Rust = /* @__PURE__ */ core$1.componentQrl(/* @__PURE__ */ core$1.inlinedQrl((_rawProps) => {
|
|
1241
1239
|
const props = core$1._restProps(_rawProps, [
|
|
1242
1240
|
"size"
|
|
@@ -1245,10 +1243,10 @@ const Rust = /* @__PURE__ */ core$1.componentQrl(/* @__PURE__ */ core$1.inlinedQ
|
|
|
1245
1243
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1246
1244
|
viewBox: "0 0 128 128",
|
|
1247
1245
|
fill: "#a84f33",
|
|
1248
|
-
width: core$1._fnSignal(_hf0$
|
|
1246
|
+
width: core$1._fnSignal(_hf0$K, [
|
|
1249
1247
|
_rawProps
|
|
1250
1248
|
]),
|
|
1251
|
-
height: core$1._fnSignal(_hf0$
|
|
1249
|
+
height: core$1._fnSignal(_hf0$K, [
|
|
1252
1250
|
_rawProps
|
|
1253
1251
|
]),
|
|
1254
1252
|
...core$1._getVarProps(props)
|
|
@@ -1256,17 +1254,17 @@ const Rust = /* @__PURE__ */ core$1.componentQrl(/* @__PURE__ */ core$1.inlinedQ
|
|
|
1256
1254
|
d: "M62.96.242c-.232.135-1.203 1.528-2.16 3.097c-2.4 3.94-2.426 3.942-5.65.55c-2.098-2.208-2.605-2.612-3.28-2.607c-.44.002-.995.152-1.235.332s-.916 1.612-1.504 3.183c-1.346 3.6-1.41 3.715-2.156 3.86c-.46.086-1.343-.407-3.463-1.929c-1.565-1.125-3.1-2.045-3.411-2.045c-1.291 0-1.655.706-2.27 4.4c-.78 4.697-.754 4.681-4.988 2.758c-1.71-.776-3.33-1.41-3.603-1.41s-.792.293-1.15.652c-.652.652-.653.655-.475 4.246l.178 3.595l-.68.364c-.602.322-1.017.283-3.684-.348c-3.48-.822-4.216-.8-4.92.15l-.516.693l.692 2.964c.38 1.63.745 3.2.814 3.487c.067.287-.05.746-.26 1.02c-.348.448-.717.49-3.94.44c-5.452-.086-5.761.382-3.51 5.3c.718 1.56 1.305 2.98 1.305 3.15c0 .898-.717 1.224-3.794 1.727c-1.722.28-3.218.51-3.326.51c-.107 0-.43.235-.717.522c-.937.936-.671 1.816 1.453 4.814c2.646 3.735 2.642 3.75-1.73 5.421c-4.971 1.902-5.072 2.37-1.287 5.96c3.525 3.344 3.53 3.295-.461 5.804C.208 62.8.162 62.846.085 63.876c-.093 1.253-.071 1.275 3.538 3.48c3.57 2.18 3.57 2.246.067 5.56C-.078 76.48.038 77 5.013 78.877c4.347 1.64 4.353 1.66 1.702 5.394c-1.502 2.117-1.981 3-1.981 3.653c0 1.223.637 1.535 4.44 2.174c3.206.54 3.92.857 3.92 1.741c0 .182-.588 1.612-1.307 3.177c-2.236 4.87-1.981 5.275 3.31 5.275c4.93 0 4.799-.15 3.737 4.294c-.8 3.35-.813 3.992-.088 4.715c.554.556 1.6.494 4.87-.289c2.499-.596 2.937-.637 3.516-.328l.66.354l-.177 3.594c-.178 3.593-.177 3.595.475 4.248c.358.36.884.652 1.165.652s1.903-.63 3.604-1.404c4.22-1.916 4.194-1.932 4.973 2.75c.617 3.711.977 4.4 2.294 4.4c.327 0 1.83-.88 3.34-1.958c2.654-1.893 3.342-2.19 4.049-1.74c.182.115.89 1.67 1.572 3.455c1.003 2.625 1.37 3.31 1.929 3.576c1.062.51 1.72.1 4.218-2.62c3.016-3.286 3.14-3.27 5.602.72c2.72 4.406 3.424 4.396 6.212-.089c2.402-3.864 2.374-3.862 5.621-.47c2.157 2.25 2.616 2.61 3.343 2.61c.464 0 1.019-.175 1.23-.388c.214-.213.92-1.786 1.568-3.496c.649-1.71 1.321-3.2 1.495-3.31c.687-.436 1.398-.13 4.048 1.752c1.56 1.108 3.028 1.96 3.377 1.96c1.296 0 1.764-.92 2.302-4.535c.46-3.082.554-3.378 1.16-3.685c.596-.302.954-.2 3.75 1.07c1.701.77 3.323 1.402 3.604 1.402s.816-.302 1.184-.672l.672-.67l-.184-3.448c-.177-3.29-.16-3.468.364-3.943c.54-.488.596-.486 3.615.204c3.656.835 4.338.857 5.025.17c.671-.67.664-.818-.254-4.69c-1.03-4.346-1.168-4.19 3.78-4.19c3.374 0 3.75-.049 4.18-.523c.718-.793.547-1.702-.896-4.779c-.729-1.55-1.32-2.96-1.315-3.135c.024-.914.743-1.227 4.065-1.767c2.033-.329 3.553-.71 3.829-.96c.923-.833.584-1.918-1.523-4.873c-2.642-3.703-2.63-3.738 1.599-5.297c5.064-1.866 5.209-2.488 1.419-6.09c-3.51-3.335-3.512-3.317.333-5.677c4.648-2.853 4.655-3.496.082-6.335c-3.933-2.44-3.93-2.406-.405-5.753c3.78-3.593 3.678-4.063-1.295-5.965c-4.388-1.679-4.402-1.72-1.735-5.38c1.588-2.18 1.982-2.903 1.982-3.65c0-1.306-.586-1.598-4.436-2.22c-3.216-.52-3.924-.835-3.924-1.75c0-.174.588-1.574 1.307-3.113c1.406-3.013 1.604-4.22.808-4.94c-.428-.387-1-.443-4.067-.392c-3.208.054-3.618.008-4.063-.439c-.486-.488-.48-.557.278-3.725c.931-3.88.935-3.975.17-4.694c-.777-.73-1.262-.718-4.826.121c-2.597.612-3.027.653-3.617.337l-.67-.36l.185-3.582l.186-3.58l-.67-.67c-.369-.37-.891-.67-1.163-.67c-.27 0-1.884.64-3.583 1.421c-2.838 1.306-3.143 1.393-3.757 1.072c-.612-.32-.714-.637-1.237-3.829c-.603-3.693-.977-4.412-2.288-4.412c-.311 0-1.853.925-3.426 2.055c-2.584 1.856-2.93 2.032-3.574 1.807c-.533-.186-.843-.59-1.221-1.599c-.28-.742-.817-2.172-1.194-3.177c-.762-2.028-1.187-2.482-2.328-2.482c-.637 0-1.213.458-3.28 2.604c-3.25 3.375-3.261 3.374-5.65-.545C66.073 1.78 65.075.382 64.81.24c-.597-.32-1.3-.32-1.85.002m2.96 11.798c2.83 2.014 1.326 6.75-2.144 6.75c-3.368 0-5.064-4.057-2.66-6.36c1.358-1.3 3.304-1.459 4.805-.39m-3.558 12.507c1.855.705 2.616.282 6.852-3.8l3.182-3.07l1.347.18c4.225.56 12.627 4.25 17.455 7.666c4.436 3.14 10.332 9.534 12.845 13.93l.537.942l-2.38 5.364c-1.31 2.95-2.382 5.673-2.382 6.053c0 .878.576 2.267 1.13 2.726c.234.195 2.457 1.265 4.939 2.378l4.51 2.025l.178 1.148c.23 1.495.26 5.167.052 6.21l-.163.816h-2.575c-2.987 0-2.756-.267-2.918 3.396c-.118 2.656-.76 4.124-2.22 5.075c-2.377 1.551-6.304 1.27-7.97-.57c-.255-.284-.752-1.705-1.105-3.16c-1.03-4.254-2.413-6.64-5.193-8.965c-.878-.733-1.595-1.418-1.595-1.522c0-.102.965-.915 2.145-1.803c4.298-3.24 6.77-7.012 7.04-10.747c.519-7.126-5.158-13.767-13.602-15.92c-2.002-.51-2.857-.526-27.624-.526c-14.057 0-25.56-.092-25.56-.204c0-.263 3.125-3.295 4.965-4.816c5.054-4.178 11.618-7.465 18.417-9.22l2.35-.61l3.34 3.387c1.839 1.863 3.64 3.5 4.003 3.637M20.3 46.34c1.539 1.008 2.17 3.54 1.26 5.062c-1.405 2.356-4.966 2.455-6.373.178c-2.046-3.309 1.895-7.349 5.113-5.24m90.672.13c4.026 2.454.906 8.493-3.404 6.586c-2.877-1.273-2.97-5.206-.155-6.64c1.174-.6 2.523-.579 3.56.053M32.163 61.5v15.02h-13.28l-.526-2.285c-1.036-4.5-1.472-9.156-1.211-12.969l.182-2.679l4.565-2.047c2.864-1.283 4.706-2.262 4.943-2.625c1.038-1.584.94-2.715-.518-5.933l-.68-1.502h6.523V61.5M70.39 47.132c2.843.74 4.345 2.245 4.349 4.355c.002 1.55-.765 2.52-2.67 3.38c-1.348.61-1.562.625-10.063.708l-8.686.084v-8.92h7.782c6.078 0 8.112.086 9.288.393m-2.934 21.554c1.41.392 3.076 1.616 3.93 2.888c.898 1.337 1.423 3.076 2.667 8.836c1.05 4.87 1.727 6.46 3.62 8.532c2.345 2.566 1.8 2.466 13.514 2.466c5.61 0 10.198.09 10.198.2c0 .197-3.863 4.764-4.03 4.764c-.048 0-2.066-.422-4.484-.939c-6.829-1.458-7.075-1.287-8.642 6.032l-1.008 4.702l-.91.448c-1.518.75-6.453 2.292-9.01 2.82c-4.228.87-8.828 1.162-12.871.821c-6.893-.585-16.02-3.259-16.377-4.8c-.075-.327-.535-2.443-1.018-4.704c-.485-2.26-1.074-4.404-1.31-4.764c-1.13-1.724-2.318-1.83-7.547-.674c-1.98.44-3.708.796-3.84.796c-.248 0-3.923-4.249-3.923-4.535c0-.09 8.728-.194 19.396-.23l19.395-.066l.07-6.89c.05-4.865-.018-6.997-.23-7.25c-.234-.284-1.485-.358-6.011-.358H53.32v-8.36l6.597.001c3.626.002 7.02.12 7.539.264M37.57 100.02c3.084 1.88 1.605 6.804-2.043 6.8c-3.74 0-5.127-4.88-1.94-6.826c1.055-.643 2.908-.63 3.983.026m56.48.206c1.512 1.108 2.015 3.413 1.079 4.95c-2.46 4.034-8.612.827-6.557-3.419c1.01-2.085 3.695-2.837 5.478-1.53"
|
|
1257
1255
|
}, null, 3, null), 0, "YT_0");
|
|
1258
1256
|
}, "Rust_component_FAp1GAc0j08"));
|
|
1259
|
-
const _hf0$
|
|
1257
|
+
const _hf0$J = (p0) => p0.size ?? 24;
|
|
1260
1258
|
const Javascript = /* @__PURE__ */ core$1.componentQrl(/* @__PURE__ */ core$1.inlinedQrl((_rawProps) => {
|
|
1261
1259
|
const props = core$1._restProps(_rawProps, [
|
|
1262
1260
|
"size"
|
|
1263
1261
|
]);
|
|
1264
1262
|
return /* @__PURE__ */ core$1._jsxSplit("svg", {
|
|
1265
1263
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1266
|
-
width: core$1._fnSignal(_hf0$
|
|
1264
|
+
width: core$1._fnSignal(_hf0$J, [
|
|
1267
1265
|
_rawProps
|
|
1268
1266
|
]),
|
|
1269
|
-
height: core$1._fnSignal(_hf0$
|
|
1267
|
+
height: core$1._fnSignal(_hf0$J, [
|
|
1270
1268
|
_rawProps
|
|
1271
1269
|
]),
|
|
1272
1270
|
viewBox: "0 0 128 128",
|
|
@@ -1282,17 +1280,17 @@ const Javascript = /* @__PURE__ */ core$1.componentQrl(/* @__PURE__ */ core$1.in
|
|
|
1282
1280
|
}, null, 3, null)
|
|
1283
1281
|
], 0, "9U_0");
|
|
1284
1282
|
}, "Javascript_component_PsVeZ5WAECA"));
|
|
1285
|
-
const _hf0$
|
|
1283
|
+
const _hf0$I = (p0) => p0.size ?? 24;
|
|
1286
1284
|
const Typescript = /* @__PURE__ */ core$1.componentQrl(/* @__PURE__ */ core$1.inlinedQrl((_rawProps) => {
|
|
1287
1285
|
const props = core$1._restProps(_rawProps, [
|
|
1288
1286
|
"size"
|
|
1289
1287
|
]);
|
|
1290
1288
|
return /* @__PURE__ */ core$1._jsxSplit("svg", {
|
|
1291
1289
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1292
|
-
width: core$1._fnSignal(_hf0$
|
|
1290
|
+
width: core$1._fnSignal(_hf0$I, [
|
|
1293
1291
|
_rawProps
|
|
1294
1292
|
]),
|
|
1295
|
-
height: core$1._fnSignal(_hf0$
|
|
1293
|
+
height: core$1._fnSignal(_hf0$I, [
|
|
1296
1294
|
_rawProps
|
|
1297
1295
|
]),
|
|
1298
1296
|
viewBox: "0 0 128 128",
|
|
@@ -1312,7 +1310,7 @@ const path = "_path_1ces9_1";
|
|
|
1312
1310
|
const styles$K = {
|
|
1313
1311
|
path
|
|
1314
1312
|
};
|
|
1315
|
-
const _hf0$
|
|
1313
|
+
const _hf0$H = (p0) => p0.size ?? 24;
|
|
1316
1314
|
const Bash = /* @__PURE__ */ core$1.componentQrl(/* @__PURE__ */ core$1.inlinedQrl((_rawProps) => {
|
|
1317
1315
|
const props = core$1._restProps(_rawProps, [
|
|
1318
1316
|
"size"
|
|
@@ -1320,10 +1318,10 @@ const Bash = /* @__PURE__ */ core$1.componentQrl(/* @__PURE__ */ core$1.inlinedQ
|
|
|
1320
1318
|
return /* @__PURE__ */ core$1._jsxSplit("svg", {
|
|
1321
1319
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1322
1320
|
viewBox: "0 0 128 128",
|
|
1323
|
-
width: core$1._fnSignal(_hf0$
|
|
1321
|
+
width: core$1._fnSignal(_hf0$H, [
|
|
1324
1322
|
_rawProps
|
|
1325
1323
|
]),
|
|
1326
|
-
height: core$1._fnSignal(_hf0$
|
|
1324
|
+
height: core$1._fnSignal(_hf0$H, [
|
|
1327
1325
|
_rawProps
|
|
1328
1326
|
]),
|
|
1329
1327
|
...core$1._getVarProps(props)
|
|
@@ -1342,17 +1340,17 @@ const Bash = /* @__PURE__ */ core$1.componentQrl(/* @__PURE__ */ core$1.inlinedQ
|
|
|
1342
1340
|
}, null, 3, null)
|
|
1343
1341
|
], 0, "Zd_0");
|
|
1344
1342
|
}, "Bash_component_ZQtXAfkWqew"));
|
|
1345
|
-
const _hf0$
|
|
1343
|
+
const _hf0$G = (p0) => p0.size ?? 24;
|
|
1346
1344
|
const Terraform = /* @__PURE__ */ core$1.componentQrl(/* @__PURE__ */ core$1.inlinedQrl((_rawProps) => {
|
|
1347
1345
|
const props = core$1._restProps(_rawProps, [
|
|
1348
1346
|
"size"
|
|
1349
1347
|
]);
|
|
1350
1348
|
return /* @__PURE__ */ core$1._jsxSplit("svg", {
|
|
1351
1349
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1352
|
-
width: core$1._fnSignal(_hf0$
|
|
1350
|
+
width: core$1._fnSignal(_hf0$G, [
|
|
1353
1351
|
_rawProps
|
|
1354
1352
|
]),
|
|
1355
|
-
height: core$1._fnSignal(_hf0$
|
|
1353
|
+
height: core$1._fnSignal(_hf0$G, [
|
|
1356
1354
|
_rawProps
|
|
1357
1355
|
]),
|
|
1358
1356
|
viewBox: "0 0 128 128",
|
|
@@ -1374,17 +1372,17 @@ const Terraform = /* @__PURE__ */ core$1.componentQrl(/* @__PURE__ */ core$1.inl
|
|
|
1374
1372
|
}, null, 3, null)
|
|
1375
1373
|
], 3, null), 0, "ph_0");
|
|
1376
1374
|
}, "Terraform_component_Rcw24hjU5y8"));
|
|
1377
|
-
const _hf0$
|
|
1375
|
+
const _hf0$F = (p0) => p0.size ?? 24;
|
|
1378
1376
|
const Html = /* @__PURE__ */ core$1.componentQrl(/* @__PURE__ */ core$1.inlinedQrl((_rawProps) => {
|
|
1379
1377
|
const props = core$1._restProps(_rawProps, [
|
|
1380
1378
|
"size"
|
|
1381
1379
|
]);
|
|
1382
1380
|
return /* @__PURE__ */ core$1._jsxSplit("svg", {
|
|
1383
1381
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1384
|
-
width: core$1._fnSignal(_hf0$
|
|
1382
|
+
width: core$1._fnSignal(_hf0$F, [
|
|
1385
1383
|
_rawProps
|
|
1386
1384
|
]),
|
|
1387
|
-
height: core$1._fnSignal(_hf0$
|
|
1385
|
+
height: core$1._fnSignal(_hf0$F, [
|
|
1388
1386
|
_rawProps
|
|
1389
1387
|
]),
|
|
1390
1388
|
viewBox: "0 0 128 128",
|
|
@@ -1408,7 +1406,7 @@ const Html = /* @__PURE__ */ core$1.componentQrl(/* @__PURE__ */ core$1.inlinedQ
|
|
|
1408
1406
|
}, null, 3, null)
|
|
1409
1407
|
], 0, "69_0");
|
|
1410
1408
|
}, "Html_component_oech6CSvP0E"));
|
|
1411
|
-
const _hf0$
|
|
1409
|
+
const _hf0$E = (p0) => p0.size ?? 24;
|
|
1412
1410
|
const Css = /* @__PURE__ */ core$1.componentQrl(/* @__PURE__ */ core$1.inlinedQrl((_rawProps) => {
|
|
1413
1411
|
const props = core$1._restProps(_rawProps, [
|
|
1414
1412
|
"size"
|
|
@@ -1416,10 +1414,10 @@ const Css = /* @__PURE__ */ core$1.componentQrl(/* @__PURE__ */ core$1.inlinedQr
|
|
|
1416
1414
|
return /* @__PURE__ */ core$1._jsxSplit("svg", {
|
|
1417
1415
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1418
1416
|
viewBox: "0 0 24 24",
|
|
1419
|
-
width: core$1._fnSignal(_hf0$
|
|
1417
|
+
width: core$1._fnSignal(_hf0$E, [
|
|
1420
1418
|
_rawProps
|
|
1421
1419
|
]),
|
|
1422
|
-
height: core$1._fnSignal(_hf0$
|
|
1420
|
+
height: core$1._fnSignal(_hf0$E, [
|
|
1423
1421
|
_rawProps
|
|
1424
1422
|
]),
|
|
1425
1423
|
...core$1._getVarProps(props)
|
|
@@ -1428,17 +1426,17 @@ const Css = /* @__PURE__ */ core$1.componentQrl(/* @__PURE__ */ core$1.inlinedQr
|
|
|
1428
1426
|
d: "m5 3l-.65 3.34h13.59L17.5 8.5H3.92l-.66 3.33h13.59l-.76 3.81l-5.48 1.81l-4.75-1.81l.33-1.64H2.85l-.79 4l7.85 3l9.05-3l1.2-6.03l.24-1.21L21.94 3z"
|
|
1429
1427
|
}, null, 3, null), 0, "0U_0");
|
|
1430
1428
|
}, "Css_component_Cd0p31J5fL4"));
|
|
1431
|
-
const _hf0$
|
|
1429
|
+
const _hf0$D = (p0) => p0.size ?? 24;
|
|
1432
1430
|
const Npm = /* @__PURE__ */ core$1.componentQrl(/* @__PURE__ */ core$1.inlinedQrl((_rawProps) => {
|
|
1433
1431
|
const props = core$1._restProps(_rawProps, [
|
|
1434
1432
|
"size"
|
|
1435
1433
|
]);
|
|
1436
1434
|
return /* @__PURE__ */ core$1._jsxSplit("svg", {
|
|
1437
1435
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1438
|
-
width: core$1._fnSignal(_hf0$
|
|
1436
|
+
width: core$1._fnSignal(_hf0$D, [
|
|
1439
1437
|
_rawProps
|
|
1440
1438
|
]),
|
|
1441
|
-
height: core$1._fnSignal(_hf0$
|
|
1439
|
+
height: core$1._fnSignal(_hf0$D, [
|
|
1442
1440
|
_rawProps
|
|
1443
1441
|
]),
|
|
1444
1442
|
viewBox: "0 0 128 128",
|
|
@@ -1454,17 +1452,17 @@ const Npm = /* @__PURE__ */ core$1.componentQrl(/* @__PURE__ */ core$1.inlinedQr
|
|
|
1454
1452
|
}, null, 3, null)
|
|
1455
1453
|
], 0, "IW_0");
|
|
1456
1454
|
}, "Npm_component_y4SGkU0mN4s"));
|
|
1457
|
-
const _hf0$
|
|
1455
|
+
const _hf0$C = (p0) => p0.size ?? 24;
|
|
1458
1456
|
const Java = /* @__PURE__ */ core$1.componentQrl(/* @__PURE__ */ core$1.inlinedQrl((_rawProps) => {
|
|
1459
1457
|
const props = core$1._restProps(_rawProps, [
|
|
1460
1458
|
"size"
|
|
1461
1459
|
]);
|
|
1462
1460
|
return /* @__PURE__ */ core$1._jsxSplit("svg", {
|
|
1463
1461
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1464
|
-
width: core$1._fnSignal(_hf0$
|
|
1462
|
+
width: core$1._fnSignal(_hf0$C, [
|
|
1465
1463
|
_rawProps
|
|
1466
1464
|
]),
|
|
1467
|
-
height: core$1._fnSignal(_hf0$
|
|
1465
|
+
height: core$1._fnSignal(_hf0$C, [
|
|
1468
1466
|
_rawProps
|
|
1469
1467
|
]),
|
|
1470
1468
|
viewBox: "0 0 128 128",
|
|
@@ -1492,17 +1490,17 @@ const Java = /* @__PURE__ */ core$1.componentQrl(/* @__PURE__ */ core$1.inlinedQ
|
|
|
1492
1490
|
}, null, 3, null)
|
|
1493
1491
|
], 0, "ZF_0");
|
|
1494
1492
|
}, "Java_component_vsaqvkillVU"));
|
|
1495
|
-
const _hf0$
|
|
1493
|
+
const _hf0$B = (p0) => p0.size ?? 24;
|
|
1496
1494
|
const Kotlin = /* @__PURE__ */ core$1.componentQrl(/* @__PURE__ */ core$1.inlinedQrl((_rawProps) => {
|
|
1497
1495
|
const props = core$1._restProps(_rawProps, [
|
|
1498
1496
|
"size"
|
|
1499
1497
|
]);
|
|
1500
1498
|
return /* @__PURE__ */ core$1._jsxSplit("svg", {
|
|
1501
1499
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1502
|
-
width: core$1._fnSignal(_hf0$
|
|
1500
|
+
width: core$1._fnSignal(_hf0$B, [
|
|
1503
1501
|
_rawProps
|
|
1504
1502
|
]),
|
|
1505
|
-
height: core$1._fnSignal(_hf0$
|
|
1503
|
+
height: core$1._fnSignal(_hf0$B, [
|
|
1506
1504
|
_rawProps
|
|
1507
1505
|
]),
|
|
1508
1506
|
viewBox: "0 0 128 128",
|
|
@@ -1536,17 +1534,17 @@ const Kotlin = /* @__PURE__ */ core$1.componentQrl(/* @__PURE__ */ core$1.inline
|
|
|
1536
1534
|
}, null, 3, null)
|
|
1537
1535
|
], 0, "Tq_0");
|
|
1538
1536
|
}, "Kotlin_component_1pW6m4cmRZQ"));
|
|
1539
|
-
const _hf0$
|
|
1537
|
+
const _hf0$A = (p0) => p0.size ?? 24;
|
|
1540
1538
|
const Go = /* @__PURE__ */ core$1.componentQrl(/* @__PURE__ */ core$1.inlinedQrl((_rawProps) => {
|
|
1541
1539
|
const props = core$1._restProps(_rawProps, [
|
|
1542
1540
|
"size"
|
|
1543
1541
|
]);
|
|
1544
1542
|
return /* @__PURE__ */ core$1._jsxSplit("svg", {
|
|
1545
1543
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1546
|
-
width: core$1._fnSignal(_hf0$
|
|
1544
|
+
width: core$1._fnSignal(_hf0$A, [
|
|
1547
1545
|
_rawProps
|
|
1548
1546
|
]),
|
|
1549
|
-
height: core$1._fnSignal(_hf0$
|
|
1547
|
+
height: core$1._fnSignal(_hf0$A, [
|
|
1550
1548
|
_rawProps
|
|
1551
1549
|
]),
|
|
1552
1550
|
viewBox: "0 0 128 128",
|
|
@@ -1564,17 +1562,17 @@ const Go = /* @__PURE__ */ core$1.componentQrl(/* @__PURE__ */ core$1.inlinedQrl
|
|
|
1564
1562
|
}, null, 3, null)
|
|
1565
1563
|
], 3, null), 0, "go_0");
|
|
1566
1564
|
}, "Go_component_0UX0vi2zT7c"));
|
|
1567
|
-
const _hf0$
|
|
1565
|
+
const _hf0$z = (p0) => p0.size ?? 24;
|
|
1568
1566
|
const Python = /* @__PURE__ */ core$1.componentQrl(/* @__PURE__ */ core$1.inlinedQrl((_rawProps) => {
|
|
1569
1567
|
const props = core$1._restProps(_rawProps, [
|
|
1570
1568
|
"size"
|
|
1571
1569
|
]);
|
|
1572
1570
|
return /* @__PURE__ */ core$1._jsxSplit("svg", {
|
|
1573
1571
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1574
|
-
width: core$1._fnSignal(_hf0$
|
|
1572
|
+
width: core$1._fnSignal(_hf0$z, [
|
|
1575
1573
|
_rawProps
|
|
1576
1574
|
]),
|
|
1577
|
-
height: core$1._fnSignal(_hf0$
|
|
1575
|
+
height: core$1._fnSignal(_hf0$z, [
|
|
1578
1576
|
_rawProps
|
|
1579
1577
|
]),
|
|
1580
1578
|
viewBox: "0 0 128 128",
|
|
@@ -1652,17 +1650,17 @@ const Python = /* @__PURE__ */ core$1.componentQrl(/* @__PURE__ */ core$1.inline
|
|
|
1652
1650
|
}, null, 3, null)
|
|
1653
1651
|
], 0, "m7_0");
|
|
1654
1652
|
}, "Python_component_QseUf5f00nc"));
|
|
1655
|
-
const _hf0$
|
|
1653
|
+
const _hf0$y = (p0) => p0.size ?? 24;
|
|
1656
1654
|
const Sql = /* @__PURE__ */ core$1.componentQrl(/* @__PURE__ */ core$1.inlinedQrl((_rawProps) => {
|
|
1657
1655
|
const props = core$1._restProps(_rawProps, [
|
|
1658
1656
|
"size"
|
|
1659
1657
|
]);
|
|
1660
1658
|
return /* @__PURE__ */ core$1._jsxSplit("svg", {
|
|
1661
1659
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1662
|
-
width: core$1._fnSignal(_hf0$
|
|
1660
|
+
width: core$1._fnSignal(_hf0$y, [
|
|
1663
1661
|
_rawProps
|
|
1664
1662
|
]),
|
|
1665
|
-
height: core$1._fnSignal(_hf0$
|
|
1663
|
+
height: core$1._fnSignal(_hf0$y, [
|
|
1666
1664
|
_rawProps
|
|
1667
1665
|
]),
|
|
1668
1666
|
viewBox: "0 0 128 128",
|
|
@@ -1672,17 +1670,17 @@ const Sql = /* @__PURE__ */ core$1.componentQrl(/* @__PURE__ */ core$1.inlinedQr
|
|
|
1672
1670
|
d: "M117.688 98.242c-6.973-.191-12.297.461-16.852 2.379c-1.293.547-3.355.559-3.566 2.18c.711.746.82 1.859 1.387 2.777c1.086 1.754 2.922 4.113 4.559 5.352c1.789 1.348 3.633 2.793 5.551 3.961c3.414 2.082 7.223 3.27 10.504 5.352c1.938 1.23 3.859 2.777 5.75 4.164c.934.684 1.563 1.75 2.773 2.18v-.195c-.637-.812-.801-1.93-1.387-2.777l-2.578-2.578c-2.52-3.344-5.719-6.281-9.117-8.719c-2.711-1.949-8.781-4.578-9.91-7.73l-.199-.199c1.922-.219 4.172-.914 5.949-1.391c2.98-.797 5.645-.59 8.719-1.387l4.164-1.187v-.793c-1.555-1.594-2.664-3.707-4.359-5.152c-4.441-3.781-9.285-7.555-14.273-10.703c-2.766-1.746-6.184-2.883-9.117-4.363c-.988-.496-2.719-.758-3.371-1.586c-1.539-1.961-2.379-4.449-3.566-6.738c-2.488-4.793-4.93-10.023-7.137-15.066c-1.504-3.437-2.484-6.828-4.359-9.91c-9-14.797-18.687-23.73-33.695-32.508c-3.195-1.867-7.039-2.605-11.102-3.57l-6.543-.395c-1.332-.555-2.715-2.184-3.965-2.977C16.977 3.52 4.223-3.312.539 5.672C-1.785 11.34 4.016 16.871 6.09 19.746c1.457 2.012 3.32 4.273 4.359 6.539c.688 1.492.805 2.984 1.391 4.559c1.438 3.883 2.695 8.109 4.559 11.695c.941 1.816 1.98 3.727 3.172 5.352c.727.996 1.98 1.438 2.18 2.973c-1.227 1.715-1.297 4.375-1.984 6.543c-3.098 9.77-1.926 21.91 2.578 29.137c1.383 2.223 4.641 6.98 9.117 5.156c3.918-1.598 3.043-6.539 4.164-10.902c.254-.988.098-1.715.594-2.379v.199l3.57 7.133c2.641 4.254 7.324 8.699 11.297 11.699c2.059 1.555 3.68 4.242 6.344 5.152v-.199h-.199c-.516-.805-1.324-1.137-1.98-1.781c-1.551-1.523-3.277-3.414-4.559-5.156c-3.613-4.902-6.805-10.27-9.711-15.855c-1.391-2.668-2.598-5.609-3.77-8.324c-.453-1.047-.445-2.633-1.387-3.172c-1.281 1.988-3.172 3.598-4.164 5.945c-1.582 3.754-1.789 8.336-2.375 13.082c-.348.125-.195.039-.398.199c-2.762-.668-3.73-3.508-4.758-5.949c-2.594-6.164-3.078-16.09-.793-23.191c.59-1.836 3.262-7.617 2.18-9.316c-.516-1.691-2.219-2.672-3.172-3.965c-1.18-1.598-2.355-3.703-3.172-5.551c-2.125-4.805-3.113-10.203-5.352-15.062c-1.07-2.324-2.875-4.676-4.359-6.738c-1.645-2.289-3.484-3.977-4.758-6.742c-.453-.984-1.066-2.559-.398-3.566c.215-.684.516-.969 1.191-1.191c1.148-.887 4.352.297 5.547.793c3.18 1.32 5.832 2.578 8.527 4.363c1.289.855 2.598 2.512 4.16 2.973h1.785c2.789.641 5.914.195 8.523.988c4.609 1.402 8.738 3.582 12.488 5.949c11.422 7.215 20.766 17.48 27.156 29.734c1.027 1.973 1.473 3.852 2.379 5.945c1.824 4.219 4.125 8.559 5.941 12.688c1.816 4.113 3.582 8.27 6.148 11.695c1.348 1.801 6.551 2.766 8.918 3.766c1.66.699 4.379 1.43 5.949 2.379c3 1.809 5.906 3.965 8.723 5.945c1.402.992 5.73 3.168 5.945 4.957zm-88.605-75.52c-1.453-.027-2.48.156-3.566.395v.199h.195c.695 1.422 1.918 2.34 2.777 3.566l1.98 4.164l.199-.195c1.227-.867 1.789-2.25 1.781-4.363c-.492-.52-.562-1.164-.992-1.785c-.562-.824-1.66-1.289-2.375-1.98zm0 0"
|
|
1673
1671
|
}, null, 3, null), 0, "j8_0");
|
|
1674
1672
|
}, "Sql_component_4n1zvVUQlz4"));
|
|
1675
|
-
const _hf0$
|
|
1673
|
+
const _hf0$x = (p0) => p0.size ?? 24;
|
|
1676
1674
|
const Json = /* @__PURE__ */ core$1.componentQrl(/* @__PURE__ */ core$1.inlinedQrl((_rawProps) => {
|
|
1677
1675
|
const props = core$1._restProps(_rawProps, [
|
|
1678
1676
|
"size"
|
|
1679
1677
|
]);
|
|
1680
1678
|
return /* @__PURE__ */ core$1._jsxSplit("svg", {
|
|
1681
1679
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1682
|
-
width: core$1._fnSignal(_hf0$
|
|
1680
|
+
width: core$1._fnSignal(_hf0$x, [
|
|
1683
1681
|
_rawProps
|
|
1684
1682
|
]),
|
|
1685
|
-
height: core$1._fnSignal(_hf0$
|
|
1683
|
+
height: core$1._fnSignal(_hf0$x, [
|
|
1686
1684
|
_rawProps
|
|
1687
1685
|
]),
|
|
1688
1686
|
viewBox: "0 0 128 128",
|
|
@@ -1736,17 +1734,17 @@ const Json = /* @__PURE__ */ core$1.componentQrl(/* @__PURE__ */ core$1.inlinedQ
|
|
|
1736
1734
|
}, null, 3, null)
|
|
1737
1735
|
], 0, "AB_0");
|
|
1738
1736
|
}, "Json_component_fcFOewcgaQQ"));
|
|
1739
|
-
const _hf0$
|
|
1737
|
+
const _hf0$w = (p0) => p0.size ?? 24;
|
|
1740
1738
|
const Lua = /* @__PURE__ */ core$1.componentQrl(/* @__PURE__ */ core$1.inlinedQrl((_rawProps) => {
|
|
1741
1739
|
const props = core$1._restProps(_rawProps, [
|
|
1742
1740
|
"size"
|
|
1743
1741
|
]);
|
|
1744
1742
|
return /* @__PURE__ */ core$1._jsxSplit("svg", {
|
|
1745
1743
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1746
|
-
width: core$1._fnSignal(_hf0$
|
|
1744
|
+
width: core$1._fnSignal(_hf0$w, [
|
|
1747
1745
|
_rawProps
|
|
1748
1746
|
]),
|
|
1749
|
-
height: core$1._fnSignal(_hf0$
|
|
1747
|
+
height: core$1._fnSignal(_hf0$w, [
|
|
1750
1748
|
_rawProps
|
|
1751
1749
|
]),
|
|
1752
1750
|
viewBox: "0 0 128 128",
|
|
@@ -1766,7 +1764,7 @@ const Lua = /* @__PURE__ */ core$1.componentQrl(/* @__PURE__ */ core$1.inlinedQr
|
|
|
1766
1764
|
}, null, 3, null)
|
|
1767
1765
|
], 0, "et_0");
|
|
1768
1766
|
}, "Lua_component_Nu4TK4es0Xo"));
|
|
1769
|
-
const _hf0$
|
|
1767
|
+
const _hf0$v = (p0) => p0.size ?? 24;
|
|
1770
1768
|
const Csharp = /* @__PURE__ */ core$1.componentQrl(/* @__PURE__ */ core$1.inlinedQrl((_rawProps) => {
|
|
1771
1769
|
const props = core$1._restProps(_rawProps, [
|
|
1772
1770
|
"size"
|
|
@@ -1774,10 +1772,10 @@ const Csharp = /* @__PURE__ */ core$1.componentQrl(/* @__PURE__ */ core$1.inline
|
|
|
1774
1772
|
return /* @__PURE__ */ core$1._jsxSplit("svg", {
|
|
1775
1773
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1776
1774
|
viewBox: "0 0 128 128",
|
|
1777
|
-
width: core$1._fnSignal(_hf0$
|
|
1775
|
+
width: core$1._fnSignal(_hf0$v, [
|
|
1778
1776
|
_rawProps
|
|
1779
1777
|
]),
|
|
1780
|
-
height: core$1._fnSignal(_hf0$
|
|
1778
|
+
height: core$1._fnSignal(_hf0$v, [
|
|
1781
1779
|
_rawProps
|
|
1782
1780
|
]),
|
|
1783
1781
|
...core$1._getVarProps(props)
|
|
@@ -1796,7 +1794,7 @@ const Csharp = /* @__PURE__ */ core$1.componentQrl(/* @__PURE__ */ core$1.inline
|
|
|
1796
1794
|
}, null, 3, null)
|
|
1797
1795
|
], 0, "0a_0");
|
|
1798
1796
|
}, "Csharp_component_yFicJlZ0ehE"));
|
|
1799
|
-
const _hf0$
|
|
1797
|
+
const _hf0$u = (p0) => p0.size ?? 24;
|
|
1800
1798
|
const Cplusplus = /* @__PURE__ */ core$1.componentQrl(/* @__PURE__ */ core$1.inlinedQrl((_rawProps) => {
|
|
1801
1799
|
const props = core$1._restProps(_rawProps, [
|
|
1802
1800
|
"size"
|
|
@@ -1804,10 +1802,10 @@ const Cplusplus = /* @__PURE__ */ core$1.componentQrl(/* @__PURE__ */ core$1.inl
|
|
|
1804
1802
|
return /* @__PURE__ */ core$1._jsxSplit("svg", {
|
|
1805
1803
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1806
1804
|
viewBox: "0 0 128 128",
|
|
1807
|
-
width: core$1._fnSignal(_hf0$
|
|
1805
|
+
width: core$1._fnSignal(_hf0$u, [
|
|
1808
1806
|
_rawProps
|
|
1809
1807
|
]),
|
|
1810
|
-
height: core$1._fnSignal(_hf0$
|
|
1808
|
+
height: core$1._fnSignal(_hf0$u, [
|
|
1811
1809
|
_rawProps
|
|
1812
1810
|
]),
|
|
1813
1811
|
...core$1._getVarProps(props)
|
|
@@ -1830,7 +1828,7 @@ const Cplusplus = /* @__PURE__ */ core$1.componentQrl(/* @__PURE__ */ core$1.inl
|
|
|
1830
1828
|
}, null, 3, null)
|
|
1831
1829
|
], 0, "n0_0");
|
|
1832
1830
|
}, "Cplusplus_component_We60oaxTljI"));
|
|
1833
|
-
const _hf0$
|
|
1831
|
+
const _hf0$t = (p0) => p0.size ?? 24;
|
|
1834
1832
|
const C = /* @__PURE__ */ core$1.componentQrl(/* @__PURE__ */ core$1.inlinedQrl((_rawProps) => {
|
|
1835
1833
|
const props = core$1._restProps(_rawProps, [
|
|
1836
1834
|
"size"
|
|
@@ -1838,10 +1836,10 @@ const C = /* @__PURE__ */ core$1.componentQrl(/* @__PURE__ */ core$1.inlinedQrl(
|
|
|
1838
1836
|
return /* @__PURE__ */ core$1._jsxSplit("svg", {
|
|
1839
1837
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1840
1838
|
viewBox: "0 0 128 128",
|
|
1841
|
-
width: core$1._fnSignal(_hf0$
|
|
1839
|
+
width: core$1._fnSignal(_hf0$t, [
|
|
1842
1840
|
_rawProps
|
|
1843
1841
|
]),
|
|
1844
|
-
height: core$1._fnSignal(_hf0$
|
|
1842
|
+
height: core$1._fnSignal(_hf0$t, [
|
|
1845
1843
|
_rawProps
|
|
1846
1844
|
]),
|
|
1847
1845
|
...core$1._getVarProps(props)
|
|
@@ -1860,16 +1858,17 @@ const C = /* @__PURE__ */ core$1.componentQrl(/* @__PURE__ */ core$1.inlinedQrl(
|
|
|
1860
1858
|
}, null, 3, null)
|
|
1861
1859
|
], 0, "gG_0");
|
|
1862
1860
|
}, "C_component_8furXfuHI4I"));
|
|
1863
|
-
const icon$
|
|
1861
|
+
const icon$4 = "_icon_6xpxf_1";
|
|
1864
1862
|
const styles$J = {
|
|
1865
|
-
icon: icon$
|
|
1863
|
+
icon: icon$4
|
|
1866
1864
|
};
|
|
1867
|
-
const _hf0$
|
|
1868
|
-
"--elmethis-scoped-color": p0.lightColor ?? p0.color,
|
|
1869
|
-
"--dark-color": p0.darkColor ?? p0.color,
|
|
1865
|
+
const _hf0$s = (p0) => ({
|
|
1866
|
+
"--elmethis-scoped-color": p0.lightColor ?? p0.color ?? "currentColor",
|
|
1867
|
+
"--dark-color": p0.darkColor ?? p0.color ?? "currentColor",
|
|
1870
1868
|
...p0.style
|
|
1871
1869
|
});
|
|
1872
1870
|
const _hf1$f = (p0) => p0.size ?? "1em";
|
|
1871
|
+
const _hf2$a = (p0) => p0.color ?? "currentColor";
|
|
1873
1872
|
const ElmMdiIcon = /* @__PURE__ */ core$1.componentQrl(/* @__PURE__ */ core$1.inlinedQrl((_rawProps) => {
|
|
1874
1873
|
const props = core$1._restProps(_rawProps, [
|
|
1875
1874
|
"class",
|
|
@@ -1885,7 +1884,7 @@ const ElmMdiIcon = /* @__PURE__ */ core$1.componentQrl(/* @__PURE__ */ core$1.in
|
|
|
1885
1884
|
styles$J.icon,
|
|
1886
1885
|
_rawProps.class
|
|
1887
1886
|
],
|
|
1888
|
-
style: core$1._fnSignal(_hf0$
|
|
1887
|
+
style: core$1._fnSignal(_hf0$s, [
|
|
1889
1888
|
_rawProps
|
|
1890
1889
|
]),
|
|
1891
1890
|
width: core$1._fnSignal(_hf1$f, [
|
|
@@ -1895,7 +1894,9 @@ const ElmMdiIcon = /* @__PURE__ */ core$1.componentQrl(/* @__PURE__ */ core$1.in
|
|
|
1895
1894
|
_rawProps
|
|
1896
1895
|
]),
|
|
1897
1896
|
viewBox: "0 0 24 24",
|
|
1898
|
-
fill: core$1.
|
|
1897
|
+
fill: core$1._fnSignal(_hf2$a, [
|
|
1898
|
+
_rawProps
|
|
1899
|
+
]),
|
|
1899
1900
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1900
1901
|
focusable: "false",
|
|
1901
1902
|
role: "img",
|
|
@@ -1904,7 +1905,7 @@ const ElmMdiIcon = /* @__PURE__ */ core$1.componentQrl(/* @__PURE__ */ core$1.in
|
|
|
1904
1905
|
d: core$1._wrapProp(_rawProps, "d")
|
|
1905
1906
|
}, null, null, 3, null), 0, "IA_0");
|
|
1906
1907
|
}, "ElmMdiIcon_component_AUxPCIu3tI0"));
|
|
1907
|
-
const _hf0$
|
|
1908
|
+
const _hf0$r = (p0) => p0.size ?? 24;
|
|
1908
1909
|
const normalizeLanguage = (language) => {
|
|
1909
1910
|
switch (language) {
|
|
1910
1911
|
case "rust":
|
|
@@ -1990,14 +1991,14 @@ const renderMap = {
|
|
|
1990
1991
|
};
|
|
1991
1992
|
const ElmLanguageIcon = /* @__PURE__ */ core$1.componentQrl(/* @__PURE__ */ core$1.inlinedQrl((_rawProps) => {
|
|
1992
1993
|
return /* @__PURE__ */ core$1._jsxSorted(renderMap[normalizeLanguage(_rawProps.language)], null, {
|
|
1993
|
-
size: core$1._fnSignal(_hf0$
|
|
1994
|
+
size: core$1._fnSignal(_hf0$r, [
|
|
1994
1995
|
_rawProps
|
|
1995
1996
|
]),
|
|
1996
1997
|
class: core$1._wrapProp(_rawProps, "class"),
|
|
1997
1998
|
style: core$1._wrapProp(_rawProps, "style")
|
|
1998
1999
|
}, null, 3, "bu_1");
|
|
1999
2000
|
}, "ElmLanguageIcon_component_nXOhYnvIKLk"));
|
|
2000
|
-
const code = "
|
|
2001
|
+
const code = "_code_1hxr7_1";
|
|
2001
2002
|
const styles$I = {
|
|
2002
2003
|
code
|
|
2003
2004
|
};
|
|
@@ -2041,9 +2042,73 @@ const ElmShikiHighlighter = /* @__PURE__ */ core$1.componentQrl(/* @__PURE__ */
|
|
|
2041
2042
|
...core$1._getVarProps(props)
|
|
2042
2043
|
}, core$1._getConstProps(props), null, 0, "ZN_0");
|
|
2043
2044
|
}, "ElmShikiHighlighter_component_vKuHJZdaUdo"));
|
|
2044
|
-
const
|
|
2045
|
+
const styles$H = {
|
|
2046
|
+
"use-clipboard": "_use-clipboard_spnps_1",
|
|
2047
|
+
"use-clipboard-icon-copied": "_use-clipboard-icon-copied_spnps_16"
|
|
2048
|
+
};
|
|
2049
|
+
const useClipboard = (options) => {
|
|
2050
|
+
const copied = core$1.useSignal(false);
|
|
2051
|
+
const resetTimerId = core$1.useSignal(void 0);
|
|
2052
|
+
core$1.useTaskQrl(/* @__PURE__ */ core$1.inlinedQrl(({ cleanup }) => {
|
|
2053
|
+
const resetTimerId2 = core$1._captures[0];
|
|
2054
|
+
cleanup(() => {
|
|
2055
|
+
if (resetTimerId2.value !== void 0) clearTimeout(resetTimerId2.value);
|
|
2056
|
+
});
|
|
2057
|
+
}, "useClipboard_useTask_0QBF5GEj0aQ", [
|
|
2058
|
+
resetTimerId
|
|
2059
|
+
]));
|
|
2060
|
+
const copy = /* @__PURE__ */ core$1.inlinedQrl(async () => {
|
|
2061
|
+
const copied2 = core$1._captures[0], options2 = core$1._captures[1], resetTimerId2 = core$1._captures[2];
|
|
2062
|
+
if (typeof options2.content === "string") {
|
|
2063
|
+
await window.navigator.clipboard.writeText(options2.content);
|
|
2064
|
+
} else {
|
|
2065
|
+
await window.navigator.clipboard.write(options2.content.map((item) => new ClipboardItem(item)));
|
|
2066
|
+
}
|
|
2067
|
+
if (resetTimerId2.value !== void 0) {
|
|
2068
|
+
clearTimeout(resetTimerId2.value);
|
|
2069
|
+
}
|
|
2070
|
+
copied2.value = true;
|
|
2071
|
+
resetTimerId2.value = core$1.noSerialize(setTimeout(() => {
|
|
2072
|
+
copied2.value = false;
|
|
2073
|
+
resetTimerId2.value = void 0;
|
|
2074
|
+
}, options2.delay ?? 1500));
|
|
2075
|
+
}, "useClipboard_copy_lwkIxmzZUeM", [
|
|
2076
|
+
copied,
|
|
2077
|
+
options,
|
|
2078
|
+
resetTimerId
|
|
2079
|
+
]);
|
|
2080
|
+
const CopyButton = /* @__PURE__ */ core$1.componentQrl(/* @__PURE__ */ core$1.inlinedQrl(() => {
|
|
2081
|
+
const copied2 = core$1._captures[0], copy2 = core$1._captures[1], options2 = core$1._captures[2];
|
|
2082
|
+
return /* @__PURE__ */ core$1._jsxSorted("span", {
|
|
2083
|
+
class: [
|
|
2084
|
+
styles$H["use-clipboard"],
|
|
2085
|
+
options2.class
|
|
2086
|
+
],
|
|
2087
|
+
style: core$1._wrapProp(options2, "style")
|
|
2088
|
+
}, {
|
|
2089
|
+
"q-e:click": copy2
|
|
2090
|
+
}, /* @__PURE__ */ core$1._jsxSorted(ElmMdiIcon, {
|
|
2091
|
+
class: [
|
|
2092
|
+
{
|
|
2093
|
+
[styles$H["use-clipboard-icon-copied"]]: copied2.value
|
|
2094
|
+
}
|
|
2095
|
+
],
|
|
2096
|
+
d: copied2.value ? js.mdiClipboardCheckOutline : js.mdiClipboardOutline
|
|
2097
|
+
}, {
|
|
2098
|
+
size: "1.25rem"
|
|
2099
|
+
}, null, 3, "eS_0"), 1, "eS_1");
|
|
2100
|
+
}, "useClipboard_CopyButton_component_coZZtY9bwxs", [
|
|
2101
|
+
copied,
|
|
2102
|
+
copy,
|
|
2103
|
+
options
|
|
2104
|
+
]));
|
|
2105
|
+
return {
|
|
2106
|
+
CopyButton,
|
|
2107
|
+
copy
|
|
2108
|
+
};
|
|
2109
|
+
};
|
|
2110
|
+
const _hf0$q = (p0) => p0.language ?? "txt";
|
|
2045
2111
|
const _hf1$e = (p0) => p0.caption || (p0.language ?? "txt");
|
|
2046
|
-
const _hf2$a = (p0) => p0.value !== null ? "#59b57c" : void 0;
|
|
2047
2112
|
const ElmCodeBlock = /* @__PURE__ */ core$1.componentQrl(/* @__PURE__ */ core$1.inlinedQrl((_rawProps) => {
|
|
2048
2113
|
const props = core$1._restProps(_rawProps, [
|
|
2049
2114
|
"class",
|
|
@@ -2051,23 +2116,9 @@ const ElmCodeBlock = /* @__PURE__ */ core$1.componentQrl(/* @__PURE__ */ core$1.
|
|
|
2051
2116
|
"language",
|
|
2052
2117
|
"caption"
|
|
2053
2118
|
]);
|
|
2054
|
-
const
|
|
2055
|
-
|
|
2056
|
-
|
|
2057
|
-
if (timerId2.value !== null) {
|
|
2058
|
-
window.clearTimeout(timerId2.value);
|
|
2059
|
-
timerId2.value = null;
|
|
2060
|
-
}
|
|
2061
|
-
try {
|
|
2062
|
-
await navigator.clipboard.writeText(_rawProps2.code);
|
|
2063
|
-
timerId2.value = window.setTimeout(() => timerId2.value = null, 1500);
|
|
2064
|
-
} catch (err) {
|
|
2065
|
-
console.error("Failed to copy: ", err);
|
|
2066
|
-
}
|
|
2067
|
-
}, "ElmCodeBlock_component_copyToClipboard_jgUvzMp0xS4", [
|
|
2068
|
-
_rawProps,
|
|
2069
|
-
timerId
|
|
2070
|
-
]);
|
|
2119
|
+
const clipboard = useClipboard({
|
|
2120
|
+
content: _rawProps.code
|
|
2121
|
+
});
|
|
2071
2122
|
return /* @__PURE__ */ core$1._jsxSplit("figure", {
|
|
2072
2123
|
class: [
|
|
2073
2124
|
styles$L["code-block"],
|
|
@@ -2078,7 +2129,7 @@ const ElmCodeBlock = /* @__PURE__ */ core$1.componentQrl(/* @__PURE__ */ core$1.
|
|
|
2078
2129
|
/* @__PURE__ */ core$1._jsxSorted("span", null, {
|
|
2079
2130
|
class: styles$L["language-icon"]
|
|
2080
2131
|
}, /* @__PURE__ */ core$1._jsxSorted(ElmLanguageIcon, null, {
|
|
2081
|
-
language: core$1._fnSignal(_hf0$
|
|
2132
|
+
language: core$1._fnSignal(_hf0$q, [
|
|
2082
2133
|
_rawProps
|
|
2083
2134
|
])
|
|
2084
2135
|
}, null, 3, "sK_0"), 1, null),
|
|
@@ -2091,16 +2142,8 @@ const ElmCodeBlock = /* @__PURE__ */ core$1.componentQrl(/* @__PURE__ */ core$1.
|
|
|
2091
2142
|
/* @__PURE__ */ core$1._jsxSorted(core$1.Slot, null, null, null, 3, "sK_1")
|
|
2092
2143
|
], 1, "sK_2"), 1, null),
|
|
2093
2144
|
/* @__PURE__ */ core$1._jsxSorted("div", null, {
|
|
2094
|
-
class: styles$L["copy-icon"]
|
|
2095
|
-
|
|
2096
|
-
}, /* @__PURE__ */ core$1._jsxSorted(ElmMdiIcon, {
|
|
2097
|
-
d: timerId.value !== null ? js.mdiClipboardCheckMultipleOutline : js.mdiClipboardMultipleOutline
|
|
2098
|
-
}, {
|
|
2099
|
-
size: "1.25rem",
|
|
2100
|
-
color: core$1._fnSignal(_hf2$a, [
|
|
2101
|
-
timerId
|
|
2102
|
-
])
|
|
2103
|
-
}, null, 3, "sK_3"), 1, null),
|
|
2145
|
+
class: styles$L["copy-icon"]
|
|
2146
|
+
}, /* @__PURE__ */ core$1._jsxSorted(clipboard.CopyButton, null, null, null, 3, "sK_3"), 1, null),
|
|
2104
2147
|
/* @__PURE__ */ core$1._jsxSorted("hr", null, {
|
|
2105
2148
|
class: styles$L.divider
|
|
2106
2149
|
}, null, 3, null),
|
|
@@ -2108,24 +2151,25 @@ const ElmCodeBlock = /* @__PURE__ */ core$1.componentQrl(/* @__PURE__ */ core$1.
|
|
|
2108
2151
|
class: styles$L.code
|
|
2109
2152
|
}, /* @__PURE__ */ core$1._jsxSorted(ElmShikiHighlighter, null, {
|
|
2110
2153
|
code: core$1._wrapProp(_rawProps, "code"),
|
|
2111
|
-
language: core$1._fnSignal(_hf0$
|
|
2154
|
+
language: core$1._fnSignal(_hf0$q, [
|
|
2112
2155
|
_rawProps
|
|
2113
2156
|
])
|
|
2114
2157
|
}, null, 3, "sK_4"), 1, null)
|
|
2115
2158
|
], 0, "sK_5");
|
|
2116
2159
|
}, "ElmCodeBlock_component_rH8kn9Tvguw"));
|
|
2117
|
-
const image$2 = "
|
|
2118
|
-
const fallback$1 = "
|
|
2119
|
-
const styles$
|
|
2120
|
-
"block-image": "_block-
|
|
2121
|
-
"image-container": "_image-
|
|
2160
|
+
const image$2 = "_image_1mddb_12";
|
|
2161
|
+
const fallback$1 = "_fallback_1mddb_36";
|
|
2162
|
+
const styles$G = {
|
|
2163
|
+
"block-image": "_block-image_1mddb_1",
|
|
2164
|
+
"image-container": "_image-container_1mddb_12",
|
|
2122
2165
|
image: image$2,
|
|
2123
2166
|
fallback: fallback$1,
|
|
2124
|
-
"caption-box": "_caption-
|
|
2125
|
-
"
|
|
2167
|
+
"caption-box": "_caption-box_1mddb_46",
|
|
2168
|
+
"caption-icon": "_caption-icon_1mddb_57",
|
|
2169
|
+
"modal-container": "_modal-container_1mddb_63"
|
|
2126
2170
|
};
|
|
2127
|
-
const styles$
|
|
2128
|
-
"rectangle-wave": "_rectangle-
|
|
2171
|
+
const styles$F = {
|
|
2172
|
+
"rectangle-wave": "_rectangle-wave_kcleh_21"
|
|
2129
2173
|
};
|
|
2130
2174
|
const ElmRectangleWave = /* @__PURE__ */ core$1.componentQrl(/* @__PURE__ */ core$1.inlinedQrl((_rawProps) => {
|
|
2131
2175
|
const props = core$1._restProps(_rawProps, [
|
|
@@ -2134,16 +2178,16 @@ const ElmRectangleWave = /* @__PURE__ */ core$1.componentQrl(/* @__PURE__ */ cor
|
|
|
2134
2178
|
return /* @__PURE__ */ core$1._jsxSplit("div", {
|
|
2135
2179
|
"aria-hidden": "true",
|
|
2136
2180
|
class: [
|
|
2137
|
-
styles$
|
|
2181
|
+
styles$F["rectangle-wave"],
|
|
2138
2182
|
_rawProps.class
|
|
2139
2183
|
],
|
|
2140
2184
|
...core$1._getVarProps(props)
|
|
2141
2185
|
}, core$1._getConstProps(props), null, 0, "vI_0");
|
|
2142
2186
|
}, "ElmRectangleWave_component_4z0HAhT3758"));
|
|
2143
|
-
const _hf0$
|
|
2187
|
+
const _hf0$p = (p0) => p0.alt ?? p0.caption ?? "Image";
|
|
2144
2188
|
const _hf1$d = (p0, p1) => p0 ? void 0 : p1.srcset;
|
|
2145
2189
|
const _hf2$9 = (p0, p1) => p0 ? void 0 : p1.sizes;
|
|
2146
|
-
const _hf3$
|
|
2190
|
+
const _hf3$8 = (p0) => ({
|
|
2147
2191
|
pointerEvents: p0.value ? "auto" : "none",
|
|
2148
2192
|
"--elmethis-scoped-opacity": p0.value ? 1 : 0
|
|
2149
2193
|
});
|
|
@@ -2194,7 +2238,7 @@ const ElmBlockImage = /* @__PURE__ */ core$1.componentQrl(/* @__PURE__ */ core$1
|
|
|
2194
2238
|
isLoading
|
|
2195
2239
|
]));
|
|
2196
2240
|
const ImageComponent = (isModal) => /* @__PURE__ */ core$1._jsxSorted("img", {
|
|
2197
|
-
alt: core$1._fnSignal(_hf0$
|
|
2241
|
+
alt: core$1._fnSignal(_hf0$p, [
|
|
2198
2242
|
props
|
|
2199
2243
|
]),
|
|
2200
2244
|
fetchPriority: isModal ? "low" : "auto",
|
|
@@ -2217,25 +2261,25 @@ const ElmBlockImage = /* @__PURE__ */ core$1.componentQrl(/* @__PURE__ */ core$1
|
|
|
2217
2261
|
},
|
|
2218
2262
|
width: core$1._wrapProp(props, "width")
|
|
2219
2263
|
}, {
|
|
2220
|
-
class: styles$
|
|
2264
|
+
class: styles$G.image,
|
|
2221
2265
|
"q-e:load": handleImageLoad
|
|
2222
2266
|
}, null, 3, "zM_0");
|
|
2223
2267
|
const Modal = /* @__PURE__ */ core$1._jsxSorted("div", null, {
|
|
2224
|
-
class: styles$
|
|
2225
|
-
style: core$1._fnSignal(_hf3$
|
|
2268
|
+
class: styles$G["modal-container"],
|
|
2269
|
+
style: core$1._fnSignal(_hf3$8, [
|
|
2226
2270
|
isShowModal
|
|
2227
2271
|
]),
|
|
2228
2272
|
"q-e:click": handleToggleModal
|
|
2229
2273
|
}, isShowModal.value && ImageComponent(true), 1, "zM_1");
|
|
2230
2274
|
return /* @__PURE__ */ core$1._jsxSplit("figure", {
|
|
2231
2275
|
class: [
|
|
2232
|
-
styles$
|
|
2276
|
+
styles$G["block-image"],
|
|
2233
2277
|
props.class
|
|
2234
2278
|
],
|
|
2235
2279
|
...core$1._getVarProps(rest)
|
|
2236
2280
|
}, core$1._getConstProps(rest), [
|
|
2237
2281
|
/* @__PURE__ */ core$1._jsxSorted("div", null, {
|
|
2238
|
-
class: styles$
|
|
2282
|
+
class: styles$G["image-container"],
|
|
2239
2283
|
style: core$1._fnSignal(_hf4$5, [
|
|
2240
2284
|
isLoading
|
|
2241
2285
|
]),
|
|
@@ -2243,22 +2287,19 @@ const ElmBlockImage = /* @__PURE__ */ core$1.componentQrl(/* @__PURE__ */ core$1
|
|
|
2243
2287
|
}, [
|
|
2244
2288
|
ImageComponent(false),
|
|
2245
2289
|
/* @__PURE__ */ core$1._jsxSorted("div", null, {
|
|
2246
|
-
class: styles$
|
|
2290
|
+
class: styles$G.fallback
|
|
2247
2291
|
}, /* @__PURE__ */ core$1._jsxSorted(ElmRectangleWave, null, null, null, 3, "zM_2"), 1, null)
|
|
2248
2292
|
], 1, null),
|
|
2249
2293
|
props.caption && /* @__PURE__ */ core$1._jsxSorted("figcaption", null, {
|
|
2250
|
-
class: styles$
|
|
2294
|
+
class: styles$G["caption-box"],
|
|
2251
2295
|
style: core$1._fnSignal(_hf5$4, [
|
|
2252
2296
|
isLoading
|
|
2253
2297
|
])
|
|
2254
2298
|
}, [
|
|
2255
2299
|
/* @__PURE__ */ core$1._jsxSorted("span", null, {
|
|
2256
|
-
|
|
2257
|
-
flex: "1"
|
|
2258
|
-
}
|
|
2300
|
+
class: styles$G["caption-icon"]
|
|
2259
2301
|
}, /* @__PURE__ */ core$1._jsxSorted(ElmMdiIcon, null, {
|
|
2260
2302
|
d: js.mdiMessageImageOutline,
|
|
2261
|
-
color: "#cdb57b",
|
|
2262
2303
|
size: "1.25rem"
|
|
2263
2304
|
}, null, 3, "zM_3"), 1, null),
|
|
2264
2305
|
/* @__PURE__ */ core$1._jsxSorted(ElmInlineText, null, {
|
|
@@ -2269,7 +2310,7 @@ const ElmBlockImage = /* @__PURE__ */ core$1.componentQrl(/* @__PURE__ */ core$1
|
|
|
2269
2310
|
], 0, "zM_6");
|
|
2270
2311
|
}, "ElmBlockImage_component_XGyydMLGB8M"));
|
|
2271
2312
|
const file = "_file_1gxyy_1";
|
|
2272
|
-
const styles$
|
|
2313
|
+
const styles$E = {
|
|
2273
2314
|
file,
|
|
2274
2315
|
"file-size": "_file-size_1gxyy_17",
|
|
2275
2316
|
"download-icon": "_download-icon_1gxyy_22"
|
|
@@ -2307,7 +2348,7 @@ const ElmFile = /* @__PURE__ */ core$1.componentQrl(/* @__PURE__ */ core$1.inlin
|
|
|
2307
2348
|
]);
|
|
2308
2349
|
return /* @__PURE__ */ core$1._jsxSplit("div", {
|
|
2309
2350
|
class: [
|
|
2310
|
-
styles$
|
|
2351
|
+
styles$E.file,
|
|
2311
2352
|
_rawProps.class
|
|
2312
2353
|
],
|
|
2313
2354
|
...core$1._getVarProps(props)
|
|
@@ -2318,10 +2359,10 @@ const ElmFile = /* @__PURE__ */ core$1.componentQrl(/* @__PURE__ */ core$1.inlin
|
|
|
2318
2359
|
}, null, 3, "r0_0"), 1, null),
|
|
2319
2360
|
/* @__PURE__ */ core$1._jsxSorted("div", null, null, /* @__PURE__ */ core$1._jsxSorted(ElmInlineText, null, null, _rawProps.name ?? getLastPathSegmentWithoutQueryOrHash(_rawProps.src), 1, "r0_1"), 1, null),
|
|
2320
2361
|
/* @__PURE__ */ core$1._jsxSorted("div", null, {
|
|
2321
|
-
class: styles$
|
|
2362
|
+
class: styles$E["file-size"]
|
|
2322
2363
|
}, /* @__PURE__ */ core$1._jsxSorted(ElmInlineText, null, null, core$1._wrapProp(_rawProps, "filesize"), 1, "r0_2"), 1, null),
|
|
2323
2364
|
/* @__PURE__ */ core$1._jsxSorted("div", null, {
|
|
2324
|
-
class: styles$
|
|
2365
|
+
class: styles$E["download-icon"],
|
|
2325
2366
|
"q-e:click": downloadFile
|
|
2326
2367
|
}, /* @__PURE__ */ core$1._jsxSorted(ElmMdiIcon, null, {
|
|
2327
2368
|
d: js.mdiDownload,
|
|
@@ -2336,7 +2377,7 @@ const content$2 = "_content_1ypvd_56";
|
|
|
2336
2377
|
const title = "_title_1ypvd_76";
|
|
2337
2378
|
const description = "_description_1ypvd_80";
|
|
2338
2379
|
const link = "_link_1ypvd_85";
|
|
2339
|
-
const styles$
|
|
2380
|
+
const styles$D = {
|
|
2340
2381
|
bookmark,
|
|
2341
2382
|
container: container$3,
|
|
2342
2383
|
image: image$1,
|
|
@@ -2345,7 +2386,7 @@ const styles$E = {
|
|
|
2345
2386
|
description,
|
|
2346
2387
|
link
|
|
2347
2388
|
};
|
|
2348
|
-
const _hf0$
|
|
2389
|
+
const _hf0$o = (p0, p1, p2) => p2.value || p0.image == null ? p1 : {};
|
|
2349
2390
|
const ElmBookmark = /* @__PURE__ */ core$1.componentQrl(/* @__PURE__ */ core$1.inlinedQrl((_rawProps) => {
|
|
2350
2391
|
const props = core$1._restProps(_rawProps, [
|
|
2351
2392
|
"class",
|
|
@@ -2368,50 +2409,50 @@ const ElmBookmark = /* @__PURE__ */ core$1.componentQrl(/* @__PURE__ */ core$1.i
|
|
|
2368
2409
|
};
|
|
2369
2410
|
return /* @__PURE__ */ core$1._jsxSplit("div", {
|
|
2370
2411
|
class: [
|
|
2371
|
-
styles$
|
|
2412
|
+
styles$D.bookmark,
|
|
2372
2413
|
_rawProps.class
|
|
2373
2414
|
],
|
|
2374
2415
|
...core$1._getVarProps(props)
|
|
2375
2416
|
}, core$1._getConstProps(props), /* @__PURE__ */ core$1._jsxSorted("a", {
|
|
2376
2417
|
href: core$1._wrapProp(_rawProps, "url")
|
|
2377
2418
|
}, {
|
|
2378
|
-
class: styles$
|
|
2419
|
+
class: styles$D.container,
|
|
2379
2420
|
target: "_blank",
|
|
2380
2421
|
rel: "noopener noreferrer"
|
|
2381
2422
|
}, [
|
|
2382
2423
|
/* @__PURE__ */ core$1._jsxSorted("img", {
|
|
2383
2424
|
src: core$1._wrapProp(_rawProps, "image"),
|
|
2384
|
-
style: core$1._fnSignal(_hf0$
|
|
2425
|
+
style: core$1._fnSignal(_hf0$o, [
|
|
2385
2426
|
_rawProps,
|
|
2386
2427
|
hiddenStyle,
|
|
2387
2428
|
isError
|
|
2388
2429
|
])
|
|
2389
2430
|
}, {
|
|
2390
|
-
class: styles$
|
|
2431
|
+
class: styles$D.image,
|
|
2391
2432
|
alt: "OGP Image",
|
|
2392
2433
|
"q-e:error": handleImageOnError
|
|
2393
2434
|
}, null, 3, null),
|
|
2394
2435
|
/* @__PURE__ */ core$1._jsxSorted("div", null, {
|
|
2395
|
-
class: styles$
|
|
2436
|
+
class: styles$D.content
|
|
2396
2437
|
}, [
|
|
2397
2438
|
/* @__PURE__ */ core$1._jsxSorted("div", null, {
|
|
2398
|
-
class: styles$
|
|
2439
|
+
class: styles$D.title
|
|
2399
2440
|
}, /* @__PURE__ */ core$1._jsxSorted(ElmInlineText, null, {
|
|
2400
2441
|
bold: true
|
|
2401
2442
|
}, core$1._wrapProp(_rawProps, "title"), 1, "cr_0"), 1, null),
|
|
2402
2443
|
/* @__PURE__ */ core$1._jsxSorted("div", null, {
|
|
2403
|
-
class: styles$
|
|
2444
|
+
class: styles$D.description
|
|
2404
2445
|
}, /* @__PURE__ */ core$1._jsxSorted(ElmInlineText, null, {
|
|
2405
2446
|
size: "0.75rem"
|
|
2406
2447
|
}, core$1._wrapProp(_rawProps, "description"), 1, "cr_1"), 1, null),
|
|
2407
2448
|
/* @__PURE__ */ core$1._jsxSorted("div", null, {
|
|
2408
|
-
class: styles$
|
|
2449
|
+
class: styles$D.link
|
|
2409
2450
|
}, [
|
|
2410
2451
|
_rawProps.favicon ? /* @__PURE__ */ core$1._jsxSorted(ElmInlineIcon, null, {
|
|
2411
2452
|
src: core$1._wrapProp(_rawProps, "favicon")
|
|
2412
2453
|
}, null, 3, "cr_2") : /* @__PURE__ */ core$1._jsxSorted(ElmMdiIcon, null, {
|
|
2413
2454
|
d: js.mdiLinkVariant,
|
|
2414
|
-
color: "
|
|
2455
|
+
color: "var(--elmethis-accent-info)"
|
|
2415
2456
|
}, null, 3, "cr_3"),
|
|
2416
2457
|
/* @__PURE__ */ core$1._jsxSorted(ElmInlineText, null, {
|
|
2417
2458
|
size: "0.75rem"
|
|
@@ -2420,27 +2461,27 @@ const ElmBookmark = /* @__PURE__ */ core$1.componentQrl(/* @__PURE__ */ core$1.i
|
|
|
2420
2461
|
], 1, null)
|
|
2421
2462
|
], 1, null), 0, "cr_5");
|
|
2422
2463
|
}, "ElmBookmark_component_SFTt0EvJVYc"));
|
|
2423
|
-
const toggle = "
|
|
2424
|
-
const open$1 = "
|
|
2425
|
-
const summary$1 = "
|
|
2426
|
-
const divider = "
|
|
2427
|
-
const chevron = "
|
|
2428
|
-
const cross = "
|
|
2429
|
-
const border = "
|
|
2430
|
-
const content$1 = "
|
|
2431
|
-
const styles$
|
|
2464
|
+
const toggle = "_toggle_11gju_1";
|
|
2465
|
+
const open$1 = "_open_11gju_9";
|
|
2466
|
+
const summary$1 = "_summary_11gju_14";
|
|
2467
|
+
const divider = "_divider_11gju_36";
|
|
2468
|
+
const chevron$1 = "_chevron_11gju_50";
|
|
2469
|
+
const cross = "_cross_11gju_63";
|
|
2470
|
+
const border = "_border_11gju_77";
|
|
2471
|
+
const content$1 = "_content_11gju_85";
|
|
2472
|
+
const styles$C = {
|
|
2432
2473
|
toggle,
|
|
2433
2474
|
open: open$1,
|
|
2434
2475
|
summary: summary$1,
|
|
2435
|
-
"summary-left": "_summary-
|
|
2476
|
+
"summary-left": "_summary-left_11gju_29",
|
|
2436
2477
|
divider,
|
|
2437
|
-
chevron,
|
|
2478
|
+
chevron: chevron$1,
|
|
2438
2479
|
cross,
|
|
2439
2480
|
border,
|
|
2440
2481
|
content: content$1
|
|
2441
2482
|
};
|
|
2442
|
-
const _hf0$
|
|
2443
|
-
const _hf1$c = (p0, p1) => p1.monochrome ? "var(--elmethis-color-
|
|
2483
|
+
const _hf0$n = (p0) => p0.monochrome ? "var(--elmethis-color-mono-fg-weak)" : "var(--elmethis-color-primary-fg)";
|
|
2484
|
+
const _hf1$c = (p0, p1) => p1.monochrome ? "var(--elmethis-color-mono-fg-weak)" : p0.value ? "var(--elmethis-accent-error)" : "var(--elmethis-color-primary-fg)";
|
|
2444
2485
|
const ElmToggle = /* @__PURE__ */ core$1.componentQrl(/* @__PURE__ */ core$1.inlinedQrl((props) => {
|
|
2445
2486
|
const rest = core$1._restProps(props, [
|
|
2446
2487
|
"class",
|
|
@@ -2456,9 +2497,9 @@ const ElmToggle = /* @__PURE__ */ core$1.componentQrl(/* @__PURE__ */ core$1.inl
|
|
|
2456
2497
|
});
|
|
2457
2498
|
return /* @__PURE__ */ core$1._jsxSplit("div", {
|
|
2458
2499
|
class: [
|
|
2459
|
-
styles$
|
|
2500
|
+
styles$C.toggle,
|
|
2460
2501
|
{
|
|
2461
|
-
[styles$
|
|
2502
|
+
[styles$C.open]: isOpen.value
|
|
2462
2503
|
},
|
|
2463
2504
|
props.class
|
|
2464
2505
|
],
|
|
@@ -2473,22 +2514,22 @@ const ElmToggle = /* @__PURE__ */ core$1.componentQrl(/* @__PURE__ */ core$1.inl
|
|
|
2473
2514
|
isOpen
|
|
2474
2515
|
])
|
|
2475
2516
|
}, {
|
|
2476
|
-
class: styles$
|
|
2517
|
+
class: styles$C.summary,
|
|
2477
2518
|
"preventdefault:click": true
|
|
2478
2519
|
}, [
|
|
2479
2520
|
/* @__PURE__ */ core$1._jsxSorted("div", null, {
|
|
2480
|
-
class: styles$
|
|
2521
|
+
class: styles$C["summary-left"]
|
|
2481
2522
|
}, [
|
|
2482
2523
|
/* @__PURE__ */ core$1._jsxSorted("span", {
|
|
2483
2524
|
class: [
|
|
2484
|
-
styles$
|
|
2525
|
+
styles$C.chevron,
|
|
2485
2526
|
{
|
|
2486
|
-
[styles$
|
|
2527
|
+
[styles$C.open]: isOpen.value
|
|
2487
2528
|
}
|
|
2488
2529
|
]
|
|
2489
2530
|
}, null, /* @__PURE__ */ core$1._jsxSorted(ElmMdiIcon, null, {
|
|
2490
2531
|
d: js.mdiChevronRight,
|
|
2491
|
-
color: core$1._fnSignal(_hf0$
|
|
2532
|
+
color: core$1._fnSignal(_hf0$n, [
|
|
2492
2533
|
props
|
|
2493
2534
|
]),
|
|
2494
2535
|
size: "1rem"
|
|
@@ -2498,13 +2539,13 @@ const ElmToggle = /* @__PURE__ */ core$1.componentQrl(/* @__PURE__ */ core$1.inl
|
|
|
2498
2539
|
}, null, 3, "VD_2"), 1, null)
|
|
2499
2540
|
], 1, null),
|
|
2500
2541
|
/* @__PURE__ */ core$1._jsxSorted("hr", null, {
|
|
2501
|
-
class: styles$
|
|
2542
|
+
class: styles$C.divider
|
|
2502
2543
|
}, null, 3, null),
|
|
2503
2544
|
/* @__PURE__ */ core$1._jsxSorted("span", {
|
|
2504
2545
|
class: [
|
|
2505
|
-
styles$
|
|
2546
|
+
styles$C.cross,
|
|
2506
2547
|
{
|
|
2507
|
-
[styles$
|
|
2548
|
+
[styles$C.open]: isOpen.value
|
|
2508
2549
|
}
|
|
2509
2550
|
]
|
|
2510
2551
|
}, null, /* @__PURE__ */ core$1._jsxSorted(ElmMdiIcon, null, {
|
|
@@ -2517,25 +2558,27 @@ const ElmToggle = /* @__PURE__ */ core$1.componentQrl(/* @__PURE__ */ core$1.inl
|
|
|
2517
2558
|
}, null, 3, "VD_3"), 1, null)
|
|
2518
2559
|
], 0, null),
|
|
2519
2560
|
/* @__PURE__ */ core$1._jsxSorted("div", null, {
|
|
2520
|
-
class: styles$
|
|
2561
|
+
class: styles$C.border
|
|
2521
2562
|
}, null, 3, null),
|
|
2522
2563
|
/* @__PURE__ */ core$1._jsxSorted("div", {
|
|
2523
2564
|
class: [
|
|
2524
|
-
styles$
|
|
2565
|
+
styles$C.content,
|
|
2525
2566
|
{
|
|
2526
|
-
[styles$
|
|
2567
|
+
[styles$C.open]: isOpen.value
|
|
2527
2568
|
}
|
|
2528
2569
|
]
|
|
2529
2570
|
}, null, /* @__PURE__ */ core$1._jsxSorted(core$1.Slot, null, null, null, 3, "VD_4"), 1, null)
|
|
2530
2571
|
], 0, "VD_5");
|
|
2531
2572
|
}, "ElmToggle_component_Gna1lAQa8FY"));
|
|
2532
|
-
const blockquote = "
|
|
2533
|
-
const body$3 = "
|
|
2534
|
-
const icon$
|
|
2535
|
-
const styles$
|
|
2573
|
+
const blockquote = "_blockquote_124q8_1";
|
|
2574
|
+
const body$3 = "_body_124q8_22";
|
|
2575
|
+
const icon$3 = "_icon_124q8_27";
|
|
2576
|
+
const styles$B = {
|
|
2536
2577
|
blockquote,
|
|
2537
2578
|
body: body$3,
|
|
2538
|
-
icon: icon$
|
|
2579
|
+
icon: icon$3,
|
|
2580
|
+
"icon-top-left": "_icon-top-left_124q8_33",
|
|
2581
|
+
"icon-bottom-right": "_icon-bottom-right_124q8_37"
|
|
2539
2582
|
};
|
|
2540
2583
|
const ElmBlockQuote = /* @__PURE__ */ core$1.componentQrl(/* @__PURE__ */ core$1.inlinedQrl((_rawProps) => {
|
|
2541
2584
|
const props = core$1._restProps(_rawProps, [
|
|
@@ -2543,28 +2586,28 @@ const ElmBlockQuote = /* @__PURE__ */ core$1.componentQrl(/* @__PURE__ */ core$1
|
|
|
2543
2586
|
]);
|
|
2544
2587
|
return /* @__PURE__ */ core$1._jsxSplit("blockquote", {
|
|
2545
2588
|
class: [
|
|
2546
|
-
styles$
|
|
2589
|
+
styles$B.blockquote,
|
|
2547
2590
|
textStyles.text,
|
|
2548
2591
|
_rawProps.class
|
|
2549
2592
|
],
|
|
2550
2593
|
...core$1._getVarProps(props)
|
|
2551
2594
|
}, core$1._getConstProps(props), [
|
|
2552
2595
|
/* @__PURE__ */ core$1._jsxSorted("div", null, {
|
|
2553
|
-
class:
|
|
2554
|
-
|
|
2555
|
-
"
|
|
2556
|
-
|
|
2596
|
+
class: [
|
|
2597
|
+
styles$B.icon,
|
|
2598
|
+
styles$B["icon-top-left"]
|
|
2599
|
+
]
|
|
2557
2600
|
}, /* @__PURE__ */ core$1._jsxSorted(ElmMdiIcon, null, {
|
|
2558
2601
|
d: js.mdiFormatQuoteOpen
|
|
2559
2602
|
}, null, 3, "Cw_0"), 1, null),
|
|
2560
2603
|
/* @__PURE__ */ core$1._jsxSorted("div", null, {
|
|
2561
|
-
class: styles$
|
|
2604
|
+
class: styles$B.body
|
|
2562
2605
|
}, /* @__PURE__ */ core$1._jsxSorted(core$1.Slot, null, null, null, 3, "Cw_1"), 1, null),
|
|
2563
2606
|
/* @__PURE__ */ core$1._jsxSorted("div", null, {
|
|
2564
|
-
class:
|
|
2565
|
-
|
|
2566
|
-
"
|
|
2567
|
-
|
|
2607
|
+
class: [
|
|
2608
|
+
styles$B.icon,
|
|
2609
|
+
styles$B["icon-bottom-right"]
|
|
2610
|
+
]
|
|
2568
2611
|
}, /* @__PURE__ */ core$1._jsxSorted(ElmMdiIcon, null, {
|
|
2569
2612
|
d: js.mdiFormatQuoteClose
|
|
2570
2613
|
}, null, 3, "Cw_2"), 1, null)
|
|
@@ -2573,30 +2616,30 @@ const ElmBlockQuote = /* @__PURE__ */ core$1.componentQrl(/* @__PURE__ */ core$1
|
|
|
2573
2616
|
const callout = "_callout_lasqb_1";
|
|
2574
2617
|
const header$2 = "_header_lasqb_28";
|
|
2575
2618
|
const content = "_content_lasqb_34";
|
|
2576
|
-
const styles$
|
|
2619
|
+
const styles$A = {
|
|
2577
2620
|
callout,
|
|
2578
2621
|
header: header$2,
|
|
2579
2622
|
content
|
|
2580
2623
|
};
|
|
2581
2624
|
const COLOR_MAP = Object.freeze({
|
|
2582
2625
|
note: {
|
|
2583
|
-
code: "
|
|
2626
|
+
code: "var(--elmethis-accent-info)",
|
|
2584
2627
|
icon: js.mdiInformation
|
|
2585
2628
|
},
|
|
2586
2629
|
tip: {
|
|
2587
|
-
code: "
|
|
2630
|
+
code: "var(--elmethis-accent-success)",
|
|
2588
2631
|
icon: js.mdiLightbulbOn
|
|
2589
2632
|
},
|
|
2590
2633
|
important: {
|
|
2591
|
-
code: "
|
|
2634
|
+
code: "var(--elmethis-accent-important)",
|
|
2592
2635
|
icon: js.mdiShieldAlert
|
|
2593
2636
|
},
|
|
2594
2637
|
warning: {
|
|
2595
|
-
code: "
|
|
2638
|
+
code: "var(--elmethis-accent-warning)",
|
|
2596
2639
|
icon: js.mdiAlert
|
|
2597
2640
|
},
|
|
2598
2641
|
caution: {
|
|
2599
|
-
code: "
|
|
2642
|
+
code: "var(--elmethis-accent-error)",
|
|
2600
2643
|
icon: js.mdiAlertOctagram
|
|
2601
2644
|
}
|
|
2602
2645
|
});
|
|
@@ -2608,7 +2651,7 @@ const ElmCallout = /* @__PURE__ */ core$1.componentQrl(/* @__PURE__ */ core$1.in
|
|
|
2608
2651
|
]);
|
|
2609
2652
|
return /* @__PURE__ */ core$1._jsxSplit("aside", {
|
|
2610
2653
|
class: [
|
|
2611
|
-
styles$
|
|
2654
|
+
styles$A.callout,
|
|
2612
2655
|
_rawProps.class
|
|
2613
2656
|
],
|
|
2614
2657
|
style: {
|
|
@@ -2618,7 +2661,7 @@ const ElmCallout = /* @__PURE__ */ core$1.componentQrl(/* @__PURE__ */ core$1.in
|
|
|
2618
2661
|
...core$1._getVarProps(props)
|
|
2619
2662
|
}, core$1._getConstProps(props), [
|
|
2620
2663
|
/* @__PURE__ */ core$1._jsxSorted("div", null, {
|
|
2621
|
-
class: styles$
|
|
2664
|
+
class: styles$A.header
|
|
2622
2665
|
}, [
|
|
2623
2666
|
/* @__PURE__ */ core$1._jsxSorted(ElmMdiIcon, {
|
|
2624
2667
|
color: COLOR_MAP[_rawProps.type ?? "note"].code,
|
|
@@ -2629,12 +2672,12 @@ const ElmCallout = /* @__PURE__ */ core$1.componentQrl(/* @__PURE__ */ core$1.in
|
|
|
2629
2672
|
/* @__PURE__ */ core$1._jsxSorted(ElmInlineText, null, null, (_rawProps.type ?? "note").toLocaleUpperCase(), 1, "qp_1")
|
|
2630
2673
|
], 1, null),
|
|
2631
2674
|
/* @__PURE__ */ core$1._jsxSorted("div", null, {
|
|
2632
|
-
class: styles$
|
|
2675
|
+
class: styles$A.content
|
|
2633
2676
|
}, /* @__PURE__ */ core$1._jsxSorted(core$1.Slot, null, null, null, 3, "qp_2"), 1, null)
|
|
2634
2677
|
], 0, "qp_3");
|
|
2635
2678
|
}, "ElmCallout_component_vJ404ghu0V8"));
|
|
2636
|
-
const hr = "
|
|
2637
|
-
const styles$
|
|
2679
|
+
const hr = "_hr_o8h6x_1";
|
|
2680
|
+
const styles$z = {
|
|
2638
2681
|
hr
|
|
2639
2682
|
};
|
|
2640
2683
|
const ElmDivider = /* @__PURE__ */ core$1.componentQrl(/* @__PURE__ */ core$1.inlinedQrl((_rawProps) => {
|
|
@@ -2643,16 +2686,16 @@ const ElmDivider = /* @__PURE__ */ core$1.componentQrl(/* @__PURE__ */ core$1.in
|
|
|
2643
2686
|
]);
|
|
2644
2687
|
return /* @__PURE__ */ core$1._jsxSplit("hr", {
|
|
2645
2688
|
class: [
|
|
2646
|
-
styles$
|
|
2689
|
+
styles$z.hr,
|
|
2647
2690
|
_rawProps.class
|
|
2648
2691
|
],
|
|
2649
2692
|
...core$1._getVarProps(props)
|
|
2650
2693
|
}, core$1._getConstProps(props), null, 0, "70_0");
|
|
2651
2694
|
}, "ElmDivider_component_SDbNuDT10PU"));
|
|
2652
|
-
const styles$
|
|
2653
|
-
"elmethis-list-common": "_elmethis-list-
|
|
2654
|
-
"elmethis-bulleted-list": "_elmethis-bulleted-
|
|
2655
|
-
"elmethis-numbered-list": "_elmethis-numbered-
|
|
2695
|
+
const styles$y = {
|
|
2696
|
+
"elmethis-list-common": "_elmethis-list-common_1z0ra_1",
|
|
2697
|
+
"elmethis-bulleted-list": "_elmethis-bulleted-list_1z0ra_9",
|
|
2698
|
+
"elmethis-numbered-list": "_elmethis-numbered-list_1z0ra_58"
|
|
2656
2699
|
};
|
|
2657
2700
|
const ElmList = /* @__PURE__ */ core$1.componentQrl(/* @__PURE__ */ core$1.inlinedQrl((_rawProps) => {
|
|
2658
2701
|
const props = core$1._restProps(_rawProps, [
|
|
@@ -2664,8 +2707,8 @@ const ElmList = /* @__PURE__ */ core$1.componentQrl(/* @__PURE__ */ core$1.inlin
|
|
|
2664
2707
|
return /* @__PURE__ */ core$1._jsxSplit("ol", {
|
|
2665
2708
|
class: [
|
|
2666
2709
|
textStyles.text,
|
|
2667
|
-
styles$
|
|
2668
|
-
styles$
|
|
2710
|
+
styles$y["elmethis-list-common"],
|
|
2711
|
+
styles$y["elmethis-numbered-list"],
|
|
2669
2712
|
_rawProps.class
|
|
2670
2713
|
],
|
|
2671
2714
|
style: core$1._wrapProp(_rawProps, "style"),
|
|
@@ -2675,8 +2718,8 @@ const ElmList = /* @__PURE__ */ core$1.componentQrl(/* @__PURE__ */ core$1.inlin
|
|
|
2675
2718
|
return /* @__PURE__ */ core$1._jsxSplit("ul", {
|
|
2676
2719
|
class: [
|
|
2677
2720
|
textStyles.text,
|
|
2678
|
-
styles$
|
|
2679
|
-
styles$
|
|
2721
|
+
styles$y["elmethis-list-common"],
|
|
2722
|
+
styles$y["elmethis-bulleted-list"],
|
|
2680
2723
|
_rawProps.class
|
|
2681
2724
|
],
|
|
2682
2725
|
style: core$1._wrapProp(_rawProps, "style"),
|
|
@@ -2687,7 +2730,7 @@ const ElmList = /* @__PURE__ */ core$1.componentQrl(/* @__PURE__ */ core$1.inlin
|
|
|
2687
2730
|
const table = "_table_8qd0n_1";
|
|
2688
2731
|
const caption = "_caption_8qd0n_8";
|
|
2689
2732
|
const spacing = "_spacing_8qd0n_25";
|
|
2690
|
-
const styles$
|
|
2733
|
+
const styles$x = {
|
|
2691
2734
|
table,
|
|
2692
2735
|
caption,
|
|
2693
2736
|
"caption-inner": "_caption-inner_8qd0n_18",
|
|
@@ -2712,20 +2755,20 @@ const ElmTable = /* @__PURE__ */ core$1.componentQrl(/* @__PURE__ */ core$1.inli
|
|
|
2712
2755
|
core$1.useContextProvider(HasRowHeaderContext, hasRowHeader);
|
|
2713
2756
|
return /* @__PURE__ */ core$1._jsxSplit("table", {
|
|
2714
2757
|
class: [
|
|
2715
|
-
styles$
|
|
2758
|
+
styles$x.table,
|
|
2716
2759
|
textStyles.text,
|
|
2717
2760
|
props.class
|
|
2718
2761
|
],
|
|
2719
2762
|
...core$1._getVarProps(rest)
|
|
2720
2763
|
}, core$1._getConstProps(rest), [
|
|
2721
2764
|
props.caption && /* @__PURE__ */ core$1._jsxSorted("caption", null, null, /* @__PURE__ */ core$1._jsxSorted("span", null, {
|
|
2722
|
-
class: styles$
|
|
2765
|
+
class: styles$x.caption
|
|
2723
2766
|
}, [
|
|
2724
2767
|
/* @__PURE__ */ core$1._jsxSorted("span", null, {
|
|
2725
|
-
class: styles$
|
|
2768
|
+
class: styles$x.spacing
|
|
2726
2769
|
}, null, 3, null),
|
|
2727
2770
|
/* @__PURE__ */ core$1._jsxSorted("span", null, {
|
|
2728
|
-
class: styles$
|
|
2771
|
+
class: styles$x["caption-inner"]
|
|
2729
2772
|
}, [
|
|
2730
2773
|
/* @__PURE__ */ core$1._jsxSorted("svg", null, {
|
|
2731
2774
|
viewBox: "0 0 24 24",
|
|
@@ -2733,19 +2776,19 @@ const ElmTable = /* @__PURE__ */ core$1.componentQrl(/* @__PURE__ */ core$1.inli
|
|
|
2733
2776
|
height: "1rem"
|
|
2734
2777
|
}, /* @__PURE__ */ core$1._jsxSorted("path", null, {
|
|
2735
2778
|
d: "M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2M12,4A8,8 0 0,1 20,12A8,8 0 0,1 12,20A8,8 0 0,1 4,12A8,8 0 0,1 12,4M12,6A6,6 0 0,0 6,12A6,6 0 0,0 12,18A6,6 0 0,0 18,12A6,6 0 0,0 12,6M12,8A4,4 0 0,1 16,12A4,4 0 0,1 12,16A4,4 0 0,1 8,12A4,4 0 0,1 12,8Z",
|
|
2736
|
-
fill: "
|
|
2779
|
+
fill: "var(--elmethis-accent-info)"
|
|
2737
2780
|
}, null, 3, null), 3, null),
|
|
2738
2781
|
/* @__PURE__ */ core$1._jsxSorted(ElmInlineText, null, null, core$1._wrapProp(props, "caption"), 1, "Yw_0")
|
|
2739
2782
|
], 1, null),
|
|
2740
2783
|
/* @__PURE__ */ core$1._jsxSorted("span", null, {
|
|
2741
|
-
class: styles$
|
|
2784
|
+
class: styles$x.spacing
|
|
2742
2785
|
}, null, 3, null)
|
|
2743
2786
|
], 1, null), 1, "Yw_1"),
|
|
2744
2787
|
/* @__PURE__ */ core$1._jsxSorted(core$1.Slot, null, null, null, 3, "Yw_2")
|
|
2745
2788
|
], 0, "Yw_3");
|
|
2746
2789
|
}, "ElmTable_component_UT2AChu46oY"));
|
|
2747
2790
|
const thead = "_thead_81oxp_1";
|
|
2748
|
-
const styles$
|
|
2791
|
+
const styles$w = {
|
|
2749
2792
|
thead
|
|
2750
2793
|
};
|
|
2751
2794
|
const ElmTableHeader = /* @__PURE__ */ core$1.componentQrl(/* @__PURE__ */ core$1.inlinedQrl((_rawProps) => {
|
|
@@ -2755,7 +2798,7 @@ const ElmTableHeader = /* @__PURE__ */ core$1.componentQrl(/* @__PURE__ */ core$
|
|
|
2755
2798
|
core$1.useContextProvider(TableSectionContext, "head");
|
|
2756
2799
|
return /* @__PURE__ */ core$1._jsxSplit("thead", {
|
|
2757
2800
|
class: [
|
|
2758
|
-
styles$
|
|
2801
|
+
styles$w.thead,
|
|
2759
2802
|
_rawProps.class
|
|
2760
2803
|
],
|
|
2761
2804
|
...core$1._getVarProps(props)
|
|
@@ -2772,7 +2815,7 @@ const ElmTableBody = /* @__PURE__ */ core$1.componentQrl(/* @__PURE__ */ core$1.
|
|
|
2772
2815
|
}, core$1._getConstProps(props), /* @__PURE__ */ core$1._jsxSorted(core$1.Slot, null, null, null, 3, "d6_0"), 0, "d6_1");
|
|
2773
2816
|
}, "ElmTableBody_component_cc34lI5xf6Y"));
|
|
2774
2817
|
const tr = "_tr_1sv2a_1";
|
|
2775
|
-
const styles$
|
|
2818
|
+
const styles$v = {
|
|
2776
2819
|
tr
|
|
2777
2820
|
};
|
|
2778
2821
|
const ElmTableRow = /* @__PURE__ */ core$1.componentQrl(/* @__PURE__ */ core$1.inlinedQrl((_rawProps) => {
|
|
@@ -2781,7 +2824,7 @@ const ElmTableRow = /* @__PURE__ */ core$1.componentQrl(/* @__PURE__ */ core$1.i
|
|
|
2781
2824
|
]);
|
|
2782
2825
|
return /* @__PURE__ */ core$1._jsxSplit("tr", {
|
|
2783
2826
|
class: [
|
|
2784
|
-
styles$
|
|
2827
|
+
styles$v.tr,
|
|
2785
2828
|
_rawProps.class
|
|
2786
2829
|
],
|
|
2787
2830
|
...core$1._getVarProps(props)
|
|
@@ -2790,7 +2833,7 @@ const ElmTableRow = /* @__PURE__ */ core$1.componentQrl(/* @__PURE__ */ core$1.i
|
|
|
2790
2833
|
const common = "_common_n2t7b_1";
|
|
2791
2834
|
const td = "_td_n2t7b_26";
|
|
2792
2835
|
const th = "_th_n2t7b_34";
|
|
2793
|
-
const styles$
|
|
2836
|
+
const styles$u = {
|
|
2794
2837
|
common,
|
|
2795
2838
|
td,
|
|
2796
2839
|
th
|
|
@@ -2814,8 +2857,8 @@ const ElmTableCell = /* @__PURE__ */ core$1.componentQrl(/* @__PURE__ */ core$1.
|
|
|
2814
2857
|
const scope = props.scope ?? (inHead ? "col" : isRowHeader ? "row" : void 0);
|
|
2815
2858
|
return renderAsTh ? /* @__PURE__ */ core$1._jsxSplit("th", {
|
|
2816
2859
|
class: [
|
|
2817
|
-
styles$
|
|
2818
|
-
styles$
|
|
2860
|
+
styles$u.common,
|
|
2861
|
+
styles$u.th,
|
|
2819
2862
|
props.class
|
|
2820
2863
|
],
|
|
2821
2864
|
style: core$1._wrapProp(props, "style"),
|
|
@@ -2823,22 +2866,22 @@ const ElmTableCell = /* @__PURE__ */ core$1.componentQrl(/* @__PURE__ */ core$1.
|
|
|
2823
2866
|
...core$1._getVarProps(rest)
|
|
2824
2867
|
}, core$1._getConstProps(rest), props.text != null ? props.text : /* @__PURE__ */ core$1._jsxSorted(core$1.Slot, null, null, null, 3, "Vm_0"), 0, "Vm_1") : /* @__PURE__ */ core$1._jsxSplit("td", {
|
|
2825
2868
|
class: [
|
|
2826
|
-
styles$
|
|
2827
|
-
styles$
|
|
2869
|
+
styles$u.common,
|
|
2870
|
+
styles$u.td,
|
|
2828
2871
|
props.class
|
|
2829
2872
|
],
|
|
2830
2873
|
style: core$1._wrapProp(props, "style"),
|
|
2831
2874
|
...core$1._getVarProps(rest)
|
|
2832
2875
|
}, core$1._getConstProps(rest), props.text != null ? props.text : /* @__PURE__ */ core$1._jsxSorted(core$1.Slot, null, null, null, 3, "Vm_2"), 0, "Vm_3");
|
|
2833
2876
|
}, "ElmTableCell_component_cdS0ELa7S1k"));
|
|
2834
|
-
const unsupported = "
|
|
2835
|
-
const message = "
|
|
2836
|
-
const icon$
|
|
2837
|
-
const details = "
|
|
2838
|
-
const styles$
|
|
2877
|
+
const unsupported = "_unsupported_1nmw6_1";
|
|
2878
|
+
const message = "_message_1nmw6_18";
|
|
2879
|
+
const icon$2 = "_icon_1nmw6_25";
|
|
2880
|
+
const details = "_details_1nmw6_29";
|
|
2881
|
+
const styles$t = {
|
|
2839
2882
|
unsupported,
|
|
2840
2883
|
message,
|
|
2841
|
-
icon: icon$
|
|
2884
|
+
icon: icon$2,
|
|
2842
2885
|
details
|
|
2843
2886
|
};
|
|
2844
2887
|
const ElmUnsupportedBlock = /* @__PURE__ */ core$1.componentQrl(/* @__PURE__ */ core$1.inlinedQrl((_rawProps) => {
|
|
@@ -2848,45 +2891,41 @@ const ElmUnsupportedBlock = /* @__PURE__ */ core$1.componentQrl(/* @__PURE__ */
|
|
|
2848
2891
|
]);
|
|
2849
2892
|
return /* @__PURE__ */ core$1._jsxSplit("div", {
|
|
2850
2893
|
class: [
|
|
2851
|
-
styles$
|
|
2894
|
+
styles$t.unsupported,
|
|
2852
2895
|
_rawProps.class
|
|
2853
2896
|
],
|
|
2854
2897
|
...core$1._getVarProps(props)
|
|
2855
2898
|
}, core$1._getConstProps(props), [
|
|
2856
2899
|
/* @__PURE__ */ core$1._jsxSorted("div", null, {
|
|
2857
|
-
class: styles$
|
|
2900
|
+
class: styles$t.message
|
|
2858
2901
|
}, [
|
|
2859
2902
|
/* @__PURE__ */ core$1._jsxSorted("svg", null, {
|
|
2860
2903
|
viewBox: "0 0 24 24",
|
|
2861
2904
|
width: "1.25rem",
|
|
2862
2905
|
height: "1.25rem",
|
|
2863
|
-
class: styles$
|
|
2906
|
+
class: styles$t.icon
|
|
2864
2907
|
}, /* @__PURE__ */ core$1._jsxSorted("path", null, {
|
|
2865
2908
|
d: "M13,9H11V7H13M13,17H11V11H13M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2Z"
|
|
2866
2909
|
}, null, 3, null), 3, null),
|
|
2867
|
-
/* @__PURE__ */ core$1._jsxSorted(ElmInlineText, null,
|
|
2868
|
-
color: "var(--elmethis-color-accent-muted)"
|
|
2869
|
-
}, "UNSUPPORTED BLOCK", 3, "90_0")
|
|
2910
|
+
/* @__PURE__ */ core$1._jsxSorted(ElmInlineText, null, null, "UNSUPPORTED BLOCK", 3, "90_0")
|
|
2870
2911
|
], 1, null),
|
|
2871
2912
|
_rawProps.details && /* @__PURE__ */ core$1._jsxSorted("div", null, {
|
|
2872
|
-
class: styles$
|
|
2873
|
-
}, /* @__PURE__ */ core$1._jsxSorted(ElmInlineText, null,
|
|
2874
|
-
color: "var(--elmethis-color-accent-muted)"
|
|
2875
|
-
}, core$1._wrapProp(_rawProps, "details"), 1, "90_1"), 1, "90_2")
|
|
2913
|
+
class: styles$t.details
|
|
2914
|
+
}, /* @__PURE__ */ core$1._jsxSorted(ElmInlineText, null, null, core$1._wrapProp(_rawProps, "details"), 1, "90_1"), 1, "90_2")
|
|
2876
2915
|
], 0, "90_3");
|
|
2877
2916
|
}, "ElmUnsupportedBlock_component_yKqwfnlPSP4"));
|
|
2878
|
-
const _hf0$
|
|
2917
|
+
const _hf0$m = (p0) => p0.props.color;
|
|
2879
2918
|
const _hf1$b = (p0) => p0.props.ruby;
|
|
2880
2919
|
const _hf10$1 = (p0) => p0.props.width;
|
|
2881
2920
|
const _hf11$1 = (p0) => p0.props.height;
|
|
2882
2921
|
const _hf12$1 = (p0) => p0.props.hasRowHeader;
|
|
2883
2922
|
const _hf13$1 = (p0) => p0.props.isHeader;
|
|
2884
2923
|
const _hf2$8 = (p0) => p0.props.href;
|
|
2885
|
-
const _hf3$
|
|
2924
|
+
const _hf3$7 = (p0) => p0.props.favicon;
|
|
2886
2925
|
const _hf4$4 = (p0) => p0.props.alt;
|
|
2887
2926
|
const _hf5$3 = (p0) => p0.props.level;
|
|
2888
|
-
const _hf6$
|
|
2889
|
-
const _hf7$
|
|
2927
|
+
const _hf6$2 = (p0) => p0.props.backgroundColor;
|
|
2928
|
+
const _hf7$1 = (p0) => p0.props.style ?? "unordered";
|
|
2890
2929
|
const _hf8$1 = (p0) => p0.props.cite;
|
|
2891
2930
|
const _hf9$1 = (p0) => p0.props.type;
|
|
2892
2931
|
function extractChildIds(value) {
|
|
@@ -2922,7 +2961,7 @@ const blockCatalog = basicCatalog.extend(
|
|
|
2922
2961
|
strikethrough: decoration.includes("strikethrough"),
|
|
2923
2962
|
underline: decoration.includes("underline")
|
|
2924
2963
|
}, {
|
|
2925
|
-
color: core$1._fnSignal(_hf0$
|
|
2964
|
+
color: core$1._fnSignal(_hf0$m, [
|
|
2926
2965
|
_rawProps
|
|
2927
2966
|
]),
|
|
2928
2967
|
ruby: core$1._fnSignal(_hf1$b, [
|
|
@@ -2934,7 +2973,7 @@ const blockCatalog = basicCatalog.extend(
|
|
|
2934
2973
|
href: core$1._fnSignal(_hf2$8, [
|
|
2935
2974
|
_rawProps
|
|
2936
2975
|
]),
|
|
2937
|
-
favicon: core$1._fnSignal(_hf3$
|
|
2976
|
+
favicon: core$1._fnSignal(_hf3$7, [
|
|
2938
2977
|
_rawProps
|
|
2939
2978
|
])
|
|
2940
2979
|
}, _rawProps.resolve(_rawProps.props.text), 1, "Fl_2")),
|
|
@@ -2979,17 +3018,17 @@ const blockCatalog = basicCatalog.extend(
|
|
|
2979
3018
|
defineRenderer(core.ParagraphApi, (_rawProps) => /* @__PURE__ */ core$1._jsxSorted(ElmParagraph, {
|
|
2980
3019
|
style: firstChildMargin(_rawProps.index)
|
|
2981
3020
|
}, {
|
|
2982
|
-
color: core$1._fnSignal(_hf0$
|
|
3021
|
+
color: core$1._fnSignal(_hf0$m, [
|
|
2983
3022
|
_rawProps
|
|
2984
3023
|
]),
|
|
2985
|
-
backgroundColor: core$1._fnSignal(_hf6$
|
|
3024
|
+
backgroundColor: core$1._fnSignal(_hf6$2, [
|
|
2986
3025
|
_rawProps
|
|
2987
3026
|
])
|
|
2988
3027
|
}, _rawProps.childRefs(_rawProps.props.children).map(({ id, path: path2 }, i) => /* @__PURE__ */ core$1._jsxSorted("span", null, null, _rawProps.renderChild(id, path2, i), 1, `${id}:${i}`)), 1, "Fl_7")),
|
|
2989
3028
|
defineRenderer(core.ListApi, (_rawProps) => /* @__PURE__ */ core$1._jsxSorted(ElmList, {
|
|
2990
3029
|
style: firstChildMargin(_rawProps.index)
|
|
2991
3030
|
}, {
|
|
2992
|
-
listStyle: core$1._fnSignal(_hf7$
|
|
3031
|
+
listStyle: core$1._fnSignal(_hf7$1, [
|
|
2993
3032
|
_rawProps
|
|
2994
3033
|
])
|
|
2995
3034
|
}, _rawProps.childRefs(_rawProps.props.children).map(({ id, path: path2 }, i) => /* @__PURE__ */ core$1._jsxSorted("li", null, null, _rawProps.renderChild(id, path2, i), 1, `${id}:${i}`)), 1, "Fl_8")),
|
|
@@ -3203,7 +3242,7 @@ function compactReasoningMessageEvents(events) {
|
|
|
3203
3242
|
function compactEventsExtended(events) {
|
|
3204
3243
|
return client.compactEvents(compactReasoningMessageEvents(events));
|
|
3205
3244
|
}
|
|
3206
|
-
const styles$
|
|
3245
|
+
const styles$s = {
|
|
3207
3246
|
"message-content-user-wrapper": "_message-content-user-wrapper_80z92_8",
|
|
3208
3247
|
"message-content-user-inner": "_message-content-user-inner_80z92_14",
|
|
3209
3248
|
"message-content-user-content": "_message-content-user-content_80z92_22",
|
|
@@ -3260,25 +3299,25 @@ const ElmAgUiEventRenderer = /* @__PURE__ */ core$1.componentQrl(/* @__PURE__ */
|
|
|
3260
3299
|
if (!userMsg) break;
|
|
3261
3300
|
const contents = userMsg.content;
|
|
3262
3301
|
const userInputComponent = /* @__PURE__ */ core$1._jsxSorted("div", null, {
|
|
3263
|
-
class: styles$
|
|
3302
|
+
class: styles$s["message-content-user-wrapper"]
|
|
3264
3303
|
}, /* @__PURE__ */ core$1._jsxSorted("div", null, {
|
|
3265
|
-
class: styles$
|
|
3304
|
+
class: styles$s["message-content-user-inner"]
|
|
3266
3305
|
}, [
|
|
3267
3306
|
/* @__PURE__ */ core$1._jsxSorted("div", null, {
|
|
3268
|
-
class: styles$
|
|
3307
|
+
class: styles$s["message-content-type"]
|
|
3269
3308
|
}, [
|
|
3270
3309
|
/* @__PURE__ */ core$1._jsxSorted(ElmMdiIcon, null, {
|
|
3271
|
-
class: styles$
|
|
3310
|
+
class: styles$s["message-content-icon"],
|
|
3272
3311
|
d: js.mdiAccount
|
|
3273
3312
|
}, null, 3, "Ds_3"),
|
|
3274
3313
|
/* @__PURE__ */ core$1._jsxSorted(ElmInlineText, null, null, "User", 3, "Ds_4"),
|
|
3275
3314
|
/* @__PURE__ */ core$1._jsxSorted("div", null, {
|
|
3276
3315
|
"aria-hidden": "true",
|
|
3277
|
-
class: styles$
|
|
3316
|
+
class: styles$s["message-content-spacer"]
|
|
3278
3317
|
}, null, 3, null)
|
|
3279
3318
|
], 1, null),
|
|
3280
3319
|
/* @__PURE__ */ core$1._jsxSorted("div", null, {
|
|
3281
|
-
class: styles$
|
|
3320
|
+
class: styles$s["message-content-user-content"]
|
|
3282
3321
|
}, typeof contents === "string" ? /* @__PURE__ */ core$1._jsxSorted(ElmInlineText, null, null, contents, 1, "Ds_5") : contents.map((item, i) => /* @__PURE__ */ core$1._jsxSorted("span", null, null, renderInputContent(item), 1, i)), 1, null)
|
|
3283
3322
|
], 1, null), 1, "Ds_6");
|
|
3284
3323
|
components.push(userInputComponent);
|
|
@@ -3294,14 +3333,14 @@ const ElmAgUiEventRenderer = /* @__PURE__ */ core$1.componentQrl(/* @__PURE__ */
|
|
|
3294
3333
|
};
|
|
3295
3334
|
return /* @__PURE__ */ core$1._jsxSorted("div", {
|
|
3296
3335
|
class: [
|
|
3297
|
-
styles$
|
|
3336
|
+
styles$s["elm-my-something"],
|
|
3298
3337
|
_rawProps.class
|
|
3299
3338
|
],
|
|
3300
3339
|
style: core$1._wrapProp(_rawProps, "style")
|
|
3301
3340
|
}, null, render(_rawProps.events), 1, "Ds_7");
|
|
3302
3341
|
}, "ElmAgUiEventRenderer_component_ifhto4pMkTc"));
|
|
3303
3342
|
const input$1 = "_input_1cg4b_33";
|
|
3304
|
-
const styles$
|
|
3343
|
+
const styles$r = {
|
|
3305
3344
|
"elm-ag-ui-input-wrapper": "_elm-ag-ui-input-wrapper_1cg4b_1",
|
|
3306
3345
|
"picker-container": "_picker-container_1cg4b_9",
|
|
3307
3346
|
"elm-ag-ui-input": "_elm-ag-ui-input_1cg4b_1",
|
|
@@ -3314,7 +3353,7 @@ const panel = "_panel_8yo2s_1";
|
|
|
3314
3353
|
const empty = "_empty_8yo2s_16";
|
|
3315
3354
|
const form = "_form_8yo2s_86";
|
|
3316
3355
|
const error$1 = "_error_8yo2s_135";
|
|
3317
|
-
const styles$
|
|
3356
|
+
const styles$q = {
|
|
3318
3357
|
panel,
|
|
3319
3358
|
empty,
|
|
3320
3359
|
"prompt-row": "_prompt-row_8yo2s_23",
|
|
@@ -3338,7 +3377,7 @@ const styles$r = {
|
|
|
3338
3377
|
"field-hint": "_field-hint_8yo2s_178"
|
|
3339
3378
|
};
|
|
3340
3379
|
const open = "_open_1ijyc_17";
|
|
3341
|
-
const styles$
|
|
3380
|
+
const styles$p = {
|
|
3342
3381
|
"use-modal": "_use-modal_1ijyc_1",
|
|
3343
3382
|
open
|
|
3344
3383
|
};
|
|
@@ -3399,9 +3438,9 @@ const useModal = (options = {}) => {
|
|
|
3399
3438
|
const delay2 = core$1._captures[0], hide2 = core$1._captures[1], isOpen2 = core$1._captures[2], isShown2 = core$1._captures[3];
|
|
3400
3439
|
return /* @__PURE__ */ core$1._jsxSorted("div", {
|
|
3401
3440
|
class: [
|
|
3402
|
-
styles$
|
|
3441
|
+
styles$p["use-modal"],
|
|
3403
3442
|
{
|
|
3404
|
-
[styles$
|
|
3443
|
+
[styles$p["open"]]: isShown2.value
|
|
3405
3444
|
}
|
|
3406
3445
|
],
|
|
3407
3446
|
style: {
|
|
@@ -3428,10 +3467,10 @@ const useModal = (options = {}) => {
|
|
|
3428
3467
|
toggle: toggle2
|
|
3429
3468
|
};
|
|
3430
3469
|
};
|
|
3431
|
-
const _hf0$
|
|
3470
|
+
const _hf0$l = (p0) => p0.descriptor.name;
|
|
3432
3471
|
const _hf1$a = (p0) => p0.descriptor.description;
|
|
3433
3472
|
const _hf2$7 = (p0, p1) => p1.values[p0.name] ?? "";
|
|
3434
|
-
const _hf3$
|
|
3473
|
+
const _hf3$6 = (p0) => p0.patternMessage ?? p0.description;
|
|
3435
3474
|
const _hf4$3 = (p0) => p0.submitting ? "Resolving…" : "Use prompt";
|
|
3436
3475
|
const ElmAgUiPromptPicker = /* @__PURE__ */ core$1.componentQrl(/* @__PURE__ */ core$1.inlinedQrl((_rawProps) => {
|
|
3437
3476
|
const modal2 = useModal({});
|
|
@@ -3542,12 +3581,12 @@ const ElmAgUiPromptPicker = /* @__PURE__ */ core$1.componentQrl(/* @__PURE__ */
|
|
|
3542
3581
|
return /* @__PURE__ */ core$1._jsxSorted(jsxRuntime.Fragment, null, null, [
|
|
3543
3582
|
/* @__PURE__ */ core$1._jsxSorted("div", {
|
|
3544
3583
|
class: [
|
|
3545
|
-
styles$
|
|
3584
|
+
styles$q.panel,
|
|
3546
3585
|
_rawProps.class
|
|
3547
3586
|
],
|
|
3548
3587
|
style: core$1._wrapProp(_rawProps, "style")
|
|
3549
3588
|
}, null, _rawProps.prompts.length === 0 ? /* @__PURE__ */ core$1._jsxSorted("div", null, {
|
|
3550
|
-
class: styles$
|
|
3589
|
+
class: styles$q.empty
|
|
3551
3590
|
}, "No prompts available.", 3, "O0_0") : _rawProps.prompts.map((p, idx) => {
|
|
3552
3591
|
const qrl_4294901764 = /* @__PURE__ */ core$1.inlinedQrl((_, _1, p2) => {
|
|
3553
3592
|
const onRowClick$2 = core$1._captures[0];
|
|
@@ -3557,41 +3596,41 @@ const ElmAgUiPromptPicker = /* @__PURE__ */ core$1.componentQrl(/* @__PURE__ */
|
|
|
3557
3596
|
]);
|
|
3558
3597
|
return /* @__PURE__ */ core$1._jsxSorted("div", {
|
|
3559
3598
|
class: [
|
|
3560
|
-
styles$
|
|
3561
|
-
idx === _rawProps.activeIndex && styles$
|
|
3599
|
+
styles$q["prompt-row"],
|
|
3600
|
+
idx === _rawProps.activeIndex && styles$q["prompt-row-active"]
|
|
3562
3601
|
],
|
|
3563
3602
|
"q-e:click": qrl_4294901764,
|
|
3564
3603
|
"q:p": p
|
|
3565
3604
|
}, null, [
|
|
3566
3605
|
/* @__PURE__ */ core$1._jsxSorted("div", null, {
|
|
3567
|
-
class: styles$
|
|
3606
|
+
class: styles$q["prompt-head"]
|
|
3568
3607
|
}, /* @__PURE__ */ core$1._jsxSorted("span", null, {
|
|
3569
|
-
class: styles$
|
|
3608
|
+
class: styles$q["prompt-name"]
|
|
3570
3609
|
}, core$1._wrapProp(p, "name"), 1, null), 1, null),
|
|
3571
3610
|
p.description && /* @__PURE__ */ core$1._jsxSorted("span", null, {
|
|
3572
|
-
class: styles$
|
|
3611
|
+
class: styles$q["prompt-description"]
|
|
3573
3612
|
}, core$1._wrapProp(p, "description"), 1, "O0_1")
|
|
3574
3613
|
], 4, p.key);
|
|
3575
3614
|
}), 1, null),
|
|
3576
3615
|
/* @__PURE__ */ core$1._jsxSorted(modal2.Modal, null, null, /* @__PURE__ */ core$1._jsxSorted("div", null, {
|
|
3577
|
-
class: styles$
|
|
3616
|
+
class: styles$q["modal-card"]
|
|
3578
3617
|
}, active2.descriptor && /* @__PURE__ */ core$1._jsxSorted(jsxRuntime.Fragment, null, null, [
|
|
3579
3618
|
/* @__PURE__ */ core$1._jsxSorted("div", null, {
|
|
3580
|
-
class: styles$
|
|
3619
|
+
class: styles$q["modal-header"]
|
|
3581
3620
|
}, [
|
|
3582
3621
|
/* @__PURE__ */ core$1._jsxSorted("span", null, {
|
|
3583
|
-
class: styles$
|
|
3584
|
-
}, core$1._fnSignal(_hf0$
|
|
3622
|
+
class: styles$q["modal-title"]
|
|
3623
|
+
}, core$1._fnSignal(_hf0$l, [
|
|
3585
3624
|
active2
|
|
3586
3625
|
]), 3, null),
|
|
3587
3626
|
active2.descriptor.description && /* @__PURE__ */ core$1._jsxSorted("span", null, {
|
|
3588
|
-
class: styles$
|
|
3627
|
+
class: styles$q["modal-description"]
|
|
3589
3628
|
}, core$1._fnSignal(_hf1$a, [
|
|
3590
3629
|
active2
|
|
3591
3630
|
]), 3, "O0_2")
|
|
3592
3631
|
], 1, null),
|
|
3593
3632
|
/* @__PURE__ */ core$1._jsxSorted("div", null, {
|
|
3594
|
-
class: styles$
|
|
3633
|
+
class: styles$q.form
|
|
3595
3634
|
}, [
|
|
3596
3635
|
(active2.descriptor.arguments ?? []).map((a, idx) => {
|
|
3597
3636
|
const qrl_4294901765 = /* @__PURE__ */ core$1.inlinedQrl((_, el, a2) => {
|
|
@@ -3607,14 +3646,14 @@ const ElmAgUiPromptPicker = /* @__PURE__ */ core$1.componentQrl(/* @__PURE__ */
|
|
|
3607
3646
|
active2
|
|
3608
3647
|
]);
|
|
3609
3648
|
return /* @__PURE__ */ core$1._jsxSorted("label", null, {
|
|
3610
|
-
class: styles$
|
|
3649
|
+
class: styles$q["field-label"]
|
|
3611
3650
|
}, [
|
|
3612
3651
|
/* @__PURE__ */ core$1._jsxSorted("span", null, {
|
|
3613
|
-
class: styles$
|
|
3652
|
+
class: styles$q["field-name"]
|
|
3614
3653
|
}, [
|
|
3615
3654
|
core$1._wrapProp(a, "name"),
|
|
3616
3655
|
a.required && /* @__PURE__ */ core$1._jsxSorted("span", null, {
|
|
3617
|
-
class: styles$
|
|
3656
|
+
class: styles$q["field-required"]
|
|
3618
3657
|
}, "*", 3, "O0_3")
|
|
3619
3658
|
], 1, null),
|
|
3620
3659
|
a.enum && a.enum.length > 0 ? /* @__PURE__ */ core$1._jsxSorted("select", {
|
|
@@ -3627,7 +3666,7 @@ const ElmAgUiPromptPicker = /* @__PURE__ */ core$1.componentQrl(/* @__PURE__ */
|
|
|
3627
3666
|
active2
|
|
3628
3667
|
])
|
|
3629
3668
|
}, {
|
|
3630
|
-
class: styles$
|
|
3669
|
+
class: styles$q["field-input"]
|
|
3631
3670
|
}, [
|
|
3632
3671
|
!a.required && /* @__PURE__ */ core$1._jsxSorted("option", null, {
|
|
3633
3672
|
value: ""
|
|
@@ -3647,7 +3686,7 @@ const ElmAgUiPromptPicker = /* @__PURE__ */ core$1.componentQrl(/* @__PURE__ */
|
|
|
3647
3686
|
"q-e:input": qrl_4294901766,
|
|
3648
3687
|
"q:p": a,
|
|
3649
3688
|
ref: idx === 0 ? firstFieldRef : void 0,
|
|
3650
|
-
title: core$1._fnSignal(_hf3$
|
|
3689
|
+
title: core$1._fnSignal(_hf3$6, [
|
|
3651
3690
|
a
|
|
3652
3691
|
]),
|
|
3653
3692
|
value: core$1._fnSignal(_hf2$7, [
|
|
@@ -3655,29 +3694,29 @@ const ElmAgUiPromptPicker = /* @__PURE__ */ core$1.componentQrl(/* @__PURE__ */
|
|
|
3655
3694
|
active2
|
|
3656
3695
|
])
|
|
3657
3696
|
}, {
|
|
3658
|
-
class: styles$
|
|
3697
|
+
class: styles$q["field-input"],
|
|
3659
3698
|
type: "text"
|
|
3660
3699
|
}, null, 6, "O0_6"),
|
|
3661
3700
|
a.enum && a.description && /* @__PURE__ */ core$1._jsxSorted("span", null, {
|
|
3662
|
-
class: styles$
|
|
3701
|
+
class: styles$q["field-hint"]
|
|
3663
3702
|
}, core$1._wrapProp(a, "description"), 1, "O0_7")
|
|
3664
3703
|
], 1, a.name);
|
|
3665
3704
|
}),
|
|
3666
3705
|
active2.error && /* @__PURE__ */ core$1._jsxSorted("div", null, {
|
|
3667
|
-
class: styles$
|
|
3706
|
+
class: styles$q.error
|
|
3668
3707
|
}, core$1._wrapProp(active2, "error"), 3, "O0_8")
|
|
3669
3708
|
], 1, null),
|
|
3670
3709
|
/* @__PURE__ */ core$1._jsxSorted("div", null, {
|
|
3671
|
-
class: styles$
|
|
3710
|
+
class: styles$q["form-actions"]
|
|
3672
3711
|
}, [
|
|
3673
3712
|
/* @__PURE__ */ core$1._jsxSorted("button", null, {
|
|
3674
3713
|
type: "button",
|
|
3675
|
-
class: styles$
|
|
3714
|
+
class: styles$q["cancel-button"],
|
|
3676
3715
|
"q-e:click": onCancel$
|
|
3677
3716
|
}, "Cancel", 3, null),
|
|
3678
3717
|
/* @__PURE__ */ core$1._jsxSorted("button", null, {
|
|
3679
3718
|
type: "button",
|
|
3680
|
-
class: styles$
|
|
3719
|
+
class: styles$q["use-button"],
|
|
3681
3720
|
disabled: core$1._wrapProp(active2, "submitting"),
|
|
3682
3721
|
"q-e:click": onSubmit$
|
|
3683
3722
|
}, core$1._fnSignal(_hf4$3, [
|
|
@@ -3687,10 +3726,10 @@ const ElmAgUiPromptPicker = /* @__PURE__ */ core$1.componentQrl(/* @__PURE__ */
|
|
|
3687
3726
|
], 1, "O0_9"), 1, null), 1, "O0_10")
|
|
3688
3727
|
], 1, "O0_11");
|
|
3689
3728
|
}, "ElmAgUiPromptPicker_component_rrSAnBfqqKQ"));
|
|
3690
|
-
const _hf0$
|
|
3729
|
+
const _hf0$k = (p0, p1, p2) => p0 && (p1.value || p2.value !== null);
|
|
3691
3730
|
const _hf1$9 = (p0, p1, p2) => p2.value !== null ? p1.value : p0.prompts ?? [];
|
|
3692
3731
|
const _hf2$6 = (p0, p1) => p1.value !== null ? p0.value : void 0;
|
|
3693
|
-
const _hf3$
|
|
3732
|
+
const _hf3$5 = (p0) => p0.value ? "Close prompts" : "Open prompts";
|
|
3694
3733
|
const ElmAgUiInput = /* @__PURE__ */ core$1.componentQrl(/* @__PURE__ */ core$1.inlinedQrl((_rawProps) => {
|
|
3695
3734
|
const textAreaRef = core$1.useSignal();
|
|
3696
3735
|
const isPickerOpen = core$1.useSignal(false);
|
|
@@ -3824,18 +3863,18 @@ const ElmAgUiInput = /* @__PURE__ */ core$1.componentQrl(/* @__PURE__ */ core$1.
|
|
|
3824
3863
|
]);
|
|
3825
3864
|
return /* @__PURE__ */ core$1._jsxSorted("div", {
|
|
3826
3865
|
class: [
|
|
3827
|
-
styles$
|
|
3866
|
+
styles$r["elm-ag-ui-input-wrapper"],
|
|
3828
3867
|
_rawProps.class
|
|
3829
3868
|
],
|
|
3830
3869
|
style: core$1._wrapProp(_rawProps, "style")
|
|
3831
3870
|
}, null, [
|
|
3832
3871
|
/* @__PURE__ */ core$1._jsxSorted(ElmCollapse, null, {
|
|
3833
|
-
isOpen: core$1._fnSignal(_hf0$
|
|
3872
|
+
isOpen: core$1._fnSignal(_hf0$k, [
|
|
3834
3873
|
hasPicker,
|
|
3835
3874
|
isPickerOpen,
|
|
3836
3875
|
slashRange
|
|
3837
3876
|
]),
|
|
3838
|
-
class: styles$
|
|
3877
|
+
class: styles$r["picker-container"]
|
|
3839
3878
|
}, /* @__PURE__ */ core$1._jsxSorted(ElmAgUiPromptPicker, null, {
|
|
3840
3879
|
prompts: core$1._fnSignal(_hf1$9, [
|
|
3841
3880
|
_rawProps,
|
|
@@ -3851,7 +3890,7 @@ const ElmAgUiInput = /* @__PURE__ */ core$1.componentQrl(/* @__PURE__ */ core$1.
|
|
|
3851
3890
|
}, null, 3, "C8_0"), 1, "C8_1"),
|
|
3852
3891
|
/* @__PURE__ */ core$1._jsxSorted("div", null, {
|
|
3853
3892
|
class: [
|
|
3854
|
-
styles$
|
|
3893
|
+
styles$r["elm-ag-ui-input"],
|
|
3855
3894
|
textStyles["text"]
|
|
3856
3895
|
]
|
|
3857
3896
|
}, [
|
|
@@ -3860,12 +3899,12 @@ const ElmAgUiInput = /* @__PURE__ */ core$1.componentQrl(/* @__PURE__ */ core$1.
|
|
|
3860
3899
|
}, {
|
|
3861
3900
|
name: "prompt",
|
|
3862
3901
|
"aria-label": "Prompt",
|
|
3863
|
-
class: styles$
|
|
3902
|
+
class: styles$r["input"],
|
|
3864
3903
|
"q-e:input": handleInput$,
|
|
3865
3904
|
"q-e:keydown": handleKeyDown$
|
|
3866
3905
|
}, null, 3, null),
|
|
3867
3906
|
/* @__PURE__ */ core$1._jsxSorted("div", null, {
|
|
3868
|
-
class: styles$
|
|
3907
|
+
class: styles$r["button-row"]
|
|
3869
3908
|
}, [
|
|
3870
3909
|
hasPicker && /* @__PURE__ */ core$1._jsxSorted("div", {
|
|
3871
3910
|
"q-e:click": /* @__PURE__ */ core$1.inlinedQrl((_, _1, isPickerOpen2, textAreaRef2) => {
|
|
@@ -3884,8 +3923,8 @@ const ElmAgUiInput = /* @__PURE__ */ core$1.componentQrl(/* @__PURE__ */ core$1.
|
|
|
3884
3923
|
textAreaRef
|
|
3885
3924
|
]
|
|
3886
3925
|
}, {
|
|
3887
|
-
class: styles$
|
|
3888
|
-
"aria-label": core$1._fnSignal(_hf3$
|
|
3926
|
+
class: styles$r["plus-button"],
|
|
3927
|
+
"aria-label": core$1._fnSignal(_hf3$5, [
|
|
3889
3928
|
isPickerOpen
|
|
3890
3929
|
])
|
|
3891
3930
|
}, /* @__PURE__ */ core$1._jsxSorted(ElmMdiIcon, {
|
|
@@ -3897,7 +3936,7 @@ const ElmAgUiInput = /* @__PURE__ */ core$1.componentQrl(/* @__PURE__ */ core$1.
|
|
|
3897
3936
|
/* @__PURE__ */ core$1._jsxSorted("div", {
|
|
3898
3937
|
"q-e:click": _rawProps.isRunning ? _rawProps.onAbort$ : onSubmit
|
|
3899
3938
|
}, {
|
|
3900
|
-
class: styles$
|
|
3939
|
+
class: styles$r["submit-button"]
|
|
3901
3940
|
}, /* @__PURE__ */ core$1._jsxSorted(ElmMdiIcon, {
|
|
3902
3941
|
d: _rawProps.isRunning ? js.mdiStop : js.mdiSend
|
|
3903
3942
|
}, {
|
|
@@ -3908,7 +3947,7 @@ const ElmAgUiInput = /* @__PURE__ */ core$1.componentQrl(/* @__PURE__ */ core$1.
|
|
|
3908
3947
|
], 1, null)
|
|
3909
3948
|
], 1, "C8_5");
|
|
3910
3949
|
}, "ElmAgUiInput_component_Q6DXfNqyu3E"));
|
|
3911
|
-
const styles$
|
|
3950
|
+
const styles$o = {
|
|
3912
3951
|
"message-content-assistant-wrapper": "_message-content-assistant-wrapper_1jrzm_1",
|
|
3913
3952
|
"message-content-user-wrapper": "_message-content-user-wrapper_1jrzm_8",
|
|
3914
3953
|
"message-content-user-inner": "_message-content-user-inner_1jrzm_14",
|
|
@@ -3919,10 +3958,10 @@ const styles$p = {
|
|
|
3919
3958
|
"clickable-icon": "_clickable-icon_1jrzm_51",
|
|
3920
3959
|
"reasoning-running": "_reasoning-running_1jrzm_65"
|
|
3921
3960
|
};
|
|
3922
|
-
const styles$
|
|
3961
|
+
const styles$n = {
|
|
3923
3962
|
"markdown-body": "_markdown-body_1mr56_1"
|
|
3924
3963
|
};
|
|
3925
|
-
const _hf0$
|
|
3964
|
+
const _hf0$j = (p0) => p0.ordered ? "ordered" : "unordered";
|
|
3926
3965
|
const renderByToken = (tokens) => {
|
|
3927
3966
|
const results = [];
|
|
3928
3967
|
for (let i = 0; i < tokens.length; i++) {
|
|
@@ -4003,7 +4042,7 @@ const renderByToken = (tokens) => {
|
|
|
4003
4042
|
case "list": {
|
|
4004
4043
|
const listItems = token.items.map((item, index) => /* @__PURE__ */ core$1._jsxSorted("li", null, null, renderByToken(item.tokens), 1, index));
|
|
4005
4044
|
results.push(/* @__PURE__ */ core$1._jsxSorted(ElmList, null, {
|
|
4006
|
-
listStyle: core$1._fnSignal(_hf0$
|
|
4045
|
+
listStyle: core$1._fnSignal(_hf0$j, [
|
|
4007
4046
|
token
|
|
4008
4047
|
])
|
|
4009
4048
|
}, listItems, 1, i));
|
|
@@ -4077,7 +4116,7 @@ const ElmMarkdown = /* @__PURE__ */ core$1.componentQrl(/* @__PURE__ */ core$1.i
|
|
|
4077
4116
|
]));
|
|
4078
4117
|
return /* @__PURE__ */ core$1._jsxSplit("div", {
|
|
4079
4118
|
class: [
|
|
4080
|
-
styles$
|
|
4119
|
+
styles$n["markdown-body"],
|
|
4081
4120
|
props.class
|
|
4082
4121
|
],
|
|
4083
4122
|
...core$1._getVarProps(rest)
|
|
@@ -4089,7 +4128,7 @@ const ElmMarkdown = /* @__PURE__ */ core$1.componentQrl(/* @__PURE__ */ core$1.i
|
|
|
4089
4128
|
], 0, "c0_5");
|
|
4090
4129
|
}, "ElmMarkdown_component_MjKh8ZU4JE4"));
|
|
4091
4130
|
const summary = "_summary_1ya7x_2";
|
|
4092
|
-
const styles$
|
|
4131
|
+
const styles$m = {
|
|
4093
4132
|
"elm-ag-ui-tool-execution": "_elm-ag-ui-tool-execution_1ya7x_1",
|
|
4094
4133
|
summary
|
|
4095
4134
|
};
|
|
@@ -4171,7 +4210,7 @@ function useThrottledQueue(minInterval = 200) {
|
|
|
4171
4210
|
]));
|
|
4172
4211
|
return queueRef;
|
|
4173
4212
|
}
|
|
4174
|
-
const _hf0$
|
|
4213
|
+
const _hf0$i = (p0) => ({
|
|
4175
4214
|
"--margin-block": "0",
|
|
4176
4215
|
...p0.style
|
|
4177
4216
|
});
|
|
@@ -4241,10 +4280,10 @@ const ElmAgUiToolExecution = /* @__PURE__ */ core$1.componentQrl(/* @__PURE__ */
|
|
|
4241
4280
|
]));
|
|
4242
4281
|
return /* @__PURE__ */ core$1._jsxSorted("div", {
|
|
4243
4282
|
class: [
|
|
4244
|
-
styles$
|
|
4283
|
+
styles$m["elm-ag-ui-tool-execution"],
|
|
4245
4284
|
_rawProps.class
|
|
4246
4285
|
],
|
|
4247
|
-
style: core$1._fnSignal(_hf0$
|
|
4286
|
+
style: core$1._fnSignal(_hf0$i, [
|
|
4248
4287
|
_rawProps
|
|
4249
4288
|
])
|
|
4250
4289
|
}, null, /* @__PURE__ */ core$1._jsxSorted(ElmToggle, null, {
|
|
@@ -4254,7 +4293,7 @@ const ElmAgUiToolExecution = /* @__PURE__ */ core$1.componentQrl(/* @__PURE__ */
|
|
|
4254
4293
|
/* @__PURE__ */ core$1._jsxSorted("div", {
|
|
4255
4294
|
"q:slot": "summary"
|
|
4256
4295
|
}, {
|
|
4257
|
-
class: styles$
|
|
4296
|
+
class: styles$m.summary
|
|
4258
4297
|
}, [
|
|
4259
4298
|
/* @__PURE__ */ core$1._jsxSorted(ElmMdiIcon, null, {
|
|
4260
4299
|
d: js.mdiHammerScrewdriver,
|
|
@@ -4263,10 +4302,10 @@ const ElmAgUiToolExecution = /* @__PURE__ */ core$1.componentQrl(/* @__PURE__ */
|
|
|
4263
4302
|
/* @__PURE__ */ core$1._jsxSorted(ElmInlineText, null, null, core$1._wrapProp(_rawProps, "toolName"), 1, "o2_1")
|
|
4264
4303
|
], 1, null),
|
|
4265
4304
|
/* @__PURE__ */ core$1._jsxSorted("div", null, {
|
|
4266
|
-
class: styles$
|
|
4305
|
+
class: styles$m.summary
|
|
4267
4306
|
}, [
|
|
4268
4307
|
/* @__PURE__ */ core$1._jsxSorted(ElmMdiIcon, {
|
|
4269
|
-
color: _rawProps.toolEventType === core$2.EventType.TOOL_CALL_START ? "
|
|
4308
|
+
color: _rawProps.toolEventType === core$2.EventType.TOOL_CALL_START ? "var(--elmethis-accent-info)" : "var(--elmethis-accent-success)"
|
|
4270
4309
|
}, {
|
|
4271
4310
|
d: js.mdiFunctionVariant,
|
|
4272
4311
|
size: "1rem"
|
|
@@ -4280,7 +4319,7 @@ const ElmAgUiToolExecution = /* @__PURE__ */ core$1.componentQrl(/* @__PURE__ */
|
|
|
4280
4319
|
/* @__PURE__ */ core$1._jsxSorted("div", {
|
|
4281
4320
|
"q:slot": "summary"
|
|
4282
4321
|
}, {
|
|
4283
|
-
class: styles$
|
|
4322
|
+
class: styles$m.summary
|
|
4284
4323
|
}, [
|
|
4285
4324
|
/* @__PURE__ */ core$1._jsxSorted(ElmMdiIcon, null, {
|
|
4286
4325
|
d: js.mdiCodeJson,
|
|
@@ -4294,10 +4333,10 @@ const ElmAgUiToolExecution = /* @__PURE__ */ core$1.componentQrl(/* @__PURE__ */
|
|
|
4294
4333
|
}, null, 3, "o2_6")
|
|
4295
4334
|
], 1, "o2_7"),
|
|
4296
4335
|
_rawProps.toolEventType === core$2.EventType.TOOL_CALL_START ? null : /* @__PURE__ */ core$1._jsxSorted("div", null, {
|
|
4297
|
-
class: styles$
|
|
4336
|
+
class: styles$m.summary
|
|
4298
4337
|
}, [
|
|
4299
4338
|
/* @__PURE__ */ core$1._jsxSorted(ElmMdiIcon, {
|
|
4300
|
-
color: _rawProps.toolEventType === core$2.EventType.TOOL_CALL_ARGS || _rawProps.toolEventType === core$2.EventType.TOOL_CALL_END ? "
|
|
4339
|
+
color: _rawProps.toolEventType === core$2.EventType.TOOL_CALL_ARGS || _rawProps.toolEventType === core$2.EventType.TOOL_CALL_END ? "var(--elmethis-accent-info)" : "var(--elmethis-accent-success)"
|
|
4301
4340
|
}, {
|
|
4302
4341
|
d: js.mdiWrenchClock,
|
|
4303
4342
|
size: "1rem"
|
|
@@ -4311,7 +4350,7 @@ const ElmAgUiToolExecution = /* @__PURE__ */ core$1.componentQrl(/* @__PURE__ */
|
|
|
4311
4350
|
/* @__PURE__ */ core$1._jsxSorted("div", {
|
|
4312
4351
|
"q:slot": "summary"
|
|
4313
4352
|
}, {
|
|
4314
|
-
class: styles$
|
|
4353
|
+
class: styles$m.summary
|
|
4315
4354
|
}, [
|
|
4316
4355
|
/* @__PURE__ */ core$1._jsxSorted(ElmMdiIcon, null, {
|
|
4317
4356
|
d: js.mdiCodeJson,
|
|
@@ -4326,69 +4365,6 @@ const ElmAgUiToolExecution = /* @__PURE__ */ core$1.componentQrl(/* @__PURE__ */
|
|
|
4326
4365
|
], 1, "o2_14")
|
|
4327
4366
|
], 1, "o2_15"), 1, "o2_16");
|
|
4328
4367
|
}, "ElmAgUiToolExecution_component_UlE8ZaFD82E"));
|
|
4329
|
-
const styles$m = {
|
|
4330
|
-
"use-clipboard": "_use-clipboard_1cdrt_1"
|
|
4331
|
-
};
|
|
4332
|
-
const _hf0$i = (p0) => p0.value ? "#cdb57b" : void 0;
|
|
4333
|
-
const useClipboard = (options) => {
|
|
4334
|
-
const copied = core$1.useSignal(false);
|
|
4335
|
-
const resetTimerId = core$1.useSignal(void 0);
|
|
4336
|
-
core$1.useTaskQrl(/* @__PURE__ */ core$1.inlinedQrl(({ cleanup }) => {
|
|
4337
|
-
const resetTimerId2 = core$1._captures[0];
|
|
4338
|
-
cleanup(() => {
|
|
4339
|
-
if (resetTimerId2.value !== void 0) clearTimeout(resetTimerId2.value);
|
|
4340
|
-
});
|
|
4341
|
-
}, "useClipboard_useTask_0QBF5GEj0aQ", [
|
|
4342
|
-
resetTimerId
|
|
4343
|
-
]));
|
|
4344
|
-
const copy = /* @__PURE__ */ core$1.inlinedQrl(async () => {
|
|
4345
|
-
const copied2 = core$1._captures[0], options2 = core$1._captures[1], resetTimerId2 = core$1._captures[2];
|
|
4346
|
-
if (typeof options2.content === "string") {
|
|
4347
|
-
await window.navigator.clipboard.writeText(options2.content);
|
|
4348
|
-
} else {
|
|
4349
|
-
await window.navigator.clipboard.write(options2.content.map((item) => new ClipboardItem(item)));
|
|
4350
|
-
}
|
|
4351
|
-
if (resetTimerId2.value !== void 0) {
|
|
4352
|
-
clearTimeout(resetTimerId2.value);
|
|
4353
|
-
}
|
|
4354
|
-
copied2.value = true;
|
|
4355
|
-
resetTimerId2.value = core$1.noSerialize(setTimeout(() => {
|
|
4356
|
-
copied2.value = false;
|
|
4357
|
-
resetTimerId2.value = void 0;
|
|
4358
|
-
}, options2.delay ?? 1500));
|
|
4359
|
-
}, "useClipboard_copy_lwkIxmzZUeM", [
|
|
4360
|
-
copied,
|
|
4361
|
-
options,
|
|
4362
|
-
resetTimerId
|
|
4363
|
-
]);
|
|
4364
|
-
const CopyButton = /* @__PURE__ */ core$1.componentQrl(/* @__PURE__ */ core$1.inlinedQrl(() => {
|
|
4365
|
-
const copied2 = core$1._captures[0], copy2 = core$1._captures[1], options2 = core$1._captures[2];
|
|
4366
|
-
return /* @__PURE__ */ core$1._jsxSorted("span", {
|
|
4367
|
-
class: [
|
|
4368
|
-
styles$m["use-clipboard"],
|
|
4369
|
-
options2.class
|
|
4370
|
-
],
|
|
4371
|
-
style: core$1._wrapProp(options2, "style")
|
|
4372
|
-
}, {
|
|
4373
|
-
"q-e:click": copy2
|
|
4374
|
-
}, /* @__PURE__ */ core$1._jsxSorted(ElmMdiIcon, {
|
|
4375
|
-
d: copied2.value ? js.mdiClipboardCheckOutline : js.mdiClipboardOutline
|
|
4376
|
-
}, {
|
|
4377
|
-
color: core$1._fnSignal(_hf0$i, [
|
|
4378
|
-
copied2
|
|
4379
|
-
]),
|
|
4380
|
-
size: "1.25rem"
|
|
4381
|
-
}, null, 3, "eS_0"), 1, "eS_1");
|
|
4382
|
-
}, "useClipboard_CopyButton_component_coZZtY9bwxs", [
|
|
4383
|
-
copied,
|
|
4384
|
-
copy,
|
|
4385
|
-
options
|
|
4386
|
-
]));
|
|
4387
|
-
return {
|
|
4388
|
-
CopyButton,
|
|
4389
|
-
copy
|
|
4390
|
-
};
|
|
4391
|
-
};
|
|
4392
4368
|
const ElmCopyIcon = /* @__PURE__ */ core$1.componentQrl(/* @__PURE__ */ core$1.inlinedQrl((_rawProps) => {
|
|
4393
4369
|
const clipboard = useClipboard({
|
|
4394
4370
|
class: _rawProps.class,
|
|
@@ -4398,13 +4374,13 @@ const ElmCopyIcon = /* @__PURE__ */ core$1.componentQrl(/* @__PURE__ */ core$1.i
|
|
|
4398
4374
|
return /* @__PURE__ */ core$1._jsxSorted(clipboard.CopyButton, null, null, null, 3, "83_0");
|
|
4399
4375
|
}, "ElmCopyIcon_component_F4DnU406zxQ"));
|
|
4400
4376
|
const image = "_image_1lvlw_30";
|
|
4401
|
-
const text$
|
|
4377
|
+
const text$2 = "_text_1lvlw_36";
|
|
4402
4378
|
const styles$l = {
|
|
4403
4379
|
"elm-ag-ui-input-content": "_elm-ag-ui-input-content_1lvlw_1",
|
|
4404
4380
|
"media-component-container": "_media-component-container_1lvlw_8",
|
|
4405
4381
|
"media-component": "_media-component_1lvlw_8",
|
|
4406
4382
|
image,
|
|
4407
|
-
text: text$
|
|
4383
|
+
text: text$2,
|
|
4408
4384
|
"type-icon": "_type-icon_1lvlw_50",
|
|
4409
4385
|
"mime-type-label": "_mime-type-label_1lvlw_57",
|
|
4410
4386
|
"message-content-user-content": "_message-content-user-content_1lvlw_87"
|
|
@@ -4503,7 +4479,7 @@ const ElmAgUiInputContent = /* @__PURE__ */ core$1.componentQrl(/* @__PURE__ */
|
|
|
4503
4479
|
const _hf0$g = (p0) => p0.function.name;
|
|
4504
4480
|
const _hf1$7 = (p0) => p0.function.arguments;
|
|
4505
4481
|
const _hf2$5 = (p0) => p0?.content;
|
|
4506
|
-
const _hf3$
|
|
4482
|
+
const _hf3$4 = (p0, p1) => p0.messages.length - 1 === p1;
|
|
4507
4483
|
const ElmAgUiMessageRenderer = /* @__PURE__ */ core$1.componentQrl(/* @__PURE__ */ core$1.inlinedQrl((_rawProps) => {
|
|
4508
4484
|
const renderTool = (toolCall, messages2) => {
|
|
4509
4485
|
let toolEventType = core$2.EventType.TOOL_CALL_START;
|
|
@@ -4541,19 +4517,19 @@ const ElmAgUiMessageRenderer = /* @__PURE__ */ core$1.componentQrl(/* @__PURE__
|
|
|
4541
4517
|
return /* @__PURE__ */ core$1._jsxSorted(jsxRuntime.Fragment, null, null, [
|
|
4542
4518
|
message2.toolCalls?.map((toolCall) => renderTool(toolCall, _rawProps.messages)),
|
|
4543
4519
|
message2.content != null && /* @__PURE__ */ core$1._jsxSorted("div", null, {
|
|
4544
|
-
class: styles$
|
|
4520
|
+
class: styles$o["message-content-assistant-wrapper"]
|
|
4545
4521
|
}, [
|
|
4546
4522
|
/* @__PURE__ */ core$1._jsxSorted("div", null, {
|
|
4547
|
-
class: styles$
|
|
4523
|
+
class: styles$o["message-content-type"]
|
|
4548
4524
|
}, [
|
|
4549
4525
|
/* @__PURE__ */ core$1._jsxSorted(ElmMdiIcon, null, {
|
|
4550
|
-
class: styles$
|
|
4526
|
+
class: styles$o["message-content-icon"],
|
|
4551
4527
|
d: js.mdiCreation
|
|
4552
4528
|
}, null, 3, "nO_2"),
|
|
4553
4529
|
/* @__PURE__ */ core$1._jsxSorted(ElmInlineText, null, null, "Assistant", 3, "nO_3"),
|
|
4554
4530
|
/* @__PURE__ */ core$1._jsxSorted("div", null, {
|
|
4555
4531
|
"aria-hidden": "true",
|
|
4556
|
-
class: styles$
|
|
4532
|
+
class: styles$o["message-content-spacer"]
|
|
4557
4533
|
}, null, 3, null)
|
|
4558
4534
|
], 1, null),
|
|
4559
4535
|
/* @__PURE__ */ core$1._jsxSorted(ElmMarkdown, null, {
|
|
@@ -4561,7 +4537,7 @@ const ElmAgUiMessageRenderer = /* @__PURE__ */ core$1.componentQrl(/* @__PURE__
|
|
|
4561
4537
|
streaming: true
|
|
4562
4538
|
}, null, 3, "nO_4"),
|
|
4563
4539
|
!_rawProps.isRunning && /* @__PURE__ */ core$1._jsxSorted("div", null, {
|
|
4564
|
-
class: styles$
|
|
4540
|
+
class: styles$o["message-content-assistant-actions"]
|
|
4565
4541
|
}, [
|
|
4566
4542
|
/* @__PURE__ */ core$1._jsxSorted(ElmCopyIcon, null, {
|
|
4567
4543
|
content: core$1._wrapProp(message2, "content")
|
|
@@ -4569,7 +4545,7 @@ const ElmAgUiMessageRenderer = /* @__PURE__ */ core$1.componentQrl(/* @__PURE__
|
|
|
4569
4545
|
/* @__PURE__ */ core$1._jsxSorted("span", {
|
|
4570
4546
|
"q-e:click": _rawProps.handleRetry$
|
|
4571
4547
|
}, {
|
|
4572
|
-
class: styles$
|
|
4548
|
+
class: styles$o["clickable-icon"]
|
|
4573
4549
|
}, /* @__PURE__ */ core$1._jsxSorted(ElmMdiIcon, null, {
|
|
4574
4550
|
d: js.mdiRefresh,
|
|
4575
4551
|
size: "1.25rem"
|
|
@@ -4629,22 +4605,22 @@ const ElmAgUiMessageRenderer = /* @__PURE__ */ core$1.componentQrl(/* @__PURE__
|
|
|
4629
4605
|
/* @__PURE__ */ core$1._jsxSorted("div", {
|
|
4630
4606
|
"q:slot": "summary"
|
|
4631
4607
|
}, {
|
|
4632
|
-
class: styles$
|
|
4608
|
+
class: styles$o["message-content-type"]
|
|
4633
4609
|
}, [
|
|
4634
4610
|
/* @__PURE__ */ core$1._jsxSorted(ElmMdiIcon, null, {
|
|
4635
|
-
class: styles$
|
|
4611
|
+
class: styles$o["message-content-icon"],
|
|
4636
4612
|
d: js.mdiLightbulbOn
|
|
4637
4613
|
}, null, 3, "nO_12"),
|
|
4638
4614
|
/* @__PURE__ */ core$1._jsxSorted(ElmInlineText, null, null, "Reasoning", 3, "nO_13"),
|
|
4639
4615
|
/* @__PURE__ */ core$1._jsxSorted("div", null, {
|
|
4640
4616
|
"aria-hidden": "true",
|
|
4641
|
-
class: styles$
|
|
4617
|
+
class: styles$o["message-content-spacer"]
|
|
4642
4618
|
}, null, 3, null)
|
|
4643
4619
|
], 1, null),
|
|
4644
4620
|
/* @__PURE__ */ core$1._jsxSorted("div", {
|
|
4645
4621
|
class: [
|
|
4646
4622
|
{
|
|
4647
|
-
[styles$
|
|
4623
|
+
[styles$o["reasoning-running"]]: props.isReasoningRunning
|
|
4648
4624
|
}
|
|
4649
4625
|
],
|
|
4650
4626
|
ref: reasoningRef
|
|
@@ -4654,7 +4630,7 @@ const ElmAgUiMessageRenderer = /* @__PURE__ */ core$1.componentQrl(/* @__PURE__
|
|
|
4654
4630
|
], 1, "nO_15");
|
|
4655
4631
|
}, "ElmAgUiMessageRenderer_component_render_Reasoning_component_aNX9iol0O8o"));
|
|
4656
4632
|
return /* @__PURE__ */ core$1._jsxSorted(Reasoning, null, {
|
|
4657
|
-
isReasoningRunning: core$1._fnSignal(_hf3$
|
|
4633
|
+
isReasoningRunning: core$1._fnSignal(_hf3$4, [
|
|
4658
4634
|
_rawProps,
|
|
4659
4635
|
index
|
|
4660
4636
|
]),
|
|
@@ -4676,21 +4652,21 @@ const ElmAgUiMessageRenderer = /* @__PURE__ */ core$1.componentQrl(/* @__PURE__
|
|
|
4676
4652
|
return "";
|
|
4677
4653
|
};
|
|
4678
4654
|
return /* @__PURE__ */ core$1._jsxSorted("div", null, {
|
|
4679
|
-
class: styles$
|
|
4655
|
+
class: styles$o["message-content-user-wrapper"]
|
|
4680
4656
|
}, /* @__PURE__ */ core$1._jsxSorted("div", null, {
|
|
4681
|
-
class: styles$
|
|
4657
|
+
class: styles$o["message-content-user-inner"]
|
|
4682
4658
|
}, [
|
|
4683
4659
|
/* @__PURE__ */ core$1._jsxSorted("div", null, {
|
|
4684
|
-
class: styles$
|
|
4660
|
+
class: styles$o["message-content-type"]
|
|
4685
4661
|
}, [
|
|
4686
4662
|
/* @__PURE__ */ core$1._jsxSorted(ElmMdiIcon, null, {
|
|
4687
|
-
class: styles$
|
|
4663
|
+
class: styles$o["message-content-icon"],
|
|
4688
4664
|
d: js.mdiAccount
|
|
4689
4665
|
}, null, 3, "nO_17"),
|
|
4690
4666
|
/* @__PURE__ */ core$1._jsxSorted(ElmInlineText, null, null, "User", 3, "nO_18"),
|
|
4691
4667
|
/* @__PURE__ */ core$1._jsxSorted("div", null, {
|
|
4692
4668
|
"aria-hidden": "true",
|
|
4693
|
-
class: styles$
|
|
4669
|
+
class: styles$o["message-content-spacer"]
|
|
4694
4670
|
}, null, 3, null)
|
|
4695
4671
|
], 1, null),
|
|
4696
4672
|
/* @__PURE__ */ core$1._jsxSorted(ElmAgUiInputContent, null, {
|
|
@@ -4705,24 +4681,25 @@ const ElmAgUiMessageRenderer = /* @__PURE__ */ core$1.componentQrl(/* @__PURE__
|
|
|
4705
4681
|
};
|
|
4706
4682
|
return /* @__PURE__ */ core$1._jsxSorted("div", {
|
|
4707
4683
|
class: [
|
|
4708
|
-
styles$
|
|
4684
|
+
styles$o["elm-my-something"],
|
|
4709
4685
|
_rawProps.class
|
|
4710
4686
|
],
|
|
4711
4687
|
style: core$1._wrapProp(_rawProps, "style")
|
|
4712
4688
|
}, null, _rawProps.messages.map((msg, i) => /* @__PURE__ */ core$1._jsxSorted("div", null, null, render(msg, i), 1, msg.id ?? i)), 1, "nO_22");
|
|
4713
4689
|
}, "ElmAgUiMessageRenderer_component_0OscNQKsfZA"));
|
|
4714
|
-
const messages = "
|
|
4715
|
-
const error = "
|
|
4690
|
+
const messages = "_messages_907xd_20";
|
|
4691
|
+
const error = "_error_907xd_27";
|
|
4716
4692
|
const styles$k = {
|
|
4717
|
-
"use-agent": "_use-
|
|
4718
|
-
"agent-container": "_agent-
|
|
4693
|
+
"use-agent": "_use-agent_907xd_1",
|
|
4694
|
+
"agent-container": "_agent-container_907xd_14",
|
|
4719
4695
|
messages,
|
|
4720
4696
|
error,
|
|
4721
|
-
"agent-input-container": "_agent-input-
|
|
4722
|
-
"agent-input": "_agent-
|
|
4723
|
-
"prompt-template-container": "_prompt-template-
|
|
4724
|
-
"prompt-template-tip": "_prompt-template-
|
|
4725
|
-
"
|
|
4697
|
+
"agent-input-container": "_agent-input-container_907xd_40",
|
|
4698
|
+
"agent-input": "_agent-input_907xd_40",
|
|
4699
|
+
"prompt-template-container": "_prompt-template-container_907xd_52",
|
|
4700
|
+
"prompt-template-tip": "_prompt-template-tip_907xd_61",
|
|
4701
|
+
"prompt-template-tip-icon": "_prompt-template-tip-icon_907xd_71",
|
|
4702
|
+
"clickable-icon": "_clickable-icon_907xd_84"
|
|
4726
4703
|
};
|
|
4727
4704
|
const _hf0$f = (p0) => ({
|
|
4728
4705
|
"--agent-ui-width": p0.width ?? "clamp(300px, 100%, 600px)",
|
|
@@ -4730,7 +4707,7 @@ const _hf0$f = (p0) => ({
|
|
|
4730
4707
|
});
|
|
4731
4708
|
const _hf1$6 = (p0) => p0.state.isRunning;
|
|
4732
4709
|
const _hf2$4 = (p0) => p0.state.messages;
|
|
4733
|
-
const _hf3$
|
|
4710
|
+
const _hf3$3 = (p0) => p0.state.error;
|
|
4734
4711
|
const ElmAgUiAgent = /* @__PURE__ */ core$1.componentQrl(/* @__PURE__ */ core$1.inlinedQrl((props) => {
|
|
4735
4712
|
const input2 = core$1.useSignal("");
|
|
4736
4713
|
const containerRef = core$1.useSignal();
|
|
@@ -4817,14 +4794,14 @@ const ElmAgUiAgent = /* @__PURE__ */ core$1.componentQrl(/* @__PURE__ */ core$1.
|
|
|
4817
4794
|
}, [
|
|
4818
4795
|
/* @__PURE__ */ core$1._jsxSorted(ElmMdiIcon, null, {
|
|
4819
4796
|
d: js.mdiAlert,
|
|
4820
|
-
color: "
|
|
4797
|
+
color: "var(--elmethis-accent-error)",
|
|
4821
4798
|
style: {
|
|
4822
4799
|
flexShrink: 0
|
|
4823
4800
|
}
|
|
4824
4801
|
}, null, 3, "Oj_1"),
|
|
4825
4802
|
/* @__PURE__ */ core$1._jsxSorted(ElmInlineText, null, {
|
|
4826
|
-
color: "
|
|
4827
|
-
}, core$1._fnSignal(_hf3$
|
|
4803
|
+
color: "var(--elmethis-accent-error)"
|
|
4804
|
+
}, core$1._fnSignal(_hf3$3, [
|
|
4828
4805
|
props
|
|
4829
4806
|
]), 1, "Oj_2")
|
|
4830
4807
|
], 1, null),
|
|
@@ -4852,8 +4829,8 @@ const ElmAgUiAgent = /* @__PURE__ */ core$1.componentQrl(/* @__PURE__ */ core$1.
|
|
|
4852
4829
|
"q-e:click": onTemplateClick$
|
|
4853
4830
|
}, [
|
|
4854
4831
|
/* @__PURE__ */ core$1._jsxSorted(ElmMdiIcon, null, {
|
|
4855
|
-
|
|
4856
|
-
|
|
4832
|
+
class: styles$k["prompt-template-tip-icon"],
|
|
4833
|
+
d: js.mdiForumOutline
|
|
4857
4834
|
}, null, 3, "Oj_5"),
|
|
4858
4835
|
/* @__PURE__ */ core$1._jsxSorted(ElmInlineText, null, null, core$1._wrapProp(template, "description"), 1, "Oj_6")
|
|
4859
4836
|
], 1, index)), 1, "Oj_7"),
|
|
@@ -5601,23 +5578,21 @@ const ElmTooltip = /* @__PURE__ */ core$1.componentQrl(/* @__PURE__ */ core$1.in
|
|
|
5601
5578
|
const styles$g = {
|
|
5602
5579
|
"block-fallback": "_block-fallback_1xthk_1"
|
|
5603
5580
|
};
|
|
5604
|
-
const wrapper$5 = "
|
|
5605
|
-
const dot = "
|
|
5581
|
+
const wrapper$5 = "_wrapper_1tt16_15";
|
|
5582
|
+
const dot = "_dot_1tt16_25";
|
|
5606
5583
|
const styles$f = {
|
|
5607
5584
|
wrapper: wrapper$5,
|
|
5608
5585
|
dot
|
|
5609
5586
|
};
|
|
5610
5587
|
const _hf0$d = (p0) => ({
|
|
5611
5588
|
"--elmethis-scoped-size": p0.size ?? "4em",
|
|
5612
|
-
"--elmethis-scoped-color": p0.color ?? "#606875",
|
|
5613
5589
|
...p0.style
|
|
5614
5590
|
});
|
|
5615
5591
|
const ElmDotLoadingIcon = /* @__PURE__ */ core$1.componentQrl(/* @__PURE__ */ core$1.inlinedQrl((_rawProps) => {
|
|
5616
5592
|
const props = core$1._restProps(_rawProps, [
|
|
5617
5593
|
"class",
|
|
5618
5594
|
"style",
|
|
5619
|
-
"size"
|
|
5620
|
-
"color"
|
|
5595
|
+
"size"
|
|
5621
5596
|
]);
|
|
5622
5597
|
return /* @__PURE__ */ core$1._jsxSplit("span", {
|
|
5623
5598
|
class: [
|
|
@@ -5667,16 +5642,15 @@ const ElmBlockFallback = /* @__PURE__ */ core$1.componentQrl(/* @__PURE__ */ cor
|
|
|
5667
5642
|
/* @__PURE__ */ core$1._jsxSorted(ElmRectangleWave, null, null, null, 3, "Jl_1")
|
|
5668
5643
|
], 0, "Jl_2");
|
|
5669
5644
|
}, "ElmBlockFallback_component_R0mGF6D5fyk"));
|
|
5670
|
-
const button = "
|
|
5671
|
-
const normal = "
|
|
5672
|
-
const primary = "
|
|
5673
|
-
const colored = "
|
|
5674
|
-
const enable = "
|
|
5675
|
-
const flex = "
|
|
5676
|
-
const ripple = "
|
|
5645
|
+
const button = "_button_1739c_1";
|
|
5646
|
+
const normal = "_normal_1739c_23";
|
|
5647
|
+
const primary = "_primary_1739c_28";
|
|
5648
|
+
const colored = "_colored_1739c_33";
|
|
5649
|
+
const enable = "_enable_1739c_37";
|
|
5650
|
+
const flex = "_flex_1739c_68";
|
|
5651
|
+
const ripple = "_ripple_1739c_92";
|
|
5677
5652
|
const styles$e = {
|
|
5678
5653
|
button,
|
|
5679
|
-
"button-ornament": "_button-ornament_bc88k_23",
|
|
5680
5654
|
normal,
|
|
5681
5655
|
primary,
|
|
5682
5656
|
colored,
|
|
@@ -5735,10 +5709,7 @@ const ElmButton = /* @__PURE__ */ core$1.componentQrl(/* @__PURE__ */ core$1.inl
|
|
|
5735
5709
|
size: "1.5rem"
|
|
5736
5710
|
}, null, 3, "3N_1") : /* @__PURE__ */ core$1._jsxSorted("span", null, {
|
|
5737
5711
|
class: styles$e.flex
|
|
5738
|
-
}, /* @__PURE__ */ core$1._jsxSorted(core$1.Slot, null, null, null, 3, "3N_2"), 1, "3N_3")
|
|
5739
|
-
/* @__PURE__ */ core$1._jsxSorted("span", null, {
|
|
5740
|
-
class: styles$e["button-ornament"]
|
|
5741
|
-
}, null, 3, null)
|
|
5712
|
+
}, /* @__PURE__ */ core$1._jsxSorted(core$1.Slot, null, null, null, 3, "3N_2"), 1, "3N_3")
|
|
5742
5713
|
], 0, "3N_4");
|
|
5743
5714
|
}, "ElmButton_component_f1UuOse0UGw"));
|
|
5744
5715
|
const container$2 = "_container_1rbc2_1";
|
|
@@ -5934,32 +5905,30 @@ const ElmCheckbox = /* @__PURE__ */ core$1.componentQrl(/* @__PURE__ */ core$1.i
|
|
|
5934
5905
|
/* @__PURE__ */ core$1._jsxSorted(ElmInlineText, null, null, core$1._wrapProp(props, "label"), 1, "UZ_1")
|
|
5935
5906
|
], 1, null), 0, "UZ_2");
|
|
5936
5907
|
}, "ElmCheckbox_component_a3MV4MkaYBo"));
|
|
5937
|
-
const wrapper$4 = "
|
|
5938
|
-
const
|
|
5939
|
-
const
|
|
5940
|
-
const
|
|
5941
|
-
const
|
|
5942
|
-
const
|
|
5943
|
-
const
|
|
5908
|
+
const wrapper$4 = "_wrapper_1nmfl_1";
|
|
5909
|
+
const disabled$3 = "_disabled_1nmfl_23";
|
|
5910
|
+
const active$2 = "_active_1nmfl_27";
|
|
5911
|
+
const label = "_label_1nmfl_31";
|
|
5912
|
+
const body$2 = "_body_1nmfl_49";
|
|
5913
|
+
const fallback = "_fallback_1nmfl_66";
|
|
5914
|
+
const pulldown = "_pulldown_1nmfl_74";
|
|
5915
|
+
const option = "_option_1nmfl_59";
|
|
5944
5916
|
const styles$c = {
|
|
5945
5917
|
wrapper: wrapper$4,
|
|
5918
|
+
disabled: disabled$3,
|
|
5946
5919
|
active: active$2,
|
|
5947
5920
|
label,
|
|
5948
|
-
"label-active": "_label-
|
|
5921
|
+
"label-active": "_label-active_1nmfl_44",
|
|
5949
5922
|
body: body$2,
|
|
5950
|
-
"selected-option": "_selected-
|
|
5951
|
-
"option-content": "_option-
|
|
5923
|
+
"selected-option": "_selected-option_1nmfl_56",
|
|
5924
|
+
"option-content": "_option-content_1nmfl_59",
|
|
5952
5925
|
fallback,
|
|
5953
5926
|
pulldown,
|
|
5954
5927
|
option
|
|
5955
5928
|
};
|
|
5956
|
-
const _hf0$a = (p0) =>
|
|
5957
|
-
|
|
5958
|
-
|
|
5959
|
-
});
|
|
5960
|
-
const _hf1$5 = (p0) => p0.value.icon;
|
|
5961
|
-
const _hf2$3 = (p0) => p0.value.label;
|
|
5962
|
-
const _hf3$3 = (p0) => p0.placeholder ?? "Select an option";
|
|
5929
|
+
const _hf0$a = (p0) => p0.value.icon;
|
|
5930
|
+
const _hf1$5 = (p0) => p0.value.label;
|
|
5931
|
+
const _hf2$3 = (p0) => p0.placeholder ?? "Select an option";
|
|
5963
5932
|
const ElmSelect = /* @__PURE__ */ core$1.componentQrl(/* @__PURE__ */ core$1.inlinedQrl((props) => {
|
|
5964
5933
|
const rest = core$1._restProps(props, [
|
|
5965
5934
|
"class",
|
|
@@ -5999,11 +5968,12 @@ const ElmSelect = /* @__PURE__ */ core$1.componentQrl(/* @__PURE__ */ core$1.inl
|
|
|
5999
5968
|
class: [
|
|
6000
5969
|
styles$c.wrapper,
|
|
6001
5970
|
isOpen.value && styles$c.active,
|
|
6002
|
-
props.class
|
|
5971
|
+
props.class,
|
|
5972
|
+
{
|
|
5973
|
+
[styles$c.disabled]: props.disabled || props.loading
|
|
5974
|
+
}
|
|
6003
5975
|
],
|
|
6004
|
-
style: core$1.
|
|
6005
|
-
props
|
|
6006
|
-
]),
|
|
5976
|
+
style: core$1._wrapProp(props, "style"),
|
|
6007
5977
|
"q-e:click": /* @__PURE__ */ core$1.inlinedQrl(() => {
|
|
6008
5978
|
const isOpen2 = core$1._captures[0], props2 = core$1._captures[1];
|
|
6009
5979
|
if (!props2.disabled && !props2.loading) {
|
|
@@ -6043,16 +6013,16 @@ const ElmSelect = /* @__PURE__ */ core$1.componentQrl(/* @__PURE__ */ core$1.inl
|
|
|
6043
6013
|
class: styles$c["option-content"]
|
|
6044
6014
|
}, [
|
|
6045
6015
|
selectedOption.value.icon && /* @__PURE__ */ core$1._jsxSorted(ElmInlineIcon, null, {
|
|
6046
|
-
src: core$1._fnSignal(
|
|
6016
|
+
src: core$1._fnSignal(_hf0$a, [
|
|
6047
6017
|
selectedOption
|
|
6048
6018
|
])
|
|
6049
6019
|
}, null, 3, "5b_2"),
|
|
6050
|
-
/* @__PURE__ */ core$1._jsxSorted(ElmInlineText, null, null, core$1._fnSignal(
|
|
6020
|
+
/* @__PURE__ */ core$1._jsxSorted(ElmInlineText, null, null, core$1._fnSignal(_hf1$5, [
|
|
6051
6021
|
selectedOption
|
|
6052
6022
|
]), 3, "5b_3")
|
|
6053
6023
|
], 1, selectedOption.value.id) : /* @__PURE__ */ core$1._jsxSorted("div", null, {
|
|
6054
6024
|
class: styles$c.fallback
|
|
6055
|
-
}, /* @__PURE__ */ core$1._jsxSorted("span", null, null, core$1._fnSignal(
|
|
6025
|
+
}, /* @__PURE__ */ core$1._jsxSorted("span", null, null, core$1._fnSignal(_hf2$3, [
|
|
6056
6026
|
props
|
|
6057
6027
|
]), 1, null), 1, "5b_4"), 1, null),
|
|
6058
6028
|
/* @__PURE__ */ core$1._jsxSorted(ElmMdiIcon, null, {
|
|
@@ -6083,7 +6053,7 @@ const ElmSelect = /* @__PURE__ */ core$1.componentQrl(/* @__PURE__ */ core$1.inl
|
|
|
6083
6053
|
}, [
|
|
6084
6054
|
/* @__PURE__ */ core$1._jsxSorted(ElmMdiIcon, null, {
|
|
6085
6055
|
d: js.mdiChevronRight,
|
|
6086
|
-
color: "var(--elmethis-color-
|
|
6056
|
+
color: "var(--elmethis-color-primary-common-fg-weak)",
|
|
6087
6057
|
size: "0.75em"
|
|
6088
6058
|
}, null, 3, "5b_6"),
|
|
6089
6059
|
option2.icon && /* @__PURE__ */ core$1._jsxSorted(ElmInlineIcon, {
|
|
@@ -6097,13 +6067,13 @@ const ElmSelect = /* @__PURE__ */ core$1.componentQrl(/* @__PURE__ */ core$1.inl
|
|
|
6097
6067
|
}, "ElmSelect_component_5jGhwsE6oU0"));
|
|
6098
6068
|
const bar = "_bar_6xrsu_5";
|
|
6099
6069
|
const checked = "_checked_6xrsu_19";
|
|
6100
|
-
const disabled = "_disabled_6xrsu_24";
|
|
6070
|
+
const disabled$2 = "_disabled_6xrsu_24";
|
|
6101
6071
|
const circle = "_circle_6xrsu_29";
|
|
6102
6072
|
const styles$b = {
|
|
6103
6073
|
"switch": "_switch_6xrsu_1",
|
|
6104
6074
|
bar,
|
|
6105
6075
|
checked,
|
|
6106
|
-
disabled,
|
|
6076
|
+
disabled: disabled$2,
|
|
6107
6077
|
circle
|
|
6108
6078
|
};
|
|
6109
6079
|
const _hf0$9 = (p0) => p0.checked.value;
|
|
@@ -6116,7 +6086,7 @@ const ElmSwitch = /* @__PURE__ */ core$1.componentQrl(/* @__PURE__ */ core$1.inl
|
|
|
6116
6086
|
"disabled",
|
|
6117
6087
|
"checked"
|
|
6118
6088
|
]);
|
|
6119
|
-
const resolvedColor = props.color ?? "var(--elmethis-color-primary)";
|
|
6089
|
+
const resolvedColor = props.color ?? "var(--elmethis-color-primary-common-fg)";
|
|
6120
6090
|
const resolvedSize = props.size ?? "18px";
|
|
6121
6091
|
return /* @__PURE__ */ core$1._jsxSplit("div", {
|
|
6122
6092
|
"q-e:click": /* @__PURE__ */ core$1.inlinedQrl(() => {
|
|
@@ -6161,37 +6131,35 @@ const ElmSwitch = /* @__PURE__ */ core$1.componentQrl(/* @__PURE__ */ core$1.inl
|
|
|
6161
6131
|
}, null, null, 3, null), 1, null)
|
|
6162
6132
|
], 0, "hS_0");
|
|
6163
6133
|
}, "ElmSwitch_component_vkfpyHRHmhQ"));
|
|
6164
|
-
const loading$1 = "
|
|
6165
|
-
const wrapper$3 = "
|
|
6166
|
-
const
|
|
6167
|
-
const
|
|
6168
|
-
const
|
|
6169
|
-
const
|
|
6170
|
-
const
|
|
6134
|
+
const loading$1 = "_loading_vywzw_23";
|
|
6135
|
+
const wrapper$3 = "_wrapper_vywzw_37";
|
|
6136
|
+
const disabled$1 = "_disabled_vywzw_59";
|
|
6137
|
+
const active$1 = "_active_vywzw_63";
|
|
6138
|
+
const header$1 = "_header_vywzw_73";
|
|
6139
|
+
const requierd$1 = "_requierd_vywzw_91";
|
|
6140
|
+
const body$1 = "_body_vywzw_97";
|
|
6141
|
+
const textarea = "_textarea_vywzw_102";
|
|
6171
6142
|
const styles$a = {
|
|
6172
6143
|
loading: loading$1,
|
|
6173
6144
|
wrapper: wrapper$3,
|
|
6145
|
+
disabled: disabled$1,
|
|
6174
6146
|
active: active$1,
|
|
6175
6147
|
header: header$1,
|
|
6176
|
-
"label-active": "_label-
|
|
6148
|
+
"label-active": "_label-active_vywzw_86",
|
|
6177
6149
|
requierd: requierd$1,
|
|
6178
6150
|
body: body$1,
|
|
6179
6151
|
textarea
|
|
6180
6152
|
};
|
|
6181
|
-
const _hf0$8 = (p0) => (
|
|
6182
|
-
|
|
6183
|
-
|
|
6184
|
-
|
|
6185
|
-
const
|
|
6186
|
-
const
|
|
6187
|
-
const _hf3$2 = (p0) => p0.value?.value;
|
|
6188
|
-
const _hf4$2 = (p0) => p0.rows ?? 3;
|
|
6189
|
-
const _hf5$2 = (p0) => p0.disabled || p0.loading;
|
|
6190
|
-
const _hf6$2 = (p0) => ({
|
|
6153
|
+
const _hf0$8 = (p0) => p0.maxLength != null && p0.value.value.length > p0.maxLength ? "var(--elmethis-accent-error)" : "gray";
|
|
6154
|
+
const _hf1$4 = (p0) => p0.maxLength != null ? `${p0.value.value.length} / ${p0.maxLength}` : `${p0.value.value.length}`;
|
|
6155
|
+
const _hf2$2 = (p0) => p0.value?.value;
|
|
6156
|
+
const _hf3$2 = (p0) => p0.rows ?? 3;
|
|
6157
|
+
const _hf4$2 = (p0) => p0.disabled || p0.loading;
|
|
6158
|
+
const _hf5$2 = (p0) => ({
|
|
6191
6159
|
cursor: p0.disabled ? "not-allowed" : p0.loading ? "progress" : "auto"
|
|
6192
6160
|
});
|
|
6193
|
-
const
|
|
6194
|
-
opacity: p0.loading ?
|
|
6161
|
+
const _hf6$1 = (p0) => ({
|
|
6162
|
+
opacity: p0.loading ? 1 : 0
|
|
6195
6163
|
});
|
|
6196
6164
|
const ElmTextArea = /* @__PURE__ */ core$1.componentQrl(/* @__PURE__ */ core$1.inlinedQrl((props) => {
|
|
6197
6165
|
const rest = core$1._restProps(props, [
|
|
@@ -6211,11 +6179,12 @@ const ElmTextArea = /* @__PURE__ */ core$1.componentQrl(/* @__PURE__ */ core$1.i
|
|
|
6211
6179
|
class: [
|
|
6212
6180
|
styles$a.wrapper,
|
|
6213
6181
|
isFocused.value && styles$a.active,
|
|
6214
|
-
props.class
|
|
6182
|
+
props.class,
|
|
6183
|
+
{
|
|
6184
|
+
[styles$a.disabled]: props.disabled || props.loading
|
|
6185
|
+
}
|
|
6215
6186
|
],
|
|
6216
|
-
style: core$1.
|
|
6217
|
-
props
|
|
6218
|
-
]),
|
|
6187
|
+
style: core$1._wrapProp(props, "style"),
|
|
6219
6188
|
...core$1._getVarProps(rest)
|
|
6220
6189
|
}, core$1._getConstProps(rest), [
|
|
6221
6190
|
/* @__PURE__ */ core$1._jsxSorted("span", {
|
|
@@ -6239,11 +6208,11 @@ const ElmTextArea = /* @__PURE__ */ core$1.componentQrl(/* @__PURE__ */ core$1.i
|
|
|
6239
6208
|
}, "*", 3, "RT_2")
|
|
6240
6209
|
], 1, null),
|
|
6241
6210
|
props.value != null && /* @__PURE__ */ core$1._jsxSorted(ElmInlineText, null, {
|
|
6242
|
-
color: core$1._fnSignal(
|
|
6211
|
+
color: core$1._fnSignal(_hf0$8, [
|
|
6243
6212
|
props
|
|
6244
6213
|
]),
|
|
6245
6214
|
size: "0.75rem"
|
|
6246
|
-
}, core$1._fnSignal(
|
|
6215
|
+
}, core$1._fnSignal(_hf1$4, [
|
|
6247
6216
|
props
|
|
6248
6217
|
]), 1, "RT_3")
|
|
6249
6218
|
], 1, null),
|
|
@@ -6251,7 +6220,7 @@ const ElmTextArea = /* @__PURE__ */ core$1.componentQrl(/* @__PURE__ */ core$1.i
|
|
|
6251
6220
|
class: styles$a.body
|
|
6252
6221
|
}, /* @__PURE__ */ core$1._jsxSorted("textarea", {
|
|
6253
6222
|
"aria-required": core$1._wrapProp(props, "required"),
|
|
6254
|
-
disabled: core$1._fnSignal(
|
|
6223
|
+
disabled: core$1._fnSignal(_hf4$2, [
|
|
6255
6224
|
props
|
|
6256
6225
|
]),
|
|
6257
6226
|
placeholder: core$1._wrapProp(props, "placeholder"),
|
|
@@ -6264,20 +6233,20 @@ const ElmTextArea = /* @__PURE__ */ core$1.componentQrl(/* @__PURE__ */ core$1.i
|
|
|
6264
6233
|
props
|
|
6265
6234
|
]),
|
|
6266
6235
|
"q:p": isFocused,
|
|
6267
|
-
rows: core$1._fnSignal(
|
|
6236
|
+
rows: core$1._fnSignal(_hf3$2, [
|
|
6268
6237
|
props
|
|
6269
6238
|
]),
|
|
6270
|
-
style: core$1._fnSignal(
|
|
6239
|
+
style: core$1._fnSignal(_hf5$2, [
|
|
6271
6240
|
props
|
|
6272
6241
|
]),
|
|
6273
|
-
value: core$1._fnSignal(
|
|
6242
|
+
value: core$1._fnSignal(_hf2$2, [
|
|
6274
6243
|
props
|
|
6275
6244
|
])
|
|
6276
6245
|
}, {
|
|
6277
6246
|
class: styles$a.textarea
|
|
6278
6247
|
}, null, 6, null), 1, null),
|
|
6279
6248
|
/* @__PURE__ */ core$1._jsxSorted("div", {
|
|
6280
|
-
style: core$1._fnSignal(
|
|
6249
|
+
style: core$1._fnSignal(_hf6$1, [
|
|
6281
6250
|
props
|
|
6282
6251
|
])
|
|
6283
6252
|
}, {
|
|
@@ -6285,39 +6254,37 @@ const ElmTextArea = /* @__PURE__ */ core$1.componentQrl(/* @__PURE__ */ core$1.i
|
|
|
6285
6254
|
}, null, 3, null)
|
|
6286
6255
|
], 0, "RT_4");
|
|
6287
6256
|
}, "ElmTextArea_component_eI5Hurm0OV8"));
|
|
6288
|
-
const loading = "
|
|
6289
|
-
const wrapper$2 = "
|
|
6290
|
-
const
|
|
6291
|
-
const
|
|
6292
|
-
const
|
|
6293
|
-
const
|
|
6294
|
-
const
|
|
6257
|
+
const loading = "_loading_12gf1_23";
|
|
6258
|
+
const wrapper$2 = "_wrapper_12gf1_37";
|
|
6259
|
+
const disabled = "_disabled_12gf1_59";
|
|
6260
|
+
const active = "_active_12gf1_63";
|
|
6261
|
+
const header = "_header_12gf1_68";
|
|
6262
|
+
const requierd = "_requierd_12gf1_86";
|
|
6263
|
+
const body = "_body_12gf1_92";
|
|
6264
|
+
const input = "_input_12gf1_100";
|
|
6295
6265
|
const styles$9 = {
|
|
6296
6266
|
loading,
|
|
6297
6267
|
wrapper: wrapper$2,
|
|
6268
|
+
disabled,
|
|
6298
6269
|
active,
|
|
6299
6270
|
header,
|
|
6300
|
-
"label-active": "_label-
|
|
6271
|
+
"label-active": "_label-active_12gf1_81",
|
|
6301
6272
|
requierd,
|
|
6302
6273
|
body,
|
|
6303
6274
|
input,
|
|
6304
|
-
"right-icon-box": "_right-icon-
|
|
6305
|
-
"clickable-icon": "_clickable-
|
|
6306
|
-
"prefix-suffix": "_prefix-
|
|
6275
|
+
"right-icon-box": "_right-icon-box_12gf1_121",
|
|
6276
|
+
"clickable-icon": "_clickable-icon_12gf1_126",
|
|
6277
|
+
"prefix-suffix": "_prefix-suffix_12gf1_142"
|
|
6307
6278
|
};
|
|
6308
|
-
const _hf0$7 = (p0) => (
|
|
6309
|
-
|
|
6310
|
-
|
|
6311
|
-
|
|
6312
|
-
const
|
|
6313
|
-
const _hf2$1 = (p0) => p0.maxLength != null ? `${p0.value.value.length} / ${p0.maxLength}` : `${p0.value.value.length}`;
|
|
6314
|
-
const _hf3$1 = (p0) => p0.value?.value;
|
|
6315
|
-
const _hf4$1 = (p0) => p0.disabled || p0.loading;
|
|
6316
|
-
const _hf5$1 = (p0) => ({
|
|
6279
|
+
const _hf0$7 = (p0) => p0.maxLength != null && p0.value.value.length > p0.maxLength ? "var(--elmethis-accent-error)" : "gray";
|
|
6280
|
+
const _hf1$3 = (p0) => p0.maxLength != null ? `${p0.value.value.length} / ${p0.maxLength}` : `${p0.value.value.length}`;
|
|
6281
|
+
const _hf2$1 = (p0) => p0.value?.value;
|
|
6282
|
+
const _hf3$1 = (p0) => p0.disabled || p0.loading;
|
|
6283
|
+
const _hf4$1 = (p0) => ({
|
|
6317
6284
|
cursor: p0.disabled ? "not-allowed" : p0.loading ? "progress" : "auto"
|
|
6318
6285
|
});
|
|
6319
|
-
const
|
|
6320
|
-
opacity: p0.loading ?
|
|
6286
|
+
const _hf5$1 = (p0) => ({
|
|
6287
|
+
opacity: p0.loading ? 1 : 0
|
|
6321
6288
|
});
|
|
6322
6289
|
const ElmTextField = /* @__PURE__ */ core$1.componentQrl(/* @__PURE__ */ core$1.inlinedQrl((props) => {
|
|
6323
6290
|
const rest = core$1._restProps(props, [
|
|
@@ -6340,11 +6307,12 @@ const ElmTextField = /* @__PURE__ */ core$1.componentQrl(/* @__PURE__ */ core$1.
|
|
|
6340
6307
|
class: [
|
|
6341
6308
|
styles$9.wrapper,
|
|
6342
6309
|
isFocused.value && styles$9.active,
|
|
6343
|
-
props.class
|
|
6310
|
+
props.class,
|
|
6311
|
+
{
|
|
6312
|
+
[styles$9.disabled]: props.disabled || props.loading
|
|
6313
|
+
}
|
|
6344
6314
|
],
|
|
6345
|
-
style: core$1.
|
|
6346
|
-
props
|
|
6347
|
-
]),
|
|
6315
|
+
style: core$1._wrapProp(props, "style"),
|
|
6348
6316
|
...core$1._getVarProps(rest)
|
|
6349
6317
|
}, core$1._getConstProps(rest), [
|
|
6350
6318
|
/* @__PURE__ */ core$1._jsxSorted("span", {
|
|
@@ -6368,11 +6336,11 @@ const ElmTextField = /* @__PURE__ */ core$1.componentQrl(/* @__PURE__ */ core$1.
|
|
|
6368
6336
|
}, "*", 3, "3a_2")
|
|
6369
6337
|
], 1, null),
|
|
6370
6338
|
props.value != null && /* @__PURE__ */ core$1._jsxSorted(ElmInlineText, null, {
|
|
6371
|
-
color: core$1._fnSignal(
|
|
6339
|
+
color: core$1._fnSignal(_hf0$7, [
|
|
6372
6340
|
props
|
|
6373
6341
|
]),
|
|
6374
6342
|
size: "0.75rem"
|
|
6375
|
-
}, core$1._fnSignal(
|
|
6343
|
+
}, core$1._fnSignal(_hf1$3, [
|
|
6376
6344
|
props
|
|
6377
6345
|
]), 1, "3a_3")
|
|
6378
6346
|
], 1, null),
|
|
@@ -6384,7 +6352,7 @@ const ElmTextField = /* @__PURE__ */ core$1.componentQrl(/* @__PURE__ */ core$1.
|
|
|
6384
6352
|
}, core$1._wrapProp(props, "prefix"), 1, "3a_4"),
|
|
6385
6353
|
/* @__PURE__ */ core$1._jsxSorted("input", {
|
|
6386
6354
|
"aria-required": core$1._wrapProp(props, "required"),
|
|
6387
|
-
disabled: core$1._fnSignal(
|
|
6355
|
+
disabled: core$1._fnSignal(_hf3$1, [
|
|
6388
6356
|
props
|
|
6389
6357
|
]),
|
|
6390
6358
|
placeholder: core$1._wrapProp(props, "placeholder"),
|
|
@@ -6397,10 +6365,10 @@ const ElmTextField = /* @__PURE__ */ core$1.componentQrl(/* @__PURE__ */ core$1.
|
|
|
6397
6365
|
props
|
|
6398
6366
|
]),
|
|
6399
6367
|
"q:p": isFocused,
|
|
6400
|
-
style: core$1._fnSignal(
|
|
6368
|
+
style: core$1._fnSignal(_hf4$1, [
|
|
6401
6369
|
props
|
|
6402
6370
|
]),
|
|
6403
|
-
value: core$1._fnSignal(
|
|
6371
|
+
value: core$1._fnSignal(_hf2$1, [
|
|
6404
6372
|
props
|
|
6405
6373
|
])
|
|
6406
6374
|
}, {
|
|
@@ -6450,7 +6418,7 @@ const ElmTextField = /* @__PURE__ */ core$1.componentQrl(/* @__PURE__ */ core$1.
|
|
|
6450
6418
|
], 1, null)
|
|
6451
6419
|
], 1, null),
|
|
6452
6420
|
/* @__PURE__ */ core$1._jsxSorted("div", {
|
|
6453
|
-
style: core$1._fnSignal(
|
|
6421
|
+
style: core$1._fnSignal(_hf5$1, [
|
|
6454
6422
|
props
|
|
6455
6423
|
])
|
|
6456
6424
|
}, {
|
|
@@ -6466,7 +6434,7 @@ const _hf0$6 = (p0) => ({
|
|
|
6466
6434
|
"--elmethis-scoped-opacity": p0.isValid ? 1 : 0.5,
|
|
6467
6435
|
...p0.style
|
|
6468
6436
|
});
|
|
6469
|
-
const _hf1$2 = (p0) => p0.isValid ? p0.validColor ?? "
|
|
6437
|
+
const _hf1$2 = (p0) => p0.isValid ? p0.validColor ?? "var(--elmethis-accent-success)" : void 0;
|
|
6470
6438
|
const ElmValidation = /* @__PURE__ */ core$1.componentQrl(/* @__PURE__ */ core$1.inlinedQrl((_rawProps) => {
|
|
6471
6439
|
const props = core$1._restProps(_rawProps, [
|
|
6472
6440
|
"class",
|
|
@@ -7031,8 +6999,8 @@ const useSessionStorage = (_rawProps) => {
|
|
|
7031
6999
|
channel: `elmethis:sessionStorage:${_rawProps.key}`
|
|
7032
7000
|
});
|
|
7033
7001
|
};
|
|
7034
|
-
const wrapper$1 = "
|
|
7035
|
-
const square = "
|
|
7002
|
+
const wrapper$1 = "_wrapper_1okjt_19";
|
|
7003
|
+
const square = "_square_1okjt_28";
|
|
7036
7004
|
const styles$7 = {
|
|
7037
7005
|
wrapper: wrapper$1,
|
|
7038
7006
|
square
|
|
@@ -7068,9 +7036,9 @@ const ElmSquareLoadingIcon = /* @__PURE__ */ core$1.componentQrl(/* @__PURE__ */
|
|
|
7068
7036
|
class: styles$7.square
|
|
7069
7037
|
}, null, 3, `${rowIndex}-${columnIndex}`))), 0, "dY_0");
|
|
7070
7038
|
}, "ElmSquareLoadingIcon_component_URq2y0Vp5Ws"));
|
|
7071
|
-
const icon = "_icon_2hapk_1";
|
|
7039
|
+
const icon$1 = "_icon_2hapk_1";
|
|
7072
7040
|
const styles$6 = {
|
|
7073
|
-
icon
|
|
7041
|
+
icon: icon$1
|
|
7074
7042
|
};
|
|
7075
7043
|
const _hf0$4 = (p0) => p0.size ?? "2rem";
|
|
7076
7044
|
const ElmToggleTheme = /* @__PURE__ */ core$1.componentQrl(/* @__PURE__ */ core$1.inlinedQrl((_rawProps) => {
|
|
@@ -7522,12 +7490,16 @@ const ElmToggleTheme = /* @__PURE__ */ core$1.componentQrl(/* @__PURE__ */ core$
|
|
|
7522
7490
|
], 3, null)
|
|
7523
7491
|
], 2, "7Z_1"), 1, "7Z_2");
|
|
7524
7492
|
}, "ElmToggleTheme_component_UCPPH0ZjWO4"));
|
|
7525
|
-
const container$1 = "
|
|
7526
|
-
const
|
|
7493
|
+
const container$1 = "_container_qcstr_1";
|
|
7494
|
+
const icon = "_icon_qcstr_23";
|
|
7495
|
+
const chunk = "_chunk_qcstr_40";
|
|
7496
|
+
const chevron = "_chevron_qcstr_44";
|
|
7527
7497
|
const styles$5 = {
|
|
7528
7498
|
container: container$1,
|
|
7529
|
-
"link-container": "_link-
|
|
7530
|
-
|
|
7499
|
+
"link-container": "_link-container_qcstr_9",
|
|
7500
|
+
icon,
|
|
7501
|
+
chunk,
|
|
7502
|
+
chevron
|
|
7531
7503
|
};
|
|
7532
7504
|
const ElmBreadcrumb = /* @__PURE__ */ core$1.componentQrl(/* @__PURE__ */ core$1.inlinedQrl((_rawProps) => {
|
|
7533
7505
|
const props = core$1._restProps(_rawProps, [
|
|
@@ -7546,35 +7518,22 @@ const ElmBreadcrumb = /* @__PURE__ */ core$1.componentQrl(/* @__PURE__ */ core$1
|
|
|
7546
7518
|
}, {
|
|
7547
7519
|
class: styles$5["link-container"]
|
|
7548
7520
|
}, [
|
|
7549
|
-
/* @__PURE__ */ core$1._jsxSorted("span", {
|
|
7550
|
-
style: {
|
|
7551
|
-
"--elmethis-scoped-delay": `${index * 100}ms`
|
|
7552
|
-
}
|
|
7553
|
-
}, {
|
|
7521
|
+
/* @__PURE__ */ core$1._jsxSorted("span", null, {
|
|
7554
7522
|
class: styles$5.icon
|
|
7555
7523
|
}, /* @__PURE__ */ core$1._jsxSorted(ElmMdiIcon, {
|
|
7556
7524
|
d: index === 0 ? js.mdiHome : index === _rawProps.links.length - 1 ? js.mdiApplicationOutline : js.mdiFolderOpen
|
|
7557
7525
|
}, {
|
|
7558
7526
|
size: "1.25em"
|
|
7559
7527
|
}, null, 3, "wL_0"), 1, null),
|
|
7560
|
-
/* @__PURE__ */ core$1._jsxSorted("span", {
|
|
7561
|
-
|
|
7562
|
-
"--elmethis-scoped-delay": `${index * 100 + 50}ms`
|
|
7563
|
-
}
|
|
7564
|
-
}, {
|
|
7565
|
-
class: styles$5.text
|
|
7528
|
+
/* @__PURE__ */ core$1._jsxSorted("span", null, {
|
|
7529
|
+
class: styles$5.chunk
|
|
7566
7530
|
}, /* @__PURE__ */ core$1._jsxSorted(ElmInlineText, null, null, core$1._wrapProp(link2, "text"), 1, "wL_1"), 1, null)
|
|
7567
7531
|
], 0, null),
|
|
7568
|
-
_rawProps.links.length !== index + 1 && /* @__PURE__ */ core$1._jsxSorted("span", {
|
|
7569
|
-
|
|
7570
|
-
"--elmethis-scoped-delay": `${index * 100 + 100}ms`
|
|
7571
|
-
}
|
|
7572
|
-
}, {
|
|
7573
|
-
class: styles$5.text
|
|
7532
|
+
_rawProps.links.length !== index + 1 && /* @__PURE__ */ core$1._jsxSorted("span", null, {
|
|
7533
|
+
class: styles$5.chevron
|
|
7574
7534
|
}, /* @__PURE__ */ core$1._jsxSorted(ElmMdiIcon, null, {
|
|
7575
7535
|
d: js.mdiChevronRight,
|
|
7576
|
-
size: "1em"
|
|
7577
|
-
color: "#b69545"
|
|
7536
|
+
size: "1em"
|
|
7578
7537
|
}, null, 3, "wL_2"), 1, "wL_3")
|
|
7579
7538
|
], 1, "wL_4")), 0, "wL_5");
|
|
7580
7539
|
}, "ElmBreadcrumb_component_Bm4cHEZjNRM"));
|