@plattar/plattar-ar-adapter 1.148.1 → 1.150.2
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.
|
@@ -2454,7 +2454,7 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
2454
2454
|
"./util/util": 15,
|
|
2455
2455
|
"./version": 16,
|
|
2456
2456
|
"@plattar/plattar-qrcode": 109,
|
|
2457
|
-
"@plattar/plattar-web":
|
|
2457
|
+
"@plattar/plattar-web": 129
|
|
2458
2458
|
}],
|
|
2459
2459
|
14: [function (require, module, exports) {
|
|
2460
2460
|
"use strict";
|
|
@@ -2825,7 +2825,7 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
2825
2825
|
Object.defineProperty(exports, "__esModule", {
|
|
2826
2826
|
value: true
|
|
2827
2827
|
});
|
|
2828
|
-
exports["default"] = "1.
|
|
2828
|
+
exports["default"] = "1.150.2";
|
|
2829
2829
|
}, {}],
|
|
2830
2830
|
17: [function (require, module, exports) {
|
|
2831
2831
|
"use strict";
|
|
@@ -4277,7 +4277,7 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
4277
4277
|
this.push("pageTitle", document.title);
|
|
4278
4278
|
this.push("pageURL", location.href);
|
|
4279
4279
|
this.push("referrer", document.referrer);
|
|
4280
|
-
this.push("user_id", AnalyticsData.
|
|
4280
|
+
this.push("user_id", AnalyticsData.getUserID());
|
|
4281
4281
|
}
|
|
4282
4282
|
_createClass(AnalyticsData, [{
|
|
4283
4283
|
key: "push",
|
|
@@ -4300,8 +4300,8 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
4300
4300
|
return this._map;
|
|
4301
4301
|
}
|
|
4302
4302
|
}], [{
|
|
4303
|
-
key: "
|
|
4304
|
-
value: function
|
|
4303
|
+
key: "getUserID",
|
|
4304
|
+
value: function getUserID() {
|
|
4305
4305
|
var key = "plattar_user_id";
|
|
4306
4306
|
var userID = null;
|
|
4307
4307
|
try {
|
|
@@ -4472,7 +4472,7 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
4472
4472
|
"custom_map": {
|
|
4473
4473
|
"dimension1": "application_id",
|
|
4474
4474
|
"dimension2": "application_title",
|
|
4475
|
-
|
|
4475
|
+
"dimension3": "platform"
|
|
4476
4476
|
}
|
|
4477
4477
|
});
|
|
4478
4478
|
gInstance("event", "app_dimension", {
|
|
@@ -4574,7 +4574,7 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
4574
4574
|
Object.defineProperty(exports, "__esModule", {
|
|
4575
4575
|
value: true
|
|
4576
4576
|
});
|
|
4577
|
-
exports.Analytics = exports.version = void 0;
|
|
4577
|
+
exports.AnalyticsData = exports.Analytics = exports.version = void 0;
|
|
4578
4578
|
exports.version = __importStar(require("./version"));
|
|
4579
4579
|
var analytics_1 = require("./analytics/analytics");
|
|
4580
4580
|
Object.defineProperty(exports, "Analytics", {
|
|
@@ -4583,10 +4583,18 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
4583
4583
|
return analytics_1.Analytics;
|
|
4584
4584
|
}
|
|
4585
4585
|
});
|
|
4586
|
+
var analytics_data_1 = require("./analytics/analytics-data");
|
|
4587
|
+
Object.defineProperty(exports, "AnalyticsData", {
|
|
4588
|
+
enumerable: true,
|
|
4589
|
+
get: function get() {
|
|
4590
|
+
return analytics_data_1.AnalyticsData;
|
|
4591
|
+
}
|
|
4592
|
+
});
|
|
4586
4593
|
var version_1 = __importDefault(require("./version"));
|
|
4587
4594
|
console.log("using @plattar/plattar-analytics v" + version_1["default"]);
|
|
4588
4595
|
}, {
|
|
4589
4596
|
"./analytics/analytics": 37,
|
|
4597
|
+
"./analytics/analytics-data": 36,
|
|
4590
4598
|
"./version": 42
|
|
4591
4599
|
}],
|
|
4592
4600
|
40: [function (require, module, exports) {
|
|
@@ -4703,7 +4711,7 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
4703
4711
|
Object.defineProperty(exports, "__esModule", {
|
|
4704
4712
|
value: true
|
|
4705
4713
|
});
|
|
4706
|
-
exports["default"] = "1.
|
|
4714
|
+
exports["default"] = "1.149.1";
|
|
4707
4715
|
}, {}],
|
|
4708
4716
|
43: [function (require, module, exports) {
|
|
4709
4717
|
"use strict";
|
|
@@ -5346,7 +5354,7 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
5346
5354
|
module.exports = PlattarQuery;
|
|
5347
5355
|
}, {
|
|
5348
5356
|
"../util/plattar-util.js": 105,
|
|
5349
|
-
"node-fetch":
|
|
5357
|
+
"node-fetch": 132
|
|
5350
5358
|
}],
|
|
5351
5359
|
45: [function (require, module, exports) {
|
|
5352
5360
|
(function (process) {
|
|
@@ -5546,8 +5554,8 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
5546
5554
|
}).call(this);
|
|
5547
5555
|
}).call(this, require('_process'));
|
|
5548
5556
|
}, {
|
|
5549
|
-
"_process":
|
|
5550
|
-
"node-fetch":
|
|
5557
|
+
"_process": 134,
|
|
5558
|
+
"node-fetch": 132
|
|
5551
5559
|
}],
|
|
5552
5560
|
46: [function (require, module, exports) {
|
|
5553
5561
|
var PlattarBase = require("./interfaces/plattar-base.js");
|
|
@@ -7511,6 +7519,7 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
7511
7519
|
}, {}],
|
|
7512
7520
|
107: [function (require, module, exports) {
|
|
7513
7521
|
var QRCodeStyling = require("qr-code-styling");
|
|
7522
|
+
var hash = require("object-hash");
|
|
7514
7523
|
var BaseElement = /*#__PURE__*/function (_HTMLElement2) {
|
|
7515
7524
|
_inherits(BaseElement, _HTMLElement2);
|
|
7516
7525
|
var _super71 = _createSuper(BaseElement);
|
|
@@ -7564,6 +7573,10 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
7564
7573
|
var image = this.hasAttribute("image") ? this.getAttribute("image") : undefined;
|
|
7565
7574
|
var color = this.hasAttribute("color") ? this.getAttribute("color") : "#000000";
|
|
7566
7575
|
var style = this.hasAttribute("qr-type") ? this.getAttribute("qr-type") : "default";
|
|
7576
|
+
|
|
7577
|
+
// used to check if anything has changed in the options
|
|
7578
|
+
// to avoid re-rendering
|
|
7579
|
+
this._optionsHash = '0';
|
|
7567
7580
|
this._options = this._options || {
|
|
7568
7581
|
imageOptions: {
|
|
7569
7582
|
hideBackgroundDots: true,
|
|
@@ -7674,13 +7687,21 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
7674
7687
|
}
|
|
7675
7688
|
var canvas = this._qrCode._canvas;
|
|
7676
7689
|
if (canvas) {
|
|
7677
|
-
canvas.style.width
|
|
7678
|
-
|
|
7690
|
+
if (canvas.style.width !== "100%") {
|
|
7691
|
+
canvas.style.width = "100%";
|
|
7692
|
+
}
|
|
7693
|
+
if (canvas.style.height !== "100%") {
|
|
7694
|
+
canvas.style.height = "100%";
|
|
7695
|
+
}
|
|
7679
7696
|
}
|
|
7680
7697
|
if (this._divContainer) {
|
|
7681
7698
|
var div = this._divContainer;
|
|
7682
|
-
div.style.width
|
|
7683
|
-
|
|
7699
|
+
if (div.style.width !== width) {
|
|
7700
|
+
div.style.width = width;
|
|
7701
|
+
}
|
|
7702
|
+
if (div.style.height !== height) {
|
|
7703
|
+
div.style.height = height;
|
|
7704
|
+
}
|
|
7684
7705
|
}
|
|
7685
7706
|
}
|
|
7686
7707
|
}, {
|
|
@@ -7693,20 +7714,30 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
7693
7714
|
var qrCode = this._qrCode;
|
|
7694
7715
|
if (!qrCode) {
|
|
7695
7716
|
var div = document.createElement("div");
|
|
7717
|
+
div.style.display = "none";
|
|
7696
7718
|
shadow.appendChild(div);
|
|
7697
7719
|
this._divContainer = div;
|
|
7698
7720
|
this._qrCode = new QRCodeStyling(this._options);
|
|
7699
7721
|
this._qrCode.append(div);
|
|
7700
7722
|
this._UpdateCanvas(width, height);
|
|
7723
|
+
div.style.display = "block";
|
|
7701
7724
|
return;
|
|
7702
7725
|
}
|
|
7703
|
-
|
|
7704
|
-
|
|
7726
|
+
var newHash = hash({
|
|
7727
|
+
options: this._options,
|
|
7728
|
+
width: width,
|
|
7729
|
+
height: height
|
|
7730
|
+
});
|
|
7731
|
+
if (this._optionsHash !== newHash) {
|
|
7732
|
+
this._optionsHash = newHash;
|
|
7733
|
+
this._qrCode.update(this._options);
|
|
7734
|
+
this._UpdateCanvas(width, height);
|
|
7735
|
+
}
|
|
7705
7736
|
}
|
|
7706
7737
|
}, {
|
|
7707
7738
|
key: "_IsFetchAPISupported",
|
|
7708
7739
|
value: function _IsFetchAPISupported() {
|
|
7709
|
-
return
|
|
7740
|
+
return "fetch" in window;
|
|
7710
7741
|
}
|
|
7711
7742
|
}, {
|
|
7712
7743
|
key: "_ShortenURL",
|
|
@@ -7717,15 +7748,28 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
7717
7748
|
return reject(new Error("PlattarQR._ShortenURL() - fetch api not supported, cannot proceed"));
|
|
7718
7749
|
}
|
|
7719
7750
|
try {
|
|
7720
|
-
var
|
|
7721
|
-
|
|
7722
|
-
|
|
7751
|
+
var b64Link = btoa(url);
|
|
7752
|
+
fetch("https://c.plattar.com/shorten", {
|
|
7753
|
+
cache: "no-store",
|
|
7754
|
+
method: "POST",
|
|
7755
|
+
headers: {
|
|
7756
|
+
"Content-Type": "application/json"
|
|
7757
|
+
},
|
|
7758
|
+
body: JSON.stringify({
|
|
7759
|
+
data: {
|
|
7760
|
+
attributes: {
|
|
7761
|
+
url: b64Link,
|
|
7762
|
+
isBase64: true
|
|
7763
|
+
}
|
|
7764
|
+
}
|
|
7765
|
+
})
|
|
7766
|
+
}).then(function (response) {
|
|
7723
7767
|
if (!response.ok) {
|
|
7724
7768
|
throw new Error("PlattarQR._ShortenURL() - response was invalid");
|
|
7725
7769
|
}
|
|
7726
|
-
return response.
|
|
7727
|
-
}).then(function (
|
|
7728
|
-
return accept(
|
|
7770
|
+
return response.json();
|
|
7771
|
+
}).then(function (json) {
|
|
7772
|
+
return accept(json.data.attributes.url);
|
|
7729
7773
|
})["catch"](function () {
|
|
7730
7774
|
return reject(new Error("PlattarQR._ShortenURL() - there was an unexpected issue generating short url"));
|
|
7731
7775
|
});
|
|
@@ -7739,7 +7783,8 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
7739
7783
|
}( /*#__PURE__*/_wrapNativeSuper(HTMLElement));
|
|
7740
7784
|
module.exports = BaseElement;
|
|
7741
7785
|
}, {
|
|
7742
|
-
"
|
|
7786
|
+
"object-hash": 133,
|
|
7787
|
+
"qr-code-styling": 135
|
|
7743
7788
|
}],
|
|
7744
7789
|
108: [function (require, module, exports) {
|
|
7745
7790
|
var BaseElement = require("./base/base-element.js");
|
|
@@ -7775,7 +7820,7 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
7775
7820
|
"./version": 110
|
|
7776
7821
|
}],
|
|
7777
7822
|
110: [function (require, module, exports) {
|
|
7778
|
-
module.exports = "1.
|
|
7823
|
+
module.exports = "1.150.2";
|
|
7779
7824
|
}, {}],
|
|
7780
7825
|
111: [function (require, module, exports) {
|
|
7781
7826
|
"use strict";
|
|
@@ -7966,7 +8011,7 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
7966
8011
|
}, {
|
|
7967
8012
|
"./remote-request": 113,
|
|
7968
8013
|
"@plattar/plattar-api": 43,
|
|
7969
|
-
"object-hash":
|
|
8014
|
+
"object-hash": 116
|
|
7970
8015
|
}],
|
|
7971
8016
|
112: [function (require, module, exports) {
|
|
7972
8017
|
"use strict";
|
|
@@ -8048,7 +8093,7 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
8048
8093
|
}, {
|
|
8049
8094
|
"./remote-request": 113,
|
|
8050
8095
|
"@plattar/plattar-api": 43,
|
|
8051
|
-
"object-hash":
|
|
8096
|
+
"object-hash": 116
|
|
8052
8097
|
}],
|
|
8053
8098
|
113: [function (require, module, exports) {
|
|
8054
8099
|
"use strict";
|
|
@@ -8128,7 +8173,7 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
8128
8173
|
}();
|
|
8129
8174
|
exports.RemoteRequest = RemoteRequest;
|
|
8130
8175
|
}, {
|
|
8131
|
-
"node-fetch":
|
|
8176
|
+
"node-fetch": 132
|
|
8132
8177
|
}],
|
|
8133
8178
|
114: [function (require, module, exports) {
|
|
8134
8179
|
"use strict";
|
|
@@ -8200,237 +8245,1290 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
8200
8245
|
exports["default"] = "1.120.1";
|
|
8201
8246
|
}, {}],
|
|
8202
8247
|
116: [function (require, module, exports) {
|
|
8203
|
-
|
|
8204
|
-
|
|
8205
|
-
|
|
8206
|
-
|
|
8207
|
-
|
|
8208
|
-
|
|
8209
|
-
|
|
8210
|
-
|
|
8211
|
-
|
|
8212
|
-
|
|
8213
|
-
|
|
8214
|
-
|
|
8215
|
-
|
|
8216
|
-
|
|
8217
|
-
}, {
|
|
8218
|
-
key: "onready",
|
|
8219
|
-
set: function set(callback) {
|
|
8220
|
-
if (this._controller) {
|
|
8221
|
-
this._controller.onload = callback;
|
|
8222
|
-
return;
|
|
8223
|
-
}
|
|
8224
|
-
throw new Error("set BaseElement.onready - cannot use as element not connected");
|
|
8225
|
-
}
|
|
8226
|
-
}, {
|
|
8227
|
-
key: "messenger",
|
|
8228
|
-
get: function get() {
|
|
8229
|
-
return this._controller ? this._controller.messenger : undefined;
|
|
8230
|
-
}
|
|
8231
|
-
}, {
|
|
8232
|
-
key: "context",
|
|
8233
|
-
get: function get() {
|
|
8234
|
-
return this._controller ? this._controller.context : undefined;
|
|
8235
|
-
}
|
|
8236
|
-
}, {
|
|
8237
|
-
key: "parent",
|
|
8238
|
-
get: function get() {
|
|
8239
|
-
return this._controller ? this._controller.parent : undefined;
|
|
8240
|
-
}
|
|
8241
|
-
}, {
|
|
8242
|
-
key: "element",
|
|
8243
|
-
get: function get() {
|
|
8244
|
-
return this._controller;
|
|
8245
|
-
}
|
|
8246
|
-
}, {
|
|
8247
|
-
key: "ready",
|
|
8248
|
-
get: function get() {
|
|
8249
|
-
return this._controller ? true : false;
|
|
8250
|
-
}
|
|
8251
|
-
}, {
|
|
8252
|
-
key: "allowDragDrop",
|
|
8253
|
-
get: function get() {
|
|
8254
|
-
return this._controller ? this._controller.controller.allowDragDrop : false;
|
|
8255
|
-
},
|
|
8256
|
-
set: function set(value) {
|
|
8257
|
-
if (this._controller) {
|
|
8258
|
-
this._controller.controller.allowDragDrop = value;
|
|
8259
|
-
return;
|
|
8260
|
-
}
|
|
8261
|
-
throw new Error("set BaseElement.allowDragDrop - cannot use as element not connected");
|
|
8262
|
-
}
|
|
8263
|
-
}, {
|
|
8264
|
-
key: "permissions",
|
|
8265
|
-
get: function get() {
|
|
8266
|
-
return [];
|
|
8267
|
-
}
|
|
8268
|
-
}, {
|
|
8269
|
-
key: "coreAttributes",
|
|
8270
|
-
get: function get() {
|
|
8271
|
-
return [{
|
|
8272
|
-
key: "scene-id",
|
|
8273
|
-
map: "scene_id"
|
|
8274
|
-
}];
|
|
8275
|
-
}
|
|
8276
|
-
}, {
|
|
8277
|
-
key: "usesCoreAttribute",
|
|
8278
|
-
value: function usesCoreAttribute(key) {
|
|
8279
|
-
var attr = this.coreAttributes;
|
|
8280
|
-
var length = attr.length;
|
|
8281
|
-
for (var i = 0; i < length; i++) {
|
|
8282
|
-
if (attr[i].key === key) {
|
|
8283
|
-
return true;
|
|
8284
|
-
}
|
|
8285
|
-
}
|
|
8286
|
-
return false;
|
|
8287
|
-
}
|
|
8288
|
-
}, {
|
|
8289
|
-
key: "optionalAttributes",
|
|
8290
|
-
get: function get() {
|
|
8291
|
-
return [];
|
|
8292
|
-
}
|
|
8293
|
-
}, {
|
|
8294
|
-
key: "hasAllCoreAttributes",
|
|
8295
|
-
get: function get() {
|
|
8296
|
-
var attr = this.coreAttributes;
|
|
8297
|
-
var length = attr.length;
|
|
8298
|
-
for (var i = 0; i < length; i++) {
|
|
8299
|
-
if (!this.hasAttribute(attr[i].key)) {
|
|
8300
|
-
return false;
|
|
8301
|
-
}
|
|
8302
|
-
}
|
|
8303
|
-
return true;
|
|
8304
|
-
}
|
|
8305
|
-
}, {
|
|
8306
|
-
key: "allMappedAttributes",
|
|
8307
|
-
get: function get() {
|
|
8308
|
-
var _this66 = this;
|
|
8309
|
-
var map = new Map();
|
|
8310
|
-
var coreAttr = this.coreAttributes;
|
|
8311
|
-
var optAttr = this.optionalAttributes;
|
|
8312
|
-
coreAttr.forEach(function (ele) {
|
|
8313
|
-
if (_this66.hasAttribute(ele.key)) {
|
|
8314
|
-
map.set(ele.map, _this66.getAttribute(ele.key));
|
|
8315
|
-
}
|
|
8316
|
-
});
|
|
8317
|
-
optAttr.forEach(function (ele) {
|
|
8318
|
-
if (_this66.hasAttribute(ele.key)) {
|
|
8319
|
-
map.set(ele.map, _this66.getAttribute(ele.key));
|
|
8320
|
-
}
|
|
8321
|
-
});
|
|
8322
|
-
return map;
|
|
8323
|
-
}
|
|
8324
|
-
}, {
|
|
8325
|
-
key: "allMappedAttributesQuery",
|
|
8326
|
-
get: function get() {
|
|
8327
|
-
var attr = this.allMappedAttributes;
|
|
8328
|
-
var queryStr = "";
|
|
8329
|
-
var first = true;
|
|
8330
|
-
var _iterator7 = _createForOfIteratorHelper(attr.entries()),
|
|
8331
|
-
_step7;
|
|
8332
|
-
try {
|
|
8333
|
-
for (_iterator7.s(); !(_step7 = _iterator7.n()).done;) {
|
|
8334
|
-
var _step7$value = _slicedToArray(_step7.value, 2),
|
|
8335
|
-
key = _step7$value[0],
|
|
8336
|
-
value = _step7$value[1];
|
|
8337
|
-
queryStr += first ? "?" + key + "=" + value : "&" + key + "=" + value;
|
|
8338
|
-
first = false;
|
|
8339
|
-
}
|
|
8340
|
-
} catch (err) {
|
|
8341
|
-
_iterator7.e(err);
|
|
8342
|
-
} finally {
|
|
8343
|
-
_iterator7.f();
|
|
8344
|
-
}
|
|
8345
|
-
return queryStr;
|
|
8346
|
-
}
|
|
8347
|
-
}, {
|
|
8348
|
-
key: "elementType",
|
|
8349
|
-
get: function get() {
|
|
8350
|
-
return "none";
|
|
8351
|
-
}
|
|
8352
|
-
}, {
|
|
8353
|
-
key: "elementLocation",
|
|
8354
|
-
get: function get() {
|
|
8355
|
-
return Util.getElementLocation(this.elementType);
|
|
8356
|
-
}
|
|
8357
|
-
}]);
|
|
8358
|
-
return BaseElement;
|
|
8359
|
-
}( /*#__PURE__*/_wrapNativeSuper(HTMLElement));
|
|
8360
|
-
module.exports = BaseElement;
|
|
8361
|
-
}, {
|
|
8362
|
-
"../../util/util": 129,
|
|
8363
|
-
"../controllers/element-controller": 118
|
|
8364
|
-
}],
|
|
8365
|
-
117: [function (require, module, exports) {
|
|
8366
|
-
var BaseElement = require("./base/base-element.js");
|
|
8367
|
-
var ConfiguratorElement = /*#__PURE__*/function (_BaseElement2) {
|
|
8368
|
-
_inherits(ConfiguratorElement, _BaseElement2);
|
|
8369
|
-
var _super74 = _createSuper(ConfiguratorElement);
|
|
8370
|
-
function ConfiguratorElement() {
|
|
8371
|
-
_classCallCheck(this, ConfiguratorElement);
|
|
8372
|
-
return _super74.call(this);
|
|
8373
|
-
}
|
|
8374
|
-
_createClass(ConfiguratorElement, [{
|
|
8375
|
-
key: "permissions",
|
|
8376
|
-
get: function get() {
|
|
8377
|
-
return ["autoplay"];
|
|
8378
|
-
}
|
|
8379
|
-
}, {
|
|
8380
|
-
key: "elementType",
|
|
8381
|
-
get: function get() {
|
|
8382
|
-
return "configurator";
|
|
8383
|
-
}
|
|
8384
|
-
}, {
|
|
8385
|
-
key: "elementLocation",
|
|
8386
|
-
get: function get() {
|
|
8387
|
-
if (this.hasAttribute("show-ui")) {
|
|
8388
|
-
var state = this.getAttribute("show-ui");
|
|
8389
|
-
return state === "true" ? "configurator/dist/index.html" : _get(_getPrototypeOf(ConfiguratorElement.prototype), "elementLocation", this);
|
|
8390
|
-
}
|
|
8391
|
-
return _get(_getPrototypeOf(ConfiguratorElement.prototype), "elementLocation", this);
|
|
8392
|
-
}
|
|
8393
|
-
}, {
|
|
8394
|
-
key: "optionalAttributes",
|
|
8395
|
-
get: function get() {
|
|
8396
|
-
return [{
|
|
8397
|
-
key: "config-state",
|
|
8398
|
-
map: "config_state"
|
|
8399
|
-
}, {
|
|
8400
|
-
key: "show-ar",
|
|
8401
|
-
map: "show_ar"
|
|
8402
|
-
}];
|
|
8403
|
-
}
|
|
8404
|
-
}]);
|
|
8405
|
-
return ConfiguratorElement;
|
|
8406
|
-
}(BaseElement);
|
|
8407
|
-
module.exports = ConfiguratorElement;
|
|
8408
|
-
}, {
|
|
8409
|
-
"./base/base-element.js": 116
|
|
8410
|
-
}],
|
|
8411
|
-
118: [function (require, module, exports) {
|
|
8412
|
-
var Util = require("../../util/util.js");
|
|
8413
|
-
var _require = require("@plattar/context-messenger"),
|
|
8414
|
-
messenger = _require.messenger;
|
|
8415
|
-
var IFrameController = require("./iframe-controller.js");
|
|
8416
|
-
var ElementController = /*#__PURE__*/function () {
|
|
8417
|
-
function ElementController(element) {
|
|
8418
|
-
var _this67 = this;
|
|
8419
|
-
_classCallCheck(this, ElementController);
|
|
8420
|
-
this._element = element;
|
|
8421
|
-
|
|
8422
|
-
// observe the changes in scene-id
|
|
8423
|
-
var callback = function callback(mutationsList) {
|
|
8424
|
-
var _iterator8 = _createForOfIteratorHelper(mutationsList),
|
|
8425
|
-
_step8;
|
|
8426
|
-
try {
|
|
8427
|
-
for (_iterator8.s(); !(_step8 = _iterator8.n()).done;) {
|
|
8428
|
-
var mutation = _step8.value;
|
|
8429
|
-
if (mutation.type === 'attributes' && element.usesCoreAttribute(mutation.attributeName)) {
|
|
8430
|
-
if (element.hasAllCoreAttributes) {
|
|
8431
|
-
_this67._load();
|
|
8248
|
+
(function (global) {
|
|
8249
|
+
(function () {
|
|
8250
|
+
!function (e) {
|
|
8251
|
+
var t;
|
|
8252
|
+
"object" == _typeof(exports) ? module.exports = e() : "function" == typeof define && define.amd ? define(e) : ("undefined" != typeof window ? t = window : "undefined" != typeof global ? t = global : "undefined" != typeof self && (t = self), t.objectHash = e());
|
|
8253
|
+
}(function () {
|
|
8254
|
+
return function o(i, u, a) {
|
|
8255
|
+
function s(n, e) {
|
|
8256
|
+
if (!u[n]) {
|
|
8257
|
+
if (!i[n]) {
|
|
8258
|
+
var t = "function" == typeof require && require;
|
|
8259
|
+
if (!e && t) return t(n, !0);
|
|
8260
|
+
if (f) return f(n, !0);
|
|
8261
|
+
throw new Error("Cannot find module '" + n + "'");
|
|
8432
8262
|
}
|
|
8433
|
-
|
|
8263
|
+
var r = u[n] = {
|
|
8264
|
+
exports: {}
|
|
8265
|
+
};
|
|
8266
|
+
i[n][0].call(r.exports, function (e) {
|
|
8267
|
+
var t = i[n][1][e];
|
|
8268
|
+
return s(t || e);
|
|
8269
|
+
}, r, r.exports, o, i, u, a);
|
|
8270
|
+
}
|
|
8271
|
+
return u[n].exports;
|
|
8272
|
+
}
|
|
8273
|
+
for (var f = "function" == typeof require && require, e = 0; e < a.length; e++) s(a[e]);
|
|
8274
|
+
return s;
|
|
8275
|
+
}({
|
|
8276
|
+
1: [function (w, b, m) {
|
|
8277
|
+
(function (e, t, f, n, r, o, i, u, a) {
|
|
8278
|
+
"use strict";
|
|
8279
|
+
|
|
8280
|
+
var s = w("crypto");
|
|
8281
|
+
function c(e, t) {
|
|
8282
|
+
return function (e, t) {
|
|
8283
|
+
var n;
|
|
8284
|
+
n = "passthrough" !== t.algorithm ? s.createHash(t.algorithm) : new y();
|
|
8285
|
+
void 0 === n.write && (n.write = n.update, n.end = n.update);
|
|
8286
|
+
g(t, n).dispatch(e), n.update || n.end("");
|
|
8287
|
+
if (n.digest) return n.digest("buffer" === t.encoding ? void 0 : t.encoding);
|
|
8288
|
+
var r = n.read();
|
|
8289
|
+
return "buffer" !== t.encoding ? r.toString(t.encoding) : r;
|
|
8290
|
+
}(e, t = h(e, t));
|
|
8291
|
+
}
|
|
8292
|
+
(m = b.exports = c).sha1 = function (e) {
|
|
8293
|
+
return c(e);
|
|
8294
|
+
}, m.keys = function (e) {
|
|
8295
|
+
return c(e, {
|
|
8296
|
+
excludeValues: !0,
|
|
8297
|
+
algorithm: "sha1",
|
|
8298
|
+
encoding: "hex"
|
|
8299
|
+
});
|
|
8300
|
+
}, m.MD5 = function (e) {
|
|
8301
|
+
return c(e, {
|
|
8302
|
+
algorithm: "md5",
|
|
8303
|
+
encoding: "hex"
|
|
8304
|
+
});
|
|
8305
|
+
}, m.keysMD5 = function (e) {
|
|
8306
|
+
return c(e, {
|
|
8307
|
+
algorithm: "md5",
|
|
8308
|
+
encoding: "hex",
|
|
8309
|
+
excludeValues: !0
|
|
8310
|
+
});
|
|
8311
|
+
};
|
|
8312
|
+
var l = s.getHashes ? s.getHashes().slice() : ["sha1", "md5"];
|
|
8313
|
+
l.push("passthrough");
|
|
8314
|
+
var d = ["buffer", "hex", "binary", "base64"];
|
|
8315
|
+
function h(e, t) {
|
|
8316
|
+
t = t || {};
|
|
8317
|
+
var n = {};
|
|
8318
|
+
if (n.algorithm = t.algorithm || "sha1", n.encoding = t.encoding || "hex", n.excludeValues = !!t.excludeValues, n.algorithm = n.algorithm.toLowerCase(), n.encoding = n.encoding.toLowerCase(), n.ignoreUnknown = !0 === t.ignoreUnknown, n.respectType = !1 !== t.respectType, n.respectFunctionNames = !1 !== t.respectFunctionNames, n.respectFunctionProperties = !1 !== t.respectFunctionProperties, n.unorderedArrays = !0 === t.unorderedArrays, n.unorderedSets = !1 !== t.unorderedSets, n.unorderedObjects = !1 !== t.unorderedObjects, n.replacer = t.replacer || void 0, n.excludeKeys = t.excludeKeys || void 0, void 0 === e) throw new Error("Object argument required.");
|
|
8319
|
+
for (var r = 0; r < l.length; ++r) l[r].toLowerCase() === n.algorithm.toLowerCase() && (n.algorithm = l[r]);
|
|
8320
|
+
if (-1 === l.indexOf(n.algorithm)) throw new Error('Algorithm "' + n.algorithm + '" not supported. supported values: ' + l.join(", "));
|
|
8321
|
+
if (-1 === d.indexOf(n.encoding) && "passthrough" !== n.algorithm) throw new Error('Encoding "' + n.encoding + '" not supported. supported values: ' + d.join(", "));
|
|
8322
|
+
return n;
|
|
8323
|
+
}
|
|
8324
|
+
function p(e) {
|
|
8325
|
+
if ("function" == typeof e) {
|
|
8326
|
+
return null != /^function\s+\w*\s*\(\s*\)\s*{\s+\[native code\]\s+}$/i.exec(Function.prototype.toString.call(e));
|
|
8327
|
+
}
|
|
8328
|
+
}
|
|
8329
|
+
function g(u, t, a) {
|
|
8330
|
+
a = a || [];
|
|
8331
|
+
function s(e) {
|
|
8332
|
+
return t.update ? t.update(e, "utf8") : t.write(e, "utf8");
|
|
8333
|
+
}
|
|
8334
|
+
return {
|
|
8335
|
+
dispatch: function dispatch(e) {
|
|
8336
|
+
return u.replacer && (e = u.replacer(e)), this["_" + (null === e ? "null" : _typeof(e))](e);
|
|
8337
|
+
},
|
|
8338
|
+
_object: function _object(t) {
|
|
8339
|
+
var e = Object.prototype.toString.call(t),
|
|
8340
|
+
n = /\[object (.*)\]/i.exec(e);
|
|
8341
|
+
n = (n = n ? n[1] : "unknown:[" + e + "]").toLowerCase();
|
|
8342
|
+
var r;
|
|
8343
|
+
if (0 <= (r = a.indexOf(t))) return this.dispatch("[CIRCULAR:" + r + "]");
|
|
8344
|
+
if (a.push(t), void 0 !== f && f.isBuffer && f.isBuffer(t)) return s("buffer:"), s(t);
|
|
8345
|
+
if ("object" === n || "function" === n || "asyncfunction" === n) {
|
|
8346
|
+
var o = Object.keys(t);
|
|
8347
|
+
u.unorderedObjects && (o = o.sort()), !1 === u.respectType || p(t) || o.splice(0, 0, "prototype", "__proto__", "constructor"), u.excludeKeys && (o = o.filter(function (e) {
|
|
8348
|
+
return !u.excludeKeys(e);
|
|
8349
|
+
})), s("object:" + o.length + ":");
|
|
8350
|
+
var i = this;
|
|
8351
|
+
return o.forEach(function (e) {
|
|
8352
|
+
i.dispatch(e), s(":"), u.excludeValues || i.dispatch(t[e]), s(",");
|
|
8353
|
+
});
|
|
8354
|
+
}
|
|
8355
|
+
if (!this["_" + n]) {
|
|
8356
|
+
if (u.ignoreUnknown) return s("[" + n + "]");
|
|
8357
|
+
throw new Error('Unknown object type "' + n + '"');
|
|
8358
|
+
}
|
|
8359
|
+
this["_" + n](t);
|
|
8360
|
+
},
|
|
8361
|
+
_array: function _array(e, t) {
|
|
8362
|
+
t = void 0 !== t ? t : !1 !== u.unorderedArrays;
|
|
8363
|
+
var n = this;
|
|
8364
|
+
if (s("array:" + e.length + ":"), !t || e.length <= 1) return e.forEach(function (e) {
|
|
8365
|
+
return n.dispatch(e);
|
|
8366
|
+
});
|
|
8367
|
+
var r = [],
|
|
8368
|
+
o = e.map(function (e) {
|
|
8369
|
+
var t = new y(),
|
|
8370
|
+
n = a.slice();
|
|
8371
|
+
return g(u, t, n).dispatch(e), r = r.concat(n.slice(a.length)), t.read().toString();
|
|
8372
|
+
});
|
|
8373
|
+
return a = a.concat(r), o.sort(), this._array(o, !1);
|
|
8374
|
+
},
|
|
8375
|
+
_date: function _date(e) {
|
|
8376
|
+
return s("date:" + e.toJSON());
|
|
8377
|
+
},
|
|
8378
|
+
_symbol: function _symbol(e) {
|
|
8379
|
+
return s("symbol:" + e.toString());
|
|
8380
|
+
},
|
|
8381
|
+
_error: function _error(e) {
|
|
8382
|
+
return s("error:" + e.toString());
|
|
8383
|
+
},
|
|
8384
|
+
_boolean: function _boolean(e) {
|
|
8385
|
+
return s("bool:" + e.toString());
|
|
8386
|
+
},
|
|
8387
|
+
_string: function _string(e) {
|
|
8388
|
+
s("string:" + e.length + ":"), s(e.toString());
|
|
8389
|
+
},
|
|
8390
|
+
_function: function _function(e) {
|
|
8391
|
+
s("fn:"), p(e) ? this.dispatch("[native]") : this.dispatch(e.toString()), !1 !== u.respectFunctionNames && this.dispatch("function-name:" + String(e.name)), u.respectFunctionProperties && this._object(e);
|
|
8392
|
+
},
|
|
8393
|
+
_number: function _number(e) {
|
|
8394
|
+
return s("number:" + e.toString());
|
|
8395
|
+
},
|
|
8396
|
+
_xml: function _xml(e) {
|
|
8397
|
+
return s("xml:" + e.toString());
|
|
8398
|
+
},
|
|
8399
|
+
_null: function _null() {
|
|
8400
|
+
return s("Null");
|
|
8401
|
+
},
|
|
8402
|
+
_undefined: function _undefined() {
|
|
8403
|
+
return s("Undefined");
|
|
8404
|
+
},
|
|
8405
|
+
_regexp: function _regexp(e) {
|
|
8406
|
+
return s("regex:" + e.toString());
|
|
8407
|
+
},
|
|
8408
|
+
_uint8array: function _uint8array(e) {
|
|
8409
|
+
return s("uint8array:"), this.dispatch(Array.prototype.slice.call(e));
|
|
8410
|
+
},
|
|
8411
|
+
_uint8clampedarray: function _uint8clampedarray(e) {
|
|
8412
|
+
return s("uint8clampedarray:"), this.dispatch(Array.prototype.slice.call(e));
|
|
8413
|
+
},
|
|
8414
|
+
_int8array: function _int8array(e) {
|
|
8415
|
+
return s("uint8array:"), this.dispatch(Array.prototype.slice.call(e));
|
|
8416
|
+
},
|
|
8417
|
+
_uint16array: function _uint16array(e) {
|
|
8418
|
+
return s("uint16array:"), this.dispatch(Array.prototype.slice.call(e));
|
|
8419
|
+
},
|
|
8420
|
+
_int16array: function _int16array(e) {
|
|
8421
|
+
return s("uint16array:"), this.dispatch(Array.prototype.slice.call(e));
|
|
8422
|
+
},
|
|
8423
|
+
_uint32array: function _uint32array(e) {
|
|
8424
|
+
return s("uint32array:"), this.dispatch(Array.prototype.slice.call(e));
|
|
8425
|
+
},
|
|
8426
|
+
_int32array: function _int32array(e) {
|
|
8427
|
+
return s("uint32array:"), this.dispatch(Array.prototype.slice.call(e));
|
|
8428
|
+
},
|
|
8429
|
+
_float32array: function _float32array(e) {
|
|
8430
|
+
return s("float32array:"), this.dispatch(Array.prototype.slice.call(e));
|
|
8431
|
+
},
|
|
8432
|
+
_float64array: function _float64array(e) {
|
|
8433
|
+
return s("float64array:"), this.dispatch(Array.prototype.slice.call(e));
|
|
8434
|
+
},
|
|
8435
|
+
_arraybuffer: function _arraybuffer(e) {
|
|
8436
|
+
return s("arraybuffer:"), this.dispatch(new Uint8Array(e));
|
|
8437
|
+
},
|
|
8438
|
+
_url: function _url(e) {
|
|
8439
|
+
return s("url:" + e.toString());
|
|
8440
|
+
},
|
|
8441
|
+
_map: function _map(e) {
|
|
8442
|
+
s("map:");
|
|
8443
|
+
var t = Array.from(e);
|
|
8444
|
+
return this._array(t, !1 !== u.unorderedSets);
|
|
8445
|
+
},
|
|
8446
|
+
_set: function _set(e) {
|
|
8447
|
+
s("set:");
|
|
8448
|
+
var t = Array.from(e);
|
|
8449
|
+
return this._array(t, !1 !== u.unorderedSets);
|
|
8450
|
+
},
|
|
8451
|
+
_file: function _file(e) {
|
|
8452
|
+
return s("file:"), this.dispatch([e.name, e.size, e.type, e.lastModfied]);
|
|
8453
|
+
},
|
|
8454
|
+
_blob: function _blob() {
|
|
8455
|
+
if (u.ignoreUnknown) return s("[blob]");
|
|
8456
|
+
throw Error('Hashing Blob objects is currently not supported\n(see https://github.com/puleos/object-hash/issues/26)\nUse "options.replacer" or "options.ignoreUnknown"\n');
|
|
8457
|
+
},
|
|
8458
|
+
_domwindow: function _domwindow() {
|
|
8459
|
+
return s("domwindow");
|
|
8460
|
+
},
|
|
8461
|
+
_bigint: function _bigint(e) {
|
|
8462
|
+
return s("bigint:" + e.toString());
|
|
8463
|
+
},
|
|
8464
|
+
_process: function _process() {
|
|
8465
|
+
return s("process");
|
|
8466
|
+
},
|
|
8467
|
+
_timer: function _timer() {
|
|
8468
|
+
return s("timer");
|
|
8469
|
+
},
|
|
8470
|
+
_pipe: function _pipe() {
|
|
8471
|
+
return s("pipe");
|
|
8472
|
+
},
|
|
8473
|
+
_tcp: function _tcp() {
|
|
8474
|
+
return s("tcp");
|
|
8475
|
+
},
|
|
8476
|
+
_udp: function _udp() {
|
|
8477
|
+
return s("udp");
|
|
8478
|
+
},
|
|
8479
|
+
_tty: function _tty() {
|
|
8480
|
+
return s("tty");
|
|
8481
|
+
},
|
|
8482
|
+
_statwatcher: function _statwatcher() {
|
|
8483
|
+
return s("statwatcher");
|
|
8484
|
+
},
|
|
8485
|
+
_securecontext: function _securecontext() {
|
|
8486
|
+
return s("securecontext");
|
|
8487
|
+
},
|
|
8488
|
+
_connection: function _connection() {
|
|
8489
|
+
return s("connection");
|
|
8490
|
+
},
|
|
8491
|
+
_zlib: function _zlib() {
|
|
8492
|
+
return s("zlib");
|
|
8493
|
+
},
|
|
8494
|
+
_context: function _context() {
|
|
8495
|
+
return s("context");
|
|
8496
|
+
},
|
|
8497
|
+
_nodescript: function _nodescript() {
|
|
8498
|
+
return s("nodescript");
|
|
8499
|
+
},
|
|
8500
|
+
_httpparser: function _httpparser() {
|
|
8501
|
+
return s("httpparser");
|
|
8502
|
+
},
|
|
8503
|
+
_dataview: function _dataview() {
|
|
8504
|
+
return s("dataview");
|
|
8505
|
+
},
|
|
8506
|
+
_signal: function _signal() {
|
|
8507
|
+
return s("signal");
|
|
8508
|
+
},
|
|
8509
|
+
_fsevent: function _fsevent() {
|
|
8510
|
+
return s("fsevent");
|
|
8511
|
+
},
|
|
8512
|
+
_tlswrap: function _tlswrap() {
|
|
8513
|
+
return s("tlswrap");
|
|
8514
|
+
}
|
|
8515
|
+
};
|
|
8516
|
+
}
|
|
8517
|
+
function y() {
|
|
8518
|
+
return {
|
|
8519
|
+
buf: "",
|
|
8520
|
+
write: function write(e) {
|
|
8521
|
+
this.buf += e;
|
|
8522
|
+
},
|
|
8523
|
+
end: function end(e) {
|
|
8524
|
+
this.buf += e;
|
|
8525
|
+
},
|
|
8526
|
+
read: function read() {
|
|
8527
|
+
return this.buf;
|
|
8528
|
+
}
|
|
8529
|
+
};
|
|
8530
|
+
}
|
|
8531
|
+
m.writeToStream = function (e, t, n) {
|
|
8532
|
+
return void 0 === n && (n = t, t = {}), g(t = h(e, t), n).dispatch(e);
|
|
8533
|
+
};
|
|
8534
|
+
}).call(this, w("lYpoI2"), "undefined" != typeof self ? self : "undefined" != typeof window ? window : {}, w("buffer").Buffer, arguments[3], arguments[4], arguments[5], arguments[6], "/fake_7eac155c.js", "/");
|
|
8535
|
+
}, {
|
|
8536
|
+
buffer: 3,
|
|
8537
|
+
crypto: 5,
|
|
8538
|
+
lYpoI2: 10
|
|
8539
|
+
}],
|
|
8540
|
+
2: [function (e, t, f) {
|
|
8541
|
+
(function (e, t, n, r, o, i, u, a, s) {
|
|
8542
|
+
!function (e) {
|
|
8543
|
+
"use strict";
|
|
8544
|
+
|
|
8545
|
+
var f = "undefined" != typeof Uint8Array ? Uint8Array : Array,
|
|
8546
|
+
n = "+".charCodeAt(0),
|
|
8547
|
+
r = "/".charCodeAt(0),
|
|
8548
|
+
o = "0".charCodeAt(0),
|
|
8549
|
+
i = "a".charCodeAt(0),
|
|
8550
|
+
u = "A".charCodeAt(0),
|
|
8551
|
+
a = "-".charCodeAt(0),
|
|
8552
|
+
s = "_".charCodeAt(0);
|
|
8553
|
+
function c(e) {
|
|
8554
|
+
var t = e.charCodeAt(0);
|
|
8555
|
+
return t === n || t === a ? 62 : t === r || t === s ? 63 : t < o ? -1 : t < o + 10 ? t - o + 26 + 26 : t < u + 26 ? t - u : t < i + 26 ? t - i + 26 : void 0;
|
|
8556
|
+
}
|
|
8557
|
+
e.toByteArray = function (e) {
|
|
8558
|
+
var t, n;
|
|
8559
|
+
if (0 < e.length % 4) throw new Error("Invalid string. Length must be a multiple of 4");
|
|
8560
|
+
var r = e.length,
|
|
8561
|
+
o = "=" === e.charAt(r - 2) ? 2 : "=" === e.charAt(r - 1) ? 1 : 0,
|
|
8562
|
+
i = new f(3 * e.length / 4 - o),
|
|
8563
|
+
u = 0 < o ? e.length - 4 : e.length,
|
|
8564
|
+
a = 0;
|
|
8565
|
+
function s(e) {
|
|
8566
|
+
i[a++] = e;
|
|
8567
|
+
}
|
|
8568
|
+
for (t = 0; t < u; t += 4, 0) s((16711680 & (n = c(e.charAt(t)) << 18 | c(e.charAt(t + 1)) << 12 | c(e.charAt(t + 2)) << 6 | c(e.charAt(t + 3)))) >> 16), s((65280 & n) >> 8), s(255 & n);
|
|
8569
|
+
return 2 == o ? s(255 & (n = c(e.charAt(t)) << 2 | c(e.charAt(t + 1)) >> 4)) : 1 == o && (s((n = c(e.charAt(t)) << 10 | c(e.charAt(t + 1)) << 4 | c(e.charAt(t + 2)) >> 2) >> 8 & 255), s(255 & n)), i;
|
|
8570
|
+
}, e.fromByteArray = function (e) {
|
|
8571
|
+
var t,
|
|
8572
|
+
n,
|
|
8573
|
+
r,
|
|
8574
|
+
o,
|
|
8575
|
+
i = e.length % 3,
|
|
8576
|
+
u = "";
|
|
8577
|
+
function a(e) {
|
|
8578
|
+
return "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt(e);
|
|
8579
|
+
}
|
|
8580
|
+
for (t = 0, r = e.length - i; t < r; t += 3) n = (e[t] << 16) + (e[t + 1] << 8) + e[t + 2], u += a((o = n) >> 18 & 63) + a(o >> 12 & 63) + a(o >> 6 & 63) + a(63 & o);
|
|
8581
|
+
switch (i) {
|
|
8582
|
+
case 1:
|
|
8583
|
+
u += a((n = e[e.length - 1]) >> 2), u += a(n << 4 & 63), u += "==";
|
|
8584
|
+
break;
|
|
8585
|
+
case 2:
|
|
8586
|
+
u += a((n = (e[e.length - 2] << 8) + e[e.length - 1]) >> 10), u += a(n >> 4 & 63), u += a(n << 2 & 63), u += "=";
|
|
8587
|
+
}
|
|
8588
|
+
return u;
|
|
8589
|
+
};
|
|
8590
|
+
}(void 0 === f ? this.base64js = {} : f);
|
|
8591
|
+
}).call(this, e("lYpoI2"), "undefined" != typeof self ? self : "undefined" != typeof window ? window : {}, e("buffer").Buffer, arguments[3], arguments[4], arguments[5], arguments[6], "/node_modules/gulp-browserify/node_modules/base64-js/lib/b64.js", "/node_modules/gulp-browserify/node_modules/base64-js/lib");
|
|
8592
|
+
}, {
|
|
8593
|
+
buffer: 3,
|
|
8594
|
+
lYpoI2: 10
|
|
8595
|
+
}],
|
|
8596
|
+
3: [function (O, e, H) {
|
|
8597
|
+
(function (e, t, g, n, r, o, i, u, a) {
|
|
8598
|
+
var s = O("base64-js"),
|
|
8599
|
+
f = O("ieee754");
|
|
8600
|
+
function g(e, t, n) {
|
|
8601
|
+
if (!(this instanceof g)) return new g(e, t, n);
|
|
8602
|
+
var r,
|
|
8603
|
+
o,
|
|
8604
|
+
i,
|
|
8605
|
+
u,
|
|
8606
|
+
a,
|
|
8607
|
+
s = _typeof(e);
|
|
8608
|
+
if ("base64" === t && "string" == s) for (e = (r = e).trim ? r.trim() : r.replace(/^\s+|\s+$/g, ""); e.length % 4 != 0;) e += "=";
|
|
8609
|
+
if ("number" == s) o = x(e);else if ("string" == s) o = g.byteLength(e, t);else {
|
|
8610
|
+
if ("object" != s) throw new Error("First argument needs to be a number, array or string.");
|
|
8611
|
+
o = x(e.length);
|
|
8612
|
+
}
|
|
8613
|
+
if (g._useTypedArrays ? i = g._augment(new Uint8Array(o)) : ((i = this).length = o, i._isBuffer = !0), g._useTypedArrays && "number" == typeof e.byteLength) i._set(e);else if (S(a = e) || g.isBuffer(a) || a && "object" == _typeof(a) && "number" == typeof a.length) for (u = 0; u < o; u++) g.isBuffer(e) ? i[u] = e.readUInt8(u) : i[u] = e[u];else if ("string" == s) i.write(e, 0, t);else if ("number" == s && !g._useTypedArrays && !n) for (u = 0; u < o; u++) i[u] = 0;
|
|
8614
|
+
return i;
|
|
8615
|
+
}
|
|
8616
|
+
function y(e, t, n, r) {
|
|
8617
|
+
return g._charsWritten = T(function (e) {
|
|
8618
|
+
for (var t = [], n = 0; n < e.length; n++) t.push(255 & e.charCodeAt(n));
|
|
8619
|
+
return t;
|
|
8620
|
+
}(t), e, n, r);
|
|
8621
|
+
}
|
|
8622
|
+
function w(e, t, n, r) {
|
|
8623
|
+
return g._charsWritten = T(function (e) {
|
|
8624
|
+
for (var t, n, r, o = [], i = 0; i < e.length; i++) t = e.charCodeAt(i), n = t >> 8, r = t % 256, o.push(r), o.push(n);
|
|
8625
|
+
return o;
|
|
8626
|
+
}(t), e, n, r);
|
|
8627
|
+
}
|
|
8628
|
+
function c(e, t, n) {
|
|
8629
|
+
var r = "";
|
|
8630
|
+
n = Math.min(e.length, n);
|
|
8631
|
+
for (var o = t; o < n; o++) r += String.fromCharCode(e[o]);
|
|
8632
|
+
return r;
|
|
8633
|
+
}
|
|
8634
|
+
function l(e, t, n, r) {
|
|
8635
|
+
r || (D("boolean" == typeof n, "missing or invalid endian"), D(null != t, "missing offset"), D(t + 1 < e.length, "Trying to read beyond buffer length"));
|
|
8636
|
+
var o,
|
|
8637
|
+
i = e.length;
|
|
8638
|
+
if (!(i <= t)) return n ? (o = e[t], t + 1 < i && (o |= e[t + 1] << 8)) : (o = e[t] << 8, t + 1 < i && (o |= e[t + 1])), o;
|
|
8639
|
+
}
|
|
8640
|
+
function d(e, t, n, r) {
|
|
8641
|
+
r || (D("boolean" == typeof n, "missing or invalid endian"), D(null != t, "missing offset"), D(t + 3 < e.length, "Trying to read beyond buffer length"));
|
|
8642
|
+
var o,
|
|
8643
|
+
i = e.length;
|
|
8644
|
+
if (!(i <= t)) return n ? (t + 2 < i && (o = e[t + 2] << 16), t + 1 < i && (o |= e[t + 1] << 8), o |= e[t], t + 3 < i && (o += e[t + 3] << 24 >>> 0)) : (t + 1 < i && (o = e[t + 1] << 16), t + 2 < i && (o |= e[t + 2] << 8), t + 3 < i && (o |= e[t + 3]), o += e[t] << 24 >>> 0), o;
|
|
8645
|
+
}
|
|
8646
|
+
function h(e, t, n, r) {
|
|
8647
|
+
if (r || (D("boolean" == typeof n, "missing or invalid endian"), D(null != t, "missing offset"), D(t + 1 < e.length, "Trying to read beyond buffer length")), !(e.length <= t)) {
|
|
8648
|
+
var o = l(e, t, n, !0);
|
|
8649
|
+
return 32768 & o ? -1 * (65535 - o + 1) : o;
|
|
8650
|
+
}
|
|
8651
|
+
}
|
|
8652
|
+
function p(e, t, n, r) {
|
|
8653
|
+
if (r || (D("boolean" == typeof n, "missing or invalid endian"), D(null != t, "missing offset"), D(t + 3 < e.length, "Trying to read beyond buffer length")), !(e.length <= t)) {
|
|
8654
|
+
var o = d(e, t, n, !0);
|
|
8655
|
+
return 2147483648 & o ? -1 * (4294967295 - o + 1) : o;
|
|
8656
|
+
}
|
|
8657
|
+
}
|
|
8658
|
+
function b(e, t, n, r) {
|
|
8659
|
+
return r || (D("boolean" == typeof n, "missing or invalid endian"), D(t + 3 < e.length, "Trying to read beyond buffer length")), f.read(e, t, n, 23, 4);
|
|
8660
|
+
}
|
|
8661
|
+
function m(e, t, n, r) {
|
|
8662
|
+
return r || (D("boolean" == typeof n, "missing or invalid endian"), D(t + 7 < e.length, "Trying to read beyond buffer length")), f.read(e, t, n, 52, 8);
|
|
8663
|
+
}
|
|
8664
|
+
function v(e, t, n, r, o) {
|
|
8665
|
+
o || (D(null != t, "missing value"), D("boolean" == typeof r, "missing or invalid endian"), D(null != n, "missing offset"), D(n + 1 < e.length, "trying to write beyond buffer length"), N(t, 65535));
|
|
8666
|
+
var i = e.length;
|
|
8667
|
+
if (!(i <= n)) for (var u = 0, a = Math.min(i - n, 2); u < a; u++) e[n + u] = (t & 255 << 8 * (r ? u : 1 - u)) >>> 8 * (r ? u : 1 - u);
|
|
8668
|
+
}
|
|
8669
|
+
function _(e, t, n, r, o) {
|
|
8670
|
+
o || (D(null != t, "missing value"), D("boolean" == typeof r, "missing or invalid endian"), D(null != n, "missing offset"), D(n + 3 < e.length, "trying to write beyond buffer length"), N(t, 4294967295));
|
|
8671
|
+
var i = e.length;
|
|
8672
|
+
if (!(i <= n)) for (var u = 0, a = Math.min(i - n, 4); u < a; u++) e[n + u] = t >>> 8 * (r ? u : 3 - u) & 255;
|
|
8673
|
+
}
|
|
8674
|
+
function E(e, t, n, r, o) {
|
|
8675
|
+
o || (D(null != t, "missing value"), D("boolean" == typeof r, "missing or invalid endian"), D(null != n, "missing offset"), D(n + 1 < e.length, "Trying to write beyond buffer length"), Y(t, 32767, -32768)), e.length <= n || v(e, 0 <= t ? t : 65535 + t + 1, n, r, o);
|
|
8676
|
+
}
|
|
8677
|
+
function I(e, t, n, r, o) {
|
|
8678
|
+
o || (D(null != t, "missing value"), D("boolean" == typeof r, "missing or invalid endian"), D(null != n, "missing offset"), D(n + 3 < e.length, "Trying to write beyond buffer length"), Y(t, 2147483647, -2147483648)), e.length <= n || _(e, 0 <= t ? t : 4294967295 + t + 1, n, r, o);
|
|
8679
|
+
}
|
|
8680
|
+
function A(e, t, n, r, o) {
|
|
8681
|
+
o || (D(null != t, "missing value"), D("boolean" == typeof r, "missing or invalid endian"), D(null != n, "missing offset"), D(n + 3 < e.length, "Trying to write beyond buffer length"), F(t, 34028234663852886e22, -34028234663852886e22)), e.length <= n || f.write(e, t, n, r, 23, 4);
|
|
8682
|
+
}
|
|
8683
|
+
function B(e, t, n, r, o) {
|
|
8684
|
+
o || (D(null != t, "missing value"), D("boolean" == typeof r, "missing or invalid endian"), D(null != n, "missing offset"), D(n + 7 < e.length, "Trying to write beyond buffer length"), F(t, 17976931348623157e292, -17976931348623157e292)), e.length <= n || f.write(e, t, n, r, 52, 8);
|
|
8685
|
+
}
|
|
8686
|
+
H.Buffer = g, H.SlowBuffer = g, H.INSPECT_MAX_BYTES = 50, g.poolSize = 8192, g._useTypedArrays = function () {
|
|
8687
|
+
try {
|
|
8688
|
+
var e = new ArrayBuffer(0),
|
|
8689
|
+
t = new Uint8Array(e);
|
|
8690
|
+
return t.foo = function () {
|
|
8691
|
+
return 42;
|
|
8692
|
+
}, 42 === t.foo() && "function" == typeof t.subarray;
|
|
8693
|
+
} catch (e) {
|
|
8694
|
+
return !1;
|
|
8695
|
+
}
|
|
8696
|
+
}(), g.isEncoding = function (e) {
|
|
8697
|
+
switch (String(e).toLowerCase()) {
|
|
8698
|
+
case "hex":
|
|
8699
|
+
case "utf8":
|
|
8700
|
+
case "utf-8":
|
|
8701
|
+
case "ascii":
|
|
8702
|
+
case "binary":
|
|
8703
|
+
case "base64":
|
|
8704
|
+
case "raw":
|
|
8705
|
+
case "ucs2":
|
|
8706
|
+
case "ucs-2":
|
|
8707
|
+
case "utf16le":
|
|
8708
|
+
case "utf-16le":
|
|
8709
|
+
return !0;
|
|
8710
|
+
default:
|
|
8711
|
+
return !1;
|
|
8712
|
+
}
|
|
8713
|
+
}, g.isBuffer = function (e) {
|
|
8714
|
+
return !(null == e || !e._isBuffer);
|
|
8715
|
+
}, g.byteLength = function (e, t) {
|
|
8716
|
+
var n;
|
|
8717
|
+
switch (e += "", t || "utf8") {
|
|
8718
|
+
case "hex":
|
|
8719
|
+
n = e.length / 2;
|
|
8720
|
+
break;
|
|
8721
|
+
case "utf8":
|
|
8722
|
+
case "utf-8":
|
|
8723
|
+
n = C(e).length;
|
|
8724
|
+
break;
|
|
8725
|
+
case "ascii":
|
|
8726
|
+
case "binary":
|
|
8727
|
+
case "raw":
|
|
8728
|
+
n = e.length;
|
|
8729
|
+
break;
|
|
8730
|
+
case "base64":
|
|
8731
|
+
n = k(e).length;
|
|
8732
|
+
break;
|
|
8733
|
+
case "ucs2":
|
|
8734
|
+
case "ucs-2":
|
|
8735
|
+
case "utf16le":
|
|
8736
|
+
case "utf-16le":
|
|
8737
|
+
n = 2 * e.length;
|
|
8738
|
+
break;
|
|
8739
|
+
default:
|
|
8740
|
+
throw new Error("Unknown encoding");
|
|
8741
|
+
}
|
|
8742
|
+
return n;
|
|
8743
|
+
}, g.concat = function (e, t) {
|
|
8744
|
+
if (D(S(e), "Usage: Buffer.concat(list, [totalLength])\nlist should be an Array."), 0 === e.length) return new g(0);
|
|
8745
|
+
if (1 === e.length) return e[0];
|
|
8746
|
+
if ("number" != typeof t) for (o = t = 0; o < e.length; o++) t += e[o].length;
|
|
8747
|
+
for (var n = new g(t), r = 0, o = 0; o < e.length; o++) {
|
|
8748
|
+
var i = e[o];
|
|
8749
|
+
i.copy(n, r), r += i.length;
|
|
8750
|
+
}
|
|
8751
|
+
return n;
|
|
8752
|
+
}, g.prototype.write = function (e, t, n, r) {
|
|
8753
|
+
var o;
|
|
8754
|
+
isFinite(t) ? isFinite(n) || (r = n, n = void 0) : (o = r, r = t, t = n, n = o), t = Number(t) || 0;
|
|
8755
|
+
var i,
|
|
8756
|
+
u,
|
|
8757
|
+
a,
|
|
8758
|
+
s,
|
|
8759
|
+
f,
|
|
8760
|
+
c,
|
|
8761
|
+
l,
|
|
8762
|
+
d,
|
|
8763
|
+
h,
|
|
8764
|
+
p = this.length - t;
|
|
8765
|
+
switch ((!n || p < (n = Number(n))) && (n = p), r = String(r || "utf8").toLowerCase()) {
|
|
8766
|
+
case "hex":
|
|
8767
|
+
i = function (e, t, n, r) {
|
|
8768
|
+
n = Number(n) || 0;
|
|
8769
|
+
var o = e.length - n;
|
|
8770
|
+
(!r || o < (r = Number(r))) && (r = o);
|
|
8771
|
+
var i = t.length;
|
|
8772
|
+
D(i % 2 == 0, "Invalid hex string"), i / 2 < r && (r = i / 2);
|
|
8773
|
+
for (var u = 0; u < r; u++) {
|
|
8774
|
+
var a = parseInt(t.substr(2 * u, 2), 16);
|
|
8775
|
+
D(!isNaN(a), "Invalid hex string"), e[n + u] = a;
|
|
8776
|
+
}
|
|
8777
|
+
return g._charsWritten = 2 * u, u;
|
|
8778
|
+
}(this, e, t, n);
|
|
8779
|
+
break;
|
|
8780
|
+
case "utf8":
|
|
8781
|
+
case "utf-8":
|
|
8782
|
+
c = this, l = e, d = t, h = n, i = g._charsWritten = T(C(l), c, d, h);
|
|
8783
|
+
break;
|
|
8784
|
+
case "ascii":
|
|
8785
|
+
case "binary":
|
|
8786
|
+
i = y(this, e, t, n);
|
|
8787
|
+
break;
|
|
8788
|
+
case "base64":
|
|
8789
|
+
u = this, a = e, s = t, f = n, i = g._charsWritten = T(k(a), u, s, f);
|
|
8790
|
+
break;
|
|
8791
|
+
case "ucs2":
|
|
8792
|
+
case "ucs-2":
|
|
8793
|
+
case "utf16le":
|
|
8794
|
+
case "utf-16le":
|
|
8795
|
+
i = w(this, e, t, n);
|
|
8796
|
+
break;
|
|
8797
|
+
default:
|
|
8798
|
+
throw new Error("Unknown encoding");
|
|
8799
|
+
}
|
|
8800
|
+
return i;
|
|
8801
|
+
}, g.prototype.toString = function (e, t, n) {
|
|
8802
|
+
var r,
|
|
8803
|
+
o,
|
|
8804
|
+
i,
|
|
8805
|
+
u,
|
|
8806
|
+
a = this;
|
|
8807
|
+
if (e = String(e || "utf8").toLowerCase(), t = Number(t) || 0, (n = void 0 !== n ? Number(n) : n = a.length) === t) return "";
|
|
8808
|
+
switch (e) {
|
|
8809
|
+
case "hex":
|
|
8810
|
+
r = function (e, t, n) {
|
|
8811
|
+
var r = e.length;
|
|
8812
|
+
(!t || t < 0) && (t = 0);
|
|
8813
|
+
(!n || n < 0 || r < n) && (n = r);
|
|
8814
|
+
for (var o = "", i = t; i < n; i++) o += j(e[i]);
|
|
8815
|
+
return o;
|
|
8816
|
+
}(a, t, n);
|
|
8817
|
+
break;
|
|
8818
|
+
case "utf8":
|
|
8819
|
+
case "utf-8":
|
|
8820
|
+
r = function (e, t, n) {
|
|
8821
|
+
var r = "",
|
|
8822
|
+
o = "";
|
|
8823
|
+
n = Math.min(e.length, n);
|
|
8824
|
+
for (var i = t; i < n; i++) e[i] <= 127 ? (r += M(o) + String.fromCharCode(e[i]), o = "") : o += "%" + e[i].toString(16);
|
|
8825
|
+
return r + M(o);
|
|
8826
|
+
}(a, t, n);
|
|
8827
|
+
break;
|
|
8828
|
+
case "ascii":
|
|
8829
|
+
case "binary":
|
|
8830
|
+
r = c(a, t, n);
|
|
8831
|
+
break;
|
|
8832
|
+
case "base64":
|
|
8833
|
+
o = a, u = n, r = 0 === (i = t) && u === o.length ? s.fromByteArray(o) : s.fromByteArray(o.slice(i, u));
|
|
8834
|
+
break;
|
|
8835
|
+
case "ucs2":
|
|
8836
|
+
case "ucs-2":
|
|
8837
|
+
case "utf16le":
|
|
8838
|
+
case "utf-16le":
|
|
8839
|
+
r = function (e, t, n) {
|
|
8840
|
+
for (var r = e.slice(t, n), o = "", i = 0; i < r.length; i += 2) o += String.fromCharCode(r[i] + 256 * r[i + 1]);
|
|
8841
|
+
return o;
|
|
8842
|
+
}(a, t, n);
|
|
8843
|
+
break;
|
|
8844
|
+
default:
|
|
8845
|
+
throw new Error("Unknown encoding");
|
|
8846
|
+
}
|
|
8847
|
+
return r;
|
|
8848
|
+
}, g.prototype.toJSON = function () {
|
|
8849
|
+
return {
|
|
8850
|
+
type: "Buffer",
|
|
8851
|
+
data: Array.prototype.slice.call(this._arr || this, 0)
|
|
8852
|
+
};
|
|
8853
|
+
}, g.prototype.copy = function (e, t, n, r) {
|
|
8854
|
+
if (n = n || 0, r || 0 === r || (r = this.length), t = t || 0, r !== n && 0 !== e.length && 0 !== this.length) {
|
|
8855
|
+
D(n <= r, "sourceEnd < sourceStart"), D(0 <= t && t < e.length, "targetStart out of bounds"), D(0 <= n && n < this.length, "sourceStart out of bounds"), D(0 <= r && r <= this.length, "sourceEnd out of bounds"), r > this.length && (r = this.length), e.length - t < r - n && (r = e.length - t + n);
|
|
8856
|
+
var o = r - n;
|
|
8857
|
+
if (o < 100 || !g._useTypedArrays) for (var i = 0; i < o; i++) e[i + t] = this[i + n];else e._set(this.subarray(n, n + o), t);
|
|
8858
|
+
}
|
|
8859
|
+
}, g.prototype.slice = function (e, t) {
|
|
8860
|
+
var n = this.length;
|
|
8861
|
+
if (e = U(e, n, 0), t = U(t, n, n), g._useTypedArrays) return g._augment(this.subarray(e, t));
|
|
8862
|
+
for (var r = t - e, o = new g(r, void 0, !0), i = 0; i < r; i++) o[i] = this[i + e];
|
|
8863
|
+
return o;
|
|
8864
|
+
}, g.prototype.get = function (e) {
|
|
8865
|
+
return console.log(".get() is deprecated. Access using array indexes instead."), this.readUInt8(e);
|
|
8866
|
+
}, g.prototype.set = function (e, t) {
|
|
8867
|
+
return console.log(".set() is deprecated. Access using array indexes instead."), this.writeUInt8(e, t);
|
|
8868
|
+
}, g.prototype.readUInt8 = function (e, t) {
|
|
8869
|
+
if (t || (D(null != e, "missing offset"), D(e < this.length, "Trying to read beyond buffer length")), !(e >= this.length)) return this[e];
|
|
8870
|
+
}, g.prototype.readUInt16LE = function (e, t) {
|
|
8871
|
+
return l(this, e, !0, t);
|
|
8872
|
+
}, g.prototype.readUInt16BE = function (e, t) {
|
|
8873
|
+
return l(this, e, !1, t);
|
|
8874
|
+
}, g.prototype.readUInt32LE = function (e, t) {
|
|
8875
|
+
return d(this, e, !0, t);
|
|
8876
|
+
}, g.prototype.readUInt32BE = function (e, t) {
|
|
8877
|
+
return d(this, e, !1, t);
|
|
8878
|
+
}, g.prototype.readInt8 = function (e, t) {
|
|
8879
|
+
if (t || (D(null != e, "missing offset"), D(e < this.length, "Trying to read beyond buffer length")), !(e >= this.length)) return 128 & this[e] ? -1 * (255 - this[e] + 1) : this[e];
|
|
8880
|
+
}, g.prototype.readInt16LE = function (e, t) {
|
|
8881
|
+
return h(this, e, !0, t);
|
|
8882
|
+
}, g.prototype.readInt16BE = function (e, t) {
|
|
8883
|
+
return h(this, e, !1, t);
|
|
8884
|
+
}, g.prototype.readInt32LE = function (e, t) {
|
|
8885
|
+
return p(this, e, !0, t);
|
|
8886
|
+
}, g.prototype.readInt32BE = function (e, t) {
|
|
8887
|
+
return p(this, e, !1, t);
|
|
8888
|
+
}, g.prototype.readFloatLE = function (e, t) {
|
|
8889
|
+
return b(this, e, !0, t);
|
|
8890
|
+
}, g.prototype.readFloatBE = function (e, t) {
|
|
8891
|
+
return b(this, e, !1, t);
|
|
8892
|
+
}, g.prototype.readDoubleLE = function (e, t) {
|
|
8893
|
+
return m(this, e, !0, t);
|
|
8894
|
+
}, g.prototype.readDoubleBE = function (e, t) {
|
|
8895
|
+
return m(this, e, !1, t);
|
|
8896
|
+
}, g.prototype.writeUInt8 = function (e, t, n) {
|
|
8897
|
+
n || (D(null != e, "missing value"), D(null != t, "missing offset"), D(t < this.length, "trying to write beyond buffer length"), N(e, 255)), t >= this.length || (this[t] = e);
|
|
8898
|
+
}, g.prototype.writeUInt16LE = function (e, t, n) {
|
|
8899
|
+
v(this, e, t, !0, n);
|
|
8900
|
+
}, g.prototype.writeUInt16BE = function (e, t, n) {
|
|
8901
|
+
v(this, e, t, !1, n);
|
|
8902
|
+
}, g.prototype.writeUInt32LE = function (e, t, n) {
|
|
8903
|
+
_(this, e, t, !0, n);
|
|
8904
|
+
}, g.prototype.writeUInt32BE = function (e, t, n) {
|
|
8905
|
+
_(this, e, t, !1, n);
|
|
8906
|
+
}, g.prototype.writeInt8 = function (e, t, n) {
|
|
8907
|
+
n || (D(null != e, "missing value"), D(null != t, "missing offset"), D(t < this.length, "Trying to write beyond buffer length"), Y(e, 127, -128)), t >= this.length || (0 <= e ? this.writeUInt8(e, t, n) : this.writeUInt8(255 + e + 1, t, n));
|
|
8908
|
+
}, g.prototype.writeInt16LE = function (e, t, n) {
|
|
8909
|
+
E(this, e, t, !0, n);
|
|
8910
|
+
}, g.prototype.writeInt16BE = function (e, t, n) {
|
|
8911
|
+
E(this, e, t, !1, n);
|
|
8912
|
+
}, g.prototype.writeInt32LE = function (e, t, n) {
|
|
8913
|
+
I(this, e, t, !0, n);
|
|
8914
|
+
}, g.prototype.writeInt32BE = function (e, t, n) {
|
|
8915
|
+
I(this, e, t, !1, n);
|
|
8916
|
+
}, g.prototype.writeFloatLE = function (e, t, n) {
|
|
8917
|
+
A(this, e, t, !0, n);
|
|
8918
|
+
}, g.prototype.writeFloatBE = function (e, t, n) {
|
|
8919
|
+
A(this, e, t, !1, n);
|
|
8920
|
+
}, g.prototype.writeDoubleLE = function (e, t, n) {
|
|
8921
|
+
B(this, e, t, !0, n);
|
|
8922
|
+
}, g.prototype.writeDoubleBE = function (e, t, n) {
|
|
8923
|
+
B(this, e, t, !1, n);
|
|
8924
|
+
}, g.prototype.fill = function (e, t, n) {
|
|
8925
|
+
if (e = e || 0, t = t || 0, n = n || this.length, "string" == typeof e && (e = e.charCodeAt(0)), D("number" == typeof e && !isNaN(e), "value is not a number"), D(t <= n, "end < start"), n !== t && 0 !== this.length) {
|
|
8926
|
+
D(0 <= t && t < this.length, "start out of bounds"), D(0 <= n && n <= this.length, "end out of bounds");
|
|
8927
|
+
for (var r = t; r < n; r++) this[r] = e;
|
|
8928
|
+
}
|
|
8929
|
+
}, g.prototype.inspect = function () {
|
|
8930
|
+
for (var e = [], t = this.length, n = 0; n < t; n++) if (e[n] = j(this[n]), n === H.INSPECT_MAX_BYTES) {
|
|
8931
|
+
e[n + 1] = "...";
|
|
8932
|
+
break;
|
|
8933
|
+
}
|
|
8934
|
+
return "<Buffer " + e.join(" ") + ">";
|
|
8935
|
+
}, g.prototype.toArrayBuffer = function () {
|
|
8936
|
+
if ("undefined" == typeof Uint8Array) throw new Error("Buffer.toArrayBuffer not supported in this browser");
|
|
8937
|
+
if (g._useTypedArrays) return new g(this).buffer;
|
|
8938
|
+
for (var e = new Uint8Array(this.length), t = 0, n = e.length; t < n; t += 1) e[t] = this[t];
|
|
8939
|
+
return e.buffer;
|
|
8940
|
+
};
|
|
8941
|
+
var L = g.prototype;
|
|
8942
|
+
function U(e, t, n) {
|
|
8943
|
+
return "number" != typeof e ? n : t <= (e = ~~e) ? t : 0 <= e || 0 <= (e += t) ? e : 0;
|
|
8944
|
+
}
|
|
8945
|
+
function x(e) {
|
|
8946
|
+
return (e = ~~Math.ceil(+e)) < 0 ? 0 : e;
|
|
8947
|
+
}
|
|
8948
|
+
function S(e) {
|
|
8949
|
+
return (Array.isArray || function (e) {
|
|
8950
|
+
return "[object Array]" === Object.prototype.toString.call(e);
|
|
8951
|
+
})(e);
|
|
8952
|
+
}
|
|
8953
|
+
function j(e) {
|
|
8954
|
+
return e < 16 ? "0" + e.toString(16) : e.toString(16);
|
|
8955
|
+
}
|
|
8956
|
+
function C(e) {
|
|
8957
|
+
for (var t = [], n = 0; n < e.length; n++) {
|
|
8958
|
+
var r = e.charCodeAt(n);
|
|
8959
|
+
if (r <= 127) t.push(e.charCodeAt(n));else {
|
|
8960
|
+
var o = n;
|
|
8961
|
+
55296 <= r && r <= 57343 && n++;
|
|
8962
|
+
for (var i = encodeURIComponent(e.slice(o, n + 1)).substr(1).split("%"), u = 0; u < i.length; u++) t.push(parseInt(i[u], 16));
|
|
8963
|
+
}
|
|
8964
|
+
}
|
|
8965
|
+
return t;
|
|
8966
|
+
}
|
|
8967
|
+
function k(e) {
|
|
8968
|
+
return s.toByteArray(e);
|
|
8969
|
+
}
|
|
8970
|
+
function T(e, t, n, r) {
|
|
8971
|
+
for (var o = 0; o < r && !(o + n >= t.length || o >= e.length); o++) t[o + n] = e[o];
|
|
8972
|
+
return o;
|
|
8973
|
+
}
|
|
8974
|
+
function M(e) {
|
|
8975
|
+
try {
|
|
8976
|
+
return decodeURIComponent(e);
|
|
8977
|
+
} catch (e) {
|
|
8978
|
+
return String.fromCharCode(65533);
|
|
8979
|
+
}
|
|
8980
|
+
}
|
|
8981
|
+
function N(e, t) {
|
|
8982
|
+
D("number" == typeof e, "cannot write a non-number as a number"), D(0 <= e, "specified a negative value for writing an unsigned value"), D(e <= t, "value is larger than maximum value for type"), D(Math.floor(e) === e, "value has a fractional component");
|
|
8983
|
+
}
|
|
8984
|
+
function Y(e, t, n) {
|
|
8985
|
+
D("number" == typeof e, "cannot write a non-number as a number"), D(e <= t, "value larger than maximum allowed value"), D(n <= e, "value smaller than minimum allowed value"), D(Math.floor(e) === e, "value has a fractional component");
|
|
8986
|
+
}
|
|
8987
|
+
function F(e, t, n) {
|
|
8988
|
+
D("number" == typeof e, "cannot write a non-number as a number"), D(e <= t, "value larger than maximum allowed value"), D(n <= e, "value smaller than minimum allowed value");
|
|
8989
|
+
}
|
|
8990
|
+
function D(e, t) {
|
|
8991
|
+
if (!e) throw new Error(t || "Failed assertion");
|
|
8992
|
+
}
|
|
8993
|
+
g._augment = function (e) {
|
|
8994
|
+
return e._isBuffer = !0, e._get = e.get, e._set = e.set, e.get = L.get, e.set = L.set, e.write = L.write, e.toString = L.toString, e.toLocaleString = L.toString, e.toJSON = L.toJSON, e.copy = L.copy, e.slice = L.slice, e.readUInt8 = L.readUInt8, e.readUInt16LE = L.readUInt16LE, e.readUInt16BE = L.readUInt16BE, e.readUInt32LE = L.readUInt32LE, e.readUInt32BE = L.readUInt32BE, e.readInt8 = L.readInt8, e.readInt16LE = L.readInt16LE, e.readInt16BE = L.readInt16BE, e.readInt32LE = L.readInt32LE, e.readInt32BE = L.readInt32BE, e.readFloatLE = L.readFloatLE, e.readFloatBE = L.readFloatBE, e.readDoubleLE = L.readDoubleLE, e.readDoubleBE = L.readDoubleBE, e.writeUInt8 = L.writeUInt8, e.writeUInt16LE = L.writeUInt16LE, e.writeUInt16BE = L.writeUInt16BE, e.writeUInt32LE = L.writeUInt32LE, e.writeUInt32BE = L.writeUInt32BE, e.writeInt8 = L.writeInt8, e.writeInt16LE = L.writeInt16LE, e.writeInt16BE = L.writeInt16BE, e.writeInt32LE = L.writeInt32LE, e.writeInt32BE = L.writeInt32BE, e.writeFloatLE = L.writeFloatLE, e.writeFloatBE = L.writeFloatBE, e.writeDoubleLE = L.writeDoubleLE, e.writeDoubleBE = L.writeDoubleBE, e.fill = L.fill, e.inspect = L.inspect, e.toArrayBuffer = L.toArrayBuffer, e;
|
|
8995
|
+
};
|
|
8996
|
+
}).call(this, O("lYpoI2"), "undefined" != typeof self ? self : "undefined" != typeof window ? window : {}, O("buffer").Buffer, arguments[3], arguments[4], arguments[5], arguments[6], "/node_modules/gulp-browserify/node_modules/buffer/index.js", "/node_modules/gulp-browserify/node_modules/buffer");
|
|
8997
|
+
}, {
|
|
8998
|
+
"base64-js": 2,
|
|
8999
|
+
buffer: 3,
|
|
9000
|
+
ieee754: 11,
|
|
9001
|
+
lYpoI2: 10
|
|
9002
|
+
}],
|
|
9003
|
+
4: [function (l, d, e) {
|
|
9004
|
+
(function (e, t, u, n, r, o, i, a, s) {
|
|
9005
|
+
var u = l("buffer").Buffer,
|
|
9006
|
+
f = 4,
|
|
9007
|
+
c = new u(f);
|
|
9008
|
+
c.fill(0);
|
|
9009
|
+
d.exports = {
|
|
9010
|
+
hash: function hash(e, t, n, r) {
|
|
9011
|
+
return u.isBuffer(e) || (e = new u(e)), function (e, t, n) {
|
|
9012
|
+
for (var r = new u(t), o = n ? r.writeInt32BE : r.writeInt32LE, i = 0; i < e.length; i++) o.call(r, e[i], 4 * i, !0);
|
|
9013
|
+
return r;
|
|
9014
|
+
}(t(function (e, t) {
|
|
9015
|
+
var n;
|
|
9016
|
+
e.length % f != 0 && (n = e.length + (f - e.length % f), e = u.concat([e, c], n));
|
|
9017
|
+
for (var r = [], o = t ? e.readInt32BE : e.readInt32LE, i = 0; i < e.length; i += f) r.push(o.call(e, i));
|
|
9018
|
+
return r;
|
|
9019
|
+
}(e, r), 8 * e.length), n, r);
|
|
9020
|
+
}
|
|
9021
|
+
};
|
|
9022
|
+
}).call(this, l("lYpoI2"), "undefined" != typeof self ? self : "undefined" != typeof window ? window : {}, l("buffer").Buffer, arguments[3], arguments[4], arguments[5], arguments[6], "/node_modules/gulp-browserify/node_modules/crypto-browserify/helpers.js", "/node_modules/gulp-browserify/node_modules/crypto-browserify");
|
|
9023
|
+
}, {
|
|
9024
|
+
buffer: 3,
|
|
9025
|
+
lYpoI2: 10
|
|
9026
|
+
}],
|
|
9027
|
+
5: [function (w, e, b) {
|
|
9028
|
+
(function (e, t, a, n, r, o, i, u, s) {
|
|
9029
|
+
var a = w("buffer").Buffer,
|
|
9030
|
+
f = w("./sha"),
|
|
9031
|
+
c = w("./sha256"),
|
|
9032
|
+
l = w("./rng"),
|
|
9033
|
+
d = {
|
|
9034
|
+
sha1: f,
|
|
9035
|
+
sha256: c,
|
|
9036
|
+
md5: w("./md5")
|
|
9037
|
+
},
|
|
9038
|
+
h = 64,
|
|
9039
|
+
p = new a(h);
|
|
9040
|
+
function g(e, r) {
|
|
9041
|
+
var o = d[e = e || "sha1"],
|
|
9042
|
+
i = [];
|
|
9043
|
+
return o || y("algorithm:", e, "is not yet supported"), {
|
|
9044
|
+
update: function update(e) {
|
|
9045
|
+
return a.isBuffer(e) || (e = new a(e)), i.push(e), e.length, this;
|
|
9046
|
+
},
|
|
9047
|
+
digest: function digest(e) {
|
|
9048
|
+
var t = a.concat(i),
|
|
9049
|
+
n = r ? function (e, t, n) {
|
|
9050
|
+
a.isBuffer(t) || (t = new a(t)), a.isBuffer(n) || (n = new a(n)), t.length > h ? t = e(t) : t.length < h && (t = a.concat([t, p], h));
|
|
9051
|
+
for (var r = new a(h), o = new a(h), i = 0; i < h; i++) r[i] = 54 ^ t[i], o[i] = 92 ^ t[i];
|
|
9052
|
+
var u = e(a.concat([r, n]));
|
|
9053
|
+
return e(a.concat([o, u]));
|
|
9054
|
+
}(o, r, t) : o(t);
|
|
9055
|
+
return i = null, e ? n.toString(e) : n;
|
|
9056
|
+
}
|
|
9057
|
+
};
|
|
9058
|
+
}
|
|
9059
|
+
function y() {
|
|
9060
|
+
var e = [].slice.call(arguments).join(" ");
|
|
9061
|
+
throw new Error([e, "we accept pull requests", "http://github.com/dominictarr/crypto-browserify"].join("\n"));
|
|
9062
|
+
}
|
|
9063
|
+
p.fill(0), b.createHash = function (e) {
|
|
9064
|
+
return g(e);
|
|
9065
|
+
}, b.createHmac = g, b.randomBytes = function (e, t) {
|
|
9066
|
+
if (!t || !t.call) return new a(l(e));
|
|
9067
|
+
try {
|
|
9068
|
+
t.call(this, void 0, new a(l(e)));
|
|
9069
|
+
} catch (e) {
|
|
9070
|
+
t(e);
|
|
9071
|
+
}
|
|
9072
|
+
}, function (e, t) {
|
|
9073
|
+
for (var n in e) t(e[n], n);
|
|
9074
|
+
}(["createCredentials", "createCipher", "createCipheriv", "createDecipher", "createDecipheriv", "createSign", "createVerify", "createDiffieHellman", "pbkdf2"], function (e) {
|
|
9075
|
+
b[e] = function () {
|
|
9076
|
+
y("sorry,", e, "is not implemented yet");
|
|
9077
|
+
};
|
|
9078
|
+
});
|
|
9079
|
+
}).call(this, w("lYpoI2"), "undefined" != typeof self ? self : "undefined" != typeof window ? window : {}, w("buffer").Buffer, arguments[3], arguments[4], arguments[5], arguments[6], "/node_modules/gulp-browserify/node_modules/crypto-browserify/index.js", "/node_modules/gulp-browserify/node_modules/crypto-browserify");
|
|
9080
|
+
}, {
|
|
9081
|
+
"./md5": 6,
|
|
9082
|
+
"./rng": 7,
|
|
9083
|
+
"./sha": 8,
|
|
9084
|
+
"./sha256": 9,
|
|
9085
|
+
buffer: 3,
|
|
9086
|
+
lYpoI2: 10
|
|
9087
|
+
}],
|
|
9088
|
+
6: [function (w, b, e) {
|
|
9089
|
+
(function (e, t, n, r, o, i, u, a, s) {
|
|
9090
|
+
var f = w("./helpers");
|
|
9091
|
+
function c(e, t) {
|
|
9092
|
+
e[t >> 5] |= 128 << t % 32, e[14 + (t + 64 >>> 9 << 4)] = t;
|
|
9093
|
+
for (var n = 1732584193, r = -271733879, o = -1732584194, i = 271733878, u = 0; u < e.length; u += 16) {
|
|
9094
|
+
var a = n,
|
|
9095
|
+
s = r,
|
|
9096
|
+
f = o,
|
|
9097
|
+
c = i,
|
|
9098
|
+
n = d(n, r, o, i, e[u + 0], 7, -680876936),
|
|
9099
|
+
i = d(i, n, r, o, e[u + 1], 12, -389564586),
|
|
9100
|
+
o = d(o, i, n, r, e[u + 2], 17, 606105819),
|
|
9101
|
+
r = d(r, o, i, n, e[u + 3], 22, -1044525330);
|
|
9102
|
+
n = d(n, r, o, i, e[u + 4], 7, -176418897), i = d(i, n, r, o, e[u + 5], 12, 1200080426), o = d(o, i, n, r, e[u + 6], 17, -1473231341), r = d(r, o, i, n, e[u + 7], 22, -45705983), n = d(n, r, o, i, e[u + 8], 7, 1770035416), i = d(i, n, r, o, e[u + 9], 12, -1958414417), o = d(o, i, n, r, e[u + 10], 17, -42063), r = d(r, o, i, n, e[u + 11], 22, -1990404162), n = d(n, r, o, i, e[u + 12], 7, 1804603682), i = d(i, n, r, o, e[u + 13], 12, -40341101), o = d(o, i, n, r, e[u + 14], 17, -1502002290), n = h(n, r = d(r, o, i, n, e[u + 15], 22, 1236535329), o, i, e[u + 1], 5, -165796510), i = h(i, n, r, o, e[u + 6], 9, -1069501632), o = h(o, i, n, r, e[u + 11], 14, 643717713), r = h(r, o, i, n, e[u + 0], 20, -373897302), n = h(n, r, o, i, e[u + 5], 5, -701558691), i = h(i, n, r, o, e[u + 10], 9, 38016083), o = h(o, i, n, r, e[u + 15], 14, -660478335), r = h(r, o, i, n, e[u + 4], 20, -405537848), n = h(n, r, o, i, e[u + 9], 5, 568446438), i = h(i, n, r, o, e[u + 14], 9, -1019803690), o = h(o, i, n, r, e[u + 3], 14, -187363961), r = h(r, o, i, n, e[u + 8], 20, 1163531501), n = h(n, r, o, i, e[u + 13], 5, -1444681467), i = h(i, n, r, o, e[u + 2], 9, -51403784), o = h(o, i, n, r, e[u + 7], 14, 1735328473), n = p(n, r = h(r, o, i, n, e[u + 12], 20, -1926607734), o, i, e[u + 5], 4, -378558), i = p(i, n, r, o, e[u + 8], 11, -2022574463), o = p(o, i, n, r, e[u + 11], 16, 1839030562), r = p(r, o, i, n, e[u + 14], 23, -35309556), n = p(n, r, o, i, e[u + 1], 4, -1530992060), i = p(i, n, r, o, e[u + 4], 11, 1272893353), o = p(o, i, n, r, e[u + 7], 16, -155497632), r = p(r, o, i, n, e[u + 10], 23, -1094730640), n = p(n, r, o, i, e[u + 13], 4, 681279174), i = p(i, n, r, o, e[u + 0], 11, -358537222), o = p(o, i, n, r, e[u + 3], 16, -722521979), r = p(r, o, i, n, e[u + 6], 23, 76029189), n = p(n, r, o, i, e[u + 9], 4, -640364487), i = p(i, n, r, o, e[u + 12], 11, -421815835), o = p(o, i, n, r, e[u + 15], 16, 530742520), n = g(n, r = p(r, o, i, n, e[u + 2], 23, -995338651), o, i, e[u + 0], 6, -198630844), i = g(i, n, r, o, e[u + 7], 10, 1126891415), o = g(o, i, n, r, e[u + 14], 15, -1416354905), r = g(r, o, i, n, e[u + 5], 21, -57434055), n = g(n, r, o, i, e[u + 12], 6, 1700485571), i = g(i, n, r, o, e[u + 3], 10, -1894986606), o = g(o, i, n, r, e[u + 10], 15, -1051523), r = g(r, o, i, n, e[u + 1], 21, -2054922799), n = g(n, r, o, i, e[u + 8], 6, 1873313359), i = g(i, n, r, o, e[u + 15], 10, -30611744), o = g(o, i, n, r, e[u + 6], 15, -1560198380), r = g(r, o, i, n, e[u + 13], 21, 1309151649), n = g(n, r, o, i, e[u + 4], 6, -145523070), i = g(i, n, r, o, e[u + 11], 10, -1120210379), o = g(o, i, n, r, e[u + 2], 15, 718787259), r = g(r, o, i, n, e[u + 9], 21, -343485551), n = y(n, a), r = y(r, s), o = y(o, f), i = y(i, c);
|
|
9103
|
+
}
|
|
9104
|
+
return Array(n, r, o, i);
|
|
9105
|
+
}
|
|
9106
|
+
function l(e, t, n, r, o, i) {
|
|
9107
|
+
return y((u = y(y(t, e), y(r, i))) << (a = o) | u >>> 32 - a, n);
|
|
9108
|
+
var u, a;
|
|
9109
|
+
}
|
|
9110
|
+
function d(e, t, n, r, o, i, u) {
|
|
9111
|
+
return l(t & n | ~t & r, e, t, o, i, u);
|
|
9112
|
+
}
|
|
9113
|
+
function h(e, t, n, r, o, i, u) {
|
|
9114
|
+
return l(t & r | n & ~r, e, t, o, i, u);
|
|
9115
|
+
}
|
|
9116
|
+
function p(e, t, n, r, o, i, u) {
|
|
9117
|
+
return l(t ^ n ^ r, e, t, o, i, u);
|
|
9118
|
+
}
|
|
9119
|
+
function g(e, t, n, r, o, i, u) {
|
|
9120
|
+
return l(n ^ (t | ~r), e, t, o, i, u);
|
|
9121
|
+
}
|
|
9122
|
+
function y(e, t) {
|
|
9123
|
+
var n = (65535 & e) + (65535 & t);
|
|
9124
|
+
return (e >> 16) + (t >> 16) + (n >> 16) << 16 | 65535 & n;
|
|
9125
|
+
}
|
|
9126
|
+
b.exports = function (e) {
|
|
9127
|
+
return f.hash(e, c, 16);
|
|
9128
|
+
};
|
|
9129
|
+
}).call(this, w("lYpoI2"), "undefined" != typeof self ? self : "undefined" != typeof window ? window : {}, w("buffer").Buffer, arguments[3], arguments[4], arguments[5], arguments[6], "/node_modules/gulp-browserify/node_modules/crypto-browserify/md5.js", "/node_modules/gulp-browserify/node_modules/crypto-browserify");
|
|
9130
|
+
}, {
|
|
9131
|
+
"./helpers": 4,
|
|
9132
|
+
buffer: 3,
|
|
9133
|
+
lYpoI2: 10
|
|
9134
|
+
}],
|
|
9135
|
+
7: [function (e, l, t) {
|
|
9136
|
+
(function (e, t, n, r, o, i, u, a, s) {
|
|
9137
|
+
var f, c;
|
|
9138
|
+
c = function c(e) {
|
|
9139
|
+
for (var t, n = new Array(e), r = 0; r < e; r++) 0 == (3 & r) && (t = 4294967296 * Math.random()), n[r] = t >>> ((3 & r) << 3) & 255;
|
|
9140
|
+
return n;
|
|
9141
|
+
}, l.exports = f || c;
|
|
9142
|
+
}).call(this, e("lYpoI2"), "undefined" != typeof self ? self : "undefined" != typeof window ? window : {}, e("buffer").Buffer, arguments[3], arguments[4], arguments[5], arguments[6], "/node_modules/gulp-browserify/node_modules/crypto-browserify/rng.js", "/node_modules/gulp-browserify/node_modules/crypto-browserify");
|
|
9143
|
+
}, {
|
|
9144
|
+
buffer: 3,
|
|
9145
|
+
lYpoI2: 10
|
|
9146
|
+
}],
|
|
9147
|
+
8: [function (l, d, e) {
|
|
9148
|
+
(function (e, t, n, r, o, i, u, a, s) {
|
|
9149
|
+
var f = l("./helpers");
|
|
9150
|
+
function c(e, t) {
|
|
9151
|
+
e[t >> 5] |= 128 << 24 - t % 32, e[15 + (t + 64 >> 9 << 4)] = t;
|
|
9152
|
+
for (var n, r, o, i, u, a = Array(80), s = 1732584193, f = -271733879, c = -1732584194, l = 271733878, d = -1009589776, h = 0; h < e.length; h += 16) {
|
|
9153
|
+
for (var p = s, g = f, y = c, w = l, b = d, m = 0; m < 80; m++) {
|
|
9154
|
+
a[m] = m < 16 ? e[h + m] : E(a[m - 3] ^ a[m - 8] ^ a[m - 14] ^ a[m - 16], 1);
|
|
9155
|
+
var v = _(_(E(s, 5), (o = f, i = c, u = l, (r = m) < 20 ? o & i | ~o & u : !(r < 40) && r < 60 ? o & i | o & u | i & u : o ^ i ^ u)), _(_(d, a[m]), (n = m) < 20 ? 1518500249 : n < 40 ? 1859775393 : n < 60 ? -1894007588 : -899497514)),
|
|
9156
|
+
d = l,
|
|
9157
|
+
l = c,
|
|
9158
|
+
c = E(f, 30),
|
|
9159
|
+
f = s,
|
|
9160
|
+
s = v;
|
|
9161
|
+
}
|
|
9162
|
+
s = _(s, p), f = _(f, g), c = _(c, y), l = _(l, w), d = _(d, b);
|
|
9163
|
+
}
|
|
9164
|
+
return Array(s, f, c, l, d);
|
|
9165
|
+
}
|
|
9166
|
+
function _(e, t) {
|
|
9167
|
+
var n = (65535 & e) + (65535 & t);
|
|
9168
|
+
return (e >> 16) + (t >> 16) + (n >> 16) << 16 | 65535 & n;
|
|
9169
|
+
}
|
|
9170
|
+
function E(e, t) {
|
|
9171
|
+
return e << t | e >>> 32 - t;
|
|
9172
|
+
}
|
|
9173
|
+
d.exports = function (e) {
|
|
9174
|
+
return f.hash(e, c, 20, !0);
|
|
9175
|
+
};
|
|
9176
|
+
}).call(this, l("lYpoI2"), "undefined" != typeof self ? self : "undefined" != typeof window ? window : {}, l("buffer").Buffer, arguments[3], arguments[4], arguments[5], arguments[6], "/node_modules/gulp-browserify/node_modules/crypto-browserify/sha.js", "/node_modules/gulp-browserify/node_modules/crypto-browserify");
|
|
9177
|
+
}, {
|
|
9178
|
+
"./helpers": 4,
|
|
9179
|
+
buffer: 3,
|
|
9180
|
+
lYpoI2: 10
|
|
9181
|
+
}],
|
|
9182
|
+
9: [function (l, d, e) {
|
|
9183
|
+
(function (e, t, n, r, o, i, u, a, s) {
|
|
9184
|
+
function B(e, t) {
|
|
9185
|
+
var n = (65535 & e) + (65535 & t);
|
|
9186
|
+
return (e >> 16) + (t >> 16) + (n >> 16) << 16 | 65535 & n;
|
|
9187
|
+
}
|
|
9188
|
+
function L(e, t) {
|
|
9189
|
+
return e >>> t | e << 32 - t;
|
|
9190
|
+
}
|
|
9191
|
+
function f(e, t) {
|
|
9192
|
+
var n,
|
|
9193
|
+
r,
|
|
9194
|
+
o,
|
|
9195
|
+
i,
|
|
9196
|
+
u,
|
|
9197
|
+
a,
|
|
9198
|
+
s,
|
|
9199
|
+
f,
|
|
9200
|
+
c,
|
|
9201
|
+
l,
|
|
9202
|
+
d = new Array(1116352408, 1899447441, 3049323471, 3921009573, 961987163, 1508970993, 2453635748, 2870763221, 3624381080, 310598401, 607225278, 1426881987, 1925078388, 2162078206, 2614888103, 3248222580, 3835390401, 4022224774, 264347078, 604807628, 770255983, 1249150122, 1555081692, 1996064986, 2554220882, 2821834349, 2952996808, 3210313671, 3336571891, 3584528711, 113926993, 338241895, 666307205, 773529912, 1294757372, 1396182291, 1695183700, 1986661051, 2177026350, 2456956037, 2730485921, 2820302411, 3259730800, 3345764771, 3516065817, 3600352804, 4094571909, 275423344, 430227734, 506948616, 659060556, 883997877, 958139571, 1322822218, 1537002063, 1747873779, 1955562222, 2024104815, 2227730452, 2361852424, 2428436474, 2756734187, 3204031479, 3329325298),
|
|
9203
|
+
h = new Array(1779033703, 3144134277, 1013904242, 2773480762, 1359893119, 2600822924, 528734635, 1541459225),
|
|
9204
|
+
p = new Array(64);
|
|
9205
|
+
e[t >> 5] |= 128 << 24 - t % 32, e[15 + (t + 64 >> 9 << 4)] = t;
|
|
9206
|
+
for (var g, y, w, b, m, v, _, E, I = 0; I < e.length; I += 16) {
|
|
9207
|
+
n = h[0], r = h[1], o = h[2], i = h[3], u = h[4], a = h[5], s = h[6], f = h[7];
|
|
9208
|
+
for (var A = 0; A < 64; A++) p[A] = A < 16 ? e[A + I] : B(B(B((E = p[A - 2], L(E, 17) ^ L(E, 19) ^ E >>> 10), p[A - 7]), (_ = p[A - 15], L(_, 7) ^ L(_, 18) ^ _ >>> 3)), p[A - 16]), c = B(B(B(B(f, L(v = u, 6) ^ L(v, 11) ^ L(v, 25)), (m = u) & a ^ ~m & s), d[A]), p[A]), l = B(L(b = n, 2) ^ L(b, 13) ^ L(b, 22), (g = n) & (y = r) ^ g & (w = o) ^ y & w), f = s, s = a, a = u, u = B(i, c), i = o, o = r, r = n, n = B(c, l);
|
|
9209
|
+
h[0] = B(n, h[0]), h[1] = B(r, h[1]), h[2] = B(o, h[2]), h[3] = B(i, h[3]), h[4] = B(u, h[4]), h[5] = B(a, h[5]), h[6] = B(s, h[6]), h[7] = B(f, h[7]);
|
|
9210
|
+
}
|
|
9211
|
+
return h;
|
|
9212
|
+
}
|
|
9213
|
+
var c = l("./helpers");
|
|
9214
|
+
d.exports = function (e) {
|
|
9215
|
+
return c.hash(e, f, 32, !0);
|
|
9216
|
+
};
|
|
9217
|
+
}).call(this, l("lYpoI2"), "undefined" != typeof self ? self : "undefined" != typeof window ? window : {}, l("buffer").Buffer, arguments[3], arguments[4], arguments[5], arguments[6], "/node_modules/gulp-browserify/node_modules/crypto-browserify/sha256.js", "/node_modules/gulp-browserify/node_modules/crypto-browserify");
|
|
9218
|
+
}, {
|
|
9219
|
+
"./helpers": 4,
|
|
9220
|
+
buffer: 3,
|
|
9221
|
+
lYpoI2: 10
|
|
9222
|
+
}],
|
|
9223
|
+
10: [function (e, c, t) {
|
|
9224
|
+
(function (e, t, n, r, o, i, u, a, s) {
|
|
9225
|
+
function f() {}
|
|
9226
|
+
(e = c.exports = {}).nextTick = function () {
|
|
9227
|
+
var e = "undefined" != typeof window && window.setImmediate,
|
|
9228
|
+
t = "undefined" != typeof window && window.postMessage && window.addEventListener;
|
|
9229
|
+
if (e) return function (e) {
|
|
9230
|
+
return window.setImmediate(e);
|
|
9231
|
+
};
|
|
9232
|
+
if (t) {
|
|
9233
|
+
var n = [];
|
|
9234
|
+
return window.addEventListener("message", function (e) {
|
|
9235
|
+
var t = e.source;
|
|
9236
|
+
t !== window && null !== t || "process-tick" !== e.data || (e.stopPropagation(), 0 < n.length && n.shift()());
|
|
9237
|
+
}, !0), function (e) {
|
|
9238
|
+
n.push(e), window.postMessage("process-tick", "*");
|
|
9239
|
+
};
|
|
9240
|
+
}
|
|
9241
|
+
return function (e) {
|
|
9242
|
+
setTimeout(e, 0);
|
|
9243
|
+
};
|
|
9244
|
+
}(), e.title = "browser", e.browser = !0, e.env = {}, e.argv = [], e.on = f, e.addListener = f, e.once = f, e.off = f, e.removeListener = f, e.removeAllListeners = f, e.emit = f, e.binding = function (e) {
|
|
9245
|
+
throw new Error("process.binding is not supported");
|
|
9246
|
+
}, e.cwd = function () {
|
|
9247
|
+
return "/";
|
|
9248
|
+
}, e.chdir = function (e) {
|
|
9249
|
+
throw new Error("process.chdir is not supported");
|
|
9250
|
+
};
|
|
9251
|
+
}).call(this, e("lYpoI2"), "undefined" != typeof self ? self : "undefined" != typeof window ? window : {}, e("buffer").Buffer, arguments[3], arguments[4], arguments[5], arguments[6], "/node_modules/gulp-browserify/node_modules/process/browser.js", "/node_modules/gulp-browserify/node_modules/process");
|
|
9252
|
+
}, {
|
|
9253
|
+
buffer: 3,
|
|
9254
|
+
lYpoI2: 10
|
|
9255
|
+
}],
|
|
9256
|
+
11: [function (e, t, f) {
|
|
9257
|
+
(function (e, t, n, r, o, i, u, a, s) {
|
|
9258
|
+
f.read = function (e, t, n, r, o) {
|
|
9259
|
+
var i,
|
|
9260
|
+
u,
|
|
9261
|
+
a = 8 * o - r - 1,
|
|
9262
|
+
s = (1 << a) - 1,
|
|
9263
|
+
f = s >> 1,
|
|
9264
|
+
c = -7,
|
|
9265
|
+
l = n ? o - 1 : 0,
|
|
9266
|
+
d = n ? -1 : 1,
|
|
9267
|
+
h = e[t + l];
|
|
9268
|
+
for (l += d, i = h & (1 << -c) - 1, h >>= -c, c += a; 0 < c; i = 256 * i + e[t + l], l += d, c -= 8);
|
|
9269
|
+
for (u = i & (1 << -c) - 1, i >>= -c, c += r; 0 < c; u = 256 * u + e[t + l], l += d, c -= 8);
|
|
9270
|
+
if (0 === i) i = 1 - f;else {
|
|
9271
|
+
if (i === s) return u ? NaN : 1 / 0 * (h ? -1 : 1);
|
|
9272
|
+
u += Math.pow(2, r), i -= f;
|
|
9273
|
+
}
|
|
9274
|
+
return (h ? -1 : 1) * u * Math.pow(2, i - r);
|
|
9275
|
+
}, f.write = function (e, t, n, r, o, i) {
|
|
9276
|
+
var u,
|
|
9277
|
+
a,
|
|
9278
|
+
s,
|
|
9279
|
+
f = 8 * i - o - 1,
|
|
9280
|
+
c = (1 << f) - 1,
|
|
9281
|
+
l = c >> 1,
|
|
9282
|
+
d = 23 === o ? Math.pow(2, -24) - Math.pow(2, -77) : 0,
|
|
9283
|
+
h = r ? 0 : i - 1,
|
|
9284
|
+
p = r ? 1 : -1,
|
|
9285
|
+
g = t < 0 || 0 === t && 1 / t < 0 ? 1 : 0;
|
|
9286
|
+
for (t = Math.abs(t), isNaN(t) || t === 1 / 0 ? (a = isNaN(t) ? 1 : 0, u = c) : (u = Math.floor(Math.log(t) / Math.LN2), t * (s = Math.pow(2, -u)) < 1 && (u--, s *= 2), 2 <= (t += 1 <= u + l ? d / s : d * Math.pow(2, 1 - l)) * s && (u++, s /= 2), c <= u + l ? (a = 0, u = c) : 1 <= u + l ? (a = (t * s - 1) * Math.pow(2, o), u += l) : (a = t * Math.pow(2, l - 1) * Math.pow(2, o), u = 0)); 8 <= o; e[n + h] = 255 & a, h += p, a /= 256, o -= 8);
|
|
9287
|
+
for (u = u << o | a, f += o; 0 < f; e[n + h] = 255 & u, h += p, u /= 256, f -= 8);
|
|
9288
|
+
e[n + h - p] |= 128 * g;
|
|
9289
|
+
};
|
|
9290
|
+
}).call(this, e("lYpoI2"), "undefined" != typeof self ? self : "undefined" != typeof window ? window : {}, e("buffer").Buffer, arguments[3], arguments[4], arguments[5], arguments[6], "/node_modules/ieee754/index.js", "/node_modules/ieee754");
|
|
9291
|
+
}, {
|
|
9292
|
+
buffer: 3,
|
|
9293
|
+
lYpoI2: 10
|
|
9294
|
+
}]
|
|
9295
|
+
}, {}, [1])(1);
|
|
9296
|
+
});
|
|
9297
|
+
}).call(this);
|
|
9298
|
+
}).call(this, typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {});
|
|
9299
|
+
}, {}],
|
|
9300
|
+
117: [function (require, module, exports) {
|
|
9301
|
+
var Util = require("../../util/util");
|
|
9302
|
+
var ElementController = require("../controllers/element-controller");
|
|
9303
|
+
var BaseElement = /*#__PURE__*/function (_HTMLElement3) {
|
|
9304
|
+
_inherits(BaseElement, _HTMLElement3);
|
|
9305
|
+
var _super73 = _createSuper(BaseElement);
|
|
9306
|
+
function BaseElement() {
|
|
9307
|
+
_classCallCheck(this, BaseElement);
|
|
9308
|
+
return _super73.call(this);
|
|
9309
|
+
}
|
|
9310
|
+
_createClass(BaseElement, [{
|
|
9311
|
+
key: "connectedCallback",
|
|
9312
|
+
value: function connectedCallback() {
|
|
9313
|
+
this._controller = new ElementController(this);
|
|
9314
|
+
}
|
|
9315
|
+
}, {
|
|
9316
|
+
key: "onready",
|
|
9317
|
+
set: function set(callback) {
|
|
9318
|
+
if (this._controller) {
|
|
9319
|
+
this._controller.onload = callback;
|
|
9320
|
+
return;
|
|
9321
|
+
}
|
|
9322
|
+
throw new Error("set BaseElement.onready - cannot use as element not connected");
|
|
9323
|
+
}
|
|
9324
|
+
}, {
|
|
9325
|
+
key: "messenger",
|
|
9326
|
+
get: function get() {
|
|
9327
|
+
return this._controller ? this._controller.messenger : undefined;
|
|
9328
|
+
}
|
|
9329
|
+
}, {
|
|
9330
|
+
key: "context",
|
|
9331
|
+
get: function get() {
|
|
9332
|
+
return this._controller ? this._controller.context : undefined;
|
|
9333
|
+
}
|
|
9334
|
+
}, {
|
|
9335
|
+
key: "parent",
|
|
9336
|
+
get: function get() {
|
|
9337
|
+
return this._controller ? this._controller.parent : undefined;
|
|
9338
|
+
}
|
|
9339
|
+
}, {
|
|
9340
|
+
key: "element",
|
|
9341
|
+
get: function get() {
|
|
9342
|
+
return this._controller;
|
|
9343
|
+
}
|
|
9344
|
+
}, {
|
|
9345
|
+
key: "ready",
|
|
9346
|
+
get: function get() {
|
|
9347
|
+
return this._controller ? true : false;
|
|
9348
|
+
}
|
|
9349
|
+
}, {
|
|
9350
|
+
key: "allowDragDrop",
|
|
9351
|
+
get: function get() {
|
|
9352
|
+
return this._controller ? this._controller.controller.allowDragDrop : false;
|
|
9353
|
+
},
|
|
9354
|
+
set: function set(value) {
|
|
9355
|
+
if (this._controller) {
|
|
9356
|
+
this._controller.controller.allowDragDrop = value;
|
|
9357
|
+
return;
|
|
9358
|
+
}
|
|
9359
|
+
throw new Error("set BaseElement.allowDragDrop - cannot use as element not connected");
|
|
9360
|
+
}
|
|
9361
|
+
}, {
|
|
9362
|
+
key: "permissions",
|
|
9363
|
+
get: function get() {
|
|
9364
|
+
return [];
|
|
9365
|
+
}
|
|
9366
|
+
}, {
|
|
9367
|
+
key: "coreAttributes",
|
|
9368
|
+
get: function get() {
|
|
9369
|
+
return [{
|
|
9370
|
+
key: "scene-id",
|
|
9371
|
+
map: "scene_id"
|
|
9372
|
+
}];
|
|
9373
|
+
}
|
|
9374
|
+
}, {
|
|
9375
|
+
key: "usesCoreAttribute",
|
|
9376
|
+
value: function usesCoreAttribute(key) {
|
|
9377
|
+
var attr = this.coreAttributes;
|
|
9378
|
+
var length = attr.length;
|
|
9379
|
+
for (var i = 0; i < length; i++) {
|
|
9380
|
+
if (attr[i].key === key) {
|
|
9381
|
+
return true;
|
|
9382
|
+
}
|
|
9383
|
+
}
|
|
9384
|
+
return false;
|
|
9385
|
+
}
|
|
9386
|
+
}, {
|
|
9387
|
+
key: "optionalAttributes",
|
|
9388
|
+
get: function get() {
|
|
9389
|
+
return [];
|
|
9390
|
+
}
|
|
9391
|
+
}, {
|
|
9392
|
+
key: "hasAllCoreAttributes",
|
|
9393
|
+
get: function get() {
|
|
9394
|
+
var attr = this.coreAttributes;
|
|
9395
|
+
var length = attr.length;
|
|
9396
|
+
for (var i = 0; i < length; i++) {
|
|
9397
|
+
if (!this.hasAttribute(attr[i].key)) {
|
|
9398
|
+
return false;
|
|
9399
|
+
}
|
|
9400
|
+
}
|
|
9401
|
+
return true;
|
|
9402
|
+
}
|
|
9403
|
+
}, {
|
|
9404
|
+
key: "allMappedAttributes",
|
|
9405
|
+
get: function get() {
|
|
9406
|
+
var _this66 = this;
|
|
9407
|
+
var map = new Map();
|
|
9408
|
+
var coreAttr = this.coreAttributes;
|
|
9409
|
+
var optAttr = this.optionalAttributes;
|
|
9410
|
+
coreAttr.forEach(function (ele) {
|
|
9411
|
+
if (_this66.hasAttribute(ele.key)) {
|
|
9412
|
+
map.set(ele.map, _this66.getAttribute(ele.key));
|
|
9413
|
+
}
|
|
9414
|
+
});
|
|
9415
|
+
optAttr.forEach(function (ele) {
|
|
9416
|
+
if (_this66.hasAttribute(ele.key)) {
|
|
9417
|
+
map.set(ele.map, _this66.getAttribute(ele.key));
|
|
9418
|
+
}
|
|
9419
|
+
});
|
|
9420
|
+
return map;
|
|
9421
|
+
}
|
|
9422
|
+
}, {
|
|
9423
|
+
key: "allMappedAttributesQuery",
|
|
9424
|
+
get: function get() {
|
|
9425
|
+
var attr = this.allMappedAttributes;
|
|
9426
|
+
var queryStr = "";
|
|
9427
|
+
var first = true;
|
|
9428
|
+
var _iterator7 = _createForOfIteratorHelper(attr.entries()),
|
|
9429
|
+
_step7;
|
|
9430
|
+
try {
|
|
9431
|
+
for (_iterator7.s(); !(_step7 = _iterator7.n()).done;) {
|
|
9432
|
+
var _step7$value = _slicedToArray(_step7.value, 2),
|
|
9433
|
+
key = _step7$value[0],
|
|
9434
|
+
value = _step7$value[1];
|
|
9435
|
+
queryStr += first ? "?" + key + "=" + value : "&" + key + "=" + value;
|
|
9436
|
+
first = false;
|
|
9437
|
+
}
|
|
9438
|
+
} catch (err) {
|
|
9439
|
+
_iterator7.e(err);
|
|
9440
|
+
} finally {
|
|
9441
|
+
_iterator7.f();
|
|
9442
|
+
}
|
|
9443
|
+
return queryStr;
|
|
9444
|
+
}
|
|
9445
|
+
}, {
|
|
9446
|
+
key: "elementType",
|
|
9447
|
+
get: function get() {
|
|
9448
|
+
return "none";
|
|
9449
|
+
}
|
|
9450
|
+
}, {
|
|
9451
|
+
key: "elementLocation",
|
|
9452
|
+
get: function get() {
|
|
9453
|
+
return Util.getElementLocation(this.elementType);
|
|
9454
|
+
}
|
|
9455
|
+
}]);
|
|
9456
|
+
return BaseElement;
|
|
9457
|
+
}( /*#__PURE__*/_wrapNativeSuper(HTMLElement));
|
|
9458
|
+
module.exports = BaseElement;
|
|
9459
|
+
}, {
|
|
9460
|
+
"../../util/util": 130,
|
|
9461
|
+
"../controllers/element-controller": 119
|
|
9462
|
+
}],
|
|
9463
|
+
118: [function (require, module, exports) {
|
|
9464
|
+
var BaseElement = require("./base/base-element.js");
|
|
9465
|
+
var ConfiguratorElement = /*#__PURE__*/function (_BaseElement2) {
|
|
9466
|
+
_inherits(ConfiguratorElement, _BaseElement2);
|
|
9467
|
+
var _super74 = _createSuper(ConfiguratorElement);
|
|
9468
|
+
function ConfiguratorElement() {
|
|
9469
|
+
_classCallCheck(this, ConfiguratorElement);
|
|
9470
|
+
return _super74.call(this);
|
|
9471
|
+
}
|
|
9472
|
+
_createClass(ConfiguratorElement, [{
|
|
9473
|
+
key: "permissions",
|
|
9474
|
+
get: function get() {
|
|
9475
|
+
return ["autoplay"];
|
|
9476
|
+
}
|
|
9477
|
+
}, {
|
|
9478
|
+
key: "elementType",
|
|
9479
|
+
get: function get() {
|
|
9480
|
+
return "configurator";
|
|
9481
|
+
}
|
|
9482
|
+
}, {
|
|
9483
|
+
key: "elementLocation",
|
|
9484
|
+
get: function get() {
|
|
9485
|
+
if (this.hasAttribute("show-ui")) {
|
|
9486
|
+
var state = this.getAttribute("show-ui");
|
|
9487
|
+
return state === "true" ? "configurator/dist/index.html" : _get(_getPrototypeOf(ConfiguratorElement.prototype), "elementLocation", this);
|
|
9488
|
+
}
|
|
9489
|
+
return _get(_getPrototypeOf(ConfiguratorElement.prototype), "elementLocation", this);
|
|
9490
|
+
}
|
|
9491
|
+
}, {
|
|
9492
|
+
key: "optionalAttributes",
|
|
9493
|
+
get: function get() {
|
|
9494
|
+
return [{
|
|
9495
|
+
key: "config-state",
|
|
9496
|
+
map: "config_state"
|
|
9497
|
+
}, {
|
|
9498
|
+
key: "show-ar",
|
|
9499
|
+
map: "show_ar"
|
|
9500
|
+
}];
|
|
9501
|
+
}
|
|
9502
|
+
}]);
|
|
9503
|
+
return ConfiguratorElement;
|
|
9504
|
+
}(BaseElement);
|
|
9505
|
+
module.exports = ConfiguratorElement;
|
|
9506
|
+
}, {
|
|
9507
|
+
"./base/base-element.js": 117
|
|
9508
|
+
}],
|
|
9509
|
+
119: [function (require, module, exports) {
|
|
9510
|
+
var Util = require("../../util/util.js");
|
|
9511
|
+
var _require = require("@plattar/context-messenger"),
|
|
9512
|
+
messenger = _require.messenger;
|
|
9513
|
+
var IFrameController = require("./iframe-controller.js");
|
|
9514
|
+
var ElementController = /*#__PURE__*/function () {
|
|
9515
|
+
function ElementController(element) {
|
|
9516
|
+
var _this67 = this;
|
|
9517
|
+
_classCallCheck(this, ElementController);
|
|
9518
|
+
this._element = element;
|
|
9519
|
+
|
|
9520
|
+
// observe the changes in scene-id
|
|
9521
|
+
var callback = function callback(mutationsList) {
|
|
9522
|
+
var _iterator8 = _createForOfIteratorHelper(mutationsList),
|
|
9523
|
+
_step8;
|
|
9524
|
+
try {
|
|
9525
|
+
for (_iterator8.s(); !(_step8 = _iterator8.n()).done;) {
|
|
9526
|
+
var mutation = _step8.value;
|
|
9527
|
+
if (mutation.type === 'attributes' && element.usesCoreAttribute(mutation.attributeName)) {
|
|
9528
|
+
if (element.hasAllCoreAttributes) {
|
|
9529
|
+
_this67._load();
|
|
9530
|
+
}
|
|
9531
|
+
}
|
|
8434
9532
|
}
|
|
8435
9533
|
} catch (err) {
|
|
8436
9534
|
_iterator8.e(err);
|
|
@@ -8515,11 +9613,11 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
8515
9613
|
}();
|
|
8516
9614
|
module.exports = ElementController;
|
|
8517
9615
|
}, {
|
|
8518
|
-
"../../util/util.js":
|
|
8519
|
-
"./iframe-controller.js":
|
|
9616
|
+
"../../util/util.js": 130,
|
|
9617
|
+
"./iframe-controller.js": 120,
|
|
8520
9618
|
"@plattar/context-messenger": 21
|
|
8521
9619
|
}],
|
|
8522
|
-
|
|
9620
|
+
120: [function (require, module, exports) {
|
|
8523
9621
|
var Util = require("../../util/util.js");
|
|
8524
9622
|
var IFrameController = /*#__PURE__*/function () {
|
|
8525
9623
|
function IFrameController(element, src, id) {
|
|
@@ -8616,9 +9714,9 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
8616
9714
|
}();
|
|
8617
9715
|
module.exports = IFrameController;
|
|
8618
9716
|
}, {
|
|
8619
|
-
"../../util/util.js":
|
|
9717
|
+
"../../util/util.js": 130
|
|
8620
9718
|
}],
|
|
8621
|
-
|
|
9719
|
+
121: [function (require, module, exports) {
|
|
8622
9720
|
var BaseElement = require("./base/base-element.js");
|
|
8623
9721
|
var EditorElement = /*#__PURE__*/function (_BaseElement3) {
|
|
8624
9722
|
_inherits(EditorElement, _BaseElement3);
|
|
@@ -8642,9 +9740,9 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
8642
9740
|
}(BaseElement);
|
|
8643
9741
|
module.exports = EditorElement;
|
|
8644
9742
|
}, {
|
|
8645
|
-
"./base/base-element.js":
|
|
9743
|
+
"./base/base-element.js": 117
|
|
8646
9744
|
}],
|
|
8647
|
-
|
|
9745
|
+
122: [function (require, module, exports) {
|
|
8648
9746
|
var BaseElement = require("./base/base-element.js");
|
|
8649
9747
|
var EWallElement = /*#__PURE__*/function (_BaseElement4) {
|
|
8650
9748
|
_inherits(EWallElement, _BaseElement4);
|
|
@@ -8687,9 +9785,9 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
8687
9785
|
}(BaseElement);
|
|
8688
9786
|
module.exports = EWallElement;
|
|
8689
9787
|
}, {
|
|
8690
|
-
"./base/base-element.js":
|
|
9788
|
+
"./base/base-element.js": 117
|
|
8691
9789
|
}],
|
|
8692
|
-
|
|
9790
|
+
123: [function (require, module, exports) {
|
|
8693
9791
|
var BaseElement = require("./base/base-element.js");
|
|
8694
9792
|
var FaceARElement = /*#__PURE__*/function (_BaseElement5) {
|
|
8695
9793
|
_inherits(FaceARElement, _BaseElement5);
|
|
@@ -8733,9 +9831,9 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
8733
9831
|
}(BaseElement);
|
|
8734
9832
|
module.exports = FaceARElement;
|
|
8735
9833
|
}, {
|
|
8736
|
-
"./base/base-element.js":
|
|
9834
|
+
"./base/base-element.js": 117
|
|
8737
9835
|
}],
|
|
8738
|
-
|
|
9836
|
+
124: [function (require, module, exports) {
|
|
8739
9837
|
var BaseElement = require("./base/base-element.js");
|
|
8740
9838
|
var ModelElement = /*#__PURE__*/function (_BaseElement6) {
|
|
8741
9839
|
_inherits(ModelElement, _BaseElement6);
|
|
@@ -8775,9 +9873,9 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
8775
9873
|
}(BaseElement);
|
|
8776
9874
|
module.exports = ModelElement;
|
|
8777
9875
|
}, {
|
|
8778
|
-
"./base/base-element.js":
|
|
9876
|
+
"./base/base-element.js": 117
|
|
8779
9877
|
}],
|
|
8780
|
-
|
|
9878
|
+
125: [function (require, module, exports) {
|
|
8781
9879
|
var BaseElement = require("./base/base-element.js");
|
|
8782
9880
|
var ProductElement = /*#__PURE__*/function (_BaseElement7) {
|
|
8783
9881
|
_inherits(ProductElement, _BaseElement7);
|
|
@@ -8823,9 +9921,9 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
8823
9921
|
}(BaseElement);
|
|
8824
9922
|
module.exports = ProductElement;
|
|
8825
9923
|
}, {
|
|
8826
|
-
"./base/base-element.js":
|
|
9924
|
+
"./base/base-element.js": 117
|
|
8827
9925
|
}],
|
|
8828
|
-
|
|
9926
|
+
126: [function (require, module, exports) {
|
|
8829
9927
|
var BaseElement = require("./base/base-element.js");
|
|
8830
9928
|
var StudioElement = /*#__PURE__*/function (_BaseElement8) {
|
|
8831
9929
|
_inherits(StudioElement, _BaseElement8);
|
|
@@ -8849,9 +9947,9 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
8849
9947
|
}(BaseElement);
|
|
8850
9948
|
module.exports = StudioElement;
|
|
8851
9949
|
}, {
|
|
8852
|
-
"./base/base-element.js":
|
|
9950
|
+
"./base/base-element.js": 117
|
|
8853
9951
|
}],
|
|
8854
|
-
|
|
9952
|
+
127: [function (require, module, exports) {
|
|
8855
9953
|
var BaseElement = require("./base/base-element.js");
|
|
8856
9954
|
var ViewerElement = /*#__PURE__*/function (_BaseElement9) {
|
|
8857
9955
|
_inherits(ViewerElement, _BaseElement9);
|
|
@@ -8892,9 +9990,9 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
8892
9990
|
}(BaseElement);
|
|
8893
9991
|
module.exports = ViewerElement;
|
|
8894
9992
|
}, {
|
|
8895
|
-
"./base/base-element.js":
|
|
9993
|
+
"./base/base-element.js": 117
|
|
8896
9994
|
}],
|
|
8897
|
-
|
|
9995
|
+
128: [function (require, module, exports) {
|
|
8898
9996
|
var BaseElement = require("./base/base-element.js");
|
|
8899
9997
|
var WebXRElement = /*#__PURE__*/function (_BaseElement10) {
|
|
8900
9998
|
_inherits(WebXRElement, _BaseElement10);
|
|
@@ -8918,9 +10016,9 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
8918
10016
|
}(BaseElement);
|
|
8919
10017
|
module.exports = WebXRElement;
|
|
8920
10018
|
}, {
|
|
8921
|
-
"./base/base-element.js":
|
|
10019
|
+
"./base/base-element.js": 117
|
|
8922
10020
|
}],
|
|
8923
|
-
|
|
10021
|
+
129: [function (require, module, exports) {
|
|
8924
10022
|
"use strict";
|
|
8925
10023
|
|
|
8926
10024
|
var WebXRElement = require("./elements/webxr-element.js");
|
|
@@ -8965,18 +10063,18 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
8965
10063
|
version: Version
|
|
8966
10064
|
};
|
|
8967
10065
|
}, {
|
|
8968
|
-
"./elements/configurator-element.js":
|
|
8969
|
-
"./elements/editor-element.js":
|
|
8970
|
-
"./elements/ewall-element.js":
|
|
8971
|
-
"./elements/facear-element.js":
|
|
8972
|
-
"./elements/model-element.js":
|
|
8973
|
-
"./elements/product-element.js":
|
|
8974
|
-
"./elements/studio-element.js":
|
|
8975
|
-
"./elements/viewer-element.js":
|
|
8976
|
-
"./elements/webxr-element.js":
|
|
8977
|
-
"./version":
|
|
10066
|
+
"./elements/configurator-element.js": 118,
|
|
10067
|
+
"./elements/editor-element.js": 121,
|
|
10068
|
+
"./elements/ewall-element.js": 122,
|
|
10069
|
+
"./elements/facear-element.js": 123,
|
|
10070
|
+
"./elements/model-element.js": 124,
|
|
10071
|
+
"./elements/product-element.js": 125,
|
|
10072
|
+
"./elements/studio-element.js": 126,
|
|
10073
|
+
"./elements/viewer-element.js": 127,
|
|
10074
|
+
"./elements/webxr-element.js": 128,
|
|
10075
|
+
"./version": 131
|
|
8978
10076
|
}],
|
|
8979
|
-
|
|
10077
|
+
130: [function (require, module, exports) {
|
|
8980
10078
|
var Util = /*#__PURE__*/function () {
|
|
8981
10079
|
function Util() {
|
|
8982
10080
|
_classCallCheck(this, Util);
|
|
@@ -9044,10 +10142,10 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
9044
10142
|
}();
|
|
9045
10143
|
module.exports = Util;
|
|
9046
10144
|
}, {}],
|
|
9047
|
-
|
|
10145
|
+
131: [function (require, module, exports) {
|
|
9048
10146
|
module.exports = "1.135.2";
|
|
9049
10147
|
}, {}],
|
|
9050
|
-
|
|
10148
|
+
132: [function (require, module, exports) {
|
|
9051
10149
|
(function (global) {
|
|
9052
10150
|
(function () {
|
|
9053
10151
|
"use strict";
|
|
@@ -9081,277 +10179,262 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
9081
10179
|
}).call(this);
|
|
9082
10180
|
}).call(this, typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {});
|
|
9083
10181
|
}, {}],
|
|
9084
|
-
|
|
10182
|
+
133: [function (require, module, exports) {
|
|
9085
10183
|
(function (global) {
|
|
9086
10184
|
(function () {
|
|
9087
10185
|
!function (e) {
|
|
9088
10186
|
var t;
|
|
9089
10187
|
"object" == _typeof(exports) ? module.exports = e() : "function" == typeof define && define.amd ? define(e) : ("undefined" != typeof window ? t = window : "undefined" != typeof global ? t = global : "undefined" != typeof self && (t = self), t.objectHash = e());
|
|
9090
10188
|
}(function () {
|
|
9091
|
-
return function o
|
|
10189
|
+
return function r(o, i, u) {
|
|
9092
10190
|
function s(n, e) {
|
|
9093
|
-
if (!
|
|
9094
|
-
if (!
|
|
10191
|
+
if (!i[n]) {
|
|
10192
|
+
if (!o[n]) {
|
|
9095
10193
|
var t = "function" == typeof require && require;
|
|
9096
10194
|
if (!e && t) return t(n, !0);
|
|
9097
|
-
if (
|
|
10195
|
+
if (a) return a(n, !0);
|
|
9098
10196
|
throw new Error("Cannot find module '" + n + "'");
|
|
9099
10197
|
}
|
|
9100
|
-
|
|
10198
|
+
e = i[n] = {
|
|
9101
10199
|
exports: {}
|
|
9102
10200
|
};
|
|
9103
|
-
|
|
9104
|
-
var t =
|
|
10201
|
+
o[n][0].call(e.exports, function (e) {
|
|
10202
|
+
var t = o[n][1][e];
|
|
9105
10203
|
return s(t || e);
|
|
9106
|
-
},
|
|
10204
|
+
}, e, e.exports, r, o, i, u);
|
|
9107
10205
|
}
|
|
9108
|
-
return
|
|
10206
|
+
return i[n].exports;
|
|
9109
10207
|
}
|
|
9110
|
-
for (var
|
|
10208
|
+
for (var a = "function" == typeof require && require, e = 0; e < u.length; e++) s(u[e]);
|
|
9111
10209
|
return s;
|
|
9112
10210
|
}({
|
|
9113
10211
|
1: [function (w, b, m) {
|
|
9114
|
-
|
|
10212
|
+
!function (e, n, s, c, d, h, p, g, y) {
|
|
9115
10213
|
"use strict";
|
|
9116
10214
|
|
|
9117
|
-
var
|
|
9118
|
-
function
|
|
9119
|
-
|
|
9120
|
-
|
|
9121
|
-
|
|
9122
|
-
void 0 === n.write && (n.write = n.update, n.end = n.update);
|
|
9123
|
-
g(t, n).dispatch(e), n.update || n.end("");
|
|
9124
|
-
if (n.digest) return n.digest("buffer" === t.encoding ? void 0 : t.encoding);
|
|
9125
|
-
var r = n.read();
|
|
9126
|
-
return "buffer" !== t.encoding ? r.toString(t.encoding) : r;
|
|
9127
|
-
}(e, t = h(e, t));
|
|
10215
|
+
var r = w("crypto");
|
|
10216
|
+
function t(e, t) {
|
|
10217
|
+
t = u(e, t);
|
|
10218
|
+
var n;
|
|
10219
|
+
return void 0 === (n = "passthrough" !== t.algorithm ? r.createHash(t.algorithm) : new l()).write && (n.write = n.update, n.end = n.update), f(t, n).dispatch(e), n.update || n.end(""), n.digest ? n.digest("buffer" === t.encoding ? void 0 : t.encoding) : (e = n.read(), "buffer" !== t.encoding ? e.toString(t.encoding) : e);
|
|
9128
10220
|
}
|
|
9129
|
-
(m = b.exports =
|
|
9130
|
-
return
|
|
10221
|
+
(m = b.exports = t).sha1 = function (e) {
|
|
10222
|
+
return t(e);
|
|
9131
10223
|
}, m.keys = function (e) {
|
|
9132
|
-
return
|
|
10224
|
+
return t(e, {
|
|
9133
10225
|
excludeValues: !0,
|
|
9134
10226
|
algorithm: "sha1",
|
|
9135
10227
|
encoding: "hex"
|
|
9136
10228
|
});
|
|
9137
10229
|
}, m.MD5 = function (e) {
|
|
9138
|
-
return
|
|
10230
|
+
return t(e, {
|
|
9139
10231
|
algorithm: "md5",
|
|
9140
10232
|
encoding: "hex"
|
|
9141
10233
|
});
|
|
9142
10234
|
}, m.keysMD5 = function (e) {
|
|
9143
|
-
return
|
|
10235
|
+
return t(e, {
|
|
9144
10236
|
algorithm: "md5",
|
|
9145
10237
|
encoding: "hex",
|
|
9146
10238
|
excludeValues: !0
|
|
9147
10239
|
});
|
|
9148
10240
|
};
|
|
9149
|
-
var
|
|
9150
|
-
|
|
9151
|
-
|
|
9152
|
-
function h(e, t) {
|
|
9153
|
-
t = t || {};
|
|
10241
|
+
var o = r.getHashes ? r.getHashes().slice() : ["sha1", "md5"],
|
|
10242
|
+
i = (o.push("passthrough"), ["buffer", "hex", "binary", "base64"]);
|
|
10243
|
+
function u(e, t) {
|
|
9154
10244
|
var n = {};
|
|
9155
|
-
if (n.algorithm = t.algorithm || "sha1", n.encoding = t.encoding || "hex", n.excludeValues = !!t.excludeValues, n.algorithm = n.algorithm.toLowerCase(), n.encoding = n.encoding.toLowerCase(), n.ignoreUnknown = !0 === t.ignoreUnknown, n.respectType = !1 !== t.respectType, n.respectFunctionNames = !1 !== t.respectFunctionNames, n.respectFunctionProperties = !1 !== t.respectFunctionProperties, n.unorderedArrays = !0 === t.unorderedArrays, n.unorderedSets = !1 !== t.unorderedSets, n.unorderedObjects = !1 !== t.unorderedObjects, n.replacer = t.replacer || void 0, n.excludeKeys = t.excludeKeys || void 0, void 0 === e) throw new Error("Object argument required.");
|
|
9156
|
-
for (var r = 0; r <
|
|
9157
|
-
if (-1 ===
|
|
9158
|
-
if (-1 ===
|
|
10245
|
+
if (n.algorithm = (t = t || {}).algorithm || "sha1", n.encoding = t.encoding || "hex", n.excludeValues = !!t.excludeValues, n.algorithm = n.algorithm.toLowerCase(), n.encoding = n.encoding.toLowerCase(), n.ignoreUnknown = !0 === t.ignoreUnknown, n.respectType = !1 !== t.respectType, n.respectFunctionNames = !1 !== t.respectFunctionNames, n.respectFunctionProperties = !1 !== t.respectFunctionProperties, n.unorderedArrays = !0 === t.unorderedArrays, n.unorderedSets = !1 !== t.unorderedSets, n.unorderedObjects = !1 !== t.unorderedObjects, n.replacer = t.replacer || void 0, n.excludeKeys = t.excludeKeys || void 0, void 0 === e) throw new Error("Object argument required.");
|
|
10246
|
+
for (var r = 0; r < o.length; ++r) o[r].toLowerCase() === n.algorithm.toLowerCase() && (n.algorithm = o[r]);
|
|
10247
|
+
if (-1 === o.indexOf(n.algorithm)) throw new Error('Algorithm "' + n.algorithm + '" not supported. supported values: ' + o.join(", "));
|
|
10248
|
+
if (-1 === i.indexOf(n.encoding) && "passthrough" !== n.algorithm) throw new Error('Encoding "' + n.encoding + '" not supported. supported values: ' + i.join(", "));
|
|
9159
10249
|
return n;
|
|
9160
10250
|
}
|
|
9161
|
-
function
|
|
9162
|
-
if ("function" == typeof e) {
|
|
9163
|
-
return null != /^function\s+\w*\s*\(\s*\)\s*{\s+\[native code\]\s+}$/i.exec(Function.prototype.toString.call(e));
|
|
9164
|
-
}
|
|
10251
|
+
function a(e) {
|
|
10252
|
+
if ("function" == typeof e) return null != /^function\s+\w*\s*\(\s*\)\s*{\s+\[native code\]\s+}$/i.exec(Function.prototype.toString.call(e));
|
|
9165
10253
|
}
|
|
9166
|
-
function
|
|
9167
|
-
|
|
9168
|
-
function
|
|
10254
|
+
function f(o, t, i) {
|
|
10255
|
+
i = i || [];
|
|
10256
|
+
function u(e) {
|
|
9169
10257
|
return t.update ? t.update(e, "utf8") : t.write(e, "utf8");
|
|
9170
10258
|
}
|
|
9171
10259
|
return {
|
|
9172
10260
|
dispatch: function dispatch(e) {
|
|
9173
|
-
return
|
|
10261
|
+
return this["_" + (null === (e = o.replacer ? o.replacer(e) : e) ? "null" : _typeof(e))](e);
|
|
9174
10262
|
},
|
|
9175
10263
|
_object: function _object(t) {
|
|
9176
|
-
var
|
|
9177
|
-
|
|
9178
|
-
|
|
9179
|
-
|
|
9180
|
-
if (0 <= (
|
|
9181
|
-
if (
|
|
9182
|
-
if ("object" ===
|
|
9183
|
-
|
|
9184
|
-
|
|
9185
|
-
|
|
9186
|
-
|
|
9187
|
-
|
|
9188
|
-
|
|
9189
|
-
|
|
9190
|
-
});
|
|
9191
|
-
}
|
|
9192
|
-
if (!this["_" + n]) {
|
|
9193
|
-
if (u.ignoreUnknown) return s("[" + n + "]");
|
|
9194
|
-
throw new Error('Unknown object type "' + n + '"');
|
|
10264
|
+
var n,
|
|
10265
|
+
e = Object.prototype.toString.call(t),
|
|
10266
|
+
r = /\[object (.*)\]/i.exec(e);
|
|
10267
|
+
r = (r = r ? r[1] : "unknown:[" + e + "]").toLowerCase();
|
|
10268
|
+
if (0 <= (e = i.indexOf(t))) return this.dispatch("[CIRCULAR:" + e + "]");
|
|
10269
|
+
if (i.push(t), void 0 !== s && s.isBuffer && s.isBuffer(t)) return u("buffer:"), u(t);
|
|
10270
|
+
if ("object" === r || "function" === r || "asyncfunction" === r) return e = Object.keys(t), o.unorderedObjects && (e = e.sort()), !1 === o.respectType || a(t) || e.splice(0, 0, "prototype", "__proto__", "constructor"), o.excludeKeys && (e = e.filter(function (e) {
|
|
10271
|
+
return !o.excludeKeys(e);
|
|
10272
|
+
})), u("object:" + e.length + ":"), n = this, e.forEach(function (e) {
|
|
10273
|
+
n.dispatch(e), u(":"), o.excludeValues || n.dispatch(t[e]), u(",");
|
|
10274
|
+
});
|
|
10275
|
+
if (!this["_" + r]) {
|
|
10276
|
+
if (o.ignoreUnknown) return u("[" + r + "]");
|
|
10277
|
+
throw new Error('Unknown object type "' + r + '"');
|
|
9195
10278
|
}
|
|
9196
|
-
this["_" +
|
|
10279
|
+
this["_" + r](t);
|
|
9197
10280
|
},
|
|
9198
10281
|
_array: function _array(e, t) {
|
|
9199
|
-
t = void 0 !== t ? t : !1 !==
|
|
10282
|
+
t = void 0 !== t ? t : !1 !== o.unorderedArrays;
|
|
9200
10283
|
var n = this;
|
|
9201
|
-
if (
|
|
10284
|
+
if (u("array:" + e.length + ":"), !t || e.length <= 1) return e.forEach(function (e) {
|
|
9202
10285
|
return n.dispatch(e);
|
|
9203
10286
|
});
|
|
9204
10287
|
var r = [],
|
|
9205
|
-
|
|
9206
|
-
var t = new
|
|
9207
|
-
n =
|
|
9208
|
-
return
|
|
10288
|
+
t = e.map(function (e) {
|
|
10289
|
+
var t = new l(),
|
|
10290
|
+
n = i.slice();
|
|
10291
|
+
return f(o, t, n).dispatch(e), r = r.concat(n.slice(i.length)), t.read().toString();
|
|
9209
10292
|
});
|
|
9210
|
-
return
|
|
10293
|
+
return i = i.concat(r), t.sort(), this._array(t, !1);
|
|
9211
10294
|
},
|
|
9212
10295
|
_date: function _date(e) {
|
|
9213
|
-
return
|
|
10296
|
+
return u("date:" + e.toJSON());
|
|
9214
10297
|
},
|
|
9215
10298
|
_symbol: function _symbol(e) {
|
|
9216
|
-
return
|
|
10299
|
+
return u("symbol:" + e.toString());
|
|
9217
10300
|
},
|
|
9218
10301
|
_error: function _error(e) {
|
|
9219
|
-
return
|
|
10302
|
+
return u("error:" + e.toString());
|
|
9220
10303
|
},
|
|
9221
10304
|
_boolean: function _boolean(e) {
|
|
9222
|
-
return
|
|
10305
|
+
return u("bool:" + e.toString());
|
|
9223
10306
|
},
|
|
9224
10307
|
_string: function _string(e) {
|
|
9225
|
-
|
|
10308
|
+
u("string:" + e.length + ":"), u(e.toString());
|
|
9226
10309
|
},
|
|
9227
10310
|
_function: function _function(e) {
|
|
9228
|
-
|
|
10311
|
+
u("fn:"), a(e) ? this.dispatch("[native]") : this.dispatch(e.toString()), !1 !== o.respectFunctionNames && this.dispatch("function-name:" + String(e.name)), o.respectFunctionProperties && this._object(e);
|
|
9229
10312
|
},
|
|
9230
10313
|
_number: function _number(e) {
|
|
9231
|
-
return
|
|
10314
|
+
return u("number:" + e.toString());
|
|
9232
10315
|
},
|
|
9233
10316
|
_xml: function _xml(e) {
|
|
9234
|
-
return
|
|
10317
|
+
return u("xml:" + e.toString());
|
|
9235
10318
|
},
|
|
9236
10319
|
_null: function _null() {
|
|
9237
|
-
return
|
|
10320
|
+
return u("Null");
|
|
9238
10321
|
},
|
|
9239
10322
|
_undefined: function _undefined() {
|
|
9240
|
-
return
|
|
10323
|
+
return u("Undefined");
|
|
9241
10324
|
},
|
|
9242
10325
|
_regexp: function _regexp(e) {
|
|
9243
|
-
return
|
|
10326
|
+
return u("regex:" + e.toString());
|
|
9244
10327
|
},
|
|
9245
10328
|
_uint8array: function _uint8array(e) {
|
|
9246
|
-
return
|
|
10329
|
+
return u("uint8array:"), this.dispatch(Array.prototype.slice.call(e));
|
|
9247
10330
|
},
|
|
9248
10331
|
_uint8clampedarray: function _uint8clampedarray(e) {
|
|
9249
|
-
return
|
|
10332
|
+
return u("uint8clampedarray:"), this.dispatch(Array.prototype.slice.call(e));
|
|
9250
10333
|
},
|
|
9251
10334
|
_int8array: function _int8array(e) {
|
|
9252
|
-
return
|
|
10335
|
+
return u("int8array:"), this.dispatch(Array.prototype.slice.call(e));
|
|
9253
10336
|
},
|
|
9254
10337
|
_uint16array: function _uint16array(e) {
|
|
9255
|
-
return
|
|
10338
|
+
return u("uint16array:"), this.dispatch(Array.prototype.slice.call(e));
|
|
9256
10339
|
},
|
|
9257
10340
|
_int16array: function _int16array(e) {
|
|
9258
|
-
return
|
|
10341
|
+
return u("int16array:"), this.dispatch(Array.prototype.slice.call(e));
|
|
9259
10342
|
},
|
|
9260
10343
|
_uint32array: function _uint32array(e) {
|
|
9261
|
-
return
|
|
10344
|
+
return u("uint32array:"), this.dispatch(Array.prototype.slice.call(e));
|
|
9262
10345
|
},
|
|
9263
10346
|
_int32array: function _int32array(e) {
|
|
9264
|
-
return
|
|
10347
|
+
return u("int32array:"), this.dispatch(Array.prototype.slice.call(e));
|
|
9265
10348
|
},
|
|
9266
10349
|
_float32array: function _float32array(e) {
|
|
9267
|
-
return
|
|
10350
|
+
return u("float32array:"), this.dispatch(Array.prototype.slice.call(e));
|
|
9268
10351
|
},
|
|
9269
10352
|
_float64array: function _float64array(e) {
|
|
9270
|
-
return
|
|
10353
|
+
return u("float64array:"), this.dispatch(Array.prototype.slice.call(e));
|
|
9271
10354
|
},
|
|
9272
10355
|
_arraybuffer: function _arraybuffer(e) {
|
|
9273
|
-
return
|
|
10356
|
+
return u("arraybuffer:"), this.dispatch(new Uint8Array(e));
|
|
9274
10357
|
},
|
|
9275
10358
|
_url: function _url(e) {
|
|
9276
|
-
return
|
|
10359
|
+
return u("url:" + e.toString());
|
|
9277
10360
|
},
|
|
9278
10361
|
_map: function _map(e) {
|
|
9279
|
-
|
|
9280
|
-
|
|
9281
|
-
return this._array(
|
|
10362
|
+
u("map:");
|
|
10363
|
+
e = Array.from(e);
|
|
10364
|
+
return this._array(e, !1 !== o.unorderedSets);
|
|
9282
10365
|
},
|
|
9283
10366
|
_set: function _set(e) {
|
|
9284
|
-
|
|
9285
|
-
|
|
9286
|
-
return this._array(
|
|
10367
|
+
u("set:");
|
|
10368
|
+
e = Array.from(e);
|
|
10369
|
+
return this._array(e, !1 !== o.unorderedSets);
|
|
9287
10370
|
},
|
|
9288
10371
|
_file: function _file(e) {
|
|
9289
|
-
return
|
|
10372
|
+
return u("file:"), this.dispatch([e.name, e.size, e.type, e.lastModfied]);
|
|
9290
10373
|
},
|
|
9291
10374
|
_blob: function _blob() {
|
|
9292
|
-
if (
|
|
10375
|
+
if (o.ignoreUnknown) return u("[blob]");
|
|
9293
10376
|
throw Error('Hashing Blob objects is currently not supported\n(see https://github.com/puleos/object-hash/issues/26)\nUse "options.replacer" or "options.ignoreUnknown"\n');
|
|
9294
10377
|
},
|
|
9295
10378
|
_domwindow: function _domwindow() {
|
|
9296
|
-
return
|
|
10379
|
+
return u("domwindow");
|
|
9297
10380
|
},
|
|
9298
10381
|
_bigint: function _bigint(e) {
|
|
9299
|
-
return
|
|
10382
|
+
return u("bigint:" + e.toString());
|
|
9300
10383
|
},
|
|
9301
10384
|
_process: function _process() {
|
|
9302
|
-
return
|
|
10385
|
+
return u("process");
|
|
9303
10386
|
},
|
|
9304
10387
|
_timer: function _timer() {
|
|
9305
|
-
return
|
|
10388
|
+
return u("timer");
|
|
9306
10389
|
},
|
|
9307
10390
|
_pipe: function _pipe() {
|
|
9308
|
-
return
|
|
10391
|
+
return u("pipe");
|
|
9309
10392
|
},
|
|
9310
10393
|
_tcp: function _tcp() {
|
|
9311
|
-
return
|
|
10394
|
+
return u("tcp");
|
|
9312
10395
|
},
|
|
9313
10396
|
_udp: function _udp() {
|
|
9314
|
-
return
|
|
10397
|
+
return u("udp");
|
|
9315
10398
|
},
|
|
9316
10399
|
_tty: function _tty() {
|
|
9317
|
-
return
|
|
10400
|
+
return u("tty");
|
|
9318
10401
|
},
|
|
9319
10402
|
_statwatcher: function _statwatcher() {
|
|
9320
|
-
return
|
|
10403
|
+
return u("statwatcher");
|
|
9321
10404
|
},
|
|
9322
10405
|
_securecontext: function _securecontext() {
|
|
9323
|
-
return
|
|
10406
|
+
return u("securecontext");
|
|
9324
10407
|
},
|
|
9325
10408
|
_connection: function _connection() {
|
|
9326
|
-
return
|
|
10409
|
+
return u("connection");
|
|
9327
10410
|
},
|
|
9328
10411
|
_zlib: function _zlib() {
|
|
9329
|
-
return
|
|
10412
|
+
return u("zlib");
|
|
9330
10413
|
},
|
|
9331
10414
|
_context: function _context() {
|
|
9332
|
-
return
|
|
10415
|
+
return u("context");
|
|
9333
10416
|
},
|
|
9334
10417
|
_nodescript: function _nodescript() {
|
|
9335
|
-
return
|
|
10418
|
+
return u("nodescript");
|
|
9336
10419
|
},
|
|
9337
10420
|
_httpparser: function _httpparser() {
|
|
9338
|
-
return
|
|
10421
|
+
return u("httpparser");
|
|
9339
10422
|
},
|
|
9340
10423
|
_dataview: function _dataview() {
|
|
9341
|
-
return
|
|
10424
|
+
return u("dataview");
|
|
9342
10425
|
},
|
|
9343
10426
|
_signal: function _signal() {
|
|
9344
|
-
return
|
|
10427
|
+
return u("signal");
|
|
9345
10428
|
},
|
|
9346
10429
|
_fsevent: function _fsevent() {
|
|
9347
|
-
return
|
|
10430
|
+
return u("fsevent");
|
|
9348
10431
|
},
|
|
9349
10432
|
_tlswrap: function _tlswrap() {
|
|
9350
|
-
return
|
|
10433
|
+
return u("tlswrap");
|
|
9351
10434
|
}
|
|
9352
10435
|
};
|
|
9353
10436
|
}
|
|
9354
|
-
function
|
|
10437
|
+
function l() {
|
|
9355
10438
|
return {
|
|
9356
10439
|
buf: "",
|
|
9357
10440
|
write: function write(e) {
|
|
@@ -9366,44 +10449,44 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
9366
10449
|
};
|
|
9367
10450
|
}
|
|
9368
10451
|
m.writeToStream = function (e, t, n) {
|
|
9369
|
-
return void 0 === n && (n = t, t = {}),
|
|
10452
|
+
return void 0 === n && (n = t, t = {}), f(t = u(e, t), n).dispatch(e);
|
|
9370
10453
|
};
|
|
9371
|
-
}
|
|
10454
|
+
}.call(this, w("lYpoI2"), "undefined" != typeof self ? self : "undefined" != typeof window ? window : {}, w("buffer").Buffer, arguments[3], arguments[4], arguments[5], arguments[6], "/fake_9a5aa49d.js", "/");
|
|
9372
10455
|
}, {
|
|
9373
10456
|
buffer: 3,
|
|
9374
10457
|
crypto: 5,
|
|
9375
|
-
lYpoI2:
|
|
10458
|
+
lYpoI2: 11
|
|
9376
10459
|
}],
|
|
9377
10460
|
2: [function (e, t, f) {
|
|
9378
|
-
|
|
10461
|
+
!function (e, t, n, r, o, i, u, s, a) {
|
|
9379
10462
|
!function (e) {
|
|
9380
10463
|
"use strict";
|
|
9381
10464
|
|
|
9382
|
-
var
|
|
9383
|
-
|
|
9384
|
-
|
|
9385
|
-
|
|
9386
|
-
|
|
9387
|
-
|
|
9388
|
-
|
|
10465
|
+
var a = "undefined" != typeof Uint8Array ? Uint8Array : Array,
|
|
10466
|
+
t = "+".charCodeAt(0),
|
|
10467
|
+
n = "/".charCodeAt(0),
|
|
10468
|
+
r = "0".charCodeAt(0),
|
|
10469
|
+
o = "a".charCodeAt(0),
|
|
10470
|
+
i = "A".charCodeAt(0),
|
|
10471
|
+
u = "-".charCodeAt(0),
|
|
9389
10472
|
s = "_".charCodeAt(0);
|
|
9390
|
-
function
|
|
9391
|
-
|
|
9392
|
-
return
|
|
10473
|
+
function f(e) {
|
|
10474
|
+
e = e.charCodeAt(0);
|
|
10475
|
+
return e === t || e === u ? 62 : e === n || e === s ? 63 : e < r ? -1 : e < r + 10 ? e - r + 26 + 26 : e < i + 26 ? e - i : e < o + 26 ? e - o + 26 : void 0;
|
|
9393
10476
|
}
|
|
9394
10477
|
e.toByteArray = function (e) {
|
|
9395
10478
|
var t, n;
|
|
9396
10479
|
if (0 < e.length % 4) throw new Error("Invalid string. Length must be a multiple of 4");
|
|
9397
10480
|
var r = e.length,
|
|
9398
|
-
|
|
9399
|
-
|
|
9400
|
-
|
|
9401
|
-
|
|
10481
|
+
r = "=" === e.charAt(r - 2) ? 2 : "=" === e.charAt(r - 1) ? 1 : 0,
|
|
10482
|
+
o = new a(3 * e.length / 4 - r),
|
|
10483
|
+
i = 0 < r ? e.length - 4 : e.length,
|
|
10484
|
+
u = 0;
|
|
9402
10485
|
function s(e) {
|
|
9403
|
-
|
|
10486
|
+
o[u++] = e;
|
|
9404
10487
|
}
|
|
9405
|
-
for (t = 0; t <
|
|
9406
|
-
return 2 ==
|
|
10488
|
+
for (t = 0; t < i; t += 4, 0) s((16711680 & (n = f(e.charAt(t)) << 18 | f(e.charAt(t + 1)) << 12 | f(e.charAt(t + 2)) << 6 | f(e.charAt(t + 3)))) >> 16), s((65280 & n) >> 8), s(255 & n);
|
|
10489
|
+
return 2 == r ? s(255 & (n = f(e.charAt(t)) << 2 | f(e.charAt(t + 1)) >> 4)) : 1 == r && (s((n = f(e.charAt(t)) << 10 | f(e.charAt(t + 1)) << 4 | f(e.charAt(t + 2)) >> 2) >> 8 & 255), s(255 & n)), o;
|
|
9407
10490
|
}, e.fromByteArray = function (e) {
|
|
9408
10491
|
var t,
|
|
9409
10492
|
n,
|
|
@@ -9411,116 +10494,109 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
9411
10494
|
o,
|
|
9412
10495
|
i = e.length % 3,
|
|
9413
10496
|
u = "";
|
|
9414
|
-
function
|
|
10497
|
+
function s(e) {
|
|
9415
10498
|
return "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt(e);
|
|
9416
10499
|
}
|
|
9417
|
-
for (t = 0, r = e.length - i; t < r; t += 3) n = (e[t] << 16) + (e[t + 1] << 8) + e[t + 2], u +=
|
|
10500
|
+
for (t = 0, r = e.length - i; t < r; t += 3) n = (e[t] << 16) + (e[t + 1] << 8) + e[t + 2], u += s((o = n) >> 18 & 63) + s(o >> 12 & 63) + s(o >> 6 & 63) + s(63 & o);
|
|
9418
10501
|
switch (i) {
|
|
9419
10502
|
case 1:
|
|
9420
|
-
u +=
|
|
10503
|
+
u = (u += s((n = e[e.length - 1]) >> 2)) + s(n << 4 & 63) + "==";
|
|
9421
10504
|
break;
|
|
9422
10505
|
case 2:
|
|
9423
|
-
u +=
|
|
10506
|
+
u = (u = (u += s((n = (e[e.length - 2] << 8) + e[e.length - 1]) >> 10)) + s(n >> 4 & 63)) + s(n << 2 & 63) + "=";
|
|
9424
10507
|
}
|
|
9425
10508
|
return u;
|
|
9426
10509
|
};
|
|
9427
10510
|
}(void 0 === f ? this.base64js = {} : f);
|
|
9428
|
-
}
|
|
10511
|
+
}.call(this, e("lYpoI2"), "undefined" != typeof self ? self : "undefined" != typeof window ? window : {}, e("buffer").Buffer, arguments[3], arguments[4], arguments[5], arguments[6], "/node_modules/gulp-browserify/node_modules/base64-js/lib/b64.js", "/node_modules/gulp-browserify/node_modules/base64-js/lib");
|
|
9429
10512
|
}, {
|
|
9430
10513
|
buffer: 3,
|
|
9431
|
-
lYpoI2:
|
|
10514
|
+
lYpoI2: 11
|
|
9432
10515
|
}],
|
|
9433
10516
|
3: [function (O, e, H) {
|
|
9434
|
-
|
|
9435
|
-
var
|
|
9436
|
-
|
|
9437
|
-
function
|
|
9438
|
-
if (!(this instanceof
|
|
10517
|
+
!function (e, n, f, r, h, p, g, y, w) {
|
|
10518
|
+
var a = O("base64-js"),
|
|
10519
|
+
i = O("ieee754");
|
|
10520
|
+
function f(e, t, n) {
|
|
10521
|
+
if (!(this instanceof f)) return new f(e, t, n);
|
|
9439
10522
|
var r,
|
|
9440
10523
|
o,
|
|
9441
10524
|
i,
|
|
9442
10525
|
u,
|
|
9443
|
-
a,
|
|
9444
10526
|
s = _typeof(e);
|
|
9445
|
-
if ("base64" === t && "string" == s) for (e = (
|
|
9446
|
-
if ("number" == s)
|
|
10527
|
+
if ("base64" === t && "string" == s) for (e = (u = e).trim ? u.trim() : u.replace(/^\s+|\s+$/g, ""); e.length % 4 != 0;) e += "=";
|
|
10528
|
+
if ("number" == s) r = j(e);else if ("string" == s) r = f.byteLength(e, t);else {
|
|
9447
10529
|
if ("object" != s) throw new Error("First argument needs to be a number, array or string.");
|
|
9448
|
-
|
|
10530
|
+
r = j(e.length);
|
|
9449
10531
|
}
|
|
9450
|
-
if (
|
|
9451
|
-
return
|
|
10532
|
+
if (f._useTypedArrays ? o = f._augment(new Uint8Array(r)) : ((o = this).length = r, o._isBuffer = !0), f._useTypedArrays && "number" == typeof e.byteLength) o._set(e);else if (C(u = e) || f.isBuffer(u) || u && "object" == _typeof(u) && "number" == typeof u.length) for (i = 0; i < r; i++) f.isBuffer(e) ? o[i] = e.readUInt8(i) : o[i] = e[i];else if ("string" == s) o.write(e, 0, t);else if ("number" == s && !f._useTypedArrays && !n) for (i = 0; i < r; i++) o[i] = 0;
|
|
10533
|
+
return o;
|
|
9452
10534
|
}
|
|
9453
|
-
function
|
|
9454
|
-
return
|
|
10535
|
+
function b(e, t, n, r) {
|
|
10536
|
+
return f._charsWritten = c(function (e) {
|
|
9455
10537
|
for (var t = [], n = 0; n < e.length; n++) t.push(255 & e.charCodeAt(n));
|
|
9456
10538
|
return t;
|
|
9457
10539
|
}(t), e, n, r);
|
|
9458
10540
|
}
|
|
9459
|
-
function
|
|
9460
|
-
return
|
|
9461
|
-
for (var t, n, r
|
|
9462
|
-
return
|
|
10541
|
+
function m(e, t, n, r) {
|
|
10542
|
+
return f._charsWritten = c(function (e) {
|
|
10543
|
+
for (var t, n, r = [], o = 0; o < e.length; o++) n = e.charCodeAt(o), t = n >> 8, n = n % 256, r.push(n), r.push(t);
|
|
10544
|
+
return r;
|
|
9463
10545
|
}(t), e, n, r);
|
|
9464
10546
|
}
|
|
9465
|
-
function
|
|
10547
|
+
function v(e, t, n) {
|
|
9466
10548
|
var r = "";
|
|
9467
10549
|
n = Math.min(e.length, n);
|
|
9468
10550
|
for (var o = t; o < n; o++) r += String.fromCharCode(e[o]);
|
|
9469
10551
|
return r;
|
|
9470
10552
|
}
|
|
9471
|
-
function
|
|
9472
|
-
r || (
|
|
10553
|
+
function o(e, t, n, r) {
|
|
10554
|
+
r || (d("boolean" == typeof n, "missing or invalid endian"), d(null != t, "missing offset"), d(t + 1 < e.length, "Trying to read beyond buffer length"));
|
|
9473
10555
|
var o,
|
|
9474
|
-
|
|
9475
|
-
if (!(
|
|
10556
|
+
r = e.length;
|
|
10557
|
+
if (!(r <= t)) return n ? (o = e[t], t + 1 < r && (o |= e[t + 1] << 8)) : (o = e[t] << 8, t + 1 < r && (o |= e[t + 1])), o;
|
|
9476
10558
|
}
|
|
9477
|
-
function
|
|
9478
|
-
r || (
|
|
10559
|
+
function u(e, t, n, r) {
|
|
10560
|
+
r || (d("boolean" == typeof n, "missing or invalid endian"), d(null != t, "missing offset"), d(t + 3 < e.length, "Trying to read beyond buffer length"));
|
|
9479
10561
|
var o,
|
|
9480
|
-
|
|
9481
|
-
if (!(
|
|
10562
|
+
r = e.length;
|
|
10563
|
+
if (!(r <= t)) return n ? (t + 2 < r && (o = e[t + 2] << 16), t + 1 < r && (o |= e[t + 1] << 8), o |= e[t], t + 3 < r && (o += e[t + 3] << 24 >>> 0)) : (t + 1 < r && (o = e[t + 1] << 16), t + 2 < r && (o |= e[t + 2] << 8), t + 3 < r && (o |= e[t + 3]), o += e[t] << 24 >>> 0), o;
|
|
9482
10564
|
}
|
|
9483
|
-
function
|
|
9484
|
-
if (r || (
|
|
9485
|
-
var o = l(e, t, n, !0);
|
|
9486
|
-
return 32768 & o ? -1 * (65535 - o + 1) : o;
|
|
9487
|
-
}
|
|
10565
|
+
function _(e, t, n, r) {
|
|
10566
|
+
if (r || (d("boolean" == typeof n, "missing or invalid endian"), d(null != t, "missing offset"), d(t + 1 < e.length, "Trying to read beyond buffer length")), !(e.length <= t)) return r = o(e, t, n, !0), 32768 & r ? -1 * (65535 - r + 1) : r;
|
|
9488
10567
|
}
|
|
9489
|
-
function
|
|
9490
|
-
if (r || (
|
|
9491
|
-
var o = d(e, t, n, !0);
|
|
9492
|
-
return 2147483648 & o ? -1 * (4294967295 - o + 1) : o;
|
|
9493
|
-
}
|
|
10568
|
+
function E(e, t, n, r) {
|
|
10569
|
+
if (r || (d("boolean" == typeof n, "missing or invalid endian"), d(null != t, "missing offset"), d(t + 3 < e.length, "Trying to read beyond buffer length")), !(e.length <= t)) return r = u(e, t, n, !0), 2147483648 & r ? -1 * (4294967295 - r + 1) : r;
|
|
9494
10570
|
}
|
|
9495
|
-
function
|
|
9496
|
-
return r || (
|
|
10571
|
+
function I(e, t, n, r) {
|
|
10572
|
+
return r || (d("boolean" == typeof n, "missing or invalid endian"), d(t + 3 < e.length, "Trying to read beyond buffer length")), i.read(e, t, n, 23, 4);
|
|
9497
10573
|
}
|
|
9498
|
-
function
|
|
9499
|
-
return r || (
|
|
10574
|
+
function A(e, t, n, r) {
|
|
10575
|
+
return r || (d("boolean" == typeof n, "missing or invalid endian"), d(t + 7 < e.length, "Trying to read beyond buffer length")), i.read(e, t, n, 52, 8);
|
|
9500
10576
|
}
|
|
9501
|
-
function
|
|
9502
|
-
o || (
|
|
9503
|
-
|
|
9504
|
-
if (!(
|
|
10577
|
+
function s(e, t, n, r, o) {
|
|
10578
|
+
o || (d(null != t, "missing value"), d("boolean" == typeof r, "missing or invalid endian"), d(null != n, "missing offset"), d(n + 1 < e.length, "trying to write beyond buffer length"), Y(t, 65535));
|
|
10579
|
+
o = e.length;
|
|
10580
|
+
if (!(o <= n)) for (var i = 0, u = Math.min(o - n, 2); i < u; i++) e[n + i] = (t & 255 << 8 * (r ? i : 1 - i)) >>> 8 * (r ? i : 1 - i);
|
|
9505
10581
|
}
|
|
9506
|
-
function
|
|
9507
|
-
o || (
|
|
9508
|
-
|
|
9509
|
-
if (!(
|
|
10582
|
+
function l(e, t, n, r, o) {
|
|
10583
|
+
o || (d(null != t, "missing value"), d("boolean" == typeof r, "missing or invalid endian"), d(null != n, "missing offset"), d(n + 3 < e.length, "trying to write beyond buffer length"), Y(t, 4294967295));
|
|
10584
|
+
o = e.length;
|
|
10585
|
+
if (!(o <= n)) for (var i = 0, u = Math.min(o - n, 4); i < u; i++) e[n + i] = t >>> 8 * (r ? i : 3 - i) & 255;
|
|
9510
10586
|
}
|
|
9511
|
-
function
|
|
9512
|
-
o || (
|
|
10587
|
+
function B(e, t, n, r, o) {
|
|
10588
|
+
o || (d(null != t, "missing value"), d("boolean" == typeof r, "missing or invalid endian"), d(null != n, "missing offset"), d(n + 1 < e.length, "Trying to write beyond buffer length"), F(t, 32767, -32768)), e.length <= n || s(e, 0 <= t ? t : 65535 + t + 1, n, r, o);
|
|
9513
10589
|
}
|
|
9514
|
-
function
|
|
9515
|
-
o || (
|
|
10590
|
+
function L(e, t, n, r, o) {
|
|
10591
|
+
o || (d(null != t, "missing value"), d("boolean" == typeof r, "missing or invalid endian"), d(null != n, "missing offset"), d(n + 3 < e.length, "Trying to write beyond buffer length"), F(t, 2147483647, -2147483648)), e.length <= n || l(e, 0 <= t ? t : 4294967295 + t + 1, n, r, o);
|
|
9516
10592
|
}
|
|
9517
|
-
function
|
|
9518
|
-
o || (
|
|
10593
|
+
function U(e, t, n, r, o) {
|
|
10594
|
+
o || (d(null != t, "missing value"), d("boolean" == typeof r, "missing or invalid endian"), d(null != n, "missing offset"), d(n + 3 < e.length, "Trying to write beyond buffer length"), D(t, 34028234663852886e22, -34028234663852886e22)), e.length <= n || i.write(e, t, n, r, 23, 4);
|
|
9519
10595
|
}
|
|
9520
|
-
function
|
|
9521
|
-
o || (
|
|
10596
|
+
function x(e, t, n, r, o) {
|
|
10597
|
+
o || (d(null != t, "missing value"), d("boolean" == typeof r, "missing or invalid endian"), d(null != n, "missing offset"), d(n + 7 < e.length, "Trying to write beyond buffer length"), D(t, 17976931348623157e292, -17976931348623157e292)), e.length <= n || i.write(e, t, n, r, 52, 8);
|
|
9522
10598
|
}
|
|
9523
|
-
H.Buffer =
|
|
10599
|
+
H.Buffer = f, H.SlowBuffer = f, H.INSPECT_MAX_BYTES = 50, f.poolSize = 8192, f._useTypedArrays = function () {
|
|
9524
10600
|
try {
|
|
9525
10601
|
var e = new ArrayBuffer(0),
|
|
9526
10602
|
t = new Uint8Array(e);
|
|
@@ -9530,7 +10606,7 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
9530
10606
|
} catch (e) {
|
|
9531
10607
|
return !1;
|
|
9532
10608
|
}
|
|
9533
|
-
}(),
|
|
10609
|
+
}(), f.isEncoding = function (e) {
|
|
9534
10610
|
switch (String(e).toLowerCase()) {
|
|
9535
10611
|
case "hex":
|
|
9536
10612
|
case "utf8":
|
|
@@ -9547,9 +10623,9 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
9547
10623
|
default:
|
|
9548
10624
|
return !1;
|
|
9549
10625
|
}
|
|
9550
|
-
},
|
|
10626
|
+
}, f.isBuffer = function (e) {
|
|
9551
10627
|
return !(null == e || !e._isBuffer);
|
|
9552
|
-
},
|
|
10628
|
+
}, f.byteLength = function (e, t) {
|
|
9553
10629
|
var n;
|
|
9554
10630
|
switch (e += "", t || "utf8") {
|
|
9555
10631
|
case "hex":
|
|
@@ -9557,7 +10633,7 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
9557
10633
|
break;
|
|
9558
10634
|
case "utf8":
|
|
9559
10635
|
case "utf-8":
|
|
9560
|
-
n =
|
|
10636
|
+
n = T(e).length;
|
|
9561
10637
|
break;
|
|
9562
10638
|
case "ascii":
|
|
9563
10639
|
case "binary":
|
|
@@ -9565,7 +10641,7 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
9565
10641
|
n = e.length;
|
|
9566
10642
|
break;
|
|
9567
10643
|
case "base64":
|
|
9568
|
-
n =
|
|
10644
|
+
n = M(e).length;
|
|
9569
10645
|
break;
|
|
9570
10646
|
case "ucs2":
|
|
9571
10647
|
case "ucs-2":
|
|
@@ -9577,80 +10653,72 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
9577
10653
|
throw new Error("Unknown encoding");
|
|
9578
10654
|
}
|
|
9579
10655
|
return n;
|
|
9580
|
-
},
|
|
9581
|
-
if (
|
|
10656
|
+
}, f.concat = function (e, t) {
|
|
10657
|
+
if (d(C(e), "Usage: Buffer.concat(list, [totalLength])\nlist should be an Array."), 0 === e.length) return new f(0);
|
|
9582
10658
|
if (1 === e.length) return e[0];
|
|
9583
10659
|
if ("number" != typeof t) for (o = t = 0; o < e.length; o++) t += e[o].length;
|
|
9584
|
-
for (var n = new
|
|
10660
|
+
for (var n = new f(t), r = 0, o = 0; o < e.length; o++) {
|
|
9585
10661
|
var i = e[o];
|
|
9586
10662
|
i.copy(n, r), r += i.length;
|
|
9587
10663
|
}
|
|
9588
10664
|
return n;
|
|
9589
|
-
},
|
|
9590
|
-
|
|
9591
|
-
|
|
9592
|
-
|
|
10665
|
+
}, f.prototype.write = function (e, t, n, r) {
|
|
10666
|
+
isFinite(t) ? isFinite(n) || (r = n, n = void 0) : (a = r, r = t, t = n, n = a), t = Number(t) || 0;
|
|
10667
|
+
var o,
|
|
10668
|
+
i,
|
|
9593
10669
|
u,
|
|
9594
|
-
a,
|
|
9595
10670
|
s,
|
|
9596
|
-
|
|
9597
|
-
|
|
9598
|
-
l,
|
|
9599
|
-
d,
|
|
9600
|
-
h,
|
|
9601
|
-
p = this.length - t;
|
|
9602
|
-
switch ((!n || p < (n = Number(n))) && (n = p), r = String(r || "utf8").toLowerCase()) {
|
|
10671
|
+
a = this.length - t;
|
|
10672
|
+
switch ((!n || a < (n = Number(n))) && (n = a), r = String(r || "utf8").toLowerCase()) {
|
|
9603
10673
|
case "hex":
|
|
9604
|
-
|
|
10674
|
+
o = function (e, t, n, r) {
|
|
9605
10675
|
n = Number(n) || 0;
|
|
9606
10676
|
var o = e.length - n;
|
|
9607
|
-
(!r || o < (r = Number(r))) && (r = o);
|
|
9608
|
-
var i =
|
|
9609
|
-
|
|
9610
|
-
|
|
9611
|
-
var a = parseInt(t.substr(2 * u, 2), 16);
|
|
9612
|
-
D(!isNaN(a), "Invalid hex string"), e[n + u] = a;
|
|
10677
|
+
(!r || o < (r = Number(r))) && (r = o), d((o = t.length) % 2 == 0, "Invalid hex string"), o / 2 < r && (r = o / 2);
|
|
10678
|
+
for (var i = 0; i < r; i++) {
|
|
10679
|
+
var u = parseInt(t.substr(2 * i, 2), 16);
|
|
10680
|
+
d(!isNaN(u), "Invalid hex string"), e[n + i] = u;
|
|
9613
10681
|
}
|
|
9614
|
-
return
|
|
10682
|
+
return f._charsWritten = 2 * i, i;
|
|
9615
10683
|
}(this, e, t, n);
|
|
9616
10684
|
break;
|
|
9617
10685
|
case "utf8":
|
|
9618
10686
|
case "utf-8":
|
|
9619
|
-
|
|
10687
|
+
i = this, u = t, s = n, o = f._charsWritten = c(T(e), i, u, s);
|
|
9620
10688
|
break;
|
|
9621
10689
|
case "ascii":
|
|
9622
10690
|
case "binary":
|
|
9623
|
-
|
|
10691
|
+
o = b(this, e, t, n);
|
|
9624
10692
|
break;
|
|
9625
10693
|
case "base64":
|
|
9626
|
-
|
|
10694
|
+
i = this, u = t, s = n, o = f._charsWritten = c(M(e), i, u, s);
|
|
9627
10695
|
break;
|
|
9628
10696
|
case "ucs2":
|
|
9629
10697
|
case "ucs-2":
|
|
9630
10698
|
case "utf16le":
|
|
9631
10699
|
case "utf-16le":
|
|
9632
|
-
|
|
10700
|
+
o = m(this, e, t, n);
|
|
9633
10701
|
break;
|
|
9634
10702
|
default:
|
|
9635
10703
|
throw new Error("Unknown encoding");
|
|
9636
10704
|
}
|
|
9637
|
-
return
|
|
9638
|
-
},
|
|
10705
|
+
return o;
|
|
10706
|
+
}, f.prototype.toString = function (e, t, n) {
|
|
9639
10707
|
var r,
|
|
9640
10708
|
o,
|
|
9641
10709
|
i,
|
|
9642
10710
|
u,
|
|
9643
|
-
|
|
9644
|
-
if (e = String(e || "utf8").toLowerCase(), t = Number(t) || 0, (n = void 0 !== n ? Number(n) :
|
|
10711
|
+
s = this;
|
|
10712
|
+
if (e = String(e || "utf8").toLowerCase(), t = Number(t) || 0, (n = void 0 !== n ? Number(n) : s.length) === t) return "";
|
|
9645
10713
|
switch (e) {
|
|
9646
10714
|
case "hex":
|
|
9647
10715
|
r = function (e, t, n) {
|
|
9648
10716
|
var r = e.length;
|
|
9649
10717
|
(!t || t < 0) && (t = 0);
|
|
9650
10718
|
(!n || n < 0 || r < n) && (n = r);
|
|
9651
|
-
for (var o = "", i = t; i < n; i++) o +=
|
|
10719
|
+
for (var o = "", i = t; i < n; i++) o += k(e[i]);
|
|
9652
10720
|
return o;
|
|
9653
|
-
}(
|
|
10721
|
+
}(s, t, n);
|
|
9654
10722
|
break;
|
|
9655
10723
|
case "utf8":
|
|
9656
10724
|
case "utf-8":
|
|
@@ -9658,16 +10726,16 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
9658
10726
|
var r = "",
|
|
9659
10727
|
o = "";
|
|
9660
10728
|
n = Math.min(e.length, n);
|
|
9661
|
-
for (var i = t; i < n; i++) e[i] <= 127 ? (r +=
|
|
9662
|
-
return r +
|
|
9663
|
-
}(
|
|
10729
|
+
for (var i = t; i < n; i++) e[i] <= 127 ? (r += N(o) + String.fromCharCode(e[i]), o = "") : o += "%" + e[i].toString(16);
|
|
10730
|
+
return r + N(o);
|
|
10731
|
+
}(s, t, n);
|
|
9664
10732
|
break;
|
|
9665
10733
|
case "ascii":
|
|
9666
10734
|
case "binary":
|
|
9667
|
-
r =
|
|
10735
|
+
r = v(s, t, n);
|
|
9668
10736
|
break;
|
|
9669
10737
|
case "base64":
|
|
9670
|
-
o =
|
|
10738
|
+
o = s, u = n, r = 0 === (i = t) && u === o.length ? a.fromByteArray(o) : a.fromByteArray(o.slice(i, u));
|
|
9671
10739
|
break;
|
|
9672
10740
|
case "ucs2":
|
|
9673
10741
|
case "ucs-2":
|
|
@@ -9676,465 +10744,442 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
9676
10744
|
r = function (e, t, n) {
|
|
9677
10745
|
for (var r = e.slice(t, n), o = "", i = 0; i < r.length; i += 2) o += String.fromCharCode(r[i] + 256 * r[i + 1]);
|
|
9678
10746
|
return o;
|
|
9679
|
-
}(
|
|
10747
|
+
}(s, t, n);
|
|
9680
10748
|
break;
|
|
9681
10749
|
default:
|
|
9682
10750
|
throw new Error("Unknown encoding");
|
|
9683
10751
|
}
|
|
9684
10752
|
return r;
|
|
9685
|
-
},
|
|
10753
|
+
}, f.prototype.toJSON = function () {
|
|
9686
10754
|
return {
|
|
9687
10755
|
type: "Buffer",
|
|
9688
10756
|
data: Array.prototype.slice.call(this._arr || this, 0)
|
|
9689
10757
|
};
|
|
9690
|
-
},
|
|
9691
|
-
if (
|
|
9692
|
-
|
|
9693
|
-
var o = r - n;
|
|
9694
|
-
if (o < 100 || !
|
|
10758
|
+
}, f.prototype.copy = function (e, t, n, r) {
|
|
10759
|
+
if (t = t || 0, (r = r || 0 === r ? r : this.length) !== (n = n || 0) && 0 !== e.length && 0 !== this.length) {
|
|
10760
|
+
d(n <= r, "sourceEnd < sourceStart"), d(0 <= t && t < e.length, "targetStart out of bounds"), d(0 <= n && n < this.length, "sourceStart out of bounds"), d(0 <= r && r <= this.length, "sourceEnd out of bounds"), r > this.length && (r = this.length);
|
|
10761
|
+
var o = (r = e.length - t < r - n ? e.length - t + n : r) - n;
|
|
10762
|
+
if (o < 100 || !f._useTypedArrays) for (var i = 0; i < o; i++) e[i + t] = this[i + n];else e._set(this.subarray(n, n + o), t);
|
|
9695
10763
|
}
|
|
9696
|
-
},
|
|
10764
|
+
}, f.prototype.slice = function (e, t) {
|
|
9697
10765
|
var n = this.length;
|
|
9698
|
-
if (e =
|
|
9699
|
-
for (var r = t - e, o = new
|
|
10766
|
+
if (e = S(e, n, 0), t = S(t, n, n), f._useTypedArrays) return f._augment(this.subarray(e, t));
|
|
10767
|
+
for (var r = t - e, o = new f(r, void 0, !0), i = 0; i < r; i++) o[i] = this[i + e];
|
|
9700
10768
|
return o;
|
|
9701
|
-
},
|
|
10769
|
+
}, f.prototype.get = function (e) {
|
|
9702
10770
|
return console.log(".get() is deprecated. Access using array indexes instead."), this.readUInt8(e);
|
|
9703
|
-
},
|
|
10771
|
+
}, f.prototype.set = function (e, t) {
|
|
9704
10772
|
return console.log(".set() is deprecated. Access using array indexes instead."), this.writeUInt8(e, t);
|
|
9705
|
-
},
|
|
9706
|
-
if (t || (
|
|
9707
|
-
},
|
|
9708
|
-
return
|
|
9709
|
-
},
|
|
9710
|
-
return
|
|
9711
|
-
},
|
|
9712
|
-
return
|
|
9713
|
-
},
|
|
9714
|
-
return
|
|
9715
|
-
},
|
|
9716
|
-
if (t || (
|
|
9717
|
-
},
|
|
9718
|
-
return
|
|
9719
|
-
},
|
|
9720
|
-
return
|
|
9721
|
-
},
|
|
9722
|
-
return
|
|
9723
|
-
},
|
|
9724
|
-
return
|
|
9725
|
-
},
|
|
9726
|
-
return
|
|
9727
|
-
},
|
|
9728
|
-
return
|
|
9729
|
-
},
|
|
9730
|
-
return
|
|
9731
|
-
},
|
|
9732
|
-
return
|
|
9733
|
-
},
|
|
9734
|
-
n || (
|
|
9735
|
-
},
|
|
9736
|
-
|
|
9737
|
-
},
|
|
9738
|
-
|
|
9739
|
-
},
|
|
9740
|
-
|
|
9741
|
-
},
|
|
9742
|
-
|
|
9743
|
-
},
|
|
9744
|
-
n || (
|
|
9745
|
-
},
|
|
9746
|
-
E(this, e, t, !0, n);
|
|
9747
|
-
}, g.prototype.writeInt16BE = function (e, t, n) {
|
|
9748
|
-
E(this, e, t, !1, n);
|
|
9749
|
-
}, g.prototype.writeInt32LE = function (e, t, n) {
|
|
9750
|
-
I(this, e, t, !0, n);
|
|
9751
|
-
}, g.prototype.writeInt32BE = function (e, t, n) {
|
|
9752
|
-
I(this, e, t, !1, n);
|
|
9753
|
-
}, g.prototype.writeFloatLE = function (e, t, n) {
|
|
9754
|
-
A(this, e, t, !0, n);
|
|
9755
|
-
}, g.prototype.writeFloatBE = function (e, t, n) {
|
|
9756
|
-
A(this, e, t, !1, n);
|
|
9757
|
-
}, g.prototype.writeDoubleLE = function (e, t, n) {
|
|
10773
|
+
}, f.prototype.readUInt8 = function (e, t) {
|
|
10774
|
+
if (t || (d(null != e, "missing offset"), d(e < this.length, "Trying to read beyond buffer length")), !(e >= this.length)) return this[e];
|
|
10775
|
+
}, f.prototype.readUInt16LE = function (e, t) {
|
|
10776
|
+
return o(this, e, !0, t);
|
|
10777
|
+
}, f.prototype.readUInt16BE = function (e, t) {
|
|
10778
|
+
return o(this, e, !1, t);
|
|
10779
|
+
}, f.prototype.readUInt32LE = function (e, t) {
|
|
10780
|
+
return u(this, e, !0, t);
|
|
10781
|
+
}, f.prototype.readUInt32BE = function (e, t) {
|
|
10782
|
+
return u(this, e, !1, t);
|
|
10783
|
+
}, f.prototype.readInt8 = function (e, t) {
|
|
10784
|
+
if (t || (d(null != e, "missing offset"), d(e < this.length, "Trying to read beyond buffer length")), !(e >= this.length)) return 128 & this[e] ? -1 * (255 - this[e] + 1) : this[e];
|
|
10785
|
+
}, f.prototype.readInt16LE = function (e, t) {
|
|
10786
|
+
return _(this, e, !0, t);
|
|
10787
|
+
}, f.prototype.readInt16BE = function (e, t) {
|
|
10788
|
+
return _(this, e, !1, t);
|
|
10789
|
+
}, f.prototype.readInt32LE = function (e, t) {
|
|
10790
|
+
return E(this, e, !0, t);
|
|
10791
|
+
}, f.prototype.readInt32BE = function (e, t) {
|
|
10792
|
+
return E(this, e, !1, t);
|
|
10793
|
+
}, f.prototype.readFloatLE = function (e, t) {
|
|
10794
|
+
return I(this, e, !0, t);
|
|
10795
|
+
}, f.prototype.readFloatBE = function (e, t) {
|
|
10796
|
+
return I(this, e, !1, t);
|
|
10797
|
+
}, f.prototype.readDoubleLE = function (e, t) {
|
|
10798
|
+
return A(this, e, !0, t);
|
|
10799
|
+
}, f.prototype.readDoubleBE = function (e, t) {
|
|
10800
|
+
return A(this, e, !1, t);
|
|
10801
|
+
}, f.prototype.writeUInt8 = function (e, t, n) {
|
|
10802
|
+
n || (d(null != e, "missing value"), d(null != t, "missing offset"), d(t < this.length, "trying to write beyond buffer length"), Y(e, 255)), t >= this.length || (this[t] = e);
|
|
10803
|
+
}, f.prototype.writeUInt16LE = function (e, t, n) {
|
|
10804
|
+
s(this, e, t, !0, n);
|
|
10805
|
+
}, f.prototype.writeUInt16BE = function (e, t, n) {
|
|
10806
|
+
s(this, e, t, !1, n);
|
|
10807
|
+
}, f.prototype.writeUInt32LE = function (e, t, n) {
|
|
10808
|
+
l(this, e, t, !0, n);
|
|
10809
|
+
}, f.prototype.writeUInt32BE = function (e, t, n) {
|
|
10810
|
+
l(this, e, t, !1, n);
|
|
10811
|
+
}, f.prototype.writeInt8 = function (e, t, n) {
|
|
10812
|
+
n || (d(null != e, "missing value"), d(null != t, "missing offset"), d(t < this.length, "Trying to write beyond buffer length"), F(e, 127, -128)), t >= this.length || (0 <= e ? this.writeUInt8(e, t, n) : this.writeUInt8(255 + e + 1, t, n));
|
|
10813
|
+
}, f.prototype.writeInt16LE = function (e, t, n) {
|
|
9758
10814
|
B(this, e, t, !0, n);
|
|
9759
|
-
},
|
|
10815
|
+
}, f.prototype.writeInt16BE = function (e, t, n) {
|
|
9760
10816
|
B(this, e, t, !1, n);
|
|
9761
|
-
},
|
|
9762
|
-
|
|
9763
|
-
|
|
10817
|
+
}, f.prototype.writeInt32LE = function (e, t, n) {
|
|
10818
|
+
L(this, e, t, !0, n);
|
|
10819
|
+
}, f.prototype.writeInt32BE = function (e, t, n) {
|
|
10820
|
+
L(this, e, t, !1, n);
|
|
10821
|
+
}, f.prototype.writeFloatLE = function (e, t, n) {
|
|
10822
|
+
U(this, e, t, !0, n);
|
|
10823
|
+
}, f.prototype.writeFloatBE = function (e, t, n) {
|
|
10824
|
+
U(this, e, t, !1, n);
|
|
10825
|
+
}, f.prototype.writeDoubleLE = function (e, t, n) {
|
|
10826
|
+
x(this, e, t, !0, n);
|
|
10827
|
+
}, f.prototype.writeDoubleBE = function (e, t, n) {
|
|
10828
|
+
x(this, e, t, !1, n);
|
|
10829
|
+
}, f.prototype.fill = function (e, t, n) {
|
|
10830
|
+
if (t = t || 0, n = n || this.length, d("number" == typeof (e = "string" == typeof (e = e || 0) ? e.charCodeAt(0) : e) && !isNaN(e), "value is not a number"), d(t <= n, "end < start"), n !== t && 0 !== this.length) {
|
|
10831
|
+
d(0 <= t && t < this.length, "start out of bounds"), d(0 <= n && n <= this.length, "end out of bounds");
|
|
9764
10832
|
for (var r = t; r < n; r++) this[r] = e;
|
|
9765
10833
|
}
|
|
9766
|
-
},
|
|
9767
|
-
for (var e = [], t = this.length, n = 0; n < t; n++) if (e[n] =
|
|
10834
|
+
}, f.prototype.inspect = function () {
|
|
10835
|
+
for (var e = [], t = this.length, n = 0; n < t; n++) if (e[n] = k(this[n]), n === H.INSPECT_MAX_BYTES) {
|
|
9768
10836
|
e[n + 1] = "...";
|
|
9769
10837
|
break;
|
|
9770
10838
|
}
|
|
9771
10839
|
return "<Buffer " + e.join(" ") + ">";
|
|
9772
|
-
},
|
|
10840
|
+
}, f.prototype.toArrayBuffer = function () {
|
|
9773
10841
|
if ("undefined" == typeof Uint8Array) throw new Error("Buffer.toArrayBuffer not supported in this browser");
|
|
9774
|
-
if (
|
|
10842
|
+
if (f._useTypedArrays) return new f(this).buffer;
|
|
9775
10843
|
for (var e = new Uint8Array(this.length), t = 0, n = e.length; t < n; t += 1) e[t] = this[t];
|
|
9776
10844
|
return e.buffer;
|
|
9777
10845
|
};
|
|
9778
|
-
var
|
|
9779
|
-
function
|
|
10846
|
+
var t = f.prototype;
|
|
10847
|
+
function S(e, t, n) {
|
|
9780
10848
|
return "number" != typeof e ? n : t <= (e = ~~e) ? t : 0 <= e || 0 <= (e += t) ? e : 0;
|
|
9781
10849
|
}
|
|
9782
|
-
function
|
|
10850
|
+
function j(e) {
|
|
9783
10851
|
return (e = ~~Math.ceil(+e)) < 0 ? 0 : e;
|
|
9784
10852
|
}
|
|
9785
|
-
function
|
|
10853
|
+
function C(e) {
|
|
9786
10854
|
return (Array.isArray || function (e) {
|
|
9787
10855
|
return "[object Array]" === Object.prototype.toString.call(e);
|
|
9788
10856
|
})(e);
|
|
9789
10857
|
}
|
|
9790
|
-
function
|
|
10858
|
+
function k(e) {
|
|
9791
10859
|
return e < 16 ? "0" + e.toString(16) : e.toString(16);
|
|
9792
10860
|
}
|
|
9793
|
-
function
|
|
10861
|
+
function T(e) {
|
|
9794
10862
|
for (var t = [], n = 0; n < e.length; n++) {
|
|
9795
10863
|
var r = e.charCodeAt(n);
|
|
9796
|
-
if (r <= 127) t.push(e.charCodeAt(n));else
|
|
9797
|
-
var o = n;
|
|
9798
|
-
55296 <= r && r <= 57343 && n++;
|
|
9799
|
-
for (var i = encodeURIComponent(e.slice(o, n + 1)).substr(1).split("%"), u = 0; u < i.length; u++) t.push(parseInt(i[u], 16));
|
|
9800
|
-
}
|
|
10864
|
+
if (r <= 127) t.push(e.charCodeAt(n));else for (var o = n, i = (55296 <= r && r <= 57343 && n++, encodeURIComponent(e.slice(o, n + 1)).substr(1).split("%")), u = 0; u < i.length; u++) t.push(parseInt(i[u], 16));
|
|
9801
10865
|
}
|
|
9802
10866
|
return t;
|
|
9803
10867
|
}
|
|
9804
|
-
function
|
|
9805
|
-
return
|
|
10868
|
+
function M(e) {
|
|
10869
|
+
return a.toByteArray(e);
|
|
9806
10870
|
}
|
|
9807
|
-
function
|
|
10871
|
+
function c(e, t, n, r) {
|
|
9808
10872
|
for (var o = 0; o < r && !(o + n >= t.length || o >= e.length); o++) t[o + n] = e[o];
|
|
9809
10873
|
return o;
|
|
9810
10874
|
}
|
|
9811
|
-
function
|
|
10875
|
+
function N(e) {
|
|
9812
10876
|
try {
|
|
9813
10877
|
return decodeURIComponent(e);
|
|
9814
10878
|
} catch (e) {
|
|
9815
10879
|
return String.fromCharCode(65533);
|
|
9816
10880
|
}
|
|
9817
10881
|
}
|
|
9818
|
-
function
|
|
9819
|
-
|
|
9820
|
-
}
|
|
9821
|
-
function Y(e, t, n) {
|
|
9822
|
-
D("number" == typeof e, "cannot write a non-number as a number"), D(e <= t, "value larger than maximum allowed value"), D(n <= e, "value smaller than minimum allowed value"), D(Math.floor(e) === e, "value has a fractional component");
|
|
10882
|
+
function Y(e, t) {
|
|
10883
|
+
d("number" == typeof e, "cannot write a non-number as a number"), d(0 <= e, "specified a negative value for writing an unsigned value"), d(e <= t, "value is larger than maximum value for type"), d(Math.floor(e) === e, "value has a fractional component");
|
|
9823
10884
|
}
|
|
9824
10885
|
function F(e, t, n) {
|
|
9825
|
-
|
|
10886
|
+
d("number" == typeof e, "cannot write a non-number as a number"), d(e <= t, "value larger than maximum allowed value"), d(n <= e, "value smaller than minimum allowed value"), d(Math.floor(e) === e, "value has a fractional component");
|
|
9826
10887
|
}
|
|
9827
|
-
function D(e, t) {
|
|
10888
|
+
function D(e, t, n) {
|
|
10889
|
+
d("number" == typeof e, "cannot write a non-number as a number"), d(e <= t, "value larger than maximum allowed value"), d(n <= e, "value smaller than minimum allowed value");
|
|
10890
|
+
}
|
|
10891
|
+
function d(e, t) {
|
|
9828
10892
|
if (!e) throw new Error(t || "Failed assertion");
|
|
9829
10893
|
}
|
|
9830
|
-
|
|
9831
|
-
return e._isBuffer = !0, e._get = e.get, e._set = e.set, e.get =
|
|
10894
|
+
f._augment = function (e) {
|
|
10895
|
+
return e._isBuffer = !0, e._get = e.get, e._set = e.set, e.get = t.get, e.set = t.set, e.write = t.write, e.toString = t.toString, e.toLocaleString = t.toString, e.toJSON = t.toJSON, e.copy = t.copy, e.slice = t.slice, e.readUInt8 = t.readUInt8, e.readUInt16LE = t.readUInt16LE, e.readUInt16BE = t.readUInt16BE, e.readUInt32LE = t.readUInt32LE, e.readUInt32BE = t.readUInt32BE, e.readInt8 = t.readInt8, e.readInt16LE = t.readInt16LE, e.readInt16BE = t.readInt16BE, e.readInt32LE = t.readInt32LE, e.readInt32BE = t.readInt32BE, e.readFloatLE = t.readFloatLE, e.readFloatBE = t.readFloatBE, e.readDoubleLE = t.readDoubleLE, e.readDoubleBE = t.readDoubleBE, e.writeUInt8 = t.writeUInt8, e.writeUInt16LE = t.writeUInt16LE, e.writeUInt16BE = t.writeUInt16BE, e.writeUInt32LE = t.writeUInt32LE, e.writeUInt32BE = t.writeUInt32BE, e.writeInt8 = t.writeInt8, e.writeInt16LE = t.writeInt16LE, e.writeInt16BE = t.writeInt16BE, e.writeInt32LE = t.writeInt32LE, e.writeInt32BE = t.writeInt32BE, e.writeFloatLE = t.writeFloatLE, e.writeFloatBE = t.writeFloatBE, e.writeDoubleLE = t.writeDoubleLE, e.writeDoubleBE = t.writeDoubleBE, e.fill = t.fill, e.inspect = t.inspect, e.toArrayBuffer = t.toArrayBuffer, e;
|
|
9832
10896
|
};
|
|
9833
|
-
}
|
|
10897
|
+
}.call(this, O("lYpoI2"), "undefined" != typeof self ? self : "undefined" != typeof window ? window : {}, O("buffer").Buffer, arguments[3], arguments[4], arguments[5], arguments[6], "/node_modules/gulp-browserify/node_modules/buffer/index.js", "/node_modules/gulp-browserify/node_modules/buffer");
|
|
9834
10898
|
}, {
|
|
9835
10899
|
"base64-js": 2,
|
|
9836
10900
|
buffer: 3,
|
|
9837
|
-
ieee754:
|
|
9838
|
-
lYpoI2:
|
|
10901
|
+
ieee754: 10,
|
|
10902
|
+
lYpoI2: 11
|
|
9839
10903
|
}],
|
|
9840
|
-
4: [function (
|
|
9841
|
-
|
|
9842
|
-
var
|
|
10904
|
+
4: [function (c, d, e) {
|
|
10905
|
+
!function (e, t, a, n, r, o, i, u, s) {
|
|
10906
|
+
var a = c("buffer").Buffer,
|
|
9843
10907
|
f = 4,
|
|
9844
|
-
|
|
9845
|
-
|
|
10908
|
+
l = new a(f);
|
|
10909
|
+
l.fill(0);
|
|
9846
10910
|
d.exports = {
|
|
9847
10911
|
hash: function hash(e, t, n, r) {
|
|
9848
|
-
|
|
9849
|
-
|
|
9850
|
-
|
|
9851
|
-
|
|
9852
|
-
|
|
9853
|
-
|
|
9854
|
-
for (var r = [], o = t ? e.readInt32BE : e.readInt32LE, i = 0; i < e.length; i += f) r.push(o.call(e, i));
|
|
9855
|
-
return r;
|
|
9856
|
-
}(e, r), 8 * e.length), n, r);
|
|
10912
|
+
for (var o = t(function (e, t) {
|
|
10913
|
+
e.length % f != 0 && (n = e.length + (f - e.length % f), e = a.concat([e, l], n));
|
|
10914
|
+
for (var n, r = [], o = t ? e.readInt32BE : e.readInt32LE, i = 0; i < e.length; i += f) r.push(o.call(e, i));
|
|
10915
|
+
return r;
|
|
10916
|
+
}(e = a.isBuffer(e) ? e : new a(e), r), 8 * e.length), t = r, i = new a(n), u = t ? i.writeInt32BE : i.writeInt32LE, s = 0; s < o.length; s++) u.call(i, o[s], 4 * s, !0);
|
|
10917
|
+
return i;
|
|
9857
10918
|
}
|
|
9858
10919
|
};
|
|
9859
|
-
}
|
|
10920
|
+
}.call(this, c("lYpoI2"), "undefined" != typeof self ? self : "undefined" != typeof window ? window : {}, c("buffer").Buffer, arguments[3], arguments[4], arguments[5], arguments[6], "/node_modules/gulp-browserify/node_modules/crypto-browserify/helpers.js", "/node_modules/gulp-browserify/node_modules/crypto-browserify");
|
|
9860
10921
|
}, {
|
|
9861
10922
|
buffer: 3,
|
|
9862
|
-
lYpoI2:
|
|
10923
|
+
lYpoI2: 11
|
|
9863
10924
|
}],
|
|
9864
|
-
5: [function (
|
|
9865
|
-
|
|
9866
|
-
var
|
|
9867
|
-
|
|
9868
|
-
|
|
9869
|
-
|
|
9870
|
-
|
|
9871
|
-
sha1:
|
|
9872
|
-
sha256:
|
|
9873
|
-
md5:
|
|
10925
|
+
5: [function (v, e, _) {
|
|
10926
|
+
!function (l, c, u, d, h, p, g, y, w) {
|
|
10927
|
+
var u = v("buffer").Buffer,
|
|
10928
|
+
e = v("./sha"),
|
|
10929
|
+
t = v("./sha256"),
|
|
10930
|
+
n = v("./rng"),
|
|
10931
|
+
b = {
|
|
10932
|
+
sha1: e,
|
|
10933
|
+
sha256: t,
|
|
10934
|
+
md5: v("./md5")
|
|
9874
10935
|
},
|
|
9875
|
-
|
|
9876
|
-
|
|
9877
|
-
function
|
|
9878
|
-
var
|
|
9879
|
-
|
|
9880
|
-
return
|
|
10936
|
+
s = 64,
|
|
10937
|
+
a = new u(s);
|
|
10938
|
+
function r(e, n) {
|
|
10939
|
+
var r = b[e = e || "sha1"],
|
|
10940
|
+
o = [];
|
|
10941
|
+
return r || i("algorithm:", e, "is not yet supported"), {
|
|
9881
10942
|
update: function update(e) {
|
|
9882
|
-
return
|
|
10943
|
+
return u.isBuffer(e) || (e = new u(e)), o.push(e), e.length, this;
|
|
9883
10944
|
},
|
|
9884
10945
|
digest: function digest(e) {
|
|
9885
|
-
var t =
|
|
9886
|
-
|
|
9887
|
-
|
|
9888
|
-
for (var r = new
|
|
9889
|
-
|
|
9890
|
-
|
|
9891
|
-
|
|
9892
|
-
return i = null, e ? n.toString(e) : n;
|
|
10946
|
+
var t = u.concat(o),
|
|
10947
|
+
t = n ? function (e, t, n) {
|
|
10948
|
+
u.isBuffer(t) || (t = new u(t)), u.isBuffer(n) || (n = new u(n)), t.length > s ? t = e(t) : t.length < s && (t = u.concat([t, a], s));
|
|
10949
|
+
for (var r = new u(s), o = new u(s), i = 0; i < s; i++) r[i] = 54 ^ t[i], o[i] = 92 ^ t[i];
|
|
10950
|
+
return n = e(u.concat([r, n])), e(u.concat([o, n]));
|
|
10951
|
+
}(r, n, t) : r(t);
|
|
10952
|
+
return o = null, e ? t.toString(e) : t;
|
|
9893
10953
|
}
|
|
9894
10954
|
};
|
|
9895
10955
|
}
|
|
9896
|
-
function
|
|
10956
|
+
function i() {
|
|
9897
10957
|
var e = [].slice.call(arguments).join(" ");
|
|
9898
10958
|
throw new Error([e, "we accept pull requests", "http://github.com/dominictarr/crypto-browserify"].join("\n"));
|
|
9899
10959
|
}
|
|
9900
|
-
|
|
9901
|
-
return
|
|
9902
|
-
},
|
|
9903
|
-
if (!t || !t.call) return new
|
|
10960
|
+
a.fill(0), _.createHash = function (e) {
|
|
10961
|
+
return r(e);
|
|
10962
|
+
}, _.createHmac = r, _.randomBytes = function (e, t) {
|
|
10963
|
+
if (!t || !t.call) return new u(n(e));
|
|
9904
10964
|
try {
|
|
9905
|
-
t.call(this, void 0, new
|
|
10965
|
+
t.call(this, void 0, new u(n(e)));
|
|
9906
10966
|
} catch (e) {
|
|
9907
10967
|
t(e);
|
|
9908
10968
|
}
|
|
9909
|
-
}
|
|
9910
|
-
|
|
9911
|
-
|
|
9912
|
-
|
|
9913
|
-
|
|
10969
|
+
};
|
|
10970
|
+
var o,
|
|
10971
|
+
f = ["createCredentials", "createCipher", "createCipheriv", "createDecipher", "createDecipheriv", "createSign", "createVerify", "createDiffieHellman", "pbkdf2"],
|
|
10972
|
+
m = function m(e) {
|
|
10973
|
+
_[e] = function () {
|
|
10974
|
+
i("sorry,", e, "is not implemented yet");
|
|
10975
|
+
};
|
|
9914
10976
|
};
|
|
9915
|
-
|
|
9916
|
-
}
|
|
10977
|
+
for (o in f) m(f[o], o);
|
|
10978
|
+
}.call(this, v("lYpoI2"), "undefined" != typeof self ? self : "undefined" != typeof window ? window : {}, v("buffer").Buffer, arguments[3], arguments[4], arguments[5], arguments[6], "/node_modules/gulp-browserify/node_modules/crypto-browserify/index.js", "/node_modules/gulp-browserify/node_modules/crypto-browserify");
|
|
9917
10979
|
}, {
|
|
9918
10980
|
"./md5": 6,
|
|
9919
10981
|
"./rng": 7,
|
|
9920
10982
|
"./sha": 8,
|
|
9921
10983
|
"./sha256": 9,
|
|
9922
10984
|
buffer: 3,
|
|
9923
|
-
lYpoI2:
|
|
10985
|
+
lYpoI2: 11
|
|
9924
10986
|
}],
|
|
9925
10987
|
6: [function (w, b, e) {
|
|
9926
|
-
|
|
9927
|
-
var
|
|
9928
|
-
function
|
|
10988
|
+
!function (e, r, o, i, u, a, f, l, y) {
|
|
10989
|
+
var t = w("./helpers");
|
|
10990
|
+
function n(e, t) {
|
|
9929
10991
|
e[t >> 5] |= 128 << t % 32, e[14 + (t + 64 >>> 9 << 4)] = t;
|
|
9930
10992
|
for (var n = 1732584193, r = -271733879, o = -1732584194, i = 271733878, u = 0; u < e.length; u += 16) {
|
|
9931
|
-
var
|
|
9932
|
-
|
|
10993
|
+
var s = n,
|
|
10994
|
+
a = r,
|
|
9933
10995
|
f = o,
|
|
9934
|
-
|
|
9935
|
-
n =
|
|
9936
|
-
i =
|
|
9937
|
-
o =
|
|
9938
|
-
r =
|
|
9939
|
-
n =
|
|
10996
|
+
l = i,
|
|
10997
|
+
n = c(n, r, o, i, e[u + 0], 7, -680876936),
|
|
10998
|
+
i = c(i, n, r, o, e[u + 1], 12, -389564586),
|
|
10999
|
+
o = c(o, i, n, r, e[u + 2], 17, 606105819),
|
|
11000
|
+
r = c(r, o, i, n, e[u + 3], 22, -1044525330);
|
|
11001
|
+
n = c(n, r, o, i, e[u + 4], 7, -176418897), i = c(i, n, r, o, e[u + 5], 12, 1200080426), o = c(o, i, n, r, e[u + 6], 17, -1473231341), r = c(r, o, i, n, e[u + 7], 22, -45705983), n = c(n, r, o, i, e[u + 8], 7, 1770035416), i = c(i, n, r, o, e[u + 9], 12, -1958414417), o = c(o, i, n, r, e[u + 10], 17, -42063), r = c(r, o, i, n, e[u + 11], 22, -1990404162), n = c(n, r, o, i, e[u + 12], 7, 1804603682), i = c(i, n, r, o, e[u + 13], 12, -40341101), o = c(o, i, n, r, e[u + 14], 17, -1502002290), n = d(n, r = c(r, o, i, n, e[u + 15], 22, 1236535329), o, i, e[u + 1], 5, -165796510), i = d(i, n, r, o, e[u + 6], 9, -1069501632), o = d(o, i, n, r, e[u + 11], 14, 643717713), r = d(r, o, i, n, e[u + 0], 20, -373897302), n = d(n, r, o, i, e[u + 5], 5, -701558691), i = d(i, n, r, o, e[u + 10], 9, 38016083), o = d(o, i, n, r, e[u + 15], 14, -660478335), r = d(r, o, i, n, e[u + 4], 20, -405537848), n = d(n, r, o, i, e[u + 9], 5, 568446438), i = d(i, n, r, o, e[u + 14], 9, -1019803690), o = d(o, i, n, r, e[u + 3], 14, -187363961), r = d(r, o, i, n, e[u + 8], 20, 1163531501), n = d(n, r, o, i, e[u + 13], 5, -1444681467), i = d(i, n, r, o, e[u + 2], 9, -51403784), o = d(o, i, n, r, e[u + 7], 14, 1735328473), n = h(n, r = d(r, o, i, n, e[u + 12], 20, -1926607734), o, i, e[u + 5], 4, -378558), i = h(i, n, r, o, e[u + 8], 11, -2022574463), o = h(o, i, n, r, e[u + 11], 16, 1839030562), r = h(r, o, i, n, e[u + 14], 23, -35309556), n = h(n, r, o, i, e[u + 1], 4, -1530992060), i = h(i, n, r, o, e[u + 4], 11, 1272893353), o = h(o, i, n, r, e[u + 7], 16, -155497632), r = h(r, o, i, n, e[u + 10], 23, -1094730640), n = h(n, r, o, i, e[u + 13], 4, 681279174), i = h(i, n, r, o, e[u + 0], 11, -358537222), o = h(o, i, n, r, e[u + 3], 16, -722521979), r = h(r, o, i, n, e[u + 6], 23, 76029189), n = h(n, r, o, i, e[u + 9], 4, -640364487), i = h(i, n, r, o, e[u + 12], 11, -421815835), o = h(o, i, n, r, e[u + 15], 16, 530742520), n = p(n, r = h(r, o, i, n, e[u + 2], 23, -995338651), o, i, e[u + 0], 6, -198630844), i = p(i, n, r, o, e[u + 7], 10, 1126891415), o = p(o, i, n, r, e[u + 14], 15, -1416354905), r = p(r, o, i, n, e[u + 5], 21, -57434055), n = p(n, r, o, i, e[u + 12], 6, 1700485571), i = p(i, n, r, o, e[u + 3], 10, -1894986606), o = p(o, i, n, r, e[u + 10], 15, -1051523), r = p(r, o, i, n, e[u + 1], 21, -2054922799), n = p(n, r, o, i, e[u + 8], 6, 1873313359), i = p(i, n, r, o, e[u + 15], 10, -30611744), o = p(o, i, n, r, e[u + 6], 15, -1560198380), r = p(r, o, i, n, e[u + 13], 21, 1309151649), n = p(n, r, o, i, e[u + 4], 6, -145523070), i = p(i, n, r, o, e[u + 11], 10, -1120210379), o = p(o, i, n, r, e[u + 2], 15, 718787259), r = p(r, o, i, n, e[u + 9], 21, -343485551), n = g(n, s), r = g(r, a), o = g(o, f), i = g(i, l);
|
|
9940
11002
|
}
|
|
9941
11003
|
return Array(n, r, o, i);
|
|
9942
11004
|
}
|
|
9943
|
-
function
|
|
9944
|
-
return
|
|
9945
|
-
|
|
11005
|
+
function s(e, t, n, r, o, i) {
|
|
11006
|
+
return g((t = g(g(t, e), g(r, i))) << o | t >>> 32 - o, n);
|
|
11007
|
+
}
|
|
11008
|
+
function c(e, t, n, r, o, i, u) {
|
|
11009
|
+
return s(t & n | ~t & r, e, t, o, i, u);
|
|
9946
11010
|
}
|
|
9947
11011
|
function d(e, t, n, r, o, i, u) {
|
|
9948
|
-
return
|
|
11012
|
+
return s(t & r | n & ~r, e, t, o, i, u);
|
|
9949
11013
|
}
|
|
9950
11014
|
function h(e, t, n, r, o, i, u) {
|
|
9951
|
-
return
|
|
11015
|
+
return s(t ^ n ^ r, e, t, o, i, u);
|
|
9952
11016
|
}
|
|
9953
11017
|
function p(e, t, n, r, o, i, u) {
|
|
9954
|
-
return
|
|
9955
|
-
}
|
|
9956
|
-
function g(e, t, n, r, o, i, u) {
|
|
9957
|
-
return l(n ^ (t | ~r), e, t, o, i, u);
|
|
11018
|
+
return s(n ^ (t | ~r), e, t, o, i, u);
|
|
9958
11019
|
}
|
|
9959
|
-
function
|
|
11020
|
+
function g(e, t) {
|
|
9960
11021
|
var n = (65535 & e) + (65535 & t);
|
|
9961
11022
|
return (e >> 16) + (t >> 16) + (n >> 16) << 16 | 65535 & n;
|
|
9962
11023
|
}
|
|
9963
11024
|
b.exports = function (e) {
|
|
9964
|
-
return
|
|
11025
|
+
return t.hash(e, n, 16);
|
|
9965
11026
|
};
|
|
9966
|
-
}
|
|
11027
|
+
}.call(this, w("lYpoI2"), "undefined" != typeof self ? self : "undefined" != typeof window ? window : {}, w("buffer").Buffer, arguments[3], arguments[4], arguments[5], arguments[6], "/node_modules/gulp-browserify/node_modules/crypto-browserify/md5.js", "/node_modules/gulp-browserify/node_modules/crypto-browserify");
|
|
9967
11028
|
}, {
|
|
9968
11029
|
"./helpers": 4,
|
|
9969
11030
|
buffer: 3,
|
|
9970
|
-
lYpoI2:
|
|
11031
|
+
lYpoI2: 11
|
|
9971
11032
|
}],
|
|
9972
11033
|
7: [function (e, l, t) {
|
|
9973
|
-
|
|
9974
|
-
var
|
|
9975
|
-
|
|
11034
|
+
!function (e, t, n, r, o, i, u, s, f) {
|
|
11035
|
+
var a;
|
|
11036
|
+
l.exports = a || function (e) {
|
|
9976
11037
|
for (var t, n = new Array(e), r = 0; r < e; r++) 0 == (3 & r) && (t = 4294967296 * Math.random()), n[r] = t >>> ((3 & r) << 3) & 255;
|
|
9977
11038
|
return n;
|
|
9978
|
-
}
|
|
9979
|
-
}
|
|
11039
|
+
};
|
|
11040
|
+
}.call(this, e("lYpoI2"), "undefined" != typeof self ? self : "undefined" != typeof window ? window : {}, e("buffer").Buffer, arguments[3], arguments[4], arguments[5], arguments[6], "/node_modules/gulp-browserify/node_modules/crypto-browserify/rng.js", "/node_modules/gulp-browserify/node_modules/crypto-browserify");
|
|
9980
11041
|
}, {
|
|
9981
11042
|
buffer: 3,
|
|
9982
|
-
lYpoI2:
|
|
11043
|
+
lYpoI2: 11
|
|
9983
11044
|
}],
|
|
9984
|
-
8: [function (
|
|
9985
|
-
|
|
9986
|
-
var
|
|
9987
|
-
function
|
|
9988
|
-
|
|
9989
|
-
for (var
|
|
9990
|
-
for (var p =
|
|
9991
|
-
a
|
|
9992
|
-
var
|
|
9993
|
-
d =
|
|
9994
|
-
|
|
9995
|
-
|
|
9996
|
-
|
|
9997
|
-
|
|
11045
|
+
8: [function (c, d, e) {
|
|
11046
|
+
!function (e, t, n, r, o, s, a, f, l) {
|
|
11047
|
+
var i = c("./helpers");
|
|
11048
|
+
function u(l, c) {
|
|
11049
|
+
l[c >> 5] |= 128 << 24 - c % 32, l[15 + (c + 64 >> 9 << 4)] = c;
|
|
11050
|
+
for (var e, t, n, r = Array(80), o = 1732584193, i = -271733879, u = -1732584194, s = 271733878, d = -1009589776, h = 0; h < l.length; h += 16) {
|
|
11051
|
+
for (var p = o, g = i, y = u, w = s, b = d, a = 0; a < 80; a++) {
|
|
11052
|
+
r[a] = a < 16 ? l[h + a] : v(r[a - 3] ^ r[a - 8] ^ r[a - 14] ^ r[a - 16], 1);
|
|
11053
|
+
var f = m(m(v(o, 5), (f = i, t = u, n = s, (e = a) < 20 ? f & t | ~f & n : !(e < 40) && e < 60 ? f & t | f & n | t & n : f ^ t ^ n)), m(m(d, r[a]), (e = a) < 20 ? 1518500249 : e < 40 ? 1859775393 : e < 60 ? -1894007588 : -899497514)),
|
|
11054
|
+
d = s,
|
|
11055
|
+
s = u,
|
|
11056
|
+
u = v(i, 30),
|
|
11057
|
+
i = o,
|
|
11058
|
+
o = f;
|
|
9998
11059
|
}
|
|
9999
|
-
|
|
11060
|
+
o = m(o, p), i = m(i, g), u = m(u, y), s = m(s, w), d = m(d, b);
|
|
10000
11061
|
}
|
|
10001
|
-
return Array(
|
|
11062
|
+
return Array(o, i, u, s, d);
|
|
10002
11063
|
}
|
|
10003
|
-
function
|
|
11064
|
+
function m(e, t) {
|
|
10004
11065
|
var n = (65535 & e) + (65535 & t);
|
|
10005
11066
|
return (e >> 16) + (t >> 16) + (n >> 16) << 16 | 65535 & n;
|
|
10006
11067
|
}
|
|
10007
|
-
function
|
|
11068
|
+
function v(e, t) {
|
|
10008
11069
|
return e << t | e >>> 32 - t;
|
|
10009
11070
|
}
|
|
10010
11071
|
d.exports = function (e) {
|
|
10011
|
-
return
|
|
11072
|
+
return i.hash(e, u, 20, !0);
|
|
10012
11073
|
};
|
|
10013
|
-
}
|
|
11074
|
+
}.call(this, c("lYpoI2"), "undefined" != typeof self ? self : "undefined" != typeof window ? window : {}, c("buffer").Buffer, arguments[3], arguments[4], arguments[5], arguments[6], "/node_modules/gulp-browserify/node_modules/crypto-browserify/sha.js", "/node_modules/gulp-browserify/node_modules/crypto-browserify");
|
|
10014
11075
|
}, {
|
|
10015
11076
|
"./helpers": 4,
|
|
10016
11077
|
buffer: 3,
|
|
10017
|
-
lYpoI2:
|
|
11078
|
+
lYpoI2: 11
|
|
10018
11079
|
}],
|
|
10019
|
-
9: [function (
|
|
10020
|
-
|
|
10021
|
-
function
|
|
11080
|
+
9: [function (c, d, e) {
|
|
11081
|
+
!function (e, t, n, r, u, s, a, f, l) {
|
|
11082
|
+
function b(e, t) {
|
|
10022
11083
|
var n = (65535 & e) + (65535 & t);
|
|
10023
11084
|
return (e >> 16) + (t >> 16) + (n >> 16) << 16 | 65535 & n;
|
|
10024
11085
|
}
|
|
10025
|
-
function
|
|
10026
|
-
|
|
10027
|
-
}
|
|
10028
|
-
function f(e, t) {
|
|
10029
|
-
var n,
|
|
10030
|
-
r,
|
|
10031
|
-
o,
|
|
10032
|
-
i,
|
|
10033
|
-
u,
|
|
10034
|
-
a,
|
|
10035
|
-
s,
|
|
10036
|
-
f,
|
|
10037
|
-
c,
|
|
10038
|
-
l,
|
|
11086
|
+
function o(e, l) {
|
|
11087
|
+
var c,
|
|
10039
11088
|
d = new Array(1116352408, 1899447441, 3049323471, 3921009573, 961987163, 1508970993, 2453635748, 2870763221, 3624381080, 310598401, 607225278, 1426881987, 1925078388, 2162078206, 2614888103, 3248222580, 3835390401, 4022224774, 264347078, 604807628, 770255983, 1249150122, 1555081692, 1996064986, 2554220882, 2821834349, 2952996808, 3210313671, 3336571891, 3584528711, 113926993, 338241895, 666307205, 773529912, 1294757372, 1396182291, 1695183700, 1986661051, 2177026350, 2456956037, 2730485921, 2820302411, 3259730800, 3345764771, 3516065817, 3600352804, 4094571909, 275423344, 430227734, 506948616, 659060556, 883997877, 958139571, 1322822218, 1537002063, 1747873779, 1955562222, 2024104815, 2227730452, 2361852424, 2428436474, 2756734187, 3204031479, 3329325298),
|
|
10040
|
-
|
|
10041
|
-
|
|
10042
|
-
e[
|
|
10043
|
-
for (var
|
|
10044
|
-
|
|
10045
|
-
|
|
10046
|
-
h[0] = B(n, h[0]), h[1] = B(r, h[1]), h[2] = B(o, h[2]), h[3] = B(i, h[3]), h[4] = B(u, h[4]), h[5] = B(a, h[5]), h[6] = B(s, h[6]), h[7] = B(f, h[7]);
|
|
11089
|
+
t = new Array(1779033703, 3144134277, 1013904242, 2773480762, 1359893119, 2600822924, 528734635, 1541459225),
|
|
11090
|
+
n = new Array(64);
|
|
11091
|
+
e[l >> 5] |= 128 << 24 - l % 32, e[15 + (l + 64 >> 9 << 4)] = l;
|
|
11092
|
+
for (var r, o, h = 0; h < e.length; h += 16) {
|
|
11093
|
+
for (var i = t[0], u = t[1], s = t[2], p = t[3], a = t[4], g = t[5], y = t[6], w = t[7], f = 0; f < 64; f++) n[f] = f < 16 ? e[f + h] : b(b(b((o = n[f - 2], m(o, 17) ^ m(o, 19) ^ v(o, 10)), n[f - 7]), (o = n[f - 15], m(o, 7) ^ m(o, 18) ^ v(o, 3))), n[f - 16]), c = b(b(b(b(w, m(o = a, 6) ^ m(o, 11) ^ m(o, 25)), a & g ^ ~a & y), d[f]), n[f]), r = b(m(r = i, 2) ^ m(r, 13) ^ m(r, 22), i & u ^ i & s ^ u & s), w = y, y = g, g = a, a = b(p, c), p = s, s = u, u = i, i = b(c, r);
|
|
11094
|
+
t[0] = b(i, t[0]), t[1] = b(u, t[1]), t[2] = b(s, t[2]), t[3] = b(p, t[3]), t[4] = b(a, t[4]), t[5] = b(g, t[5]), t[6] = b(y, t[6]), t[7] = b(w, t[7]);
|
|
10047
11095
|
}
|
|
10048
|
-
return
|
|
11096
|
+
return t;
|
|
10049
11097
|
}
|
|
10050
|
-
var
|
|
11098
|
+
var i = c("./helpers"),
|
|
11099
|
+
m = function m(e, t) {
|
|
11100
|
+
return e >>> t | e << 32 - t;
|
|
11101
|
+
},
|
|
11102
|
+
v = function v(e, t) {
|
|
11103
|
+
return e >>> t;
|
|
11104
|
+
};
|
|
10051
11105
|
d.exports = function (e) {
|
|
10052
|
-
return
|
|
11106
|
+
return i.hash(e, o, 32, !0);
|
|
10053
11107
|
};
|
|
10054
|
-
}
|
|
11108
|
+
}.call(this, c("lYpoI2"), "undefined" != typeof self ? self : "undefined" != typeof window ? window : {}, c("buffer").Buffer, arguments[3], arguments[4], arguments[5], arguments[6], "/node_modules/gulp-browserify/node_modules/crypto-browserify/sha256.js", "/node_modules/gulp-browserify/node_modules/crypto-browserify");
|
|
10055
11109
|
}, {
|
|
10056
11110
|
"./helpers": 4,
|
|
10057
11111
|
buffer: 3,
|
|
10058
|
-
lYpoI2:
|
|
11112
|
+
lYpoI2: 11
|
|
10059
11113
|
}],
|
|
10060
|
-
10: [function (e,
|
|
10061
|
-
|
|
10062
|
-
function
|
|
10063
|
-
|
|
10064
|
-
|
|
10065
|
-
|
|
10066
|
-
|
|
10067
|
-
|
|
10068
|
-
|
|
10069
|
-
|
|
10070
|
-
|
|
10071
|
-
|
|
10072
|
-
|
|
10073
|
-
|
|
10074
|
-
|
|
10075
|
-
|
|
10076
|
-
|
|
11114
|
+
10: [function (e, t, f) {
|
|
11115
|
+
!function (e, t, n, r, o, i, u, s, a) {
|
|
11116
|
+
f.read = function (e, t, n, r, o) {
|
|
11117
|
+
var i,
|
|
11118
|
+
u,
|
|
11119
|
+
l = 8 * o - r - 1,
|
|
11120
|
+
c = (1 << l) - 1,
|
|
11121
|
+
d = c >> 1,
|
|
11122
|
+
s = -7,
|
|
11123
|
+
a = n ? o - 1 : 0,
|
|
11124
|
+
f = n ? -1 : 1,
|
|
11125
|
+
o = e[t + a];
|
|
11126
|
+
for (a += f, i = o & (1 << -s) - 1, o >>= -s, s += l; 0 < s; i = 256 * i + e[t + a], a += f, s -= 8);
|
|
11127
|
+
for (u = i & (1 << -s) - 1, i >>= -s, s += r; 0 < s; u = 256 * u + e[t + a], a += f, s -= 8);
|
|
11128
|
+
if (0 === i) i = 1 - d;else {
|
|
11129
|
+
if (i === c) return u ? NaN : 1 / 0 * (o ? -1 : 1);
|
|
11130
|
+
u += Math.pow(2, r), i -= d;
|
|
10077
11131
|
}
|
|
10078
|
-
return
|
|
10079
|
-
|
|
10080
|
-
|
|
10081
|
-
|
|
11132
|
+
return (o ? -1 : 1) * u * Math.pow(2, i - r);
|
|
11133
|
+
}, f.write = function (e, t, l, n, r, c) {
|
|
11134
|
+
var o,
|
|
11135
|
+
i,
|
|
11136
|
+
u = 8 * c - r - 1,
|
|
11137
|
+
s = (1 << u) - 1,
|
|
11138
|
+
a = s >> 1,
|
|
11139
|
+
d = 23 === r ? Math.pow(2, -24) - Math.pow(2, -77) : 0,
|
|
11140
|
+
f = n ? 0 : c - 1,
|
|
11141
|
+
h = n ? 1 : -1,
|
|
11142
|
+
c = t < 0 || 0 === t && 1 / t < 0 ? 1 : 0;
|
|
11143
|
+
for (t = Math.abs(t), isNaN(t) || t === 1 / 0 ? (i = isNaN(t) ? 1 : 0, o = s) : (o = Math.floor(Math.log(t) / Math.LN2), t * (n = Math.pow(2, -o)) < 1 && (o--, n *= 2), 2 <= (t += 1 <= o + a ? d / n : d * Math.pow(2, 1 - a)) * n && (o++, n /= 2), s <= o + a ? (i = 0, o = s) : 1 <= o + a ? (i = (t * n - 1) * Math.pow(2, r), o += a) : (i = t * Math.pow(2, a - 1) * Math.pow(2, r), o = 0)); 8 <= r; e[l + f] = 255 & i, f += h, i /= 256, r -= 8);
|
|
11144
|
+
for (o = o << r | i, u += r; 0 < u; e[l + f] = 255 & o, f += h, o /= 256, u -= 8);
|
|
11145
|
+
e[l + f - h] |= 128 * c;
|
|
11146
|
+
};
|
|
11147
|
+
}.call(this, e("lYpoI2"), "undefined" != typeof self ? self : "undefined" != typeof window ? window : {}, e("buffer").Buffer, arguments[3], arguments[4], arguments[5], arguments[6], "/node_modules/gulp-browserify/node_modules/ieee754/index.js", "/node_modules/gulp-browserify/node_modules/ieee754");
|
|
11148
|
+
}, {
|
|
11149
|
+
buffer: 3,
|
|
11150
|
+
lYpoI2: 11
|
|
11151
|
+
}],
|
|
11152
|
+
11: [function (e, h, t) {
|
|
11153
|
+
!function (e, t, n, r, o, f, l, c, d) {
|
|
11154
|
+
var i, u, s;
|
|
11155
|
+
function a() {}
|
|
11156
|
+
(e = h.exports = {}).nextTick = (u = "undefined" != typeof window && window.setImmediate, s = "undefined" != typeof window && window.postMessage && window.addEventListener, u ? function (e) {
|
|
11157
|
+
return window.setImmediate(e);
|
|
11158
|
+
} : s ? (i = [], window.addEventListener("message", function (e) {
|
|
11159
|
+
var t = e.source;
|
|
11160
|
+
t !== window && null !== t || "process-tick" !== e.data || (e.stopPropagation(), 0 < i.length && i.shift()());
|
|
11161
|
+
}, !0), function (e) {
|
|
11162
|
+
i.push(e), window.postMessage("process-tick", "*");
|
|
11163
|
+
}) : function (e) {
|
|
11164
|
+
setTimeout(e, 0);
|
|
11165
|
+
}), e.title = "browser", e.browser = !0, e.env = {}, e.argv = [], e.on = a, e.addListener = a, e.once = a, e.off = a, e.removeListener = a, e.removeAllListeners = a, e.emit = a, e.binding = function (e) {
|
|
10082
11166
|
throw new Error("process.binding is not supported");
|
|
10083
11167
|
}, e.cwd = function () {
|
|
10084
11168
|
return "/";
|
|
10085
11169
|
}, e.chdir = function (e) {
|
|
10086
11170
|
throw new Error("process.chdir is not supported");
|
|
10087
11171
|
};
|
|
10088
|
-
}
|
|
10089
|
-
}, {
|
|
10090
|
-
buffer: 3,
|
|
10091
|
-
lYpoI2: 10
|
|
10092
|
-
}],
|
|
10093
|
-
11: [function (e, t, f) {
|
|
10094
|
-
(function (e, t, n, r, o, i, u, a, s) {
|
|
10095
|
-
f.read = function (e, t, n, r, o) {
|
|
10096
|
-
var i,
|
|
10097
|
-
u,
|
|
10098
|
-
a = 8 * o - r - 1,
|
|
10099
|
-
s = (1 << a) - 1,
|
|
10100
|
-
f = s >> 1,
|
|
10101
|
-
c = -7,
|
|
10102
|
-
l = n ? o - 1 : 0,
|
|
10103
|
-
d = n ? -1 : 1,
|
|
10104
|
-
h = e[t + l];
|
|
10105
|
-
for (l += d, i = h & (1 << -c) - 1, h >>= -c, c += a; 0 < c; i = 256 * i + e[t + l], l += d, c -= 8);
|
|
10106
|
-
for (u = i & (1 << -c) - 1, i >>= -c, c += r; 0 < c; u = 256 * u + e[t + l], l += d, c -= 8);
|
|
10107
|
-
if (0 === i) i = 1 - f;else {
|
|
10108
|
-
if (i === s) return u ? NaN : 1 / 0 * (h ? -1 : 1);
|
|
10109
|
-
u += Math.pow(2, r), i -= f;
|
|
10110
|
-
}
|
|
10111
|
-
return (h ? -1 : 1) * u * Math.pow(2, i - r);
|
|
10112
|
-
}, f.write = function (e, t, n, r, o, i) {
|
|
10113
|
-
var u,
|
|
10114
|
-
a,
|
|
10115
|
-
s,
|
|
10116
|
-
f = 8 * i - o - 1,
|
|
10117
|
-
c = (1 << f) - 1,
|
|
10118
|
-
l = c >> 1,
|
|
10119
|
-
d = 23 === o ? Math.pow(2, -24) - Math.pow(2, -77) : 0,
|
|
10120
|
-
h = r ? 0 : i - 1,
|
|
10121
|
-
p = r ? 1 : -1,
|
|
10122
|
-
g = t < 0 || 0 === t && 1 / t < 0 ? 1 : 0;
|
|
10123
|
-
for (t = Math.abs(t), isNaN(t) || t === 1 / 0 ? (a = isNaN(t) ? 1 : 0, u = c) : (u = Math.floor(Math.log(t) / Math.LN2), t * (s = Math.pow(2, -u)) < 1 && (u--, s *= 2), 2 <= (t += 1 <= u + l ? d / s : d * Math.pow(2, 1 - l)) * s && (u++, s /= 2), c <= u + l ? (a = 0, u = c) : 1 <= u + l ? (a = (t * s - 1) * Math.pow(2, o), u += l) : (a = t * Math.pow(2, l - 1) * Math.pow(2, o), u = 0)); 8 <= o; e[n + h] = 255 & a, h += p, a /= 256, o -= 8);
|
|
10124
|
-
for (u = u << o | a, f += o; 0 < f; e[n + h] = 255 & u, h += p, u /= 256, f -= 8);
|
|
10125
|
-
e[n + h - p] |= 128 * g;
|
|
10126
|
-
};
|
|
10127
|
-
}).call(this, e("lYpoI2"), "undefined" != typeof self ? self : "undefined" != typeof window ? window : {}, e("buffer").Buffer, arguments[3], arguments[4], arguments[5], arguments[6], "/node_modules/ieee754/index.js", "/node_modules/ieee754");
|
|
11172
|
+
}.call(this, e("lYpoI2"), "undefined" != typeof self ? self : "undefined" != typeof window ? window : {}, e("buffer").Buffer, arguments[3], arguments[4], arguments[5], arguments[6], "/node_modules/gulp-browserify/node_modules/process/browser.js", "/node_modules/gulp-browserify/node_modules/process");
|
|
10128
11173
|
}, {
|
|
10129
11174
|
buffer: 3,
|
|
10130
|
-
lYpoI2:
|
|
11175
|
+
lYpoI2: 11
|
|
10131
11176
|
}]
|
|
10132
11177
|
}, {}, [1])(1);
|
|
10133
11178
|
});
|
|
10134
11179
|
}).call(this);
|
|
10135
11180
|
}).call(this, typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {});
|
|
10136
11181
|
}, {}],
|
|
10137
|
-
|
|
11182
|
+
134: [function (require, module, exports) {
|
|
10138
11183
|
// shim for using process in browser
|
|
10139
11184
|
var process = module.exports = {};
|
|
10140
11185
|
|
|
@@ -10311,7 +11356,7 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
10311
11356
|
return 0;
|
|
10312
11357
|
};
|
|
10313
11358
|
}, {}],
|
|
10314
|
-
|
|
11359
|
+
135: [function (require, module, exports) {
|
|
10315
11360
|
!function (t, e) {
|
|
10316
11361
|
"object" == _typeof(exports) && "object" == _typeof(module) ? module.exports = e() : "function" == typeof define && define.amd ? define([], e) : "object" == _typeof(exports) ? exports.QRCodeStyling = e() : t.QRCodeStyling = e();
|
|
10317
11362
|
}(self, function () {
|