@everymatrix/player-rglimits 1.43.4 → 1.45.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/GeneralAnimationLoading--Y-XAzR9.js +696 -0
- package/components/GeneralAnimationLoading-CBQNb9Dp.cjs +1 -0
- package/components/PlayerRglimits-CUS5KFCD.js +8137 -0
- package/components/PlayerRglimits-QVlIa3k9.cjs +12 -0
- package/es2015/player-rglimits.cjs +1 -0
- package/es2015/player-rglimits.js +16 -0
- package/package.json +17 -33
- package/CHANGELOG.md +0 -15
- package/README.md +0 -30
- package/dist/player-rglimits.js +0 -1234
- package/dist/player-rglimits.js.map +0 -1
- package/index.html +0 -46
- package/index.js +0 -1
- package/public/favicon.png +0 -0
- package/public/reset.css +0 -48
- package/rollup.config.js +0 -61
- package/src/PlayerRglimits.svelte +0 -1260
- package/src/i18n.js +0 -27
- package/src/images/arch-bg.svg +0 -5
- package/src/images/caret-select.svg +0 -3
- package/src/images/curency.svg +0 -4
- package/src/images/fa-calendar-times-o.svg +0 -1
- package/src/images/fa-caret-right.svg +0 -4
- package/src/images/fa-pencil.svg +0 -1
- package/src/images/fa-plus-solid.svg +0 -1
- package/src/images/fa-times.svg +0 -1
- package/src/index.ts +0 -4
- package/src/translations.js +0 -578
- package/stories/PlayerRglimits.stories.js +0 -13
- package/tsconfig.json +0 -6
- package/types/general-animation-loading.d.ts +0 -1
- package/types/types.ts +0 -60
|
@@ -0,0 +1,696 @@
|
|
|
1
|
+
var q = Object.defineProperty, J = Object.defineProperties;
|
|
2
|
+
var V = Object.getOwnPropertyDescriptors;
|
|
3
|
+
var O = Object.getOwnPropertySymbols;
|
|
4
|
+
var K = Object.prototype.hasOwnProperty, Q = Object.prototype.propertyIsEnumerable;
|
|
5
|
+
var E = (e, t, n) => t in e ? q(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, P = (e, t) => {
|
|
6
|
+
for (var n in t || (t = {}))
|
|
7
|
+
K.call(t, n) && E(e, n, t[n]);
|
|
8
|
+
if (O)
|
|
9
|
+
for (var n of O(t))
|
|
10
|
+
Q.call(t, n) && E(e, n, t[n]);
|
|
11
|
+
return e;
|
|
12
|
+
}, M = (e, t) => J(e, V(t));
|
|
13
|
+
var f = (e, t, n) => E(e, typeof t != "symbol" ? t + "" : t, n);
|
|
14
|
+
var H = (e, t, n) => new Promise((s, l) => {
|
|
15
|
+
var i = (c) => {
|
|
16
|
+
try {
|
|
17
|
+
u(n.next(c));
|
|
18
|
+
} catch (r) {
|
|
19
|
+
l(r);
|
|
20
|
+
}
|
|
21
|
+
}, o = (c) => {
|
|
22
|
+
try {
|
|
23
|
+
u(n.throw(c));
|
|
24
|
+
} catch (r) {
|
|
25
|
+
l(r);
|
|
26
|
+
}
|
|
27
|
+
}, u = (c) => c.done ? s(c.value) : Promise.resolve(c.value).then(i, o);
|
|
28
|
+
u((n = n.apply(e, t)).next());
|
|
29
|
+
});
|
|
30
|
+
function h() {
|
|
31
|
+
}
|
|
32
|
+
function z(e) {
|
|
33
|
+
return e();
|
|
34
|
+
}
|
|
35
|
+
function B() {
|
|
36
|
+
return /* @__PURE__ */ Object.create(null);
|
|
37
|
+
}
|
|
38
|
+
function v(e) {
|
|
39
|
+
e.forEach(z);
|
|
40
|
+
}
|
|
41
|
+
function I(e) {
|
|
42
|
+
return typeof e == "function";
|
|
43
|
+
}
|
|
44
|
+
function W(e, t) {
|
|
45
|
+
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
|
46
|
+
}
|
|
47
|
+
function X(e) {
|
|
48
|
+
return Object.keys(e).length === 0;
|
|
49
|
+
}
|
|
50
|
+
function Y(e, ...t) {
|
|
51
|
+
if (e == null) {
|
|
52
|
+
for (const s of t)
|
|
53
|
+
s(void 0);
|
|
54
|
+
return h;
|
|
55
|
+
}
|
|
56
|
+
const n = e.subscribe(...t);
|
|
57
|
+
return n.unsubscribe ? () => n.unsubscribe() : n;
|
|
58
|
+
}
|
|
59
|
+
function Et(e, t, n) {
|
|
60
|
+
e.$$.on_destroy.push(Y(t, n));
|
|
61
|
+
}
|
|
62
|
+
function Lt(e) {
|
|
63
|
+
return e == null ? "" : e;
|
|
64
|
+
}
|
|
65
|
+
function Z(e, t) {
|
|
66
|
+
e.appendChild(t);
|
|
67
|
+
}
|
|
68
|
+
function tt(e, t, n) {
|
|
69
|
+
const s = et(e);
|
|
70
|
+
if (!s.getElementById(t)) {
|
|
71
|
+
const l = w("style");
|
|
72
|
+
l.id = t, l.textContent = n, nt(s, l);
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
function et(e) {
|
|
76
|
+
if (!e) return document;
|
|
77
|
+
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
|
78
|
+
return t && /** @type {ShadowRoot} */
|
|
79
|
+
t.host ? (
|
|
80
|
+
/** @type {ShadowRoot} */
|
|
81
|
+
t
|
|
82
|
+
) : e.ownerDocument;
|
|
83
|
+
}
|
|
84
|
+
function nt(e, t) {
|
|
85
|
+
return Z(
|
|
86
|
+
/** @type {Document} */
|
|
87
|
+
e.head || e,
|
|
88
|
+
t
|
|
89
|
+
), t.sheet;
|
|
90
|
+
}
|
|
91
|
+
function N(e, t, n) {
|
|
92
|
+
e.insertBefore(t, n || null);
|
|
93
|
+
}
|
|
94
|
+
function x(e) {
|
|
95
|
+
e.parentNode && e.parentNode.removeChild(e);
|
|
96
|
+
}
|
|
97
|
+
function Ct(e, t) {
|
|
98
|
+
for (let n = 0; n < e.length; n += 1)
|
|
99
|
+
e[n] && e[n].d(t);
|
|
100
|
+
}
|
|
101
|
+
function w(e) {
|
|
102
|
+
return document.createElement(e);
|
|
103
|
+
}
|
|
104
|
+
function st(e) {
|
|
105
|
+
return document.createElementNS("http://www.w3.org/2000/svg", e);
|
|
106
|
+
}
|
|
107
|
+
function D(e) {
|
|
108
|
+
return document.createTextNode(e);
|
|
109
|
+
}
|
|
110
|
+
function kt() {
|
|
111
|
+
return D(" ");
|
|
112
|
+
}
|
|
113
|
+
function At() {
|
|
114
|
+
return D("");
|
|
115
|
+
}
|
|
116
|
+
function Nt(e, t, n, s) {
|
|
117
|
+
return e.addEventListener(t, n, s), () => e.removeEventListener(t, n, s);
|
|
118
|
+
}
|
|
119
|
+
function Tt(e) {
|
|
120
|
+
return function(t) {
|
|
121
|
+
return t.stopPropagation(), e.call(this, t);
|
|
122
|
+
};
|
|
123
|
+
}
|
|
124
|
+
function F(e, t, n) {
|
|
125
|
+
n == null ? e.removeAttribute(t) : e.getAttribute(t) !== n && e.setAttribute(t, n);
|
|
126
|
+
}
|
|
127
|
+
function jt(e, t, n) {
|
|
128
|
+
const s = t.toLowerCase();
|
|
129
|
+
s in e ? e[s] = typeof e[s] == "boolean" && n === "" ? !0 : n : t in e ? e[t] = typeof e[t] == "boolean" && n === "" ? !0 : n : F(e, t, n);
|
|
130
|
+
}
|
|
131
|
+
function it(e) {
|
|
132
|
+
return Array.from(e.childNodes);
|
|
133
|
+
}
|
|
134
|
+
function St(e, t) {
|
|
135
|
+
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
|
136
|
+
t);
|
|
137
|
+
}
|
|
138
|
+
function Ot(e, t) {
|
|
139
|
+
e.value = t == null ? "" : t;
|
|
140
|
+
}
|
|
141
|
+
function Pt(e, t, n, s) {
|
|
142
|
+
n == null ? e.style.removeProperty(t) : e.style.setProperty(t, n, "");
|
|
143
|
+
}
|
|
144
|
+
function Mt(e, t, n) {
|
|
145
|
+
for (let s = 0; s < e.options.length; s += 1) {
|
|
146
|
+
const l = e.options[s];
|
|
147
|
+
if (l.__value === t) {
|
|
148
|
+
l.selected = !0;
|
|
149
|
+
return;
|
|
150
|
+
}
|
|
151
|
+
}
|
|
152
|
+
(!n || t !== void 0) && (e.selectedIndex = -1);
|
|
153
|
+
}
|
|
154
|
+
function Ht(e) {
|
|
155
|
+
const t = e.querySelector(":checked");
|
|
156
|
+
return t && t.__value;
|
|
157
|
+
}
|
|
158
|
+
class Bt {
|
|
159
|
+
constructor(t = !1) {
|
|
160
|
+
/**
|
|
161
|
+
* @private
|
|
162
|
+
* @default false
|
|
163
|
+
*/
|
|
164
|
+
f(this, "is_svg", !1);
|
|
165
|
+
/** parent for creating node */
|
|
166
|
+
f(this, "e");
|
|
167
|
+
/** html tag nodes */
|
|
168
|
+
f(this, "n");
|
|
169
|
+
/** target */
|
|
170
|
+
f(this, "t");
|
|
171
|
+
/** anchor */
|
|
172
|
+
f(this, "a");
|
|
173
|
+
this.is_svg = t, this.e = this.n = null;
|
|
174
|
+
}
|
|
175
|
+
/**
|
|
176
|
+
* @param {string} html
|
|
177
|
+
* @returns {void}
|
|
178
|
+
*/
|
|
179
|
+
c(t) {
|
|
180
|
+
this.h(t);
|
|
181
|
+
}
|
|
182
|
+
/**
|
|
183
|
+
* @param {string} html
|
|
184
|
+
* @param {HTMLElement | SVGElement} target
|
|
185
|
+
* @param {HTMLElement | SVGElement} anchor
|
|
186
|
+
* @returns {void}
|
|
187
|
+
*/
|
|
188
|
+
m(t, n, s = null) {
|
|
189
|
+
this.e || (this.is_svg ? this.e = st(
|
|
190
|
+
/** @type {keyof SVGElementTagNameMap} */
|
|
191
|
+
n.nodeName
|
|
192
|
+
) : this.e = w(
|
|
193
|
+
/** @type {keyof HTMLElementTagNameMap} */
|
|
194
|
+
n.nodeType === 11 ? "TEMPLATE" : n.nodeName
|
|
195
|
+
), this.t = n.tagName !== "TEMPLATE" ? n : (
|
|
196
|
+
/** @type {HTMLTemplateElement} */
|
|
197
|
+
n.content
|
|
198
|
+
), this.c(t)), this.i(s);
|
|
199
|
+
}
|
|
200
|
+
/**
|
|
201
|
+
* @param {string} html
|
|
202
|
+
* @returns {void}
|
|
203
|
+
*/
|
|
204
|
+
h(t) {
|
|
205
|
+
this.e.innerHTML = t, this.n = Array.from(
|
|
206
|
+
this.e.nodeName === "TEMPLATE" ? this.e.content.childNodes : this.e.childNodes
|
|
207
|
+
);
|
|
208
|
+
}
|
|
209
|
+
/**
|
|
210
|
+
* @returns {void} */
|
|
211
|
+
i(t) {
|
|
212
|
+
for (let n = 0; n < this.n.length; n += 1)
|
|
213
|
+
N(this.t, this.n[n], t);
|
|
214
|
+
}
|
|
215
|
+
/**
|
|
216
|
+
* @param {string} html
|
|
217
|
+
* @returns {void}
|
|
218
|
+
*/
|
|
219
|
+
p(t) {
|
|
220
|
+
this.d(), this.h(t), this.i(this.a);
|
|
221
|
+
}
|
|
222
|
+
/**
|
|
223
|
+
* @returns {void} */
|
|
224
|
+
d() {
|
|
225
|
+
this.n.forEach(x);
|
|
226
|
+
}
|
|
227
|
+
}
|
|
228
|
+
function rt(e) {
|
|
229
|
+
const t = {};
|
|
230
|
+
return e.childNodes.forEach(
|
|
231
|
+
/** @param {Element} node */
|
|
232
|
+
(n) => {
|
|
233
|
+
t[n.slot || "default"] = !0;
|
|
234
|
+
}
|
|
235
|
+
), t;
|
|
236
|
+
}
|
|
237
|
+
let _;
|
|
238
|
+
function p(e) {
|
|
239
|
+
_ = e;
|
|
240
|
+
}
|
|
241
|
+
function lt() {
|
|
242
|
+
if (!_) throw new Error("Function called outside component initialization");
|
|
243
|
+
return _;
|
|
244
|
+
}
|
|
245
|
+
function Rt(e) {
|
|
246
|
+
lt().$$.on_mount.push(e);
|
|
247
|
+
}
|
|
248
|
+
const m = [], C = [];
|
|
249
|
+
let g = [];
|
|
250
|
+
const R = [], ot = /* @__PURE__ */ Promise.resolve();
|
|
251
|
+
let k = !1;
|
|
252
|
+
function ct() {
|
|
253
|
+
k || (k = !0, ot.then(b));
|
|
254
|
+
}
|
|
255
|
+
function A(e) {
|
|
256
|
+
g.push(e);
|
|
257
|
+
}
|
|
258
|
+
const L = /* @__PURE__ */ new Set();
|
|
259
|
+
let $ = 0;
|
|
260
|
+
function b() {
|
|
261
|
+
if ($ !== 0)
|
|
262
|
+
return;
|
|
263
|
+
const e = _;
|
|
264
|
+
do {
|
|
265
|
+
try {
|
|
266
|
+
for (; $ < m.length; ) {
|
|
267
|
+
const t = m[$];
|
|
268
|
+
$++, p(t), ut(t.$$);
|
|
269
|
+
}
|
|
270
|
+
} catch (t) {
|
|
271
|
+
throw m.length = 0, $ = 0, t;
|
|
272
|
+
}
|
|
273
|
+
for (p(null), m.length = 0, $ = 0; C.length; ) C.pop()();
|
|
274
|
+
for (let t = 0; t < g.length; t += 1) {
|
|
275
|
+
const n = g[t];
|
|
276
|
+
L.has(n) || (L.add(n), n());
|
|
277
|
+
}
|
|
278
|
+
g.length = 0;
|
|
279
|
+
} while (m.length);
|
|
280
|
+
for (; R.length; )
|
|
281
|
+
R.pop()();
|
|
282
|
+
k = !1, L.clear(), p(e);
|
|
283
|
+
}
|
|
284
|
+
function ut(e) {
|
|
285
|
+
if (e.fragment !== null) {
|
|
286
|
+
e.update(), v(e.before_update);
|
|
287
|
+
const t = e.dirty;
|
|
288
|
+
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(A);
|
|
289
|
+
}
|
|
290
|
+
}
|
|
291
|
+
function ft(e) {
|
|
292
|
+
const t = [], n = [];
|
|
293
|
+
g.forEach((s) => e.indexOf(s) === -1 ? t.push(s) : n.push(s)), n.forEach((s) => s()), g = t;
|
|
294
|
+
}
|
|
295
|
+
const dt = /* @__PURE__ */ new Set();
|
|
296
|
+
function at(e, t) {
|
|
297
|
+
e && e.i && (dt.delete(e), e.i(t));
|
|
298
|
+
}
|
|
299
|
+
function zt(e) {
|
|
300
|
+
return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
|
|
301
|
+
}
|
|
302
|
+
function ht(e, t, n) {
|
|
303
|
+
const { fragment: s, after_update: l } = e.$$;
|
|
304
|
+
s && s.m(t, n), A(() => {
|
|
305
|
+
const i = e.$$.on_mount.map(z).filter(I);
|
|
306
|
+
e.$$.on_destroy ? e.$$.on_destroy.push(...i) : v(i), e.$$.on_mount = [];
|
|
307
|
+
}), l.forEach(A);
|
|
308
|
+
}
|
|
309
|
+
function $t(e, t) {
|
|
310
|
+
const n = e.$$;
|
|
311
|
+
n.fragment !== null && (ft(n.after_update), v(n.on_destroy), n.fragment && n.fragment.d(t), n.on_destroy = n.fragment = null, n.ctx = []);
|
|
312
|
+
}
|
|
313
|
+
function mt(e, t) {
|
|
314
|
+
e.$$.dirty[0] === -1 && (m.push(e), ct(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
315
|
+
}
|
|
316
|
+
function gt(e, t, n, s, l, i, o = null, u = [-1]) {
|
|
317
|
+
const c = _;
|
|
318
|
+
p(e);
|
|
319
|
+
const r = e.$$ = {
|
|
320
|
+
fragment: null,
|
|
321
|
+
ctx: [],
|
|
322
|
+
// state
|
|
323
|
+
props: i,
|
|
324
|
+
update: h,
|
|
325
|
+
not_equal: l,
|
|
326
|
+
bound: B(),
|
|
327
|
+
// lifecycle
|
|
328
|
+
on_mount: [],
|
|
329
|
+
on_destroy: [],
|
|
330
|
+
on_disconnect: [],
|
|
331
|
+
before_update: [],
|
|
332
|
+
after_update: [],
|
|
333
|
+
context: new Map(t.context || (c ? c.$$.context : [])),
|
|
334
|
+
// everything else
|
|
335
|
+
callbacks: B(),
|
|
336
|
+
dirty: u,
|
|
337
|
+
skip_bound: !1,
|
|
338
|
+
root: t.target || c.$$.root
|
|
339
|
+
};
|
|
340
|
+
o && o(r.root);
|
|
341
|
+
let a = !1;
|
|
342
|
+
if (r.ctx = n ? n(e, t.props || {}, (d, T, ...j) => {
|
|
343
|
+
const S = j.length ? j[0] : T;
|
|
344
|
+
return r.ctx && l(r.ctx[d], r.ctx[d] = S) && (!r.skip_bound && r.bound[d] && r.bound[d](S), a && mt(e, d)), T;
|
|
345
|
+
}) : [], r.update(), a = !0, v(r.before_update), r.fragment = s ? s(r.ctx) : !1, t.target) {
|
|
346
|
+
if (t.hydrate) {
|
|
347
|
+
const d = it(t.target);
|
|
348
|
+
r.fragment && r.fragment.l(d), d.forEach(x);
|
|
349
|
+
} else
|
|
350
|
+
r.fragment && r.fragment.c();
|
|
351
|
+
t.intro && at(e.$$.fragment), ht(e, t.target, t.anchor), b();
|
|
352
|
+
}
|
|
353
|
+
p(c);
|
|
354
|
+
}
|
|
355
|
+
let G;
|
|
356
|
+
typeof HTMLElement == "function" && (G = class extends HTMLElement {
|
|
357
|
+
constructor(t, n, s) {
|
|
358
|
+
super();
|
|
359
|
+
/** The Svelte component constructor */
|
|
360
|
+
f(this, "$$ctor");
|
|
361
|
+
/** Slots */
|
|
362
|
+
f(this, "$$s");
|
|
363
|
+
/** The Svelte component instance */
|
|
364
|
+
f(this, "$$c");
|
|
365
|
+
/** Whether or not the custom element is connected */
|
|
366
|
+
f(this, "$$cn", !1);
|
|
367
|
+
/** Component props data */
|
|
368
|
+
f(this, "$$d", {});
|
|
369
|
+
/** `true` if currently in the process of reflecting component props back to attributes */
|
|
370
|
+
f(this, "$$r", !1);
|
|
371
|
+
/** @type {Record<string, CustomElementPropDefinition>} Props definition (name, reflected, type etc) */
|
|
372
|
+
f(this, "$$p_d", {});
|
|
373
|
+
/** @type {Record<string, Function[]>} Event listeners */
|
|
374
|
+
f(this, "$$l", {});
|
|
375
|
+
/** @type {Map<Function, Function>} Event listener unsubscribe functions */
|
|
376
|
+
f(this, "$$l_u", /* @__PURE__ */ new Map());
|
|
377
|
+
this.$$ctor = t, this.$$s = n, s && this.attachShadow({ mode: "open" });
|
|
378
|
+
}
|
|
379
|
+
addEventListener(t, n, s) {
|
|
380
|
+
if (this.$$l[t] = this.$$l[t] || [], this.$$l[t].push(n), this.$$c) {
|
|
381
|
+
const l = this.$$c.$on(t, n);
|
|
382
|
+
this.$$l_u.set(n, l);
|
|
383
|
+
}
|
|
384
|
+
super.addEventListener(t, n, s);
|
|
385
|
+
}
|
|
386
|
+
removeEventListener(t, n, s) {
|
|
387
|
+
if (super.removeEventListener(t, n, s), this.$$c) {
|
|
388
|
+
const l = this.$$l_u.get(n);
|
|
389
|
+
l && (l(), this.$$l_u.delete(n));
|
|
390
|
+
}
|
|
391
|
+
}
|
|
392
|
+
connectedCallback() {
|
|
393
|
+
return H(this, null, function* () {
|
|
394
|
+
if (this.$$cn = !0, !this.$$c) {
|
|
395
|
+
let t = function(i) {
|
|
396
|
+
return () => {
|
|
397
|
+
let o;
|
|
398
|
+
return {
|
|
399
|
+
c: function() {
|
|
400
|
+
o = w("slot"), i !== "default" && F(o, "name", i);
|
|
401
|
+
},
|
|
402
|
+
/**
|
|
403
|
+
* @param {HTMLElement} target
|
|
404
|
+
* @param {HTMLElement} [anchor]
|
|
405
|
+
*/
|
|
406
|
+
m: function(r, a) {
|
|
407
|
+
N(r, o, a);
|
|
408
|
+
},
|
|
409
|
+
d: function(r) {
|
|
410
|
+
r && x(o);
|
|
411
|
+
}
|
|
412
|
+
};
|
|
413
|
+
};
|
|
414
|
+
};
|
|
415
|
+
if (yield Promise.resolve(), !this.$$cn || this.$$c)
|
|
416
|
+
return;
|
|
417
|
+
const n = {}, s = rt(this);
|
|
418
|
+
for (const i of this.$$s)
|
|
419
|
+
i in s && (n[i] = [t(i)]);
|
|
420
|
+
for (const i of this.attributes) {
|
|
421
|
+
const o = this.$$g_p(i.name);
|
|
422
|
+
o in this.$$d || (this.$$d[o] = y(o, i.value, this.$$p_d, "toProp"));
|
|
423
|
+
}
|
|
424
|
+
for (const i in this.$$p_d)
|
|
425
|
+
!(i in this.$$d) && this[i] !== void 0 && (this.$$d[i] = this[i], delete this[i]);
|
|
426
|
+
this.$$c = new this.$$ctor({
|
|
427
|
+
target: this.shadowRoot || this,
|
|
428
|
+
props: M(P({}, this.$$d), {
|
|
429
|
+
$$slots: n,
|
|
430
|
+
$$scope: {
|
|
431
|
+
ctx: []
|
|
432
|
+
}
|
|
433
|
+
})
|
|
434
|
+
});
|
|
435
|
+
const l = () => {
|
|
436
|
+
this.$$r = !0;
|
|
437
|
+
for (const i in this.$$p_d)
|
|
438
|
+
if (this.$$d[i] = this.$$c.$$.ctx[this.$$c.$$.props[i]], this.$$p_d[i].reflect) {
|
|
439
|
+
const o = y(
|
|
440
|
+
i,
|
|
441
|
+
this.$$d[i],
|
|
442
|
+
this.$$p_d,
|
|
443
|
+
"toAttribute"
|
|
444
|
+
);
|
|
445
|
+
o == null ? this.removeAttribute(this.$$p_d[i].attribute || i) : this.setAttribute(this.$$p_d[i].attribute || i, o);
|
|
446
|
+
}
|
|
447
|
+
this.$$r = !1;
|
|
448
|
+
};
|
|
449
|
+
this.$$c.$$.after_update.push(l), l();
|
|
450
|
+
for (const i in this.$$l)
|
|
451
|
+
for (const o of this.$$l[i]) {
|
|
452
|
+
const u = this.$$c.$on(i, o);
|
|
453
|
+
this.$$l_u.set(o, u);
|
|
454
|
+
}
|
|
455
|
+
this.$$l = {};
|
|
456
|
+
}
|
|
457
|
+
});
|
|
458
|
+
}
|
|
459
|
+
// We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
|
|
460
|
+
// and setting attributes through setAttribute etc, this is helpful
|
|
461
|
+
attributeChangedCallback(t, n, s) {
|
|
462
|
+
var l;
|
|
463
|
+
this.$$r || (t = this.$$g_p(t), this.$$d[t] = y(t, s, this.$$p_d, "toProp"), (l = this.$$c) == null || l.$set({ [t]: this.$$d[t] }));
|
|
464
|
+
}
|
|
465
|
+
disconnectedCallback() {
|
|
466
|
+
this.$$cn = !1, Promise.resolve().then(() => {
|
|
467
|
+
!this.$$cn && this.$$c && (this.$$c.$destroy(), this.$$c = void 0);
|
|
468
|
+
});
|
|
469
|
+
}
|
|
470
|
+
$$g_p(t) {
|
|
471
|
+
return Object.keys(this.$$p_d).find(
|
|
472
|
+
(n) => this.$$p_d[n].attribute === t || !this.$$p_d[n].attribute && n.toLowerCase() === t
|
|
473
|
+
) || t;
|
|
474
|
+
}
|
|
475
|
+
});
|
|
476
|
+
function y(e, t, n, s) {
|
|
477
|
+
var i;
|
|
478
|
+
const l = (i = n[e]) == null ? void 0 : i.type;
|
|
479
|
+
if (t = l === "Boolean" && typeof t != "boolean" ? t != null : t, !s || !n[e])
|
|
480
|
+
return t;
|
|
481
|
+
if (s === "toAttribute")
|
|
482
|
+
switch (l) {
|
|
483
|
+
case "Object":
|
|
484
|
+
case "Array":
|
|
485
|
+
return t == null ? null : JSON.stringify(t);
|
|
486
|
+
case "Boolean":
|
|
487
|
+
return t ? "" : null;
|
|
488
|
+
case "Number":
|
|
489
|
+
return t == null ? null : t;
|
|
490
|
+
default:
|
|
491
|
+
return t;
|
|
492
|
+
}
|
|
493
|
+
else
|
|
494
|
+
switch (l) {
|
|
495
|
+
case "Object":
|
|
496
|
+
case "Array":
|
|
497
|
+
return t && JSON.parse(t);
|
|
498
|
+
case "Boolean":
|
|
499
|
+
return t;
|
|
500
|
+
case "Number":
|
|
501
|
+
return t != null ? +t : t;
|
|
502
|
+
default:
|
|
503
|
+
return t;
|
|
504
|
+
}
|
|
505
|
+
}
|
|
506
|
+
function pt(e, t, n, s, l, i) {
|
|
507
|
+
let o = class extends G {
|
|
508
|
+
constructor() {
|
|
509
|
+
super(e, n, l), this.$$p_d = t;
|
|
510
|
+
}
|
|
511
|
+
static get observedAttributes() {
|
|
512
|
+
return Object.keys(t).map(
|
|
513
|
+
(u) => (t[u].attribute || u).toLowerCase()
|
|
514
|
+
);
|
|
515
|
+
}
|
|
516
|
+
};
|
|
517
|
+
return Object.keys(t).forEach((u) => {
|
|
518
|
+
Object.defineProperty(o.prototype, u, {
|
|
519
|
+
get() {
|
|
520
|
+
return this.$$c && u in this.$$c ? this.$$c[u] : this.$$d[u];
|
|
521
|
+
},
|
|
522
|
+
set(c) {
|
|
523
|
+
var r;
|
|
524
|
+
c = y(u, c, t), this.$$d[u] = c, (r = this.$$c) == null || r.$set({ [u]: c });
|
|
525
|
+
}
|
|
526
|
+
});
|
|
527
|
+
}), s.forEach((u) => {
|
|
528
|
+
Object.defineProperty(o.prototype, u, {
|
|
529
|
+
get() {
|
|
530
|
+
var c;
|
|
531
|
+
return (c = this.$$c) == null ? void 0 : c[u];
|
|
532
|
+
}
|
|
533
|
+
});
|
|
534
|
+
}), e.element = /** @type {any} */
|
|
535
|
+
o, o;
|
|
536
|
+
}
|
|
537
|
+
class _t {
|
|
538
|
+
constructor() {
|
|
539
|
+
/**
|
|
540
|
+
* ### PRIVATE API
|
|
541
|
+
*
|
|
542
|
+
* Do not use, may change at any time
|
|
543
|
+
*
|
|
544
|
+
* @type {any}
|
|
545
|
+
*/
|
|
546
|
+
f(this, "$$");
|
|
547
|
+
/**
|
|
548
|
+
* ### PRIVATE API
|
|
549
|
+
*
|
|
550
|
+
* Do not use, may change at any time
|
|
551
|
+
*
|
|
552
|
+
* @type {any}
|
|
553
|
+
*/
|
|
554
|
+
f(this, "$$set");
|
|
555
|
+
}
|
|
556
|
+
/** @returns {void} */
|
|
557
|
+
$destroy() {
|
|
558
|
+
$t(this, 1), this.$destroy = h;
|
|
559
|
+
}
|
|
560
|
+
/**
|
|
561
|
+
* @template {Extract<keyof Events, string>} K
|
|
562
|
+
* @param {K} type
|
|
563
|
+
* @param {((e: Events[K]) => void) | null | undefined} callback
|
|
564
|
+
* @returns {() => void}
|
|
565
|
+
*/
|
|
566
|
+
$on(t, n) {
|
|
567
|
+
if (!I(n))
|
|
568
|
+
return h;
|
|
569
|
+
const s = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
|
|
570
|
+
return s.push(n), () => {
|
|
571
|
+
const l = s.indexOf(n);
|
|
572
|
+
l !== -1 && s.splice(l, 1);
|
|
573
|
+
};
|
|
574
|
+
}
|
|
575
|
+
/**
|
|
576
|
+
* @param {Partial<Props>} props
|
|
577
|
+
* @returns {void}
|
|
578
|
+
*/
|
|
579
|
+
$set(t) {
|
|
580
|
+
this.$$set && !X(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
|
581
|
+
}
|
|
582
|
+
}
|
|
583
|
+
const yt = "4";
|
|
584
|
+
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(yt);
|
|
585
|
+
function bt(e) {
|
|
586
|
+
tt(e, "svelte-g6m3er", ".LoaderContainer.svelte-g6m3er.svelte-g6m3er{display:flex;justify-content:center}.lds-ellipsis.svelte-g6m3er.svelte-g6m3er{display:inline-block;position:relative;width:80px;height:80px}.lds-ellipsis.svelte-g6m3er div.svelte-g6m3er{position:absolute;top:33px;width:13px;height:13px;border-radius:50%;background:#d1d1d1;animation-timing-function:cubic-bezier(0, 1, 1, 0)}.lds-ellipsis.svelte-g6m3er div.svelte-g6m3er:nth-child(1){left:8px;animation:svelte-g6m3er-lds-ellipsis1 0.6s infinite}.lds-ellipsis.svelte-g6m3er div.svelte-g6m3er:nth-child(2){left:8px;animation:svelte-g6m3er-lds-ellipsis2 0.6s infinite}.lds-ellipsis.svelte-g6m3er div.svelte-g6m3er:nth-child(3){left:32px;animation:svelte-g6m3er-lds-ellipsis2 0.6s infinite}.lds-ellipsis.svelte-g6m3er div.svelte-g6m3er:nth-child(4){left:56px;animation:svelte-g6m3er-lds-ellipsis3 0.6s infinite}@keyframes svelte-g6m3er-lds-ellipsis1{0%{transform:scale(0)}100%{transform:scale(1)}}@keyframes svelte-g6m3er-lds-ellipsis3{0%{transform:scale(1)}100%{transform:scale(0)}}@keyframes svelte-g6m3er-lds-ellipsis2{0%{transform:translate(0, 0)}100%{transform:translate(24px, 0)}}");
|
|
587
|
+
}
|
|
588
|
+
function vt(e) {
|
|
589
|
+
let t;
|
|
590
|
+
return {
|
|
591
|
+
c() {
|
|
592
|
+
t = w("div"), t.innerHTML = '<section class="LoaderContainer svelte-g6m3er" part="LoaderContainer"><div class="lds-ellipsis svelte-g6m3er"><div class="svelte-g6m3er"></div><div class="svelte-g6m3er"></div><div class="svelte-g6m3er"></div><div class="svelte-g6m3er"></div></div></section>';
|
|
593
|
+
},
|
|
594
|
+
m(n, s) {
|
|
595
|
+
N(n, t, s), e[3](t);
|
|
596
|
+
},
|
|
597
|
+
p: h,
|
|
598
|
+
i: h,
|
|
599
|
+
o: h,
|
|
600
|
+
d(n) {
|
|
601
|
+
n && x(t), e[3](null);
|
|
602
|
+
}
|
|
603
|
+
};
|
|
604
|
+
}
|
|
605
|
+
function xt(e, t, n) {
|
|
606
|
+
let { clientstyling: s = "" } = t, { clientstylingurl: l = "" } = t, i;
|
|
607
|
+
const o = () => {
|
|
608
|
+
let r = document.createElement("style");
|
|
609
|
+
r.innerHTML = s, i.appendChild(r);
|
|
610
|
+
}, u = () => {
|
|
611
|
+
let r = new URL(l), a = document.createElement("style");
|
|
612
|
+
fetch(r.href).then((d) => d.text()).then((d) => {
|
|
613
|
+
a.innerHTML = d, setTimeout(
|
|
614
|
+
() => {
|
|
615
|
+
i.appendChild(a);
|
|
616
|
+
},
|
|
617
|
+
1
|
|
618
|
+
), setTimeout(
|
|
619
|
+
() => {
|
|
620
|
+
},
|
|
621
|
+
500
|
|
622
|
+
);
|
|
623
|
+
});
|
|
624
|
+
};
|
|
625
|
+
function c(r) {
|
|
626
|
+
C[r ? "unshift" : "push"](() => {
|
|
627
|
+
i = r, n(0, i);
|
|
628
|
+
});
|
|
629
|
+
}
|
|
630
|
+
return e.$$set = (r) => {
|
|
631
|
+
"clientstyling" in r && n(1, s = r.clientstyling), "clientstylingurl" in r && n(2, l = r.clientstylingurl);
|
|
632
|
+
}, e.$$.update = () => {
|
|
633
|
+
e.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
634
|
+
3 && s && i && o(), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
635
|
+
5 && l && i && u();
|
|
636
|
+
}, [i, s, l, c];
|
|
637
|
+
}
|
|
638
|
+
class U extends _t {
|
|
639
|
+
constructor(t) {
|
|
640
|
+
super(), gt(this, t, xt, vt, W, { clientstyling: 1, clientstylingurl: 2 }, bt);
|
|
641
|
+
}
|
|
642
|
+
get clientstyling() {
|
|
643
|
+
return this.$$.ctx[1];
|
|
644
|
+
}
|
|
645
|
+
set clientstyling(t) {
|
|
646
|
+
this.$$set({ clientstyling: t }), b();
|
|
647
|
+
}
|
|
648
|
+
get clientstylingurl() {
|
|
649
|
+
return this.$$.ctx[2];
|
|
650
|
+
}
|
|
651
|
+
set clientstylingurl(t) {
|
|
652
|
+
this.$$set({ clientstylingurl: t }), b();
|
|
653
|
+
}
|
|
654
|
+
}
|
|
655
|
+
pt(U, { clientstyling: {}, clientstylingurl: {} }, [], [], !0);
|
|
656
|
+
const It = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
657
|
+
__proto__: null,
|
|
658
|
+
default: U
|
|
659
|
+
}, Symbol.toStringTag, { value: "Module" }));
|
|
660
|
+
export {
|
|
661
|
+
Ct as A,
|
|
662
|
+
Ot as B,
|
|
663
|
+
Tt as C,
|
|
664
|
+
At as D,
|
|
665
|
+
jt as E,
|
|
666
|
+
Pt as F,
|
|
667
|
+
It as G,
|
|
668
|
+
Bt as H,
|
|
669
|
+
_t as S,
|
|
670
|
+
W as a,
|
|
671
|
+
gt as b,
|
|
672
|
+
pt as c,
|
|
673
|
+
tt as d,
|
|
674
|
+
w as e,
|
|
675
|
+
b as f,
|
|
676
|
+
F as g,
|
|
677
|
+
Lt as h,
|
|
678
|
+
I as i,
|
|
679
|
+
N as j,
|
|
680
|
+
Z as k,
|
|
681
|
+
x as l,
|
|
682
|
+
Et as m,
|
|
683
|
+
h as n,
|
|
684
|
+
Rt as o,
|
|
685
|
+
Ht as p,
|
|
686
|
+
C as q,
|
|
687
|
+
v as r,
|
|
688
|
+
Y as s,
|
|
689
|
+
D as t,
|
|
690
|
+
kt as u,
|
|
691
|
+
St as v,
|
|
692
|
+
zt as w,
|
|
693
|
+
A as x,
|
|
694
|
+
Mt as y,
|
|
695
|
+
Nt as z
|
|
696
|
+
};
|