@revolugo/elements 4.13.18-beta.4 → 4.13.18-beta.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (79) hide show
  1. package/dist/css/revolugo.29.min.css +1 -1
  2. package/dist/css/revolugo.30.min.css +1 -1
  3. package/dist/css/revolugo.32.min.css +1 -1
  4. package/dist/css/revolugo.33.min.css +1 -1
  5. package/dist/css/revolugo.34.min.css +1 -1
  6. package/dist/css/revolugo.35.min.css +1 -0
  7. package/dist/index.min.js +1 -1
  8. package/dist/revolugo.1.js +0 -11
  9. package/dist/revolugo.1.min.js +1 -1
  10. package/dist/revolugo.10.js +13 -0
  11. package/dist/revolugo.10.min.js +2 -2
  12. package/dist/revolugo.11.js +13 -0
  13. package/dist/revolugo.11.min.js +2 -2
  14. package/dist/revolugo.12.js +13 -0
  15. package/dist/revolugo.12.min.js +2 -2
  16. package/dist/revolugo.13.js +13 -0
  17. package/dist/revolugo.13.min.js +2 -2
  18. package/dist/revolugo.14.js +13 -0
  19. package/dist/revolugo.14.min.js +2 -2
  20. package/dist/revolugo.15.js +13 -0
  21. package/dist/revolugo.15.min.js +2 -2
  22. package/dist/revolugo.16.js +13 -0
  23. package/dist/revolugo.16.min.js +2 -2
  24. package/dist/revolugo.17.js +13 -0
  25. package/dist/revolugo.17.min.js +1 -1
  26. package/dist/revolugo.18.js +2 -0
  27. package/dist/revolugo.18.min.js +1 -1
  28. package/dist/revolugo.19.js +2 -0
  29. package/dist/revolugo.19.min.js +1 -1
  30. package/dist/revolugo.20.js +2 -0
  31. package/dist/revolugo.20.min.js +2 -2
  32. package/dist/revolugo.21.js +13 -0
  33. package/dist/revolugo.21.min.js +2 -2
  34. package/dist/revolugo.22.js +2 -0
  35. package/dist/revolugo.22.min.js +1 -1
  36. package/dist/revolugo.23.js +2 -0
  37. package/dist/revolugo.23.min.js +1 -1
  38. package/dist/revolugo.24.js +2 -0
  39. package/dist/revolugo.24.min.js +1 -1
  40. package/dist/revolugo.25.js +11 -0
  41. package/dist/revolugo.25.min.js +1 -1
  42. package/dist/revolugo.26.js +2 -0
  43. package/dist/revolugo.26.min.js +1 -1
  44. package/dist/revolugo.29.js +1460 -997
  45. package/dist/revolugo.29.min.js +1 -1
  46. package/dist/revolugo.30.js +1141 -35810
  47. package/dist/revolugo.30.min.js +1 -1
  48. package/dist/revolugo.31.js +1359 -2190
  49. package/dist/revolugo.31.min.js +1 -1
  50. package/dist/revolugo.32.js +36689 -1836
  51. package/dist/revolugo.32.min.js +1 -1
  52. package/dist/revolugo.33.js +1724 -1437
  53. package/dist/revolugo.33.min.js +1 -1
  54. package/dist/revolugo.34.js +1576 -6567
  55. package/dist/revolugo.34.min.js +1 -1
  56. package/dist/revolugo.35.js +5198 -909
  57. package/dist/revolugo.35.min.js +1 -1
  58. package/dist/revolugo.36.js +680 -1607
  59. package/dist/revolugo.36.min.js +1 -1
  60. package/dist/revolugo.37.js +2986 -250
  61. package/dist/revolugo.37.min.js +1 -1
  62. package/dist/revolugo.38.js +1819 -0
  63. package/dist/revolugo.38.min.js +1 -0
  64. package/dist/revolugo.39.js +579 -0
  65. package/dist/revolugo.39.min.js +1 -0
  66. package/dist/revolugo.4.js +11 -0
  67. package/dist/revolugo.4.min.js +1 -1
  68. package/dist/revolugo.5.js +2 -0
  69. package/dist/revolugo.5.min.js +1 -1
  70. package/dist/revolugo.9.js +13 -0
  71. package/dist/revolugo.9.min.js +2 -2
  72. package/dist/revolugo.en-US.js +7 -0
  73. package/dist/revolugo.en-US.min.js +1 -1
  74. package/dist/revolugo.fr-FR.js +7 -0
  75. package/dist/revolugo.fr-FR.min.js +1 -1
  76. package/dist/revolugo.js +10 -8
  77. package/dist/revolugo.min.js +1 -1
  78. package/package.json +1 -1
  79. /package/dist/css/{revolugo.36.min.css → revolugo.37.min.css} +0 -0
@@ -1,128 +1,1192 @@
1
1
  (window["revolugo_jsonp"] = window["revolugo_jsonp"] || []).push([[37],{
2
2
 
3
- /***/ "4a48":
3
+ /***/ "05ef":
4
4
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
5
5
 
6
6
  "use strict";
7
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return langSwitchButtonProps; });
8
- function cov_1kk3y13e2e() {
9
- var path = "/opt/atlassian/pipelines/agent/build/libs/elements/core/src/components/RevolugoElements/LangSwitchButton/LangSwitchButton.props.ts";
10
- var hash = "b0b3d93c7c8e40768c4894718af8a4d622b68202";
11
- var global = new Function("return this")();
12
- var gcv = "__coverage__";
13
- var coverageData = {
14
- path: "/opt/atlassian/pipelines/agent/build/libs/elements/core/src/components/RevolugoElements/LangSwitchButton/LangSwitchButton.props.ts",
15
- statementMap: {
16
- "0": {
17
- start: {
18
- line: 1,
19
- column: 37
20
- },
21
- end: {
22
- line: 6,
23
- column: 1
24
- }
25
- }
7
+ /* WEBPACK VAR INJECTION */(function(global, module) {/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return o; });
8
+ /* unused harmony export getPenaltyPercentage */
9
+ /* unused harmony export isBetterCancellationPolicies */
10
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return a; });
11
+ /* harmony import */ var core_js_modules_es_array_push_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("c3d6");
12
+ /* harmony import */ var core_js_modules_es_array_push_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_push_js__WEBPACK_IMPORTED_MODULE_0__);
13
+ /* harmony import */ var core_js_modules_es_error_cause_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("c2fc");
14
+ /* harmony import */ var core_js_modules_es_error_cause_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_error_cause_js__WEBPACK_IMPORTED_MODULE_1__);
15
+ /* harmony import */ var core_js_modules_es_array_reduce_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("3639");
16
+ /* harmony import */ var core_js_modules_es_array_reduce_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_reduce_js__WEBPACK_IMPORTED_MODULE_2__);
17
+ /* harmony import */ var core_js_modules_es_array_at_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__("45a8");
18
+ /* harmony import */ var core_js_modules_es_array_at_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_at_js__WEBPACK_IMPORTED_MODULE_3__);
19
+ /* harmony import */ var core_js_modules_es_string_at_alternative_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__("c9b3");
20
+ /* harmony import */ var core_js_modules_es_string_at_alternative_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_at_alternative_js__WEBPACK_IMPORTED_MODULE_4__);
21
+
22
+
23
+
24
+
25
+
26
+ var t = {
27
+ 474: function (t) {
28
+ t.exports = function () {
29
+ var t = 1e3,
30
+ e = 6e4,
31
+ n = 36e5,
32
+ r = "millisecond",
33
+ o = "second",
34
+ i = "minute",
35
+ s = "hour",
36
+ a = "day",
37
+ c = "week",
38
+ u = "month",
39
+ f = "quarter",
40
+ l = "year",
41
+ h = "date",
42
+ d = "Invalid Date",
43
+ p = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,
44
+ m = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,
45
+ v = {
46
+ name: "en",
47
+ weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),
48
+ months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"),
49
+ ordinal: function (t) {
50
+ var e = ["th", "st", "nd", "rd"],
51
+ n = t % 100;
52
+ return "[" + t + (e[(n - 20) % 10] || e[n] || e[0]) + "]";
53
+ }
54
+ },
55
+ y = function (t, e, n) {
56
+ var r = String(t);
57
+ return !r || r.length >= e ? t : "" + Array(e + 1 - r.length).join(n) + t;
58
+ },
59
+ _ = {
60
+ s: y,
61
+ z: function (t) {
62
+ var e = -t.utcOffset(),
63
+ n = Math.abs(e),
64
+ r = Math.floor(n / 60),
65
+ o = n % 60;
66
+ return (e <= 0 ? "+" : "-") + y(r, 2, "0") + ":" + y(o, 2, "0");
67
+ },
68
+ m: function t(e, n) {
69
+ if (e.date() < n.date()) return -t(n, e);
70
+ var r = 12 * (n.year() - e.year()) + (n.month() - e.month()),
71
+ o = e.clone().add(r, u),
72
+ i = n - o < 0,
73
+ s = e.clone().add(r + (i ? -1 : 1), u);
74
+ return +(-(r + (n - o) / (i ? o - s : s - o)) || 0);
75
+ },
76
+ a: function (t) {
77
+ return t < 0 ? Math.ceil(t) || 0 : Math.floor(t);
78
+ },
79
+ p: function (t) {
80
+ return {
81
+ M: u,
82
+ y: l,
83
+ w: c,
84
+ d: a,
85
+ D: h,
86
+ h: s,
87
+ m: i,
88
+ s: o,
89
+ ms: r,
90
+ Q: f
91
+ }[t] || String(t || "").toLowerCase().replace(/s$/, "");
92
+ },
93
+ u: function (t) {
94
+ return void 0 === t;
95
+ }
96
+ },
97
+ g = "en",
98
+ $ = {};
99
+ $[g] = v;
100
+ var b = function (t) {
101
+ return t instanceof w;
102
+ },
103
+ O = function t(e, n, r) {
104
+ var o;
105
+ if (!e) return g;
106
+ if ("string" == typeof e) {
107
+ var i = e.toLowerCase();
108
+ $[i] && (o = i), n && ($[i] = n, o = i);
109
+ var s = e.split("-");
110
+ if (!o && s.length > 1) return t(s[0]);
111
+ } else {
112
+ var a = e.name;
113
+ $[a] = e, o = a;
114
+ }
115
+ return !r && o && (g = o), o || !r && g;
116
+ },
117
+ D = function (t, e) {
118
+ if (b(t)) return t.clone();
119
+ var n = "object" == typeof e ? e : {};
120
+ return n.date = t, n.args = arguments, new w(n);
121
+ },
122
+ M = _;
123
+ M.l = O, M.i = b, M.w = function (t, e) {
124
+ return D(t, {
125
+ locale: e.$L,
126
+ utc: e.$u,
127
+ x: e.$x,
128
+ $offset: e.$offset
129
+ });
130
+ };
131
+ var w = function () {
132
+ function v(t) {
133
+ this.$L = O(t.locale, null, !0), this.parse(t);
134
+ }
135
+ var y = v.prototype;
136
+ return y.parse = function (t) {
137
+ this.$d = function (t) {
138
+ var e = t.date,
139
+ n = t.utc;
140
+ if (null === e) return new Date(NaN);
141
+ if (M.u(e)) return new Date();
142
+ if (e instanceof Date) return new Date(e);
143
+ if ("string" == typeof e && !/Z$/i.test(e)) {
144
+ var r = e.match(p);
145
+ if (r) {
146
+ var o = r[2] - 1 || 0,
147
+ i = (r[7] || "0").substring(0, 3);
148
+ return n ? new Date(Date.UTC(r[1], o, r[3] || 1, r[4] || 0, r[5] || 0, r[6] || 0, i)) : new Date(r[1], o, r[3] || 1, r[4] || 0, r[5] || 0, r[6] || 0, i);
149
+ }
150
+ }
151
+ return new Date(e);
152
+ }(t), this.$x = t.x || {}, this.init();
153
+ }, y.init = function () {
154
+ var t = this.$d;
155
+ this.$y = t.getFullYear(), this.$M = t.getMonth(), this.$D = t.getDate(), this.$W = t.getDay(), this.$H = t.getHours(), this.$m = t.getMinutes(), this.$s = t.getSeconds(), this.$ms = t.getMilliseconds();
156
+ }, y.$utils = function () {
157
+ return M;
158
+ }, y.isValid = function () {
159
+ return !(this.$d.toString() === d);
160
+ }, y.isSame = function (t, e) {
161
+ var n = D(t);
162
+ return this.startOf(e) <= n && n <= this.endOf(e);
163
+ }, y.isAfter = function (t, e) {
164
+ return D(t) < this.startOf(e);
165
+ }, y.isBefore = function (t, e) {
166
+ return this.endOf(e) < D(t);
167
+ }, y.$g = function (t, e, n) {
168
+ return M.u(t) ? this[e] : this.set(n, t);
169
+ }, y.unix = function () {
170
+ return Math.floor(this.valueOf() / 1e3);
171
+ }, y.valueOf = function () {
172
+ return this.$d.getTime();
173
+ }, y.startOf = function (t, e) {
174
+ var n = this,
175
+ r = !!M.u(e) || e,
176
+ f = M.p(t),
177
+ d = function (t, e) {
178
+ var o = M.w(n.$u ? Date.UTC(n.$y, e, t) : new Date(n.$y, e, t), n);
179
+ return r ? o : o.endOf(a);
180
+ },
181
+ p = function (t, e) {
182
+ return M.w(n.toDate()[t].apply(n.toDate("s"), (r ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(e)), n);
183
+ },
184
+ m = this.$W,
185
+ v = this.$M,
186
+ y = this.$D,
187
+ _ = "set" + (this.$u ? "UTC" : "");
188
+ switch (f) {
189
+ case l:
190
+ return r ? d(1, 0) : d(31, 11);
191
+ case u:
192
+ return r ? d(1, v) : d(0, v + 1);
193
+ case c:
194
+ var g = this.$locale().weekStart || 0,
195
+ $ = (m < g ? m + 7 : m) - g;
196
+ return d(r ? y - $ : y + (6 - $), v);
197
+ case a:
198
+ case h:
199
+ return p(_ + "Hours", 0);
200
+ case s:
201
+ return p(_ + "Minutes", 1);
202
+ case i:
203
+ return p(_ + "Seconds", 2);
204
+ case o:
205
+ return p(_ + "Milliseconds", 3);
206
+ default:
207
+ return this.clone();
208
+ }
209
+ }, y.endOf = function (t) {
210
+ return this.startOf(t, !1);
211
+ }, y.$set = function (t, e) {
212
+ var n,
213
+ c = M.p(t),
214
+ f = "set" + (this.$u ? "UTC" : ""),
215
+ d = (n = {}, n[a] = f + "Date", n[h] = f + "Date", n[u] = f + "Month", n[l] = f + "FullYear", n[s] = f + "Hours", n[i] = f + "Minutes", n[o] = f + "Seconds", n[r] = f + "Milliseconds", n)[c],
216
+ p = c === a ? this.$D + (e - this.$W) : e;
217
+ if (c === u || c === l) {
218
+ var m = this.clone().set(h, 1);
219
+ m.$d[d](p), m.init(), this.$d = m.set(h, Math.min(this.$D, m.daysInMonth())).$d;
220
+ } else d && this.$d[d](p);
221
+ return this.init(), this;
222
+ }, y.set = function (t, e) {
223
+ return this.clone().$set(t, e);
224
+ }, y.get = function (t) {
225
+ return this[M.p(t)]();
226
+ }, y.add = function (r, f) {
227
+ var h,
228
+ d = this;
229
+ r = Number(r);
230
+ var p = M.p(f),
231
+ m = function (t) {
232
+ var e = D(d);
233
+ return M.w(e.date(e.date() + Math.round(t * r)), d);
234
+ };
235
+ if (p === u) return this.set(u, this.$M + r);
236
+ if (p === l) return this.set(l, this.$y + r);
237
+ if (p === a) return m(1);
238
+ if (p === c) return m(7);
239
+ var v = (h = {}, h[i] = e, h[s] = n, h[o] = t, h)[p] || 1,
240
+ y = this.$d.getTime() + r * v;
241
+ return M.w(y, this);
242
+ }, y.subtract = function (t, e) {
243
+ return this.add(-1 * t, e);
244
+ }, y.format = function (t) {
245
+ var e = this,
246
+ n = this.$locale();
247
+ if (!this.isValid()) return n.invalidDate || d;
248
+ var r = t || "YYYY-MM-DDTHH:mm:ssZ",
249
+ o = M.z(this),
250
+ i = this.$H,
251
+ s = this.$m,
252
+ a = this.$M,
253
+ c = n.weekdays,
254
+ u = n.months,
255
+ f = function (t, n, o, i) {
256
+ return t && (t[n] || t(e, r)) || o[n].slice(0, i);
257
+ },
258
+ l = function (t) {
259
+ return M.s(i % 12 || 12, t, "0");
260
+ },
261
+ h = n.meridiem || function (t, e, n) {
262
+ var r = t < 12 ? "AM" : "PM";
263
+ return n ? r.toLowerCase() : r;
264
+ },
265
+ p = {
266
+ YY: String(this.$y).slice(-2),
267
+ YYYY: this.$y,
268
+ M: a + 1,
269
+ MM: M.s(a + 1, 2, "0"),
270
+ MMM: f(n.monthsShort, a, u, 3),
271
+ MMMM: f(u, a),
272
+ D: this.$D,
273
+ DD: M.s(this.$D, 2, "0"),
274
+ d: String(this.$W),
275
+ dd: f(n.weekdaysMin, this.$W, c, 2),
276
+ ddd: f(n.weekdaysShort, this.$W, c, 3),
277
+ dddd: c[this.$W],
278
+ H: String(i),
279
+ HH: M.s(i, 2, "0"),
280
+ h: l(1),
281
+ hh: l(2),
282
+ a: h(i, s, !0),
283
+ A: h(i, s, !1),
284
+ m: String(s),
285
+ mm: M.s(s, 2, "0"),
286
+ s: String(this.$s),
287
+ ss: M.s(this.$s, 2, "0"),
288
+ SSS: M.s(this.$ms, 3, "0"),
289
+ Z: o
290
+ };
291
+ return r.replace(m, function (t, e) {
292
+ return e || p[t] || o.replace(":", "");
293
+ });
294
+ }, y.utcOffset = function () {
295
+ return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
296
+ }, y.diff = function (r, h, d) {
297
+ var p,
298
+ m = M.p(h),
299
+ v = D(r),
300
+ y = (v.utcOffset() - this.utcOffset()) * e,
301
+ _ = this - v,
302
+ g = M.m(this, v);
303
+ return g = (p = {}, p[l] = g / 12, p[u] = g, p[f] = g / 3, p[c] = (_ - y) / 6048e5, p[a] = (_ - y) / 864e5, p[s] = _ / n, p[i] = _ / e, p[o] = _ / t, p)[m] || _, d ? g : M.a(g);
304
+ }, y.daysInMonth = function () {
305
+ return this.endOf(u).$D;
306
+ }, y.$locale = function () {
307
+ return $[this.$L];
308
+ }, y.locale = function (t, e) {
309
+ if (!t) return this.$L;
310
+ var n = this.clone(),
311
+ r = O(t, e, !0);
312
+ return r && (n.$L = r), n;
313
+ }, y.clone = function () {
314
+ return M.w(this.$d, this);
315
+ }, y.toDate = function () {
316
+ return new Date(this.valueOf());
317
+ }, y.toJSON = function () {
318
+ return this.isValid() ? this.toISOString() : null;
319
+ }, y.toISOString = function () {
320
+ return this.$d.toISOString();
321
+ }, y.toString = function () {
322
+ return this.$d.toUTCString();
323
+ }, v;
324
+ }(),
325
+ j = w.prototype;
326
+ return D.prototype = j, [["$ms", r], ["$s", o], ["$m", i], ["$H", s], ["$W", a], ["$M", u], ["$y", l], ["$D", h]].forEach(function (t) {
327
+ j[t[1]] = function (e) {
328
+ return this.$g(e, t[0], t[1]);
329
+ };
330
+ }), D.extend = function (t, e) {
331
+ return t.$i || (t(e, w, D), t.$i = !0), D;
332
+ }, D.locale = O, D.isDayjs = b, D.unix = function (t) {
333
+ return D(1e3 * t);
334
+ }, D.en = $[g], D.Ls = $, D.p = {}, D;
335
+ }();
26
336
  },
27
- fnMap: {},
28
- branchMap: {},
29
- s: {
30
- "0": 0
337
+ 213: function (t) {
338
+ t.exports = function (t, e, n) {
339
+ e.prototype.isBetween = function (t, e, r, o) {
340
+ var i = n(t),
341
+ s = n(e),
342
+ a = "(" === (o = o || "()")[0],
343
+ c = ")" === o[1];
344
+ return (a ? this.isAfter(i, r) : !this.isBefore(i, r)) && (c ? this.isBefore(s, r) : !this.isAfter(s, r)) || (a ? this.isBefore(i, r) : !this.isAfter(i, r)) && (c ? this.isAfter(s, r) : !this.isBefore(s, r));
345
+ };
346
+ };
31
347
  },
32
- f: {},
33
- b: {},
34
- _coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
35
- hash: "b0b3d93c7c8e40768c4894718af8a4d622b68202"
348
+ 618: function (t) {
349
+ t.exports = function (t, e) {
350
+ e.prototype.isSameOrAfter = function (t, e) {
351
+ return this.isSame(t, e) || this.isAfter(t, e);
352
+ };
353
+ };
354
+ },
355
+ 357: function (t) {
356
+ t.exports = function (t, e) {
357
+ e.prototype.isSameOrBefore = function (t, e) {
358
+ return this.isSame(t, e) || this.isBefore(t, e);
359
+ };
360
+ };
361
+ },
362
+ 298: function (t) {
363
+ var e, n;
364
+ t.exports = (e = {
365
+ year: 0,
366
+ month: 1,
367
+ day: 2,
368
+ hour: 3,
369
+ minute: 4,
370
+ second: 5
371
+ }, n = {}, function (t, r, o) {
372
+ var i,
373
+ s = function (t, e, r) {
374
+ void 0 === r && (r = {});
375
+ var o = new Date(t),
376
+ i = function (t, e) {
377
+ void 0 === e && (e = {});
378
+ var r = e.timeZoneName || "short",
379
+ o = t + "|" + r,
380
+ i = n[o];
381
+ return i || (i = new Intl.DateTimeFormat("en-US", {
382
+ hour12: !1,
383
+ timeZone: t,
384
+ year: "numeric",
385
+ month: "2-digit",
386
+ day: "2-digit",
387
+ hour: "2-digit",
388
+ minute: "2-digit",
389
+ second: "2-digit",
390
+ timeZoneName: r
391
+ }), n[o] = i), i;
392
+ }(e, r);
393
+ return i.formatToParts(o);
394
+ },
395
+ a = function (t, n) {
396
+ for (var r = s(t, n), i = [], a = 0; a < r.length; a += 1) {
397
+ var c = r[a],
398
+ u = c.type,
399
+ f = c.value,
400
+ l = e[u];
401
+ l >= 0 && (i[l] = parseInt(f, 10));
402
+ }
403
+ var h = i[3],
404
+ d = 24 === h ? 0 : h,
405
+ p = i[0] + "-" + i[1] + "-" + i[2] + " " + d + ":" + i[4] + ":" + i[5] + ":000",
406
+ m = +t;
407
+ return (o.utc(p).valueOf() - (m -= m % 1e3)) / 6e4;
408
+ },
409
+ c = r.prototype;
410
+ c.tz = function (t, e) {
411
+ void 0 === t && (t = i);
412
+ var n = this.utcOffset(),
413
+ r = this.toDate(),
414
+ s = r.toLocaleString("en-US", {
415
+ timeZone: t
416
+ }),
417
+ a = Math.round((r - new Date(s)) / 1e3 / 60),
418
+ c = o(s).$set("millisecond", this.$ms).utcOffset(15 * -Math.round(r.getTimezoneOffset() / 15) - a, !0);
419
+ if (e) {
420
+ var u = c.utcOffset();
421
+ c = c.add(n - u, "minute");
422
+ }
423
+ return c.$x.$timezone = t, c;
424
+ }, c.offsetName = function (t) {
425
+ var e = this.$x.$timezone || o.tz.guess(),
426
+ n = s(this.valueOf(), e, {
427
+ timeZoneName: t
428
+ }).find(function (t) {
429
+ return "timezonename" === t.type.toLowerCase();
430
+ });
431
+ return n && n.value;
432
+ };
433
+ var u = c.startOf;
434
+ c.startOf = function (t, e) {
435
+ if (!this.$x || !this.$x.$timezone) return u.call(this, t, e);
436
+ var n = o(this.format("YYYY-MM-DD HH:mm:ss:SSS"));
437
+ return u.call(n, t, e).tz(this.$x.$timezone, !0);
438
+ }, o.tz = function (t, e, n) {
439
+ var r = n && e,
440
+ s = n || e || i,
441
+ c = a(+o(), s);
442
+ if ("string" != typeof t) return o(t).tz(s);
443
+ var u = function (t, e, n) {
444
+ var r = t - 60 * e * 1e3,
445
+ o = a(r, n);
446
+ if (e === o) return [r, e];
447
+ var i = a(r -= 60 * (o - e) * 1e3, n);
448
+ return o === i ? [r, o] : [t - 60 * Math.min(o, i) * 1e3, Math.max(o, i)];
449
+ }(o.utc(t, r).valueOf(), c, s),
450
+ f = u[0],
451
+ l = u[1],
452
+ h = o(f).utcOffset(l);
453
+ return h.$x.$timezone = s, h;
454
+ }, o.tz.guess = function () {
455
+ return Intl.DateTimeFormat().resolvedOptions().timeZone;
456
+ }, o.tz.setDefault = function (t) {
457
+ i = t;
458
+ };
459
+ });
460
+ },
461
+ 381: function (t) {
462
+ var e, n, r;
463
+ t.exports = (e = "minute", n = /[+-]\d\d(?::?\d\d)?/g, r = /([+-]|\d\d)/g, function (t, o, i) {
464
+ var s = o.prototype;
465
+ i.utc = function (t) {
466
+ return new o({
467
+ date: t,
468
+ utc: !0,
469
+ args: arguments
470
+ });
471
+ }, s.utc = function (t) {
472
+ var n = i(this.toDate(), {
473
+ locale: this.$L,
474
+ utc: !0
475
+ });
476
+ return t ? n.add(this.utcOffset(), e) : n;
477
+ }, s.local = function () {
478
+ return i(this.toDate(), {
479
+ locale: this.$L,
480
+ utc: !1
481
+ });
482
+ };
483
+ var a = s.parse;
484
+ s.parse = function (t) {
485
+ t.utc && (this.$u = !0), this.$utils().u(t.$offset) || (this.$offset = t.$offset), a.call(this, t);
486
+ };
487
+ var c = s.init;
488
+ s.init = function () {
489
+ if (this.$u) {
490
+ var t = this.$d;
491
+ this.$y = t.getUTCFullYear(), this.$M = t.getUTCMonth(), this.$D = t.getUTCDate(), this.$W = t.getUTCDay(), this.$H = t.getUTCHours(), this.$m = t.getUTCMinutes(), this.$s = t.getUTCSeconds(), this.$ms = t.getUTCMilliseconds();
492
+ } else c.call(this);
493
+ };
494
+ var u = s.utcOffset;
495
+ s.utcOffset = function (t, o) {
496
+ var i = this.$utils().u;
497
+ if (i(t)) return this.$u ? 0 : i(this.$offset) ? u.call(this) : this.$offset;
498
+ if ("string" == typeof t && (t = function (t) {
499
+ void 0 === t && (t = "");
500
+ var e = t.match(n);
501
+ if (!e) return null;
502
+ var o = ("" + e[0]).match(r) || ["-", 0, 0],
503
+ i = o[0],
504
+ s = 60 * +o[1] + +o[2];
505
+ return 0 === s ? 0 : "+" === i ? s : -s;
506
+ }(t), null === t)) return this;
507
+ var s = Math.abs(t) <= 16 ? 60 * t : t,
508
+ a = this;
509
+ if (o) return a.$offset = s, a.$u = 0 === t, a;
510
+ if (0 !== t) {
511
+ var c = this.$u ? this.toDate().getTimezoneOffset() : -1 * this.utcOffset();
512
+ (a = this.local().add(s + c, e)).$offset = s, a.$x.$localOffset = c;
513
+ } else a = this.utc();
514
+ return a;
515
+ };
516
+ var f = s.format;
517
+ s.format = function (t) {
518
+ var e = t || (this.$u ? "YYYY-MM-DDTHH:mm:ss[Z]" : "");
519
+ return f.call(this, e);
520
+ }, s.valueOf = function () {
521
+ var t = this.$utils().u(this.$offset) ? 0 : this.$offset + (this.$x.$localOffset || this.$d.getTimezoneOffset());
522
+ return this.$d.valueOf() - 6e4 * t;
523
+ }, s.isUTC = function () {
524
+ return !!this.$u;
525
+ }, s.toISOString = function () {
526
+ return this.toDate().toISOString();
527
+ }, s.toString = function () {
528
+ return this.toDate().toUTCString();
529
+ };
530
+ var l = s.toDate;
531
+ s.toDate = function (t) {
532
+ return "s" === t && this.$offset ? i(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate() : l.call(this);
533
+ };
534
+ var h = s.diff;
535
+ s.diff = function (t, e, n) {
536
+ if (t && this.$u === t.$u) return h.call(this, t, e, n);
537
+ var r = this.local(),
538
+ o = i(t).local();
539
+ return h.call(r, o, e, n);
540
+ };
541
+ });
542
+ }
543
+ },
544
+ e = {};
545
+ function n(r) {
546
+ var o = e[r];
547
+ if (void 0 !== o) return o.exports;
548
+ var i = e[r] = {
549
+ exports: {}
36
550
  };
37
- var coverage = global[gcv] || (global[gcv] = {});
38
- if (!coverage[path] || coverage[path].hash !== hash) {
39
- coverage[path] = coverageData;
551
+ return t[r].call(i.exports, i, i.exports, n), i.exports;
552
+ }
553
+ n.n = t => {
554
+ var e = t && t.__esModule ? () => t.default : () => t;
555
+ return n.d(e, {
556
+ a: e
557
+ }), e;
558
+ }, n.d = (t, e) => {
559
+ for (var r in e) n.o(e, r) && !n.o(t, r) && Object.defineProperty(t, r, {
560
+ enumerable: !0,
561
+ get: e[r]
562
+ });
563
+ }, n.o = (t, e) => Object.prototype.hasOwnProperty.call(t, e);
564
+ var r = {};
565
+ (() => {
566
+ n.d(r, {
567
+ b4: () => Ye,
568
+ eE: () => ke,
569
+ HO: () => Be,
570
+ Ms: () => Pe
571
+ });
572
+ var t = n(474),
573
+ e = n.n(t),
574
+ o = n(213),
575
+ i = n.n(o),
576
+ s = n(618),
577
+ a = n.n(s),
578
+ c = n(357),
579
+ u = n.n(c),
580
+ f = n(298),
581
+ l = n.n(f),
582
+ h = n(381),
583
+ d = n.n(h),
584
+ p = Object.prototype;
585
+ const m = function (t) {
586
+ var e = t && t.constructor;
587
+ return t === ("function" == typeof e && e.prototype || p);
588
+ };
589
+ const v = function (t, e) {
590
+ return function (n) {
591
+ return t(e(n));
592
+ };
593
+ }(Object.keys, Object);
594
+ var y = Object.prototype.hasOwnProperty;
595
+ const _ = function (t) {
596
+ if (!m(t)) return v(t);
597
+ var e = [];
598
+ for (var n in Object(t)) y.call(t, n) && "constructor" != n && e.push(n);
599
+ return e;
600
+ };
601
+ const g = "object" == typeof global && global && global.Object === Object && global;
602
+ var $ = "object" == typeof self && self && self.Object === Object && self;
603
+ const b = g || $ || Function("return this")();
604
+ const O = b.Symbol;
605
+ var D = Object.prototype,
606
+ M = D.hasOwnProperty,
607
+ w = D.toString,
608
+ j = O ? O.toStringTag : void 0;
609
+ const S = function (t) {
610
+ var e = M.call(t, j),
611
+ n = t[j];
612
+ try {
613
+ t[j] = void 0;
614
+ var r = !0;
615
+ } catch (t) {}
616
+ var o = w.call(t);
617
+ return r && (e ? t[j] = n : delete t[j]), o;
618
+ };
619
+ var x = Object.prototype.toString;
620
+ const z = function (t) {
621
+ return x.call(t);
622
+ };
623
+ var T = O ? O.toStringTag : void 0;
624
+ const A = function (t) {
625
+ return null == t ? void 0 === t ? "[object Undefined]" : "[object Null]" : T && T in Object(t) ? S(t) : z(t);
626
+ };
627
+ const P = function (t) {
628
+ var e = typeof t;
629
+ return null != t && ("object" == e || "function" == e);
630
+ };
631
+ const k = function (t) {
632
+ if (!P(t)) return !1;
633
+ var e = A(t);
634
+ return "[object Function]" == e || "[object GeneratorFunction]" == e || "[object AsyncFunction]" == e || "[object Proxy]" == e;
635
+ };
636
+ const Y = b["__core-js_shared__"];
637
+ var B,
638
+ C = (B = /[^.]+$/.exec(Y && Y.keys && Y.keys.IE_PROTO || "")) ? "Symbol(src)_1." + B : "";
639
+ const I = function (t) {
640
+ return !!C && C in t;
641
+ };
642
+ var H = Function.prototype.toString;
643
+ const U = function (t) {
644
+ if (null != t) {
645
+ try {
646
+ return H.call(t);
647
+ } catch (t) {}
648
+ try {
649
+ return t + "";
650
+ } catch (t) {}
651
+ }
652
+ return "";
653
+ };
654
+ var F = /^\[object .+?Constructor\]$/,
655
+ E = Function.prototype,
656
+ L = Object.prototype,
657
+ W = E.toString,
658
+ Z = L.hasOwnProperty,
659
+ N = RegExp("^" + W.call(Z).replace(/[\\^$.*+?()[\]{}|]/g, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$");
660
+ const V = function (t) {
661
+ return !(!P(t) || I(t)) && (k(t) ? N : F).test(U(t));
662
+ };
663
+ const J = function (t, e) {
664
+ return null == t ? void 0 : t[e];
665
+ };
666
+ const q = function (t, e) {
667
+ var n = J(t, e);
668
+ return V(n) ? n : void 0;
669
+ };
670
+ const R = q(b, "DataView");
671
+ const G = q(b, "Map");
672
+ const Q = q(b, "Promise");
673
+ const K = q(b, "Set");
674
+ const X = q(b, "WeakMap");
675
+ var tt = "[object Map]",
676
+ et = "[object Promise]",
677
+ nt = "[object Set]",
678
+ rt = "[object WeakMap]",
679
+ ot = "[object DataView]",
680
+ it = U(R),
681
+ st = U(G),
682
+ at = U(Q),
683
+ ct = U(K),
684
+ ut = U(X),
685
+ ft = A;
686
+ (R && ft(new R(new ArrayBuffer(1))) != ot || G && ft(new G()) != tt || Q && ft(Q.resolve()) != et || K && ft(new K()) != nt || X && ft(new X()) != rt) && (ft = function (t) {
687
+ var e = A(t),
688
+ n = "[object Object]" == e ? t.constructor : void 0,
689
+ r = n ? U(n) : "";
690
+ if (r) switch (r) {
691
+ case it:
692
+ return ot;
693
+ case st:
694
+ return tt;
695
+ case at:
696
+ return et;
697
+ case ct:
698
+ return nt;
699
+ case ut:
700
+ return rt;
701
+ }
702
+ return e;
703
+ });
704
+ const lt = ft;
705
+ const ht = function (t) {
706
+ return null != t && "object" == typeof t;
707
+ };
708
+ const dt = function (t) {
709
+ return ht(t) && "[object Arguments]" == A(t);
710
+ };
711
+ var pt = Object.prototype,
712
+ mt = pt.hasOwnProperty,
713
+ vt = pt.propertyIsEnumerable;
714
+ const yt = dt(function () {
715
+ return arguments;
716
+ }()) ? dt : function (t) {
717
+ return ht(t) && mt.call(t, "callee") && !vt.call(t, "callee");
718
+ };
719
+ const _t = Array.isArray;
720
+ const gt = function (t) {
721
+ return "number" == typeof t && t > -1 && t % 1 == 0 && t <= 9007199254740991;
722
+ };
723
+ const $t = function (t) {
724
+ return null != t && gt(t.length) && !k(t);
725
+ };
726
+ const bt = function () {
727
+ return !1;
728
+ };
729
+ var Ot = "object" == typeof exports && exports && !exports.nodeType && exports,
730
+ Dt = Ot && "object" == typeof module && module && !module.nodeType && module,
731
+ Mt = Dt && Dt.exports === Ot ? b.Buffer : void 0;
732
+ const wt = (Mt ? Mt.isBuffer : void 0) || bt;
733
+ var jt = {};
734
+ jt["[object Float32Array]"] = jt["[object Float64Array]"] = jt["[object Int8Array]"] = jt["[object Int16Array]"] = jt["[object Int32Array]"] = jt["[object Uint8Array]"] = jt["[object Uint8ClampedArray]"] = jt["[object Uint16Array]"] = jt["[object Uint32Array]"] = !0, jt["[object Arguments]"] = jt["[object Array]"] = jt["[object ArrayBuffer]"] = jt["[object Boolean]"] = jt["[object DataView]"] = jt["[object Date]"] = jt["[object Error]"] = jt["[object Function]"] = jt["[object Map]"] = jt["[object Number]"] = jt["[object Object]"] = jt["[object RegExp]"] = jt["[object Set]"] = jt["[object String]"] = jt["[object WeakMap]"] = !1;
735
+ const St = function (t) {
736
+ return ht(t) && gt(t.length) && !!jt[A(t)];
737
+ };
738
+ const xt = function (t) {
739
+ return function (e) {
740
+ return t(e);
741
+ };
742
+ };
743
+ var zt = "object" == typeof exports && exports && !exports.nodeType && exports,
744
+ Tt = zt && "object" == typeof module && module && !module.nodeType && module,
745
+ At = Tt && Tt.exports === zt && g.process,
746
+ Pt = function () {
747
+ try {
748
+ var t = Tt && Tt.require && Tt.require("util").types;
749
+ return t || At && At.binding && At.binding("util");
750
+ } catch (t) {}
751
+ }();
752
+ var kt = Pt && Pt.isTypedArray;
753
+ const Yt = kt ? xt(kt) : St;
754
+ var Bt = Object.prototype.hasOwnProperty;
755
+ const Ct = function (t) {
756
+ if (null == t) return !0;
757
+ if ($t(t) && (_t(t) || "string" == typeof t || "function" == typeof t.splice || wt(t) || Yt(t) || yt(t))) return !t.length;
758
+ var e = lt(t);
759
+ if ("[object Map]" == e || "[object Set]" == e) return !t.size;
760
+ if (m(t)) return !_(t).length;
761
+ for (var n in t) if (Bt.call(t, n)) return !1;
762
+ return !0;
763
+ };
764
+ const It = function (t) {
765
+ for (var e = -1, n = null == t ? 0 : t.length, r = 0, o = []; ++e < n;) {
766
+ var i = t[e];
767
+ i && (o[r++] = i);
768
+ }
769
+ return o;
770
+ };
771
+ const Ht = q(Object, "create");
772
+ const Ut = function () {
773
+ this.__data__ = Ht ? Ht(null) : {}, this.size = 0;
774
+ };
775
+ const Ft = function (t) {
776
+ var e = this.has(t) && delete this.__data__[t];
777
+ return this.size -= e ? 1 : 0, e;
778
+ };
779
+ var Et = Object.prototype.hasOwnProperty;
780
+ const Lt = function (t) {
781
+ var e = this.__data__;
782
+ if (Ht) {
783
+ var n = e[t];
784
+ return "__lodash_hash_undefined__" === n ? void 0 : n;
785
+ }
786
+ return Et.call(e, t) ? e[t] : void 0;
787
+ };
788
+ var Wt = Object.prototype.hasOwnProperty;
789
+ const Zt = function (t) {
790
+ var e = this.__data__;
791
+ return Ht ? void 0 !== e[t] : Wt.call(e, t);
792
+ };
793
+ const Nt = function (t, e) {
794
+ var n = this.__data__;
795
+ return this.size += this.has(t) ? 0 : 1, n[t] = Ht && void 0 === e ? "__lodash_hash_undefined__" : e, this;
796
+ };
797
+ function Vt(t) {
798
+ var e = -1,
799
+ n = null == t ? 0 : t.length;
800
+ for (this.clear(); ++e < n;) {
801
+ var r = t[e];
802
+ this.set(r[0], r[1]);
803
+ }
40
804
  }
41
- var actualCoverage = coverage[path];
42
- {
43
- // @ts-ignore
44
- cov_1kk3y13e2e = function () {
45
- return actualCoverage;
805
+ Vt.prototype.clear = Ut, Vt.prototype.delete = Ft, Vt.prototype.get = Lt, Vt.prototype.has = Zt, Vt.prototype.set = Nt;
806
+ const Jt = Vt;
807
+ const qt = function () {
808
+ this.__data__ = [], this.size = 0;
809
+ };
810
+ const Rt = function (t, e) {
811
+ return t === e || t != t && e != e;
812
+ };
813
+ const Gt = function (t, e) {
814
+ for (var n = t.length; n--;) if (Rt(t[n][0], e)) return n;
815
+ return -1;
816
+ };
817
+ var Qt = Array.prototype.splice;
818
+ const Kt = function (t) {
819
+ var e = this.__data__,
820
+ n = Gt(e, t);
821
+ return !(n < 0) && (n == e.length - 1 ? e.pop() : Qt.call(e, n, 1), --this.size, !0);
822
+ };
823
+ const Xt = function (t) {
824
+ var e = this.__data__,
825
+ n = Gt(e, t);
826
+ return n < 0 ? void 0 : e[n][1];
827
+ };
828
+ const te = function (t) {
829
+ return Gt(this.__data__, t) > -1;
830
+ };
831
+ const ee = function (t, e) {
832
+ var n = this.__data__,
833
+ r = Gt(n, t);
834
+ return r < 0 ? (++this.size, n.push([t, e])) : n[r][1] = e, this;
835
+ };
836
+ function ne(t) {
837
+ var e = -1,
838
+ n = null == t ? 0 : t.length;
839
+ for (this.clear(); ++e < n;) {
840
+ var r = t[e];
841
+ this.set(r[0], r[1]);
842
+ }
843
+ }
844
+ ne.prototype.clear = qt, ne.prototype.delete = Kt, ne.prototype.get = Xt, ne.prototype.has = te, ne.prototype.set = ee;
845
+ const re = ne;
846
+ const oe = function () {
847
+ this.size = 0, this.__data__ = {
848
+ hash: new Jt(),
849
+ map: new (G || re)(),
850
+ string: new Jt()
46
851
  };
852
+ };
853
+ const ie = function (t) {
854
+ var e = typeof t;
855
+ return "string" == e || "number" == e || "symbol" == e || "boolean" == e ? "__proto__" !== t : null === t;
856
+ };
857
+ const se = function (t, e) {
858
+ var n = t.__data__;
859
+ return ie(e) ? n["string" == typeof e ? "string" : "hash"] : n.map;
860
+ };
861
+ const ae = function (t) {
862
+ var e = se(this, t).delete(t);
863
+ return this.size -= e ? 1 : 0, e;
864
+ };
865
+ const ce = function (t) {
866
+ return se(this, t).get(t);
867
+ };
868
+ const ue = function (t) {
869
+ return se(this, t).has(t);
870
+ };
871
+ const fe = function (t, e) {
872
+ var n = se(this, t),
873
+ r = n.size;
874
+ return n.set(t, e), this.size += n.size == r ? 0 : 1, this;
875
+ };
876
+ function le(t) {
877
+ var e = -1,
878
+ n = null == t ? 0 : t.length;
879
+ for (this.clear(); ++e < n;) {
880
+ var r = t[e];
881
+ this.set(r[0], r[1]);
882
+ }
47
883
  }
48
- return actualCoverage;
49
- }
50
- cov_1kk3y13e2e();
51
- const langSwitchButtonProps = (cov_1kk3y13e2e().s[0]++, {
52
- modalDirection: {
53
- type: String,
54
- default: 'right'
884
+ le.prototype.clear = oe, le.prototype.delete = ae, le.prototype.get = ce, le.prototype.has = ue, le.prototype.set = fe;
885
+ const he = le;
886
+ const de = function (t) {
887
+ return this.__data__.set(t, "__lodash_hash_undefined__"), this;
888
+ };
889
+ const pe = function (t) {
890
+ return this.__data__.has(t);
891
+ };
892
+ function me(t) {
893
+ var e = -1,
894
+ n = null == t ? 0 : t.length;
895
+ for (this.__data__ = new he(); ++e < n;) this.add(t[e]);
55
896
  }
56
- });
897
+ me.prototype.add = me.prototype.push = de, me.prototype.has = pe;
898
+ const ve = me;
899
+ const ye = function (t, e, n, r) {
900
+ for (var o = t.length, i = n + (r ? 1 : -1); r ? i-- : ++i < o;) if (e(t[i], i, t)) return i;
901
+ return -1;
902
+ };
903
+ const _e = function (t) {
904
+ return t != t;
905
+ };
906
+ const ge = function (t, e, n) {
907
+ for (var r = n - 1, o = t.length; ++r < o;) if (t[r] === e) return r;
908
+ return -1;
909
+ };
910
+ const $e = function (t, e, n) {
911
+ return e == e ? ge(t, e, n) : ye(t, _e, n);
912
+ };
913
+ const be = function (t, e) {
914
+ return !!(null == t ? 0 : t.length) && $e(t, e, 0) > -1;
915
+ };
916
+ const Oe = function (t, e, n) {
917
+ for (var r = -1, o = null == t ? 0 : t.length; ++r < o;) if (n(e, t[r])) return !0;
918
+ return !1;
919
+ };
920
+ const De = function (t, e) {
921
+ return t.has(e);
922
+ };
923
+ const Me = function () {};
924
+ const we = function (t) {
925
+ var e = -1,
926
+ n = Array(t.size);
927
+ return t.forEach(function (t) {
928
+ n[++e] = t;
929
+ }), n;
930
+ };
931
+ const je = K && 1 / we(new K([, -0]))[1] == 1 / 0 ? function (t) {
932
+ return new K(t);
933
+ } : Me;
934
+ const Se = function (t, e, n) {
935
+ var r = -1,
936
+ o = be,
937
+ i = t.length,
938
+ s = !0,
939
+ a = [],
940
+ c = a;
941
+ if (n) s = !1, o = Oe;else if (i >= 200) {
942
+ var u = e ? null : je(t);
943
+ if (u) return we(u);
944
+ s = !1, o = De, c = new ve();
945
+ } else c = e ? [] : a;
946
+ t: for (; ++r < i;) {
947
+ var f = t[r],
948
+ l = e ? e(f) : f;
949
+ if (f = n || 0 !== f ? f : 0, s && l == l) {
950
+ for (var h = c.length; h--;) if (c[h] === l) continue t;
951
+ e && c.push(l), a.push(f);
952
+ } else o(c, l, n) || (c !== a && c.push(l), a.push(f));
953
+ }
954
+ return a;
955
+ };
956
+ const xe = function (t) {
957
+ return t && t.length ? Se(t) : [];
958
+ };
959
+ e().extend(d()), e().extend(l()), e().extend(i()), e().extend(a()), e().extend(u());
960
+ const ze = t => e()(t).add(1, "day").utc().format();
961
+ function Te(t) {
962
+ return /\d{4}-(?:0[1-9]|1[0-2])-(?:0[1-9]|[12]\d|3[01])T(?:[01]\d|2[0-3])(?::[0-5]\d){2}(?:\.\d+|)(?:Z|[+-]\d{2}:?\d{2})/u.test(t);
963
+ }
964
+ const Ae = ({
965
+ cancellationPolicies: t,
966
+ date: n
967
+ }) => t.filter(t => e()(n).isBetween(t.date_from, t.date_to, void 0, "[)")),
968
+ Pe = ({
969
+ bookingDatetime: t,
970
+ cancellationPolicies: n,
971
+ checkInDate: r,
972
+ releaseDate: o,
973
+ timezone: i
974
+ }) => {
975
+ if (!t) throw new Error('Missing "bookingDatetime" option');
976
+ if (!r) throw new Error('Missing "checkInDate" option');
977
+ if (!i) throw new Error('Missing "timezone" option');
978
+ const s = e()(t).utc().format(),
979
+ a = e().tz(r, i).startOf("day").utc().format(),
980
+ c = ze(a),
981
+ u = o && e().tz(o, i).startOf("day").utc().format();
982
+ if (e()(s).isAfter(c)) return Pe({
983
+ bookingDatetime: a,
984
+ cancellationPolicies: n,
985
+ checkInDate: r,
986
+ releaseDate: o,
987
+ timezone: i
988
+ });
989
+ if (Ct(n)) return e()(s).isBefore(a) ? u ? e()(u).isBefore(s) ? [{
990
+ date_from: s,
991
+ date_to: c,
992
+ penalty_percentage: 100
993
+ }] : [{
994
+ date_from: s,
995
+ date_to: u,
996
+ penalty_percentage: 0
997
+ }, {
998
+ date_from: u,
999
+ date_to: c,
1000
+ penalty_percentage: 100
1001
+ }] : [{
1002
+ date_from: s,
1003
+ date_to: a,
1004
+ penalty_percentage: 0
1005
+ }, {
1006
+ date_from: a,
1007
+ date_to: c,
1008
+ penalty_percentage: 100
1009
+ }] : [{
1010
+ date_from: s,
1011
+ date_to: c,
1012
+ penalty_percentage: 100
1013
+ }];
1014
+ let f = It(n);
1015
+ if (!f.every(t => t.date_from && t.date_to && e()(t.date_from).isBefore(t.date_to))) return [{
1016
+ date_from: s,
1017
+ date_to: c,
1018
+ penalty_percentage: 100
1019
+ }];
1020
+ f = f.filter(t => e()(t.date_to).diff(e()(t.date_from), "minutes") >= 20).sort((t, n) => e()(t.date_from).isAfter(e()(n.date_from)) ? 1 : -1).map(t => (t.date_from = e().tz(t.date_from, i).utc(Te(t.date_from)).utc().format(), t.date_to = e().tz(t.date_to, i).utc(Te(t.date_to)).utc().format(), t)), u && e()(u).isBetween(e()(s), e()(f[0].date_from, void 0, "[)")) && f.push({
1021
+ date_from: s,
1022
+ date_to: u,
1023
+ penalty_percentage: 0
1024
+ }, {
1025
+ date_from: u,
1026
+ date_to: f[0].date_from,
1027
+ penalty_percentage: 100
1028
+ });
1029
+ const l = f.reduce((t, n) => (t.push(e()(n.date_from).utc().format(), e()(n.date_to).utc().format()), t), []).concat(s, c),
1030
+ h = xe(l).sort((t, n) => e()(t).isAfter(e()(n)) ? 1 : -1);
1031
+ let d = [],
1032
+ p = 0,
1033
+ m = "";
1034
+ for (const [t, n] of h.entries()) {
1035
+ const r = Ae({
1036
+ cancellationPolicies: f,
1037
+ date: n
1038
+ });
1039
+ let o = null;
1040
+ o = Ct(r) ? u && e()(u).isBefore(e()(s)) ? 100 : 0 : Math.max(...r.map(t => t.penalty_percentage)), m ? (Ct(r) && (o = 100), p === o && t !== h.length - 1 || (d.push({
1041
+ date_from: m,
1042
+ date_to: n,
1043
+ penalty_percentage: p
1044
+ }), m = n, p = o)) : (m = n, p = o);
1045
+ }
1046
+ return d = d.filter(t => !e()(t.date_to).isSameOrBefore(s) && !e()(t.date_from).isSameOrAfter(c)), d[0].date_from = s, d.at(-1).date_to = c, d;
1047
+ },
1048
+ ke = ({
1049
+ bookingDatetime: t,
1050
+ cancellationPolicies: n,
1051
+ checkInDate: r,
1052
+ datetime: o,
1053
+ releaseDate: i,
1054
+ timezone: s
1055
+ }) => {
1056
+ if (!t) throw new Error('Missing "bookingDatetime" option');
1057
+ if (!r) throw new Error('Missing "checkInDate" option');
1058
+ if (!o) throw new Error('Missing "datetime" option');
1059
+ if (!s) throw new Error('Missing "timezone" option');
1060
+ const a = e()(o).utc().format(),
1061
+ c = e()(t).utc().format(),
1062
+ u = e().tz(r, s).startOf("day").utc().format(),
1063
+ f = ze(u);
1064
+ if (e()(a).isSameOrAfter(e()(f))) return 100;
1065
+ if (e()(a).isBefore(e()(c))) return 0;
1066
+ const l = Pe({
1067
+ bookingDatetime: t,
1068
+ cancellationPolicies: n,
1069
+ checkInDate: r,
1070
+ releaseDate: i,
1071
+ timezone: s
1072
+ }),
1073
+ h = Ae({
1074
+ cancellationPolicies: l,
1075
+ date: o
1076
+ });
1077
+ return h[0] && h[0].penalty_percentage;
1078
+ },
1079
+ Ye = ({
1080
+ bookingDatetime: t,
1081
+ cancellationPolicies: n,
1082
+ checkInDate: r,
1083
+ releaseDate: o,
1084
+ timezone: i
1085
+ }) => {
1086
+ const s = e()().utc().format();
1087
+ return ke({
1088
+ bookingDatetime: t,
1089
+ cancellationPolicies: n,
1090
+ checkInDate: r,
1091
+ datetime: s,
1092
+ releaseDate: o,
1093
+ timezone: i
1094
+ });
1095
+ },
1096
+ Be = (t, n) => !!Ct(t) || !Ct(n) && (t[0].dateTo ? n.every(n => {
1097
+ const r = t.find(t => e()(n.date_to).isBetween(t.date_from, t.date_to, null, "[]"));
1098
+ return !r || n.penalty_percentage >= r.penalty_percentage;
1099
+ }) : n.every(n => {
1100
+ const r = t.find(t => e()(n.dateTo).isBetween(t.dateFrom, t.dateTo, null, "[]"));
1101
+ return !r || n.penaltyPercentage >= r.penaltyPercentage;
1102
+ }));
1103
+ })();
1104
+ var o = r.b4,
1105
+ i = r.eE,
1106
+ s = r.HO,
1107
+ a = r.Ms;
1108
+
1109
+ /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__("35b1"), __webpack_require__("9fc2")(module)))
1110
+
1111
+ /***/ }),
1112
+
1113
+ /***/ "21ba":
1114
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
1115
+
1116
+ "use strict";
1117
+ __webpack_require__.r(__webpack_exports__);
1118
+ /* harmony import */ var _node_modules_pnpm_mini_css_extract_plugin_0_9_0_patch_hash_bajx2qlsuujcbvcxezkid2cfe4_webpack_4_46_0_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_pnpm_css_loader_3_6_0_webpack_4_46_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_pnpm_vue_loader_15_10_1_cache_loader_4_1_0_css_loader_3_6_0_react_dom_16_14_0_react_16_14_0_vue_te_in2h7w4pcz7gmv74d3b5fqofg4_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_pnpm_postcss_loader_3_0_0_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_pnpm_sass_loader_10_4_1_sass_1_39_2_webpack_4_46_0_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_3_node_modules_pnpm_cache_loader_4_1_0_webpack_4_46_0_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_pnpm_vue_loader_15_10_1_cache_loader_4_1_0_css_loader_3_6_0_react_dom_16_14_0_react_16_14_0_vue_te_in2h7w4pcz7gmv74d3b5fqofg4_node_modules_vue_loader_lib_index_js_vue_loader_options_BTag_vue_vue_type_style_index_0_id_06038fd6_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("c59f");
1119
+ /* harmony import */ var _node_modules_pnpm_mini_css_extract_plugin_0_9_0_patch_hash_bajx2qlsuujcbvcxezkid2cfe4_webpack_4_46_0_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_pnpm_css_loader_3_6_0_webpack_4_46_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_pnpm_vue_loader_15_10_1_cache_loader_4_1_0_css_loader_3_6_0_react_dom_16_14_0_react_16_14_0_vue_te_in2h7w4pcz7gmv74d3b5fqofg4_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_pnpm_postcss_loader_3_0_0_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_pnpm_sass_loader_10_4_1_sass_1_39_2_webpack_4_46_0_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_3_node_modules_pnpm_cache_loader_4_1_0_webpack_4_46_0_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_pnpm_vue_loader_15_10_1_cache_loader_4_1_0_css_loader_3_6_0_react_dom_16_14_0_react_16_14_0_vue_te_in2h7w4pcz7gmv74d3b5fqofg4_node_modules_vue_loader_lib_index_js_vue_loader_options_BTag_vue_vue_type_style_index_0_id_06038fd6_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_mini_css_extract_plugin_0_9_0_patch_hash_bajx2qlsuujcbvcxezkid2cfe4_webpack_4_46_0_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_pnpm_css_loader_3_6_0_webpack_4_46_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_pnpm_vue_loader_15_10_1_cache_loader_4_1_0_css_loader_3_6_0_react_dom_16_14_0_react_16_14_0_vue_te_in2h7w4pcz7gmv74d3b5fqofg4_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_pnpm_postcss_loader_3_0_0_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_pnpm_sass_loader_10_4_1_sass_1_39_2_webpack_4_46_0_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_3_node_modules_pnpm_cache_loader_4_1_0_webpack_4_46_0_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_pnpm_vue_loader_15_10_1_cache_loader_4_1_0_css_loader_3_6_0_react_dom_16_14_0_react_16_14_0_vue_te_in2h7w4pcz7gmv74d3b5fqofg4_node_modules_vue_loader_lib_index_js_vue_loader_options_BTag_vue_vue_type_style_index_0_id_06038fd6_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__);
1120
+ /* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _node_modules_pnpm_mini_css_extract_plugin_0_9_0_patch_hash_bajx2qlsuujcbvcxezkid2cfe4_webpack_4_46_0_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_pnpm_css_loader_3_6_0_webpack_4_46_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_pnpm_vue_loader_15_10_1_cache_loader_4_1_0_css_loader_3_6_0_react_dom_16_14_0_react_16_14_0_vue_te_in2h7w4pcz7gmv74d3b5fqofg4_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_pnpm_postcss_loader_3_0_0_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_pnpm_sass_loader_10_4_1_sass_1_39_2_webpack_4_46_0_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_3_node_modules_pnpm_cache_loader_4_1_0_webpack_4_46_0_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_pnpm_vue_loader_15_10_1_cache_loader_4_1_0_css_loader_3_6_0_react_dom_16_14_0_react_16_14_0_vue_te_in2h7w4pcz7gmv74d3b5fqofg4_node_modules_vue_loader_lib_index_js_vue_loader_options_BTag_vue_vue_type_style_index_0_id_06038fd6_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__) if(["default"].indexOf(__WEBPACK_IMPORT_KEY__) < 0) (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return _node_modules_pnpm_mini_css_extract_plugin_0_9_0_patch_hash_bajx2qlsuujcbvcxezkid2cfe4_webpack_4_46_0_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_pnpm_css_loader_3_6_0_webpack_4_46_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_pnpm_vue_loader_15_10_1_cache_loader_4_1_0_css_loader_3_6_0_react_dom_16_14_0_react_16_14_0_vue_te_in2h7w4pcz7gmv74d3b5fqofg4_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_pnpm_postcss_loader_3_0_0_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_pnpm_sass_loader_10_4_1_sass_1_39_2_webpack_4_46_0_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_3_node_modules_pnpm_cache_loader_4_1_0_webpack_4_46_0_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_pnpm_vue_loader_15_10_1_cache_loader_4_1_0_css_loader_3_6_0_react_dom_16_14_0_react_16_14_0_vue_te_in2h7w4pcz7gmv74d3b5fqofg4_node_modules_vue_loader_lib_index_js_vue_loader_options_BTag_vue_vue_type_style_index_0_id_06038fd6_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__[key]; }) }(__WEBPACK_IMPORT_KEY__));
1121
+
57
1122
 
58
1123
  /***/ }),
59
1124
 
60
- /***/ "8e95":
1125
+ /***/ "57b9":
61
1126
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
62
1127
 
63
1128
  "use strict";
64
1129
 
65
- // CONCATENATED MODULE: /opt/atlassian/pipelines/agent/build/node_modules/.pnpm/cache-loader@4.1.0_webpack@4.46.0/node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"38294fbf-vue-loader-template"}!/opt/atlassian/pipelines/agent/build/node_modules/.pnpm/cache-loader@4.1.0_webpack@4.46.0/node_modules/cache-loader/dist/cjs.js??ref--12-0!/opt/atlassian/pipelines/agent/build/node_modules/.pnpm/babel-loader@8.3.0_@babel+core@7.21.4_webpack@4.46.0/node_modules/babel-loader/lib!/opt/atlassian/pipelines/agent/build/node_modules/.pnpm/vue-loader@15.10.1_cache-loader@4.1.0_css-loader@3.6.0_react-dom@16.14.0_react@16.14.0_vue-te_in2h7w4pcz7gmv74d3b5fqofg4/node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!/opt/atlassian/pipelines/agent/build/node_modules/.pnpm/cache-loader@4.1.0_webpack@4.46.0/node_modules/cache-loader/dist/cjs.js??ref--0-0!/opt/atlassian/pipelines/agent/build/node_modules/.pnpm/vue-loader@15.10.1_cache-loader@4.1.0_css-loader@3.6.0_react-dom@16.14.0_react@16.14.0_vue-te_in2h7w4pcz7gmv74d3b5fqofg4/node_modules/vue-loader/lib??vue-loader-options!./src/components/RevolugoElements/LangSwitchButton/LangSwitchButton.vue?vue&type=template&id=103494b6&
1130
+ // CONCATENATED MODULE: /opt/atlassian/pipelines/agent/build/node_modules/.pnpm/cache-loader@4.1.0_webpack@4.46.0/node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"38294fbf-vue-loader-template"}!/opt/atlassian/pipelines/agent/build/node_modules/.pnpm/cache-loader@4.1.0_webpack@4.46.0/node_modules/cache-loader/dist/cjs.js??ref--12-0!/opt/atlassian/pipelines/agent/build/node_modules/.pnpm/babel-loader@8.3.0_@babel+core@7.21.4_webpack@4.46.0/node_modules/babel-loader/lib!/opt/atlassian/pipelines/agent/build/node_modules/.pnpm/vue-loader@15.10.1_cache-loader@4.1.0_css-loader@3.6.0_react-dom@16.14.0_react@16.14.0_vue-te_in2h7w4pcz7gmv74d3b5fqofg4/node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!/opt/atlassian/pipelines/agent/build/node_modules/.pnpm/cache-loader@4.1.0_webpack@4.46.0/node_modules/cache-loader/dist/cjs.js??ref--0-0!/opt/atlassian/pipelines/agent/build/node_modules/.pnpm/vue-loader@15.10.1_cache-loader@4.1.0_css-loader@3.6.0_react-dom@16.14.0_react@16.14.0_vue-te_in2h7w4pcz7gmv74d3b5fqofg4/node_modules/vue-loader/lib??vue-loader-options!./src/components/RevolugoElements/CancellationPoliciesList/CancellationPoliciesList.vue?vue&type=template&id=35f9e9c9&
66
1131
  var render = function render() {
67
1132
  var _vm = this,
68
1133
  _c = _vm._self._c,
69
1134
  _setup = _vm._self._setupProxy;
70
- return _c('v-menu', {
71
- staticClass: "z-index-over-map",
72
- attrs: {
73
- "offset-y": "",
74
- "attach": "",
75
- "right": _vm.modalDirection === 'right',
76
- "left": _vm.modalDirection === 'left',
77
- "eager": ""
78
- },
79
- scopedSlots: _vm._u([{
80
- key: "activator",
81
- fn: function ({
82
- on,
83
- attrs
84
- }) {
85
- return [_c('v-btn', _vm._g(_vm._b({
86
- attrs: {
87
- "color": "primary",
88
- "outlined": "",
89
- "dark": "",
90
- "small": ""
91
- }
92
- }, 'v-btn', attrs, false), on), [_vm._v(" " + _vm._s(_vm.selectedLang.substring(0, 2)) + " "), _c('v-icon', {
93
- staticClass: "ml-2"
94
- }, [_vm._v(" fa fa-caret-down ")])], 1)];
1135
+ return _c('ul', [_vm._l(_vm.sanitizedCancellationPolicies, function (cancellationPolicy, index) {
1136
+ return [_c('section', {
1137
+ key: index
1138
+ }, [index === 0 && cancellationPolicy.penaltyPercentage === 0 ? [_c('li', {
1139
+ staticClass: "success--text text--lighten-1",
1140
+ domProps: {
1141
+ "innerHTML": _vm._s(_vm.$t('CancellationPoliciesList.freeCancellationBefore', {
1142
+ date: _vm.formatDate(cancellationPolicy.dateTo)
1143
+ }))
95
1144
  }
96
- }])
97
- }, [_c('v-list', [_c('p', {
98
- staticClass: "mb-2 px-3 text--secondary"
99
- }, [_vm._v(" " + _vm._s(_vm.$t('title')) + " ")]), _vm._l(_vm.locales, function (locale) {
100
- return _c('v-list-item', {
101
- key: locale.name,
102
- class: _vm.selectedLang === locale.code ? 'grey lighten-4' : null,
103
- attrs: {
104
- "link": "",
105
- "dense": ""
106
- },
107
- on: {
108
- "click": function ($event) {
109
- return _vm.onItemClick(locale.code);
110
- }
1145
+ })] : cancellationPolicy.penaltyPercentage === 0 ? [_c('li', {
1146
+ staticClass: "success--text text--lighten-1",
1147
+ domProps: {
1148
+ "innerHTML": _vm._s(_vm.$t('CancellationPoliciesList.freeCancellationBetween', {
1149
+ from: _vm.formatDate(cancellationPolicy.dateFrom),
1150
+ to: _vm.formatDate(cancellationPolicy.dateTo)
1151
+ }))
111
1152
  }
112
- }, [_c('span', {
113
- class: _vm.selectedLang === locale.code ? 'font-weight-bold' : ''
114
- }, [_vm._v(" " + _vm._s(locale.name) + " " + _vm._s(locale.icon) + " ")])]);
115
- })], 2)], 1);
1153
+ })] : cancellationPolicy.penaltyPercentage === 100 && index === _vm.cancellationPolicies.length - 1 ? [_c('li', {
1154
+ domProps: {
1155
+ "innerHTML": _vm._s(_vm.$t('CancellationPoliciesList.nonRefundableAfter', {
1156
+ from: _vm.formatDate(cancellationPolicy.dateFrom)
1157
+ }))
1158
+ }
1159
+ })] : [_c('li', {
1160
+ domProps: {
1161
+ "innerHTML": _vm._s(_vm.$t('CancellationPoliciesList.partiallyRefundableCondition', {
1162
+ percentage: cancellationPolicy.penaltyPercentage,
1163
+ from: _vm.formatDate(cancellationPolicy.dateFrom),
1164
+ to: _vm.formatDate(cancellationPolicy.dateTo)
1165
+ }))
1166
+ }
1167
+ })]], 2)];
1168
+ }), _vm.sanitizedCancellationPolicies[_vm.sanitizedCancellationPolicies.length - 1].penaltyPercentage !== 100 ? [_c('li', {
1169
+ domProps: {
1170
+ "innerHTML": _vm._s(_vm.$t('CancellationPoliciesList.nonRefundableAfter', {
1171
+ from: _vm.formatDate(_vm.sanitizedCancellationPolicies[_vm.sanitizedCancellationPolicies.length - 1].dateTo)
1172
+ }))
1173
+ }
1174
+ })] : _vm._e()], 2);
116
1175
  };
117
1176
  var staticRenderFns = [];
118
1177
 
119
- // CONCATENATED MODULE: ./src/components/RevolugoElements/LangSwitchButton/LangSwitchButton.vue?vue&type=template&id=103494b6&
1178
+ // CONCATENATED MODULE: ./src/components/RevolugoElements/CancellationPoliciesList/CancellationPoliciesList.vue?vue&type=template&id=35f9e9c9&
120
1179
 
121
- // EXTERNAL MODULE: ./src/config/constants.ts
122
- var constants = __webpack_require__("946e");
1180
+ // EXTERNAL MODULE: /opt/atlassian/pipelines/agent/build/libs/cancellation-policies/dist/index.js
1181
+ var dist = __webpack_require__("05ef");
123
1182
 
124
- // EXTERNAL MODULE: /opt/atlassian/pipelines/agent/build/libs/common/dist/index.js + 22 modules
125
- var dist = __webpack_require__("f6d7");
1183
+ // EXTERNAL MODULE: /opt/atlassian/pipelines/agent/build/node_modules/.pnpm/camelcase-keys@7.0.2/node_modules/camelcase-keys/index.js
1184
+ var camelcase_keys = __webpack_require__("cbfb");
1185
+ var camelcase_keys_default = /*#__PURE__*/__webpack_require__.n(camelcase_keys);
1186
+
1187
+ // EXTERNAL MODULE: /opt/atlassian/pipelines/agent/build/node_modules/.pnpm/dayjs@1.11.7/node_modules/dayjs/dayjs.min.js
1188
+ var dayjs_min = __webpack_require__("1eef");
1189
+ var dayjs_min_default = /*#__PURE__*/__webpack_require__.n(dayjs_min);
126
1190
 
127
1191
  // EXTERNAL MODULE: /opt/atlassian/pipelines/agent/build/node_modules/.pnpm/vue@2.7.14_patch_hash=eabltful76efbfyd536dwkbr5a/node_modules/vue/dist/vue.runtime.esm.js
128
1192
  var vue_runtime_esm = __webpack_require__("ad27");
@@ -130,56 +1194,96 @@ var vue_runtime_esm = __webpack_require__("ad27");
130
1194
  // EXTERNAL MODULE: ./src/mixins/locale-async-loader.ts + 1 modules
131
1195
  var locale_async_loader = __webpack_require__("6337");
132
1196
 
133
- // EXTERNAL MODULE: ./src/components/RevolugoElements/LangSwitchButton/LangSwitchButton.props.ts
134
- var LangSwitchButton_props = __webpack_require__("4a48");
1197
+ // EXTERNAL MODULE: ./src/components/RevolugoElements/CancellationPoliciesList/CancellationPoliciesList.props.ts
1198
+ var CancellationPoliciesList_props = __webpack_require__("5b96");
135
1199
 
136
- // CONCATENATED MODULE: /opt/atlassian/pipelines/agent/build/node_modules/.pnpm/cache-loader@4.1.0_webpack@4.46.0/node_modules/cache-loader/dist/cjs.js??ref--13-0!/opt/atlassian/pipelines/agent/build/node_modules/.pnpm/babel-loader@8.3.0_@babel+core@7.21.4_webpack@4.46.0/node_modules/babel-loader/lib!/opt/atlassian/pipelines/agent/build/node_modules/.pnpm/ts-loader@6.2.2_typescript@4.7.4/node_modules/ts-loader??ref--13-2!./src/components/RevolugoElements/LangSwitchButton/LangSwitchButton.ts?vue&type=script&lang=ts&
137
- function cov_76jb75l6i() {
138
- var path = "/opt/atlassian/pipelines/agent/build/libs/elements/core/src/components/RevolugoElements/LangSwitchButton/LangSwitchButton.ts";
139
- var hash = "f4e6b4ea73a879991e905d71cc2127fd0ff9a9f4";
1200
+ // CONCATENATED MODULE: /opt/atlassian/pipelines/agent/build/node_modules/.pnpm/cache-loader@4.1.0_webpack@4.46.0/node_modules/cache-loader/dist/cjs.js??ref--13-0!/opt/atlassian/pipelines/agent/build/node_modules/.pnpm/babel-loader@8.3.0_@babel+core@7.21.4_webpack@4.46.0/node_modules/babel-loader/lib!/opt/atlassian/pipelines/agent/build/node_modules/.pnpm/ts-loader@6.2.2_typescript@4.7.4/node_modules/ts-loader??ref--13-2!./src/components/RevolugoElements/CancellationPoliciesList/CancellationPoliciesList.ts?vue&type=script&lang=ts&
1201
+ function cov_2cflbycrzr() {
1202
+ var path = "/opt/atlassian/pipelines/agent/build/libs/elements/core/src/components/RevolugoElements/CancellationPoliciesList/CancellationPoliciesList.ts";
1203
+ var hash = "ba816124a95aa3930c41f3193e80052b04dab9ee";
140
1204
  var global = new Function("return this")();
141
1205
  var gcv = "__coverage__";
142
1206
  var coverageData = {
143
- path: "/opt/atlassian/pipelines/agent/build/libs/elements/core/src/components/RevolugoElements/LangSwitchButton/LangSwitchButton.ts",
1207
+ path: "/opt/atlassian/pipelines/agent/build/libs/elements/core/src/components/RevolugoElements/CancellationPoliciesList/CancellationPoliciesList.ts",
144
1208
  statementMap: {
145
1209
  "0": {
146
1210
  start: {
147
- line: 12,
1211
+ line: 13,
148
1212
  column: 12
149
1213
  },
150
1214
  end: {
151
- line: 12,
152
- column: 54
1215
+ line: 20,
1216
+ column: 13
153
1217
  }
154
1218
  },
155
1219
  "1": {
156
1220
  start: {
157
- line: 16,
158
- column: 12
1221
+ line: 14,
1222
+ column: 16
159
1223
  },
160
1224
  end: {
161
- line: 16,
162
- column: 90
1225
+ line: 19,
1226
+ column: 17
163
1227
  }
164
1228
  },
165
1229
  "2": {
1230
+ start: {
1231
+ line: 15,
1232
+ column: 20
1233
+ },
1234
+ end: {
1235
+ line: 15,
1236
+ column: 65
1237
+ }
1238
+ },
1239
+ "3": {
1240
+ start: {
1241
+ line: 18,
1242
+ column: 20
1243
+ },
1244
+ end: {
1245
+ line: 18,
1246
+ column: 30
1247
+ }
1248
+ },
1249
+ "4": {
166
1250
  start: {
167
1251
  line: 21,
168
1252
  column: 12
169
1253
  },
170
1254
  end: {
171
1255
  line: 21,
172
- column: 71
1256
+ column: 45
173
1257
  }
174
1258
  },
175
- "3": {
1259
+ "5": {
176
1260
  start: {
177
- line: 26,
1261
+ line: 24,
178
1262
  column: 12
179
1263
  },
180
1264
  end: {
1265
+ line: 35,
1266
+ column: 16
1267
+ }
1268
+ },
1269
+ "6": {
1270
+ start: {
181
1271
  line: 26,
182
- column: 34
1272
+ column: 86
1273
+ },
1274
+ end: {
1275
+ line: 32,
1276
+ column: 17
1277
+ }
1278
+ },
1279
+ "7": {
1280
+ start: {
1281
+ line: 40,
1282
+ column: 12
1283
+ },
1284
+ end: {
1285
+ line: 46,
1286
+ column: 15
183
1287
  }
184
1288
  }
185
1289
  },
@@ -188,172 +1292,176 @@ function cov_76jb75l6i() {
188
1292
  name: "(anonymous_0)",
189
1293
  decl: {
190
1294
  start: {
191
- line: 11,
1295
+ line: 12,
192
1296
  column: 8
193
1297
  },
194
1298
  end: {
195
- line: 11,
1299
+ line: 12,
196
1300
  column: 9
197
1301
  }
198
1302
  },
199
1303
  loc: {
200
1304
  start: {
201
- line: 11,
202
- column: 18
1305
+ line: 12,
1306
+ column: 42
203
1307
  },
204
1308
  end: {
205
- line: 13,
1309
+ line: 22,
206
1310
  column: 9
207
1311
  }
208
1312
  },
209
- line: 11
1313
+ line: 12
210
1314
  },
211
1315
  "1": {
212
1316
  name: "(anonymous_1)",
213
1317
  decl: {
214
1318
  start: {
215
- line: 14,
1319
+ line: 23,
216
1320
  column: 8
217
1321
  },
218
1322
  end: {
219
- line: 14,
1323
+ line: 23,
220
1324
  column: 9
221
1325
  }
222
1326
  },
223
1327
  loc: {
224
1328
  start: {
225
- line: 14,
226
- column: 23
1329
+ line: 23,
1330
+ column: 40
227
1331
  },
228
1332
  end: {
229
- line: 17,
1333
+ line: 36,
230
1334
  column: 9
231
1335
  }
232
1336
  },
233
- line: 14
1337
+ line: 23
234
1338
  },
235
1339
  "2": {
236
1340
  name: "(anonymous_2)",
237
1341
  decl: {
238
1342
  start: {
239
- line: 20,
240
- column: 8
1343
+ line: 26,
1344
+ column: 79
241
1345
  },
242
1346
  end: {
243
- line: 20,
244
- column: 9
1347
+ line: 26,
1348
+ column: 80
245
1349
  }
246
1350
  },
247
1351
  loc: {
248
1352
  start: {
249
- line: 20,
250
- column: 23
1353
+ line: 26,
1354
+ column: 86
251
1355
  },
252
1356
  end: {
253
- line: 22,
254
- column: 9
1357
+ line: 32,
1358
+ column: 17
255
1359
  }
256
1360
  },
257
- line: 20
1361
+ line: 26
258
1362
  },
259
1363
  "3": {
260
1364
  name: "(anonymous_3)",
261
1365
  decl: {
262
1366
  start: {
263
- line: 25,
1367
+ line: 39,
264
1368
  column: 8
265
1369
  },
266
1370
  end: {
267
- line: 25,
1371
+ line: 39,
268
1372
  column: 9
269
1373
  }
270
1374
  },
271
1375
  loc: {
272
1376
  start: {
273
- line: 25,
274
- column: 26
1377
+ line: 39,
1378
+ column: 24
275
1379
  },
276
1380
  end: {
277
- line: 27,
1381
+ line: 47,
278
1382
  column: 9
279
1383
  }
280
1384
  },
281
- line: 25
1385
+ line: 39
282
1386
  }
283
1387
  },
284
1388
  branchMap: {
285
1389
  "0": {
286
1390
  loc: {
287
1391
  start: {
288
- line: 16,
289
- column: 19
1392
+ line: 13,
1393
+ column: 12
290
1394
  },
291
1395
  end: {
292
- line: 16,
293
- column: 89
1396
+ line: 20,
1397
+ column: 13
294
1398
  }
295
1399
  },
296
- type: "cond-expr",
1400
+ type: "if",
297
1401
  locations: [{
298
1402
  start: {
299
- line: 16,
300
- column: 71
1403
+ line: 13,
1404
+ column: 12
301
1405
  },
302
1406
  end: {
303
- line: 16,
304
- column: 73
1407
+ line: 20,
1408
+ column: 13
305
1409
  }
306
1410
  }, {
307
1411
  start: {
308
- line: 16,
309
- column: 76
1412
+ line: undefined,
1413
+ column: undefined
310
1414
  },
311
1415
  end: {
312
- line: 16,
313
- column: 89
1416
+ line: undefined,
1417
+ column: undefined
314
1418
  }
315
1419
  }],
316
- line: 16
1420
+ line: 13
317
1421
  },
318
1422
  "1": {
319
1423
  loc: {
320
1424
  start: {
321
- line: 16,
322
- column: 19
1425
+ line: 25,
1426
+ column: 33
323
1427
  },
324
1428
  end: {
325
- line: 16,
326
- column: 68
1429
+ line: 25,
1430
+ column: 69
327
1431
  }
328
1432
  },
329
1433
  type: "binary-expr",
330
1434
  locations: [{
331
1435
  start: {
332
- line: 16,
333
- column: 19
1436
+ line: 25,
1437
+ column: 33
334
1438
  },
335
1439
  end: {
336
- line: 16,
337
- column: 51
1440
+ line: 25,
1441
+ column: 49
338
1442
  }
339
1443
  }, {
340
1444
  start: {
341
- line: 16,
342
- column: 55
1445
+ line: 25,
1446
+ column: 53
343
1447
  },
344
1448
  end: {
345
- line: 16,
346
- column: 68
1449
+ line: 25,
1450
+ column: 69
347
1451
  }
348
1452
  }],
349
- line: 16
1453
+ line: 25
350
1454
  }
351
1455
  },
352
1456
  s: {
353
1457
  "0": 0,
354
1458
  "1": 0,
355
1459
  "2": 0,
356
- "3": 0
1460
+ "3": 0,
1461
+ "4": 0,
1462
+ "5": 0,
1463
+ "6": 0,
1464
+ "7": 0
357
1465
  },
358
1466
  f: {
359
1467
  "0": 0,
@@ -366,7 +1474,7 @@ function cov_76jb75l6i() {
366
1474
  "1": [0, 0]
367
1475
  },
368
1476
  _coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
369
- hash: "f4e6b4ea73a879991e905d71cc2127fd0ff9a9f4"
1477
+ hash: "ba816124a95aa3930c41f3193e80052b04dab9ee"
370
1478
  };
371
1479
  var coverage = global[gcv] || (global[gcv] = {});
372
1480
  if (!coverage[path] || coverage[path].hash !== hash) {
@@ -375,75 +1483,85 @@ function cov_76jb75l6i() {
375
1483
  var actualCoverage = coverage[path];
376
1484
  {
377
1485
  // @ts-ignore
378
- cov_76jb75l6i = function () {
1486
+ cov_2cflbycrzr = function () {
379
1487
  return actualCoverage;
380
1488
  };
381
1489
  }
382
1490
  return actualCoverage;
383
1491
  }
384
- cov_76jb75l6i();
1492
+ cov_2cflbycrzr();
1493
+
385
1494
 
386
1495
 
387
1496
 
388
1497
 
389
1498
 
390
- /* harmony default export */ var LangSwitchButtonvue_type_script_lang_ts_ = (vue_runtime_esm["a" /* default */].extend({
391
- name: 'LangSwitchButton',
392
- mixins: [Object(locale_async_loader["a" /* localeAsyncLoaderMixin */])("components/RevolugoElements/LangSwitchButton")],
393
- props: LangSwitchButton_props["a" /* langSwitchButtonProps */],
1499
+ /* harmony default export */ var CancellationPoliciesListvue_type_script_lang_ts_ = (vue_runtime_esm["a" /* default */].extend({
1500
+ name: 'CancellationPoliciesList',
1501
+ mixins: [Object(locale_async_loader["a" /* localeAsyncLoaderMixin */])("components/RevolugoElements/CancellationPoliciesList")],
1502
+ props: CancellationPoliciesList_props["a" /* cancellationPoliciesListProps */],
394
1503
  computed: {
395
- locales() {
396
- cov_76jb75l6i().f[0]++;
397
- cov_76jb75l6i().s[0]++;
398
- return Object.values(dist["f" /* LOCALES_DESCRIPTION */]);
399
- },
400
- selectedLang() {
401
- cov_76jb75l6i().f[1]++;
402
- var _a;
403
- cov_76jb75l6i().s[1]++;
404
- return (cov_76jb75l6i().b[1][0]++, (_a = this.config.lang) !== null) && (cov_76jb75l6i().b[1][1]++, _a !== void 0) ? (cov_76jb75l6i().b[0][0]++, _a) : (cov_76jb75l6i().b[0][1]++, dist["g" /* Locales */].EN_US);
405
- }
406
- },
407
- watch: {
408
- selectedLang() {
409
- cov_76jb75l6i().f[2]++;
410
- cov_76jb75l6i().s[2]++;
411
- this.$eventBus.$emit(constants["d" /* EVENTS */].LANG_UPDATE, this.config.lang);
1504
+ parsedInputCancellationPolicies() {
1505
+ cov_2cflbycrzr().f[0]++;
1506
+ cov_2cflbycrzr().s[0]++;
1507
+ if (typeof this.cancellationPolicies === 'string') {
1508
+ cov_2cflbycrzr().b[0][0]++;
1509
+ cov_2cflbycrzr().s[1]++;
1510
+ try {
1511
+ cov_2cflbycrzr().s[2]++;
1512
+ return JSON.parse(this.cancellationPolicies);
1513
+ } catch {
1514
+ cov_2cflbycrzr().s[3]++;
1515
+ return [];
1516
+ }
1517
+ } else {
1518
+ cov_2cflbycrzr().b[0][1]++;
1519
+ }
1520
+ cov_2cflbycrzr().s[4]++;
1521
+ return this.cancellationPolicies;
1522
+ },
1523
+ sanitizedCancellationPolicies() {
1524
+ cov_2cflbycrzr().f[1]++;
1525
+ cov_2cflbycrzr().s[5]++;
1526
+ return camelcase_keys_default()(Object(dist["b" /* sanitizeCancellationPolicies */])({
1527
+ bookingDatetime: (cov_2cflbycrzr().b[1][0]++, this.initialDate) || (cov_2cflbycrzr().b[1][1]++, dayjs_min_default()().format()),
1528
+ cancellationPolicies: this.parsedInputCancellationPolicies.map(cp => {
1529
+ cov_2cflbycrzr().f[2]++;
1530
+ cov_2cflbycrzr().s[6]++;
1531
+ return {
1532
+ /* eslint-disable camelcase */
1533
+ date_from: cp.dateFrom,
1534
+ date_to: cp.dateTo,
1535
+ penalty_percentage: cp.penaltyPercentage
1536
+ /* eslint-enable camelcase */
1537
+ };
1538
+ }),
1539
+
1540
+ checkInDate: this.checkInDate,
1541
+ timezone: this.timezone
1542
+ }));
412
1543
  }
413
1544
  },
414
1545
  methods: {
415
- onItemClick(item) {
416
- cov_76jb75l6i().f[3]++;
417
- cov_76jb75l6i().s[3]++;
418
- this.updateLang(item);
1546
+ formatDate(str) {
1547
+ cov_2cflbycrzr().f[3]++;
1548
+ cov_2cflbycrzr().s[7]++;
1549
+ return new Date(str).toLocaleTimeString(this.$i18n.locale, {
1550
+ year: 'numeric',
1551
+ month: 'long',
1552
+ day: 'numeric',
1553
+ hour: '2-digit',
1554
+ minute: '2-digit'
1555
+ });
419
1556
  }
420
1557
  }
421
1558
  }));
422
- // CONCATENATED MODULE: ./src/components/RevolugoElements/LangSwitchButton/LangSwitchButton.ts?vue&type=script&lang=ts&
423
- /* harmony default export */ var LangSwitchButton_LangSwitchButtonvue_type_script_lang_ts_ = (LangSwitchButtonvue_type_script_lang_ts_);
1559
+ // CONCATENATED MODULE: ./src/components/RevolugoElements/CancellationPoliciesList/CancellationPoliciesList.ts?vue&type=script&lang=ts&
1560
+ /* harmony default export */ var CancellationPoliciesList_CancellationPoliciesListvue_type_script_lang_ts_ = (CancellationPoliciesListvue_type_script_lang_ts_);
424
1561
  // EXTERNAL MODULE: /opt/atlassian/pipelines/agent/build/node_modules/.pnpm/vue-loader@15.10.1_cache-loader@4.1.0_css-loader@3.6.0_react-dom@16.14.0_react@16.14.0_vue-te_in2h7w4pcz7gmv74d3b5fqofg4/node_modules/vue-loader/lib/runtime/componentNormalizer.js
425
1562
  var componentNormalizer = __webpack_require__("f0a0");
426
1563
 
427
- // EXTERNAL MODULE: /opt/atlassian/pipelines/agent/build/node_modules/.pnpm/github.com+adhimos+vuetify-loader@3649a32836cbd14daf4400733f35df2946fe69c7_vue-template-compi_f774ocvuwakfhkezdbjczje4tu/node_modules/vuetify-loader/lib/runtime/installComponents.js
428
- var installComponents = __webpack_require__("61eb");
429
- var installComponents_default = /*#__PURE__*/__webpack_require__.n(installComponents);
430
-
431
- // EXTERNAL MODULE: /opt/atlassian/pipelines/agent/build/node_modules/.pnpm/vuetify@2.6.14_patch_hash=7jnfvumgd57swvvwptudmj6sgy_vue@2.7.14/node_modules/vuetify/lib/components/VBtn/VBtn.js
432
- var VBtn = __webpack_require__("0a65");
433
-
434
- // EXTERNAL MODULE: /opt/atlassian/pipelines/agent/build/node_modules/.pnpm/vuetify@2.6.14_patch_hash=7jnfvumgd57swvvwptudmj6sgy_vue@2.7.14/node_modules/vuetify/lib/components/VIcon/VIcon.js
435
- var VIcon = __webpack_require__("fbf8");
436
-
437
- // EXTERNAL MODULE: /opt/atlassian/pipelines/agent/build/node_modules/.pnpm/vuetify@2.6.14_patch_hash=7jnfvumgd57swvvwptudmj6sgy_vue@2.7.14/node_modules/vuetify/lib/components/VList/VList.js
438
- var VList = __webpack_require__("c533");
439
-
440
- // EXTERNAL MODULE: /opt/atlassian/pipelines/agent/build/node_modules/.pnpm/vuetify@2.6.14_patch_hash=7jnfvumgd57swvvwptudmj6sgy_vue@2.7.14/node_modules/vuetify/lib/components/VList/VListItem.js
441
- var VListItem = __webpack_require__("dc7f");
442
-
443
- // EXTERNAL MODULE: /opt/atlassian/pipelines/agent/build/node_modules/.pnpm/vuetify@2.6.14_patch_hash=7jnfvumgd57swvvwptudmj6sgy_vue@2.7.14/node_modules/vuetify/lib/components/VMenu/VMenu.js
444
- var VMenu = __webpack_require__("f119");
445
-
446
- // CONCATENATED MODULE: ./src/components/RevolugoElements/LangSwitchButton/LangSwitchButton.vue
1564
+ // CONCATENATED MODULE: ./src/components/RevolugoElements/CancellationPoliciesList/CancellationPoliciesList.vue
447
1565
 
448
1566
 
449
1567
 
@@ -452,7 +1570,7 @@ var VMenu = __webpack_require__("f119");
452
1570
  /* normalize component */
453
1571
 
454
1572
  var component = Object(componentNormalizer["a" /* default */])(
455
- LangSwitchButton_LangSwitchButtonvue_type_script_lang_ts_,
1573
+ CancellationPoliciesList_CancellationPoliciesListvue_type_script_lang_ts_,
456
1574
  render,
457
1575
  staticRenderFns,
458
1576
  false,
@@ -462,58 +1580,1676 @@ var component = Object(componentNormalizer["a" /* default */])(
462
1580
  ,true
463
1581
  )
464
1582
 
465
- /* harmony default export */ var LangSwitchButton = __webpack_exports__["a"] = (component.exports);
466
-
467
- /* vuetify-loader */
468
-
469
-
470
-
1583
+ /* harmony default export */ var CancellationPoliciesList = __webpack_exports__["a"] = (component.exports);
471
1584
 
1585
+ /***/ }),
472
1586
 
1587
+ /***/ "5b96":
1588
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
473
1589
 
474
- installComponents_default()(component, {VBtn: VBtn["a" /* default */],VIcon: VIcon["a" /* default */],VList: VList["a" /* default */],VListItem: VListItem["a" /* default */],VMenu: VMenu["a" /* default */]})
1590
+ "use strict";
1591
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return cancellationPoliciesListProps; });
1592
+ function cov_1sh18mvyl9() {
1593
+ var path = "/opt/atlassian/pipelines/agent/build/libs/elements/core/src/components/RevolugoElements/CancellationPoliciesList/CancellationPoliciesList.props.ts";
1594
+ var hash = "6bb8f7144431d66e79f442ad870f35b536b15bbb";
1595
+ var global = new Function("return this")();
1596
+ var gcv = "__coverage__";
1597
+ var coverageData = {
1598
+ path: "/opt/atlassian/pipelines/agent/build/libs/elements/core/src/components/RevolugoElements/CancellationPoliciesList/CancellationPoliciesList.props.ts",
1599
+ statementMap: {
1600
+ "0": {
1601
+ start: {
1602
+ line: 1,
1603
+ column: 45
1604
+ },
1605
+ end: {
1606
+ line: 17,
1607
+ column: 1
1608
+ }
1609
+ }
1610
+ },
1611
+ fnMap: {},
1612
+ branchMap: {},
1613
+ s: {
1614
+ "0": 0
1615
+ },
1616
+ f: {},
1617
+ b: {},
1618
+ _coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
1619
+ hash: "6bb8f7144431d66e79f442ad870f35b536b15bbb"
1620
+ };
1621
+ var coverage = global[gcv] || (global[gcv] = {});
1622
+ if (!coverage[path] || coverage[path].hash !== hash) {
1623
+ coverage[path] = coverageData;
1624
+ }
1625
+ var actualCoverage = coverage[path];
1626
+ {
1627
+ // @ts-ignore
1628
+ cov_1sh18mvyl9 = function () {
1629
+ return actualCoverage;
1630
+ };
1631
+ }
1632
+ return actualCoverage;
1633
+ }
1634
+ cov_1sh18mvyl9();
1635
+ const cancellationPoliciesListProps = (cov_1sh18mvyl9().s[0]++, {
1636
+ cancellationPolicies: {
1637
+ required: true,
1638
+ type: [String, Array]
1639
+ },
1640
+ checkInDate: {
1641
+ required: true,
1642
+ type: String
1643
+ },
1644
+ initialDate: {
1645
+ type: String
1646
+ },
1647
+ timezone: {
1648
+ required: true,
1649
+ type: String
1650
+ }
1651
+ });
1652
+
1653
+ /***/ }),
1654
+
1655
+ /***/ "9720":
1656
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
1657
+
1658
+ "use strict";
1659
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return cancellationPoliciesBadgeProps; });
1660
+ /* harmony import */ var _CancellationPoliciesList_CancellationPoliciesList_props__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("5b96");
1661
+ function cov_2hr4xt02yd() {
1662
+ var path = "/opt/atlassian/pipelines/agent/build/libs/elements/core/src/components/RevolugoElements/CancellationPoliciesBadge/CancellationPoliciesBadge.props.ts";
1663
+ var hash = "bd770b6d34809454f62b6079a3fecac4f8ee0deb";
1664
+ var global = new Function("return this")();
1665
+ var gcv = "__coverage__";
1666
+ var coverageData = {
1667
+ path: "/opt/atlassian/pipelines/agent/build/libs/elements/core/src/components/RevolugoElements/CancellationPoliciesBadge/CancellationPoliciesBadge.props.ts",
1668
+ statementMap: {
1669
+ "0": {
1670
+ start: {
1671
+ line: 2,
1672
+ column: 46
1673
+ },
1674
+ end: {
1675
+ line: 5,
1676
+ column: 1
1677
+ }
1678
+ }
1679
+ },
1680
+ fnMap: {},
1681
+ branchMap: {},
1682
+ s: {
1683
+ "0": 0
1684
+ },
1685
+ f: {},
1686
+ b: {},
1687
+ _coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
1688
+ hash: "bd770b6d34809454f62b6079a3fecac4f8ee0deb"
1689
+ };
1690
+ var coverage = global[gcv] || (global[gcv] = {});
1691
+ if (!coverage[path] || coverage[path].hash !== hash) {
1692
+ coverage[path] = coverageData;
1693
+ }
1694
+ var actualCoverage = coverage[path];
1695
+ {
1696
+ // @ts-ignore
1697
+ cov_2hr4xt02yd = function () {
1698
+ return actualCoverage;
1699
+ };
1700
+ }
1701
+ return actualCoverage;
1702
+ }
1703
+ cov_2hr4xt02yd();
1704
+
1705
+ const cancellationPoliciesBadgeProps = (cov_2hr4xt02yd().s[0]++, {
1706
+ ..._CancellationPoliciesList_CancellationPoliciesList_props__WEBPACK_IMPORTED_MODULE_0__[/* cancellationPoliciesListProps */ "a"],
1707
+ tagClasses: {
1708
+ type: String
1709
+ }
1710
+ });
1711
+
1712
+ /***/ }),
1713
+
1714
+ /***/ "9ed2":
1715
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
1716
+
1717
+ "use strict";
1718
+
1719
+ // UNUSED EXPORTS: props
1720
+
1721
+ // CONCATENATED MODULE: /opt/atlassian/pipelines/agent/build/node_modules/.pnpm/cache-loader@4.1.0_webpack@4.46.0/node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"38294fbf-vue-loader-template"}!/opt/atlassian/pipelines/agent/build/node_modules/.pnpm/cache-loader@4.1.0_webpack@4.46.0/node_modules/cache-loader/dist/cjs.js??ref--12-0!/opt/atlassian/pipelines/agent/build/node_modules/.pnpm/babel-loader@8.3.0_@babel+core@7.21.4_webpack@4.46.0/node_modules/babel-loader/lib!/opt/atlassian/pipelines/agent/build/node_modules/.pnpm/vue-loader@15.10.1_cache-loader@4.1.0_css-loader@3.6.0_react-dom@16.14.0_react@16.14.0_vue-te_in2h7w4pcz7gmv74d3b5fqofg4/node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!/opt/atlassian/pipelines/agent/build/node_modules/.pnpm/cache-loader@4.1.0_webpack@4.46.0/node_modules/cache-loader/dist/cjs.js??ref--0-0!/opt/atlassian/pipelines/agent/build/node_modules/.pnpm/vue-loader@15.10.1_cache-loader@4.1.0_css-loader@3.6.0_react-dom@16.14.0_react@16.14.0_vue-te_in2h7w4pcz7gmv74d3b5fqofg4/node_modules/vue-loader/lib??vue-loader-options!./src/components/ui/BTag/BTag.vue?vue&type=template&id=06038fd6&scoped=true&
1722
+ var render = function render() {
1723
+ var _vm = this,
1724
+ _c = _vm._self._c,
1725
+ _setup = _vm._self._setupProxy;
1726
+ return _c('span', {
1727
+ staticClass: "d-inline-block"
1728
+ }, [_c('v-tooltip', {
1729
+ attrs: {
1730
+ "attach": _vm.$parent.$el,
1731
+ "color": "grey darken-3",
1732
+ "content-class": "text-left",
1733
+ "disabled": !_vm.isTooltipEnabled,
1734
+ "top": ""
1735
+ },
1736
+ scopedSlots: _vm._u([{
1737
+ key: "activator",
1738
+ fn: function ({
1739
+ on,
1740
+ attrs
1741
+ }) {
1742
+ return [_c('v-chip', _vm._g(_vm._b({
1743
+ staticClass: "d-inline-block",
1744
+ attrs: {
1745
+ "label": "",
1746
+ "small": !_vm.regular
1747
+ }
1748
+ }, 'v-chip', {
1749
+ ...attrs,
1750
+ ..._vm.$attrs
1751
+ }, false), on), [_vm.preIcon ? _c('v-icon', {
1752
+ attrs: {
1753
+ "left": ""
1754
+ }
1755
+ }, [_vm._v(" " + _vm._s(_vm.preIcon) + " ")]) : _vm._e(), _vm._t("default"), _vm.postIcon ? _c('v-icon', {
1756
+ staticClass: "ml-1",
1757
+ attrs: {
1758
+ "right": ""
1759
+ }
1760
+ }, [_vm._v(" " + _vm._s(_vm.postIcon) + " ")]) : _vm._e()], 2)];
1761
+ }
1762
+ }], null, true)
1763
+ }, [_vm._t("tooltipContent", function () {
1764
+ return [_vm._v(" " + _vm._s(_vm.tooltipContent) + " ")];
1765
+ })], 2)], 1);
1766
+ };
1767
+ var staticRenderFns = [];
1768
+
1769
+ // CONCATENATED MODULE: ./src/components/ui/BTag/BTag.vue?vue&type=template&id=06038fd6&scoped=true&
1770
+
1771
+ // EXTERNAL MODULE: /opt/atlassian/pipelines/agent/build/node_modules/.pnpm/vue@2.7.14_patch_hash=eabltful76efbfyd536dwkbr5a/node_modules/vue/dist/vue.runtime.esm.js
1772
+ var vue_runtime_esm = __webpack_require__("ad27");
1773
+
1774
+ // CONCATENATED MODULE: /opt/atlassian/pipelines/agent/build/node_modules/.pnpm/cache-loader@4.1.0_webpack@4.46.0/node_modules/cache-loader/dist/cjs.js??ref--13-0!/opt/atlassian/pipelines/agent/build/node_modules/.pnpm/babel-loader@8.3.0_@babel+core@7.21.4_webpack@4.46.0/node_modules/babel-loader/lib!/opt/atlassian/pipelines/agent/build/node_modules/.pnpm/ts-loader@6.2.2_typescript@4.7.4/node_modules/ts-loader??ref--13-2!./src/components/ui/BTag/BTag.ts?vue&type=script&lang=ts&
1775
+ function cov_1xvi2opjya() {
1776
+ var path = "/opt/atlassian/pipelines/agent/build/libs/elements/core/src/components/ui/BTag/BTag.ts";
1777
+ var hash = "0d3b585bef7ead7a12d97bdb04d081021b459219";
1778
+ var global = new Function("return this")();
1779
+ var gcv = "__coverage__";
1780
+ var coverageData = {
1781
+ path: "/opt/atlassian/pipelines/agent/build/libs/elements/core/src/components/ui/BTag/BTag.ts",
1782
+ statementMap: {
1783
+ "0": {
1784
+ start: {
1785
+ line: 2,
1786
+ column: 21
1787
+ },
1788
+ end: {
1789
+ line: 7,
1790
+ column: 1
1791
+ }
1792
+ },
1793
+ "1": {
1794
+ start: {
1795
+ line: 14,
1796
+ column: 12
1797
+ },
1798
+ end: {
1799
+ line: 14,
1800
+ column: 190
1801
+ }
1802
+ }
1803
+ },
1804
+ fnMap: {
1805
+ "0": {
1806
+ name: "(anonymous_0)",
1807
+ decl: {
1808
+ start: {
1809
+ line: 12,
1810
+ column: 8
1811
+ },
1812
+ end: {
1813
+ line: 12,
1814
+ column: 9
1815
+ }
1816
+ },
1817
+ loc: {
1818
+ start: {
1819
+ line: 12,
1820
+ column: 27
1821
+ },
1822
+ end: {
1823
+ line: 15,
1824
+ column: 9
1825
+ }
1826
+ },
1827
+ line: 12
1828
+ }
1829
+ },
1830
+ branchMap: {
1831
+ "0": {
1832
+ loc: {
1833
+ start: {
1834
+ line: 14,
1835
+ column: 20
1836
+ },
1837
+ end: {
1838
+ line: 14,
1839
+ column: 188
1840
+ }
1841
+ },
1842
+ type: "binary-expr",
1843
+ locations: [{
1844
+ start: {
1845
+ line: 14,
1846
+ column: 20
1847
+ },
1848
+ end: {
1849
+ line: 14,
1850
+ column: 97
1851
+ }
1852
+ }, {
1853
+ start: {
1854
+ line: 14,
1855
+ column: 101
1856
+ },
1857
+ end: {
1858
+ line: 14,
1859
+ column: 188
1860
+ }
1861
+ }],
1862
+ line: 14
1863
+ },
1864
+ "1": {
1865
+ loc: {
1866
+ start: {
1867
+ line: 14,
1868
+ column: 23
1869
+ },
1870
+ end: {
1871
+ line: 14,
1872
+ column: 96
1873
+ }
1874
+ },
1875
+ type: "cond-expr",
1876
+ locations: [{
1877
+ start: {
1878
+ line: 14,
1879
+ column: 78
1880
+ },
1881
+ end: {
1882
+ line: 14,
1883
+ column: 84
1884
+ }
1885
+ }, {
1886
+ start: {
1887
+ line: 14,
1888
+ column: 87
1889
+ },
1890
+ end: {
1891
+ line: 14,
1892
+ column: 96
1893
+ }
1894
+ }],
1895
+ line: 14
1896
+ },
1897
+ "2": {
1898
+ loc: {
1899
+ start: {
1900
+ line: 14,
1901
+ column: 23
1902
+ },
1903
+ end: {
1904
+ line: 14,
1905
+ column: 75
1906
+ }
1907
+ },
1908
+ type: "binary-expr",
1909
+ locations: [{
1910
+ start: {
1911
+ line: 14,
1912
+ column: 23
1913
+ },
1914
+ end: {
1915
+ line: 14,
1916
+ column: 58
1917
+ }
1918
+ }, {
1919
+ start: {
1920
+ line: 14,
1921
+ column: 62
1922
+ },
1923
+ end: {
1924
+ line: 14,
1925
+ column: 75
1926
+ }
1927
+ }],
1928
+ line: 14
1929
+ },
1930
+ "3": {
1931
+ loc: {
1932
+ start: {
1933
+ line: 14,
1934
+ column: 104
1935
+ },
1936
+ end: {
1937
+ line: 14,
1938
+ column: 187
1939
+ }
1940
+ },
1941
+ type: "cond-expr",
1942
+ locations: [{
1943
+ start: {
1944
+ line: 14,
1945
+ column: 169
1946
+ },
1947
+ end: {
1948
+ line: 14,
1949
+ column: 175
1950
+ }
1951
+ }, {
1952
+ start: {
1953
+ line: 14,
1954
+ column: 178
1955
+ },
1956
+ end: {
1957
+ line: 14,
1958
+ column: 187
1959
+ }
1960
+ }],
1961
+ line: 14
1962
+ },
1963
+ "4": {
1964
+ loc: {
1965
+ start: {
1966
+ line: 14,
1967
+ column: 104
1968
+ },
1969
+ end: {
1970
+ line: 14,
1971
+ column: 166
1972
+ }
1973
+ },
1974
+ type: "binary-expr",
1975
+ locations: [{
1976
+ start: {
1977
+ line: 14,
1978
+ column: 104
1979
+ },
1980
+ end: {
1981
+ line: 14,
1982
+ column: 149
1983
+ }
1984
+ }, {
1985
+ start: {
1986
+ line: 14,
1987
+ column: 153
1988
+ },
1989
+ end: {
1990
+ line: 14,
1991
+ column: 166
1992
+ }
1993
+ }],
1994
+ line: 14
1995
+ }
1996
+ },
1997
+ s: {
1998
+ "0": 0,
1999
+ "1": 0
2000
+ },
2001
+ f: {
2002
+ "0": 0
2003
+ },
2004
+ b: {
2005
+ "0": [0, 0],
2006
+ "1": [0, 0],
2007
+ "2": [0, 0],
2008
+ "3": [0, 0],
2009
+ "4": [0, 0]
2010
+ },
2011
+ _coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
2012
+ hash: "0d3b585bef7ead7a12d97bdb04d081021b459219"
2013
+ };
2014
+ var coverage = global[gcv] || (global[gcv] = {});
2015
+ if (!coverage[path] || coverage[path].hash !== hash) {
2016
+ coverage[path] = coverageData;
2017
+ }
2018
+ var actualCoverage = coverage[path];
2019
+ {
2020
+ // @ts-ignore
2021
+ cov_1xvi2opjya = function () {
2022
+ return actualCoverage;
2023
+ };
2024
+ }
2025
+ return actualCoverage;
2026
+ }
2027
+ cov_1xvi2opjya();
2028
+
2029
+ const props = (cov_1xvi2opjya().s[0]++, {
2030
+ postIcon: {
2031
+ type: String
2032
+ },
2033
+ preIcon: {
2034
+ type: String
2035
+ },
2036
+ regular: {
2037
+ type: Boolean
2038
+ },
2039
+ tooltipContent: {
2040
+ type: String
2041
+ }
2042
+ });
2043
+ /* harmony default export */ var BTagvue_type_script_lang_ts_ = (vue_runtime_esm["a" /* default */].extend({
2044
+ name: 'BTag',
2045
+ props,
2046
+ computed: {
2047
+ isTooltipEnabled() {
2048
+ cov_1xvi2opjya().f[0]++;
2049
+ var _a, _b;
2050
+ cov_1xvi2opjya().s[1]++;
2051
+ return (cov_1xvi2opjya().b[0][0]++, !!((cov_1xvi2opjya().b[2][0]++, (_a = this.tooltipContent) === null) || (cov_1xvi2opjya().b[2][1]++, _a === void 0) ? (cov_1xvi2opjya().b[1][0]++, void 0) : (cov_1xvi2opjya().b[1][1]++, _a.length))) || (cov_1xvi2opjya().b[0][1]++, !!((cov_1xvi2opjya().b[4][0]++, (_b = this.$slots['tooltipContent']) === null) || (cov_1xvi2opjya().b[4][1]++, _b === void 0) ? (cov_1xvi2opjya().b[3][0]++, void 0) : (cov_1xvi2opjya().b[3][1]++, _b.length)));
2052
+ }
2053
+ }
2054
+ }));
2055
+ // CONCATENATED MODULE: ./src/components/ui/BTag/BTag.ts?vue&type=script&lang=ts&
2056
+ /* harmony default export */ var BTag_BTagvue_type_script_lang_ts_ = (BTagvue_type_script_lang_ts_);
2057
+ // EXTERNAL MODULE: /opt/atlassian/pipelines/agent/build/node_modules/.pnpm/vue-loader@15.10.1_cache-loader@4.1.0_css-loader@3.6.0_react-dom@16.14.0_react@16.14.0_vue-te_in2h7w4pcz7gmv74d3b5fqofg4/node_modules/vue-loader/lib/runtime/componentNormalizer.js
2058
+ var componentNormalizer = __webpack_require__("f0a0");
2059
+
2060
+ // EXTERNAL MODULE: /opt/atlassian/pipelines/agent/build/node_modules/.pnpm/github.com+adhimos+vuetify-loader@3649a32836cbd14daf4400733f35df2946fe69c7_vue-template-compi_f774ocvuwakfhkezdbjczje4tu/node_modules/vuetify-loader/lib/runtime/installComponents.js
2061
+ var installComponents = __webpack_require__("61eb");
2062
+ var installComponents_default = /*#__PURE__*/__webpack_require__.n(installComponents);
2063
+
2064
+ // EXTERNAL MODULE: /opt/atlassian/pipelines/agent/build/node_modules/.pnpm/vuetify@2.6.14_patch_hash=7jnfvumgd57swvvwptudmj6sgy_vue@2.7.14/node_modules/vuetify/lib/components/VChip/VChip.js
2065
+ var VChip = __webpack_require__("dcde");
2066
+
2067
+ // EXTERNAL MODULE: /opt/atlassian/pipelines/agent/build/node_modules/.pnpm/vuetify@2.6.14_patch_hash=7jnfvumgd57swvvwptudmj6sgy_vue@2.7.14/node_modules/vuetify/lib/components/VIcon/VIcon.js
2068
+ var VIcon = __webpack_require__("fbf8");
2069
+
2070
+ // EXTERNAL MODULE: /opt/atlassian/pipelines/agent/build/node_modules/.pnpm/vuetify@2.6.14_patch_hash=7jnfvumgd57swvvwptudmj6sgy_vue@2.7.14/node_modules/vuetify/lib/components/VTooltip/VTooltip.js
2071
+ var VTooltip = __webpack_require__("9be7");
2072
+
2073
+ // CONCATENATED MODULE: ./src/components/ui/BTag/BTag.vue
2074
+
2075
+
2076
+
2077
+ function injectStyles (context) {
2078
+
2079
+ var style0 = __webpack_require__("21ba")
2080
+ if (style0.__inject__) style0.__inject__(context)
2081
+
2082
+ }
2083
+
2084
+ /* normalize component */
2085
+
2086
+ var component = Object(componentNormalizer["a" /* default */])(
2087
+ BTag_BTagvue_type_script_lang_ts_,
2088
+ render,
2089
+ staticRenderFns,
2090
+ false,
2091
+ injectStyles,
2092
+ "06038fd6",
2093
+ null
2094
+ ,true
2095
+ )
2096
+
2097
+ /* harmony default export */ var BTag = __webpack_exports__["a"] = (component.exports);
2098
+
2099
+ /* vuetify-loader */
2100
+
2101
+
2102
+
2103
+
2104
+ installComponents_default()(component, {VChip: VChip["a" /* default */],VIcon: VIcon["a" /* default */],VTooltip: VTooltip["a" /* default */]})
2105
+
2106
+
2107
+ /***/ }),
2108
+
2109
+ /***/ "c59f":
2110
+ /***/ (function(module, exports, __webpack_require__) {
2111
+
2112
+ // extracted by mini-css-extract-plugin
2113
+
2114
+ /***/ }),
2115
+
2116
+ /***/ "d406":
2117
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
2118
+
2119
+ "use strict";
2120
+
2121
+ // CONCATENATED MODULE: /opt/atlassian/pipelines/agent/build/node_modules/.pnpm/cache-loader@4.1.0_webpack@4.46.0/node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"38294fbf-vue-loader-template"}!/opt/atlassian/pipelines/agent/build/node_modules/.pnpm/cache-loader@4.1.0_webpack@4.46.0/node_modules/cache-loader/dist/cjs.js??ref--12-0!/opt/atlassian/pipelines/agent/build/node_modules/.pnpm/babel-loader@8.3.0_@babel+core@7.21.4_webpack@4.46.0/node_modules/babel-loader/lib!/opt/atlassian/pipelines/agent/build/node_modules/.pnpm/vue-loader@15.10.1_cache-loader@4.1.0_css-loader@3.6.0_react-dom@16.14.0_react@16.14.0_vue-te_in2h7w4pcz7gmv74d3b5fqofg4/node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!/opt/atlassian/pipelines/agent/build/node_modules/.pnpm/cache-loader@4.1.0_webpack@4.46.0/node_modules/cache-loader/dist/cjs.js??ref--0-0!/opt/atlassian/pipelines/agent/build/node_modules/.pnpm/vue-loader@15.10.1_cache-loader@4.1.0_css-loader@3.6.0_react-dom@16.14.0_react@16.14.0_vue-te_in2h7w4pcz7gmv74d3b5fqofg4/node_modules/vue-loader/lib??vue-loader-options!./src/components/RevolugoElements/CancellationPoliciesBadge/CancellationPoliciesBadge.vue?vue&type=template&id=52ae8436&
2122
+ var render = function render() {
2123
+ var _vm = this,
2124
+ _c = _vm._self._c,
2125
+ _setup = _vm._self._setupProxy;
2126
+ return _c('b-tag', {
2127
+ attrs: {
2128
+ "color": _vm.color,
2129
+ "outlined": !_vm.isRefundable,
2130
+ "pre-icon": _vm.preIcon,
2131
+ "text-color": !_vm.isRefundable ? undefined : 'white'
2132
+ },
2133
+ scopedSlots: _vm._u([{
2134
+ key: "tooltipContent",
2135
+ fn: function () {
2136
+ return [_c('div', [_c('b', [_vm._v(_vm._s(_vm.$t('CancellationPoliciesBadge.cancellationPolicies')))])]), _c('cancellation-policies-list', {
2137
+ attrs: {
2138
+ "cancellation-policies": _vm.sanitizedCancellationPolicies,
2139
+ "check-in-date": _vm.checkInDate,
2140
+ "initial-date": _vm.initialDate,
2141
+ "timezone": _vm.timezone
2142
+ }
2143
+ })];
2144
+ },
2145
+ proxy: true
2146
+ }])
2147
+ }, [_vm.currentCancellationPolicy.penaltyPercentage === 0 ? _c('span', [_vm._v(" " + _vm._s(_vm.$t('CancellationPoliciesBadge.freeCancellationBefore')) + " ")]) : _vm.currentCancellationPolicy.penaltyPercentage === 100 ? _c('span', [_vm._v(" " + _vm._s(_vm.$t('CancellationPoliciesBadge.nonRefundable')) + " ")]) : _c('span', [_vm._v(" " + _vm._s(_vm.$t('CancellationPoliciesBadge.partiallyRefundable')) + " ")])]);
2148
+ };
2149
+ var staticRenderFns = [];
2150
+
2151
+ // CONCATENATED MODULE: ./src/components/RevolugoElements/CancellationPoliciesBadge/CancellationPoliciesBadge.vue?vue&type=template&id=52ae8436&
2152
+
2153
+ // EXTERNAL MODULE: /opt/atlassian/pipelines/agent/build/libs/cancellation-policies/dist/index.js
2154
+ var dist = __webpack_require__("05ef");
2155
+
2156
+ // EXTERNAL MODULE: /opt/atlassian/pipelines/agent/build/node_modules/.pnpm/camelcase-keys@7.0.2/node_modules/camelcase-keys/index.js
2157
+ var camelcase_keys = __webpack_require__("cbfb");
2158
+ var camelcase_keys_default = /*#__PURE__*/__webpack_require__.n(camelcase_keys);
2159
+
2160
+ // EXTERNAL MODULE: /opt/atlassian/pipelines/agent/build/node_modules/.pnpm/dayjs@1.11.7/node_modules/dayjs/dayjs.min.js
2161
+ var dayjs_min = __webpack_require__("1eef");
2162
+ var dayjs_min_default = /*#__PURE__*/__webpack_require__.n(dayjs_min);
2163
+
2164
+ // EXTERNAL MODULE: /opt/atlassian/pipelines/agent/build/node_modules/.pnpm/dayjs@1.11.7/node_modules/dayjs/plugin/isBetween.js
2165
+ var isBetween = __webpack_require__("5ecd");
2166
+ var isBetween_default = /*#__PURE__*/__webpack_require__.n(isBetween);
2167
+
2168
+ // EXTERNAL MODULE: /opt/atlassian/pipelines/agent/build/node_modules/.pnpm/vue@2.7.14_patch_hash=eabltful76efbfyd536dwkbr5a/node_modules/vue/dist/vue.runtime.esm.js
2169
+ var vue_runtime_esm = __webpack_require__("ad27");
2170
+
2171
+ // EXTERNAL MODULE: ./src/components/RevolugoElements/CancellationPoliciesList/CancellationPoliciesList.vue + 4 modules
2172
+ var CancellationPoliciesList = __webpack_require__("57b9");
2173
+
2174
+ // EXTERNAL MODULE: ./src/components/ui/BTag/BTag.vue + 4 modules
2175
+ var BTag = __webpack_require__("9ed2");
2176
+
2177
+ // EXTERNAL MODULE: ./src/mixins/locale-async-loader.ts + 1 modules
2178
+ var locale_async_loader = __webpack_require__("6337");
2179
+
2180
+ // EXTERNAL MODULE: ./src/components/RevolugoElements/CancellationPoliciesBadge/CancellationPoliciesBadge.props.ts
2181
+ var CancellationPoliciesBadge_props = __webpack_require__("9720");
2182
+
2183
+ // CONCATENATED MODULE: /opt/atlassian/pipelines/agent/build/node_modules/.pnpm/cache-loader@4.1.0_webpack@4.46.0/node_modules/cache-loader/dist/cjs.js??ref--13-0!/opt/atlassian/pipelines/agent/build/node_modules/.pnpm/babel-loader@8.3.0_@babel+core@7.21.4_webpack@4.46.0/node_modules/babel-loader/lib!/opt/atlassian/pipelines/agent/build/node_modules/.pnpm/ts-loader@6.2.2_typescript@4.7.4/node_modules/ts-loader??ref--13-2!./src/components/RevolugoElements/CancellationPoliciesBadge/CancellationPoliciesBadge.ts?vue&type=script&lang=ts&
2184
+ function cov_1zhvuuxyb6() {
2185
+ var path = "/opt/atlassian/pipelines/agent/build/libs/elements/core/src/components/RevolugoElements/CancellationPoliciesBadge/CancellationPoliciesBadge.ts";
2186
+ var hash = "bbe4b3f811d308f499340429b020afde1691694a";
2187
+ var global = new Function("return this")();
2188
+ var gcv = "__coverage__";
2189
+ var coverageData = {
2190
+ path: "/opt/atlassian/pipelines/agent/build/libs/elements/core/src/components/RevolugoElements/CancellationPoliciesBadge/CancellationPoliciesBadge.ts",
2191
+ statementMap: {
2192
+ "0": {
2193
+ start: {
2194
+ line: 10,
2195
+ column: 0
2196
+ },
2197
+ end: {
2198
+ line: 10,
2199
+ column: 18
2200
+ }
2201
+ },
2202
+ "1": {
2203
+ start: {
2204
+ line: 21,
2205
+ column: 12
2206
+ },
2207
+ end: {
2208
+ line: 28,
2209
+ column: 13
2210
+ }
2211
+ },
2212
+ "2": {
2213
+ start: {
2214
+ line: 22,
2215
+ column: 16
2216
+ },
2217
+ end: {
2218
+ line: 27,
2219
+ column: 17
2220
+ }
2221
+ },
2222
+ "3": {
2223
+ start: {
2224
+ line: 23,
2225
+ column: 20
2226
+ },
2227
+ end: {
2228
+ line: 23,
2229
+ column: 65
2230
+ }
2231
+ },
2232
+ "4": {
2233
+ start: {
2234
+ line: 26,
2235
+ column: 20
2236
+ },
2237
+ end: {
2238
+ line: 26,
2239
+ column: 30
2240
+ }
2241
+ },
2242
+ "5": {
2243
+ start: {
2244
+ line: 29,
2245
+ column: 12
2246
+ },
2247
+ end: {
2248
+ line: 29,
2249
+ column: 45
2250
+ }
2251
+ },
2252
+ "6": {
2253
+ start: {
2254
+ line: 32,
2255
+ column: 12
2256
+ },
2257
+ end: {
2258
+ line: 43,
2259
+ column: 16
2260
+ }
2261
+ },
2262
+ "7": {
2263
+ start: {
2264
+ line: 34,
2265
+ column: 81
2266
+ },
2267
+ end: {
2268
+ line: 40,
2269
+ column: 17
2270
+ }
2271
+ },
2272
+ "8": {
2273
+ start: {
2274
+ line: 47,
2275
+ column: 12
2276
+ },
2277
+ end: {
2278
+ line: 49,
2279
+ column: 13
2280
+ }
2281
+ },
2282
+ "9": {
2283
+ start: {
2284
+ line: 48,
2285
+ column: 16
2286
+ },
2287
+ end: {
2288
+ line: 48,
2289
+ column: 34
2290
+ }
2291
+ },
2292
+ "10": {
2293
+ start: {
2294
+ line: 50,
2295
+ column: 12
2296
+ },
2297
+ end: {
2298
+ line: 52,
2299
+ column: 13
2300
+ }
2301
+ },
2302
+ "11": {
2303
+ start: {
2304
+ line: 51,
2305
+ column: 16
2306
+ },
2307
+ end: {
2308
+ line: 51,
2309
+ column: 26
2310
+ }
2311
+ },
2312
+ "12": {
2313
+ start: {
2314
+ line: 53,
2315
+ column: 12
2316
+ },
2317
+ end: {
2318
+ line: 53,
2319
+ column: 36
2320
+ }
2321
+ },
2322
+ "13": {
2323
+ start: {
2324
+ line: 56,
2325
+ column: 12
2326
+ },
2327
+ end: {
2328
+ line: 56,
2329
+ column: 58
2330
+ }
2331
+ },
2332
+ "14": {
2333
+ start: {
2334
+ line: 59,
2335
+ column: 12
2336
+ },
2337
+ end: {
2338
+ line: 59,
2339
+ column: 177
2340
+ }
2341
+ },
2342
+ "15": {
2343
+ start: {
2344
+ line: 59,
2345
+ column: 70
2346
+ },
2347
+ end: {
2348
+ line: 59,
2349
+ column: 133
2350
+ }
2351
+ },
2352
+ "16": {
2353
+ start: {
2354
+ line: 63,
2355
+ column: 12
2356
+ },
2357
+ end: {
2358
+ line: 63,
2359
+ column: 165
2360
+ }
2361
+ }
2362
+ },
2363
+ fnMap: {
2364
+ "0": {
2365
+ name: "(anonymous_0)",
2366
+ decl: {
2367
+ start: {
2368
+ line: 20,
2369
+ column: 8
2370
+ },
2371
+ end: {
2372
+ line: 20,
2373
+ column: 9
2374
+ }
2375
+ },
2376
+ loc: {
2377
+ start: {
2378
+ line: 20,
2379
+ column: 37
2380
+ },
2381
+ end: {
2382
+ line: 30,
2383
+ column: 9
2384
+ }
2385
+ },
2386
+ line: 20
2387
+ },
2388
+ "1": {
2389
+ name: "(anonymous_1)",
2390
+ decl: {
2391
+ start: {
2392
+ line: 31,
2393
+ column: 8
2394
+ },
2395
+ end: {
2396
+ line: 31,
2397
+ column: 9
2398
+ }
2399
+ },
2400
+ loc: {
2401
+ start: {
2402
+ line: 31,
2403
+ column: 40
2404
+ },
2405
+ end: {
2406
+ line: 44,
2407
+ column: 9
2408
+ }
2409
+ },
2410
+ line: 31
2411
+ },
2412
+ "2": {
2413
+ name: "(anonymous_2)",
2414
+ decl: {
2415
+ start: {
2416
+ line: 34,
2417
+ column: 74
2418
+ },
2419
+ end: {
2420
+ line: 34,
2421
+ column: 75
2422
+ }
2423
+ },
2424
+ loc: {
2425
+ start: {
2426
+ line: 34,
2427
+ column: 81
2428
+ },
2429
+ end: {
2430
+ line: 40,
2431
+ column: 17
2432
+ }
2433
+ },
2434
+ line: 34
2435
+ },
2436
+ "3": {
2437
+ name: "(anonymous_3)",
2438
+ decl: {
2439
+ start: {
2440
+ line: 45,
2441
+ column: 8
2442
+ },
2443
+ end: {
2444
+ line: 45,
2445
+ column: 9
2446
+ }
2447
+ },
2448
+ loc: {
2449
+ start: {
2450
+ line: 45,
2451
+ column: 18
2452
+ },
2453
+ end: {
2454
+ line: 54,
2455
+ column: 9
2456
+ }
2457
+ },
2458
+ line: 45
2459
+ },
2460
+ "4": {
2461
+ name: "(anonymous_4)",
2462
+ decl: {
2463
+ start: {
2464
+ line: 55,
2465
+ column: 8
2466
+ },
2467
+ end: {
2468
+ line: 55,
2469
+ column: 9
2470
+ }
2471
+ },
2472
+ loc: {
2473
+ start: {
2474
+ line: 55,
2475
+ column: 16
2476
+ },
2477
+ end: {
2478
+ line: 57,
2479
+ column: 9
2480
+ }
2481
+ },
2482
+ line: 55
2483
+ },
2484
+ "5": {
2485
+ name: "(anonymous_5)",
2486
+ decl: {
2487
+ start: {
2488
+ line: 58,
2489
+ column: 8
2490
+ },
2491
+ end: {
2492
+ line: 58,
2493
+ column: 9
2494
+ }
2495
+ },
2496
+ loc: {
2497
+ start: {
2498
+ line: 58,
2499
+ column: 36
2500
+ },
2501
+ end: {
2502
+ line: 60,
2503
+ column: 9
2504
+ }
2505
+ },
2506
+ line: 58
2507
+ },
2508
+ "6": {
2509
+ name: "(anonymous_6)",
2510
+ decl: {
2511
+ start: {
2512
+ line: 59,
2513
+ column: 60
2514
+ },
2515
+ end: {
2516
+ line: 59,
2517
+ column: 61
2518
+ }
2519
+ },
2520
+ loc: {
2521
+ start: {
2522
+ line: 59,
2523
+ column: 70
2524
+ },
2525
+ end: {
2526
+ line: 59,
2527
+ column: 133
2528
+ }
2529
+ },
2530
+ line: 59
2531
+ },
2532
+ "7": {
2533
+ name: "(anonymous_7)",
2534
+ decl: {
2535
+ start: {
2536
+ line: 61,
2537
+ column: 8
2538
+ },
2539
+ end: {
2540
+ line: 61,
2541
+ column: 9
2542
+ }
2543
+ },
2544
+ loc: {
2545
+ start: {
2546
+ line: 61,
2547
+ column: 23
2548
+ },
2549
+ end: {
2550
+ line: 64,
2551
+ column: 9
2552
+ }
2553
+ },
2554
+ line: 61
2555
+ }
2556
+ },
2557
+ branchMap: {
2558
+ "0": {
2559
+ loc: {
2560
+ start: {
2561
+ line: 21,
2562
+ column: 12
2563
+ },
2564
+ end: {
2565
+ line: 28,
2566
+ column: 13
2567
+ }
2568
+ },
2569
+ type: "if",
2570
+ locations: [{
2571
+ start: {
2572
+ line: 21,
2573
+ column: 12
2574
+ },
2575
+ end: {
2576
+ line: 28,
2577
+ column: 13
2578
+ }
2579
+ }, {
2580
+ start: {
2581
+ line: undefined,
2582
+ column: undefined
2583
+ },
2584
+ end: {
2585
+ line: undefined,
2586
+ column: undefined
2587
+ }
2588
+ }],
2589
+ line: 21
2590
+ },
2591
+ "1": {
2592
+ loc: {
2593
+ start: {
2594
+ line: 33,
2595
+ column: 33
2596
+ },
2597
+ end: {
2598
+ line: 33,
2599
+ column: 69
2600
+ }
2601
+ },
2602
+ type: "binary-expr",
2603
+ locations: [{
2604
+ start: {
2605
+ line: 33,
2606
+ column: 33
2607
+ },
2608
+ end: {
2609
+ line: 33,
2610
+ column: 49
2611
+ }
2612
+ }, {
2613
+ start: {
2614
+ line: 33,
2615
+ column: 53
2616
+ },
2617
+ end: {
2618
+ line: 33,
2619
+ column: 69
2620
+ }
2621
+ }],
2622
+ line: 33
2623
+ },
2624
+ "2": {
2625
+ loc: {
2626
+ start: {
2627
+ line: 47,
2628
+ column: 12
2629
+ },
2630
+ end: {
2631
+ line: 49,
2632
+ column: 13
2633
+ }
2634
+ },
2635
+ type: "if",
2636
+ locations: [{
2637
+ start: {
2638
+ line: 47,
2639
+ column: 12
2640
+ },
2641
+ end: {
2642
+ line: 49,
2643
+ column: 13
2644
+ }
2645
+ }, {
2646
+ start: {
2647
+ line: undefined,
2648
+ column: undefined
2649
+ },
2650
+ end: {
2651
+ line: undefined,
2652
+ column: undefined
2653
+ }
2654
+ }],
2655
+ line: 47
2656
+ },
2657
+ "3": {
2658
+ loc: {
2659
+ start: {
2660
+ line: 47,
2661
+ column: 17
2662
+ },
2663
+ end: {
2664
+ line: 47,
2665
+ column: 112
2666
+ }
2667
+ },
2668
+ type: "cond-expr",
2669
+ locations: [{
2670
+ start: {
2671
+ line: 47,
2672
+ column: 83
2673
+ },
2674
+ end: {
2675
+ line: 47,
2676
+ column: 89
2677
+ }
2678
+ }, {
2679
+ start: {
2680
+ line: 47,
2681
+ column: 92
2682
+ },
2683
+ end: {
2684
+ line: 47,
2685
+ column: 112
2686
+ }
2687
+ }],
2688
+ line: 47
2689
+ },
2690
+ "4": {
2691
+ loc: {
2692
+ start: {
2693
+ line: 47,
2694
+ column: 17
2695
+ },
2696
+ end: {
2697
+ line: 47,
2698
+ column: 80
2699
+ }
2700
+ },
2701
+ type: "binary-expr",
2702
+ locations: [{
2703
+ start: {
2704
+ line: 47,
2705
+ column: 17
2706
+ },
2707
+ end: {
2708
+ line: 47,
2709
+ column: 63
2710
+ }
2711
+ }, {
2712
+ start: {
2713
+ line: 47,
2714
+ column: 67
2715
+ },
2716
+ end: {
2717
+ line: 47,
2718
+ column: 80
2719
+ }
2720
+ }],
2721
+ line: 47
2722
+ },
2723
+ "5": {
2724
+ loc: {
2725
+ start: {
2726
+ line: 50,
2727
+ column: 12
2728
+ },
2729
+ end: {
2730
+ line: 52,
2731
+ column: 13
2732
+ }
2733
+ },
2734
+ type: "if",
2735
+ locations: [{
2736
+ start: {
2737
+ line: 50,
2738
+ column: 12
2739
+ },
2740
+ end: {
2741
+ line: 52,
2742
+ column: 13
2743
+ }
2744
+ }, {
2745
+ start: {
2746
+ line: undefined,
2747
+ column: undefined
2748
+ },
2749
+ end: {
2750
+ line: undefined,
2751
+ column: undefined
2752
+ }
2753
+ }],
2754
+ line: 50
2755
+ },
2756
+ "6": {
2757
+ loc: {
2758
+ start: {
2759
+ line: 50,
2760
+ column: 17
2761
+ },
2762
+ end: {
2763
+ line: 50,
2764
+ column: 112
2765
+ }
2766
+ },
2767
+ type: "cond-expr",
2768
+ locations: [{
2769
+ start: {
2770
+ line: 50,
2771
+ column: 83
2772
+ },
2773
+ end: {
2774
+ line: 50,
2775
+ column: 89
2776
+ }
2777
+ }, {
2778
+ start: {
2779
+ line: 50,
2780
+ column: 92
2781
+ },
2782
+ end: {
2783
+ line: 50,
2784
+ column: 112
2785
+ }
2786
+ }],
2787
+ line: 50
2788
+ },
2789
+ "7": {
2790
+ loc: {
2791
+ start: {
2792
+ line: 50,
2793
+ column: 17
2794
+ },
2795
+ end: {
2796
+ line: 50,
2797
+ column: 80
2798
+ }
2799
+ },
2800
+ type: "binary-expr",
2801
+ locations: [{
2802
+ start: {
2803
+ line: 50,
2804
+ column: 17
2805
+ },
2806
+ end: {
2807
+ line: 50,
2808
+ column: 63
2809
+ }
2810
+ }, {
2811
+ start: {
2812
+ line: 50,
2813
+ column: 67
2814
+ },
2815
+ end: {
2816
+ line: 50,
2817
+ column: 80
2818
+ }
2819
+ }],
2820
+ line: 50
2821
+ },
2822
+ "8": {
2823
+ loc: {
2824
+ start: {
2825
+ line: 56,
2826
+ column: 19
2827
+ },
2828
+ end: {
2829
+ line: 56,
2830
+ column: 57
2831
+ }
2832
+ },
2833
+ type: "cond-expr",
2834
+ locations: [{
2835
+ start: {
2836
+ line: 56,
2837
+ column: 39
2838
+ },
2839
+ end: {
2840
+ line: 56,
2841
+ column: 48
2842
+ }
2843
+ }, {
2844
+ start: {
2845
+ line: 56,
2846
+ column: 51
2847
+ },
2848
+ end: {
2849
+ line: 56,
2850
+ column: 57
2851
+ }
2852
+ }],
2853
+ line: 56
2854
+ },
2855
+ "9": {
2856
+ loc: {
2857
+ start: {
2858
+ line: 59,
2859
+ column: 20
2860
+ },
2861
+ end: {
2862
+ line: 59,
2863
+ column: 175
2864
+ }
2865
+ },
2866
+ type: "binary-expr",
2867
+ locations: [{
2868
+ start: {
2869
+ line: 59,
2870
+ column: 20
2871
+ },
2872
+ end: {
2873
+ line: 59,
2874
+ column: 134
2875
+ }
2876
+ }, {
2877
+ start: {
2878
+ line: 59,
2879
+ column: 138
2880
+ },
2881
+ end: {
2882
+ line: 59,
2883
+ column: 175
2884
+ }
2885
+ }],
2886
+ line: 59
2887
+ },
2888
+ "10": {
2889
+ loc: {
2890
+ start: {
2891
+ line: 63,
2892
+ column: 20
2893
+ },
2894
+ end: {
2895
+ line: 63,
2896
+ column: 157
2897
+ }
2898
+ },
2899
+ type: "cond-expr",
2900
+ locations: [{
2901
+ start: {
2902
+ line: 63,
2903
+ column: 151
2904
+ },
2905
+ end: {
2906
+ line: 63,
2907
+ column: 153
2908
+ }
2909
+ }, {
2910
+ start: {
2911
+ line: 63,
2912
+ column: 156
2913
+ },
2914
+ end: {
2915
+ line: 63,
2916
+ column: 157
2917
+ }
2918
+ }],
2919
+ line: 63
2920
+ },
2921
+ "11": {
2922
+ loc: {
2923
+ start: {
2924
+ line: 63,
2925
+ column: 20
2926
+ },
2927
+ end: {
2928
+ line: 63,
2929
+ column: 148
2930
+ }
2931
+ },
2932
+ type: "binary-expr",
2933
+ locations: [{
2934
+ start: {
2935
+ line: 63,
2936
+ column: 20
2937
+ },
2938
+ end: {
2939
+ line: 63,
2940
+ column: 131
2941
+ }
2942
+ }, {
2943
+ start: {
2944
+ line: 63,
2945
+ column: 135
2946
+ },
2947
+ end: {
2948
+ line: 63,
2949
+ column: 148
2950
+ }
2951
+ }],
2952
+ line: 63
2953
+ },
2954
+ "12": {
2955
+ loc: {
2956
+ start: {
2957
+ line: 63,
2958
+ column: 26
2959
+ },
2960
+ end: {
2961
+ line: 63,
2962
+ column: 121
2963
+ }
2964
+ },
2965
+ type: "cond-expr",
2966
+ locations: [{
2967
+ start: {
2968
+ line: 63,
2969
+ column: 92
2970
+ },
2971
+ end: {
2972
+ line: 63,
2973
+ column: 98
2974
+ }
2975
+ }, {
2976
+ start: {
2977
+ line: 63,
2978
+ column: 101
2979
+ },
2980
+ end: {
2981
+ line: 63,
2982
+ column: 121
2983
+ }
2984
+ }],
2985
+ line: 63
2986
+ },
2987
+ "13": {
2988
+ loc: {
2989
+ start: {
2990
+ line: 63,
2991
+ column: 26
2992
+ },
2993
+ end: {
2994
+ line: 63,
2995
+ column: 89
2996
+ }
2997
+ },
2998
+ type: "binary-expr",
2999
+ locations: [{
3000
+ start: {
3001
+ line: 63,
3002
+ column: 26
3003
+ },
3004
+ end: {
3005
+ line: 63,
3006
+ column: 72
3007
+ }
3008
+ }, {
3009
+ start: {
3010
+ line: 63,
3011
+ column: 76
3012
+ },
3013
+ end: {
3014
+ line: 63,
3015
+ column: 89
3016
+ }
3017
+ }],
3018
+ line: 63
3019
+ }
3020
+ },
3021
+ s: {
3022
+ "0": 0,
3023
+ "1": 0,
3024
+ "2": 0,
3025
+ "3": 0,
3026
+ "4": 0,
3027
+ "5": 0,
3028
+ "6": 0,
3029
+ "7": 0,
3030
+ "8": 0,
3031
+ "9": 0,
3032
+ "10": 0,
3033
+ "11": 0,
3034
+ "12": 0,
3035
+ "13": 0,
3036
+ "14": 0,
3037
+ "15": 0,
3038
+ "16": 0
3039
+ },
3040
+ f: {
3041
+ "0": 0,
3042
+ "1": 0,
3043
+ "2": 0,
3044
+ "3": 0,
3045
+ "4": 0,
3046
+ "5": 0,
3047
+ "6": 0,
3048
+ "7": 0
3049
+ },
3050
+ b: {
3051
+ "0": [0, 0],
3052
+ "1": [0, 0],
3053
+ "2": [0, 0],
3054
+ "3": [0, 0],
3055
+ "4": [0, 0],
3056
+ "5": [0, 0],
3057
+ "6": [0, 0],
3058
+ "7": [0, 0],
3059
+ "8": [0, 0],
3060
+ "9": [0, 0],
3061
+ "10": [0, 0],
3062
+ "11": [0, 0],
3063
+ "12": [0, 0],
3064
+ "13": [0, 0]
3065
+ },
3066
+ _coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
3067
+ hash: "bbe4b3f811d308f499340429b020afde1691694a"
3068
+ };
3069
+ var coverage = global[gcv] || (global[gcv] = {});
3070
+ if (!coverage[path] || coverage[path].hash !== hash) {
3071
+ coverage[path] = coverageData;
3072
+ }
3073
+ var actualCoverage = coverage[path];
3074
+ {
3075
+ // @ts-ignore
3076
+ cov_1zhvuuxyb6 = function () {
3077
+ return actualCoverage;
3078
+ };
3079
+ }
3080
+ return actualCoverage;
3081
+ }
3082
+ cov_1zhvuuxyb6();
3083
+
3084
+
3085
+
3086
+
3087
+
3088
+
3089
+
3090
+
3091
+
3092
+ cov_1zhvuuxyb6().s[0]++;
3093
+ Object(dayjs_min["extend"])(isBetween_default.a);
3094
+ /* harmony default export */ var CancellationPoliciesBadgevue_type_script_lang_ts_ = (vue_runtime_esm["a" /* default */].extend({
3095
+ name: 'CancellationPolicyBadge',
3096
+ components: {
3097
+ BTag: BTag["a" /* default */],
3098
+ CancellationPoliciesList: CancellationPoliciesList["a" /* default */]
3099
+ },
3100
+ mixins: [Object(locale_async_loader["a" /* localeAsyncLoaderMixin */])("components/RevolugoElements/CancellationPoliciesBadge")],
3101
+ props: CancellationPoliciesBadge_props["a" /* cancellationPoliciesBadgeProps */],
3102
+ computed: {
3103
+ parsedCancellationPolicies() {
3104
+ cov_1zhvuuxyb6().f[0]++;
3105
+ cov_1zhvuuxyb6().s[1]++;
3106
+ if (typeof this.cancellationPolicies === 'string') {
3107
+ cov_1zhvuuxyb6().b[0][0]++;
3108
+ cov_1zhvuuxyb6().s[2]++;
3109
+ try {
3110
+ cov_1zhvuuxyb6().s[3]++;
3111
+ return JSON.parse(this.cancellationPolicies);
3112
+ } catch {
3113
+ cov_1zhvuuxyb6().s[4]++;
3114
+ return [];
3115
+ }
3116
+ } else {
3117
+ cov_1zhvuuxyb6().b[0][1]++;
3118
+ }
3119
+ cov_1zhvuuxyb6().s[5]++;
3120
+ return this.cancellationPolicies;
3121
+ },
3122
+ sanitizedCancellationPolicies() {
3123
+ cov_1zhvuuxyb6().f[1]++;
3124
+ cov_1zhvuuxyb6().s[6]++;
3125
+ return camelcase_keys_default()(Object(dist["b" /* sanitizeCancellationPolicies */])({
3126
+ bookingDatetime: (cov_1zhvuuxyb6().b[1][0]++, this.initialDate) || (cov_1zhvuuxyb6().b[1][1]++, dayjs_min_default()().format()),
3127
+ cancellationPolicies: this.parsedCancellationPolicies.map(cp => {
3128
+ cov_1zhvuuxyb6().f[2]++;
3129
+ cov_1zhvuuxyb6().s[7]++;
3130
+ return {
3131
+ /* eslint-disable camelcase */
3132
+ date_from: cp.dateFrom,
3133
+ date_to: cp.dateTo,
3134
+ penalty_percentage: cp.penaltyPercentage
3135
+ /* eslint-enable camelcase */
3136
+ };
3137
+ }),
3138
+
3139
+ checkInDate: this.checkInDate,
3140
+ timezone: this.timezone
3141
+ }));
3142
+ },
3143
+ preIcon() {
3144
+ cov_1zhvuuxyb6().f[3]++;
3145
+ var _a, _b;
3146
+ cov_1zhvuuxyb6().s[8]++;
3147
+ if (((cov_1zhvuuxyb6().b[4][0]++, (_a = this.currentCancellationPolicy) === null) || (cov_1zhvuuxyb6().b[4][1]++, _a === void 0) ? (cov_1zhvuuxyb6().b[3][0]++, void 0) : (cov_1zhvuuxyb6().b[3][1]++, _a.penaltyPercentage)) === 0) {
3148
+ cov_1zhvuuxyb6().b[2][0]++;
3149
+ cov_1zhvuuxyb6().s[9]++;
3150
+ return 'fa-check';
3151
+ } else {
3152
+ cov_1zhvuuxyb6().b[2][1]++;
3153
+ }
3154
+ cov_1zhvuuxyb6().s[10]++;
3155
+ if (((cov_1zhvuuxyb6().b[7][0]++, (_b = this.currentCancellationPolicy) === null) || (cov_1zhvuuxyb6().b[7][1]++, _b === void 0) ? (cov_1zhvuuxyb6().b[6][0]++, void 0) : (cov_1zhvuuxyb6().b[6][1]++, _b.penaltyPercentage)) === 100) {
3156
+ cov_1zhvuuxyb6().b[5][0]++;
3157
+ cov_1zhvuuxyb6().s[11]++;
3158
+ return '';
3159
+ } else {
3160
+ cov_1zhvuuxyb6().b[5][1]++;
3161
+ }
3162
+ cov_1zhvuuxyb6().s[12]++;
3163
+ return 'fa-info-circle';
3164
+ },
3165
+ color() {
3166
+ cov_1zhvuuxyb6().f[4]++;
3167
+ cov_1zhvuuxyb6().s[13]++;
3168
+ return this.isRefundable ? (cov_1zhvuuxyb6().b[8][0]++, 'success') : (cov_1zhvuuxyb6().b[8][1]++, 'grey');
3169
+ },
3170
+ currentCancellationPolicy() {
3171
+ cov_1zhvuuxyb6().f[5]++;
3172
+ cov_1zhvuuxyb6().s[14]++;
3173
+ return (cov_1zhvuuxyb6().b[9][0]++, this.sanitizedCancellationPolicies.find(policy => {
3174
+ cov_1zhvuuxyb6().f[6]++;
3175
+ cov_1zhvuuxyb6().s[15]++;
3176
+ return dayjs_min_default()().isBetween(dayjs_min_default()(policy.dateFrom), dayjs_min_default()(policy.dateTo));
3177
+ })) || (cov_1zhvuuxyb6().b[9][1]++, this.sanitizedCancellationPolicies[0]);
3178
+ },
3179
+ isRefundable() {
3180
+ cov_1zhvuuxyb6().f[7]++;
3181
+ var _a, _b;
3182
+ cov_1zhvuuxyb6().s[16]++;
3183
+ return ((cov_1zhvuuxyb6().b[11][0]++, (_b = (cov_1zhvuuxyb6().b[13][0]++, (_a = this.currentCancellationPolicy) === null) || (cov_1zhvuuxyb6().b[13][1]++, _a === void 0) ? (cov_1zhvuuxyb6().b[12][0]++, void 0) : (cov_1zhvuuxyb6().b[12][1]++, _a.penaltyPercentage)) !== null) && (cov_1zhvuuxyb6().b[11][1]++, _b !== void 0) ? (cov_1zhvuuxyb6().b[10][0]++, _b) : (cov_1zhvuuxyb6().b[10][1]++, 0)) < 100;
3184
+ }
3185
+ }
3186
+ }));
3187
+ // CONCATENATED MODULE: ./src/components/RevolugoElements/CancellationPoliciesBadge/CancellationPoliciesBadge.ts?vue&type=script&lang=ts&
3188
+ /* harmony default export */ var CancellationPoliciesBadge_CancellationPoliciesBadgevue_type_script_lang_ts_ = (CancellationPoliciesBadgevue_type_script_lang_ts_);
3189
+ // EXTERNAL MODULE: /opt/atlassian/pipelines/agent/build/node_modules/.pnpm/vue-loader@15.10.1_cache-loader@4.1.0_css-loader@3.6.0_react-dom@16.14.0_react@16.14.0_vue-te_in2h7w4pcz7gmv74d3b5fqofg4/node_modules/vue-loader/lib/runtime/componentNormalizer.js
3190
+ var componentNormalizer = __webpack_require__("f0a0");
3191
+
3192
+ // CONCATENATED MODULE: ./src/components/RevolugoElements/CancellationPoliciesBadge/CancellationPoliciesBadge.vue
3193
+
3194
+
3195
+
3196
+
3197
+
3198
+ /* normalize component */
3199
+
3200
+ var component = Object(componentNormalizer["a" /* default */])(
3201
+ CancellationPoliciesBadge_CancellationPoliciesBadgevue_type_script_lang_ts_,
3202
+ render,
3203
+ staticRenderFns,
3204
+ false,
3205
+ null,
3206
+ null,
3207
+ null
3208
+ ,true
3209
+ )
475
3210
 
3211
+ /* harmony default export */ var CancellationPoliciesBadge = __webpack_exports__["a"] = (component.exports);
476
3212
 
477
3213
  /***/ }),
478
3214
 
479
- /***/ "9081":
3215
+ /***/ "ee1a":
480
3216
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
481
3217
 
482
3218
  "use strict";
483
3219
  // ESM COMPAT FLAG
484
3220
  __webpack_require__.r(__webpack_exports__);
485
3221
 
486
- // CONCATENATED MODULE: /opt/atlassian/pipelines/agent/build/node_modules/.pnpm/cache-loader@4.1.0_webpack@4.46.0/node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"38294fbf-vue-loader-template"}!/opt/atlassian/pipelines/agent/build/node_modules/.pnpm/cache-loader@4.1.0_webpack@4.46.0/node_modules/cache-loader/dist/cjs.js??ref--12-0!/opt/atlassian/pipelines/agent/build/node_modules/.pnpm/babel-loader@8.3.0_@babel+core@7.21.4_webpack@4.46.0/node_modules/babel-loader/lib!/opt/atlassian/pipelines/agent/build/node_modules/.pnpm/vue-loader@15.10.1_cache-loader@4.1.0_css-loader@3.6.0_react-dom@16.14.0_react@16.14.0_vue-te_in2h7w4pcz7gmv74d3b5fqofg4/node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!/opt/atlassian/pipelines/agent/build/node_modules/.pnpm/cache-loader@4.1.0_webpack@4.46.0/node_modules/cache-loader/dist/cjs.js??ref--0-0!/opt/atlassian/pipelines/agent/build/node_modules/.pnpm/vue-loader@15.10.1_cache-loader@4.1.0_css-loader@3.6.0_react-dom@16.14.0_react@16.14.0_vue-te_in2h7w4pcz7gmv74d3b5fqofg4/node_modules/vue-loader/lib??vue-loader-options!./src/components/web-components/LangSwitchButton/LangSwitchButton.vue?vue&type=template&id=d98a17ea&shadow
3222
+ // CONCATENATED MODULE: /opt/atlassian/pipelines/agent/build/node_modules/.pnpm/cache-loader@4.1.0_webpack@4.46.0/node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"38294fbf-vue-loader-template"}!/opt/atlassian/pipelines/agent/build/node_modules/.pnpm/cache-loader@4.1.0_webpack@4.46.0/node_modules/cache-loader/dist/cjs.js??ref--12-0!/opt/atlassian/pipelines/agent/build/node_modules/.pnpm/babel-loader@8.3.0_@babel+core@7.21.4_webpack@4.46.0/node_modules/babel-loader/lib!/opt/atlassian/pipelines/agent/build/node_modules/.pnpm/vue-loader@15.10.1_cache-loader@4.1.0_css-loader@3.6.0_react-dom@16.14.0_react@16.14.0_vue-te_in2h7w4pcz7gmv74d3b5fqofg4/node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!/opt/atlassian/pipelines/agent/build/node_modules/.pnpm/cache-loader@4.1.0_webpack@4.46.0/node_modules/cache-loader/dist/cjs.js??ref--0-0!/opt/atlassian/pipelines/agent/build/node_modules/.pnpm/vue-loader@15.10.1_cache-loader@4.1.0_css-loader@3.6.0_react-dom@16.14.0_react@16.14.0_vue-te_in2h7w4pcz7gmv74d3b5fqofg4/node_modules/vue-loader/lib??vue-loader-options!./src/components/web-components/CancellationPoliciesBadge/CancellationPoliciesBadge.vue?vue&type=template&id=065b19f7&shadow
487
3223
  var render = function render() {
488
3224
  var _vm = this,
489
3225
  _c = _vm._self._c,
490
3226
  _setup = _vm._self._setupProxy;
491
- return _c('web-component-wrapper', [_c('lang-switch-button', _vm._b({}, 'lang-switch-button', _vm.$props, false))], 1);
3227
+ return _c('web-component-wrapper', [_c('cancellation-policies-badge', _vm._b({}, 'cancellation-policies-badge', _vm.$props, false))], 1);
492
3228
  };
493
3229
  var staticRenderFns = [];
494
3230
 
495
- // CONCATENATED MODULE: ./src/components/web-components/LangSwitchButton/LangSwitchButton.vue?vue&type=template&id=d98a17ea&shadow
3231
+ // CONCATENATED MODULE: ./src/components/web-components/CancellationPoliciesBadge/CancellationPoliciesBadge.vue?vue&type=template&id=065b19f7&shadow
496
3232
 
497
3233
  // EXTERNAL MODULE: /opt/atlassian/pipelines/agent/build/node_modules/.pnpm/vue@2.7.14_patch_hash=eabltful76efbfyd536dwkbr5a/node_modules/vue/dist/vue.runtime.esm.js
498
3234
  var vue_runtime_esm = __webpack_require__("ad27");
499
3235
 
500
- // EXTERNAL MODULE: ./src/components/RevolugoElements/LangSwitchButton/LangSwitchButton.props.ts
501
- var LangSwitchButton_props = __webpack_require__("4a48");
3236
+ // EXTERNAL MODULE: ./src/components/RevolugoElements/CancellationPoliciesBadge/CancellationPoliciesBadge.props.ts
3237
+ var CancellationPoliciesBadge_props = __webpack_require__("9720");
502
3238
 
503
- // EXTERNAL MODULE: ./src/components/RevolugoElements/LangSwitchButton/LangSwitchButton.vue + 4 modules
504
- var LangSwitchButton = __webpack_require__("8e95");
3239
+ // EXTERNAL MODULE: ./src/components/RevolugoElements/CancellationPoliciesBadge/CancellationPoliciesBadge.vue + 4 modules
3240
+ var CancellationPoliciesBadge = __webpack_require__("d406");
505
3241
 
506
3242
  // EXTERNAL MODULE: ./src/components/utils/WebComponentWrapper/WebComponentWrapper.vue + 12 modules
507
3243
  var WebComponentWrapper = __webpack_require__("9825");
508
3244
 
509
- // CONCATENATED MODULE: /opt/atlassian/pipelines/agent/build/node_modules/.pnpm/cache-loader@4.1.0_webpack@4.46.0/node_modules/cache-loader/dist/cjs.js??ref--13-0!/opt/atlassian/pipelines/agent/build/node_modules/.pnpm/babel-loader@8.3.0_@babel+core@7.21.4_webpack@4.46.0/node_modules/babel-loader/lib!/opt/atlassian/pipelines/agent/build/node_modules/.pnpm/ts-loader@6.2.2_typescript@4.7.4/node_modules/ts-loader??ref--13-2!./src/components/web-components/LangSwitchButton/LangSwitchButton.ts?vue&type=script&lang=ts&shadow
510
- function cov_kt0xb72ai() {
511
- var path = "/opt/atlassian/pipelines/agent/build/libs/elements/core/src/components/web-components/LangSwitchButton/LangSwitchButton.ts";
512
- var hash = "c1a8f41b551785d61167115e8a7a4eabda6b8099";
3245
+ // CONCATENATED MODULE: /opt/atlassian/pipelines/agent/build/node_modules/.pnpm/cache-loader@4.1.0_webpack@4.46.0/node_modules/cache-loader/dist/cjs.js??ref--13-0!/opt/atlassian/pipelines/agent/build/node_modules/.pnpm/babel-loader@8.3.0_@babel+core@7.21.4_webpack@4.46.0/node_modules/babel-loader/lib!/opt/atlassian/pipelines/agent/build/node_modules/.pnpm/ts-loader@6.2.2_typescript@4.7.4/node_modules/ts-loader??ref--13-2!./src/components/web-components/CancellationPoliciesBadge/CancellationPoliciesBadge.ts?vue&type=script&lang=ts&shadow
3246
+ function cov_2cj97lh74l() {
3247
+ var path = "/opt/atlassian/pipelines/agent/build/libs/elements/core/src/components/web-components/CancellationPoliciesBadge/CancellationPoliciesBadge.ts";
3248
+ var hash = "12c211d8d8e0a7c45ba358610dc7f3e07f46f514";
513
3249
  var global = new Function("return this")();
514
3250
  var gcv = "__coverage__";
515
3251
  var coverageData = {
516
- path: "/opt/atlassian/pipelines/agent/build/libs/elements/core/src/components/web-components/LangSwitchButton/LangSwitchButton.ts",
3252
+ path: "/opt/atlassian/pipelines/agent/build/libs/elements/core/src/components/web-components/CancellationPoliciesBadge/CancellationPoliciesBadge.ts",
517
3253
  statementMap: {},
518
3254
  fnMap: {},
519
3255
  branchMap: {},
@@ -521,7 +3257,7 @@ function cov_kt0xb72ai() {
521
3257
  f: {},
522
3258
  b: {},
523
3259
  _coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
524
- hash: "c1a8f41b551785d61167115e8a7a4eabda6b8099"
3260
+ hash: "12c211d8d8e0a7c45ba358610dc7f3e07f46f514"
525
3261
  };
526
3262
  var coverage = global[gcv] || (global[gcv] = {});
527
3263
  if (!coverage[path] || coverage[path].hash !== hash) {
@@ -530,30 +3266,30 @@ function cov_kt0xb72ai() {
530
3266
  var actualCoverage = coverage[path];
531
3267
  {
532
3268
  // @ts-ignore
533
- cov_kt0xb72ai = function () {
3269
+ cov_2cj97lh74l = function () {
534
3270
  return actualCoverage;
535
3271
  };
536
3272
  }
537
3273
  return actualCoverage;
538
3274
  }
539
- cov_kt0xb72ai();
3275
+ cov_2cj97lh74l();
540
3276
 
541
3277
 
542
3278
 
543
3279
 
544
- /* harmony default export */ var LangSwitchButtonvue_type_script_lang_ts_shadow = (vue_runtime_esm["a" /* default */].extend({
3280
+ /* harmony default export */ var CancellationPoliciesBadgevue_type_script_lang_ts_shadow = (vue_runtime_esm["a" /* default */].extend({
545
3281
  components: {
546
- LangSwitchButton: LangSwitchButton["a" /* default */],
3282
+ CancellationPoliciesBadge: CancellationPoliciesBadge["a" /* default */],
547
3283
  WebComponentWrapper: WebComponentWrapper["a" /* default */]
548
3284
  },
549
- props: LangSwitchButton_props["a" /* langSwitchButtonProps */]
3285
+ props: CancellationPoliciesBadge_props["a" /* cancellationPoliciesBadgeProps */]
550
3286
  }));
551
- // CONCATENATED MODULE: ./src/components/web-components/LangSwitchButton/LangSwitchButton.ts?vue&type=script&lang=ts&shadow
552
- /* harmony default export */ var LangSwitchButton_LangSwitchButtonvue_type_script_lang_ts_shadow = (LangSwitchButtonvue_type_script_lang_ts_shadow);
3287
+ // CONCATENATED MODULE: ./src/components/web-components/CancellationPoliciesBadge/CancellationPoliciesBadge.ts?vue&type=script&lang=ts&shadow
3288
+ /* harmony default export */ var CancellationPoliciesBadge_CancellationPoliciesBadgevue_type_script_lang_ts_shadow = (CancellationPoliciesBadgevue_type_script_lang_ts_shadow);
553
3289
  // EXTERNAL MODULE: /opt/atlassian/pipelines/agent/build/node_modules/.pnpm/vue-loader@15.10.1_cache-loader@4.1.0_css-loader@3.6.0_react-dom@16.14.0_react@16.14.0_vue-te_in2h7w4pcz7gmv74d3b5fqofg4/node_modules/vue-loader/lib/runtime/componentNormalizer.js
554
3290
  var componentNormalizer = __webpack_require__("f0a0");
555
3291
 
556
- // CONCATENATED MODULE: ./src/components/web-components/LangSwitchButton/LangSwitchButton.vue?shadow
3292
+ // CONCATENATED MODULE: ./src/components/web-components/CancellationPoliciesBadge/CancellationPoliciesBadge.vue?shadow
557
3293
 
558
3294
 
559
3295
 
@@ -562,7 +3298,7 @@ var componentNormalizer = __webpack_require__("f0a0");
562
3298
  /* normalize component */
563
3299
 
564
3300
  var component = Object(componentNormalizer["a" /* default */])(
565
- LangSwitchButton_LangSwitchButtonvue_type_script_lang_ts_shadow,
3301
+ CancellationPoliciesBadge_CancellationPoliciesBadgevue_type_script_lang_ts_shadow,
566
3302
  render,
567
3303
  staticRenderFns,
568
3304
  false,
@@ -572,7 +3308,7 @@ var component = Object(componentNormalizer["a" /* default */])(
572
3308
  ,true
573
3309
  )
574
3310
 
575
- /* harmony default export */ var LangSwitchButtonshadow = __webpack_exports__["default"] = (component.exports);
3311
+ /* harmony default export */ var CancellationPoliciesBadgeshadow = __webpack_exports__["default"] = (component.exports);
576
3312
 
577
3313
  /***/ })
578
3314