@opentiny/vue-runtime 3.24.0 → 3.25.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,43 +1,43 @@
1
1
  import * as p from "vue";
2
- import { t as Ke } from "@opentiny/vue-locale";
3
- function Oe(e, t) {
2
+ import { t as Xe } from "@opentiny/vue-locale";
3
+ function Te(e, t) {
4
4
  (t == null || t > e.length) && (t = e.length);
5
5
  for (var r = 0, n = Array(t); r < t; r++) n[r] = e[r];
6
6
  return n;
7
7
  }
8
- function cr(e) {
9
- if (Array.isArray(e)) return Oe(e);
8
+ function dr(e) {
9
+ if (Array.isArray(e)) return Te(e);
10
10
  }
11
- function ft(e, t) {
11
+ function ct(e, t) {
12
12
  if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function");
13
13
  }
14
- function dr(e, t) {
14
+ function vr(e, t) {
15
15
  for (var r = 0; r < t.length; r++) {
16
16
  var n = t[r];
17
- n.enumerable = n.enumerable || !1, n.configurable = !0, "value" in n && (n.writable = !0), Object.defineProperty(e, vt(n.key), n);
17
+ n.enumerable = n.enumerable || !1, n.configurable = !0, "value" in n && (n.writable = !0), Object.defineProperty(e, pt(n.key), n);
18
18
  }
19
19
  }
20
- function ct(e, t, r) {
21
- return t && dr(e.prototype, t), Object.defineProperty(e, "prototype", {
20
+ function dt(e, t, r) {
21
+ return t && vr(e.prototype, t), Object.defineProperty(e, "prototype", {
22
22
  writable: !1
23
23
  }), e;
24
24
  }
25
- function dt(e, t, r) {
26
- return (t = vt(t)) in e ? Object.defineProperty(e, t, {
25
+ function vt(e, t, r) {
26
+ return (t = pt(t)) in e ? Object.defineProperty(e, t, {
27
27
  value: r,
28
28
  enumerable: !0,
29
29
  configurable: !0,
30
30
  writable: !0
31
31
  }) : e[t] = r, e;
32
32
  }
33
- function vr(e) {
33
+ function pr(e) {
34
34
  if (typeof Symbol < "u" && e[Symbol.iterator] != null || e["@@iterator"] != null) return Array.from(e);
35
35
  }
36
- function pr() {
36
+ function gr() {
37
37
  throw new TypeError(`Invalid attempt to spread non-iterable instance.
38
38
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
39
39
  }
40
- function Xe(e, t) {
40
+ function Ye(e, t) {
41
41
  var r = Object.keys(e);
42
42
  if (Object.getOwnPropertySymbols) {
43
43
  var n = Object.getOwnPropertySymbols(e);
@@ -50,18 +50,18 @@ function Xe(e, t) {
50
50
  function $(e) {
51
51
  for (var t = 1; t < arguments.length; t++) {
52
52
  var r = arguments[t] != null ? arguments[t] : {};
53
- t % 2 ? Xe(Object(r), !0).forEach(function(n) {
54
- dt(e, n, r[n]);
55
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(r)) : Xe(Object(r)).forEach(function(n) {
53
+ t % 2 ? Ye(Object(r), !0).forEach(function(n) {
54
+ vt(e, n, r[n]);
55
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(r)) : Ye(Object(r)).forEach(function(n) {
56
56
  Object.defineProperty(e, n, Object.getOwnPropertyDescriptor(r, n));
57
57
  });
58
58
  }
59
59
  return e;
60
60
  }
61
- function te(e) {
62
- return cr(e) || vr(e) || hr(e) || pr();
61
+ function ee(e) {
62
+ return dr(e) || pr(e) || mr(e) || gr();
63
63
  }
64
- function gr(e, t) {
64
+ function hr(e, t) {
65
65
  if (typeof e != "object" || !e) return e;
66
66
  var r = e[Symbol.toPrimitive];
67
67
  if (r !== void 0) {
@@ -71,8 +71,8 @@ function gr(e, t) {
71
71
  }
72
72
  return String(e);
73
73
  }
74
- function vt(e) {
75
- var t = gr(e, "string");
74
+ function pt(e) {
75
+ var t = hr(e, "string");
76
76
  return typeof t == "symbol" ? t : t + "";
77
77
  }
78
78
  function j(e) {
@@ -83,31 +83,31 @@ function j(e) {
83
83
  return t && typeof Symbol == "function" && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
84
84
  }, j(e);
85
85
  }
86
- function hr(e, t) {
86
+ function mr(e, t) {
87
87
  if (e) {
88
- if (typeof e == "string") return Oe(e, t);
88
+ if (typeof e == "string") return Te(e, t);
89
89
  var r = {}.toString.call(e).slice(8, -1);
90
- return r === "Object" && e.constructor && (r = e.constructor.name), r === "Map" || r === "Set" ? Array.from(e) : r === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r) ? Oe(e, t) : void 0;
90
+ return r === "Object" && e.constructor && (r = e.constructor.name), r === "Map" || r === "Set" ? Array.from(e) : r === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r) ? Te(e, t) : void 0;
91
91
  }
92
92
  }
93
- var Se = { exports: {} }, b = {}, ke = { exports: {} }, H = {};
94
- function pt() {
93
+ var Oe = { exports: {} }, b = {}, ke = { exports: {} }, U = {};
94
+ function gt() {
95
95
  var e = {};
96
96
  return e["align-content"] = !1, e["align-items"] = !1, e["align-self"] = !1, e["alignment-adjust"] = !1, e["alignment-baseline"] = !1, e.all = !1, e["anchor-point"] = !1, e.animation = !1, e["animation-delay"] = !1, e["animation-direction"] = !1, e["animation-duration"] = !1, e["animation-fill-mode"] = !1, e["animation-iteration-count"] = !1, e["animation-name"] = !1, e["animation-play-state"] = !1, e["animation-timing-function"] = !1, e.azimuth = !1, e["backface-visibility"] = !1, e.background = !0, e["background-attachment"] = !0, e["background-clip"] = !0, e["background-color"] = !0, e["background-image"] = !0, e["background-origin"] = !0, e["background-position"] = !0, e["background-repeat"] = !0, e["background-size"] = !0, e["baseline-shift"] = !1, e.binding = !1, e.bleed = !1, e["bookmark-label"] = !1, e["bookmark-level"] = !1, e["bookmark-state"] = !1, e.border = !0, e["border-bottom"] = !0, e["border-bottom-color"] = !0, e["border-bottom-left-radius"] = !0, e["border-bottom-right-radius"] = !0, e["border-bottom-style"] = !0, e["border-bottom-width"] = !0, e["border-collapse"] = !0, e["border-color"] = !0, e["border-image"] = !0, e["border-image-outset"] = !0, e["border-image-repeat"] = !0, e["border-image-slice"] = !0, e["border-image-source"] = !0, e["border-image-width"] = !0, e["border-left"] = !0, e["border-left-color"] = !0, e["border-left-style"] = !0, e["border-left-width"] = !0, e["border-radius"] = !0, e["border-right"] = !0, e["border-right-color"] = !0, e["border-right-style"] = !0, e["border-right-width"] = !0, e["border-spacing"] = !0, e["border-style"] = !0, e["border-top"] = !0, e["border-top-color"] = !0, e["border-top-left-radius"] = !0, e["border-top-right-radius"] = !0, e["border-top-style"] = !0, e["border-top-width"] = !0, e["border-width"] = !0, e.bottom = !1, e["box-decoration-break"] = !0, e["box-shadow"] = !0, e["box-sizing"] = !0, e["box-snap"] = !0, e["box-suppress"] = !0, e["break-after"] = !0, e["break-before"] = !0, e["break-inside"] = !0, e["caption-side"] = !1, e.chains = !1, e.clear = !0, e.clip = !1, e["clip-path"] = !1, e["clip-rule"] = !1, e.color = !0, e["color-interpolation-filters"] = !0, e["column-count"] = !1, e["column-fill"] = !1, e["column-gap"] = !1, e["column-rule"] = !1, e["column-rule-color"] = !1, e["column-rule-style"] = !1, e["column-rule-width"] = !1, e["column-span"] = !1, e["column-width"] = !1, e.columns = !1, e.contain = !1, e.content = !1, e["counter-increment"] = !1, e["counter-reset"] = !1, e["counter-set"] = !1, e.crop = !1, e.cue = !1, e["cue-after"] = !1, e["cue-before"] = !1, e.cursor = !1, e.direction = !1, e.display = !0, e["display-inside"] = !0, e["display-list"] = !0, e["display-outside"] = !0, e["dominant-baseline"] = !1, e.elevation = !1, e["empty-cells"] = !1, e.filter = !1, e.flex = !1, e["flex-basis"] = !1, e["flex-direction"] = !1, e["flex-flow"] = !1, e["flex-grow"] = !1, e["flex-shrink"] = !1, e["flex-wrap"] = !1, e.float = !1, e["float-offset"] = !1, e["flood-color"] = !1, e["flood-opacity"] = !1, e["flow-from"] = !1, e["flow-into"] = !1, e.font = !0, e["font-family"] = !0, e["font-feature-settings"] = !0, e["font-kerning"] = !0, e["font-language-override"] = !0, e["font-size"] = !0, e["font-size-adjust"] = !0, e["font-stretch"] = !0, e["font-style"] = !0, e["font-synthesis"] = !0, e["font-variant"] = !0, e["font-variant-alternates"] = !0, e["font-variant-caps"] = !0, e["font-variant-east-asian"] = !0, e["font-variant-ligatures"] = !0, e["font-variant-numeric"] = !0, e["font-variant-position"] = !0, e["font-weight"] = !0, e.grid = !1, e["grid-area"] = !1, e["grid-auto-columns"] = !1, e["grid-auto-flow"] = !1, e["grid-auto-rows"] = !1, e["grid-column"] = !1, e["grid-column-end"] = !1, e["grid-column-start"] = !1, e["grid-row"] = !1, e["grid-row-end"] = !1, e["grid-row-start"] = !1, e["grid-template"] = !1, e["grid-template-areas"] = !1, e["grid-template-columns"] = !1, e["grid-template-rows"] = !1, e["hanging-punctuation"] = !1, e.height = !0, e.hyphens = !1, e.icon = !1, e["image-orientation"] = !1, e["image-resolution"] = !1, e["ime-mode"] = !1, e["initial-letters"] = !1, e["inline-box-align"] = !1, e["justify-content"] = !1, e["justify-items"] = !1, e["justify-self"] = !1, e.left = !1, e["letter-spacing"] = !0, e["lighting-color"] = !0, e["line-box-contain"] = !1, e["line-break"] = !1, e["line-grid"] = !1, e["line-height"] = !1, e["line-snap"] = !1, e["line-stacking"] = !1, e["line-stacking-ruby"] = !1, e["line-stacking-shift"] = !1, e["line-stacking-strategy"] = !1, e["list-style"] = !0, e["list-style-image"] = !0, e["list-style-position"] = !0, e["list-style-type"] = !0, e.margin = !0, e["margin-bottom"] = !0, e["margin-left"] = !0, e["margin-right"] = !0, e["margin-top"] = !0, e["marker-offset"] = !1, e["marker-side"] = !1, e.marks = !1, e.mask = !1, e["mask-box"] = !1, e["mask-box-outset"] = !1, e["mask-box-repeat"] = !1, e["mask-box-slice"] = !1, e["mask-box-source"] = !1, e["mask-box-width"] = !1, e["mask-clip"] = !1, e["mask-image"] = !1, e["mask-origin"] = !1, e["mask-position"] = !1, e["mask-repeat"] = !1, e["mask-size"] = !1, e["mask-source-type"] = !1, e["mask-type"] = !1, e["max-height"] = !0, e["max-lines"] = !1, e["max-width"] = !0, e["min-height"] = !0, e["min-width"] = !0, e["move-to"] = !1, e["nav-down"] = !1, e["nav-index"] = !1, e["nav-left"] = !1, e["nav-right"] = !1, e["nav-up"] = !1, e["object-fit"] = !1, e["object-position"] = !1, e.opacity = !1, e.order = !1, e.orphans = !1, e.outline = !1, e["outline-color"] = !1, e["outline-offset"] = !1, e["outline-style"] = !1, e["outline-width"] = !1, e.overflow = !1, e["overflow-wrap"] = !1, e["overflow-x"] = !1, e["overflow-y"] = !1, e.padding = !0, e["padding-bottom"] = !0, e["padding-left"] = !0, e["padding-right"] = !0, e["padding-top"] = !0, e.page = !1, e["page-break-after"] = !1, e["page-break-before"] = !1, e["page-break-inside"] = !1, e["page-policy"] = !1, e.pause = !1, e["pause-after"] = !1, e["pause-before"] = !1, e.perspective = !1, e["perspective-origin"] = !1, e.pitch = !1, e["pitch-range"] = !1, e["play-during"] = !1, e.position = !1, e["presentation-level"] = !1, e.quotes = !1, e["region-fragment"] = !1, e.resize = !1, e.rest = !1, e["rest-after"] = !1, e["rest-before"] = !1, e.richness = !1, e.right = !1, e.rotation = !1, e["rotation-point"] = !1, e["ruby-align"] = !1, e["ruby-merge"] = !1, e["ruby-position"] = !1, e["shape-image-threshold"] = !1, e["shape-outside"] = !1, e["shape-margin"] = !1, e.size = !1, e.speak = !1, e["speak-as"] = !1, e["speak-header"] = !1, e["speak-numeral"] = !1, e["speak-punctuation"] = !1, e["speech-rate"] = !1, e.stress = !1, e["string-set"] = !1, e["tab-size"] = !1, e["table-layout"] = !1, e["text-align"] = !0, e["text-align-last"] = !0, e["text-combine-upright"] = !0, e["text-decoration"] = !0, e["text-decoration-color"] = !0, e["text-decoration-line"] = !0, e["text-decoration-skip"] = !0, e["text-decoration-style"] = !0, e["text-emphasis"] = !0, e["text-emphasis-color"] = !0, e["text-emphasis-position"] = !0, e["text-emphasis-style"] = !0, e["text-height"] = !0, e["text-indent"] = !0, e["text-justify"] = !0, e["text-orientation"] = !0, e["text-overflow"] = !0, e["text-shadow"] = !0, e["text-space-collapse"] = !0, e["text-transform"] = !0, e["text-underline-position"] = !0, e["text-wrap"] = !0, e.top = !1, e.transform = !1, e["transform-origin"] = !1, e["transform-style"] = !1, e.transition = !1, e["transition-delay"] = !1, e["transition-duration"] = !1, e["transition-property"] = !1, e["transition-timing-function"] = !1, e["unicode-bidi"] = !1, e["vertical-align"] = !1, e.visibility = !1, e["voice-balance"] = !1, e["voice-duration"] = !1, e["voice-family"] = !1, e["voice-pitch"] = !1, e["voice-range"] = !1, e["voice-rate"] = !1, e["voice-stress"] = !1, e["voice-volume"] = !1, e.volume = !1, e["white-space"] = !1, e.widows = !1, e.width = !0, e["will-change"] = !1, e["word-break"] = !0, e["word-spacing"] = !0, e["word-wrap"] = !0, e["wrap-flow"] = !1, e["wrap-through"] = !1, e["writing-mode"] = !1, e["z-index"] = !1, e;
97
97
  }
98
- function mr(e, t, r) {
99
- }
100
98
  function yr(e, t, r) {
101
99
  }
102
- var br = /javascript\s*\:/img;
103
- function wr(e, t) {
104
- return br.test(t) ? "" : t;
100
+ function br(e, t, r) {
101
+ }
102
+ var wr = /javascript\s*\:/img;
103
+ function _r(e, t) {
104
+ return wr.test(t) ? "" : t;
105
105
  }
106
- H.whiteList = pt();
107
- H.getDefaultWhiteList = pt;
108
- H.onAttr = mr;
109
- H.onIgnoreAttr = yr;
110
- H.safeAttrValue = wr;
106
+ U.whiteList = gt();
107
+ U.getDefaultWhiteList = gt;
108
+ U.onAttr = yr;
109
+ U.onIgnoreAttr = br;
110
+ U.safeAttrValue = _r;
111
111
  var xr = {
112
112
  indexOf: function(t, r) {
113
113
  var n, i;
@@ -131,15 +131,15 @@ var xr = {
131
131
  trimRight: function(t) {
132
132
  return String.prototype.trimRight ? t.trimRight() : t.replace(/(\s*$)/g, "");
133
133
  }
134
- }, Z = xr;
134
+ }, Q = xr;
135
135
  function Ar(e, t) {
136
- e = Z.trimRight(e), e[e.length - 1] !== ";" && (e += ";");
136
+ e = Q.trimRight(e), e[e.length - 1] !== ";" && (e += ";");
137
137
  var r = e.length, n = !1, i = 0, a = 0, o = "";
138
138
  function s() {
139
139
  if (!n) {
140
- var f = Z.trim(e.slice(i, a)), c = f.indexOf(":");
140
+ var f = Q.trim(e.slice(i, a)), c = f.indexOf(":");
141
141
  if (c !== -1) {
142
- var d = Z.trim(f.slice(0, c)), v = Z.trim(f.slice(c + 1));
142
+ var d = Q.trim(f.slice(0, c)), v = Q.trim(f.slice(c + 1));
143
143
  if (d) {
144
144
  var g = t(i, o.length, d, v, f);
145
145
  g && (o += g + "; ");
@@ -157,22 +157,22 @@ function Ar(e, t) {
157
157
  } else l === "(" ? n = !0 : l === ")" ? n = !1 : l === ";" ? n || s() : l === `
158
158
  ` && s();
159
159
  }
160
- return Z.trim(o);
160
+ return Q.trim(o);
161
161
  }
162
- var Er = Ar, oe = H, Cr = Er;
163
- function Ye(e) {
162
+ var Er = Ar, oe = U, Cr = Er;
163
+ function Qe(e) {
164
164
  return e == null;
165
165
  }
166
- function _r(e) {
166
+ function Tr(e) {
167
167
  var t = {};
168
168
  for (var r in e)
169
169
  t[r] = e[r];
170
170
  return t;
171
171
  }
172
- function gt(e) {
173
- e = _r(e || {}), e.whiteList = e.whiteList || oe.whiteList, e.onAttr = e.onAttr || oe.onAttr, e.onIgnoreAttr = e.onIgnoreAttr || oe.onIgnoreAttr, e.safeAttrValue = e.safeAttrValue || oe.safeAttrValue, this.options = e;
172
+ function ht(e) {
173
+ e = Tr(e || {}), e.whiteList = e.whiteList || oe.whiteList, e.onAttr = e.onAttr || oe.onAttr, e.onIgnoreAttr = e.onIgnoreAttr || oe.onIgnoreAttr, e.safeAttrValue = e.safeAttrValue || oe.safeAttrValue, this.options = e;
174
174
  }
175
- gt.prototype.process = function(e) {
175
+ ht.prototype.process = function(e) {
176
176
  if (e = e || "", e = e.toString(), !e) return "";
177
177
  var t = this, r = t.options, n = r.whiteList, i = r.onAttr, a = r.onIgnoreAttr, o = r.safeAttrValue, s = Cr(e, function(l, u, f, c, d) {
178
178
  var v = n[f], g = !1;
@@ -185,19 +185,19 @@ gt.prototype.process = function(e) {
185
185
  };
186
186
  if (g) {
187
187
  var h = i(f, c, y);
188
- return Ye(h) ? f + ":" + c : h;
188
+ return Qe(h) ? f + ":" + c : h;
189
189
  } else {
190
190
  var h = a(f, c, y);
191
- if (!Ye(h))
191
+ if (!Qe(h))
192
192
  return h;
193
193
  }
194
194
  }
195
195
  });
196
196
  return s;
197
197
  };
198
- var Tr = gt;
198
+ var Or = ht;
199
199
  (function(e, t) {
200
- var r = H, n = Tr;
200
+ var r = U, n = Or;
201
201
  function i(o, s) {
202
202
  var l = new n(s);
203
203
  return l.process(o);
@@ -206,7 +206,7 @@ var Tr = gt;
206
206
  for (var a in r) t[a] = r[a];
207
207
  typeof window < "u" && (window.filterCSS = e.exports);
208
208
  })(ke, ke.exports);
209
- var ze = ke.exports, Ne = {
209
+ var Ne = ke.exports, Be = {
210
210
  indexOf: function(t, r) {
211
211
  var n, i;
212
212
  if (Array.prototype.indexOf)
@@ -230,8 +230,8 @@ var ze = ke.exports, Ne = {
230
230
  var r = /\s|\n|\t/, n = r.exec(t);
231
231
  return n ? n.index : -1;
232
232
  }
233
- }, Or = ze.FilterCSS, Sr = ze.getDefaultWhiteList, he = Ne;
234
- function ht() {
233
+ }, kr = Ne.FilterCSS, Sr = Ne.getDefaultWhiteList, he = Be;
234
+ function mt() {
235
235
  return {
236
236
  a: ["target", "href", "title"],
237
237
  abbr: ["title"],
@@ -302,19 +302,19 @@ function ht() {
302
302
  video: ["autoplay", "controls", "crossorigin", "loop", "muted", "playsinline", "poster", "preload", "src", "height", "width"]
303
303
  };
304
304
  }
305
- var mt = new Or();
306
- function kr(e, t, r) {
307
- }
305
+ var yt = new kr();
308
306
  function Ir(e, t, r) {
309
307
  }
310
308
  function Pr(e, t, r) {
311
309
  }
312
310
  function Mr(e, t, r) {
313
311
  }
314
- function yt(e) {
315
- return e.replace($r, "&lt;").replace(Lr, "&gt;");
312
+ function Rr(e, t, r) {
313
+ }
314
+ function bt(e) {
315
+ return e.replace(Lr, "&lt;").replace(Fr, "&gt;");
316
316
  }
317
- function Rr(e, t, r, n) {
317
+ function $r(e, t, r, n) {
318
318
  if (r = Ct(r), t === "href" || t === "src") {
319
319
  if (r = he.trim(r), r === "#") return "#";
320
320
  if (!(r.substr(0, 7) === "http://" || r.substr(0, 8) === "https://" || r.substr(0, 7) === "mailto:" || r.substr(0, 4) === "tel:" || r.substr(0, 11) === "data:image/" || r.substr(0, 6) === "ftp://" || r.substr(0, 2) === "./" || r.substr(0, 3) === "../" || r[0] === "#" || r[0] === "/"))
@@ -323,26 +323,26 @@ function Rr(e, t, r, n) {
323
323
  if (se.lastIndex = 0, se.test(r))
324
324
  return "";
325
325
  } else if (t === "style") {
326
- if (Qe.lastIndex = 0, Qe.test(r) || (Ze.lastIndex = 0, Ze.test(r) && (se.lastIndex = 0, se.test(r))))
326
+ if (Ze.lastIndex = 0, Ze.test(r) || (Je.lastIndex = 0, Je.test(r) && (se.lastIndex = 0, se.test(r))))
327
327
  return "";
328
- n !== !1 && (n = n || mt, r = n.process(r));
328
+ n !== !1 && (n = n || yt, r = n.process(r));
329
329
  }
330
- return r = _t(r), r;
331
- }
332
- var $r = /</g, Lr = />/g, Fr = /"/g, jr = /&quot;/g, Dr = /&#([a-zA-Z0-9]*);?/gim, zr = /&colon;?/gim, Nr = /&newline;?/gim, se = /((j\s*a\s*v\s*a|v\s*b|l\s*i\s*v\s*e)\s*s\s*c\s*r\s*i\s*p\s*t\s*|m\s*o\s*c\s*h\s*a):/gi, Qe = /e\s*x\s*p\s*r\s*e\s*s\s*s\s*i\s*o\s*n\s*\(.*/gi, Ze = /u\s*r\s*l\s*\(.*/gi;
333
- function bt(e) {
334
- return e.replace(Fr, "&quot;");
330
+ return r = Tt(r), r;
335
331
  }
332
+ var Lr = /</g, Fr = />/g, jr = /"/g, Dr = /&quot;/g, zr = /&#([a-zA-Z0-9]*);?/gim, Nr = /&colon;?/gim, Br = /&newline;?/gim, se = /((j\s*a\s*v\s*a|v\s*b|l\s*i\s*v\s*e)\s*s\s*c\s*r\s*i\s*p\s*t\s*|m\s*o\s*c\s*h\s*a):/gi, Ze = /e\s*x\s*p\s*r\s*e\s*s\s*s\s*i\s*o\s*n\s*\(.*/gi, Je = /u\s*r\s*l\s*\(.*/gi;
336
333
  function wt(e) {
337
- return e.replace(jr, '"');
334
+ return e.replace(jr, "&quot;");
335
+ }
336
+ function _t(e) {
337
+ return e.replace(Dr, '"');
338
338
  }
339
339
  function xt(e) {
340
- return e.replace(Dr, function(r, n) {
340
+ return e.replace(zr, function(r, n) {
341
341
  return n[0] === "x" || n[0] === "X" ? String.fromCharCode(parseInt(n.substr(1), 16)) : String.fromCharCode(parseInt(n, 10));
342
342
  });
343
343
  }
344
344
  function At(e) {
345
- return e.replace(zr, ":").replace(Nr, " ");
345
+ return e.replace(Nr, ":").replace(Br, " ");
346
346
  }
347
347
  function Et(e) {
348
348
  for (var t = "", r = 0, n = e.length; r < n; r++)
@@ -350,15 +350,15 @@ function Et(e) {
350
350
  return he.trim(t);
351
351
  }
352
352
  function Ct(e) {
353
- return e = wt(e), e = xt(e), e = At(e), e = Et(e), e;
353
+ return e = _t(e), e = xt(e), e = At(e), e = Et(e), e;
354
354
  }
355
- function _t(e) {
356
- return e = bt(e), e = yt(e), e;
355
+ function Tt(e) {
356
+ return e = wt(e), e = bt(e), e;
357
357
  }
358
- function Br() {
358
+ function Vr() {
359
359
  return "";
360
360
  }
361
- function Vr(e, t) {
361
+ function Wr(e, t) {
362
362
  typeof t != "function" && (t = function() {
363
363
  });
364
364
  var r = !Array.isArray(e);
@@ -385,7 +385,7 @@ function Vr(e, t) {
385
385
  }
386
386
  };
387
387
  }
388
- function Wr(e) {
388
+ function Gr(e) {
389
389
  for (var t = "", r = 0; r < e.length; ) {
390
390
  var n = e.indexOf("<!--", r);
391
391
  if (n === -1) {
@@ -400,43 +400,43 @@ function Wr(e) {
400
400
  }
401
401
  return t;
402
402
  }
403
- function Gr(e) {
403
+ function Ur(e) {
404
404
  var t = e.split("");
405
405
  return t = t.filter(function(r) {
406
406
  var n = r.charCodeAt(0);
407
407
  return n === 127 ? !1 : n <= 31 ? n === 10 || n === 13 : !0;
408
408
  }), t.join("");
409
409
  }
410
- b.whiteList = ht();
411
- b.getDefaultWhiteList = ht;
412
- b.onTag = kr;
413
- b.onIgnoreTag = Ir;
414
- b.onTagAttr = Pr;
415
- b.onIgnoreTagAttr = Mr;
416
- b.safeAttrValue = Rr;
417
- b.escapeHtml = yt;
418
- b.escapeQuote = bt;
419
- b.unescapeQuote = wt;
410
+ b.whiteList = mt();
411
+ b.getDefaultWhiteList = mt;
412
+ b.onTag = Ir;
413
+ b.onIgnoreTag = Pr;
414
+ b.onTagAttr = Mr;
415
+ b.onIgnoreTagAttr = Rr;
416
+ b.safeAttrValue = $r;
417
+ b.escapeHtml = bt;
418
+ b.escapeQuote = wt;
419
+ b.unescapeQuote = _t;
420
420
  b.escapeHtmlEntities = xt;
421
421
  b.escapeDangerHtml5Entities = At;
422
422
  b.clearNonPrintableCharacter = Et;
423
423
  b.friendlyAttrValue = Ct;
424
- b.escapeAttrValue = _t;
425
- b.onIgnoreTagStripAll = Br;
426
- b.StripTagBody = Vr;
427
- b.stripCommentTag = Wr;
428
- b.stripBlankChar = Gr;
429
- b.cssFilter = mt;
424
+ b.escapeAttrValue = Tt;
425
+ b.onIgnoreTagStripAll = Vr;
426
+ b.StripTagBody = Wr;
427
+ b.stripCommentTag = Gr;
428
+ b.stripBlankChar = Ur;
429
+ b.cssFilter = yt;
430
430
  b.getDefaultCSSWhiteList = Sr;
431
- var xe = {}, B = Ne;
432
- function Ur(e) {
431
+ var _e = {}, B = Be;
432
+ function Hr(e) {
433
433
  var t = B.spaceIndex(e), r;
434
434
  return t === -1 ? r = e.slice(1, -1) : r = e.slice(1, t + 1), r = B.trim(r).toLowerCase(), r.slice(0, 1) === "/" && (r = r.slice(1)), r.slice(-1) === "/" && (r = r.slice(0, -1)), r;
435
435
  }
436
- function Hr(e) {
436
+ function qr(e) {
437
437
  return e.slice(0, 2) === "</";
438
438
  }
439
- function qr(e, t, r) {
439
+ function Kr(e, t, r) {
440
440
  var n = "", i = 0, a = !1, o = !1, s = 0, l = e.length, u = "", f = "";
441
441
  e: for (s = 0; s < l; s++) {
442
442
  var c = e.charAt(s);
@@ -451,7 +451,7 @@ function qr(e, t, r) {
451
451
  continue;
452
452
  }
453
453
  if (c === ">" || s === l - 1) {
454
- n += r(e.slice(i, a)), f = e.slice(a, s + 1), u = Ur(f), n += t(a, n.length, u, f, Hr(f)), i = s + 1, a = !1;
454
+ n += r(e.slice(i, a)), f = e.slice(a, s + 1), u = Hr(f), n += t(a, n.length, u, f, qr(f)), i = s + 1, a = !1;
455
455
  continue;
456
456
  }
457
457
  if (c === '"' || c === "'")
@@ -469,11 +469,11 @@ function qr(e, t, r) {
469
469
  }
470
470
  return i < l && (n += r(e.substr(i))), n;
471
471
  }
472
- var Kr = /[^a-zA-Z0-9\\_:.-]/gim;
473
- function Xr(e, t) {
472
+ var Xr = /[^a-zA-Z0-9\\_:.-]/gim;
473
+ function Yr(e, t) {
474
474
  var r = 0, n = 0, i = [], a = !1, o = e.length;
475
475
  function s(d, v) {
476
- if (d = B.trim(d), d = d.replace(Kr, "").toLowerCase(), !(d.length < 1)) {
476
+ if (d = B.trim(d), d = d.replace(Xr, "").toLowerCase(), !(d.length < 1)) {
477
477
  var g = t(d, v || "");
478
478
  g && i.push(g);
479
479
  }
@@ -481,7 +481,7 @@ function Xr(e, t) {
481
481
  for (var l = 0; l < o; l++) {
482
482
  var u = e.charAt(l), f, c;
483
483
  if (a === !1 && u === "=") {
484
- a = e.slice(r, l), r = l + 1, n = e.charAt(r) === '"' || e.charAt(r) === "'" ? r : Qr(e, l + 1);
484
+ a = e.slice(r, l), r = l + 1, n = e.charAt(r) === '"' || e.charAt(r) === "'" ? r : Zr(e, l + 1);
485
485
  continue;
486
486
  }
487
487
  if (a !== !1 && l === n) {
@@ -492,55 +492,55 @@ function Xr(e, t) {
492
492
  }
493
493
  if (/\s|\n|\t/.test(u))
494
494
  if (e = e.replace(/\s|\n|\t/g, " "), a === !1)
495
- if (c = Yr(e, l), c === -1) {
495
+ if (c = Qr(e, l), c === -1) {
496
496
  f = B.trim(e.slice(r, l)), s(f), a = !1, r = l + 1;
497
497
  continue;
498
498
  } else {
499
499
  l = c - 1;
500
500
  continue;
501
501
  }
502
- else if (c = Zr(e, l - 1), c === -1) {
503
- f = B.trim(e.slice(r, l)), f = Je(f), s(a, f), a = !1, r = l + 1;
502
+ else if (c = Jr(e, l - 1), c === -1) {
503
+ f = B.trim(e.slice(r, l)), f = et(f), s(a, f), a = !1, r = l + 1;
504
504
  continue;
505
505
  } else
506
506
  continue;
507
507
  }
508
- return r < e.length && (a === !1 ? s(e.slice(r)) : s(a, Je(B.trim(e.slice(r))))), B.trim(i.join(" "));
508
+ return r < e.length && (a === !1 ? s(e.slice(r)) : s(a, et(B.trim(e.slice(r))))), B.trim(i.join(" "));
509
509
  }
510
- function Yr(e, t) {
510
+ function Qr(e, t) {
511
511
  for (; t < e.length; t++) {
512
512
  var r = e[t];
513
513
  if (r !== " ")
514
514
  return r === "=" ? t : -1;
515
515
  }
516
516
  }
517
- function Qr(e, t) {
517
+ function Zr(e, t) {
518
518
  for (; t < e.length; t++) {
519
519
  var r = e[t];
520
520
  if (r !== " ")
521
521
  return r === "'" || r === '"' ? t : -1;
522
522
  }
523
523
  }
524
- function Zr(e, t) {
524
+ function Jr(e, t) {
525
525
  for (; t > 0; t--) {
526
526
  var r = e[t];
527
527
  if (r !== " ")
528
528
  return r === "=" ? t : -1;
529
529
  }
530
530
  }
531
- function Jr(e) {
531
+ function en(e) {
532
532
  return e[0] === '"' && e[e.length - 1] === '"' || e[0] === "'" && e[e.length - 1] === "'";
533
533
  }
534
- function Je(e) {
535
- return Jr(e) ? e.substr(1, e.length - 2) : e;
534
+ function et(e) {
535
+ return en(e) ? e.substr(1, e.length - 2) : e;
536
536
  }
537
- xe.parseTag = qr;
538
- xe.parseAttr = Xr;
539
- var en = ze.FilterCSS, R = b, Tt = xe, tn = Tt.parseTag, rn = Tt.parseAttr, ve = Ne;
537
+ _e.parseTag = Kr;
538
+ _e.parseAttr = Yr;
539
+ var tn = Ne.FilterCSS, R = b, Ot = _e, rn = Ot.parseTag, nn = Ot.parseAttr, ve = Be;
540
540
  function le(e) {
541
541
  return e == null;
542
542
  }
543
- function nn(e) {
543
+ function an(e) {
544
544
  var t = ve.spaceIndex(e);
545
545
  if (t === -1)
546
546
  return {
@@ -554,13 +554,13 @@ function nn(e) {
554
554
  closing: r
555
555
  };
556
556
  }
557
- function an(e) {
557
+ function on(e) {
558
558
  var t = {};
559
559
  for (var r in e)
560
560
  t[r] = e[r];
561
561
  return t;
562
562
  }
563
- function on(e) {
563
+ function sn(e) {
564
564
  var t = {};
565
565
  for (var r in e)
566
566
  Array.isArray(e[r]) ? t[r.toLowerCase()] = e[r].map(function(n) {
@@ -568,39 +568,39 @@ function on(e) {
568
568
  }) : t[r.toLowerCase()] = e[r];
569
569
  return t;
570
570
  }
571
- function Ot(e) {
572
- e = an(e || {}), e.stripIgnoreTag && (e.onIgnoreTag && console.error('Notes: cannot use these two options "stripIgnoreTag" and "onIgnoreTag" at the same time'), e.onIgnoreTag = R.onIgnoreTagStripAll), e.whiteList || e.allowList ? e.whiteList = on(e.whiteList || e.allowList) : e.whiteList = R.whiteList, e.onTag = e.onTag || R.onTag, e.onTagAttr = e.onTagAttr || R.onTagAttr, e.onIgnoreTag = e.onIgnoreTag || R.onIgnoreTag, e.onIgnoreTagAttr = e.onIgnoreTagAttr || R.onIgnoreTagAttr, e.safeAttrValue = e.safeAttrValue || R.safeAttrValue, e.escapeHtml = e.escapeHtml || R.escapeHtml, this.options = e, e.css === !1 ? this.cssFilter = !1 : (e.css = e.css || {}, this.cssFilter = new en(e.css));
571
+ function kt(e) {
572
+ e = on(e || {}), e.stripIgnoreTag && (e.onIgnoreTag && console.error('Notes: cannot use these two options "stripIgnoreTag" and "onIgnoreTag" at the same time'), e.onIgnoreTag = R.onIgnoreTagStripAll), e.whiteList || e.allowList ? e.whiteList = sn(e.whiteList || e.allowList) : e.whiteList = R.whiteList, e.onTag = e.onTag || R.onTag, e.onTagAttr = e.onTagAttr || R.onTagAttr, e.onIgnoreTag = e.onIgnoreTag || R.onIgnoreTag, e.onIgnoreTagAttr = e.onIgnoreTagAttr || R.onIgnoreTagAttr, e.safeAttrValue = e.safeAttrValue || R.safeAttrValue, e.escapeHtml = e.escapeHtml || R.escapeHtml, this.options = e, e.css === !1 ? this.cssFilter = !1 : (e.css = e.css || {}, this.cssFilter = new tn(e.css));
573
573
  }
574
- Ot.prototype.process = function(e) {
574
+ kt.prototype.process = function(e) {
575
575
  if (e = e || "", e = e.toString(), !e) return "";
576
576
  var t = this, r = t.options, n = r.whiteList, i = r.onTag, a = r.onIgnoreTag, o = r.onTagAttr, s = r.onIgnoreTagAttr, l = r.safeAttrValue, u = r.escapeHtml, f = t.cssFilter;
577
577
  r.stripBlankChar && (e = R.stripBlankChar(e)), r.allowCommentTag || (e = R.stripCommentTag(e));
578
578
  var c = !1;
579
579
  r.stripIgnoreTagBody && (c = R.StripTagBody(r.stripIgnoreTagBody, a), a = c.onIgnoreTag);
580
- var d = tn(e, function(v, g, y, h, A) {
580
+ var d = rn(e, function(v, g, y, h, x) {
581
581
  var w = {
582
582
  sourcePosition: v,
583
583
  position: g,
584
- isClosing: A,
584
+ isClosing: x,
585
585
  isWhite: Object.prototype.hasOwnProperty.call(n, y)
586
- }, x = i(y, h, w);
587
- if (!le(x)) return x;
586
+ }, _ = i(y, h, w);
587
+ if (!le(_)) return _;
588
588
  if (w.isWhite) {
589
589
  if (w.isClosing)
590
590
  return "</" + y + ">";
591
- var m = nn(h), E = n[y], P = rn(m.html, function(M, k) {
592
- var T = ve.indexOf(E, M) !== -1, O = o(y, M, k, T);
593
- return le(O) ? T ? (k = l(y, M, k, f), k ? M + '="' + k + '"' : M) : (O = s(y, M, k, T), le(O) ? void 0 : O) : O;
591
+ var m = an(h), A = n[y], I = nn(m.html, function(k, P) {
592
+ var S = ve.indexOf(A, k) !== -1, M = o(y, k, P, S);
593
+ return le(M) ? S ? (P = l(y, k, P, f), P ? k + '="' + P + '"' : k) : (M = s(y, k, P, S), le(M) ? void 0 : M) : M;
594
594
  });
595
- return h = "<" + y, P && (h += " " + P), m.closing && (h += " /"), h += ">", h;
595
+ return h = "<" + y, I && (h += " " + I), m.closing && (h += " /"), h += ">", h;
596
596
  } else
597
- return x = a(y, h, w), le(x) ? u(h) : x;
597
+ return _ = a(y, h, w), le(_) ? u(h) : _;
598
598
  }, u);
599
599
  return c && (d = c.remove(d)), d;
600
600
  };
601
- var sn = Ot;
601
+ var ln = kt;
602
602
  (function(e, t) {
603
- var r = b, n = xe, i = sn;
603
+ var r = b, n = _e, i = ln;
604
604
  function a(s, l) {
605
605
  var u = new i(l);
606
606
  return u.process(s);
@@ -615,8 +615,8 @@ var sn = Ot;
615
615
  return typeof self < "u" && typeof DedicatedWorkerGlobalScope < "u" && self instanceof DedicatedWorkerGlobalScope;
616
616
  }
617
617
  o() && (self.filterXSS = e.exports);
618
- })(Se, Se.exports);
619
- var Ie = Se.exports, Pe = {
618
+ })(Oe, Oe.exports);
619
+ var Se = Oe.exports, Ie = {
620
620
  html: {
621
621
  whiteList: {
622
622
  a: ["class", "style", "contenteditable", "data-id", "data-title", "data-size", "href", "data-last-modified"],
@@ -690,26 +690,26 @@ var Ie = Se.exports, Pe = {
690
690
  video: ["class", "style"]
691
691
  }
692
692
  }
693
- }, ln = Ie.getDefaultWhiteList && Ie.getDefaultWhiteList() || {};
694
- Pe.html.whiteList = Object.assign(ln, Pe.html.whiteList);
695
- new Ie.FilterXSS(Pe.html);
696
- var un = Object.prototype.hasOwnProperty, fn = un.toString;
697
- fn.call(Object);
698
- var _ = typeof window > "u", cn = function() {
693
+ }, un = Se.getDefaultWhiteList && Se.getDefaultWhiteList() || {};
694
+ Ie.html.whiteList = Object.assign(un, Ie.html.whiteList);
695
+ new Se.FilterXSS(Ie.html);
696
+ var fn = Object.prototype.hasOwnProperty, cn = fn.toString;
697
+ cn.call(Object);
698
+ var C = typeof window > "u", dn = function() {
699
699
  var t = 8;
700
700
  return document.addEventListener && window.performance && (t = 9, window.atob && window.matchMedia && (t = 10, !window.attachEvent && !document.all && (t = 11))), t;
701
- }, dn = function(t) {
701
+ }, vn = function(t) {
702
702
  t.chrome && ~navigator.userAgent.indexOf("Edg") ? (t.name = "edge", t.edge = !0, delete t.chrome) : !document.documentMode && window.StyleMedia && (t.name = "edge", t.edge = !0);
703
703
  };
704
704
  (function() {
705
- if (_) return null;
705
+ if (C) return null;
706
706
  var e = {
707
707
  name: "",
708
708
  version: 0,
709
709
  isDoc: typeof document < "u",
710
710
  isMobile: !1,
711
711
  isPC: !0,
712
- isNode: _,
712
+ isNode: C,
713
713
  chrome: !1,
714
714
  ie: !1,
715
715
  firefox: !1,
@@ -719,7 +719,7 @@ var _ = typeof window > "u", cn = function() {
719
719
  }, t = /(Android|webOS|iPhone|iPad|iPod|SymbianOS|BlackBerry|Windows Phone)/.test(navigator.userAgent);
720
720
  e.isMobile = t, e.isPC = !t;
721
721
  var r;
722
- if (window.chrome && (window.chrome.webstore || /^Google\b/.test(window.navigator.vendor)) ? (e.name = "chrome", e.chrome = !0, r = navigator.userAgent.match(/chrome\/(\d+)/i), e.version = !!r && !!r[1] && parseInt(r[1], 10), r = void 0) : document.all || document.documentMode ? (e.name = "ie", e.version = cn(), e.ie = !0) : typeof window.InstallTrigger < "u" ? (e.name = "firefox", e.firefox = !0) : Object.prototype.toString.call(window.HTMLElement).indexOf("Constructor") > 0 ? (e.name = "safari", e.safari = !0) : (window.opr && window.opr.addons || window.opera) && (e.name = "opera", e.opera = !0), dn(e), !~["ie", "chrome"].indexOf(e.name)) {
722
+ if (window.chrome && (window.chrome.webstore || /^Google\b/.test(window.navigator.vendor)) ? (e.name = "chrome", e.chrome = !0, r = navigator.userAgent.match(/chrome\/(\d+)/i), e.version = !!r && !!r[1] && parseInt(r[1], 10), r = void 0) : document.all || document.documentMode ? (e.name = "ie", e.version = dn(), e.ie = !0) : typeof window.InstallTrigger < "u" ? (e.name = "firefox", e.firefox = !0) : Object.prototype.toString.call(window.HTMLElement).indexOf("Constructor") > 0 ? (e.name = "safari", e.safari = !0) : (window.opr && window.opr.addons || window.opera) && (e.name = "opera", e.opera = !0), vn(e), !~["ie", "chrome"].indexOf(e.name)) {
723
723
  var n = e.name + "/(\\d+)";
724
724
  r = navigator.userAgent.match(new RegExp(n, "i")), e.version = !!r && !!r[1] && parseInt(r[1], 10), r = void 0;
725
725
  }
@@ -731,7 +731,7 @@ var _ = typeof window > "u", cn = function() {
731
731
  }
732
732
  return e;
733
733
  })();
734
- var K = function(t, r, n) {
734
+ var q = function(t, r, n) {
735
735
  var i = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : !1;
736
736
  t && r && n && t.addEventListener(r, n, i);
737
737
  }, pe = function(t, r, n) {
@@ -796,28 +796,28 @@ var K = function(t, r, n) {
796
796
  }
797
797
  }, t;
798
798
  }();
799
- }(), vn = globalThis.Function, me = function() {
799
+ }(), pn = globalThis.Function, me = function() {
800
800
  var e = function(r) {
801
801
  return r.Math === Math;
802
802
  };
803
- return typeof global < "u" && e(global) ? global : typeof self < "u" && e(self) ? self : typeof window < "u" && e(window) ? window : vn("return this")();
804
- }(), pn = function() {
803
+ return typeof global < "u" && e(global) ? global : typeof self < "u" && e(self) ? self : typeof window < "u" && e(window) ? window : pn("return this")();
804
+ }(), gn = function() {
805
805
  return typeof requestAnimationFrame == "function" ? requestAnimationFrame.bind(me) : function(e) {
806
806
  return setTimeout(function() {
807
807
  return e(Date.now());
808
808
  }, 1e3 / 60);
809
809
  };
810
- }(), gn = 2;
811
- function hn(e, t) {
810
+ }(), hn = 2;
811
+ function mn(e, t) {
812
812
  var r = !1, n = !1, i = 0, a, o = function() {
813
813
  r && (r = !1, e()), n && a();
814
814
  }, s = function() {
815
- pn(o);
815
+ gn(o);
816
816
  };
817
817
  return a = function() {
818
818
  var u = Date.now();
819
819
  if (r) {
820
- if (u - i < gn)
820
+ if (u - i < hn)
821
821
  return;
822
822
  n = !0;
823
823
  } else
@@ -825,9 +825,9 @@ function hn(e, t) {
825
825
  i = u;
826
826
  }, a;
827
827
  }
828
- var mn = 20, yn = ["top", "right", "bottom", "left", "width", "height", "size", "weight"], bn = typeof MutationObserver < "u", wn = function() {
828
+ var yn = 20, bn = ["top", "right", "bottom", "left", "width", "height", "size", "weight"], wn = typeof MutationObserver < "u", _n = function() {
829
829
  function e() {
830
- this.observers_ = [], this.connected_ = !1, this.mutationEventsAdded_ = !1, this.mutationsObserver_ = null, this.onTransitionEnd_ = this.onTransitionEnd_.bind(this), this.refresh = hn(this.refresh.bind(this), mn);
830
+ this.observers_ = [], this.connected_ = !1, this.mutationEventsAdded_ = !1, this.mutationsObserver_ = null, this.onTransitionEnd_ = this.onTransitionEnd_.bind(this), this.refresh = mn(this.refresh.bind(this), yn);
831
831
  }
832
832
  return e.prototype.addObserver = function(t) {
833
833
  !~this.observers_.indexOf(t) && this.observers_.push(t), !this.connected_ && this.connect_();
@@ -845,8 +845,8 @@ var mn = 20, yn = ["top", "right", "bottom", "left", "width", "height", "size",
845
845
  return r.broadcastActive();
846
846
  }), t.length > 0;
847
847
  }, e.prototype.connect_ = function() {
848
- if (!(_ || this.connected_)) {
849
- if (K(document, "transitionend", this.onTransitionEnd_), K(window, "resize", this.refresh), bn) {
848
+ if (!(C || this.connected_)) {
849
+ if (q(document, "transitionend", this.onTransitionEnd_), q(window, "resize", this.refresh), wn) {
850
850
  this.mutationsObserver_ = new MutationObserver(this.refresh);
851
851
  var t = {
852
852
  attributes: !0,
@@ -856,20 +856,20 @@ var mn = 20, yn = ["top", "right", "bottom", "left", "width", "height", "size",
856
856
  };
857
857
  this.mutationsObserver_.observe(document, t);
858
858
  } else
859
- K(document, "DOMSubtreeModified", this.refresh), this.mutationEventsAdded_ = !0;
859
+ q(document, "DOMSubtreeModified", this.refresh), this.mutationEventsAdded_ = !0;
860
860
  this.connected_ = !0;
861
861
  }
862
862
  }, e.prototype.disconnect_ = function() {
863
- _ || !this.connected_ || (pe(document, "transitionend", this.onTransitionEnd_), pe(window, "resize", this.refresh), this.mutationsObserver_ && this.mutationsObserver_.disconnect(), this.mutationEventsAdded_ && pe(document, "DOMSubtreeModified", this.refresh), this.mutationsObserver_ = null, this.mutationEventsAdded_ = !1, this.connected_ = !1);
863
+ C || !this.connected_ || (pe(document, "transitionend", this.onTransitionEnd_), pe(window, "resize", this.refresh), this.mutationsObserver_ && this.mutationsObserver_.disconnect(), this.mutationEventsAdded_ && pe(document, "DOMSubtreeModified", this.refresh), this.mutationsObserver_ = null, this.mutationEventsAdded_ = !1, this.connected_ = !1);
864
864
  }, e.prototype.onTransitionEnd_ = function(t) {
865
- var r = t.propertyName, n = r === void 0 ? "" : r, i = yn.some(function(a) {
865
+ var r = t.propertyName, n = r === void 0 ? "" : r, i = bn.some(function(a) {
866
866
  return !!~n.indexOf(a);
867
867
  });
868
868
  i && this.refresh();
869
869
  }, e.getInstance = function() {
870
870
  return this._instance || (this._instance = new e()), this._instance;
871
871
  }, e._instance = null, e;
872
- }(), kt = function(t, r) {
872
+ }(), It = function(t, r) {
873
873
  for (var n = 0, i = Object.keys(r); n < i.length; n++) {
874
874
  var a = i[n];
875
875
  Object.defineProperty(t, a, {
@@ -880,19 +880,19 @@ var mn = 20, yn = ["top", "right", "bottom", "left", "width", "height", "size",
880
880
  });
881
881
  }
882
882
  return t;
883
- }, Ae = function(t, r, n, i) {
883
+ }, xe = function(t, r, n, i) {
884
884
  return {
885
885
  x: t,
886
886
  y: r,
887
887
  width: n,
888
888
  height: i
889
889
  };
890
- }, X = function(t) {
890
+ }, K = function(t) {
891
891
  var r = t && t.ownerDocument && t.ownerDocument.defaultView;
892
892
  return r || me;
893
- }, It = Ae(0, 0, 0, 0), ye = function(t) {
893
+ }, Pt = xe(0, 0, 0, 0), ye = function(t) {
894
894
  return parseFloat(t) || 0;
895
- }, et = function(t) {
895
+ }, tt = function(t) {
896
896
  for (var r = [], n = 1; n < arguments.length; n++)
897
897
  r[n - 1] = arguments[n];
898
898
  return r.reduce(function(i, a) {
@@ -907,30 +907,30 @@ var mn = 20, yn = ["top", "right", "bottom", "left", "width", "height", "size",
907
907
  return n;
908
908
  }, An = function(t) {
909
909
  var r = t.getBBox();
910
- return Ae(0, 0, r.width, r.height);
910
+ return xe(0, 0, r.width, r.height);
911
911
  }, En = function(t) {
912
- return t === X(t).document.documentElement;
912
+ return t === K(t).document.documentElement;
913
913
  }, Cn = function(t) {
914
914
  var r = t.clientWidth, n = t.clientHeight;
915
915
  if (!n && !r)
916
- return It;
917
- var i = X(t).getComputedStyle(t), a = xn(i), o = a.top + a.bottom, s = a.left + a.right, l = ye(i.width), u = ye(i.height);
918
- if (i.boxSizing === "border-box" && (Math.round(u + o) !== n && (u -= et(i, "top", "bottom") + o), Math.round(l + s) !== r && (l -= et(i, "left", "right") + s)), !En(t)) {
916
+ return Pt;
917
+ var i = K(t).getComputedStyle(t), a = xn(i), o = a.top + a.bottom, s = a.left + a.right, l = ye(i.width), u = ye(i.height);
918
+ if (i.boxSizing === "border-box" && (Math.round(u + o) !== n && (u -= tt(i, "top", "bottom") + o), Math.round(l + s) !== r && (l -= tt(i, "left", "right") + s)), !En(t)) {
919
919
  var f = Math.round(u + o) - n, c = Math.round(l + s) - r;
920
920
  Math.abs(f) !== 1 && (u -= f), Math.abs(c) !== 1 && (l -= c);
921
921
  }
922
- return Ae(a.left, a.top, l, u);
923
- }, _n = /* @__PURE__ */ function() {
922
+ return xe(a.left, a.top, l, u);
923
+ }, Tn = /* @__PURE__ */ function() {
924
924
  return typeof SVGGraphicsElement < "u" ? function(e) {
925
- return e instanceof X(e).SVGGraphicsElement;
925
+ return e instanceof K(e).SVGGraphicsElement;
926
926
  } : function(e) {
927
- return e instanceof X(e).SVGElement && typeof e.getBBox == "function";
927
+ return e instanceof K(e).SVGElement && typeof e.getBBox == "function";
928
928
  };
929
- }(), Tn = function(t) {
930
- return _ ? It : _n(t) ? An(t) : Cn(t);
931
- }, On = function(t) {
929
+ }(), On = function(t) {
930
+ return C ? Pt : Tn(t) ? An(t) : Cn(t);
931
+ }, kn = function(t) {
932
932
  var r = t.x, n = t.y, i = t.width, a = t.height, o = typeof DOMRectReadOnly < "u" ? DOMRectReadOnly : Object, s = Object.create(o.prototype);
933
- return kt(s, {
933
+ return It(s, {
934
934
  x: r,
935
935
  y: n,
936
936
  width: i,
@@ -942,25 +942,25 @@ var mn = 20, yn = ["top", "right", "bottom", "left", "width", "height", "size",
942
942
  }), s;
943
943
  }, Sn = function() {
944
944
  function e(t) {
945
- this.broadcastWidth = 0, this.broadcastHeight = 0, this.contentRect_ = Ae(0, 0, 0, 0), this.target = t;
945
+ this.broadcastWidth = 0, this.broadcastHeight = 0, this.contentRect_ = xe(0, 0, 0, 0), this.target = t;
946
946
  }
947
947
  return e.prototype.broadcastRect = function() {
948
948
  var t = this.contentRect_;
949
949
  return this.broadcastWidth = t.width, this.broadcastHeight = t.height, t;
950
950
  }, e.prototype.isActive = function() {
951
- var t = Tn(this.target);
951
+ var t = On(this.target);
952
952
  return this.contentRect_ = t, t.width !== this.broadcastWidth || t.height !== this.broadcastHeight;
953
953
  }, e;
954
- }(), kn = /* @__PURE__ */ function() {
954
+ }(), In = /* @__PURE__ */ function() {
955
955
  function e(t, r) {
956
- var n = On(r);
957
- kt(this, {
956
+ var n = kn(r);
957
+ It(this, {
958
958
  target: t,
959
959
  contentRect: n
960
960
  });
961
961
  }
962
962
  return e;
963
- }(), In = function() {
963
+ }(), Pn = function() {
964
964
  function e(t, r, n) {
965
965
  if (this.observations_ = new St(), this.activeObservations_ = [], typeof t != "function")
966
966
  throw new TypeError("[TINY-Resize] The callback provided as parameter 1 is not a function.");
@@ -970,7 +970,7 @@ var mn = 20, yn = ["top", "right", "bottom", "left", "width", "height", "size",
970
970
  if (!arguments.length)
971
971
  throw new TypeError("[TINY-Resize] 1 argument required, but only 0 present.");
972
972
  if (!(typeof Element > "u" || !(Element instanceof Object))) {
973
- if (!(t instanceof X(t).Element))
973
+ if (!(t instanceof K(t).Element))
974
974
  throw new TypeError('[TINY-Resize] parameter 1 is not of type "Element".');
975
975
  var r = this.observations_;
976
976
  r.has(t) || (r.set(t, new Sn(t)), this.controller_.addObserver(this), this.controller_.refresh());
@@ -979,7 +979,7 @@ var mn = 20, yn = ["top", "right", "bottom", "left", "width", "height", "size",
979
979
  if (!arguments.length)
980
980
  throw new TypeError("[TINY-Resize]1 argument required, but only 0 present.");
981
981
  if (!(typeof Element > "u" || !(Element instanceof Object))) {
982
- if (!(t instanceof X(t).Element))
982
+ if (!(t instanceof K(t).Element))
983
983
  throw new TypeError('[TINY-Resize] parameter 1 is not of type "Element".');
984
984
  var r = this.observations_;
985
985
  r.has(t) && (r.delete(t), !r.size && this.controller_.removeObserver(this));
@@ -994,7 +994,7 @@ var mn = 20, yn = ["top", "right", "bottom", "left", "width", "height", "size",
994
994
  }, e.prototype.broadcastActive = function() {
995
995
  if (this.hasActive()) {
996
996
  var t = this.callbackCtx_, r = this.activeObservations_.map(function(n) {
997
- return new kn(n.target, n.broadcastRect());
997
+ return new In(n.target, n.broadcastRect());
998
998
  });
999
999
  this.callback_.call(t, r, t), this.clearActive();
1000
1000
  }
@@ -1003,33 +1003,33 @@ var mn = 20, yn = ["top", "right", "bottom", "left", "width", "height", "size",
1003
1003
  }, e.prototype.clearActive = function() {
1004
1004
  this.activeObservations_.splice(0);
1005
1005
  }, e;
1006
- }(), Pt = typeof WeakMap < "u" ? /* @__PURE__ */ new WeakMap() : new St(), Mt = /* @__PURE__ */ function() {
1006
+ }(), Mt = typeof WeakMap < "u" ? /* @__PURE__ */ new WeakMap() : new St(), Rt = /* @__PURE__ */ function() {
1007
1007
  function e(t) {
1008
1008
  if (!(this instanceof e))
1009
1009
  throw new TypeError("[TINY-Resize] Cannot call a class as a function.");
1010
1010
  if (!arguments.length)
1011
1011
  throw new TypeError("[TINY-Resize] 1 argument required, but only 0 present.");
1012
- var r = wn.getInstance(), n = new In(t, r, this);
1013
- Pt.set(this, n);
1012
+ var r = _n.getInstance(), n = new Pn(t, r, this);
1013
+ Mt.set(this, n);
1014
1014
  }
1015
1015
  return e;
1016
1016
  }();
1017
1017
  ["observe", "unobserve", "disconnect"].forEach(function(e) {
1018
- Mt.prototype[e] = function() {
1018
+ Rt.prototype[e] = function() {
1019
1019
  var t;
1020
- return (t = Pt.get(this))[e].apply(t, arguments);
1020
+ return (t = Mt.get(this))[e].apply(t, arguments);
1021
1021
  };
1022
1022
  });
1023
1023
  (function() {
1024
- return typeof me.ResizeObserver < "u" ? me.ResizeObserver : Mt;
1024
+ return typeof me.ResizeObserver < "u" ? me.ResizeObserver : Rt;
1025
1025
  })();
1026
- var Pn = "tcirzywvqlkjhgfbZQG_FLOWHSUBDNIMYREVKCAJxp57XP043891T62-modnaesu";
1027
- Pn.split("").reverse().join("");
1028
- function Mn(e) {
1029
- return !_ && (e.document.all || e.document.documentMode) && !e.crypto && e.msCrypto;
1030
- }
1026
+ var Mn = "tcirzywvqlkjhgfbZQG_FLOWHSUBDNIMYREVKCAJxp57XP043891T62-modnaesu";
1027
+ Mn.split("").reverse().join("");
1031
1028
  function Rn(e) {
1032
- if (Mn(e)) {
1029
+ return !C && (e.document.all || e.document.documentMode) && !e.crypto && e.msCrypto;
1030
+ }
1031
+ function $n(e) {
1032
+ if (Rn(e)) {
1033
1033
  e.crypto = e.msCrypto;
1034
1034
  var t = e.crypto.getRandomValues;
1035
1035
  e.crypto.getRandomValues = function(r) {
@@ -1039,48 +1039,48 @@ function Rn(e) {
1039
1039
  };
1040
1040
  }
1041
1041
  }
1042
- var $n = globalThis;
1043
- Rn($n);
1044
- function Be(e) {
1042
+ var Ln = globalThis;
1043
+ $n(Ln);
1044
+ function Ve(e) {
1045
1045
  var t = /* @__PURE__ */ Object.create(null);
1046
1046
  return function(n) {
1047
1047
  var i = t[n];
1048
1048
  return i || (t[n] = e(n));
1049
1049
  };
1050
1050
  }
1051
- var Ln = /-(\w)/g, Fn = Be(function(e) {
1052
- return e.replace(Ln, function(t, r) {
1051
+ var Fn = /-(\w)/g, jn = Ve(function(e) {
1052
+ return e.replace(Fn, function(t, r) {
1053
1053
  return r ? r.toUpperCase() : "";
1054
1054
  });
1055
- }), jn = Be(function(e) {
1055
+ }), Dn = Ve(function(e) {
1056
1056
  return e.charAt(0).toUpperCase() + e.slice(1);
1057
- }), Dn = /\B([A-Z])/g, zn = Be(function(e) {
1058
- return e.replace(Dn, "-$1").toLowerCase();
1059
- }), Nn = "-12:00,-11:00,-10:00,-09:30,-08:00,-07:00,-06:00,-05:00,-04:30,-04:00,-03:30,-02:00,-01:00", Bn = "-00:00,+00:00,+01:00,+02:00,+03:00,+03:30,+04:00,+04:30,+05:00,+05:30,+05:45,+06:00", Vn = "+06:30,+07:00,+08:00,+09:00,+10:00,+10:30,+11:00,+11:30,+12:00,+12:45,+13:00,+14:00";
1060
- [].concat(te(Nn.split(",")), te(Bn.split(",")), te(Vn.split(",")));
1061
- var Wn = {
1057
+ }), zn = /\B([A-Z])/g, Nn = Ve(function(e) {
1058
+ return e.replace(zn, "-$1").toLowerCase();
1059
+ }), Bn = "-12:00,-11:00,-10:00,-09:30,-08:00,-07:00,-06:00,-05:00,-04:30,-04:00,-03:30,-02:00,-01:00", Vn = "-00:00,+00:00,+01:00,+02:00,+03:00,+03:30,+04:00,+04:30,+05:00,+05:30,+05:45,+06:00", Wn = "+06:30,+07:00,+08:00,+09:00,+10:00,+10:30,+11:00,+11:30,+12:00,+12:45,+13:00,+14:00";
1060
+ [].concat(ee(Bn.split(",")), ee(Vn.split(",")), ee(Wn.split(",")));
1061
+ var Gn = {
1062
1062
  Escape: 27
1063
- }, Rt = {
1063
+ }, $t = {
1064
1064
  fullMonths: "January,February,March,April,May,June,July,August,September,October,November,December".split(","),
1065
1065
  fullWeeks: ["Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"]
1066
- }, Ve = ["\\d\\d?", "\\d{3}", "\\d{4}"], N = Ve[0], Gn = Ve[1], Un = Ve[2], J = "[^\\s]+", tt = function() {
1067
- }, $t = function(t, r) {
1066
+ }, We = ["\\d\\d?", "\\d{3}", "\\d{4}"], N = We[0], Un = We[1], Hn = We[2], Z = "[^\\s]+", rt = function() {
1067
+ }, Lt = function(t, r) {
1068
1068
  for (var n = [], i = 0, a = t.length; i < a; i++)
1069
1069
  n.push(t[i].substr(0, r));
1070
1070
  return n;
1071
- }, rt = function(t) {
1071
+ }, nt = function(t) {
1072
1072
  return function(r, n, i) {
1073
1073
  var a = i[t].indexOf(n.charAt(0).toUpperCase() + n.substr(1).toLowerCase());
1074
1074
  ~a && (r.month = a);
1075
1075
  };
1076
- }, Hn = Rt.fullWeeks, qn = Rt.fullMonths;
1077
- $t(qn, 3);
1078
- $t(Hn, 3);
1079
- var q = {
1076
+ }, qn = $t.fullWeeks, Kn = $t.fullMonths;
1077
+ Lt(Kn, 3);
1078
+ Lt(qn, 3);
1079
+ var H = {
1080
1080
  d: [N, function(e, t) {
1081
1081
  e.day = t;
1082
1082
  }],
1083
- Do: [N + J, function(e, t) {
1083
+ Do: [N + Z, function(e, t) {
1084
1084
  e.day = parseInt(t, 10);
1085
1085
  }],
1086
1086
  M: [N, function(e, t) {
@@ -1099,7 +1099,7 @@ var q = {
1099
1099
  s: [N, function(e, t) {
1100
1100
  e.second = t;
1101
1101
  }],
1102
- yyyy: [Un, function(e, t) {
1102
+ yyyy: [Hn, function(e, t) {
1103
1103
  e.year = t;
1104
1104
  }],
1105
1105
  S: ["\\d", function(e, t) {
@@ -1108,14 +1108,14 @@ var q = {
1108
1108
  SS: ["\\d{2}", function(e, t) {
1109
1109
  e.millisecond = t * 10;
1110
1110
  }],
1111
- SSS: [Gn, function(e, t) {
1111
+ SSS: [Un, function(e, t) {
1112
1112
  e.millisecond = t;
1113
1113
  }],
1114
- D: [N, tt],
1115
- ddd: [J, tt],
1116
- MMM: [J, rt("monthNamesShort")],
1117
- MMMM: [J, rt("monthNames")],
1118
- a: [J, function(e, t, r) {
1114
+ D: [N, rt],
1115
+ ddd: [Z, rt],
1116
+ MMM: [Z, nt("monthNamesShort")],
1117
+ MMMM: [Z, nt("monthNames")],
1118
+ a: [Z, function(e, t, r) {
1119
1119
  var n = t.toLowerCase();
1120
1120
  n === r.amPm[0] ? e.isPm = !1 : n === r.amPm[1] && (e.isPm = !0);
1121
1121
  }],
@@ -1123,43 +1123,43 @@ var q = {
1123
1123
  var r = String(t).match(/([+-]|\d\d)/gi), n;
1124
1124
  r && (n = Number(r[1] * 60) + parseInt(r[2], 10), e.timezoneOffset = r[0] === "+" ? n : -n);
1125
1125
  }]
1126
- }, Kn = ["A", "DD", "dd", "mm", "hh", "MM", "ss", "hh", "H", "HH"];
1127
- q.dddd = q.ddd;
1128
- Kn.forEach(function(e) {
1129
- e === "MM" ? q[e] = q[e.substr(0, 1)] : q[e] = q[e.substr(0, 1).toLowerCase()];
1126
+ }, Xn = ["A", "DD", "dd", "mm", "hh", "MM", "ss", "hh", "H", "HH"];
1127
+ H.dddd = H.ddd;
1128
+ Xn.forEach(function(e) {
1129
+ e === "MM" ? H[e] = H[e.substr(0, 1)] : H[e] = H[e.substr(0, 1).toLowerCase()];
1130
1130
  });
1131
- var Xn = function() {
1132
- }, Yn = function() {
1133
- return _ ? function(e) {
1131
+ var Yn = function() {
1132
+ }, Qn = function() {
1133
+ return C ? function(e) {
1134
1134
  setTimeout(function() {
1135
1135
  return e(Date.now());
1136
1136
  }, 1e3 / 60);
1137
1137
  } : window.requestAnimationFrame.bind(window);
1138
- }(), Me = function(t) {
1139
- t.scheduled || (t.scheduled = !0, t.raf(Qn.bind(null, t)));
1140
- }, Qn = function(t) {
1138
+ }(), Pe = function(t) {
1139
+ t.scheduled || (t.scheduled = !0, t.raf(Zn.bind(null, t)));
1140
+ }, Zn = function(t) {
1141
1141
  var r = t.reads, n = t.writes, i;
1142
1142
  try {
1143
1143
  t.runTasks(r), t.runTasks(n);
1144
1144
  } catch (a) {
1145
1145
  i = a;
1146
1146
  }
1147
- if (t.scheduled = !1, (r.length || n.length) && Me(t), i)
1147
+ if (t.scheduled = !1, (r.length || n.length) && Pe(t), i)
1148
1148
  if (t.catch)
1149
1149
  t.catch(i);
1150
1150
  else
1151
1151
  throw i;
1152
- }, nt = function(t, r) {
1152
+ }, it = function(t, r) {
1153
1153
  var n = t.indexOf(r);
1154
1154
  return !!~n && !!t.splice(n, 1);
1155
- }, Zn = function(t, r) {
1155
+ }, Jn = function(t, r) {
1156
1156
  for (var n in r)
1157
1157
  Object.hasOwnProperty.call(r, n) && (t[n] = r[n]);
1158
- }, Jn = /* @__PURE__ */ function() {
1158
+ }, ei = /* @__PURE__ */ function() {
1159
1159
  function e() {
1160
- ft(this, e), this.reads = [], this.writes = [], this.raf = Yn.bind(window);
1160
+ ct(this, e), this.reads = [], this.writes = [], this.raf = Qn.bind(window);
1161
1161
  }
1162
- return ct(e, [{
1162
+ return dt(e, [{
1163
1163
  key: "runTasks",
1164
1164
  value: function(r) {
1165
1165
  for (var n; n = r.shift(); ) n();
@@ -1168,28 +1168,28 @@ var Xn = function() {
1168
1168
  key: "measure",
1169
1169
  value: function(r, n) {
1170
1170
  var i = n ? r.bind(n) : r;
1171
- return this.reads.push(i), Me(this), i;
1171
+ return this.reads.push(i), Pe(this), i;
1172
1172
  }
1173
1173
  }, {
1174
1174
  key: "mutate",
1175
1175
  value: function(r, n) {
1176
1176
  var i = n ? r.bind(n) : r;
1177
- return this.writes.push(i), Me(this), i;
1177
+ return this.writes.push(i), Pe(this), i;
1178
1178
  }
1179
1179
  }, {
1180
1180
  key: "clear",
1181
1181
  value: function(r) {
1182
- return nt(this.reads, r) || nt(this.writes, r);
1182
+ return it(this.reads, r) || it(this.writes, r);
1183
1183
  }
1184
1184
  }, {
1185
1185
  key: "extend",
1186
1186
  value: function(r) {
1187
1187
  if (!r || j(r) !== "object") throw new Error("[TINY][FastDom] expected object");
1188
1188
  var n = Object.create(this);
1189
- return Zn(n, r), n.fastdom = this, n.initialize && n.initialize(), n;
1189
+ return Jn(n, r), n.fastdom = this, n.initialize && n.initialize(), n;
1190
1190
  }
1191
1191
  }]);
1192
- }(), Lt = new Jn(), it = function(t, r, n, i) {
1192
+ }(), Ft = new ei(), at = function(t, r, n, i) {
1193
1193
  var a = t._tasks, o = t.fastdom, s, l = new Promise(function(u, f) {
1194
1194
  s = o[r](function() {
1195
1195
  a.delete(l);
@@ -1201,33 +1201,33 @@ var Xn = function() {
1201
1201
  }, i);
1202
1202
  });
1203
1203
  return a.set(l, s), l;
1204
- }, ei = {
1204
+ }, ti = {
1205
1205
  initialize: function() {
1206
1206
  this._tasks = /* @__PURE__ */ new Map();
1207
1207
  },
1208
1208
  mutate: function(t, r) {
1209
- return it(this, "mutate", t, r);
1209
+ return at(this, "mutate", t, r);
1210
1210
  },
1211
1211
  measure: function(t, r) {
1212
- return it(this, "measure", t, r);
1212
+ return at(this, "measure", t, r);
1213
1213
  },
1214
1214
  clear: function(t) {
1215
1215
  var r = this._tasks, n = r.get(t);
1216
1216
  this.fastdom.clear(n), r.delete(t);
1217
1217
  }
1218
1218
  };
1219
- Lt.extend(ei);
1220
- var ti = function(t, r) {
1219
+ Ft.extend(ti);
1220
+ var ri = function(t, r) {
1221
1221
  for (var n = r.length; n--; )
1222
1222
  t.clear(r[n]), r.splice(n, 1);
1223
- }, ri = function(t, r) {
1223
+ }, ni = function(t, r) {
1224
1224
  var n = t.indexOf(r);
1225
1225
  return !!~n && !!t.splice(n, 1);
1226
- }, ni = /* @__PURE__ */ function() {
1226
+ }, ii = /* @__PURE__ */ function() {
1227
1227
  function e(t) {
1228
- ft(this, e), this.fastdom = t, this.tasks = [];
1228
+ ct(this, e), this.fastdom = t, this.tasks = [];
1229
1229
  }
1230
- return ct(e, [{
1230
+ return dt(e, [{
1231
1231
  key: "measure",
1232
1232
  value: function(r, n) {
1233
1233
  var i = this.tasks, a = this.fastdom.measure(function() {
@@ -1246,39 +1246,39 @@ var ti = function(t, r) {
1246
1246
  }, {
1247
1247
  key: "clear",
1248
1248
  value: function(r) {
1249
- return arguments.length || ti(this.fastdom, this.tasks), ri(this.tasks, r), this.fastdom.clear(r);
1249
+ return arguments.length || ri(this.fastdom, this.tasks), ni(this.tasks, r), this.fastdom.clear(r);
1250
1250
  }
1251
1251
  }]);
1252
- }(), ii = {
1252
+ }(), ai = {
1253
1253
  sandbox: function() {
1254
- return new ni(this.fastdom);
1254
+ return new ii(this.fastdom);
1255
1255
  }
1256
1256
  };
1257
- Lt.extend(ii);
1258
- var ai = ["fullscreenElement", "fullscreenEnabled", "requestFullscreen", "exitFullscreen", "fullscreenchange", "fullscreenerror"], oi = ["mozFullScreenElement", "mozFullScreenEnabled", "mozRequestFullScreen", "mozCancelFullScreen", "mozfullscreenchange", "mozfullscreenerror"], si = ["webkitFullscreenElement", "webkitFullscreenEnabled", "webkitRequestFullscreen", "webkitExitFullscreen", "webkitfullscreenchange", "webkitfullscreenerror"], li = ["msFullscreenElement", "msFullscreenEnabled", "msRequestFullscreen", "msExitFullscreen", "MSFullscreenChange", "MSFullscreenError"], Ee = [ai, si, oi, li], L = typeof window < "u" && typeof window.document < "u" ? window.document : {}, C = null, ui = function() {
1259
- if (!_)
1260
- for (var t = 0, r = Ee.length; t < r; t++) {
1261
- var n = Ee[t];
1257
+ Ft.extend(ai);
1258
+ var oi = ["fullscreenElement", "fullscreenEnabled", "requestFullscreen", "exitFullscreen", "fullscreenchange", "fullscreenerror"], si = ["mozFullScreenElement", "mozFullScreenEnabled", "mozRequestFullScreen", "mozCancelFullScreen", "mozfullscreenchange", "mozfullscreenerror"], li = ["webkitFullscreenElement", "webkitFullscreenEnabled", "webkitRequestFullscreen", "webkitExitFullscreen", "webkitfullscreenchange", "webkitfullscreenerror"], ui = ["msFullscreenElement", "msFullscreenEnabled", "msRequestFullscreen", "msExitFullscreen", "MSFullscreenChange", "MSFullscreenError"], Ae = [oi, li, si, ui], L = typeof window < "u" && typeof window.document < "u" ? window.document : {}, E = null, fi = function() {
1259
+ if (!C)
1260
+ for (var t = 0, r = Ae.length; t < r; t++) {
1261
+ var n = Ae[t];
1262
1262
  if (n && n[1] in L) {
1263
- for (C = {}, t = 0; t < n.length; t++)
1264
- C[Ee[0][t]] = n[t];
1263
+ for (E = {}, t = 0; t < n.length; t++)
1264
+ E[Ae[0][t]] = n[t];
1265
1265
  return;
1266
1266
  }
1267
1267
  }
1268
1268
  };
1269
- ui();
1270
- var at = {
1271
- change: C && C.fullscreenchange,
1272
- error: C && C.fullscreenerror
1273
- }, Re = {
1269
+ fi();
1270
+ var ot = {
1271
+ change: E && E.fullscreenchange,
1272
+ error: E && E.fullscreenerror
1273
+ }, Me = {
1274
1274
  request: function(t, r) {
1275
1275
  var n = this;
1276
1276
  return new Promise(function(i, a) {
1277
1277
  var o = function() {
1278
1278
  n.off("change", o), i();
1279
1279
  };
1280
- if (n.on("change", o), t = t || (_ ? null : L.documentElement), t && C && t[C.requestFullscreen]) {
1281
- var s = t[C.requestFullscreen](r);
1280
+ if (n.on("change", o), t = t || (C ? null : L.documentElement), t && E && t[E.requestFullscreen]) {
1281
+ var s = t[E.requestFullscreen](r);
1282
1282
  s instanceof Promise && s.then(o).catch(a);
1283
1283
  } else
1284
1284
  a(new Error("Fullscreen API not supported or element is null."));
@@ -1294,8 +1294,8 @@ var at = {
1294
1294
  var i = function() {
1295
1295
  t.off("change", i), r();
1296
1296
  };
1297
- if (t.on("change", i), !_ && C && L[C.exitFullscreen]) {
1298
- var a = L[C.exitFullscreen]();
1297
+ if (t.on("change", i), !C && E && L[E.exitFullscreen]) {
1298
+ var a = L[E.exitFullscreen]();
1299
1299
  a instanceof Promise && a.then(i).catch(n);
1300
1300
  } else
1301
1301
  n(new Error("Fullscreen API not supported."));
@@ -1311,16 +1311,16 @@ var at = {
1311
1311
  this.on("error", t);
1312
1312
  },
1313
1313
  on: function(t, r) {
1314
- var n = at[t];
1315
- n && !_ && K(L, n, r);
1314
+ var n = ot[t];
1315
+ n && !C && q(L, n, r);
1316
1316
  },
1317
1317
  off: function(t, r) {
1318
- var n = at[t];
1319
- n && !_ && pe(L, n, r);
1318
+ var n = ot[t];
1319
+ n && !C && pe(L, n, r);
1320
1320
  },
1321
- raw: C || {}
1321
+ raw: E || {}
1322
1322
  };
1323
- _ ? Object.defineProperties(Re, {
1323
+ C ? Object.defineProperties(Me, {
1324
1324
  isFullscreen: {
1325
1325
  get: function() {
1326
1326
  return !1;
@@ -1338,27 +1338,27 @@ _ ? Object.defineProperties(Re, {
1338
1338
  return !1;
1339
1339
  }
1340
1340
  }
1341
- }) : Object.defineProperties(Re, {
1341
+ }) : Object.defineProperties(Me, {
1342
1342
  isFullscreen: {
1343
1343
  get: function() {
1344
- return !!L[C && C.fullscreenElement];
1344
+ return !!L[E && E.fullscreenElement];
1345
1345
  }
1346
1346
  },
1347
1347
  element: {
1348
1348
  enumerable: !0,
1349
1349
  get: function() {
1350
- return L[C && C.fullscreenElement];
1350
+ return L[E && E.fullscreenElement];
1351
1351
  }
1352
1352
  },
1353
1353
  isEnabled: {
1354
1354
  enumerable: !0,
1355
1355
  get: function() {
1356
- return !!L[C && C.fullscreenEnabled];
1356
+ return !!L[E && E.fullscreenEnabled];
1357
1357
  }
1358
1358
  }
1359
1359
  });
1360
- Re.isEnabled;
1361
- function fi(e, t, r, n) {
1360
+ Me.isEnabled;
1361
+ function ci(e, t, r, n) {
1362
1362
  var i, a = 0;
1363
1363
  typeof t != "boolean" && (n = r, r = t, t = void 0);
1364
1364
  function o() {
@@ -1378,43 +1378,43 @@ function fi(e, t, r, n) {
1378
1378
  }
1379
1379
  return o._cancel = s, o;
1380
1380
  }
1381
- function ci(e, t, r) {
1382
- return fi(e, t, !1);
1381
+ function di(e, t, r) {
1382
+ return ci(e, t, !1);
1383
1383
  }
1384
- var G = null, di = "ws://localhost", ot = [27197, 27198, 27199], Ce = 0, U, Ft = 1e3, jt = 3e4, vi = 0, We = {}, Dt, pi = 20 * 1e3, st = null, zt = null, $e = {}, Nt = {}, S = {}, Bt = function() {
1385
- }, Vt = function() {
1386
- }, Wt = function(t) {
1387
- clearTimeout($e[t]), delete We[t], delete $e[t];
1388
- }, gi = function() {
1389
- zt = setTimeout(function() {
1390
- G.close();
1384
+ var W = null, vi = "ws://localhost", st = [27197, 27198, 27199], Ee = 0, G, jt = 1e3, Dt = 3e4, pi = 0, Ge = {}, zt, gi = 20 * 1e3, lt = null, Nt = null, Re = {}, Bt = {}, T = {}, Vt = function() {
1385
+ }, Wt = function() {
1386
+ }, Gt = function(t) {
1387
+ clearTimeout(Re[t]), delete Ge[t], delete Re[t];
1388
+ }, hi = function() {
1389
+ Nt = setTimeout(function() {
1390
+ W.close();
1391
1391
  }, 5e3);
1392
1392
  }, D = function(t, r) {
1393
- var n = vi++;
1394
- if (n = String(n), t.cid = n, !U) {
1393
+ var n = pi++;
1394
+ if (n = String(n), t.cid = n, !G) {
1395
1395
  r && setTimeout(r, 0, {
1396
1396
  ok: !1,
1397
1397
  message: "eSpace is not logged in."
1398
1398
  });
1399
1399
  return;
1400
1400
  }
1401
- typeof r == "function" && (We[n] = r, $e[n] = setTimeout(function() {
1401
+ typeof r == "function" && (Ge[n] = r, Re[n] = setTimeout(function() {
1402
1402
  r({
1403
1403
  ok: !1,
1404
1404
  message: "time out"
1405
- }), Wt(n);
1406
- }, jt)), G.send(JSON.stringify(t));
1407
- }, Gt = function() {
1408
- st = setTimeout(function() {
1409
- U ? D({
1405
+ }), Gt(n);
1406
+ }, Dt)), W.send(JSON.stringify(t));
1407
+ }, Ut = function() {
1408
+ lt = setTimeout(function() {
1409
+ G ? D({
1410
1410
  type: "heartbeat"
1411
1411
  }, function() {
1412
- Gt();
1413
- }) : clearTimeout(st);
1414
- }, pi);
1415
- }, hi = function(t) {
1416
- U = !0, Gt(), clearTimeout(Dt), clearTimeout(zt), Vt(t);
1412
+ Ut();
1413
+ }) : clearTimeout(lt);
1414
+ }, gi);
1417
1415
  }, mi = function(t) {
1416
+ G = !0, Ut(), clearTimeout(zt), clearTimeout(Nt), Wt(t);
1417
+ }, yi = function(t) {
1418
1418
  var r = t.data;
1419
1419
  if (typeof r == "string" && (r = r.replace(/^\d+/, ""), !!r)) {
1420
1420
  try {
@@ -1422,36 +1422,36 @@ var G = null, di = "ws://localhost", ot = [27197, 27198, 27199], Ce = 0, U, Ft =
1422
1422
  } catch (o) {
1423
1423
  return !o;
1424
1424
  }
1425
- if (U) {
1426
- var n = Nt[r.type];
1425
+ if (G) {
1426
+ var n = Bt[r.type];
1427
1427
  if (n)
1428
1428
  return n(r.data);
1429
- var i = r.cid, a = We[i];
1429
+ var i = r.cid, a = Ge[i];
1430
1430
  a && (r.ok ? a(null, r.data) : a({
1431
1431
  ok: r.ok
1432
- }), Wt(i));
1432
+ }), Gt(i));
1433
1433
  } else
1434
- r.type === "eSpace-ctrl-connection-success" ? hi(r.data) : G.close();
1434
+ r.type === "eSpace-ctrl-connection-success" ? mi(r.data) : W.close();
1435
1435
  }
1436
- }, yi = function() {
1437
- G.onopen = gi, G.onclose = bi, G.onmessage = mi;
1438
- }, Ut = function(t) {
1439
- Dt = setTimeout(function() {
1440
- Ce >= ot.length && (Ce = 0), G = new WebSocket(di + ":" + ot[Ce++]), yi();
1441
- }, t || 0);
1442
1436
  }, bi = function() {
1443
- (U || typeof U > "u") && (U = !1, Bt()), Ut(Ft);
1437
+ W.onopen = hi, W.onclose = wi, W.onmessage = yi;
1438
+ }, Ht = function(t) {
1439
+ zt = setTimeout(function() {
1440
+ Ee >= st.length && (Ee = 0), W = new WebSocket(vi + ":" + st[Ee++]), bi();
1441
+ }, t || 0);
1442
+ }, wi = function() {
1443
+ (G || typeof G > "u") && (G = !1, Vt()), Ht(jt);
1444
1444
  };
1445
- S.init = function(e) {
1446
- e && (jt = e.timeout || 3e4, Ft = e.pollingInterval || 0), Ut();
1445
+ T.init = function(e) {
1446
+ e && (Dt = e.timeout || 3e4, jt = e.pollingInterval || 0), Ht();
1447
1447
  };
1448
- S.ready = function(e) {
1449
- Vt = e;
1448
+ T.ready = function(e) {
1449
+ Wt = e;
1450
1450
  };
1451
- S.error = function(e) {
1452
- Bt = e;
1451
+ T.error = function(e) {
1452
+ Vt = e;
1453
1453
  };
1454
- var lt = function(t, r, n) {
1454
+ var ut = function(t, r, n) {
1455
1455
  for (var i = [], a = 0; a < r; a++) {
1456
1456
  var o = t;
1457
1457
  a && (o += a);
@@ -1460,10 +1460,10 @@ var lt = function(t, r, n) {
1460
1460
  }
1461
1461
  return i;
1462
1462
  };
1463
- S.on = function(e, t) {
1464
- Nt[e] = t;
1463
+ T.on = function(e, t) {
1464
+ Bt[e] = t;
1465
1465
  };
1466
- S.getUserInfo = function(e, t) {
1466
+ T.getUserInfo = function(e, t) {
1467
1467
  var r = function(i, a) {
1468
1468
  if (i)
1469
1469
  return t(i);
@@ -1471,8 +1471,8 @@ S.getUserInfo = function(e, t) {
1471
1471
  return {
1472
1472
  account: c.account,
1473
1473
  name: c.name,
1474
- mobile: lt("mobile", 6, c),
1475
- office_phone: lt("office_phone", 6, c),
1474
+ mobile: ut("mobile", 6, c),
1475
+ office_phone: ut("office_phone", 6, c),
1476
1476
  home_phone: c.home_phone,
1477
1477
  ip_phone: c.ip_phone,
1478
1478
  other_phone: c.other_phone
@@ -1495,14 +1495,14 @@ S.getUserInfo = function(e, t) {
1495
1495
  param: e
1496
1496
  }, r);
1497
1497
  };
1498
- S.subscribeUserStatus = function(e, t) {
1498
+ T.subscribeUserStatus = function(e, t) {
1499
1499
  Array.isArray(e) && e.forEach(function(r) {
1500
1500
  }), D({
1501
1501
  type: "subscribe-user-status",
1502
1502
  param: e
1503
1503
  }, t);
1504
1504
  };
1505
- S.eSpaceCall = function(e, t, r) {
1505
+ T.eSpaceCall = function(e, t, r) {
1506
1506
  D({
1507
1507
  type: "espace-call",
1508
1508
  param: {
@@ -1511,7 +1511,7 @@ S.eSpaceCall = function(e, t, r) {
1511
1511
  }
1512
1512
  }, r);
1513
1513
  };
1514
- S.eSpaceCallByAccount = function(e, t) {
1514
+ T.eSpaceCallByAccount = function(e, t) {
1515
1515
  D({
1516
1516
  type: "espace-call",
1517
1517
  param: {
@@ -1519,7 +1519,7 @@ S.eSpaceCallByAccount = function(e, t) {
1519
1519
  }
1520
1520
  }, t);
1521
1521
  };
1522
- S.eSpaceCallByNumber = function(e, t) {
1522
+ T.eSpaceCallByNumber = function(e, t) {
1523
1523
  D({
1524
1524
  type: "espace-call",
1525
1525
  param: {
@@ -1527,34 +1527,34 @@ S.eSpaceCallByNumber = function(e, t) {
1527
1527
  }
1528
1528
  }, t);
1529
1529
  };
1530
- S.showImDialog = function(e, t) {
1530
+ T.showImDialog = function(e, t) {
1531
1531
  D({
1532
1532
  type: "show-espace-im-dialog",
1533
1533
  param: e
1534
1534
  }, t);
1535
1535
  };
1536
- S.showGroupDialog = function(e, t) {
1536
+ T.showGroupDialog = function(e, t) {
1537
1537
  D({
1538
1538
  type: "show-espace-im-group-dialog",
1539
1539
  param: e
1540
1540
  }, t);
1541
1541
  };
1542
- S.addContactList = function(e, t) {
1542
+ T.addContactList = function(e, t) {
1543
1543
  D({
1544
1544
  type: "add-contact-list",
1545
1545
  param: e
1546
1546
  }, t);
1547
1547
  };
1548
- if (_ || !window.WebSocket) {
1549
- var wi = function() {
1548
+ if (C || !window.WebSocket) {
1549
+ var _i = function() {
1550
1550
  };
1551
- for (var _e in S)
1552
- if (Object.prototype.hasOwnProperty.call(S, _e)) {
1553
- var xi = S[_e];
1554
- typeof xi == "function" && (S[_e] = wi);
1551
+ for (var Ce in T)
1552
+ if (Object.prototype.hasOwnProperty.call(T, Ce)) {
1553
+ var xi = T[Ce];
1554
+ typeof xi == "function" && (T[Ce] = _i);
1555
1555
  }
1556
1556
  }
1557
- var ce = {}, ee = {
1557
+ var ce = {}, J = {
1558
1558
  leave: "v-modal-leave",
1559
1559
  enter: "v-modal-enter",
1560
1560
  modal: "v-modal"
@@ -1564,7 +1564,7 @@ var ce = {}, ee = {
1564
1564
  t.splice(n, 1);
1565
1565
  break;
1566
1566
  }
1567
- }, Le, I = {
1567
+ }, $e, O = {
1568
1568
  step: 2,
1569
1569
  zIndex: 2e3,
1570
1570
  globalScroll: !1,
@@ -1598,27 +1598,27 @@ var ce = {}, ee = {
1598
1598
  t && r && (ce[t] = r);
1599
1599
  },
1600
1600
  nextZIndex: function() {
1601
- var t = I.zIndex;
1602
- return I.zIndex += I.step, t;
1601
+ var t = O.zIndex;
1602
+ return O.zIndex += O.step, t;
1603
1603
  },
1604
1604
  /** 打开遮罩层, 仅vue-popup.ts中使用。 dom = vm.$el 或者 undefined (appendtoBody时) */
1605
1605
  openModal: function(t, r, n, i, a) {
1606
- if (!_ && !(!t || r === void 0)) {
1606
+ if (!C && !(!t || r === void 0)) {
1607
1607
  this.modalFade = a;
1608
1608
  for (var o = 0, s = this.modalStack.length; o < s; o++) {
1609
1609
  var l = this.modalStack[o];
1610
1610
  if (l.id === t)
1611
1611
  return;
1612
1612
  }
1613
- var u = Le();
1614
- if (ue(u, ee.modal), this.modalFade && !I.hasModal && ue(u, ee.enter), i) {
1613
+ var u = $e();
1614
+ if (ue(u, J.modal), this.modalFade && !O.hasModal && ue(u, J.enter), i) {
1615
1615
  var f = i.trim().split(/\s+/);
1616
1616
  f.forEach(function(d) {
1617
1617
  return ue(u, d);
1618
1618
  });
1619
1619
  }
1620
1620
  setTimeout(function() {
1621
- fe(u, ee.enter);
1621
+ fe(u, J.enter);
1622
1622
  }, 200), r && (u.style.zIndex = r.toString()), u.style.display = "", u.tabIndex = 0;
1623
1623
  var c;
1624
1624
  n && n.parentNode && n.parentNode.nodeType !== 11 ? c = n.parentNode : c = document.body, c.appendChild(u), this.modalStack.push({
@@ -1630,14 +1630,14 @@ var ce = {}, ee = {
1630
1630
  },
1631
1631
  /** 点击背景遮罩层时,调用栈顶的popup,调用它的close() */
1632
1632
  doOnModalClick: function() {
1633
- var t = I.modalStack, r = t[t.length - 1];
1633
+ var t = O.modalStack, r = t[t.length - 1];
1634
1634
  if (r) {
1635
- var n = I.getInstance(r.id);
1635
+ var n = O.getInstance(r.id);
1636
1636
  n && n.closeOnClickModal && typeof n.close == "function" && n.close();
1637
1637
  }
1638
1638
  },
1639
1639
  closeModal: function(t) {
1640
- var r = this.modalStack, n = Le();
1640
+ var r = this.modalStack, n = $e();
1641
1641
  if (r.length > 0) {
1642
1642
  var i = r[r.length - 1];
1643
1643
  if (i.id === t) {
@@ -1653,41 +1653,41 @@ var ce = {}, ee = {
1653
1653
  } else
1654
1654
  Ai(r, t);
1655
1655
  }
1656
- r.length === 0 && (this.modalFade && ue(n, ee.leave), fe(document.body, this.popLockClass), this.resetBodyBorder(), setTimeout(function() {
1657
- r.length === 0 && (n.parentNode && n.parentNode.removeChild(n), n.style.display = "none", I.modalDom = null), fe(n, ee.leave);
1656
+ r.length === 0 && (this.modalFade && ue(n, J.leave), fe(document.body, this.popLockClass), this.resetBodyBorder(), setTimeout(function() {
1657
+ r.length === 0 && (n.parentNode && n.parentNode.removeChild(n), n.style.display = "none", O.modalDom = null), fe(n, J.leave);
1658
1658
  }, 200));
1659
1659
  }
1660
1660
  };
1661
- Le = function() {
1662
- if (_)
1661
+ $e = function() {
1662
+ if (C)
1663
1663
  return null;
1664
- var t = I.modalDom;
1665
- return t ? I.hasModal = !0 : (I.hasModal = !1, t = document.createElement("div"), I.modalDom = t, t.addEventListener("touchmove", function(r) {
1664
+ var t = O.modalDom;
1665
+ return t ? O.hasModal = !0 : (O.hasModal = !1, t = document.createElement("div"), O.modalDom = t, t.addEventListener("touchmove", function(r) {
1666
1666
  r.preventDefault(), r.stopPropagation();
1667
1667
  }, {
1668
1668
  passive: !0
1669
- }), K(t, "click", function() {
1670
- I.doOnModalClick();
1669
+ }), q(t, "click", function() {
1670
+ O.doOnModalClick();
1671
1671
  })), t;
1672
1672
  };
1673
- _ || K(window, "keydown", function(e) {
1674
- if (e.keyCode === Wn.Escape) {
1675
- var t = I.modalStack;
1673
+ C || q(window, "keydown", function(e) {
1674
+ if (e.keyCode === Gn.Escape) {
1675
+ var t = O.modalStack;
1676
1676
  if (t.length > 0) {
1677
1677
  var r = t[t.length - 1];
1678
1678
  if (!r)
1679
1679
  return;
1680
- var n = I.getInstance(r.id);
1680
+ var n = O.getInstance(r.id);
1681
1681
  n && n.closeOnPressEscape && (n.handleClose ? n.handleClose("esc") : n.handleAction ? n.handleAction("cancel") : n.close());
1682
1682
  }
1683
1683
  }
1684
1684
  });
1685
- !_ && typeof ResizeObserver == "function" && new ResizeObserver(function(e) {
1685
+ !C && typeof ResizeObserver == "function" && new ResizeObserver(function(e) {
1686
1686
  e.forEach(function(t) {
1687
1687
  t.target.popperVm && t.contentRect.height > 50 && t.target.popperVm.update();
1688
1688
  });
1689
1689
  });
1690
- var Ge = function() {
1690
+ var Ue = function() {
1691
1691
  var t = {}, r = function(a, o) {
1692
1692
  var s = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : !1;
1693
1693
  if (a && typeof a == "string" && typeof o == "function") {
@@ -1738,7 +1738,7 @@ var Ge = function() {
1738
1738
  });
1739
1739
  }), n.concat(a).join(" ");
1740
1740
  }
1741
- }, _i = function() {
1741
+ }, Ti = function() {
1742
1742
  var t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, r = arguments.length > 1 ? arguments[1] : void 0;
1743
1743
  if (j(r) === "object") {
1744
1744
  var n = Array.isArray(r) ? r : Object.keys(r).filter(function(a) {
@@ -1749,20 +1749,20 @@ var Ge = function() {
1749
1749
  }), i;
1750
1750
  } else
1751
1751
  return t[r] || "";
1752
- }, va = p.Teleport, Ht = p.defineAsyncComponent, Ti = p.markRaw, qt = function(t) {
1752
+ }, Le = typeof window > "u" ? null : window.__Longque__, ha = p.Teleport, qt = p.defineAsyncComponent, Oi = p.markRaw, Kt = function(t) {
1753
1753
  var r = t.view, n = r === void 0 ? void 0 : r, i = t.component, a = i === void 0 ? void 0 : i, o = t.props, s = t.customDesignProps, l = t.context, u = l.attrs, f = l.slots, c = t.extend, d = c === void 0 ? {} : c;
1754
1754
  return function() {
1755
1755
  return p.h(n && n.value || a, $($($($({
1756
1756
  ref: "modeTemplate"
1757
1757
  }, o), u), s), d), f);
1758
1758
  };
1759
- }, Ue = function(t) {
1759
+ }, He = function(t) {
1760
1760
  var r = p.getCurrentInstance();
1761
- return t && Yt(r), r == null ? void 0 : r.appContext.config.globalProperties;
1762
- }, Oi = function() {
1761
+ return t && Qt(r), r == null ? void 0 : r.appContext.config.globalProperties;
1762
+ }, ki = function() {
1763
1763
  var t, r = p.getCurrentInstance();
1764
1764
  return (r == null || (t = r.vnode) === null || t === void 0 ? void 0 : t.props) || {};
1765
- }, Kt = function() {
1765
+ }, Xt = function() {
1766
1766
  var t, r = p.getCurrentInstance(), n = r == null || (t = r.type) === null || t === void 0 ? void 0 : t.name;
1767
1767
  if (!n) {
1768
1768
  var i, a;
@@ -1775,23 +1775,23 @@ var Ge = function() {
1775
1775
  component: function() {
1776
1776
  }
1777
1777
  };
1778
- }, ki = function() {
1778
+ }, Ii = function() {
1779
1779
  var t = p.getCurrentInstance();
1780
1780
  return (t == null ? void 0 : t.appContext.config.globalProperties) || {};
1781
- }, Xt = function() {
1781
+ }, Yt = function() {
1782
1782
  var t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : p.getCurrentInstance(), r = t == null ? void 0 : t.appContext.config.globalProperties.$router, n = r && r.currentRoute.value;
1783
1783
  return {
1784
1784
  route: n,
1785
1785
  router: r
1786
1786
  };
1787
- }, Yt = function(t) {
1788
- var r = Ge();
1787
+ }, Qt = function(t) {
1788
+ var r = Ue();
1789
1789
  typeof t.$emitter > "u" && Object.defineProperty(t, "$emitter", {
1790
1790
  get: function() {
1791
1791
  return r;
1792
1792
  }
1793
1793
  });
1794
- }, Ii = function(t) {
1794
+ }, Pi = function(t) {
1795
1795
  var r = function(i, a, o, s) {
1796
1796
  var l = i.subTree && i.subTree.children || i.children;
1797
1797
  Array.isArray(l) && l.forEach(function(u) {
@@ -1805,7 +1805,7 @@ var Ge = function() {
1805
1805
  s = s.parent, s && (l = s.type && s.type.componentName);
1806
1806
  if (s) {
1807
1807
  var u, f;
1808
- (u = s).emit.apply(u, te([a].concat(o))), s.$emitter && (f = s.$emitter).emit.apply(f, te([a].concat(o)));
1808
+ (u = s).emit.apply(u, ee([a].concat(o))), s.$emitter && (f = s.$emitter).emit.apply(f, ee([a].concat(o)));
1809
1809
  }
1810
1810
  },
1811
1811
  broadcast: function(i, a, o) {
@@ -1814,7 +1814,7 @@ var Ge = function() {
1814
1814
  };
1815
1815
  }, be = function(t) {
1816
1816
  if (t && t.parent) return t.parent.type.name === "AsyncComponentWrapper" && t.parent.parent ? t.parent.parent : t.parent;
1817
- }, Pi = function(t) {
1817
+ }, Mi = function(t) {
1818
1818
  return function(r) {
1819
1819
  var n = be(t), i = 0, a = function(s) {
1820
1820
  return {
@@ -1828,9 +1828,9 @@ var Ge = function() {
1828
1828
  for (i++; n && !r(a(n)); )
1829
1829
  n = be(n), i++;
1830
1830
  };
1831
- }, Mi = function(t) {
1831
+ }, Ri = function(t) {
1832
1832
  return function(r) {
1833
- if (typeof r != "function") return Qt(t.subTree);
1833
+ if (typeof r != "function") return Zt(t.subTree);
1834
1834
  var n = 1, i = function(o) {
1835
1835
  if (o) {
1836
1836
  var s = o.children || o.dynamicChildren, l = n++;
@@ -1852,12 +1852,12 @@ var Ge = function() {
1852
1852
  };
1853
1853
  i(t.subTree);
1854
1854
  };
1855
- }, Ri = /^on[A-Z]/, $i = function(t) {
1855
+ }, $i = /^on[A-Z]/, Li = function(t) {
1856
1856
  var r = {}, n = {};
1857
1857
  for (var i in t) {
1858
1858
  var a = t[i];
1859
- if (Ri.test(i) && typeof a == "function") {
1860
- n[zn(i.substr(2))] = a;
1859
+ if ($i.test(i) && typeof a == "function") {
1860
+ n[Nn(i.substr(2))] = a;
1861
1861
  continue;
1862
1862
  }
1863
1863
  r[i] = a;
@@ -1866,7 +1866,7 @@ var Ge = function() {
1866
1866
  $attrs: r,
1867
1867
  $listeners: n
1868
1868
  };
1869
- }, Qt = function(t) {
1869
+ }, Zt = function(t) {
1870
1870
  var r = [];
1871
1871
  if (r.refs = {}, t) {
1872
1872
  var n = t.dynamicChildren || t.children;
@@ -1878,7 +1878,7 @@ var Ge = function() {
1878
1878
  }) : t.component && r.push(F({}, t.component));
1879
1879
  }
1880
1880
  return r;
1881
- }, Te = function(t, r, n, i) {
1881
+ }, Fe = function(t, r, n, i) {
1882
1882
  var a = function(l) {
1883
1883
  if (typeof i == "function" && i(l)) return 1;
1884
1884
  Object.defineProperty(t, l, {
@@ -1895,13 +1895,16 @@ var Ge = function() {
1895
1895
  for (var o in r[n])
1896
1896
  a(o);
1897
1897
  return t;
1898
- }, ut = function(t) {
1898
+ }, Fi = function(t, r, n) {
1899
+ var i = Le.SKIP_PREFIX_UNDERSCORE;
1900
+ Le.createDelegate(r[n], t, i);
1901
+ }, ji = Le ? Fi : Fe, ft = function(t) {
1899
1902
  return t.indexOf("_") === 0;
1900
- }, Zt = function(t, r) {
1901
- return Te(t, r, "setupState", null), Te(t, r, "props", ut), Te(t, r, "ctx", ut), t;
1903
+ }, Jt = function(t, r) {
1904
+ return Fe(t, r, "setupState", null), Fe(t, r, "props", ft), ji(t, r, "ctx", ft), t;
1902
1905
  }, F = function(t, r) {
1903
- var n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : null, i = $i(r.attrs), a = i.$attrs, o = i.$listeners, s = r.$emitter;
1904
- s || (Yt(r), s = r.$emitter);
1906
+ var n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : null, i = Li(r.attrs), a = i.$attrs, o = i.$listeners, s = r.$emitter;
1907
+ s || (Qt(r), s = r.$emitter);
1905
1908
  var l = function() {
1906
1909
  for (var c = arguments.length, d = new Array(c), v = 0; v < c; v++)
1907
1910
  d[v] = arguments[v];
@@ -1909,7 +1912,7 @@ var Ge = function() {
1909
1912
  }, u = function(c, d, v) {
1910
1913
  return c[d] = v;
1911
1914
  };
1912
- return n || Zt(t, r), Object.defineProperties(t, {
1915
+ return n || Jt(t, r), Object.defineProperties(t, {
1913
1916
  $attrs: {
1914
1917
  get: function() {
1915
1918
  return a;
@@ -1917,7 +1920,7 @@ var Ge = function() {
1917
1920
  },
1918
1921
  $children: {
1919
1922
  get: function() {
1920
- return Qt(r.subTree);
1923
+ return Zt(r.subTree);
1921
1924
  }
1922
1925
  },
1923
1926
  $constants: {
@@ -2008,27 +2011,27 @@ var Ge = function() {
2008
2011
  }
2009
2012
  }
2010
2013
  }), t;
2011
- }, Li = function(t, r) {
2014
+ }, Di = function(t, r) {
2012
2015
  for (var n in t.refs)
2013
2016
  Object.prototype.hasOwnProperty.call(t.refs, n) && (r[n] = t.refs[n]);
2014
- }, Fi = function(t, r) {
2015
- var n, i, a = p.getCurrentInstance(), o = a == null ? void 0 : a.appContext.config.globalProperties, s = Xt(a), l = s.route, u = s.router, f = a == null || (n = a.proxy) === null || n === void 0 || (i = n.$root) === null || i === void 0 ? void 0 : i.$i18n, c = Ii(a), d = c.dispatch, v = c.broadcast, g = Pi(a), y = Mi(a), h = F({}, a, t), A = t.emit, w = {}, x = typeof a.props.tiny_template > "u" && be(a), m = x ? F({}, x) : a.parent ? F({}, a.parent) : null, E = function(T) {
2016
- var O, V = T.name, ie = T.value, ae = x ? x.ctx : a == null || (O = a.parent) === null || O === void 0 ? void 0 : O.ctx;
2017
- ae[V] = ie, m[V] = ie;
2018
- }, P = function(T) {
2019
- Object.defineProperties(h, T), Object.defineProperties(a == null ? void 0 : a.ctx, T);
2020
- }, M = function(T) {
2021
- m && Object.defineProperties(m, T);
2017
+ }, zi = function(t, r) {
2018
+ var n, i, a = p.getCurrentInstance(), o = a == null ? void 0 : a.appContext.config.globalProperties, s = Yt(a), l = s.route, u = s.router, f = a == null || (n = a.proxy) === null || n === void 0 || (i = n.$root) === null || i === void 0 ? void 0 : i.$i18n, c = Pi(a), d = c.dispatch, v = c.broadcast, g = Mi(a), y = Ri(a), h = F({}, a, t), x = t.emit, w = {}, _ = typeof a.props.tiny_template > "u" && be(a), m = _ ? F({}, _) : a.parent ? F({}, a.parent) : null, A = function(S) {
2019
+ var M, ne = S.name, ie = S.value, ae = _ ? _.ctx : a == null || (M = a.parent) === null || M === void 0 ? void 0 : M.ctx;
2020
+ ae[ne] = ie, m[ne] = ie;
2021
+ }, I = function(S) {
2022
+ Object.defineProperties(h, S), Object.defineProperties(a == null ? void 0 : a.ctx, S);
2023
+ }, k = function(S) {
2024
+ m && Object.defineProperties(m, S);
2022
2025
  };
2023
2026
  return p.onBeforeMount(function() {
2024
- return Zt(h, a);
2027
+ return Jt(h, a);
2025
2028
  }), p.onMounted(function() {
2026
- return Li(a, w);
2029
+ return Di(a, w);
2027
2030
  }), {
2028
2031
  framework: "vue3",
2029
2032
  vm: h,
2030
- emit: A,
2031
- emitter: Ge,
2033
+ emit: x,
2034
+ emitter: Ue,
2032
2035
  route: l,
2033
2036
  router: u,
2034
2037
  dispatch: d,
@@ -2050,9 +2053,9 @@ var Ge = function() {
2050
2053
  getService: function() {
2051
2054
  return o == null ? void 0 : o.$getService(h);
2052
2055
  },
2053
- setParentAttribute: E,
2054
- defineInstanceProperties: P,
2055
- defineParentInstanceProperties: M
2056
+ setParentAttribute: A,
2057
+ defineInstanceProperties: I,
2058
+ defineParentInstanceProperties: k
2056
2059
  };
2057
2060
  }, de = function(t, r, n) {
2058
2061
  if (typeof t[r] < "u") {
@@ -2061,31 +2064,31 @@ var Ge = function() {
2061
2064
  s.context = o.instance, i(a, o, s);
2062
2065
  }, delete t[r];
2063
2066
  }
2064
- }, ji = function(t) {
2067
+ }, Ni = function(t) {
2065
2068
  for (var r in t) {
2066
2069
  var n = t[r];
2067
2070
  de(n, "inserted", "mounted"), de(n, "bind", "beforeMount"), de(n, "update", "updated"), de(n, "unbind", "unmounted");
2068
2071
  }
2069
2072
  return t;
2070
- }, Di = function(t) {
2073
+ }, Bi = function(t) {
2071
2074
  return t;
2072
- }, zi = p.Text, Ni = p.Comment, Bi = function(t) {
2073
- return !t || !t.type || [zi, Ni].includes(t.type);
2074
- }, Vi = function(t) {
2075
+ }, Vi = p.Text, Wi = p.Comment, Gi = function(t) {
2076
+ return !t || !t.type || [Vi, Wi].includes(t.type);
2077
+ }, Ui = function(t) {
2075
2078
  var r = {};
2076
2079
  for (var n in t)
2077
2080
  if (n === "class" || n === "style")
2078
2081
  r[n] = t[n];
2079
2082
  else if (n === "on" || n === "nativeOn") {
2080
2083
  var i = t[n];
2081
- for (var a in i) r["on".concat(jn(Fn(a)))] = i[a];
2084
+ for (var a in i) r["on".concat(Dn(jn(a)))] = i[a];
2082
2085
  } else if (n === "attrs" || n === "props" || n === "domProps") {
2083
2086
  var o = t[n];
2084
2087
  for (var s in o) r[s] = o[s];
2085
2088
  } else
2086
2089
  r[n] = t[n];
2087
2090
  return r;
2088
- }, Wi = function(t) {
2091
+ }, Hi = function(t) {
2089
2092
  var r = t, n = !1;
2090
2093
  if (typeof t == "string" && typeof document < "u") {
2091
2094
  var i = document.createElement(t), a = ["SVG", "CIRCLE", "PATH"];
@@ -2096,29 +2099,29 @@ var Ge = function() {
2096
2099
  component: t,
2097
2100
  customElement: n
2098
2101
  };
2099
- }, Gi = function(t, r, n) {
2100
- var i = {}, a = n, o = Wi(t), s = o.customElement, l = o.type;
2101
- return t = o.component, r && j(r) === "object" && !Array.isArray(r) ? (i = Vi(r), r.scopedSlots && (a = r.scopedSlots)) : (typeof r == "string" || Array.isArray(r)) && (n = r), (typeof n == "string" || Array.isArray(n)) && (a = typeof t != "string" || s ? function() {
2102
+ }, qi = function(t, r, n) {
2103
+ var i = {}, a = n, o = Hi(t), s = o.customElement, l = o.type;
2104
+ return t = o.component, r && j(r) === "object" && !Array.isArray(r) ? (i = Ui(r), r.scopedSlots && (a = r.scopedSlots)) : (typeof r == "string" || Array.isArray(r)) && (n = r), (typeof n == "string" || Array.isArray(n)) && (a = typeof t != "string" || s ? function() {
2102
2105
  return n;
2103
2106
  } : n), p.h(l, i, a);
2104
- }, Ui = function(t) {
2107
+ }, Ki = function(t) {
2105
2108
  return function(r) {
2106
2109
  var n = r.component, i = r.propsData, a = r.el, o = Object.assign(n, {
2107
- provide: dt({}, t.configKey, t.configInstance)
2110
+ provide: vt({}, t.configKey, t.configInstance)
2108
2111
  }), s = p.createVNode(o, i);
2109
2112
  return p.render(s, a), F({}, s.component);
2110
2113
  };
2111
- }, Hi = p.defineComponent, Jt = !1, pa = !0, qi = p.isVNode, ga = p.KeepAlive, Fe = function(t) {
2114
+ }, Xi = p.defineComponent, er = !1, ma = !0, Yi = p.isVNode, ya = p.KeepAlive, je = function(t) {
2112
2115
  var r = [];
2113
2116
  return Object.keys(t).forEach(function(n) {
2114
2117
  return t[n] && r.push(n);
2115
2118
  }), r.join(" ");
2116
- }, Ki = function(t) {
2119
+ }, Qi = function(t) {
2117
2120
  var r = [];
2118
2121
  return t.forEach(function(n) {
2119
- typeof n == "string" ? r.push(n) : j(n) === "object" && r.push(Fe(n));
2122
+ typeof n == "string" ? r.push(n) : j(n) === "object" && r.push(je(n));
2120
2123
  }), r.join(" ");
2121
- }, je = function(t) {
2124
+ }, De = function(t) {
2122
2125
  if (!t)
2123
2126
  return "";
2124
2127
  if (typeof t == "string")
@@ -2126,18 +2129,18 @@ var Ge = function() {
2126
2129
  if (Array.isArray(t) && t.length > 0) {
2127
2130
  var r = [];
2128
2131
  return t.forEach(function(n) {
2129
- n && (typeof n == "string" ? r.push(n) : Array.isArray(n) ? r.push(Ki(n)) : j(n) === "object" && r.push(Fe(n)));
2132
+ n && (typeof n == "string" ? r.push(n) : Array.isArray(n) ? r.push(Qi(n)) : j(n) === "object" && r.push(je(n)));
2130
2133
  }), r.join(" ");
2131
2134
  }
2132
- return j(t) === "object" ? Fe(t) : "";
2133
- }, ha = function(t) {
2134
- var r = je(t), n = Array.from(new Set(r.split(" "))).filter(function(i) {
2135
+ return j(t) === "object" ? je(t) : "";
2136
+ }, ba = function(t) {
2137
+ var r = De(t), n = Array.from(new Set(r.split(" "))).filter(function(i) {
2135
2138
  return i;
2136
2139
  });
2137
- return je(n);
2138
- }, Xi = function() {
2140
+ return De(n);
2141
+ }, Zi = function() {
2139
2142
  var t = p.ref(""), r = ["2xl", "xl", "lg", "md", "sm"], n = function(l) {
2140
- return _ || typeof matchMedia != "function" ? {
2143
+ return C || typeof matchMedia != "function" ? {
2141
2144
  matches: !1,
2142
2145
  media: l,
2143
2146
  addEventListener: function() {
@@ -2160,7 +2163,7 @@ var Ge = function() {
2160
2163
  }
2161
2164
  }
2162
2165
  t.value = "default";
2163
- }, o = ci(0, function() {
2166
+ }, o = di(0, function() {
2164
2167
  return a();
2165
2168
  });
2166
2169
  return a(), r.forEach(function(s) {
@@ -2173,7 +2176,7 @@ var Ge = function() {
2173
2176
  current: t
2174
2177
  };
2175
2178
  };
2176
- function ma() {
2179
+ function wa() {
2177
2180
  var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : 100, t = p.ref(0), r;
2178
2181
  function n() {
2179
2182
  r = requestAnimationFrame(function() {
@@ -2195,18 +2198,18 @@ function ma() {
2195
2198
  cancel: i
2196
2199
  };
2197
2200
  }
2198
- var Yi = ["IconLoadingShadow", "IconNoData"], er = 0, tr = function(t, r) {
2201
+ var Ji = ["IconLoadingShadow", "IconNoData"], tr = 0, rr = function(t, r) {
2199
2202
  {
2200
2203
  var n;
2201
2204
  if ((n = t.props) !== null && n !== void 0 && n.id) {
2202
- var i = "".concat(t.props.id).concat(er);
2205
+ var i = "".concat(t.props.id).concat(tr);
2203
2206
  r[t.props.id] = i, t.props.id = i;
2204
2207
  }
2205
2208
  }
2206
2209
  Array.isArray(t == null ? void 0 : t.children) && t.children.forEach(function(a) {
2207
- tr(a, r);
2210
+ rr(a, r);
2208
2211
  });
2209
- }, rr = function(t, r) {
2212
+ }, nr = function(t, r) {
2210
2213
  var n = ["fill", "mask", "filter"];
2211
2214
  n.forEach(function(i) {
2212
2215
  {
@@ -2217,14 +2220,14 @@ var Yi = ["IconLoadingShadow", "IconNoData"], er = 0, tr = function(t, r) {
2217
2220
  }
2218
2221
  }
2219
2222
  }), Array.isArray(t == null ? void 0 : t.children) && t.children.forEach(function(i) {
2220
- rr(i, r);
2223
+ nr(i, r);
2221
2224
  });
2222
- }, Qi = function(t) {
2225
+ }, ea = function(t) {
2223
2226
  if (t) {
2224
2227
  var r = {};
2225
- tr(t, r), rr(t, r), er++;
2228
+ rr(t, r), nr(t, r), tr++;
2226
2229
  }
2227
- }, Zi = function(t) {
2230
+ }, ta = function(t) {
2228
2231
  var r = t.onMounted, n = t.onActivated, i = t.nextTick;
2229
2232
  return function(a) {
2230
2233
  var o;
@@ -2236,7 +2239,7 @@ var Yi = ["IconLoadingShadow", "IconNoData"], er = 0, tr = function(t, r) {
2236
2239
  return o && a();
2237
2240
  });
2238
2241
  };
2239
- }, Ji = function(t) {
2242
+ }, ra = function(t) {
2240
2243
  var r = t.getCurrentInstance, n = t.isVue2, i = t.nextTick, a = t.onUnmounted;
2241
2244
  return function() {
2242
2245
  var o = r().proxy;
@@ -2254,38 +2257,38 @@ var Yi = ["IconLoadingShadow", "IconNoData"], er = 0, tr = function(t, r) {
2254
2257
  });
2255
2258
  });
2256
2259
  };
2257
- }, ea = function(t) {
2260
+ }, na = function(t) {
2258
2261
  var r = t.computed, n = t.getCurrentInstance, i = t.inject, a = t.markRaw, o = t.nextTick, s = t.onMounted, l = t.onActivated, u = t.onUnmounted, f = t.provide, c = t.reactive, d = t.toRef;
2259
2262
  return function() {
2260
- var v = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, g = v.relationKey, y = v.relationContainer, h = v.onChange, A = v.childrenKey, w = v.delivery;
2263
+ var v = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, g = v.relationKey, y = v.relationContainer, h = v.onChange, x = v.childrenKey, w = v.delivery;
2261
2264
  if (!g)
2262
2265
  throw new Error("[TINY Error]<relationKey> must exist.");
2263
- var x = n(), m = c({
2266
+ var _ = n(), m = c({
2264
2267
  children: [],
2265
2268
  indexInParent: -1
2266
- }), E = i(g, null), P = [];
2267
- if (E) {
2268
- var M = E.link, k = E.unlink, T = E.callbacks, O = E.childrenKey, V = E.delivery;
2269
- P = T, A = A || O || "instanceChildren", w = V, m.indexInParent = M(x), u(function() {
2270
- return k(x);
2269
+ }), A = i(g, null), I = [];
2270
+ if (A) {
2271
+ var k = A.link, P = A.unlink, S = A.callbacks, M = A.childrenKey, ne = A.delivery;
2272
+ I = S, x = x || M || "instanceChildren", w = ne, m.indexInParent = k(_), u(function() {
2273
+ return P(_);
2271
2274
  });
2272
2275
  } else {
2273
- A = A || "instanceChildren";
2274
- var ie = Zi({
2276
+ x = x || "instanceChildren";
2277
+ var ie = ta({
2275
2278
  onMounted: s,
2276
2279
  onActivated: l,
2277
2280
  nextTick: o
2278
2281
  }), ae = h ? function() {
2279
2282
  return o(h);
2280
- } : Xn, Y;
2283
+ } : Yn, X;
2281
2284
  o(function() {
2282
2285
  var z = typeof y == "function" ? y() : y;
2283
- z && (Y = new MutationObserver(function(Q, W) {
2284
- var qe = [];
2285
- nr(z.childNodes, qe), P.forEach(function(fr) {
2286
- return fr(qe, Q, W);
2286
+ z && (X = new MutationObserver(function(Y, V) {
2287
+ var Ke = [];
2288
+ ir(z.childNodes, Ke), I.forEach(function(cr) {
2289
+ return cr(Ke, Y, V);
2287
2290
  }), ae();
2288
- }), Y.observe(z, {
2291
+ }), X.observe(z, {
2289
2292
  attributes: !0,
2290
2293
  childList: !0,
2291
2294
  subtree: !0
@@ -2293,54 +2296,54 @@ var Yi = ["IconLoadingShadow", "IconNoData"], er = 0, tr = function(t, r) {
2293
2296
  }), ie(function() {
2294
2297
  return ae();
2295
2298
  }), u(function() {
2296
- Y && (Y.disconnect(), Y = null), P = null;
2299
+ X && (X.disconnect(), X = null), I = null;
2297
2300
  });
2298
2301
  }
2299
- var lr = function(Q) {
2300
- var W = Q.proxy;
2301
- return m.children.push(a(W)), r(function() {
2302
- return m.children.indexOf(W);
2302
+ var ur = function(Y) {
2303
+ var V = Y.proxy;
2304
+ return m.children.push(a(V)), r(function() {
2305
+ return m.children.indexOf(V);
2303
2306
  });
2304
- }, ur = function(Q) {
2305
- var W = m.children.indexOf(Q.proxy);
2306
- W > -1 && m.children.splice(W, 1);
2307
+ }, fr = function(Y) {
2308
+ var V = m.children.indexOf(Y.proxy);
2309
+ V > -1 && m.children.splice(V, 1);
2307
2310
  };
2308
- return P.push(function(z) {
2309
- return ta(m.children, z);
2311
+ return I.push(function(z) {
2312
+ return ia(m.children, z);
2310
2313
  }), f(g, {
2311
- link: lr,
2312
- unlink: ur,
2313
- callbacks: P,
2314
- childrenKey: A,
2314
+ link: ur,
2315
+ unlink: fr,
2316
+ callbacks: I,
2317
+ childrenKey: x,
2315
2318
  delivery: w
2316
- }), Object.defineProperty(x.proxy, A, {
2319
+ }), Object.defineProperty(_.proxy, x, {
2317
2320
  configurable: !0,
2318
2321
  get: function() {
2319
2322
  return m.children;
2320
2323
  }
2321
2324
  }), u(function() {
2322
- return delete x.proxy[A];
2325
+ return delete _.proxy[x];
2323
2326
  }), {
2324
2327
  children: d(m, "children"),
2325
2328
  index: d(m, "indexInParent"),
2326
2329
  delivery: w
2327
2330
  };
2328
2331
  };
2329
- }, nr = function(t, r) {
2332
+ }, ir = function(t, r) {
2330
2333
  t.length && t.forEach(function(n) {
2331
- r.push(n), n.childNodes && nr(n.childNodes, r);
2334
+ r.push(n), n.childNodes && ir(n.childNodes, r);
2332
2335
  });
2333
- }, ta = function(t, r) {
2336
+ }, ia = function(t, r) {
2334
2337
  t.sort(function(n, i) {
2335
2338
  return r.indexOf(n.$el) - r.indexOf(i.$el);
2336
2339
  });
2337
2340
  };
2338
- const ya = "3.24.0";
2339
- var ba = Ji($($({}, p), {}, {
2340
- isVue2: Jt
2341
- })), wa = ea($($({}, p), {}, {
2342
- isVue2: Jt
2343
- })), ne = "Tiny", ra = {
2341
+ const _a = "3.25.0";
2342
+ var xa = ra($($({}, p), {}, {
2343
+ isVue2: er
2344
+ })), Aa = na($($({}, p), {}, {
2345
+ isVue2: er
2346
+ })), re = "Tiny", aa = {
2344
2347
  tiny_mode: String,
2345
2348
  tiny_mode_root: Boolean,
2346
2349
  tiny_template: [Function, Object],
@@ -2348,10 +2351,10 @@ var ba = Ji($($({}, p), {}, {
2348
2351
  tiny_theme: String,
2349
2352
  tiny_mcp_config: Object,
2350
2353
  tiny_chart_theme: Object
2351
- }, na = ["tiny_mode", "tiny_mode_root", "tiny_template", "tiny_renderless", "_constants", "tiny_theme", "tiny_chart_theme", "tiny_mcp_config"], He = function(t, r) {
2354
+ }, oa = ["tiny_mode", "tiny_mode_root", "tiny_template", "tiny_renderless", "_constants", "tiny_theme", "tiny_chart_theme", "tiny_mcp_config"], qe = function(t, r) {
2352
2355
  var n = function(c) {
2353
2356
  return ~["pc", "mobile", "mobile-first"].indexOf(c);
2354
- }, i = Ue(r), a = typeof t.tiny_mode == "string" ? t.tiny_mode : null, o = p.inject("TinyMode", null), s;
2357
+ }, i = He(r), a = typeof t.tiny_mode == "string" ? t.tiny_mode : null, o = p.inject("TinyMode", null), s;
2355
2358
  typeof i.tiny_mode == "string" ? s = i.tiny_mode : i.tiny_mode && (s = i.tiny_mode.value), n(a) || (a = null), n(o) || (o = null), n(s) || (s = null);
2356
2359
  var l = a || o || s || "pc";
2357
2360
  t.tiny_mode_root && p.provide("TinyMode", l);
@@ -2359,92 +2362,92 @@ var ba = Ji($($({}, p), {}, {
2359
2362
  return Object.defineProperty(u, "_tiny_mode", {
2360
2363
  value: l
2361
2364
  }), l;
2362
- }, ia = function(t, r) {
2365
+ }, sa = function(t, r) {
2363
2366
  var n = function(f) {
2364
2367
  return ~["tiny", "saas"].indexOf(f);
2365
- }, i = Ue(r), a = typeof t.tiny_theme == "string" ? t.tiny_theme : null, o = p.inject("TinyTheme", null), s = i.tiny_theme && i.tiny_theme.value;
2368
+ }, i = He(r), a = typeof t.tiny_theme == "string" ? t.tiny_theme : null, o = p.inject("TinyTheme", null), s = i.tiny_theme && i.tiny_theme.value;
2366
2369
  n(a) || (a = null), n(o) || (o = null), n(s) || (s = null);
2367
2370
  var l = a || o || s || "tiny";
2368
2371
  return l;
2369
- }, aa = function(t, r) {
2370
- var n = Ue(r), i = j(t.tiny_chart_theme) === "object" ? t.tiny_chart_theme : null, a = p.inject("TinyChartTheme", null), o = n.tiny_chart_theme && n.tiny_chart_theme.value, s = i || a || o || null;
2372
+ }, la = function(t, r) {
2373
+ var n = He(r), i = j(t.tiny_chart_theme) === "object" ? t.tiny_chart_theme : null, a = p.inject("TinyChartTheme", null), o = n.tiny_chart_theme && n.tiny_chart_theme.value, s = i || a || o || null;
2371
2374
  return s;
2372
2375
  }, we = {
2373
2376
  configKey: Symbol("designConfigKey"),
2374
2377
  configInstance: null
2375
- }, xa = function(t) {
2378
+ }, Ea = function(t) {
2376
2379
  Object.keys(t).length && (p.provide(we.configKey, t), we.configInstance = t);
2377
- }, oa = Ui(we), ir = {
2380
+ }, ua = Ki(we), ar = {
2378
2381
  designConfig: null,
2379
2382
  twMerge: function() {
2380
2383
  return "";
2381
2384
  }
2382
- }, ar = function() {
2383
- var t, r, n, i = ir.designConfig || p.inject(we.configKey, {});
2385
+ }, or = function() {
2386
+ var t, r, n, i = ar.designConfig || p.inject(we.configKey, {});
2384
2387
  i = ((t = i) === null || t === void 0 ? void 0 : t.value) || i || {};
2385
- var a = (r = i) === null || r === void 0 || (n = r.components) === null || n === void 0 ? void 0 : n[Kt().replace(ne, "")];
2388
+ var a = (r = i) === null || r === void 0 || (n = r.components) === null || n === void 0 ? void 0 : n[Xt().replace(re, "")];
2386
2389
  return {
2387
2390
  designConfig: a,
2388
2391
  globalDesignConfig: i
2389
2392
  };
2390
- }, sa = function() {
2391
- var t, r = re.mcpConfig, n = Kt().replace(ne, "");
2393
+ }, fa = function() {
2394
+ var t, r = te.mcpConfig, n = Xt().replace(re, "");
2392
2395
  return r == null || (t = r.components) === null || t === void 0 ? void 0 : t[n];
2393
- }, re = {
2396
+ }, te = {
2394
2397
  mcpConfig: null,
2395
2398
  createMcpTools: null
2396
- }, Aa = function(t, r) {
2397
- re.mcpConfig = t, re.createMcpTools = r;
2398
- }, la = function(t) {
2399
- var r = t.props, n = t.context, i = t.template, a = t.extend, o = a === void 0 ? {} : a, s = He(r, n), l = p.computed(function() {
2399
+ }, Ca = function(t, r) {
2400
+ te.mcpConfig = t, te.createMcpTools = r;
2401
+ }, ca = function(t) {
2402
+ var r = t.props, n = t.context, i = t.template, a = t.extend, o = a === void 0 ? {} : a, s = qe(r, n), l = p.computed(function() {
2400
2403
  if (typeof r.tiny_template < "u") return r.tiny_template;
2401
2404
  var g = i(s, r);
2402
- return typeof g == "function" ? Ht(g) : g;
2403
- }), u = ar(), f = u.designConfig, c = {}, d = f == null ? void 0 : f.props;
2405
+ return typeof g == "function" ? qt(g) : g;
2406
+ }), u = or(), f = u.designConfig, c = {}, d = f == null ? void 0 : f.props;
2404
2407
  if (d) {
2405
- var v = Oi();
2408
+ var v = ki();
2406
2409
  Object.keys(d).forEach(function(g) {
2407
- var y = g.replace(/-(\w)/g, function(A, w) {
2410
+ var y = g.replace(/-(\w)/g, function(x, w) {
2408
2411
  return w.toUpperCase();
2409
2412
  }), h = g.replace(/([A-Z])/g, "-$1").toLowerCase();
2410
2413
  !Object.prototype.hasOwnProperty.call(v, y) && !Object.prototype.hasOwnProperty.call(v, h) && (c[g] = d[g]);
2411
2414
  });
2412
2415
  }
2413
- return qt({
2416
+ return Kt({
2414
2417
  view: l,
2415
2418
  props: r,
2416
2419
  customDesignProps: c,
2417
2420
  context: n,
2418
2421
  extend: o
2419
2422
  });
2420
- }, De = function() {
2423
+ }, ze = function() {
2421
2424
  for (var t = arguments.length, r = new Array(t), n = 0; n < t; n++)
2422
2425
  r[n] = arguments[n];
2423
- return ir.twMerge(je(r));
2424
- }, ua = function(t) {
2425
- var r = t.props, n = t.context, i = t.renderless, a = t.api, o = t.extendOptions, s = o === void 0 ? {} : o, l = t.mono, u = l === void 0 ? !1 : l, f = t.classes, c = f === void 0 ? {} : f, d = typeof r.tiny_renderless == "function" ? r.tiny_renderless : i, v = ar(), g = v.designConfig, y = v.globalDesignConfig, h = $($({
2426
- $prefix: ne,
2427
- t: Ke
2428
- }, Fi(n, He(r, n))), {}, {
2426
+ return ar.twMerge(De(r));
2427
+ }, da = function(t) {
2428
+ var r = t.props, n = t.context, i = t.renderless, a = t.api, o = t.extendOptions, s = o === void 0 ? {} : o, l = t.mono, u = l === void 0 ? !1 : l, f = t.classes, c = f === void 0 ? {} : f, d = typeof r.tiny_renderless == "function" ? r.tiny_renderless : i, v = or(), g = v.designConfig, y = v.globalDesignConfig, h = $($({
2429
+ $prefix: re,
2430
+ t: Xe
2431
+ }, zi(n, qe(r, n))), {}, {
2429
2432
  designConfig: g,
2430
2433
  globalDesignConfig: y,
2431
- useBreakpoint: Xi,
2432
- mergeClass: De
2434
+ useBreakpoint: Zi,
2435
+ mergeClass: ze
2433
2436
  });
2434
- h.vm.theme = ia(r, n), h.vm.chartTheme = aa(r, n);
2435
- var A = d(r, p, h, s);
2436
- typeof (g == null ? void 0 : g.renderless) == "function" && Object.assign(A, g.renderless(r, p, h, A));
2437
+ h.vm.theme = sa(r, n), h.vm.chartTheme = la(r, n);
2438
+ var x = d(r, p, h, s);
2439
+ typeof (g == null ? void 0 : g.renderless) == "function" && Object.assign(x, g.renderless(r, p, h, x));
2437
2440
  var w = {
2438
- t: Ke,
2441
+ t: Xe,
2439
2442
  vm: h.vm,
2440
2443
  f: Ei,
2441
- a: or,
2444
+ a: sr,
2442
2445
  d: h.defineInstanceProperties,
2443
2446
  dp: h.defineParentInstanceProperties,
2444
- gcls: function(E) {
2445
- return _i(c, E);
2447
+ gcls: function(A) {
2448
+ return Ti(c, A);
2446
2449
  },
2447
- m: De
2450
+ m: ze
2448
2451
  };
2449
2452
  w.d({
2450
2453
  slots: {
@@ -2472,27 +2475,27 @@ var ba = Ji($($({}, p), {}, {
2472
2475
  },
2473
2476
  configurable: !0
2474
2477
  }
2475
- }), sr(), Array.isArray(a) && (Array.isArray(g == null ? void 0 : g.api) && (a = a.concat(g.api)), a.forEach(function(m) {
2476
- var E = A[m];
2477
- typeof E < "u" && (w[m] = E, u || h.setParentAttribute({
2478
+ }), lr(), Array.isArray(a) && (Array.isArray(g == null ? void 0 : g.api) && (a = a.concat(g.api)), a.forEach(function(m) {
2479
+ var A = x[m];
2480
+ typeof A < "u" && (w[m] = A, u || h.setParentAttribute({
2478
2481
  name: m,
2479
- value: E
2482
+ value: A
2480
2483
  }));
2481
2484
  }));
2482
- var x = sa();
2483
- return x && r.tiny_mcp_config && re.createMcpTools && re.createMcpTools(w.vm, r.tiny_mcp_config, x), w;
2485
+ var _ = fa();
2486
+ return _ && r.tiny_mcp_config && te.createMcpTools && te.createMcpTools(w.vm, r.tiny_mcp_config, _), w;
2484
2487
  };
2485
- function fa(e) {
2488
+ function va(e) {
2486
2489
  var t = e.name, r = t === void 0 ? "Icon" : t, n = e.component;
2487
2490
  return function(i) {
2488
- return Ti(Hi({
2489
- name: ne + r,
2491
+ return Oi(Xi({
2492
+ name: re + r,
2490
2493
  setup: function(o, s) {
2491
- var l = s.attrs || {}, u = l.fill, f = l.width, c = l.height, d = l["custom-class"], v = l["first-color"], g = l["second-color"], y = Object.assign({}, o, i || null), h = He(y, s), A = h === "mobile-first", w = {
2492
- "data-tag": A ? "tiny-svg" : null
2493
- }, x = w, m = "tiny-svg";
2494
- A && (m = De("h-4 w-4 inline-block", d || "", y.class || ""));
2495
- var E = Object.assign({
2494
+ var l = s.attrs || {}, u = l.fill, f = l.width, c = l.height, d = l["custom-class"], v = l["first-color"], g = l["second-color"], y = Object.assign({}, o, i || null), h = qe(y, s), x = h === "mobile-first", w = {
2495
+ "data-tag": x ? "tiny-svg" : null
2496
+ }, _ = w, m = "tiny-svg";
2497
+ x && (m = ze("h-4 w-4 inline-block", d || "", y.class || ""));
2498
+ var A = Object.assign({
2496
2499
  style: {
2497
2500
  fill: u,
2498
2501
  width: f,
@@ -2502,27 +2505,21 @@ function fa(e) {
2502
2505
  },
2503
2506
  class: m,
2504
2507
  isSvg: !0
2505
- }, x);
2506
- if (E.nativeOn = s.listeners, Yi.includes(r)) {
2507
- var P = n.render;
2508
- n.render = function() {
2509
- for (var M = P.bind(this), k = arguments.length, T = new Array(k), O = 0; O < k; O++)
2510
- T[O] = arguments[O];
2511
- var V = M(T);
2512
- return Qi(V), V;
2513
- };
2514
- }
2515
- return qt({
2508
+ }, _);
2509
+ return A.nativeOn = s.listeners, Ji.includes(r) && (n.__raw_render || (n.__raw_render = n.render), n.render = function() {
2510
+ var I = n.__raw_render.bind(this), k = I.apply(void 0, arguments);
2511
+ return ea(k), k;
2512
+ }), Kt({
2516
2513
  component: n,
2517
2514
  props: y,
2518
2515
  context: s,
2519
- extend: E
2516
+ extend: A
2520
2517
  });
2521
2518
  }
2522
2519
  }));
2523
2520
  };
2524
2521
  }
2525
- var or = function(t, r, n) {
2522
+ var sr = function(t, r, n) {
2526
2523
  var i = {}, a = function(l) {
2527
2524
  var u = r.some(function(f) {
2528
2525
  return new RegExp(f).test(l);
@@ -2532,83 +2529,83 @@ var or = function(t, r, n) {
2532
2529
  for (var o in t)
2533
2530
  a(o);
2534
2531
  return i;
2535
- }, ge = {}, sr = function() {
2532
+ }, ge = {}, lr = function() {
2536
2533
  for (var t in ge) {
2537
2534
  var r = ge[t];
2538
- typeof r.install == "function" && r.install(Si()), typeof r.init == "function" && r.init(ki());
2535
+ typeof r.install == "function" && r.install(Si()), typeof r.init == "function" && r.init(Ii());
2539
2536
  }
2540
2537
  ge = {};
2541
- }, ca = function(t) {
2538
+ }, pa = function(t) {
2542
2539
  t.install = function(r) {
2543
2540
  r.component(t.name, t);
2544
2541
  };
2545
2542
  };
2546
- const Ea = {
2547
- h: Gi,
2548
- directive: ji,
2549
- parseVnode: Di,
2550
- isEmptyVnode: Bi,
2551
- useRouter: Xt,
2552
- emitter: Ge,
2553
- createComponent: oa,
2554
- defineAsyncComponent: Ht,
2555
- filterAttrs: or,
2556
- initComponent: sr,
2543
+ const Ta = {
2544
+ h: qi,
2545
+ directive: Ni,
2546
+ parseVnode: Bi,
2547
+ isEmptyVnode: Gi,
2548
+ useRouter: Yt,
2549
+ emitter: Ue,
2550
+ createComponent: ua,
2551
+ defineAsyncComponent: qt,
2552
+ filterAttrs: sr,
2553
+ initComponent: lr,
2557
2554
  setupComponent: ge,
2558
- svg: fa,
2559
- $prefix: ne,
2560
- $props: ra,
2561
- props: na,
2562
- $setup: la,
2563
- setup: ua,
2555
+ svg: va,
2556
+ $prefix: re,
2557
+ $props: aa,
2558
+ props: oa,
2559
+ $setup: ca,
2560
+ setup: da,
2564
2561
  hooks: p,
2565
2562
  getElementStatusClass: Ci,
2566
- $install: ca,
2567
- isVnode: qi
2563
+ $install: pa,
2564
+ isVnode: Yi
2568
2565
  };
2569
2566
  export {
2570
- ca as $install,
2571
- ne as $prefix,
2572
- ra as $props,
2573
- la as $setup,
2574
- ga as KeepAlive,
2575
- va as Teleport,
2576
- ki as appProperties,
2577
- oa as createComponent,
2578
- ir as customDesignConfig,
2579
- ha as deduplicateCssClass,
2580
- Ea as default,
2581
- Ht as defineAsyncComponent,
2582
- Hi as defineComponent,
2567
+ pa as $install,
2568
+ re as $prefix,
2569
+ aa as $props,
2570
+ ca as $setup,
2571
+ ya as KeepAlive,
2572
+ ha as Teleport,
2573
+ Ii as appProperties,
2574
+ ua as createComponent,
2575
+ ar as customDesignConfig,
2576
+ ba as deduplicateCssClass,
2577
+ Ta as default,
2578
+ qt as defineAsyncComponent,
2579
+ Xi as defineComponent,
2583
2580
  we as design,
2584
- ji as directive,
2585
- Ge as emitter,
2586
- or as filterAttrs,
2581
+ Ni as directive,
2582
+ Ue as emitter,
2583
+ sr as filterAttrs,
2587
2584
  Ci as getElementStatusClass,
2588
- Gi as h,
2585
+ qi as h,
2589
2586
  p as hooks,
2590
- sr as initComponent,
2591
- Bi as isEmptyVnode,
2592
- qi as isVnode,
2593
- Jt as isVue2,
2594
- pa as isVue3,
2595
- De as mergeClass,
2596
- Di as parseVnode,
2597
- na as props,
2598
- xa as provideDesignConfig,
2599
- Aa as registerMcpConfig,
2600
- He as resolveMode,
2601
- ia as resolveTheme,
2602
- ua as setup,
2587
+ lr as initComponent,
2588
+ Gi as isEmptyVnode,
2589
+ Yi as isVnode,
2590
+ er as isVue2,
2591
+ ma as isVue3,
2592
+ ze as mergeClass,
2593
+ Bi as parseVnode,
2594
+ oa as props,
2595
+ Ea as provideDesignConfig,
2596
+ Ca as registerMcpConfig,
2597
+ qe as resolveMode,
2598
+ sa as resolveTheme,
2599
+ da as setup,
2603
2600
  ge as setupComponent,
2604
- je as stringifyCssClass,
2605
- Ki as stringifyCssClassArray,
2606
- Fe as stringifyCssClassObject,
2607
- fa as svg,
2608
- Xi as useBreakpoint,
2609
- ma as useDefer,
2610
- ba as useInstanceSlots,
2611
- wa as useRelation,
2612
- Xt as useRouter,
2613
- ya as version
2601
+ De as stringifyCssClass,
2602
+ Qi as stringifyCssClassArray,
2603
+ je as stringifyCssClassObject,
2604
+ va as svg,
2605
+ Zi as useBreakpoint,
2606
+ wa as useDefer,
2607
+ xa as useInstanceSlots,
2608
+ Aa as useRelation,
2609
+ Yt as useRouter,
2610
+ _a as version
2614
2611
  };