@konnectio/core 4.3.3 → 4.3.4

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.
Files changed (93) hide show
  1. package/dist/{ActionField-BsmMIhW6.js → ActionField-aNzOb2ZE.js} +2 -2
  2. package/dist/ActionField-aNzOb2ZE.js.br +0 -0
  3. package/dist/ActionField-aNzOb2ZE.js.gz +0 -0
  4. package/dist/{AvailabilitySkeleton-D3iv0cT1.js → AvailabilitySkeleton-BEQboDHw.js} +5 -5
  5. package/dist/AvailabilitySkeleton-BEQboDHw.js.br +0 -0
  6. package/dist/AvailabilitySkeleton-BEQboDHw.js.gz +0 -0
  7. package/dist/{AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_86730e88_lang-XzdmauPt.js → AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_86730e88_lang-D0Nr2tTn.js} +2 -2
  8. package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_86730e88_lang-D0Nr2tTn.js.br +0 -0
  9. package/dist/{AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_86730e88_lang-XzdmauPt.js.gz → AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_86730e88_lang-D0Nr2tTn.js.gz} +0 -0
  10. package/dist/{CheckoutWindow-CF2-eaiR.js → CheckoutWindow-BmHYd2-t.js} +2 -2
  11. package/dist/CheckoutWindow-BmHYd2-t.js.br +0 -0
  12. package/dist/CheckoutWindow-BmHYd2-t.js.gz +0 -0
  13. package/dist/{ErrorMessage-rPcq7mbu.js → ErrorMessage-CR6nsvpG.js} +2 -2
  14. package/dist/ErrorMessage-CR6nsvpG.js.br +0 -0
  15. package/dist/ErrorMessage-CR6nsvpG.js.gz +0 -0
  16. package/dist/{EventAvailabilityForm-CcQwnzol.js → EventAvailabilityForm-BifH0nPI.js} +3 -3
  17. package/dist/EventAvailabilityForm-BifH0nPI.js.br +0 -0
  18. package/dist/EventAvailabilityForm-BifH0nPI.js.gz +0 -0
  19. package/dist/{Field-Dw5FVydD.js → Field-B2jdmjrN.js} +3 -3
  20. package/dist/Field-B2jdmjrN.js.br +0 -0
  21. package/dist/Field-B2jdmjrN.js.gz +0 -0
  22. package/dist/{Field.vue_vue_type_style_index_0_scoped_6ef33e68_lang-NEWgHGKm.js → Field.vue_vue_type_style_index_0_scoped_6ef33e68_lang-VcCD-H0U.js} +2 -2
  23. package/dist/Field.vue_vue_type_style_index_0_scoped_6ef33e68_lang-VcCD-H0U.js.br +0 -0
  24. package/dist/Field.vue_vue_type_style_index_0_scoped_6ef33e68_lang-VcCD-H0U.js.gz +0 -0
  25. package/dist/{SelectField.vue_vue_type_style_index_0_lang-Cev1TH7y.js → SelectField.vue_vue_type_style_index_0_lang-BPnYFHa4.js} +767 -762
  26. package/dist/SelectField.vue_vue_type_style_index_0_lang-BPnYFHa4.js.br +0 -0
  27. package/dist/SelectField.vue_vue_type_style_index_0_lang-BPnYFHa4.js.gz +0 -0
  28. package/dist/{TermsOfService-D_lDtdlp.js → TermsOfService-DbQt3pLi.js} +3 -3
  29. package/dist/TermsOfService-DbQt3pLi.js.br +0 -0
  30. package/dist/TermsOfService-DbQt3pLi.js.gz +0 -0
  31. package/dist/_-CCH1RDZD.js +5 -0
  32. package/dist/{_.vue_vue_type_style_index_0_lang-CW619CRS.js → _.vue_vue_type_style_index_0_lang-DRp7kMrC.js} +2 -2
  33. package/dist/_.vue_vue_type_style_index_0_lang-DRp7kMrC.js.br +0 -0
  34. package/dist/_.vue_vue_type_style_index_0_lang-DRp7kMrC.js.gz +0 -0
  35. package/dist/availability.js +6 -6
  36. package/dist/availability.js.br +0 -0
  37. package/dist/availability.js.gz +0 -0
  38. package/dist/cancel-reservation.js +3 -3
  39. package/dist/cancel-reservation.js.br +0 -0
  40. package/dist/cancel-reservation.js.gz +0 -0
  41. package/dist/event.js +8 -8
  42. package/dist/event.js.br +0 -0
  43. package/dist/event.js.gz +0 -0
  44. package/dist/gift-card-validation.js +7 -7
  45. package/dist/gift-card-validation.js.br +0 -0
  46. package/dist/gift-card-validation.js.gz +0 -0
  47. package/dist/gift-card.js +9 -9
  48. package/dist/gift-card.js.br +0 -0
  49. package/dist/gift-card.js.gz +0 -0
  50. package/dist/{giftCard-C5SFtGL4.js → giftCard-DuYeuLQX.js} +2 -2
  51. package/dist/giftCard-DuYeuLQX.js.br +0 -0
  52. package/dist/giftCard-DuYeuLQX.js.gz +0 -0
  53. package/dist/hotel.js +9 -9
  54. package/dist/hotel.js.br +0 -0
  55. package/dist/hotel.js.gz +0 -0
  56. package/dist/{index-Dp94FdK7.js → index-DmkBVtIQ.js} +190 -189
  57. package/dist/index-DmkBVtIQ.js.br +0 -0
  58. package/dist/index-DmkBVtIQ.js.gz +0 -0
  59. package/dist/{masonry.plugin-DnqS8CJ4.js → masonry.plugin-BX6FQ1DO.js} +5 -5
  60. package/dist/masonry.plugin-BX6FQ1DO.js.br +0 -0
  61. package/dist/masonry.plugin-BX6FQ1DO.js.gz +0 -0
  62. package/dist/polyfill.js +6065 -5759
  63. package/dist/polyfill.js.br +0 -0
  64. package/dist/polyfill.js.gz +0 -0
  65. package/package.json +11 -11
  66. package/dist/ActionField-BsmMIhW6.js.br +0 -0
  67. package/dist/ActionField-BsmMIhW6.js.gz +0 -0
  68. package/dist/AvailabilitySkeleton-D3iv0cT1.js.br +0 -0
  69. package/dist/AvailabilitySkeleton-D3iv0cT1.js.gz +0 -0
  70. package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_86730e88_lang-XzdmauPt.js.br +0 -0
  71. package/dist/CheckoutWindow-CF2-eaiR.js.br +0 -0
  72. package/dist/CheckoutWindow-CF2-eaiR.js.gz +0 -0
  73. package/dist/ErrorMessage-rPcq7mbu.js.br +0 -0
  74. package/dist/ErrorMessage-rPcq7mbu.js.gz +0 -0
  75. package/dist/EventAvailabilityForm-CcQwnzol.js.br +0 -0
  76. package/dist/EventAvailabilityForm-CcQwnzol.js.gz +0 -0
  77. package/dist/Field-Dw5FVydD.js.br +0 -0
  78. package/dist/Field-Dw5FVydD.js.gz +0 -0
  79. package/dist/Field.vue_vue_type_style_index_0_scoped_6ef33e68_lang-NEWgHGKm.js.br +0 -0
  80. package/dist/Field.vue_vue_type_style_index_0_scoped_6ef33e68_lang-NEWgHGKm.js.gz +0 -0
  81. package/dist/SelectField.vue_vue_type_style_index_0_lang-Cev1TH7y.js.br +0 -0
  82. package/dist/SelectField.vue_vue_type_style_index_0_lang-Cev1TH7y.js.gz +0 -0
  83. package/dist/TermsOfService-D_lDtdlp.js.br +0 -0
  84. package/dist/TermsOfService-D_lDtdlp.js.gz +0 -0
  85. package/dist/_-CQSv_VJ6.js +0 -5
  86. package/dist/_.vue_vue_type_style_index_0_lang-CW619CRS.js.br +0 -0
  87. package/dist/_.vue_vue_type_style_index_0_lang-CW619CRS.js.gz +0 -0
  88. package/dist/giftCard-C5SFtGL4.js.br +0 -0
  89. package/dist/giftCard-C5SFtGL4.js.gz +0 -0
  90. package/dist/index-Dp94FdK7.js.br +0 -0
  91. package/dist/index-Dp94FdK7.js.gz +0 -0
  92. package/dist/masonry.plugin-DnqS8CJ4.js.br +0 -0
  93. package/dist/masonry.plugin-DnqS8CJ4.js.gz +0 -0
@@ -1,94 +1,94 @@
1
- import { g as j } from "./_commonjsHelpers-DaMA6jEr.js";
2
- var b = { exports: {} }, y = { exports: {} }, U = y.exports, P;
3
- function V() {
4
- return P || (P = 1, function(e, t) {
5
- (function(o, r) {
6
- e.exports = r();
7
- })(U, function() {
8
- function o(a) {
9
- return !isNaN(parseFloat(a)) && isFinite(a);
1
+ import { g as U } from "./_commonjsHelpers-DaMA6jEr.js";
2
+ var b = { exports: {} }, y = { exports: {} }, V = y.exports, P;
3
+ function B() {
4
+ return P || (P = 1, function(e, r) {
5
+ (function(o, t) {
6
+ e.exports = t();
7
+ })(V, function() {
8
+ function o(s) {
9
+ return !isNaN(parseFloat(s)) && isFinite(s);
10
10
  }
11
- function r(a) {
12
- return a.charAt(0).toUpperCase() + a.substring(1);
11
+ function t(s) {
12
+ return s.charAt(0).toUpperCase() + s.substring(1);
13
13
  }
14
- function s(a) {
14
+ function a(s) {
15
15
  return function() {
16
- return this[a];
16
+ return this[s];
17
17
  };
18
18
  }
19
19
  var f = ["isConstructor", "isEval", "isNative", "isToplevel"], d = ["columnNumber", "lineNumber"], l = ["fileName", "functionName", "source"], i = ["args"], m = ["evalOrigin"], n = f.concat(d, l, i, m);
20
- function c(a) {
21
- if (a)
20
+ function c(s) {
21
+ if (s)
22
22
  for (var p = 0; p < n.length; p++)
23
- a[n[p]] !== void 0 && this["set" + r(n[p])](a[n[p]]);
23
+ s[n[p]] !== void 0 && this["set" + t(n[p])](s[n[p]]);
24
24
  }
25
25
  c.prototype = {
26
26
  getArgs: function() {
27
27
  return this.args;
28
28
  },
29
- setArgs: function(a) {
30
- if (Object.prototype.toString.call(a) !== "[object Array]")
29
+ setArgs: function(s) {
30
+ if (Object.prototype.toString.call(s) !== "[object Array]")
31
31
  throw new TypeError("Args must be an Array");
32
- this.args = a;
32
+ this.args = s;
33
33
  },
34
34
  getEvalOrigin: function() {
35
35
  return this.evalOrigin;
36
36
  },
37
- setEvalOrigin: function(a) {
38
- if (a instanceof c)
39
- this.evalOrigin = a;
40
- else if (a instanceof Object)
41
- this.evalOrigin = new c(a);
37
+ setEvalOrigin: function(s) {
38
+ if (s instanceof c)
39
+ this.evalOrigin = s;
40
+ else if (s instanceof Object)
41
+ this.evalOrigin = new c(s);
42
42
  else
43
43
  throw new TypeError("Eval Origin must be an Object or StackFrame");
44
44
  },
45
45
  toString: function() {
46
- var a = this.getFileName() || "", p = this.getLineNumber() || "", v = this.getColumnNumber() || "", E = this.getFunctionName() || "";
47
- return this.getIsEval() ? a ? "[eval] (" + a + ":" + p + ":" + v + ")" : "[eval]:" + p + ":" + v : E ? E + " (" + a + ":" + p + ":" + v + ")" : a + ":" + p + ":" + v;
46
+ var s = this.getFileName() || "", p = this.getLineNumber() || "", v = this.getColumnNumber() || "", S = this.getFunctionName() || "";
47
+ return this.getIsEval() ? s ? "[eval] (" + s + ":" + p + ":" + v + ")" : "[eval]:" + p + ":" + v : S ? S + " (" + s + ":" + p + ":" + v + ")" : s + ":" + p + ":" + v;
48
48
  }
49
49
  }, c.fromString = function(p) {
50
- var v = p.indexOf("("), E = p.lastIndexOf(")"), A = p.substring(0, v), F = p.substring(v + 1, E).split(","), k = p.substring(E + 1);
50
+ var v = p.indexOf("("), S = p.lastIndexOf(")"), F = p.substring(0, v), I = p.substring(v + 1, S).split(","), k = p.substring(S + 1);
51
51
  if (k.indexOf("@") === 0)
52
- var x = /@(.+?)(?::(\d+))?(?::(\d+))?$/.exec(k, ""), I = x[1], T = x[2], q = x[3];
52
+ var x = /@(.+?)(?::(\d+))?(?::(\d+))?$/.exec(k, ""), T = x[1], q = x[2], j = x[3];
53
53
  return new c({
54
- functionName: A,
55
- args: F || void 0,
56
- fileName: I,
57
- lineNumber: T || void 0,
58
- columnNumber: q || void 0
54
+ functionName: F,
55
+ args: I || void 0,
56
+ fileName: T,
57
+ lineNumber: q || void 0,
58
+ columnNumber: j || void 0
59
59
  });
60
60
  };
61
61
  for (var u = 0; u < f.length; u++)
62
- c.prototype["get" + r(f[u])] = s(f[u]), c.prototype["set" + r(f[u])] = /* @__PURE__ */ function(a) {
62
+ c.prototype["get" + t(f[u])] = a(f[u]), c.prototype["set" + t(f[u])] = /* @__PURE__ */ function(s) {
63
63
  return function(p) {
64
- this[a] = !!p;
64
+ this[s] = !!p;
65
65
  };
66
66
  }(f[u]);
67
67
  for (var h = 0; h < d.length; h++)
68
- c.prototype["get" + r(d[h])] = s(d[h]), c.prototype["set" + r(d[h])] = /* @__PURE__ */ function(a) {
68
+ c.prototype["get" + t(d[h])] = a(d[h]), c.prototype["set" + t(d[h])] = /* @__PURE__ */ function(s) {
69
69
  return function(p) {
70
70
  if (!o(p))
71
- throw new TypeError(a + " must be a Number");
72
- this[a] = Number(p);
71
+ throw new TypeError(s + " must be a Number");
72
+ this[s] = Number(p);
73
73
  };
74
74
  }(d[h]);
75
75
  for (var g = 0; g < l.length; g++)
76
- c.prototype["get" + r(l[g])] = s(l[g]), c.prototype["set" + r(l[g])] = /* @__PURE__ */ function(a) {
76
+ c.prototype["get" + t(l[g])] = a(l[g]), c.prototype["set" + t(l[g])] = /* @__PURE__ */ function(s) {
77
77
  return function(p) {
78
- this[a] = String(p);
78
+ this[s] = String(p);
79
79
  };
80
80
  }(l[g]);
81
81
  return c;
82
82
  });
83
83
  }(y)), y.exports;
84
84
  }
85
- var B = b.exports, $;
86
- function J() {
87
- return $ || ($ = 1, function(e, t) {
88
- (function(o, r) {
89
- e.exports = r(V());
90
- })(B, function(r) {
91
- var s = /(^|@)\S+:\d+/, f = /^\s*at .*(\S+:\d+|\(native\))/m, d = /^(eval@)?(\[native code])?$/;
85
+ var J = b.exports, $;
86
+ function D() {
87
+ return $ || ($ = 1, function(e, r) {
88
+ (function(o, t) {
89
+ e.exports = t(B());
90
+ })(J, function(t) {
91
+ var a = /(^|@)\S+:\d+/, f = /^\s*at .*(\S+:\d+|\(native\))/m, d = /^(eval@)?(\[native code])?$/;
92
92
  return {
93
93
  /**
94
94
  * Given an Error object, extract the most information from it.
@@ -121,10 +121,10 @@ function J() {
121
121
  n.indexOf("(eval ") > -1 && (n = n.replace(/eval code/g, "eval").replace(/(\(eval at [^()]*)|(,.*$)/g, ""));
122
122
  var c = n.replace(/^\s+/, "").replace(/\(eval code/g, "(").replace(/^.*?\s+/, ""), u = c.match(/ (\(.+\)$)/);
123
123
  c = u ? c.replace(u[0], "") : c;
124
- var h = this.extractLocation(u ? u[1] : c), g = u && c || void 0, a = ["eval", "<anonymous>"].indexOf(h[0]) > -1 ? void 0 : h[0];
125
- return new r({
124
+ var h = this.extractLocation(u ? u[1] : c), g = u && c || void 0, s = ["eval", "<anonymous>"].indexOf(h[0]) > -1 ? void 0 : h[0];
125
+ return new t({
126
126
  functionName: g,
127
- fileName: a,
127
+ fileName: s,
128
128
  lineNumber: h[1],
129
129
  columnNumber: h[2],
130
130
  source: n
@@ -138,11 +138,11 @@ function J() {
138
138
  }, this);
139
139
  return m.map(function(n) {
140
140
  if (n.indexOf(" > eval") > -1 && (n = n.replace(/ line (\d+)(?: > eval line \d+)* > eval:\d+:\d+/g, ":$1")), n.indexOf("@") === -1 && n.indexOf(":") === -1)
141
- return new r({
141
+ return new t({
142
142
  functionName: n
143
143
  });
144
144
  var c = /((.*".+"[^@]*)?[^@]*)(?:@)/, u = n.match(c), h = u && u[1] ? u[1] : void 0, g = this.extractLocation(n.replace(c, ""));
145
- return new r({
145
+ return new t({
146
146
  functionName: h,
147
147
  fileName: g[0],
148
148
  lineNumber: g[1],
@@ -161,7 +161,7 @@ function J() {
161
161
  for (var m = /Line (\d+).*script (?:in )?(\S+)/i, n = i.message.split(`
162
162
  `), c = [], u = 2, h = n.length; u < h; u += 2) {
163
163
  var g = m.exec(n[u]);
164
- g && c.push(new r({
164
+ g && c.push(new t({
165
165
  fileName: g[2],
166
166
  lineNumber: g[1],
167
167
  source: n[u]
@@ -174,7 +174,7 @@ function J() {
174
174
  `), c = [], u = 0, h = n.length; u < h; u += 2) {
175
175
  var g = m.exec(n[u]);
176
176
  g && c.push(
177
- new r({
177
+ new t({
178
178
  functionName: g[3] || void 0,
179
179
  fileName: g[2],
180
180
  lineNumber: g[1],
@@ -188,13 +188,13 @@ function J() {
188
188
  parseOpera11: function(i) {
189
189
  var m = i.stack.split(`
190
190
  `).filter(function(n) {
191
- return !!n.match(s) && !n.match(/^Error created at/);
191
+ return !!n.match(a) && !n.match(/^Error created at/);
192
192
  }, this);
193
193
  return m.map(function(n) {
194
- var c = n.split("@"), u = this.extractLocation(c.pop()), h = c.shift() || "", g = h.replace(/<anonymous function(: (\w+))?>/, "$2").replace(/\([^)]*\)/g, "") || void 0, a;
195
- h.match(/\(([^)]*)\)/) && (a = h.replace(/^[^(]+\(([^)]*)\)$/, "$1"));
196
- var p = a === void 0 || a === "[arguments not available]" ? void 0 : a.split(",");
197
- return new r({
194
+ var c = n.split("@"), u = this.extractLocation(c.pop()), h = c.shift() || "", g = h.replace(/<anonymous function(: (\w+))?>/, "$2").replace(/\([^)]*\)/g, "") || void 0, s;
195
+ h.match(/\(([^)]*)\)/) && (s = h.replace(/^[^(]+\(([^)]*)\)$/, "$1"));
196
+ var p = s === void 0 || s === "[arguments not available]" ? void 0 : s.split(",");
197
+ return new t({
198
198
  functionName: g,
199
199
  args: p,
200
200
  fileName: u[0],
@@ -208,82 +208,82 @@ function J() {
208
208
  });
209
209
  }(b)), b.exports;
210
210
  }
211
- var D = J();
212
- const G = /* @__PURE__ */ j(D);
213
- var N = '"1.1.0"', L = "5pqzBljrmDvquWZYSrSUKldIUREtPyB3", M = '"4.3.3"';
214
- function w(e, t, o) {
215
- return o && !e && console.error(`Flare JavaScript client v${N}: ${t}`), !!e;
211
+ var G = D();
212
+ const L = /* @__PURE__ */ U(G);
213
+ var N = '"1.1.0"', M = "5pqzBljrmDvquWZYSrSUKldIUREtPyB3", X = '"4.3.4"';
214
+ function w(e, r, o) {
215
+ return o && !e && console.error(`Flare JavaScript client v${N}: ${r}`), !!e;
216
216
  }
217
- function X(e, t) {
217
+ function H(e, r) {
218
218
  return w(
219
219
  e,
220
220
  "The client was not yet initialised with an API key. Run client.light('<flare-project-key>') when you initialise your app. If you are running in dev mode and didn't run the light command on purpose, you can ignore this error.",
221
- t
221
+ r
222
222
  );
223
223
  }
224
- function H(e, t) {
225
- return w("canSolve" in e, "A solution provider without a [canSolve] property was added.", t) && w(
224
+ function K(e, r) {
225
+ return w("canSolve" in e, "A solution provider without a [canSolve] property was added.", r) && w(
226
226
  "getSolutions" in e,
227
227
  "A solution provider without a [getSolutions] property was added.",
228
- t
228
+ r
229
229
  );
230
230
  }
231
- function K(e) {
232
- let t = [];
233
- const o = JSON.stringify(e, function(r, s) {
234
- if (typeof s == "object" && s !== null) {
235
- if (t.indexOf(s) !== -1)
231
+ function z(e) {
232
+ let r = [];
233
+ const o = JSON.stringify(e, function(t, a) {
234
+ if (typeof a == "object" && a !== null) {
235
+ if (r.indexOf(a) !== -1)
236
236
  try {
237
- return JSON.parse(JSON.stringify(s));
237
+ return JSON.parse(JSON.stringify(a));
238
238
  } catch {
239
239
  return;
240
240
  }
241
- t.push(s);
241
+ r.push(a);
242
242
  }
243
- return s;
243
+ return a;
244
244
  });
245
- return t = null, o;
245
+ return r = null, o;
246
246
  }
247
- function z(e) {
248
- return e.reduce((t, o) => t.concat(o), []);
247
+ function Q(e) {
248
+ return e.reduce((r, o) => r.concat(o), []);
249
249
  }
250
250
  function O() {
251
251
  return Math.round(Date.now() / 1e3);
252
252
  }
253
- var Q = class {
254
- report(e, t, o, r) {
255
- return fetch(t, {
253
+ var W = class {
254
+ report(e, r, o, t) {
255
+ return fetch(r, {
256
256
  method: "POST",
257
257
  headers: {
258
258
  "Content-Type": "application/json",
259
259
  "X-Api-Token": o ?? "",
260
260
  "X-Requested-With": "XMLHttpRequest",
261
- "X-Report-Browser-Extension-Errors": JSON.stringify(r)
261
+ "X-Report-Browser-Extension-Errors": JSON.stringify(t)
262
262
  },
263
- body: K({
263
+ body: z({
264
264
  ...e,
265
265
  key: o
266
266
  })
267
267
  }).then(
268
- (s) => {
269
- s.status !== 204 && console.error(`Received response with status ${s.status} from Flare`);
268
+ (a) => {
269
+ a.status !== 204 && console.error(`Received response with status ${a.status} from Flare`);
270
270
  },
271
- (s) => console.error(s)
271
+ (a) => console.error(a)
272
272
  );
273
273
  }
274
274
  };
275
- function W() {
275
+ function Y() {
276
276
  return window.document.cookie ? {
277
277
  cookies: window.document.cookie.split("; ").reduce(
278
- (e, t) => {
279
- const [o, r] = t.split(/=/);
280
- return e[o] = r, e;
278
+ (e, r) => {
279
+ const [o, t] = r.split(/=/);
280
+ return e[o] = t, e;
281
281
  },
282
282
  {}
283
283
  )
284
284
  } : {};
285
285
  }
286
- function Y() {
286
+ function Z() {
287
287
  return {
288
288
  request: {
289
289
  url: window.document.location.href,
@@ -293,51 +293,51 @@ function Y() {
293
293
  }
294
294
  };
295
295
  }
296
- function Z() {
296
+ function ee() {
297
297
  if (!window.location.search)
298
298
  return {};
299
299
  const e = {};
300
- return new URLSearchParams(window.location.search).forEach((t, o) => {
301
- e[o] = t;
300
+ return new URLSearchParams(window.location.search).forEach((r, o) => {
301
+ e[o] = r;
302
302
  }), { request_data: { queryString: e } };
303
303
  }
304
304
  function _(e) {
305
305
  return typeof window > "u" ? e : {
306
- ...W(),
307
306
  ...Y(),
308
307
  ...Z(),
308
+ ...ee(),
309
309
  ...e
310
310
  };
311
311
  }
312
- function ee(e, t, o = {}) {
313
- return new Promise((r) => {
314
- const s = e.reduce(
315
- (f, d) => (f.push(Promise.resolve(d.canSolve(t, o))), f),
312
+ function re(e, r, o = {}) {
313
+ return new Promise((t) => {
314
+ const a = e.reduce(
315
+ (f, d) => (f.push(Promise.resolve(d.canSolve(r, o))), f),
316
316
  []
317
317
  );
318
- Promise.all(s).then((f) => {
318
+ Promise.all(a).then((f) => {
319
319
  const d = [];
320
320
  f.forEach((l, i) => {
321
321
  l && d.push(
322
- Promise.resolve(e[i].getSolutions(t, o))
322
+ Promise.resolve(e[i].getSolutions(r, o))
323
323
  );
324
324
  }), Promise.all(d).then((l) => {
325
- r(z(l));
325
+ t(Q(l));
326
326
  });
327
327
  });
328
328
  });
329
329
  }
330
330
  var R = {};
331
- function re(e, t, o) {
332
- return new Promise((r) => {
333
- if (!e || !t)
334
- return r({
331
+ function te(e, r, o) {
332
+ return new Promise((t) => {
333
+ if (!e || !r)
334
+ return t({
335
335
  codeSnippet: {
336
- 0: `Could not read from file: missing file URL or line number. URL: ${e} lineNumber: ${t}`
336
+ 0: `Could not read from file: missing file URL or line number. URL: ${e} lineNumber: ${r}`
337
337
  },
338
338
  trimmedColumnNumber: null
339
339
  });
340
- te(e).then((s) => r(s ? ne(s, t, o) : {
340
+ ne(e).then((a) => t(a ? oe(a, r, o) : {
341
341
  codeSnippet: {
342
342
  0: `Could not read from file: Error while opening file at URL ${e}`
343
343
  },
@@ -345,27 +345,27 @@ function re(e, t, o) {
345
345
  }));
346
346
  });
347
347
  }
348
- function te(e) {
349
- return R[e] ? Promise.resolve(R[e]) : fetch(e).then((t) => t.status !== 200 ? null : t.text()).catch(() => null);
348
+ function ne(e) {
349
+ return R[e] ? Promise.resolve(R[e]) : fetch(e).then((r) => r.status !== 200 ? null : r.text()).catch(() => null);
350
350
  }
351
- function ne(e, t, o, r = 1e3, s = 40) {
351
+ function oe(e, r, o, t = 1e3, a = 40) {
352
352
  const f = {};
353
353
  let d = null;
354
354
  const l = e.split(`
355
355
  `);
356
- for (let i = -s / 2; i <= s / 2; i++) {
357
- const m = t + i;
356
+ for (let i = -a / 2; i <= a / 2; i++) {
357
+ const m = r + i;
358
358
  if (m >= 0 && l[m]) {
359
359
  const n = m + 1;
360
- if (l[m].length > r) {
361
- if (o && o + r / 2 > r) {
360
+ if (l[m].length > t) {
361
+ if (o && o + t / 2 > t) {
362
362
  f[n] = l[m].substr(
363
- o - Math.round(r / 2),
364
- r
365
- ), n === t && (d = Math.round(r / 2));
363
+ o - Math.round(t / 2),
364
+ t
365
+ ), n === r && (d = Math.round(t / 2));
366
366
  continue;
367
367
  }
368
- f[n] = l[m].substr(0, r) + "…";
368
+ f[n] = l[m].substr(0, t) + "…";
369
369
  continue;
370
370
  }
371
371
  f[n] = l[m];
@@ -373,10 +373,10 @@ function ne(e, t, o, r = 1e3, s = 40) {
373
373
  }
374
374
  return { codeSnippet: f, trimmedColumnNumber: d };
375
375
  }
376
- function C(e, t) {
376
+ function C(e, r) {
377
377
  return new Promise((o) => {
378
- if (!oe(e))
379
- return w(!1, "Couldn't generate stacktrace of below error:", t), t && console.error(e), o([
378
+ if (!ie(e))
379
+ return w(!1, "Couldn't generate stacktrace of below error:", r), r && console.error(e), o([
380
380
  {
381
381
  line_number: 0,
382
382
  column_number: 0,
@@ -390,13 +390,13 @@ function C(e, t) {
390
390
  }
391
391
  ]);
392
392
  Promise.all(
393
- G.parse(e).map((r) => new Promise((s) => {
394
- re(r.fileName, r.lineNumber, r.columnNumber).then((f) => {
395
- s({
396
- line_number: r.lineNumber || 1,
397
- column_number: r.columnNumber || 1,
398
- method: r.functionName || "Anonymous or unknown function",
399
- file: r.fileName || "Unknown file",
393
+ L.parse(e).map((t) => new Promise((a) => {
394
+ te(t.fileName, t.lineNumber, t.columnNumber).then((f) => {
395
+ a({
396
+ line_number: t.lineNumber || 1,
397
+ column_number: t.columnNumber || 1,
398
+ method: t.functionName || "Anonymous or unknown function",
399
+ file: t.fileName || "Unknown file",
400
400
  code_snippet: f.codeSnippet,
401
401
  trimmed_column_number: f.trimmedColumnNumber,
402
402
  class: ""
@@ -406,26 +406,26 @@ function C(e, t) {
406
406
  ).then(o);
407
407
  });
408
408
  }
409
- function oe(e) {
409
+ function ie(e) {
410
410
  return !!e && (!!e.stack || !!e.stacktrace || !!e["opera#sourceloc"]) && typeof (e.stack || e.stacktrace || e["opera#sourceloc"]) == "string" && e.stack !== `${e.name}: ${e.message}`;
411
411
  }
412
- var ie = class {
413
- constructor(e = new Q()) {
412
+ var se = class {
413
+ constructor(e = new W()) {
414
414
  this.api = e, this.config = {
415
415
  key: null,
416
416
  version: N,
417
- sourcemapVersion: M,
417
+ sourcemapVersion: X,
418
418
  stage: "",
419
419
  maxGlowsPerReport: 30,
420
420
  reportingUrl: "https://reporting.flareapp.io/api/reports",
421
421
  reportBrowserExtensionErrors: !1,
422
422
  debug: !1,
423
- beforeEvaluate: (t) => t,
424
- beforeSubmit: (t) => t
423
+ beforeEvaluate: (r) => r,
424
+ beforeSubmit: (r) => r
425
425
  }, this.glows = [], this.context = { context: {} }, this.solutionProviders = [];
426
426
  }
427
- light(e = L, t = !1) {
428
- return this.config.key = e, this.config.debug = t, this;
427
+ light(e = M, r = !1) {
428
+ return this.config.key = e, this.config.debug = r, this;
429
429
  }
430
430
  configure(e) {
431
431
  return this.config = { ...this.config, ...e }, this;
@@ -433,68 +433,68 @@ var ie = class {
433
433
  test() {
434
434
  return this.report(new Error("The Flare client is set up correctly!"));
435
435
  }
436
- glow(e, t = "info", o = []) {
437
- const r = O();
436
+ glow(e, r = "info", o = []) {
437
+ const t = O();
438
438
  return this.glows.push({
439
439
  name: e,
440
- message_level: t,
440
+ message_level: r,
441
441
  meta_data: o,
442
- time: r,
443
- microtime: r
442
+ time: t,
443
+ microtime: t
444
444
  }), this.glows.length > this.config.maxGlowsPerReport && (this.glows = this.glows.slice(this.glows.length - this.config.maxGlowsPerReport)), this;
445
445
  }
446
446
  clearGlows() {
447
447
  return this.glows = [], this;
448
448
  }
449
- addContext(e, t) {
450
- return this.context.context[e] = t, this;
449
+ addContext(e, r) {
450
+ return this.context.context[e] = r, this;
451
451
  }
452
- addContextGroup(e, t) {
453
- return this.context[e] = t, this;
452
+ addContextGroup(e, r) {
453
+ return this.context[e] = r, this;
454
454
  }
455
455
  registerSolutionProvider(e) {
456
- return H(e, this.config.debug) ? (this.solutionProviders.push(e), this) : this;
456
+ return K(e, this.config.debug) ? (this.solutionProviders.push(e), this) : this;
457
457
  }
458
- async report(e, t = {}, o = {}) {
458
+ async report(e, r = {}, o = {}) {
459
459
  if (!await this.config.beforeEvaluate(e))
460
460
  return;
461
- const s = await this.createReportFromError(e, t, o);
462
- if (s)
463
- return this.sendReport(s);
461
+ const a = await this.createReportFromError(e, r, o);
462
+ if (a)
463
+ return this.sendReport(a);
464
464
  }
465
- async reportMessage(e, t = {}, o = "Log") {
466
- const r = await C(Error(), this.config.debug);
467
- r.shift(), this.sendReport({
465
+ async reportMessage(e, r = {}, o = "Log") {
466
+ const t = await C(Error(), this.config.debug);
467
+ t.shift(), this.sendReport({
468
468
  notifier: `Flare JavaScript client v${N}`,
469
469
  exception_class: o,
470
470
  seen_at: O(),
471
471
  message: e,
472
472
  language: "javascript",
473
473
  glows: this.glows,
474
- context: _({ ...t, ...this.context }),
475
- stacktrace: r,
474
+ context: _({ ...r, ...this.context }),
475
+ stacktrace: t,
476
476
  sourcemap_version_id: this.config.sourcemapVersion,
477
477
  solutions: [],
478
478
  stage: this.config.stage
479
479
  });
480
480
  }
481
- createReportFromError(e, t = {}, o = {}) {
481
+ createReportFromError(e, r = {}, o = {}) {
482
482
  if (!w(e, "No error provided.", this.config.debug))
483
483
  return Promise.resolve(!1);
484
- const r = O();
484
+ const t = O();
485
485
  return Promise.all([
486
- ee(this.solutionProviders, e, o),
486
+ re(this.solutionProviders, e, o),
487
487
  C(e, this.config.debug)
488
- ]).then((s) => {
489
- const [f, d] = s;
488
+ ]).then((a) => {
489
+ const [f, d] = a;
490
490
  return w(d.length, "Couldn't generate stacktrace of this error: " + e, this.config.debug), {
491
491
  notifier: `Flare JavaScript client v${N}`,
492
492
  exception_class: e.constructor && e.constructor.name ? e.constructor.name : "undefined",
493
- seen_at: r,
493
+ seen_at: t,
494
494
  message: e.message,
495
495
  language: "javascript",
496
496
  glows: this.glows,
497
- context: _({ ...t, ...this.context }),
497
+ context: _({ ...r, ...this.context }),
498
498
  stacktrace: d,
499
499
  sourcemap_version_id: this.config.sourcemapVersion,
500
500
  solutions: f,
@@ -503,12 +503,12 @@ var ie = class {
503
503
  });
504
504
  }
505
505
  async sendReport(e) {
506
- if (!X(this.config.key, this.config.debug))
506
+ if (!H(this.config.key, this.config.debug))
507
507
  return;
508
- const t = await this.config.beforeSubmit(e);
509
- if (t)
508
+ const r = await this.config.beforeSubmit(e);
509
+ if (r)
510
510
  return this.api.report(
511
- t,
511
+ r,
512
512
  this.config.reportingUrl,
513
513
  this.config.key,
514
514
  this.config.reportBrowserExtensionErrors
@@ -531,18 +531,17 @@ function ae() {
531
531
  const e = window.flare;
532
532
  if (!window || !e)
533
533
  return;
534
- const t = window.onerror, o = window.onunhandledrejection;
535
- window.onerror = (r, s, f, d, l) => {
536
- l && e.report(l), typeof t == "function" && t(r, s, f, d, l);
537
- }, window.onunhandledrejection = (r) => {
538
- r.reason instanceof Error && e.report(r.reason), typeof o == "function" && o(r);
534
+ const r = window.onerror, o = window.onunhandledrejection;
535
+ window.onerror = (t, a, f, d, l) => {
536
+ l && e.report(l), typeof r == "function" && r(t, a, f, d, l);
537
+ }, window.onunhandledrejection = (t) => {
538
+ t.reason instanceof Error && e.report(t.reason), typeof o == "function" && o(t);
539
539
  };
540
540
  }
541
- var S = new ie();
542
- typeof window < "u" && window && (window.flare = S, ae());
543
- const se = [
541
+ var E = new se();
542
+ typeof window < "u" && window && (window.flare = E, ae());
543
+ const A = [
544
544
  "fancybox",
545
- ".fancybox",
546
545
  "jQuery",
547
546
  "Modernizr",
548
547
  "cssua",
@@ -563,18 +562,20 @@ const se = [
563
562
  "jQuery(...).tooltip",
564
563
  "jQuery(...).scrollspy"
565
564
  ];
566
- S.light("5pqzBljrmDvquWZYSrSUKldIUREtPyB3"), S.addContext("version", "4.3.3"), S.beforeEvaluate = (e) => (se.forEach((t) => {
567
- if (e.message.includes(t))
568
- return !1;
569
- }), e);
565
+ E.light("5pqzBljrmDvquWZYSrSUKldIUREtPyB3"), E.addContext("version", "4.3.4"), E.beforeEvaluate = (e) => {
566
+ for (let r = 0; r < A.length; r++)
567
+ if (e.message.includes(A[r]))
568
+ return !1;
569
+ return e;
570
+ };
570
571
  function ue(e) {
571
- const t = e.config.errorHandler;
572
- e.config.errorHandler = (o, r, s) => {
573
- const f = r && r.$options && r.$options.name ? r.$options.name : "AnonymousComponent", d = {
574
- vue: { info: s, componentName: f }
572
+ const r = e.config.errorHandler;
573
+ e.config.errorHandler = (o, t, a) => {
574
+ const f = t && t.$options && t.$options.name ? t.$options.name : "AnonymousComponent", d = {
575
+ vue: { info: a, componentName: f }
575
576
  };
576
- if (S.report(o, d, { vue: { vm: r, info: s } }), typeof t == "function") {
577
- t(o, r, s);
577
+ if (E.report(o, d, { vue: { vm: t, info: a } }), typeof r == "function") {
578
+ r(o, t, a);
578
579
  return;
579
580
  }
580
581
  throw o;
@@ -583,4 +584,4 @@ function ue(e) {
583
584
  export {
584
585
  ue as f
585
586
  };
586
- //# sourceMappingURL=index-Dp94FdK7.js.map
587
+ //# sourceMappingURL=index-DmkBVtIQ.js.map