@searchcraft/vue-sdk 0.7.1 → 0.7.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.es.js CHANGED
@@ -1,54 +1,54 @@
1
- import { defineComponent as L, ref as Fe, getCurrentInstance as je, inject as Ne, h as De, createVNode as x, mergeProps as Be } from "vue";
2
- const W = "routerLink", ie = "navManager", Ue = "router", ze = "aria", j = Symbol(), ce = { default: j }, ue = (e) => (e == null ? void 0 : e.split(" ")) || [], He = (e, t, n = []) => {
1
+ import { defineComponent as Oe, ref as Ie, getCurrentInstance as Fe, inject as De, h as je } from "vue";
2
+ const M = "routerLink", oe = "navManager", Ne = "router", Ue = "aria", I = Symbol(), le = { default: I }, ie = (e) => (e == null ? void 0 : e.split(" ")) || [], ze = (e, t, n = []) => {
3
3
  var s;
4
4
  return [...Array.from(((s = e.value) == null ? void 0 : s.classList) || []), ...n].filter((r, i, l) => !t.has(r) && l.indexOf(r) === i);
5
- }, A = (e, t, n = [], s = [], r, i) => {
6
- const l = L((a, { attrs: o, slots: u, emit: $ }) => {
5
+ }, _ = (e, t, n = [], s = [], r, i) => {
6
+ const l = Oe((a, { attrs: o, slots: f, emit: u }) => {
7
7
  var y;
8
- const c = Fe(), f = new Set(ue(o.class)), d = je(), g = ((y = d == null ? void 0 : d.appContext) == null ? void 0 : y.provides[ie]) ? Ne(ie) : void 0, S = (h) => {
9
- const { routerLink: F } = a;
10
- if (F !== j)
8
+ const c = Ie(), $ = new Set(ie(o.class)), d = Fe(), g = ((y = d == null ? void 0 : d.appContext) == null ? void 0 : y.provides[oe]) ? De(oe) : void 0, m = (p) => {
9
+ const { routerLink: O } = a;
10
+ if (O !== I)
11
11
  if (g !== void 0) {
12
- h.preventDefault();
13
- let m = { event: h };
14
- for (const T in a) {
15
- const b = a[T];
16
- a.hasOwnProperty(T) && T.startsWith(Ue) && b !== j && (m[T] = b);
12
+ p.preventDefault();
13
+ let S = { event: p };
14
+ for (const k in a) {
15
+ const b = a[k];
16
+ a.hasOwnProperty(k) && k.startsWith(Ne) && b !== I && (S[k] = b);
17
17
  }
18
- g.navigate(m);
18
+ g.navigate(S);
19
19
  } else
20
20
  console.warn("Tried to navigate, but no router was found. Make sure you have mounted Vue Router.");
21
21
  };
22
22
  return () => {
23
- a[r], ue(o.class).forEach((b) => {
24
- f.add(b);
23
+ a[r], ie(o.class).forEach((b) => {
24
+ $.add(b);
25
25
  });
26
- const h = a.onClick, F = (b) => {
27
- h !== void 0 && h(b), b.defaultPrevented || S(b);
26
+ const p = a.onClick, O = (b) => {
27
+ p !== void 0 && p(b), b.defaultPrevented || m(b);
28
28
  };
29
- let m = {
29
+ let S = {
30
30
  ref: c,
31
- class: He(c, f),
32
- onClick: F
31
+ class: ze(c, $),
32
+ onClick: O
33
33
  };
34
34
  for (const b in a) {
35
- const oe = a[b];
36
- (a.hasOwnProperty(b) && oe !== j || b.startsWith(ze)) && (m[b] = oe);
37
- const le = "on" + b.slice(0, 1).toUpperCase() + b.slice(1), Ie = o[le];
38
- c.value && o.hasOwnProperty(le) && "addEventListener" in c.value && c.value.addEventListener(b, Ie);
35
+ const re = a[b];
36
+ (a.hasOwnProperty(b) && re !== I || b.startsWith(Ue)) && (S[b] = re);
37
+ const ae = "on" + b.slice(0, 1).toUpperCase() + b.slice(1), we = o[ae];
38
+ c.value && o.hasOwnProperty(ae) && "addEventListener" in c.value && c.value.addEventListener(b, we);
39
39
  }
40
- return W in a && a[W] !== j && (m = {
41
- ...m,
42
- href: a[W]
43
- }), De(e, m, u.default && u.default());
40
+ return M in a && a[M] !== I && (S = {
41
+ ...S,
42
+ href: a[M]
43
+ }), je(e, S, f.default && f.default());
44
44
  };
45
45
  });
46
46
  if (typeof l != "function") {
47
47
  let a = [], o = {};
48
- o.ROUTER_LINK_VALUE = ce, n.forEach((u) => o[u] = ce), a = s, l.name = e, l.emits = a, l.props = o;
48
+ o.ROUTER_LINK_VALUE = le, n.forEach((f) => o[f] = le), a = s, l.name = e, l.emits = a, l.props = o;
49
49
  }
50
50
  return l;
51
- }, Me = /* @__PURE__ */ A("searchcraft-base-search-results", void 0, [
51
+ }, He = /* @__PURE__ */ _("searchcraft-base-search-results", void 0, [
52
52
  "adInterval",
53
53
  "customStylesForResults",
54
54
  "searchResultMappings",
@@ -63,9 +63,9 @@ const W = "routerLink", ie = "navManager", Ue = "router", ze = "aria", j = Symbo
63
63
  "noResults"
64
64
  ], [
65
65
  "noResults"
66
- ]), qe = /* @__PURE__ */ A("searchcraft-filter-panel", void 0, [
66
+ ]), Be = /* @__PURE__ */ _("searchcraft-filter-panel", void 0, [
67
67
  "items"
68
- ]), We = /* @__PURE__ */ A("searchcraft-input-form", void 0, [
68
+ ]), Me = /* @__PURE__ */ _("searchcraft-input-form", void 0, [
69
69
  "config",
70
70
  "autoSearch",
71
71
  "buttonPlacement",
@@ -87,162 +87,32 @@ const W = "routerLink", ie = "navManager", Ue = "router", ze = "aria", j = Symbo
87
87
  "inputBlur",
88
88
  "inputInit",
89
89
  "querySubmit"
90
- ]), Qe = /* @__PURE__ */ A("searchcraft-popover-button"), Ge = /* @__PURE__ */ A("searchcraft-popover-form", void 0, [
90
+ ]), qe = /* @__PURE__ */ _("searchcraft-popover-button"), We = /* @__PURE__ */ _("searchcraft-popover-form", void 0, [
91
91
  "config",
92
92
  "type",
93
93
  "popoverResultMappings",
94
94
  "hotkey",
95
95
  "hotkeyModifier"
96
- ]), Xe = /* @__PURE__ */ A("searchcraft-results-info"), Ke = /* @__PURE__ */ A("searchcraft-theme"), Bt = /* @__PURE__ */ L({
97
- name: "SearchcraftBaseSearchResults",
98
- props: {
99
- adInterval: Number,
100
- customStylesForResults: Object,
101
- searchResultMappings: Object,
102
- placeAdAtEnd: Boolean,
103
- placeAdAtStart: Boolean,
104
- resultImagePlacement: String,
105
- buttonLabel: String,
106
- buttonTarget: String,
107
- buttonRel: String,
108
- containerTarget: String,
109
- containerRel: String,
110
- noResults: String
111
- },
112
- setup(e) {
113
- return () => x(Me, e, null);
114
- }
115
- }), Ut = /* @__PURE__ */ L({
116
- name: "SearchcraftFilterPanel",
117
- props: {
118
- items: {
119
- type: Array,
120
- required: !0
121
- }
122
- },
123
- setup(e) {
124
- return () => x(qe, e, null);
125
- }
126
- }), zt = /* @__PURE__ */ L({
127
- name: "SearchcraftInputForm",
128
- props: {
129
- config: {
130
- type: Object,
131
- required: !1
132
- },
133
- autoSearch: {
134
- type: Boolean,
135
- default: !1
136
- },
137
- buttonPlacement: {
138
- type: String,
139
- default: "right"
140
- },
141
- buttonLabel: {
142
- type: String,
143
- default: "Search"
144
- },
145
- inputLabel: {
146
- type: String,
147
- default: ""
148
- },
149
- customStyles: {
150
- type: Object,
151
- default: () => ({})
152
- },
153
- placeholderValue: {
154
- type: String,
155
- default: "Enter a search term..."
156
- },
157
- searchTerm: {
158
- type: String,
159
- default: ""
160
- },
161
- debounceDelay: {
162
- type: Number,
163
- default: 300
164
- }
165
- },
166
- emits: ["inputCleared", "noResultsReceived", "querySubmit", "inputFocus", "inputBlur"],
167
- setup(e, {
168
- emit: t
169
- }) {
170
- const n = (s) => (r) => {
171
- t(s, r);
172
- };
173
- return () => x(We, Be(e, {
174
- onInputCleared: n("inputCleared"),
175
- onNoResultsReceived: n("noResultsReceived"),
176
- onQuerySubmit: n("querySubmit"),
177
- onInputFocus: n("inputFocus"),
178
- onInputBlur: n("inputBlur")
179
- }), null);
180
- }
181
- }), Ht = /* @__PURE__ */ L({
182
- name: "SearchcraftPopoverButton",
183
- props: {},
184
- setup(e) {
185
- return () => x(Qe, e, null);
186
- }
187
- }), Mt = /* @__PURE__ */ L({
188
- name: "SearchcraftPopoverForm",
189
- props: {
190
- type: {
191
- type: String,
192
- required: !1
193
- },
194
- hotkey: {
195
- type: String,
196
- required: !1
197
- },
198
- hotkeyModifier: {
199
- type: String,
200
- required: !1
201
- },
202
- config: {
203
- type: Object,
204
- required: !1
205
- },
206
- popoverResultMappings: {
207
- type: Object,
208
- required: !1
209
- }
210
- },
211
- setup(e) {
212
- return () => x(Ge, e, null);
213
- }
214
- }), qt = /* @__PURE__ */ L({
215
- name: "SearchcraftResultsInfo",
216
- props: {},
217
- setup(e) {
218
- return () => x(Xe, e, null);
219
- }
220
- }), Wt = /* @__PURE__ */ L({
221
- name: "SearchcraftTheme",
222
- props: {},
223
- setup(e) {
224
- return () => x(Ke, e, null);
225
- }
226
- }), Ye = "searchcraft-javascript-sdk", w = (
96
+ ]), Ge = /* @__PURE__ */ _("searchcraft-results-info"), Qe = /* @__PURE__ */ _("searchcraft-theme"), jt = He, Nt = Be, Ut = Me, zt = qe, Ht = We, Bt = Ge, Mt = Qe, Xe = "searchcraft-javascript-sdk", A = (
227
97
  /* searchcraft-javascript-sdk */
228
98
  { allRenderFn: !0, appendChildSlotFix: !1, asyncLoading: !0, asyncQueue: !1, attachStyles: !0, cloneNodeFix: !1, cmpDidLoad: !0, cmpDidRender: !1, cmpDidUnload: !1, cmpDidUpdate: !1, cmpShouldUpdate: !1, cmpWillLoad: !1, cmpWillRender: !1, cmpWillUpdate: !1, connectedCallback: !0, constructableCSS: !0, cssAnnotations: !0, devTools: !1, disconnectedCallback: !0, element: !1, event: !0, experimentalScopedSlotChanges: !1, experimentalSlotFixes: !1, formAssociated: !1, hasRenderFn: !0, hostListener: !1, hostListenerTarget: !1, hostListenerTargetBody: !1, hostListenerTargetDocument: !1, hostListenerTargetParent: !1, hostListenerTargetWindow: !1, hotModuleReplacement: !1, hydrateClientSide: !1, hydrateServerSide: !1, hydratedAttribute: !1, hydratedClass: !0, hydratedSelectorName: "hydrated", initializeNextTick: !1, invisiblePrehydration: !0, isDebug: !1, isDev: !1, isTesting: !1, lazyLoad: !0, lifecycle: !0, lifecycleDOMEvents: !1, member: !0, method: !1, mode: !1, modernPropertyDecls: !0, observeAttribute: !0, profile: !1, prop: !0, propBoolean: !0, propMutable: !1, propNumber: !0, propString: !0, reflect: !1, scoped: !1, scopedSlotTextContentFix: !1, scriptDataOpts: !1, shadowDelegatesFocus: !1, shadowDom: !1, slot: !0, slotChildNodesFix: !1, slotRelocation: !0, state: !0, style: !1, svg: !0, taskQueue: !0, transformTagName: !1, updatable: !0, vdomAttribute: !0, vdomClass: !0, vdomFunctional: !0, vdomKey: !0, vdomListener: !0, vdomPropOrAttr: !0, vdomRef: !1, vdomRender: !0, vdomStyle: !0, vdomText: !0, vdomXlink: !1, watchCallback: !0 }
229
99
  );
230
- var Je = Object.defineProperty, Ze = (e, t) => {
100
+ var Ke = Object.defineProperty, Ye = (e, t) => {
231
101
  for (var n in t)
232
- Je(e, n, { get: t[n], enumerable: !0 });
233
- }, Ve = "http://www.w3.org/2000/svg", et = "http://www.w3.org/1999/xhtml", Se = /* @__PURE__ */ new WeakMap(), k = (e) => Se.get(e), tt = (e, t) => {
102
+ Ke(e, n, { get: t[n], enumerable: !0 });
103
+ }, Je = "http://www.w3.org/2000/svg", Ze = "http://www.w3.org/1999/xhtml", ye = /* @__PURE__ */ new WeakMap(), R = (e) => ye.get(e), Ve = (e, t) => {
234
104
  const n = {
235
105
  $flags$: 0,
236
106
  $hostElement$: e,
237
107
  $cmpMeta$: t,
238
108
  $instanceValues$: /* @__PURE__ */ new Map()
239
109
  };
240
- return n.$onReadyPromise$ = new Promise((r) => n.$onReadyResolve$ = r), e["s-p"] = [], e["s-rc"] = [], Se.set(e, n);
241
- }, fe = (e, t) => t in e, I = (e, t) => (0, console.error)(e, t), $e = /* @__PURE__ */ new Map(), nt = (e, t, n) => {
110
+ return n.$onReadyPromise$ = new Promise((r) => n.$onReadyResolve$ = r), e["s-p"] = [], e["s-rc"] = [], ye.set(e, n);
111
+ }, ce = (e, t) => t in e, w = (e, t) => (0, console.error)(e, t), fe = /* @__PURE__ */ new Map(), et = (e, t, n) => {
242
112
  const s = e.$tagName$.replace(/-/g, "_"), r = e.$lazyBundleId$;
243
113
  if (!r)
244
114
  return;
245
- const i = $e.get(r);
115
+ const i = fe.get(r);
246
116
  if (i)
247
117
  return i[s];
248
118
  /*!__STENCIL_STATIC_IMPORT_SWITCH__*/
@@ -253,12 +123,12 @@ var Je = Object.defineProperty, Ze = (e, t) => {
253
123
  /* webpackMode: "lazy" */
254
124
  `./${r}.entry.js`
255
125
  ).then(
256
- (l) => ($e.set(r, l), l[s]),
126
+ (l) => (fe.set(r, l), l[s]),
257
127
  (l) => {
258
- I(l, t.$hostElement$);
128
+ w(l, t.$hostElement$);
259
129
  }
260
130
  );
261
- }, st = "{visibility:hidden}.hydrated{visibility:inherit}", rt = "slot-fb{display:contents}slot-fb[hidden]{display:none}", q = typeof window < "u" ? window : {}, E = q.document || { head: {} }, v = {
131
+ }, tt = "{visibility:hidden}.hydrated{visibility:inherit}", nt = "slot-fb{display:contents}slot-fb[hidden]{display:none}", B = typeof window < "u" ? window : {}, E = B.document || { head: {} }, v = {
262
132
  $flags$: 0,
263
133
  $resourcesUrl$: "",
264
134
  jmp: (e) => e(),
@@ -266,91 +136,91 @@ var Je = Object.defineProperty, Ze = (e, t) => {
266
136
  ael: (e, t, n, s) => e.addEventListener(t, n, s),
267
137
  rel: (e, t, n, s) => e.removeEventListener(t, n, s),
268
138
  ce: (e, t) => new CustomEvent(e, t)
269
- }, at = w.shadowDom, ot = (e) => Promise.resolve(e), G = !1, de = [], me = [], lt = (e, t) => (n) => {
270
- e.push(n), G || (G = !0, v.$flags$ & 4 ? ee(X) : v.raf(X));
271
- }, pe = (e) => {
139
+ }, st = A.shadowDom, rt = (e) => Promise.resolve(e), W = !1, $e = [], be = [], at = (e, t) => (n) => {
140
+ e.push(n), W || (W = !0, v.$flags$ & 4 ? Z(G) : v.raf(G));
141
+ }, ue = (e) => {
272
142
  for (let t = 0; t < e.length; t++)
273
143
  try {
274
144
  e[t](performance.now());
275
145
  } catch (n) {
276
- I(n);
146
+ w(n);
277
147
  }
278
148
  e.length = 0;
279
- }, X = () => {
280
- pe(de), pe(me), (G = de.length > 0) && v.raf(X);
281
- }, ee = (e) => ot().then(e), it = /* @__PURE__ */ lt(me), te = (e) => (e = typeof e, e === "object" || e === "function");
282
- function ct(e) {
149
+ }, G = () => {
150
+ ue($e), ue(be), (W = $e.length > 0) && v.raf(G);
151
+ }, Z = (e) => rt().then(e), ot = /* @__PURE__ */ at(be), V = (e) => (e = typeof e, e === "object" || e === "function");
152
+ function lt(e) {
283
153
  var t, n, s;
284
154
  return (s = (n = (t = e.head) == null ? void 0 : t.querySelector('meta[name="csp-nonce"]')) == null ? void 0 : n.getAttribute("content")) != null ? s : void 0;
285
155
  }
286
- var ut = {};
287
- Ze(ut, {
288
- err: () => Re,
289
- map: () => ft,
290
- ok: () => K,
291
- unwrap: () => $t,
292
- unwrapErr: () => dt
156
+ var it = {};
157
+ Ye(it, {
158
+ err: () => me,
159
+ map: () => ct,
160
+ ok: () => Q,
161
+ unwrap: () => ft,
162
+ unwrapErr: () => $t
293
163
  });
294
- var K = (e) => ({
164
+ var Q = (e) => ({
295
165
  isOk: !0,
296
166
  isErr: !1,
297
167
  value: e
298
- }), Re = (e) => ({
168
+ }), me = (e) => ({
299
169
  isOk: !1,
300
170
  isErr: !0,
301
171
  value: e
302
172
  });
303
- function ft(e, t) {
173
+ function ct(e, t) {
304
174
  if (e.isOk) {
305
175
  const n = t(e.value);
306
- return n instanceof Promise ? n.then((s) => K(s)) : K(n);
176
+ return n instanceof Promise ? n.then((s) => Q(s)) : Q(n);
307
177
  }
308
178
  if (e.isErr) {
309
179
  const n = e.value;
310
- return Re(n);
180
+ return me(n);
311
181
  }
312
182
  throw "should never get here";
313
183
  }
314
- var $t = (e) => {
184
+ var ft = (e) => {
315
185
  if (e.isOk)
316
186
  return e.value;
317
187
  throw e.value;
318
- }, dt = (e) => {
188
+ }, $t = (e) => {
319
189
  if (e.isErr)
320
190
  return e.value;
321
191
  throw e.value;
322
- }, Te = (e) => {
192
+ }, Se = (e) => {
323
193
  const t = e.__childNodes || e.childNodes;
324
- e.tagName && e.tagName.includes("-") && e["s-cr"] && e.tagName !== "SLOT-FB" && Ee(t, e.tagName).forEach((n) => {
194
+ e.tagName && e.tagName.includes("-") && e["s-cr"] && e.tagName !== "SLOT-FB" && Te(t, e.tagName).forEach((n) => {
325
195
  var s;
326
- n.nodeType === 1 && n.tagName === "SLOT-FB" && ((s = pt(n, n["s-sn"], !1)) != null && s.length ? n.hidden = !0 : n.hidden = !1);
196
+ n.nodeType === 1 && n.tagName === "SLOT-FB" && ((s = ut(n, n["s-sn"], !1)) != null && s.length ? n.hidden = !0 : n.hidden = !1);
327
197
  });
328
198
  for (const n of t)
329
- n.nodeType === 1 && (n.__childNodes || n.childNodes).length && Te(n);
199
+ n.nodeType === 1 && (n.__childNodes || n.childNodes).length && Se(n);
330
200
  };
331
- function Ee(e, t, n) {
201
+ function Te(e, t, n) {
332
202
  let s = 0, r = [], i;
333
203
  for (; s < e.length; s++)
334
- i = e[s], i["s-sr"] && i["s-hn"] === t && n === void 0 && r.push(i), r = [...r, ...Ee(i.childNodes, t, n)];
204
+ i = e[s], i["s-sr"] && i["s-hn"] === t && n === void 0 && r.push(i), r = [...r, ...Te(i.childNodes, t, n)];
335
205
  return r;
336
206
  }
337
- var pt = (e, t, n = !0) => {
207
+ var ut = (e, t, n = !0) => {
338
208
  const s = [];
339
209
  for ((n && e["s-sr"] || !e["s-sr"]) && s.push(e); (e = e.nextSibling) && e["s-sn"] === t; )
340
210
  s.push(e);
341
211
  return s;
342
- }, he = (e, t) => e.nodeType === 1 ? e.getAttribute("slot") === null && t === "" || e.getAttribute("slot") === t : e["s-sn"] === t ? !0 : t === "", _ = (e, t = "") => () => {
343
- }, ht = (e, t) => () => {
344
- }, gt = (e, t, ...n) => {
212
+ }, de = (e, t) => e.nodeType === 1 ? e.getAttribute("slot") === null && t === "" || e.getAttribute("slot") === t : e["s-sn"] === t ? !0 : t === "", P = (e, t = "") => () => {
213
+ }, dt = (e, t) => () => {
214
+ }, ht = (e, t, ...n) => {
345
215
  let s = null, r = null, i = null, l = !1, a = !1;
346
- const o = [], u = (c) => {
347
- for (let f = 0; f < c.length; f++)
348
- s = c[f], Array.isArray(s) ? u(s) : s != null && typeof s != "boolean" && ((l = !te(s)) && (s = String(s)), l && a ? o[o.length - 1].$text$ += s : o.push(l ? Y(null, s) : s), a = l);
216
+ const o = [], f = (c) => {
217
+ for (let $ = 0; $ < c.length; $++)
218
+ s = c[$], Array.isArray(s) ? f(s) : s != null && typeof s != "boolean" && ((l = !V(s)) && (s = String(s)), l && a ? o[o.length - 1].$text$ += s : o.push(l ? X(null, s) : s), a = l);
349
219
  };
350
- u(n);
351
- const $ = Y(e, null);
352
- return $.$attrs$ = t, o.length > 0 && ($.$children$ = o), $.$key$ = r, $.$name$ = i, $;
353
- }, Y = (e, t) => {
220
+ f(n);
221
+ const u = X(e, null);
222
+ return u.$attrs$ = t, o.length > 0 && (u.$children$ = o), u.$key$ = r, u.$name$ = i, u;
223
+ }, X = (e, t) => {
354
224
  const n = {
355
225
  $flags$: 0,
356
226
  $tag$: e,
@@ -359,51 +229,51 @@ var pt = (e, t, n = !0) => {
359
229
  $children$: null
360
230
  };
361
231
  return n.$attrs$ = null, n.$key$ = null, n.$name$ = null, n;
362
- }, vt = {}, yt = (e) => e && e.$tag$ === vt, J = (e, t) => e != null && !te(e) ? t & 4 ? e === "false" ? !1 : e === "" || !!e : t & 2 ? parseFloat(e) : t & 1 ? String(e) : e : e, bt = (e, t, n) => {
232
+ }, pt = {}, gt = (e) => e && e.$tag$ === pt, K = (e, t) => e != null && !V(e) ? t & 4 ? e === "false" ? !1 : e === "" || !!e : t & 2 ? parseFloat(e) : t & 1 ? String(e) : e : e, vt = (e, t, n) => {
363
233
  const s = v.ce(t, n);
364
234
  return e.dispatchEvent(s), s;
365
- }, B = /* @__PURE__ */ new WeakMap(), ge = (e, t, n, s, r, i) => {
235
+ }, j = /* @__PURE__ */ new WeakMap(), he = (e, t, n, s, r, i) => {
366
236
  if (n !== s) {
367
- let l = fe(e, t), a = t.toLowerCase();
237
+ let l = ce(e, t), a = t.toLowerCase();
368
238
  if (t === "class") {
369
- const o = e.classList, u = ve(n);
370
- let $ = ve(s);
371
- e["s-si"] ? ($.push(e["s-si"]), u.forEach((c) => {
372
- c.startsWith(e["s-si"]) && $.push(c);
373
- }), $ = [...new Set($)], o.add(...$), delete e["s-si"]) : (o.remove(...u.filter((c) => c && !$.includes(c))), o.add(...$.filter((c) => c && !u.includes(c))));
239
+ const o = e.classList, f = pe(n);
240
+ let u = pe(s);
241
+ e["s-si"] ? (u.push(e["s-si"]), f.forEach((c) => {
242
+ c.startsWith(e["s-si"]) && u.push(c);
243
+ }), u = [...new Set(u)], o.add(...u), delete e["s-si"]) : (o.remove(...f.filter((c) => c && !u.includes(c))), o.add(...u.filter((c) => c && !f.includes(c))));
374
244
  } else if (t === "style") {
375
245
  for (const o in n)
376
246
  (!s || s[o] == null) && (o.includes("-") ? e.style.removeProperty(o) : e.style[o] = "");
377
247
  for (const o in s)
378
248
  (!n || s[o] !== n[o]) && (o.includes("-") ? e.style.setProperty(o, s[o]) : e.style[o] = s[o]);
379
249
  } else if (t !== "key") if (!l && t[0] === "o" && t[1] === "n") {
380
- if (t[2] === "-" ? t = t.slice(3) : fe(q, a) ? t = a.slice(2) : t = a[2] + t.slice(3), n || s) {
250
+ if (t[2] === "-" ? t = t.slice(3) : ce(B, a) ? t = a.slice(2) : t = a[2] + t.slice(3), n || s) {
381
251
  const o = t.endsWith(ke);
382
- t = t.replace(mt, ""), n && v.rel(e, t, n, o), s && v.ael(e, t, s, o);
252
+ t = t.replace(bt, ""), n && v.rel(e, t, n, o), s && v.ael(e, t, s, o);
383
253
  }
384
254
  } else {
385
- const o = te(s);
255
+ const o = V(s);
386
256
  if ((l || o && s !== null) && !r)
387
257
  try {
388
258
  if (e.tagName.includes("-"))
389
259
  e[t] !== s && (e[t] = s);
390
260
  else {
391
- const u = s ?? "";
392
- t === "list" ? l = !1 : (n == null || e[t] != u) && (typeof e.__lookupSetter__(t) == "function" ? e[t] = u : e.setAttribute(t, u));
261
+ const f = s ?? "";
262
+ t === "list" ? l = !1 : (n == null || e[t] != f) && (typeof e.__lookupSetter__(t) == "function" ? e[t] = f : e.setAttribute(t, f));
393
263
  }
394
264
  } catch {
395
265
  }
396
266
  s == null || s === !1 ? (s !== !1 || e.getAttribute(t) === "") && e.removeAttribute(t) : (!l || i & 4 || r) && !o && (s = s === !0 ? "" : s, e.setAttribute(t, s));
397
267
  }
398
268
  }
399
- }, St = /\s/, ve = (e) => (typeof e == "object" && "baseVal" in e && (e = e.baseVal), e ? e.split(St) : []), ke = "Capture", mt = new RegExp(ke + "$"), Pe = (e, t, n) => {
269
+ }, yt = /\s/, pe = (e) => (typeof e == "object" && "baseVal" in e && (e = e.baseVal), e ? e.split(yt) : []), ke = "Capture", bt = new RegExp(ke + "$"), Ee = (e, t, n) => {
400
270
  const s = t.$elm$.nodeType === 11 && t.$elm$.host ? t.$elm$.host : t.$elm$, r = e && e.$attrs$ || {}, i = t.$attrs$ || {};
401
- for (const l of ye(Object.keys(r)))
402
- l in i || ge(s, l, r[l], void 0, n, t.$flags$);
403
- for (const l of ye(Object.keys(i)))
404
- ge(s, l, r[l], i[l], n, t.$flags$);
271
+ for (const l of ge(Object.keys(r)))
272
+ l in i || he(s, l, r[l], void 0, n, t.$flags$);
273
+ for (const l of ge(Object.keys(i)))
274
+ he(s, l, r[l], i[l], n, t.$flags$);
405
275
  };
406
- function ye(e) {
276
+ function ge(e) {
407
277
  return e.includes("ref") ? (
408
278
  // we need to sort these to ensure that `'ref'` is the last attr
409
279
  [...e.filter((t) => t !== "ref"), "ref"]
@@ -412,11 +282,11 @@ function ye(e) {
412
282
  e
413
283
  );
414
284
  }
415
- var Z, ne, z = !1, H = !1, se = !1, R = !1, M = (e, t, n) => {
285
+ var Y, ee, U = !1, z = !1, te = !1, T = !1, H = (e, t, n) => {
416
286
  var s;
417
287
  const r = t.$children$[n];
418
288
  let i = 0, l, a, o;
419
- if (z || (se = !0, r.$tag$ === "slot" && (r.$flags$ |= r.$children$ ? (
289
+ if (U || (te = !0, r.$tag$ === "slot" && (r.$flags$ |= r.$children$ ? (
420
290
  // slot element has fallback content
421
291
  // still create an element that "mocks" the slot element
422
292
  2
@@ -430,83 +300,83 @@ var Z, ne, z = !1, H = !1, se = !1, R = !1, M = (e, t, n) => {
430
300
  else if (r.$flags$ & 1)
431
301
  l = r.$elm$ = E.createTextNode("");
432
302
  else {
433
- if (R || (R = r.$tag$ === "svg"), l = r.$elm$ = E.createElementNS(
434
- R ? Ve : et,
435
- !z && w.slotRelocation && r.$flags$ & 2 ? "slot-fb" : r.$tag$
436
- ), R && r.$tag$ === "foreignObject" && (R = !1), Pe(null, r, R), r.$children$)
303
+ if (T || (T = r.$tag$ === "svg"), l = r.$elm$ = E.createElementNS(
304
+ T ? Je : Ze,
305
+ !U && A.slotRelocation && r.$flags$ & 2 ? "slot-fb" : r.$tag$
306
+ ), T && r.$tag$ === "foreignObject" && (T = !1), Ee(null, r, T), r.$children$)
437
307
  for (i = 0; i < r.$children$.length; ++i)
438
- a = M(e, r, i), a && l.appendChild(a);
439
- r.$tag$ === "svg" ? R = !1 : l.tagName === "foreignObject" && (R = !0);
308
+ a = H(e, r, i), a && l.appendChild(a);
309
+ r.$tag$ === "svg" ? T = !1 : l.tagName === "foreignObject" && (T = !0);
440
310
  }
441
- return l["s-hn"] = ne, r.$flags$ & 3 && (l["s-sr"] = !0, l["s-cr"] = Z, l["s-sn"] = r.$name$ || "", l["s-rf"] = (s = r.$attrs$) == null ? void 0 : s.ref, o = e && e.$children$ && e.$children$[n], o && o.$tag$ === r.$tag$ && e.$elm$ && N(e.$elm$, !1)), l;
442
- }, N = (e, t) => {
311
+ return l["s-hn"] = ee, r.$flags$ & 3 && (l["s-sr"] = !0, l["s-cr"] = Y, l["s-sn"] = r.$name$ || "", l["s-rf"] = (s = r.$attrs$) == null ? void 0 : s.ref, o = e && e.$children$ && e.$children$[n], o && o.$tag$ === r.$tag$ && e.$elm$ && F(e.$elm$, !1)), l;
312
+ }, F = (e, t) => {
443
313
  v.$flags$ |= 1;
444
314
  const n = Array.from(e.__childNodes || e.childNodes);
445
- e["s-sr"] && w.experimentalSlotFixes;
315
+ e["s-sr"] && A.experimentalSlotFixes;
446
316
  for (let s = n.length - 1; s >= 0; s--) {
447
317
  const r = n[s];
448
- r["s-hn"] !== ne && r["s-ol"] && (C(D(r).parentNode, r, D(r)), r["s-ol"].remove(), r["s-ol"] = void 0, r["s-sh"] = void 0, se = !0), t && N(r, t);
318
+ r["s-hn"] !== ee && r["s-ol"] && (L(D(r).parentNode, r, D(r)), r["s-ol"].remove(), r["s-ol"] = void 0, r["s-sh"] = void 0, te = !0), t && F(r, t);
449
319
  }
450
320
  v.$flags$ &= -2;
451
- }, Ce = (e, t, n, s, r, i) => {
321
+ }, Re = (e, t, n, s, r, i) => {
452
322
  let l = e["s-cr"] && e["s-cr"].parentNode || e, a;
453
323
  for (; r <= i; ++r)
454
- s[r] && (a = M(null, n, r), a && (s[r].$elm$ = a, C(l, a, D(t))));
455
- }, Le = (e, t, n) => {
324
+ s[r] && (a = H(null, n, r), a && (s[r].$elm$ = a, L(l, a, D(t))));
325
+ }, Ce = (e, t, n) => {
456
326
  for (let s = t; s <= n; ++s) {
457
327
  const r = e[s];
458
328
  if (r) {
459
329
  const i = r.$elm$;
460
- i && (H = !0, i["s-ol"] ? i["s-ol"].remove() : N(i, !0), i.remove());
330
+ i && (z = !0, i["s-ol"] ? i["s-ol"].remove() : F(i, !0), i.remove());
461
331
  }
462
332
  }
463
- }, Rt = (e, t, n, s, r = !1) => {
464
- let i = 0, l = 0, a = 0, o = 0, u = t.length - 1, $ = t[0], c = t[u], f = s.length - 1, d = s[0], p = s[f], g, S;
465
- for (; i <= u && l <= f; )
466
- if ($ == null)
467
- $ = t[++i];
333
+ }, mt = (e, t, n, s, r = !1) => {
334
+ let i = 0, l = 0, a = 0, o = 0, f = t.length - 1, u = t[0], c = t[f], $ = s.length - 1, d = s[0], h = s[$], g, m;
335
+ for (; i <= f && l <= $; )
336
+ if (u == null)
337
+ u = t[++i];
468
338
  else if (c == null)
469
- c = t[--u];
339
+ c = t[--f];
470
340
  else if (d == null)
471
341
  d = s[++l];
472
- else if (p == null)
473
- p = s[--f];
474
- else if (U($, d, r))
475
- O($, d, r), $ = t[++i], d = s[++l];
476
- else if (U(c, p, r))
477
- O(c, p, r), c = t[--u], p = s[--f];
478
- else if (U($, p, r))
479
- ($.$tag$ === "slot" || p.$tag$ === "slot") && N($.$elm$.parentNode, !1), O($, p, r), C(e, $.$elm$, c.$elm$.nextSibling), $ = t[++i], p = s[--f];
480
- else if (U(c, d, r))
481
- ($.$tag$ === "slot" || p.$tag$ === "slot") && N(c.$elm$.parentNode, !1), O(c, d, r), C(e, c.$elm$, $.$elm$), c = t[--u], d = s[++l];
342
+ else if (h == null)
343
+ h = s[--$];
344
+ else if (N(u, d, r))
345
+ x(u, d, r), u = t[++i], d = s[++l];
346
+ else if (N(c, h, r))
347
+ x(c, h, r), c = t[--f], h = s[--$];
348
+ else if (N(u, h, r))
349
+ (u.$tag$ === "slot" || h.$tag$ === "slot") && F(u.$elm$.parentNode, !1), x(u, h, r), L(e, u.$elm$, c.$elm$.nextSibling), u = t[++i], h = s[--$];
350
+ else if (N(c, d, r))
351
+ (u.$tag$ === "slot" || h.$tag$ === "slot") && F(c.$elm$.parentNode, !1), x(c, d, r), L(e, c.$elm$, u.$elm$), c = t[--f], d = s[++l];
482
352
  else {
483
- for (a = -1, o = i; o <= u; ++o)
353
+ for (a = -1, o = i; o <= f; ++o)
484
354
  if (t[o] && t[o].$key$ !== null && t[o].$key$ === d.$key$) {
485
355
  a = o;
486
356
  break;
487
357
  }
488
- a >= 0 ? (S = t[a], S.$tag$ !== d.$tag$ ? g = M(t && t[l], n, a) : (O(S, d, r), t[a] = void 0, g = S.$elm$), d = s[++l]) : (g = M(t && t[l], n, l), d = s[++l]), g && C(
489
- D($.$elm$).parentNode,
358
+ a >= 0 ? (m = t[a], m.$tag$ !== d.$tag$ ? g = H(t && t[l], n, a) : (x(m, d, r), t[a] = void 0, g = m.$elm$), d = s[++l]) : (g = H(t && t[l], n, l), d = s[++l]), g && L(
359
+ D(u.$elm$).parentNode,
490
360
  g,
491
- D($.$elm$)
361
+ D(u.$elm$)
492
362
  );
493
363
  }
494
- i > u ? Ce(
364
+ i > f ? Re(
495
365
  e,
496
- s[f + 1] == null ? null : s[f + 1].$elm$,
366
+ s[$ + 1] == null ? null : s[$ + 1].$elm$,
497
367
  n,
498
368
  s,
499
369
  l,
500
- f
501
- ) : l > f && Le(t, i, u);
502
- }, U = (e, t, n = !1) => e.$tag$ === t.$tag$ ? e.$tag$ === "slot" ? e.$name$ === t.$name$ : n ? (n && !e.$key$ && t.$key$ && (e.$key$ = t.$key$), !0) : e.$key$ === t.$key$ : !1, D = (e) => e && e["s-ol"] || e, O = (e, t, n = !1) => {
370
+ $
371
+ ) : l > $ && Ce(t, i, f);
372
+ }, N = (e, t, n = !1) => e.$tag$ === t.$tag$ ? e.$tag$ === "slot" ? e.$name$ === t.$name$ : n ? (n && !e.$key$ && t.$key$ && (e.$key$ = t.$key$), !0) : e.$key$ === t.$key$ : !1, D = (e) => e && e["s-ol"] || e, x = (e, t, n = !1) => {
503
373
  const s = t.$elm$ = e.$elm$, r = e.$children$, i = t.$children$, l = t.$tag$, a = t.$text$;
504
374
  let o;
505
- a === null ? (R = l === "svg" ? !0 : l === "foreignObject" ? !1 : R, l === "slot" && !z || Pe(e, t, R), r !== null && i !== null ? Rt(s, r, t, i, n) : i !== null ? (e.$text$ !== null && (s.textContent = ""), Ce(s, null, t, i, 0, i.length - 1)) : (
375
+ a === null ? (T = l === "svg" ? !0 : l === "foreignObject" ? !1 : T, l === "slot" && !U || Ee(e, t, T), r !== null && i !== null ? mt(s, r, t, i, n) : i !== null ? (e.$text$ !== null && (s.textContent = ""), Re(s, null, t, i, 0, i.length - 1)) : (
506
376
  // don't do this on initial render as it can cause non-hydrated content to be removed
507
- !n && w.updatable && r !== null && Le(r, 0, r.length - 1)
508
- ), R && l === "svg" && (R = !1)) : (o = s["s-cr"]) ? o.parentNode.textContent = a : e.$text$ !== a && (s.data = a);
509
- }, P = [], _e = (e) => {
377
+ !n && A.updatable && r !== null && Ce(r, 0, r.length - 1)
378
+ ), T && l === "svg" && (T = !1)) : (o = s["s-cr"]) ? o.parentNode.textContent = a : e.$text$ !== a && (s.data = a);
379
+ }, C = [], Le = (e) => {
510
380
  let t, n, s;
511
381
  const r = e.__childNodes || e.childNodes;
512
382
  for (const i of r) {
@@ -515,67 +385,67 @@ var Z, ne, z = !1, H = !1, se = !1, R = !1, M = (e, t, n) => {
515
385
  const l = i["s-sn"];
516
386
  for (s = n.length - 1; s >= 0; s--)
517
387
  if (t = n[s], !t["s-cn"] && !t["s-nr"] && t["s-hn"] !== i["s-hn"])
518
- if (he(t, l)) {
519
- let a = P.find((o) => o.$nodeToRelocate$ === t);
520
- H = !0, t["s-sn"] = t["s-sn"] || l, a ? (a.$nodeToRelocate$["s-sh"] = i["s-hn"], a.$slotRefNode$ = i) : (t["s-sh"] = i["s-hn"], P.push({
388
+ if (de(t, l)) {
389
+ let a = C.find((o) => o.$nodeToRelocate$ === t);
390
+ z = !0, t["s-sn"] = t["s-sn"] || l, a ? (a.$nodeToRelocate$["s-sh"] = i["s-hn"], a.$slotRefNode$ = i) : (t["s-sh"] = i["s-hn"], C.push({
521
391
  $slotRefNode$: i,
522
392
  $nodeToRelocate$: t
523
- })), t["s-sr"] && P.map((o) => {
524
- he(o.$nodeToRelocate$, t["s-sn"]) && (a = P.find((u) => u.$nodeToRelocate$ === t), a && !o.$slotRefNode$ && (o.$slotRefNode$ = a.$slotRefNode$));
393
+ })), t["s-sr"] && C.map((o) => {
394
+ de(o.$nodeToRelocate$, t["s-sn"]) && (a = C.find((f) => f.$nodeToRelocate$ === t), a && !o.$slotRefNode$ && (o.$slotRefNode$ = a.$slotRefNode$));
525
395
  });
526
- } else P.some((a) => a.$nodeToRelocate$ === t) || P.push({
396
+ } else C.some((a) => a.$nodeToRelocate$ === t) || C.push({
527
397
  $nodeToRelocate$: t
528
398
  });
529
399
  }
530
- i.nodeType === 1 && _e(i);
400
+ i.nodeType === 1 && Le(i);
531
401
  }
532
- }, C = (e, t, n) => e == null ? void 0 : e.insertBefore(t, n), Tt = (e, t, n = !1) => {
402
+ }, L = (e, t, n) => e == null ? void 0 : e.insertBefore(t, n), St = (e, t, n = !1) => {
533
403
  var s, r, i, l;
534
- const a = e.$hostElement$, o = e.$vnode$ || Y(null, null), u = yt(t) ? t : gt(null, null, t);
535
- if (ne = a.tagName, n && u.$attrs$)
536
- for (const $ of Object.keys(u.$attrs$))
537
- a.hasAttribute($) && !["key", "ref", "style", "class"].includes($) && (u.$attrs$[$] = a[$]);
538
- u.$tag$ = null, u.$flags$ |= 4, e.$vnode$ = u, u.$elm$ = o.$elm$ = a, z = at, Z = a["s-cr"], H = !1, O(o, u, n);
404
+ const a = e.$hostElement$, o = e.$vnode$ || X(null, null), f = gt(t) ? t : ht(null, null, t);
405
+ if (ee = a.tagName, n && f.$attrs$)
406
+ for (const u of Object.keys(f.$attrs$))
407
+ a.hasAttribute(u) && !["key", "ref", "style", "class"].includes(u) && (f.$attrs$[u] = a[u]);
408
+ f.$tag$ = null, f.$flags$ |= 4, e.$vnode$ = f, f.$elm$ = o.$elm$ = a, U = st, Y = a["s-cr"], z = !1, x(o, f, n);
539
409
  {
540
- if (v.$flags$ |= 1, se) {
541
- _e(u.$elm$);
542
- for (const $ of P) {
543
- const c = $.$nodeToRelocate$;
410
+ if (v.$flags$ |= 1, te) {
411
+ Le(f.$elm$);
412
+ for (const u of C) {
413
+ const c = u.$nodeToRelocate$;
544
414
  if (!c["s-ol"]) {
545
- const f = E.createTextNode("");
546
- f["s-nr"] = c, C(c.parentNode, c["s-ol"] = f, c);
415
+ const $ = E.createTextNode("");
416
+ $["s-nr"] = c, L(c.parentNode, c["s-ol"] = $, c);
547
417
  }
548
418
  }
549
- for (const $ of P) {
550
- const c = $.$nodeToRelocate$, f = $.$slotRefNode$;
551
- if (f) {
552
- const d = f.parentNode;
553
- let p = f.nextSibling;
419
+ for (const u of C) {
420
+ const c = u.$nodeToRelocate$, $ = u.$slotRefNode$;
421
+ if ($) {
422
+ const d = $.parentNode;
423
+ let h = $.nextSibling;
554
424
  {
555
425
  let y = (s = c["s-ol"]) == null ? void 0 : s.previousSibling;
556
426
  for (; y; ) {
557
- let h = (r = y["s-nr"]) != null ? r : null;
558
- if (h && h["s-sn"] === c["s-sn"] && d === (h.__parentNode || h.parentNode)) {
559
- for (h = h.nextSibling; h === c || h != null && h["s-sr"]; )
560
- h = h == null ? void 0 : h.nextSibling;
561
- if (!h || !h["s-nr"]) {
562
- p = h;
427
+ let p = (r = y["s-nr"]) != null ? r : null;
428
+ if (p && p["s-sn"] === c["s-sn"] && d === (p.__parentNode || p.parentNode)) {
429
+ for (p = p.nextSibling; p === c || p != null && p["s-sr"]; )
430
+ p = p == null ? void 0 : p.nextSibling;
431
+ if (!p || !p["s-nr"]) {
432
+ h = p;
563
433
  break;
564
434
  }
565
435
  }
566
436
  y = y.previousSibling;
567
437
  }
568
438
  }
569
- const g = c.__parentNode || c.parentNode, S = c.__nextSibling || c.nextSibling;
570
- (!p && d !== g || S !== p) && c !== p && (!c["s-hn"] && c["s-ol"] && (c["s-hn"] = c["s-ol"].parentNode.nodeName), C(d, c, p), c.nodeType === 1 && c.tagName !== "SLOT-FB" && (c.hidden = (i = c["s-ih"]) != null ? i : !1)), c && typeof f["s-rf"] == "function" && f["s-rf"](c);
439
+ const g = c.__parentNode || c.parentNode, m = c.__nextSibling || c.nextSibling;
440
+ (!h && d !== g || m !== h) && c !== h && (!c["s-hn"] && c["s-ol"] && (c["s-hn"] = c["s-ol"].parentNode.nodeName), L(d, c, h), c.nodeType === 1 && c.tagName !== "SLOT-FB" && (c.hidden = (i = c["s-ih"]) != null ? i : !1)), c && typeof $["s-rf"] == "function" && $["s-rf"](c);
571
441
  } else
572
442
  c.nodeType === 1 && (n && (c["s-ih"] = (l = c.hidden) != null ? l : !1), c.hidden = !0);
573
443
  }
574
444
  }
575
- H && Te(u.$elm$), v.$flags$ &= -2, P.length = 0;
445
+ z && Se(f.$elm$), v.$flags$ &= -2, C.length = 0;
576
446
  }
577
- Z = void 0;
578
- }, xe = (e, t) => {
447
+ Y = void 0;
448
+ }, Pe = (e, t) => {
579
449
  if (t && !e.$onRenderResolve$ && t["s-p"]) {
580
450
  const n = t["s-p"].push(
581
451
  new Promise(
@@ -585,75 +455,75 @@ var Z, ne, z = !1, H = !1, se = !1, R = !1, M = (e, t, n) => {
585
455
  )
586
456
  );
587
457
  }
588
- }, re = (e, t) => {
458
+ }, ne = (e, t) => {
589
459
  if (e.$flags$ |= 16, e.$flags$ & 4) {
590
460
  e.$flags$ |= 512;
591
461
  return;
592
462
  }
593
- return xe(e, e.$ancestorComponent$), it(() => Et(e, t));
594
- }, Et = (e, t) => {
595
- const n = e.$hostElement$, s = _("scheduleUpdate", e.$cmpMeta$.$tagName$), r = e.$lazyInstance$;
463
+ return Pe(e, e.$ancestorComponent$), ot(() => Tt(e, t));
464
+ }, Tt = (e, t) => {
465
+ const n = e.$hostElement$, s = P("scheduleUpdate", e.$cmpMeta$.$tagName$), r = e.$lazyInstance$;
596
466
  if (!r)
597
467
  throw new Error(
598
468
  `Can't render component <${n.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`
599
469
  );
600
470
  let i;
601
- return s(), kt(i, () => Ct(e, r, t));
602
- }, kt = (e, t) => Pt(e) ? e.then(t).catch((n) => {
471
+ return s(), kt(i, () => Rt(e, r, t));
472
+ }, kt = (e, t) => Et(e) ? e.then(t).catch((n) => {
603
473
  console.error(n), t();
604
- }) : t(), Pt = (e) => e instanceof Promise || e && e.then && typeof e.then == "function", Ct = async (e, t, n) => {
474
+ }) : t(), Et = (e) => e instanceof Promise || e && e.then && typeof e.then == "function", Rt = async (e, t, n) => {
605
475
  var s;
606
- const r = e.$hostElement$, i = _("update", e.$cmpMeta$.$tagName$), l = r["s-rc"], a = _("render", e.$cmpMeta$.$tagName$);
607
- Lt(e, t, r, n), l && (l.map((o) => o()), r["s-rc"] = void 0), a(), i();
476
+ const r = e.$hostElement$, i = P("update", e.$cmpMeta$.$tagName$), l = r["s-rc"], a = P("render", e.$cmpMeta$.$tagName$);
477
+ Ct(e, t, r, n), l && (l.map((o) => o()), r["s-rc"] = void 0), a(), i();
608
478
  {
609
- const o = (s = r["s-p"]) != null ? s : [], u = () => _t(e);
610
- o.length === 0 ? u() : (Promise.all(o).then(u), e.$flags$ |= 4, o.length = 0);
479
+ const o = (s = r["s-p"]) != null ? s : [], f = () => Lt(e);
480
+ o.length === 0 ? f() : (Promise.all(o).then(f), e.$flags$ |= 4, o.length = 0);
611
481
  }
612
- }, Lt = (e, t, n, s) => {
482
+ }, Ct = (e, t, n, s) => {
613
483
  try {
614
- t = t.render(), e.$flags$ &= -17, e.$flags$ |= 2, Tt(e, t, s);
484
+ t = t.render(), e.$flags$ &= -17, e.$flags$ |= 2, St(e, t, s);
615
485
  } catch (r) {
616
- I(r, e.$hostElement$);
486
+ w(r, e.$hostElement$);
617
487
  }
618
488
  return null;
619
- }, _t = (e) => {
620
- const t = e.$cmpMeta$.$tagName$, n = e.$hostElement$, s = _("postUpdate", t), r = e.$lazyInstance$, i = e.$ancestorComponent$;
621
- e.$flags$ & 64 ? s() : (e.$flags$ |= 64, Oe(n), ae(r, "componentDidLoad", void 0, n), s(), e.$onReadyResolve$(n), i || Ae()), e.$onRenderResolve$ && (e.$onRenderResolve$(), e.$onRenderResolve$ = void 0), e.$flags$ & 512 && ee(() => re(e, !1)), e.$flags$ &= -517;
622
- }, Ae = (e) => {
623
- Oe(E.documentElement), ee(() => bt(q, "appload", { detail: { namespace: Ye } }));
624
- }, ae = (e, t, n, s) => {
489
+ }, Lt = (e) => {
490
+ const t = e.$cmpMeta$.$tagName$, n = e.$hostElement$, s = P("postUpdate", t), r = e.$lazyInstance$, i = e.$ancestorComponent$;
491
+ e.$flags$ & 64 ? s() : (e.$flags$ |= 64, xe(n), se(r, "componentDidLoad", void 0, n), s(), e.$onReadyResolve$(n), i || _e()), e.$onRenderResolve$ && (e.$onRenderResolve$(), e.$onRenderResolve$ = void 0), e.$flags$ & 512 && Z(() => ne(e, !1)), e.$flags$ &= -517;
492
+ }, _e = (e) => {
493
+ xe(E.documentElement), Z(() => vt(B, "appload", { detail: { namespace: Xe } }));
494
+ }, se = (e, t, n, s) => {
625
495
  if (e && e[t])
626
496
  try {
627
497
  return e[t](n);
628
498
  } catch (r) {
629
- I(r, s);
499
+ w(r, s);
630
500
  }
631
- }, Oe = (e) => {
501
+ }, xe = (e) => {
632
502
  var t;
633
- return e.classList.add((t = w.hydratedSelectorName) != null ? t : "hydrated");
634
- }, xt = (e, t) => k(e).$instanceValues$.get(t), Q = (e, t, n, s) => {
635
- const r = k(e);
503
+ return e.classList.add((t = A.hydratedSelectorName) != null ? t : "hydrated");
504
+ }, Pt = (e, t) => R(e).$instanceValues$.get(t), q = (e, t, n, s) => {
505
+ const r = R(e);
636
506
  if (!r)
637
507
  throw new Error(
638
508
  `Couldn't find host element for "${s.$tagName$}" as it is unknown to this Stencil runtime. This usually happens when integrating a 3rd party Stencil component with another Stencil component or application. Please reach out to the maintainers of the 3rd party Stencil component or report this on the Stencil Discord server (https://chat.stenciljs.com) or comment on this similar [GitHub issue](https://github.com/ionic-team/stencil/issues/5457).`
639
509
  );
640
510
  const i = r.$hostElement$, l = r.$instanceValues$.get(t), a = r.$flags$, o = r.$lazyInstance$;
641
- n = J(n, s.$members$[t][0]);
642
- const u = Number.isNaN(l) && Number.isNaN(n), $ = n !== l && !u;
643
- if ((!(a & 8) || l === void 0) && $ && (r.$instanceValues$.set(t, n), o)) {
511
+ n = K(n, s.$members$[t][0]);
512
+ const f = Number.isNaN(l) && Number.isNaN(n), u = n !== l && !f;
513
+ if ((!(a & 8) || l === void 0) && u && (r.$instanceValues$.set(t, n), o)) {
644
514
  if (s.$watchers$ && a & 128) {
645
515
  const c = s.$watchers$[t];
646
- c && c.map((f) => {
516
+ c && c.map(($) => {
647
517
  try {
648
- o[f](n, l, t);
518
+ o[$](n, l, t);
649
519
  } catch (d) {
650
- I(d, i);
520
+ w(d, i);
651
521
  }
652
522
  });
653
523
  }
654
- (a & 18) === 2 && re(r, !1);
524
+ (a & 18) === 2 && ne(r, !1);
655
525
  }
656
- }, we = (e, t, n) => {
526
+ }, Ae = (e, t, n) => {
657
527
  var s, r;
658
528
  const i = e.prototype;
659
529
  if (t.$members$ || t.$watchers$ || e.watchers) {
@@ -661,129 +531,129 @@ var Z, ne, z = !1, H = !1, se = !1, R = !1, M = (e, t, n) => {
661
531
  const l = Object.entries((s = t.$members$) != null ? s : {});
662
532
  if (l.map(([a, [o]]) => {
663
533
  if (o & 31 || n & 2 && o & 32) {
664
- const { get: u, set: $ } = Object.getOwnPropertyDescriptor(i, a) || {};
665
- u && (t.$members$[a][0] |= 2048), $ && (t.$members$[a][0] |= 4096), (n & 1 || !u) && Object.defineProperty(i, a, {
534
+ const { get: f, set: u } = Object.getOwnPropertyDescriptor(i, a) || {};
535
+ f && (t.$members$[a][0] |= 2048), u && (t.$members$[a][0] |= 4096), (n & 1 || !f) && Object.defineProperty(i, a, {
666
536
  get() {
667
537
  {
668
538
  if (!(t.$members$[a][0] & 2048))
669
- return xt(this, a);
670
- const c = k(this), f = c ? c.$lazyInstance$ : i;
671
- return f ? f[a] : void 0;
539
+ return Pt(this, a);
540
+ const c = R(this), $ = c ? c.$lazyInstance$ : i;
541
+ return $ ? $[a] : void 0;
672
542
  }
673
543
  },
674
544
  configurable: !0,
675
545
  enumerable: !0
676
546
  }), Object.defineProperty(i, a, {
677
547
  set(c) {
678
- const f = k(this);
679
- if ($) {
680
- const d = o & 32 ? this[a] : f.$hostElement$[a];
681
- typeof d > "u" && f.$instanceValues$.get(a) ? c = f.$instanceValues$.get(a) : !f.$instanceValues$.get(a) && d && f.$instanceValues$.set(a, d), $.apply(this, [J(c, o)]), c = o & 32 ? this[a] : f.$hostElement$[a], Q(this, a, c, t);
548
+ const $ = R(this);
549
+ if (u) {
550
+ const d = o & 32 ? this[a] : $.$hostElement$[a];
551
+ typeof d > "u" && $.$instanceValues$.get(a) ? c = $.$instanceValues$.get(a) : !$.$instanceValues$.get(a) && d && $.$instanceValues$.set(a, d), u.apply(this, [K(c, o)]), c = o & 32 ? this[a] : $.$hostElement$[a], q(this, a, c, t);
682
552
  return;
683
553
  }
684
554
  {
685
555
  if (!(n & 1) || !(t.$members$[a][0] & 4096)) {
686
- Q(this, a, c, t), n & 1 && !f.$lazyInstance$ && f.$onReadyPromise$.then(() => {
687
- t.$members$[a][0] & 4096 && f.$lazyInstance$[a] !== f.$instanceValues$.get(a) && (f.$lazyInstance$[a] = c);
556
+ q(this, a, c, t), n & 1 && !$.$lazyInstance$ && $.$onReadyPromise$.then(() => {
557
+ t.$members$[a][0] & 4096 && $.$lazyInstance$[a] !== $.$instanceValues$.get(a) && ($.$lazyInstance$[a] = c);
688
558
  });
689
559
  return;
690
560
  }
691
561
  const d = () => {
692
- const p = f.$lazyInstance$[a];
693
- !f.$instanceValues$.get(a) && p && f.$instanceValues$.set(a, p), f.$lazyInstance$[a] = J(c, o), Q(this, a, f.$lazyInstance$[a], t);
562
+ const h = $.$lazyInstance$[a];
563
+ !$.$instanceValues$.get(a) && h && $.$instanceValues$.set(a, h), $.$lazyInstance$[a] = K(c, o), q(this, a, $.$lazyInstance$[a], t);
694
564
  };
695
- f.$lazyInstance$ ? d() : f.$onReadyPromise$.then(() => d());
565
+ $.$lazyInstance$ ? d() : $.$onReadyPromise$.then(() => d());
696
566
  }
697
567
  }
698
568
  });
699
569
  }
700
570
  }), n & 1) {
701
571
  const a = /* @__PURE__ */ new Map();
702
- i.attributeChangedCallback = function(o, u, $) {
572
+ i.attributeChangedCallback = function(o, f, u) {
703
573
  v.jmp(() => {
704
574
  var c;
705
- const f = a.get(o);
706
- if (this.hasOwnProperty(f) && w.lazyLoad)
707
- $ = this[f], delete this[f];
575
+ const $ = a.get(o);
576
+ if (this.hasOwnProperty($) && A.lazyLoad)
577
+ u = this[$], delete this[$];
708
578
  else {
709
- if (i.hasOwnProperty(f) && typeof this[f] == "number" && // cast type to number to avoid TS compiler issues
710
- this[f] == $)
579
+ if (i.hasOwnProperty($) && typeof this[$] == "number" && // cast type to number to avoid TS compiler issues
580
+ this[$] == u)
711
581
  return;
712
- if (f == null) {
713
- const p = k(this), g = p == null ? void 0 : p.$flags$;
714
- if (g && !(g & 8) && g & 128 && $ !== u) {
715
- const S = p.$lazyInstance$, y = (c = t.$watchers$) == null ? void 0 : c[o];
716
- y == null || y.forEach((h) => {
717
- S[h] != null && S[h].call(S, $, u, o);
582
+ if ($ == null) {
583
+ const h = R(this), g = h == null ? void 0 : h.$flags$;
584
+ if (g && !(g & 8) && g & 128 && u !== f) {
585
+ const m = h.$lazyInstance$, y = (c = t.$watchers$) == null ? void 0 : c[o];
586
+ y == null || y.forEach((p) => {
587
+ m[p] != null && m[p].call(m, u, f, o);
718
588
  });
719
589
  }
720
590
  return;
721
591
  }
722
592
  }
723
- const d = Object.getOwnPropertyDescriptor(i, f);
724
- $ = $ === null && typeof this[f] == "boolean" ? !1 : $, $ !== this[f] && (!d.get || d.set) && (this[f] = $);
593
+ const d = Object.getOwnPropertyDescriptor(i, $);
594
+ u = u === null && typeof this[$] == "boolean" ? !1 : u, u !== this[$] && (!d.get || d.set) && (this[$] = u);
725
595
  });
726
596
  }, e.observedAttributes = Array.from(
727
597
  /* @__PURE__ */ new Set([
728
598
  ...Object.keys((r = t.$watchers$) != null ? r : {}),
729
599
  ...l.filter(
730
- ([o, u]) => u[0] & 15
600
+ ([o, f]) => f[0] & 15
731
601
  /* HasAttribute */
732
- ).map(([o, u]) => {
733
- const $ = u[1] || o;
734
- return a.set($, o), $;
602
+ ).map(([o, f]) => {
603
+ const u = f[1] || o;
604
+ return a.set(u, o), u;
735
605
  })
736
606
  ])
737
607
  );
738
608
  }
739
609
  }
740
610
  return e;
741
- }, At = async (e, t, n, s) => {
611
+ }, _t = async (e, t, n, s) => {
742
612
  let r;
743
613
  if (!(t.$flags$ & 32)) {
744
614
  t.$flags$ |= 32;
745
615
  {
746
- const a = nt(n, t);
616
+ const a = et(n, t);
747
617
  if (a && "then" in a) {
748
- const u = ht();
749
- r = await a, u();
618
+ const f = dt();
619
+ r = await a, f();
750
620
  } else
751
621
  r = a;
752
622
  if (!r)
753
623
  throw new Error(`Constructor for "${n.$tagName$}#${t.$modeName$}" was not found`);
754
- r.isProxied || (n.$watchers$ = r.watchers, we(
624
+ r.isProxied || (n.$watchers$ = r.watchers, Ae(
755
625
  r,
756
626
  n,
757
627
  2
758
628
  /* proxyState */
759
629
  ), r.isProxied = !0);
760
- const o = _("createInstance", n.$tagName$);
630
+ const o = P("createInstance", n.$tagName$);
761
631
  t.$flags$ |= 8;
762
632
  try {
763
633
  new r(t);
764
- } catch (u) {
765
- I(u, e);
634
+ } catch (f) {
635
+ w(f, e);
766
636
  }
767
- t.$flags$ &= -9, t.$flags$ |= 128, o(), V(t.$lazyInstance$, e);
637
+ t.$flags$ &= -9, t.$flags$ |= 128, o(), J(t.$lazyInstance$, e);
768
638
  }
769
639
  }
770
- const i = t.$ancestorComponent$, l = () => re(t, !0);
640
+ const i = t.$ancestorComponent$, l = () => ne(t, !0);
771
641
  i && i["s-rc"] ? i["s-rc"].push(l) : l();
772
- }, V = (e, t) => {
773
- ae(e, "connectedCallback", void 0, t);
774
- }, Ot = (e) => {
642
+ }, J = (e, t) => {
643
+ se(e, "connectedCallback", void 0, t);
644
+ }, xt = (e) => {
775
645
  if (!(v.$flags$ & 1)) {
776
- const t = k(e), n = t.$cmpMeta$, s = _("connectedCallback", n.$tagName$);
646
+ const t = R(e), n = t.$cmpMeta$, s = P("connectedCallback", n.$tagName$);
777
647
  if (t.$flags$ & 1)
778
- t != null && t.$lazyInstance$ ? V(t.$lazyInstance$, e) : t != null && t.$onReadyPromise$ && t.$onReadyPromise$.then(() => V(t.$lazyInstance$, e));
648
+ t != null && t.$lazyInstance$ ? J(t.$lazyInstance$, e) : t != null && t.$onReadyPromise$ && t.$onReadyPromise$.then(() => J(t.$lazyInstance$, e));
779
649
  else {
780
650
  t.$flags$ |= 1, // TODO(STENCIL-854): Remove code related to legacy shadowDomShim field
781
- n.$flags$ & 12 && wt(e);
651
+ n.$flags$ & 12 && At(e);
782
652
  {
783
653
  let r = e;
784
654
  for (; r = r.parentNode || r.host; )
785
655
  if (r["s-p"]) {
786
- xe(t, t.$ancestorComponent$ = r);
656
+ Pe(t, t.$ancestorComponent$ = r);
787
657
  break;
788
658
  }
789
659
  }
@@ -792,79 +662,79 @@ var Z, ne, z = !1, H = !1, se = !1, R = !1, M = (e, t, n) => {
792
662
  const l = e[r];
793
663
  delete e[r], e[r] = l;
794
664
  }
795
- }), At(e, t, n);
665
+ }), _t(e, t, n);
796
666
  }
797
667
  s();
798
668
  }
799
- }, wt = (e) => {
669
+ }, At = (e) => {
800
670
  const t = e["s-cr"] = E.createComment(
801
671
  ""
802
672
  );
803
- t["s-cn"] = !0, C(e, t, e.firstChild);
804
- }, be = (e, t) => {
805
- ae(e, "disconnectedCallback", void 0, t || e);
806
- }, It = async (e) => {
673
+ t["s-cn"] = !0, L(e, t, e.firstChild);
674
+ }, ve = (e, t) => {
675
+ se(e, "disconnectedCallback", void 0, t || e);
676
+ }, wt = async (e) => {
807
677
  if (!(v.$flags$ & 1)) {
808
- const t = k(e);
809
- t != null && t.$lazyInstance$ ? be(t.$lazyInstance$, e) : t != null && t.$onReadyPromise$ && t.$onReadyPromise$.then(() => be(t.$lazyInstance$, e));
678
+ const t = R(e);
679
+ t != null && t.$lazyInstance$ ? ve(t.$lazyInstance$, e) : t != null && t.$onReadyPromise$ && t.$onReadyPromise$.then(() => ve(t.$lazyInstance$, e));
810
680
  }
811
- B.has(e) && B.delete(e), e.shadowRoot && B.has(e.shadowRoot) && B.delete(e.shadowRoot);
812
- }, Ft = (e, t = {}) => {
681
+ j.has(e) && j.delete(e), e.shadowRoot && j.has(e.shadowRoot) && j.delete(e.shadowRoot);
682
+ }, Ot = (e, t = {}) => {
813
683
  var n;
814
- const s = _(), r = [], i = t.exclude || [], l = q.customElements, a = E.head, o = /* @__PURE__ */ a.querySelector("meta[charset]"), u = /* @__PURE__ */ E.createElement("style"), $ = [];
815
- let c, f = !0;
684
+ const s = P(), r = [], i = t.exclude || [], l = B.customElements, a = E.head, o = /* @__PURE__ */ a.querySelector("meta[charset]"), f = /* @__PURE__ */ E.createElement("style"), u = [];
685
+ let c, $ = !0;
816
686
  Object.assign(v, t), v.$resourcesUrl$ = new URL(t.resourcesUrl || "./", E.baseURI).href;
817
687
  let d = !1;
818
- if (e.map((p) => {
819
- p[1].map((g) => {
820
- var S;
688
+ if (e.map((h) => {
689
+ h[1].map((g) => {
690
+ var m;
821
691
  const y = {
822
692
  $flags$: g[0],
823
693
  $tagName$: g[1],
824
694
  $members$: g[2],
825
695
  $listeners$: g[3]
826
696
  };
827
- y.$flags$ & 4 && (d = !0), y.$members$ = g[2], y.$watchers$ = (S = g[4]) != null ? S : {};
828
- const h = y.$tagName$, F = class extends HTMLElement {
697
+ y.$flags$ & 4 && (d = !0), y.$members$ = g[2], y.$watchers$ = (m = g[4]) != null ? m : {};
698
+ const p = y.$tagName$, O = class extends HTMLElement {
829
699
  // StencilLazyHost
830
- constructor(m) {
831
- super(m), this.hasRegisteredEventListeners = !1, m = this, tt(m, y);
700
+ constructor(S) {
701
+ super(S), this.hasRegisteredEventListeners = !1, S = this, Ve(S, y);
832
702
  }
833
703
  connectedCallback() {
834
- k(this), this.hasRegisteredEventListeners || (this.hasRegisteredEventListeners = !0), c && (clearTimeout(c), c = null), f ? $.push(this) : v.jmp(() => Ot(this));
704
+ R(this), this.hasRegisteredEventListeners || (this.hasRegisteredEventListeners = !0), c && (clearTimeout(c), c = null), $ ? u.push(this) : v.jmp(() => xt(this));
835
705
  }
836
706
  disconnectedCallback() {
837
- v.jmp(() => It(this)), v.raf(() => {
838
- var m;
839
- const T = k(this);
840
- ((m = T == null ? void 0 : T.$vnode$) == null ? void 0 : m.$elm$) instanceof Node && !T.$vnode$.$elm$.isConnected && delete T.$vnode$.$elm$;
707
+ v.jmp(() => wt(this)), v.raf(() => {
708
+ var S;
709
+ const k = R(this);
710
+ ((S = k == null ? void 0 : k.$vnode$) == null ? void 0 : S.$elm$) instanceof Node && !k.$vnode$.$elm$.isConnected && delete k.$vnode$.$elm$;
841
711
  });
842
712
  }
843
713
  componentOnReady() {
844
- return k(this).$onReadyPromise$;
714
+ return R(this).$onReadyPromise$;
845
715
  }
846
716
  };
847
- y.$lazyBundleId$ = p[0], !i.includes(h) && !l.get(h) && (r.push(h), l.define(
848
- h,
849
- we(
850
- F,
717
+ y.$lazyBundleId$ = h[0], !i.includes(p) && !l.get(p) && (r.push(p), l.define(
718
+ p,
719
+ Ae(
720
+ O,
851
721
  y,
852
722
  1
853
723
  /* isElementConstructor */
854
724
  )
855
725
  ));
856
726
  });
857
- }), r.length > 0 && (d && (u.textContent += rt), u.textContent += r.sort() + st, u.innerHTML.length)) {
858
- u.setAttribute("data-styles", "");
859
- const p = (n = v.$nonce$) != null ? n : ct(E);
860
- p != null && u.setAttribute("nonce", p), a.insertBefore(u, o ? o.nextSibling : a.firstChild);
727
+ }), r.length > 0 && (d && (f.textContent += nt), f.textContent += r.sort() + tt, f.innerHTML.length)) {
728
+ f.setAttribute("data-styles", "");
729
+ const h = (n = v.$nonce$) != null ? n : lt(E);
730
+ h != null && f.setAttribute("nonce", h), a.insertBefore(f, o ? o.nextSibling : a.firstChild);
861
731
  }
862
- f = !1, $.length ? $.map((p) => p.connectedCallback()) : v.jmp(() => c = setTimeout(Ae, 30)), s();
732
+ $ = !1, u.length ? u.map((h) => h.connectedCallback()) : v.jmp(() => c = setTimeout(_e, 30)), s();
863
733
  };
864
- const jt = () => {
865
- }, Nt = async (e, t) => {
734
+ const It = () => {
735
+ }, Ft = async (e, t) => {
866
736
  if (!(typeof window > "u"))
867
- return await jt(), Ft([["searchcraft-filter-panel", [[0, "searchcraft-filter-panel", { items: [16], unsubscribe: [32], lastQuery: [32] }]]], ["searchcraft-base-search-results", [[4, "searchcraft-base-search-results", { adInterval: [2, "ad-interval"], customStylesForResults: [1, "custom-styles-for-results"], searchResultMappings: [16], placeAdAtEnd: [4, "place-ad-at-end"], placeAdAtStart: [4, "place-ad-at-start"], resultImagePlacement: [1, "result-image-placement"], buttonLabel: [1, "button-label"], buttonTarget: [1, "button-target"], buttonRel: [1, "button-rel"], containerTarget: [1, "container-target"], containerRel: [1, "container-rel"], hasSearched: [32], query: [32], searchResults: [32] }]]], ["searchcraft-popover-button", [[4, "searchcraft-popover-button"]]], ["searchcraft-results-info", [[0, "searchcraft-results-info", { isRequesting: [32], resultsCount: [32], responseTime: [32], query: [32] }]]], ["searchcraft-theme", [[0, "searchcraft-theme"]]], ["searchcraft-base-search-result", [[0, "searchcraft-base-search-result", { titleContent: [1, "title-content"], subtitleContent: [1, "subtitle-content"], bodyContent: [1, "body-content"], footerContent: [1, "footer-content"], buttonLabel: [1, "button-label"], buttonHref: [1, "button-href"], buttonTarget: [1, "button-target"], buttonRel: [1, "button-rel"], containerHref: [1, "container-href"], containerTarget: [1, "container-target"], containerRel: [1, "container-rel"], imageSrc: [1, "image-src"], imageAlt: [1, "image-alt"], imagePlacement: [1, "image-placement"], customStyles: [1, "custom-styles"], documentPosition: [2, "document-position"] }]]], ["searchcraft-popover-list-item", [[0, "searchcraft-popover-list-item", { titleContent: [1, "title-content"], subtitleContent: [1, "subtitle-content"], imageSrc: [1, "image-src"], imageAlt: [1, "image-alt"], href: [1], documentPosition: [2, "document-position"] }]]], ["searchcraft-button_3", [[0, "searchcraft-button", { iconElement: [16], iconOnly: [4, "icon-only"], iconPosition: [1, "icon-position"], label: [1], isRequesting: [32] }], [0, "searchcraft-input-label", { inputLabelClassName: [1, "input-label-class-name"], label: [1] }], [0, "searchcraft-error-message", { errorMessage: [1, "error-message"] }]]], ["searchcraft-input-form_2", [[0, "searchcraft-input-form", { config: [16], autoSearch: [4, "auto-search"], buttonPlacement: [1, "button-placement"], buttonLabel: [1, "button-label"], inputLabel: [1, "input-label"], customStyles: [1, "custom-styles"], placeholderValue: [1, "placeholder-value"], searchTerm: [1, "search-term"], inputValue: [32], error: [32], isSearchcraftInitialized: [32] }, null, { config: ["onConfigChange"] }], [0, "searchcraft-popover-list-view", { popoverResultMappings: [16], documents: [16] }]]], ["searchcraft-popover-form", [[0, "searchcraft-popover-form", { config: [16], type: [1], popoverResultMappings: [16], hotkey: [1], hotkeyModifier: [1, "hotkey-modifier"], isPopoverVisibleInState: [32], unsubscribe: [32], searchResults: [32], searchTerm: [32], isFocused: [32], breakpointSm: [32], breakpointMd: [32], breakpointLg: [32], modalElement: [32] }]]], ["searchcraft-facet-list_3", [[0, "searchcraft-facet-list", { fieldName: [1, "field-name"], baseFacetRoot: [32], facetRoot: [32], selectedPaths: [32], lastTimeTaken: [32], hasNewSearchTerm: [32], lastQuery: [32], lastSearchMode: [32], lastSortType: [32], unsubscribe: [32] }], [0, "searchcraft-slider", { max: [2], min: [2], granularity: [2], dataType: [1, "data-type"], endValue: [32], startValue: [32], lastFocusedHandle: [32] }], [0, "searchcraft-toggle-button", { label: [1], subLabel: [1, "sub-label"], isActive: [32], unsubscribe: [32], lastQuery: [32] }]]]], t);
737
+ return await It(), Ot([["searchcraft-filter-panel", [[0, "searchcraft-filter-panel", { items: [16], unsubscribe: [32], lastQuery: [32] }]]], ["searchcraft-base-search-results", [[4, "searchcraft-base-search-results", { adInterval: [2, "ad-interval"], customStylesForResults: [1, "custom-styles-for-results"], searchResultMappings: [16], placeAdAtEnd: [4, "place-ad-at-end"], placeAdAtStart: [4, "place-ad-at-start"], resultImagePlacement: [1, "result-image-placement"], buttonLabel: [1, "button-label"], buttonTarget: [1, "button-target"], buttonRel: [1, "button-rel"], containerTarget: [1, "container-target"], containerRel: [1, "container-rel"], hasSearched: [32], query: [32], searchResults: [32] }]]], ["searchcraft-popover-button", [[4, "searchcraft-popover-button"]]], ["searchcraft-results-info", [[0, "searchcraft-results-info", { isRequesting: [32], resultsCount: [32], responseTime: [32], query: [32] }]]], ["searchcraft-theme", [[0, "searchcraft-theme"]]], ["searchcraft-base-search-result", [[0, "searchcraft-base-search-result", { titleContent: [1, "title-content"], subtitleContent: [1, "subtitle-content"], bodyContent: [1, "body-content"], footerContent: [1, "footer-content"], buttonLabel: [1, "button-label"], buttonHref: [1, "button-href"], buttonTarget: [1, "button-target"], buttonRel: [1, "button-rel"], containerHref: [1, "container-href"], containerTarget: [1, "container-target"], containerRel: [1, "container-rel"], imageSrc: [1, "image-src"], imageAlt: [1, "image-alt"], imagePlacement: [1, "image-placement"], customStyles: [1, "custom-styles"], documentPosition: [2, "document-position"] }]]], ["searchcraft-popover-list-item", [[0, "searchcraft-popover-list-item", { titleContent: [1, "title-content"], subtitleContent: [1, "subtitle-content"], imageSrc: [1, "image-src"], imageAlt: [1, "image-alt"], href: [1], documentPosition: [2, "document-position"] }]]], ["searchcraft-button_3", [[0, "searchcraft-button", { iconElement: [16], iconOnly: [4, "icon-only"], iconPosition: [1, "icon-position"], label: [1], isRequesting: [32] }], [0, "searchcraft-input-label", { inputLabelClassName: [1, "input-label-class-name"], label: [1] }], [0, "searchcraft-error-message", { errorMessage: [1, "error-message"] }]]], ["searchcraft-input-form_2", [[0, "searchcraft-input-form", { config: [16], autoSearch: [4, "auto-search"], buttonPlacement: [1, "button-placement"], buttonLabel: [1, "button-label"], inputLabel: [1, "input-label"], customStyles: [1, "custom-styles"], placeholderValue: [1, "placeholder-value"], searchTerm: [1, "search-term"], inputValue: [32], error: [32], isSearchcraftInitialized: [32] }, null, { config: ["onConfigChange"] }], [0, "searchcraft-popover-list-view", { popoverResultMappings: [16], documents: [16] }]]], ["searchcraft-popover-form", [[0, "searchcraft-popover-form", { config: [16], type: [1], popoverResultMappings: [16], hotkey: [1], hotkeyModifier: [1, "hotkey-modifier"], isPopoverVisibleInState: [32], unsubscribe: [32], searchResults: [32], searchTerm: [32], isFocused: [32], breakpointSm: [32], breakpointMd: [32], breakpointLg: [32], modalElement: [32] }]]], ["searchcraft-facet-list_3", [[0, "searchcraft-facet-list", { fieldName: [1, "field-name"], baseFacetRoot: [32], facetRoot: [32], selectedPaths: [32], lastTimeTaken: [32], hasNewSearchTerm: [32], lastQuery: [32], lastSearchMode: [32], lastSortType: [32], unsubscribe: [32] }], [0, "searchcraft-slider", { max: [2], min: [2], granularity: [2], dataType: [1, "data-type"], endValue: [32], startValue: [32], lastFocusedHandle: [32] }], [0, "searchcraft-toggle-button", { label: [1], subLabel: [1, "sub-label"], isActive: [32], unsubscribe: [32], lastQuery: [32] }]]]], t);
868
738
  };
869
739
  (function() {
870
740
  if (typeof window < "u" && window.Reflect !== void 0 && window.customElements !== void 0) {
@@ -874,19 +744,19 @@ const jt = () => {
874
744
  }, HTMLElement.prototype = e.prototype, HTMLElement.prototype.constructor = HTMLElement, Object.setPrototypeOf(HTMLElement, e);
875
745
  }
876
746
  })();
877
- const Qt = {
747
+ const qt = {
878
748
  async install() {
879
- Nt();
749
+ Ft();
880
750
  }
881
751
  };
882
752
  export {
883
- Qt as ComponentLibrary,
884
- Bt as SearchcraftBaseSearchResults,
885
- Ut as SearchcraftFilterPanel,
886
- zt as SearchcraftInputForm,
887
- Ht as SearchcraftPopoverButton,
888
- Mt as SearchcraftPopoverForm,
889
- qt as SearchcraftResultsInfo,
890
- Wt as SearchcraftTheme
753
+ qt as ComponentLibrary,
754
+ jt as SearchcraftBaseSearchResults,
755
+ Nt as SearchcraftFilterPanel,
756
+ Ut as SearchcraftInputForm,
757
+ zt as SearchcraftPopoverButton,
758
+ Ht as SearchcraftPopoverForm,
759
+ Bt as SearchcraftResultsInfo,
760
+ Mt as SearchcraftTheme
891
761
  };
892
762
  //# sourceMappingURL=index.es.js.map