@producteca/producteca-ui-kit 1.77.9 → 1.78.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -76,7 +76,7 @@ const fullwidth$2 = "button-module_fullwidth_03y8a";
76
76
  const lg$c = "button-module_lg_Hkfw0";
77
77
  const md$a = "button-module_md_REpcP";
78
78
  const sm$d = "button-module_sm_QYj0l";
79
- const link$2 = "button-module_link_imZgM";
79
+ const link$1 = "button-module_link_imZgM";
80
80
  const primary$1 = "button-module_primary_ppbyq";
81
81
  const success$2 = "button-module_success_PUJLB";
82
82
  const secondary$1 = "button-module_secondary_esy5L";
@@ -92,7 +92,7 @@ const styles$J = {
92
92
  "with-adornment": "button-module_with-adornment_biWLE",
93
93
  "left-adornment": "button-module_left-adornment_ifsGV",
94
94
  "right-adornment": "button-module_right-adornment_8B4BV",
95
- link: link$2,
95
+ link: link$1,
96
96
  "tooltip-link": "button-module_tooltip-link_BqvZl",
97
97
  primary: primary$1,
98
98
  success: success$2,
@@ -21065,287 +21065,293 @@ const VisibilityIcon = ({ showPassword, setShowPassword }) => {
21065
21065
  return /* @__PURE__ */ jsx$1("div", { "data-testid": "visibility-toggle", onClick: () => setShowPassword(!showPassword), children: showPassword ? /* @__PURE__ */ jsx$1(Visibility, {}) : /* @__PURE__ */ jsx$1(VisibilityOff, {}) });
21066
21066
  };
21067
21067
  var dayjs_min = { exports: {} };
21068
- (function(module, exports) {
21069
- !function(t, e) {
21070
- module.exports = e();
21071
- }(commonjsGlobal, function() {
21072
- var t = 1e3, e = 6e4, n = 36e5, r2 = "millisecond", i = "second", s = "minute", u = "hour", a = "day", o = "week", c = "month", f = "quarter", h = "year", d = "date", l = "Invalid Date", $ = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, y = /\[([^\]]+)]|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, M = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(t2) {
21073
- var e2 = ["th", "st", "nd", "rd"], n2 = t2 % 100;
21074
- return "[" + t2 + (e2[(n2 - 20) % 10] || e2[n2] || e2[0]) + "]";
21075
- } }, m = function(t2, e2, n2) {
21076
- var r3 = String(t2);
21077
- return !r3 || r3.length >= e2 ? t2 : "" + Array(e2 + 1 - r3.length).join(n2) + t2;
21078
- }, v = { s: m, z: function(t2) {
21079
- var e2 = -t2.utcOffset(), n2 = Math.abs(e2), r3 = Math.floor(n2 / 60), i2 = n2 % 60;
21080
- return (e2 <= 0 ? "+" : "-") + m(r3, 2, "0") + ":" + m(i2, 2, "0");
21081
- }, m: function t2(e2, n2) {
21082
- if (e2.date() < n2.date()) return -t2(n2, e2);
21083
- var r3 = 12 * (n2.year() - e2.year()) + (n2.month() - e2.month()), i2 = e2.clone().add(r3, c), s2 = n2 - i2 < 0, u2 = e2.clone().add(r3 + (s2 ? -1 : 1), c);
21084
- return +(-(r3 + (n2 - i2) / (s2 ? i2 - u2 : u2 - i2)) || 0);
21085
- }, a: function(t2) {
21086
- return t2 < 0 ? Math.ceil(t2) || 0 : Math.floor(t2);
21087
- }, p: function(t2) {
21088
- return { M: c, y: h, w: o, d: a, D: d, h: u, m: s, s: i, ms: r2, Q: f }[t2] || String(t2 || "").toLowerCase().replace(/s$/, "");
21089
- }, u: function(t2) {
21090
- return void 0 === t2;
21091
- } }, g = "en", D = {};
21092
- D[g] = M;
21093
- var p = "$isDayjsObject", S = function(t2) {
21094
- return t2 instanceof _ || !(!t2 || !t2[p]);
21095
- }, w2 = function t2(e2, n2, r3) {
21096
- var i2;
21097
- if (!e2) return g;
21098
- if ("string" == typeof e2) {
21099
- var s2 = e2.toLowerCase();
21100
- D[s2] && (i2 = s2), n2 && (D[s2] = n2, i2 = s2);
21101
- var u2 = e2.split("-");
21102
- if (!i2 && u2.length > 1) return t2(u2[0]);
21103
- } else {
21104
- var a2 = e2.name;
21105
- D[a2] = e2, i2 = a2;
21106
- }
21107
- return !r3 && i2 && (g = i2), i2 || !r3 && g;
21108
- }, O = function(t2, e2) {
21109
- if (S(t2)) return t2.clone();
21110
- var n2 = "object" == typeof e2 ? e2 : {};
21111
- return n2.date = t2, n2.args = arguments, new _(n2);
21112
- }, b = v;
21113
- b.l = w2, b.i = S, b.w = function(t2, e2) {
21114
- return O(t2, { locale: e2.$L, utc: e2.$u, x: e2.$x, $offset: e2.$offset });
21115
- };
21116
- var _ = function() {
21117
- function M2(t2) {
21118
- this.$L = w2(t2.locale, null, true), this.parse(t2), this.$x = this.$x || t2.x || {}, this[p] = true;
21119
- }
21120
- var m2 = M2.prototype;
21121
- return m2.parse = function(t2) {
21122
- this.$d = function(t3) {
21123
- var e2 = t3.date, n2 = t3.utc;
21124
- if (null === e2) return /* @__PURE__ */ new Date(NaN);
21125
- if (b.u(e2)) return /* @__PURE__ */ new Date();
21126
- if (e2 instanceof Date) return new Date(e2);
21127
- if ("string" == typeof e2 && !/Z$/i.test(e2)) {
21128
- var r3 = e2.match($);
21129
- if (r3) {
21130
- var i2 = r3[2] - 1 || 0, s2 = (r3[7] || "0").substring(0, 3);
21131
- return n2 ? new Date(Date.UTC(r3[1], i2, r3[3] || 1, r3[4] || 0, r3[5] || 0, r3[6] || 0, s2)) : new Date(r3[1], i2, r3[3] || 1, r3[4] || 0, r3[5] || 0, r3[6] || 0, s2);
21132
- }
21133
- }
21134
- return new Date(e2);
21135
- }(t2), this.init();
21136
- }, m2.init = function() {
21137
- var t2 = this.$d;
21138
- this.$y = t2.getFullYear(), this.$M = t2.getMonth(), this.$D = t2.getDate(), this.$W = t2.getDay(), this.$H = t2.getHours(), this.$m = t2.getMinutes(), this.$s = t2.getSeconds(), this.$ms = t2.getMilliseconds();
21139
- }, m2.$utils = function() {
21140
- return b;
21141
- }, m2.isValid = function() {
21142
- return !(this.$d.toString() === l);
21143
- }, m2.isSame = function(t2, e2) {
21144
- var n2 = O(t2);
21145
- return this.startOf(e2) <= n2 && n2 <= this.endOf(e2);
21146
- }, m2.isAfter = function(t2, e2) {
21147
- return O(t2) < this.startOf(e2);
21148
- }, m2.isBefore = function(t2, e2) {
21149
- return this.endOf(e2) < O(t2);
21150
- }, m2.$g = function(t2, e2, n2) {
21151
- return b.u(t2) ? this[e2] : this.set(n2, t2);
21152
- }, m2.unix = function() {
21153
- return Math.floor(this.valueOf() / 1e3);
21154
- }, m2.valueOf = function() {
21155
- return this.$d.getTime();
21156
- }, m2.startOf = function(t2, e2) {
21157
- var n2 = this, r3 = !!b.u(e2) || e2, f2 = b.p(t2), l2 = function(t3, e3) {
21158
- var i2 = b.w(n2.$u ? Date.UTC(n2.$y, e3, t3) : new Date(n2.$y, e3, t3), n2);
21159
- return r3 ? i2 : i2.endOf(a);
21160
- }, $2 = function(t3, e3) {
21161
- return b.w(n2.toDate()[t3].apply(n2.toDate("s"), (r3 ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(e3)), n2);
21162
- }, y2 = this.$W, M3 = this.$M, m3 = this.$D, v2 = "set" + (this.$u ? "UTC" : "");
21163
- switch (f2) {
21164
- case h:
21165
- return r3 ? l2(1, 0) : l2(31, 11);
21166
- case c:
21167
- return r3 ? l2(1, M3) : l2(0, M3 + 1);
21168
- case o:
21169
- var g2 = this.$locale().weekStart || 0, D2 = (y2 < g2 ? y2 + 7 : y2) - g2;
21170
- return l2(r3 ? m3 - D2 : m3 + (6 - D2), M3);
21171
- case a:
21172
- case d:
21173
- return $2(v2 + "Hours", 0);
21174
- case u:
21175
- return $2(v2 + "Minutes", 1);
21176
- case s:
21177
- return $2(v2 + "Seconds", 2);
21178
- case i:
21179
- return $2(v2 + "Milliseconds", 3);
21180
- default:
21181
- return this.clone();
21068
+ var hasRequiredDayjs_min;
21069
+ function requireDayjs_min() {
21070
+ if (hasRequiredDayjs_min) return dayjs_min.exports;
21071
+ hasRequiredDayjs_min = 1;
21072
+ (function(module, exports) {
21073
+ !function(t, e) {
21074
+ module.exports = e();
21075
+ }(commonjsGlobal, function() {
21076
+ var t = 1e3, e = 6e4, n = 36e5, r2 = "millisecond", i = "second", s = "minute", u = "hour", a = "day", o = "week", c = "month", f = "quarter", h = "year", d = "date", l = "Invalid Date", $ = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, y = /\[([^\]]+)]|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, M = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(t2) {
21077
+ var e2 = ["th", "st", "nd", "rd"], n2 = t2 % 100;
21078
+ return "[" + t2 + (e2[(n2 - 20) % 10] || e2[n2] || e2[0]) + "]";
21079
+ } }, m = function(t2, e2, n2) {
21080
+ var r3 = String(t2);
21081
+ return !r3 || r3.length >= e2 ? t2 : "" + Array(e2 + 1 - r3.length).join(n2) + t2;
21082
+ }, v = { s: m, z: function(t2) {
21083
+ var e2 = -t2.utcOffset(), n2 = Math.abs(e2), r3 = Math.floor(n2 / 60), i2 = n2 % 60;
21084
+ return (e2 <= 0 ? "+" : "-") + m(r3, 2, "0") + ":" + m(i2, 2, "0");
21085
+ }, m: function t2(e2, n2) {
21086
+ if (e2.date() < n2.date()) return -t2(n2, e2);
21087
+ var r3 = 12 * (n2.year() - e2.year()) + (n2.month() - e2.month()), i2 = e2.clone().add(r3, c), s2 = n2 - i2 < 0, u2 = e2.clone().add(r3 + (s2 ? -1 : 1), c);
21088
+ return +(-(r3 + (n2 - i2) / (s2 ? i2 - u2 : u2 - i2)) || 0);
21089
+ }, a: function(t2) {
21090
+ return t2 < 0 ? Math.ceil(t2) || 0 : Math.floor(t2);
21091
+ }, p: function(t2) {
21092
+ return { M: c, y: h, w: o, d: a, D: d, h: u, m: s, s: i, ms: r2, Q: f }[t2] || String(t2 || "").toLowerCase().replace(/s$/, "");
21093
+ }, u: function(t2) {
21094
+ return void 0 === t2;
21095
+ } }, g = "en", D = {};
21096
+ D[g] = M;
21097
+ var p = "$isDayjsObject", S = function(t2) {
21098
+ return t2 instanceof _ || !(!t2 || !t2[p]);
21099
+ }, w2 = function t2(e2, n2, r3) {
21100
+ var i2;
21101
+ if (!e2) return g;
21102
+ if ("string" == typeof e2) {
21103
+ var s2 = e2.toLowerCase();
21104
+ D[s2] && (i2 = s2), n2 && (D[s2] = n2, i2 = s2);
21105
+ var u2 = e2.split("-");
21106
+ if (!i2 && u2.length > 1) return t2(u2[0]);
21107
+ } else {
21108
+ var a2 = e2.name;
21109
+ D[a2] = e2, i2 = a2;
21182
21110
  }
21183
- }, m2.endOf = function(t2) {
21184
- return this.startOf(t2, false);
21185
- }, m2.$set = function(t2, e2) {
21186
- var n2, o2 = b.p(t2), f2 = "set" + (this.$u ? "UTC" : ""), l2 = (n2 = {}, n2[a] = f2 + "Date", n2[d] = f2 + "Date", n2[c] = f2 + "Month", n2[h] = f2 + "FullYear", n2[u] = f2 + "Hours", n2[s] = f2 + "Minutes", n2[i] = f2 + "Seconds", n2[r2] = f2 + "Milliseconds", n2)[o2], $2 = o2 === a ? this.$D + (e2 - this.$W) : e2;
21187
- if (o2 === c || o2 === h) {
21188
- var y2 = this.clone().set(d, 1);
21189
- y2.$d[l2]($2), y2.init(), this.$d = y2.set(d, Math.min(this.$D, y2.daysInMonth())).$d;
21190
- } else l2 && this.$d[l2]($2);
21191
- return this.init(), this;
21192
- }, m2.set = function(t2, e2) {
21193
- return this.clone().$set(t2, e2);
21194
- }, m2.get = function(t2) {
21195
- return this[b.p(t2)]();
21196
- }, m2.add = function(r3, f2) {
21197
- var d2, l2 = this;
21198
- r3 = Number(r3);
21199
- var $2 = b.p(f2), y2 = function(t2) {
21200
- var e2 = O(l2);
21201
- return b.w(e2.date(e2.date() + Math.round(t2 * r3)), l2);
21202
- };
21203
- if ($2 === c) return this.set(c, this.$M + r3);
21204
- if ($2 === h) return this.set(h, this.$y + r3);
21205
- if ($2 === a) return y2(1);
21206
- if ($2 === o) return y2(7);
21207
- var M3 = (d2 = {}, d2[s] = e, d2[u] = n, d2[i] = t, d2)[$2] || 1, m3 = this.$d.getTime() + r3 * M3;
21208
- return b.w(m3, this);
21209
- }, m2.subtract = function(t2, e2) {
21210
- return this.add(-1 * t2, e2);
21211
- }, m2.format = function(t2) {
21212
- var e2 = this, n2 = this.$locale();
21213
- if (!this.isValid()) return n2.invalidDate || l;
21214
- var r3 = t2 || "YYYY-MM-DDTHH:mm:ssZ", i2 = b.z(this), s2 = this.$H, u2 = this.$m, a2 = this.$M, o2 = n2.weekdays, c2 = n2.months, f2 = n2.meridiem, h2 = function(t3, n3, i3, s3) {
21215
- return t3 && (t3[n3] || t3(e2, r3)) || i3[n3].slice(0, s3);
21216
- }, d2 = function(t3) {
21217
- return b.s(s2 % 12 || 12, t3, "0");
21218
- }, $2 = f2 || function(t3, e3, n3) {
21219
- var r4 = t3 < 12 ? "AM" : "PM";
21220
- return n3 ? r4.toLowerCase() : r4;
21221
- };
21222
- return r3.replace(y, function(t3, r4) {
21223
- return r4 || function(t4) {
21224
- switch (t4) {
21225
- case "YY":
21226
- return String(e2.$y).slice(-2);
21227
- case "YYYY":
21228
- return b.s(e2.$y, 4, "0");
21229
- case "M":
21230
- return a2 + 1;
21231
- case "MM":
21232
- return b.s(a2 + 1, 2, "0");
21233
- case "MMM":
21234
- return h2(n2.monthsShort, a2, c2, 3);
21235
- case "MMMM":
21236
- return h2(c2, a2);
21237
- case "D":
21238
- return e2.$D;
21239
- case "DD":
21240
- return b.s(e2.$D, 2, "0");
21241
- case "d":
21242
- return String(e2.$W);
21243
- case "dd":
21244
- return h2(n2.weekdaysMin, e2.$W, o2, 2);
21245
- case "ddd":
21246
- return h2(n2.weekdaysShort, e2.$W, o2, 3);
21247
- case "dddd":
21248
- return o2[e2.$W];
21249
- case "H":
21250
- return String(s2);
21251
- case "HH":
21252
- return b.s(s2, 2, "0");
21253
- case "h":
21254
- return d2(1);
21255
- case "hh":
21256
- return d2(2);
21257
- case "a":
21258
- return $2(s2, u2, true);
21259
- case "A":
21260
- return $2(s2, u2, false);
21261
- case "m":
21262
- return String(u2);
21263
- case "mm":
21264
- return b.s(u2, 2, "0");
21265
- case "s":
21266
- return String(e2.$s);
21267
- case "ss":
21268
- return b.s(e2.$s, 2, "0");
21269
- case "SSS":
21270
- return b.s(e2.$ms, 3, "0");
21271
- case "Z":
21272
- return i2;
21111
+ return !r3 && i2 && (g = i2), i2 || !r3 && g;
21112
+ }, O = function(t2, e2) {
21113
+ if (S(t2)) return t2.clone();
21114
+ var n2 = "object" == typeof e2 ? e2 : {};
21115
+ return n2.date = t2, n2.args = arguments, new _(n2);
21116
+ }, b = v;
21117
+ b.l = w2, b.i = S, b.w = function(t2, e2) {
21118
+ return O(t2, { locale: e2.$L, utc: e2.$u, x: e2.$x, $offset: e2.$offset });
21119
+ };
21120
+ var _ = function() {
21121
+ function M2(t2) {
21122
+ this.$L = w2(t2.locale, null, true), this.parse(t2), this.$x = this.$x || t2.x || {}, this[p] = true;
21123
+ }
21124
+ var m2 = M2.prototype;
21125
+ return m2.parse = function(t2) {
21126
+ this.$d = function(t3) {
21127
+ var e2 = t3.date, n2 = t3.utc;
21128
+ if (null === e2) return /* @__PURE__ */ new Date(NaN);
21129
+ if (b.u(e2)) return /* @__PURE__ */ new Date();
21130
+ if (e2 instanceof Date) return new Date(e2);
21131
+ if ("string" == typeof e2 && !/Z$/i.test(e2)) {
21132
+ var r3 = e2.match($);
21133
+ if (r3) {
21134
+ var i2 = r3[2] - 1 || 0, s2 = (r3[7] || "0").substring(0, 3);
21135
+ return n2 ? new Date(Date.UTC(r3[1], i2, r3[3] || 1, r3[4] || 0, r3[5] || 0, r3[6] || 0, s2)) : new Date(r3[1], i2, r3[3] || 1, r3[4] || 0, r3[5] || 0, r3[6] || 0, s2);
21136
+ }
21273
21137
  }
21274
- return null;
21275
- }(t3) || i2.replace(":", "");
21276
- });
21277
- }, m2.utcOffset = function() {
21278
- return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
21279
- }, m2.diff = function(r3, d2, l2) {
21280
- var $2, y2 = this, M3 = b.p(d2), m3 = O(r3), v2 = (m3.utcOffset() - this.utcOffset()) * e, g2 = this - m3, D2 = function() {
21281
- return b.m(y2, m3);
21138
+ return new Date(e2);
21139
+ }(t2), this.init();
21140
+ }, m2.init = function() {
21141
+ var t2 = this.$d;
21142
+ this.$y = t2.getFullYear(), this.$M = t2.getMonth(), this.$D = t2.getDate(), this.$W = t2.getDay(), this.$H = t2.getHours(), this.$m = t2.getMinutes(), this.$s = t2.getSeconds(), this.$ms = t2.getMilliseconds();
21143
+ }, m2.$utils = function() {
21144
+ return b;
21145
+ }, m2.isValid = function() {
21146
+ return !(this.$d.toString() === l);
21147
+ }, m2.isSame = function(t2, e2) {
21148
+ var n2 = O(t2);
21149
+ return this.startOf(e2) <= n2 && n2 <= this.endOf(e2);
21150
+ }, m2.isAfter = function(t2, e2) {
21151
+ return O(t2) < this.startOf(e2);
21152
+ }, m2.isBefore = function(t2, e2) {
21153
+ return this.endOf(e2) < O(t2);
21154
+ }, m2.$g = function(t2, e2, n2) {
21155
+ return b.u(t2) ? this[e2] : this.set(n2, t2);
21156
+ }, m2.unix = function() {
21157
+ return Math.floor(this.valueOf() / 1e3);
21158
+ }, m2.valueOf = function() {
21159
+ return this.$d.getTime();
21160
+ }, m2.startOf = function(t2, e2) {
21161
+ var n2 = this, r3 = !!b.u(e2) || e2, f2 = b.p(t2), l2 = function(t3, e3) {
21162
+ var i2 = b.w(n2.$u ? Date.UTC(n2.$y, e3, t3) : new Date(n2.$y, e3, t3), n2);
21163
+ return r3 ? i2 : i2.endOf(a);
21164
+ }, $2 = function(t3, e3) {
21165
+ return b.w(n2.toDate()[t3].apply(n2.toDate("s"), (r3 ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(e3)), n2);
21166
+ }, y2 = this.$W, M3 = this.$M, m3 = this.$D, v2 = "set" + (this.$u ? "UTC" : "");
21167
+ switch (f2) {
21168
+ case h:
21169
+ return r3 ? l2(1, 0) : l2(31, 11);
21170
+ case c:
21171
+ return r3 ? l2(1, M3) : l2(0, M3 + 1);
21172
+ case o:
21173
+ var g2 = this.$locale().weekStart || 0, D2 = (y2 < g2 ? y2 + 7 : y2) - g2;
21174
+ return l2(r3 ? m3 - D2 : m3 + (6 - D2), M3);
21175
+ case a:
21176
+ case d:
21177
+ return $2(v2 + "Hours", 0);
21178
+ case u:
21179
+ return $2(v2 + "Minutes", 1);
21180
+ case s:
21181
+ return $2(v2 + "Seconds", 2);
21182
+ case i:
21183
+ return $2(v2 + "Milliseconds", 3);
21184
+ default:
21185
+ return this.clone();
21186
+ }
21187
+ }, m2.endOf = function(t2) {
21188
+ return this.startOf(t2, false);
21189
+ }, m2.$set = function(t2, e2) {
21190
+ var n2, o2 = b.p(t2), f2 = "set" + (this.$u ? "UTC" : ""), l2 = (n2 = {}, n2[a] = f2 + "Date", n2[d] = f2 + "Date", n2[c] = f2 + "Month", n2[h] = f2 + "FullYear", n2[u] = f2 + "Hours", n2[s] = f2 + "Minutes", n2[i] = f2 + "Seconds", n2[r2] = f2 + "Milliseconds", n2)[o2], $2 = o2 === a ? this.$D + (e2 - this.$W) : e2;
21191
+ if (o2 === c || o2 === h) {
21192
+ var y2 = this.clone().set(d, 1);
21193
+ y2.$d[l2]($2), y2.init(), this.$d = y2.set(d, Math.min(this.$D, y2.daysInMonth())).$d;
21194
+ } else l2 && this.$d[l2]($2);
21195
+ return this.init(), this;
21196
+ }, m2.set = function(t2, e2) {
21197
+ return this.clone().$set(t2, e2);
21198
+ }, m2.get = function(t2) {
21199
+ return this[b.p(t2)]();
21200
+ }, m2.add = function(r3, f2) {
21201
+ var d2, l2 = this;
21202
+ r3 = Number(r3);
21203
+ var $2 = b.p(f2), y2 = function(t2) {
21204
+ var e2 = O(l2);
21205
+ return b.w(e2.date(e2.date() + Math.round(t2 * r3)), l2);
21206
+ };
21207
+ if ($2 === c) return this.set(c, this.$M + r3);
21208
+ if ($2 === h) return this.set(h, this.$y + r3);
21209
+ if ($2 === a) return y2(1);
21210
+ if ($2 === o) return y2(7);
21211
+ var M3 = (d2 = {}, d2[s] = e, d2[u] = n, d2[i] = t, d2)[$2] || 1, m3 = this.$d.getTime() + r3 * M3;
21212
+ return b.w(m3, this);
21213
+ }, m2.subtract = function(t2, e2) {
21214
+ return this.add(-1 * t2, e2);
21215
+ }, m2.format = function(t2) {
21216
+ var e2 = this, n2 = this.$locale();
21217
+ if (!this.isValid()) return n2.invalidDate || l;
21218
+ var r3 = t2 || "YYYY-MM-DDTHH:mm:ssZ", i2 = b.z(this), s2 = this.$H, u2 = this.$m, a2 = this.$M, o2 = n2.weekdays, c2 = n2.months, f2 = n2.meridiem, h2 = function(t3, n3, i3, s3) {
21219
+ return t3 && (t3[n3] || t3(e2, r3)) || i3[n3].slice(0, s3);
21220
+ }, d2 = function(t3) {
21221
+ return b.s(s2 % 12 || 12, t3, "0");
21222
+ }, $2 = f2 || function(t3, e3, n3) {
21223
+ var r4 = t3 < 12 ? "AM" : "PM";
21224
+ return n3 ? r4.toLowerCase() : r4;
21225
+ };
21226
+ return r3.replace(y, function(t3, r4) {
21227
+ return r4 || function(t4) {
21228
+ switch (t4) {
21229
+ case "YY":
21230
+ return String(e2.$y).slice(-2);
21231
+ case "YYYY":
21232
+ return b.s(e2.$y, 4, "0");
21233
+ case "M":
21234
+ return a2 + 1;
21235
+ case "MM":
21236
+ return b.s(a2 + 1, 2, "0");
21237
+ case "MMM":
21238
+ return h2(n2.monthsShort, a2, c2, 3);
21239
+ case "MMMM":
21240
+ return h2(c2, a2);
21241
+ case "D":
21242
+ return e2.$D;
21243
+ case "DD":
21244
+ return b.s(e2.$D, 2, "0");
21245
+ case "d":
21246
+ return String(e2.$W);
21247
+ case "dd":
21248
+ return h2(n2.weekdaysMin, e2.$W, o2, 2);
21249
+ case "ddd":
21250
+ return h2(n2.weekdaysShort, e2.$W, o2, 3);
21251
+ case "dddd":
21252
+ return o2[e2.$W];
21253
+ case "H":
21254
+ return String(s2);
21255
+ case "HH":
21256
+ return b.s(s2, 2, "0");
21257
+ case "h":
21258
+ return d2(1);
21259
+ case "hh":
21260
+ return d2(2);
21261
+ case "a":
21262
+ return $2(s2, u2, true);
21263
+ case "A":
21264
+ return $2(s2, u2, false);
21265
+ case "m":
21266
+ return String(u2);
21267
+ case "mm":
21268
+ return b.s(u2, 2, "0");
21269
+ case "s":
21270
+ return String(e2.$s);
21271
+ case "ss":
21272
+ return b.s(e2.$s, 2, "0");
21273
+ case "SSS":
21274
+ return b.s(e2.$ms, 3, "0");
21275
+ case "Z":
21276
+ return i2;
21277
+ }
21278
+ return null;
21279
+ }(t3) || i2.replace(":", "");
21280
+ });
21281
+ }, m2.utcOffset = function() {
21282
+ return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
21283
+ }, m2.diff = function(r3, d2, l2) {
21284
+ var $2, y2 = this, M3 = b.p(d2), m3 = O(r3), v2 = (m3.utcOffset() - this.utcOffset()) * e, g2 = this - m3, D2 = function() {
21285
+ return b.m(y2, m3);
21286
+ };
21287
+ switch (M3) {
21288
+ case h:
21289
+ $2 = D2() / 12;
21290
+ break;
21291
+ case c:
21292
+ $2 = D2();
21293
+ break;
21294
+ case f:
21295
+ $2 = D2() / 3;
21296
+ break;
21297
+ case o:
21298
+ $2 = (g2 - v2) / 6048e5;
21299
+ break;
21300
+ case a:
21301
+ $2 = (g2 - v2) / 864e5;
21302
+ break;
21303
+ case u:
21304
+ $2 = g2 / n;
21305
+ break;
21306
+ case s:
21307
+ $2 = g2 / e;
21308
+ break;
21309
+ case i:
21310
+ $2 = g2 / t;
21311
+ break;
21312
+ default:
21313
+ $2 = g2;
21314
+ }
21315
+ return l2 ? $2 : b.a($2);
21316
+ }, m2.daysInMonth = function() {
21317
+ return this.endOf(c).$D;
21318
+ }, m2.$locale = function() {
21319
+ return D[this.$L];
21320
+ }, m2.locale = function(t2, e2) {
21321
+ if (!t2) return this.$L;
21322
+ var n2 = this.clone(), r3 = w2(t2, e2, true);
21323
+ return r3 && (n2.$L = r3), n2;
21324
+ }, m2.clone = function() {
21325
+ return b.w(this.$d, this);
21326
+ }, m2.toDate = function() {
21327
+ return new Date(this.valueOf());
21328
+ }, m2.toJSON = function() {
21329
+ return this.isValid() ? this.toISOString() : null;
21330
+ }, m2.toISOString = function() {
21331
+ return this.$d.toISOString();
21332
+ }, m2.toString = function() {
21333
+ return this.$d.toUTCString();
21334
+ }, M2;
21335
+ }(), k = _.prototype;
21336
+ return O.prototype = k, [["$ms", r2], ["$s", i], ["$m", s], ["$H", u], ["$W", a], ["$M", c], ["$y", h], ["$D", d]].forEach(function(t2) {
21337
+ k[t2[1]] = function(e2) {
21338
+ return this.$g(e2, t2[0], t2[1]);
21282
21339
  };
21283
- switch (M3) {
21284
- case h:
21285
- $2 = D2() / 12;
21286
- break;
21287
- case c:
21288
- $2 = D2();
21289
- break;
21290
- case f:
21291
- $2 = D2() / 3;
21292
- break;
21293
- case o:
21294
- $2 = (g2 - v2) / 6048e5;
21295
- break;
21296
- case a:
21297
- $2 = (g2 - v2) / 864e5;
21298
- break;
21299
- case u:
21300
- $2 = g2 / n;
21301
- break;
21302
- case s:
21303
- $2 = g2 / e;
21304
- break;
21305
- case i:
21306
- $2 = g2 / t;
21307
- break;
21308
- default:
21309
- $2 = g2;
21310
- }
21311
- return l2 ? $2 : b.a($2);
21312
- }, m2.daysInMonth = function() {
21313
- return this.endOf(c).$D;
21314
- }, m2.$locale = function() {
21315
- return D[this.$L];
21316
- }, m2.locale = function(t2, e2) {
21317
- if (!t2) return this.$L;
21318
- var n2 = this.clone(), r3 = w2(t2, e2, true);
21319
- return r3 && (n2.$L = r3), n2;
21320
- }, m2.clone = function() {
21321
- return b.w(this.$d, this);
21322
- }, m2.toDate = function() {
21323
- return new Date(this.valueOf());
21324
- }, m2.toJSON = function() {
21325
- return this.isValid() ? this.toISOString() : null;
21326
- }, m2.toISOString = function() {
21327
- return this.$d.toISOString();
21328
- }, m2.toString = function() {
21329
- return this.$d.toUTCString();
21330
- }, M2;
21331
- }(), k = _.prototype;
21332
- return O.prototype = k, [["$ms", r2], ["$s", i], ["$m", s], ["$H", u], ["$W", a], ["$M", c], ["$y", h], ["$D", d]].forEach(function(t2) {
21333
- k[t2[1]] = function(e2) {
21334
- return this.$g(e2, t2[0], t2[1]);
21335
- };
21336
- }), O.extend = function(t2, e2) {
21337
- return t2.$i || (t2(e2, _, O), t2.$i = true), O;
21338
- }, O.locale = w2, O.isDayjs = S, O.unix = function(t2) {
21339
- return O(1e3 * t2);
21340
- }, O.en = D[g], O.Ls = D, O.p = {}, O;
21341
- });
21342
- })(dayjs_min);
21343
- var dayjs_minExports = dayjs_min.exports;
21340
+ }), O.extend = function(t2, e2) {
21341
+ return t2.$i || (t2(e2, _, O), t2.$i = true), O;
21342
+ }, O.locale = w2, O.isDayjs = S, O.unix = function(t2) {
21343
+ return O(1e3 * t2);
21344
+ }, O.en = D[g], O.Ls = D, O.p = {}, O;
21345
+ });
21346
+ })(dayjs_min);
21347
+ return dayjs_min.exports;
21348
+ }
21349
+ var dayjs_minExports = requireDayjs_min();
21344
21350
  const dayjs = /* @__PURE__ */ getDefaultExportFromCjs(dayjs_minExports);
21345
21351
  var es$2 = { exports: {} };
21346
21352
  (function(module, exports) {
21347
21353
  !function(e, o) {
21348
- module.exports = o(dayjs_minExports);
21354
+ module.exports = o(requireDayjs_min());
21349
21355
  }(commonjsGlobal, function(e) {
21350
21356
  function o(e2) {
21351
21357
  return e2 && "object" == typeof e2 && "default" in e2 ? e2 : { default: e2 };
@@ -66060,7 +66066,7 @@ const styles$q = {
66060
66066
  "link-container": "emptyState-module_link-container_kXroF",
66061
66067
  "empty-state-text": "emptyState-module_empty-state-text_W1HX5"
66062
66068
  };
66063
- const link$1 = "link-module_link_Nwimt";
66069
+ const link = "link-module_link_Nwimt";
66064
66070
  const sm$5 = "link-module_sm_Roymo";
66065
66071
  const md$3 = "link-module_md_MM1DP";
66066
66072
  const lg$4 = "link-module_lg_Yh-xD";
@@ -66068,7 +66074,7 @@ const none = "link-module_none_S8BaL";
66068
66074
  const underline = "link-module_underline_PqOji";
66069
66075
  const disabled$3 = "link-module_disabled_BgNPl";
66070
66076
  const styles$p = {
66071
- link: link$1,
66077
+ link,
66072
66078
  sm: sm$5,
66073
66079
  md: md$3,
66074
66080
  lg: lg$4,
@@ -67734,15 +67740,16 @@ const PickChannelModalBase = ({
67734
67740
  open,
67735
67741
  onClose,
67736
67742
  channels,
67743
+ fitContent = true,
67744
+ generalEditionTitle,
67745
+ channelEditionTitle,
67737
67746
  generalEditionDescription,
67738
67747
  channelEditionDescription,
67739
67748
  showGeneralEdition = false,
67740
67749
  onSelectChannel = () => {
67741
67750
  },
67742
- titleProps = { title: locale("pickChannelModal.title") },
67743
- generalEditionTitle,
67744
- channelEditionTitle
67745
- }) => /* @__PURE__ */ jsxs(Modal2, { open, onClose, size: "md", fitContent: true, className: styles$g["modal"], children: [
67751
+ titleProps = { title: locale("pickChannelModal.title") }
67752
+ }) => /* @__PURE__ */ jsxs(Modal2, { open, onClose, size: "md", fitContent, className: styles$g["modal"], children: [
67746
67753
  /* @__PURE__ */ jsx$1(Modal2.Title, { ...titleProps }),
67747
67754
  /* @__PURE__ */ jsx$1(Modal2.Body, { className: styles$g["body"], children: /* @__PURE__ */ jsxs("div", { className: styles$g["sections"], children: [
67748
67755
  showGeneralEdition && /* @__PURE__ */ jsxs("section", { className: styles$g["section"], children: [
@@ -68265,7 +68272,7 @@ const CheckCircle = createSvgIcon(/* @__PURE__ */ jsx$1("path", {
68265
68272
  const alert = "alert-module_alert_j7ZRS";
68266
68273
  const icon = "alert-module_icon_vbZHd";
68267
68274
  const message = "alert-module_message_klR2U";
68268
- const link = "alert-module_link_IrBj3";
68275
+ const close = "alert-module_close_x5ptw";
68269
68276
  const success = "alert-module_success_AVBKS";
68270
68277
  const error = "alert-module_error_cxg96";
68271
68278
  const warning = "alert-module_warning_zkMaJ";
@@ -68275,7 +68282,7 @@ const styles$9 = {
68275
68282
  "full-width": "alert-module_full-width_eKIHw",
68276
68283
  icon,
68277
68284
  message,
68278
- link,
68285
+ close,
68279
68286
  success,
68280
68287
  error,
68281
68288
  warning,
@@ -68288,6 +68295,7 @@ const AlertBase = ({
68288
68295
  icon: icon2,
68289
68296
  fullWidth = false,
68290
68297
  link: link2,
68298
+ onClose,
68291
68299
  ...props
68292
68300
  }) => {
68293
68301
  const defaultIcons = {
@@ -68310,9 +68318,10 @@ const AlertBase = ({
68310
68318
  ] }),
68311
68319
  link2 && /* @__PURE__ */ jsxs(Fragment$1, { children: [
68312
68320
  " ",
68313
- /* @__PURE__ */ jsx$1("a", { href: link2?.href, className: styles$9["link"], onClick: link2?.onClick, children: link2.text })
68321
+ /* @__PURE__ */ jsx$1(Link, { href: link2.href ?? "#", size: "sm", weight: 400, decoration: "underline", onClick: link2.onClick, children: link2.text })
68314
68322
  ] })
68315
- ] })
68323
+ ] }),
68324
+ onClose && /* @__PURE__ */ jsx$1("button", { type: "button", className: styles$9["close"], "aria-label": locale("a11y.close"), onClick: onClose, children: /* @__PURE__ */ jsx$1(CustomIcon, { size: "12", color: getColor("grey", "800"), children: /* @__PURE__ */ jsx$1(CloseRoundedIcon, {}) }) })
68316
68325
  ]
68317
68326
  }
68318
68327
  );