@speakeasy-api/moonshine 1.25.0 → 1.25.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/AppLayout/context.d.ts +6 -0
- package/dist/components/AppLayout/provider.d.ts +2 -1
- package/dist/{createCustomLucideIcon-CtMrMlIb.mjs → createCustomLucideIcon-BnDZSGDP.mjs} +2 -2
- package/dist/{createCustomLucideIcon-CtMrMlIb.mjs.map → createCustomLucideIcon-BnDZSGDP.mjs.map} +1 -1
- package/dist/{gems-BqbsNvE3.mjs → gems-IbyyAS35.mjs} +2 -2
- package/dist/{gems-BqbsNvE3.mjs.map → gems-IbyyAS35.mjs.map} +1 -1
- package/dist/{go-BRTGJ9EL.mjs → go-DU7D1LUe.mjs} +2 -2
- package/dist/{go-BRTGJ9EL.mjs.map → go-DU7D1LUe.mjs.map} +1 -1
- package/dist/{index-FZdko-VH.mjs → index-G1NsYS9G.mjs} +455 -417
- package/dist/{index-FZdko-VH.mjs.map → index-G1NsYS9G.mjs.map} +1 -1
- package/dist/{maven-DpTADN0y.mjs → maven-BRVzLedX.mjs} +2 -2
- package/dist/{maven-DpTADN0y.mjs.map → maven-BRVzLedX.mjs.map} +1 -1
- package/dist/moonshine.es.js +1 -1
- package/dist/{npm-CnzLBNzz.mjs → npm-CJcK5-ya.mjs} +2 -2
- package/dist/{npm-CnzLBNzz.mjs.map → npm-CJcK5-ya.mjs.map} +1 -1
- package/dist/{nuget-340SDuBk.mjs → nuget-3R1WH78p.mjs} +2 -2
- package/dist/{nuget-340SDuBk.mjs.map → nuget-3R1WH78p.mjs.map} +1 -1
- package/dist/{packagist-q-cRPs9g.mjs → packagist-XGEZhK5Z.mjs} +2 -2
- package/dist/{packagist-q-cRPs9g.mjs.map → packagist-XGEZhK5Z.mjs.map} +1 -1
- package/dist/{pypi-RhiCRzmw.mjs → pypi-WSPnwFpp.mjs} +2 -2
- package/dist/{pypi-RhiCRzmw.mjs.map → pypi-WSPnwFpp.mjs.map} +1 -1
- package/package.json +1 -1
- package/types/utilities.d.ts +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as u, Fragment as Se, jsxs as eA } from "react/jsx-runtime";
|
|
2
2
|
import * as m from "react";
|
|
3
|
-
import CA, { isValidElement as wt, useState as
|
|
3
|
+
import CA, { isValidElement as wt, useState as MA, useLayoutEffect as Io, Suspense as BL, lazy as ph, useEffect as PA, useMemo as HA, Children as Dt, cloneElement as w0, createContext as Ze, useContext as te, createElement as fo, forwardRef as _e, useId as zr, useCallback as re, Component as f0, useRef as xA, useInsertionEffect as Cl, Fragment as _i, memo as D0, useReducer as QL } from "react";
|
|
4
4
|
import p0 from "lucide-react/dynamicIconImports";
|
|
5
5
|
import * as Il from "react-dom";
|
|
6
6
|
import m0, { unstable_batchedUpdates as Mg, createPortal as uL } from "react-dom";
|
|
@@ -358,31 +358,31 @@ const Ct = (A) => {
|
|
|
358
358
|
// For example, `hsl(0 0% 0%)` would be classified as a length without this check.
|
|
359
359
|
// I could also use lookbehind assertion in `lengthUnitRegex` but that isn't supported widely enough.
|
|
360
360
|
o4.test(A) && !r4.test(A)
|
|
361
|
-
), JE = () => !1, c4 = (A) => i4.test(A), l4 = (A) => s4.test(A), B4 = (A) => !
|
|
361
|
+
), JE = () => !1, c4 = (A) => i4.test(A), l4 = (A) => s4.test(A), B4 = (A) => !SA(A) && !GA(A), Q4 = (A) => $i(A, U0, JE), SA = (A) => P0.test(A), wr = (A) => $i(A, K0, g4), YB = (A) => $i(A, m4, ue), u4 = (A) => $i(A, G0, JE), E4 = (A) => $i(A, H0, l4), C4 = (A) => $i(A, JE, c4), GA = (A) => S0.test(A), vg = (A) => As(A, K0), I4 = (A) => As(A, y4), d4 = (A) => As(A, G0), h4 = (A) => As(A, U0), w4 = (A) => As(A, H0), f4 = (A) => As(A, M4, !0), $i = (A, e, t) => {
|
|
362
362
|
const n = P0.exec(A);
|
|
363
363
|
return n ? n[1] ? e(n[1]) : t(n[2]) : !1;
|
|
364
364
|
}, As = (A, e, t = !1) => {
|
|
365
365
|
const n = S0.exec(A);
|
|
366
366
|
return n ? n[1] ? e(n[1]) : t : !1;
|
|
367
367
|
}, G0 = (A) => A === "position", D4 = /* @__PURE__ */ new Set(["image", "url"]), H0 = (A) => D4.has(A), p4 = /* @__PURE__ */ new Set(["length", "size", "percentage"]), U0 = (A) => p4.has(A), K0 = (A) => A === "length", m4 = (A) => A === "number", y4 = (A) => A === "family-name", M4 = (A) => A === "shadow", kh = () => {
|
|
368
|
-
const A = Ct("color"), e = Ct("font"), t = Ct("text"), n = Ct("font-weight"), o = Ct("tracking"), r = Ct("leading"), i = Ct("breakpoint"), s = Ct("container"), a = Ct("spacing"), g = Ct("radius"), c = Ct("shadow"), l = Ct("inset-shadow"), Q = Ct("drop-shadow"), B = Ct("blur"), E = Ct("perspective"), C = Ct("aspect"), h = Ct("ease"), d = Ct("animate"), f = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], p = () => ["bottom", "center", "left", "left-bottom", "left-top", "right", "right-bottom", "right-top", "top"], k = () => ["auto", "hidden", "clip", "visible", "scroll"], v = () => ["auto", "contain", "none"], D = () => [
|
|
369
|
-
span: ["full", hr,
|
|
370
|
-
},
|
|
368
|
+
const A = Ct("color"), e = Ct("font"), t = Ct("text"), n = Ct("font-weight"), o = Ct("tracking"), r = Ct("leading"), i = Ct("breakpoint"), s = Ct("container"), a = Ct("spacing"), g = Ct("radius"), c = Ct("shadow"), l = Ct("inset-shadow"), Q = Ct("drop-shadow"), B = Ct("blur"), E = Ct("perspective"), C = Ct("aspect"), h = Ct("ease"), d = Ct("animate"), f = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], p = () => ["bottom", "center", "left", "left-bottom", "left-top", "right", "right-bottom", "right-top", "top"], k = () => ["auto", "hidden", "clip", "visible", "scroll"], v = () => ["auto", "contain", "none"], D = () => [GA, SA, a], F = () => [oi, "full", "auto", ...D()], N = () => [hr, "none", "subgrid", GA, SA], Y = () => ["auto", {
|
|
369
|
+
span: ["full", hr, GA, SA]
|
|
370
|
+
}, GA, SA], G = () => [hr, "auto", GA, SA], R = () => ["auto", "min", "max", "fr", GA, SA], K = () => ["start", "end", "center", "between", "around", "evenly", "stretch", "baseline"], q = () => ["start", "end", "center", "stretch"], U = () => ["auto", ...D()], H = () => [oi, "auto", "full", "dvw", "dvh", "lvw", "lvh", "svw", "svh", "min", "max", "fit", ...D()], W = () => [A, GA, SA], j = () => [vh, wr], V = () => [
|
|
371
371
|
// Deprecated since Tailwind CSS v4.0.0
|
|
372
372
|
"",
|
|
373
373
|
"none",
|
|
374
374
|
"full",
|
|
375
375
|
g,
|
|
376
|
-
|
|
377
|
-
|
|
376
|
+
GA,
|
|
377
|
+
SA
|
|
378
378
|
], O = () => ["", ue, vg, wr], x = () => ["solid", "dashed", "dotted", "double"], X = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], J = () => [
|
|
379
379
|
// Deprecated since Tailwind CSS v4.0.0
|
|
380
380
|
"",
|
|
381
381
|
"none",
|
|
382
382
|
B,
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
], b = () => ["center", "top", "top-right", "right", "bottom-right", "bottom", "bottom-left", "left", "top-left",
|
|
383
|
+
GA,
|
|
384
|
+
SA
|
|
385
|
+
], b = () => ["center", "top", "top-right", "right", "bottom-right", "bottom", "bottom-left", "left", "top-left", GA, SA], sA = () => ["none", ue, GA, SA], rA = () => ["none", ue, GA, SA], AA = () => [ue, GA, SA], tA = () => [oi, "full", ...D()];
|
|
386
386
|
return {
|
|
387
387
|
cacheSize: 500,
|
|
388
388
|
theme: {
|
|
@@ -414,7 +414,7 @@ const Ct = (A) => {
|
|
|
414
414
|
* @see https://tailwindcss.com/docs/aspect-ratio
|
|
415
415
|
*/
|
|
416
416
|
aspect: [{
|
|
417
|
-
aspect: ["auto", "square", oi,
|
|
417
|
+
aspect: ["auto", "square", oi, SA, GA, C]
|
|
418
418
|
}],
|
|
419
419
|
/**
|
|
420
420
|
* Container
|
|
@@ -427,7 +427,7 @@ const Ct = (A) => {
|
|
|
427
427
|
* @see https://tailwindcss.com/docs/columns
|
|
428
428
|
*/
|
|
429
429
|
columns: [{
|
|
430
|
-
columns: [ue,
|
|
430
|
+
columns: [ue, SA, GA, s]
|
|
431
431
|
}],
|
|
432
432
|
/**
|
|
433
433
|
* Break After
|
|
@@ -505,7 +505,7 @@ const Ct = (A) => {
|
|
|
505
505
|
* @see https://tailwindcss.com/docs/object-position
|
|
506
506
|
*/
|
|
507
507
|
"object-position": [{
|
|
508
|
-
object: [...p(),
|
|
508
|
+
object: [...p(), SA, GA]
|
|
509
509
|
}],
|
|
510
510
|
/**
|
|
511
511
|
* Overflow
|
|
@@ -627,7 +627,7 @@ const Ct = (A) => {
|
|
|
627
627
|
* @see https://tailwindcss.com/docs/z-index
|
|
628
628
|
*/
|
|
629
629
|
z: [{
|
|
630
|
-
z: [hr, "auto",
|
|
630
|
+
z: [hr, "auto", GA, SA]
|
|
631
631
|
}],
|
|
632
632
|
// ------------------------
|
|
633
633
|
// --- Flexbox and Grid ---
|
|
@@ -658,28 +658,28 @@ const Ct = (A) => {
|
|
|
658
658
|
* @see https://tailwindcss.com/docs/flex
|
|
659
659
|
*/
|
|
660
660
|
flex: [{
|
|
661
|
-
flex: [ue, oi, "auto", "initial", "none",
|
|
661
|
+
flex: [ue, oi, "auto", "initial", "none", SA]
|
|
662
662
|
}],
|
|
663
663
|
/**
|
|
664
664
|
* Flex Grow
|
|
665
665
|
* @see https://tailwindcss.com/docs/flex-grow
|
|
666
666
|
*/
|
|
667
667
|
grow: [{
|
|
668
|
-
grow: ["", ue,
|
|
668
|
+
grow: ["", ue, GA, SA]
|
|
669
669
|
}],
|
|
670
670
|
/**
|
|
671
671
|
* Flex Shrink
|
|
672
672
|
* @see https://tailwindcss.com/docs/flex-shrink
|
|
673
673
|
*/
|
|
674
674
|
shrink: [{
|
|
675
|
-
shrink: ["", ue,
|
|
675
|
+
shrink: ["", ue, GA, SA]
|
|
676
676
|
}],
|
|
677
677
|
/**
|
|
678
678
|
* Order
|
|
679
679
|
* @see https://tailwindcss.com/docs/order
|
|
680
680
|
*/
|
|
681
681
|
order: [{
|
|
682
|
-
order: [hr, "first", "last", "none",
|
|
682
|
+
order: [hr, "first", "last", "none", GA, SA]
|
|
683
683
|
}],
|
|
684
684
|
/**
|
|
685
685
|
* Grid Template Columns
|
|
@@ -1087,21 +1087,21 @@ const Ct = (A) => {
|
|
|
1087
1087
|
* @see https://tailwindcss.com/docs/font-weight
|
|
1088
1088
|
*/
|
|
1089
1089
|
"font-weight": [{
|
|
1090
|
-
font: [n,
|
|
1090
|
+
font: [n, GA, YB]
|
|
1091
1091
|
}],
|
|
1092
1092
|
/**
|
|
1093
1093
|
* Font Stretch
|
|
1094
1094
|
* @see https://tailwindcss.com/docs/font-stretch
|
|
1095
1095
|
*/
|
|
1096
1096
|
"font-stretch": [{
|
|
1097
|
-
"font-stretch": ["ultra-condensed", "extra-condensed", "condensed", "semi-condensed", "normal", "semi-expanded", "expanded", "extra-expanded", "ultra-expanded", vh,
|
|
1097
|
+
"font-stretch": ["ultra-condensed", "extra-condensed", "condensed", "semi-condensed", "normal", "semi-expanded", "expanded", "extra-expanded", "ultra-expanded", vh, SA]
|
|
1098
1098
|
}],
|
|
1099
1099
|
/**
|
|
1100
1100
|
* Font Family
|
|
1101
1101
|
* @see https://tailwindcss.com/docs/font-family
|
|
1102
1102
|
*/
|
|
1103
1103
|
"font-family": [{
|
|
1104
|
-
font: [I4,
|
|
1104
|
+
font: [I4, SA, e]
|
|
1105
1105
|
}],
|
|
1106
1106
|
/**
|
|
1107
1107
|
* Font Variant Numeric
|
|
@@ -1138,14 +1138,14 @@ const Ct = (A) => {
|
|
|
1138
1138
|
* @see https://tailwindcss.com/docs/letter-spacing
|
|
1139
1139
|
*/
|
|
1140
1140
|
tracking: [{
|
|
1141
|
-
tracking: [o,
|
|
1141
|
+
tracking: [o, GA, SA]
|
|
1142
1142
|
}],
|
|
1143
1143
|
/**
|
|
1144
1144
|
* Line Clamp
|
|
1145
1145
|
* @see https://tailwindcss.com/docs/line-clamp
|
|
1146
1146
|
*/
|
|
1147
1147
|
"line-clamp": [{
|
|
1148
|
-
"line-clamp": [ue, "none",
|
|
1148
|
+
"line-clamp": [ue, "none", GA, YB]
|
|
1149
1149
|
}],
|
|
1150
1150
|
/**
|
|
1151
1151
|
* Line Height
|
|
@@ -1163,7 +1163,7 @@ const Ct = (A) => {
|
|
|
1163
1163
|
* @see https://tailwindcss.com/docs/list-style-image
|
|
1164
1164
|
*/
|
|
1165
1165
|
"list-image": [{
|
|
1166
|
-
"list-image": ["none",
|
|
1166
|
+
"list-image": ["none", GA, SA]
|
|
1167
1167
|
}],
|
|
1168
1168
|
/**
|
|
1169
1169
|
* List Style Position
|
|
@@ -1177,7 +1177,7 @@ const Ct = (A) => {
|
|
|
1177
1177
|
* @see https://tailwindcss.com/docs/list-style-type
|
|
1178
1178
|
*/
|
|
1179
1179
|
"list-style-type": [{
|
|
1180
|
-
list: ["disc", "decimal", "none",
|
|
1180
|
+
list: ["disc", "decimal", "none", GA, SA]
|
|
1181
1181
|
}],
|
|
1182
1182
|
/**
|
|
1183
1183
|
* Text Alignment
|
|
@@ -1218,7 +1218,7 @@ const Ct = (A) => {
|
|
|
1218
1218
|
* @see https://tailwindcss.com/docs/text-decoration-thickness
|
|
1219
1219
|
*/
|
|
1220
1220
|
"text-decoration-thickness": [{
|
|
1221
|
-
decoration: [ue, "from-font", "auto",
|
|
1221
|
+
decoration: [ue, "from-font", "auto", GA, wr]
|
|
1222
1222
|
}],
|
|
1223
1223
|
/**
|
|
1224
1224
|
* Text Decoration Color
|
|
@@ -1232,7 +1232,7 @@ const Ct = (A) => {
|
|
|
1232
1232
|
* @see https://tailwindcss.com/docs/text-underline-offset
|
|
1233
1233
|
*/
|
|
1234
1234
|
"underline-offset": [{
|
|
1235
|
-
"underline-offset": [ue, "auto",
|
|
1235
|
+
"underline-offset": [ue, "auto", GA, SA]
|
|
1236
1236
|
}],
|
|
1237
1237
|
/**
|
|
1238
1238
|
* Text Transform
|
|
@@ -1263,7 +1263,7 @@ const Ct = (A) => {
|
|
|
1263
1263
|
* @see https://tailwindcss.com/docs/vertical-align
|
|
1264
1264
|
*/
|
|
1265
1265
|
"vertical-align": [{
|
|
1266
|
-
align: ["baseline", "top", "middle", "bottom", "text-top", "text-bottom", "sub", "super",
|
|
1266
|
+
align: ["baseline", "top", "middle", "bottom", "text-top", "text-bottom", "sub", "super", GA, SA]
|
|
1267
1267
|
}],
|
|
1268
1268
|
/**
|
|
1269
1269
|
* Whitespace
|
|
@@ -1291,7 +1291,7 @@ const Ct = (A) => {
|
|
|
1291
1291
|
* @see https://tailwindcss.com/docs/content
|
|
1292
1292
|
*/
|
|
1293
1293
|
content: [{
|
|
1294
|
-
content: ["none",
|
|
1294
|
+
content: ["none", GA, SA]
|
|
1295
1295
|
}],
|
|
1296
1296
|
// -------------------
|
|
1297
1297
|
// --- Backgrounds ---
|
|
@@ -1348,9 +1348,9 @@ const Ct = (A) => {
|
|
|
1348
1348
|
bg: ["none", {
|
|
1349
1349
|
linear: [{
|
|
1350
1350
|
to: ["t", "tr", "r", "br", "b", "bl", "l", "tl"]
|
|
1351
|
-
}, hr,
|
|
1352
|
-
radial: ["",
|
|
1353
|
-
conic: [hr,
|
|
1351
|
+
}, hr, GA, SA],
|
|
1352
|
+
radial: ["", GA, SA],
|
|
1353
|
+
conic: [hr, GA, SA]
|
|
1354
1354
|
}, w4, E4]
|
|
1355
1355
|
}],
|
|
1356
1356
|
/**
|
|
@@ -1693,7 +1693,7 @@ const Ct = (A) => {
|
|
|
1693
1693
|
* @see https://tailwindcss.com/docs/outline-offset
|
|
1694
1694
|
*/
|
|
1695
1695
|
"outline-offset": [{
|
|
1696
|
-
"outline-offset": [ue,
|
|
1696
|
+
"outline-offset": [ue, GA, SA]
|
|
1697
1697
|
}],
|
|
1698
1698
|
/**
|
|
1699
1699
|
* Outline Width
|
|
@@ -1738,7 +1738,7 @@ const Ct = (A) => {
|
|
|
1738
1738
|
* @see https://tailwindcss.com/docs/box-shadow#adding-an-inset-shadow
|
|
1739
1739
|
*/
|
|
1740
1740
|
"inset-shadow": [{
|
|
1741
|
-
"inset-shadow": ["none",
|
|
1741
|
+
"inset-shadow": ["none", GA, SA, l]
|
|
1742
1742
|
}],
|
|
1743
1743
|
/**
|
|
1744
1744
|
* Inset Box Shadow Color
|
|
@@ -1805,7 +1805,7 @@ const Ct = (A) => {
|
|
|
1805
1805
|
* @see https://tailwindcss.com/docs/opacity
|
|
1806
1806
|
*/
|
|
1807
1807
|
opacity: [{
|
|
1808
|
-
opacity: [ue,
|
|
1808
|
+
opacity: [ue, GA, SA]
|
|
1809
1809
|
}],
|
|
1810
1810
|
/**
|
|
1811
1811
|
* Mix Blend Mode
|
|
@@ -1833,8 +1833,8 @@ const Ct = (A) => {
|
|
|
1833
1833
|
// Deprecated since Tailwind CSS v3.0.0
|
|
1834
1834
|
"",
|
|
1835
1835
|
"none",
|
|
1836
|
-
|
|
1837
|
-
|
|
1836
|
+
GA,
|
|
1837
|
+
SA
|
|
1838
1838
|
]
|
|
1839
1839
|
}],
|
|
1840
1840
|
/**
|
|
@@ -1849,14 +1849,14 @@ const Ct = (A) => {
|
|
|
1849
1849
|
* @see https://tailwindcss.com/docs/brightness
|
|
1850
1850
|
*/
|
|
1851
1851
|
brightness: [{
|
|
1852
|
-
brightness: [ue,
|
|
1852
|
+
brightness: [ue, GA, SA]
|
|
1853
1853
|
}],
|
|
1854
1854
|
/**
|
|
1855
1855
|
* Contrast
|
|
1856
1856
|
* @see https://tailwindcss.com/docs/contrast
|
|
1857
1857
|
*/
|
|
1858
1858
|
contrast: [{
|
|
1859
|
-
contrast: [ue,
|
|
1859
|
+
contrast: [ue, GA, SA]
|
|
1860
1860
|
}],
|
|
1861
1861
|
/**
|
|
1862
1862
|
* Drop Shadow
|
|
@@ -1868,8 +1868,8 @@ const Ct = (A) => {
|
|
|
1868
1868
|
"",
|
|
1869
1869
|
"none",
|
|
1870
1870
|
Q,
|
|
1871
|
-
|
|
1872
|
-
|
|
1871
|
+
GA,
|
|
1872
|
+
SA
|
|
1873
1873
|
]
|
|
1874
1874
|
}],
|
|
1875
1875
|
/**
|
|
@@ -1877,35 +1877,35 @@ const Ct = (A) => {
|
|
|
1877
1877
|
* @see https://tailwindcss.com/docs/grayscale
|
|
1878
1878
|
*/
|
|
1879
1879
|
grayscale: [{
|
|
1880
|
-
grayscale: ["", ue,
|
|
1880
|
+
grayscale: ["", ue, GA, SA]
|
|
1881
1881
|
}],
|
|
1882
1882
|
/**
|
|
1883
1883
|
* Hue Rotate
|
|
1884
1884
|
* @see https://tailwindcss.com/docs/hue-rotate
|
|
1885
1885
|
*/
|
|
1886
1886
|
"hue-rotate": [{
|
|
1887
|
-
"hue-rotate": [ue,
|
|
1887
|
+
"hue-rotate": [ue, GA, SA]
|
|
1888
1888
|
}],
|
|
1889
1889
|
/**
|
|
1890
1890
|
* Invert
|
|
1891
1891
|
* @see https://tailwindcss.com/docs/invert
|
|
1892
1892
|
*/
|
|
1893
1893
|
invert: [{
|
|
1894
|
-
invert: ["", ue,
|
|
1894
|
+
invert: ["", ue, GA, SA]
|
|
1895
1895
|
}],
|
|
1896
1896
|
/**
|
|
1897
1897
|
* Saturate
|
|
1898
1898
|
* @see https://tailwindcss.com/docs/saturate
|
|
1899
1899
|
*/
|
|
1900
1900
|
saturate: [{
|
|
1901
|
-
saturate: [ue,
|
|
1901
|
+
saturate: [ue, GA, SA]
|
|
1902
1902
|
}],
|
|
1903
1903
|
/**
|
|
1904
1904
|
* Sepia
|
|
1905
1905
|
* @see https://tailwindcss.com/docs/sepia
|
|
1906
1906
|
*/
|
|
1907
1907
|
sepia: [{
|
|
1908
|
-
sepia: ["", ue,
|
|
1908
|
+
sepia: ["", ue, GA, SA]
|
|
1909
1909
|
}],
|
|
1910
1910
|
/**
|
|
1911
1911
|
* Backdrop Filter
|
|
@@ -1916,8 +1916,8 @@ const Ct = (A) => {
|
|
|
1916
1916
|
// Deprecated since Tailwind CSS v3.0.0
|
|
1917
1917
|
"",
|
|
1918
1918
|
"none",
|
|
1919
|
-
|
|
1920
|
-
|
|
1919
|
+
GA,
|
|
1920
|
+
SA
|
|
1921
1921
|
]
|
|
1922
1922
|
}],
|
|
1923
1923
|
/**
|
|
@@ -1932,56 +1932,56 @@ const Ct = (A) => {
|
|
|
1932
1932
|
* @see https://tailwindcss.com/docs/backdrop-brightness
|
|
1933
1933
|
*/
|
|
1934
1934
|
"backdrop-brightness": [{
|
|
1935
|
-
"backdrop-brightness": [ue,
|
|
1935
|
+
"backdrop-brightness": [ue, GA, SA]
|
|
1936
1936
|
}],
|
|
1937
1937
|
/**
|
|
1938
1938
|
* Backdrop Contrast
|
|
1939
1939
|
* @see https://tailwindcss.com/docs/backdrop-contrast
|
|
1940
1940
|
*/
|
|
1941
1941
|
"backdrop-contrast": [{
|
|
1942
|
-
"backdrop-contrast": [ue,
|
|
1942
|
+
"backdrop-contrast": [ue, GA, SA]
|
|
1943
1943
|
}],
|
|
1944
1944
|
/**
|
|
1945
1945
|
* Backdrop Grayscale
|
|
1946
1946
|
* @see https://tailwindcss.com/docs/backdrop-grayscale
|
|
1947
1947
|
*/
|
|
1948
1948
|
"backdrop-grayscale": [{
|
|
1949
|
-
"backdrop-grayscale": ["", ue,
|
|
1949
|
+
"backdrop-grayscale": ["", ue, GA, SA]
|
|
1950
1950
|
}],
|
|
1951
1951
|
/**
|
|
1952
1952
|
* Backdrop Hue Rotate
|
|
1953
1953
|
* @see https://tailwindcss.com/docs/backdrop-hue-rotate
|
|
1954
1954
|
*/
|
|
1955
1955
|
"backdrop-hue-rotate": [{
|
|
1956
|
-
"backdrop-hue-rotate": [ue,
|
|
1956
|
+
"backdrop-hue-rotate": [ue, GA, SA]
|
|
1957
1957
|
}],
|
|
1958
1958
|
/**
|
|
1959
1959
|
* Backdrop Invert
|
|
1960
1960
|
* @see https://tailwindcss.com/docs/backdrop-invert
|
|
1961
1961
|
*/
|
|
1962
1962
|
"backdrop-invert": [{
|
|
1963
|
-
"backdrop-invert": ["", ue,
|
|
1963
|
+
"backdrop-invert": ["", ue, GA, SA]
|
|
1964
1964
|
}],
|
|
1965
1965
|
/**
|
|
1966
1966
|
* Backdrop Opacity
|
|
1967
1967
|
* @see https://tailwindcss.com/docs/backdrop-opacity
|
|
1968
1968
|
*/
|
|
1969
1969
|
"backdrop-opacity": [{
|
|
1970
|
-
"backdrop-opacity": [ue,
|
|
1970
|
+
"backdrop-opacity": [ue, GA, SA]
|
|
1971
1971
|
}],
|
|
1972
1972
|
/**
|
|
1973
1973
|
* Backdrop Saturate
|
|
1974
1974
|
* @see https://tailwindcss.com/docs/backdrop-saturate
|
|
1975
1975
|
*/
|
|
1976
1976
|
"backdrop-saturate": [{
|
|
1977
|
-
"backdrop-saturate": [ue,
|
|
1977
|
+
"backdrop-saturate": [ue, GA, SA]
|
|
1978
1978
|
}],
|
|
1979
1979
|
/**
|
|
1980
1980
|
* Backdrop Sepia
|
|
1981
1981
|
* @see https://tailwindcss.com/docs/backdrop-sepia
|
|
1982
1982
|
*/
|
|
1983
1983
|
"backdrop-sepia": [{
|
|
1984
|
-
"backdrop-sepia": ["", ue,
|
|
1984
|
+
"backdrop-sepia": ["", ue, GA, SA]
|
|
1985
1985
|
}],
|
|
1986
1986
|
// --------------
|
|
1987
1987
|
// --- Tables ---
|
|
@@ -2036,7 +2036,7 @@ const Ct = (A) => {
|
|
|
2036
2036
|
* @see https://tailwindcss.com/docs/transition-property
|
|
2037
2037
|
*/
|
|
2038
2038
|
transition: [{
|
|
2039
|
-
transition: ["", "all", "colors", "opacity", "shadow", "transform", "none",
|
|
2039
|
+
transition: ["", "all", "colors", "opacity", "shadow", "transform", "none", GA, SA]
|
|
2040
2040
|
}],
|
|
2041
2041
|
/**
|
|
2042
2042
|
* Transition Behavior
|
|
@@ -2050,28 +2050,28 @@ const Ct = (A) => {
|
|
|
2050
2050
|
* @see https://tailwindcss.com/docs/transition-duration
|
|
2051
2051
|
*/
|
|
2052
2052
|
duration: [{
|
|
2053
|
-
duration: [ue, "initial",
|
|
2053
|
+
duration: [ue, "initial", GA, SA]
|
|
2054
2054
|
}],
|
|
2055
2055
|
/**
|
|
2056
2056
|
* Transition Timing Function
|
|
2057
2057
|
* @see https://tailwindcss.com/docs/transition-timing-function
|
|
2058
2058
|
*/
|
|
2059
2059
|
ease: [{
|
|
2060
|
-
ease: ["linear", "initial", h,
|
|
2060
|
+
ease: ["linear", "initial", h, GA, SA]
|
|
2061
2061
|
}],
|
|
2062
2062
|
/**
|
|
2063
2063
|
* Transition Delay
|
|
2064
2064
|
* @see https://tailwindcss.com/docs/transition-delay
|
|
2065
2065
|
*/
|
|
2066
2066
|
delay: [{
|
|
2067
|
-
delay: [ue,
|
|
2067
|
+
delay: [ue, GA, SA]
|
|
2068
2068
|
}],
|
|
2069
2069
|
/**
|
|
2070
2070
|
* Animation
|
|
2071
2071
|
* @see https://tailwindcss.com/docs/animation
|
|
2072
2072
|
*/
|
|
2073
2073
|
animate: [{
|
|
2074
|
-
animate: ["none", d,
|
|
2074
|
+
animate: ["none", d, GA, SA]
|
|
2075
2075
|
}],
|
|
2076
2076
|
// ------------------
|
|
2077
2077
|
// --- Transforms ---
|
|
@@ -2088,7 +2088,7 @@ const Ct = (A) => {
|
|
|
2088
2088
|
* @see https://tailwindcss.com/docs/perspective
|
|
2089
2089
|
*/
|
|
2090
2090
|
perspective: [{
|
|
2091
|
-
perspective: [E,
|
|
2091
|
+
perspective: [E, GA, SA]
|
|
2092
2092
|
}],
|
|
2093
2093
|
/**
|
|
2094
2094
|
* Perspective Origin
|
|
@@ -2184,7 +2184,7 @@ const Ct = (A) => {
|
|
|
2184
2184
|
* @see https://tailwindcss.com/docs/transform
|
|
2185
2185
|
*/
|
|
2186
2186
|
transform: [{
|
|
2187
|
-
transform: [
|
|
2187
|
+
transform: [GA, SA, "", "none", "gpu", "cpu"]
|
|
2188
2188
|
}],
|
|
2189
2189
|
/**
|
|
2190
2190
|
* Transform Origin
|
|
@@ -2269,7 +2269,7 @@ const Ct = (A) => {
|
|
|
2269
2269
|
* @see https://tailwindcss.com/docs/cursor
|
|
2270
2270
|
*/
|
|
2271
2271
|
cursor: [{
|
|
2272
|
-
cursor: ["auto", "default", "pointer", "wait", "text", "move", "help", "not-allowed", "none", "context-menu", "progress", "cell", "crosshair", "vertical-text", "alias", "copy", "no-drop", "grab", "grabbing", "all-scroll", "col-resize", "row-resize", "n-resize", "e-resize", "s-resize", "w-resize", "ne-resize", "nw-resize", "se-resize", "sw-resize", "ew-resize", "ns-resize", "nesw-resize", "nwse-resize", "zoom-in", "zoom-out",
|
|
2272
|
+
cursor: ["auto", "default", "pointer", "wait", "text", "move", "help", "not-allowed", "none", "context-menu", "progress", "cell", "crosshair", "vertical-text", "alias", "copy", "no-drop", "grab", "grabbing", "all-scroll", "col-resize", "row-resize", "n-resize", "e-resize", "s-resize", "w-resize", "ne-resize", "nw-resize", "se-resize", "sw-resize", "ew-resize", "ns-resize", "nesw-resize", "nwse-resize", "zoom-in", "zoom-out", GA, SA]
|
|
2273
2273
|
}],
|
|
2274
2274
|
/**
|
|
2275
2275
|
* Field Sizing
|
|
@@ -2491,7 +2491,7 @@ const Ct = (A) => {
|
|
|
2491
2491
|
* @see https://tailwindcss.com/docs/will-change
|
|
2492
2492
|
*/
|
|
2493
2493
|
"will-change": [{
|
|
2494
|
-
"will-change": ["auto", "scroll", "contents", "transform",
|
|
2494
|
+
"will-change": ["auto", "scroll", "contents", "transform", GA, SA]
|
|
2495
2495
|
}],
|
|
2496
2496
|
// -----------
|
|
2497
2497
|
// --- SVG ---
|
|
@@ -2909,7 +2909,7 @@ const K4 = {
|
|
|
2909
2909
|
return t;
|
|
2910
2910
|
return "xs";
|
|
2911
2911
|
}, wl = () => {
|
|
2912
|
-
const [A, e] =
|
|
2912
|
+
const [A, e] = MA(
|
|
2913
2913
|
bh(window.innerWidth)
|
|
2914
2914
|
);
|
|
2915
2915
|
return Io(() => {
|
|
@@ -2929,13 +2929,13 @@ const K4 = {
|
|
|
2929
2929
|
}
|
|
2930
2930
|
return t;
|
|
2931
2931
|
}, Qu = {
|
|
2932
|
-
npm: () => import("./npm-
|
|
2933
|
-
pypi: () => import("./pypi-
|
|
2934
|
-
nuget: () => import("./nuget-
|
|
2935
|
-
go: () => import("./go-
|
|
2936
|
-
gems: () => import("./gems-
|
|
2937
|
-
maven: () => import("./maven-
|
|
2938
|
-
packagist: () => import("./packagist-
|
|
2932
|
+
npm: () => import("./npm-CJcK5-ya.mjs"),
|
|
2933
|
+
pypi: () => import("./pypi-WSPnwFpp.mjs"),
|
|
2934
|
+
nuget: () => import("./nuget-3R1WH78p.mjs"),
|
|
2935
|
+
go: () => import("./go-DU7D1LUe.mjs"),
|
|
2936
|
+
gems: () => import("./gems-IbyyAS35.mjs"),
|
|
2937
|
+
maven: () => import("./maven-BRVzLedX.mjs"),
|
|
2938
|
+
packagist: () => import("./packagist-XGEZhK5Z.mjs")
|
|
2939
2939
|
};
|
|
2940
2940
|
function Y4() {
|
|
2941
2941
|
return /* @__PURE__ */ u("div", {});
|
|
@@ -2993,10 +2993,10 @@ function _4({
|
|
|
2993
2993
|
animationDuration: i = 40,
|
|
2994
2994
|
className: s
|
|
2995
2995
|
}) {
|
|
2996
|
-
const [a, g] =
|
|
2996
|
+
const [a, g] = MA(
|
|
2997
2997
|
r ? 0 : A
|
|
2998
2998
|
), c = a;
|
|
2999
|
-
|
|
2999
|
+
PA(() => {
|
|
3000
3000
|
if (r) {
|
|
3001
3001
|
const f = Math.max(1, Math.floor(A / 20)), p = setInterval(() => {
|
|
3002
3002
|
g((k) => k >= A ? (clearInterval(p), A) : Math.min(k + f, A));
|
|
@@ -3611,10 +3611,10 @@ var Ns = {}, z0 = { exports: {} };
|
|
|
3611
3611
|
const p = "createConicGradient createImageData createLinearGradient createPattern createRadialGradient getContextAttributes getImageData getLineDash getTransform isContextLost isPointInPath isPointInStroke measureText".split(" "), k = new function() {
|
|
3612
3612
|
function M() {
|
|
3613
3613
|
if (!y) {
|
|
3614
|
-
let OA = function(pe,
|
|
3615
|
-
if (
|
|
3614
|
+
let OA = function(pe, RA, Te) {
|
|
3615
|
+
if (RA = NA.createShader(RA), NA.shaderSource(RA, Te), NA.compileShader(RA), Te = NA.getShaderInfoLog(RA), 0 < (Te || "").length)
|
|
3616
3616
|
throw Te;
|
|
3617
|
-
NA.attachShader(pe,
|
|
3617
|
+
NA.attachShader(pe, RA);
|
|
3618
3618
|
};
|
|
3619
3619
|
var iA = document.createElement("canvas"), pA = { alpha: 1, depth: 0, stencil: 0, antialias: 0, premultipliedAlpha: 1, preserveDrawingBuffer: 0, powerPreference: "high-performance", failIfMajorPerformanceCaveat: 0, enableExtensionsByDefault: 1, explicitSwapControl: 1, renderViaOffscreenBackBuffer: 1 };
|
|
3620
3620
|
let NA;
|
|
@@ -3627,20 +3627,20 @@ var Ns = {}, z0 = { exports: {} };
|
|
|
3627
3627
|
S = 1;
|
|
3628
3628
|
else
|
|
3629
3629
|
return console.log("No WebGL support. Image mesh will not be drawn."), !1;
|
|
3630
|
-
if (NA = new Proxy(NA, { get(pe,
|
|
3630
|
+
if (NA = new Proxy(NA, { get(pe, RA) {
|
|
3631
3631
|
if (pe.isContextLost()) {
|
|
3632
|
-
if (uA || (console.error("Cannot render the mesh because the GL Context was lost. Tried to invoke ",
|
|
3632
|
+
if (uA || (console.error("Cannot render the mesh because the GL Context was lost. Tried to invoke ", RA), uA = !0), typeof pe[RA] == "function")
|
|
3633
3633
|
return function() {
|
|
3634
3634
|
};
|
|
3635
3635
|
} else
|
|
3636
|
-
return typeof pe[
|
|
3637
|
-
return pe[
|
|
3638
|
-
} : pe[
|
|
3639
|
-
}, set(pe,
|
|
3636
|
+
return typeof pe[RA] == "function" ? function(...Te) {
|
|
3637
|
+
return pe[RA].apply(pe, Te);
|
|
3638
|
+
} : pe[RA];
|
|
3639
|
+
}, set(pe, RA, Te) {
|
|
3640
3640
|
if (pe.isContextLost())
|
|
3641
|
-
uA || (console.error("Cannot render the mesh because the GL Context was lost. Tried to set property " +
|
|
3641
|
+
uA || (console.error("Cannot render the mesh because the GL Context was lost. Tried to set property " + RA), uA = !0);
|
|
3642
3642
|
else
|
|
3643
|
-
return pe[
|
|
3643
|
+
return pe[RA] = Te, !0;
|
|
3644
3644
|
} }), T = Math.min(NA.getParameter(NA.MAX_RENDERBUFFER_SIZE), NA.getParameter(NA.MAX_TEXTURE_SIZE)), iA = NA.createProgram(), OA(iA, NA.VERTEX_SHADER, `attribute vec2 vertex;
|
|
3645
3645
|
attribute vec2 uv;
|
|
3646
3646
|
uniform vec4 mat;
|
|
@@ -3671,27 +3671,27 @@ var Ns = {}, z0 = { exports: {} };
|
|
|
3671
3671
|
const pA = y.createTexture();
|
|
3672
3672
|
return pA ? (y.bindTexture(y.TEXTURE_2D, pA), y.texImage2D(y.TEXTURE_2D, 0, y.RGBA, y.RGBA, y.UNSIGNED_BYTE, iA), y.texParameteri(y.TEXTURE_2D, y.TEXTURE_WRAP_S, y.CLAMP_TO_EDGE), y.texParameteri(y.TEXTURE_2D, y.TEXTURE_WRAP_T, y.CLAMP_TO_EDGE), y.texParameteri(y.TEXTURE_2D, y.TEXTURE_MAG_FILTER, y.LINEAR), S == 2 ? (y.texParameteri(y.TEXTURE_2D, y.TEXTURE_MIN_FILTER, y.LINEAR_MIPMAP_LINEAR), y.generateMipmap(y.TEXTURE_2D)) : y.texParameteri(y.TEXTURE_2D, y.TEXTURE_MIN_FILTER, y.LINEAR), pA) : null;
|
|
3673
3673
|
};
|
|
3674
|
-
const BA = new d(8), mA = new d(8),
|
|
3674
|
+
const BA = new d(8), mA = new d(8), bA = new d(10), XA = new d(10);
|
|
3675
3675
|
this.Qa = function(iA, pA, OA, NA, pe) {
|
|
3676
3676
|
if (M()) {
|
|
3677
|
-
var
|
|
3677
|
+
var RA = BA.push(iA), Te = mA.push(pA);
|
|
3678
3678
|
if (y.canvas) {
|
|
3679
|
-
(y.canvas.width !=
|
|
3679
|
+
(y.canvas.width != RA || y.canvas.height != Te) && (y.canvas.width = RA, y.canvas.height = Te), y.viewport(0, Te - pA, iA, pA), y.disable(y.SCISSOR_TEST), y.clearColor(0, 0, 0, 0), y.clear(y.COLOR_BUFFER_BIT), y.enable(y.SCISSOR_TEST), OA.sort((de, zn) => zn.Ba - de.Ba), RA = bA.push(NA), QA != RA && (y.bufferData(y.ARRAY_BUFFER, 8 * RA, y.DYNAMIC_DRAW), QA = RA), RA = 0;
|
|
3680
3680
|
for (var mt of OA)
|
|
3681
|
-
y.bufferSubData(y.ARRAY_BUFFER,
|
|
3682
|
-
console.assert(
|
|
3681
|
+
y.bufferSubData(y.ARRAY_BUFFER, RA, mt.ia), RA += 4 * mt.ia.length;
|
|
3682
|
+
console.assert(RA == 4 * NA);
|
|
3683
3683
|
for (var Vn of OA)
|
|
3684
|
-
y.bufferSubData(y.ARRAY_BUFFER,
|
|
3685
|
-
console.assert(
|
|
3684
|
+
y.bufferSubData(y.ARRAY_BUFFER, RA, Vn.Ea), RA += 4 * Vn.Ea.length;
|
|
3685
|
+
console.assert(RA == 8 * NA), RA = XA.push(pe), lA != RA && (y.bufferData(y.ELEMENT_ARRAY_BUFFER, 2 * RA, y.DYNAMIC_DRAW), lA = RA), mt = 0;
|
|
3686
3686
|
for (var Cr of OA)
|
|
3687
3687
|
y.bufferSubData(y.ELEMENT_ARRAY_BUFFER, mt, Cr.indices), mt += 2 * Cr.indices.length;
|
|
3688
|
-
console.assert(mt == 2 * pe), Cr = 0, Vn = !0,
|
|
3688
|
+
console.assert(mt == 2 * pe), Cr = 0, Vn = !0, RA = mt = 0;
|
|
3689
3689
|
for (const de of OA) {
|
|
3690
3690
|
de.image.da != Cr && (y.bindTexture(y.TEXTURE_2D, de.image.ca || null), Cr = de.image.da), de.hb ? (y.scissor(de.na, Te - de.oa - de.va, de.sb, de.va), Vn = !0) : Vn && (y.scissor(0, Te - pA, iA, pA), Vn = !1), OA = 2 / iA;
|
|
3691
3691
|
const zn = -2 / pA;
|
|
3692
|
-
y.uniform4f(_, de.N[0] * OA * de.X, de.N[1] * zn * de.Y, de.N[2] * OA * de.X, de.N[3] * zn * de.Y), y.uniform2f(oA, de.N[4] * OA * de.X + OA * (de.na - de.fb * de.X) - 1, de.N[5] * zn * de.Y + zn * (de.oa - de.gb * de.Y) + 1), y.vertexAttribPointer(0, 2, y.FLOAT, !1, 0,
|
|
3692
|
+
y.uniform4f(_, de.N[0] * OA * de.X, de.N[1] * zn * de.Y, de.N[2] * OA * de.X, de.N[3] * zn * de.Y), y.uniform2f(oA, de.N[4] * OA * de.X + OA * (de.na - de.fb * de.X) - 1, de.N[5] * zn * de.Y + zn * (de.oa - de.gb * de.Y) + 1), y.vertexAttribPointer(0, 2, y.FLOAT, !1, 0, RA), y.vertexAttribPointer(1, 2, y.FLOAT, !1, 0, RA + 4 * NA), y.drawElements(y.TRIANGLES, de.indices.length, y.UNSIGNED_SHORT, mt), RA += 4 * de.ia.length, mt += 2 * de.indices.length;
|
|
3693
3693
|
}
|
|
3694
|
-
console.assert(
|
|
3694
|
+
console.assert(RA == 4 * NA), console.assert(mt == 2 * pe);
|
|
3695
3695
|
}
|
|
3696
3696
|
}
|
|
3697
3697
|
}, this.canvas = function() {
|
|
@@ -3739,7 +3739,7 @@ var Ns = {}, z0 = { exports: {} };
|
|
|
3739
3739
|
return "rgba(" + ((16711680 & IA) >>> 16) + "," + ((65280 & IA) >>> 8) + "," + ((255 & IA) >>> 0) + "," + ((4278190080 & IA) >>> 24) / 255 + ")";
|
|
3740
3740
|
}
|
|
3741
3741
|
function S() {
|
|
3742
|
-
0 < Te.length && (k.Qa(
|
|
3742
|
+
0 < Te.length && (k.Qa(RA.drawWidth(), RA.drawHeight(), Te, mt, Vn), Te = [], Vn = mt = 0, RA.reset(512, 512));
|
|
3743
3743
|
for (const IA of pe) {
|
|
3744
3744
|
for (const kA of IA.u)
|
|
3745
3745
|
kA();
|
|
@@ -3749,7 +3749,7 @@ var Ns = {}, z0 = { exports: {} };
|
|
|
3749
3749
|
}
|
|
3750
3750
|
v && v();
|
|
3751
3751
|
var T = B.RenderPaintStyle;
|
|
3752
|
-
const _ = B.RenderPath, oA = B.RenderPaint, QA = B.Renderer, lA = B.StrokeCap, uA = B.StrokeJoin, BA = B.BlendMode, mA = T.fill,
|
|
3752
|
+
const _ = B.RenderPath, oA = B.RenderPaint, QA = B.Renderer, lA = B.StrokeCap, uA = B.StrokeJoin, BA = B.BlendMode, mA = T.fill, bA = T.stroke, XA = B.FillRule.evenOdd;
|
|
3753
3753
|
let iA = 1;
|
|
3754
3754
|
var pA = B.RenderImage.extend("CanvasRenderImage", { __construct: function({ R: IA, W: kA } = {}) {
|
|
3755
3755
|
this.__parent.__construct.call(this), this.da = iA, iA = iA + 1 & 2147483647 || 1, this.R = IA, this.W = kA;
|
|
@@ -3835,7 +3835,7 @@ var Ns = {}, z0 = { exports: {} };
|
|
|
3835
3835
|
this.ma = ie, this.P = null;
|
|
3836
3836
|
}
|
|
3837
3837
|
switch (he) {
|
|
3838
|
-
case
|
|
3838
|
+
case bA:
|
|
3839
3839
|
IA.strokeStyle = ie, IA.lineWidth = this.Ja, IA.lineCap = this.aa, IA.lineJoin = this.ba, IA.stroke(kA);
|
|
3840
3840
|
break;
|
|
3841
3841
|
case mA:
|
|
@@ -3843,7 +3843,7 @@ var Ns = {}, z0 = { exports: {} };
|
|
|
3843
3843
|
}
|
|
3844
3844
|
} });
|
|
3845
3845
|
const pe = /* @__PURE__ */ new Set();
|
|
3846
|
-
let
|
|
3846
|
+
let RA = null, Te = [], mt = 0, Vn = 0;
|
|
3847
3847
|
var Cr = B.CanvasRenderer = QA.extend("Renderer", { __construct: function(IA) {
|
|
3848
3848
|
this.__parent.__construct.call(this), this.D = [1, 0, 0, 1, 0, 0], this.o = IA.getContext("2d"), this.ja = IA, this.u = [];
|
|
3849
3849
|
}, save: function() {
|
|
@@ -3882,7 +3882,7 @@ var Ns = {}, z0 = { exports: {} };
|
|
|
3882
3882
|
if (console.assert(ds <= Math.min(dh, kA)), console.assert(hs <= Math.min(hh, Et)), !(0 >= ds || 0 >= hs)) {
|
|
3883
3883
|
ut = ds < dh || hs < hh, kA = Cn = 1;
|
|
3884
3884
|
var Ir = Math.ceil(ds * Cn), dr = Math.ceil(hs * kA);
|
|
3885
|
-
Et = k.eb(), Ir > Et && (Cn *= Et / Ir, Ir = Et), dr > Et && (kA *= Et / dr, dr = Et),
|
|
3885
|
+
Et = k.eb(), Ir > Et && (Cn *= Et / Ir, Ir = Et), dr > Et && (kA *= Et / dr, dr = Et), RA || (RA = new B.DynamicRectanizer(Et), RA.reset(512, 512)), Et = RA.addRect(Ir, dr), 0 > Et && (S(), pe.add(this), Et = RA.addRect(Ir, dr), console.assert(0 <= Et));
|
|
3886
3886
|
var wh = Et & 65535, fh = Et >> 16;
|
|
3887
3887
|
Te.push({ N: this.D.slice(this.D.length - 6), image: IA, na: wh, oa: fh, fb: ke, gb: Ln, sb: Ir, va: dr, X: Cn, Y: kA, ia: new Float32Array(ie), Ea: new Float32Array(Ee), indices: new Uint16Array(Me), hb: ut, Ba: IA.da << 1 | (ut ? 1 : 0) }), mt += ie.length, Vn += Me.length;
|
|
3888
3888
|
var ni = this.o, lL = M(Qe);
|
|
@@ -3952,7 +3952,7 @@ var Ns = {}, z0 = { exports: {} };
|
|
|
3952
3952
|
B.RendererWrapper.prototype.align = function(IA, kA, Qe, he, ie = 1) {
|
|
3953
3953
|
cL.call(this, IA, kA, Qe, he, ie);
|
|
3954
3954
|
}, T = new h(), B.requestAnimationFrame = T.requestAnimationFrame.bind(T), B.cancelAnimationFrame = T.cancelAnimationFrame.bind(T), B.enableFPSCounter = T.Ra.bind(T), B.disableFPSCounter = T.Oa, T.xa = S, B.resolveAnimationFrame = S, B.cleanup = function() {
|
|
3955
|
-
|
|
3955
|
+
RA && RA.delete();
|
|
3956
3956
|
};
|
|
3957
3957
|
};
|
|
3958
3958
|
var D = Object.assign({}, B), F = "./this.program", N = typeof window == "object", Y = typeof importScripts == "function", G = "", R, K;
|
|
@@ -4070,7 +4070,7 @@ var Ns = {}, z0 = { exports: {} };
|
|
|
4070
4070
|
return this.message === void 0 ? this.name : `${this.name}: ${this.message}`;
|
|
4071
4071
|
}, S;
|
|
4072
4072
|
}
|
|
4073
|
-
var
|
|
4073
|
+
var vA = void 0, _A = void 0;
|
|
4074
4074
|
function TA(M) {
|
|
4075
4075
|
for (var y = ""; x[M]; )
|
|
4076
4076
|
y += _A[x[M++]];
|
|
@@ -4287,15 +4287,15 @@ var Ns = {}, z0 = { exports: {} };
|
|
|
4287
4287
|
lA = !0;
|
|
4288
4288
|
break;
|
|
4289
4289
|
}
|
|
4290
|
-
var uA = y[0].name !== "void", BA = oA - 2, mA = Array(BA),
|
|
4290
|
+
var uA = y[0].name !== "void", BA = oA - 2, mA = Array(BA), bA = [], XA = [];
|
|
4291
4291
|
return function() {
|
|
4292
|
-
if (arguments.length !== BA && Z(`function ${M} called with ${arguments.length} arguments, expected ${BA} args!`), XA.length = 0,
|
|
4292
|
+
if (arguments.length !== BA && Z(`function ${M} called with ${arguments.length} arguments, expected ${BA} args!`), XA.length = 0, bA.length = QA ? 2 : 1, bA[0] = _, QA) {
|
|
4293
4293
|
var iA = y[1].toWireType(XA, this);
|
|
4294
|
-
|
|
4294
|
+
bA[1] = iA;
|
|
4295
4295
|
}
|
|
4296
4296
|
for (var pA = 0; pA < BA; ++pA)
|
|
4297
|
-
mA[pA] = y[pA + 2].toWireType(XA, arguments[pA]),
|
|
4298
|
-
if (pA = T.apply(null,
|
|
4297
|
+
mA[pA] = y[pA + 2].toWireType(XA, arguments[pA]), bA.push(mA[pA]);
|
|
4298
|
+
if (pA = T.apply(null, bA), lA)
|
|
4299
4299
|
Rn(XA);
|
|
4300
4300
|
else
|
|
4301
4301
|
for (var OA = QA ? 1 : 2; OA < y.length; OA++) {
|
|
@@ -4571,8 +4571,8 @@ var Ns = {}, z0 = { exports: {} };
|
|
|
4571
4571
|
T = { qb: b[T >> 2], pb: b[T + 4 >> 2], Z: b[T + 8 >> 2], ha: b[T + 12 >> 2], $: b[T + 16 >> 2], K: b[T + 20 >> 2], C: b[T + 24 >> 2], J: b[T + 28 >> 2], ub: b[T + 32 >> 2], ob: b[T + 36 >> 2], rb: BA && BA ? wg(x, BA) : "" }, S = S ? wg(x, S) : "", BA = { "%c": "%a %b %d %H:%M:%S %Y", "%D": "%m/%d/%y", "%F": "%Y-%m-%d", "%h": "%b", "%r": "%I:%M:%S %p", "%R": "%H:%M", "%T": "%H:%M:%S", "%x": "%m/%d/%y", "%X": "%H:%M:%S", "%Ec": "%c", "%EC": "%C", "%Ex": "%m/%d/%y", "%EX": "%H:%M:%S", "%Ey": "%y", "%EY": "%Y", "%Od": "%d", "%Oe": "%e", "%OH": "%H", "%OI": "%I", "%Om": "%m", "%OM": "%M", "%OS": "%S", "%Ou": "%u", "%OU": "%U", "%OV": "%V", "%Ow": "%w", "%OW": "%W", "%Oy": "%y" };
|
|
4572
4572
|
for (var mA in BA)
|
|
4573
4573
|
S = S.replace(new RegExp(mA, "g"), BA[mA]);
|
|
4574
|
-
var
|
|
4575
|
-
BA = { "%a": (iA) =>
|
|
4574
|
+
var bA = "Sunday Monday Tuesday Wednesday Thursday Friday Saturday".split(" "), XA = "January February March April May June July August September October November December".split(" ");
|
|
4575
|
+
BA = { "%a": (iA) => bA[iA.C].substring(0, 3), "%A": (iA) => bA[iA.C], "%b": (iA) => XA[iA.$].substring(0, 3), "%B": (iA) => XA[iA.$], "%C": (iA) => oA((iA.K + 1900) / 100 | 0, 2), "%d": (iA) => oA(iA.ha, 2), "%e": (iA) => _(iA.ha, 2, " "), "%g": (iA) => uA(iA).toString().substring(2), "%G": (iA) => uA(iA), "%H": (iA) => oA(iA.Z, 2), "%I": (iA) => (iA = iA.Z, iA == 0 ? iA = 12 : 12 < iA && (iA -= 12), oA(iA, 2)), "%j": (iA) => {
|
|
4576
4576
|
for (var pA = 0, OA = 0; OA <= iA.$ - 1; pA += (pg(iA.K + 1900) ? Bh : Qh)[OA++])
|
|
4577
4577
|
;
|
|
4578
4578
|
return oA(iA.ha + pA, 3);
|
|
@@ -4613,7 +4613,7 @@ var Ns = {}, z0 = { exports: {} };
|
|
|
4613
4613
|
for (var M = 0, y = P.ua; y < P.G.length; ++y)
|
|
4614
4614
|
P.G[y] !== void 0 && ++M;
|
|
4615
4615
|
return M;
|
|
4616
|
-
},
|
|
4616
|
+
}, vA = B.PureVirtualError = KA("PureVirtualError");
|
|
4617
4617
|
for (var uh = Array(256), mg = 0; 256 > mg; ++mg)
|
|
4618
4618
|
uh[mg] = String.fromCharCode(mg);
|
|
4619
4619
|
_A = uh, B.getInheritedInstanceCount = function() {
|
|
@@ -4677,7 +4677,7 @@ var Ns = {}, z0 = { exports: {} };
|
|
|
4677
4677
|
M = I(M, function() {
|
|
4678
4678
|
_.l.ya.forEach(function(BA) {
|
|
4679
4679
|
if (this[BA] === QA[BA])
|
|
4680
|
-
throw new
|
|
4680
|
+
throw new vA(`Pure virtual function ${BA} must be implemented in JavaScript`);
|
|
4681
4681
|
}.bind(this)), Object.defineProperty(this, "__parent", { value: oA }), this.__construct.apply(this, T.call(arguments));
|
|
4682
4682
|
}), oA.__construct = function() {
|
|
4683
4683
|
this === oA && Z("Pass correct 'this' to __construct");
|
|
@@ -4700,10 +4700,10 @@ var Ns = {}, z0 = { exports: {} };
|
|
|
4700
4700
|
nn([M], oA, (QA) => {
|
|
4701
4701
|
var lA = {};
|
|
4702
4702
|
return _.forEach((uA, BA) => {
|
|
4703
|
-
var mA = QA[BA],
|
|
4704
|
-
lA[uA.Sa] = { read: (NA) => mA.fromWireType(
|
|
4705
|
-
var
|
|
4706
|
-
pA(OA, NA, iA.toWireType(
|
|
4703
|
+
var mA = QA[BA], bA = uA.Wa, XA = uA.Xa, iA = QA[BA + _.length], pA = uA.kb, OA = uA.mb;
|
|
4704
|
+
lA[uA.Sa] = { read: (NA) => mA.fromWireType(bA(XA, NA)), write: (NA, pe) => {
|
|
4705
|
+
var RA = [];
|
|
4706
|
+
pA(OA, NA, iA.toWireType(RA, pe)), Rn(RA);
|
|
4707
4707
|
} };
|
|
4708
4708
|
}), [{ name: y.name, fromWireType: function(uA) {
|
|
4709
4709
|
var BA = {}, mA;
|
|
@@ -4714,10 +4714,10 @@ var Ns = {}, z0 = { exports: {} };
|
|
|
4714
4714
|
for (var mA in lA)
|
|
4715
4715
|
if (!(mA in BA))
|
|
4716
4716
|
throw new TypeError(`Missing field: "${mA}"`);
|
|
4717
|
-
var
|
|
4717
|
+
var bA = S();
|
|
4718
4718
|
for (mA in lA)
|
|
4719
|
-
lA[mA].write(
|
|
4720
|
-
return uA !== null && uA.push(T,
|
|
4719
|
+
lA[mA].write(bA, BA[mA]);
|
|
4720
|
+
return uA !== null && uA.push(T, bA), bA;
|
|
4721
4721
|
}, argPackAdvance: 8, readValueFromPointer: jt, v: T }];
|
|
4722
4722
|
});
|
|
4723
4723
|
}, _embind_register_bigint: function() {
|
|
@@ -4738,8 +4738,8 @@ var Ns = {}, z0 = { exports: {} };
|
|
|
4738
4738
|
throw new TypeError("Unknown boolean type size: " + y);
|
|
4739
4739
|
return this.fromWireType(lA[QA >> oA]);
|
|
4740
4740
|
}, v: null });
|
|
4741
|
-
}, _embind_register_class: function(M, y, S, T, _, oA, QA, lA, uA, BA, mA,
|
|
4742
|
-
mA = TA(mA), oA = Nt(_, oA), lA && (lA = Nt(QA, lA)), BA && (BA = Nt(uA, BA)), XA = Nt(
|
|
4741
|
+
}, _embind_register_class: function(M, y, S, T, _, oA, QA, lA, uA, BA, mA, bA, XA) {
|
|
4742
|
+
mA = TA(mA), oA = Nt(_, oA), lA && (lA = Nt(QA, lA)), BA && (BA = Nt(uA, BA)), XA = Nt(bA, XA);
|
|
4743
4743
|
var iA = L(mA);
|
|
4744
4744
|
PB(iA, function() {
|
|
4745
4745
|
uo(`Cannot construct ${mA} due to unbound types`, [T]);
|
|
@@ -4751,18 +4751,18 @@ var Ns = {}, z0 = { exports: {} };
|
|
|
4751
4751
|
pA = I(iA, function() {
|
|
4752
4752
|
if (Object.getPrototypeOf(this) !== pe)
|
|
4753
4753
|
throw new z("Use 'new' to construct " + mA);
|
|
4754
|
-
if (
|
|
4754
|
+
if (RA.I === void 0)
|
|
4755
4755
|
throw new z(mA + " has no accessible constructor");
|
|
4756
|
-
var mt =
|
|
4756
|
+
var mt = RA.I[arguments.length];
|
|
4757
4757
|
if (mt === void 0)
|
|
4758
|
-
throw new z(`Tried to invoke ctor of ${mA} with invalid number of parameters (${arguments.length}) - expected (${Object.keys(
|
|
4758
|
+
throw new z(`Tried to invoke ctor of ${mA} with invalid number of parameters (${arguments.length}) - expected (${Object.keys(RA.I).toString()}) parameters instead!`);
|
|
4759
4759
|
return mt.apply(this, arguments);
|
|
4760
4760
|
});
|
|
4761
4761
|
var pe = Object.create(NA, { constructor: { value: pA } });
|
|
4762
4762
|
pA.prototype = pe;
|
|
4763
|
-
var
|
|
4764
|
-
|
|
4765
|
-
var Te = new Qo(mA + " const*",
|
|
4763
|
+
var RA = new JR(mA, pA, pe, XA, OA, oA, lA, BA);
|
|
4764
|
+
RA.l && (RA.l.T === void 0 && (RA.l.T = []), RA.l.T.push(RA)), OA = new Qo(mA, RA, !0, !1), NA = new Qo(mA + "*", RA, !1, !1);
|
|
4765
|
+
var Te = new Qo(mA + " const*", RA, !1, !0);
|
|
4766
4766
|
return it[M] = { pointerType: NA, Ka: Te }, th(iA, pA), [OA, NA, Te];
|
|
4767
4767
|
});
|
|
4768
4768
|
}, _embind_register_class_class_function: function(M, y, S, T, _, oA, QA) {
|
|
@@ -4774,9 +4774,9 @@ var Ns = {}, z0 = { exports: {} };
|
|
|
4774
4774
|
uA = uA[0];
|
|
4775
4775
|
var mA = `${uA.name}.${y}`;
|
|
4776
4776
|
y.startsWith("@@") && (y = Symbol[y.substring(2)]);
|
|
4777
|
-
var
|
|
4778
|
-
return
|
|
4779
|
-
if (XA = dg(mA, [XA[0], null].concat(XA.slice(1)), null, oA, QA),
|
|
4777
|
+
var bA = uA.h.constructor;
|
|
4778
|
+
return bA[y] === void 0 ? (BA.L = S - 1, bA[y] = BA) : (LB(bA, y, mA), bA[y].m[S - 1] = BA), nn([], lA, function(XA) {
|
|
4779
|
+
if (XA = dg(mA, [XA[0], null].concat(XA.slice(1)), null, oA, QA), bA[y].m === void 0 ? (XA.L = S - 1, bA[y] = XA) : bA[y].m[S - 1] = XA, uA.h.T)
|
|
4780
4780
|
for (const iA of uA.h.T)
|
|
4781
4781
|
iA.constructor.hasOwnProperty(y) || (iA.constructor[y] = XA);
|
|
4782
4782
|
return [];
|
|
@@ -4792,14 +4792,14 @@ var Ns = {}, z0 = { exports: {} };
|
|
|
4792
4792
|
uo(`Cannot access ${BA} due to unbound types`, [S]);
|
|
4793
4793
|
} : () => {
|
|
4794
4794
|
Z(`${BA} is a read-only property`);
|
|
4795
|
-
}, Object.defineProperty(uA.h.constructor, y, mA), nn([], [S], function(
|
|
4796
|
-
|
|
4795
|
+
}, Object.defineProperty(uA.h.constructor, y, mA), nn([], [S], function(bA) {
|
|
4796
|
+
bA = bA[0];
|
|
4797
4797
|
var XA = { get() {
|
|
4798
|
-
return
|
|
4798
|
+
return bA.fromWireType(oA(T));
|
|
4799
4799
|
}, enumerable: !0 };
|
|
4800
4800
|
return lA && (lA = Nt(QA, lA), XA.set = (iA) => {
|
|
4801
4801
|
var pA = [];
|
|
4802
|
-
lA(T,
|
|
4802
|
+
lA(T, bA.toWireType(pA, iA)), Rn(pA);
|
|
4803
4803
|
}), Object.defineProperty(uA.h.constructor, y, XA), [];
|
|
4804
4804
|
}), [];
|
|
4805
4805
|
});
|
|
@@ -4820,37 +4820,37 @@ var Ns = {}, z0 = { exports: {} };
|
|
|
4820
4820
|
var uA = hg(S, T);
|
|
4821
4821
|
y = TA(y), oA = Nt(_, oA), nn([], [M], function(BA) {
|
|
4822
4822
|
function mA() {
|
|
4823
|
-
uo(`Cannot call ${
|
|
4823
|
+
uo(`Cannot call ${bA} due to unbound types`, uA);
|
|
4824
4824
|
}
|
|
4825
4825
|
BA = BA[0];
|
|
4826
|
-
var
|
|
4826
|
+
var bA = `${BA.name}.${y}`;
|
|
4827
4827
|
y.startsWith("@@") && (y = Symbol[y.substring(2)]), lA && BA.h.ya.push(y);
|
|
4828
4828
|
var XA = BA.h.B, iA = XA[y];
|
|
4829
|
-
return iA === void 0 || iA.m === void 0 && iA.className !== BA.name && iA.L === S - 2 ? (mA.L = S - 2, mA.className = BA.name, XA[y] = mA) : (LB(XA, y,
|
|
4830
|
-
return pA = dg(
|
|
4829
|
+
return iA === void 0 || iA.m === void 0 && iA.className !== BA.name && iA.L === S - 2 ? (mA.L = S - 2, mA.className = BA.name, XA[y] = mA) : (LB(XA, y, bA), XA[y].m[S - 2] = mA), nn([], uA, function(pA) {
|
|
4830
|
+
return pA = dg(bA, pA, BA, oA, QA), XA[y].m === void 0 ? (pA.L = S - 2, XA[y] = pA) : XA[y].m[S - 2] = pA, [];
|
|
4831
4831
|
}), [];
|
|
4832
4832
|
});
|
|
4833
4833
|
}, _embind_register_class_property: function(M, y, S, T, _, oA, QA, lA, uA, BA) {
|
|
4834
4834
|
y = TA(y), _ = Nt(T, _), nn([], [M], function(mA) {
|
|
4835
4835
|
mA = mA[0];
|
|
4836
|
-
var
|
|
4837
|
-
uo(`Cannot access ${
|
|
4836
|
+
var bA = `${mA.name}.${y}`, XA = { get() {
|
|
4837
|
+
uo(`Cannot access ${bA} due to unbound types`, [S, QA]);
|
|
4838
4838
|
}, enumerable: !0, configurable: !0 };
|
|
4839
4839
|
return XA.set = uA ? () => {
|
|
4840
|
-
uo(`Cannot access ${
|
|
4840
|
+
uo(`Cannot access ${bA} due to unbound types`, [S, QA]);
|
|
4841
4841
|
} : () => {
|
|
4842
|
-
Z(
|
|
4842
|
+
Z(bA + " is a read-only property");
|
|
4843
4843
|
}, Object.defineProperty(mA.h.B, y, XA), nn([], uA ? [S, QA] : [S], function(iA) {
|
|
4844
4844
|
var pA = iA[0], OA = { get() {
|
|
4845
|
-
var pe = rh(this, mA,
|
|
4845
|
+
var pe = rh(this, mA, bA + " getter");
|
|
4846
4846
|
return pA.fromWireType(_(oA, pe));
|
|
4847
4847
|
}, enumerable: !0 };
|
|
4848
4848
|
if (uA) {
|
|
4849
4849
|
uA = Nt(lA, uA);
|
|
4850
4850
|
var NA = iA[1];
|
|
4851
4851
|
OA.set = function(pe) {
|
|
4852
|
-
var
|
|
4853
|
-
uA(BA,
|
|
4852
|
+
var RA = rh(this, mA, bA + " setter"), Te = [];
|
|
4853
|
+
uA(BA, RA, NA.toWireType(Te, pe)), Rn(Te);
|
|
4854
4854
|
};
|
|
4855
4855
|
}
|
|
4856
4856
|
return Object.defineProperty(mA.h.B, y, OA), [];
|
|
@@ -4955,15 +4955,15 @@ var Ns = {}, z0 = { exports: {} };
|
|
|
4955
4955
|
else
|
|
4956
4956
|
y === 4 && (T = eL, _ = tL, oA = nL, QA = () => sA, lA = 2);
|
|
4957
4957
|
Wn(M, { name: S, fromWireType: function(uA) {
|
|
4958
|
-
for (var BA = sA[uA >> 2], mA = QA(),
|
|
4958
|
+
for (var BA = sA[uA >> 2], mA = QA(), bA, XA = uA + 4, iA = 0; iA <= BA; ++iA) {
|
|
4959
4959
|
var pA = uA + 4 + iA * y;
|
|
4960
|
-
(iA == BA || mA[pA >> lA] == 0) && (XA = T(XA, pA - XA),
|
|
4960
|
+
(iA == BA || mA[pA >> lA] == 0) && (XA = T(XA, pA - XA), bA === void 0 ? bA = XA : (bA += "\0", bA += XA), XA = pA + y);
|
|
4961
4961
|
}
|
|
4962
|
-
return Eo(uA),
|
|
4962
|
+
return Eo(uA), bA;
|
|
4963
4963
|
}, toWireType: function(uA, BA) {
|
|
4964
4964
|
typeof BA != "string" && Z(`Cannot pass non-string to C++ string type ${S}`);
|
|
4965
|
-
var mA = oA(BA),
|
|
4966
|
-
return sA[
|
|
4965
|
+
var mA = oA(BA), bA = KB(4 + mA + y);
|
|
4966
|
+
return sA[bA >> 2] = mA >> lA, _(BA, bA + 4, mA + y), uA !== null && uA.push(Eo, bA), bA;
|
|
4967
4967
|
}, argPackAdvance: 8, readValueFromPointer: jt, v: function(uA) {
|
|
4968
4968
|
Eo(uA);
|
|
4969
4969
|
} });
|
|
@@ -4995,10 +4995,10 @@ var Ns = {}, z0 = { exports: {} };
|
|
|
4995
4995
|
return _;
|
|
4996
4996
|
var oA = Array(M - 1);
|
|
4997
4997
|
return _ = rL((QA, lA, uA, BA) => {
|
|
4998
|
-
for (var mA = 0,
|
|
4999
|
-
oA[
|
|
5000
|
-
for (QA = QA[lA].apply(QA, oA),
|
|
5001
|
-
S[
|
|
4998
|
+
for (var mA = 0, bA = 0; bA < M - 1; ++bA)
|
|
4999
|
+
oA[bA] = S[bA + 1].readValueFromPointer(BA + mA), mA += S[bA + 1].argPackAdvance;
|
|
5000
|
+
for (QA = QA[lA].apply(QA, oA), bA = 0; bA < M - 1; ++bA)
|
|
5001
|
+
S[bA + 1].Na && S[bA + 1].Na(oA[bA]);
|
|
5002
5002
|
if (!T.cb)
|
|
5003
5003
|
return T.toWireType(uA, QA);
|
|
5004
5004
|
}), ch[y] = _;
|
|
@@ -5876,22 +5876,22 @@ var Ns = {}, z0 = { exports: {} };
|
|
|
5876
5876
|
return new (w || (w = Promise))(function(Z, aA) {
|
|
5877
5877
|
function fA(_A) {
|
|
5878
5878
|
try {
|
|
5879
|
-
|
|
5879
|
+
vA(P.next(_A));
|
|
5880
5880
|
} catch (TA) {
|
|
5881
5881
|
aA(TA);
|
|
5882
5882
|
}
|
|
5883
5883
|
}
|
|
5884
5884
|
function KA(_A) {
|
|
5885
5885
|
try {
|
|
5886
|
-
|
|
5886
|
+
vA(P.throw(_A));
|
|
5887
5887
|
} catch (TA) {
|
|
5888
5888
|
aA(TA);
|
|
5889
5889
|
}
|
|
5890
5890
|
}
|
|
5891
|
-
function
|
|
5891
|
+
function vA(_A) {
|
|
5892
5892
|
_A.done ? Z(_A.value) : z(_A.value).then(fA, KA);
|
|
5893
5893
|
}
|
|
5894
|
-
|
|
5894
|
+
vA((P = P.apply(L, [])).next());
|
|
5895
5895
|
});
|
|
5896
5896
|
}, B = function(L, I) {
|
|
5897
5897
|
var w = { label: 0, sent: function() {
|
|
@@ -5901,56 +5901,56 @@ var Ns = {}, z0 = { exports: {} };
|
|
|
5901
5901
|
return aA.next = fA(0), aA.throw = fA(1), aA.return = fA(2), typeof Symbol == "function" && (aA[Symbol.iterator] = function() {
|
|
5902
5902
|
return this;
|
|
5903
5903
|
}), aA;
|
|
5904
|
-
function fA(
|
|
5904
|
+
function fA(vA) {
|
|
5905
5905
|
return function(_A) {
|
|
5906
|
-
return KA([
|
|
5906
|
+
return KA([vA, _A]);
|
|
5907
5907
|
};
|
|
5908
5908
|
}
|
|
5909
|
-
function KA(
|
|
5909
|
+
function KA(vA) {
|
|
5910
5910
|
if (P) throw new TypeError("Generator is already executing.");
|
|
5911
|
-
for (; aA && (aA = 0,
|
|
5912
|
-
if (P = 1, z && (Z =
|
|
5913
|
-
switch (z = 0, Z && (
|
|
5911
|
+
for (; aA && (aA = 0, vA[0] && (w = 0)), w; ) try {
|
|
5912
|
+
if (P = 1, z && (Z = vA[0] & 2 ? z.return : vA[0] ? z.throw || ((Z = z.return) && Z.call(z), 0) : z.next) && !(Z = Z.call(z, vA[1])).done) return Z;
|
|
5913
|
+
switch (z = 0, Z && (vA = [vA[0] & 2, Z.value]), vA[0]) {
|
|
5914
5914
|
case 0:
|
|
5915
5915
|
case 1:
|
|
5916
|
-
Z =
|
|
5916
|
+
Z = vA;
|
|
5917
5917
|
break;
|
|
5918
5918
|
case 4:
|
|
5919
|
-
return w.label++, { value:
|
|
5919
|
+
return w.label++, { value: vA[1], done: !1 };
|
|
5920
5920
|
case 5:
|
|
5921
|
-
w.label++, z =
|
|
5921
|
+
w.label++, z = vA[1], vA = [0];
|
|
5922
5922
|
continue;
|
|
5923
5923
|
case 7:
|
|
5924
|
-
|
|
5924
|
+
vA = w.ops.pop(), w.trys.pop();
|
|
5925
5925
|
continue;
|
|
5926
5926
|
default:
|
|
5927
|
-
if (Z = w.trys, !(Z = Z.length > 0 && Z[Z.length - 1]) && (
|
|
5927
|
+
if (Z = w.trys, !(Z = Z.length > 0 && Z[Z.length - 1]) && (vA[0] === 6 || vA[0] === 2)) {
|
|
5928
5928
|
w = 0;
|
|
5929
5929
|
continue;
|
|
5930
5930
|
}
|
|
5931
|
-
if (
|
|
5932
|
-
w.label =
|
|
5931
|
+
if (vA[0] === 3 && (!Z || vA[1] > Z[0] && vA[1] < Z[3])) {
|
|
5932
|
+
w.label = vA[1];
|
|
5933
5933
|
break;
|
|
5934
5934
|
}
|
|
5935
|
-
if (
|
|
5936
|
-
w.label = Z[1], Z =
|
|
5935
|
+
if (vA[0] === 6 && w.label < Z[1]) {
|
|
5936
|
+
w.label = Z[1], Z = vA;
|
|
5937
5937
|
break;
|
|
5938
5938
|
}
|
|
5939
5939
|
if (Z && w.label < Z[2]) {
|
|
5940
|
-
w.label = Z[2], w.ops.push(
|
|
5940
|
+
w.label = Z[2], w.ops.push(vA);
|
|
5941
5941
|
break;
|
|
5942
5942
|
}
|
|
5943
5943
|
Z[2] && w.ops.pop(), w.trys.pop();
|
|
5944
5944
|
continue;
|
|
5945
5945
|
}
|
|
5946
|
-
|
|
5946
|
+
vA = I.call(L, w);
|
|
5947
5947
|
} catch (_A) {
|
|
5948
|
-
|
|
5948
|
+
vA = [6, _A], z = 0;
|
|
5949
5949
|
} finally {
|
|
5950
5950
|
P = Z = 0;
|
|
5951
5951
|
}
|
|
5952
|
-
if (
|
|
5953
|
-
return { value:
|
|
5952
|
+
if (vA[0] & 5) throw vA[1];
|
|
5953
|
+
return { value: vA[0] ? vA[1] : void 0, done: !0 };
|
|
5954
5954
|
}
|
|
5955
5955
|
}, E = function(L, I, w) {
|
|
5956
5956
|
for (var P = 0, z = I.length, Z; P < z; P++)
|
|
@@ -6198,9 +6198,9 @@ To resolve, you may need to:`,
|
|
|
6198
6198
|
if (fA >= 0 || KA >= 0)
|
|
6199
6199
|
fA >= 0 ? this.animations[fA].playing = w : this.stateMachines[KA].playing = w;
|
|
6200
6200
|
else {
|
|
6201
|
-
var
|
|
6202
|
-
if (
|
|
6203
|
-
var _A = new a.Animation(
|
|
6201
|
+
var vA = this.artboard.animationByName(I[aA]);
|
|
6202
|
+
if (vA) {
|
|
6203
|
+
var _A = new a.Animation(vA, this.artboard, this.runtime, w);
|
|
6204
6204
|
_A.advance(0), _A.apply(1), this.animations.push(_A);
|
|
6205
6205
|
} else {
|
|
6206
6206
|
var TA = this.artboard.stateMachineByName(I[aA]);
|
|
@@ -6735,7 +6735,7 @@ To resolve, you may need to:`,
|
|
|
6735
6735
|
}, L.prototype.onSystemAudioChanged = function() {
|
|
6736
6736
|
this.volume = this._volume;
|
|
6737
6737
|
}, L.prototype.init = function(I) {
|
|
6738
|
-
var w = this, P = I.src, z = I.buffer, Z = I.riveFile, aA = I.animations, fA = I.stateMachines, KA = I.artboard,
|
|
6738
|
+
var w = this, P = I.src, z = I.buffer, Z = I.riveFile, aA = I.animations, fA = I.stateMachines, KA = I.artboard, vA = I.autoplay, _A = vA === void 0 ? !1 : vA, TA = I.useOffscreenRenderer, le = TA === void 0 ? !1 : TA, Ie = I.autoBind, be = Ie === void 0 ? !1 : Ie;
|
|
6739
6739
|
if (!this.destroyed) {
|
|
6740
6740
|
if (this.src = P, this.buffer = z, this.riveFile = Z, !this.src && !this.buffer && !this.riveFile)
|
|
6741
6741
|
throw new C(L.missingErrorMessage);
|
|
@@ -6785,7 +6785,7 @@ To resolve, you may need to:`,
|
|
|
6785
6785
|
this.artboard && (this._artboardWidth = this.artboard.width = this._artboardWidth || this.artboard.width, this._artboardHeight = this.artboard.height = this._artboardHeight || this.artboard.height);
|
|
6786
6786
|
}, L.prototype.initData = function(I, w, P, z, Z) {
|
|
6787
6787
|
return Q(this, void 0, void 0, function() {
|
|
6788
|
-
var aA, fA, KA,
|
|
6788
|
+
var aA, fA, KA, vA;
|
|
6789
6789
|
return B(this, function(_A) {
|
|
6790
6790
|
switch (_A.label) {
|
|
6791
6791
|
case 0:
|
|
@@ -6802,7 +6802,7 @@ To resolve, you may need to:`,
|
|
|
6802
6802
|
case 2:
|
|
6803
6803
|
return this.file = this.riveFile.getInstance(), this.initArtboard(I, w, P, z, Z), this.initArtboardSize(), this.initializeAudio(), this.loaded = !0, this.eventManager.fire({
|
|
6804
6804
|
type: R.Load,
|
|
6805
|
-
data: (
|
|
6805
|
+
data: (vA = this.src) !== null && vA !== void 0 ? vA : "buffer"
|
|
6806
6806
|
}), this.readyForPlaying = !0, this.taskQueue.process(), this.drawFrame(), [2, !0];
|
|
6807
6807
|
case 3:
|
|
6808
6808
|
return fA = _A.sent(), KA = h(fA), console.warn(KA), this.eventManager.fire({ type: R.LoadError, data: KA }), [2, Promise.reject(KA)];
|
|
@@ -6834,9 +6834,9 @@ To resolve, you may need to:`,
|
|
|
6834
6834
|
data: KA
|
|
6835
6835
|
}
|
|
6836
6836
|
}), Z) {
|
|
6837
|
-
var
|
|
6838
|
-
if (
|
|
6839
|
-
var _A =
|
|
6837
|
+
var vA = this.file.defaultArtboardViewModel(aA);
|
|
6838
|
+
if (vA !== null) {
|
|
6839
|
+
var _A = vA.defaultInstance();
|
|
6840
6840
|
if (_A !== null) {
|
|
6841
6841
|
var TA = new tA(_A, null);
|
|
6842
6842
|
this.bindViewModelInstance(TA);
|
|
@@ -6859,8 +6859,8 @@ To resolve, you may need to:`,
|
|
|
6859
6859
|
}).sort(function(it) {
|
|
6860
6860
|
return it.needsScrub ? -1 : 1;
|
|
6861
6861
|
}), fA = 0, KA = aA; fA < KA.length; fA++) {
|
|
6862
|
-
var
|
|
6863
|
-
|
|
6862
|
+
var vA = KA[fA];
|
|
6863
|
+
vA.advance(Z), vA.instance.didLoop && (vA.loopCount += 1), vA.apply(1);
|
|
6864
6864
|
}
|
|
6865
6865
|
for (var _A = this.animator.stateMachines.filter(function(it) {
|
|
6866
6866
|
return it.playing;
|
|
@@ -7254,12 +7254,12 @@ To resolve, you may need to:`,
|
|
|
7254
7254
|
z.animations.push(aA.name);
|
|
7255
7255
|
}
|
|
7256
7256
|
for (var fA = 0; fA < P.stateMachineCount(); fA++) {
|
|
7257
|
-
for (var KA = P.stateMachineByIndex(fA),
|
|
7257
|
+
for (var KA = P.stateMachineByIndex(fA), vA = KA.name, _A = new this.runtime.StateMachineInstance(KA, P), TA = [], le = 0; le < _A.inputCount(); le++) {
|
|
7258
7258
|
var Ie = _A.input(le);
|
|
7259
7259
|
TA.push({ name: Ie.name, type: Ie.type });
|
|
7260
7260
|
}
|
|
7261
7261
|
z.stateMachines.push({
|
|
7262
|
-
name:
|
|
7262
|
+
name: vA,
|
|
7263
7263
|
inputs: TA
|
|
7264
7264
|
});
|
|
7265
7265
|
}
|
|
@@ -7507,7 +7507,7 @@ To resolve, you may need to:`,
|
|
|
7507
7507
|
var P = this.internalViewModelInstance(I[w]);
|
|
7508
7508
|
return P !== null ? w == I.length - 1 ? P : P.viewModelFromPathSegments(I, w++) : null;
|
|
7509
7509
|
}, L.prototype.propertyFromPathSegments = function(I, w, P) {
|
|
7510
|
-
var z, Z, aA, fA, KA,
|
|
7510
|
+
var z, Z, aA, fA, KA, vA, _A, TA, le, Ie, be, $e, pt, At, ve, Ge, Ye, rt;
|
|
7511
7511
|
if (w < I.length - 1) {
|
|
7512
7512
|
var Oe = this.internalViewModelInstance(I[w]);
|
|
7513
7513
|
return Oe !== null ? Oe.propertyFromPathSegments(I, w + 1, P) : null;
|
|
@@ -7523,7 +7523,7 @@ To resolve, you may need to:`,
|
|
|
7523
7523
|
return new gA(jA, this);
|
|
7524
7524
|
break;
|
|
7525
7525
|
case AA.Boolean:
|
|
7526
|
-
if (jA = (
|
|
7526
|
+
if (jA = (vA = (KA = this._runtimeInstance) === null || KA === void 0 ? void 0 : KA.boolean(I[w])) !== null && vA !== void 0 ? vA : null, jA !== null)
|
|
7527
7527
|
return new wA(jA, this);
|
|
7528
7528
|
break;
|
|
7529
7529
|
case AA.Color:
|
|
@@ -8532,7 +8532,7 @@ const uP = await import("./speakeasy-logo-ByBTXLWb.mjs"), EP = tr("relative", {
|
|
|
8532
8532
|
onMouseLeave: o,
|
|
8533
8533
|
...r
|
|
8534
8534
|
}) => {
|
|
8535
|
-
const [i, s] =
|
|
8535
|
+
const [i, s] = MA(!1), a = BP(), [g, c] = MA("loop-dark"), { rive: l, RiveComponent: Q } = Ns.useRive({
|
|
8536
8536
|
src: uP.default,
|
|
8537
8537
|
stateMachines: g,
|
|
8538
8538
|
autoplay: !0,
|
|
@@ -8546,9 +8546,9 @@ const uP = await import("./speakeasy-logo-ByBTXLWb.mjs"), EP = tr("relative", {
|
|
|
8546
8546
|
"isHovered",
|
|
8547
8547
|
l?.viewModelInstance
|
|
8548
8548
|
);
|
|
8549
|
-
return
|
|
8549
|
+
return PA(() => {
|
|
8550
8550
|
c(a === "dark" ? "loop-dark" : "loop-light");
|
|
8551
|
-
}, [a]),
|
|
8551
|
+
}, [a]), PA(() => () => {
|
|
8552
8552
|
l?.cleanup();
|
|
8553
8553
|
}, [l]), /* @__PURE__ */ eA(
|
|
8554
8554
|
"div",
|
|
@@ -8865,7 +8865,7 @@ function Ae(A) {
|
|
|
8865
8865
|
A(t) && e(t);
|
|
8866
8866
|
};
|
|
8867
8867
|
}
|
|
8868
|
-
function
|
|
8868
|
+
function LA(A) {
|
|
8869
8869
|
return (e) => X0(e, A);
|
|
8870
8870
|
}
|
|
8871
8871
|
function Xn(A) {
|
|
@@ -9188,13 +9188,13 @@ const Vt = Fe(
|
|
|
9188
9188
|
return YA(
|
|
9189
9189
|
dA(
|
|
9190
9190
|
A,
|
|
9191
|
-
|
|
9191
|
+
LA(({ scrollTop: h }) => h)
|
|
9192
9192
|
),
|
|
9193
9193
|
e
|
|
9194
9194
|
), YA(
|
|
9195
9195
|
dA(
|
|
9196
9196
|
A,
|
|
9197
|
-
|
|
9197
|
+
LA(({ scrollHeight: h }) => h)
|
|
9198
9198
|
),
|
|
9199
9199
|
i
|
|
9200
9200
|
), YA(e, o), {
|
|
@@ -9534,7 +9534,7 @@ const TP = {
|
|
|
9534
9534
|
prev: [],
|
|
9535
9535
|
current: []
|
|
9536
9536
|
}),
|
|
9537
|
-
|
|
9537
|
+
LA(({ prev: v }) => v)
|
|
9538
9538
|
),
|
|
9539
9539
|
[]
|
|
9540
9540
|
);
|
|
@@ -9543,7 +9543,7 @@ const TP = {
|
|
|
9543
9543
|
a,
|
|
9544
9544
|
Ae((v) => v.length > 0),
|
|
9545
9545
|
ce(C, B),
|
|
9546
|
-
|
|
9546
|
+
LA(([v, D, F]) => {
|
|
9547
9547
|
const N = v.reduce((Y, G, R) => an(Y, G, ia(G, D.offsetTree, F) || R), Fi());
|
|
9548
9548
|
return {
|
|
9549
9549
|
...D,
|
|
@@ -9558,7 +9558,7 @@ const TP = {
|
|
|
9558
9558
|
n,
|
|
9559
9559
|
ce(C),
|
|
9560
9560
|
Ae(([v, { lastIndex: D }]) => v < D),
|
|
9561
|
-
|
|
9561
|
+
LA(([v, { lastIndex: D, lastSize: F }]) => [
|
|
9562
9562
|
{
|
|
9563
9563
|
startIndex: v,
|
|
9564
9564
|
endIndex: D,
|
|
@@ -9571,7 +9571,7 @@ const TP = {
|
|
|
9571
9571
|
const d = Jt(
|
|
9572
9572
|
dA(
|
|
9573
9573
|
g,
|
|
9574
|
-
|
|
9574
|
+
LA((v) => v === void 0)
|
|
9575
9575
|
),
|
|
9576
9576
|
!0
|
|
9577
9577
|
);
|
|
@@ -9579,7 +9579,7 @@ const TP = {
|
|
|
9579
9579
|
dA(
|
|
9580
9580
|
c,
|
|
9581
9581
|
Ae((v) => v !== void 0 && Le(bt(C).sizeTree)),
|
|
9582
|
-
|
|
9582
|
+
LA((v) => [{ startIndex: 0, endIndex: 0, size: v }])
|
|
9583
9583
|
),
|
|
9584
9584
|
t
|
|
9585
9585
|
);
|
|
@@ -9594,7 +9594,7 @@ const TP = {
|
|
|
9594
9594
|
}),
|
|
9595
9595
|
{ changed: !1, sizes: E }
|
|
9596
9596
|
),
|
|
9597
|
-
|
|
9597
|
+
LA((v) => v.changed)
|
|
9598
9598
|
)
|
|
9599
9599
|
);
|
|
9600
9600
|
Ne(
|
|
@@ -9604,7 +9604,7 @@ const TP = {
|
|
|
9604
9604
|
(v, D) => ({ diff: v.prev - D, prev: D }),
|
|
9605
9605
|
{ diff: 0, prev: 0 }
|
|
9606
9606
|
),
|
|
9607
|
-
|
|
9607
|
+
LA((v) => v.diff)
|
|
9608
9608
|
),
|
|
9609
9609
|
(v) => {
|
|
9610
9610
|
const { groupIndices: D } = bt(C);
|
|
@@ -9627,7 +9627,7 @@ const TP = {
|
|
|
9627
9627
|
dA(
|
|
9628
9628
|
r,
|
|
9629
9629
|
ce(C),
|
|
9630
|
-
|
|
9630
|
+
LA(([v, D]) => {
|
|
9631
9631
|
const F = D.groupIndices.length > 0, N = [], Y = D.lastSize;
|
|
9632
9632
|
if (F) {
|
|
9633
9633
|
const G = ra(D.sizeTree, 0);
|
|
@@ -9688,7 +9688,7 @@ const TP = {
|
|
|
9688
9688
|
dA(
|
|
9689
9689
|
i,
|
|
9690
9690
|
ce(C, B),
|
|
9691
|
-
|
|
9691
|
+
LA(([v, { offsetTree: D }, F]) => {
|
|
9692
9692
|
const N = -v;
|
|
9693
9693
|
return ia(N, D, F);
|
|
9694
9694
|
})
|
|
@@ -9698,7 +9698,7 @@ const TP = {
|
|
|
9698
9698
|
dA(
|
|
9699
9699
|
i,
|
|
9700
9700
|
ce(C, B),
|
|
9701
|
-
|
|
9701
|
+
LA(([v, D, F]) => {
|
|
9702
9702
|
if (D.groupIndices.length > 0) {
|
|
9703
9703
|
if (Le(D.sizeTree))
|
|
9704
9704
|
return D;
|
|
@@ -9786,7 +9786,7 @@ const Ha = Fe(
|
|
|
9786
9786
|
B,
|
|
9787
9787
|
ce(A, r, e, C, a, g, Q),
|
|
9788
9788
|
ce(n, c, l),
|
|
9789
|
-
|
|
9789
|
+
LA(
|
|
9790
9790
|
([
|
|
9791
9791
|
[k, v, D, F, N, Y, G, R],
|
|
9792
9792
|
K,
|
|
@@ -9857,7 +9857,7 @@ const sa = "up", Ks = "down", qP = "none", WP = {
|
|
|
9857
9857
|
YA(
|
|
9858
9858
|
dA(
|
|
9859
9859
|
ft($A(e), $A(l)),
|
|
9860
|
-
|
|
9860
|
+
LA(([f, p]) => f <= p),
|
|
9861
9861
|
Je()
|
|
9862
9862
|
),
|
|
9863
9863
|
s
|
|
@@ -9919,14 +9919,14 @@ const sa = "up", Ks = "down", qP = "none", WP = {
|
|
|
9919
9919
|
{ scrollHeight: 0, jump: 0, scrollTop: 0, changed: !1 }
|
|
9920
9920
|
),
|
|
9921
9921
|
Ae((f) => f.changed),
|
|
9922
|
-
|
|
9922
|
+
LA((f) => f.jump)
|
|
9923
9923
|
),
|
|
9924
9924
|
0
|
|
9925
9925
|
);
|
|
9926
9926
|
YA(
|
|
9927
9927
|
dA(
|
|
9928
9928
|
E,
|
|
9929
|
-
|
|
9929
|
+
LA((f) => f.atBottom)
|
|
9930
9930
|
),
|
|
9931
9931
|
i
|
|
9932
9932
|
), YA(dA(i, Oo(50)), a);
|
|
@@ -9934,13 +9934,13 @@ const sa = "up", Ks = "down", qP = "none", WP = {
|
|
|
9934
9934
|
YA(
|
|
9935
9935
|
dA(
|
|
9936
9936
|
A,
|
|
9937
|
-
|
|
9937
|
+
LA(({ scrollTop: f }) => f),
|
|
9938
9938
|
Je(),
|
|
9939
9939
|
_n(
|
|
9940
9940
|
(f, p) => bt(B) ? { direction: f.direction, prevScrollTop: p } : { direction: p < f.prevScrollTop ? sa : Ks, prevScrollTop: p },
|
|
9941
9941
|
{ direction: Ks, prevScrollTop: 0 }
|
|
9942
9942
|
),
|
|
9943
|
-
|
|
9943
|
+
LA((f) => f.direction)
|
|
9944
9944
|
),
|
|
9945
9945
|
h
|
|
9946
9946
|
), YA(dA(A, Oo(50), Xn(qP)), h);
|
|
@@ -9960,7 +9960,7 @@ const sa = "up", Ks = "down", qP = "none", WP = {
|
|
|
9960
9960
|
ce(Q),
|
|
9961
9961
|
Ae(([f, p]) => !!p),
|
|
9962
9962
|
_n(([f, p], [k]) => [p, k], [0, 0]),
|
|
9963
|
-
|
|
9963
|
+
LA(([f, p]) => p - f)
|
|
9964
9964
|
),
|
|
9965
9965
|
d
|
|
9966
9966
|
), {
|
|
@@ -10069,7 +10069,7 @@ const zP = (A, e) => typeof A == "function" ? Oh(A(e)) : e && Oh(A), jP = Fe(
|
|
|
10069
10069
|
dA(
|
|
10070
10070
|
ft(dA($A(A), Gi(1)), s),
|
|
10071
10071
|
ce($A(c), t, r, g),
|
|
10072
|
-
|
|
10072
|
+
LA(([[C, h], d, f, p, k]) => {
|
|
10073
10073
|
let v = h && p, D = "auto";
|
|
10074
10074
|
return v && (D = zP(d, f || k), v = v && !!D), { totalCount: C, shouldFollow: v, followOutputBehavior: D };
|
|
10075
10075
|
}),
|
|
@@ -10119,26 +10119,26 @@ function XP(A) {
|
|
|
10119
10119
|
);
|
|
10120
10120
|
}
|
|
10121
10121
|
const By = Fe(([{ totalCount: A, groupIndices: e, sizes: t }, { scrollTop: n, headerHeight: o }]) => {
|
|
10122
|
-
const r = we(), i = we(), s = gn(dA(r,
|
|
10122
|
+
const r = we(), i = we(), s = gn(dA(r, LA(XP)));
|
|
10123
10123
|
return YA(
|
|
10124
10124
|
dA(
|
|
10125
10125
|
s,
|
|
10126
|
-
|
|
10126
|
+
LA((a) => a.totalCount)
|
|
10127
10127
|
),
|
|
10128
10128
|
A
|
|
10129
10129
|
), YA(
|
|
10130
10130
|
dA(
|
|
10131
10131
|
s,
|
|
10132
|
-
|
|
10132
|
+
LA((a) => a.groupIndices)
|
|
10133
10133
|
),
|
|
10134
10134
|
e
|
|
10135
10135
|
), YA(
|
|
10136
10136
|
dA(
|
|
10137
10137
|
ft(n, t, o),
|
|
10138
10138
|
Ae(([a, g]) => yl(g)),
|
|
10139
|
-
|
|
10139
|
+
LA(([a, g, c]) => Kn(g.groupOffsetTree, Math.max(a - c, 0), "v")[0]),
|
|
10140
10140
|
Je(),
|
|
10141
|
-
|
|
10141
|
+
LA((a) => [a])
|
|
10142
10142
|
),
|
|
10143
10143
|
i
|
|
10144
10144
|
), { groupCounts: r, topItemsIndexes: i };
|
|
@@ -10171,7 +10171,7 @@ const tC = Fe(
|
|
|
10171
10171
|
$A(t),
|
|
10172
10172
|
$A(s)
|
|
10173
10173
|
),
|
|
10174
|
-
|
|
10174
|
+
LA(
|
|
10175
10175
|
([
|
|
10176
10176
|
c,
|
|
10177
10177
|
l,
|
|
@@ -10326,7 +10326,7 @@ const Xr = Fe(
|
|
|
10326
10326
|
const G = Y && Y.length !== N;
|
|
10327
10327
|
return D && !F && !G;
|
|
10328
10328
|
}),
|
|
10329
|
-
|
|
10329
|
+
LA(
|
|
10330
10330
|
([
|
|
10331
10331
|
,
|
|
10332
10332
|
,
|
|
@@ -10398,25 +10398,25 @@ const Xr = Fe(
|
|
|
10398
10398
|
dA(
|
|
10399
10399
|
t,
|
|
10400
10400
|
Ae(jE),
|
|
10401
|
-
|
|
10401
|
+
LA((D) => D?.length)
|
|
10402
10402
|
),
|
|
10403
10403
|
e
|
|
10404
10404
|
), YA(
|
|
10405
10405
|
dA(
|
|
10406
10406
|
f,
|
|
10407
|
-
|
|
10407
|
+
LA((D) => D.topListHeight)
|
|
10408
10408
|
),
|
|
10409
10409
|
l
|
|
10410
10410
|
), YA(l, a), YA(
|
|
10411
10411
|
dA(
|
|
10412
10412
|
f,
|
|
10413
|
-
|
|
10413
|
+
LA((D) => [D.top, D.bottom])
|
|
10414
10414
|
),
|
|
10415
10415
|
s
|
|
10416
10416
|
), YA(
|
|
10417
10417
|
dA(
|
|
10418
10418
|
f,
|
|
10419
|
-
|
|
10419
|
+
LA((D) => D.items)
|
|
10420
10420
|
),
|
|
10421
10421
|
d
|
|
10422
10422
|
);
|
|
@@ -10426,23 +10426,23 @@ const Xr = Fe(
|
|
|
10426
10426
|
Ae(({ items: D }) => D.length > 0),
|
|
10427
10427
|
ce(e, t),
|
|
10428
10428
|
Ae(([{ items: D }, F]) => D[D.length - 1].originalIndex === F - 1),
|
|
10429
|
-
|
|
10429
|
+
LA(([, D, F]) => [D - 1, F]),
|
|
10430
10430
|
Je(aa),
|
|
10431
|
-
|
|
10431
|
+
LA(([D]) => D)
|
|
10432
10432
|
)
|
|
10433
10433
|
), k = gn(
|
|
10434
10434
|
dA(
|
|
10435
10435
|
f,
|
|
10436
10436
|
Oo(200),
|
|
10437
10437
|
Ae(({ items: D, topItems: F }) => D.length > 0 && D[0].originalIndex === F.length),
|
|
10438
|
-
|
|
10438
|
+
LA(({ items: D }) => D[0].index),
|
|
10439
10439
|
Je()
|
|
10440
10440
|
)
|
|
10441
10441
|
), v = gn(
|
|
10442
10442
|
dA(
|
|
10443
10443
|
f,
|
|
10444
10444
|
Ae(({ items: D }) => D.length > 0),
|
|
10445
|
-
|
|
10445
|
+
LA(({ items: D }) => {
|
|
10446
10446
|
let F = 0, N = D.length - 1;
|
|
10447
10447
|
for (; D[F].type === "group" && F < N; )
|
|
10448
10448
|
F++;
|
|
@@ -10476,7 +10476,7 @@ const Xr = Fe(
|
|
|
10476
10476
|
ce(r),
|
|
10477
10477
|
Ae(([, a]) => a !== 0),
|
|
10478
10478
|
ce(o, A, e, n, t),
|
|
10479
|
-
|
|
10479
|
+
LA(([[, a], g, c, l, Q, B = []]) => uy(a, g, c, l, Q, B))
|
|
10480
10480
|
),
|
|
10481
10481
|
i
|
|
10482
10482
|
), {}),
|
|
@@ -10490,7 +10490,7 @@ const Xr = Fe(
|
|
|
10490
10490
|
A,
|
|
10491
10491
|
ce(n, e, t),
|
|
10492
10492
|
Ae(([o, r]) => !!r),
|
|
10493
|
-
|
|
10493
|
+
LA(([o, r, i, s]) => {
|
|
10494
10494
|
const { exit: a, enter: g } = r;
|
|
10495
10495
|
if (i) {
|
|
10496
10496
|
if (a(o, s))
|
|
@@ -10515,7 +10515,7 @@ const Xr = Fe(
|
|
|
10515
10515
|
dA(
|
|
10516
10516
|
e,
|
|
10517
10517
|
Ae((t) => t > 0),
|
|
10518
|
-
|
|
10518
|
+
LA((t) => Array.from({ length: t }).map((n, o) => o))
|
|
10519
10519
|
),
|
|
10520
10520
|
A
|
|
10521
10521
|
), { topItemCount: e };
|
|
@@ -10524,7 +10524,7 @@ const Xr = Fe(
|
|
|
10524
10524
|
const r = we(), i = Jt(
|
|
10525
10525
|
dA(
|
|
10526
10526
|
ft(A, n, e, t, o),
|
|
10527
|
-
|
|
10527
|
+
LA(([s, a, g, c, l]) => s + a + g + c + l.offsetBottom + l.bottom)
|
|
10528
10528
|
),
|
|
10529
10529
|
0
|
|
10530
10530
|
);
|
|
@@ -10561,7 +10561,7 @@ const AS = Iy(() => /iP(ad|od|hone)/i.test(navigator.userAgent) && /WebKit/i.tes
|
|
|
10561
10561
|
Ae(([d]) => d !== 0),
|
|
10562
10562
|
ce(e, i, n, r, B, E),
|
|
10563
10563
|
Ae(([, d, f, p, , , k]) => !k && !p && d !== 0 && f === sa),
|
|
10564
|
-
|
|
10564
|
+
LA(([[d], , , , , f]) => (f("Upward scrolling compensation", { amount: d }, cn.DEBUG), d))
|
|
10565
10565
|
)
|
|
10566
10566
|
);
|
|
10567
10567
|
function h(d) {
|
|
@@ -10573,21 +10573,21 @@ const AS = Iy(() => /iP(ad|od|hone)/i.test(navigator.userAgent) && /WebKit/i.tes
|
|
|
10573
10573
|
dA(
|
|
10574
10574
|
ft(Jt(o, !1), t, E),
|
|
10575
10575
|
Ae(([d, f, p]) => !d && !p && f !== 0),
|
|
10576
|
-
|
|
10576
|
+
LA(([d, f]) => f),
|
|
10577
10577
|
Oo(1)
|
|
10578
10578
|
),
|
|
10579
10579
|
h
|
|
10580
10580
|
), YA(
|
|
10581
10581
|
dA(
|
|
10582
10582
|
c,
|
|
10583
|
-
|
|
10583
|
+
LA((d) => ({ top: -d }))
|
|
10584
10584
|
),
|
|
10585
10585
|
A
|
|
10586
10586
|
), Ne(
|
|
10587
10587
|
dA(
|
|
10588
10588
|
g,
|
|
10589
10589
|
ce(l, Q),
|
|
10590
|
-
|
|
10590
|
+
LA(([d, { lastSize: f, groupIndices: p, sizeTree: k }, v]) => {
|
|
10591
10591
|
function D(F) {
|
|
10592
10592
|
return F * (f + v);
|
|
10593
10593
|
}
|
|
@@ -10624,7 +10624,7 @@ const AS = Iy(() => /iP(ad|od|hone)/i.test(navigator.userAgent) && /WebKit/i.tes
|
|
|
10624
10624
|
A,
|
|
10625
10625
|
ce(n),
|
|
10626
10626
|
Ae(([, o]) => o !== 0),
|
|
10627
|
-
|
|
10627
|
+
LA(([, o]) => ({ top: o }))
|
|
10628
10628
|
),
|
|
10629
10629
|
(o) => {
|
|
10630
10630
|
so(
|
|
@@ -10652,7 +10652,7 @@ const AS = Iy(() => /iP(ad|od|hone)/i.test(navigator.userAgent) && /WebKit/i.tes
|
|
|
10652
10652
|
dA(
|
|
10653
10653
|
ft(t, A, e),
|
|
10654
10654
|
Ae(([o]) => o),
|
|
10655
|
-
|
|
10655
|
+
LA(([, o, r]) => Math.max(0, o - r)),
|
|
10656
10656
|
Oo(0),
|
|
10657
10657
|
Je()
|
|
10658
10658
|
),
|
|
@@ -10667,7 +10667,7 @@ const AS = Iy(() => /iP(ad|od|hone)/i.test(navigator.userAgent) && /WebKit/i.tes
|
|
|
10667
10667
|
return YA(
|
|
10668
10668
|
dA(
|
|
10669
10669
|
ft(t, n),
|
|
10670
|
-
|
|
10670
|
+
LA(([{ viewportHeight: s, scrollTop: a, scrollHeight: g }, { offsetTop: c }]) => ({
|
|
10671
10671
|
scrollTop: Math.max(0, a - c),
|
|
10672
10672
|
scrollHeight: g,
|
|
10673
10673
|
viewportHeight: s
|
|
@@ -10678,7 +10678,7 @@ const AS = Iy(() => /iP(ad|od|hone)/i.test(navigator.userAgent) && /WebKit/i.tes
|
|
|
10678
10678
|
dA(
|
|
10679
10679
|
A,
|
|
10680
10680
|
ce(n),
|
|
10681
|
-
|
|
10681
|
+
LA(([s, { offsetTop: a }]) => ({
|
|
10682
10682
|
...s,
|
|
10683
10683
|
top: s.top + a
|
|
10684
10684
|
}))
|
|
@@ -10712,7 +10712,7 @@ const AS = Iy(() => /iP(ad|od|hone)/i.test(navigator.userAgent) && /WebKit/i.tes
|
|
|
10712
10712
|
c,
|
|
10713
10713
|
ce(A, o, e, r, i, s, n),
|
|
10714
10714
|
ce(t),
|
|
10715
|
-
|
|
10715
|
+
LA(([[l, Q, B, E, C, h, d, f], p]) => {
|
|
10716
10716
|
const { done: k, behavior: v, align: D, calculateViewLocation: F = oS, ...N } = l, Y = gy(l, Q, E - 1), G = ia(Y, Q.offsetTree, p) + C + h, R = G + Kn(Q.sizeTree, Y)[1], K = f + h, q = f + B - d, U = F({
|
|
10717
10717
|
itemTop: G,
|
|
10718
10718
|
itemBottom: R,
|
|
@@ -10758,13 +10758,13 @@ const AS = Iy(() => /iP(ad|od|hone)/i.test(navigator.userAgent) && /WebKit/i.tes
|
|
|
10758
10758
|
const k = YP(E.sizeTree);
|
|
10759
10759
|
h && d !== null && f !== null && (C = d.scrollTop - f.offsetTop), C -= p, B({ ranges: k, scrollTop: C });
|
|
10760
10760
|
}
|
|
10761
|
-
), YA(dA(c, Ae(jE),
|
|
10761
|
+
), YA(dA(c, Ae(jE), LA(sS)), o), YA(
|
|
10762
10762
|
dA(
|
|
10763
10763
|
r,
|
|
10764
10764
|
ce(c),
|
|
10765
10765
|
Ae(([, B]) => B !== void 0),
|
|
10766
10766
|
Je(),
|
|
10767
|
-
|
|
10767
|
+
LA(([, B]) => B.ranges)
|
|
10768
10768
|
),
|
|
10769
10769
|
e
|
|
10770
10770
|
), {
|
|
@@ -10842,7 +10842,7 @@ const aS = Fe(
|
|
|
10842
10842
|
]) => (YA(k.rangeChanged, Y.scrollSeekRangeChanged), YA(
|
|
10843
10843
|
dA(
|
|
10844
10844
|
Y.windowViewportRect,
|
|
10845
|
-
|
|
10845
|
+
LA((G) => G.visibleHeight)
|
|
10846
10846
|
),
|
|
10847
10847
|
C.viewportHeight
|
|
10848
10848
|
), {
|
|
@@ -10940,7 +10940,7 @@ const cS = /* @__PURE__ */ Fe(() => {
|
|
|
10940
10940
|
const A = yA((a) => `Item ${a}`), e = yA(null), t = yA((a) => `Group ${a}`), n = yA({}), o = yA(Dy), r = yA("div"), i = yA(ts), s = (a, g = null) => Jt(
|
|
10941
10941
|
dA(
|
|
10942
10942
|
n,
|
|
10943
|
-
|
|
10943
|
+
LA((c) => c[a]),
|
|
10944
10944
|
Je()
|
|
10945
10945
|
),
|
|
10946
10946
|
g
|
|
@@ -11314,7 +11314,7 @@ const xS = /* @__PURE__ */ Fe(
|
|
|
11314
11314
|
), YA(
|
|
11315
11315
|
dA(
|
|
11316
11316
|
Y,
|
|
11317
|
-
|
|
11317
|
+
LA(({ height: $ }) => $)
|
|
11318
11318
|
),
|
|
11319
11319
|
r
|
|
11320
11320
|
), YA(
|
|
@@ -11325,7 +11325,7 @@ const xS = /* @__PURE__ */ Fe(
|
|
|
11325
11325
|
$A(H, ($, gA) => $ && $.column === gA.column && $.row === gA.row),
|
|
11326
11326
|
$A(o)
|
|
11327
11327
|
),
|
|
11328
|
-
|
|
11328
|
+
LA(([$, gA, cA, wA]) => ({
|
|
11329
11329
|
viewport: $,
|
|
11330
11330
|
item: gA,
|
|
11331
11331
|
gap: cA,
|
|
@@ -11348,7 +11348,7 @@ const xS = /* @__PURE__ */ Fe(
|
|
|
11348
11348
|
$A(O)
|
|
11349
11349
|
),
|
|
11350
11350
|
Ae(([, , , , , , , $]) => !$),
|
|
11351
|
-
|
|
11351
|
+
LA(
|
|
11352
11352
|
([
|
|
11353
11353
|
$,
|
|
11354
11354
|
[gA, cA],
|
|
@@ -11365,8 +11365,8 @@ const xS = /* @__PURE__ */ Fe(
|
|
|
11365
11365
|
if (qA === 0 && ($ === 0 || Qt === 0))
|
|
11366
11366
|
return Xh;
|
|
11367
11367
|
if (We === 0) {
|
|
11368
|
-
const KA = eC(Ce, $),
|
|
11369
|
-
return NS($h(KA,
|
|
11368
|
+
const KA = eC(Ce, $), vA = Math.max(KA + qA - 1, 0);
|
|
11369
|
+
return NS($h(KA, vA, UA));
|
|
11370
11370
|
}
|
|
11371
11371
|
const ot = vy(Qt, We, ye);
|
|
11372
11372
|
let L, I;
|
|
@@ -11381,14 +11381,14 @@ const xS = /* @__PURE__ */ Fe(
|
|
|
11381
11381
|
dA(
|
|
11382
11382
|
U,
|
|
11383
11383
|
Ae(($) => $ !== null),
|
|
11384
|
-
|
|
11384
|
+
LA(($) => $.length)
|
|
11385
11385
|
),
|
|
11386
11386
|
D
|
|
11387
11387
|
), YA(
|
|
11388
11388
|
dA(
|
|
11389
11389
|
ft(Y, G, N, H),
|
|
11390
11390
|
Ae(([$, gA, { items: cA }]) => cA.length > 0 && gA.height !== 0 && $.height !== 0),
|
|
11391
|
-
|
|
11391
|
+
LA(([$, gA, { items: cA }, wA]) => {
|
|
11392
11392
|
const { top: EA, bottom: DA } = Aw($, wA, gA, cA);
|
|
11393
11393
|
return [EA, DA];
|
|
11394
11394
|
}),
|
|
@@ -11401,7 +11401,7 @@ const xS = /* @__PURE__ */ Fe(
|
|
|
11401
11401
|
dA(
|
|
11402
11402
|
o,
|
|
11403
11403
|
ce(b),
|
|
11404
|
-
|
|
11404
|
+
LA(([$, gA]) => gA || $ !== 0)
|
|
11405
11405
|
),
|
|
11406
11406
|
b
|
|
11407
11407
|
);
|
|
@@ -11411,7 +11411,7 @@ const xS = /* @__PURE__ */ Fe(
|
|
|
11411
11411
|
Ae(({ items: $ }) => $.length > 0),
|
|
11412
11412
|
ce(D, b),
|
|
11413
11413
|
Ae(([{ items: $ }, gA, cA]) => cA && $[$.length - 1].index === gA - 1),
|
|
11414
|
-
|
|
11414
|
+
LA(([, $]) => $ - 1),
|
|
11415
11415
|
Je()
|
|
11416
11416
|
)
|
|
11417
11417
|
), rA = gn(
|
|
@@ -11427,7 +11427,7 @@ const xS = /* @__PURE__ */ Fe(
|
|
|
11427
11427
|
$A(N),
|
|
11428
11428
|
ce(V),
|
|
11429
11429
|
Ae(([{ items: $ }, gA]) => $.length > 0 && !gA),
|
|
11430
|
-
|
|
11430
|
+
LA(([{ items: $ }]) => ({
|
|
11431
11431
|
startIndex: $[0].index,
|
|
11432
11432
|
endIndex: $[$.length - 1].index
|
|
11433
11433
|
})),
|
|
@@ -11439,7 +11439,7 @@ const xS = /* @__PURE__ */ Fe(
|
|
|
11439
11439
|
dA(
|
|
11440
11440
|
R,
|
|
11441
11441
|
ce(Y, G, D, H),
|
|
11442
|
-
|
|
11442
|
+
LA(([$, gA, cA, wA, EA]) => {
|
|
11443
11443
|
const DA = ly($), { align: UA, behavior: qA, offset: De } = DA;
|
|
11444
11444
|
let Ce = DA.index;
|
|
11445
11445
|
Ce === "LAST" && (Ce = wA - 1), Ce = Ys(0, Ce, WB(wA - 1, Ce));
|
|
@@ -11452,14 +11452,14 @@ const xS = /* @__PURE__ */ Fe(
|
|
|
11452
11452
|
const tA = Jt(
|
|
11453
11453
|
dA(
|
|
11454
11454
|
N,
|
|
11455
|
-
|
|
11455
|
+
LA(($) => $.offsetBottom + $.bottom)
|
|
11456
11456
|
),
|
|
11457
11457
|
0
|
|
11458
11458
|
);
|
|
11459
11459
|
return YA(
|
|
11460
11460
|
dA(
|
|
11461
11461
|
h,
|
|
11462
|
-
|
|
11462
|
+
LA(($) => ({ width: $.visibleWidth, height: $.visibleHeight }))
|
|
11463
11463
|
),
|
|
11464
11464
|
Y
|
|
11465
11465
|
), {
|
|
@@ -11524,7 +11524,7 @@ const bS = /* @__PURE__ */ Fe(() => {
|
|
|
11524
11524
|
const A = yA((l) => `Item ${l}`), e = yA({}), t = yA(null), n = yA("virtuoso-grid-item"), o = yA("virtuoso-grid-list"), r = yA(Dy), i = yA("div"), s = yA(ts), a = (l, Q = null) => Jt(
|
|
11525
11525
|
dA(
|
|
11526
11526
|
e,
|
|
11527
|
-
|
|
11527
|
+
LA((B) => B[l]),
|
|
11528
11528
|
Je()
|
|
11529
11529
|
),
|
|
11530
11530
|
Q
|
|
@@ -12207,7 +12207,7 @@ function _B(A, e) {
|
|
|
12207
12207
|
return typeof A == "function" ? A(e) : A && (A.current = e), A;
|
|
12208
12208
|
}
|
|
12209
12209
|
function yG(A, e) {
|
|
12210
|
-
var t =
|
|
12210
|
+
var t = MA(function() {
|
|
12211
12211
|
return {
|
|
12212
12212
|
// value
|
|
12213
12213
|
value: A,
|
|
@@ -14497,7 +14497,7 @@ const IU = jH, dU = XH, hU = WH, wU = _H, fU = VH, pw = qH, DU = ZH, pU = (A, e,
|
|
|
14497
14497
|
platform: r
|
|
14498
14498
|
});
|
|
14499
14499
|
};
|
|
14500
|
-
var cc = typeof document < "u" ? Io :
|
|
14500
|
+
var cc = typeof document < "u" ? Io : PA;
|
|
14501
14501
|
function Lc(A, e) {
|
|
14502
14502
|
if (A === e)
|
|
14503
14503
|
return !0;
|
|
@@ -18067,7 +18067,7 @@ function iT() {
|
|
|
18067
18067
|
if (A === null)
|
|
18068
18068
|
return [!0, null];
|
|
18069
18069
|
const { isPresent: e, onExitComplete: t, register: n } = A, o = zr();
|
|
18070
|
-
|
|
18070
|
+
PA(() => n(o), []);
|
|
18071
18071
|
const r = re(() => t && t(o), [o, t]);
|
|
18072
18072
|
return !e && t ? [!1, r] : [!0];
|
|
18073
18073
|
}
|
|
@@ -19142,10 +19142,10 @@ const tO = {
|
|
|
19142
19142
|
transformPagePoint: (A) => A,
|
|
19143
19143
|
isStatic: !1,
|
|
19144
19144
|
reducedMotion: "never"
|
|
19145
|
-
}), ql = Ze({}), iI = typeof window < "u", sv = iI ? Io :
|
|
19145
|
+
}), ql = Ze({}), iI = typeof window < "u", sv = iI ? Io : PA, av = Ze({ strict: !1 });
|
|
19146
19146
|
function oO(A, e, t, n, o) {
|
|
19147
19147
|
var r, i;
|
|
19148
|
-
const { visualElement: s } = te(ql), a = te(av), g = te(Jl), c = te(Ea).reducedMotion, l =
|
|
19148
|
+
const { visualElement: s } = te(ql), a = te(av), g = te(Jl), c = te(Ea).reducedMotion, l = xA();
|
|
19149
19149
|
n = n || a.renderer, !l.current && n && (l.current = n(A, {
|
|
19150
19150
|
visualState: e,
|
|
19151
19151
|
parent: s,
|
|
@@ -19156,14 +19156,14 @@ function oO(A, e, t, n, o) {
|
|
|
19156
19156
|
}));
|
|
19157
19157
|
const Q = l.current, B = te(X1);
|
|
19158
19158
|
Q && !Q.projection && o && (Q.type === "html" || Q.type === "svg") && rO(l.current, t, o, B);
|
|
19159
|
-
const E =
|
|
19159
|
+
const E = xA(!1);
|
|
19160
19160
|
Cl(() => {
|
|
19161
19161
|
Q && E.current && Q.update(t, g);
|
|
19162
19162
|
});
|
|
19163
|
-
const C = t[R1], h =
|
|
19163
|
+
const C = t[R1], h = xA(!!C && !(!((r = window.MotionHandoffIsComplete) === null || r === void 0) && r.call(window, C)) && ((i = window.MotionHasOptimisedAnimation) === null || i === void 0 ? void 0 : i.call(window, C)));
|
|
19164
19164
|
return sv(() => {
|
|
19165
19165
|
Q && (E.current = !0, window.MotionIsMounted = !0, Q.updateFeatures(), rI.render(Q.render), h.current && Q.animationState && Q.animationState.animateChanges());
|
|
19166
|
-
}),
|
|
19166
|
+
}), PA(() => {
|
|
19167
19167
|
Q && (!h.current && Q.animationState && Q.animationState.animateChanges(), h.current && (queueMicrotask(() => {
|
|
19168
19168
|
var d;
|
|
19169
19169
|
(d = window.MotionHandoffMarkAsComplete) === null || d === void 0 || d.call(window, C);
|
|
@@ -19404,7 +19404,7 @@ function Ev(A, e, t) {
|
|
|
19404
19404
|
return n;
|
|
19405
19405
|
}
|
|
19406
19406
|
function Vl(A) {
|
|
19407
|
-
const e =
|
|
19407
|
+
const e = xA(null);
|
|
19408
19408
|
return e.current === null && (e.current = A()), e.current;
|
|
19409
19409
|
}
|
|
19410
19410
|
function CO({ scrapeMotionValuesFromProps: A, createRenderState: e, onMount: t }, n, o, r) {
|
|
@@ -20004,7 +20004,7 @@ let qO = class extends m.Component {
|
|
|
20004
20004
|
}
|
|
20005
20005
|
};
|
|
20006
20006
|
function WO({ children: A, isPresent: e }) {
|
|
20007
|
-
const t = zr(), n =
|
|
20007
|
+
const t = zr(), n = xA(null), o = xA({
|
|
20008
20008
|
width: 0,
|
|
20009
20009
|
height: 0,
|
|
20010
20010
|
top: 0,
|
|
@@ -20070,7 +20070,7 @@ function Jf(A) {
|
|
|
20070
20070
|
}
|
|
20071
20071
|
const $t = ({ children: A, exitBeforeEnter: e, custom: t, initial: n = !0, onExitComplete: o, presenceAffectsLayout: r = !0, mode: i = "sync" }) => {
|
|
20072
20072
|
No(!e, "Replace exitBeforeEnter with mode='wait'");
|
|
20073
|
-
const s = HA(() => Jf(A), [A]), a = s.map(Og), g =
|
|
20073
|
+
const s = HA(() => Jf(A), [A]), a = s.map(Og), g = xA(!0), c = xA(s), l = Vl(() => /* @__PURE__ */ new Map()), [Q, B] = MA(s), [E, C] = MA(s);
|
|
20074
20074
|
sv(() => {
|
|
20075
20075
|
g.current = !1, c.current = s;
|
|
20076
20076
|
for (let f = 0; f < E.length; f++) {
|
|
@@ -20138,8 +20138,8 @@ function _O(A, e, { root: t, margin: n, amount: o = "some" } = {}) {
|
|
|
20138
20138
|
return r.forEach((g) => a.observe(g)), () => a.disconnect();
|
|
20139
20139
|
}
|
|
20140
20140
|
function $O(A, { root: e, margin: t, amount: n, once: o = !1 } = {}) {
|
|
20141
|
-
const [r, i] =
|
|
20142
|
-
return
|
|
20141
|
+
const [r, i] = MA(!1);
|
|
20142
|
+
return PA(() => {
|
|
20143
20143
|
if (!A.current || o && r)
|
|
20144
20144
|
return;
|
|
20145
20145
|
const s = () => (i(!0), o ? void 0 : () => i(!1)), a = {
|
|
@@ -20167,17 +20167,17 @@ const qf = {
|
|
|
20167
20167
|
ease: [0.215, 0.61, 0.355, 1],
|
|
20168
20168
|
duration: 0.2
|
|
20169
20169
|
}, eJ = (A, e) => {
|
|
20170
|
-
const t =
|
|
20171
|
-
return
|
|
20170
|
+
const t = xA();
|
|
20171
|
+
return PA(() => () => {
|
|
20172
20172
|
t.current && clearTimeout(t.current);
|
|
20173
20173
|
}, []), re(() => {
|
|
20174
20174
|
t.current && clearTimeout(t.current), t.current = setTimeout(A, e);
|
|
20175
20175
|
}, [A, e]);
|
|
20176
20176
|
};
|
|
20177
20177
|
function XrA({ items: A, renderItem: e, className: t }) {
|
|
20178
|
-
const [n, o] =
|
|
20178
|
+
const [n, o] = MA(
|
|
20179
20179
|
A.find((N) => N.active)?.href ?? null
|
|
20180
|
-
), [r, i] =
|
|
20180
|
+
), [r, i] = MA(null), [s, a] = MA(0), [g, c] = MA(null), [l, Q] = MA(null), B = xA(/* @__PURE__ */ new Map()), E = xA(null), C = xA(!1), h = xA(!1);
|
|
20181
20181
|
Io(() => {
|
|
20182
20182
|
const N = A.find((Y) => Y.active)?.href ?? A[0]?.href;
|
|
20183
20183
|
o(N);
|
|
@@ -20223,7 +20223,7 @@ function XrA({ items: A, renderItem: e, className: t }) {
|
|
|
20223
20223
|
N && a(N.offsetWidth);
|
|
20224
20224
|
}
|
|
20225
20225
|
}, 100);
|
|
20226
|
-
|
|
20226
|
+
PA(() => (window.addEventListener("resize", d), () => window.removeEventListener("resize", d)), [d]);
|
|
20227
20227
|
const f = re((N) => {
|
|
20228
20228
|
o(N);
|
|
20229
20229
|
}, []), p = re(() => {
|
|
@@ -23276,7 +23276,7 @@ const EI = ({ merge: A, ...e }) => {
|
|
|
23276
23276
|
return u("span", { ...a, children: i });
|
|
23277
23277
|
}
|
|
23278
23278
|
}, x3 = (A) => {
|
|
23279
|
-
const e =
|
|
23279
|
+
const e = xA(null), t = A._ref || e;
|
|
23280
23280
|
return u(jl, { merge: A, _ref: t });
|
|
23281
23281
|
};
|
|
23282
23282
|
function b3(A, e) {
|
|
@@ -24008,8 +24008,8 @@ function E5({
|
|
|
24008
24008
|
showLineNumbers: g = !1,
|
|
24009
24009
|
customHandlers: c = []
|
|
24010
24010
|
}) {
|
|
24011
|
-
const [l, Q] =
|
|
24012
|
-
|
|
24011
|
+
const [l, Q] = MA(!1), [B, E] = MA(0), C = xA(null);
|
|
24012
|
+
PA(() => {
|
|
24013
24013
|
const F = () => {
|
|
24014
24014
|
if (C.current) {
|
|
24015
24015
|
const Y = C.current.getBoundingClientRect().width;
|
|
@@ -24020,9 +24020,9 @@ function E5({
|
|
|
24020
24020
|
const N = new ResizeObserver(F);
|
|
24021
24021
|
return C.current && N.observe(C.current), () => N.disconnect();
|
|
24022
24022
|
}, []);
|
|
24023
|
-
const [h, d] =
|
|
24023
|
+
const [h, d] = MA(void 0), f = A.split(`
|
|
24024
24024
|
`).length > 1, { theme: p } = zE(), k = HA(() => [...s8(g, !0), ...c], [g, c]);
|
|
24025
|
-
|
|
24025
|
+
PA(() => {
|
|
24026
24026
|
t && i8(A, t).then((F) => {
|
|
24027
24027
|
d(F);
|
|
24028
24028
|
});
|
|
@@ -25267,7 +25267,7 @@ function niA({
|
|
|
25267
25267
|
isDisabled: Q = !1,
|
|
25268
25268
|
maxAttachments: B = 1
|
|
25269
25269
|
}) {
|
|
25270
|
-
const [E, C] =
|
|
25270
|
+
const [E, C] = MA(!1), h = xA(null), d = HA(() => c || h, [c]), f = xA(null), p = HA(() => {
|
|
25271
25271
|
const N = n?.split(`
|
|
25272
25272
|
`).length ?? 0;
|
|
25273
25273
|
if (N === 0)
|
|
@@ -25430,8 +25430,8 @@ function niA({
|
|
|
25430
25430
|
] });
|
|
25431
25431
|
}
|
|
25432
25432
|
function V6({ attachment: A }) {
|
|
25433
|
-
const [e, t] =
|
|
25434
|
-
|
|
25433
|
+
const [e, t] = MA(null);
|
|
25434
|
+
PA(() => {
|
|
25435
25435
|
async function o() {
|
|
25436
25436
|
if (!A.type.startsWith("image/"))
|
|
25437
25437
|
return;
|
|
@@ -25736,12 +25736,12 @@ function $6({
|
|
|
25736
25736
|
setNewWorkspaceName: i,
|
|
25737
25737
|
backButtonEnabled: s = !0
|
|
25738
25738
|
}) {
|
|
25739
|
-
const a = CA.useRef(null), [g, c] =
|
|
25739
|
+
const a = CA.useRef(null), [g, c] = MA(!1), [l, Q] = MA(e), [B, E] = MA(!1), [C, h] = MA(null);
|
|
25740
25740
|
CA.useEffect(() => {
|
|
25741
25741
|
A && setTimeout(() => {
|
|
25742
25742
|
a.current?.focus();
|
|
25743
25743
|
}, 300);
|
|
25744
|
-
}, [A]),
|
|
25744
|
+
}, [A]), PA(() => {
|
|
25745
25745
|
d();
|
|
25746
25746
|
}, [l]);
|
|
25747
25747
|
const d = () => {
|
|
@@ -25917,14 +25917,14 @@ function fD({
|
|
|
25917
25917
|
enableRecents: o,
|
|
25918
25918
|
onSelectRecent: r
|
|
25919
25919
|
}) {
|
|
25920
|
-
const i =
|
|
25921
|
-
return
|
|
25920
|
+
const i = xA(null), [s, a] = MA(""), g = xA(null), [c, l] = MA(A);
|
|
25921
|
+
return PA(() => {
|
|
25922
25922
|
l(
|
|
25923
25923
|
A.filter(
|
|
25924
25924
|
(Q) => Q.slug.toLowerCase().includes(s.toLowerCase())
|
|
25925
25925
|
)
|
|
25926
25926
|
);
|
|
25927
|
-
}, [s]),
|
|
25927
|
+
}, [s]), PA(() => {
|
|
25928
25928
|
if (t && i.current) {
|
|
25929
25929
|
const Q = A.findIndex((B) => B.slug === t.slug);
|
|
25930
25930
|
setTimeout(() => {
|
|
@@ -26015,16 +26015,16 @@ function t7({
|
|
|
26015
26015
|
handleSelect: n,
|
|
26016
26016
|
enableCreate: o = !0
|
|
26017
26017
|
}) {
|
|
26018
|
-
const r =
|
|
26018
|
+
const r = xA(null), [i, s] = MA(""), a = xA(null), [g, c] = MA(
|
|
26019
26019
|
A?.workspaces || []
|
|
26020
26020
|
);
|
|
26021
|
-
return
|
|
26021
|
+
return PA(() => {
|
|
26022
26022
|
c(
|
|
26023
26023
|
A?.workspaces.filter(
|
|
26024
26024
|
(l) => l.slug.toLowerCase().includes(i.toLowerCase())
|
|
26025
26025
|
) || []
|
|
26026
26026
|
);
|
|
26027
|
-
}, [i, A?.workspaces]),
|
|
26027
|
+
}, [i, A?.workspaces]), PA(() => {
|
|
26028
26028
|
if (e && r.current) {
|
|
26029
26029
|
const l = A?.workspaces.findIndex(
|
|
26030
26030
|
(Q) => Q.slug === e.slug
|
|
@@ -26084,10 +26084,10 @@ function n7({
|
|
|
26084
26084
|
selectedWorkspace: o,
|
|
26085
26085
|
handleCreateViewOpen: r
|
|
26086
26086
|
}) {
|
|
26087
|
-
const [i, s] =
|
|
26087
|
+
const [i, s] = MA(""), a = xA(null), [g, c] = MA(
|
|
26088
26088
|
A
|
|
26089
26089
|
);
|
|
26090
|
-
return
|
|
26090
|
+
return PA(() => {
|
|
26091
26091
|
c(
|
|
26092
26092
|
A.filter(
|
|
26093
26093
|
(l) => l.workspaces.some((Q) => Q.slug.includes(i))
|
|
@@ -26133,8 +26133,8 @@ function n7({
|
|
|
26133
26133
|
] });
|
|
26134
26134
|
}
|
|
26135
26135
|
function o7({ onSubmit: A }) {
|
|
26136
|
-
const [e, t] =
|
|
26137
|
-
return
|
|
26136
|
+
const [e, t] = MA(""), n = xA(null);
|
|
26137
|
+
return PA(() => {
|
|
26138
26138
|
n.current && n.current.focus();
|
|
26139
26139
|
}, []), /* @__PURE__ */ eA(Zr, { className: "relative", children: [
|
|
26140
26140
|
/* @__PURE__ */ eA("div", { className: "flex h-full w-full flex-row items-center", children: [
|
|
@@ -26580,7 +26580,7 @@ function iiA({
|
|
|
26580
26580
|
useContainer: i = !1,
|
|
26581
26581
|
className: s
|
|
26582
26582
|
}) {
|
|
26583
|
-
const [a, g] =
|
|
26583
|
+
const [a, g] = MA(!1), c = () => {
|
|
26584
26584
|
g(!0), o?.();
|
|
26585
26585
|
}, l = r ?? g7[A], Q = /* @__PURE__ */ eA("div", { className: s7, children: [
|
|
26586
26586
|
/* @__PURE__ */ u("div", { className: "flex-shrink-0", children: l && /* @__PURE__ */ u(ZA, { name: l, size: "small" }) }),
|
|
@@ -26637,10 +26637,10 @@ function c7({
|
|
|
26637
26637
|
onTabChange: t,
|
|
26638
26638
|
className: n
|
|
26639
26639
|
}) {
|
|
26640
|
-
const [o, r] =
|
|
26640
|
+
const [o, r] = MA(
|
|
26641
26641
|
e || A[0].props.id
|
|
26642
26642
|
);
|
|
26643
|
-
|
|
26643
|
+
PA(() => {
|
|
26644
26644
|
r(e || A[0].props.id);
|
|
26645
26645
|
}, [e]);
|
|
26646
26646
|
const i = CA.Children.toArray(A).filter(
|
|
@@ -27405,7 +27405,7 @@ function q7({
|
|
|
27405
27405
|
depth: e,
|
|
27406
27406
|
expandedRowKeys: t
|
|
27407
27407
|
}) {
|
|
27408
|
-
const [n, o] =
|
|
27408
|
+
const [n, o] = MA(
|
|
27409
27409
|
t ?? /* @__PURE__ */ new Set()
|
|
27410
27410
|
), r = re(
|
|
27411
27411
|
(i) => {
|
|
@@ -27451,7 +27451,7 @@ const DD = _e(
|
|
|
27451
27451
|
) })
|
|
27452
27452
|
);
|
|
27453
27453
|
function W7(A) {
|
|
27454
|
-
const { depth: e } = PI(), t = e + 1, n =
|
|
27454
|
+
const { depth: e } = PI(), t = e + 1, n = xA(null), o = xA(null);
|
|
27455
27455
|
let r = A.columns;
|
|
27456
27456
|
!Wi(A) && A.renderExpandedContent && (r = [bk(), ...r]);
|
|
27457
27457
|
const i = HA(
|
|
@@ -27482,7 +27482,7 @@ function W7(A) {
|
|
|
27482
27482
|
className: C,
|
|
27483
27483
|
hideHeader: h,
|
|
27484
27484
|
cellPadding: d
|
|
27485
|
-
} = A, [f, p] =
|
|
27485
|
+
} = A, [f, p] = MA(!1), k = async () => {
|
|
27486
27486
|
p(!0), await c?.(), p(!1);
|
|
27487
27487
|
}, v = HA(() => {
|
|
27488
27488
|
if (!F0(s))
|
|
@@ -27831,7 +27831,7 @@ function aiA({
|
|
|
27831
27831
|
className: s,
|
|
27832
27832
|
...a
|
|
27833
27833
|
}) {
|
|
27834
|
-
const [g, c] =
|
|
27834
|
+
const [g, c] = MA(!1), l = re(
|
|
27835
27835
|
(C) => {
|
|
27836
27836
|
a.onFocus && a.onFocus(C), c(!0);
|
|
27837
27837
|
},
|
|
@@ -28142,8 +28142,8 @@ function giA({
|
|
|
28142
28142
|
title: o,
|
|
28143
28143
|
className: r
|
|
28144
28144
|
}) {
|
|
28145
|
-
const [i, s] =
|
|
28146
|
-
return
|
|
28145
|
+
const [i, s] = MA(null);
|
|
28146
|
+
return PA(() => {
|
|
28147
28147
|
g9.includes(e) && a9(/* @__PURE__ */ Object.assign({ "../../assets/icons/external/github.svg": () => import("./github-kgjMtfE7.mjs"), "../../assets/icons/external/maven.svg": () => import("./maven-W_nkSDNW.mjs"), "../../assets/icons/external/npm.svg": () => import("./npm-BWTcVvFH.mjs"), "../../assets/icons/external/nuget.svg": () => import("./nuget-CV5HU1JR.mjs"), "../../assets/icons/external/packagist.svg": () => import("./packagist-D01fn9N_.mjs"), "../../assets/icons/external/pypi.svg": () => import("./pypi-DLh6kIJe.mjs"), "../../assets/icons/external/rubygems.svg": () => import("./rubygems-DeiNjcDV.mjs"), "../../assets/icons/external/terraform.svg": () => import("./terraform-C4aktQ0o.mjs") }), `../../assets/icons/external/${e}.svg`, 6).then(
|
|
28148
28148
|
(a) => s(a.default)
|
|
28149
28149
|
);
|
|
@@ -29155,12 +29155,12 @@ function uiA({
|
|
|
29155
29155
|
tooltips: o = !0,
|
|
29156
29156
|
className: r
|
|
29157
29157
|
}) {
|
|
29158
|
-
const [i, s] =
|
|
29158
|
+
const [i, s] = MA(null), [a, g] = MA(null), [c, l] = MA(!1), [Q, B] = MA(!1), E = xA(!1), C = wl(), h = WE(
|
|
29159
29159
|
C,
|
|
29160
29160
|
t,
|
|
29161
29161
|
"medium"
|
|
29162
|
-
), d = 0.6, f = PC[h] * 4, p = f * d, k = A.slice(0, e), v = A.slice(e), D = Math.max(0, A.length - e), F =
|
|
29163
|
-
|
|
29162
|
+
), d = 0.6, f = PC[h] * 4, p = f * d, k = A.slice(0, e), v = A.slice(e), D = Math.max(0, A.length - e), F = xA(null), N = xA(null), [Y, G] = MA(0);
|
|
29163
|
+
PA(() => {
|
|
29164
29164
|
if (N.current) {
|
|
29165
29165
|
const V = () => {
|
|
29166
29166
|
N.current?.offsetWidth && G(N.current.offsetWidth);
|
|
@@ -29169,7 +29169,7 @@ function uiA({
|
|
|
29169
29169
|
const O = new ResizeObserver(V);
|
|
29170
29170
|
return O.observe(N.current), () => O.disconnect();
|
|
29171
29171
|
}
|
|
29172
|
-
}, [i, k]),
|
|
29172
|
+
}, [i, k]), PA(() => {
|
|
29173
29173
|
i !== null ? (l(!0), g(i)) : l(!1);
|
|
29174
29174
|
}, [i]);
|
|
29175
29175
|
const R = (V, O) => V * p + f / 2 - O / 2, K = () => {
|
|
@@ -29545,6 +29545,10 @@ const CiA = Object.assign(YN, {
|
|
|
29545
29545
|
key: "L",
|
|
29546
29546
|
description: "Toggle"
|
|
29547
29547
|
}
|
|
29548
|
+
},
|
|
29549
|
+
hoverExpandsSidebar: !0,
|
|
29550
|
+
_expandedByHover: !1,
|
|
29551
|
+
_setExpandedByHover: () => {
|
|
29548
29552
|
}
|
|
29549
29553
|
}), Ai = () => {
|
|
29550
29554
|
const A = te(ON);
|
|
@@ -29633,19 +29637,19 @@ function Aq() {
|
|
|
29633
29637
|
},
|
|
29634
29638
|
[A, e, t]
|
|
29635
29639
|
);
|
|
29636
|
-
|
|
29640
|
+
PA(() => (document.addEventListener("keydown", n), () => {
|
|
29637
29641
|
document.removeEventListener("keydown", n);
|
|
29638
29642
|
}), [n]);
|
|
29639
29643
|
}
|
|
29640
29644
|
const eq = () => {
|
|
29641
|
-
const [A, e] =
|
|
29642
|
-
return
|
|
29645
|
+
const [A, e] = MA(!1);
|
|
29646
|
+
return PA(() => (e(!0), () => e(!1)), []), A;
|
|
29643
29647
|
}, KI = Ze({});
|
|
29644
29648
|
function YI(A) {
|
|
29645
|
-
const e =
|
|
29649
|
+
const e = xA(null);
|
|
29646
29650
|
return e.current === null && (e.current = A()), e.current;
|
|
29647
29651
|
}
|
|
29648
|
-
const TI = typeof window < "u", JN = TI ? Io :
|
|
29652
|
+
const TI = typeof window < "u", JN = TI ? Io : PA, cB = /* @__PURE__ */ Ze(null), OI = Ze({
|
|
29649
29653
|
transformPagePoint: (A) => A,
|
|
29650
29654
|
isStatic: !1,
|
|
29651
29655
|
reducedMotion: "never"
|
|
@@ -29669,7 +29673,7 @@ class tq extends m.Component {
|
|
|
29669
29673
|
}
|
|
29670
29674
|
}
|
|
29671
29675
|
function nq({ children: A, isPresent: e, anchorX: t }) {
|
|
29672
|
-
const n = zr(), o =
|
|
29676
|
+
const n = zr(), o = xA(null), r = xA({
|
|
29673
29677
|
width: 0,
|
|
29674
29678
|
height: 0,
|
|
29675
29679
|
top: 0,
|
|
@@ -29733,7 +29737,7 @@ function qN(A = !0) {
|
|
|
29733
29737
|
if (e === null)
|
|
29734
29738
|
return [!0, null];
|
|
29735
29739
|
const { isPresent: t, onExitComplete: n, register: o } = e, r = zr();
|
|
29736
|
-
|
|
29740
|
+
PA(() => {
|
|
29737
29741
|
if (A)
|
|
29738
29742
|
return o(r);
|
|
29739
29743
|
}, [A]);
|
|
@@ -29748,7 +29752,7 @@ function xD(A) {
|
|
|
29748
29752
|
}), e;
|
|
29749
29753
|
}
|
|
29750
29754
|
const iq = ({ children: A, custom: e, initial: t = !0, onExitComplete: n, presenceAffectsLayout: o = !0, mode: r = "sync", propagate: i = !1, anchorX: s = "left" }) => {
|
|
29751
|
-
const [a, g] = qN(i), c = HA(() => xD(A), [A]), l = i && !a ? [] : c.map(zg), Q =
|
|
29755
|
+
const [a, g] = qN(i), c = HA(() => xD(A), [A]), l = i && !a ? [] : c.map(zg), Q = xA(!0), B = xA(c), E = YI(() => /* @__PURE__ */ new Map()), [C, h] = MA(c), [d, f] = MA(c);
|
|
29752
29756
|
JN(() => {
|
|
29753
29757
|
Q.current = !1, B.current = c;
|
|
29754
29758
|
for (let v = 0; v < d.length; v++) {
|
|
@@ -30025,7 +30029,7 @@ function dq(A, e, t) {
|
|
|
30025
30029
|
}
|
|
30026
30030
|
const { schedule: WI, cancel: diA } = /* @__PURE__ */ WN(queueMicrotask, !1), VI = (A) => A.replace(/([a-z])([A-Z])/gu, "$1-$2").toLowerCase(), hq = "framerAppearId", XN = "data-" + VI(hq), ZN = Ze({});
|
|
30027
30031
|
function wq(A, e, t, n, o) {
|
|
30028
|
-
const { visualElement: r } = te(BB), i = te(VN), s = te(cB), a = te(OI).reducedMotion, g =
|
|
30032
|
+
const { visualElement: r } = te(BB), i = te(VN), s = te(cB), a = te(OI).reducedMotion, g = xA(null);
|
|
30029
30033
|
n = n || i.renderer, !g.current && n && (g.current = n(A, {
|
|
30030
30034
|
visualState: e,
|
|
30031
30035
|
parent: r,
|
|
@@ -30036,14 +30040,14 @@ function wq(A, e, t, n, o) {
|
|
|
30036
30040
|
}));
|
|
30037
30041
|
const c = g.current, l = te(ZN);
|
|
30038
30042
|
c && !c.projection && o && (c.type === "html" || c.type === "svg") && fq(g.current, t, o, l);
|
|
30039
|
-
const Q =
|
|
30043
|
+
const Q = xA(!1);
|
|
30040
30044
|
Cl(() => {
|
|
30041
30045
|
c && Q.current && c.update(t, s);
|
|
30042
30046
|
});
|
|
30043
|
-
const B = t[XN], E =
|
|
30047
|
+
const B = t[XN], E = xA(!!B && !window.MotionHandoffIsComplete?.(B) && window.MotionHasOptimisedAnimation?.(B));
|
|
30044
30048
|
return JN(() => {
|
|
30045
30049
|
c && (Q.current = !0, window.MotionIsMounted = !0, c.updateFeatures(), WI.render(c.render), E.current && c.animationState && c.animationState.animateChanges());
|
|
30046
|
-
}),
|
|
30050
|
+
}), PA(() => {
|
|
30047
30051
|
c && (!E.current && c.animationState && c.animationState.animateChanges(), E.current && (queueMicrotask(() => {
|
|
30048
30052
|
window.MotionHandoffMarkAsComplete?.(B);
|
|
30049
30053
|
}), E.current = !1));
|
|
@@ -34657,13 +34661,35 @@ const dx = ({
|
|
|
34657
34661
|
}) => /* @__PURE__ */ u("div", { className: nA("h-full overflow-auto", e), ...t, children: A });
|
|
34658
34662
|
dx.displayName = "AppLayout.Surface";
|
|
34659
34663
|
const hx = ({ children: A, className: e }) => {
|
|
34660
|
-
const {
|
|
34661
|
-
|
|
34664
|
+
const {
|
|
34665
|
+
collapsed: t,
|
|
34666
|
+
setCollapsed: n,
|
|
34667
|
+
hoverExpandsSidebar: o,
|
|
34668
|
+
_expandedByHover: r,
|
|
34669
|
+
_setExpandedByHover: i
|
|
34670
|
+
} = Ai(), [s, a] = F4(Dt.toArray(A), (Q) => wt(Q) ? Q.type.displayName === "AppLayout.Nav" : !1), g = xA(null), c = xA(null), l = xA(r);
|
|
34671
|
+
return PA(() => {
|
|
34672
|
+
l.current = r;
|
|
34673
|
+
}, [r]), PA(() => {
|
|
34674
|
+
const Q = g.current;
|
|
34675
|
+
if (!Q || !o) return;
|
|
34676
|
+
const B = () => {
|
|
34677
|
+
t && (c.current && clearTimeout(c.current), c.current = setTimeout(() => {
|
|
34678
|
+
n(!1), i(!0), c.current = null;
|
|
34679
|
+
}, 250));
|
|
34680
|
+
}, E = () => {
|
|
34681
|
+
c.current && (clearTimeout(c.current), c.current = null), l.current && (n(!0), i(!1));
|
|
34682
|
+
};
|
|
34683
|
+
return Q.addEventListener("mouseenter", B), Q.addEventListener("mouseleave", E), () => {
|
|
34684
|
+
c.current && (clearTimeout(c.current), c.current = null), Q.removeEventListener("mouseenter", B), Q.removeEventListener("mouseleave", E);
|
|
34685
|
+
};
|
|
34686
|
+
}, [o, t, n, i]), /* @__PURE__ */ eA(
|
|
34662
34687
|
zA.div,
|
|
34663
34688
|
{
|
|
34664
34689
|
initial: !1,
|
|
34665
34690
|
layout: "position",
|
|
34666
34691
|
className: nA("mt-4 flex w-fit flex-col items-start", e),
|
|
34692
|
+
ref: g,
|
|
34667
34693
|
transition: { duration: 0.25, type: "spring", bounce: 0 },
|
|
34668
34694
|
children: [
|
|
34669
34695
|
/* @__PURE__ */ eA("div", { className: "flex flex-col gap-4 px-2", children: [
|
|
@@ -34674,9 +34700,9 @@ const hx = ({ children: A, className: e }) => {
|
|
|
34674
34700
|
className: nA(!t && "min-w-[140px]")
|
|
34675
34701
|
}
|
|
34676
34702
|
),
|
|
34677
|
-
|
|
34703
|
+
s
|
|
34678
34704
|
] }),
|
|
34679
|
-
|
|
34705
|
+
a
|
|
34680
34706
|
]
|
|
34681
34707
|
}
|
|
34682
34708
|
);
|
|
@@ -34743,13 +34769,15 @@ px.displayName = "AppLayout.HeaderDivider";
|
|
|
34743
34769
|
const mx = ({
|
|
34744
34770
|
className: A
|
|
34745
34771
|
}) => {
|
|
34746
|
-
const { collapsed: e, setCollapsed: t, keybinds: n } = Ai();
|
|
34772
|
+
const { collapsed: e, setCollapsed: t, keybinds: n, _setExpandedByHover: o } = Ai();
|
|
34747
34773
|
return Aq(), /* @__PURE__ */ u("div", { className: nA("flex items-center gap-2", A), children: /* @__PURE__ */ u(nB, { children: /* @__PURE__ */ eA(oB, { delayDuration: 800, disableHoverableContent: !0, children: [
|
|
34748
34774
|
/* @__PURE__ */ u(rB, { asChild: !0, children: /* @__PURE__ */ u(
|
|
34749
34775
|
"button",
|
|
34750
34776
|
{
|
|
34751
34777
|
className: "group typography-body-md hover:bg-accent hover:text-primary rounded-md p-1.5",
|
|
34752
|
-
onClick: () =>
|
|
34778
|
+
onClick: () => {
|
|
34779
|
+
t(!e), o(!1);
|
|
34780
|
+
},
|
|
34753
34781
|
"aria-label": "Toggle sidebar",
|
|
34754
34782
|
children: /* @__PURE__ */ u(
|
|
34755
34783
|
ZA,
|
|
@@ -34887,13 +34915,23 @@ const Sj = {
|
|
|
34887
34915
|
}, wiA = ({
|
|
34888
34916
|
children: A,
|
|
34889
34917
|
defaultCollapsed: e = !1,
|
|
34890
|
-
keybinds: t
|
|
34918
|
+
keybinds: t,
|
|
34919
|
+
hoverExpandsSidebar: n = !0
|
|
34891
34920
|
}) => {
|
|
34892
|
-
const
|
|
34893
|
-
return
|
|
34921
|
+
const o = t ?? Sj, [r, i] = MA(e), [s, a] = MA(!1);
|
|
34922
|
+
return PA(() => {
|
|
34923
|
+
i(e), a(!1);
|
|
34924
|
+
}, [e]), /* @__PURE__ */ u(
|
|
34894
34925
|
ON.Provider,
|
|
34895
34926
|
{
|
|
34896
|
-
value: {
|
|
34927
|
+
value: {
|
|
34928
|
+
collapsed: r,
|
|
34929
|
+
setCollapsed: i,
|
|
34930
|
+
keybinds: o,
|
|
34931
|
+
hoverExpandsSidebar: n,
|
|
34932
|
+
_expandedByHover: s,
|
|
34933
|
+
_setExpandedByHover: a
|
|
34934
|
+
},
|
|
34897
34935
|
children: A
|
|
34898
34936
|
}
|
|
34899
34937
|
);
|
|
@@ -34925,9 +34963,9 @@ function Fx(A) {
|
|
|
34925
34963
|
function Es(A) {
|
|
34926
34964
|
return A ? us(A) ? A.document : fd(A) ? Dd(A) ? A : ag(A) || Fx(A) ? A.ownerDocument : document : document : document;
|
|
34927
34965
|
}
|
|
34928
|
-
const xo = CB ? Io :
|
|
34966
|
+
const xo = CB ? Io : PA;
|
|
34929
34967
|
function IB(A) {
|
|
34930
|
-
const e =
|
|
34968
|
+
const e = xA(A);
|
|
34931
34969
|
return xo(() => {
|
|
34932
34970
|
e.current = A;
|
|
34933
34971
|
}), re(function() {
|
|
@@ -34937,7 +34975,7 @@ function IB(A) {
|
|
|
34937
34975
|
}, []);
|
|
34938
34976
|
}
|
|
34939
34977
|
function Gj() {
|
|
34940
|
-
const A =
|
|
34978
|
+
const A = xA(null), e = re((n, o) => {
|
|
34941
34979
|
A.current = setInterval(n, o);
|
|
34942
34980
|
}, []), t = re(() => {
|
|
34943
34981
|
A.current !== null && (clearInterval(A.current), A.current = null);
|
|
@@ -34946,13 +34984,13 @@ function Gj() {
|
|
|
34946
34984
|
}
|
|
34947
34985
|
function ba(A, e) {
|
|
34948
34986
|
e === void 0 && (e = [A]);
|
|
34949
|
-
const t =
|
|
34987
|
+
const t = xA(A);
|
|
34950
34988
|
return xo(() => {
|
|
34951
34989
|
t.current !== A && (t.current = A);
|
|
34952
34990
|
}, e), t;
|
|
34953
34991
|
}
|
|
34954
34992
|
function gg(A, e) {
|
|
34955
|
-
const t =
|
|
34993
|
+
const t = xA();
|
|
34956
34994
|
return HA(
|
|
34957
34995
|
() => {
|
|
34958
34996
|
const n = A(t.current);
|
|
@@ -34963,7 +35001,7 @@ function gg(A, e) {
|
|
|
34963
35001
|
);
|
|
34964
35002
|
}
|
|
34965
35003
|
function ol(A) {
|
|
34966
|
-
const e = IB(A), t =
|
|
35004
|
+
const e = IB(A), t = xA(null), n = re(
|
|
34967
35005
|
(o) => {
|
|
34968
35006
|
o !== t.current && e?.(o, t.current), t.current = o;
|
|
34969
35007
|
},
|
|
@@ -34973,8 +35011,8 @@ function ol(A) {
|
|
|
34973
35011
|
return [t, n];
|
|
34974
35012
|
}
|
|
34975
35013
|
function rl(A) {
|
|
34976
|
-
const e =
|
|
34977
|
-
return
|
|
35014
|
+
const e = xA();
|
|
35015
|
+
return PA(() => {
|
|
34978
35016
|
e.current = A;
|
|
34979
35017
|
}, [A]), e.current;
|
|
34980
35018
|
}
|
|
@@ -35135,7 +35173,7 @@ function Oj(A) {
|
|
|
35135
35173
|
}, t);
|
|
35136
35174
|
}
|
|
35137
35175
|
function Jj() {
|
|
35138
|
-
const [A, e] =
|
|
35176
|
+
const [A, e] = MA("");
|
|
35139
35177
|
return {
|
|
35140
35178
|
announce: re((n) => {
|
|
35141
35179
|
n != null && e(n);
|
|
@@ -35146,14 +35184,14 @@ function Jj() {
|
|
|
35146
35184
|
const bx = /* @__PURE__ */ Ze(null);
|
|
35147
35185
|
function md(A) {
|
|
35148
35186
|
const e = te(bx);
|
|
35149
|
-
|
|
35187
|
+
PA(() => {
|
|
35150
35188
|
if (!e)
|
|
35151
35189
|
throw new Error("useDndMonitor must be used within a children of <DndContext>");
|
|
35152
35190
|
return e(A);
|
|
35153
35191
|
}, [A, e]);
|
|
35154
35192
|
}
|
|
35155
35193
|
function qj() {
|
|
35156
|
-
const [A] =
|
|
35194
|
+
const [A] = MA(() => /* @__PURE__ */ new Set()), e = re((n) => (A.add(n), () => A.delete(n)), [A]);
|
|
35157
35195
|
return [re((n) => {
|
|
35158
35196
|
let {
|
|
35159
35197
|
type: o,
|
|
@@ -35209,8 +35247,8 @@ function zj(A) {
|
|
|
35209
35247
|
const {
|
|
35210
35248
|
announce: r,
|
|
35211
35249
|
announcement: i
|
|
35212
|
-
} = Jj(), s = dB("DndLiveRegion"), [a, g] =
|
|
35213
|
-
if (
|
|
35250
|
+
} = Jj(), s = dB("DndLiveRegion"), [a, g] = MA(!1);
|
|
35251
|
+
if (PA(() => {
|
|
35214
35252
|
g(!0);
|
|
35215
35253
|
}, []), md(HA(() => ({
|
|
35216
35254
|
onDragStart(l) {
|
|
@@ -36103,10 +36141,10 @@ function fX(A) {
|
|
|
36103
36141
|
const B = pX({
|
|
36104
36142
|
delta: l,
|
|
36105
36143
|
disabled: !r
|
|
36106
|
-
}), [E, C] = Gj(), h =
|
|
36144
|
+
}), [E, C] = Gj(), h = xA({
|
|
36107
36145
|
x: 0,
|
|
36108
36146
|
y: 0
|
|
36109
|
-
}), d =
|
|
36147
|
+
}), d = xA({
|
|
36110
36148
|
x: 0,
|
|
36111
36149
|
y: 0
|
|
36112
36150
|
}), f = HA(() => {
|
|
@@ -36121,14 +36159,14 @@ function fX(A) {
|
|
|
36121
36159
|
case _s.DraggableRect:
|
|
36122
36160
|
return o;
|
|
36123
36161
|
}
|
|
36124
|
-
}, [t, o, a]), p =
|
|
36162
|
+
}, [t, o, a]), p = xA(null), k = re(() => {
|
|
36125
36163
|
const D = p.current;
|
|
36126
36164
|
if (!D)
|
|
36127
36165
|
return;
|
|
36128
36166
|
const F = h.current.x * d.current.x, N = h.current.y * d.current.y;
|
|
36129
36167
|
D.scrollBy(F, N);
|
|
36130
36168
|
}, []), v = HA(() => s === gl.TreeOrder ? [...g].reverse() : g, [s, g]);
|
|
36131
|
-
|
|
36169
|
+
PA(
|
|
36132
36170
|
() => {
|
|
36133
36171
|
if (!r || !g.length || !f) {
|
|
36134
36172
|
C();
|
|
@@ -36248,13 +36286,13 @@ function MX(A, e) {
|
|
|
36248
36286
|
dependencies: n,
|
|
36249
36287
|
config: o
|
|
36250
36288
|
} = e;
|
|
36251
|
-
const [r, i] =
|
|
36289
|
+
const [r, i] = MA(null), {
|
|
36252
36290
|
frequency: s,
|
|
36253
36291
|
measure: a,
|
|
36254
36292
|
strategy: g
|
|
36255
|
-
} = o, c =
|
|
36293
|
+
} = o, c = xA(A), l = h(), Q = ba(l), B = re(function(d) {
|
|
36256
36294
|
d === void 0 && (d = []), !Q.current && i((f) => f === null ? d : f.concat(d.filter((p) => !f.includes(p))));
|
|
36257
|
-
}, [Q]), E =
|
|
36295
|
+
}, [Q]), E = xA(null), C = gg((d) => {
|
|
36258
36296
|
if (l && !t)
|
|
36259
36297
|
return em;
|
|
36260
36298
|
if (!d || d === em || c.current !== A || r != null) {
|
|
@@ -36273,21 +36311,21 @@ function MX(A, e) {
|
|
|
36273
36311
|
}
|
|
36274
36312
|
return d;
|
|
36275
36313
|
}, [A, r, t, l, a]);
|
|
36276
|
-
return
|
|
36314
|
+
return PA(() => {
|
|
36277
36315
|
c.current = A;
|
|
36278
|
-
}, [A]),
|
|
36316
|
+
}, [A]), PA(
|
|
36279
36317
|
() => {
|
|
36280
36318
|
l || B();
|
|
36281
36319
|
},
|
|
36282
36320
|
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
36283
36321
|
[t, l]
|
|
36284
|
-
),
|
|
36322
|
+
), PA(
|
|
36285
36323
|
() => {
|
|
36286
36324
|
r && r.length > 0 && i(null);
|
|
36287
36325
|
},
|
|
36288
36326
|
//eslint-disable-next-line react-hooks/exhaustive-deps
|
|
36289
36327
|
[JSON.stringify(r)]
|
|
36290
|
-
),
|
|
36328
|
+
), PA(
|
|
36291
36329
|
() => {
|
|
36292
36330
|
l || typeof s != "number" || E.current !== null || (E.current = setTimeout(() => {
|
|
36293
36331
|
B(), E.current = null;
|
|
@@ -36330,7 +36368,7 @@ function kX(A) {
|
|
|
36330
36368
|
} = window;
|
|
36331
36369
|
return new r(n);
|
|
36332
36370
|
}, [n, t]);
|
|
36333
|
-
return
|
|
36371
|
+
return PA(() => () => o?.disconnect(), [o]), o;
|
|
36334
36372
|
}
|
|
36335
36373
|
function hB(A) {
|
|
36336
36374
|
let {
|
|
@@ -36349,14 +36387,14 @@ function hB(A) {
|
|
|
36349
36387
|
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
36350
36388
|
[t]
|
|
36351
36389
|
);
|
|
36352
|
-
return
|
|
36390
|
+
return PA(() => () => o?.disconnect(), [o]), o;
|
|
36353
36391
|
}
|
|
36354
36392
|
function NX(A) {
|
|
36355
36393
|
return new Md(cg(A), A);
|
|
36356
36394
|
}
|
|
36357
36395
|
function tm(A, e, t) {
|
|
36358
36396
|
e === void 0 && (e = NX);
|
|
36359
|
-
const [n, o] =
|
|
36397
|
+
const [n, o] = MA(null);
|
|
36360
36398
|
function r() {
|
|
36361
36399
|
o((a) => {
|
|
36362
36400
|
if (!A)
|
|
@@ -36399,17 +36437,17 @@ function FX(A) {
|
|
|
36399
36437
|
}
|
|
36400
36438
|
const nm = [];
|
|
36401
36439
|
function xX(A) {
|
|
36402
|
-
const e =
|
|
36403
|
-
return
|
|
36440
|
+
const e = xA(A), t = gg((n) => A ? n && n !== nm && A && e.current && A.parentNode === e.current.parentNode ? n : yd(A) : nm, [A]);
|
|
36441
|
+
return PA(() => {
|
|
36404
36442
|
e.current = A;
|
|
36405
36443
|
}, [A]), t;
|
|
36406
36444
|
}
|
|
36407
36445
|
function bX(A) {
|
|
36408
|
-
const [e, t] =
|
|
36446
|
+
const [e, t] = MA(null), n = xA(A), o = re((r) => {
|
|
36409
36447
|
const i = YQ(r.target);
|
|
36410
36448
|
i && t((s) => s ? (s.set(i, kE(i)), new Map(s)) : null);
|
|
36411
36449
|
}, []);
|
|
36412
|
-
return
|
|
36450
|
+
return PA(() => {
|
|
36413
36451
|
const r = n.current;
|
|
36414
36452
|
if (A !== r) {
|
|
36415
36453
|
i(r);
|
|
@@ -36434,20 +36472,20 @@ function bX(A) {
|
|
|
36434
36472
|
}
|
|
36435
36473
|
function om(A, e) {
|
|
36436
36474
|
e === void 0 && (e = []);
|
|
36437
|
-
const t =
|
|
36438
|
-
return
|
|
36475
|
+
const t = xA(null);
|
|
36476
|
+
return PA(
|
|
36439
36477
|
() => {
|
|
36440
36478
|
t.current = null;
|
|
36441
36479
|
},
|
|
36442
36480
|
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
36443
36481
|
e
|
|
36444
|
-
),
|
|
36482
|
+
), PA(() => {
|
|
36445
36483
|
const n = A !== On;
|
|
36446
36484
|
n && !t.current && (t.current = A), !n && t.current && (t.current = null);
|
|
36447
36485
|
}, [A]), t.current ? il(A, t.current) : On;
|
|
36448
36486
|
}
|
|
36449
36487
|
function RX(A) {
|
|
36450
|
-
|
|
36488
|
+
PA(
|
|
36451
36489
|
() => {
|
|
36452
36490
|
if (!CB)
|
|
36453
36491
|
return;
|
|
@@ -36489,7 +36527,7 @@ function qx(A) {
|
|
|
36489
36527
|
const rm = [];
|
|
36490
36528
|
function PX(A, e) {
|
|
36491
36529
|
e === void 0 && (e = cg);
|
|
36492
|
-
const [t] = A, n = qx(t ? zt(t) : null), [o, r] =
|
|
36530
|
+
const [t] = A, n = qx(t ? zt(t) : null), [o, r] = MA(rm);
|
|
36493
36531
|
function i() {
|
|
36494
36532
|
r(() => A.length ? A.map((a) => Hx(a) ? n : new Md(e(a), a)) : rm);
|
|
36495
36533
|
}
|
|
@@ -36512,7 +36550,7 @@ function SX(A) {
|
|
|
36512
36550
|
let {
|
|
36513
36551
|
measure: e
|
|
36514
36552
|
} = A;
|
|
36515
|
-
const [t, n] =
|
|
36553
|
+
const [t, n] = MA(null), o = re((g) => {
|
|
36516
36554
|
for (const {
|
|
36517
36555
|
target: c
|
|
36518
36556
|
} of g)
|
|
@@ -36739,7 +36777,7 @@ function TX(A) {
|
|
|
36739
36777
|
activatorEvent: n,
|
|
36740
36778
|
draggableNodes: o
|
|
36741
36779
|
} = te(lg), r = rl(n), i = rl(t?.id);
|
|
36742
|
-
return
|
|
36780
|
+
return PA(() => {
|
|
36743
36781
|
if (!e && !n && r && i != null) {
|
|
36744
36782
|
if (!pd(r) || document.activeElement === r.target)
|
|
36745
36783
|
return;
|
|
@@ -36803,7 +36841,7 @@ function JX(A) {
|
|
|
36803
36841
|
initialRect: n,
|
|
36804
36842
|
config: o = !0
|
|
36805
36843
|
} = A;
|
|
36806
|
-
const r =
|
|
36844
|
+
const r = xA(!1), {
|
|
36807
36845
|
x: i,
|
|
36808
36846
|
y: s
|
|
36809
36847
|
} = typeof o == "boolean" ? {
|
|
@@ -36852,7 +36890,7 @@ const qX = /* @__PURE__ */ D0(function(e) {
|
|
|
36852
36890
|
modifiers: B,
|
|
36853
36891
|
...E
|
|
36854
36892
|
} = e;
|
|
36855
|
-
const C = QL(YX, void 0, KX), [h, d] = C, [f, p] = qj(), [k, v] =
|
|
36893
|
+
const C = QL(YX, void 0, KX), [h, d] = C, [f, p] = qj(), [k, v] = MA(Yo.Uninitialized), D = k === Yo.Initialized, {
|
|
36856
36894
|
draggable: {
|
|
36857
36895
|
active: F,
|
|
36858
36896
|
nodes: N,
|
|
@@ -36861,7 +36899,7 @@ const qX = /* @__PURE__ */ D0(function(e) {
|
|
|
36861
36899
|
droppable: {
|
|
36862
36900
|
containers: G
|
|
36863
36901
|
}
|
|
36864
|
-
} = h, R = F != null ? N.get(F) : null, K =
|
|
36902
|
+
} = h, R = F != null ? N.get(F) : null, K = xA({
|
|
36865
36903
|
initial: null,
|
|
36866
36904
|
translated: null
|
|
36867
36905
|
}), q = HA(() => {
|
|
@@ -36872,7 +36910,7 @@ const qX = /* @__PURE__ */ D0(function(e) {
|
|
|
36872
36910
|
data: (ve = R?.data) != null ? ve : HX,
|
|
36873
36911
|
rect: K
|
|
36874
36912
|
} : null;
|
|
36875
|
-
}, [F, R]), U =
|
|
36913
|
+
}, [F, R]), U = xA(null), [H, W] = MA(null), [j, V] = MA(null), O = ba(E, Object.values(E)), x = dB("DndDescribedBy", i), X = HA(() => G.getEnabled(), [G]), J = OX(Q), {
|
|
36876
36914
|
droppableRects: b,
|
|
36877
36915
|
measureDroppableContainers: sA,
|
|
36878
36916
|
measuringScheduled: rA
|
|
@@ -36887,7 +36925,7 @@ const qX = /* @__PURE__ */ D0(function(e) {
|
|
|
36887
36925
|
initialRect: gA,
|
|
36888
36926
|
measure: J.draggable.measure
|
|
36889
36927
|
});
|
|
36890
|
-
const cA = tm(AA, J.draggable.measure, gA), wA = tm(AA ? AA.parentElement : null), EA =
|
|
36928
|
+
const cA = tm(AA, J.draggable.measure, gA), wA = tm(AA ? AA.parentElement : null), EA = xA({
|
|
36891
36929
|
activatorEvent: null,
|
|
36892
36930
|
active: null,
|
|
36893
36931
|
activeNode: AA,
|
|
@@ -36926,7 +36964,7 @@ const qX = /* @__PURE__ */ D0(function(e) {
|
|
|
36926
36964
|
droppableRects: b,
|
|
36927
36965
|
droppableContainers: X,
|
|
36928
36966
|
pointerCoordinates: ot
|
|
36929
|
-
}) : null, aA = Zj(Z, "id"), [fA, KA] =
|
|
36967
|
+
}) : null, aA = Zj(Z, "id"), [fA, KA] = MA(null), vA = Ce ? Qt : Ri(Qt, w), _A = AX(vA, (r = fA?.rect) != null ? r : null, cA), TA = xA(null), le = re(
|
|
36930
36968
|
(ve, Ge) => {
|
|
36931
36969
|
let {
|
|
36932
36970
|
sensor: Ye,
|
|
@@ -37069,7 +37107,7 @@ const qX = /* @__PURE__ */ D0(function(e) {
|
|
|
37069
37107
|
}, [N, le]), be = yX(c, Ie);
|
|
37070
37108
|
RX(c), xo(() => {
|
|
37071
37109
|
cA && k === Yo.Initializing && v(Yo.Initialized);
|
|
37072
|
-
}, [cA, k]),
|
|
37110
|
+
}, [cA, k]), PA(
|
|
37073
37111
|
() => {
|
|
37074
37112
|
const {
|
|
37075
37113
|
onDragMove: ve
|
|
@@ -37100,7 +37138,7 @@ const qX = /* @__PURE__ */ D0(function(e) {
|
|
|
37100
37138
|
},
|
|
37101
37139
|
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
37102
37140
|
[P.x, P.y]
|
|
37103
|
-
),
|
|
37141
|
+
), PA(
|
|
37104
37142
|
() => {
|
|
37105
37143
|
const {
|
|
37106
37144
|
active: ve,
|
|
@@ -37293,9 +37331,9 @@ function ZX(A) {
|
|
|
37293
37331
|
dispatch: s,
|
|
37294
37332
|
over: a,
|
|
37295
37333
|
measureDroppableContainers: g
|
|
37296
|
-
} = te(lg), c =
|
|
37334
|
+
} = te(lg), c = xA({
|
|
37297
37335
|
disabled: t
|
|
37298
|
-
}), l =
|
|
37336
|
+
}), l = xA(!1), Q = xA(null), B = xA(null), {
|
|
37299
37337
|
disabled: E,
|
|
37300
37338
|
updateMeasurementsFor: C,
|
|
37301
37339
|
timeout: h
|
|
@@ -37320,9 +37358,9 @@ function ZX(A) {
|
|
|
37320
37358
|
}), k = re((N, Y) => {
|
|
37321
37359
|
p && (Y && (p.unobserve(Y), l.current = !1), N && p.observe(N));
|
|
37322
37360
|
}, [p]), [v, D] = ol(k), F = ba(e);
|
|
37323
|
-
return
|
|
37361
|
+
return PA(() => {
|
|
37324
37362
|
!p || !v.current || (p.disconnect(), l.current = !1, p.observe(v.current));
|
|
37325
|
-
}, [v, p]),
|
|
37363
|
+
}, [v, p]), PA(
|
|
37326
37364
|
() => (s({
|
|
37327
37365
|
type: lt.RegisterDroppable,
|
|
37328
37366
|
element: {
|
|
@@ -37340,7 +37378,7 @@ function ZX(A) {
|
|
|
37340
37378
|
})),
|
|
37341
37379
|
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
37342
37380
|
[n]
|
|
37343
|
-
),
|
|
37381
|
+
), PA(() => {
|
|
37344
37382
|
t !== c.current.disabled && (s({
|
|
37345
37383
|
type: lt.SetDroppableDisabled,
|
|
37346
37384
|
id: n,
|
|
@@ -37361,7 +37399,7 @@ function _X(A) {
|
|
|
37361
37399
|
animation: e,
|
|
37362
37400
|
children: t
|
|
37363
37401
|
} = A;
|
|
37364
|
-
const [n, o] =
|
|
37402
|
+
const [n, o] = MA(null), [r, i] = MA(null), s = rl(t);
|
|
37365
37403
|
return !t && !n && s && o(s), xo(() => {
|
|
37366
37404
|
if (!r)
|
|
37367
37405
|
return;
|
|
@@ -37688,7 +37726,7 @@ const _x = ({
|
|
|
37688
37726
|
}) => {
|
|
37689
37727
|
const { setNodeRef: s, attributes: a, listeners: g, transform: c } = Xx({
|
|
37690
37728
|
id: e
|
|
37691
|
-
}), [l, Q] =
|
|
37729
|
+
}), [l, Q] = MA(t);
|
|
37692
37730
|
md({
|
|
37693
37731
|
onDragEnd: (E) => {
|
|
37694
37732
|
Q((C) => ({
|
|
@@ -37777,8 +37815,8 @@ function DiA({
|
|
|
37777
37815
|
animationTrigger: r = "inView",
|
|
37778
37816
|
animationDuration: i = 1
|
|
37779
37817
|
}) {
|
|
37780
|
-
const s = HA(() => A.split(""), [A]), [a, g] =
|
|
37781
|
-
|
|
37818
|
+
const s = HA(() => A.split(""), [A]), [a, g] = MA(0), c = xA(null), l = $O(c, { once: r === "inView" });
|
|
37819
|
+
PA(() => {
|
|
37782
37820
|
if (!n) {
|
|
37783
37821
|
g(s.length);
|
|
37784
37822
|
return;
|
|
@@ -39396,7 +39434,7 @@ fb.displayName = "ResizablePanel.Pane";
|
|
|
39396
39434
|
const VZ = ({
|
|
39397
39435
|
direction: A
|
|
39398
39436
|
}) => {
|
|
39399
|
-
const [e, t] =
|
|
39437
|
+
const [e, t] = MA(!1);
|
|
39400
39438
|
return /* @__PURE__ */ u(
|
|
39401
39439
|
MB,
|
|
39402
39440
|
{
|
|
@@ -39455,7 +39493,7 @@ const VZ = ({
|
|
|
39455
39493
|
showLanguageSelector: g = !0,
|
|
39456
39494
|
wordWrap: c = !0
|
|
39457
39495
|
}) => {
|
|
39458
|
-
const l =
|
|
39496
|
+
const l = xA(null), Q = Dt.toArray(A).filter((K) => {
|
|
39459
39497
|
if (!wt(K)) return !1;
|
|
39460
39498
|
const q = K.type, U = q.displayName === "CodePlayground.Header" || q.displayName === "CodePlayground.Footer" || q.displayName === "CodePlayground.Code";
|
|
39461
39499
|
return U || console.warn(
|
|
@@ -39463,7 +39501,7 @@ const VZ = ({
|
|
|
39463
39501
|
), U;
|
|
39464
39502
|
}), B = Q.find(
|
|
39465
39503
|
(K) => wt(K) && K.type.displayName === "CodePlayground.Header"
|
|
39466
|
-
), [E, C] =
|
|
39504
|
+
), [E, C] = MA(null), h = HA(
|
|
39467
39505
|
() => e[n],
|
|
39468
39506
|
[n, e]
|
|
39469
39507
|
), d = HA(() => {
|
|
@@ -39501,14 +39539,14 @@ const VZ = ({
|
|
|
39501
39539
|
C(U);
|
|
39502
39540
|
},
|
|
39503
39541
|
[]
|
|
39504
|
-
), [N, Y] =
|
|
39542
|
+
), [N, Y] = MA(!1), G = re(() => {
|
|
39505
39543
|
Y(!0), navigator.clipboard.writeText(h.code ?? ""), setTimeout(() => {
|
|
39506
39544
|
Y(!1);
|
|
39507
39545
|
}, 1e3);
|
|
39508
39546
|
}, [h.code]);
|
|
39509
|
-
|
|
39547
|
+
PA(() => {
|
|
39510
39548
|
h.code && F(h.code, n);
|
|
39511
|
-
}, [h, n]),
|
|
39549
|
+
}, [h, n]), PA(() => {
|
|
39512
39550
|
h.code && F(h.code, n);
|
|
39513
39551
|
}, [h, n]);
|
|
39514
39552
|
const R = re(
|
|
@@ -39728,7 +39766,7 @@ const kb = ({
|
|
|
39728
39766
|
customStyles: B,
|
|
39729
39767
|
...E
|
|
39730
39768
|
}) => {
|
|
39731
|
-
const [C, h] =
|
|
39769
|
+
const [C, h] = MA(!1), d = (p) => {
|
|
39732
39770
|
p.stopPropagation(), c?.(A), h(!1);
|
|
39733
39771
|
}, f = HA(
|
|
39734
39772
|
() => /* @__PURE__ */ u(
|
|
@@ -39834,7 +39872,7 @@ const NiA = Object.assign(yb, {
|
|
|
39834
39872
|
function FiA({
|
|
39835
39873
|
children: A
|
|
39836
39874
|
}) {
|
|
39837
|
-
const [e, t] =
|
|
39875
|
+
const [e, t] = MA([]), [n, o] = MA(0), [r, i] = MA(!1), [s, a] = MA("forward"), g = (E) => {
|
|
39838
39876
|
r || (t([E]), o(0), i(!0), a("forward"));
|
|
39839
39877
|
}, c = () => {
|
|
39840
39878
|
i(!1), setTimeout(() => {
|
|
@@ -39910,7 +39948,7 @@ function xiA({ renderTitle: A }) {
|
|
|
39910
39948
|
width: "100%"
|
|
39911
39949
|
})
|
|
39912
39950
|
};
|
|
39913
|
-
if (
|
|
39951
|
+
if (PA(() => {
|
|
39914
39952
|
const c = (l) => {
|
|
39915
39953
|
l.key === "Escape" && o();
|
|
39916
39954
|
};
|
|
@@ -40063,11 +40101,11 @@ function _Z({
|
|
|
40063
40101
|
className: e
|
|
40064
40102
|
}) {
|
|
40065
40103
|
if (!A) return null;
|
|
40066
|
-
const { model: t, onModelChange: n, availableModels: o } = A, [r, i] =
|
|
40104
|
+
const { model: t, onModelChange: n, availableModels: o } = A, [r, i] = MA(!1), s = o.find((l) => l.value === t) || {
|
|
40067
40105
|
label: "Unknown",
|
|
40068
40106
|
value: ""
|
|
40069
|
-
}, a =
|
|
40070
|
-
return
|
|
40107
|
+
}, a = xA(s.label), [g, c] = MA(null);
|
|
40108
|
+
return PA(() => {
|
|
40071
40109
|
if (s.label !== a.current) {
|
|
40072
40110
|
const l = a.current;
|
|
40073
40111
|
a.current = s.label, c(l), requestAnimationFrame(() => {
|
|
@@ -40194,13 +40232,13 @@ function $Z({
|
|
|
40194
40232
|
onModelChange: r,
|
|
40195
40233
|
availableModels: i,
|
|
40196
40234
|
initialInput: s
|
|
40197
|
-
} = Sd(), [a, g] =
|
|
40235
|
+
} = Sd(), [a, g] = MA(s || ""), [c, l] = MA(!1), Q = xA(null), B = () => {
|
|
40198
40236
|
const h = Q.current;
|
|
40199
40237
|
h && (h.style.height = "auto", h.style.height = `${h.scrollHeight}px`);
|
|
40200
40238
|
};
|
|
40201
|
-
|
|
40239
|
+
PA(() => {
|
|
40202
40240
|
B();
|
|
40203
|
-
}, [a]),
|
|
40241
|
+
}, [a]), PA(() => {
|
|
40204
40242
|
s && g(s);
|
|
40205
40243
|
}, []);
|
|
40206
40244
|
const E = (h) => {
|
|
@@ -44598,7 +44636,7 @@ function QeA(A) {
|
|
|
44598
44636
|
return P;
|
|
44599
44637
|
}
|
|
44600
44638
|
function o(w, P, z) {
|
|
44601
|
-
let Z = P - 1, aA = -1, fA = !1, KA,
|
|
44639
|
+
let Z = P - 1, aA = -1, fA = !1, KA, vA, _A, TA;
|
|
44602
44640
|
for (; ++Z <= z; ) {
|
|
44603
44641
|
const le = w[Z];
|
|
44604
44642
|
switch (le[1].type) {
|
|
@@ -44624,14 +44662,14 @@ function QeA(A) {
|
|
|
44624
44662
|
if (!aA && le[0] === "enter" && le[1].type === "listItemPrefix" || aA === -1 && le[0] === "exit" && (le[1].type === "listUnordered" || le[1].type === "listOrdered")) {
|
|
44625
44663
|
if (KA) {
|
|
44626
44664
|
let Ie = Z;
|
|
44627
|
-
for (
|
|
44665
|
+
for (vA = void 0; Ie--; ) {
|
|
44628
44666
|
const be = w[Ie];
|
|
44629
44667
|
if (be[1].type === "lineEnding" || be[1].type === "lineEndingBlank") {
|
|
44630
44668
|
if (be[0] === "exit") continue;
|
|
44631
|
-
|
|
44669
|
+
vA && (w[vA][1].type = "lineEndingBlank", fA = !0), be[1].type = "lineEnding", vA = Ie;
|
|
44632
44670
|
} else if (!(be[1].type === "linePrefix" || be[1].type === "blockQuotePrefix" || be[1].type === "blockQuotePrefixWhitespace" || be[1].type === "blockQuoteMarker" || be[1].type === "listItemIndent")) break;
|
|
44633
44671
|
}
|
|
44634
|
-
_A && (!
|
|
44672
|
+
_A && (!vA || _A < vA) && (KA._spread = !0), KA.end = Object.assign({}, vA ? w[vA][1].start : le[1].end), w.splice(vA || Z, 0, ["exit", KA, le[2]]), Z++, z++;
|
|
44635
44673
|
}
|
|
44636
44674
|
if (le[1].type === "listItemPrefix") {
|
|
44637
44675
|
const Ie = {
|
|
@@ -49100,7 +49138,7 @@ function RiA({
|
|
|
49100
49138
|
executeToolCall: A,
|
|
49101
49139
|
requiresApproval: e
|
|
49102
49140
|
}) {
|
|
49103
|
-
const [t, n] =
|
|
49141
|
+
const [t, n] = MA(null), o = async (i) => {
|
|
49104
49142
|
try {
|
|
49105
49143
|
return await A(i);
|
|
49106
49144
|
} catch (s) {
|
|
@@ -49148,10 +49186,10 @@ function zoA({
|
|
|
49148
49186
|
className: e,
|
|
49149
49187
|
components: t
|
|
49150
49188
|
}) {
|
|
49151
|
-
const { state: n, toolCallId: o, args: r, result: i } = A, [s, a] =
|
|
49152
|
-
|
|
49189
|
+
const { state: n, toolCallId: o, args: r, result: i } = A, [s, a] = MA(!1), { toolCallApproval: g } = Sd(), c = o === g?.pendingToolCall?.toolCallId;
|
|
49190
|
+
PA(() => {
|
|
49153
49191
|
c && a(!0);
|
|
49154
|
-
}, [c]),
|
|
49192
|
+
}, [c]), PA(() => {
|
|
49155
49193
|
a(n !== "result");
|
|
49156
49194
|
}, [n]);
|
|
49157
49195
|
const l = (B) => typeof B == "string" ? B : typeof B == "object" && B !== null ? JSON.stringify(B, null, 2) : String(B), Q = HA(() => c ? "pending" : n === "call" ? "in-progress" : n === "result" ? l(i).includes(YR) || l(i).includes(TR) ? "error" : "success" : "pending", [n, c, i]);
|
|
@@ -49531,8 +49569,8 @@ function _oA({
|
|
|
49531
49569
|
components: A,
|
|
49532
49570
|
className: e
|
|
49533
49571
|
}) {
|
|
49534
|
-
const { messages: t } = Sd(), n =
|
|
49535
|
-
return
|
|
49572
|
+
const { messages: t } = Sd(), n = xA(null);
|
|
49573
|
+
return PA(() => {
|
|
49536
49574
|
n.current?.scrollIntoView({ behavior: "smooth" });
|
|
49537
49575
|
}, [t]), /* @__PURE__ */ eA("ul", { role: "log", className: nA("h-full overflow-y-auto", e), children: [
|
|
49538
49576
|
t.map((o) => /* @__PURE__ */ u(
|
|
@@ -49698,4 +49736,4 @@ export {
|
|
|
49698
49736
|
FL as y,
|
|
49699
49737
|
orA as z
|
|
49700
49738
|
};
|
|
49701
|
-
//# sourceMappingURL=index-
|
|
49739
|
+
//# sourceMappingURL=index-G1NsYS9G.mjs.map
|