@cedx/ui 0.1.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 (108) hide show
  1. package/License.md +20 -0
  2. package/ReadMe.md +17 -0
  3. package/lib/Alignment.d.ts +22 -0
  4. package/lib/Alignment.d.ts.map +1 -0
  5. package/lib/Alignment.js +17 -0
  6. package/lib/AppTheme.d.ts +34 -0
  7. package/lib/AppTheme.d.ts.map +1 -0
  8. package/lib/AppTheme.js +41 -0
  9. package/lib/Components/BackButton.d.ts +27 -0
  10. package/lib/Components/BackButton.d.ts.map +1 -0
  11. package/lib/Components/BackButton.js +29 -0
  12. package/lib/Components/DialogBox.d.ts +151 -0
  13. package/lib/Components/DialogBox.d.ts.map +1 -0
  14. package/lib/Components/DialogBox.js +268 -0
  15. package/lib/Components/FullScreenToggler.d.ts +42 -0
  16. package/lib/Components/FullScreenToggler.d.ts.map +1 -0
  17. package/lib/Components/FullScreenToggler.js +103 -0
  18. package/lib/Components/KeyboardAccelerator.d.ts +36 -0
  19. package/lib/Components/KeyboardAccelerator.d.ts.map +1 -0
  20. package/lib/Components/KeyboardAccelerator.js +78 -0
  21. package/lib/Components/LoadingIndicator.d.ts +58 -0
  22. package/lib/Components/LoadingIndicator.d.ts.map +1 -0
  23. package/lib/Components/LoadingIndicator.js +93 -0
  24. package/lib/Components/MenuActivator.d.ts +26 -0
  25. package/lib/Components/MenuActivator.d.ts.map +1 -0
  26. package/lib/Components/MenuActivator.js +42 -0
  27. package/lib/Components/OfflineIndicator.d.ts +59 -0
  28. package/lib/Components/OfflineIndicator.d.ts.map +1 -0
  29. package/lib/Components/OfflineIndicator.js +106 -0
  30. package/lib/Components/TabActivator.d.ts +49 -0
  31. package/lib/Components/TabActivator.d.ts.map +1 -0
  32. package/lib/Components/TabActivator.js +70 -0
  33. package/lib/Components/ThemeDropdown.d.ts +86 -0
  34. package/lib/Components/ThemeDropdown.d.ts.map +1 -0
  35. package/lib/Components/ThemeDropdown.js +207 -0
  36. package/lib/Components/Toast.d.ts +94 -0
  37. package/lib/Components/Toast.d.ts.map +1 -0
  38. package/lib/Components/Toast.js +284 -0
  39. package/lib/Components/Toaster.d.ts +119 -0
  40. package/lib/Components/Toaster.d.ts.map +1 -0
  41. package/lib/Components/Toaster.js +153 -0
  42. package/lib/Components/TypeAhead.d.ts +53 -0
  43. package/lib/Components/TypeAhead.d.ts.map +1 -0
  44. package/lib/Components/TypeAhead.js +138 -0
  45. package/lib/Context.d.ts +38 -0
  46. package/lib/Context.d.ts.map +1 -0
  47. package/lib/Context.js +42 -0
  48. package/lib/DialogResult.d.ts +30 -0
  49. package/lib/DialogResult.d.ts.map +1 -0
  50. package/lib/DialogResult.js +29 -0
  51. package/lib/File.d.ts +25 -0
  52. package/lib/File.d.ts.map +1 -0
  53. package/lib/File.js +66 -0
  54. package/lib/Form.d.ts +33 -0
  55. package/lib/Form.d.ts.map +1 -0
  56. package/lib/Form.js +50 -0
  57. package/lib/Htmx.d.ts +12 -0
  58. package/lib/Htmx.d.ts.map +1 -0
  59. package/lib/Htmx.js +2 -0
  60. package/lib/KeyboardModifiers.d.ts +26 -0
  61. package/lib/KeyboardModifiers.d.ts.map +1 -0
  62. package/lib/KeyboardModifiers.js +25 -0
  63. package/lib/Position.d.ts +52 -0
  64. package/lib/Position.d.ts.map +1 -0
  65. package/lib/Position.js +59 -0
  66. package/lib/Size.d.ts +40 -0
  67. package/lib/Size.d.ts.map +1 -0
  68. package/lib/Size.js +44 -0
  69. package/lib/StorageArea.d.ts +18 -0
  70. package/lib/StorageArea.d.ts.map +1 -0
  71. package/lib/StorageArea.js +13 -0
  72. package/lib/Tags.d.ts +15 -0
  73. package/lib/Tags.d.ts.map +1 -0
  74. package/lib/Tags.js +48 -0
  75. package/lib/Variant.d.ts +36 -0
  76. package/lib/Variant.d.ts.map +1 -0
  77. package/lib/Variant.js +31 -0
  78. package/lib/ViewportScroller.d.ts +49 -0
  79. package/lib/ViewportScroller.d.ts.map +1 -0
  80. package/lib/ViewportScroller.js +69 -0
  81. package/package.json +58 -0
  82. package/src/Client/Alignment.ts +25 -0
  83. package/src/Client/AppTheme.ts +51 -0
  84. package/src/Client/Components/BackButton.ts +45 -0
  85. package/src/Client/Components/DialogBox.ts +344 -0
  86. package/src/Client/Components/FullScreenToggler.ts +122 -0
  87. package/src/Client/Components/KeyboardAccelerator.ts +97 -0
  88. package/src/Client/Components/LoadingIndicator.ts +113 -0
  89. package/src/Client/Components/MenuActivator.ts +58 -0
  90. package/src/Client/Components/OfflineIndicator.ts +125 -0
  91. package/src/Client/Components/TabActivator.ts +93 -0
  92. package/src/Client/Components/ThemeDropdown.ts +235 -0
  93. package/src/Client/Components/Toast.ts +319 -0
  94. package/src/Client/Components/Toaster.ts +224 -0
  95. package/src/Client/Components/TypeAhead.ts +153 -0
  96. package/src/Client/Context.ts +53 -0
  97. package/src/Client/DialogResult.ts +35 -0
  98. package/src/Client/File.ts +73 -0
  99. package/src/Client/Form.ts +55 -0
  100. package/src/Client/Htmx.ts +13 -0
  101. package/src/Client/KeyboardModifiers.ts +30 -0
  102. package/src/Client/Position.ts +74 -0
  103. package/src/Client/Size.ts +56 -0
  104. package/src/Client/StorageArea.ts +20 -0
  105. package/src/Client/Tags.ts +58 -0
  106. package/src/Client/Variant.ts +42 -0
  107. package/src/Client/ViewportScroller.ts +89 -0
  108. package/src/Client/tsconfig.json +19 -0
@@ -0,0 +1,70 @@
1
+ import { Tab } from "bootstrap";
2
+ import { StorageArea } from "../StorageArea.js";
3
+ /**
4
+ * A component that activates a tab, based on its index saved in the web storage.
5
+ */
6
+ export class TabActivator extends HTMLElement {
7
+ /**
8
+ * Creates a new tab activator.
9
+ */
10
+ constructor() {
11
+ super();
12
+ const { tabs } = this;
13
+ for (let index = 0; index < tabs.length; index++)
14
+ tabs.item(index).addEventListener("show.bs.tab", () => this.activeTabIndex = index);
15
+ }
16
+ /**
17
+ * Registers the component.
18
+ */
19
+ static {
20
+ customElements.define("tab-activator", this);
21
+ }
22
+ /**
23
+ * The index of the active tab.
24
+ */
25
+ get activeTabIndex() {
26
+ const index = Number(this.storage.getItem(this.storageKey) ?? "0");
27
+ return Math.max(0, Math.min(this.tabs.length - 1, Number.isNaN(index) ? 0 : index));
28
+ }
29
+ set activeTabIndex(value) {
30
+ this.storage.setItem(this.storageKey, value.toString());
31
+ }
32
+ /**
33
+ * The storage object corresponding to the current {@link storageArea}.
34
+ */
35
+ get storage() {
36
+ return this.storageArea == StorageArea.Local ? localStorage : sessionStorage;
37
+ }
38
+ /**
39
+ * The storage area to use.
40
+ */
41
+ get storageArea() {
42
+ const value = this.getAttribute("storagearea");
43
+ return Object.values(StorageArea).includes(value) ? value : StorageArea.Session;
44
+ }
45
+ set storageArea(value) {
46
+ this.setAttribute("storagearea", value);
47
+ }
48
+ /**
49
+ * The key of the storage entry providing the active tab index.
50
+ */
51
+ get storageKey() {
52
+ const value = this.getAttribute("storagekey") ?? "";
53
+ return value.trim() || "ActiveTabIndex";
54
+ }
55
+ set storageKey(value) {
56
+ this.setAttribute("storagekey", value);
57
+ }
58
+ /**
59
+ * The tab list.
60
+ */
61
+ get tabs() {
62
+ return this.querySelectorAll('[data-bs-toggle="tab"]');
63
+ }
64
+ /**
65
+ * Method invoked when this component is connected.
66
+ */
67
+ connectedCallback() {
68
+ Tab.getOrCreateInstance(this.tabs.item(this.activeTabIndex)).show();
69
+ }
70
+ }
@@ -0,0 +1,86 @@
1
+ import { Alignment } from "../Alignment.js";
2
+ import { AppTheme } from "../AppTheme.js";
3
+ /**
4
+ * A dropdown menu for switching the application theme.
5
+ */
6
+ export declare class ThemeDropdown extends HTMLElement {
7
+ #private;
8
+ /**
9
+ * The list of observed attributes.
10
+ */
11
+ static readonly observedAttributes: string[];
12
+ /**
13
+ * Creates a new theme dropdown.
14
+ */
15
+ constructor();
16
+ /**
17
+ * The alignment of the dropdown menu.
18
+ */
19
+ get alignment(): Alignment;
20
+ set alignment(value: Alignment);
21
+ /**
22
+ * The current application theme.
23
+ */
24
+ get appTheme(): AppTheme;
25
+ set appTheme(value: AppTheme);
26
+ /**
27
+ * Value indicating whether to store the application theme in a cookie.
28
+ */
29
+ get cookie(): boolean;
30
+ set cookie(value: boolean);
31
+ /**
32
+ * The URI for which the associated cookie is valid.
33
+ */
34
+ get cookieDomain(): string;
35
+ set cookieDomain(value: string);
36
+ /**
37
+ * The label of the dropdown menu.
38
+ */
39
+ get label(): string;
40
+ set label(value: string);
41
+ /**
42
+ * The key of the storage entry providing the saved application theme.
43
+ */
44
+ get storageKey(): string;
45
+ set storageKey(value: string);
46
+ /**
47
+ * Method invoked when an attribute has been changed.
48
+ * @param attribute The attribute name.
49
+ * @param oldValue The previous attribute value.
50
+ * @param newValue The new attribute value.
51
+ */
52
+ attributeChangedCallback(attribute: string, oldValue: string | null, newValue: string | null): void;
53
+ /**
54
+ * Closes the dropdown menu.
55
+ */
56
+ close(): void;
57
+ /**
58
+ * Method invoked when this component is connected.
59
+ * @returns Completes when this component has been connected.
60
+ */
61
+ connectedCallback(): Promise<void>;
62
+ /**
63
+ * Method invoked when this component is disconnected.
64
+ */
65
+ disconnectedCallback(): void;
66
+ /**
67
+ * Opens the dropdown menu.
68
+ */
69
+ open(): void;
70
+ /**
71
+ * Saves the current application theme into the local storage.
72
+ */
73
+ save(): void;
74
+ }
75
+ /**
76
+ * Declaration merging.
77
+ */
78
+ declare global {
79
+ /**
80
+ * The map of HTML tag names.
81
+ */
82
+ interface HTMLElementTagNameMap {
83
+ "theme-dropdown": ThemeDropdown;
84
+ }
85
+ }
86
+ //# sourceMappingURL=ThemeDropdown.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ThemeDropdown.d.ts","sourceRoot":"","sources":["../../src/Client/Components/ThemeDropdown.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,SAAS,EAAC,MAAM,iBAAiB,CAAC;AAC1C,OAAO,EAAC,QAAQ,EAAO,MAAM,gBAAgB,CAAC;AAE9C;;GAEG;AACH,qBAAa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+ import { AppTheme, icon } from "../AppTheme.js";
4
+ /**
5
+ * A dropdown menu for switching the application theme.
6
+ */
7
+ export class ThemeDropdown extends HTMLElement {
8
+ /**
9
+ * The list of observed attributes.
10
+ */
11
+ static observedAttributes = ["alignment", "apptheme", "label"];
12
+ /**
13
+ * The abort controller used to remove the event listeners.
14
+ */
15
+ #abortController = null;
16
+ /**
17
+ * The dropdown menu.
18
+ */
19
+ #dropdown;
20
+ /**
21
+ * The media query used to check the application theme.
22
+ */
23
+ #mediaQuery = matchMedia("(prefers-color-scheme: dark)");
24
+ /**
25
+ * Creates a new theme dropdown.
26
+ */
27
+ constructor() {
28
+ super();
29
+ for (const button of this.querySelectorAll(".dropdown-menu button"))
30
+ button.addEventListener("click", this.#setAppTheme);
31
+ }
32
+ /**
33
+ * Registers the component.
34
+ */
35
+ static {
36
+ customElements.define("theme-dropdown", this);
37
+ }
38
+ /**
39
+ * The alignment of the dropdown menu.
40
+ */
41
+ get alignment() {
42
+ const value = this.getAttribute("alignment");
43
+ return Object.values(Alignment).includes(value) ? value : Alignment.End;
44
+ }
45
+ set alignment(value) {
46
+ this.setAttribute("alignment", value);
47
+ }
48
+ /**
49
+ * The current application theme.
50
+ */
51
+ get appTheme() {
52
+ const value = this.getAttribute("apptheme");
53
+ return Object.values(AppTheme).includes(value) ? value : AppTheme.System;
54
+ }
55
+ set appTheme(value) {
56
+ this.setAttribute("apptheme", value);
57
+ }
58
+ /**
59
+ * Value indicating whether to store the application theme in a cookie.
60
+ */
61
+ get cookie() {
62
+ return this.hasAttribute("cookie");
63
+ }
64
+ set cookie(value) {
65
+ this.toggleAttribute("cookie", value);
66
+ }
67
+ /**
68
+ * The URI for which the associated cookie is valid.
69
+ */
70
+ get cookieDomain() {
71
+ return (this.getAttribute("cookiedomain") ?? "").trim();
72
+ }
73
+ set cookieDomain(value) {
74
+ this.setAttribute("cookiedomain", value);
75
+ }
76
+ /**
77
+ * The label of the dropdown menu.
78
+ */
79
+ get label() {
80
+ const value = this.getAttribute("label") ?? "";
81
+ return value.trim() || "Thème";
82
+ }
83
+ set label(value) {
84
+ this.setAttribute("label", value);
85
+ }
86
+ /**
87
+ * The key of the storage entry providing the saved application theme.
88
+ */
89
+ get storageKey() {
90
+ const value = this.getAttribute("storagekey") ?? "";
91
+ return value.trim() || "AppTheme";
92
+ }
93
+ set storageKey(value) {
94
+ this.setAttribute("storagekey", value);
95
+ }
96
+ /**
97
+ * Method invoked when an attribute has been changed.
98
+ * @param attribute The attribute name.
99
+ * @param oldValue The previous attribute value.
100
+ * @param newValue The new attribute value.
101
+ */
102
+ attributeChangedCallback(attribute, oldValue, newValue) {
103
+ if (newValue != oldValue)
104
+ switch (attribute) {
105
+ case "alignment":
106
+ this.#updateAlignment(Object.values(Alignment).includes(newValue) ? newValue : Alignment.End);
107
+ break;
108
+ case "apptheme":
109
+ this.#updateAppTheme(Object.values(AppTheme).includes(newValue) ? newValue : AppTheme.System);
110
+ break;
111
+ case "label":
112
+ this.#updateLabel(newValue ?? "");
113
+ break;
114
+ // No default
115
+ }
116
+ }
117
+ /**
118
+ * Closes the dropdown menu.
119
+ */
120
+ close() {
121
+ this.#dropdown.hide();
122
+ }
123
+ /**
124
+ * Method invoked when this component is connected.
125
+ * @returns Completes when this component has been connected.
126
+ */
127
+ async connectedCallback() {
128
+ this.#abortController = new AbortController;
129
+ this.#dropdown = new Dropdown(this.querySelector(".dropdown-toggle"));
130
+ this.#mediaQuery.addEventListener("change", () => this.#applyToDocument(), { signal: this.#abortController.signal });
131
+ const cookie = this.cookie ? await cookieStore.get(this.storageKey) : null;
132
+ if (cookie)
133
+ this.appTheme = cookie.value;
134
+ else {
135
+ const storage = localStorage.getItem(this.storageKey);
136
+ if (storage)
137
+ this.appTheme = storage;
138
+ }
139
+ }
140
+ /**
141
+ * Method invoked when this component is disconnected.
142
+ */
143
+ disconnectedCallback() {
144
+ this.#abortController?.abort();
145
+ this.#dropdown.dispose();
146
+ }
147
+ /**
148
+ * Opens the dropdown menu.
149
+ */
150
+ open() {
151
+ this.#dropdown.show();
152
+ }
153
+ /**
154
+ * Saves the current application theme into the local storage.
155
+ */
156
+ save() {
157
+ const { appTheme, cookieDomain } = this;
158
+ localStorage.setItem(this.storageKey, appTheme);
159
+ if (this.cookie)
160
+ void cookieStore.set({
161
+ domain: cookieDomain ? cookieDomain : null,
162
+ expires: Date.now() + (365 * 24 * 60 * 60 * 1_000),
163
+ name: this.storageKey,
164
+ value: appTheme
165
+ });
166
+ }
167
+ /**
168
+ * Applies the application theme to the document.
169
+ */
170
+ #applyToDocument() {
171
+ const { appTheme } = this;
172
+ const bsTheme = appTheme == AppTheme.System ? (this.#mediaQuery.matches ? AppTheme.Dark : AppTheme.Light) : appTheme;
173
+ document.documentElement.dataset.bsTheme = bsTheme.toLowerCase();
174
+ }
175
+ /**
176
+ * Changes the current application theme.
177
+ * @param event The dispatched event.
178
+ */
179
+ #setAppTheme = event => {
180
+ event.preventDefault();
181
+ this.appTheme = event.currentTarget.value;
182
+ this.save();
183
+ };
184
+ /**
185
+ * Updates the alignment of the dropdown menu.
186
+ * @param value The new value.
187
+ */
188
+ #updateAlignment(value) {
189
+ this.querySelector(".dropdown-menu").classList.toggle("dropdown-menu-end", value == Alignment.End);
190
+ }
191
+ /**
192
+ * Updates the application theme.
193
+ * @param value The new value.
194
+ */
195
+ #updateAppTheme(value) {
196
+ this.querySelector(".dropdown-toggle > .icon").textContent = icon(value);
197
+ this.querySelector(`.dropdown-menu button[value="${value}"]`).appendChild(this.querySelector(".dropdown-item > .icon"));
198
+ this.#applyToDocument();
199
+ }
200
+ /**
201
+ * Updates the label of the dropdown menu.
202
+ * @param value The new value.
203
+ */
204
+ #updateLabel(value) {
205
+ this.querySelector(".dropdown-toggle > span").textContent = value.trim() || "Thème";
206
+ }
207
+ }
@@ -0,0 +1,94 @@
1
+ import { Context } from "../Context.js";
2
+ /**
3
+ * Represents a notification.
4
+ */
5
+ export declare class Toast extends HTMLElement {
6
+ #private;
7
+ /**
8
+ * The list of observed attributes.
9
+ */
10
+ static readonly observedAttributes: string[];
11
+ /**
12
+ * Value indicating whether to automatically hide this toast.
13
+ */
14
+ get autoHide(): boolean;
15
+ set autoHide(value: boolean);
16
+ /**
17
+ * The child content displayed in the body.
18
+ */
19
+ set body(value: DocumentFragment);
20
+ /**
21
+ * The title displayed in the header.
22
+ */
23
+ get caption(): string;
24
+ set caption(value: string);
25
+ /**
26
+ * A contextual modifier.
27
+ */
28
+ get context(): Context;
29
+ set context(value: Context);
30
+ /**
31
+ * The culture used to format the relative time.
32
+ */
33
+ get culture(): Intl.Locale;
34
+ set culture(value: Intl.Locale);
35
+ /**
36
+ * The delay, in milliseconds, to hide this toast.
37
+ */
38
+ get delay(): number;
39
+ set delay(value: number);
40
+ /**
41
+ * The time elapsed since this component was initially shown, in milliseconds.
42
+ */
43
+ get elapsedTime(): number;
44
+ /**
45
+ * Value indicating whether to apply a transition.
46
+ */
47
+ get fade(): boolean;
48
+ set fade(value: boolean);
49
+ /**
50
+ * The icon displayed next to the caption.
51
+ */
52
+ get icon(): string | null;
53
+ set icon(value: string | null);
54
+ /**
55
+ * Value indicating whether to initially show this component.
56
+ */
57
+ get open(): boolean;
58
+ set open(value: boolean);
59
+ /**
60
+ * Method invoked when an attribute has been changed.
61
+ * @param attribute The attribute name.
62
+ * @param oldValue The previous attribute value.
63
+ * @param newValue The new attribute value.
64
+ */
65
+ attributeChangedCallback(attribute: string, oldValue: string | null, newValue: string | null): void;
66
+ /**
67
+ * Closes this toast.
68
+ */
69
+ close(): void;
70
+ /**
71
+ * Method invoked when this component is connected.
72
+ */
73
+ connectedCallback(): void;
74
+ /**
75
+ * Method invoked when this component is disconnected.
76
+ */
77
+ disconnectedCallback(): void;
78
+ /**
79
+ * Shows this toast.
80
+ */
81
+ show(): void;
82
+ }
83
+ /**
84
+ * Declaration merging.
85
+ */
86
+ declare global {
87
+ /**
88
+ * The map of HTML tag names.
89
+ */
90
+ interface HTMLElementTagNameMap {
91
+ "toaster-item": Toast;
92
+ }
93
+ }
94
+ //# sourceMappingURL=Toast.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Toast.d.ts","sourceRoot":"","sources":["../../src/Client/Components/Toast.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,OAAO,EAAiB,MAAM,eAAe,CAAC;AAEtD;;GAEG;AACH,qBAAa,KAAM,SAAQ,WAAW;;IAErC;;OAEG;IACH,MAAM,CAAC,QAAQ,CAAC,kBAAkB,WAA0E;IAuC5G;;OAEG;IACH,IAAI,QAAQ,IAAI,OAAO,CAEtB;IACD,IAAI,QAAQ,CAAC,KAAK,EAAE,OAAO,EAE1B;IAED;;OAEG;IACH,IAAI,IAAI,CAAC,KAAK,EAAE,gBAAgB,EAE/B;IAED;;OAEG;IACH,IAAI,OAAO,IAAI,MAAM,CAEpB;IACD,IAAI,OAAO,CAAC,KAAK,EAAE,MAAM,EAExB;IAED;;OAEG;IACH,IAAI,OAAO,IAAI,OAAO,CAGrB;IACD,IAAI,OAAO,CAAC,KAAK,EAAE,OAAO,EAEzB;IAED;;OAEG;IACH,IAAI,OAAO,IAAI,IAAI,CAAC,MAAM,CAGzB;IACD,IAAI,OAAO,CAAC,KAAK,EAAE,IAAI,CAAC,MAAM,EAE7B;IAED;;OAEG;IACH,IAAI,KAAK,IAAI,MAAM,CAGlB;IACD,IAAI,KAAK,CAAC,KAAK,EAAE,MAAM,EAEtB;IAED;;OAEG;IACH,IAAI,WAAW,IAAI,MAAM,CAExB;IAED;;OAEG;IACH,IAAI,IAAI,IAAI,OAAO,CAElB;IACD,IAAI,IAAI,CAAC,KAAK,EAAE,OAAO,EAEtB;IAED;;OAEG;IACH,IAAI,IAAI,IAAI,MAAM,GAAC,IAAI,CAGtB;IACD,IAAI,IAAI,CAAC,KAAK,EAAE,MAAM,GAAC,IAAI,EAG1B;IAED;;OAEG;IACH,IAAI,IAAI,IAAI,OAAO,CAElB;IACD,IAAI,IAAI,CAAC,KAAK,EAAE,OAAO,EAEtB;IAED;;;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