@nsshunt/stsfhirpg 1.2.22 → 1.2.24

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/dist/index.cjs CHANGED
@@ -99,1309 +99,3218 @@ var FHIRDateUtils = class {
99
99
  }
100
100
  };
101
101
  //#endregion
102
- //#region node_modules/cuint/lib/uint32.js
103
- var require_uint32 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
104
- (function(root) {
105
- UINT32(Math.pow(36, 5)), UINT32(Math.pow(16, 7)), UINT32(Math.pow(10, 9)), UINT32(Math.pow(2, 30));
106
- UINT32(36), UINT32(16), UINT32(10), UINT32(2);
107
- /**
108
- * Represents an unsigned 32 bits integer
109
- * @constructor
110
- * @param {Number|String|Number} low bits | integer as a string | integer as a number
111
- * @param {Number|Number|Undefined} high bits | radix (optional, default=10)
112
- * @return
113
- */
114
- function UINT32(l, h) {
115
- if (!(this instanceof UINT32)) return new UINT32(l, h);
116
- this._low = 0;
117
- this._high = 0;
118
- this.remainder = null;
119
- if (typeof h == "undefined") return fromNumber.call(this, l);
120
- if (typeof l == "string") return fromString.call(this, l, h);
121
- fromBits.call(this, l, h);
122
- }
123
- /**
124
- * Set the current _UINT32_ object with its low and high bits
125
- * @method fromBits
126
- * @param {Number} low bits
127
- * @param {Number} high bits
128
- * @return ThisExpression
129
- */
130
- function fromBits(l, h) {
131
- this._low = l | 0;
132
- this._high = h | 0;
133
- return this;
134
- }
135
- UINT32.prototype.fromBits = fromBits;
136
- /**
137
- * Set the current _UINT32_ object from a number
138
- * @method fromNumber
139
- * @param {Number} number
140
- * @return ThisExpression
141
- */
142
- function fromNumber(value) {
143
- this._low = value & 65535;
144
- this._high = value >>> 16;
145
- return this;
146
- }
147
- UINT32.prototype.fromNumber = fromNumber;
148
- /**
149
- * Set the current _UINT32_ object from a string
150
- * @method fromString
151
- * @param {String} integer as a string
152
- * @param {Number} radix (optional, default=10)
153
- * @return ThisExpression
154
- */
155
- function fromString(s, radix) {
156
- var value = parseInt(s, radix || 10);
157
- this._low = value & 65535;
158
- this._high = value >>> 16;
159
- return this;
160
- }
161
- UINT32.prototype.fromString = fromString;
162
- /**
163
- * Convert this _UINT32_ to a number
164
- * @method toNumber
165
- * @return {Number} the converted UINT32
166
- */
167
- UINT32.prototype.toNumber = function() {
168
- return this._high * 65536 + this._low;
169
- };
170
- /**
171
- * Convert this _UINT32_ to a string
172
- * @method toString
173
- * @param {Number} radix (optional, default=10)
174
- * @return {String} the converted UINT32
175
- */
176
- UINT32.prototype.toString = function(radix) {
177
- return this.toNumber().toString(radix || 10);
178
- };
179
- /**
180
- * Add two _UINT32_. The current _UINT32_ stores the result
181
- * @method add
182
- * @param {Object} other UINT32
183
- * @return ThisExpression
184
- */
185
- UINT32.prototype.add = function(other) {
186
- var a00 = this._low + other._low;
187
- var a16 = a00 >>> 16;
188
- a16 += this._high + other._high;
189
- this._low = a00 & 65535;
190
- this._high = a16 & 65535;
191
- return this;
192
- };
193
- /**
194
- * Subtract two _UINT32_. The current _UINT32_ stores the result
195
- * @method subtract
196
- * @param {Object} other UINT32
197
- * @return ThisExpression
198
- */
199
- UINT32.prototype.subtract = function(other) {
200
- return this.add(other.clone().negate());
201
- };
202
- /**
203
- * Multiply two _UINT32_. The current _UINT32_ stores the result
204
- * @method multiply
205
- * @param {Object} other UINT32
206
- * @return ThisExpression
207
- */
208
- UINT32.prototype.multiply = function(other) {
209
- var a16 = this._high;
210
- var a00 = this._low;
211
- var b16 = other._high;
212
- var b00 = other._low;
213
- var c16, c00 = a00 * b00;
214
- c16 = c00 >>> 16;
215
- c16 += a16 * b00;
216
- c16 &= 65535;
217
- c16 += a00 * b16;
218
- this._low = c00 & 65535;
219
- this._high = c16 & 65535;
220
- return this;
221
- };
222
- /**
223
- * Divide two _UINT32_. The current _UINT32_ stores the result.
224
- * The remainder is made available as the _remainder_ property on
225
- * the _UINT32_ object. It can be null, meaning there are no remainder.
226
- * @method div
227
- * @param {Object} other UINT32
228
- * @return ThisExpression
229
- */
230
- UINT32.prototype.div = function(other) {
231
- if (other._low == 0 && other._high == 0) throw Error("division by zero");
232
- if (other._high == 0 && other._low == 1) {
233
- this.remainder = new UINT32(0);
234
- return this;
235
- }
236
- if (other.gt(this)) {
237
- this.remainder = this.clone();
238
- this._low = 0;
239
- this._high = 0;
240
- return this;
241
- }
242
- if (this.eq(other)) {
243
- this.remainder = new UINT32(0);
244
- this._low = 1;
245
- this._high = 0;
246
- return this;
247
- }
248
- var _other = other.clone();
249
- var i = -1;
250
- while (!this.lt(_other)) {
251
- _other.shiftLeft(1, true);
252
- i++;
253
- }
254
- this.remainder = this.clone();
255
- this._low = 0;
256
- this._high = 0;
257
- for (; i >= 0; i--) {
258
- _other.shiftRight(1);
259
- if (!this.remainder.lt(_other)) {
260
- this.remainder.subtract(_other);
261
- if (i >= 16) this._high |= 1 << i - 16;
262
- else this._low |= 1 << i;
263
- }
264
- }
265
- return this;
266
- };
267
- /**
268
- * Negate the current _UINT32_
269
- * @method negate
270
- * @return ThisExpression
271
- */
272
- UINT32.prototype.negate = function() {
273
- var v = (~this._low & 65535) + 1;
274
- this._low = v & 65535;
275
- this._high = ~this._high + (v >>> 16) & 65535;
276
- return this;
277
- };
278
- /**
279
- * Equals
280
- * @method eq
281
- * @param {Object} other UINT32
282
- * @return {Boolean}
283
- */
284
- UINT32.prototype.equals = UINT32.prototype.eq = function(other) {
285
- return this._low == other._low && this._high == other._high;
286
- };
287
- /**
288
- * Greater than (strict)
289
- * @method gt
290
- * @param {Object} other UINT32
291
- * @return {Boolean}
292
- */
293
- UINT32.prototype.greaterThan = UINT32.prototype.gt = function(other) {
294
- if (this._high > other._high) return true;
295
- if (this._high < other._high) return false;
296
- return this._low > other._low;
297
- };
298
- /**
299
- * Less than (strict)
300
- * @method lt
301
- * @param {Object} other UINT32
302
- * @return {Boolean}
303
- */
304
- UINT32.prototype.lessThan = UINT32.prototype.lt = function(other) {
305
- if (this._high < other._high) return true;
306
- if (this._high > other._high) return false;
307
- return this._low < other._low;
308
- };
309
- /**
310
- * Bitwise OR
311
- * @method or
312
- * @param {Object} other UINT32
313
- * @return ThisExpression
314
- */
315
- UINT32.prototype.or = function(other) {
316
- this._low |= other._low;
317
- this._high |= other._high;
318
- return this;
319
- };
320
- /**
321
- * Bitwise AND
322
- * @method and
323
- * @param {Object} other UINT32
324
- * @return ThisExpression
325
- */
326
- UINT32.prototype.and = function(other) {
327
- this._low &= other._low;
328
- this._high &= other._high;
329
- return this;
330
- };
331
- /**
332
- * Bitwise NOT
333
- * @method not
334
- * @return ThisExpression
335
- */
336
- UINT32.prototype.not = function() {
337
- this._low = ~this._low & 65535;
338
- this._high = ~this._high & 65535;
339
- return this;
340
- };
341
- /**
342
- * Bitwise XOR
343
- * @method xor
344
- * @param {Object} other UINT32
345
- * @return ThisExpression
346
- */
347
- UINT32.prototype.xor = function(other) {
348
- this._low ^= other._low;
349
- this._high ^= other._high;
350
- return this;
351
- };
352
- /**
353
- * Bitwise shift right
354
- * @method shiftRight
355
- * @param {Number} number of bits to shift
356
- * @return ThisExpression
357
- */
358
- UINT32.prototype.shiftRight = UINT32.prototype.shiftr = function(n) {
359
- if (n > 16) {
360
- this._low = this._high >> n - 16;
361
- this._high = 0;
362
- } else if (n == 16) {
363
- this._low = this._high;
364
- this._high = 0;
365
- } else {
366
- this._low = this._low >> n | this._high << 16 - n & 65535;
367
- this._high >>= n;
368
- }
369
- return this;
370
- };
371
- /**
372
- * Bitwise shift left
373
- * @method shiftLeft
374
- * @param {Number} number of bits to shift
375
- * @param {Boolean} allow overflow
376
- * @return ThisExpression
377
- */
378
- UINT32.prototype.shiftLeft = UINT32.prototype.shiftl = function(n, allowOverflow) {
379
- if (n > 16) {
380
- this._high = this._low << n - 16;
381
- this._low = 0;
382
- if (!allowOverflow) this._high &= 65535;
383
- } else if (n == 16) {
384
- this._high = this._low;
385
- this._low = 0;
386
- } else {
387
- this._high = this._high << n | this._low >> 16 - n;
388
- this._low = this._low << n & 65535;
389
- if (!allowOverflow) this._high &= 65535;
390
- }
391
- return this;
392
- };
393
- /**
394
- * Bitwise rotate left
395
- * @method rotl
396
- * @param {Number} number of bits to rotate
397
- * @return ThisExpression
398
- */
399
- UINT32.prototype.rotateLeft = UINT32.prototype.rotl = function(n) {
400
- var v = this._high << 16 | this._low;
401
- v = v << n | v >>> 32 - n;
402
- this._low = v & 65535;
403
- this._high = v >>> 16;
404
- return this;
405
- };
406
- /**
407
- * Bitwise rotate right
408
- * @method rotr
409
- * @param {Number} number of bits to rotate
410
- * @return ThisExpression
411
- */
412
- UINT32.prototype.rotateRight = UINT32.prototype.rotr = function(n) {
413
- var v = this._high << 16 | this._low;
414
- v = v >>> n | v << 32 - n;
415
- this._low = v & 65535;
416
- this._high = v >>> 16;
417
- return this;
418
- };
419
- /**
420
- * Clone the current _UINT32_
421
- * @method clone
422
- * @return {Object} cloned UINT32
423
- */
424
- UINT32.prototype.clone = function() {
425
- return new UINT32(this._low, this._high);
426
- };
427
- if (typeof define != "undefined" && define.amd) define([], function() {
428
- return UINT32;
429
- });
430
- else if (typeof module != "undefined" && module.exports) module.exports = UINT32;
431
- else root["UINT32"] = UINT32;
432
- })(exports);
433
- }));
434
- //#endregion
435
- //#region node_modules/cuint/lib/uint64.js
436
- var require_uint64 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
437
- (function(root) {
438
- var radixPowerCache = {
439
- 16: UINT64(Math.pow(16, 5)),
440
- 10: UINT64(Math.pow(10, 5)),
441
- 2: UINT64(Math.pow(2, 5))
442
- };
443
- var radixCache = {
444
- 16: UINT64(16),
445
- 10: UINT64(10),
446
- 2: UINT64(2)
447
- };
448
- /**
449
- * Represents an unsigned 64 bits integer
450
- * @constructor
451
- * @param {Number} first low bits (8)
452
- * @param {Number} second low bits (8)
453
- * @param {Number} first high bits (8)
454
- * @param {Number} second high bits (8)
455
- * or
456
- * @param {Number} low bits (32)
457
- * @param {Number} high bits (32)
458
- * or
459
- * @param {String|Number} integer as a string | integer as a number
460
- * @param {Number|Undefined} radix (optional, default=10)
461
- * @return
462
- */
463
- function UINT64(a00, a16, a32, a48) {
464
- if (!(this instanceof UINT64)) return new UINT64(a00, a16, a32, a48);
465
- this.remainder = null;
466
- if (typeof a00 == "string") return fromString.call(this, a00, a16);
467
- if (typeof a16 == "undefined") return fromNumber.call(this, a00);
468
- fromBits.apply(this, arguments);
469
- }
470
- /**
471
- * Set the current _UINT64_ object with its low and high bits
472
- * @method fromBits
473
- * @param {Number} first low bits (8)
474
- * @param {Number} second low bits (8)
475
- * @param {Number} first high bits (8)
476
- * @param {Number} second high bits (8)
477
- * or
478
- * @param {Number} low bits (32)
479
- * @param {Number} high bits (32)
480
- * @return ThisExpression
481
- */
482
- function fromBits(a00, a16, a32, a48) {
483
- if (typeof a32 == "undefined") {
484
- this._a00 = a00 & 65535;
485
- this._a16 = a00 >>> 16;
486
- this._a32 = a16 & 65535;
487
- this._a48 = a16 >>> 16;
488
- return this;
489
- }
490
- this._a00 = a00 | 0;
491
- this._a16 = a16 | 0;
492
- this._a32 = a32 | 0;
493
- this._a48 = a48 | 0;
494
- return this;
495
- }
496
- UINT64.prototype.fromBits = fromBits;
497
- /**
498
- * Set the current _UINT64_ object from a number
499
- * @method fromNumber
500
- * @param {Number} number
501
- * @return ThisExpression
502
- */
503
- function fromNumber(value) {
504
- this._a00 = value & 65535;
505
- this._a16 = value >>> 16;
506
- this._a32 = 0;
507
- this._a48 = 0;
508
- return this;
509
- }
510
- UINT64.prototype.fromNumber = fromNumber;
511
- /**
512
- * Set the current _UINT64_ object from a string
513
- * @method fromString
514
- * @param {String} integer as a string
515
- * @param {Number} radix (optional, default=10)
516
- * @return ThisExpression
517
- */
518
- function fromString(s, radix) {
519
- radix = radix || 10;
520
- this._a00 = 0;
521
- this._a16 = 0;
522
- this._a32 = 0;
523
- this._a48 = 0;
524
- var radixUint = radixPowerCache[radix] || new UINT64(Math.pow(radix, 5));
525
- for (var i = 0, len = s.length; i < len; i += 5) {
526
- var size = Math.min(5, len - i);
527
- var value = parseInt(s.slice(i, i + size), radix);
528
- this.multiply(size < 5 ? new UINT64(Math.pow(radix, size)) : radixUint).add(new UINT64(value));
529
- }
530
- return this;
531
- }
532
- UINT64.prototype.fromString = fromString;
533
- /**
534
- * Convert this _UINT64_ to a number (last 32 bits are dropped)
535
- * @method toNumber
536
- * @return {Number} the converted UINT64
537
- */
538
- UINT64.prototype.toNumber = function() {
539
- return this._a16 * 65536 + this._a00;
540
- };
541
- /**
542
- * Convert this _UINT64_ to a string
543
- * @method toString
544
- * @param {Number} radix (optional, default=10)
545
- * @return {String} the converted UINT64
546
- */
547
- UINT64.prototype.toString = function(radix) {
548
- radix = radix || 10;
549
- var radixUint = radixCache[radix] || new UINT64(radix);
550
- if (!this.gt(radixUint)) return this.toNumber().toString(radix);
551
- var self = this.clone();
552
- var res = new Array(64);
553
- for (var i = 63; i >= 0; i--) {
554
- self.div(radixUint);
555
- res[i] = self.remainder.toNumber().toString(radix);
556
- if (!self.gt(radixUint)) break;
557
- }
558
- res[i - 1] = self.toNumber().toString(radix);
559
- return res.join("");
560
- };
561
- /**
562
- * Add two _UINT64_. The current _UINT64_ stores the result
563
- * @method add
564
- * @param {Object} other UINT64
565
- * @return ThisExpression
566
- */
567
- UINT64.prototype.add = function(other) {
568
- var a00 = this._a00 + other._a00;
569
- var a16 = a00 >>> 16;
570
- a16 += this._a16 + other._a16;
571
- var a32 = a16 >>> 16;
572
- a32 += this._a32 + other._a32;
573
- var a48 = a32 >>> 16;
574
- a48 += this._a48 + other._a48;
575
- this._a00 = a00 & 65535;
576
- this._a16 = a16 & 65535;
577
- this._a32 = a32 & 65535;
578
- this._a48 = a48 & 65535;
579
- return this;
580
- };
581
- /**
582
- * Subtract two _UINT64_. The current _UINT64_ stores the result
583
- * @method subtract
584
- * @param {Object} other UINT64
585
- * @return ThisExpression
586
- */
587
- UINT64.prototype.subtract = function(other) {
588
- return this.add(other.clone().negate());
589
- };
590
- /**
591
- * Multiply two _UINT64_. The current _UINT64_ stores the result
592
- * @method multiply
593
- * @param {Object} other UINT64
594
- * @return ThisExpression
595
- */
596
- UINT64.prototype.multiply = function(other) {
597
- var a00 = this._a00;
598
- var a16 = this._a16;
599
- var a32 = this._a32;
600
- var a48 = this._a48;
601
- var b00 = other._a00;
602
- var b16 = other._a16;
603
- var b32 = other._a32;
604
- var b48 = other._a48;
605
- var c00 = a00 * b00;
606
- var c16 = c00 >>> 16;
607
- c16 += a00 * b16;
608
- var c32 = c16 >>> 16;
609
- c16 &= 65535;
610
- c16 += a16 * b00;
611
- c32 += c16 >>> 16;
612
- c32 += a00 * b32;
613
- var c48 = c32 >>> 16;
614
- c32 &= 65535;
615
- c32 += a16 * b16;
616
- c48 += c32 >>> 16;
617
- c32 &= 65535;
618
- c32 += a32 * b00;
619
- c48 += c32 >>> 16;
620
- c48 += a00 * b48;
621
- c48 &= 65535;
622
- c48 += a16 * b32;
623
- c48 &= 65535;
624
- c48 += a32 * b16;
625
- c48 &= 65535;
626
- c48 += a48 * b00;
627
- this._a00 = c00 & 65535;
628
- this._a16 = c16 & 65535;
629
- this._a32 = c32 & 65535;
630
- this._a48 = c48 & 65535;
631
- return this;
632
- };
633
- /**
634
- * Divide two _UINT64_. The current _UINT64_ stores the result.
635
- * The remainder is made available as the _remainder_ property on
636
- * the _UINT64_ object. It can be null, meaning there are no remainder.
637
- * @method div
638
- * @param {Object} other UINT64
639
- * @return ThisExpression
640
- */
641
- UINT64.prototype.div = function(other) {
642
- if (other._a16 == 0 && other._a32 == 0 && other._a48 == 0) {
643
- if (other._a00 == 0) throw Error("division by zero");
644
- if (other._a00 == 1) {
645
- this.remainder = new UINT64(0);
646
- return this;
647
- }
648
- }
649
- if (other.gt(this)) {
650
- this.remainder = this.clone();
651
- this._a00 = 0;
652
- this._a16 = 0;
653
- this._a32 = 0;
654
- this._a48 = 0;
655
- return this;
656
- }
657
- if (this.eq(other)) {
658
- this.remainder = new UINT64(0);
659
- this._a00 = 1;
660
- this._a16 = 0;
661
- this._a32 = 0;
662
- this._a48 = 0;
663
- return this;
664
- }
665
- var _other = other.clone();
666
- var i = -1;
667
- while (!this.lt(_other)) {
668
- _other.shiftLeft(1, true);
669
- i++;
670
- }
671
- this.remainder = this.clone();
672
- this._a00 = 0;
673
- this._a16 = 0;
674
- this._a32 = 0;
675
- this._a48 = 0;
676
- for (; i >= 0; i--) {
677
- _other.shiftRight(1);
678
- if (!this.remainder.lt(_other)) {
679
- this.remainder.subtract(_other);
680
- if (i >= 48) this._a48 |= 1 << i - 48;
681
- else if (i >= 32) this._a32 |= 1 << i - 32;
682
- else if (i >= 16) this._a16 |= 1 << i - 16;
683
- else this._a00 |= 1 << i;
684
- }
685
- }
686
- return this;
687
- };
688
- /**
689
- * Negate the current _UINT64_
690
- * @method negate
691
- * @return ThisExpression
692
- */
693
- UINT64.prototype.negate = function() {
694
- var v = (~this._a00 & 65535) + 1;
695
- this._a00 = v & 65535;
696
- v = (~this._a16 & 65535) + (v >>> 16);
697
- this._a16 = v & 65535;
698
- v = (~this._a32 & 65535) + (v >>> 16);
699
- this._a32 = v & 65535;
700
- this._a48 = ~this._a48 + (v >>> 16) & 65535;
701
- return this;
702
- };
703
- /**
704
-
705
- * @method eq
706
- * @param {Object} other UINT64
707
- * @return {Boolean}
708
- */
709
- UINT64.prototype.equals = UINT64.prototype.eq = function(other) {
710
- return this._a48 == other._a48 && this._a00 == other._a00 && this._a32 == other._a32 && this._a16 == other._a16;
711
- };
712
- /**
713
- * Greater than (strict)
714
- * @method gt
715
- * @param {Object} other UINT64
716
- * @return {Boolean}
717
- */
718
- UINT64.prototype.greaterThan = UINT64.prototype.gt = function(other) {
719
- if (this._a48 > other._a48) return true;
720
- if (this._a48 < other._a48) return false;
721
- if (this._a32 > other._a32) return true;
722
- if (this._a32 < other._a32) return false;
723
- if (this._a16 > other._a16) return true;
724
- if (this._a16 < other._a16) return false;
725
- return this._a00 > other._a00;
726
- };
727
- /**
728
- * Less than (strict)
729
- * @method lt
730
- * @param {Object} other UINT64
731
- * @return {Boolean}
732
- */
733
- UINT64.prototype.lessThan = UINT64.prototype.lt = function(other) {
734
- if (this._a48 < other._a48) return true;
735
- if (this._a48 > other._a48) return false;
736
- if (this._a32 < other._a32) return true;
737
- if (this._a32 > other._a32) return false;
738
- if (this._a16 < other._a16) return true;
739
- if (this._a16 > other._a16) return false;
740
- return this._a00 < other._a00;
741
- };
742
- /**
743
- * Bitwise OR
744
- * @method or
745
- * @param {Object} other UINT64
746
- * @return ThisExpression
747
- */
748
- UINT64.prototype.or = function(other) {
749
- this._a00 |= other._a00;
750
- this._a16 |= other._a16;
751
- this._a32 |= other._a32;
752
- this._a48 |= other._a48;
753
- return this;
754
- };
755
- /**
756
- * Bitwise AND
757
- * @method and
758
- * @param {Object} other UINT64
759
- * @return ThisExpression
760
- */
761
- UINT64.prototype.and = function(other) {
762
- this._a00 &= other._a00;
763
- this._a16 &= other._a16;
764
- this._a32 &= other._a32;
765
- this._a48 &= other._a48;
766
- return this;
767
- };
768
- /**
769
- * Bitwise XOR
770
- * @method xor
771
- * @param {Object} other UINT64
772
- * @return ThisExpression
773
- */
774
- UINT64.prototype.xor = function(other) {
775
- this._a00 ^= other._a00;
776
- this._a16 ^= other._a16;
777
- this._a32 ^= other._a32;
778
- this._a48 ^= other._a48;
779
- return this;
780
- };
781
- /**
782
- * Bitwise NOT
783
- * @method not
784
- * @return ThisExpression
785
- */
786
- UINT64.prototype.not = function() {
787
- this._a00 = ~this._a00 & 65535;
788
- this._a16 = ~this._a16 & 65535;
789
- this._a32 = ~this._a32 & 65535;
790
- this._a48 = ~this._a48 & 65535;
791
- return this;
792
- };
793
- /**
794
- * Bitwise shift right
795
- * @method shiftRight
796
- * @param {Number} number of bits to shift
797
- * @return ThisExpression
798
- */
799
- UINT64.prototype.shiftRight = UINT64.prototype.shiftr = function(n) {
800
- n %= 64;
801
- if (n >= 48) {
802
- this._a00 = this._a48 >> n - 48;
803
- this._a16 = 0;
804
- this._a32 = 0;
805
- this._a48 = 0;
806
- } else if (n >= 32) {
807
- n -= 32;
808
- this._a00 = (this._a32 >> n | this._a48 << 16 - n) & 65535;
809
- this._a16 = this._a48 >> n & 65535;
810
- this._a32 = 0;
811
- this._a48 = 0;
812
- } else if (n >= 16) {
813
- n -= 16;
814
- this._a00 = (this._a16 >> n | this._a32 << 16 - n) & 65535;
815
- this._a16 = (this._a32 >> n | this._a48 << 16 - n) & 65535;
816
- this._a32 = this._a48 >> n & 65535;
817
- this._a48 = 0;
818
- } else {
819
- this._a00 = (this._a00 >> n | this._a16 << 16 - n) & 65535;
820
- this._a16 = (this._a16 >> n | this._a32 << 16 - n) & 65535;
821
- this._a32 = (this._a32 >> n | this._a48 << 16 - n) & 65535;
822
- this._a48 = this._a48 >> n & 65535;
823
- }
824
- return this;
825
- };
826
- /**
827
- * Bitwise shift left
828
- * @method shiftLeft
829
- * @param {Number} number of bits to shift
830
- * @param {Boolean} allow overflow
831
- * @return ThisExpression
832
- */
833
- UINT64.prototype.shiftLeft = UINT64.prototype.shiftl = function(n, allowOverflow) {
834
- n %= 64;
835
- if (n >= 48) {
836
- this._a48 = this._a00 << n - 48;
837
- this._a32 = 0;
838
- this._a16 = 0;
839
- this._a00 = 0;
840
- } else if (n >= 32) {
841
- n -= 32;
842
- this._a48 = this._a16 << n | this._a00 >> 16 - n;
843
- this._a32 = this._a00 << n & 65535;
844
- this._a16 = 0;
845
- this._a00 = 0;
846
- } else if (n >= 16) {
847
- n -= 16;
848
- this._a48 = this._a32 << n | this._a16 >> 16 - n;
849
- this._a32 = (this._a16 << n | this._a00 >> 16 - n) & 65535;
850
- this._a16 = this._a00 << n & 65535;
851
- this._a00 = 0;
852
- } else {
853
- this._a48 = this._a48 << n | this._a32 >> 16 - n;
854
- this._a32 = (this._a32 << n | this._a16 >> 16 - n) & 65535;
855
- this._a16 = (this._a16 << n | this._a00 >> 16 - n) & 65535;
856
- this._a00 = this._a00 << n & 65535;
857
- }
858
- if (!allowOverflow) this._a48 &= 65535;
859
- return this;
860
- };
861
- /**
862
- * Bitwise rotate left
863
- * @method rotl
864
- * @param {Number} number of bits to rotate
865
- * @return ThisExpression
866
- */
867
- UINT64.prototype.rotateLeft = UINT64.prototype.rotl = function(n) {
868
- n %= 64;
869
- if (n == 0) return this;
870
- if (n >= 32) {
871
- var v = this._a00;
872
- this._a00 = this._a32;
873
- this._a32 = v;
874
- v = this._a48;
875
- this._a48 = this._a16;
876
- this._a16 = v;
877
- if (n == 32) return this;
878
- n -= 32;
879
- }
880
- var high = this._a48 << 16 | this._a32;
881
- var low = this._a16 << 16 | this._a00;
882
- var _high = high << n | low >>> 32 - n;
883
- var _low = low << n | high >>> 32 - n;
884
- this._a00 = _low & 65535;
885
- this._a16 = _low >>> 16;
886
- this._a32 = _high & 65535;
887
- this._a48 = _high >>> 16;
888
- return this;
889
- };
890
- /**
891
- * Bitwise rotate right
892
- * @method rotr
893
- * @param {Number} number of bits to rotate
894
- * @return ThisExpression
895
- */
896
- UINT64.prototype.rotateRight = UINT64.prototype.rotr = function(n) {
897
- n %= 64;
898
- if (n == 0) return this;
899
- if (n >= 32) {
900
- var v = this._a00;
901
- this._a00 = this._a32;
902
- this._a32 = v;
903
- v = this._a48;
904
- this._a48 = this._a16;
905
- this._a16 = v;
906
- if (n == 32) return this;
907
- n -= 32;
908
- }
909
- var high = this._a48 << 16 | this._a32;
910
- var low = this._a16 << 16 | this._a00;
911
- var _high = high >>> n | low << 32 - n;
912
- var _low = low >>> n | high << 32 - n;
913
- this._a00 = _low & 65535;
914
- this._a16 = _low >>> 16;
915
- this._a32 = _high & 65535;
916
- this._a48 = _high >>> 16;
917
- return this;
918
- };
919
- /**
920
- * Clone the current _UINT64_
921
- * @method clone
922
- * @return {Object} cloned UINT64
923
- */
924
- UINT64.prototype.clone = function() {
925
- return new UINT64(this._a00, this._a16, this._a32, this._a48);
926
- };
927
- if (typeof define != "undefined" && define.amd) define([], function() {
928
- return UINT64;
929
- });
930
- else if (typeof module != "undefined" && module.exports) module.exports = UINT64;
931
- else root["UINT64"] = UINT64;
932
- })(exports);
933
- }));
934
- //#endregion
935
- //#region node_modules/cuint/index.js
936
- var require_cuint = /* @__PURE__ */ __commonJSMin(((exports) => {
937
- exports.UINT32 = require_uint32();
938
- exports.UINT64 = require_uint64();
939
- }));
940
- //#endregion
941
- //#region node_modules/xxhashjs/lib/xxhash.js
942
- var require_xxhash = /* @__PURE__ */ __commonJSMin(((exports, module) => {
943
- /**
944
- xxHash implementation in pure Javascript
945
-
946
- Copyright (C) 2013, Pierre Curto
947
- MIT license
948
- */
949
- var UINT32 = require_cuint().UINT32;
950
- UINT32.prototype.xxh_update = function(low, high) {
951
- var b00 = PRIME32_2._low;
952
- var b16 = PRIME32_2._high;
953
- var c16, c00 = low * b00;
954
- c16 = c00 >>> 16;
955
- c16 += high * b00;
956
- c16 &= 65535;
957
- c16 += low * b16;
958
- var a00 = this._low + (c00 & 65535);
959
- var a16 = a00 >>> 16;
960
- a16 += this._high + (c16 & 65535);
961
- var v = a16 << 16 | a00 & 65535;
962
- v = v << 13 | v >>> 19;
963
- a00 = v & 65535;
964
- a16 = v >>> 16;
965
- b00 = PRIME32_1._low;
966
- b16 = PRIME32_1._high;
967
- c00 = a00 * b00;
968
- c16 = c00 >>> 16;
969
- c16 += a16 * b00;
970
- c16 &= 65535;
971
- c16 += a00 * b16;
972
- this._low = c00 & 65535;
973
- this._high = c16 & 65535;
974
- };
975
- var PRIME32_1 = UINT32("2654435761");
976
- var PRIME32_2 = UINT32("2246822519");
977
- var PRIME32_3 = UINT32("3266489917");
978
- var PRIME32_4 = UINT32("668265263");
979
- var PRIME32_5 = UINT32("374761393");
980
- /**
981
- * Convert string to proper UTF-8 array
982
- * @param str Input string
983
- * @returns {Uint8Array} UTF8 array is returned as uint8 array
984
- */
985
- function toUTF8Array(str) {
986
- var utf8 = [];
987
- for (var i = 0, n = str.length; i < n; i++) {
988
- var charcode = str.charCodeAt(i);
989
- if (charcode < 128) utf8.push(charcode);
990
- else if (charcode < 2048) utf8.push(192 | charcode >> 6, 128 | charcode & 63);
991
- else if (charcode < 55296 || charcode >= 57344) utf8.push(224 | charcode >> 12, 128 | charcode >> 6 & 63, 128 | charcode & 63);
992
- else {
993
- i++;
994
- charcode = 65536 + ((charcode & 1023) << 10 | str.charCodeAt(i) & 1023);
995
- utf8.push(240 | charcode >> 18, 128 | charcode >> 12 & 63, 128 | charcode >> 6 & 63, 128 | charcode & 63);
102
+ //#region node_modules/xxhash-wasm/esm/xxhash-wasm.js
103
+ var t = new Uint8Array([
104
+ 0,
105
+ 97,
106
+ 115,
107
+ 109,
108
+ 1,
109
+ 0,
110
+ 0,
111
+ 0,
112
+ 1,
113
+ 48,
114
+ 8,
115
+ 96,
116
+ 3,
117
+ 127,
118
+ 127,
119
+ 127,
120
+ 1,
121
+ 127,
122
+ 96,
123
+ 3,
124
+ 127,
125
+ 127,
126
+ 127,
127
+ 0,
128
+ 96,
129
+ 2,
130
+ 127,
131
+ 127,
132
+ 0,
133
+ 96,
134
+ 1,
135
+ 127,
136
+ 1,
137
+ 127,
138
+ 96,
139
+ 3,
140
+ 127,
141
+ 127,
142
+ 126,
143
+ 1,
144
+ 126,
145
+ 96,
146
+ 3,
147
+ 126,
148
+ 127,
149
+ 127,
150
+ 1,
151
+ 126,
152
+ 96,
153
+ 2,
154
+ 127,
155
+ 126,
156
+ 0,
157
+ 96,
158
+ 1,
159
+ 127,
160
+ 1,
161
+ 126,
162
+ 3,
163
+ 11,
164
+ 10,
165
+ 0,
166
+ 0,
167
+ 2,
168
+ 1,
169
+ 3,
170
+ 4,
171
+ 5,
172
+ 6,
173
+ 1,
174
+ 7,
175
+ 5,
176
+ 3,
177
+ 1,
178
+ 0,
179
+ 1,
180
+ 7,
181
+ 85,
182
+ 9,
183
+ 3,
184
+ 109,
185
+ 101,
186
+ 109,
187
+ 2,
188
+ 0,
189
+ 5,
190
+ 120,
191
+ 120,
192
+ 104,
193
+ 51,
194
+ 50,
195
+ 0,
196
+ 0,
197
+ 6,
198
+ 105,
199
+ 110,
200
+ 105,
201
+ 116,
202
+ 51,
203
+ 50,
204
+ 0,
205
+ 2,
206
+ 8,
207
+ 117,
208
+ 112,
209
+ 100,
210
+ 97,
211
+ 116,
212
+ 101,
213
+ 51,
214
+ 50,
215
+ 0,
216
+ 3,
217
+ 8,
218
+ 100,
219
+ 105,
220
+ 103,
221
+ 101,
222
+ 115,
223
+ 116,
224
+ 51,
225
+ 50,
226
+ 0,
227
+ 4,
228
+ 5,
229
+ 120,
230
+ 120,
231
+ 104,
232
+ 54,
233
+ 52,
234
+ 0,
235
+ 5,
236
+ 6,
237
+ 105,
238
+ 110,
239
+ 105,
240
+ 116,
241
+ 54,
242
+ 52,
243
+ 0,
244
+ 7,
245
+ 8,
246
+ 117,
247
+ 112,
248
+ 100,
249
+ 97,
250
+ 116,
251
+ 101,
252
+ 54,
253
+ 52,
254
+ 0,
255
+ 8,
256
+ 8,
257
+ 100,
258
+ 105,
259
+ 103,
260
+ 101,
261
+ 115,
262
+ 116,
263
+ 54,
264
+ 52,
265
+ 0,
266
+ 9,
267
+ 10,
268
+ 251,
269
+ 22,
270
+ 10,
271
+ 242,
272
+ 1,
273
+ 1,
274
+ 4,
275
+ 127,
276
+ 32,
277
+ 0,
278
+ 32,
279
+ 1,
280
+ 106,
281
+ 33,
282
+ 3,
283
+ 32,
284
+ 1,
285
+ 65,
286
+ 16,
287
+ 79,
288
+ 4,
289
+ 127,
290
+ 32,
291
+ 3,
292
+ 65,
293
+ 16,
294
+ 107,
295
+ 33,
296
+ 6,
297
+ 32,
298
+ 2,
299
+ 65,
300
+ 168,
301
+ 136,
302
+ 141,
303
+ 161,
304
+ 2,
305
+ 106,
306
+ 33,
307
+ 3,
308
+ 32,
309
+ 2,
310
+ 65,
311
+ 137,
312
+ 235,
313
+ 208,
314
+ 208,
315
+ 7,
316
+ 107,
317
+ 33,
318
+ 4,
319
+ 32,
320
+ 2,
321
+ 65,
322
+ 207,
323
+ 140,
324
+ 162,
325
+ 142,
326
+ 6,
327
+ 106,
328
+ 33,
329
+ 5,
330
+ 3,
331
+ 64,
332
+ 32,
333
+ 3,
334
+ 32,
335
+ 0,
336
+ 40,
337
+ 2,
338
+ 0,
339
+ 65,
340
+ 247,
341
+ 148,
342
+ 175,
343
+ 175,
344
+ 120,
345
+ 108,
346
+ 106,
347
+ 65,
348
+ 13,
349
+ 119,
350
+ 65,
351
+ 177,
352
+ 243,
353
+ 221,
354
+ 241,
355
+ 121,
356
+ 108,
357
+ 33,
358
+ 3,
359
+ 32,
360
+ 4,
361
+ 32,
362
+ 0,
363
+ 65,
364
+ 4,
365
+ 106,
366
+ 34,
367
+ 0,
368
+ 40,
369
+ 2,
370
+ 0,
371
+ 65,
372
+ 247,
373
+ 148,
374
+ 175,
375
+ 175,
376
+ 120,
377
+ 108,
378
+ 106,
379
+ 65,
380
+ 13,
381
+ 119,
382
+ 65,
383
+ 177,
384
+ 243,
385
+ 221,
386
+ 241,
387
+ 121,
388
+ 108,
389
+ 33,
390
+ 4,
391
+ 32,
392
+ 2,
393
+ 32,
394
+ 0,
395
+ 65,
396
+ 4,
397
+ 106,
398
+ 34,
399
+ 0,
400
+ 40,
401
+ 2,
402
+ 0,
403
+ 65,
404
+ 247,
405
+ 148,
406
+ 175,
407
+ 175,
408
+ 120,
409
+ 108,
410
+ 106,
411
+ 65,
412
+ 13,
413
+ 119,
414
+ 65,
415
+ 177,
416
+ 243,
417
+ 221,
418
+ 241,
419
+ 121,
420
+ 108,
421
+ 33,
422
+ 2,
423
+ 32,
424
+ 5,
425
+ 32,
426
+ 0,
427
+ 65,
428
+ 4,
429
+ 106,
430
+ 34,
431
+ 0,
432
+ 40,
433
+ 2,
434
+ 0,
435
+ 65,
436
+ 247,
437
+ 148,
438
+ 175,
439
+ 175,
440
+ 120,
441
+ 108,
442
+ 106,
443
+ 65,
444
+ 13,
445
+ 119,
446
+ 65,
447
+ 177,
448
+ 243,
449
+ 221,
450
+ 241,
451
+ 121,
452
+ 108,
453
+ 33,
454
+ 5,
455
+ 32,
456
+ 6,
457
+ 32,
458
+ 0,
459
+ 65,
460
+ 4,
461
+ 106,
462
+ 34,
463
+ 0,
464
+ 79,
465
+ 13,
466
+ 0,
467
+ 11,
468
+ 32,
469
+ 2,
470
+ 65,
471
+ 12,
472
+ 119,
473
+ 32,
474
+ 5,
475
+ 65,
476
+ 18,
477
+ 119,
478
+ 106,
479
+ 32,
480
+ 4,
481
+ 65,
482
+ 7,
483
+ 119,
484
+ 106,
485
+ 32,
486
+ 3,
487
+ 65,
488
+ 1,
489
+ 119,
490
+ 106,
491
+ 5,
492
+ 32,
493
+ 2,
494
+ 65,
495
+ 177,
496
+ 207,
497
+ 217,
498
+ 178,
499
+ 1,
500
+ 106,
501
+ 11,
502
+ 32,
503
+ 1,
504
+ 106,
505
+ 32,
506
+ 0,
507
+ 32,
508
+ 1,
509
+ 65,
510
+ 15,
511
+ 113,
512
+ 16,
513
+ 1,
514
+ 11,
515
+ 146,
516
+ 1,
517
+ 0,
518
+ 32,
519
+ 1,
520
+ 32,
521
+ 2,
522
+ 106,
523
+ 33,
524
+ 2,
525
+ 3,
526
+ 64,
527
+ 32,
528
+ 1,
529
+ 65,
530
+ 4,
531
+ 106,
532
+ 32,
533
+ 2,
534
+ 75,
535
+ 69,
536
+ 4,
537
+ 64,
538
+ 32,
539
+ 0,
540
+ 32,
541
+ 1,
542
+ 40,
543
+ 2,
544
+ 0,
545
+ 65,
546
+ 189,
547
+ 220,
548
+ 202,
549
+ 149,
550
+ 124,
551
+ 108,
552
+ 106,
553
+ 65,
554
+ 17,
555
+ 119,
556
+ 65,
557
+ 175,
558
+ 214,
559
+ 211,
560
+ 190,
561
+ 2,
562
+ 108,
563
+ 33,
564
+ 0,
565
+ 32,
566
+ 1,
567
+ 65,
568
+ 4,
569
+ 106,
570
+ 33,
571
+ 1,
572
+ 12,
573
+ 1,
574
+ 11,
575
+ 11,
576
+ 3,
577
+ 64,
578
+ 32,
579
+ 1,
580
+ 32,
581
+ 2,
582
+ 79,
583
+ 69,
584
+ 4,
585
+ 64,
586
+ 32,
587
+ 0,
588
+ 32,
589
+ 1,
590
+ 45,
591
+ 0,
592
+ 0,
593
+ 65,
594
+ 177,
595
+ 207,
596
+ 217,
597
+ 178,
598
+ 1,
599
+ 108,
600
+ 106,
601
+ 65,
602
+ 11,
603
+ 119,
604
+ 65,
605
+ 177,
606
+ 243,
607
+ 221,
608
+ 241,
609
+ 121,
610
+ 108,
611
+ 33,
612
+ 0,
613
+ 32,
614
+ 1,
615
+ 65,
616
+ 1,
617
+ 106,
618
+ 33,
619
+ 1,
620
+ 12,
621
+ 1,
622
+ 11,
623
+ 11,
624
+ 32,
625
+ 0,
626
+ 32,
627
+ 0,
628
+ 65,
629
+ 15,
630
+ 118,
631
+ 115,
632
+ 65,
633
+ 247,
634
+ 148,
635
+ 175,
636
+ 175,
637
+ 120,
638
+ 108,
639
+ 34,
640
+ 0,
641
+ 65,
642
+ 13,
643
+ 118,
644
+ 32,
645
+ 0,
646
+ 115,
647
+ 65,
648
+ 189,
649
+ 220,
650
+ 202,
651
+ 149,
652
+ 124,
653
+ 108,
654
+ 34,
655
+ 0,
656
+ 65,
657
+ 16,
658
+ 118,
659
+ 32,
660
+ 0,
661
+ 115,
662
+ 11,
663
+ 63,
664
+ 0,
665
+ 32,
666
+ 0,
667
+ 65,
668
+ 8,
669
+ 106,
670
+ 32,
671
+ 1,
672
+ 65,
673
+ 168,
674
+ 136,
675
+ 141,
676
+ 161,
677
+ 2,
678
+ 106,
679
+ 54,
680
+ 2,
681
+ 0,
682
+ 32,
683
+ 0,
684
+ 65,
685
+ 12,
686
+ 106,
687
+ 32,
688
+ 1,
689
+ 65,
690
+ 137,
691
+ 235,
692
+ 208,
693
+ 208,
694
+ 7,
695
+ 107,
696
+ 54,
697
+ 2,
698
+ 0,
699
+ 32,
700
+ 0,
701
+ 65,
702
+ 16,
703
+ 106,
704
+ 32,
705
+ 1,
706
+ 54,
707
+ 2,
708
+ 0,
709
+ 32,
710
+ 0,
711
+ 65,
712
+ 20,
713
+ 106,
714
+ 32,
715
+ 1,
716
+ 65,
717
+ 207,
718
+ 140,
719
+ 162,
720
+ 142,
721
+ 6,
722
+ 106,
723
+ 54,
724
+ 2,
725
+ 0,
726
+ 11,
727
+ 195,
728
+ 4,
729
+ 1,
730
+ 6,
731
+ 127,
732
+ 32,
733
+ 1,
734
+ 32,
735
+ 2,
736
+ 106,
737
+ 33,
738
+ 6,
739
+ 32,
740
+ 0,
741
+ 65,
742
+ 24,
743
+ 106,
744
+ 33,
745
+ 4,
746
+ 32,
747
+ 0,
748
+ 65,
749
+ 40,
750
+ 106,
751
+ 40,
752
+ 2,
753
+ 0,
754
+ 33,
755
+ 3,
756
+ 32,
757
+ 0,
758
+ 32,
759
+ 0,
760
+ 40,
761
+ 2,
762
+ 0,
763
+ 32,
764
+ 2,
765
+ 106,
766
+ 54,
767
+ 2,
768
+ 0,
769
+ 32,
770
+ 0,
771
+ 65,
772
+ 4,
773
+ 106,
774
+ 34,
775
+ 5,
776
+ 32,
777
+ 5,
778
+ 40,
779
+ 2,
780
+ 0,
781
+ 32,
782
+ 2,
783
+ 65,
784
+ 16,
785
+ 79,
786
+ 32,
787
+ 0,
788
+ 40,
789
+ 2,
790
+ 0,
791
+ 65,
792
+ 16,
793
+ 79,
794
+ 114,
795
+ 114,
796
+ 54,
797
+ 2,
798
+ 0,
799
+ 32,
800
+ 2,
801
+ 32,
802
+ 3,
803
+ 106,
804
+ 65,
805
+ 16,
806
+ 73,
807
+ 4,
808
+ 64,
809
+ 32,
810
+ 3,
811
+ 32,
812
+ 4,
813
+ 106,
814
+ 32,
815
+ 1,
816
+ 32,
817
+ 2,
818
+ 252,
819
+ 10,
820
+ 0,
821
+ 0,
822
+ 32,
823
+ 0,
824
+ 65,
825
+ 40,
826
+ 106,
827
+ 32,
828
+ 2,
829
+ 32,
830
+ 3,
831
+ 106,
832
+ 54,
833
+ 2,
834
+ 0,
835
+ 15,
836
+ 11,
837
+ 32,
838
+ 3,
839
+ 4,
840
+ 64,
841
+ 32,
842
+ 3,
843
+ 32,
844
+ 4,
845
+ 106,
846
+ 32,
847
+ 1,
848
+ 65,
849
+ 16,
850
+ 32,
851
+ 3,
852
+ 107,
853
+ 34,
854
+ 2,
855
+ 252,
856
+ 10,
857
+ 0,
858
+ 0,
859
+ 32,
860
+ 0,
861
+ 65,
862
+ 8,
863
+ 106,
864
+ 34,
865
+ 3,
866
+ 32,
867
+ 3,
868
+ 40,
869
+ 2,
870
+ 0,
871
+ 32,
872
+ 4,
873
+ 40,
874
+ 2,
875
+ 0,
876
+ 65,
877
+ 247,
878
+ 148,
879
+ 175,
880
+ 175,
881
+ 120,
882
+ 108,
883
+ 106,
884
+ 65,
885
+ 13,
886
+ 119,
887
+ 65,
888
+ 177,
889
+ 243,
890
+ 221,
891
+ 241,
892
+ 121,
893
+ 108,
894
+ 54,
895
+ 2,
896
+ 0,
897
+ 32,
898
+ 0,
899
+ 65,
900
+ 12,
901
+ 106,
902
+ 34,
903
+ 3,
904
+ 32,
905
+ 3,
906
+ 40,
907
+ 2,
908
+ 0,
909
+ 32,
910
+ 4,
911
+ 65,
912
+ 4,
913
+ 106,
914
+ 40,
915
+ 2,
916
+ 0,
917
+ 65,
918
+ 247,
919
+ 148,
920
+ 175,
921
+ 175,
922
+ 120,
923
+ 108,
924
+ 106,
925
+ 65,
926
+ 13,
927
+ 119,
928
+ 65,
929
+ 177,
930
+ 243,
931
+ 221,
932
+ 241,
933
+ 121,
934
+ 108,
935
+ 54,
936
+ 2,
937
+ 0,
938
+ 32,
939
+ 0,
940
+ 65,
941
+ 16,
942
+ 106,
943
+ 34,
944
+ 3,
945
+ 32,
946
+ 3,
947
+ 40,
948
+ 2,
949
+ 0,
950
+ 32,
951
+ 4,
952
+ 65,
953
+ 8,
954
+ 106,
955
+ 40,
956
+ 2,
957
+ 0,
958
+ 65,
959
+ 247,
960
+ 148,
961
+ 175,
962
+ 175,
963
+ 120,
964
+ 108,
965
+ 106,
966
+ 65,
967
+ 13,
968
+ 119,
969
+ 65,
970
+ 177,
971
+ 243,
972
+ 221,
973
+ 241,
974
+ 121,
975
+ 108,
976
+ 54,
977
+ 2,
978
+ 0,
979
+ 32,
980
+ 0,
981
+ 65,
982
+ 20,
983
+ 106,
984
+ 34,
985
+ 3,
986
+ 32,
987
+ 3,
988
+ 40,
989
+ 2,
990
+ 0,
991
+ 32,
992
+ 4,
993
+ 65,
994
+ 12,
995
+ 106,
996
+ 40,
997
+ 2,
998
+ 0,
999
+ 65,
1000
+ 247,
1001
+ 148,
1002
+ 175,
1003
+ 175,
1004
+ 120,
1005
+ 108,
1006
+ 106,
1007
+ 65,
1008
+ 13,
1009
+ 119,
1010
+ 65,
1011
+ 177,
1012
+ 243,
1013
+ 221,
1014
+ 241,
1015
+ 121,
1016
+ 108,
1017
+ 54,
1018
+ 2,
1019
+ 0,
1020
+ 32,
1021
+ 0,
1022
+ 65,
1023
+ 40,
1024
+ 106,
1025
+ 65,
1026
+ 0,
1027
+ 54,
1028
+ 2,
1029
+ 0,
1030
+ 32,
1031
+ 1,
1032
+ 32,
1033
+ 2,
1034
+ 106,
1035
+ 33,
1036
+ 1,
1037
+ 11,
1038
+ 32,
1039
+ 1,
1040
+ 32,
1041
+ 6,
1042
+ 65,
1043
+ 16,
1044
+ 107,
1045
+ 77,
1046
+ 4,
1047
+ 64,
1048
+ 32,
1049
+ 6,
1050
+ 65,
1051
+ 16,
1052
+ 107,
1053
+ 33,
1054
+ 8,
1055
+ 32,
1056
+ 0,
1057
+ 65,
1058
+ 8,
1059
+ 106,
1060
+ 40,
1061
+ 2,
1062
+ 0,
1063
+ 33,
1064
+ 2,
1065
+ 32,
1066
+ 0,
1067
+ 65,
1068
+ 12,
1069
+ 106,
1070
+ 40,
1071
+ 2,
1072
+ 0,
1073
+ 33,
1074
+ 3,
1075
+ 32,
1076
+ 0,
1077
+ 65,
1078
+ 16,
1079
+ 106,
1080
+ 40,
1081
+ 2,
1082
+ 0,
1083
+ 33,
1084
+ 5,
1085
+ 32,
1086
+ 0,
1087
+ 65,
1088
+ 20,
1089
+ 106,
1090
+ 40,
1091
+ 2,
1092
+ 0,
1093
+ 33,
1094
+ 7,
1095
+ 3,
1096
+ 64,
1097
+ 32,
1098
+ 2,
1099
+ 32,
1100
+ 1,
1101
+ 40,
1102
+ 2,
1103
+ 0,
1104
+ 65,
1105
+ 247,
1106
+ 148,
1107
+ 175,
1108
+ 175,
1109
+ 120,
1110
+ 108,
1111
+ 106,
1112
+ 65,
1113
+ 13,
1114
+ 119,
1115
+ 65,
1116
+ 177,
1117
+ 243,
1118
+ 221,
1119
+ 241,
1120
+ 121,
1121
+ 108,
1122
+ 33,
1123
+ 2,
1124
+ 32,
1125
+ 3,
1126
+ 32,
1127
+ 1,
1128
+ 65,
1129
+ 4,
1130
+ 106,
1131
+ 34,
1132
+ 1,
1133
+ 40,
1134
+ 2,
1135
+ 0,
1136
+ 65,
1137
+ 247,
1138
+ 148,
1139
+ 175,
1140
+ 175,
1141
+ 120,
1142
+ 108,
1143
+ 106,
1144
+ 65,
1145
+ 13,
1146
+ 119,
1147
+ 65,
1148
+ 177,
1149
+ 243,
1150
+ 221,
1151
+ 241,
1152
+ 121,
1153
+ 108,
1154
+ 33,
1155
+ 3,
1156
+ 32,
1157
+ 5,
1158
+ 32,
1159
+ 1,
1160
+ 65,
1161
+ 4,
1162
+ 106,
1163
+ 34,
1164
+ 1,
1165
+ 40,
1166
+ 2,
1167
+ 0,
1168
+ 65,
1169
+ 247,
1170
+ 148,
1171
+ 175,
1172
+ 175,
1173
+ 120,
1174
+ 108,
1175
+ 106,
1176
+ 65,
1177
+ 13,
1178
+ 119,
1179
+ 65,
1180
+ 177,
1181
+ 243,
1182
+ 221,
1183
+ 241,
1184
+ 121,
1185
+ 108,
1186
+ 33,
1187
+ 5,
1188
+ 32,
1189
+ 7,
1190
+ 32,
1191
+ 1,
1192
+ 65,
1193
+ 4,
1194
+ 106,
1195
+ 34,
1196
+ 1,
1197
+ 40,
1198
+ 2,
1199
+ 0,
1200
+ 65,
1201
+ 247,
1202
+ 148,
1203
+ 175,
1204
+ 175,
1205
+ 120,
1206
+ 108,
1207
+ 106,
1208
+ 65,
1209
+ 13,
1210
+ 119,
1211
+ 65,
1212
+ 177,
1213
+ 243,
1214
+ 221,
1215
+ 241,
1216
+ 121,
1217
+ 108,
1218
+ 33,
1219
+ 7,
1220
+ 32,
1221
+ 8,
1222
+ 32,
1223
+ 1,
1224
+ 65,
1225
+ 4,
1226
+ 106,
1227
+ 34,
1228
+ 1,
1229
+ 79,
1230
+ 13,
1231
+ 0,
1232
+ 11,
1233
+ 32,
1234
+ 0,
1235
+ 65,
1236
+ 8,
1237
+ 106,
1238
+ 32,
1239
+ 2,
1240
+ 54,
1241
+ 2,
1242
+ 0,
1243
+ 32,
1244
+ 0,
1245
+ 65,
1246
+ 12,
1247
+ 106,
1248
+ 32,
1249
+ 3,
1250
+ 54,
1251
+ 2,
1252
+ 0,
1253
+ 32,
1254
+ 0,
1255
+ 65,
1256
+ 16,
1257
+ 106,
1258
+ 32,
1259
+ 5,
1260
+ 54,
1261
+ 2,
1262
+ 0,
1263
+ 32,
1264
+ 0,
1265
+ 65,
1266
+ 20,
1267
+ 106,
1268
+ 32,
1269
+ 7,
1270
+ 54,
1271
+ 2,
1272
+ 0,
1273
+ 11,
1274
+ 32,
1275
+ 1,
1276
+ 32,
1277
+ 6,
1278
+ 73,
1279
+ 4,
1280
+ 64,
1281
+ 32,
1282
+ 4,
1283
+ 32,
1284
+ 1,
1285
+ 32,
1286
+ 6,
1287
+ 32,
1288
+ 1,
1289
+ 107,
1290
+ 34,
1291
+ 1,
1292
+ 252,
1293
+ 10,
1294
+ 0,
1295
+ 0,
1296
+ 32,
1297
+ 0,
1298
+ 65,
1299
+ 40,
1300
+ 106,
1301
+ 32,
1302
+ 1,
1303
+ 54,
1304
+ 2,
1305
+ 0,
1306
+ 11,
1307
+ 11,
1308
+ 97,
1309
+ 1,
1310
+ 1,
1311
+ 127,
1312
+ 32,
1313
+ 0,
1314
+ 65,
1315
+ 16,
1316
+ 106,
1317
+ 40,
1318
+ 2,
1319
+ 0,
1320
+ 33,
1321
+ 1,
1322
+ 32,
1323
+ 0,
1324
+ 65,
1325
+ 4,
1326
+ 106,
1327
+ 40,
1328
+ 2,
1329
+ 0,
1330
+ 4,
1331
+ 127,
1332
+ 32,
1333
+ 1,
1334
+ 65,
1335
+ 12,
1336
+ 119,
1337
+ 32,
1338
+ 0,
1339
+ 65,
1340
+ 20,
1341
+ 106,
1342
+ 40,
1343
+ 2,
1344
+ 0,
1345
+ 65,
1346
+ 18,
1347
+ 119,
1348
+ 106,
1349
+ 32,
1350
+ 0,
1351
+ 65,
1352
+ 12,
1353
+ 106,
1354
+ 40,
1355
+ 2,
1356
+ 0,
1357
+ 65,
1358
+ 7,
1359
+ 119,
1360
+ 106,
1361
+ 32,
1362
+ 0,
1363
+ 65,
1364
+ 8,
1365
+ 106,
1366
+ 40,
1367
+ 2,
1368
+ 0,
1369
+ 65,
1370
+ 1,
1371
+ 119,
1372
+ 106,
1373
+ 5,
1374
+ 32,
1375
+ 1,
1376
+ 65,
1377
+ 177,
1378
+ 207,
1379
+ 217,
1380
+ 178,
1381
+ 1,
1382
+ 106,
1383
+ 11,
1384
+ 32,
1385
+ 0,
1386
+ 40,
1387
+ 2,
1388
+ 0,
1389
+ 106,
1390
+ 32,
1391
+ 0,
1392
+ 65,
1393
+ 24,
1394
+ 106,
1395
+ 32,
1396
+ 0,
1397
+ 65,
1398
+ 40,
1399
+ 106,
1400
+ 40,
1401
+ 2,
1402
+ 0,
1403
+ 16,
1404
+ 1,
1405
+ 11,
1406
+ 255,
1407
+ 3,
1408
+ 2,
1409
+ 3,
1410
+ 126,
1411
+ 1,
1412
+ 127,
1413
+ 32,
1414
+ 0,
1415
+ 32,
1416
+ 1,
1417
+ 106,
1418
+ 33,
1419
+ 6,
1420
+ 32,
1421
+ 1,
1422
+ 65,
1423
+ 32,
1424
+ 79,
1425
+ 4,
1426
+ 126,
1427
+ 32,
1428
+ 6,
1429
+ 65,
1430
+ 32,
1431
+ 107,
1432
+ 33,
1433
+ 6,
1434
+ 32,
1435
+ 2,
1436
+ 66,
1437
+ 214,
1438
+ 235,
1439
+ 130,
1440
+ 238,
1441
+ 234,
1442
+ 253,
1443
+ 137,
1444
+ 245,
1445
+ 224,
1446
+ 0,
1447
+ 124,
1448
+ 33,
1449
+ 3,
1450
+ 32,
1451
+ 2,
1452
+ 66,
1453
+ 177,
1454
+ 169,
1455
+ 172,
1456
+ 193,
1457
+ 173,
1458
+ 184,
1459
+ 212,
1460
+ 166,
1461
+ 61,
1462
+ 125,
1463
+ 33,
1464
+ 4,
1465
+ 32,
1466
+ 2,
1467
+ 66,
1468
+ 249,
1469
+ 234,
1470
+ 208,
1471
+ 208,
1472
+ 231,
1473
+ 201,
1474
+ 161,
1475
+ 228,
1476
+ 225,
1477
+ 0,
1478
+ 124,
1479
+ 33,
1480
+ 5,
1481
+ 3,
1482
+ 64,
1483
+ 32,
1484
+ 3,
1485
+ 32,
1486
+ 0,
1487
+ 41,
1488
+ 3,
1489
+ 0,
1490
+ 66,
1491
+ 207,
1492
+ 214,
1493
+ 211,
1494
+ 190,
1495
+ 210,
1496
+ 199,
1497
+ 171,
1498
+ 217,
1499
+ 66,
1500
+ 126,
1501
+ 124,
1502
+ 66,
1503
+ 31,
1504
+ 137,
1505
+ 66,
1506
+ 135,
1507
+ 149,
1508
+ 175,
1509
+ 175,
1510
+ 152,
1511
+ 182,
1512
+ 222,
1513
+ 155,
1514
+ 158,
1515
+ 127,
1516
+ 126,
1517
+ 33,
1518
+ 3,
1519
+ 32,
1520
+ 4,
1521
+ 32,
1522
+ 0,
1523
+ 65,
1524
+ 8,
1525
+ 106,
1526
+ 34,
1527
+ 0,
1528
+ 41,
1529
+ 3,
1530
+ 0,
1531
+ 66,
1532
+ 207,
1533
+ 214,
1534
+ 211,
1535
+ 190,
1536
+ 210,
1537
+ 199,
1538
+ 171,
1539
+ 217,
1540
+ 66,
1541
+ 126,
1542
+ 124,
1543
+ 66,
1544
+ 31,
1545
+ 137,
1546
+ 66,
1547
+ 135,
1548
+ 149,
1549
+ 175,
1550
+ 175,
1551
+ 152,
1552
+ 182,
1553
+ 222,
1554
+ 155,
1555
+ 158,
1556
+ 127,
1557
+ 126,
1558
+ 33,
1559
+ 4,
1560
+ 32,
1561
+ 2,
1562
+ 32,
1563
+ 0,
1564
+ 65,
1565
+ 8,
1566
+ 106,
1567
+ 34,
1568
+ 0,
1569
+ 41,
1570
+ 3,
1571
+ 0,
1572
+ 66,
1573
+ 207,
1574
+ 214,
1575
+ 211,
1576
+ 190,
1577
+ 210,
1578
+ 199,
1579
+ 171,
1580
+ 217,
1581
+ 66,
1582
+ 126,
1583
+ 124,
1584
+ 66,
1585
+ 31,
1586
+ 137,
1587
+ 66,
1588
+ 135,
1589
+ 149,
1590
+ 175,
1591
+ 175,
1592
+ 152,
1593
+ 182,
1594
+ 222,
1595
+ 155,
1596
+ 158,
1597
+ 127,
1598
+ 126,
1599
+ 33,
1600
+ 2,
1601
+ 32,
1602
+ 5,
1603
+ 32,
1604
+ 0,
1605
+ 65,
1606
+ 8,
1607
+ 106,
1608
+ 34,
1609
+ 0,
1610
+ 41,
1611
+ 3,
1612
+ 0,
1613
+ 66,
1614
+ 207,
1615
+ 214,
1616
+ 211,
1617
+ 190,
1618
+ 210,
1619
+ 199,
1620
+ 171,
1621
+ 217,
1622
+ 66,
1623
+ 126,
1624
+ 124,
1625
+ 66,
1626
+ 31,
1627
+ 137,
1628
+ 66,
1629
+ 135,
1630
+ 149,
1631
+ 175,
1632
+ 175,
1633
+ 152,
1634
+ 182,
1635
+ 222,
1636
+ 155,
1637
+ 158,
1638
+ 127,
1639
+ 126,
1640
+ 33,
1641
+ 5,
1642
+ 32,
1643
+ 6,
1644
+ 32,
1645
+ 0,
1646
+ 65,
1647
+ 8,
1648
+ 106,
1649
+ 34,
1650
+ 0,
1651
+ 79,
1652
+ 13,
1653
+ 0,
1654
+ 11,
1655
+ 32,
1656
+ 2,
1657
+ 66,
1658
+ 12,
1659
+ 137,
1660
+ 32,
1661
+ 5,
1662
+ 66,
1663
+ 18,
1664
+ 137,
1665
+ 124,
1666
+ 32,
1667
+ 4,
1668
+ 66,
1669
+ 7,
1670
+ 137,
1671
+ 124,
1672
+ 32,
1673
+ 3,
1674
+ 66,
1675
+ 1,
1676
+ 137,
1677
+ 124,
1678
+ 32,
1679
+ 3,
1680
+ 66,
1681
+ 207,
1682
+ 214,
1683
+ 211,
1684
+ 190,
1685
+ 210,
1686
+ 199,
1687
+ 171,
1688
+ 217,
1689
+ 66,
1690
+ 126,
1691
+ 66,
1692
+ 31,
1693
+ 137,
1694
+ 66,
1695
+ 135,
1696
+ 149,
1697
+ 175,
1698
+ 175,
1699
+ 152,
1700
+ 182,
1701
+ 222,
1702
+ 155,
1703
+ 158,
1704
+ 127,
1705
+ 126,
1706
+ 133,
1707
+ 66,
1708
+ 135,
1709
+ 149,
1710
+ 175,
1711
+ 175,
1712
+ 152,
1713
+ 182,
1714
+ 222,
1715
+ 155,
1716
+ 158,
1717
+ 127,
1718
+ 126,
1719
+ 66,
1720
+ 157,
1721
+ 163,
1722
+ 181,
1723
+ 234,
1724
+ 131,
1725
+ 177,
1726
+ 141,
1727
+ 138,
1728
+ 250,
1729
+ 0,
1730
+ 125,
1731
+ 32,
1732
+ 4,
1733
+ 66,
1734
+ 207,
1735
+ 214,
1736
+ 211,
1737
+ 190,
1738
+ 210,
1739
+ 199,
1740
+ 171,
1741
+ 217,
1742
+ 66,
1743
+ 126,
1744
+ 66,
1745
+ 31,
1746
+ 137,
1747
+ 66,
1748
+ 135,
1749
+ 149,
1750
+ 175,
1751
+ 175,
1752
+ 152,
1753
+ 182,
1754
+ 222,
1755
+ 155,
1756
+ 158,
1757
+ 127,
1758
+ 126,
1759
+ 133,
1760
+ 66,
1761
+ 135,
1762
+ 149,
1763
+ 175,
1764
+ 175,
1765
+ 152,
1766
+ 182,
1767
+ 222,
1768
+ 155,
1769
+ 158,
1770
+ 127,
1771
+ 126,
1772
+ 66,
1773
+ 157,
1774
+ 163,
1775
+ 181,
1776
+ 234,
1777
+ 131,
1778
+ 177,
1779
+ 141,
1780
+ 138,
1781
+ 250,
1782
+ 0,
1783
+ 125,
1784
+ 32,
1785
+ 2,
1786
+ 66,
1787
+ 207,
1788
+ 214,
1789
+ 211,
1790
+ 190,
1791
+ 210,
1792
+ 199,
1793
+ 171,
1794
+ 217,
1795
+ 66,
1796
+ 126,
1797
+ 66,
1798
+ 31,
1799
+ 137,
1800
+ 66,
1801
+ 135,
1802
+ 149,
1803
+ 175,
1804
+ 175,
1805
+ 152,
1806
+ 182,
1807
+ 222,
1808
+ 155,
1809
+ 158,
1810
+ 127,
1811
+ 126,
1812
+ 133,
1813
+ 66,
1814
+ 135,
1815
+ 149,
1816
+ 175,
1817
+ 175,
1818
+ 152,
1819
+ 182,
1820
+ 222,
1821
+ 155,
1822
+ 158,
1823
+ 127,
1824
+ 126,
1825
+ 66,
1826
+ 157,
1827
+ 163,
1828
+ 181,
1829
+ 234,
1830
+ 131,
1831
+ 177,
1832
+ 141,
1833
+ 138,
1834
+ 250,
1835
+ 0,
1836
+ 125,
1837
+ 32,
1838
+ 5,
1839
+ 66,
1840
+ 207,
1841
+ 214,
1842
+ 211,
1843
+ 190,
1844
+ 210,
1845
+ 199,
1846
+ 171,
1847
+ 217,
1848
+ 66,
1849
+ 126,
1850
+ 66,
1851
+ 31,
1852
+ 137,
1853
+ 66,
1854
+ 135,
1855
+ 149,
1856
+ 175,
1857
+ 175,
1858
+ 152,
1859
+ 182,
1860
+ 222,
1861
+ 155,
1862
+ 158,
1863
+ 127,
1864
+ 126,
1865
+ 133,
1866
+ 66,
1867
+ 135,
1868
+ 149,
1869
+ 175,
1870
+ 175,
1871
+ 152,
1872
+ 182,
1873
+ 222,
1874
+ 155,
1875
+ 158,
1876
+ 127,
1877
+ 126,
1878
+ 66,
1879
+ 157,
1880
+ 163,
1881
+ 181,
1882
+ 234,
1883
+ 131,
1884
+ 177,
1885
+ 141,
1886
+ 138,
1887
+ 250,
1888
+ 0,
1889
+ 125,
1890
+ 5,
1891
+ 32,
1892
+ 2,
1893
+ 66,
1894
+ 197,
1895
+ 207,
1896
+ 217,
1897
+ 178,
1898
+ 241,
1899
+ 229,
1900
+ 186,
1901
+ 234,
1902
+ 39,
1903
+ 124,
1904
+ 11,
1905
+ 32,
1906
+ 1,
1907
+ 173,
1908
+ 124,
1909
+ 32,
1910
+ 0,
1911
+ 32,
1912
+ 1,
1913
+ 65,
1914
+ 31,
1915
+ 113,
1916
+ 16,
1917
+ 6,
1918
+ 11,
1919
+ 134,
1920
+ 2,
1921
+ 0,
1922
+ 32,
1923
+ 1,
1924
+ 32,
1925
+ 2,
1926
+ 106,
1927
+ 33,
1928
+ 2,
1929
+ 3,
1930
+ 64,
1931
+ 32,
1932
+ 2,
1933
+ 32,
1934
+ 1,
1935
+ 65,
1936
+ 8,
1937
+ 106,
1938
+ 79,
1939
+ 4,
1940
+ 64,
1941
+ 32,
1942
+ 1,
1943
+ 41,
1944
+ 3,
1945
+ 0,
1946
+ 66,
1947
+ 207,
1948
+ 214,
1949
+ 211,
1950
+ 190,
1951
+ 210,
1952
+ 199,
1953
+ 171,
1954
+ 217,
1955
+ 66,
1956
+ 126,
1957
+ 66,
1958
+ 31,
1959
+ 137,
1960
+ 66,
1961
+ 135,
1962
+ 149,
1963
+ 175,
1964
+ 175,
1965
+ 152,
1966
+ 182,
1967
+ 222,
1968
+ 155,
1969
+ 158,
1970
+ 127,
1971
+ 126,
1972
+ 32,
1973
+ 0,
1974
+ 133,
1975
+ 66,
1976
+ 27,
1977
+ 137,
1978
+ 66,
1979
+ 135,
1980
+ 149,
1981
+ 175,
1982
+ 175,
1983
+ 152,
1984
+ 182,
1985
+ 222,
1986
+ 155,
1987
+ 158,
1988
+ 127,
1989
+ 126,
1990
+ 66,
1991
+ 157,
1992
+ 163,
1993
+ 181,
1994
+ 234,
1995
+ 131,
1996
+ 177,
1997
+ 141,
1998
+ 138,
1999
+ 250,
2000
+ 0,
2001
+ 125,
2002
+ 33,
2003
+ 0,
2004
+ 32,
2005
+ 1,
2006
+ 65,
2007
+ 8,
2008
+ 106,
2009
+ 33,
2010
+ 1,
2011
+ 12,
2012
+ 1,
2013
+ 11,
2014
+ 11,
2015
+ 32,
2016
+ 1,
2017
+ 65,
2018
+ 4,
2019
+ 106,
2020
+ 32,
2021
+ 2,
2022
+ 77,
2023
+ 4,
2024
+ 64,
2025
+ 32,
2026
+ 0,
2027
+ 32,
2028
+ 1,
2029
+ 53,
2030
+ 2,
2031
+ 0,
2032
+ 66,
2033
+ 135,
2034
+ 149,
2035
+ 175,
2036
+ 175,
2037
+ 152,
2038
+ 182,
2039
+ 222,
2040
+ 155,
2041
+ 158,
2042
+ 127,
2043
+ 126,
2044
+ 133,
2045
+ 66,
2046
+ 23,
2047
+ 137,
2048
+ 66,
2049
+ 207,
2050
+ 214,
2051
+ 211,
2052
+ 190,
2053
+ 210,
2054
+ 199,
2055
+ 171,
2056
+ 217,
2057
+ 66,
2058
+ 126,
2059
+ 66,
2060
+ 249,
2061
+ 243,
2062
+ 221,
2063
+ 241,
2064
+ 153,
2065
+ 246,
2066
+ 153,
2067
+ 171,
2068
+ 22,
2069
+ 124,
2070
+ 33,
2071
+ 0,
2072
+ 32,
2073
+ 1,
2074
+ 65,
2075
+ 4,
2076
+ 106,
2077
+ 33,
2078
+ 1,
2079
+ 11,
2080
+ 3,
2081
+ 64,
2082
+ 32,
2083
+ 1,
2084
+ 32,
2085
+ 2,
2086
+ 73,
2087
+ 4,
2088
+ 64,
2089
+ 32,
2090
+ 0,
2091
+ 32,
2092
+ 1,
2093
+ 49,
2094
+ 0,
2095
+ 0,
2096
+ 66,
2097
+ 197,
2098
+ 207,
2099
+ 217,
2100
+ 178,
2101
+ 241,
2102
+ 229,
2103
+ 186,
2104
+ 234,
2105
+ 39,
2106
+ 126,
2107
+ 133,
2108
+ 66,
2109
+ 11,
2110
+ 137,
2111
+ 66,
2112
+ 135,
2113
+ 149,
2114
+ 175,
2115
+ 175,
2116
+ 152,
2117
+ 182,
2118
+ 222,
2119
+ 155,
2120
+ 158,
2121
+ 127,
2122
+ 126,
2123
+ 33,
2124
+ 0,
2125
+ 32,
2126
+ 1,
2127
+ 65,
2128
+ 1,
2129
+ 106,
2130
+ 33,
2131
+ 1,
2132
+ 12,
2133
+ 1,
2134
+ 11,
2135
+ 11,
2136
+ 32,
2137
+ 0,
2138
+ 32,
2139
+ 0,
2140
+ 66,
2141
+ 33,
2142
+ 136,
2143
+ 133,
2144
+ 66,
2145
+ 207,
2146
+ 214,
2147
+ 211,
2148
+ 190,
2149
+ 210,
2150
+ 199,
2151
+ 171,
2152
+ 217,
2153
+ 66,
2154
+ 126,
2155
+ 34,
2156
+ 0,
2157
+ 32,
2158
+ 0,
2159
+ 66,
2160
+ 29,
2161
+ 136,
2162
+ 133,
2163
+ 66,
2164
+ 249,
2165
+ 243,
2166
+ 221,
2167
+ 241,
2168
+ 153,
2169
+ 246,
2170
+ 153,
2171
+ 171,
2172
+ 22,
2173
+ 126,
2174
+ 34,
2175
+ 0,
2176
+ 32,
2177
+ 0,
2178
+ 66,
2179
+ 32,
2180
+ 136,
2181
+ 133,
2182
+ 11,
2183
+ 77,
2184
+ 0,
2185
+ 32,
2186
+ 0,
2187
+ 65,
2188
+ 8,
2189
+ 106,
2190
+ 32,
2191
+ 1,
2192
+ 66,
2193
+ 214,
2194
+ 235,
2195
+ 130,
2196
+ 238,
2197
+ 234,
2198
+ 253,
2199
+ 137,
2200
+ 245,
2201
+ 224,
2202
+ 0,
2203
+ 124,
2204
+ 55,
2205
+ 3,
2206
+ 0,
2207
+ 32,
2208
+ 0,
2209
+ 65,
2210
+ 16,
2211
+ 106,
2212
+ 32,
2213
+ 1,
2214
+ 66,
2215
+ 177,
2216
+ 169,
2217
+ 172,
2218
+ 193,
2219
+ 173,
2220
+ 184,
2221
+ 212,
2222
+ 166,
2223
+ 61,
2224
+ 125,
2225
+ 55,
2226
+ 3,
2227
+ 0,
2228
+ 32,
2229
+ 0,
2230
+ 65,
2231
+ 24,
2232
+ 106,
2233
+ 32,
2234
+ 1,
2235
+ 55,
2236
+ 3,
2237
+ 0,
2238
+ 32,
2239
+ 0,
2240
+ 65,
2241
+ 32,
2242
+ 106,
2243
+ 32,
2244
+ 1,
2245
+ 66,
2246
+ 249,
2247
+ 234,
2248
+ 208,
2249
+ 208,
2250
+ 231,
2251
+ 201,
2252
+ 161,
2253
+ 228,
2254
+ 225,
2255
+ 0,
2256
+ 124,
2257
+ 55,
2258
+ 3,
2259
+ 0,
2260
+ 11,
2261
+ 244,
2262
+ 4,
2263
+ 2,
2264
+ 3,
2265
+ 127,
2266
+ 4,
2267
+ 126,
2268
+ 32,
2269
+ 1,
2270
+ 32,
2271
+ 2,
2272
+ 106,
2273
+ 33,
2274
+ 5,
2275
+ 32,
2276
+ 0,
2277
+ 65,
2278
+ 40,
2279
+ 106,
2280
+ 33,
2281
+ 4,
2282
+ 32,
2283
+ 0,
2284
+ 65,
2285
+ 200,
2286
+ 0,
2287
+ 106,
2288
+ 40,
2289
+ 2,
2290
+ 0,
2291
+ 33,
2292
+ 3,
2293
+ 32,
2294
+ 0,
2295
+ 32,
2296
+ 0,
2297
+ 41,
2298
+ 3,
2299
+ 0,
2300
+ 32,
2301
+ 2,
2302
+ 173,
2303
+ 124,
2304
+ 55,
2305
+ 3,
2306
+ 0,
2307
+ 32,
2308
+ 2,
2309
+ 32,
2310
+ 3,
2311
+ 106,
2312
+ 65,
2313
+ 32,
2314
+ 73,
2315
+ 4,
2316
+ 64,
2317
+ 32,
2318
+ 3,
2319
+ 32,
2320
+ 4,
2321
+ 106,
2322
+ 32,
2323
+ 1,
2324
+ 32,
2325
+ 2,
2326
+ 252,
2327
+ 10,
2328
+ 0,
2329
+ 0,
2330
+ 32,
2331
+ 0,
2332
+ 65,
2333
+ 200,
2334
+ 0,
2335
+ 106,
2336
+ 32,
2337
+ 2,
2338
+ 32,
2339
+ 3,
2340
+ 106,
2341
+ 54,
2342
+ 2,
2343
+ 0,
2344
+ 15,
2345
+ 11,
2346
+ 32,
2347
+ 3,
2348
+ 4,
2349
+ 64,
2350
+ 32,
2351
+ 3,
2352
+ 32,
2353
+ 4,
2354
+ 106,
2355
+ 32,
2356
+ 1,
2357
+ 65,
2358
+ 32,
2359
+ 32,
2360
+ 3,
2361
+ 107,
2362
+ 34,
2363
+ 2,
2364
+ 252,
2365
+ 10,
2366
+ 0,
2367
+ 0,
2368
+ 32,
2369
+ 0,
2370
+ 65,
2371
+ 8,
2372
+ 106,
2373
+ 34,
2374
+ 3,
2375
+ 32,
2376
+ 3,
2377
+ 41,
2378
+ 3,
2379
+ 0,
2380
+ 32,
2381
+ 4,
2382
+ 41,
2383
+ 3,
2384
+ 0,
2385
+ 66,
2386
+ 207,
2387
+ 214,
2388
+ 211,
2389
+ 190,
2390
+ 210,
2391
+ 199,
2392
+ 171,
2393
+ 217,
2394
+ 66,
2395
+ 126,
2396
+ 124,
2397
+ 66,
2398
+ 31,
2399
+ 137,
2400
+ 66,
2401
+ 135,
2402
+ 149,
2403
+ 175,
2404
+ 175,
2405
+ 152,
2406
+ 182,
2407
+ 222,
2408
+ 155,
2409
+ 158,
2410
+ 127,
2411
+ 126,
2412
+ 55,
2413
+ 3,
2414
+ 0,
2415
+ 32,
2416
+ 0,
2417
+ 65,
2418
+ 16,
2419
+ 106,
2420
+ 34,
2421
+ 3,
2422
+ 32,
2423
+ 3,
2424
+ 41,
2425
+ 3,
2426
+ 0,
2427
+ 32,
2428
+ 4,
2429
+ 65,
2430
+ 8,
2431
+ 106,
2432
+ 41,
2433
+ 3,
2434
+ 0,
2435
+ 66,
2436
+ 207,
2437
+ 214,
2438
+ 211,
2439
+ 190,
2440
+ 210,
2441
+ 199,
2442
+ 171,
2443
+ 217,
2444
+ 66,
2445
+ 126,
2446
+ 124,
2447
+ 66,
2448
+ 31,
2449
+ 137,
2450
+ 66,
2451
+ 135,
2452
+ 149,
2453
+ 175,
2454
+ 175,
2455
+ 152,
2456
+ 182,
2457
+ 222,
2458
+ 155,
2459
+ 158,
2460
+ 127,
2461
+ 126,
2462
+ 55,
2463
+ 3,
2464
+ 0,
2465
+ 32,
2466
+ 0,
2467
+ 65,
2468
+ 24,
2469
+ 106,
2470
+ 34,
2471
+ 3,
2472
+ 32,
2473
+ 3,
2474
+ 41,
2475
+ 3,
2476
+ 0,
2477
+ 32,
2478
+ 4,
2479
+ 65,
2480
+ 16,
2481
+ 106,
2482
+ 41,
2483
+ 3,
2484
+ 0,
2485
+ 66,
2486
+ 207,
2487
+ 214,
2488
+ 211,
2489
+ 190,
2490
+ 210,
2491
+ 199,
2492
+ 171,
2493
+ 217,
2494
+ 66,
2495
+ 126,
2496
+ 124,
2497
+ 66,
2498
+ 31,
2499
+ 137,
2500
+ 66,
2501
+ 135,
2502
+ 149,
2503
+ 175,
2504
+ 175,
2505
+ 152,
2506
+ 182,
2507
+ 222,
2508
+ 155,
2509
+ 158,
2510
+ 127,
2511
+ 126,
2512
+ 55,
2513
+ 3,
2514
+ 0,
2515
+ 32,
2516
+ 0,
2517
+ 65,
2518
+ 32,
2519
+ 106,
2520
+ 34,
2521
+ 3,
2522
+ 32,
2523
+ 3,
2524
+ 41,
2525
+ 3,
2526
+ 0,
2527
+ 32,
2528
+ 4,
2529
+ 65,
2530
+ 24,
2531
+ 106,
2532
+ 41,
2533
+ 3,
2534
+ 0,
2535
+ 66,
2536
+ 207,
2537
+ 214,
2538
+ 211,
2539
+ 190,
2540
+ 210,
2541
+ 199,
2542
+ 171,
2543
+ 217,
2544
+ 66,
2545
+ 126,
2546
+ 124,
2547
+ 66,
2548
+ 31,
2549
+ 137,
2550
+ 66,
2551
+ 135,
2552
+ 149,
2553
+ 175,
2554
+ 175,
2555
+ 152,
2556
+ 182,
2557
+ 222,
2558
+ 155,
2559
+ 158,
2560
+ 127,
2561
+ 126,
2562
+ 55,
2563
+ 3,
2564
+ 0,
2565
+ 32,
2566
+ 0,
2567
+ 65,
2568
+ 200,
2569
+ 0,
2570
+ 106,
2571
+ 65,
2572
+ 0,
2573
+ 54,
2574
+ 2,
2575
+ 0,
2576
+ 32,
2577
+ 1,
2578
+ 32,
2579
+ 2,
2580
+ 106,
2581
+ 33,
2582
+ 1,
2583
+ 11,
2584
+ 32,
2585
+ 1,
2586
+ 65,
2587
+ 32,
2588
+ 106,
2589
+ 32,
2590
+ 5,
2591
+ 77,
2592
+ 4,
2593
+ 64,
2594
+ 32,
2595
+ 5,
2596
+ 65,
2597
+ 32,
2598
+ 107,
2599
+ 33,
2600
+ 2,
2601
+ 32,
2602
+ 0,
2603
+ 65,
2604
+ 8,
2605
+ 106,
2606
+ 41,
2607
+ 3,
2608
+ 0,
2609
+ 33,
2610
+ 6,
2611
+ 32,
2612
+ 0,
2613
+ 65,
2614
+ 16,
2615
+ 106,
2616
+ 41,
2617
+ 3,
2618
+ 0,
2619
+ 33,
2620
+ 7,
2621
+ 32,
2622
+ 0,
2623
+ 65,
2624
+ 24,
2625
+ 106,
2626
+ 41,
2627
+ 3,
2628
+ 0,
2629
+ 33,
2630
+ 8,
2631
+ 32,
2632
+ 0,
2633
+ 65,
2634
+ 32,
2635
+ 106,
2636
+ 41,
2637
+ 3,
2638
+ 0,
2639
+ 33,
2640
+ 9,
2641
+ 3,
2642
+ 64,
2643
+ 32,
2644
+ 6,
2645
+ 32,
2646
+ 1,
2647
+ 41,
2648
+ 3,
2649
+ 0,
2650
+ 66,
2651
+ 207,
2652
+ 214,
2653
+ 211,
2654
+ 190,
2655
+ 210,
2656
+ 199,
2657
+ 171,
2658
+ 217,
2659
+ 66,
2660
+ 126,
2661
+ 124,
2662
+ 66,
2663
+ 31,
2664
+ 137,
2665
+ 66,
2666
+ 135,
2667
+ 149,
2668
+ 175,
2669
+ 175,
2670
+ 152,
2671
+ 182,
2672
+ 222,
2673
+ 155,
2674
+ 158,
2675
+ 127,
2676
+ 126,
2677
+ 33,
2678
+ 6,
2679
+ 32,
2680
+ 7,
2681
+ 32,
2682
+ 1,
2683
+ 65,
2684
+ 8,
2685
+ 106,
2686
+ 34,
2687
+ 1,
2688
+ 41,
2689
+ 3,
2690
+ 0,
2691
+ 66,
2692
+ 207,
2693
+ 214,
2694
+ 211,
2695
+ 190,
2696
+ 210,
2697
+ 199,
2698
+ 171,
2699
+ 217,
2700
+ 66,
2701
+ 126,
2702
+ 124,
2703
+ 66,
2704
+ 31,
2705
+ 137,
2706
+ 66,
2707
+ 135,
2708
+ 149,
2709
+ 175,
2710
+ 175,
2711
+ 152,
2712
+ 182,
2713
+ 222,
2714
+ 155,
2715
+ 158,
2716
+ 127,
2717
+ 126,
2718
+ 33,
2719
+ 7,
2720
+ 32,
2721
+ 8,
2722
+ 32,
2723
+ 1,
2724
+ 65,
2725
+ 8,
2726
+ 106,
2727
+ 34,
2728
+ 1,
2729
+ 41,
2730
+ 3,
2731
+ 0,
2732
+ 66,
2733
+ 207,
2734
+ 214,
2735
+ 211,
2736
+ 190,
2737
+ 210,
2738
+ 199,
2739
+ 171,
2740
+ 217,
2741
+ 66,
2742
+ 126,
2743
+ 124,
2744
+ 66,
2745
+ 31,
2746
+ 137,
2747
+ 66,
2748
+ 135,
2749
+ 149,
2750
+ 175,
2751
+ 175,
2752
+ 152,
2753
+ 182,
2754
+ 222,
2755
+ 155,
2756
+ 158,
2757
+ 127,
2758
+ 126,
2759
+ 33,
2760
+ 8,
2761
+ 32,
2762
+ 9,
2763
+ 32,
2764
+ 1,
2765
+ 65,
2766
+ 8,
2767
+ 106,
2768
+ 34,
2769
+ 1,
2770
+ 41,
2771
+ 3,
2772
+ 0,
2773
+ 66,
2774
+ 207,
2775
+ 214,
2776
+ 211,
2777
+ 190,
2778
+ 210,
2779
+ 199,
2780
+ 171,
2781
+ 217,
2782
+ 66,
2783
+ 126,
2784
+ 124,
2785
+ 66,
2786
+ 31,
2787
+ 137,
2788
+ 66,
2789
+ 135,
2790
+ 149,
2791
+ 175,
2792
+ 175,
2793
+ 152,
2794
+ 182,
2795
+ 222,
2796
+ 155,
2797
+ 158,
2798
+ 127,
2799
+ 126,
2800
+ 33,
2801
+ 9,
2802
+ 32,
2803
+ 2,
2804
+ 32,
2805
+ 1,
2806
+ 65,
2807
+ 8,
2808
+ 106,
2809
+ 34,
2810
+ 1,
2811
+ 79,
2812
+ 13,
2813
+ 0,
2814
+ 11,
2815
+ 32,
2816
+ 0,
2817
+ 65,
2818
+ 8,
2819
+ 106,
2820
+ 32,
2821
+ 6,
2822
+ 55,
2823
+ 3,
2824
+ 0,
2825
+ 32,
2826
+ 0,
2827
+ 65,
2828
+ 16,
2829
+ 106,
2830
+ 32,
2831
+ 7,
2832
+ 55,
2833
+ 3,
2834
+ 0,
2835
+ 32,
2836
+ 0,
2837
+ 65,
2838
+ 24,
2839
+ 106,
2840
+ 32,
2841
+ 8,
2842
+ 55,
2843
+ 3,
2844
+ 0,
2845
+ 32,
2846
+ 0,
2847
+ 65,
2848
+ 32,
2849
+ 106,
2850
+ 32,
2851
+ 9,
2852
+ 55,
2853
+ 3,
2854
+ 0,
2855
+ 11,
2856
+ 32,
2857
+ 1,
2858
+ 32,
2859
+ 5,
2860
+ 73,
2861
+ 4,
2862
+ 64,
2863
+ 32,
2864
+ 4,
2865
+ 32,
2866
+ 1,
2867
+ 32,
2868
+ 5,
2869
+ 32,
2870
+ 1,
2871
+ 107,
2872
+ 34,
2873
+ 1,
2874
+ 252,
2875
+ 10,
2876
+ 0,
2877
+ 0,
2878
+ 32,
2879
+ 0,
2880
+ 65,
2881
+ 200,
2882
+ 0,
2883
+ 106,
2884
+ 32,
2885
+ 1,
2886
+ 54,
2887
+ 2,
2888
+ 0,
2889
+ 11,
2890
+ 11,
2891
+ 188,
2892
+ 2,
2893
+ 1,
2894
+ 5,
2895
+ 126,
2896
+ 32,
2897
+ 0,
2898
+ 65,
2899
+ 24,
2900
+ 106,
2901
+ 41,
2902
+ 3,
2903
+ 0,
2904
+ 33,
2905
+ 1,
2906
+ 32,
2907
+ 0,
2908
+ 41,
2909
+ 3,
2910
+ 0,
2911
+ 34,
2912
+ 2,
2913
+ 66,
2914
+ 32,
2915
+ 90,
2916
+ 4,
2917
+ 126,
2918
+ 32,
2919
+ 0,
2920
+ 65,
2921
+ 8,
2922
+ 106,
2923
+ 41,
2924
+ 3,
2925
+ 0,
2926
+ 34,
2927
+ 3,
2928
+ 66,
2929
+ 1,
2930
+ 137,
2931
+ 32,
2932
+ 0,
2933
+ 65,
2934
+ 16,
2935
+ 106,
2936
+ 41,
2937
+ 3,
2938
+ 0,
2939
+ 34,
2940
+ 4,
2941
+ 66,
2942
+ 7,
2943
+ 137,
2944
+ 124,
2945
+ 32,
2946
+ 1,
2947
+ 66,
2948
+ 12,
2949
+ 137,
2950
+ 32,
2951
+ 0,
2952
+ 65,
2953
+ 32,
2954
+ 106,
2955
+ 41,
2956
+ 3,
2957
+ 0,
2958
+ 34,
2959
+ 5,
2960
+ 66,
2961
+ 18,
2962
+ 137,
2963
+ 124,
2964
+ 124,
2965
+ 32,
2966
+ 3,
2967
+ 66,
2968
+ 207,
2969
+ 214,
2970
+ 211,
2971
+ 190,
2972
+ 210,
2973
+ 199,
2974
+ 171,
2975
+ 217,
2976
+ 66,
2977
+ 126,
2978
+ 66,
2979
+ 31,
2980
+ 137,
2981
+ 66,
2982
+ 135,
2983
+ 149,
2984
+ 175,
2985
+ 175,
2986
+ 152,
2987
+ 182,
2988
+ 222,
2989
+ 155,
2990
+ 158,
2991
+ 127,
2992
+ 126,
2993
+ 133,
2994
+ 66,
2995
+ 135,
2996
+ 149,
2997
+ 175,
2998
+ 175,
2999
+ 152,
3000
+ 182,
3001
+ 222,
3002
+ 155,
3003
+ 158,
3004
+ 127,
3005
+ 126,
3006
+ 66,
3007
+ 157,
3008
+ 163,
3009
+ 181,
3010
+ 234,
3011
+ 131,
3012
+ 177,
3013
+ 141,
3014
+ 138,
3015
+ 250,
3016
+ 0,
3017
+ 125,
3018
+ 32,
3019
+ 4,
3020
+ 66,
3021
+ 207,
3022
+ 214,
3023
+ 211,
3024
+ 190,
3025
+ 210,
3026
+ 199,
3027
+ 171,
3028
+ 217,
3029
+ 66,
3030
+ 126,
3031
+ 66,
3032
+ 31,
3033
+ 137,
3034
+ 66,
3035
+ 135,
3036
+ 149,
3037
+ 175,
3038
+ 175,
3039
+ 152,
3040
+ 182,
3041
+ 222,
3042
+ 155,
3043
+ 158,
3044
+ 127,
3045
+ 126,
3046
+ 133,
3047
+ 66,
3048
+ 135,
3049
+ 149,
3050
+ 175,
3051
+ 175,
3052
+ 152,
3053
+ 182,
3054
+ 222,
3055
+ 155,
3056
+ 158,
3057
+ 127,
3058
+ 126,
3059
+ 66,
3060
+ 157,
3061
+ 163,
3062
+ 181,
3063
+ 234,
3064
+ 131,
3065
+ 177,
3066
+ 141,
3067
+ 138,
3068
+ 250,
3069
+ 0,
3070
+ 125,
3071
+ 32,
3072
+ 1,
3073
+ 66,
3074
+ 207,
3075
+ 214,
3076
+ 211,
3077
+ 190,
3078
+ 210,
3079
+ 199,
3080
+ 171,
3081
+ 217,
3082
+ 66,
3083
+ 126,
3084
+ 66,
3085
+ 31,
3086
+ 137,
3087
+ 66,
3088
+ 135,
3089
+ 149,
3090
+ 175,
3091
+ 175,
3092
+ 152,
3093
+ 182,
3094
+ 222,
3095
+ 155,
3096
+ 158,
3097
+ 127,
3098
+ 126,
3099
+ 133,
3100
+ 66,
3101
+ 135,
3102
+ 149,
3103
+ 175,
3104
+ 175,
3105
+ 152,
3106
+ 182,
3107
+ 222,
3108
+ 155,
3109
+ 158,
3110
+ 127,
3111
+ 126,
3112
+ 66,
3113
+ 157,
3114
+ 163,
3115
+ 181,
3116
+ 234,
3117
+ 131,
3118
+ 177,
3119
+ 141,
3120
+ 138,
3121
+ 250,
3122
+ 0,
3123
+ 125,
3124
+ 32,
3125
+ 5,
3126
+ 66,
3127
+ 207,
3128
+ 214,
3129
+ 211,
3130
+ 190,
3131
+ 210,
3132
+ 199,
3133
+ 171,
3134
+ 217,
3135
+ 66,
3136
+ 126,
3137
+ 66,
3138
+ 31,
3139
+ 137,
3140
+ 66,
3141
+ 135,
3142
+ 149,
3143
+ 175,
3144
+ 175,
3145
+ 152,
3146
+ 182,
3147
+ 222,
3148
+ 155,
3149
+ 158,
3150
+ 127,
3151
+ 126,
3152
+ 133,
3153
+ 66,
3154
+ 135,
3155
+ 149,
3156
+ 175,
3157
+ 175,
3158
+ 152,
3159
+ 182,
3160
+ 222,
3161
+ 155,
3162
+ 158,
3163
+ 127,
3164
+ 126,
3165
+ 66,
3166
+ 157,
3167
+ 163,
3168
+ 181,
3169
+ 234,
3170
+ 131,
3171
+ 177,
3172
+ 141,
3173
+ 138,
3174
+ 250,
3175
+ 0,
3176
+ 125,
3177
+ 5,
3178
+ 32,
3179
+ 1,
3180
+ 66,
3181
+ 197,
3182
+ 207,
3183
+ 217,
3184
+ 178,
3185
+ 241,
3186
+ 229,
3187
+ 186,
3188
+ 234,
3189
+ 39,
3190
+ 124,
3191
+ 11,
3192
+ 32,
3193
+ 2,
3194
+ 124,
3195
+ 32,
3196
+ 0,
3197
+ 65,
3198
+ 40,
3199
+ 106,
3200
+ 32,
3201
+ 2,
3202
+ 66,
3203
+ 31,
3204
+ 131,
3205
+ 167,
3206
+ 16,
3207
+ 6,
3208
+ 11
3209
+ ]);
3210
+ async function e() {
3211
+ return function(t) {
3212
+ const { exports: { mem: e, xxh32: n, xxh64: r, init32: i, update32: a, digest32: o, init64: s, update64: u, digest64: c } } = t;
3213
+ let h = new Uint8Array(e.buffer);
3214
+ function g(t, n) {
3215
+ if (e.buffer.byteLength < t + n) {
3216
+ const r = Math.ceil((t + n - e.buffer.byteLength) / 65536);
3217
+ e.grow(r), h = new Uint8Array(e.buffer);
996
3218
  }
997
3219
  }
998
- return new Uint8Array(utf8);
999
- }
1000
- /**
1001
- * XXH object used as a constructor or a function
1002
- * @constructor
1003
- * or
1004
- * @param {Object|String} input data
1005
- * @param {Number|UINT32} seed
1006
- * @return ThisExpression
1007
- * or
1008
- * @return {UINT32} xxHash
1009
- */
1010
- function XXH() {
1011
- if (arguments.length == 2) return new XXH(arguments[1]).update(arguments[0]).digest();
1012
- if (!(this instanceof XXH)) return new XXH(arguments[0]);
1013
- init.call(this, arguments[0]);
1014
- }
1015
- /**
1016
- * Initialize the XXH instance with the given seed
1017
- * @method init
1018
- * @param {Number|Object} seed as a number or an unsigned 32 bits integer
1019
- * @return ThisExpression
1020
- */
1021
- function init(seed) {
1022
- this.seed = seed instanceof UINT32 ? seed.clone() : UINT32(seed);
1023
- this.v1 = this.seed.clone().add(PRIME32_1).add(PRIME32_2);
1024
- this.v2 = this.seed.clone().add(PRIME32_2);
1025
- this.v3 = this.seed.clone();
1026
- this.v4 = this.seed.clone().subtract(PRIME32_1);
1027
- this.total_len = 0;
1028
- this.memsize = 0;
1029
- this.memory = null;
1030
- return this;
1031
- }
1032
- XXH.prototype.init = init;
1033
- /**
1034
- * Add data to be computed for the XXH hash
1035
- * @method update
1036
- * @param {String|Buffer|ArrayBuffer} input as a string or nodejs Buffer or ArrayBuffer
1037
- * @return ThisExpression
1038
- */
1039
- XXH.prototype.update = function(input) {
1040
- var isString = typeof input == "string";
1041
- var isArrayBuffer;
1042
- if (isString) {
1043
- input = toUTF8Array(input);
1044
- isString = false;
1045
- isArrayBuffer = true;
1046
- }
1047
- if (typeof ArrayBuffer !== "undefined" && input instanceof ArrayBuffer) {
1048
- isArrayBuffer = true;
1049
- input = new Uint8Array(input);
1050
- }
1051
- var p = 0;
1052
- var len = input.length;
1053
- var bEnd = p + len;
1054
- if (len == 0) return this;
1055
- this.total_len += len;
1056
- if (this.memsize == 0) if (isString) this.memory = "";
1057
- else if (isArrayBuffer) this.memory = new Uint8Array(16);
1058
- else this.memory = new Buffer(16);
1059
- if (this.memsize + len < 16) {
1060
- if (isString) this.memory += input;
1061
- else if (isArrayBuffer) this.memory.set(input.subarray(0, len), this.memsize);
1062
- else input.copy(this.memory, this.memsize, 0, len);
1063
- this.memsize += len;
1064
- return this;
1065
- }
1066
- if (this.memsize > 0) {
1067
- if (isString) this.memory += input.slice(0, 16 - this.memsize);
1068
- else if (isArrayBuffer) this.memory.set(input.subarray(0, 16 - this.memsize), this.memsize);
1069
- else input.copy(this.memory, this.memsize, 0, 16 - this.memsize);
1070
- var p32 = 0;
1071
- if (isString) {
1072
- this.v1.xxh_update(this.memory.charCodeAt(p32 + 1) << 8 | this.memory.charCodeAt(p32), this.memory.charCodeAt(p32 + 3) << 8 | this.memory.charCodeAt(p32 + 2));
1073
- p32 += 4;
1074
- this.v2.xxh_update(this.memory.charCodeAt(p32 + 1) << 8 | this.memory.charCodeAt(p32), this.memory.charCodeAt(p32 + 3) << 8 | this.memory.charCodeAt(p32 + 2));
1075
- p32 += 4;
1076
- this.v3.xxh_update(this.memory.charCodeAt(p32 + 1) << 8 | this.memory.charCodeAt(p32), this.memory.charCodeAt(p32 + 3) << 8 | this.memory.charCodeAt(p32 + 2));
1077
- p32 += 4;
1078
- this.v4.xxh_update(this.memory.charCodeAt(p32 + 1) << 8 | this.memory.charCodeAt(p32), this.memory.charCodeAt(p32 + 3) << 8 | this.memory.charCodeAt(p32 + 2));
1079
- } else {
1080
- this.v1.xxh_update(this.memory[p32 + 1] << 8 | this.memory[p32], this.memory[p32 + 3] << 8 | this.memory[p32 + 2]);
1081
- p32 += 4;
1082
- this.v2.xxh_update(this.memory[p32 + 1] << 8 | this.memory[p32], this.memory[p32 + 3] << 8 | this.memory[p32 + 2]);
1083
- p32 += 4;
1084
- this.v3.xxh_update(this.memory[p32 + 1] << 8 | this.memory[p32], this.memory[p32 + 3] << 8 | this.memory[p32 + 2]);
1085
- p32 += 4;
1086
- this.v4.xxh_update(this.memory[p32 + 1] << 8 | this.memory[p32], this.memory[p32 + 3] << 8 | this.memory[p32 + 2]);
1087
- }
1088
- p += 16 - this.memsize;
1089
- this.memsize = 0;
1090
- if (isString) this.memory = "";
3220
+ function f(t, e, n, r, i, a) {
3221
+ g(t);
3222
+ const o = new Uint8Array(t);
3223
+ return h.set(o), n(0, e), o.set(h.subarray(0, t)), {
3224
+ update(e) {
3225
+ let n;
3226
+ return h.set(o), "string" == typeof e ? (g(3 * e.length, t), n = w.encodeInto(e, h.subarray(t)).written) : (g(e.byteLength, t), h.set(e, t), n = e.byteLength), r(0, t, n), o.set(h.subarray(0, t)), this;
3227
+ },
3228
+ digest: () => (h.set(o), a(i(0)))
3229
+ };
1091
3230
  }
1092
- if (p <= bEnd - 16) {
1093
- var limit = bEnd - 16;
1094
- do {
1095
- if (isString) {
1096
- this.v1.xxh_update(input.charCodeAt(p + 1) << 8 | input.charCodeAt(p), input.charCodeAt(p + 3) << 8 | input.charCodeAt(p + 2));
1097
- p += 4;
1098
- this.v2.xxh_update(input.charCodeAt(p + 1) << 8 | input.charCodeAt(p), input.charCodeAt(p + 3) << 8 | input.charCodeAt(p + 2));
1099
- p += 4;
1100
- this.v3.xxh_update(input.charCodeAt(p + 1) << 8 | input.charCodeAt(p), input.charCodeAt(p + 3) << 8 | input.charCodeAt(p + 2));
1101
- p += 4;
1102
- this.v4.xxh_update(input.charCodeAt(p + 1) << 8 | input.charCodeAt(p), input.charCodeAt(p + 3) << 8 | input.charCodeAt(p + 2));
1103
- } else {
1104
- this.v1.xxh_update(input[p + 1] << 8 | input[p], input[p + 3] << 8 | input[p + 2]);
1105
- p += 4;
1106
- this.v2.xxh_update(input[p + 1] << 8 | input[p], input[p + 3] << 8 | input[p + 2]);
1107
- p += 4;
1108
- this.v3.xxh_update(input[p + 1] << 8 | input[p], input[p + 3] << 8 | input[p + 2]);
1109
- p += 4;
1110
- this.v4.xxh_update(input[p + 1] << 8 | input[p], input[p + 3] << 8 | input[p + 2]);
1111
- }
1112
- p += 4;
1113
- } while (p <= limit);
3231
+ function y(t) {
3232
+ return t >>> 0;
1114
3233
  }
1115
- if (p < bEnd) {
1116
- if (isString) this.memory += input.slice(p);
1117
- else if (isArrayBuffer) this.memory.set(input.subarray(p, bEnd), this.memsize);
1118
- else input.copy(this.memory, this.memsize, p, bEnd);
1119
- this.memsize = bEnd - p;
3234
+ const b = 2n ** 64n - 1n;
3235
+ function d(t) {
3236
+ return t & b;
1120
3237
  }
1121
- return this;
1122
- };
1123
- /**
1124
- * Finalize the XXH computation. The XXH instance is ready for reuse for the given seed
1125
- * @method digest
1126
- * @return {UINT32} xxHash
1127
- */
1128
- XXH.prototype.digest = function() {
1129
- var input = this.memory;
1130
- var isString = typeof input == "string";
1131
- var p = 0;
1132
- var bEnd = this.memsize;
1133
- var h32, h;
1134
- var u = new UINT32();
1135
- if (this.total_len >= 16) h32 = this.v1.rotl(1).add(this.v2.rotl(7).add(this.v3.rotl(12).add(this.v4.rotl(18))));
1136
- else h32 = this.seed.clone().add(PRIME32_5);
1137
- h32.add(u.fromNumber(this.total_len));
1138
- while (p <= bEnd - 4) {
1139
- if (isString) u.fromBits(input.charCodeAt(p + 1) << 8 | input.charCodeAt(p), input.charCodeAt(p + 3) << 8 | input.charCodeAt(p + 2));
1140
- else u.fromBits(input[p + 1] << 8 | input[p], input[p + 3] << 8 | input[p + 2]);
1141
- h32.add(u.multiply(PRIME32_3)).rotl(17).multiply(PRIME32_4);
1142
- p += 4;
3238
+ const w = new TextEncoder(), l = 0, p = 0n;
3239
+ function x(t, e = l) {
3240
+ return g(3 * t.length, 0), y(n(0, w.encodeInto(t, h).written, e));
1143
3241
  }
1144
- while (p < bEnd) {
1145
- u.fromBits(isString ? input.charCodeAt(p++) : input[p++], 0);
1146
- h32.add(u.multiply(PRIME32_5)).rotl(11).multiply(PRIME32_1);
3242
+ function L(t, e = p) {
3243
+ return g(3 * t.length, 0), d(r(0, w.encodeInto(t, h).written, e));
1147
3244
  }
1148
- h = h32.clone().shiftRight(15);
1149
- h32.xor(h).multiply(PRIME32_2);
1150
- h = h32.clone().shiftRight(13);
1151
- h32.xor(h).multiply(PRIME32_3);
1152
- h = h32.clone().shiftRight(16);
1153
- h32.xor(h);
1154
- this.init(this.seed);
1155
- return h32;
1156
- };
1157
- module.exports = XXH;
1158
- }));
3245
+ return {
3246
+ h32: x,
3247
+ h32ToString: (t, e = l) => x(t, e).toString(16).padStart(8, "0"),
3248
+ h32Raw: (t, e = l) => (g(t.byteLength, 0), h.set(t), y(n(0, t.byteLength, e))),
3249
+ create32: (t = l) => f(48, t, i, a, o, y),
3250
+ h64: L,
3251
+ h64ToString: (t, e = p) => L(t, e).toString(16).padStart(16, "0"),
3252
+ h64Raw: (t, e = p) => (g(t.byteLength, 0), h.set(t), d(r(0, t.byteLength, e))),
3253
+ create64: (t = p) => f(88, t, s, u, c, d)
3254
+ };
3255
+ }((await WebAssembly.instantiate(t)).instance);
3256
+ }
1159
3257
  //#endregion
1160
- //#region node_modules/xxhashjs/lib/xxhash64.js
1161
- var require_xxhash64 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
1162
- /**
1163
- xxHash64 implementation in pure Javascript
1164
-
1165
- Copyright (C) 2016, Pierre Curto
1166
- MIT license
1167
- */
1168
- var UINT64 = require_cuint().UINT64;
1169
- var PRIME64_1 = UINT64("11400714785074694791");
1170
- var PRIME64_2 = UINT64("14029467366897019727");
1171
- var PRIME64_3 = UINT64("1609587929392839161");
1172
- var PRIME64_4 = UINT64("9650029242287828579");
1173
- var PRIME64_5 = UINT64("2870177450012600261");
1174
- /**
1175
- * Convert string to proper UTF-8 array
1176
- * @param str Input string
1177
- * @returns {Uint8Array} UTF8 array is returned as uint8 array
1178
- */
1179
- function toUTF8Array(str) {
1180
- var utf8 = [];
1181
- for (var i = 0, n = str.length; i < n; i++) {
1182
- var charcode = str.charCodeAt(i);
1183
- if (charcode < 128) utf8.push(charcode);
1184
- else if (charcode < 2048) utf8.push(192 | charcode >> 6, 128 | charcode & 63);
1185
- else if (charcode < 55296 || charcode >= 57344) utf8.push(224 | charcode >> 12, 128 | charcode >> 6 & 63, 128 | charcode & 63);
1186
- else {
1187
- i++;
1188
- charcode = 65536 + ((charcode & 1023) << 10 | str.charCodeAt(i) & 1023);
1189
- utf8.push(240 | charcode >> 18, 128 | charcode >> 12 & 63, 128 | charcode >> 6 & 63, 128 | charcode & 63);
1190
- }
1191
- }
1192
- return new Uint8Array(utf8);
1193
- }
1194
- /**
1195
- * XXH64 object used as a constructor or a function
1196
- * @constructor
1197
- * or
1198
- * @param {Object|String} input data
1199
- * @param {Number|UINT64} seed
1200
- * @return ThisExpression
1201
- * or
1202
- * @return {UINT64} xxHash
1203
- */
1204
- function XXH64() {
1205
- if (arguments.length == 2) return new XXH64(arguments[1]).update(arguments[0]).digest();
1206
- if (!(this instanceof XXH64)) return new XXH64(arguments[0]);
1207
- init.call(this, arguments[0]);
1208
- }
1209
- /**
1210
- * Initialize the XXH64 instance with the given seed
1211
- * @method init
1212
- * @param {Number|Object} seed as a number or an unsigned 32 bits integer
1213
- * @return ThisExpression
1214
- */
1215
- function init(seed) {
1216
- this.seed = seed instanceof UINT64 ? seed.clone() : UINT64(seed);
1217
- this.v1 = this.seed.clone().add(PRIME64_1).add(PRIME64_2);
1218
- this.v2 = this.seed.clone().add(PRIME64_2);
1219
- this.v3 = this.seed.clone();
1220
- this.v4 = this.seed.clone().subtract(PRIME64_1);
1221
- this.total_len = 0;
1222
- this.memsize = 0;
1223
- this.memory = null;
1224
- return this;
1225
- }
1226
- XXH64.prototype.init = init;
1227
- /**
1228
- * Add data to be computed for the XXH64 hash
1229
- * @method update
1230
- * @param {String|Buffer|ArrayBuffer} input as a string or nodejs Buffer or ArrayBuffer
1231
- * @return ThisExpression
1232
- */
1233
- XXH64.prototype.update = function(input) {
1234
- var isString = typeof input == "string";
1235
- var isArrayBuffer;
1236
- if (isString) {
1237
- input = toUTF8Array(input);
1238
- isString = false;
1239
- isArrayBuffer = true;
1240
- }
1241
- if (typeof ArrayBuffer !== "undefined" && input instanceof ArrayBuffer) {
1242
- isArrayBuffer = true;
1243
- input = new Uint8Array(input);
1244
- }
1245
- var p = 0;
1246
- var len = input.length;
1247
- var bEnd = p + len;
1248
- if (len == 0) return this;
1249
- this.total_len += len;
1250
- if (this.memsize == 0) if (isString) this.memory = "";
1251
- else if (isArrayBuffer) this.memory = new Uint8Array(32);
1252
- else this.memory = new Buffer(32);
1253
- if (this.memsize + len < 32) {
1254
- if (isString) this.memory += input;
1255
- else if (isArrayBuffer) this.memory.set(input.subarray(0, len), this.memsize);
1256
- else input.copy(this.memory, this.memsize, 0, len);
1257
- this.memsize += len;
1258
- return this;
1259
- }
1260
- if (this.memsize > 0) {
1261
- if (isString) this.memory += input.slice(0, 32 - this.memsize);
1262
- else if (isArrayBuffer) this.memory.set(input.subarray(0, 32 - this.memsize), this.memsize);
1263
- else input.copy(this.memory, this.memsize, 0, 32 - this.memsize);
1264
- var p64 = 0;
1265
- if (isString) {
1266
- var other = UINT64(this.memory.charCodeAt(p64 + 1) << 8 | this.memory.charCodeAt(p64), this.memory.charCodeAt(p64 + 3) << 8 | this.memory.charCodeAt(p64 + 2), this.memory.charCodeAt(p64 + 5) << 8 | this.memory.charCodeAt(p64 + 4), this.memory.charCodeAt(p64 + 7) << 8 | this.memory.charCodeAt(p64 + 6));
1267
- this.v1.add(other.multiply(PRIME64_2)).rotl(31).multiply(PRIME64_1);
1268
- p64 += 8;
1269
- other = UINT64(this.memory.charCodeAt(p64 + 1) << 8 | this.memory.charCodeAt(p64), this.memory.charCodeAt(p64 + 3) << 8 | this.memory.charCodeAt(p64 + 2), this.memory.charCodeAt(p64 + 5) << 8 | this.memory.charCodeAt(p64 + 4), this.memory.charCodeAt(p64 + 7) << 8 | this.memory.charCodeAt(p64 + 6));
1270
- this.v2.add(other.multiply(PRIME64_2)).rotl(31).multiply(PRIME64_1);
1271
- p64 += 8;
1272
- other = UINT64(this.memory.charCodeAt(p64 + 1) << 8 | this.memory.charCodeAt(p64), this.memory.charCodeAt(p64 + 3) << 8 | this.memory.charCodeAt(p64 + 2), this.memory.charCodeAt(p64 + 5) << 8 | this.memory.charCodeAt(p64 + 4), this.memory.charCodeAt(p64 + 7) << 8 | this.memory.charCodeAt(p64 + 6));
1273
- this.v3.add(other.multiply(PRIME64_2)).rotl(31).multiply(PRIME64_1);
1274
- p64 += 8;
1275
- other = UINT64(this.memory.charCodeAt(p64 + 1) << 8 | this.memory.charCodeAt(p64), this.memory.charCodeAt(p64 + 3) << 8 | this.memory.charCodeAt(p64 + 2), this.memory.charCodeAt(p64 + 5) << 8 | this.memory.charCodeAt(p64 + 4), this.memory.charCodeAt(p64 + 7) << 8 | this.memory.charCodeAt(p64 + 6));
1276
- this.v4.add(other.multiply(PRIME64_2)).rotl(31).multiply(PRIME64_1);
1277
- } else {
1278
- var other = UINT64(this.memory[p64 + 1] << 8 | this.memory[p64], this.memory[p64 + 3] << 8 | this.memory[p64 + 2], this.memory[p64 + 5] << 8 | this.memory[p64 + 4], this.memory[p64 + 7] << 8 | this.memory[p64 + 6]);
1279
- this.v1.add(other.multiply(PRIME64_2)).rotl(31).multiply(PRIME64_1);
1280
- p64 += 8;
1281
- other = UINT64(this.memory[p64 + 1] << 8 | this.memory[p64], this.memory[p64 + 3] << 8 | this.memory[p64 + 2], this.memory[p64 + 5] << 8 | this.memory[p64 + 4], this.memory[p64 + 7] << 8 | this.memory[p64 + 6]);
1282
- this.v2.add(other.multiply(PRIME64_2)).rotl(31).multiply(PRIME64_1);
1283
- p64 += 8;
1284
- other = UINT64(this.memory[p64 + 1] << 8 | this.memory[p64], this.memory[p64 + 3] << 8 | this.memory[p64 + 2], this.memory[p64 + 5] << 8 | this.memory[p64 + 4], this.memory[p64 + 7] << 8 | this.memory[p64 + 6]);
1285
- this.v3.add(other.multiply(PRIME64_2)).rotl(31).multiply(PRIME64_1);
1286
- p64 += 8;
1287
- other = UINT64(this.memory[p64 + 1] << 8 | this.memory[p64], this.memory[p64 + 3] << 8 | this.memory[p64 + 2], this.memory[p64 + 5] << 8 | this.memory[p64 + 4], this.memory[p64 + 7] << 8 | this.memory[p64 + 6]);
1288
- this.v4.add(other.multiply(PRIME64_2)).rotl(31).multiply(PRIME64_1);
1289
- }
1290
- p += 32 - this.memsize;
1291
- this.memsize = 0;
1292
- if (isString) this.memory = "";
1293
- }
1294
- if (p <= bEnd - 32) {
1295
- var limit = bEnd - 32;
1296
- do {
1297
- if (isString) {
1298
- var other = UINT64(input.charCodeAt(p + 1) << 8 | input.charCodeAt(p), input.charCodeAt(p + 3) << 8 | input.charCodeAt(p + 2), input.charCodeAt(p + 5) << 8 | input.charCodeAt(p + 4), input.charCodeAt(p + 7) << 8 | input.charCodeAt(p + 6));
1299
- this.v1.add(other.multiply(PRIME64_2)).rotl(31).multiply(PRIME64_1);
1300
- p += 8;
1301
- other = UINT64(input.charCodeAt(p + 1) << 8 | input.charCodeAt(p), input.charCodeAt(p + 3) << 8 | input.charCodeAt(p + 2), input.charCodeAt(p + 5) << 8 | input.charCodeAt(p + 4), input.charCodeAt(p + 7) << 8 | input.charCodeAt(p + 6));
1302
- this.v2.add(other.multiply(PRIME64_2)).rotl(31).multiply(PRIME64_1);
1303
- p += 8;
1304
- other = UINT64(input.charCodeAt(p + 1) << 8 | input.charCodeAt(p), input.charCodeAt(p + 3) << 8 | input.charCodeAt(p + 2), input.charCodeAt(p + 5) << 8 | input.charCodeAt(p + 4), input.charCodeAt(p + 7) << 8 | input.charCodeAt(p + 6));
1305
- this.v3.add(other.multiply(PRIME64_2)).rotl(31).multiply(PRIME64_1);
1306
- p += 8;
1307
- other = UINT64(input.charCodeAt(p + 1) << 8 | input.charCodeAt(p), input.charCodeAt(p + 3) << 8 | input.charCodeAt(p + 2), input.charCodeAt(p + 5) << 8 | input.charCodeAt(p + 4), input.charCodeAt(p + 7) << 8 | input.charCodeAt(p + 6));
1308
- this.v4.add(other.multiply(PRIME64_2)).rotl(31).multiply(PRIME64_1);
1309
- } else {
1310
- var other = UINT64(input[p + 1] << 8 | input[p], input[p + 3] << 8 | input[p + 2], input[p + 5] << 8 | input[p + 4], input[p + 7] << 8 | input[p + 6]);
1311
- this.v1.add(other.multiply(PRIME64_2)).rotl(31).multiply(PRIME64_1);
1312
- p += 8;
1313
- other = UINT64(input[p + 1] << 8 | input[p], input[p + 3] << 8 | input[p + 2], input[p + 5] << 8 | input[p + 4], input[p + 7] << 8 | input[p + 6]);
1314
- this.v2.add(other.multiply(PRIME64_2)).rotl(31).multiply(PRIME64_1);
1315
- p += 8;
1316
- other = UINT64(input[p + 1] << 8 | input[p], input[p + 3] << 8 | input[p + 2], input[p + 5] << 8 | input[p + 4], input[p + 7] << 8 | input[p + 6]);
1317
- this.v3.add(other.multiply(PRIME64_2)).rotl(31).multiply(PRIME64_1);
1318
- p += 8;
1319
- other = UINT64(input[p + 1] << 8 | input[p], input[p + 3] << 8 | input[p + 2], input[p + 5] << 8 | input[p + 4], input[p + 7] << 8 | input[p + 6]);
1320
- this.v4.add(other.multiply(PRIME64_2)).rotl(31).multiply(PRIME64_1);
1321
- }
1322
- p += 8;
1323
- } while (p <= limit);
1324
- }
1325
- if (p < bEnd) {
1326
- if (isString) this.memory += input.slice(p);
1327
- else if (isArrayBuffer) this.memory.set(input.subarray(p, bEnd), this.memsize);
1328
- else input.copy(this.memory, this.memsize, p, bEnd);
1329
- this.memsize = bEnd - p;
1330
- }
1331
- return this;
3258
+ //#region src/fhir-utils/hashUtils.ts
3259
+ var import___vite_browser_external = (/* @__PURE__ */ __commonJSMin(((exports, module) => {
3260
+ module.exports = {};
3261
+ })))();
3262
+ var HashUtils = class HashUtils {
3263
+ static instance;
3264
+ HASH_SEED = 43981n;
3265
+ h64;
3266
+ static getInstance() {
3267
+ if (!HashUtils.instance) HashUtils.instance = new HashUtils();
3268
+ return HashUtils.instance;
3269
+ }
3270
+ constructor() {}
3271
+ normalizeStringParam = (input) => {
3272
+ return input.trim().replace(/\s+/g, " ").toLowerCase();
1332
3273
  };
1333
- /**
1334
- * Finalize the XXH64 computation. The XXH64 instance is ready for reuse for the given seed
1335
- * @method digest
1336
- * @return {UINT64} xxHash
1337
- */
1338
- XXH64.prototype.digest = function() {
1339
- var input = this.memory;
1340
- var isString = typeof input == "string";
1341
- var p = 0;
1342
- var bEnd = this.memsize;
1343
- var h64, h;
1344
- var u = new UINT64();
1345
- if (this.total_len >= 32) {
1346
- h64 = this.v1.clone().rotl(1);
1347
- h64.add(this.v2.clone().rotl(7));
1348
- h64.add(this.v3.clone().rotl(12));
1349
- h64.add(this.v4.clone().rotl(18));
1350
- h64.xor(this.v1.multiply(PRIME64_2).rotl(31).multiply(PRIME64_1));
1351
- h64.multiply(PRIME64_1).add(PRIME64_4);
1352
- h64.xor(this.v2.multiply(PRIME64_2).rotl(31).multiply(PRIME64_1));
1353
- h64.multiply(PRIME64_1).add(PRIME64_4);
1354
- h64.xor(this.v3.multiply(PRIME64_2).rotl(31).multiply(PRIME64_1));
1355
- h64.multiply(PRIME64_1).add(PRIME64_4);
1356
- h64.xor(this.v4.multiply(PRIME64_2).rotl(31).multiply(PRIME64_1));
1357
- h64.multiply(PRIME64_1).add(PRIME64_4);
1358
- } else h64 = this.seed.clone().add(PRIME64_5);
1359
- h64.add(u.fromNumber(this.total_len));
1360
- while (p <= bEnd - 8) {
1361
- if (isString) u.fromBits(input.charCodeAt(p + 1) << 8 | input.charCodeAt(p), input.charCodeAt(p + 3) << 8 | input.charCodeAt(p + 2), input.charCodeAt(p + 5) << 8 | input.charCodeAt(p + 4), input.charCodeAt(p + 7) << 8 | input.charCodeAt(p + 6));
1362
- else u.fromBits(input[p + 1] << 8 | input[p], input[p + 3] << 8 | input[p + 2], input[p + 5] << 8 | input[p + 4], input[p + 7] << 8 | input[p + 6]);
1363
- u.multiply(PRIME64_2).rotl(31).multiply(PRIME64_1);
1364
- h64.xor(u).rotl(27).multiply(PRIME64_1).add(PRIME64_4);
1365
- p += 8;
1366
- }
1367
- if (p + 4 <= bEnd) {
1368
- if (isString) u.fromBits(input.charCodeAt(p + 1) << 8 | input.charCodeAt(p), input.charCodeAt(p + 3) << 8 | input.charCodeAt(p + 2), 0, 0);
1369
- else u.fromBits(input[p + 1] << 8 | input[p], input[p + 3] << 8 | input[p + 2], 0, 0);
1370
- h64.xor(u.multiply(PRIME64_1)).rotl(23).multiply(PRIME64_2).add(PRIME64_3);
1371
- p += 4;
1372
- }
1373
- while (p < bEnd) {
1374
- u.fromBits(isString ? input.charCodeAt(p++) : input[p++], 0, 0, 0);
1375
- h64.xor(u.multiply(PRIME64_5)).rotl(11).multiply(PRIME64_1);
1376
- }
1377
- h = h64.clone().shiftRight(33);
1378
- h64.xor(h).multiply(PRIME64_2);
1379
- h = h64.clone().shiftRight(29);
1380
- h64.xor(h).multiply(PRIME64_3);
1381
- h = h64.clone().shiftRight(32);
1382
- h64.xor(h);
1383
- this.init(this.seed);
1384
- return h64;
3274
+ InitHash = async () => {
3275
+ this.h64 = (await e()).h64;
1385
3276
  };
1386
- module.exports = XXH64;
1387
- }));
3277
+ xxhash64Signed(input) {
3278
+ if (this.h64) return BigInt.asIntN(64, this.h64(input, this.HASH_SEED));
3279
+ throw (0, import___vite_browser_external.error)(`h64 not initialized`);
3280
+ }
3281
+ hashStringParam(input, normalize) {
3282
+ if (normalize === true) {
3283
+ const normalized = this.normalizeStringParam(input);
3284
+ return this.xxhash64Signed(normalized);
3285
+ } else return this.xxhash64Signed(input);
3286
+ }
3287
+ hashTokenParam({ system, code }) {
3288
+ const combined = (system ?? "") + "|" + code;
3289
+ return this.xxhash64Signed(combined);
3290
+ }
3291
+ hashReferenceParam(reference) {
3292
+ return this.xxhash64Signed(reference);
3293
+ }
3294
+ hashUriParam(uri, lowercase = false) {
3295
+ return this.xxhash64Signed(lowercase ? uri.toLowerCase() : uri);
3296
+ }
3297
+ };
1388
3298
  //#endregion
1389
3299
  //#region src/fhir-utils/fhirHashUtils.ts
1390
- var import_lib = /* @__PURE__ */ __toESM((/* @__PURE__ */ __commonJSMin(((exports, module) => {
1391
- module.exports = {
1392
- h32: require_xxhash(),
1393
- h64: require_xxhash64()
1394
- };
1395
- })))(), 1);
3300
+ HashUtils.getInstance().InitHash();
3301
+ var HASH_SEED = 43981n;
1396
3302
  /**
1397
3303
  * Normalize string values similar to HAPI FHIR (trim, collapse whitespace, lowercase)
1398
3304
  */
1399
3305
  function normalizeStringParam(input) {
1400
3306
  return input.trim().replace(/\s+/g, " ").toLowerCase();
1401
3307
  }
3308
+ var h64;
3309
+ async function initHash() {
3310
+ h64 = (await e()).h64;
3311
+ }
1402
3312
  function xxhash64Signed(input) {
1403
- const hashHex = import_lib.default.h64(input, 43981).toString(16).padStart(16, "0");
1404
- return Buffer.from(hashHex, "hex").readBigInt64BE(0);
3313
+ return BigInt.asIntN(64, h64(input, HASH_SEED));
1405
3314
  }
1406
3315
  /**
1407
3316
  * Converts first 64 bits of MurmurHash3_x64_128 result into signed BigInt
@@ -1410,8 +3319,7 @@ function xxhash64Signed(input) {
1410
3319
  * Compute hash for a normalized string search parameter
1411
3320
  */
1412
3321
  function hashStringParam(input, normalize) {
1413
- if (normalize === true) return xxhash64Signed(normalizeStringParam(input));
1414
- else return xxhash64Signed(input);
3322
+ return HashUtils.getInstance().hashStringParam(input, normalize);
1415
3323
  }
1416
3324
  /**
1417
3325
  * Compute hash for a token search parameter (system|code)
@@ -4544,6 +6452,7 @@ exports.hashReferenceParam = hashReferenceParam;
4544
6452
  exports.hashStringParam = hashStringParam;
4545
6453
  exports.hashTokenParam = hashTokenParam;
4546
6454
  exports.hashUriParam = hashUriParam;
6455
+ exports.initHash = initHash;
4547
6456
  exports.normalizeStringParam = normalizeStringParam;
4548
6457
  exports.xxhash64Signed = xxhash64Signed;
4549
6458