crmbonus-component-wake 0.0.26 → 0.0.27

Sign up to get free protection for your applications and to get access to all the features.
Files changed (179) hide show
  1. package/dist/cjs/app-globals-3a1e7e63.js +7 -0
  2. package/dist/cjs/app-globals-3a1e7e63.js.map +1 -0
  3. package/dist/cjs/app-modal_2.cjs.entry.js +134 -0
  4. package/dist/cjs/app-modal_2.cjs.entry.js.map +1 -0
  5. package/dist/cjs/crm-bonus.cjs.entry.js +55 -0
  6. package/dist/cjs/crm-bonus.cjs.entry.js.map +1 -0
  7. package/dist/cjs/crmbonus-component-wake.cjs.js +27 -0
  8. package/dist/cjs/crmbonus-component-wake.cjs.js.map +1 -0
  9. package/dist/cjs/crmbonus.service-8412ddbf.js +3798 -0
  10. package/dist/cjs/crmbonus.service-8412ddbf.js.map +1 -0
  11. package/dist/cjs/giftback-finish_5.cjs.entry.js +155 -0
  12. package/dist/cjs/giftback-finish_5.cjs.entry.js.map +1 -0
  13. package/dist/cjs/index-52d8a075.js +1248 -0
  14. package/dist/cjs/index-52d8a075.js.map +1 -0
  15. package/dist/cjs/index.cjs.js +11 -0
  16. package/dist/cjs/index.cjs.js.map +1 -0
  17. package/dist/cjs/loader.cjs.js +17 -0
  18. package/dist/cjs/loader.cjs.js.map +1 -0
  19. package/dist/cjs/loading-spinner.cjs.entry.js +24 -0
  20. package/dist/cjs/loading-spinner.cjs.entry.js.map +1 -0
  21. package/dist/cjs/pedido-finalizado.cjs.entry.js +36 -0
  22. package/dist/cjs/pedido-finalizado.cjs.entry.js.map +1 -0
  23. package/dist/collection/collection-manifest.json +21 -0
  24. package/dist/collection/components/crm-bonus/assets/logo.svg +18 -0
  25. package/dist/collection/components/crm-bonus/assets/success-svgrepo-com.svg +8 -0
  26. package/dist/collection/components/crm-bonus/assets/svg/logo.svg +18 -0
  27. package/dist/collection/components/crm-bonus/assets/svg/success-svgrepo-com.svg +8 -0
  28. package/dist/collection/components/crm-bonus/crm-bonus.css +20 -0
  29. package/dist/collection/components/crm-bonus/crm-bonus.js +132 -0
  30. package/dist/collection/components/crm-bonus/crm-bonus.js.map +1 -0
  31. package/dist/collection/components/crm-bonus-form/crm-bonus-form.css +32 -0
  32. package/dist/collection/components/crm-bonus-form/crm-bonus-form.js +216 -0
  33. package/dist/collection/components/crm-bonus-form/crm-bonus-form.js.map +1 -0
  34. package/dist/collection/components/crm-bonus-form/subcomponents/giftback-finish/giftback-finish.css +10 -0
  35. package/dist/collection/components/crm-bonus-form/subcomponents/giftback-finish/giftback-finish.js +20 -0
  36. package/dist/collection/components/crm-bonus-form/subcomponents/giftback-finish/giftback-finish.js.map +1 -0
  37. package/dist/collection/components/crm-bonus-form/subcomponents/giftback-pin/giftback-pin.css +74 -0
  38. package/dist/collection/components/crm-bonus-form/subcomponents/giftback-pin/giftback-pin.js +127 -0
  39. package/dist/collection/components/crm-bonus-form/subcomponents/giftback-pin/giftback-pin.js.map +1 -0
  40. package/dist/collection/components/crm-bonus-form/subcomponents/giftback-progress/giftback-progress.css +109 -0
  41. package/dist/collection/components/crm-bonus-form/subcomponents/giftback-progress/giftback-progress.js +127 -0
  42. package/dist/collection/components/crm-bonus-form/subcomponents/giftback-progress/giftback-progress.js.map +1 -0
  43. package/dist/collection/components/crm-bonus-form/subcomponents/phone/phone.input.js +75 -0
  44. package/dist/collection/components/crm-bonus-form/subcomponents/phone/phone.input.js.map +1 -0
  45. package/dist/collection/components/loading-spinner/loading-spinner.css +17 -0
  46. package/dist/collection/components/loading-spinner/loading-spinner.js +63 -0
  47. package/dist/collection/components/loading-spinner/loading-spinner.js.map +1 -0
  48. package/dist/collection/components/modal/app-modal.css +45 -0
  49. package/dist/collection/components/modal/app-modal.js +83 -0
  50. package/dist/collection/components/modal/app-modal.js.map +1 -0
  51. package/dist/collection/components/pedido/pedido.js +83 -0
  52. package/dist/collection/components/pedido/pedido.js.map +1 -0
  53. package/dist/collection/components/phone/phone-input-mask.css +47 -0
  54. package/dist/collection/components/phone/phone-input-mask.js +90 -0
  55. package/dist/collection/components/phone/phone-input-mask.js.map +1 -0
  56. package/dist/collection/contants/index.js +8 -0
  57. package/dist/collection/contants/index.js.map +1 -0
  58. package/dist/collection/contants/mocks.js +28 -0
  59. package/dist/collection/contants/mocks.js.map +1 -0
  60. package/dist/collection/dto/pin.sent.js +2 -0
  61. package/dist/collection/dto/pin.sent.js.map +1 -0
  62. package/dist/collection/dto/update.order.dto.js +2 -0
  63. package/dist/collection/dto/update.order.dto.js.map +1 -0
  64. package/dist/collection/dto/validate.pin.bonus.js +2 -0
  65. package/dist/collection/dto/validate.pin.bonus.js.map +1 -0
  66. package/dist/collection/index.js +11 -0
  67. package/dist/collection/index.js.map +1 -0
  68. package/dist/collection/services/crmbonus.service.js +42 -0
  69. package/dist/collection/services/crmbonus.service.js.map +1 -0
  70. package/dist/collection/utils/utils.js +4 -0
  71. package/dist/collection/utils/utils.js.map +1 -0
  72. package/dist/components/app-modal.js +8 -0
  73. package/dist/components/app-modal.js.map +1 -0
  74. package/dist/components/crm-bonus-form.js +8 -0
  75. package/dist/components/crm-bonus-form.js.map +1 -0
  76. package/dist/components/crm-bonus.js +126 -0
  77. package/dist/components/crm-bonus.js.map +1 -0
  78. package/dist/components/giftback-finish.js +8 -0
  79. package/dist/components/giftback-finish.js.map +1 -0
  80. package/dist/components/giftback-pin.js +8 -0
  81. package/dist/components/giftback-pin.js.map +1 -0
  82. package/dist/components/giftback-progress.js +8 -0
  83. package/dist/components/giftback-progress.js.map +1 -0
  84. package/dist/components/index.js +9 -0
  85. package/dist/components/index.js.map +1 -0
  86. package/dist/components/loading-spinner.js +8 -0
  87. package/dist/components/loading-spinner.js.map +1 -0
  88. package/dist/{crmbonus-component-wake/crmbonus.service-5208f883.js → components/p-374de9ae.js} +91 -166
  89. package/dist/components/p-374de9ae.js.map +1 -0
  90. package/dist/components/p-462c12d8.js +69 -0
  91. package/dist/components/p-462c12d8.js.map +1 -0
  92. package/dist/{crmbonus-component-wake/giftback-pin.entry.js → components/p-6442ffce.js} +39 -9
  93. package/dist/components/p-6442ffce.js.map +1 -0
  94. package/dist/components/p-878ce0aa.js +174 -0
  95. package/dist/components/p-878ce0aa.js.map +1 -0
  96. package/dist/components/p-8fcf8924.js +52 -0
  97. package/dist/components/p-8fcf8924.js.map +1 -0
  98. package/dist/components/p-cb5a1fdf.js +39 -0
  99. package/dist/components/p-cb5a1fdf.js.map +1 -0
  100. package/dist/components/p-cbade307.js +36 -0
  101. package/dist/components/p-cbade307.js.map +1 -0
  102. package/dist/{crmbonus-component-wake/phone-input-mask.entry.js → components/p-e40cf14d.js} +30 -9
  103. package/dist/components/p-e40cf14d.js.map +1 -0
  104. package/dist/components/p-e816fb90.js +43 -0
  105. package/dist/components/p-e816fb90.js.map +1 -0
  106. package/dist/components/p-faf7103e.js +1064 -0
  107. package/dist/components/p-faf7103e.js.map +1 -0
  108. package/dist/components/pedido-finalizado.js +54 -0
  109. package/dist/components/pedido-finalizado.js.map +1 -0
  110. package/dist/components/phone-input-mask.js +8 -0
  111. package/dist/components/phone-input-mask.js.map +1 -0
  112. package/dist/components/phone-input.js +8 -0
  113. package/dist/components/phone-input.js.map +1 -0
  114. package/dist/crmbonus-component-wake/crmbonus-component-wake.esm.js +1 -48
  115. package/dist/crmbonus-component-wake/crmbonus-component-wake.esm.js.map +1 -1
  116. package/dist/crmbonus-component-wake/index.esm.js +1 -16
  117. package/dist/crmbonus-component-wake/index.esm.js.map +1 -1
  118. package/dist/crmbonus-component-wake/p-374de9ae.js +2 -0
  119. package/dist/crmbonus-component-wake/p-374de9ae.js.map +1 -0
  120. package/dist/crmbonus-component-wake/p-4306a717.entry.js +2 -0
  121. package/dist/crmbonus-component-wake/p-4306a717.entry.js.map +1 -0
  122. package/dist/crmbonus-component-wake/p-72510682.js +3 -0
  123. package/dist/crmbonus-component-wake/p-72510682.js.map +1 -0
  124. package/dist/crmbonus-component-wake/p-9985f639.entry.js +2 -0
  125. package/dist/crmbonus-component-wake/p-9985f639.entry.js.map +1 -0
  126. package/dist/crmbonus-component-wake/p-be1a56de.entry.js +2 -0
  127. package/dist/crmbonus-component-wake/p-be1a56de.entry.js.map +1 -0
  128. package/dist/crmbonus-component-wake/p-e1255160.js +2 -0
  129. package/dist/crmbonus-component-wake/p-e1255160.js.map +1 -0
  130. package/dist/crmbonus-component-wake/p-e2f165e8.entry.js +2 -0
  131. package/dist/crmbonus-component-wake/p-e2f165e8.entry.js.map +1 -0
  132. package/dist/crmbonus-component-wake/p-f74e4a71.entry.js +2 -0
  133. package/dist/crmbonus-component-wake/p-f74e4a71.entry.js.map +1 -0
  134. package/dist/env.js +5 -0
  135. package/dist/env.js.map +1 -0
  136. package/dist/{crmbonus-component-wake/crm-bonus-form.entry.js → esm/app-modal_2.entry.js} +26 -6
  137. package/dist/esm/app-modal_2.entry.js.map +1 -0
  138. package/dist/{crmbonus-component-wake → esm}/crm-bonus.entry.js +5 -4
  139. package/dist/esm/crm-bonus.entry.js.map +1 -0
  140. package/dist/esm/crmbonus-component-wake.js +22 -0
  141. package/dist/esm/crmbonus-component-wake.js.map +1 -0
  142. package/dist/esm/crmbonus.service-053a9e38.js +3796 -0
  143. package/dist/esm/crmbonus.service-053a9e38.js.map +1 -0
  144. package/dist/esm/giftback-finish_5.entry.js +147 -0
  145. package/dist/esm/giftback-finish_5.entry.js.map +1 -0
  146. package/dist/esm/index-9f7bde48.js +1220 -0
  147. package/dist/esm/index-9f7bde48.js.map +1 -0
  148. package/dist/esm/index.js +7 -0
  149. package/dist/esm/index.js.map +1 -0
  150. package/dist/esm/loader.js +13 -0
  151. package/dist/esm/loader.js.map +1 -0
  152. package/dist/{crmbonus-component-wake → esm}/loading-spinner.entry.js +4 -3
  153. package/dist/esm/loading-spinner.entry.js.map +1 -0
  154. package/dist/{crmbonus-component-wake → esm}/pedido-finalizado.entry.js +3 -3
  155. package/dist/esm/pedido-finalizado.entry.js.map +1 -0
  156. package/dist/index.cjs.js +1 -0
  157. package/dist/index.js +1 -0
  158. package/package.json +1 -1
  159. package/dist/crmbonus-component-wake/app-modal.entry.js +0 -23
  160. package/dist/crmbonus-component-wake/app-modal.entry.js.map +0 -1
  161. package/dist/crmbonus-component-wake/crm-bonus-form.entry.js.map +0 -1
  162. package/dist/crmbonus-component-wake/crm-bonus.entry.js.map +0 -1
  163. package/dist/crmbonus-component-wake/crmbonus.service-5208f883.js.map +0 -1
  164. package/dist/crmbonus-component-wake/giftback-finish.entry.js +0 -19
  165. package/dist/crmbonus-component-wake/giftback-finish.entry.js.map +0 -1
  166. package/dist/crmbonus-component-wake/giftback-pin.entry.js.map +0 -1
  167. package/dist/crmbonus-component-wake/giftback-progress.entry.js +0 -40
  168. package/dist/crmbonus-component-wake/giftback-progress.entry.js.map +0 -1
  169. package/dist/crmbonus-component-wake/index-f557ce7c.js +0 -3039
  170. package/dist/crmbonus-component-wake/index-f557ce7c.js.map +0 -1
  171. package/dist/crmbonus-component-wake/loading-spinner.entry.js.map +0 -1
  172. package/dist/crmbonus-component-wake/pedido-finalizado.entry.js.map +0 -1
  173. package/dist/crmbonus-component-wake/phone-input-mask.entry.js.map +0 -1
  174. package/dist/crmbonus-component-wake/phone-input.entry.js +0 -21
  175. package/dist/crmbonus-component-wake/phone-input.entry.js.map +0 -1
  176. package/dist/crmbonus-component-wake/shadow-css-7ad5caf8.js +0 -334
  177. package/dist/crmbonus-component-wake/shadow-css-7ad5caf8.js.map +0 -1
  178. /package/dist/{crmbonus-component-wake → esm}/app-globals-0f993ce5.js +0 -0
  179. /package/dist/{crmbonus-component-wake → esm}/app-globals-0f993ce5.js.map +0 -0
@@ -1,13 +1,9 @@
1
- 'use strict';
2
-
3
1
  function bind(fn, thisArg) {
4
2
  return function wrap() {
5
3
  return fn.apply(thisArg, arguments);
6
4
  };
7
5
  }
8
6
 
9
- 'use strict';
10
-
11
7
  // utils is a library of generic helper functions non-specific to axios
12
8
 
13
9
  const {toString} = Object.prototype;
@@ -765,8 +761,6 @@ const utils$1 = {
765
761
  asap
766
762
  };
767
763
 
768
- 'use strict';
769
-
770
764
  /**
771
765
  * Create an Error with the specified message, config, error code, request and response.
772
766
  *
@@ -778,7 +772,7 @@ const utils$1 = {
778
772
  *
779
773
  * @returns {Error} The created error.
780
774
  */
781
- function AxiosError$1(message, code, config, request, response) {
775
+ function AxiosError(message, code, config, request, response) {
782
776
  Error.call(this);
783
777
 
784
778
  if (Error.captureStackTrace) {
@@ -798,7 +792,7 @@ function AxiosError$1(message, code, config, request, response) {
798
792
  }
799
793
  }
800
794
 
801
- utils$1.inherits(AxiosError$1, Error, {
795
+ utils$1.inherits(AxiosError, Error, {
802
796
  toJSON: function toJSON() {
803
797
  return {
804
798
  // Standard
@@ -820,7 +814,7 @@ utils$1.inherits(AxiosError$1, Error, {
820
814
  }
821
815
  });
822
816
 
823
- const prototype$1 = AxiosError$1.prototype;
817
+ const prototype$1 = AxiosError.prototype;
824
818
  const descriptors = {};
825
819
 
826
820
  [
@@ -841,11 +835,11 @@ const descriptors = {};
841
835
  descriptors[code] = {value: code};
842
836
  });
843
837
 
844
- Object.defineProperties(AxiosError$1, descriptors);
838
+ Object.defineProperties(AxiosError, descriptors);
845
839
  Object.defineProperty(prototype$1, 'isAxiosError', {value: true});
846
840
 
847
841
  // eslint-disable-next-line func-names
848
- AxiosError$1.from = (error, code, config, request, response, customProps) => {
842
+ AxiosError.from = (error, code, config, request, response, customProps) => {
849
843
  const axiosError = Object.create(prototype$1);
850
844
 
851
845
  utils$1.toFlatObject(error, axiosError, function filter(obj) {
@@ -854,7 +848,7 @@ AxiosError$1.from = (error, code, config, request, response, customProps) => {
854
848
  return prop !== 'isAxiosError';
855
849
  });
856
850
 
857
- AxiosError$1.call(axiosError, error.message, code, config, request, response);
851
+ AxiosError.call(axiosError, error.message, code, config, request, response);
858
852
 
859
853
  axiosError.cause = error;
860
854
 
@@ -868,8 +862,6 @@ AxiosError$1.from = (error, code, config, request, response, customProps) => {
868
862
  // eslint-disable-next-line strict
869
863
  const httpAdapter = null;
870
864
 
871
- 'use strict';
872
-
873
865
  /**
874
866
  * Determines if the given thing is a array or js object.
875
867
  *
@@ -948,13 +940,13 @@ const predicates = utils$1.toFlatObject(utils$1, {}, null, function filter(prop)
948
940
  *
949
941
  * @returns
950
942
  */
951
- function toFormData$1(obj, formData, options) {
943
+ function toFormData(obj, formData, options) {
952
944
  if (!utils$1.isObject(obj)) {
953
945
  throw new TypeError('target must be an object');
954
946
  }
955
947
 
956
948
  // eslint-disable-next-line no-param-reassign
957
- formData = formData || new (httpAdapter || FormData)();
949
+ formData = formData || new (FormData)();
958
950
 
959
951
  // eslint-disable-next-line no-param-reassign
960
952
  options = utils$1.toFlatObject(options, {
@@ -986,7 +978,7 @@ function toFormData$1(obj, formData, options) {
986
978
  }
987
979
 
988
980
  if (!useBlob && utils$1.isBlob(value)) {
989
- throw new AxiosError$1('Blob is not supported. Use a Buffer instead.');
981
+ throw new AxiosError('Blob is not supported. Use a Buffer instead.');
990
982
  }
991
983
 
992
984
  if (utils$1.isArrayBuffer(value) || utils$1.isTypedArray(value)) {
@@ -1081,8 +1073,6 @@ function toFormData$1(obj, formData, options) {
1081
1073
  return formData;
1082
1074
  }
1083
1075
 
1084
- 'use strict';
1085
-
1086
1076
  /**
1087
1077
  * It encodes a string by replacing all characters that are not in the unreserved set with
1088
1078
  * their percent-encoded equivalents
@@ -1117,7 +1107,7 @@ function encode$1(str) {
1117
1107
  function AxiosURLSearchParams(params, options) {
1118
1108
  this._pairs = [];
1119
1109
 
1120
- params && toFormData$1(params, this, options);
1110
+ params && toFormData(params, this, options);
1121
1111
  }
1122
1112
 
1123
1113
  const prototype = AxiosURLSearchParams.prototype;
@@ -1136,8 +1126,6 @@ prototype.toString = function toString(encoder) {
1136
1126
  }, '').join('&');
1137
1127
  };
1138
1128
 
1139
- 'use strict';
1140
-
1141
1129
  /**
1142
1130
  * It replaces all instances of the characters `:`, `$`, `,`, `+`, `[`, and `]` with their
1143
1131
  * URI encoded counterparts
@@ -1197,8 +1185,6 @@ function buildURL(url, params, options) {
1197
1185
  return url;
1198
1186
  }
1199
1187
 
1200
- 'use strict';
1201
-
1202
1188
  class InterceptorManager {
1203
1189
  constructor() {
1204
1190
  this.handlers = [];
@@ -1265,7 +1251,7 @@ class InterceptorManager {
1265
1251
  }
1266
1252
  }
1267
1253
 
1268
- 'use strict';
1254
+ const InterceptorManager$1 = InterceptorManager;
1269
1255
 
1270
1256
  const transitionalDefaults = {
1271
1257
  silentJSONParsing: true,
@@ -1273,15 +1259,10 @@ const transitionalDefaults = {
1273
1259
  clarifyTimeoutError: false
1274
1260
  };
1275
1261
 
1276
- 'use strict';
1277
1262
  const URLSearchParams$1 = typeof URLSearchParams !== 'undefined' ? URLSearchParams : AxiosURLSearchParams;
1278
1263
 
1279
- 'use strict';
1280
-
1281
1264
  const FormData$1 = typeof FormData !== 'undefined' ? FormData : null;
1282
1265
 
1283
- 'use strict';
1284
-
1285
1266
  const Blob$1 = typeof Blob !== 'undefined' ? Blob : null;
1286
1267
 
1287
1268
  const platform$1 = {
@@ -1352,10 +1333,8 @@ const platform = {
1352
1333
  ...platform$1
1353
1334
  };
1354
1335
 
1355
- 'use strict';
1356
-
1357
1336
  function toURLEncodedForm(data, options) {
1358
- return toFormData$1(data, new platform.classes.URLSearchParams(), Object.assign({
1337
+ return toFormData(data, new platform.classes.URLSearchParams(), Object.assign({
1359
1338
  visitor: function(value, key, path, helpers) {
1360
1339
  if (platform.isNode && utils$1.isBuffer(value)) {
1361
1340
  this.append(key, value.toString('base64'));
@@ -1367,8 +1346,6 @@ function toURLEncodedForm(data, options) {
1367
1346
  }, options));
1368
1347
  }
1369
1348
 
1370
- 'use strict';
1371
-
1372
1349
  /**
1373
1350
  * It takes a string like `foo[x][y][z]` and returns an array like `['foo', 'x', 'y', 'z']
1374
1351
  *
@@ -1459,8 +1436,6 @@ function formDataToJSON(formData) {
1459
1436
  return null;
1460
1437
  }
1461
1438
 
1462
- 'use strict';
1463
-
1464
1439
  /**
1465
1440
  * It takes a string, tries to parse it, and if it fails, it returns the stringified version
1466
1441
  * of the input
@@ -1534,7 +1509,7 @@ const defaults = {
1534
1509
  if ((isFileList = utils$1.isFileList(data)) || contentType.indexOf('multipart/form-data') > -1) {
1535
1510
  const _FormData = this.env && this.env.FormData;
1536
1511
 
1537
- return toFormData$1(
1512
+ return toFormData(
1538
1513
  isFileList ? {'files[]': data} : data,
1539
1514
  _FormData && new _FormData(),
1540
1515
  this.formSerializer
@@ -1568,7 +1543,7 @@ const defaults = {
1568
1543
  } catch (e) {
1569
1544
  if (strictJSONParsing) {
1570
1545
  if (e.name === 'SyntaxError') {
1571
- throw AxiosError$1.from(e, AxiosError$1.ERR_BAD_RESPONSE, this, null, this.response);
1546
+ throw AxiosError.from(e, AxiosError.ERR_BAD_RESPONSE, this, null, this.response);
1572
1547
  }
1573
1548
  throw e;
1574
1549
  }
@@ -1611,7 +1586,7 @@ utils$1.forEach(['delete', 'get', 'head', 'post', 'put', 'patch'], (method) => {
1611
1586
  defaults.headers[method] = {};
1612
1587
  });
1613
1588
 
1614
- 'use strict';
1589
+ const defaults$1 = defaults;
1615
1590
 
1616
1591
  // RawAxiosHeaders whose duplicates are ignored by node
1617
1592
  // c.f. https://nodejs.org/api/http.html#http_message_headers
@@ -1665,8 +1640,6 @@ const parseHeaders = rawHeaders => {
1665
1640
  return parsed;
1666
1641
  };
1667
1642
 
1668
- 'use strict';
1669
-
1670
1643
  const $internals = Symbol('internals');
1671
1644
 
1672
1645
  function normalizeHeader(header) {
@@ -1735,7 +1708,7 @@ function buildAccessors(obj, header) {
1735
1708
  });
1736
1709
  }
1737
1710
 
1738
- class AxiosHeaders$1 {
1711
+ class AxiosHeaders {
1739
1712
  constructor(headers) {
1740
1713
  headers && this.set(headers);
1741
1714
  }
@@ -1948,10 +1921,10 @@ class AxiosHeaders$1 {
1948
1921
  }
1949
1922
  }
1950
1923
 
1951
- AxiosHeaders$1.accessor(['Content-Type', 'Content-Length', 'Accept', 'Accept-Encoding', 'User-Agent', 'Authorization']);
1924
+ AxiosHeaders.accessor(['Content-Type', 'Content-Length', 'Accept', 'Accept-Encoding', 'User-Agent', 'Authorization']);
1952
1925
 
1953
1926
  // reserved names hotfix
1954
- utils$1.reduceDescriptors(AxiosHeaders$1.prototype, ({value}, key) => {
1927
+ utils$1.reduceDescriptors(AxiosHeaders.prototype, ({value}, key) => {
1955
1928
  let mapped = key[0].toUpperCase() + key.slice(1); // map `set` => `Set`
1956
1929
  return {
1957
1930
  get: () => value,
@@ -1961,9 +1934,9 @@ utils$1.reduceDescriptors(AxiosHeaders$1.prototype, ({value}, key) => {
1961
1934
  }
1962
1935
  });
1963
1936
 
1964
- utils$1.freezeMethods(AxiosHeaders$1);
1937
+ utils$1.freezeMethods(AxiosHeaders);
1965
1938
 
1966
- 'use strict';
1939
+ const AxiosHeaders$1 = AxiosHeaders;
1967
1940
 
1968
1941
  /**
1969
1942
  * Transform the data for a request or a response
@@ -1974,7 +1947,7 @@ utils$1.freezeMethods(AxiosHeaders$1);
1974
1947
  * @returns {*} The resulting transformed data
1975
1948
  */
1976
1949
  function transformData(fns, response) {
1977
- const config = this || defaults;
1950
+ const config = this || defaults$1;
1978
1951
  const context = response || config;
1979
1952
  const headers = AxiosHeaders$1.from(context.headers);
1980
1953
  let data = context.data;
@@ -1988,14 +1961,10 @@ function transformData(fns, response) {
1988
1961
  return data;
1989
1962
  }
1990
1963
 
1991
- 'use strict';
1992
-
1993
- function isCancel$1(value) {
1964
+ function isCancel(value) {
1994
1965
  return !!(value && value.__CANCEL__);
1995
1966
  }
1996
1967
 
1997
- 'use strict';
1998
-
1999
1968
  /**
2000
1969
  * A `CanceledError` is an object that is thrown when an operation is canceled.
2001
1970
  *
@@ -2005,18 +1974,16 @@ function isCancel$1(value) {
2005
1974
  *
2006
1975
  * @returns {CanceledError} The created error.
2007
1976
  */
2008
- function CanceledError$1(message, config, request) {
1977
+ function CanceledError(message, config, request) {
2009
1978
  // eslint-disable-next-line no-eq-null,eqeqeq
2010
- AxiosError$1.call(this, message == null ? 'canceled' : message, AxiosError$1.ERR_CANCELED, config, request);
1979
+ AxiosError.call(this, message == null ? 'canceled' : message, AxiosError.ERR_CANCELED, config, request);
2011
1980
  this.name = 'CanceledError';
2012
1981
  }
2013
1982
 
2014
- utils$1.inherits(CanceledError$1, AxiosError$1, {
1983
+ utils$1.inherits(CanceledError, AxiosError, {
2015
1984
  __CANCEL__: true
2016
1985
  });
2017
1986
 
2018
- 'use strict';
2019
-
2020
1987
  /**
2021
1988
  * Resolve or reject a Promise based on response status.
2022
1989
  *
@@ -2031,9 +1998,9 @@ function settle(resolve, reject, response) {
2031
1998
  if (!response.status || !validateStatus || validateStatus(response.status)) {
2032
1999
  resolve(response);
2033
2000
  } else {
2034
- reject(new AxiosError$1(
2001
+ reject(new AxiosError(
2035
2002
  'Request failed with status code ' + response.status,
2036
- [AxiosError$1.ERR_BAD_REQUEST, AxiosError$1.ERR_BAD_RESPONSE][Math.floor(response.status / 100) - 4],
2003
+ [AxiosError.ERR_BAD_REQUEST, AxiosError.ERR_BAD_RESPONSE][Math.floor(response.status / 100) - 4],
2037
2004
  response.config,
2038
2005
  response.request,
2039
2006
  response
@@ -2041,15 +2008,11 @@ function settle(resolve, reject, response) {
2041
2008
  }
2042
2009
  }
2043
2010
 
2044
- 'use strict';
2045
-
2046
2011
  function parseProtocol(url) {
2047
2012
  const match = /^([-+\w]{1,25})(:?\/\/|:)/.exec(url);
2048
2013
  return match && match[1] || '';
2049
2014
  }
2050
2015
 
2051
- 'use strict';
2052
-
2053
2016
  /**
2054
2017
  * Calculate data maxRate
2055
2018
  * @param {Number} [samplesCount= 10]
@@ -2186,8 +2149,6 @@ const progressEventDecorator = (total, throttled) => {
2186
2149
 
2187
2150
  const asyncDecorator = (fn) => (...args) => utils$1.asap(() => fn(...args));
2188
2151
 
2189
- 'use strict';
2190
-
2191
2152
  const isURLSameOrigin = platform.hasStandardBrowserEnv ?
2192
2153
 
2193
2154
  // Standard browser envs have full support of the APIs needed to test
@@ -2290,8 +2251,6 @@ const cookies = platform.hasStandardBrowserEnv ?
2290
2251
  remove() {}
2291
2252
  };
2292
2253
 
2293
- 'use strict';
2294
-
2295
2254
  /**
2296
2255
  * Determines whether the specified URL is absolute
2297
2256
  *
@@ -2306,8 +2265,6 @@ function isAbsoluteURL(url) {
2306
2265
  return /^([a-z][a-z\d+\-.]*:)?\/\//i.test(url);
2307
2266
  }
2308
2267
 
2309
- 'use strict';
2310
-
2311
2268
  /**
2312
2269
  * Creates a new URL by combining the specified URLs
2313
2270
  *
@@ -2322,8 +2279,6 @@ function combineURLs(baseURL, relativeURL) {
2322
2279
  : baseURL;
2323
2280
  }
2324
2281
 
2325
- 'use strict';
2326
-
2327
2282
  /**
2328
2283
  * Creates a new URL by combining the baseURL with the requestedURL,
2329
2284
  * only when the requestedURL is not already an absolute URL.
@@ -2341,8 +2296,6 @@ function buildFullPath(baseURL, requestedURL) {
2341
2296
  return requestedURL;
2342
2297
  }
2343
2298
 
2344
- 'use strict';
2345
-
2346
2299
  const headersToObject = (thing) => thing instanceof AxiosHeaders$1 ? { ...thing } : thing;
2347
2300
 
2348
2301
  /**
@@ -2354,7 +2307,7 @@ const headersToObject = (thing) => thing instanceof AxiosHeaders$1 ? { ...thing
2354
2307
  *
2355
2308
  * @returns {Object} New object resulting from merging config2 to config1
2356
2309
  */
2357
- function mergeConfig$1(config1, config2) {
2310
+ function mergeConfig(config1, config2) {
2358
2311
  // eslint-disable-next-line no-param-reassign
2359
2312
  config2 = config2 || {};
2360
2313
  const config = {};
@@ -2446,7 +2399,7 @@ function mergeConfig$1(config1, config2) {
2446
2399
  }
2447
2400
 
2448
2401
  const resolveConfig = (config) => {
2449
- const newConfig = mergeConfig$1({}, config);
2402
+ const newConfig = mergeConfig({}, config);
2450
2403
 
2451
2404
  let {data, withXSRFToken, xsrfHeaderName, xsrfCookieName, headers, auth} = newConfig;
2452
2405
 
@@ -2581,7 +2534,7 @@ const xhrAdapter = isXHRAdapterSupported && function (config) {
2581
2534
  return;
2582
2535
  }
2583
2536
 
2584
- reject(new AxiosError$1('Request aborted', AxiosError$1.ECONNABORTED, config, request));
2537
+ reject(new AxiosError('Request aborted', AxiosError.ECONNABORTED, config, request));
2585
2538
 
2586
2539
  // Clean up request
2587
2540
  request = null;
@@ -2591,7 +2544,7 @@ const xhrAdapter = isXHRAdapterSupported && function (config) {
2591
2544
  request.onerror = function handleError() {
2592
2545
  // Real errors are hidden from us by the browser
2593
2546
  // onerror should only fire if it's a network error
2594
- reject(new AxiosError$1('Network Error', AxiosError$1.ERR_NETWORK, config, request));
2547
+ reject(new AxiosError('Network Error', AxiosError.ERR_NETWORK, config, request));
2595
2548
 
2596
2549
  // Clean up request
2597
2550
  request = null;
@@ -2604,9 +2557,9 @@ const xhrAdapter = isXHRAdapterSupported && function (config) {
2604
2557
  if (_config.timeoutErrorMessage) {
2605
2558
  timeoutErrorMessage = _config.timeoutErrorMessage;
2606
2559
  }
2607
- reject(new AxiosError$1(
2560
+ reject(new AxiosError(
2608
2561
  timeoutErrorMessage,
2609
- transitional.clarifyTimeoutError ? AxiosError$1.ETIMEDOUT : AxiosError$1.ECONNABORTED,
2562
+ transitional.clarifyTimeoutError ? AxiosError.ETIMEDOUT : AxiosError.ECONNABORTED,
2610
2563
  config,
2611
2564
  request));
2612
2565
 
@@ -2656,7 +2609,7 @@ const xhrAdapter = isXHRAdapterSupported && function (config) {
2656
2609
  if (!request) {
2657
2610
  return;
2658
2611
  }
2659
- reject(!cancel || cancel.type ? new CanceledError$1(null, config, request) : cancel);
2612
+ reject(!cancel || cancel.type ? new CanceledError(null, config, request) : cancel);
2660
2613
  request.abort();
2661
2614
  request = null;
2662
2615
  };
@@ -2670,7 +2623,7 @@ const xhrAdapter = isXHRAdapterSupported && function (config) {
2670
2623
  const protocol = parseProtocol(_config.url);
2671
2624
 
2672
2625
  if (protocol && platform.protocols.indexOf(protocol) === -1) {
2673
- reject(new AxiosError$1('Unsupported protocol ' + protocol + ':', AxiosError$1.ERR_BAD_REQUEST, config));
2626
+ reject(new AxiosError('Unsupported protocol ' + protocol + ':', AxiosError.ERR_BAD_REQUEST, config));
2674
2627
  return;
2675
2628
  }
2676
2629
 
@@ -2693,13 +2646,13 @@ const composeSignals = (signals, timeout) => {
2693
2646
  aborted = true;
2694
2647
  unsubscribe();
2695
2648
  const err = reason instanceof Error ? reason : this.reason;
2696
- controller.abort(err instanceof AxiosError$1 ? err : new CanceledError$1(err instanceof Error ? err.message : err));
2649
+ controller.abort(err instanceof AxiosError ? err : new CanceledError(err instanceof Error ? err.message : err));
2697
2650
  }
2698
2651
  };
2699
2652
 
2700
2653
  let timer = timeout && setTimeout(() => {
2701
2654
  timer = null;
2702
- onabort(new AxiosError$1(`timeout ${timeout} of ms exceeded`, AxiosError$1.ETIMEDOUT));
2655
+ onabort(new AxiosError(`timeout ${timeout} of ms exceeded`, AxiosError.ETIMEDOUT));
2703
2656
  }, timeout);
2704
2657
 
2705
2658
  const unsubscribe = () => {
@@ -2723,6 +2676,8 @@ const composeSignals = (signals, timeout) => {
2723
2676
  }
2724
2677
  };
2725
2678
 
2679
+ const composeSignals$1 = composeSignals;
2680
+
2726
2681
  const streamChunk = function* (chunk, chunkSize) {
2727
2682
  let len = chunk.byteLength;
2728
2683
 
@@ -2856,7 +2811,7 @@ isFetchSupported && (((res) => {
2856
2811
  ['text', 'arrayBuffer', 'blob', 'formData', 'stream'].forEach(type => {
2857
2812
  !resolvers[type] && (resolvers[type] = utils$1.isFunction(res[type]) ? (res) => res[type]() :
2858
2813
  (_, config) => {
2859
- throw new AxiosError$1(`Response type '${type}' is not supported`, AxiosError$1.ERR_NOT_SUPPORT, config);
2814
+ throw new AxiosError(`Response type '${type}' is not supported`, AxiosError.ERR_NOT_SUPPORT, config);
2860
2815
  });
2861
2816
  });
2862
2817
  })(new Response));
@@ -2915,7 +2870,7 @@ const fetchAdapter = isFetchSupported && (async (config) => {
2915
2870
 
2916
2871
  responseType = responseType ? (responseType + '').toLowerCase() : 'text';
2917
2872
 
2918
- let composedSignal = composeSignals([signal, cancelToken && cancelToken.toAbortSignal()], timeout);
2873
+ let composedSignal = composeSignals$1([signal, cancelToken && cancelToken.toAbortSignal()], timeout);
2919
2874
 
2920
2875
  let request;
2921
2876
 
@@ -3017,14 +2972,14 @@ const fetchAdapter = isFetchSupported && (async (config) => {
3017
2972
 
3018
2973
  if (err && err.name === 'TypeError' && /fetch/i.test(err.message)) {
3019
2974
  throw Object.assign(
3020
- new AxiosError$1('Network Error', AxiosError$1.ERR_NETWORK, config, request),
2975
+ new AxiosError('Network Error', AxiosError.ERR_NETWORK, config, request),
3021
2976
  {
3022
2977
  cause: err.cause || err
3023
2978
  }
3024
2979
  )
3025
2980
  }
3026
2981
 
3027
- throw AxiosError$1.from(err, err && err.code, config, request);
2982
+ throw AxiosError.from(err, err && err.code, config, request);
3028
2983
  }
3029
2984
  });
3030
2985
 
@@ -3069,7 +3024,7 @@ const adapters = {
3069
3024
  adapter = knownAdapters[(id = String(nameOrAdapter)).toLowerCase()];
3070
3025
 
3071
3026
  if (adapter === undefined) {
3072
- throw new AxiosError$1(`Unknown adapter '${id}'`);
3027
+ throw new AxiosError(`Unknown adapter '${id}'`);
3073
3028
  }
3074
3029
  }
3075
3030
 
@@ -3091,7 +3046,7 @@ const adapters = {
3091
3046
  (reasons.length > 1 ? 'since :\n' + reasons.map(renderReason).join('\n') : ' ' + renderReason(reasons[0])) :
3092
3047
  'as no adapter specified';
3093
3048
 
3094
- throw new AxiosError$1(
3049
+ throw new AxiosError(
3095
3050
  `There is no suitable adapter to dispatch the request ` + s,
3096
3051
  'ERR_NOT_SUPPORT'
3097
3052
  );
@@ -3102,8 +3057,6 @@ const adapters = {
3102
3057
  adapters: knownAdapters
3103
3058
  };
3104
3059
 
3105
- 'use strict';
3106
-
3107
3060
  /**
3108
3061
  * Throws a `CanceledError` if cancellation has been requested.
3109
3062
  *
@@ -3117,7 +3070,7 @@ function throwIfCancellationRequested(config) {
3117
3070
  }
3118
3071
 
3119
3072
  if (config.signal && config.signal.aborted) {
3120
- throw new CanceledError$1(null, config);
3073
+ throw new CanceledError(null, config);
3121
3074
  }
3122
3075
  }
3123
3076
 
@@ -3143,7 +3096,7 @@ function dispatchRequest(config) {
3143
3096
  config.headers.setContentType('application/x-www-form-urlencoded', false);
3144
3097
  }
3145
3098
 
3146
- const adapter = adapters.getAdapter(config.adapter || defaults.adapter);
3099
+ const adapter = adapters.getAdapter(config.adapter || defaults$1.adapter);
3147
3100
 
3148
3101
  return adapter(config).then(function onAdapterResolution(response) {
3149
3102
  throwIfCancellationRequested(config);
@@ -3159,7 +3112,7 @@ function dispatchRequest(config) {
3159
3112
 
3160
3113
  return response;
3161
3114
  }, function onAdapterRejection(reason) {
3162
- if (!isCancel$1(reason)) {
3115
+ if (!isCancel(reason)) {
3163
3116
  throwIfCancellationRequested(config);
3164
3117
 
3165
3118
  // Transform response data
@@ -3177,9 +3130,7 @@ function dispatchRequest(config) {
3177
3130
  });
3178
3131
  }
3179
3132
 
3180
- const VERSION$1 = "1.7.7";
3181
-
3182
- 'use strict';
3133
+ const VERSION = "1.7.7";
3183
3134
 
3184
3135
  const validators$1 = {};
3185
3136
 
@@ -3203,15 +3154,15 @@ const deprecatedWarnings = {};
3203
3154
  */
3204
3155
  validators$1.transitional = function transitional(validator, version, message) {
3205
3156
  function formatMessage(opt, desc) {
3206
- return '[Axios v' + VERSION$1 + '] Transitional option \'' + opt + '\'' + desc + (message ? '. ' + message : '');
3157
+ return '[Axios v' + VERSION + '] Transitional option \'' + opt + '\'' + desc + (message ? '. ' + message : '');
3207
3158
  }
3208
3159
 
3209
3160
  // eslint-disable-next-line func-names
3210
3161
  return (value, opt, opts) => {
3211
3162
  if (validator === false) {
3212
- throw new AxiosError$1(
3163
+ throw new AxiosError(
3213
3164
  formatMessage(opt, ' has been removed' + (version ? ' in ' + version : '')),
3214
- AxiosError$1.ERR_DEPRECATED
3165
+ AxiosError.ERR_DEPRECATED
3215
3166
  );
3216
3167
  }
3217
3168
 
@@ -3242,7 +3193,7 @@ validators$1.transitional = function transitional(validator, version, message) {
3242
3193
 
3243
3194
  function assertOptions(options, schema, allowUnknown) {
3244
3195
  if (typeof options !== 'object') {
3245
- throw new AxiosError$1('options must be an object', AxiosError$1.ERR_BAD_OPTION_VALUE);
3196
+ throw new AxiosError('options must be an object', AxiosError.ERR_BAD_OPTION_VALUE);
3246
3197
  }
3247
3198
  const keys = Object.keys(options);
3248
3199
  let i = keys.length;
@@ -3253,12 +3204,12 @@ function assertOptions(options, schema, allowUnknown) {
3253
3204
  const value = options[opt];
3254
3205
  const result = value === undefined || validator(value, opt, options);
3255
3206
  if (result !== true) {
3256
- throw new AxiosError$1('option ' + opt + ' must be ' + result, AxiosError$1.ERR_BAD_OPTION_VALUE);
3207
+ throw new AxiosError('option ' + opt + ' must be ' + result, AxiosError.ERR_BAD_OPTION_VALUE);
3257
3208
  }
3258
3209
  continue;
3259
3210
  }
3260
3211
  if (allowUnknown !== true) {
3261
- throw new AxiosError$1('Unknown option ' + opt, AxiosError$1.ERR_BAD_OPTION);
3212
+ throw new AxiosError('Unknown option ' + opt, AxiosError.ERR_BAD_OPTION);
3262
3213
  }
3263
3214
  }
3264
3215
  }
@@ -3268,8 +3219,6 @@ const validator = {
3268
3219
  validators: validators$1
3269
3220
  };
3270
3221
 
3271
- 'use strict';
3272
-
3273
3222
  const validators = validator.validators;
3274
3223
 
3275
3224
  /**
@@ -3279,12 +3228,12 @@ const validators = validator.validators;
3279
3228
  *
3280
3229
  * @return {Axios} A new instance of Axios
3281
3230
  */
3282
- class Axios$1 {
3231
+ class Axios {
3283
3232
  constructor(instanceConfig) {
3284
3233
  this.defaults = instanceConfig;
3285
3234
  this.interceptors = {
3286
- request: new InterceptorManager(),
3287
- response: new InterceptorManager()
3235
+ request: new InterceptorManager$1(),
3236
+ response: new InterceptorManager$1()
3288
3237
  };
3289
3238
  }
3290
3239
 
@@ -3333,7 +3282,7 @@ class Axios$1 {
3333
3282
  config = configOrUrl || {};
3334
3283
  }
3335
3284
 
3336
- config = mergeConfig$1(this.defaults, config);
3285
+ config = mergeConfig(this.defaults, config);
3337
3286
 
3338
3287
  const {transitional, paramsSerializer, headers} = config;
3339
3288
 
@@ -3447,7 +3396,7 @@ class Axios$1 {
3447
3396
  }
3448
3397
 
3449
3398
  getUri(config) {
3450
- config = mergeConfig$1(this.defaults, config);
3399
+ config = mergeConfig(this.defaults, config);
3451
3400
  const fullPath = buildFullPath(config.baseURL, config.url);
3452
3401
  return buildURL(fullPath, config.params, config.paramsSerializer);
3453
3402
  }
@@ -3456,8 +3405,8 @@ class Axios$1 {
3456
3405
  // Provide aliases for supported request methods
3457
3406
  utils$1.forEach(['delete', 'get', 'head', 'options'], function forEachMethodNoData(method) {
3458
3407
  /*eslint func-names:0*/
3459
- Axios$1.prototype[method] = function(url, config) {
3460
- return this.request(mergeConfig$1(config || {}, {
3408
+ Axios.prototype[method] = function(url, config) {
3409
+ return this.request(mergeConfig(config || {}, {
3461
3410
  method,
3462
3411
  url,
3463
3412
  data: (config || {}).data
@@ -3470,7 +3419,7 @@ utils$1.forEach(['post', 'put', 'patch'], function forEachMethodWithData(method)
3470
3419
 
3471
3420
  function generateHTTPMethod(isForm) {
3472
3421
  return function httpMethod(url, data, config) {
3473
- return this.request(mergeConfig$1(config || {}, {
3422
+ return this.request(mergeConfig(config || {}, {
3474
3423
  method,
3475
3424
  headers: isForm ? {
3476
3425
  'Content-Type': 'multipart/form-data'
@@ -3481,12 +3430,12 @@ utils$1.forEach(['post', 'put', 'patch'], function forEachMethodWithData(method)
3481
3430
  };
3482
3431
  }
3483
3432
 
3484
- Axios$1.prototype[method] = generateHTTPMethod();
3433
+ Axios.prototype[method] = generateHTTPMethod();
3485
3434
 
3486
- Axios$1.prototype[method + 'Form'] = generateHTTPMethod(true);
3435
+ Axios.prototype[method + 'Form'] = generateHTTPMethod(true);
3487
3436
  });
3488
3437
 
3489
- 'use strict';
3438
+ const Axios$1 = Axios;
3490
3439
 
3491
3440
  /**
3492
3441
  * A `CancelToken` is an object that can be used to request cancellation of an operation.
@@ -3495,7 +3444,7 @@ utils$1.forEach(['post', 'put', 'patch'], function forEachMethodWithData(method)
3495
3444
  *
3496
3445
  * @returns {CancelToken}
3497
3446
  */
3498
- class CancelToken$1 {
3447
+ class CancelToken {
3499
3448
  constructor(executor) {
3500
3449
  if (typeof executor !== 'function') {
3501
3450
  throw new TypeError('executor must be a function.');
@@ -3543,7 +3492,7 @@ class CancelToken$1 {
3543
3492
  return;
3544
3493
  }
3545
3494
 
3546
- token.reason = new CanceledError$1(message, config, request);
3495
+ token.reason = new CanceledError(message, config, request);
3547
3496
  resolvePromise(token.reason);
3548
3497
  });
3549
3498
  }
@@ -3608,7 +3557,7 @@ class CancelToken$1 {
3608
3557
  */
3609
3558
  static source() {
3610
3559
  let cancel;
3611
- const token = new CancelToken$1(function executor(c) {
3560
+ const token = new CancelToken(function executor(c) {
3612
3561
  cancel = c;
3613
3562
  });
3614
3563
  return {
@@ -3618,7 +3567,7 @@ class CancelToken$1 {
3618
3567
  }
3619
3568
  }
3620
3569
 
3621
- 'use strict';
3570
+ const CancelToken$1 = CancelToken;
3622
3571
 
3623
3572
  /**
3624
3573
  * Syntactic sugar for invoking a function and expanding an array for arguments.
@@ -3641,14 +3590,12 @@ class CancelToken$1 {
3641
3590
  *
3642
3591
  * @returns {Function}
3643
3592
  */
3644
- function spread$1(callback) {
3593
+ function spread(callback) {
3645
3594
  return function wrap(arr) {
3646
3595
  return callback.apply(null, arr);
3647
3596
  };
3648
3597
  }
3649
3598
 
3650
- 'use strict';
3651
-
3652
3599
  /**
3653
3600
  * Determines whether the payload is an error thrown by Axios
3654
3601
  *
@@ -3656,11 +3603,11 @@ function spread$1(callback) {
3656
3603
  *
3657
3604
  * @returns {boolean} True if the payload is an error thrown by Axios, otherwise false
3658
3605
  */
3659
- function isAxiosError$1(payload) {
3606
+ function isAxiosError(payload) {
3660
3607
  return utils$1.isObject(payload) && (payload.isAxiosError === true);
3661
3608
  }
3662
3609
 
3663
- const HttpStatusCode$1 = {
3610
+ const HttpStatusCode = {
3664
3611
  Continue: 100,
3665
3612
  SwitchingProtocols: 101,
3666
3613
  Processing: 102,
@@ -3726,11 +3673,11 @@ const HttpStatusCode$1 = {
3726
3673
  NetworkAuthenticationRequired: 511,
3727
3674
  };
3728
3675
 
3729
- Object.entries(HttpStatusCode$1).forEach(([key, value]) => {
3730
- HttpStatusCode$1[value] = key;
3676
+ Object.entries(HttpStatusCode).forEach(([key, value]) => {
3677
+ HttpStatusCode[value] = key;
3731
3678
  });
3732
3679
 
3733
- 'use strict';
3680
+ const HttpStatusCode$1 = HttpStatusCode;
3734
3681
 
3735
3682
  /**
3736
3683
  * Create an instance of Axios
@@ -3751,27 +3698,27 @@ function createInstance(defaultConfig) {
3751
3698
 
3752
3699
  // Factory for creating new instances
3753
3700
  instance.create = function create(instanceConfig) {
3754
- return createInstance(mergeConfig$1(defaultConfig, instanceConfig));
3701
+ return createInstance(mergeConfig(defaultConfig, instanceConfig));
3755
3702
  };
3756
3703
 
3757
3704
  return instance;
3758
3705
  }
3759
3706
 
3760
3707
  // Create the default instance to be exported
3761
- const axios = createInstance(defaults);
3708
+ const axios = createInstance(defaults$1);
3762
3709
 
3763
3710
  // Expose Axios class to allow class inheritance
3764
3711
  axios.Axios = Axios$1;
3765
3712
 
3766
3713
  // Expose Cancel & CancelToken
3767
- axios.CanceledError = CanceledError$1;
3714
+ axios.CanceledError = CanceledError;
3768
3715
  axios.CancelToken = CancelToken$1;
3769
- axios.isCancel = isCancel$1;
3770
- axios.VERSION = VERSION$1;
3771
- axios.toFormData = toFormData$1;
3716
+ axios.isCancel = isCancel;
3717
+ axios.VERSION = VERSION;
3718
+ axios.toFormData = toFormData;
3772
3719
 
3773
3720
  // Expose AxiosError class
3774
- axios.AxiosError = AxiosError$1;
3721
+ axios.AxiosError = AxiosError;
3775
3722
 
3776
3723
  // alias for CanceledError for backward compatibility
3777
3724
  axios.Cancel = axios.CanceledError;
@@ -3781,13 +3728,13 @@ axios.all = function all(promises) {
3781
3728
  return Promise.all(promises);
3782
3729
  };
3783
3730
 
3784
- axios.spread = spread$1;
3731
+ axios.spread = spread;
3785
3732
 
3786
3733
  // Expose isAxiosError
3787
- axios.isAxiosError = isAxiosError$1;
3734
+ axios.isAxiosError = isAxiosError;
3788
3735
 
3789
3736
  // Expose mergeConfig
3790
- axios.mergeConfig = mergeConfig$1;
3737
+ axios.mergeConfig = mergeConfig;
3791
3738
 
3792
3739
  axios.AxiosHeaders = AxiosHeaders$1;
3793
3740
 
@@ -3799,36 +3746,14 @@ axios.HttpStatusCode = HttpStatusCode$1;
3799
3746
 
3800
3747
  axios.default = axios;
3801
3748
 
3802
- // This module is intended to unwrap Axios default export as named.
3803
- // Keep top-level export same with static properties
3804
- // so that it can keep same with es module or cjs
3805
- const {
3806
- Axios,
3807
- AxiosError,
3808
- CanceledError,
3809
- isCancel,
3810
- CancelToken,
3811
- VERSION,
3812
- all,
3813
- Cancel,
3814
- isAxiosError,
3815
- spread,
3816
- toFormData,
3817
- AxiosHeaders,
3818
- HttpStatusCode,
3819
- formToJSON,
3820
- getAdapter,
3821
- mergeConfig
3822
- } = axios;
3749
+ // this module should only have a default export
3750
+ const axios$1 = axios;
3823
3751
 
3824
3752
  const CRM_BONUS_API_URL = "https://crmbonus-service-staging-d15ba5377115.herokuapp.com"; //"https://typically-workable-perch.ngrok-free.app"; // "http://localhost:3500";
3825
- const CRM_BONUS_ID_LOJA = "undefined";
3826
- const CRM_BONUS_CODEMPRESA = "undefined";
3827
- const CRM_BONUS_AUTHORIZATION = "undefined";
3828
3753
 
3829
3754
  class CrmBonusService {
3830
3755
  constructor() {
3831
- this.axiosInstance = axios.create({
3756
+ this.axiosInstance = axios$1.create({
3832
3757
  baseURL: CRM_BONUS_API_URL,
3833
3758
  headers: {
3834
3759
  'Content-Type': 'application/json',
@@ -3843,7 +3768,7 @@ class CrmBonusService {
3843
3768
  }
3844
3769
  async updateOrder(updateOrderDTO) {
3845
3770
  const response = await this.axiosInstance.put(`/api/carts/update_cart/${updateOrderDTO.cartId}`, {
3846
- orderId: updateOrderDTO.cartId,
3771
+ orderId: updateOrderDTO.orderId,
3847
3772
  cartIdCrm: updateOrderDTO.cartIdCrm
3848
3773
  }, { headers: { 'Content-Type': 'application/json' } });
3849
3774
  console.log('response', response.data);
@@ -3868,4 +3793,4 @@ class CrmBonusService {
3868
3793
 
3869
3794
  export { CrmBonusService as C };
3870
3795
 
3871
- //# sourceMappingURL=crmbonus.service-5208f883.js.map
3796
+ //# sourceMappingURL=p-374de9ae.js.map