linearly 0.24.3 → 0.26.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.
- package/lib/cjs/mat2.d.ts +90 -42
- package/lib/cjs/mat2.d.ts.map +1 -1
- package/lib/cjs/mat2.js +94 -46
- package/lib/cjs/mat2d.d.ts +109 -55
- package/lib/cjs/mat2d.d.ts.map +1 -1
- package/lib/cjs/mat2d.js +112 -58
- package/lib/cjs/mat3.d.ts +93 -45
- package/lib/cjs/mat3.d.ts.map +1 -1
- package/lib/cjs/mat3.js +96 -48
- package/lib/cjs/mat4.d.ts +93 -45
- package/lib/cjs/mat4.d.ts.map +1 -1
- package/lib/cjs/mat4.js +96 -48
- package/lib/cjs/quat.d.ts +62 -29
- package/lib/cjs/quat.d.ts.map +1 -1
- package/lib/cjs/quat.js +64 -31
- package/lib/cjs/scalar.d.ts +164 -54
- package/lib/cjs/scalar.d.ts.map +1 -1
- package/lib/cjs/scalar.js +192 -62
- package/lib/cjs/vec2.d.ts +176 -72
- package/lib/cjs/vec2.d.ts.map +1 -1
- package/lib/cjs/vec2.js +208 -105
- package/lib/cjs/vec3.d.ts +183 -82
- package/lib/cjs/vec3.d.ts.map +1 -1
- package/lib/cjs/vec3.js +210 -93
- package/lib/cjs/vec4.d.ts +159 -67
- package/lib/cjs/vec4.d.ts.map +1 -1
- package/lib/cjs/vec4.js +189 -78
- package/lib/esm/mat2.d.ts +90 -42
- package/lib/esm/mat2.d.ts.map +1 -1
- package/lib/esm/mat2.js +94 -46
- package/lib/esm/mat2d.d.ts +109 -55
- package/lib/esm/mat2d.d.ts.map +1 -1
- package/lib/esm/mat2d.js +112 -58
- package/lib/esm/mat3.d.ts +93 -45
- package/lib/esm/mat3.d.ts.map +1 -1
- package/lib/esm/mat3.js +96 -48
- package/lib/esm/mat4.d.ts +93 -45
- package/lib/esm/mat4.d.ts.map +1 -1
- package/lib/esm/mat4.js +96 -48
- package/lib/esm/quat.d.ts +62 -29
- package/lib/esm/quat.d.ts.map +1 -1
- package/lib/esm/quat.js +64 -31
- package/lib/esm/scalar.d.ts +164 -54
- package/lib/esm/scalar.d.ts.map +1 -1
- package/lib/esm/scalar.js +192 -62
- package/lib/esm/vec2.d.ts +176 -72
- package/lib/esm/vec2.d.ts.map +1 -1
- package/lib/esm/vec2.js +208 -105
- package/lib/esm/vec3.d.ts +183 -82
- package/lib/esm/vec3.d.ts.map +1 -1
- package/lib/esm/vec3.js +210 -93
- package/lib/esm/vec4.d.ts +159 -67
- package/lib/esm/vec4.d.ts.map +1 -1
- package/lib/esm/vec4.js +189 -78
- package/package.json +1 -1
package/lib/esm/vec2.d.ts
CHANGED
|
@@ -52,12 +52,36 @@ export declare namespace vec2 {
|
|
|
52
52
|
* Subtracts the given vec2's. When the argument is a single vector, it negates it. Otherwise, it subtracts from left to right.
|
|
53
53
|
*/
|
|
54
54
|
function subtract(...vs: vec2[]): vec2;
|
|
55
|
+
/**
|
|
56
|
+
* Alias for {@link vec2.subtract}
|
|
57
|
+
* @category Shorthands
|
|
58
|
+
*
|
|
59
|
+
* @shorthands
|
|
60
|
+
* - {@link vec2.sub}
|
|
61
|
+
*/
|
|
62
|
+
const sub: typeof subtract;
|
|
55
63
|
/**
|
|
56
64
|
* Subtracts b from a
|
|
57
65
|
*/
|
|
58
66
|
function delta(a: vec2, b: vec2): vec2;
|
|
59
67
|
function multiply(...vs: vec2[]): vec2;
|
|
68
|
+
/**
|
|
69
|
+
* Alias for {@link vec2.multiply}
|
|
70
|
+
* @category Shorthands
|
|
71
|
+
*
|
|
72
|
+
* @shorthands
|
|
73
|
+
* - {@link vec2.mul}
|
|
74
|
+
*/
|
|
75
|
+
const mul: typeof multiply;
|
|
60
76
|
function divide(...vs: vec2[]): vec2;
|
|
77
|
+
/**
|
|
78
|
+
* Alias for {@link vec2.divide}
|
|
79
|
+
* @category Shorthands
|
|
80
|
+
*
|
|
81
|
+
* @shorthands
|
|
82
|
+
* - {@link vec2.div}
|
|
83
|
+
*/
|
|
84
|
+
const div: typeof divide;
|
|
61
85
|
function min(...vs: vec2[]): vec2;
|
|
62
86
|
function max(...vs: vec2[]): vec2;
|
|
63
87
|
/**
|
|
@@ -100,36 +124,92 @@ export declare namespace vec2 {
|
|
|
100
124
|
/**
|
|
101
125
|
* Returns the average value of the input(s)
|
|
102
126
|
* @see https://www.sidefx.com/docs/houdini/vex/functions/avg.html
|
|
127
|
+
*
|
|
128
|
+
* @shorthands
|
|
129
|
+
* - {@link avg}
|
|
103
130
|
*/
|
|
104
131
|
function average(...vs: vec2[]): vec2;
|
|
105
132
|
/**
|
|
133
|
+
* Alias for {@link vec2.average}
|
|
134
|
+
* @category Shorthands
|
|
135
|
+
*/
|
|
136
|
+
const avg: typeof average;
|
|
137
|
+
/**
|
|
106
138
|
Adds given vec2's after scaling the second operand by a scalar value
|
|
107
139
|
*/
|
|
108
140
|
function scaleAndAdd(a: vec2, b: vec2, scale: number): vec2;
|
|
109
141
|
/**
|
|
110
142
|
* Calculates the euclidian distance between two vec2's
|
|
143
|
+
*
|
|
144
|
+
* @shorthands
|
|
145
|
+
* - {@link dist}
|
|
111
146
|
*/
|
|
112
147
|
function distance(a: vec2, b: vec2): number;
|
|
148
|
+
/**
|
|
149
|
+
* Alias for {@link vec2.distance}
|
|
150
|
+
* @category Shorthands
|
|
151
|
+
*/
|
|
152
|
+
const dist: typeof distance;
|
|
113
153
|
/**
|
|
114
154
|
* Calculates the squared euclidian distance between two vec2's
|
|
155
|
+
*
|
|
156
|
+
* @shorthands
|
|
157
|
+
* - {@link sqrDist}
|
|
115
158
|
*/
|
|
116
159
|
function squaredDistance(a: vec2, b: vec2): number;
|
|
160
|
+
/**
|
|
161
|
+
* Alias for {@link vec2.squaredEquals}
|
|
162
|
+
* @category Shorthands
|
|
163
|
+
*/
|
|
164
|
+
const sqrDist: typeof squaredDistance;
|
|
117
165
|
/**
|
|
118
166
|
* Calculates the length of a vec2
|
|
167
|
+
*
|
|
168
|
+
* @shorthands
|
|
169
|
+
* - {@link len}
|
|
119
170
|
*/
|
|
120
171
|
function length(v: vec2): number;
|
|
172
|
+
/**
|
|
173
|
+
* Alias for {@link vec2.length}
|
|
174
|
+
* @category Shorthands
|
|
175
|
+
*/
|
|
176
|
+
const len: typeof length;
|
|
121
177
|
/**
|
|
122
178
|
* Calculates the squared length of a vec2
|
|
179
|
+
*
|
|
180
|
+
* @shorthands
|
|
181
|
+
* - {@link sqrLen}
|
|
123
182
|
*/
|
|
124
183
|
function squaredLength(v: vec2): number;
|
|
184
|
+
/**
|
|
185
|
+
* Alias for {@link vec2.squaredLength}
|
|
186
|
+
* @category Shorthands
|
|
187
|
+
*/
|
|
188
|
+
const sqrLen: typeof squaredLength;
|
|
125
189
|
/**
|
|
126
190
|
* Negates the components of a vec2
|
|
191
|
+
*
|
|
192
|
+
* @shorthands
|
|
193
|
+
* - {@link neg}
|
|
127
194
|
*/
|
|
128
195
|
function negate(v: vec2): vec2;
|
|
196
|
+
/**
|
|
197
|
+
* Alias for {@link vec2.negate}
|
|
198
|
+
* @category Shorthands
|
|
199
|
+
*/
|
|
200
|
+
const neg: typeof negate;
|
|
129
201
|
/**
|
|
130
202
|
* Returns the inverse of the components of a vec2
|
|
203
|
+
*
|
|
204
|
+
* @shorthands
|
|
205
|
+
* - {@link inv}
|
|
131
206
|
*/
|
|
132
207
|
function invert(v: vec2): vec2;
|
|
208
|
+
/**
|
|
209
|
+
* Alias for {@link vec2.invert}
|
|
210
|
+
* @category Shorthands
|
|
211
|
+
*/
|
|
212
|
+
const inv: typeof invert;
|
|
133
213
|
/**
|
|
134
214
|
* Returns the result of `v` subtracted from {@link vec2.one}.
|
|
135
215
|
*/
|
|
@@ -140,14 +220,31 @@ export declare namespace vec2 {
|
|
|
140
220
|
/**
|
|
141
221
|
* Linearly interpolate between two numbers. Same as GLSL's bulit-in `mix` function.
|
|
142
222
|
* @see https://registry.khronos.org/OpenGL-Refpages/gl4/html/mix.xhtml
|
|
223
|
+
*
|
|
224
|
+
* @shorthands
|
|
225
|
+
* - {@link mix}
|
|
143
226
|
*/
|
|
144
227
|
function lerp(a: vec2, b: vec2, t: vec2 | number): vec2;
|
|
228
|
+
/**
|
|
229
|
+
* Alias for {@link vec2.lerp}
|
|
230
|
+
* @see https://registry.khronos.org/OpenGL-Refpages/gl4/html/mix.xhtml
|
|
231
|
+
* @category Shorthands
|
|
232
|
+
*/
|
|
233
|
+
const mix: typeof lerp;
|
|
145
234
|
/**
|
|
146
235
|
* Returns the amount to mix `min` and `max` to generate the input value `t`. This is the inverse of the `lerp` function. If `min` and `max` are equal, the mixing value is `0.5`.
|
|
147
236
|
* @see https://docs.unity3d.com/Packages/com.unity.shadergraph@6.9/manual/Inverse-Lerp-Node.html
|
|
148
237
|
* @see https://www.sidefx.com/docs/houdini/vex/functions/invlerp.html
|
|
238
|
+
*
|
|
239
|
+
* @shorthands
|
|
240
|
+
* - {@link invlerp}
|
|
149
241
|
*/
|
|
150
242
|
function inverseLerp(a: vec2, b: vec2, t: vec2): vec2;
|
|
243
|
+
/**
|
|
244
|
+
* Alias for {@link vec2.inverseLerp}
|
|
245
|
+
* @category Shorthands
|
|
246
|
+
*/
|
|
247
|
+
const invlerp: typeof inverseLerp;
|
|
151
248
|
/**
|
|
152
249
|
* Takes the value in the range `(omin, omax)` and shifts it to the corresponding value in the new range `(nmin, nmax)`. The function clamps the given value the range `(omin, omax)` before fitting, so the resulting value will be guaranteed to be in the range `(nmin, nmax)`. To avoid clamping use efit instead.
|
|
153
250
|
* @see https://www.sidefx.com/docs/houdini/vex/functions/fit.html
|
|
@@ -160,7 +257,7 @@ export declare namespace vec2 {
|
|
|
160
257
|
*/
|
|
161
258
|
function fit(value: vec2, omin: vec2, omax: vec2, nmin: vec2, nmax: vec2): vec2;
|
|
162
259
|
/**
|
|
163
|
-
* Takes the value in the range `(omin, omax)` and shifts it to the corresponding value in the new range `(nmin, nmax)`. Unlike `fit`, this function does not clamp values to the given range.
|
|
260
|
+
* Takes the value in the range `(omin, omax)` and shifts it to the corresponding value in the new range `(nmin, nmax)`. Unlike `fit`, this function does not clamp values to the given range. If `omin` and `omax` are the same, the function returns the average of `nmin` and `nmax`.
|
|
164
261
|
* @see https://www.sidefx.com/docs/houdini/vex/functions/fit.html
|
|
165
262
|
* @param value
|
|
166
263
|
* @param omin
|
|
@@ -187,16 +284,16 @@ export declare namespace vec2 {
|
|
|
187
284
|
function angle(a: vec2, b?: vec2): number;
|
|
188
285
|
/**
|
|
189
286
|
* Creates a vector by given direction and length
|
|
287
|
+
*
|
|
288
|
+
* @shorthands
|
|
289
|
+
* - {@link dir}
|
|
190
290
|
*/
|
|
191
291
|
function direction(deg: number, length?: number): vec2;
|
|
192
292
|
/**
|
|
193
|
-
*
|
|
194
|
-
|
|
195
|
-
function exactEquals(a: vec2, b: vec2): boolean;
|
|
196
|
-
/**
|
|
197
|
-
* Returns whether or not the vectors have approximately the same elements in the same position.
|
|
293
|
+
* Alias for {@link vec2.direction}
|
|
294
|
+
* @category Shorthands
|
|
198
295
|
*/
|
|
199
|
-
|
|
296
|
+
const dir: typeof direction;
|
|
200
297
|
/**
|
|
201
298
|
* Apply a step function by comparing two values
|
|
202
299
|
* @see https://registry.khronos.org/OpenGL-Refpages/gl4/html/step.xhtml
|
|
@@ -214,27 +311,65 @@ export declare namespace vec2 {
|
|
|
214
311
|
* @returns
|
|
215
312
|
*/
|
|
216
313
|
function smoothstep(edge0: vec2, edge1: vec2, x: vec2): number[];
|
|
314
|
+
/**
|
|
315
|
+
* Converts the components of a vec2 from radians to degrees
|
|
316
|
+
* @param rad The input vec2 in radians
|
|
317
|
+
* @returns The degrees equivalent of the input
|
|
318
|
+
*
|
|
319
|
+
* @shorthands
|
|
320
|
+
* - {@link deg}
|
|
321
|
+
*/
|
|
217
322
|
function degrees(rad: vec2): vec2;
|
|
218
323
|
/**
|
|
219
324
|
* Alias for {@link vec2.degrees}
|
|
220
|
-
* @category
|
|
325
|
+
* @category Shorthands
|
|
221
326
|
*/
|
|
222
327
|
const deg: typeof degrees;
|
|
328
|
+
/**
|
|
329
|
+
* Converts the components of a vec2 from degrees to radians
|
|
330
|
+
* @param deg The input vec2 in degrees
|
|
331
|
+
* @returns The radians equivalent of the input
|
|
332
|
+
*
|
|
333
|
+
* @shorthands
|
|
334
|
+
* - {@link rad}
|
|
335
|
+
*/
|
|
223
336
|
function radians(deg: vec2): vec2;
|
|
224
337
|
/**
|
|
225
338
|
* Alias for {@link vec2.radians}
|
|
226
|
-
* @category
|
|
339
|
+
* @category Shorthands
|
|
227
340
|
*/
|
|
228
341
|
const rad: typeof radians;
|
|
342
|
+
/**
|
|
343
|
+
* Returns the sine of a number.
|
|
344
|
+
* @param deg A angle in degrees
|
|
345
|
+
* */
|
|
229
346
|
function sin(deg: vec2): vec2;
|
|
347
|
+
/**
|
|
348
|
+
* Returns the cosine of a number.
|
|
349
|
+
* @param deg A angle in degrees
|
|
350
|
+
* */
|
|
230
351
|
function cos(deg: vec2): vec2;
|
|
352
|
+
/**
|
|
353
|
+
* Returns the tangent of a number.
|
|
354
|
+
* @param deg A angle in degrees
|
|
355
|
+
* */
|
|
231
356
|
function tan(deg: vec2): vec2;
|
|
357
|
+
/**
|
|
358
|
+
* Returns the arcsine of a number.
|
|
359
|
+
* @param v A numeric expression.
|
|
360
|
+
* @returns The arcsine in degrees
|
|
361
|
+
* */
|
|
232
362
|
function asin(v: vec2): vec2;
|
|
363
|
+
/**
|
|
364
|
+
* Returns the arc cosine (or inverse cosine) of a number.
|
|
365
|
+
* @param v A numeric expression.
|
|
366
|
+
* @returns The arc cosine in degrees
|
|
367
|
+
* */
|
|
233
368
|
function acos(v: vec2): vec2;
|
|
234
369
|
/**
|
|
235
370
|
* Returns the arc-tangent of the parameters. If `x` is not provided, `y` is regarded as a value of `y/x`.
|
|
236
371
|
* @see https://thebookofshaders.com/glossary/?search=atan
|
|
237
|
-
*/
|
|
372
|
+
* */
|
|
238
373
|
function atan(y: vec2, x?: vec2): vec2;
|
|
239
374
|
function pow(a: vec2, b: vec2): vec2;
|
|
240
375
|
function exp(v: vec2): vec2;
|
|
@@ -250,83 +385,52 @@ export declare namespace vec2 {
|
|
|
250
385
|
* Returns the inverse of the square root of the parameter
|
|
251
386
|
* @param v the value of which to take the inverse of the square root
|
|
252
387
|
* @see https://thebookofshaders.com/glossary/?search=inversesqrt
|
|
388
|
+
*
|
|
389
|
+
* @shorthands
|
|
390
|
+
* - {@link invsqrt}
|
|
253
391
|
*/
|
|
254
392
|
function inverseSqrt(v: vec2): vec2;
|
|
255
393
|
/**
|
|
256
|
-
*
|
|
257
|
-
* @
|
|
258
|
-
* @param fractionDigits number of digits to appear after the decimal point
|
|
259
|
-
*/
|
|
260
|
-
const toString: (v: vec2, fractionDigits?: number) => string;
|
|
261
|
-
/**
|
|
262
|
-
* Alias for {@link vec2.subtract}
|
|
263
|
-
* @category Aliases
|
|
264
|
-
*/
|
|
265
|
-
const sub: typeof subtract;
|
|
266
|
-
/**
|
|
267
|
-
* Alias for {@link vec2.multiply}
|
|
268
|
-
* @category Aliases
|
|
269
|
-
*/
|
|
270
|
-
const mul: typeof multiply;
|
|
271
|
-
/**
|
|
272
|
-
* Alias for {@link vec2.divide}
|
|
273
|
-
* @category Aliases
|
|
274
|
-
*/
|
|
275
|
-
const div: typeof divide;
|
|
276
|
-
/**
|
|
277
|
-
* Alias for {@link vec2.average}
|
|
278
|
-
* @category Aliases
|
|
279
|
-
*/
|
|
280
|
-
const avg: typeof average;
|
|
281
|
-
/**
|
|
282
|
-
* Alias for {@link vec2.distance}
|
|
283
|
-
* @category Aliases
|
|
284
|
-
*/
|
|
285
|
-
const dist: typeof distance;
|
|
286
|
-
/**
|
|
287
|
-
* Alias for {@link vec2.length}
|
|
288
|
-
* @category Aliases
|
|
289
|
-
*/
|
|
290
|
-
const len: typeof length;
|
|
291
|
-
/**
|
|
292
|
-
* Alias for {@link vec2.squaredEquals}
|
|
293
|
-
* @category Aliases
|
|
394
|
+
* Alias for {@link vec2.inverseSqrt}
|
|
395
|
+
* @category Shorthands
|
|
294
396
|
*/
|
|
295
|
-
const
|
|
397
|
+
const invsqrt: typeof inverseSqrt;
|
|
296
398
|
/**
|
|
297
|
-
*
|
|
298
|
-
*
|
|
399
|
+
* Returns whether or not the vectors exactly have the same elements in the same position (when compared with `===`)
|
|
400
|
+
*
|
|
401
|
+
* @shorthands
|
|
402
|
+
* - {@link eq}
|
|
299
403
|
*/
|
|
300
|
-
|
|
404
|
+
function exactEquals(a: vec2, b: vec2): boolean;
|
|
301
405
|
/**
|
|
302
|
-
* Alias for {@link
|
|
406
|
+
* Alias for {@link exactEquals}
|
|
407
|
+
* @category Shorthands
|
|
303
408
|
*/
|
|
304
|
-
const
|
|
409
|
+
const eq: typeof exactEquals;
|
|
305
410
|
/**
|
|
306
|
-
*
|
|
307
|
-
*
|
|
308
|
-
* @
|
|
411
|
+
* Returns whether or not the vectors have approximately the same elements in the same position.
|
|
412
|
+
*
|
|
413
|
+
* @shorthands
|
|
414
|
+
* - {@link approx}
|
|
415
|
+
* - {@link equals}
|
|
309
416
|
*/
|
|
310
|
-
|
|
417
|
+
function approxEquals(a: vec2, b: vec2): boolean;
|
|
311
418
|
/**
|
|
312
|
-
* Alias for {@link
|
|
313
|
-
* @category
|
|
419
|
+
* Alias for {@link approxEquals}
|
|
420
|
+
* @category Shorthands
|
|
314
421
|
*/
|
|
315
|
-
const
|
|
422
|
+
const approx: typeof approxEquals;
|
|
316
423
|
/**
|
|
317
|
-
* Alias for {@link
|
|
318
|
-
* @category
|
|
424
|
+
* Alias for {@link approxEquals}. This is provided for compatibility with gl-matrix.
|
|
425
|
+
* @category Shorthands
|
|
426
|
+
* @deprecated Use {@link approxEquals} instead
|
|
319
427
|
*/
|
|
320
|
-
const
|
|
428
|
+
const equals: typeof approxEquals;
|
|
321
429
|
/**
|
|
322
|
-
*
|
|
323
|
-
* @
|
|
324
|
-
|
|
325
|
-
const invsqrt: typeof inverseSqrt;
|
|
326
|
-
/**
|
|
327
|
-
* Alias for {@link vec2.invert}
|
|
328
|
-
* @category Aliases
|
|
430
|
+
* Returns the string representation of a vec2
|
|
431
|
+
* @param v vector to represent as a string
|
|
432
|
+
* @param fractionDigits number of digits to appear after the decimal point
|
|
329
433
|
*/
|
|
330
|
-
const
|
|
434
|
+
const toString: (v: vec2, fractionDigits?: number) => string;
|
|
331
435
|
}
|
|
332
436
|
//# sourceMappingURL=vec2.d.ts.map
|
package/lib/esm/vec2.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"vec2.d.ts","sourceRoot":"","sources":["../../src/vec2.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,IAAI,EAAC,MAAM,QAAQ,CAAA;AAC3B,OAAO,EAAC,KAAK,EAAC,MAAM,SAAS,CAAA;AAC7B,OAAO,EAAC,IAAI,EAAC,MAAM,QAAQ,CAAA;AAE3B,OAAO,EAAC,IAAI,EAAC,MAAM,QAAQ,CAAA;AAE3B;;;GAGG;AACH,MAAM,MAAM,IAAI,GAAG,SAAS,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,CAAC,CAAA;AAElD;;GAEG;AACH,yBAAiB,IAAI,CAAC;IACrB;;;OAGG;IACH,KAAY,OAAO,GAAG,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,CAAC,CAAA;IAE5C;;;OAGG;IACH,SAAgB,EAAE,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,GAAE,MAAU,GAAG,IAAI,CAEjD;IAED;;;OAGG;IACH,SAAgB,KAAK,CAAC,CAAC,EAAE,IAAI,GAAG,OAAO,CAEtC;IAED;;OAEG;IACI,MAAM,IAAI,EAAE,IAA4B,CAAA;IAE/C;;OAEG;IACI,MAAM,GAAG,EAAE,IAA4B,CAAA;IAE9C;;;OAGG;IACI,MAAM,KAAK,EAAE,IAA4B,CAAA;IAEhD;;;OAGG;IACI,MAAM,KAAK,EAAE,IAA4B,CAAA;IAEhD;;OAEG;IACH,SAAgB,GAAG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