@eleven-labs/design-system 0.6.3 → 0.10.0
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/Atoms/Blockquote/Blockquote.d.ts +4 -3
- package/dist/components/Atoms/Button/Button.d.ts +7 -5
- package/dist/components/Atoms/Icon/Icon.d.ts +1 -1
- package/dist/components/Atoms/Layout/Box/Box.d.ts +7 -3
- package/dist/components/Atoms/Layout/Flex/Flex.d.ts +6 -5
- package/dist/components/Atoms/Logo/Logo.d.ts +5 -4
- package/dist/components/Atoms/Skeleton/Skeleton.d.ts +4 -4
- package/dist/components/Atoms/Svgs/AccessTime.d.ts +2 -2
- package/dist/components/Atoms/Svgs/ArrowBack.d.ts +2 -2
- package/dist/components/Atoms/Svgs/Calendar.d.ts +2 -2
- package/dist/components/Atoms/Svgs/Close.d.ts +2 -2
- package/dist/components/Atoms/Svgs/Facebook.d.ts +2 -2
- package/dist/components/Atoms/Svgs/Github.d.ts +2 -2
- package/dist/components/Atoms/Svgs/Language.d.ts +2 -2
- package/dist/components/Atoms/Svgs/Link.d.ts +2 -2
- package/dist/components/Atoms/Svgs/Linkedin.d.ts +2 -2
- package/dist/components/Atoms/Svgs/Logo.d.ts +2 -2
- package/dist/components/Atoms/Svgs/Message.d.ts +2 -2
- package/dist/components/Atoms/Svgs/Person.d.ts +2 -2
- package/dist/components/Atoms/Svgs/Rss.d.ts +2 -2
- package/dist/components/Atoms/Svgs/Search.d.ts +2 -2
- package/dist/components/Atoms/Svgs/Tuto.d.ts +2 -2
- package/dist/components/Atoms/Svgs/Twitter.d.ts +2 -2
- package/dist/components/Atoms/Svgs/Welcometothejungle.d.ts +2 -2
- package/dist/components/Atoms/Svgs/index.d.ts +17 -17
- package/dist/components/Atoms/SyntaxHighlighter/SyntaxHighlighter.d.ts +2 -2
- package/dist/components/Atoms/Typography/Heading/Heading.d.ts +5 -4
- package/dist/components/Atoms/Typography/Text/Text.d.ts +5 -4
- package/dist/components/Molecules/Link/Link.d.ts +7 -6
- package/dist/components/Molecules/Reminder/Reminder.d.ts +4 -5
- package/dist/components/Molecules/SearchField/SearchField.d.ts +8 -9
- package/dist/components/Molecules/TextHighlight/TextHighlight.d.ts +5 -6
- package/dist/constants/systemProps/systemProps.d.ts +1 -1
- package/dist/constants/tokenVariables.d.ts +1 -1
- package/dist/helpers/index.d.ts +1 -0
- package/dist/helpers/polyRef.d.ts +2 -0
- package/dist/helpers/stringHelper.d.ts +3 -3
- package/dist/helpers/systemPropsHelper/classNamesWithModifiers.d.ts +1 -1
- package/dist/helpers/systemPropsHelper/hiddenSystemClassName.d.ts +1 -1
- package/dist/helpers/systemPropsHelper/index.d.ts +0 -1
- package/dist/helpers/systemPropsHelper/systemClassName.d.ts +1 -1
- package/dist/helpers/systemPropsHelper/typographySystemClassName.d.ts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.es.js +844 -1002
- package/dist/index.umd.cjs +9 -9
- package/dist/scss/abstracts/variables/_token-variables.scss +1 -1
- package/dist/scss/abstracts/variables/_variables.scss +1 -1
- package/dist/types/MediaQueryType.d.ts +1 -1
- package/dist/types/SystemProps/FlexBoxSystemProps.d.ts +1 -1
- package/dist/types/SystemProps/HiddenSystemProps.d.ts +1 -1
- package/dist/types/SystemProps/LayoutSystemProps.d.ts +1 -1
- package/dist/types/SystemProps/SystemProps.d.ts +2 -2
- package/dist/types/SystemProps/index.d.ts +0 -2
- package/dist/types/TypeWithModifier.d.ts +1 -1
- package/dist/types/cssPropertyTypes.d.ts +1 -1
- package/dist/types/tokenTypes.d.ts +1 -1
- package/package.json +8 -10
- package/dist/helpers/systemPropsHelper/forwardRef.d.ts +0 -7
- package/dist/types/SystemProps/AsProps.d.ts +0 -4
- package/dist/types/SystemProps/ComponentWithAs.d.ts +0 -16
package/dist/index.es.js
CHANGED
|
@@ -1,73 +1,31 @@
|
|
|
1
1
|
import { jsxs as H, jsx as m, Fragment as ce } from "react/jsx-runtime";
|
|
2
|
-
import * as
|
|
3
|
-
import
|
|
4
|
-
const u1 = (e) => /* @__PURE__ */ H(
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
fill: "currentColor",
|
|
16
|
-
d: "M11.993 5A6.997 6.997 0 0 0 5 12c0 3.864 3.129 7 6.993 7A7.004 7.004 0 0 0 19 12c0-3.864-3.136-7-7.007-7ZM12 17.6A5.598 5.598 0 0 1 6.4 12c0-3.094 2.506-5.6 5.6-5.6s5.6 2.506 5.6 5.6-2.506 5.6-5.6 5.6Z"
|
|
17
|
-
}
|
|
18
|
-
),
|
|
19
|
-
/* @__PURE__ */ m("path", { fill: "currentColor", d: "M12 9h-1v4l3.5 2.1.5-.82-3-1.78V9Z" })
|
|
20
|
-
]
|
|
21
|
-
}
|
|
22
|
-
), g1 = (e) => /* @__PURE__ */ m(
|
|
23
|
-
"svg",
|
|
24
|
-
{
|
|
25
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
26
|
-
fill: "none",
|
|
27
|
-
viewBox: "0 0 24 24",
|
|
28
|
-
...e,
|
|
29
|
-
children: /* @__PURE__ */ m(
|
|
30
|
-
"path",
|
|
31
|
-
{
|
|
32
|
-
fill: "currentColor",
|
|
33
|
-
d: "M19 11.125H8.351l4.891-4.891L12 5l-7 7 7 7 1.234-1.234-4.883-4.891H19v-1.75Z"
|
|
34
|
-
}
|
|
35
|
-
)
|
|
36
|
-
}
|
|
37
|
-
), d1 = (e) => /* @__PURE__ */ m(
|
|
38
|
-
"svg",
|
|
2
|
+
import * as X0 from "react";
|
|
3
|
+
import d0, { forwardRef as l1 } from "react";
|
|
4
|
+
const u1 = (e) => /* @__PURE__ */ H("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 24 24", ...e, children: [
|
|
5
|
+
/* @__PURE__ */ m(
|
|
6
|
+
"path",
|
|
7
|
+
{
|
|
8
|
+
fill: "currentColor",
|
|
9
|
+
d: "M11.993 5A6.997 6.997 0 0 0 5 12c0 3.864 3.129 7 6.993 7A7.004 7.004 0 0 0 19 12c0-3.864-3.136-7-7.007-7ZM12 17.6A5.598 5.598 0 0 1 6.4 12c0-3.094 2.506-5.6 5.6-5.6s5.6 2.506 5.6 5.6-2.506 5.6-5.6 5.6Z"
|
|
10
|
+
}
|
|
11
|
+
),
|
|
12
|
+
/* @__PURE__ */ m("path", { fill: "currentColor", d: "M12 9h-1v4l3.5 2.1.5-.82-3-1.78V9Z" })
|
|
13
|
+
] }), g1 = (e) => /* @__PURE__ */ m("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 24 24", ...e, children: /* @__PURE__ */ m("path", { fill: "currentColor", d: "M19 11.125H8.351l4.891-4.891L12 5l-7 7 7 7 1.234-1.234-4.883-4.891H19v-1.75Z" }) }), d1 = (e) => /* @__PURE__ */ m("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 24 24", ...e, children: /* @__PURE__ */ m(
|
|
14
|
+
"path",
|
|
39
15
|
{
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
viewBox: "0 0 24 24",
|
|
43
|
-
...e,
|
|
44
|
-
children: /* @__PURE__ */ m(
|
|
45
|
-
"path",
|
|
46
|
-
{
|
|
47
|
-
fill: "currentColor",
|
|
48
|
-
d: "M17.6 6.273h-.7V5h-1.4v1.273h-7V5H7.1v1.273h-.7c-.77 0-1.4.572-1.4 1.272v10.182c0 .7.63 1.273 1.4 1.273h11.2c.77 0 1.4-.573 1.4-1.273V7.545c0-.7-.63-1.272-1.4-1.272Zm0 11.454H6.4V9.455h11.2v8.272Z"
|
|
49
|
-
}
|
|
50
|
-
)
|
|
16
|
+
fill: "currentColor",
|
|
17
|
+
d: "M17.6 6.273h-.7V5h-1.4v1.273h-7V5H7.1v1.273h-.7c-.77 0-1.4.572-1.4 1.272v10.182c0 .7.63 1.273 1.4 1.273h11.2c.77 0 1.4-.573 1.4-1.273V7.545c0-.7-.63-1.272-1.4-1.272Zm0 11.454H6.4V9.455h11.2v8.272Z"
|
|
51
18
|
}
|
|
52
|
-
), m1 = (e) => /* @__PURE__ */ m(
|
|
53
|
-
"
|
|
19
|
+
) }), m1 = (e) => /* @__PURE__ */ m("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 24 24", ...e, children: /* @__PURE__ */ m(
|
|
20
|
+
"path",
|
|
54
21
|
{
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
"path",
|
|
61
|
-
{
|
|
62
|
-
fill: "currentColor",
|
|
63
|
-
fillOpacity: 0.87,
|
|
64
|
-
fillRule: "evenodd",
|
|
65
|
-
d: "M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12 19 6.41Z",
|
|
66
|
-
clipRule: "evenodd"
|
|
67
|
-
}
|
|
68
|
-
)
|
|
22
|
+
fill: "currentColor",
|
|
23
|
+
fillOpacity: 0.87,
|
|
24
|
+
fillRule: "evenodd",
|
|
25
|
+
d: "M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12 19 6.41Z",
|
|
26
|
+
clipRule: "evenodd"
|
|
69
27
|
}
|
|
70
|
-
), f1 = (e) => /* @__PURE__ */ H("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 22 22", ...e, children: [
|
|
28
|
+
) }), f1 = (e) => /* @__PURE__ */ H("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 22 22", ...e, children: [
|
|
71
29
|
/* @__PURE__ */ m(
|
|
72
30
|
"path",
|
|
73
31
|
{
|
|
@@ -82,54 +40,27 @@ const u1 = (e) => /* @__PURE__ */ H(
|
|
|
82
40
|
d: "M15.152 21.926v-8.461h2.84l.426-3.3h-3.266V8.058c0-.954.266-1.606 1.633-1.606h1.746v-2.95a24.05 24.05 0 0 0-2.543-.128c-2.52 0-4.242 1.535-4.242 4.36v2.43H8.898v3.3h2.848v8.46Zm0 0"
|
|
83
41
|
}
|
|
84
42
|
)
|
|
85
|
-
] }),
|
|
86
|
-
"
|
|
43
|
+
] }), p1 = (e) => /* @__PURE__ */ m("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 1024 1024", ...e, children: /* @__PURE__ */ m(
|
|
44
|
+
"path",
|
|
87
45
|
{
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
children: /* @__PURE__ */ m(
|
|
93
|
-
"path",
|
|
94
|
-
{
|
|
95
|
-
fill: "#1B1F23",
|
|
96
|
-
fillRule: "evenodd",
|
|
97
|
-
d: "M512 0C229.12 0 0 229.12 0 512c0 226.56 146.56 417.92 350.08 485.76 25.6 4.48 35.2-10.88 35.2-24.32 0-12.16-.64-52.48-.64-95.36-128.64 23.68-161.92-31.36-172.16-60.16-5.76-14.72-30.72-60.16-52.48-72.32-17.92-9.6-43.52-33.28-.64-33.92 40.32-.64 69.12 37.12 78.72 52.48 46.08 77.44 119.68 55.68 149.12 42.24 4.48-33.28 17.92-55.68 32.64-68.48-113.92-12.8-232.96-56.96-232.96-252.8 0-55.68 19.84-101.76 52.48-137.6-5.12-12.8-23.04-65.28 5.12-135.68 0 0 42.88-13.44 140.8 52.48 40.96-11.52 84.48-17.28 128-17.28 43.52 0 87.04 5.76 128 17.28 97.92-66.56 140.8-52.48 140.8-52.48 28.16 70.4 10.24 122.88 5.12 135.68 32.64 35.84 52.48 81.28 52.48 137.6 0 196.48-119.68 240-233.6 252.8 18.56 16 34.56 46.72 34.56 94.72 0 68.48-.64 123.52-.64 140.8 0 13.44 9.6 29.44 35.2 24.32C877.44 929.92 1024 737.92 1024 512 1024 229.12 794.88 0 512 0Z",
|
|
98
|
-
clipRule: "evenodd"
|
|
99
|
-
}
|
|
100
|
-
)
|
|
46
|
+
fill: "#1B1F23",
|
|
47
|
+
fillRule: "evenodd",
|
|
48
|
+
d: "M512 0C229.12 0 0 229.12 0 512c0 226.56 146.56 417.92 350.08 485.76 25.6 4.48 35.2-10.88 35.2-24.32 0-12.16-.64-52.48-.64-95.36-128.64 23.68-161.92-31.36-172.16-60.16-5.76-14.72-30.72-60.16-52.48-72.32-17.92-9.6-43.52-33.28-.64-33.92 40.32-.64 69.12 37.12 78.72 52.48 46.08 77.44 119.68 55.68 149.12 42.24 4.48-33.28 17.92-55.68 32.64-68.48-113.92-12.8-232.96-56.96-232.96-252.8 0-55.68 19.84-101.76 52.48-137.6-5.12-12.8-23.04-65.28 5.12-135.68 0 0 42.88-13.44 140.8 52.48 40.96-11.52 84.48-17.28 128-17.28 43.52 0 87.04 5.76 128 17.28 97.92-66.56 140.8-52.48 140.8-52.48 28.16 70.4 10.24 122.88 5.12 135.68 32.64 35.84 52.48 81.28 52.48 137.6 0 196.48-119.68 240-233.6 252.8 18.56 16 34.56 46.72 34.56 94.72 0 68.48-.64 123.52-.64 140.8 0 13.44 9.6 29.44 35.2 24.32C877.44 929.92 1024 737.92 1024 512 1024 229.12 794.88 0 512 0Z",
|
|
49
|
+
clipRule: "evenodd"
|
|
101
50
|
}
|
|
102
|
-
),
|
|
103
|
-
"
|
|
51
|
+
) }), h1 = (e) => /* @__PURE__ */ m("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 24 24", ...e, children: /* @__PURE__ */ m(
|
|
52
|
+
"path",
|
|
104
53
|
{
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
viewBox: "0 0 24 24",
|
|
108
|
-
...e,
|
|
109
|
-
children: /* @__PURE__ */ m(
|
|
110
|
-
"path",
|
|
111
|
-
{
|
|
112
|
-
fill: "currentColor",
|
|
113
|
-
d: "M12 5a7 7 0 1 0 7 7 7.008 7.008 0 0 0-7-7Zm6.054 9.452-1.99.344c.227-.836.35-1.697.366-2.563h2.098a6.49 6.49 0 0 1-.474 2.22ZM5.472 12.233H7.57c.016.866.139 1.727.367 2.563l-1.991-.344a6.49 6.49 0 0 1-.474-2.219Zm.474-2.685 1.99-.344c-.227.836-.35 1.697-.366 2.563H5.472a6.49 6.49 0 0 1 .474-2.22Zm6.287-.802a16.02 16.02 0 0 1 2.502.229l.823.142a9.99 9.99 0 0 1 .405 2.65h-3.73v-3.02Zm2.581-.231a16.538 16.538 0 0 0-2.58-.235v-2.8c1.337.128 2.499 1.353 3.158 3.136l-.578-.101Zm-3.047-.235c-.865.01-1.728.09-2.581.235l-.578.1c.659-1.783 1.821-3.008 3.159-3.136v2.8Zm-2.501.695a16.048 16.048 0 0 1 2.5-.229v3.02h-3.73c.016-.897.153-1.788.406-2.65l.824-.141Zm-1.23 3.258h3.73v3.02a16.05 16.05 0 0 1-2.5-.228l-.824-.142a10.015 10.015 0 0 1-.405-2.65Zm1.15 3.252c.853.146 1.716.225 2.58.237v2.8c-1.337-.13-2.499-1.354-3.158-3.136l.578.1Zm3.047.237a16.6 16.6 0 0 0 2.581-.237l.578-.1c-.659 1.783-1.821 3.008-3.159 3.136v-2.8Zm2.502-.697c-.827.141-1.663.218-2.502.229v-3.02h3.73a10.013 10.013 0 0 1-.405 2.65l-.823.141Zm1.695-3.258a10.45 10.45 0 0 0-.367-2.563l1.991.344a6.49 6.49 0 0 1 .474 2.219H16.43Zm1.388-2.734-1.908-.329A6.434 6.434 0 0 0 14.053 5.8a6.564 6.564 0 0 1 3.765 3.234ZM9.947 5.8A6.434 6.434 0 0 0 8.09 8.704l-1.908.33a6.564 6.564 0 0 1 3.765-3.235Zm-3.765 9.168 1.908.329A6.434 6.434 0 0 0 9.947 18.2a6.564 6.564 0 0 1-3.765-3.234Zm7.871 3.234a6.434 6.434 0 0 0 1.857-2.905l1.908-.33a6.564 6.564 0 0 1-3.765 3.235Z"
|
|
114
|
-
}
|
|
115
|
-
)
|
|
54
|
+
fill: "currentColor",
|
|
55
|
+
d: "M12 5a7 7 0 1 0 7 7 7.008 7.008 0 0 0-7-7Zm6.054 9.452-1.99.344c.227-.836.35-1.697.366-2.563h2.098a6.49 6.49 0 0 1-.474 2.22ZM5.472 12.233H7.57c.016.866.139 1.727.367 2.563l-1.991-.344a6.49 6.49 0 0 1-.474-2.219Zm.474-2.685 1.99-.344c-.227.836-.35 1.697-.366 2.563H5.472a6.49 6.49 0 0 1 .474-2.22Zm6.287-.802a16.02 16.02 0 0 1 2.502.229l.823.142a9.99 9.99 0 0 1 .405 2.65h-3.73v-3.02Zm2.581-.231a16.538 16.538 0 0 0-2.58-.235v-2.8c1.337.128 2.499 1.353 3.158 3.136l-.578-.101Zm-3.047-.235c-.865.01-1.728.09-2.581.235l-.578.1c.659-1.783 1.821-3.008 3.159-3.136v2.8Zm-2.501.695a16.048 16.048 0 0 1 2.5-.229v3.02h-3.73c.016-.897.153-1.788.406-2.65l.824-.141Zm-1.23 3.258h3.73v3.02a16.05 16.05 0 0 1-2.5-.228l-.824-.142a10.015 10.015 0 0 1-.405-2.65Zm1.15 3.252c.853.146 1.716.225 2.58.237v2.8c-1.337-.13-2.499-1.354-3.158-3.136l.578.1Zm3.047.237a16.6 16.6 0 0 0 2.581-.237l.578-.1c-.659 1.783-1.821 3.008-3.159 3.136v-2.8Zm2.502-.697c-.827.141-1.663.218-2.502.229v-3.02h3.73a10.013 10.013 0 0 1-.405 2.65l-.823.141Zm1.695-3.258a10.45 10.45 0 0 0-.367-2.563l1.991.344a6.49 6.49 0 0 1 .474 2.219H16.43Zm1.388-2.734-1.908-.329A6.434 6.434 0 0 0 14.053 5.8a6.564 6.564 0 0 1 3.765 3.234ZM9.947 5.8A6.434 6.434 0 0 0 8.09 8.704l-1.908.33a6.564 6.564 0 0 1 3.765-3.235Zm-3.765 9.168 1.908.329A6.434 6.434 0 0 0 9.947 18.2a6.564 6.564 0 0 1-3.765-3.234Zm7.871 3.234a6.434 6.434 0 0 0 1.857-2.905l1.908-.33a6.564 6.564 0 0 1-3.765 3.235Z"
|
|
116
56
|
}
|
|
117
|
-
), b1 = (e) => /* @__PURE__ */ m(
|
|
118
|
-
"
|
|
57
|
+
) }), b1 = (e) => /* @__PURE__ */ m("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 24 24", ...e, children: /* @__PURE__ */ m(
|
|
58
|
+
"path",
|
|
119
59
|
{
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
viewBox: "0 0 24 24",
|
|
123
|
-
...e,
|
|
124
|
-
children: /* @__PURE__ */ m(
|
|
125
|
-
"path",
|
|
126
|
-
{
|
|
127
|
-
fill: "currentColor",
|
|
128
|
-
d: "M8.445 16.463a2.172 2.172 0 0 1 0-3.069l1.98-1.98-.94-.94-1.98 1.98a3.501 3.501 0 0 0 4.949 4.95l1.98-1.98-.94-.94-1.98 1.98a2.172 2.172 0 0 1-3.07 0Zm2.524-1.534 3.96-3.96-.99-.99-3.96 3.96.99.99Zm1.485-7.425-1.98 1.98.94.94 1.98-1.98a2.172 2.172 0 0 1 3.07 0 2.172 2.172 0 0 1 0 3.07l-1.98 1.98.94.94 1.98-1.98a3.501 3.501 0 0 0 0-4.95 3.501 3.501 0 0 0-4.95 0Z"
|
|
129
|
-
}
|
|
130
|
-
)
|
|
60
|
+
fill: "currentColor",
|
|
61
|
+
d: "M8.445 16.463a2.172 2.172 0 0 1 0-3.069l1.98-1.98-.94-.94-1.98 1.98a3.501 3.501 0 0 0 4.949 4.95l1.98-1.98-.94-.94-1.98 1.98a2.172 2.172 0 0 1-3.07 0Zm2.524-1.534 3.96-3.96-.99-.99-3.96 3.96.99.99Zm1.485-7.425-1.98 1.98.94.94 1.98-1.98a2.172 2.172 0 0 1 3.07 0 2.172 2.172 0 0 1 0 3.07l-1.98 1.98.94.94 1.98-1.98a3.501 3.501 0 0 0 0-4.95 3.501 3.501 0 0 0-4.95 0Z"
|
|
131
62
|
}
|
|
132
|
-
), v1 = (e) => /* @__PURE__ */ H("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 22 22", ...e, children: [
|
|
63
|
+
) }), v1 = (e) => /* @__PURE__ */ H("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 22 22", ...e, children: [
|
|
133
64
|
/* @__PURE__ */ m("path", { fill: "#0084b1", d: "M0 0h22v22H0z" }),
|
|
134
65
|
/* @__PURE__ */ m(
|
|
135
66
|
"path",
|
|
@@ -141,118 +72,56 @@ const u1 = (e) => /* @__PURE__ */ H(
|
|
|
141
72
|
] }), ye = (e) => /* @__PURE__ */ m("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 41 36", ...e, children: /* @__PURE__ */ H("g", { fill: "currentColor", fillRule: "evenodd", children: [
|
|
142
73
|
/* @__PURE__ */ m("path", { d: "M29.22 13.78a.947.947 0 0 1-1.334-.092.947.947 0 0 1 .092-1.332l3.89-3.298a.947.947 0 0 1 1.332.092c.341.392.3.991-.09 1.332l-3.89 3.298zm-.156 6.345a2.86 2.86 0 0 1 .947-1.72c.357-.31 1.726-1.49 1.76-1.52 2.194-1.914 5.91-8.042 8.101-11.837.627-1.085-.446-2.358-1.62-1.924-4.122 1.518-10.8 4.155-13.014 6.04-.034.027-1.405 1.207-1.763 1.514a2.87 2.87 0 0 1-1.842.683c-5.946.07-7.7 2.397-7.7 2.397l.773.806s3.451-.5 5.402 1.768l-1.645 1.407.992 1.151-1.143.985 2.136 2.562.222-.276-.987-2.693 2.47 2.837.58-.499-.727-3.136s1.235 1.338 1.967 2.184c1.953 2.264.897 5.648.897 5.648l.684.884s2.561-1.39 3.51-7.26z" }),
|
|
143
74
|
/* @__PURE__ */ m("path", { d: "M18.775 34.14c-5.796.313-10.983-2.426-14.105-6.751-.16-.221.109-.493.334-.34 3.956 2.727 10.24 1.913 14.299-5.48C-1.168 27.268 1.372 1.358 17.879 1.594c5.779.082 10.86 3.028 13.752 7.579l.056-.048c.339-.294.844-.336 1.203-.068a.948.948 0 0 1 .066 1.467l-.385.333a16.21 16.21 0 0 1 1.59 7.408c-.197 8.447-6.948 15.422-15.386 15.877M17.879 0C8.019 0 0 8.02 0 17.879c0 9.858 8.019 17.878 17.878 17.878 9.858 0 17.878-8.02 17.878-17.878S27.737-.001 17.879-.001" })
|
|
144
|
-
] }) }), E1 = (e) => /* @__PURE__ */ H(
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
d: "M9 6h6a3 3 0 0 1 3 3v3.82a3 3 0 0 1-3 3H9a3 3 0 0 1-3-3V9a3 3 0 0 1 3-3ZM5 9a4 4 0 0 1 4-4h6a4 4 0 0 1 4 4v3.82a4 4 0 0 1-4 4h-4.741L9 19l-1.405-2.434A4.001 4.001 0 0 1 5 12.82V9Z",
|
|
158
|
-
clipRule: "evenodd"
|
|
159
|
-
}
|
|
160
|
-
),
|
|
161
|
-
/* @__PURE__ */ m(
|
|
162
|
-
"path",
|
|
163
|
-
{
|
|
164
|
-
stroke: "currentColor",
|
|
165
|
-
strokeLinecap: "round",
|
|
166
|
-
d: "M7.914 8.628h7.784m-7.784 2.489h5.855"
|
|
167
|
-
}
|
|
168
|
-
)
|
|
169
|
-
]
|
|
170
|
-
}
|
|
171
|
-
), y1 = (e) => /* @__PURE__ */ m(
|
|
172
|
-
"svg",
|
|
75
|
+
] }) }), E1 = (e) => /* @__PURE__ */ H("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 24 24", ...e, children: [
|
|
76
|
+
/* @__PURE__ */ m(
|
|
77
|
+
"path",
|
|
78
|
+
{
|
|
79
|
+
fill: "currentColor",
|
|
80
|
+
fillRule: "evenodd",
|
|
81
|
+
d: "M9 6h6a3 3 0 0 1 3 3v3.82a3 3 0 0 1-3 3H9a3 3 0 0 1-3-3V9a3 3 0 0 1 3-3ZM5 9a4 4 0 0 1 4-4h6a4 4 0 0 1 4 4v3.82a4 4 0 0 1-4 4h-4.741L9 19l-1.405-2.434A4.001 4.001 0 0 1 5 12.82V9Z",
|
|
82
|
+
clipRule: "evenodd"
|
|
83
|
+
}
|
|
84
|
+
),
|
|
85
|
+
/* @__PURE__ */ m("path", { stroke: "currentColor", strokeLinecap: "round", d: "M7.914 8.628h7.784m-7.784 2.489h5.855" })
|
|
86
|
+
] }), y1 = (e) => /* @__PURE__ */ m("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 24 24", ...e, children: /* @__PURE__ */ m(
|
|
87
|
+
"path",
|
|
173
88
|
{
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
viewBox: "0 0 24 24",
|
|
177
|
-
...e,
|
|
178
|
-
children: /* @__PURE__ */ m(
|
|
179
|
-
"path",
|
|
180
|
-
{
|
|
181
|
-
fill: "currentColor",
|
|
182
|
-
d: "M12 12c1.934 0 3.5-1.566 3.5-3.5S13.934 5 12 5a3.499 3.499 0 0 0-3.5 3.5c0 1.934 1.566 3.5 3.5 3.5Zm0 1.75c-2.336 0-7 1.172-7 3.5V19h14v-1.75c0-2.328-4.664-3.5-7-3.5Z"
|
|
183
|
-
}
|
|
184
|
-
)
|
|
89
|
+
fill: "currentColor",
|
|
90
|
+
d: "M12 12c1.934 0 3.5-1.566 3.5-3.5S13.934 5 12 5a3.499 3.499 0 0 0-3.5 3.5c0 1.934 1.566 3.5 3.5 3.5Zm0 1.75c-2.336 0-7 1.172-7 3.5V19h14v-1.75c0-2.328-4.664-3.5-7-3.5Z"
|
|
185
91
|
}
|
|
186
|
-
), N1 = (e) => /* @__PURE__ */ H(
|
|
187
|
-
"
|
|
92
|
+
) }), N1 = (e) => /* @__PURE__ */ H("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 22 22", ...e, children: [
|
|
93
|
+
/* @__PURE__ */ H("g", { fill: "currentColor", clipPath: "url(#rss_svg__a)", children: [
|
|
94
|
+
/* @__PURE__ */ m("path", { d: "M3.601 21.956a3.548 3.548 0 1 0 0-7.097 3.548 3.548 0 0 0 0 7.097Zm8.286-1.739a1.78 1.78 0 0 0 1.774 1.774 1.78 1.78 0 0 0 1.774-1.774c0-7.523-6.12-13.661-13.66-13.661A1.78 1.78 0 0 0 0 8.33a1.78 1.78 0 0 0 1.774 1.774c5.589 0 10.113 4.542 10.113 10.113Z" }),
|
|
95
|
+
/* @__PURE__ */ m("path", { d: "M20.226 21.991A1.78 1.78 0 0 0 22 20.217C22 9.075 12.934.009 1.792.009A1.78 1.78 0 0 0 .018 1.783a1.78 1.78 0 0 0 1.774 1.774c9.19 0 16.66 7.47 16.66 16.66 0 .976.78 1.774 1.774 1.774Z" })
|
|
96
|
+
] }),
|
|
97
|
+
/* @__PURE__ */ m("defs", { children: /* @__PURE__ */ m("clipPath", { id: "rss_svg__a", children: /* @__PURE__ */ m("path", { fill: "currentColor", d: "M0 0h26v26H0z" }) }) })
|
|
98
|
+
] }), x1 = (e) => /* @__PURE__ */ m("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 24 24", ...e, children: /* @__PURE__ */ m(
|
|
99
|
+
"path",
|
|
188
100
|
{
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
viewBox: "0 0 22 22",
|
|
192
|
-
...e,
|
|
193
|
-
children: [
|
|
194
|
-
/* @__PURE__ */ H("g", { fill: "currentColor", clipPath: "url(#rss_svg__a)", children: [
|
|
195
|
-
/* @__PURE__ */ m("path", { d: "M3.601 21.956a3.548 3.548 0 1 0 0-7.097 3.548 3.548 0 0 0 0 7.097Zm8.286-1.739a1.78 1.78 0 0 0 1.774 1.774 1.78 1.78 0 0 0 1.774-1.774c0-7.523-6.12-13.661-13.66-13.661A1.78 1.78 0 0 0 0 8.33a1.78 1.78 0 0 0 1.774 1.774c5.589 0 10.113 4.542 10.113 10.113Z" }),
|
|
196
|
-
/* @__PURE__ */ m("path", { d: "M20.226 21.991A1.78 1.78 0 0 0 22 20.217C22 9.075 12.934.009 1.792.009A1.78 1.78 0 0 0 .018 1.783a1.78 1.78 0 0 0 1.774 1.774c9.19 0 16.66 7.47 16.66 16.66 0 .976.78 1.774 1.774 1.774Z" })
|
|
197
|
-
] }),
|
|
198
|
-
/* @__PURE__ */ m("defs", { children: /* @__PURE__ */ m("clipPath", { id: "rss_svg__a", children: /* @__PURE__ */ m("path", { fill: "currentColor", d: "M0 0h26v26H0z" }) }) })
|
|
199
|
-
]
|
|
101
|
+
fill: "currentColor",
|
|
102
|
+
d: "M15.006 13.805h-.633l-.224-.216a5.18 5.18 0 0 0 1.257-3.386 5.203 5.203 0 1 0-5.203 5.203 5.18 5.18 0 0 0 3.386-1.257l.216.224v.633L17.807 19 19 17.807l-3.994-4.002Zm-4.803 0a3.597 3.597 0 0 1-3.602-3.602 3.597 3.597 0 0 1 3.602-3.602 3.597 3.597 0 0 1 3.602 3.602 3.597 3.597 0 0 1-3.602 3.602Z"
|
|
200
103
|
}
|
|
201
|
-
),
|
|
202
|
-
"
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
104
|
+
) }), _1 = (e) => /* @__PURE__ */ H("svg", { xmlns: "http://www.w3.org/2000/svg", id: "tuto_svg__FlaconTest", viewBox: "0 0 14 16", ...e, children: [
|
|
105
|
+
/* @__PURE__ */ m("defs", { children: /* @__PURE__ */ m("style", { children: ".tuto_svg__cls-2{stroke-width:0;fill:#fff}" }) }),
|
|
106
|
+
/* @__PURE__ */ m(
|
|
107
|
+
"path",
|
|
108
|
+
{
|
|
109
|
+
d: "M13.98 14.25c-.04-.27-.14-.54-.28-.79L9.05 5.55V1.54H4.96v4.01L.3 13.47c-.15.25-.24.52-.28.79-.13.8.49 1.54 1.32 1.75h11.33c.83-.21 1.44-.95 1.32-1.75Z",
|
|
110
|
+
className: "tuto_svg__cls-2"
|
|
111
|
+
}
|
|
112
|
+
),
|
|
113
|
+
/* @__PURE__ */ m("rect", { width: 6.01, height: 1.12, x: 4, className: "tuto_svg__cls-2", rx: 0.54, ry: 0.54 }),
|
|
114
|
+
/* @__PURE__ */ m(
|
|
115
|
+
"path",
|
|
116
|
+
{
|
|
117
|
+
d: "M12.07 13.01 8.62 6.98H5.41l-3.45 6.03c-.47.83-.19 1.79.75 2.14 0 0 .2.07.27.08.57.12 3.21.12 3.94.11s3.47.03 4.14-.11c.07-.01.27-.08.27-.08.94-.35 1.23-1.31.75-2.14Z",
|
|
118
|
+
style: {
|
|
119
|
+
strokeWidth: 0,
|
|
120
|
+
fill: "#f4c93c"
|
|
213
121
|
}
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
),
|
|
217
|
-
"svg",
|
|
218
|
-
{
|
|
219
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
220
|
-
id: "tuto_svg__FlaconTest",
|
|
221
|
-
viewBox: "0 0 14 16",
|
|
222
|
-
...e,
|
|
223
|
-
children: [
|
|
224
|
-
/* @__PURE__ */ m("defs", { children: /* @__PURE__ */ m("style", { children: ".tuto_svg__cls-2{stroke-width:0;fill:#fff}" }) }),
|
|
225
|
-
/* @__PURE__ */ m(
|
|
226
|
-
"path",
|
|
227
|
-
{
|
|
228
|
-
d: "M13.98 14.25c-.04-.27-.14-.54-.28-.79L9.05 5.55V1.54H4.96v4.01L.3 13.47c-.15.25-.24.52-.28.79-.13.8.49 1.54 1.32 1.75h11.33c.83-.21 1.44-.95 1.32-1.75Z",
|
|
229
|
-
className: "tuto_svg__cls-2"
|
|
230
|
-
}
|
|
231
|
-
),
|
|
232
|
-
/* @__PURE__ */ m(
|
|
233
|
-
"rect",
|
|
234
|
-
{
|
|
235
|
-
width: 6.01,
|
|
236
|
-
height: 1.12,
|
|
237
|
-
x: 4,
|
|
238
|
-
className: "tuto_svg__cls-2",
|
|
239
|
-
rx: 0.54,
|
|
240
|
-
ry: 0.54
|
|
241
|
-
}
|
|
242
|
-
),
|
|
243
|
-
/* @__PURE__ */ m(
|
|
244
|
-
"path",
|
|
245
|
-
{
|
|
246
|
-
d: "M12.07 13.01 8.62 6.98H5.41l-3.45 6.03c-.47.83-.19 1.79.75 2.14 0 0 .2.07.27.08.57.12 3.21.12 3.94.11s3.47.03 4.14-.11c.07-.01.27-.08.27-.08.94-.35 1.23-1.31.75-2.14Z",
|
|
247
|
-
style: {
|
|
248
|
-
strokeWidth: 0,
|
|
249
|
-
fill: "#f4c93c"
|
|
250
|
-
}
|
|
251
|
-
}
|
|
252
|
-
)
|
|
253
|
-
]
|
|
254
|
-
}
|
|
255
|
-
), w1 = (e) => /* @__PURE__ */ H("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 22 22", ...e, children: [
|
|
122
|
+
}
|
|
123
|
+
)
|
|
124
|
+
] }), w1 = (e) => /* @__PURE__ */ H("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 22 22", ...e, children: [
|
|
256
125
|
/* @__PURE__ */ m("path", { fill: "#50abf1", d: "M0 0h22v22H0z" }),
|
|
257
126
|
/* @__PURE__ */ m(
|
|
258
127
|
"path",
|
|
@@ -304,8 +173,8 @@ const u1 = (e) => /* @__PURE__ */ H(
|
|
|
304
173
|
Calendar: d1,
|
|
305
174
|
Close: m1,
|
|
306
175
|
Facebook: f1,
|
|
307
|
-
Github:
|
|
308
|
-
Language:
|
|
176
|
+
Github: p1,
|
|
177
|
+
Language: h1,
|
|
309
178
|
Link: b1,
|
|
310
179
|
Linkedin: v1,
|
|
311
180
|
Logo: ye,
|
|
@@ -334,21 +203,21 @@ var xe = { exports: {} };
|
|
|
334
203
|
for (var a = [], s = 0; s < arguments.length; s++) {
|
|
335
204
|
var c = arguments[s];
|
|
336
205
|
if (c) {
|
|
337
|
-
var
|
|
338
|
-
if (
|
|
206
|
+
var o = typeof c;
|
|
207
|
+
if (o === "string" || o === "number")
|
|
339
208
|
a.push(c);
|
|
340
209
|
else if (Array.isArray(c)) {
|
|
341
210
|
if (c.length) {
|
|
342
211
|
var i = t.apply(null, c);
|
|
343
212
|
i && a.push(i);
|
|
344
213
|
}
|
|
345
|
-
} else if (
|
|
214
|
+
} else if (o === "object") {
|
|
346
215
|
if (c.toString !== Object.prototype.toString && !c.toString.toString().includes("[native code]")) {
|
|
347
216
|
a.push(c.toString());
|
|
348
217
|
continue;
|
|
349
218
|
}
|
|
350
|
-
for (var
|
|
351
|
-
n.call(c,
|
|
219
|
+
for (var r in c)
|
|
220
|
+
n.call(c, r) && c[r] && a.push(r);
|
|
352
221
|
}
|
|
353
222
|
}
|
|
354
223
|
}
|
|
@@ -358,114 +227,30 @@ var xe = { exports: {} };
|
|
|
358
227
|
})();
|
|
359
228
|
})(xe);
|
|
360
229
|
var A1 = xe.exports;
|
|
361
|
-
const
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
230
|
+
const P = /* @__PURE__ */ V(A1), K = l1;
|
|
231
|
+
const y2 = ["primary", "secondary"], M1 = K(
|
|
232
|
+
({ as: e = "button", variant: n = "primary", isChoiceChip: t = !1, className: a, children: s, ...c }, o) => /* @__PURE__ */ m(
|
|
233
|
+
r0,
|
|
234
|
+
{
|
|
235
|
+
...c,
|
|
236
|
+
as: e,
|
|
237
|
+
ref: o,
|
|
238
|
+
size: "s",
|
|
239
|
+
"data-text": typeof s == "string" ? s : "",
|
|
240
|
+
className: P(
|
|
241
|
+
"button",
|
|
242
|
+
{
|
|
243
|
+
[`button--${n}`]: n,
|
|
244
|
+
["button--choice-chip"]: t
|
|
245
|
+
},
|
|
246
|
+
a
|
|
247
|
+
),
|
|
248
|
+
children: s
|
|
368
249
|
}
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
const n = se({
|
|
374
|
-
className: e.className,
|
|
375
|
-
defaultModifier: e.defaultModifier || "xs",
|
|
376
|
-
propValue: e.propValue
|
|
377
|
-
});
|
|
378
|
-
return n ? [n] : [];
|
|
379
|
-
}
|
|
380
|
-
return Object.entries(e.propValue).reduce(
|
|
381
|
-
(n, [t, a]) => {
|
|
382
|
-
const s = se({
|
|
383
|
-
className: e.className,
|
|
384
|
-
defaultModifier: t,
|
|
385
|
-
propValue: a
|
|
386
|
-
});
|
|
387
|
-
return s && n.push(s), n;
|
|
388
|
-
},
|
|
389
|
-
[]
|
|
390
|
-
);
|
|
391
|
-
}, _e = (e) => $({
|
|
392
|
-
[`bg-${e.bg}`]: e.bg,
|
|
393
|
-
[`color-${e.color}`]: e.color
|
|
394
|
-
}), T1 = (e) => $(
|
|
395
|
-
B({
|
|
396
|
-
propValue: e.flexDirection,
|
|
397
|
-
className: "flex"
|
|
398
|
-
}),
|
|
399
|
-
B({
|
|
400
|
-
propValue: e.flexWrap,
|
|
401
|
-
className: "flex"
|
|
402
|
-
}),
|
|
403
|
-
...B({
|
|
404
|
-
propValue: e.alignItems,
|
|
405
|
-
className: "items"
|
|
406
|
-
}),
|
|
407
|
-
...B({
|
|
408
|
-
propValue: e.alignContent,
|
|
409
|
-
className: "content"
|
|
410
|
-
}),
|
|
411
|
-
...B({
|
|
412
|
-
propValue: e.justifyContent,
|
|
413
|
-
className: "justify"
|
|
414
|
-
}),
|
|
415
|
-
...B({
|
|
416
|
-
propValue: e.gap,
|
|
417
|
-
className: "gap"
|
|
418
|
-
}),
|
|
419
|
-
...B({
|
|
420
|
-
propValue: e.gapX,
|
|
421
|
-
className: "gap-x"
|
|
422
|
-
}),
|
|
423
|
-
...B({
|
|
424
|
-
propValue: e.gapY,
|
|
425
|
-
className: "gap-y"
|
|
426
|
-
}),
|
|
427
|
-
...B({
|
|
428
|
-
propValue: e.alignSelf,
|
|
429
|
-
className: "self"
|
|
430
|
-
}),
|
|
431
|
-
B({
|
|
432
|
-
propValue: e.flexBasis,
|
|
433
|
-
className: "basis"
|
|
434
|
-
}),
|
|
435
|
-
B({
|
|
436
|
-
propValue: e.flex,
|
|
437
|
-
className: "flex"
|
|
438
|
-
})
|
|
439
|
-
), I1 = (e) => $(
|
|
440
|
-
B({
|
|
441
|
-
propValue: e.display,
|
|
442
|
-
className: "display"
|
|
443
|
-
}),
|
|
444
|
-
B({
|
|
445
|
-
propValue: e.width,
|
|
446
|
-
className: "width"
|
|
447
|
-
}),
|
|
448
|
-
B({
|
|
449
|
-
propValue: e.height,
|
|
450
|
-
className: "height"
|
|
451
|
-
}),
|
|
452
|
-
B({
|
|
453
|
-
propValue: e.minWidth,
|
|
454
|
-
className: "min-width"
|
|
455
|
-
}),
|
|
456
|
-
B({
|
|
457
|
-
propValue: e.maxWidth,
|
|
458
|
-
className: "max-width"
|
|
459
|
-
}),
|
|
460
|
-
B({
|
|
461
|
-
propValue: e.minHeight,
|
|
462
|
-
className: "min-height"
|
|
463
|
-
}),
|
|
464
|
-
B({
|
|
465
|
-
propValue: e.maxHeight,
|
|
466
|
-
className: "max-height"
|
|
467
|
-
})
|
|
468
|
-
), F = {
|
|
250
|
+
)
|
|
251
|
+
);
|
|
252
|
+
M1.displayName = "Button";
|
|
253
|
+
const W = {
|
|
469
254
|
asset: {
|
|
470
255
|
font: {
|
|
471
256
|
"WorkSans-Regular": {
|
|
@@ -853,14 +638,14 @@ const $ = /* @__PURE__ */ V(A1), M1 = (e) => e.replace(/([a-z])([A-Z])/g, "$1-$2
|
|
|
853
638
|
}
|
|
854
639
|
};
|
|
855
640
|
[
|
|
856
|
-
...Object.keys(
|
|
857
|
-
...Object.keys(
|
|
858
|
-
...Object.keys(
|
|
641
|
+
...Object.keys(W.color.primary),
|
|
642
|
+
...Object.keys(W.color.secondary),
|
|
643
|
+
...Object.keys(W.color.greyscale)
|
|
859
644
|
];
|
|
860
|
-
const
|
|
645
|
+
const R1 = {
|
|
861
646
|
bg: ["background-color"],
|
|
862
647
|
color: ["color"]
|
|
863
|
-
},
|
|
648
|
+
}, T1 = {
|
|
864
649
|
p: ["padding"],
|
|
865
650
|
pt: ["padding-top"],
|
|
866
651
|
pr: ["padding-right"],
|
|
@@ -868,7 +653,7 @@ const L1 = {
|
|
|
868
653
|
pb: ["padding-bottom"],
|
|
869
654
|
px: ["padding-left", "padding-right"],
|
|
870
655
|
py: ["padding-top", "padding-bottom"]
|
|
871
|
-
},
|
|
656
|
+
}, _e = {
|
|
872
657
|
m: ["margin"],
|
|
873
658
|
mt: ["margin-top"],
|
|
874
659
|
mr: ["margin-right"],
|
|
@@ -876,10 +661,10 @@ const L1 = {
|
|
|
876
661
|
mb: ["margin-bottom"],
|
|
877
662
|
mx: ["margin-left", "margin-right"],
|
|
878
663
|
my: ["margin-top", "margin-bottom"]
|
|
879
|
-
},
|
|
880
|
-
...
|
|
881
|
-
...
|
|
882
|
-
},
|
|
664
|
+
}, we = {
|
|
665
|
+
..._e,
|
|
666
|
+
...T1
|
|
667
|
+
}, I1 = {
|
|
883
668
|
alignItems: ["align-items"],
|
|
884
669
|
alignContent: ["align-content"],
|
|
885
670
|
justifyContent: ["justify-content"],
|
|
@@ -891,10 +676,10 @@ const L1 = {
|
|
|
891
676
|
flexWrap: ["flex-wrap"],
|
|
892
677
|
flex: ["flex"],
|
|
893
678
|
alignSelf: ["align-self"]
|
|
894
|
-
},
|
|
679
|
+
}, L1 = {
|
|
895
680
|
hiddenBelow: ["display"],
|
|
896
681
|
hiddenAbove: ["display"]
|
|
897
|
-
},
|
|
682
|
+
}, k1 = {
|
|
898
683
|
display: ["display"],
|
|
899
684
|
width: ["width"],
|
|
900
685
|
height: ["height"],
|
|
@@ -902,95 +687,163 @@ const L1 = {
|
|
|
902
687
|
maxWidth: ["max-width"],
|
|
903
688
|
minHeight: ["min-height"],
|
|
904
689
|
maxHeight: ["max-height"]
|
|
905
|
-
},
|
|
690
|
+
}, C1 = {
|
|
906
691
|
textAlign: ["text-align"],
|
|
907
692
|
textSize: ["font-size", "line-height"],
|
|
908
693
|
fontWeight: ["font-weight"],
|
|
909
694
|
italic: ["font-style"],
|
|
910
695
|
underline: ["text-decoration"],
|
|
911
696
|
textTransform: ["text-transform"]
|
|
912
|
-
},
|
|
913
|
-
...
|
|
697
|
+
}, D1 = {
|
|
698
|
+
...we,
|
|
699
|
+
...I1,
|
|
700
|
+
...R1,
|
|
914
701
|
...C1,
|
|
915
|
-
...
|
|
916
|
-
...
|
|
917
|
-
|
|
918
|
-
|
|
919
|
-
|
|
920
|
-
|
|
921
|
-
|
|
922
|
-
|
|
923
|
-
|
|
924
|
-
|
|
925
|
-
|
|
926
|
-
|
|
927
|
-
|
|
928
|
-
|
|
702
|
+
...k1,
|
|
703
|
+
...L1
|
|
704
|
+
}, B1 = {
|
|
705
|
+
mobile: `(max-width: ${Number.parseInt(W.breakpoint.sm.value, 10) - 1}px)`,
|
|
706
|
+
aboveMobile: `(min-width:${Number.parseInt(W.breakpoint.sm.value, 10)}px)`,
|
|
707
|
+
tablet: `(min-width:${Number.parseInt(W.breakpoint.sm.value, 10)}px) and (max-width: ${Number.parseInt(W.breakpoint.md.value, 10) - 1}px)`,
|
|
708
|
+
aboveTablet: `(min-width:${Number.parseInt(W.breakpoint.md.value, 10)}px)`,
|
|
709
|
+
desktop: `(min-width:${Number.parseInt(W.breakpoint.md.value, 10)}px) and (max-width: ${Number.parseInt(W.breakpoint.lg.value, 10) - 1}px)`,
|
|
710
|
+
aboveDesktop: `(min-width:${Number.parseInt(W.breakpoint.lg.value, 10)}px)`,
|
|
711
|
+
large: `(min-width:${Number.parseInt(W.breakpoint.lg.value, 10)}px)`
|
|
712
|
+
}, P1 = (e) => e.replaceAll(/([a-z])([A-Z])/g, "$1-$2").replaceAll(/[\s_]+/g, "-").toLowerCase(), $1 = (e) => (e.match(/[\dA-Za-z]+/g) || []).map((n) => `${n.charAt(0).toUpperCase()}${n.slice(1)}`).join(""), se = (e) => {
|
|
713
|
+
if (e.propValue !== void 0) {
|
|
714
|
+
if (typeof e.propValue != "boolean") {
|
|
715
|
+
const n = P1(
|
|
716
|
+
typeof e.propValue == "number" ? e.propValue.toString() : e.propValue
|
|
717
|
+
);
|
|
718
|
+
return `${e.className}-${n}@${e.defaultModifier}`;
|
|
719
|
+
}
|
|
720
|
+
return `${e.className}@${e.defaultModifier}`;
|
|
721
|
+
}
|
|
722
|
+
}, B = (e) => {
|
|
723
|
+
if (e.propValue && ["string", "number"].includes(typeof e.propValue) || !e.propValue) {
|
|
724
|
+
const n = se({
|
|
725
|
+
className: e.className,
|
|
726
|
+
defaultModifier: e.defaultModifier || "xs",
|
|
727
|
+
propValue: e.propValue
|
|
728
|
+
});
|
|
729
|
+
return n ? [n] : [];
|
|
730
|
+
}
|
|
731
|
+
return Object.entries(e.propValue).reduce(
|
|
732
|
+
(n, [t, a]) => {
|
|
733
|
+
const s = se({
|
|
734
|
+
className: e.className,
|
|
735
|
+
defaultModifier: t,
|
|
736
|
+
propValue: a
|
|
737
|
+
});
|
|
738
|
+
return s && n.push(s), n;
|
|
739
|
+
},
|
|
740
|
+
[]
|
|
741
|
+
);
|
|
742
|
+
}, Se = (e) => P({
|
|
743
|
+
[`bg-${e.bg}`]: e.bg,
|
|
744
|
+
[`color-${e.color}`]: e.color
|
|
745
|
+
}), U1 = (e) => P(
|
|
746
|
+
B({
|
|
747
|
+
propValue: e.flexDirection,
|
|
748
|
+
className: "flex"
|
|
749
|
+
}),
|
|
750
|
+
B({
|
|
751
|
+
propValue: e.flexWrap,
|
|
752
|
+
className: "flex"
|
|
753
|
+
}),
|
|
754
|
+
...B({
|
|
755
|
+
propValue: e.alignItems,
|
|
756
|
+
className: "items"
|
|
757
|
+
}),
|
|
758
|
+
...B({
|
|
759
|
+
propValue: e.alignContent,
|
|
760
|
+
className: "content"
|
|
761
|
+
}),
|
|
762
|
+
...B({
|
|
763
|
+
propValue: e.justifyContent,
|
|
764
|
+
className: "justify"
|
|
765
|
+
}),
|
|
766
|
+
...B({
|
|
767
|
+
propValue: e.gap,
|
|
768
|
+
className: "gap"
|
|
769
|
+
}),
|
|
770
|
+
...B({
|
|
771
|
+
propValue: e.gapX,
|
|
772
|
+
className: "gap-x"
|
|
773
|
+
}),
|
|
774
|
+
...B({
|
|
775
|
+
propValue: e.gapY,
|
|
776
|
+
className: "gap-y"
|
|
777
|
+
}),
|
|
778
|
+
...B({
|
|
779
|
+
propValue: e.alignSelf,
|
|
780
|
+
className: "self"
|
|
781
|
+
}),
|
|
782
|
+
B({
|
|
783
|
+
propValue: e.flexBasis,
|
|
784
|
+
className: "basis"
|
|
785
|
+
}),
|
|
786
|
+
B({
|
|
787
|
+
propValue: e.flex,
|
|
788
|
+
className: "flex"
|
|
789
|
+
})
|
|
790
|
+
), H1 = (e) => P(
|
|
791
|
+
B({
|
|
792
|
+
propValue: e.display,
|
|
793
|
+
className: "display"
|
|
794
|
+
}),
|
|
795
|
+
B({
|
|
796
|
+
propValue: e.width,
|
|
797
|
+
className: "width"
|
|
798
|
+
}),
|
|
799
|
+
B({
|
|
800
|
+
propValue: e.height,
|
|
801
|
+
className: "height"
|
|
802
|
+
}),
|
|
803
|
+
B({
|
|
804
|
+
propValue: e.minWidth,
|
|
805
|
+
className: "min-width"
|
|
806
|
+
}),
|
|
807
|
+
B({
|
|
808
|
+
propValue: e.maxWidth,
|
|
809
|
+
className: "max-width"
|
|
810
|
+
}),
|
|
811
|
+
B({
|
|
812
|
+
propValue: e.minHeight,
|
|
813
|
+
className: "min-height"
|
|
814
|
+
}),
|
|
815
|
+
B({
|
|
816
|
+
propValue: e.maxHeight,
|
|
817
|
+
className: "max-height"
|
|
818
|
+
})
|
|
819
|
+
), Oe = (e) => P(
|
|
820
|
+
Object.entries(e).filter(([n]) => Object.keys(we).includes(n)).reduce((n, [t, a]) => (n.push(
|
|
929
821
|
...B({
|
|
930
822
|
className: t,
|
|
931
823
|
propValue: a
|
|
932
824
|
})
|
|
933
825
|
), n), [])
|
|
934
|
-
),
|
|
935
|
-
textAlign: e,
|
|
936
|
-
...n
|
|
937
|
-
}) => $(
|
|
938
|
-
...B({
|
|
939
|
-
propValue: e,
|
|
940
|
-
className: "text"
|
|
941
|
-
}),
|
|
942
|
-
{
|
|
943
|
-
[`font-weight-${n.fontWeight}`]: n.fontWeight,
|
|
944
|
-
[`text-${n.textTransform}`]: n.textTransform,
|
|
945
|
-
["text-underline"]: n.underline,
|
|
946
|
-
["text-italic"]: n.italic
|
|
947
|
-
}
|
|
948
|
-
), H1 = (e) => $({
|
|
826
|
+
), j1 = (e) => P({
|
|
949
827
|
[`hidden-above@${e.hiddenAbove}`]: !!e.hiddenAbove,
|
|
950
828
|
[`hidden-below@${e.hiddenBelow}`]: !!e.hiddenBelow
|
|
951
|
-
}),
|
|
952
|
-
|
|
953
|
-
|
|
954
|
-
|
|
829
|
+
}), Ae = (e) => typeof e.props == "object" ? Object.keys(e.props).reduce(
|
|
830
|
+
(n, t) => (e.systemPropNames.includes(t) || (n[t] = e.props[t]), n),
|
|
831
|
+
{}
|
|
832
|
+
) : {}, z1 = (e) => P(
|
|
833
|
+
Se(e),
|
|
834
|
+
H1(e),
|
|
955
835
|
Oe(e),
|
|
956
|
-
|
|
957
|
-
|
|
958
|
-
);
|
|
959
|
-
function c0(e) {
|
|
960
|
-
return P0.forwardRef(e);
|
|
961
|
-
}
|
|
962
|
-
const y2 = ["primary", "secondary"], z1 = c0(
|
|
963
|
-
({ as: e = "button", variant: n = "primary", isChoiceChip: t = !1, children: a, ...s }, c) => /* @__PURE__ */ m(
|
|
964
|
-
U,
|
|
965
|
-
{
|
|
966
|
-
...s,
|
|
967
|
-
as: e,
|
|
968
|
-
ref: c,
|
|
969
|
-
textSize: "s",
|
|
970
|
-
"data-text": typeof a == "string" ? a : "",
|
|
971
|
-
className: $(
|
|
972
|
-
"button",
|
|
973
|
-
{
|
|
974
|
-
[`button--${n}`]: n,
|
|
975
|
-
["button--choice-chip"]: t
|
|
976
|
-
},
|
|
977
|
-
s.className
|
|
978
|
-
),
|
|
979
|
-
children: a
|
|
980
|
-
}
|
|
981
|
-
)
|
|
982
|
-
);
|
|
983
|
-
z1.displayName = "Button";
|
|
984
|
-
const V0 = ({ name: e, size: n, ...t }) => {
|
|
985
|
-
const a = O1[R1(e)];
|
|
836
|
+
j1(e)
|
|
837
|
+
), Z0 = ({ name: e, size: n, ...t }) => {
|
|
838
|
+
const a = O1[$1(e)];
|
|
986
839
|
return /* @__PURE__ */ m(
|
|
987
840
|
a,
|
|
988
841
|
{
|
|
989
|
-
...
|
|
990
|
-
className:
|
|
842
|
+
...Ae({ props: t, systemPropNames: [...Object.keys(_e), "color"] }),
|
|
843
|
+
className: P(
|
|
991
844
|
"icon",
|
|
992
845
|
Oe(t),
|
|
993
|
-
|
|
846
|
+
Se(t),
|
|
994
847
|
t == null ? void 0 : t.className
|
|
995
848
|
),
|
|
996
849
|
height: "1em",
|
|
@@ -998,37 +851,44 @@ const V0 = ({ name: e, size: n, ...t }) => {
|
|
|
998
851
|
style: { fontSize: n }
|
|
999
852
|
}
|
|
1000
853
|
);
|
|
1001
|
-
}, U =
|
|
854
|
+
}, U = K(({ as: e = "div", className: n, children: t, ...a }, s) => /* @__PURE__ */ m(
|
|
1002
855
|
e,
|
|
1003
856
|
{
|
|
1004
|
-
...
|
|
857
|
+
...Ae({ props: a, systemPropNames: Object.keys(D1) }),
|
|
1005
858
|
ref: s,
|
|
1006
|
-
className:
|
|
1007
|
-
j1(a),
|
|
1008
|
-
Ae(a),
|
|
1009
|
-
{ [`text-${n}`]: !!n },
|
|
1010
|
-
a == null ? void 0 : a.className
|
|
1011
|
-
),
|
|
859
|
+
className: P(z1(a), n),
|
|
1012
860
|
children: t
|
|
1013
861
|
}
|
|
1014
862
|
));
|
|
1015
863
|
U.displayName = "Box";
|
|
1016
|
-
const q0 =
|
|
1017
|
-
|
|
864
|
+
const q0 = K(
|
|
865
|
+
({ as: e = "div", display: n = "flex", className: t, children: a, ...s }, c) => /* @__PURE__ */ m(
|
|
866
|
+
U,
|
|
867
|
+
{
|
|
868
|
+
...s,
|
|
869
|
+
ref: c,
|
|
870
|
+
as: e,
|
|
871
|
+
display: n,
|
|
872
|
+
className: P(U1(s), t),
|
|
873
|
+
children: a
|
|
874
|
+
}
|
|
875
|
+
)
|
|
876
|
+
);
|
|
877
|
+
const N2 = ["website", "blog"], x2 = K(({ name: e, size: n, ...t }, a) => /* @__PURE__ */ H(
|
|
1018
878
|
q0,
|
|
1019
879
|
{
|
|
1020
880
|
...t,
|
|
1021
881
|
ref: a,
|
|
1022
882
|
justifyContent: "center",
|
|
1023
883
|
alignItems: "center",
|
|
1024
|
-
className:
|
|
884
|
+
className: P("logo", t.className),
|
|
1025
885
|
style: { fontSize: n },
|
|
1026
886
|
children: [
|
|
1027
887
|
/* @__PURE__ */ m(ye, { height: "1em" }),
|
|
1028
888
|
e === "blog" ? /* @__PURE__ */ H(U, { className: "logo__blog", children: [
|
|
1029
|
-
/* @__PURE__ */ m(
|
|
1030
|
-
/* @__PURE__ */ m(
|
|
1031
|
-
] }) : /* @__PURE__ */ m(
|
|
889
|
+
/* @__PURE__ */ m(r0, { fontWeight: "medium", children: "Eleven Labs" }),
|
|
890
|
+
/* @__PURE__ */ m(r0, { fontWeight: "bold", children: "Le blog" })
|
|
891
|
+
] }) : /* @__PURE__ */ m(r0, { fontWeight: "medium", className: "logo__website", children: "Eleven Labs" })
|
|
1032
892
|
]
|
|
1033
893
|
}
|
|
1034
894
|
));
|
|
@@ -1051,7 +911,7 @@ function Z1(e, n) {
|
|
|
1051
911
|
}
|
|
1052
912
|
return t;
|
|
1053
913
|
}
|
|
1054
|
-
function
|
|
914
|
+
function V0(e, n) {
|
|
1055
915
|
(n == null || n > e.length) && (n = e.length);
|
|
1056
916
|
for (var t = 0, a = new Array(n); t < n; t++)
|
|
1057
917
|
a[t] = e[t];
|
|
@@ -1059,21 +919,21 @@ function W0(e, n) {
|
|
|
1059
919
|
}
|
|
1060
920
|
function V1(e) {
|
|
1061
921
|
if (Array.isArray(e))
|
|
1062
|
-
return
|
|
922
|
+
return V0(e);
|
|
1063
923
|
}
|
|
1064
|
-
function
|
|
924
|
+
function F1(e) {
|
|
1065
925
|
if (typeof Symbol < "u" && e[Symbol.iterator] != null || e["@@iterator"] != null)
|
|
1066
926
|
return Array.from(e);
|
|
1067
927
|
}
|
|
1068
|
-
function
|
|
928
|
+
function W1(e, n) {
|
|
1069
929
|
if (e) {
|
|
1070
930
|
if (typeof e == "string")
|
|
1071
|
-
return
|
|
931
|
+
return V0(e, n);
|
|
1072
932
|
var t = Object.prototype.toString.call(e).slice(8, -1);
|
|
1073
933
|
if (t === "Object" && e.constructor && (t = e.constructor.name), t === "Map" || t === "Set")
|
|
1074
934
|
return Array.from(e);
|
|
1075
935
|
if (t === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))
|
|
1076
|
-
return
|
|
936
|
+
return V0(e, n);
|
|
1077
937
|
}
|
|
1078
938
|
}
|
|
1079
939
|
function K1() {
|
|
@@ -1081,7 +941,7 @@ function K1() {
|
|
|
1081
941
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
|
1082
942
|
}
|
|
1083
943
|
function Y1(e) {
|
|
1084
|
-
return V1(e) ||
|
|
944
|
+
return V1(e) || F1(e) || W1(e) || K1();
|
|
1085
945
|
}
|
|
1086
946
|
function A0(e) {
|
|
1087
947
|
"@babel/helpers - typeof";
|
|
@@ -1107,7 +967,7 @@ function q1(e) {
|
|
|
1107
967
|
var n = X1(e, "string");
|
|
1108
968
|
return A0(n) === "symbol" ? n : String(n);
|
|
1109
969
|
}
|
|
1110
|
-
function
|
|
970
|
+
function Me(e, n, t) {
|
|
1111
971
|
return n = q1(n), n in e ? Object.defineProperty(e, n, {
|
|
1112
972
|
value: t,
|
|
1113
973
|
enumerable: !0,
|
|
@@ -1139,7 +999,7 @@ function w0(e) {
|
|
|
1139
999
|
for (var n = 1; n < arguments.length; n++) {
|
|
1140
1000
|
var t = arguments[n] != null ? arguments[n] : {};
|
|
1141
1001
|
n % 2 ? ie(Object(t), !0).forEach(function(a) {
|
|
1142
|
-
|
|
1002
|
+
Me(e, a, t[a]);
|
|
1143
1003
|
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ie(Object(t)).forEach(function(a) {
|
|
1144
1004
|
Object.defineProperty(e, a, Object.getOwnPropertyDescriptor(t, a));
|
|
1145
1005
|
});
|
|
@@ -1157,29 +1017,29 @@ function Q1(e) {
|
|
|
1157
1017
|
if (n >= 4)
|
|
1158
1018
|
return [e[0], e[1], e[2], e[3], "".concat(e[0], ".").concat(e[1]), "".concat(e[0], ".").concat(e[2]), "".concat(e[0], ".").concat(e[3]), "".concat(e[1], ".").concat(e[0]), "".concat(e[1], ".").concat(e[2]), "".concat(e[1], ".").concat(e[3]), "".concat(e[2], ".").concat(e[0]), "".concat(e[2], ".").concat(e[1]), "".concat(e[2], ".").concat(e[3]), "".concat(e[3], ".").concat(e[0]), "".concat(e[3], ".").concat(e[1]), "".concat(e[3], ".").concat(e[2]), "".concat(e[0], ".").concat(e[1], ".").concat(e[2]), "".concat(e[0], ".").concat(e[1], ".").concat(e[3]), "".concat(e[0], ".").concat(e[2], ".").concat(e[1]), "".concat(e[0], ".").concat(e[2], ".").concat(e[3]), "".concat(e[0], ".").concat(e[3], ".").concat(e[1]), "".concat(e[0], ".").concat(e[3], ".").concat(e[2]), "".concat(e[1], ".").concat(e[0], ".").concat(e[2]), "".concat(e[1], ".").concat(e[0], ".").concat(e[3]), "".concat(e[1], ".").concat(e[2], ".").concat(e[0]), "".concat(e[1], ".").concat(e[2], ".").concat(e[3]), "".concat(e[1], ".").concat(e[3], ".").concat(e[0]), "".concat(e[1], ".").concat(e[3], ".").concat(e[2]), "".concat(e[2], ".").concat(e[0], ".").concat(e[1]), "".concat(e[2], ".").concat(e[0], ".").concat(e[3]), "".concat(e[2], ".").concat(e[1], ".").concat(e[0]), "".concat(e[2], ".").concat(e[1], ".").concat(e[3]), "".concat(e[2], ".").concat(e[3], ".").concat(e[0]), "".concat(e[2], ".").concat(e[3], ".").concat(e[1]), "".concat(e[3], ".").concat(e[0], ".").concat(e[1]), "".concat(e[3], ".").concat(e[0], ".").concat(e[2]), "".concat(e[3], ".").concat(e[1], ".").concat(e[0]), "".concat(e[3], ".").concat(e[1], ".").concat(e[2]), "".concat(e[3], ".").concat(e[2], ".").concat(e[0]), "".concat(e[3], ".").concat(e[2], ".").concat(e[1]), "".concat(e[0], ".").concat(e[1], ".").concat(e[2], ".").concat(e[3]), "".concat(e[0], ".").concat(e[1], ".").concat(e[3], ".").concat(e[2]), "".concat(e[0], ".").concat(e[2], ".").concat(e[1], ".").concat(e[3]), "".concat(e[0], ".").concat(e[2], ".").concat(e[3], ".").concat(e[1]), "".concat(e[0], ".").concat(e[3], ".").concat(e[1], ".").concat(e[2]), "".concat(e[0], ".").concat(e[3], ".").concat(e[2], ".").concat(e[1]), "".concat(e[1], ".").concat(e[0], ".").concat(e[2], ".").concat(e[3]), "".concat(e[1], ".").concat(e[0], ".").concat(e[3], ".").concat(e[2]), "".concat(e[1], ".").concat(e[2], ".").concat(e[0], ".").concat(e[3]), "".concat(e[1], ".").concat(e[2], ".").concat(e[3], ".").concat(e[0]), "".concat(e[1], ".").concat(e[3], ".").concat(e[0], ".").concat(e[2]), "".concat(e[1], ".").concat(e[3], ".").concat(e[2], ".").concat(e[0]), "".concat(e[2], ".").concat(e[0], ".").concat(e[1], ".").concat(e[3]), "".concat(e[2], ".").concat(e[0], ".").concat(e[3], ".").concat(e[1]), "".concat(e[2], ".").concat(e[1], ".").concat(e[0], ".").concat(e[3]), "".concat(e[2], ".").concat(e[1], ".").concat(e[3], ".").concat(e[0]), "".concat(e[2], ".").concat(e[3], ".").concat(e[0], ".").concat(e[1]), "".concat(e[2], ".").concat(e[3], ".").concat(e[1], ".").concat(e[0]), "".concat(e[3], ".").concat(e[0], ".").concat(e[1], ".").concat(e[2]), "".concat(e[3], ".").concat(e[0], ".").concat(e[2], ".").concat(e[1]), "".concat(e[3], ".").concat(e[1], ".").concat(e[0], ".").concat(e[2]), "".concat(e[3], ".").concat(e[1], ".").concat(e[2], ".").concat(e[0]), "".concat(e[3], ".").concat(e[2], ".").concat(e[0], ".").concat(e[1]), "".concat(e[3], ".").concat(e[2], ".").concat(e[1], ".").concat(e[0])];
|
|
1159
1019
|
}
|
|
1160
|
-
var
|
|
1020
|
+
var j0 = {};
|
|
1161
1021
|
function J1(e) {
|
|
1162
1022
|
if (e.length === 0 || e.length === 1)
|
|
1163
1023
|
return e;
|
|
1164
1024
|
var n = e.join(".");
|
|
1165
|
-
return
|
|
1025
|
+
return j0[n] || (j0[n] = Q1(e)), j0[n];
|
|
1166
1026
|
}
|
|
1167
1027
|
function en(e) {
|
|
1168
1028
|
var n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, t = arguments.length > 2 ? arguments[2] : void 0, a = e.filter(function(c) {
|
|
1169
1029
|
return c !== "token";
|
|
1170
1030
|
}), s = J1(a);
|
|
1171
|
-
return s.reduce(function(c,
|
|
1172
|
-
return w0(w0({}, c), t[
|
|
1031
|
+
return s.reduce(function(c, o) {
|
|
1032
|
+
return w0(w0({}, c), t[o]);
|
|
1173
1033
|
}, n);
|
|
1174
1034
|
}
|
|
1175
|
-
function
|
|
1035
|
+
function re(e) {
|
|
1176
1036
|
return e.join(" ");
|
|
1177
1037
|
}
|
|
1178
1038
|
function nn(e, n) {
|
|
1179
1039
|
var t = 0;
|
|
1180
1040
|
return function(a) {
|
|
1181
1041
|
return t += 1, a.map(function(s, c) {
|
|
1182
|
-
return
|
|
1042
|
+
return Re({
|
|
1183
1043
|
node: s,
|
|
1184
1044
|
stylesheet: e,
|
|
1185
1045
|
useInlineStyles: n,
|
|
@@ -1188,15 +1048,15 @@ function nn(e, n) {
|
|
|
1188
1048
|
});
|
|
1189
1049
|
};
|
|
1190
1050
|
}
|
|
1191
|
-
function
|
|
1192
|
-
var n = e.node, t = e.stylesheet, a = e.style, s = a === void 0 ? {} : a, c = e.useInlineStyles,
|
|
1193
|
-
if (
|
|
1194
|
-
return
|
|
1051
|
+
function Re(e) {
|
|
1052
|
+
var n = e.node, t = e.stylesheet, a = e.style, s = a === void 0 ? {} : a, c = e.useInlineStyles, o = e.key, i = n.properties, r = n.type, g = n.tagName, l = n.value;
|
|
1053
|
+
if (r === "text")
|
|
1054
|
+
return l;
|
|
1195
1055
|
if (g) {
|
|
1196
1056
|
var d = nn(t, c), b;
|
|
1197
1057
|
if (!c)
|
|
1198
1058
|
b = w0(w0({}, i), {}, {
|
|
1199
|
-
className:
|
|
1059
|
+
className: re(i.className)
|
|
1200
1060
|
});
|
|
1201
1061
|
else {
|
|
1202
1062
|
var v = Object.keys(t).reduce(function(x, w) {
|
|
@@ -1207,13 +1067,13 @@ function Te(e) {
|
|
|
1207
1067
|
return !v.includes(x);
|
|
1208
1068
|
}));
|
|
1209
1069
|
b = w0(w0({}, i), {}, {
|
|
1210
|
-
className:
|
|
1070
|
+
className: re(S) || void 0,
|
|
1211
1071
|
style: en(i.className, Object.assign({}, i.style, s), t)
|
|
1212
1072
|
});
|
|
1213
1073
|
}
|
|
1214
1074
|
var A = d(n.children);
|
|
1215
|
-
return /* @__PURE__ */
|
|
1216
|
-
key:
|
|
1075
|
+
return /* @__PURE__ */ d0.createElement(g, F0({
|
|
1076
|
+
key: o
|
|
1217
1077
|
}, b), A);
|
|
1218
1078
|
}
|
|
1219
1079
|
}
|
|
@@ -1222,7 +1082,7 @@ const tn = function(e, n) {
|
|
|
1222
1082
|
return t.indexOf(n) !== -1;
|
|
1223
1083
|
};
|
|
1224
1084
|
var an = ["language", "children", "style", "customStyle", "codeTagProps", "useInlineStyles", "showLineNumbers", "showInlineLineNumbers", "startingLineNumber", "lineNumberContainerStyle", "lineNumberStyle", "wrapLines", "wrapLongLines", "lineProps", "renderer", "PreTag", "CodeTag", "code", "astGenerator"];
|
|
1225
|
-
function
|
|
1085
|
+
function oe(e, n) {
|
|
1226
1086
|
var t = Object.keys(e);
|
|
1227
1087
|
if (Object.getOwnPropertySymbols) {
|
|
1228
1088
|
var a = Object.getOwnPropertySymbols(e);
|
|
@@ -1232,12 +1092,12 @@ function re(e, n) {
|
|
|
1232
1092
|
}
|
|
1233
1093
|
return t;
|
|
1234
1094
|
}
|
|
1235
|
-
function
|
|
1095
|
+
function a0(e) {
|
|
1236
1096
|
for (var n = 1; n < arguments.length; n++) {
|
|
1237
1097
|
var t = arguments[n] != null ? arguments[n] : {};
|
|
1238
|
-
n % 2 ?
|
|
1239
|
-
|
|
1240
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) :
|
|
1098
|
+
n % 2 ? oe(Object(t), !0).forEach(function(a) {
|
|
1099
|
+
Me(e, a, t[a]);
|
|
1100
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : oe(Object(t)).forEach(function(a) {
|
|
1241
1101
|
Object.defineProperty(e, a, Object.getOwnPropertyDescriptor(t, a));
|
|
1242
1102
|
});
|
|
1243
1103
|
}
|
|
@@ -1247,36 +1107,36 @@ var cn = /\n/g;
|
|
|
1247
1107
|
function sn(e) {
|
|
1248
1108
|
return e.match(cn);
|
|
1249
1109
|
}
|
|
1250
|
-
function
|
|
1110
|
+
function rn(e) {
|
|
1251
1111
|
var n = e.lines, t = e.startingLineNumber, a = e.style;
|
|
1252
1112
|
return n.map(function(s, c) {
|
|
1253
|
-
var
|
|
1254
|
-
return /* @__PURE__ */
|
|
1113
|
+
var o = c + t;
|
|
1114
|
+
return /* @__PURE__ */ d0.createElement("span", {
|
|
1255
1115
|
key: "line-".concat(c),
|
|
1256
1116
|
className: "react-syntax-highlighter-line-number",
|
|
1257
|
-
style: typeof a == "function" ? a(
|
|
1258
|
-
}, "".concat(
|
|
1117
|
+
style: typeof a == "function" ? a(o) : a
|
|
1118
|
+
}, "".concat(o, `
|
|
1259
1119
|
`));
|
|
1260
1120
|
});
|
|
1261
1121
|
}
|
|
1262
|
-
function
|
|
1122
|
+
function on(e) {
|
|
1263
1123
|
var n = e.codeString, t = e.codeStyle, a = e.containerStyle, s = a === void 0 ? {
|
|
1264
1124
|
float: "left",
|
|
1265
1125
|
paddingRight: "10px"
|
|
1266
|
-
} : a, c = e.numberStyle,
|
|
1267
|
-
return /* @__PURE__ */
|
|
1126
|
+
} : a, c = e.numberStyle, o = c === void 0 ? {} : c, i = e.startingLineNumber;
|
|
1127
|
+
return /* @__PURE__ */ d0.createElement("code", {
|
|
1268
1128
|
style: Object.assign({}, t, s)
|
|
1269
|
-
},
|
|
1129
|
+
}, rn({
|
|
1270
1130
|
lines: n.replace(/\n$/, "").split(`
|
|
1271
1131
|
`),
|
|
1272
|
-
style:
|
|
1132
|
+
style: o,
|
|
1273
1133
|
startingLineNumber: i
|
|
1274
1134
|
}));
|
|
1275
1135
|
}
|
|
1276
1136
|
function ln(e) {
|
|
1277
1137
|
return "".concat(e.toString().length, ".25em");
|
|
1278
1138
|
}
|
|
1279
|
-
function
|
|
1139
|
+
function Te(e, n) {
|
|
1280
1140
|
return {
|
|
1281
1141
|
type: "element",
|
|
1282
1142
|
tagName: "span",
|
|
@@ -1291,23 +1151,23 @@ function Ie(e, n) {
|
|
|
1291
1151
|
}]
|
|
1292
1152
|
};
|
|
1293
1153
|
}
|
|
1294
|
-
function
|
|
1154
|
+
function Ie(e, n, t) {
|
|
1295
1155
|
var a = {
|
|
1296
1156
|
display: "inline-block",
|
|
1297
1157
|
minWidth: ln(t),
|
|
1298
1158
|
paddingRight: "1em",
|
|
1299
1159
|
textAlign: "right",
|
|
1300
1160
|
userSelect: "none"
|
|
1301
|
-
}, s = typeof e == "function" ? e(n) : e, c =
|
|
1161
|
+
}, s = typeof e == "function" ? e(n) : e, c = a0(a0({}, a), s);
|
|
1302
1162
|
return c;
|
|
1303
1163
|
}
|
|
1304
1164
|
function C0(e) {
|
|
1305
|
-
var n = e.children, t = e.lineNumber, a = e.lineNumberStyle, s = e.largestLineNumber, c = e.showInlineLineNumbers,
|
|
1165
|
+
var n = e.children, t = e.lineNumber, a = e.lineNumberStyle, s = e.largestLineNumber, c = e.showInlineLineNumbers, o = e.lineProps, i = o === void 0 ? {} : o, r = e.className, g = r === void 0 ? [] : r, l = e.showLineNumbers, d = e.wrapLongLines, b = typeof i == "function" ? i(t) : i;
|
|
1306
1166
|
if (b.className = g, t && c) {
|
|
1307
|
-
var v =
|
|
1308
|
-
n.unshift(
|
|
1167
|
+
var v = Ie(a, t, s);
|
|
1168
|
+
n.unshift(Te(t, v));
|
|
1309
1169
|
}
|
|
1310
|
-
return d &
|
|
1170
|
+
return d & l && (b.style = a0(a0({}, b.style), {}, {
|
|
1311
1171
|
display: "flex"
|
|
1312
1172
|
})), {
|
|
1313
1173
|
type: "element",
|
|
@@ -1316,7 +1176,7 @@ function C0(e) {
|
|
|
1316
1176
|
children: n
|
|
1317
1177
|
};
|
|
1318
1178
|
}
|
|
1319
|
-
function
|
|
1179
|
+
function Le(e) {
|
|
1320
1180
|
for (var n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : [], t = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : [], a = 0; a < e.length; a++) {
|
|
1321
1181
|
var s = e[a];
|
|
1322
1182
|
if (s.type === "text")
|
|
@@ -1326,33 +1186,33 @@ function ke(e) {
|
|
|
1326
1186
|
}));
|
|
1327
1187
|
else if (s.children) {
|
|
1328
1188
|
var c = n.concat(s.properties.className);
|
|
1329
|
-
|
|
1330
|
-
return t.push(
|
|
1189
|
+
Le(s.children, c).forEach(function(o) {
|
|
1190
|
+
return t.push(o);
|
|
1331
1191
|
});
|
|
1332
1192
|
}
|
|
1333
1193
|
}
|
|
1334
1194
|
return t;
|
|
1335
1195
|
}
|
|
1336
|
-
function un(e, n, t, a, s, c,
|
|
1337
|
-
var g,
|
|
1196
|
+
function un(e, n, t, a, s, c, o, i, r) {
|
|
1197
|
+
var g, l = Le(e.value), d = [], b = -1, v = 0;
|
|
1338
1198
|
function L(k, _) {
|
|
1339
1199
|
var T = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : [];
|
|
1340
1200
|
return C0({
|
|
1341
1201
|
children: k,
|
|
1342
1202
|
lineNumber: _,
|
|
1343
1203
|
lineNumberStyle: i,
|
|
1344
|
-
largestLineNumber:
|
|
1204
|
+
largestLineNumber: o,
|
|
1345
1205
|
showInlineLineNumbers: s,
|
|
1346
1206
|
lineProps: t,
|
|
1347
1207
|
className: T,
|
|
1348
1208
|
showLineNumbers: a,
|
|
1349
|
-
wrapLongLines:
|
|
1209
|
+
wrapLongLines: r
|
|
1350
1210
|
});
|
|
1351
1211
|
}
|
|
1352
1212
|
function S(k, _) {
|
|
1353
1213
|
if (a && _ && s) {
|
|
1354
|
-
var T =
|
|
1355
|
-
k.unshift(
|
|
1214
|
+
var T = Ie(i, _, o);
|
|
1215
|
+
k.unshift(Te(_, T));
|
|
1356
1216
|
}
|
|
1357
1217
|
return k;
|
|
1358
1218
|
}
|
|
@@ -1361,48 +1221,48 @@ function un(e, n, t, a, s, c, l, i, o) {
|
|
|
1361
1221
|
return n || T.length > 0 ? L(k, _, T) : S(k, _);
|
|
1362
1222
|
}
|
|
1363
1223
|
for (var x = function() {
|
|
1364
|
-
var _ =
|
|
1365
|
-
if (
|
|
1366
|
-
var
|
|
1224
|
+
var _ = l[v], T = _.children[0].value, $ = sn(T);
|
|
1225
|
+
if ($) {
|
|
1226
|
+
var Y = T.split(`
|
|
1367
1227
|
`);
|
|
1368
|
-
|
|
1369
|
-
var
|
|
1228
|
+
Y.forEach(function(q, Q) {
|
|
1229
|
+
var J = a && d.length + c, h0 = {
|
|
1370
1230
|
type: "text",
|
|
1371
|
-
value: "".concat(
|
|
1231
|
+
value: "".concat(q, `
|
|
1372
1232
|
`)
|
|
1373
1233
|
};
|
|
1374
|
-
if (
|
|
1375
|
-
var y0 =
|
|
1376
|
-
children: [
|
|
1234
|
+
if (Q === 0) {
|
|
1235
|
+
var y0 = l.slice(b + 1, v).concat(C0({
|
|
1236
|
+
children: [h0],
|
|
1377
1237
|
className: _.properties.className
|
|
1378
|
-
})), G = A(y0,
|
|
1238
|
+
})), G = A(y0, J);
|
|
1379
1239
|
d.push(G);
|
|
1380
|
-
} else if (
|
|
1381
|
-
var b0 =
|
|
1240
|
+
} else if (Q === Y.length - 1) {
|
|
1241
|
+
var b0 = l[v + 1] && l[v + 1].children && l[v + 1].children[0], l0 = {
|
|
1382
1242
|
type: "text",
|
|
1383
|
-
value: "".concat(
|
|
1243
|
+
value: "".concat(q)
|
|
1384
1244
|
};
|
|
1385
1245
|
if (b0) {
|
|
1386
|
-
var
|
|
1387
|
-
children: [
|
|
1246
|
+
var u0 = C0({
|
|
1247
|
+
children: [l0],
|
|
1388
1248
|
className: _.properties.className
|
|
1389
1249
|
});
|
|
1390
|
-
|
|
1250
|
+
l.splice(v + 1, 0, u0);
|
|
1391
1251
|
} else {
|
|
1392
|
-
var s0 = [
|
|
1393
|
-
d.push(
|
|
1252
|
+
var s0 = [l0], X = A(s0, J, _.properties.className);
|
|
1253
|
+
d.push(X);
|
|
1394
1254
|
}
|
|
1395
1255
|
} else {
|
|
1396
|
-
var N0 = [
|
|
1256
|
+
var N0 = [h0], O0 = A(N0, J, _.properties.className);
|
|
1397
1257
|
d.push(O0);
|
|
1398
1258
|
}
|
|
1399
1259
|
}), b = v;
|
|
1400
1260
|
}
|
|
1401
1261
|
v++;
|
|
1402
|
-
}; v <
|
|
1262
|
+
}; v < l.length; )
|
|
1403
1263
|
x();
|
|
1404
|
-
if (b !==
|
|
1405
|
-
var w =
|
|
1264
|
+
if (b !== l.length - 1) {
|
|
1265
|
+
var w = l.slice(b + 1, l.length);
|
|
1406
1266
|
if (w && w.length) {
|
|
1407
1267
|
var M = a && d.length + c, R = A(w, M);
|
|
1408
1268
|
d.push(R);
|
|
@@ -1413,7 +1273,7 @@ function un(e, n, t, a, s, c, l, i, o) {
|
|
|
1413
1273
|
function gn(e) {
|
|
1414
1274
|
var n = e.rows, t = e.stylesheet, a = e.useInlineStyles;
|
|
1415
1275
|
return n.map(function(s, c) {
|
|
1416
|
-
return
|
|
1276
|
+
return Re({
|
|
1417
1277
|
node: s,
|
|
1418
1278
|
stylesheet: t,
|
|
1419
1279
|
useInlineStyles: a,
|
|
@@ -1421,12 +1281,12 @@ function gn(e) {
|
|
|
1421
1281
|
});
|
|
1422
1282
|
});
|
|
1423
1283
|
}
|
|
1424
|
-
function
|
|
1284
|
+
function ke(e) {
|
|
1425
1285
|
return e && typeof e.highlightAuto < "u";
|
|
1426
1286
|
}
|
|
1427
1287
|
function dn(e) {
|
|
1428
1288
|
var n = e.astGenerator, t = e.language, a = e.code, s = e.defaultCodeValue;
|
|
1429
|
-
if (
|
|
1289
|
+
if (ke(n)) {
|
|
1430
1290
|
var c = tn(n, t);
|
|
1431
1291
|
return t === "text" ? {
|
|
1432
1292
|
value: s,
|
|
@@ -1447,44 +1307,44 @@ function dn(e) {
|
|
|
1447
1307
|
}
|
|
1448
1308
|
function mn(e, n) {
|
|
1449
1309
|
return function(a) {
|
|
1450
|
-
var s = a.language, c = a.children,
|
|
1310
|
+
var s = a.language, c = a.children, o = a.style, i = o === void 0 ? n : o, r = a.customStyle, g = r === void 0 ? {} : r, l = a.codeTagProps, d = l === void 0 ? {
|
|
1451
1311
|
className: s ? "language-".concat(s) : void 0,
|
|
1452
|
-
style:
|
|
1453
|
-
} :
|
|
1312
|
+
style: a0(a0({}, i['code[class*="language-"]']), i['code[class*="language-'.concat(s, '"]')])
|
|
1313
|
+
} : l, b = a.useInlineStyles, v = b === void 0 ? !0 : b, L = a.showLineNumbers, S = L === void 0 ? !1 : L, A = a.showInlineLineNumbers, x = A === void 0 ? !0 : A, w = a.startingLineNumber, M = w === void 0 ? 1 : w, R = a.lineNumberContainerStyle, k = a.lineNumberStyle, _ = k === void 0 ? {} : k, T = a.wrapLines, $ = a.wrapLongLines, Y = $ === void 0 ? !1 : $, q = a.lineProps, Q = q === void 0 ? {} : q, J = a.renderer, h0 = a.PreTag, y0 = h0 === void 0 ? "pre" : h0, G = a.CodeTag, b0 = G === void 0 ? "code" : G, l0 = a.code, u0 = l0 === void 0 ? (Array.isArray(c) ? c[0] : c) || "" : l0, s0 = a.astGenerator, X = Z1(a, an);
|
|
1454
1314
|
s0 = s0 || e;
|
|
1455
|
-
var N0 = S ? /* @__PURE__ */
|
|
1315
|
+
var N0 = S ? /* @__PURE__ */ d0.createElement(on, {
|
|
1456
1316
|
containerStyle: R,
|
|
1457
1317
|
codeStyle: d.style || {},
|
|
1458
1318
|
numberStyle: _,
|
|
1459
1319
|
startingLineNumber: M,
|
|
1460
|
-
codeString:
|
|
1320
|
+
codeString: u0
|
|
1461
1321
|
}) : null, O0 = i.hljs || i['pre[class*="language-"]'] || {
|
|
1462
1322
|
backgroundColor: "#fff"
|
|
1463
|
-
}, u =
|
|
1323
|
+
}, u = ke(s0) ? "hljs" : "prismjs", f = v ? Object.assign({}, X, {
|
|
1464
1324
|
style: Object.assign({}, O0, g)
|
|
1465
|
-
}) : Object.assign({},
|
|
1466
|
-
className:
|
|
1325
|
+
}) : Object.assign({}, X, {
|
|
1326
|
+
className: X.className ? "".concat(u, " ").concat(X.className) : u,
|
|
1467
1327
|
style: Object.assign({}, g)
|
|
1468
1328
|
});
|
|
1469
|
-
if (
|
|
1329
|
+
if (Y ? d.style = a0(a0({}, d.style), {}, {
|
|
1470
1330
|
whiteSpace: "pre-wrap"
|
|
1471
|
-
}) : d.style =
|
|
1331
|
+
}) : d.style = a0(a0({}, d.style), {}, {
|
|
1472
1332
|
whiteSpace: "pre"
|
|
1473
1333
|
}), !s0)
|
|
1474
|
-
return /* @__PURE__ */
|
|
1475
|
-
(T === void 0 &&
|
|
1334
|
+
return /* @__PURE__ */ d0.createElement(y0, f, N0, /* @__PURE__ */ d0.createElement(b0, d, u0));
|
|
1335
|
+
(T === void 0 && J || Y) && (T = !0), J = J || gn;
|
|
1476
1336
|
var E = [{
|
|
1477
1337
|
type: "text",
|
|
1478
|
-
value:
|
|
1338
|
+
value: u0
|
|
1479
1339
|
}], O = dn({
|
|
1480
1340
|
astGenerator: s0,
|
|
1481
1341
|
language: s,
|
|
1482
|
-
code:
|
|
1342
|
+
code: u0,
|
|
1483
1343
|
defaultCodeValue: E
|
|
1484
1344
|
});
|
|
1485
1345
|
O.language === null && (O.value = E);
|
|
1486
|
-
var C = O.value.length + M, i0 = un(O, T,
|
|
1487
|
-
return /* @__PURE__ */
|
|
1346
|
+
var C = O.value.length + M, i0 = un(O, T, Q, S, x, M, C, _, Y);
|
|
1347
|
+
return /* @__PURE__ */ d0.createElement(y0, f, /* @__PURE__ */ d0.createElement(b0, d, !x && N0, J({
|
|
1488
1348
|
rows: i0,
|
|
1489
1349
|
stylesheet: i,
|
|
1490
1350
|
useInlineStyles: v
|
|
@@ -1502,8 +1362,8 @@ function Q0(e) {
|
|
|
1502
1362
|
typeof t == "object" && !Object.isFrozen(t) && Q0(t);
|
|
1503
1363
|
}), e;
|
|
1504
1364
|
}
|
|
1505
|
-
var
|
|
1506
|
-
|
|
1365
|
+
var Ce = Q0, fn = Q0;
|
|
1366
|
+
Ce.default = fn;
|
|
1507
1367
|
class le {
|
|
1508
1368
|
/**
|
|
1509
1369
|
* @param {CompiledMode} mode
|
|
@@ -1518,7 +1378,7 @@ class le {
|
|
|
1518
1378
|
function S0(e) {
|
|
1519
1379
|
return e.replace(/&/g, "&").replace(/</g, "<").replace(/>/g, ">").replace(/"/g, """).replace(/'/g, "'");
|
|
1520
1380
|
}
|
|
1521
|
-
function
|
|
1381
|
+
function m0(e, ...n) {
|
|
1522
1382
|
const t = /* @__PURE__ */ Object.create(null);
|
|
1523
1383
|
for (const a in e)
|
|
1524
1384
|
t[a] = e[a];
|
|
@@ -1528,8 +1388,8 @@ function d0(e, ...n) {
|
|
|
1528
1388
|
}), /** @type {T} */
|
|
1529
1389
|
t;
|
|
1530
1390
|
}
|
|
1531
|
-
const
|
|
1532
|
-
class
|
|
1391
|
+
const pn = "</span>", ue = (e) => !!e.kind;
|
|
1392
|
+
class hn {
|
|
1533
1393
|
/**
|
|
1534
1394
|
* Creates a new HTMLRenderer
|
|
1535
1395
|
*
|
|
@@ -1561,7 +1421,7 @@ class pn {
|
|
|
1561
1421
|
*
|
|
1562
1422
|
* @param {Node} node */
|
|
1563
1423
|
closeNode(n) {
|
|
1564
|
-
ue(n) && (this.buffer +=
|
|
1424
|
+
ue(n) && (this.buffer += pn);
|
|
1565
1425
|
}
|
|
1566
1426
|
/**
|
|
1567
1427
|
* returns the accumulated buffer
|
|
@@ -1660,7 +1520,7 @@ class bn extends J0 {
|
|
|
1660
1520
|
a.kind = t, a.sublanguage = !0, this.add(a);
|
|
1661
1521
|
}
|
|
1662
1522
|
toHTML() {
|
|
1663
|
-
return new
|
|
1523
|
+
return new hn(this, this.options).value();
|
|
1664
1524
|
}
|
|
1665
1525
|
finalize() {
|
|
1666
1526
|
return !0;
|
|
@@ -1691,26 +1551,26 @@ function wn(e, n = "|") {
|
|
|
1691
1551
|
return e.map((a) => {
|
|
1692
1552
|
t += 1;
|
|
1693
1553
|
const s = t;
|
|
1694
|
-
let c = M0(a),
|
|
1554
|
+
let c = M0(a), o = "";
|
|
1695
1555
|
for (; c.length > 0; ) {
|
|
1696
1556
|
const i = _n.exec(c);
|
|
1697
1557
|
if (!i) {
|
|
1698
|
-
|
|
1558
|
+
o += c;
|
|
1699
1559
|
break;
|
|
1700
1560
|
}
|
|
1701
|
-
|
|
1561
|
+
o += c.substring(0, i.index), c = c.substring(i.index + i[0].length), i[0][0] === "\\" && i[1] ? o += "\\" + String(Number(i[1]) + s) : (o += i[0], i[0] === "(" && t++);
|
|
1702
1562
|
}
|
|
1703
|
-
return
|
|
1563
|
+
return o;
|
|
1704
1564
|
}).map((a) => `(${a})`).join(n);
|
|
1705
1565
|
}
|
|
1706
|
-
const Sn = /\b\B/,
|
|
1566
|
+
const Sn = /\b\B/, De = "[a-zA-Z]\\w*", ee = "[a-zA-Z_]\\w*", ne = "\\b\\d+(\\.\\d+)?", Be = "(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)", Pe = "\\b(0b[01]+)", On = "!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~", An = (e = {}) => {
|
|
1707
1567
|
const n = /^#![ ]*\//;
|
|
1708
1568
|
return e.binary && (e.begin = En(
|
|
1709
1569
|
n,
|
|
1710
1570
|
/.*\b/,
|
|
1711
1571
|
e.binary,
|
|
1712
1572
|
/\b.*/
|
|
1713
|
-
)),
|
|
1573
|
+
)), m0({
|
|
1714
1574
|
className: "meta",
|
|
1715
1575
|
begin: n,
|
|
1716
1576
|
end: /$/,
|
|
@@ -1735,10 +1595,10 @@ const Sn = /\b\B/, Be = "[a-zA-Z]\\w*", ee = "[a-zA-Z_]\\w*", ne = "\\b\\d+(\\.\
|
|
|
1735
1595
|
end: '"',
|
|
1736
1596
|
illegal: "\\n",
|
|
1737
1597
|
contains: [R0]
|
|
1738
|
-
},
|
|
1598
|
+
}, $e = {
|
|
1739
1599
|
begin: /\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\b/
|
|
1740
|
-
},
|
|
1741
|
-
const a =
|
|
1600
|
+
}, P0 = function(e, n, t = {}) {
|
|
1601
|
+
const a = m0(
|
|
1742
1602
|
{
|
|
1743
1603
|
className: "comment",
|
|
1744
1604
|
begin: e,
|
|
@@ -1747,22 +1607,22 @@ const Sn = /\b\B/, Be = "[a-zA-Z]\\w*", ee = "[a-zA-Z_]\\w*", ne = "\\b\\d+(\\.\
|
|
|
1747
1607
|
},
|
|
1748
1608
|
t
|
|
1749
1609
|
);
|
|
1750
|
-
return a.contains.push(
|
|
1610
|
+
return a.contains.push($e), a.contains.push({
|
|
1751
1611
|
className: "doctag",
|
|
1752
1612
|
begin: "(?:TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):",
|
|
1753
1613
|
relevance: 0
|
|
1754
1614
|
}), a;
|
|
1755
|
-
}, Tn =
|
|
1615
|
+
}, Tn = P0("//", "$"), In = P0("/\\*", "\\*/"), Ln = P0("#", "$"), kn = {
|
|
1756
1616
|
className: "number",
|
|
1757
1617
|
begin: ne,
|
|
1758
1618
|
relevance: 0
|
|
1759
1619
|
}, Cn = {
|
|
1760
1620
|
className: "number",
|
|
1761
|
-
begin:
|
|
1621
|
+
begin: Be,
|
|
1762
1622
|
relevance: 0
|
|
1763
1623
|
}, Dn = {
|
|
1764
1624
|
className: "number",
|
|
1765
|
-
begin:
|
|
1625
|
+
begin: Pe,
|
|
1766
1626
|
relevance: 0
|
|
1767
1627
|
}, Bn = {
|
|
1768
1628
|
className: "number",
|
|
@@ -1793,7 +1653,7 @@ const Sn = /\b\B/, Be = "[a-zA-Z]\\w*", ee = "[a-zA-Z_]\\w*", ne = "\\b\\d+(\\.\
|
|
|
1793
1653
|
}]
|
|
1794
1654
|
}, $n = {
|
|
1795
1655
|
className: "title",
|
|
1796
|
-
begin:
|
|
1656
|
+
begin: De,
|
|
1797
1657
|
relevance: 0
|
|
1798
1658
|
}, Un = {
|
|
1799
1659
|
className: "title",
|
|
@@ -1821,18 +1681,18 @@ const Sn = /\b\B/, Be = "[a-zA-Z]\\w*", ee = "[a-zA-Z_]\\w*", ne = "\\b\\d+(\\.\
|
|
|
1821
1681
|
var k0 = /* @__PURE__ */ Object.freeze({
|
|
1822
1682
|
__proto__: null,
|
|
1823
1683
|
MATCH_NOTHING_RE: Sn,
|
|
1824
|
-
IDENT_RE:
|
|
1684
|
+
IDENT_RE: De,
|
|
1825
1685
|
UNDERSCORE_IDENT_RE: ee,
|
|
1826
1686
|
NUMBER_RE: ne,
|
|
1827
|
-
C_NUMBER_RE:
|
|
1828
|
-
BINARY_NUMBER_RE:
|
|
1687
|
+
C_NUMBER_RE: Be,
|
|
1688
|
+
BINARY_NUMBER_RE: Pe,
|
|
1829
1689
|
RE_STARTERS_RE: On,
|
|
1830
1690
|
SHEBANG: An,
|
|
1831
1691
|
BACKSLASH_ESCAPE: R0,
|
|
1832
1692
|
APOS_STRING_MODE: Mn,
|
|
1833
1693
|
QUOTE_STRING_MODE: Rn,
|
|
1834
|
-
PHRASAL_WORDS_MODE:
|
|
1835
|
-
COMMENT:
|
|
1694
|
+
PHRASAL_WORDS_MODE: $e,
|
|
1695
|
+
COMMENT: P0,
|
|
1836
1696
|
C_LINE_COMMENT_MODE: Tn,
|
|
1837
1697
|
C_BLOCK_COMMENT_MODE: In,
|
|
1838
1698
|
HASH_COMMENT_MODE: Ln,
|
|
@@ -1862,10 +1722,10 @@ function Vn(e, n) {
|
|
|
1862
1722
|
e.begin = e.match, delete e.match;
|
|
1863
1723
|
}
|
|
1864
1724
|
}
|
|
1865
|
-
function
|
|
1725
|
+
function Fn(e, n) {
|
|
1866
1726
|
e.relevance === void 0 && (e.relevance = 1);
|
|
1867
1727
|
}
|
|
1868
|
-
const
|
|
1728
|
+
const Wn = [
|
|
1869
1729
|
"of",
|
|
1870
1730
|
"and",
|
|
1871
1731
|
"for",
|
|
@@ -1881,18 +1741,18 @@ const Fn = [
|
|
|
1881
1741
|
"value"
|
|
1882
1742
|
// common variable name
|
|
1883
1743
|
], Kn = "keyword";
|
|
1884
|
-
function
|
|
1744
|
+
function Ue(e, n, t = Kn) {
|
|
1885
1745
|
const a = {};
|
|
1886
1746
|
return typeof e == "string" ? s(t, e.split(" ")) : Array.isArray(e) ? s(t, e) : Object.keys(e).forEach(function(c) {
|
|
1887
1747
|
Object.assign(
|
|
1888
1748
|
a,
|
|
1889
|
-
|
|
1749
|
+
Ue(e[c], n, c)
|
|
1890
1750
|
);
|
|
1891
1751
|
}), a;
|
|
1892
|
-
function s(c,
|
|
1893
|
-
n && (
|
|
1894
|
-
const
|
|
1895
|
-
a[
|
|
1752
|
+
function s(c, o) {
|
|
1753
|
+
n && (o = o.map((i) => i.toLowerCase())), o.forEach(function(i) {
|
|
1754
|
+
const r = i.split("|");
|
|
1755
|
+
a[r[0]] = [c, Yn(r[0], r[1])];
|
|
1896
1756
|
});
|
|
1897
1757
|
}
|
|
1898
1758
|
}
|
|
@@ -1900,13 +1760,13 @@ function Yn(e, n) {
|
|
|
1900
1760
|
return n ? Number(n) : Xn(e) ? 0 : 1;
|
|
1901
1761
|
}
|
|
1902
1762
|
function Xn(e) {
|
|
1903
|
-
return
|
|
1763
|
+
return Wn.includes(e.toLowerCase());
|
|
1904
1764
|
}
|
|
1905
1765
|
function qn(e, { plugins: n }) {
|
|
1906
|
-
function t(i,
|
|
1766
|
+
function t(i, r) {
|
|
1907
1767
|
return new RegExp(
|
|
1908
1768
|
M0(i),
|
|
1909
|
-
"m" + (e.case_insensitive ? "i" : "") + (
|
|
1769
|
+
"m" + (e.case_insensitive ? "i" : "") + (r ? "g" : "")
|
|
1910
1770
|
);
|
|
1911
1771
|
}
|
|
1912
1772
|
class a {
|
|
@@ -1914,22 +1774,22 @@ function qn(e, { plugins: n }) {
|
|
|
1914
1774
|
this.matchIndexes = {}, this.regexes = [], this.matchAt = 1, this.position = 0;
|
|
1915
1775
|
}
|
|
1916
1776
|
// @ts-ignore
|
|
1917
|
-
addRule(
|
|
1918
|
-
g.position = this.position++, this.matchIndexes[this.matchAt] = g, this.regexes.push([g,
|
|
1777
|
+
addRule(r, g) {
|
|
1778
|
+
g.position = this.position++, this.matchIndexes[this.matchAt] = g, this.regexes.push([g, r]), this.matchAt += Nn(r) + 1;
|
|
1919
1779
|
}
|
|
1920
1780
|
compile() {
|
|
1921
1781
|
this.regexes.length === 0 && (this.exec = () => null);
|
|
1922
|
-
const
|
|
1923
|
-
this.matcherRe = t(wn(
|
|
1782
|
+
const r = this.regexes.map((g) => g[1]);
|
|
1783
|
+
this.matcherRe = t(wn(r), !0), this.lastIndex = 0;
|
|
1924
1784
|
}
|
|
1925
1785
|
/** @param {string} s */
|
|
1926
|
-
exec(
|
|
1786
|
+
exec(r) {
|
|
1927
1787
|
this.matcherRe.lastIndex = this.lastIndex;
|
|
1928
|
-
const g = this.matcherRe.exec(
|
|
1788
|
+
const g = this.matcherRe.exec(r);
|
|
1929
1789
|
if (!g)
|
|
1930
1790
|
return null;
|
|
1931
|
-
const
|
|
1932
|
-
return g.splice(0,
|
|
1791
|
+
const l = g.findIndex((b, v) => v > 0 && b !== void 0), d = this.matchIndexes[l];
|
|
1792
|
+
return g.splice(0, l), Object.assign(g, d);
|
|
1933
1793
|
}
|
|
1934
1794
|
}
|
|
1935
1795
|
class s {
|
|
@@ -1937,11 +1797,11 @@ function qn(e, { plugins: n }) {
|
|
|
1937
1797
|
this.rules = [], this.multiRegexes = [], this.count = 0, this.lastIndex = 0, this.regexIndex = 0;
|
|
1938
1798
|
}
|
|
1939
1799
|
// @ts-ignore
|
|
1940
|
-
getMatcher(
|
|
1941
|
-
if (this.multiRegexes[
|
|
1942
|
-
return this.multiRegexes[
|
|
1800
|
+
getMatcher(r) {
|
|
1801
|
+
if (this.multiRegexes[r])
|
|
1802
|
+
return this.multiRegexes[r];
|
|
1943
1803
|
const g = new a();
|
|
1944
|
-
return this.rules.slice(
|
|
1804
|
+
return this.rules.slice(r).forEach(([l, d]) => g.addRule(l, d)), g.compile(), this.multiRegexes[r] = g, g;
|
|
1945
1805
|
}
|
|
1946
1806
|
resumingScanAtSamePosition() {
|
|
1947
1807
|
return this.regexIndex !== 0;
|
|
@@ -1950,26 +1810,26 @@ function qn(e, { plugins: n }) {
|
|
|
1950
1810
|
this.regexIndex = 0;
|
|
1951
1811
|
}
|
|
1952
1812
|
// @ts-ignore
|
|
1953
|
-
addRule(
|
|
1954
|
-
this.rules.push([
|
|
1813
|
+
addRule(r, g) {
|
|
1814
|
+
this.rules.push([r, g]), g.type === "begin" && this.count++;
|
|
1955
1815
|
}
|
|
1956
1816
|
/** @param {string} s */
|
|
1957
|
-
exec(
|
|
1817
|
+
exec(r) {
|
|
1958
1818
|
const g = this.getMatcher(this.regexIndex);
|
|
1959
1819
|
g.lastIndex = this.lastIndex;
|
|
1960
|
-
let
|
|
1961
|
-
if (this.resumingScanAtSamePosition() && !(
|
|
1820
|
+
let l = g.exec(r);
|
|
1821
|
+
if (this.resumingScanAtSamePosition() && !(l && l.index === this.lastIndex)) {
|
|
1962
1822
|
const d = this.getMatcher(0);
|
|
1963
|
-
d.lastIndex = this.lastIndex + 1,
|
|
1823
|
+
d.lastIndex = this.lastIndex + 1, l = d.exec(r);
|
|
1964
1824
|
}
|
|
1965
|
-
return
|
|
1825
|
+
return l && (this.regexIndex += l.position + 1, this.regexIndex === this.count && this.considerAll()), l;
|
|
1966
1826
|
}
|
|
1967
1827
|
}
|
|
1968
1828
|
function c(i) {
|
|
1969
|
-
const
|
|
1970
|
-
return i.contains.forEach((g) =>
|
|
1829
|
+
const r = new s();
|
|
1830
|
+
return i.contains.forEach((g) => r.addRule(g.begin, { rule: g, type: "begin" })), i.terminatorEnd && r.addRule(i.terminatorEnd, { type: "end" }), i.illegal && r.addRule(i.illegal, { type: "illegal" }), r;
|
|
1971
1831
|
}
|
|
1972
|
-
function
|
|
1832
|
+
function o(i, r) {
|
|
1973
1833
|
const g = (
|
|
1974
1834
|
/** @type CompiledMode */
|
|
1975
1835
|
i
|
|
@@ -1980,44 +1840,44 @@ function qn(e, { plugins: n }) {
|
|
|
1980
1840
|
// do this early so compiler extensions generally don't have to worry about
|
|
1981
1841
|
// the distinction between match/begin
|
|
1982
1842
|
Vn
|
|
1983
|
-
].forEach((d) => d(i,
|
|
1843
|
+
].forEach((d) => d(i, r)), e.compilerExtensions.forEach((d) => d(i, r)), i.__beforeBegin = null, [
|
|
1984
1844
|
Gn,
|
|
1985
1845
|
// do this later so compiler extensions that come earlier have access to the
|
|
1986
1846
|
// raw array if they wanted to perhaps manipulate it, etc.
|
|
1987
1847
|
Zn,
|
|
1988
1848
|
// default to 1 relevance if not specified
|
|
1989
|
-
|
|
1990
|
-
].forEach((d) => d(i,
|
|
1991
|
-
let
|
|
1992
|
-
if (typeof i.keywords == "object" && (
|
|
1849
|
+
Fn
|
|
1850
|
+
].forEach((d) => d(i, r)), i.isCompiled = !0;
|
|
1851
|
+
let l = null;
|
|
1852
|
+
if (typeof i.keywords == "object" && (l = i.keywords.$pattern, delete i.keywords.$pattern), i.keywords && (i.keywords = Ue(i.keywords, e.case_insensitive)), i.lexemes && l)
|
|
1993
1853
|
throw new Error("ERR: Prefer `keywords.$pattern` to `mode.lexemes`, BOTH are not allowed. (see mode reference) ");
|
|
1994
|
-
return
|
|
1854
|
+
return l = l || i.lexemes || /\w+/, g.keywordPatternRe = t(l, !0), r && (i.begin || (i.begin = /\B|\b/), g.beginRe = t(i.begin), i.endSameAsBegin && (i.end = i.begin), !i.end && !i.endsWithParent && (i.end = /\B|\b/), i.end && (g.endRe = t(i.end)), g.terminatorEnd = M0(i.end) || "", i.endsWithParent && r.terminatorEnd && (g.terminatorEnd += (i.end ? "|" : "") + r.terminatorEnd)), i.illegal && (g.illegalRe = t(
|
|
1995
1855
|
/** @type {RegExp | string} */
|
|
1996
1856
|
i.illegal
|
|
1997
1857
|
)), i.contains || (i.contains = []), i.contains = [].concat(...i.contains.map(function(d) {
|
|
1998
1858
|
return Qn(d === "self" ? i : d);
|
|
1999
1859
|
})), i.contains.forEach(function(d) {
|
|
2000
|
-
|
|
1860
|
+
o(
|
|
2001
1861
|
/** @type Mode */
|
|
2002
1862
|
d,
|
|
2003
1863
|
g
|
|
2004
1864
|
);
|
|
2005
|
-
}), i.starts &&
|
|
1865
|
+
}), i.starts && o(i.starts, r), g.matcher = c(g), g;
|
|
2006
1866
|
}
|
|
2007
1867
|
if (e.compilerExtensions || (e.compilerExtensions = []), e.contains && e.contains.includes("self"))
|
|
2008
1868
|
throw new Error("ERR: contains `self` is not supported at the top-level of a language. See documentation.");
|
|
2009
|
-
return e.classNameAliases =
|
|
1869
|
+
return e.classNameAliases = m0(e.classNameAliases || {}), o(
|
|
2010
1870
|
/** @type Mode */
|
|
2011
1871
|
e
|
|
2012
1872
|
);
|
|
2013
1873
|
}
|
|
2014
|
-
function
|
|
2015
|
-
return e ? e.endsWithParent ||
|
|
1874
|
+
function He(e) {
|
|
1875
|
+
return e ? e.endsWithParent || He(e.starts) : !1;
|
|
2016
1876
|
}
|
|
2017
1877
|
function Qn(e) {
|
|
2018
1878
|
return e.variants && !e.cachedVariants && (e.cachedVariants = e.variants.map(function(n) {
|
|
2019
|
-
return
|
|
2020
|
-
})), e.cachedVariants ? e.cachedVariants :
|
|
1879
|
+
return m0(e, { variants: null }, n);
|
|
1880
|
+
})), e.cachedVariants ? e.cachedVariants : He(e) ? m0(e, { starts: e.starts ? m0(e.starts) : null }) : Object.isFrozen(e) ? m0(e) : e;
|
|
2021
1881
|
}
|
|
2022
1882
|
var Jn = "10.7.3";
|
|
2023
1883
|
function et(e) {
|
|
@@ -2076,7 +1936,7 @@ const tt = {
|
|
|
2076
1936
|
s.innerHTML = n.value, n.value = at(a, ge(s), t);
|
|
2077
1937
|
}
|
|
2078
1938
|
};
|
|
2079
|
-
function
|
|
1939
|
+
function W0(e) {
|
|
2080
1940
|
return e.nodeName.toLowerCase();
|
|
2081
1941
|
}
|
|
2082
1942
|
function ge(e) {
|
|
@@ -2087,7 +1947,7 @@ function ge(e) {
|
|
|
2087
1947
|
event: "start",
|
|
2088
1948
|
offset: s,
|
|
2089
1949
|
node: c
|
|
2090
|
-
}), s = t(c, s),
|
|
1950
|
+
}), s = t(c, s), W0(c).match(/br|hr|img|input/) || n.push({
|
|
2091
1951
|
event: "stop",
|
|
2092
1952
|
offset: s,
|
|
2093
1953
|
node: c
|
|
@@ -2098,45 +1958,45 @@ function ge(e) {
|
|
|
2098
1958
|
function at(e, n, t) {
|
|
2099
1959
|
let a = 0, s = "";
|
|
2100
1960
|
const c = [];
|
|
2101
|
-
function
|
|
1961
|
+
function o() {
|
|
2102
1962
|
return !e.length || !n.length ? e.length ? e : n : e[0].offset !== n[0].offset ? e[0].offset < n[0].offset ? e : n : n[0].event === "start" ? e : n;
|
|
2103
1963
|
}
|
|
2104
|
-
function i(
|
|
1964
|
+
function i(l) {
|
|
2105
1965
|
function d(b) {
|
|
2106
1966
|
return " " + b.nodeName + '="' + S0(b.value) + '"';
|
|
2107
1967
|
}
|
|
2108
|
-
s += "<" +
|
|
1968
|
+
s += "<" + W0(l) + [].map.call(l.attributes, d).join("") + ">";
|
|
2109
1969
|
}
|
|
2110
|
-
function
|
|
2111
|
-
s += "</" +
|
|
1970
|
+
function r(l) {
|
|
1971
|
+
s += "</" + W0(l) + ">";
|
|
2112
1972
|
}
|
|
2113
|
-
function g(
|
|
2114
|
-
(
|
|
1973
|
+
function g(l) {
|
|
1974
|
+
(l.event === "start" ? i : r)(l.node);
|
|
2115
1975
|
}
|
|
2116
1976
|
for (; e.length || n.length; ) {
|
|
2117
|
-
let
|
|
2118
|
-
if (s += S0(t.substring(a,
|
|
2119
|
-
c.reverse().forEach(
|
|
1977
|
+
let l = o();
|
|
1978
|
+
if (s += S0(t.substring(a, l[0].offset)), a = l[0].offset, l === e) {
|
|
1979
|
+
c.reverse().forEach(r);
|
|
2120
1980
|
do
|
|
2121
|
-
g(
|
|
2122
|
-
while (
|
|
1981
|
+
g(l.splice(0, 1)[0]), l = o();
|
|
1982
|
+
while (l === e && l.length && l[0].offset === a);
|
|
2123
1983
|
c.reverse().forEach(i);
|
|
2124
1984
|
} else
|
|
2125
|
-
|
|
1985
|
+
l[0].event === "start" ? c.push(l[0].node) : c.pop(), g(l.splice(0, 1)[0]);
|
|
2126
1986
|
}
|
|
2127
1987
|
return s + S0(t.substr(a));
|
|
2128
1988
|
}
|
|
2129
|
-
const de = {},
|
|
1989
|
+
const de = {}, z0 = (e) => {
|
|
2130
1990
|
console.error(e);
|
|
2131
1991
|
}, me = (e, ...n) => {
|
|
2132
1992
|
console.log(`WARN: ${e}`, ...n);
|
|
2133
|
-
},
|
|
1993
|
+
}, F = (e, n) => {
|
|
2134
1994
|
de[`${e}/${n}`] || (console.log(`Deprecated as of ${e}. ${n}`), de[`${e}/${n}`] = !0);
|
|
2135
|
-
},
|
|
1995
|
+
}, G0 = S0, fe = m0, pe = Symbol("nomatch"), ct = function(e) {
|
|
2136
1996
|
const n = /* @__PURE__ */ Object.create(null), t = /* @__PURE__ */ Object.create(null), a = [];
|
|
2137
1997
|
let s = !0;
|
|
2138
|
-
const c = /(^(<[^>]+>|\t|)+|\n)/gm,
|
|
2139
|
-
let
|
|
1998
|
+
const c = /(^(<[^>]+>|\t|)+|\n)/gm, o = "Could not find the language '{}', did you forget to load/include a language module?", i = { disableAutodetect: !0, name: "Plain text", contains: [] };
|
|
1999
|
+
let r = {
|
|
2140
2000
|
noHighlightRe: /^(no-?highlight)$/i,
|
|
2141
2001
|
languageDetectRe: /\blang(?:uage)?-([\w-]+)\b/i,
|
|
2142
2002
|
classPrefix: "hljs-",
|
|
@@ -2148,238 +2008,238 @@ const de = {}, G0 = (e) => {
|
|
|
2148
2008
|
__emitter: bn
|
|
2149
2009
|
};
|
|
2150
2010
|
function g(u) {
|
|
2151
|
-
return
|
|
2011
|
+
return r.noHighlightRe.test(u);
|
|
2152
2012
|
}
|
|
2153
|
-
function
|
|
2013
|
+
function l(u) {
|
|
2154
2014
|
let f = u.className + " ";
|
|
2155
2015
|
f += u.parentNode ? u.parentNode.className : "";
|
|
2156
|
-
const E =
|
|
2016
|
+
const E = r.languageDetectRe.exec(f);
|
|
2157
2017
|
if (E) {
|
|
2158
2018
|
const O = G(E[1]);
|
|
2159
|
-
return O || (me(
|
|
2019
|
+
return O || (me(o.replace("{}", E[1])), me("Falling back to no-highlight mode for this block.", u)), O ? E[1] : "no-highlight";
|
|
2160
2020
|
}
|
|
2161
2021
|
return f.split(/\s+/).find((O) => g(O) || G(O));
|
|
2162
2022
|
}
|
|
2163
2023
|
function d(u, f, E, O) {
|
|
2164
2024
|
let C = "", i0 = "";
|
|
2165
|
-
typeof f == "object" ? (C = u, E = f.ignoreIllegals, i0 = f.language, O = void 0) : (
|
|
2025
|
+
typeof f == "object" ? (C = u, E = f.ignoreIllegals, i0 = f.language, O = void 0) : (F("10.7.0", "highlight(lang, code, ...args) has been deprecated."), F("10.7.0", `Please use highlight(code, options) instead.
|
|
2166
2026
|
https://github.com/highlightjs/highlight.js/issues/2277`), i0 = u, C = f);
|
|
2167
|
-
const
|
|
2027
|
+
const e0 = {
|
|
2168
2028
|
code: C,
|
|
2169
2029
|
language: i0
|
|
2170
2030
|
};
|
|
2171
|
-
|
|
2172
|
-
const
|
|
2173
|
-
return
|
|
2031
|
+
X("before:highlight", e0);
|
|
2032
|
+
const n0 = e0.result ? e0.result : b(e0.language, e0.code, E, O);
|
|
2033
|
+
return n0.code = e0.code, X("after:highlight", n0), n0;
|
|
2174
2034
|
}
|
|
2175
2035
|
function b(u, f, E, O) {
|
|
2176
|
-
function C(
|
|
2177
|
-
const N = x0.case_insensitive ?
|
|
2178
|
-
return Object.prototype.hasOwnProperty.call(
|
|
2036
|
+
function C(p, h) {
|
|
2037
|
+
const N = x0.case_insensitive ? h[0].toLowerCase() : h[0];
|
|
2038
|
+
return Object.prototype.hasOwnProperty.call(p.keywords, N) && p.keywords[N];
|
|
2179
2039
|
}
|
|
2180
2040
|
function i0() {
|
|
2181
2041
|
if (!y.keywords) {
|
|
2182
2042
|
j.addText(D);
|
|
2183
2043
|
return;
|
|
2184
2044
|
}
|
|
2185
|
-
let
|
|
2045
|
+
let p = 0;
|
|
2186
2046
|
y.keywordPatternRe.lastIndex = 0;
|
|
2187
|
-
let
|
|
2188
|
-
for (;
|
|
2189
|
-
N += D.substring(
|
|
2190
|
-
const I = C(y,
|
|
2047
|
+
let h = y.keywordPatternRe.exec(D), N = "";
|
|
2048
|
+
for (; h; ) {
|
|
2049
|
+
N += D.substring(p, h.index);
|
|
2050
|
+
const I = C(y, h);
|
|
2191
2051
|
if (I) {
|
|
2192
2052
|
const [Z, L0] = I;
|
|
2193
2053
|
if (j.addText(N), N = "", I0 += L0, Z.startsWith("_"))
|
|
2194
|
-
N +=
|
|
2054
|
+
N += h[0];
|
|
2195
2055
|
else {
|
|
2196
|
-
const
|
|
2197
|
-
j.addKeyword(
|
|
2056
|
+
const o1 = x0.classNameAliases[Z] || Z;
|
|
2057
|
+
j.addKeyword(h[0], o1);
|
|
2198
2058
|
}
|
|
2199
2059
|
} else
|
|
2200
|
-
N +=
|
|
2201
|
-
|
|
2060
|
+
N += h[0];
|
|
2061
|
+
p = y.keywordPatternRe.lastIndex, h = y.keywordPatternRe.exec(D);
|
|
2202
2062
|
}
|
|
2203
|
-
N += D.substr(
|
|
2063
|
+
N += D.substr(p), j.addText(N);
|
|
2204
2064
|
}
|
|
2205
|
-
function
|
|
2065
|
+
function e0() {
|
|
2206
2066
|
if (D === "")
|
|
2207
2067
|
return;
|
|
2208
|
-
let
|
|
2068
|
+
let p = null;
|
|
2209
2069
|
if (typeof y.subLanguage == "string") {
|
|
2210
2070
|
if (!n[y.subLanguage]) {
|
|
2211
2071
|
j.addText(D);
|
|
2212
2072
|
return;
|
|
2213
2073
|
}
|
|
2214
|
-
|
|
2215
|
-
|
|
2074
|
+
p = b(y.subLanguage, D, !0, ae[y.subLanguage]), ae[y.subLanguage] = /** @type {CompiledMode} */
|
|
2075
|
+
p.top;
|
|
2216
2076
|
} else
|
|
2217
|
-
|
|
2218
|
-
y.relevance > 0 && (I0 +=
|
|
2077
|
+
p = L(D, y.subLanguage.length ? y.subLanguage : null);
|
|
2078
|
+
y.relevance > 0 && (I0 += p.relevance), j.addSublanguage(p.emitter, p.language);
|
|
2219
2079
|
}
|
|
2220
|
-
function
|
|
2221
|
-
y.subLanguage != null ?
|
|
2080
|
+
function n0() {
|
|
2081
|
+
y.subLanguage != null ? e0() : i0(), D = "";
|
|
2222
2082
|
}
|
|
2223
|
-
function
|
|
2224
|
-
return
|
|
2083
|
+
function t0(p) {
|
|
2084
|
+
return p.className && j.openNode(x0.classNameAliases[p.className] || p.className), y = Object.create(p, { parent: { value: y } }), y;
|
|
2225
2085
|
}
|
|
2226
|
-
function
|
|
2227
|
-
let I = xn(
|
|
2086
|
+
function g0(p, h, N) {
|
|
2087
|
+
let I = xn(p.endRe, N);
|
|
2228
2088
|
if (I) {
|
|
2229
|
-
if (
|
|
2230
|
-
const Z = new le(
|
|
2231
|
-
|
|
2089
|
+
if (p["on:end"]) {
|
|
2090
|
+
const Z = new le(p);
|
|
2091
|
+
p["on:end"](h, Z), Z.isMatchIgnored && (I = !1);
|
|
2232
2092
|
}
|
|
2233
2093
|
if (I) {
|
|
2234
|
-
for (;
|
|
2235
|
-
|
|
2236
|
-
return
|
|
2094
|
+
for (; p.endsParent && p.parent; )
|
|
2095
|
+
p = p.parent;
|
|
2096
|
+
return p;
|
|
2237
2097
|
}
|
|
2238
2098
|
}
|
|
2239
|
-
if (
|
|
2240
|
-
return
|
|
2099
|
+
if (p.endsWithParent)
|
|
2100
|
+
return g0(p.parent, h, N);
|
|
2241
2101
|
}
|
|
2242
|
-
function
|
|
2243
|
-
return y.matcher.regexIndex === 0 ? (D +=
|
|
2102
|
+
function a1(p) {
|
|
2103
|
+
return y.matcher.regexIndex === 0 ? (D += p[0], 1) : (H0 = !0, 0);
|
|
2244
2104
|
}
|
|
2245
|
-
function
|
|
2246
|
-
const
|
|
2105
|
+
function c1(p) {
|
|
2106
|
+
const h = p[0], N = p.rule, I = new le(N), Z = [N.__beforeBegin, N["on:begin"]];
|
|
2247
2107
|
for (const L0 of Z)
|
|
2248
|
-
if (L0 && (L0(
|
|
2249
|
-
return
|
|
2250
|
-
return N && N.endSameAsBegin && (N.endRe = vn(
|
|
2108
|
+
if (L0 && (L0(p, I), I.isMatchIgnored))
|
|
2109
|
+
return a1(h);
|
|
2110
|
+
return N && N.endSameAsBegin && (N.endRe = vn(h)), N.skip ? D += h : (N.excludeBegin && (D += h), n0(), !N.returnBegin && !N.excludeBegin && (D = h)), t0(N), N.returnBegin ? 0 : h.length;
|
|
2251
2111
|
}
|
|
2252
|
-
function
|
|
2253
|
-
const
|
|
2112
|
+
function s1(p) {
|
|
2113
|
+
const h = p[0], N = f.substr(p.index), I = g0(y, p, N);
|
|
2254
2114
|
if (!I)
|
|
2255
|
-
return
|
|
2115
|
+
return pe;
|
|
2256
2116
|
const Z = y;
|
|
2257
|
-
Z.skip ? D +=
|
|
2117
|
+
Z.skip ? D += h : (Z.returnEnd || Z.excludeEnd || (D += h), n0(), Z.excludeEnd && (D = h));
|
|
2258
2118
|
do
|
|
2259
2119
|
y.className && j.closeNode(), !y.skip && !y.subLanguage && (I0 += y.relevance), y = y.parent;
|
|
2260
2120
|
while (y !== I.parent);
|
|
2261
|
-
return I.starts && (I.endSameAsBegin && (I.starts.endRe = I.endRe),
|
|
2121
|
+
return I.starts && (I.endSameAsBegin && (I.starts.endRe = I.endRe), t0(I.starts)), Z.returnEnd ? 0 : h.length;
|
|
2262
2122
|
}
|
|
2263
|
-
function
|
|
2264
|
-
const
|
|
2265
|
-
for (let
|
|
2266
|
-
|
|
2267
|
-
|
|
2123
|
+
function i1() {
|
|
2124
|
+
const p = [];
|
|
2125
|
+
for (let h = y; h !== x0; h = h.parent)
|
|
2126
|
+
h.className && p.unshift(h.className);
|
|
2127
|
+
p.forEach((h) => j.openNode(h));
|
|
2268
2128
|
}
|
|
2269
2129
|
let T0 = {};
|
|
2270
|
-
function te(
|
|
2271
|
-
const N =
|
|
2272
|
-
if (D +=
|
|
2273
|
-
return
|
|
2274
|
-
if (T0.type === "begin" &&
|
|
2275
|
-
if (D += f.slice(
|
|
2130
|
+
function te(p, h) {
|
|
2131
|
+
const N = h && h[0];
|
|
2132
|
+
if (D += p, N == null)
|
|
2133
|
+
return n0(), 0;
|
|
2134
|
+
if (T0.type === "begin" && h.type === "end" && T0.index === h.index && N === "") {
|
|
2135
|
+
if (D += f.slice(h.index, h.index + 1), !s) {
|
|
2276
2136
|
const I = new Error("0 width match regex");
|
|
2277
2137
|
throw I.languageName = u, I.badRule = T0.rule, I;
|
|
2278
2138
|
}
|
|
2279
2139
|
return 1;
|
|
2280
2140
|
}
|
|
2281
|
-
if (T0 =
|
|
2282
|
-
return
|
|
2283
|
-
if (
|
|
2141
|
+
if (T0 = h, h.type === "begin")
|
|
2142
|
+
return c1(h);
|
|
2143
|
+
if (h.type === "illegal" && !E) {
|
|
2284
2144
|
const I = new Error('Illegal lexeme "' + N + '" for mode "' + (y.className || "<unnamed>") + '"');
|
|
2285
2145
|
throw I.mode = y, I;
|
|
2286
|
-
} else if (
|
|
2287
|
-
const I =
|
|
2288
|
-
if (I !==
|
|
2146
|
+
} else if (h.type === "end") {
|
|
2147
|
+
const I = s1(h);
|
|
2148
|
+
if (I !== pe)
|
|
2289
2149
|
return I;
|
|
2290
2150
|
}
|
|
2291
|
-
if (
|
|
2151
|
+
if (h.type === "illegal" && N === "")
|
|
2292
2152
|
return 1;
|
|
2293
|
-
if (
|
|
2153
|
+
if (U0 > 1e5 && U0 > h.index * 3)
|
|
2294
2154
|
throw new Error("potential infinite loop, way more iterations than matches");
|
|
2295
2155
|
return D += N, N.length;
|
|
2296
2156
|
}
|
|
2297
2157
|
const x0 = G(u);
|
|
2298
2158
|
if (!x0)
|
|
2299
|
-
throw
|
|
2159
|
+
throw z0(o.replace("{}", u)), new Error('Unknown language: "' + u + '"');
|
|
2300
2160
|
const r1 = qn(x0, { plugins: a });
|
|
2301
|
-
let
|
|
2302
|
-
const ae = {}, j = new
|
|
2303
|
-
|
|
2304
|
-
let D = "", I0 = 0, _0 = 0,
|
|
2161
|
+
let $0 = "", y = O || r1;
|
|
2162
|
+
const ae = {}, j = new r.__emitter(r);
|
|
2163
|
+
i1();
|
|
2164
|
+
let D = "", I0 = 0, _0 = 0, U0 = 0, H0 = !1;
|
|
2305
2165
|
try {
|
|
2306
2166
|
for (y.matcher.considerAll(); ; ) {
|
|
2307
|
-
|
|
2308
|
-
const
|
|
2309
|
-
if (!
|
|
2167
|
+
U0++, H0 ? H0 = !1 : y.matcher.considerAll(), y.matcher.lastIndex = _0;
|
|
2168
|
+
const p = y.matcher.exec(f);
|
|
2169
|
+
if (!p)
|
|
2310
2170
|
break;
|
|
2311
|
-
const
|
|
2312
|
-
_0 =
|
|
2171
|
+
const h = f.substring(_0, p.index), N = te(h, p);
|
|
2172
|
+
_0 = p.index + N;
|
|
2313
2173
|
}
|
|
2314
|
-
return te(f.substr(_0)), j.closeAllNodes(), j.finalize(),
|
|
2174
|
+
return te(f.substr(_0)), j.closeAllNodes(), j.finalize(), $0 = j.toHTML(), {
|
|
2315
2175
|
// avoid possible breakage with v10 clients expecting
|
|
2316
2176
|
// this to always be an integer
|
|
2317
2177
|
relevance: Math.floor(I0),
|
|
2318
|
-
value:
|
|
2178
|
+
value: $0,
|
|
2319
2179
|
language: u,
|
|
2320
2180
|
illegal: !1,
|
|
2321
2181
|
emitter: j,
|
|
2322
2182
|
top: y
|
|
2323
2183
|
};
|
|
2324
|
-
} catch (
|
|
2325
|
-
if (
|
|
2184
|
+
} catch (p) {
|
|
2185
|
+
if (p.message && p.message.includes("Illegal"))
|
|
2326
2186
|
return {
|
|
2327
2187
|
illegal: !0,
|
|
2328
2188
|
illegalBy: {
|
|
2329
|
-
msg:
|
|
2189
|
+
msg: p.message,
|
|
2330
2190
|
context: f.slice(_0 - 100, _0 + 100),
|
|
2331
|
-
mode:
|
|
2191
|
+
mode: p.mode
|
|
2332
2192
|
},
|
|
2333
|
-
sofar:
|
|
2193
|
+
sofar: $0,
|
|
2334
2194
|
relevance: 0,
|
|
2335
|
-
value:
|
|
2195
|
+
value: G0(f),
|
|
2336
2196
|
emitter: j
|
|
2337
2197
|
};
|
|
2338
2198
|
if (s)
|
|
2339
2199
|
return {
|
|
2340
2200
|
illegal: !1,
|
|
2341
2201
|
relevance: 0,
|
|
2342
|
-
value:
|
|
2202
|
+
value: G0(f),
|
|
2343
2203
|
emitter: j,
|
|
2344
2204
|
language: u,
|
|
2345
2205
|
top: y,
|
|
2346
|
-
errorRaised:
|
|
2206
|
+
errorRaised: p
|
|
2347
2207
|
};
|
|
2348
|
-
throw
|
|
2208
|
+
throw p;
|
|
2349
2209
|
}
|
|
2350
2210
|
}
|
|
2351
2211
|
function v(u) {
|
|
2352
2212
|
const f = {
|
|
2353
2213
|
relevance: 0,
|
|
2354
|
-
emitter: new
|
|
2355
|
-
value:
|
|
2214
|
+
emitter: new r.__emitter(r),
|
|
2215
|
+
value: G0(u),
|
|
2356
2216
|
illegal: !1,
|
|
2357
2217
|
top: i
|
|
2358
2218
|
};
|
|
2359
2219
|
return f.emitter.addText(u), f;
|
|
2360
2220
|
}
|
|
2361
2221
|
function L(u, f) {
|
|
2362
|
-
f = f ||
|
|
2363
|
-
const E = v(u), O = f.filter(G).filter(
|
|
2364
|
-
(
|
|
2222
|
+
f = f || r.languages || Object.keys(n);
|
|
2223
|
+
const E = v(u), O = f.filter(G).filter(l0).map(
|
|
2224
|
+
(t0) => b(t0, u, !1)
|
|
2365
2225
|
);
|
|
2366
2226
|
O.unshift(E);
|
|
2367
|
-
const C = O.sort((
|
|
2368
|
-
if (
|
|
2369
|
-
return
|
|
2370
|
-
if (
|
|
2371
|
-
if (G(
|
|
2227
|
+
const C = O.sort((t0, g0) => {
|
|
2228
|
+
if (t0.relevance !== g0.relevance)
|
|
2229
|
+
return g0.relevance - t0.relevance;
|
|
2230
|
+
if (t0.language && g0.language) {
|
|
2231
|
+
if (G(t0.language).supersetOf === g0.language)
|
|
2372
2232
|
return 1;
|
|
2373
|
-
if (G(
|
|
2233
|
+
if (G(g0.language).supersetOf === t0.language)
|
|
2374
2234
|
return -1;
|
|
2375
2235
|
}
|
|
2376
2236
|
return 0;
|
|
2377
|
-
}), [i0,
|
|
2378
|
-
return
|
|
2237
|
+
}), [i0, e0] = C, n0 = i0;
|
|
2238
|
+
return n0.second_best = e0, n0;
|
|
2379
2239
|
}
|
|
2380
2240
|
function S(u) {
|
|
2381
|
-
return
|
|
2382
|
-
` ?
|
|
2241
|
+
return r.tabReplace || r.useBR ? u.replace(c, (f) => f === `
|
|
2242
|
+
` ? r.useBR ? "<br>" : f : r.tabReplace ? f.replace(/\t/g, r.tabReplace) : f) : u;
|
|
2383
2243
|
}
|
|
2384
2244
|
function A(u, f, E) {
|
|
2385
2245
|
const O = f ? t[f] : E;
|
|
@@ -2387,31 +2247,31 @@ https://github.com/highlightjs/highlight.js/issues/2277`), i0 = u, C = f);
|
|
|
2387
2247
|
}
|
|
2388
2248
|
const x = {
|
|
2389
2249
|
"before:highlightElement": ({ el: u }) => {
|
|
2390
|
-
|
|
2250
|
+
r.useBR && (u.innerHTML = u.innerHTML.replace(/\n/g, "").replace(/<br[ /]*>/g, `
|
|
2391
2251
|
`));
|
|
2392
2252
|
},
|
|
2393
2253
|
"after:highlightElement": ({ result: u }) => {
|
|
2394
|
-
|
|
2254
|
+
r.useBR && (u.value = u.value.replace(/\n/g, "<br>"));
|
|
2395
2255
|
}
|
|
2396
2256
|
}, w = /^(<[^>]+>|\t)+/gm, M = {
|
|
2397
2257
|
"after:highlightElement": ({ result: u }) => {
|
|
2398
|
-
|
|
2258
|
+
r.tabReplace && (u.value = u.value.replace(
|
|
2399
2259
|
w,
|
|
2400
|
-
(f) => f.replace(/\t/g,
|
|
2260
|
+
(f) => f.replace(/\t/g, r.tabReplace)
|
|
2401
2261
|
));
|
|
2402
2262
|
}
|
|
2403
2263
|
};
|
|
2404
2264
|
function R(u) {
|
|
2405
2265
|
let f = null;
|
|
2406
|
-
const E =
|
|
2266
|
+
const E = l(u);
|
|
2407
2267
|
if (g(E))
|
|
2408
2268
|
return;
|
|
2409
|
-
|
|
2269
|
+
X(
|
|
2410
2270
|
"before:highlightElement",
|
|
2411
2271
|
{ el: u, language: E }
|
|
2412
2272
|
), f = u;
|
|
2413
2273
|
const O = f.textContent, C = E ? d(O, { language: E, ignoreIllegals: !0 }) : L(O);
|
|
2414
|
-
|
|
2274
|
+
X("after:highlightElement", { el: u, result: C, text: O }), u.innerHTML = C.value, A(u, E, C.language), u.result = {
|
|
2415
2275
|
language: C.language,
|
|
2416
2276
|
// TODO: remove with version 11.0
|
|
2417
2277
|
re: C.relevance,
|
|
@@ -2424,51 +2284,51 @@ https://github.com/highlightjs/highlight.js/issues/2277`), i0 = u, C = f);
|
|
|
2424
2284
|
});
|
|
2425
2285
|
}
|
|
2426
2286
|
function k(u) {
|
|
2427
|
-
u.useBR && (
|
|
2287
|
+
u.useBR && (F("10.3.0", "'useBR' will be removed entirely in v11.0"), F("10.3.0", "Please see https://github.com/highlightjs/highlight.js/issues/2559")), r = fe(r, u);
|
|
2428
2288
|
}
|
|
2429
2289
|
const _ = () => {
|
|
2430
2290
|
if (_.called)
|
|
2431
2291
|
return;
|
|
2432
|
-
_.called = !0,
|
|
2292
|
+
_.called = !0, F("10.6.0", "initHighlighting() is deprecated. Use highlightAll() instead."), document.querySelectorAll("pre code").forEach(R);
|
|
2433
2293
|
};
|
|
2434
2294
|
function T() {
|
|
2435
|
-
|
|
2295
|
+
F("10.6.0", "initHighlightingOnLoad() is deprecated. Use highlightAll() instead."), $ = !0;
|
|
2436
2296
|
}
|
|
2437
|
-
let
|
|
2438
|
-
function
|
|
2297
|
+
let $ = !1;
|
|
2298
|
+
function Y() {
|
|
2439
2299
|
if (document.readyState === "loading") {
|
|
2440
|
-
|
|
2300
|
+
$ = !0;
|
|
2441
2301
|
return;
|
|
2442
2302
|
}
|
|
2443
2303
|
document.querySelectorAll("pre code").forEach(R);
|
|
2444
2304
|
}
|
|
2445
|
-
function
|
|
2446
|
-
|
|
2305
|
+
function q() {
|
|
2306
|
+
$ && Y();
|
|
2447
2307
|
}
|
|
2448
|
-
typeof window < "u" && window.addEventListener && window.addEventListener("DOMContentLoaded",
|
|
2449
|
-
function
|
|
2308
|
+
typeof window < "u" && window.addEventListener && window.addEventListener("DOMContentLoaded", q, !1);
|
|
2309
|
+
function Q(u, f) {
|
|
2450
2310
|
let E = null;
|
|
2451
2311
|
try {
|
|
2452
2312
|
E = f(e);
|
|
2453
2313
|
} catch (O) {
|
|
2454
|
-
if (
|
|
2455
|
-
|
|
2314
|
+
if (z0("Language definition for '{}' could not be registered.".replace("{}", u)), s)
|
|
2315
|
+
z0(O);
|
|
2456
2316
|
else
|
|
2457
2317
|
throw O;
|
|
2458
2318
|
E = i;
|
|
2459
2319
|
}
|
|
2460
2320
|
E.name || (E.name = u), n[u] = E, E.rawDefinition = f.bind(null, e), E.aliases && b0(E.aliases, { languageName: u });
|
|
2461
2321
|
}
|
|
2462
|
-
function
|
|
2322
|
+
function J(u) {
|
|
2463
2323
|
delete n[u];
|
|
2464
2324
|
for (const f of Object.keys(t))
|
|
2465
2325
|
t[f] === u && delete t[f];
|
|
2466
2326
|
}
|
|
2467
|
-
function
|
|
2327
|
+
function h0() {
|
|
2468
2328
|
return Object.keys(n);
|
|
2469
2329
|
}
|
|
2470
2330
|
function y0(u) {
|
|
2471
|
-
|
|
2331
|
+
F("10.4.0", "requireLanguage will be removed entirely in v11."), F("10.4.0", "Please see https://github.com/highlightjs/highlight.js/pull/2844");
|
|
2472
2332
|
const f = G(u);
|
|
2473
2333
|
if (f)
|
|
2474
2334
|
return f;
|
|
@@ -2482,11 +2342,11 @@ https://github.com/highlightjs/highlight.js/issues/2277`), i0 = u, C = f);
|
|
|
2482
2342
|
t[E.toLowerCase()] = f;
|
|
2483
2343
|
});
|
|
2484
2344
|
}
|
|
2485
|
-
function
|
|
2345
|
+
function l0(u) {
|
|
2486
2346
|
const f = G(u);
|
|
2487
2347
|
return f && !f.disableAutodetect;
|
|
2488
2348
|
}
|
|
2489
|
-
function
|
|
2349
|
+
function u0(u) {
|
|
2490
2350
|
u["before:highlightBlock"] && !u["before:highlightElement"] && (u["before:highlightElement"] = (f) => {
|
|
2491
2351
|
u["before:highlightBlock"](
|
|
2492
2352
|
Object.assign({ block: f.el }, f)
|
|
@@ -2498,24 +2358,24 @@ https://github.com/highlightjs/highlight.js/issues/2277`), i0 = u, C = f);
|
|
|
2498
2358
|
});
|
|
2499
2359
|
}
|
|
2500
2360
|
function s0(u) {
|
|
2501
|
-
|
|
2361
|
+
u0(u), a.push(u);
|
|
2502
2362
|
}
|
|
2503
|
-
function
|
|
2363
|
+
function X(u, f) {
|
|
2504
2364
|
const E = u;
|
|
2505
2365
|
a.forEach(function(O) {
|
|
2506
2366
|
O[E] && O[E](f);
|
|
2507
2367
|
});
|
|
2508
2368
|
}
|
|
2509
2369
|
function N0(u) {
|
|
2510
|
-
return
|
|
2370
|
+
return F("10.2.0", "fixMarkup will be removed entirely in v11.0"), F("10.2.0", "Please see https://github.com/highlightjs/highlight.js/issues/2534"), S(u);
|
|
2511
2371
|
}
|
|
2512
2372
|
function O0(u) {
|
|
2513
|
-
return
|
|
2373
|
+
return F("10.7.0", "highlightBlock will be removed entirely in v12.0"), F("10.7.0", "Please use highlightElement now."), R(u);
|
|
2514
2374
|
}
|
|
2515
2375
|
Object.assign(e, {
|
|
2516
2376
|
highlight: d,
|
|
2517
2377
|
highlightAuto: L,
|
|
2518
|
-
highlightAll:
|
|
2378
|
+
highlightAll: Y,
|
|
2519
2379
|
fixMarkup: N0,
|
|
2520
2380
|
highlightElement: R,
|
|
2521
2381
|
// TODO: Remove with v12 API
|
|
@@ -2523,13 +2383,13 @@ https://github.com/highlightjs/highlight.js/issues/2277`), i0 = u, C = f);
|
|
|
2523
2383
|
configure: k,
|
|
2524
2384
|
initHighlighting: _,
|
|
2525
2385
|
initHighlightingOnLoad: T,
|
|
2526
|
-
registerLanguage:
|
|
2527
|
-
unregisterLanguage:
|
|
2528
|
-
listLanguages:
|
|
2386
|
+
registerLanguage: Q,
|
|
2387
|
+
unregisterLanguage: J,
|
|
2388
|
+
listLanguages: h0,
|
|
2529
2389
|
getLanguage: G,
|
|
2530
2390
|
registerAliases: b0,
|
|
2531
2391
|
requireLanguage: y0,
|
|
2532
|
-
autoDetection:
|
|
2392
|
+
autoDetection: l0,
|
|
2533
2393
|
inherit: fe,
|
|
2534
2394
|
addPlugin: s0,
|
|
2535
2395
|
// plugins for frameworks
|
|
@@ -2540,10 +2400,10 @@ https://github.com/highlightjs/highlight.js/issues/2277`), i0 = u, C = f);
|
|
|
2540
2400
|
s = !0;
|
|
2541
2401
|
}, e.versionString = Jn;
|
|
2542
2402
|
for (const u in k0)
|
|
2543
|
-
typeof k0[u] == "object" &&
|
|
2403
|
+
typeof k0[u] == "object" && Ce(k0[u]);
|
|
2544
2404
|
return Object.assign(e, k0), e.addPlugin(x), e.addPlugin(tt), e.addPlugin(M), e;
|
|
2545
2405
|
};
|
|
2546
|
-
var st = ct({}), it = st,
|
|
2406
|
+
var st = ct({}), it = st, je = { exports: {} };
|
|
2547
2407
|
(function(e) {
|
|
2548
2408
|
(function() {
|
|
2549
2409
|
var n;
|
|
@@ -2551,130 +2411,130 @@ var st = ct({}), it = st, ze = { exports: {} };
|
|
|
2551
2411
|
function t() {
|
|
2552
2412
|
console.log(s.apply(null, arguments));
|
|
2553
2413
|
}
|
|
2554
|
-
function a(c,
|
|
2555
|
-
return s.apply(null, [c].concat(
|
|
2414
|
+
function a(c, o) {
|
|
2415
|
+
return s.apply(null, [c].concat(o));
|
|
2556
2416
|
}
|
|
2557
2417
|
function s(c) {
|
|
2558
|
-
for (var
|
|
2559
|
-
return i[
|
|
2418
|
+
for (var o = 1, i = [].slice.call(arguments), r = 0, g = c.length, l = "", d, b = !1, v, L, S = !1, A, x = function() {
|
|
2419
|
+
return i[o++];
|
|
2560
2420
|
}, w = function() {
|
|
2561
|
-
for (var M = ""; /\d/.test(c[
|
|
2562
|
-
M += c[
|
|
2421
|
+
for (var M = ""; /\d/.test(c[r]); )
|
|
2422
|
+
M += c[r++], d = c[r];
|
|
2563
2423
|
return M.length > 0 ? parseInt(M) : null;
|
|
2564
|
-
};
|
|
2565
|
-
if (d = c[
|
|
2566
|
-
switch (b = !1, d == "." ? (S = !1, d = c[++
|
|
2424
|
+
}; r < g; ++r)
|
|
2425
|
+
if (d = c[r], b)
|
|
2426
|
+
switch (b = !1, d == "." ? (S = !1, d = c[++r]) : d == "0" && c[r + 1] == "." ? (S = !0, r += 2, d = c[r]) : S = !0, A = w(), d) {
|
|
2567
2427
|
case "b":
|
|
2568
|
-
|
|
2428
|
+
l += parseInt(x(), 10).toString(2);
|
|
2569
2429
|
break;
|
|
2570
2430
|
case "c":
|
|
2571
|
-
v = x(), typeof v == "string" || v instanceof String ?
|
|
2431
|
+
v = x(), typeof v == "string" || v instanceof String ? l += v : l += String.fromCharCode(parseInt(v, 10));
|
|
2572
2432
|
break;
|
|
2573
2433
|
case "d":
|
|
2574
|
-
|
|
2434
|
+
l += parseInt(x(), 10);
|
|
2575
2435
|
break;
|
|
2576
2436
|
case "f":
|
|
2577
|
-
L = String(parseFloat(x()).toFixed(A || 6)),
|
|
2437
|
+
L = String(parseFloat(x()).toFixed(A || 6)), l += S ? L : L.replace(/^0/, "");
|
|
2578
2438
|
break;
|
|
2579
2439
|
case "j":
|
|
2580
|
-
|
|
2440
|
+
l += JSON.stringify(x());
|
|
2581
2441
|
break;
|
|
2582
2442
|
case "o":
|
|
2583
|
-
|
|
2443
|
+
l += "0" + parseInt(x(), 10).toString(8);
|
|
2584
2444
|
break;
|
|
2585
2445
|
case "s":
|
|
2586
|
-
|
|
2446
|
+
l += x();
|
|
2587
2447
|
break;
|
|
2588
2448
|
case "x":
|
|
2589
|
-
|
|
2449
|
+
l += "0x" + parseInt(x(), 10).toString(16);
|
|
2590
2450
|
break;
|
|
2591
2451
|
case "X":
|
|
2592
|
-
|
|
2452
|
+
l += "0x" + parseInt(x(), 10).toString(16).toUpperCase();
|
|
2593
2453
|
break;
|
|
2594
2454
|
default:
|
|
2595
|
-
|
|
2455
|
+
l += d;
|
|
2596
2456
|
break;
|
|
2597
2457
|
}
|
|
2598
2458
|
else
|
|
2599
|
-
d === "%" ? b = !0 :
|
|
2600
|
-
return
|
|
2459
|
+
d === "%" ? b = !0 : l += d;
|
|
2460
|
+
return l;
|
|
2601
2461
|
}
|
|
2602
2462
|
})();
|
|
2603
|
-
})(
|
|
2604
|
-
var
|
|
2605
|
-
f0.eval =
|
|
2606
|
-
f0.range =
|
|
2607
|
-
f0.reference =
|
|
2608
|
-
f0.syntax =
|
|
2609
|
-
f0.type =
|
|
2610
|
-
f0.uri =
|
|
2611
|
-
f0.create =
|
|
2612
|
-
function
|
|
2463
|
+
})(je);
|
|
2464
|
+
var rt = je.exports, ot = rt, f0 = p0(Error), lt = f0;
|
|
2465
|
+
f0.eval = p0(EvalError);
|
|
2466
|
+
f0.range = p0(RangeError);
|
|
2467
|
+
f0.reference = p0(ReferenceError);
|
|
2468
|
+
f0.syntax = p0(SyntaxError);
|
|
2469
|
+
f0.type = p0(TypeError);
|
|
2470
|
+
f0.uri = p0(URIError);
|
|
2471
|
+
f0.create = p0;
|
|
2472
|
+
function p0(e) {
|
|
2613
2473
|
return n.displayName = e.displayName || e.name, n;
|
|
2614
2474
|
function n(t) {
|
|
2615
|
-
return t && (t =
|
|
2475
|
+
return t && (t = ot.apply(null, arguments)), new e(t);
|
|
2616
2476
|
}
|
|
2617
2477
|
}
|
|
2618
|
-
var
|
|
2619
|
-
E0.highlight =
|
|
2478
|
+
var c0 = it, D0 = lt;
|
|
2479
|
+
E0.highlight = ze;
|
|
2620
2480
|
E0.highlightAuto = gt;
|
|
2621
2481
|
E0.registerLanguage = dt;
|
|
2622
2482
|
E0.listLanguages = mt;
|
|
2623
2483
|
E0.registerAlias = ft;
|
|
2624
2484
|
o0.prototype.addText = bt;
|
|
2625
|
-
o0.prototype.addKeyword =
|
|
2626
|
-
o0.prototype.addSublanguage =
|
|
2485
|
+
o0.prototype.addKeyword = pt;
|
|
2486
|
+
o0.prototype.addSublanguage = ht;
|
|
2627
2487
|
o0.prototype.openNode = vt;
|
|
2628
2488
|
o0.prototype.closeNode = Et;
|
|
2629
|
-
o0.prototype.closeAllNodes =
|
|
2630
|
-
o0.prototype.finalize =
|
|
2489
|
+
o0.prototype.closeAllNodes = Ge;
|
|
2490
|
+
o0.prototype.finalize = Ge;
|
|
2631
2491
|
o0.prototype.toHTML = yt;
|
|
2632
2492
|
var ut = "hljs-";
|
|
2633
|
-
function
|
|
2634
|
-
var a =
|
|
2493
|
+
function ze(e, n, t) {
|
|
2494
|
+
var a = c0.configure({}), s = t || {}, c = s.prefix, o;
|
|
2635
2495
|
if (typeof e != "string")
|
|
2636
2496
|
throw D0("Expected `string` for name, got `%s`", e);
|
|
2637
|
-
if (!
|
|
2497
|
+
if (!c0.getLanguage(e))
|
|
2638
2498
|
throw D0("Unknown language: `%s` is not registered", e);
|
|
2639
2499
|
if (typeof n != "string")
|
|
2640
2500
|
throw D0("Expected `string` for value, got `%s`", n);
|
|
2641
|
-
if (c == null && (c = ut),
|
|
2642
|
-
throw
|
|
2501
|
+
if (c == null && (c = ut), c0.configure({ __emitter: o0, classPrefix: c }), o = c0.highlight(n, { language: e, ignoreIllegals: !0 }), c0.configure(a || {}), o.errorRaised)
|
|
2502
|
+
throw o.errorRaised;
|
|
2643
2503
|
return {
|
|
2644
|
-
relevance:
|
|
2645
|
-
language:
|
|
2646
|
-
value:
|
|
2504
|
+
relevance: o.relevance,
|
|
2505
|
+
language: o.language,
|
|
2506
|
+
value: o.emitter.rootNode.children
|
|
2647
2507
|
};
|
|
2648
2508
|
}
|
|
2649
2509
|
function gt(e, n) {
|
|
2650
|
-
var t = n || {}, a = t.subset ||
|
|
2510
|
+
var t = n || {}, a = t.subset || c0.listLanguages();
|
|
2651
2511
|
t.prefix;
|
|
2652
|
-
var s = a.length, c = -1,
|
|
2512
|
+
var s = a.length, c = -1, o, i, r, g;
|
|
2653
2513
|
if (typeof e != "string")
|
|
2654
2514
|
throw D0("Expected `string` for value, got `%s`", e);
|
|
2655
|
-
for (i = { relevance: 0, language: null, value: [] },
|
|
2656
|
-
g = a[c],
|
|
2657
|
-
return i.language && (
|
|
2515
|
+
for (i = { relevance: 0, language: null, value: [] }, o = { relevance: 0, language: null, value: [] }; ++c < s; )
|
|
2516
|
+
g = a[c], c0.getLanguage(g) && (r = ze(g, e, n), r.language = g, r.relevance > i.relevance && (i = r), r.relevance > o.relevance && (i = o, o = r));
|
|
2517
|
+
return i.language && (o.secondBest = i), o;
|
|
2658
2518
|
}
|
|
2659
2519
|
function dt(e, n) {
|
|
2660
|
-
|
|
2520
|
+
c0.registerLanguage(e, n);
|
|
2661
2521
|
}
|
|
2662
2522
|
function mt() {
|
|
2663
|
-
return
|
|
2523
|
+
return c0.listLanguages();
|
|
2664
2524
|
}
|
|
2665
2525
|
function ft(e, n) {
|
|
2666
2526
|
var t = e, a;
|
|
2667
2527
|
n && (t = {}, t[e] = n);
|
|
2668
2528
|
for (a in t)
|
|
2669
|
-
|
|
2529
|
+
c0.registerAliases(t[a], { languageName: a });
|
|
2670
2530
|
}
|
|
2671
2531
|
function o0(e) {
|
|
2672
2532
|
this.options = e, this.rootNode = { children: [] }, this.stack = [this.rootNode];
|
|
2673
2533
|
}
|
|
2674
|
-
function
|
|
2534
|
+
function pt(e, n) {
|
|
2675
2535
|
this.openNode(n), this.addText(e), this.closeNode();
|
|
2676
2536
|
}
|
|
2677
|
-
function
|
|
2537
|
+
function ht(e, n) {
|
|
2678
2538
|
var t = this.stack, a = t[t.length - 1], s = e.rootNode.children, c = n ? {
|
|
2679
2539
|
type: "element",
|
|
2680
2540
|
tagName: "span",
|
|
@@ -2702,22 +2562,22 @@ function Et() {
|
|
|
2702
2562
|
function yt() {
|
|
2703
2563
|
return "";
|
|
2704
2564
|
}
|
|
2705
|
-
function
|
|
2565
|
+
function Ge() {
|
|
2706
2566
|
}
|
|
2707
|
-
function
|
|
2567
|
+
function Ze(e) {
|
|
2708
2568
|
return e ? typeof e == "string" ? e : e.source : null;
|
|
2709
2569
|
}
|
|
2710
|
-
function
|
|
2570
|
+
function he(e) {
|
|
2711
2571
|
return v0("(?=", e, ")");
|
|
2712
2572
|
}
|
|
2713
2573
|
function Nt(e) {
|
|
2714
2574
|
return v0("(", e, ")?");
|
|
2715
2575
|
}
|
|
2716
2576
|
function v0(...e) {
|
|
2717
|
-
return e.map((t) =>
|
|
2577
|
+
return e.map((t) => Ze(t)).join("");
|
|
2718
2578
|
}
|
|
2719
2579
|
function xt(...e) {
|
|
2720
|
-
return "(" + e.map((t) =>
|
|
2580
|
+
return "(" + e.map((t) => Ze(t)).join("|") + ")";
|
|
2721
2581
|
}
|
|
2722
2582
|
function _t(e) {
|
|
2723
2583
|
const n = v0(/[A-Z_]/, Nt(/[A-Z0-9_.-]*:/), /[A-Z0-9_.-]*/), t = /[A-Za-z0-9._:-]+/, a = {
|
|
@@ -2735,11 +2595,11 @@ function _t(e) {
|
|
|
2735
2595
|
}, c = e.inherit(s, {
|
|
2736
2596
|
begin: /\(/,
|
|
2737
2597
|
end: /\)/
|
|
2738
|
-
}),
|
|
2598
|
+
}), o = e.inherit(e.APOS_STRING_MODE, {
|
|
2739
2599
|
className: "meta-string"
|
|
2740
2600
|
}), i = e.inherit(e.QUOTE_STRING_MODE, {
|
|
2741
2601
|
className: "meta-string"
|
|
2742
|
-
}),
|
|
2602
|
+
}), r = {
|
|
2743
2603
|
endsWithParent: !0,
|
|
2744
2604
|
illegal: /</,
|
|
2745
2605
|
relevance: 0,
|
|
@@ -2800,7 +2660,7 @@ function _t(e) {
|
|
|
2800
2660
|
contains: [
|
|
2801
2661
|
s,
|
|
2802
2662
|
i,
|
|
2803
|
-
|
|
2663
|
+
o,
|
|
2804
2664
|
c,
|
|
2805
2665
|
{
|
|
2806
2666
|
begin: /\[/,
|
|
@@ -2814,7 +2674,7 @@ function _t(e) {
|
|
|
2814
2674
|
s,
|
|
2815
2675
|
c,
|
|
2816
2676
|
i,
|
|
2817
|
-
|
|
2677
|
+
o
|
|
2818
2678
|
]
|
|
2819
2679
|
}
|
|
2820
2680
|
]
|
|
@@ -2853,7 +2713,7 @@ function _t(e) {
|
|
|
2853
2713
|
keywords: {
|
|
2854
2714
|
name: "style"
|
|
2855
2715
|
},
|
|
2856
|
-
contains: [
|
|
2716
|
+
contains: [r],
|
|
2857
2717
|
starts: {
|
|
2858
2718
|
end: /<\/style>/,
|
|
2859
2719
|
returnEnd: !0,
|
|
@@ -2871,7 +2731,7 @@ function _t(e) {
|
|
|
2871
2731
|
keywords: {
|
|
2872
2732
|
name: "script"
|
|
2873
2733
|
},
|
|
2874
|
-
contains: [
|
|
2734
|
+
contains: [r],
|
|
2875
2735
|
starts: {
|
|
2876
2736
|
end: /<\/script>/,
|
|
2877
2737
|
returnEnd: !0,
|
|
@@ -2892,7 +2752,7 @@ function _t(e) {
|
|
|
2892
2752
|
className: "tag",
|
|
2893
2753
|
begin: v0(
|
|
2894
2754
|
/</,
|
|
2895
|
-
|
|
2755
|
+
he(v0(
|
|
2896
2756
|
n,
|
|
2897
2757
|
// <tag/>
|
|
2898
2758
|
// <tag>
|
|
@@ -2906,7 +2766,7 @@ function _t(e) {
|
|
|
2906
2766
|
className: "name",
|
|
2907
2767
|
begin: n,
|
|
2908
2768
|
relevance: 0,
|
|
2909
|
-
starts:
|
|
2769
|
+
starts: r
|
|
2910
2770
|
}
|
|
2911
2771
|
]
|
|
2912
2772
|
},
|
|
@@ -2915,7 +2775,7 @@ function _t(e) {
|
|
|
2915
2775
|
className: "tag",
|
|
2916
2776
|
begin: v0(
|
|
2917
2777
|
/<\//,
|
|
2918
|
-
|
|
2778
|
+
he(v0(
|
|
2919
2779
|
n,
|
|
2920
2780
|
/>/
|
|
2921
2781
|
))
|
|
@@ -2937,7 +2797,7 @@ function _t(e) {
|
|
|
2937
2797
|
};
|
|
2938
2798
|
}
|
|
2939
2799
|
var wt = _t;
|
|
2940
|
-
const
|
|
2800
|
+
const Ve = /* @__PURE__ */ V(wt);
|
|
2941
2801
|
function St(e) {
|
|
2942
2802
|
return e ? typeof e == "string" ? e : e.source : null;
|
|
2943
2803
|
}
|
|
@@ -2996,14 +2856,14 @@ function At(e) {
|
|
|
2996
2856
|
]
|
|
2997
2857
|
};
|
|
2998
2858
|
a.contains.push(c);
|
|
2999
|
-
const
|
|
2859
|
+
const o = {
|
|
3000
2860
|
className: "",
|
|
3001
2861
|
begin: /\\"/
|
|
3002
2862
|
}, i = {
|
|
3003
2863
|
className: "string",
|
|
3004
2864
|
begin: /'/,
|
|
3005
2865
|
end: /'/
|
|
3006
|
-
},
|
|
2866
|
+
}, r = {
|
|
3007
2867
|
begin: /\$\(\(/,
|
|
3008
2868
|
end: /\)\)/,
|
|
3009
2869
|
contains: [
|
|
@@ -3021,7 +2881,7 @@ function At(e) {
|
|
|
3021
2881
|
"tcsh",
|
|
3022
2882
|
"dash",
|
|
3023
2883
|
"scsh"
|
|
3024
|
-
],
|
|
2884
|
+
], l = e.SHEBANG({
|
|
3025
2885
|
binary: `(${g.join("|")})`,
|
|
3026
2886
|
relevance: 10
|
|
3027
2887
|
}), d = {
|
|
@@ -3045,16 +2905,16 @@ function At(e) {
|
|
|
3045
2905
|
)
|
|
3046
2906
|
},
|
|
3047
2907
|
contains: [
|
|
3048
|
-
|
|
2908
|
+
l,
|
|
3049
2909
|
// to catch known shells and boost relevancy
|
|
3050
2910
|
e.SHEBANG(),
|
|
3051
2911
|
// to catch unknown shells but still highlight the shebang
|
|
3052
2912
|
d,
|
|
3053
|
-
|
|
2913
|
+
r,
|
|
3054
2914
|
e.HASH_COMMENT_MODE,
|
|
3055
2915
|
s,
|
|
3056
2916
|
c,
|
|
3057
|
-
|
|
2917
|
+
o,
|
|
3058
2918
|
i,
|
|
3059
2919
|
n
|
|
3060
2920
|
]
|
|
@@ -3193,9 +3053,9 @@ function Pt(e) {
|
|
|
3193
3053
|
return e ? typeof e == "string" ? e : e.source : null;
|
|
3194
3054
|
}
|
|
3195
3055
|
function ve(e) {
|
|
3196
|
-
return
|
|
3056
|
+
return K0("(?=", e, ")");
|
|
3197
3057
|
}
|
|
3198
|
-
function
|
|
3058
|
+
function K0(...e) {
|
|
3199
3059
|
return e.map((t) => Pt(t)).join("");
|
|
3200
3060
|
}
|
|
3201
3061
|
function $t(e) {
|
|
@@ -3225,12 +3085,12 @@ function $t(e) {
|
|
|
3225
3085
|
keyword: Tt,
|
|
3226
3086
|
literal: It,
|
|
3227
3087
|
built_in: Bt
|
|
3228
|
-
},
|
|
3088
|
+
}, o = "[0-9](_?[0-9])*", i = `\\.(${o})`, r = "0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*", g = {
|
|
3229
3089
|
className: "number",
|
|
3230
3090
|
variants: [
|
|
3231
3091
|
// DecimalLiteral
|
|
3232
|
-
{ begin: `(\\b(${
|
|
3233
|
-
{ begin: `\\b(${
|
|
3092
|
+
{ begin: `(\\b(${r})((${i})|\\.)?|(${i}))[eE][+-]?(${o})\\b` },
|
|
3093
|
+
{ begin: `\\b(${r})\\b((${i})\\b|\\.)?|(${i})\\b` },
|
|
3234
3094
|
// DecimalBigIntegerLiteral
|
|
3235
3095
|
{ begin: "\\b(0|[1-9](_?[0-9])*)n\\b" },
|
|
3236
3096
|
// NonDecimalIntegerLiteral
|
|
@@ -3242,7 +3102,7 @@ function $t(e) {
|
|
|
3242
3102
|
{ begin: "\\b0[0-7]+n?\\b" }
|
|
3243
3103
|
],
|
|
3244
3104
|
relevance: 0
|
|
3245
|
-
},
|
|
3105
|
+
}, l = {
|
|
3246
3106
|
className: "subst",
|
|
3247
3107
|
begin: "\\$\\{",
|
|
3248
3108
|
end: "\\}",
|
|
@@ -3257,7 +3117,7 @@ function $t(e) {
|
|
|
3257
3117
|
returnEnd: !1,
|
|
3258
3118
|
contains: [
|
|
3259
3119
|
e.BACKSLASH_ESCAPE,
|
|
3260
|
-
|
|
3120
|
+
l
|
|
3261
3121
|
],
|
|
3262
3122
|
subLanguage: "xml"
|
|
3263
3123
|
}
|
|
@@ -3269,7 +3129,7 @@ function $t(e) {
|
|
|
3269
3129
|
returnEnd: !1,
|
|
3270
3130
|
contains: [
|
|
3271
3131
|
e.BACKSLASH_ESCAPE,
|
|
3272
|
-
|
|
3132
|
+
l
|
|
3273
3133
|
],
|
|
3274
3134
|
subLanguage: "css"
|
|
3275
3135
|
}
|
|
@@ -3279,7 +3139,7 @@ function $t(e) {
|
|
|
3279
3139
|
end: "`",
|
|
3280
3140
|
contains: [
|
|
3281
3141
|
e.BACKSLASH_ESCAPE,
|
|
3282
|
-
|
|
3142
|
+
l
|
|
3283
3143
|
]
|
|
3284
3144
|
}, S = {
|
|
3285
3145
|
className: "comment",
|
|
@@ -3329,7 +3189,7 @@ function $t(e) {
|
|
|
3329
3189
|
g,
|
|
3330
3190
|
e.REGEXP_MODE
|
|
3331
3191
|
];
|
|
3332
|
-
|
|
3192
|
+
l.contains = A.concat({
|
|
3333
3193
|
// we need to pair up {} inside our subst to prevent
|
|
3334
3194
|
// it from ending too early by matching another }
|
|
3335
3195
|
begin: /\{/,
|
|
@@ -3339,7 +3199,7 @@ function $t(e) {
|
|
|
3339
3199
|
"self"
|
|
3340
3200
|
].concat(A)
|
|
3341
3201
|
});
|
|
3342
|
-
const x = [].concat(S,
|
|
3202
|
+
const x = [].concat(S, l.contains), w = x.concat([
|
|
3343
3203
|
// eat recursive parens in sub expressions
|
|
3344
3204
|
{
|
|
3345
3205
|
begin: /\(/,
|
|
@@ -3384,7 +3244,7 @@ function $t(e) {
|
|
|
3384
3244
|
g,
|
|
3385
3245
|
{
|
|
3386
3246
|
// object attr container
|
|
3387
|
-
begin:
|
|
3247
|
+
begin: K0(
|
|
3388
3248
|
/[{,\n]\s*/,
|
|
3389
3249
|
// we need to look ahead to make sure that we actually have an
|
|
3390
3250
|
// attribute coming up so we don't steal a comma from a potential
|
|
@@ -3396,7 +3256,7 @@ function $t(e) {
|
|
|
3396
3256
|
// fails to find any actual attrs. But this still does the job because
|
|
3397
3257
|
// it prevents the value contain rule from grabbing this instead and
|
|
3398
3258
|
// prevening this rule from firing when we actually DO have keys.
|
|
3399
|
-
ve(
|
|
3259
|
+
ve(K0(
|
|
3400
3260
|
// we also need to allow for multiple possible comments inbetween
|
|
3401
3261
|
// the first key:value pairing
|
|
3402
3262
|
/(((\/\/.*$)|(\/\*(\*[^/]|[^*])*\*\/))\s*)*/,
|
|
@@ -3602,14 +3462,14 @@ function Ht(e) {
|
|
|
3602
3462
|
})
|
|
3603
3463
|
].concat(t),
|
|
3604
3464
|
illegal: "\\S"
|
|
3605
|
-
},
|
|
3465
|
+
}, o = {
|
|
3606
3466
|
begin: "\\[",
|
|
3607
3467
|
end: "\\]",
|
|
3608
3468
|
contains: [e.inherit(s)],
|
|
3609
3469
|
// inherit is a workaround for a bug that makes shared modes with endsWithParent compile only the ending of one of the parents
|
|
3610
3470
|
illegal: "\\S"
|
|
3611
3471
|
};
|
|
3612
|
-
return a.push(c,
|
|
3472
|
+
return a.push(c, o), t.forEach(function(i) {
|
|
3613
3473
|
a.push(i);
|
|
3614
3474
|
}), {
|
|
3615
3475
|
name: "JSON",
|
|
@@ -3644,7 +3504,7 @@ function Gt(e) {
|
|
|
3644
3504
|
}), c = e.inherit(e.QUOTE_STRING_MODE, {
|
|
3645
3505
|
illegal: null,
|
|
3646
3506
|
contains: e.QUOTE_STRING_MODE.contains.concat(a)
|
|
3647
|
-
}),
|
|
3507
|
+
}), o = e.END_SAME_AS_BEGIN({
|
|
3648
3508
|
begin: /<<<[ \t]*(\w+)\n/,
|
|
3649
3509
|
end: /[ \t]*(\w+)\b/,
|
|
3650
3510
|
contains: e.QUOTE_STRING_MODE.contains.concat(a)
|
|
@@ -3662,9 +3522,9 @@ function Gt(e) {
|
|
|
3662
3522
|
}),
|
|
3663
3523
|
c,
|
|
3664
3524
|
s,
|
|
3665
|
-
|
|
3525
|
+
o
|
|
3666
3526
|
]
|
|
3667
|
-
},
|
|
3527
|
+
}, r = {
|
|
3668
3528
|
className: "number",
|
|
3669
3529
|
variants: [
|
|
3670
3530
|
{ begin: "\\b0b[01]+(?:_[01]+)*\\b" },
|
|
@@ -3756,7 +3616,7 @@ function Gt(e) {
|
|
|
3756
3616
|
n,
|
|
3757
3617
|
e.C_BLOCK_COMMENT_MODE,
|
|
3758
3618
|
i,
|
|
3759
|
-
|
|
3619
|
+
r
|
|
3760
3620
|
]
|
|
3761
3621
|
}
|
|
3762
3622
|
]
|
|
@@ -3789,13 +3649,13 @@ function Gt(e) {
|
|
|
3789
3649
|
contains: [e.UNDERSCORE_TITLE_MODE]
|
|
3790
3650
|
},
|
|
3791
3651
|
i,
|
|
3792
|
-
|
|
3652
|
+
r
|
|
3793
3653
|
]
|
|
3794
3654
|
};
|
|
3795
3655
|
}
|
|
3796
3656
|
var Zt = Gt;
|
|
3797
3657
|
const Vt = /* @__PURE__ */ V(Zt);
|
|
3798
|
-
function
|
|
3658
|
+
function Ft(e) {
|
|
3799
3659
|
return {
|
|
3800
3660
|
name: "Shell Session",
|
|
3801
3661
|
aliases: ["console"],
|
|
@@ -3814,8 +3674,8 @@ function Wt(e) {
|
|
|
3814
3674
|
]
|
|
3815
3675
|
};
|
|
3816
3676
|
}
|
|
3817
|
-
var
|
|
3818
|
-
const
|
|
3677
|
+
var Wt = Ft;
|
|
3678
|
+
const We = /* @__PURE__ */ V(Wt);
|
|
3819
3679
|
function Kt(e) {
|
|
3820
3680
|
var n = "true false yes no null", t = "[\\w#;/?:@&=+$,.~*'()[\\]]+", a = {
|
|
3821
3681
|
className: "attr",
|
|
@@ -3846,15 +3706,15 @@ function Kt(e) {
|
|
|
3846
3706
|
e.BACKSLASH_ESCAPE,
|
|
3847
3707
|
s
|
|
3848
3708
|
]
|
|
3849
|
-
},
|
|
3709
|
+
}, o = e.inherit(c, {
|
|
3850
3710
|
variants: [
|
|
3851
3711
|
{ begin: /'/, end: /'/ },
|
|
3852
3712
|
{ begin: /"/, end: /"/ },
|
|
3853
3713
|
{ begin: /[^\s,{}[\]]+/ }
|
|
3854
3714
|
]
|
|
3855
|
-
}), i = "[0-9]{4}(-[0-9][0-9]){0,2}",
|
|
3715
|
+
}), i = "[0-9]{4}(-[0-9][0-9]){0,2}", r = "([Tt \\t][0-9][0-9]?(:[0-9][0-9]){2})?", g = "(\\.[0-9]*)?", l = "([ \\t])*(Z|[-+][0-9][0-9]?(:[0-9][0-9])?)?", d = {
|
|
3856
3716
|
className: "number",
|
|
3857
|
-
begin: "\\b" + i +
|
|
3717
|
+
begin: "\\b" + i + r + g + l + "\\b"
|
|
3858
3718
|
}, b = {
|
|
3859
3719
|
end: ",",
|
|
3860
3720
|
endsWithParent: !0,
|
|
@@ -3953,7 +3813,7 @@ function Kt(e) {
|
|
|
3953
3813
|
L,
|
|
3954
3814
|
c
|
|
3955
3815
|
], A = [...S];
|
|
3956
|
-
return A.pop(), A.push(
|
|
3816
|
+
return A.pop(), A.push(o), b.contains = A, {
|
|
3957
3817
|
name: "YAML",
|
|
3958
3818
|
case_insensitive: !0,
|
|
3959
3819
|
aliases: ["yml"],
|
|
@@ -3961,7 +3821,7 @@ function Kt(e) {
|
|
|
3961
3821
|
};
|
|
3962
3822
|
}
|
|
3963
3823
|
var Yt = Kt;
|
|
3964
|
-
const
|
|
3824
|
+
const Ke = /* @__PURE__ */ V(Yt);
|
|
3965
3825
|
function Xt(e) {
|
|
3966
3826
|
var n = {
|
|
3967
3827
|
className: "params",
|
|
@@ -3981,8 +3841,8 @@ function Xt(e) {
|
|
|
3981
3841
|
a
|
|
3982
3842
|
]
|
|
3983
3843
|
}, c = "apply autoescape block deprecated do embed extends filter flush for from if import include macro sandbox set use verbatim with";
|
|
3984
|
-
return c = c + " " + c.split(" ").map(function(
|
|
3985
|
-
return "end" +
|
|
3844
|
+
return c = c + " " + c.split(" ").map(function(o) {
|
|
3845
|
+
return "end" + o;
|
|
3986
3846
|
}).join(" "), {
|
|
3987
3847
|
name: "Twig",
|
|
3988
3848
|
aliases: ["craftcms"],
|
|
@@ -4017,7 +3877,7 @@ function Xt(e) {
|
|
|
4017
3877
|
};
|
|
4018
3878
|
}
|
|
4019
3879
|
var qt = Xt;
|
|
4020
|
-
const Qt = /* @__PURE__ */ V(qt), B0 = "[A-Za-z$_][0-9A-Za-z$_]*",
|
|
3880
|
+
const Qt = /* @__PURE__ */ V(qt), B0 = "[A-Za-z$_][0-9A-Za-z$_]*", Ye = [
|
|
4021
3881
|
"as",
|
|
4022
3882
|
// for exports
|
|
4023
3883
|
"in",
|
|
@@ -4060,7 +3920,7 @@ const Qt = /* @__PURE__ */ V(qt), B0 = "[A-Za-z$_][0-9A-Za-z$_]*", Xe = [
|
|
|
4060
3920
|
"from",
|
|
4061
3921
|
"export",
|
|
4062
3922
|
"extends"
|
|
4063
|
-
],
|
|
3923
|
+
], Xe = [
|
|
4064
3924
|
"true",
|
|
4065
3925
|
"false",
|
|
4066
3926
|
"null",
|
|
@@ -4139,7 +3999,7 @@ const Qt = /* @__PURE__ */ V(qt), B0 = "[A-Za-z$_][0-9A-Za-z$_]*", Xe = [
|
|
|
4139
3999
|
"module",
|
|
4140
4000
|
"global"
|
|
4141
4001
|
// Node.js
|
|
4142
|
-
],
|
|
4002
|
+
], qe = [].concat(
|
|
4143
4003
|
n2,
|
|
4144
4004
|
t2,
|
|
4145
4005
|
Jt,
|
|
@@ -4149,9 +4009,9 @@ function a2(e) {
|
|
|
4149
4009
|
return e ? typeof e == "string" ? e : e.source : null;
|
|
4150
4010
|
}
|
|
4151
4011
|
function Ee(e) {
|
|
4152
|
-
return
|
|
4012
|
+
return Y0("(?=", e, ")");
|
|
4153
4013
|
}
|
|
4154
|
-
function
|
|
4014
|
+
function Y0(...e) {
|
|
4155
4015
|
return e.map((t) => a2(t)).join("");
|
|
4156
4016
|
}
|
|
4157
4017
|
function c2(e) {
|
|
@@ -4178,15 +4038,15 @@ function c2(e) {
|
|
|
4178
4038
|
}
|
|
4179
4039
|
}, c = {
|
|
4180
4040
|
$pattern: B0,
|
|
4181
|
-
keyword:
|
|
4182
|
-
literal:
|
|
4183
|
-
built_in:
|
|
4184
|
-
},
|
|
4041
|
+
keyword: Ye,
|
|
4042
|
+
literal: Xe,
|
|
4043
|
+
built_in: qe
|
|
4044
|
+
}, o = "[0-9](_?[0-9])*", i = `\\.(${o})`, r = "0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*", g = {
|
|
4185
4045
|
className: "number",
|
|
4186
4046
|
variants: [
|
|
4187
4047
|
// DecimalLiteral
|
|
4188
|
-
{ begin: `(\\b(${
|
|
4189
|
-
{ begin: `\\b(${
|
|
4048
|
+
{ begin: `(\\b(${r})((${i})|\\.)?|(${i}))[eE][+-]?(${o})\\b` },
|
|
4049
|
+
{ begin: `\\b(${r})\\b((${i})\\b|\\.)?|(${i})\\b` },
|
|
4190
4050
|
// DecimalBigIntegerLiteral
|
|
4191
4051
|
{ begin: "\\b(0|[1-9](_?[0-9])*)n\\b" },
|
|
4192
4052
|
// NonDecimalIntegerLiteral
|
|
@@ -4198,7 +4058,7 @@ function c2(e) {
|
|
|
4198
4058
|
{ begin: "\\b0[0-7]+n?\\b" }
|
|
4199
4059
|
],
|
|
4200
4060
|
relevance: 0
|
|
4201
|
-
},
|
|
4061
|
+
}, l = {
|
|
4202
4062
|
className: "subst",
|
|
4203
4063
|
begin: "\\$\\{",
|
|
4204
4064
|
end: "\\}",
|
|
@@ -4213,7 +4073,7 @@ function c2(e) {
|
|
|
4213
4073
|
returnEnd: !1,
|
|
4214
4074
|
contains: [
|
|
4215
4075
|
e.BACKSLASH_ESCAPE,
|
|
4216
|
-
|
|
4076
|
+
l
|
|
4217
4077
|
],
|
|
4218
4078
|
subLanguage: "xml"
|
|
4219
4079
|
}
|
|
@@ -4225,7 +4085,7 @@ function c2(e) {
|
|
|
4225
4085
|
returnEnd: !1,
|
|
4226
4086
|
contains: [
|
|
4227
4087
|
e.BACKSLASH_ESCAPE,
|
|
4228
|
-
|
|
4088
|
+
l
|
|
4229
4089
|
],
|
|
4230
4090
|
subLanguage: "css"
|
|
4231
4091
|
}
|
|
@@ -4235,7 +4095,7 @@ function c2(e) {
|
|
|
4235
4095
|
end: "`",
|
|
4236
4096
|
contains: [
|
|
4237
4097
|
e.BACKSLASH_ESCAPE,
|
|
4238
|
-
|
|
4098
|
+
l
|
|
4239
4099
|
]
|
|
4240
4100
|
}, S = {
|
|
4241
4101
|
className: "comment",
|
|
@@ -4285,7 +4145,7 @@ function c2(e) {
|
|
|
4285
4145
|
g,
|
|
4286
4146
|
e.REGEXP_MODE
|
|
4287
4147
|
];
|
|
4288
|
-
|
|
4148
|
+
l.contains = A.concat({
|
|
4289
4149
|
// we need to pair up {} inside our subst to prevent
|
|
4290
4150
|
// it from ending too early by matching another }
|
|
4291
4151
|
begin: /\{/,
|
|
@@ -4295,7 +4155,7 @@ function c2(e) {
|
|
|
4295
4155
|
"self"
|
|
4296
4156
|
].concat(A)
|
|
4297
4157
|
});
|
|
4298
|
-
const x = [].concat(S,
|
|
4158
|
+
const x = [].concat(S, l.contains), w = x.concat([
|
|
4299
4159
|
// eat recursive parens in sub expressions
|
|
4300
4160
|
{
|
|
4301
4161
|
begin: /\(/,
|
|
@@ -4340,7 +4200,7 @@ function c2(e) {
|
|
|
4340
4200
|
g,
|
|
4341
4201
|
{
|
|
4342
4202
|
// object attr container
|
|
4343
|
-
begin:
|
|
4203
|
+
begin: Y0(
|
|
4344
4204
|
/[{,\n]\s*/,
|
|
4345
4205
|
// we need to look ahead to make sure that we actually have an
|
|
4346
4206
|
// attribute coming up so we don't steal a comma from a potential
|
|
@@ -4352,7 +4212,7 @@ function c2(e) {
|
|
|
4352
4212
|
// fails to find any actual attrs. But this still does the job because
|
|
4353
4213
|
// it prevents the value contain rule from grabbing this instead and
|
|
4354
4214
|
// prevening this rule from firing when we actually DO have keys.
|
|
4355
|
-
Ee(
|
|
4215
|
+
Ee(Y0(
|
|
4356
4216
|
// we also need to allow for multiple possible comments inbetween
|
|
4357
4217
|
// the first key:value pairing
|
|
4358
4218
|
/(((\/\/.*$)|(\/\*(\*[^/]|[^*])*\*\/))\s*)*/,
|
|
@@ -4548,7 +4408,7 @@ function s2(e) {
|
|
|
4548
4408
|
"object",
|
|
4549
4409
|
"never",
|
|
4550
4410
|
"enum"
|
|
4551
|
-
],
|
|
4411
|
+
], o = [
|
|
4552
4412
|
"type",
|
|
4553
4413
|
"namespace",
|
|
4554
4414
|
"typedef",
|
|
@@ -4562,10 +4422,10 @@ function s2(e) {
|
|
|
4562
4422
|
"readonly"
|
|
4563
4423
|
], i = {
|
|
4564
4424
|
$pattern: B0,
|
|
4565
|
-
keyword:
|
|
4566
|
-
literal:
|
|
4567
|
-
built_in:
|
|
4568
|
-
},
|
|
4425
|
+
keyword: Ye.concat(o),
|
|
4426
|
+
literal: Xe,
|
|
4427
|
+
built_in: qe.concat(c)
|
|
4428
|
+
}, r = {
|
|
4569
4429
|
className: "meta",
|
|
4570
4430
|
begin: "@" + n
|
|
4571
4431
|
}, g = (b, v, L) => {
|
|
@@ -4573,24 +4433,24 @@ function s2(e) {
|
|
|
4573
4433
|
if (S === -1)
|
|
4574
4434
|
throw new Error("can not find mode to replace");
|
|
4575
4435
|
b.contains.splice(S, 1, L);
|
|
4576
|
-
},
|
|
4577
|
-
Object.assign(
|
|
4578
|
-
|
|
4436
|
+
}, l = c2(e);
|
|
4437
|
+
Object.assign(l.keywords, i), l.exports.PARAMS_CONTAINS.push(r), l.contains = l.contains.concat([
|
|
4438
|
+
r,
|
|
4579
4439
|
t,
|
|
4580
4440
|
a
|
|
4581
|
-
]), g(
|
|
4582
|
-
const d =
|
|
4583
|
-
return d.relevance = 0, Object.assign(
|
|
4441
|
+
]), g(l, "shebang", e.SHEBANG()), g(l, "use_strict", s);
|
|
4442
|
+
const d = l.contains.find((b) => b.className === "function");
|
|
4443
|
+
return d.relevance = 0, Object.assign(l, {
|
|
4584
4444
|
name: "TypeScript",
|
|
4585
4445
|
aliases: ["ts", "tsx"]
|
|
4586
|
-
}),
|
|
4446
|
+
}), l;
|
|
4587
4447
|
}
|
|
4588
4448
|
var i2 = s2;
|
|
4589
|
-
const
|
|
4590
|
-
var
|
|
4591
|
-
|
|
4592
|
-
const z =
|
|
4593
|
-
var
|
|
4449
|
+
const Qe = /* @__PURE__ */ V(i2);
|
|
4450
|
+
var Je = mn(E0, {});
|
|
4451
|
+
Je.registerLanguage = E0.registerLanguage;
|
|
4452
|
+
const z = Je;
|
|
4453
|
+
var e1 = {};
|
|
4594
4454
|
(function(e) {
|
|
4595
4455
|
Object.defineProperty(e, "__esModule", {
|
|
4596
4456
|
value: !0
|
|
@@ -4691,28 +4551,28 @@ var n1 = {};
|
|
|
4691
4551
|
}
|
|
4692
4552
|
};
|
|
4693
4553
|
e.default = n;
|
|
4694
|
-
})(
|
|
4695
|
-
const
|
|
4696
|
-
z.registerLanguage("sh",
|
|
4697
|
-
z.registerLanguage("shell",
|
|
4554
|
+
})(e1);
|
|
4555
|
+
const r2 = /* @__PURE__ */ V(e1);
|
|
4556
|
+
z.registerLanguage("sh", We);
|
|
4557
|
+
z.registerLanguage("shell", We);
|
|
4698
4558
|
z.registerLanguage("bash", Rt);
|
|
4699
4559
|
z.registerLanguage("json", zt);
|
|
4700
|
-
z.registerLanguage("yaml",
|
|
4701
|
-
z.registerLanguage("yml",
|
|
4560
|
+
z.registerLanguage("yaml", Ke);
|
|
4561
|
+
z.registerLanguage("yml", Ke);
|
|
4702
4562
|
z.registerLanguage("php", Vt);
|
|
4703
4563
|
z.registerLanguage("twig", Qt);
|
|
4704
|
-
z.registerLanguage("xml",
|
|
4705
|
-
z.registerLanguage("html",
|
|
4564
|
+
z.registerLanguage("xml", Ve);
|
|
4565
|
+
z.registerLanguage("html", Ve);
|
|
4706
4566
|
z.registerLanguage("js", Fe);
|
|
4707
4567
|
z.registerLanguage("javascript", Fe);
|
|
4708
|
-
z.registerLanguage("ts",
|
|
4709
|
-
z.registerLanguage("typescript",
|
|
4568
|
+
z.registerLanguage("ts", Qe);
|
|
4569
|
+
z.registerLanguage("typescript", Qe);
|
|
4710
4570
|
const _2 = ({ language: e, children: n, ...t }) => /* @__PURE__ */ m(
|
|
4711
4571
|
z,
|
|
4712
4572
|
{
|
|
4713
4573
|
...t,
|
|
4714
4574
|
language: e,
|
|
4715
|
-
style:
|
|
4575
|
+
style: r2,
|
|
4716
4576
|
customStyle: {
|
|
4717
4577
|
backgroundColor: "var(--color-ultra-light-grey)",
|
|
4718
4578
|
padding: "var(--spacing-s)",
|
|
@@ -4721,50 +4581,31 @@ const _2 = ({ language: e, children: n, ...t }) => /* @__PURE__ */ m(
|
|
|
4721
4581
|
PreTag: "div",
|
|
4722
4582
|
children: n
|
|
4723
4583
|
}
|
|
4724
|
-
),
|
|
4584
|
+
), o2 = K(({ as: e = "h1", size: n, children: t, className: a, ...s }, c) => /* @__PURE__ */ m(U, { ...s, as: e, ref: c, className: P({ [`heading-${n}`]: !!n }, a), children: t }));
|
|
4585
|
+
o2.displayName = "Heading";
|
|
4586
|
+
const r0 = K(({ as: e = "p", size: n, className: t, children: a, ...s }, c) => /* @__PURE__ */ m(U, { ...s, as: e, ref: c, className: P({ [`text-${n}`]: !!n }, t), children: a }));
|
|
4587
|
+
r0.displayName = "Text";
|
|
4588
|
+
const w2 = K(
|
|
4589
|
+
({ as: e = "blockquote", children: n, className: t, ...a }, s) => /* @__PURE__ */ m(U, { ...a, as: e, ref: s, className: P("blockquote", t), children: n })
|
|
4590
|
+
);
|
|
4591
|
+
const l2 = K(({ as: e = "div", isLoading: n = !0, children: t, ...a }, s) => /* @__PURE__ */ m(ce, { children: n ? /* @__PURE__ */ m(
|
|
4725
4592
|
U,
|
|
4726
4593
|
{
|
|
4727
4594
|
...a,
|
|
4728
4595
|
as: e,
|
|
4729
4596
|
ref: s,
|
|
4730
|
-
|
|
4731
|
-
|
|
4597
|
+
bg: "ultra-light-grey",
|
|
4598
|
+
className: P(n ? ["skeleton", "animate-pulse"] : void 0, a.className),
|
|
4599
|
+
children: t ?? /* @__PURE__ */ m(U, { children: /* @__PURE__ */ m(ce, { children: " " }) })
|
|
4732
4600
|
}
|
|
4733
|
-
));
|
|
4734
|
-
r2.displayName = "Heading";
|
|
4735
|
-
const m0 = c0(({ as: e = "p", size: n, children: t, ...a }, s) => /* @__PURE__ */ m(U, { ...a, as: e, ref: s, textSize: n, children: t }));
|
|
4736
|
-
m0.displayName = "Text";
|
|
4737
|
-
const w2 = (e) => /* @__PURE__ */ m(U, { ...e, as: "blockquote", className: $("blockquote", e.className) });
|
|
4738
|
-
const l2 = c0(
|
|
4739
|
-
({ as: e = "div", isLoading: n = !0, children: t, ...a }, s) => /* @__PURE__ */ m(ce, { children: n ? /* @__PURE__ */ m(
|
|
4740
|
-
U,
|
|
4741
|
-
{
|
|
4742
|
-
...a,
|
|
4743
|
-
as: e,
|
|
4744
|
-
ref: s,
|
|
4745
|
-
bg: "ultra-light-grey",
|
|
4746
|
-
className: $($(n ? ["skeleton", "animate-pulse"] : void 0), a.className),
|
|
4747
|
-
children: t || /* @__PURE__ */ m(U, { children: /* @__PURE__ */ m(ce, { children: " " }) })
|
|
4748
|
-
}
|
|
4749
|
-
) : t })
|
|
4750
|
-
);
|
|
4601
|
+
) : t }));
|
|
4751
4602
|
l2.displayName = "Skeleton";
|
|
4752
|
-
const u2 =
|
|
4753
|
-
q0,
|
|
4754
|
-
|
|
4755
|
-
|
|
4756
|
-
|
|
4757
|
-
|
|
4758
|
-
alignItems: "center",
|
|
4759
|
-
color: "amaranth",
|
|
4760
|
-
className: $("link", s.className),
|
|
4761
|
-
textSize: n,
|
|
4762
|
-
children: [
|
|
4763
|
-
t && /* @__PURE__ */ m(V0, { name: t }),
|
|
4764
|
-
/* @__PURE__ */ m(m0, { as: "span", children: a })
|
|
4765
|
-
]
|
|
4766
|
-
}
|
|
4767
|
-
));
|
|
4603
|
+
const u2 = K(
|
|
4604
|
+
({ as: e = "a", icon: n, className: t, children: a, ...s }, c) => n ? /* @__PURE__ */ H(q0, { ...s, ref: c, as: e, alignItems: "center", color: "amaranth", className: P("link", t), children: [
|
|
4605
|
+
n && /* @__PURE__ */ m(Z0, { name: n }),
|
|
4606
|
+
/* @__PURE__ */ m(r0, { as: "span", children: a })
|
|
4607
|
+
] }) : /* @__PURE__ */ m(U, { ...s, ref: c, as: e, color: "amaranth", className: P("link", t), children: a })
|
|
4608
|
+
);
|
|
4768
4609
|
u2.displayName = "Link";
|
|
4769
4610
|
const S2 = [
|
|
4770
4611
|
"note",
|
|
@@ -4779,35 +4620,36 @@ const S2 = [
|
|
|
4779
4620
|
"bug",
|
|
4780
4621
|
"example",
|
|
4781
4622
|
"quote"
|
|
4782
|
-
], O2 = ({
|
|
4783
|
-
/* @__PURE__ */ m(
|
|
4784
|
-
/* @__PURE__ */ m(U, { p: "xxs", children:
|
|
4785
|
-
] });
|
|
4786
|
-
const g2 =
|
|
4787
|
-
({ input: e, buttonClose: n, buttonSearch: t,
|
|
4623
|
+
], O2 = K(({ as: e = "div", variant: n, title: t, children: a, ...s }, c) => /* @__PURE__ */ H(U, { ...s, as: e, ref: c, className: P("reminder", `reminder--${n}`), children: [
|
|
4624
|
+
/* @__PURE__ */ m(r0, { className: "reminder__title", children: t }),
|
|
4625
|
+
/* @__PURE__ */ m(U, { p: "xxs", children: a })
|
|
4626
|
+
] }));
|
|
4627
|
+
const g2 = K(
|
|
4628
|
+
({ input: e, buttonClose: n = {}, buttonSearch: t, className: a, ...s }, c) => /* @__PURE__ */ H(
|
|
4788
4629
|
U,
|
|
4789
4630
|
{
|
|
4790
|
-
|
|
4791
|
-
|
|
4631
|
+
...s,
|
|
4632
|
+
className: P("search-field", { "search-field--has-value": !!e.value }, a),
|
|
4633
|
+
ref: c,
|
|
4792
4634
|
children: [
|
|
4793
|
-
/* @__PURE__ */ m(U, {
|
|
4635
|
+
/* @__PURE__ */ m(U, { as: "input", ...e, className: "search-field__input" }),
|
|
4794
4636
|
/* @__PURE__ */ H(q0, { justifyContent: "center", alignItems: "center", className: "search-field__actions-container", children: [
|
|
4795
|
-
!!e.value && /* @__PURE__ */ m(U, { as: "button", className: "search-field__button-action",
|
|
4637
|
+
!!e.value && /* @__PURE__ */ m(U, { as: "button", ...n, className: "search-field__button-action", children: /* @__PURE__ */ m(Z0, { name: "close", color: "grey", size: "1.5rem" }) }),
|
|
4796
4638
|
/* @__PURE__ */ m(U, { className: "search-field__separator-button", ml: "xs" }),
|
|
4797
|
-
/* @__PURE__ */ m(U, { as: "button", className: "search-field__button-action",
|
|
4639
|
+
/* @__PURE__ */ m(U, { as: "button", ...t, className: "search-field__button-action", children: /* @__PURE__ */ m(Z0, { name: "search", color: "amaranth", size: "2.5rem", mx: "xs" }) })
|
|
4798
4640
|
] })
|
|
4799
4641
|
]
|
|
4800
4642
|
}
|
|
4801
4643
|
)
|
|
4802
4644
|
);
|
|
4803
4645
|
g2.displayName = "SearchField";
|
|
4804
|
-
var
|
|
4646
|
+
var n1 = { exports: {} };
|
|
4805
4647
|
(function(e, n) {
|
|
4806
4648
|
(function(t, a) {
|
|
4807
4649
|
e.exports = a();
|
|
4808
4650
|
})(Ne, () => {
|
|
4809
|
-
return t = { 772: (s, c,
|
|
4810
|
-
const i =
|
|
4651
|
+
return t = { 772: (s, c, o) => {
|
|
4652
|
+
const i = o(826).remove, r = /[.*+?^${}()|[\]\\]/g, g = /[a-z0-9_]/i, l = /\s+/;
|
|
4811
4653
|
s.exports = function(d, b, v) {
|
|
4812
4654
|
var L, S;
|
|
4813
4655
|
S = { insideWords: !1, findAllOccurrences: !1, requireMatchAll: !1 }, L = (L = v) || {}, Object.keys(L).forEach((w) => {
|
|
@@ -4815,15 +4657,15 @@ var t1 = { exports: {} };
|
|
|
4815
4657
|
}), v = S;
|
|
4816
4658
|
const A = Array.from(d).map((w) => i(w));
|
|
4817
4659
|
let x = A.join("");
|
|
4818
|
-
return (b = i(b)).trim().split(
|
|
4819
|
-
const R = M.length, k = !v.insideWords && g.test(M[0]) ? "\\b" : "", _ = new RegExp(k + M.replace(
|
|
4820
|
-
let T,
|
|
4660
|
+
return (b = i(b)).trim().split(l).filter((w) => w.length > 0).reduce((w, M) => {
|
|
4661
|
+
const R = M.length, k = !v.insideWords && g.test(M[0]) ? "\\b" : "", _ = new RegExp(k + M.replace(r, "\\$&"), "i");
|
|
4662
|
+
let T, $;
|
|
4821
4663
|
if (T = _.exec(x), v.requireMatchAll && T === null)
|
|
4822
4664
|
return x = "", [];
|
|
4823
4665
|
for (; T; ) {
|
|
4824
|
-
|
|
4825
|
-
const
|
|
4826
|
-
if (
|
|
4666
|
+
$ = T.index;
|
|
4667
|
+
const Y = R - A.slice($, $ + R).join("").length, q = $ - A.slice(0, $).join("").length, Q = [$ + q, $ + R + q + Y];
|
|
4668
|
+
if (Q[0] !== Q[1] && w.push(Q), x = x.slice(0, $) + new Array(R + 1).join(" ") + x.slice($ + R), !v.findAllOccurrences)
|
|
4827
4669
|
break;
|
|
4828
4670
|
T = _.exec(x);
|
|
4829
4671
|
}
|
|
@@ -4831,72 +4673,72 @@ var t1 = { exports: {} };
|
|
|
4831
4673
|
}, []).sort((w, M) => w[0] - M[0]);
|
|
4832
4674
|
};
|
|
4833
4675
|
}, 826: (s) => {
|
|
4834
|
-
var c = { À: "A", Á: "A", Â: "A", Ã: "A", Ä: "A", Å: "A", Ấ: "A", Ắ: "A", Ẳ: "A", Ẵ: "A", Ặ: "A", Æ: "AE", Ầ: "A", Ằ: "A", Ȃ: "A", Ç: "C", Ḉ: "C", È: "E", É: "E", Ê: "E", Ë: "E", Ế: "E", Ḗ: "E", Ề: "E", Ḕ: "E", Ḝ: "E", Ȇ: "E", Ì: "I", Í: "I", Î: "I", Ï: "I", Ḯ: "I", Ȋ: "I", Ð: "D", Ñ: "N", Ò: "O", Ó: "O", Ô: "O", Õ: "O", Ö: "O", Ø: "O", Ố: "O", Ṍ: "O", Ṓ: "O", Ȏ: "O", Ù: "U", Ú: "U", Û: "U", Ü: "U", Ý: "Y", à: "a", á: "a", â: "a", ã: "a", ä: "a", å: "a", ấ: "a", ắ: "a", ẳ: "a", ẵ: "a", ặ: "a", æ: "ae", ầ: "a", ằ: "a", ȃ: "a", ç: "c", ḉ: "c", è: "e", é: "e", ê: "e", ë: "e", ế: "e", ḗ: "e", ề: "e", ḕ: "e", ḝ: "e", ȇ: "e", ì: "i", í: "i", î: "i", ï: "i", ḯ: "i", ȋ: "i", ð: "d", ñ: "n", ò: "o", ó: "o", ô: "o", õ: "o", ö: "o", ø: "o", ố: "o", ṍ: "o", ṓ: "o", ȏ: "o", ù: "u", ú: "u", û: "u", ü: "u", ý: "y", ÿ: "y", Ā: "A", ā: "a", Ă: "A", ă: "a", Ą: "A", ą: "a", Ć: "C", ć: "c", Ĉ: "C", ĉ: "c", Ċ: "C", ċ: "c", Č: "C", č: "c", C̆: "C", c̆: "c", Ď: "D", ď: "d", Đ: "D", đ: "d", Ē: "E", ē: "e", Ĕ: "E", ĕ: "e", Ė: "E", ė: "e", Ę: "E", ę: "e", Ě: "E", ě: "e", Ĝ: "G", Ǵ: "G", ĝ: "g", ǵ: "g", Ğ: "G", ğ: "g", Ġ: "G", ġ: "g", Ģ: "G", ģ: "g", Ĥ: "H", ĥ: "h", Ħ: "H", ħ: "h", Ḫ: "H", ḫ: "h", Ĩ: "I", ĩ: "i", Ī: "I", ī: "i", Ĭ: "I", ĭ: "i", Į: "I", į: "i", İ: "I", ı: "i", IJ: "IJ", ij: "ij", Ĵ: "J", ĵ: "j", Ķ: "K", ķ: "k", Ḱ: "K", ḱ: "k", K̆: "K", k̆: "k", Ĺ: "L", ĺ: "l", Ļ: "L", ļ: "l", Ľ: "L", ľ: "l", Ŀ: "L", ŀ: "l", Ł: "l", ł: "l", Ḿ: "M", ḿ: "m", M̆: "M", m̆: "m", Ń: "N", ń: "n", Ņ: "N", ņ: "n", Ň: "N", ň: "n", ʼn: "n", N̆: "N", n̆: "n", Ō: "O", ō: "o", Ŏ: "O", ŏ: "o", Ő: "O", ő: "o", Œ: "OE", œ: "oe", P̆: "P", p̆: "p", Ŕ: "R", ŕ: "r", Ŗ: "R", ŗ: "r", Ř: "R", ř: "r", R̆: "R", r̆: "r", Ȓ: "R", ȓ: "r", Ś: "S", ś: "s", Ŝ: "S", ŝ: "s", Ş: "S", Ș: "S", ș: "s", ş: "s", Š: "S", š: "s", Ţ: "T", ţ: "t", ț: "t", Ț: "T", Ť: "T", ť: "t", Ŧ: "T", ŧ: "t", T̆: "T", t̆: "t", Ũ: "U", ũ: "u", Ū: "U", ū: "u", Ŭ: "U", ŭ: "u", Ů: "U", ů: "u", Ű: "U", ű: "u", Ų: "U", ų: "u", Ȗ: "U", ȗ: "u", V̆: "V", v̆: "v", Ŵ: "W", ŵ: "w", Ẃ: "W", ẃ: "w", X̆: "X", x̆: "x", Ŷ: "Y", ŷ: "y", Ÿ: "Y", Y̆: "Y", y̆: "y", Ź: "Z", ź: "z", Ż: "Z", ż: "z", Ž: "Z", ž: "z", ſ: "s", ƒ: "f", Ơ: "O", ơ: "o", Ư: "U", ư: "u", Ǎ: "A", ǎ: "a", Ǐ: "I", ǐ: "i", Ǒ: "O", ǒ: "o", Ǔ: "U", ǔ: "u", Ǖ: "U", ǖ: "u", Ǘ: "U", ǘ: "u", Ǚ: "U", ǚ: "u", Ǜ: "U", ǜ: "u", Ứ: "U", ứ: "u", Ṹ: "U", ṹ: "u", Ǻ: "A", ǻ: "a", Ǽ: "AE", ǽ: "ae", Ǿ: "O", ǿ: "o", Þ: "TH", þ: "th", Ṕ: "P", ṕ: "p", Ṥ: "S", ṥ: "s", X́: "X", x́: "x", Ѓ: "Г", ѓ: "г", Ќ: "К", ќ: "к", A̋: "A", a̋: "a", E̋: "E", e̋: "e", I̋: "I", i̋: "i", Ǹ: "N", ǹ: "n", Ồ: "O", ồ: "o", Ṑ: "O", ṑ: "o", Ừ: "U", ừ: "u", Ẁ: "W", ẁ: "w", Ỳ: "Y", ỳ: "y", Ȁ: "A", ȁ: "a", Ȅ: "E", ȅ: "e", Ȉ: "I", ȉ: "i", Ȍ: "O", ȍ: "o", Ȑ: "R", ȑ: "r", Ȕ: "U", ȕ: "u", B̌: "B", b̌: "b", Č̣: "C", č̣: "c", Ê̌: "E", ê̌: "e", F̌: "F", f̌: "f", Ǧ: "G", ǧ: "g", Ȟ: "H", ȟ: "h", J̌: "J", ǰ: "j", Ǩ: "K", ǩ: "k", M̌: "M", m̌: "m", P̌: "P", p̌: "p", Q̌: "Q", q̌: "q", Ř̩: "R", ř̩: "r", Ṧ: "S", ṧ: "s", V̌: "V", v̌: "v", W̌: "W", w̌: "w", X̌: "X", x̌: "x", Y̌: "Y", y̌: "y", A̧: "A", a̧: "a", B̧: "B", b̧: "b", Ḑ: "D", ḑ: "d", Ȩ: "E", ȩ: "e", Ɛ̧: "E", ɛ̧: "e", Ḩ: "H", ḩ: "h", I̧: "I", i̧: "i", Ɨ̧: "I", ɨ̧: "i", M̧: "M", m̧: "m", O̧: "O", o̧: "o", Q̧: "Q", q̧: "q", U̧: "U", u̧: "u", X̧: "X", x̧: "x", Z̧: "Z", z̧: "z" },
|
|
4835
|
-
return
|
|
4676
|
+
var c = { À: "A", Á: "A", Â: "A", Ã: "A", Ä: "A", Å: "A", Ấ: "A", Ắ: "A", Ẳ: "A", Ẵ: "A", Ặ: "A", Æ: "AE", Ầ: "A", Ằ: "A", Ȃ: "A", Ç: "C", Ḉ: "C", È: "E", É: "E", Ê: "E", Ë: "E", Ế: "E", Ḗ: "E", Ề: "E", Ḕ: "E", Ḝ: "E", Ȇ: "E", Ì: "I", Í: "I", Î: "I", Ï: "I", Ḯ: "I", Ȋ: "I", Ð: "D", Ñ: "N", Ò: "O", Ó: "O", Ô: "O", Õ: "O", Ö: "O", Ø: "O", Ố: "O", Ṍ: "O", Ṓ: "O", Ȏ: "O", Ù: "U", Ú: "U", Û: "U", Ü: "U", Ý: "Y", à: "a", á: "a", â: "a", ã: "a", ä: "a", å: "a", ấ: "a", ắ: "a", ẳ: "a", ẵ: "a", ặ: "a", æ: "ae", ầ: "a", ằ: "a", ȃ: "a", ç: "c", ḉ: "c", è: "e", é: "e", ê: "e", ë: "e", ế: "e", ḗ: "e", ề: "e", ḕ: "e", ḝ: "e", ȇ: "e", ì: "i", í: "i", î: "i", ï: "i", ḯ: "i", ȋ: "i", ð: "d", ñ: "n", ò: "o", ó: "o", ô: "o", õ: "o", ö: "o", ø: "o", ố: "o", ṍ: "o", ṓ: "o", ȏ: "o", ù: "u", ú: "u", û: "u", ü: "u", ý: "y", ÿ: "y", Ā: "A", ā: "a", Ă: "A", ă: "a", Ą: "A", ą: "a", Ć: "C", ć: "c", Ĉ: "C", ĉ: "c", Ċ: "C", ċ: "c", Č: "C", č: "c", C̆: "C", c̆: "c", Ď: "D", ď: "d", Đ: "D", đ: "d", Ē: "E", ē: "e", Ĕ: "E", ĕ: "e", Ė: "E", ė: "e", Ę: "E", ę: "e", Ě: "E", ě: "e", Ĝ: "G", Ǵ: "G", ĝ: "g", ǵ: "g", Ğ: "G", ğ: "g", Ġ: "G", ġ: "g", Ģ: "G", ģ: "g", Ĥ: "H", ĥ: "h", Ħ: "H", ħ: "h", Ḫ: "H", ḫ: "h", Ĩ: "I", ĩ: "i", Ī: "I", ī: "i", Ĭ: "I", ĭ: "i", Į: "I", į: "i", İ: "I", ı: "i", IJ: "IJ", ij: "ij", Ĵ: "J", ĵ: "j", Ķ: "K", ķ: "k", Ḱ: "K", ḱ: "k", K̆: "K", k̆: "k", Ĺ: "L", ĺ: "l", Ļ: "L", ļ: "l", Ľ: "L", ľ: "l", Ŀ: "L", ŀ: "l", Ł: "l", ł: "l", Ḿ: "M", ḿ: "m", M̆: "M", m̆: "m", Ń: "N", ń: "n", Ņ: "N", ņ: "n", Ň: "N", ň: "n", ʼn: "n", N̆: "N", n̆: "n", Ō: "O", ō: "o", Ŏ: "O", ŏ: "o", Ő: "O", ő: "o", Œ: "OE", œ: "oe", P̆: "P", p̆: "p", Ŕ: "R", ŕ: "r", Ŗ: "R", ŗ: "r", Ř: "R", ř: "r", R̆: "R", r̆: "r", Ȓ: "R", ȓ: "r", Ś: "S", ś: "s", Ŝ: "S", ŝ: "s", Ş: "S", Ș: "S", ș: "s", ş: "s", Š: "S", š: "s", Ţ: "T", ţ: "t", ț: "t", Ț: "T", Ť: "T", ť: "t", Ŧ: "T", ŧ: "t", T̆: "T", t̆: "t", Ũ: "U", ũ: "u", Ū: "U", ū: "u", Ŭ: "U", ŭ: "u", Ů: "U", ů: "u", Ű: "U", ű: "u", Ų: "U", ų: "u", Ȗ: "U", ȗ: "u", V̆: "V", v̆: "v", Ŵ: "W", ŵ: "w", Ẃ: "W", ẃ: "w", X̆: "X", x̆: "x", Ŷ: "Y", ŷ: "y", Ÿ: "Y", Y̆: "Y", y̆: "y", Ź: "Z", ź: "z", Ż: "Z", ż: "z", Ž: "Z", ž: "z", ſ: "s", ƒ: "f", Ơ: "O", ơ: "o", Ư: "U", ư: "u", Ǎ: "A", ǎ: "a", Ǐ: "I", ǐ: "i", Ǒ: "O", ǒ: "o", Ǔ: "U", ǔ: "u", Ǖ: "U", ǖ: "u", Ǘ: "U", ǘ: "u", Ǚ: "U", ǚ: "u", Ǜ: "U", ǜ: "u", Ứ: "U", ứ: "u", Ṹ: "U", ṹ: "u", Ǻ: "A", ǻ: "a", Ǽ: "AE", ǽ: "ae", Ǿ: "O", ǿ: "o", Þ: "TH", þ: "th", Ṕ: "P", ṕ: "p", Ṥ: "S", ṥ: "s", X́: "X", x́: "x", Ѓ: "Г", ѓ: "г", Ќ: "К", ќ: "к", A̋: "A", a̋: "a", E̋: "E", e̋: "e", I̋: "I", i̋: "i", Ǹ: "N", ǹ: "n", Ồ: "O", ồ: "o", Ṑ: "O", ṑ: "o", Ừ: "U", ừ: "u", Ẁ: "W", ẁ: "w", Ỳ: "Y", ỳ: "y", Ȁ: "A", ȁ: "a", Ȅ: "E", ȅ: "e", Ȉ: "I", ȉ: "i", Ȍ: "O", ȍ: "o", Ȑ: "R", ȑ: "r", Ȕ: "U", ȕ: "u", B̌: "B", b̌: "b", Č̣: "C", č̣: "c", Ê̌: "E", ê̌: "e", F̌: "F", f̌: "f", Ǧ: "G", ǧ: "g", Ȟ: "H", ȟ: "h", J̌: "J", ǰ: "j", Ǩ: "K", ǩ: "k", M̌: "M", m̌: "m", P̌: "P", p̌: "p", Q̌: "Q", q̌: "q", Ř̩: "R", ř̩: "r", Ṧ: "S", ṧ: "s", V̌: "V", v̌: "v", W̌: "W", w̌: "w", X̌: "X", x̌: "x", Y̌: "Y", y̌: "y", A̧: "A", a̧: "a", B̧: "B", b̧: "b", Ḑ: "D", ḑ: "d", Ȩ: "E", ȩ: "e", Ɛ̧: "E", ɛ̧: "e", Ḩ: "H", ḩ: "h", I̧: "I", i̧: "i", Ɨ̧: "I", ɨ̧: "i", M̧: "M", m̧: "m", O̧: "O", o̧: "o", Q̧: "Q", q̧: "q", U̧: "U", u̧: "u", X̧: "X", x̧: "x", Z̧: "Z", z̧: "z" }, o = Object.keys(c).join("|"), i = new RegExp(o, "g"), r = new RegExp(o, ""), g = function(l) {
|
|
4677
|
+
return l.replace(i, function(d) {
|
|
4836
4678
|
return c[d];
|
|
4837
4679
|
});
|
|
4838
4680
|
};
|
|
4839
|
-
s.exports = g, s.exports.has = function(
|
|
4840
|
-
return !!
|
|
4681
|
+
s.exports = g, s.exports.has = function(l) {
|
|
4682
|
+
return !!l.match(r);
|
|
4841
4683
|
}, s.exports.remove = g;
|
|
4842
4684
|
} }, a = {}, function s(c) {
|
|
4843
|
-
var
|
|
4844
|
-
if (
|
|
4845
|
-
return
|
|
4685
|
+
var o = a[c];
|
|
4686
|
+
if (o !== void 0)
|
|
4687
|
+
return o.exports;
|
|
4846
4688
|
var i = a[c] = { exports: {} };
|
|
4847
4689
|
return t[c](i, i.exports, s), i.exports;
|
|
4848
4690
|
}(772);
|
|
4849
4691
|
var t, a;
|
|
4850
4692
|
});
|
|
4851
|
-
})(
|
|
4852
|
-
var d2 =
|
|
4693
|
+
})(n1);
|
|
4694
|
+
var d2 = n1.exports;
|
|
4853
4695
|
const m2 = /* @__PURE__ */ V(d2);
|
|
4854
|
-
var
|
|
4696
|
+
var t1 = { exports: {} };
|
|
4855
4697
|
(function(e, n) {
|
|
4856
4698
|
(function(t, a) {
|
|
4857
4699
|
e.exports = a();
|
|
4858
4700
|
})(Ne, () => {
|
|
4859
4701
|
return t = { 705: (s) => {
|
|
4860
|
-
s.exports = function(c,
|
|
4702
|
+
s.exports = function(c, o) {
|
|
4861
4703
|
const i = [];
|
|
4862
|
-
return
|
|
4863
|
-
const
|
|
4864
|
-
i.push({ text: c.slice(
|
|
4704
|
+
return o.length === 0 ? i.push({ text: c, highlight: !1 }) : o[0][0] > 0 && i.push({ text: c.slice(0, o[0][0]), highlight: !1 }), o.forEach((r, g) => {
|
|
4705
|
+
const l = r[0], d = r[1];
|
|
4706
|
+
i.push({ text: c.slice(l, d), highlight: !0 }), g === o.length - 1 ? d < c.length && i.push({ text: c.slice(d, c.length), highlight: !1 }) : d < o[g + 1][0] && i.push({ text: c.slice(d, o[g + 1][0]), highlight: !1 });
|
|
4865
4707
|
}), i;
|
|
4866
4708
|
};
|
|
4867
4709
|
} }, a = {}, function s(c) {
|
|
4868
|
-
var
|
|
4869
|
-
if (
|
|
4870
|
-
return
|
|
4710
|
+
var o = a[c];
|
|
4711
|
+
if (o !== void 0)
|
|
4712
|
+
return o.exports;
|
|
4871
4713
|
var i = a[c] = { exports: {} };
|
|
4872
4714
|
return t[c](i, i.exports, s), i.exports;
|
|
4873
4715
|
}(705);
|
|
4874
4716
|
var t, a;
|
|
4875
4717
|
});
|
|
4876
|
-
})(
|
|
4877
|
-
var f2 =
|
|
4878
|
-
const
|
|
4879
|
-
const s =
|
|
4718
|
+
})(t1);
|
|
4719
|
+
var f2 = t1.exports;
|
|
4720
|
+
const p2 = /* @__PURE__ */ V(f2), h2 = K(({ text: e, textQuery: n = "", ...t }, a) => {
|
|
4721
|
+
const s = X0.useMemo(() => {
|
|
4880
4722
|
const c = m2(e, n, { findAllOccurrences: !0 });
|
|
4881
|
-
return
|
|
4723
|
+
return p2(e, c);
|
|
4882
4724
|
}, [e, n]);
|
|
4883
|
-
return /* @__PURE__ */ m(
|
|
4884
|
-
|
|
4725
|
+
return /* @__PURE__ */ m(r0, { ...t, ref: a, children: s.map((c, o) => /* @__PURE__ */ m(
|
|
4726
|
+
r0,
|
|
4885
4727
|
{
|
|
4886
4728
|
as: "span",
|
|
4887
4729
|
fontWeight: c.highlight ? "medium" : "regular",
|
|
4888
4730
|
color: c.highlight ? "amaranth" : "black",
|
|
4889
4731
|
children: c.text
|
|
4890
4732
|
},
|
|
4891
|
-
|
|
4733
|
+
o
|
|
4892
4734
|
)) });
|
|
4893
4735
|
});
|
|
4894
|
-
|
|
4895
|
-
const b2 = typeof window
|
|
4896
|
-
}, A2 = (e) => {
|
|
4897
|
-
const [n, t] =
|
|
4736
|
+
h2.displayName = "TextHighlight";
|
|
4737
|
+
const b2 = typeof window > "u" ? () => {
|
|
4738
|
+
} : X0.useLayoutEffect, A2 = (e) => {
|
|
4739
|
+
const [n, t] = X0.useState(!1);
|
|
4898
4740
|
return b2(() => {
|
|
4899
|
-
const a = window.matchMedia(
|
|
4741
|
+
const a = window.matchMedia(B1[e]);
|
|
4900
4742
|
a.matches !== n && t(a.matches);
|
|
4901
4743
|
const s = () => t(a.matches);
|
|
4902
4744
|
return window.addEventListener("resize", s), () => window.removeEventListener("resize", s);
|
|
@@ -4905,10 +4747,10 @@ const b2 = typeof window < "u" ? P0.useLayoutEffect : () => {
|
|
|
4905
4747
|
export {
|
|
4906
4748
|
w2 as Blockquote,
|
|
4907
4749
|
U as Box,
|
|
4908
|
-
|
|
4750
|
+
M1 as Button,
|
|
4909
4751
|
q0 as Flex,
|
|
4910
|
-
|
|
4911
|
-
|
|
4752
|
+
o2 as Heading,
|
|
4753
|
+
Z0 as Icon,
|
|
4912
4754
|
u2 as Link,
|
|
4913
4755
|
x2 as Logo,
|
|
4914
4756
|
O2 as Reminder,
|
|
@@ -4916,11 +4758,11 @@ export {
|
|
|
4916
4758
|
l2 as Skeleton,
|
|
4917
4759
|
O1 as Svgs,
|
|
4918
4760
|
_2 as SyntaxHighlighter,
|
|
4919
|
-
|
|
4920
|
-
|
|
4761
|
+
r0 as Text,
|
|
4762
|
+
h2 as TextHighlight,
|
|
4921
4763
|
y2 as buttonVariant,
|
|
4922
|
-
c0 as forwardRef,
|
|
4923
4764
|
N2 as logoName,
|
|
4765
|
+
K as polyRef,
|
|
4924
4766
|
S2 as reminderVariantList,
|
|
4925
4767
|
b2 as useLayoutEffect,
|
|
4926
4768
|
A2 as useMediaQuery
|