@quilted/preact-localize 0.0.0-preview-20240627021955

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (84) hide show
  1. package/CHANGELOG.md +222 -0
  2. package/LICENSE.md +21 -0
  3. package/build/esm/Localization.mjs +26 -0
  4. package/build/esm/context.mjs +6 -0
  5. package/build/esm/hooks/formatting.mjs +5 -0
  6. package/build/esm/hooks/locale-from-environment.mjs +15 -0
  7. package/build/esm/hooks/locale.mjs +5 -0
  8. package/build/esm/index.mjs +13 -0
  9. package/build/esm/request-router.mjs +49 -0
  10. package/build/esm/routing/LocalizedLink.mjs +26 -0
  11. package/build/esm/routing/LocalizedNavigation.mjs +48 -0
  12. package/build/esm/routing/LocalizedRouter.mjs +34 -0
  13. package/build/esm/routing/context.mjs +6 -0
  14. package/build/esm/routing/localization/by-locale.mjs +50 -0
  15. package/build/esm/routing/localization/by-path.mjs +23 -0
  16. package/build/esm/routing/localization/by-subdomain.mjs +25 -0
  17. package/build/esnext/Localization.esnext +35 -0
  18. package/build/esnext/context.esnext +6 -0
  19. package/build/esnext/hooks/formatting.esnext +5 -0
  20. package/build/esnext/hooks/locale-from-environment.esnext +13 -0
  21. package/build/esnext/hooks/locale.esnext +5 -0
  22. package/build/esnext/index.esnext +13 -0
  23. package/build/esnext/request-router.esnext +48 -0
  24. package/build/esnext/routing/LocalizedLink.esnext +21 -0
  25. package/build/esnext/routing/LocalizedNavigation.esnext +36 -0
  26. package/build/esnext/routing/LocalizedRouter.esnext +32 -0
  27. package/build/esnext/routing/context.esnext +6 -0
  28. package/build/esnext/routing/localization/by-locale.esnext +54 -0
  29. package/build/esnext/routing/localization/by-path.esnext +20 -0
  30. package/build/esnext/routing/localization/by-subdomain.esnext +22 -0
  31. package/build/tsconfig.tsbuildinfo +1 -0
  32. package/build/typescript/Localization.d.ts +7 -0
  33. package/build/typescript/Localization.d.ts.map +1 -0
  34. package/build/typescript/context.d.ts +4 -0
  35. package/build/typescript/context.d.ts.map +1 -0
  36. package/build/typescript/hooks/formatting.d.ts +2 -0
  37. package/build/typescript/hooks/formatting.d.ts.map +1 -0
  38. package/build/typescript/hooks/locale-from-environment.d.ts +2 -0
  39. package/build/typescript/hooks/locale-from-environment.d.ts.map +1 -0
  40. package/build/typescript/hooks/locale.d.ts +2 -0
  41. package/build/typescript/hooks/locale.d.ts.map +1 -0
  42. package/build/typescript/index.d.ts +9 -0
  43. package/build/typescript/index.d.ts.map +1 -0
  44. package/build/typescript/request-router.d.ts +16 -0
  45. package/build/typescript/request-router.d.ts.map +1 -0
  46. package/build/typescript/routing/LocalizedLink.d.ts +9 -0
  47. package/build/typescript/routing/LocalizedLink.d.ts.map +1 -0
  48. package/build/typescript/routing/LocalizedNavigation.d.ts +13 -0
  49. package/build/typescript/routing/LocalizedNavigation.d.ts.map +1 -0
  50. package/build/typescript/routing/LocalizedRouter.d.ts +9 -0
  51. package/build/typescript/routing/LocalizedRouter.d.ts.map +1 -0
  52. package/build/typescript/routing/LocalizedRouting.d.ts +9 -0
  53. package/build/typescript/routing/LocalizedRouting.d.ts.map +1 -0
  54. package/build/typescript/routing/context.d.ts +4 -0
  55. package/build/typescript/routing/context.d.ts.map +1 -0
  56. package/build/typescript/routing/localization/by-locale.d.ts +6 -0
  57. package/build/typescript/routing/localization/by-locale.d.ts.map +1 -0
  58. package/build/typescript/routing/localization/by-path.d.ts +6 -0
  59. package/build/typescript/routing/localization/by-path.d.ts.map +1 -0
  60. package/build/typescript/routing/localization/by-subdomain.d.ts +7 -0
  61. package/build/typescript/routing/localization/by-subdomain.d.ts.map +1 -0
  62. package/build/typescript/routing/types.d.ts +17 -0
  63. package/build/typescript/routing/types.d.ts.map +1 -0
  64. package/build/typescript/routing.d.ts +9 -0
  65. package/build/typescript/routing.d.ts.map +1 -0
  66. package/configuration/rollup.config.js +3 -0
  67. package/package.json +67 -0
  68. package/source/Localization.tsx +45 -0
  69. package/source/context.ts +7 -0
  70. package/source/hooks/formatting.ts +3 -0
  71. package/source/hooks/locale-from-environment.ts +15 -0
  72. package/source/hooks/locale.ts +3 -0
  73. package/source/index.ts +26 -0
  74. package/source/request-router.ts +98 -0
  75. package/source/routing/LocalizedLink.tsx +27 -0
  76. package/source/routing/LocalizedNavigation.tsx +64 -0
  77. package/source/routing/LocalizedRouter.ts +46 -0
  78. package/source/routing/context.ts +8 -0
  79. package/source/routing/localization/by-locale.ts +71 -0
  80. package/source/routing/localization/by-path.ts +31 -0
  81. package/source/routing/localization/by-subdomain.ts +34 -0
  82. package/source/routing/types.ts +16 -0
  83. package/source/routing.ts +12 -0
  84. package/tsconfig.json +17 -0
@@ -0,0 +1,13 @@
1
+ export { MissingTranslationError, MissingTranslationPlaceholderError, createLocalizedFormatting, createTranslate, parseAcceptLanguageHeader } from '@quilted/localize';
2
+ export { Localization } from './Localization.esnext';
3
+ export { useLocalizedFormatting } from './hooks/formatting.esnext';
4
+ export { useLocale } from './hooks/locale.esnext';
5
+ export { useLocaleFromEnvironment } from './hooks/locale-from-environment.esnext';
6
+ export { LocalizedFormattingContext } from './context.esnext';
7
+ export { LocalizedLink } from './routing/LocalizedLink.esnext';
8
+ export { LocalizedNavigation } from './routing/LocalizedNavigation.esnext';
9
+ export { LocalizedRouter } from './routing/LocalizedRouter.esnext';
10
+ export { useRouteLocalization } from './routing/context.esnext';
11
+ export { createRouteLocalization } from './routing/localization/by-locale.esnext';
12
+ export { createRoutePathLocalization } from './routing/localization/by-path.esnext';
13
+ export { createRouteSubdomainLocalization } from './routing/localization/by-subdomain.esnext';
@@ -0,0 +1,48 @@
1
+ import { RedirectResponse } from '@quilted/request-router';
2
+ import { parseAcceptLanguageHeader } from '@quilted/localize';
3
+
4
+ function createRequestRouterLocalization({
5
+ localization,
6
+ requestLocale: customRequestLocale
7
+ }) {
8
+ const { matchLocale, redirectURL, defaultLocale, localeFromURL } = localization;
9
+ const getDefaultLocaleFromRequest = (request) => {
10
+ const acceptLanguage = request.headers.get("Accept-Language");
11
+ return acceptLanguage && parseAcceptLanguageHeader(acceptLanguage) || void 0;
12
+ };
13
+ const getLocaleForRequest = customRequestLocale ?? getDefaultLocaleFromRequest;
14
+ function localeRedirect(request, {
15
+ to,
16
+ ...options
17
+ }) {
18
+ return new RedirectResponse(
19
+ redirectURL(new URL(request.url), { to }),
20
+ options
21
+ );
22
+ }
23
+ return {
24
+ redirect: localeRedirect,
25
+ localizedRequestHandler(handler, { include = () => true } = {}) {
26
+ return async (request, ...args) => {
27
+ if (!include(request)) return handler(request, ...args);
28
+ const url = new URL(request.url);
29
+ const urlLocale = localeFromURL(url);
30
+ const requestLocale = getLocaleForRequest(
31
+ request,
32
+ () => getDefaultLocaleFromRequest(request)
33
+ );
34
+ const matchedLocale = (requestLocale == null ? void 0 : matchLocale(requestLocale)) ?? defaultLocale;
35
+ if (urlLocale !== matchedLocale) {
36
+ return new RedirectResponse(
37
+ redirectURL(url, {
38
+ to: matchedLocale
39
+ })
40
+ );
41
+ }
42
+ return handler(request, ...args);
43
+ };
44
+ }
45
+ };
46
+ }
47
+
48
+ export { createRequestRouterLocalization };
@@ -0,0 +1,21 @@
1
+ import { jsx } from 'preact/jsx-runtime';
2
+ import { useMemo } from 'preact/hooks';
3
+ import { useRouter, useCurrentURL, Link } from '@quilted/preact-router';
4
+ import { useRouteLocalization } from './context.esnext';
5
+
6
+ function LocalizedLink({
7
+ to,
8
+ locale,
9
+ ...props
10
+ }) {
11
+ const router = useRouter();
12
+ const url = useCurrentURL();
13
+ const { redirectURL } = useRouteLocalization();
14
+ const resolvedURL = useMemo(
15
+ () => redirectURL(to ? router.resolve(to).url : url, { to: locale }),
16
+ [to, url, locale, redirectURL, router]
17
+ );
18
+ return /* @__PURE__ */ jsx(Link, { hrefLang: locale, to: resolvedURL, ...props });
19
+ }
20
+
21
+ export { LocalizedLink };
@@ -0,0 +1,36 @@
1
+ import { jsx } from 'preact/jsx-runtime';
2
+ import { useMemo } from 'preact/hooks';
3
+ import { useBrowserDetails } from '@quilted/preact-browser';
4
+ import { Navigation } from '@quilted/preact-router';
5
+ import { Localization } from '../Localization.esnext';
6
+ import { useLocaleFromEnvironment } from '../hooks/locale-from-environment.esnext';
7
+ import { LocalizedRouter } from './LocalizedRouter.esnext';
8
+ import { RouteLocalizationContext } from './context.esnext';
9
+
10
+ function LocalizedNavigation({
11
+ locale: explicitLocale,
12
+ router,
13
+ routes,
14
+ context,
15
+ localization,
16
+ children
17
+ }) {
18
+ const browser = useBrowserDetails({ optional: true });
19
+ const resolvedRouter = useMemo(
20
+ () => router ?? new LocalizedRouter(browser?.request.url, { localization }),
21
+ [router]
22
+ );
23
+ const resolvedLocalization = resolvedRouter.localization;
24
+ const localeFromEnvironment = useLocaleFromEnvironment();
25
+ let resolvedLocale;
26
+ if (explicitLocale) {
27
+ resolvedLocale = explicitLocale;
28
+ } else if (localeFromEnvironment != null && localeFromEnvironment.toLowerCase().startsWith(resolvedLocalization.locale.toLowerCase())) {
29
+ resolvedLocale = localeFromEnvironment;
30
+ } else {
31
+ resolvedLocale = resolvedLocalization.locale;
32
+ }
33
+ return /* @__PURE__ */ jsx(Localization, { locale: resolvedLocale, children: /* @__PURE__ */ jsx(RouteLocalizationContext.Provider, { value: resolvedLocalization, children: /* @__PURE__ */ jsx(Navigation, { router: resolvedRouter, routes, context, children }) }) });
34
+ }
35
+
36
+ export { LocalizedNavigation };
@@ -0,0 +1,32 @@
1
+ import { Router } from '@quilted/preact-router';
2
+
3
+ class LocalizedRouter extends Router {
4
+ localization;
5
+ constructor(initial, {
6
+ localization,
7
+ isExternal: explicitIsExternal
8
+ }) {
9
+ const { localeFromURL } = localization;
10
+ super(initial, {
11
+ isExternal(url, currentURL2) {
12
+ return matchedLocale !== localeFromURL(url) || (explicitIsExternal?.(url, currentURL2) ?? false);
13
+ }
14
+ });
15
+ const currentURL = this.currentRequest.url;
16
+ const matchedLocale = localeFromURL(currentURL);
17
+ const resolvedLocalization = {
18
+ locale: matchedLocale ?? localization.defaultLocale,
19
+ ...localization
20
+ };
21
+ this.localization = resolvedLocalization;
22
+ const { pathname: rootPath } = localization.redirectURL(
23
+ new URL("/", currentURL),
24
+ {
25
+ to: resolvedLocalization.locale
26
+ }
27
+ );
28
+ if (rootPath.length > 1) Object.assign(this, { base: rootPath });
29
+ }
30
+ }
31
+
32
+ export { LocalizedRouter };
@@ -0,0 +1,6 @@
1
+ import { createOptionalContext } from '@quilted/preact-context';
2
+
3
+ const RouteLocalizationContext = createOptionalContext();
4
+ const useRouteLocalization = RouteLocalizationContext.use;
5
+
6
+ export { RouteLocalizationContext, useRouteLocalization };
@@ -0,0 +1,54 @@
1
+ function createRouteLocalization({
2
+ locales: localeMap,
3
+ default: defaultLocale
4
+ }) {
5
+ const sortedLocaleMap = [...localeMap].sort(
6
+ ([, a], [, b]) => b.length - a.length
7
+ );
8
+ const locales = [...localeMap.keys()].sort((a, b) => b.length - a.length);
9
+ return {
10
+ locales,
11
+ redirectURL,
12
+ matchLocale,
13
+ localeFromURL,
14
+ defaultLocale
15
+ };
16
+ function matchLocale(requestLocale) {
17
+ const language = requestLocale.split("-")[0];
18
+ return locales.find(
19
+ (locale) => locale === requestLocale || locale === language
20
+ );
21
+ }
22
+ function localeFromURL(url) {
23
+ const hostname = url.hostname.toLowerCase();
24
+ const pathname = normalizePath(url.pathname.toLowerCase());
25
+ for (const [locale, target] of sortedLocaleMap) {
26
+ if (target.startsWith("/")) {
27
+ if (pathname.startsWith(target)) return locale;
28
+ } else {
29
+ if (hostname === target) return locale;
30
+ }
31
+ }
32
+ }
33
+ function redirectURL(from, { to: toLocale }) {
34
+ const fromLocale = localeFromURL(from);
35
+ const toUrl = new URL(from);
36
+ if (fromLocale === toLocale) return toUrl;
37
+ const target = localeMap.get(toLocale) ?? localeMap.get(defaultLocale);
38
+ if (target.startsWith("/")) {
39
+ const fromTarget = fromLocale == null ? "/" : localeMap.get(fromLocale) ?? "/";
40
+ toUrl.pathname = normalizePath(
41
+ toUrl.pathname.replace(fromTarget, target)
42
+ );
43
+ } else {
44
+ toUrl.hostname = target;
45
+ }
46
+ return toUrl;
47
+ }
48
+ }
49
+ function normalizePath(path) {
50
+ if (path.length === 0) return "/";
51
+ return path.endsWith("/") && path.length > 1 ? path.slice(0, -1) : path;
52
+ }
53
+
54
+ export { createRouteLocalization };
@@ -0,0 +1,20 @@
1
+ import { createRouteLocalization } from './by-locale.esnext';
2
+
3
+ function createRoutePathLocalization({
4
+ locales,
5
+ default: defaultLocaleDefinition
6
+ }) {
7
+ const localeMap = /* @__PURE__ */ new Map();
8
+ const defaultLocale = typeof defaultLocaleDefinition === "string" ? defaultLocaleDefinition : defaultLocaleDefinition.locale;
9
+ const defaultLocaleNested = typeof defaultLocaleDefinition === "string" || (defaultLocaleDefinition.nested ?? true);
10
+ for (const locale of locales) {
11
+ if (!defaultLocaleNested && locale === defaultLocale) {
12
+ localeMap.set(locale, "/");
13
+ } else {
14
+ localeMap.set(locale, `/${locale.toLowerCase()}`);
15
+ }
16
+ }
17
+ return createRouteLocalization({ locales: localeMap, default: defaultLocale });
18
+ }
19
+
20
+ export { createRoutePathLocalization };
@@ -0,0 +1,22 @@
1
+ import { createRouteLocalization } from './by-locale.esnext';
2
+
3
+ function createRouteSubdomainLocalization({
4
+ base,
5
+ locales,
6
+ default: defaultLocaleDefinition
7
+ }) {
8
+ const localeMap = /* @__PURE__ */ new Map();
9
+ const normalizedBase = base.replace(/^https?:\/\//, "");
10
+ const defaultLocale = typeof defaultLocaleDefinition === "string" ? defaultLocaleDefinition : defaultLocaleDefinition.locale;
11
+ const defaultLocaleNested = typeof defaultLocaleDefinition === "string" || (defaultLocaleDefinition.nested ?? true);
12
+ for (const locale of locales) {
13
+ if (!defaultLocaleNested && locale === defaultLocale) {
14
+ localeMap.set(locale, normalizedBase);
15
+ } else {
16
+ localeMap.set(locale, `${locale.toLowerCase()}.${normalizedBase}`);
17
+ }
18
+ }
19
+ return createRouteLocalization({ locales: localeMap, default: defaultLocale });
20
+ }
21
+
22
+ export { createRouteSubdomainLocalization };
@@ -0,0 +1 @@
1
+ {"program":{"fileNames":["../../../node_modules/.pnpm/typescript@5.4.4/node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/.pnpm/typescript@5.4.4/node_modules/typescript/lib/lib.es2015.d.ts","../../../node_modules/.pnpm/typescript@5.4.4/node_modules/typescript/lib/lib.es2016.d.ts","../../../node_modules/.pnpm/typescript@5.4.4/node_modules/typescript/lib/lib.es2017.d.ts","../../../node_modules/.pnpm/typescript@5.4.4/node_modules/typescript/lib/lib.es2018.d.ts","../../../node_modules/.pnpm/typescript@5.4.4/node_modules/typescript/lib/lib.es2019.d.ts","../../../node_modules/.pnpm/typescript@5.4.4/node_modules/typescript/lib/lib.es2020.d.ts","../../../node_modules/.pnpm/typescript@5.4.4/node_modules/typescript/lib/lib.es2021.d.ts","../../../node_modules/.pnpm/typescript@5.4.4/node_modules/typescript/lib/lib.es2022.d.ts","../../../node_modules/.pnpm/typescript@5.4.4/node_modules/typescript/lib/lib.es2023.d.ts","../../../node_modules/.pnpm/typescript@5.4.4/node_modules/typescript/lib/lib.esnext.d.ts","../../../node_modules/.pnpm/typescript@5.4.4/node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/.pnpm/typescript@5.4.4/node_modules/typescript/lib/lib.dom.iterable.d.ts","../../../node_modules/.pnpm/typescript@5.4.4/node_modules/typescript/lib/lib.es2015.core.d.ts","../../../node_modules/.pnpm/typescript@5.4.4/node_modules/typescript/lib/lib.es2015.collection.d.ts","../../../node_modules/.pnpm/typescript@5.4.4/node_modules/typescript/lib/lib.es2015.generator.d.ts","../../../node_modules/.pnpm/typescript@5.4.4/node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../../node_modules/.pnpm/typescript@5.4.4/node_modules/typescript/lib/lib.es2015.promise.d.ts","../../../node_modules/.pnpm/typescript@5.4.4/node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../../node_modules/.pnpm/typescript@5.4.4/node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../../node_modules/.pnpm/typescript@5.4.4/node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../../node_modules/.pnpm/typescript@5.4.4/node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../../node_modules/.pnpm/typescript@5.4.4/node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../../node_modules/.pnpm/typescript@5.4.4/node_modules/typescript/lib/lib.es2016.intl.d.ts","../../../node_modules/.pnpm/typescript@5.4.4/node_modules/typescript/lib/lib.es2017.date.d.ts","../../../node_modules/.pnpm/typescript@5.4.4/node_modules/typescript/lib/lib.es2017.object.d.ts","../../../node_modules/.pnpm/typescript@5.4.4/node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../../node_modules/.pnpm/typescript@5.4.4/node_modules/typescript/lib/lib.es2017.string.d.ts","../../../node_modules/.pnpm/typescript@5.4.4/node_modules/typescript/lib/lib.es2017.intl.d.ts","../../../node_modules/.pnpm/typescript@5.4.4/node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../../node_modules/.pnpm/typescript@5.4.4/node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../../node_modules/.pnpm/typescript@5.4.4/node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../../node_modules/.pnpm/typescript@5.4.4/node_modules/typescript/lib/lib.es2018.intl.d.ts","../../../node_modules/.pnpm/typescript@5.4.4/node_modules/typescript/lib/lib.es2018.promise.d.ts","../../../node_modules/.pnpm/typescript@5.4.4/node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../../node_modules/.pnpm/typescript@5.4.4/node_modules/typescript/lib/lib.es2019.array.d.ts","../../../node_modules/.pnpm/typescript@5.4.4/node_modules/typescript/lib/lib.es2019.object.d.ts","../../../node_modules/.pnpm/typescript@5.4.4/node_modules/typescript/lib/lib.es2019.string.d.ts","../../../node_modules/.pnpm/typescript@5.4.4/node_modules/typescript/lib/lib.es2019.symbol.d.ts","../../../node_modules/.pnpm/typescript@5.4.4/node_modules/typescript/lib/lib.es2019.intl.d.ts","../../../node_modules/.pnpm/typescript@5.4.4/node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../../node_modules/.pnpm/typescript@5.4.4/node_modules/typescript/lib/lib.es2020.date.d.ts","../../../node_modules/.pnpm/typescript@5.4.4/node_modules/typescript/lib/lib.es2020.promise.d.ts","../../../node_modules/.pnpm/typescript@5.4.4/node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../../../node_modules/.pnpm/typescript@5.4.4/node_modules/typescript/lib/lib.es2020.string.d.ts","../../../node_modules/.pnpm/typescript@5.4.4/node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../../../node_modules/.pnpm/typescript@5.4.4/node_modules/typescript/lib/lib.es2020.intl.d.ts","../../../node_modules/.pnpm/typescript@5.4.4/node_modules/typescript/lib/lib.es2020.number.d.ts","../../../node_modules/.pnpm/typescript@5.4.4/node_modules/typescript/lib/lib.es2021.promise.d.ts","../../../node_modules/.pnpm/typescript@5.4.4/node_modules/typescript/lib/lib.es2021.string.d.ts","../../../node_modules/.pnpm/typescript@5.4.4/node_modules/typescript/lib/lib.es2021.weakref.d.ts","../../../node_modules/.pnpm/typescript@5.4.4/node_modules/typescript/lib/lib.es2021.intl.d.ts","../../../node_modules/.pnpm/typescript@5.4.4/node_modules/typescript/lib/lib.es2022.array.d.ts","../../../node_modules/.pnpm/typescript@5.4.4/node_modules/typescript/lib/lib.es2022.error.d.ts","../../../node_modules/.pnpm/typescript@5.4.4/node_modules/typescript/lib/lib.es2022.intl.d.ts","../../../node_modules/.pnpm/typescript@5.4.4/node_modules/typescript/lib/lib.es2022.object.d.ts","../../../node_modules/.pnpm/typescript@5.4.4/node_modules/typescript/lib/lib.es2022.sharedmemory.d.ts","../../../node_modules/.pnpm/typescript@5.4.4/node_modules/typescript/lib/lib.es2022.string.d.ts","../../../node_modules/.pnpm/typescript@5.4.4/node_modules/typescript/lib/lib.es2022.regexp.d.ts","../../../node_modules/.pnpm/typescript@5.4.4/node_modules/typescript/lib/lib.es2023.array.d.ts","../../../node_modules/.pnpm/typescript@5.4.4/node_modules/typescript/lib/lib.es2023.collection.d.ts","../../../node_modules/.pnpm/typescript@5.4.4/node_modules/typescript/lib/lib.esnext.collection.d.ts","../../../node_modules/.pnpm/typescript@5.4.4/node_modules/typescript/lib/lib.esnext.intl.d.ts","../../../node_modules/.pnpm/typescript@5.4.4/node_modules/typescript/lib/lib.esnext.disposable.d.ts","../../../node_modules/.pnpm/typescript@5.4.4/node_modules/typescript/lib/lib.esnext.promise.d.ts","../../../node_modules/.pnpm/typescript@5.4.4/node_modules/typescript/lib/lib.esnext.decorators.d.ts","../../../node_modules/.pnpm/typescript@5.4.4/node_modules/typescript/lib/lib.esnext.object.d.ts","../../../node_modules/.pnpm/typescript@5.4.4/node_modules/typescript/lib/lib.decorators.d.ts","../../../node_modules/.pnpm/typescript@5.4.4/node_modules/typescript/lib/lib.decorators.legacy.d.ts","../../../node_modules/.pnpm/preact@10.21.0/node_modules/preact/src/jsx.d.ts","../../../node_modules/.pnpm/preact@10.21.0/node_modules/preact/src/index.d.ts","../../../node_modules/.pnpm/preact@10.21.0/node_modules/preact/jsx-runtime/src/index.d.ts","../../../node_modules/.pnpm/preact@10.21.0/node_modules/preact/hooks/src/index.d.ts","../../localize/build/typescript/translation.d.ts","../../localize/build/typescript/formatting.d.ts","../../localize/build/typescript/request-header.d.ts","../../localize/build/typescript/index.d.ts","../../../node_modules/.pnpm/@preact+signals-core@1.6.0/node_modules/@preact/signals-core/dist/signals-core.d.ts","../../signals/build/typescript/signal-or-value.d.ts","../../signals/build/typescript/iterator.d.ts","../../signals/build/typescript/index.d.ts","../../browser/build/typescript/types.d.ts","../../browser/build/typescript/browser.d.ts","../../browser/build/typescript/index.d.ts","../../preact-context/build/typescript/optional-context.d.ts","../../preact-context/build/typescript/index.d.ts","../../preact-browser/build/typescript/context.d.ts","../../preact-browser/build/typescript/hooks/alternate-url.d.ts","../../preact-browser/build/typescript/hooks/body-attributes.d.ts","../../preact-browser/build/typescript/hooks/browser-effect.d.ts","../../preact-browser/build/typescript/hooks/browser-request.d.ts","../../preact-browser/build/typescript/hooks/cookie.d.ts","../../preact-browser/build/typescript/hooks/favicon.d.ts","../../preact-browser/build/typescript/hooks/html-attributes.d.ts","../../preact-browser/build/typescript/hooks/link.d.ts","../../preact-browser/build/typescript/hooks/locale.d.ts","../../preact-browser/build/typescript/hooks/meta.d.ts","../../preact-browser/build/typescript/hooks/serialized.d.ts","../../preact-browser/build/typescript/hooks/theme-color.d.ts","../../preact-browser/build/typescript/hooks/title.d.ts","../../preact-browser/build/typescript/components/Alternate.d.ts","../../preact-browser/build/typescript/components/BrowserContext.d.ts","../../preact-browser/build/typescript/components/BodyAttributes.d.ts","../../preact-browser/build/typescript/components/HTMLAttributes.d.ts","../../preact-browser/build/typescript/components/Link.d.ts","../../preact-browser/build/typescript/components/Meta.d.ts","../../preact-browser/build/typescript/components/ThemeColor.d.ts","../../preact-browser/build/typescript/components/Title.d.ts","../../preact-browser/build/typescript/components/Favicon.d.ts","../../preact-browser/build/typescript/index.d.ts","../source/context.ts","../source/Localization.tsx","../source/hooks/formatting.ts","../source/hooks/locale.ts","../source/hooks/locale-from-environment.ts","../../async/build/typescript/global.d.ts","../../async/build/typescript/AsyncAction.d.ts","../../async/build/typescript/AsyncModule.d.ts","../../async/build/typescript/AsyncActionCache.d.ts","../../async/build/typescript/index.d.ts","../../routing/build/typescript/utilities.d.ts","../../routing/build/typescript/types.d.ts","../../routing/build/typescript/index.d.ts","../../preact-router/build/typescript/types.d.ts","../../preact-router/build/typescript/Router.d.ts","../../preact-router/build/typescript/route.d.ts","../../preact-router/build/typescript/components/Link.d.ts","../../preact-router/build/typescript/components/Navigation.d.ts","../../preact-router/build/typescript/components/Routes.d.ts","../../preact-router/build/typescript/hooks/current-url.d.ts","../../preact-router/build/typescript/hooks/navigate.d.ts","../../preact-router/build/typescript/hooks/route-data.d.ts","../../preact-router/build/typescript/hooks/route-navigation-entry.d.ts","../../preact-router/build/typescript/hooks/router.d.ts","../../preact-router/build/typescript/hooks/routes.d.ts","../../preact-router/build/typescript/index.d.ts","../source/routing/types.ts","../source/routing/context.ts","../source/routing/LocalizedLink.tsx","../source/routing/LocalizedRouter.ts","../source/routing/LocalizedNavigation.tsx","../source/routing/localization/by-locale.ts","../source/routing/localization/by-path.ts","../source/routing/localization/by-subdomain.ts","../source/routing.ts","../source/index.ts","../../http/build/typescript/cookies.d.ts","../../http/build/typescript/headers.d.ts","../../http/build/typescript/method.d.ts","../../http/build/typescript/status-code.d.ts","../../http/build/typescript/response-type.d.ts","../../http/build/typescript/content-security-policy.d.ts","../../http/build/typescript/permissions-policy.d.ts","../../http/build/typescript/cross-origin-headers.d.ts","../../http/build/typescript/index.d.ts","../../request-router/build/typescript/globals.d.ts","../../request-router/build/typescript/request.d.ts","../../request-router/build/typescript/types.d.ts","../../request-router/build/typescript/response.d.ts","../../request-router/build/typescript/router.d.ts","../../request-router/build/typescript/response-helpers.d.ts","../../request-router/build/typescript/errors/ResponseShortCircuitError.d.ts","../../request-router/build/typescript/errors/ResponseRedirectError.d.ts","../../request-router/build/typescript/errors.d.ts","../../request-router/build/typescript/handle.d.ts","../../request-router/build/typescript/index.d.ts","../source/request-router.ts","../../../node_modules/.pnpm/@types+common-tags@1.8.1/node_modules/@types/common-tags/index.d.ts","../../../node_modules/.pnpm/@types+node@20.8.10/node_modules/@types/node/assert.d.ts","../../../node_modules/.pnpm/@types+node@20.8.10/node_modules/@types/node/assert/strict.d.ts","../../../node_modules/.pnpm/undici-types@5.26.5/node_modules/undici-types/header.d.ts","../../../node_modules/.pnpm/undici-types@5.26.5/node_modules/undici-types/readable.d.ts","../../../node_modules/.pnpm/undici-types@5.26.5/node_modules/undici-types/file.d.ts","../../../node_modules/.pnpm/undici-types@5.26.5/node_modules/undici-types/fetch.d.ts","../../../node_modules/.pnpm/undici-types@5.26.5/node_modules/undici-types/formdata.d.ts","../../../node_modules/.pnpm/undici-types@5.26.5/node_modules/undici-types/connector.d.ts","../../../node_modules/.pnpm/undici-types@5.26.5/node_modules/undici-types/client.d.ts","../../../node_modules/.pnpm/undici-types@5.26.5/node_modules/undici-types/errors.d.ts","../../../node_modules/.pnpm/undici-types@5.26.5/node_modules/undici-types/dispatcher.d.ts","../../../node_modules/.pnpm/undici-types@5.26.5/node_modules/undici-types/global-dispatcher.d.ts","../../../node_modules/.pnpm/undici-types@5.26.5/node_modules/undici-types/global-origin.d.ts","../../../node_modules/.pnpm/undici-types@5.26.5/node_modules/undici-types/pool-stats.d.ts","../../../node_modules/.pnpm/undici-types@5.26.5/node_modules/undici-types/pool.d.ts","../../../node_modules/.pnpm/undici-types@5.26.5/node_modules/undici-types/handlers.d.ts","../../../node_modules/.pnpm/undici-types@5.26.5/node_modules/undici-types/balanced-pool.d.ts","../../../node_modules/.pnpm/undici-types@5.26.5/node_modules/undici-types/agent.d.ts","../../../node_modules/.pnpm/undici-types@5.26.5/node_modules/undici-types/mock-interceptor.d.ts","../../../node_modules/.pnpm/undici-types@5.26.5/node_modules/undici-types/mock-agent.d.ts","../../../node_modules/.pnpm/undici-types@5.26.5/node_modules/undici-types/mock-client.d.ts","../../../node_modules/.pnpm/undici-types@5.26.5/node_modules/undici-types/mock-pool.d.ts","../../../node_modules/.pnpm/undici-types@5.26.5/node_modules/undici-types/mock-errors.d.ts","../../../node_modules/.pnpm/undici-types@5.26.5/node_modules/undici-types/proxy-agent.d.ts","../../../node_modules/.pnpm/undici-types@5.26.5/node_modules/undici-types/api.d.ts","../../../node_modules/.pnpm/undici-types@5.26.5/node_modules/undici-types/cookies.d.ts","../../../node_modules/.pnpm/undici-types@5.26.5/node_modules/undici-types/patch.d.ts","../../../node_modules/.pnpm/undici-types@5.26.5/node_modules/undici-types/filereader.d.ts","../../../node_modules/.pnpm/undici-types@5.26.5/node_modules/undici-types/diagnostics-channel.d.ts","../../../node_modules/.pnpm/undici-types@5.26.5/node_modules/undici-types/websocket.d.ts","../../../node_modules/.pnpm/undici-types@5.26.5/node_modules/undici-types/content-type.d.ts","../../../node_modules/.pnpm/undici-types@5.26.5/node_modules/undici-types/cache.d.ts","../../../node_modules/.pnpm/undici-types@5.26.5/node_modules/undici-types/interceptors.d.ts","../../../node_modules/.pnpm/undici-types@5.26.5/node_modules/undici-types/index.d.ts","../../../node_modules/.pnpm/@types+node@20.8.10/node_modules/@types/node/globals.d.ts","../../../node_modules/.pnpm/@types+node@20.8.10/node_modules/@types/node/async_hooks.d.ts","../../../node_modules/.pnpm/@types+node@20.8.10/node_modules/@types/node/buffer.d.ts","../../../node_modules/.pnpm/@types+node@20.8.10/node_modules/@types/node/child_process.d.ts","../../../node_modules/.pnpm/@types+node@20.8.10/node_modules/@types/node/cluster.d.ts","../../../node_modules/.pnpm/@types+node@20.8.10/node_modules/@types/node/console.d.ts","../../../node_modules/.pnpm/@types+node@20.8.10/node_modules/@types/node/constants.d.ts","../../../node_modules/.pnpm/@types+node@20.8.10/node_modules/@types/node/crypto.d.ts","../../../node_modules/.pnpm/@types+node@20.8.10/node_modules/@types/node/dgram.d.ts","../../../node_modules/.pnpm/@types+node@20.8.10/node_modules/@types/node/diagnostics_channel.d.ts","../../../node_modules/.pnpm/@types+node@20.8.10/node_modules/@types/node/dns.d.ts","../../../node_modules/.pnpm/@types+node@20.8.10/node_modules/@types/node/dns/promises.d.ts","../../../node_modules/.pnpm/@types+node@20.8.10/node_modules/@types/node/domain.d.ts","../../../node_modules/.pnpm/@types+node@20.8.10/node_modules/@types/node/dom-events.d.ts","../../../node_modules/.pnpm/@types+node@20.8.10/node_modules/@types/node/events.d.ts","../../../node_modules/.pnpm/@types+node@20.8.10/node_modules/@types/node/fs.d.ts","../../../node_modules/.pnpm/@types+node@20.8.10/node_modules/@types/node/fs/promises.d.ts","../../../node_modules/.pnpm/@types+node@20.8.10/node_modules/@types/node/http.d.ts","../../../node_modules/.pnpm/@types+node@20.8.10/node_modules/@types/node/http2.d.ts","../../../node_modules/.pnpm/@types+node@20.8.10/node_modules/@types/node/https.d.ts","../../../node_modules/.pnpm/@types+node@20.8.10/node_modules/@types/node/inspector.d.ts","../../../node_modules/.pnpm/@types+node@20.8.10/node_modules/@types/node/module.d.ts","../../../node_modules/.pnpm/@types+node@20.8.10/node_modules/@types/node/net.d.ts","../../../node_modules/.pnpm/@types+node@20.8.10/node_modules/@types/node/os.d.ts","../../../node_modules/.pnpm/@types+node@20.8.10/node_modules/@types/node/path.d.ts","../../../node_modules/.pnpm/@types+node@20.8.10/node_modules/@types/node/perf_hooks.d.ts","../../../node_modules/.pnpm/@types+node@20.8.10/node_modules/@types/node/process.d.ts","../../../node_modules/.pnpm/@types+node@20.8.10/node_modules/@types/node/punycode.d.ts","../../../node_modules/.pnpm/@types+node@20.8.10/node_modules/@types/node/querystring.d.ts","../../../node_modules/.pnpm/@types+node@20.8.10/node_modules/@types/node/readline.d.ts","../../../node_modules/.pnpm/@types+node@20.8.10/node_modules/@types/node/readline/promises.d.ts","../../../node_modules/.pnpm/@types+node@20.8.10/node_modules/@types/node/repl.d.ts","../../../node_modules/.pnpm/@types+node@20.8.10/node_modules/@types/node/stream.d.ts","../../../node_modules/.pnpm/@types+node@20.8.10/node_modules/@types/node/stream/promises.d.ts","../../../node_modules/.pnpm/@types+node@20.8.10/node_modules/@types/node/stream/consumers.d.ts","../../../node_modules/.pnpm/@types+node@20.8.10/node_modules/@types/node/stream/web.d.ts","../../../node_modules/.pnpm/@types+node@20.8.10/node_modules/@types/node/string_decoder.d.ts","../../../node_modules/.pnpm/@types+node@20.8.10/node_modules/@types/node/test.d.ts","../../../node_modules/.pnpm/@types+node@20.8.10/node_modules/@types/node/timers.d.ts","../../../node_modules/.pnpm/@types+node@20.8.10/node_modules/@types/node/timers/promises.d.ts","../../../node_modules/.pnpm/@types+node@20.8.10/node_modules/@types/node/tls.d.ts","../../../node_modules/.pnpm/@types+node@20.8.10/node_modules/@types/node/trace_events.d.ts","../../../node_modules/.pnpm/@types+node@20.8.10/node_modules/@types/node/tty.d.ts","../../../node_modules/.pnpm/@types+node@20.8.10/node_modules/@types/node/url.d.ts","../../../node_modules/.pnpm/@types+node@20.8.10/node_modules/@types/node/util.d.ts","../../../node_modules/.pnpm/@types+node@20.8.10/node_modules/@types/node/v8.d.ts","../../../node_modules/.pnpm/@types+node@20.8.10/node_modules/@types/node/vm.d.ts","../../../node_modules/.pnpm/@types+node@20.8.10/node_modules/@types/node/wasi.d.ts","../../../node_modules/.pnpm/@types+node@20.8.10/node_modules/@types/node/worker_threads.d.ts","../../../node_modules/.pnpm/@types+node@20.8.10/node_modules/@types/node/zlib.d.ts","../../../node_modules/.pnpm/@types+node@20.8.10/node_modules/@types/node/globals.global.d.ts","../../../node_modules/.pnpm/@types+node@20.8.10/node_modules/@types/node/index.d.ts","../../../node_modules/.pnpm/@types+react@18.2.34/node_modules/@types/react/global.d.ts","../../../node_modules/.pnpm/csstype@3.1.0/node_modules/csstype/index.d.ts","../../../node_modules/.pnpm/@types+prop-types@15.7.5/node_modules/@types/prop-types/index.d.ts","../../../node_modules/.pnpm/@types+scheduler@0.16.2/node_modules/@types/scheduler/tracing.d.ts","../../../node_modules/.pnpm/@types+react@18.2.34/node_modules/@types/react/index.d.ts","../../../node_modules/.pnpm/@types+react-dom@18.2.14/node_modules/@types/react-dom/index.d.ts"],"fileInfos":[{"version":"824cb491a40f7e8fdeb56f1df5edf91b23f3e3ee6b4cde84d4a99be32338faee","affectsGlobalScope":true},"45b7ab580deca34ae9729e97c13cfd999df04416a79116c3bfb483804f85ded4","3facaf05f0c5fc569c5649dd359892c98a85557e3e0c847964caeb67076f4d75","9a68c0c07ae2fa71b44384a839b7b8d81662a236d4b9ac30916718f7510b1b2d","5e1c4c362065a6b95ff952c0eab010f04dcd2c3494e813b493ecfd4fcb9fc0d8","68d73b4a11549f9c0b7d352d10e91e5dca8faa3322bfb77b661839c42b1ddec7","5efce4fc3c29ea84e8928f97adec086e3dc876365e0982cc8479a07954a3efd4","feecb1be483ed332fad555aff858affd90a48ab19ba7272ee084704eb7167569","5514e54f17d6d74ecefedc73c504eadffdeda79c7ea205cf9febead32d45c4bc","1c0cdb8dc619bc549c3e5020643e7cf7ae7940058e8c7e5aefa5871b6d86f44b","886e50ef125efb7878f744e86908884c0133e7a6d9d80013f421b0cd8fb2af94",{"version":"87d693a4920d794a73384b3c779cadcb8548ac6945aa7a925832fe2418c9527a","affectsGlobalScope":true},{"version":"76f838d5d49b65de83bc345c04aa54c62a3cfdb72a477dc0c0fce89a30596c30","affectsGlobalScope":true},{"version":"138fb588d26538783b78d1e3b2c2cc12d55840b97bf5e08bca7f7a174fbe2f17","affectsGlobalScope":true},{"version":"dc2df20b1bcdc8c2d34af4926e2c3ab15ffe1160a63e58b7e09833f616efff44","affectsGlobalScope":true},{"version":"4443e68b35f3332f753eacc66a04ac1d2053b8b035a0e0ac1d455392b5e243b3","affectsGlobalScope":true},{"version":"bc47685641087c015972a3f072480889f0d6c65515f12bd85222f49a98952ed7","affectsGlobalScope":true},{"version":"0dc1e7ceda9b8b9b455c3a2d67b0412feab00bd2f66656cd8850e8831b08b537","affectsGlobalScope":true},{"version":"ce691fb9e5c64efb9547083e4a34091bcbe5bdb41027e310ebba8f7d96a98671","affectsGlobalScope":true},{"version":"8d697a2a929a5fcb38b7a65594020fcef05ec1630804a33748829c5ff53640d0","affectsGlobalScope":true},{"version":"4ff2a353abf8a80ee399af572debb8faab2d33ad38c4b4474cff7f26e7653b8d","affectsGlobalScope":true},{"version":"93495ff27b8746f55d19fcbcdbaccc99fd95f19d057aed1bd2c0cafe1335fbf0","affectsGlobalScope":true},{"version":"6fc23bb8c3965964be8c597310a2878b53a0306edb71d4b5a4dfe760186bcc01","affectsGlobalScope":true},{"version":"ea011c76963fb15ef1cdd7ce6a6808b46322c527de2077b6cfdf23ae6f5f9ec7","affectsGlobalScope":true},{"version":"38f0219c9e23c915ef9790ab1d680440d95419ad264816fa15009a8851e79119","affectsGlobalScope":true},{"version":"bb42a7797d996412ecdc5b2787720de477103a0b2e53058569069a0e2bae6c7e","affectsGlobalScope":true},{"version":"4738f2420687fd85629c9efb470793bb753709c2379e5f85bc1815d875ceadcd","affectsGlobalScope":true},{"version":"2f11ff796926e0832f9ae148008138ad583bd181899ab7dd768a2666700b1893","affectsGlobalScope":true},{"version":"4de680d5bb41c17f7f68e0419412ca23c98d5749dcaaea1896172f06435891fc","affectsGlobalScope":true},{"version":"9fc46429fbe091ac5ad2608c657201eb68b6f1b8341bd6d670047d32ed0a88fa","affectsGlobalScope":true},{"version":"61c37c1de663cf4171e1192466e52c7a382afa58da01b1dc75058f032ddf0839","affectsGlobalScope":true},{"version":"b541a838a13f9234aba650a825393ffc2292dc0fc87681a5d81ef0c96d281e7a","affectsGlobalScope":true},{"version":"b20fe0eca9a4e405f1a5ae24a2b3290b37cf7f21eba6cbe4fc3fab979237d4f3","affectsGlobalScope":true},{"version":"811ec78f7fefcabbda4bfa93b3eb67d9ae166ef95f9bff989d964061cbf81a0c","affectsGlobalScope":true},{"version":"717937616a17072082152a2ef351cb51f98802fb4b2fdabd32399843875974ca","affectsGlobalScope":true},{"version":"d7e7d9b7b50e5f22c915b525acc5a49a7a6584cf8f62d0569e557c5cfc4b2ac2","affectsGlobalScope":true},{"version":"71c37f4c9543f31dfced6c7840e068c5a5aacb7b89111a4364b1d5276b852557","affectsGlobalScope":true},{"version":"576711e016cf4f1804676043e6a0a5414252560eb57de9faceee34d79798c850","affectsGlobalScope":true},{"version":"89c1b1281ba7b8a96efc676b11b264de7a8374c5ea1e6617f11880a13fc56dc6","affectsGlobalScope":true},{"version":"49ed889be54031e1044af0ad2c603d627b8bda8b50c1a68435fe85583901d072","affectsGlobalScope":true},{"version":"e93d098658ce4f0c8a0779e6cab91d0259efb88a318137f686ad76f8410ca270","affectsGlobalScope":true},{"version":"063600664504610fe3e99b717a1223f8b1900087fab0b4cad1496a114744f8df","affectsGlobalScope":true},{"version":"934019d7e3c81950f9a8426d093458b65d5aff2c7c1511233c0fd5b941e608ab","affectsGlobalScope":true},{"version":"bf14a426dbbf1022d11bd08d6b8e709a2e9d246f0c6c1032f3b2edb9a902adbe","affectsGlobalScope":true},{"version":"5e07ed3809d48205d5b985642a59f2eba47c402374a7cf8006b686f79efadcbd","affectsGlobalScope":true},{"version":"2b72d528b2e2fe3c57889ca7baef5e13a56c957b946906d03767c642f386bbc3","affectsGlobalScope":true},{"version":"8073890e29d2f46fdbc19b8d6d2eb9ea58db9a2052f8640af20baff9afbc8640","affectsGlobalScope":true},{"version":"368af93f74c9c932edd84c58883e736c9e3d53cec1fe24c0b0ff451f529ceab1","affectsGlobalScope":true},{"version":"af3dd424cf267428f30ccfc376f47a2c0114546b55c44d8c0f1d57d841e28d74","affectsGlobalScope":true},{"version":"995c005ab91a498455ea8dfb63aa9f83fa2ea793c3d8aa344be4a1678d06d399","affectsGlobalScope":true},{"version":"51e547984877a62227042850456de71a5c45e7fe86b7c975c6e68896c86fa23b","affectsGlobalScope":true},{"version":"956d27abdea9652e8368ce029bb1e0b9174e9678a273529f426df4b3d90abd60","affectsGlobalScope":true},{"version":"4fa6ed14e98aa80b91f61b9805c653ee82af3502dc21c9da5268d3857772ca05","affectsGlobalScope":true},{"version":"e6633e05da3ff36e6da2ec170d0d03ccf33de50ca4dc6f5aeecb572cedd162fb","affectsGlobalScope":true},{"version":"d8670852241d4c6e03f2b89d67497a4bbefe29ecaa5a444e2c11a9b05e6fccc6","affectsGlobalScope":true},{"version":"8444af78980e3b20b49324f4a16ba35024fef3ee069a0eb67616ea6ca821c47a","affectsGlobalScope":true},{"version":"caccc56c72713969e1cfe5c3d44e5bab151544d9d2b373d7dbe5a1e4166652be","affectsGlobalScope":true},{"version":"3287d9d085fbd618c3971944b65b4be57859f5415f495b33a6adc994edd2f004","affectsGlobalScope":true},{"version":"50d53ccd31f6667aff66e3d62adf948879a3a16f05d89882d1188084ee415bbc","affectsGlobalScope":true},{"version":"08a58483392df5fcc1db57d782e87734f77ae9eab42516028acbfe46f29a3ef7","affectsGlobalScope":true},{"version":"436aaf437562f276ec2ddbee2f2cdedac7664c1e4c1d2c36839ddd582eeb3d0a","affectsGlobalScope":true},{"version":"b1cb28af0c891c8c96b2d6b7be76bd394fddcfdb4709a20ba05a7c1605eea0f9","affectsGlobalScope":true},{"version":"13f6e6380c78e15e140243dc4be2fa546c287c6d61f4729bc2dd7cf449605471","affectsGlobalScope":true},{"version":"15b98a533864d324e5f57cd3cfc0579b231df58c1c0f6063ea0fcb13c3c74ff9","affectsGlobalScope":true},{"version":"ac77cb3e8c6d3565793eb90a8373ee8033146315a3dbead3bde8db5eaf5e5ec6","affectsGlobalScope":true},{"version":"d4b1d2c51d058fc21ec2629fff7a76249dec2e36e12960ea056e3ef89174080f","affectsGlobalScope":true},{"version":"2fef54945a13095fdb9b84f705f2b5994597640c46afeb2ce78352fab4cb3279","affectsGlobalScope":true},{"version":"33358442698bb565130f52ba79bfd3d4d484ac85fe33f3cb1759c54d18201393","affectsGlobalScope":true},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true},"a033f8b1fa8f3d00efd9de86310b101cdf016208b3284a5e573a1e7eefcc4d15","5ff856251ae237dbc86c112d2ef1060eebda755c708a1361904abfbb6fc6ea96","fabcaccbf0cfea162c732f32cba2b7fff2a9dc7402a3cfbb3b5b148e9c9b27bb","3489507af7c5586e96dab578fa1d81e93d3961bbd236144e88ea0f51f1840167","0b8e10ab5a163633d00f55798f94d84c0eae18cc9aaf50a66d52232b97a676d2","4b1eb8a034bc65ca220cd1e5dd00b60e946cb1c8cc268bc64193507a2e863a3d","80197f927227d9bad617c970e3ffde636fb45fdcbfa648ae729d71a344010dae","f0e958a421afaaef31568e2a346e6b73e58a37dbbfab23910575edf67a275469","379e029b15ddc972ab4529c25a61df0d3ccf13ed727d4804544128571698a1a6","a4cbf568b23d5b2cd1fbd5fe2bb1773d478f16769e87d870343e99ed610adf44","f0c3d97601fc1528bfa58606e51137b6e1ba9f9c5f25bccb91d2ddee3111dbcf","65090712afd608cc6450f9f02dd75e0a21ba61948b8f73f3ee13af4a7239cba1","3a0207585c6feb417101d8d45f4ffd8c9c80e93a6d6dc21d62442c69c37a2ba3","d89d68a36f617aa4625fa6180af1e5ee85e9d6824de78407d11518dad5b65cc3","b1e9036befd66d5630d4804ad11dbae92d8b8e6b3aa1e751aeefec3d833354a3","f3cfb9d4d7e4ddc3def89aef0fde7fe8066cf926dd4d42ee3453f7659f60a812","3a707e3fe88ede7244cf7b53d5be88a3305d6ab17c4ffe4d7f4abf96a30ae4af","fabe21f3d122e1aa87e9fef0b0c1198c9f9b2dd10fcd9e8a92f8af12559d6e0a","adb82c14e17a1ed27fad5c1aa7f1fdfdc0c4dd0e0b4cb8c162008f64f73ea8cb","13ccf98a5ffde7fbf72034864952a2d3302d504ad065c298c5d428e3c7499c43","eae448a405e39610d74ce531057aff6d60e7c511df0a17b8219930ab5066fca2","5efe2ee87cbac4b01e6c156a18fc05cbf9fba7495819b5ac2f0457a746a46efa","79aea2621862f0f0916e1a812fd57c0b8d54846b3ce82fc83aa065778c20e3ae","4b9f2cb2539fcf5658bb591716dd220df8b5023077b50db9297d46cc0ed46c10","9ed0ef7a1310b76add266fbebd0f2153b1d66a018de9a34f5328b60748779769","1d422ef7da84c84cf1d00b161b2cb088ae55194afca719787e5510b87b4ed5b2","a535fe37ab8414919f57baf13afbb5d9bf9394ce27e1d024764345303fcb4c17","38466644d3ede6829dfa0fe09cd2f142c261d98d155b55be3d0ac1d61c4b3f32","f35b4a7e756cf8936fed41dad566147a0704feda06c117799acd3119a71a9863","1edded5948248fe2c96b6460ba2f8ebffd8222e02e1162a5338c9a7beddeb78d","edee28cb2373efd2f0f921af14fb04bc714931c9ce45a33975d502f883698137","ab951a750ceac52fdc19afe6b1164bc9d28a538a83ce4f05baf5a435e0a53ca6","454ead910961a100af3841fdf59cc7c292f6dc2e03cb8c4a3652ae533d3bf4a2","fe45b982d86241dd7054aabe02593a3df9ca6538cfab83eceb4170a684f58b67","ddad34e5510b148a3b3c81581c5f96cfc832f7c956281a98c0a87f800926f86b","c57f1c860a47d9473b2cd1678ebecaeeec7fd2287f33d31ac3bedb1382553ad5","af322097666338a837e595b01d7f1a7ac2761286948727b054edd6566601797d","1543b4ee234a2af66314bf21befe5aa5b61213c4c209210dd582081b548c3cdb","0764a3500e14176f306cdd91c4ce8994f897abe64c2858ae2bd5cf61bed4e3cd","18e7a59cdf2396abbf3e41b4a7b9ced71e1d456549819798fa738373ebcadbdb","695eac0717b4700208102a7a3a01f21f7365868ce37cfd3756eae10dae6a6d29",{"version":"39d15c64b18709c54ad9de551edb840683b333835e06fe8bc15b5c7486921a97","signature":"0342b49e11193d6a67e33d82e2ae6dea782a8fb9ac80e911628278a3c0aab363"},{"version":"69c5189014c553fca8fd0193c20c3dfa5329cc48475747efbfa0bcc82b13557c","signature":"7b56aa19f21d39e1d1a25eccadcdb5ca098d4846c59afcdde3334c414dc87913"},{"version":"76c1bb3e4c1b576cd8bf8d54dcc2bd2c60ffd338ec8dba25a7a1438c2aa36ff4","signature":"a9662fe9e561ba1a8cbf248ba0c103de8c040f3e9a5a54a54f9f3770b1dec7f7"},{"version":"cf056cd450861ad21ce37f9d10686203e17df10cfbbcea9f67752eced752ba63","signature":"19aa67dc6c08e81dd0e86524f4d1bf756cf04ebfcd659172cb1466ab62fc72fe"},{"version":"81e9068bdbeca25cac7a3854f6277fdc28e5d905878e17a92c62dc990c45d81a","signature":"c7ff735b1e81eb9823e16749e3e18af119932eaad661270422d35311599601e5"},"65377e45c35bc49c94c7f983068f0042e245e1f87c155b7ff861a7b329c6931c","cec0741b2720dbb283a7faac04e4f3fec7a17aa1bf164ca68bce8bb0a2f277d3","4353b17d068456ccfe9e6374056929eb269db710db184485039d676574447afd","219c2e8fd40227306c32e56762acf182fc584f452f4e3f648ac0616a86518910","f9f16bafe57d61b4b1646e6abc9238e461016780900cc4b6dc07b2087f61b86c","212245241c3f25d2c34b59b76aab37caac249fad7206f8b13004c08d61e7fd2c","0fecca88d9167bdf78893fc17cdc38e89b5223d8c43c388001aa7b92e108e494","2ff8ca925800838ccb6ce5adff5b16294dfe2f134875cc18e18e2024d754f201","f573c484af39aef52e5eddde2156c712e73ed3d1df3bef2f49ef53073405e9ef","58845cb46a32b28a4d7bc0ed989ba978660906ac16667b2a02c7168854be52f3","9452a7cc7bb91b3ef14b6173d70a390ad5783c4846dd25724e637a524ffac5d1","02179ba6dcdf1cc72167ef8ae401605f1baec0c4e98e4eb1a3482f256c31354d","011fe0c1c99978eefb0df2a6b699f062845c80d5a029a7c9ff16faca70f47005","8895601a04e84194e7ac94376fc37894a51878fc83d4d26612e35f7ade6ff3c5","7880437dcb00edd9541be3146e30c9c3b70d64eec061ac6e656a90b99e81edc1","d0dcbe4d9c076bdc307e6c5da9483732303d06de1574e1896e17caf6ac2da59b","f0236290db14234f50bea0b62b05f199f4f13d019bdd3bee9a8beb3c927551c9","a313f5dc52e4a0e69d48c581c8263b405845f2e47ed7ecfa691471d4330bee47","d32d46f38ffe77e60cdc642d52fba8a1d50e2965eb0b18cb0bb28cdaca865ebc","4ea6845510ecd3fbc6a89554ea003fdbd86394b91394cb0a3be2b3f622b70994","2098ad03257087565c8d71cea678d1f38259396126a9fc5794cff7eade402634",{"version":"ec3cfa0657f342e930146f4bb9c1a20df0460273307ff6e35a790b3ab4350fcd","signature":"4c4c63c47dc5efa35288b73772177fb10bb7e401ac920d4745b81feb82648e0c"},{"version":"2f9b855a588533770cfaabd3e855c78616f84abd064162d9f8c70fdbebe9bb9f","signature":"1637eff666ff33826e8b080d102922fe39c63e60fc714ebccb254d67ae46a5a9"},{"version":"61d0ca969b4a0bb66886ded3572f4630fe8d9aced181af0d2f2a499c36fd8a61","signature":"7a57ed23d4874e81eda9bf881ce2bb37c3162648fbc5849054b820c134d36c35"},{"version":"1309078761dfb74bb425423a07288ab213c7a7ab3ff74131cd87d34d471b704d","signature":"6024c431564036f15f2ff4c8d71259c81ea0de70e5cb0df97d90e50b8e9d9a30"},{"version":"d0810cc519be9fde56071a0b13ff563e30b6bae816b577b5cd7ff11ff7c46f3e","signature":"7edd6db32e8f3a500a07d35b55935fd992a23ab6fc3e7838cdc6a2a6b261372d"},{"version":"d65819d23c7a4d517013cdef66309b3d9246c3eeeac912f703e195d5efd60a20","signature":"f26a65ee4b8eaa3bbeee5197080b9a5d75db016618944697744a64856d98ec04"},{"version":"4610a13ef00783525329866b00582f1c11b238469c1ab4af98130426ecaef7c4","signature":"3ce566bb32de17b3fa414c6245ec5e988e33e4ae8d809f1018f4b9b4bf3cd351"},{"version":"96adcdf8f8dab4d78b0c9b52a24278e5204c381693f8e19f55d6d652159aca4c","signature":"a73c56720b364b45d8517907fbebf9c00ac1fbc16e5fca5f2391406d83bb2a5b"},{"version":"c1ac674d4068ee24faeb63042e1b0b924f57db335bf9f485ae9f605a1a20717a","signature":"9478c46966ead5efda551902bc3c98baa754d85eec7081ef625a25020b04e6c2"},{"version":"82da7058e8ce4e713a6fa44b9467d31a159a39d76b1264795e97eb5c9e0c33cc","signature":"92f7541d15f67e138c026f76f1143f6da04c618d44d477b3ba1bfff7003cd334"},"a18fb5a8a9155e1a6cd81b597f35ed419373216ff2da88cde8d6d2a2f06e0bf5","908d073c3e6b95cc38b526d5a5d076d9723b279c09ea6c418e9c4e79c410191d","9495279bf7bec8ddec24829f56005c89f96de8fd3fe00ca013c6f056bbb4892b","6b25e5e6de2a076b01b8dd51eb6f7f1838228da12c4eacfafec17938344ca10e","a72739a21c4b12d5225d90504cbd1de60e334079f83b0dcd786d7081ff00c010","271ddae34078ea83e05524ebeb2cf60a6a1238a705a873404a97385b36004345","90bed6f78e7c537a0db96f72255dfbb4c2b461bc75e3779f78f899c54131aeee","da61ae9ec54d8802d1c2c019b2ad98c129373275bcf3467d1cc7fa69408636bf","69b8298b05a1167ed8e41651057711790c2514aafeb7643e826110eb76745ed8","79685a21102933d06356a5902d587d0d82fed3a8e1e946a37ff14b7aac97c15f","5c5d3277f398745505350a6cea8f0da72a3efdf2ddfd0a3d6359c9cb20ef6988","741354bf5376d5046f5a8d21b6eab17314ad1531727d27173e00bb62198a15e1","5c2d4b8d64ff52dc9c94e3146fe0603b93c2433a236a933a6c8cbfde6bec673e","a25007116cf950fe77f5921cd00a1f3eed1d89693ab12e5f7e682f96dbb95915","f94dbf6b851d41d3e60314fd3e5e532c95fb65771228561c0378fc118903ef48","c466a52fcaea2a8624881601450cf1907b094ddf09491eeb53a1ad85a810e8a5","3c038b5740d6dcd88ed7ebe1703f0f8ee96780e7d525a95b4c3d0854c5aa25c8","79e83225b958066321de87cb1be2e4196a659a0ff8df120b63c4bde050da7995","cb37cd92286a1ed080a62643827193a8a4d2fb5d537861a4d79266c64f8a567f","827637d63da943f7e0c8eaed7b83f7b5a8bb506f0a1ff5614281c99dd9269fed",{"version":"627b40a3a7a4bec4d0fb8e3937d97c3196360d3a1bd8947d762b85b3bcf32213","signature":"2f47133c32fb35ec71a18736119491dce750ec893d4e1557c829c9719adbe23a"},"c5590caef278ad8ba2532ec93e29a32ac354dfb333277348acce18512891d3b2","09df3b4f1c937f02e7fee2836d4c4d7a63e66db70fd4d4e97126f4542cc21d9d","7394959e5a741b185456e1ef5d64599c36c60a323207450991e7a42e08911419","5929864ce17fba74232584d90cb721a89b7ad277220627cc97054ba15a98ea8f","7180c03fd3cb6e22f911ce9ba0f8a7008b1a6ddbe88ccf16a9c8140ef9ac1686","25c8056edf4314820382a5fdb4bb7816999acdcb929c8f75e3f39473b87e85bc","54cb85a47d760da1c13c00add10d26b5118280d44d58e6908d8e89abbd9d7725","3e4825171442666d31c845aeb47fcd34b62e14041bb353ae2b874285d78482aa","c6fd2c5a395f2432786c9cb8deb870b9b0e8ff7e22c029954fabdd692bff6195","a967bfe3ad4e62243eb604bf956101e4c740f5921277c60debaf325c1320bf88","e9775e97ac4877aebf963a0289c81abe76d1ec9a2a7778dbe637e5151f25c5f3","471e1da5a78350bc55ef8cef24eb3aca6174143c281b8b214ca2beda51f5e04a","cadc8aced301244057c4e7e73fbcae534b0f5b12a37b150d80e5a45aa4bebcbd","385aab901643aa54e1c36f5ef3107913b10d1b5bb8cbcd933d4263b80a0d7f20","9670d44354bab9d9982eca21945686b5c24a3f893db73c0dae0fd74217a4c219","db3435f3525cd785bf21ec6769bf8da7e8a776be1a99e2e7efb5f244a2ef5fee","c3b170c45fc031db31f782e612adf7314b167e60439d304b49e704010e7bafe5","40383ebef22b943d503c6ce2cb2e060282936b952a01bea5f9f493d5fb487cc7","4893a895ea92c85345017a04ed427cbd6a1710453338df26881a6019432febdd","3a84b7cb891141824bd00ef8a50b6a44596aded4075da937f180c90e362fe5f6","13f6f39e12b1518c6650bbb220c8985999020fe0f21d818e28f512b7771d00f9","9b5369969f6e7175740bf51223112ff209f94ba43ecd3bb09eefff9fd675624a","4fe9e626e7164748e8769bbf74b538e09607f07ed17c2f20af8d680ee49fc1da","24515859bc0b836719105bb6cc3d68255042a9f02a6022b3187948b204946bd2","33203609eba548914dc83ddf6cadbc0bcb6e8ef89f6d648ca0908ae887f9fcc5","0db18c6e78ea846316c012478888f33c11ffadab9efd1cc8bcc12daded7a60b6","89167d696a849fce5ca508032aabfe901c0868f833a8625d5a9c6e861ef935d2","e53a3c2a9f624d90f24bf4588aacd223e7bec1b9d0d479b68d2f4a9e6011147f","339dc5265ee5ed92e536a93a04c4ebbc2128f45eeec6ed29f379e0085283542c","9f0a92164925aa37d4a5d9dd3e0134cff8177208dba55fd2310cd74beea40ee2","8bfdb79bf1a9d435ec48d9372dc93291161f152c0865b81fc0b2694aedb4578d","2e85db9e6fd73cfa3d7f28e0ab6b55417ea18931423bd47b409a96e4a169e8e6","c46e079fe54c76f95c67fb89081b3e399da2c7d109e7dca8e4b58d83e332e605","d32275be3546f252e3ad33976caf8c5e842c09cb87d468cb40d5f4cf092d1acc","4a0c3504813a3289f7fb1115db13967c8e004aa8e4f8a9021b95285502221bd1",{"version":"4d719cfab49ae4045d15cb6bed0f38ad3d7d6eb7f277d2603502a0f862ca3182","affectsGlobalScope":true},"cce1f5f86974c1e916ec4a8cab6eec9aa8e31e8148845bf07fbaa8e1d97b1a2c",{"version":"5a856afb15f9dc9983faa391dde989826995a33983c1cccb173e9606688e9709","affectsGlobalScope":true},"546ab07e19116d935ad982e76a223275b53bff7771dab94f433b7ab04652936e","7b43160a49cf2c6082da0465876c4a0b164e160b81187caeb0a6ca7a281e85ba",{"version":"aefb5a4a209f756b580eb53ea771cca8aad411603926f307a5e5b8ec6b16dcf6","affectsGlobalScope":true},"a40826e8476694e90da94aa008283a7de50d1dafd37beada623863f1901cb7fb","f5a8b7ec4b798c88679194a8ebc25dcb6f5368e6e5811fcda9fe12b0d445b8db","b86e1a45b29437f3a99bad4147cb9fe2357617e8008c0484568e5bb5138d6e13","b5b719a47968cd61a6f83f437236bb6fe22a39223b6620da81ef89f5d7a78fb7","42c431e7965b641106b5e25ab3283aa4865ca7bb9909610a2abfa6226e4348be","0b7e732af0a9599be28c091d6bd1cb22c856ec0d415d4749c087c3881ca07a56","b7fe70be794e13d1b7940e318b8770cd1fb3eced7707805318a2e3aaac2c3e9e",{"version":"2c71199d1fc83bf17636ad5bf63a945633406b7b94887612bba4ef027c662b3e","affectsGlobalScope":true},{"version":"8d6138a264ddc6f94f16e99d4e117a2d6eb31b217891cf091b6437a2f114d561","affectsGlobalScope":true},"3b4c85eea12187de9929a76792b98406e8778ce575caca8c574f06da82622c54","f788131a39c81e0c9b9e463645dd7132b5bc1beb609b0e31e5c1ceaea378b4df","0c236069ce7bded4f6774946e928e4b3601894d294054af47a553f7abcafe2c1","21894466693f64957b9bd4c80fa3ec7fdfd4efa9d1861e070aca23f10220c9b2","396a8939b5e177542bdf9b5262b4eee85d29851b2d57681fa9d7eae30e225830","21773f5ac69ddf5a05636ba1f50b5239f4f2d27e4420db147fc2f76a5ae598ac",{"version":"6ec93c745c5e3e25e278fa35451bf18ef857f733de7e57c15e7920ac463baa2a","affectsGlobalScope":true},"a5fe4cc622c3bf8e09ababde5f4096ceac53163eefcd95e9cd53f062ff9bb67a","30c2ec6abf6aaa60eb4f32fb1235531506b7961c6d1bdc7430711aec8fd85295","0f05c06ff6196958d76b865ae17245b52d8fe01773626ac3c43214a2458ea7b7",{"version":"308b84e1943ef30015469770e931eb21b795348893b2a6562ca54ea8f0b3c41c","affectsGlobalScope":true},{"version":"d48009cbe8a30a504031cc82e1286f78fed33b7a42abf7602c23b5547b382563","affectsGlobalScope":true},"7aaeb5e62f90e1b2be0fc4844df78cdb1be15c22b427bc6c39d57308785b8f10","3ba30205a029ebc0c91d7b1ab4da73f6277d730ca1fc6692d5a9144c6772c76b","d8dba11dc34d50cb4202de5effa9a1b296d7a2f4a029eec871f894bddfb6430d","8b71dd18e7e63b6f991b511a201fad7c3bf8d1e0dd98acb5e3d844f335a73634","01d8e1419c84affad359cc240b2b551fb9812b450b4d3d456b64cda8102d4f60","458b216959c231df388a5de9dcbcafd4b4ca563bc3784d706d0455467d7d4942","269929a24b2816343a178008ac9ae9248304d92a8ba8e233055e0ed6dbe6ef71","93452d394fdd1dc551ec62f5042366f011a00d342d36d50793b3529bfc9bd633","f8c87b19eae111f8720b0345ab301af8d81add39621b63614dfc2d15fd6f140a","831c22d257717bf2cbb03afe9c4bcffc5ccb8a2074344d4238bf16d3a857bb12",{"version":"24ba151e213906027e2b1f5223d33575a3612b0234a0e2b56119520bbe0e594b","affectsGlobalScope":true},{"version":"cbf046714f3a3ba2544957e1973ac94aa819fa8aa668846fa8de47eb1c41b0b2","affectsGlobalScope":true},"aa34c3aa493d1c699601027c441b9664547c3024f9dbab1639df7701d63d18fa","eae74e3d50820f37c72c0679fed959cd1e63c98f6a146a55b8c4361582fa6a52","7c651f8dce91a927ab62925e73f190763574c46098f2b11fb8ddc1b147a6709a","7440ab60f4cb031812940cc38166b8bb6fbf2540cfe599f87c41c08011f0c1df",{"version":"aed89e3c18f4c659ee8153a76560dffda23e2d801e1e60d7a67abd84bc555f8d","affectsGlobalScope":true},{"version":"0ed13c80faeb2b7160bffb4926ff299c468e67a37a645b3ae0917ba0db633c1b","affectsGlobalScope":true},"e393915d3dc385e69c0e2390739c87b2d296a610662eb0b1cb85224e55992250","2f940651c2f30e6b29f8743fae3f40b7b1c03615184f837132b56ea75edad08b","5749c327c3f789f658072f8340786966c8b05ea124a56c1d8d60e04649495a4d",{"version":"c9d62b2a51b2ff166314d8be84f6881a7fcbccd37612442cf1c70d27d5352f50","affectsGlobalScope":true},"e7dbf5716d76846c7522e910896c5747b6df1abd538fee8f5291bdc843461795",{"version":"ab9b9a36e5284fd8d3bf2f7d5fcbc60052f25f27e4d20954782099282c60d23e","affectsGlobalScope":true},"b510d0a18e3db42ac9765d26711083ec1e8b4e21caaca6dc4d25ae6e8623f447",{"version":"0bd5e7096c7bc02bf70b2cc017fc45ef489cb19bd2f32a71af39ff5787f1b56a","affectsGlobalScope":true},"ba7617784f6b9aeac5e20c5eea869bbc3ef31b905f59c796b0fd401dae17c111","6a386ff939f180ae8ef064699d8b7b6e62bc2731a62d7fbf5e02589383838dea","f5a8b384f182b3851cec3596ccc96cb7464f8d3469f48c74bf2befb782a19de5",{"version":"2998fbabd664cde4173f5fc9f2e4d1f9599fb2d6755275ce75c5f637388d9dfc","affectsGlobalScope":true},"4355c807c60f6b8a69ee3307c5f9adde7d8303172bcfa4805fa804511a6c3ce2"],"root":[[111,115],[137,146],167],"options":{"allowImportingTsExtensions":true,"allowSyntheticDefaultImports":true,"composite":true,"declaration":true,"declarationMap":true,"emitDeclarationOnly":true,"esModuleInterop":true,"jsx":1,"jsxImportSource":"preact","module":99,"noEmitOnError":false,"noImplicitAny":true,"noImplicitReturns":false,"noImplicitThis":true,"noPropertyAccessFromIndexSignature":false,"noUncheckedIndexedAccess":true,"noUnusedLocals":true,"noUnusedParameters":true,"outDir":"./typescript","rootDir":"../source","skipLibCheck":true,"sourceMap":false,"strict":true,"target":99},"fileIdsList":[[247],[169,247],[204,247],[205,210,238,247],[206,217,218,225,235,246,247],[206,207,217,225,247],[208,247],[209,210,218,226,247],[210,235,243,247],[211,213,217,225,247],[212,247],[213,214,247],[217,247],[215,217,247],[204,217,247],[217,218,219,235,246,247],[217,218,219,232,235,238,247],[202,247,251],[213,217,220,225,235,246,247],[217,218,220,221,225,235,243,246,247],[220,222,235,243,246,247],[169,170,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253],[217,223,247],[224,246,247,251],[213,217,225,235,247],[226,247],[227,247],[204,228,247],[229,245,247,251],[230,247],[231,247],[217,232,233,247],[232,234,247,249],[205,217,235,236,237,238,247],[205,235,237,247],[235,236,247],[238,247],[239,247],[204,235,247],[217,241,242,247],[241,242,247],[210,225,235,243,247],[244,247],[225,245,247],[205,220,231,246,247],[210,247],[235,247,248],[224,247,249],[247,250],[205,210,217,219,228,235,246,247,249,251],[235,247,252],[247,259],[247,255,256,257,258],[71,247],[70,71,247],[70,247],[179,183,246,247],[179,235,246,247],[174,247],[176,179,243,246,247],[225,243,247],[247,254],[174,247,254],[176,179,225,246,247],[171,172,175,178,205,217,235,246,247],[171,177,247],[175,179,205,238,246,247,254],[205,247,254],[195,205,247,254],[173,174,247,254],[179,247],[173,174,175,176,177,178,179,180,181,183,184,185,186,187,188,189,190,191,192,193,194,196,197,198,199,200,201,247],[179,186,187,247],[177,179,187,188,247],[178,247],[171,174,179,247],[179,183,187,188,247],[183,247],[177,179,182,246,247],[171,176,177,179,183,186,247],[205,235,247],[174,179,195,205,247,251,254],[117,247],[116,117,118,119,247],[81,82,247],[82,83,247],[81,247],[147,148,149,150,151,152,153,154,247],[74,75,76,247],[88,247],[89,247],[71,84,247],[94,247],[95,247],[97,247],[99,247],[100,247],[84,86,247],[81,84,247],[84,247],[84,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,247],[85,247],[71,72,73,77,110,111,247],[72,77,86,247],[72,111,247],[72,77,110,247],[72,77,111,112,113,114,115,145,247],[72,77,145,166,247],[72,137,138,139,140,141,142,143,144,247],[71,72,73,136,138,247],[71,72,73,110,112,115,136,137,138,140,247],[72,136,137,247],[72,86,137,247],[72,137,247],[72,137,142,247],[72,247],[123,124,247],[71,123,247],[71,124,125,247],[71,124,247],[125,247],[124,247],[86,125,247],[124,125,126,127,128,129,130,131,132,133,134,135,247],[71,120,123,247],[162,163,247],[123,161,162,247],[158,160,247],[155,156,157,158,159,160,161,164,165,247],[155,156,247],[123,159,247],[156,158,247],[123,157,158,159,247],[123,155,247],[121,122,247],[123,247],[78,79,80,247],[78,247],[71],[77,86],[86],[77,111,112,113,114,115,145],[145,166],[137,138,139,140,141,142,143,144],[71,136],[71,136,137,140],[136,137],[86,137],[137]],"referencedMap":[[78,1],[168,1],[169,2],[170,2],[204,3],[205,4],[206,5],[207,6],[208,7],[209,8],[210,9],[211,10],[212,11],[213,12],[214,12],[216,13],[215,14],[217,15],[218,16],[219,17],[203,18],[253,1],[220,19],[221,20],[222,21],[254,22],[223,23],[224,24],[225,25],[226,26],[227,27],[228,28],[229,29],[230,30],[231,31],[232,32],[233,32],[234,33],[235,34],[237,35],[236,36],[238,37],[239,38],[240,39],[241,40],[242,41],[243,42],[244,43],[245,44],[246,45],[247,46],[248,47],[249,48],[250,49],[251,50],[252,51],[257,1],[260,52],[255,1],[259,53],[258,1],[256,1],[73,54],[72,55],[71,56],[70,54],[68,1],[69,1],[12,1],[13,1],[15,1],[14,1],[2,1],[16,1],[17,1],[18,1],[19,1],[20,1],[21,1],[22,1],[23,1],[3,1],[24,1],[4,1],[25,1],[29,1],[26,1],[27,1],[28,1],[30,1],[31,1],[32,1],[5,1],[33,1],[34,1],[35,1],[36,1],[6,1],[40,1],[37,1],[38,1],[39,1],[41,1],[7,1],[42,1],[47,1],[48,1],[43,1],[44,1],[45,1],[46,1],[8,1],[52,1],[49,1],[50,1],[51,1],[53,1],[9,1],[54,1],[55,1],[56,1],[59,1],[57,1],[58,1],[60,1],[61,1],[10,1],[1,1],[62,1],[11,1],[66,1],[64,1],[63,1],[67,1],[65,1],[186,57],[193,58],[185,57],[200,59],[177,60],[176,61],[199,62],[194,63],[197,64],[179,65],[178,66],[174,67],[173,68],[196,69],[175,70],[180,71],[181,1],[184,71],[171,1],[202,72],[201,71],[188,73],[189,74],[191,75],[187,76],[190,77],[195,62],[182,78],[183,79],[192,80],[172,81],[198,82],[117,1],[119,83],[118,83],[116,1],[120,84],[83,85],[84,86],[82,87],[152,1],[147,1],[154,1],[148,1],[155,88],[149,1],[153,1],[151,1],[150,1],[75,1],[77,89],[76,1],[74,1],[101,90],[103,91],[102,92],[109,1],[104,93],[105,94],[106,95],[107,96],[108,97],[87,98],[88,87],[89,99],[90,100],[91,1],[92,100],[93,1],[94,99],[95,99],[96,1],[97,99],[98,1],[99,87],[100,87],[110,101],[86,102],[85,54],[112,103],[111,104],[113,105],[115,106],[114,105],[146,107],[167,108],[145,109],[139,110],[141,111],[140,112],[138,113],[142,114],[143,115],[144,115],[137,116],[125,117],[127,118],[128,119],[129,120],[130,1],[131,121],[132,1],[133,122],[134,123],[135,120],[136,124],[126,122],[124,125],[164,126],[163,127],[162,1],[156,1],[165,128],[166,129],[157,130],[161,131],[159,132],[160,133],[158,134],[123,135],[122,1],[121,136],[81,137],[80,138],[79,138]],"exportedModulesMap":[[78,1],[168,1],[169,2],[170,2],[204,3],[205,4],[206,5],[207,6],[208,7],[209,8],[210,9],[211,10],[212,11],[213,12],[214,12],[216,13],[215,14],[217,15],[218,16],[219,17],[203,18],[253,1],[220,19],[221,20],[222,21],[254,22],[223,23],[224,24],[225,25],[226,26],[227,27],[228,28],[229,29],[230,30],[231,31],[232,32],[233,32],[234,33],[235,34],[237,35],[236,36],[238,37],[239,38],[240,39],[241,40],[242,41],[243,42],[244,43],[245,44],[246,45],[247,46],[248,47],[249,48],[250,49],[251,50],[252,51],[257,1],[260,52],[255,1],[259,53],[258,1],[256,1],[73,54],[72,55],[71,56],[70,54],[68,1],[69,1],[12,1],[13,1],[15,1],[14,1],[2,1],[16,1],[17,1],[18,1],[19,1],[20,1],[21,1],[22,1],[23,1],[3,1],[24,1],[4,1],[25,1],[29,1],[26,1],[27,1],[28,1],[30,1],[31,1],[32,1],[5,1],[33,1],[34,1],[35,1],[36,1],[6,1],[40,1],[37,1],[38,1],[39,1],[41,1],[7,1],[42,1],[47,1],[48,1],[43,1],[44,1],[45,1],[46,1],[8,1],[52,1],[49,1],[50,1],[51,1],[53,1],[9,1],[54,1],[55,1],[56,1],[59,1],[57,1],[58,1],[60,1],[61,1],[10,1],[1,1],[62,1],[11,1],[66,1],[64,1],[63,1],[67,1],[65,1],[186,57],[193,58],[185,57],[200,59],[177,60],[176,61],[199,62],[194,63],[197,64],[179,65],[178,66],[174,67],[173,68],[196,69],[175,70],[180,71],[181,1],[184,71],[171,1],[202,72],[201,71],[188,73],[189,74],[191,75],[187,76],[190,77],[195,62],[182,78],[183,79],[192,80],[172,81],[198,82],[117,1],[119,83],[118,83],[116,1],[120,84],[83,85],[84,86],[82,87],[152,1],[147,1],[154,1],[148,1],[155,88],[149,1],[153,1],[151,1],[150,1],[75,1],[77,89],[76,1],[74,1],[101,90],[103,91],[102,92],[109,1],[104,93],[105,94],[106,95],[107,96],[108,97],[87,98],[88,87],[89,99],[90,100],[91,1],[92,100],[93,1],[94,99],[95,99],[96,1],[97,99],[98,1],[99,87],[100,87],[110,101],[86,102],[85,54],[112,139],[111,140],[113,140],[114,141],[146,142],[167,143],[145,144],[139,145],[141,146],[140,147],[138,148],[142,149],[143,149],[144,149],[125,117],[127,118],[128,119],[129,120],[130,1],[131,121],[132,1],[133,122],[134,123],[135,120],[136,124],[126,122],[124,125],[164,126],[163,127],[162,1],[156,1],[165,128],[166,129],[157,130],[161,131],[159,132],[160,133],[158,134],[123,135],[122,1],[121,136],[81,137],[80,138],[79,138]],"semanticDiagnosticsPerFile":[78,168,169,170,204,205,206,207,208,209,210,211,212,213,214,216,215,217,218,219,203,253,220,221,222,254,223,224,225,226,227,228,229,230,231,232,233,234,235,237,236,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,257,260,255,259,258,256,73,72,71,70,68,69,12,13,15,14,2,16,17,18,19,20,21,22,23,3,24,4,25,29,26,27,28,30,31,32,5,33,34,35,36,6,40,37,38,39,41,7,42,47,48,43,44,45,46,8,52,49,50,51,53,9,54,55,56,59,57,58,60,61,10,1,62,11,66,64,63,67,65,186,193,185,200,177,176,199,194,197,179,178,174,173,196,175,180,181,184,171,202,201,188,189,191,187,190,195,182,183,192,172,198,117,119,118,116,120,83,84,82,152,147,154,148,155,149,153,151,150,75,77,76,74,101,103,102,109,104,105,106,107,108,87,88,89,90,91,92,93,94,95,96,97,98,99,100,110,86,85,112,111,113,115,114,146,167,145,139,141,140,138,142,143,144,137,125,127,128,129,130,131,132,133,134,135,136,126,124,164,163,162,156,165,166,157,161,159,160,158,123,122,121,81,80,79],"latestChangedDtsFile":"./typescript/routing.d.ts"},"version":"5.4.4"}
@@ -0,0 +1,7 @@
1
+ import type { RenderableProps } from 'preact';
2
+ export interface LocalizationProps {
3
+ locale: string;
4
+ direction?: 'ltr' | 'rtl';
5
+ }
6
+ export declare function Localization({ locale, direction, children, }: RenderableProps<LocalizationProps>): import("preact").JSX.Element;
7
+ //# sourceMappingURL=Localization.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Localization.d.ts","sourceRoot":"","sources":["../../source/Localization.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,eAAe,EAAC,MAAM,QAAQ,CAAC;AAO5C,MAAM,WAAW,iBAAiB;IAChC,MAAM,EAAE,MAAM,CAAC;IACf,SAAS,CAAC,EAAE,KAAK,GAAG,KAAK,CAAC;CAC3B;AAmBD,wBAAgB,YAAY,CAAC,EAC3B,MAAM,EACN,SAAmD,EACnD,QAAQ,GACT,EAAE,eAAe,CAAC,iBAAiB,CAAC,gCAWpC"}
@@ -0,0 +1,4 @@
1
+ import type { LocalizedFormatting } from '@quilted/localize';
2
+ export declare const LocalizedFormattingContext: import("@quilted/preact-context").OptionalContext<LocalizedFormatting>;
3
+ export declare const LocaleContext: import("@quilted/preact-context").OptionalContext<string>;
4
+ //# sourceMappingURL=context.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"context.d.ts","sourceRoot":"","sources":["../../source/context.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAC,mBAAmB,EAAC,MAAM,mBAAmB,CAAC;AAE3D,eAAO,MAAM,0BAA0B,wEACO,CAAC;AAE/C,eAAO,MAAM,aAAa,2DAAkC,CAAC"}
@@ -0,0 +1,2 @@
1
+ export declare const useLocalizedFormatting: import("@quilted/preact-context").UseOptionalContextHook<import("@quilted/localize").LocalizedFormatting>;
2
+ //# sourceMappingURL=formatting.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"formatting.d.ts","sourceRoot":"","sources":["../../../source/hooks/formatting.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,sBAAsB,2GAAiC,CAAC"}
@@ -0,0 +1,2 @@
1
+ export declare function useLocaleFromEnvironment(): string | null | undefined;
2
+ //# sourceMappingURL=locale-from-environment.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"locale-from-environment.d.ts","sourceRoot":"","sources":["../../../source/hooks/locale-from-environment.ts"],"names":[],"mappings":"AAGA,wBAAgB,wBAAwB,8BAWvC"}
@@ -0,0 +1,2 @@
1
+ export declare const useLocale: import("@quilted/preact-context").UseOptionalContextHook<string>;
2
+ //# sourceMappingURL=locale.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"locale.d.ts","sourceRoot":"","sources":["../../../source/hooks/locale.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,SAAS,kEAAoB,CAAC"}
@@ -0,0 +1,9 @@
1
+ export { createTranslate, createLocalizedFormatting, parseAcceptLanguageHeader, MissingTranslationError, MissingTranslationPlaceholderError, } from '@quilted/localize';
2
+ export type { Translate, TranslationDictionary, LocalizedFormatting, LocalizedFormattingCache, LocalizedNumberFormatOptions, LocalizedDateTimeFormatOptions, } from '@quilted/localize';
3
+ export { Localization } from './Localization.tsx';
4
+ export { useLocalizedFormatting } from './hooks/formatting.ts';
5
+ export { useLocale } from './hooks/locale.ts';
6
+ export { useLocaleFromEnvironment } from './hooks/locale-from-environment.ts';
7
+ export { LocalizedFormattingContext } from './context.ts';
8
+ export * from './routing.ts';
9
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../source/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,eAAe,EACf,yBAAyB,EACzB,yBAAyB,EACzB,uBAAuB,EACvB,kCAAkC,GACnC,MAAM,mBAAmB,CAAC;AAC3B,YAAY,EACV,SAAS,EACT,qBAAqB,EACrB,mBAAmB,EACnB,wBAAwB,EACxB,4BAA4B,EAC5B,8BAA8B,GAC/B,MAAM,mBAAmB,CAAC;AAE3B,OAAO,EAAC,YAAY,EAAC,MAAM,oBAAoB,CAAC;AAChD,OAAO,EAAC,sBAAsB,EAAC,MAAM,uBAAuB,CAAC;AAC7D,OAAO,EAAC,SAAS,EAAC,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAC,wBAAwB,EAAC,MAAM,oCAAoC,CAAC;AAC5E,OAAO,EAAC,0BAA0B,EAAC,MAAM,cAAc,CAAC;AAExD,cAAc,cAAc,CAAC"}
@@ -0,0 +1,16 @@
1
+ import { RedirectResponse, type RequestHandler } from '@quilted/request-router';
2
+ import type { RouteLocalization, ResolvedRouteLocalization, DefaultLocaleDefinition } from './routing.ts';
3
+ export type { RouteLocalization, ResolvedRouteLocalization, DefaultLocaleDefinition, };
4
+ export interface RequestRouterLocalization {
5
+ redirect(request: Request, options: {
6
+ to: string;
7
+ } & Pick<NonNullable<ConstructorParameters<typeof RedirectResponse>[1]>, 'status' | 'headers'>): Response;
8
+ localizedRequestHandler(handler: RequestHandler, options?: {
9
+ include?(request: Request): boolean;
10
+ }): RequestHandler;
11
+ }
12
+ export declare function createRequestRouterLocalization({ localization, requestLocale: customRequestLocale, }: {
13
+ localization: RouteLocalization;
14
+ requestLocale?(request: Request, getDefaultFromRequest: () => string | undefined): string | undefined;
15
+ }): RequestRouterLocalization;
16
+ //# sourceMappingURL=request-router.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"request-router.d.ts","sourceRoot":"","sources":["../../source/request-router.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,gBAAgB,EAAE,KAAK,cAAc,EAAC,MAAM,yBAAyB,CAAC;AAG9E,OAAO,KAAK,EACV,iBAAiB,EACjB,yBAAyB,EACzB,uBAAuB,EACxB,MAAM,cAAc,CAAC;AAEtB,YAAY,EACV,iBAAiB,EACjB,yBAAyB,EACzB,uBAAuB,GACxB,CAAC;AAEF,MAAM,WAAW,yBAAyB;IACxC,QAAQ,CACN,OAAO,EAAE,OAAO,EAChB,OAAO,EAAE;QAAC,EAAE,EAAE,MAAM,CAAA;KAAC,GAAG,IAAI,CAC1B,WAAW,CAAC,qBAAqB,CAAC,OAAO,gBAAgB,CAAC,CAAC,CAAC,CAAC,CAAC,EAC9D,QAAQ,GAAG,SAAS,CACrB,GACA,QAAQ,CAAC;IACZ,uBAAuB,CACrB,OAAO,EAAE,cAAc,EACvB,OAAO,CAAC,EAAE;QAAC,OAAO,CAAC,CAAC,OAAO,EAAE,OAAO,GAAG,OAAO,CAAA;KAAC,GAC9C,cAAc,CAAC;CACnB;AAED,wBAAgB,+BAA+B,CAAC,EAC9C,YAAY,EACZ,aAAa,EAAE,mBAAmB,GACnC,EAAE;IACD,YAAY,EAAE,iBAAiB,CAAC;IAChC,aAAa,CAAC,CACZ,OAAO,EAAE,OAAO,EAChB,qBAAqB,EAAE,MAAM,MAAM,GAAG,SAAS,GAC9C,MAAM,GAAG,SAAS,CAAC;CACvB,GAAG,yBAAyB,CA2D5B"}
@@ -0,0 +1,9 @@
1
+ import type { ComponentProps } from 'preact';
2
+ import { Link } from '@quilted/preact-router';
3
+ type LinkProps = ComponentProps<typeof Link>;
4
+ export declare function LocalizedLink({ to, locale, ...props }: Omit<LinkProps, 'to' | 'hrefLang'> & {
5
+ locale: string;
6
+ to?: LinkProps['to'];
7
+ }): import("preact").JSX.Element;
8
+ export {};
9
+ //# sourceMappingURL=LocalizedLink.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"LocalizedLink.d.ts","sourceRoot":"","sources":["../../../source/routing/LocalizedLink.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,cAAc,EAAC,MAAM,QAAQ,CAAC;AAE3C,OAAO,EAAgB,IAAI,EAAY,MAAM,wBAAwB,CAAC;AAItE,KAAK,SAAS,GAAG,cAAc,CAAC,OAAO,IAAI,CAAC,CAAC;AAE7C,wBAAgB,aAAa,CAAC,EAC5B,EAAE,EACF,MAAM,EACN,GAAG,KAAK,EACT,EAAE,IAAI,CAAC,SAAS,EAAE,IAAI,GAAG,UAAU,CAAC,GAAG;IACtC,MAAM,EAAE,MAAM,CAAC;IACf,EAAE,CAAC,EAAE,SAAS,CAAC,IAAI,CAAC,CAAC;CACtB,gCAWA"}
@@ -0,0 +1,13 @@
1
+ import type { RenderableProps } from 'preact';
2
+ import { type RouteDefinition } from '@quilted/preact-router';
3
+ import { LocalizedRouter } from './LocalizedRouter.ts';
4
+ import type { RouteLocalization } from './types.ts';
5
+ export interface LocalizedNavigationProps<Context = unknown> {
6
+ locale?: string;
7
+ router?: LocalizedRouter;
8
+ localization?: RouteLocalization;
9
+ routes?: readonly RouteDefinition<any, any, Context>[];
10
+ context?: Context;
11
+ }
12
+ export declare function LocalizedNavigation<Context = unknown>({ locale: explicitLocale, router, routes, context, localization, children, }: RenderableProps<LocalizedNavigationProps<Context>>): import("preact").JSX.Element;
13
+ //# sourceMappingURL=LocalizedNavigation.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"LocalizedNavigation.d.ts","sourceRoot":"","sources":["../../../source/routing/LocalizedNavigation.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,eAAe,EAAC,MAAM,QAAQ,CAAC;AAG5C,OAAO,EAAa,KAAK,eAAe,EAAC,MAAM,wBAAwB,CAAC;AAKxE,OAAO,EAAC,eAAe,EAAC,MAAM,sBAAsB,CAAC;AAErD,OAAO,KAAK,EAAC,iBAAiB,EAAC,MAAM,YAAY,CAAC;AAElD,MAAM,WAAW,wBAAwB,CAAC,OAAO,GAAG,OAAO;IACzD,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,MAAM,CAAC,EAAE,eAAe,CAAC;IACzB,YAAY,CAAC,EAAE,iBAAiB,CAAC;IACjC,MAAM,CAAC,EAAE,SAAS,eAAe,CAAC,GAAG,EAAE,GAAG,EAAE,OAAO,CAAC,EAAE,CAAC;IACvD,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB;AAED,wBAAgB,mBAAmB,CAAC,OAAO,GAAG,OAAO,EAAE,EACrD,MAAM,EAAE,cAAc,EACtB,MAAM,EACN,MAAM,EACN,OAAO,EACP,YAAY,EACZ,QAAQ,GACT,EAAE,eAAe,CAAC,wBAAwB,CAAC,OAAO,CAAC,CAAC,gCAoCpD"}
@@ -0,0 +1,9 @@
1
+ import { Router, type RouterOptions } from '@quilted/preact-router';
2
+ import type { RouteLocalization, ResolvedRouteLocalization } from './types.ts';
3
+ export declare class LocalizedRouter extends Router {
4
+ readonly localization: ResolvedRouteLocalization;
5
+ constructor(initial: ConstructorParameters<typeof Router>[0], { localization, isExternal: explicitIsExternal, }: {
6
+ localization: RouteLocalization;
7
+ } & Pick<RouterOptions, 'isExternal'>);
8
+ }
9
+ //# sourceMappingURL=LocalizedRouter.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"LocalizedRouter.d.ts","sourceRoot":"","sources":["../../../source/routing/LocalizedRouter.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,MAAM,EAAE,KAAK,aAAa,EAAC,MAAM,wBAAwB,CAAC;AAElE,OAAO,KAAK,EAAC,iBAAiB,EAAE,yBAAyB,EAAC,MAAM,YAAY,CAAC;AAE7E,qBAAa,eAAgB,SAAQ,MAAM;IACzC,QAAQ,CAAC,YAAY,EAAE,yBAAyB,CAAC;gBAG/C,OAAO,EAAE,qBAAqB,CAAC,OAAO,MAAM,CAAC,CAAC,CAAC,CAAC,EAChD,EACE,YAAY,EACZ,UAAU,EAAE,kBAAkB,GAC/B,EAAE;QAAC,YAAY,EAAE,iBAAiB,CAAA;KAAC,GAAG,IAAI,CAAC,aAAa,EAAE,YAAY,CAAC;CAiC3E"}
@@ -0,0 +1,9 @@
1
+ import type { ComponentProps } from 'preact';
2
+ import { Routing } from '@quilted/preact-router';
3
+ import type { RouteLocalization } from './types.ts';
4
+ export type LocalizedRoutingProps = Omit<ComponentProps<typeof Routing>, 'prefix' | 'initialUrl'> & {
5
+ locale?: string;
6
+ localization: RouteLocalization;
7
+ };
8
+ export declare function LocalizedRouting({ locale: explicitLocale, localization, children, isExternal: isExplicitlyExternal, ...props }: LocalizedRoutingProps): import("preact").JSX.Element;
9
+ //# sourceMappingURL=LocalizedRouting.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"LocalizedRouting.d.ts","sourceRoot":"","sources":["../../../source/routing/LocalizedRouting.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,cAAc,EAAC,MAAM,QAAQ,CAAC;AAE3C,OAAO,EAAC,OAAO,EAAgB,MAAM,wBAAwB,CAAC;AAK9D,OAAO,KAAK,EAAC,iBAAiB,EAA4B,MAAM,YAAY,CAAC;AAG7E,MAAM,MAAM,qBAAqB,GAAG,IAAI,CACtC,cAAc,CAAC,OAAO,OAAO,CAAC,EAC9B,QAAQ,GAAG,YAAY,CACxB,GAAG;IACF,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,YAAY,EAAE,iBAAiB,CAAC;CACjC,CAAC;AAEF,wBAAgB,gBAAgB,CAAC,EAC/B,MAAM,EAAE,cAAc,EACtB,YAAY,EACZ,QAAQ,EACR,UAAU,EAAE,oBAAoB,EAChC,GAAG,KAAK,EACT,EAAE,qBAAqB,gCAqEvB"}
@@ -0,0 +1,4 @@
1
+ import type { ResolvedRouteLocalization } from './types.ts';
2
+ export declare const RouteLocalizationContext: import("@quilted/preact-context").OptionalContext<ResolvedRouteLocalization>;
3
+ export declare const useRouteLocalization: import("@quilted/preact-context").UseOptionalContextHook<ResolvedRouteLocalization>;
4
+ //# sourceMappingURL=context.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"context.d.ts","sourceRoot":"","sources":["../../../source/routing/context.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAC,yBAAyB,EAAC,MAAM,YAAY,CAAC;AAE1D,eAAO,MAAM,wBAAwB,8EACe,CAAC;AAErD,eAAO,MAAM,oBAAoB,qFAA+B,CAAC"}
@@ -0,0 +1,6 @@
1
+ import type { RouteLocalization } from '../types.ts';
2
+ export declare function createRouteLocalization({ locales: localeMap, default: defaultLocale, }: {
3
+ locales: Map<string, string>;
4
+ default: string;
5
+ }): RouteLocalization;
6
+ //# sourceMappingURL=by-locale.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"by-locale.d.ts","sourceRoot":"","sources":["../../../../source/routing/localization/by-locale.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,iBAAiB,EAAC,MAAM,aAAa,CAAC;AAEnD,wBAAgB,uBAAuB,CAAC,EACtC,OAAO,EAAE,SAAS,EAClB,OAAO,EAAE,aAAa,GACvB,EAAE;IACD,OAAO,EAAE,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAC7B,OAAO,EAAE,MAAM,CAAC;CACjB,GAAG,iBAAiB,CAyDpB"}
@@ -0,0 +1,6 @@
1
+ import type { DefaultLocaleDefinition } from '../types.ts';
2
+ export declare function createRoutePathLocalization({ locales, default: defaultLocaleDefinition, }: {
3
+ locales: string[];
4
+ default: string | DefaultLocaleDefinition;
5
+ }): import("../types.ts").RouteLocalization;
6
+ //# sourceMappingURL=by-path.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"by-path.d.ts","sourceRoot":"","sources":["../../../../source/routing/localization/by-path.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,uBAAuB,EAAC,MAAM,aAAa,CAAC;AAGzD,wBAAgB,2BAA2B,CAAC,EAC1C,OAAO,EACP,OAAO,EAAE,uBAAuB,GACjC,EAAE;IACD,OAAO,EAAE,MAAM,EAAE,CAAC;IAClB,OAAO,EAAE,MAAM,GAAG,uBAAuB,CAAC;CAC3C,2CAqBA"}
@@ -0,0 +1,7 @@
1
+ import type { DefaultLocaleDefinition } from '../types.ts';
2
+ export declare function createRouteSubdomainLocalization({ base, locales, default: defaultLocaleDefinition, }: {
3
+ base: string;
4
+ locales: string[];
5
+ default: string | DefaultLocaleDefinition;
6
+ }): import("../types.ts").RouteLocalization;
7
+ //# sourceMappingURL=by-subdomain.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"by-subdomain.d.ts","sourceRoot":"","sources":["../../../../source/routing/localization/by-subdomain.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,uBAAuB,EAAC,MAAM,aAAa,CAAC;AAGzD,wBAAgB,gCAAgC,CAAC,EAC/C,IAAI,EACJ,OAAO,EACP,OAAO,EAAE,uBAAuB,GACjC,EAAE;IACD,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,EAAE,CAAC;IAClB,OAAO,EAAE,MAAM,GAAG,uBAAuB,CAAC;CAC3C,2CAsBA"}