@sesamy/sesamy-components 0.0.8 → 0.0.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
var re = Object.defineProperty;
|
|
2
2
|
var ce = (e, t, n) => t in e ? re(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
|
|
3
3
|
var V = (e, t, n) => ce(e, typeof t != "symbol" ? t + "" : t, n);
|
|
4
|
-
function
|
|
4
|
+
function q() {
|
|
5
5
|
}
|
|
6
6
|
function X(e, t) {
|
|
7
7
|
for (const n in t) e[n] = t[n];
|
|
@@ -32,46 +32,46 @@ function Qt(e, t) {
|
|
|
32
32
|
function ae(e) {
|
|
33
33
|
return Object.keys(e).length === 0;
|
|
34
34
|
}
|
|
35
|
-
function $t(e, t, n,
|
|
35
|
+
function $t(e, t, n, l) {
|
|
36
36
|
if (e) {
|
|
37
|
-
const
|
|
38
|
-
return e[0](
|
|
37
|
+
const s = Xt(e, t, n, l);
|
|
38
|
+
return e[0](s);
|
|
39
39
|
}
|
|
40
40
|
}
|
|
41
|
-
function Xt(e, t, n,
|
|
42
|
-
return e[1] &&
|
|
41
|
+
function Xt(e, t, n, l) {
|
|
42
|
+
return e[1] && l ? X(n.ctx.slice(), e[1](l(t))) : n.ctx;
|
|
43
43
|
}
|
|
44
|
-
function
|
|
45
|
-
if (e[2] &&
|
|
46
|
-
const
|
|
44
|
+
function kt(e, t, n, l) {
|
|
45
|
+
if (e[2] && l) {
|
|
46
|
+
const s = e[2](l(n));
|
|
47
47
|
if (t.dirty === void 0)
|
|
48
|
-
return
|
|
49
|
-
if (typeof
|
|
50
|
-
const
|
|
48
|
+
return s;
|
|
49
|
+
if (typeof s == "object") {
|
|
50
|
+
const i = [], r = Math.max(t.dirty.length, s.length);
|
|
51
51
|
for (let a = 0; a < r; a += 1)
|
|
52
|
-
|
|
53
|
-
return
|
|
52
|
+
i[a] = t.dirty[a] | s[a];
|
|
53
|
+
return i;
|
|
54
54
|
}
|
|
55
|
-
return t.dirty |
|
|
55
|
+
return t.dirty | s;
|
|
56
56
|
}
|
|
57
57
|
return t.dirty;
|
|
58
58
|
}
|
|
59
|
-
function
|
|
60
|
-
if (
|
|
61
|
-
const r = Xt(t, n,
|
|
62
|
-
e.p(r,
|
|
59
|
+
function wt(e, t, n, l, s, i) {
|
|
60
|
+
if (s) {
|
|
61
|
+
const r = Xt(t, n, l, i);
|
|
62
|
+
e.p(r, s);
|
|
63
63
|
}
|
|
64
64
|
}
|
|
65
|
-
function
|
|
65
|
+
function yt(e) {
|
|
66
66
|
if (e.ctx.length > 32) {
|
|
67
67
|
const t = [], n = e.ctx.length / 32;
|
|
68
|
-
for (let
|
|
69
|
-
t[
|
|
68
|
+
for (let l = 0; l < n; l++)
|
|
69
|
+
t[l] = -1;
|
|
70
70
|
return t;
|
|
71
71
|
}
|
|
72
72
|
return -1;
|
|
73
73
|
}
|
|
74
|
-
function
|
|
74
|
+
function xt(e) {
|
|
75
75
|
const t = {};
|
|
76
76
|
for (const n in e) n[0] !== "$" && (t[n] = e[n]);
|
|
77
77
|
return t;
|
|
@@ -79,17 +79,17 @@ function jt(e) {
|
|
|
79
79
|
function Ft(e, t) {
|
|
80
80
|
const n = {};
|
|
81
81
|
t = new Set(t);
|
|
82
|
-
for (const
|
|
82
|
+
for (const l in e) !t.has(l) && l[0] !== "$" && (n[l] = e[l]);
|
|
83
83
|
return n;
|
|
84
84
|
}
|
|
85
85
|
function c(e, t) {
|
|
86
86
|
e.appendChild(t);
|
|
87
87
|
}
|
|
88
88
|
function St(e, t, n) {
|
|
89
|
-
const
|
|
90
|
-
if (!
|
|
91
|
-
const
|
|
92
|
-
|
|
89
|
+
const l = ue(e);
|
|
90
|
+
if (!l.getElementById(t)) {
|
|
91
|
+
const s = d("style");
|
|
92
|
+
s.id = t, s.textContent = n, fe(l, s);
|
|
93
93
|
}
|
|
94
94
|
}
|
|
95
95
|
function ue(e) {
|
|
@@ -111,7 +111,7 @@ function fe(e, t) {
|
|
|
111
111
|
function z(e, t, n) {
|
|
112
112
|
e.insertBefore(t, n || null);
|
|
113
113
|
}
|
|
114
|
-
function
|
|
114
|
+
function j(e) {
|
|
115
115
|
e.parentNode && e.parentNode.removeChild(e);
|
|
116
116
|
}
|
|
117
117
|
function Et(e, t) {
|
|
@@ -133,22 +133,22 @@ function b() {
|
|
|
133
133
|
function At() {
|
|
134
134
|
return te("");
|
|
135
135
|
}
|
|
136
|
-
function P(e, t, n,
|
|
137
|
-
return e.addEventListener(t, n,
|
|
136
|
+
function P(e, t, n, l) {
|
|
137
|
+
return e.addEventListener(t, n, l), () => e.removeEventListener(t, n, l);
|
|
138
138
|
}
|
|
139
|
-
function
|
|
139
|
+
function o(e, t, n) {
|
|
140
140
|
n == null ? e.removeAttribute(t) : e.getAttribute(t) !== n && e.setAttribute(t, n);
|
|
141
141
|
}
|
|
142
|
-
function
|
|
142
|
+
function Ct(e, t) {
|
|
143
143
|
for (const n in t)
|
|
144
|
-
|
|
144
|
+
o(e, n, t[n]);
|
|
145
145
|
}
|
|
146
146
|
function de(e) {
|
|
147
147
|
let t;
|
|
148
148
|
return {
|
|
149
149
|
/* push */
|
|
150
150
|
p(...n) {
|
|
151
|
-
t = n, t.forEach((
|
|
151
|
+
t = n, t.forEach((l) => e.push(l));
|
|
152
152
|
},
|
|
153
153
|
/* remove */
|
|
154
154
|
r() {
|
|
@@ -185,31 +185,31 @@ function me() {
|
|
|
185
185
|
function Nt(e) {
|
|
186
186
|
at.push(e);
|
|
187
187
|
}
|
|
188
|
-
const
|
|
189
|
-
let
|
|
188
|
+
const jt = /* @__PURE__ */ new Set();
|
|
189
|
+
let it = 0;
|
|
190
190
|
function ee() {
|
|
191
|
-
if (
|
|
191
|
+
if (it !== 0)
|
|
192
192
|
return;
|
|
193
193
|
const e = Mt;
|
|
194
194
|
do {
|
|
195
195
|
try {
|
|
196
|
-
for (;
|
|
197
|
-
const t = rt[
|
|
198
|
-
|
|
196
|
+
for (; it < rt.length; ) {
|
|
197
|
+
const t = rt[it];
|
|
198
|
+
it++, gt(t), be(t.$$);
|
|
199
199
|
}
|
|
200
200
|
} catch (t) {
|
|
201
|
-
throw rt.length = 0,
|
|
201
|
+
throw rt.length = 0, it = 0, t;
|
|
202
202
|
}
|
|
203
|
-
for (gt(null), rt.length = 0,
|
|
203
|
+
for (gt(null), rt.length = 0, it = 0; Ot.length; ) Ot.pop()();
|
|
204
204
|
for (let t = 0; t < at.length; t += 1) {
|
|
205
205
|
const n = at[t];
|
|
206
|
-
|
|
206
|
+
jt.has(n) || (jt.add(n), n());
|
|
207
207
|
}
|
|
208
208
|
at.length = 0;
|
|
209
209
|
} while (rt.length);
|
|
210
210
|
for (; Tt.length; )
|
|
211
211
|
Tt.pop()();
|
|
212
|
-
Lt = !1,
|
|
212
|
+
Lt = !1, jt.clear(), gt(e);
|
|
213
213
|
}
|
|
214
214
|
function be(e) {
|
|
215
215
|
if (e.fragment !== null) {
|
|
@@ -220,7 +220,7 @@ function be(e) {
|
|
|
220
220
|
}
|
|
221
221
|
function _e(e) {
|
|
222
222
|
const t = [], n = [];
|
|
223
|
-
at.forEach((
|
|
223
|
+
at.forEach((l) => e.indexOf(l) === -1 ? t.push(l) : n.push(l)), n.forEach((l) => l()), at = t;
|
|
224
224
|
}
|
|
225
225
|
const _t = /* @__PURE__ */ new Set();
|
|
226
226
|
let nt;
|
|
@@ -238,66 +238,66 @@ function $e() {
|
|
|
238
238
|
function O(e, t) {
|
|
239
239
|
e && e.i && (_t.delete(e), e.i(t));
|
|
240
240
|
}
|
|
241
|
-
function Z(e, t, n,
|
|
241
|
+
function Z(e, t, n, l) {
|
|
242
242
|
if (e && e.o) {
|
|
243
243
|
if (_t.has(e)) return;
|
|
244
244
|
_t.add(e), nt.c.push(() => {
|
|
245
|
-
_t.delete(e),
|
|
245
|
+
_t.delete(e), l && (n && e.d(1), l());
|
|
246
246
|
}), e.o(t);
|
|
247
|
-
} else
|
|
247
|
+
} else l && l();
|
|
248
248
|
}
|
|
249
249
|
function ct(e) {
|
|
250
250
|
return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
|
|
251
251
|
}
|
|
252
252
|
function Pt(e, t) {
|
|
253
|
-
const n = {},
|
|
254
|
-
let
|
|
255
|
-
for (;
|
|
256
|
-
const r = e[
|
|
253
|
+
const n = {}, l = {}, s = { $$scope: 1 };
|
|
254
|
+
let i = e.length;
|
|
255
|
+
for (; i--; ) {
|
|
256
|
+
const r = e[i], a = t[i];
|
|
257
257
|
if (a) {
|
|
258
258
|
for (const h in r)
|
|
259
|
-
h in a || (
|
|
259
|
+
h in a || (l[h] = 1);
|
|
260
260
|
for (const h in a)
|
|
261
|
-
|
|
262
|
-
e[
|
|
261
|
+
s[h] || (n[h] = a[h], s[h] = 1);
|
|
262
|
+
e[i] = a;
|
|
263
263
|
} else
|
|
264
264
|
for (const h in r)
|
|
265
|
-
|
|
265
|
+
s[h] = 1;
|
|
266
266
|
}
|
|
267
|
-
for (const r in
|
|
267
|
+
for (const r in l)
|
|
268
268
|
r in n || (n[r] = void 0);
|
|
269
269
|
return n;
|
|
270
270
|
}
|
|
271
|
-
function
|
|
271
|
+
function ke(e) {
|
|
272
272
|
return typeof e == "object" && e !== null ? e : {};
|
|
273
273
|
}
|
|
274
274
|
function pt(e) {
|
|
275
275
|
e && e.c();
|
|
276
276
|
}
|
|
277
277
|
function ut(e, t, n) {
|
|
278
|
-
const { fragment:
|
|
279
|
-
|
|
280
|
-
const
|
|
281
|
-
e.$$.on_destroy ? e.$$.on_destroy.push(...
|
|
282
|
-
}),
|
|
278
|
+
const { fragment: l, after_update: s } = e.$$;
|
|
279
|
+
l && l.m(t, n), Nt(() => {
|
|
280
|
+
const i = e.$$.on_mount.map(Jt).filter(Yt);
|
|
281
|
+
e.$$.on_destroy ? e.$$.on_destroy.push(...i) : tt(i), e.$$.on_mount = [];
|
|
282
|
+
}), s.forEach(Nt);
|
|
283
283
|
}
|
|
284
284
|
function ft(e, t) {
|
|
285
285
|
const n = e.$$;
|
|
286
286
|
n.fragment !== null && (_e(n.after_update), tt(n.on_destroy), n.fragment && n.fragment.d(t), n.on_destroy = n.fragment = null, n.ctx = []);
|
|
287
287
|
}
|
|
288
|
-
function
|
|
288
|
+
function we(e, t) {
|
|
289
289
|
e.$$.dirty[0] === -1 && (rt.push(e), me(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
290
290
|
}
|
|
291
|
-
function J(e, t, n,
|
|
291
|
+
function J(e, t, n, l, s, i, r = null, a = [-1]) {
|
|
292
292
|
const h = Mt;
|
|
293
293
|
gt(e);
|
|
294
294
|
const p = e.$$ = {
|
|
295
295
|
fragment: null,
|
|
296
296
|
ctx: [],
|
|
297
297
|
// state
|
|
298
|
-
props:
|
|
299
|
-
update:
|
|
300
|
-
not_equal:
|
|
298
|
+
props: i,
|
|
299
|
+
update: q,
|
|
300
|
+
not_equal: s,
|
|
301
301
|
bound: Bt(),
|
|
302
302
|
// lifecycle
|
|
303
303
|
on_mount: [],
|
|
@@ -313,14 +313,14 @@ function J(e, t, n, s, l, o, r = null, a = [-1]) {
|
|
|
313
313
|
root: t.target || h.$$.root
|
|
314
314
|
};
|
|
315
315
|
r && r(p.root);
|
|
316
|
-
let
|
|
316
|
+
let k = !1;
|
|
317
317
|
if (p.ctx = n ? n(e, t.props || {}, (_, u, ...$) => {
|
|
318
318
|
const g = $.length ? $[0] : u;
|
|
319
|
-
return p.ctx &&
|
|
320
|
-
}) : [], p.update(),
|
|
319
|
+
return p.ctx && s(p.ctx[_], p.ctx[_] = g) && (!p.skip_bound && p.bound[_] && p.bound[_](g), k && we(e, _)), u;
|
|
320
|
+
}) : [], p.update(), k = !0, tt(p.before_update), p.fragment = l ? l(p.ctx) : !1, t.target) {
|
|
321
321
|
if (t.hydrate) {
|
|
322
322
|
const _ = he(t.target);
|
|
323
|
-
p.fragment && p.fragment.l(_), _.forEach(
|
|
323
|
+
p.fragment && p.fragment.l(_), _.forEach(j);
|
|
324
324
|
} else
|
|
325
325
|
p.fragment && p.fragment.c();
|
|
326
326
|
t.intro && O(e.$$.fragment), ut(e, t.target, t.anchor), ee();
|
|
@@ -329,7 +329,7 @@ function J(e, t, n, s, l, o, r = null, a = [-1]) {
|
|
|
329
329
|
}
|
|
330
330
|
let ne;
|
|
331
331
|
typeof HTMLElement == "function" && (ne = class extends HTMLElement {
|
|
332
|
-
constructor(t, n,
|
|
332
|
+
constructor(t, n, l) {
|
|
333
333
|
super();
|
|
334
334
|
/** The Svelte component constructor */
|
|
335
335
|
V(this, "$$ctor");
|
|
@@ -349,54 +349,54 @@ typeof HTMLElement == "function" && (ne = class extends HTMLElement {
|
|
|
349
349
|
V(this, "$$l", {});
|
|
350
350
|
/** @type {Map<Function, Function>} Event listener unsubscribe functions */
|
|
351
351
|
V(this, "$$l_u", /* @__PURE__ */ new Map());
|
|
352
|
-
this.$$ctor = t, this.$$s = n,
|
|
352
|
+
this.$$ctor = t, this.$$s = n, l && this.attachShadow({ mode: "open" });
|
|
353
353
|
}
|
|
354
|
-
addEventListener(t, n,
|
|
354
|
+
addEventListener(t, n, l) {
|
|
355
355
|
if (this.$$l[t] = this.$$l[t] || [], this.$$l[t].push(n), this.$$c) {
|
|
356
|
-
const
|
|
357
|
-
this.$$l_u.set(n,
|
|
356
|
+
const s = this.$$c.$on(t, n);
|
|
357
|
+
this.$$l_u.set(n, s);
|
|
358
358
|
}
|
|
359
|
-
super.addEventListener(t, n,
|
|
359
|
+
super.addEventListener(t, n, l);
|
|
360
360
|
}
|
|
361
|
-
removeEventListener(t, n,
|
|
362
|
-
if (super.removeEventListener(t, n,
|
|
363
|
-
const
|
|
364
|
-
|
|
361
|
+
removeEventListener(t, n, l) {
|
|
362
|
+
if (super.removeEventListener(t, n, l), this.$$c) {
|
|
363
|
+
const s = this.$$l_u.get(n);
|
|
364
|
+
s && (s(), this.$$l_u.delete(n));
|
|
365
365
|
}
|
|
366
366
|
}
|
|
367
367
|
async connectedCallback() {
|
|
368
368
|
if (this.$$cn = !0, !this.$$c) {
|
|
369
|
-
let t = function(
|
|
369
|
+
let t = function(i) {
|
|
370
370
|
return () => {
|
|
371
371
|
let r;
|
|
372
372
|
return {
|
|
373
373
|
c: function() {
|
|
374
|
-
r = d("slot"),
|
|
374
|
+
r = d("slot"), i !== "default" && o(r, "name", i);
|
|
375
375
|
},
|
|
376
376
|
/**
|
|
377
377
|
* @param {HTMLElement} target
|
|
378
378
|
* @param {HTMLElement} [anchor]
|
|
379
379
|
*/
|
|
380
|
-
m: function(p,
|
|
381
|
-
z(p, r,
|
|
380
|
+
m: function(p, k) {
|
|
381
|
+
z(p, r, k);
|
|
382
382
|
},
|
|
383
383
|
d: function(p) {
|
|
384
|
-
p &&
|
|
384
|
+
p && j(r);
|
|
385
385
|
}
|
|
386
386
|
};
|
|
387
387
|
};
|
|
388
388
|
};
|
|
389
389
|
if (await Promise.resolve(), !this.$$cn || this.$$c)
|
|
390
390
|
return;
|
|
391
|
-
const n = {},
|
|
392
|
-
for (const
|
|
393
|
-
|
|
394
|
-
for (const
|
|
395
|
-
const r = this.$$g_p(
|
|
396
|
-
r in this.$$d || (this.$$d[r] = vt(r,
|
|
391
|
+
const n = {}, l = ge(this);
|
|
392
|
+
for (const i of this.$$s)
|
|
393
|
+
i in l && (n[i] = [t(i)]);
|
|
394
|
+
for (const i of this.attributes) {
|
|
395
|
+
const r = this.$$g_p(i.name);
|
|
396
|
+
r in this.$$d || (this.$$d[r] = vt(r, i.value, this.$$p_d, "toProp"));
|
|
397
397
|
}
|
|
398
|
-
for (const
|
|
399
|
-
!(
|
|
398
|
+
for (const i in this.$$p_d)
|
|
399
|
+
!(i in this.$$d) && this[i] !== void 0 && (this.$$d[i] = this[i], delete this[i]);
|
|
400
400
|
this.$$c = new this.$$ctor({
|
|
401
401
|
target: this.shadowRoot || this,
|
|
402
402
|
props: {
|
|
@@ -407,24 +407,24 @@ typeof HTMLElement == "function" && (ne = class extends HTMLElement {
|
|
|
407
407
|
}
|
|
408
408
|
}
|
|
409
409
|
});
|
|
410
|
-
const
|
|
410
|
+
const s = () => {
|
|
411
411
|
this.$$r = !0;
|
|
412
|
-
for (const
|
|
413
|
-
if (this.$$d[
|
|
412
|
+
for (const i in this.$$p_d)
|
|
413
|
+
if (this.$$d[i] = this.$$c.$$.ctx[this.$$c.$$.props[i]], this.$$p_d[i].reflect) {
|
|
414
414
|
const r = vt(
|
|
415
|
-
|
|
416
|
-
this.$$d[
|
|
415
|
+
i,
|
|
416
|
+
this.$$d[i],
|
|
417
417
|
this.$$p_d,
|
|
418
418
|
"toAttribute"
|
|
419
419
|
);
|
|
420
|
-
r == null ? this.removeAttribute(this.$$p_d[
|
|
420
|
+
r == null ? this.removeAttribute(this.$$p_d[i].attribute || i) : this.setAttribute(this.$$p_d[i].attribute || i, r);
|
|
421
421
|
}
|
|
422
422
|
this.$$r = !1;
|
|
423
423
|
};
|
|
424
|
-
this.$$c.$$.after_update.push(
|
|
425
|
-
for (const
|
|
426
|
-
for (const r of this.$$l[
|
|
427
|
-
const a = this.$$c.$on(
|
|
424
|
+
this.$$c.$$.after_update.push(s), s();
|
|
425
|
+
for (const i in this.$$l)
|
|
426
|
+
for (const r of this.$$l[i]) {
|
|
427
|
+
const a = this.$$c.$on(i, r);
|
|
428
428
|
this.$$l_u.set(r, a);
|
|
429
429
|
}
|
|
430
430
|
this.$$l = {};
|
|
@@ -432,9 +432,9 @@ typeof HTMLElement == "function" && (ne = class extends HTMLElement {
|
|
|
432
432
|
}
|
|
433
433
|
// We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
|
|
434
434
|
// and setting attributes through setAttribute etc, this is helpful
|
|
435
|
-
attributeChangedCallback(t, n,
|
|
436
|
-
var
|
|
437
|
-
this.$$r || (t = this.$$g_p(t), this.$$d[t] = vt(t,
|
|
435
|
+
attributeChangedCallback(t, n, l) {
|
|
436
|
+
var s;
|
|
437
|
+
this.$$r || (t = this.$$g_p(t), this.$$d[t] = vt(t, l, this.$$p_d, "toProp"), (s = this.$$c) == null || s.$set({ [t]: this.$$d[t] }));
|
|
438
438
|
}
|
|
439
439
|
disconnectedCallback() {
|
|
440
440
|
this.$$cn = !1, Promise.resolve().then(() => {
|
|
@@ -447,13 +447,13 @@ typeof HTMLElement == "function" && (ne = class extends HTMLElement {
|
|
|
447
447
|
) || t;
|
|
448
448
|
}
|
|
449
449
|
});
|
|
450
|
-
function vt(e, t, n,
|
|
451
|
-
var
|
|
452
|
-
const
|
|
453
|
-
if (t =
|
|
450
|
+
function vt(e, t, n, l) {
|
|
451
|
+
var i;
|
|
452
|
+
const s = (i = n[e]) == null ? void 0 : i.type;
|
|
453
|
+
if (t = s === "Boolean" && typeof t != "boolean" ? t != null : t, !l || !n[e])
|
|
454
454
|
return t;
|
|
455
|
-
if (
|
|
456
|
-
switch (
|
|
455
|
+
if (l === "toAttribute")
|
|
456
|
+
switch (s) {
|
|
457
457
|
case "Object":
|
|
458
458
|
case "Array":
|
|
459
459
|
return t == null ? null : JSON.stringify(t);
|
|
@@ -465,7 +465,7 @@ function vt(e, t, n, s) {
|
|
|
465
465
|
return t;
|
|
466
466
|
}
|
|
467
467
|
else
|
|
468
|
-
switch (
|
|
468
|
+
switch (s) {
|
|
469
469
|
case "Object":
|
|
470
470
|
case "Array":
|
|
471
471
|
return t && JSON.parse(t);
|
|
@@ -477,10 +477,10 @@ function vt(e, t, n, s) {
|
|
|
477
477
|
return t;
|
|
478
478
|
}
|
|
479
479
|
}
|
|
480
|
-
function
|
|
480
|
+
function qt(e, t, n, l, s, i) {
|
|
481
481
|
let r = class extends ne {
|
|
482
482
|
constructor() {
|
|
483
|
-
super(e, n,
|
|
483
|
+
super(e, n, s), this.$$p_d = t;
|
|
484
484
|
}
|
|
485
485
|
static get observedAttributes() {
|
|
486
486
|
return Object.keys(t).map(
|
|
@@ -498,7 +498,7 @@ function Ct(e, t, n, s, l, o) {
|
|
|
498
498
|
h = vt(a, h, t), this.$$d[a] = h, (p = this.$$c) == null || p.$set({ [a]: h });
|
|
499
499
|
}
|
|
500
500
|
});
|
|
501
|
-
}),
|
|
501
|
+
}), l.forEach((a) => {
|
|
502
502
|
Object.defineProperty(r.prototype, a, {
|
|
503
503
|
get() {
|
|
504
504
|
var h;
|
|
@@ -529,7 +529,7 @@ class Y {
|
|
|
529
529
|
}
|
|
530
530
|
/** @returns {void} */
|
|
531
531
|
$destroy() {
|
|
532
|
-
ft(this, 1), this.$destroy =
|
|
532
|
+
ft(this, 1), this.$destroy = q;
|
|
533
533
|
}
|
|
534
534
|
/**
|
|
535
535
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -539,11 +539,11 @@ class Y {
|
|
|
539
539
|
*/
|
|
540
540
|
$on(t, n) {
|
|
541
541
|
if (!Yt(n))
|
|
542
|
-
return
|
|
543
|
-
const
|
|
544
|
-
return
|
|
545
|
-
const
|
|
546
|
-
|
|
542
|
+
return q;
|
|
543
|
+
const l = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
|
|
544
|
+
return l.push(n), () => {
|
|
545
|
+
const s = l.indexOf(n);
|
|
546
|
+
s !== -1 && l.splice(s, 1);
|
|
547
547
|
};
|
|
548
548
|
}
|
|
549
549
|
/**
|
|
@@ -554,112 +554,112 @@ class Y {
|
|
|
554
554
|
this.$$set && !ae(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
|
555
555
|
}
|
|
556
556
|
}
|
|
557
|
-
const
|
|
558
|
-
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(
|
|
559
|
-
function
|
|
557
|
+
const ye = "4";
|
|
558
|
+
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(ye);
|
|
559
|
+
function xe(e) {
|
|
560
560
|
St(e, "svelte-1nq6lsq", ".login-btn.svelte-1nq6lsq.svelte-1nq6lsq,.loading-btn.svelte-1nq6lsq.svelte-1nq6lsq,.avatar-btn.svelte-1nq6lsq.svelte-1nq6lsq{display:flex;align-items:center;justify-content:center;cursor:pointer;transition:all 0.3s ease;border:none;outline:none}.login-btn.svelte-1nq6lsq.svelte-1nq6lsq{width:120px;height:40px;border-radius:5px;background-color:#007bff;color:white;font-size:16px;font-weight:bold}.login-btn.svelte-1nq6lsq.svelte-1nq6lsq:hover{background-color:#0056b3}.login-btn.svelte-1nq6lsq.svelte-1nq6lsq:focus,.avatar-btn.svelte-1nq6lsq.svelte-1nq6lsq:focus{outline:2px solid #0056b3;outline-offset:4px}.loading-btn.svelte-1nq6lsq.svelte-1nq6lsq,.avatar-btn.svelte-1nq6lsq.svelte-1nq6lsq{width:50px;height:50px;border-radius:50%}.loading-btn.svelte-1nq6lsq.svelte-1nq6lsq{background-color:#00bfff;animation:svelte-1nq6lsq-pulse 1s infinite ease-in-out}.avatar-btn.svelte-1nq6lsq img.svelte-1nq6lsq{width:100%;height:100%;object-fit:cover;border-radius:50%}@keyframes svelte-1nq6lsq-pulse{0%{opacity:1}50%{opacity:0.5}100%{opacity:1}}");
|
|
561
561
|
}
|
|
562
|
-
function
|
|
563
|
-
let t, n,
|
|
562
|
+
function Ce(e) {
|
|
563
|
+
let t, n, l;
|
|
564
564
|
return {
|
|
565
565
|
c() {
|
|
566
|
-
t = d("button"), t.textContent = "Login",
|
|
566
|
+
t = d("button"), t.textContent = "Login", o(t, "class", "login-btn svelte-1nq6lsq"), o(t, "aria-label", "Log in");
|
|
567
567
|
},
|
|
568
|
-
m(
|
|
569
|
-
z(
|
|
568
|
+
m(s, i) {
|
|
569
|
+
z(s, t, i), n || (l = P(
|
|
570
570
|
t,
|
|
571
571
|
"click",
|
|
572
572
|
/*login*/
|
|
573
573
|
e[2]
|
|
574
574
|
), n = !0);
|
|
575
575
|
},
|
|
576
|
-
p:
|
|
577
|
-
d(
|
|
578
|
-
|
|
576
|
+
p: q,
|
|
577
|
+
d(s) {
|
|
578
|
+
s && j(t), n = !1, l();
|
|
579
579
|
}
|
|
580
580
|
};
|
|
581
581
|
}
|
|
582
|
-
function
|
|
583
|
-
let t, n,
|
|
582
|
+
function qe(e) {
|
|
583
|
+
let t, n, l, s, i;
|
|
584
584
|
return {
|
|
585
585
|
c() {
|
|
586
|
-
t = d("button"), n = d("img"), Qt(n.src,
|
|
586
|
+
t = d("button"), n = d("img"), Qt(n.src, l = Ee) || o(n, "src", l), o(n, "alt", "User Avatar"), o(n, "class", "svelte-1nq6lsq"), o(t, "class", "avatar-btn svelte-1nq6lsq"), o(t, "aria-label", "Log out");
|
|
587
587
|
},
|
|
588
588
|
m(r, a) {
|
|
589
|
-
z(r, t, a), c(t, n),
|
|
589
|
+
z(r, t, a), c(t, n), s || (i = P(
|
|
590
590
|
t,
|
|
591
591
|
"click",
|
|
592
592
|
/*logout*/
|
|
593
593
|
e[3]
|
|
594
|
-
),
|
|
594
|
+
), s = !0);
|
|
595
595
|
},
|
|
596
|
-
p:
|
|
596
|
+
p: q,
|
|
597
597
|
d(r) {
|
|
598
|
-
r &&
|
|
598
|
+
r && j(t), s = !1, i();
|
|
599
599
|
}
|
|
600
600
|
};
|
|
601
601
|
}
|
|
602
|
-
function
|
|
602
|
+
function je(e) {
|
|
603
603
|
let t;
|
|
604
604
|
return {
|
|
605
605
|
c() {
|
|
606
|
-
t = d("button"), t.innerHTML = "",
|
|
606
|
+
t = d("button"), t.innerHTML = "", o(t, "class", "loading-btn svelte-1nq6lsq"), o(t, "aria-busy", "true"), o(t, "aria-label", "Logging in");
|
|
607
607
|
},
|
|
608
|
-
m(n,
|
|
609
|
-
z(n, t,
|
|
608
|
+
m(n, l) {
|
|
609
|
+
z(n, t, l);
|
|
610
610
|
},
|
|
611
|
-
p:
|
|
611
|
+
p: q,
|
|
612
612
|
d(n) {
|
|
613
|
-
n &&
|
|
613
|
+
n && j(t);
|
|
614
614
|
}
|
|
615
615
|
};
|
|
616
616
|
}
|
|
617
617
|
function ze(e) {
|
|
618
618
|
let t;
|
|
619
|
-
function n(
|
|
619
|
+
function n(i, r) {
|
|
620
620
|
return (
|
|
621
621
|
/*loading*/
|
|
622
|
-
|
|
622
|
+
i[0] ? je : (
|
|
623
623
|
/*loggedIn*/
|
|
624
|
-
|
|
624
|
+
i[1] ? qe : Ce
|
|
625
625
|
)
|
|
626
626
|
);
|
|
627
627
|
}
|
|
628
|
-
let
|
|
628
|
+
let l = n(e), s = l(e);
|
|
629
629
|
return {
|
|
630
630
|
c() {
|
|
631
|
-
|
|
631
|
+
s.c(), t = At();
|
|
632
632
|
},
|
|
633
|
-
m(
|
|
634
|
-
|
|
633
|
+
m(i, r) {
|
|
634
|
+
s.m(i, r), z(i, t, r);
|
|
635
635
|
},
|
|
636
|
-
p(
|
|
637
|
-
|
|
636
|
+
p(i, [r]) {
|
|
637
|
+
l === (l = n(i)) && s ? s.p(i, r) : (s.d(1), s = l(i), s && (s.c(), s.m(t.parentNode, t)));
|
|
638
638
|
},
|
|
639
|
-
i:
|
|
640
|
-
o:
|
|
641
|
-
d(
|
|
642
|
-
|
|
639
|
+
i: q,
|
|
640
|
+
o: q,
|
|
641
|
+
d(i) {
|
|
642
|
+
i && j(t), s.d(i);
|
|
643
643
|
}
|
|
644
644
|
};
|
|
645
645
|
}
|
|
646
646
|
let Ee = "https://via.placeholder.com/50";
|
|
647
647
|
function Le(e, t, n) {
|
|
648
|
-
let
|
|
649
|
-
const
|
|
650
|
-
n(0,
|
|
648
|
+
let l = !1, s = !1;
|
|
649
|
+
const i = async () => {
|
|
650
|
+
n(0, l = !0), await new Promise((h) => setTimeout(h, 2e3)), n(0, l = !1), n(1, s = !0);
|
|
651
651
|
}, r = () => {
|
|
652
|
-
n(1,
|
|
652
|
+
n(1, s = !1);
|
|
653
653
|
};
|
|
654
|
-
return
|
|
654
|
+
return s = s, [l, s, i, r];
|
|
655
655
|
}
|
|
656
|
-
class
|
|
656
|
+
class le extends Y {
|
|
657
657
|
constructor(t) {
|
|
658
|
-
super(), J(this, t, Le, ze, U, {},
|
|
658
|
+
super(), J(this, t, Le, ze, U, {}, xe);
|
|
659
659
|
}
|
|
660
660
|
}
|
|
661
|
-
customElements.define("sesamy-login",
|
|
662
|
-
const on =
|
|
661
|
+
customElements.define("sesamy-login", qt(le, {}, [], [], !0));
|
|
662
|
+
const on = le;
|
|
663
663
|
/**
|
|
664
664
|
* @license lucide-svelte v0.445.0 - ISC
|
|
665
665
|
*
|
|
@@ -678,33 +678,33 @@ const Wt = {
|
|
|
678
678
|
"stroke-linejoin": "round"
|
|
679
679
|
};
|
|
680
680
|
function Vt(e, t, n) {
|
|
681
|
-
const
|
|
682
|
-
return
|
|
681
|
+
const l = e.slice();
|
|
682
|
+
return l[11] = t[n][0], l[12] = t[n][1], l;
|
|
683
683
|
}
|
|
684
684
|
function zt(e) {
|
|
685
685
|
let t, n = [
|
|
686
686
|
/*attrs*/
|
|
687
687
|
e[12]
|
|
688
|
-
],
|
|
689
|
-
for (let
|
|
690
|
-
|
|
688
|
+
], l = {};
|
|
689
|
+
for (let s = 0; s < n.length; s += 1)
|
|
690
|
+
l = X(l, n[s]);
|
|
691
691
|
return {
|
|
692
692
|
c() {
|
|
693
693
|
t = K(
|
|
694
694
|
/*tag*/
|
|
695
695
|
e[11]
|
|
696
|
-
),
|
|
696
|
+
), Ct(t, l);
|
|
697
697
|
},
|
|
698
|
-
m(
|
|
699
|
-
z(
|
|
698
|
+
m(s, i) {
|
|
699
|
+
z(s, t, i);
|
|
700
700
|
},
|
|
701
|
-
p(
|
|
702
|
-
|
|
701
|
+
p(s, i) {
|
|
702
|
+
Ct(t, l = Pt(n, [i & /*iconNode*/
|
|
703
703
|
32 && /*attrs*/
|
|
704
|
-
|
|
704
|
+
s[12]]));
|
|
705
705
|
},
|
|
706
|
-
d(
|
|
707
|
-
|
|
706
|
+
d(s) {
|
|
707
|
+
s && j(t);
|
|
708
708
|
}
|
|
709
709
|
};
|
|
710
710
|
}
|
|
@@ -712,35 +712,35 @@ function It(e) {
|
|
|
712
712
|
let t = (
|
|
713
713
|
/*tag*/
|
|
714
714
|
e[11]
|
|
715
|
-
), n,
|
|
715
|
+
), n, l = (
|
|
716
716
|
/*tag*/
|
|
717
717
|
e[11] && zt(e)
|
|
718
718
|
);
|
|
719
719
|
return {
|
|
720
720
|
c() {
|
|
721
|
-
|
|
721
|
+
l && l.c(), n = At();
|
|
722
722
|
},
|
|
723
|
-
m(
|
|
724
|
-
|
|
723
|
+
m(s, i) {
|
|
724
|
+
l && l.m(s, i), z(s, n, i);
|
|
725
725
|
},
|
|
726
|
-
p(
|
|
726
|
+
p(s, i) {
|
|
727
727
|
/*tag*/
|
|
728
|
-
|
|
728
|
+
s[11] ? t ? U(
|
|
729
729
|
t,
|
|
730
730
|
/*tag*/
|
|
731
|
-
|
|
732
|
-
) ? (
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
|
|
731
|
+
s[11]
|
|
732
|
+
) ? (l.d(1), l = zt(s), t = /*tag*/
|
|
733
|
+
s[11], l.c(), l.m(n.parentNode, n)) : l.p(s, i) : (l = zt(s), t = /*tag*/
|
|
734
|
+
s[11], l.c(), l.m(n.parentNode, n)) : t && (l.d(1), l = null, t = /*tag*/
|
|
735
|
+
s[11]);
|
|
736
736
|
},
|
|
737
|
-
d(
|
|
738
|
-
|
|
737
|
+
d(s) {
|
|
738
|
+
s && j(n), l && l.d(s);
|
|
739
739
|
}
|
|
740
740
|
};
|
|
741
741
|
}
|
|
742
742
|
function Ne(e) {
|
|
743
|
-
let t, n,
|
|
743
|
+
let t, n, l, s, i, r = ct(
|
|
744
744
|
/*iconNode*/
|
|
745
745
|
e[5]
|
|
746
746
|
), a = [];
|
|
@@ -756,7 +756,7 @@ function Ne(e) {
|
|
|
756
756
|
e[9],
|
|
757
757
|
null
|
|
758
758
|
);
|
|
759
|
-
let
|
|
759
|
+
let k = [
|
|
760
760
|
Wt,
|
|
761
761
|
/*$$restProps*/
|
|
762
762
|
e[7],
|
|
@@ -773,7 +773,7 @@ function Ne(e) {
|
|
|
773
773
|
e[1]
|
|
774
774
|
) },
|
|
775
775
|
{
|
|
776
|
-
"stroke-width":
|
|
776
|
+
"stroke-width": l = /*absoluteStrokeWidth*/
|
|
777
777
|
e[4] ? Number(
|
|
778
778
|
/*strokeWidth*/
|
|
779
779
|
e[3]
|
|
@@ -786,7 +786,7 @@ function Ne(e) {
|
|
|
786
786
|
)
|
|
787
787
|
},
|
|
788
788
|
{
|
|
789
|
-
class:
|
|
789
|
+
class: s = /*mergeClasses*/
|
|
790
790
|
e[6](
|
|
791
791
|
"lucide-icon",
|
|
792
792
|
"lucide",
|
|
@@ -798,20 +798,20 @@ function Ne(e) {
|
|
|
798
798
|
)
|
|
799
799
|
}
|
|
800
800
|
], _ = {};
|
|
801
|
-
for (let u = 0; u <
|
|
802
|
-
_ = X(_,
|
|
801
|
+
for (let u = 0; u < k.length; u += 1)
|
|
802
|
+
_ = X(_, k[u]);
|
|
803
803
|
return {
|
|
804
804
|
c() {
|
|
805
805
|
t = K("svg");
|
|
806
806
|
for (let u = 0; u < a.length; u += 1)
|
|
807
807
|
a[u].c();
|
|
808
|
-
n = At(), p && p.c(),
|
|
808
|
+
n = At(), p && p.c(), Ct(t, _);
|
|
809
809
|
},
|
|
810
810
|
m(u, $) {
|
|
811
811
|
z(u, t, $);
|
|
812
812
|
for (let g = 0; g < a.length; g += 1)
|
|
813
813
|
a[g] && a[g].m(t, null);
|
|
814
|
-
c(t, n), p && p.m(t, null),
|
|
814
|
+
c(t, n), p && p.m(t, null), i = !0;
|
|
815
815
|
},
|
|
816
816
|
p(u, [$]) {
|
|
817
817
|
if ($ & /*iconNode*/
|
|
@@ -829,46 +829,46 @@ function Ne(e) {
|
|
|
829
829
|
a[g].d(1);
|
|
830
830
|
a.length = r.length;
|
|
831
831
|
}
|
|
832
|
-
p && p.p && (!
|
|
833
|
-
512) &&
|
|
832
|
+
p && p.p && (!i || $ & /*$$scope*/
|
|
833
|
+
512) && wt(
|
|
834
834
|
p,
|
|
835
835
|
h,
|
|
836
836
|
u,
|
|
837
837
|
/*$$scope*/
|
|
838
838
|
u[9],
|
|
839
|
-
|
|
839
|
+
i ? kt(
|
|
840
840
|
h,
|
|
841
841
|
/*$$scope*/
|
|
842
842
|
u[9],
|
|
843
843
|
$,
|
|
844
844
|
null
|
|
845
|
-
) :
|
|
845
|
+
) : yt(
|
|
846
846
|
/*$$scope*/
|
|
847
847
|
u[9]
|
|
848
848
|
),
|
|
849
849
|
null
|
|
850
|
-
),
|
|
850
|
+
), Ct(t, _ = Pt(k, [
|
|
851
851
|
Wt,
|
|
852
852
|
$ & /*$$restProps*/
|
|
853
853
|
128 && /*$$restProps*/
|
|
854
854
|
u[7],
|
|
855
|
-
(!
|
|
855
|
+
(!i || $ & /*size*/
|
|
856
856
|
4) && { width: (
|
|
857
857
|
/*size*/
|
|
858
858
|
u[2]
|
|
859
859
|
) },
|
|
860
|
-
(!
|
|
860
|
+
(!i || $ & /*size*/
|
|
861
861
|
4) && { height: (
|
|
862
862
|
/*size*/
|
|
863
863
|
u[2]
|
|
864
864
|
) },
|
|
865
|
-
(!
|
|
865
|
+
(!i || $ & /*color*/
|
|
866
866
|
2) && { stroke: (
|
|
867
867
|
/*color*/
|
|
868
868
|
u[1]
|
|
869
869
|
) },
|
|
870
|
-
(!
|
|
871
|
-
28 &&
|
|
870
|
+
(!i || $ & /*absoluteStrokeWidth, strokeWidth, size*/
|
|
871
|
+
28 && l !== (l = /*absoluteStrokeWidth*/
|
|
872
872
|
u[4] ? Number(
|
|
873
873
|
/*strokeWidth*/
|
|
874
874
|
u[3]
|
|
@@ -878,9 +878,9 @@ function Ne(e) {
|
|
|
878
878
|
) : (
|
|
879
879
|
/*strokeWidth*/
|
|
880
880
|
u[3]
|
|
881
|
-
))) && { "stroke-width":
|
|
882
|
-
(!
|
|
883
|
-
257 &&
|
|
881
|
+
))) && { "stroke-width": l },
|
|
882
|
+
(!i || $ & /*name, $$props*/
|
|
883
|
+
257 && s !== (s = /*mergeClasses*/
|
|
884
884
|
u[6](
|
|
885
885
|
"lucide-icon",
|
|
886
886
|
"lucide",
|
|
@@ -889,38 +889,38 @@ function Ne(e) {
|
|
|
889
889
|
u[0]}` : "",
|
|
890
890
|
/*$$props*/
|
|
891
891
|
u[8].class
|
|
892
|
-
))) && { class:
|
|
892
|
+
))) && { class: s }
|
|
893
893
|
]));
|
|
894
894
|
},
|
|
895
895
|
i(u) {
|
|
896
|
-
|
|
896
|
+
i || (O(p, u), i = !0);
|
|
897
897
|
},
|
|
898
898
|
o(u) {
|
|
899
|
-
Z(p, u),
|
|
899
|
+
Z(p, u), i = !1;
|
|
900
900
|
},
|
|
901
901
|
d(u) {
|
|
902
|
-
u &&
|
|
902
|
+
u && j(t), Et(a, u), p && p.d(u);
|
|
903
903
|
}
|
|
904
904
|
};
|
|
905
905
|
}
|
|
906
906
|
function Se(e, t, n) {
|
|
907
|
-
const
|
|
908
|
-
let
|
|
907
|
+
const l = ["name", "color", "size", "strokeWidth", "absoluteStrokeWidth", "iconNode"];
|
|
908
|
+
let s = Ft(t, l), { $$slots: i = {}, $$scope: r } = t, { name: a = void 0 } = t, { color: h = "currentColor" } = t, { size: p = 24 } = t, { strokeWidth: k = 2 } = t, { absoluteStrokeWidth: _ = !1 } = t, { iconNode: u = [] } = t;
|
|
909
909
|
const $ = (...g) => g.filter((E, L, B) => !!E && B.indexOf(E) === L).join(" ");
|
|
910
910
|
return e.$$set = (g) => {
|
|
911
|
-
n(8, t = X(X({}, t),
|
|
912
|
-
}, t =
|
|
911
|
+
n(8, t = X(X({}, t), xt(g))), n(7, s = Ft(t, l)), "name" in g && n(0, a = g.name), "color" in g && n(1, h = g.color), "size" in g && n(2, p = g.size), "strokeWidth" in g && n(3, k = g.strokeWidth), "absoluteStrokeWidth" in g && n(4, _ = g.absoluteStrokeWidth), "iconNode" in g && n(5, u = g.iconNode), "$$scope" in g && n(9, r = g.$$scope);
|
|
912
|
+
}, t = xt(t), [
|
|
913
913
|
a,
|
|
914
914
|
h,
|
|
915
915
|
p,
|
|
916
|
-
|
|
916
|
+
k,
|
|
917
917
|
_,
|
|
918
918
|
u,
|
|
919
919
|
$,
|
|
920
|
-
|
|
920
|
+
s,
|
|
921
921
|
t,
|
|
922
922
|
r,
|
|
923
|
-
|
|
923
|
+
i
|
|
924
924
|
];
|
|
925
925
|
}
|
|
926
926
|
class Ae extends Y {
|
|
@@ -940,7 +940,7 @@ function Me(e) {
|
|
|
940
940
|
const n = (
|
|
941
941
|
/*#slots*/
|
|
942
942
|
e[2].default
|
|
943
|
-
),
|
|
943
|
+
), l = $t(
|
|
944
944
|
n,
|
|
945
945
|
e,
|
|
946
946
|
/*$$scope*/
|
|
@@ -949,46 +949,46 @@ function Me(e) {
|
|
|
949
949
|
);
|
|
950
950
|
return {
|
|
951
951
|
c() {
|
|
952
|
-
|
|
952
|
+
l && l.c();
|
|
953
953
|
},
|
|
954
|
-
m(
|
|
955
|
-
|
|
954
|
+
m(s, i) {
|
|
955
|
+
l && l.m(s, i), t = !0;
|
|
956
956
|
},
|
|
957
|
-
p(
|
|
958
|
-
|
|
959
|
-
8) &&
|
|
960
|
-
s,
|
|
961
|
-
n,
|
|
957
|
+
p(s, i) {
|
|
958
|
+
l && l.p && (!t || i & /*$$scope*/
|
|
959
|
+
8) && wt(
|
|
962
960
|
l,
|
|
961
|
+
n,
|
|
962
|
+
s,
|
|
963
963
|
/*$$scope*/
|
|
964
|
-
|
|
965
|
-
t ?
|
|
964
|
+
s[3],
|
|
965
|
+
t ? kt(
|
|
966
966
|
n,
|
|
967
967
|
/*$$scope*/
|
|
968
|
-
|
|
969
|
-
|
|
968
|
+
s[3],
|
|
969
|
+
i,
|
|
970
970
|
null
|
|
971
|
-
) :
|
|
971
|
+
) : yt(
|
|
972
972
|
/*$$scope*/
|
|
973
|
-
|
|
973
|
+
s[3]
|
|
974
974
|
),
|
|
975
975
|
null
|
|
976
976
|
);
|
|
977
977
|
},
|
|
978
|
-
i(
|
|
979
|
-
t || (O(
|
|
978
|
+
i(s) {
|
|
979
|
+
t || (O(l, s), t = !0);
|
|
980
980
|
},
|
|
981
|
-
o(
|
|
982
|
-
Z(
|
|
981
|
+
o(s) {
|
|
982
|
+
Z(l, s), t = !1;
|
|
983
983
|
},
|
|
984
|
-
d(
|
|
985
|
-
|
|
984
|
+
d(s) {
|
|
985
|
+
l && l.d(s);
|
|
986
986
|
}
|
|
987
987
|
};
|
|
988
988
|
}
|
|
989
989
|
function Pe(e) {
|
|
990
990
|
let t, n;
|
|
991
|
-
const
|
|
991
|
+
const l = [
|
|
992
992
|
{ name: "circle-check" },
|
|
993
993
|
/*$$props*/
|
|
994
994
|
e[1],
|
|
@@ -997,57 +997,57 @@ function Pe(e) {
|
|
|
997
997
|
e[0]
|
|
998
998
|
) }
|
|
999
999
|
];
|
|
1000
|
-
let
|
|
1000
|
+
let s = {
|
|
1001
1001
|
$$slots: { default: [Me] },
|
|
1002
1002
|
$$scope: { ctx: e }
|
|
1003
1003
|
};
|
|
1004
|
-
for (let
|
|
1005
|
-
|
|
1006
|
-
return t = new Ae({ props:
|
|
1004
|
+
for (let i = 0; i < l.length; i += 1)
|
|
1005
|
+
s = X(s, l[i]);
|
|
1006
|
+
return t = new Ae({ props: s }), {
|
|
1007
1007
|
c() {
|
|
1008
1008
|
pt(t.$$.fragment);
|
|
1009
1009
|
},
|
|
1010
|
-
m(
|
|
1011
|
-
ut(t,
|
|
1010
|
+
m(i, r) {
|
|
1011
|
+
ut(t, i, r), n = !0;
|
|
1012
1012
|
},
|
|
1013
|
-
p(
|
|
1013
|
+
p(i, [r]) {
|
|
1014
1014
|
const a = r & /*$$props, iconNode*/
|
|
1015
|
-
3 ? Pt(
|
|
1016
|
-
|
|
1015
|
+
3 ? Pt(l, [
|
|
1016
|
+
l[0],
|
|
1017
1017
|
r & /*$$props*/
|
|
1018
|
-
2 &&
|
|
1018
|
+
2 && ke(
|
|
1019
1019
|
/*$$props*/
|
|
1020
|
-
|
|
1020
|
+
i[1]
|
|
1021
1021
|
),
|
|
1022
1022
|
r & /*iconNode*/
|
|
1023
1023
|
1 && { iconNode: (
|
|
1024
1024
|
/*iconNode*/
|
|
1025
|
-
|
|
1025
|
+
i[0]
|
|
1026
1026
|
) }
|
|
1027
1027
|
]) : {};
|
|
1028
1028
|
r & /*$$scope*/
|
|
1029
|
-
8 && (a.$$scope = { dirty: r, ctx:
|
|
1029
|
+
8 && (a.$$scope = { dirty: r, ctx: i }), t.$set(a);
|
|
1030
1030
|
},
|
|
1031
|
-
i(
|
|
1032
|
-
n || (O(t.$$.fragment,
|
|
1031
|
+
i(i) {
|
|
1032
|
+
n || (O(t.$$.fragment, i), n = !0);
|
|
1033
1033
|
},
|
|
1034
|
-
o(
|
|
1035
|
-
Z(t.$$.fragment,
|
|
1034
|
+
o(i) {
|
|
1035
|
+
Z(t.$$.fragment, i), n = !1;
|
|
1036
1036
|
},
|
|
1037
|
-
d(
|
|
1038
|
-
ft(t,
|
|
1037
|
+
d(i) {
|
|
1038
|
+
ft(t, i);
|
|
1039
1039
|
}
|
|
1040
1040
|
};
|
|
1041
1041
|
}
|
|
1042
1042
|
function Be(e, t, n) {
|
|
1043
|
-
let { $$slots:
|
|
1044
|
-
const
|
|
1043
|
+
let { $$slots: l = {}, $$scope: s } = t;
|
|
1044
|
+
const i = [
|
|
1045
1045
|
["circle", { cx: "12", cy: "12", r: "10" }],
|
|
1046
1046
|
["path", { d: "m9 12 2 2 4-4" }]
|
|
1047
1047
|
];
|
|
1048
1048
|
return e.$$set = (r) => {
|
|
1049
|
-
n(1, t = X(X({}, t),
|
|
1050
|
-
}, t =
|
|
1049
|
+
n(1, t = X(X({}, t), xt(r))), "$$scope" in r && n(3, s = r.$$scope);
|
|
1050
|
+
}, t = xt(t), [i, t, l, s];
|
|
1051
1051
|
}
|
|
1052
1052
|
class Fe extends Y {
|
|
1053
1053
|
constructor(t) {
|
|
@@ -1055,26 +1055,26 @@ class Fe extends Y {
|
|
|
1055
1055
|
}
|
|
1056
1056
|
}
|
|
1057
1057
|
function Rt(e, t, n) {
|
|
1058
|
-
const
|
|
1059
|
-
return
|
|
1058
|
+
const l = e.slice();
|
|
1059
|
+
return l[6] = t[n], l;
|
|
1060
1060
|
}
|
|
1061
1061
|
function Dt(e, t, n) {
|
|
1062
|
-
const
|
|
1063
|
-
return
|
|
1062
|
+
const l = e.slice();
|
|
1063
|
+
return l[9] = t[n], l;
|
|
1064
1064
|
}
|
|
1065
1065
|
function Gt(e) {
|
|
1066
|
-
let t, n,
|
|
1066
|
+
let t, n, l, s, i, r;
|
|
1067
1067
|
return n = new Fe({
|
|
1068
1068
|
props: { class: "text-green-500 mr-2", size: 20 }
|
|
1069
1069
|
}), {
|
|
1070
1070
|
c() {
|
|
1071
|
-
t = d("li"), pt(n.$$.fragment),
|
|
1072
|
-
e[9]}`,
|
|
1071
|
+
t = d("li"), pt(n.$$.fragment), l = b(), s = d("span"), s.textContent = `${/*feature*/
|
|
1072
|
+
e[9]}`, i = b(), o(t, "class", "flex items-center");
|
|
1073
1073
|
},
|
|
1074
1074
|
m(a, h) {
|
|
1075
|
-
z(a, t, h), ut(n, t, null), c(t,
|
|
1075
|
+
z(a, t, h), ut(n, t, null), c(t, l), c(t, s), c(t, i), r = !0;
|
|
1076
1076
|
},
|
|
1077
|
-
p:
|
|
1077
|
+
p: q,
|
|
1078
1078
|
i(a) {
|
|
1079
1079
|
r || (O(n.$$.fragment, a), r = !0);
|
|
1080
1080
|
},
|
|
@@ -1082,7 +1082,7 @@ function Gt(e) {
|
|
|
1082
1082
|
Z(n.$$.fragment, a), r = !1;
|
|
1083
1083
|
},
|
|
1084
1084
|
d(a) {
|
|
1085
|
-
a &&
|
|
1085
|
+
a && j(t), ft(n);
|
|
1086
1086
|
}
|
|
1087
1087
|
};
|
|
1088
1088
|
}
|
|
@@ -1090,24 +1090,24 @@ function Kt(e) {
|
|
|
1090
1090
|
let t, n;
|
|
1091
1091
|
return {
|
|
1092
1092
|
c() {
|
|
1093
|
-
t = d("img"), Qt(t.src, n = "/api/placeholder/40/25") ||
|
|
1093
|
+
t = d("img"), Qt(t.src, n = "/api/placeholder/40/25") || o(t, "src", n), o(
|
|
1094
1094
|
t,
|
|
1095
1095
|
"alt",
|
|
1096
1096
|
/*method*/
|
|
1097
1097
|
e[6]
|
|
1098
|
-
),
|
|
1098
|
+
), o(t, "class", "h-6");
|
|
1099
1099
|
},
|
|
1100
|
-
m(
|
|
1101
|
-
z(
|
|
1100
|
+
m(l, s) {
|
|
1101
|
+
z(l, t, s);
|
|
1102
1102
|
},
|
|
1103
|
-
p:
|
|
1104
|
-
d(
|
|
1105
|
-
|
|
1103
|
+
p: q,
|
|
1104
|
+
d(l) {
|
|
1105
|
+
l && j(t);
|
|
1106
1106
|
}
|
|
1107
1107
|
};
|
|
1108
1108
|
}
|
|
1109
1109
|
function He(e) {
|
|
1110
|
-
let t, n,
|
|
1110
|
+
let t, n, l, s, i, r, a, h, p, k, _, u, $, g, E, L, B, C, w, I, R, T, F, S, A, D, H, Q, M, N, et, lt, st, W = ct(
|
|
1111
1111
|
/*features*/
|
|
1112
1112
|
e[1]
|
|
1113
1113
|
), v = [];
|
|
@@ -1119,32 +1119,32 @@ function He(e) {
|
|
|
1119
1119
|
let G = ct(
|
|
1120
1120
|
/*paymentMethods*/
|
|
1121
1121
|
e[2]
|
|
1122
|
-
),
|
|
1122
|
+
), y = [];
|
|
1123
1123
|
for (let f = 0; f < G.length; f += 1)
|
|
1124
|
-
|
|
1124
|
+
y[f] = Kt(Rt(e, G, f));
|
|
1125
1125
|
return et = de(
|
|
1126
1126
|
/*$$binding_groups*/
|
|
1127
1127
|
e[4][0]
|
|
1128
1128
|
), {
|
|
1129
1129
|
c() {
|
|
1130
|
-
t = d("div"), n = d("div"), n.textContent = "Redan prenumerant? Logga in",
|
|
1130
|
+
t = d("div"), n = d("div"), n.textContent = "Redan prenumerant? Logga in", l = b(), s = d("h1"), s.textContent = "FOKUS", i = b(), r = d("h2"), r.textContent = "Läs Fokus Digital i 6 månader för bara 79 kr!", a = b(), h = d("ul");
|
|
1131
1131
|
for (let f = 0; f < v.length; f += 1)
|
|
1132
1132
|
v[f].c();
|
|
1133
|
-
p = b(),
|
|
1134
|
-
for (let f = 0; f <
|
|
1135
|
-
|
|
1136
|
-
|
|
1133
|
+
p = b(), k = d("div"), _ = d("label"), u = d("input"), $ = b(), g = d("div"), g.innerHTML = '<div class="font-semibold">Fokus Digital i 6 månader för 79kr!</div> <div class="text-sm text-gray-600">Efter kampanjperioden 149 kr/mån. Ingen bindningstid!</div>', E = b(), L = d("div"), L.textContent = "79 SEK/6 mån", B = b(), C = d("label"), w = d("input"), I = b(), R = d("div"), R.innerHTML = '<div class="font-semibold">Fokus Digital i ett år för 995kr</div> <div class="text-sm text-gray-600">Du sparar 793 kr. Prenumerationen förnyas automatiskt årsvis.</div>', T = b(), F = d("div"), F.textContent = "995 SEK/år", S = b(), A = d("button"), A.textContent = "Fortsätt", D = b(), H = d("div"), H.textContent = "Säker SSL-krypterad betalning", Q = b(), M = d("div");
|
|
1134
|
+
for (let f = 0; f < y.length; f += 1)
|
|
1135
|
+
y[f].c();
|
|
1136
|
+
o(n, "class", "text-right text-sm text-red-500 mb-4"), o(s, "class", "text-4xl font-bold text-red-500 mb-4"), o(r, "class", "text-xl font-semibold mb-6"), o(h, "class", "space-y-2 mb-6"), o(u, "type", "radio"), o(u, "name", "subscription"), u.__value = "sixMonths", Ht(u, u.__value), o(u, "class", "mr-3"), o(L, "class", "ml-auto font-semibold"), o(_, "class", "flex items-center p-4 border rounded-lg"), o(w, "type", "radio"), o(w, "name", "subscription"), w.__value = "oneYear", Ht(w, w.__value), o(w, "class", "mr-3"), o(F, "class", "ml-auto font-semibold"), o(C, "class", "flex items-center p-4 border rounded-lg"), o(k, "class", "space-y-4 mb-6"), o(A, "class", "w-full bg-red-500 text-white py-3 rounded-lg font-semibold"), o(H, "class", "text-center text-sm text-gray-600 mt-4"), o(M, "class", "flex justify-center space-x-2 mt-2"), o(t, "class", "max-w-md mx-auto bg-white p-6 rounded-lg shadow-lg"), et.p(u, w);
|
|
1137
1137
|
},
|
|
1138
|
-
m(f,
|
|
1139
|
-
z(f, t,
|
|
1138
|
+
m(f, x) {
|
|
1139
|
+
z(f, t, x), c(t, n), c(t, l), c(t, s), c(t, i), c(t, r), c(t, a), c(t, h);
|
|
1140
1140
|
for (let m = 0; m < v.length; m += 1)
|
|
1141
1141
|
v[m] && v[m].m(h, null);
|
|
1142
|
-
c(t, p), c(t,
|
|
1143
|
-
e[0], c(_, $), c(_, g), c(_, E), c(_, L), c(
|
|
1144
|
-
e[0], c(
|
|
1145
|
-
for (let m = 0; m <
|
|
1146
|
-
|
|
1147
|
-
N = !0,
|
|
1142
|
+
c(t, p), c(t, k), c(k, _), c(_, u), u.checked = u.__value === /*selectedPlan*/
|
|
1143
|
+
e[0], c(_, $), c(_, g), c(_, E), c(_, L), c(k, B), c(k, C), c(C, w), w.checked = w.__value === /*selectedPlan*/
|
|
1144
|
+
e[0], c(C, I), c(C, R), c(C, T), c(C, F), c(t, S), c(t, A), c(t, D), c(t, H), c(t, Q), c(t, M);
|
|
1145
|
+
for (let m = 0; m < y.length; m += 1)
|
|
1146
|
+
y[m] && y[m].m(M, null);
|
|
1147
|
+
N = !0, lt || (st = [
|
|
1148
1148
|
P(
|
|
1149
1149
|
u,
|
|
1150
1150
|
"change",
|
|
@@ -1152,15 +1152,15 @@ function He(e) {
|
|
|
1152
1152
|
e[3]
|
|
1153
1153
|
),
|
|
1154
1154
|
P(
|
|
1155
|
-
|
|
1155
|
+
w,
|
|
1156
1156
|
"change",
|
|
1157
1157
|
/*input1_change_handler*/
|
|
1158
1158
|
e[5]
|
|
1159
1159
|
)
|
|
1160
|
-
],
|
|
1160
|
+
], lt = !0);
|
|
1161
1161
|
},
|
|
1162
|
-
p(f, [
|
|
1163
|
-
if (
|
|
1162
|
+
p(f, [x]) {
|
|
1163
|
+
if (x & /*features*/
|
|
1164
1164
|
2) {
|
|
1165
1165
|
W = ct(
|
|
1166
1166
|
/*features*/
|
|
@@ -1169,17 +1169,17 @@ function He(e) {
|
|
|
1169
1169
|
let m;
|
|
1170
1170
|
for (m = 0; m < W.length; m += 1) {
|
|
1171
1171
|
const ht = Dt(f, W, m);
|
|
1172
|
-
v[m] ? (v[m].p(ht,
|
|
1172
|
+
v[m] ? (v[m].p(ht, x), O(v[m], 1)) : (v[m] = Gt(ht), v[m].c(), O(v[m], 1), v[m].m(h, null));
|
|
1173
1173
|
}
|
|
1174
1174
|
for (ve(), m = W.length; m < v.length; m += 1)
|
|
1175
1175
|
dt(m);
|
|
1176
1176
|
$e();
|
|
1177
1177
|
}
|
|
1178
|
-
if (
|
|
1178
|
+
if (x & /*selectedPlan*/
|
|
1179
1179
|
1 && (u.checked = u.__value === /*selectedPlan*/
|
|
1180
|
-
f[0]),
|
|
1181
|
-
1 && (
|
|
1182
|
-
f[0]),
|
|
1180
|
+
f[0]), x & /*selectedPlan*/
|
|
1181
|
+
1 && (w.checked = w.__value === /*selectedPlan*/
|
|
1182
|
+
f[0]), x & /*paymentMethods*/
|
|
1183
1183
|
4) {
|
|
1184
1184
|
G = ct(
|
|
1185
1185
|
/*paymentMethods*/
|
|
@@ -1188,39 +1188,39 @@ function He(e) {
|
|
|
1188
1188
|
let m;
|
|
1189
1189
|
for (m = 0; m < G.length; m += 1) {
|
|
1190
1190
|
const ht = Rt(f, G, m);
|
|
1191
|
-
|
|
1191
|
+
y[m] ? y[m].p(ht, x) : (y[m] = Kt(ht), y[m].c(), y[m].m(M, null));
|
|
1192
1192
|
}
|
|
1193
|
-
for (; m <
|
|
1194
|
-
|
|
1195
|
-
|
|
1193
|
+
for (; m < y.length; m += 1)
|
|
1194
|
+
y[m].d(1);
|
|
1195
|
+
y.length = G.length;
|
|
1196
1196
|
}
|
|
1197
1197
|
},
|
|
1198
1198
|
i(f) {
|
|
1199
1199
|
if (!N) {
|
|
1200
|
-
for (let
|
|
1201
|
-
O(v[
|
|
1200
|
+
for (let x = 0; x < W.length; x += 1)
|
|
1201
|
+
O(v[x]);
|
|
1202
1202
|
N = !0;
|
|
1203
1203
|
}
|
|
1204
1204
|
},
|
|
1205
1205
|
o(f) {
|
|
1206
1206
|
v = v.filter(Boolean);
|
|
1207
|
-
for (let
|
|
1208
|
-
Z(v[
|
|
1207
|
+
for (let x = 0; x < v.length; x += 1)
|
|
1208
|
+
Z(v[x]);
|
|
1209
1209
|
N = !1;
|
|
1210
1210
|
},
|
|
1211
1211
|
d(f) {
|
|
1212
|
-
f &&
|
|
1212
|
+
f && j(t), Et(v, f), Et(y, f), et.r(), lt = !1, tt(st);
|
|
1213
1213
|
}
|
|
1214
1214
|
};
|
|
1215
1215
|
}
|
|
1216
1216
|
function Oe(e, t, n) {
|
|
1217
|
-
let
|
|
1218
|
-
const
|
|
1217
|
+
let l = "sixMonths";
|
|
1218
|
+
const s = [
|
|
1219
1219
|
"Allt material på Fokus.se",
|
|
1220
1220
|
"Tillgång till e-tidning",
|
|
1221
1221
|
"Tillgång till våra podcasts",
|
|
1222
1222
|
"Nyhetsbrev"
|
|
1223
|
-
],
|
|
1223
|
+
], i = [
|
|
1224
1224
|
"Visa",
|
|
1225
1225
|
"American Express",
|
|
1226
1226
|
"Mastercard",
|
|
@@ -1230,113 +1230,113 @@ function Oe(e, t, n) {
|
|
|
1230
1230
|
"Swish"
|
|
1231
1231
|
], r = [[]];
|
|
1232
1232
|
function a() {
|
|
1233
|
-
|
|
1233
|
+
l = this.__value, n(0, l);
|
|
1234
1234
|
}
|
|
1235
1235
|
function h() {
|
|
1236
|
-
|
|
1236
|
+
l = this.__value, n(0, l);
|
|
1237
1237
|
}
|
|
1238
1238
|
return [
|
|
1239
|
-
s,
|
|
1240
1239
|
l,
|
|
1241
|
-
|
|
1240
|
+
s,
|
|
1241
|
+
i,
|
|
1242
1242
|
a,
|
|
1243
1243
|
r,
|
|
1244
1244
|
h
|
|
1245
1245
|
];
|
|
1246
1246
|
}
|
|
1247
|
-
class
|
|
1247
|
+
class se extends Y {
|
|
1248
1248
|
constructor(t) {
|
|
1249
1249
|
super(), J(this, t, Oe, He, U, {});
|
|
1250
1250
|
}
|
|
1251
1251
|
}
|
|
1252
|
-
customElements.define("sesamy-paywall",
|
|
1253
|
-
const rn =
|
|
1252
|
+
customElements.define("sesamy-paywall", qt(se, {}, [], [], !0));
|
|
1253
|
+
const rn = se;
|
|
1254
1254
|
function Te(e) {
|
|
1255
1255
|
St(e, "svelte-phjzbp", '.registration-wall.svelte-phjzbp{font-family:Arial, sans-serif;max-width:400px;margin:0 auto;padding:20px;text-align:center}h1.svelte-phjzbp{font-size:24px;margin-bottom:10px}p.svelte-phjzbp{font-size:16px;margin-bottom:20px}input.svelte-phjzbp{width:100%;padding:10px;margin-bottom:10px;border:1px solid #ccc;border-radius:4px}button.svelte-phjzbp{width:100%;padding:10px;background-color:#000;color:#fff;border:none;border-radius:4px;cursor:pointer;margin-bottom:10px}.divider.svelte-phjzbp{margin:20px 0;text-align:center;position:relative}.divider.svelte-phjzbp::before,.divider.svelte-phjzbp::after{content:"";position:absolute;top:50%;width:45%;height:1px;background-color:#ccc}.divider.svelte-phjzbp::before{left:0}.divider.svelte-phjzbp::after{right:0}.social-button.svelte-phjzbp{background-color:#fff;color:#000;border:1px solid #ccc}a.svelte-phjzbp{color:#000;text-decoration:none}.terms.svelte-phjzbp{font-size:12px;margin-bottom:20px}');
|
|
1256
1256
|
}
|
|
1257
1257
|
function We(e) {
|
|
1258
|
-
let t, n,
|
|
1258
|
+
let t, n, l, s, i, r, a, h, p, k, _, u, $, g, E, L, B, C, w, I, R, T, F, S, A, D, H, Q;
|
|
1259
1259
|
return {
|
|
1260
1260
|
c() {
|
|
1261
|
-
t = d("div"), n = d("h1"), n.textContent = "Create a free account, or log in.",
|
|
1262
|
-
podcasts and some daily games.`,
|
|
1261
|
+
t = d("div"), n = d("h1"), n.textContent = "Create a free account, or log in.", l = b(), s = d("p"), s.textContent = `Gain access to limited free articles, news alerts, select newsletters,
|
|
1262
|
+
podcasts and some daily games.`, i = b(), r = d("label"), r.textContent = "Email Address", a = b(), h = d("input"), p = b(), k = d("button"), k.textContent = "Continue", _ = b(), u = d("div"), u.textContent = "or", $ = b(), g = d("p"), g.innerHTML = `By continuing, you agree to the <a href="#terms" class="svelte-phjzbp">Terms of Sale</a>,
|
|
1263
1263
|
<a href="#service" class="svelte-phjzbp">Terms of Service</a>, and
|
|
1264
|
-
<a href="#privacy" class="svelte-phjzbp">Privacy Policy</a>.`, E = b(), L = d("button"), L.textContent = "Continue with Google", B = b(),
|
|
1264
|
+
<a href="#privacy" class="svelte-phjzbp">Privacy Policy</a>.`, E = b(), L = d("button"), L.textContent = "Continue with Google", B = b(), C = d("button"), C.textContent = "Continue with Facebook", w = b(), I = d("button"), I.textContent = "Continue with Apple", R = b(), T = d("a"), T.textContent = "Continue with work or school single sign-on >", F = b(), S = d("p"), S.textContent = "Enjoy unlimited access to all of The Times.", A = b(), D = d("button"), D.textContent = "See subscription options", o(n, "class", "svelte-phjzbp"), o(s, "class", "svelte-phjzbp"), o(r, "for", "email"), o(h, "type", "email"), o(h, "id", "email"), o(h, "placeholder", "Enter your email"), o(h, "class", "svelte-phjzbp"), o(k, "class", "svelte-phjzbp"), o(u, "class", "divider svelte-phjzbp"), o(g, "class", "terms svelte-phjzbp"), o(L, "class", "social-button google svelte-phjzbp"), o(C, "class", "social-button facebook svelte-phjzbp"), o(I, "class", "social-button apple svelte-phjzbp"), o(T, "href", "#"), o(T, "class", "svelte-phjzbp"), o(S, "class", "svelte-phjzbp"), o(D, "class", "svelte-phjzbp"), o(t, "class", "registration-wall svelte-phjzbp");
|
|
1265
1265
|
},
|
|
1266
1266
|
m(M, N) {
|
|
1267
|
-
z(M, t, N), c(t, n), c(t,
|
|
1268
|
-
P(
|
|
1269
|
-
P(L, "click",
|
|
1270
|
-
P(
|
|
1271
|
-
P(I, "click",
|
|
1272
|
-
P(T, "click",
|
|
1273
|
-
P(D, "click",
|
|
1267
|
+
z(M, t, N), c(t, n), c(t, l), c(t, s), c(t, i), c(t, r), c(t, a), c(t, h), c(t, p), c(t, k), c(t, _), c(t, u), c(t, $), c(t, g), c(t, E), c(t, L), c(t, B), c(t, C), c(t, w), c(t, I), c(t, R), c(t, T), c(t, F), c(t, S), c(t, A), c(t, D), H || (Q = [
|
|
1268
|
+
P(k, "click", ot),
|
|
1269
|
+
P(L, "click", ot),
|
|
1270
|
+
P(C, "click", ot),
|
|
1271
|
+
P(I, "click", ot),
|
|
1272
|
+
P(T, "click", ot),
|
|
1273
|
+
P(D, "click", ot)
|
|
1274
1274
|
], H = !0);
|
|
1275
1275
|
},
|
|
1276
|
-
p:
|
|
1277
|
-
i:
|
|
1278
|
-
o:
|
|
1276
|
+
p: q,
|
|
1277
|
+
i: q,
|
|
1278
|
+
o: q,
|
|
1279
1279
|
d(M) {
|
|
1280
|
-
M &&
|
|
1280
|
+
M && j(t), H = !1, tt(Q);
|
|
1281
1281
|
}
|
|
1282
1282
|
};
|
|
1283
1283
|
}
|
|
1284
|
-
function
|
|
1284
|
+
function ot() {
|
|
1285
1285
|
console.log("Button clicked");
|
|
1286
1286
|
}
|
|
1287
|
-
class
|
|
1287
|
+
class ie extends Y {
|
|
1288
1288
|
constructor(t) {
|
|
1289
1289
|
super(), J(this, t, null, We, U, {}, Te);
|
|
1290
1290
|
}
|
|
1291
1291
|
}
|
|
1292
|
-
customElements.define("sesamy-hello",
|
|
1293
|
-
const cn =
|
|
1292
|
+
customElements.define("sesamy-hello", qt(ie, {}, [], [], !0));
|
|
1293
|
+
const cn = ie;
|
|
1294
1294
|
function Ve(e) {
|
|
1295
1295
|
let t, n;
|
|
1296
1296
|
return {
|
|
1297
1297
|
c() {
|
|
1298
|
-
t = K("svg"), n = K("path"),
|
|
1298
|
+
t = K("svg"), n = K("path"), o(n, "d", "M20.4 7.8c-.8.5-1.4 1.1-1.8 1.9-.4.8-.7 1.6-.7 2.5 0 1 .3 2 .9 2.8.6.8 1.3 1.5 2.3 1.9-.4 1.2-.9 2.3-1.6 3.3-1 1.4-2 2.8-3.6 2.8s-2-.9-3.8-.9c-1.8 0-2.4.9-3.9.9s-2.5-1.3-3.6-2.9c-1.5-2.3-2.4-4.9-2.4-7.6C2 8 4.9 5.6 7.9 5.6c1.5 0 2.8 1 3.8 1 .9 0 2.4-1.1 4.1-1.1.9 0 1.8.2 2.6.6.8.4 1.5 1 2 1.7zm-5.5-4.1c.8-.9 1.2-2 1.2-3.2V0c-1.3.1-2.6.8-3.4 1.7-.8.9-1.2 2-1.3 3.1v.4h.3c.6 0 1.2-.2 1.8-.5.6-.2 1-.6 1.4-1z"), o(n, "fill", "#000"), o(t, "xmlns", "http://www.w3.org/2000/svg"), o(
|
|
1299
1299
|
t,
|
|
1300
1300
|
"width",
|
|
1301
1301
|
/*width*/
|
|
1302
1302
|
e[0]
|
|
1303
|
-
),
|
|
1303
|
+
), o(
|
|
1304
1304
|
t,
|
|
1305
1305
|
"height",
|
|
1306
1306
|
/*height*/
|
|
1307
1307
|
e[1]
|
|
1308
|
-
),
|
|
1308
|
+
), o(t, "viewBox", "0 0 22.773 28.025");
|
|
1309
1309
|
},
|
|
1310
|
-
m(
|
|
1311
|
-
z(
|
|
1310
|
+
m(l, s) {
|
|
1311
|
+
z(l, t, s), c(t, n);
|
|
1312
1312
|
},
|
|
1313
|
-
p(
|
|
1314
|
-
|
|
1315
|
-
1 &&
|
|
1313
|
+
p(l, [s]) {
|
|
1314
|
+
s & /*width*/
|
|
1315
|
+
1 && o(
|
|
1316
1316
|
t,
|
|
1317
1317
|
"width",
|
|
1318
1318
|
/*width*/
|
|
1319
|
-
|
|
1320
|
-
),
|
|
1321
|
-
2 &&
|
|
1319
|
+
l[0]
|
|
1320
|
+
), s & /*height*/
|
|
1321
|
+
2 && o(
|
|
1322
1322
|
t,
|
|
1323
1323
|
"height",
|
|
1324
1324
|
/*height*/
|
|
1325
|
-
|
|
1325
|
+
l[1]
|
|
1326
1326
|
);
|
|
1327
1327
|
},
|
|
1328
|
-
i:
|
|
1329
|
-
o:
|
|
1330
|
-
d(
|
|
1331
|
-
|
|
1328
|
+
i: q,
|
|
1329
|
+
o: q,
|
|
1330
|
+
d(l) {
|
|
1331
|
+
l && j(t);
|
|
1332
1332
|
}
|
|
1333
1333
|
};
|
|
1334
1334
|
}
|
|
1335
1335
|
function Ie(e, t, n) {
|
|
1336
|
-
let { width:
|
|
1337
|
-
return e.$$set = (
|
|
1338
|
-
"width" in
|
|
1339
|
-
}, [
|
|
1336
|
+
let { width: l = "18" } = t, { height: s = "18" } = t;
|
|
1337
|
+
return e.$$set = (i) => {
|
|
1338
|
+
"width" in i && n(0, l = i.width), "height" in i && n(1, s = i.height);
|
|
1339
|
+
}, [l, s];
|
|
1340
1340
|
}
|
|
1341
1341
|
class Re extends Y {
|
|
1342
1342
|
constructor(t) {
|
|
@@ -1347,48 +1347,48 @@ function De(e) {
|
|
|
1347
1347
|
let t, n;
|
|
1348
1348
|
return {
|
|
1349
1349
|
c() {
|
|
1350
|
-
t = K("svg"), n = K("path"),
|
|
1350
|
+
t = K("svg"), n = K("path"), o(n, "d", "M12.8 9h-2.5v9H6.6V9H4.9V5.8h1.8v-2C6.6 2.3 7.3 0 10.4 0h2.8v3.1h-2c-.3 0-.8.2-.8.9v1.9h2.8L12.8 9z"), o(n, "fill", "#1877F2"), o(t, "xmlns", "http://www.w3.org/2000/svg"), o(
|
|
1351
1351
|
t,
|
|
1352
1352
|
"width",
|
|
1353
1353
|
/*width*/
|
|
1354
1354
|
e[0]
|
|
1355
|
-
),
|
|
1355
|
+
), o(
|
|
1356
1356
|
t,
|
|
1357
1357
|
"height",
|
|
1358
1358
|
/*height*/
|
|
1359
1359
|
e[1]
|
|
1360
|
-
),
|
|
1360
|
+
), o(t, "viewBox", "0 0 18 18");
|
|
1361
1361
|
},
|
|
1362
|
-
m(
|
|
1363
|
-
z(
|
|
1362
|
+
m(l, s) {
|
|
1363
|
+
z(l, t, s), c(t, n);
|
|
1364
1364
|
},
|
|
1365
|
-
p(
|
|
1366
|
-
|
|
1367
|
-
1 &&
|
|
1365
|
+
p(l, [s]) {
|
|
1366
|
+
s & /*width*/
|
|
1367
|
+
1 && o(
|
|
1368
1368
|
t,
|
|
1369
1369
|
"width",
|
|
1370
1370
|
/*width*/
|
|
1371
|
-
|
|
1372
|
-
),
|
|
1373
|
-
2 &&
|
|
1371
|
+
l[0]
|
|
1372
|
+
), s & /*height*/
|
|
1373
|
+
2 && o(
|
|
1374
1374
|
t,
|
|
1375
1375
|
"height",
|
|
1376
1376
|
/*height*/
|
|
1377
|
-
|
|
1377
|
+
l[1]
|
|
1378
1378
|
);
|
|
1379
1379
|
},
|
|
1380
|
-
i:
|
|
1381
|
-
o:
|
|
1382
|
-
d(
|
|
1383
|
-
|
|
1380
|
+
i: q,
|
|
1381
|
+
o: q,
|
|
1382
|
+
d(l) {
|
|
1383
|
+
l && j(t);
|
|
1384
1384
|
}
|
|
1385
1385
|
};
|
|
1386
1386
|
}
|
|
1387
1387
|
function Ge(e, t, n) {
|
|
1388
|
-
let { width:
|
|
1389
|
-
return e.$$set = (
|
|
1390
|
-
"width" in
|
|
1391
|
-
}, [
|
|
1388
|
+
let { width: l = "18" } = t, { height: s = "18" } = t;
|
|
1389
|
+
return e.$$set = (i) => {
|
|
1390
|
+
"width" in i && n(0, l = i.width), "height" in i && n(1, s = i.height);
|
|
1391
|
+
}, [l, s];
|
|
1392
1392
|
}
|
|
1393
1393
|
class Ke extends Y {
|
|
1394
1394
|
constructor(t) {
|
|
@@ -1396,51 +1396,51 @@ class Ke extends Y {
|
|
|
1396
1396
|
}
|
|
1397
1397
|
}
|
|
1398
1398
|
function Ze(e) {
|
|
1399
|
-
let t, n,
|
|
1399
|
+
let t, n, l, s, i;
|
|
1400
1400
|
return {
|
|
1401
1401
|
c() {
|
|
1402
|
-
t = K("svg"), n = K("path"),
|
|
1402
|
+
t = K("svg"), n = K("path"), l = K("path"), s = K("path"), i = K("path"), o(n, "d", "M44.1035 23.0123C44.1054 21.4791 43.9758 19.9486 43.716 18.4375H22.498V27.1028H34.6507C34.4021 28.4868 33.8757 29.8061 33.1034 30.9812C32.3311 32.1562 31.3289 33.1628 30.1571 33.9401V39.5649H37.41C41.6567 35.6494 44.1035 29.859 44.1035 23.0123Z"), o(n, "fill", "#4285F4"), o(l, "d", "M22.4982 44.9997C28.5698 44.9997 33.6821 43.0061 37.4101 39.5687L30.1573 33.9439C28.1386 35.3126 25.5387 36.0938 22.4982 36.0938C16.6296 36.0938 11.6485 32.1377 9.86736 26.8066H2.39575V32.6033C4.26839 36.3297 7.13989 39.4622 10.6896 41.6512C14.2394 43.8402 18.3277 44.9995 22.4982 44.9997Z"), o(l, "fill", "#34A853"), o(s, "d", "M9.86737 26.8073C8.92572 24.0138 8.92572 20.9886 9.86737 18.1951V12.3984H2.39576C0.820432 15.5332 0 18.9929 0 22.5012C0 26.0095 0.820432 29.4692 2.39576 32.604L9.86737 26.8073Z"), o(s, "fill", "#FBBC04"), o(i, "d", "M22.4982 8.90741C25.7068 8.85499 28.8071 10.0673 31.1291 12.2823L37.5507 5.86064C33.4788 2.03602 28.0843 -0.0637686 22.4982 0.00147616C18.3277 0.00166623 14.2394 1.16098 10.6896 3.34999C7.13989 5.539 4.26839 8.67155 2.39575 12.3979L9.86736 18.1946C11.6485 12.8635 16.6296 8.90741 22.4982 8.90741Z"), o(i, "fill", "#EA4335"), o(
|
|
1403
1403
|
t,
|
|
1404
1404
|
"width",
|
|
1405
1405
|
/*width*/
|
|
1406
1406
|
e[0]
|
|
1407
|
-
),
|
|
1407
|
+
), o(
|
|
1408
1408
|
t,
|
|
1409
1409
|
"height",
|
|
1410
1410
|
/*height*/
|
|
1411
1411
|
e[1]
|
|
1412
|
-
),
|
|
1412
|
+
), o(t, "viewBox", "0 0 45 45"), o(t, "xmlns", "http://www.w3.org/2000/svg");
|
|
1413
1413
|
},
|
|
1414
1414
|
m(r, a) {
|
|
1415
|
-
z(r, t, a), c(t, n), c(t,
|
|
1415
|
+
z(r, t, a), c(t, n), c(t, l), c(t, s), c(t, i);
|
|
1416
1416
|
},
|
|
1417
1417
|
p(r, [a]) {
|
|
1418
1418
|
a & /*width*/
|
|
1419
|
-
1 &&
|
|
1419
|
+
1 && o(
|
|
1420
1420
|
t,
|
|
1421
1421
|
"width",
|
|
1422
1422
|
/*width*/
|
|
1423
1423
|
r[0]
|
|
1424
1424
|
), a & /*height*/
|
|
1425
|
-
2 &&
|
|
1425
|
+
2 && o(
|
|
1426
1426
|
t,
|
|
1427
1427
|
"height",
|
|
1428
1428
|
/*height*/
|
|
1429
1429
|
r[1]
|
|
1430
1430
|
);
|
|
1431
1431
|
},
|
|
1432
|
-
i:
|
|
1433
|
-
o:
|
|
1432
|
+
i: q,
|
|
1433
|
+
o: q,
|
|
1434
1434
|
d(r) {
|
|
1435
|
-
r &&
|
|
1435
|
+
r && j(t);
|
|
1436
1436
|
}
|
|
1437
1437
|
};
|
|
1438
1438
|
}
|
|
1439
1439
|
function Ue(e, t, n) {
|
|
1440
|
-
let { width:
|
|
1441
|
-
return e.$$set = (
|
|
1442
|
-
"width" in
|
|
1443
|
-
}, [
|
|
1440
|
+
let { width: l = "18" } = t, { height: s = "18" } = t;
|
|
1441
|
+
return e.$$set = (i) => {
|
|
1442
|
+
"width" in i && n(0, l = i.width), "height" in i && n(1, s = i.height);
|
|
1443
|
+
}, [l, s];
|
|
1444
1444
|
}
|
|
1445
1445
|
class Je extends Y {
|
|
1446
1446
|
constructor(t) {
|
|
@@ -1448,21 +1448,21 @@ class Je extends Y {
|
|
|
1448
1448
|
}
|
|
1449
1449
|
}
|
|
1450
1450
|
function Ye(e) {
|
|
1451
|
-
St(e, "svelte-
|
|
1451
|
+
St(e, "svelte-1y5fikd", ':host{--max-width:500px;--font-family:Arial, sans-serif;display:block}.registration-wall.svelte-1y5fikd{font-family:--var(font-family);max-width:var(--max-width);margin:0 auto;padding:20px;text-align:center;background-color:rgb(248, 248, 245);border:solid 1px #e9e9da;border-radius:8px}h1.svelte-1y5fikd{font-size:24px;margin-bottom:10px}p.svelte-1y5fikd{font-size:14px;margin-bottom:20px;color:#555}.form-container.svelte-1y5fikd{width:100%}input.svelte-1y5fikd{width:100%;padding:10px;margin-bottom:10px;border:1px solid #ccc;border-radius:4px;box-sizing:border-box}.continue-button.svelte-1y5fikd{width:100%;padding:10px;background-color:#4285f4;color:#fff;border:none;border-radius:4px;cursor:pointer;margin-bottom:10px;font-size:14px}.divider.svelte-1y5fikd{margin:15px 0;text-align:center;position:relative;color:#777}.divider.svelte-1y5fikd::before,.divider.svelte-1y5fikd::after{content:"";position:absolute;top:50%;width:45%;height:1px;background-color:#ccc}.divider.svelte-1y5fikd::before{left:0}.divider.svelte-1y5fikd::after{right:0}.social-button.svelte-1y5fikd{width:100%;padding:10px;background-color:#fff;color:#000;border:1px solid #ccc;border-radius:4px;cursor:pointer;margin-bottom:10px;font-size:14px;display:flex;justify-content:center}.button-content.svelte-1y5fikd{display:flex;align-items:center;justify-content:center}.button-content.svelte-1y5fikd svg{margin-right:8px}.terms.svelte-1y5fikd{font-size:12px;margin-top:20px;color:#777}a.svelte-1y5fikd{color:#4285f4;text-decoration:none}');
|
|
1452
1452
|
}
|
|
1453
1453
|
const Qe = (e) => ({}), Zt = (e) => ({}), Xe = (e) => ({}), Ut = (e) => ({});
|
|
1454
1454
|
function tn(e) {
|
|
1455
1455
|
let t;
|
|
1456
1456
|
return {
|
|
1457
1457
|
c() {
|
|
1458
|
-
t = d("h1"), t.textContent = "Skapa ett gratis konto eller logga in",
|
|
1458
|
+
t = d("h1"), t.textContent = "Skapa ett gratis konto eller logga in", o(t, "class", "svelte-1y5fikd");
|
|
1459
1459
|
},
|
|
1460
|
-
m(n,
|
|
1461
|
-
z(n, t,
|
|
1460
|
+
m(n, l) {
|
|
1461
|
+
z(n, t, l);
|
|
1462
1462
|
},
|
|
1463
|
-
p:
|
|
1463
|
+
p: q,
|
|
1464
1464
|
d(n) {
|
|
1465
|
-
n &&
|
|
1465
|
+
n && j(t);
|
|
1466
1466
|
}
|
|
1467
1467
|
};
|
|
1468
1468
|
}
|
|
@@ -1470,24 +1470,24 @@ function en(e) {
|
|
|
1470
1470
|
let t;
|
|
1471
1471
|
return {
|
|
1472
1472
|
c() {
|
|
1473
|
-
t = d("p"), t.textContent = "Få tillgång till gratis artiklar och nyhetsbrev.",
|
|
1473
|
+
t = d("p"), t.textContent = "Få tillgång till gratis artiklar och nyhetsbrev.", o(t, "class", "svelte-1y5fikd");
|
|
1474
1474
|
},
|
|
1475
|
-
m(n,
|
|
1476
|
-
z(n, t,
|
|
1475
|
+
m(n, l) {
|
|
1476
|
+
z(n, t, l);
|
|
1477
1477
|
},
|
|
1478
|
-
p:
|
|
1478
|
+
p: q,
|
|
1479
1479
|
d(n) {
|
|
1480
|
-
n &&
|
|
1480
|
+
n && j(t);
|
|
1481
1481
|
}
|
|
1482
1482
|
};
|
|
1483
1483
|
}
|
|
1484
1484
|
function nn(e) {
|
|
1485
|
-
let t, n,
|
|
1486
|
-
const
|
|
1485
|
+
let t, n, l, s, i, r, a, h, p, k, _, u, $, g, E, L, B, C, w, I, R, T, F, S, A, D, H, Q, M, N, et, lt;
|
|
1486
|
+
const st = (
|
|
1487
1487
|
/*#slots*/
|
|
1488
1488
|
e[1].title
|
|
1489
1489
|
), W = $t(
|
|
1490
|
-
|
|
1490
|
+
st,
|
|
1491
1491
|
e,
|
|
1492
1492
|
/*$$scope*/
|
|
1493
1493
|
e[0],
|
|
@@ -1501,52 +1501,52 @@ function nn(e) {
|
|
|
1501
1501
|
/*$$scope*/
|
|
1502
1502
|
e[0],
|
|
1503
1503
|
Zt
|
|
1504
|
-
),
|
|
1505
|
-
return $ = new Je({ props: { width: "18", height: "18" } }),
|
|
1504
|
+
), y = G || en();
|
|
1505
|
+
return $ = new Je({ props: { width: "18", height: "18" } }), w = new Ke({ props: { width: "18", height: "18" } }), A = new Re({ props: { width: "18", height: "18" } }), {
|
|
1506
1506
|
c() {
|
|
1507
|
-
t = d("div"), v && v.c(), n = b(),
|
|
1507
|
+
t = d("div"), v && v.c(), n = b(), y && y.c(), l = b(), s = d("div"), i = d("input"), r = b(), a = d("button"), a.textContent = "Fortsätt", h = b(), p = d("div"), p.textContent = "eller", k = b(), _ = d("button"), u = d("span"), pt($.$$.fragment), g = b(), E = d("span"), E.textContent = "Fortsätt med Google", L = b(), B = d("button"), C = d("span"), pt(w.$$.fragment), I = b(), R = d("span"), R.textContent = "Fortsätt med Facebook", T = b(), F = d("button"), S = d("span"), pt(A.$$.fragment), D = b(), H = d("span"), H.textContent = "Fortsätt med Apple", Q = b(), M = d("p"), M.innerHTML = 'Genom att logga in godkänner du våra <a href="#terms" class="svelte-1y5fikd">Vilkor</a>', o(i, "type", "email"), o(i, "id", "email"), o(i, "placeholder", "Skriv in din epost"), o(i, "class", "svelte-1y5fikd"), o(a, "part", "continueButton"), o(a, "class", "continue-button svelte-1y5fikd"), o(p, "class", "divider svelte-1y5fikd"), o(E, "class", "button-text"), o(u, "class", "button-content svelte-1y5fikd"), o(_, "class", "social-button google svelte-1y5fikd"), o(R, "class", "button-text"), o(C, "class", "button-content svelte-1y5fikd"), o(B, "class", "social-button facebook svelte-1y5fikd"), o(H, "class", "button-text"), o(S, "class", "button-content svelte-1y5fikd"), o(F, "class", "social-button apple svelte-1y5fikd"), o(s, "class", "form-container svelte-1y5fikd"), o(M, "class", "terms svelte-1y5fikd"), o(t, "class", "registration-wall svelte-1y5fikd");
|
|
1508
1508
|
},
|
|
1509
|
-
m(f,
|
|
1510
|
-
z(f, t,
|
|
1509
|
+
m(f, x) {
|
|
1510
|
+
z(f, t, x), v && v.m(t, null), c(t, n), y && y.m(t, null), c(t, l), c(t, s), c(s, i), c(s, r), c(s, a), c(s, h), c(s, p), c(s, k), c(s, _), c(_, u), ut($, u, null), c(u, g), c(u, E), c(s, L), c(s, B), c(B, C), ut(w, C, null), c(C, I), c(C, R), c(s, T), c(s, F), c(F, S), ut(A, S, null), c(S, D), c(S, H), c(t, Q), c(t, M), N = !0, et || (lt = [
|
|
1511
1511
|
P(a, "click", bt),
|
|
1512
1512
|
P(_, "click", bt),
|
|
1513
1513
|
P(B, "click", bt),
|
|
1514
1514
|
P(F, "click", bt)
|
|
1515
1515
|
], et = !0);
|
|
1516
1516
|
},
|
|
1517
|
-
p(f, [
|
|
1518
|
-
W && W.p && (!N ||
|
|
1519
|
-
1) &&
|
|
1517
|
+
p(f, [x]) {
|
|
1518
|
+
W && W.p && (!N || x & /*$$scope*/
|
|
1519
|
+
1) && wt(
|
|
1520
1520
|
W,
|
|
1521
|
-
|
|
1521
|
+
st,
|
|
1522
1522
|
f,
|
|
1523
1523
|
/*$$scope*/
|
|
1524
1524
|
f[0],
|
|
1525
|
-
N ?
|
|
1526
|
-
|
|
1525
|
+
N ? kt(
|
|
1526
|
+
st,
|
|
1527
1527
|
/*$$scope*/
|
|
1528
1528
|
f[0],
|
|
1529
|
-
|
|
1529
|
+
x,
|
|
1530
1530
|
Xe
|
|
1531
|
-
) :
|
|
1531
|
+
) : yt(
|
|
1532
1532
|
/*$$scope*/
|
|
1533
1533
|
f[0]
|
|
1534
1534
|
),
|
|
1535
1535
|
Ut
|
|
1536
|
-
), G && G.p && (!N ||
|
|
1537
|
-
1) &&
|
|
1536
|
+
), G && G.p && (!N || x & /*$$scope*/
|
|
1537
|
+
1) && wt(
|
|
1538
1538
|
G,
|
|
1539
1539
|
dt,
|
|
1540
1540
|
f,
|
|
1541
1541
|
/*$$scope*/
|
|
1542
1542
|
f[0],
|
|
1543
|
-
N ?
|
|
1543
|
+
N ? kt(
|
|
1544
1544
|
dt,
|
|
1545
1545
|
/*$$scope*/
|
|
1546
1546
|
f[0],
|
|
1547
|
-
|
|
1547
|
+
x,
|
|
1548
1548
|
Qe
|
|
1549
|
-
) :
|
|
1549
|
+
) : yt(
|
|
1550
1550
|
/*$$scope*/
|
|
1551
1551
|
f[0]
|
|
1552
1552
|
),
|
|
@@ -1554,32 +1554,32 @@ function nn(e) {
|
|
|
1554
1554
|
);
|
|
1555
1555
|
},
|
|
1556
1556
|
i(f) {
|
|
1557
|
-
N || (O(v, f), O(
|
|
1557
|
+
N || (O(v, f), O(y, f), O($.$$.fragment, f), O(w.$$.fragment, f), O(A.$$.fragment, f), N = !0);
|
|
1558
1558
|
},
|
|
1559
1559
|
o(f) {
|
|
1560
|
-
Z(v, f), Z(
|
|
1560
|
+
Z(v, f), Z(y, f), Z($.$$.fragment, f), Z(w.$$.fragment, f), Z(A.$$.fragment, f), N = !1;
|
|
1561
1561
|
},
|
|
1562
1562
|
d(f) {
|
|
1563
|
-
f &&
|
|
1563
|
+
f && j(t), v && v.d(f), y && y.d(f), ft($), ft(w), ft(A), et = !1, tt(lt);
|
|
1564
1564
|
}
|
|
1565
1565
|
};
|
|
1566
1566
|
}
|
|
1567
1567
|
function bt() {
|
|
1568
1568
|
console.log("Button clicked");
|
|
1569
1569
|
}
|
|
1570
|
-
function
|
|
1571
|
-
let { $$slots:
|
|
1572
|
-
return e.$$set = (
|
|
1573
|
-
"$$scope" in
|
|
1574
|
-
}, [
|
|
1570
|
+
function ln(e, t, n) {
|
|
1571
|
+
let { $$slots: l = {}, $$scope: s } = t;
|
|
1572
|
+
return e.$$set = (i) => {
|
|
1573
|
+
"$$scope" in i && n(0, s = i.$$scope);
|
|
1574
|
+
}, [s, l];
|
|
1575
1575
|
}
|
|
1576
|
-
class
|
|
1576
|
+
class oe extends Y {
|
|
1577
1577
|
constructor(t) {
|
|
1578
|
-
super(), J(this, t,
|
|
1578
|
+
super(), J(this, t, ln, nn, U, {}, Ye);
|
|
1579
1579
|
}
|
|
1580
1580
|
}
|
|
1581
|
-
customElements.define("sesamy-registration-wall",
|
|
1582
|
-
const an =
|
|
1581
|
+
customElements.define("sesamy-registration-wall", qt(oe, {}, ["title", "description"], [], !0));
|
|
1582
|
+
const an = oe;
|
|
1583
1583
|
export {
|
|
1584
1584
|
cn as Hello,
|
|
1585
1585
|
on as Login,
|