@aws-amplify/api 4.0.21 → 4.0.22-unstable.5

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.
@@ -1,13 +1,13 @@
1
1
  (function webpackUniversalModuleDefinition(root, factory) {
2
2
  if(typeof exports === 'object' && typeof module === 'object')
3
- module.exports = factory(require("aws_amplify_auth"), require("aws_amplify_cache"), require("aws_amplify_core"), require("graphql"), require("graphql/language/parser"), require("graphql/language/printer"));
3
+ module.exports = factory(require("aws_amplify_auth"), require("aws_amplify_cache"), require("aws_amplify_core"), require("graphql"));
4
4
  else if(typeof define === 'function' && define.amd)
5
- define("aws_amplify_api", ["aws_amplify_auth", "aws_amplify_cache", "aws_amplify_core", "graphql", "graphql/language/parser", "graphql/language/printer"], factory);
5
+ define("aws_amplify_api", ["aws_amplify_auth", "aws_amplify_cache", "aws_amplify_core", "graphql"], factory);
6
6
  else if(typeof exports === 'object')
7
- exports["aws_amplify_api"] = factory(require("aws_amplify_auth"), require("aws_amplify_cache"), require("aws_amplify_core"), require("graphql"), require("graphql/language/parser"), require("graphql/language/printer"));
7
+ exports["aws_amplify_api"] = factory(require("aws_amplify_auth"), require("aws_amplify_cache"), require("aws_amplify_core"), require("graphql"));
8
8
  else
9
- root["aws_amplify_api"] = factory(root["aws_amplify_auth"], root["aws_amplify_cache"], root["aws_amplify_core"], root["graphql"], root["graphql/language/parser"], root["graphql/language/printer"]);
10
- })(this, function(__WEBPACK_EXTERNAL_MODULE__aws_amplify_auth__, __WEBPACK_EXTERNAL_MODULE__aws_amplify_cache__, __WEBPACK_EXTERNAL_MODULE__aws_amplify_core__, __WEBPACK_EXTERNAL_MODULE_graphql__, __WEBPACK_EXTERNAL_MODULE_graphql_language_parser__, __WEBPACK_EXTERNAL_MODULE_graphql_language_printer__) {
9
+ root["aws_amplify_api"] = factory(root["aws_amplify_auth"], root["aws_amplify_cache"], root["aws_amplify_core"], root["graphql"]);
10
+ })(this, function(__WEBPACK_EXTERNAL_MODULE__aws_amplify_auth__, __WEBPACK_EXTERNAL_MODULE__aws_amplify_cache__, __WEBPACK_EXTERNAL_MODULE__aws_amplify_core__, __WEBPACK_EXTERNAL_MODULE_graphql__) {
11
11
  return /******/ (function(modules) { // webpackBootstrap
12
12
  /******/ // The module cache
13
13
  /******/ var installedModules = {};
@@ -4152,371 +4152,6 @@ function isnan (val) {
4152
4152
 
4153
4153
  /***/ }),
4154
4154
 
4155
- /***/ "../../node_modules/graphql/error/GraphQLError.js":
4156
- /*!*******************************************************************!*\
4157
- !*** /root/amplify-js/node_modules/graphql/error/GraphQLError.js ***!
4158
- \*******************************************************************/
4159
- /*! no static exports found */
4160
- /***/ (function(module, exports, __webpack_require__) {
4161
-
4162
- "use strict";
4163
-
4164
-
4165
- Object.defineProperty(exports, "__esModule", {
4166
- value: true
4167
- });
4168
- exports.GraphQLError = GraphQLError;
4169
-
4170
- var _printError = __webpack_require__(/*! ./printError */ "../../node_modules/graphql/error/printError.js");
4171
-
4172
- var _location = __webpack_require__(/*! ../language/location */ "../../node_modules/graphql/language/location.js");
4173
-
4174
- /**
4175
- * Copyright (c) 2015-present, Facebook, Inc.
4176
- *
4177
- * This source code is licensed under the MIT license found in the
4178
- * LICENSE file in the root directory of this source tree.
4179
- *
4180
- * strict
4181
- */
4182
- function GraphQLError( // eslint-disable-line no-redeclare
4183
- message, nodes, source, positions, path, originalError, extensions) {
4184
- // Compute list of blame nodes.
4185
- var _nodes = Array.isArray(nodes) ? nodes.length !== 0 ? nodes : undefined : nodes ? [nodes] : undefined; // Compute locations in the source for the given nodes/positions.
4186
-
4187
-
4188
- var _source = source;
4189
-
4190
- if (!_source && _nodes) {
4191
- var node = _nodes[0];
4192
- _source = node && node.loc && node.loc.source;
4193
- }
4194
-
4195
- var _positions = positions;
4196
-
4197
- if (!_positions && _nodes) {
4198
- _positions = _nodes.reduce(function (list, node) {
4199
- if (node.loc) {
4200
- list.push(node.loc.start);
4201
- }
4202
-
4203
- return list;
4204
- }, []);
4205
- }
4206
-
4207
- if (_positions && _positions.length === 0) {
4208
- _positions = undefined;
4209
- }
4210
-
4211
- var _locations;
4212
-
4213
- if (positions && source) {
4214
- _locations = positions.map(function (pos) {
4215
- return (0, _location.getLocation)(source, pos);
4216
- });
4217
- } else if (_nodes) {
4218
- _locations = _nodes.reduce(function (list, node) {
4219
- if (node.loc) {
4220
- list.push((0, _location.getLocation)(node.loc.source, node.loc.start));
4221
- }
4222
-
4223
- return list;
4224
- }, []);
4225
- }
4226
-
4227
- var _extensions = extensions || originalError && originalError.extensions;
4228
-
4229
- Object.defineProperties(this, {
4230
- message: {
4231
- value: message,
4232
- // By being enumerable, JSON.stringify will include `message` in the
4233
- // resulting output. This ensures that the simplest possible GraphQL
4234
- // service adheres to the spec.
4235
- enumerable: true,
4236
- writable: true
4237
- },
4238
- locations: {
4239
- // Coercing falsey values to undefined ensures they will not be included
4240
- // in JSON.stringify() when not provided.
4241
- value: _locations || undefined,
4242
- // By being enumerable, JSON.stringify will include `locations` in the
4243
- // resulting output. This ensures that the simplest possible GraphQL
4244
- // service adheres to the spec.
4245
- enumerable: Boolean(_locations)
4246
- },
4247
- path: {
4248
- // Coercing falsey values to undefined ensures they will not be included
4249
- // in JSON.stringify() when not provided.
4250
- value: path || undefined,
4251
- // By being enumerable, JSON.stringify will include `path` in the
4252
- // resulting output. This ensures that the simplest possible GraphQL
4253
- // service adheres to the spec.
4254
- enumerable: Boolean(path)
4255
- },
4256
- nodes: {
4257
- value: _nodes || undefined
4258
- },
4259
- source: {
4260
- value: _source || undefined
4261
- },
4262
- positions: {
4263
- value: _positions || undefined
4264
- },
4265
- originalError: {
4266
- value: originalError
4267
- },
4268
- extensions: {
4269
- // Coercing falsey values to undefined ensures they will not be included
4270
- // in JSON.stringify() when not provided.
4271
- value: _extensions || undefined,
4272
- // By being enumerable, JSON.stringify will include `path` in the
4273
- // resulting output. This ensures that the simplest possible GraphQL
4274
- // service adheres to the spec.
4275
- enumerable: Boolean(_extensions)
4276
- }
4277
- }); // Include (non-enumerable) stack trace.
4278
-
4279
- if (originalError && originalError.stack) {
4280
- Object.defineProperty(this, 'stack', {
4281
- value: originalError.stack,
4282
- writable: true,
4283
- configurable: true
4284
- });
4285
- } else if (Error.captureStackTrace) {
4286
- Error.captureStackTrace(this, GraphQLError);
4287
- } else {
4288
- Object.defineProperty(this, 'stack', {
4289
- value: Error().stack,
4290
- writable: true,
4291
- configurable: true
4292
- });
4293
- }
4294
- }
4295
-
4296
- GraphQLError.prototype = Object.create(Error.prototype, {
4297
- constructor: {
4298
- value: GraphQLError
4299
- },
4300
- name: {
4301
- value: 'GraphQLError'
4302
- },
4303
- toString: {
4304
- value: function toString() {
4305
- return (0, _printError.printError)(this);
4306
- }
4307
- }
4308
- });
4309
-
4310
- /***/ }),
4311
-
4312
- /***/ "../../node_modules/graphql/error/printError.js":
4313
- /*!*****************************************************************!*\
4314
- !*** /root/amplify-js/node_modules/graphql/error/printError.js ***!
4315
- \*****************************************************************/
4316
- /*! no static exports found */
4317
- /***/ (function(module, exports, __webpack_require__) {
4318
-
4319
- "use strict";
4320
-
4321
-
4322
- Object.defineProperty(exports, "__esModule", {
4323
- value: true
4324
- });
4325
- exports.printError = printError;
4326
-
4327
- var _location = __webpack_require__(/*! ../language/location */ "../../node_modules/graphql/language/location.js");
4328
-
4329
- /**
4330
- * Copyright (c) 2015-present, Facebook, Inc.
4331
- *
4332
- * This source code is licensed under the MIT license found in the
4333
- * LICENSE file in the root directory of this source tree.
4334
- *
4335
- * strict
4336
- */
4337
-
4338
- /**
4339
- * Prints a GraphQLError to a string, representing useful location information
4340
- * about the error's position in the source.
4341
- */
4342
- function printError(error) {
4343
- var printedLocations = [];
4344
-
4345
- if (error.nodes) {
4346
- var _iteratorNormalCompletion = true;
4347
- var _didIteratorError = false;
4348
- var _iteratorError = undefined;
4349
-
4350
- try {
4351
- for (var _iterator = error.nodes[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true) {
4352
- var node = _step.value;
4353
-
4354
- if (node.loc) {
4355
- printedLocations.push(highlightSourceAtLocation(node.loc.source, (0, _location.getLocation)(node.loc.source, node.loc.start)));
4356
- }
4357
- }
4358
- } catch (err) {
4359
- _didIteratorError = true;
4360
- _iteratorError = err;
4361
- } finally {
4362
- try {
4363
- if (!_iteratorNormalCompletion && _iterator.return != null) {
4364
- _iterator.return();
4365
- }
4366
- } finally {
4367
- if (_didIteratorError) {
4368
- throw _iteratorError;
4369
- }
4370
- }
4371
- }
4372
- } else if (error.source && error.locations) {
4373
- var source = error.source;
4374
- var _iteratorNormalCompletion2 = true;
4375
- var _didIteratorError2 = false;
4376
- var _iteratorError2 = undefined;
4377
-
4378
- try {
4379
- for (var _iterator2 = error.locations[Symbol.iterator](), _step2; !(_iteratorNormalCompletion2 = (_step2 = _iterator2.next()).done); _iteratorNormalCompletion2 = true) {
4380
- var location = _step2.value;
4381
- printedLocations.push(highlightSourceAtLocation(source, location));
4382
- }
4383
- } catch (err) {
4384
- _didIteratorError2 = true;
4385
- _iteratorError2 = err;
4386
- } finally {
4387
- try {
4388
- if (!_iteratorNormalCompletion2 && _iterator2.return != null) {
4389
- _iterator2.return();
4390
- }
4391
- } finally {
4392
- if (_didIteratorError2) {
4393
- throw _iteratorError2;
4394
- }
4395
- }
4396
- }
4397
- }
4398
-
4399
- return printedLocations.length === 0 ? error.message : [error.message].concat(printedLocations).join('\n\n') + '\n';
4400
- }
4401
- /**
4402
- * Render a helpful description of the location of the error in the GraphQL
4403
- * Source document.
4404
- */
4405
-
4406
-
4407
- function highlightSourceAtLocation(source, location) {
4408
- var firstLineColumnOffset = source.locationOffset.column - 1;
4409
- var body = whitespace(firstLineColumnOffset) + source.body;
4410
- var lineIndex = location.line - 1;
4411
- var lineOffset = source.locationOffset.line - 1;
4412
- var lineNum = location.line + lineOffset;
4413
- var columnOffset = location.line === 1 ? firstLineColumnOffset : 0;
4414
- var columnNum = location.column + columnOffset;
4415
- var lines = body.split(/\r\n|[\n\r]/g);
4416
- return "".concat(source.name, " (").concat(lineNum, ":").concat(columnNum, ")\n") + printPrefixedLines([// Lines specified like this: ["prefix", "string"],
4417
- ["".concat(lineNum - 1, ": "), lines[lineIndex - 1]], ["".concat(lineNum, ": "), lines[lineIndex]], ['', whitespace(columnNum - 1) + '^'], ["".concat(lineNum + 1, ": "), lines[lineIndex + 1]]]);
4418
- }
4419
-
4420
- function printPrefixedLines(lines) {
4421
- var existingLines = lines.filter(function (_ref) {
4422
- var _ = _ref[0],
4423
- line = _ref[1];
4424
- return line !== undefined;
4425
- });
4426
- var padLen = 0;
4427
- var _iteratorNormalCompletion3 = true;
4428
- var _didIteratorError3 = false;
4429
- var _iteratorError3 = undefined;
4430
-
4431
- try {
4432
- for (var _iterator3 = existingLines[Symbol.iterator](), _step3; !(_iteratorNormalCompletion3 = (_step3 = _iterator3.next()).done); _iteratorNormalCompletion3 = true) {
4433
- var _ref4 = _step3.value;
4434
- var prefix = _ref4[0];
4435
- padLen = Math.max(padLen, prefix.length);
4436
- }
4437
- } catch (err) {
4438
- _didIteratorError3 = true;
4439
- _iteratorError3 = err;
4440
- } finally {
4441
- try {
4442
- if (!_iteratorNormalCompletion3 && _iterator3.return != null) {
4443
- _iterator3.return();
4444
- }
4445
- } finally {
4446
- if (_didIteratorError3) {
4447
- throw _iteratorError3;
4448
- }
4449
- }
4450
- }
4451
-
4452
- return existingLines.map(function (_ref3) {
4453
- var prefix = _ref3[0],
4454
- line = _ref3[1];
4455
- return lpad(padLen, prefix) + line;
4456
- }).join('\n');
4457
- }
4458
-
4459
- function whitespace(len) {
4460
- return Array(len + 1).join(' ');
4461
- }
4462
-
4463
- function lpad(len, str) {
4464
- return whitespace(len - str.length) + str;
4465
- }
4466
-
4467
- /***/ }),
4468
-
4469
- /***/ "../../node_modules/graphql/language/location.js":
4470
- /*!******************************************************************!*\
4471
- !*** /root/amplify-js/node_modules/graphql/language/location.js ***!
4472
- \******************************************************************/
4473
- /*! no static exports found */
4474
- /***/ (function(module, exports, __webpack_require__) {
4475
-
4476
- "use strict";
4477
-
4478
-
4479
- Object.defineProperty(exports, "__esModule", {
4480
- value: true
4481
- });
4482
- exports.getLocation = getLocation;
4483
-
4484
- /**
4485
- * Copyright (c) 2015-present, Facebook, Inc.
4486
- *
4487
- * This source code is licensed under the MIT license found in the
4488
- * LICENSE file in the root directory of this source tree.
4489
- *
4490
- * strict
4491
- */
4492
-
4493
- /**
4494
- * Represents a location in a Source.
4495
- */
4496
-
4497
- /**
4498
- * Takes a Source and a UTF-8 character offset, and returns the corresponding
4499
- * line and column as a SourceLocation.
4500
- */
4501
- function getLocation(source, position) {
4502
- var lineRegexp = /\r\n|[\n\r]/g;
4503
- var line = 1;
4504
- var column = position + 1;
4505
- var match;
4506
-
4507
- while ((match = lineRegexp.exec(source.body)) && match.index < position) {
4508
- line += 1;
4509
- column = position + 1 - (match.index + match[0].length);
4510
- }
4511
-
4512
- return {
4513
- line: line,
4514
- column: column
4515
- };
4516
- }
4517
-
4518
- /***/ }),
4519
-
4520
4155
  /***/ "../../node_modules/ieee754/index.js":
4521
4156
  /*!******************************************************!*\
4522
4157
  !*** /root/amplify-js/node_modules/ieee754/index.js ***!
@@ -8734,362 +8369,101 @@ module.exports = {
8734
8369
 
8735
8370
  /***/ }),
8736
8371
 
8737
- /***/ "../../node_modules/uuid/index.js":
8738
- /*!***************************************************!*\
8739
- !*** /root/amplify-js/node_modules/uuid/index.js ***!
8740
- \***************************************************/
8372
+ /***/ "../../node_modules/webpack/buildin/global.js":
8373
+ /*!***********************************!*\
8374
+ !*** (webpack)/buildin/global.js ***!
8375
+ \***********************************/
8741
8376
  /*! no static exports found */
8742
- /***/ (function(module, exports, __webpack_require__) {
8377
+ /***/ (function(module, exports) {
8743
8378
 
8744
- var v1 = __webpack_require__(/*! ./v1 */ "../../node_modules/uuid/v1.js");
8745
- var v4 = __webpack_require__(/*! ./v4 */ "../../node_modules/uuid/v4.js");
8379
+ var g;
8380
+
8381
+ // This works in non-strict mode
8382
+ g = (function() {
8383
+ return this;
8384
+ })();
8385
+
8386
+ try {
8387
+ // This works if eval is allowed (see CSP)
8388
+ g = g || new Function("return this")();
8389
+ } catch (e) {
8390
+ // This works if the window reference is available
8391
+ if (typeof window === "object") g = window;
8392
+ }
8746
8393
 
8747
- var uuid = v4;
8748
- uuid.v1 = v1;
8749
- uuid.v4 = v4;
8394
+ // g can still be undefined, but nothing to do about it...
8395
+ // We return undefined, instead of nothing here, so it's
8396
+ // easier to handle this case. if(!global) { ...}
8750
8397
 
8751
- module.exports = uuid;
8398
+ module.exports = g;
8752
8399
 
8753
8400
 
8754
8401
  /***/ }),
8755
8402
 
8756
- /***/ "../../node_modules/uuid/lib/bytesToUuid.js":
8757
- /*!*************************************************************!*\
8758
- !*** /root/amplify-js/node_modules/uuid/lib/bytesToUuid.js ***!
8759
- \*************************************************************/
8403
+ /***/ "../../node_modules/webpack/buildin/module.js":
8404
+ /*!***********************************!*\
8405
+ !*** (webpack)/buildin/module.js ***!
8406
+ \***********************************/
8760
8407
  /*! no static exports found */
8761
8408
  /***/ (function(module, exports) {
8762
8409
 
8763
- /**
8764
- * Convert array of 16 byte values to UUID string format of the form:
8765
- * XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX
8766
- */
8767
- var byteToHex = [];
8768
- for (var i = 0; i < 256; ++i) {
8769
- byteToHex[i] = (i + 0x100).toString(16).substr(1);
8770
- }
8771
-
8772
- function bytesToUuid(buf, offset) {
8773
- var i = offset || 0;
8774
- var bth = byteToHex;
8775
- // join used to fix memory issue caused by concatenation: https://bugs.chromium.org/p/v8/issues/detail?id=3175#c4
8776
- return ([
8777
- bth[buf[i++]], bth[buf[i++]],
8778
- bth[buf[i++]], bth[buf[i++]], '-',
8779
- bth[buf[i++]], bth[buf[i++]], '-',
8780
- bth[buf[i++]], bth[buf[i++]], '-',
8781
- bth[buf[i++]], bth[buf[i++]], '-',
8782
- bth[buf[i++]], bth[buf[i++]],
8783
- bth[buf[i++]], bth[buf[i++]],
8784
- bth[buf[i++]], bth[buf[i++]]
8785
- ]).join('');
8786
- }
8787
-
8788
- module.exports = bytesToUuid;
8410
+ module.exports = function(module) {
8411
+ if (!module.webpackPolyfill) {
8412
+ module.deprecate = function() {};
8413
+ module.paths = [];
8414
+ // module.parent = undefined by default
8415
+ if (!module.children) module.children = [];
8416
+ Object.defineProperty(module, "loaded", {
8417
+ enumerable: true,
8418
+ get: function() {
8419
+ return module.l;
8420
+ }
8421
+ });
8422
+ Object.defineProperty(module, "id", {
8423
+ enumerable: true,
8424
+ get: function() {
8425
+ return module.i;
8426
+ }
8427
+ });
8428
+ module.webpackPolyfill = 1;
8429
+ }
8430
+ return module;
8431
+ };
8789
8432
 
8790
8433
 
8791
8434
  /***/ }),
8792
8435
 
8793
- /***/ "../../node_modules/uuid/lib/rng-browser.js":
8794
- /*!*************************************************************!*\
8795
- !*** /root/amplify-js/node_modules/uuid/lib/rng-browser.js ***!
8796
- \*************************************************************/
8797
- /*! no static exports found */
8798
- /***/ (function(module, exports) {
8799
-
8800
- // Unique ID creation requires a high quality random # generator. In the
8801
- // browser this is a little complicated due to unknown quality of Math.random()
8802
- // and inconsistent support for the `crypto` API. We do the best we can via
8803
- // feature-detection
8436
+ /***/ "../../node_modules/zen-observable-ts/lib/bundle.esm.js":
8437
+ /*!*************************************************************************!*\
8438
+ !*** /root/amplify-js/node_modules/zen-observable-ts/lib/bundle.esm.js ***!
8439
+ \*************************************************************************/
8440
+ /*! exports provided: default, Observable */
8441
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
8804
8442
 
8805
- // getRandomValues needs to be invoked in a context where "this" is a Crypto
8806
- // implementation. Also, find the complete implementation of crypto on IE11.
8807
- var getRandomValues = (typeof(crypto) != 'undefined' && crypto.getRandomValues && crypto.getRandomValues.bind(crypto)) ||
8808
- (typeof(msCrypto) != 'undefined' && typeof window.msCrypto.getRandomValues == 'function' && msCrypto.getRandomValues.bind(msCrypto));
8443
+ "use strict";
8444
+ __webpack_require__.r(__webpack_exports__);
8445
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Observable", function() { return Observable; });
8446
+ /* harmony import */ var zen_observable__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! zen-observable */ "../../node_modules/zen-observable-ts/node_modules/zen-observable/index.js");
8447
+ /* harmony import */ var zen_observable__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(zen_observable__WEBPACK_IMPORTED_MODULE_0__);
8809
8448
 
8810
- if (getRandomValues) {
8811
- // WHATWG crypto RNG - http://wiki.whatwg.org/wiki/Crypto
8812
- var rnds8 = new Uint8Array(16); // eslint-disable-line no-undef
8813
8449
 
8814
- module.exports = function whatwgRNG() {
8815
- getRandomValues(rnds8);
8816
- return rnds8;
8817
- };
8818
- } else {
8819
- // Math.random()-based (RNG)
8820
- //
8821
- // If all else fails, use Math.random(). It's fast, but is of unspecified
8822
- // quality.
8823
- var rnds = new Array(16);
8450
+ var Observable = zen_observable__WEBPACK_IMPORTED_MODULE_0___default.a;
8824
8451
 
8825
- module.exports = function mathRNG() {
8826
- for (var i = 0, r; i < 16; i++) {
8827
- if ((i & 0x03) === 0) r = Math.random() * 0x100000000;
8828
- rnds[i] = r >>> ((i & 0x03) << 3) & 0xff;
8829
- }
8452
+ /* harmony default export */ __webpack_exports__["default"] = (Observable);
8830
8453
 
8831
- return rnds;
8832
- };
8833
- }
8454
+ //# sourceMappingURL=bundle.esm.js.map
8834
8455
 
8835
8456
 
8836
8457
  /***/ }),
8837
8458
 
8838
- /***/ "../../node_modules/uuid/v1.js":
8839
- /*!************************************************!*\
8840
- !*** /root/amplify-js/node_modules/uuid/v1.js ***!
8841
- \************************************************/
8459
+ /***/ "../../node_modules/zen-observable-ts/node_modules/zen-observable/index.js":
8460
+ /*!********************************************************************************************!*\
8461
+ !*** /root/amplify-js/node_modules/zen-observable-ts/node_modules/zen-observable/index.js ***!
8462
+ \********************************************************************************************/
8842
8463
  /*! no static exports found */
8843
8464
  /***/ (function(module, exports, __webpack_require__) {
8844
8465
 
8845
- var rng = __webpack_require__(/*! ./lib/rng */ "../../node_modules/uuid/lib/rng-browser.js");
8846
- var bytesToUuid = __webpack_require__(/*! ./lib/bytesToUuid */ "../../node_modules/uuid/lib/bytesToUuid.js");
8847
-
8848
- // **`v1()` - Generate time-based UUID**
8849
- //
8850
- // Inspired by https://github.com/LiosK/UUID.js
8851
- // and http://docs.python.org/library/uuid.html
8852
-
8853
- var _nodeId;
8854
- var _clockseq;
8855
-
8856
- // Previous uuid creation time
8857
- var _lastMSecs = 0;
8858
- var _lastNSecs = 0;
8859
-
8860
- // See https://github.com/uuidjs/uuid for API details
8861
- function v1(options, buf, offset) {
8862
- var i = buf && offset || 0;
8863
- var b = buf || [];
8864
-
8865
- options = options || {};
8866
- var node = options.node || _nodeId;
8867
- var clockseq = options.clockseq !== undefined ? options.clockseq : _clockseq;
8868
-
8869
- // node and clockseq need to be initialized to random values if they're not
8870
- // specified. We do this lazily to minimize issues related to insufficient
8871
- // system entropy. See #189
8872
- if (node == null || clockseq == null) {
8873
- var seedBytes = rng();
8874
- if (node == null) {
8875
- // Per 4.5, create and 48-bit node id, (47 random bits + multicast bit = 1)
8876
- node = _nodeId = [
8877
- seedBytes[0] | 0x01,
8878
- seedBytes[1], seedBytes[2], seedBytes[3], seedBytes[4], seedBytes[5]
8879
- ];
8880
- }
8881
- if (clockseq == null) {
8882
- // Per 4.2.2, randomize (14 bit) clockseq
8883
- clockseq = _clockseq = (seedBytes[6] << 8 | seedBytes[7]) & 0x3fff;
8884
- }
8885
- }
8886
-
8887
- // UUID timestamps are 100 nano-second units since the Gregorian epoch,
8888
- // (1582-10-15 00:00). JSNumbers aren't precise enough for this, so
8889
- // time is handled internally as 'msecs' (integer milliseconds) and 'nsecs'
8890
- // (100-nanoseconds offset from msecs) since unix epoch, 1970-01-01 00:00.
8891
- var msecs = options.msecs !== undefined ? options.msecs : new Date().getTime();
8892
-
8893
- // Per 4.2.1.2, use count of uuid's generated during the current clock
8894
- // cycle to simulate higher resolution clock
8895
- var nsecs = options.nsecs !== undefined ? options.nsecs : _lastNSecs + 1;
8896
-
8897
- // Time since last uuid creation (in msecs)
8898
- var dt = (msecs - _lastMSecs) + (nsecs - _lastNSecs)/10000;
8899
-
8900
- // Per 4.2.1.2, Bump clockseq on clock regression
8901
- if (dt < 0 && options.clockseq === undefined) {
8902
- clockseq = clockseq + 1 & 0x3fff;
8903
- }
8904
-
8905
- // Reset nsecs if clock regresses (new clockseq) or we've moved onto a new
8906
- // time interval
8907
- if ((dt < 0 || msecs > _lastMSecs) && options.nsecs === undefined) {
8908
- nsecs = 0;
8909
- }
8910
-
8911
- // Per 4.2.1.2 Throw error if too many uuids are requested
8912
- if (nsecs >= 10000) {
8913
- throw new Error('uuid.v1(): Can\'t create more than 10M uuids/sec');
8914
- }
8915
-
8916
- _lastMSecs = msecs;
8917
- _lastNSecs = nsecs;
8918
- _clockseq = clockseq;
8919
-
8920
- // Per 4.1.4 - Convert from unix epoch to Gregorian epoch
8921
- msecs += 12219292800000;
8922
-
8923
- // `time_low`
8924
- var tl = ((msecs & 0xfffffff) * 10000 + nsecs) % 0x100000000;
8925
- b[i++] = tl >>> 24 & 0xff;
8926
- b[i++] = tl >>> 16 & 0xff;
8927
- b[i++] = tl >>> 8 & 0xff;
8928
- b[i++] = tl & 0xff;
8929
-
8930
- // `time_mid`
8931
- var tmh = (msecs / 0x100000000 * 10000) & 0xfffffff;
8932
- b[i++] = tmh >>> 8 & 0xff;
8933
- b[i++] = tmh & 0xff;
8934
-
8935
- // `time_high_and_version`
8936
- b[i++] = tmh >>> 24 & 0xf | 0x10; // include version
8937
- b[i++] = tmh >>> 16 & 0xff;
8938
-
8939
- // `clock_seq_hi_and_reserved` (Per 4.2.2 - include variant)
8940
- b[i++] = clockseq >>> 8 | 0x80;
8941
-
8942
- // `clock_seq_low`
8943
- b[i++] = clockseq & 0xff;
8944
-
8945
- // `node`
8946
- for (var n = 0; n < 6; ++n) {
8947
- b[i + n] = node[n];
8948
- }
8949
-
8950
- return buf ? buf : bytesToUuid(b);
8951
- }
8952
-
8953
- module.exports = v1;
8954
-
8955
-
8956
- /***/ }),
8957
-
8958
- /***/ "../../node_modules/uuid/v4.js":
8959
- /*!************************************************!*\
8960
- !*** /root/amplify-js/node_modules/uuid/v4.js ***!
8961
- \************************************************/
8962
- /*! no static exports found */
8963
- /***/ (function(module, exports, __webpack_require__) {
8964
-
8965
- var rng = __webpack_require__(/*! ./lib/rng */ "../../node_modules/uuid/lib/rng-browser.js");
8966
- var bytesToUuid = __webpack_require__(/*! ./lib/bytesToUuid */ "../../node_modules/uuid/lib/bytesToUuid.js");
8967
-
8968
- function v4(options, buf, offset) {
8969
- var i = buf && offset || 0;
8970
-
8971
- if (typeof(options) == 'string') {
8972
- buf = options === 'binary' ? new Array(16) : null;
8973
- options = null;
8974
- }
8975
- options = options || {};
8976
-
8977
- var rnds = options.random || (options.rng || rng)();
8978
-
8979
- // Per 4.4, set bits for version and `clock_seq_hi_and_reserved`
8980
- rnds[6] = (rnds[6] & 0x0f) | 0x40;
8981
- rnds[8] = (rnds[8] & 0x3f) | 0x80;
8982
-
8983
- // Copy bytes to buffer, if provided
8984
- if (buf) {
8985
- for (var ii = 0; ii < 16; ++ii) {
8986
- buf[i + ii] = rnds[ii];
8987
- }
8988
- }
8989
-
8990
- return buf || bytesToUuid(rnds);
8991
- }
8992
-
8993
- module.exports = v4;
8994
-
8995
-
8996
- /***/ }),
8997
-
8998
- /***/ "../../node_modules/webpack/buildin/global.js":
8999
- /*!***********************************!*\
9000
- !*** (webpack)/buildin/global.js ***!
9001
- \***********************************/
9002
- /*! no static exports found */
9003
- /***/ (function(module, exports) {
9004
-
9005
- var g;
9006
-
9007
- // This works in non-strict mode
9008
- g = (function() {
9009
- return this;
9010
- })();
9011
-
9012
- try {
9013
- // This works if eval is allowed (see CSP)
9014
- g = g || new Function("return this")();
9015
- } catch (e) {
9016
- // This works if the window reference is available
9017
- if (typeof window === "object") g = window;
9018
- }
9019
-
9020
- // g can still be undefined, but nothing to do about it...
9021
- // We return undefined, instead of nothing here, so it's
9022
- // easier to handle this case. if(!global) { ...}
9023
-
9024
- module.exports = g;
9025
-
9026
-
9027
- /***/ }),
9028
-
9029
- /***/ "../../node_modules/webpack/buildin/module.js":
9030
- /*!***********************************!*\
9031
- !*** (webpack)/buildin/module.js ***!
9032
- \***********************************/
9033
- /*! no static exports found */
9034
- /***/ (function(module, exports) {
9035
-
9036
- module.exports = function(module) {
9037
- if (!module.webpackPolyfill) {
9038
- module.deprecate = function() {};
9039
- module.paths = [];
9040
- // module.parent = undefined by default
9041
- if (!module.children) module.children = [];
9042
- Object.defineProperty(module, "loaded", {
9043
- enumerable: true,
9044
- get: function() {
9045
- return module.l;
9046
- }
9047
- });
9048
- Object.defineProperty(module, "id", {
9049
- enumerable: true,
9050
- get: function() {
9051
- return module.i;
9052
- }
9053
- });
9054
- module.webpackPolyfill = 1;
9055
- }
9056
- return module;
9057
- };
9058
-
9059
-
9060
- /***/ }),
9061
-
9062
- /***/ "../../node_modules/zen-observable-ts/lib/bundle.esm.js":
9063
- /*!*************************************************************************!*\
9064
- !*** /root/amplify-js/node_modules/zen-observable-ts/lib/bundle.esm.js ***!
9065
- \*************************************************************************/
9066
- /*! exports provided: default, Observable */
9067
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
9068
-
9069
- "use strict";
9070
- __webpack_require__.r(__webpack_exports__);
9071
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Observable", function() { return Observable; });
9072
- /* harmony import */ var zen_observable__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! zen-observable */ "../../node_modules/zen-observable-ts/node_modules/zen-observable/index.js");
9073
- /* harmony import */ var zen_observable__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(zen_observable__WEBPACK_IMPORTED_MODULE_0__);
9074
-
9075
-
9076
- var Observable = zen_observable__WEBPACK_IMPORTED_MODULE_0___default.a;
9077
-
9078
- /* harmony default export */ __webpack_exports__["default"] = (Observable);
9079
-
9080
- //# sourceMappingURL=bundle.esm.js.map
9081
-
9082
-
9083
- /***/ }),
9084
-
9085
- /***/ "../../node_modules/zen-observable-ts/node_modules/zen-observable/index.js":
9086
- /*!********************************************************************************************!*\
9087
- !*** /root/amplify-js/node_modules/zen-observable-ts/node_modules/zen-observable/index.js ***!
9088
- \********************************************************************************************/
9089
- /*! no static exports found */
9090
- /***/ (function(module, exports, __webpack_require__) {
9091
-
9092
- module.exports = __webpack_require__(/*! ./lib/Observable.js */ "../../node_modules/zen-observable-ts/node_modules/zen-observable/lib/Observable.js").Observable;
8466
+ module.exports = __webpack_require__(/*! ./lib/Observable.js */ "../../node_modules/zen-observable-ts/node_modules/zen-observable/lib/Observable.js").Observable;
9093
8467
 
9094
8468
 
9095
8469
  /***/ }),
@@ -9734,21 +9108,17 @@ __webpack_require__.r(__webpack_exports__);
9734
9108
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "graphqlOperation", function() { return graphqlOperation; });
9735
9109
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "GraphQLAPIClass", function() { return GraphQLAPIClass; });
9736
9110
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "GraphQLAPI", function() { return GraphQLAPI; });
9737
- /* harmony import */ var graphql_error_GraphQLError__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! graphql/error/GraphQLError */ "../../node_modules/graphql/error/GraphQLError.js");
9738
- /* harmony import */ var graphql_error_GraphQLError__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(graphql_error_GraphQLError__WEBPACK_IMPORTED_MODULE_0__);
9739
- /* harmony import */ var graphql_language_printer__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! graphql/language/printer */ "graphql/language/printer");
9740
- /* harmony import */ var graphql_language_printer__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(graphql_language_printer__WEBPACK_IMPORTED_MODULE_1__);
9741
- /* harmony import */ var graphql_language_parser__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! graphql/language/parser */ "graphql/language/parser");
9742
- /* harmony import */ var graphql_language_parser__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(graphql_language_parser__WEBPACK_IMPORTED_MODULE_2__);
9743
- /* harmony import */ var _aws_amplify_core__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @aws-amplify/core */ "@aws-amplify/core");
9744
- /* harmony import */ var _aws_amplify_core__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_aws_amplify_core__WEBPACK_IMPORTED_MODULE_3__);
9745
- /* harmony import */ var _aws_amplify_pubsub__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @aws-amplify/pubsub */ "../pubsub/lib-esm/index.js");
9746
- /* harmony import */ var _aws_amplify_auth__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @aws-amplify/auth */ "@aws-amplify/auth");
9747
- /* harmony import */ var _aws_amplify_auth__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_aws_amplify_auth__WEBPACK_IMPORTED_MODULE_5__);
9748
- /* harmony import */ var _aws_amplify_cache__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @aws-amplify/cache */ "@aws-amplify/cache");
9749
- /* harmony import */ var _aws_amplify_cache__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_aws_amplify_cache__WEBPACK_IMPORTED_MODULE_6__);
9750
- /* harmony import */ var _types__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./types */ "../api-graphql/lib-esm/types/index.js");
9751
- /* harmony import */ var _aws_amplify_api_rest__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @aws-amplify/api-rest */ "../api-rest/lib-esm/index.js");
9111
+ /* harmony import */ var graphql__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! graphql */ "graphql");
9112
+ /* harmony import */ var graphql__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(graphql__WEBPACK_IMPORTED_MODULE_0__);
9113
+ /* harmony import */ var _aws_amplify_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @aws-amplify/core */ "@aws-amplify/core");
9114
+ /* harmony import */ var _aws_amplify_core__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_aws_amplify_core__WEBPACK_IMPORTED_MODULE_1__);
9115
+ /* harmony import */ var _aws_amplify_pubsub__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @aws-amplify/pubsub */ "../pubsub/lib-esm/index.js");
9116
+ /* harmony import */ var _aws_amplify_auth__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @aws-amplify/auth */ "@aws-amplify/auth");
9117
+ /* harmony import */ var _aws_amplify_auth__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_aws_amplify_auth__WEBPACK_IMPORTED_MODULE_3__);
9118
+ /* harmony import */ var _aws_amplify_cache__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @aws-amplify/cache */ "@aws-amplify/cache");
9119
+ /* harmony import */ var _aws_amplify_cache__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_aws_amplify_cache__WEBPACK_IMPORTED_MODULE_4__);
9120
+ /* harmony import */ var _types__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./types */ "../api-graphql/lib-esm/types/index.js");
9121
+ /* harmony import */ var _aws_amplify_api_rest__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @aws-amplify/api-rest */ "../api-rest/lib-esm/index.js");
9752
9122
  var __assign = undefined && undefined.__assign || function () {
9753
9123
  __assign = Object.assign || function (t) {
9754
9124
  for (var s, i = 1, n = arguments.length; i < n; i++) {
@@ -9968,10 +9338,8 @@ var __read = undefined && undefined.__read || function (o, n) {
9968
9338
 
9969
9339
 
9970
9340
 
9971
-
9972
-
9973
9341
  var USER_AGENT_HEADER = 'x-amz-user-agent';
9974
- var logger = new _aws_amplify_core__WEBPACK_IMPORTED_MODULE_3__["ConsoleLogger"]('GraphQLAPI');
9342
+ var logger = new _aws_amplify_core__WEBPACK_IMPORTED_MODULE_1__["ConsoleLogger"]('GraphQLAPI');
9975
9343
  var graphqlOperation = function graphqlOperation(query, variables, authToken) {
9976
9344
  if (variables === void 0) {
9977
9345
  variables = {};
@@ -9996,9 +9364,9 @@ function () {
9996
9364
  */
9997
9365
  function GraphQLAPIClass(options) {
9998
9366
  this._api = null;
9999
- this.Auth = _aws_amplify_auth__WEBPACK_IMPORTED_MODULE_5___default.a;
10000
- this.Cache = _aws_amplify_cache__WEBPACK_IMPORTED_MODULE_6___default.a;
10001
- this.Credentials = _aws_amplify_core__WEBPACK_IMPORTED_MODULE_3__["Credentials"];
9367
+ this.Auth = _aws_amplify_auth__WEBPACK_IMPORTED_MODULE_3___default.a;
9368
+ this.Cache = _aws_amplify_cache__WEBPACK_IMPORTED_MODULE_4___default.a;
9369
+ this.Credentials = _aws_amplify_core__WEBPACK_IMPORTED_MODULE_1__["Credentials"];
10002
9370
  this._options = options;
10003
9371
  logger.debug('API Options', this._options);
10004
9372
  }
@@ -10051,7 +9419,7 @@ function () {
10051
9419
  logger.debug('create Rest instance');
10052
9420
 
10053
9421
  if (this._options) {
10054
- this._api = new _aws_amplify_api_rest__WEBPACK_IMPORTED_MODULE_8__["RestClient"](this._options); // Share instance Credentials with client for SSR
9422
+ this._api = new _aws_amplify_api_rest__WEBPACK_IMPORTED_MODULE_6__["RestClient"](this._options); // Share instance Credentials with client for SSR
10055
9423
 
10056
9424
  this._api.Credentials = this.Credentials;
10057
9425
  return true;
@@ -10109,7 +9477,7 @@ function () {
10109
9477
 
10110
9478
  case 1:
10111
9479
  if (!apiKey) {
10112
- throw new Error(_types__WEBPACK_IMPORTED_MODULE_7__["GraphQLAuthError"].NO_API_KEY);
9480
+ throw new Error(_types__WEBPACK_IMPORTED_MODULE_5__["GraphQLAuthError"].NO_API_KEY);
10113
9481
  }
10114
9482
 
10115
9483
  headers = {
@@ -10129,7 +9497,7 @@ function () {
10129
9497
  credentialsOK = _c.sent();
10130
9498
 
10131
9499
  if (!credentialsOK) {
10132
- throw new Error(_types__WEBPACK_IMPORTED_MODULE_7__["GraphQLAuthError"].NO_CREDENTIALS);
9500
+ throw new Error(_types__WEBPACK_IMPORTED_MODULE_5__["GraphQLAuthError"].NO_CREDENTIALS);
10133
9501
  }
10134
9502
 
10135
9503
  return [3
@@ -10142,7 +9510,7 @@ function () {
10142
9510
  token = void 0;
10143
9511
  return [4
10144
9512
  /*yield*/
10145
- , _aws_amplify_cache__WEBPACK_IMPORTED_MODULE_6___default.a.getItem('federatedInfo')];
9513
+ , _aws_amplify_cache__WEBPACK_IMPORTED_MODULE_4___default.a.getItem('federatedInfo')];
10146
9514
 
10147
9515
  case 5:
10148
9516
  federatedInfo = _c.sent();
@@ -10157,7 +9525,7 @@ function () {
10157
9525
  case 6:
10158
9526
  return [4
10159
9527
  /*yield*/
10160
- , _aws_amplify_auth__WEBPACK_IMPORTED_MODULE_5___default.a.currentAuthenticatedUser()];
9528
+ , _aws_amplify_auth__WEBPACK_IMPORTED_MODULE_3___default.a.currentAuthenticatedUser()];
10161
9529
 
10162
9530
  case 7:
10163
9531
  currentUser = _c.sent();
@@ -10170,7 +9538,7 @@ function () {
10170
9538
 
10171
9539
  case 8:
10172
9540
  if (!token) {
10173
- throw new Error(_types__WEBPACK_IMPORTED_MODULE_7__["GraphQLAuthError"].NO_FEDERATED_JWT);
9541
+ throw new Error(_types__WEBPACK_IMPORTED_MODULE_5__["GraphQLAuthError"].NO_FEDERATED_JWT);
10174
9542
  }
10175
9543
 
10176
9544
  headers = {
@@ -10182,7 +9550,7 @@ function () {
10182
9550
 
10183
9551
  case 9:
10184
9552
  e_1 = _c.sent();
10185
- throw new Error(_types__WEBPACK_IMPORTED_MODULE_7__["GraphQLAuthError"].NO_CURRENT_USER);
9553
+ throw new Error(_types__WEBPACK_IMPORTED_MODULE_5__["GraphQLAuthError"].NO_CURRENT_USER);
10186
9554
 
10187
9555
  case 10:
10188
9556
  return [3
@@ -10207,7 +9575,7 @@ function () {
10207
9575
 
10208
9576
  case 13:
10209
9577
  e_2 = _c.sent();
10210
- throw new Error(_types__WEBPACK_IMPORTED_MODULE_7__["GraphQLAuthError"].NO_CURRENT_USER);
9578
+ throw new Error(_types__WEBPACK_IMPORTED_MODULE_5__["GraphQLAuthError"].NO_CURRENT_USER);
10211
9579
 
10212
9580
  case 14:
10213
9581
  return [3
@@ -10216,7 +9584,7 @@ function () {
10216
9584
 
10217
9585
  case 15:
10218
9586
  if (!additionalHeaders.Authorization) {
10219
- throw new Error(_types__WEBPACK_IMPORTED_MODULE_7__["GraphQLAuthError"].NO_AUTH_TOKEN);
9587
+ throw new Error(_types__WEBPACK_IMPORTED_MODULE_5__["GraphQLAuthError"].NO_AUTH_TOKEN);
10220
9588
  }
10221
9589
 
10222
9590
  headers = {
@@ -10249,9 +9617,10 @@ function () {
10249
9617
 
10250
9618
 
10251
9619
  GraphQLAPIClass.prototype.getGraphqlOperationType = function (operation) {
10252
- var doc = Object(graphql_language_parser__WEBPACK_IMPORTED_MODULE_2__["parse"])(operation);
9620
+ var doc = Object(graphql__WEBPACK_IMPORTED_MODULE_0__["parse"])(operation);
9621
+ var definitions = doc.definitions;
10253
9622
 
10254
- var _a = __read(doc.definitions, 1),
9623
+ var _a = __read(definitions, 1),
10255
9624
  operationType = _a[0].operation;
10256
9625
 
10257
9626
  return operationType;
@@ -10271,7 +9640,7 @@ function () {
10271
9640
  variables = _b === void 0 ? {} : _b,
10272
9641
  authMode = _a.authMode,
10273
9642
  authToken = _a.authToken;
10274
- var query = typeof paramQuery === 'string' ? Object(graphql_language_parser__WEBPACK_IMPORTED_MODULE_2__["parse"])(paramQuery) : Object(graphql_language_parser__WEBPACK_IMPORTED_MODULE_2__["parse"])(Object(graphql_language_printer__WEBPACK_IMPORTED_MODULE_1__["print"])(paramQuery));
9643
+ var query = typeof paramQuery === 'string' ? Object(graphql__WEBPACK_IMPORTED_MODULE_0__["parse"])(paramQuery) : Object(graphql__WEBPACK_IMPORTED_MODULE_0__["parse"])(Object(graphql__WEBPACK_IMPORTED_MODULE_0__["print"])(paramQuery));
10275
9644
 
10276
9645
  var _c = __read(query.definitions.filter(function (def) {
10277
9646
  return def.kind === 'OperationDefinition';
@@ -10405,9 +9774,9 @@ function () {
10405
9774
  })];
10406
9775
 
10407
9776
  case 9:
10408
- headers = __assign.apply(void 0, [__assign.apply(void 0, [__assign.apply(void 0, _j.concat([_l.sent()])), additionalHeaders]), !customGraphqlEndpoint && (_k = {}, _k[USER_AGENT_HEADER] = _aws_amplify_core__WEBPACK_IMPORTED_MODULE_3__["Constants"].userAgent, _k)]);
9777
+ headers = __assign.apply(void 0, [__assign.apply(void 0, [__assign.apply(void 0, _j.concat([_l.sent()])), additionalHeaders]), !customGraphqlEndpoint && (_k = {}, _k[USER_AGENT_HEADER] = _aws_amplify_core__WEBPACK_IMPORTED_MODULE_1__["Constants"].userAgent, _k)]);
10409
9778
  body = {
10410
- query: Object(graphql_language_printer__WEBPACK_IMPORTED_MODULE_1__["print"])(query),
9779
+ query: Object(graphql__WEBPACK_IMPORTED_MODULE_0__["print"])(query),
10411
9780
  variables: variables
10412
9781
  };
10413
9782
  init = Object.assign({
@@ -10421,7 +9790,7 @@ function () {
10421
9790
  endpoint = customGraphqlEndpoint || appSyncGraphqlEndpoint;
10422
9791
 
10423
9792
  if (!endpoint) {
10424
- error = new graphql_error_GraphQLError__WEBPACK_IMPORTED_MODULE_0__["GraphQLError"]('No graphql endpoint provided.');
9793
+ error = new graphql__WEBPACK_IMPORTED_MODULE_0__["GraphQLError"]('No graphql endpoint provided.');
10425
9794
  throw {
10426
9795
  data: {},
10427
9796
  errors: [error]
@@ -10454,7 +9823,7 @@ function () {
10454
9823
 
10455
9824
  response = {
10456
9825
  data: {},
10457
- errors: [new graphql_error_GraphQLError__WEBPACK_IMPORTED_MODULE_0__["GraphQLError"](err_1.message, null, null, null, null, err_1)]
9826
+ errors: [new graphql__WEBPACK_IMPORTED_MODULE_0__["GraphQLError"](err_1.message, null, null, null, null, err_1)]
10458
9827
  };
10459
9828
  return [3
10460
9829
  /*break*/
@@ -10516,13 +9885,13 @@ function () {
10516
9885
  } : _c;
10517
9886
  var authenticationType = defaultAuthenticationType || aws_appsync_authenticationType || 'AWS_IAM';
10518
9887
 
10519
- if (_aws_amplify_pubsub__WEBPACK_IMPORTED_MODULE_4__["default"] && typeof _aws_amplify_pubsub__WEBPACK_IMPORTED_MODULE_4__["default"].subscribe === 'function') {
10520
- return _aws_amplify_pubsub__WEBPACK_IMPORTED_MODULE_4__["default"].subscribe('', {
10521
- provider: _aws_amplify_core__WEBPACK_IMPORTED_MODULE_3__["INTERNAL_AWS_APPSYNC_REALTIME_PUBSUB_PROVIDER"],
9888
+ if (_aws_amplify_pubsub__WEBPACK_IMPORTED_MODULE_2__["default"] && typeof _aws_amplify_pubsub__WEBPACK_IMPORTED_MODULE_2__["default"].subscribe === 'function') {
9889
+ return _aws_amplify_pubsub__WEBPACK_IMPORTED_MODULE_2__["default"].subscribe('', {
9890
+ provider: _aws_amplify_core__WEBPACK_IMPORTED_MODULE_1__["INTERNAL_AWS_APPSYNC_REALTIME_PUBSUB_PROVIDER"],
10522
9891
  appSyncGraphqlEndpoint: appSyncGraphqlEndpoint,
10523
9892
  authenticationType: authenticationType,
10524
9893
  apiKey: apiKey,
10525
- query: Object(graphql_language_printer__WEBPACK_IMPORTED_MODULE_1__["print"])(query),
9894
+ query: Object(graphql__WEBPACK_IMPORTED_MODULE_0__["print"])(query),
10526
9895
  region: region,
10527
9896
  variables: variables,
10528
9897
  graphql_headers: graphql_headers,
@@ -10560,7 +9929,7 @@ function () {
10560
9929
 
10561
9930
 
10562
9931
  var GraphQLAPI = new GraphQLAPIClass(null);
10563
- _aws_amplify_core__WEBPACK_IMPORTED_MODULE_3__["Amplify"].register(GraphQLAPI);
9932
+ _aws_amplify_core__WEBPACK_IMPORTED_MODULE_1__["Amplify"].register(GraphQLAPI);
10564
9933
 
10565
9934
  /***/ }),
10566
9935
 
@@ -12403,8 +11772,7 @@ __webpack_require__.r(__webpack_exports__);
12403
11772
  /* harmony import */ var graphql__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(graphql__WEBPACK_IMPORTED_MODULE_1__);
12404
11773
  /* harmony import */ var url__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! url */ "../../node_modules/url/url.js");
12405
11774
  /* harmony import */ var url__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(url__WEBPACK_IMPORTED_MODULE_2__);
12406
- /* harmony import */ var uuid__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! uuid */ "../../node_modules/uuid/index.js");
12407
- /* harmony import */ var uuid__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(uuid__WEBPACK_IMPORTED_MODULE_3__);
11775
+ /* harmony import */ var uuid__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! uuid */ "../pubsub/node_modules/uuid/dist/esm-browser/index.js");
12408
11776
  /* harmony import */ var buffer__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! buffer */ "../../node_modules/buffer/index.js");
12409
11777
  /* harmony import */ var buffer__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(buffer__WEBPACK_IMPORTED_MODULE_4__);
12410
11778
  /* harmony import */ var _aws_amplify_core__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @aws-amplify/core */ "@aws-amplify/core");
@@ -14051,8 +13419,7 @@ __webpack_require__.r(__webpack_exports__);
14051
13419
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "MqttOverWSProvider", function() { return MqttOverWSProvider; });
14052
13420
  /* harmony import */ var paho_mqtt__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! paho-mqtt */ "../../node_modules/paho-mqtt/paho-mqtt.js");
14053
13421
  /* harmony import */ var paho_mqtt__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(paho_mqtt__WEBPACK_IMPORTED_MODULE_0__);
14054
- /* harmony import */ var uuid__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! uuid */ "../../node_modules/uuid/index.js");
14055
- /* harmony import */ var uuid__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(uuid__WEBPACK_IMPORTED_MODULE_1__);
13422
+ /* harmony import */ var uuid__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! uuid */ "../pubsub/node_modules/uuid/dist/esm-browser/index.js");
14056
13423
  /* harmony import */ var zen_observable_ts__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! zen-observable-ts */ "../../node_modules/zen-observable-ts/lib/bundle.esm.js");
14057
13424
  /* harmony import */ var _PubSubProvider__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./PubSubProvider */ "../pubsub/lib-esm/Providers/PubSubProvider.js");
14058
13425
  /* harmony import */ var _aws_amplify_core__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @aws-amplify/core */ "@aws-amplify/core");
@@ -15313,77 +14680,916 @@ var CONTROL_MSG;
15313
14680
 
15314
14681
  /***/ }),
15315
14682
 
15316
- /***/ "./lib-esm/API.js":
15317
- /*!************************!*\
15318
- !*** ./lib-esm/API.js ***!
15319
- \************************/
15320
- /*! exports provided: APIClass, API */
14683
+ /***/ "../pubsub/node_modules/uuid/dist/esm-browser/index.js":
14684
+ /*!*************************************************************!*\
14685
+ !*** ../pubsub/node_modules/uuid/dist/esm-browser/index.js ***!
14686
+ \*************************************************************/
14687
+ /*! exports provided: v1, v3, v4, v5, NIL, version, validate, stringify, parse */
15321
14688
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
15322
14689
 
15323
14690
  "use strict";
15324
14691
  __webpack_require__.r(__webpack_exports__);
15325
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "APIClass", function() { return APIClass; });
15326
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "API", function() { return API; });
15327
- /* harmony import */ var _aws_amplify_auth__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @aws-amplify/auth */ "@aws-amplify/auth");
15328
- /* harmony import */ var _aws_amplify_auth__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_aws_amplify_auth__WEBPACK_IMPORTED_MODULE_0__);
15329
- /* harmony import */ var _aws_amplify_cache__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @aws-amplify/cache */ "@aws-amplify/cache");
15330
- /* harmony import */ var _aws_amplify_cache__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_aws_amplify_cache__WEBPACK_IMPORTED_MODULE_1__);
15331
- /* harmony import */ var _aws_amplify_api_rest__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @aws-amplify/api-rest */ "../api-rest/lib-esm/index.js");
15332
- /* harmony import */ var _aws_amplify_api_graphql__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @aws-amplify/api-graphql */ "../api-graphql/lib-esm/index.js");
15333
- /* harmony import */ var _aws_amplify_core__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @aws-amplify/core */ "@aws-amplify/core");
15334
- /* harmony import */ var _aws_amplify_core__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_aws_amplify_core__WEBPACK_IMPORTED_MODULE_4__);
15335
- var __assign = undefined && undefined.__assign || function () {
15336
- __assign = Object.assign || function (t) {
15337
- for (var s, i = 1, n = arguments.length; i < n; i++) {
15338
- s = arguments[i];
14692
+ /* harmony import */ var _v1_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./v1.js */ "../pubsub/node_modules/uuid/dist/esm-browser/v1.js");
14693
+ /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "v1", function() { return _v1_js__WEBPACK_IMPORTED_MODULE_0__["default"]; });
15339
14694
 
15340
- for (var p in s) {
15341
- if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
15342
- }
15343
- }
14695
+ /* harmony import */ var _v3_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./v3.js */ "../pubsub/node_modules/uuid/dist/esm-browser/v3.js");
14696
+ /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "v3", function() { return _v3_js__WEBPACK_IMPORTED_MODULE_1__["default"]; });
15344
14697
 
15345
- return t;
15346
- };
14698
+ /* harmony import */ var _v4_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./v4.js */ "../pubsub/node_modules/uuid/dist/esm-browser/v4.js");
14699
+ /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "v4", function() { return _v4_js__WEBPACK_IMPORTED_MODULE_2__["default"]; });
15347
14700
 
15348
- return __assign.apply(this, arguments);
15349
- };
14701
+ /* harmony import */ var _v5_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./v5.js */ "../pubsub/node_modules/uuid/dist/esm-browser/v5.js");
14702
+ /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "v5", function() { return _v5_js__WEBPACK_IMPORTED_MODULE_3__["default"]; });
15350
14703
 
15351
- var __awaiter = undefined && undefined.__awaiter || function (thisArg, _arguments, P, generator) {
15352
- function adopt(value) {
15353
- return value instanceof P ? value : new P(function (resolve) {
15354
- resolve(value);
15355
- });
15356
- }
14704
+ /* harmony import */ var _nil_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./nil.js */ "../pubsub/node_modules/uuid/dist/esm-browser/nil.js");
14705
+ /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "NIL", function() { return _nil_js__WEBPACK_IMPORTED_MODULE_4__["default"]; });
15357
14706
 
15358
- return new (P || (P = Promise))(function (resolve, reject) {
15359
- function fulfilled(value) {
15360
- try {
15361
- step(generator.next(value));
15362
- } catch (e) {
15363
- reject(e);
15364
- }
15365
- }
14707
+ /* harmony import */ var _version_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./version.js */ "../pubsub/node_modules/uuid/dist/esm-browser/version.js");
14708
+ /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "version", function() { return _version_js__WEBPACK_IMPORTED_MODULE_5__["default"]; });
15366
14709
 
15367
- function rejected(value) {
15368
- try {
15369
- step(generator["throw"](value));
15370
- } catch (e) {
15371
- reject(e);
15372
- }
15373
- }
14710
+ /* harmony import */ var _validate_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./validate.js */ "../pubsub/node_modules/uuid/dist/esm-browser/validate.js");
14711
+ /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "validate", function() { return _validate_js__WEBPACK_IMPORTED_MODULE_6__["default"]; });
15374
14712
 
15375
- function step(result) {
15376
- result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected);
15377
- }
14713
+ /* harmony import */ var _stringify_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./stringify.js */ "../pubsub/node_modules/uuid/dist/esm-browser/stringify.js");
14714
+ /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "stringify", function() { return _stringify_js__WEBPACK_IMPORTED_MODULE_7__["default"]; });
15378
14715
 
15379
- step((generator = generator.apply(thisArg, _arguments || [])).next());
15380
- });
15381
- };
14716
+ /* harmony import */ var _parse_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./parse.js */ "../pubsub/node_modules/uuid/dist/esm-browser/parse.js");
14717
+ /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "parse", function() { return _parse_js__WEBPACK_IMPORTED_MODULE_8__["default"]; });
15382
14718
 
15383
- var __generator = undefined && undefined.__generator || function (thisArg, body) {
15384
- var _ = {
15385
- label: 0,
15386
- sent: function sent() {
14719
+
14720
+
14721
+
14722
+
14723
+
14724
+
14725
+
14726
+
14727
+
14728
+
14729
+ /***/ }),
14730
+
14731
+ /***/ "../pubsub/node_modules/uuid/dist/esm-browser/md5.js":
14732
+ /*!***********************************************************!*\
14733
+ !*** ../pubsub/node_modules/uuid/dist/esm-browser/md5.js ***!
14734
+ \***********************************************************/
14735
+ /*! exports provided: default */
14736
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
14737
+
14738
+ "use strict";
14739
+ __webpack_require__.r(__webpack_exports__);
14740
+ /*
14741
+ * Browser-compatible JavaScript MD5
14742
+ *
14743
+ * Modification of JavaScript MD5
14744
+ * https://github.com/blueimp/JavaScript-MD5
14745
+ *
14746
+ * Copyright 2011, Sebastian Tschan
14747
+ * https://blueimp.net
14748
+ *
14749
+ * Licensed under the MIT license:
14750
+ * https://opensource.org/licenses/MIT
14751
+ *
14752
+ * Based on
14753
+ * A JavaScript implementation of the RSA Data Security, Inc. MD5 Message
14754
+ * Digest Algorithm, as defined in RFC 1321.
14755
+ * Version 2.2 Copyright (C) Paul Johnston 1999 - 2009
14756
+ * Other contributors: Greg Holt, Andrew Kepert, Ydnar, Lostinet
14757
+ * Distributed under the BSD License
14758
+ * See http://pajhome.org.uk/crypt/md5 for more info.
14759
+ */
14760
+ function md5(bytes) {
14761
+ if (typeof bytes === 'string') {
14762
+ var msg = unescape(encodeURIComponent(bytes)); // UTF8 escape
14763
+
14764
+ bytes = new Uint8Array(msg.length);
14765
+
14766
+ for (var i = 0; i < msg.length; ++i) {
14767
+ bytes[i] = msg.charCodeAt(i);
14768
+ }
14769
+ }
14770
+
14771
+ return md5ToHexEncodedArray(wordsToMd5(bytesToWords(bytes), bytes.length * 8));
14772
+ }
14773
+ /*
14774
+ * Convert an array of little-endian words to an array of bytes
14775
+ */
14776
+
14777
+
14778
+ function md5ToHexEncodedArray(input) {
14779
+ var output = [];
14780
+ var length32 = input.length * 32;
14781
+ var hexTab = '0123456789abcdef';
14782
+
14783
+ for (var i = 0; i < length32; i += 8) {
14784
+ var x = input[i >> 5] >>> i % 32 & 0xff;
14785
+ var hex = parseInt(hexTab.charAt(x >>> 4 & 0x0f) + hexTab.charAt(x & 0x0f), 16);
14786
+ output.push(hex);
14787
+ }
14788
+
14789
+ return output;
14790
+ }
14791
+ /**
14792
+ * Calculate output length with padding and bit length
14793
+ */
14794
+
14795
+
14796
+ function getOutputLength(inputLength8) {
14797
+ return (inputLength8 + 64 >>> 9 << 4) + 14 + 1;
14798
+ }
14799
+ /*
14800
+ * Calculate the MD5 of an array of little-endian words, and a bit length.
14801
+ */
14802
+
14803
+
14804
+ function wordsToMd5(x, len) {
14805
+ /* append padding */
14806
+ x[len >> 5] |= 0x80 << len % 32;
14807
+ x[getOutputLength(len) - 1] = len;
14808
+ var a = 1732584193;
14809
+ var b = -271733879;
14810
+ var c = -1732584194;
14811
+ var d = 271733878;
14812
+
14813
+ for (var i = 0; i < x.length; i += 16) {
14814
+ var olda = a;
14815
+ var oldb = b;
14816
+ var oldc = c;
14817
+ var oldd = d;
14818
+ a = md5ff(a, b, c, d, x[i], 7, -680876936);
14819
+ d = md5ff(d, a, b, c, x[i + 1], 12, -389564586);
14820
+ c = md5ff(c, d, a, b, x[i + 2], 17, 606105819);
14821
+ b = md5ff(b, c, d, a, x[i + 3], 22, -1044525330);
14822
+ a = md5ff(a, b, c, d, x[i + 4], 7, -176418897);
14823
+ d = md5ff(d, a, b, c, x[i + 5], 12, 1200080426);
14824
+ c = md5ff(c, d, a, b, x[i + 6], 17, -1473231341);
14825
+ b = md5ff(b, c, d, a, x[i + 7], 22, -45705983);
14826
+ a = md5ff(a, b, c, d, x[i + 8], 7, 1770035416);
14827
+ d = md5ff(d, a, b, c, x[i + 9], 12, -1958414417);
14828
+ c = md5ff(c, d, a, b, x[i + 10], 17, -42063);
14829
+ b = md5ff(b, c, d, a, x[i + 11], 22, -1990404162);
14830
+ a = md5ff(a, b, c, d, x[i + 12], 7, 1804603682);
14831
+ d = md5ff(d, a, b, c, x[i + 13], 12, -40341101);
14832
+ c = md5ff(c, d, a, b, x[i + 14], 17, -1502002290);
14833
+ b = md5ff(b, c, d, a, x[i + 15], 22, 1236535329);
14834
+ a = md5gg(a, b, c, d, x[i + 1], 5, -165796510);
14835
+ d = md5gg(d, a, b, c, x[i + 6], 9, -1069501632);
14836
+ c = md5gg(c, d, a, b, x[i + 11], 14, 643717713);
14837
+ b = md5gg(b, c, d, a, x[i], 20, -373897302);
14838
+ a = md5gg(a, b, c, d, x[i + 5], 5, -701558691);
14839
+ d = md5gg(d, a, b, c, x[i + 10], 9, 38016083);
14840
+ c = md5gg(c, d, a, b, x[i + 15], 14, -660478335);
14841
+ b = md5gg(b, c, d, a, x[i + 4], 20, -405537848);
14842
+ a = md5gg(a, b, c, d, x[i + 9], 5, 568446438);
14843
+ d = md5gg(d, a, b, c, x[i + 14], 9, -1019803690);
14844
+ c = md5gg(c, d, a, b, x[i + 3], 14, -187363961);
14845
+ b = md5gg(b, c, d, a, x[i + 8], 20, 1163531501);
14846
+ a = md5gg(a, b, c, d, x[i + 13], 5, -1444681467);
14847
+ d = md5gg(d, a, b, c, x[i + 2], 9, -51403784);
14848
+ c = md5gg(c, d, a, b, x[i + 7], 14, 1735328473);
14849
+ b = md5gg(b, c, d, a, x[i + 12], 20, -1926607734);
14850
+ a = md5hh(a, b, c, d, x[i + 5], 4, -378558);
14851
+ d = md5hh(d, a, b, c, x[i + 8], 11, -2022574463);
14852
+ c = md5hh(c, d, a, b, x[i + 11], 16, 1839030562);
14853
+ b = md5hh(b, c, d, a, x[i + 14], 23, -35309556);
14854
+ a = md5hh(a, b, c, d, x[i + 1], 4, -1530992060);
14855
+ d = md5hh(d, a, b, c, x[i + 4], 11, 1272893353);
14856
+ c = md5hh(c, d, a, b, x[i + 7], 16, -155497632);
14857
+ b = md5hh(b, c, d, a, x[i + 10], 23, -1094730640);
14858
+ a = md5hh(a, b, c, d, x[i + 13], 4, 681279174);
14859
+ d = md5hh(d, a, b, c, x[i], 11, -358537222);
14860
+ c = md5hh(c, d, a, b, x[i + 3], 16, -722521979);
14861
+ b = md5hh(b, c, d, a, x[i + 6], 23, 76029189);
14862
+ a = md5hh(a, b, c, d, x[i + 9], 4, -640364487);
14863
+ d = md5hh(d, a, b, c, x[i + 12], 11, -421815835);
14864
+ c = md5hh(c, d, a, b, x[i + 15], 16, 530742520);
14865
+ b = md5hh(b, c, d, a, x[i + 2], 23, -995338651);
14866
+ a = md5ii(a, b, c, d, x[i], 6, -198630844);
14867
+ d = md5ii(d, a, b, c, x[i + 7], 10, 1126891415);
14868
+ c = md5ii(c, d, a, b, x[i + 14], 15, -1416354905);
14869
+ b = md5ii(b, c, d, a, x[i + 5], 21, -57434055);
14870
+ a = md5ii(a, b, c, d, x[i + 12], 6, 1700485571);
14871
+ d = md5ii(d, a, b, c, x[i + 3], 10, -1894986606);
14872
+ c = md5ii(c, d, a, b, x[i + 10], 15, -1051523);
14873
+ b = md5ii(b, c, d, a, x[i + 1], 21, -2054922799);
14874
+ a = md5ii(a, b, c, d, x[i + 8], 6, 1873313359);
14875
+ d = md5ii(d, a, b, c, x[i + 15], 10, -30611744);
14876
+ c = md5ii(c, d, a, b, x[i + 6], 15, -1560198380);
14877
+ b = md5ii(b, c, d, a, x[i + 13], 21, 1309151649);
14878
+ a = md5ii(a, b, c, d, x[i + 4], 6, -145523070);
14879
+ d = md5ii(d, a, b, c, x[i + 11], 10, -1120210379);
14880
+ c = md5ii(c, d, a, b, x[i + 2], 15, 718787259);
14881
+ b = md5ii(b, c, d, a, x[i + 9], 21, -343485551);
14882
+ a = safeAdd(a, olda);
14883
+ b = safeAdd(b, oldb);
14884
+ c = safeAdd(c, oldc);
14885
+ d = safeAdd(d, oldd);
14886
+ }
14887
+
14888
+ return [a, b, c, d];
14889
+ }
14890
+ /*
14891
+ * Convert an array bytes to an array of little-endian words
14892
+ * Characters >255 have their high-byte silently ignored.
14893
+ */
14894
+
14895
+
14896
+ function bytesToWords(input) {
14897
+ if (input.length === 0) {
14898
+ return [];
14899
+ }
14900
+
14901
+ var length8 = input.length * 8;
14902
+ var output = new Uint32Array(getOutputLength(length8));
14903
+
14904
+ for (var i = 0; i < length8; i += 8) {
14905
+ output[i >> 5] |= (input[i / 8] & 0xff) << i % 32;
14906
+ }
14907
+
14908
+ return output;
14909
+ }
14910
+ /*
14911
+ * Add integers, wrapping at 2^32. This uses 16-bit operations internally
14912
+ * to work around bugs in some JS interpreters.
14913
+ */
14914
+
14915
+
14916
+ function safeAdd(x, y) {
14917
+ var lsw = (x & 0xffff) + (y & 0xffff);
14918
+ var msw = (x >> 16) + (y >> 16) + (lsw >> 16);
14919
+ return msw << 16 | lsw & 0xffff;
14920
+ }
14921
+ /*
14922
+ * Bitwise rotate a 32-bit number to the left.
14923
+ */
14924
+
14925
+
14926
+ function bitRotateLeft(num, cnt) {
14927
+ return num << cnt | num >>> 32 - cnt;
14928
+ }
14929
+ /*
14930
+ * These functions implement the four basic operations the algorithm uses.
14931
+ */
14932
+
14933
+
14934
+ function md5cmn(q, a, b, x, s, t) {
14935
+ return safeAdd(bitRotateLeft(safeAdd(safeAdd(a, q), safeAdd(x, t)), s), b);
14936
+ }
14937
+
14938
+ function md5ff(a, b, c, d, x, s, t) {
14939
+ return md5cmn(b & c | ~b & d, a, b, x, s, t);
14940
+ }
14941
+
14942
+ function md5gg(a, b, c, d, x, s, t) {
14943
+ return md5cmn(b & d | c & ~d, a, b, x, s, t);
14944
+ }
14945
+
14946
+ function md5hh(a, b, c, d, x, s, t) {
14947
+ return md5cmn(b ^ c ^ d, a, b, x, s, t);
14948
+ }
14949
+
14950
+ function md5ii(a, b, c, d, x, s, t) {
14951
+ return md5cmn(c ^ (b | ~d), a, b, x, s, t);
14952
+ }
14953
+
14954
+ /* harmony default export */ __webpack_exports__["default"] = (md5);
14955
+
14956
+ /***/ }),
14957
+
14958
+ /***/ "../pubsub/node_modules/uuid/dist/esm-browser/nil.js":
14959
+ /*!***********************************************************!*\
14960
+ !*** ../pubsub/node_modules/uuid/dist/esm-browser/nil.js ***!
14961
+ \***********************************************************/
14962
+ /*! exports provided: default */
14963
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
14964
+
14965
+ "use strict";
14966
+ __webpack_require__.r(__webpack_exports__);
14967
+ /* harmony default export */ __webpack_exports__["default"] = ('00000000-0000-0000-0000-000000000000');
14968
+
14969
+ /***/ }),
14970
+
14971
+ /***/ "../pubsub/node_modules/uuid/dist/esm-browser/parse.js":
14972
+ /*!*************************************************************!*\
14973
+ !*** ../pubsub/node_modules/uuid/dist/esm-browser/parse.js ***!
14974
+ \*************************************************************/
14975
+ /*! exports provided: default */
14976
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
14977
+
14978
+ "use strict";
14979
+ __webpack_require__.r(__webpack_exports__);
14980
+ /* harmony import */ var _validate_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./validate.js */ "../pubsub/node_modules/uuid/dist/esm-browser/validate.js");
14981
+
14982
+
14983
+ function parse(uuid) {
14984
+ if (!Object(_validate_js__WEBPACK_IMPORTED_MODULE_0__["default"])(uuid)) {
14985
+ throw TypeError('Invalid UUID');
14986
+ }
14987
+
14988
+ var v;
14989
+ var arr = new Uint8Array(16); // Parse ########-....-....-....-............
14990
+
14991
+ arr[0] = (v = parseInt(uuid.slice(0, 8), 16)) >>> 24;
14992
+ arr[1] = v >>> 16 & 0xff;
14993
+ arr[2] = v >>> 8 & 0xff;
14994
+ arr[3] = v & 0xff; // Parse ........-####-....-....-............
14995
+
14996
+ arr[4] = (v = parseInt(uuid.slice(9, 13), 16)) >>> 8;
14997
+ arr[5] = v & 0xff; // Parse ........-....-####-....-............
14998
+
14999
+ arr[6] = (v = parseInt(uuid.slice(14, 18), 16)) >>> 8;
15000
+ arr[7] = v & 0xff; // Parse ........-....-....-####-............
15001
+
15002
+ arr[8] = (v = parseInt(uuid.slice(19, 23), 16)) >>> 8;
15003
+ arr[9] = v & 0xff; // Parse ........-....-....-....-############
15004
+ // (Use "/" to avoid 32-bit truncation when bit-shifting high-order bytes)
15005
+
15006
+ arr[10] = (v = parseInt(uuid.slice(24, 36), 16)) / 0x10000000000 & 0xff;
15007
+ arr[11] = v / 0x100000000 & 0xff;
15008
+ arr[12] = v >>> 24 & 0xff;
15009
+ arr[13] = v >>> 16 & 0xff;
15010
+ arr[14] = v >>> 8 & 0xff;
15011
+ arr[15] = v & 0xff;
15012
+ return arr;
15013
+ }
15014
+
15015
+ /* harmony default export */ __webpack_exports__["default"] = (parse);
15016
+
15017
+ /***/ }),
15018
+
15019
+ /***/ "../pubsub/node_modules/uuid/dist/esm-browser/regex.js":
15020
+ /*!*************************************************************!*\
15021
+ !*** ../pubsub/node_modules/uuid/dist/esm-browser/regex.js ***!
15022
+ \*************************************************************/
15023
+ /*! exports provided: default */
15024
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
15025
+
15026
+ "use strict";
15027
+ __webpack_require__.r(__webpack_exports__);
15028
+ /* harmony default export */ __webpack_exports__["default"] = (/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i);
15029
+
15030
+ /***/ }),
15031
+
15032
+ /***/ "../pubsub/node_modules/uuid/dist/esm-browser/rng.js":
15033
+ /*!***********************************************************!*\
15034
+ !*** ../pubsub/node_modules/uuid/dist/esm-browser/rng.js ***!
15035
+ \***********************************************************/
15036
+ /*! exports provided: default */
15037
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
15038
+
15039
+ "use strict";
15040
+ __webpack_require__.r(__webpack_exports__);
15041
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return rng; });
15042
+ // Unique ID creation requires a high quality random # generator. In the browser we therefore
15043
+ // require the crypto API and do not support built-in fallback to lower quality random number
15044
+ // generators (like Math.random()).
15045
+ var getRandomValues;
15046
+ var rnds8 = new Uint8Array(16);
15047
+ function rng() {
15048
+ // lazy load so that environments that need to polyfill have a chance to do so
15049
+ if (!getRandomValues) {
15050
+ // getRandomValues needs to be invoked in a context where "this" is a Crypto implementation. Also,
15051
+ // find the complete implementation of crypto (msCrypto) on IE11.
15052
+ getRandomValues = typeof crypto !== 'undefined' && crypto.getRandomValues && crypto.getRandomValues.bind(crypto) || typeof msCrypto !== 'undefined' && typeof msCrypto.getRandomValues === 'function' && msCrypto.getRandomValues.bind(msCrypto);
15053
+
15054
+ if (!getRandomValues) {
15055
+ throw new Error('crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported');
15056
+ }
15057
+ }
15058
+
15059
+ return getRandomValues(rnds8);
15060
+ }
15061
+
15062
+ /***/ }),
15063
+
15064
+ /***/ "../pubsub/node_modules/uuid/dist/esm-browser/sha1.js":
15065
+ /*!************************************************************!*\
15066
+ !*** ../pubsub/node_modules/uuid/dist/esm-browser/sha1.js ***!
15067
+ \************************************************************/
15068
+ /*! exports provided: default */
15069
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
15070
+
15071
+ "use strict";
15072
+ __webpack_require__.r(__webpack_exports__);
15073
+ // Adapted from Chris Veness' SHA1 code at
15074
+ // http://www.movable-type.co.uk/scripts/sha1.html
15075
+ function f(s, x, y, z) {
15076
+ switch (s) {
15077
+ case 0:
15078
+ return x & y ^ ~x & z;
15079
+
15080
+ case 1:
15081
+ return x ^ y ^ z;
15082
+
15083
+ case 2:
15084
+ return x & y ^ x & z ^ y & z;
15085
+
15086
+ case 3:
15087
+ return x ^ y ^ z;
15088
+ }
15089
+ }
15090
+
15091
+ function ROTL(x, n) {
15092
+ return x << n | x >>> 32 - n;
15093
+ }
15094
+
15095
+ function sha1(bytes) {
15096
+ var K = [0x5a827999, 0x6ed9eba1, 0x8f1bbcdc, 0xca62c1d6];
15097
+ var H = [0x67452301, 0xefcdab89, 0x98badcfe, 0x10325476, 0xc3d2e1f0];
15098
+
15099
+ if (typeof bytes === 'string') {
15100
+ var msg = unescape(encodeURIComponent(bytes)); // UTF8 escape
15101
+
15102
+ bytes = [];
15103
+
15104
+ for (var i = 0; i < msg.length; ++i) {
15105
+ bytes.push(msg.charCodeAt(i));
15106
+ }
15107
+ } else if (!Array.isArray(bytes)) {
15108
+ // Convert Array-like to Array
15109
+ bytes = Array.prototype.slice.call(bytes);
15110
+ }
15111
+
15112
+ bytes.push(0x80);
15113
+ var l = bytes.length / 4 + 2;
15114
+ var N = Math.ceil(l / 16);
15115
+ var M = new Array(N);
15116
+
15117
+ for (var _i = 0; _i < N; ++_i) {
15118
+ var arr = new Uint32Array(16);
15119
+
15120
+ for (var j = 0; j < 16; ++j) {
15121
+ arr[j] = bytes[_i * 64 + j * 4] << 24 | bytes[_i * 64 + j * 4 + 1] << 16 | bytes[_i * 64 + j * 4 + 2] << 8 | bytes[_i * 64 + j * 4 + 3];
15122
+ }
15123
+
15124
+ M[_i] = arr;
15125
+ }
15126
+
15127
+ M[N - 1][14] = (bytes.length - 1) * 8 / Math.pow(2, 32);
15128
+ M[N - 1][14] = Math.floor(M[N - 1][14]);
15129
+ M[N - 1][15] = (bytes.length - 1) * 8 & 0xffffffff;
15130
+
15131
+ for (var _i2 = 0; _i2 < N; ++_i2) {
15132
+ var W = new Uint32Array(80);
15133
+
15134
+ for (var t = 0; t < 16; ++t) {
15135
+ W[t] = M[_i2][t];
15136
+ }
15137
+
15138
+ for (var _t = 16; _t < 80; ++_t) {
15139
+ W[_t] = ROTL(W[_t - 3] ^ W[_t - 8] ^ W[_t - 14] ^ W[_t - 16], 1);
15140
+ }
15141
+
15142
+ var a = H[0];
15143
+ var b = H[1];
15144
+ var c = H[2];
15145
+ var d = H[3];
15146
+ var e = H[4];
15147
+
15148
+ for (var _t2 = 0; _t2 < 80; ++_t2) {
15149
+ var s = Math.floor(_t2 / 20);
15150
+ var T = ROTL(a, 5) + f(s, b, c, d) + e + K[s] + W[_t2] >>> 0;
15151
+ e = d;
15152
+ d = c;
15153
+ c = ROTL(b, 30) >>> 0;
15154
+ b = a;
15155
+ a = T;
15156
+ }
15157
+
15158
+ H[0] = H[0] + a >>> 0;
15159
+ H[1] = H[1] + b >>> 0;
15160
+ H[2] = H[2] + c >>> 0;
15161
+ H[3] = H[3] + d >>> 0;
15162
+ H[4] = H[4] + e >>> 0;
15163
+ }
15164
+
15165
+ return [H[0] >> 24 & 0xff, H[0] >> 16 & 0xff, H[0] >> 8 & 0xff, H[0] & 0xff, H[1] >> 24 & 0xff, H[1] >> 16 & 0xff, H[1] >> 8 & 0xff, H[1] & 0xff, H[2] >> 24 & 0xff, H[2] >> 16 & 0xff, H[2] >> 8 & 0xff, H[2] & 0xff, H[3] >> 24 & 0xff, H[3] >> 16 & 0xff, H[3] >> 8 & 0xff, H[3] & 0xff, H[4] >> 24 & 0xff, H[4] >> 16 & 0xff, H[4] >> 8 & 0xff, H[4] & 0xff];
15166
+ }
15167
+
15168
+ /* harmony default export */ __webpack_exports__["default"] = (sha1);
15169
+
15170
+ /***/ }),
15171
+
15172
+ /***/ "../pubsub/node_modules/uuid/dist/esm-browser/stringify.js":
15173
+ /*!*****************************************************************!*\
15174
+ !*** ../pubsub/node_modules/uuid/dist/esm-browser/stringify.js ***!
15175
+ \*****************************************************************/
15176
+ /*! exports provided: default */
15177
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
15178
+
15179
+ "use strict";
15180
+ __webpack_require__.r(__webpack_exports__);
15181
+ /* harmony import */ var _validate_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./validate.js */ "../pubsub/node_modules/uuid/dist/esm-browser/validate.js");
15182
+
15183
+ /**
15184
+ * Convert array of 16 byte values to UUID string format of the form:
15185
+ * XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX
15186
+ */
15187
+
15188
+ var byteToHex = [];
15189
+
15190
+ for (var i = 0; i < 256; ++i) {
15191
+ byteToHex.push((i + 0x100).toString(16).substr(1));
15192
+ }
15193
+
15194
+ function stringify(arr) {
15195
+ var offset = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 0;
15196
+ // Note: Be careful editing this code! It's been tuned for performance
15197
+ // and works in ways you may not expect. See https://github.com/uuidjs/uuid/pull/434
15198
+ var uuid = (byteToHex[arr[offset + 0]] + byteToHex[arr[offset + 1]] + byteToHex[arr[offset + 2]] + byteToHex[arr[offset + 3]] + '-' + byteToHex[arr[offset + 4]] + byteToHex[arr[offset + 5]] + '-' + byteToHex[arr[offset + 6]] + byteToHex[arr[offset + 7]] + '-' + byteToHex[arr[offset + 8]] + byteToHex[arr[offset + 9]] + '-' + byteToHex[arr[offset + 10]] + byteToHex[arr[offset + 11]] + byteToHex[arr[offset + 12]] + byteToHex[arr[offset + 13]] + byteToHex[arr[offset + 14]] + byteToHex[arr[offset + 15]]).toLowerCase(); // Consistency check for valid UUID. If this throws, it's likely due to one
15199
+ // of the following:
15200
+ // - One or more input array values don't map to a hex octet (leading to
15201
+ // "undefined" in the uuid)
15202
+ // - Invalid input values for the RFC `version` or `variant` fields
15203
+
15204
+ if (!Object(_validate_js__WEBPACK_IMPORTED_MODULE_0__["default"])(uuid)) {
15205
+ throw TypeError('Stringified UUID is invalid');
15206
+ }
15207
+
15208
+ return uuid;
15209
+ }
15210
+
15211
+ /* harmony default export */ __webpack_exports__["default"] = (stringify);
15212
+
15213
+ /***/ }),
15214
+
15215
+ /***/ "../pubsub/node_modules/uuid/dist/esm-browser/v1.js":
15216
+ /*!**********************************************************!*\
15217
+ !*** ../pubsub/node_modules/uuid/dist/esm-browser/v1.js ***!
15218
+ \**********************************************************/
15219
+ /*! exports provided: default */
15220
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
15221
+
15222
+ "use strict";
15223
+ __webpack_require__.r(__webpack_exports__);
15224
+ /* harmony import */ var _rng_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./rng.js */ "../pubsub/node_modules/uuid/dist/esm-browser/rng.js");
15225
+ /* harmony import */ var _stringify_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./stringify.js */ "../pubsub/node_modules/uuid/dist/esm-browser/stringify.js");
15226
+
15227
+ // **`v1()` - Generate time-based UUID**
15228
+ //
15229
+ // Inspired by https://github.com/LiosK/UUID.js
15230
+ // and http://docs.python.org/library/uuid.html
15231
+
15232
+ var _nodeId;
15233
+
15234
+ var _clockseq; // Previous uuid creation time
15235
+
15236
+
15237
+ var _lastMSecs = 0;
15238
+ var _lastNSecs = 0; // See https://github.com/uuidjs/uuid for API details
15239
+
15240
+ function v1(options, buf, offset) {
15241
+ var i = buf && offset || 0;
15242
+ var b = buf || new Array(16);
15243
+ options = options || {};
15244
+ var node = options.node || _nodeId;
15245
+ var clockseq = options.clockseq !== undefined ? options.clockseq : _clockseq; // node and clockseq need to be initialized to random values if they're not
15246
+ // specified. We do this lazily to minimize issues related to insufficient
15247
+ // system entropy. See #189
15248
+
15249
+ if (node == null || clockseq == null) {
15250
+ var seedBytes = options.random || (options.rng || _rng_js__WEBPACK_IMPORTED_MODULE_0__["default"])();
15251
+
15252
+ if (node == null) {
15253
+ // Per 4.5, create and 48-bit node id, (47 random bits + multicast bit = 1)
15254
+ node = _nodeId = [seedBytes[0] | 0x01, seedBytes[1], seedBytes[2], seedBytes[3], seedBytes[4], seedBytes[5]];
15255
+ }
15256
+
15257
+ if (clockseq == null) {
15258
+ // Per 4.2.2, randomize (14 bit) clockseq
15259
+ clockseq = _clockseq = (seedBytes[6] << 8 | seedBytes[7]) & 0x3fff;
15260
+ }
15261
+ } // UUID timestamps are 100 nano-second units since the Gregorian epoch,
15262
+ // (1582-10-15 00:00). JSNumbers aren't precise enough for this, so
15263
+ // time is handled internally as 'msecs' (integer milliseconds) and 'nsecs'
15264
+ // (100-nanoseconds offset from msecs) since unix epoch, 1970-01-01 00:00.
15265
+
15266
+
15267
+ var msecs = options.msecs !== undefined ? options.msecs : Date.now(); // Per 4.2.1.2, use count of uuid's generated during the current clock
15268
+ // cycle to simulate higher resolution clock
15269
+
15270
+ var nsecs = options.nsecs !== undefined ? options.nsecs : _lastNSecs + 1; // Time since last uuid creation (in msecs)
15271
+
15272
+ var dt = msecs - _lastMSecs + (nsecs - _lastNSecs) / 10000; // Per 4.2.1.2, Bump clockseq on clock regression
15273
+
15274
+ if (dt < 0 && options.clockseq === undefined) {
15275
+ clockseq = clockseq + 1 & 0x3fff;
15276
+ } // Reset nsecs if clock regresses (new clockseq) or we've moved onto a new
15277
+ // time interval
15278
+
15279
+
15280
+ if ((dt < 0 || msecs > _lastMSecs) && options.nsecs === undefined) {
15281
+ nsecs = 0;
15282
+ } // Per 4.2.1.2 Throw error if too many uuids are requested
15283
+
15284
+
15285
+ if (nsecs >= 10000) {
15286
+ throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");
15287
+ }
15288
+
15289
+ _lastMSecs = msecs;
15290
+ _lastNSecs = nsecs;
15291
+ _clockseq = clockseq; // Per 4.1.4 - Convert from unix epoch to Gregorian epoch
15292
+
15293
+ msecs += 12219292800000; // `time_low`
15294
+
15295
+ var tl = ((msecs & 0xfffffff) * 10000 + nsecs) % 0x100000000;
15296
+ b[i++] = tl >>> 24 & 0xff;
15297
+ b[i++] = tl >>> 16 & 0xff;
15298
+ b[i++] = tl >>> 8 & 0xff;
15299
+ b[i++] = tl & 0xff; // `time_mid`
15300
+
15301
+ var tmh = msecs / 0x100000000 * 10000 & 0xfffffff;
15302
+ b[i++] = tmh >>> 8 & 0xff;
15303
+ b[i++] = tmh & 0xff; // `time_high_and_version`
15304
+
15305
+ b[i++] = tmh >>> 24 & 0xf | 0x10; // include version
15306
+
15307
+ b[i++] = tmh >>> 16 & 0xff; // `clock_seq_hi_and_reserved` (Per 4.2.2 - include variant)
15308
+
15309
+ b[i++] = clockseq >>> 8 | 0x80; // `clock_seq_low`
15310
+
15311
+ b[i++] = clockseq & 0xff; // `node`
15312
+
15313
+ for (var n = 0; n < 6; ++n) {
15314
+ b[i + n] = node[n];
15315
+ }
15316
+
15317
+ return buf || Object(_stringify_js__WEBPACK_IMPORTED_MODULE_1__["default"])(b);
15318
+ }
15319
+
15320
+ /* harmony default export */ __webpack_exports__["default"] = (v1);
15321
+
15322
+ /***/ }),
15323
+
15324
+ /***/ "../pubsub/node_modules/uuid/dist/esm-browser/v3.js":
15325
+ /*!**********************************************************!*\
15326
+ !*** ../pubsub/node_modules/uuid/dist/esm-browser/v3.js ***!
15327
+ \**********************************************************/
15328
+ /*! exports provided: default */
15329
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
15330
+
15331
+ "use strict";
15332
+ __webpack_require__.r(__webpack_exports__);
15333
+ /* harmony import */ var _v35_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./v35.js */ "../pubsub/node_modules/uuid/dist/esm-browser/v35.js");
15334
+ /* harmony import */ var _md5_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./md5.js */ "../pubsub/node_modules/uuid/dist/esm-browser/md5.js");
15335
+
15336
+
15337
+ var v3 = Object(_v35_js__WEBPACK_IMPORTED_MODULE_0__["default"])('v3', 0x30, _md5_js__WEBPACK_IMPORTED_MODULE_1__["default"]);
15338
+ /* harmony default export */ __webpack_exports__["default"] = (v3);
15339
+
15340
+ /***/ }),
15341
+
15342
+ /***/ "../pubsub/node_modules/uuid/dist/esm-browser/v35.js":
15343
+ /*!***********************************************************!*\
15344
+ !*** ../pubsub/node_modules/uuid/dist/esm-browser/v35.js ***!
15345
+ \***********************************************************/
15346
+ /*! exports provided: DNS, URL, default */
15347
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
15348
+
15349
+ "use strict";
15350
+ __webpack_require__.r(__webpack_exports__);
15351
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "DNS", function() { return DNS; });
15352
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "URL", function() { return URL; });
15353
+ /* harmony import */ var _stringify_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./stringify.js */ "../pubsub/node_modules/uuid/dist/esm-browser/stringify.js");
15354
+ /* harmony import */ var _parse_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./parse.js */ "../pubsub/node_modules/uuid/dist/esm-browser/parse.js");
15355
+
15356
+
15357
+
15358
+ function stringToBytes(str) {
15359
+ str = unescape(encodeURIComponent(str)); // UTF8 escape
15360
+
15361
+ var bytes = [];
15362
+
15363
+ for (var i = 0; i < str.length; ++i) {
15364
+ bytes.push(str.charCodeAt(i));
15365
+ }
15366
+
15367
+ return bytes;
15368
+ }
15369
+
15370
+ var DNS = '6ba7b810-9dad-11d1-80b4-00c04fd430c8';
15371
+ var URL = '6ba7b811-9dad-11d1-80b4-00c04fd430c8';
15372
+ /* harmony default export */ __webpack_exports__["default"] = (function (name, version, hashfunc) {
15373
+ function generateUUID(value, namespace, buf, offset) {
15374
+ if (typeof value === 'string') {
15375
+ value = stringToBytes(value);
15376
+ }
15377
+
15378
+ if (typeof namespace === 'string') {
15379
+ namespace = Object(_parse_js__WEBPACK_IMPORTED_MODULE_1__["default"])(namespace);
15380
+ }
15381
+
15382
+ if (namespace.length !== 16) {
15383
+ throw TypeError('Namespace must be array-like (16 iterable integer values, 0-255)');
15384
+ } // Compute hash of namespace and value, Per 4.3
15385
+ // Future: Use spread syntax when supported on all platforms, e.g. `bytes =
15386
+ // hashfunc([...namespace, ... value])`
15387
+
15388
+
15389
+ var bytes = new Uint8Array(16 + value.length);
15390
+ bytes.set(namespace);
15391
+ bytes.set(value, namespace.length);
15392
+ bytes = hashfunc(bytes);
15393
+ bytes[6] = bytes[6] & 0x0f | version;
15394
+ bytes[8] = bytes[8] & 0x3f | 0x80;
15395
+
15396
+ if (buf) {
15397
+ offset = offset || 0;
15398
+
15399
+ for (var i = 0; i < 16; ++i) {
15400
+ buf[offset + i] = bytes[i];
15401
+ }
15402
+
15403
+ return buf;
15404
+ }
15405
+
15406
+ return Object(_stringify_js__WEBPACK_IMPORTED_MODULE_0__["default"])(bytes);
15407
+ } // Function#name is not settable on some platforms (#270)
15408
+
15409
+
15410
+ try {
15411
+ generateUUID.name = name; // eslint-disable-next-line no-empty
15412
+ } catch (err) {} // For CommonJS default export support
15413
+
15414
+
15415
+ generateUUID.DNS = DNS;
15416
+ generateUUID.URL = URL;
15417
+ return generateUUID;
15418
+ });
15419
+
15420
+ /***/ }),
15421
+
15422
+ /***/ "../pubsub/node_modules/uuid/dist/esm-browser/v4.js":
15423
+ /*!**********************************************************!*\
15424
+ !*** ../pubsub/node_modules/uuid/dist/esm-browser/v4.js ***!
15425
+ \**********************************************************/
15426
+ /*! exports provided: default */
15427
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
15428
+
15429
+ "use strict";
15430
+ __webpack_require__.r(__webpack_exports__);
15431
+ /* harmony import */ var _rng_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./rng.js */ "../pubsub/node_modules/uuid/dist/esm-browser/rng.js");
15432
+ /* harmony import */ var _stringify_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./stringify.js */ "../pubsub/node_modules/uuid/dist/esm-browser/stringify.js");
15433
+
15434
+
15435
+
15436
+ function v4(options, buf, offset) {
15437
+ options = options || {};
15438
+ var rnds = options.random || (options.rng || _rng_js__WEBPACK_IMPORTED_MODULE_0__["default"])(); // Per 4.4, set bits for version and `clock_seq_hi_and_reserved`
15439
+
15440
+ rnds[6] = rnds[6] & 0x0f | 0x40;
15441
+ rnds[8] = rnds[8] & 0x3f | 0x80; // Copy bytes to buffer, if provided
15442
+
15443
+ if (buf) {
15444
+ offset = offset || 0;
15445
+
15446
+ for (var i = 0; i < 16; ++i) {
15447
+ buf[offset + i] = rnds[i];
15448
+ }
15449
+
15450
+ return buf;
15451
+ }
15452
+
15453
+ return Object(_stringify_js__WEBPACK_IMPORTED_MODULE_1__["default"])(rnds);
15454
+ }
15455
+
15456
+ /* harmony default export */ __webpack_exports__["default"] = (v4);
15457
+
15458
+ /***/ }),
15459
+
15460
+ /***/ "../pubsub/node_modules/uuid/dist/esm-browser/v5.js":
15461
+ /*!**********************************************************!*\
15462
+ !*** ../pubsub/node_modules/uuid/dist/esm-browser/v5.js ***!
15463
+ \**********************************************************/
15464
+ /*! exports provided: default */
15465
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
15466
+
15467
+ "use strict";
15468
+ __webpack_require__.r(__webpack_exports__);
15469
+ /* harmony import */ var _v35_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./v35.js */ "../pubsub/node_modules/uuid/dist/esm-browser/v35.js");
15470
+ /* harmony import */ var _sha1_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./sha1.js */ "../pubsub/node_modules/uuid/dist/esm-browser/sha1.js");
15471
+
15472
+
15473
+ var v5 = Object(_v35_js__WEBPACK_IMPORTED_MODULE_0__["default"])('v5', 0x50, _sha1_js__WEBPACK_IMPORTED_MODULE_1__["default"]);
15474
+ /* harmony default export */ __webpack_exports__["default"] = (v5);
15475
+
15476
+ /***/ }),
15477
+
15478
+ /***/ "../pubsub/node_modules/uuid/dist/esm-browser/validate.js":
15479
+ /*!****************************************************************!*\
15480
+ !*** ../pubsub/node_modules/uuid/dist/esm-browser/validate.js ***!
15481
+ \****************************************************************/
15482
+ /*! exports provided: default */
15483
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
15484
+
15485
+ "use strict";
15486
+ __webpack_require__.r(__webpack_exports__);
15487
+ /* harmony import */ var _regex_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./regex.js */ "../pubsub/node_modules/uuid/dist/esm-browser/regex.js");
15488
+
15489
+
15490
+ function validate(uuid) {
15491
+ return typeof uuid === 'string' && _regex_js__WEBPACK_IMPORTED_MODULE_0__["default"].test(uuid);
15492
+ }
15493
+
15494
+ /* harmony default export */ __webpack_exports__["default"] = (validate);
15495
+
15496
+ /***/ }),
15497
+
15498
+ /***/ "../pubsub/node_modules/uuid/dist/esm-browser/version.js":
15499
+ /*!***************************************************************!*\
15500
+ !*** ../pubsub/node_modules/uuid/dist/esm-browser/version.js ***!
15501
+ \***************************************************************/
15502
+ /*! exports provided: default */
15503
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
15504
+
15505
+ "use strict";
15506
+ __webpack_require__.r(__webpack_exports__);
15507
+ /* harmony import */ var _validate_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./validate.js */ "../pubsub/node_modules/uuid/dist/esm-browser/validate.js");
15508
+
15509
+
15510
+ function version(uuid) {
15511
+ if (!Object(_validate_js__WEBPACK_IMPORTED_MODULE_0__["default"])(uuid)) {
15512
+ throw TypeError('Invalid UUID');
15513
+ }
15514
+
15515
+ return parseInt(uuid.substr(14, 1), 16);
15516
+ }
15517
+
15518
+ /* harmony default export */ __webpack_exports__["default"] = (version);
15519
+
15520
+ /***/ }),
15521
+
15522
+ /***/ "./lib-esm/API.js":
15523
+ /*!************************!*\
15524
+ !*** ./lib-esm/API.js ***!
15525
+ \************************/
15526
+ /*! exports provided: APIClass, API */
15527
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
15528
+
15529
+ "use strict";
15530
+ __webpack_require__.r(__webpack_exports__);
15531
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "APIClass", function() { return APIClass; });
15532
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "API", function() { return API; });
15533
+ /* harmony import */ var _aws_amplify_auth__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @aws-amplify/auth */ "@aws-amplify/auth");
15534
+ /* harmony import */ var _aws_amplify_auth__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_aws_amplify_auth__WEBPACK_IMPORTED_MODULE_0__);
15535
+ /* harmony import */ var _aws_amplify_cache__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @aws-amplify/cache */ "@aws-amplify/cache");
15536
+ /* harmony import */ var _aws_amplify_cache__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_aws_amplify_cache__WEBPACK_IMPORTED_MODULE_1__);
15537
+ /* harmony import */ var _aws_amplify_api_rest__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @aws-amplify/api-rest */ "../api-rest/lib-esm/index.js");
15538
+ /* harmony import */ var _aws_amplify_api_graphql__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @aws-amplify/api-graphql */ "../api-graphql/lib-esm/index.js");
15539
+ /* harmony import */ var _aws_amplify_core__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @aws-amplify/core */ "@aws-amplify/core");
15540
+ /* harmony import */ var _aws_amplify_core__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_aws_amplify_core__WEBPACK_IMPORTED_MODULE_4__);
15541
+ var __assign = undefined && undefined.__assign || function () {
15542
+ __assign = Object.assign || function (t) {
15543
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
15544
+ s = arguments[i];
15545
+
15546
+ for (var p in s) {
15547
+ if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
15548
+ }
15549
+ }
15550
+
15551
+ return t;
15552
+ };
15553
+
15554
+ return __assign.apply(this, arguments);
15555
+ };
15556
+
15557
+ var __awaiter = undefined && undefined.__awaiter || function (thisArg, _arguments, P, generator) {
15558
+ function adopt(value) {
15559
+ return value instanceof P ? value : new P(function (resolve) {
15560
+ resolve(value);
15561
+ });
15562
+ }
15563
+
15564
+ return new (P || (P = Promise))(function (resolve, reject) {
15565
+ function fulfilled(value) {
15566
+ try {
15567
+ step(generator.next(value));
15568
+ } catch (e) {
15569
+ reject(e);
15570
+ }
15571
+ }
15572
+
15573
+ function rejected(value) {
15574
+ try {
15575
+ step(generator["throw"](value));
15576
+ } catch (e) {
15577
+ reject(e);
15578
+ }
15579
+ }
15580
+
15581
+ function step(result) {
15582
+ result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected);
15583
+ }
15584
+
15585
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
15586
+ });
15587
+ };
15588
+
15589
+ var __generator = undefined && undefined.__generator || function (thisArg, body) {
15590
+ var _ = {
15591
+ label: 0,
15592
+ sent: function sent() {
15387
15593
  if (t[0] & 1) throw t[1];
15388
15594
  return t[1];
15389
15595
  },
@@ -15782,28 +15988,6 @@ module.exports = __WEBPACK_EXTERNAL_MODULE__aws_amplify_core__;
15782
15988
 
15783
15989
  module.exports = __WEBPACK_EXTERNAL_MODULE_graphql__;
15784
15990
 
15785
- /***/ }),
15786
-
15787
- /***/ "graphql/language/parser":
15788
- /*!******************************************!*\
15789
- !*** external "graphql/language/parser" ***!
15790
- \******************************************/
15791
- /*! no static exports found */
15792
- /***/ (function(module, exports) {
15793
-
15794
- module.exports = __WEBPACK_EXTERNAL_MODULE_graphql_language_parser__;
15795
-
15796
- /***/ }),
15797
-
15798
- /***/ "graphql/language/printer":
15799
- /*!*******************************************!*\
15800
- !*** external "graphql/language/printer" ***!
15801
- \*******************************************/
15802
- /*! no static exports found */
15803
- /***/ (function(module, exports) {
15804
-
15805
- module.exports = __WEBPACK_EXTERNAL_MODULE_graphql_language_printer__;
15806
-
15807
15991
  /***/ })
15808
15992
 
15809
15993
  /******/ });