@searchcraft/vue-sdk 0.7.2 → 0.8.1

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.
Files changed (29) hide show
  1. package/dist/components/SearchcraftBaseSearchResults.d.ts +26 -1
  2. package/dist/components/SearchcraftBaseSearchResults.d.ts.map +1 -1
  3. package/dist/components/SearchcraftFilterPanel.d.ts +13 -1
  4. package/dist/components/SearchcraftFilterPanel.d.ts.map +1 -1
  5. package/dist/components/SearchcraftInputForm.d.ts +34 -1
  6. package/dist/components/SearchcraftInputForm.d.ts.map +1 -1
  7. package/dist/components/SearchcraftPagination.d.ts +24 -0
  8. package/dist/components/SearchcraftPagination.d.ts.map +1 -0
  9. package/dist/components/SearchcraftPopoverButton.d.ts +14 -1
  10. package/dist/components/SearchcraftPopoverButton.d.ts.map +1 -1
  11. package/dist/components/SearchcraftPopoverForm.d.ts +21 -1
  12. package/dist/components/SearchcraftPopoverForm.d.ts.map +1 -1
  13. package/dist/components/SearchcraftResultsInfo.d.ts +15 -1
  14. package/dist/components/SearchcraftResultsInfo.d.ts.map +1 -1
  15. package/dist/components/SearchcraftSearchResultsPerPage.d.ts +23 -0
  16. package/dist/components/SearchcraftSearchResultsPerPage.d.ts.map +1 -0
  17. package/dist/components/SearchcraftSelect.d.ts +25 -0
  18. package/dist/components/SearchcraftSelect.d.ts.map +1 -0
  19. package/dist/components/SearchcraftTheme.d.ts +13 -1
  20. package/dist/components/SearchcraftTheme.d.ts.map +1 -1
  21. package/dist/components/index.d.ts +2 -0
  22. package/dist/components/index.d.ts.map +1 -1
  23. package/dist/index.es.js +349 -339
  24. package/dist/index.es.js.map +1 -1
  25. package/dist/index.umd.js +1 -1
  26. package/dist/index.umd.js.map +1 -1
  27. package/dist/stencil-web-components.d.ts +5 -0
  28. package/dist/stencil-web-components.d.ts.map +1 -1
  29. package/package.json +2 -2
package/dist/index.es.js CHANGED
@@ -1,59 +1,56 @@
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
- var s;
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
- }, _ = (e, t, n = [], s = [], r, i) => {
6
- const l = Oe((a, { attrs: o, slots: f, emit: u }) => {
1
+ import { defineComponent as Ie, ref as Ae, getCurrentInstance as Fe, inject as De, h as je } from "vue";
2
+ const B = "routerLink", oe = "navManager", Ne = "router", Ue = "aria", A = Symbol(), le = { default: A }, ie = (e) => (e == null ? void 0 : e.split(" ")) || [], ze = (e, t, s = []) => {
3
+ var n;
4
+ return [...Array.from(((n = e.value) == null ? void 0 : n.classList) || []), ...s].filter((r, i, l) => !t.has(r) && l.indexOf(r) === i);
5
+ }, E = (e, t, s = [], n = [], r, i) => {
6
+ const l = Ie((a, { attrs: o, slots: f, emit: $ }) => {
7
7
  var y;
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)
8
+ const c = Ae(), u = 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, S = (p) => {
9
+ const { routerLink: I } = a;
10
+ if (I !== A)
11
11
  if (g !== void 0) {
12
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);
13
+ let b = { event: p };
14
+ for (const P in a) {
15
+ const m = a[P];
16
+ a.hasOwnProperty(P) && P.startsWith(Ne) && m !== A && (b[P] = m);
17
17
  }
18
- g.navigate(S);
18
+ g.navigate(b);
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], ie(o.class).forEach((b) => {
24
- $.add(b);
23
+ a[r], ie(o.class).forEach((m) => {
24
+ u.add(m);
25
25
  });
26
- const p = a.onClick, O = (b) => {
27
- p !== void 0 && p(b), b.defaultPrevented || m(b);
26
+ const p = a.onClick, I = (m) => {
27
+ p !== void 0 && p(m), m.defaultPrevented || S(m);
28
28
  };
29
- let S = {
29
+ let b = {
30
30
  ref: c,
31
- class: ze(c, $),
32
- onClick: O
31
+ class: ze(c, u),
32
+ onClick: I
33
33
  };
34
- for (const b in a) {
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);
34
+ for (const m in a) {
35
+ const re = a[m];
36
+ (a.hasOwnProperty(m) && re !== A || m.startsWith(Ue)) && (b[m] = re);
37
+ const ae = "on" + m.slice(0, 1).toUpperCase() + m.slice(1), Oe = o[ae];
38
+ c.value && o.hasOwnProperty(ae) && "addEventListener" in c.value && c.value.addEventListener(m, Oe);
39
39
  }
40
- return M in a && a[M] !== I && (S = {
41
- ...S,
42
- href: a[M]
43
- }), je(e, S, f.default && f.default());
40
+ return B in a && a[B] !== A && (b = {
41
+ ...b,
42
+ href: a[B]
43
+ }), je(e, b, f.default && f.default());
44
44
  };
45
45
  });
46
46
  if (typeof l != "function") {
47
47
  let a = [], o = {};
48
- o.ROUTER_LINK_VALUE = le, n.forEach((f) => o[f] = le), a = s, l.name = e, l.emits = a, l.props = o;
48
+ o.ROUTER_LINK_VALUE = le, s.forEach((f) => o[f] = le), a = n, l.name = e, l.emits = a, l.props = o;
49
49
  }
50
50
  return l;
51
- }, He = /* @__PURE__ */ _("searchcraft-base-search-results", void 0, [
52
- "adInterval",
51
+ }, He = /* @__PURE__ */ E("searchcraft-base-search-results", void 0, [
53
52
  "customStylesForResults",
54
53
  "searchResultMappings",
55
- "placeAdAtEnd",
56
- "placeAdAtStart",
57
54
  "resultImagePlacement",
58
55
  "buttonLabel",
59
56
  "buttonTarget",
@@ -63,9 +60,9 @@ const M = "routerLink", oe = "navManager", Ne = "router", Ue = "aria", I = Symbo
63
60
  "noResults"
64
61
  ], [
65
62
  "noResults"
66
- ]), Be = /* @__PURE__ */ _("searchcraft-filter-panel", void 0, [
63
+ ]), Me = /* @__PURE__ */ E("searchcraft-filter-panel", void 0, [
67
64
  "items"
68
- ]), Me = /* @__PURE__ */ _("searchcraft-input-form", void 0, [
65
+ ]), Be = /* @__PURE__ */ E("searchcraft-input-form", void 0, [
69
66
  "config",
70
67
  "autoSearch",
71
68
  "buttonPlacement",
@@ -87,34 +84,45 @@ const M = "routerLink", oe = "navManager", Ne = "router", Ue = "aria", I = Symbo
87
84
  "inputBlur",
88
85
  "inputInit",
89
86
  "querySubmit"
90
- ]), qe = /* @__PURE__ */ _("searchcraft-popover-button"), We = /* @__PURE__ */ _("searchcraft-popover-form", void 0, [
87
+ ]), We = /* @__PURE__ */ E("searchcraft-pagination", void 0, [
88
+ "customStyles"
89
+ ]), qe = /* @__PURE__ */ E("searchcraft-popover-button"), Ge = /* @__PURE__ */ E("searchcraft-popover-form", void 0, [
91
90
  "config",
92
91
  "type",
93
92
  "popoverResultMappings",
94
93
  "hotkey",
95
94
  "hotkeyModifier"
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 = (
95
+ ]), Xe = /* @__PURE__ */ E("searchcraft-results-info", void 0, [
96
+ "customFormatter",
97
+ "customStyles"
98
+ ]), Ke = /* @__PURE__ */ E("searchcraft-search-results-per-page", void 0, [
99
+ "increment",
100
+ "customStyles"
101
+ ]), Ye = /* @__PURE__ */ E("searchcraft-theme", void 0, [
102
+ "theme",
103
+ "customTheme"
104
+ ]), Ut = He, zt = Me, Ht = Be, Mt = qe, Bt = Ge, Wt = Xe, qt = Ye, Gt = We, Xt = Ke, Qe = "searchcraft-javascript-sdk", w = (
97
105
  /* searchcraft-javascript-sdk */
98
106
  { 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 }
99
107
  );
100
- var Ke = Object.defineProperty, Ye = (e, t) => {
101
- for (var n in 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) => {
104
- const n = {
108
+ var Je = Object.defineProperty, Ze = (e, t) => {
109
+ for (var s in t)
110
+ Je(e, s, { get: t[s], enumerable: !0 });
111
+ }, Ve = "http://www.w3.org/2000/svg", et = "http://www.w3.org/1999/xhtml", ye = /* @__PURE__ */ new WeakMap(), k = (e) => ye.get(e), tt = (e, t) => {
112
+ const s = {
105
113
  $flags$: 0,
106
114
  $hostElement$: e,
107
115
  $cmpMeta$: t,
108
116
  $instanceValues$: /* @__PURE__ */ new Map()
109
117
  };
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) => {
112
- const s = e.$tagName$.replace(/-/g, "_"), r = e.$lazyBundleId$;
118
+ return s.$onReadyPromise$ = new Promise((r) => s.$onReadyResolve$ = r), e["s-p"] = [], e["s-rc"] = [], ye.set(e, s);
119
+ }, ce = (e, t) => t in e, O = (e, t) => (0, console.error)(e, t), fe = /* @__PURE__ */ new Map(), st = (e, t, s) => {
120
+ const n = e.$tagName$.replace(/-/g, "_"), r = e.$lazyBundleId$;
113
121
  if (!r)
114
122
  return;
115
123
  const i = fe.get(r);
116
124
  if (i)
117
- return i[s];
125
+ return i[n];
118
126
  /*!__STENCIL_STATIC_IMPORT_SWITCH__*/
119
127
  return import(
120
128
  /* @vite-ignore */
@@ -123,155 +131,155 @@ var Ke = Object.defineProperty, Ye = (e, t) => {
123
131
  /* webpackMode: "lazy" */
124
132
  `./${r}.entry.js`
125
133
  ).then(
126
- (l) => (fe.set(r, l), l[s]),
134
+ (l) => (fe.set(r, l), l[n]),
127
135
  (l) => {
128
- w(l, t.$hostElement$);
136
+ O(l, t.$hostElement$);
129
137
  }
130
138
  );
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 = {
139
+ }, nt = "{visibility:hidden}.hydrated{visibility:inherit}", rt = "slot-fb{display:contents}slot-fb[hidden]{display:none}", M = typeof window < "u" ? window : {}, T = M.document || { head: {} }, v = {
132
140
  $flags$: 0,
133
141
  $resourcesUrl$: "",
134
142
  jmp: (e) => e(),
135
143
  raf: (e) => requestAnimationFrame(e),
136
- ael: (e, t, n, s) => e.addEventListener(t, n, s),
137
- rel: (e, t, n, s) => e.removeEventListener(t, n, s),
144
+ ael: (e, t, s, n) => e.addEventListener(t, s, n),
145
+ rel: (e, t, s, n) => e.removeEventListener(t, s, n),
138
146
  ce: (e, t) => new CustomEvent(e, t)
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) => {
147
+ }, at = w.shadowDom, ot = (e) => Promise.resolve(e), q = !1, ue = [], me = [], lt = (e, t) => (s) => {
148
+ e.push(s), q || (q = !0, v.$flags$ & 4 ? Z(G) : v.raf(G));
149
+ }, $e = (e) => {
142
150
  for (let t = 0; t < e.length; t++)
143
151
  try {
144
152
  e[t](performance.now());
145
- } catch (n) {
146
- w(n);
153
+ } catch (s) {
154
+ O(s);
147
155
  }
148
156
  e.length = 0;
149
157
  }, 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) {
153
- var t, n, s;
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;
158
+ $e(ue), $e(me), (q = ue.length > 0) && v.raf(G);
159
+ }, Z = (e) => ot().then(e), it = /* @__PURE__ */ lt(me), V = (e) => (e = typeof e, e === "object" || e === "function");
160
+ function ct(e) {
161
+ var t, s, n;
162
+ return (n = (s = (t = e.head) == null ? void 0 : t.querySelector('meta[name="csp-nonce"]')) == null ? void 0 : s.getAttribute("content")) != null ? n : void 0;
155
163
  }
156
- var it = {};
157
- Ye(it, {
158
- err: () => me,
159
- map: () => ct,
160
- ok: () => Q,
161
- unwrap: () => ft,
162
- unwrapErr: () => $t
164
+ var ft = {};
165
+ Ze(ft, {
166
+ err: () => Se,
167
+ map: () => ut,
168
+ ok: () => X,
169
+ unwrap: () => $t,
170
+ unwrapErr: () => dt
163
171
  });
164
- var Q = (e) => ({
172
+ var X = (e) => ({
165
173
  isOk: !0,
166
174
  isErr: !1,
167
175
  value: e
168
- }), me = (e) => ({
176
+ }), Se = (e) => ({
169
177
  isOk: !1,
170
178
  isErr: !0,
171
179
  value: e
172
180
  });
173
- function ct(e, t) {
181
+ function ut(e, t) {
174
182
  if (e.isOk) {
175
- const n = t(e.value);
176
- return n instanceof Promise ? n.then((s) => Q(s)) : Q(n);
183
+ const s = t(e.value);
184
+ return s instanceof Promise ? s.then((n) => X(n)) : X(s);
177
185
  }
178
186
  if (e.isErr) {
179
- const n = e.value;
180
- return me(n);
187
+ const s = e.value;
188
+ return Se(s);
181
189
  }
182
190
  throw "should never get here";
183
191
  }
184
- var ft = (e) => {
192
+ var $t = (e) => {
185
193
  if (e.isOk)
186
194
  return e.value;
187
195
  throw e.value;
188
- }, $t = (e) => {
196
+ }, dt = (e) => {
189
197
  if (e.isErr)
190
198
  return e.value;
191
199
  throw e.value;
192
- }, Se = (e) => {
200
+ }, be = (e) => {
193
201
  const t = e.__childNodes || e.childNodes;
194
- e.tagName && e.tagName.includes("-") && e["s-cr"] && e.tagName !== "SLOT-FB" && Te(t, e.tagName).forEach((n) => {
195
- var s;
196
- n.nodeType === 1 && n.tagName === "SLOT-FB" && ((s = ut(n, n["s-sn"], !1)) != null && s.length ? n.hidden = !0 : n.hidden = !1);
202
+ e.tagName && e.tagName.includes("-") && e["s-cr"] && e.tagName !== "SLOT-FB" && Re(t, e.tagName).forEach((s) => {
203
+ var n;
204
+ s.nodeType === 1 && s.tagName === "SLOT-FB" && ((n = ht(s, s["s-sn"], !1)) != null && n.length ? s.hidden = !0 : s.hidden = !1);
197
205
  });
198
- for (const n of t)
199
- n.nodeType === 1 && (n.__childNodes || n.childNodes).length && Se(n);
206
+ for (const s of t)
207
+ s.nodeType === 1 && (s.__childNodes || s.childNodes).length && be(s);
200
208
  };
201
- function Te(e, t, n) {
202
- let s = 0, r = [], i;
203
- for (; s < e.length; s++)
204
- i = e[s], i["s-sr"] && i["s-hn"] === t && n === void 0 && r.push(i), r = [...r, ...Te(i.childNodes, t, n)];
209
+ function Re(e, t, s) {
210
+ let n = 0, r = [], i;
211
+ for (; n < e.length; n++)
212
+ i = e[n], i["s-sr"] && i["s-hn"] === t && s === void 0 && r.push(i), r = [...r, ...Re(i.childNodes, t, s)];
205
213
  return r;
206
214
  }
207
- var ut = (e, t, n = !0) => {
208
- const s = [];
209
- for ((n && e["s-sr"] || !e["s-sr"]) && s.push(e); (e = e.nextSibling) && e["s-sn"] === t; )
210
- s.push(e);
211
- return s;
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) => {
215
- let s = null, r = null, i = null, l = !1, a = !1;
215
+ var ht = (e, t, s = !0) => {
216
+ const n = [];
217
+ for ((s && e["s-sr"] || !e["s-sr"]) && n.push(e); (e = e.nextSibling) && e["s-sn"] === t; )
218
+ n.push(e);
219
+ return n;
220
+ }, de = (e, t) => e.nodeType === 1 ? e.getAttribute("slot") === null && t === "" || e.getAttribute("slot") === t : e["s-sn"] === t ? !0 : t === "", L = (e, t = "") => () => {
221
+ }, pt = (e, t) => () => {
222
+ }, gt = (e, t, ...s) => {
223
+ let n = null, r = null, i = null, l = !1, a = !1;
216
224
  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);
225
+ for (let u = 0; u < c.length; u++)
226
+ n = c[u], Array.isArray(n) ? f(n) : n != null && typeof n != "boolean" && ((l = !V(n)) && (n = String(n)), l && a ? o[o.length - 1].$text$ += n : o.push(l ? K(null, n) : n), a = l);
219
227
  };
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) => {
224
- const n = {
228
+ f(s);
229
+ const $ = K(e, null);
230
+ return $.$attrs$ = t, o.length > 0 && ($.$children$ = o), $.$key$ = r, $.$name$ = i, $;
231
+ }, K = (e, t) => {
232
+ const s = {
225
233
  $flags$: 0,
226
234
  $tag$: e,
227
235
  $text$: t,
228
236
  $elm$: null,
229
237
  $children$: null
230
238
  };
231
- return n.$attrs$ = null, n.$key$ = null, n.$name$ = null, 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) => {
233
- const s = v.ce(t, n);
234
- return e.dispatchEvent(s), s;
235
- }, j = /* @__PURE__ */ new WeakMap(), he = (e, t, n, s, r, i) => {
236
- if (n !== s) {
239
+ return s.$attrs$ = null, s.$key$ = null, s.$name$ = null, s;
240
+ }, vt = {}, yt = (e) => e && e.$tag$ === vt, Y = (e, t) => e != null && !V(e) ? t & 4 ? e === "false" ? !1 : e === "" || !!e : t & 2 ? parseFloat(e) : t & 1 ? String(e) : e : e, mt = (e, t, s) => {
241
+ const n = v.ce(t, s);
242
+ return e.dispatchEvent(n), n;
243
+ }, j = /* @__PURE__ */ new WeakMap(), he = (e, t, s, n, r, i) => {
244
+ if (s !== n) {
237
245
  let l = ce(e, t), a = t.toLowerCase();
238
246
  if (t === "class") {
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))));
247
+ const o = e.classList, f = pe(s);
248
+ let $ = pe(n);
249
+ e["s-si"] ? ($.push(e["s-si"]), f.forEach((c) => {
250
+ c.startsWith(e["s-si"]) && $.push(c);
251
+ }), $ = [...new Set($)], o.add(...$), delete e["s-si"]) : (o.remove(...f.filter((c) => c && !$.includes(c))), o.add(...$.filter((c) => c && !f.includes(c))));
244
252
  } else if (t === "style") {
245
- for (const o in n)
246
- (!s || s[o] == null) && (o.includes("-") ? e.style.removeProperty(o) : e.style[o] = "");
247
253
  for (const o in s)
248
- (!n || s[o] !== n[o]) && (o.includes("-") ? e.style.setProperty(o, s[o]) : e.style[o] = s[o]);
254
+ (!n || n[o] == null) && (o.includes("-") ? e.style.removeProperty(o) : e.style[o] = "");
255
+ for (const o in n)
256
+ (!s || n[o] !== s[o]) && (o.includes("-") ? e.style.setProperty(o, n[o]) : e.style[o] = n[o]);
249
257
  } else if (t !== "key") if (!l && t[0] === "o" && t[1] === "n") {
250
- if (t[2] === "-" ? t = t.slice(3) : ce(B, a) ? t = a.slice(2) : t = a[2] + t.slice(3), n || s) {
251
- const o = t.endsWith(ke);
252
- t = t.replace(bt, ""), n && v.rel(e, t, n, o), s && v.ael(e, t, s, o);
258
+ if (t[2] === "-" ? t = t.slice(3) : ce(M, a) ? t = a.slice(2) : t = a[2] + t.slice(3), s || n) {
259
+ const o = t.endsWith(Pe);
260
+ t = t.replace(bt, ""), s && v.rel(e, t, s, o), n && v.ael(e, t, n, o);
253
261
  }
254
262
  } else {
255
- const o = V(s);
256
- if ((l || o && s !== null) && !r)
263
+ const o = V(n);
264
+ if ((l || o && n !== null) && !r)
257
265
  try {
258
266
  if (e.tagName.includes("-"))
259
- e[t] !== s && (e[t] = s);
267
+ e[t] !== n && (e[t] = n);
260
268
  else {
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));
269
+ const f = n ?? "";
270
+ t === "list" ? l = !1 : (s == null || e[t] != f) && (typeof e.__lookupSetter__(t) == "function" ? e[t] = f : e.setAttribute(t, f));
263
271
  }
264
272
  } catch {
265
273
  }
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));
274
+ n == null || n === !1 ? (n !== !1 || e.getAttribute(t) === "") && e.removeAttribute(t) : (!l || i & 4 || r) && !o && (n = n === !0 ? "" : n, e.setAttribute(t, n));
267
275
  }
268
276
  }
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) => {
270
- const s = t.$elm$.nodeType === 11 && t.$elm$.host ? t.$elm$.host : t.$elm$, r = e && e.$attrs$ || {}, i = t.$attrs$ || {};
277
+ }, St = /\s/, pe = (e) => (typeof e == "object" && "baseVal" in e && (e = e.baseVal), e ? e.split(St) : []), Pe = "Capture", bt = new RegExp(Pe + "$"), Te = (e, t, s) => {
278
+ const n = t.$elm$.nodeType === 11 && t.$elm$.host ? t.$elm$.host : t.$elm$, r = e && e.$attrs$ || {}, i = t.$attrs$ || {};
271
279
  for (const l of ge(Object.keys(r)))
272
- l in i || he(s, l, r[l], void 0, n, t.$flags$);
280
+ l in i || he(n, l, r[l], void 0, s, t.$flags$);
273
281
  for (const l of ge(Object.keys(i)))
274
- he(s, l, r[l], i[l], n, t.$flags$);
282
+ he(n, l, r[l], i[l], s, t.$flags$);
275
283
  };
276
284
  function ge(e) {
277
285
  return e.includes("ref") ? (
@@ -282,9 +290,9 @@ function ge(e) {
282
290
  e
283
291
  );
284
292
  }
285
- var Y, ee, U = !1, z = !1, te = !1, T = !1, H = (e, t, n) => {
286
- var s;
287
- const r = t.$children$[n];
293
+ var Q, ee, U = !1, z = !1, te = !1, R = !1, H = (e, t, s) => {
294
+ var n;
295
+ const r = t.$children$[s];
288
296
  let i = 0, l, a, o;
289
297
  if (U || (te = !0, r.$tag$ === "slot" && (r.$flags$ |= r.$children$ ? (
290
298
  // slot element has fallback content
@@ -296,95 +304,95 @@ var Y, ee, U = !1, z = !1, te = !1, T = !1, H = (e, t, n) => {
296
304
  // where actual slot content should sit next to
297
305
  1
298
306
  ))), r.$text$ !== null)
299
- l = r.$elm$ = E.createTextNode(r.$text$);
307
+ l = r.$elm$ = T.createTextNode(r.$text$);
300
308
  else if (r.$flags$ & 1)
301
- l = r.$elm$ = E.createTextNode("");
309
+ l = r.$elm$ = T.createTextNode("");
302
310
  else {
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$)
311
+ if (R || (R = r.$tag$ === "svg"), l = r.$elm$ = T.createElementNS(
312
+ R ? Ve : et,
313
+ !U && w.slotRelocation && r.$flags$ & 2 ? "slot-fb" : r.$tag$
314
+ ), R && r.$tag$ === "foreignObject" && (R = !1), Te(null, r, R), r.$children$)
307
315
  for (i = 0; i < r.$children$.length; ++i)
308
316
  a = H(e, r, i), a && l.appendChild(a);
309
- r.$tag$ === "svg" ? T = !1 : l.tagName === "foreignObject" && (T = !0);
317
+ r.$tag$ === "svg" ? R = !1 : l.tagName === "foreignObject" && (R = !0);
310
318
  }
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;
319
+ return l["s-hn"] = ee, r.$flags$ & 3 && (l["s-sr"] = !0, l["s-cr"] = Q, l["s-sn"] = r.$name$ || "", l["s-rf"] = (n = r.$attrs$) == null ? void 0 : n.ref, o = e && e.$children$ && e.$children$[s], o && o.$tag$ === r.$tag$ && e.$elm$ && F(e.$elm$, !1)), l;
312
320
  }, F = (e, t) => {
313
321
  v.$flags$ |= 1;
314
- const n = Array.from(e.__childNodes || e.childNodes);
315
- e["s-sr"] && A.experimentalSlotFixes;
316
- for (let s = n.length - 1; s >= 0; s--) {
317
- const r = n[s];
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);
322
+ const s = Array.from(e.__childNodes || e.childNodes);
323
+ e["s-sr"] && w.experimentalSlotFixes;
324
+ for (let n = s.length - 1; n >= 0; n--) {
325
+ const r = s[n];
326
+ r["s-hn"] !== ee && r["s-ol"] && (_(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);
319
327
  }
320
328
  v.$flags$ &= -2;
321
- }, Re = (e, t, n, s, r, i) => {
329
+ }, ke = (e, t, s, n, r, i) => {
322
330
  let l = e["s-cr"] && e["s-cr"].parentNode || e, a;
323
331
  for (; r <= i; ++r)
324
- s[r] && (a = H(null, n, r), a && (s[r].$elm$ = a, L(l, a, D(t))));
325
- }, Ce = (e, t, n) => {
326
- for (let s = t; s <= n; ++s) {
327
- const r = e[s];
332
+ n[r] && (a = H(null, s, r), a && (n[r].$elm$ = a, _(l, a, D(t))));
333
+ }, Ce = (e, t, s) => {
334
+ for (let n = t; n <= s; ++n) {
335
+ const r = e[n];
328
336
  if (r) {
329
337
  const i = r.$elm$;
330
338
  i && (z = !0, i["s-ol"] ? i["s-ol"].remove() : F(i, !0), i.remove());
331
339
  }
332
340
  }
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];
341
+ }, Rt = (e, t, s, n, r = !1) => {
342
+ let i = 0, l = 0, a = 0, o = 0, f = t.length - 1, $ = t[0], c = t[f], u = n.length - 1, d = n[0], h = n[u], g, S;
343
+ for (; i <= f && l <= u; )
344
+ if ($ == null)
345
+ $ = t[++i];
338
346
  else if (c == null)
339
347
  c = t[--f];
340
348
  else if (d == null)
341
- d = s[++l];
349
+ d = n[++l];
342
350
  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];
351
+ h = n[--u];
352
+ else if (N($, d, r))
353
+ x($, d, r), $ = t[++i], d = n[++l];
346
354
  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[--$];
355
+ x(c, h, r), c = t[--f], h = n[--u];
356
+ else if (N($, h, r))
357
+ ($.$tag$ === "slot" || h.$tag$ === "slot") && F($.$elm$.parentNode, !1), x($, h, r), _(e, $.$elm$, c.$elm$.nextSibling), $ = t[++i], h = n[--u];
350
358
  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];
359
+ ($.$tag$ === "slot" || h.$tag$ === "slot") && F(c.$elm$.parentNode, !1), x(c, d, r), _(e, c.$elm$, $.$elm$), c = t[--f], d = n[++l];
352
360
  else {
353
361
  for (a = -1, o = i; o <= f; ++o)
354
362
  if (t[o] && t[o].$key$ !== null && t[o].$key$ === d.$key$) {
355
363
  a = o;
356
364
  break;
357
365
  }
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,
366
+ a >= 0 ? (S = t[a], S.$tag$ !== d.$tag$ ? g = H(t && t[l], s, a) : (x(S, d, r), t[a] = void 0, g = S.$elm$), d = n[++l]) : (g = H(t && t[l], s, l), d = n[++l]), g && _(
367
+ D($.$elm$).parentNode,
360
368
  g,
361
- D(u.$elm$)
369
+ D($.$elm$)
362
370
  );
363
371
  }
364
- i > f ? Re(
372
+ i > f ? ke(
365
373
  e,
366
- s[$ + 1] == null ? null : s[$ + 1].$elm$,
367
- n,
374
+ n[u + 1] == null ? null : n[u + 1].$elm$,
368
375
  s,
376
+ n,
369
377
  l,
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) => {
373
- const s = t.$elm$ = e.$elm$, r = e.$children$, i = t.$children$, l = t.$tag$, a = t.$text$;
378
+ u
379
+ ) : l > u && Ce(t, i, f);
380
+ }, N = (e, t, s = !1) => e.$tag$ === t.$tag$ ? e.$tag$ === "slot" ? e.$name$ === t.$name$ : s ? (s && !e.$key$ && t.$key$ && (e.$key$ = t.$key$), !0) : e.$key$ === t.$key$ : !1, D = (e) => e && e["s-ol"] || e, x = (e, t, s = !1) => {
381
+ const n = t.$elm$ = e.$elm$, r = e.$children$, i = t.$children$, l = t.$tag$, a = t.$text$;
374
382
  let o;
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)) : (
383
+ a === null ? (R = l === "svg" ? !0 : l === "foreignObject" ? !1 : R, l === "slot" && !U || Te(e, t, R), r !== null && i !== null ? Rt(n, r, t, i, s) : i !== null ? (e.$text$ !== null && (n.textContent = ""), ke(n, null, t, i, 0, i.length - 1)) : (
376
384
  // don't do this on initial render as it can cause non-hydrated content to be removed
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) => {
380
- let t, n, s;
385
+ !s && w.updatable && r !== null && Ce(r, 0, r.length - 1)
386
+ ), R && l === "svg" && (R = !1)) : (o = n["s-cr"]) ? o.parentNode.textContent = a : e.$text$ !== a && (n.data = a);
387
+ }, C = [], Ee = (e) => {
388
+ let t, s, n;
381
389
  const r = e.__childNodes || e.childNodes;
382
390
  for (const i of r) {
383
391
  if (i["s-sr"] && (t = i["s-cr"]) && t.parentNode) {
384
- n = t.parentNode.__childNodes || t.parentNode.childNodes;
392
+ s = t.parentNode.__childNodes || t.parentNode.childNodes;
385
393
  const l = i["s-sn"];
386
- for (s = n.length - 1; s >= 0; s--)
387
- if (t = n[s], !t["s-cn"] && !t["s-nr"] && t["s-hn"] !== i["s-hn"])
394
+ for (n = s.length - 1; n >= 0; n--)
395
+ if (t = s[n], !t["s-cn"] && !t["s-nr"] && t["s-hn"] !== i["s-hn"])
388
396
  if (de(t, l)) {
389
397
  let a = C.find((o) => o.$nodeToRelocate$ === t);
390
398
  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({
@@ -397,32 +405,32 @@ var Y, ee, U = !1, z = !1, te = !1, T = !1, H = (e, t, n) => {
397
405
  $nodeToRelocate$: t
398
406
  });
399
407
  }
400
- i.nodeType === 1 && Le(i);
408
+ i.nodeType === 1 && Ee(i);
401
409
  }
402
- }, L = (e, t, n) => e == null ? void 0 : e.insertBefore(t, n), St = (e, t, n = !1) => {
403
- var s, r, i, l;
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);
410
+ }, _ = (e, t, s) => e == null ? void 0 : e.insertBefore(t, s), Pt = (e, t, s = !1) => {
411
+ var n, r, i, l;
412
+ const a = e.$hostElement$, o = e.$vnode$ || K(null, null), f = yt(t) ? t : gt(null, null, t);
413
+ if (ee = a.tagName, s && f.$attrs$)
414
+ for (const $ of Object.keys(f.$attrs$))
415
+ a.hasAttribute($) && !["key", "ref", "style", "class"].includes($) && (f.$attrs$[$] = a[$]);
416
+ f.$tag$ = null, f.$flags$ |= 4, e.$vnode$ = f, f.$elm$ = o.$elm$ = a, U = at, Q = a["s-cr"], z = !1, x(o, f, s);
409
417
  {
410
418
  if (v.$flags$ |= 1, te) {
411
- Le(f.$elm$);
412
- for (const u of C) {
413
- const c = u.$nodeToRelocate$;
419
+ Ee(f.$elm$);
420
+ for (const $ of C) {
421
+ const c = $.$nodeToRelocate$;
414
422
  if (!c["s-ol"]) {
415
- const $ = E.createTextNode("");
416
- $["s-nr"] = c, L(c.parentNode, c["s-ol"] = $, c);
423
+ const u = T.createTextNode("");
424
+ u["s-nr"] = c, _(c.parentNode, c["s-ol"] = u, c);
417
425
  }
418
426
  }
419
- for (const u of C) {
420
- const c = u.$nodeToRelocate$, $ = u.$slotRefNode$;
421
- if ($) {
422
- const d = $.parentNode;
423
- let h = $.nextSibling;
427
+ for (const $ of C) {
428
+ const c = $.$nodeToRelocate$, u = $.$slotRefNode$;
429
+ if (u) {
430
+ const d = u.parentNode;
431
+ let h = u.nextSibling;
424
432
  {
425
- let y = (s = c["s-ol"]) == null ? void 0 : s.previousSibling;
433
+ let y = (n = c["s-ol"]) == null ? void 0 : n.previousSibling;
426
434
  for (; y; ) {
427
435
  let p = (r = y["s-nr"]) != null ? r : null;
428
436
  if (p && p["s-sn"] === c["s-sn"] && d === (p.__parentNode || p.parentNode)) {
@@ -436,162 +444,162 @@ var Y, ee, U = !1, z = !1, te = !1, T = !1, H = (e, t, n) => {
436
444
  y = y.previousSibling;
437
445
  }
438
446
  }
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);
447
+ const g = c.__parentNode || c.parentNode, S = c.__nextSibling || c.nextSibling;
448
+ (!h && d !== g || S !== h) && c !== h && (!c["s-hn"] && c["s-ol"] && (c["s-hn"] = c["s-ol"].parentNode.nodeName), _(d, c, h), c.nodeType === 1 && c.tagName !== "SLOT-FB" && (c.hidden = (i = c["s-ih"]) != null ? i : !1)), c && typeof u["s-rf"] == "function" && u["s-rf"](c);
441
449
  } else
442
- c.nodeType === 1 && (n && (c["s-ih"] = (l = c.hidden) != null ? l : !1), c.hidden = !0);
450
+ c.nodeType === 1 && (s && (c["s-ih"] = (l = c.hidden) != null ? l : !1), c.hidden = !0);
443
451
  }
444
452
  }
445
- z && Se(f.$elm$), v.$flags$ &= -2, C.length = 0;
453
+ z && be(f.$elm$), v.$flags$ &= -2, C.length = 0;
446
454
  }
447
- Y = void 0;
448
- }, Pe = (e, t) => {
455
+ Q = void 0;
456
+ }, _e = (e, t) => {
449
457
  if (t && !e.$onRenderResolve$ && t["s-p"]) {
450
- const n = t["s-p"].push(
458
+ const s = t["s-p"].push(
451
459
  new Promise(
452
- (s) => e.$onRenderResolve$ = () => {
453
- t["s-p"].splice(n - 1, 1), s();
460
+ (n) => e.$onRenderResolve$ = () => {
461
+ t["s-p"].splice(s - 1, 1), n();
454
462
  }
455
463
  )
456
464
  );
457
465
  }
458
- }, ne = (e, t) => {
466
+ }, se = (e, t) => {
459
467
  if (e.$flags$ |= 16, e.$flags$ & 4) {
460
468
  e.$flags$ |= 512;
461
469
  return;
462
470
  }
463
- return Pe(e, e.$ancestorComponent$), ot(() => Tt(e, t));
471
+ return _e(e, e.$ancestorComponent$), it(() => Tt(e, t));
464
472
  }, Tt = (e, t) => {
465
- const n = e.$hostElement$, s = P("scheduleUpdate", e.$cmpMeta$.$tagName$), r = e.$lazyInstance$;
473
+ const s = e.$hostElement$, n = L("scheduleUpdate", e.$cmpMeta$.$tagName$), r = e.$lazyInstance$;
466
474
  if (!r)
467
475
  throw new Error(
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`
476
+ `Can't render component <${s.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`
469
477
  );
470
478
  let i;
471
- return s(), kt(i, () => Rt(e, r, t));
472
- }, kt = (e, t) => Et(e) ? e.then(t).catch((n) => {
473
- console.error(n), t();
474
- }) : t(), Et = (e) => e instanceof Promise || e && e.then && typeof e.then == "function", Rt = async (e, t, n) => {
475
- var s;
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();
479
+ return n(), kt(i, () => Et(e, r, t));
480
+ }, kt = (e, t) => Ct(e) ? e.then(t).catch((s) => {
481
+ console.error(s), t();
482
+ }) : t(), Ct = (e) => e instanceof Promise || e && e.then && typeof e.then == "function", Et = async (e, t, s) => {
483
+ var n;
484
+ const r = e.$hostElement$, i = L("update", e.$cmpMeta$.$tagName$), l = r["s-rc"], a = L("render", e.$cmpMeta$.$tagName$);
485
+ _t(e, t, r, s), l && (l.map((o) => o()), r["s-rc"] = void 0), a(), i();
478
486
  {
479
- const o = (s = r["s-p"]) != null ? s : [], f = () => Lt(e);
487
+ const o = (n = r["s-p"]) != null ? n : [], f = () => Lt(e);
480
488
  o.length === 0 ? f() : (Promise.all(o).then(f), e.$flags$ |= 4, o.length = 0);
481
489
  }
482
- }, Ct = (e, t, n, s) => {
490
+ }, _t = (e, t, s, n) => {
483
491
  try {
484
- t = t.render(), e.$flags$ &= -17, e.$flags$ |= 2, St(e, t, s);
492
+ t = t.render(), e.$flags$ &= -17, e.$flags$ |= 2, Pt(e, t, n);
485
493
  } catch (r) {
486
- w(r, e.$hostElement$);
494
+ O(r, e.$hostElement$);
487
495
  }
488
496
  return null;
489
497
  }, 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) => {
498
+ const t = e.$cmpMeta$.$tagName$, s = e.$hostElement$, n = L("postUpdate", t), r = e.$lazyInstance$, i = e.$ancestorComponent$;
499
+ e.$flags$ & 64 ? n() : (e.$flags$ |= 64, xe(s), ne(r, "componentDidLoad", void 0, s), n(), e.$onReadyResolve$(s), i || Le()), e.$onRenderResolve$ && (e.$onRenderResolve$(), e.$onRenderResolve$ = void 0), e.$flags$ & 512 && Z(() => se(e, !1)), e.$flags$ &= -517;
500
+ }, Le = (e) => {
501
+ xe(T.documentElement), Z(() => mt(M, "appload", { detail: { namespace: Qe } }));
502
+ }, ne = (e, t, s, n) => {
495
503
  if (e && e[t])
496
504
  try {
497
- return e[t](n);
505
+ return e[t](s);
498
506
  } catch (r) {
499
- w(r, s);
507
+ O(r, n);
500
508
  }
501
509
  }, xe = (e) => {
502
510
  var t;
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);
511
+ return e.classList.add((t = w.hydratedSelectorName) != null ? t : "hydrated");
512
+ }, xt = (e, t) => k(e).$instanceValues$.get(t), W = (e, t, s, n) => {
513
+ const r = k(e);
506
514
  if (!r)
507
515
  throw new Error(
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).`
516
+ `Couldn't find host element for "${n.$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).`
509
517
  );
510
518
  const i = r.$hostElement$, l = r.$instanceValues$.get(t), a = r.$flags$, o = r.$lazyInstance$;
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)) {
514
- if (s.$watchers$ && a & 128) {
515
- const c = s.$watchers$[t];
516
- c && c.map(($) => {
519
+ s = Y(s, n.$members$[t][0]);
520
+ const f = Number.isNaN(l) && Number.isNaN(s), $ = s !== l && !f;
521
+ if ((!(a & 8) || l === void 0) && $ && (r.$instanceValues$.set(t, s), o)) {
522
+ if (n.$watchers$ && a & 128) {
523
+ const c = n.$watchers$[t];
524
+ c && c.map((u) => {
517
525
  try {
518
- o[$](n, l, t);
526
+ o[u](s, l, t);
519
527
  } catch (d) {
520
- w(d, i);
528
+ O(d, i);
521
529
  }
522
530
  });
523
531
  }
524
- (a & 18) === 2 && ne(r, !1);
532
+ (a & 18) === 2 && se(r, !1);
525
533
  }
526
- }, Ae = (e, t, n) => {
527
- var s, r;
534
+ }, we = (e, t, s) => {
535
+ var n, r;
528
536
  const i = e.prototype;
529
537
  if (t.$members$ || t.$watchers$ || e.watchers) {
530
538
  e.watchers && !t.$watchers$ && (t.$watchers$ = e.watchers);
531
- const l = Object.entries((s = t.$members$) != null ? s : {});
539
+ const l = Object.entries((n = t.$members$) != null ? n : {});
532
540
  if (l.map(([a, [o]]) => {
533
- if (o & 31 || n & 2 && o & 32) {
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, {
541
+ if (o & 31 || s & 2 && o & 32) {
542
+ const { get: f, set: $ } = Object.getOwnPropertyDescriptor(i, a) || {};
543
+ f && (t.$members$[a][0] |= 2048), $ && (t.$members$[a][0] |= 4096), (s & 1 || !f) && Object.defineProperty(i, a, {
536
544
  get() {
537
545
  {
538
546
  if (!(t.$members$[a][0] & 2048))
539
- return Pt(this, a);
540
- const c = R(this), $ = c ? c.$lazyInstance$ : i;
541
- return $ ? $[a] : void 0;
547
+ return xt(this, a);
548
+ const c = k(this), u = c ? c.$lazyInstance$ : i;
549
+ return u ? u[a] : void 0;
542
550
  }
543
551
  },
544
552
  configurable: !0,
545
553
  enumerable: !0
546
554
  }), Object.defineProperty(i, a, {
547
555
  set(c) {
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);
556
+ const u = k(this);
557
+ if ($) {
558
+ const d = o & 32 ? this[a] : u.$hostElement$[a];
559
+ typeof d > "u" && u.$instanceValues$.get(a) ? c = u.$instanceValues$.get(a) : !u.$instanceValues$.get(a) && d && u.$instanceValues$.set(a, d), $.apply(this, [Y(c, o)]), c = o & 32 ? this[a] : u.$hostElement$[a], W(this, a, c, t);
552
560
  return;
553
561
  }
554
562
  {
555
- if (!(n & 1) || !(t.$members$[a][0] & 4096)) {
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);
563
+ if (!(s & 1) || !(t.$members$[a][0] & 4096)) {
564
+ W(this, a, c, t), s & 1 && !u.$lazyInstance$ && u.$onReadyPromise$.then(() => {
565
+ t.$members$[a][0] & 4096 && u.$lazyInstance$[a] !== u.$instanceValues$.get(a) && (u.$lazyInstance$[a] = c);
558
566
  });
559
567
  return;
560
568
  }
561
569
  const d = () => {
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);
570
+ const h = u.$lazyInstance$[a];
571
+ !u.$instanceValues$.get(a) && h && u.$instanceValues$.set(a, h), u.$lazyInstance$[a] = Y(c, o), W(this, a, u.$lazyInstance$[a], t);
564
572
  };
565
- $.$lazyInstance$ ? d() : $.$onReadyPromise$.then(() => d());
573
+ u.$lazyInstance$ ? d() : u.$onReadyPromise$.then(() => d());
566
574
  }
567
575
  }
568
576
  });
569
577
  }
570
- }), n & 1) {
578
+ }), s & 1) {
571
579
  const a = /* @__PURE__ */ new Map();
572
- i.attributeChangedCallback = function(o, f, u) {
580
+ i.attributeChangedCallback = function(o, f, $) {
573
581
  v.jmp(() => {
574
582
  var c;
575
- const $ = a.get(o);
576
- if (this.hasOwnProperty($) && A.lazyLoad)
577
- u = this[$], delete this[$];
583
+ const u = a.get(o);
584
+ if (this.hasOwnProperty(u) && w.lazyLoad)
585
+ $ = this[u], delete this[u];
578
586
  else {
579
- if (i.hasOwnProperty($) && typeof this[$] == "number" && // cast type to number to avoid TS compiler issues
580
- this[$] == u)
587
+ if (i.hasOwnProperty(u) && typeof this[u] == "number" && // cast type to number to avoid TS compiler issues
588
+ this[u] == $)
581
589
  return;
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];
590
+ if (u == null) {
591
+ const h = k(this), g = h == null ? void 0 : h.$flags$;
592
+ if (g && !(g & 8) && g & 128 && $ !== f) {
593
+ const S = h.$lazyInstance$, y = (c = t.$watchers$) == null ? void 0 : c[o];
586
594
  y == null || y.forEach((p) => {
587
- m[p] != null && m[p].call(m, u, f, o);
595
+ S[p] != null && S[p].call(S, $, f, o);
588
596
  });
589
597
  }
590
598
  return;
591
599
  }
592
600
  }
593
- const d = Object.getOwnPropertyDescriptor(i, $);
594
- u = u === null && typeof this[$] == "boolean" ? !1 : u, u !== this[$] && (!d.get || d.set) && (this[$] = u);
601
+ const d = Object.getOwnPropertyDescriptor(i, u);
602
+ $ = $ === null && typeof this[u] == "boolean" ? !1 : $, $ !== this[u] && (!d.get || d.set) && (this[u] = $);
595
603
  });
596
604
  }, e.observedAttributes = Array.from(
597
605
  /* @__PURE__ */ new Set([
@@ -600,141 +608,141 @@ var Y, ee, U = !1, z = !1, te = !1, T = !1, H = (e, t, n) => {
600
608
  ([o, f]) => f[0] & 15
601
609
  /* HasAttribute */
602
610
  ).map(([o, f]) => {
603
- const u = f[1] || o;
604
- return a.set(u, o), u;
611
+ const $ = f[1] || o;
612
+ return a.set($, o), $;
605
613
  })
606
614
  ])
607
615
  );
608
616
  }
609
617
  }
610
618
  return e;
611
- }, _t = async (e, t, n, s) => {
619
+ }, wt = async (e, t, s, n) => {
612
620
  let r;
613
621
  if (!(t.$flags$ & 32)) {
614
622
  t.$flags$ |= 32;
615
623
  {
616
- const a = et(n, t);
624
+ const a = st(s, t);
617
625
  if (a && "then" in a) {
618
- const f = dt();
626
+ const f = pt();
619
627
  r = await a, f();
620
628
  } else
621
629
  r = a;
622
630
  if (!r)
623
- throw new Error(`Constructor for "${n.$tagName$}#${t.$modeName$}" was not found`);
624
- r.isProxied || (n.$watchers$ = r.watchers, Ae(
631
+ throw new Error(`Constructor for "${s.$tagName$}#${t.$modeName$}" was not found`);
632
+ r.isProxied || (s.$watchers$ = r.watchers, we(
625
633
  r,
626
- n,
634
+ s,
627
635
  2
628
636
  /* proxyState */
629
637
  ), r.isProxied = !0);
630
- const o = P("createInstance", n.$tagName$);
638
+ const o = L("createInstance", s.$tagName$);
631
639
  t.$flags$ |= 8;
632
640
  try {
633
641
  new r(t);
634
642
  } catch (f) {
635
- w(f, e);
643
+ O(f, e);
636
644
  }
637
645
  t.$flags$ &= -9, t.$flags$ |= 128, o(), J(t.$lazyInstance$, e);
638
646
  }
639
647
  }
640
- const i = t.$ancestorComponent$, l = () => ne(t, !0);
648
+ const i = t.$ancestorComponent$, l = () => se(t, !0);
641
649
  i && i["s-rc"] ? i["s-rc"].push(l) : l();
642
650
  }, J = (e, t) => {
643
- se(e, "connectedCallback", void 0, t);
644
- }, xt = (e) => {
651
+ ne(e, "connectedCallback", void 0, t);
652
+ }, Ot = (e) => {
645
653
  if (!(v.$flags$ & 1)) {
646
- const t = R(e), n = t.$cmpMeta$, s = P("connectedCallback", n.$tagName$);
654
+ const t = k(e), s = t.$cmpMeta$, n = L("connectedCallback", s.$tagName$);
647
655
  if (t.$flags$ & 1)
648
656
  t != null && t.$lazyInstance$ ? J(t.$lazyInstance$, e) : t != null && t.$onReadyPromise$ && t.$onReadyPromise$.then(() => J(t.$lazyInstance$, e));
649
657
  else {
650
658
  t.$flags$ |= 1, // TODO(STENCIL-854): Remove code related to legacy shadowDomShim field
651
- n.$flags$ & 12 && At(e);
659
+ s.$flags$ & 12 && It(e);
652
660
  {
653
661
  let r = e;
654
662
  for (; r = r.parentNode || r.host; )
655
663
  if (r["s-p"]) {
656
- Pe(t, t.$ancestorComponent$ = r);
664
+ _e(t, t.$ancestorComponent$ = r);
657
665
  break;
658
666
  }
659
667
  }
660
- n.$members$ && Object.entries(n.$members$).map(([r, [i]]) => {
668
+ s.$members$ && Object.entries(s.$members$).map(([r, [i]]) => {
661
669
  if (i & 31 && e.hasOwnProperty(r)) {
662
670
  const l = e[r];
663
671
  delete e[r], e[r] = l;
664
672
  }
665
- }), _t(e, t, n);
673
+ }), wt(e, t, s);
666
674
  }
667
- s();
675
+ n();
668
676
  }
669
- }, At = (e) => {
670
- const t = e["s-cr"] = E.createComment(
677
+ }, It = (e) => {
678
+ const t = e["s-cr"] = T.createComment(
671
679
  ""
672
680
  );
673
- t["s-cn"] = !0, L(e, t, e.firstChild);
681
+ t["s-cn"] = !0, _(e, t, e.firstChild);
674
682
  }, ve = (e, t) => {
675
- se(e, "disconnectedCallback", void 0, t || e);
676
- }, wt = async (e) => {
683
+ ne(e, "disconnectedCallback", void 0, t || e);
684
+ }, At = async (e) => {
677
685
  if (!(v.$flags$ & 1)) {
678
- const t = R(e);
686
+ const t = k(e);
679
687
  t != null && t.$lazyInstance$ ? ve(t.$lazyInstance$, e) : t != null && t.$onReadyPromise$ && t.$onReadyPromise$.then(() => ve(t.$lazyInstance$, e));
680
688
  }
681
689
  j.has(e) && j.delete(e), e.shadowRoot && j.has(e.shadowRoot) && j.delete(e.shadowRoot);
682
- }, Ot = (e, t = {}) => {
683
- var n;
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;
686
- Object.assign(v, t), v.$resourcesUrl$ = new URL(t.resourcesUrl || "./", E.baseURI).href;
690
+ }, Ft = (e, t = {}) => {
691
+ var s;
692
+ const n = L(), r = [], i = t.exclude || [], l = M.customElements, a = T.head, o = /* @__PURE__ */ a.querySelector("meta[charset]"), f = /* @__PURE__ */ T.createElement("style"), $ = [];
693
+ let c, u = !0;
694
+ Object.assign(v, t), v.$resourcesUrl$ = new URL(t.resourcesUrl || "./", T.baseURI).href;
687
695
  let d = !1;
688
696
  if (e.map((h) => {
689
697
  h[1].map((g) => {
690
- var m;
698
+ var S;
691
699
  const y = {
692
700
  $flags$: g[0],
693
701
  $tagName$: g[1],
694
702
  $members$: g[2],
695
703
  $listeners$: g[3]
696
704
  };
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 {
705
+ y.$flags$ & 4 && (d = !0), y.$members$ = g[2], y.$watchers$ = (S = g[4]) != null ? S : {};
706
+ const p = y.$tagName$, I = class extends HTMLElement {
699
707
  // StencilLazyHost
700
- constructor(S) {
701
- super(S), this.hasRegisteredEventListeners = !1, S = this, Ve(S, y);
708
+ constructor(b) {
709
+ super(b), this.hasRegisteredEventListeners = !1, b = this, tt(b, y);
702
710
  }
703
711
  connectedCallback() {
704
- R(this), this.hasRegisteredEventListeners || (this.hasRegisteredEventListeners = !0), c && (clearTimeout(c), c = null), $ ? u.push(this) : v.jmp(() => xt(this));
712
+ k(this), this.hasRegisteredEventListeners || (this.hasRegisteredEventListeners = !0), c && (clearTimeout(c), c = null), u ? $.push(this) : v.jmp(() => Ot(this));
705
713
  }
706
714
  disconnectedCallback() {
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$;
715
+ v.jmp(() => At(this)), v.raf(() => {
716
+ var b;
717
+ const P = k(this);
718
+ ((b = P == null ? void 0 : P.$vnode$) == null ? void 0 : b.$elm$) instanceof Node && !P.$vnode$.$elm$.isConnected && delete P.$vnode$.$elm$;
711
719
  });
712
720
  }
713
721
  componentOnReady() {
714
- return R(this).$onReadyPromise$;
722
+ return k(this).$onReadyPromise$;
715
723
  }
716
724
  };
717
725
  y.$lazyBundleId$ = h[0], !i.includes(p) && !l.get(p) && (r.push(p), l.define(
718
726
  p,
719
- Ae(
720
- O,
727
+ we(
728
+ I,
721
729
  y,
722
730
  1
723
731
  /* isElementConstructor */
724
732
  )
725
733
  ));
726
734
  });
727
- }), r.length > 0 && (d && (f.textContent += nt), f.textContent += r.sort() + tt, f.innerHTML.length)) {
735
+ }), r.length > 0 && (d && (f.textContent += rt), f.textContent += r.sort() + nt, f.innerHTML.length)) {
728
736
  f.setAttribute("data-styles", "");
729
- const h = (n = v.$nonce$) != null ? n : lt(E);
737
+ const h = (s = v.$nonce$) != null ? s : ct(T);
730
738
  h != null && f.setAttribute("nonce", h), a.insertBefore(f, o ? o.nextSibling : a.firstChild);
731
739
  }
732
- $ = !1, u.length ? u.map((h) => h.connectedCallback()) : v.jmp(() => c = setTimeout(_e, 30)), s();
740
+ u = !1, $.length ? $.map((h) => h.connectedCallback()) : v.jmp(() => c = setTimeout(Le, 30)), n();
733
741
  };
734
- const It = () => {
735
- }, Ft = async (e, t) => {
742
+ const Dt = () => {
743
+ }, jt = async (e, t) => {
736
744
  if (!(typeof window > "u"))
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);
745
+ return await Dt(), Ft([["searchcraft-base-search-results", [[4, "searchcraft-base-search-results", { customStylesForResults: [1, "custom-styles-for-results"], searchResultMappings: [16], 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"], searchTerm: [32], searchClientResponseItems: [32], adClientResponseItems: [32], searchResultsPerPage: [32], searchResultsPage: [32] }]]], ["searchcraft-filter-panel", [[0, "searchcraft-filter-panel", { items: [16], unsubscribe: [32], lastSearchTerm: [32] }]]], ["searchcraft-pagination", [[0, "searchcraft-pagination", { customStyles: [1, "custom-styles"], searchTerm: [32], searchResultsPerPage: [32], searchResultsPage: [32], searchResultsCount: [32], searchResultsPagesCount: [32], searchResultsRangeMin: [32], searchResultsRangeMax: [32], setSearchResultsPage: [32] }]]], ["searchcraft-search-results-per-page", [[0, "searchcraft-search-results-per-page", { increment: [8], customStyles: [1, "custom-styles"], searchTerm: [32], searchResultsPage: [32], searchResultsPerPage: [32], searchResultsCount: [32], searchResultsPagesCount: [32], initialSearchResultsPerPage: [32], setSearchResultsPerPage: [32], setSearchResultsPage: [32] }]]], ["searchcraft-popover-button", [[4, "searchcraft-popover-button"]]], ["searchcraft-results-info", [[0, "searchcraft-results-info", { customFormatter: [16], customStyles: [1, "custom-styles"], searchTerm: [32], searchResultsPage: [32], searchResultsPerPage: [32], searchResultsCount: [32], count: [32], range: [32], responseTime: [32] }]]], ["searchcraft-theme", [[0, "searchcraft-theme", { theme: [1], customTheme: [1, "custom-theme"] }]]], ["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], searchClientResponseItems: [16], adClientResponseItems: [16], searchResultsPage: [2, "search-results-page"], searchResultsPerPage: [2, "search-results-per-page"] }]]], ["searchcraft-popover-form", [[0, "searchcraft-popover-form", { config: [16], type: [1], popoverResultMappings: [16], hotkey: [1], hotkeyModifier: [1, "hotkey-modifier"], isPopoverVisibleInState: [32], unsubscribe: [32], searchClientResponseItems: [32], adClientResponseItems: [32], searchTerm: [32], isFocused: [32], breakpointSm: [32], breakpointMd: [32], breakpointLg: [32], searchResultsPage: [32], searchResultsPerPage: [32], modalElement: [32] }]]], ["searchcraft-select", [[0, "searchcraft-select", { caption: [1], disabled: [4], inputId: [1, "input-id"], label: [1], labelId: [1, "label-id"], name: [1], options: [1], customStyles: [1, "custom-styles"], searchResultsPerPage: [32], setSearchResultsPage: [32], setSearchResultsPerPage: [32] }]]], ["searchcraft-base-search-result_2", [[0, "searchcraft-base-search-result", { item: [16], searchResultMappings: [16], containerTarget: [1, "container-target"], containerRel: [1, "container-rel"], buttonTarget: [1, "button-target"], buttonRel: [1, "button-rel"], imagePlacement: [1, "image-placement"], customStyles: [1, "custom-styles"], documentPosition: [2, "document-position"], titleContent: [32], subtitleContent: [32], bodyContent: [32], footerContent: [32], buttonLabel: [32], buttonHref: [32], containerHref: [32], imageSrc: [32], imageAlt: [32] }], [0, "searchcraft-base-search-result-ad", { adClientResponseItem: [16] }]]], ["searchcraft-facet-list_3", [[0, "searchcraft-facet-list", { fieldName: [1, "field-name"], baseFacetRoot: [32], facetRoot: [32], selectedPaths: [32], lastTimeTaken: [32], hasNewSearchTerm: [32], lastSearchTerm: [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], lastSearchTerm: [32] }]]], ["searchcraft-popover-list-item_2", [[0, "searchcraft-popover-list-item", { item: [16], popoverResultMappings: [16], documentPosition: [2, "document-position"], href: [32], imageSrc: [32], imageAlt: [32], titleContent: [32], subtitleContent: [32] }], [0, "searchcraft-popover-list-item-ad", { adClientResponseItem: [16] }]]], ["searchcraft-button_3", [[0, "searchcraft-input-label", { inputLabelClassName: [1, "input-label-class-name"], label: [1] }], [0, "searchcraft-button", { hierarchy: [1], disabled: [4], icon: [16], iconOnly: [4, "icon-only"], iconPosition: [1, "icon-position"], label: [1], type: [1] }], [0, "searchcraft-error-message", { errorMessage: [1, "error-message"] }]]]], t);
738
746
  };
739
747
  (function() {
740
748
  if (typeof window < "u" && window.Reflect !== void 0 && window.customElements !== void 0) {
@@ -744,19 +752,21 @@ const It = () => {
744
752
  }, HTMLElement.prototype = e.prototype, HTMLElement.prototype.constructor = HTMLElement, Object.setPrototypeOf(HTMLElement, e);
745
753
  }
746
754
  })();
747
- const qt = {
755
+ const Kt = {
748
756
  async install() {
749
- Ft();
757
+ jt();
750
758
  }
751
759
  };
752
760
  export {
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
761
+ Kt as ComponentLibrary,
762
+ Ut as SearchcraftBaseSearchResults,
763
+ zt as SearchcraftFilterPanel,
764
+ Ht as SearchcraftInputForm,
765
+ Gt as SearchcraftPagination,
766
+ Mt as SearchcraftPopoverButton,
767
+ Bt as SearchcraftPopoverForm,
768
+ Wt as SearchcraftResultsInfo,
769
+ Xt as SearchcraftSearchResultsPerPage,
770
+ qt as SearchcraftTheme
761
771
  };
762
772
  //# sourceMappingURL=index.es.js.map