@abyss-project/commons-front-core 2.1.0 → 2.3.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.
Files changed (46) hide show
  1. package/dist/{CookieConsentSettings.component-BxbX6NvN.js → CookieConsentSettings.component-C-P3Slsp.js} +1175 -1101
  2. package/dist/components/QuotaGauge/AbyssQuotaGauge.component.d.ts +14 -0
  3. package/dist/components/QuotaGauge/bubble-placement.d.ts +7 -0
  4. package/dist/components/QuotaGauge/bubble-placement.spec.d.ts +1 -0
  5. package/dist/components/QuotaGauge/gauge-highlight.spec.d.ts +1 -0
  6. package/dist/components/QuotaGauge/gauge-i18n-coverage.spec.d.ts +1 -0
  7. package/dist/components/QuotaGauge/gauge-segments.d.ts +24 -0
  8. package/dist/components/QuotaGauge/gauge-segments.spec.d.ts +1 -0
  9. package/dist/components/QuotaGauge/index.d.ts +6 -0
  10. package/dist/components/QuotaOffer/AbyssQuotaOffer.component.d.ts +23 -0
  11. package/dist/components/QuotaOffer/AbyssQuotaOffer.component.spec.d.ts +1 -0
  12. package/dist/components/QuotaOffer/index.d.ts +4 -0
  13. package/dist/components/QuotaOffer/quota-offer-state.d.ts +22 -0
  14. package/dist/components/QuotaOffer/quota-offer-state.spec.d.ts +1 -0
  15. package/dist/components/QuotaOffer/quota-phrase-coverage.spec.d.ts +1 -0
  16. package/dist/components/index.d.ts +2 -0
  17. package/dist/cookie-consent.js +1 -1
  18. package/dist/hooks/use-rich-intl.hook.d.ts +146 -24
  19. package/dist/{index-17PVRfVM.js → index-4nE1wibF.js} +2 -2
  20. package/dist/{index-5iuHuX6B.js → index-72-WzF4l.js} +2 -2
  21. package/dist/{index-B68Ox276.js → index-BfPs35F8.js} +2 -2
  22. package/dist/{index-nx-vhukz.js → index-BlJ0fCJS.js} +2 -2
  23. package/dist/{index-CgAz_dkv.js → index-BoUIy9Xg.js} +2 -2
  24. package/dist/{index-BjJ6RebY.js → index-CCqEC0Wb.js} +2 -2
  25. package/dist/{index-BrADeAkS.js → index-CLMW-2U4.js} +4 -4
  26. package/dist/{index-DDIxe_Al.js → index-CPEGn7LR.js} +3 -3
  27. package/dist/{index-DnFyRuZ0.js → index-CTax5qM3.js} +2 -2
  28. package/dist/{index-CViNTwL6.js → index-Cfb_cAHC.js} +2 -2
  29. package/dist/{index-Bca2L8Eq.js → index-DHkZIH1c.js} +3 -3
  30. package/dist/{index-CS4jn_D2.js → index-DfN2Du-F.js} +2 -2
  31. package/dist/{index-xfgNkaBB.js → index-DhABN51K.js} +3 -3
  32. package/dist/{index-DRnlvII3.js → index-DkSmphUz.js} +2 -2
  33. package/dist/{index-DPJAJuSU.js → index-SwLsOy7x.js} +20462 -19967
  34. package/dist/{index-2xylgCNp.js → index-VDepmDUW.js} +4 -4
  35. package/dist/{index-C1UaktkW.js → index-Vwf2Z_a_.js} +4 -4
  36. package/dist/{index-CjHjRIog.js → index-_Wo0ucBs.js} +2 -2
  37. package/dist/{index-DKFBpHIu.js → index-_u6-dB_G.js} +3 -3
  38. package/dist/{index-CdjtMd5y.js → index-cJ1UUo-N.js} +1 -1
  39. package/dist/{index-CCUFZvFM.js → index-jlBQchbJ.js} +2 -2
  40. package/dist/{index-C7mBVfGW.js → index-qifB0tw6.js} +2 -2
  41. package/dist/index.js +234 -223
  42. package/dist/translations/en.d.ts +49 -12
  43. package/dist/translations/fr.d.ts +49 -12
  44. package/dist/translations/vocabulaire-client.spec.d.ts +1 -0
  45. package/package.json +19 -21
  46. package/vitest.config.ts +5 -1
@@ -0,0 +1,14 @@
1
+ import { default as React } from 'react';
2
+ import { QuotaGaugeInput } from './gauge-segments';
3
+ export interface QuotaMarker {
4
+ kind: 'threshold' | 'included' | 'ceiling';
5
+ value: number;
6
+ onAction?: () => void;
7
+ }
8
+ export interface AbyssQuotaGaugeProps extends QuotaGaugeInput {
9
+ markers?: QuotaMarker[];
10
+ formatValue?: (value: number) => string;
11
+ height?: number;
12
+ hideOverageNote?: boolean;
13
+ }
14
+ export declare const AbyssQuotaGauge: React.FC<AbyssQuotaGaugeProps>;
@@ -0,0 +1,7 @@
1
+ export declare const BUBBLE_MAX_WIDTH = 232;
2
+ export interface BubblePlacement {
3
+ width: number;
4
+ left: number;
5
+ arrow: number;
6
+ }
7
+ export declare const placeBubble: (markerCenter: number, gaugeWidth: number, maxWidth?: number) => BubblePlacement;
@@ -0,0 +1,24 @@
1
+ export declare enum QuotaSegmentKind {
2
+ USED_INCLUDED = "USED_INCLUDED",
3
+ USED_OVERAGE = "USED_OVERAGE",
4
+ FREE_INCLUDED = "FREE_INCLUDED",
5
+ FREE_OVERAGE = "FREE_OVERAGE"
6
+ }
7
+ export interface QuotaSegment {
8
+ kind: QuotaSegmentKind;
9
+ from: number;
10
+ to: number;
11
+ ratio: number;
12
+ }
13
+ export interface QuotaAxis {
14
+ max: number;
15
+ segments: QuotaSegment[];
16
+ overageDisallowed: boolean;
17
+ }
18
+ export interface QuotaGaugeInput {
19
+ current: number;
20
+ includedLimit: number;
21
+ ceiling: number | null;
22
+ }
23
+ export declare const buildQuotaAxis: ({ current, includedLimit, ceiling, }: QuotaGaugeInput) => QuotaAxis;
24
+ export declare const markerRatio: (value: number | null, axis: QuotaAxis) => number | null;
@@ -0,0 +1,6 @@
1
+ export { AbyssQuotaGauge } from './AbyssQuotaGauge.component';
2
+ export type { AbyssQuotaGaugeProps, QuotaMarker, } from './AbyssQuotaGauge.component';
3
+ export { BUBBLE_MAX_WIDTH, placeBubble } from './bubble-placement';
4
+ export type { BubblePlacement } from './bubble-placement';
5
+ export { QuotaSegmentKind, buildQuotaAxis, markerRatio, } from './gauge-segments';
6
+ export type { QuotaAxis, QuotaSegment, QuotaGaugeInput, } from './gauge-segments';
@@ -0,0 +1,23 @@
1
+ import { default as React } from 'react';
2
+ import { QuotaMarker } from '../QuotaGauge';
3
+ import { QuotaOfferInput } from './quota-offer-state';
4
+ export interface QuotaOfferBranch {
5
+ kind: 'extension' | 'pack' | 'overage' | 'ceiling' | 'unlock';
6
+ price: string | null;
7
+ lot?: number;
8
+ onSelect?: () => void;
9
+ }
10
+ export interface AbyssQuotaOfferProps extends QuotaOfferInput {
11
+ unit: string;
12
+ metricKey: string;
13
+ branches: QuotaOfferBranch[];
14
+ variant?: 'compact' | 'expanded';
15
+ markers?: QuotaMarker[];
16
+ formatValue?: (value: number) => string;
17
+ serviceKey: string;
18
+ billingBaseUrl?: string;
19
+ organizationId?: string;
20
+ returnUrl?: string;
21
+ onNavigateToBilling?: () => void;
22
+ }
23
+ export declare const AbyssQuotaOffer: React.FC<AbyssQuotaOfferProps>;
@@ -0,0 +1,4 @@
1
+ export { AbyssQuotaOffer } from './AbyssQuotaOffer.component';
2
+ export type { AbyssQuotaOfferProps, QuotaOfferBranch, } from './AbyssQuotaOffer.component';
3
+ export { QuotaOfferState, deriveQuotaOfferState, offersAction, shouldSuggestModule, } from './quota-offer-state';
4
+ export type { QuotaOfferInput } from './quota-offer-state';
@@ -0,0 +1,22 @@
1
+ export declare enum QuotaOfferState {
2
+ HEALTHY = "HEALTHY",
3
+ APPROACHING = "APPROACHING",
4
+ LIMIT_REACHED = "LIMIT_REACHED",
5
+ LIMIT_REACHED_NO_OVERAGE = "LIMIT_REACHED_NO_OVERAGE",
6
+ IN_OVERAGE = "IN_OVERAGE",
7
+ CEILING_REACHED = "CEILING_REACHED",
8
+ SETTING = "SETTING",
9
+ SUSPENDED_BY_PLAN = "SUSPENDED_BY_PLAN"
10
+ }
11
+ export interface QuotaOfferInput {
12
+ current: number;
13
+ includedLimit: number;
14
+ ceiling: number | null;
15
+ alertThreshold: number;
16
+ isSetting: boolean;
17
+ moduleSuspendedByPlan: boolean;
18
+ lotSize: number | null;
19
+ }
20
+ export declare const deriveQuotaOfferState: ({ current, includedLimit, ceiling, alertThreshold, isSetting, moduleSuspendedByPlan, }: QuotaOfferInput) => QuotaOfferState;
21
+ export declare const offersAction: (state: QuotaOfferState) => boolean;
22
+ export declare const shouldSuggestModule: (current: number, includedLimit: number, lotSize: number | null) => boolean;
@@ -14,4 +14,6 @@ export * from './Utils';
14
14
  export * from './Support';
15
15
  export * from './Invitations';
16
16
  export * from './PdfEditor';
17
+ export * from './QuotaGauge';
18
+ export * from './QuotaOffer';
17
19
  export * from './QuotaReached';
@@ -1,4 +1,4 @@
1
- import { A as s, c as a, C as n, a as i, R as C, V as t, d as r, f as k, r as c, e as A, u as l, b, w as d } from "./CookieConsentSettings.component-BxbX6NvN.js";
1
+ import { A as s, c as a, C as n, a as i, R as C, V as t, d as r, f as k, r as c, e as A, u as l, b, w as d } from "./CookieConsentSettings.component-C-P3Slsp.js";
2
2
  export {
3
3
  s as AbyssCookieConsentProvider,
4
4
  a as COOKIE_NAME,
@@ -202,6 +202,30 @@ export declare const translations: {
202
202
  title: string;
203
203
  content: string;
204
204
  };
205
+ "internal-ticket-created": {
206
+ title: string;
207
+ content: string;
208
+ };
209
+ "internal-ticket-section-without-agents": {
210
+ title: string;
211
+ content: string;
212
+ };
213
+ "internal-ticket-status-changed": {
214
+ title: string;
215
+ content: string;
216
+ };
217
+ "internal-ticket-new-message": {
218
+ title: string;
219
+ content: string;
220
+ };
221
+ "internal-ticket-mention": {
222
+ title: string;
223
+ content: string;
224
+ };
225
+ "internal-ticket-assigned": {
226
+ title: string;
227
+ content: string;
228
+ };
205
229
  };
206
230
  };
207
231
  };
@@ -421,6 +445,55 @@ export declare const translations: {
421
445
  };
422
446
  };
423
447
  };
448
+ 'quota-phrase': {
449
+ held: string;
450
+ monthly: string;
451
+ setting: string;
452
+ };
453
+ 'quota-offer': {
454
+ state: {
455
+ APPROACHING: string;
456
+ LIMIT_REACHED: string;
457
+ LIMIT_REACHED_NO_OVERAGE: string;
458
+ IN_OVERAGE: string;
459
+ CEILING_REACHED: string;
460
+ SETTING: string;
461
+ SUSPENDED_BY_PLAN: string;
462
+ };
463
+ branch: {
464
+ extension: string;
465
+ pack: string;
466
+ overage: string;
467
+ ceiling: string;
468
+ unlock: string;
469
+ };
470
+ 'overage-explained': string;
471
+ 'saving-hint': string;
472
+ 'price-unavailable': string;
473
+ 'go-to-billing': string;
474
+ dismiss: string;
475
+ };
476
+ 'quota-gauge': {
477
+ segment: {
478
+ 'used-included': string;
479
+ 'used-overage': string;
480
+ 'free-included': string;
481
+ 'free-overage': string;
482
+ };
483
+ marker: {
484
+ threshold: string;
485
+ included: string;
486
+ ceiling: string;
487
+ 'threshold-hint': string;
488
+ 'included-hint': string;
489
+ 'ceiling-hint': string;
490
+ 'ceiling-action': string;
491
+ 'included-action': string;
492
+ };
493
+ 'overage-disallowed': string;
494
+ unlimited: string;
495
+ 'of-max': string;
496
+ };
424
497
  'quota-reached': {
425
498
  title: string;
426
499
  description: string;
@@ -445,20 +518,17 @@ export declare const translations: {
445
518
  MEMBERS_COUNT: string;
446
519
  TEAM_COUNT: string;
447
520
  API_KEYS_COUNT: string;
448
- STORAGE_GB: string;
449
521
  FILES_COUNT: string;
450
522
  PRESIGNED_URLS: string;
451
523
  BANDWIDTH_GB: string;
452
524
  LOG_EVENTS: string;
453
525
  RETENTION_DAYS: string;
454
526
  APPLICATIONS: string;
455
- CLOUD_STORAGE_GB: string;
456
527
  CLOUD_FILES_COUNT: string;
457
528
  CRYPT_MAX_FILE_SIZE_MB: string;
458
529
  CRYPT_ENCRYPTIONS_MONTH: string;
459
530
  FORM_SUBMISSIONS_MONTH: string;
460
531
  FORM_ALLOW_DOCUMENTS: string;
461
- FORM_DOCUMENTS_STORAGE_GB: string;
462
532
  TOOLS_DRAW_COUNT: string;
463
533
  TOOLS_BOARD_COUNT: string;
464
534
  TOOLS_ATLAS_COUNT: string;
@@ -468,12 +538,7 @@ export declare const translations: {
468
538
  MONITOR_WEBHOOK_INVOCATIONS_MONTH: string;
469
539
  SPOTLIGHT_PAGES_COUNT: string;
470
540
  SPOTLIGHT_PAGE_VIEWS_MONTH: string;
471
- TRAINING_PROGRAMS_COUNT: string;
472
- TRAINING_SESSIONS_MONTH: string;
473
- TRAINING_TEMPLATES_COUNT: string;
474
- TRAINING_CUSTOM_EXERCISES_COUNT: string;
475
541
  MEMORIES_EVENTS_COUNT: string;
476
- MEMORIES_MEDIA_STORAGE_GB: string;
477
542
  ACCOUNT_STORAGE_GB: string;
478
543
  ACCOUNT_AV_SCAN_UNITS: string;
479
544
  TOOLS_EXTRACTION: string;
@@ -1074,15 +1139,12 @@ export declare const translations: {
1074
1139
  LOG_EVENTS: string;
1075
1140
  APPLICATIONS: string;
1076
1141
  RETENTION_DAYS: string;
1077
- STORAGE_GB: string;
1078
1142
  FILES_COUNT: string;
1079
1143
  PRESIGNED_URLS: string;
1080
1144
  BANDWIDTH_GB: string;
1081
- CLOUD_STORAGE_GB: string;
1082
1145
  };
1083
1146
  'account-status': {
1084
1147
  ACTIVE: string;
1085
- CANCELLED: string;
1086
1148
  };
1087
1149
  'invoice-status': {
1088
1150
  PAID: string;
@@ -1139,7 +1201,6 @@ export declare const translations: {
1139
1201
  'plan-feature': {
1140
1202
  PROJECTS_COUNT: string;
1141
1203
  MEMBERS_COUNT: string;
1142
- STORAGE_GB: string;
1143
1204
  LOG_EVENTS: string;
1144
1205
  APPLICATIONS: string;
1145
1206
  RETENTION_DAYS: string;
@@ -1597,6 +1658,30 @@ export declare const translations: {
1597
1658
  title: string;
1598
1659
  content: string;
1599
1660
  };
1661
+ "internal-ticket-created": {
1662
+ title: string;
1663
+ content: string;
1664
+ };
1665
+ "internal-ticket-section-without-agents": {
1666
+ title: string;
1667
+ content: string;
1668
+ };
1669
+ "internal-ticket-status-changed": {
1670
+ title: string;
1671
+ content: string;
1672
+ };
1673
+ "internal-ticket-new-message": {
1674
+ title: string;
1675
+ content: string;
1676
+ };
1677
+ "internal-ticket-mention": {
1678
+ title: string;
1679
+ content: string;
1680
+ };
1681
+ "internal-ticket-assigned": {
1682
+ title: string;
1683
+ content: string;
1684
+ };
1600
1685
  };
1601
1686
  };
1602
1687
  };
@@ -1816,6 +1901,55 @@ export declare const translations: {
1816
1901
  };
1817
1902
  };
1818
1903
  };
1904
+ 'quota-phrase': {
1905
+ held: string;
1906
+ monthly: string;
1907
+ setting: string;
1908
+ };
1909
+ 'quota-offer': {
1910
+ state: {
1911
+ APPROACHING: string;
1912
+ LIMIT_REACHED: string;
1913
+ LIMIT_REACHED_NO_OVERAGE: string;
1914
+ IN_OVERAGE: string;
1915
+ CEILING_REACHED: string;
1916
+ SETTING: string;
1917
+ SUSPENDED_BY_PLAN: string;
1918
+ };
1919
+ branch: {
1920
+ extension: string;
1921
+ pack: string;
1922
+ overage: string;
1923
+ ceiling: string;
1924
+ unlock: string;
1925
+ };
1926
+ 'overage-explained': string;
1927
+ 'saving-hint': string;
1928
+ 'price-unavailable': string;
1929
+ 'go-to-billing': string;
1930
+ dismiss: string;
1931
+ };
1932
+ 'quota-gauge': {
1933
+ segment: {
1934
+ 'used-included': string;
1935
+ 'used-overage': string;
1936
+ 'free-included': string;
1937
+ 'free-overage': string;
1938
+ };
1939
+ marker: {
1940
+ threshold: string;
1941
+ included: string;
1942
+ ceiling: string;
1943
+ 'threshold-hint': string;
1944
+ 'included-hint': string;
1945
+ 'ceiling-hint': string;
1946
+ 'ceiling-action': string;
1947
+ 'included-action': string;
1948
+ };
1949
+ 'overage-disallowed': string;
1950
+ unlimited: string;
1951
+ 'of-max': string;
1952
+ };
1819
1953
  'quota-reached': {
1820
1954
  title: string;
1821
1955
  description: string;
@@ -1840,20 +1974,17 @@ export declare const translations: {
1840
1974
  MEMBERS_COUNT: string;
1841
1975
  TEAM_COUNT: string;
1842
1976
  API_KEYS_COUNT: string;
1843
- STORAGE_GB: string;
1844
1977
  FILES_COUNT: string;
1845
1978
  PRESIGNED_URLS: string;
1846
1979
  BANDWIDTH_GB: string;
1847
1980
  LOG_EVENTS: string;
1848
1981
  RETENTION_DAYS: string;
1849
1982
  APPLICATIONS: string;
1850
- CLOUD_STORAGE_GB: string;
1851
1983
  CLOUD_FILES_COUNT: string;
1852
1984
  CRYPT_MAX_FILE_SIZE_MB: string;
1853
1985
  CRYPT_ENCRYPTIONS_MONTH: string;
1854
1986
  FORM_SUBMISSIONS_MONTH: string;
1855
1987
  FORM_ALLOW_DOCUMENTS: string;
1856
- FORM_DOCUMENTS_STORAGE_GB: string;
1857
1988
  TOOLS_DRAW_COUNT: string;
1858
1989
  TOOLS_BOARD_COUNT: string;
1859
1990
  TOOLS_ATLAS_COUNT: string;
@@ -1863,12 +1994,7 @@ export declare const translations: {
1863
1994
  MONITOR_WEBHOOK_INVOCATIONS_MONTH: string;
1864
1995
  SPOTLIGHT_PAGES_COUNT: string;
1865
1996
  SPOTLIGHT_PAGE_VIEWS_MONTH: string;
1866
- TRAINING_PROGRAMS_COUNT: string;
1867
- TRAINING_SESSIONS_MONTH: string;
1868
- TRAINING_TEMPLATES_COUNT: string;
1869
- TRAINING_CUSTOM_EXERCISES_COUNT: string;
1870
1997
  MEMORIES_EVENTS_COUNT: string;
1871
- MEMORIES_MEDIA_STORAGE_GB: string;
1872
1998
  ACCOUNT_STORAGE_GB: string;
1873
1999
  ACCOUNT_AV_SCAN_UNITS: string;
1874
2000
  TOOLS_EXTRACTION: string;
@@ -2469,15 +2595,12 @@ export declare const translations: {
2469
2595
  LOG_EVENTS: string;
2470
2596
  APPLICATIONS: string;
2471
2597
  RETENTION_DAYS: string;
2472
- STORAGE_GB: string;
2473
2598
  FILES_COUNT: string;
2474
2599
  PRESIGNED_URLS: string;
2475
2600
  BANDWIDTH_GB: string;
2476
- CLOUD_STORAGE_GB: string;
2477
2601
  };
2478
2602
  'account-status': {
2479
2603
  ACTIVE: string;
2480
- CANCELLED: string;
2481
2604
  };
2482
2605
  'invoice-status': {
2483
2606
  PAID: string;
@@ -2534,7 +2657,6 @@ export declare const translations: {
2534
2657
  'plan-feature': {
2535
2658
  PROJECTS_COUNT: string;
2536
2659
  MEMBERS_COUNT: string;
2537
- STORAGE_GB: string;
2538
2660
  LOG_EVENTS: string;
2539
2661
  APPLICATIONS: string;
2540
2662
  RETENTION_DAYS: string;
@@ -1,5 +1,5 @@
1
- import { L as G, E as A, C as N } from "./index-CdjtMd5y.js";
2
- import { s as I, t as p, E as Y, a as j, L as U, e as k, h as Z, i as B, f as D, H as M } from "./index-DPJAJuSU.js";
1
+ import { L as G, E as A, C as N } from "./index-cJ1UUo-N.js";
2
+ import { s as I, t as p, E as Y, a as j, L as U, e as k, h as Z, i as B, f as D, H as M } from "./index-SwLsOy7x.js";
3
3
  const h = 1, F = 2, L = 3, H = 4, K = 5, J = 36, ee = 37, te = 38, Oe = 11, oe = 13;
4
4
  function re(e) {
5
5
  return e == 45 || e == 46 || e == 58 || e >= 65 && e <= 90 || e == 95 || e >= 97 && e <= 122 || e >= 161;
@@ -1,5 +1,5 @@
1
- import { L as s, E as R, a as Y, C as x } from "./index-CdjtMd5y.js";
2
- import { s as w, t as O, a as d, n as X, L as k, b as h, d as f, i as u, f as y, c as l, j as g, m as j, g as U, e as G, o as b, I as Z } from "./index-DPJAJuSU.js";
1
+ import { L as s, E as R, a as Y, C as x } from "./index-cJ1UUo-N.js";
2
+ import { s as w, t as O, a as d, n as X, L as k, b as h, d as f, i as u, f as y, c as l, j as g, m as j, g as U, e as G, o as b, I as Z } from "./index-SwLsOy7x.js";
3
3
  const _ = 177, q = 179, E = 184, v = 12, C = 13, D = 17, z = 20, F = 25, B = 53, N = 95, I = 142, L = 144, A = 145, J = 148, M = 10, H = 13, K = 32, OO = 9, $ = 47, QO = 41, eO = 125, aO = new R((Q, e) => {
4
4
  for (let n = 0, a = Q.next; (e.context && (a < 0 || a == M || a == H || a == $ && Q.peek(n + 1) == $) || a == QO || a == eO) && Q.acceptToken(_), !(a != K && a != OO); )
5
5
  a = Q.peek(++n);
@@ -1,5 +1,5 @@
1
- import { L as o, E as t } from "./index-CdjtMd5y.js";
2
- import { s, t as Q, a as j, L as x, i as f, f as c, c as a, j as W, m as S, g as l } from "./index-DPJAJuSU.js";
1
+ import { L as o, E as t } from "./index-cJ1UUo-N.js";
2
+ import { s, t as Q, a as j, L as x, i as f, f as c, c as a, j as W, m as S, g as l } from "./index-SwLsOy7x.js";
3
3
  const r = 1, q = 2, u = 3, n = 82, Z = 76, V = 117, T = 85, z = 97, w = 122, m = 65, b = 90, y = 95, i = 48, Y = 34, v = 40, P = 41, _ = 32, U = 62, p = new t((O) => {
4
4
  if (O.next == Z || O.next == T ? O.advance() : O.next == V && (O.advance(), O.next == i + 8 && O.advance()), O.next != n || (O.advance(), O.next != Y)) return;
5
5
  O.advance();
@@ -1,5 +1,5 @@
1
- import { L as w, E as p, a as Y } from "./index-CdjtMd5y.js";
2
- import { s as x, t as r, a as q, L as j, e as G, i as R, f as T, c as E, g as _, o as C, I as U } from "./index-DPJAJuSU.js";
1
+ import { L as w, E as p, a as Y } from "./index-cJ1UUo-N.js";
2
+ import { s as x, t as r, a as q, L as j, e as G, i as R, f as T, c as E, g as _, o as C, I as U } from "./index-SwLsOy7x.js";
3
3
  const V = 122, g = 1, Z = 123, W = 124, b = 2, N = 125, I = 3, F = 4, X = [
4
4
  9,
5
5
  10,
@@ -1,5 +1,5 @@
1
- import { L as W, E as i, C as B } from "./index-CdjtMd5y.js";
2
- import { s as U, t as n, a as C, L as b, p as E, i as u, f as M, j as v, g as N } from "./index-DPJAJuSU.js";
1
+ import { L as W, E as i, C as B } from "./index-cJ1UUo-N.js";
2
+ import { s as U, t as n, a as C, L as b, p as E, i as u, f as M, j as v, g as N } from "./index-SwLsOy7x.js";
3
3
  const c = 63, D = 64, j = 1, A = 2, y = 3, H = 4, Z = 5, F = 6, I = 7, z = 65, K = 66, J = 8, OO = 9, eO = 10, aO = 11, rO = 12, V = 13, tO = 19, nO = 20, oO = 29, PO = 33, QO = 34, sO = 47, lO = 0, T = 1, g = 2, d = 3, m = 4;
4
4
  class s {
5
5
  constructor(e, a, r) {
@@ -1,5 +1,5 @@
1
- import { P as nt, k as j, l as v, q as st, N as Ae, s as Be, p as it, t as c, T as E, r as ot, L as le, u as at, v as lt, w as ht, x as ft, e as _, h as P, y as T, z as ut, f as Ie, i as dt, A as pt, C as ct, B as mt, F as he, G as gt } from "./index-DPJAJuSU.js";
2
- import { html as kt, htmlCompletionSource as Lt } from "./index-BrADeAkS.js";
1
+ import { P as nt, k as j, l as v, q as st, N as Ae, s as Be, p as it, t as c, T as E, r as ot, L as le, u as at, v as lt, w as ht, x as ft, e as _, h as P, y as T, z as ut, f as Ie, i as dt, A as pt, C as ct, B as mt, F as he, G as gt } from "./index-SwLsOy7x.js";
2
+ import { html as kt, htmlCompletionSource as Lt } from "./index-CLMW-2U4.js";
3
3
  class $ {
4
4
  static create(e, r, n, s, i) {
5
5
  let o = s + (s << 8) + e + (r << 4) | 0;
@@ -1,7 +1,7 @@
1
- import { L as be, E as $, C as Pe } from "./index-CdjtMd5y.js";
2
- import { p as xe, s as Te, t as h, E as Ve, a as we, L as ye, e as K, h as ve, i as Xe, f as ke, H as $e } from "./index-DPJAJuSU.js";
3
- import { cssLanguage as J, css as _e } from "./index-nx-vhukz.js";
4
- import { typescriptLanguage as qe, jsxLanguage as Ce, tsxLanguage as Qe, javascriptLanguage as R, javascript as Ae } from "./index-DRnlvII3.js";
1
+ import { L as be, E as $, C as Pe } from "./index-cJ1UUo-N.js";
2
+ import { p as xe, s as Te, t as h, E as Ve, a as we, L as ye, e as K, h as ve, i as Xe, f as ke, H as $e } from "./index-SwLsOy7x.js";
3
+ import { cssLanguage as J, css as _e } from "./index-BlJ0fCJS.js";
4
+ import { typescriptLanguage as qe, jsxLanguage as Ce, tsxLanguage as Qe, javascriptLanguage as R, javascript as Ae } from "./index-DkSmphUz.js";
5
5
  const Ye = 54, Me = 1, Re = 55, Ee = 2, Ze = 56, Be = 3, z = 4, ze = 5, X = 6, ee = 7, te = 8, ae = 9, le = 10, We = 11, De = 12, Ne = 13, _ = 57, Ge = 14, W = 58, re = 20, Ie = 22, ne = 23, je = 24, Y = 26, se = 27, Ue = 28, Le = 31, Fe = 34, He = 36, Ke = 37, Je = 0, et = 1, tt = {
6
6
  area: !0,
7
7
  base: !0,
@@ -1,6 +1,6 @@
1
- import { a as t, L as i, i as n, f as $, c as y, g as P, s as X, t as O } from "./index-DPJAJuSU.js";
2
- import { defineCSSCompletionSource as m } from "./index-nx-vhukz.js";
3
- import { L as c, E as S } from "./index-CdjtMd5y.js";
1
+ import { a as t, L as i, i as n, f as $, c as y, g as P, s as X, t as O } from "./index-SwLsOy7x.js";
2
+ import { defineCSSCompletionSource as m } from "./index-BlJ0fCJS.js";
3
+ import { L as c, E as S } from "./index-cJ1UUo-N.js";
4
4
  const f = 110, l = 1, s = 2, r = [
5
5
  9,
6
6
  10,
@@ -1,5 +1,5 @@
1
- import { L as s } from "./index-CdjtMd5y.js";
2
- import { s as n, t as r, a as o, L as P, i as Q, f as i, c as a, g as c } from "./index-DPJAJuSU.js";
1
+ import { L as s } from "./index-cJ1UUo-N.js";
2
+ import { s as n, t as r, a as o, L as P, i as Q, f as i, c as a, g as c } from "./index-SwLsOy7x.js";
3
3
  const g = n({
4
4
  String: r.string,
5
5
  Number: r.number,
@@ -1,5 +1,5 @@
1
- import { L as o, E as a } from "./index-CdjtMd5y.js";
2
- import { s as Z, t as Q, a as _, L as q, i as l, f as w, c as r, g as V } from "./index-DPJAJuSU.js";
1
+ import { L as o, E as a } from "./index-cJ1UUo-N.js";
2
+ import { s as Z, t as Q, a as _, L as q, i as l, f as w, c as r, g as V } from "./index-SwLsOy7x.js";
3
3
  const g = 1, R = 2, b = 3, y = 4, T = 5, s = 98, c = 101, v = 102, t = 114, p = 69, X = 48, W = 46, d = 43, f = 45, Y = 35, z = 34, x = 124, U = 60, h = 62;
4
4
  function n(O) {
5
5
  return O >= 48 && O <= 57;
@@ -1,6 +1,6 @@
1
- import { L as V, E as X } from "./index-CdjtMd5y.js";
2
- import { s as d, t as $, a as Z, L as R, p as s, i as t, f as y, c, j as U, g as l } from "./index-DPJAJuSU.js";
3
- import { html as w } from "./index-BrADeAkS.js";
1
+ import { L as V, E as X } from "./index-cJ1UUo-N.js";
2
+ import { s as d, t as $, a as Z, L as R, p as s, i as t, f as y, c, j as U, g as l } from "./index-SwLsOy7x.js";
3
+ import { html as w } from "./index-CLMW-2U4.js";
4
4
  const W = 1, p = 2, q = 275, u = 3, b = 276, _ = 277, f = 278, k = 4, m = 5, G = 6, x = 7, z = 8, h = 9, g = 10, v = 11, j = 12, E = 13, I = 14, N = 15, L = 16, F = 17, C = 18, H = 19, A = 20, K = 21, D = 22, B = 23, M = 24, J = 25, OO = 26, $O = 27, QO = 28, iO = 29, aO = 30, TO = 31, PO = 32, XO = 33, SO = 34, cO = 35, eO = 36, oO = 37, _O = 38, zO = 39, nO = 40, rO = 41, YO = 42, VO = 43, dO = 44, ZO = 45, RO = 46, sO = 47, tO = 48, yO = 49, UO = 50, lO = 51, wO = 52, WO = 53, pO = 54, qO = 55, uO = 56, bO = 57, fO = 58, kO = 59, mO = 60, GO = 61, xO = 62, e = 63, hO = 64, gO = 65, vO = 66, jO = {
5
5
  abstract: k,
6
6
  and: m,
@@ -1,5 +1,5 @@
1
- import { a as O, L as r, i as b, f as s, s as a, j as t, g as P, t as e } from "./index-DPJAJuSU.js";
2
- import { L as n } from "./index-CdjtMd5y.js";
1
+ import { a as O, L as r, i as b, f as s, s as a, j as t, g as P, t as e } from "./index-SwLsOy7x.js";
2
+ import { L as n } from "./index-cJ1UUo-N.js";
3
3
  const S = { __proto__: null, anyref: 34, dataref: 34, eqref: 34, externref: 34, i31ref: 34, funcref: 34, i8: 34, i16: 34, i32: 34, i64: 34, f32: 34, f64: 34 }, i = /* @__PURE__ */ n.deserialize({
4
4
  version: 14,
5
5
  states: "!^Q]QPOOOqQPO'#CbOOQO'#Cd'#CdOOQO'#Cl'#ClOOQO'#Ch'#ChQ]QPOOOOQO,58|,58|OxQPO,58|OOQO-E6f-E6fOOQO1G.h1G.h",
@@ -1,6 +1,6 @@
1
- import { L as v, E as i, C as _ } from "./index-CdjtMd5y.js";
2
- import { s as W, t as e, a as g, L as x, f as p, i as U, g as V, c as E } from "./index-DPJAJuSU.js";
3
- import { defineCSSCompletionSource as N } from "./index-nx-vhukz.js";
1
+ import { L as v, E as i, C as _ } from "./index-cJ1UUo-N.js";
2
+ import { s as W, t as e, a as g, L as x, f as p, i as U, g as V, c as E } from "./index-SwLsOy7x.js";
3
+ import { defineCSSCompletionSource as N } from "./index-BlJ0fCJS.js";
4
4
  const j = 168, X = 169, C = 170, I = 1, D = 2, w = 3, L = 171, F = 172, Y = 4, z = 173, K = 5, A = 174, T = 175, Z = 176, s = 177, G = 6, q = 7, B = 8, H = 9, c = 0, R = [
5
5
  9,
6
6
  10,
@@ -1,5 +1,5 @@
1
- import { L as M, E as X, a as h, C as E } from "./index-CdjtMd5y.js";
2
- import { s as A, t as i, E as C, a as J, n as o, L as I, b as B, d as D, e as u, h as K, i as N, f as H, c as g, j as F, m as OO, g as aO, J as j, x as QO, o as iO, I as eO } from "./index-DPJAJuSU.js";
1
+ import { L as M, E as X, a as h, C as E } from "./index-cJ1UUo-N.js";
2
+ import { s as A, t as i, E as C, a as J, n as o, L as I, b as B, d as D, e as u, h as K, i as N, f as H, c as g, j as F, m as OO, g as aO, J as j, x as QO, o as iO, I as eO } from "./index-SwLsOy7x.js";
3
3
  const $O = 315, rO = 316, v = 1, tO = 2, lO = 3, nO = 4, oO = 317, sO = 319, ZO = 320, PO = 5, pO = 6, cO = 0, q = [
4
4
  9,
5
5
  10,