@cling-se/widget 0.14.4 → 0.14.6

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 (129) hide show
  1. package/dist/AddClientCallout-C7abPZ87.js +46 -0
  2. package/dist/AnswerModal-CsA2pl2P.js +3874 -0
  3. package/dist/AttachmentItem-Da1-7xwf.js +78 -0
  4. package/dist/BaseDatePicker-k9zlSi5J.js +3183 -0
  5. package/dist/BaseUpload-BUrXX3fT.js +1977 -0
  6. package/dist/BlockMedia-CYI07qAn.js +76 -0
  7. package/dist/CCallout-Qwae66vo.js +59 -0
  8. package/dist/CCurrencyDropdown-Y_u0hgBx.js +246 -0
  9. package/dist/CDropdownItem-CXJ4xD8W.js +538 -0
  10. package/dist/CField.vue_vue_type_style_index_0_lang-l0sNRNKZ.js +1 -0
  11. package/dist/CFormField--m3PvQuT.js +241 -0
  12. package/dist/CPhoneFormat-Qg6MkDVP.js +62 -0
  13. package/dist/CPriceInput-Dlx44UrR.js +112 -0
  14. package/dist/CTabs.vue_vue_type_style_index_0_scoped_b7262014_lang-l0sNRNKZ.js +1 -0
  15. package/dist/ClientAutocomplete-BKKc_br6.js +78 -0
  16. package/dist/ClientModal-CVZFb1Br.js +625 -0
  17. package/dist/ColorPicker-Bo3s3Esp.js +2879 -0
  18. package/dist/CompanyModal-DadjAioS.js +141 -0
  19. package/dist/ContentWrapper-BC3ZBQW9.js +183 -0
  20. package/dist/CoverBlockSettings-B484eE4g.js +275 -0
  21. package/dist/DocAnswer-CcYryOWI.js +36 -0
  22. package/dist/DocDetails-BigsoEWL.js +246 -0
  23. package/dist/DocForm-DlN0eNWt.js +7273 -0
  24. package/dist/DocFormSend-TqKo210I.js +143 -0
  25. package/dist/DocLinks-DSo54vDn.js +38 -0
  26. package/dist/DocModalBase-XlM1SThW.js +28 -0
  27. package/dist/DocPrint-tD0Vd9Sw.js +240 -0
  28. package/dist/DocReceipt-CDHPrhXM.js +210 -0
  29. package/dist/DocSendReminder-C62RhltH.js +137 -0
  30. package/dist/DocTextEditor-VjhV9IRp.js +17181 -0
  31. package/dist/DocTimeline-LcW4z3nC.js +481 -0
  32. package/dist/DocumentClient-CqbTRdpB.js +136 -0
  33. package/dist/DocumentLayout-Dbf8_01r.js +4909 -0
  34. package/dist/DocumentLogotype-DXYnBedV.js +87 -0
  35. package/dist/DocumentVoided-vH1Ti5lZ.js +25 -0
  36. package/dist/EmbedInput-D9qP8OnY.js +113 -0
  37. package/dist/EmbedSettings-DISuNqJT.js +72 -0
  38. package/dist/ErrorCallout-CCtCVwSh.js +28 -0
  39. package/dist/FilePreviewModal-BjhNyb6L.js +81 -0
  40. package/dist/Flag-Dhukv9_J.js +114 -0
  41. package/dist/HeaderSettings-CK4SkB1x.js +392 -0
  42. package/dist/ImageSelectModal-DnvPZzXx.js +84 -0
  43. package/dist/ImageUploadWrapper-B7cNMu5a.js +1604 -0
  44. package/dist/Index-B3HoK_cZ.js +84 -0
  45. package/dist/Index-B3aucNji.js +25 -0
  46. package/dist/Index-B9H5MMHb.js +62 -0
  47. package/dist/Index-BAYdvT-t.js +754 -0
  48. package/dist/Index-BLeQprjq.js +46 -0
  49. package/dist/Index-BOyvQlng.js +154 -0
  50. package/dist/Index-BVsw2tak.js +70 -0
  51. package/dist/Index-BY1UKGEO.js +98 -0
  52. package/dist/Index-Bh0kMSsA.js +107 -0
  53. package/dist/Index-BlQSM7tC.js +144 -0
  54. package/dist/Index-BpcJBGGd.js +642 -0
  55. package/dist/Index-Bs8wprXw.js +58 -0
  56. package/dist/Index-BvZZAvFd.js +21 -0
  57. package/dist/Index-CFo-3Y5Q.js +26 -0
  58. package/dist/Index-CNvp5K3L.js +559 -0
  59. package/dist/Index-CPJVx14x.js +171 -0
  60. package/dist/Index-CQ325eVT.js +140 -0
  61. package/dist/Index-CWrDtcfT.js +49 -0
  62. package/dist/Index-CyJnSvDR.js +223 -0
  63. package/dist/Index-D6bc7lg4.js +52 -0
  64. package/dist/Index-DCR8ev4U.js +33 -0
  65. package/dist/Index-DGQSB9cH.js +24 -0
  66. package/dist/Index-DXAvlq74.js +292 -0
  67. package/dist/Index-D_rfst8y.js +45 -0
  68. package/dist/Index-Dm8xMFGg.js +61 -0
  69. package/dist/Index-DtSSgtxB.js +55 -0
  70. package/dist/Index-DuTw9vhb.js +77 -0
  71. package/dist/Index-Dw26jtGV.js +31 -0
  72. package/dist/Index-OxN73_fO.js +32 -0
  73. package/dist/Index-S-FHG7_k.js +2402 -0
  74. package/dist/Index-ZFkitzfq.js +69 -0
  75. package/dist/Index-dyWK9jgr.js +25 -0
  76. package/dist/Index-gb11ngPS.js +57 -0
  77. package/dist/Index-lKk_XKJ3.js +150 -0
  78. package/dist/InputToggleRow-DSSvhPKA.js +57 -0
  79. package/dist/ManualPopover-lpJYSkw5.js +58 -0
  80. package/dist/MediaWrapper-BQ22FA2B.js +23 -0
  81. package/dist/NotBindingText-JxwzZLPP.js +32 -0
  82. package/dist/PackageGroup-BLSMSUDz.js +699 -0
  83. package/dist/PdfTerms-DtutjM5Y.js +36 -0
  84. package/dist/PdfViewer-BsxcZI_x.js +374 -0
  85. package/dist/PlainHtml-BMPZs2fT.js +20 -0
  86. package/dist/PriceHeader-BRYY01H2.js +339 -0
  87. package/dist/SearchApi-6001iFxU.js +161 -0
  88. package/dist/Setup-cw6jMI9M.js +50 -0
  89. package/dist/SmartList-q6H-uLbm.js +83 -0
  90. package/dist/TermsSettings-DWvaPneu.js +102 -0
  91. package/dist/ThemeColorRow-BXWnvfz-.js +67 -0
  92. package/dist/ToggleBinding-DydtwpNG.js +38 -0
  93. package/dist/UploadModal-D_EDKHGD.js +95 -0
  94. package/dist/VideoPlayerInput-B9yzUeBW.js +93 -0
  95. package/dist/VideoPlayerSettings-Bvp9l0yj.js +61 -0
  96. package/dist/VideoSelectModal-DY3N4JiS.js +100 -0
  97. package/dist/anime.es-BrPTThYb.js +858 -0
  98. package/dist/answerDocumentMixin-BYZPU_R-.js +51 -0
  99. package/dist/color-TdtKxwVa.js +19 -0
  100. package/dist/debounce-BPnlzNwd.js +84 -0
  101. package/dist/dom-CJxkno7i.js +91 -0
  102. package/dist/favicon.ico +0 -0
  103. package/dist/focusDrawerMixin-DC9Oa1i7.js +22 -0
  104. package/dist/formComponentsInstall-CEW6TK6z.js +2499 -0
  105. package/dist/formDrawerState-CAzvSMiQ.js +20 -0
  106. package/dist/formValidationMixin-D7zXxCpC.js +49 -0
  107. package/dist/i18nMessages-Chz_lxGG.js +17 -0
  108. package/dist/index-B9WDC3Xe.js +166 -0
  109. package/dist/index-BCMaUC5r.js +3916 -0
  110. package/dist/index-BDMI4NVY.js +492 -0
  111. package/dist/index-BbscgdRg.js +81 -0
  112. package/dist/index-CLUljEDI.js +347 -0
  113. package/dist/index-SxyZvewN.js +102 -0
  114. package/dist/index.es.js +35 -0
  115. package/dist/index.umd.js +3148 -0
  116. package/dist/main-CQBEuZk9.js +56739 -0
  117. package/dist/mapFormMixin-DlFcgwhm.js +72 -0
  118. package/dist/omit-BWy0Zhd3.js +31 -0
  119. package/dist/publicSenderState-CvOcFv2U.js +21 -0
  120. package/dist/splitpanes-BHUVsCZF.js +382 -0
  121. package/dist/style.css +4 -0
  122. package/dist/throttle-BrC8eGjQ.js +18 -0
  123. package/dist/tinycolor-PhFP695w.js +633 -0
  124. package/dist/tippy.esm-7dmKOUvu.js +1799 -0
  125. package/dist/utils-NBLgNGHR.js +108 -0
  126. package/dist/vuedraggable.umd-ByfH7ZxC.js +3161 -0
  127. package/dist/vuex.esm-DKGl8mcw.js +467 -0
  128. package/package.json +1 -1
  129. package/vite.config.ts +0 -1
@@ -0,0 +1,2879 @@
1
+ import { a5 as ht, n as bt } from "./main-CQBEuZk9.js";
2
+ var vt = { exports: {} };
3
+ (function(gt, Ct) {
4
+ (function(c, i) {
5
+ gt.exports = i();
6
+ })(typeof self < "u" ? self : ht, function() {
7
+ return function(c) {
8
+ function i(n) {
9
+ if (e[n])
10
+ return e[n].exports;
11
+ var o = e[n] = { i: n, l: !1, exports: {} };
12
+ return c[n].call(o.exports, o, o.exports, i), o.l = !0, o.exports;
13
+ }
14
+ var e = {};
15
+ return i.m = c, i.c = e, i.d = function(n, o, a) {
16
+ i.o(n, o) || Object.defineProperty(n, o, { configurable: !1, enumerable: !0, get: a });
17
+ }, i.n = function(n) {
18
+ var o = n && n.__esModule ? function() {
19
+ return n.default;
20
+ } : function() {
21
+ return n;
22
+ };
23
+ return i.d(o, "a", o), o;
24
+ }, i.o = function(n, o) {
25
+ return Object.prototype.hasOwnProperty.call(n, o);
26
+ }, i.p = "", i(i.s = 60);
27
+ }([function(c, i) {
28
+ function e(o, a) {
29
+ var t = o[1] || "", f = o[3];
30
+ if (!f)
31
+ return t;
32
+ if (a && typeof btoa == "function") {
33
+ var r = n(f);
34
+ return [t].concat(f.sources.map(function(s) {
35
+ return "/*# sourceURL=" + f.sourceRoot + s + " */";
36
+ })).concat([r]).join(`
37
+ `);
38
+ }
39
+ return [t].join(`
40
+ `);
41
+ }
42
+ function n(o) {
43
+ return "/*# sourceMappingURL=data:application/json;charset=utf-8;base64," + btoa(unescape(encodeURIComponent(JSON.stringify(o)))) + " */";
44
+ }
45
+ c.exports = function(o) {
46
+ var a = [];
47
+ return a.toString = function() {
48
+ return this.map(function(t) {
49
+ var f = e(t, o);
50
+ return t[2] ? "@media " + t[2] + "{" + f + "}" : f;
51
+ }).join("");
52
+ }, a.i = function(t, f) {
53
+ typeof t == "string" && (t = [[null, t, ""]]);
54
+ for (var r = {}, s = 0; s < this.length; s++) {
55
+ var h = this[s][0];
56
+ typeof h == "number" && (r[h] = !0);
57
+ }
58
+ for (s = 0; s < t.length; s++) {
59
+ var d = t[s];
60
+ typeof d[0] == "number" && r[d[0]] || (f && !d[2] ? d[2] = f : f && (d[2] = "(" + d[2] + ") and (" + f + ")"), a.push(d));
61
+ }
62
+ }, a;
63
+ };
64
+ }, function(c, i, e) {
65
+ function n(S) {
66
+ for (var j = 0; j < S.length; j++) {
67
+ var L = S[j], A = h[L.id];
68
+ if (A) {
69
+ A.refs++;
70
+ for (var v = 0; v < A.parts.length; v++)
71
+ A.parts[v](L.parts[v]);
72
+ for (; v < L.parts.length; v++)
73
+ A.parts.push(a(L.parts[v]));
74
+ A.parts.length > L.parts.length && (A.parts.length = L.parts.length);
75
+ } else {
76
+ for (var M = [], v = 0; v < L.parts.length; v++)
77
+ M.push(a(L.parts[v]));
78
+ h[L.id] = { id: L.id, refs: 1, parts: M };
79
+ }
80
+ }
81
+ }
82
+ function o() {
83
+ var S = document.createElement("style");
84
+ return S.type = "text/css", d.appendChild(S), S;
85
+ }
86
+ function a(S) {
87
+ var j, L, A = document.querySelector("style[" + F + '~="' + S.id + '"]');
88
+ if (A) {
89
+ if (x)
90
+ return C;
91
+ A.parentNode.removeChild(A);
92
+ }
93
+ if (H) {
94
+ var v = O++;
95
+ A = g || (g = o()), j = t.bind(null, A, v, !1), L = t.bind(null, A, v, !0);
96
+ } else
97
+ A = o(), j = f.bind(null, A), L = function() {
98
+ A.parentNode.removeChild(A);
99
+ };
100
+ return j(S), function(M) {
101
+ if (M) {
102
+ if (M.css === S.css && M.media === S.media && M.sourceMap === S.sourceMap)
103
+ return;
104
+ j(S = M);
105
+ } else
106
+ L();
107
+ };
108
+ }
109
+ function t(S, j, L, A) {
110
+ var v = L ? "" : A.css;
111
+ if (S.styleSheet)
112
+ S.styleSheet.cssText = W(j, v);
113
+ else {
114
+ var M = document.createTextNode(v), R = S.childNodes;
115
+ R[j] && S.removeChild(R[j]), R.length ? S.insertBefore(M, R[j]) : S.appendChild(M);
116
+ }
117
+ }
118
+ function f(S, j) {
119
+ var L = j.css, A = j.media, v = j.sourceMap;
120
+ if (A && S.setAttribute("media", A), _.ssrId && S.setAttribute(F, j.id), v && (L += `
121
+ /*# sourceURL=` + v.sources[0] + " */", L += `
122
+ /*# sourceMappingURL=data:application/json;base64,` + btoa(unescape(encodeURIComponent(JSON.stringify(v)))) + " */"), S.styleSheet)
123
+ S.styleSheet.cssText = L;
124
+ else {
125
+ for (; S.firstChild; )
126
+ S.removeChild(S.firstChild);
127
+ S.appendChild(document.createTextNode(L));
128
+ }
129
+ }
130
+ var r = typeof document < "u";
131
+ if (typeof DEBUG < "u" && DEBUG && !r)
132
+ throw new Error("vue-style-loader cannot be used in a non-browser environment. Use { target: 'node' } in your Webpack config to indicate a server-rendering environment.");
133
+ var s = e(64), h = {}, d = r && (document.head || document.getElementsByTagName("head")[0]), g = null, O = 0, x = !1, C = function() {
134
+ }, _ = null, F = "data-vue-ssr-id", H = typeof navigator < "u" && /msie [6-9]\b/.test(navigator.userAgent.toLowerCase());
135
+ c.exports = function(S, j, L, A) {
136
+ x = L, _ = A || {};
137
+ var v = s(S, j);
138
+ return n(v), function(M) {
139
+ for (var R = [], D = 0; D < v.length; D++) {
140
+ var I = v[D], P = h[I.id];
141
+ P.refs--, R.push(P);
142
+ }
143
+ M ? (v = s(S, M), n(v)) : v = [];
144
+ for (var D = 0; D < R.length; D++) {
145
+ var P = R[D];
146
+ if (P.refs === 0) {
147
+ for (var q = 0; q < P.parts.length; q++)
148
+ P.parts[q]();
149
+ delete h[P.id];
150
+ }
151
+ }
152
+ };
153
+ };
154
+ var W = /* @__PURE__ */ function() {
155
+ var S = [];
156
+ return function(j, L) {
157
+ return S[j] = L, S.filter(Boolean).join(`
158
+ `);
159
+ };
160
+ }();
161
+ }, function(c, i) {
162
+ c.exports = function(e, n, o, a, t, f) {
163
+ var r, s = e = e || {}, h = typeof e.default;
164
+ h !== "object" && h !== "function" || (r = e, s = e.default);
165
+ var d = typeof s == "function" ? s.options : s;
166
+ n && (d.render = n.render, d.staticRenderFns = n.staticRenderFns, d._compiled = !0), o && (d.functional = !0), t && (d._scopeId = t);
167
+ var g;
168
+ if (f ? (g = function(C) {
169
+ C = C || this.$vnode && this.$vnode.ssrContext || this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext, C || typeof __VUE_SSR_CONTEXT__ > "u" || (C = __VUE_SSR_CONTEXT__), a && a.call(this, C), C && C._registeredComponents && C._registeredComponents.add(f);
170
+ }, d._ssrRegister = g) : a && (g = a), g) {
171
+ var O = d.functional, x = O ? d.render : d.beforeCreate;
172
+ O ? (d._injectStyles = g, d.render = function(C, _) {
173
+ return g.call(_), x(C, _);
174
+ }) : d.beforeCreate = x ? [].concat(x, g) : [g];
175
+ }
176
+ return { esModule: r, exports: s, options: d };
177
+ };
178
+ }, function(c, i, e) {
179
+ function n(t, f) {
180
+ var r, s = t && t.a;
181
+ !(r = t && t.hsl ? (0, a.default)(t.hsl) : t && t.hex && t.hex.length > 0 ? (0, a.default)(t.hex) : t && t.hsv ? (0, a.default)(t.hsv) : t && t.rgba ? (0, a.default)(t.rgba) : t && t.rgb ? (0, a.default)(t.rgb) : (0, a.default)(t)) || r._a !== void 0 && r._a !== null || r.setAlpha(s || 1);
182
+ var h = r.toHsl(), d = r.toHsv();
183
+ return h.s === 0 && (d.h = h.h = t.h || t.hsl && t.hsl.h || f || 0), { hsl: h, hex: r.toHexString().toUpperCase(), hex8: r.toHex8String().toUpperCase(), rgba: r.toRgb(), hsv: d, oldHue: t.h || f || h.h, source: t.source, a: t.a || r.getAlpha() };
184
+ }
185
+ Object.defineProperty(i, "__esModule", { value: !0 });
186
+ var o = e(65), a = function(t) {
187
+ return t && t.__esModule ? t : { default: t };
188
+ }(o);
189
+ i.default = { props: ["value"], data: function() {
190
+ return { val: n(this.value) };
191
+ }, computed: { colors: { get: function() {
192
+ return this.val;
193
+ }, set: function(t) {
194
+ this.val = t, this.$emit("input", t);
195
+ } } }, watch: { value: function(t) {
196
+ this.val = n(t);
197
+ } }, methods: { colorChange: function(t, f) {
198
+ this.oldHue = this.colors.hsl.h, this.colors = n(t, f || this.oldHue);
199
+ }, isValidHex: function(t) {
200
+ return (0, a.default)(t).isValid();
201
+ }, simpleCheckForValidColor: function(t) {
202
+ for (var f = ["r", "g", "b", "a", "h", "s", "l", "v"], r = 0, s = 0, h = 0; h < f.length; h++) {
203
+ var d = f[h];
204
+ t[d] && (r++, isNaN(t[d]) || s++);
205
+ }
206
+ if (r === s)
207
+ return t;
208
+ }, paletteUpperCase: function(t) {
209
+ return t.map(function(f) {
210
+ return f.toUpperCase();
211
+ });
212
+ }, isTransparent: function(t) {
213
+ return (0, a.default)(t).getAlpha() === 0;
214
+ } } };
215
+ }, function(c, i) {
216
+ var e = c.exports = typeof window < "u" && window.Math == Math ? window : typeof self < "u" && self.Math == Math ? self : Function("return this")();
217
+ typeof __g == "number" && (__g = e);
218
+ }, function(c, i, e) {
219
+ function n(d) {
220
+ e(66);
221
+ }
222
+ Object.defineProperty(i, "__esModule", { value: !0 });
223
+ var o = e(36), a = e.n(o);
224
+ for (var t in o)
225
+ t !== "default" && function(d) {
226
+ e.d(i, d, function() {
227
+ return o[d];
228
+ });
229
+ }(t);
230
+ var f = e(68), r = e(2), s = n, h = r(a.a, f.a, !1, s, null, null);
231
+ h.options.__file = "src/components/common/EditableInput.vue", i.default = h.exports;
232
+ }, function(c, i) {
233
+ var e = {}.hasOwnProperty;
234
+ c.exports = function(n, o) {
235
+ return e.call(n, o);
236
+ };
237
+ }, function(c, i, e) {
238
+ var n = e(8), o = e(18);
239
+ c.exports = e(9) ? function(a, t, f) {
240
+ return n.f(a, t, o(1, f));
241
+ } : function(a, t, f) {
242
+ return a[t] = f, a;
243
+ };
244
+ }, function(c, i, e) {
245
+ var n = e(16), o = e(42), a = e(25), t = Object.defineProperty;
246
+ i.f = e(9) ? Object.defineProperty : function(f, r, s) {
247
+ if (n(f), r = a(r, !0), n(s), o)
248
+ try {
249
+ return t(f, r, s);
250
+ } catch {
251
+ }
252
+ if ("get" in s || "set" in s)
253
+ throw TypeError("Accessors not supported!");
254
+ return "value" in s && (f[r] = s.value), f;
255
+ };
256
+ }, function(c, i, e) {
257
+ c.exports = !e(17)(function() {
258
+ return Object.defineProperty({}, "a", { get: function() {
259
+ return 7;
260
+ } }).a != 7;
261
+ });
262
+ }, function(c, i, e) {
263
+ var n = e(90), o = e(24);
264
+ c.exports = function(a) {
265
+ return n(o(a));
266
+ };
267
+ }, function(c, i, e) {
268
+ var n = e(29)("wks"), o = e(19), a = e(4).Symbol, t = typeof a == "function";
269
+ (c.exports = function(f) {
270
+ return n[f] || (n[f] = t && a[f] || (t ? a : o)("Symbol." + f));
271
+ }).store = n;
272
+ }, function(c, i) {
273
+ c.exports = function(e) {
274
+ return typeof e == "object" ? e !== null : typeof e == "function";
275
+ };
276
+ }, function(c, i, e) {
277
+ function n(d) {
278
+ e(111);
279
+ }
280
+ Object.defineProperty(i, "__esModule", { value: !0 });
281
+ var o = e(51), a = e.n(o);
282
+ for (var t in o)
283
+ t !== "default" && function(d) {
284
+ e.d(i, d, function() {
285
+ return o[d];
286
+ });
287
+ }(t);
288
+ var f = e(113), r = e(2), s = n, h = r(a.a, f.a, !1, s, null, null);
289
+ h.options.__file = "src/components/common/Hue.vue", i.default = h.exports;
290
+ }, function(c, i) {
291
+ c.exports = !0;
292
+ }, function(c, i) {
293
+ var e = c.exports = { version: "2.6.11" };
294
+ typeof __e == "number" && (__e = e);
295
+ }, function(c, i, e) {
296
+ var n = e(12);
297
+ c.exports = function(o) {
298
+ if (!n(o))
299
+ throw TypeError(o + " is not an object!");
300
+ return o;
301
+ };
302
+ }, function(c, i) {
303
+ c.exports = function(e) {
304
+ try {
305
+ return !!e();
306
+ } catch {
307
+ return !0;
308
+ }
309
+ };
310
+ }, function(c, i) {
311
+ c.exports = function(e, n) {
312
+ return { enumerable: !(1 & e), configurable: !(2 & e), writable: !(4 & e), value: n };
313
+ };
314
+ }, function(c, i) {
315
+ var e = 0, n = Math.random();
316
+ c.exports = function(o) {
317
+ return "Symbol(".concat(o === void 0 ? "" : o, ")_", (++e + n).toString(36));
318
+ };
319
+ }, function(c, i, e) {
320
+ function n(d) {
321
+ e(123);
322
+ }
323
+ Object.defineProperty(i, "__esModule", { value: !0 });
324
+ var o = e(54), a = e.n(o);
325
+ for (var t in o)
326
+ t !== "default" && function(d) {
327
+ e.d(i, d, function() {
328
+ return o[d];
329
+ });
330
+ }(t);
331
+ var f = e(127), r = e(2), s = n, h = r(a.a, f.a, !1, s, null, null);
332
+ h.options.__file = "src/components/common/Saturation.vue", i.default = h.exports;
333
+ }, function(c, i, e) {
334
+ function n(d) {
335
+ e(128);
336
+ }
337
+ Object.defineProperty(i, "__esModule", { value: !0 });
338
+ var o = e(55), a = e.n(o);
339
+ for (var t in o)
340
+ t !== "default" && function(d) {
341
+ e.d(i, d, function() {
342
+ return o[d];
343
+ });
344
+ }(t);
345
+ var f = e(133), r = e(2), s = n, h = r(a.a, f.a, !1, s, null, null);
346
+ h.options.__file = "src/components/common/Alpha.vue", i.default = h.exports;
347
+ }, function(c, i, e) {
348
+ function n(d) {
349
+ e(130);
350
+ }
351
+ Object.defineProperty(i, "__esModule", { value: !0 });
352
+ var o = e(56), a = e.n(o);
353
+ for (var t in o)
354
+ t !== "default" && function(d) {
355
+ e.d(i, d, function() {
356
+ return o[d];
357
+ });
358
+ }(t);
359
+ var f = e(132), r = e(2), s = n, h = r(a.a, f.a, !1, s, null, null);
360
+ h.options.__file = "src/components/common/Checkboard.vue", i.default = h.exports;
361
+ }, function(c, i) {
362
+ var e = Math.ceil, n = Math.floor;
363
+ c.exports = function(o) {
364
+ return isNaN(o = +o) ? 0 : (o > 0 ? n : e)(o);
365
+ };
366
+ }, function(c, i) {
367
+ c.exports = function(e) {
368
+ if (e == null)
369
+ throw TypeError("Can't call method on " + e);
370
+ return e;
371
+ };
372
+ }, function(c, i, e) {
373
+ var n = e(12);
374
+ c.exports = function(o, a) {
375
+ if (!n(o))
376
+ return o;
377
+ var t, f;
378
+ if (a && typeof (t = o.toString) == "function" && !n(f = t.call(o)) || typeof (t = o.valueOf) == "function" && !n(f = t.call(o)) || !a && typeof (t = o.toString) == "function" && !n(f = t.call(o)))
379
+ return f;
380
+ throw TypeError("Can't convert object to primitive value");
381
+ };
382
+ }, function(c, i) {
383
+ c.exports = {};
384
+ }, function(c, i, e) {
385
+ var n = e(46), o = e(30);
386
+ c.exports = Object.keys || function(a) {
387
+ return n(a, o);
388
+ };
389
+ }, function(c, i, e) {
390
+ var n = e(29)("keys"), o = e(19);
391
+ c.exports = function(a) {
392
+ return n[a] || (n[a] = o(a));
393
+ };
394
+ }, function(c, i, e) {
395
+ var n = e(15), o = e(4), a = o["__core-js_shared__"] || (o["__core-js_shared__"] = {});
396
+ (c.exports = function(t, f) {
397
+ return a[t] || (a[t] = f !== void 0 ? f : {});
398
+ })("versions", []).push({ version: n.version, mode: e(14) ? "pure" : "global", copyright: "© 2019 Denis Pushkarev (zloirock.ru)" });
399
+ }, function(c, i) {
400
+ c.exports = "constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",");
401
+ }, function(c, i, e) {
402
+ var n = e(8).f, o = e(6), a = e(11)("toStringTag");
403
+ c.exports = function(t, f, r) {
404
+ t && !o(t = r ? t : t.prototype, a) && n(t, a, { configurable: !0, value: f });
405
+ };
406
+ }, function(c, i, e) {
407
+ i.f = e(11);
408
+ }, function(c, i, e) {
409
+ var n = e(4), o = e(15), a = e(14), t = e(32), f = e(8).f;
410
+ c.exports = function(r) {
411
+ var s = o.Symbol || (o.Symbol = a ? {} : n.Symbol || {});
412
+ r.charAt(0) == "_" || r in s || f(s, r, { value: t.f(r) });
413
+ };
414
+ }, function(c, i) {
415
+ i.f = {}.propertyIsEnumerable;
416
+ }, function(c, i, e) {
417
+ function n(s) {
418
+ return s && s.__esModule ? s : { default: s };
419
+ }
420
+ Object.defineProperty(i, "__esModule", { value: !0 });
421
+ var o = e(3), a = n(o), t = e(5), f = n(t), r = ["#4D4D4D", "#999999", "#FFFFFF", "#F44E3B", "#FE9200", "#FCDC00", "#DBDF00", "#A4DD00", "#68CCCA", "#73D8FF", "#AEA1FF", "#FDA1FF", "#333333", "#808080", "#CCCCCC", "#D33115", "#E27300", "#FCC400", "#B0BC00", "#68BC00", "#16A5A5", "#009CE0", "#7B64FF", "#FA28FF", "#000000", "#666666", "#B3B3B3", "#9F0500", "#C45100", "#FB9E00", "#808900", "#194D33", "#0C797D", "#0062B1", "#653294", "#AB149E"];
422
+ i.default = { name: "Compact", mixins: [a.default], props: { palette: { type: Array, default: function() {
423
+ return r;
424
+ } } }, components: { "ed-in": f.default }, computed: { pick: function() {
425
+ return this.colors.hex.toUpperCase();
426
+ } }, methods: { handlerClick: function(s) {
427
+ this.colorChange({ hex: s, source: "hex" });
428
+ } } };
429
+ }, function(c, i, e) {
430
+ Object.defineProperty(i, "__esModule", { value: !0 }), i.default = { name: "editableInput", props: { label: String, labelText: String, desc: String, value: [String, Number], max: Number, min: Number, arrowOffset: { type: Number, default: 1 } }, computed: { val: { get: function() {
431
+ return this.value;
432
+ }, set: function(n) {
433
+ if (!(this.max !== void 0 && +n > this.max))
434
+ return n;
435
+ this.$refs.input.value = this.max;
436
+ } }, labelId: function() {
437
+ return "input__label__" + this.label + "__" + Math.random().toString().slice(2, 5);
438
+ }, labelSpanText: function() {
439
+ return this.labelText || this.label;
440
+ } }, methods: { update: function(n) {
441
+ this.handleChange(n.target.value);
442
+ }, handleChange: function(n) {
443
+ var o = {};
444
+ o[this.label] = n, o.hex === void 0 && o["#"] === void 0 ? this.$emit("change", o) : n.length > 5 && this.$emit("change", o);
445
+ }, handleKeyDown: function(n) {
446
+ var o = this.val, a = Number(o);
447
+ if (a) {
448
+ var t = this.arrowOffset || 1;
449
+ n.keyCode === 38 && (o = a + t, this.handleChange(o), n.preventDefault()), n.keyCode === 40 && (o = a - t, this.handleChange(o), n.preventDefault());
450
+ }
451
+ } } };
452
+ }, function(c, i, e) {
453
+ Object.defineProperty(i, "__esModule", { value: !0 });
454
+ var n = e(3), o = function(t) {
455
+ return t && t.__esModule ? t : { default: t };
456
+ }(n), a = ["#FFFFFF", "#F2F2F2", "#E6E6E6", "#D9D9D9", "#CCCCCC", "#BFBFBF", "#B3B3B3", "#A6A6A6", "#999999", "#8C8C8C", "#808080", "#737373", "#666666", "#595959", "#4D4D4D", "#404040", "#333333", "#262626", "#0D0D0D", "#000000"];
457
+ i.default = { name: "Grayscale", mixins: [o.default], props: { palette: { type: Array, default: function() {
458
+ return a;
459
+ } } }, components: {}, computed: { pick: function() {
460
+ return this.colors.hex.toUpperCase();
461
+ } }, methods: { handlerClick: function(t) {
462
+ this.colorChange({ hex: t, source: "hex" });
463
+ } } };
464
+ }, function(c, i, e) {
465
+ function n(r) {
466
+ return r && r.__esModule ? r : { default: r };
467
+ }
468
+ Object.defineProperty(i, "__esModule", { value: !0 });
469
+ var o = e(5), a = n(o), t = e(3), f = n(t);
470
+ i.default = { name: "Material", mixins: [f.default], components: { "ed-in": a.default }, methods: { onChange: function(r) {
471
+ r && (r.hex ? this.isValidHex(r.hex) && this.colorChange({ hex: r.hex, source: "hex" }) : (r.r || r.g || r.b) && this.colorChange({ r: r.r || this.colors.rgba.r, g: r.g || this.colors.rgba.g, b: r.b || this.colors.rgba.b, a: r.a || this.colors.rgba.a, source: "rgba" }));
472
+ } } };
473
+ }, function(c, i, e) {
474
+ function n(h) {
475
+ return h && h.__esModule ? h : { default: h };
476
+ }
477
+ Object.defineProperty(i, "__esModule", { value: !0 });
478
+ var o = e(81), a = n(o), t = e(3), f = n(t), r = e(13), s = n(r);
479
+ i.default = { name: "Slider", mixins: [f.default], props: { swatches: { type: Array, default: function() {
480
+ return [{ s: 0.5, l: 0.8 }, { s: 0.5, l: 0.65 }, { s: 0.5, l: 0.5 }, { s: 0.5, l: 0.35 }, { s: 0.5, l: 0.2 }];
481
+ } } }, components: { hue: s.default }, computed: { normalizedSwatches: function() {
482
+ return this.swatches.map(function(h) {
483
+ return (h === void 0 ? "undefined" : (0, a.default)(h)) !== "object" ? { s: 0.5, l: h } : h;
484
+ });
485
+ } }, methods: { isActive: function(h, d) {
486
+ var g = this.colors.hsl;
487
+ return g.l === 1 && h.l === 1 || g.l === 0 && h.l === 0 || Math.abs(g.l - h.l) < 0.01 && Math.abs(g.s - h.s) < 0.01;
488
+ }, hueChange: function(h) {
489
+ this.colorChange(h);
490
+ }, handleSwClick: function(h, d) {
491
+ this.colorChange({ h: this.colors.hsl.h, s: d.s, l: d.l, source: "hsl" });
492
+ } } };
493
+ }, function(c, i, e) {
494
+ var n = e(14), o = e(41), a = e(44), t = e(7), f = e(26), r = e(88), s = e(31), h = e(95), d = e(11)("iterator"), g = !([].keys && "next" in [].keys()), O = function() {
495
+ return this;
496
+ };
497
+ c.exports = function(x, C, _, F, H, W, S) {
498
+ r(_, C, F);
499
+ var j, L, A, v = function(U) {
500
+ if (!g && U in I)
501
+ return I[U];
502
+ switch (U) {
503
+ case "keys":
504
+ case "values":
505
+ return function() {
506
+ return new _(this, U);
507
+ };
508
+ }
509
+ return function() {
510
+ return new _(this, U);
511
+ };
512
+ }, M = C + " Iterator", R = H == "values", D = !1, I = x.prototype, P = I[d] || I["@@iterator"] || H && I[H], q = P || v(H), N = H ? R ? v("entries") : q : void 0, at = C == "Array" && I.entries || P;
513
+ if (at && (A = h(at.call(new x()))) !== Object.prototype && A.next && (s(A, M, !0), n || typeof A[d] == "function" || t(A, d, O)), R && P && P.name !== "values" && (D = !0, q = function() {
514
+ return P.call(this);
515
+ }), n && !S || !g && !D && I[d] || t(I, d, q), f[C] = q, f[M] = O, H)
516
+ if (j = { values: R ? q : v("values"), keys: W ? q : v("keys"), entries: N }, S)
517
+ for (L in j)
518
+ L in I || a(I, L, j[L]);
519
+ else
520
+ o(o.P + o.F * (g || D), C, j);
521
+ return j;
522
+ };
523
+ }, function(c, i, e) {
524
+ var n = e(4), o = e(15), a = e(86), t = e(7), f = e(6), r = function(s, h, d) {
525
+ var g, O, x, C = s & r.F, _ = s & r.G, F = s & r.S, H = s & r.P, W = s & r.B, S = s & r.W, j = _ ? o : o[h] || (o[h] = {}), L = j.prototype, A = _ ? n : F ? n[h] : (n[h] || {}).prototype;
526
+ _ && (d = h);
527
+ for (g in d)
528
+ (O = !C && A && A[g] !== void 0) && f(j, g) || (x = O ? A[g] : d[g], j[g] = _ && typeof A[g] != "function" ? d[g] : W && O ? a(x, n) : S && A[g] == x ? function(v) {
529
+ var M = function(R, D, I) {
530
+ if (this instanceof v) {
531
+ switch (arguments.length) {
532
+ case 0:
533
+ return new v();
534
+ case 1:
535
+ return new v(R);
536
+ case 2:
537
+ return new v(R, D);
538
+ }
539
+ return new v(R, D, I);
540
+ }
541
+ return v.apply(this, arguments);
542
+ };
543
+ return M.prototype = v.prototype, M;
544
+ }(x) : H && typeof x == "function" ? a(Function.call, x) : x, H && ((j.virtual || (j.virtual = {}))[g] = x, s & r.R && L && !L[g] && t(L, g, x)));
545
+ };
546
+ r.F = 1, r.G = 2, r.S = 4, r.P = 8, r.B = 16, r.W = 32, r.U = 64, r.R = 128, c.exports = r;
547
+ }, function(c, i, e) {
548
+ c.exports = !e(9) && !e(17)(function() {
549
+ return Object.defineProperty(e(43)("div"), "a", { get: function() {
550
+ return 7;
551
+ } }).a != 7;
552
+ });
553
+ }, function(c, i, e) {
554
+ var n = e(12), o = e(4).document, a = n(o) && n(o.createElement);
555
+ c.exports = function(t) {
556
+ return a ? o.createElement(t) : {};
557
+ };
558
+ }, function(c, i, e) {
559
+ c.exports = e(7);
560
+ }, function(c, i, e) {
561
+ var n = e(16), o = e(89), a = e(30), t = e(28)("IE_PROTO"), f = function() {
562
+ }, r = function() {
563
+ var s, h = e(43)("iframe"), d = a.length;
564
+ for (h.style.display = "none", e(94).appendChild(h), h.src = "javascript:", s = h.contentWindow.document, s.open(), s.write("<script>document.F=Object<\/script>"), s.close(), r = s.F; d--; )
565
+ delete r.prototype[a[d]];
566
+ return r();
567
+ };
568
+ c.exports = Object.create || function(s, h) {
569
+ var d;
570
+ return s !== null ? (f.prototype = n(s), d = new f(), f.prototype = null, d[t] = s) : d = r(), h === void 0 ? d : o(d, h);
571
+ };
572
+ }, function(c, i, e) {
573
+ var n = e(6), o = e(10), a = e(91)(!1), t = e(28)("IE_PROTO");
574
+ c.exports = function(f, r) {
575
+ var s, h = o(f), d = 0, g = [];
576
+ for (s in h)
577
+ s != t && n(h, s) && g.push(s);
578
+ for (; r.length > d; )
579
+ n(h, s = r[d++]) && (~a(g, s) || g.push(s));
580
+ return g;
581
+ };
582
+ }, function(c, i) {
583
+ var e = {}.toString;
584
+ c.exports = function(n) {
585
+ return e.call(n).slice(8, -1);
586
+ };
587
+ }, function(c, i, e) {
588
+ var n = e(24);
589
+ c.exports = function(o) {
590
+ return Object(n(o));
591
+ };
592
+ }, function(c, i) {
593
+ i.f = Object.getOwnPropertySymbols;
594
+ }, function(c, i, e) {
595
+ var n = e(46), o = e(30).concat("length", "prototype");
596
+ i.f = Object.getOwnPropertyNames || function(a) {
597
+ return n(a, o);
598
+ };
599
+ }, function(c, i, e) {
600
+ Object.defineProperty(i, "__esModule", { value: !0 }), i.default = { name: "Hue", props: { value: Object, direction: { type: String, default: "horizontal" } }, data: function() {
601
+ return { oldHue: 0, pullDirection: "" };
602
+ }, computed: { colors: function() {
603
+ var n = this.value.hsl.h;
604
+ return n !== 0 && n - this.oldHue > 0 && (this.pullDirection = "right"), n !== 0 && n - this.oldHue < 0 && (this.pullDirection = "left"), this.oldHue = n, this.value;
605
+ }, directionClass: function() {
606
+ return { "vc-hue--horizontal": this.direction === "horizontal", "vc-hue--vertical": this.direction === "vertical" };
607
+ }, pointerTop: function() {
608
+ return this.direction === "vertical" ? this.colors.hsl.h === 0 && this.pullDirection === "right" ? 0 : -100 * this.colors.hsl.h / 360 + 100 + "%" : 0;
609
+ }, pointerLeft: function() {
610
+ return this.direction === "vertical" ? 0 : this.colors.hsl.h === 0 && this.pullDirection === "right" ? "100%" : 100 * this.colors.hsl.h / 360 + "%";
611
+ } }, methods: { handleChange: function(n, o) {
612
+ !o && n.preventDefault();
613
+ var a = this.$refs.container;
614
+ if (a) {
615
+ var t, f, r = a.clientWidth, s = a.clientHeight, h = a.getBoundingClientRect().left + window.pageXOffset, d = a.getBoundingClientRect().top + window.pageYOffset, g = n.pageX || (n.touches ? n.touches[0].pageX : 0), O = n.pageY || (n.touches ? n.touches[0].pageY : 0), x = g - h, C = O - d;
616
+ this.direction === "vertical" ? (C < 0 ? t = 360 : C > s ? t = 0 : (f = -100 * C / s + 100, t = 360 * f / 100), this.colors.hsl.h !== t && this.$emit("change", { h: t, s: this.colors.hsl.s, l: this.colors.hsl.l, a: this.colors.hsl.a, source: "hsl" })) : (x < 0 ? t = 0 : x > r ? t = 360 : (f = 100 * x / r, t = 360 * f / 100), this.colors.hsl.h !== t && this.$emit("change", { h: t, s: this.colors.hsl.s, l: this.colors.hsl.l, a: this.colors.hsl.a, source: "hsl" }));
617
+ }
618
+ }, handleMouseDown: function(n) {
619
+ this.handleChange(n, !0), window.addEventListener("mousemove", this.handleChange), window.addEventListener("mouseup", this.handleMouseUp);
620
+ }, handleMouseUp: function(n) {
621
+ this.unbindEventListeners();
622
+ }, unbindEventListeners: function() {
623
+ window.removeEventListener("mousemove", this.handleChange), window.removeEventListener("mouseup", this.handleMouseUp);
624
+ } } };
625
+ }, function(c, i, e) {
626
+ function n(d) {
627
+ return d && d.__esModule ? d : { default: d };
628
+ }
629
+ Object.defineProperty(i, "__esModule", { value: !0 });
630
+ var o = e(118), a = n(o), t = e(3), f = n(t), r = ["red", "pink", "purple", "deepPurple", "indigo", "blue", "lightBlue", "cyan", "teal", "green", "lightGreen", "lime", "yellow", "amber", "orange", "deepOrange", "brown", "blueGrey", "black"], s = ["900", "700", "500", "300", "100"], h = function() {
631
+ var d = [];
632
+ return r.forEach(function(g) {
633
+ var O = [];
634
+ g.toLowerCase() === "black" || g.toLowerCase() === "white" ? O = O.concat(["#000000", "#FFFFFF"]) : s.forEach(function(x) {
635
+ var C = a.default[g][x];
636
+ O.push(C.toUpperCase());
637
+ }), d.push(O);
638
+ }), d;
639
+ }();
640
+ i.default = { name: "Swatches", mixins: [f.default], props: { palette: { type: Array, default: function() {
641
+ return h;
642
+ } } }, computed: { pick: function() {
643
+ return this.colors.hex;
644
+ } }, methods: { equal: function(d) {
645
+ return d.toLowerCase() === this.colors.hex.toLowerCase();
646
+ }, handlerClick: function(d) {
647
+ this.colorChange({ hex: d, source: "hex" });
648
+ } } };
649
+ }, function(c, i, e) {
650
+ function n(x) {
651
+ return x && x.__esModule ? x : { default: x };
652
+ }
653
+ Object.defineProperty(i, "__esModule", { value: !0 });
654
+ var o = e(3), a = n(o), t = e(5), f = n(t), r = e(20), s = n(r), h = e(13), d = n(h), g = e(21), O = n(g);
655
+ i.default = { name: "Photoshop", mixins: [a.default], props: { head: { type: String, default: "Color Picker" }, disableFields: { type: Boolean, default: !1 }, hasResetButton: { type: Boolean, default: !1 }, acceptLabel: { type: String, default: "OK" }, cancelLabel: { type: String, default: "Cancel" }, resetLabel: { type: String, default: "Reset" }, newLabel: { type: String, default: "new" }, currentLabel: { type: String, default: "current" } }, components: { saturation: s.default, hue: d.default, alpha: O.default, "ed-in": f.default }, data: function() {
656
+ return { currentColor: "#FFF" };
657
+ }, computed: { hsv: function() {
658
+ var x = this.colors.hsv;
659
+ return { h: x.h.toFixed(), s: (100 * x.s).toFixed(), v: (100 * x.v).toFixed() };
660
+ }, hex: function() {
661
+ var x = this.colors.hex;
662
+ return x && x.replace("#", "");
663
+ } }, created: function() {
664
+ this.currentColor = this.colors.hex;
665
+ }, methods: { childChange: function(x) {
666
+ this.colorChange(x);
667
+ }, inputChange: function(x) {
668
+ x && (x["#"] ? this.isValidHex(x["#"]) && this.colorChange({ hex: x["#"], source: "hex" }) : x.r || x.g || x.b || x.a ? this.colorChange({ r: x.r || this.colors.rgba.r, g: x.g || this.colors.rgba.g, b: x.b || this.colors.rgba.b, a: x.a || this.colors.rgba.a, source: "rgba" }) : (x.h || x.s || x.v) && this.colorChange({ h: x.h || this.colors.hsv.h, s: x.s / 100 || this.colors.hsv.s, v: x.v / 100 || this.colors.hsv.v, source: "hsv" }));
669
+ }, clickCurrentColor: function() {
670
+ this.colorChange({ hex: this.currentColor, source: "hex" });
671
+ }, handleAccept: function() {
672
+ this.$emit("ok");
673
+ }, handleCancel: function() {
674
+ this.$emit("cancel");
675
+ }, handleReset: function() {
676
+ this.$emit("reset");
677
+ } } };
678
+ }, function(c, i, e) {
679
+ function n(r) {
680
+ return r && r.__esModule ? r : { default: r };
681
+ }
682
+ Object.defineProperty(i, "__esModule", { value: !0 });
683
+ var o = e(125), a = n(o), t = e(126), f = n(t);
684
+ i.default = { name: "Saturation", props: { value: Object }, computed: { colors: function() {
685
+ return this.value;
686
+ }, bgColor: function() {
687
+ return "hsl(" + this.colors.hsv.h + ", 100%, 50%)";
688
+ }, pointerTop: function() {
689
+ return -100 * this.colors.hsv.v + 1 + 100 + "%";
690
+ }, pointerLeft: function() {
691
+ return 100 * this.colors.hsv.s + "%";
692
+ } }, methods: { throttle: (0, f.default)(function(r, s) {
693
+ r(s);
694
+ }, 20, { leading: !0, trailing: !1 }), handleChange: function(r, s) {
695
+ !s && r.preventDefault();
696
+ var h = this.$refs.container;
697
+ if (h) {
698
+ var d = h.clientWidth, g = h.clientHeight, O = h.getBoundingClientRect().left + window.pageXOffset, x = h.getBoundingClientRect().top + window.pageYOffset, C = r.pageX || (r.touches ? r.touches[0].pageX : 0), _ = r.pageY || (r.touches ? r.touches[0].pageY : 0), F = (0, a.default)(C - O, 0, d), H = (0, a.default)(_ - x, 0, g), W = F / d, S = (0, a.default)(-H / g + 1, 0, 1);
699
+ this.throttle(this.onChange, { h: this.colors.hsv.h, s: W, v: S, a: this.colors.hsv.a, source: "hsva" });
700
+ }
701
+ }, onChange: function(r) {
702
+ this.$emit("change", r);
703
+ }, handleMouseDown: function(r) {
704
+ window.addEventListener("mousemove", this.handleChange), window.addEventListener("mouseup", this.handleChange), window.addEventListener("mouseup", this.handleMouseUp);
705
+ }, handleMouseUp: function(r) {
706
+ this.unbindEventListeners();
707
+ }, unbindEventListeners: function() {
708
+ window.removeEventListener("mousemove", this.handleChange), window.removeEventListener("mouseup", this.handleChange), window.removeEventListener("mouseup", this.handleMouseUp);
709
+ } } };
710
+ }, function(c, i, e) {
711
+ Object.defineProperty(i, "__esModule", { value: !0 });
712
+ var n = e(22), o = function(a) {
713
+ return a && a.__esModule ? a : { default: a };
714
+ }(n);
715
+ i.default = { name: "Alpha", props: { value: Object, onChange: Function }, components: { checkboard: o.default }, computed: { colors: function() {
716
+ return this.value;
717
+ }, gradientColor: function() {
718
+ var a = this.colors.rgba, t = [a.r, a.g, a.b].join(",");
719
+ return "linear-gradient(to right, rgba(" + t + ", 0) 0%, rgba(" + t + ", 1) 100%)";
720
+ } }, methods: { handleChange: function(a, t) {
721
+ !t && a.preventDefault();
722
+ var f = this.$refs.container;
723
+ if (f) {
724
+ var r, s = f.clientWidth, h = f.getBoundingClientRect().left + window.pageXOffset, d = a.pageX || (a.touches ? a.touches[0].pageX : 0), g = d - h;
725
+ r = g < 0 ? 0 : g > s ? 1 : Math.round(100 * g / s) / 100, this.colors.a !== r && this.$emit("change", { h: this.colors.hsl.h, s: this.colors.hsl.s, l: this.colors.hsl.l, a: r, source: "rgba" });
726
+ }
727
+ }, handleMouseDown: function(a) {
728
+ this.handleChange(a, !0), window.addEventListener("mousemove", this.handleChange), window.addEventListener("mouseup", this.handleMouseUp);
729
+ }, handleMouseUp: function() {
730
+ this.unbindEventListeners();
731
+ }, unbindEventListeners: function() {
732
+ window.removeEventListener("mousemove", this.handleChange), window.removeEventListener("mouseup", this.handleMouseUp);
733
+ } } };
734
+ }, function(c, i, e) {
735
+ function n(t, f, r) {
736
+ if (typeof document > "u")
737
+ return null;
738
+ var s = document.createElement("canvas");
739
+ s.width = s.height = 2 * r;
740
+ var h = s.getContext("2d");
741
+ return h ? (h.fillStyle = t, h.fillRect(0, 0, s.width, s.height), h.fillStyle = f, h.fillRect(0, 0, r, r), h.translate(r, r), h.fillRect(0, 0, r, r), s.toDataURL()) : null;
742
+ }
743
+ function o(t, f, r) {
744
+ var s = t + "," + f + "," + r;
745
+ if (a[s])
746
+ return a[s];
747
+ var h = n(t, f, r);
748
+ return a[s] = h, h;
749
+ }
750
+ Object.defineProperty(i, "__esModule", { value: !0 });
751
+ var a = {};
752
+ i.default = { name: "Checkboard", props: { size: { type: [Number, String], default: 8 }, white: { type: String, default: "#fff" }, grey: { type: String, default: "#e6e6e6" } }, computed: { bgStyle: function() {
753
+ return { "background-image": "url(" + o(this.white, this.grey, this.size) + ")" };
754
+ } } };
755
+ }, function(c, i, e) {
756
+ function n(F) {
757
+ return F && F.__esModule ? F : { default: F };
758
+ }
759
+ Object.defineProperty(i, "__esModule", { value: !0 });
760
+ var o = e(3), a = n(o), t = e(5), f = n(t), r = e(20), s = n(r), h = e(13), d = n(h), g = e(21), O = n(g), x = e(22), C = n(x), _ = ["#D0021B", "#F5A623", "#F8E71C", "#8B572A", "#7ED321", "#417505", "#BD10E0", "#9013FE", "#4A90E2", "#50E3C2", "#B8E986", "#000000", "#4A4A4A", "#9B9B9B", "#FFFFFF", "rgba(0,0,0,0)"];
761
+ i.default = { name: "Sketch", mixins: [a.default], components: { saturation: s.default, hue: d.default, alpha: O.default, "ed-in": f.default, checkboard: C.default }, props: { presetColors: { type: Array, default: function() {
762
+ return _;
763
+ } }, disableAlpha: { type: Boolean, default: !1 }, disableFields: { type: Boolean, default: !1 } }, computed: { hex: function() {
764
+ var F = void 0;
765
+ return F = this.colors.a < 1 ? this.colors.hex8 : this.colors.hex, F.replace("#", "");
766
+ }, activeColor: function() {
767
+ var F = this.colors.rgba;
768
+ return "rgba(" + [F.r, F.g, F.b, F.a].join(",") + ")";
769
+ } }, methods: { handlePreset: function(F) {
770
+ this.colorChange({ hex: F, source: "hex" });
771
+ }, childChange: function(F) {
772
+ this.colorChange(F);
773
+ }, inputChange: function(F) {
774
+ F && (F.hex ? this.isValidHex(F.hex) && this.colorChange({ hex: F.hex, source: "hex" }) : (F.r || F.g || F.b || F.a) && this.colorChange({ r: F.r || this.colors.rgba.r, g: F.g || this.colors.rgba.g, b: F.b || this.colors.rgba.b, a: F.a || this.colors.rgba.a, source: "rgba" }));
775
+ } } };
776
+ }, function(c, i, e) {
777
+ function n(_) {
778
+ return _ && _.__esModule ? _ : { default: _ };
779
+ }
780
+ Object.defineProperty(i, "__esModule", { value: !0 });
781
+ var o = e(3), a = n(o), t = e(5), f = n(t), r = e(20), s = n(r), h = e(13), d = n(h), g = e(21), O = n(g), x = e(22), C = n(x);
782
+ i.default = { name: "Chrome", mixins: [a.default], props: { disableAlpha: { type: Boolean, default: !1 }, disableFields: { type: Boolean, default: !1 } }, components: { saturation: s.default, hue: d.default, alpha: O.default, "ed-in": f.default, checkboard: C.default }, data: function() {
783
+ return { fieldsIndex: 0, highlight: !1 };
784
+ }, computed: { hsl: function() {
785
+ var _ = this.colors.hsl, F = _.h, H = _.s, W = _.l;
786
+ return { h: F.toFixed(), s: (100 * H).toFixed() + "%", l: (100 * W).toFixed() + "%" };
787
+ }, activeColor: function() {
788
+ var _ = this.colors.rgba;
789
+ return "rgba(" + [_.r, _.g, _.b, _.a].join(",") + ")";
790
+ }, hasAlpha: function() {
791
+ return this.colors.a < 1;
792
+ } }, methods: { childChange: function(_) {
793
+ this.colorChange(_);
794
+ }, inputChange: function(_) {
795
+ if (_) {
796
+ if (_.hex)
797
+ this.isValidHex(_.hex) && this.colorChange({ hex: _.hex, source: "hex" });
798
+ else if (_.r || _.g || _.b || _.a)
799
+ this.colorChange({ r: _.r || this.colors.rgba.r, g: _.g || this.colors.rgba.g, b: _.b || this.colors.rgba.b, a: _.a || this.colors.rgba.a, source: "rgba" });
800
+ else if (_.h || _.s || _.l) {
801
+ var F = _.s ? _.s.replace("%", "") / 100 : this.colors.hsl.s, H = _.l ? _.l.replace("%", "") / 100 : this.colors.hsl.l;
802
+ this.colorChange({ h: _.h || this.colors.hsl.h, s: F, l: H, source: "hsl" });
803
+ }
804
+ }
805
+ }, toggleViews: function() {
806
+ if (this.fieldsIndex >= 2)
807
+ return void (this.fieldsIndex = 0);
808
+ this.fieldsIndex++;
809
+ }, showHighlight: function() {
810
+ this.highlight = !0;
811
+ }, hideHighlight: function() {
812
+ this.highlight = !1;
813
+ } } };
814
+ }, function(c, i, e) {
815
+ function n(s) {
816
+ return s && s.__esModule ? s : { default: s };
817
+ }
818
+ Object.defineProperty(i, "__esModule", { value: !0 });
819
+ var o = e(5), a = n(o), t = e(3), f = n(t), r = ["#FF6900", "#FCB900", "#7BDCB5", "#00D084", "#8ED1FC", "#0693E3", "#ABB8C3", "#EB144C", "#F78DA7", "#9900EF"];
820
+ i.default = { name: "Twitter", mixins: [f.default], components: { editableInput: a.default }, props: { width: { type: [String, Number], default: 276 }, defaultColors: { type: Array, default: function() {
821
+ return r;
822
+ } }, triangle: { default: "top-left", validator: function(s) {
823
+ return ["hide", "top-left", "top-right"].includes(s);
824
+ } } }, computed: { hsv: function() {
825
+ var s = this.colors.hsv;
826
+ return { h: s.h.toFixed(), s: (100 * s.s).toFixed(), v: (100 * s.v).toFixed() };
827
+ }, hex: function() {
828
+ var s = this.colors.hex;
829
+ return s && s.replace("#", "");
830
+ } }, methods: { equal: function(s) {
831
+ return s.toLowerCase() === this.colors.hex.toLowerCase();
832
+ }, handlerClick: function(s) {
833
+ this.colorChange({ hex: s, source: "hex" });
834
+ }, inputChange: function(s) {
835
+ s && (s["#"] ? this.isValidHex(s["#"]) && this.colorChange({ hex: s["#"], source: "hex" }) : s.r || s.g || s.b || s.a ? this.colorChange({ r: s.r || this.colors.rgba.r, g: s.g || this.colors.rgba.g, b: s.b || this.colors.rgba.b, a: s.a || this.colors.rgba.a, source: "rgba" }) : (s.h || s.s || s.v) && this.colorChange({ h: s.h || this.colors.hsv.h, s: s.s / 100 || this.colors.hsv.s, v: s.v / 100 || this.colors.hsv.v, source: "hsv" }));
836
+ } } };
837
+ }, function(c, i, e) {
838
+ function n(K) {
839
+ return K && K.__esModule ? K : { default: K };
840
+ }
841
+ var o = e(61), a = n(o), t = e(70), f = n(t), r = e(74), s = n(r), h = e(78), d = n(h), g = e(115), O = n(g), x = e(120), C = n(x), _ = e(135), F = n(_), H = e(139), W = n(H), S = e(143), j = n(S), L = e(21), A = n(L), v = e(22), M = n(v), R = e(5), D = n(R), I = e(13), P = n(I), q = e(20), N = n(q), at = e(3), U = n(at), Y = { version: "2.8.1", Compact: a.default, Grayscale: f.default, Twitter: j.default, Material: s.default, Slider: d.default, Swatches: O.default, Photoshop: C.default, Sketch: F.default, Chrome: W.default, Alpha: A.default, Checkboard: M.default, EditableInput: D.default, Hue: P.default, Saturation: N.default, ColorMixin: U.default };
842
+ c.exports = Y;
843
+ }, function(c, i, e) {
844
+ function n(d) {
845
+ e(62);
846
+ }
847
+ Object.defineProperty(i, "__esModule", { value: !0 });
848
+ var o = e(35), a = e.n(o);
849
+ for (var t in o)
850
+ t !== "default" && function(d) {
851
+ e.d(i, d, function() {
852
+ return o[d];
853
+ });
854
+ }(t);
855
+ var f = e(69), r = e(2), s = n, h = r(a.a, f.a, !1, s, null, null);
856
+ h.options.__file = "src/components/Compact.vue", i.default = h.exports;
857
+ }, function(c, i, e) {
858
+ var n = e(63);
859
+ typeof n == "string" && (n = [[c.i, n, ""]]), n.locals && (c.exports = n.locals), e(1)("6ce8a5a8", n, !1, {});
860
+ }, function(c, i, e) {
861
+ i = c.exports = e(0)(!1), i.push([c.i, `
862
+ .vc-compact {
863
+ padding-top: 5px;
864
+ padding-left: 5px;
865
+ width: 245px;
866
+ border-radius: 2px;
867
+ box-sizing: border-box;
868
+ box-shadow: 0 2px 10px rgba(0,0,0,.12), 0 2px 5px rgba(0,0,0,.16);
869
+ background-color: #fff;
870
+ }
871
+ .vc-compact-colors {
872
+ overflow: hidden;
873
+ padding: 0;
874
+ margin: 0;
875
+ }
876
+ .vc-compact-color-item {
877
+ list-style: none;
878
+ width: 15px;
879
+ height: 15px;
880
+ float: left;
881
+ margin-right: 5px;
882
+ margin-bottom: 5px;
883
+ position: relative;
884
+ cursor: pointer;
885
+ }
886
+ .vc-compact-color-item--white {
887
+ box-shadow: inset 0 0 0 1px #ddd;
888
+ }
889
+ .vc-compact-color-item--white .vc-compact-dot {
890
+ background: #000;
891
+ }
892
+ .vc-compact-dot {
893
+ position: absolute;
894
+ top: 5px;
895
+ right: 5px;
896
+ bottom: 5px;
897
+ left: 5px;
898
+ border-radius: 50%;
899
+ opacity: 1;
900
+ background: #fff;
901
+ }
902
+ `, ""]);
903
+ }, function(c, i) {
904
+ c.exports = function(e, n) {
905
+ for (var o = [], a = {}, t = 0; t < n.length; t++) {
906
+ var f = n[t], r = f[0], s = f[1], h = f[2], d = f[3], g = { id: e + ":" + t, css: s, media: h, sourceMap: d };
907
+ a[r] ? a[r].parts.push(g) : o.push(a[r] = { id: r, parts: [g] });
908
+ }
909
+ return o;
910
+ };
911
+ }, function(c, i, e) {
912
+ var n;
913
+ (function(o) {
914
+ function a(l, p) {
915
+ if (l = l || "", p = p || {}, l instanceof a)
916
+ return l;
917
+ if (!(this instanceof a))
918
+ return new a(l, p);
919
+ var u = t(l);
920
+ this._originalInput = l, this._r = u.r, this._g = u.g, this._b = u.b, this._a = u.a, this._roundA = E(100 * this._a) / 100, this._format = p.format || u.format, this._gradientType = p.gradientType, this._r < 1 && (this._r = E(this._r)), this._g < 1 && (this._g = E(this._g)), this._b < 1 && (this._b = E(this._b)), this._ok = u.ok, this._tc_id = lt++;
921
+ }
922
+ function t(l) {
923
+ var p = { r: 0, g: 0, b: 0 }, u = 1, b = null, k = null, w = null, T = !1, $ = !1;
924
+ return typeof l == "string" && (l = ot(l)), typeof l == "object" && (tt(l.r) && tt(l.g) && tt(l.b) ? (p = f(l.r, l.g, l.b), T = !0, $ = String(l.r).substr(-1) === "%" ? "prgb" : "rgb") : tt(l.h) && tt(l.s) && tt(l.v) ? (b = K(l.s), k = K(l.v), p = d(l.h, b, k), T = !0, $ = "hsv") : tt(l.h) && tt(l.s) && tt(l.l) && (b = K(l.s), w = K(l.l), p = s(l.h, b, w), T = !0, $ = "hsl"), l.hasOwnProperty("a") && (u = l.a)), u = I(u), { ok: T, format: l.format || $, r: Z(255, B(p.r, 0)), g: Z(255, B(p.g, 0)), b: Z(255, B(p.b, 0)), a: u };
925
+ }
926
+ function f(l, p, u) {
927
+ return { r: 255 * P(l, 255), g: 255 * P(p, 255), b: 255 * P(u, 255) };
928
+ }
929
+ function r(l, p, u) {
930
+ l = P(l, 255), p = P(p, 255), u = P(u, 255);
931
+ var b, k, w = B(l, p, u), T = Z(l, p, u), $ = (w + T) / 2;
932
+ if (w == T)
933
+ b = k = 0;
934
+ else {
935
+ var V = w - T;
936
+ switch (k = $ > 0.5 ? V / (2 - w - T) : V / (w + T), w) {
937
+ case l:
938
+ b = (p - u) / V + (p < u ? 6 : 0);
939
+ break;
940
+ case p:
941
+ b = (u - l) / V + 2;
942
+ break;
943
+ case u:
944
+ b = (l - p) / V + 4;
945
+ }
946
+ b /= 6;
947
+ }
948
+ return { h: b, s: k, l: $ };
949
+ }
950
+ function s(l, p, u) {
951
+ function b(st, m, y) {
952
+ return y < 0 && (y += 1), y > 1 && (y -= 1), y < 1 / 6 ? st + 6 * (m - st) * y : y < 0.5 ? m : y < 2 / 3 ? st + (m - st) * (2 / 3 - y) * 6 : st;
953
+ }
954
+ var k, w, T;
955
+ if (l = P(l, 360), p = P(p, 100), u = P(u, 100), p === 0)
956
+ k = w = T = u;
957
+ else {
958
+ var $ = u < 0.5 ? u * (1 + p) : u + p - u * p, V = 2 * u - $;
959
+ k = b(V, $, l + 1 / 3), w = b(V, $, l), T = b(V, $, l - 1 / 3);
960
+ }
961
+ return { r: 255 * k, g: 255 * w, b: 255 * T };
962
+ }
963
+ function h(l, p, u) {
964
+ l = P(l, 255), p = P(p, 255), u = P(u, 255);
965
+ var b, k, w = B(l, p, u), T = Z(l, p, u), $ = w, V = w - T;
966
+ if (k = w === 0 ? 0 : V / w, w == T)
967
+ b = 0;
968
+ else {
969
+ switch (w) {
970
+ case l:
971
+ b = (p - u) / V + (p < u ? 6 : 0);
972
+ break;
973
+ case p:
974
+ b = (u - l) / V + 2;
975
+ break;
976
+ case u:
977
+ b = (l - p) / V + 4;
978
+ }
979
+ b /= 6;
980
+ }
981
+ return { h: b, s: k, v: $ };
982
+ }
983
+ function d(l, p, u) {
984
+ l = 6 * P(l, 360), p = P(p, 100), u = P(u, 100);
985
+ var b = o.floor(l), k = l - b, w = u * (1 - p), T = u * (1 - k * p), $ = u * (1 - (1 - k) * p), V = b % 6;
986
+ return { r: 255 * [u, T, w, w, $, u][V], g: 255 * [$, u, u, T, w, w][V], b: 255 * [w, w, $, u, u, T][V] };
987
+ }
988
+ function g(l, p, u, b) {
989
+ var k = [Y(E(l).toString(16)), Y(E(p).toString(16)), Y(E(u).toString(16))];
990
+ return b && k[0].charAt(0) == k[0].charAt(1) && k[1].charAt(0) == k[1].charAt(1) && k[2].charAt(0) == k[2].charAt(1) ? k[0].charAt(0) + k[1].charAt(0) + k[2].charAt(0) : k.join("");
991
+ }
992
+ function O(l, p, u, b, k) {
993
+ var w = [Y(E(l).toString(16)), Y(E(p).toString(16)), Y(E(u).toString(16)), Y(G(b))];
994
+ return k && w[0].charAt(0) == w[0].charAt(1) && w[1].charAt(0) == w[1].charAt(1) && w[2].charAt(0) == w[2].charAt(1) && w[3].charAt(0) == w[3].charAt(1) ? w[0].charAt(0) + w[1].charAt(0) + w[2].charAt(0) + w[3].charAt(0) : w.join("");
995
+ }
996
+ function x(l, p, u, b) {
997
+ return [Y(G(b)), Y(E(l).toString(16)), Y(E(p).toString(16)), Y(E(u).toString(16))].join("");
998
+ }
999
+ function C(l, p) {
1000
+ p = p === 0 ? 0 : p || 10;
1001
+ var u = a(l).toHsl();
1002
+ return u.s -= p / 100, u.s = q(u.s), a(u);
1003
+ }
1004
+ function _(l, p) {
1005
+ p = p === 0 ? 0 : p || 10;
1006
+ var u = a(l).toHsl();
1007
+ return u.s += p / 100, u.s = q(u.s), a(u);
1008
+ }
1009
+ function F(l) {
1010
+ return a(l).desaturate(100);
1011
+ }
1012
+ function H(l, p) {
1013
+ p = p === 0 ? 0 : p || 10;
1014
+ var u = a(l).toHsl();
1015
+ return u.l += p / 100, u.l = q(u.l), a(u);
1016
+ }
1017
+ function W(l, p) {
1018
+ p = p === 0 ? 0 : p || 10;
1019
+ var u = a(l).toRgb();
1020
+ return u.r = B(0, Z(255, u.r - E(-p / 100 * 255))), u.g = B(0, Z(255, u.g - E(-p / 100 * 255))), u.b = B(0, Z(255, u.b - E(-p / 100 * 255))), a(u);
1021
+ }
1022
+ function S(l, p) {
1023
+ p = p === 0 ? 0 : p || 10;
1024
+ var u = a(l).toHsl();
1025
+ return u.l -= p / 100, u.l = q(u.l), a(u);
1026
+ }
1027
+ function j(l, p) {
1028
+ var u = a(l).toHsl(), b = (u.h + p) % 360;
1029
+ return u.h = b < 0 ? 360 + b : b, a(u);
1030
+ }
1031
+ function L(l) {
1032
+ var p = a(l).toHsl();
1033
+ return p.h = (p.h + 180) % 360, a(p);
1034
+ }
1035
+ function A(l) {
1036
+ var p = a(l).toHsl(), u = p.h;
1037
+ return [a(l), a({ h: (u + 120) % 360, s: p.s, l: p.l }), a({ h: (u + 240) % 360, s: p.s, l: p.l })];
1038
+ }
1039
+ function v(l) {
1040
+ var p = a(l).toHsl(), u = p.h;
1041
+ return [a(l), a({ h: (u + 90) % 360, s: p.s, l: p.l }), a({ h: (u + 180) % 360, s: p.s, l: p.l }), a({ h: (u + 270) % 360, s: p.s, l: p.l })];
1042
+ }
1043
+ function M(l) {
1044
+ var p = a(l).toHsl(), u = p.h;
1045
+ return [a(l), a({ h: (u + 72) % 360, s: p.s, l: p.l }), a({ h: (u + 216) % 360, s: p.s, l: p.l })];
1046
+ }
1047
+ function R(l, p, u) {
1048
+ p = p || 6, u = u || 30;
1049
+ var b = a(l).toHsl(), k = 360 / u, w = [a(l)];
1050
+ for (b.h = (b.h - (k * p >> 1) + 720) % 360; --p; )
1051
+ b.h = (b.h + k) % 360, w.push(a(b));
1052
+ return w;
1053
+ }
1054
+ function D(l, p) {
1055
+ p = p || 6;
1056
+ for (var u = a(l).toHsv(), b = u.h, k = u.s, w = u.v, T = [], $ = 1 / p; p--; )
1057
+ T.push(a({ h: b, s: k, v: w })), w = (w + $) % 1;
1058
+ return T;
1059
+ }
1060
+ function I(l) {
1061
+ return l = parseFloat(l), (isNaN(l) || l < 0 || l > 1) && (l = 1), l;
1062
+ }
1063
+ function P(l, p) {
1064
+ at(l) && (l = "100%");
1065
+ var u = U(l);
1066
+ return l = Z(p, B(0, parseFloat(l))), u && (l = parseInt(l * p, 10) / 100), o.abs(l - p) < 1e-6 ? 1 : l % p / parseFloat(p);
1067
+ }
1068
+ function q(l) {
1069
+ return Z(1, B(0, l));
1070
+ }
1071
+ function N(l) {
1072
+ return parseInt(l, 16);
1073
+ }
1074
+ function at(l) {
1075
+ return typeof l == "string" && l.indexOf(".") != -1 && parseFloat(l) === 1;
1076
+ }
1077
+ function U(l) {
1078
+ return typeof l == "string" && l.indexOf("%") != -1;
1079
+ }
1080
+ function Y(l) {
1081
+ return l.length == 1 ? "0" + l : "" + l;
1082
+ }
1083
+ function K(l) {
1084
+ return l <= 1 && (l = 100 * l + "%"), l;
1085
+ }
1086
+ function G(l) {
1087
+ return o.round(255 * parseFloat(l)).toString(16);
1088
+ }
1089
+ function ct(l) {
1090
+ return N(l) / 255;
1091
+ }
1092
+ function tt(l) {
1093
+ return !!rt.CSS_UNIT.exec(l);
1094
+ }
1095
+ function ot(l) {
1096
+ l = l.replace(et, "").replace(J, "").toLowerCase();
1097
+ var p = !1;
1098
+ if (it[l])
1099
+ l = it[l], p = !0;
1100
+ else if (l == "transparent")
1101
+ return { r: 0, g: 0, b: 0, a: 0, format: "name" };
1102
+ var u;
1103
+ return (u = rt.rgb.exec(l)) ? { r: u[1], g: u[2], b: u[3] } : (u = rt.rgba.exec(l)) ? { r: u[1], g: u[2], b: u[3], a: u[4] } : (u = rt.hsl.exec(l)) ? { h: u[1], s: u[2], l: u[3] } : (u = rt.hsla.exec(l)) ? { h: u[1], s: u[2], l: u[3], a: u[4] } : (u = rt.hsv.exec(l)) ? { h: u[1], s: u[2], v: u[3] } : (u = rt.hsva.exec(l)) ? { h: u[1], s: u[2], v: u[3], a: u[4] } : (u = rt.hex8.exec(l)) ? { r: N(u[1]), g: N(u[2]), b: N(u[3]), a: ct(u[4]), format: p ? "name" : "hex8" } : (u = rt.hex6.exec(l)) ? { r: N(u[1]), g: N(u[2]), b: N(u[3]), format: p ? "name" : "hex" } : (u = rt.hex4.exec(l)) ? { r: N(u[1] + "" + u[1]), g: N(u[2] + "" + u[2]), b: N(u[3] + "" + u[3]), a: ct(u[4] + "" + u[4]), format: p ? "name" : "hex8" } : !!(u = rt.hex3.exec(l)) && { r: N(u[1] + "" + u[1]), g: N(u[2] + "" + u[2]), b: N(u[3] + "" + u[3]), format: p ? "name" : "hex" };
1104
+ }
1105
+ function X(l) {
1106
+ var p, u;
1107
+ return l = l || { level: "AA", size: "small" }, p = (l.level || "AA").toUpperCase(), u = (l.size || "small").toLowerCase(), p !== "AA" && p !== "AAA" && (p = "AA"), u !== "small" && u !== "large" && (u = "small"), { level: p, size: u };
1108
+ }
1109
+ var et = /^\s+/, J = /\s+$/, lt = 0, E = o.round, Z = o.min, B = o.max, nt = o.random;
1110
+ a.prototype = { isDark: function() {
1111
+ return this.getBrightness() < 128;
1112
+ }, isLight: function() {
1113
+ return !this.isDark();
1114
+ }, isValid: function() {
1115
+ return this._ok;
1116
+ }, getOriginalInput: function() {
1117
+ return this._originalInput;
1118
+ }, getFormat: function() {
1119
+ return this._format;
1120
+ }, getAlpha: function() {
1121
+ return this._a;
1122
+ }, getBrightness: function() {
1123
+ var l = this.toRgb();
1124
+ return (299 * l.r + 587 * l.g + 114 * l.b) / 1e3;
1125
+ }, getLuminance: function() {
1126
+ var l, p, u, b, k, w, T = this.toRgb();
1127
+ return l = T.r / 255, p = T.g / 255, u = T.b / 255, b = l <= 0.03928 ? l / 12.92 : o.pow((l + 0.055) / 1.055, 2.4), k = p <= 0.03928 ? p / 12.92 : o.pow((p + 0.055) / 1.055, 2.4), w = u <= 0.03928 ? u / 12.92 : o.pow((u + 0.055) / 1.055, 2.4), 0.2126 * b + 0.7152 * k + 0.0722 * w;
1128
+ }, setAlpha: function(l) {
1129
+ return this._a = I(l), this._roundA = E(100 * this._a) / 100, this;
1130
+ }, toHsv: function() {
1131
+ var l = h(this._r, this._g, this._b);
1132
+ return { h: 360 * l.h, s: l.s, v: l.v, a: this._a };
1133
+ }, toHsvString: function() {
1134
+ var l = h(this._r, this._g, this._b), p = E(360 * l.h), u = E(100 * l.s), b = E(100 * l.v);
1135
+ return this._a == 1 ? "hsv(" + p + ", " + u + "%, " + b + "%)" : "hsva(" + p + ", " + u + "%, " + b + "%, " + this._roundA + ")";
1136
+ }, toHsl: function() {
1137
+ var l = r(this._r, this._g, this._b);
1138
+ return { h: 360 * l.h, s: l.s, l: l.l, a: this._a };
1139
+ }, toHslString: function() {
1140
+ var l = r(this._r, this._g, this._b), p = E(360 * l.h), u = E(100 * l.s), b = E(100 * l.l);
1141
+ return this._a == 1 ? "hsl(" + p + ", " + u + "%, " + b + "%)" : "hsla(" + p + ", " + u + "%, " + b + "%, " + this._roundA + ")";
1142
+ }, toHex: function(l) {
1143
+ return g(this._r, this._g, this._b, l);
1144
+ }, toHexString: function(l) {
1145
+ return "#" + this.toHex(l);
1146
+ }, toHex8: function(l) {
1147
+ return O(this._r, this._g, this._b, this._a, l);
1148
+ }, toHex8String: function(l) {
1149
+ return "#" + this.toHex8(l);
1150
+ }, toRgb: function() {
1151
+ return { r: E(this._r), g: E(this._g), b: E(this._b), a: this._a };
1152
+ }, toRgbString: function() {
1153
+ return this._a == 1 ? "rgb(" + E(this._r) + ", " + E(this._g) + ", " + E(this._b) + ")" : "rgba(" + E(this._r) + ", " + E(this._g) + ", " + E(this._b) + ", " + this._roundA + ")";
1154
+ }, toPercentageRgb: function() {
1155
+ return { r: E(100 * P(this._r, 255)) + "%", g: E(100 * P(this._g, 255)) + "%", b: E(100 * P(this._b, 255)) + "%", a: this._a };
1156
+ }, toPercentageRgbString: function() {
1157
+ return this._a == 1 ? "rgb(" + E(100 * P(this._r, 255)) + "%, " + E(100 * P(this._g, 255)) + "%, " + E(100 * P(this._b, 255)) + "%)" : "rgba(" + E(100 * P(this._r, 255)) + "%, " + E(100 * P(this._g, 255)) + "%, " + E(100 * P(this._b, 255)) + "%, " + this._roundA + ")";
1158
+ }, toName: function() {
1159
+ return this._a === 0 ? "transparent" : !(this._a < 1) && (ft[g(this._r, this._g, this._b, !0)] || !1);
1160
+ }, toFilter: function(l) {
1161
+ var p = "#" + x(this._r, this._g, this._b, this._a), u = p, b = this._gradientType ? "GradientType = 1, " : "";
1162
+ if (l) {
1163
+ var k = a(l);
1164
+ u = "#" + x(k._r, k._g, k._b, k._a);
1165
+ }
1166
+ return "progid:DXImageTransform.Microsoft.gradient(" + b + "startColorstr=" + p + ",endColorstr=" + u + ")";
1167
+ }, toString: function(l) {
1168
+ var p = !!l;
1169
+ l = l || this._format;
1170
+ var u = !1, b = this._a < 1 && this._a >= 0;
1171
+ return p || !b || l !== "hex" && l !== "hex6" && l !== "hex3" && l !== "hex4" && l !== "hex8" && l !== "name" ? (l === "rgb" && (u = this.toRgbString()), l === "prgb" && (u = this.toPercentageRgbString()), l !== "hex" && l !== "hex6" || (u = this.toHexString()), l === "hex3" && (u = this.toHexString(!0)), l === "hex4" && (u = this.toHex8String(!0)), l === "hex8" && (u = this.toHex8String()), l === "name" && (u = this.toName()), l === "hsl" && (u = this.toHslString()), l === "hsv" && (u = this.toHsvString()), u || this.toHexString()) : l === "name" && this._a === 0 ? this.toName() : this.toRgbString();
1172
+ }, clone: function() {
1173
+ return a(this.toString());
1174
+ }, _applyModification: function(l, p) {
1175
+ var u = l.apply(null, [this].concat([].slice.call(p)));
1176
+ return this._r = u._r, this._g = u._g, this._b = u._b, this.setAlpha(u._a), this;
1177
+ }, lighten: function() {
1178
+ return this._applyModification(H, arguments);
1179
+ }, brighten: function() {
1180
+ return this._applyModification(W, arguments);
1181
+ }, darken: function() {
1182
+ return this._applyModification(S, arguments);
1183
+ }, desaturate: function() {
1184
+ return this._applyModification(C, arguments);
1185
+ }, saturate: function() {
1186
+ return this._applyModification(_, arguments);
1187
+ }, greyscale: function() {
1188
+ return this._applyModification(F, arguments);
1189
+ }, spin: function() {
1190
+ return this._applyModification(j, arguments);
1191
+ }, _applyCombination: function(l, p) {
1192
+ return l.apply(null, [this].concat([].slice.call(p)));
1193
+ }, analogous: function() {
1194
+ return this._applyCombination(R, arguments);
1195
+ }, complement: function() {
1196
+ return this._applyCombination(L, arguments);
1197
+ }, monochromatic: function() {
1198
+ return this._applyCombination(D, arguments);
1199
+ }, splitcomplement: function() {
1200
+ return this._applyCombination(M, arguments);
1201
+ }, triad: function() {
1202
+ return this._applyCombination(A, arguments);
1203
+ }, tetrad: function() {
1204
+ return this._applyCombination(v, arguments);
1205
+ } }, a.fromRatio = function(l, p) {
1206
+ if (typeof l == "object") {
1207
+ var u = {};
1208
+ for (var b in l)
1209
+ l.hasOwnProperty(b) && (u[b] = b === "a" ? l[b] : K(l[b]));
1210
+ l = u;
1211
+ }
1212
+ return a(l, p);
1213
+ }, a.equals = function(l, p) {
1214
+ return !(!l || !p) && a(l).toRgbString() == a(p).toRgbString();
1215
+ }, a.random = function() {
1216
+ return a.fromRatio({ r: nt(), g: nt(), b: nt() });
1217
+ }, a.mix = function(l, p, u) {
1218
+ u = u === 0 ? 0 : u || 50;
1219
+ var b = a(l).toRgb(), k = a(p).toRgb(), w = u / 100;
1220
+ return a({ r: (k.r - b.r) * w + b.r, g: (k.g - b.g) * w + b.g, b: (k.b - b.b) * w + b.b, a: (k.a - b.a) * w + b.a });
1221
+ }, a.readability = function(l, p) {
1222
+ var u = a(l), b = a(p);
1223
+ return (o.max(u.getLuminance(), b.getLuminance()) + 0.05) / (o.min(u.getLuminance(), b.getLuminance()) + 0.05);
1224
+ }, a.isReadable = function(l, p, u) {
1225
+ var b, k, w = a.readability(l, p);
1226
+ switch (k = !1, b = X(u), b.level + b.size) {
1227
+ case "AAsmall":
1228
+ case "AAAlarge":
1229
+ k = w >= 4.5;
1230
+ break;
1231
+ case "AAlarge":
1232
+ k = w >= 3;
1233
+ break;
1234
+ case "AAAsmall":
1235
+ k = w >= 7;
1236
+ }
1237
+ return k;
1238
+ }, a.mostReadable = function(l, p, u) {
1239
+ var b, k, w, T, $ = null, V = 0;
1240
+ u = u || {}, k = u.includeFallbackColors, w = u.level, T = u.size;
1241
+ for (var st = 0; st < p.length; st++)
1242
+ (b = a.readability(l, p[st])) > V && (V = b, $ = a(p[st]));
1243
+ return a.isReadable(l, $, { level: w, size: T }) || !k ? $ : (u.includeFallbackColors = !1, a.mostReadable(l, ["#fff", "#000"], u));
1244
+ };
1245
+ var it = a.names = { aliceblue: "f0f8ff", antiquewhite: "faebd7", aqua: "0ff", aquamarine: "7fffd4", azure: "f0ffff", beige: "f5f5dc", bisque: "ffe4c4", black: "000", blanchedalmond: "ffebcd", blue: "00f", blueviolet: "8a2be2", brown: "a52a2a", burlywood: "deb887", burntsienna: "ea7e5d", cadetblue: "5f9ea0", chartreuse: "7fff00", chocolate: "d2691e", coral: "ff7f50", cornflowerblue: "6495ed", cornsilk: "fff8dc", crimson: "dc143c", cyan: "0ff", darkblue: "00008b", darkcyan: "008b8b", darkgoldenrod: "b8860b", darkgray: "a9a9a9", darkgreen: "006400", darkgrey: "a9a9a9", darkkhaki: "bdb76b", darkmagenta: "8b008b", darkolivegreen: "556b2f", darkorange: "ff8c00", darkorchid: "9932cc", darkred: "8b0000", darksalmon: "e9967a", darkseagreen: "8fbc8f", darkslateblue: "483d8b", darkslategray: "2f4f4f", darkslategrey: "2f4f4f", darkturquoise: "00ced1", darkviolet: "9400d3", deeppink: "ff1493", deepskyblue: "00bfff", dimgray: "696969", dimgrey: "696969", dodgerblue: "1e90ff", firebrick: "b22222", floralwhite: "fffaf0", forestgreen: "228b22", fuchsia: "f0f", gainsboro: "dcdcdc", ghostwhite: "f8f8ff", gold: "ffd700", goldenrod: "daa520", gray: "808080", green: "008000", greenyellow: "adff2f", grey: "808080", honeydew: "f0fff0", hotpink: "ff69b4", indianred: "cd5c5c", indigo: "4b0082", ivory: "fffff0", khaki: "f0e68c", lavender: "e6e6fa", lavenderblush: "fff0f5", lawngreen: "7cfc00", lemonchiffon: "fffacd", lightblue: "add8e6", lightcoral: "f08080", lightcyan: "e0ffff", lightgoldenrodyellow: "fafad2", lightgray: "d3d3d3", lightgreen: "90ee90", lightgrey: "d3d3d3", lightpink: "ffb6c1", lightsalmon: "ffa07a", lightseagreen: "20b2aa", lightskyblue: "87cefa", lightslategray: "789", lightslategrey: "789", lightsteelblue: "b0c4de", lightyellow: "ffffe0", lime: "0f0", limegreen: "32cd32", linen: "faf0e6", magenta: "f0f", maroon: "800000", mediumaquamarine: "66cdaa", mediumblue: "0000cd", mediumorchid: "ba55d3", mediumpurple: "9370db", mediumseagreen: "3cb371", mediumslateblue: "7b68ee", mediumspringgreen: "00fa9a", mediumturquoise: "48d1cc", mediumvioletred: "c71585", midnightblue: "191970", mintcream: "f5fffa", mistyrose: "ffe4e1", moccasin: "ffe4b5", navajowhite: "ffdead", navy: "000080", oldlace: "fdf5e6", olive: "808000", olivedrab: "6b8e23", orange: "ffa500", orangered: "ff4500", orchid: "da70d6", palegoldenrod: "eee8aa", palegreen: "98fb98", paleturquoise: "afeeee", palevioletred: "db7093", papayawhip: "ffefd5", peachpuff: "ffdab9", peru: "cd853f", pink: "ffc0cb", plum: "dda0dd", powderblue: "b0e0e6", purple: "800080", rebeccapurple: "663399", red: "f00", rosybrown: "bc8f8f", royalblue: "4169e1", saddlebrown: "8b4513", salmon: "fa8072", sandybrown: "f4a460", seagreen: "2e8b57", seashell: "fff5ee", sienna: "a0522d", silver: "c0c0c0", skyblue: "87ceeb", slateblue: "6a5acd", slategray: "708090", slategrey: "708090", snow: "fffafa", springgreen: "00ff7f", steelblue: "4682b4", tan: "d2b48c", teal: "008080", thistle: "d8bfd8", tomato: "ff6347", turquoise: "40e0d0", violet: "ee82ee", wheat: "f5deb3", white: "fff", whitesmoke: "f5f5f5", yellow: "ff0", yellowgreen: "9acd32" }, ft = a.hexNames = function(l) {
1246
+ var p = {};
1247
+ for (var u in l)
1248
+ l.hasOwnProperty(u) && (p[l[u]] = u);
1249
+ return p;
1250
+ }(it), rt = function() {
1251
+ var l = "(?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?)", p = "[\\s|\\(]+(" + l + ")[,|\\s]+(" + l + ")[,|\\s]+(" + l + ")\\s*\\)?", u = "[\\s|\\(]+(" + l + ")[,|\\s]+(" + l + ")[,|\\s]+(" + l + ")[,|\\s]+(" + l + ")\\s*\\)?";
1252
+ return { CSS_UNIT: new RegExp(l), rgb: new RegExp("rgb" + p), rgba: new RegExp("rgba" + u), hsl: new RegExp("hsl" + p), hsla: new RegExp("hsla" + u), hsv: new RegExp("hsv" + p), hsva: new RegExp("hsva" + u), hex3: /^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/, hex6: /^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/, hex4: /^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/, hex8: /^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/ };
1253
+ }();
1254
+ c !== void 0 && c.exports ? c.exports = a : (n = (function() {
1255
+ return a;
1256
+ }).call(i, e, i, c)) !== void 0 && (c.exports = n);
1257
+ })(Math);
1258
+ }, function(c, i, e) {
1259
+ var n = e(67);
1260
+ typeof n == "string" && (n = [[c.i, n, ""]]), n.locals && (c.exports = n.locals), e(1)("0f73e73c", n, !1, {});
1261
+ }, function(c, i, e) {
1262
+ i = c.exports = e(0)(!1), i.push([c.i, `
1263
+ .vc-editable-input {
1264
+ position: relative;
1265
+ }
1266
+ .vc-input__input {
1267
+ padding: 0;
1268
+ border: 0;
1269
+ outline: none;
1270
+ }
1271
+ .vc-input__label {
1272
+ text-transform: capitalize;
1273
+ }
1274
+ `, ""]);
1275
+ }, function(c, i, e) {
1276
+ var n = function() {
1277
+ var t = this, f = t.$createElement, r = t._self._c || f;
1278
+ return r("div", { staticClass: "vc-editable-input" }, [r("input", { directives: [{ name: "model", rawName: "v-model", value: t.val, expression: "val" }], ref: "input", staticClass: "vc-input__input", attrs: { "aria-labelledby": t.labelId }, domProps: { value: t.val }, on: { keydown: t.handleKeyDown, input: [function(s) {
1279
+ s.target.composing || (t.val = s.target.value);
1280
+ }, t.update] } }), t._v(" "), r("span", { staticClass: "vc-input__label", attrs: { for: t.label, id: t.labelId } }, [t._v(t._s(t.labelSpanText))]), t._v(" "), r("span", { staticClass: "vc-input__desc" }, [t._v(t._s(t.desc))])]);
1281
+ }, o = [];
1282
+ n._withStripped = !0;
1283
+ var a = { render: n, staticRenderFns: o };
1284
+ i.a = a;
1285
+ }, function(c, i, e) {
1286
+ var n = function() {
1287
+ var t = this, f = t.$createElement, r = t._self._c || f;
1288
+ return r("div", { staticClass: "vc-compact", attrs: { role: "application", "aria-label": "Compact color picker" } }, [r("ul", { staticClass: "vc-compact-colors", attrs: { role: "listbox" } }, t._l(t.paletteUpperCase(t.palette), function(s) {
1289
+ return r("li", { key: s, staticClass: "vc-compact-color-item", class: { "vc-compact-color-item--white": s === "#FFFFFF" }, style: { background: s }, attrs: { role: "option", "aria-label": "color:" + s, "aria-selected": s === t.pick }, on: { click: function(h) {
1290
+ return t.handlerClick(s);
1291
+ } } }, [r("div", { directives: [{ name: "show", rawName: "v-show", value: s === t.pick, expression: "c === pick" }], staticClass: "vc-compact-dot" })]);
1292
+ }), 0)]);
1293
+ }, o = [];
1294
+ n._withStripped = !0;
1295
+ var a = { render: n, staticRenderFns: o };
1296
+ i.a = a;
1297
+ }, function(c, i, e) {
1298
+ function n(d) {
1299
+ e(71);
1300
+ }
1301
+ Object.defineProperty(i, "__esModule", { value: !0 });
1302
+ var o = e(37), a = e.n(o);
1303
+ for (var t in o)
1304
+ t !== "default" && function(d) {
1305
+ e.d(i, d, function() {
1306
+ return o[d];
1307
+ });
1308
+ }(t);
1309
+ var f = e(73), r = e(2), s = n, h = r(a.a, f.a, !1, s, null, null);
1310
+ h.options.__file = "src/components/Grayscale.vue", i.default = h.exports;
1311
+ }, function(c, i, e) {
1312
+ var n = e(72);
1313
+ typeof n == "string" && (n = [[c.i, n, ""]]), n.locals && (c.exports = n.locals), e(1)("21ddbb74", n, !1, {});
1314
+ }, function(c, i, e) {
1315
+ i = c.exports = e(0)(!1), i.push([c.i, `
1316
+ .vc-grayscale {
1317
+ width: 125px;
1318
+ border-radius: 2px;
1319
+ box-shadow: 0 2px 15px rgba(0,0,0,.12), 0 2px 10px rgba(0,0,0,.16);
1320
+ background-color: #fff;
1321
+ }
1322
+ .vc-grayscale-colors {
1323
+ border-radius: 2px;
1324
+ overflow: hidden;
1325
+ padding: 0;
1326
+ margin: 0;
1327
+ }
1328
+ .vc-grayscale-color-item {
1329
+ list-style: none;
1330
+ width: 25px;
1331
+ height: 25px;
1332
+ float: left;
1333
+ position: relative;
1334
+ cursor: pointer;
1335
+ }
1336
+ .vc-grayscale-color-item--white .vc-grayscale-dot {
1337
+ background: #000;
1338
+ }
1339
+ .vc-grayscale-dot {
1340
+ position: absolute;
1341
+ top: 50%;
1342
+ left: 50%;
1343
+ width: 6px;
1344
+ height: 6px;
1345
+ margin: -3px 0 0 -2px;
1346
+ border-radius: 50%;
1347
+ opacity: 1;
1348
+ background: #fff;
1349
+ }
1350
+ `, ""]);
1351
+ }, function(c, i, e) {
1352
+ var n = function() {
1353
+ var t = this, f = t.$createElement, r = t._self._c || f;
1354
+ return r("div", { staticClass: "vc-grayscale", attrs: { role: "application", "aria-label": "Grayscale color picker" } }, [r("ul", { staticClass: "vc-grayscale-colors", attrs: { role: "listbox" } }, t._l(t.paletteUpperCase(t.palette), function(s) {
1355
+ return r("li", { key: s, staticClass: "vc-grayscale-color-item", class: { "vc-grayscale-color-item--white": s == "#FFFFFF" }, style: { background: s }, attrs: { role: "option", "aria-label": "Color:" + s, "aria-selected": s === t.pick }, on: { click: function(h) {
1356
+ return t.handlerClick(s);
1357
+ } } }, [r("div", { directives: [{ name: "show", rawName: "v-show", value: s === t.pick, expression: "c === pick" }], staticClass: "vc-grayscale-dot" })]);
1358
+ }), 0)]);
1359
+ }, o = [];
1360
+ n._withStripped = !0;
1361
+ var a = { render: n, staticRenderFns: o };
1362
+ i.a = a;
1363
+ }, function(c, i, e) {
1364
+ function n(d) {
1365
+ e(75);
1366
+ }
1367
+ Object.defineProperty(i, "__esModule", { value: !0 });
1368
+ var o = e(38), a = e.n(o);
1369
+ for (var t in o)
1370
+ t !== "default" && function(d) {
1371
+ e.d(i, d, function() {
1372
+ return o[d];
1373
+ });
1374
+ }(t);
1375
+ var f = e(77), r = e(2), s = n, h = r(a.a, f.a, !1, s, null, null);
1376
+ h.options.__file = "src/components/Material.vue", i.default = h.exports;
1377
+ }, function(c, i, e) {
1378
+ var n = e(76);
1379
+ typeof n == "string" && (n = [[c.i, n, ""]]), n.locals && (c.exports = n.locals), e(1)("1ff3af73", n, !1, {});
1380
+ }, function(c, i, e) {
1381
+ i = c.exports = e(0)(!1), i.push([c.i, `
1382
+ .vc-material {
1383
+ width: 98px;
1384
+ height: 98px;
1385
+ padding: 16px;
1386
+ font-family: "Roboto";
1387
+ position: relative;
1388
+ border-radius: 2px;
1389
+ box-shadow: 0 2px 10px rgba(0,0,0,.12), 0 2px 5px rgba(0,0,0,.16);
1390
+ background-color: #fff;
1391
+ }
1392
+ .vc-material .vc-input__input {
1393
+ width: 100%;
1394
+ margin-top: 12px;
1395
+ font-size: 15px;
1396
+ color: #333;
1397
+ height: 30px;
1398
+ }
1399
+ .vc-material .vc-input__label {
1400
+ position: absolute;
1401
+ top: 0;
1402
+ left: 0;
1403
+ font-size: 11px;
1404
+ color: #999;
1405
+ text-transform: capitalize;
1406
+ }
1407
+ .vc-material-hex {
1408
+ border-bottom-width: 2px;
1409
+ border-bottom-style: solid;
1410
+ }
1411
+ .vc-material-split {
1412
+ display: flex;
1413
+ margin-right: -10px;
1414
+ padding-top: 11px;
1415
+ }
1416
+ .vc-material-third {
1417
+ flex: 1;
1418
+ padding-right: 10px;
1419
+ }
1420
+ `, ""]);
1421
+ }, function(c, i, e) {
1422
+ var n = function() {
1423
+ var t = this, f = t.$createElement, r = t._self._c || f;
1424
+ return r("div", { staticClass: "vc-material", attrs: { role: "application", "aria-label": "Material color picker" } }, [r("ed-in", { staticClass: "vc-material-hex", style: { borderColor: t.colors.hex }, attrs: { label: "hex" }, on: { change: t.onChange }, model: { value: t.colors.hex, callback: function(s) {
1425
+ t.$set(t.colors, "hex", s);
1426
+ }, expression: "colors.hex" } }), t._v(" "), r("div", { staticClass: "vc-material-split" }, [r("div", { staticClass: "vc-material-third" }, [r("ed-in", { attrs: { label: "r" }, on: { change: t.onChange }, model: { value: t.colors.rgba.r, callback: function(s) {
1427
+ t.$set(t.colors.rgba, "r", s);
1428
+ }, expression: "colors.rgba.r" } })], 1), t._v(" "), r("div", { staticClass: "vc-material-third" }, [r("ed-in", { attrs: { label: "g" }, on: { change: t.onChange }, model: { value: t.colors.rgba.g, callback: function(s) {
1429
+ t.$set(t.colors.rgba, "g", s);
1430
+ }, expression: "colors.rgba.g" } })], 1), t._v(" "), r("div", { staticClass: "vc-material-third" }, [r("ed-in", { attrs: { label: "b" }, on: { change: t.onChange }, model: { value: t.colors.rgba.b, callback: function(s) {
1431
+ t.$set(t.colors.rgba, "b", s);
1432
+ }, expression: "colors.rgba.b" } })], 1)])], 1);
1433
+ }, o = [];
1434
+ n._withStripped = !0;
1435
+ var a = { render: n, staticRenderFns: o };
1436
+ i.a = a;
1437
+ }, function(c, i, e) {
1438
+ function n(d) {
1439
+ e(79);
1440
+ }
1441
+ Object.defineProperty(i, "__esModule", { value: !0 });
1442
+ var o = e(39), a = e.n(o);
1443
+ for (var t in o)
1444
+ t !== "default" && function(d) {
1445
+ e.d(i, d, function() {
1446
+ return o[d];
1447
+ });
1448
+ }(t);
1449
+ var f = e(114), r = e(2), s = n, h = r(a.a, f.a, !1, s, null, null);
1450
+ h.options.__file = "src/components/Slider.vue", i.default = h.exports;
1451
+ }, function(c, i, e) {
1452
+ var n = e(80);
1453
+ typeof n == "string" && (n = [[c.i, n, ""]]), n.locals && (c.exports = n.locals), e(1)("7982aa43", n, !1, {});
1454
+ }, function(c, i, e) {
1455
+ i = c.exports = e(0)(!1), i.push([c.i, `
1456
+ .vc-slider {
1457
+ position: relative;
1458
+ width: 410px;
1459
+ }
1460
+ .vc-slider-hue-warp {
1461
+ height: 12px;
1462
+ position: relative;
1463
+ }
1464
+ .vc-slider-hue-warp .vc-hue-picker {
1465
+ width: 14px;
1466
+ height: 14px;
1467
+ border-radius: 6px;
1468
+ transform: translate(-7px, -2px);
1469
+ background-color: rgb(248, 248, 248);
1470
+ box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.37);
1471
+ }
1472
+ .vc-slider-swatches {
1473
+ display: flex;
1474
+ margin-top: 20px;
1475
+ }
1476
+ .vc-slider-swatch {
1477
+ margin-right: 1px;
1478
+ flex: 1;
1479
+ width: 20%;
1480
+ }
1481
+ .vc-slider-swatch:first-child {
1482
+ margin-right: 1px;
1483
+ }
1484
+ .vc-slider-swatch:first-child .vc-slider-swatch-picker {
1485
+ border-radius: 2px 0px 0px 2px;
1486
+ }
1487
+ .vc-slider-swatch:last-child {
1488
+ margin-right: 0;
1489
+ }
1490
+ .vc-slider-swatch:last-child .vc-slider-swatch-picker {
1491
+ border-radius: 0px 2px 2px 0px;
1492
+ }
1493
+ .vc-slider-swatch-picker {
1494
+ cursor: pointer;
1495
+ height: 12px;
1496
+ }
1497
+ .vc-slider-swatch:nth-child(n) .vc-slider-swatch-picker.vc-slider-swatch-picker--active {
1498
+ transform: scaleY(1.8);
1499
+ border-radius: 3.6px/2px;
1500
+ }
1501
+ .vc-slider-swatch-picker--white {
1502
+ box-shadow: inset 0 0 0 1px #ddd;
1503
+ }
1504
+ .vc-slider-swatch-picker--active.vc-slider-swatch-picker--white {
1505
+ box-shadow: inset 0 0 0 0.6px #ddd;
1506
+ }
1507
+ `, ""]);
1508
+ }, function(c, i, e) {
1509
+ function n(s) {
1510
+ return s && s.__esModule ? s : { default: s };
1511
+ }
1512
+ i.__esModule = !0;
1513
+ var o = e(82), a = n(o), t = e(100), f = n(t), r = typeof f.default == "function" && typeof a.default == "symbol" ? function(s) {
1514
+ return typeof s;
1515
+ } : function(s) {
1516
+ return s && typeof f.default == "function" && s.constructor === f.default && s !== f.default.prototype ? "symbol" : typeof s;
1517
+ };
1518
+ i.default = typeof f.default == "function" && r(a.default) === "symbol" ? function(s) {
1519
+ return s === void 0 ? "undefined" : r(s);
1520
+ } : function(s) {
1521
+ return s && typeof f.default == "function" && s.constructor === f.default && s !== f.default.prototype ? "symbol" : s === void 0 ? "undefined" : r(s);
1522
+ };
1523
+ }, function(c, i, e) {
1524
+ c.exports = { default: e(83), __esModule: !0 };
1525
+ }, function(c, i, e) {
1526
+ e(84), e(96), c.exports = e(32).f("iterator");
1527
+ }, function(c, i, e) {
1528
+ var n = e(85)(!0);
1529
+ e(40)(String, "String", function(o) {
1530
+ this._t = String(o), this._i = 0;
1531
+ }, function() {
1532
+ var o, a = this._t, t = this._i;
1533
+ return t >= a.length ? { value: void 0, done: !0 } : (o = n(a, t), this._i += o.length, { value: o, done: !1 });
1534
+ });
1535
+ }, function(c, i, e) {
1536
+ var n = e(23), o = e(24);
1537
+ c.exports = function(a) {
1538
+ return function(t, f) {
1539
+ var r, s, h = String(o(t)), d = n(f), g = h.length;
1540
+ return d < 0 || d >= g ? a ? "" : void 0 : (r = h.charCodeAt(d), r < 55296 || r > 56319 || d + 1 === g || (s = h.charCodeAt(d + 1)) < 56320 || s > 57343 ? a ? h.charAt(d) : r : a ? h.slice(d, d + 2) : s - 56320 + (r - 55296 << 10) + 65536);
1541
+ };
1542
+ };
1543
+ }, function(c, i, e) {
1544
+ var n = e(87);
1545
+ c.exports = function(o, a, t) {
1546
+ if (n(o), a === void 0)
1547
+ return o;
1548
+ switch (t) {
1549
+ case 1:
1550
+ return function(f) {
1551
+ return o.call(a, f);
1552
+ };
1553
+ case 2:
1554
+ return function(f, r) {
1555
+ return o.call(a, f, r);
1556
+ };
1557
+ case 3:
1558
+ return function(f, r, s) {
1559
+ return o.call(a, f, r, s);
1560
+ };
1561
+ }
1562
+ return function() {
1563
+ return o.apply(a, arguments);
1564
+ };
1565
+ };
1566
+ }, function(c, i) {
1567
+ c.exports = function(e) {
1568
+ if (typeof e != "function")
1569
+ throw TypeError(e + " is not a function!");
1570
+ return e;
1571
+ };
1572
+ }, function(c, i, e) {
1573
+ var n = e(45), o = e(18), a = e(31), t = {};
1574
+ e(7)(t, e(11)("iterator"), function() {
1575
+ return this;
1576
+ }), c.exports = function(f, r, s) {
1577
+ f.prototype = n(t, { next: o(1, s) }), a(f, r + " Iterator");
1578
+ };
1579
+ }, function(c, i, e) {
1580
+ var n = e(8), o = e(16), a = e(27);
1581
+ c.exports = e(9) ? Object.defineProperties : function(t, f) {
1582
+ o(t);
1583
+ for (var r, s = a(f), h = s.length, d = 0; h > d; )
1584
+ n.f(t, r = s[d++], f[r]);
1585
+ return t;
1586
+ };
1587
+ }, function(c, i, e) {
1588
+ var n = e(47);
1589
+ c.exports = Object("z").propertyIsEnumerable(0) ? Object : function(o) {
1590
+ return n(o) == "String" ? o.split("") : Object(o);
1591
+ };
1592
+ }, function(c, i, e) {
1593
+ var n = e(10), o = e(92), a = e(93);
1594
+ c.exports = function(t) {
1595
+ return function(f, r, s) {
1596
+ var h, d = n(f), g = o(d.length), O = a(s, g);
1597
+ if (t && r != r) {
1598
+ for (; g > O; )
1599
+ if ((h = d[O++]) != h)
1600
+ return !0;
1601
+ } else
1602
+ for (; g > O; O++)
1603
+ if ((t || O in d) && d[O] === r)
1604
+ return t || O || 0;
1605
+ return !t && -1;
1606
+ };
1607
+ };
1608
+ }, function(c, i, e) {
1609
+ var n = e(23), o = Math.min;
1610
+ c.exports = function(a) {
1611
+ return a > 0 ? o(n(a), 9007199254740991) : 0;
1612
+ };
1613
+ }, function(c, i, e) {
1614
+ var n = e(23), o = Math.max, a = Math.min;
1615
+ c.exports = function(t, f) {
1616
+ return t = n(t), t < 0 ? o(t + f, 0) : a(t, f);
1617
+ };
1618
+ }, function(c, i, e) {
1619
+ var n = e(4).document;
1620
+ c.exports = n && n.documentElement;
1621
+ }, function(c, i, e) {
1622
+ var n = e(6), o = e(48), a = e(28)("IE_PROTO"), t = Object.prototype;
1623
+ c.exports = Object.getPrototypeOf || function(f) {
1624
+ return f = o(f), n(f, a) ? f[a] : typeof f.constructor == "function" && f instanceof f.constructor ? f.constructor.prototype : f instanceof Object ? t : null;
1625
+ };
1626
+ }, function(c, i, e) {
1627
+ e(97);
1628
+ for (var n = e(4), o = e(7), a = e(26), t = e(11)("toStringTag"), f = "CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList".split(","), r = 0; r < f.length; r++) {
1629
+ var s = f[r], h = n[s], d = h && h.prototype;
1630
+ d && !d[t] && o(d, t, s), a[s] = a.Array;
1631
+ }
1632
+ }, function(c, i, e) {
1633
+ var n = e(98), o = e(99), a = e(26), t = e(10);
1634
+ c.exports = e(40)(Array, "Array", function(f, r) {
1635
+ this._t = t(f), this._i = 0, this._k = r;
1636
+ }, function() {
1637
+ var f = this._t, r = this._k, s = this._i++;
1638
+ return !f || s >= f.length ? (this._t = void 0, o(1)) : r == "keys" ? o(0, s) : r == "values" ? o(0, f[s]) : o(0, [s, f[s]]);
1639
+ }, "values"), a.Arguments = a.Array, n("keys"), n("values"), n("entries");
1640
+ }, function(c, i) {
1641
+ c.exports = function() {
1642
+ };
1643
+ }, function(c, i) {
1644
+ c.exports = function(e, n) {
1645
+ return { value: n, done: !!e };
1646
+ };
1647
+ }, function(c, i, e) {
1648
+ c.exports = { default: e(101), __esModule: !0 };
1649
+ }, function(c, i, e) {
1650
+ e(102), e(108), e(109), e(110), c.exports = e(15).Symbol;
1651
+ }, function(c, i, e) {
1652
+ var n = e(4), o = e(6), a = e(9), t = e(41), f = e(44), r = e(103).KEY, s = e(17), h = e(29), d = e(31), g = e(19), O = e(11), x = e(32), C = e(33), _ = e(104), F = e(105), H = e(16), W = e(12), S = e(48), j = e(10), L = e(25), A = e(18), v = e(45), M = e(106), R = e(107), D = e(49), I = e(8), P = e(27), q = R.f, N = I.f, at = M.f, U = n.Symbol, Y = n.JSON, K = Y && Y.stringify, G = O("_hidden"), ct = O("toPrimitive"), tt = {}.propertyIsEnumerable, ot = h("symbol-registry"), X = h("symbols"), et = h("op-symbols"), J = Object.prototype, lt = typeof U == "function" && !!D.f, E = n.QObject, Z = !E || !E.prototype || !E.prototype.findChild, B = a && s(function() {
1653
+ return v(N({}, "a", { get: function() {
1654
+ return N(this, "a", { value: 7 }).a;
1655
+ } })).a != 7;
1656
+ }) ? function(m, y, z) {
1657
+ var Q = q(J, y);
1658
+ Q && delete J[y], N(m, y, z), Q && m !== J && N(J, y, Q);
1659
+ } : N, nt = function(m) {
1660
+ var y = X[m] = v(U.prototype);
1661
+ return y._k = m, y;
1662
+ }, it = lt && typeof U.iterator == "symbol" ? function(m) {
1663
+ return typeof m == "symbol";
1664
+ } : function(m) {
1665
+ return m instanceof U;
1666
+ }, ft = function(m, y, z) {
1667
+ return m === J && ft(et, y, z), H(m), y = L(y, !0), H(z), o(X, y) ? (z.enumerable ? (o(m, G) && m[G][y] && (m[G][y] = !1), z = v(z, { enumerable: A(0, !1) })) : (o(m, G) || N(m, G, A(1, {})), m[G][y] = !0), B(m, y, z)) : N(m, y, z);
1668
+ }, rt = function(m, y) {
1669
+ H(m);
1670
+ for (var z, Q = _(y = j(y)), ut = 0, dt = Q.length; dt > ut; )
1671
+ ft(m, z = Q[ut++], y[z]);
1672
+ return m;
1673
+ }, l = function(m, y) {
1674
+ return y === void 0 ? v(m) : rt(v(m), y);
1675
+ }, p = function(m) {
1676
+ var y = tt.call(this, m = L(m, !0));
1677
+ return !(this === J && o(X, m) && !o(et, m)) && (!(y || !o(this, m) || !o(X, m) || o(this, G) && this[G][m]) || y);
1678
+ }, u = function(m, y) {
1679
+ if (m = j(m), y = L(y, !0), m !== J || !o(X, y) || o(et, y)) {
1680
+ var z = q(m, y);
1681
+ return !z || !o(X, y) || o(m, G) && m[G][y] || (z.enumerable = !0), z;
1682
+ }
1683
+ }, b = function(m) {
1684
+ for (var y, z = at(j(m)), Q = [], ut = 0; z.length > ut; )
1685
+ o(X, y = z[ut++]) || y == G || y == r || Q.push(y);
1686
+ return Q;
1687
+ }, k = function(m) {
1688
+ for (var y, z = m === J, Q = at(z ? et : j(m)), ut = [], dt = 0; Q.length > dt; )
1689
+ !o(X, y = Q[dt++]) || z && !o(J, y) || ut.push(X[y]);
1690
+ return ut;
1691
+ };
1692
+ lt || (U = function() {
1693
+ if (this instanceof U)
1694
+ throw TypeError("Symbol is not a constructor!");
1695
+ var m = g(arguments.length > 0 ? arguments[0] : void 0), y = function(z) {
1696
+ this === J && y.call(et, z), o(this, G) && o(this[G], m) && (this[G][m] = !1), B(this, m, A(1, z));
1697
+ };
1698
+ return a && Z && B(J, m, { configurable: !0, set: y }), nt(m);
1699
+ }, f(U.prototype, "toString", function() {
1700
+ return this._k;
1701
+ }), R.f = u, I.f = ft, e(50).f = M.f = b, e(34).f = p, D.f = k, a && !e(14) && f(J, "propertyIsEnumerable", p, !0), x.f = function(m) {
1702
+ return nt(O(m));
1703
+ }), t(t.G + t.W + t.F * !lt, { Symbol: U });
1704
+ for (var w = "hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","), T = 0; w.length > T; )
1705
+ O(w[T++]);
1706
+ for (var $ = P(O.store), V = 0; $.length > V; )
1707
+ C($[V++]);
1708
+ t(t.S + t.F * !lt, "Symbol", { for: function(m) {
1709
+ return o(ot, m += "") ? ot[m] : ot[m] = U(m);
1710
+ }, keyFor: function(m) {
1711
+ if (!it(m))
1712
+ throw TypeError(m + " is not a symbol!");
1713
+ for (var y in ot)
1714
+ if (ot[y] === m)
1715
+ return y;
1716
+ }, useSetter: function() {
1717
+ Z = !0;
1718
+ }, useSimple: function() {
1719
+ Z = !1;
1720
+ } }), t(t.S + t.F * !lt, "Object", { create: l, defineProperty: ft, defineProperties: rt, getOwnPropertyDescriptor: u, getOwnPropertyNames: b, getOwnPropertySymbols: k });
1721
+ var st = s(function() {
1722
+ D.f(1);
1723
+ });
1724
+ t(t.S + t.F * st, "Object", { getOwnPropertySymbols: function(m) {
1725
+ return D.f(S(m));
1726
+ } }), Y && t(t.S + t.F * (!lt || s(function() {
1727
+ var m = U();
1728
+ return K([m]) != "[null]" || K({ a: m }) != "{}" || K(Object(m)) != "{}";
1729
+ })), "JSON", { stringify: function(m) {
1730
+ for (var y, z, Q = [m], ut = 1; arguments.length > ut; )
1731
+ Q.push(arguments[ut++]);
1732
+ if (z = y = Q[1], (W(y) || m !== void 0) && !it(m))
1733
+ return F(y) || (y = function(dt, pt) {
1734
+ if (typeof z == "function" && (pt = z.call(this, dt, pt)), !it(pt))
1735
+ return pt;
1736
+ }), Q[1] = y, K.apply(Y, Q);
1737
+ } }), U.prototype[ct] || e(7)(U.prototype, ct, U.prototype.valueOf), d(U, "Symbol"), d(Math, "Math", !0), d(n.JSON, "JSON", !0);
1738
+ }, function(c, i, e) {
1739
+ var n = e(19)("meta"), o = e(12), a = e(6), t = e(8).f, f = 0, r = Object.isExtensible || function() {
1740
+ return !0;
1741
+ }, s = !e(17)(function() {
1742
+ return r(Object.preventExtensions({}));
1743
+ }), h = function(C) {
1744
+ t(C, n, { value: { i: "O" + ++f, w: {} } });
1745
+ }, d = function(C, _) {
1746
+ if (!o(C))
1747
+ return typeof C == "symbol" ? C : (typeof C == "string" ? "S" : "P") + C;
1748
+ if (!a(C, n)) {
1749
+ if (!r(C))
1750
+ return "F";
1751
+ if (!_)
1752
+ return "E";
1753
+ h(C);
1754
+ }
1755
+ return C[n].i;
1756
+ }, g = function(C, _) {
1757
+ if (!a(C, n)) {
1758
+ if (!r(C))
1759
+ return !0;
1760
+ if (!_)
1761
+ return !1;
1762
+ h(C);
1763
+ }
1764
+ return C[n].w;
1765
+ }, O = function(C) {
1766
+ return s && x.NEED && r(C) && !a(C, n) && h(C), C;
1767
+ }, x = c.exports = { KEY: n, NEED: !1, fastKey: d, getWeak: g, onFreeze: O };
1768
+ }, function(c, i, e) {
1769
+ var n = e(27), o = e(49), a = e(34);
1770
+ c.exports = function(t) {
1771
+ var f = n(t), r = o.f;
1772
+ if (r)
1773
+ for (var s, h = r(t), d = a.f, g = 0; h.length > g; )
1774
+ d.call(t, s = h[g++]) && f.push(s);
1775
+ return f;
1776
+ };
1777
+ }, function(c, i, e) {
1778
+ var n = e(47);
1779
+ c.exports = Array.isArray || function(o) {
1780
+ return n(o) == "Array";
1781
+ };
1782
+ }, function(c, i, e) {
1783
+ var n = e(10), o = e(50).f, a = {}.toString, t = typeof window == "object" && window && Object.getOwnPropertyNames ? Object.getOwnPropertyNames(window) : [], f = function(r) {
1784
+ try {
1785
+ return o(r);
1786
+ } catch {
1787
+ return t.slice();
1788
+ }
1789
+ };
1790
+ c.exports.f = function(r) {
1791
+ return t && a.call(r) == "[object Window]" ? f(r) : o(n(r));
1792
+ };
1793
+ }, function(c, i, e) {
1794
+ var n = e(34), o = e(18), a = e(10), t = e(25), f = e(6), r = e(42), s = Object.getOwnPropertyDescriptor;
1795
+ i.f = e(9) ? s : function(h, d) {
1796
+ if (h = a(h), d = t(d, !0), r)
1797
+ try {
1798
+ return s(h, d);
1799
+ } catch {
1800
+ }
1801
+ if (f(h, d))
1802
+ return o(!n.f.call(h, d), h[d]);
1803
+ };
1804
+ }, function(c, i) {
1805
+ }, function(c, i, e) {
1806
+ e(33)("asyncIterator");
1807
+ }, function(c, i, e) {
1808
+ e(33)("observable");
1809
+ }, function(c, i, e) {
1810
+ var n = e(112);
1811
+ typeof n == "string" && (n = [[c.i, n, ""]]), n.locals && (c.exports = n.locals), e(1)("7c5f1a1c", n, !1, {});
1812
+ }, function(c, i, e) {
1813
+ i = c.exports = e(0)(!1), i.push([c.i, `
1814
+ .vc-hue {
1815
+ position: absolute;
1816
+ top: 0px;
1817
+ right: 0px;
1818
+ bottom: 0px;
1819
+ left: 0px;
1820
+ border-radius: 2px;
1821
+ }
1822
+ .vc-hue--horizontal {
1823
+ background: linear-gradient(to right, #f00 0%, #ff0 17%, #0f0 33%, #0ff 50%, #00f 67%, #f0f 83%, #f00 100%);
1824
+ }
1825
+ .vc-hue--vertical {
1826
+ background: linear-gradient(to top, #f00 0%, #ff0 17%, #0f0 33%, #0ff 50%, #00f 67%, #f0f 83%, #f00 100%);
1827
+ }
1828
+ .vc-hue-container {
1829
+ cursor: pointer;
1830
+ margin: 0 2px;
1831
+ position: relative;
1832
+ height: 100%;
1833
+ }
1834
+ .vc-hue-pointer {
1835
+ z-index: 2;
1836
+ position: absolute;
1837
+ }
1838
+ .vc-hue-picker {
1839
+ cursor: pointer;
1840
+ margin-top: 1px;
1841
+ width: 4px;
1842
+ border-radius: 1px;
1843
+ height: 8px;
1844
+ box-shadow: 0 0 2px rgba(0, 0, 0, .6);
1845
+ background: #fff;
1846
+ transform: translateX(-2px) ;
1847
+ }
1848
+ `, ""]);
1849
+ }, function(c, i, e) {
1850
+ var n = function() {
1851
+ var t = this, f = t.$createElement, r = t._self._c || f;
1852
+ return r("div", { class: ["vc-hue", t.directionClass] }, [r("div", { ref: "container", staticClass: "vc-hue-container", attrs: { role: "slider", "aria-valuenow": t.colors.hsl.h, "aria-valuemin": "0", "aria-valuemax": "360" }, on: { mousedown: t.handleMouseDown, touchmove: t.handleChange, touchstart: t.handleChange } }, [r("div", { staticClass: "vc-hue-pointer", style: { top: t.pointerTop, left: t.pointerLeft }, attrs: { role: "presentation" } }, [r("div", { staticClass: "vc-hue-picker" })])])]);
1853
+ }, o = [];
1854
+ n._withStripped = !0;
1855
+ var a = { render: n, staticRenderFns: o };
1856
+ i.a = a;
1857
+ }, function(c, i, e) {
1858
+ var n = function() {
1859
+ var t = this, f = t.$createElement, r = t._self._c || f;
1860
+ return r("div", { staticClass: "vc-slider", attrs: { role: "application", "aria-label": "Slider color picker" } }, [r("div", { staticClass: "vc-slider-hue-warp" }, [r("hue", { on: { change: t.hueChange }, model: { value: t.colors, callback: function(s) {
1861
+ t.colors = s;
1862
+ }, expression: "colors" } })], 1), t._v(" "), r("div", { staticClass: "vc-slider-swatches", attrs: { role: "group" } }, t._l(t.normalizedSwatches, function(s, h) {
1863
+ return r("div", { key: h, staticClass: "vc-slider-swatch", attrs: { "data-index": h, "aria-label": "color:" + t.colors.hex, role: "button" }, on: { click: function(d) {
1864
+ return t.handleSwClick(h, s);
1865
+ } } }, [r("div", { staticClass: "vc-slider-swatch-picker", class: { "vc-slider-swatch-picker--active": t.isActive(s, h), "vc-slider-swatch-picker--white": s.l === 1 }, style: { background: "hsl(" + t.colors.hsl.h + ", " + 100 * s.s + "%, " + 100 * s.l + "%)" } })]);
1866
+ }), 0)]);
1867
+ }, o = [];
1868
+ n._withStripped = !0;
1869
+ var a = { render: n, staticRenderFns: o };
1870
+ i.a = a;
1871
+ }, function(c, i, e) {
1872
+ function n(d) {
1873
+ e(116);
1874
+ }
1875
+ Object.defineProperty(i, "__esModule", { value: !0 });
1876
+ var o = e(52), a = e.n(o);
1877
+ for (var t in o)
1878
+ t !== "default" && function(d) {
1879
+ e.d(i, d, function() {
1880
+ return o[d];
1881
+ });
1882
+ }(t);
1883
+ var f = e(119), r = e(2), s = n, h = r(a.a, f.a, !1, s, null, null);
1884
+ h.options.__file = "src/components/Swatches.vue", i.default = h.exports;
1885
+ }, function(c, i, e) {
1886
+ var n = e(117);
1887
+ typeof n == "string" && (n = [[c.i, n, ""]]), n.locals && (c.exports = n.locals), e(1)("10f839a2", n, !1, {});
1888
+ }, function(c, i, e) {
1889
+ i = c.exports = e(0)(!1), i.push([c.i, `
1890
+ .vc-swatches {
1891
+ width: 320px;
1892
+ height: 240px;
1893
+ overflow-y: scroll;
1894
+ background-color: #fff;
1895
+ box-shadow: 0 2px 10px rgba(0,0,0,.12), 0 2px 5px rgba(0,0,0,.16);
1896
+ }
1897
+ .vc-swatches-box {
1898
+ padding: 16px 0 6px 16px;
1899
+ overflow: hidden;
1900
+ }
1901
+ .vc-swatches-color-group {
1902
+ padding-bottom: 10px;
1903
+ width: 40px;
1904
+ float: left;
1905
+ margin-right: 10px;
1906
+ }
1907
+ .vc-swatches-color-it {
1908
+ box-sizing: border-box;
1909
+ width: 40px;
1910
+ height: 24px;
1911
+ cursor: pointer;
1912
+ background: #880e4f;
1913
+ margin-bottom: 1px;
1914
+ overflow: hidden;
1915
+ -ms-border-radius: 2px 2px 0 0;
1916
+ -moz-border-radius: 2px 2px 0 0;
1917
+ -o-border-radius: 2px 2px 0 0;
1918
+ -webkit-border-radius: 2px 2px 0 0;
1919
+ border-radius: 2px 2px 0 0;
1920
+ }
1921
+ .vc-swatches-color--white {
1922
+ border: 1px solid #DDD;
1923
+ }
1924
+ .vc-swatches-pick {
1925
+ fill: rgb(255, 255, 255);
1926
+ margin-left: 8px;
1927
+ display: block;
1928
+ }
1929
+ .vc-swatches-color--white .vc-swatches-pick {
1930
+ fill: rgb(51, 51, 51);
1931
+ }
1932
+ `, ""]);
1933
+ }, function(c, i, e) {
1934
+ Object.defineProperty(i, "__esModule", { value: !0 }), e.d(i, "red", function() {
1935
+ return n;
1936
+ }), e.d(i, "pink", function() {
1937
+ return o;
1938
+ }), e.d(i, "purple", function() {
1939
+ return a;
1940
+ }), e.d(i, "deepPurple", function() {
1941
+ return t;
1942
+ }), e.d(i, "indigo", function() {
1943
+ return f;
1944
+ }), e.d(i, "blue", function() {
1945
+ return r;
1946
+ }), e.d(i, "lightBlue", function() {
1947
+ return s;
1948
+ }), e.d(i, "cyan", function() {
1949
+ return h;
1950
+ }), e.d(i, "teal", function() {
1951
+ return d;
1952
+ }), e.d(i, "green", function() {
1953
+ return g;
1954
+ }), e.d(i, "lightGreen", function() {
1955
+ return O;
1956
+ }), e.d(i, "lime", function() {
1957
+ return x;
1958
+ }), e.d(i, "yellow", function() {
1959
+ return C;
1960
+ }), e.d(i, "amber", function() {
1961
+ return _;
1962
+ }), e.d(i, "orange", function() {
1963
+ return F;
1964
+ }), e.d(i, "deepOrange", function() {
1965
+ return H;
1966
+ }), e.d(i, "brown", function() {
1967
+ return W;
1968
+ }), e.d(i, "grey", function() {
1969
+ return S;
1970
+ }), e.d(i, "blueGrey", function() {
1971
+ return j;
1972
+ }), e.d(i, "darkText", function() {
1973
+ return L;
1974
+ }), e.d(i, "lightText", function() {
1975
+ return A;
1976
+ }), e.d(i, "darkIcons", function() {
1977
+ return v;
1978
+ }), e.d(i, "lightIcons", function() {
1979
+ return M;
1980
+ }), e.d(i, "white", function() {
1981
+ return R;
1982
+ }), e.d(i, "black", function() {
1983
+ return D;
1984
+ });
1985
+ var n = { 50: "#ffebee", 100: "#ffcdd2", 200: "#ef9a9a", 300: "#e57373", 400: "#ef5350", 500: "#f44336", 600: "#e53935", 700: "#d32f2f", 800: "#c62828", 900: "#b71c1c", a100: "#ff8a80", a200: "#ff5252", a400: "#ff1744", a700: "#d50000" }, o = { 50: "#fce4ec", 100: "#f8bbd0", 200: "#f48fb1", 300: "#f06292", 400: "#ec407a", 500: "#e91e63", 600: "#d81b60", 700: "#c2185b", 800: "#ad1457", 900: "#880e4f", a100: "#ff80ab", a200: "#ff4081", a400: "#f50057", a700: "#c51162" }, a = { 50: "#f3e5f5", 100: "#e1bee7", 200: "#ce93d8", 300: "#ba68c8", 400: "#ab47bc", 500: "#9c27b0", 600: "#8e24aa", 700: "#7b1fa2", 800: "#6a1b9a", 900: "#4a148c", a100: "#ea80fc", a200: "#e040fb", a400: "#d500f9", a700: "#aa00ff" }, t = { 50: "#ede7f6", 100: "#d1c4e9", 200: "#b39ddb", 300: "#9575cd", 400: "#7e57c2", 500: "#673ab7", 600: "#5e35b1", 700: "#512da8", 800: "#4527a0", 900: "#311b92", a100: "#b388ff", a200: "#7c4dff", a400: "#651fff", a700: "#6200ea" }, f = { 50: "#e8eaf6", 100: "#c5cae9", 200: "#9fa8da", 300: "#7986cb", 400: "#5c6bc0", 500: "#3f51b5", 600: "#3949ab", 700: "#303f9f", 800: "#283593", 900: "#1a237e", a100: "#8c9eff", a200: "#536dfe", a400: "#3d5afe", a700: "#304ffe" }, r = { 50: "#e3f2fd", 100: "#bbdefb", 200: "#90caf9", 300: "#64b5f6", 400: "#42a5f5", 500: "#2196f3", 600: "#1e88e5", 700: "#1976d2", 800: "#1565c0", 900: "#0d47a1", a100: "#82b1ff", a200: "#448aff", a400: "#2979ff", a700: "#2962ff" }, s = { 50: "#e1f5fe", 100: "#b3e5fc", 200: "#81d4fa", 300: "#4fc3f7", 400: "#29b6f6", 500: "#03a9f4", 600: "#039be5", 700: "#0288d1", 800: "#0277bd", 900: "#01579b", a100: "#80d8ff", a200: "#40c4ff", a400: "#00b0ff", a700: "#0091ea" }, h = { 50: "#e0f7fa", 100: "#b2ebf2", 200: "#80deea", 300: "#4dd0e1", 400: "#26c6da", 500: "#00bcd4", 600: "#00acc1", 700: "#0097a7", 800: "#00838f", 900: "#006064", a100: "#84ffff", a200: "#18ffff", a400: "#00e5ff", a700: "#00b8d4" }, d = { 50: "#e0f2f1", 100: "#b2dfdb", 200: "#80cbc4", 300: "#4db6ac", 400: "#26a69a", 500: "#009688", 600: "#00897b", 700: "#00796b", 800: "#00695c", 900: "#004d40", a100: "#a7ffeb", a200: "#64ffda", a400: "#1de9b6", a700: "#00bfa5" }, g = { 50: "#e8f5e9", 100: "#c8e6c9", 200: "#a5d6a7", 300: "#81c784", 400: "#66bb6a", 500: "#4caf50", 600: "#43a047", 700: "#388e3c", 800: "#2e7d32", 900: "#1b5e20", a100: "#b9f6ca", a200: "#69f0ae", a400: "#00e676", a700: "#00c853" }, O = { 50: "#f1f8e9", 100: "#dcedc8", 200: "#c5e1a5", 300: "#aed581", 400: "#9ccc65", 500: "#8bc34a", 600: "#7cb342", 700: "#689f38", 800: "#558b2f", 900: "#33691e", a100: "#ccff90", a200: "#b2ff59", a400: "#76ff03", a700: "#64dd17" }, x = { 50: "#f9fbe7", 100: "#f0f4c3", 200: "#e6ee9c", 300: "#dce775", 400: "#d4e157", 500: "#cddc39", 600: "#c0ca33", 700: "#afb42b", 800: "#9e9d24", 900: "#827717", a100: "#f4ff81", a200: "#eeff41", a400: "#c6ff00", a700: "#aeea00" }, C = { 50: "#fffde7", 100: "#fff9c4", 200: "#fff59d", 300: "#fff176", 400: "#ffee58", 500: "#ffeb3b", 600: "#fdd835", 700: "#fbc02d", 800: "#f9a825", 900: "#f57f17", a100: "#ffff8d", a200: "#ffff00", a400: "#ffea00", a700: "#ffd600" }, _ = { 50: "#fff8e1", 100: "#ffecb3", 200: "#ffe082", 300: "#ffd54f", 400: "#ffca28", 500: "#ffc107", 600: "#ffb300", 700: "#ffa000", 800: "#ff8f00", 900: "#ff6f00", a100: "#ffe57f", a200: "#ffd740", a400: "#ffc400", a700: "#ffab00" }, F = { 50: "#fff3e0", 100: "#ffe0b2", 200: "#ffcc80", 300: "#ffb74d", 400: "#ffa726", 500: "#ff9800", 600: "#fb8c00", 700: "#f57c00", 800: "#ef6c00", 900: "#e65100", a100: "#ffd180", a200: "#ffab40", a400: "#ff9100", a700: "#ff6d00" }, H = { 50: "#fbe9e7", 100: "#ffccbc", 200: "#ffab91", 300: "#ff8a65", 400: "#ff7043", 500: "#ff5722", 600: "#f4511e", 700: "#e64a19", 800: "#d84315", 900: "#bf360c", a100: "#ff9e80", a200: "#ff6e40", a400: "#ff3d00", a700: "#dd2c00" }, W = { 50: "#efebe9", 100: "#d7ccc8", 200: "#bcaaa4", 300: "#a1887f", 400: "#8d6e63", 500: "#795548", 600: "#6d4c41", 700: "#5d4037", 800: "#4e342e", 900: "#3e2723" }, S = { 50: "#fafafa", 100: "#f5f5f5", 200: "#eeeeee", 300: "#e0e0e0", 400: "#bdbdbd", 500: "#9e9e9e", 600: "#757575", 700: "#616161", 800: "#424242", 900: "#212121" }, j = { 50: "#eceff1", 100: "#cfd8dc", 200: "#b0bec5", 300: "#90a4ae", 400: "#78909c", 500: "#607d8b", 600: "#546e7a", 700: "#455a64", 800: "#37474f", 900: "#263238" }, L = { primary: "rgba(0, 0, 0, 0.87)", secondary: "rgba(0, 0, 0, 0.54)", disabled: "rgba(0, 0, 0, 0.38)", dividers: "rgba(0, 0, 0, 0.12)" }, A = { primary: "rgba(255, 255, 255, 1)", secondary: "rgba(255, 255, 255, 0.7)", disabled: "rgba(255, 255, 255, 0.5)", dividers: "rgba(255, 255, 255, 0.12)" }, v = { active: "rgba(0, 0, 0, 0.54)", inactive: "rgba(0, 0, 0, 0.38)" }, M = { active: "rgba(255, 255, 255, 1)", inactive: "rgba(255, 255, 255, 0.5)" }, R = "#ffffff", D = "#000000";
1986
+ i.default = { red: n, pink: o, purple: a, deepPurple: t, indigo: f, blue: r, lightBlue: s, cyan: h, teal: d, green: g, lightGreen: O, lime: x, yellow: C, amber: _, orange: F, deepOrange: H, brown: W, grey: S, blueGrey: j, darkText: L, lightText: A, darkIcons: v, lightIcons: M, white: R, black: D };
1987
+ }, function(c, i, e) {
1988
+ var n = function() {
1989
+ var t = this, f = t.$createElement, r = t._self._c || f;
1990
+ return r("div", { staticClass: "vc-swatches", attrs: { role: "application", "aria-label": "Swatches color picker", "data-pick": t.pick } }, [r("div", { staticClass: "vc-swatches-box", attrs: { role: "listbox" } }, t._l(t.palette, function(s, h) {
1991
+ return r("div", { key: h, staticClass: "vc-swatches-color-group" }, t._l(s, function(d) {
1992
+ return r("div", { key: d, class: ["vc-swatches-color-it", { "vc-swatches-color--white": d === "#FFFFFF" }], style: { background: d }, attrs: { role: "option", "aria-label": "Color:" + d, "aria-selected": t.equal(d), "data-color": d }, on: { click: function(g) {
1993
+ return t.handlerClick(d);
1994
+ } } }, [r("div", { directives: [{ name: "show", rawName: "v-show", value: t.equal(d), expression: "equal(c)" }], staticClass: "vc-swatches-pick" }, [r("svg", { staticStyle: { width: "24px", height: "24px" }, attrs: { viewBox: "0 0 24 24" } }, [r("path", { attrs: { d: "M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z" } })])])]);
1995
+ }), 0);
1996
+ }), 0)]);
1997
+ }, o = [];
1998
+ n._withStripped = !0;
1999
+ var a = { render: n, staticRenderFns: o };
2000
+ i.a = a;
2001
+ }, function(c, i, e) {
2002
+ function n(d) {
2003
+ e(121);
2004
+ }
2005
+ Object.defineProperty(i, "__esModule", { value: !0 });
2006
+ var o = e(53), a = e.n(o);
2007
+ for (var t in o)
2008
+ t !== "default" && function(d) {
2009
+ e.d(i, d, function() {
2010
+ return o[d];
2011
+ });
2012
+ }(t);
2013
+ var f = e(134), r = e(2), s = n, h = r(a.a, f.a, !1, s, null, null);
2014
+ h.options.__file = "src/components/Photoshop.vue", i.default = h.exports;
2015
+ }, function(c, i, e) {
2016
+ var n = e(122);
2017
+ typeof n == "string" && (n = [[c.i, n, ""]]), n.locals && (c.exports = n.locals), e(1)("080365d4", n, !1, {});
2018
+ }, function(c, i, e) {
2019
+ i = c.exports = e(0)(!1), i.push([c.i, `
2020
+ .vc-photoshop {
2021
+ background: #DCDCDC;
2022
+ border-radius: 4px;
2023
+ box-shadow: 0 0 0 1px rgba(0,0,0,.25), 0 8px 16px rgba(0,0,0,.15);
2024
+ box-sizing: initial;
2025
+ width: 513px;
2026
+ font-family: Roboto;
2027
+ }
2028
+ .vc-photoshop__disable-fields {
2029
+ width: 390px;
2030
+ }
2031
+ .vc-ps-head {
2032
+ background-image: linear-gradient(-180deg, #F0F0F0 0%, #D4D4D4 100%);
2033
+ border-bottom: 1px solid #B1B1B1;
2034
+ box-shadow: inset 0 1px 0 0 rgba(255,255,255,.2), inset 0 -1px 0 0 rgba(0,0,0,.02);
2035
+ height: 23px;
2036
+ line-height: 24px;
2037
+ border-radius: 4px 4px 0 0;
2038
+ font-size: 13px;
2039
+ color: #4D4D4D;
2040
+ text-align: center;
2041
+ }
2042
+ .vc-ps-body {
2043
+ padding: 15px;
2044
+ display: flex;
2045
+ }
2046
+ .vc-ps-saturation-wrap {
2047
+ width: 256px;
2048
+ height: 256px;
2049
+ position: relative;
2050
+ border: 2px solid #B3B3B3;
2051
+ border-bottom: 2px solid #F0F0F0;
2052
+ overflow: hidden;
2053
+ }
2054
+ .vc-ps-saturation-wrap .vc-saturation-circle {
2055
+ width: 12px;
2056
+ height: 12px;
2057
+ }
2058
+ .vc-ps-hue-wrap {
2059
+ position: relative;
2060
+ height: 256px;
2061
+ width: 19px;
2062
+ margin-left: 10px;
2063
+ border: 2px solid #B3B3B3;
2064
+ border-bottom: 2px solid #F0F0F0;
2065
+ }
2066
+ .vc-ps-hue-pointer {
2067
+ position: relative;
2068
+ }
2069
+ .vc-ps-hue-pointer--left,
2070
+ .vc-ps-hue-pointer--right {
2071
+ position: absolute;
2072
+ width: 0;
2073
+ height: 0;
2074
+ border-style: solid;
2075
+ border-width: 5px 0 5px 8px;
2076
+ border-color: transparent transparent transparent #555;
2077
+ }
2078
+ .vc-ps-hue-pointer--left:after,
2079
+ .vc-ps-hue-pointer--right:after {
2080
+ content: "";
2081
+ width: 0;
2082
+ height: 0;
2083
+ border-style: solid;
2084
+ border-width: 4px 0 4px 6px;
2085
+ border-color: transparent transparent transparent #fff;
2086
+ position: absolute;
2087
+ top: 1px;
2088
+ left: 1px;
2089
+ transform: translate(-8px, -5px);
2090
+ }
2091
+ .vc-ps-hue-pointer--left {
2092
+ transform: translate(-13px, -4px);
2093
+ }
2094
+ .vc-ps-hue-pointer--right {
2095
+ transform: translate(20px, -4px) rotate(180deg);
2096
+ }
2097
+ .vc-ps-controls {
2098
+ width: 180px;
2099
+ margin-left: 10px;
2100
+ display: flex;
2101
+ }
2102
+ .vc-ps-controls__disable-fields {
2103
+ width: auto;
2104
+ }
2105
+ .vc-ps-actions {
2106
+ margin-left: 20px;
2107
+ flex: 1;
2108
+ }
2109
+ .vc-ps-ac-btn {
2110
+ cursor: pointer;
2111
+ background-image: linear-gradient(-180deg, #FFFFFF 0%, #E6E6E6 100%);
2112
+ border: 1px solid #878787;
2113
+ border-radius: 2px;
2114
+ height: 20px;
2115
+ box-shadow: 0 1px 0 0 #EAEAEA;
2116
+ font-size: 14px;
2117
+ color: #000;
2118
+ line-height: 20px;
2119
+ text-align: center;
2120
+ margin-bottom: 10px;
2121
+ }
2122
+ .vc-ps-previews {
2123
+ width: 60px;
2124
+ }
2125
+ .vc-ps-previews__swatches {
2126
+ border: 1px solid #B3B3B3;
2127
+ border-bottom: 1px solid #F0F0F0;
2128
+ margin-bottom: 2px;
2129
+ margin-top: 1px;
2130
+ }
2131
+ .vc-ps-previews__pr-color {
2132
+ height: 34px;
2133
+ box-shadow: inset 1px 0 0 #000, inset -1px 0 0 #000, inset 0 1px 0 #000;
2134
+ }
2135
+ .vc-ps-previews__label {
2136
+ font-size: 14px;
2137
+ color: #000;
2138
+ text-align: center;
2139
+ }
2140
+ .vc-ps-fields {
2141
+ padding-top: 5px;
2142
+ padding-bottom: 9px;
2143
+ width: 80px;
2144
+ position: relative;
2145
+ }
2146
+ .vc-ps-fields .vc-input__input {
2147
+ margin-left: 40%;
2148
+ width: 40%;
2149
+ height: 18px;
2150
+ border: 1px solid #888888;
2151
+ box-shadow: inset 0 1px 1px rgba(0,0,0,.1), 0 1px 0 0 #ECECEC;
2152
+ margin-bottom: 5px;
2153
+ font-size: 13px;
2154
+ padding-left: 3px;
2155
+ margin-right: 10px;
2156
+ }
2157
+ .vc-ps-fields .vc-input__label, .vc-ps-fields .vc-input__desc {
2158
+ top: 0;
2159
+ text-transform: uppercase;
2160
+ font-size: 13px;
2161
+ height: 18px;
2162
+ line-height: 22px;
2163
+ position: absolute;
2164
+ }
2165
+ .vc-ps-fields .vc-input__label {
2166
+ left: 0;
2167
+ width: 34px;
2168
+ }
2169
+ .vc-ps-fields .vc-input__desc {
2170
+ right: 0;
2171
+ width: 0;
2172
+ }
2173
+ .vc-ps-fields__divider {
2174
+ height: 5px;
2175
+ }
2176
+ .vc-ps-fields__hex .vc-input__input {
2177
+ margin-left: 20%;
2178
+ width: 80%;
2179
+ height: 18px;
2180
+ border: 1px solid #888888;
2181
+ box-shadow: inset 0 1px 1px rgba(0,0,0,.1), 0 1px 0 0 #ECECEC;
2182
+ margin-bottom: 6px;
2183
+ font-size: 13px;
2184
+ padding-left: 3px;
2185
+ }
2186
+ .vc-ps-fields__hex .vc-input__label {
2187
+ position: absolute;
2188
+ top: 0;
2189
+ left: 0;
2190
+ width: 14px;
2191
+ text-transform: uppercase;
2192
+ font-size: 13px;
2193
+ height: 18px;
2194
+ line-height: 22px;
2195
+ }
2196
+ `, ""]);
2197
+ }, function(c, i, e) {
2198
+ var n = e(124);
2199
+ typeof n == "string" && (n = [[c.i, n, ""]]), n.locals && (c.exports = n.locals), e(1)("b5380e52", n, !1, {});
2200
+ }, function(c, i, e) {
2201
+ i = c.exports = e(0)(!1), i.push([c.i, `
2202
+ .vc-saturation,
2203
+ .vc-saturation--white,
2204
+ .vc-saturation--black {
2205
+ cursor: pointer;
2206
+ position: absolute;
2207
+ top: 0;
2208
+ left: 0;
2209
+ right: 0;
2210
+ bottom: 0;
2211
+ }
2212
+ .vc-saturation--white {
2213
+ background: linear-gradient(to right, #fff, rgba(255,255,255,0));
2214
+ }
2215
+ .vc-saturation--black {
2216
+ background: linear-gradient(to top, #000, rgba(0,0,0,0));
2217
+ }
2218
+ .vc-saturation-pointer {
2219
+ cursor: pointer;
2220
+ position: absolute;
2221
+ }
2222
+ .vc-saturation-circle {
2223
+ cursor: head;
2224
+ width: 4px;
2225
+ height: 4px;
2226
+ box-shadow: 0 0 0 1.5px #fff, inset 0 0 1px 1px rgba(0,0,0,.3), 0 0 1px 2px rgba(0,0,0,.4);
2227
+ border-radius: 50%;
2228
+ transform: translate(-2px, -2px);
2229
+ }
2230
+ `, ""]);
2231
+ }, function(c, i) {
2232
+ function e(n, o, a) {
2233
+ return o < a ? n < o ? o : n > a ? a : n : n < a ? a : n > o ? o : n;
2234
+ }
2235
+ c.exports = e;
2236
+ }, function(c, i) {
2237
+ function e(v, M, R) {
2238
+ function D(B) {
2239
+ var nt = G, it = ct;
2240
+ return G = ct = void 0, J = B, ot = v.apply(it, nt);
2241
+ }
2242
+ function I(B) {
2243
+ return J = B, X = setTimeout(N, M), lt ? D(B) : ot;
2244
+ }
2245
+ function P(B) {
2246
+ var nt = B - et, it = B - J, ft = M - nt;
2247
+ return E ? L(ft, tt - it) : ft;
2248
+ }
2249
+ function q(B) {
2250
+ var nt = B - et, it = B - J;
2251
+ return et === void 0 || nt >= M || nt < 0 || E && it >= tt;
2252
+ }
2253
+ function N() {
2254
+ var B = A();
2255
+ if (q(B))
2256
+ return at(B);
2257
+ X = setTimeout(N, P(B));
2258
+ }
2259
+ function at(B) {
2260
+ return X = void 0, Z && G ? D(B) : (G = ct = void 0, ot);
2261
+ }
2262
+ function U() {
2263
+ X !== void 0 && clearTimeout(X), J = 0, G = et = ct = X = void 0;
2264
+ }
2265
+ function Y() {
2266
+ return X === void 0 ? ot : at(A());
2267
+ }
2268
+ function K() {
2269
+ var B = A(), nt = q(B);
2270
+ if (G = arguments, ct = this, et = B, nt) {
2271
+ if (X === void 0)
2272
+ return I(et);
2273
+ if (E)
2274
+ return X = setTimeout(N, M), D(et);
2275
+ }
2276
+ return X === void 0 && (X = setTimeout(N, M)), ot;
2277
+ }
2278
+ var G, ct, tt, ot, X, et, J = 0, lt = !1, E = !1, Z = !0;
2279
+ if (typeof v != "function")
2280
+ throw new TypeError(r);
2281
+ return M = f(M) || 0, o(R) && (lt = !!R.leading, E = "maxWait" in R, tt = E ? j(f(R.maxWait) || 0, M) : tt, Z = "trailing" in R ? !!R.trailing : Z), K.cancel = U, K.flush = Y, K;
2282
+ }
2283
+ function n(v, M, R) {
2284
+ var D = !0, I = !0;
2285
+ if (typeof v != "function")
2286
+ throw new TypeError(r);
2287
+ return o(R) && (D = "leading" in R ? !!R.leading : D, I = "trailing" in R ? !!R.trailing : I), e(v, M, { leading: D, maxWait: M, trailing: I });
2288
+ }
2289
+ function o(v) {
2290
+ var M = typeof v;
2291
+ return !!v && (M == "object" || M == "function");
2292
+ }
2293
+ function a(v) {
2294
+ return !!v && typeof v == "object";
2295
+ }
2296
+ function t(v) {
2297
+ return typeof v == "symbol" || a(v) && S.call(v) == h;
2298
+ }
2299
+ function f(v) {
2300
+ if (typeof v == "number")
2301
+ return v;
2302
+ if (t(v))
2303
+ return s;
2304
+ if (o(v)) {
2305
+ var M = typeof v.valueOf == "function" ? v.valueOf() : v;
2306
+ v = o(M) ? M + "" : M;
2307
+ }
2308
+ if (typeof v != "string")
2309
+ return v === 0 ? v : +v;
2310
+ v = v.replace(d, "");
2311
+ var R = O.test(v);
2312
+ return R || x.test(v) ? C(v.slice(2), R ? 2 : 8) : g.test(v) ? s : +v;
2313
+ }
2314
+ var r = "Expected a function", s = NaN, h = "[object Symbol]", d = /^\s+|\s+$/g, g = /^[-+]0x[0-9a-f]+$/i, O = /^0b[01]+$/i, x = /^0o[0-7]+$/i, C = parseInt, _ = typeof ht == "object" && ht && ht.Object === Object && ht, F = typeof self == "object" && self && self.Object === Object && self, H = _ || F || Function("return this")(), W = Object.prototype, S = W.toString, j = Math.max, L = Math.min, A = function() {
2315
+ return H.Date.now();
2316
+ };
2317
+ c.exports = n;
2318
+ }, function(c, i, e) {
2319
+ var n = function() {
2320
+ var t = this, f = t.$createElement, r = t._self._c || f;
2321
+ return r("div", { ref: "container", staticClass: "vc-saturation", style: { background: t.bgColor }, on: { mousedown: t.handleMouseDown, touchmove: t.handleChange, touchstart: t.handleChange } }, [r("div", { staticClass: "vc-saturation--white" }), t._v(" "), r("div", { staticClass: "vc-saturation--black" }), t._v(" "), r("div", { staticClass: "vc-saturation-pointer", style: { top: t.pointerTop, left: t.pointerLeft } }, [r("div", { staticClass: "vc-saturation-circle" })])]);
2322
+ }, o = [];
2323
+ n._withStripped = !0;
2324
+ var a = { render: n, staticRenderFns: o };
2325
+ i.a = a;
2326
+ }, function(c, i, e) {
2327
+ var n = e(129);
2328
+ typeof n == "string" && (n = [[c.i, n, ""]]), n.locals && (c.exports = n.locals), e(1)("4dc1b086", n, !1, {});
2329
+ }, function(c, i, e) {
2330
+ i = c.exports = e(0)(!1), i.push([c.i, `
2331
+ .vc-alpha {
2332
+ position: absolute;
2333
+ top: 0px;
2334
+ right: 0px;
2335
+ bottom: 0px;
2336
+ left: 0px;
2337
+ }
2338
+ .vc-alpha-checkboard-wrap {
2339
+ position: absolute;
2340
+ top: 0px;
2341
+ right: 0px;
2342
+ bottom: 0px;
2343
+ left: 0px;
2344
+ overflow: hidden;
2345
+ }
2346
+ .vc-alpha-gradient {
2347
+ position: absolute;
2348
+ top: 0px;
2349
+ right: 0px;
2350
+ bottom: 0px;
2351
+ left: 0px;
2352
+ }
2353
+ .vc-alpha-container {
2354
+ cursor: pointer;
2355
+ position: relative;
2356
+ z-index: 2;
2357
+ height: 100%;
2358
+ margin: 0 3px;
2359
+ }
2360
+ .vc-alpha-pointer {
2361
+ z-index: 2;
2362
+ position: absolute;
2363
+ }
2364
+ .vc-alpha-picker {
2365
+ cursor: pointer;
2366
+ width: 4px;
2367
+ border-radius: 1px;
2368
+ height: 8px;
2369
+ box-shadow: 0 0 2px rgba(0, 0, 0, .6);
2370
+ background: #fff;
2371
+ margin-top: 1px;
2372
+ transform: translateX(-2px);
2373
+ }
2374
+ `, ""]);
2375
+ }, function(c, i, e) {
2376
+ var n = e(131);
2377
+ typeof n == "string" && (n = [[c.i, n, ""]]), n.locals && (c.exports = n.locals), e(1)("7e15c05b", n, !1, {});
2378
+ }, function(c, i, e) {
2379
+ i = c.exports = e(0)(!1), i.push([c.i, `
2380
+ .vc-checkerboard {
2381
+ position: absolute;
2382
+ top: 0px;
2383
+ right: 0px;
2384
+ bottom: 0px;
2385
+ left: 0px;
2386
+ background-size: contain;
2387
+ }
2388
+ `, ""]);
2389
+ }, function(c, i, e) {
2390
+ var n = function() {
2391
+ var t = this, f = t.$createElement;
2392
+ return (t._self._c || f)("div", { staticClass: "vc-checkerboard", style: t.bgStyle });
2393
+ }, o = [];
2394
+ n._withStripped = !0;
2395
+ var a = { render: n, staticRenderFns: o };
2396
+ i.a = a;
2397
+ }, function(c, i, e) {
2398
+ var n = function() {
2399
+ var t = this, f = t.$createElement, r = t._self._c || f;
2400
+ return r("div", { staticClass: "vc-alpha" }, [r("div", { staticClass: "vc-alpha-checkboard-wrap" }, [r("checkboard")], 1), t._v(" "), r("div", { staticClass: "vc-alpha-gradient", style: { background: t.gradientColor } }), t._v(" "), r("div", { ref: "container", staticClass: "vc-alpha-container", on: { mousedown: t.handleMouseDown, touchmove: t.handleChange, touchstart: t.handleChange } }, [r("div", { staticClass: "vc-alpha-pointer", style: { left: 100 * t.colors.a + "%" } }, [r("div", { staticClass: "vc-alpha-picker" })])])]);
2401
+ }, o = [];
2402
+ n._withStripped = !0;
2403
+ var a = { render: n, staticRenderFns: o };
2404
+ i.a = a;
2405
+ }, function(c, i, e) {
2406
+ var n = function() {
2407
+ var t = this, f = t.$createElement, r = t._self._c || f;
2408
+ return r("div", { class: ["vc-photoshop", t.disableFields ? "vc-photoshop__disable-fields" : ""], attrs: { role: "application", "aria-label": "PhotoShop color picker" } }, [r("div", { staticClass: "vc-ps-head", attrs: { role: "heading" } }, [t._v(t._s(t.head))]), t._v(" "), r("div", { staticClass: "vc-ps-body" }, [r("div", { staticClass: "vc-ps-saturation-wrap" }, [r("saturation", { on: { change: t.childChange }, model: { value: t.colors, callback: function(s) {
2409
+ t.colors = s;
2410
+ }, expression: "colors" } })], 1), t._v(" "), r("div", { staticClass: "vc-ps-hue-wrap" }, [r("hue", { attrs: { direction: "vertical" }, on: { change: t.childChange }, model: { value: t.colors, callback: function(s) {
2411
+ t.colors = s;
2412
+ }, expression: "colors" } }, [r("div", { staticClass: "vc-ps-hue-pointer" }, [r("i", { staticClass: "vc-ps-hue-pointer--left" }), r("i", { staticClass: "vc-ps-hue-pointer--right" })])])], 1), t._v(" "), r("div", { class: ["vc-ps-controls", t.disableFields ? "vc-ps-controls__disable-fields" : ""] }, [r("div", { staticClass: "vc-ps-previews" }, [r("div", { staticClass: "vc-ps-previews__label" }, [t._v(t._s(t.newLabel))]), t._v(" "), r("div", { staticClass: "vc-ps-previews__swatches" }, [r("div", { staticClass: "vc-ps-previews__pr-color", style: { background: t.colors.hex }, attrs: { "aria-label": "New color is " + t.colors.hex } }), t._v(" "), r("div", { staticClass: "vc-ps-previews__pr-color", style: { background: t.currentColor }, attrs: { "aria-label": "Current color is " + t.currentColor }, on: { click: t.clickCurrentColor } })]), t._v(" "), r("div", { staticClass: "vc-ps-previews__label" }, [t._v(t._s(t.currentLabel))])]), t._v(" "), t.disableFields ? t._e() : r("div", { staticClass: "vc-ps-actions" }, [r("div", { staticClass: "vc-ps-ac-btn", attrs: { role: "button", "aria-label": t.acceptLabel }, on: { click: t.handleAccept } }, [t._v(t._s(t.acceptLabel))]), t._v(" "), r("div", { staticClass: "vc-ps-ac-btn", attrs: { role: "button", "aria-label": t.cancelLabel }, on: { click: t.handleCancel } }, [t._v(t._s(t.cancelLabel))]), t._v(" "), r("div", { staticClass: "vc-ps-fields" }, [r("ed-in", { attrs: { label: "h", desc: "°", value: t.hsv.h }, on: { change: t.inputChange } }), t._v(" "), r("ed-in", { attrs: { label: "s", desc: "%", value: t.hsv.s, max: 100 }, on: { change: t.inputChange } }), t._v(" "), r("ed-in", { attrs: { label: "v", desc: "%", value: t.hsv.v, max: 100 }, on: { change: t.inputChange } }), t._v(" "), r("div", { staticClass: "vc-ps-fields__divider" }), t._v(" "), r("ed-in", { attrs: { label: "r", value: t.colors.rgba.r }, on: { change: t.inputChange } }), t._v(" "), r("ed-in", { attrs: { label: "g", value: t.colors.rgba.g }, on: { change: t.inputChange } }), t._v(" "), r("ed-in", { attrs: { label: "b", value: t.colors.rgba.b }, on: { change: t.inputChange } }), t._v(" "), r("div", { staticClass: "vc-ps-fields__divider" }), t._v(" "), r("ed-in", { staticClass: "vc-ps-fields__hex", attrs: { label: "#", value: t.hex }, on: { change: t.inputChange } })], 1), t._v(" "), t.hasResetButton ? r("div", { staticClass: "vc-ps-ac-btn", attrs: { "aria-label": "reset" }, on: { click: t.handleReset } }, [t._v(t._s(t.resetLabel))]) : t._e()])])])]);
2413
+ }, o = [];
2414
+ n._withStripped = !0;
2415
+ var a = { render: n, staticRenderFns: o };
2416
+ i.a = a;
2417
+ }, function(c, i, e) {
2418
+ function n(d) {
2419
+ e(136);
2420
+ }
2421
+ Object.defineProperty(i, "__esModule", { value: !0 });
2422
+ var o = e(57), a = e.n(o);
2423
+ for (var t in o)
2424
+ t !== "default" && function(d) {
2425
+ e.d(i, d, function() {
2426
+ return o[d];
2427
+ });
2428
+ }(t);
2429
+ var f = e(138), r = e(2), s = n, h = r(a.a, f.a, !1, s, null, null);
2430
+ h.options.__file = "src/components/Sketch.vue", i.default = h.exports;
2431
+ }, function(c, i, e) {
2432
+ var n = e(137);
2433
+ typeof n == "string" && (n = [[c.i, n, ""]]), n.locals && (c.exports = n.locals), e(1)("612c6604", n, !1, {});
2434
+ }, function(c, i, e) {
2435
+ i = c.exports = e(0)(!1), i.push([c.i, `
2436
+ .vc-sketch {
2437
+ position: relative;
2438
+ width: 200px;
2439
+ padding: 10px 10px 0;
2440
+ box-sizing: initial;
2441
+ background: #fff;
2442
+ border-radius: 4px;
2443
+ box-shadow: 0 0 0 1px rgba(0, 0, 0, .15), 0 8px 16px rgba(0, 0, 0, .15);
2444
+ }
2445
+ .vc-sketch-saturation-wrap {
2446
+ width: 100%;
2447
+ padding-bottom: 75%;
2448
+ position: relative;
2449
+ overflow: hidden;
2450
+ }
2451
+ .vc-sketch-controls {
2452
+ display: flex;
2453
+ }
2454
+ .vc-sketch-sliders {
2455
+ padding: 4px 0;
2456
+ flex: 1;
2457
+ }
2458
+ .vc-sketch-sliders .vc-hue,
2459
+ .vc-sketch-sliders .vc-alpha-gradient {
2460
+ border-radius: 2px;
2461
+ }
2462
+ .vc-sketch-hue-wrap {
2463
+ position: relative;
2464
+ height: 10px;
2465
+ }
2466
+ .vc-sketch-alpha-wrap {
2467
+ position: relative;
2468
+ height: 10px;
2469
+ margin-top: 4px;
2470
+ overflow: hidden;
2471
+ }
2472
+ .vc-sketch-color-wrap {
2473
+ width: 24px;
2474
+ height: 24px;
2475
+ position: relative;
2476
+ margin-top: 4px;
2477
+ margin-left: 4px;
2478
+ border-radius: 3px;
2479
+ }
2480
+ .vc-sketch-active-color {
2481
+ position: absolute;
2482
+ top: 0;
2483
+ left: 0;
2484
+ right: 0;
2485
+ bottom: 0;
2486
+ border-radius: 2px;
2487
+ box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .15), inset 0 0 4px rgba(0, 0, 0, .25);
2488
+ z-index: 2;
2489
+ }
2490
+ .vc-sketch-color-wrap .vc-checkerboard {
2491
+ background-size: auto;
2492
+ }
2493
+ .vc-sketch-field {
2494
+ display: flex;
2495
+ padding-top: 4px;
2496
+ }
2497
+ .vc-sketch-field .vc-input__input {
2498
+ width: 90%;
2499
+ padding: 4px 0 3px 10%;
2500
+ border: none;
2501
+ box-shadow: inset 0 0 0 1px #ccc;
2502
+ font-size: 10px;
2503
+ }
2504
+ .vc-sketch-field .vc-input__label {
2505
+ display: block;
2506
+ text-align: center;
2507
+ font-size: 11px;
2508
+ color: #222;
2509
+ padding-top: 3px;
2510
+ padding-bottom: 4px;
2511
+ text-transform: capitalize;
2512
+ }
2513
+ .vc-sketch-field--single {
2514
+ flex: 1;
2515
+ padding-left: 6px;
2516
+ }
2517
+ .vc-sketch-field--double {
2518
+ flex: 2;
2519
+ }
2520
+ .vc-sketch-presets {
2521
+ margin-right: -10px;
2522
+ margin-left: -10px;
2523
+ padding-left: 10px;
2524
+ padding-top: 10px;
2525
+ border-top: 1px solid #eee;
2526
+ }
2527
+ .vc-sketch-presets-color {
2528
+ border-radius: 3px;
2529
+ overflow: hidden;
2530
+ position: relative;
2531
+ display: inline-block;
2532
+ margin: 0 10px 10px 0;
2533
+ vertical-align: top;
2534
+ cursor: pointer;
2535
+ width: 16px;
2536
+ height: 16px;
2537
+ box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .15);
2538
+ }
2539
+ .vc-sketch-presets-color .vc-checkerboard {
2540
+ box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .15);
2541
+ border-radius: 3px;
2542
+ }
2543
+ .vc-sketch__disable-alpha .vc-sketch-color-wrap {
2544
+ height: 10px;
2545
+ }
2546
+ `, ""]);
2547
+ }, function(c, i, e) {
2548
+ var n = function() {
2549
+ var t = this, f = t.$createElement, r = t._self._c || f;
2550
+ return r("div", { class: ["vc-sketch", t.disableAlpha ? "vc-sketch__disable-alpha" : ""], attrs: { role: "application", "aria-label": "Sketch color picker" } }, [r("div", { staticClass: "vc-sketch-saturation-wrap" }, [r("saturation", { on: { change: t.childChange }, model: { value: t.colors, callback: function(s) {
2551
+ t.colors = s;
2552
+ }, expression: "colors" } })], 1), t._v(" "), r("div", { staticClass: "vc-sketch-controls" }, [r("div", { staticClass: "vc-sketch-sliders" }, [r("div", { staticClass: "vc-sketch-hue-wrap" }, [r("hue", { on: { change: t.childChange }, model: { value: t.colors, callback: function(s) {
2553
+ t.colors = s;
2554
+ }, expression: "colors" } })], 1), t._v(" "), t.disableAlpha ? t._e() : r("div", { staticClass: "vc-sketch-alpha-wrap" }, [r("alpha", { on: { change: t.childChange }, model: { value: t.colors, callback: function(s) {
2555
+ t.colors = s;
2556
+ }, expression: "colors" } })], 1)]), t._v(" "), r("div", { staticClass: "vc-sketch-color-wrap" }, [r("div", { staticClass: "vc-sketch-active-color", style: { background: t.activeColor }, attrs: { "aria-label": "Current color is " + t.activeColor } }), t._v(" "), r("checkboard")], 1)]), t._v(" "), t.disableFields ? t._e() : r("div", { staticClass: "vc-sketch-field" }, [r("div", { staticClass: "vc-sketch-field--double" }, [r("ed-in", { attrs: { label: "hex", value: t.hex }, on: { change: t.inputChange } })], 1), t._v(" "), r("div", { staticClass: "vc-sketch-field--single" }, [r("ed-in", { attrs: { label: "r", value: t.colors.rgba.r }, on: { change: t.inputChange } })], 1), t._v(" "), r("div", { staticClass: "vc-sketch-field--single" }, [r("ed-in", { attrs: { label: "g", value: t.colors.rgba.g }, on: { change: t.inputChange } })], 1), t._v(" "), r("div", { staticClass: "vc-sketch-field--single" }, [r("ed-in", { attrs: { label: "b", value: t.colors.rgba.b }, on: { change: t.inputChange } })], 1), t._v(" "), t.disableAlpha ? t._e() : r("div", { staticClass: "vc-sketch-field--single" }, [r("ed-in", { attrs: { label: "a", value: t.colors.a, "arrow-offset": 0.01, max: 1 }, on: { change: t.inputChange } })], 1)]), t._v(" "), r("div", { staticClass: "vc-sketch-presets", attrs: { role: "group", "aria-label": "A color preset, pick one to set as current color" } }, [t._l(t.presetColors, function(s) {
2557
+ return [t.isTransparent(s) ? r("div", { key: s, staticClass: "vc-sketch-presets-color", attrs: { "aria-label": "Color:" + s }, on: { click: function(h) {
2558
+ return t.handlePreset(s);
2559
+ } } }, [r("checkboard")], 1) : r("div", { key: s, staticClass: "vc-sketch-presets-color", style: { background: s }, attrs: { "aria-label": "Color:" + s }, on: { click: function(h) {
2560
+ return t.handlePreset(s);
2561
+ } } })];
2562
+ })], 2)]);
2563
+ }, o = [];
2564
+ n._withStripped = !0;
2565
+ var a = { render: n, staticRenderFns: o };
2566
+ i.a = a;
2567
+ }, function(c, i, e) {
2568
+ function n(d) {
2569
+ e(140);
2570
+ }
2571
+ Object.defineProperty(i, "__esModule", { value: !0 });
2572
+ var o = e(58), a = e.n(o);
2573
+ for (var t in o)
2574
+ t !== "default" && function(d) {
2575
+ e.d(i, d, function() {
2576
+ return o[d];
2577
+ });
2578
+ }(t);
2579
+ var f = e(142), r = e(2), s = n, h = r(a.a, f.a, !1, s, null, null);
2580
+ h.options.__file = "src/components/Chrome.vue", i.default = h.exports;
2581
+ }, function(c, i, e) {
2582
+ var n = e(141);
2583
+ typeof n == "string" && (n = [[c.i, n, ""]]), n.locals && (c.exports = n.locals), e(1)("1cd16048", n, !1, {});
2584
+ }, function(c, i, e) {
2585
+ i = c.exports = e(0)(!1), i.push([c.i, `
2586
+ .vc-chrome {
2587
+ background: #fff;
2588
+ border-radius: 2px;
2589
+ box-shadow: 0 0 2px rgba(0,0,0,.3), 0 4px 8px rgba(0,0,0,.3);
2590
+ box-sizing: initial;
2591
+ width: 225px;
2592
+ font-family: Menlo;
2593
+ background-color: #fff;
2594
+ }
2595
+ .vc-chrome-controls {
2596
+ display: flex;
2597
+ }
2598
+ .vc-chrome-color-wrap {
2599
+ position: relative;
2600
+ width: 36px;
2601
+ }
2602
+ .vc-chrome-active-color {
2603
+ position: relative;
2604
+ width: 30px;
2605
+ height: 30px;
2606
+ border-radius: 15px;
2607
+ overflow: hidden;
2608
+ z-index: 1;
2609
+ }
2610
+ .vc-chrome-color-wrap .vc-checkerboard {
2611
+ width: 30px;
2612
+ height: 30px;
2613
+ border-radius: 15px;
2614
+ background-size: auto;
2615
+ }
2616
+ .vc-chrome-sliders {
2617
+ flex: 1;
2618
+ }
2619
+ .vc-chrome-fields-wrap {
2620
+ display: flex;
2621
+ padding-top: 16px;
2622
+ }
2623
+ .vc-chrome-fields {
2624
+ display: flex;
2625
+ margin-left: -6px;
2626
+ flex: 1;
2627
+ }
2628
+ .vc-chrome-field {
2629
+ padding-left: 6px;
2630
+ width: 100%;
2631
+ }
2632
+ .vc-chrome-toggle-btn {
2633
+ width: 32px;
2634
+ text-align: right;
2635
+ position: relative;
2636
+ }
2637
+ .vc-chrome-toggle-icon {
2638
+ margin-right: -4px;
2639
+ margin-top: 12px;
2640
+ cursor: pointer;
2641
+ position: relative;
2642
+ z-index: 2;
2643
+ }
2644
+ .vc-chrome-toggle-icon-highlight {
2645
+ position: absolute;
2646
+ width: 24px;
2647
+ height: 28px;
2648
+ background: #eee;
2649
+ border-radius: 4px;
2650
+ top: 10px;
2651
+ left: 12px;
2652
+ }
2653
+ .vc-chrome-hue-wrap {
2654
+ position: relative;
2655
+ height: 10px;
2656
+ margin-bottom: 8px;
2657
+ }
2658
+ .vc-chrome-alpha-wrap {
2659
+ position: relative;
2660
+ height: 10px;
2661
+ }
2662
+ .vc-chrome-hue-wrap .vc-hue {
2663
+ border-radius: 2px;
2664
+ }
2665
+ .vc-chrome-alpha-wrap .vc-alpha-gradient {
2666
+ border-radius: 2px;
2667
+ }
2668
+ .vc-chrome-hue-wrap .vc-hue-picker, .vc-chrome-alpha-wrap .vc-alpha-picker {
2669
+ width: 12px;
2670
+ height: 12px;
2671
+ border-radius: 6px;
2672
+ transform: translate(-6px, -2px);
2673
+ background-color: rgb(248, 248, 248);
2674
+ box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.37);
2675
+ }
2676
+ .vc-chrome-body {
2677
+ padding: 16px 16px 12px;
2678
+ background-color: #fff;
2679
+ }
2680
+ .vc-chrome-saturation-wrap {
2681
+ width: 100%;
2682
+ padding-bottom: 55%;
2683
+ position: relative;
2684
+ border-radius: 2px 2px 0 0;
2685
+ overflow: hidden;
2686
+ }
2687
+ .vc-chrome-saturation-wrap .vc-saturation-circle {
2688
+ width: 12px;
2689
+ height: 12px;
2690
+ }
2691
+ .vc-chrome-fields .vc-input__input {
2692
+ font-size: 11px;
2693
+ color: #333;
2694
+ width: 100%;
2695
+ border-radius: 2px;
2696
+ border: none;
2697
+ box-shadow: inset 0 0 0 1px #dadada;
2698
+ height: 21px;
2699
+ text-align: center;
2700
+ }
2701
+ .vc-chrome-fields .vc-input__label {
2702
+ text-transform: uppercase;
2703
+ font-size: 11px;
2704
+ line-height: 11px;
2705
+ color: #969696;
2706
+ text-align: center;
2707
+ display: block;
2708
+ margin-top: 12px;
2709
+ }
2710
+ .vc-chrome__disable-alpha .vc-chrome-active-color {
2711
+ width: 18px;
2712
+ height: 18px;
2713
+ }
2714
+ .vc-chrome__disable-alpha .vc-chrome-color-wrap {
2715
+ width: 30px;
2716
+ }
2717
+ .vc-chrome__disable-alpha .vc-chrome-hue-wrap {
2718
+ margin-top: 4px;
2719
+ margin-bottom: 4px;
2720
+ }
2721
+ `, ""]);
2722
+ }, function(c, i, e) {
2723
+ var n = function() {
2724
+ var t = this, f = t.$createElement, r = t._self._c || f;
2725
+ return r("div", { class: ["vc-chrome", t.disableAlpha ? "vc-chrome__disable-alpha" : ""], attrs: { role: "application", "aria-label": "Chrome color picker" } }, [r("div", { staticClass: "vc-chrome-saturation-wrap" }, [r("saturation", { on: { change: t.childChange }, model: { value: t.colors, callback: function(s) {
2726
+ t.colors = s;
2727
+ }, expression: "colors" } })], 1), t._v(" "), r("div", { staticClass: "vc-chrome-body" }, [r("div", { staticClass: "vc-chrome-controls" }, [r("div", { staticClass: "vc-chrome-color-wrap" }, [r("div", { staticClass: "vc-chrome-active-color", style: { background: t.activeColor }, attrs: { "aria-label": "current color is " + t.colors.hex } }), t._v(" "), t.disableAlpha ? t._e() : r("checkboard")], 1), t._v(" "), r("div", { staticClass: "vc-chrome-sliders" }, [r("div", { staticClass: "vc-chrome-hue-wrap" }, [r("hue", { on: { change: t.childChange }, model: { value: t.colors, callback: function(s) {
2728
+ t.colors = s;
2729
+ }, expression: "colors" } })], 1), t._v(" "), t.disableAlpha ? t._e() : r("div", { staticClass: "vc-chrome-alpha-wrap" }, [r("alpha", { on: { change: t.childChange }, model: { value: t.colors, callback: function(s) {
2730
+ t.colors = s;
2731
+ }, expression: "colors" } })], 1)])]), t._v(" "), t.disableFields ? t._e() : r("div", { staticClass: "vc-chrome-fields-wrap" }, [r("div", { directives: [{ name: "show", rawName: "v-show", value: t.fieldsIndex === 0, expression: "fieldsIndex === 0" }], staticClass: "vc-chrome-fields" }, [r("div", { staticClass: "vc-chrome-field" }, [t.hasAlpha ? t._e() : r("ed-in", { attrs: { label: "hex", value: t.colors.hex }, on: { change: t.inputChange } }), t._v(" "), t.hasAlpha ? r("ed-in", { attrs: { label: "hex", value: t.colors.hex8 }, on: { change: t.inputChange } }) : t._e()], 1)]), t._v(" "), r("div", { directives: [{ name: "show", rawName: "v-show", value: t.fieldsIndex === 1, expression: "fieldsIndex === 1" }], staticClass: "vc-chrome-fields" }, [r("div", { staticClass: "vc-chrome-field" }, [r("ed-in", { attrs: { label: "r", value: t.colors.rgba.r }, on: { change: t.inputChange } })], 1), t._v(" "), r("div", { staticClass: "vc-chrome-field" }, [r("ed-in", { attrs: { label: "g", value: t.colors.rgba.g }, on: { change: t.inputChange } })], 1), t._v(" "), r("div", { staticClass: "vc-chrome-field" }, [r("ed-in", { attrs: { label: "b", value: t.colors.rgba.b }, on: { change: t.inputChange } })], 1), t._v(" "), t.disableAlpha ? t._e() : r("div", { staticClass: "vc-chrome-field" }, [r("ed-in", { attrs: { label: "a", value: t.colors.a, "arrow-offset": 0.01, max: 1 }, on: { change: t.inputChange } })], 1)]), t._v(" "), r("div", { directives: [{ name: "show", rawName: "v-show", value: t.fieldsIndex === 2, expression: "fieldsIndex === 2" }], staticClass: "vc-chrome-fields" }, [r("div", { staticClass: "vc-chrome-field" }, [r("ed-in", { attrs: { label: "h", value: t.hsl.h }, on: { change: t.inputChange } })], 1), t._v(" "), r("div", { staticClass: "vc-chrome-field" }, [r("ed-in", { attrs: { label: "s", value: t.hsl.s }, on: { change: t.inputChange } })], 1), t._v(" "), r("div", { staticClass: "vc-chrome-field" }, [r("ed-in", { attrs: { label: "l", value: t.hsl.l }, on: { change: t.inputChange } })], 1), t._v(" "), t.disableAlpha ? t._e() : r("div", { staticClass: "vc-chrome-field" }, [r("ed-in", { attrs: { label: "a", value: t.colors.a, "arrow-offset": 0.01, max: 1 }, on: { change: t.inputChange } })], 1)]), t._v(" "), r("div", { staticClass: "vc-chrome-toggle-btn", attrs: { role: "button", "aria-label": "Change another color definition" }, on: { click: t.toggleViews } }, [r("div", { staticClass: "vc-chrome-toggle-icon" }, [r("svg", { staticStyle: { width: "24px", height: "24px" }, attrs: { viewBox: "0 0 24 24" }, on: { mouseover: t.showHighlight, mouseenter: t.showHighlight, mouseout: t.hideHighlight } }, [r("path", { attrs: { fill: "#333", d: "M12,18.17L8.83,15L7.42,16.41L12,21L16.59,16.41L15.17,15M12,5.83L15.17,9L16.58,7.59L12,3L7.41,7.59L8.83,9L12,5.83Z" } })])]), t._v(" "), r("div", { directives: [{ name: "show", rawName: "v-show", value: t.highlight, expression: "highlight" }], staticClass: "vc-chrome-toggle-icon-highlight" })])])])]);
2732
+ }, o = [];
2733
+ n._withStripped = !0;
2734
+ var a = { render: n, staticRenderFns: o };
2735
+ i.a = a;
2736
+ }, function(c, i, e) {
2737
+ function n(d) {
2738
+ e(144);
2739
+ }
2740
+ Object.defineProperty(i, "__esModule", { value: !0 });
2741
+ var o = e(59), a = e.n(o);
2742
+ for (var t in o)
2743
+ t !== "default" && function(d) {
2744
+ e.d(i, d, function() {
2745
+ return o[d];
2746
+ });
2747
+ }(t);
2748
+ var f = e(146), r = e(2), s = n, h = r(a.a, f.a, !1, s, null, null);
2749
+ h.options.__file = "src/components/Twitter.vue", i.default = h.exports;
2750
+ }, function(c, i, e) {
2751
+ var n = e(145);
2752
+ typeof n == "string" && (n = [[c.i, n, ""]]), n.locals && (c.exports = n.locals), e(1)("669a48a5", n, !1, {});
2753
+ }, function(c, i, e) {
2754
+ i = c.exports = e(0)(!1), i.push([c.i, `
2755
+ .vc-twitter {
2756
+ background: #fff;
2757
+ border: 0 solid rgba(0,0,0,0.25);
2758
+ box-shadow: 0 1px 4px rgba(0,0,0,0.25);
2759
+ border-radius: 4px;
2760
+ position: relative;
2761
+ }
2762
+ .vc-twitter-triangle {
2763
+ width: 0px;
2764
+ height: 0px;
2765
+ border-style: solid;
2766
+ border-width: 0 9px 10px 9px;
2767
+ border-color: transparent transparent #fff transparent;
2768
+ position: absolute;
2769
+ }
2770
+ .vc-twitter-triangle-shadow {
2771
+ width: 0px;
2772
+ height: 0px;
2773
+ border-style: solid;
2774
+ border-width: 0 9px 10px 9px;
2775
+ border-color: transparent transparent rgba(0, 0, 0, .1) transparent;
2776
+ position: absolute;
2777
+ }
2778
+ .vc-twitter-body {
2779
+ padding: 15px 9px 9px 15px;
2780
+ }
2781
+ .vc-twitter .vc-editable-input {
2782
+ position: relative;
2783
+ }
2784
+ .vc-twitter .vc-editable-input input {
2785
+ width: 100px;
2786
+ font-size: 14px;
2787
+ color: #666;
2788
+ border: 0px;
2789
+ outline: none;
2790
+ height: 28px;
2791
+ box-shadow: inset 0 0 0 1px #F0F0F0;
2792
+ box-sizing: content-box;
2793
+ border-radius: 0 4px 4px 0;
2794
+ float: left;
2795
+ padding: 1px;
2796
+ padding-left: 8px;
2797
+ }
2798
+ .vc-twitter .vc-editable-input span {
2799
+ display: none;
2800
+ }
2801
+ .vc-twitter-hash {
2802
+ background: #F0F0F0;
2803
+ height: 30px;
2804
+ width: 30px;
2805
+ border-radius: 4px 0 0 4px;
2806
+ float: left;
2807
+ color: #98A1A4;
2808
+ display: flex;
2809
+ align-items: center;
2810
+ justify-content: center;
2811
+ }
2812
+ .vc-twitter-swatch {
2813
+ width: 30px;
2814
+ height: 30px;
2815
+ float: left;
2816
+ border-radius: 4px;
2817
+ margin: 0 6px 6px 0;
2818
+ cursor: pointer;
2819
+ position: relative;
2820
+ outline: none;
2821
+ }
2822
+ .vc-twitter-clear {
2823
+ clear: both;
2824
+ }
2825
+ .vc-twitter-hide-triangle .vc-twitter-triangle {
2826
+ display: none;
2827
+ }
2828
+ .vc-twitter-hide-triangle .vc-twitter-triangle-shadow {
2829
+ display: none;
2830
+ }
2831
+ .vc-twitter-top-left-triangle .vc-twitter-triangle{
2832
+ top: -10px;
2833
+ left: 12px;
2834
+ }
2835
+ .vc-twitter-top-left-triangle .vc-twitter-triangle-shadow{
2836
+ top: -11px;
2837
+ left: 12px;
2838
+ }
2839
+ .vc-twitter-top-right-triangle .vc-twitter-triangle{
2840
+ top: -10px;
2841
+ right: 12px;
2842
+ }
2843
+ .vc-twitter-top-right-triangle .vc-twitter-triangle-shadow{
2844
+ top: -11px;
2845
+ right: 12px;
2846
+ }
2847
+ `, ""]);
2848
+ }, function(c, i, e) {
2849
+ var n = function() {
2850
+ var t = this, f = t.$createElement, r = t._self._c || f;
2851
+ return r("div", { staticClass: "vc-twitter", class: { "vc-twitter-hide-triangle ": t.triangle === "hide", "vc-twitter-top-left-triangle ": t.triangle === "top-left", "vc-twitter-top-right-triangle ": t.triangle === "top-right" }, style: { width: typeof t.width == "number" ? t.width + "px" : t.width } }, [r("div", { staticClass: "vc-twitter-triangle-shadow" }), t._v(" "), r("div", { staticClass: "vc-twitter-triangle" }), t._v(" "), r("div", { staticClass: "vc-twitter-body" }, [t._l(t.defaultColors, function(s, h) {
2852
+ return r("span", { key: h, staticClass: "vc-twitter-swatch", style: { background: s, boxShadow: "0 0 4px " + (t.equal(s) ? s : "transparent") }, on: { click: function(d) {
2853
+ return t.handlerClick(s);
2854
+ } } });
2855
+ }), t._v(" "), r("div", { staticClass: "vc-twitter-hash" }, [t._v("#")]), t._v(" "), r("editable-input", { attrs: { label: "#", value: t.hex }, on: { change: t.inputChange } }), t._v(" "), r("div", { staticClass: "vc-twitter-clear" })], 2)]);
2856
+ }, o = [];
2857
+ n._withStripped = !0;
2858
+ var a = { render: n, staticRenderFns: o };
2859
+ i.a = a;
2860
+ }]);
2861
+ });
2862
+ })(vt);
2863
+ var xt = vt.exports;
2864
+ const mt = {
2865
+ name: "ColorPicker",
2866
+ extends: xt.Chrome
2867
+ }, _t = null, wt = null;
2868
+ var yt = /* @__PURE__ */ bt(
2869
+ mt,
2870
+ _t,
2871
+ wt,
2872
+ !1,
2873
+ null,
2874
+ "d5b1f2a4"
2875
+ );
2876
+ const Ft = yt.exports;
2877
+ export {
2878
+ Ft as C
2879
+ };