@papaemmelab/isabl-web 0.3.24 → 0.3.25

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.
@@ -6279,6 +6279,164 @@ var camelifyKeys = function camelifyKeys(obj) {
6279
6279
  unslugify: unslugify
6280
6280
  });
6281
6281
 
6282
+ /***/ }),
6283
+
6284
+ /***/ 79742:
6285
+ /***/ (function(__unused_webpack_module, exports) {
6286
+
6287
+ "use strict";
6288
+
6289
+
6290
+ exports.byteLength = byteLength
6291
+ exports.toByteArray = toByteArray
6292
+ exports.fromByteArray = fromByteArray
6293
+
6294
+ var lookup = []
6295
+ var revLookup = []
6296
+ var Arr = typeof Uint8Array !== 'undefined' ? Uint8Array : Array
6297
+
6298
+ var code = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/'
6299
+ for (var i = 0, len = code.length; i < len; ++i) {
6300
+ lookup[i] = code[i]
6301
+ revLookup[code.charCodeAt(i)] = i
6302
+ }
6303
+
6304
+ // Support decoding URL-safe base64 strings, as Node.js does.
6305
+ // See: https://en.wikipedia.org/wiki/Base64#URL_applications
6306
+ revLookup['-'.charCodeAt(0)] = 62
6307
+ revLookup['_'.charCodeAt(0)] = 63
6308
+
6309
+ function getLens (b64) {
6310
+ var len = b64.length
6311
+
6312
+ if (len % 4 > 0) {
6313
+ throw new Error('Invalid string. Length must be a multiple of 4')
6314
+ }
6315
+
6316
+ // Trim off extra bytes after placeholder bytes are found
6317
+ // See: https://github.com/beatgammit/base64-js/issues/42
6318
+ var validLen = b64.indexOf('=')
6319
+ if (validLen === -1) validLen = len
6320
+
6321
+ var placeHoldersLen = validLen === len
6322
+ ? 0
6323
+ : 4 - (validLen % 4)
6324
+
6325
+ return [validLen, placeHoldersLen]
6326
+ }
6327
+
6328
+ // base64 is 4/3 + up to two characters of the original data
6329
+ function byteLength (b64) {
6330
+ var lens = getLens(b64)
6331
+ var validLen = lens[0]
6332
+ var placeHoldersLen = lens[1]
6333
+ return ((validLen + placeHoldersLen) * 3 / 4) - placeHoldersLen
6334
+ }
6335
+
6336
+ function _byteLength (b64, validLen, placeHoldersLen) {
6337
+ return ((validLen + placeHoldersLen) * 3 / 4) - placeHoldersLen
6338
+ }
6339
+
6340
+ function toByteArray (b64) {
6341
+ var tmp
6342
+ var lens = getLens(b64)
6343
+ var validLen = lens[0]
6344
+ var placeHoldersLen = lens[1]
6345
+
6346
+ var arr = new Arr(_byteLength(b64, validLen, placeHoldersLen))
6347
+
6348
+ var curByte = 0
6349
+
6350
+ // if there are placeholders, only get up to the last complete 4 chars
6351
+ var len = placeHoldersLen > 0
6352
+ ? validLen - 4
6353
+ : validLen
6354
+
6355
+ var i
6356
+ for (i = 0; i < len; i += 4) {
6357
+ tmp =
6358
+ (revLookup[b64.charCodeAt(i)] << 18) |
6359
+ (revLookup[b64.charCodeAt(i + 1)] << 12) |
6360
+ (revLookup[b64.charCodeAt(i + 2)] << 6) |
6361
+ revLookup[b64.charCodeAt(i + 3)]
6362
+ arr[curByte++] = (tmp >> 16) & 0xFF
6363
+ arr[curByte++] = (tmp >> 8) & 0xFF
6364
+ arr[curByte++] = tmp & 0xFF
6365
+ }
6366
+
6367
+ if (placeHoldersLen === 2) {
6368
+ tmp =
6369
+ (revLookup[b64.charCodeAt(i)] << 2) |
6370
+ (revLookup[b64.charCodeAt(i + 1)] >> 4)
6371
+ arr[curByte++] = tmp & 0xFF
6372
+ }
6373
+
6374
+ if (placeHoldersLen === 1) {
6375
+ tmp =
6376
+ (revLookup[b64.charCodeAt(i)] << 10) |
6377
+ (revLookup[b64.charCodeAt(i + 1)] << 4) |
6378
+ (revLookup[b64.charCodeAt(i + 2)] >> 2)
6379
+ arr[curByte++] = (tmp >> 8) & 0xFF
6380
+ arr[curByte++] = tmp & 0xFF
6381
+ }
6382
+
6383
+ return arr
6384
+ }
6385
+
6386
+ function tripletToBase64 (num) {
6387
+ return lookup[num >> 18 & 0x3F] +
6388
+ lookup[num >> 12 & 0x3F] +
6389
+ lookup[num >> 6 & 0x3F] +
6390
+ lookup[num & 0x3F]
6391
+ }
6392
+
6393
+ function encodeChunk (uint8, start, end) {
6394
+ var tmp
6395
+ var output = []
6396
+ for (var i = start; i < end; i += 3) {
6397
+ tmp =
6398
+ ((uint8[i] << 16) & 0xFF0000) +
6399
+ ((uint8[i + 1] << 8) & 0xFF00) +
6400
+ (uint8[i + 2] & 0xFF)
6401
+ output.push(tripletToBase64(tmp))
6402
+ }
6403
+ return output.join('')
6404
+ }
6405
+
6406
+ function fromByteArray (uint8) {
6407
+ var tmp
6408
+ var len = uint8.length
6409
+ var extraBytes = len % 3 // if we have 1 byte left, pad 2 bytes
6410
+ var parts = []
6411
+ var maxChunkLength = 16383 // must be multiple of 3
6412
+
6413
+ // go through the array every three bytes, we'll deal with trailing stuff later
6414
+ for (var i = 0, len2 = len - extraBytes; i < len2; i += maxChunkLength) {
6415
+ parts.push(encodeChunk(uint8, i, (i + maxChunkLength) > len2 ? len2 : (i + maxChunkLength)))
6416
+ }
6417
+
6418
+ // pad the end with zeros, but make sure to not forget the extra bytes
6419
+ if (extraBytes === 1) {
6420
+ tmp = uint8[len - 1]
6421
+ parts.push(
6422
+ lookup[tmp >> 2] +
6423
+ lookup[(tmp << 4) & 0x3F] +
6424
+ '=='
6425
+ )
6426
+ } else if (extraBytes === 2) {
6427
+ tmp = (uint8[len - 2] << 8) + uint8[len - 1]
6428
+ parts.push(
6429
+ lookup[tmp >> 10] +
6430
+ lookup[(tmp >> 4) & 0x3F] +
6431
+ lookup[(tmp << 2) & 0x3F] +
6432
+ '='
6433
+ )
6434
+ }
6435
+
6436
+ return parts.join('')
6437
+ }
6438
+
6439
+
6282
6440
  /***/ }),
6283
6441
 
6284
6442
  /***/ 55924:
@@ -8475,6 +8633,2121 @@ var __WEBPACK_AMD_DEFINE_RESULT__;/*
8475
8633
  })()
8476
8634
 
8477
8635
 
8636
+ /***/ }),
8637
+
8638
+ /***/ 48764:
8639
+ /***/ (function(__unused_webpack_module, exports, __webpack_require__) {
8640
+
8641
+ "use strict";
8642
+ var __webpack_unused_export__;
8643
+ /*!
8644
+ * The buffer module from node.js, for the browser.
8645
+ *
8646
+ * @author Feross Aboukhadijeh <https://feross.org>
8647
+ * @license MIT
8648
+ */
8649
+ /* eslint-disable no-proto */
8650
+
8651
+
8652
+
8653
+ const base64 = __webpack_require__(79742)
8654
+ const ieee754 = __webpack_require__(80645)
8655
+ const customInspectSymbol =
8656
+ (typeof Symbol === 'function' && typeof Symbol['for'] === 'function') // eslint-disable-line dot-notation
8657
+ ? Symbol['for']('nodejs.util.inspect.custom') // eslint-disable-line dot-notation
8658
+ : null
8659
+
8660
+ exports.lW = Buffer
8661
+ __webpack_unused_export__ = SlowBuffer
8662
+ exports.h2 = 50
8663
+
8664
+ const K_MAX_LENGTH = 0x7fffffff
8665
+ __webpack_unused_export__ = K_MAX_LENGTH
8666
+
8667
+ /**
8668
+ * If `Buffer.TYPED_ARRAY_SUPPORT`:
8669
+ * === true Use Uint8Array implementation (fastest)
8670
+ * === false Print warning and recommend using `buffer` v4.x which has an Object
8671
+ * implementation (most compatible, even IE6)
8672
+ *
8673
+ * Browsers that support typed arrays are IE 10+, Firefox 4+, Chrome 7+, Safari 5.1+,
8674
+ * Opera 11.6+, iOS 4.2+.
8675
+ *
8676
+ * We report that the browser does not support typed arrays if the are not subclassable
8677
+ * using __proto__. Firefox 4-29 lacks support for adding new properties to `Uint8Array`
8678
+ * (See: https://bugzilla.mozilla.org/show_bug.cgi?id=695438). IE 10 lacks support
8679
+ * for __proto__ and has a buggy typed array implementation.
8680
+ */
8681
+ Buffer.TYPED_ARRAY_SUPPORT = typedArraySupport()
8682
+
8683
+ if (!Buffer.TYPED_ARRAY_SUPPORT && typeof console !== 'undefined' &&
8684
+ typeof console.error === 'function') {
8685
+ console.error(
8686
+ 'This browser lacks typed array (Uint8Array) support which is required by ' +
8687
+ '`buffer` v5.x. Use `buffer` v4.x if you require old browser support.'
8688
+ )
8689
+ }
8690
+
8691
+ function typedArraySupport () {
8692
+ // Can typed array instances can be augmented?
8693
+ try {
8694
+ const arr = new Uint8Array(1)
8695
+ const proto = { foo: function () { return 42 } }
8696
+ Object.setPrototypeOf(proto, Uint8Array.prototype)
8697
+ Object.setPrototypeOf(arr, proto)
8698
+ return arr.foo() === 42
8699
+ } catch (e) {
8700
+ return false
8701
+ }
8702
+ }
8703
+
8704
+ Object.defineProperty(Buffer.prototype, 'parent', {
8705
+ enumerable: true,
8706
+ get: function () {
8707
+ if (!Buffer.isBuffer(this)) return undefined
8708
+ return this.buffer
8709
+ }
8710
+ })
8711
+
8712
+ Object.defineProperty(Buffer.prototype, 'offset', {
8713
+ enumerable: true,
8714
+ get: function () {
8715
+ if (!Buffer.isBuffer(this)) return undefined
8716
+ return this.byteOffset
8717
+ }
8718
+ })
8719
+
8720
+ function createBuffer (length) {
8721
+ if (length > K_MAX_LENGTH) {
8722
+ throw new RangeError('The value "' + length + '" is invalid for option "size"')
8723
+ }
8724
+ // Return an augmented `Uint8Array` instance
8725
+ const buf = new Uint8Array(length)
8726
+ Object.setPrototypeOf(buf, Buffer.prototype)
8727
+ return buf
8728
+ }
8729
+
8730
+ /**
8731
+ * The Buffer constructor returns instances of `Uint8Array` that have their
8732
+ * prototype changed to `Buffer.prototype`. Furthermore, `Buffer` is a subclass of
8733
+ * `Uint8Array`, so the returned instances will have all the node `Buffer` methods
8734
+ * and the `Uint8Array` methods. Square bracket notation works as expected -- it
8735
+ * returns a single octet.
8736
+ *
8737
+ * The `Uint8Array` prototype remains unmodified.
8738
+ */
8739
+
8740
+ function Buffer (arg, encodingOrOffset, length) {
8741
+ // Common case.
8742
+ if (typeof arg === 'number') {
8743
+ if (typeof encodingOrOffset === 'string') {
8744
+ throw new TypeError(
8745
+ 'The "string" argument must be of type string. Received type number'
8746
+ )
8747
+ }
8748
+ return allocUnsafe(arg)
8749
+ }
8750
+ return from(arg, encodingOrOffset, length)
8751
+ }
8752
+
8753
+ Buffer.poolSize = 8192 // not used by this implementation
8754
+
8755
+ function from (value, encodingOrOffset, length) {
8756
+ if (typeof value === 'string') {
8757
+ return fromString(value, encodingOrOffset)
8758
+ }
8759
+
8760
+ if (ArrayBuffer.isView(value)) {
8761
+ return fromArrayView(value)
8762
+ }
8763
+
8764
+ if (value == null) {
8765
+ throw new TypeError(
8766
+ 'The first argument must be one of type string, Buffer, ArrayBuffer, Array, ' +
8767
+ 'or Array-like Object. Received type ' + (typeof value)
8768
+ )
8769
+ }
8770
+
8771
+ if (isInstance(value, ArrayBuffer) ||
8772
+ (value && isInstance(value.buffer, ArrayBuffer))) {
8773
+ return fromArrayBuffer(value, encodingOrOffset, length)
8774
+ }
8775
+
8776
+ if (typeof SharedArrayBuffer !== 'undefined' &&
8777
+ (isInstance(value, SharedArrayBuffer) ||
8778
+ (value && isInstance(value.buffer, SharedArrayBuffer)))) {
8779
+ return fromArrayBuffer(value, encodingOrOffset, length)
8780
+ }
8781
+
8782
+ if (typeof value === 'number') {
8783
+ throw new TypeError(
8784
+ 'The "value" argument must not be of type number. Received type number'
8785
+ )
8786
+ }
8787
+
8788
+ const valueOf = value.valueOf && value.valueOf()
8789
+ if (valueOf != null && valueOf !== value) {
8790
+ return Buffer.from(valueOf, encodingOrOffset, length)
8791
+ }
8792
+
8793
+ const b = fromObject(value)
8794
+ if (b) return b
8795
+
8796
+ if (typeof Symbol !== 'undefined' && Symbol.toPrimitive != null &&
8797
+ typeof value[Symbol.toPrimitive] === 'function') {
8798
+ return Buffer.from(value[Symbol.toPrimitive]('string'), encodingOrOffset, length)
8799
+ }
8800
+
8801
+ throw new TypeError(
8802
+ 'The first argument must be one of type string, Buffer, ArrayBuffer, Array, ' +
8803
+ 'or Array-like Object. Received type ' + (typeof value)
8804
+ )
8805
+ }
8806
+
8807
+ /**
8808
+ * Functionally equivalent to Buffer(arg, encoding) but throws a TypeError
8809
+ * if value is a number.
8810
+ * Buffer.from(str[, encoding])
8811
+ * Buffer.from(array)
8812
+ * Buffer.from(buffer)
8813
+ * Buffer.from(arrayBuffer[, byteOffset[, length]])
8814
+ **/
8815
+ Buffer.from = function (value, encodingOrOffset, length) {
8816
+ return from(value, encodingOrOffset, length)
8817
+ }
8818
+
8819
+ // Note: Change prototype *after* Buffer.from is defined to workaround Chrome bug:
8820
+ // https://github.com/feross/buffer/pull/148
8821
+ Object.setPrototypeOf(Buffer.prototype, Uint8Array.prototype)
8822
+ Object.setPrototypeOf(Buffer, Uint8Array)
8823
+
8824
+ function assertSize (size) {
8825
+ if (typeof size !== 'number') {
8826
+ throw new TypeError('"size" argument must be of type number')
8827
+ } else if (size < 0) {
8828
+ throw new RangeError('The value "' + size + '" is invalid for option "size"')
8829
+ }
8830
+ }
8831
+
8832
+ function alloc (size, fill, encoding) {
8833
+ assertSize(size)
8834
+ if (size <= 0) {
8835
+ return createBuffer(size)
8836
+ }
8837
+ if (fill !== undefined) {
8838
+ // Only pay attention to encoding if it's a string. This
8839
+ // prevents accidentally sending in a number that would
8840
+ // be interpreted as a start offset.
8841
+ return typeof encoding === 'string'
8842
+ ? createBuffer(size).fill(fill, encoding)
8843
+ : createBuffer(size).fill(fill)
8844
+ }
8845
+ return createBuffer(size)
8846
+ }
8847
+
8848
+ /**
8849
+ * Creates a new filled Buffer instance.
8850
+ * alloc(size[, fill[, encoding]])
8851
+ **/
8852
+ Buffer.alloc = function (size, fill, encoding) {
8853
+ return alloc(size, fill, encoding)
8854
+ }
8855
+
8856
+ function allocUnsafe (size) {
8857
+ assertSize(size)
8858
+ return createBuffer(size < 0 ? 0 : checked(size) | 0)
8859
+ }
8860
+
8861
+ /**
8862
+ * Equivalent to Buffer(num), by default creates a non-zero-filled Buffer instance.
8863
+ * */
8864
+ Buffer.allocUnsafe = function (size) {
8865
+ return allocUnsafe(size)
8866
+ }
8867
+ /**
8868
+ * Equivalent to SlowBuffer(num), by default creates a non-zero-filled Buffer instance.
8869
+ */
8870
+ Buffer.allocUnsafeSlow = function (size) {
8871
+ return allocUnsafe(size)
8872
+ }
8873
+
8874
+ function fromString (string, encoding) {
8875
+ if (typeof encoding !== 'string' || encoding === '') {
8876
+ encoding = 'utf8'
8877
+ }
8878
+
8879
+ if (!Buffer.isEncoding(encoding)) {
8880
+ throw new TypeError('Unknown encoding: ' + encoding)
8881
+ }
8882
+
8883
+ const length = byteLength(string, encoding) | 0
8884
+ let buf = createBuffer(length)
8885
+
8886
+ const actual = buf.write(string, encoding)
8887
+
8888
+ if (actual !== length) {
8889
+ // Writing a hex string, for example, that contains invalid characters will
8890
+ // cause everything after the first invalid character to be ignored. (e.g.
8891
+ // 'abxxcd' will be treated as 'ab')
8892
+ buf = buf.slice(0, actual)
8893
+ }
8894
+
8895
+ return buf
8896
+ }
8897
+
8898
+ function fromArrayLike (array) {
8899
+ const length = array.length < 0 ? 0 : checked(array.length) | 0
8900
+ const buf = createBuffer(length)
8901
+ for (let i = 0; i < length; i += 1) {
8902
+ buf[i] = array[i] & 255
8903
+ }
8904
+ return buf
8905
+ }
8906
+
8907
+ function fromArrayView (arrayView) {
8908
+ if (isInstance(arrayView, Uint8Array)) {
8909
+ const copy = new Uint8Array(arrayView)
8910
+ return fromArrayBuffer(copy.buffer, copy.byteOffset, copy.byteLength)
8911
+ }
8912
+ return fromArrayLike(arrayView)
8913
+ }
8914
+
8915
+ function fromArrayBuffer (array, byteOffset, length) {
8916
+ if (byteOffset < 0 || array.byteLength < byteOffset) {
8917
+ throw new RangeError('"offset" is outside of buffer bounds')
8918
+ }
8919
+
8920
+ if (array.byteLength < byteOffset + (length || 0)) {
8921
+ throw new RangeError('"length" is outside of buffer bounds')
8922
+ }
8923
+
8924
+ let buf
8925
+ if (byteOffset === undefined && length === undefined) {
8926
+ buf = new Uint8Array(array)
8927
+ } else if (length === undefined) {
8928
+ buf = new Uint8Array(array, byteOffset)
8929
+ } else {
8930
+ buf = new Uint8Array(array, byteOffset, length)
8931
+ }
8932
+
8933
+ // Return an augmented `Uint8Array` instance
8934
+ Object.setPrototypeOf(buf, Buffer.prototype)
8935
+
8936
+ return buf
8937
+ }
8938
+
8939
+ function fromObject (obj) {
8940
+ if (Buffer.isBuffer(obj)) {
8941
+ const len = checked(obj.length) | 0
8942
+ const buf = createBuffer(len)
8943
+
8944
+ if (buf.length === 0) {
8945
+ return buf
8946
+ }
8947
+
8948
+ obj.copy(buf, 0, 0, len)
8949
+ return buf
8950
+ }
8951
+
8952
+ if (obj.length !== undefined) {
8953
+ if (typeof obj.length !== 'number' || numberIsNaN(obj.length)) {
8954
+ return createBuffer(0)
8955
+ }
8956
+ return fromArrayLike(obj)
8957
+ }
8958
+
8959
+ if (obj.type === 'Buffer' && Array.isArray(obj.data)) {
8960
+ return fromArrayLike(obj.data)
8961
+ }
8962
+ }
8963
+
8964
+ function checked (length) {
8965
+ // Note: cannot use `length < K_MAX_LENGTH` here because that fails when
8966
+ // length is NaN (which is otherwise coerced to zero.)
8967
+ if (length >= K_MAX_LENGTH) {
8968
+ throw new RangeError('Attempt to allocate Buffer larger than maximum ' +
8969
+ 'size: 0x' + K_MAX_LENGTH.toString(16) + ' bytes')
8970
+ }
8971
+ return length | 0
8972
+ }
8973
+
8974
+ function SlowBuffer (length) {
8975
+ if (+length != length) { // eslint-disable-line eqeqeq
8976
+ length = 0
8977
+ }
8978
+ return Buffer.alloc(+length)
8979
+ }
8980
+
8981
+ Buffer.isBuffer = function isBuffer (b) {
8982
+ return b != null && b._isBuffer === true &&
8983
+ b !== Buffer.prototype // so Buffer.isBuffer(Buffer.prototype) will be false
8984
+ }
8985
+
8986
+ Buffer.compare = function compare (a, b) {
8987
+ if (isInstance(a, Uint8Array)) a = Buffer.from(a, a.offset, a.byteLength)
8988
+ if (isInstance(b, Uint8Array)) b = Buffer.from(b, b.offset, b.byteLength)
8989
+ if (!Buffer.isBuffer(a) || !Buffer.isBuffer(b)) {
8990
+ throw new TypeError(
8991
+ 'The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array'
8992
+ )
8993
+ }
8994
+
8995
+ if (a === b) return 0
8996
+
8997
+ let x = a.length
8998
+ let y = b.length
8999
+
9000
+ for (let i = 0, len = Math.min(x, y); i < len; ++i) {
9001
+ if (a[i] !== b[i]) {
9002
+ x = a[i]
9003
+ y = b[i]
9004
+ break
9005
+ }
9006
+ }
9007
+
9008
+ if (x < y) return -1
9009
+ if (y < x) return 1
9010
+ return 0
9011
+ }
9012
+
9013
+ Buffer.isEncoding = function isEncoding (encoding) {
9014
+ switch (String(encoding).toLowerCase()) {
9015
+ case 'hex':
9016
+ case 'utf8':
9017
+ case 'utf-8':
9018
+ case 'ascii':
9019
+ case 'latin1':
9020
+ case 'binary':
9021
+ case 'base64':
9022
+ case 'ucs2':
9023
+ case 'ucs-2':
9024
+ case 'utf16le':
9025
+ case 'utf-16le':
9026
+ return true
9027
+ default:
9028
+ return false
9029
+ }
9030
+ }
9031
+
9032
+ Buffer.concat = function concat (list, length) {
9033
+ if (!Array.isArray(list)) {
9034
+ throw new TypeError('"list" argument must be an Array of Buffers')
9035
+ }
9036
+
9037
+ if (list.length === 0) {
9038
+ return Buffer.alloc(0)
9039
+ }
9040
+
9041
+ let i
9042
+ if (length === undefined) {
9043
+ length = 0
9044
+ for (i = 0; i < list.length; ++i) {
9045
+ length += list[i].length
9046
+ }
9047
+ }
9048
+
9049
+ const buffer = Buffer.allocUnsafe(length)
9050
+ let pos = 0
9051
+ for (i = 0; i < list.length; ++i) {
9052
+ let buf = list[i]
9053
+ if (isInstance(buf, Uint8Array)) {
9054
+ if (pos + buf.length > buffer.length) {
9055
+ if (!Buffer.isBuffer(buf)) buf = Buffer.from(buf)
9056
+ buf.copy(buffer, pos)
9057
+ } else {
9058
+ Uint8Array.prototype.set.call(
9059
+ buffer,
9060
+ buf,
9061
+ pos
9062
+ )
9063
+ }
9064
+ } else if (!Buffer.isBuffer(buf)) {
9065
+ throw new TypeError('"list" argument must be an Array of Buffers')
9066
+ } else {
9067
+ buf.copy(buffer, pos)
9068
+ }
9069
+ pos += buf.length
9070
+ }
9071
+ return buffer
9072
+ }
9073
+
9074
+ function byteLength (string, encoding) {
9075
+ if (Buffer.isBuffer(string)) {
9076
+ return string.length
9077
+ }
9078
+ if (ArrayBuffer.isView(string) || isInstance(string, ArrayBuffer)) {
9079
+ return string.byteLength
9080
+ }
9081
+ if (typeof string !== 'string') {
9082
+ throw new TypeError(
9083
+ 'The "string" argument must be one of type string, Buffer, or ArrayBuffer. ' +
9084
+ 'Received type ' + typeof string
9085
+ )
9086
+ }
9087
+
9088
+ const len = string.length
9089
+ const mustMatch = (arguments.length > 2 && arguments[2] === true)
9090
+ if (!mustMatch && len === 0) return 0
9091
+
9092
+ // Use a for loop to avoid recursion
9093
+ let loweredCase = false
9094
+ for (;;) {
9095
+ switch (encoding) {
9096
+ case 'ascii':
9097
+ case 'latin1':
9098
+ case 'binary':
9099
+ return len
9100
+ case 'utf8':
9101
+ case 'utf-8':
9102
+ return utf8ToBytes(string).length
9103
+ case 'ucs2':
9104
+ case 'ucs-2':
9105
+ case 'utf16le':
9106
+ case 'utf-16le':
9107
+ return len * 2
9108
+ case 'hex':
9109
+ return len >>> 1
9110
+ case 'base64':
9111
+ return base64ToBytes(string).length
9112
+ default:
9113
+ if (loweredCase) {
9114
+ return mustMatch ? -1 : utf8ToBytes(string).length // assume utf8
9115
+ }
9116
+ encoding = ('' + encoding).toLowerCase()
9117
+ loweredCase = true
9118
+ }
9119
+ }
9120
+ }
9121
+ Buffer.byteLength = byteLength
9122
+
9123
+ function slowToString (encoding, start, end) {
9124
+ let loweredCase = false
9125
+
9126
+ // No need to verify that "this.length <= MAX_UINT32" since it's a read-only
9127
+ // property of a typed array.
9128
+
9129
+ // This behaves neither like String nor Uint8Array in that we set start/end
9130
+ // to their upper/lower bounds if the value passed is out of range.
9131
+ // undefined is handled specially as per ECMA-262 6th Edition,
9132
+ // Section 13.3.3.7 Runtime Semantics: KeyedBindingInitialization.
9133
+ if (start === undefined || start < 0) {
9134
+ start = 0
9135
+ }
9136
+ // Return early if start > this.length. Done here to prevent potential uint32
9137
+ // coercion fail below.
9138
+ if (start > this.length) {
9139
+ return ''
9140
+ }
9141
+
9142
+ if (end === undefined || end > this.length) {
9143
+ end = this.length
9144
+ }
9145
+
9146
+ if (end <= 0) {
9147
+ return ''
9148
+ }
9149
+
9150
+ // Force coercion to uint32. This will also coerce falsey/NaN values to 0.
9151
+ end >>>= 0
9152
+ start >>>= 0
9153
+
9154
+ if (end <= start) {
9155
+ return ''
9156
+ }
9157
+
9158
+ if (!encoding) encoding = 'utf8'
9159
+
9160
+ while (true) {
9161
+ switch (encoding) {
9162
+ case 'hex':
9163
+ return hexSlice(this, start, end)
9164
+
9165
+ case 'utf8':
9166
+ case 'utf-8':
9167
+ return utf8Slice(this, start, end)
9168
+
9169
+ case 'ascii':
9170
+ return asciiSlice(this, start, end)
9171
+
9172
+ case 'latin1':
9173
+ case 'binary':
9174
+ return latin1Slice(this, start, end)
9175
+
9176
+ case 'base64':
9177
+ return base64Slice(this, start, end)
9178
+
9179
+ case 'ucs2':
9180
+ case 'ucs-2':
9181
+ case 'utf16le':
9182
+ case 'utf-16le':
9183
+ return utf16leSlice(this, start, end)
9184
+
9185
+ default:
9186
+ if (loweredCase) throw new TypeError('Unknown encoding: ' + encoding)
9187
+ encoding = (encoding + '').toLowerCase()
9188
+ loweredCase = true
9189
+ }
9190
+ }
9191
+ }
9192
+
9193
+ // This property is used by `Buffer.isBuffer` (and the `is-buffer` npm package)
9194
+ // to detect a Buffer instance. It's not possible to use `instanceof Buffer`
9195
+ // reliably in a browserify context because there could be multiple different
9196
+ // copies of the 'buffer' package in use. This method works even for Buffer
9197
+ // instances that were created from another copy of the `buffer` package.
9198
+ // See: https://github.com/feross/buffer/issues/154
9199
+ Buffer.prototype._isBuffer = true
9200
+
9201
+ function swap (b, n, m) {
9202
+ const i = b[n]
9203
+ b[n] = b[m]
9204
+ b[m] = i
9205
+ }
9206
+
9207
+ Buffer.prototype.swap16 = function swap16 () {
9208
+ const len = this.length
9209
+ if (len % 2 !== 0) {
9210
+ throw new RangeError('Buffer size must be a multiple of 16-bits')
9211
+ }
9212
+ for (let i = 0; i < len; i += 2) {
9213
+ swap(this, i, i + 1)
9214
+ }
9215
+ return this
9216
+ }
9217
+
9218
+ Buffer.prototype.swap32 = function swap32 () {
9219
+ const len = this.length
9220
+ if (len % 4 !== 0) {
9221
+ throw new RangeError('Buffer size must be a multiple of 32-bits')
9222
+ }
9223
+ for (let i = 0; i < len; i += 4) {
9224
+ swap(this, i, i + 3)
9225
+ swap(this, i + 1, i + 2)
9226
+ }
9227
+ return this
9228
+ }
9229
+
9230
+ Buffer.prototype.swap64 = function swap64 () {
9231
+ const len = this.length
9232
+ if (len % 8 !== 0) {
9233
+ throw new RangeError('Buffer size must be a multiple of 64-bits')
9234
+ }
9235
+ for (let i = 0; i < len; i += 8) {
9236
+ swap(this, i, i + 7)
9237
+ swap(this, i + 1, i + 6)
9238
+ swap(this, i + 2, i + 5)
9239
+ swap(this, i + 3, i + 4)
9240
+ }
9241
+ return this
9242
+ }
9243
+
9244
+ Buffer.prototype.toString = function toString () {
9245
+ const length = this.length
9246
+ if (length === 0) return ''
9247
+ if (arguments.length === 0) return utf8Slice(this, 0, length)
9248
+ return slowToString.apply(this, arguments)
9249
+ }
9250
+
9251
+ Buffer.prototype.toLocaleString = Buffer.prototype.toString
9252
+
9253
+ Buffer.prototype.equals = function equals (b) {
9254
+ if (!Buffer.isBuffer(b)) throw new TypeError('Argument must be a Buffer')
9255
+ if (this === b) return true
9256
+ return Buffer.compare(this, b) === 0
9257
+ }
9258
+
9259
+ Buffer.prototype.inspect = function inspect () {
9260
+ let str = ''
9261
+ const max = exports.h2
9262
+ str = this.toString('hex', 0, max).replace(/(.{2})/g, '$1 ').trim()
9263
+ if (this.length > max) str += ' ... '
9264
+ return '<Buffer ' + str + '>'
9265
+ }
9266
+ if (customInspectSymbol) {
9267
+ Buffer.prototype[customInspectSymbol] = Buffer.prototype.inspect
9268
+ }
9269
+
9270
+ Buffer.prototype.compare = function compare (target, start, end, thisStart, thisEnd) {
9271
+ if (isInstance(target, Uint8Array)) {
9272
+ target = Buffer.from(target, target.offset, target.byteLength)
9273
+ }
9274
+ if (!Buffer.isBuffer(target)) {
9275
+ throw new TypeError(
9276
+ 'The "target" argument must be one of type Buffer or Uint8Array. ' +
9277
+ 'Received type ' + (typeof target)
9278
+ )
9279
+ }
9280
+
9281
+ if (start === undefined) {
9282
+ start = 0
9283
+ }
9284
+ if (end === undefined) {
9285
+ end = target ? target.length : 0
9286
+ }
9287
+ if (thisStart === undefined) {
9288
+ thisStart = 0
9289
+ }
9290
+ if (thisEnd === undefined) {
9291
+ thisEnd = this.length
9292
+ }
9293
+
9294
+ if (start < 0 || end > target.length || thisStart < 0 || thisEnd > this.length) {
9295
+ throw new RangeError('out of range index')
9296
+ }
9297
+
9298
+ if (thisStart >= thisEnd && start >= end) {
9299
+ return 0
9300
+ }
9301
+ if (thisStart >= thisEnd) {
9302
+ return -1
9303
+ }
9304
+ if (start >= end) {
9305
+ return 1
9306
+ }
9307
+
9308
+ start >>>= 0
9309
+ end >>>= 0
9310
+ thisStart >>>= 0
9311
+ thisEnd >>>= 0
9312
+
9313
+ if (this === target) return 0
9314
+
9315
+ let x = thisEnd - thisStart
9316
+ let y = end - start
9317
+ const len = Math.min(x, y)
9318
+
9319
+ const thisCopy = this.slice(thisStart, thisEnd)
9320
+ const targetCopy = target.slice(start, end)
9321
+
9322
+ for (let i = 0; i < len; ++i) {
9323
+ if (thisCopy[i] !== targetCopy[i]) {
9324
+ x = thisCopy[i]
9325
+ y = targetCopy[i]
9326
+ break
9327
+ }
9328
+ }
9329
+
9330
+ if (x < y) return -1
9331
+ if (y < x) return 1
9332
+ return 0
9333
+ }
9334
+
9335
+ // Finds either the first index of `val` in `buffer` at offset >= `byteOffset`,
9336
+ // OR the last index of `val` in `buffer` at offset <= `byteOffset`.
9337
+ //
9338
+ // Arguments:
9339
+ // - buffer - a Buffer to search
9340
+ // - val - a string, Buffer, or number
9341
+ // - byteOffset - an index into `buffer`; will be clamped to an int32
9342
+ // - encoding - an optional encoding, relevant is val is a string
9343
+ // - dir - true for indexOf, false for lastIndexOf
9344
+ function bidirectionalIndexOf (buffer, val, byteOffset, encoding, dir) {
9345
+ // Empty buffer means no match
9346
+ if (buffer.length === 0) return -1
9347
+
9348
+ // Normalize byteOffset
9349
+ if (typeof byteOffset === 'string') {
9350
+ encoding = byteOffset
9351
+ byteOffset = 0
9352
+ } else if (byteOffset > 0x7fffffff) {
9353
+ byteOffset = 0x7fffffff
9354
+ } else if (byteOffset < -0x80000000) {
9355
+ byteOffset = -0x80000000
9356
+ }
9357
+ byteOffset = +byteOffset // Coerce to Number.
9358
+ if (numberIsNaN(byteOffset)) {
9359
+ // byteOffset: it it's undefined, null, NaN, "foo", etc, search whole buffer
9360
+ byteOffset = dir ? 0 : (buffer.length - 1)
9361
+ }
9362
+
9363
+ // Normalize byteOffset: negative offsets start from the end of the buffer
9364
+ if (byteOffset < 0) byteOffset = buffer.length + byteOffset
9365
+ if (byteOffset >= buffer.length) {
9366
+ if (dir) return -1
9367
+ else byteOffset = buffer.length - 1
9368
+ } else if (byteOffset < 0) {
9369
+ if (dir) byteOffset = 0
9370
+ else return -1
9371
+ }
9372
+
9373
+ // Normalize val
9374
+ if (typeof val === 'string') {
9375
+ val = Buffer.from(val, encoding)
9376
+ }
9377
+
9378
+ // Finally, search either indexOf (if dir is true) or lastIndexOf
9379
+ if (Buffer.isBuffer(val)) {
9380
+ // Special case: looking for empty string/buffer always fails
9381
+ if (val.length === 0) {
9382
+ return -1
9383
+ }
9384
+ return arrayIndexOf(buffer, val, byteOffset, encoding, dir)
9385
+ } else if (typeof val === 'number') {
9386
+ val = val & 0xFF // Search for a byte value [0-255]
9387
+ if (typeof Uint8Array.prototype.indexOf === 'function') {
9388
+ if (dir) {
9389
+ return Uint8Array.prototype.indexOf.call(buffer, val, byteOffset)
9390
+ } else {
9391
+ return Uint8Array.prototype.lastIndexOf.call(buffer, val, byteOffset)
9392
+ }
9393
+ }
9394
+ return arrayIndexOf(buffer, [val], byteOffset, encoding, dir)
9395
+ }
9396
+
9397
+ throw new TypeError('val must be string, number or Buffer')
9398
+ }
9399
+
9400
+ function arrayIndexOf (arr, val, byteOffset, encoding, dir) {
9401
+ let indexSize = 1
9402
+ let arrLength = arr.length
9403
+ let valLength = val.length
9404
+
9405
+ if (encoding !== undefined) {
9406
+ encoding = String(encoding).toLowerCase()
9407
+ if (encoding === 'ucs2' || encoding === 'ucs-2' ||
9408
+ encoding === 'utf16le' || encoding === 'utf-16le') {
9409
+ if (arr.length < 2 || val.length < 2) {
9410
+ return -1
9411
+ }
9412
+ indexSize = 2
9413
+ arrLength /= 2
9414
+ valLength /= 2
9415
+ byteOffset /= 2
9416
+ }
9417
+ }
9418
+
9419
+ function read (buf, i) {
9420
+ if (indexSize === 1) {
9421
+ return buf[i]
9422
+ } else {
9423
+ return buf.readUInt16BE(i * indexSize)
9424
+ }
9425
+ }
9426
+
9427
+ let i
9428
+ if (dir) {
9429
+ let foundIndex = -1
9430
+ for (i = byteOffset; i < arrLength; i++) {
9431
+ if (read(arr, i) === read(val, foundIndex === -1 ? 0 : i - foundIndex)) {
9432
+ if (foundIndex === -1) foundIndex = i
9433
+ if (i - foundIndex + 1 === valLength) return foundIndex * indexSize
9434
+ } else {
9435
+ if (foundIndex !== -1) i -= i - foundIndex
9436
+ foundIndex = -1
9437
+ }
9438
+ }
9439
+ } else {
9440
+ if (byteOffset + valLength > arrLength) byteOffset = arrLength - valLength
9441
+ for (i = byteOffset; i >= 0; i--) {
9442
+ let found = true
9443
+ for (let j = 0; j < valLength; j++) {
9444
+ if (read(arr, i + j) !== read(val, j)) {
9445
+ found = false
9446
+ break
9447
+ }
9448
+ }
9449
+ if (found) return i
9450
+ }
9451
+ }
9452
+
9453
+ return -1
9454
+ }
9455
+
9456
+ Buffer.prototype.includes = function includes (val, byteOffset, encoding) {
9457
+ return this.indexOf(val, byteOffset, encoding) !== -1
9458
+ }
9459
+
9460
+ Buffer.prototype.indexOf = function indexOf (val, byteOffset, encoding) {
9461
+ return bidirectionalIndexOf(this, val, byteOffset, encoding, true)
9462
+ }
9463
+
9464
+ Buffer.prototype.lastIndexOf = function lastIndexOf (val, byteOffset, encoding) {
9465
+ return bidirectionalIndexOf(this, val, byteOffset, encoding, false)
9466
+ }
9467
+
9468
+ function hexWrite (buf, string, offset, length) {
9469
+ offset = Number(offset) || 0
9470
+ const remaining = buf.length - offset
9471
+ if (!length) {
9472
+ length = remaining
9473
+ } else {
9474
+ length = Number(length)
9475
+ if (length > remaining) {
9476
+ length = remaining
9477
+ }
9478
+ }
9479
+
9480
+ const strLen = string.length
9481
+
9482
+ if (length > strLen / 2) {
9483
+ length = strLen / 2
9484
+ }
9485
+ let i
9486
+ for (i = 0; i < length; ++i) {
9487
+ const parsed = parseInt(string.substr(i * 2, 2), 16)
9488
+ if (numberIsNaN(parsed)) return i
9489
+ buf[offset + i] = parsed
9490
+ }
9491
+ return i
9492
+ }
9493
+
9494
+ function utf8Write (buf, string, offset, length) {
9495
+ return blitBuffer(utf8ToBytes(string, buf.length - offset), buf, offset, length)
9496
+ }
9497
+
9498
+ function asciiWrite (buf, string, offset, length) {
9499
+ return blitBuffer(asciiToBytes(string), buf, offset, length)
9500
+ }
9501
+
9502
+ function base64Write (buf, string, offset, length) {
9503
+ return blitBuffer(base64ToBytes(string), buf, offset, length)
9504
+ }
9505
+
9506
+ function ucs2Write (buf, string, offset, length) {
9507
+ return blitBuffer(utf16leToBytes(string, buf.length - offset), buf, offset, length)
9508
+ }
9509
+
9510
+ Buffer.prototype.write = function write (string, offset, length, encoding) {
9511
+ // Buffer#write(string)
9512
+ if (offset === undefined) {
9513
+ encoding = 'utf8'
9514
+ length = this.length
9515
+ offset = 0
9516
+ // Buffer#write(string, encoding)
9517
+ } else if (length === undefined && typeof offset === 'string') {
9518
+ encoding = offset
9519
+ length = this.length
9520
+ offset = 0
9521
+ // Buffer#write(string, offset[, length][, encoding])
9522
+ } else if (isFinite(offset)) {
9523
+ offset = offset >>> 0
9524
+ if (isFinite(length)) {
9525
+ length = length >>> 0
9526
+ if (encoding === undefined) encoding = 'utf8'
9527
+ } else {
9528
+ encoding = length
9529
+ length = undefined
9530
+ }
9531
+ } else {
9532
+ throw new Error(
9533
+ 'Buffer.write(string, encoding, offset[, length]) is no longer supported'
9534
+ )
9535
+ }
9536
+
9537
+ const remaining = this.length - offset
9538
+ if (length === undefined || length > remaining) length = remaining
9539
+
9540
+ if ((string.length > 0 && (length < 0 || offset < 0)) || offset > this.length) {
9541
+ throw new RangeError('Attempt to write outside buffer bounds')
9542
+ }
9543
+
9544
+ if (!encoding) encoding = 'utf8'
9545
+
9546
+ let loweredCase = false
9547
+ for (;;) {
9548
+ switch (encoding) {
9549
+ case 'hex':
9550
+ return hexWrite(this, string, offset, length)
9551
+
9552
+ case 'utf8':
9553
+ case 'utf-8':
9554
+ return utf8Write(this, string, offset, length)
9555
+
9556
+ case 'ascii':
9557
+ case 'latin1':
9558
+ case 'binary':
9559
+ return asciiWrite(this, string, offset, length)
9560
+
9561
+ case 'base64':
9562
+ // Warning: maxLength not taken into account in base64Write
9563
+ return base64Write(this, string, offset, length)
9564
+
9565
+ case 'ucs2':
9566
+ case 'ucs-2':
9567
+ case 'utf16le':
9568
+ case 'utf-16le':
9569
+ return ucs2Write(this, string, offset, length)
9570
+
9571
+ default:
9572
+ if (loweredCase) throw new TypeError('Unknown encoding: ' + encoding)
9573
+ encoding = ('' + encoding).toLowerCase()
9574
+ loweredCase = true
9575
+ }
9576
+ }
9577
+ }
9578
+
9579
+ Buffer.prototype.toJSON = function toJSON () {
9580
+ return {
9581
+ type: 'Buffer',
9582
+ data: Array.prototype.slice.call(this._arr || this, 0)
9583
+ }
9584
+ }
9585
+
9586
+ function base64Slice (buf, start, end) {
9587
+ if (start === 0 && end === buf.length) {
9588
+ return base64.fromByteArray(buf)
9589
+ } else {
9590
+ return base64.fromByteArray(buf.slice(start, end))
9591
+ }
9592
+ }
9593
+
9594
+ function utf8Slice (buf, start, end) {
9595
+ end = Math.min(buf.length, end)
9596
+ const res = []
9597
+
9598
+ let i = start
9599
+ while (i < end) {
9600
+ const firstByte = buf[i]
9601
+ let codePoint = null
9602
+ let bytesPerSequence = (firstByte > 0xEF)
9603
+ ? 4
9604
+ : (firstByte > 0xDF)
9605
+ ? 3
9606
+ : (firstByte > 0xBF)
9607
+ ? 2
9608
+ : 1
9609
+
9610
+ if (i + bytesPerSequence <= end) {
9611
+ let secondByte, thirdByte, fourthByte, tempCodePoint
9612
+
9613
+ switch (bytesPerSequence) {
9614
+ case 1:
9615
+ if (firstByte < 0x80) {
9616
+ codePoint = firstByte
9617
+ }
9618
+ break
9619
+ case 2:
9620
+ secondByte = buf[i + 1]
9621
+ if ((secondByte & 0xC0) === 0x80) {
9622
+ tempCodePoint = (firstByte & 0x1F) << 0x6 | (secondByte & 0x3F)
9623
+ if (tempCodePoint > 0x7F) {
9624
+ codePoint = tempCodePoint
9625
+ }
9626
+ }
9627
+ break
9628
+ case 3:
9629
+ secondByte = buf[i + 1]
9630
+ thirdByte = buf[i + 2]
9631
+ if ((secondByte & 0xC0) === 0x80 && (thirdByte & 0xC0) === 0x80) {
9632
+ tempCodePoint = (firstByte & 0xF) << 0xC | (secondByte & 0x3F) << 0x6 | (thirdByte & 0x3F)
9633
+ if (tempCodePoint > 0x7FF && (tempCodePoint < 0xD800 || tempCodePoint > 0xDFFF)) {
9634
+ codePoint = tempCodePoint
9635
+ }
9636
+ }
9637
+ break
9638
+ case 4:
9639
+ secondByte = buf[i + 1]
9640
+ thirdByte = buf[i + 2]
9641
+ fourthByte = buf[i + 3]
9642
+ if ((secondByte & 0xC0) === 0x80 && (thirdByte & 0xC0) === 0x80 && (fourthByte & 0xC0) === 0x80) {
9643
+ tempCodePoint = (firstByte & 0xF) << 0x12 | (secondByte & 0x3F) << 0xC | (thirdByte & 0x3F) << 0x6 | (fourthByte & 0x3F)
9644
+ if (tempCodePoint > 0xFFFF && tempCodePoint < 0x110000) {
9645
+ codePoint = tempCodePoint
9646
+ }
9647
+ }
9648
+ }
9649
+ }
9650
+
9651
+ if (codePoint === null) {
9652
+ // we did not generate a valid codePoint so insert a
9653
+ // replacement char (U+FFFD) and advance only 1 byte
9654
+ codePoint = 0xFFFD
9655
+ bytesPerSequence = 1
9656
+ } else if (codePoint > 0xFFFF) {
9657
+ // encode to utf16 (surrogate pair dance)
9658
+ codePoint -= 0x10000
9659
+ res.push(codePoint >>> 10 & 0x3FF | 0xD800)
9660
+ codePoint = 0xDC00 | codePoint & 0x3FF
9661
+ }
9662
+
9663
+ res.push(codePoint)
9664
+ i += bytesPerSequence
9665
+ }
9666
+
9667
+ return decodeCodePointsArray(res)
9668
+ }
9669
+
9670
+ // Based on http://stackoverflow.com/a/22747272/680742, the browser with
9671
+ // the lowest limit is Chrome, with 0x10000 args.
9672
+ // We go 1 magnitude less, for safety
9673
+ const MAX_ARGUMENTS_LENGTH = 0x1000
9674
+
9675
+ function decodeCodePointsArray (codePoints) {
9676
+ const len = codePoints.length
9677
+ if (len <= MAX_ARGUMENTS_LENGTH) {
9678
+ return String.fromCharCode.apply(String, codePoints) // avoid extra slice()
9679
+ }
9680
+
9681
+ // Decode in chunks to avoid "call stack size exceeded".
9682
+ let res = ''
9683
+ let i = 0
9684
+ while (i < len) {
9685
+ res += String.fromCharCode.apply(
9686
+ String,
9687
+ codePoints.slice(i, i += MAX_ARGUMENTS_LENGTH)
9688
+ )
9689
+ }
9690
+ return res
9691
+ }
9692
+
9693
+ function asciiSlice (buf, start, end) {
9694
+ let ret = ''
9695
+ end = Math.min(buf.length, end)
9696
+
9697
+ for (let i = start; i < end; ++i) {
9698
+ ret += String.fromCharCode(buf[i] & 0x7F)
9699
+ }
9700
+ return ret
9701
+ }
9702
+
9703
+ function latin1Slice (buf, start, end) {
9704
+ let ret = ''
9705
+ end = Math.min(buf.length, end)
9706
+
9707
+ for (let i = start; i < end; ++i) {
9708
+ ret += String.fromCharCode(buf[i])
9709
+ }
9710
+ return ret
9711
+ }
9712
+
9713
+ function hexSlice (buf, start, end) {
9714
+ const len = buf.length
9715
+
9716
+ if (!start || start < 0) start = 0
9717
+ if (!end || end < 0 || end > len) end = len
9718
+
9719
+ let out = ''
9720
+ for (let i = start; i < end; ++i) {
9721
+ out += hexSliceLookupTable[buf[i]]
9722
+ }
9723
+ return out
9724
+ }
9725
+
9726
+ function utf16leSlice (buf, start, end) {
9727
+ const bytes = buf.slice(start, end)
9728
+ let res = ''
9729
+ // If bytes.length is odd, the last 8 bits must be ignored (same as node.js)
9730
+ for (let i = 0; i < bytes.length - 1; i += 2) {
9731
+ res += String.fromCharCode(bytes[i] + (bytes[i + 1] * 256))
9732
+ }
9733
+ return res
9734
+ }
9735
+
9736
+ Buffer.prototype.slice = function slice (start, end) {
9737
+ const len = this.length
9738
+ start = ~~start
9739
+ end = end === undefined ? len : ~~end
9740
+
9741
+ if (start < 0) {
9742
+ start += len
9743
+ if (start < 0) start = 0
9744
+ } else if (start > len) {
9745
+ start = len
9746
+ }
9747
+
9748
+ if (end < 0) {
9749
+ end += len
9750
+ if (end < 0) end = 0
9751
+ } else if (end > len) {
9752
+ end = len
9753
+ }
9754
+
9755
+ if (end < start) end = start
9756
+
9757
+ const newBuf = this.subarray(start, end)
9758
+ // Return an augmented `Uint8Array` instance
9759
+ Object.setPrototypeOf(newBuf, Buffer.prototype)
9760
+
9761
+ return newBuf
9762
+ }
9763
+
9764
+ /*
9765
+ * Need to make sure that buffer isn't trying to write out of bounds.
9766
+ */
9767
+ function checkOffset (offset, ext, length) {
9768
+ if ((offset % 1) !== 0 || offset < 0) throw new RangeError('offset is not uint')
9769
+ if (offset + ext > length) throw new RangeError('Trying to access beyond buffer length')
9770
+ }
9771
+
9772
+ Buffer.prototype.readUintLE =
9773
+ Buffer.prototype.readUIntLE = function readUIntLE (offset, byteLength, noAssert) {
9774
+ offset = offset >>> 0
9775
+ byteLength = byteLength >>> 0
9776
+ if (!noAssert) checkOffset(offset, byteLength, this.length)
9777
+
9778
+ let val = this[offset]
9779
+ let mul = 1
9780
+ let i = 0
9781
+ while (++i < byteLength && (mul *= 0x100)) {
9782
+ val += this[offset + i] * mul
9783
+ }
9784
+
9785
+ return val
9786
+ }
9787
+
9788
+ Buffer.prototype.readUintBE =
9789
+ Buffer.prototype.readUIntBE = function readUIntBE (offset, byteLength, noAssert) {
9790
+ offset = offset >>> 0
9791
+ byteLength = byteLength >>> 0
9792
+ if (!noAssert) {
9793
+ checkOffset(offset, byteLength, this.length)
9794
+ }
9795
+
9796
+ let val = this[offset + --byteLength]
9797
+ let mul = 1
9798
+ while (byteLength > 0 && (mul *= 0x100)) {
9799
+ val += this[offset + --byteLength] * mul
9800
+ }
9801
+
9802
+ return val
9803
+ }
9804
+
9805
+ Buffer.prototype.readUint8 =
9806
+ Buffer.prototype.readUInt8 = function readUInt8 (offset, noAssert) {
9807
+ offset = offset >>> 0
9808
+ if (!noAssert) checkOffset(offset, 1, this.length)
9809
+ return this[offset]
9810
+ }
9811
+
9812
+ Buffer.prototype.readUint16LE =
9813
+ Buffer.prototype.readUInt16LE = function readUInt16LE (offset, noAssert) {
9814
+ offset = offset >>> 0
9815
+ if (!noAssert) checkOffset(offset, 2, this.length)
9816
+ return this[offset] | (this[offset + 1] << 8)
9817
+ }
9818
+
9819
+ Buffer.prototype.readUint16BE =
9820
+ Buffer.prototype.readUInt16BE = function readUInt16BE (offset, noAssert) {
9821
+ offset = offset >>> 0
9822
+ if (!noAssert) checkOffset(offset, 2, this.length)
9823
+ return (this[offset] << 8) | this[offset + 1]
9824
+ }
9825
+
9826
+ Buffer.prototype.readUint32LE =
9827
+ Buffer.prototype.readUInt32LE = function readUInt32LE (offset, noAssert) {
9828
+ offset = offset >>> 0
9829
+ if (!noAssert) checkOffset(offset, 4, this.length)
9830
+
9831
+ return ((this[offset]) |
9832
+ (this[offset + 1] << 8) |
9833
+ (this[offset + 2] << 16)) +
9834
+ (this[offset + 3] * 0x1000000)
9835
+ }
9836
+
9837
+ Buffer.prototype.readUint32BE =
9838
+ Buffer.prototype.readUInt32BE = function readUInt32BE (offset, noAssert) {
9839
+ offset = offset >>> 0
9840
+ if (!noAssert) checkOffset(offset, 4, this.length)
9841
+
9842
+ return (this[offset] * 0x1000000) +
9843
+ ((this[offset + 1] << 16) |
9844
+ (this[offset + 2] << 8) |
9845
+ this[offset + 3])
9846
+ }
9847
+
9848
+ Buffer.prototype.readBigUInt64LE = defineBigIntMethod(function readBigUInt64LE (offset) {
9849
+ offset = offset >>> 0
9850
+ validateNumber(offset, 'offset')
9851
+ const first = this[offset]
9852
+ const last = this[offset + 7]
9853
+ if (first === undefined || last === undefined) {
9854
+ boundsError(offset, this.length - 8)
9855
+ }
9856
+
9857
+ const lo = first +
9858
+ this[++offset] * 2 ** 8 +
9859
+ this[++offset] * 2 ** 16 +
9860
+ this[++offset] * 2 ** 24
9861
+
9862
+ const hi = this[++offset] +
9863
+ this[++offset] * 2 ** 8 +
9864
+ this[++offset] * 2 ** 16 +
9865
+ last * 2 ** 24
9866
+
9867
+ return BigInt(lo) + (BigInt(hi) << BigInt(32))
9868
+ })
9869
+
9870
+ Buffer.prototype.readBigUInt64BE = defineBigIntMethod(function readBigUInt64BE (offset) {
9871
+ offset = offset >>> 0
9872
+ validateNumber(offset, 'offset')
9873
+ const first = this[offset]
9874
+ const last = this[offset + 7]
9875
+ if (first === undefined || last === undefined) {
9876
+ boundsError(offset, this.length - 8)
9877
+ }
9878
+
9879
+ const hi = first * 2 ** 24 +
9880
+ this[++offset] * 2 ** 16 +
9881
+ this[++offset] * 2 ** 8 +
9882
+ this[++offset]
9883
+
9884
+ const lo = this[++offset] * 2 ** 24 +
9885
+ this[++offset] * 2 ** 16 +
9886
+ this[++offset] * 2 ** 8 +
9887
+ last
9888
+
9889
+ return (BigInt(hi) << BigInt(32)) + BigInt(lo)
9890
+ })
9891
+
9892
+ Buffer.prototype.readIntLE = function readIntLE (offset, byteLength, noAssert) {
9893
+ offset = offset >>> 0
9894
+ byteLength = byteLength >>> 0
9895
+ if (!noAssert) checkOffset(offset, byteLength, this.length)
9896
+
9897
+ let val = this[offset]
9898
+ let mul = 1
9899
+ let i = 0
9900
+ while (++i < byteLength && (mul *= 0x100)) {
9901
+ val += this[offset + i] * mul
9902
+ }
9903
+ mul *= 0x80
9904
+
9905
+ if (val >= mul) val -= Math.pow(2, 8 * byteLength)
9906
+
9907
+ return val
9908
+ }
9909
+
9910
+ Buffer.prototype.readIntBE = function readIntBE (offset, byteLength, noAssert) {
9911
+ offset = offset >>> 0
9912
+ byteLength = byteLength >>> 0
9913
+ if (!noAssert) checkOffset(offset, byteLength, this.length)
9914
+
9915
+ let i = byteLength
9916
+ let mul = 1
9917
+ let val = this[offset + --i]
9918
+ while (i > 0 && (mul *= 0x100)) {
9919
+ val += this[offset + --i] * mul
9920
+ }
9921
+ mul *= 0x80
9922
+
9923
+ if (val >= mul) val -= Math.pow(2, 8 * byteLength)
9924
+
9925
+ return val
9926
+ }
9927
+
9928
+ Buffer.prototype.readInt8 = function readInt8 (offset, noAssert) {
9929
+ offset = offset >>> 0
9930
+ if (!noAssert) checkOffset(offset, 1, this.length)
9931
+ if (!(this[offset] & 0x80)) return (this[offset])
9932
+ return ((0xff - this[offset] + 1) * -1)
9933
+ }
9934
+
9935
+ Buffer.prototype.readInt16LE = function readInt16LE (offset, noAssert) {
9936
+ offset = offset >>> 0
9937
+ if (!noAssert) checkOffset(offset, 2, this.length)
9938
+ const val = this[offset] | (this[offset + 1] << 8)
9939
+ return (val & 0x8000) ? val | 0xFFFF0000 : val
9940
+ }
9941
+
9942
+ Buffer.prototype.readInt16BE = function readInt16BE (offset, noAssert) {
9943
+ offset = offset >>> 0
9944
+ if (!noAssert) checkOffset(offset, 2, this.length)
9945
+ const val = this[offset + 1] | (this[offset] << 8)
9946
+ return (val & 0x8000) ? val | 0xFFFF0000 : val
9947
+ }
9948
+
9949
+ Buffer.prototype.readInt32LE = function readInt32LE (offset, noAssert) {
9950
+ offset = offset >>> 0
9951
+ if (!noAssert) checkOffset(offset, 4, this.length)
9952
+
9953
+ return (this[offset]) |
9954
+ (this[offset + 1] << 8) |
9955
+ (this[offset + 2] << 16) |
9956
+ (this[offset + 3] << 24)
9957
+ }
9958
+
9959
+ Buffer.prototype.readInt32BE = function readInt32BE (offset, noAssert) {
9960
+ offset = offset >>> 0
9961
+ if (!noAssert) checkOffset(offset, 4, this.length)
9962
+
9963
+ return (this[offset] << 24) |
9964
+ (this[offset + 1] << 16) |
9965
+ (this[offset + 2] << 8) |
9966
+ (this[offset + 3])
9967
+ }
9968
+
9969
+ Buffer.prototype.readBigInt64LE = defineBigIntMethod(function readBigInt64LE (offset) {
9970
+ offset = offset >>> 0
9971
+ validateNumber(offset, 'offset')
9972
+ const first = this[offset]
9973
+ const last = this[offset + 7]
9974
+ if (first === undefined || last === undefined) {
9975
+ boundsError(offset, this.length - 8)
9976
+ }
9977
+
9978
+ const val = this[offset + 4] +
9979
+ this[offset + 5] * 2 ** 8 +
9980
+ this[offset + 6] * 2 ** 16 +
9981
+ (last << 24) // Overflow
9982
+
9983
+ return (BigInt(val) << BigInt(32)) +
9984
+ BigInt(first +
9985
+ this[++offset] * 2 ** 8 +
9986
+ this[++offset] * 2 ** 16 +
9987
+ this[++offset] * 2 ** 24)
9988
+ })
9989
+
9990
+ Buffer.prototype.readBigInt64BE = defineBigIntMethod(function readBigInt64BE (offset) {
9991
+ offset = offset >>> 0
9992
+ validateNumber(offset, 'offset')
9993
+ const first = this[offset]
9994
+ const last = this[offset + 7]
9995
+ if (first === undefined || last === undefined) {
9996
+ boundsError(offset, this.length - 8)
9997
+ }
9998
+
9999
+ const val = (first << 24) + // Overflow
10000
+ this[++offset] * 2 ** 16 +
10001
+ this[++offset] * 2 ** 8 +
10002
+ this[++offset]
10003
+
10004
+ return (BigInt(val) << BigInt(32)) +
10005
+ BigInt(this[++offset] * 2 ** 24 +
10006
+ this[++offset] * 2 ** 16 +
10007
+ this[++offset] * 2 ** 8 +
10008
+ last)
10009
+ })
10010
+
10011
+ Buffer.prototype.readFloatLE = function readFloatLE (offset, noAssert) {
10012
+ offset = offset >>> 0
10013
+ if (!noAssert) checkOffset(offset, 4, this.length)
10014
+ return ieee754.read(this, offset, true, 23, 4)
10015
+ }
10016
+
10017
+ Buffer.prototype.readFloatBE = function readFloatBE (offset, noAssert) {
10018
+ offset = offset >>> 0
10019
+ if (!noAssert) checkOffset(offset, 4, this.length)
10020
+ return ieee754.read(this, offset, false, 23, 4)
10021
+ }
10022
+
10023
+ Buffer.prototype.readDoubleLE = function readDoubleLE (offset, noAssert) {
10024
+ offset = offset >>> 0
10025
+ if (!noAssert) checkOffset(offset, 8, this.length)
10026
+ return ieee754.read(this, offset, true, 52, 8)
10027
+ }
10028
+
10029
+ Buffer.prototype.readDoubleBE = function readDoubleBE (offset, noAssert) {
10030
+ offset = offset >>> 0
10031
+ if (!noAssert) checkOffset(offset, 8, this.length)
10032
+ return ieee754.read(this, offset, false, 52, 8)
10033
+ }
10034
+
10035
+ function checkInt (buf, value, offset, ext, max, min) {
10036
+ if (!Buffer.isBuffer(buf)) throw new TypeError('"buffer" argument must be a Buffer instance')
10037
+ if (value > max || value < min) throw new RangeError('"value" argument is out of bounds')
10038
+ if (offset + ext > buf.length) throw new RangeError('Index out of range')
10039
+ }
10040
+
10041
+ Buffer.prototype.writeUintLE =
10042
+ Buffer.prototype.writeUIntLE = function writeUIntLE (value, offset, byteLength, noAssert) {
10043
+ value = +value
10044
+ offset = offset >>> 0
10045
+ byteLength = byteLength >>> 0
10046
+ if (!noAssert) {
10047
+ const maxBytes = Math.pow(2, 8 * byteLength) - 1
10048
+ checkInt(this, value, offset, byteLength, maxBytes, 0)
10049
+ }
10050
+
10051
+ let mul = 1
10052
+ let i = 0
10053
+ this[offset] = value & 0xFF
10054
+ while (++i < byteLength && (mul *= 0x100)) {
10055
+ this[offset + i] = (value / mul) & 0xFF
10056
+ }
10057
+
10058
+ return offset + byteLength
10059
+ }
10060
+
10061
+ Buffer.prototype.writeUintBE =
10062
+ Buffer.prototype.writeUIntBE = function writeUIntBE (value, offset, byteLength, noAssert) {
10063
+ value = +value
10064
+ offset = offset >>> 0
10065
+ byteLength = byteLength >>> 0
10066
+ if (!noAssert) {
10067
+ const maxBytes = Math.pow(2, 8 * byteLength) - 1
10068
+ checkInt(this, value, offset, byteLength, maxBytes, 0)
10069
+ }
10070
+
10071
+ let i = byteLength - 1
10072
+ let mul = 1
10073
+ this[offset + i] = value & 0xFF
10074
+ while (--i >= 0 && (mul *= 0x100)) {
10075
+ this[offset + i] = (value / mul) & 0xFF
10076
+ }
10077
+
10078
+ return offset + byteLength
10079
+ }
10080
+
10081
+ Buffer.prototype.writeUint8 =
10082
+ Buffer.prototype.writeUInt8 = function writeUInt8 (value, offset, noAssert) {
10083
+ value = +value
10084
+ offset = offset >>> 0
10085
+ if (!noAssert) checkInt(this, value, offset, 1, 0xff, 0)
10086
+ this[offset] = (value & 0xff)
10087
+ return offset + 1
10088
+ }
10089
+
10090
+ Buffer.prototype.writeUint16LE =
10091
+ Buffer.prototype.writeUInt16LE = function writeUInt16LE (value, offset, noAssert) {
10092
+ value = +value
10093
+ offset = offset >>> 0
10094
+ if (!noAssert) checkInt(this, value, offset, 2, 0xffff, 0)
10095
+ this[offset] = (value & 0xff)
10096
+ this[offset + 1] = (value >>> 8)
10097
+ return offset + 2
10098
+ }
10099
+
10100
+ Buffer.prototype.writeUint16BE =
10101
+ Buffer.prototype.writeUInt16BE = function writeUInt16BE (value, offset, noAssert) {
10102
+ value = +value
10103
+ offset = offset >>> 0
10104
+ if (!noAssert) checkInt(this, value, offset, 2, 0xffff, 0)
10105
+ this[offset] = (value >>> 8)
10106
+ this[offset + 1] = (value & 0xff)
10107
+ return offset + 2
10108
+ }
10109
+
10110
+ Buffer.prototype.writeUint32LE =
10111
+ Buffer.prototype.writeUInt32LE = function writeUInt32LE (value, offset, noAssert) {
10112
+ value = +value
10113
+ offset = offset >>> 0
10114
+ if (!noAssert) checkInt(this, value, offset, 4, 0xffffffff, 0)
10115
+ this[offset + 3] = (value >>> 24)
10116
+ this[offset + 2] = (value >>> 16)
10117
+ this[offset + 1] = (value >>> 8)
10118
+ this[offset] = (value & 0xff)
10119
+ return offset + 4
10120
+ }
10121
+
10122
+ Buffer.prototype.writeUint32BE =
10123
+ Buffer.prototype.writeUInt32BE = function writeUInt32BE (value, offset, noAssert) {
10124
+ value = +value
10125
+ offset = offset >>> 0
10126
+ if (!noAssert) checkInt(this, value, offset, 4, 0xffffffff, 0)
10127
+ this[offset] = (value >>> 24)
10128
+ this[offset + 1] = (value >>> 16)
10129
+ this[offset + 2] = (value >>> 8)
10130
+ this[offset + 3] = (value & 0xff)
10131
+ return offset + 4
10132
+ }
10133
+
10134
+ function wrtBigUInt64LE (buf, value, offset, min, max) {
10135
+ checkIntBI(value, min, max, buf, offset, 7)
10136
+
10137
+ let lo = Number(value & BigInt(0xffffffff))
10138
+ buf[offset++] = lo
10139
+ lo = lo >> 8
10140
+ buf[offset++] = lo
10141
+ lo = lo >> 8
10142
+ buf[offset++] = lo
10143
+ lo = lo >> 8
10144
+ buf[offset++] = lo
10145
+ let hi = Number(value >> BigInt(32) & BigInt(0xffffffff))
10146
+ buf[offset++] = hi
10147
+ hi = hi >> 8
10148
+ buf[offset++] = hi
10149
+ hi = hi >> 8
10150
+ buf[offset++] = hi
10151
+ hi = hi >> 8
10152
+ buf[offset++] = hi
10153
+ return offset
10154
+ }
10155
+
10156
+ function wrtBigUInt64BE (buf, value, offset, min, max) {
10157
+ checkIntBI(value, min, max, buf, offset, 7)
10158
+
10159
+ let lo = Number(value & BigInt(0xffffffff))
10160
+ buf[offset + 7] = lo
10161
+ lo = lo >> 8
10162
+ buf[offset + 6] = lo
10163
+ lo = lo >> 8
10164
+ buf[offset + 5] = lo
10165
+ lo = lo >> 8
10166
+ buf[offset + 4] = lo
10167
+ let hi = Number(value >> BigInt(32) & BigInt(0xffffffff))
10168
+ buf[offset + 3] = hi
10169
+ hi = hi >> 8
10170
+ buf[offset + 2] = hi
10171
+ hi = hi >> 8
10172
+ buf[offset + 1] = hi
10173
+ hi = hi >> 8
10174
+ buf[offset] = hi
10175
+ return offset + 8
10176
+ }
10177
+
10178
+ Buffer.prototype.writeBigUInt64LE = defineBigIntMethod(function writeBigUInt64LE (value, offset = 0) {
10179
+ return wrtBigUInt64LE(this, value, offset, BigInt(0), BigInt('0xffffffffffffffff'))
10180
+ })
10181
+
10182
+ Buffer.prototype.writeBigUInt64BE = defineBigIntMethod(function writeBigUInt64BE (value, offset = 0) {
10183
+ return wrtBigUInt64BE(this, value, offset, BigInt(0), BigInt('0xffffffffffffffff'))
10184
+ })
10185
+
10186
+ Buffer.prototype.writeIntLE = function writeIntLE (value, offset, byteLength, noAssert) {
10187
+ value = +value
10188
+ offset = offset >>> 0
10189
+ if (!noAssert) {
10190
+ const limit = Math.pow(2, (8 * byteLength) - 1)
10191
+
10192
+ checkInt(this, value, offset, byteLength, limit - 1, -limit)
10193
+ }
10194
+
10195
+ let i = 0
10196
+ let mul = 1
10197
+ let sub = 0
10198
+ this[offset] = value & 0xFF
10199
+ while (++i < byteLength && (mul *= 0x100)) {
10200
+ if (value < 0 && sub === 0 && this[offset + i - 1] !== 0) {
10201
+ sub = 1
10202
+ }
10203
+ this[offset + i] = ((value / mul) >> 0) - sub & 0xFF
10204
+ }
10205
+
10206
+ return offset + byteLength
10207
+ }
10208
+
10209
+ Buffer.prototype.writeIntBE = function writeIntBE (value, offset, byteLength, noAssert) {
10210
+ value = +value
10211
+ offset = offset >>> 0
10212
+ if (!noAssert) {
10213
+ const limit = Math.pow(2, (8 * byteLength) - 1)
10214
+
10215
+ checkInt(this, value, offset, byteLength, limit - 1, -limit)
10216
+ }
10217
+
10218
+ let i = byteLength - 1
10219
+ let mul = 1
10220
+ let sub = 0
10221
+ this[offset + i] = value & 0xFF
10222
+ while (--i >= 0 && (mul *= 0x100)) {
10223
+ if (value < 0 && sub === 0 && this[offset + i + 1] !== 0) {
10224
+ sub = 1
10225
+ }
10226
+ this[offset + i] = ((value / mul) >> 0) - sub & 0xFF
10227
+ }
10228
+
10229
+ return offset + byteLength
10230
+ }
10231
+
10232
+ Buffer.prototype.writeInt8 = function writeInt8 (value, offset, noAssert) {
10233
+ value = +value
10234
+ offset = offset >>> 0
10235
+ if (!noAssert) checkInt(this, value, offset, 1, 0x7f, -0x80)
10236
+ if (value < 0) value = 0xff + value + 1
10237
+ this[offset] = (value & 0xff)
10238
+ return offset + 1
10239
+ }
10240
+
10241
+ Buffer.prototype.writeInt16LE = function writeInt16LE (value, offset, noAssert) {
10242
+ value = +value
10243
+ offset = offset >>> 0
10244
+ if (!noAssert) checkInt(this, value, offset, 2, 0x7fff, -0x8000)
10245
+ this[offset] = (value & 0xff)
10246
+ this[offset + 1] = (value >>> 8)
10247
+ return offset + 2
10248
+ }
10249
+
10250
+ Buffer.prototype.writeInt16BE = function writeInt16BE (value, offset, noAssert) {
10251
+ value = +value
10252
+ offset = offset >>> 0
10253
+ if (!noAssert) checkInt(this, value, offset, 2, 0x7fff, -0x8000)
10254
+ this[offset] = (value >>> 8)
10255
+ this[offset + 1] = (value & 0xff)
10256
+ return offset + 2
10257
+ }
10258
+
10259
+ Buffer.prototype.writeInt32LE = function writeInt32LE (value, offset, noAssert) {
10260
+ value = +value
10261
+ offset = offset >>> 0
10262
+ if (!noAssert) checkInt(this, value, offset, 4, 0x7fffffff, -0x80000000)
10263
+ this[offset] = (value & 0xff)
10264
+ this[offset + 1] = (value >>> 8)
10265
+ this[offset + 2] = (value >>> 16)
10266
+ this[offset + 3] = (value >>> 24)
10267
+ return offset + 4
10268
+ }
10269
+
10270
+ Buffer.prototype.writeInt32BE = function writeInt32BE (value, offset, noAssert) {
10271
+ value = +value
10272
+ offset = offset >>> 0
10273
+ if (!noAssert) checkInt(this, value, offset, 4, 0x7fffffff, -0x80000000)
10274
+ if (value < 0) value = 0xffffffff + value + 1
10275
+ this[offset] = (value >>> 24)
10276
+ this[offset + 1] = (value >>> 16)
10277
+ this[offset + 2] = (value >>> 8)
10278
+ this[offset + 3] = (value & 0xff)
10279
+ return offset + 4
10280
+ }
10281
+
10282
+ Buffer.prototype.writeBigInt64LE = defineBigIntMethod(function writeBigInt64LE (value, offset = 0) {
10283
+ return wrtBigUInt64LE(this, value, offset, -BigInt('0x8000000000000000'), BigInt('0x7fffffffffffffff'))
10284
+ })
10285
+
10286
+ Buffer.prototype.writeBigInt64BE = defineBigIntMethod(function writeBigInt64BE (value, offset = 0) {
10287
+ return wrtBigUInt64BE(this, value, offset, -BigInt('0x8000000000000000'), BigInt('0x7fffffffffffffff'))
10288
+ })
10289
+
10290
+ function checkIEEE754 (buf, value, offset, ext, max, min) {
10291
+ if (offset + ext > buf.length) throw new RangeError('Index out of range')
10292
+ if (offset < 0) throw new RangeError('Index out of range')
10293
+ }
10294
+
10295
+ function writeFloat (buf, value, offset, littleEndian, noAssert) {
10296
+ value = +value
10297
+ offset = offset >>> 0
10298
+ if (!noAssert) {
10299
+ checkIEEE754(buf, value, offset, 4, 3.4028234663852886e+38, -3.4028234663852886e+38)
10300
+ }
10301
+ ieee754.write(buf, value, offset, littleEndian, 23, 4)
10302
+ return offset + 4
10303
+ }
10304
+
10305
+ Buffer.prototype.writeFloatLE = function writeFloatLE (value, offset, noAssert) {
10306
+ return writeFloat(this, value, offset, true, noAssert)
10307
+ }
10308
+
10309
+ Buffer.prototype.writeFloatBE = function writeFloatBE (value, offset, noAssert) {
10310
+ return writeFloat(this, value, offset, false, noAssert)
10311
+ }
10312
+
10313
+ function writeDouble (buf, value, offset, littleEndian, noAssert) {
10314
+ value = +value
10315
+ offset = offset >>> 0
10316
+ if (!noAssert) {
10317
+ checkIEEE754(buf, value, offset, 8, 1.7976931348623157E+308, -1.7976931348623157E+308)
10318
+ }
10319
+ ieee754.write(buf, value, offset, littleEndian, 52, 8)
10320
+ return offset + 8
10321
+ }
10322
+
10323
+ Buffer.prototype.writeDoubleLE = function writeDoubleLE (value, offset, noAssert) {
10324
+ return writeDouble(this, value, offset, true, noAssert)
10325
+ }
10326
+
10327
+ Buffer.prototype.writeDoubleBE = function writeDoubleBE (value, offset, noAssert) {
10328
+ return writeDouble(this, value, offset, false, noAssert)
10329
+ }
10330
+
10331
+ // copy(targetBuffer, targetStart=0, sourceStart=0, sourceEnd=buffer.length)
10332
+ Buffer.prototype.copy = function copy (target, targetStart, start, end) {
10333
+ if (!Buffer.isBuffer(target)) throw new TypeError('argument should be a Buffer')
10334
+ if (!start) start = 0
10335
+ if (!end && end !== 0) end = this.length
10336
+ if (targetStart >= target.length) targetStart = target.length
10337
+ if (!targetStart) targetStart = 0
10338
+ if (end > 0 && end < start) end = start
10339
+
10340
+ // Copy 0 bytes; we're done
10341
+ if (end === start) return 0
10342
+ if (target.length === 0 || this.length === 0) return 0
10343
+
10344
+ // Fatal error conditions
10345
+ if (targetStart < 0) {
10346
+ throw new RangeError('targetStart out of bounds')
10347
+ }
10348
+ if (start < 0 || start >= this.length) throw new RangeError('Index out of range')
10349
+ if (end < 0) throw new RangeError('sourceEnd out of bounds')
10350
+
10351
+ // Are we oob?
10352
+ if (end > this.length) end = this.length
10353
+ if (target.length - targetStart < end - start) {
10354
+ end = target.length - targetStart + start
10355
+ }
10356
+
10357
+ const len = end - start
10358
+
10359
+ if (this === target && typeof Uint8Array.prototype.copyWithin === 'function') {
10360
+ // Use built-in when available, missing from IE11
10361
+ this.copyWithin(targetStart, start, end)
10362
+ } else {
10363
+ Uint8Array.prototype.set.call(
10364
+ target,
10365
+ this.subarray(start, end),
10366
+ targetStart
10367
+ )
10368
+ }
10369
+
10370
+ return len
10371
+ }
10372
+
10373
+ // Usage:
10374
+ // buffer.fill(number[, offset[, end]])
10375
+ // buffer.fill(buffer[, offset[, end]])
10376
+ // buffer.fill(string[, offset[, end]][, encoding])
10377
+ Buffer.prototype.fill = function fill (val, start, end, encoding) {
10378
+ // Handle string cases:
10379
+ if (typeof val === 'string') {
10380
+ if (typeof start === 'string') {
10381
+ encoding = start
10382
+ start = 0
10383
+ end = this.length
10384
+ } else if (typeof end === 'string') {
10385
+ encoding = end
10386
+ end = this.length
10387
+ }
10388
+ if (encoding !== undefined && typeof encoding !== 'string') {
10389
+ throw new TypeError('encoding must be a string')
10390
+ }
10391
+ if (typeof encoding === 'string' && !Buffer.isEncoding(encoding)) {
10392
+ throw new TypeError('Unknown encoding: ' + encoding)
10393
+ }
10394
+ if (val.length === 1) {
10395
+ const code = val.charCodeAt(0)
10396
+ if ((encoding === 'utf8' && code < 128) ||
10397
+ encoding === 'latin1') {
10398
+ // Fast path: If `val` fits into a single byte, use that numeric value.
10399
+ val = code
10400
+ }
10401
+ }
10402
+ } else if (typeof val === 'number') {
10403
+ val = val & 255
10404
+ } else if (typeof val === 'boolean') {
10405
+ val = Number(val)
10406
+ }
10407
+
10408
+ // Invalid ranges are not set to a default, so can range check early.
10409
+ if (start < 0 || this.length < start || this.length < end) {
10410
+ throw new RangeError('Out of range index')
10411
+ }
10412
+
10413
+ if (end <= start) {
10414
+ return this
10415
+ }
10416
+
10417
+ start = start >>> 0
10418
+ end = end === undefined ? this.length : end >>> 0
10419
+
10420
+ if (!val) val = 0
10421
+
10422
+ let i
10423
+ if (typeof val === 'number') {
10424
+ for (i = start; i < end; ++i) {
10425
+ this[i] = val
10426
+ }
10427
+ } else {
10428
+ const bytes = Buffer.isBuffer(val)
10429
+ ? val
10430
+ : Buffer.from(val, encoding)
10431
+ const len = bytes.length
10432
+ if (len === 0) {
10433
+ throw new TypeError('The value "' + val +
10434
+ '" is invalid for argument "value"')
10435
+ }
10436
+ for (i = 0; i < end - start; ++i) {
10437
+ this[i + start] = bytes[i % len]
10438
+ }
10439
+ }
10440
+
10441
+ return this
10442
+ }
10443
+
10444
+ // CUSTOM ERRORS
10445
+ // =============
10446
+
10447
+ // Simplified versions from Node, changed for Buffer-only usage
10448
+ const errors = {}
10449
+ function E (sym, getMessage, Base) {
10450
+ errors[sym] = class NodeError extends Base {
10451
+ constructor () {
10452
+ super()
10453
+
10454
+ Object.defineProperty(this, 'message', {
10455
+ value: getMessage.apply(this, arguments),
10456
+ writable: true,
10457
+ configurable: true
10458
+ })
10459
+
10460
+ // Add the error code to the name to include it in the stack trace.
10461
+ this.name = `${this.name} [${sym}]`
10462
+ // Access the stack to generate the error message including the error code
10463
+ // from the name.
10464
+ this.stack // eslint-disable-line no-unused-expressions
10465
+ // Reset the name to the actual name.
10466
+ delete this.name
10467
+ }
10468
+
10469
+ get code () {
10470
+ return sym
10471
+ }
10472
+
10473
+ set code (value) {
10474
+ Object.defineProperty(this, 'code', {
10475
+ configurable: true,
10476
+ enumerable: true,
10477
+ value,
10478
+ writable: true
10479
+ })
10480
+ }
10481
+
10482
+ toString () {
10483
+ return `${this.name} [${sym}]: ${this.message}`
10484
+ }
10485
+ }
10486
+ }
10487
+
10488
+ E('ERR_BUFFER_OUT_OF_BOUNDS',
10489
+ function (name) {
10490
+ if (name) {
10491
+ return `${name} is outside of buffer bounds`
10492
+ }
10493
+
10494
+ return 'Attempt to access memory outside buffer bounds'
10495
+ }, RangeError)
10496
+ E('ERR_INVALID_ARG_TYPE',
10497
+ function (name, actual) {
10498
+ return `The "${name}" argument must be of type number. Received type ${typeof actual}`
10499
+ }, TypeError)
10500
+ E('ERR_OUT_OF_RANGE',
10501
+ function (str, range, input) {
10502
+ let msg = `The value of "${str}" is out of range.`
10503
+ let received = input
10504
+ if (Number.isInteger(input) && Math.abs(input) > 2 ** 32) {
10505
+ received = addNumericalSeparator(String(input))
10506
+ } else if (typeof input === 'bigint') {
10507
+ received = String(input)
10508
+ if (input > BigInt(2) ** BigInt(32) || input < -(BigInt(2) ** BigInt(32))) {
10509
+ received = addNumericalSeparator(received)
10510
+ }
10511
+ received += 'n'
10512
+ }
10513
+ msg += ` It must be ${range}. Received ${received}`
10514
+ return msg
10515
+ }, RangeError)
10516
+
10517
+ function addNumericalSeparator (val) {
10518
+ let res = ''
10519
+ let i = val.length
10520
+ const start = val[0] === '-' ? 1 : 0
10521
+ for (; i >= start + 4; i -= 3) {
10522
+ res = `_${val.slice(i - 3, i)}${res}`
10523
+ }
10524
+ return `${val.slice(0, i)}${res}`
10525
+ }
10526
+
10527
+ // CHECK FUNCTIONS
10528
+ // ===============
10529
+
10530
+ function checkBounds (buf, offset, byteLength) {
10531
+ validateNumber(offset, 'offset')
10532
+ if (buf[offset] === undefined || buf[offset + byteLength] === undefined) {
10533
+ boundsError(offset, buf.length - (byteLength + 1))
10534
+ }
10535
+ }
10536
+
10537
+ function checkIntBI (value, min, max, buf, offset, byteLength) {
10538
+ if (value > max || value < min) {
10539
+ const n = typeof min === 'bigint' ? 'n' : ''
10540
+ let range
10541
+ if (byteLength > 3) {
10542
+ if (min === 0 || min === BigInt(0)) {
10543
+ range = `>= 0${n} and < 2${n} ** ${(byteLength + 1) * 8}${n}`
10544
+ } else {
10545
+ range = `>= -(2${n} ** ${(byteLength + 1) * 8 - 1}${n}) and < 2 ** ` +
10546
+ `${(byteLength + 1) * 8 - 1}${n}`
10547
+ }
10548
+ } else {
10549
+ range = `>= ${min}${n} and <= ${max}${n}`
10550
+ }
10551
+ throw new errors.ERR_OUT_OF_RANGE('value', range, value)
10552
+ }
10553
+ checkBounds(buf, offset, byteLength)
10554
+ }
10555
+
10556
+ function validateNumber (value, name) {
10557
+ if (typeof value !== 'number') {
10558
+ throw new errors.ERR_INVALID_ARG_TYPE(name, 'number', value)
10559
+ }
10560
+ }
10561
+
10562
+ function boundsError (value, length, type) {
10563
+ if (Math.floor(value) !== value) {
10564
+ validateNumber(value, type)
10565
+ throw new errors.ERR_OUT_OF_RANGE(type || 'offset', 'an integer', value)
10566
+ }
10567
+
10568
+ if (length < 0) {
10569
+ throw new errors.ERR_BUFFER_OUT_OF_BOUNDS()
10570
+ }
10571
+
10572
+ throw new errors.ERR_OUT_OF_RANGE(type || 'offset',
10573
+ `>= ${type ? 1 : 0} and <= ${length}`,
10574
+ value)
10575
+ }
10576
+
10577
+ // HELPER FUNCTIONS
10578
+ // ================
10579
+
10580
+ const INVALID_BASE64_RE = /[^+/0-9A-Za-z-_]/g
10581
+
10582
+ function base64clean (str) {
10583
+ // Node takes equal signs as end of the Base64 encoding
10584
+ str = str.split('=')[0]
10585
+ // Node strips out invalid characters like \n and \t from the string, base64-js does not
10586
+ str = str.trim().replace(INVALID_BASE64_RE, '')
10587
+ // Node converts strings with length < 2 to ''
10588
+ if (str.length < 2) return ''
10589
+ // Node allows for non-padded base64 strings (missing trailing ===), base64-js does not
10590
+ while (str.length % 4 !== 0) {
10591
+ str = str + '='
10592
+ }
10593
+ return str
10594
+ }
10595
+
10596
+ function utf8ToBytes (string, units) {
10597
+ units = units || Infinity
10598
+ let codePoint
10599
+ const length = string.length
10600
+ let leadSurrogate = null
10601
+ const bytes = []
10602
+
10603
+ for (let i = 0; i < length; ++i) {
10604
+ codePoint = string.charCodeAt(i)
10605
+
10606
+ // is surrogate component
10607
+ if (codePoint > 0xD7FF && codePoint < 0xE000) {
10608
+ // last char was a lead
10609
+ if (!leadSurrogate) {
10610
+ // no lead yet
10611
+ if (codePoint > 0xDBFF) {
10612
+ // unexpected trail
10613
+ if ((units -= 3) > -1) bytes.push(0xEF, 0xBF, 0xBD)
10614
+ continue
10615
+ } else if (i + 1 === length) {
10616
+ // unpaired lead
10617
+ if ((units -= 3) > -1) bytes.push(0xEF, 0xBF, 0xBD)
10618
+ continue
10619
+ }
10620
+
10621
+ // valid lead
10622
+ leadSurrogate = codePoint
10623
+
10624
+ continue
10625
+ }
10626
+
10627
+ // 2 leads in a row
10628
+ if (codePoint < 0xDC00) {
10629
+ if ((units -= 3) > -1) bytes.push(0xEF, 0xBF, 0xBD)
10630
+ leadSurrogate = codePoint
10631
+ continue
10632
+ }
10633
+
10634
+ // valid surrogate pair
10635
+ codePoint = (leadSurrogate - 0xD800 << 10 | codePoint - 0xDC00) + 0x10000
10636
+ } else if (leadSurrogate) {
10637
+ // valid bmp char, but last char was a lead
10638
+ if ((units -= 3) > -1) bytes.push(0xEF, 0xBF, 0xBD)
10639
+ }
10640
+
10641
+ leadSurrogate = null
10642
+
10643
+ // encode utf8
10644
+ if (codePoint < 0x80) {
10645
+ if ((units -= 1) < 0) break
10646
+ bytes.push(codePoint)
10647
+ } else if (codePoint < 0x800) {
10648
+ if ((units -= 2) < 0) break
10649
+ bytes.push(
10650
+ codePoint >> 0x6 | 0xC0,
10651
+ codePoint & 0x3F | 0x80
10652
+ )
10653
+ } else if (codePoint < 0x10000) {
10654
+ if ((units -= 3) < 0) break
10655
+ bytes.push(
10656
+ codePoint >> 0xC | 0xE0,
10657
+ codePoint >> 0x6 & 0x3F | 0x80,
10658
+ codePoint & 0x3F | 0x80
10659
+ )
10660
+ } else if (codePoint < 0x110000) {
10661
+ if ((units -= 4) < 0) break
10662
+ bytes.push(
10663
+ codePoint >> 0x12 | 0xF0,
10664
+ codePoint >> 0xC & 0x3F | 0x80,
10665
+ codePoint >> 0x6 & 0x3F | 0x80,
10666
+ codePoint & 0x3F | 0x80
10667
+ )
10668
+ } else {
10669
+ throw new Error('Invalid code point')
10670
+ }
10671
+ }
10672
+
10673
+ return bytes
10674
+ }
10675
+
10676
+ function asciiToBytes (str) {
10677
+ const byteArray = []
10678
+ for (let i = 0; i < str.length; ++i) {
10679
+ // Node's code seems to be doing this and not & 0x7F..
10680
+ byteArray.push(str.charCodeAt(i) & 0xFF)
10681
+ }
10682
+ return byteArray
10683
+ }
10684
+
10685
+ function utf16leToBytes (str, units) {
10686
+ let c, hi, lo
10687
+ const byteArray = []
10688
+ for (let i = 0; i < str.length; ++i) {
10689
+ if ((units -= 2) < 0) break
10690
+
10691
+ c = str.charCodeAt(i)
10692
+ hi = c >> 8
10693
+ lo = c % 256
10694
+ byteArray.push(lo)
10695
+ byteArray.push(hi)
10696
+ }
10697
+
10698
+ return byteArray
10699
+ }
10700
+
10701
+ function base64ToBytes (str) {
10702
+ return base64.toByteArray(base64clean(str))
10703
+ }
10704
+
10705
+ function blitBuffer (src, dst, offset, length) {
10706
+ let i
10707
+ for (i = 0; i < length; ++i) {
10708
+ if ((i + offset >= dst.length) || (i >= src.length)) break
10709
+ dst[i + offset] = src[i]
10710
+ }
10711
+ return i
10712
+ }
10713
+
10714
+ // ArrayBuffer or Uint8Array objects from other contexts (i.e. iframes) do not pass
10715
+ // the `instanceof` check but they should be treated as of that type.
10716
+ // See: https://github.com/feross/buffer/issues/166
10717
+ function isInstance (obj, type) {
10718
+ return obj instanceof type ||
10719
+ (obj != null && obj.constructor != null && obj.constructor.name != null &&
10720
+ obj.constructor.name === type.name)
10721
+ }
10722
+ function numberIsNaN (obj) {
10723
+ // For IE11 support
10724
+ return obj !== obj // eslint-disable-line no-self-compare
10725
+ }
10726
+
10727
+ // Create lookup table for `toString('hex')`
10728
+ // See: https://github.com/feross/buffer/issues/219
10729
+ const hexSliceLookupTable = (function () {
10730
+ const alphabet = '0123456789abcdef'
10731
+ const table = new Array(256)
10732
+ for (let i = 0; i < 16; ++i) {
10733
+ const i16 = i * 16
10734
+ for (let j = 0; j < 16; ++j) {
10735
+ table[i16 + j] = alphabet[i] + alphabet[j]
10736
+ }
10737
+ }
10738
+ return table
10739
+ })()
10740
+
10741
+ // Return not function with Error if BigInt not supported
10742
+ function defineBigIntMethod (fn) {
10743
+ return typeof BigInt === 'undefined' ? BufferBigIntNotDefined : fn
10744
+ }
10745
+
10746
+ function BufferBigIntNotDefined () {
10747
+ throw new Error('BigInt not supported')
10748
+ }
10749
+
10750
+
8478
10751
  /***/ }),
8479
10752
 
8480
10753
  /***/ 81653:
@@ -47858,6 +50131,98 @@ function determineMost(chunk, items) {
47858
50131
  }
47859
50132
 
47860
50133
 
50134
+ /***/ }),
50135
+
50136
+ /***/ 80645:
50137
+ /***/ (function(__unused_webpack_module, exports) {
50138
+
50139
+ /*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */
50140
+ exports.read = function (buffer, offset, isLE, mLen, nBytes) {
50141
+ var e, m
50142
+ var eLen = (nBytes * 8) - mLen - 1
50143
+ var eMax = (1 << eLen) - 1
50144
+ var eBias = eMax >> 1
50145
+ var nBits = -7
50146
+ var i = isLE ? (nBytes - 1) : 0
50147
+ var d = isLE ? -1 : 1
50148
+ var s = buffer[offset + i]
50149
+
50150
+ i += d
50151
+
50152
+ e = s & ((1 << (-nBits)) - 1)
50153
+ s >>= (-nBits)
50154
+ nBits += eLen
50155
+ for (; nBits > 0; e = (e * 256) + buffer[offset + i], i += d, nBits -= 8) {}
50156
+
50157
+ m = e & ((1 << (-nBits)) - 1)
50158
+ e >>= (-nBits)
50159
+ nBits += mLen
50160
+ for (; nBits > 0; m = (m * 256) + buffer[offset + i], i += d, nBits -= 8) {}
50161
+
50162
+ if (e === 0) {
50163
+ e = 1 - eBias
50164
+ } else if (e === eMax) {
50165
+ return m ? NaN : ((s ? -1 : 1) * Infinity)
50166
+ } else {
50167
+ m = m + Math.pow(2, mLen)
50168
+ e = e - eBias
50169
+ }
50170
+ return (s ? -1 : 1) * m * Math.pow(2, e - mLen)
50171
+ }
50172
+
50173
+ exports.write = function (buffer, value, offset, isLE, mLen, nBytes) {
50174
+ var e, m, c
50175
+ var eLen = (nBytes * 8) - mLen - 1
50176
+ var eMax = (1 << eLen) - 1
50177
+ var eBias = eMax >> 1
50178
+ var rt = (mLen === 23 ? Math.pow(2, -24) - Math.pow(2, -77) : 0)
50179
+ var i = isLE ? 0 : (nBytes - 1)
50180
+ var d = isLE ? 1 : -1
50181
+ var s = value < 0 || (value === 0 && 1 / value < 0) ? 1 : 0
50182
+
50183
+ value = Math.abs(value)
50184
+
50185
+ if (isNaN(value) || value === Infinity) {
50186
+ m = isNaN(value) ? 1 : 0
50187
+ e = eMax
50188
+ } else {
50189
+ e = Math.floor(Math.log(value) / Math.LN2)
50190
+ if (value * (c = Math.pow(2, -e)) < 1) {
50191
+ e--
50192
+ c *= 2
50193
+ }
50194
+ if (e + eBias >= 1) {
50195
+ value += rt / c
50196
+ } else {
50197
+ value += rt * Math.pow(2, 1 - eBias)
50198
+ }
50199
+ if (value * c >= 2) {
50200
+ e++
50201
+ c /= 2
50202
+ }
50203
+
50204
+ if (e + eBias >= eMax) {
50205
+ m = 0
50206
+ e = eMax
50207
+ } else if (e + eBias >= 1) {
50208
+ m = ((value * c) - 1) * Math.pow(2, mLen)
50209
+ e = e + eBias
50210
+ } else {
50211
+ m = value * Math.pow(2, eBias - 1) * Math.pow(2, mLen)
50212
+ e = 0
50213
+ }
50214
+ }
50215
+
50216
+ for (; mLen >= 8; buffer[offset + i] = m & 0xff, i += d, m /= 256, mLen -= 8) {}
50217
+
50218
+ e = (e << mLen) | m
50219
+ eLen += mLen
50220
+ for (; eLen > 0; buffer[offset + i] = e & 0xff, i += d, e /= 256, eLen -= 8) {}
50221
+
50222
+ buffer[offset + i - d] |= s * 128
50223
+ }
50224
+
50225
+
47861
50226
  /***/ }),
47862
50227
 
47863
50228
  /***/ 88495:
@@ -204181,6 +206546,8 @@ if (GlobalVue) {
204181
206546
 
204182
206547
  // EXTERNAL MODULE: ./node_modules/minify-css-string/dist/index.js
204183
206548
  var dist = __webpack_require__(41742);
206549
+ // EXTERNAL MODULE: ./node_modules/buffer/index.js
206550
+ var buffer = __webpack_require__(48764);
204184
206551
  ;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/App.vue?vue&type=template&id=0b74f09c&
204185
206552
  var cov_1wtrlvywta = function () {
204186
206553
  var path = "/Users/arangooj/papaemme/isabl_web/src/App.vue";
@@ -208643,7 +211010,7 @@ var MainSearchvue_type_template_id_2cb26e73_staticRenderFns = (cov_16wbf36ey0.s[
208643
211010
  ;// CONCATENATED MODULE: ./src/components/search/MainSearch.vue?vue&type=template&id=2cb26e73&
208644
211011
 
208645
211012
  ;// CONCATENATED MODULE: ./package.json
208646
- var package_namespaceObject = {"i8":"0.3.24"};
211013
+ var package_namespaceObject = {"i8":"0.3.25"};
208647
211014
  ;// CONCATENATED MODULE: ./src/utils/settings.js
208648
211015
  var cov_1sxapcxhz3 = function () {
208649
211016
  var path = "/Users/arangooj/papaemme/isabl_web/src/utils/settings.js";
@@ -211781,7 +214148,7 @@ var axios_default = /*#__PURE__*/__webpack_require__.n(axios);
211781
214148
  function api_typeof(obj) { "@babel/helpers - typeof"; return api_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, api_typeof(obj); }
211782
214149
  var cov_mm8t9pmbx = function () {
211783
214150
  var path = "/Users/arangooj/papaemme/isabl_web/src/utils/api.js";
211784
- var hash = "0a4d47f54a6c3a0ebfb1b9447a02463908071fc9";
214151
+ var hash = "a46b194059b1db0d104b2c37ef142480558c6022";
211785
214152
  var global = new Function("return this")();
211786
214153
  var gcv = "__coverage__";
211787
214154
  var coverageData = {
@@ -213063,7 +215430,7 @@ var cov_mm8t9pmbx = function () {
213063
215430
  column: 35
213064
215431
  },
213065
215432
  end: {
213066
- line: 258,
215433
+ line: 259,
213067
215434
  column: 1
213068
215435
  }
213069
215436
  },
@@ -213079,11 +215446,11 @@ var cov_mm8t9pmbx = function () {
213079
215446
  },
213080
215447
  "129": {
213081
215448
  start: {
213082
- line: 257,
215449
+ line: 258,
213083
215450
  column: 2
213084
215451
  },
213085
215452
  end: {
213086
- line: 257,
215453
+ line: 258,
213087
215454
  column: 68
213088
215455
  }
213089
215456
  }
@@ -213995,7 +216362,7 @@ var cov_mm8t9pmbx = function () {
213995
216362
  column: 60
213996
216363
  },
213997
216364
  end: {
213998
- line: 258,
216365
+ line: 259,
213999
216366
  column: 1
214000
216367
  }
214001
216368
  },
@@ -214646,7 +217013,7 @@ var cov_mm8t9pmbx = function () {
214646
217013
  "13": [0, 0]
214647
217014
  },
214648
217015
  _coverageSchema: "43e27e138ebf9cfc5966b082cf9a028302ed4184",
214649
- hash: "0a4d47f54a6c3a0ebfb1b9447a02463908071fc9"
217016
+ hash: "a46b194059b1db0d104b2c37ef142480558c6022"
214650
217017
  };
214651
217018
  var coverage = global[gcv] || (global[gcv] = {});
214652
217019
  if (coverage[path] && coverage[path].hash === hash) {
@@ -215076,6 +217443,7 @@ cov_mm8t9pmbx.s[127]++;
215076
217443
  var getExperimentIGVURL = function getExperimentIGVURL(system_id, assembly) {
215077
217444
  cov_mm8t9pmbx.f[37]++;
215078
217445
  var endpoint = (cov_mm8t9pmbx.s[128]++, api_endpoints['experiments']);
217446
+ // const endpoint = "http://localhost:8000/api/v1/experiments"
215079
217447
  cov_mm8t9pmbx.s[129]++;
215080
217448
  return "".concat(endpoint, "/igv/").concat(system_id, "?").concat(queryParams({
215081
217449
  assembly: assembly
@@ -351804,7 +354172,7 @@ if (true) {
351804
354172
  ;// CONCATENATED MODULE: ./src/main.js
351805
354173
  var cov_2gmpkpkrd0 = function () {
351806
354174
  var path = "/Users/arangooj/papaemme/isabl_web/src/main.js";
351807
- var hash = "241b6065b46286542be5473c51239ff5598e66a7";
354175
+ var hash = "4a166926cd64c878701672697fd0ae4ae7dbcaec";
351808
354176
  var global = new Function("return this")();
351809
354177
  var gcv = "__coverage__";
351810
354178
  var coverageData = {
@@ -351812,11 +354180,11 @@ var cov_2gmpkpkrd0 = function () {
351812
354180
  statementMap: {
351813
354181
  "0": {
351814
354182
  start: {
351815
- line: 25,
354183
+ line: 26,
351816
354184
  column: 17
351817
354185
  },
351818
354186
  end: {
351819
- line: 25,
354187
+ line: 26,
351820
354188
  column: 27
351821
354189
  }
351822
354190
  },
@@ -351827,177 +354195,177 @@ var cov_2gmpkpkrd0 = function () {
351827
354195
  },
351828
354196
  end: {
351829
354197
  line: 28,
351830
- column: 32
354198
+ column: 23
351831
354199
  }
351832
354200
  },
351833
354201
  "2": {
351834
354202
  start: {
351835
- line: 29,
354203
+ line: 31,
351836
354204
  column: 0
351837
354205
  },
351838
354206
  end: {
351839
- line: 29,
351840
- column: 20
354207
+ line: 31,
354208
+ column: 32
351841
354209
  }
351842
354210
  },
351843
354211
  "3": {
351844
354212
  start: {
351845
- line: 30,
354213
+ line: 32,
351846
354214
  column: 0
351847
354215
  },
351848
354216
  end: {
351849
- line: 30,
351850
- column: 22
354217
+ line: 32,
354218
+ column: 20
351851
354219
  }
351852
354220
  },
351853
354221
  "4": {
351854
354222
  start: {
351855
- line: 31,
354223
+ line: 33,
351856
354224
  column: 0
351857
354225
  },
351858
354226
  end: {
351859
- line: 31,
351860
- column: 21
354227
+ line: 33,
354228
+ column: 22
351861
354229
  }
351862
354230
  },
351863
354231
  "5": {
351864
354232
  start: {
351865
- line: 32,
354233
+ line: 34,
351866
354234
  column: 0
351867
354235
  },
351868
354236
  end: {
351869
- line: 32,
354237
+ line: 34,
351870
354238
  column: 21
351871
354239
  }
351872
354240
  },
351873
354241
  "6": {
351874
354242
  start: {
351875
- line: 33,
354243
+ line: 35,
351876
354244
  column: 0
351877
354245
  },
351878
354246
  end: {
351879
- line: 33,
351880
- column: 23
354247
+ line: 35,
354248
+ column: 21
351881
354249
  }
351882
354250
  },
351883
354251
  "7": {
351884
354252
  start: {
351885
- line: 34,
354253
+ line: 36,
351886
354254
  column: 0
351887
354255
  },
351888
354256
  end: {
351889
- line: 34,
351890
- column: 18
354257
+ line: 36,
354258
+ column: 23
351891
354259
  }
351892
354260
  },
351893
354261
  "8": {
351894
354262
  start: {
351895
- line: 35,
354263
+ line: 37,
351896
354264
  column: 0
351897
354265
  },
351898
354266
  end: {
351899
- line: 35,
351900
- column: 29
354267
+ line: 37,
354268
+ column: 18
351901
354269
  }
351902
354270
  },
351903
354271
  "9": {
351904
354272
  start: {
351905
- line: 36,
354273
+ line: 38,
351906
354274
  column: 0
351907
354275
  },
351908
354276
  end: {
351909
- line: 36,
351910
- column: 16
354277
+ line: 38,
354278
+ column: 29
351911
354279
  }
351912
354280
  },
351913
354281
  "10": {
351914
354282
  start: {
351915
- line: 38,
351916
- column: 16
354283
+ line: 39,
354284
+ column: 0
351917
354285
  },
351918
354286
  end: {
351919
- line: 57,
351920
- column: 2
354287
+ line: 39,
354288
+ column: 16
351921
354289
  }
351922
354290
  },
351923
354291
  "11": {
351924
354292
  start: {
351925
- line: 60,
351926
- column: 0
354293
+ line: 41,
354294
+ column: 16
351927
354295
  },
351928
354296
  end: {
351929
354297
  line: 60,
351930
- column: 40
354298
+ column: 2
351931
354299
  }
351932
354300
  },
351933
354301
  "12": {
351934
354302
  start: {
351935
- line: 61,
354303
+ line: 63,
351936
354304
  column: 0
351937
354305
  },
351938
354306
  end: {
351939
- line: 61,
351940
- column: 44
354307
+ line: 63,
354308
+ column: 40
351941
354309
  }
351942
354310
  },
351943
354311
  "13": {
351944
354312
  start: {
351945
- line: 62,
354313
+ line: 64,
351946
354314
  column: 0
351947
354315
  },
351948
354316
  end: {
351949
- line: 62,
351950
- column: 48
354317
+ line: 64,
354318
+ column: 44
351951
354319
  }
351952
354320
  },
351953
354321
  "14": {
351954
354322
  start: {
351955
- line: 63,
354323
+ line: 65,
351956
354324
  column: 0
351957
354325
  },
351958
354326
  end: {
351959
- line: 63,
351960
- column: 44
354327
+ line: 65,
354328
+ column: 48
351961
354329
  }
351962
354330
  },
351963
354331
  "15": {
351964
354332
  start: {
351965
- line: 64,
354333
+ line: 66,
351966
354334
  column: 0
351967
354335
  },
351968
354336
  end: {
351969
- line: 64,
354337
+ line: 66,
351970
354338
  column: 44
351971
354339
  }
351972
354340
  },
351973
354341
  "16": {
351974
354342
  start: {
351975
- line: 65,
354343
+ line: 67,
351976
354344
  column: 0
351977
354345
  },
351978
354346
  end: {
351979
- line: 65,
351980
- column: 40
354347
+ line: 67,
354348
+ column: 44
351981
354349
  }
351982
354350
  },
351983
354351
  "17": {
351984
354352
  start: {
351985
- line: 66,
354353
+ line: 68,
351986
354354
  column: 0
351987
354355
  },
351988
354356
  end: {
351989
- line: 66,
354357
+ line: 68,
351990
354358
  column: 40
351991
354359
  }
351992
354360
  },
351993
354361
  "18": {
351994
354362
  start: {
351995
- line: 67,
354363
+ line: 69,
351996
354364
  column: 0
351997
354365
  },
351998
354366
  end: {
351999
- line: 67,
352000
- column: 34
354367
+ line: 69,
354368
+ column: 40
352001
354369
  }
352002
354370
  },
352003
354371
  "19": {
@@ -352007,157 +354375,157 @@ var cov_2gmpkpkrd0 = function () {
352007
354375
  },
352008
354376
  end: {
352009
354377
  line: 70,
352010
- column: 42
354378
+ column: 34
352011
354379
  }
352012
354380
  },
352013
354381
  "20": {
352014
354382
  start: {
352015
- line: 71,
354383
+ line: 73,
352016
354384
  column: 0
352017
354385
  },
352018
354386
  end: {
352019
- line: 71,
352020
- column: 44
354387
+ line: 73,
354388
+ column: 42
352021
354389
  }
352022
354390
  },
352023
354391
  "21": {
352024
354392
  start: {
352025
- line: 72,
354393
+ line: 74,
352026
354394
  column: 0
352027
354395
  },
352028
354396
  end: {
352029
- line: 72,
352030
- column: 46
354397
+ line: 74,
354398
+ column: 44
352031
354399
  }
352032
354400
  },
352033
354401
  "22": {
352034
354402
  start: {
352035
- line: 73,
354403
+ line: 75,
352036
354404
  column: 0
352037
354405
  },
352038
354406
  end: {
352039
- line: 73,
352040
- column: 32
354407
+ line: 75,
354408
+ column: 46
352041
354409
  }
352042
354410
  },
352043
354411
  "23": {
352044
354412
  start: {
352045
- line: 74,
354413
+ line: 76,
352046
354414
  column: 0
352047
354415
  },
352048
354416
  end: {
352049
- line: 74,
354417
+ line: 76,
352050
354418
  column: 32
352051
354419
  }
352052
354420
  },
352053
354421
  "24": {
352054
354422
  start: {
352055
- line: 75,
354423
+ line: 77,
352056
354424
  column: 0
352057
354425
  },
352058
354426
  end: {
352059
- line: 75,
352060
- column: 42
354427
+ line: 77,
354428
+ column: 32
352061
354429
  }
352062
354430
  },
352063
354431
  "25": {
352064
354432
  start: {
352065
- line: 76,
354433
+ line: 78,
352066
354434
  column: 0
352067
354435
  },
352068
354436
  end: {
352069
- line: 76,
352070
- column: 38
354437
+ line: 78,
354438
+ column: 42
352071
354439
  }
352072
354440
  },
352073
354441
  "26": {
352074
354442
  start: {
352075
- line: 77,
354443
+ line: 79,
352076
354444
  column: 0
352077
354445
  },
352078
354446
  end: {
352079
- line: 77,
352080
- column: 36
354447
+ line: 79,
354448
+ column: 38
352081
354449
  }
352082
354450
  },
352083
354451
  "27": {
352084
354452
  start: {
352085
- line: 78,
354453
+ line: 80,
352086
354454
  column: 0
352087
354455
  },
352088
354456
  end: {
352089
- line: 78,
352090
- column: 46
354457
+ line: 80,
354458
+ column: 36
352091
354459
  }
352092
354460
  },
352093
354461
  "28": {
352094
354462
  start: {
352095
- line: 79,
354463
+ line: 81,
352096
354464
  column: 0
352097
354465
  },
352098
354466
  end: {
352099
- line: 79,
352100
- column: 50
354467
+ line: 81,
354468
+ column: 46
352101
354469
  }
352102
354470
  },
352103
354471
  "29": {
352104
354472
  start: {
352105
- line: 80,
354473
+ line: 82,
352106
354474
  column: 0
352107
354475
  },
352108
354476
  end: {
352109
- line: 80,
352110
- column: 46
354477
+ line: 82,
354478
+ column: 50
352111
354479
  }
352112
354480
  },
352113
354481
  "30": {
352114
354482
  start: {
352115
- line: 81,
354483
+ line: 83,
352116
354484
  column: 0
352117
354485
  },
352118
354486
  end: {
352119
- line: 81,
352120
- column: 58
354487
+ line: 83,
354488
+ column: 46
352121
354489
  }
352122
354490
  },
352123
354491
  "31": {
352124
354492
  start: {
352125
- line: 82,
354493
+ line: 84,
352126
354494
  column: 0
352127
354495
  },
352128
354496
  end: {
352129
- line: 82,
354497
+ line: 84,
352130
354498
  column: 58
352131
354499
  }
352132
354500
  },
352133
354501
  "32": {
352134
354502
  start: {
352135
- line: 83,
354503
+ line: 85,
352136
354504
  column: 0
352137
354505
  },
352138
354506
  end: {
352139
- line: 83,
352140
- column: 44
354507
+ line: 85,
354508
+ column: 58
352141
354509
  }
352142
354510
  },
352143
354511
  "33": {
352144
354512
  start: {
352145
- line: 84,
354513
+ line: 86,
352146
354514
  column: 0
352147
354515
  },
352148
354516
  end: {
352149
- line: 84,
352150
- column: 39
354517
+ line: 86,
354518
+ column: 44
352151
354519
  }
352152
354520
  },
352153
354521
  "34": {
352154
354522
  start: {
352155
- line: 85,
354523
+ line: 87,
352156
354524
  column: 0
352157
354525
  },
352158
354526
  end: {
352159
- line: 85,
352160
- column: 34
354527
+ line: 87,
354528
+ column: 39
352161
354529
  }
352162
354530
  },
352163
354531
  "35": {
@@ -352166,287 +354534,297 @@ var cov_2gmpkpkrd0 = function () {
352166
354534
  column: 0
352167
354535
  },
352168
354536
  end: {
352169
- line: 140,
352170
- column: 4
354537
+ line: 88,
354538
+ column: 34
352171
354539
  }
352172
354540
  },
352173
354541
  "36": {
352174
354542
  start: {
352175
- line: 89,
354543
+ line: 91,
354544
+ column: 0
354545
+ },
354546
+ end: {
354547
+ line: 143,
354548
+ column: 4
354549
+ }
354550
+ },
354551
+ "37": {
354552
+ start: {
354553
+ line: 92,
352176
354554
  column: 19
352177
354555
  },
352178
354556
  end: {
352179
- line: 89,
354557
+ line: 92,
352180
354558
  column: 60
352181
354559
  }
352182
354560
  },
352183
- "37": {
354561
+ "38": {
352184
354562
  start: {
352185
- line: 90,
354563
+ line: 93,
352186
354564
  column: 2
352187
354565
  },
352188
354566
  end: {
352189
- line: 139,
354567
+ line: 142,
352190
354568
  column: 5
352191
354569
  }
352192
354570
  },
352193
- "38": {
354571
+ "39": {
352194
354572
  start: {
352195
- line: 91,
354573
+ line: 94,
352196
354574
  column: 4
352197
354575
  },
352198
354576
  end: {
352199
- line: 139,
354577
+ line: 142,
352200
354578
  column: 5
352201
354579
  }
352202
354580
  },
352203
- "39": {
354581
+ "40": {
352204
354582
  start: {
352205
- line: 92,
354583
+ line: 95,
352206
354584
  column: 6
352207
354585
  },
352208
354586
  end: {
352209
- line: 94,
354587
+ line: 97,
352210
354588
  column: 56
352211
354589
  }
352212
354590
  },
352213
- "40": {
354591
+ "41": {
352214
354592
  start: {
352215
- line: 96,
354593
+ line: 99,
352216
354594
  column: 6
352217
354595
  },
352218
354596
  end: {
352219
- line: 96,
354597
+ line: 99,
352220
354598
  column: 28
352221
354599
  }
352222
354600
  },
352223
- "41": {
354601
+ "42": {
352224
354602
  start: {
352225
- line: 97,
354603
+ line: 100,
352226
354604
  column: 6
352227
354605
  },
352228
354606
  end: {
352229
- line: 114,
354607
+ line: 117,
352230
354608
  column: 7
352231
354609
  }
352232
354610
  },
352233
- "42": {
354611
+ "43": {
352234
354612
  start: {
352235
- line: 115,
354613
+ line: 118,
352236
354614
  column: 6
352237
354615
  },
352238
354616
  end: {
352239
- line: 122,
354617
+ line: 125,
352240
354618
  column: 7
352241
354619
  }
352242
354620
  },
352243
- "43": {
354621
+ "44": {
352244
354622
  start: {
352245
- line: 116,
354623
+ line: 119,
352246
354624
  column: 8
352247
354625
  },
352248
354626
  end: {
352249
- line: 121,
354627
+ line: 124,
352250
354628
  column: 9
352251
354629
  }
352252
354630
  },
352253
- "44": {
354631
+ "45": {
352254
354632
  start: {
352255
- line: 117,
354633
+ line: 120,
352256
354634
  column: 18
352257
354635
  },
352258
354636
  end: {
352259
- line: 117,
354637
+ line: 120,
352260
354638
  column: 55
352261
354639
  }
352262
354640
  },
352263
- "45": {
354641
+ "46": {
352264
354642
  start: {
352265
- line: 118,
354643
+ line: 121,
352266
354644
  column: 10
352267
354645
  },
352268
354646
  end: {
352269
- line: 118,
354647
+ line: 121,
352270
354648
  column: 22
352271
354649
  }
352272
354650
  },
352273
- "46": {
354651
+ "47": {
352274
354652
  start: {
352275
- line: 119,
354653
+ line: 122,
352276
354654
  column: 10
352277
354655
  },
352278
354656
  end: {
352279
- line: 119,
354657
+ line: 122,
352280
354658
  column: 27
352281
354659
  }
352282
354660
  },
352283
- "47": {
354661
+ "48": {
352284
354662
  start: {
352285
- line: 120,
354663
+ line: 123,
352286
354664
  column: 10
352287
354665
  },
352288
354666
  end: {
352289
- line: 120,
354667
+ line: 123,
352290
354668
  column: 26
352291
354669
  }
352292
354670
  },
352293
- "48": {
354671
+ "49": {
352294
354672
  start: {
352295
- line: 123,
354673
+ line: 126,
352296
354674
  column: 6
352297
354675
  },
352298
354676
  end: {
352299
- line: 126,
354677
+ line: 129,
352300
354678
  column: 7
352301
354679
  }
352302
354680
  },
352303
- "49": {
354681
+ "50": {
352304
354682
  start: {
352305
- line: 123,
354683
+ line: 126,
352306
354684
  column: 19
352307
354685
  },
352308
354686
  end: {
352309
- line: 123,
354687
+ line: 126,
352310
354688
  column: 20
352311
354689
  }
352312
354690
  },
352313
- "50": {
354691
+ "51": {
352314
354692
  start: {
352315
- line: 124,
354693
+ line: 127,
352316
354694
  column: 16
352317
354695
  },
352318
354696
  end: {
352319
- line: 124,
354697
+ line: 127,
352320
354698
  column: 36
352321
354699
  }
352322
354700
  },
352323
- "51": {
354701
+ "52": {
352324
354702
  start: {
352325
- line: 125,
354703
+ line: 128,
352326
354704
  column: 8
352327
354705
  },
352328
354706
  end: {
352329
- line: 125,
354707
+ line: 128,
352330
354708
  column: 43
352331
354709
  }
352332
354710
  },
352333
- "52": {
354711
+ "53": {
352334
354712
  start: {
352335
- line: 127,
354713
+ line: 130,
352336
354714
  column: 6
352337
354715
  },
352338
354716
  end: {
352339
- line: 136,
354717
+ line: 139,
352340
354718
  column: 7
352341
354719
  }
352342
354720
  },
352343
- "53": {
354721
+ "54": {
352344
354722
  start: {
352345
- line: 128,
354723
+ line: 131,
352346
354724
  column: 16
352347
354725
  },
352348
354726
  end: {
352349
- line: 128,
354727
+ line: 131,
352350
354728
  column: 48
352351
354729
  }
352352
354730
  },
352353
- "54": {
354731
+ "55": {
352354
354732
  start: {
352355
- line: 129,
354733
+ line: 132,
352356
354734
  column: 8
352357
354735
  },
352358
354736
  end: {
352359
- line: 129,
354737
+ line: 132,
352360
354738
  column: 34
352361
354739
  }
352362
354740
  },
352363
- "55": {
354741
+ "56": {
352364
354742
  start: {
352365
- line: 130,
354743
+ line: 133,
352366
354744
  column: 8
352367
354745
  },
352368
354746
  end: {
352369
- line: 130,
354747
+ line: 133,
352370
354748
  column: 20
352371
354749
  }
352372
354750
  },
352373
- "56": {
354751
+ "57": {
352374
354752
  start: {
352375
- line: 131,
354753
+ line: 134,
352376
354754
  column: 8
352377
354755
  },
352378
354756
  end: {
352379
- line: 132,
354757
+ line: 135,
352380
354758
  column: 78
352381
354759
  }
352382
354760
  },
352383
- "57": {
354761
+ "58": {
352384
354762
  start: {
352385
- line: 133,
354763
+ line: 136,
352386
354764
  column: 16
352387
354765
  },
352388
354766
  end: {
352389
- line: 133,
354767
+ line: 136,
352390
354768
  column: 58
352391
354769
  }
352392
354770
  },
352393
- "58": {
354771
+ "59": {
352394
354772
  start: {
352395
- line: 134,
354773
+ line: 137,
352396
354774
  column: 8
352397
354775
  },
352398
354776
  end: {
352399
- line: 134,
354777
+ line: 137,
352400
354778
  column: 39
352401
354779
  }
352402
354780
  },
352403
- "59": {
354781
+ "60": {
352404
354782
  start: {
352405
- line: 135,
354783
+ line: 138,
352406
354784
  column: 8
352407
354785
  },
352408
354786
  end: {
352409
- line: 135,
354787
+ line: 138,
352410
354788
  column: 34
352411
354789
  }
352412
354790
  },
352413
- "60": {
354791
+ "61": {
352414
354792
  start: {
352415
- line: 137,
354793
+ line: 140,
352416
354794
  column: 6
352417
354795
  },
352418
354796
  end: {
352419
- line: 137,
354797
+ line: 140,
352420
354798
  column: 41
352421
354799
  }
352422
354800
  },
352423
- "61": {
354801
+ "62": {
352424
354802
  start: {
352425
- line: 138,
354803
+ line: 141,
352426
354804
  column: 6
352427
354805
  },
352428
354806
  end: {
352429
- line: 138,
354807
+ line: 141,
352430
354808
  column: 45
352431
354809
  }
352432
354810
  },
352433
- "62": {
354811
+ "63": {
352434
354812
  start: {
352435
- line: 142,
354813
+ line: 145,
352436
354814
  column: 17
352437
354815
  },
352438
354816
  end: {
352439
- line: 147,
354817
+ line: 150,
352440
354818
  column: 23
352441
354819
  }
352442
354820
  },
352443
- "63": {
354821
+ "64": {
352444
354822
  start: {
352445
- line: 146,
354823
+ line: 149,
352446
354824
  column: 15
352447
354825
  },
352448
354826
  end: {
352449
- line: 146,
354827
+ line: 149,
352450
354828
  column: 21
352451
354829
  }
352452
354830
  }
@@ -352456,297 +354834,297 @@ var cov_2gmpkpkrd0 = function () {
352456
354834
  name: "(anonymous_0)",
352457
354835
  decl: {
352458
354836
  start: {
352459
- line: 88,
354837
+ line: 91,
352460
354838
  column: 2
352461
354839
  },
352462
354840
  end: {
352463
- line: 88,
354841
+ line: 91,
352464
354842
  column: 3
352465
354843
  }
352466
354844
  },
352467
354845
  loc: {
352468
354846
  start: {
352469
- line: 88,
354847
+ line: 91,
352470
354848
  column: 13
352471
354849
  },
352472
354850
  end: {
352473
- line: 140,
354851
+ line: 143,
352474
354852
  column: 1
352475
354853
  }
352476
354854
  },
352477
- line: 88
354855
+ line: 91
352478
354856
  },
352479
354857
  "1": {
352480
354858
  name: "(anonymous_1)",
352481
354859
  decl: {
352482
354860
  start: {
352483
- line: 115,
354861
+ line: 118,
352484
354862
  column: 26
352485
354863
  },
352486
354864
  end: {
352487
- line: 115,
354865
+ line: 118,
352488
354866
  column: 27
352489
354867
  }
352490
354868
  },
352491
354869
  loc: {
352492
354870
  start: {
352493
- line: 115,
354871
+ line: 118,
352494
354872
  column: 38
352495
354873
  },
352496
354874
  end: {
352497
- line: 122,
354875
+ line: 125,
352498
354876
  column: 7
352499
354877
  }
352500
354878
  },
352501
- line: 115
354879
+ line: 118
352502
354880
  },
352503
354881
  "2": {
352504
354882
  name: "(anonymous_2)",
352505
354883
  decl: {
352506
354884
  start: {
352507
- line: 116,
354885
+ line: 119,
352508
354886
  column: 15
352509
354887
  },
352510
354888
  end: {
352511
- line: 116,
354889
+ line: 119,
352512
354890
  column: 16
352513
354891
  }
352514
354892
  },
352515
354893
  loc: {
352516
354894
  start: {
352517
- line: 116,
354895
+ line: 119,
352518
354896
  column: 26
352519
354897
  },
352520
354898
  end: {
352521
- line: 121,
354899
+ line: 124,
352522
354900
  column: 9
352523
354901
  }
352524
354902
  },
352525
- line: 116
354903
+ line: 119
352526
354904
  },
352527
354905
  "3": {
352528
354906
  name: "(anonymous_3)",
352529
354907
  decl: {
352530
354908
  start: {
352531
- line: 127,
354909
+ line: 130,
352532
354910
  column: 23
352533
354911
  },
352534
354912
  end: {
352535
- line: 127,
354913
+ line: 130,
352536
354914
  column: 24
352537
354915
  }
352538
354916
  },
352539
354917
  loc: {
352540
354918
  start: {
352541
- line: 127,
354919
+ line: 130,
352542
354920
  column: 38
352543
354921
  },
352544
354922
  end: {
352545
- line: 136,
354923
+ line: 139,
352546
354924
  column: 7
352547
354925
  }
352548
354926
  },
352549
- line: 127
354927
+ line: 130
352550
354928
  },
352551
354929
  "4": {
352552
354930
  name: "(anonymous_4)",
352553
354931
  decl: {
352554
354932
  start: {
352555
- line: 146,
354933
+ line: 149,
352556
354934
  column: 10
352557
354935
  },
352558
354936
  end: {
352559
- line: 146,
354937
+ line: 149,
352560
354938
  column: 11
352561
354939
  }
352562
354940
  },
352563
354941
  loc: {
352564
354942
  start: {
352565
- line: 146,
354943
+ line: 149,
352566
354944
  column: 15
352567
354945
  },
352568
354946
  end: {
352569
- line: 146,
354947
+ line: 149,
352570
354948
  column: 21
352571
354949
  }
352572
354950
  },
352573
- line: 146
354951
+ line: 149
352574
354952
  }
352575
354953
  },
352576
354954
  branchMap: {
352577
354955
  "0": {
352578
354956
  loc: {
352579
354957
  start: {
352580
- line: 84,
354958
+ line: 87,
352581
354959
  column: 22
352582
354960
  },
352583
354961
  end: {
352584
- line: 84,
354962
+ line: 87,
352585
354963
  column: 39
352586
354964
  }
352587
354965
  },
352588
354966
  type: "binary-expr",
352589
354967
  locations: [{
352590
354968
  start: {
352591
- line: 84,
354969
+ line: 87,
352592
354970
  column: 22
352593
354971
  },
352594
354972
  end: {
352595
- line: 84,
354973
+ line: 87,
352596
354974
  column: 33
352597
354975
  }
352598
354976
  }, {
352599
354977
  start: {
352600
- line: 84,
354978
+ line: 87,
352601
354979
  column: 37
352602
354980
  },
352603
354981
  end: {
352604
- line: 84,
354982
+ line: 87,
352605
354983
  column: 39
352606
354984
  }
352607
354985
  }],
352608
- line: 84
354986
+ line: 87
352609
354987
  },
352610
354988
  "1": {
352611
354989
  loc: {
352612
354990
  start: {
352613
- line: 89,
354991
+ line: 92,
352614
354992
  column: 38
352615
354993
  },
352616
354994
  end: {
352617
- line: 89,
354995
+ line: 92,
352618
354996
  column: 60
352619
354997
  }
352620
354998
  },
352621
354999
  type: "binary-expr",
352622
355000
  locations: [{
352623
355001
  start: {
352624
- line: 89,
355002
+ line: 92,
352625
355003
  column: 38
352626
355004
  },
352627
355005
  end: {
352628
- line: 89,
355006
+ line: 92,
352629
355007
  column: 54
352630
355008
  }
352631
355009
  }, {
352632
355010
  start: {
352633
- line: 89,
355011
+ line: 92,
352634
355012
  column: 58
352635
355013
  },
352636
355014
  end: {
352637
- line: 89,
355015
+ line: 92,
352638
355016
  column: 60
352639
355017
  }
352640
355018
  }],
352641
- line: 89
355019
+ line: 92
352642
355020
  },
352643
355021
  "2": {
352644
355022
  loc: {
352645
355023
  start: {
352646
- line: 90,
355024
+ line: 93,
352647
355025
  column: 2
352648
355026
  },
352649
355027
  end: {
352650
- line: 139,
355028
+ line: 142,
352651
355029
  column: 5
352652
355030
  }
352653
355031
  },
352654
355032
  type: "if",
352655
355033
  locations: [{
352656
355034
  start: {
352657
- line: 90,
355035
+ line: 93,
352658
355036
  column: 2
352659
355037
  },
352660
355038
  end: {
352661
- line: 139,
355039
+ line: 142,
352662
355040
  column: 5
352663
355041
  }
352664
355042
  }, {
352665
355043
  start: {
352666
- line: 90,
355044
+ line: 93,
352667
355045
  column: 2
352668
355046
  },
352669
355047
  end: {
352670
- line: 139,
355048
+ line: 142,
352671
355049
  column: 5
352672
355050
  }
352673
355051
  }],
352674
- line: 90
355052
+ line: 93
352675
355053
  },
352676
355054
  "3": {
352677
355055
  loc: {
352678
355056
  start: {
352679
- line: 91,
355057
+ line: 94,
352680
355058
  column: 4
352681
355059
  },
352682
355060
  end: {
352683
- line: 139,
355061
+ line: 142,
352684
355062
  column: 5
352685
355063
  }
352686
355064
  },
352687
355065
  type: "if",
352688
355066
  locations: [{
352689
355067
  start: {
352690
- line: 91,
355068
+ line: 94,
352691
355069
  column: 4
352692
355070
  },
352693
355071
  end: {
352694
- line: 139,
355072
+ line: 142,
352695
355073
  column: 5
352696
355074
  }
352697
355075
  }, {
352698
355076
  start: {
352699
- line: 91,
355077
+ line: 94,
352700
355078
  column: 4
352701
355079
  },
352702
355080
  end: {
352703
- line: 139,
355081
+ line: 142,
352704
355082
  column: 5
352705
355083
  }
352706
355084
  }],
352707
- line: 91
355085
+ line: 94
352708
355086
  },
352709
355087
  "4": {
352710
355088
  loc: {
352711
355089
  start: {
352712
- line: 92,
355090
+ line: 95,
352713
355091
  column: 6
352714
355092
  },
352715
355093
  end: {
352716
- line: 94,
355094
+ line: 97,
352717
355095
  column: 56
352718
355096
  }
352719
355097
  },
352720
355098
  type: "binary-expr",
352721
355099
  locations: [{
352722
355100
  start: {
352723
- line: 92,
355101
+ line: 95,
352724
355102
  column: 6
352725
355103
  },
352726
355104
  end: {
352727
- line: 92,
355105
+ line: 95,
352728
355106
  column: 20
352729
355107
  }
352730
355108
  }, {
352731
355109
  start: {
352732
- line: 93,
355110
+ line: 96,
352733
355111
  column: 8
352734
355112
  },
352735
355113
  end: {
352736
- line: 93,
355114
+ line: 96,
352737
355115
  column: 21
352738
355116
  }
352739
355117
  }, {
352740
355118
  start: {
352741
- line: 94,
355119
+ line: 97,
352742
355120
  column: 8
352743
355121
  },
352744
355122
  end: {
352745
- line: 94,
355123
+ line: 97,
352746
355124
  column: 56
352747
355125
  }
352748
355126
  }],
352749
- line: 92
355127
+ line: 95
352750
355128
  }
352751
355129
  },
352752
355130
  s: {
@@ -352813,7 +355191,8 @@ var cov_2gmpkpkrd0 = function () {
352813
355191
  "60": 0,
352814
355192
  "61": 0,
352815
355193
  "62": 0,
352816
- "63": 0
355194
+ "63": 0,
355195
+ "64": 0
352817
355196
  },
352818
355197
  f: {
352819
355198
  "0": 0,
@@ -352830,7 +355209,7 @@ var cov_2gmpkpkrd0 = function () {
352830
355209
  "4": [0, 0, 0]
352831
355210
  },
352832
355211
  _coverageSchema: "43e27e138ebf9cfc5966b082cf9a028302ed4184",
352833
- hash: "241b6065b46286542be5473c51239ff5598e66a7"
355212
+ hash: "4a166926cd64c878701672697fd0ae4ae7dbcaec"
352834
355213
  };
352835
355214
  var coverage = global[gcv] || (global[gcv] = {});
352836
355215
  if (coverage[path] && coverage[path].hash === hash) {
@@ -352857,30 +355236,33 @@ var cov_2gmpkpkrd0 = function () {
352857
355236
 
352858
355237
 
352859
355238
 
355239
+
352860
355240
 
352861
355241
 
352862
355242
  var main_settings = (cov_2gmpkpkrd0.s[0]++, settings());
355243
+ cov_2gmpkpkrd0.s[1]++;
355244
+ window.Buffer = buffer/* Buffer */.lW;
352863
355245
 
352864
355246
  // Vue config, mixins and plugins
352865
- cov_2gmpkpkrd0.s[1]++;
352866
- (external_commonjs_vue_commonjs2_vue_root_Vue_default()).config.productionTip = false;
352867
355247
  cov_2gmpkpkrd0.s[2]++;
352868
- external_commonjs_vue_commonjs2_vue_root_Vue_default().mixin(mixins_auth);
355248
+ (external_commonjs_vue_commonjs2_vue_root_Vue_default()).config.productionTip = false;
352869
355249
  cov_2gmpkpkrd0.s[3]++;
352870
- external_commonjs_vue_commonjs2_vue_root_Vue_default().mixin(fields);
355250
+ external_commonjs_vue_commonjs2_vue_root_Vue_default().mixin(mixins_auth);
352871
355251
  cov_2gmpkpkrd0.s[4]++;
352872
- external_commonjs_vue_commonjs2_vue_root_Vue_default().mixin(mixins_files);
355252
+ external_commonjs_vue_commonjs2_vue_root_Vue_default().mixin(fields);
352873
355253
  cov_2gmpkpkrd0.s[5]++;
352874
- external_commonjs_vue_commonjs2_vue_root_Vue_default().use((vue_clipboard_default()));
355254
+ external_commonjs_vue_commonjs2_vue_root_Vue_default().mixin(mixins_files);
352875
355255
  cov_2gmpkpkrd0.s[6]++;
352876
- external_commonjs_vue_commonjs2_vue_root_Vue_default().use((vue_highlightjs_default()));
355256
+ external_commonjs_vue_commonjs2_vue_root_Vue_default().use((vue_clipboard_default()));
352877
355257
  cov_2gmpkpkrd0.s[7]++;
352878
- external_commonjs_vue_commonjs2_vue_root_Vue_default().use((v_hotkey_default()));
355258
+ external_commonjs_vue_commonjs2_vue_root_Vue_default().use((vue_highlightjs_default()));
352879
355259
  cov_2gmpkpkrd0.s[8]++;
352880
- external_commonjs_vue_commonjs2_vue_root_Vue_default().use(vue_observe_visibility_esm);
355260
+ external_commonjs_vue_commonjs2_vue_root_Vue_default().use((v_hotkey_default()));
352881
355261
  cov_2gmpkpkrd0.s[9]++;
355262
+ external_commonjs_vue_commonjs2_vue_root_Vue_default().use(vue_observe_visibility_esm);
355263
+ cov_2gmpkpkrd0.s[10]++;
352882
355264
  external_commonjs_vue_commonjs2_vue_root_Vue_default().use((vuetify_default()));
352883
- var main_vuetify = (cov_2gmpkpkrd0.s[10]++, new (vuetify_default())({
355265
+ var main_vuetify = (cov_2gmpkpkrd0.s[11]++, new (vuetify_default())({
352884
355266
  theme: {
352885
355267
  themes: {
352886
355268
  light: main_settings.lightTheme,
@@ -352903,129 +355285,129 @@ var main_vuetify = (cov_2gmpkpkrd0.s[10]++, new (vuetify_default())({
352903
355285
  }));
352904
355286
 
352905
355287
  // Filters are available as helpers in the templates like {{ param | filter }}
352906
- cov_2gmpkpkrd0.s[11]++;
352907
- external_commonjs_vue_commonjs2_vue_root_Vue_default().filter('camelify', helpers/* default.camelify */.ZP.camelify);
352908
355288
  cov_2gmpkpkrd0.s[12]++;
352909
- external_commonjs_vue_commonjs2_vue_root_Vue_default().filter('capitalize', helpers/* default.capitalize */.ZP.capitalize);
355289
+ external_commonjs_vue_commonjs2_vue_root_Vue_default().filter('camelify', helpers/* default.camelify */.ZP.camelify);
352910
355290
  cov_2gmpkpkrd0.s[13]++;
352911
- external_commonjs_vue_commonjs2_vue_root_Vue_default().filter('formatNumber', helpers/* default.formatNumber */.ZP.formatNumber);
355291
+ external_commonjs_vue_commonjs2_vue_root_Vue_default().filter('capitalize', helpers/* default.capitalize */.ZP.capitalize);
352912
355292
  cov_2gmpkpkrd0.s[14]++;
352913
- external_commonjs_vue_commonjs2_vue_root_Vue_default().filter('formatDate', helpers/* default.formatDate */.ZP.formatDate);
355293
+ external_commonjs_vue_commonjs2_vue_root_Vue_default().filter('formatNumber', helpers/* default.formatNumber */.ZP.formatNumber);
352914
355294
  cov_2gmpkpkrd0.s[15]++;
352915
- external_commonjs_vue_commonjs2_vue_root_Vue_default().filter('formatSize', helpers/* default.formatSize */.ZP.formatSize);
355295
+ external_commonjs_vue_commonjs2_vue_root_Vue_default().filter('formatDate', helpers/* default.formatDate */.ZP.formatDate);
352916
355296
  cov_2gmpkpkrd0.s[16]++;
352917
- external_commonjs_vue_commonjs2_vue_root_Vue_default().filter('prettify', helpers/* default.prettify */.ZP.prettify);
355297
+ external_commonjs_vue_commonjs2_vue_root_Vue_default().filter('formatSize', helpers/* default.formatSize */.ZP.formatSize);
352918
355298
  cov_2gmpkpkrd0.s[17]++;
352919
- external_commonjs_vue_commonjs2_vue_root_Vue_default().filter('truncate', helpers/* default.truncate */.ZP.truncate);
355299
+ external_commonjs_vue_commonjs2_vue_root_Vue_default().filter('prettify', helpers/* default.prettify */.ZP.prettify);
352920
355300
  cov_2gmpkpkrd0.s[18]++;
355301
+ external_commonjs_vue_commonjs2_vue_root_Vue_default().filter('truncate', helpers/* default.truncate */.ZP.truncate);
355302
+ cov_2gmpkpkrd0.s[19]++;
352921
355303
  external_commonjs_vue_commonjs2_vue_root_Vue_default().filter('round', helpers/* default.round */.ZP.round);
352922
355304
 
352923
355305
  // Instance methods and properties are available in each Vue instance
352924
- cov_2gmpkpkrd0.s[19]++;
352925
- (external_commonjs_vue_commonjs2_vue_root_Vue_default()).prototype.$camelify = helpers/* default.camelify */.ZP.camelify;
352926
355306
  cov_2gmpkpkrd0.s[20]++;
352927
- (external_commonjs_vue_commonjs2_vue_root_Vue_default()).prototype.$unslugify = helpers/* default.unslugify */.ZP.unslugify;
355307
+ (external_commonjs_vue_commonjs2_vue_root_Vue_default()).prototype.$camelify = helpers/* default.camelify */.ZP.camelify;
352928
355308
  cov_2gmpkpkrd0.s[21]++;
352929
- (external_commonjs_vue_commonjs2_vue_root_Vue_default()).prototype.$capitalize = helpers/* default.capitalize */.ZP.capitalize;
355309
+ (external_commonjs_vue_commonjs2_vue_root_Vue_default()).prototype.$unslugify = helpers/* default.unslugify */.ZP.unslugify;
352930
355310
  cov_2gmpkpkrd0.s[22]++;
352931
- (external_commonjs_vue_commonjs2_vue_root_Vue_default()).prototype.$get = helpers/* default.get */.ZP.get;
355311
+ (external_commonjs_vue_commonjs2_vue_root_Vue_default()).prototype.$capitalize = helpers/* default.capitalize */.ZP.capitalize;
352932
355312
  cov_2gmpkpkrd0.s[23]++;
352933
- (external_commonjs_vue_commonjs2_vue_root_Vue_default()).prototype.$set = helpers/* default */.ZP.set;
355313
+ (external_commonjs_vue_commonjs2_vue_root_Vue_default()).prototype.$get = helpers/* default.get */.ZP.get;
352934
355314
  cov_2gmpkpkrd0.s[24]++;
352935
- (external_commonjs_vue_commonjs2_vue_root_Vue_default()).prototype.$contains = helpers/* default.contains */.ZP.contains;
355315
+ (external_commonjs_vue_commonjs2_vue_root_Vue_default()).prototype.$set = helpers/* default */.ZP.set;
352936
355316
  cov_2gmpkpkrd0.s[25]++;
352937
- (external_commonjs_vue_commonjs2_vue_root_Vue_default()).prototype.$remove = helpers/* default.remove */.ZP.remove;
355317
+ (external_commonjs_vue_commonjs2_vue_root_Vue_default()).prototype.$contains = helpers/* default.contains */.ZP.contains;
352938
355318
  cov_2gmpkpkrd0.s[26]++;
352939
- (external_commonjs_vue_commonjs2_vue_root_Vue_default()).prototype.$round = helpers/* default.round */.ZP.round;
355319
+ (external_commonjs_vue_commonjs2_vue_root_Vue_default()).prototype.$remove = helpers/* default.remove */.ZP.remove;
352940
355320
  cov_2gmpkpkrd0.s[27]++;
352941
- (external_commonjs_vue_commonjs2_vue_root_Vue_default()).prototype.$formatDate = helpers/* default.formatDate */.ZP.formatDate;
355321
+ (external_commonjs_vue_commonjs2_vue_root_Vue_default()).prototype.$round = helpers/* default.round */.ZP.round;
352942
355322
  cov_2gmpkpkrd0.s[28]++;
352943
- (external_commonjs_vue_commonjs2_vue_root_Vue_default()).prototype.$formatNumber = helpers/* default.formatNumber */.ZP.formatNumber;
355323
+ (external_commonjs_vue_commonjs2_vue_root_Vue_default()).prototype.$formatDate = helpers/* default.formatDate */.ZP.formatDate;
352944
355324
  cov_2gmpkpkrd0.s[29]++;
352945
- (external_commonjs_vue_commonjs2_vue_root_Vue_default()).prototype.$formatSize = helpers/* default.formatSize */.ZP.formatSize;
355325
+ (external_commonjs_vue_commonjs2_vue_root_Vue_default()).prototype.$formatNumber = helpers/* default.formatNumber */.ZP.formatNumber;
352946
355326
  cov_2gmpkpkrd0.s[30]++;
352947
- (external_commonjs_vue_commonjs2_vue_root_Vue_default()).prototype.$getInnerHtmlText = helpers/* default.getInnerHtmlText */.ZP.getInnerHtmlText;
355327
+ (external_commonjs_vue_commonjs2_vue_root_Vue_default()).prototype.$formatSize = helpers/* default.formatSize */.ZP.formatSize;
352948
355328
  cov_2gmpkpkrd0.s[31]++;
352949
- (external_commonjs_vue_commonjs2_vue_root_Vue_default()).prototype.$setInnerHtmlText = helpers/* default.setInnerHtmlText */.ZP.setInnerHtmlText;
355329
+ (external_commonjs_vue_commonjs2_vue_root_Vue_default()).prototype.$getInnerHtmlText = helpers/* default.getInnerHtmlText */.ZP.getInnerHtmlText;
352950
355330
  cov_2gmpkpkrd0.s[32]++;
352951
- (external_commonjs_vue_commonjs2_vue_root_Vue_default()).prototype.$isNumeric = helpers/* default.isNumeric */.ZP.isNumeric;
355331
+ (external_commonjs_vue_commonjs2_vue_root_Vue_default()).prototype.$setInnerHtmlText = helpers/* default.setInnerHtmlText */.ZP.setInnerHtmlText;
352952
355332
  cov_2gmpkpkrd0.s[33]++;
352953
- (external_commonjs_vue_commonjs2_vue_root_Vue_default()).prototype.$user = (cov_2gmpkpkrd0.b[0][0]++, window.USER) || (cov_2gmpkpkrd0.b[0][1]++, {});
355333
+ (external_commonjs_vue_commonjs2_vue_root_Vue_default()).prototype.$isNumeric = helpers/* default.isNumeric */.ZP.isNumeric;
352954
355334
  cov_2gmpkpkrd0.s[34]++;
355335
+ (external_commonjs_vue_commonjs2_vue_root_Vue_default()).prototype.$user = (cov_2gmpkpkrd0.b[0][0]++, window.USER) || (cov_2gmpkpkrd0.b[0][1]++, {});
355336
+ cov_2gmpkpkrd0.s[35]++;
352955
355337
  (external_commonjs_vue_commonjs2_vue_root_Vue_default()).prototype.$settings = main_settings;
352956
355338
 
352957
355339
  // Load Segment Analytics
352958
- cov_2gmpkpkrd0.s[35]++;
355340
+ cov_2gmpkpkrd0.s[36]++;
352959
355341
  !function () {
352960
355342
  cov_2gmpkpkrd0.f[0]++;
352961
- var analytics = (cov_2gmpkpkrd0.s[36]++, window.analytics = (cov_2gmpkpkrd0.b[1][0]++, window.analytics) || (cov_2gmpkpkrd0.b[1][1]++, []));
352962
- cov_2gmpkpkrd0.s[37]++;
355343
+ var analytics = (cov_2gmpkpkrd0.s[37]++, window.analytics = (cov_2gmpkpkrd0.b[1][0]++, window.analytics) || (cov_2gmpkpkrd0.b[1][1]++, []));
355344
+ cov_2gmpkpkrd0.s[38]++;
352963
355345
  if (!analytics.initialize) {
352964
355346
  cov_2gmpkpkrd0.b[2][0]++;
352965
- cov_2gmpkpkrd0.s[38]++;
355347
+ cov_2gmpkpkrd0.s[39]++;
352966
355348
  if (analytics.invoked) {
352967
355349
  cov_2gmpkpkrd0.b[3][0]++;
352968
- cov_2gmpkpkrd0.s[39]++;
355350
+ cov_2gmpkpkrd0.s[40]++;
352969
355351
  (cov_2gmpkpkrd0.b[4][0]++, window.console) && (cov_2gmpkpkrd0.b[4][1]++, console.error) && (cov_2gmpkpkrd0.b[4][2]++, console.error('Segment snippet included twice.'));
352970
355352
  } else {
352971
355353
  cov_2gmpkpkrd0.b[3][1]++;
352972
- cov_2gmpkpkrd0.s[40]++;
352973
- analytics.invoked = !0;
352974
355354
  cov_2gmpkpkrd0.s[41]++;
352975
- analytics.methods = ['trackSubmit', 'trackClick', 'trackLink', 'trackForm', 'pageview', 'identify', 'reset', 'group', 'track', 'ready', 'alias', 'debug', 'page', 'once', 'off', 'on'];
355355
+ analytics.invoked = !0;
352976
355356
  cov_2gmpkpkrd0.s[42]++;
355357
+ analytics.methods = ['trackSubmit', 'trackClick', 'trackLink', 'trackForm', 'pageview', 'identify', 'reset', 'group', 'track', 'ready', 'alias', 'debug', 'page', 'once', 'off', 'on'];
355358
+ cov_2gmpkpkrd0.s[43]++;
352977
355359
  analytics.factory = function (t) {
352978
355360
  cov_2gmpkpkrd0.f[1]++;
352979
- cov_2gmpkpkrd0.s[43]++;
355361
+ cov_2gmpkpkrd0.s[44]++;
352980
355362
  return function () {
352981
355363
  cov_2gmpkpkrd0.f[2]++;
352982
- var e = (cov_2gmpkpkrd0.s[44]++, Array.prototype.slice.call(arguments));
352983
- cov_2gmpkpkrd0.s[45]++;
352984
- e.unshift(t);
355364
+ var e = (cov_2gmpkpkrd0.s[45]++, Array.prototype.slice.call(arguments));
352985
355365
  cov_2gmpkpkrd0.s[46]++;
352986
- analytics.push(e);
355366
+ e.unshift(t);
352987
355367
  cov_2gmpkpkrd0.s[47]++;
355368
+ analytics.push(e);
355369
+ cov_2gmpkpkrd0.s[48]++;
352988
355370
  return analytics;
352989
355371
  };
352990
355372
  };
352991
- cov_2gmpkpkrd0.s[48]++;
352992
- for (var t = (cov_2gmpkpkrd0.s[49]++, 0); t < analytics.methods.length; t++) {
352993
- var e = (cov_2gmpkpkrd0.s[50]++, analytics.methods[t]);
352994
- cov_2gmpkpkrd0.s[51]++;
355373
+ cov_2gmpkpkrd0.s[49]++;
355374
+ for (var t = (cov_2gmpkpkrd0.s[50]++, 0); t < analytics.methods.length; t++) {
355375
+ var e = (cov_2gmpkpkrd0.s[51]++, analytics.methods[t]);
355376
+ cov_2gmpkpkrd0.s[52]++;
352995
355377
  analytics[e] = analytics.factory(e);
352996
355378
  }
352997
- cov_2gmpkpkrd0.s[52]++;
355379
+ cov_2gmpkpkrd0.s[53]++;
352998
355380
  analytics.load = function (t, e) {
352999
355381
  cov_2gmpkpkrd0.f[3]++;
353000
- var n = (cov_2gmpkpkrd0.s[53]++, document.createElement('script'));
353001
- cov_2gmpkpkrd0.s[54]++;
353002
- n.type = 'text/javascript';
355382
+ var n = (cov_2gmpkpkrd0.s[54]++, document.createElement('script'));
353003
355383
  cov_2gmpkpkrd0.s[55]++;
353004
- n.async = !0;
355384
+ n.type = 'text/javascript';
353005
355385
  cov_2gmpkpkrd0.s[56]++;
355386
+ n.async = !0;
355387
+ cov_2gmpkpkrd0.s[57]++;
353006
355388
  n.src = 'https://cdn.segment.com/analytics.js/v1/' + t + '/analytics.min.js';
353007
- var a = (cov_2gmpkpkrd0.s[57]++, document.getElementsByTagName('script')[0]);
353008
- cov_2gmpkpkrd0.s[58]++;
353009
- a.parentNode.insertBefore(n, a);
355389
+ var a = (cov_2gmpkpkrd0.s[58]++, document.getElementsByTagName('script')[0]);
353010
355390
  cov_2gmpkpkrd0.s[59]++;
355391
+ a.parentNode.insertBefore(n, a);
355392
+ cov_2gmpkpkrd0.s[60]++;
353011
355393
  analytics._loadOptions = e;
353012
355394
  };
353013
- cov_2gmpkpkrd0.s[60]++;
353014
- analytics.SNIPPET_VERSION = '4.1.0';
353015
355395
  cov_2gmpkpkrd0.s[61]++;
355396
+ analytics.SNIPPET_VERSION = '4.1.0';
355397
+ cov_2gmpkpkrd0.s[62]++;
353016
355398
  analytics.load(main_settings.analyticsToken);
353017
355399
  }
353018
355400
  } else {
353019
355401
  cov_2gmpkpkrd0.b[2][1]++;
353020
355402
  }
353021
355403
  }();
353022
- var IsablWeb = (cov_2gmpkpkrd0.s[62]++, new (external_commonjs_vue_commonjs2_vue_root_Vue_default())({
355404
+ var IsablWeb = (cov_2gmpkpkrd0.s[63]++, new (external_commonjs_vue_commonjs2_vue_root_Vue_default())({
353023
355405
  router: router,
353024
355406
  store: store,
353025
355407
  vuetify: main_vuetify,
353026
355408
  render: function render(h) {
353027
355409
  cov_2gmpkpkrd0.f[4]++;
353028
- cov_2gmpkpkrd0.s[63]++;
355410
+ cov_2gmpkpkrd0.s[64]++;
353029
355411
  return h(App);
353030
355412
  }
353031
355413
  }).$mount('#isabl-web'));