@sesamy/sesamy-components 0.0.7 → 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,68 +1,68 @@
1
- var le = Object.defineProperty;
2
- var se = (e, t, n) => t in e ? le(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
3
- var E = (e, t, n) => se(e, typeof t != "symbol" ? t + "" : t, n);
4
- function j() {
1
+ var re = Object.defineProperty;
2
+ var ce = (e, t, n) => t in e ? re(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
3
+ var V = (e, t, n) => ce(e, typeof t != "symbol" ? t + "" : t, n);
4
+ function q() {
5
5
  }
6
- function W(e, t) {
6
+ function X(e, t) {
7
7
  for (const n in t) e[n] = t[n];
8
8
  return (
9
9
  /** @type {T & S} */
10
10
  e
11
11
  );
12
12
  }
13
- function Wt(e) {
13
+ function Jt(e) {
14
14
  return e();
15
15
  }
16
- function Ct() {
16
+ function Bt() {
17
17
  return /* @__PURE__ */ Object.create(null);
18
18
  }
19
- function G(e) {
20
- e.forEach(Wt);
19
+ function tt(e) {
20
+ e.forEach(Jt);
21
21
  }
22
- function Ht(e) {
22
+ function Yt(e) {
23
23
  return typeof e == "function";
24
24
  }
25
- function nt(e, t) {
25
+ function U(e, t) {
26
26
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
27
27
  }
28
- let ct;
29
- function It(e, t) {
30
- return e === t ? !0 : (ct || (ct = document.createElement("a")), ct.href = t, e === ct.href);
28
+ let mt;
29
+ function Qt(e, t) {
30
+ return e === t ? !0 : (mt || (mt = document.createElement("a")), mt.href = t, e === mt.href);
31
31
  }
32
- function oe(e) {
32
+ function ae(e) {
33
33
  return Object.keys(e).length === 0;
34
34
  }
35
- function Ft(e, t, n, l) {
35
+ function $t(e, t, n, l) {
36
36
  if (e) {
37
- const s = Dt(e, t, n, l);
37
+ const s = Xt(e, t, n, l);
38
38
  return e[0](s);
39
39
  }
40
40
  }
41
- function Dt(e, t, n, l) {
42
- return e[1] && l ? W(n.ctx.slice(), e[1](l(t))) : n.ctx;
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 Rt(e, t, n, l) {
44
+ function kt(e, t, n, l) {
45
45
  if (e[2] && l) {
46
46
  const s = e[2](l(n));
47
47
  if (t.dirty === void 0)
48
48
  return s;
49
49
  if (typeof s == "object") {
50
- const o = [], i = Math.max(t.dirty.length, s.length);
51
- for (let r = 0; r < i; r += 1)
52
- o[r] = t.dirty[r] | s[r];
53
- return o;
50
+ const i = [], r = Math.max(t.dirty.length, s.length);
51
+ for (let a = 0; a < r; a += 1)
52
+ i[a] = t.dirty[a] | s[a];
53
+ return i;
54
54
  }
55
55
  return t.dirty | s;
56
56
  }
57
57
  return t.dirty;
58
58
  }
59
- function Kt(e, t, n, l, s, o) {
59
+ function wt(e, t, n, l, s, i) {
60
60
  if (s) {
61
- const i = Dt(t, n, l, o);
62
- e.p(i, s);
61
+ const r = Xt(t, n, l, i);
62
+ e.p(r, s);
63
63
  }
64
64
  }
65
- function Gt(e) {
65
+ function yt(e) {
66
66
  if (e.ctx.length > 32) {
67
67
  const t = [], n = e.ctx.length / 32;
68
68
  for (let l = 0; l < n; l++)
@@ -71,28 +71,28 @@ function Gt(e) {
71
71
  }
72
72
  return -1;
73
73
  }
74
- function ft(e) {
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;
78
78
  }
79
- function zt(e, t) {
79
+ function Ft(e, t) {
80
80
  const n = {};
81
81
  t = new Set(t);
82
82
  for (const l in e) !t.has(l) && l[0] !== "$" && (n[l] = e[l]);
83
83
  return n;
84
84
  }
85
- function u(e, t) {
85
+ function c(e, t) {
86
86
  e.appendChild(t);
87
87
  }
88
- function Ut(e, t, n) {
89
- const l = ie(e);
88
+ function St(e, t, n) {
89
+ const l = ue(e);
90
90
  if (!l.getElementById(t)) {
91
- const s = g("style");
92
- s.id = t, s.textContent = n, re(l, s);
91
+ const s = d("style");
92
+ s.id = t, s.textContent = n, fe(l, s);
93
93
  }
94
94
  }
95
- function ie(e) {
95
+ function ue(e) {
96
96
  if (!e) return document;
97
97
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
98
98
  return t && /** @type {ShadowRoot} */
@@ -101,49 +101,49 @@ function ie(e) {
101
101
  t
102
102
  ) : e.ownerDocument;
103
103
  }
104
- function re(e, t) {
105
- return u(
104
+ function fe(e, t) {
105
+ return c(
106
106
  /** @type {Document} */
107
107
  e.head || e,
108
108
  t
109
109
  ), t.sheet;
110
110
  }
111
- function N(e, t, n) {
111
+ function z(e, t, n) {
112
112
  e.insertBefore(t, n || null);
113
113
  }
114
- function C(e) {
114
+ function j(e) {
115
115
  e.parentNode && e.parentNode.removeChild(e);
116
116
  }
117
- function _t(e, t) {
117
+ function Et(e, t) {
118
118
  for (let n = 0; n < e.length; n += 1)
119
119
  e[n] && e[n].d(t);
120
120
  }
121
- function g(e) {
121
+ function d(e) {
122
122
  return document.createElement(e);
123
123
  }
124
- function Vt(e) {
124
+ function K(e) {
125
125
  return document.createElementNS("http://www.w3.org/2000/svg", e);
126
126
  }
127
- function Jt(e) {
127
+ function te(e) {
128
128
  return document.createTextNode(e);
129
129
  }
130
130
  function b() {
131
- return Jt(" ");
131
+ return te(" ");
132
132
  }
133
- function vt() {
134
- return Jt("");
133
+ function At() {
134
+ return te("");
135
135
  }
136
- function S(e, t, n, l) {
136
+ function P(e, t, n, l) {
137
137
  return e.addEventListener(t, n, l), () => e.removeEventListener(t, n, l);
138
138
  }
139
- function a(e, t, n) {
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 dt(e, t) {
142
+ function Ct(e, t) {
143
143
  for (const n in t)
144
- a(e, n, t[n]);
144
+ o(e, n, t[n]);
145
145
  }
146
- function ce(e) {
146
+ function de(e) {
147
147
  let t;
148
148
  return {
149
149
  /* push */
@@ -156,13 +156,13 @@ function ce(e) {
156
156
  }
157
157
  };
158
158
  }
159
- function ue(e) {
159
+ function he(e) {
160
160
  return Array.from(e.childNodes);
161
161
  }
162
- function Et(e, t) {
162
+ function Ht(e, t) {
163
163
  e.value = t ?? "";
164
164
  }
165
- function ae(e) {
165
+ function ge(e) {
166
166
  const t = {};
167
167
  return e.childNodes.forEach(
168
168
  /** @param {Element} node */
@@ -171,184 +171,184 @@ function ae(e) {
171
171
  }
172
172
  ), t;
173
173
  }
174
- let kt;
175
- function ot(e) {
176
- kt = e;
174
+ let Mt;
175
+ function gt(e) {
176
+ Mt = e;
177
177
  }
178
- const X = [], Nt = [];
179
- let tt = [];
180
- const Lt = [], fe = /* @__PURE__ */ Promise.resolve();
181
- let bt = !1;
182
- function de() {
183
- bt || (bt = !0, fe.then(Yt));
178
+ const rt = [], Ot = [];
179
+ let at = [];
180
+ const Tt = [], pe = /* @__PURE__ */ Promise.resolve();
181
+ let Lt = !1;
182
+ function me() {
183
+ Lt || (Lt = !0, pe.then(ee));
184
184
  }
185
- function $t(e) {
186
- tt.push(e);
185
+ function Nt(e) {
186
+ at.push(e);
187
187
  }
188
- const mt = /* @__PURE__ */ new Set();
189
- let Y = 0;
190
- function Yt() {
191
- if (Y !== 0)
188
+ const jt = /* @__PURE__ */ new Set();
189
+ let it = 0;
190
+ function ee() {
191
+ if (it !== 0)
192
192
  return;
193
- const e = kt;
193
+ const e = Mt;
194
194
  do {
195
195
  try {
196
- for (; Y < X.length; ) {
197
- const t = X[Y];
198
- Y++, ot(t), he(t.$$);
196
+ for (; it < rt.length; ) {
197
+ const t = rt[it];
198
+ it++, gt(t), be(t.$$);
199
199
  }
200
200
  } catch (t) {
201
- throw X.length = 0, Y = 0, t;
201
+ throw rt.length = 0, it = 0, t;
202
202
  }
203
- for (ot(null), X.length = 0, Y = 0; Nt.length; ) Nt.pop()();
204
- for (let t = 0; t < tt.length; t += 1) {
205
- const n = tt[t];
206
- mt.has(n) || (mt.add(n), n());
203
+ for (gt(null), rt.length = 0, it = 0; Ot.length; ) Ot.pop()();
204
+ for (let t = 0; t < at.length; t += 1) {
205
+ const n = at[t];
206
+ jt.has(n) || (jt.add(n), n());
207
207
  }
208
- tt.length = 0;
209
- } while (X.length);
210
- for (; Lt.length; )
211
- Lt.pop()();
212
- bt = !1, mt.clear(), ot(e);
208
+ at.length = 0;
209
+ } while (rt.length);
210
+ for (; Tt.length; )
211
+ Tt.pop()();
212
+ Lt = !1, jt.clear(), gt(e);
213
213
  }
214
- function he(e) {
214
+ function be(e) {
215
215
  if (e.fragment !== null) {
216
- e.update(), G(e.before_update);
216
+ e.update(), tt(e.before_update);
217
217
  const t = e.dirty;
218
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach($t);
218
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Nt);
219
219
  }
220
220
  }
221
- function ge(e) {
221
+ function _e(e) {
222
222
  const t = [], n = [];
223
- tt.forEach((l) => e.indexOf(l) === -1 ? t.push(l) : n.push(l)), n.forEach((l) => l()), tt = t;
223
+ at.forEach((l) => e.indexOf(l) === -1 ? t.push(l) : n.push(l)), n.forEach((l) => l()), at = t;
224
224
  }
225
- const ut = /* @__PURE__ */ new Set();
226
- let K;
227
- function me() {
228
- K = {
225
+ const _t = /* @__PURE__ */ new Set();
226
+ let nt;
227
+ function ve() {
228
+ nt = {
229
229
  r: 0,
230
230
  c: [],
231
- p: K
231
+ p: nt
232
232
  // parent group
233
233
  };
234
234
  }
235
- function pe() {
236
- K.r || G(K.c), K = K.p;
235
+ function $e() {
236
+ nt.r || tt(nt.c), nt = nt.p;
237
237
  }
238
- function B(e, t) {
239
- e && e.i && (ut.delete(e), e.i(t));
238
+ function O(e, t) {
239
+ e && e.i && (_t.delete(e), e.i(t));
240
240
  }
241
- function et(e, t, n, l) {
241
+ function Z(e, t, n, l) {
242
242
  if (e && e.o) {
243
- if (ut.has(e)) return;
244
- ut.add(e), K.c.push(() => {
245
- ut.delete(e), l && (n && e.d(1), l());
243
+ if (_t.has(e)) return;
244
+ _t.add(e), nt.c.push(() => {
245
+ _t.delete(e), l && (n && e.d(1), l());
246
246
  }), e.o(t);
247
247
  } else l && l();
248
248
  }
249
- function Z(e) {
249
+ function ct(e) {
250
250
  return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
251
251
  }
252
- function yt(e, t) {
252
+ function Pt(e, t) {
253
253
  const n = {}, l = {}, s = { $$scope: 1 };
254
- let o = e.length;
255
- for (; o--; ) {
256
- const i = e[o], r = t[o];
257
- if (r) {
258
- for (const f in i)
259
- f in r || (l[f] = 1);
260
- for (const f in r)
261
- s[f] || (n[f] = r[f], s[f] = 1);
262
- e[o] = r;
254
+ let i = e.length;
255
+ for (; i--; ) {
256
+ const r = e[i], a = t[i];
257
+ if (a) {
258
+ for (const h in r)
259
+ h in a || (l[h] = 1);
260
+ for (const h in a)
261
+ s[h] || (n[h] = a[h], s[h] = 1);
262
+ e[i] = a;
263
263
  } else
264
- for (const f in i)
265
- s[f] = 1;
264
+ for (const h in r)
265
+ s[h] = 1;
266
266
  }
267
- for (const i in l)
268
- i in n || (n[i] = void 0);
267
+ for (const r in l)
268
+ r in n || (n[r] = void 0);
269
269
  return n;
270
270
  }
271
- function _e(e) {
271
+ function ke(e) {
272
272
  return typeof e == "object" && e !== null ? e : {};
273
273
  }
274
- function Qt(e) {
274
+ function pt(e) {
275
275
  e && e.c();
276
276
  }
277
- function wt(e, t, n) {
277
+ function ut(e, t, n) {
278
278
  const { fragment: l, after_update: s } = e.$$;
279
- l && l.m(t, n), $t(() => {
280
- const o = e.$$.on_mount.map(Wt).filter(Ht);
281
- e.$$.on_destroy ? e.$$.on_destroy.push(...o) : G(o), e.$$.on_mount = [];
282
- }), s.forEach($t);
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
- function xt(e, t) {
284
+ function ft(e, t) {
285
285
  const n = e.$$;
286
- n.fragment !== null && (ge(n.after_update), G(n.on_destroy), n.fragment && n.fragment.d(t), n.on_destroy = n.fragment = null, n.ctx = []);
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 be(e, t) {
289
- e.$$.dirty[0] === -1 && (X.push(e), de(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
288
+ function we(e, t) {
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 it(e, t, n, l, s, o, i = null, r = [-1]) {
292
- const f = kt;
293
- ot(e);
294
- const h = e.$$ = {
291
+ function J(e, t, n, l, s, i, r = null, a = [-1]) {
292
+ const h = Mt;
293
+ gt(e);
294
+ const p = e.$$ = {
295
295
  fragment: null,
296
296
  ctx: [],
297
297
  // state
298
- props: o,
299
- update: j,
298
+ props: i,
299
+ update: q,
300
300
  not_equal: s,
301
- bound: Ct(),
301
+ bound: Bt(),
302
302
  // lifecycle
303
303
  on_mount: [],
304
304
  on_destroy: [],
305
305
  on_disconnect: [],
306
306
  before_update: [],
307
307
  after_update: [],
308
- context: new Map(t.context || (f ? f.$$.context : [])),
308
+ context: new Map(t.context || (h ? h.$$.context : [])),
309
309
  // everything else
310
- callbacks: Ct(),
311
- dirty: r,
310
+ callbacks: Bt(),
311
+ dirty: a,
312
312
  skip_bound: !1,
313
- root: t.target || f.$$.root
313
+ root: t.target || h.$$.root
314
314
  };
315
- i && i(h.root);
316
- let $ = !1;
317
- if (h.ctx = n ? n(e, t.props || {}, (_, c, ...v) => {
318
- const d = v.length ? v[0] : c;
319
- return h.ctx && s(h.ctx[_], h.ctx[_] = d) && (!h.skip_bound && h.bound[_] && h.bound[_](d), $ && be(e, _)), c;
320
- }) : [], h.update(), $ = !0, G(h.before_update), h.fragment = l ? l(h.ctx) : !1, t.target) {
315
+ r && r(p.root);
316
+ let k = !1;
317
+ if (p.ctx = n ? n(e, t.props || {}, (_, u, ...$) => {
318
+ const g = $.length ? $[0] : u;
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
- const _ = ue(t.target);
323
- h.fragment && h.fragment.l(_), _.forEach(C);
322
+ const _ = he(t.target);
323
+ p.fragment && p.fragment.l(_), _.forEach(j);
324
324
  } else
325
- h.fragment && h.fragment.c();
326
- t.intro && B(e.$$.fragment), wt(e, t.target, t.anchor), Yt();
325
+ p.fragment && p.fragment.c();
326
+ t.intro && O(e.$$.fragment), ut(e, t.target, t.anchor), ee();
327
327
  }
328
- ot(f);
328
+ gt(h);
329
329
  }
330
- let Xt;
331
- typeof HTMLElement == "function" && (Xt = class extends HTMLElement {
330
+ let ne;
331
+ typeof HTMLElement == "function" && (ne = class extends HTMLElement {
332
332
  constructor(t, n, l) {
333
333
  super();
334
334
  /** The Svelte component constructor */
335
- E(this, "$$ctor");
335
+ V(this, "$$ctor");
336
336
  /** Slots */
337
- E(this, "$$s");
337
+ V(this, "$$s");
338
338
  /** The Svelte component instance */
339
- E(this, "$$c");
339
+ V(this, "$$c");
340
340
  /** Whether or not the custom element is connected */
341
- E(this, "$$cn", !1);
341
+ V(this, "$$cn", !1);
342
342
  /** Component props data */
343
- E(this, "$$d", {});
343
+ V(this, "$$d", {});
344
344
  /** `true` if currently in the process of reflecting component props back to attributes */
345
- E(this, "$$r", !1);
345
+ V(this, "$$r", !1);
346
346
  /** @type {Record<string, CustomElementPropDefinition>} Props definition (name, reflected, type etc) */
347
- E(this, "$$p_d", {});
347
+ V(this, "$$p_d", {});
348
348
  /** @type {Record<string, Function[]>} Event listeners */
349
- E(this, "$$l", {});
349
+ V(this, "$$l", {});
350
350
  /** @type {Map<Function, Function>} Event listener unsubscribe functions */
351
- E(this, "$$l_u", /* @__PURE__ */ new Map());
351
+ V(this, "$$l_u", /* @__PURE__ */ new Map());
352
352
  this.$$ctor = t, this.$$s = n, l && this.attachShadow({ mode: "open" });
353
353
  }
354
354
  addEventListener(t, n, l) {
@@ -366,37 +366,37 @@ typeof HTMLElement == "function" && (Xt = class extends HTMLElement {
366
366
  }
367
367
  async connectedCallback() {
368
368
  if (this.$$cn = !0, !this.$$c) {
369
- let t = function(o) {
369
+ let t = function(i) {
370
370
  return () => {
371
- let i;
371
+ let r;
372
372
  return {
373
373
  c: function() {
374
- i = g("slot"), o !== "default" && a(i, "name", o);
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(h, $) {
381
- N(h, i, $);
380
+ m: function(p, k) {
381
+ z(p, r, k);
382
382
  },
383
- d: function(h) {
384
- h && C(i);
383
+ d: function(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 = {}, l = ae(this);
392
- for (const o of this.$$s)
393
- o in l && (n[o] = [t(o)]);
394
- for (const o of this.attributes) {
395
- const i = this.$$g_p(o.name);
396
- i in this.$$d || (this.$$d[i] = at(i, o.value, this.$$p_d, "toProp"));
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 o in this.$$p_d)
399
- !(o in this.$$d) && this[o] !== void 0 && (this.$$d[o] = this[o], delete this[o]);
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: {
@@ -409,23 +409,23 @@ typeof HTMLElement == "function" && (Xt = class extends HTMLElement {
409
409
  });
410
410
  const s = () => {
411
411
  this.$$r = !0;
412
- for (const o in this.$$p_d)
413
- if (this.$$d[o] = this.$$c.$$.ctx[this.$$c.$$.props[o]], this.$$p_d[o].reflect) {
414
- const i = at(
415
- o,
416
- this.$$d[o],
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
+ const r = vt(
415
+ i,
416
+ this.$$d[i],
417
417
  this.$$p_d,
418
418
  "toAttribute"
419
419
  );
420
- i == null ? this.removeAttribute(this.$$p_d[o].attribute || o) : this.setAttribute(this.$$p_d[o].attribute || o, i);
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
424
  this.$$c.$$.after_update.push(s), s();
425
- for (const o in this.$$l)
426
- for (const i of this.$$l[o]) {
427
- const r = this.$$c.$on(o, i);
428
- this.$$l_u.set(i, r);
425
+ for (const i in this.$$l)
426
+ for (const r of this.$$l[i]) {
427
+ const a = this.$$c.$on(i, r);
428
+ this.$$l_u.set(r, a);
429
429
  }
430
430
  this.$$l = {};
431
431
  }
@@ -434,7 +434,7 @@ typeof HTMLElement == "function" && (Xt = class extends HTMLElement {
434
434
  // and setting attributes through setAttribute etc, this is helpful
435
435
  attributeChangedCallback(t, n, l) {
436
436
  var s;
437
- this.$$r || (t = this.$$g_p(t), this.$$d[t] = at(t, l, this.$$p_d, "toProp"), (s = this.$$c) == null || s.$set({ [t]: this.$$d[t] }));
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,9 +447,9 @@ typeof HTMLElement == "function" && (Xt = class extends HTMLElement {
447
447
  ) || t;
448
448
  }
449
449
  });
450
- function at(e, t, n, l) {
451
- var o;
452
- const s = (o = n[e]) == null ? void 0 : o.type;
450
+ function vt(e, t, n, l) {
451
+ var i;
452
+ const s = (i = n[e]) == null ? void 0 : i.type;
453
453
  if (t = s === "Boolean" && typeof t != "boolean" ? t != null : t, !l || !n[e])
454
454
  return t;
455
455
  if (l === "toAttribute")
@@ -477,38 +477,38 @@ function at(e, t, n, l) {
477
477
  return t;
478
478
  }
479
479
  }
480
- function qt(e, t, n, l, s, o) {
481
- let i = class extends Xt {
480
+ function qt(e, t, n, l, s, i) {
481
+ let r = class extends ne {
482
482
  constructor() {
483
483
  super(e, n, s), this.$$p_d = t;
484
484
  }
485
485
  static get observedAttributes() {
486
486
  return Object.keys(t).map(
487
- (r) => (t[r].attribute || r).toLowerCase()
487
+ (a) => (t[a].attribute || a).toLowerCase()
488
488
  );
489
489
  }
490
490
  };
491
- return Object.keys(t).forEach((r) => {
492
- Object.defineProperty(i.prototype, r, {
491
+ return Object.keys(t).forEach((a) => {
492
+ Object.defineProperty(r.prototype, a, {
493
493
  get() {
494
- return this.$$c && r in this.$$c ? this.$$c[r] : this.$$d[r];
494
+ return this.$$c && a in this.$$c ? this.$$c[a] : this.$$d[a];
495
495
  },
496
- set(f) {
497
- var h;
498
- f = at(r, f, t), this.$$d[r] = f, (h = this.$$c) == null || h.$set({ [r]: f });
496
+ set(h) {
497
+ var p;
498
+ h = vt(a, h, t), this.$$d[a] = h, (p = this.$$c) == null || p.$set({ [a]: h });
499
499
  }
500
500
  });
501
- }), l.forEach((r) => {
502
- Object.defineProperty(i.prototype, r, {
501
+ }), l.forEach((a) => {
502
+ Object.defineProperty(r.prototype, a, {
503
503
  get() {
504
- var f;
505
- return (f = this.$$c) == null ? void 0 : f[r];
504
+ var h;
505
+ return (h = this.$$c) == null ? void 0 : h[a];
506
506
  }
507
507
  });
508
508
  }), e.element = /** @type {any} */
509
- i, i;
509
+ r, r;
510
510
  }
511
- class rt {
511
+ class Y {
512
512
  constructor() {
513
513
  /**
514
514
  * ### PRIVATE API
@@ -517,7 +517,7 @@ class rt {
517
517
  *
518
518
  * @type {any}
519
519
  */
520
- E(this, "$$");
520
+ V(this, "$$");
521
521
  /**
522
522
  * ### PRIVATE API
523
523
  *
@@ -525,11 +525,11 @@ class rt {
525
525
  *
526
526
  * @type {any}
527
527
  */
528
- E(this, "$$set");
528
+ V(this, "$$set");
529
529
  }
530
530
  /** @returns {void} */
531
531
  $destroy() {
532
- xt(this, 1), this.$destroy = j;
532
+ ft(this, 1), this.$destroy = q;
533
533
  }
534
534
  /**
535
535
  * @template {Extract<keyof Events, string>} K
@@ -538,8 +538,8 @@ class rt {
538
538
  * @returns {() => void}
539
539
  */
540
540
  $on(t, n) {
541
- if (!Ht(n))
542
- return j;
541
+ if (!Yt(n))
542
+ return q;
543
543
  const l = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
544
544
  return l.push(n), () => {
545
545
  const s = l.indexOf(n);
@@ -551,122 +551,122 @@ class rt {
551
551
  * @returns {void}
552
552
  */
553
553
  $set(t) {
554
- this.$$set && !oe(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
554
+ this.$$set && !ae(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
555
555
  }
556
556
  }
557
- const $e = "4";
558
- typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add($e);
559
- function ve(e) {
560
- Ut(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}}");
557
+ const ye = "4";
558
+ typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(ye);
559
+ function xe(e) {
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 ke(e) {
562
+ function Ce(e) {
563
563
  let t, n, l;
564
564
  return {
565
565
  c() {
566
- t = g("button"), t.textContent = "Login", a(t, "class", "login-btn svelte-1nq6lsq"), a(t, "aria-label", "Log in");
566
+ t = d("button"), t.textContent = "Login", o(t, "class", "login-btn svelte-1nq6lsq"), o(t, "aria-label", "Log in");
567
567
  },
568
- m(s, o) {
569
- N(s, t, o), n || (l = S(
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: j,
576
+ p: q,
577
577
  d(s) {
578
- s && C(t), n = !1, l();
578
+ s && j(t), n = !1, l();
579
579
  }
580
580
  };
581
581
  }
582
- function ye(e) {
583
- let t, n, l, s, o;
582
+ function qe(e) {
583
+ let t, n, l, s, i;
584
584
  return {
585
585
  c() {
586
- t = g("button"), n = g("img"), It(n.src, l = qe) || a(n, "src", l), a(n, "alt", "User Avatar"), a(n, "class", "svelte-1nq6lsq"), a(t, "class", "avatar-btn svelte-1nq6lsq"), a(t, "aria-label", "Log out");
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
- m(i, r) {
589
- N(i, t, r), u(t, n), s || (o = S(
588
+ m(r, a) {
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: j,
597
- d(i) {
598
- i && C(t), s = !1, o();
596
+ p: q,
597
+ d(r) {
598
+ r && j(t), s = !1, i();
599
599
  }
600
600
  };
601
601
  }
602
- function we(e) {
602
+ function je(e) {
603
603
  let t;
604
604
  return {
605
605
  c() {
606
- t = g("button"), t.innerHTML = "", a(t, "class", "loading-btn svelte-1nq6lsq"), a(t, "aria-busy", "true"), a(t, "aria-label", "Logging in");
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
608
  m(n, l) {
609
- N(n, t, l);
609
+ z(n, t, l);
610
610
  },
611
- p: j,
611
+ p: q,
612
612
  d(n) {
613
- n && C(t);
613
+ n && j(t);
614
614
  }
615
615
  };
616
616
  }
617
- function xe(e) {
617
+ function ze(e) {
618
618
  let t;
619
- function n(o, i) {
619
+ function n(i, r) {
620
620
  return (
621
621
  /*loading*/
622
- o[0] ? we : (
622
+ i[0] ? je : (
623
623
  /*loggedIn*/
624
- o[1] ? ye : ke
624
+ i[1] ? qe : Ce
625
625
  )
626
626
  );
627
627
  }
628
628
  let l = n(e), s = l(e);
629
629
  return {
630
630
  c() {
631
- s.c(), t = vt();
631
+ s.c(), t = At();
632
632
  },
633
- m(o, i) {
634
- s.m(o, i), N(o, t, i);
633
+ m(i, r) {
634
+ s.m(i, r), z(i, t, r);
635
635
  },
636
- p(o, [i]) {
637
- l === (l = n(o)) && s ? s.p(o, i) : (s.d(1), s = l(o), s && (s.c(), s.m(t.parentNode, t)));
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: j,
640
- o: j,
641
- d(o) {
642
- o && C(t), s.d(o);
639
+ i: q,
640
+ o: q,
641
+ d(i) {
642
+ i && j(t), s.d(i);
643
643
  }
644
644
  };
645
645
  }
646
- let qe = "https://via.placeholder.com/50";
647
- function je(e, t, n) {
646
+ let Ee = "https://via.placeholder.com/50";
647
+ function Le(e, t, n) {
648
648
  let l = !1, s = !1;
649
- const o = async () => {
650
- n(0, l = !0), await new Promise((f) => setTimeout(f, 2e3)), n(0, l = !1), n(1, s = !0);
651
- }, i = () => {
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
+ }, r = () => {
652
652
  n(1, s = !1);
653
653
  };
654
- return s = s, [l, s, o, i];
654
+ return s = s, [l, s, i, r];
655
655
  }
656
- class Zt extends rt {
656
+ class le extends Y {
657
657
  constructor(t) {
658
- super(), it(this, t, je, xe, nt, {}, ve);
658
+ super(), J(this, t, Le, ze, U, {}, xe);
659
659
  }
660
660
  }
661
- customElements.define("sesamy-login", qt(Zt, {}, [], [], !0));
662
- const We = Zt;
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
  *
666
666
  * This source code is licensed under the ISC license.
667
667
  * See the LICENSE file in the root directory of this source tree.
668
668
  */
669
- const St = {
669
+ const Wt = {
670
670
  xmlns: "http://www.w3.org/2000/svg",
671
671
  width: 24,
672
672
  height: 24,
@@ -677,87 +677,87 @@ const St = {
677
677
  "stroke-linecap": "round",
678
678
  "stroke-linejoin": "round"
679
679
  };
680
- function At(e, t, n) {
680
+ function Vt(e, t, n) {
681
681
  const l = e.slice();
682
682
  return l[11] = t[n][0], l[12] = t[n][1], l;
683
683
  }
684
- function pt(e) {
684
+ function zt(e) {
685
685
  let t, n = [
686
686
  /*attrs*/
687
687
  e[12]
688
688
  ], l = {};
689
689
  for (let s = 0; s < n.length; s += 1)
690
- l = W(l, n[s]);
690
+ l = X(l, n[s]);
691
691
  return {
692
692
  c() {
693
- t = Vt(
693
+ t = K(
694
694
  /*tag*/
695
695
  e[11]
696
- ), dt(t, l);
696
+ ), Ct(t, l);
697
697
  },
698
- m(s, o) {
699
- N(s, t, o);
698
+ m(s, i) {
699
+ z(s, t, i);
700
700
  },
701
- p(s, o) {
702
- dt(t, l = yt(n, [o & /*iconNode*/
701
+ p(s, i) {
702
+ Ct(t, l = Pt(n, [i & /*iconNode*/
703
703
  32 && /*attrs*/
704
704
  s[12]]));
705
705
  },
706
706
  d(s) {
707
- s && C(t);
707
+ s && j(t);
708
708
  }
709
709
  };
710
710
  }
711
- function Pt(e) {
711
+ function It(e) {
712
712
  let t = (
713
713
  /*tag*/
714
714
  e[11]
715
715
  ), n, l = (
716
716
  /*tag*/
717
- e[11] && pt(e)
717
+ e[11] && zt(e)
718
718
  );
719
719
  return {
720
720
  c() {
721
- l && l.c(), n = vt();
721
+ l && l.c(), n = At();
722
722
  },
723
- m(s, o) {
724
- l && l.m(s, o), N(s, n, o);
723
+ m(s, i) {
724
+ l && l.m(s, i), z(s, n, i);
725
725
  },
726
- p(s, o) {
726
+ p(s, i) {
727
727
  /*tag*/
728
- s[11] ? t ? nt(
728
+ s[11] ? t ? U(
729
729
  t,
730
730
  /*tag*/
731
731
  s[11]
732
- ) ? (l.d(1), l = pt(s), t = /*tag*/
733
- s[11], l.c(), l.m(n.parentNode, n)) : l.p(s, o) : (l = pt(s), t = /*tag*/
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
734
  s[11], l.c(), l.m(n.parentNode, n)) : t && (l.d(1), l = null, t = /*tag*/
735
735
  s[11]);
736
736
  },
737
737
  d(s) {
738
- s && C(n), l && l.d(s);
738
+ s && j(n), l && l.d(s);
739
739
  }
740
740
  };
741
741
  }
742
- function Ce(e) {
743
- let t, n, l, s, o, i = Z(
742
+ function Ne(e) {
743
+ let t, n, l, s, i, r = ct(
744
744
  /*iconNode*/
745
745
  e[5]
746
- ), r = [];
747
- for (let c = 0; c < i.length; c += 1)
748
- r[c] = Pt(At(e, i, c));
749
- const f = (
746
+ ), a = [];
747
+ for (let u = 0; u < r.length; u += 1)
748
+ a[u] = It(Vt(e, r, u));
749
+ const h = (
750
750
  /*#slots*/
751
751
  e[10].default
752
- ), h = Ft(
753
- f,
752
+ ), p = $t(
753
+ h,
754
754
  e,
755
755
  /*$$scope*/
756
756
  e[9],
757
757
  null
758
758
  );
759
- let $ = [
760
- St,
759
+ let k = [
760
+ Wt,
761
761
  /*$$restProps*/
762
762
  e[7],
763
763
  { width: (
@@ -798,134 +798,134 @@ function Ce(e) {
798
798
  )
799
799
  }
800
800
  ], _ = {};
801
- for (let c = 0; c < $.length; c += 1)
802
- _ = W(_, $[c]);
801
+ for (let u = 0; u < k.length; u += 1)
802
+ _ = X(_, k[u]);
803
803
  return {
804
804
  c() {
805
- t = Vt("svg");
806
- for (let c = 0; c < r.length; c += 1)
807
- r[c].c();
808
- n = vt(), h && h.c(), dt(t, _);
805
+ t = K("svg");
806
+ for (let u = 0; u < a.length; u += 1)
807
+ a[u].c();
808
+ n = At(), p && p.c(), Ct(t, _);
809
809
  },
810
- m(c, v) {
811
- N(c, t, v);
812
- for (let d = 0; d < r.length; d += 1)
813
- r[d] && r[d].m(t, null);
814
- u(t, n), h && h.m(t, null), o = !0;
810
+ m(u, $) {
811
+ z(u, t, $);
812
+ for (let g = 0; g < a.length; g += 1)
813
+ a[g] && a[g].m(t, null);
814
+ c(t, n), p && p.m(t, null), i = !0;
815
815
  },
816
- p(c, [v]) {
817
- if (v & /*iconNode*/
816
+ p(u, [$]) {
817
+ if ($ & /*iconNode*/
818
818
  32) {
819
- i = Z(
819
+ r = ct(
820
820
  /*iconNode*/
821
- c[5]
821
+ u[5]
822
822
  );
823
- let d;
824
- for (d = 0; d < i.length; d += 1) {
825
- const L = At(c, i, d);
826
- r[d] ? r[d].p(L, v) : (r[d] = Pt(L), r[d].c(), r[d].m(t, n));
823
+ let g;
824
+ for (g = 0; g < r.length; g += 1) {
825
+ const E = Vt(u, r, g);
826
+ a[g] ? a[g].p(E, $) : (a[g] = It(E), a[g].c(), a[g].m(t, n));
827
827
  }
828
- for (; d < r.length; d += 1)
829
- r[d].d(1);
830
- r.length = i.length;
828
+ for (; g < a.length; g += 1)
829
+ a[g].d(1);
830
+ a.length = r.length;
831
831
  }
832
- h && h.p && (!o || v & /*$$scope*/
833
- 512) && Kt(
832
+ p && p.p && (!i || $ & /*$$scope*/
833
+ 512) && wt(
834
+ p,
834
835
  h,
835
- f,
836
- c,
836
+ u,
837
837
  /*$$scope*/
838
- c[9],
839
- o ? Rt(
840
- f,
838
+ u[9],
839
+ i ? kt(
840
+ h,
841
841
  /*$$scope*/
842
- c[9],
843
- v,
842
+ u[9],
843
+ $,
844
844
  null
845
- ) : Gt(
845
+ ) : yt(
846
846
  /*$$scope*/
847
- c[9]
847
+ u[9]
848
848
  ),
849
849
  null
850
- ), dt(t, _ = yt($, [
851
- St,
852
- v & /*$$restProps*/
850
+ ), Ct(t, _ = Pt(k, [
851
+ Wt,
852
+ $ & /*$$restProps*/
853
853
  128 && /*$$restProps*/
854
- c[7],
855
- (!o || v & /*size*/
854
+ u[7],
855
+ (!i || $ & /*size*/
856
856
  4) && { width: (
857
857
  /*size*/
858
- c[2]
858
+ u[2]
859
859
  ) },
860
- (!o || v & /*size*/
860
+ (!i || $ & /*size*/
861
861
  4) && { height: (
862
862
  /*size*/
863
- c[2]
863
+ u[2]
864
864
  ) },
865
- (!o || v & /*color*/
865
+ (!i || $ & /*color*/
866
866
  2) && { stroke: (
867
867
  /*color*/
868
- c[1]
868
+ u[1]
869
869
  ) },
870
- (!o || v & /*absoluteStrokeWidth, strokeWidth, size*/
870
+ (!i || $ & /*absoluteStrokeWidth, strokeWidth, size*/
871
871
  28 && l !== (l = /*absoluteStrokeWidth*/
872
- c[4] ? Number(
872
+ u[4] ? Number(
873
873
  /*strokeWidth*/
874
- c[3]
874
+ u[3]
875
875
  ) * 24 / Number(
876
876
  /*size*/
877
- c[2]
877
+ u[2]
878
878
  ) : (
879
879
  /*strokeWidth*/
880
- c[3]
880
+ u[3]
881
881
  ))) && { "stroke-width": l },
882
- (!o || v & /*name, $$props*/
882
+ (!i || $ & /*name, $$props*/
883
883
  257 && s !== (s = /*mergeClasses*/
884
- c[6](
884
+ u[6](
885
885
  "lucide-icon",
886
886
  "lucide",
887
887
  /*name*/
888
- c[0] ? `lucide-${/*name*/
889
- c[0]}` : "",
888
+ u[0] ? `lucide-${/*name*/
889
+ u[0]}` : "",
890
890
  /*$$props*/
891
- c[8].class
891
+ u[8].class
892
892
  ))) && { class: s }
893
893
  ]));
894
894
  },
895
- i(c) {
896
- o || (B(h, c), o = !0);
895
+ i(u) {
896
+ i || (O(p, u), i = !0);
897
897
  },
898
- o(c) {
899
- et(h, c), o = !1;
898
+ o(u) {
899
+ Z(p, u), i = !1;
900
900
  },
901
- d(c) {
902
- c && C(t), _t(r, c), h && h.d(c);
901
+ d(u) {
902
+ u && j(t), Et(a, u), p && p.d(u);
903
903
  }
904
904
  };
905
905
  }
906
- function ze(e, t, n) {
906
+ function Se(e, t, n) {
907
907
  const l = ["name", "color", "size", "strokeWidth", "absoluteStrokeWidth", "iconNode"];
908
- let s = zt(t, l), { $$slots: o = {}, $$scope: i } = t, { name: r = void 0 } = t, { color: f = "currentColor" } = t, { size: h = 24 } = t, { strokeWidth: $ = 2 } = t, { absoluteStrokeWidth: _ = !1 } = t, { iconNode: c = [] } = t;
909
- const v = (...d) => d.filter((L, z, H) => !!L && H.indexOf(L) === z).join(" ");
910
- return e.$$set = (d) => {
911
- n(8, t = W(W({}, t), ft(d))), n(7, s = zt(t, l)), "name" in d && n(0, r = d.name), "color" in d && n(1, f = d.color), "size" in d && n(2, h = d.size), "strokeWidth" in d && n(3, $ = d.strokeWidth), "absoluteStrokeWidth" in d && n(4, _ = d.absoluteStrokeWidth), "iconNode" in d && n(5, c = d.iconNode), "$$scope" in d && n(9, i = d.$$scope);
912
- }, t = ft(t), [
913
- r,
914
- f,
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
+ const $ = (...g) => g.filter((E, L, B) => !!E && B.indexOf(E) === L).join(" ");
910
+ return e.$$set = (g) => {
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
+ a,
915
914
  h,
916
- $,
915
+ p,
916
+ k,
917
917
  _,
918
- c,
919
- v,
918
+ u,
919
+ $,
920
920
  s,
921
921
  t,
922
- i,
923
- o
922
+ r,
923
+ i
924
924
  ];
925
925
  }
926
- class Ee extends rt {
926
+ class Ae extends Y {
927
927
  constructor(t) {
928
- super(), it(this, t, ze, Ce, nt, {
928
+ super(), J(this, t, Se, Ne, U, {
929
929
  name: 0,
930
930
  color: 1,
931
931
  size: 2,
@@ -935,12 +935,12 @@ class Ee extends rt {
935
935
  });
936
936
  }
937
937
  }
938
- function Ne(e) {
938
+ function Me(e) {
939
939
  let t;
940
940
  const n = (
941
941
  /*#slots*/
942
942
  e[2].default
943
- ), l = Ft(
943
+ ), l = $t(
944
944
  n,
945
945
  e,
946
946
  /*$$scope*/
@@ -951,24 +951,24 @@ function Ne(e) {
951
951
  c() {
952
952
  l && l.c();
953
953
  },
954
- m(s, o) {
955
- l && l.m(s, o), t = !0;
954
+ m(s, i) {
955
+ l && l.m(s, i), t = !0;
956
956
  },
957
- p(s, o) {
958
- l && l.p && (!t || o & /*$$scope*/
959
- 8) && Kt(
957
+ p(s, i) {
958
+ l && l.p && (!t || i & /*$$scope*/
959
+ 8) && wt(
960
960
  l,
961
961
  n,
962
962
  s,
963
963
  /*$$scope*/
964
964
  s[3],
965
- t ? Rt(
965
+ t ? kt(
966
966
  n,
967
967
  /*$$scope*/
968
968
  s[3],
969
- o,
969
+ i,
970
970
  null
971
- ) : Gt(
971
+ ) : yt(
972
972
  /*$$scope*/
973
973
  s[3]
974
974
  ),
@@ -976,17 +976,17 @@ function Ne(e) {
976
976
  );
977
977
  },
978
978
  i(s) {
979
- t || (B(l, s), t = !0);
979
+ t || (O(l, s), t = !0);
980
980
  },
981
981
  o(s) {
982
- et(l, s), t = !1;
982
+ Z(l, s), t = !1;
983
983
  },
984
984
  d(s) {
985
985
  l && l.d(s);
986
986
  }
987
987
  };
988
988
  }
989
- function Le(e) {
989
+ function Pe(e) {
990
990
  let t, n;
991
991
  const l = [
992
992
  { name: "circle-check" },
@@ -998,218 +998,218 @@ function Le(e) {
998
998
  ) }
999
999
  ];
1000
1000
  let s = {
1001
- $$slots: { default: [Ne] },
1001
+ $$slots: { default: [Me] },
1002
1002
  $$scope: { ctx: e }
1003
1003
  };
1004
- for (let o = 0; o < l.length; o += 1)
1005
- s = W(s, l[o]);
1006
- return t = new Ee({ props: s }), {
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
- Qt(t.$$.fragment);
1008
+ pt(t.$$.fragment);
1009
1009
  },
1010
- m(o, i) {
1011
- wt(t, o, i), n = !0;
1010
+ m(i, r) {
1011
+ ut(t, i, r), n = !0;
1012
1012
  },
1013
- p(o, [i]) {
1014
- const r = i & /*$$props, iconNode*/
1015
- 3 ? yt(l, [
1013
+ p(i, [r]) {
1014
+ const a = r & /*$$props, iconNode*/
1015
+ 3 ? Pt(l, [
1016
1016
  l[0],
1017
- i & /*$$props*/
1018
- 2 && _e(
1017
+ r & /*$$props*/
1018
+ 2 && ke(
1019
1019
  /*$$props*/
1020
- o[1]
1020
+ i[1]
1021
1021
  ),
1022
- i & /*iconNode*/
1022
+ r & /*iconNode*/
1023
1023
  1 && { iconNode: (
1024
1024
  /*iconNode*/
1025
- o[0]
1025
+ i[0]
1026
1026
  ) }
1027
1027
  ]) : {};
1028
- i & /*$$scope*/
1029
- 8 && (r.$$scope = { dirty: i, ctx: o }), t.$set(r);
1028
+ r & /*$$scope*/
1029
+ 8 && (a.$$scope = { dirty: r, ctx: i }), t.$set(a);
1030
1030
  },
1031
- i(o) {
1032
- n || (B(t.$$.fragment, o), n = !0);
1031
+ i(i) {
1032
+ n || (O(t.$$.fragment, i), n = !0);
1033
1033
  },
1034
- o(o) {
1035
- et(t.$$.fragment, o), n = !1;
1034
+ o(i) {
1035
+ Z(t.$$.fragment, i), n = !1;
1036
1036
  },
1037
- d(o) {
1038
- xt(t, o);
1037
+ d(i) {
1038
+ ft(t, i);
1039
1039
  }
1040
1040
  };
1041
1041
  }
1042
- function Se(e, t, n) {
1042
+ function Be(e, t, n) {
1043
1043
  let { $$slots: l = {}, $$scope: s } = t;
1044
- const o = [
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
- return e.$$set = (i) => {
1049
- n(1, t = W(W({}, t), ft(i))), "$$scope" in i && n(3, s = i.$$scope);
1050
- }, t = ft(t), [o, t, l, s];
1048
+ return e.$$set = (r) => {
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
- class Ae extends rt {
1052
+ class Fe extends Y {
1053
1053
  constructor(t) {
1054
- super(), it(this, t, Se, Le, nt, {});
1054
+ super(), J(this, t, Be, Pe, U, {});
1055
1055
  }
1056
1056
  }
1057
- function Ot(e, t, n) {
1057
+ function Rt(e, t, n) {
1058
1058
  const l = e.slice();
1059
1059
  return l[6] = t[n], l;
1060
1060
  }
1061
- function Tt(e, t, n) {
1061
+ function Dt(e, t, n) {
1062
1062
  const l = e.slice();
1063
1063
  return l[9] = t[n], l;
1064
1064
  }
1065
- function Mt(e) {
1066
- let t, n, l, s, o, i;
1067
- return n = new Ae({
1065
+ function Gt(e) {
1066
+ let t, n, l, s, i, r;
1067
+ return n = new Fe({
1068
1068
  props: { class: "text-green-500 mr-2", size: 20 }
1069
1069
  }), {
1070
1070
  c() {
1071
- t = g("li"), Qt(n.$$.fragment), l = b(), s = g("span"), s.textContent = `${/*feature*/
1072
- e[9]}`, o = b(), a(t, "class", "flex items-center");
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
- m(r, f) {
1075
- N(r, t, f), wt(n, t, null), u(t, l), u(t, s), u(t, o), i = !0;
1074
+ m(a, h) {
1075
+ z(a, t, h), ut(n, t, null), c(t, l), c(t, s), c(t, i), r = !0;
1076
1076
  },
1077
- p: j,
1078
- i(r) {
1079
- i || (B(n.$$.fragment, r), i = !0);
1077
+ p: q,
1078
+ i(a) {
1079
+ r || (O(n.$$.fragment, a), r = !0);
1080
1080
  },
1081
- o(r) {
1082
- et(n.$$.fragment, r), i = !1;
1081
+ o(a) {
1082
+ Z(n.$$.fragment, a), r = !1;
1083
1083
  },
1084
- d(r) {
1085
- r && C(t), xt(n);
1084
+ d(a) {
1085
+ a && j(t), ft(n);
1086
1086
  }
1087
1087
  };
1088
1088
  }
1089
- function Bt(e) {
1089
+ function Kt(e) {
1090
1090
  let t, n;
1091
1091
  return {
1092
1092
  c() {
1093
- t = g("img"), It(t.src, n = "/api/placeholder/40/25") || a(t, "src", n), a(
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
- ), a(t, "class", "h-6");
1098
+ ), o(t, "class", "h-6");
1099
1099
  },
1100
1100
  m(l, s) {
1101
- N(l, t, s);
1101
+ z(l, t, s);
1102
1102
  },
1103
- p: j,
1103
+ p: q,
1104
1104
  d(l) {
1105
- l && C(t);
1105
+ l && j(t);
1106
1106
  }
1107
1107
  };
1108
1108
  }
1109
- function Pe(e) {
1110
- let t, n, l, s, o, i, r, f, h, $, _, c, v, d, L, z, H, q, y, O, U, A, I, F, D, T, M, lt, P, V, ht, gt, jt, R = Z(
1109
+ function He(e) {
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
- ), k = [];
1114
- for (let p = 0; p < R.length; p += 1)
1115
- k[p] = Mt(Tt(e, R, p));
1116
- const ne = (p) => et(k[p], 1, 1, () => {
1117
- k[p] = null;
1113
+ ), v = [];
1114
+ for (let f = 0; f < W.length; f += 1)
1115
+ v[f] = Gt(Dt(e, W, f));
1116
+ const dt = (f) => Z(v[f], 1, 1, () => {
1117
+ v[f] = null;
1118
1118
  });
1119
- let J = Z(
1119
+ let G = ct(
1120
1120
  /*paymentMethods*/
1121
1121
  e[2]
1122
- ), x = [];
1123
- for (let p = 0; p < J.length; p += 1)
1124
- x[p] = Bt(Ot(e, J, p));
1125
- return ht = ce(
1122
+ ), y = [];
1123
+ for (let f = 0; f < G.length; f += 1)
1124
+ y[f] = Kt(Rt(e, G, f));
1125
+ return et = de(
1126
1126
  /*$$binding_groups*/
1127
1127
  e[4][0]
1128
1128
  ), {
1129
1129
  c() {
1130
- t = g("div"), n = g("div"), n.textContent = "Redan prenumerant? Logga in", l = b(), s = g("h1"), s.textContent = "FOKUS", o = b(), i = g("h2"), i.textContent = "Läs Fokus Digital i 6 månader för bara 79 kr!", r = b(), f = g("ul");
1131
- for (let p = 0; p < k.length; p += 1)
1132
- k[p].c();
1133
- h = b(), $ = g("div"), _ = g("label"), c = g("input"), v = b(), d = g("div"), d.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>', L = b(), z = g("div"), z.textContent = "79 SEK/6 mån", H = b(), q = g("label"), y = g("input"), O = b(), U = g("div"), U.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>', A = b(), I = g("div"), I.textContent = "995 SEK/år", F = b(), D = g("button"), D.textContent = "Fortsätt", T = b(), M = g("div"), M.textContent = "Säker SSL-krypterad betalning", lt = b(), P = g("div");
1134
- for (let p = 0; p < x.length; p += 1)
1135
- x[p].c();
1136
- a(n, "class", "text-right text-sm text-red-500 mb-4"), a(s, "class", "text-4xl font-bold text-red-500 mb-4"), a(i, "class", "text-xl font-semibold mb-6"), a(f, "class", "space-y-2 mb-6"), a(c, "type", "radio"), a(c, "name", "subscription"), c.__value = "sixMonths", Et(c, c.__value), a(c, "class", "mr-3"), a(z, "class", "ml-auto font-semibold"), a(_, "class", "flex items-center p-4 border rounded-lg"), a(y, "type", "radio"), a(y, "name", "subscription"), y.__value = "oneYear", Et(y, y.__value), a(y, "class", "mr-3"), a(I, "class", "ml-auto font-semibold"), a(q, "class", "flex items-center p-4 border rounded-lg"), a($, "class", "space-y-4 mb-6"), a(D, "class", "w-full bg-red-500 text-white py-3 rounded-lg font-semibold"), a(M, "class", "text-center text-sm text-gray-600 mt-4"), a(P, "class", "flex justify-center space-x-2 mt-2"), a(t, "class", "max-w-md mx-auto bg-white p-6 rounded-lg shadow-lg"), ht.p(c, y);
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
+ for (let f = 0; f < v.length; f += 1)
1132
+ v[f].c();
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(p, w) {
1139
- N(p, t, w), u(t, n), u(t, l), u(t, s), u(t, o), u(t, i), u(t, r), u(t, f);
1140
- for (let m = 0; m < k.length; m += 1)
1141
- k[m] && k[m].m(f, null);
1142
- u(t, h), u(t, $), u($, _), u(_, c), c.checked = c.__value === /*selectedPlan*/
1143
- e[0], u(_, v), u(_, d), u(_, L), u(_, z), u($, H), u($, q), u(q, y), y.checked = y.__value === /*selectedPlan*/
1144
- e[0], u(q, O), u(q, U), u(q, A), u(q, I), u(t, F), u(t, D), u(t, T), u(t, M), u(t, lt), u(t, P);
1145
- for (let m = 0; m < x.length; m += 1)
1146
- x[m] && x[m].m(P, null);
1147
- V = !0, gt || (jt = [
1148
- S(
1149
- c,
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
+ for (let m = 0; m < v.length; m += 1)
1141
+ v[m] && v[m].m(h, null);
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
+ P(
1149
+ u,
1150
1150
  "change",
1151
1151
  /*input0_change_handler*/
1152
1152
  e[3]
1153
1153
  ),
1154
- S(
1155
- y,
1154
+ P(
1155
+ w,
1156
1156
  "change",
1157
1157
  /*input1_change_handler*/
1158
1158
  e[5]
1159
1159
  )
1160
- ], gt = !0);
1160
+ ], lt = !0);
1161
1161
  },
1162
- p(p, [w]) {
1163
- if (w & /*features*/
1162
+ p(f, [x]) {
1163
+ if (x & /*features*/
1164
1164
  2) {
1165
- R = Z(
1165
+ W = ct(
1166
1166
  /*features*/
1167
- p[1]
1167
+ f[1]
1168
1168
  );
1169
1169
  let m;
1170
- for (m = 0; m < R.length; m += 1) {
1171
- const st = Tt(p, R, m);
1172
- k[m] ? (k[m].p(st, w), B(k[m], 1)) : (k[m] = Mt(st), k[m].c(), B(k[m], 1), k[m].m(f, null));
1170
+ for (m = 0; m < W.length; m += 1) {
1171
+ const ht = Dt(f, W, m);
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
- for (me(), m = R.length; m < k.length; m += 1)
1175
- ne(m);
1176
- pe();
1174
+ for (ve(), m = W.length; m < v.length; m += 1)
1175
+ dt(m);
1176
+ $e();
1177
1177
  }
1178
- if (w & /*selectedPlan*/
1179
- 1 && (c.checked = c.__value === /*selectedPlan*/
1180
- p[0]), w & /*selectedPlan*/
1181
- 1 && (y.checked = y.__value === /*selectedPlan*/
1182
- p[0]), w & /*paymentMethods*/
1178
+ if (x & /*selectedPlan*/
1179
+ 1 && (u.checked = u.__value === /*selectedPlan*/
1180
+ f[0]), x & /*selectedPlan*/
1181
+ 1 && (w.checked = w.__value === /*selectedPlan*/
1182
+ f[0]), x & /*paymentMethods*/
1183
1183
  4) {
1184
- J = Z(
1184
+ G = ct(
1185
1185
  /*paymentMethods*/
1186
- p[2]
1186
+ f[2]
1187
1187
  );
1188
1188
  let m;
1189
- for (m = 0; m < J.length; m += 1) {
1190
- const st = Ot(p, J, m);
1191
- x[m] ? x[m].p(st, w) : (x[m] = Bt(st), x[m].c(), x[m].m(P, null));
1189
+ for (m = 0; m < G.length; m += 1) {
1190
+ const ht = Rt(f, G, m);
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 < x.length; m += 1)
1194
- x[m].d(1);
1195
- x.length = J.length;
1193
+ for (; m < y.length; m += 1)
1194
+ y[m].d(1);
1195
+ y.length = G.length;
1196
1196
  }
1197
1197
  },
1198
- i(p) {
1199
- if (!V) {
1200
- for (let w = 0; w < R.length; w += 1)
1201
- B(k[w]);
1202
- V = !0;
1198
+ i(f) {
1199
+ if (!N) {
1200
+ for (let x = 0; x < W.length; x += 1)
1201
+ O(v[x]);
1202
+ N = !0;
1203
1203
  }
1204
1204
  },
1205
- o(p) {
1206
- k = k.filter(Boolean);
1207
- for (let w = 0; w < k.length; w += 1)
1208
- et(k[w]);
1209
- V = !1;
1205
+ o(f) {
1206
+ v = v.filter(Boolean);
1207
+ for (let x = 0; x < v.length; x += 1)
1208
+ Z(v[x]);
1209
+ N = !1;
1210
1210
  },
1211
- d(p) {
1212
- p && C(t), _t(k, p), _t(x, p), ht.r(), gt = !1, G(jt);
1211
+ d(f) {
1212
+ f && j(t), Et(v, f), Et(y, f), et.r(), lt = !1, tt(st);
1213
1213
  }
1214
1214
  };
1215
1215
  }
@@ -1220,7 +1220,7 @@ function Oe(e, t, n) {
1220
1220
  "Tillgång till e-tidning",
1221
1221
  "Tillgång till våra podcasts",
1222
1222
  "Nyhetsbrev"
1223
- ], o = [
1223
+ ], i = [
1224
1224
  "Visa",
1225
1225
  "American Express",
1226
1226
  "Mastercard",
@@ -1228,71 +1228,361 @@ function Oe(e, t, n) {
1228
1228
  "Google Pay",
1229
1229
  "Apple Pay",
1230
1230
  "Swish"
1231
- ], i = [[]];
1232
- function r() {
1231
+ ], r = [[]];
1232
+ function a() {
1233
1233
  l = this.__value, n(0, l);
1234
1234
  }
1235
- function f() {
1235
+ function h() {
1236
1236
  l = this.__value, n(0, l);
1237
1237
  }
1238
1238
  return [
1239
1239
  l,
1240
1240
  s,
1241
- o,
1242
- r,
1243
1241
  i,
1244
- f
1242
+ a,
1243
+ r,
1244
+ h
1245
1245
  ];
1246
1246
  }
1247
- class te extends rt {
1247
+ class se extends Y {
1248
1248
  constructor(t) {
1249
- super(), it(this, t, Oe, Pe, nt, {});
1249
+ super(), J(this, t, Oe, He, U, {});
1250
1250
  }
1251
1251
  }
1252
- customElements.define("sesamy-paywall", qt(te, {}, [], [], !0));
1253
- const He = te;
1252
+ customElements.define("sesamy-paywall", qt(se, {}, [], [], !0));
1253
+ const rn = se;
1254
1254
  function Te(e) {
1255
- Ut(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}');
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
- function Me(e) {
1258
- let t, n, l, s, o, i, r, f, h, $, _, c, v, d, L, z, H, q, y, O, U, A, I, F, D, T, M, lt;
1257
+ function We(e) {
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 = g("div"), n = g("h1"), n.textContent = "Create a free account, or log in.", l = b(), s = g("p"), s.textContent = `Gain access to limited free articles, news alerts, select newsletters,
1262
- podcasts and some daily games.`, o = b(), i = g("label"), i.textContent = "Email Address", r = b(), f = g("input"), h = b(), $ = g("button"), $.textContent = "Continue", _ = b(), c = g("div"), c.textContent = "or", v = b(), d = g("p"), d.innerHTML = `By continuing, you agree to the <a href="#terms" class="svelte-phjzbp">Terms of Sale</a>,
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>.`, L = b(), z = g("button"), z.textContent = "Continue with Google", H = b(), q = g("button"), q.textContent = "Continue with Facebook", y = b(), O = g("button"), O.textContent = "Continue with Apple", U = b(), A = g("a"), A.textContent = "Continue with work or school single sign-on >", I = b(), F = g("p"), F.textContent = "Enjoy unlimited access to all of The Times.", D = b(), T = g("button"), T.textContent = "See subscription options", a(n, "class", "svelte-phjzbp"), a(s, "class", "svelte-phjzbp"), a(i, "for", "email"), a(f, "type", "email"), a(f, "id", "email"), a(f, "placeholder", "Enter your email"), a(f, "class", "svelte-phjzbp"), a($, "class", "svelte-phjzbp"), a(c, "class", "divider svelte-phjzbp"), a(d, "class", "terms svelte-phjzbp"), a(z, "class", "social-button google svelte-phjzbp"), a(q, "class", "social-button facebook svelte-phjzbp"), a(O, "class", "social-button apple svelte-phjzbp"), a(A, "href", "#"), a(A, "class", "svelte-phjzbp"), a(F, "class", "svelte-phjzbp"), a(T, "class", "svelte-phjzbp"), a(t, "class", "registration-wall svelte-phjzbp");
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
+ },
1266
+ m(M, N) {
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
+ ], H = !0);
1275
+ },
1276
+ p: q,
1277
+ i: q,
1278
+ o: q,
1279
+ d(M) {
1280
+ M && j(t), H = !1, tt(Q);
1281
+ }
1282
+ };
1283
+ }
1284
+ function ot() {
1285
+ console.log("Button clicked");
1286
+ }
1287
+ class ie extends Y {
1288
+ constructor(t) {
1289
+ super(), J(this, t, null, We, U, {}, Te);
1290
+ }
1291
+ }
1292
+ customElements.define("sesamy-hello", qt(ie, {}, [], [], !0));
1293
+ const cn = ie;
1294
+ function Ve(e) {
1295
+ let t, n;
1296
+ return {
1297
+ c() {
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
+ t,
1300
+ "width",
1301
+ /*width*/
1302
+ e[0]
1303
+ ), o(
1304
+ t,
1305
+ "height",
1306
+ /*height*/
1307
+ e[1]
1308
+ ), o(t, "viewBox", "0 0 22.773 28.025");
1309
+ },
1310
+ m(l, s) {
1311
+ z(l, t, s), c(t, n);
1312
+ },
1313
+ p(l, [s]) {
1314
+ s & /*width*/
1315
+ 1 && o(
1316
+ t,
1317
+ "width",
1318
+ /*width*/
1319
+ l[0]
1320
+ ), s & /*height*/
1321
+ 2 && o(
1322
+ t,
1323
+ "height",
1324
+ /*height*/
1325
+ l[1]
1326
+ );
1327
+ },
1328
+ i: q,
1329
+ o: q,
1330
+ d(l) {
1331
+ l && j(t);
1332
+ }
1333
+ };
1334
+ }
1335
+ function Ie(e, t, n) {
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
+ }
1341
+ class Re extends Y {
1342
+ constructor(t) {
1343
+ super(), J(this, t, Ie, Ve, U, { width: 0, height: 1 });
1344
+ }
1345
+ }
1346
+ function De(e) {
1347
+ let t, n;
1348
+ return {
1349
+ c() {
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
+ t,
1352
+ "width",
1353
+ /*width*/
1354
+ e[0]
1355
+ ), o(
1356
+ t,
1357
+ "height",
1358
+ /*height*/
1359
+ e[1]
1360
+ ), o(t, "viewBox", "0 0 18 18");
1265
1361
  },
1266
- m(P, V) {
1267
- N(P, t, V), u(t, n), u(t, l), u(t, s), u(t, o), u(t, i), u(t, r), u(t, f), u(t, h), u(t, $), u(t, _), u(t, c), u(t, v), u(t, d), u(t, L), u(t, z), u(t, H), u(t, q), u(t, y), u(t, O), u(t, U), u(t, A), u(t, I), u(t, F), u(t, D), u(t, T), M || (lt = [
1268
- S($, "click", Q),
1269
- S(z, "click", Q),
1270
- S(q, "click", Q),
1271
- S(O, "click", Q),
1272
- S(A, "click", Q),
1273
- S(T, "click", Q)
1274
- ], M = !0);
1362
+ m(l, s) {
1363
+ z(l, t, s), c(t, n);
1275
1364
  },
1276
- p: j,
1277
- i: j,
1278
- o: j,
1279
- d(P) {
1280
- P && C(t), M = !1, G(lt);
1365
+ p(l, [s]) {
1366
+ s & /*width*/
1367
+ 1 && o(
1368
+ t,
1369
+ "width",
1370
+ /*width*/
1371
+ l[0]
1372
+ ), s & /*height*/
1373
+ 2 && o(
1374
+ t,
1375
+ "height",
1376
+ /*height*/
1377
+ l[1]
1378
+ );
1379
+ },
1380
+ i: q,
1381
+ o: q,
1382
+ d(l) {
1383
+ l && j(t);
1281
1384
  }
1282
1385
  };
1283
1386
  }
1284
- function Q() {
1387
+ function Ge(e, t, n) {
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
+ }
1393
+ class Ke extends Y {
1394
+ constructor(t) {
1395
+ super(), J(this, t, Ge, De, U, { width: 0, height: 1 });
1396
+ }
1397
+ }
1398
+ function Ze(e) {
1399
+ let t, n, l, s, i;
1400
+ return {
1401
+ c() {
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
+ t,
1404
+ "width",
1405
+ /*width*/
1406
+ e[0]
1407
+ ), o(
1408
+ t,
1409
+ "height",
1410
+ /*height*/
1411
+ e[1]
1412
+ ), o(t, "viewBox", "0 0 45 45"), o(t, "xmlns", "http://www.w3.org/2000/svg");
1413
+ },
1414
+ m(r, a) {
1415
+ z(r, t, a), c(t, n), c(t, l), c(t, s), c(t, i);
1416
+ },
1417
+ p(r, [a]) {
1418
+ a & /*width*/
1419
+ 1 && o(
1420
+ t,
1421
+ "width",
1422
+ /*width*/
1423
+ r[0]
1424
+ ), a & /*height*/
1425
+ 2 && o(
1426
+ t,
1427
+ "height",
1428
+ /*height*/
1429
+ r[1]
1430
+ );
1431
+ },
1432
+ i: q,
1433
+ o: q,
1434
+ d(r) {
1435
+ r && j(t);
1436
+ }
1437
+ };
1438
+ }
1439
+ function Ue(e, t, n) {
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
+ }
1445
+ class Je extends Y {
1446
+ constructor(t) {
1447
+ super(), J(this, t, Ue, Ze, U, { width: 0, height: 1 });
1448
+ }
1449
+ }
1450
+ function Ye(e) {
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
+ }
1453
+ const Qe = (e) => ({}), Zt = (e) => ({}), Xe = (e) => ({}), Ut = (e) => ({});
1454
+ function tn(e) {
1455
+ let t;
1456
+ return {
1457
+ c() {
1458
+ t = d("h1"), t.textContent = "Skapa ett gratis konto eller logga in", o(t, "class", "svelte-1y5fikd");
1459
+ },
1460
+ m(n, l) {
1461
+ z(n, t, l);
1462
+ },
1463
+ p: q,
1464
+ d(n) {
1465
+ n && j(t);
1466
+ }
1467
+ };
1468
+ }
1469
+ function en(e) {
1470
+ let t;
1471
+ return {
1472
+ c() {
1473
+ t = d("p"), t.textContent = "Få tillgång till gratis artiklar och nyhetsbrev.", o(t, "class", "svelte-1y5fikd");
1474
+ },
1475
+ m(n, l) {
1476
+ z(n, t, l);
1477
+ },
1478
+ p: q,
1479
+ d(n) {
1480
+ n && j(t);
1481
+ }
1482
+ };
1483
+ }
1484
+ function nn(e) {
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
+ /*#slots*/
1488
+ e[1].title
1489
+ ), W = $t(
1490
+ st,
1491
+ e,
1492
+ /*$$scope*/
1493
+ e[0],
1494
+ Ut
1495
+ ), v = W || tn(), dt = (
1496
+ /*#slots*/
1497
+ e[1].description
1498
+ ), G = $t(
1499
+ dt,
1500
+ e,
1501
+ /*$$scope*/
1502
+ e[0],
1503
+ Zt
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
+ c() {
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
+ },
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
+ P(a, "click", bt),
1512
+ P(_, "click", bt),
1513
+ P(B, "click", bt),
1514
+ P(F, "click", bt)
1515
+ ], et = !0);
1516
+ },
1517
+ p(f, [x]) {
1518
+ W && W.p && (!N || x & /*$$scope*/
1519
+ 1) && wt(
1520
+ W,
1521
+ st,
1522
+ f,
1523
+ /*$$scope*/
1524
+ f[0],
1525
+ N ? kt(
1526
+ st,
1527
+ /*$$scope*/
1528
+ f[0],
1529
+ x,
1530
+ Xe
1531
+ ) : yt(
1532
+ /*$$scope*/
1533
+ f[0]
1534
+ ),
1535
+ Ut
1536
+ ), G && G.p && (!N || x & /*$$scope*/
1537
+ 1) && wt(
1538
+ G,
1539
+ dt,
1540
+ f,
1541
+ /*$$scope*/
1542
+ f[0],
1543
+ N ? kt(
1544
+ dt,
1545
+ /*$$scope*/
1546
+ f[0],
1547
+ x,
1548
+ Qe
1549
+ ) : yt(
1550
+ /*$$scope*/
1551
+ f[0]
1552
+ ),
1553
+ Zt
1554
+ );
1555
+ },
1556
+ i(f) {
1557
+ N || (O(v, f), O(y, f), O($.$$.fragment, f), O(w.$$.fragment, f), O(A.$$.fragment, f), N = !0);
1558
+ },
1559
+ o(f) {
1560
+ Z(v, f), Z(y, f), Z($.$$.fragment, f), Z(w.$$.fragment, f), Z(A.$$.fragment, f), N = !1;
1561
+ },
1562
+ d(f) {
1563
+ f && j(t), v && v.d(f), y && y.d(f), ft($), ft(w), ft(A), et = !1, tt(lt);
1564
+ }
1565
+ };
1566
+ }
1567
+ function bt() {
1285
1568
  console.log("Button clicked");
1286
1569
  }
1287
- class ee extends rt {
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
+ }
1576
+ class oe extends Y {
1288
1577
  constructor(t) {
1289
- super(), it(this, t, null, Me, nt, {}, Te);
1578
+ super(), J(this, t, ln, nn, U, {}, Ye);
1290
1579
  }
1291
1580
  }
1292
- customElements.define("sesamy-hello", qt(ee, {}, [], [], !0));
1293
- const Ie = ee;
1581
+ customElements.define("sesamy-registration-wall", qt(oe, {}, ["title", "description"], [], !0));
1582
+ const an = oe;
1294
1583
  export {
1295
- Ie as Hello,
1296
- We as Login,
1297
- He as Paywall
1584
+ cn as Hello,
1585
+ on as Login,
1586
+ rn as Paywall,
1587
+ an as RegistrationWall
1298
1588
  };