@atb-as/theme 11.0.0-alpha.14 → 11.0.0-alpha.16

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 (85) hide show
  1. package/package.json +4 -10
  2. package/lib/index.d.ts +0 -2
  3. package/lib/index.js +0 -19
  4. package/lib/index.js.map +0 -1
  5. package/lib/theme.d.ts +0 -302
  6. package/lib/theme.js +0 -127
  7. package/lib/theme.js.map +0 -1
  8. package/lib/themes/atb-theme/dark.d.ts +0 -439
  9. package/lib/themes/atb-theme/dark.js +0 -441
  10. package/lib/themes/atb-theme/dark.js.map +0 -1
  11. package/lib/themes/atb-theme/light.d.ts +0 -439
  12. package/lib/themes/atb-theme/light.js +0 -441
  13. package/lib/themes/atb-theme/light.js.map +0 -1
  14. package/lib/themes/atb-theme/theme.css +0 -790
  15. package/lib/themes/atb-theme/theme.d.ts +0 -876
  16. package/lib/themes/atb-theme/theme.js +0 -16
  17. package/lib/themes/atb-theme/theme.js.map +0 -1
  18. package/lib/themes/atb-theme/theme.module.css +0 -790
  19. package/lib/themes/fram-theme/theme.css +0 -763
  20. package/lib/themes/fram-theme/theme.d.ts +0 -215
  21. package/lib/themes/fram-theme/theme.js +0 -622
  22. package/lib/themes/fram-theme/theme.js.map +0 -1
  23. package/lib/themes/fram-theme/theme.module.css +0 -763
  24. package/lib/themes/index.d.ts +0 -5
  25. package/lib/themes/index.js +0 -17
  26. package/lib/themes/index.js.map +0 -1
  27. package/lib/themes/innlandet-theme/theme.css +0 -763
  28. package/lib/themes/innlandet-theme/theme.d.ts +0 -113
  29. package/lib/themes/innlandet-theme/theme.js +0 -502
  30. package/lib/themes/innlandet-theme/theme.js.map +0 -1
  31. package/lib/themes/innlandet-theme/theme.module.css +0 -763
  32. package/lib/themes/nfk-theme/theme.css +0 -763
  33. package/lib/themes/nfk-theme/theme.d.ts +0 -185
  34. package/lib/themes/nfk-theme/theme.js +0 -595
  35. package/lib/themes/nfk-theme/theme.js.map +0 -1
  36. package/lib/themes/nfk-theme/theme.module.css +0 -763
  37. package/lib/themes/troms-theme/dark.d.ts +0 -418
  38. package/lib/themes/troms-theme/dark.js +0 -420
  39. package/lib/themes/troms-theme/dark.js.map +0 -1
  40. package/lib/themes/troms-theme/light.d.ts +0 -427
  41. package/lib/themes/troms-theme/light.js +0 -429
  42. package/lib/themes/troms-theme/light.js.map +0 -1
  43. package/lib/themes/troms-theme/theme.css +0 -786
  44. package/lib/themes/troms-theme/theme.d.ts +0 -843
  45. package/lib/themes/troms-theme/theme.js +0 -16
  46. package/lib/themes/troms-theme/theme.js.map +0 -1
  47. package/lib/themes/troms-theme/theme.module.css +0 -786
  48. package/lib/themes-fs/atb-theme/dark.d.ts +0 -762
  49. package/lib/themes-fs/atb-theme/dark.js +0 -764
  50. package/lib/themes-fs/atb-theme/dark.js.map +0 -1
  51. package/lib/themes-fs/atb-theme/light.d.ts +0 -762
  52. package/lib/themes-fs/atb-theme/light.js +0 -764
  53. package/lib/themes-fs/atb-theme/light.js.map +0 -1
  54. package/lib/themes-fs/atb-theme/theme.d.ts +0 -1522
  55. package/lib/themes-fs/atb-theme/theme.js +0 -16
  56. package/lib/themes-fs/atb-theme/theme.js.map +0 -1
  57. package/lib/themes-fs/index.d.ts +0 -2
  58. package/lib/themes-fs/index.js +0 -14
  59. package/lib/themes-fs/index.js.map +0 -1
  60. package/lib/themes-fs/troms-theme/dark.d.ts +0 -708
  61. package/lib/themes-fs/troms-theme/dark.js +0 -710
  62. package/lib/themes-fs/troms-theme/dark.js.map +0 -1
  63. package/lib/themes-fs/troms-theme/light.d.ts +0 -750
  64. package/lib/themes-fs/troms-theme/light.js +0 -752
  65. package/lib/themes-fs/troms-theme/light.js.map +0 -1
  66. package/lib/themes-fs/troms-theme/theme.d.ts +0 -1456
  67. package/lib/themes-fs/troms-theme/theme.js +0 -16
  68. package/lib/themes-fs/troms-theme/theme.js.map +0 -1
  69. package/lib/typography/android.d.ts +0 -3
  70. package/lib/typography/android.js +0 -97
  71. package/lib/typography/android.js.map +0 -1
  72. package/lib/typography/index.d.ts +0 -63
  73. package/lib/typography/index.js +0 -98
  74. package/lib/typography/index.js.map +0 -1
  75. package/lib/typography/ios.d.ts +0 -3
  76. package/lib/typography/ios.js +0 -96
  77. package/lib/typography/ios.js.map +0 -1
  78. package/lib/typography/types.d.ts +0 -21
  79. package/lib/typography/types.js +0 -27
  80. package/lib/typography/types.js.map +0 -1
  81. package/lib/typography.css +0 -260
  82. package/lib/typography.module.css +0 -260
  83. package/lib/utils/override-config.d.ts +0 -8
  84. package/lib/utils/override-config.js +0 -37
  85. package/lib/utils/override-config.js.map +0 -1
package/package.json CHANGED
@@ -1,20 +1,14 @@
1
1
  {
2
2
  "name": "@atb-as/theme",
3
- "version": "11.0.0-alpha.14",
3
+ "version": "11.0.0-alpha.16",
4
4
  "private": false,
5
5
  "description": "AtB Design System Colors",
6
6
  "license": "EUPL-1.2",
7
7
  "type": "commonjs",
8
8
  "main": "./lib/index.js",
9
- "exports": {
10
- ".": {
11
- "types": "./lib/index.d.ts",
12
- "require": "./lib/index.js",
13
- "default": "./lib/index.js"
14
- }
15
- },
9
+ "types": "./lib/index.d.ts",
16
10
  "files": [
17
- "lib"
11
+ "./lib/**/*"
18
12
  ],
19
13
  "scripts": {
20
14
  "pack": "yarn pack",
@@ -42,5 +36,5 @@
42
36
  "publishConfig": {
43
37
  "access": "public"
44
38
  },
45
- "gitHead": "21a41f86585c1a39d1806402ef2a82ee76bbbb4f"
39
+ "gitHead": "333c57d421bd8fcc1a50bc58637d2ef40ddff390"
46
40
  }
package/lib/index.d.ts DELETED
@@ -1,2 +0,0 @@
1
- export * from './theme';
2
- export * from './typography';
package/lib/index.js DELETED
@@ -1,19 +0,0 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
- };
16
- Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./theme"), exports);
18
- __exportStar(require("./typography"), exports);
19
- //# sourceMappingURL=index.js.map
package/lib/index.js.map DELETED
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,0CAAwB;AACxB,+CAA6B"}
package/lib/theme.d.ts DELETED
@@ -1,302 +0,0 @@
1
- import { ConfigurationOverride } from './utils/override-config';
2
- export type Themes<T = Theme> = {
3
- light: T;
4
- dark: T;
5
- };
6
- export type Mode = keyof Themes;
7
- export type TextColor = 'primary' | 'secondary' | 'disabled';
8
- export type TextColorType = 'dark' | 'light';
9
- export type RadiusSizes = keyof Theme['border']['radius'];
10
- export type ContrastColor = {
11
- background: string;
12
- text: string;
13
- };
14
- export type TransportColor<T = ContrastColor> = {
15
- primary: T;
16
- secondary: T;
17
- };
18
- export type StatusColor<T = ContrastColor> = {
19
- primary: T;
20
- secondary: T;
21
- };
22
- export type InteractiveColor<T = ContrastColor> = {
23
- default: T;
24
- hover: T;
25
- active: T;
26
- disabled: T;
27
- outline: T;
28
- destructive: T;
29
- };
30
- export declare enum GeofencingZoneCodes {
31
- allowed = "Allowed",// blue
32
- slow = "Slow",// yellow
33
- noParking = "NoParking",// red
34
- noEntry = "NoEntry"
35
- }
36
- export type GeofencingZoneKeys = keyof typeof GeofencingZoneCodes;
37
- export type GeofencingZoneStyle<T = ContrastColor> = {
38
- color: T;
39
- fillOpacity: number;
40
- strokeOpacity: number;
41
- layerIndexWeight: number;
42
- };
43
- export type GeofencingZoneStyles<T = ContrastColor> = {
44
- [GZKey in GeofencingZoneKeys]: GeofencingZoneStyle<T>;
45
- };
46
- export interface Theme {
47
- spacings: {
48
- xSmall: number;
49
- small: number;
50
- medium: number;
51
- large: number;
52
- xLarge: number;
53
- };
54
- interactive: {
55
- interactive_0: InteractiveColor;
56
- interactive_1: InteractiveColor;
57
- interactive_2: InteractiveColor;
58
- interactive_3: InteractiveColor;
59
- interactive_destructive: InteractiveColor;
60
- };
61
- transport: {
62
- transport_city: TransportColor;
63
- transport_region: TransportColor;
64
- transport_airport_express: TransportColor;
65
- transport_boat: TransportColor;
66
- transport_train: TransportColor;
67
- transport_flexible: TransportColor;
68
- transport_scooter: TransportColor;
69
- transport_bike: TransportColor;
70
- transport_car: TransportColor;
71
- transport_other: TransportColor;
72
- };
73
- status: {
74
- valid: StatusColor;
75
- info: StatusColor;
76
- warning: StatusColor;
77
- error: StatusColor;
78
- };
79
- static: {
80
- background: {
81
- background_0: ContrastColor;
82
- background_1: ContrastColor;
83
- background_2: ContrastColor;
84
- background_3: ContrastColor;
85
- background_accent_0: ContrastColor;
86
- background_accent_1: ContrastColor;
87
- background_accent_2: ContrastColor;
88
- background_accent_3: ContrastColor;
89
- background_accent_4: ContrastColor;
90
- background_accent_5: ContrastColor;
91
- };
92
- zone_selection: {
93
- from: ContrastColor;
94
- to: ContrastColor;
95
- };
96
- };
97
- text: {
98
- colors: {
99
- [key in TextColor]: string;
100
- };
101
- };
102
- border: {
103
- primary: string;
104
- secondary: string;
105
- focus: string;
106
- radius: {
107
- small: number;
108
- regular: number;
109
- circle: number;
110
- };
111
- width: {
112
- slim: number;
113
- medium: number;
114
- };
115
- };
116
- icon: {
117
- size: {
118
- xSmall: number;
119
- small: number;
120
- normal: number;
121
- large: number;
122
- };
123
- };
124
- geofencingZones: GeofencingZoneStyles;
125
- }
126
- export type ContrastColorFs = {
127
- background: string;
128
- foreground: {
129
- primary: string;
130
- secondary: string;
131
- disabled: string;
132
- };
133
- };
134
- export interface ThemeFs {
135
- color: {
136
- foreground: {
137
- dark: ContrastColorFs['foreground'];
138
- light: ContrastColorFs['foreground'];
139
- dynamic: ContrastColorFs['foreground'];
140
- inverse: ContrastColorFs['foreground'];
141
- };
142
- interactive: {
143
- 0: InteractiveColor<ContrastColorFs>;
144
- 1: InteractiveColor<ContrastColorFs>;
145
- 2: InteractiveColor<ContrastColorFs>;
146
- 3: InteractiveColor<ContrastColorFs>;
147
- destructive: InteractiveColor<ContrastColorFs>;
148
- };
149
- transport: {
150
- city: TransportColor<ContrastColorFs>;
151
- region: TransportColor<ContrastColorFs>;
152
- airportExpress: TransportColor<ContrastColorFs>;
153
- boat: TransportColor<ContrastColorFs>;
154
- train: TransportColor<ContrastColorFs>;
155
- flexible: TransportColor<ContrastColorFs>;
156
- scooter: TransportColor<ContrastColorFs>;
157
- bike: TransportColor<ContrastColorFs>;
158
- car: TransportColor<ContrastColorFs>;
159
- other: TransportColor<ContrastColorFs>;
160
- };
161
- status: {
162
- valid: StatusColor<ContrastColorFs>;
163
- info: StatusColor<ContrastColorFs>;
164
- warning: StatusColor<ContrastColorFs>;
165
- error: StatusColor<ContrastColorFs>;
166
- };
167
- background: {
168
- neutral: {
169
- 0: ContrastColorFs;
170
- 1: ContrastColorFs;
171
- 2: ContrastColorFs;
172
- 3: ContrastColorFs;
173
- };
174
- accent: {
175
- 0: ContrastColorFs;
176
- 1: ContrastColorFs;
177
- 2: ContrastColorFs;
178
- 3: ContrastColorFs;
179
- 4: ContrastColorFs;
180
- 5: ContrastColorFs;
181
- };
182
- };
183
- zone: {
184
- from: ContrastColorFs;
185
- to: ContrastColorFs;
186
- };
187
- geofencingZone: GeofencingZoneStyles<ContrastColorFs>;
188
- border: {
189
- primary: ContrastColorFs;
190
- secondary: ContrastColorFs;
191
- focus: ContrastColorFs;
192
- };
193
- };
194
- border: {
195
- radius: {
196
- small: number;
197
- regular: number;
198
- circle: number;
199
- };
200
- width: {
201
- slim: number;
202
- medium: number;
203
- };
204
- };
205
- icon: {
206
- size: {
207
- xSmall: number;
208
- small: number;
209
- normal: number;
210
- large: number;
211
- };
212
- };
213
- spacing: {
214
- xSmall: number;
215
- small: number;
216
- medium: number;
217
- large: number;
218
- xLarge: number;
219
- };
220
- typography: {
221
- ios: {
222
- font: string;
223
- number: number;
224
- };
225
- android: {
226
- font: string;
227
- number: number;
228
- };
229
- web: {
230
- font: string;
231
- number: number;
232
- };
233
- };
234
- }
235
- export type Statuses = keyof Theme['status'];
236
- export declare enum ThemeVariant {
237
- AtB = 0,
238
- Nfk = 1,
239
- FRAM = 2,
240
- Troms = 3,
241
- Innlandet = 4
242
- }
243
- export interface ThemeOptions {
244
- useFigmaStructure?: boolean;
245
- }
246
- /**
247
- * Get a theme object for a specific organization in the desired format.
248
- *
249
- * @param themeVariant Organization
250
- * @param themeOptions Set if the new Figma structure should be used
251
- * @returns Theme object
252
- */
253
- export declare function createThemesFor<T extends ThemeOptions>(themeVariant: ThemeVariant, themeOptions?: T): T['useFigmaStructure'] extends true ? Themes<ThemeFs> : Themes<Theme>;
254
- /**
255
- * Create new themes (light/dark) with optinally overriden defaults.
256
- *
257
- * @example extending nested features
258
- * ```ts
259
- * const themes = createThemes({
260
- * light: {
261
- * spacings: {
262
- * medium: 20,
263
- * },
264
- * },
265
- * });
266
- *
267
- * themes.dark.spacings.medium;
268
- * //=> 20
269
- * ```
270
- *
271
- * @param overrides - Properties to override base themes with, on `Theme` level
272
- * @returns themes
273
- */
274
- export declare function createThemes(themes: Themes, overrides?: ConfigurationOverride<Themes>): Themes;
275
- /**
276
- * Use Theme as base and extend with new properties. Properties
277
- * can be nested and will be deep merged.
278
- *
279
- * @example extending nested features
280
- * ```ts
281
- * type FooExtension = {
282
- * statusBarStyle: 'dark' | 'light';
283
- * }
284
- * const _themes = createExtendedThemes<FooExtension>({
285
- * light: {statusBarStyle: 'dark'},
286
- * dark: {statusBarStyle: 'light'}
287
- * });
288
- *
289
- * _themes.dark.statusBarStyle;
290
- * //=> (property) statusBarStyle: "dark" | "light"
291
- * ```
292
- *
293
- * @param extension - Object to extend original theme. Can be nested with same keys
294
- * @returns new deep merged intersection themes
295
- */
296
- export declare function createExtendedThemes<T extends {}, M extends Theme | ThemeFs = Theme>(themes: Themes<M>, extension: {
297
- light: T;
298
- dark: T;
299
- }): {
300
- light: Themes<M>['light'] & T;
301
- dark: Themes<M>['dark'] & T;
302
- };
package/lib/theme.js DELETED
@@ -1,127 +0,0 @@
1
- "use strict";
2
- var __importDefault = (this && this.__importDefault) || function (mod) {
3
- return (mod && mod.__esModule) ? mod : { "default": mod };
4
- };
5
- Object.defineProperty(exports, "__esModule", { value: true });
6
- exports.ThemeVariant = exports.GeofencingZoneCodes = void 0;
7
- exports.createThemesFor = createThemesFor;
8
- exports.createThemes = createThemes;
9
- exports.createExtendedThemes = createExtendedThemes;
10
- var ts_deepmerge_1 = __importDefault(require("ts-deepmerge"));
11
- var override_config_1 = require("./utils/override-config");
12
- var themes_1 = require("./themes");
13
- var themes_fs_1 = require("./themes-fs");
14
- // The colors can be changed, but should follow standard practice as commented:
15
- var GeofencingZoneCodes;
16
- (function (GeofencingZoneCodes) {
17
- GeofencingZoneCodes["allowed"] = "Allowed";
18
- GeofencingZoneCodes["slow"] = "Slow";
19
- GeofencingZoneCodes["noParking"] = "NoParking";
20
- GeofencingZoneCodes["noEntry"] = "NoEntry";
21
- })(GeofencingZoneCodes || (exports.GeofencingZoneCodes = GeofencingZoneCodes = {}));
22
- ;
23
- var ThemeVariant;
24
- (function (ThemeVariant) {
25
- ThemeVariant[ThemeVariant["AtB"] = 0] = "AtB";
26
- ThemeVariant[ThemeVariant["Nfk"] = 1] = "Nfk";
27
- ThemeVariant[ThemeVariant["FRAM"] = 2] = "FRAM";
28
- ThemeVariant[ThemeVariant["Troms"] = 3] = "Troms";
29
- ThemeVariant[ThemeVariant["Innlandet"] = 4] = "Innlandet";
30
- })(ThemeVariant || (exports.ThemeVariant = ThemeVariant = {}));
31
- /**
32
- * Get a theme object for a specific organization in the desired format.
33
- *
34
- * @param themeVariant Organization
35
- * @param themeOptions Set if the new Figma structure should be used
36
- * @returns Theme object
37
- */
38
- function createThemesFor(themeVariant, themeOptions) {
39
- if (themeOptions === void 0) { themeOptions = { useFigmaStructure: false }; }
40
- switch (themeVariant) {
41
- case ThemeVariant.AtB:
42
- if (themeOptions === null || themeOptions === void 0 ? void 0 : themeOptions.useFigmaStructure) {
43
- return themes_fs_1.AtBThemesFs;
44
- }
45
- else {
46
- return themes_1.AtBThemes;
47
- ;
48
- }
49
- case ThemeVariant.Troms:
50
- if (themeOptions === null || themeOptions === void 0 ? void 0 : themeOptions.useFigmaStructure) {
51
- return themes_fs_1.TromsThemesFs;
52
- }
53
- else {
54
- return themes_1.TromsThemes;
55
- }
56
- case ThemeVariant.Nfk:
57
- if (themeOptions.useFigmaStructure) {
58
- console.log("Note that Nfk does not support the Figma structure yet. Return old structure.");
59
- }
60
- return themes_1.NfkThemes;
61
- case ThemeVariant.FRAM:
62
- if (themeOptions.useFigmaStructure) {
63
- console.log("Note that FRAM does not support the Figma structure yet. Return old structure.");
64
- }
65
- return themes_1.FRAMThemes;
66
- case ThemeVariant.Innlandet:
67
- if (themeOptions.useFigmaStructure) {
68
- console.log("Note that Innlandet does not support the Figma structure yet. Return old structure.");
69
- }
70
- return themes_1.InnlandetThemes;
71
- default:
72
- throw Error('A valid ThemeVariant must be provided');
73
- }
74
- }
75
- /**
76
- * Create new themes (light/dark) with optinally overriden defaults.
77
- *
78
- * @example extending nested features
79
- * ```ts
80
- * const themes = createThemes({
81
- * light: {
82
- * spacings: {
83
- * medium: 20,
84
- * },
85
- * },
86
- * });
87
- *
88
- * themes.dark.spacings.medium;
89
- * //=> 20
90
- * ```
91
- *
92
- * @param overrides - Properties to override base themes with, on `Theme` level
93
- * @returns themes
94
- */
95
- function createThemes(themes, overrides) {
96
- if (!overrides)
97
- return themes;
98
- return (0, override_config_1.overrideConfig)(themes, overrides);
99
- }
100
- /**
101
- * Use Theme as base and extend with new properties. Properties
102
- * can be nested and will be deep merged.
103
- *
104
- * @example extending nested features
105
- * ```ts
106
- * type FooExtension = {
107
- * statusBarStyle: 'dark' | 'light';
108
- * }
109
- * const _themes = createExtendedThemes<FooExtension>({
110
- * light: {statusBarStyle: 'dark'},
111
- * dark: {statusBarStyle: 'light'}
112
- * });
113
- *
114
- * _themes.dark.statusBarStyle;
115
- * //=> (property) statusBarStyle: "dark" | "light"
116
- * ```
117
- *
118
- * @param extension - Object to extend original theme. Can be nested with same keys
119
- * @returns new deep merged intersection themes
120
- */
121
- function createExtendedThemes(themes, extension) {
122
- return {
123
- light: (0, ts_deepmerge_1.default)(themes.light, extension.light),
124
- dark: (0, ts_deepmerge_1.default)(themes.dark, extension.dark),
125
- };
126
- }
127
- //# sourceMappingURL=theme.js.map
package/lib/theme.js.map DELETED
@@ -1 +0,0 @@
1
- {"version":3,"file":"theme.js","sourceRoot":"","sources":["../src/theme.ts"],"names":[],"mappings":";;;;;;AAgTA,0CAmCC;AAsBD,oCAMC;AAuBD,oDAWC;AAjZD,8DAAiC;AACjC,2DAA8E;AAC9E,mCAMkB;AAElB,yCAMqB;AAqCrB,+EAA+E;AAC/E,IAAY,mBAKX;AALD,WAAY,mBAAmB;IAC7B,0CAAmB,CAAA;IACnB,oCAAa,CAAA;IACb,8CAAuB,CAAA;IACvB,0CAAmB,CAAA;AACrB,CAAC,EALW,mBAAmB,mCAAnB,mBAAmB,QAK9B;AA8NA,CAAC;AAIF,IAAY,YAMX;AAND,WAAY,YAAY;IACtB,6CAAG,CAAA;IACH,6CAAG,CAAA;IACH,+CAAI,CAAA;IACJ,iDAAK,CAAA;IACL,yDAAS,CAAA;AACX,CAAC,EANW,YAAY,4BAAZ,YAAY,QAMvB;AAMD;;;;;;GAMG;AACH,SAAgB,eAAe,CAC7B,YAA0B,EAC1B,YAAmD;IAAnD,6BAAA,EAAA,eAAkB,EAAE,iBAAiB,EAAE,KAA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