@leyyo/common 1.0.4 → 1.0.6

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 (239) hide show
  1. package/dist/assertion/common-assertion.d.ts +54 -0
  2. package/dist/assertion/common-assertion.js +180 -0
  3. package/dist/assertion/common-assertion.js.map +1 -0
  4. package/dist/assertion/index-types.d.ts +154 -159
  5. package/dist/assertion/index-types.js +1 -0
  6. package/dist/assertion/index-types.js.map +1 -0
  7. package/dist/assertion/index.d.ts +0 -1
  8. package/dist/assertion/index.js +1 -1
  9. package/dist/assertion/index.js.map +1 -0
  10. package/dist/descriptor/common-descriptor.d.ts +19 -0
  11. package/dist/descriptor/common-descriptor.js +92 -0
  12. package/dist/descriptor/common-descriptor.js.map +1 -0
  13. package/dist/descriptor/index-types.d.ts +21 -0
  14. package/dist/{literal → descriptor}/index-types.js +1 -0
  15. package/dist/descriptor/index-types.js.map +1 -0
  16. package/dist/descriptor/index.d.ts +1 -0
  17. package/dist/{storage → descriptor}/index.js +1 -1
  18. package/dist/descriptor/index.js.map +1 -0
  19. package/dist/developer/common-developer.d.ts +29 -0
  20. package/dist/developer/common-developer.js +266 -0
  21. package/dist/developer/common-developer.js.map +1 -0
  22. package/dist/developer/index-types.d.ts +77 -0
  23. package/dist/{storage → developer}/index-types.js +1 -0
  24. package/dist/developer/index-types.js.map +1 -0
  25. package/dist/developer/index.d.ts +1 -0
  26. package/dist/developer/index.js +18 -0
  27. package/dist/developer/index.js.map +1 -0
  28. package/dist/error/{common-error-impl.d.ts → common-error.d.ts} +5 -5
  29. package/dist/error/common-error.js +104 -0
  30. package/dist/error/common-error.js.map +1 -0
  31. package/dist/error/index-types.d.ts +21 -2
  32. package/dist/error/index-types.js +1 -0
  33. package/dist/error/index-types.js.map +1 -0
  34. package/dist/error/index.d.ts +0 -1
  35. package/dist/error/index.js +1 -1
  36. package/dist/error/index.js.map +1 -0
  37. package/dist/exception/assertion-exception.d.ts +2 -2
  38. package/dist/exception/assertion-exception.js +3 -2
  39. package/dist/exception/assertion-exception.js.map +1 -0
  40. package/dist/exception/caused-exception.d.ts +2 -2
  41. package/dist/exception/caused-exception.js +3 -2
  42. package/dist/exception/caused-exception.js.map +1 -0
  43. package/dist/exception/developer-exception.d.ts +2 -2
  44. package/dist/exception/developer-exception.js +3 -2
  45. package/dist/exception/developer-exception.js.map +1 -0
  46. package/dist/exception/exception.d.ts +7 -5
  47. package/dist/exception/exception.js +14 -4
  48. package/dist/exception/exception.js.map +1 -0
  49. package/dist/exception/index-types.d.ts +1 -1
  50. package/dist/exception/index-types.js +1 -0
  51. package/dist/exception/index-types.js.map +1 -0
  52. package/dist/exception/index.d.ts +1 -0
  53. package/dist/exception/index.js +2 -0
  54. package/dist/exception/index.js.map +1 -0
  55. package/dist/exception/invalid-value-exception.d.ts +5 -0
  56. package/dist/exception/invalid-value-exception.js +12 -0
  57. package/dist/exception/invalid-value-exception.js.map +1 -0
  58. package/dist/exception/multiple-exception.js +1 -0
  59. package/dist/exception/multiple-exception.js.map +1 -0
  60. package/dist/fqn/common-fqn.d.ts +20 -0
  61. package/dist/fqn/common-fqn.js +116 -0
  62. package/dist/fqn/common-fqn.js.map +1 -0
  63. package/dist/fqn/index-types.d.ts +14 -5
  64. package/dist/fqn/index-types.js +1 -0
  65. package/dist/fqn/index-types.js.map +1 -0
  66. package/dist/fqn/index.d.ts +0 -1
  67. package/dist/fqn/index.js +1 -1
  68. package/dist/fqn/index.js.map +1 -0
  69. package/dist/hook/{common-hook-impl.d.ts → common-hook.d.ts} +12 -10
  70. package/dist/hook/{common-hook-impl.js → common-hook.js} +27 -21
  71. package/dist/hook/common-hook.js.map +1 -0
  72. package/dist/hook/index-types.d.ts +29 -14
  73. package/dist/hook/index-types.js +1 -0
  74. package/dist/hook/index-types.js.map +1 -0
  75. package/dist/hook/index.d.ts +0 -1
  76. package/dist/hook/index.js +1 -1
  77. package/dist/hook/index.js.map +1 -0
  78. package/dist/index.d.ts +27 -11
  79. package/dist/index.js +30 -20
  80. package/dist/index.js.map +1 -0
  81. package/dist/internal.d.ts +2 -0
  82. package/dist/internal.js +4 -1
  83. package/dist/internal.js.map +1 -0
  84. package/dist/is/{common-is-impl.d.ts → common-is.d.ts} +19 -5
  85. package/dist/is/common-is.js +136 -0
  86. package/dist/is/common-is.js.map +1 -0
  87. package/dist/is/index-types.d.ts +48 -3
  88. package/dist/is/index-types.js +1 -0
  89. package/dist/is/index-types.js.map +1 -0
  90. package/dist/is/index.d.ts +0 -1
  91. package/dist/is/index.js +1 -1
  92. package/dist/is/index.js.map +1 -0
  93. package/dist/leyyo/index-types.d.ts +30 -17
  94. package/dist/leyyo/index-types.js +1 -0
  95. package/dist/leyyo/index-types.js.map +1 -0
  96. package/dist/leyyo/index.d.ts +1 -1
  97. package/dist/leyyo/index.js +2 -1
  98. package/dist/leyyo/index.js.map +1 -0
  99. package/dist/leyyo/leyyo-common-hook.d.ts +10 -0
  100. package/dist/leyyo/leyyo-common-hook.js +18 -0
  101. package/dist/leyyo/leyyo-common-hook.js.map +1 -0
  102. package/dist/leyyo/leyyo.d.ts +35 -0
  103. package/dist/leyyo/leyyo.js +77 -0
  104. package/dist/leyyo/leyyo.js.map +1 -0
  105. package/dist/log/common-log.d.ts +14 -0
  106. package/dist/log/common-log.js +92 -0
  107. package/dist/log/common-log.js.map +1 -0
  108. package/dist/log/index-types.d.ts +57 -3
  109. package/dist/log/index-types.js +1 -0
  110. package/dist/log/index-types.js.map +1 -0
  111. package/dist/log/index.d.ts +2 -2
  112. package/dist/log/index.js +3 -2
  113. package/dist/log/index.js.map +1 -0
  114. package/dist/log/logger-instance.d.ts +31 -0
  115. package/dist/log/logger-instance.js +114 -0
  116. package/dist/log/logger-instance.js.map +1 -0
  117. package/dist/{literal → log}/severity.js +1 -0
  118. package/dist/log/severity.js.map +1 -0
  119. package/dist/repo/common-repo.d.ts +44 -0
  120. package/dist/repo/common-repo.js +180 -0
  121. package/dist/repo/common-repo.js.map +1 -0
  122. package/dist/repo/index-types.d.ts +104 -0
  123. package/dist/{shared/index-aliases.js → repo/index-types.js} +1 -2
  124. package/dist/repo/index-types.js.map +1 -0
  125. package/dist/repo/index.d.ts +2 -0
  126. package/dist/repo/index.js +19 -0
  127. package/dist/repo/index.js.map +1 -0
  128. package/dist/repo/repo-type.d.ts +8 -0
  129. package/dist/repo/repo-type.js +8 -0
  130. package/dist/repo/repo-type.js.map +1 -0
  131. package/dist/server.d.ts +1 -0
  132. package/dist/server.js +5 -0
  133. package/dist/server.js.map +1 -0
  134. package/dist/shared/index-types.d.ts +162 -132
  135. package/dist/shared/index-types.js +2 -1
  136. package/dist/shared/index-types.js.map +1 -0
  137. package/dist/shared/index.d.ts +0 -4
  138. package/dist/shared/index.js +1 -4
  139. package/dist/shared/index.js.map +1 -0
  140. package/dist/system/common-system.d.ts +10 -0
  141. package/dist/system/common-system.js +65 -0
  142. package/dist/system/common-system.js.map +1 -0
  143. package/dist/{literal → system}/country-code.js +1 -0
  144. package/dist/system/country-code.js.map +1 -0
  145. package/dist/{literal → system}/environment.js +1 -0
  146. package/dist/system/environment.js.map +1 -0
  147. package/dist/{literal → system}/http-method.js +1 -0
  148. package/dist/system/http-method.js.map +1 -0
  149. package/dist/{literal → system}/http-place.js +1 -0
  150. package/dist/system/http-place.js.map +1 -0
  151. package/dist/system/index-types.d.ts +6 -0
  152. package/dist/system/index-types.js +3 -0
  153. package/dist/system/index-types.js.map +1 -0
  154. package/dist/{literal → system}/index.d.ts +1 -8
  155. package/dist/{literal → system}/index.js +2 -8
  156. package/dist/system/index.js.map +1 -0
  157. package/dist/{literal → system}/language-code.js +1 -0
  158. package/dist/system/language-code.js.map +1 -0
  159. package/dist/{literal → system}/locale-code.js +1 -0
  160. package/dist/system/locale-code.js.map +1 -0
  161. package/dist/{literal → system}/sys-class.js +1 -0
  162. package/dist/system/sys-class.js.map +1 -0
  163. package/dist/{literal → system}/sys-function.js +1 -0
  164. package/dist/system/sys-function.js.map +1 -0
  165. package/dist/to/common-to.d.ts +45 -0
  166. package/dist/to/common-to.js +868 -0
  167. package/dist/to/common-to.js.map +1 -0
  168. package/dist/to/index-types.d.ts +38 -18
  169. package/dist/to/index-types.js +1 -0
  170. package/dist/to/index-types.js.map +1 -0
  171. package/dist/to/index.d.ts +6 -1
  172. package/dist/to/index.js +7 -1
  173. package/dist/to/index.js.map +1 -0
  174. package/dist/{literal → to}/key-value.js +1 -0
  175. package/dist/to/key-value.js.map +1 -0
  176. package/dist/{shared → to}/list.d.ts +1 -0
  177. package/dist/{shared → to}/list.js +4 -0
  178. package/dist/to/list.js.map +1 -0
  179. package/dist/{literal → to}/primitive.js +1 -0
  180. package/dist/to/primitive.js.map +1 -0
  181. package/dist/{literal → to}/real-value.js +1 -0
  182. package/dist/to/real-value.js.map +1 -0
  183. package/dist/{literal → to}/weak-false.js +1 -0
  184. package/dist/to/weak-false.js.map +1 -0
  185. package/dist/{literal → to}/weak-true.js +1 -0
  186. package/dist/to/weak-true.js.map +1 -0
  187. package/dist/wrapper/common-wrapper.d.ts +26 -0
  188. package/dist/wrapper/common-wrapper.js +81 -0
  189. package/dist/wrapper/common-wrapper.js.map +1 -0
  190. package/dist/wrapper/index-types.d.ts +29 -0
  191. package/dist/wrapper/index-types.js +3 -0
  192. package/dist/wrapper/index-types.js.map +1 -0
  193. package/dist/wrapper/index.d.ts +2 -0
  194. package/dist/wrapper/index.js +19 -0
  195. package/dist/wrapper/index.js.map +1 -0
  196. package/dist/wrapper/wrap.d.ts +7 -0
  197. package/dist/wrapper/wrap.js +11 -0
  198. package/dist/wrapper/wrap.js.map +1 -0
  199. package/package.json +13 -15
  200. package/dist/assertion/common-assertion-impl.d.ts +0 -65
  201. package/dist/assertion/common-assertion-impl.js +0 -248
  202. package/dist/error/common-error-impl.js +0 -92
  203. package/dist/fqn/common-fqn-impl.d.ts +0 -18
  204. package/dist/fqn/common-fqn-impl.js +0 -121
  205. package/dist/is/common-is-impl.js +0 -91
  206. package/dist/leyyo/leyyo-impl.d.ts +0 -26
  207. package/dist/leyyo/leyyo-impl.js +0 -94
  208. package/dist/literal/index-types.d.ts +0 -6
  209. package/dist/literal/storage-type.d.ts +0 -8
  210. package/dist/literal/storage-type.js +0 -7
  211. package/dist/log/common-log-impl.d.ts +0 -14
  212. package/dist/log/common-log-impl.js +0 -59
  213. package/dist/log/logger-impl.d.ts +0 -23
  214. package/dist/log/logger-impl.js +0 -77
  215. package/dist/shared/assert.d.ts +0 -6
  216. package/dist/shared/assert.js +0 -14
  217. package/dist/shared/index-aliases.d.ts +0 -167
  218. package/dist/shared/index-constants.d.ts +0 -8
  219. package/dist/shared/index-constants.js +0 -11
  220. package/dist/storage/common-storage-impl.d.ts +0 -47
  221. package/dist/storage/common-storage-impl.js +0 -150
  222. package/dist/storage/index-types.d.ts +0 -87
  223. package/dist/storage/index.d.ts +0 -2
  224. package/dist/to/common-to-impl.d.ts +0 -38
  225. package/dist/to/common-to-impl.js +0 -553
  226. /package/dist/{literal → log}/severity.d.ts +0 -0
  227. /package/dist/{literal → system}/country-code.d.ts +0 -0
  228. /package/dist/{literal → system}/environment.d.ts +0 -0
  229. /package/dist/{literal → system}/http-method.d.ts +0 -0
  230. /package/dist/{literal → system}/http-place.d.ts +0 -0
  231. /package/dist/{literal → system}/language-code.d.ts +0 -0
  232. /package/dist/{literal → system}/locale-code.d.ts +0 -0
  233. /package/dist/{literal → system}/sys-class.d.ts +0 -0
  234. /package/dist/{literal → system}/sys-function.d.ts +0 -0
  235. /package/dist/{literal → to}/key-value.d.ts +0 -0
  236. /package/dist/{literal → to}/primitive.d.ts +0 -0
  237. /package/dist/{literal → to}/real-value.d.ts +0 -0
  238. /package/dist/{literal → to}/weak-false.d.ts +0 -0
  239. /package/dist/{literal → to}/weak-true.d.ts +0 -0
@@ -0,0 +1,54 @@
1
+ import { AssertionCallback, CommonAssertionLike, CommonAssertionSecure } from "./index-types";
2
+ import { LeyyoLike } from "../leyyo";
3
+ import { DevOpt } from "../developer";
4
+ /** @inheritDoc */
5
+ export declare class CommonAssertion implements CommonAssertionLike, CommonAssertionSecure {
6
+ private dev;
7
+ private readonly _EMPTY;
8
+ constructor();
9
+ private _run;
10
+ /** @inheritDoc */
11
+ array(value: unknown, opt?: string | DevOpt | AssertionCallback): void;
12
+ /** @inheritDoc */
13
+ boolean(value: unknown, opt?: string | DevOpt | AssertionCallback): void;
14
+ /** @inheritDoc */
15
+ clazz(value: unknown, opt?: string | DevOpt | AssertionCallback): void;
16
+ /** @inheritDoc */
17
+ date(value: unknown, opt?: string | DevOpt | AssertionCallback): void;
18
+ /** @inheritDoc */
19
+ func(value: unknown, opt?: string | DevOpt | AssertionCallback): void;
20
+ /** @inheritDoc */
21
+ sym(value: unknown, opt?: string | DevOpt | AssertionCallback): void;
22
+ /** @inheritDoc */
23
+ integer(value: unknown, opt?: string | DevOpt | AssertionCallback): void;
24
+ /** @inheritDoc */
25
+ key(value: unknown, opt?: string | DevOpt | AssertionCallback): void;
26
+ /** @inheritDoc */
27
+ notEmpty(value: unknown, opt?: string | DevOpt | AssertionCallback): void;
28
+ /** @inheritDoc */
29
+ number(value: unknown, opt?: string | DevOpt | AssertionCallback): void;
30
+ /** @inheritDoc */
31
+ object(value: unknown, opt?: string | DevOpt | AssertionCallback): void;
32
+ /** @inheritDoc */
33
+ bareObject(value: unknown, opt?: string | DevOpt | AssertionCallback): void;
34
+ /** @inheritDoc */
35
+ positiveInteger(value: unknown, opt?: string | DevOpt | AssertionCallback): void;
36
+ /** @inheritDoc */
37
+ safeInteger(value: any, opt?: string | AssertionCallback | DevOpt): void;
38
+ /** @inheritDoc */
39
+ positiveNumber(value: unknown, opt?: string | DevOpt | AssertionCallback): void;
40
+ /** @inheritDoc */
41
+ primitive(value: unknown, opt?: string | DevOpt | AssertionCallback): void;
42
+ /** @inheritDoc */
43
+ string(value: unknown, opt?: string | DevOpt | AssertionCallback): void;
44
+ /** @inheritDoc */
45
+ text(value: unknown, opt?: string | DevOpt | AssertionCallback): void;
46
+ /** @inheritDoc */
47
+ realValue(value: unknown, opt?: string | DevOpt | AssertionCallback): void;
48
+ /** @inheritDoc */
49
+ get $back(): CommonAssertionLike;
50
+ /** @inheritDoc */
51
+ $init(leyyo: LeyyoLike): void;
52
+ /** @inheritDoc */
53
+ get $secure(): CommonAssertionSecure;
54
+ }
@@ -0,0 +1,180 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.CommonAssertion = void 0;
4
+ const internal_1 = require("../internal");
5
+ const to_1 = require("../to");
6
+ // noinspection JSUnusedGlobalSymbols
7
+ /** @inheritDoc */
8
+ class CommonAssertion {
9
+ // endregion properties
10
+ constructor() {
11
+ this._EMPTY = [null, undefined];
12
+ }
13
+ // region internal
14
+ _run(opt) {
15
+ if (typeof opt === 'string') {
16
+ return { issue: opt };
17
+ }
18
+ else if (typeof opt === 'function') {
19
+ try {
20
+ return this._run(opt());
21
+ }
22
+ catch (e) {
23
+ const key = `cv[${Date.now()}]`;
24
+ return {
25
+ [key]: [e.message, e.name]
26
+ };
27
+ }
28
+ }
29
+ else {
30
+ return opt;
31
+ }
32
+ }
33
+ // endregion internal
34
+ // region types
35
+ /** @inheritDoc */
36
+ array(value, opt) {
37
+ if (!Array.isArray(value)) {
38
+ this.dev.invalid(this._run(opt), { issue: 'invalid.array', value, type: typeof value });
39
+ }
40
+ }
41
+ /** @inheritDoc */
42
+ boolean(value, opt) {
43
+ if (typeof value !== 'boolean') {
44
+ this.dev.invalid(this._run(opt), { issue: 'invalid.boolean', value, type: typeof value });
45
+ }
46
+ }
47
+ /** @inheritDoc */
48
+ clazz(value, opt) {
49
+ switch (typeof value) {
50
+ case "function":
51
+ return;
52
+ case "object":
53
+ if (!value) {
54
+ return;
55
+ }
56
+ break;
57
+ case "string":
58
+ if (value.trim() !== '') {
59
+ return;
60
+ }
61
+ break;
62
+ }
63
+ this.dev.invalid(this._run(opt), { issue: 'invalid.class', value, type: typeof value });
64
+ }
65
+ /** @inheritDoc */
66
+ date(value, opt) {
67
+ if (!(value instanceof Date)) {
68
+ this.dev.invalid(this._run(opt), { issue: 'invalid.date', value, type: typeof value });
69
+ }
70
+ }
71
+ /** @inheritDoc */
72
+ func(value, opt) {
73
+ if (typeof value !== 'function') {
74
+ this.dev.invalid(this._run(opt), { issue: 'invalid.function', value, type: typeof value });
75
+ }
76
+ }
77
+ /** @inheritDoc */
78
+ sym(value, opt) {
79
+ if (typeof value !== 'symbol') {
80
+ this.dev.invalid(this._run(opt), { issue: 'invalid.symbol', value, type: typeof value });
81
+ }
82
+ }
83
+ /** @inheritDoc */
84
+ integer(value, opt) {
85
+ if (!Number.isInteger(value)) {
86
+ this.dev.invalid(this._run(opt), { issue: 'invalid.integer', value, type: typeof value });
87
+ }
88
+ }
89
+ /** @inheritDoc */
90
+ key(value, opt) {
91
+ if (!['string', 'number'].includes(typeof value)) {
92
+ this.dev.invalid(this._run(opt), { issue: 'invalid.key', value, type: typeof value });
93
+ }
94
+ }
95
+ /** @inheritDoc */
96
+ notEmpty(value, opt) {
97
+ if (this._EMPTY.includes(value)) {
98
+ this.dev.invalid(this._run(opt), { issue: 'empty', value, type: typeof value });
99
+ }
100
+ }
101
+ /** @inheritDoc */
102
+ number(value, opt) {
103
+ if (typeof value !== 'number') {
104
+ this.dev.invalid(this._run(opt), { issue: 'invalid.number', value, type: typeof value });
105
+ }
106
+ }
107
+ /** @inheritDoc */
108
+ object(value, opt) {
109
+ if (!value || typeof value !== 'object' && !Array.isArray(value)) {
110
+ this.dev.invalid(this._run(opt), { issue: 'invalid.object', value, type: typeof value });
111
+ }
112
+ }
113
+ /** @inheritDoc */
114
+ bareObject(value, opt) {
115
+ if (!value || typeof value !== 'object' && value.constructor !== Object) {
116
+ this.dev.invalid(this._run(opt), { issue: 'invalid.bare.object', value, type: typeof value });
117
+ }
118
+ }
119
+ /** @inheritDoc */
120
+ positiveInteger(value, opt) {
121
+ if (!Number.isInteger(value) || (value <= 0)) {
122
+ this.dev.invalid(this._run(opt), { issue: 'invalid.positive.integer', value, type: typeof value });
123
+ }
124
+ }
125
+ /** @inheritDoc */
126
+ safeInteger(value, opt) {
127
+ if (!Number.isSafeInteger(value)) {
128
+ this.dev.invalid(this._run(opt), { issue: 'invalid.safe.integer', value, type: typeof value });
129
+ }
130
+ }
131
+ /** @inheritDoc */
132
+ positiveNumber(value, opt) {
133
+ if (typeof value !== 'number' || (value <= 0)) {
134
+ this.dev.invalid(this._run(opt), { issue: 'invalid.positive', value, type: typeof value });
135
+ }
136
+ }
137
+ /** @inheritDoc */
138
+ primitive(value, opt) {
139
+ if (!to_1.PrimitiveItems.includes(typeof value)) {
140
+ this.dev.invalid(this._run(opt), { issue: 'invalid.primitive', value, type: typeof value });
141
+ }
142
+ }
143
+ /** @inheritDoc */
144
+ string(value, opt) {
145
+ if (typeof value !== 'string') {
146
+ this.dev.invalid(this._run(opt), { issue: 'invalid.string', value, type: typeof value });
147
+ }
148
+ }
149
+ /** @inheritDoc */
150
+ text(value, opt) {
151
+ if (typeof value !== 'string' || value.trim() === '') {
152
+ this.dev.invalid(this._run(opt), { issue: 'invalid.text', value, type: typeof value });
153
+ }
154
+ }
155
+ /** @inheritDoc */
156
+ realValue(value, opt) {
157
+ if (!to_1.RealValueItems.includes(typeof value)) {
158
+ this.dev.invalid(this._run(opt), { issue: 'invalid.real.value', value, type: typeof value });
159
+ }
160
+ }
161
+ // endregion types
162
+ // region secure
163
+ /** @inheritDoc */
164
+ get $back() {
165
+ return this;
166
+ }
167
+ /** @inheritDoc */
168
+ $init(leyyo) {
169
+ this.dev = leyyo.dev;
170
+ leyyo.$secure.$lazyRun(() => {
171
+ leyyo.fqn.register(null, CommonAssertion, 'class', internal_1.FQN_PCK);
172
+ });
173
+ }
174
+ /** @inheritDoc */
175
+ get $secure() {
176
+ return this;
177
+ }
178
+ }
179
+ exports.CommonAssertion = CommonAssertion;
180
+ //# sourceMappingURL=common-assertion.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"common-assertion.js","sourceRoot":"","sources":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