@plattar/plattar-ar-adapter 1.156.1 → 1.158.1

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.
@@ -102,7 +102,7 @@ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" ==
102
102
  /**
103
103
  * Performs AR functionality related to Plattar Scenes
104
104
  */
105
- var ConfiguratorAR = /*#__PURE__*/function (_launcher_ar_1$Launch) {
105
+ var ConfiguratorAR = /*#__PURE__*/function (_launcher_ar_1$Launch, _Compose2, _init) {
106
106
  _inherits(ConfiguratorAR, _launcher_ar_1$Launch);
107
107
  var _super = _createSuper(ConfiguratorAR);
108
108
  function ConfiguratorAR(state) {
@@ -146,8 +146,8 @@ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" ==
146
146
  */
147
147
  }, {
148
148
  key: "_Compose",
149
- value: function () {
150
- var _Compose2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(output) {
149
+ value: function _Compose(_x) {
150
+ return (_Compose2 = _Compose2 || _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(output) {
151
151
  var objects, configurator, totalARObjectCount, results;
152
152
  return _regeneratorRuntime().wrap(function _callee$(_context) {
153
153
  while (1) switch (_context.prev = _context.next) {
@@ -190,12 +190,8 @@ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" ==
190
190
  return _context.stop();
191
191
  }
192
192
  }, _callee, this);
193
- }));
194
- function _Compose(_x) {
195
- return _Compose2.apply(this, arguments);
196
- }
197
- return _Compose;
198
- }()
193
+ }))).apply(this, arguments);
194
+ }
199
195
  /**
200
196
  * Initialise the SceneAR instance. This returns a Promise that resolves
201
197
  * successfully if initialisation is successful, otherwise it will fail.
@@ -205,8 +201,8 @@ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" ==
205
201
  */
206
202
  }, {
207
203
  key: "init",
208
- value: function () {
209
- var _init = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee2() {
204
+ value: function init() {
205
+ return (_init = _init || _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee2() {
210
206
  var scene, sceneOpt, modelUrl, _modelUrl, _modelUrl2, arviewer;
211
207
  return _regeneratorRuntime().wrap(function _callee2$(_context2) {
212
208
  while (1) switch (_context2.prev = _context2.next) {
@@ -280,12 +276,8 @@ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" ==
280
276
  return _context2.stop();
281
277
  }
282
278
  }, _callee2, this);
283
- }));
284
- function init() {
285
- return _init.apply(this, arguments);
286
- }
287
- return init;
288
- }()
279
+ }))).apply(this, arguments);
280
+ }
289
281
  }, {
290
282
  key: "start",
291
283
  value: function start() {
@@ -340,7 +332,7 @@ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" ==
340
332
  value: true
341
333
  });
342
334
  exports.LauncherAR = void 0;
343
- var LauncherAR = /*#__PURE__*/function () {
335
+ var LauncherAR = /*#__PURE__*/function (_launch) {
344
336
  function LauncherAR() {
345
337
  _classCallCheck(this, LauncherAR);
346
338
  this._opt = {
@@ -353,8 +345,8 @@ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" ==
353
345
  */
354
346
  _createClass(LauncherAR, [{
355
347
  key: "launch",
356
- value: function () {
357
- var _launch = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee3() {
348
+ value: function launch() {
349
+ return (_launch = _launch || _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee3() {
358
350
  var value;
359
351
  return _regeneratorRuntime().wrap(function _callee3$(_context3) {
360
352
  while (1) switch (_context3.prev = _context3.next) {
@@ -369,12 +361,8 @@ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" ==
369
361
  return _context3.stop();
370
362
  }
371
363
  }, _callee3, this);
372
- }));
373
- function launch() {
374
- return _launch.apply(this, arguments);
375
- }
376
- return launch;
377
- }()
364
+ }))).apply(this, arguments);
365
+ }
378
366
  /**
379
367
  * AR Options used for launching AR
380
368
  */
@@ -1304,7 +1292,7 @@ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" ==
1304
1292
  /**
1305
1293
  * Manages an instance of the <plattar-configurator> HTML Element
1306
1294
  */
1307
- var ConfiguratorController = /*#__PURE__*/function (_plattar_controller_) {
1295
+ var ConfiguratorController = /*#__PURE__*/function (_plattar_controller_, _getConfiguratorState, _onAttributesUpdated, _startARQRCode, _startViewerQRCode, _startRenderer, _initAR, _InitARInherited2, _InitARGenerated2) {
1308
1296
  _inherits(ConfiguratorController, _plattar_controller_);
1309
1297
  var _super7 = _createSuper(ConfiguratorController);
1310
1298
  function ConfiguratorController() {
@@ -1316,8 +1304,8 @@ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" ==
1316
1304
  }
1317
1305
  _createClass(ConfiguratorController, [{
1318
1306
  key: "getConfiguratorState",
1319
- value: function () {
1320
- var _getConfiguratorState = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee4() {
1307
+ value: function getConfiguratorState() {
1308
+ return (_getConfiguratorState = _getConfiguratorState || _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee4() {
1321
1309
  return _regeneratorRuntime().wrap(function _callee4$(_context4) {
1322
1310
  while (1) switch (_context4.prev = _context4.next) {
1323
1311
  case 0:
@@ -1334,16 +1322,12 @@ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" ==
1334
1322
  return _context4.stop();
1335
1323
  }
1336
1324
  }, _callee4, this);
1337
- }));
1338
- function getConfiguratorState() {
1339
- return _getConfiguratorState.apply(this, arguments);
1340
- }
1341
- return getConfiguratorState;
1342
- }()
1325
+ }))).apply(this, arguments);
1326
+ }
1343
1327
  }, {
1344
1328
  key: "onAttributesUpdated",
1345
- value: function () {
1346
- var _onAttributesUpdated = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee5(attributeName) {
1329
+ value: function onAttributesUpdated(_x2) {
1330
+ return (_onAttributesUpdated = _onAttributesUpdated || _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee5(attributeName) {
1347
1331
  var state, viewer, variationIDs, variationIDsList, variationSKUs, variationSKUList, configState, _variationIDs, _variationIDsList, _configState, _variationSKUs, _variationSKUList;
1348
1332
  return _regeneratorRuntime().wrap(function _callee5$(_context5) {
1349
1333
  while (1) switch (_context5.prev = _context5.next) {
@@ -1425,16 +1409,12 @@ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" ==
1425
1409
  return _context5.stop();
1426
1410
  }
1427
1411
  }, _callee5, this);
1428
- }));
1429
- function onAttributesUpdated(_x2) {
1430
- return _onAttributesUpdated.apply(this, arguments);
1431
- }
1432
- return onAttributesUpdated;
1433
- }()
1412
+ }))).apply(this, arguments);
1413
+ }
1434
1414
  }, {
1435
1415
  key: "startARQRCode",
1436
- value: function () {
1437
- var _startARQRCode = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee6(options) {
1416
+ value: function startARQRCode(_x3) {
1417
+ return (_startARQRCode = _startARQRCode || _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee6(options) {
1438
1418
  var dState, product, controller;
1439
1419
  return _regeneratorRuntime().wrap(function _callee6$(_context6) {
1440
1420
  while (1) switch (_context6.prev = _context6.next) {
@@ -1476,16 +1456,12 @@ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" ==
1476
1456
  return _context6.stop();
1477
1457
  }
1478
1458
  }, _callee6, this, [[0, 16]]);
1479
- }));
1480
- function startARQRCode(_x3) {
1481
- return _startARQRCode.apply(this, arguments);
1482
- }
1483
- return startARQRCode;
1484
- }()
1459
+ }))).apply(this, arguments);
1460
+ }
1485
1461
  }, {
1486
1462
  key: "startViewerQRCode",
1487
- value: function () {
1488
- var _startViewerQRCode = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee7(options) {
1463
+ value: function startViewerQRCode(_x4) {
1464
+ return (_startViewerQRCode = _startViewerQRCode || _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee7(options) {
1489
1465
  var _this15 = this;
1490
1466
  var sceneID, configState, dState, product, controller, opt, viewer, width, height, dst, showAR, showUI;
1491
1467
  return _regeneratorRuntime().wrap(function _callee7$(_context7) {
@@ -1580,16 +1556,12 @@ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" ==
1580
1556
  return _context7.stop();
1581
1557
  }
1582
1558
  }, _callee7, this, [[5, 22]]);
1583
- }));
1584
- function startViewerQRCode(_x4) {
1585
- return _startViewerQRCode.apply(this, arguments);
1586
- }
1587
- return startViewerQRCode;
1588
- }()
1559
+ }))).apply(this, arguments);
1560
+ }
1589
1561
  }, {
1590
1562
  key: "startRenderer",
1591
- value: function () {
1592
- var _startRenderer = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee8() {
1563
+ value: function startRenderer() {
1564
+ return (_startRenderer = _startRenderer || _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee8() {
1593
1565
  var _this16 = this;
1594
1566
  var sceneID, configState, dState, product, controller, width, height, server, viewer, showAR, showUI;
1595
1567
  return _regeneratorRuntime().wrap(function _callee8$(_context8) {
@@ -1674,16 +1646,12 @@ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" ==
1674
1646
  return _context8.stop();
1675
1647
  }
1676
1648
  }, _callee8, this, [[5, 22]]);
1677
- }));
1678
- function startRenderer() {
1679
- return _startRenderer.apply(this, arguments);
1680
- }
1681
- return startRenderer;
1682
- }()
1649
+ }))).apply(this, arguments);
1650
+ }
1683
1651
  }, {
1684
1652
  key: "initAR",
1685
- value: function () {
1686
- var _initAR = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee9() {
1653
+ value: function initAR() {
1654
+ return (_initAR = _initAR || _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee9() {
1687
1655
  var dState, product, controller, arMode;
1688
1656
  return _regeneratorRuntime().wrap(function _callee9$(_context9) {
1689
1657
  while (1) switch (_context9.prev = _context9.next) {
@@ -1738,19 +1706,15 @@ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" ==
1738
1706
  return _context9.stop();
1739
1707
  }
1740
1708
  }, _callee9, this, [[2, 18]]);
1741
- }));
1742
- function initAR() {
1743
- return _initAR.apply(this, arguments);
1744
- }
1745
- return initAR;
1746
- }()
1709
+ }))).apply(this, arguments);
1710
+ }
1747
1711
  /**
1748
1712
  * Private Function - This launches the Static/Inherited AR Mode
1749
1713
  */
1750
1714
  }, {
1751
1715
  key: "_InitARInherited",
1752
- value: function () {
1753
- var _InitARInherited2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee10() {
1716
+ value: function _InitARInherited() {
1717
+ return (_InitARInherited2 = _InitARInherited2 || _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee10() {
1754
1718
  var sceneID, state, first, sceneProductAR;
1755
1719
  return _regeneratorRuntime().wrap(function _callee10$(_context10) {
1756
1720
  while (1) switch (_context10.prev = _context10.next) {
@@ -1780,19 +1744,15 @@ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" ==
1780
1744
  return _context10.stop();
1781
1745
  }
1782
1746
  }, _callee10, this);
1783
- }));
1784
- function _InitARInherited() {
1785
- return _InitARInherited2.apply(this, arguments);
1786
- }
1787
- return _InitARInherited;
1788
- }()
1747
+ }))).apply(this, arguments);
1748
+ }
1789
1749
  /**
1790
1750
  * Private Function - This launches the Dynamic/Generated AR Mode
1791
1751
  */
1792
1752
  }, {
1793
1753
  key: "_InitARGenerated",
1794
- value: function () {
1795
- var _InitARGenerated2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee11() {
1754
+ value: function _InitARGenerated() {
1755
+ return (_InitARGenerated2 = _InitARGenerated2 || _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee11() {
1796
1756
  var sceneID, configAR;
1797
1757
  return _regeneratorRuntime().wrap(function _callee11$(_context11) {
1798
1758
  while (1) switch (_context11.prev = _context11.next) {
@@ -1816,12 +1776,8 @@ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" ==
1816
1776
  return _context11.stop();
1817
1777
  }
1818
1778
  }, _callee11, this);
1819
- }));
1820
- function _InitARGenerated() {
1821
- return _InitARGenerated2.apply(this, arguments);
1822
- }
1823
- return _InitARGenerated;
1824
- }()
1779
+ }))).apply(this, arguments);
1780
+ }
1825
1781
  }, {
1826
1782
  key: "removeRenderer",
1827
1783
  value: function removeRenderer() {
@@ -1867,7 +1823,7 @@ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" ==
1867
1823
  /**
1868
1824
  * All Plattar Controllers are derived from the same interface
1869
1825
  */
1870
- var PlattarController = /*#__PURE__*/function () {
1826
+ var PlattarController = /*#__PURE__*/function (_createConfiguratorState, _startAR, _startQRCode, _startARQRCode2) {
1871
1827
  function PlattarController(parent) {
1872
1828
  _classCallCheck(this, PlattarController);
1873
1829
  this._state = ControllerState.None;
@@ -1896,8 +1852,8 @@ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" ==
1896
1852
  }
1897
1853
  }, {
1898
1854
  key: "createConfiguratorState",
1899
- value: function () {
1900
- var _createConfiguratorState = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee12() {
1855
+ value: function createConfiguratorState() {
1856
+ return (_createConfiguratorState = _createConfiguratorState || _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee12() {
1901
1857
  var sceneID, configState, variationIDs, variationSKUs, decodedState, variationIDList, variationSKUList;
1902
1858
  return _regeneratorRuntime().wrap(function _callee12$(_context12) {
1903
1859
  while (1) switch (_context12.prev = _context12.next) {
@@ -1946,12 +1902,8 @@ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" ==
1946
1902
  return _context12.stop();
1947
1903
  }
1948
1904
  }, _callee12, this);
1949
- }));
1950
- function createConfiguratorState() {
1951
- return _createConfiguratorState.apply(this, arguments);
1952
- }
1953
- return createConfiguratorState;
1954
- }()
1905
+ }))).apply(this, arguments);
1906
+ }
1955
1907
  /**
1956
1908
  * Setup messenger observers to detect variation changes and apply to the internal
1957
1909
  * configuration state
@@ -1998,8 +1950,8 @@ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" ==
1998
1950
  */
1999
1951
  }, {
2000
1952
  key: "startAR",
2001
- value: function () {
2002
- var _startAR = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee13() {
1953
+ value: function startAR() {
1954
+ return (_startAR = _startAR || _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee13() {
2003
1955
  var launcher;
2004
1956
  return _regeneratorRuntime().wrap(function _callee13$(_context13) {
2005
1957
  while (1) switch (_context13.prev = _context13.next) {
@@ -2014,12 +1966,8 @@ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" ==
2014
1966
  return _context13.stop();
2015
1967
  }
2016
1968
  }, _callee13, this);
2017
- }));
2018
- function startAR() {
2019
- return _startAR.apply(this, arguments);
2020
- }
2021
- return startAR;
2022
- }()
1969
+ }))).apply(this, arguments);
1970
+ }
2023
1971
  /**
2024
1972
  * Decide which QR Code to render according to the qr-type attribute
2025
1973
  * @param options
@@ -2027,8 +1975,8 @@ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" ==
2027
1975
  */
2028
1976
  }, {
2029
1977
  key: "startQRCode",
2030
- value: function () {
2031
- var _startQRCode = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee14(options) {
1978
+ value: function startQRCode(_x5) {
1979
+ return (_startQRCode = _startQRCode || _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee14(options) {
2032
1980
  var qrType;
2033
1981
  return _regeneratorRuntime().wrap(function _callee14$(_context14) {
2034
1982
  while (1) switch (_context14.prev = _context14.next) {
@@ -2046,12 +1994,8 @@ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" ==
2046
1994
  return _context14.stop();
2047
1995
  }
2048
1996
  }, _callee14, this);
2049
- }));
2050
- function startQRCode(_x5) {
2051
- return _startQRCode.apply(this, arguments);
2052
- }
2053
- return startQRCode;
2054
- }()
1997
+ }))).apply(this, arguments);
1998
+ }
2055
1999
  /**
2056
2000
  * Displays a QR Code that sends the user direct to AR
2057
2001
  * @param options
@@ -2059,8 +2003,8 @@ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" ==
2059
2003
  */
2060
2004
  }, {
2061
2005
  key: "startARQRCode",
2062
- value: function () {
2063
- var _startARQRCode2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee15(options) {
2006
+ value: function startARQRCode(_x6) {
2007
+ return (_startARQRCode2 = _startARQRCode2 || _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee15(options) {
2064
2008
  var _this17 = this;
2065
2009
  var opt, viewer, width, height, qrOptions, dst, configState, sceneID, embedType, productID, sceneProductID, variationID, variationSKU, arMode;
2066
2010
  return _regeneratorRuntime().wrap(function _callee15$(_context15) {
@@ -2147,12 +2091,8 @@ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" ==
2147
2091
  return _context15.stop();
2148
2092
  }
2149
2093
  }, _callee15, this, [[22, 28]]);
2150
- }));
2151
- function startARQRCode(_x6) {
2152
- return _startARQRCode2.apply(this, arguments);
2153
- }
2154
- return startARQRCode;
2155
- }()
2094
+ }))).apply(this, arguments);
2095
+ }
2156
2096
  /**
2157
2097
  * Returns the Parent Instance
2158
2098
  */
@@ -2221,7 +2161,7 @@ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" ==
2221
2161
  * NOTE: As of 14th June 2023, this is now a legacy Controller and only used in legacy embeds
2222
2162
  * and should be deprecated from both documentation and previous integrations
2223
2163
  */
2224
- var ProductController = /*#__PURE__*/function (_plattar_controller_2) {
2164
+ var ProductController = /*#__PURE__*/function (_plattar_controller_2, _getConfiguratorState2, _onAttributesUpdated2) {
2225
2165
  _inherits(ProductController, _plattar_controller_2);
2226
2166
  var _super8 = _createSuper(ProductController);
2227
2167
  function ProductController() {
@@ -2230,8 +2170,8 @@ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" ==
2230
2170
  }
2231
2171
  _createClass(ProductController, [{
2232
2172
  key: "getConfiguratorState",
2233
- value: function () {
2234
- var _getConfiguratorState2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee16() {
2173
+ value: function getConfiguratorState() {
2174
+ return (_getConfiguratorState2 = _getConfiguratorState2 || _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee16() {
2235
2175
  return _regeneratorRuntime().wrap(function _callee16$(_context16) {
2236
2176
  while (1) switch (_context16.prev = _context16.next) {
2237
2177
  case 0:
@@ -2241,16 +2181,12 @@ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" ==
2241
2181
  return _context16.stop();
2242
2182
  }
2243
2183
  }, _callee16);
2244
- }));
2245
- function getConfiguratorState() {
2246
- return _getConfiguratorState2.apply(this, arguments);
2247
- }
2248
- return getConfiguratorState;
2249
- }()
2184
+ }))).apply(this, arguments);
2185
+ }
2250
2186
  }, {
2251
2187
  key: "onAttributesUpdated",
2252
- value: function () {
2253
- var _onAttributesUpdated2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee17(attributeName) {
2188
+ value: function onAttributesUpdated(_x7) {
2189
+ return (_onAttributesUpdated2 = _onAttributesUpdated2 || _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee17(attributeName) {
2254
2190
  var state, viewer, variationID;
2255
2191
  return _regeneratorRuntime().wrap(function _callee17$(_context17) {
2256
2192
  while (1) switch (_context17.prev = _context17.next) {
@@ -2278,12 +2214,8 @@ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" ==
2278
2214
  return _context17.stop();
2279
2215
  }
2280
2216
  }, _callee17, this);
2281
- }));
2282
- function onAttributesUpdated(_x7) {
2283
- return _onAttributesUpdated2.apply(this, arguments);
2284
- }
2285
- return onAttributesUpdated;
2286
- }()
2217
+ }))).apply(this, arguments);
2218
+ }
2287
2219
  }, {
2288
2220
  key: "startViewerQRCode",
2289
2221
  value: function startViewerQRCode(options) {
@@ -2510,7 +2442,7 @@ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" ==
2510
2442
  /**
2511
2443
  * Manages an instance of the <plattar-configurator> HTML Element
2512
2444
  */
2513
- var VTOController = /*#__PURE__*/function (_plattar_controller_3) {
2445
+ var VTOController = /*#__PURE__*/function (_plattar_controller_3, _getConfiguratorState3, _onAttributesUpdated3, _startViewerQRCode2, _startRenderer2, _initAR2, _InitARInherited3, _InitARGenerated3) {
2514
2446
  _inherits(VTOController, _plattar_controller_3);
2515
2447
  var _super9 = _createSuper(VTOController);
2516
2448
  function VTOController() {
@@ -2522,8 +2454,8 @@ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" ==
2522
2454
  }
2523
2455
  _createClass(VTOController, [{
2524
2456
  key: "getConfiguratorState",
2525
- value: function () {
2526
- var _getConfiguratorState3 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee18() {
2457
+ value: function getConfiguratorState() {
2458
+ return (_getConfiguratorState3 = _getConfiguratorState3 || _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee18() {
2527
2459
  return _regeneratorRuntime().wrap(function _callee18$(_context18) {
2528
2460
  while (1) switch (_context18.prev = _context18.next) {
2529
2461
  case 0:
@@ -2540,16 +2472,12 @@ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" ==
2540
2472
  return _context18.stop();
2541
2473
  }
2542
2474
  }, _callee18, this);
2543
- }));
2544
- function getConfiguratorState() {
2545
- return _getConfiguratorState3.apply(this, arguments);
2546
- }
2547
- return getConfiguratorState;
2548
- }()
2475
+ }))).apply(this, arguments);
2476
+ }
2549
2477
  }, {
2550
2478
  key: "onAttributesUpdated",
2551
- value: function () {
2552
- var _onAttributesUpdated3 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee19(attributeName) {
2479
+ value: function onAttributesUpdated(_x8) {
2480
+ return (_onAttributesUpdated3 = _onAttributesUpdated3 || _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee19(attributeName) {
2553
2481
  var state, viewer, variationIDs, variationIDsList, variationSKUs, variationSKUList, configState, _variationIDs2, _variationIDsList2, _configState2, _variationSKUs2, _variationSKUList2;
2554
2482
  return _regeneratorRuntime().wrap(function _callee19$(_context19) {
2555
2483
  while (1) switch (_context19.prev = _context19.next) {
@@ -2631,16 +2559,12 @@ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" ==
2631
2559
  return _context19.stop();
2632
2560
  }
2633
2561
  }, _callee19, this);
2634
- }));
2635
- function onAttributesUpdated(_x8) {
2636
- return _onAttributesUpdated3.apply(this, arguments);
2637
- }
2638
- return onAttributesUpdated;
2639
- }()
2562
+ }))).apply(this, arguments);
2563
+ }
2640
2564
  }, {
2641
2565
  key: "startViewerQRCode",
2642
- value: function () {
2643
- var _startViewerQRCode2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee20(options) {
2566
+ value: function startViewerQRCode(_x9) {
2567
+ return (_startViewerQRCode2 = _startViewerQRCode2 || _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee20(options) {
2644
2568
  var _this23 = this;
2645
2569
  var sceneID, opt, viewer, width, height, dst, configState, showAR, productID, sceneProductID, variationID;
2646
2570
  return _regeneratorRuntime().wrap(function _callee20$(_context20) {
@@ -2721,16 +2645,12 @@ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" ==
2721
2645
  return _context20.stop();
2722
2646
  }
2723
2647
  }, _callee20, this, [[17, 23]]);
2724
- }));
2725
- function startViewerQRCode(_x9) {
2726
- return _startViewerQRCode2.apply(this, arguments);
2727
- }
2728
- return startViewerQRCode;
2729
- }()
2648
+ }))).apply(this, arguments);
2649
+ }
2730
2650
  }, {
2731
2651
  key: "startRenderer",
2732
- value: function () {
2733
- var _startRenderer2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee21() {
2652
+ value: function startRenderer() {
2653
+ return (_startRenderer2 = _startRenderer2 || _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee21() {
2734
2654
  var _this24 = this;
2735
2655
  var sceneID, width, height, server, viewer, configState, showAR, productID, sceneProductID, variationID;
2736
2656
  return _regeneratorRuntime().wrap(function _callee21$(_context21) {
@@ -2802,16 +2722,12 @@ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" ==
2802
2722
  return _context21.stop();
2803
2723
  }
2804
2724
  }, _callee21, this, [[14, 20]]);
2805
- }));
2806
- function startRenderer() {
2807
- return _startRenderer2.apply(this, arguments);
2808
- }
2809
- return startRenderer;
2810
- }()
2725
+ }))).apply(this, arguments);
2726
+ }
2811
2727
  }, {
2812
2728
  key: "initAR",
2813
- value: function () {
2814
- var _initAR2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee22() {
2729
+ value: function initAR() {
2730
+ return (_initAR2 = _initAR2 || _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee22() {
2815
2731
  var arMode;
2816
2732
  return _regeneratorRuntime().wrap(function _callee22$(_context22) {
2817
2733
  while (1) switch (_context22.prev = _context22.next) {
@@ -2841,19 +2757,15 @@ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" ==
2841
2757
  return _context22.stop();
2842
2758
  }
2843
2759
  }, _callee22, this);
2844
- }));
2845
- function initAR() {
2846
- return _initAR2.apply(this, arguments);
2847
- }
2848
- return initAR;
2849
- }()
2760
+ }))).apply(this, arguments);
2761
+ }
2850
2762
  /**
2851
2763
  * Private Function - This launches the Static/Inherited AR Mode
2852
2764
  */
2853
2765
  }, {
2854
2766
  key: "_InitARInherited",
2855
- value: function () {
2856
- var _InitARInherited3 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee23() {
2767
+ value: function _InitARInherited() {
2768
+ return (_InitARInherited3 = _InitARInherited3 || _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee23() {
2857
2769
  var sceneID, state, first, sceneProductAR;
2858
2770
  return _regeneratorRuntime().wrap(function _callee23$(_context23) {
2859
2771
  while (1) switch (_context23.prev = _context23.next) {
@@ -2883,19 +2795,15 @@ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" ==
2883
2795
  return _context23.stop();
2884
2796
  }
2885
2797
  }, _callee23, this);
2886
- }));
2887
- function _InitARInherited() {
2888
- return _InitARInherited3.apply(this, arguments);
2889
- }
2890
- return _InitARInherited;
2891
- }()
2798
+ }))).apply(this, arguments);
2799
+ }
2892
2800
  /**
2893
2801
  * Private Function - This launches the Dynamic/Generated AR Mode
2894
2802
  */
2895
2803
  }, {
2896
2804
  key: "_InitARGenerated",
2897
- value: function () {
2898
- var _InitARGenerated3 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee24() {
2805
+ value: function _InitARGenerated() {
2806
+ return (_InitARGenerated3 = _InitARGenerated3 || _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee24() {
2899
2807
  var sceneID, configAR;
2900
2808
  return _regeneratorRuntime().wrap(function _callee24$(_context24) {
2901
2809
  while (1) switch (_context24.prev = _context24.next) {
@@ -2919,12 +2827,8 @@ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" ==
2919
2827
  return _context24.stop();
2920
2828
  }
2921
2829
  }, _callee24, this);
2922
- }));
2923
- function _InitARGenerated() {
2924
- return _InitARGenerated3.apply(this, arguments);
2925
- }
2926
- return _InitARGenerated;
2927
- }()
2830
+ }))).apply(this, arguments);
2831
+ }
2928
2832
  }, {
2929
2833
  key: "removeRenderer",
2930
2834
  value: function removeRenderer() {
@@ -2984,7 +2888,7 @@ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" ==
2984
2888
  * This is the primary <plattar-embed /> node that allows easy embedding
2985
2889
  * of Plattar related content
2986
2890
  */
2987
- var PlattarEmbed = /*#__PURE__*/function (_HTMLElement) {
2891
+ var PlattarEmbed = /*#__PURE__*/function (_HTMLElement, _initAR3, _startAR2, _startViewer, _startQRCode2) {
2988
2892
  _inherits(PlattarEmbed, _HTMLElement);
2989
2893
  var _super10 = _createSuper(PlattarEmbed);
2990
2894
  function PlattarEmbed() {
@@ -3041,7 +2945,7 @@ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" ==
3041
2945
  attributes: true
3042
2946
  });
3043
2947
  }
3044
- var productID = this.hasAttribute("product-id") ? this.getAttribute("product-id") : null;
2948
+ var productID = this.hasAttribute("product-id") && !this.hasAttribute("scene-id") ? this.getAttribute("product-id") : null;
3045
2949
  if (productID) {
3046
2950
  this._currentType = EmbedType.Legacy;
3047
2951
  this._CreateLegacyEmbed();
@@ -3159,8 +3063,8 @@ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" ==
3159
3063
  }
3160
3064
  }, {
3161
3065
  key: "initAR",
3162
- value: function () {
3163
- var _initAR3 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee25() {
3066
+ value: function initAR() {
3067
+ return (_initAR3 = _initAR3 || _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee25() {
3164
3068
  return _regeneratorRuntime().wrap(function _callee25$(_context25) {
3165
3069
  while (1) switch (_context25.prev = _context25.next) {
3166
3070
  case 0:
@@ -3176,16 +3080,12 @@ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" ==
3176
3080
  return _context25.stop();
3177
3081
  }
3178
3082
  }, _callee25, this);
3179
- }));
3180
- function initAR() {
3181
- return _initAR3.apply(this, arguments);
3182
- }
3183
- return initAR;
3184
- }()
3083
+ }))).apply(this, arguments);
3084
+ }
3185
3085
  }, {
3186
3086
  key: "startAR",
3187
- value: function () {
3188
- var _startAR2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee26() {
3087
+ value: function startAR() {
3088
+ return (_startAR2 = _startAR2 || _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee26() {
3189
3089
  return _regeneratorRuntime().wrap(function _callee26$(_context26) {
3190
3090
  while (1) switch (_context26.prev = _context26.next) {
3191
3091
  case 0:
@@ -3201,16 +3101,12 @@ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" ==
3201
3101
  return _context26.stop();
3202
3102
  }
3203
3103
  }, _callee26, this);
3204
- }));
3205
- function startAR() {
3206
- return _startAR2.apply(this, arguments);
3207
- }
3208
- return startAR;
3209
- }()
3104
+ }))).apply(this, arguments);
3105
+ }
3210
3106
  }, {
3211
3107
  key: "startViewer",
3212
- value: function () {
3213
- var _startViewer = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee27() {
3108
+ value: function startViewer() {
3109
+ return (_startViewer = _startViewer || _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee27() {
3214
3110
  return _regeneratorRuntime().wrap(function _callee27$(_context27) {
3215
3111
  while (1) switch (_context27.prev = _context27.next) {
3216
3112
  case 0:
@@ -3226,16 +3122,12 @@ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" ==
3226
3122
  return _context27.stop();
3227
3123
  }
3228
3124
  }, _callee27, this);
3229
- }));
3230
- function startViewer() {
3231
- return _startViewer.apply(this, arguments);
3232
- }
3233
- return startViewer;
3234
- }()
3125
+ }))).apply(this, arguments);
3126
+ }
3235
3127
  }, {
3236
3128
  key: "startQRCode",
3237
- value: function () {
3238
- var _startQRCode2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee28() {
3129
+ value: function startQRCode() {
3130
+ return (_startQRCode2 = _startQRCode2 || _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee28() {
3239
3131
  var options,
3240
3132
  _args28 = arguments;
3241
3133
  return _regeneratorRuntime().wrap(function _callee28$(_context28) {
@@ -3254,12 +3146,8 @@ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" ==
3254
3146
  return _context28.stop();
3255
3147
  }
3256
3148
  }, _callee28, this);
3257
- }));
3258
- function startQRCode() {
3259
- return _startQRCode2.apply(this, arguments);
3260
- }
3261
- return startQRCode;
3262
- }()
3149
+ }))).apply(this, arguments);
3150
+ }
3263
3151
  /**
3264
3152
  * This will remove the currently active Renderer
3265
3153
  *
@@ -3416,7 +3304,7 @@ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" ==
3416
3304
  "./util/util": 15,
3417
3305
  "./version": 16,
3418
3306
  "@plattar/plattar-qrcode": 110,
3419
- "@plattar/plattar-web": 130
3307
+ "@plattar/plattar-web": 129
3420
3308
  }],
3421
3309
  14: [function (require, module, exports) {
3422
3310
  "use strict";
@@ -3430,7 +3318,7 @@ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" ==
3430
3318
  * Manages a Configuration State of multiple Products with multiple Variations
3431
3319
  * Allows easily changing
3432
3320
  */
3433
- var ConfiguratorState = /*#__PURE__*/function () {
3321
+ var ConfiguratorState = /*#__PURE__*/function (_decodeState, _decodeScene) {
3434
3322
  function ConfiguratorState() {
3435
3323
  var state = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : null;
3436
3324
  _classCallCheck(this, ConfiguratorState);
@@ -3797,8 +3685,8 @@ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" ==
3797
3685
  */
3798
3686
  }, {
3799
3687
  key: "decodeState",
3800
- value: function () {
3801
- var _decodeState = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee29() {
3688
+ value: function decodeState() {
3689
+ return (_decodeState = _decodeState || _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee29() {
3802
3690
  var sceneID,
3803
3691
  state,
3804
3692
  configState,
@@ -3836,12 +3724,8 @@ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" ==
3836
3724
  return _context29.stop();
3837
3725
  }
3838
3726
  }, _callee29);
3839
- }));
3840
- function decodeState() {
3841
- return _decodeState.apply(this, arguments);
3842
- }
3843
- return decodeState;
3844
- }()
3727
+ }))).apply(this, arguments);
3728
+ }
3845
3729
  /**
3846
3730
  * Generates a new ConfiguratorState instance from all SceneProducts and default
3847
3731
  * variations from the provided Scene ID
@@ -3850,8 +3734,8 @@ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" ==
3850
3734
  */
3851
3735
  }, {
3852
3736
  key: "decodeScene",
3853
- value: function () {
3854
- var _decodeScene = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee30() {
3737
+ value: function decodeScene() {
3738
+ return (_decodeScene = _decodeScene || _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee30() {
3855
3739
  var sceneID,
3856
3740
  configState,
3857
3741
  fscene,
@@ -3933,12 +3817,8 @@ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" ==
3933
3817
  return _context30.stop();
3934
3818
  }
3935
3819
  }, _callee30);
3936
- }));
3937
- function decodeScene() {
3938
- return _decodeScene.apply(this, arguments);
3939
- }
3940
- return decodeScene;
3941
- }()
3820
+ }))).apply(this, arguments);
3821
+ }
3942
3822
  }]);
3943
3823
  return ConfiguratorState;
3944
3824
  }();
@@ -4060,7 +3940,7 @@ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" ==
4060
3940
  Object.defineProperty(exports, "__esModule", {
4061
3941
  value: true
4062
3942
  });
4063
- exports["default"] = "1.156.1";
3943
+ exports["default"] = "1.158.1";
4064
3944
  }, {}],
4065
3945
  17: [function (require, module, exports) {
4066
3946
  "use strict";
@@ -6729,7 +6609,7 @@ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" ==
6729
6609
  module.exports = PlattarQuery;
6730
6610
  }, {
6731
6611
  "../util/plattar-util.js": 106,
6732
- "node-fetch": 133
6612
+ "node-fetch": 132
6733
6613
  }],
6734
6614
  46: [function (require, module, exports) {
6735
6615
  (function (process) {
@@ -6951,8 +6831,8 @@ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" ==
6951
6831
  }).call(this);
6952
6832
  }).call(this, require('_process'));
6953
6833
  }, {
6954
- "_process": 135,
6955
- "node-fetch": 133
6834
+ "_process": 134,
6835
+ "node-fetch": 132
6956
6836
  }],
6957
6837
  47: [function (require, module, exports) {
6958
6838
  var PlattarBase = require("./interfaces/plattar-base.js");
@@ -9180,8 +9060,8 @@ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" ==
9180
9060
  }( /*#__PURE__*/_wrapNativeSuper(HTMLElement));
9181
9061
  module.exports = BaseElement;
9182
9062
  }, {
9183
- "object-hash": 134,
9184
- "qr-code-styling": 136
9063
+ "object-hash": 133,
9064
+ "qr-code-styling": 135
9185
9065
  }],
9186
9066
  109: [function (require, module, exports) {
9187
9067
  var BaseElement = require("./base/base-element.js");
@@ -9408,7 +9288,7 @@ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" ==
9408
9288
  }, {
9409
9289
  "./remote-request": 114,
9410
9290
  "@plattar/plattar-api": 44,
9411
- "object-hash": 117
9291
+ "object-hash": 133
9412
9292
  }],
9413
9293
  113: [function (require, module, exports) {
9414
9294
  "use strict";
@@ -9490,7 +9370,7 @@ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" ==
9490
9370
  }, {
9491
9371
  "./remote-request": 114,
9492
9372
  "@plattar/plattar-api": 44,
9493
- "object-hash": 117
9373
+ "object-hash": 133
9494
9374
  }],
9495
9375
  114: [function (require, module, exports) {
9496
9376
  "use strict";
@@ -9570,19 +9450,23 @@ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" ==
9570
9450
  }();
9571
9451
  exports.RemoteRequest = RemoteRequest;
9572
9452
  }, {
9573
- "node-fetch": 133
9453
+ "node-fetch": 132
9574
9454
  }],
9575
9455
  115: [function (require, module, exports) {
9576
9456
  "use strict";
9577
9457
 
9578
9458
  var __createBinding = this && this.__createBinding || (Object.create ? function (o, m, k, k2) {
9579
9459
  if (k2 === undefined) k2 = k;
9580
- Object.defineProperty(o, k2, {
9581
- enumerable: true,
9582
- get: function get() {
9583
- return m[k];
9584
- }
9585
- });
9460
+ var desc = Object.getOwnPropertyDescriptor(m, k);
9461
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9462
+ desc = {
9463
+ enumerable: true,
9464
+ get: function get() {
9465
+ return m[k];
9466
+ }
9467
+ };
9468
+ }
9469
+ Object.defineProperty(o, k2, desc);
9586
9470
  } : function (o, m, k, k2) {
9587
9471
  if (k2 === undefined) k2 = k;
9588
9472
  o[k2] = m[k];
@@ -9639,1150 +9523,97 @@ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" ==
9639
9523
  Object.defineProperty(exports, "__esModule", {
9640
9524
  value: true
9641
9525
  });
9642
- exports["default"] = "1.120.1";
9526
+ exports["default"] = "1.157.1";
9643
9527
  }, {}],
9644
9528
  117: [function (require, module, exports) {
9645
- (function (global) {
9646
- (function () {
9647
- !function (e) {
9648
- var t;
9649
- "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());
9650
- }(function () {
9651
- return function o(i, u, a) {
9652
- function s(n, e) {
9653
- if (!u[n]) {
9654
- if (!i[n]) {
9655
- var t = "function" == typeof require && require;
9656
- if (!e && t) return t(n, !0);
9657
- if (f) return f(n, !0);
9658
- throw new Error("Cannot find module '" + n + "'");
9659
- }
9660
- var r = u[n] = {
9661
- exports: {}
9662
- };
9663
- i[n][0].call(r.exports, function (e) {
9664
- var t = i[n][1][e];
9665
- return s(t || e);
9666
- }, r, r.exports, o, i, u, a);
9667
- }
9668
- return u[n].exports;
9669
- }
9670
- for (var f = "function" == typeof require && require, e = 0; e < a.length; e++) s(a[e]);
9671
- return s;
9672
- }({
9673
- 1: [function (w, b, m) {
9674
- (function (e, t, f, n, r, o, i, u, a) {
9675
- "use strict";
9676
-
9677
- var s = w("crypto");
9678
- function c(e, t) {
9679
- return function (e, t) {
9680
- var n;
9681
- n = "passthrough" !== t.algorithm ? s.createHash(t.algorithm) : new y();
9682
- void 0 === n.write && (n.write = n.update, n.end = n.update);
9683
- g(t, n).dispatch(e), n.update || n.end("");
9684
- if (n.digest) return n.digest("buffer" === t.encoding ? void 0 : t.encoding);
9685
- var r = n.read();
9686
- return "buffer" !== t.encoding ? r.toString(t.encoding) : r;
9687
- }(e, t = h(e, t));
9688
- }
9689
- (m = b.exports = c).sha1 = function (e) {
9690
- return c(e);
9691
- }, m.keys = function (e) {
9692
- return c(e, {
9693
- excludeValues: !0,
9694
- algorithm: "sha1",
9695
- encoding: "hex"
9696
- });
9697
- }, m.MD5 = function (e) {
9698
- return c(e, {
9699
- algorithm: "md5",
9700
- encoding: "hex"
9701
- });
9702
- }, m.keysMD5 = function (e) {
9703
- return c(e, {
9704
- algorithm: "md5",
9705
- encoding: "hex",
9706
- excludeValues: !0
9707
- });
9708
- };
9709
- var l = s.getHashes ? s.getHashes().slice() : ["sha1", "md5"];
9710
- l.push("passthrough");
9711
- var d = ["buffer", "hex", "binary", "base64"];
9712
- function h(e, t) {
9713
- t = t || {};
9714
- var n = {};
9715
- 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.");
9716
- for (var r = 0; r < l.length; ++r) l[r].toLowerCase() === n.algorithm.toLowerCase() && (n.algorithm = l[r]);
9717
- if (-1 === l.indexOf(n.algorithm)) throw new Error('Algorithm "' + n.algorithm + '" not supported. supported values: ' + l.join(", "));
9718
- if (-1 === d.indexOf(n.encoding) && "passthrough" !== n.algorithm) throw new Error('Encoding "' + n.encoding + '" not supported. supported values: ' + d.join(", "));
9719
- return n;
9720
- }
9721
- function p(e) {
9722
- if ("function" == typeof e) {
9723
- return null != /^function\s+\w*\s*\(\s*\)\s*{\s+\[native code\]\s+}$/i.exec(Function.prototype.toString.call(e));
9724
- }
9725
- }
9726
- function g(u, t, a) {
9727
- a = a || [];
9728
- function s(e) {
9729
- return t.update ? t.update(e, "utf8") : t.write(e, "utf8");
9730
- }
9731
- return {
9732
- dispatch: function dispatch(e) {
9733
- return u.replacer && (e = u.replacer(e)), this["_" + (null === e ? "null" : _typeof(e))](e);
9734
- },
9735
- _object: function _object(t) {
9736
- var e = Object.prototype.toString.call(t),
9737
- n = /\[object (.*)\]/i.exec(e);
9738
- n = (n = n ? n[1] : "unknown:[" + e + "]").toLowerCase();
9739
- var r;
9740
- if (0 <= (r = a.indexOf(t))) return this.dispatch("[CIRCULAR:" + r + "]");
9741
- if (a.push(t), void 0 !== f && f.isBuffer && f.isBuffer(t)) return s("buffer:"), s(t);
9742
- if ("object" === n || "function" === n || "asyncfunction" === n) {
9743
- var o = Object.keys(t);
9744
- u.unorderedObjects && (o = o.sort()), !1 === u.respectType || p(t) || o.splice(0, 0, "prototype", "__proto__", "constructor"), u.excludeKeys && (o = o.filter(function (e) {
9745
- return !u.excludeKeys(e);
9746
- })), s("object:" + o.length + ":");
9747
- var i = this;
9748
- return o.forEach(function (e) {
9749
- i.dispatch(e), s(":"), u.excludeValues || i.dispatch(t[e]), s(",");
9750
- });
9751
- }
9752
- if (!this["_" + n]) {
9753
- if (u.ignoreUnknown) return s("[" + n + "]");
9754
- throw new Error('Unknown object type "' + n + '"');
9755
- }
9756
- this["_" + n](t);
9757
- },
9758
- _array: function _array(e, t) {
9759
- t = void 0 !== t ? t : !1 !== u.unorderedArrays;
9760
- var n = this;
9761
- if (s("array:" + e.length + ":"), !t || e.length <= 1) return e.forEach(function (e) {
9762
- return n.dispatch(e);
9763
- });
9764
- var r = [],
9765
- o = e.map(function (e) {
9766
- var t = new y(),
9767
- n = a.slice();
9768
- return g(u, t, n).dispatch(e), r = r.concat(n.slice(a.length)), t.read().toString();
9769
- });
9770
- return a = a.concat(r), o.sort(), this._array(o, !1);
9771
- },
9772
- _date: function _date(e) {
9773
- return s("date:" + e.toJSON());
9774
- },
9775
- _symbol: function _symbol(e) {
9776
- return s("symbol:" + e.toString());
9777
- },
9778
- _error: function _error(e) {
9779
- return s("error:" + e.toString());
9780
- },
9781
- _boolean: function _boolean(e) {
9782
- return s("bool:" + e.toString());
9783
- },
9784
- _string: function _string(e) {
9785
- s("string:" + e.length + ":"), s(e.toString());
9786
- },
9787
- _function: function _function(e) {
9788
- 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);
9789
- },
9790
- _number: function _number(e) {
9791
- return s("number:" + e.toString());
9792
- },
9793
- _xml: function _xml(e) {
9794
- return s("xml:" + e.toString());
9795
- },
9796
- _null: function _null() {
9797
- return s("Null");
9798
- },
9799
- _undefined: function _undefined() {
9800
- return s("Undefined");
9801
- },
9802
- _regexp: function _regexp(e) {
9803
- return s("regex:" + e.toString());
9804
- },
9805
- _uint8array: function _uint8array(e) {
9806
- return s("uint8array:"), this.dispatch(Array.prototype.slice.call(e));
9807
- },
9808
- _uint8clampedarray: function _uint8clampedarray(e) {
9809
- return s("uint8clampedarray:"), this.dispatch(Array.prototype.slice.call(e));
9810
- },
9811
- _int8array: function _int8array(e) {
9812
- return s("uint8array:"), this.dispatch(Array.prototype.slice.call(e));
9813
- },
9814
- _uint16array: function _uint16array(e) {
9815
- return s("uint16array:"), this.dispatch(Array.prototype.slice.call(e));
9816
- },
9817
- _int16array: function _int16array(e) {
9818
- return s("uint16array:"), this.dispatch(Array.prototype.slice.call(e));
9819
- },
9820
- _uint32array: function _uint32array(e) {
9821
- return s("uint32array:"), this.dispatch(Array.prototype.slice.call(e));
9822
- },
9823
- _int32array: function _int32array(e) {
9824
- return s("uint32array:"), this.dispatch(Array.prototype.slice.call(e));
9825
- },
9826
- _float32array: function _float32array(e) {
9827
- return s("float32array:"), this.dispatch(Array.prototype.slice.call(e));
9828
- },
9829
- _float64array: function _float64array(e) {
9830
- return s("float64array:"), this.dispatch(Array.prototype.slice.call(e));
9831
- },
9832
- _arraybuffer: function _arraybuffer(e) {
9833
- return s("arraybuffer:"), this.dispatch(new Uint8Array(e));
9834
- },
9835
- _url: function _url(e) {
9836
- return s("url:" + e.toString());
9837
- },
9838
- _map: function _map(e) {
9839
- s("map:");
9840
- var t = Array.from(e);
9841
- return this._array(t, !1 !== u.unorderedSets);
9842
- },
9843
- _set: function _set(e) {
9844
- s("set:");
9845
- var t = Array.from(e);
9846
- return this._array(t, !1 !== u.unorderedSets);
9847
- },
9848
- _file: function _file(e) {
9849
- return s("file:"), this.dispatch([e.name, e.size, e.type, e.lastModfied]);
9850
- },
9851
- _blob: function _blob() {
9852
- if (u.ignoreUnknown) return s("[blob]");
9853
- 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');
9854
- },
9855
- _domwindow: function _domwindow() {
9856
- return s("domwindow");
9857
- },
9858
- _bigint: function _bigint(e) {
9859
- return s("bigint:" + e.toString());
9860
- },
9861
- _process: function _process() {
9862
- return s("process");
9863
- },
9864
- _timer: function _timer() {
9865
- return s("timer");
9866
- },
9867
- _pipe: function _pipe() {
9868
- return s("pipe");
9869
- },
9870
- _tcp: function _tcp() {
9871
- return s("tcp");
9872
- },
9873
- _udp: function _udp() {
9874
- return s("udp");
9875
- },
9876
- _tty: function _tty() {
9877
- return s("tty");
9878
- },
9879
- _statwatcher: function _statwatcher() {
9880
- return s("statwatcher");
9881
- },
9882
- _securecontext: function _securecontext() {
9883
- return s("securecontext");
9884
- },
9885
- _connection: function _connection() {
9886
- return s("connection");
9887
- },
9888
- _zlib: function _zlib() {
9889
- return s("zlib");
9890
- },
9891
- _context: function _context() {
9892
- return s("context");
9893
- },
9894
- _nodescript: function _nodescript() {
9895
- return s("nodescript");
9896
- },
9897
- _httpparser: function _httpparser() {
9898
- return s("httpparser");
9899
- },
9900
- _dataview: function _dataview() {
9901
- return s("dataview");
9902
- },
9903
- _signal: function _signal() {
9904
- return s("signal");
9905
- },
9906
- _fsevent: function _fsevent() {
9907
- return s("fsevent");
9908
- },
9909
- _tlswrap: function _tlswrap() {
9910
- return s("tlswrap");
9911
- }
9912
- };
9913
- }
9914
- function y() {
9915
- return {
9916
- buf: "",
9917
- write: function write(e) {
9918
- this.buf += e;
9919
- },
9920
- end: function end(e) {
9921
- this.buf += e;
9922
- },
9923
- read: function read() {
9924
- return this.buf;
9925
- }
9926
- };
9927
- }
9928
- m.writeToStream = function (e, t, n) {
9929
- return void 0 === n && (n = t, t = {}), g(t = h(e, t), n).dispatch(e);
9930
- };
9931
- }).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", "/");
9932
- }, {
9933
- buffer: 3,
9934
- crypto: 5,
9935
- lYpoI2: 10
9936
- }],
9937
- 2: [function (e, t, f) {
9938
- (function (e, t, n, r, o, i, u, a, s) {
9939
- !function (e) {
9940
- "use strict";
9941
-
9942
- var f = "undefined" != typeof Uint8Array ? Uint8Array : Array,
9943
- n = "+".charCodeAt(0),
9944
- r = "/".charCodeAt(0),
9945
- o = "0".charCodeAt(0),
9946
- i = "a".charCodeAt(0),
9947
- u = "A".charCodeAt(0),
9948
- a = "-".charCodeAt(0),
9949
- s = "_".charCodeAt(0);
9950
- function c(e) {
9951
- var t = e.charCodeAt(0);
9952
- 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;
9953
- }
9954
- e.toByteArray = function (e) {
9955
- var t, n;
9956
- if (0 < e.length % 4) throw new Error("Invalid string. Length must be a multiple of 4");
9957
- var r = e.length,
9958
- o = "=" === e.charAt(r - 2) ? 2 : "=" === e.charAt(r - 1) ? 1 : 0,
9959
- i = new f(3 * e.length / 4 - o),
9960
- u = 0 < o ? e.length - 4 : e.length,
9961
- a = 0;
9962
- function s(e) {
9963
- i[a++] = e;
9964
- }
9965
- 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);
9966
- 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;
9967
- }, e.fromByteArray = function (e) {
9968
- var t,
9969
- n,
9970
- r,
9971
- o,
9972
- i = e.length % 3,
9973
- u = "";
9974
- function a(e) {
9975
- return "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt(e);
9976
- }
9977
- 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);
9978
- switch (i) {
9979
- case 1:
9980
- u += a((n = e[e.length - 1]) >> 2), u += a(n << 4 & 63), u += "==";
9981
- break;
9982
- case 2:
9983
- u += a((n = (e[e.length - 2] << 8) + e[e.length - 1]) >> 10), u += a(n >> 4 & 63), u += a(n << 2 & 63), u += "=";
9984
- }
9985
- return u;
9986
- };
9987
- }(void 0 === f ? this.base64js = {} : f);
9988
- }).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");
9989
- }, {
9990
- buffer: 3,
9991
- lYpoI2: 10
9992
- }],
9993
- 3: [function (O, e, H) {
9994
- (function (e, t, g, n, r, o, i, u, a) {
9995
- var s = O("base64-js"),
9996
- f = O("ieee754");
9997
- function g(e, t, n) {
9998
- if (!(this instanceof g)) return new g(e, t, n);
9999
- var r,
10000
- o,
10001
- i,
10002
- u,
10003
- a,
10004
- s = _typeof(e);
10005
- if ("base64" === t && "string" == s) for (e = (r = e).trim ? r.trim() : r.replace(/^\s+|\s+$/g, ""); e.length % 4 != 0;) e += "=";
10006
- if ("number" == s) o = x(e);else if ("string" == s) o = g.byteLength(e, t);else {
10007
- if ("object" != s) throw new Error("First argument needs to be a number, array or string.");
10008
- o = x(e.length);
10009
- }
10010
- 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;
10011
- return i;
10012
- }
10013
- function y(e, t, n, r) {
10014
- return g._charsWritten = T(function (e) {
10015
- for (var t = [], n = 0; n < e.length; n++) t.push(255 & e.charCodeAt(n));
10016
- return t;
10017
- }(t), e, n, r);
10018
- }
10019
- function w(e, t, n, r) {
10020
- return g._charsWritten = T(function (e) {
10021
- 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);
10022
- return o;
10023
- }(t), e, n, r);
10024
- }
10025
- function c(e, t, n) {
10026
- var r = "";
10027
- n = Math.min(e.length, n);
10028
- for (var o = t; o < n; o++) r += String.fromCharCode(e[o]);
10029
- return r;
10030
- }
10031
- function l(e, t, n, r) {
10032
- 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"));
10033
- var o,
10034
- i = e.length;
10035
- 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;
10036
- }
10037
- function d(e, t, n, r) {
10038
- 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"));
10039
- var o,
10040
- i = e.length;
10041
- 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;
10042
- }
10043
- function h(e, t, n, r) {
10044
- 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)) {
10045
- var o = l(e, t, n, !0);
10046
- return 32768 & o ? -1 * (65535 - o + 1) : o;
10047
- }
10048
- }
10049
- function p(e, t, n, r) {
10050
- 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)) {
10051
- var o = d(e, t, n, !0);
10052
- return 2147483648 & o ? -1 * (4294967295 - o + 1) : o;
10053
- }
10054
- }
10055
- function b(e, t, n, r) {
10056
- 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);
10057
- }
10058
- function m(e, t, n, r) {
10059
- 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);
10060
- }
10061
- function v(e, t, n, r, o) {
10062
- 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));
10063
- var i = e.length;
10064
- 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);
10065
- }
10066
- function _(e, t, n, r, o) {
10067
- 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));
10068
- var i = e.length;
10069
- 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;
10070
- }
10071
- function E(e, t, n, r, o) {
10072
- 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);
10073
- }
10074
- function I(e, t, n, r, o) {
10075
- 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);
10076
- }
10077
- function A(e, t, n, r, o) {
10078
- 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);
10079
- }
10080
- function B(e, t, n, r, o) {
10081
- 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);
10082
- }
10083
- H.Buffer = g, H.SlowBuffer = g, H.INSPECT_MAX_BYTES = 50, g.poolSize = 8192, g._useTypedArrays = function () {
10084
- try {
10085
- var e = new ArrayBuffer(0),
10086
- t = new Uint8Array(e);
10087
- return t.foo = function () {
10088
- return 42;
10089
- }, 42 === t.foo() && "function" == typeof t.subarray;
10090
- } catch (e) {
10091
- return !1;
10092
- }
10093
- }(), g.isEncoding = function (e) {
10094
- switch (String(e).toLowerCase()) {
10095
- case "hex":
10096
- case "utf8":
10097
- case "utf-8":
10098
- case "ascii":
10099
- case "binary":
10100
- case "base64":
10101
- case "raw":
10102
- case "ucs2":
10103
- case "ucs-2":
10104
- case "utf16le":
10105
- case "utf-16le":
10106
- return !0;
10107
- default:
10108
- return !1;
10109
- }
10110
- }, g.isBuffer = function (e) {
10111
- return !(null == e || !e._isBuffer);
10112
- }, g.byteLength = function (e, t) {
10113
- var n;
10114
- switch (e += "", t || "utf8") {
10115
- case "hex":
10116
- n = e.length / 2;
10117
- break;
10118
- case "utf8":
10119
- case "utf-8":
10120
- n = C(e).length;
10121
- break;
10122
- case "ascii":
10123
- case "binary":
10124
- case "raw":
10125
- n = e.length;
10126
- break;
10127
- case "base64":
10128
- n = k(e).length;
10129
- break;
10130
- case "ucs2":
10131
- case "ucs-2":
10132
- case "utf16le":
10133
- case "utf-16le":
10134
- n = 2 * e.length;
10135
- break;
10136
- default:
10137
- throw new Error("Unknown encoding");
10138
- }
10139
- return n;
10140
- }, g.concat = function (e, t) {
10141
- if (D(S(e), "Usage: Buffer.concat(list, [totalLength])\nlist should be an Array."), 0 === e.length) return new g(0);
10142
- if (1 === e.length) return e[0];
10143
- if ("number" != typeof t) for (o = t = 0; o < e.length; o++) t += e[o].length;
10144
- for (var n = new g(t), r = 0, o = 0; o < e.length; o++) {
10145
- var i = e[o];
10146
- i.copy(n, r), r += i.length;
10147
- }
10148
- return n;
10149
- }, g.prototype.write = function (e, t, n, r) {
10150
- var o;
10151
- isFinite(t) ? isFinite(n) || (r = n, n = void 0) : (o = r, r = t, t = n, n = o), t = Number(t) || 0;
10152
- var i,
10153
- u,
10154
- a,
10155
- s,
10156
- f,
10157
- c,
10158
- l,
10159
- d,
10160
- h,
10161
- p = this.length - t;
10162
- switch ((!n || p < (n = Number(n))) && (n = p), r = String(r || "utf8").toLowerCase()) {
10163
- case "hex":
10164
- i = function (e, t, n, r) {
10165
- n = Number(n) || 0;
10166
- var o = e.length - n;
10167
- (!r || o < (r = Number(r))) && (r = o);
10168
- var i = t.length;
10169
- D(i % 2 == 0, "Invalid hex string"), i / 2 < r && (r = i / 2);
10170
- for (var u = 0; u < r; u++) {
10171
- var a = parseInt(t.substr(2 * u, 2), 16);
10172
- D(!isNaN(a), "Invalid hex string"), e[n + u] = a;
10173
- }
10174
- return g._charsWritten = 2 * u, u;
10175
- }(this, e, t, n);
10176
- break;
10177
- case "utf8":
10178
- case "utf-8":
10179
- c = this, l = e, d = t, h = n, i = g._charsWritten = T(C(l), c, d, h);
10180
- break;
10181
- case "ascii":
10182
- case "binary":
10183
- i = y(this, e, t, n);
10184
- break;
10185
- case "base64":
10186
- u = this, a = e, s = t, f = n, i = g._charsWritten = T(k(a), u, s, f);
10187
- break;
10188
- case "ucs2":
10189
- case "ucs-2":
10190
- case "utf16le":
10191
- case "utf-16le":
10192
- i = w(this, e, t, n);
10193
- break;
10194
- default:
10195
- throw new Error("Unknown encoding");
10196
- }
10197
- return i;
10198
- }, g.prototype.toString = function (e, t, n) {
10199
- var r,
10200
- o,
10201
- i,
10202
- u,
10203
- a = this;
10204
- if (e = String(e || "utf8").toLowerCase(), t = Number(t) || 0, (n = void 0 !== n ? Number(n) : n = a.length) === t) return "";
10205
- switch (e) {
10206
- case "hex":
10207
- r = function (e, t, n) {
10208
- var r = e.length;
10209
- (!t || t < 0) && (t = 0);
10210
- (!n || n < 0 || r < n) && (n = r);
10211
- for (var o = "", i = t; i < n; i++) o += j(e[i]);
10212
- return o;
10213
- }(a, t, n);
10214
- break;
10215
- case "utf8":
10216
- case "utf-8":
10217
- r = function (e, t, n) {
10218
- var r = "",
10219
- o = "";
10220
- n = Math.min(e.length, n);
10221
- for (var i = t; i < n; i++) e[i] <= 127 ? (r += M(o) + String.fromCharCode(e[i]), o = "") : o += "%" + e[i].toString(16);
10222
- return r + M(o);
10223
- }(a, t, n);
10224
- break;
10225
- case "ascii":
10226
- case "binary":
10227
- r = c(a, t, n);
10228
- break;
10229
- case "base64":
10230
- o = a, u = n, r = 0 === (i = t) && u === o.length ? s.fromByteArray(o) : s.fromByteArray(o.slice(i, u));
10231
- break;
10232
- case "ucs2":
10233
- case "ucs-2":
10234
- case "utf16le":
10235
- case "utf-16le":
10236
- r = function (e, t, n) {
10237
- for (var r = e.slice(t, n), o = "", i = 0; i < r.length; i += 2) o += String.fromCharCode(r[i] + 256 * r[i + 1]);
10238
- return o;
10239
- }(a, t, n);
10240
- break;
10241
- default:
10242
- throw new Error("Unknown encoding");
10243
- }
10244
- return r;
10245
- }, g.prototype.toJSON = function () {
10246
- return {
10247
- type: "Buffer",
10248
- data: Array.prototype.slice.call(this._arr || this, 0)
10249
- };
10250
- }, g.prototype.copy = function (e, t, n, r) {
10251
- if (n = n || 0, r || 0 === r || (r = this.length), t = t || 0, r !== n && 0 !== e.length && 0 !== this.length) {
10252
- 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);
10253
- var o = r - n;
10254
- 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);
10255
- }
10256
- }, g.prototype.slice = function (e, t) {
10257
- var n = this.length;
10258
- if (e = U(e, n, 0), t = U(t, n, n), g._useTypedArrays) return g._augment(this.subarray(e, t));
10259
- for (var r = t - e, o = new g(r, void 0, !0), i = 0; i < r; i++) o[i] = this[i + e];
10260
- return o;
10261
- }, g.prototype.get = function (e) {
10262
- return console.log(".get() is deprecated. Access using array indexes instead."), this.readUInt8(e);
10263
- }, g.prototype.set = function (e, t) {
10264
- return console.log(".set() is deprecated. Access using array indexes instead."), this.writeUInt8(e, t);
10265
- }, g.prototype.readUInt8 = function (e, t) {
10266
- if (t || (D(null != e, "missing offset"), D(e < this.length, "Trying to read beyond buffer length")), !(e >= this.length)) return this[e];
10267
- }, g.prototype.readUInt16LE = function (e, t) {
10268
- return l(this, e, !0, t);
10269
- }, g.prototype.readUInt16BE = function (e, t) {
10270
- return l(this, e, !1, t);
10271
- }, g.prototype.readUInt32LE = function (e, t) {
10272
- return d(this, e, !0, t);
10273
- }, g.prototype.readUInt32BE = function (e, t) {
10274
- return d(this, e, !1, t);
10275
- }, g.prototype.readInt8 = function (e, t) {
10276
- 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];
10277
- }, g.prototype.readInt16LE = function (e, t) {
10278
- return h(this, e, !0, t);
10279
- }, g.prototype.readInt16BE = function (e, t) {
10280
- return h(this, e, !1, t);
10281
- }, g.prototype.readInt32LE = function (e, t) {
10282
- return p(this, e, !0, t);
10283
- }, g.prototype.readInt32BE = function (e, t) {
10284
- return p(this, e, !1, t);
10285
- }, g.prototype.readFloatLE = function (e, t) {
10286
- return b(this, e, !0, t);
10287
- }, g.prototype.readFloatBE = function (e, t) {
10288
- return b(this, e, !1, t);
10289
- }, g.prototype.readDoubleLE = function (e, t) {
10290
- return m(this, e, !0, t);
10291
- }, g.prototype.readDoubleBE = function (e, t) {
10292
- return m(this, e, !1, t);
10293
- }, g.prototype.writeUInt8 = function (e, t, n) {
10294
- 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);
10295
- }, g.prototype.writeUInt16LE = function (e, t, n) {
10296
- v(this, e, t, !0, n);
10297
- }, g.prototype.writeUInt16BE = function (e, t, n) {
10298
- v(this, e, t, !1, n);
10299
- }, g.prototype.writeUInt32LE = function (e, t, n) {
10300
- _(this, e, t, !0, n);
10301
- }, g.prototype.writeUInt32BE = function (e, t, n) {
10302
- _(this, e, t, !1, n);
10303
- }, g.prototype.writeInt8 = function (e, t, n) {
10304
- 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));
10305
- }, g.prototype.writeInt16LE = function (e, t, n) {
10306
- E(this, e, t, !0, n);
10307
- }, g.prototype.writeInt16BE = function (e, t, n) {
10308
- E(this, e, t, !1, n);
10309
- }, g.prototype.writeInt32LE = function (e, t, n) {
10310
- I(this, e, t, !0, n);
10311
- }, g.prototype.writeInt32BE = function (e, t, n) {
10312
- I(this, e, t, !1, n);
10313
- }, g.prototype.writeFloatLE = function (e, t, n) {
10314
- A(this, e, t, !0, n);
10315
- }, g.prototype.writeFloatBE = function (e, t, n) {
10316
- A(this, e, t, !1, n);
10317
- }, g.prototype.writeDoubleLE = function (e, t, n) {
10318
- B(this, e, t, !0, n);
10319
- }, g.prototype.writeDoubleBE = function (e, t, n) {
10320
- B(this, e, t, !1, n);
10321
- }, g.prototype.fill = function (e, t, n) {
10322
- 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) {
10323
- D(0 <= t && t < this.length, "start out of bounds"), D(0 <= n && n <= this.length, "end out of bounds");
10324
- for (var r = t; r < n; r++) this[r] = e;
10325
- }
10326
- }, g.prototype.inspect = function () {
10327
- for (var e = [], t = this.length, n = 0; n < t; n++) if (e[n] = j(this[n]), n === H.INSPECT_MAX_BYTES) {
10328
- e[n + 1] = "...";
10329
- break;
10330
- }
10331
- return "<Buffer " + e.join(" ") + ">";
10332
- }, g.prototype.toArrayBuffer = function () {
10333
- if ("undefined" == typeof Uint8Array) throw new Error("Buffer.toArrayBuffer not supported in this browser");
10334
- if (g._useTypedArrays) return new g(this).buffer;
10335
- for (var e = new Uint8Array(this.length), t = 0, n = e.length; t < n; t += 1) e[t] = this[t];
10336
- return e.buffer;
10337
- };
10338
- var L = g.prototype;
10339
- function U(e, t, n) {
10340
- return "number" != typeof e ? n : t <= (e = ~~e) ? t : 0 <= e || 0 <= (e += t) ? e : 0;
10341
- }
10342
- function x(e) {
10343
- return (e = ~~Math.ceil(+e)) < 0 ? 0 : e;
10344
- }
10345
- function S(e) {
10346
- return (Array.isArray || function (e) {
10347
- return "[object Array]" === Object.prototype.toString.call(e);
10348
- })(e);
10349
- }
10350
- function j(e) {
10351
- return e < 16 ? "0" + e.toString(16) : e.toString(16);
10352
- }
10353
- function C(e) {
10354
- for (var t = [], n = 0; n < e.length; n++) {
10355
- var r = e.charCodeAt(n);
10356
- if (r <= 127) t.push(e.charCodeAt(n));else {
10357
- var o = n;
10358
- 55296 <= r && r <= 57343 && n++;
10359
- for (var i = encodeURIComponent(e.slice(o, n + 1)).substr(1).split("%"), u = 0; u < i.length; u++) t.push(parseInt(i[u], 16));
10360
- }
10361
- }
10362
- return t;
10363
- }
10364
- function k(e) {
10365
- return s.toByteArray(e);
10366
- }
10367
- function T(e, t, n, r) {
10368
- for (var o = 0; o < r && !(o + n >= t.length || o >= e.length); o++) t[o + n] = e[o];
10369
- return o;
10370
- }
10371
- function M(e) {
10372
- try {
10373
- return decodeURIComponent(e);
10374
- } catch (e) {
10375
- return String.fromCharCode(65533);
10376
- }
10377
- }
10378
- function N(e, t) {
10379
- 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");
10380
- }
10381
- function Y(e, t, n) {
10382
- 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");
10383
- }
10384
- function F(e, t, n) {
10385
- 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");
10386
- }
10387
- function D(e, t) {
10388
- if (!e) throw new Error(t || "Failed assertion");
10389
- }
10390
- g._augment = function (e) {
10391
- 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;
10392
- };
10393
- }).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");
10394
- }, {
10395
- "base64-js": 2,
10396
- buffer: 3,
10397
- ieee754: 11,
10398
- lYpoI2: 10
10399
- }],
10400
- 4: [function (l, d, e) {
10401
- (function (e, t, u, n, r, o, i, a, s) {
10402
- var u = l("buffer").Buffer,
10403
- f = 4,
10404
- c = new u(f);
10405
- c.fill(0);
10406
- d.exports = {
10407
- hash: function hash(e, t, n, r) {
10408
- return u.isBuffer(e) || (e = new u(e)), function (e, t, n) {
10409
- 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);
10410
- return r;
10411
- }(t(function (e, t) {
10412
- var n;
10413
- e.length % f != 0 && (n = e.length + (f - e.length % f), e = u.concat([e, c], n));
10414
- for (var r = [], o = t ? e.readInt32BE : e.readInt32LE, i = 0; i < e.length; i += f) r.push(o.call(e, i));
10415
- return r;
10416
- }(e, r), 8 * e.length), n, r);
10417
- }
10418
- };
10419
- }).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");
10420
- }, {
10421
- buffer: 3,
10422
- lYpoI2: 10
10423
- }],
10424
- 5: [function (w, e, b) {
10425
- (function (e, t, a, n, r, o, i, u, s) {
10426
- var a = w("buffer").Buffer,
10427
- f = w("./sha"),
10428
- c = w("./sha256"),
10429
- l = w("./rng"),
10430
- d = {
10431
- sha1: f,
10432
- sha256: c,
10433
- md5: w("./md5")
10434
- },
10435
- h = 64,
10436
- p = new a(h);
10437
- function g(e, r) {
10438
- var o = d[e = e || "sha1"],
10439
- i = [];
10440
- return o || y("algorithm:", e, "is not yet supported"), {
10441
- update: function update(e) {
10442
- return a.isBuffer(e) || (e = new a(e)), i.push(e), e.length, this;
10443
- },
10444
- digest: function digest(e) {
10445
- var t = a.concat(i),
10446
- n = r ? function (e, t, n) {
10447
- 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));
10448
- 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];
10449
- var u = e(a.concat([r, n]));
10450
- return e(a.concat([o, u]));
10451
- }(o, r, t) : o(t);
10452
- return i = null, e ? n.toString(e) : n;
10453
- }
10454
- };
10455
- }
10456
- function y() {
10457
- var e = [].slice.call(arguments).join(" ");
10458
- throw new Error([e, "we accept pull requests", "http://github.com/dominictarr/crypto-browserify"].join("\n"));
10459
- }
10460
- p.fill(0), b.createHash = function (e) {
10461
- return g(e);
10462
- }, b.createHmac = g, b.randomBytes = function (e, t) {
10463
- if (!t || !t.call) return new a(l(e));
10464
- try {
10465
- t.call(this, void 0, new a(l(e)));
10466
- } catch (e) {
10467
- t(e);
10468
- }
10469
- }, function (e, t) {
10470
- for (var n in e) t(e[n], n);
10471
- }(["createCredentials", "createCipher", "createCipheriv", "createDecipher", "createDecipheriv", "createSign", "createVerify", "createDiffieHellman", "pbkdf2"], function (e) {
10472
- b[e] = function () {
10473
- y("sorry,", e, "is not implemented yet");
10474
- };
10475
- });
10476
- }).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");
10477
- }, {
10478
- "./md5": 6,
10479
- "./rng": 7,
10480
- "./sha": 8,
10481
- "./sha256": 9,
10482
- buffer: 3,
10483
- lYpoI2: 10
10484
- }],
10485
- 6: [function (w, b, e) {
10486
- (function (e, t, n, r, o, i, u, a, s) {
10487
- var f = w("./helpers");
10488
- function c(e, t) {
10489
- e[t >> 5] |= 128 << t % 32, e[14 + (t + 64 >>> 9 << 4)] = t;
10490
- for (var n = 1732584193, r = -271733879, o = -1732584194, i = 271733878, u = 0; u < e.length; u += 16) {
10491
- var a = n,
10492
- s = r,
10493
- f = o,
10494
- c = i,
10495
- n = d(n, r, o, i, e[u + 0], 7, -680876936),
10496
- i = d(i, n, r, o, e[u + 1], 12, -389564586),
10497
- o = d(o, i, n, r, e[u + 2], 17, 606105819),
10498
- r = d(r, o, i, n, e[u + 3], 22, -1044525330);
10499
- 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);
10500
- }
10501
- return Array(n, r, o, i);
10502
- }
10503
- function l(e, t, n, r, o, i) {
10504
- return y((u = y(y(t, e), y(r, i))) << (a = o) | u >>> 32 - a, n);
10505
- var u, a;
10506
- }
10507
- function d(e, t, n, r, o, i, u) {
10508
- return l(t & n | ~t & r, e, t, o, i, u);
10509
- }
10510
- function h(e, t, n, r, o, i, u) {
10511
- return l(t & r | n & ~r, e, t, o, i, u);
10512
- }
10513
- function p(e, t, n, r, o, i, u) {
10514
- return l(t ^ n ^ r, e, t, o, i, u);
10515
- }
10516
- function g(e, t, n, r, o, i, u) {
10517
- return l(n ^ (t | ~r), e, t, o, i, u);
10518
- }
10519
- function y(e, t) {
10520
- var n = (65535 & e) + (65535 & t);
10521
- return (e >> 16) + (t >> 16) + (n >> 16) << 16 | 65535 & n;
10522
- }
10523
- b.exports = function (e) {
10524
- return f.hash(e, c, 16);
10525
- };
10526
- }).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");
10527
- }, {
10528
- "./helpers": 4,
10529
- buffer: 3,
10530
- lYpoI2: 10
10531
- }],
10532
- 7: [function (e, l, t) {
10533
- (function (e, t, n, r, o, i, u, a, s) {
10534
- var f, c;
10535
- c = function c(e) {
10536
- 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;
10537
- return n;
10538
- }, l.exports = f || c;
10539
- }).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");
10540
- }, {
10541
- buffer: 3,
10542
- lYpoI2: 10
10543
- }],
10544
- 8: [function (l, d, e) {
10545
- (function (e, t, n, r, o, i, u, a, s) {
10546
- var f = l("./helpers");
10547
- function c(e, t) {
10548
- e[t >> 5] |= 128 << 24 - t % 32, e[15 + (t + 64 >> 9 << 4)] = t;
10549
- 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) {
10550
- for (var p = s, g = f, y = c, w = l, b = d, m = 0; m < 80; m++) {
10551
- a[m] = m < 16 ? e[h + m] : E(a[m - 3] ^ a[m - 8] ^ a[m - 14] ^ a[m - 16], 1);
10552
- 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)),
10553
- d = l,
10554
- l = c,
10555
- c = E(f, 30),
10556
- f = s,
10557
- s = v;
10558
- }
10559
- s = _(s, p), f = _(f, g), c = _(c, y), l = _(l, w), d = _(d, b);
10560
- }
10561
- return Array(s, f, c, l, d);
10562
- }
10563
- function _(e, t) {
10564
- var n = (65535 & e) + (65535 & t);
10565
- return (e >> 16) + (t >> 16) + (n >> 16) << 16 | 65535 & n;
10566
- }
10567
- function E(e, t) {
10568
- return e << t | e >>> 32 - t;
10569
- }
10570
- d.exports = function (e) {
10571
- return f.hash(e, c, 20, !0);
10572
- };
10573
- }).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");
10574
- }, {
10575
- "./helpers": 4,
10576
- buffer: 3,
10577
- lYpoI2: 10
10578
- }],
10579
- 9: [function (l, d, e) {
10580
- (function (e, t, n, r, o, i, u, a, s) {
10581
- function B(e, t) {
10582
- var n = (65535 & e) + (65535 & t);
10583
- return (e >> 16) + (t >> 16) + (n >> 16) << 16 | 65535 & n;
10584
- }
10585
- function L(e, t) {
10586
- return e >>> t | e << 32 - t;
10587
- }
10588
- function f(e, t) {
10589
- var n,
10590
- r,
10591
- o,
10592
- i,
10593
- u,
10594
- a,
10595
- s,
10596
- f,
10597
- c,
10598
- l,
10599
- 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),
10600
- h = new Array(1779033703, 3144134277, 1013904242, 2773480762, 1359893119, 2600822924, 528734635, 1541459225),
10601
- p = new Array(64);
10602
- e[t >> 5] |= 128 << 24 - t % 32, e[15 + (t + 64 >> 9 << 4)] = t;
10603
- for (var g, y, w, b, m, v, _, E, I = 0; I < e.length; I += 16) {
10604
- n = h[0], r = h[1], o = h[2], i = h[3], u = h[4], a = h[5], s = h[6], f = h[7];
10605
- 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);
10606
- 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]);
10607
- }
10608
- return h;
10609
- }
10610
- var c = l("./helpers");
10611
- d.exports = function (e) {
10612
- return c.hash(e, f, 32, !0);
10613
- };
10614
- }).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");
10615
- }, {
10616
- "./helpers": 4,
10617
- buffer: 3,
10618
- lYpoI2: 10
10619
- }],
10620
- 10: [function (e, c, t) {
10621
- (function (e, t, n, r, o, i, u, a, s) {
10622
- function f() {}
10623
- (e = c.exports = {}).nextTick = function () {
10624
- var e = "undefined" != typeof window && window.setImmediate,
10625
- t = "undefined" != typeof window && window.postMessage && window.addEventListener;
10626
- if (e) return function (e) {
10627
- return window.setImmediate(e);
10628
- };
10629
- if (t) {
10630
- var n = [];
10631
- return window.addEventListener("message", function (e) {
10632
- var t = e.source;
10633
- t !== window && null !== t || "process-tick" !== e.data || (e.stopPropagation(), 0 < n.length && n.shift()());
10634
- }, !0), function (e) {
10635
- n.push(e), window.postMessage("process-tick", "*");
10636
- };
10637
- }
10638
- return function (e) {
10639
- setTimeout(e, 0);
10640
- };
10641
- }(), 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) {
10642
- throw new Error("process.binding is not supported");
10643
- }, e.cwd = function () {
10644
- return "/";
10645
- }, e.chdir = function (e) {
10646
- throw new Error("process.chdir is not supported");
10647
- };
10648
- }).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");
10649
- }, {
10650
- buffer: 3,
10651
- lYpoI2: 10
10652
- }],
10653
- 11: [function (e, t, f) {
10654
- (function (e, t, n, r, o, i, u, a, s) {
10655
- f.read = function (e, t, n, r, o) {
10656
- var i,
10657
- u,
10658
- a = 8 * o - r - 1,
10659
- s = (1 << a) - 1,
10660
- f = s >> 1,
10661
- c = -7,
10662
- l = n ? o - 1 : 0,
10663
- d = n ? -1 : 1,
10664
- h = e[t + l];
10665
- for (l += d, i = h & (1 << -c) - 1, h >>= -c, c += a; 0 < c; i = 256 * i + e[t + l], l += d, c -= 8);
10666
- for (u = i & (1 << -c) - 1, i >>= -c, c += r; 0 < c; u = 256 * u + e[t + l], l += d, c -= 8);
10667
- if (0 === i) i = 1 - f;else {
10668
- if (i === s) return u ? NaN : 1 / 0 * (h ? -1 : 1);
10669
- u += Math.pow(2, r), i -= f;
10670
- }
10671
- return (h ? -1 : 1) * u * Math.pow(2, i - r);
10672
- }, f.write = function (e, t, n, r, o, i) {
10673
- var u,
10674
- a,
10675
- s,
10676
- f = 8 * i - o - 1,
10677
- c = (1 << f) - 1,
10678
- l = c >> 1,
10679
- d = 23 === o ? Math.pow(2, -24) - Math.pow(2, -77) : 0,
10680
- h = r ? 0 : i - 1,
10681
- p = r ? 1 : -1,
10682
- g = t < 0 || 0 === t && 1 / t < 0 ? 1 : 0;
10683
- 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);
10684
- for (u = u << o | a, f += o; 0 < f; e[n + h] = 255 & u, h += p, u /= 256, f -= 8);
10685
- e[n + h - p] |= 128 * g;
10686
- };
10687
- }).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");
10688
- }, {
10689
- buffer: 3,
10690
- lYpoI2: 10
10691
- }]
10692
- }, {}, [1])(1);
10693
- });
10694
- }).call(this);
10695
- }).call(this, typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {});
10696
- }, {}],
10697
- 118: [function (require, module, exports) {
10698
- var Util = require("../../util/util");
10699
- var ElementController = require("../controllers/element-controller");
10700
- var _require = require("@plattar/context-messenger"),
10701
- messenger = _require.messenger;
10702
- var BaseElement = /*#__PURE__*/function (_HTMLElement3) {
10703
- _inherits(BaseElement, _HTMLElement3);
10704
- var _super73 = _createSuper(BaseElement);
10705
- function BaseElement() {
10706
- _classCallCheck(this, BaseElement);
10707
- return _super73.call(this);
10708
- }
10709
- _createClass(BaseElement, [{
10710
- key: "connectedCallback",
10711
- value: function connectedCallback() {
10712
- this._controller = new ElementController(this);
10713
- }
10714
- }, {
10715
- key: "onready",
10716
- set: function set(callback) {
10717
- if (this._controller) {
10718
- this._controller.onload = callback;
10719
- return;
10720
- }
10721
- throw new Error("set BaseElement.onready - cannot use as element not connected");
10722
- }
10723
- }, {
10724
- key: "messengerInstance",
10725
- get: function get() {
10726
- return messenger;
10727
- }
10728
- }, {
10729
- key: "messenger",
10730
- get: function get() {
10731
- return this._controller ? this._controller.messenger : undefined;
10732
- }
10733
- }, {
10734
- key: "context",
10735
- get: function get() {
10736
- return this.messengerInstance.self;
10737
- }
10738
- }, {
10739
- key: "parent",
10740
- get: function get() {
10741
- return this.messengerInstance.parent;
10742
- }
10743
- }, {
10744
- key: "element",
10745
- get: function get() {
10746
- return this._controller;
10747
- }
10748
- }, {
10749
- key: "ready",
10750
- get: function get() {
10751
- return this._controller ? true : false;
10752
- }
10753
- }, {
10754
- key: "allowDragDrop",
10755
- get: function get() {
10756
- return this._controller ? this._controller.controller.allowDragDrop : false;
10757
- },
10758
- set: function set(value) {
10759
- if (this._controller) {
10760
- this._controller.controller.allowDragDrop = value;
10761
- return;
10762
- }
10763
- throw new Error("set BaseElement.allowDragDrop - cannot use as element not connected");
10764
- }
10765
- }, {
10766
- key: "permissions",
10767
- get: function get() {
10768
- return [];
10769
- }
10770
- }, {
10771
- key: "coreAttributes",
10772
- get: function get() {
10773
- return [{
10774
- key: "scene-id",
10775
- map: "scene_id"
10776
- }];
10777
- }
10778
- }, {
10779
- key: "usesCoreAttribute",
10780
- value: function usesCoreAttribute(key) {
10781
- var attr = this.coreAttributes;
10782
- var length = attr.length;
10783
- for (var i = 0; i < length; i++) {
10784
- if (attr[i].key === key) {
10785
- return true;
9529
+ var Util = require("../../util/util");
9530
+ var ElementController = require("../controllers/element-controller");
9531
+ var _require = require("@plattar/context-messenger"),
9532
+ messenger = _require.messenger;
9533
+ var BaseElement = /*#__PURE__*/function (_HTMLElement3) {
9534
+ _inherits(BaseElement, _HTMLElement3);
9535
+ var _super73 = _createSuper(BaseElement);
9536
+ function BaseElement() {
9537
+ _classCallCheck(this, BaseElement);
9538
+ return _super73.call(this);
9539
+ }
9540
+ _createClass(BaseElement, [{
9541
+ key: "connectedCallback",
9542
+ value: function connectedCallback() {
9543
+ this._controller = new ElementController(this);
9544
+ }
9545
+ }, {
9546
+ key: "onready",
9547
+ set: function set(callback) {
9548
+ if (this._controller) {
9549
+ this._controller.onload = callback;
9550
+ return;
9551
+ }
9552
+ throw new Error("set BaseElement.onready - cannot use as element not connected");
9553
+ }
9554
+ }, {
9555
+ key: "messengerInstance",
9556
+ get: function get() {
9557
+ return messenger;
9558
+ }
9559
+ }, {
9560
+ key: "messenger",
9561
+ get: function get() {
9562
+ return this._controller ? this._controller.messenger : undefined;
9563
+ }
9564
+ }, {
9565
+ key: "context",
9566
+ get: function get() {
9567
+ return this.messengerInstance.self;
9568
+ }
9569
+ }, {
9570
+ key: "parent",
9571
+ get: function get() {
9572
+ return this.messengerInstance.parent;
9573
+ }
9574
+ }, {
9575
+ key: "element",
9576
+ get: function get() {
9577
+ return this._controller;
9578
+ }
9579
+ }, {
9580
+ key: "ready",
9581
+ get: function get() {
9582
+ return this._controller ? true : false;
9583
+ }
9584
+ }, {
9585
+ key: "allowDragDrop",
9586
+ get: function get() {
9587
+ return this._controller ? this._controller.controller.allowDragDrop : false;
9588
+ },
9589
+ set: function set(value) {
9590
+ if (this._controller) {
9591
+ this._controller.controller.allowDragDrop = value;
9592
+ return;
9593
+ }
9594
+ throw new Error("set BaseElement.allowDragDrop - cannot use as element not connected");
9595
+ }
9596
+ }, {
9597
+ key: "permissions",
9598
+ get: function get() {
9599
+ return [];
9600
+ }
9601
+ }, {
9602
+ key: "coreAttributes",
9603
+ get: function get() {
9604
+ return [{
9605
+ key: "scene-id",
9606
+ map: "scene_id"
9607
+ }];
9608
+ }
9609
+ }, {
9610
+ key: "usesCoreAttribute",
9611
+ value: function usesCoreAttribute(key) {
9612
+ var attr = this.coreAttributes;
9613
+ var length = attr.length;
9614
+ for (var i = 0; i < length; i++) {
9615
+ if (attr[i].key === key) {
9616
+ return true;
10786
9617
  }
10787
9618
  }
10788
9619
  return false;
@@ -10878,11 +9709,11 @@ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" ==
10878
9709
  }( /*#__PURE__*/_wrapNativeSuper(HTMLElement));
10879
9710
  module.exports = BaseElement;
10880
9711
  }, {
10881
- "../../util/util": 131,
10882
- "../controllers/element-controller": 120,
9712
+ "../../util/util": 130,
9713
+ "../controllers/element-controller": 119,
10883
9714
  "@plattar/context-messenger": 21
10884
9715
  }],
10885
- 119: [function (require, module, exports) {
9716
+ 118: [function (require, module, exports) {
10886
9717
  var BaseElement = require("./base/base-element.js");
10887
9718
  var ConfiguratorElement = /*#__PURE__*/function (_BaseElement2) {
10888
9719
  _inherits(ConfiguratorElement, _BaseElement2);
@@ -10926,9 +9757,9 @@ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" ==
10926
9757
  }(BaseElement);
10927
9758
  module.exports = ConfiguratorElement;
10928
9759
  }, {
10929
- "./base/base-element.js": 118
9760
+ "./base/base-element.js": 117
10930
9761
  }],
10931
- 120: [function (require, module, exports) {
9762
+ 119: [function (require, module, exports) {
10932
9763
  var Util = require("../../util/util.js");
10933
9764
  var _require2 = require("@plattar/context-messenger"),
10934
9765
  messenger = _require2.messenger;
@@ -11035,11 +9866,11 @@ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" ==
11035
9866
  }();
11036
9867
  module.exports = ElementController;
11037
9868
  }, {
11038
- "../../util/util.js": 131,
11039
- "./iframe-controller.js": 121,
9869
+ "../../util/util.js": 130,
9870
+ "./iframe-controller.js": 120,
11040
9871
  "@plattar/context-messenger": 21
11041
9872
  }],
11042
- 121: [function (require, module, exports) {
9873
+ 120: [function (require, module, exports) {
11043
9874
  var Util = require("../../util/util.js");
11044
9875
  var IFrameController = /*#__PURE__*/function () {
11045
9876
  function IFrameController(element, src, id) {
@@ -11136,9 +9967,9 @@ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" ==
11136
9967
  }();
11137
9968
  module.exports = IFrameController;
11138
9969
  }, {
11139
- "../../util/util.js": 131
9970
+ "../../util/util.js": 130
11140
9971
  }],
11141
- 122: [function (require, module, exports) {
9972
+ 121: [function (require, module, exports) {
11142
9973
  var BaseElement = require("./base/base-element.js");
11143
9974
  var EditorElement = /*#__PURE__*/function (_BaseElement3) {
11144
9975
  _inherits(EditorElement, _BaseElement3);
@@ -11162,9 +9993,9 @@ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" ==
11162
9993
  }(BaseElement);
11163
9994
  module.exports = EditorElement;
11164
9995
  }, {
11165
- "./base/base-element.js": 118
9996
+ "./base/base-element.js": 117
11166
9997
  }],
11167
- 123: [function (require, module, exports) {
9998
+ 122: [function (require, module, exports) {
11168
9999
  var BaseElement = require("./base/base-element.js");
11169
10000
  var EWallElement = /*#__PURE__*/function (_BaseElement4) {
11170
10001
  _inherits(EWallElement, _BaseElement4);
@@ -11207,9 +10038,9 @@ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" ==
11207
10038
  }(BaseElement);
11208
10039
  module.exports = EWallElement;
11209
10040
  }, {
11210
- "./base/base-element.js": 118
10041
+ "./base/base-element.js": 117
11211
10042
  }],
11212
- 124: [function (require, module, exports) {
10043
+ 123: [function (require, module, exports) {
11213
10044
  var BaseElement = require("./base/base-element.js");
11214
10045
  var FaceARElement = /*#__PURE__*/function (_BaseElement5) {
11215
10046
  _inherits(FaceARElement, _BaseElement5);
@@ -11253,9 +10084,9 @@ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" ==
11253
10084
  }(BaseElement);
11254
10085
  module.exports = FaceARElement;
11255
10086
  }, {
11256
- "./base/base-element.js": 118
10087
+ "./base/base-element.js": 117
11257
10088
  }],
11258
- 125: [function (require, module, exports) {
10089
+ 124: [function (require, module, exports) {
11259
10090
  var BaseElement = require("./base/base-element.js");
11260
10091
  var ModelElement = /*#__PURE__*/function (_BaseElement6) {
11261
10092
  _inherits(ModelElement, _BaseElement6);
@@ -11298,9 +10129,9 @@ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" ==
11298
10129
  }(BaseElement);
11299
10130
  module.exports = ModelElement;
11300
10131
  }, {
11301
- "./base/base-element.js": 118
10132
+ "./base/base-element.js": 117
11302
10133
  }],
11303
- 126: [function (require, module, exports) {
10134
+ 125: [function (require, module, exports) {
11304
10135
  var BaseElement = require("./base/base-element.js");
11305
10136
  var ProductElement = /*#__PURE__*/function (_BaseElement7) {
11306
10137
  _inherits(ProductElement, _BaseElement7);
@@ -11346,9 +10177,9 @@ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" ==
11346
10177
  }(BaseElement);
11347
10178
  module.exports = ProductElement;
11348
10179
  }, {
11349
- "./base/base-element.js": 118
10180
+ "./base/base-element.js": 117
11350
10181
  }],
11351
- 127: [function (require, module, exports) {
10182
+ 126: [function (require, module, exports) {
11352
10183
  var BaseElement = require("./base/base-element.js");
11353
10184
  var StudioElement = /*#__PURE__*/function (_BaseElement8) {
11354
10185
  _inherits(StudioElement, _BaseElement8);
@@ -11372,9 +10203,9 @@ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" ==
11372
10203
  }(BaseElement);
11373
10204
  module.exports = StudioElement;
11374
10205
  }, {
11375
- "./base/base-element.js": 118
10206
+ "./base/base-element.js": 117
11376
10207
  }],
11377
- 128: [function (require, module, exports) {
10208
+ 127: [function (require, module, exports) {
11378
10209
  var BaseElement = require("./base/base-element.js");
11379
10210
  var ViewerElement = /*#__PURE__*/function (_BaseElement9) {
11380
10211
  _inherits(ViewerElement, _BaseElement9);
@@ -11415,9 +10246,9 @@ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" ==
11415
10246
  }(BaseElement);
11416
10247
  module.exports = ViewerElement;
11417
10248
  }, {
11418
- "./base/base-element.js": 118
10249
+ "./base/base-element.js": 117
11419
10250
  }],
11420
- 129: [function (require, module, exports) {
10251
+ 128: [function (require, module, exports) {
11421
10252
  var BaseElement = require("./base/base-element.js");
11422
10253
  var WebXRElement = /*#__PURE__*/function (_BaseElement10) {
11423
10254
  _inherits(WebXRElement, _BaseElement10);
@@ -11441,9 +10272,9 @@ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" ==
11441
10272
  }(BaseElement);
11442
10273
  module.exports = WebXRElement;
11443
10274
  }, {
11444
- "./base/base-element.js": 118
10275
+ "./base/base-element.js": 117
11445
10276
  }],
11446
- 130: [function (require, module, exports) {
10277
+ 129: [function (require, module, exports) {
11447
10278
  "use strict";
11448
10279
 
11449
10280
  var WebXRElement = require("./elements/webxr-element.js");
@@ -11488,18 +10319,18 @@ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" ==
11488
10319
  version: Version
11489
10320
  };
11490
10321
  }, {
11491
- "./elements/configurator-element.js": 119,
11492
- "./elements/editor-element.js": 122,
11493
- "./elements/ewall-element.js": 123,
11494
- "./elements/facear-element.js": 124,
11495
- "./elements/model-element.js": 125,
11496
- "./elements/product-element.js": 126,
11497
- "./elements/studio-element.js": 127,
11498
- "./elements/viewer-element.js": 128,
11499
- "./elements/webxr-element.js": 129,
11500
- "./version": 132
10322
+ "./elements/configurator-element.js": 118,
10323
+ "./elements/editor-element.js": 121,
10324
+ "./elements/ewall-element.js": 122,
10325
+ "./elements/facear-element.js": 123,
10326
+ "./elements/model-element.js": 124,
10327
+ "./elements/product-element.js": 125,
10328
+ "./elements/studio-element.js": 126,
10329
+ "./elements/viewer-element.js": 127,
10330
+ "./elements/webxr-element.js": 128,
10331
+ "./version": 131
11501
10332
  }],
11502
- 131: [function (require, module, exports) {
10333
+ 130: [function (require, module, exports) {
11503
10334
  var Util = /*#__PURE__*/function () {
11504
10335
  function Util() {
11505
10336
  _classCallCheck(this, Util);
@@ -11569,10 +10400,10 @@ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" ==
11569
10400
  }();
11570
10401
  module.exports = Util;
11571
10402
  }, {}],
11572
- 132: [function (require, module, exports) {
10403
+ 131: [function (require, module, exports) {
11573
10404
  module.exports = "1.154.3";
11574
10405
  }, {}],
11575
- 133: [function (require, module, exports) {
10406
+ 132: [function (require, module, exports) {
11576
10407
  (function (global) {
11577
10408
  (function () {
11578
10409
  "use strict";
@@ -11606,7 +10437,7 @@ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" ==
11606
10437
  }).call(this);
11607
10438
  }).call(this, typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {});
11608
10439
  }, {}],
11609
- 134: [function (require, module, exports) {
10440
+ 133: [function (require, module, exports) {
11610
10441
  (function (global) {
11611
10442
  (function () {
11612
10443
  !function (e) {
@@ -12606,7 +11437,7 @@ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" ==
12606
11437
  }).call(this);
12607
11438
  }).call(this, typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {});
12608
11439
  }, {}],
12609
- 135: [function (require, module, exports) {
11440
+ 134: [function (require, module, exports) {
12610
11441
  // shim for using process in browser
12611
11442
  var process = module.exports = {};
12612
11443
 
@@ -12783,7 +11614,7 @@ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" ==
12783
11614
  return 0;
12784
11615
  };
12785
11616
  }, {}],
12786
- 136: [function (require, module, exports) {
11617
+ 135: [function (require, module, exports) {
12787
11618
  !function (t, e) {
12788
11619
  "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();
12789
11620
  }(self, function () {