@devslab/site-kit 0.14.1 → 0.16.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/README.ko.md +266 -3
- package/README.md +266 -3
- package/dist/chrome.d.ts +10 -0
- package/dist/chrome.d.ts.map +1 -1
- package/dist/consent.d.ts +36 -0
- package/dist/consent.d.ts.map +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/solid.js +336 -135
- package/dist/solid.js.map +1 -1
- package/dist/solid.server.js +282 -25
- package/dist/solid.server.js.map +1 -1
- package/fonts/geist/LICENSE.txt +93 -0
- package/fonts/geist/geist-cyrillic-ext-wght-normal.woff2 +0 -0
- package/fonts/geist/geist-cyrillic-wght-normal.woff2 +0 -0
- package/fonts/geist/geist-latin-ext-wght-normal.woff2 +0 -0
- package/fonts/geist/geist-latin-wght-normal.woff2 +0 -0
- package/fonts/geist/geist-vietnamese-wght-normal.woff2 +0 -0
- package/fonts/geist-mono/LICENSE.txt +93 -0
- package/fonts/geist-mono/geist-mono-cyrillic-ext-wght-normal.woff2 +0 -0
- package/fonts/geist-mono/geist-mono-cyrillic-wght-normal.woff2 +0 -0
- package/fonts/geist-mono/geist-mono-latin-ext-wght-normal.woff2 +0 -0
- package/fonts/geist-mono/geist-mono-latin-wght-normal.woff2 +0 -0
- package/fonts/geist-mono/geist-mono-symbols2-wght-normal.woff2 +0 -0
- package/fonts/geist-mono/geist-mono-vietnamese-wght-normal.woff2 +0 -0
- package/fonts/manifest.json +674 -0
- package/fonts/pretendard/LICENSE.txt +94 -0
- package/fonts/pretendard/PretendardVariable.subset.0.woff2 +0 -0
- package/fonts/pretendard/PretendardVariable.subset.1.woff2 +0 -0
- package/fonts/pretendard/PretendardVariable.subset.10.woff2 +0 -0
- package/fonts/pretendard/PretendardVariable.subset.11.woff2 +0 -0
- package/fonts/pretendard/PretendardVariable.subset.12.woff2 +0 -0
- package/fonts/pretendard/PretendardVariable.subset.13.woff2 +0 -0
- package/fonts/pretendard/PretendardVariable.subset.14.woff2 +0 -0
- package/fonts/pretendard/PretendardVariable.subset.15.woff2 +0 -0
- package/fonts/pretendard/PretendardVariable.subset.16.woff2 +0 -0
- package/fonts/pretendard/PretendardVariable.subset.17.woff2 +0 -0
- package/fonts/pretendard/PretendardVariable.subset.18.woff2 +0 -0
- package/fonts/pretendard/PretendardVariable.subset.19.woff2 +0 -0
- package/fonts/pretendard/PretendardVariable.subset.2.woff2 +0 -0
- package/fonts/pretendard/PretendardVariable.subset.20.woff2 +0 -0
- package/fonts/pretendard/PretendardVariable.subset.21.woff2 +0 -0
- package/fonts/pretendard/PretendardVariable.subset.22.woff2 +0 -0
- package/fonts/pretendard/PretendardVariable.subset.23.woff2 +0 -0
- package/fonts/pretendard/PretendardVariable.subset.24.woff2 +0 -0
- package/fonts/pretendard/PretendardVariable.subset.25.woff2 +0 -0
- package/fonts/pretendard/PretendardVariable.subset.26.woff2 +0 -0
- package/fonts/pretendard/PretendardVariable.subset.27.woff2 +0 -0
- package/fonts/pretendard/PretendardVariable.subset.28.woff2 +0 -0
- package/fonts/pretendard/PretendardVariable.subset.29.woff2 +0 -0
- package/fonts/pretendard/PretendardVariable.subset.3.woff2 +0 -0
- package/fonts/pretendard/PretendardVariable.subset.30.woff2 +0 -0
- package/fonts/pretendard/PretendardVariable.subset.31.woff2 +0 -0
- package/fonts/pretendard/PretendardVariable.subset.32.woff2 +0 -0
- package/fonts/pretendard/PretendardVariable.subset.33.woff2 +0 -0
- package/fonts/pretendard/PretendardVariable.subset.34.woff2 +0 -0
- package/fonts/pretendard/PretendardVariable.subset.35.woff2 +0 -0
- package/fonts/pretendard/PretendardVariable.subset.36.woff2 +0 -0
- package/fonts/pretendard/PretendardVariable.subset.37.woff2 +0 -0
- package/fonts/pretendard/PretendardVariable.subset.38.woff2 +0 -0
- package/fonts/pretendard/PretendardVariable.subset.39.woff2 +0 -0
- package/fonts/pretendard/PretendardVariable.subset.4.woff2 +0 -0
- package/fonts/pretendard/PretendardVariable.subset.40.woff2 +0 -0
- package/fonts/pretendard/PretendardVariable.subset.41.woff2 +0 -0
- package/fonts/pretendard/PretendardVariable.subset.42.woff2 +0 -0
- package/fonts/pretendard/PretendardVariable.subset.43.woff2 +0 -0
- package/fonts/pretendard/PretendardVariable.subset.44.woff2 +0 -0
- package/fonts/pretendard/PretendardVariable.subset.45.woff2 +0 -0
- package/fonts/pretendard/PretendardVariable.subset.46.woff2 +0 -0
- package/fonts/pretendard/PretendardVariable.subset.47.woff2 +0 -0
- package/fonts/pretendard/PretendardVariable.subset.48.woff2 +0 -0
- package/fonts/pretendard/PretendardVariable.subset.49.woff2 +0 -0
- package/fonts/pretendard/PretendardVariable.subset.5.woff2 +0 -0
- package/fonts/pretendard/PretendardVariable.subset.50.woff2 +0 -0
- package/fonts/pretendard/PretendardVariable.subset.51.woff2 +0 -0
- package/fonts/pretendard/PretendardVariable.subset.52.woff2 +0 -0
- package/fonts/pretendard/PretendardVariable.subset.53.woff2 +0 -0
- package/fonts/pretendard/PretendardVariable.subset.54.woff2 +0 -0
- package/fonts/pretendard/PretendardVariable.subset.55.woff2 +0 -0
- package/fonts/pretendard/PretendardVariable.subset.56.woff2 +0 -0
- package/fonts/pretendard/PretendardVariable.subset.57.woff2 +0 -0
- package/fonts/pretendard/PretendardVariable.subset.58.woff2 +0 -0
- package/fonts/pretendard/PretendardVariable.subset.59.woff2 +0 -0
- package/fonts/pretendard/PretendardVariable.subset.6.woff2 +0 -0
- package/fonts/pretendard/PretendardVariable.subset.60.woff2 +0 -0
- package/fonts/pretendard/PretendardVariable.subset.61.woff2 +0 -0
- package/fonts/pretendard/PretendardVariable.subset.62.woff2 +0 -0
- package/fonts/pretendard/PretendardVariable.subset.63.woff2 +0 -0
- package/fonts/pretendard/PretendardVariable.subset.64.woff2 +0 -0
- package/fonts/pretendard/PretendardVariable.subset.65.woff2 +0 -0
- package/fonts/pretendard/PretendardVariable.subset.66.woff2 +0 -0
- package/fonts/pretendard/PretendardVariable.subset.67.woff2 +0 -0
- package/fonts/pretendard/PretendardVariable.subset.68.woff2 +0 -0
- package/fonts/pretendard/PretendardVariable.subset.69.woff2 +0 -0
- package/fonts/pretendard/PretendardVariable.subset.7.woff2 +0 -0
- package/fonts/pretendard/PretendardVariable.subset.70.woff2 +0 -0
- package/fonts/pretendard/PretendardVariable.subset.71.woff2 +0 -0
- package/fonts/pretendard/PretendardVariable.subset.72.woff2 +0 -0
- package/fonts/pretendard/PretendardVariable.subset.73.woff2 +0 -0
- package/fonts/pretendard/PretendardVariable.subset.74.woff2 +0 -0
- package/fonts/pretendard/PretendardVariable.subset.75.woff2 +0 -0
- package/fonts/pretendard/PretendardVariable.subset.76.woff2 +0 -0
- package/fonts/pretendard/PretendardVariable.subset.77.woff2 +0 -0
- package/fonts/pretendard/PretendardVariable.subset.78.woff2 +0 -0
- package/fonts/pretendard/PretendardVariable.subset.79.woff2 +0 -0
- package/fonts/pretendard/PretendardVariable.subset.8.woff2 +0 -0
- package/fonts/pretendard/PretendardVariable.subset.80.woff2 +0 -0
- package/fonts/pretendard/PretendardVariable.subset.81.woff2 +0 -0
- package/fonts/pretendard/PretendardVariable.subset.82.woff2 +0 -0
- package/fonts/pretendard/PretendardVariable.subset.83.woff2 +0 -0
- package/fonts/pretendard/PretendardVariable.subset.84.woff2 +0 -0
- package/fonts/pretendard/PretendardVariable.subset.85.woff2 +0 -0
- package/fonts/pretendard/PretendardVariable.subset.86.woff2 +0 -0
- package/fonts/pretendard/PretendardVariable.subset.87.woff2 +0 -0
- package/fonts/pretendard/PretendardVariable.subset.88.woff2 +0 -0
- package/fonts/pretendard/PretendardVariable.subset.89.woff2 +0 -0
- package/fonts/pretendard/PretendardVariable.subset.9.woff2 +0 -0
- package/fonts/pretendard/PretendardVariable.subset.90.woff2 +0 -0
- package/fonts/pretendard/PretendardVariable.subset.91.woff2 +0 -0
- package/fonts.css +937 -0
- package/package.json +10 -5
- package/src/core/consent.d.mts +160 -0
- package/src/core/consent.mjs +567 -0
- package/src/core/fonts.d.mts +5 -0
- package/src/core/fonts.mjs +39 -0
- package/src/core/index.d.mts +2 -0
- package/src/core/index.mjs +5 -0
- package/src/tanstack-start.d.mts +14 -2
- package/src/tanstack-start.mjs +39 -1
- package/styles.css +45 -2
package/dist/solid.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { className as e, createComponent as t, delegateEvents as n, effect as r, getNextElement as i, getNextMarker as a, insert as o, memo as s, mergeProps as c, runHydrationEvents as l, setAttribute as u, setProperty as d, spread as f, template as p, use as m } from "solid-js/web";
|
|
2
|
-
import { For as h, Show as g, createMemo as _, createSignal as v, createUniqueId as y,
|
|
3
|
-
import { Button as
|
|
2
|
+
import { For as h, Show as g, createMemo as _, createSignal as v, createUniqueId as y, onCleanup as b, onMount as x } from "solid-js";
|
|
3
|
+
import { Button as S, Dialog as C, Field as w, Icon as T, IconButton as E, Switch as D } from "@devslab/dds-solid";
|
|
4
4
|
//#region src/core/locales.mjs
|
|
5
|
-
var
|
|
5
|
+
var O = Object.freeze([
|
|
6
6
|
{
|
|
7
7
|
code: "ko",
|
|
8
8
|
language: "Korean",
|
|
@@ -87,25 +87,25 @@ var T = Object.freeze([
|
|
|
87
87
|
nativeName: "العربية",
|
|
88
88
|
dir: "rtl"
|
|
89
89
|
}
|
|
90
|
-
]),
|
|
91
|
-
function
|
|
92
|
-
let t = e.extra ?? [], n =
|
|
90
|
+
]), k = Object.freeze([["zh", "zh-TW"], ["pt", "pt-BR"]]);
|
|
91
|
+
function A(e = {}) {
|
|
92
|
+
let t = e.extra ?? [], n = O;
|
|
93
93
|
if (e.only !== void 0) {
|
|
94
94
|
if (e.only.length === 0) throw RangeError("`only` needs at least one locale — a registry with none is a bug, not a choice");
|
|
95
95
|
let t = new Set(e.only);
|
|
96
|
-
for (let e of t) if (!
|
|
97
|
-
n = Object.freeze(
|
|
96
|
+
for (let e of t) if (!O.some((t) => t.code === e)) throw RangeError(`${e} is not a family locale — \`only\` selects from the family list; use \`extra\` for a product's own`);
|
|
97
|
+
n = Object.freeze(O.filter((e) => t.has(e.code)));
|
|
98
98
|
}
|
|
99
99
|
let r = new Set(n.map(({ code: e }) => e));
|
|
100
100
|
for (let e of t) {
|
|
101
101
|
if (!e?.code) throw TypeError("every extra locale needs a code");
|
|
102
|
-
if (
|
|
102
|
+
if (O.some((t) => t.code === e.code)) throw RangeError(`${e.code} is already a family locale — remove it from \`extra\``);
|
|
103
103
|
if (r.has(e.code)) throw RangeError(`${e.code} appears twice in \`extra\``);
|
|
104
104
|
if (!e.nativeName) throw TypeError(`${e.code} needs a nativeName — it is what the picker shows`);
|
|
105
105
|
if (e.dir !== "ltr" && e.dir !== "rtl") throw RangeError(`${e.code} needs dir "ltr" or "rtl"`);
|
|
106
106
|
r.add(e.code);
|
|
107
107
|
}
|
|
108
|
-
let i = Object.freeze([...n, ...t.map((e) => Object.freeze({ ...e }))]), a = new Map(i.map((e) => [e.code.toLowerCase(), e])), o = new Map([...
|
|
108
|
+
let i = Object.freeze([...n, ...t.map((e) => Object.freeze({ ...e }))]), a = new Map(i.map((e) => [e.code.toLowerCase(), e])), o = new Map([...k, ...e.aliases ?? []]);
|
|
109
109
|
function s(e) {
|
|
110
110
|
if (!e) return;
|
|
111
111
|
let t = a.get(String(e).trim().toLowerCase());
|
|
@@ -135,12 +135,12 @@ function D(e = {}) {
|
|
|
135
135
|
locale: i,
|
|
136
136
|
source: "route"
|
|
137
137
|
};
|
|
138
|
-
let a = s(
|
|
138
|
+
let a = s(j(t, "locale"));
|
|
139
139
|
if (a) return {
|
|
140
140
|
locale: a,
|
|
141
141
|
source: "cookie"
|
|
142
142
|
};
|
|
143
|
-
let o =
|
|
143
|
+
let o = M(n, s)[0]?.locale;
|
|
144
144
|
if (o) return {
|
|
145
145
|
locale: o,
|
|
146
146
|
source: "accept-language"
|
|
@@ -160,7 +160,7 @@ function D(e = {}) {
|
|
|
160
160
|
definitionFor: c
|
|
161
161
|
});
|
|
162
162
|
}
|
|
163
|
-
function
|
|
163
|
+
function j(e, t) {
|
|
164
164
|
for (let n of String(e ?? "").split(";")) {
|
|
165
165
|
let e = n.indexOf("=");
|
|
166
166
|
if (!(e < 0) && n.slice(0, e).trim() === t) try {
|
|
@@ -170,7 +170,7 @@ function O(e, t) {
|
|
|
170
170
|
}
|
|
171
171
|
}
|
|
172
172
|
}
|
|
173
|
-
function
|
|
173
|
+
function M(e, t) {
|
|
174
174
|
return String(e ?? "").split(",").map((e, n) => {
|
|
175
175
|
let [r, ...i] = e.trim().split(";"), a = Number(i.find((e) => e.trim().startsWith("q="))?.split("=")[1] ?? 1);
|
|
176
176
|
return {
|
|
@@ -180,7 +180,7 @@ function k(e, t) {
|
|
|
180
180
|
};
|
|
181
181
|
}).filter(({ locale: e, q: t }) => e && t > 0).sort((e, t) => t.q - e.q || e.order - t.order);
|
|
182
182
|
}
|
|
183
|
-
var
|
|
183
|
+
var N = A(), { canonicalLocale: P, localeAttributes: F, resolveLocale: I } = N, L = Object.freeze({
|
|
184
184
|
ko: "kr",
|
|
185
185
|
en: "us",
|
|
186
186
|
ja: "jp",
|
|
@@ -195,21 +195,21 @@ var A = D(), { canonicalLocale: j, localeAttributes: M, resolveLocale: ee } = A,
|
|
|
195
195
|
de: "de",
|
|
196
196
|
es: "es",
|
|
197
197
|
ar: "sa"
|
|
198
|
-
}),
|
|
199
|
-
function
|
|
200
|
-
let n =
|
|
198
|
+
}), R = "0 0 640 480", z = new Set(Object.values(L));
|
|
199
|
+
function B(e, t) {
|
|
200
|
+
let n = L[e];
|
|
201
201
|
if (n) return n;
|
|
202
202
|
let r = t?.LOCALES?.find((t) => t.code === e);
|
|
203
203
|
if (r?.flagCountry) {
|
|
204
|
-
if (
|
|
204
|
+
if (z.has(r.flagCountry)) return r.flagCountry;
|
|
205
205
|
throw RangeError(`No vendored flag for country: ${r.flagCountry} (locale ${e})`);
|
|
206
206
|
}
|
|
207
207
|
throw RangeError(`No flag for locale: ${e}`);
|
|
208
208
|
}
|
|
209
209
|
//#endregion
|
|
210
210
|
//#region src/solid/flag-bodies.ts
|
|
211
|
-
var
|
|
212
|
-
function
|
|
211
|
+
var V = () => void 0, H = () => import("./flag-bodies.js").then((e) => e.FLAGS_BY_COUNTRY), U = /*#__PURE__*/ p("<svg class=site-flag-sprite aria-hidden=true>"), ee = /*#__PURE__*/ p("<svg aria-hidden=true><use>"), te = /*#__PURE__*/ p("<label><span class=dds-sr-only></span><span class=\"dds-select site-locale\"><select class=dds-select__input>"), ne = /*#__PURE__*/ p("<option>"), re = /*#__PURE__*/ p("<details class=site-locale-flag><summary class=site-locale-flag__trigger><!$><!/><!$><!/></summary><ul class=site-locale-flag__list role=list>"), ie = /*#__PURE__*/ p("<li><a class=site-locale-flag__option><!$><!/><span>");
|
|
212
|
+
function ae(e, t) {
|
|
213
213
|
let n = [...e.matchAll(/\bid="([^"]+)"/g)].map((e) => e[1]);
|
|
214
214
|
if (n.length === 0) return e;
|
|
215
215
|
let r = e;
|
|
@@ -219,34 +219,34 @@ function re(e, t) {
|
|
|
219
219
|
}
|
|
220
220
|
return r;
|
|
221
221
|
}
|
|
222
|
-
var
|
|
223
|
-
function
|
|
222
|
+
var W = (e) => e.registry ?? N, G = (e, t) => `site-flag-${e}-${t}`;
|
|
223
|
+
function K(e, t, n) {
|
|
224
224
|
return e.map((e) => {
|
|
225
225
|
let r = t[e];
|
|
226
226
|
if (!r) throw RangeError(`No vendored flag for country: ${e}`);
|
|
227
|
-
return `<symbol id="${
|
|
227
|
+
return `<symbol id="${G(e, n)}" viewBox="${r.viewBox}">${ae(r.body, n)}</symbol>`;
|
|
228
228
|
}).join("");
|
|
229
229
|
}
|
|
230
|
-
function
|
|
231
|
-
let t =
|
|
230
|
+
function oe(e) {
|
|
231
|
+
let t = V();
|
|
232
232
|
return t ? (() => {
|
|
233
|
-
var n = i(
|
|
234
|
-
return r(() => d(n, "innerHTML",
|
|
233
|
+
var n = i(U);
|
|
234
|
+
return r(() => d(n, "innerHTML", K(e.countries, t, e.uid))), n;
|
|
235
235
|
})() : (() => {
|
|
236
|
-
var t = i(
|
|
236
|
+
var t = i(U);
|
|
237
237
|
return m((t) => {
|
|
238
|
-
t.childElementCount > 0 ||
|
|
239
|
-
t.innerHTML =
|
|
238
|
+
t.childElementCount > 0 || H().then((n) => {
|
|
239
|
+
t.innerHTML = K(e.countries, n, e.uid);
|
|
240
240
|
});
|
|
241
241
|
}, t), t;
|
|
242
242
|
})();
|
|
243
243
|
}
|
|
244
|
-
function
|
|
245
|
-
let t = () =>
|
|
244
|
+
function q(e) {
|
|
245
|
+
let t = () => B(e.locale, e.registry);
|
|
246
246
|
return (() => {
|
|
247
|
-
var n = i(
|
|
248
|
-
return u(n, "viewBox",
|
|
249
|
-
var i = e.class, o = `#${
|
|
247
|
+
var n = i(ee), a = n.firstChild;
|
|
248
|
+
return u(n, "viewBox", R), r((r) => {
|
|
249
|
+
var i = e.class, o = `#${G(t(), e.uid)}`;
|
|
250
250
|
return i !== r.e && u(n, "class", r.e = i), o !== r.t && u(a, "href", r.t = o), r;
|
|
251
251
|
}, {
|
|
252
252
|
e: void 0,
|
|
@@ -254,10 +254,10 @@ function K(e) {
|
|
|
254
254
|
}), n;
|
|
255
255
|
})();
|
|
256
256
|
}
|
|
257
|
-
function
|
|
258
|
-
let n = () =>
|
|
257
|
+
function se(e) {
|
|
258
|
+
let n = () => W(e);
|
|
259
259
|
return (() => {
|
|
260
|
-
var a = i(
|
|
260
|
+
var a = i(te), s = a.firstChild, c = s.nextSibling.firstChild;
|
|
261
261
|
return o(s, () => e.messages.localeLabel), c.addEventListener("change", (t) => {
|
|
262
262
|
let n = t.currentTarget.value, r = e.state.hrefForLocale(n);
|
|
263
263
|
e.onLocaleChange ? e.onLocaleChange(n, r) : window.location.assign(r);
|
|
@@ -266,7 +266,7 @@ function ae(e) {
|
|
|
266
266
|
return n().LOCALES;
|
|
267
267
|
},
|
|
268
268
|
children: (t) => (() => {
|
|
269
|
-
var n = i(
|
|
269
|
+
var n = i(ne);
|
|
270
270
|
return o(n, () => t.nativeName), r((r) => {
|
|
271
271
|
var i = t.code, a = t.dir, o = t.code === e.state.locale;
|
|
272
272
|
return i !== r.e && u(n, "lang", r.e = i), a !== r.t && u(n, "dir", r.t = a), o !== r.a && d(n, "selected", r.a = o), r;
|
|
@@ -279,8 +279,8 @@ function ae(e) {
|
|
|
279
279
|
})), r(() => u(c, "aria-label", e.messages.localeLabel)), a;
|
|
280
280
|
})();
|
|
281
281
|
}
|
|
282
|
-
function
|
|
283
|
-
let n, s, c = y(), d = () =>
|
|
282
|
+
function ce(e) {
|
|
283
|
+
let n, s, c = y(), d = () => W(e), f = () => [...new Set(d().LOCALES.map((e) => B(e.code, d())))], p = () => d().LOCALES.find((t) => t.code === e.state.locale), g = () => {
|
|
284
284
|
n && (n.open = !1);
|
|
285
285
|
}, _ = (e) => {
|
|
286
286
|
e.key !== "Escape" || !n?.open || (e.preventDefault(), g(), s?.focus());
|
|
@@ -289,17 +289,17 @@ function oe(e) {
|
|
|
289
289
|
return t ? `${e.messages.localeLabel}: ${t}` : e.messages.localeLabel;
|
|
290
290
|
};
|
|
291
291
|
return (() => {
|
|
292
|
-
var p = i(
|
|
292
|
+
var p = i(re), y = p.firstChild, b = y.firstChild, [x, S] = a(b.nextSibling), C = x.nextSibling, [w, T] = a(C.nextSibling), E = y.nextSibling;
|
|
293
293
|
p.$$keydown = _;
|
|
294
294
|
var D = n;
|
|
295
295
|
typeof D == "function" ? m(D, p) : n = p;
|
|
296
296
|
var O = s;
|
|
297
|
-
return typeof O == "function" ? m(O, y) : s = y, o(y, t(
|
|
297
|
+
return typeof O == "function" ? m(O, y) : s = y, o(y, t(oe, {
|
|
298
298
|
get countries() {
|
|
299
299
|
return f();
|
|
300
300
|
},
|
|
301
301
|
uid: c
|
|
302
|
-
}), x, S), o(y, t(
|
|
302
|
+
}), x, S), o(y, t(q, {
|
|
303
303
|
get locale() {
|
|
304
304
|
return e.state.locale;
|
|
305
305
|
},
|
|
@@ -313,10 +313,10 @@ function oe(e) {
|
|
|
313
313
|
return d().LOCALES;
|
|
314
314
|
},
|
|
315
315
|
children: (n) => (() => {
|
|
316
|
-
var s = i(
|
|
316
|
+
var s = i(ie), f = s.firstChild, p = f.firstChild, [m, h] = a(p.nextSibling), _ = m.nextSibling;
|
|
317
317
|
return f.$$click = (t) => {
|
|
318
318
|
e.onLocaleChange && (t.preventDefault(), g(), e.onLocaleChange(n.code, e.state.hrefForLocale(n.code)));
|
|
319
|
-
}, o(f, t(
|
|
319
|
+
}, o(f, t(q, {
|
|
320
320
|
get locale() {
|
|
321
321
|
return n.code;
|
|
322
322
|
},
|
|
@@ -345,14 +345,200 @@ function oe(e) {
|
|
|
345
345
|
}), l(), p;
|
|
346
346
|
})();
|
|
347
347
|
}
|
|
348
|
-
function
|
|
349
|
-
return e.variant === "flag" ? t(
|
|
348
|
+
function J(e) {
|
|
349
|
+
return e.variant === "flag" ? t(ce, e) : t(se, e);
|
|
350
|
+
}
|
|
351
|
+
n(["keydown", "click"]);
|
|
352
|
+
//#endregion
|
|
353
|
+
//#region src/solid/consent.tsx
|
|
354
|
+
var le = /*#__PURE__*/ p("<section class=site-consent><div class=site-consent__inner><div class=site-consent__copy><h2 class=site-consent__title></h2><p class=site-consent__body><!$><!/> <a class=site-consent__link></a></p></div><div class=site-consent__actions><!$><!/><!$><!/><!$><!/></div><!$><!/>"), ue = /*#__PURE__*/ p("<ul class=site-consent-categories role=list><li class=site-consent-category><div class=site-consent-category__copy><h3 class=site-consent-category__title></h3><p class=site-consent-category__body></p></div><span class=\"dds-badge site-consent-category__status\"></span></li><li class=site-consent-category><div class=site-consent-category__copy><h3 class=site-consent-category__title></h3><p id=site-consent-analytics-body class=site-consent-category__body></p></div><!$><!/>"), de = /*#__PURE__*/ p("<p class=site-consent-dialog__policy><a class=site-consent__link>"), fe = /*#__PURE__*/ p("<p class=dds-sr-only role=status>"), pe = /*#__PURE__*/ p("<span class=dds-sr-only>"), me = /*#__PURE__*/ p("<button type=button aria-haspopup=dialog>");
|
|
355
|
+
function he(e) {
|
|
356
|
+
let [n, c] = v(!1), [d, f] = v(!1), [p, h] = v(!1), [_, y] = v(!1), [w, O] = v(!1), [k, A] = v(""), j = () => {
|
|
357
|
+
f(e.controller.needsDecision()), h(e.controller.dismissed());
|
|
358
|
+
}, M = () => {
|
|
359
|
+
O(e.controller.analyticsGranted()), y(!0);
|
|
360
|
+
};
|
|
361
|
+
x(() => {
|
|
362
|
+
let t = e.controller;
|
|
363
|
+
t.start(), j(), b(t.subscribe((e) => {
|
|
364
|
+
e.type === "open-settings" ? M() : j();
|
|
365
|
+
})), c(!0);
|
|
366
|
+
});
|
|
367
|
+
let N = () => setTimeout(() => {
|
|
368
|
+
document.activeElement && document.activeElement !== document.body || document.getElementById("main-content")?.focus({ preventScroll: !0 });
|
|
369
|
+
}, 0), P = (t) => {
|
|
370
|
+
t(), y(!1), A(""), queueMicrotask(() => A(e.messages.saved)), N();
|
|
371
|
+
}, F = () => P(() => e.controller.acceptAll()), I = () => P(() => e.controller.rejectAll()), L = () => {
|
|
372
|
+
e.controller.dismiss(), N();
|
|
373
|
+
}, R = (e) => {
|
|
374
|
+
e.key !== "Escape" || e.defaultPrevented || (e.preventDefault(), L());
|
|
375
|
+
}, z = (e) => {
|
|
376
|
+
if (typeof ResizeObserver > "u") return;
|
|
377
|
+
let t = document.documentElement, n = new ResizeObserver(() => t.style.setProperty("--site-consent-block-size", `${e.offsetHeight}px`));
|
|
378
|
+
n.observe(e), b(() => {
|
|
379
|
+
n.disconnect(), t.style.removeProperty("--site-consent-block-size");
|
|
380
|
+
});
|
|
381
|
+
};
|
|
382
|
+
return t(g, {
|
|
383
|
+
get when() {
|
|
384
|
+
return n();
|
|
385
|
+
},
|
|
386
|
+
get children() {
|
|
387
|
+
return [
|
|
388
|
+
t(g, {
|
|
389
|
+
get when() {
|
|
390
|
+
return s(() => !!d())() && !p();
|
|
391
|
+
},
|
|
392
|
+
get children() {
|
|
393
|
+
var n = i(le), s = n.firstChild, c = s.firstChild, d = c.firstChild, f = d.nextSibling, p = f.firstChild, [h, g] = a(p.nextSibling), _ = h.nextSibling.nextSibling, v = c.nextSibling, y = v.firstChild, [b, x] = a(y.nextSibling), C = b.nextSibling, [w, D] = a(C.nextSibling), O = w.nextSibling, [k, A] = a(O.nextSibling), j = v.nextSibling, [N, P] = a(j.nextSibling);
|
|
394
|
+
return n.$$keydown = R, m(z, n), o(d, () => e.messages.title), o(f, () => e.messages.body, h, g), o(_, () => e.messages.privacyLink), o(v, t(S, {
|
|
395
|
+
class: "site-consent__action",
|
|
396
|
+
tone: "secondary",
|
|
397
|
+
onClick: F,
|
|
398
|
+
get children() {
|
|
399
|
+
return e.messages.acceptAll;
|
|
400
|
+
}
|
|
401
|
+
}), b, x), o(v, t(S, {
|
|
402
|
+
class: "site-consent__action",
|
|
403
|
+
tone: "secondary",
|
|
404
|
+
onClick: I,
|
|
405
|
+
get children() {
|
|
406
|
+
return e.messages.rejectAll;
|
|
407
|
+
}
|
|
408
|
+
}), w, D), o(v, t(S, {
|
|
409
|
+
class: "site-consent__action",
|
|
410
|
+
tone: "secondary",
|
|
411
|
+
"aria-haspopup": "dialog",
|
|
412
|
+
onClick: M,
|
|
413
|
+
get children() {
|
|
414
|
+
return e.messages.settings;
|
|
415
|
+
}
|
|
416
|
+
}), k, A), o(s, t(E, {
|
|
417
|
+
class: "site-consent__dismiss",
|
|
418
|
+
get "aria-label"() {
|
|
419
|
+
return e.messages.dismiss;
|
|
420
|
+
},
|
|
421
|
+
get title() {
|
|
422
|
+
return e.messages.dismiss;
|
|
423
|
+
},
|
|
424
|
+
onClick: L,
|
|
425
|
+
get children() {
|
|
426
|
+
return t(T, {
|
|
427
|
+
name: "close",
|
|
428
|
+
size: 20
|
|
429
|
+
});
|
|
430
|
+
}
|
|
431
|
+
}), N, P), r((t) => {
|
|
432
|
+
var r = e.messages.regionLabel, i = e.privacyHref;
|
|
433
|
+
return r !== t.e && u(n, "aria-label", t.e = r), i !== t.t && u(_, "href", t.t = i), t;
|
|
434
|
+
}, {
|
|
435
|
+
e: void 0,
|
|
436
|
+
t: void 0
|
|
437
|
+
}), l(), n;
|
|
438
|
+
}
|
|
439
|
+
}),
|
|
440
|
+
t(C, {
|
|
441
|
+
id: "site-consent-settings",
|
|
442
|
+
class: "site-consent-dialog",
|
|
443
|
+
get open() {
|
|
444
|
+
return _();
|
|
445
|
+
},
|
|
446
|
+
onOpenChange: y,
|
|
447
|
+
get title() {
|
|
448
|
+
return e.messages.settingsTitle;
|
|
449
|
+
},
|
|
450
|
+
get description() {
|
|
451
|
+
return e.messages.settingsIntro;
|
|
452
|
+
},
|
|
453
|
+
get actions() {
|
|
454
|
+
return [
|
|
455
|
+
t(S, {
|
|
456
|
+
class: "site-consent__action",
|
|
457
|
+
tone: "secondary",
|
|
458
|
+
onClick: F,
|
|
459
|
+
get children() {
|
|
460
|
+
return e.messages.acceptAll;
|
|
461
|
+
}
|
|
462
|
+
}),
|
|
463
|
+
t(S, {
|
|
464
|
+
class: "site-consent__action",
|
|
465
|
+
tone: "secondary",
|
|
466
|
+
onClick: I,
|
|
467
|
+
get children() {
|
|
468
|
+
return e.messages.rejectAll;
|
|
469
|
+
}
|
|
470
|
+
}),
|
|
471
|
+
t(S, {
|
|
472
|
+
class: "site-consent__action",
|
|
473
|
+
tone: "secondary",
|
|
474
|
+
onClick: () => P(() => e.controller.save({ analytics: w() })),
|
|
475
|
+
get children() {
|
|
476
|
+
return e.messages.save;
|
|
477
|
+
}
|
|
478
|
+
})
|
|
479
|
+
];
|
|
480
|
+
},
|
|
481
|
+
get children() {
|
|
482
|
+
return [
|
|
483
|
+
t(E, {
|
|
484
|
+
class: "site-consent-dialog__close",
|
|
485
|
+
get "aria-label"() {
|
|
486
|
+
return e.messages.close;
|
|
487
|
+
},
|
|
488
|
+
get title() {
|
|
489
|
+
return e.messages.close;
|
|
490
|
+
},
|
|
491
|
+
onClick: () => y(!1),
|
|
492
|
+
get children() {
|
|
493
|
+
return t(T, {
|
|
494
|
+
name: "close",
|
|
495
|
+
size: 20
|
|
496
|
+
});
|
|
497
|
+
}
|
|
498
|
+
}),
|
|
499
|
+
(() => {
|
|
500
|
+
var n = i(ue), r = n.firstChild, s = r.firstChild, c = s.firstChild, l = c.nextSibling, u = s.nextSibling, d = r.nextSibling, f = d.firstChild, p = f.firstChild, m = p.nextSibling, h = f.nextSibling, [g, _] = a(h.nextSibling);
|
|
501
|
+
return o(c, () => e.messages.necessaryTitle), o(l, () => e.messages.necessaryBody), o(u, () => e.messages.necessaryStatus), o(p, () => e.messages.analyticsTitle), o(m, () => e.messages.analyticsBody), o(d, t(D, {
|
|
502
|
+
class: "site-consent-category__switch",
|
|
503
|
+
get checked() {
|
|
504
|
+
return w();
|
|
505
|
+
},
|
|
506
|
+
onCheckedChange: O,
|
|
507
|
+
"aria-describedby": "site-consent-analytics-body",
|
|
508
|
+
get label() {
|
|
509
|
+
return (() => {
|
|
510
|
+
var t = i(pe);
|
|
511
|
+
return o(t, () => e.messages.analyticsSwitch), t;
|
|
512
|
+
})();
|
|
513
|
+
}
|
|
514
|
+
}), g, _), n;
|
|
515
|
+
})(),
|
|
516
|
+
(() => {
|
|
517
|
+
var t = i(de), n = t.firstChild;
|
|
518
|
+
return o(n, () => e.messages.privacyLink), r(() => u(n, "href", e.privacyHref)), t;
|
|
519
|
+
})()
|
|
520
|
+
];
|
|
521
|
+
}
|
|
522
|
+
}),
|
|
523
|
+
(() => {
|
|
524
|
+
var e = i(fe);
|
|
525
|
+
return o(e, k), e;
|
|
526
|
+
})()
|
|
527
|
+
];
|
|
528
|
+
}
|
|
529
|
+
});
|
|
530
|
+
}
|
|
531
|
+
function Y(t) {
|
|
532
|
+
return (() => {
|
|
533
|
+
var n = i(me);
|
|
534
|
+
return n.$$click = () => t.controller.openSettings(), o(n, () => t.children), r(() => e(n, t.class ? `site-consent-trigger ${t.class}` : "site-consent-trigger")), l(), n;
|
|
535
|
+
})();
|
|
350
536
|
}
|
|
351
537
|
n(["keydown", "click"]);
|
|
352
538
|
//#endregion
|
|
353
539
|
//#region src/solid/chrome.tsx
|
|
354
|
-
var
|
|
355
|
-
function
|
|
540
|
+
var ge = /*#__PURE__*/ p("<header class=site-header><a class=dds-sr-only href=#main-content></a><div class=site-header__inner><a class=site-brand><!$><!/><!$><!/></a><!$><!/><nav id=site-navigation class=site-nav><ul class=site-nav__list></ul></nav><div class=site-header__controls><!$><!/><!$><!/><!$><!/>"), X = /*#__PURE__*/ p("<li><a>"), _e = /*#__PURE__*/ p("<nav class=site-footer__langs><details class=site-footer__langs-menu><summary class=site-footer__langs-trigger><span></span></summary><ul class=site-footer__langs-list role=list>"), ve = /*#__PURE__*/ p("<p class=site-footer__brand><!$><!/><!$><!/><!$><!/>"), ye = /*#__PURE__*/ p("<strong>"), be = /*#__PURE__*/ p("<span aria-hidden=true>·"), xe = /*#__PURE__*/ p("<a>"), Se = /*#__PURE__*/ p("<ul class=site-footer__links><!$><!/><!$><!/><li>"), Ce = /*#__PURE__*/ p("<li>"), we = /*#__PURE__*/ p("<bdi>"), Te = /*#__PURE__*/ p("<a><bdi>"), Ee = /*#__PURE__*/ p("<footer class=site-footer><div class=site-footer__inner><!$><!/><div class=site-footer__row><!$><!/><!$><!/>"), De = /*#__PURE__*/ p("<div class=site-footer__identity><!$><!/><div class=site-footer__details>"), Oe = /*#__PURE__*/ p("<nav class=site-footer__nav>");
|
|
541
|
+
function Z(e) {
|
|
356
542
|
let n = [
|
|
357
543
|
"system",
|
|
358
544
|
"light",
|
|
@@ -363,10 +549,10 @@ function Y(e) {
|
|
|
363
549
|
}, u = (t) => {
|
|
364
550
|
e.value === void 0 && i(t), e.onValueChange?.(t), l(t), localStorage.setItem(e.storageKey ?? "site-theme", t);
|
|
365
551
|
};
|
|
366
|
-
return
|
|
552
|
+
return x(() => {
|
|
367
553
|
let t = localStorage.getItem(e.storageKey ?? "site-theme");
|
|
368
554
|
e.value === void 0 && t && n.includes(t) && i(t), l(e.value ?? t ?? r());
|
|
369
|
-
}), t(
|
|
555
|
+
}), t(E, {
|
|
370
556
|
class: "site-theme-toggle",
|
|
371
557
|
tone: "ghost",
|
|
372
558
|
get "aria-label"() {
|
|
@@ -377,7 +563,7 @@ function Y(e) {
|
|
|
377
563
|
},
|
|
378
564
|
onClick: () => u(s()),
|
|
379
565
|
get children() {
|
|
380
|
-
return t(
|
|
566
|
+
return t(T, {
|
|
381
567
|
class: "site-theme-toggle__icon",
|
|
382
568
|
get name() {
|
|
383
569
|
return s() === "dark" ? "site-moon" : "site-sun";
|
|
@@ -390,8 +576,8 @@ function Y(e) {
|
|
|
390
576
|
}
|
|
391
577
|
});
|
|
392
578
|
}
|
|
393
|
-
var
|
|
394
|
-
function
|
|
579
|
+
var Q = (e) => e.emphasis ? "site-link--emphasis" : void 0;
|
|
580
|
+
function ke(n) {
|
|
395
581
|
let [d, f] = v(!1), p = _(() => n.brand), m = (e) => {
|
|
396
582
|
e.key !== "Escape" || e.defaultPrevented || !d() || e.target?.closest("[aria-modal=\"true\"]") || (e.preventDefault(), f(!1), e.currentTarget.querySelector(".site-menu-button")?.focus());
|
|
397
583
|
}, y = (e) => {
|
|
@@ -399,8 +585,8 @@ function Z(n) {
|
|
|
399
585
|
!d() || !t || e.ctrlKey || e.metaKey || e.shiftKey || e.altKey || t.target && t.target !== "_self" || f(!1);
|
|
400
586
|
};
|
|
401
587
|
return (() => {
|
|
402
|
-
var _ = i(
|
|
403
|
-
return _.$$keydown = m, o(v, () => n.messages.skipToContent), o(
|
|
588
|
+
var _ = i(ge), v = _.firstChild, b = v.nextSibling, x = b.firstChild, C = x.firstChild, [w, T] = a(C.nextSibling), E = w.nextSibling, [D, O] = a(E.nextSibling), k = x.nextSibling, [A, j] = a(k.nextSibling), M = A.nextSibling, N = M.firstChild, P = M.nextSibling, F = P.firstChild, [I, L] = a(F.nextSibling), R = I.nextSibling, [z, B] = a(R.nextSibling), V = z.nextSibling, [H, U] = a(V.nextSibling);
|
|
589
|
+
return _.$$keydown = m, o(v, () => n.messages.skipToContent), o(x, () => p().logo, w, T), o(x, () => p().name, D, O), o(b, t(S, {
|
|
404
590
|
class: "site-menu-button",
|
|
405
591
|
tone: "ghost",
|
|
406
592
|
get "aria-expanded"() {
|
|
@@ -411,14 +597,14 @@ function Z(n) {
|
|
|
411
597
|
get children() {
|
|
412
598
|
return s(() => !!d())() ? n.messages.menuClose : n.messages.menuOpen;
|
|
413
599
|
}
|
|
414
|
-
}), A, j), M.$$click = y, o(
|
|
600
|
+
}), A, j), M.$$click = y, o(N, t(h, {
|
|
415
601
|
get each() {
|
|
416
602
|
return n.navigation;
|
|
417
603
|
},
|
|
418
604
|
children: (t) => (() => {
|
|
419
|
-
var n = i(
|
|
605
|
+
var n = i(X), a = n.firstChild;
|
|
420
606
|
return o(a, () => t.label), r((n) => {
|
|
421
|
-
var r =
|
|
607
|
+
var r = Q(t), i = t.href, o = t.external ? "_blank" : void 0, s = t.external ? "noreferrer" : void 0;
|
|
422
608
|
return r !== n.e && e(a, n.e = r), i !== n.t && u(a, "href", n.t = i), o !== n.a && u(a, "target", n.a = o), s !== n.o && u(a, "rel", n.o = s), n;
|
|
423
609
|
}, {
|
|
424
610
|
e: void 0,
|
|
@@ -427,11 +613,11 @@ function Z(n) {
|
|
|
427
613
|
o: void 0
|
|
428
614
|
}), n;
|
|
429
615
|
})()
|
|
430
|
-
})),
|
|
616
|
+
})), P.$$click = y, o(P, t(g, {
|
|
431
617
|
get when() {
|
|
432
618
|
return n.locale;
|
|
433
619
|
},
|
|
434
|
-
children: (e) => t(
|
|
620
|
+
children: (e) => t(J, c({
|
|
435
621
|
get state() {
|
|
436
622
|
return e();
|
|
437
623
|
},
|
|
@@ -439,14 +625,14 @@ function Z(n) {
|
|
|
439
625
|
return n.messages;
|
|
440
626
|
}
|
|
441
627
|
}, () => n.localeVariant ? { variant: n.localeVariant } : {}, () => n.localeRegistry ? { registry: n.localeRegistry } : {}, () => n.onLocaleChange ? { onLocaleChange: n.onLocaleChange } : {}))
|
|
442
|
-
}),
|
|
628
|
+
}), I, L), o(P, (() => {
|
|
443
629
|
var e = s(() => !!n.theme);
|
|
444
|
-
return () => e() && t(
|
|
630
|
+
return () => e() && t(Z, c(() => n.theme, { get messages() {
|
|
445
631
|
return n.messages;
|
|
446
632
|
} }));
|
|
447
|
-
})(),
|
|
633
|
+
})(), z, B), o(P, () => n.actions, H, U), r((e) => {
|
|
448
634
|
var t = p().href, r = p().label, i = String(d()), a = n.messages.navigationLabel, o = String(d());
|
|
449
|
-
return t !== e.e && u(
|
|
635
|
+
return t !== e.e && u(x, "href", e.e = t), r !== e.t && u(x, "aria-label", e.t = r), i !== e.a && u(M, "data-open", e.a = i), a !== e.o && u(M, "aria-label", e.o = a), o !== e.i && u(P, "data-open", e.i = o), e;
|
|
450
636
|
}, {
|
|
451
637
|
e: void 0,
|
|
452
638
|
t: void 0,
|
|
@@ -456,14 +642,14 @@ function Z(n) {
|
|
|
456
642
|
}), l(), _;
|
|
457
643
|
})();
|
|
458
644
|
}
|
|
459
|
-
function
|
|
645
|
+
function Ae(e) {
|
|
460
646
|
let n, a, s = () => e.registry.LOCALES.find((t) => t.code === e.state.locale), c = () => {
|
|
461
647
|
n && (n.open = !1);
|
|
462
648
|
}, d = (e) => {
|
|
463
649
|
e.key !== "Escape" || !n?.open || (e.preventDefault(), c(), a?.focus());
|
|
464
650
|
};
|
|
465
651
|
return (() => {
|
|
466
|
-
var c = i(
|
|
652
|
+
var c = i(_e), f = c.firstChild, p = f.firstChild, g = p.firstChild, _ = p.nextSibling;
|
|
467
653
|
f.$$keydown = d;
|
|
468
654
|
var v = n;
|
|
469
655
|
typeof v == "function" ? m(v, f) : n = f;
|
|
@@ -473,7 +659,7 @@ function ye(e) {
|
|
|
473
659
|
return e.registry.LOCALES;
|
|
474
660
|
},
|
|
475
661
|
children: (t) => (() => {
|
|
476
|
-
var n = i(
|
|
662
|
+
var n = i(X), a = n.firstChild;
|
|
477
663
|
return a.$$click = () => e.onSelect?.(t.code), o(a, () => t.nativeName), r((n) => {
|
|
478
664
|
var r = e.state.hrefForLocale(t.code), i = t.code, o = t.code, s = t.dir, c = t.code === e.state.locale ? "page" : void 0;
|
|
479
665
|
return r !== n.e && u(a, "href", n.e = r), i !== n.t && u(a, "hreflang", n.t = i), o !== n.a && u(a, "lang", n.a = o), s !== n.o && u(a, "dir", n.o = s), c !== n.i && u(a, "aria-current", n.i = c), n;
|
|
@@ -496,25 +682,25 @@ function ye(e) {
|
|
|
496
682
|
}), l(), c;
|
|
497
683
|
})();
|
|
498
684
|
}
|
|
499
|
-
function
|
|
500
|
-
let s = () => n.localeRegistry ??
|
|
501
|
-
var s = i(
|
|
685
|
+
function je(n) {
|
|
686
|
+
let s = () => n.localeRegistry ?? N, c = _(() => n.brand), l = _(() => n.details), d = () => (() => {
|
|
687
|
+
var s = i(ve), l = s.firstChild, [d, f] = a(l.nextSibling), p = d.nextSibling, [m, _] = a(p.nextSibling), v = m.nextSibling, [y, b] = a(v.nextSibling);
|
|
502
688
|
return o(s, () => c().logo, d, f), o(s, t(g, {
|
|
503
689
|
get when() {
|
|
504
690
|
return c().name;
|
|
505
691
|
},
|
|
506
692
|
children: (e) => (() => {
|
|
507
|
-
var t = i(
|
|
693
|
+
var t = i(ye);
|
|
508
694
|
return o(t, e), t;
|
|
509
695
|
})()
|
|
510
696
|
}), m, _), o(s, t(h, {
|
|
511
697
|
get each() {
|
|
512
698
|
return n.family ?? [];
|
|
513
699
|
},
|
|
514
|
-
children: (t) => [i(
|
|
515
|
-
var n = i(
|
|
700
|
+
children: (t) => [i(be), (() => {
|
|
701
|
+
var n = i(xe);
|
|
516
702
|
return o(n, () => t.label), r((r) => {
|
|
517
|
-
var i =
|
|
703
|
+
var i = Q(t), a = t.href;
|
|
518
704
|
return i !== r.e && e(n, r.e = i), a !== r.t && u(n, "href", r.t = a), r;
|
|
519
705
|
}, {
|
|
520
706
|
e: void 0,
|
|
@@ -523,44 +709,59 @@ function Q(n) {
|
|
|
523
709
|
})()]
|
|
524
710
|
}), y, b), s;
|
|
525
711
|
})(), f = () => (() => {
|
|
526
|
-
var s = i(
|
|
712
|
+
var s = i(Se), c = s.firstChild, [l, d] = a(c.nextSibling), f = l.nextSibling, [p, m] = a(f.nextSibling), _ = p.nextSibling;
|
|
527
713
|
return o(s, t(h, {
|
|
528
714
|
get each() {
|
|
529
715
|
return n.links;
|
|
530
716
|
},
|
|
531
717
|
children: (t) => (() => {
|
|
532
|
-
var n = i(
|
|
718
|
+
var n = i(X), a = n.firstChild;
|
|
533
719
|
return o(a, () => t.label), r((n) => {
|
|
534
|
-
var r =
|
|
720
|
+
var r = Q(t), i = t.href;
|
|
535
721
|
return r !== n.e && e(a, n.e = r), i !== n.t && u(a, "href", n.t = i), n;
|
|
536
722
|
}, {
|
|
537
723
|
e: void 0,
|
|
538
724
|
t: void 0
|
|
539
725
|
}), n;
|
|
540
726
|
})()
|
|
541
|
-
}), l, d), o(
|
|
727
|
+
}), l, d), o(s, t(g, {
|
|
728
|
+
get when() {
|
|
729
|
+
return n.consentSettings;
|
|
730
|
+
},
|
|
731
|
+
children: (e) => (() => {
|
|
732
|
+
var n = i(Ce);
|
|
733
|
+
return o(n, t(Y, {
|
|
734
|
+
get controller() {
|
|
735
|
+
return e().controller;
|
|
736
|
+
},
|
|
737
|
+
get children() {
|
|
738
|
+
return e().label;
|
|
739
|
+
}
|
|
740
|
+
})), n;
|
|
741
|
+
})()
|
|
742
|
+
}), p, m), o(_, t(g, {
|
|
542
743
|
get when() {
|
|
543
744
|
return n.copyrightHref;
|
|
544
745
|
},
|
|
545
746
|
get fallback() {
|
|
546
747
|
return (() => {
|
|
547
|
-
var e = i(
|
|
748
|
+
var e = i(we);
|
|
548
749
|
return o(e, () => n.copyright), e;
|
|
549
750
|
})();
|
|
550
751
|
},
|
|
551
752
|
children: (e) => (() => {
|
|
552
|
-
var t = i(
|
|
753
|
+
var t = i(Te), a = t.firstChild;
|
|
553
754
|
return o(a, () => n.copyright), r(() => u(t, "href", e())), t;
|
|
554
755
|
})()
|
|
555
756
|
})), s;
|
|
556
757
|
})();
|
|
557
758
|
return (() => {
|
|
558
|
-
var e = i(
|
|
759
|
+
var e = i(Ee), c = e.firstChild, p = c.firstChild, [m, h] = a(p.nextSibling), _ = m.nextSibling, v = _.firstChild, [y, b] = a(v.nextSibling), x = y.nextSibling, [S, C] = a(x.nextSibling);
|
|
559
760
|
return o(c, t(g, {
|
|
560
761
|
get when() {
|
|
561
762
|
return n.locale;
|
|
562
763
|
},
|
|
563
|
-
children: (e) => t(
|
|
764
|
+
children: (e) => t(Ae, {
|
|
564
765
|
get state() {
|
|
565
766
|
return e();
|
|
566
767
|
},
|
|
@@ -582,7 +783,7 @@ function Q(n) {
|
|
|
582
783
|
return d();
|
|
583
784
|
},
|
|
584
785
|
children: (e) => (() => {
|
|
585
|
-
var t = i(
|
|
786
|
+
var t = i(De), n = t.firstChild, [r, s] = a(n.nextSibling), c = r.nextSibling;
|
|
586
787
|
return o(t, d, r, s), o(c, e), t;
|
|
587
788
|
})()
|
|
588
789
|
}), y, b), o(_, t(g, {
|
|
@@ -593,7 +794,7 @@ function Q(n) {
|
|
|
593
794
|
return f();
|
|
594
795
|
},
|
|
595
796
|
children: (e) => (() => {
|
|
596
|
-
var t = i(
|
|
797
|
+
var t = i(Oe);
|
|
597
798
|
return o(t, f), r(() => u(t, "aria-label", e())), t;
|
|
598
799
|
})()
|
|
599
800
|
}), S, C), r(() => u(e, "aria-label", n.messages.footerLabel)), e;
|
|
@@ -602,33 +803,33 @@ function Q(n) {
|
|
|
602
803
|
n(["keydown", "click"]);
|
|
603
804
|
//#endregion
|
|
604
805
|
//#region src/solid/layouts.tsx
|
|
605
|
-
var
|
|
606
|
-
function
|
|
806
|
+
var Me = /*#__PURE__*/ p("<div class=site-shell><!$><!/><main id=main-content tabindex=-1></main><!$><!/>"), Ne = /*#__PURE__*/ p("<article class=site-legal><header><h1></h1><p><!$><!/>: <time></time></p></header><!$><!/>"), Pe = /*#__PURE__*/ p("<section><strong></strong><!$><!/><!$><!/>"), Fe = /*#__PURE__*/ p("<div>"), Ie = /*#__PURE__*/ p("<main class=\"site-main site-centered-layout\"><h1></h1><p></p><!$><!/><a class=\"dds-btn dds-btn--primary\">"), Le = /*#__PURE__*/ p("<main class=\"site-main site-centered-layout\"><h1></h1><p></p><!$><!/><!$><!/><!$><!/>"), Re = /*#__PURE__*/ p("<code>");
|
|
807
|
+
function ze(n) {
|
|
607
808
|
let s = () => n.mainWidth === "bleed" ? "site-main site-main--bleed" : "site-main", l = _(() => n.header), u = _(() => n.footer);
|
|
608
809
|
return (() => {
|
|
609
|
-
var d = i(
|
|
610
|
-
return o(d, t(
|
|
810
|
+
var d = i(Me), f = d.firstChild, [p, m] = a(f.nextSibling), h = p.nextSibling, g = h.nextSibling, [_, v] = a(g.nextSibling);
|
|
811
|
+
return o(d, t(ke, c(l)), p, m), o(h, () => n.children), o(d, t(je, c(u)), _, v), r(() => e(h, s())), d;
|
|
611
812
|
})();
|
|
612
813
|
}
|
|
613
|
-
function
|
|
814
|
+
function Be(e) {
|
|
614
815
|
return (() => {
|
|
615
|
-
var t = i(
|
|
816
|
+
var t = i(Ne), n = t.firstChild, s = n.firstChild, c = s.nextSibling, l = c.firstChild, [d, f] = a(l.nextSibling), p = d.nextSibling.nextSibling, m = n.nextSibling, [h, g] = a(m.nextSibling);
|
|
616
817
|
return o(s, () => e.title), o(c, () => e.messages.updatedLabel, d, f), o(p, () => e.updatedAt), o(t, () => e.children, h, g), r(() => u(p, "datetime", e.updatedAt)), t;
|
|
617
818
|
})();
|
|
618
819
|
}
|
|
619
|
-
function
|
|
820
|
+
function Ve(n) {
|
|
620
821
|
let c = _(() => n.children);
|
|
621
822
|
return (() => {
|
|
622
|
-
var l = i(
|
|
823
|
+
var l = i(Pe), d = l.firstChild, f = d.nextSibling, [p, m] = a(f.nextSibling), h = p.nextSibling, [g, _] = a(h.nextSibling);
|
|
623
824
|
return o(d, () => n.title), o(l, (() => {
|
|
624
825
|
var e = s(() => !!c());
|
|
625
826
|
return () => e() && (() => {
|
|
626
|
-
var e = i(
|
|
827
|
+
var e = i(Fe);
|
|
627
828
|
return o(e, c), e;
|
|
628
829
|
})();
|
|
629
830
|
})(), p, m), o(l, (() => {
|
|
630
831
|
var e = s(() => !!n.action);
|
|
631
|
-
return () => e() && t(
|
|
832
|
+
return () => e() && t(S, {
|
|
632
833
|
get tone() {
|
|
633
834
|
return n.action.tone ?? "secondary";
|
|
634
835
|
},
|
|
@@ -649,22 +850,22 @@ function ke(n) {
|
|
|
649
850
|
}), l;
|
|
650
851
|
})();
|
|
651
852
|
}
|
|
652
|
-
function
|
|
853
|
+
function He(e) {
|
|
653
854
|
return (() => {
|
|
654
|
-
var t = i(
|
|
855
|
+
var t = i(Ie), n = t.firstChild, s = n.nextSibling, c = s.nextSibling, [l, d] = a(c.nextSibling), f = l.nextSibling;
|
|
655
856
|
return o(n, () => e.messages.notFoundTitle), o(s, () => e.messages.notFoundDescription), o(t, () => e.children, l, d), o(f, () => e.messages.backHome), r(() => u(f, "href", e.homeHref)), t;
|
|
656
857
|
})();
|
|
657
858
|
}
|
|
658
|
-
function
|
|
859
|
+
function Ue(e) {
|
|
659
860
|
return (() => {
|
|
660
|
-
var n = i(
|
|
861
|
+
var n = i(Le), r = n.firstChild, c = r.nextSibling, l = c.nextSibling, [u, d] = a(l.nextSibling), f = u.nextSibling, [p, m] = a(f.nextSibling), h = p.nextSibling, [g, _] = a(h.nextSibling);
|
|
661
862
|
return o(r, () => e.messages.errorTitle), o(c, () => e.messages.errorDescription), o(n, (() => {
|
|
662
863
|
var t = s(() => !!e.errorId);
|
|
663
864
|
return () => t() && (() => {
|
|
664
|
-
var t = i(
|
|
865
|
+
var t = i(Re);
|
|
665
866
|
return o(t, () => e.errorId), t;
|
|
666
867
|
})();
|
|
667
|
-
})(), u, d), o(n, () => e.children, p, m), o(n, t(
|
|
868
|
+
})(), u, d), o(n, () => e.children, p, m), o(n, t(S, {
|
|
668
869
|
tone: "primary",
|
|
669
870
|
get onClick() {
|
|
670
871
|
return e.onRetry;
|
|
@@ -677,8 +878,8 @@ function je(e) {
|
|
|
677
878
|
}
|
|
678
879
|
//#endregion
|
|
679
880
|
//#region src/solid/request-access.tsx
|
|
680
|
-
var
|
|
681
|
-
function
|
|
881
|
+
var We = /*#__PURE__*/ p("<form><!$><!/><!$><!/><!$><!/><!$><!/><!$><!/><div aria-live=polite aria-atomic=true>"), $ = /*#__PURE__*/ p("<input>"), Ge = /*#__PURE__*/ p("<textarea>");
|
|
882
|
+
function Ke(n) {
|
|
682
883
|
let [u, d] = v("idle"), p = async (e) => {
|
|
683
884
|
if (e.preventDefault(), u() !== "submitting") {
|
|
684
885
|
d("submitting");
|
|
@@ -690,8 +891,8 @@ function Pe(n) {
|
|
|
690
891
|
}
|
|
691
892
|
};
|
|
692
893
|
return (() => {
|
|
693
|
-
var d = i(
|
|
694
|
-
return d.addEventListener("submit", p), o(d, t(
|
|
894
|
+
var d = i(We), m = d.firstChild, [h, g] = a(m.nextSibling), _ = h.nextSibling, [v, y] = a(_.nextSibling), b = v.nextSibling, [x, C] = a(b.nextSibling), T = x.nextSibling, [E, D] = a(T.nextSibling), O = E.nextSibling, [k, A] = a(O.nextSibling), j = k.nextSibling;
|
|
895
|
+
return d.addEventListener("submit", p), o(d, t(w, {
|
|
695
896
|
get label() {
|
|
696
897
|
return n.messages.nameLabel;
|
|
697
898
|
},
|
|
@@ -705,7 +906,7 @@ function Pe(n) {
|
|
|
705
906
|
required: !0
|
|
706
907
|
}), !1, !1), l(), t;
|
|
707
908
|
})()
|
|
708
|
-
}), h, g), o(d, t(
|
|
909
|
+
}), h, g), o(d, t(w, {
|
|
709
910
|
get label() {
|
|
710
911
|
return n.messages.emailLabel;
|
|
711
912
|
},
|
|
@@ -720,7 +921,7 @@ function Pe(n) {
|
|
|
720
921
|
required: !0
|
|
721
922
|
}), !1, !1), l(), t;
|
|
722
923
|
})()
|
|
723
|
-
}), v, y), o(d, t(
|
|
924
|
+
}), v, y), o(d, t(w, {
|
|
724
925
|
get label() {
|
|
725
926
|
return n.messages.organizationLabel;
|
|
726
927
|
},
|
|
@@ -732,19 +933,19 @@ function Pe(n) {
|
|
|
732
933
|
autocomplete: "organization"
|
|
733
934
|
}), !1, !1), l(), t;
|
|
734
935
|
})()
|
|
735
|
-
}),
|
|
936
|
+
}), x, C), o(d, t(w, {
|
|
736
937
|
get label() {
|
|
737
938
|
return n.messages.useCaseLabel;
|
|
738
939
|
},
|
|
739
940
|
children: (e) => (() => {
|
|
740
|
-
var t = i(
|
|
941
|
+
var t = i(Ge);
|
|
741
942
|
return f(t, c(e, {
|
|
742
943
|
class: "dds-textarea",
|
|
743
944
|
name: "useCase",
|
|
744
945
|
rows: "5"
|
|
745
946
|
}), !1, !1), l(), t;
|
|
746
947
|
})()
|
|
747
|
-
}), E, D), o(d, t(
|
|
948
|
+
}), E, D), o(d, t(S, {
|
|
748
949
|
type: "submit",
|
|
749
950
|
get loading() {
|
|
750
951
|
return u() === "submitting";
|
|
@@ -760,15 +961,15 @@ function Pe(n) {
|
|
|
760
961
|
}
|
|
761
962
|
//#endregion
|
|
762
963
|
//#region src/solid/oss-product-mark.tsx
|
|
763
|
-
var
|
|
964
|
+
var qe = /*#__PURE__*/ p("<img decoding=async>"), Je = {
|
|
764
965
|
sm: 24,
|
|
765
966
|
md: 32,
|
|
766
967
|
lg: 48
|
|
767
968
|
};
|
|
768
|
-
function
|
|
769
|
-
let n = () => t.size ?? "md", a = () =>
|
|
969
|
+
function Ye(t) {
|
|
970
|
+
let n = () => t.size ?? "md", a = () => Je[n()];
|
|
770
971
|
return (() => {
|
|
771
|
-
var o = i(
|
|
972
|
+
var o = i(qe);
|
|
772
973
|
return r((r) => {
|
|
773
974
|
var i = `oss-product-mark oss-product-mark--${n()}${t.class ? ` ${t.class}` : ""}`, s = t.src, c = t.decorative ? "" : t.name, l = t.decorative ? "true" : void 0, d = a(), f = a();
|
|
774
975
|
return i !== r.e && e(o, r.e = i), s !== r.t && u(o, "src", r.t = s), c !== r.a && u(o, "alt", r.a = c), l !== r.o && u(o, "aria-hidden", r.o = l), d !== r.i && u(o, "width", r.i = d), f !== r.n && u(o, "height", r.n = f), r;
|
|
@@ -784,10 +985,10 @@ function Le(t) {
|
|
|
784
985
|
}
|
|
785
986
|
//#endregion
|
|
786
987
|
//#region src/solid/sections.tsx
|
|
787
|
-
var
|
|
788
|
-
function
|
|
988
|
+
var Xe = /*#__PURE__*/ p("<section class=site-section><div class=site-section__shell>"), Ze = /*#__PURE__*/ p("<header class=site-section__head><p class=site-section__index aria-hidden=true></p><h2></h2><!$><!/>"), Qe = /*#__PURE__*/ p("<p class=site-section__lede>"), $e = /*#__PURE__*/ p("<section class=site-hero><div class=site-hero__shell><div class=site-hero__copy><!$><!/><h1></h1><p class=site-hero__lede></p><div class=site-hero__actions></div></div><figure class=site-hero__aside>"), et = /*#__PURE__*/ p("<p class=site-hero__eyebrow>"), tt = /*#__PURE__*/ p("<ol class=site-steps>"), nt = /*#__PURE__*/ p("<li class=site-steps__step><span class=site-steps__marker aria-hidden=true></span><h3></h3><p>"), rt = /*#__PURE__*/ p("<ul class=site-rows>"), it = /*#__PURE__*/ p("<li class=site-rows__row><div class=site-rows__title><h3></h3><!$><!/></div><p class=site-rows__body>"), at = /*#__PURE__*/ p("<span class=\"dds-badge dds-badge--brand\">"), ot = /*#__PURE__*/ p("<div class=site-pricing><div class=site-pricing__note></div><div class=site-pricing__action>");
|
|
989
|
+
function st(e) {
|
|
789
990
|
return (() => {
|
|
790
|
-
var t = i(
|
|
991
|
+
var t = i(Xe), n = t.firstChild;
|
|
791
992
|
return o(n, () => e.children), r((n) => {
|
|
792
993
|
var r = e.id, i = e.tone ?? "default", a = e.labelledBy;
|
|
793
994
|
return r !== n.e && u(t, "id", n.e = r), i !== n.t && u(t, "data-tone", n.t = i), a !== n.a && u(t, "aria-labelledby", n.a = a), n;
|
|
@@ -798,29 +999,29 @@ function Ye(e) {
|
|
|
798
999
|
}), t;
|
|
799
1000
|
})();
|
|
800
1001
|
}
|
|
801
|
-
function
|
|
1002
|
+
function ct(e) {
|
|
802
1003
|
return (() => {
|
|
803
|
-
var n = i(
|
|
1004
|
+
var n = i(Ze), s = n.firstChild, c = s.nextSibling, l = c.nextSibling, [d, f] = a(l.nextSibling);
|
|
804
1005
|
return o(s, () => e.index), o(c, () => e.title), o(n, t(g, {
|
|
805
1006
|
get when() {
|
|
806
1007
|
return e.lede;
|
|
807
1008
|
},
|
|
808
1009
|
children: (e) => (() => {
|
|
809
|
-
var t = i(
|
|
1010
|
+
var t = i(Qe);
|
|
810
1011
|
return o(t, e), t;
|
|
811
1012
|
})()
|
|
812
1013
|
}), d, f), r(() => u(c, "id", e.titleId)), n;
|
|
813
1014
|
})();
|
|
814
1015
|
}
|
|
815
|
-
function
|
|
1016
|
+
function lt(e) {
|
|
816
1017
|
return (() => {
|
|
817
|
-
var n = i(
|
|
1018
|
+
var n = i($e), s = n.firstChild.firstChild, c = s.firstChild, [l, d] = a(c.nextSibling), f = l.nextSibling, p = f.nextSibling, m = p.nextSibling, h = s.nextSibling;
|
|
818
1019
|
return o(s, t(g, {
|
|
819
1020
|
get when() {
|
|
820
1021
|
return e.eyebrow;
|
|
821
1022
|
},
|
|
822
1023
|
children: (e) => (() => {
|
|
823
|
-
var t = i(
|
|
1024
|
+
var t = i(et);
|
|
824
1025
|
return o(t, e), t;
|
|
825
1026
|
})()
|
|
826
1027
|
}), l, d), o(f, () => e.title), o(p, () => e.lede), o(m, () => e.actions), o(h, () => e.aside), r((t) => {
|
|
@@ -834,35 +1035,35 @@ function Ze(e) {
|
|
|
834
1035
|
}), n;
|
|
835
1036
|
})();
|
|
836
1037
|
}
|
|
837
|
-
function
|
|
1038
|
+
function ut(e) {
|
|
838
1039
|
return (() => {
|
|
839
|
-
var n = i(
|
|
1040
|
+
var n = i(tt);
|
|
840
1041
|
return o(n, t(h, {
|
|
841
1042
|
get each() {
|
|
842
1043
|
return e.steps;
|
|
843
1044
|
},
|
|
844
1045
|
children: (e, t) => (() => {
|
|
845
|
-
var n = i(
|
|
1046
|
+
var n = i(nt), r = n.firstChild, a = r.nextSibling, s = a.nextSibling;
|
|
846
1047
|
return o(r, () => t() + 1), o(a, () => e.title), o(s, () => e.body), n;
|
|
847
1048
|
})()
|
|
848
1049
|
})), r(() => u(n, "aria-label", e.label)), n;
|
|
849
1050
|
})();
|
|
850
1051
|
}
|
|
851
|
-
function
|
|
1052
|
+
function dt(e) {
|
|
852
1053
|
return (() => {
|
|
853
|
-
var n = i(
|
|
1054
|
+
var n = i(rt);
|
|
854
1055
|
return o(n, t(h, {
|
|
855
1056
|
get each() {
|
|
856
1057
|
return e.rows;
|
|
857
1058
|
},
|
|
858
1059
|
children: (e) => (() => {
|
|
859
|
-
var n = i(
|
|
1060
|
+
var n = i(it), r = n.firstChild, s = r.firstChild, c = s.nextSibling, [l, u] = a(c.nextSibling), d = r.nextSibling;
|
|
860
1061
|
return o(s, () => e.title), o(r, t(g, {
|
|
861
1062
|
get when() {
|
|
862
1063
|
return e.badge;
|
|
863
1064
|
},
|
|
864
1065
|
children: (e) => (() => {
|
|
865
|
-
var t = i(
|
|
1066
|
+
var t = i(at);
|
|
866
1067
|
return o(t, e), t;
|
|
867
1068
|
})()
|
|
868
1069
|
}), l, u), o(d, () => e.body), n;
|
|
@@ -870,13 +1071,13 @@ function $e(e) {
|
|
|
870
1071
|
})), r(() => u(n, "aria-label", e.label)), n;
|
|
871
1072
|
})();
|
|
872
1073
|
}
|
|
873
|
-
function
|
|
1074
|
+
function ft(e) {
|
|
874
1075
|
return (() => {
|
|
875
|
-
var t = i(
|
|
1076
|
+
var t = i(ot), n = t.firstChild, r = n.nextSibling;
|
|
876
1077
|
return o(n, () => e.children), o(r, () => e.action), t;
|
|
877
1078
|
})();
|
|
878
1079
|
}
|
|
879
1080
|
//#endregion
|
|
880
|
-
export {
|
|
1081
|
+
export { he as ConsentBanner, Y as ConsentSettingsButton, Ue as ErrorLayout, dt as FeatureRows, lt as HeroSplit, Be as LegalLayout, J as LocaleMenu, ze as MarketingShell, He as NotFoundLayout, Ye as OssProductMark, ft as PricingNote, Ke as RequestAccessForm, st as SectionBlock, ct as SectionHead, je as SiteFooter, ke as SiteHeader, Ve as StatusBanner, ut as StepFlow, Z as ThemeToggle };
|
|
881
1082
|
|
|
882
1083
|
//# sourceMappingURL=solid.js.map
|