@joker.front/datav 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,925 @@
1
+ var _e = Object.defineProperty;
2
+ var ue = (e, l, o) => l in e ? _e(e, l, { enumerable: !0, configurable: !0, writable: !0, value: o }) : e[l] = o;
3
+ var t = (e, l, o) => ue(e, typeof l != "symbol" ? l + "" : l, o);
4
+ function p(e = 32) {
5
+ let l = [], o = [
6
+ "0",
7
+ "1",
8
+ "2",
9
+ "3",
10
+ "4",
11
+ "5",
12
+ "6",
13
+ "7",
14
+ "8",
15
+ "9",
16
+ "a",
17
+ "b",
18
+ "c",
19
+ "d",
20
+ "e",
21
+ "f",
22
+ "g",
23
+ "h",
24
+ "i",
25
+ "j",
26
+ "k",
27
+ "l",
28
+ "m",
29
+ "n",
30
+ "o",
31
+ "p",
32
+ "q",
33
+ "r",
34
+ "s",
35
+ "t",
36
+ "u",
37
+ "v",
38
+ "w",
39
+ "x",
40
+ "y",
41
+ "z"
42
+ ];
43
+ for (let i = 0; i < e; i++) {
44
+ let r = Math.round(Math.random() * (o.length - 1));
45
+ l.push(o[r]);
46
+ }
47
+ return l.join("");
48
+ }
49
+ function be(e, l = "-") {
50
+ return e = e || "", e.split(/(?=[A-Z])/).map((i) => i.toLowerCase()).join(l);
51
+ }
52
+ function ye(e, l, o = {}) {
53
+ let i, r = !1, n = 0, d = () => {
54
+ i && clearTimeout(i);
55
+ }, h = (c) => {
56
+ d(), r = !c;
57
+ };
58
+ function a(...c) {
59
+ let g = Date.now() - n;
60
+ if (r)
61
+ return;
62
+ let m = () => {
63
+ n = Date.now(), l.apply(a, c);
64
+ };
65
+ function E() {
66
+ i = void 0;
67
+ }
68
+ !o.noLeading && o.debounceMode && !i && m(), d(), o.debounceMode === void 0 && g > e ? o.noLeading ? (n = Date.now(), o.noTrailing || (i = setTimeout(o.debounceMode ? E : m, e))) : m() : o.noTrailing !== !0 && (i = setTimeout(o.debounceMode ? E : m, o.debounceMode === void 0 ? e - g : e));
69
+ }
70
+ return a.cancel = h, a;
71
+ }
72
+ function Re(e, l, o = !1) {
73
+ return ye(e, l, { debounceMode: o !== !1 });
74
+ }
75
+ class s extends window[Symbol.for("JOKER")].Component {
76
+ constructor(...o) {
77
+ super(...o);
78
+ t(this, "container");
79
+ t(this, "debounceInitWHFun", Re(100, this.initSize.bind(this)));
80
+ t(this, "resize");
81
+ t(this, "domObserver");
82
+ this.model.width = 0, this.model.height = 0, this.$on("mounted", () => {
83
+ var i;
84
+ this.container = this.$rootVNode.first((r) => r instanceof window[Symbol.for("JOKER")].VNode.Element).output, this.container && (this.initSize(), (i = this.resize) == null || i.call(this), this.bindDomResizeCallback());
85
+ }), this.$on("beforeDestroy", () => {
86
+ this.unbindDomResizeCallback();
87
+ });
88
+ }
89
+ initSize() {
90
+ var o;
91
+ this.container && (this.model.width = this.container.clientWidth, this.model.height = this.container.clientHeight, (o = this.resize) == null || o.call(this));
92
+ }
93
+ bindDomResizeCallback() {
94
+ this.container && (this.domObserver = Ce(this.container, this.debounceInitWHFun), window.addEventListener("resize", this.debounceInitWHFun));
95
+ }
96
+ unbindDomResizeCallback() {
97
+ this.container && (this.domObserver && (this.domObserver.disconnect(), this.domObserver.takeRecords()), window.removeEventListener("resize", this.debounceInitWHFun));
98
+ }
99
+ fade(o, i) {
100
+ o = o.replace("#", "");
101
+ let r = parseInt(o.substring(0, 2), 16), n = parseInt(o.substring(2, 4), 16), d = parseInt(o.substring(4, 6), 16);
102
+ return `rgba(${r},${n},${d},${i / 100})`;
103
+ }
104
+ }
105
+ function Ce(e, l) {
106
+ let o = new MutationObserver(l);
107
+ return o.observe(e, { attributes: !0, attributeFilter: ["style"], attributeOldValue: !0 }), o;
108
+ }
109
+ class Se extends s {
110
+ constructor() {
111
+ super(...arguments);
112
+ t(this, "propsOption", {
113
+ colors: ["#4fd2dd", "#235fa7"],
114
+ backgroundColor: "transparent"
115
+ });
116
+ t(this, "border", ["left-top", "right-top", "left-bottom", "right-bottom"]);
117
+ }
118
+ }
119
+ let ve = { render: function(e) {
120
+ return [e.createElement("div", { class: "@(['container', props.class])" }, [e.createElement("svg", { class: "border", width: "@model.width", height: "@model.height" }, [e.createElement("polygon", { fill: "@props.backgroundColor", points: "10, 27 10, @(model.height - 27) 13, @(model.height - 24) 13, @(model.height - 21) 24, @(model.height - 11) 38, @(model.height - 11) 41, @(model.height - 8) 73, @(model.height - 8) 75, @(model.height-10) 81, @(model.height - 10) 85, @(model.height - 6) @(model.width - 85), @(model.height - 6) @(model.width - 81), @(model.height - 10) @(model.width - 75), @(model.height - 10) @(model.width - 73), @(model.height - 8) @(model.width - 41), @(model.height - 8) @(model.width-38), @(model.height - 11) @(model.width - 24), @(model.height - 11) @(model.width - 13), @(model.height - 21) @(model.width -13), @(model.height - 24) @(model.width - 10), @(model.height - 27) @(model.width - 10), 27 @(model.width - 13), 25 @(model.width -13), 21 @(model.width - 24), 11 @(model.width - 38), 11 @(model.width - 41), 8 @(model.width - 73), 8 @(model.width -75), 10 @(model.width - 81), 10 @(model.width -85), 6 85, 6 81, 10 75, 10 73, 8 41, 8 38, 11 24, 11 13, 21 13, 24" }, [])]), e.createCommand("for", "let item of border", [e.createElement("svg", { width: "150px", height: "150px", class: "@item border" }, [e.createElement("polygon", { fill: "@(props.colors[0])", points: "6,66 6,18 12,12 18,12 24,6 27,6 30,9 36,9 39,6 84,6 81,9 75,9 73.2,7 40.8,7 37.8,10.2 24,10.2 12,21 12,24 9,27 9,51 7.8,54 7.8,63" }, [e.createElement("animate", { attributeName: "fill", values: "@(props.colors[0]);@(props.colors[1]);@(props.colors[0])", dur: "0.5s", begin: "0s", repeatCount: "indefinite" }, [])]), e.createElement("polygon", { fill: "@(props.colors[1])", points: "27.599999999999998,4.8 38.4,4.8 35.4,7.8 30.599999999999998,7.8" }, [e.createElement("animate", { attributeName: "fill", values: "@(props.colors[1]);@(props.colors[0]);@(props.colors[1])", dur: "0.5s", begin: "0s", repeatCount: "indefinite" }, [])]), e.createElement("polygon", { fill: "@(props.colors[0])", points: "9,54 9,63 7.199999999999999,66 7.199999999999999,75 7.8,78 7.8,110 8.4,110 8.4,66 9.6,66 9.6,54" }, [e.createElement("animate", { attributeName: "fill", values: "@(props.colors[0]);@(props.colors[1]);transparent", dur: "1s", begin: "0s", repeatCount: "indefinite" }, [])])])]), e.createElement("div", { class: "border-box-content" }, [e.createCommand("RenderSection", "")])])];
121
+ } }, ke = {
122
+ component: Se
123
+ };
124
+ var R, C;
125
+ let Oe = class extends (C = ke.component, R = window[Symbol.for("JOKER")].SCOPE_ID, C) {
126
+ constructor() {
127
+ super(...arguments);
128
+ t(this, R, "2b4d949b");
129
+ t(this, "template", ve.render);
130
+ }
131
+ };
132
+ class Ie extends s {
133
+ constructor() {
134
+ super(...arguments);
135
+ t(this, "propsOption", {
136
+ colors: ["#fff", "rgba(255, 255, 255, 0.6)"],
137
+ backgroundColor: "transparent"
138
+ });
139
+ }
140
+ }
141
+ let Le = { render: function(e) {
142
+ return [e.createElement("div", { class: "@(['container', props.class])" }, [e.createElement("svg", { class: "dv-border-svg-container", width: "@model.width", height: "@model.height" }, [e.createElement("polygon", { fill: "@props.backgroundColor", points: "7, 7 @(model.width-7), 7 @(model.width-7), @(model.height-7) 7, @(model.height-7)" }, []), e.createElement("polyline", { stroke: "@props.colors[0]", points: "2, 2 @(model.width-2) ,2 @(model.width-2), @(model.height-2) 2, @(model.height-2) 2, 2" }, []), e.createElement("polyline", { stroke: "@props.colors[1]", points: "6, 6 @(model.width-6), 6 @(model.width-6), @(model.height-6) 6, @(model.height-6) 6, 6" }, []), e.createElement("circle", { fill: "@props.colors[0]", cx: "11", cy: "11", r: "1" }, []), e.createElement("circle", { fill: "@props.colors[0]", cx: "@(model.width - 11)", cy: "11", r: "1" }, []), e.createElement("circle", { fill: "@props.colors[0]", cx: "@(model.width - 11)", cy: "@(model.height - 11)", r: "1" }, []), e.createElement("circle", { fill: "@props.colors[0]", cx: "11", cy: "@(model.height - 11)", r: "1" }, [])]), e.createElement("div", { class: "border-box-content" }, [e.createCommand("RenderSection", "")])])];
143
+ } }, Pe = {
144
+ component: Ie
145
+ };
146
+ var S, v;
147
+ let xe = class extends (v = Pe.component, S = window[Symbol.for("JOKER")].SCOPE_ID, v) {
148
+ constructor() {
149
+ super(...arguments);
150
+ t(this, S, "3b9d3fa6");
151
+ t(this, "template", Le.render);
152
+ }
153
+ };
154
+ class Ae extends s {
155
+ constructor() {
156
+ super(...arguments);
157
+ t(this, "propsOption", {
158
+ colors: ["#2862b7", "#2862b7"],
159
+ backgroundColor: "transparent"
160
+ });
161
+ }
162
+ }
163
+ let Te = { render: function(e) {
164
+ return [e.createElement("div", { class: "@(['container', props.class])" }, [e.createElement("svg", { class: "dv-border-svg-container", width: "@model.width", height: "@model.height" }, [e.createElement("polygon", { fill: "@props.backgroundColor", points: "23, 23 @(model.width-24), 23 @(model.width-24), @(model.height-24) 23, @(model.height-24)" }, []), e.createElement("polyline", { class: "dv-bb3-line1", stroke: "@props.colors[0]", points: "4, 4 @(model.width-22) ,4 @(model.width-22), @(model.height-22) 4, @(model.height-22) 4, 4" }, []), e.createElement("polyline", { class: "dv-bb3-line2", stroke: "@props.colors[1]", points: "10, 10 @(model.width-16), 10 @(model.width-16), @(model.height-16) 10, @(model.height-16) 10, 10" }, []), e.createElement("polyline", { class: "dv-bb3-line2", stroke: "@props.colors[1]", points: "16, 16 @(model.width-10), 16 @(model.width-10), @(model.height-10) 16, @(model.height-10) 16, 16" }, []), e.createElement("polyline", { class: "dv-bb3-line2", stroke: "@props.colors[1]", points: "22, 22 @(model.width-4), 22 @(model.width-4), @(model.height-4) 22, @(model.height-4) 22, 22" }, [])]), e.createElement("div", { class: "border-box-content" }, [e.createCommand("RenderSection", "")])])];
165
+ } }, Ne = {
166
+ component: Ae
167
+ };
168
+ var k, O;
169
+ let $e = class extends (O = Ne.component, k = window[Symbol.for("JOKER")].SCOPE_ID, O) {
170
+ constructor() {
171
+ super(...arguments);
172
+ t(this, k, "113d37b6");
173
+ t(this, "template", Te.render);
174
+ }
175
+ };
176
+ class De extends s {
177
+ constructor() {
178
+ super(...arguments);
179
+ t(this, "propsOption", {
180
+ colors: ["red", "rgba(0,0,255,0.8)"],
181
+ backgroundColor: "transparent"
182
+ });
183
+ }
184
+ }
185
+ let Me = { render: function(e) {
186
+ return [e.createElement("div", { class: "@(['container', props.class])" }, [e.createElement("svg", { class: "dv-border-svg-container @(props.reverse && 'dv-reverse')", width: "@model.width", height: "@model.height" }, [e.createElement("polygon", { fill: "@props.backgroundColor", points: "@(model.width-15), 22 170, 22 150, 7 40, 7 28, 21 32, 24 16, 42 16, @(model.height-32) 41, @(model.height-7) @(model.width-15), @(model.height-7)" }, []), e.createElement("polyline", { class: "dv-bb4-line-1", stroke: "@props.colors[0]", points: "145, @(model.height-5) 40, @(model.height-5) 10, @(model.height-35) 10, 40 40, 5 150, 5 170, 20 @(model.width-15), 20" }, []), e.createElement("polyline", { stroke: "@props.colors[1]", class: "dv-bb4-line-2", points: "245, @(model.height-1) 36, @(model.height-1) 14,@(model.height-23) 14, @(model.height-100)" }, []), e.createElement("polyline", { class: "dv-bb4-line-3", stroke: "@props.colors[0]", points: "7, @(model.height-40) 7, @(model.height-75)" }, []), e.createElement("polyline", { class: "dv-bb4-line-4", stroke: "@props.colors[0]", points: "28, 24 13, 41 13, 64" }, []), e.createElement("polyline", { class: "dv-bb4-line-5", stroke: "@props.colors[0]", points: "5, 45 5, 140" }, []), e.createElement("polyline", { class: "dv-bb4-line-6", stroke: "@props.colors[1]", points: "14, 75 14, 180" }, []), e.createElement("polyline", { class: "dv-bb4-line-7", stroke: "@props.colors[1]", points: "55, 11 147, 11 167, 26 250, 26" }, []), e.createElement("polyline", { class: "dv-bb4-line-8", stroke: "@props.colors[1]", points: "158, 5 173, 16" }, []), e.createElement("polyline", { class: "dv-bb4-line-9", stroke: "@props.colors[0]", points: "200, 17 @(model.width-10), 17" }, []), e.createElement("polyline", { class: "dv-bb4-line-10", stroke: "@props.colors[1]", points: "385, 17 @(model.width-10), 17" }, [])]), e.createElement("div", { class: "border-box-content" }, [e.createCommand("RenderSection", "")])])];
187
+ } }, Je = {
188
+ component: De
189
+ };
190
+ var I, L;
191
+ let Ke = class extends (L = Je.component, I = window[Symbol.for("JOKER")].SCOPE_ID, L) {
192
+ constructor() {
193
+ super(...arguments);
194
+ t(this, I, "237a53e4");
195
+ t(this, "template", Me.render);
196
+ }
197
+ };
198
+ class Fe extends s {
199
+ constructor() {
200
+ super(...arguments);
201
+ t(this, "propsOption", {
202
+ colors: ["rgba(255, 255, 255, 0.35)", "rgba(255, 255, 255, 0.20)"],
203
+ backgroundColor: "transparent"
204
+ });
205
+ }
206
+ }
207
+ let We = { render: function(e) {
208
+ return [e.createElement("div", { class: "@(['container', props.class])" }, [e.createElement("svg", { class: "dv-border-svg-container @(props.reverse && 'dv-reverse')", width: "@model.width", height: "@model.height" }, [e.createElement("polygon", { fill: "@props.backgroundColor", points: "10, 22 @(model.width-22), 22 @(model.width-22), @(model.height-86) @(model.height-84), @(model.height-24) 10, @(model.height-24)" }, []), e.createElement("polyline", { class: "dv-bb5-line-1", stroke: "@props.colors[0]", points: "8, 5 @(model.width-5), 5 @(model.width-5), @(model.height-100) @(model.width-100), @(model.height-5) 8, @(model.height-5) 8, 5" }, []), e.createElement("polyline", { class: "dv-bb5-line-2", stroke: "@props.colors[1]", points: "3, 5 @(model.width-20), 5 @(model.width-20), @(model.height-60) @(model.width-74), @(model.height-5) 3, @(model.height-5) 3, 5" }, []), e.createElement("polyline", { class: "dv-bb5-line-3", stroke: "@props.colors[1]", points: "50, 13 @(model.width-35), 13" }, []), e.createElement("polyline", { class: "dv-bb5-line-4", stroke: "@props.colors[1]", points: "15, 20 @(model.width-35), 20" }, []), e.createElement("polyline", { class: "dv-bb5-line-5", stroke: "@props.colors[1]", points: "15, @(model.height-20) @(model.width-110), @(model.height-20)" }, []), e.createElement("polyline", { class: "dv-bb5-line-6", stroke: "@props.colors[1]", points: "15, @(model.height-13) @(model.width-110), @(model.height-13)" }, [])]), e.createElement("div", { class: "border-box-content" }, [e.createCommand("RenderSection", "")])])];
209
+ } }, He = {
210
+ component: Fe
211
+ };
212
+ var P, x;
213
+ let ze = class extends (x = He.component, P = window[Symbol.for("JOKER")].SCOPE_ID, x) {
214
+ constructor() {
215
+ super(...arguments);
216
+ t(this, P, "6fd7b4d4");
217
+ t(this, "template", We.render);
218
+ }
219
+ };
220
+ class Be extends s {
221
+ constructor() {
222
+ super(...arguments);
223
+ t(this, "propsOption", {
224
+ colors: ["rgba(255, 255, 255, 0.35)", "gray"],
225
+ backgroundColor: "transparent"
226
+ });
227
+ }
228
+ }
229
+ let Ge = { render: function(e) {
230
+ return [e.createElement("div", { class: "@(['container', props.class])" }, [e.createElement("svg", { class: "dv-border-svg-container", width: "@model.width", height: "@model.height" }, [e.createElement("polygon", { fill: "@props.backgroundColor", points: "9, 7 @(model.width-9), 7 @(model.width-9), @(model.height-7) 9, @(model.height-7)" }, []), e.createElement("circle", { fill: "@props.colors[1]", cx: "5", cy: "5", r: "2" }, []), e.createElement("circle", { fill: "@props.colors[1]", cx: "@(model.width - 5)", cy: "5", r: "2" }, []), e.createElement("circle", { fill: "@props.colors[1]", cx: "@(model.width - 5)", ":cy": "height - 5", r: "2" }, []), e.createElement("circle", { fill: "@props.colors[1]", cx: "5", cy: "@(model.height - 5)", r: "2" }, []), e.createElement("polyline", { stroke: "@props.colors[0]", points: "10, 4 @(model.width - 10), 4" }, []), e.createElement("polyline", { stroke: "@props.colors[0]", points: "10, @(model.height-4) @(model.width - 10), @(model.height-4)" }, []), e.createElement("polyline", { stroke: "@props.colors[0]", points: "5, 70 5, @(model.height-70)" }, []), e.createElement("polyline", { stroke: "@props.colors[0]", points: "@(model.width - 5), 70 @(model.width - 5), @(model.height-70)" }, []), e.createElement("polyline", { stroke: "@props.colors[0]", points: "3, 10, 3, 50" }, []), e.createElement("polyline", { stroke: "@props.colors[0]", points: "7, 30 7, 80" }, []), e.createElement("polyline", { stroke: "@props.colors[0]", points: "@(model.width - 3), 10 @(model.width - 3), 50" }, []), e.createElement("polyline", { stroke: "@props.colors[0]", points: "@(model.width - 7), 30 @(model.width - 7), 80" }, []), e.createElement("polyline", { stroke: "@props.colors[0]", points: "3, @(model.height-10) 3, @(model.height-50)" }, []), e.createElement("polyline", { stroke: "@props.colors[0]", points: "7, @(model.height-30) 7, @(model.height-80)" }, []), e.createElement("polyline", { stroke: "@props.colors[0]", points: "@(model.width-3), @(model.height-10) @(model.width-3), @(model.height-50)" }, []), e.createElement("polyline", { stroke: "@props.colors[0]", points: "@(model.width-7), @(model.height-30) @(model.width-7), @(model.height-80)" }, [])]), e.createElement("div", { class: "border-box-content" }, [e.createCommand("RenderSection", "")])])];
231
+ } }, Xe = {
232
+ component: Be
233
+ };
234
+ var A, T;
235
+ let Ue = class extends (T = Xe.component, A = window[Symbol.for("JOKER")].SCOPE_ID, T) {
236
+ constructor() {
237
+ super(...arguments);
238
+ t(this, A, "ebdf6a26");
239
+ t(this, "template", Ge.render);
240
+ }
241
+ };
242
+ class je extends s {
243
+ constructor() {
244
+ super(...arguments);
245
+ t(this, "propsOption", {
246
+ colors: ["rgba(128,128,128,0.3)", "rgba(128,128,128,0.5)"],
247
+ backgroundColor: "transparent"
248
+ });
249
+ }
250
+ }
251
+ let Qe = { render: function(e) {
252
+ return [e.createElement("div", { class: "@(['container', props.class])", style: "box-shadow: inset 0 0 40px @(props.colors[0]); border: 1px solid @(props.colors[0]); background-color: @(props.backgroundColor)" }, [e.createElement("svg", { class: "dv-border-svg-container", width: "@model.width", height: "@model.height" }, [e.createElement("polyline", { class: "dv-bb7-line-width-2", stroke: "@props.colors[0]", points: "0, 25 0, 0 25, 0" }, []), e.createElement("polyline", { class: "dv-bb7-line-width-2", stroke: "@props.colors[0]", points: "@(model.width-25), 0 @(model.width), 0 @(model.width), 25" }, []), e.createElement("polyline", { class: "dv-bb7-line-width-2", stroke: "@props.colors[0]", points: "@(model.width-25), @(model.height) @(model.width), @(model.height) @(model.width), @(model.height-25)" }, []), e.createElement("polyline", { class: "dv-bb7-line-width-2", stroke: "@props.colors[0]", points: "0, @(model.height-25) 0, @(model.height) 25, @(model.height)" }, []), e.createElement("polyline", { class: "dv-bb7-line-width-5", stroke: "@props.colors[1]", points: "0, 10 0, 0 10, 0" }, []), e.createElement("polyline", { class: "dv-bb7-line-width-5", stroke: "@props.colors[1]", points: "@(model.width-10), 0 @(model.width), 0 @(model.width), 10" }, []), e.createElement("polyline", { class: "dv-bb7-line-width-5", stroke: "@props.colors[1]", points: "@(model.width-10), @(model.height) @(model.width), @(model.height) @(model.width), @(model.height-10)" }, []), e.createElement("polyline", { class: "dv-bb7-line-width-5", stroke: "@props.colors[1]", points: "0, @(model.height-10) 0, @(model.height) 10, @(model.height)" }, [])]), e.createElement("div", { class: "border-box-content" }, [e.createCommand("RenderSection", "")])])];
253
+ } }, Ve = {
254
+ component: je
255
+ };
256
+ var N, $;
257
+ let qe = class extends ($ = Ve.component, N = window[Symbol.for("JOKER")].SCOPE_ID, $) {
258
+ constructor() {
259
+ super(...arguments);
260
+ t(this, N, "44fa29fb");
261
+ t(this, "template", Qe.render);
262
+ }
263
+ };
264
+ class Ze extends s {
265
+ constructor() {
266
+ super(...arguments);
267
+ t(this, "path", `border-box-8-path-${p()}`);
268
+ t(this, "gradient", `border-box-8-gradient-${p()}`);
269
+ t(this, "mask", `border-box-8-mask-${p()}`);
270
+ t(this, "propsOption", {
271
+ colors: ["#235fa7", "#4fd2dd"],
272
+ backgroundColor: "transparent",
273
+ dur: 3
274
+ });
275
+ }
276
+ get length() {
277
+ return (this.model.width + this.model.height - 5) * 2;
278
+ }
279
+ get pathD() {
280
+ return this.props.reverse ? `M 2.5, 2.5 L 2.5, ${this.model.height - 2.5} L ${this.model.width - 2.5}, ${this.model.height - 2.5} L ${this.model.width - 2.5}, 2.5 L 2.5, 2.5` : `M2.5, 2.5 L${this.model.width - 2.5}, 2.5 L${this.model.width - 2.5}, ${this.model.height - 2.5} L2.5, ${this.model.height - 2.5} L2.5, 2.5`;
281
+ }
282
+ }
283
+ let Ye = { render: function(e) {
284
+ return [e.createElement("div", { class: "@(['container', props.class])" }, [e.createElement("svg", { class: "dv-border-svg-container", width: "@model.width", height: "@model.height" }, [e.createElement("defs", {}, [e.createElement("path", { id: "@path", d: "@pathD", fill: "transparent" }, []), e.createElement("radialGradient", { id: "@gradient", cx: "50%", cy: "50%", r: "50%" }, [e.createElement("stop", { offset: "0%", "stop-color": "#fff", "stop-opacity": "1" }, []), e.createElement("stop", { offset: "100%", "stop-color": "#fff", "stop-opacity": "0" }, [])]), e.createElement("mask", { id: "@mask" }, [e.createElement("circle", { cx: "0", cy: "0", r: "150", fill: "url(#@(gradient))" }, [e.createElement("animateMotion", { dur: "@(props.dur)s", path: "@pathD", rotate: "auto", repeatCount: "indefinite" }, [])])])]), e.createElement("polygon", { fill: "@props.backgroundColor", points: "5, 5 @(model.width-5), 5 @(model.width-5) @(model.height-5) 5,@(model.height-5)" }, []), e.createElement("use", { stroke: "@props.colors[0]", "stroke-width": "1", "xlink:href": "#@(path)" }, []), e.createElement("use", { stroke: "@props.colors[1]", "stroke-width": "3", "xlink:href": "#@(path)", mask: "url(#@(mask))" }, [e.createElement("animate", { attributeName: "stroke-dasharray", from: "0, @(length)", to: "@length, 0", dur: "@(props.dur)s", repeatCount: "indefinite" }, [])])]), e.createElement("div", { class: "border-box-content" }, [e.createCommand("RenderSection", "")])])];
285
+ } }, et = {
286
+ component: Ze
287
+ };
288
+ var D, M;
289
+ let tt = class extends (M = et.component, D = window[Symbol.for("JOKER")].SCOPE_ID, M) {
290
+ constructor() {
291
+ super(...arguments);
292
+ t(this, D, "df10b11e");
293
+ t(this, "template", Ye.render);
294
+ }
295
+ };
296
+ class ot extends s {
297
+ constructor() {
298
+ super(...arguments);
299
+ t(this, "gradient", `border-box-9-gradient-${p()}`);
300
+ t(this, "mask", `border-box-9-mask-${p()}`);
301
+ t(this, "propsOption", {
302
+ colors: ["#11eefd", "#0078d2"],
303
+ backgroundColor: "transparent",
304
+ dur: 3
305
+ });
306
+ }
307
+ get length() {
308
+ return (this.model.width + this.model.height - 5) * 2;
309
+ }
310
+ get pathD() {
311
+ return this.props.reverse ? `M 2.5, 2.5 L 2.5, ${this.model.height - 2.5} L ${this.model.width - 2.5}, ${this.model.height - 2.5} L ${this.model.width - 2.5}, 2.5 L 2.5, 2.5` : `M2.5, 2.5 L${this.model.width - 2.5}, 2.5 L${this.model.width - 2.5}, ${this.model.height - 2.5} L2.5, ${this.model.height - 2.5} L2.5, 2.5`;
312
+ }
313
+ }
314
+ let lt = { render: function(e) {
315
+ return [e.createElement("div", { class: "@(['container', props.class])" }, [e.createElement("svg", { class: "dv-border-svg-container", width: "@model.width", height: "@model.height" }, [e.createElement("defs", {}, [e.createElement("linearGradient", { id: "@gradient", x1: "0%", y1: "0%", x2: "100%", y2: "100%" }, [e.createElement("animate", { attributeName: "x1", values: "0%;100%;0%", dur: "10s", begin: "0s", repeatCount: "indefinite" }, []), e.createElement("animate", { attributeName: "x2", values: "100%;0%;100%", dur: "10s", begin: "0s", repeatCount: "indefinite" }, []), e.createElement("stop", { offset: "0%", "stop-color": "@props.colors[0]" }, [e.createElement("animate", { attributeName: "stop-color", values: "@(props.colors[0]);@(props.colors[1]);@(props.colors[0])", dur: "10s", begin: "0s", repeatCount: "indefinite" }, [])]), e.createElement("stop", { offset: "100%", "stop-color": "@(props.colors[1])" }, [e.createElement("animate", { attributeName: "stop-color", values: "`@(props.colors[1]);@(props.colors[0]);@(props.colors[1])", dur: "10s", begin: "0s", repeatCount: "indefinite" }, [])])]), e.createElement("mask", { id: "@mask" }, [e.createElement("polyline", { stroke: "#fff", "stroke-width": "3", fill: "transparent", points: "8, @(model.height*0.4) 8, 3, @(model.width*0.4+7), 3" }, []), e.createElement("polyline", { fill: "#fff", points: "8, @(model.height*0.15) 8, 3, @(model.width*0.1+7), 3 @(model.width*0.1), 8 14, 8 14, @(model.height*0.15-7)" }, []), e.createElement("polyline", { stroke: "#fff", "stroke-width": "3", fill: "transparent", points: "@(model.width*0.5), 3 @(model.width -3), 3, @(model.width -3), @(model.height*0.25)" }, []), e.createElement("polyline", { fill: "#fff", points: "@(model.width*0.52), 3 @(model.width*0.58), 3 @(model.width*0.58-7), 9 @(model.width*0.52-7), 9" }, []), e.createElement("polyline", { fill: "#fff", points: "@(model.width*0.9), 3 @(model.width -3), 3 @(model.width -3), @(model.height*0.1) @(model.width -9), @(model.height*0.1-7) @(model.width -9), 9 @(model.width *0.9+7), 9" }, []), e.createElement("polyline", { stroke: "#fff", "stroke-width": "3", fill: "transparent", points: "8, @(model.height*0.5) 8, @(model.height -3) @(model.width *0.3 + 7), @(model.height -3)" }, []), e.createElement("polyline", { fill: "#fff", points: "8, @(model.height*0.55) 8, @(model.height*0.7) 2,@(model.height*0.7-7) 2, @(model.height*0.55+7)" }, []), e.createElement("polyline", { stroke: "#fff", "stroke-width": "3", fill: "transparent", points: "@(model.width * 0.35), @(model.height - 3) @(model.width - 3), @(model.height - 3) @(model.width - 3), @(model.height*0.35)" }, []), e.createElement("polyline", { fill: "#fff", points: "@(model.width * 0.92), @(model.height - 3) @(model.width - 3), @(model.height - 3) @(model.width - 3), @(model.height *0.8) @(model.width - 9), @(model.height*0.8 + 7) @(model.width - 9), @(model.height - 9) @(model.width*0.92 +7), @(model.height - 9)" }, [])])]), e.createElement("polygon", { fill: "@props.backgroundColor", points: "15, 9 @(model.width * 0.1 + 1), 9 @(model.width * 0.1 + 4), 6 @(model.width * 0.52 + 2), 6 @(model.width * 0.52 + 6), 10 @(model.width * 0.58 - 7), 10 @(model.width * 0.58 - 2), 6 @(model.width * 0.9 + 2), 6 @(model.width * 0.9 + 6), 10 @(model.width - 10), 10 @(model.width - 10), @(model.height * 0.1 - 6) @(model.width - 6), @(model.height * 0.1 - 1) @(model.width - 6), @(model.height * 0.8 + 1) @(model.width - 10), @(model.height * 0.8 + 6) @(model.width - 10), @(model.height - 10) @(model.width * 0.92 + 7), @(model.height - 10) @(model.width * 0.92 + 2), @(model.height - 6) 11, @(model.height - 6) 11, @(model.height * 0.15 - 2) 15, @(model.height * 0.15 - 7)" }, []), e.createElement("rect", { x: "0", y: "0", width: "@model.width", height: "@model.height", fill: "url(#@(gradient))", mask: "url(#@(mask))" }, [])]), e.createElement("div", { class: "border-box-content" }, [e.createCommand("RenderSection", "")])])];
316
+ } }, it = {
317
+ component: ot
318
+ };
319
+ var J, K;
320
+ let rt = class extends (K = it.component, J = window[Symbol.for("JOKER")].SCOPE_ID, K) {
321
+ constructor() {
322
+ super(...arguments);
323
+ t(this, J, "e4c62a5f");
324
+ t(this, "template", lt.render);
325
+ }
326
+ };
327
+ class nt extends s {
328
+ constructor() {
329
+ super(...arguments);
330
+ t(this, "propsOption", {
331
+ colors: ["#1d48c4", "#d3e1f8"],
332
+ backgroundColor: "transparent"
333
+ });
334
+ t(this, "border", ["left-top", "right-top", "left-bottom", "right-bottom"]);
335
+ }
336
+ }
337
+ let dt = { render: function(e) {
338
+ return [e.createElement("div", { class: "@(['container', props.class])", style: "box-shadow: inset 0 0 25px 3px @(props.colors[0])" }, [e.createElement("svg", { class: "dv-border-svg-container", width: "@model.width", height: "@model.height" }, [e.createElement("polygon", { fill: "@props.backgroundColor", points: "4, 0 @(model.width - 4), 0 @(model.width), 4 @(model.width), @(model.height - 4) @(model.width - 4), @(model.height) 4, @(model.height) 0, @(model.height - 4) 0, 4" }, [])]), e.createCommand("for", "let item of border", [e.createElement("svg", { width: "150px", height: "150px", class: "@item dv-border-svg-container" }, [e.createElement("polygon", { fill: "@(props.colors[1])", points: "40, 0 5, 0 0, 5 0, 16 3, 19 3, 7 7, 3 35, 3" }, [])])]), e.createElement("div", { class: "border-box-content" }, [e.createCommand("RenderSection", "")])])];
339
+ } }, st = {
340
+ component: nt
341
+ };
342
+ var F, W;
343
+ let at = class extends (W = st.component, F = window[Symbol.for("JOKER")].SCOPE_ID, W) {
344
+ constructor() {
345
+ super(...arguments);
346
+ t(this, F, "c1b255d6");
347
+ t(this, "template", dt.render);
348
+ }
349
+ };
350
+ class mt extends s {
351
+ constructor() {
352
+ super(...arguments);
353
+ t(this, "propsOption", {
354
+ colors: ["#8aaafb", "#1f33a2"],
355
+ backgroundColor: "transparent",
356
+ titleWidth: 250,
357
+ title: ""
358
+ });
359
+ t(this, "filterId", `border-box-11-filterId-${p()}`);
360
+ }
361
+ }
362
+ let pt = { render: function(e) {
363
+ return [e.createElement("div", { class: "@(['container', props.class])" }, [e.createElement("svg", { class: "dv-border-svg-container", width: "@model.width", height: "@model.height" }, [e.createElement("defs", {}, [e.createElement("filter", { id: "@filterId", height: "150%", width: "150%", x: "-25%", y: "-25%" }, [e.createElement("feMorphology", { operator: "dilate", radius: "2", in: "SourceAlpha", result: "thicken" }, []), e.createElement("feGaussianBlur", { in: "thicken", stdDeviation: "3", result: "blurred" }, []), e.createElement("feFlood", { "flood-color": "@(props.colors[1])", result: "glowColor" }, []), e.createElement("feComposite", { in: "glowColor", in2: "blurred", operator: "in", result: "softGlowColored" }, []), e.createElement("feMerge", {}, [e.createElement("feMergeNode", { in: "softGlowColored" }, []), e.createElement("feMergeNode", { in: "SourceGraphic" }, [])])])]), e.createElement("polygon", { fill: "@props.backgroundColor", points: "20, 32 @(model.width * 0.5 - props.titleWidth / 2), 32 @(model.width * 0.5 - props.titleWidth / 2 + 20), 53 @(model.width * 0.5 + props.titleWidth / 2 - 20), 53 @(model.width * 0.5 + props.titleWidth / 2), 32 @(model.width - 20), 32 @(model.width - 8), 48 @(model.width - 8), @(model.height - 25) @(model.width - 20), @(model.height - 8) 20, @(model.height - 8) 8, @(model.height - 25) 8, 50" }, []), e.createElement("polyline", { stroke: "@(props.colors[0])", filter: "url(#@(filterId))", points: "@((model.width - props.titleWidth) / 2), 30 20, 30 7, 50 7, @(50 + (model.height - 167) / 2) 13, @(55 + (model.height - 167) / 2) 13, @(135 + (model.height - 167) / 2) 7, @(140 + (model.height - 167) / 2) 7, @(model.height - 27) 20, @(model.height - 7) @(model.width - 20), @(model.height - 7) @(model.width - 7), @(model.height - 27) @(model.width - 7), @(140 + (model.height - 167) / 2) @(model.width - 13), @(135 + (model.height - 167) / 2) @(model.width - 13), @(55 + (model.height - 167) / 2) @(model.width - 7), @(50 + (model.height - 167) / 2) @(model.width - 7), 50 @(model.width - 20), 30 @((model.width + props.titleWidth) / 2), 30 @((model.width + props.titleWidth) / 2 - 20), 7 @((model.width - props.titleWidth) / 2 + 20), 7 @((model.width - props.titleWidth) / 2), 30 @((model.width - props.titleWidth) / 2 + 20), 52 @((model.width + props.titleWidth) / 2 - 20), 52 @((model.width + props.titleWidth) / 2), 30" }, []), e.createElement("polygon", { stroke: "@(props.colors[0])", fill: "transparent", points: "@((model.width + props.titleWidth) / 2 - 5), 30 @((model.width + props.titleWidth) / 2 - 21), 11 @((model.width + props.titleWidth) / 2 - 27), 11 @((model.width + props.titleWidth) / 2 - 8), 34" }, []), e.createElement("polygon", { stroke: "@(props.colors[0])", fill: "transparent", points: "@((model.width - props.titleWidth) / 2 + 5), 30 @((model.width - props.titleWidth) / 2 + 22), 49 @((model.width - props.titleWidth) / 2 + 28), 49 @((model.width - props.titleWidth) / 2 + 8), 26" }, []), e.createElement("polygon", { stroke: "@(props.colors[0])", fill: "@(fade(props.colors[1]), 30)", filter: "url(#@(filterId))", points: "@((model.width + props.titleWidth) / 2 - 11), 37 @((model.width + props.titleWidth) / 2 - 32), 11 @((model.width - props.titleWidth) / 2 + 23), 11 @((model.width - props.titleWidth) / 2 + 11), 23 @((model.width - props.titleWidth) / 2 + 33), 49 @((model.width + props.titleWidth) / 2 - 22), 49" }, []), e.createElement("polygon", { filter: "url(#@(filterId))", fill: "@(props.colors[0])", opacity: "1", points: "@((model.width - props.titleWidth) / 2 - 10), 37 @((model.width - props.titleWidth) / 2 - 31), 37 @((model.width - props.titleWidth) / 2 - 25), 46 @((model.width - props.titleWidth) / 2 - 4), 46" }, [e.createElement("animate", { attributeName: "opacity", values: "1;0.7;1", dur: "2s", begin: "0s", repeatCount: "indefinite" }, [])]), e.createElement("polygon", { filter: "url(#@(filterId))", fill: "@(props.colors[0])", opacity: "0.7", points: "@((model.width - props.titleWidth) / 2 - 40), 37 @((model.width - props.titleWidth) / 2 - 61), 37 @((model.width - props.titleWidth) / 2 - 55), 46 @((model.width - props.titleWidth) / 2 - 34), 46" }, [e.createElement("animate", { attributeName: "opacity", values: "0.7;0.4;0.7", dur: "2s", begin: "0s", repeatCount: "indefinite" }, [])]), e.createElement("polygon", { filter: "url(#@(filterId))", fill: "@(props.colors[0])", opacity: "0.5", points: "@((model.width - props.titleWidth) / 2 - 70), 37 @((model.width - props.titleWidth) / 2 - 91), 37 @((model.width - props.titleWidth) / 2 - 85), 46 @((model.width - props.titleWidth) / 2 - 64), 46" }, [e.createElement("animate", { attributeName: "opacity", values: "0.5;0.2;0.5", dur: "2s", begin: "0s", repeatCount: "indefinite" }, [])]), e.createElement("polygon", { filter: "url(#@(filterId))", fill: "@(props.colors[0])", opacity: "1", points: "@((model.width + props.titleWidth) / 2 + 30), 37 @((model.width + props.titleWidth) / 2 + 9), 37 @((model.width + props.titleWidth) / 2 + 3), 46 @((model.width + props.titleWidth) / 2 + 24), 46" }, [e.createElement("animate", { attributeName: "opacity", values: "1;0.7;1", dur: "2s", begin: "0s", repeatCount: "indefinite" }, [])]), e.createElement("polygon", { filter: "url(#@(filterId))", fill: "@(props.colors[0])", opacity: "0.7", points: "@((model.width + props.titleWidth) / 2 + 60), 37 @((model.width + props.titleWidth) / 2 + 39), 37 @((model.width + props.titleWidth) / 2 + 33), 46 @((model.width + props.titleWidth) / 2 + 54), 46" }, [e.createElement("animate", { attributeName: "opacity", values: "0.7;0.4;0.7", dur: "2s", begin: "0s", repeatCount: "indefinite" }, [])]), e.createElement("polygon", { filter: "url(#@(filterId))", fill: "@(props.colors[0])", opacity: "0.5", points: "@((model.width + props.titleWidth) / 2 + 90), 37 @((model.width + props.titleWidth) / 2 + 69), 37 @((model.width + props.titleWidth) / 2 + 63), 46 @((model.width + props.titleWidth) / 2 + 84), 46" }, [e.createElement("animate", { attributeName: "opacity", values: "0.5;0.2;0.5", dur: "2s", begin: "0s", repeatCount: "indefinite" }, [])]), e.createElement("text", { class: "dv-border-box-11-title", x: "@(model.width / 2)", y: "32", fill: "#fff", "font-size": "18", "text-anchor": "middle", "dominant-baseline": "middle" }, [e.createCodeFunction("props.title")]), e.createElement("polygon", { fill: "@(props.colors[0])", filter: "url(#@(filterId))", points: "7, @(53 + (model.height - 167) / 2) 11, @(57 + (model.height - 167) / 2) 11, @(133 + (model.height - 167) / 2) 7, @(137 + (model.height - 167) / 2)" }, []), e.createElement("polygon", { fill: "@(props.colors[0])", filter: "url(#@(filterId))", points: "@(model.width - 7), @(53 + (model.height - 167) / 2) @(model.width - 11), @(57 + (model.height - 167) / 2) @(model.width - 11), @(133 + (model.height - 167) / 2) @(model.width - 7), @(137 + (model.height - 167) / 2)" }, [])]), e.createElement("div", { class: "border-box-content" }, [e.createCommand("RenderSection", "")])])];
364
+ } }, ct = {
365
+ component: mt
366
+ };
367
+ var H, z;
368
+ let ht = class extends (z = ct.component, H = window[Symbol.for("JOKER")].SCOPE_ID, z) {
369
+ constructor() {
370
+ super(...arguments);
371
+ t(this, H, "639f3c2e");
372
+ t(this, "template", pt.render);
373
+ }
374
+ };
375
+ class gt extends s {
376
+ constructor() {
377
+ super(...arguments);
378
+ t(this, "propsOption", {
379
+ colors: ["#2e6099", "#7ce7fd"],
380
+ backgroundColor: "transparent"
381
+ });
382
+ t(this, "filterId", `borderr-box-12-filterId-${p()}`);
383
+ }
384
+ }
385
+ let Et = { render: function(e) {
386
+ return [e.createElement("div", { class: "@(['container', props.class])" }, [e.createElement("svg", { class: "dv-border-svg-container", width: "@model.width", height: "@model.height" }, [e.createElement("defs", {}, [e.createElement("filter", { id: "@filterId", height: "150%", width: "150%", x: "-25%", y: "-25%" }, [e.createElement("feMorphology", { operator: "dilate", radius: "1", in: "SourceAlpha", result: "thicken" }, []), e.createElement("feGaussianBlur", { in: "thicken", stdDeviation: "2", result: "blurred" }, []), e.createElement("feFlood", { "flood-color": "@(fade(props.colors[1]), 70)", result: "glowColor" }, [e.createElement("animate", { attributeName: "flood-color", values: "@(fade(props.colors[1], 70)); @(fade(props.colors[1], 30)); @(fade(props.colors[1], 70));", dur: "3s", begin: "0s", repeatCount: "indefinite" }, [])]), e.createElement("feComposite", { in: "glowColor", in2: "blurred", operator: "in", result: "softGlowColored" }, []), e.createElement("feMerge", {}, [e.createElement("feMergeNode", { in: "softGlowColored" }, []), e.createElement("feMergeNode", { in: "SourceGraphic" }, [])])])]), e.createElement("path", { "v-if": "width && height", fill: "@props.backgroundColor", "stroke-width": "2", stroke: "@(props.colors[0])", d: "M15 5 L @(model.width - 15) 5 Q @(model.width - 5) 5, @(model.width - 5) 15 L @(model.width - 5) @(model.height - 15) Q @(model.width - 5) @(model.height - 5), @(model.width - 15) @(model.height - 5) L 15, @(model.height - 5) Q 5 @(model.height - 5) 5 @(model.height - 15) L 5 15 Q 5 5 15 5" }, []), e.createElement("path", { "stroke-width": "2", fill: "transparent", "stroke-linecap": "round", filter: "url(#@(filterId))", stroke: "@(props.colors[1])", d: "M 20 5 L 15 5 Q 5 5 5 15 L 5 20" }, []), e.createElement("path", { "stroke-width": "2", fill: "transparent", "stroke-linecap": "round", filter: "url(#@(filterId))", stroke: "@(props.colors[1])", d: "M @(model.width - 20) 5 L @(model.width - 15) 5 Q @(model.width - 5) 5 @(model.width - 5) 15 L @(model.width - 5) 20" }, []), e.createElement("path", { "stroke-width": "2", fill: "transparent", "stroke-linecap": "round", filter: "url(#@(filterId))", stroke: "@(props.colors[1])", d: "M @(model.width - 20) @(model.height - 5) L @(model.width - 15) @(model.height - 5) Q @(model.width - 5) @(model.height - 5) @(model.width - 5) @(model.height - 15) L @(model.width - 5) @(model.height - 20)" }, []), e.createElement("path", { "stroke-width": "2", fill: "transparent", "stroke-linecap": "round", filter: "url(#@(filterId))", stroke: "@(props.colors[1])", d: "M 20 @(model.height - 5) L 15 @(model.height - 5) Q 5 @(model.height - 5) 5 @(model.height - 15) L 5 @(model.height - 20)" }, [])]), e.createElement("div", { class: "border-box-content" }, [e.createElement("slot", {}, [])])])];
387
+ } }, wt = {
388
+ component: gt
389
+ };
390
+ var B, G;
391
+ let ft = class extends (G = wt.component, B = window[Symbol.for("JOKER")].SCOPE_ID, G) {
392
+ constructor() {
393
+ super(...arguments);
394
+ t(this, B, "9a8985f2");
395
+ t(this, "template", Et.render);
396
+ }
397
+ };
398
+ class _t extends s {
399
+ constructor() {
400
+ super(...arguments);
401
+ t(this, "propsOption", {
402
+ colors: ["#6586ec", "#2cf7fe"],
403
+ backgroundColor: "transparent"
404
+ });
405
+ }
406
+ }
407
+ let ut = { render: function(e) {
408
+ return [e.createElement("div", { class: "@(['container', props.class])" }, [e.createElement("svg", { class: "dv-border-svg-container", width: "@model.width", height: "@model.height" }, [e.createElement("path", { fill: "@props.backgroundColor", stroke: "@(props.colors[0])", d: "M 5 20 L 5 10 L 12 3 L 60 3 L 68 10 L @(model.width - 20) 10 L @(model.width - 5) 25 L @(model.width - 5) @(model.height - 5) L 20 @(model.height - 5) L 5 @(model.height - 20) L 5 20" }, []), e.createElement("path", { fill: "transparent", "stroke-width": "3", "stroke-linecap": "round", "stroke-dasharray": "10, 5", stroke: "@(props.colors[0])", d: "M 16 9 L 61 9" }, []), e.createElement("path", { fill: "transparent", stroke: "@(props.colors[1])", d: "M 5 20 L 5 10 L 12 3 L 60 3 L 68 10" }, []), e.createElement("path", { fill: "transparent", stroke: "@(props.colors[1])", d: "M @(model.width - 5) @(model.height - 30) L @(model.width - 5) @(model.height - 5) L @(model.width - 30) @(model.height - 5)" }, [])]), e.createElement("div", { class: "border-box-content" }, [e.createCommand("RenderSection", "")])])];
409
+ } }, bt = {
410
+ component: _t
411
+ };
412
+ var X, U;
413
+ let yt = class extends (U = bt.component, X = window[Symbol.for("JOKER")].SCOPE_ID, U) {
414
+ constructor() {
415
+ super(...arguments);
416
+ t(this, X, "9f1d0629");
417
+ t(this, "template", ut.render);
418
+ }
419
+ };
420
+ class Rt extends s {
421
+ constructor() {
422
+ super(...arguments);
423
+ t(this, "propsOption", {
424
+ colors: ["#fff", "#0de7c2"]
425
+ });
426
+ t(this, "model", {
427
+ width: 0,
428
+ height: 0,
429
+ points: [],
430
+ rects: [],
431
+ svgScale: [1, 1]
432
+ });
433
+ t(this, "resize", () => {
434
+ this.calcPointsPosition(), this.calcRectsPosition(), this.calcScale();
435
+ });
436
+ t(this, "svgWH", [200, 50]);
437
+ t(this, "rowNum", 4);
438
+ t(this, "rowPoints", 20);
439
+ t(this, "pointSideLength", 2.5);
440
+ t(this, "halfPointSideLength", 2.5 / 2);
441
+ }
442
+ calcPointsPosition() {
443
+ let { svgWH: o, rowNum: i, rowPoints: r } = this, [n, d] = o, h = n / (r + 1), a = d / (i + 1), c = new Array(i).fill(0).map(
444
+ (g, m) => new Array(r).fill(0).map((E, w) => [h * (w + 1), a * (m + 1)])
445
+ );
446
+ this.model.points = c.reduce((g, m) => [...g, ...m], []);
447
+ }
448
+ calcRectsPosition() {
449
+ let o = this.model.points[this.rowPoints * 2 - 1], i = this.model.points[this.rowPoints * 2 - 3];
450
+ this.model.rects = [o, i];
451
+ }
452
+ calcScale() {
453
+ let [o, i] = this.svgWH;
454
+ this.model.svgScale = [this.model.width / o, this.model.height / i];
455
+ }
456
+ }
457
+ let Ct = { render: function(e) {
458
+ return [e.createElement("div", { class: "@(['container', props.class])", style: "@props.style" }, [e.createElement("svg", { width: "@(svgWH[0])px", height: "@(svgWH[1])px", style: "transform:scale(@(model.svgScale[0]),@(model.svgScale[1]));" }, [e.createCommand("for", "let point of model.points", [e.createCommand("if", "Math.random() > 0.6", [e.createElement("rect", { fill: "@(props.colors[0])", x: "@(point[0] - halfPointSideLength)", y: "@(point[1] - halfPointSideLength)", width: "@pointSideLength", height: "@pointSideLength" }, [e.createCommand("if", "Math.random() > 0.6", [e.createElement("animate", { attributeName: "fill", values: "@(props.colors[0]);transparent", dur: "1s", begin: "@(Math.random() * 2)", repeatCount: "indefinite" }, [])])])])]), e.createCommand("if", "model.rects[0]", [e.createElement("rect", { fill: "@(props.colors[1])", x: "@(model.rects[0][0] - pointSideLength)", y: "@(model.rects[0][1] - pointSideLength)", width: "@(pointSideLength * 2)", height: "@(pointSideLength * 2)" }, [e.createElement("animate", { attributeName: "width", values: "0;@(pointSideLength * 2)", dur: "2s", repeatCount: "indefinite" }, []), e.createElement("animate", { attributeName: "height", values: "0;@(pointSideLength * 2)", dur: "2s", repeatCount: "indefinite" }, []), e.createElement("animate", { attributeName: "x", values: "@(model.rects[0][0]);@(model.rects[0][0] - pointSideLength)", dur: "2s", repeatCount: "indefinite" }, []), e.createElement("animate", { attributeName: "y", values: "@(model.rects[0][1]);@(model.rects[0][1] - pointSideLength)", dur: "2s", repeatCount: "indefinite" }, [])])]), e.createCommand("if", "model.rects[1]", [e.createElement("rect", { fill: "@(props.colors[1])", x: "@(model.rects[1][0] - 40)", y: "@(model.rects[1][1] - pointSideLength)", width: "40", height: "@(pointSideLength * 2)" }, [e.createElement("animate", { attributeName: "width", values: "0;40;0", dur: "2s", repeatCount: "indefinite" }, []), e.createElement("animate", { attributeName: "x", values: "@(model.rects[1][0]);@(model.rects[1][0] - 40);@(model.rects[1][0])", dur: "2s", repeatCount: "indefinite" }, [])])])])])];
459
+ } }, St = {
460
+ component: Rt
461
+ };
462
+ var j, Q;
463
+ let vt = class extends (Q = St.component, j = window[Symbol.for("JOKER")].SCOPE_ID, Q) {
464
+ constructor() {
465
+ super(...arguments);
466
+ t(this, j, "5d2cdceb");
467
+ t(this, "template", Ct.render);
468
+ }
469
+ };
470
+ class kt extends s {
471
+ constructor() {
472
+ super(...arguments);
473
+ t(this, "propsOption", {
474
+ colors: ["#3faacb", "#fff"],
475
+ dur: 6
476
+ });
477
+ t(this, "model", {
478
+ width: 0,
479
+ height: 0,
480
+ x: 0,
481
+ y: 0,
482
+ w: 0,
483
+ h: 0
484
+ });
485
+ t(this, "resize", () => {
486
+ this.calcSVGData();
487
+ });
488
+ }
489
+ calcSVGData() {
490
+ this.props.reverse ? (this.model.w = 1, this.model.h = this.model.height, this.model.x = this.model.width / 2, this.model.y = 0) : (this.model.w = this.model.width, this.model.h = 1, this.model.x = 0, this.model.y = this.model.height / 2);
491
+ }
492
+ }
493
+ let Ot = { render: function(e) {
494
+ return [e.createElement("div", { class: "@(['container', props.class])", style: "@props.style" }, [e.createElement("svg", { width: "@(model.width)px", height: "@(model.height)px" }, [e.createElement("rect", { x: "@model.x", y: "@model.y", width: "@model.w", height: "@model.h", fill: "@(props.colors[0])" }, [e.createElement("animate", { attributeName: "@(props.reverse ? 'height' : 'width')", from: "0", to: "@(props.reverse ? model.height : model.width)", dur: "@(props.dur)s", calcMode: "spline", keyTimes: "0;1", keySplines: ".42,0,.58,1", repeatCount: "indefinite" }, [])]), e.createElement("rect", { x: "@model.x", y: "@model.y", width: "1", height: "1", fill: "@(props.colors[1])" }, [e.createElement("animate", { attributeName: "@(props.reverse ? 'y' : 'x')", from: "0", to: "@(props.reverse ? model.height : model.width)", dur: "@(props.dur)s", calcMode: "spline", keyTimes: "0;1", keySplines: "0.42,0,0.58,1", repeatCount: "indefinite" }, [])])])])];
495
+ } }, It = {
496
+ component: kt
497
+ };
498
+ var V, q;
499
+ let Lt = class extends (q = It.component, V = window[Symbol.for("JOKER")].SCOPE_ID, q) {
500
+ constructor() {
501
+ super(...arguments);
502
+ t(this, V, "2ceeebd3");
503
+ t(this, "template", Ot.render);
504
+ }
505
+ };
506
+ class Pt extends s {
507
+ constructor() {
508
+ super(...arguments);
509
+ t(this, "propsOption", {
510
+ colors: ["#7acaec", "transparent"]
511
+ });
512
+ t(this, "model", {
513
+ width: 0,
514
+ height: 0,
515
+ svgScale: [1, 1],
516
+ points: []
517
+ });
518
+ t(this, "resize", () => {
519
+ this.calcPointsPosition(), this.calcScale();
520
+ });
521
+ t(this, "svgWH", [300, 35]);
522
+ t(this, "rowNum", 2);
523
+ t(this, "rowPoints", 25);
524
+ t(this, "pointSideLength", 7);
525
+ t(this, "halfPointSideLength", this.pointSideLength / 2);
526
+ }
527
+ calcPointsPosition() {
528
+ let { svgWH: o, rowNum: i, rowPoints: r } = this, [n, d] = o, h = n / (r + 1), a = d / (i + 1), c = new Array(i).fill(0).map(
529
+ (g, m) => new Array(r).fill(0).map((E, w) => [h * (w + 1), a * (m + 1)])
530
+ );
531
+ this.model.points = c.reduce((g, m) => [...g, ...m], []);
532
+ }
533
+ calcScale() {
534
+ let [o, i] = this.svgWH;
535
+ this.model.svgScale = [this.model.width / o, this.model.height / i];
536
+ }
537
+ }
538
+ let xt = { render: function(e) {
539
+ return [e.createElement("div", { class: "@(['container', props.class])", style: "@props.style" }, [e.createElement("svg", { width: "@(svgWH[0])px", height: "@(svgWH[1])px", style: "transform:scale(@(model.svgScale[0]),@(model.svgScale[1]));" }, [e.createCommand("for", "let point of model.points", [e.createElement("rect", { fill: "@(props.colors[0])", x: "@(point[0] - halfPointSideLength)", y: "@(point[1] - halfPointSideLength)", width: "@pointSideLength", height: "@pointSideLength" }, [e.createElement("animate", { attributeName: "fill", values: "@(props.colors.join(';'))", dur: "@(Math.random() + 1)s", begin: "@(Math.random() * 2)", repeatCount: "indefinite" }, [])])])])])];
540
+ } }, At = {
541
+ component: Pt
542
+ };
543
+ var Z, Y;
544
+ let Tt = class extends (Y = At.component, Z = window[Symbol.for("JOKER")].SCOPE_ID, Y) {
545
+ constructor() {
546
+ super(...arguments);
547
+ t(this, Z, "e4dd1f59");
548
+ t(this, "template", xt.render);
549
+ }
550
+ };
551
+ class Nt extends s {
552
+ constructor() {
553
+ super(...arguments);
554
+ t(this, "propsOption", {
555
+ colors: ["rgba(255, 255, 255, 0.3)", "rgba(255, 255, 255, 0.3)"],
556
+ dur: 3
557
+ });
558
+ }
559
+ }
560
+ let $t = { render: function(e) {
561
+ return [e.createElement("div", { class: "@(['container', props.class])", style: "@props.style" }, [e.createElement("div", { class: "container-bar @(props.reverse ? 'reverse' : 'normal')", style: "@({ width: props.reverse ? model.width + 'px' : '5px', height: props.reverse ? '5px' : model.height + 'px', animationDuration: props.dur + 's' })" }, [e.createElement("svg", { width: "@(props.reverse ? model.width : 5)", height: "@(props.reverse ? 5 : model.height)" }, [e.createElement("polyline", { stroke: "@(props.colors[0])", points: "@(props.reverse ? `0, 2.5 ${model.width}, 2.5` : `2.5, 0 2.5, ${model.height}`)" }, []), e.createElement("polyline", { class: "bold-line", stroke: "@(props.colors[1])", "stroke-width": "3", "stroke-dasharray": "20, 80", "stroke-dashoffset": "-30", points: "@(props.reverse ? `0, 2.5 ${model.width}, 2.5` : `2.5, 0 2.5, ${model.height}`)" }, [])])])])];
562
+ } }, Dt = {
563
+ component: Nt
564
+ };
565
+ var ee, te;
566
+ let Mt = class extends (te = Dt.component, ee = window[Symbol.for("JOKER")].SCOPE_ID, te) {
567
+ constructor() {
568
+ super(...arguments);
569
+ t(this, ee, "820e3df4");
570
+ t(this, "template", $t.render);
571
+ }
572
+ };
573
+ function u(e) {
574
+ let l = 0;
575
+ for (let o = 1; o < e.length; o++) {
576
+ let i = e[o - 1], r = e[o], n = r[0] - i[0], d = r[1] - i[1];
577
+ l += Math.sqrt(n * n + d * d);
578
+ }
579
+ return l;
580
+ }
581
+ function b(e, l) {
582
+ return arguments.length === 1 ? parseInt((Math.random() * e + 1).toString(), 10) : parseInt((Math.random() * (l - e + 1) + e).toString(), 10);
583
+ }
584
+ function f(e, l, o, i) {
585
+ return [e + Math.cos(i) * o, l + Math.sin(i) * o];
586
+ }
587
+ class Jt extends s {
588
+ constructor() {
589
+ super(...arguments);
590
+ t(this, "propsOption", {
591
+ colors: ["#3f96a5", "#3f96a5"],
592
+ dur: 1.2
593
+ });
594
+ t(this, "model", {
595
+ width: 0,
596
+ height: 0,
597
+ line1Points: "",
598
+ line2Points: "",
599
+ line1Length: 0,
600
+ line2Length: 0
601
+ });
602
+ t(this, "resize", () => {
603
+ this.calcSVGData();
604
+ });
605
+ }
606
+ calcSVGData() {
607
+ let { width: o, height: i } = this.model, r = [
608
+ [0, i * 0.2],
609
+ [o * 0.18, i * 0.2],
610
+ [o * 0.2, i * 0.4],
611
+ [o * 0.25, i * 0.4],
612
+ [o * 0.27, i * 0.6],
613
+ [o * 0.72, i * 0.6],
614
+ [o * 0.75, i * 0.4],
615
+ [o * 0.8, i * 0.4],
616
+ [o * 0.82, i * 0.2],
617
+ [o, i * 0.2]
618
+ ], n = [
619
+ [o * 0.3, i * 0.8],
620
+ [o * 0.7, i * 0.8]
621
+ ], d = u(r), h = u(n);
622
+ this.model.line1Points = r.map((a) => a.join(",")).join(" "), this.model.line2Points = n.map((a) => a.join(",")).join(" "), this.model.line1Length = d, this.model.line2Length = h;
623
+ }
624
+ }
625
+ let Kt = { render: function(e) {
626
+ return [e.createElement("div", { class: "@(['container', props.class])", style: "@props.style" }, [e.createElement("svg", { width: "@model.width", height: "@model.height" }, [e.createElement("polyline", { fill: "transparent", stroke: "@(props.colors[0])", "stroke-width": "3", points: "@model.line1Points" }, [e.createElement("animate", { attributeName: "stroke-dasharray", attributeType: "XML", from: "0, @(model.line1Length / 2), 0, @(model.line1Length / 2)", to: "0, 0, @(model.line1Length), 0", dur: "@(props.dur)s", begin: "0s", calcMode: "spline", keyTimes: "0;1", keySplines: "0.4,1,0.49,0.98", repeatCount: "indefinite" }, [])]), e.createElement("polyline", { fill: "transparent", stroke: "@(props.colors[1])", "stroke-width": "2", points: "@model.line2Points" }, [e.createElement("animate", { attributeName: "stroke-dasharray", attributeType: "XML", from: "0, @(model.line2Length / 2), 0, @(model.line2Length / 2)", to: "0, 0, @(model.line2Length), 0", dur: "@(props.dur)s", begin: "0s", calcMode: "spline", keyTimes: "0;1", keySplines: ".4,1,.49,.98", repeatCount: "indefinite" }, [])])])])];
627
+ } }, Ft = {
628
+ component: Jt
629
+ };
630
+ var oe, le;
631
+ let Wt = class extends (le = Ft.component, oe = window[Symbol.for("JOKER")].SCOPE_ID, le) {
632
+ constructor() {
633
+ super(...arguments);
634
+ t(this, oe, "165a82cd");
635
+ t(this, "template", Kt.render);
636
+ }
637
+ };
638
+ class Ht extends s {
639
+ constructor() {
640
+ super(...arguments);
641
+ t(this, "propsOption", {
642
+ colors: ["#7acaec", "#7acaec"]
643
+ });
644
+ t(this, "model", {
645
+ width: 0,
646
+ height: 0,
647
+ svgScale: [1, 1],
648
+ points: [],
649
+ heights: [],
650
+ minHeights: [],
651
+ randoms: []
652
+ });
653
+ t(this, "svgWH", [300, 35]);
654
+ t(this, "rowNum", 1);
655
+ t(this, "rowPoints", 40);
656
+ t(this, "rectWidth", 7);
657
+ t(this, "halfRectWidth", this.rectWidth / 2);
658
+ t(this, "resize", () => {
659
+ this.calcPointsPosition(), this.calcScale();
660
+ });
661
+ }
662
+ calcPointsPosition() {
663
+ let { svgWH: o, rowNum: i, rowPoints: r } = this, [n, d] = o, h = n / (r + 1), a = d / (i + 1), c = new Array(i).fill(0).map(
664
+ (m, E) => new Array(r).fill(0).map((w, _) => [h * (_ + 1), a * (E + 1)])
665
+ );
666
+ this.model.points = c.reduce((m, E) => [...m, ...E], []);
667
+ let g = this.model.heights = new Array(i * r).fill(0).map((m) => Math.random() > 0.8 ? b(0.7 * d, d) : b(0.2 * d, 0.5 * d));
668
+ this.model.minHeights = new Array(i * r).fill(0).map((m, E) => g[E] * Math.random()), this.model.randoms = new Array(i * r).fill(0).map((m) => Math.random() + 1.5);
669
+ }
670
+ calcScale() {
671
+ let [o, i] = this.svgWH;
672
+ this.model.svgScale = [this.model.width / o, this.model.height / i];
673
+ }
674
+ }
675
+ let zt = { render: function(e) {
676
+ return [e.createElement("div", { class: "@(['container', props.class])", style: "@props.style" }, [e.createElement("svg", { width: "@(svgWH[0])px", height: "@(svgWH[1])px", style: "transform:scale(@(model.svgScale[0]),@(model.svgScale[1]));" }, [e.createCommand("for", "let (i,point) in model.points", [e.createElement("rect", { fill: "@(props.colors[Math.random() > 0.5 ? 0 : 1])", x: "@(point[0] - halfRectWidth)", y: "@(point[1] - model.heights[i] / 2)", width: "@rectWidth", height: "@(model.heights[i])" }, [e.createElement("animate", { attributeName: "y", values: "@(point[1] - model.minHeights[i] / 2);@(point[1] - model.heights[i] / 2);@(point[1] - model.minHeights[i] / 2)", dur: "@(model.randoms[i])s", keyTimes: "0;0.5;1", calcMode: "spline", keySplines: "0.42,0,0.58,1;0.42,0,0.58,1", begin: "0s", repeatCount: "indefinite" }, []), e.createElement("animate", { attributeName: "height", values: "@(model.minHeights[i]);@(model.heights[i]);@(model.minHeights[i])", dur: "@(model.randoms[i])s", keyTimes: "0;0.5;1", calcMode: "spline", keySplines: "0.42,0,0.58,1;0.42,0,0.58,1", begin: "0s", repeatCount: "indefinite" }, [])])])])])];
677
+ } }, Bt = {
678
+ component: Ht
679
+ };
680
+ var ie, re;
681
+ let Gt = class extends (re = Bt.component, ie = window[Symbol.for("JOKER")].SCOPE_ID, re) {
682
+ constructor() {
683
+ super(...arguments);
684
+ t(this, ie, "2a7c89dd");
685
+ t(this, "template", zt.render);
686
+ }
687
+ };
688
+ class Xt extends s {
689
+ constructor() {
690
+ super(...arguments);
691
+ t(this, "propsOption", {
692
+ colors: ["#1dc1f5", "#1dc1f5"]
693
+ });
694
+ }
695
+ }
696
+ let Ut = { render: function(e) {
697
+ return [e.createElement("div", { class: "@(['container', props.class])", style: "@props.style" }, [e.createElement("svg", { width: "21px", height: "20px" }, [e.createElement("polyline", { "stroke-width": "4", fill: "transparent", stroke: "@(props.colors[0])", points: "10, 0 19, 10 10, 20" }, []), e.createElement("polyline", { "stroke-width": "2", fill: "transparent", stroke: "@(props.colors[1])", points: "2, 0 11, 10 2, 20" }, [])]), e.createCommand("RenderSection", ""), e.createElement("svg", { width: "21px", height: "20px" }, [e.createElement("polyline", { "stroke-width": "4", fill: "transparent", stroke: "@(props.colors[0])", points: "11, 0 2, 10 11, 20" }, []), e.createElement("polyline", { "stroke-width": "2", fill: "transparent", stroke: "@(props.colors[1])", points: "19, 0 10, 10 19, 20" }, [])])])];
698
+ } }, jt = {
699
+ component: Xt
700
+ };
701
+ var ne, de;
702
+ let Qt = class extends (de = jt.component, ne = window[Symbol.for("JOKER")].SCOPE_ID, de) {
703
+ constructor() {
704
+ super(...arguments);
705
+ t(this, ne, "6a75cfee");
706
+ t(this, "template", Ut.render);
707
+ }
708
+ };
709
+ class Vt extends s {
710
+ constructor() {
711
+ super(...arguments);
712
+ t(this, "propsOption", {
713
+ colors: ["#3f96a5", "#3f96a5"]
714
+ });
715
+ }
716
+ xPos(o) {
717
+ return this.props.reverse ? this.model.width - o : o;
718
+ }
719
+ }
720
+ let qt = { render: function(e) {
721
+ return [e.createElement("div", { class: "@(['container', props.class])", style: "@props.style" }, [e.createElement("svg", { width: "@model.width", height: "@model.height" }, [e.createElement("polyline", { stroke: "@(props.colors[0])", "stroke-width": "2", fill: "transparent", points: "@xPos(0), 0 @xPos(30), @(model.height / 2)" }, []), e.createElement("polyline", { stroke: "@(props.colors[0])", "stroke-width": "2", fill: "transparent", points: "@xPos(20), 0 @xPos(50), @(model.height / 2) @xPos(model.width), @(model.height / 2)" }, []), e.createElement("polyline", { stroke: "@(props.colors[1])", fill: "transparent", "stroke-width": "3", points: "@xPos(0), @(model.height - 3), @xPos(200), @(model.height - 3)" }, [])])])];
722
+ } }, Zt = {
723
+ component: Vt
724
+ };
725
+ var se, ae;
726
+ let Yt = class extends (ae = Zt.component, se = window[Symbol.for("JOKER")].SCOPE_ID, ae) {
727
+ constructor() {
728
+ super(...arguments);
729
+ t(this, se, "597abf05");
730
+ t(this, "template", qt.render);
731
+ }
732
+ };
733
+ class eo extends s {
734
+ constructor() {
735
+ super(...arguments);
736
+ t(this, "model", {
737
+ width: 0,
738
+ height: 0,
739
+ svgScale: [1, 1]
740
+ });
741
+ t(this, "polygonId", `decoration-9-polygon-${p()}`);
742
+ t(this, "propsOption", {
743
+ colors: ["rgba(3, 166, 224, 0.8)", "rgba(3, 166, 224, 0.5)"],
744
+ dur: 3
745
+ });
746
+ t(this, "resize", () => {
747
+ this.calcScale();
748
+ });
749
+ t(this, "svgWH", [100, 100]);
750
+ }
751
+ calcScale() {
752
+ let [o, i] = this.svgWH;
753
+ this.model.svgScale = [this.model.width / o, this.model.height / i];
754
+ }
755
+ }
756
+ let to = { render: function(e) {
757
+ return [e.createElement("div", { class: "@(['container', props.class])", style: "@props.style" }, [e.createElement("svg", { width: "@(svgWH[0])px", height: "@(svgWH[1])px", style: "transform:scale(@(model.svgScale[0]),@(model.svgScale[1]));" }, [e.createElement("defs", {}, [e.createElement("polygon", { id: "@polygonId", points: "15, 46.5, 21, 47.5, 21, 52.5, 15, 53.5" }, [])]), e.createElement("circle", { cx: "50", cy: "50", r: "45", fill: "transparent", stroke: "@(props.colors[1])", "stroke-width": "10", "stroke-dasharray": "80, 100, 30, 100" }, [e.createElement("animateTransform", { attributeName: "transform", type: "rotate", values: "0 50 50;360 50 50", dur: "@(props.dur)s", repeatCount: "indefinite" }, [])]), e.createElement("circle", { cx: "50", cy: "50", r: "45", fill: "transparent", stroke: "@(props.colors[0])", "stroke-width": "6", "stroke-dasharray": "50, 66, 100, 66" }, [e.createElement("animateTransform", { attributeName: "transform", type: "rotate", values: "0 50 50;-360 50 50", dur: "@(props.dur)s", repeatCount: "indefinite" }, [])]), e.createElement("circle", { cx: "50", cy: "50", r: "38", fill: "transparent", stroke: "@(fade(props.colors[1], 30))", "stroke-width": "1", "stroke-dasharray": "5, 1" }, []), e.createCommand("for", "let i = 0; i < 20; i++", [e.createElement("use", { "xlink:href": "#@(polygonId)", stroke: "@(props.colors[1])", fill: "@(Math.random() > 0.4 ? 'transparent' : props.colors[0])" }, [e.createElement("animateTransform", { attributeName: "transform", type: "rotate", values: "0 50 50;360 50 50", dur: "@(props.dur)s", begin: "@(i * props.dur / 20)s", repeatCount: "indefinite" }, [])])]), e.createElement("circle", { cx: "50", cy: "50", r: "26", fill: "transparent", stroke: "@(fade(props.colors[1], 30))", "stroke-width": "1", "stroke-dasharray": "5, 1" }, [])]), e.createCommand("RenderSection", "")])];
758
+ } }, oo = {
759
+ component: eo
760
+ };
761
+ var me, pe;
762
+ let lo = class extends (pe = oo.component, me = window[Symbol.for("JOKER")].SCOPE_ID, pe) {
763
+ constructor() {
764
+ super(...arguments);
765
+ t(this, me, "ed9a8703");
766
+ t(this, "template", to.render);
767
+ }
768
+ };
769
+ class io extends s {
770
+ constructor() {
771
+ super(...arguments);
772
+ t(this, "animationId1", `d10ani1${p()}`);
773
+ t(this, "animationId2", `d10ani2${p()}`);
774
+ t(this, "animationId3", `d10ani3${p()}`);
775
+ t(this, "animationId4", `d10ani4${p()}`);
776
+ t(this, "animationId5", `d10ani5${p()}`);
777
+ t(this, "animationId6", `d10ani6${p()}`);
778
+ t(this, "animationId7", `d10ani7${p()}`);
779
+ t(this, "propsOption", {
780
+ colors: ["#00c2ff", "rgba(0, 194, 255, 0.3)"]
781
+ });
782
+ }
783
+ }
784
+ let ro = { render: function(e) {
785
+ return [e.createElement("div", { class: "@(['container', props.class])", style: "@props.style" }, [e.createElement("svg", { width: "@model.width", height: "@model.height" }, [e.createElement("polyline", { stroke: "@(props.colors[1])", "stroke-width": "2", points: "0, @(model.height / 2) @(model.width), @(model.height / 2)" }, []), e.createElement("polyline", { stroke: "@(props.colors[0])", "stroke-width": "2", points: "5, @(model.height / 2) @(model.width * 0.2 - 3), @(model.height / 2)", "stroke-dasharray": "0, @(model.width * 0.2)", fill: "freeze" }, [e.createElement("animate", { id: "@animationId2", attributeName: "stroke-dasharray", values: "0, @(model.width * 0.2);@(model.width * 0.2), 0;", dur: "3s", begin: "@(animationId1).end", fill: "freeze" }, []), e.createElement("animate", { attributeName: "stroke-dasharray", values: "@(model.width * 0.2), 0;0, @(model.width * 0.2)", dur: "0.01s", begin: "@(animationId7).end", fill: "freeze" }, [])]), e.createElement("polyline", { stroke: "@(props.colors[0])", "stroke-width": "2", points: "@(model.width * 0.2 + 3), @(model.height / 2) @(model.width * 0.8 - 3), @(model.height / 2)", "stroke-dasharray": "0, @(model.width * 0.6)" }, [e.createElement("animate", { id: "@animationId4", attributeName: "stroke-dasharray", values: "0, @(model.width * 0.6);@(model.width * 0.6), 0", dur: "3s", begin: "@(animationId3).end + 1s", fill: "freeze" }, []), e.createElement("animate", { attributeName: "stroke-dasharray", values: "@(model.width * 0.6), 0;0, @(model.width * 0.6)", dur: "0.01s", begin: "@(animationId7).end", fill: "freeze" }, [])]), e.createElement("polyline", { stroke: "@(props.colors[0])", "stroke-width": "2", points: "@(model.width * 0.8 + 3), @(model.height / 2) @(model.width - 5), @(model.height / 2)", "stroke-dasharray": "0, @(model.width * 0.2)" }, [e.createElement("animate", { id: "@animationId6", attributeName: "stroke-dasharray", values: "0, @(model.width * 0.2);@(model.width * 0.2), 0", dur: "3s", begin: "@(animationId5).end + 1s", fill: "freeze" }, []), e.createElement("animate", { attributeName: "stroke-dasharray", values: "@(model.width * 0.2), 0;0, @(model.width * 0.3)", dur: "0.01s", begin: "@(animationId7).end", fill: "freeze" }, [])]), e.createElement("circle", { cx: "2", cy: "@(model.height / 2)", r: "2", fill: "@(props.colors[1])" }, [e.createElement("animate", { id: "@animationId1", attributeName: "fill", values: "@(props.colors[1]);@(props.colors[0])", begin: "0s;@(animationId7).end", dur: "0.3s", fill: "freeze" }, [])]), e.createElement("circle", { cx: "@(model.width * 0.2)", cy: "@(model.height / 2)", r: "2", fill: "@(props.colors[1])" }, [e.createElement("animate", { id: "@animationId3", attributeName: "fill", values: "@(props.colors[1]);@(props.colors[0])", begin: "@(animationId2).end", dur: "0.3s", fill: "freeze" }, []), e.createElement("animate", { attributeName: "fill", values: "@(props.colors[1]);@(props.colors[1])", dur: "0.01s", begin: "@(animationId7).end", fill: "freeze" }, [])]), e.createElement("circle", { cx: "@(model.width * 0.8)", cy: "@(model.height / 2)", r: "2", fill: "@(props.colors[1])" }, [e.createElement("animate", { id: "@animationId5", attributeName: "fill", values: "@(props.colors[1]);@(props.colors[0])", begin: "@(animationId4).end", dur: "0.3s", fill: "freeze" }, []), e.createElement("animate", { attributeName: "fill", values: "@(props.colors[1]);@(props.colors[1])", dur: "0.01s", begin: "@(animationId7).end", fill: "freeze" }, [])]), e.createElement("circle", { cx: "@(model.width - 2)", cy: "@(model.height / 2)", r: "2", fill: "@(props.colors[1])" }, [e.createElement("animate", { id: "@animationId7", attributeName: "fill", values: "@(props.colors[1]);@(props.colors[0])", begin: "@(animationId6).end", dur: "0.3s", fill: "freeze" }, []), e.createElement("animate", { attributeName: "fill", values: "@(props.colors[1]);@(props.colors[1])", dur: "0.01s", begin: "@(animationId7).end", fill: "freeze" }, [])])])])];
786
+ } }, no = {
787
+ component: io
788
+ };
789
+ var ce, he;
790
+ let so = class extends (he = no.component, ce = window[Symbol.for("JOKER")].SCOPE_ID, he) {
791
+ constructor() {
792
+ super(...arguments);
793
+ t(this, ce, "72693e04");
794
+ t(this, "template", ro.render);
795
+ }
796
+ };
797
+ class ao extends s {
798
+ constructor() {
799
+ super(...arguments);
800
+ t(this, "propsOption", {
801
+ colors: ["#1a98fc", "#2cf7fe"]
802
+ });
803
+ }
804
+ }
805
+ let mo = { render: function(e) {
806
+ return [e.createElement("div", { class: "@(['container', props.class])", style: "@props.style" }, [e.createElement("svg", { width: "@model.width", height: "@model.height" }, [e.createElement("polygon", { fill: "@(fade(props.colors[1], 10))", stroke: "@(props.colors[1])", points: "20 10, 25 4, 55 4 60 10" }, []), e.createElement("polygon", { fill: "@(fade(props.colors[1], 10))", stroke: "@(props.colors[1])", points: "20 @(model.height - 10), 25 @(model.height - 4), 55 @(model.height - 4) 60 @(model.height - 10)" }, []), e.createElement("polygon", { fill: "@(fade(props.colors[1], 10))", stroke: "@(props.colors[1])", points: "@(model.width - 20) 10, @(model.width - 25) 4, @(model.width - 55) 4 @(model.width - 60) 10" }, []), e.createElement("polygon", { fill: "@(fade(props.colors[1], 10))", stroke: "@(props.colors[1])", points: "@(model.width - 20) @(model.height - 10), @(model.width - 25) @(model.height - 4), @(model.width - 55) @(model.height - 4) @(model.width - 60) @(model.height - 10)" }, []), e.createElement("polygon", { fill: "@(fade(props.colors[0] , 20))", stroke: "@(props.colors[0])", points: "20 10, 5 @(model.height / 2) 20 @(model.height - 10) @(model.width - 20) @(model.height - 10) @(model.width - 5) @(model.height / 2) @(model.width - 20) 10" }, []), e.createElement("polyline", { fill: "transparent", stroke: "@fade(props.colors[0] , 70)", points: "25 18, 15 @(model.height / 2) 25 @(model.height - 18)" }, []), e.createElement("polyline", { fill: "transparent", stroke: "@fade(props.colors[0] , 70)", points: "@(model.width - 25) 18, @(model.width - 15) @(model.height / 2) @(model.width - 25) @(model.height - 18)" }, [])]), e.createElement("div", { class: "decoration-content" }, [e.createCommand("RenderSection", "")])])];
807
+ } }, po = {
808
+ component: ao
809
+ };
810
+ var ge, Ee;
811
+ let co = class extends (Ee = po.component, ge = window[Symbol.for("JOKER")].SCOPE_ID, Ee) {
812
+ constructor() {
813
+ super(...arguments);
814
+ t(this, ge, "be570701");
815
+ t(this, "template", mo.render);
816
+ }
817
+ };
818
+ class ho extends s {
819
+ constructor() {
820
+ super(...arguments);
821
+ t(this, "gId", `decoration-12-g-${p()}`);
822
+ t(this, "gradientId", `decoration-12-gradient-${p()}`);
823
+ t(this, "propsOption", {
824
+ colors: ["#2783ce", "#2cf7fe"],
825
+ scanDur: 3,
826
+ haloDur: 2
827
+ });
828
+ t(this, "segment", 30);
829
+ t(this, "sectorAngle", Math.PI / 3);
830
+ t(this, "ringNum", 3);
831
+ t(this, "ringWidth", 1);
832
+ t(this, "model", {
833
+ width: 0,
834
+ height: 0,
835
+ pathD: [],
836
+ pathColor: [],
837
+ circleR: [],
838
+ splitLinePoints: [],
839
+ arcD: []
840
+ });
841
+ t(this, "resize", () => {
842
+ this.calcPathColor(), this.calcPathD(), this.calcCircleR(), this.calcSplitLinePoints(), this.calcArcD();
843
+ });
844
+ }
845
+ get x() {
846
+ return this.model.width / 2;
847
+ }
848
+ get y() {
849
+ return this.model.height / 2;
850
+ }
851
+ calcPathD() {
852
+ let { x: o, y: i, segment: r, sectorAngle: n } = this, d = -Math.PI / 2, h = n / r, a = this.model.width / 4, c = f(o, i, a, d);
853
+ this.model.pathD = new Array(r).fill("").map((g, m) => {
854
+ let E = f(o, i, a, d - (m + 1) * h).map((_) => _.toFixed(5)), w = `M${c.join(",")} A${a}, ${a} 0 0 0 ${E.join(",")}`;
855
+ return c = E.map((_) => Number(_)), w;
856
+ });
857
+ }
858
+ calcPathColor() {
859
+ let o = 100 / (this.segment - 1);
860
+ this.model.pathColor = new Array(this.segment).fill(this.props.colors[0]).map((i, r) => this.fade(this.props.colors[0], 100 - r * o));
861
+ }
862
+ calcCircleR() {
863
+ let { ringNum: o, ringWidth: i } = this, r = (this.model.width / 2 - i / 2) / o;
864
+ this.model.circleR = new Array(o).fill(0).map((n, d) => r * (d + 1));
865
+ }
866
+ calcSplitLinePoints() {
867
+ let { x: o, y: i } = this, r = Math.PI / 6, n = this.model.width / 2;
868
+ this.model.splitLinePoints = new Array(6).fill("").map((d, h) => {
869
+ const a = r * (h + 1), c = a + Math.PI, g = f(o, i, n, a), m = f(o, i, n, c);
870
+ return `${g.join(",")} ${m.join(",")}`;
871
+ });
872
+ }
873
+ calcArcD() {
874
+ let { x: o, y: i } = this, r = Math.PI / 6, n = this.model.width / 2 - 1;
875
+ this.model.arcD = new Array(4).fill("").map((d, h) => {
876
+ let a = r * (3 * h + 1), c = a + r, g = f(o, i, n, a), m = f(o, i, n, c);
877
+ return `M${g.join(",")} A${o}, ${i} 0 0 1 ${m.join(",")}`;
878
+ });
879
+ }
880
+ }
881
+ let go = { render: function(e) {
882
+ return [e.createElement("div", { class: "@(['container', props.class])", style: "@props.style" }, [e.createElement("svg", { width: "@model.width", height: "@model.height" }, [e.createElement("defs", {}, [e.createElement("g", { id: "@gId" }, [e.createCommand("for", "let (i,d) in model.pathD", [e.createElement("path", { stroke: "@(model.pathColor[i])", "stroke-width": "@(model.width / 2)", fill: "transparent", d: "@d" }, [])])]), e.createElement("radialGradient", { id: "@gradientId", cx: "50%", cy: "50%", r: "50%" }, [e.createElement("stop", { offset: "0%", "stop-color": "transparent", "stop-opacity": "1" }, []), e.createElement("stop", { offset: "100%", "stop-color": "@fade(props.colors[1], 30)", "stop-opacity": "1" }, [])])]), e.createCommand("for", "let r of model.circleR", [e.createElement("circle", { r: "@r", cx: "@x", cy: "@y", stroke: "@(props.colors[1])", "stroke-width": "0.5", fill: "transparent" }, [])]), e.createElement("circle", { r: "1", cx: "@x", cy: "@y", stroke: "transparent", fill: "url(#@(gradientId))" }, [e.createElement("animate", { attributeName: "r", values: "1;@(model.width / 2)", dur: "@(props.haloDur)s", repeatCount: "indefinite" }, []), e.createElement("animate", { attributeName: "opacity", values: "1;0", dur: "@(props.haloDur)s", repeatCount: "indefinite" }, [])]), e.createElement("circle", { r: "2", cx: "@x", cy: "@y", fill: "@(props.colors[1])" }, []), e.createElement("g", {}, [e.createCommand("for", "let p of model.splitLinePoints", [e.createElement("polyline", { points: "@p", stroke: "@(props.colors[1])", "stroke-width": "0.5", opacity: "0.5" }, [])])]), e.createCommand("for", "let d of model.arcD", [e.createElement("path", { d: "@d", stroke: "@(props.colors[1])", "stroke-width": "2", fill: "transparent" }, [])]), e.createElement("use", { "xlink:href": "#@gId" }, [e.createElement("animateTransform", { attributeName: "transform", type: "rotate", values: "0, @x @y;360, @x @y", dur: "@(props.scanDur)s", repeatCount: "indefinite" }, [])])]), e.createElement("div", { class: "decoration-content" }, [e.createCommand("RenderSection", "")])])];
883
+ } }, Eo = {
884
+ component: ho
885
+ };
886
+ var we, fe;
887
+ let wo = class extends (fe = Eo.component, we = window[Symbol.for("JOKER")].SCOPE_ID, fe) {
888
+ constructor() {
889
+ super(...arguments);
890
+ t(this, we, "b78c6be8");
891
+ t(this, "template", go.render);
892
+ }
893
+ }, y = {
894
+ BorderBox1: Oe,
895
+ BorderBox2: xe,
896
+ BorderBox3: $e,
897
+ BorderBox4: Ke,
898
+ BorderBox5: ze,
899
+ BorderBox6: Ue,
900
+ BorderBox7: qe,
901
+ BorderBox8: tt,
902
+ BorderBox9: rt,
903
+ BorderBox10: at,
904
+ BorderBox11: ht,
905
+ BorderBox12: ft,
906
+ BorderBox13: yt,
907
+ Decoration1: vt,
908
+ Decoration2: Lt,
909
+ Decoration3: Tt,
910
+ Decoration4: Mt,
911
+ Decoration5: Wt,
912
+ Decoration6: Gt,
913
+ Decoration7: Qt,
914
+ Decoration8: Yt,
915
+ Decoration9: lo,
916
+ Decoration10: so,
917
+ Decoration11: co,
918
+ Decoration12: wo
919
+ };
920
+ for (let e in y) {
921
+ let l = `dv-${be(e)}`;
922
+ window[Symbol.for("JOKER")].registerGlobalComponent({
923
+ [l]: y[e]
924
+ });
925
+ }