@cling-se/widget 0.9.2 → 0.9.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (132) hide show
  1. package/dist/AddClientCallout-d472aa84.js +57 -0
  2. package/dist/{AnswerModal-8f918a49.js → AnswerModal-06487437.js} +7 -5
  3. package/dist/{AttachmentItem-79618446.js → AttachmentItem-d98488ee.js} +5 -7
  4. package/dist/BaseDatePicker-8c098701.js +3156 -0
  5. package/dist/{BaseInput-9f376e4e.js → BaseInput-2723d613.js} +4 -4
  6. package/dist/{BaseUpload-9a3d655d.js → BaseUpload-996d74b3.js} +27 -26
  7. package/dist/BlockMedia-00907fb6.js +72 -0
  8. package/dist/CCallout-ffa95028.js +52 -0
  9. package/dist/CDropdownItem-74672842.js +610 -0
  10. package/dist/CField-06dd50f1.js +183 -0
  11. package/dist/CField.vue_vue_type_style_index_0_lang-4ed993c7.js +1 -0
  12. package/dist/CSlider.vue_vue_type_style_index_0_lang-f49d85e0.js +83 -0
  13. package/dist/ClientAutocomplete-f65643dd.js +80 -0
  14. package/dist/ClientModal-d276aabd.js +547 -0
  15. package/dist/ColorPicker-4f6b70af.js +2881 -0
  16. package/dist/{CompanyModal-5dfa4486.js → CompanyModal-30c54ce3.js} +12 -11
  17. package/dist/{ContentWrapper-3ac57cb2.js → ContentWrapper-d5653fef.js} +21 -14
  18. package/dist/{CoverBlockSettings-323ef519.js → CoverBlockSettings-2335f3a8.js} +7 -7
  19. package/dist/DocForm-9ca24de4.js +6772 -0
  20. package/dist/DocFormSend-d0c6fa1d.js +135 -0
  21. package/dist/{DocModalBase-4058a890.js → DocModalBase-f4915a62.js} +1 -1
  22. package/dist/{DocReceipt-390f75e3.js → DocReceipt-d192000e.js} +1 -1
  23. package/dist/{DocSendReminder-afc52d3d.js → DocSendReminder-06d5b34c.js} +1 -1
  24. package/dist/{DocTextEditor-0be1aea9.js → DocTextEditor-c6d1df3c.js} +16 -12
  25. package/dist/{DocTimeline-c421dead.js → DocTimeline-b4c20f93.js} +11 -11
  26. package/dist/DocumentClient-c2319f00.js +145 -0
  27. package/dist/{DocumentLogotype-5230c7bd.js → DocumentLogotype-1efd1ce9.js} +3 -3
  28. package/dist/{EmbedInput-8092d310.js → EmbedInput-654c0477.js} +10 -11
  29. package/dist/{EmbedSettings-bbea9894.js → EmbedSettings-b81ec734.js} +10 -11
  30. package/dist/ErrorCallout-60d0b3ab.js +30 -0
  31. package/dist/{FilePreviewModal-67088d0f.js → FilePreviewModal-895bd1bd.js} +6 -7
  32. package/dist/FormInputRow-9819eb71.js +2045 -0
  33. package/dist/{HeaderSettings-e02a5832.js → HeaderSettings-c6dac755.js} +23 -19
  34. package/dist/{ImageSelectModal-a9912356.js → ImageSelectModal-7cece54e.js} +20 -18
  35. package/dist/{ImageUploadWrapper-1310e96e.js → ImageUploadWrapper-53afd31d.js} +3 -3
  36. package/dist/{Index-f3eae2af.js → Index-01c63c88.js} +2 -2
  37. package/dist/{Index-90566113.js → Index-1a7e98d7.js} +8 -8
  38. package/dist/{Index-0ac00646.js → Index-1d361d01.js} +6 -7
  39. package/dist/{Index-9cd881f2.js → Index-2535f58f.js} +2 -2
  40. package/dist/{Index-f4bb1f71.js → Index-34c84bab.js} +8 -9
  41. package/dist/{Index-f03edd3d.js → Index-5cc51230.js} +7 -8
  42. package/dist/{Index-648a786a.js → Index-5e35f4a2.js} +3 -3
  43. package/dist/{Index-6df9883f.js → Index-60fc8a6e.js} +5 -6
  44. package/dist/{Index-de45c9c3.js → Index-61f7dc92.js} +2 -2
  45. package/dist/{Index-26f9a008.js → Index-63805642.js} +73 -118
  46. package/dist/{Index-ca8aedde.js → Index-66c8cbfa.js} +11 -12
  47. package/dist/{Index-a9ed7c39.js → Index-6ef78b7a.js} +4 -6
  48. package/dist/{Index-8a22c5cd.js → Index-701f0d05.js} +1 -1
  49. package/dist/{Index-6ee090c3.js → Index-7443e91c.js} +16 -17
  50. package/dist/{Index-1ae93acd.js → Index-82574a41.js} +6 -7
  51. package/dist/{Index-35f3bca9.js → Index-82b5de12.js} +6 -7
  52. package/dist/{Index-d02a530a.js → Index-8bca2d87.js} +8 -9
  53. package/dist/{Index-57ce8eee.js → Index-9233cc83.js} +22 -15
  54. package/dist/{Index-faeeff50.js → Index-98e8bb86.js} +21 -16
  55. package/dist/{Index-17e60907.js → Index-9aaf8b90.js} +33 -31
  56. package/dist/{Index-0d81bade.js → Index-b020a80c.js} +6 -7
  57. package/dist/{Index-28c78ddc.js → Index-b14d0f03.js} +6 -7
  58. package/dist/{Index-d3e59202.js → Index-b15cfd62.js} +10 -10
  59. package/dist/{Index-0a22673f.js → Index-c4de05aa.js} +7 -7
  60. package/dist/{Index-87497c7c.js → Index-c67218ce.js} +7 -7
  61. package/dist/{Index-2b684213.js → Index-c7e68382.js} +6 -7
  62. package/dist/{Index-e1bd4ea9.js → Index-caf5cf44.js} +54 -44
  63. package/dist/{Index-2d5fe047.js → Index-cd76b120.js} +6 -7
  64. package/dist/Index-d45a1eff.js +28 -0
  65. package/dist/{Index-876daf3e.js → Index-d8879ca9.js} +2 -2
  66. package/dist/{Index-1f966c82.js → Index-e45a0c32.js} +27 -20
  67. package/dist/{Index-d11146a6.js → Index-e749f6f1.js} +6 -6
  68. package/dist/{Index-15591118.js → Index-e80f5f9c.js} +11 -11
  69. package/dist/{Index-e30b3de9.js → Index-f935c492.js} +6 -7
  70. package/dist/{InputToggleRow-c58dde03.js → InputToggleRow-9d8a7da4.js} +1 -1
  71. package/dist/IsPremiumPreStep-3a087524.js +1919 -0
  72. package/dist/{MediaWrapper-afc29574.js → MediaWrapper-d4a4b66f.js} +4 -4
  73. package/dist/{NotBindingText-e3a49f8a.js → NotBindingText-b199006c.js} +2 -2
  74. package/dist/{PackageGroup-150a9942.js → PackageGroup-37ac99b1.js} +24 -17
  75. package/dist/{PdfTerms-fcc835f4.js → PdfTerms-8b52bb6e.js} +6 -7
  76. package/dist/{PdfViewer-b1118475.js → PdfViewer-38bd8439.js} +2 -2
  77. package/dist/{PlainHtml-47791667.js → PlainHtml-9174cbf6.js} +1 -1
  78. package/dist/PriceHeader-e357afe9.js +336 -0
  79. package/dist/SearchApi-2e286be6.js +148 -0
  80. package/dist/{TermsSettings-c97df867.js → TermsSettings-c74eec79.js} +6 -6
  81. package/dist/{ThemeColorRow-014a0526.js → ThemeColorRow-3558367b.js} +7 -6
  82. package/dist/{ToggleBinding-342beacc.js → ToggleBinding-6c9c1ac3.js} +8 -9
  83. package/dist/{UploadModal-aed5f8c9.js → UploadModal-6d0abd77.js} +21 -22
  84. package/dist/{VideoPlayerInput-7ebb49d7.js → VideoPlayerInput-77cd86aa.js} +5 -6
  85. package/dist/{VideoPlayerSettings-0a027a8e.js → VideoPlayerSettings-b7eb781c.js} +13 -14
  86. package/dist/{VideoSelectModal-5c1a8ddc.js → VideoSelectModal-d2299552.js} +10 -10
  87. package/dist/anime.es-e284c852.js +858 -0
  88. package/dist/answerDocumentMixin-66023e62.js +54 -0
  89. package/dist/color-71c20583.js +15 -0
  90. package/dist/{cssMode-b59b5164.js → cssMode-8552fc56.js} +15 -14
  91. package/dist/focusDrawerMixin-67462262.js +68 -0
  92. package/dist/formComponentsInstall-ad9c2a83.js +2491 -0
  93. package/dist/formValidationMixin-4920ab53.js +4984 -0
  94. package/dist/{freemarker2-5b426d60.js → freemarker2-7e10a65d.js} +19 -18
  95. package/dist/{handlebars-9a256dec.js → handlebars-8045bfa8.js} +18 -17
  96. package/dist/{html-4322f199.js → html-8afcb633.js} +14 -13
  97. package/dist/{htmlMode-d8a0ed16.js → htmlMode-1a2d1b48.js} +19 -18
  98. package/dist/index-3d6d7a03.js +490 -0
  99. package/dist/index-805c56e4.js +4 -0
  100. package/dist/{index-c2f8c4f3.js → index-bf93d7c2.js} +13 -12
  101. package/dist/index-c48c5eb4.js +14 -0
  102. package/dist/{index-7359c27c.js → index-f805bfce.js} +21 -15
  103. package/dist/index.es.js +3 -3
  104. package/dist/index.umd.js +713 -600
  105. package/dist/{javascript-7f9828c0.js → javascript-dad5561e.js} +11 -10
  106. package/dist/{jsonMode-e07cde60.js → jsonMode-ce09245f.js} +19 -18
  107. package/dist/{liquid-b47f65fb.js → liquid-05247459.js} +11 -10
  108. package/dist/{main-154fab72.js → main-04025a56.js} +19557 -20415
  109. package/dist/mapFormMixin-8d073f99.js +66 -0
  110. package/dist/{publicSenderState-51ca0439.js → publicSenderState-97108de1.js} +1 -1
  111. package/dist/{python-f3873309.js → python-3f3513c5.js} +11 -10
  112. package/dist/{razor-4071ec1b.js → razor-1f3e9c4e.js} +14 -13
  113. package/dist/regions-29ee6964.js +1250 -0
  114. package/dist/simplebar.min-3af55aab.js +2429 -0
  115. package/dist/style.css +4 -0
  116. package/dist/template-42a1d852.js +526 -0
  117. package/dist/throttle-a2c1f34d.js +18 -0
  118. package/dist/tinycolor-88fa380f.js +634 -0
  119. package/dist/{tsMode-71160e05.js → tsMode-4c026047.js} +15 -14
  120. package/dist/{typescript-80a61e6a.js → typescript-baf56f67.js} +11 -10
  121. package/dist/{utils-72915af5.js → utils-6670dea6.js} +5 -5
  122. package/dist/vuedraggable.umd-d7138234.js +3179 -0
  123. package/dist/{xml-021490f1.js → xml-ffc6146a.js} +11 -10
  124. package/package.json +3 -2
  125. package/stats.html +1 -1
  126. package/dist/DocForm-5ff2cbbb.js +0 -22074
  127. package/dist/DocFormSend-06ffa19c.js +0 -113
  128. package/dist/Index-2b5c1367.js +0 -29
  129. package/dist/PriceHeader-1dfa95fd.js +0 -329
  130. package/dist/formComponentsInstall-e33d6795.js +0 -11121
  131. package/dist/index-51b2742c.js +0 -11
  132. package/dist/throttle-f479e1f1.js +0 -18
@@ -0,0 +1,18 @@
1
+ import { f as n, i as l } from "./main-04025a56.js";
2
+ import { a as o } from "./CDropdownItem-74672842.js";
3
+ var f = o, g = l, c = "Expected a function";
4
+ function u(a, i, t) {
5
+ var r = !0, e = !0;
6
+ if (typeof a != "function")
7
+ throw new TypeError(c);
8
+ return g(t) && (r = "leading" in t ? !!t.leading : r, e = "trailing" in t ? !!t.trailing : e), f(a, i, {
9
+ leading: r,
10
+ maxWait: i,
11
+ trailing: e
12
+ });
13
+ }
14
+ var d = u;
15
+ const _ = /* @__PURE__ */ n(d);
16
+ export {
17
+ _ as t
18
+ };
@@ -0,0 +1,634 @@
1
+ import { f as he } from "./main-04025a56.js";
2
+ var N = { exports: {} };
3
+ (function(R) {
4
+ (function(c) {
5
+ var z = /^\s+/, B = /\s+$/, G = 0, f = c.round, _ = c.min, m = c.max, S = c.random;
6
+ function s(e, r) {
7
+ if (e = e || "", r = r || {}, e instanceof s)
8
+ return e;
9
+ if (!(this instanceof s))
10
+ return new s(e, r);
11
+ var t = j(e);
12
+ this._originalInput = e, this._r = t.r, this._g = t.g, this._b = t.b, this._a = t.a, this._roundA = f(100 * this._a) / 100, this._format = r.format || t.format, this._gradientType = r.gradientType, this._r < 1 && (this._r = f(this._r)), this._g < 1 && (this._g = f(this._g)), this._b < 1 && (this._b = f(this._b)), this._ok = t.ok, this._tc_id = G++;
13
+ }
14
+ s.prototype = {
15
+ isDark: function() {
16
+ return this.getBrightness() < 128;
17
+ },
18
+ isLight: function() {
19
+ return !this.isDark();
20
+ },
21
+ isValid: function() {
22
+ return this._ok;
23
+ },
24
+ getOriginalInput: function() {
25
+ return this._originalInput;
26
+ },
27
+ getFormat: function() {
28
+ return this._format;
29
+ },
30
+ getAlpha: function() {
31
+ return this._a;
32
+ },
33
+ getBrightness: function() {
34
+ var e = this.toRgb();
35
+ return (e.r * 299 + e.g * 587 + e.b * 114) / 1e3;
36
+ },
37
+ getLuminance: function() {
38
+ var e = this.toRgb(), r, t, i, a, n, h;
39
+ return r = e.r / 255, t = e.g / 255, i = e.b / 255, r <= 0.03928 ? a = r / 12.92 : a = c.pow((r + 0.055) / 1.055, 2.4), t <= 0.03928 ? n = t / 12.92 : n = c.pow((t + 0.055) / 1.055, 2.4), i <= 0.03928 ? h = i / 12.92 : h = c.pow((i + 0.055) / 1.055, 2.4), 0.2126 * a + 0.7152 * n + 0.0722 * h;
40
+ },
41
+ setAlpha: function(e) {
42
+ return this._a = E(e), this._roundA = f(100 * this._a) / 100, this;
43
+ },
44
+ toHsv: function() {
45
+ var e = F(this._r, this._g, this._b);
46
+ return { h: e.h * 360, s: e.s, v: e.v, a: this._a };
47
+ },
48
+ toHsvString: function() {
49
+ var e = F(this._r, this._g, this._b), r = f(e.h * 360), t = f(e.s * 100), i = f(e.v * 100);
50
+ return this._a == 1 ? "hsv(" + r + ", " + t + "%, " + i + "%)" : "hsva(" + r + ", " + t + "%, " + i + "%, " + this._roundA + ")";
51
+ },
52
+ toHsl: function() {
53
+ var e = H(this._r, this._g, this._b);
54
+ return { h: e.h * 360, s: e.s, l: e.l, a: this._a };
55
+ },
56
+ toHslString: function() {
57
+ var e = H(this._r, this._g, this._b), r = f(e.h * 360), t = f(e.s * 100), i = f(e.l * 100);
58
+ return this._a == 1 ? "hsl(" + r + ", " + t + "%, " + i + "%)" : "hsla(" + r + ", " + t + "%, " + i + "%, " + this._roundA + ")";
59
+ },
60
+ toHex: function(e) {
61
+ return T(this._r, this._g, this._b, e);
62
+ },
63
+ toHexString: function(e) {
64
+ return "#" + this.toHex(e);
65
+ },
66
+ toHex8: function(e) {
67
+ return D(this._r, this._g, this._b, this._a, e);
68
+ },
69
+ toHex8String: function(e) {
70
+ return "#" + this.toHex8(e);
71
+ },
72
+ toRgb: function() {
73
+ return { r: f(this._r), g: f(this._g), b: f(this._b), a: this._a };
74
+ },
75
+ toRgbString: function() {
76
+ return this._a == 1 ? "rgb(" + f(this._r) + ", " + f(this._g) + ", " + f(this._b) + ")" : "rgba(" + f(this._r) + ", " + f(this._g) + ", " + f(this._b) + ", " + this._roundA + ")";
77
+ },
78
+ toPercentageRgb: function() {
79
+ return { r: f(u(this._r, 255) * 100) + "%", g: f(u(this._g, 255) * 100) + "%", b: f(u(this._b, 255) * 100) + "%", a: this._a };
80
+ },
81
+ toPercentageRgbString: function() {
82
+ return this._a == 1 ? "rgb(" + f(u(this._r, 255) * 100) + "%, " + f(u(this._g, 255) * 100) + "%, " + f(u(this._b, 255) * 100) + "%)" : "rgba(" + f(u(this._r, 255) * 100) + "%, " + f(u(this._g, 255) * 100) + "%, " + f(u(this._b, 255) * 100) + "%, " + this._roundA + ")";
83
+ },
84
+ toName: function() {
85
+ return this._a === 0 ? "transparent" : this._a < 1 ? !1 : re[T(this._r, this._g, this._b, !0)] || !1;
86
+ },
87
+ toFilter: function(e) {
88
+ var r = "#" + C(this._r, this._g, this._b, this._a), t = r, i = this._gradientType ? "GradientType = 1, " : "";
89
+ if (e) {
90
+ var a = s(e);
91
+ t = "#" + C(a._r, a._g, a._b, a._a);
92
+ }
93
+ return "progid:DXImageTransform.Microsoft.gradient(" + i + "startColorstr=" + r + ",endColorstr=" + t + ")";
94
+ },
95
+ toString: function(e) {
96
+ var r = !!e;
97
+ e = e || this._format;
98
+ var t = !1, i = this._a < 1 && this._a >= 0, a = !r && i && (e === "hex" || e === "hex6" || e === "hex3" || e === "hex4" || e === "hex8" || e === "name");
99
+ return a ? e === "name" && this._a === 0 ? this.toName() : this.toRgbString() : (e === "rgb" && (t = this.toRgbString()), e === "prgb" && (t = this.toPercentageRgbString()), (e === "hex" || e === "hex6") && (t = this.toHexString()), e === "hex3" && (t = this.toHexString(!0)), e === "hex4" && (t = this.toHex8String(!0)), e === "hex8" && (t = this.toHex8String()), e === "name" && (t = this.toName()), e === "hsl" && (t = this.toHslString()), e === "hsv" && (t = this.toHsvString()), t || this.toHexString());
100
+ },
101
+ clone: function() {
102
+ return s(this.toString());
103
+ },
104
+ _applyModification: function(e, r) {
105
+ var t = e.apply(null, [this].concat([].slice.call(r)));
106
+ return this._r = t._r, this._g = t._g, this._b = t._b, this.setAlpha(t._a), this;
107
+ },
108
+ lighten: function() {
109
+ return this._applyModification(V, arguments);
110
+ },
111
+ brighten: function() {
112
+ return this._applyModification(W, arguments);
113
+ },
114
+ darken: function() {
115
+ return this._applyModification(X, arguments);
116
+ },
117
+ desaturate: function() {
118
+ return this._applyModification(M, arguments);
119
+ },
120
+ saturate: function() {
121
+ return this._applyModification(U, arguments);
122
+ },
123
+ greyscale: function() {
124
+ return this._applyModification($, arguments);
125
+ },
126
+ spin: function() {
127
+ return this._applyModification(Z, arguments);
128
+ },
129
+ _applyCombination: function(e, r) {
130
+ return e.apply(null, [this].concat([].slice.call(r)));
131
+ },
132
+ analogous: function() {
133
+ return this._applyCombination(ee, arguments);
134
+ },
135
+ complement: function() {
136
+ return this._applyCombination(J, arguments);
137
+ },
138
+ monochromatic: function() {
139
+ return this._applyCombination(te, arguments);
140
+ },
141
+ splitcomplement: function() {
142
+ return this._applyCombination(Y, arguments);
143
+ },
144
+ triad: function() {
145
+ return this._applyCombination(K, arguments);
146
+ },
147
+ tetrad: function() {
148
+ return this._applyCombination(Q, arguments);
149
+ }
150
+ }, s.fromRatio = function(e, r) {
151
+ if (typeof e == "object") {
152
+ var t = {};
153
+ for (var i in e)
154
+ e.hasOwnProperty(i) && (i === "a" ? t[i] = e[i] : t[i] = x(e[i]));
155
+ e = t;
156
+ }
157
+ return s(e, r);
158
+ };
159
+ function j(e) {
160
+ var r = { r: 0, g: 0, b: 0 }, t = 1, i = null, a = null, n = null, h = !1, l = !1;
161
+ return typeof e == "string" && (e = se(e)), typeof e == "object" && (y(e.r) && y(e.g) && y(e.b) ? (r = O(e.r, e.g, e.b), h = !0, l = String(e.r).substr(-1) === "%" ? "prgb" : "rgb") : y(e.h) && y(e.s) && y(e.v) ? (i = x(e.s), a = x(e.v), r = q(e.h, i, a), h = !0, l = "hsv") : y(e.h) && y(e.s) && y(e.l) && (i = x(e.s), n = x(e.l), r = L(e.h, i, n), h = !0, l = "hsl"), e.hasOwnProperty("a") && (t = e.a)), t = E(t), {
162
+ ok: h,
163
+ format: e.format || l,
164
+ r: _(255, m(r.r, 0)),
165
+ g: _(255, m(r.g, 0)),
166
+ b: _(255, m(r.b, 0)),
167
+ a: t
168
+ };
169
+ }
170
+ function O(e, r, t) {
171
+ return {
172
+ r: u(e, 255) * 255,
173
+ g: u(r, 255) * 255,
174
+ b: u(t, 255) * 255
175
+ };
176
+ }
177
+ function H(e, r, t) {
178
+ e = u(e, 255), r = u(r, 255), t = u(t, 255);
179
+ var i = m(e, r, t), a = _(e, r, t), n, h, l = (i + a) / 2;
180
+ if (i == a)
181
+ n = h = 0;
182
+ else {
183
+ var g = i - a;
184
+ switch (h = l > 0.5 ? g / (2 - i - a) : g / (i + a), i) {
185
+ case e:
186
+ n = (r - t) / g + (r < t ? 6 : 0);
187
+ break;
188
+ case r:
189
+ n = (t - e) / g + 2;
190
+ break;
191
+ case t:
192
+ n = (e - r) / g + 4;
193
+ break;
194
+ }
195
+ n /= 6;
196
+ }
197
+ return { h: n, s: h, l };
198
+ }
199
+ function L(e, r, t) {
200
+ var i, a, n;
201
+ e = u(e, 360), r = u(r, 100), t = u(t, 100);
202
+ function h(b, A, p) {
203
+ return p < 0 && (p += 1), p > 1 && (p -= 1), p < 1 / 6 ? b + (A - b) * 6 * p : p < 1 / 2 ? A : p < 2 / 3 ? b + (A - b) * (2 / 3 - p) * 6 : b;
204
+ }
205
+ if (r === 0)
206
+ i = a = n = t;
207
+ else {
208
+ var l = t < 0.5 ? t * (1 + r) : t + r - t * r, g = 2 * t - l;
209
+ i = h(g, l, e + 1 / 3), a = h(g, l, e), n = h(g, l, e - 1 / 3);
210
+ }
211
+ return { r: i * 255, g: a * 255, b: n * 255 };
212
+ }
213
+ function F(e, r, t) {
214
+ e = u(e, 255), r = u(r, 255), t = u(t, 255);
215
+ var i = m(e, r, t), a = _(e, r, t), n, h, l = i, g = i - a;
216
+ if (h = i === 0 ? 0 : g / i, i == a)
217
+ n = 0;
218
+ else {
219
+ switch (i) {
220
+ case e:
221
+ n = (r - t) / g + (r < t ? 6 : 0);
222
+ break;
223
+ case r:
224
+ n = (t - e) / g + 2;
225
+ break;
226
+ case t:
227
+ n = (e - r) / g + 4;
228
+ break;
229
+ }
230
+ n /= 6;
231
+ }
232
+ return { h: n, s: h, v: l };
233
+ }
234
+ function q(e, r, t) {
235
+ e = u(e, 360) * 6, r = u(r, 100), t = u(t, 100);
236
+ var i = c.floor(e), a = e - i, n = t * (1 - r), h = t * (1 - a * r), l = t * (1 - (1 - a) * r), g = i % 6, b = [t, h, n, n, l, t][g], A = [l, t, t, h, n, n][g], p = [n, n, l, t, t, h][g];
237
+ return { r: b * 255, g: A * 255, b: p * 255 };
238
+ }
239
+ function T(e, r, t, i) {
240
+ var a = [
241
+ d(f(e).toString(16)),
242
+ d(f(r).toString(16)),
243
+ d(f(t).toString(16))
244
+ ];
245
+ return i && a[0].charAt(0) == a[0].charAt(1) && a[1].charAt(0) == a[1].charAt(1) && a[2].charAt(0) == a[2].charAt(1) ? a[0].charAt(0) + a[1].charAt(0) + a[2].charAt(0) : a.join("");
246
+ }
247
+ function D(e, r, t, i, a) {
248
+ var n = [
249
+ d(f(e).toString(16)),
250
+ d(f(r).toString(16)),
251
+ d(f(t).toString(16)),
252
+ d(I(i))
253
+ ];
254
+ return a && n[0].charAt(0) == n[0].charAt(1) && n[1].charAt(0) == n[1].charAt(1) && n[2].charAt(0) == n[2].charAt(1) && n[3].charAt(0) == n[3].charAt(1) ? n[0].charAt(0) + n[1].charAt(0) + n[2].charAt(0) + n[3].charAt(0) : n.join("");
255
+ }
256
+ function C(e, r, t, i) {
257
+ var a = [
258
+ d(I(i)),
259
+ d(f(e).toString(16)),
260
+ d(f(r).toString(16)),
261
+ d(f(t).toString(16))
262
+ ];
263
+ return a.join("");
264
+ }
265
+ s.equals = function(e, r) {
266
+ return !e || !r ? !1 : s(e).toRgbString() == s(r).toRgbString();
267
+ }, s.random = function() {
268
+ return s.fromRatio({
269
+ r: S(),
270
+ g: S(),
271
+ b: S()
272
+ });
273
+ };
274
+ function M(e, r) {
275
+ r = r === 0 ? 0 : r || 10;
276
+ var t = s(e).toHsl();
277
+ return t.s -= r / 100, t.s = k(t.s), s(t);
278
+ }
279
+ function U(e, r) {
280
+ r = r === 0 ? 0 : r || 10;
281
+ var t = s(e).toHsl();
282
+ return t.s += r / 100, t.s = k(t.s), s(t);
283
+ }
284
+ function $(e) {
285
+ return s(e).desaturate(100);
286
+ }
287
+ function V(e, r) {
288
+ r = r === 0 ? 0 : r || 10;
289
+ var t = s(e).toHsl();
290
+ return t.l += r / 100, t.l = k(t.l), s(t);
291
+ }
292
+ function W(e, r) {
293
+ r = r === 0 ? 0 : r || 10;
294
+ var t = s(e).toRgb();
295
+ return t.r = m(0, _(255, t.r - f(255 * -(r / 100)))), t.g = m(0, _(255, t.g - f(255 * -(r / 100)))), t.b = m(0, _(255, t.b - f(255 * -(r / 100)))), s(t);
296
+ }
297
+ function X(e, r) {
298
+ r = r === 0 ? 0 : r || 10;
299
+ var t = s(e).toHsl();
300
+ return t.l -= r / 100, t.l = k(t.l), s(t);
301
+ }
302
+ function Z(e, r) {
303
+ var t = s(e).toHsl(), i = (t.h + r) % 360;
304
+ return t.h = i < 0 ? 360 + i : i, s(t);
305
+ }
306
+ function J(e) {
307
+ var r = s(e).toHsl();
308
+ return r.h = (r.h + 180) % 360, s(r);
309
+ }
310
+ function K(e) {
311
+ var r = s(e).toHsl(), t = r.h;
312
+ return [
313
+ s(e),
314
+ s({ h: (t + 120) % 360, s: r.s, l: r.l }),
315
+ s({ h: (t + 240) % 360, s: r.s, l: r.l })
316
+ ];
317
+ }
318
+ function Q(e) {
319
+ var r = s(e).toHsl(), t = r.h;
320
+ return [
321
+ s(e),
322
+ s({ h: (t + 90) % 360, s: r.s, l: r.l }),
323
+ s({ h: (t + 180) % 360, s: r.s, l: r.l }),
324
+ s({ h: (t + 270) % 360, s: r.s, l: r.l })
325
+ ];
326
+ }
327
+ function Y(e) {
328
+ var r = s(e).toHsl(), t = r.h;
329
+ return [
330
+ s(e),
331
+ s({ h: (t + 72) % 360, s: r.s, l: r.l }),
332
+ s({ h: (t + 216) % 360, s: r.s, l: r.l })
333
+ ];
334
+ }
335
+ function ee(e, r, t) {
336
+ r = r || 6, t = t || 30;
337
+ var i = s(e).toHsl(), a = 360 / t, n = [s(e)];
338
+ for (i.h = (i.h - (a * r >> 1) + 720) % 360; --r; )
339
+ i.h = (i.h + a) % 360, n.push(s(i));
340
+ return n;
341
+ }
342
+ function te(e, r) {
343
+ r = r || 6;
344
+ for (var t = s(e).toHsv(), i = t.h, a = t.s, n = t.v, h = [], l = 1 / r; r--; )
345
+ h.push(s({ h: i, s: a, v: n })), n = (n + l) % 1;
346
+ return h;
347
+ }
348
+ s.mix = function(e, r, t) {
349
+ t = t === 0 ? 0 : t || 50;
350
+ var i = s(e).toRgb(), a = s(r).toRgb(), n = t / 100, h = {
351
+ r: (a.r - i.r) * n + i.r,
352
+ g: (a.g - i.g) * n + i.g,
353
+ b: (a.b - i.b) * n + i.b,
354
+ a: (a.a - i.a) * n + i.a
355
+ };
356
+ return s(h);
357
+ }, s.readability = function(e, r) {
358
+ var t = s(e), i = s(r);
359
+ return (c.max(t.getLuminance(), i.getLuminance()) + 0.05) / (c.min(t.getLuminance(), i.getLuminance()) + 0.05);
360
+ }, s.isReadable = function(e, r, t) {
361
+ var i = s.readability(e, r), a, n;
362
+ switch (n = !1, a = fe(t), a.level + a.size) {
363
+ case "AAsmall":
364
+ case "AAAlarge":
365
+ n = i >= 4.5;
366
+ break;
367
+ case "AAlarge":
368
+ n = i >= 3;
369
+ break;
370
+ case "AAAsmall":
371
+ n = i >= 7;
372
+ break;
373
+ }
374
+ return n;
375
+ }, s.mostReadable = function(e, r, t) {
376
+ var i = null, a = 0, n, h, l, g;
377
+ t = t || {}, h = t.includeFallbackColors, l = t.level, g = t.size;
378
+ for (var b = 0; b < r.length; b++)
379
+ n = s.readability(e, r[b]), n > a && (a = n, i = s(r[b]));
380
+ return s.isReadable(e, i, { level: l, size: g }) || !h ? i : (t.includeFallbackColors = !1, s.mostReadable(e, ["#fff", "#000"], t));
381
+ };
382
+ var w = s.names = {
383
+ aliceblue: "f0f8ff",
384
+ antiquewhite: "faebd7",
385
+ aqua: "0ff",
386
+ aquamarine: "7fffd4",
387
+ azure: "f0ffff",
388
+ beige: "f5f5dc",
389
+ bisque: "ffe4c4",
390
+ black: "000",
391
+ blanchedalmond: "ffebcd",
392
+ blue: "00f",
393
+ blueviolet: "8a2be2",
394
+ brown: "a52a2a",
395
+ burlywood: "deb887",
396
+ burntsienna: "ea7e5d",
397
+ cadetblue: "5f9ea0",
398
+ chartreuse: "7fff00",
399
+ chocolate: "d2691e",
400
+ coral: "ff7f50",
401
+ cornflowerblue: "6495ed",
402
+ cornsilk: "fff8dc",
403
+ crimson: "dc143c",
404
+ cyan: "0ff",
405
+ darkblue: "00008b",
406
+ darkcyan: "008b8b",
407
+ darkgoldenrod: "b8860b",
408
+ darkgray: "a9a9a9",
409
+ darkgreen: "006400",
410
+ darkgrey: "a9a9a9",
411
+ darkkhaki: "bdb76b",
412
+ darkmagenta: "8b008b",
413
+ darkolivegreen: "556b2f",
414
+ darkorange: "ff8c00",
415
+ darkorchid: "9932cc",
416
+ darkred: "8b0000",
417
+ darksalmon: "e9967a",
418
+ darkseagreen: "8fbc8f",
419
+ darkslateblue: "483d8b",
420
+ darkslategray: "2f4f4f",
421
+ darkslategrey: "2f4f4f",
422
+ darkturquoise: "00ced1",
423
+ darkviolet: "9400d3",
424
+ deeppink: "ff1493",
425
+ deepskyblue: "00bfff",
426
+ dimgray: "696969",
427
+ dimgrey: "696969",
428
+ dodgerblue: "1e90ff",
429
+ firebrick: "b22222",
430
+ floralwhite: "fffaf0",
431
+ forestgreen: "228b22",
432
+ fuchsia: "f0f",
433
+ gainsboro: "dcdcdc",
434
+ ghostwhite: "f8f8ff",
435
+ gold: "ffd700",
436
+ goldenrod: "daa520",
437
+ gray: "808080",
438
+ green: "008000",
439
+ greenyellow: "adff2f",
440
+ grey: "808080",
441
+ honeydew: "f0fff0",
442
+ hotpink: "ff69b4",
443
+ indianred: "cd5c5c",
444
+ indigo: "4b0082",
445
+ ivory: "fffff0",
446
+ khaki: "f0e68c",
447
+ lavender: "e6e6fa",
448
+ lavenderblush: "fff0f5",
449
+ lawngreen: "7cfc00",
450
+ lemonchiffon: "fffacd",
451
+ lightblue: "add8e6",
452
+ lightcoral: "f08080",
453
+ lightcyan: "e0ffff",
454
+ lightgoldenrodyellow: "fafad2",
455
+ lightgray: "d3d3d3",
456
+ lightgreen: "90ee90",
457
+ lightgrey: "d3d3d3",
458
+ lightpink: "ffb6c1",
459
+ lightsalmon: "ffa07a",
460
+ lightseagreen: "20b2aa",
461
+ lightskyblue: "87cefa",
462
+ lightslategray: "789",
463
+ lightslategrey: "789",
464
+ lightsteelblue: "b0c4de",
465
+ lightyellow: "ffffe0",
466
+ lime: "0f0",
467
+ limegreen: "32cd32",
468
+ linen: "faf0e6",
469
+ magenta: "f0f",
470
+ maroon: "800000",
471
+ mediumaquamarine: "66cdaa",
472
+ mediumblue: "0000cd",
473
+ mediumorchid: "ba55d3",
474
+ mediumpurple: "9370db",
475
+ mediumseagreen: "3cb371",
476
+ mediumslateblue: "7b68ee",
477
+ mediumspringgreen: "00fa9a",
478
+ mediumturquoise: "48d1cc",
479
+ mediumvioletred: "c71585",
480
+ midnightblue: "191970",
481
+ mintcream: "f5fffa",
482
+ mistyrose: "ffe4e1",
483
+ moccasin: "ffe4b5",
484
+ navajowhite: "ffdead",
485
+ navy: "000080",
486
+ oldlace: "fdf5e6",
487
+ olive: "808000",
488
+ olivedrab: "6b8e23",
489
+ orange: "ffa500",
490
+ orangered: "ff4500",
491
+ orchid: "da70d6",
492
+ palegoldenrod: "eee8aa",
493
+ palegreen: "98fb98",
494
+ paleturquoise: "afeeee",
495
+ palevioletred: "db7093",
496
+ papayawhip: "ffefd5",
497
+ peachpuff: "ffdab9",
498
+ peru: "cd853f",
499
+ pink: "ffc0cb",
500
+ plum: "dda0dd",
501
+ powderblue: "b0e0e6",
502
+ purple: "800080",
503
+ rebeccapurple: "663399",
504
+ red: "f00",
505
+ rosybrown: "bc8f8f",
506
+ royalblue: "4169e1",
507
+ saddlebrown: "8b4513",
508
+ salmon: "fa8072",
509
+ sandybrown: "f4a460",
510
+ seagreen: "2e8b57",
511
+ seashell: "fff5ee",
512
+ sienna: "a0522d",
513
+ silver: "c0c0c0",
514
+ skyblue: "87ceeb",
515
+ slateblue: "6a5acd",
516
+ slategray: "708090",
517
+ slategrey: "708090",
518
+ snow: "fffafa",
519
+ springgreen: "00ff7f",
520
+ steelblue: "4682b4",
521
+ tan: "d2b48c",
522
+ teal: "008080",
523
+ thistle: "d8bfd8",
524
+ tomato: "ff6347",
525
+ turquoise: "40e0d0",
526
+ violet: "ee82ee",
527
+ wheat: "f5deb3",
528
+ white: "fff",
529
+ whitesmoke: "f5f5f5",
530
+ yellow: "ff0",
531
+ yellowgreen: "9acd32"
532
+ }, re = s.hexNames = ie(w);
533
+ function ie(e) {
534
+ var r = {};
535
+ for (var t in e)
536
+ e.hasOwnProperty(t) && (r[e[t]] = t);
537
+ return r;
538
+ }
539
+ function E(e) {
540
+ return e = parseFloat(e), (isNaN(e) || e < 0 || e > 1) && (e = 1), e;
541
+ }
542
+ function u(e, r) {
543
+ ne(e) && (e = "100%");
544
+ var t = ae(e);
545
+ return e = _(r, m(0, parseFloat(e))), t && (e = parseInt(e * r, 10) / 100), c.abs(e - r) < 1e-6 ? 1 : e % r / parseFloat(r);
546
+ }
547
+ function k(e) {
548
+ return _(1, m(0, e));
549
+ }
550
+ function o(e) {
551
+ return parseInt(e, 16);
552
+ }
553
+ function ne(e) {
554
+ return typeof e == "string" && e.indexOf(".") != -1 && parseFloat(e) === 1;
555
+ }
556
+ function ae(e) {
557
+ return typeof e == "string" && e.indexOf("%") != -1;
558
+ }
559
+ function d(e) {
560
+ return e.length == 1 ? "0" + e : "" + e;
561
+ }
562
+ function x(e) {
563
+ return e <= 1 && (e = e * 100 + "%"), e;
564
+ }
565
+ function I(e) {
566
+ return c.round(parseFloat(e) * 255).toString(16);
567
+ }
568
+ function P(e) {
569
+ return o(e) / 255;
570
+ }
571
+ var v = function() {
572
+ var e = "[-\\+]?\\d+%?", r = "[-\\+]?\\d*\\.\\d+%?", t = "(?:" + r + ")|(?:" + e + ")", i = "[\\s|\\(]+(" + t + ")[,|\\s]+(" + t + ")[,|\\s]+(" + t + ")\\s*\\)?", a = "[\\s|\\(]+(" + t + ")[,|\\s]+(" + t + ")[,|\\s]+(" + t + ")[,|\\s]+(" + t + ")\\s*\\)?";
573
+ return {
574
+ CSS_UNIT: new RegExp(t),
575
+ rgb: new RegExp("rgb" + i),
576
+ rgba: new RegExp("rgba" + a),
577
+ hsl: new RegExp("hsl" + i),
578
+ hsla: new RegExp("hsla" + a),
579
+ hsv: new RegExp("hsv" + i),
580
+ hsva: new RegExp("hsva" + a),
581
+ hex3: /^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,
582
+ hex6: /^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,
583
+ hex4: /^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,
584
+ hex8: /^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/
585
+ };
586
+ }();
587
+ function y(e) {
588
+ return !!v.CSS_UNIT.exec(e);
589
+ }
590
+ function se(e) {
591
+ e = e.replace(z, "").replace(B, "").toLowerCase();
592
+ var r = !1;
593
+ if (w[e])
594
+ e = w[e], r = !0;
595
+ else if (e == "transparent")
596
+ return { r: 0, g: 0, b: 0, a: 0, format: "name" };
597
+ var t;
598
+ return (t = v.rgb.exec(e)) ? { r: t[1], g: t[2], b: t[3] } : (t = v.rgba.exec(e)) ? { r: t[1], g: t[2], b: t[3], a: t[4] } : (t = v.hsl.exec(e)) ? { h: t[1], s: t[2], l: t[3] } : (t = v.hsla.exec(e)) ? { h: t[1], s: t[2], l: t[3], a: t[4] } : (t = v.hsv.exec(e)) ? { h: t[1], s: t[2], v: t[3] } : (t = v.hsva.exec(e)) ? { h: t[1], s: t[2], v: t[3], a: t[4] } : (t = v.hex8.exec(e)) ? {
599
+ r: o(t[1]),
600
+ g: o(t[2]),
601
+ b: o(t[3]),
602
+ a: P(t[4]),
603
+ format: r ? "name" : "hex8"
604
+ } : (t = v.hex6.exec(e)) ? {
605
+ r: o(t[1]),
606
+ g: o(t[2]),
607
+ b: o(t[3]),
608
+ format: r ? "name" : "hex"
609
+ } : (t = v.hex4.exec(e)) ? {
610
+ r: o(t[1] + "" + t[1]),
611
+ g: o(t[2] + "" + t[2]),
612
+ b: o(t[3] + "" + t[3]),
613
+ a: P(t[4] + "" + t[4]),
614
+ format: r ? "name" : "hex8"
615
+ } : (t = v.hex3.exec(e)) ? {
616
+ r: o(t[1] + "" + t[1]),
617
+ g: o(t[2] + "" + t[2]),
618
+ b: o(t[3] + "" + t[3]),
619
+ format: r ? "name" : "hex"
620
+ } : !1;
621
+ }
622
+ function fe(e) {
623
+ var r, t;
624
+ return e = e || { level: "AA", size: "small" }, r = (e.level || "AA").toUpperCase(), t = (e.size || "small").toLowerCase(), r !== "AA" && r !== "AAA" && (r = "AA"), t !== "small" && t !== "large" && (t = "small"), { level: r, size: t };
625
+ }
626
+ R.exports ? R.exports = s : window.tinycolor = s;
627
+ })(Math);
628
+ })(N);
629
+ var ue = N.exports;
630
+ const ge = /* @__PURE__ */ he(ue);
631
+ export {
632
+ ue as a,
633
+ ge as t
634
+ };