@eox/itemfilter 1.13.0 → 1.13.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.
- package/dist/eox-itemfilter.js +28 -67
- package/dist/eox-itemfilter.umd.cjs +6 -50
- package/package.json +1 -1
- package/src/components/results.js +16 -5
- package/src/main.js +22 -5
- package/src/methods/itemfilter/filter-apply.js +3 -1
- package/src/methods/results/aggregate-results.js +32 -15
- package/types/components/filters/range.d.ts.map +1 -1
- package/types/components/results.d.ts.map +1 -1
- package/types/helpers/chip-items.d.ts.map +1 -1
- package/types/helpers/filter-client.d.ts.map +1 -1
- package/types/helpers/filter-external.d.ts.map +1 -1
- package/types/helpers/highlighting.d.ts.map +1 -1
- package/types/helpers/map-layers.d.ts.map +1 -1
- package/types/helpers/merge-highlight-indices.d.ts.map +1 -1
- package/types/main.d.ts +22 -5
- package/types/main.d.ts.map +1 -1
- package/types/methods/itemfilter/filter-apply.d.ts.map +1 -1
- package/types/methods/itemfilter/search.d.ts.map +1 -1
- package/types/methods/itemfilter/sort-results.d.ts.map +1 -1
- package/types/methods/results/aggregate-results.d.ts.map +1 -1
package/dist/eox-itemfilter.js
CHANGED
|
@@ -1,8 +1,3 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license
|
|
3
|
-
* Copyright 2019 Google LLC
|
|
4
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
5
|
-
*/
|
|
6
1
|
const Dt = globalThis, Mr = Dt.ShadowRoot && (Dt.ShadyCSS === void 0 || Dt.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, Ci = Symbol(), Hr = /* @__PURE__ */ new WeakMap();
|
|
7
2
|
let f1 = class {
|
|
8
3
|
constructor(e, r, i) {
|
|
@@ -33,11 +28,6 @@ const m1 = (t) => new f1(typeof t == "string" ? t : t + "", void 0, Ci), g1 = (t
|
|
|
33
28
|
for (const i of e.cssRules) r += i.cssText;
|
|
34
29
|
return m1(r);
|
|
35
30
|
})(t) : t;
|
|
36
|
-
/**
|
|
37
|
-
* @license
|
|
38
|
-
* Copyright 2017 Google LLC
|
|
39
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
40
|
-
*/
|
|
41
31
|
const { is: b1, defineProperty: v1, getOwnPropertyDescriptor: y1, getOwnPropertyNames: C1, getOwnPropertySymbols: w1, getPrototypeOf: x1 } = Object, Nt = globalThis, Nr = Nt.trustedTypes, k1 = Nr ? Nr.emptyScript : "", _1 = Nt.reactiveElementPolyfillSupport, nt = (t, e) => t, fr = { toAttribute(t, e) {
|
|
42
32
|
switch (e) {
|
|
43
33
|
case Boolean:
|
|
@@ -250,11 +240,6 @@ let $e = class extends HTMLElement {
|
|
|
250
240
|
}
|
|
251
241
|
};
|
|
252
242
|
$e.elementStyles = [], $e.shadowRootOptions = { mode: "open" }, $e[nt("elementProperties")] = /* @__PURE__ */ new Map(), $e[nt("finalized")] = /* @__PURE__ */ new Map(), _1?.({ ReactiveElement: $e }), (Nt.reactiveElementVersions ??= []).push("2.1.1");
|
|
253
|
-
/**
|
|
254
|
-
* @license
|
|
255
|
-
* Copyright 2017 Google LLC
|
|
256
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
257
|
-
*/
|
|
258
243
|
const zr = globalThis, Pt = zr.trustedTypes, Vr = Pt ? Pt.createPolicy("lit-html", { createHTML: (t) => t }) : void 0, xi = "$lit$", H0 = `lit$${Math.random().toFixed(9).slice(2)}$`, ki = "?" + H0, L1 = `<${ki}>`, ne = document, ot = () => ne.createComment(""), at = (t) => t === null || typeof t != "object" && typeof t != "function", Sr = Array.isArray, $1 = (t) => Sr(t) || typeof t?.[Symbol.iterator] == "function", lr = `[
|
|
259
244
|
\f\r]`, tt = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, Zr = /-->/g, Ur = />/g, ee = RegExp(`>|${lr}(?:([^\\s"'>=/]+)(${lr}*=${lr}*(?:[^
|
|
260
245
|
\f\r"'\`<>=]|("|')|))|$)`, "g"), qr = /'/g, Wr = /"/g, _i = /^(?:script|style|textarea|title)$/i, A1 = (t) => (e, ...r) => ({ _$litType$: t, strings: e, values: r }), q = A1(1), j0 = Symbol.for("lit-noChange"), x2 = Symbol.for("lit-nothing"), Yr = /* @__PURE__ */ new WeakMap(), ie = ne.createTreeWalker(ne, 129);
|
|
@@ -480,11 +465,6 @@ const R1 = (t, e, r) => {
|
|
|
480
465
|
}
|
|
481
466
|
return n._$AI(t), n;
|
|
482
467
|
};
|
|
483
|
-
/**
|
|
484
|
-
* @license
|
|
485
|
-
* Copyright 2017 Google LLC
|
|
486
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
487
|
-
*/
|
|
488
468
|
const Er = globalThis;
|
|
489
469
|
let J2 = class extends $e {
|
|
490
470
|
constructor() {
|
|
@@ -512,22 +492,12 @@ J2._$litElement$ = !0, J2.finalized = !0, Er.litElementHydrateSupport?.({ LitEle
|
|
|
512
492
|
const F1 = Er.litElementPolyfillSupport;
|
|
513
493
|
F1?.({ LitElement: J2 });
|
|
514
494
|
(Er.litElementVersions ??= []).push("4.2.1");
|
|
515
|
-
/**
|
|
516
|
-
* @license
|
|
517
|
-
* Copyright 2021 Google LLC
|
|
518
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
519
|
-
*/
|
|
520
495
|
function* Vt(t, e) {
|
|
521
496
|
if (t !== void 0) {
|
|
522
497
|
let r = 0;
|
|
523
498
|
for (const i of t) yield e(i, r++);
|
|
524
499
|
}
|
|
525
500
|
}
|
|
526
|
-
/**
|
|
527
|
-
* @license
|
|
528
|
-
* Copyright 2021 Google LLC
|
|
529
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
530
|
-
*/
|
|
531
501
|
function j2(t, e, r) {
|
|
532
502
|
return t ? e(t) : r?.(t);
|
|
533
503
|
}
|
|
@@ -4645,21 +4615,25 @@ class Aa extends J2 {
|
|
|
4645
4615
|
}
|
|
4646
4616
|
customElements.define("eox-itemfilter-text", Aa);
|
|
4647
4617
|
function Ma(t, e, r) {
|
|
4648
|
-
|
|
4649
|
-
|
|
4650
|
-
|
|
4651
|
-
|
|
4652
|
-
|
|
4653
|
-
).filter(
|
|
4654
|
-
|
|
4655
|
-
|
|
4618
|
+
if (!e || typeof e == "string" && e.trim() === "")
|
|
4619
|
+
return [];
|
|
4620
|
+
const i = r.config.aggregateResults;
|
|
4621
|
+
return e === "No category" ? t.filter((n) => {
|
|
4622
|
+
const o = n[i];
|
|
4623
|
+
return Array.isArray(o) ? o.filter(Boolean).length === 0 : !o;
|
|
4624
|
+
}) : t.filter((n) => {
|
|
4625
|
+
const o = n[i];
|
|
4626
|
+
if (Array.isArray(o)) {
|
|
4627
|
+
if (o.filter(Boolean).length === 0)
|
|
4628
|
+
return !1;
|
|
4629
|
+
} else if (!o)
|
|
4630
|
+
return !1;
|
|
4631
|
+
let a;
|
|
4632
|
+
return r.filters[i] && (a = Object.keys(
|
|
4633
|
+
r.filters[i]
|
|
4634
|
+
).filter((c) => r.filters[i].state[c])), (a?.length ? a.includes(e) : !0) && Array.isArray(o) ? o.includes(e) : o === e;
|
|
4656
4635
|
});
|
|
4657
4636
|
}
|
|
4658
|
-
/**
|
|
4659
|
-
* @license
|
|
4660
|
-
* Copyright 2020 Google LLC
|
|
4661
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
4662
|
-
*/
|
|
4663
4637
|
const s1 = Symbol.for(""), za = (t) => {
|
|
4664
4638
|
if (t?.r === s1) return t?._$litStatic$;
|
|
4665
4639
|
}, Le = (t) => ({ _$litStatic$: t, r: s1 }), hi = /* @__PURE__ */ new Map(), Sa = (t) => (e, ...r) => {
|
|
@@ -4677,11 +4651,6 @@ const s1 = Symbol.for(""), za = (t) => {
|
|
|
4677
4651
|
}
|
|
4678
4652
|
return t(e, ...r);
|
|
4679
4653
|
}, fi = Sa(q);
|
|
4680
|
-
/**
|
|
4681
|
-
* @license
|
|
4682
|
-
* Copyright 2017 Google LLC
|
|
4683
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
4684
|
-
*/
|
|
4685
4654
|
const l1 = { CHILD: 2 }, c1 = (t) => (...e) => ({ _$litDirective$: t, values: e });
|
|
4686
4655
|
class d1 {
|
|
4687
4656
|
constructor(e) {
|
|
@@ -4699,11 +4668,6 @@ class d1 {
|
|
|
4699
4668
|
return this.render(...r);
|
|
4700
4669
|
}
|
|
4701
4670
|
}
|
|
4702
|
-
/**
|
|
4703
|
-
* @license
|
|
4704
|
-
* Copyright 2020 Google LLC
|
|
4705
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
4706
|
-
*/
|
|
4707
4671
|
const { I: Ea } = P1, mi = () => document.createComment(""), rt = (t, e, r) => {
|
|
4708
4672
|
const i = t._$AA.parentNode, n = e === void 0 ? t._$AB : e._$AA;
|
|
4709
4673
|
if (r === void 0) {
|
|
@@ -4727,11 +4691,6 @@ const { I: Ea } = P1, mi = () => document.createComment(""), rt = (t, e, r) => {
|
|
|
4727
4691
|
}, te = (t, e, r = t) => (t._$AI(e, r), t), Da = {}, Ba = (t, e = Da) => t._$AH = e, Pa = (t) => t._$AH, pr = (t) => {
|
|
4728
4692
|
t._$AR(), t._$AA.remove();
|
|
4729
4693
|
};
|
|
4730
|
-
/**
|
|
4731
|
-
* @license
|
|
4732
|
-
* Copyright 2017 Google LLC
|
|
4733
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
4734
|
-
*/
|
|
4735
4694
|
const gi = (t, e, r) => {
|
|
4736
4695
|
const i = /* @__PURE__ */ new Map();
|
|
4737
4696
|
for (let n = e; n <= r; n++) i.set(t[n], n);
|
|
@@ -4782,11 +4741,6 @@ const gi = (t, e, r) => {
|
|
|
4782
4741
|
return this.ut = a, Ba(t, c), j0;
|
|
4783
4742
|
}
|
|
4784
4743
|
});
|
|
4785
|
-
/**
|
|
4786
|
-
* @license
|
|
4787
|
-
* Copyright 2017 Google LLC
|
|
4788
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
4789
|
-
*/
|
|
4790
4744
|
class Ar extends d1 {
|
|
4791
4745
|
constructor(e) {
|
|
4792
4746
|
if (super(e), this.it = x2, e.type !== l1.CHILD) throw Error(this.constructor.directiveName + "() can only be used in child bindings");
|
|
@@ -5037,6 +4991,15 @@ class Fa extends J2 {
|
|
|
5037
4991
|
handleAccordion(e) {
|
|
5038
4992
|
i1(e, this.config, this);
|
|
5039
4993
|
}
|
|
4994
|
+
#r() {
|
|
4995
|
+
const e = this.resultAggregation.filter(
|
|
4996
|
+
(i) => this.aggregateResults(this.results, i).length
|
|
4997
|
+
);
|
|
4998
|
+
return this.aggregateResults(
|
|
4999
|
+
this.results,
|
|
5000
|
+
"No category"
|
|
5001
|
+
).length > 0 && e.push("No category"), e;
|
|
5002
|
+
}
|
|
5040
5003
|
/**
|
|
5041
5004
|
* Renders the HTML template for the component.
|
|
5042
5005
|
*/
|
|
@@ -5053,9 +5016,7 @@ class Fa extends J2 {
|
|
|
5053
5016
|
${j2(
|
|
5054
5017
|
this.config.aggregateResults,
|
|
5055
5018
|
() => Vt(
|
|
5056
|
-
this
|
|
5057
|
-
(e) => this.aggregateResults(this.results, e).length
|
|
5058
|
-
),
|
|
5019
|
+
this.#r(),
|
|
5059
5020
|
(e) => q`${j2(
|
|
5060
5021
|
this.aggregateResults(this.results, e).length === 1 && this.config.autoSpreadSingle,
|
|
5061
5022
|
() => q`<div style="margin-left: -8px">
|
|
@@ -7368,7 +7329,7 @@ function Xa(t, e, r) {
|
|
|
7368
7329
|
[]
|
|
7369
7330
|
)
|
|
7370
7331
|
)
|
|
7371
|
-
).sort((o, a) => o.localeCompare(a)));
|
|
7332
|
+
).filter((o) => o).sort((o, a) => o.localeCompare(a)));
|
|
7372
7333
|
const n = [];
|
|
7373
7334
|
return Object.values(r.filters).forEach((o) => {
|
|
7374
7335
|
o.type === "text" ? o.keys.forEach((a) => {
|
|
@@ -1,30 +1,6 @@
|
|
|
1
|
-
(function(le,E0){typeof exports=="object"&&typeof module<"u"?E0(exports):typeof define=="function"&&define.amd?define(["exports"],E0):(le=typeof globalThis<"u"?globalThis:le||self,E0(le["eox-itemfilter"]={}))})(this,(function(le){"use strict"
|
|
2
|
-
* @license
|
|
3
|
-
* Copyright 2019 Google LLC
|
|
4
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
5
|
-
*/const E0=globalThis,Jt=E0.ShadowRoot&&(E0.ShadyCSS===void 0||E0.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,jr=Symbol(),Nr=new WeakMap;let g1=class{constructor(e,r,i){if(this._$cssResult$=!0,i!==jr)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=e,this.t=r}get styleSheet(){let e=this.o;const r=this.t;if(Jt&&e===void 0){const i=r!==void 0&&r.length===1;i&&(e=Nr.get(r)),e===void 0&&((this.o=e=new CSSStyleSheet).replaceSync(this.cssText),i&&Nr.set(r,e))}return e}toString(){return this.cssText}};const b1=t=>new g1(typeof t=="string"?t:t+"",void 0,jr),v1=(t,e)=>{if(Jt)t.adoptedStyleSheets=e.map((r=>r instanceof CSSStyleSheet?r:r.styleSheet));else for(const r of e){const i=document.createElement("style"),n=E0.litNonce;n!==void 0&&i.setAttribute("nonce",n),i.textContent=r.cssText,t.appendChild(i)}},Ir=Jt?t=>t:t=>t instanceof CSSStyleSheet?(e=>{let r="";for(const i of e.cssRules)r+=i.cssText;return b1(r)})(t):t;/**
|
|
6
|
-
* @license
|
|
7
|
-
* Copyright 2017 Google LLC
|
|
8
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
9
|
-
*/const{is:y1,defineProperty:C1,getOwnPropertyDescriptor:w1,getOwnPropertyNames:x1,getOwnPropertySymbols:k1,getPrototypeOf:_1}=Object,ht=globalThis,Vr=ht.trustedTypes,L1=Vr?Vr.emptyScript:"",$1=ht.reactiveElementPolyfillSupport,Re=(t,e)=>t,Qt={toAttribute(t,e){switch(e){case Boolean:t=t?L1:null;break;case Object:case Array:t=t==null?t:JSON.stringify(t)}return t},fromAttribute(t,e){let r=t;switch(e){case Boolean:r=t!==null;break;case Number:r=t===null?null:Number(t);break;case Object:case Array:try{r=JSON.parse(t)}catch{r=null}}return r}},Zr=(t,e)=>!y1(t,e),Ur={attribute:!0,type:String,converter:Qt,reflect:!1,useDefault:!1,hasChanged:Zr};Symbol.metadata??=Symbol("metadata"),ht.litPropertyMetadata??=new WeakMap;let ce=class extends HTMLElement{static addInitializer(e){this._$Ei(),(this.l??=[]).push(e)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(e,r=Ur){if(r.state&&(r.attribute=!1),this._$Ei(),this.prototype.hasOwnProperty(e)&&((r=Object.create(r)).wrapped=!0),this.elementProperties.set(e,r),!r.noAccessor){const i=Symbol(),n=this.getPropertyDescriptor(e,i,r);n!==void 0&&C1(this.prototype,e,n)}}static getPropertyDescriptor(e,r,i){const{get:n,set:o}=w1(this.prototype,e)??{get(){return this[r]},set(a){this[r]=a}};return{get:n,set(a){const l=n?.call(this);o?.call(this,a),this.requestUpdate(e,l,i)},configurable:!0,enumerable:!0}}static getPropertyOptions(e){return this.elementProperties.get(e)??Ur}static _$Ei(){if(this.hasOwnProperty(Re("elementProperties")))return;const e=_1(this);e.finalize(),e.l!==void 0&&(this.l=[...e.l]),this.elementProperties=new Map(e.elementProperties)}static finalize(){if(this.hasOwnProperty(Re("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(Re("properties"))){const r=this.properties,i=[...x1(r),...k1(r)];for(const n of i)this.createProperty(n,r[n])}const e=this[Symbol.metadata];if(e!==null){const r=litPropertyMetadata.get(e);if(r!==void 0)for(const[i,n]of r)this.elementProperties.set(i,n)}this._$Eh=new Map;for(const[r,i]of this.elementProperties){const n=this._$Eu(r,i);n!==void 0&&this._$Eh.set(n,r)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(e){const r=[];if(Array.isArray(e)){const i=new Set(e.flat(1/0).reverse());for(const n of i)r.unshift(Ir(n))}else e!==void 0&&r.push(Ir(e));return r}static _$Eu(e,r){const i=r.attribute;return i===!1?void 0:typeof i=="string"?i:typeof e=="string"?e.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$ES=new Promise((e=>this.enableUpdating=e)),this._$AL=new Map,this._$E_(),this.requestUpdate(),this.constructor.l?.forEach((e=>e(this)))}addController(e){(this._$EO??=new Set).add(e),this.renderRoot!==void 0&&this.isConnected&&e.hostConnected?.()}removeController(e){this._$EO?.delete(e)}_$E_(){const e=new Map,r=this.constructor.elementProperties;for(const i of r.keys())this.hasOwnProperty(i)&&(e.set(i,this[i]),delete this[i]);e.size>0&&(this._$Ep=e)}createRenderRoot(){const e=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return v1(e,this.constructor.elementStyles),e}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$EO?.forEach((e=>e.hostConnected?.()))}enableUpdating(e){}disconnectedCallback(){this._$EO?.forEach((e=>e.hostDisconnected?.()))}attributeChangedCallback(e,r,i){this._$AK(e,i)}_$ET(e,r){const i=this.constructor.elementProperties.get(e),n=this.constructor._$Eu(e,i);if(n!==void 0&&i.reflect===!0){const o=(i.converter?.toAttribute!==void 0?i.converter:Qt).toAttribute(r,i.type);this._$Em=e,o==null?this.removeAttribute(n):this.setAttribute(n,o),this._$Em=null}}_$AK(e,r){const i=this.constructor,n=i._$Eh.get(e);if(n!==void 0&&this._$Em!==n){const o=i.getPropertyOptions(n),a=typeof o.converter=="function"?{fromAttribute:o.converter}:o.converter?.fromAttribute!==void 0?o.converter:Qt;this._$Em=n;const l=a.fromAttribute(r,o.type);this[n]=l??this._$Ej?.get(n)??l,this._$Em=null}}requestUpdate(e,r,i){if(e!==void 0){const n=this.constructor,o=this[e];if(i??=n.getPropertyOptions(e),!((i.hasChanged??Zr)(o,r)||i.useDefault&&i.reflect&&o===this._$Ej?.get(e)&&!this.hasAttribute(n._$Eu(e,i))))return;this.C(e,r,i)}this.isUpdatePending===!1&&(this._$ES=this._$EP())}C(e,r,{useDefault:i,reflect:n,wrapped:o},a){i&&!(this._$Ej??=new Map).has(e)&&(this._$Ej.set(e,a??r??this[e]),o!==!0||a!==void 0)||(this._$AL.has(e)||(this.hasUpdated||i||(r=void 0),this._$AL.set(e,r)),n===!0&&this._$Em!==e&&(this._$Eq??=new Set).add(e))}async _$EP(){this.isUpdatePending=!0;try{await this._$ES}catch(r){Promise.reject(r)}const e=this.scheduleUpdate();return e!=null&&await e,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(const[n,o]of this._$Ep)this[n]=o;this._$Ep=void 0}const i=this.constructor.elementProperties;if(i.size>0)for(const[n,o]of i){const{wrapped:a}=o,l=this[n];a!==!0||this._$AL.has(n)||l===void 0||this.C(n,void 0,o,l)}}let e=!1;const r=this._$AL;try{e=this.shouldUpdate(r),e?(this.willUpdate(r),this._$EO?.forEach((i=>i.hostUpdate?.())),this.update(r)):this._$EM()}catch(i){throw e=!1,this._$EM(),i}e&&this._$AE(r)}willUpdate(e){}_$AE(e){this._$EO?.forEach((r=>r.hostUpdated?.())),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(e)),this.updated(e)}_$EM(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(e){return!0}update(e){this._$Eq&&=this._$Eq.forEach((r=>this._$ET(r,this[r]))),this._$EM()}updated(e){}firstUpdated(e){}};ce.elementStyles=[],ce.shadowRootOptions={mode:"open"},ce[Re("elementProperties")]=new Map,ce[Re("finalized")]=new Map,$1?.({ReactiveElement:ce}),(ht.reactiveElementVersions??=[]).push("2.1.1");/**
|
|
10
|
-
* @license
|
|
11
|
-
* Copyright 2017 Google LLC
|
|
12
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
13
|
-
*/const er=globalThis,ft=er.trustedTypes,qr=ft?ft.createPolicy("lit-html",{createHTML:t=>t}):void 0,Wr="$lit$",D0=`lit$${Math.random().toFixed(9).slice(2)}$`,Yr="?"+D0,A1=`<${Yr}>`,U0=document,Oe=()=>U0.createComment(""),Fe=t=>t===null||typeof t!="object"&&typeof t!="function",tr=Array.isArray,M1=t=>tr(t)||typeof t?.[Symbol.iterator]=="function",rr=`[
|
|
1
|
+
(function(le,E0){typeof exports=="object"&&typeof module<"u"?E0(exports):typeof define=="function"&&define.amd?define(["exports"],E0):(le=typeof globalThis<"u"?globalThis:le||self,E0(le["eox-itemfilter"]={}))})(this,(function(le){"use strict";const E0=globalThis,Jt=E0.ShadowRoot&&(E0.ShadyCSS===void 0||E0.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,jr=Symbol(),Nr=new WeakMap;let g1=class{constructor(e,r,i){if(this._$cssResult$=!0,i!==jr)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=e,this.t=r}get styleSheet(){let e=this.o;const r=this.t;if(Jt&&e===void 0){const i=r!==void 0&&r.length===1;i&&(e=Nr.get(r)),e===void 0&&((this.o=e=new CSSStyleSheet).replaceSync(this.cssText),i&&Nr.set(r,e))}return e}toString(){return this.cssText}};const b1=t=>new g1(typeof t=="string"?t:t+"",void 0,jr),v1=(t,e)=>{if(Jt)t.adoptedStyleSheets=e.map((r=>r instanceof CSSStyleSheet?r:r.styleSheet));else for(const r of e){const i=document.createElement("style"),n=E0.litNonce;n!==void 0&&i.setAttribute("nonce",n),i.textContent=r.cssText,t.appendChild(i)}},Ir=Jt?t=>t:t=>t instanceof CSSStyleSheet?(e=>{let r="";for(const i of e.cssRules)r+=i.cssText;return b1(r)})(t):t;const{is:y1,defineProperty:C1,getOwnPropertyDescriptor:w1,getOwnPropertyNames:x1,getOwnPropertySymbols:k1,getPrototypeOf:_1}=Object,ht=globalThis,Vr=ht.trustedTypes,L1=Vr?Vr.emptyScript:"",$1=ht.reactiveElementPolyfillSupport,Re=(t,e)=>t,Qt={toAttribute(t,e){switch(e){case Boolean:t=t?L1:null;break;case Object:case Array:t=t==null?t:JSON.stringify(t)}return t},fromAttribute(t,e){let r=t;switch(e){case Boolean:r=t!==null;break;case Number:r=t===null?null:Number(t);break;case Object:case Array:try{r=JSON.parse(t)}catch{r=null}}return r}},Zr=(t,e)=>!y1(t,e),Ur={attribute:!0,type:String,converter:Qt,reflect:!1,useDefault:!1,hasChanged:Zr};Symbol.metadata??=Symbol("metadata"),ht.litPropertyMetadata??=new WeakMap;let ce=class extends HTMLElement{static addInitializer(e){this._$Ei(),(this.l??=[]).push(e)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(e,r=Ur){if(r.state&&(r.attribute=!1),this._$Ei(),this.prototype.hasOwnProperty(e)&&((r=Object.create(r)).wrapped=!0),this.elementProperties.set(e,r),!r.noAccessor){const i=Symbol(),n=this.getPropertyDescriptor(e,i,r);n!==void 0&&C1(this.prototype,e,n)}}static getPropertyDescriptor(e,r,i){const{get:n,set:o}=w1(this.prototype,e)??{get(){return this[r]},set(a){this[r]=a}};return{get:n,set(a){const l=n?.call(this);o?.call(this,a),this.requestUpdate(e,l,i)},configurable:!0,enumerable:!0}}static getPropertyOptions(e){return this.elementProperties.get(e)??Ur}static _$Ei(){if(this.hasOwnProperty(Re("elementProperties")))return;const e=_1(this);e.finalize(),e.l!==void 0&&(this.l=[...e.l]),this.elementProperties=new Map(e.elementProperties)}static finalize(){if(this.hasOwnProperty(Re("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(Re("properties"))){const r=this.properties,i=[...x1(r),...k1(r)];for(const n of i)this.createProperty(n,r[n])}const e=this[Symbol.metadata];if(e!==null){const r=litPropertyMetadata.get(e);if(r!==void 0)for(const[i,n]of r)this.elementProperties.set(i,n)}this._$Eh=new Map;for(const[r,i]of this.elementProperties){const n=this._$Eu(r,i);n!==void 0&&this._$Eh.set(n,r)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(e){const r=[];if(Array.isArray(e)){const i=new Set(e.flat(1/0).reverse());for(const n of i)r.unshift(Ir(n))}else e!==void 0&&r.push(Ir(e));return r}static _$Eu(e,r){const i=r.attribute;return i===!1?void 0:typeof i=="string"?i:typeof e=="string"?e.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$ES=new Promise((e=>this.enableUpdating=e)),this._$AL=new Map,this._$E_(),this.requestUpdate(),this.constructor.l?.forEach((e=>e(this)))}addController(e){(this._$EO??=new Set).add(e),this.renderRoot!==void 0&&this.isConnected&&e.hostConnected?.()}removeController(e){this._$EO?.delete(e)}_$E_(){const e=new Map,r=this.constructor.elementProperties;for(const i of r.keys())this.hasOwnProperty(i)&&(e.set(i,this[i]),delete this[i]);e.size>0&&(this._$Ep=e)}createRenderRoot(){const e=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return v1(e,this.constructor.elementStyles),e}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$EO?.forEach((e=>e.hostConnected?.()))}enableUpdating(e){}disconnectedCallback(){this._$EO?.forEach((e=>e.hostDisconnected?.()))}attributeChangedCallback(e,r,i){this._$AK(e,i)}_$ET(e,r){const i=this.constructor.elementProperties.get(e),n=this.constructor._$Eu(e,i);if(n!==void 0&&i.reflect===!0){const o=(i.converter?.toAttribute!==void 0?i.converter:Qt).toAttribute(r,i.type);this._$Em=e,o==null?this.removeAttribute(n):this.setAttribute(n,o),this._$Em=null}}_$AK(e,r){const i=this.constructor,n=i._$Eh.get(e);if(n!==void 0&&this._$Em!==n){const o=i.getPropertyOptions(n),a=typeof o.converter=="function"?{fromAttribute:o.converter}:o.converter?.fromAttribute!==void 0?o.converter:Qt;this._$Em=n;const l=a.fromAttribute(r,o.type);this[n]=l??this._$Ej?.get(n)??l,this._$Em=null}}requestUpdate(e,r,i){if(e!==void 0){const n=this.constructor,o=this[e];if(i??=n.getPropertyOptions(e),!((i.hasChanged??Zr)(o,r)||i.useDefault&&i.reflect&&o===this._$Ej?.get(e)&&!this.hasAttribute(n._$Eu(e,i))))return;this.C(e,r,i)}this.isUpdatePending===!1&&(this._$ES=this._$EP())}C(e,r,{useDefault:i,reflect:n,wrapped:o},a){i&&!(this._$Ej??=new Map).has(e)&&(this._$Ej.set(e,a??r??this[e]),o!==!0||a!==void 0)||(this._$AL.has(e)||(this.hasUpdated||i||(r=void 0),this._$AL.set(e,r)),n===!0&&this._$Em!==e&&(this._$Eq??=new Set).add(e))}async _$EP(){this.isUpdatePending=!0;try{await this._$ES}catch(r){Promise.reject(r)}const e=this.scheduleUpdate();return e!=null&&await e,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(const[n,o]of this._$Ep)this[n]=o;this._$Ep=void 0}const i=this.constructor.elementProperties;if(i.size>0)for(const[n,o]of i){const{wrapped:a}=o,l=this[n];a!==!0||this._$AL.has(n)||l===void 0||this.C(n,void 0,o,l)}}let e=!1;const r=this._$AL;try{e=this.shouldUpdate(r),e?(this.willUpdate(r),this._$EO?.forEach((i=>i.hostUpdate?.())),this.update(r)):this._$EM()}catch(i){throw e=!1,this._$EM(),i}e&&this._$AE(r)}willUpdate(e){}_$AE(e){this._$EO?.forEach((r=>r.hostUpdated?.())),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(e)),this.updated(e)}_$EM(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(e){return!0}update(e){this._$Eq&&=this._$Eq.forEach((r=>this._$ET(r,this[r]))),this._$EM()}updated(e){}firstUpdated(e){}};ce.elementStyles=[],ce.shadowRootOptions={mode:"open"},ce[Re("elementProperties")]=new Map,ce[Re("finalized")]=new Map,$1?.({ReactiveElement:ce}),(ht.reactiveElementVersions??=[]).push("2.1.1");const er=globalThis,ft=er.trustedTypes,qr=ft?ft.createPolicy("lit-html",{createHTML:t=>t}):void 0,Wr="$lit$",D0=`lit$${Math.random().toFixed(9).slice(2)}$`,Yr="?"+D0,A1=`<${Yr}>`,U0=document,Oe=()=>U0.createComment(""),Fe=t=>t===null||typeof t!="object"&&typeof t!="function",tr=Array.isArray,M1=t=>tr(t)||typeof t?.[Symbol.iterator]=="function",rr=`[
|
|
14
2
|
\f\r]`,He=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Kr=/-->/g,Gr=/>/g,q0=RegExp(`>|${rr}(?:([^\\s"'>=/]+)(${rr}*=${rr}*(?:[^
|
|
15
|
-
\f\r"'\`<>=]|("|')|))|$)`,"g"),Xr=/'/g,Jr=/"/g,Qr=/^(?:script|style|textarea|title)$/i,z1=t=>(e,...r)=>({_$litType$:t,strings:e,values:r}),q=z1(1),B0=Symbol.for("lit-noChange"),v2=Symbol.for("lit-nothing"),ei=new WeakMap,W0=U0.createTreeWalker(U0,129);function ti(t,e){if(!tr(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return qr!==void 0?qr.createHTML(e):e}const S1=(t,e)=>{const r=t.length-1,i=[];let n,o=e===2?"<svg>":e===3?"<math>":"",a=He;for(let l=0;l<r;l++){const c=t[l];let d,f,g=-1,w=0;for(;w<c.length&&(a.lastIndex=w,f=a.exec(c),f!==null);)w=a.lastIndex,a===He?f[1]==="!--"?a=Kr:f[1]!==void 0?a=Gr:f[2]!==void 0?(Qr.test(f[2])&&(n=RegExp("</"+f[2],"g")),a=q0):f[3]!==void 0&&(a=q0):a===q0?f[0]===">"?(a=n??He,g=-1):f[1]===void 0?g=-2:(g=a.lastIndex-f[2].length,d=f[1],a=f[3]===void 0?q0:f[3]==='"'?Jr:Xr):a===Jr||a===Xr?a=q0:a===Kr||a===Gr?a=He:(a=q0,n=void 0);const b=a===q0&&t[l+1].startsWith("/>")?" ":"";o+=a===He?c+A1:g>=0?(i.push(d),c.slice(0,g)+Wr+c.slice(g)+D0+b):c+D0+(g===-2?l:b)}return[ti(t,o+(t[r]||"<?>")+(e===2?"</svg>":e===3?"</math>":"")),i]};class je{constructor({strings:e,_$litType$:r},i){let n;this.parts=[];let o=0,a=0;const l=e.length-1,c=this.parts,[d,f]=S1(e,r);if(this.el=je.createElement(d,i),W0.currentNode=this.el.content,r===2||r===3){const g=this.el.content.firstChild;g.replaceWith(...g.childNodes)}for(;(n=W0.nextNode())!==null&&c.length<l;){if(n.nodeType===1){if(n.hasAttributes())for(const g of n.getAttributeNames())if(g.endsWith(Wr)){const w=f[a++],b=n.getAttribute(g).split(D0),_=/([.?@])?(.*)/.exec(w);c.push({type:1,index:o,name:_[2],strings:b,ctor:_[1]==="."?D1:_[1]==="?"?B1:_[1]==="@"?P1:mt}),n.removeAttribute(g)}else g.startsWith(D0)&&(c.push({type:6,index:o}),n.removeAttribute(g));if(Qr.test(n.tagName)){const g=n.textContent.split(D0),w=g.length-1;if(w>0){n.textContent=ft?ft.emptyScript:"";for(let b=0;b<w;b++)n.append(g[b],Oe()),W0.nextNode(),c.push({type:2,index:++o});n.append(g[w],Oe())}}}else if(n.nodeType===8)if(n.data===Yr)c.push({type:2,index:o});else{let g=-1;for(;(g=n.data.indexOf(D0,g+1))!==-1;)c.push({type:7,index:o}),g+=D0.length-1}o++}}static createElement(e,r){const i=U0.createElement("template");return i.innerHTML=e,i}}function de(t,e,r=t,i){if(e===B0)return e;let n=i!==void 0?r._$Co?.[i]:r._$Cl;const o=Fe(e)?void 0:e._$litDirective$;return n?.constructor!==o&&(n?._$AO?.(!1),o===void 0?n=void 0:(n=new o(t),n._$AT(t,r,i)),i!==void 0?(r._$Co??=[])[i]=n:r._$Cl=n),n!==void 0&&(e=de(t,n._$AS(t,e.values),n,i)),e}let E1=class{constructor(e,r){this._$AV=[],this._$AN=void 0,this._$AD=e,this._$AM=r}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(e){const{el:{content:r},parts:i}=this._$AD,n=(e?.creationScope??U0).importNode(r,!0);W0.currentNode=n;let o=W0.nextNode(),a=0,l=0,c=i[0];for(;c!==void 0;){if(a===c.index){let d;c.type===2?d=new ue(o,o.nextSibling,this,e):c.type===1?d=new c.ctor(o,c.name,c.strings,this,e):c.type===6&&(d=new T1(o,this,e)),this._$AV.push(d),c=i[++l]}a!==c?.index&&(o=W0.nextNode(),a++)}return W0.currentNode=U0,n}p(e){let r=0;for(const i of this._$AV)i!==void 0&&(i.strings!==void 0?(i._$AI(e,i,r),r+=i.strings.length-2):i._$AI(e[r])),r++}};class ue{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(e,r,i,n){this.type=2,this._$AH=v2,this._$AN=void 0,this._$AA=e,this._$AB=r,this._$AM=i,this.options=n,this._$Cv=n?.isConnected??!0}get parentNode(){let e=this._$AA.parentNode;const r=this._$AM;return r!==void 0&&e?.nodeType===11&&(e=r.parentNode),e}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(e,r=this){e=de(this,e,r),Fe(e)?e===v2||e==null||e===""?(this._$AH!==v2&&this._$AR(),this._$AH=v2):e!==this._$AH&&e!==B0&&this._(e):e._$litType$!==void 0?this.$(e):e.nodeType!==void 0?this.T(e):M1(e)?this.k(e):this._(e)}O(e){return this._$AA.parentNode.insertBefore(e,this._$AB)}T(e){this._$AH!==e&&(this._$AR(),this._$AH=this.O(e))}_(e){this._$AH!==v2&&Fe(this._$AH)?this._$AA.nextSibling.data=e:this.T(U0.createTextNode(e)),this._$AH=e}$(e){const{values:r,_$litType$:i}=e,n=typeof i=="number"?this._$AC(e):(i.el===void 0&&(i.el=je.createElement(ti(i.h,i.h[0]),this.options)),i);if(this._$AH?._$AD===n)this._$AH.p(r);else{const o=new E1(n,this),a=o.u(this.options);o.p(r),this.T(a),this._$AH=o}}_$AC(e){let r=ei.get(e.strings);return r===void 0&&ei.set(e.strings,r=new je(e)),r}k(e){tr(this._$AH)||(this._$AH=[],this._$AR());const r=this._$AH;let i,n=0;for(const o of e)n===r.length?r.push(i=new ue(this.O(Oe()),this.O(Oe()),this,this.options)):i=r[n],i._$AI(o),n++;n<r.length&&(this._$AR(i&&i._$AB.nextSibling,n),r.length=n)}_$AR(e=this._$AA.nextSibling,r){for(this._$AP?.(!1,!0,r);e!==this._$AB;){const i=e.nextSibling;e.remove(),e=i}}setConnected(e){this._$AM===void 0&&(this._$Cv=e,this._$AP?.(e))}}class mt{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(e,r,i,n,o){this.type=1,this._$AH=v2,this._$AN=void 0,this.element=e,this.name=r,this._$AM=n,this.options=o,i.length>2||i[0]!==""||i[1]!==""?(this._$AH=Array(i.length-1).fill(new String),this.strings=i):this._$AH=v2}_$AI(e,r=this,i,n){const o=this.strings;let a=!1;if(o===void 0)e=de(this,e,r,0),a=!Fe(e)||e!==this._$AH&&e!==B0,a&&(this._$AH=e);else{const l=e;let c,d;for(e=o[0],c=0;c<o.length-1;c++)d=de(this,l[i+c],r,c),d===B0&&(d=this._$AH[c]),a||=!Fe(d)||d!==this._$AH[c],d===v2?e=v2:e!==v2&&(e+=(d??"")+o[c+1]),this._$AH[c]=d}a&&!n&&this.j(e)}j(e){e===v2?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e??"")}}class D1 extends mt{constructor(){super(...arguments),this.type=3}j(e){this.element[this.name]=e===v2?void 0:e}}class B1 extends mt{constructor(){super(...arguments),this.type=4}j(e){this.element.toggleAttribute(this.name,!!e&&e!==v2)}}class P1 extends mt{constructor(e,r,i,n,o){super(e,r,i,n,o),this.type=5}_$AI(e,r=this){if((e=de(this,e,r,0)??v2)===B0)return;const i=this._$AH,n=e===v2&&i!==v2||e.capture!==i.capture||e.once!==i.once||e.passive!==i.passive,o=e!==v2&&(i===v2||n);n&&this.element.removeEventListener(this.name,this,i),o&&this.element.addEventListener(this.name,this,e),this._$AH=e}handleEvent(e){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,e):this._$AH.handleEvent(e)}}class T1{constructor(e,r,i){this.element=e,this.type=6,this._$AN=void 0,this._$AM=r,this.options=i}get _$AU(){return this._$AM._$AU}_$AI(e){de(this,e)}}const R1={I:ue},O1=er.litHtmlPolyfillSupport;O1?.(je,ue),(er.litHtmlVersions??=[]).push("3.3.1");const F1=(t,e,r)=>{const i=r?.renderBefore??e;let n=i._$litPart$;if(n===void 0){const o=r?.renderBefore??null;i._$litPart$=n=new ue(e.insertBefore(Oe(),o),o,void 0,r??{})}return n._$AI(t),n}
|
|
16
|
-
* @license
|
|
17
|
-
* Copyright 2017 Google LLC
|
|
18
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
19
|
-
*/const ir=globalThis;let G2=class extends ce{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){const e=super.createRenderRoot();return this.renderOptions.renderBefore??=e.firstChild,e}update(e){const r=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(e),this._$Do=F1(r,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return B0}};G2._$litElement$=!0,G2.finalized=!0,ir.litElementHydrateSupport?.({LitElement:G2});const H1=ir.litElementPolyfillSupport;H1?.({LitElement:G2}),(ir.litElementVersions??=[]).push("4.2.1");/**
|
|
20
|
-
* @license
|
|
21
|
-
* Copyright 2021 Google LLC
|
|
22
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
23
|
-
*/function*gt(t,e){if(t!==void 0){let r=0;for(const i of t)yield e(i,r++)}}/**
|
|
24
|
-
* @license
|
|
25
|
-
* Copyright 2021 Google LLC
|
|
26
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
27
|
-
*/function H2(t,e,r){return t?e(t):r?.(t)}const j1=`
|
|
3
|
+
\f\r"'\`<>=]|("|')|))|$)`,"g"),Xr=/'/g,Jr=/"/g,Qr=/^(?:script|style|textarea|title)$/i,z1=t=>(e,...r)=>({_$litType$:t,strings:e,values:r}),q=z1(1),B0=Symbol.for("lit-noChange"),v2=Symbol.for("lit-nothing"),ei=new WeakMap,W0=U0.createTreeWalker(U0,129);function ti(t,e){if(!tr(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return qr!==void 0?qr.createHTML(e):e}const S1=(t,e)=>{const r=t.length-1,i=[];let n,o=e===2?"<svg>":e===3?"<math>":"",a=He;for(let l=0;l<r;l++){const c=t[l];let d,f,g=-1,w=0;for(;w<c.length&&(a.lastIndex=w,f=a.exec(c),f!==null);)w=a.lastIndex,a===He?f[1]==="!--"?a=Kr:f[1]!==void 0?a=Gr:f[2]!==void 0?(Qr.test(f[2])&&(n=RegExp("</"+f[2],"g")),a=q0):f[3]!==void 0&&(a=q0):a===q0?f[0]===">"?(a=n??He,g=-1):f[1]===void 0?g=-2:(g=a.lastIndex-f[2].length,d=f[1],a=f[3]===void 0?q0:f[3]==='"'?Jr:Xr):a===Jr||a===Xr?a=q0:a===Kr||a===Gr?a=He:(a=q0,n=void 0);const b=a===q0&&t[l+1].startsWith("/>")?" ":"";o+=a===He?c+A1:g>=0?(i.push(d),c.slice(0,g)+Wr+c.slice(g)+D0+b):c+D0+(g===-2?l:b)}return[ti(t,o+(t[r]||"<?>")+(e===2?"</svg>":e===3?"</math>":"")),i]};class je{constructor({strings:e,_$litType$:r},i){let n;this.parts=[];let o=0,a=0;const l=e.length-1,c=this.parts,[d,f]=S1(e,r);if(this.el=je.createElement(d,i),W0.currentNode=this.el.content,r===2||r===3){const g=this.el.content.firstChild;g.replaceWith(...g.childNodes)}for(;(n=W0.nextNode())!==null&&c.length<l;){if(n.nodeType===1){if(n.hasAttributes())for(const g of n.getAttributeNames())if(g.endsWith(Wr)){const w=f[a++],b=n.getAttribute(g).split(D0),_=/([.?@])?(.*)/.exec(w);c.push({type:1,index:o,name:_[2],strings:b,ctor:_[1]==="."?D1:_[1]==="?"?B1:_[1]==="@"?P1:mt}),n.removeAttribute(g)}else g.startsWith(D0)&&(c.push({type:6,index:o}),n.removeAttribute(g));if(Qr.test(n.tagName)){const g=n.textContent.split(D0),w=g.length-1;if(w>0){n.textContent=ft?ft.emptyScript:"";for(let b=0;b<w;b++)n.append(g[b],Oe()),W0.nextNode(),c.push({type:2,index:++o});n.append(g[w],Oe())}}}else if(n.nodeType===8)if(n.data===Yr)c.push({type:2,index:o});else{let g=-1;for(;(g=n.data.indexOf(D0,g+1))!==-1;)c.push({type:7,index:o}),g+=D0.length-1}o++}}static createElement(e,r){const i=U0.createElement("template");return i.innerHTML=e,i}}function de(t,e,r=t,i){if(e===B0)return e;let n=i!==void 0?r._$Co?.[i]:r._$Cl;const o=Fe(e)?void 0:e._$litDirective$;return n?.constructor!==o&&(n?._$AO?.(!1),o===void 0?n=void 0:(n=new o(t),n._$AT(t,r,i)),i!==void 0?(r._$Co??=[])[i]=n:r._$Cl=n),n!==void 0&&(e=de(t,n._$AS(t,e.values),n,i)),e}let E1=class{constructor(e,r){this._$AV=[],this._$AN=void 0,this._$AD=e,this._$AM=r}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(e){const{el:{content:r},parts:i}=this._$AD,n=(e?.creationScope??U0).importNode(r,!0);W0.currentNode=n;let o=W0.nextNode(),a=0,l=0,c=i[0];for(;c!==void 0;){if(a===c.index){let d;c.type===2?d=new ue(o,o.nextSibling,this,e):c.type===1?d=new c.ctor(o,c.name,c.strings,this,e):c.type===6&&(d=new T1(o,this,e)),this._$AV.push(d),c=i[++l]}a!==c?.index&&(o=W0.nextNode(),a++)}return W0.currentNode=U0,n}p(e){let r=0;for(const i of this._$AV)i!==void 0&&(i.strings!==void 0?(i._$AI(e,i,r),r+=i.strings.length-2):i._$AI(e[r])),r++}};class ue{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(e,r,i,n){this.type=2,this._$AH=v2,this._$AN=void 0,this._$AA=e,this._$AB=r,this._$AM=i,this.options=n,this._$Cv=n?.isConnected??!0}get parentNode(){let e=this._$AA.parentNode;const r=this._$AM;return r!==void 0&&e?.nodeType===11&&(e=r.parentNode),e}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(e,r=this){e=de(this,e,r),Fe(e)?e===v2||e==null||e===""?(this._$AH!==v2&&this._$AR(),this._$AH=v2):e!==this._$AH&&e!==B0&&this._(e):e._$litType$!==void 0?this.$(e):e.nodeType!==void 0?this.T(e):M1(e)?this.k(e):this._(e)}O(e){return this._$AA.parentNode.insertBefore(e,this._$AB)}T(e){this._$AH!==e&&(this._$AR(),this._$AH=this.O(e))}_(e){this._$AH!==v2&&Fe(this._$AH)?this._$AA.nextSibling.data=e:this.T(U0.createTextNode(e)),this._$AH=e}$(e){const{values:r,_$litType$:i}=e,n=typeof i=="number"?this._$AC(e):(i.el===void 0&&(i.el=je.createElement(ti(i.h,i.h[0]),this.options)),i);if(this._$AH?._$AD===n)this._$AH.p(r);else{const o=new E1(n,this),a=o.u(this.options);o.p(r),this.T(a),this._$AH=o}}_$AC(e){let r=ei.get(e.strings);return r===void 0&&ei.set(e.strings,r=new je(e)),r}k(e){tr(this._$AH)||(this._$AH=[],this._$AR());const r=this._$AH;let i,n=0;for(const o of e)n===r.length?r.push(i=new ue(this.O(Oe()),this.O(Oe()),this,this.options)):i=r[n],i._$AI(o),n++;n<r.length&&(this._$AR(i&&i._$AB.nextSibling,n),r.length=n)}_$AR(e=this._$AA.nextSibling,r){for(this._$AP?.(!1,!0,r);e!==this._$AB;){const i=e.nextSibling;e.remove(),e=i}}setConnected(e){this._$AM===void 0&&(this._$Cv=e,this._$AP?.(e))}}class mt{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(e,r,i,n,o){this.type=1,this._$AH=v2,this._$AN=void 0,this.element=e,this.name=r,this._$AM=n,this.options=o,i.length>2||i[0]!==""||i[1]!==""?(this._$AH=Array(i.length-1).fill(new String),this.strings=i):this._$AH=v2}_$AI(e,r=this,i,n){const o=this.strings;let a=!1;if(o===void 0)e=de(this,e,r,0),a=!Fe(e)||e!==this._$AH&&e!==B0,a&&(this._$AH=e);else{const l=e;let c,d;for(e=o[0],c=0;c<o.length-1;c++)d=de(this,l[i+c],r,c),d===B0&&(d=this._$AH[c]),a||=!Fe(d)||d!==this._$AH[c],d===v2?e=v2:e!==v2&&(e+=(d??"")+o[c+1]),this._$AH[c]=d}a&&!n&&this.j(e)}j(e){e===v2?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e??"")}}class D1 extends mt{constructor(){super(...arguments),this.type=3}j(e){this.element[this.name]=e===v2?void 0:e}}class B1 extends mt{constructor(){super(...arguments),this.type=4}j(e){this.element.toggleAttribute(this.name,!!e&&e!==v2)}}class P1 extends mt{constructor(e,r,i,n,o){super(e,r,i,n,o),this.type=5}_$AI(e,r=this){if((e=de(this,e,r,0)??v2)===B0)return;const i=this._$AH,n=e===v2&&i!==v2||e.capture!==i.capture||e.once!==i.once||e.passive!==i.passive,o=e!==v2&&(i===v2||n);n&&this.element.removeEventListener(this.name,this,i),o&&this.element.addEventListener(this.name,this,e),this._$AH=e}handleEvent(e){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,e):this._$AH.handleEvent(e)}}class T1{constructor(e,r,i){this.element=e,this.type=6,this._$AN=void 0,this._$AM=r,this.options=i}get _$AU(){return this._$AM._$AU}_$AI(e){de(this,e)}}const R1={I:ue},O1=er.litHtmlPolyfillSupport;O1?.(je,ue),(er.litHtmlVersions??=[]).push("3.3.1");const F1=(t,e,r)=>{const i=r?.renderBefore??e;let n=i._$litPart$;if(n===void 0){const o=r?.renderBefore??null;i._$litPart$=n=new ue(e.insertBefore(Oe(),o),o,void 0,r??{})}return n._$AI(t),n};const ir=globalThis;let G2=class extends ce{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){const e=super.createRenderRoot();return this.renderOptions.renderBefore??=e.firstChild,e}update(e){const r=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(e),this._$Do=F1(r,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return B0}};G2._$litElement$=!0,G2.finalized=!0,ir.litElementHydrateSupport?.({LitElement:G2});const H1=ir.litElementPolyfillSupport;H1?.({LitElement:G2}),(ir.litElementVersions??=[]).push("4.2.1");function*gt(t,e){if(t!==void 0){let r=0;for(const i of t)yield e(i,r++)}}function H2(t,e,r){return t?e(t):r?.(t)}const j1=`
|
|
28
4
|
:host {
|
|
29
5
|
display: flex;
|
|
30
6
|
box-sizing: border-box;
|
|
@@ -686,27 +662,7 @@ input {
|
|
|
686
662
|
<small class="error-validation" style="margin-left: var(--list-padding)"
|
|
687
663
|
>${this.filterObject.validation&&this.isValid===!1?this.filterObject.validation.message:""}</small
|
|
688
664
|
>
|
|
689
|
-
`)}}customElements.define("eox-itemfilter-text",_a);function La(t,e,r){return t.filter(
|
|
690
|
-
* @license
|
|
691
|
-
* Copyright 2020 Google LLC
|
|
692
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
693
|
-
*/const t1=Symbol.for(""),$a=t=>{if(t?.r===t1)return t?._$litStatic$},be=t=>({_$litStatic$:t,r:t1}),r1=new Map,Aa=t=>(e,...r)=>{const i=r.length;let n,o;const a=[],l=[];let c,d=0,f=!1;for(;d<i;){for(c=e[d];d<i&&(o=r[d],(n=$a(o))!==void 0);)c+=n+e[++d],f=!0;d!==i&&l.push(o),a.push(c),d++}if(d===i&&a.push(e[i]),f){const g=a.join("$$lit$$");(e=r1.get(g))===void 0&&(a.raw=a,r1.set(g,e=a)),r=l}return t(e,...r)},i1=Aa(q);/**
|
|
694
|
-
* @license
|
|
695
|
-
* Copyright 2017 Google LLC
|
|
696
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
697
|
-
*/const n1={CHILD:2},o1=t=>(...e)=>({_$litDirective$:t,values:e});class a1{constructor(e){}get _$AU(){return this._$AM._$AU}_$AT(e,r,i){this._$Ct=e,this._$AM=r,this._$Ci=i}_$AS(e,r){return this.update(e,r)}update(e,r){return this.render(...r)}}/**
|
|
698
|
-
* @license
|
|
699
|
-
* Copyright 2020 Google LLC
|
|
700
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
701
|
-
*/const{I:Ma}=R1,s1=()=>document.createComment(""),Ze=(t,e,r)=>{const i=t._$AA.parentNode,n=e===void 0?t._$AB:e._$AA;if(r===void 0){const o=i.insertBefore(s1(),n),a=i.insertBefore(s1(),n);r=new Ma(o,a,t,t.options)}else{const o=r._$AB.nextSibling,a=r._$AM,l=a!==t;if(l){let c;r._$AQ?.(t),r._$AM=t,r._$AP!==void 0&&(c=t._$AU)!==a._$AU&&r._$AP(c)}if(o!==n||l){let c=r._$AA;for(;c!==o;){const d=c.nextSibling;i.insertBefore(c,n),c=d}}}return r},X0=(t,e,r=t)=>(t._$AI(e,r),t),za={},Sa=(t,e=za)=>t._$AH=e,Ea=t=>t._$AH,$r=t=>{t._$AR(),t._$AA.remove()};/**
|
|
702
|
-
* @license
|
|
703
|
-
* Copyright 2017 Google LLC
|
|
704
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
705
|
-
*/const l1=(t,e,r)=>{const i=new Map;for(let n=e;n<=r;n++)i.set(t[n],n);return i},Da=o1(class extends a1{constructor(t){if(super(t),t.type!==n1.CHILD)throw Error("repeat() can only be used in text expressions")}dt(t,e,r){let i;r===void 0?r=e:e!==void 0&&(i=e);const n=[],o=[];let a=0;for(const l of t)n[a]=i?i(l,a):a,o[a]=r(l,a),a++;return{values:o,keys:n}}render(t,e,r){return this.dt(t,e,r).values}update(t,[e,r,i]){const n=Ea(t),{values:o,keys:a}=this.dt(e,r,i);if(!Array.isArray(n))return this.ut=a,o;const l=this.ut??=[],c=[];let d,f,g=0,w=n.length-1,b=0,_=o.length-1;for(;g<=w&&b<=_;)if(n[g]===null)g++;else if(n[w]===null)w--;else if(l[g]===a[b])c[b]=X0(n[g],o[b]),g++,b++;else if(l[w]===a[_])c[_]=X0(n[w],o[_]),w--,_--;else if(l[g]===a[_])c[_]=X0(n[g],o[_]),Ze(t,c[_+1],n[g]),g++,_--;else if(l[w]===a[b])c[b]=X0(n[w],o[b]),Ze(t,n[g],n[w]),w--,b++;else if(d===void 0&&(d=l1(a,b,_),f=l1(l,g,w)),d.has(l[g]))if(d.has(l[w])){const z=f.get(a[b]),Z=z!==void 0?n[z]:null;if(Z===null){const I=Ze(t,n[g]);X0(I,o[b]),c[b]=I}else c[b]=X0(Z,o[b]),Ze(t,n[g],Z),n[z]=null;b++}else $r(n[w]),w--;else $r(n[g]),g++;for(;b<=_;){const z=Ze(t,c[_+1]);X0(z,o[b]),c[b++]=z}for(;g<=w;){const z=n[g++];z!==null&&$r(z)}return this.ut=a,Sa(t,c),B0}});/**
|
|
706
|
-
* @license
|
|
707
|
-
* Copyright 2017 Google LLC
|
|
708
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
709
|
-
*/class Ar extends a1{constructor(e){if(super(e),this.it=v2,e.type!==n1.CHILD)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(e){if(e===v2||e==null)return this._t=void 0,this.it=e;if(e===B0)return e;if(typeof e!="string")throw Error(this.constructor.directiveName+"() called with a non-string value");if(e===this.it)return this._t;this.it=e;const r=[e];return r.raw=r,this._t={_$litType$:this.constructor.resultType,strings:r,values:[]}}}Ar.directiveName="unsafeHTML",Ar.resultType=1;const Rt=o1(Ar);function Ba(t,e){return q`
|
|
665
|
+
`)}}customElements.define("eox-itemfilter-text",_a);function La(t,e,r){if(!e||typeof e=="string"&&e.trim()==="")return[];const i=r.config.aggregateResults;return e==="No category"?t.filter(n=>{const o=n[i];return Array.isArray(o)?o.filter(Boolean).length===0:!o}):t.filter(n=>{const o=n[i];if(Array.isArray(o)){if(o.filter(Boolean).length===0)return!1}else if(!o)return!1;let a;return r.filters[i]&&(a=Object.keys(r.filters[i]).filter(c=>r.filters[i].state[c])),(a?.length?a.includes(e):!0)&&Array.isArray(o)?o.includes(e):o===e})}const t1=Symbol.for(""),$a=t=>{if(t?.r===t1)return t?._$litStatic$},be=t=>({_$litStatic$:t,r:t1}),r1=new Map,Aa=t=>(e,...r)=>{const i=r.length;let n,o;const a=[],l=[];let c,d=0,f=!1;for(;d<i;){for(c=e[d];d<i&&(o=r[d],(n=$a(o))!==void 0);)c+=n+e[++d],f=!0;d!==i&&l.push(o),a.push(c),d++}if(d===i&&a.push(e[i]),f){const g=a.join("$$lit$$");(e=r1.get(g))===void 0&&(a.raw=a,r1.set(g,e=a)),r=l}return t(e,...r)},i1=Aa(q);const n1={CHILD:2},o1=t=>(...e)=>({_$litDirective$:t,values:e});class a1{constructor(e){}get _$AU(){return this._$AM._$AU}_$AT(e,r,i){this._$Ct=e,this._$AM=r,this._$Ci=i}_$AS(e,r){return this.update(e,r)}update(e,r){return this.render(...r)}}const{I:Ma}=R1,s1=()=>document.createComment(""),Ze=(t,e,r)=>{const i=t._$AA.parentNode,n=e===void 0?t._$AB:e._$AA;if(r===void 0){const o=i.insertBefore(s1(),n),a=i.insertBefore(s1(),n);r=new Ma(o,a,t,t.options)}else{const o=r._$AB.nextSibling,a=r._$AM,l=a!==t;if(l){let c;r._$AQ?.(t),r._$AM=t,r._$AP!==void 0&&(c=t._$AU)!==a._$AU&&r._$AP(c)}if(o!==n||l){let c=r._$AA;for(;c!==o;){const d=c.nextSibling;i.insertBefore(c,n),c=d}}}return r},X0=(t,e,r=t)=>(t._$AI(e,r),t),za={},Sa=(t,e=za)=>t._$AH=e,Ea=t=>t._$AH,$r=t=>{t._$AR(),t._$AA.remove()};const l1=(t,e,r)=>{const i=new Map;for(let n=e;n<=r;n++)i.set(t[n],n);return i},Da=o1(class extends a1{constructor(t){if(super(t),t.type!==n1.CHILD)throw Error("repeat() can only be used in text expressions")}dt(t,e,r){let i;r===void 0?r=e:e!==void 0&&(i=e);const n=[],o=[];let a=0;for(const l of t)n[a]=i?i(l,a):a,o[a]=r(l,a),a++;return{values:o,keys:n}}render(t,e,r){return this.dt(t,e,r).values}update(t,[e,r,i]){const n=Ea(t),{values:o,keys:a}=this.dt(e,r,i);if(!Array.isArray(n))return this.ut=a,o;const l=this.ut??=[],c=[];let d,f,g=0,w=n.length-1,b=0,_=o.length-1;for(;g<=w&&b<=_;)if(n[g]===null)g++;else if(n[w]===null)w--;else if(l[g]===a[b])c[b]=X0(n[g],o[b]),g++,b++;else if(l[w]===a[_])c[_]=X0(n[w],o[_]),w--,_--;else if(l[g]===a[_])c[_]=X0(n[g],o[_]),Ze(t,c[_+1],n[g]),g++,_--;else if(l[w]===a[b])c[b]=X0(n[w],o[b]),Ze(t,n[g],n[w]),w--,b++;else if(d===void 0&&(d=l1(a,b,_),f=l1(l,g,w)),d.has(l[g]))if(d.has(l[w])){const z=f.get(a[b]),Z=z!==void 0?n[z]:null;if(Z===null){const I=Ze(t,n[g]);X0(I,o[b]),c[b]=I}else c[b]=X0(Z,o[b]),Ze(t,n[g],Z),n[z]=null;b++}else $r(n[w]),w--;else $r(n[g]),g++;for(;b<=_;){const z=Ze(t,c[_+1]);X0(z,o[b]),c[b++]=z}for(;g<=w;){const z=n[g++];z!==null&&$r(z)}return this.ut=a,Sa(t,c),B0}});class Ar extends a1{constructor(e){if(super(e),this.it=v2,e.type!==n1.CHILD)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(e){if(e===v2||e==null)return this._t=void 0,this.it=e;if(e===B0)return e;if(typeof e!="string")throw Error(this.constructor.directiveName+"() called with a non-string value");if(e===this.it)return this._t;this.it=e;const r=[e];return r.raw=r,this._t={_$litType$:this.constructor.resultType,strings:r,values:[]}}}Ar.directiveName="unsafeHTML",Ar.resultType=1;const Rt=o1(Ar);function Ba(t,e){return q`
|
|
710
666
|
<details
|
|
711
667
|
class="details-results"
|
|
712
668
|
@toggle=${e.handleAccordion}
|
|
@@ -820,12 +776,12 @@ input {
|
|
|
820
776
|
</li>
|
|
821
777
|
`)}
|
|
822
778
|
${t.resultType==="cards"?be("</eox-layout>"):be("</ul>")}
|
|
823
|
-
`}class Pa extends G2{static get properties(){return{config:{attribute:!1,type:Object},results:{state:!0,type:Array},filters:{state:!0,type:Object},resultAggregation:{attribute:!1,type:Array},selectedResult:{state:!0,type:Object},resultType:{attribute:"result-type",type:String},resultActionIcon:{attribute:!1,type:String}}}constructor(){super(),this.config=null,this.results=null,this.filters={},this.resultAggregation=[],this.selectedResult=null,this.resultType="list",this.resultActionIcon=void 0}#e(e){return c1(this,e)}#t(e){return Ba(e,this)}aggregateResults(e,r){return La(e,r,this)}createRenderRoot(){return this}handleAccordion(e){Gi(e,this.config,this)}render(){return q`
|
|
779
|
+
`}class Pa extends G2{static get properties(){return{config:{attribute:!1,type:Object},results:{state:!0,type:Array},filters:{state:!0,type:Object},resultAggregation:{attribute:!1,type:Array},selectedResult:{state:!0,type:Object},resultType:{attribute:"result-type",type:String},resultActionIcon:{attribute:!1,type:String}}}constructor(){super(),this.config=null,this.results=null,this.filters={},this.resultAggregation=[],this.selectedResult=null,this.resultType="list",this.resultActionIcon=void 0}#e(e){return c1(this,e)}#t(e){return Ba(e,this)}aggregateResults(e,r){return La(e,r,this)}createRenderRoot(){return this}handleAccordion(e){Gi(e,this.config,this)}#r(){const e=this.resultAggregation.filter(i=>this.aggregateResults(this.results,i).length);return this.aggregateResults(this.results,"No category").length>0&&e.push("No category"),e}render(){return q`
|
|
824
780
|
<section id="section-results">
|
|
825
781
|
<div slot="resultstitle"></div>
|
|
826
782
|
<div id="container-results" class="scroll">
|
|
827
783
|
${H2(this.results.length<1,()=>q`<small class="no-results">No matching items</small>`,()=>v2)}
|
|
828
|
-
${H2(this.config.aggregateResults,()=>gt(this
|
|
784
|
+
${H2(this.config.aggregateResults,()=>gt(this.#r(),e=>q`${H2(this.aggregateResults(this.results,e).length===1&&this.config.autoSpreadSingle,()=>q`<div style="margin-left: -8px">
|
|
829
785
|
${this.#e(e)}
|
|
830
786
|
</div>`,()=>this.#t(e))}`),()=>this.#e())}
|
|
831
787
|
</div>
|
|
@@ -930,7 +886,7 @@ input {
|
|
|
930
886
|
</span>
|
|
931
887
|
`)}
|
|
932
888
|
</span>
|
|
933
|
-
`}}customElements.define("eox-itemfilter-chips",Ia);const Va=Object.freeze({aggregateResults:void 0,autoSpreadSingle:!1,enableHighlighting:!1,externalFilter:()=>{},filterProperties:[],fuseConfig:{},inlineMode:!1,matchAllWhenEmpty:!0,showResults:!0,idProperty:"id",titleProperty:"title",subTitleProperty:void 0,imageProperty:void 0,expandMultipleFilters:!0,expandResults:!0,expandMultipleResults:!0}),d1=["aggregateResults","autoSpreadSingle","enableHighlighting","externalFilter","filterProperties","fuseConfig","inlineMode","matchAllWhenEmpty","showResults","titleProperty","subTitleProperty","imageProperty","idProperty","expandMultipleFilters","expandResults","expandMultipleResults","items"];var Mr,u1;function Za(){if(u1)return Mr;u1=1;var t=200,e="__lodash_hash_undefined__",r=1/0,i="[object Function]",n="[object GeneratorFunction]",o=/[\\^$.*+?()[\]{}|]/g,a=/^\[object .+?Constructor\]$/,l=typeof l0=="object"&&l0&&l0.Object===Object&&l0,c=typeof self=="object"&&self&&self.Object===Object&&self,d=l||c||Function("return this")();function f(y,M){var U=y?y.length:0;return!!U&&w(y,M,0)>-1}function g(y,M,U,w2){for(var j2=y.length,V2=U+-1;++V2<j2;)if(M(y[V2],V2,y))return V2;return-1}function w(y,M,U){if(M!==M)return g(y,b,U);for(var w2=U-1,j2=y.length;++w2<j2;)if(y[w2]===M)return w2;return-1}function b(y){return y!==y}function _(y,M){return y.has(M)}function z(y,M){return y?.[M]}function Z(y){var M=!1;if(y!=null&&typeof y.toString!="function")try{M=!!(y+"")}catch{}return M}function I(y){var M=-1,U=Array(y.size);return y.forEach(function(w2){U[++M]=w2}),U}var a2=Array.prototype,t2=Function.prototype,s2=Object.prototype,T=d["__core-js_shared__"],l2=(function(){var y=/[^.]+$/.exec(T&&T.keys&&T.keys.IE_PROTO||"");return y?"Symbol(src)_1."+y:""})(),n2=t2.toString,y2=s2.hasOwnProperty,C2=s2.toString,h2=RegExp("^"+n2.call(y2).replace(o,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),e2=a2.splice,g2=Q0(d,"Map"),F2=Q0(d,"Set"),E=Q0(Object,"create");function A(y){var M=-1,U=y?y.length:0;for(this.clear();++M<U;){var w2=y[M];this.set(w2[0],w2[1])}}function $(){this.__data__=E?E(null):{}}function H(y){return this.has(y)&&delete this.__data__[y]}function S(y){var M=this.__data__;if(E){var U=M[y];return U===e?void 0:U}return y2.call(M,y)?M[y]:void 0}function W(y){var M=this.__data__;return E?M[y]!==void 0:y2.call(M,y)}function Y(y,M){var U=this.__data__;return U[y]=E&&M===void 0?e:M,this}A.prototype.clear=$,A.prototype.delete=H,A.prototype.get=S,A.prototype.has=W,A.prototype.set=Y;function i2(y){var M=-1,U=y?y.length:0;for(this.clear();++M<U;){var w2=y[M];this.set(w2[0],w2[1])}}function f2(){this.__data__=[]}function k2(y){var M=this.__data__,U=L0(M,y);if(U<0)return!1;var w2=M.length-1;return U==w2?M.pop():e2.call(M,U,1),!0}function z2(y){var M=this.__data__,U=L0(M,y);return U<0?void 0:M[U][1]}function R2(y){return L0(this.__data__,y)>-1}function L2(y,M){var U=this.__data__,w2=L0(U,y);return w2<0?U.push([y,M]):U[w2][1]=M,this}i2.prototype.clear=f2,i2.prototype.delete=k2,i2.prototype.get=z2,i2.prototype.has=R2,i2.prototype.set=L2;function O(y){var M=-1,U=y?y.length:0;for(this.clear();++M<U;){var w2=y[M];this.set(w2[0],w2[1])}}function D2(){this.__data__={hash:new A,map:new(g2||i2),string:new A}}function _2(y){return O0(this,y).delete(y)}function K(y){return O0(this,y).get(y)}function I2(y){return O0(this,y).has(y)}function c0(y,M){return O0(this,y).set(y,M),this}O.prototype.clear=D2,O.prototype.delete=_2,O.prototype.get=K,O.prototype.has=I2,O.prototype.set=c0;function b2(y){var M=-1,U=y?y.length:0;for(this.__data__=new O;++M<U;)this.add(y[M])}function ve(y){return this.__data__.set(y,e),this}function ye(y){return this.__data__.has(y)}b2.prototype.add=b2.prototype.push=ve,b2.prototype.has=ye;function L0(y,M){for(var U=y.length;U--;)if(Ge(y[U][0],M))return U;return-1}function qe(y){if(!we(y)||Ce(y))return!1;var M=Xe(y)||Z(y)?h2:a;return M.test(ee(y))}function We(y,M,U){var w2=-1,j2=f,V2=y.length,xe=!0,r0=[],d0=r0;if(V2>=t){var ke=J0(y);if(ke)return I(ke);xe=!1,j2=_,d0=new b2}else d0=r0;e:for(;++w2<V2;){var b0=y[w2],v0=b0;if(b0=b0!==0?b0:0,xe&&v0===v0){for(var $0=d0.length;$0--;)if(d0[$0]===v0)continue e;r0.push(b0)}else j2(d0,v0,U)||(d0!==r0&&d0.push(v0),r0.push(b0))}return r0}var J0=F2&&1/I(new F2([,-0]))[1]==r?function(y){return new F2(y)}:Je;function O0(y,M){var U=y.__data__;return Ye(M)?U[typeof M=="string"?"string":"hash"]:U.map}function Q0(y,M){var U=z(y,M);return qe(U)?U:void 0}function Ye(y){var M=typeof y;return M=="string"||M=="number"||M=="symbol"||M=="boolean"?y!=="__proto__":y===null}function Ce(y){return!!l2&&l2 in y}function ee(y){if(y!=null){try{return n2.call(y)}catch{}try{return y+""}catch{}}return""}function Ke(y){return y&&y.length?We(y):[]}function Ge(y,M){return y===M||y!==y&&M!==M}function Xe(y){var M=we(y)?C2.call(y):"";return M==i||M==n}function we(y){var M=typeof y;return!!y&&(M=="object"||M=="function")}function Je(){}return Mr=Ke,Mr}var Ua=Za();const p1=Dt(Ua);var Ue={exports:{}};Ue.exports;var h1;function qa(){return h1||(h1=1,(function(t,e){var r=200,i="Expected a function",n="__lodash_hash_undefined__",o=1,a=2,l=9007199254740991,c="[object Arguments]",d="[object Array]",f="[object Boolean]",g="[object Date]",w="[object Error]",b="[object Function]",_="[object GeneratorFunction]",z="[object Map]",Z="[object Number]",I="[object Object]",a2="[object Promise]",t2="[object RegExp]",s2="[object Set]",T="[object String]",l2="[object Symbol]",n2="[object WeakMap]",y2="[object ArrayBuffer]",C2="[object DataView]",h2="[object Float32Array]",e2="[object Float64Array]",g2="[object Int8Array]",F2="[object Int16Array]",E="[object Int32Array]",A="[object Uint8Array]",$="[object Uint8ClampedArray]",H="[object Uint16Array]",S="[object Uint32Array]",W=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Y=/^\w*$/,i2=/^\./,f2=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,k2=/[\\^$.*+?()[\]{}|]/g,z2=/\\(\\)?/g,R2=/^\[object .+?Constructor\]$/,L2=/^(?:0|[1-9]\d*)$/,O={};O[h2]=O[e2]=O[g2]=O[F2]=O[E]=O[A]=O[$]=O[H]=O[S]=!0,O[c]=O[d]=O[y2]=O[f]=O[C2]=O[g]=O[w]=O[b]=O[z]=O[Z]=O[I]=O[t2]=O[s2]=O[T]=O[n2]=!1;var D2=typeof l0=="object"&&l0&&l0.Object===Object&&l0,_2=typeof self=="object"&&self&&self.Object===Object&&self,K=D2||_2||Function("return this")(),I2=e&&!e.nodeType&&e,c0=I2&&!0&&t&&!t.nodeType&&t,b2=c0&&c0.exports===I2,ve=b2&&D2.process,ye=(function(){try{return ve&&ve.binding("util")}catch{}})(),L0=ye&&ye.isTypedArray;function qe(s,p){for(var v=-1,L=s?s.length:0,j=Array(L);++v<L;)j[v]=p(s[v],v,s);return j}function We(s,p){for(var v=-1,L=p.length,j=s.length;++v<L;)s[j+v]=p[v];return s}function J0(s,p){for(var v=-1,L=s?s.length:0;++v<L;)if(p(s[v],v,s))return!0;return!1}function O0(s){return function(p){return p?.[s]}}function Q0(s,p){for(var v=-1,L=Array(s);++v<s;)L[v]=p(v);return L}function Ye(s){return function(p){return s(p)}}function Ce(s,p){return s?.[p]}function ee(s){var p=!1;if(s!=null&&typeof s.toString!="function")try{p=!!(s+"")}catch{}return p}function Ke(s){var p=-1,v=Array(s.size);return s.forEach(function(L,j){v[++p]=[j,L]}),v}function Ge(s,p){return function(v){return s(p(v))}}function Xe(s){var p=-1,v=Array(s.size);return s.forEach(function(L){v[++p]=L}),v}var we=Array.prototype,Je=Function.prototype,y=Object.prototype,M=K["__core-js_shared__"],U=(function(){var s=/[^.]+$/.exec(M&&M.keys&&M.keys.IE_PROTO||"");return s?"Symbol(src)_1."+s:""})(),w2=Je.toString,j2=y.hasOwnProperty,V2=y.toString,xe=RegExp("^"+w2.call(j2).replace(k2,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),r0=K.Symbol,d0=K.Uint8Array,ke=y.propertyIsEnumerable,b0=we.splice,v0=r0?r0.isConcatSpreadable:void 0,$0=Ge(Object.keys,Object),Qe=x0(K,"DataView"),F0=x0(K,"Map"),et=x0(K,"Promise"),y0=x0(K,"Set"),_e=x0(K,"WeakMap"),te=x0(Object,"create"),zr=z0(Qe),Ot=z0(F0),Sr=z0(et),Ft=z0(y0),Er=z0(_e),re=r0?r0.prototype:void 0,tt=re?re.valueOf:void 0,Le=re?re.toString:void 0;function i0(s){var p=-1,v=s?s.length:0;for(this.clear();++p<v;){var L=s[p];this.set(L[0],L[1])}}function H0(){this.__data__=te?te(null):{}}function Ht(s){return this.has(s)&&delete this.__data__[s]}function Dr(s){var p=this.__data__;if(te){var v=p[s];return v===n?void 0:v}return j2.call(p,s)?p[s]:void 0}function Br(s){var p=this.__data__;return te?p[s]!==void 0:j2.call(p,s)}function Pr(s,p){var v=this.__data__;return v[s]=te&&p===void 0?n:p,this}i0.prototype.clear=H0,i0.prototype.delete=Ht,i0.prototype.get=Dr,i0.prototype.has=Br,i0.prototype.set=Pr;function n0(s){var p=-1,v=s?s.length:0;for(this.clear();++p<v;){var L=s[p];this.set(L[0],L[1])}}function u(){this.__data__=[]}function m(s){var p=this.__data__,v=A2(p,s);if(v<0)return!1;var L=p.length-1;return v==L?p.pop():b0.call(p,v,1),!0}function x(s){var p=this.__data__,v=A2(p,s);return v<0?void 0:p[v][1]}function C(s){return A2(this.__data__,s)>-1}function D(s,p){var v=this.__data__,L=A2(v,s);return L<0?v.push([s,p]):v[L][1]=p,this}n0.prototype.clear=u,n0.prototype.delete=m,n0.prototype.get=x,n0.prototype.has=C,n0.prototype.set=D;function N(s){var p=-1,v=s?s.length:0;for(this.clear();++p<v;){var L=s[p];this.set(L[0],L[1])}}function r2(){this.__data__={hash:new i0,map:new(F0||n0),string:new i0}}function B(s){return M0(this,s).delete(s)}function R(s){return M0(this,s).get(s)}function o2(s){return M0(this,s).has(s)}function d2(s,p){return M0(this,s).set(s,p),this}N.prototype.clear=r2,N.prototype.delete=B,N.prototype.get=R,N.prototype.has=o2,N.prototype.set=d2;function V(s){var p=-1,v=s?s.length:0;for(this.__data__=new N;++p<v;)this.add(s[p])}function m2(s){return this.__data__.set(s,n),this}function X2(s){return this.__data__.has(s)}V.prototype.add=V.prototype.push=m2,V.prototype.has=X2;function $2(s){this.__data__=new n0(s)}function X(){this.__data__=new n0}function c2(s){return this.__data__.delete(s)}function J(s){return this.__data__.get(s)}function x2(s){return this.__data__.has(s)}function O2(s,p){var v=this.__data__;if(v instanceof n0){var L=v.__data__;if(!F0||L.length<r-1)return L.push([s,p]),this;v=this.__data__=new N(L)}return v.set(s,p),this}$2.prototype.clear=X,$2.prototype.delete=c2,$2.prototype.get=J,$2.prototype.has=x2,$2.prototype.set=O2;function P2(s,p){var v=o0(s)||se(s)?Q0(s.length,String):[],L=v.length,j=!!L;for(var P in s)j2.call(s,P)&&!(j&&(P=="length"||nt(P,L)))&&v.push(P);return v}function A2(s,p){for(var v=s.length;v--;)if(De(s[v][0],p))return v;return-1}var B2=Or(C0);function Z2(s,p,v,L,j){var P=-1,Q=s.length;for(v||(v=Wt),j||(j=[]);++P<Q;){var M2=s[P];v(M2)?We(j,M2):j[j.length]=M2}return j}var U2=Fr();function C0(s,p){return s&&U2(s,p,Z0)}function rt(s,p){p=oe(p,s)?[p]:w0(p);for(var v=0,L=p.length;s!=null&&v<L;)s=s[N0(p[v++])];return v&&v==L?s:void 0}function jt(s){return V2.call(s)}function $e(s,p){return s!=null&&p in Object(s)}function it(s,p,v,L,j){return s===p?!0:s==null||p==null||!Be(s)&&!S0(p)?s!==s&&p!==p:Nt(s,p,it,v,L,j)}function Nt(s,p,v,L,j,P){var Q=o0(s),M2=o0(p),S2=d,T2=d;Q||(S2=k0(s),S2=S2==c?I:S2),M2||(T2=k0(p),T2=T2==c?I:T2);var W2=S2==I&&!ee(s),Y2=T2==I&&!ee(p),N2=S2==T2;if(N2&&!W2)return P||(P=new $2),Q||Gt(s)?qt(s,p,v,L,j,P):Me(s,p,S2,v,L,j,P);if(!(j&a)){var J2=W2&&j2.call(s,"__wrapped__"),h=Y2&&j2.call(p,"__wrapped__");if(J2||h){var k=J2?s.value():s,F=h?p.value():p;return P||(P=new $2),v(k,F,L,j,P)}}return N2?(P||(P=new $2),j0(s,p,v,L,j,P)):!1}function A0(s,p,v,L){var j=v.length,P=j;if(s==null)return!P;for(s=Object(s);j--;){var Q=v[j];if(Q[2]?Q[1]!==s[Q[0]]:!(Q[0]in s))return!1}for(;++j<P;){Q=v[j];var M2=Q[0],S2=s[M2],T2=Q[1];if(Q[2]){if(S2===void 0&&!(M2 in s))return!1}else{var W2=new $2,Y2;if(!(Y2===void 0?it(T2,S2,L,o|a,W2):Y2))return!1}}return!0}function Ae(s){if(!Be(s)||Kt(s))return!1;var p=a0(s)||ee(s)?xe:R2;return p.test(z0(s))}function It(s){return S0(s)&&ct(s.length)&&!!O[V2.call(s)]}function Vt(s){return typeof s=="function"?s:s==null?ut:typeof s=="object"?o0(s)?Rr(s[0],s[1]):Tr(s):pt(s)}function Zt(s){if(!ot(s))return $0(s);var p=[];for(var v in Object(s))j2.call(s,v)&&v!="constructor"&&p.push(v);return p}function Ut(s,p){var v=-1,L=I0(s)?Array(s.length):[];return B2(s,function(j,P,Q){L[++v]=p(j,P,Q)}),L}function Tr(s){var p=ze(s);return p.length==1&&p[0][2]?Ee(p[0][0],p[0][1]):function(v){return v===s||A0(v,s,p)}}function Rr(s,p){return oe(s)&&Se(p)?Ee(N0(s),p):function(v){var L=Te(v,s);return L===void 0&&L===p?dt(v,s):it(p,L,void 0,o|a)}}function ie(s){return function(p){return rt(p,s)}}function ne(s){if(typeof s=="string")return s;if(V0(s))return Le?Le.call(s):"";var p=s+"";return p=="0"&&1/s==-1/0?"-0":p}function w0(s){return o0(s)?s:at(s)}function Or(s,p){return function(v,L){if(v==null)return v;if(!I0(v))return s(v,L);for(var j=v.length,P=-1,Q=Object(v);++P<j&&L(Q[P],P,Q)!==!1;);return v}}function Fr(s){return function(p,v,L){for(var j=-1,P=Object(p),Q=L(p),M2=Q.length;M2--;){var S2=Q[++j];if(v(P[S2],S2,P)===!1)break}return p}}function qt(s,p,v,L,j,P){var Q=j&a,M2=s.length,S2=p.length;if(M2!=S2&&!(Q&&S2>M2))return!1;var T2=P.get(s);if(T2&&P.get(p))return T2==p;var W2=-1,Y2=!0,N2=j&o?new V:void 0;for(P.set(s,p),P.set(p,s);++W2<M2;){var J2=s[W2],h=p[W2];if(L)var k=Q?L(h,J2,W2,p,s,P):L(J2,h,W2,s,p,P);if(k!==void 0){if(k)continue;Y2=!1;break}if(N2){if(!J0(p,function(F,u2){if(!N2.has(u2)&&(J2===F||v(J2,F,L,j,P)))return N2.add(u2)})){Y2=!1;break}}else if(!(J2===h||v(J2,h,L,j,P))){Y2=!1;break}}return P.delete(s),P.delete(p),Y2}function Me(s,p,v,L,j,P,Q){switch(v){case C2:if(s.byteLength!=p.byteLength||s.byteOffset!=p.byteOffset)return!1;s=s.buffer,p=p.buffer;case y2:return!(s.byteLength!=p.byteLength||!L(new d0(s),new d0(p)));case f:case g:case Z:return De(+s,+p);case w:return s.name==p.name&&s.message==p.message;case t2:case T:return s==p+"";case z:var M2=Ke;case s2:var S2=P&a;if(M2||(M2=Xe),s.size!=p.size&&!S2)return!1;var T2=Q.get(s);if(T2)return T2==p;P|=o,Q.set(s,p);var W2=qt(M2(s),M2(p),L,j,P,Q);return Q.delete(s),W2;case l2:if(tt)return tt.call(s)==tt.call(p)}return!1}function j0(s,p,v,L,j,P){var Q=j&a,M2=Z0(s),S2=M2.length,T2=Z0(p),W2=T2.length;if(S2!=W2&&!Q)return!1;for(var Y2=S2;Y2--;){var N2=M2[Y2];if(!(Q?N2 in p:j2.call(p,N2)))return!1}var J2=P.get(s);if(J2&&P.get(p))return J2==p;var h=!0;P.set(s,p),P.set(p,s);for(var k=Q;++Y2<S2;){N2=M2[Y2];var F=s[N2],u2=p[N2];if(L)var E2=Q?L(u2,F,N2,p,s,P):L(F,u2,N2,s,p,P);if(!(E2===void 0?F===u2||v(F,u2,L,j,P):E2)){h=!1;break}k||(k=N2=="constructor")}if(h&&!k){var p2=s.constructor,K2=p.constructor;p2!=K2&&"constructor"in s&&"constructor"in p&&!(typeof p2=="function"&&p2 instanceof p2&&typeof K2=="function"&&K2 instanceof K2)&&(h=!1)}return P.delete(s),P.delete(p),h}function M0(s,p){var v=s.__data__;return Yt(p)?v[typeof p=="string"?"string":"hash"]:v.map}function ze(s){for(var p=Z0(s),v=p.length;v--;){var L=p[v],j=s[L];p[v]=[L,j,Se(j)]}return p}function x0(s,p){var v=Ce(s,p);return Ae(v)?v:void 0}var k0=jt;(Qe&&k0(new Qe(new ArrayBuffer(1)))!=C2||F0&&k0(new F0)!=z||et&&k0(et.resolve())!=a2||y0&&k0(new y0)!=s2||_e&&k0(new _e)!=n2)&&(k0=function(s){var p=V2.call(s),v=p==I?s.constructor:void 0,L=v?z0(v):void 0;if(L)switch(L){case zr:return C2;case Ot:return z;case Sr:return a2;case Ft:return s2;case Er:return n2}return p});function Hr(s,p,v){p=oe(p,s)?[p]:w0(p);for(var L,j=-1,Q=p.length;++j<Q;){var P=N0(p[j]);if(!(L=s!=null&&v(s,P)))break;s=s[P]}if(L)return L;var Q=s?s.length:0;return!!Q&&ct(Q)&&nt(P,Q)&&(o0(s)||se(s))}function Wt(s){return o0(s)||se(s)||!!(v0&&s&&s[v0])}function nt(s,p){return p=p??l,!!p&&(typeof s=="number"||L2.test(s))&&s>-1&&s%1==0&&s<p}function oe(s,p){if(o0(s))return!1;var v=typeof s;return v=="number"||v=="symbol"||v=="boolean"||s==null||V0(s)?!0:Y.test(s)||!W.test(s)||p!=null&&s in Object(p)}function Yt(s){var p=typeof s;return p=="string"||p=="number"||p=="symbol"||p=="boolean"?s!=="__proto__":s===null}function Kt(s){return!!U&&U in s}function ot(s){var p=s&&s.constructor,v=typeof p=="function"&&p.prototype||y;return s===v}function Se(s){return s===s&&!Be(s)}function Ee(s,p){return function(v){return v==null?!1:v[s]===p&&(p!==void 0||s in Object(v))}}var at=ae(function(s){s=Pe(s);var p=[];return i2.test(s)&&p.push(""),s.replace(f2,function(v,L,j,P){p.push(j?P.replace(z2,"$1"):L||v)}),p});function N0(s){if(typeof s=="string"||V0(s))return s;var p=s+"";return p=="0"&&1/s==-1/0?"-0":p}function z0(s){if(s!=null){try{return w2.call(s)}catch{}try{return s+""}catch{}}return""}function st(s,p){return Z2(lt(s,p))}function lt(s,p){var v=o0(s)?qe:Ut;return v(s,Vt(p))}function ae(s,p){if(typeof s!="function"||p&&typeof p!="function")throw new TypeError(i);var v=function(){var L=arguments,j=p?p.apply(this,L):L[0],P=v.cache;if(P.has(j))return P.get(j);var Q=s.apply(this,L);return v.cache=P.set(j,Q),Q};return v.cache=new(ae.Cache||N),v}ae.Cache=N;function De(s,p){return s===p||s!==s&&p!==p}function se(s){return q2(s)&&j2.call(s,"callee")&&(!ke.call(s,"callee")||V2.call(s)==c)}var o0=Array.isArray;function I0(s){return s!=null&&ct(s.length)&&!a0(s)}function q2(s){return S0(s)&&I0(s)}function a0(s){var p=Be(s)?V2.call(s):"";return p==b||p==_}function ct(s){return typeof s=="number"&&s>-1&&s%1==0&&s<=l}function Be(s){var p=typeof s;return!!s&&(p=="object"||p=="function")}function S0(s){return!!s&&typeof s=="object"}function V0(s){return typeof s=="symbol"||S0(s)&&V2.call(s)==l2}var Gt=L0?Ye(L0):It;function Pe(s){return s==null?"":ne(s)}function Te(s,p,v){var L=s==null?void 0:rt(s,p);return L===void 0?v:L}function dt(s,p){return s!=null&&Hr(s,p,$e)}function Z0(s){return I0(s)?P2(s):Zt(s)}function ut(s){return s}function pt(s){return oe(s)?O0(N0(s)):ie(s)}t.exports=st})(Ue,Ue.exports)),Ue.exports}var Wa=qa();const f1=Dt(Wa);function Ya(t,e,r){let i=[];t.filterProperties.length&&t.filterProperties.forEach(o=>{const a={},l=d=>o.format==="date"?Ve(d).unix():parseFloat(d);e.forEach(d=>{if(o.type==="range"){const f=t0(o.key,d);if(Array.isArray(f)){const g=[l(f[0]),l(f[1])];a.min=a.min!==void 0?Math.min(a.min,g[0]):g[0],a.max=a.max!==void 0?Math.max(a.max,g[1]):g[1]}else{const g=l(f);a.min=a.min!==void 0?Math.min(a.min,g):g,a.max=a.max!==void 0?Math.max(a.max,g):g}return}Array.isArray(d[o.key])?d[o.key].forEach(f=>{a[f]=void 0}):o.type==="spatial"?(a.geometry=o?.state?.geometry||void 0,a.geometry&&(o.stringifiedState=a.geometry.type),a.mode=o.mode||"intersects"):o.key?.includes(".")?p1(f1(r.items,o.key)).filter(f=>f).forEach(f=>{a[f]=void 0}):a[d[o.key]]=void 0});const c=o.key||o.keys.join("|");r.filters[c]=Object.assign({type:o.type||"multiselect",dirty:o.state?Object.values(o.state).some(d=>d):void 0,key:c},o.type==="range"?{min:a.min,max:a.max,format:o.format}:{},o),r.filters[c].state=Object.assign({},a,o.state)}),t.matchAllWhenEmpty!==!1&&(r.results=r.sortResults(e),r.requestUpdate()),t.aggregateResults&&(i=Array.from(new Set(e.reduce((o,a)=>o.concat(a[t.aggregateResults]),[]))).sort((o,a)=>o.localeCompare(a)));const n=[];return Object.values(r.filters).forEach(o=>{o.type==="text"?o.keys.forEach(a=>{n.includes(a)||n.push(a)}):(o.type==="select"||o.type==="multiselect")&&(n.includes(o.key)||n.push(o.key))}),Qo(e,Object.assign({keys:n},t.fuseConfig)),i}async function Ka(t,e,r){let i;r.externalFilter?i=await ia(e,r.filters,t):i=await ea(e,r.filters,t),r.results=r.sortResults(i)}function Ga(t,e,r){const i=`filter-${t.key}`.replace("|","-");switch(t.type){case"text":return q`<eox-itemfilter-text
|
|
889
|
+
`}}customElements.define("eox-itemfilter-chips",Ia);const Va=Object.freeze({aggregateResults:void 0,autoSpreadSingle:!1,enableHighlighting:!1,externalFilter:()=>{},filterProperties:[],fuseConfig:{},inlineMode:!1,matchAllWhenEmpty:!0,showResults:!0,idProperty:"id",titleProperty:"title",subTitleProperty:void 0,imageProperty:void 0,expandMultipleFilters:!0,expandResults:!0,expandMultipleResults:!0}),d1=["aggregateResults","autoSpreadSingle","enableHighlighting","externalFilter","filterProperties","fuseConfig","inlineMode","matchAllWhenEmpty","showResults","titleProperty","subTitleProperty","imageProperty","idProperty","expandMultipleFilters","expandResults","expandMultipleResults","items"];var Mr,u1;function Za(){if(u1)return Mr;u1=1;var t=200,e="__lodash_hash_undefined__",r=1/0,i="[object Function]",n="[object GeneratorFunction]",o=/[\\^$.*+?()[\]{}|]/g,a=/^\[object .+?Constructor\]$/,l=typeof l0=="object"&&l0&&l0.Object===Object&&l0,c=typeof self=="object"&&self&&self.Object===Object&&self,d=l||c||Function("return this")();function f(y,M){var U=y?y.length:0;return!!U&&w(y,M,0)>-1}function g(y,M,U,w2){for(var j2=y.length,V2=U+-1;++V2<j2;)if(M(y[V2],V2,y))return V2;return-1}function w(y,M,U){if(M!==M)return g(y,b,U);for(var w2=U-1,j2=y.length;++w2<j2;)if(y[w2]===M)return w2;return-1}function b(y){return y!==y}function _(y,M){return y.has(M)}function z(y,M){return y?.[M]}function Z(y){var M=!1;if(y!=null&&typeof y.toString!="function")try{M=!!(y+"")}catch{}return M}function I(y){var M=-1,U=Array(y.size);return y.forEach(function(w2){U[++M]=w2}),U}var a2=Array.prototype,t2=Function.prototype,s2=Object.prototype,T=d["__core-js_shared__"],l2=(function(){var y=/[^.]+$/.exec(T&&T.keys&&T.keys.IE_PROTO||"");return y?"Symbol(src)_1."+y:""})(),n2=t2.toString,y2=s2.hasOwnProperty,C2=s2.toString,h2=RegExp("^"+n2.call(y2).replace(o,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),e2=a2.splice,g2=Q0(d,"Map"),F2=Q0(d,"Set"),E=Q0(Object,"create");function A(y){var M=-1,U=y?y.length:0;for(this.clear();++M<U;){var w2=y[M];this.set(w2[0],w2[1])}}function $(){this.__data__=E?E(null):{}}function H(y){return this.has(y)&&delete this.__data__[y]}function S(y){var M=this.__data__;if(E){var U=M[y];return U===e?void 0:U}return y2.call(M,y)?M[y]:void 0}function W(y){var M=this.__data__;return E?M[y]!==void 0:y2.call(M,y)}function Y(y,M){var U=this.__data__;return U[y]=E&&M===void 0?e:M,this}A.prototype.clear=$,A.prototype.delete=H,A.prototype.get=S,A.prototype.has=W,A.prototype.set=Y;function i2(y){var M=-1,U=y?y.length:0;for(this.clear();++M<U;){var w2=y[M];this.set(w2[0],w2[1])}}function f2(){this.__data__=[]}function k2(y){var M=this.__data__,U=L0(M,y);if(U<0)return!1;var w2=M.length-1;return U==w2?M.pop():e2.call(M,U,1),!0}function z2(y){var M=this.__data__,U=L0(M,y);return U<0?void 0:M[U][1]}function R2(y){return L0(this.__data__,y)>-1}function L2(y,M){var U=this.__data__,w2=L0(U,y);return w2<0?U.push([y,M]):U[w2][1]=M,this}i2.prototype.clear=f2,i2.prototype.delete=k2,i2.prototype.get=z2,i2.prototype.has=R2,i2.prototype.set=L2;function O(y){var M=-1,U=y?y.length:0;for(this.clear();++M<U;){var w2=y[M];this.set(w2[0],w2[1])}}function D2(){this.__data__={hash:new A,map:new(g2||i2),string:new A}}function _2(y){return O0(this,y).delete(y)}function K(y){return O0(this,y).get(y)}function I2(y){return O0(this,y).has(y)}function c0(y,M){return O0(this,y).set(y,M),this}O.prototype.clear=D2,O.prototype.delete=_2,O.prototype.get=K,O.prototype.has=I2,O.prototype.set=c0;function b2(y){var M=-1,U=y?y.length:0;for(this.__data__=new O;++M<U;)this.add(y[M])}function ve(y){return this.__data__.set(y,e),this}function ye(y){return this.__data__.has(y)}b2.prototype.add=b2.prototype.push=ve,b2.prototype.has=ye;function L0(y,M){for(var U=y.length;U--;)if(Ge(y[U][0],M))return U;return-1}function qe(y){if(!we(y)||Ce(y))return!1;var M=Xe(y)||Z(y)?h2:a;return M.test(ee(y))}function We(y,M,U){var w2=-1,j2=f,V2=y.length,xe=!0,r0=[],d0=r0;if(V2>=t){var ke=J0(y);if(ke)return I(ke);xe=!1,j2=_,d0=new b2}else d0=r0;e:for(;++w2<V2;){var b0=y[w2],v0=b0;if(b0=b0!==0?b0:0,xe&&v0===v0){for(var $0=d0.length;$0--;)if(d0[$0]===v0)continue e;r0.push(b0)}else j2(d0,v0,U)||(d0!==r0&&d0.push(v0),r0.push(b0))}return r0}var J0=F2&&1/I(new F2([,-0]))[1]==r?function(y){return new F2(y)}:Je;function O0(y,M){var U=y.__data__;return Ye(M)?U[typeof M=="string"?"string":"hash"]:U.map}function Q0(y,M){var U=z(y,M);return qe(U)?U:void 0}function Ye(y){var M=typeof y;return M=="string"||M=="number"||M=="symbol"||M=="boolean"?y!=="__proto__":y===null}function Ce(y){return!!l2&&l2 in y}function ee(y){if(y!=null){try{return n2.call(y)}catch{}try{return y+""}catch{}}return""}function Ke(y){return y&&y.length?We(y):[]}function Ge(y,M){return y===M||y!==y&&M!==M}function Xe(y){var M=we(y)?C2.call(y):"";return M==i||M==n}function we(y){var M=typeof y;return!!y&&(M=="object"||M=="function")}function Je(){}return Mr=Ke,Mr}var Ua=Za();const p1=Dt(Ua);var Ue={exports:{}};Ue.exports;var h1;function qa(){return h1||(h1=1,(function(t,e){var r=200,i="Expected a function",n="__lodash_hash_undefined__",o=1,a=2,l=9007199254740991,c="[object Arguments]",d="[object Array]",f="[object Boolean]",g="[object Date]",w="[object Error]",b="[object Function]",_="[object GeneratorFunction]",z="[object Map]",Z="[object Number]",I="[object Object]",a2="[object Promise]",t2="[object RegExp]",s2="[object Set]",T="[object String]",l2="[object Symbol]",n2="[object WeakMap]",y2="[object ArrayBuffer]",C2="[object DataView]",h2="[object Float32Array]",e2="[object Float64Array]",g2="[object Int8Array]",F2="[object Int16Array]",E="[object Int32Array]",A="[object Uint8Array]",$="[object Uint8ClampedArray]",H="[object Uint16Array]",S="[object Uint32Array]",W=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Y=/^\w*$/,i2=/^\./,f2=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,k2=/[\\^$.*+?()[\]{}|]/g,z2=/\\(\\)?/g,R2=/^\[object .+?Constructor\]$/,L2=/^(?:0|[1-9]\d*)$/,O={};O[h2]=O[e2]=O[g2]=O[F2]=O[E]=O[A]=O[$]=O[H]=O[S]=!0,O[c]=O[d]=O[y2]=O[f]=O[C2]=O[g]=O[w]=O[b]=O[z]=O[Z]=O[I]=O[t2]=O[s2]=O[T]=O[n2]=!1;var D2=typeof l0=="object"&&l0&&l0.Object===Object&&l0,_2=typeof self=="object"&&self&&self.Object===Object&&self,K=D2||_2||Function("return this")(),I2=e&&!e.nodeType&&e,c0=I2&&!0&&t&&!t.nodeType&&t,b2=c0&&c0.exports===I2,ve=b2&&D2.process,ye=(function(){try{return ve&&ve.binding("util")}catch{}})(),L0=ye&&ye.isTypedArray;function qe(s,p){for(var v=-1,L=s?s.length:0,j=Array(L);++v<L;)j[v]=p(s[v],v,s);return j}function We(s,p){for(var v=-1,L=p.length,j=s.length;++v<L;)s[j+v]=p[v];return s}function J0(s,p){for(var v=-1,L=s?s.length:0;++v<L;)if(p(s[v],v,s))return!0;return!1}function O0(s){return function(p){return p?.[s]}}function Q0(s,p){for(var v=-1,L=Array(s);++v<s;)L[v]=p(v);return L}function Ye(s){return function(p){return s(p)}}function Ce(s,p){return s?.[p]}function ee(s){var p=!1;if(s!=null&&typeof s.toString!="function")try{p=!!(s+"")}catch{}return p}function Ke(s){var p=-1,v=Array(s.size);return s.forEach(function(L,j){v[++p]=[j,L]}),v}function Ge(s,p){return function(v){return s(p(v))}}function Xe(s){var p=-1,v=Array(s.size);return s.forEach(function(L){v[++p]=L}),v}var we=Array.prototype,Je=Function.prototype,y=Object.prototype,M=K["__core-js_shared__"],U=(function(){var s=/[^.]+$/.exec(M&&M.keys&&M.keys.IE_PROTO||"");return s?"Symbol(src)_1."+s:""})(),w2=Je.toString,j2=y.hasOwnProperty,V2=y.toString,xe=RegExp("^"+w2.call(j2).replace(k2,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),r0=K.Symbol,d0=K.Uint8Array,ke=y.propertyIsEnumerable,b0=we.splice,v0=r0?r0.isConcatSpreadable:void 0,$0=Ge(Object.keys,Object),Qe=x0(K,"DataView"),F0=x0(K,"Map"),et=x0(K,"Promise"),y0=x0(K,"Set"),_e=x0(K,"WeakMap"),te=x0(Object,"create"),zr=z0(Qe),Ot=z0(F0),Sr=z0(et),Ft=z0(y0),Er=z0(_e),re=r0?r0.prototype:void 0,tt=re?re.valueOf:void 0,Le=re?re.toString:void 0;function i0(s){var p=-1,v=s?s.length:0;for(this.clear();++p<v;){var L=s[p];this.set(L[0],L[1])}}function H0(){this.__data__=te?te(null):{}}function Ht(s){return this.has(s)&&delete this.__data__[s]}function Dr(s){var p=this.__data__;if(te){var v=p[s];return v===n?void 0:v}return j2.call(p,s)?p[s]:void 0}function Br(s){var p=this.__data__;return te?p[s]!==void 0:j2.call(p,s)}function Pr(s,p){var v=this.__data__;return v[s]=te&&p===void 0?n:p,this}i0.prototype.clear=H0,i0.prototype.delete=Ht,i0.prototype.get=Dr,i0.prototype.has=Br,i0.prototype.set=Pr;function n0(s){var p=-1,v=s?s.length:0;for(this.clear();++p<v;){var L=s[p];this.set(L[0],L[1])}}function u(){this.__data__=[]}function m(s){var p=this.__data__,v=A2(p,s);if(v<0)return!1;var L=p.length-1;return v==L?p.pop():b0.call(p,v,1),!0}function x(s){var p=this.__data__,v=A2(p,s);return v<0?void 0:p[v][1]}function C(s){return A2(this.__data__,s)>-1}function D(s,p){var v=this.__data__,L=A2(v,s);return L<0?v.push([s,p]):v[L][1]=p,this}n0.prototype.clear=u,n0.prototype.delete=m,n0.prototype.get=x,n0.prototype.has=C,n0.prototype.set=D;function N(s){var p=-1,v=s?s.length:0;for(this.clear();++p<v;){var L=s[p];this.set(L[0],L[1])}}function r2(){this.__data__={hash:new i0,map:new(F0||n0),string:new i0}}function B(s){return M0(this,s).delete(s)}function R(s){return M0(this,s).get(s)}function o2(s){return M0(this,s).has(s)}function d2(s,p){return M0(this,s).set(s,p),this}N.prototype.clear=r2,N.prototype.delete=B,N.prototype.get=R,N.prototype.has=o2,N.prototype.set=d2;function V(s){var p=-1,v=s?s.length:0;for(this.__data__=new N;++p<v;)this.add(s[p])}function m2(s){return this.__data__.set(s,n),this}function X2(s){return this.__data__.has(s)}V.prototype.add=V.prototype.push=m2,V.prototype.has=X2;function $2(s){this.__data__=new n0(s)}function X(){this.__data__=new n0}function c2(s){return this.__data__.delete(s)}function J(s){return this.__data__.get(s)}function x2(s){return this.__data__.has(s)}function O2(s,p){var v=this.__data__;if(v instanceof n0){var L=v.__data__;if(!F0||L.length<r-1)return L.push([s,p]),this;v=this.__data__=new N(L)}return v.set(s,p),this}$2.prototype.clear=X,$2.prototype.delete=c2,$2.prototype.get=J,$2.prototype.has=x2,$2.prototype.set=O2;function P2(s,p){var v=o0(s)||se(s)?Q0(s.length,String):[],L=v.length,j=!!L;for(var P in s)j2.call(s,P)&&!(j&&(P=="length"||nt(P,L)))&&v.push(P);return v}function A2(s,p){for(var v=s.length;v--;)if(De(s[v][0],p))return v;return-1}var B2=Or(C0);function Z2(s,p,v,L,j){var P=-1,Q=s.length;for(v||(v=Wt),j||(j=[]);++P<Q;){var M2=s[P];v(M2)?We(j,M2):j[j.length]=M2}return j}var U2=Fr();function C0(s,p){return s&&U2(s,p,Z0)}function rt(s,p){p=oe(p,s)?[p]:w0(p);for(var v=0,L=p.length;s!=null&&v<L;)s=s[N0(p[v++])];return v&&v==L?s:void 0}function jt(s){return V2.call(s)}function $e(s,p){return s!=null&&p in Object(s)}function it(s,p,v,L,j){return s===p?!0:s==null||p==null||!Be(s)&&!S0(p)?s!==s&&p!==p:Nt(s,p,it,v,L,j)}function Nt(s,p,v,L,j,P){var Q=o0(s),M2=o0(p),S2=d,T2=d;Q||(S2=k0(s),S2=S2==c?I:S2),M2||(T2=k0(p),T2=T2==c?I:T2);var W2=S2==I&&!ee(s),Y2=T2==I&&!ee(p),N2=S2==T2;if(N2&&!W2)return P||(P=new $2),Q||Gt(s)?qt(s,p,v,L,j,P):Me(s,p,S2,v,L,j,P);if(!(j&a)){var J2=W2&&j2.call(s,"__wrapped__"),h=Y2&&j2.call(p,"__wrapped__");if(J2||h){var k=J2?s.value():s,F=h?p.value():p;return P||(P=new $2),v(k,F,L,j,P)}}return N2?(P||(P=new $2),j0(s,p,v,L,j,P)):!1}function A0(s,p,v,L){var j=v.length,P=j;if(s==null)return!P;for(s=Object(s);j--;){var Q=v[j];if(Q[2]?Q[1]!==s[Q[0]]:!(Q[0]in s))return!1}for(;++j<P;){Q=v[j];var M2=Q[0],S2=s[M2],T2=Q[1];if(Q[2]){if(S2===void 0&&!(M2 in s))return!1}else{var W2=new $2,Y2;if(!(Y2===void 0?it(T2,S2,L,o|a,W2):Y2))return!1}}return!0}function Ae(s){if(!Be(s)||Kt(s))return!1;var p=a0(s)||ee(s)?xe:R2;return p.test(z0(s))}function It(s){return S0(s)&&ct(s.length)&&!!O[V2.call(s)]}function Vt(s){return typeof s=="function"?s:s==null?ut:typeof s=="object"?o0(s)?Rr(s[0],s[1]):Tr(s):pt(s)}function Zt(s){if(!ot(s))return $0(s);var p=[];for(var v in Object(s))j2.call(s,v)&&v!="constructor"&&p.push(v);return p}function Ut(s,p){var v=-1,L=I0(s)?Array(s.length):[];return B2(s,function(j,P,Q){L[++v]=p(j,P,Q)}),L}function Tr(s){var p=ze(s);return p.length==1&&p[0][2]?Ee(p[0][0],p[0][1]):function(v){return v===s||A0(v,s,p)}}function Rr(s,p){return oe(s)&&Se(p)?Ee(N0(s),p):function(v){var L=Te(v,s);return L===void 0&&L===p?dt(v,s):it(p,L,void 0,o|a)}}function ie(s){return function(p){return rt(p,s)}}function ne(s){if(typeof s=="string")return s;if(V0(s))return Le?Le.call(s):"";var p=s+"";return p=="0"&&1/s==-1/0?"-0":p}function w0(s){return o0(s)?s:at(s)}function Or(s,p){return function(v,L){if(v==null)return v;if(!I0(v))return s(v,L);for(var j=v.length,P=-1,Q=Object(v);++P<j&&L(Q[P],P,Q)!==!1;);return v}}function Fr(s){return function(p,v,L){for(var j=-1,P=Object(p),Q=L(p),M2=Q.length;M2--;){var S2=Q[++j];if(v(P[S2],S2,P)===!1)break}return p}}function qt(s,p,v,L,j,P){var Q=j&a,M2=s.length,S2=p.length;if(M2!=S2&&!(Q&&S2>M2))return!1;var T2=P.get(s);if(T2&&P.get(p))return T2==p;var W2=-1,Y2=!0,N2=j&o?new V:void 0;for(P.set(s,p),P.set(p,s);++W2<M2;){var J2=s[W2],h=p[W2];if(L)var k=Q?L(h,J2,W2,p,s,P):L(J2,h,W2,s,p,P);if(k!==void 0){if(k)continue;Y2=!1;break}if(N2){if(!J0(p,function(F,u2){if(!N2.has(u2)&&(J2===F||v(J2,F,L,j,P)))return N2.add(u2)})){Y2=!1;break}}else if(!(J2===h||v(J2,h,L,j,P))){Y2=!1;break}}return P.delete(s),P.delete(p),Y2}function Me(s,p,v,L,j,P,Q){switch(v){case C2:if(s.byteLength!=p.byteLength||s.byteOffset!=p.byteOffset)return!1;s=s.buffer,p=p.buffer;case y2:return!(s.byteLength!=p.byteLength||!L(new d0(s),new d0(p)));case f:case g:case Z:return De(+s,+p);case w:return s.name==p.name&&s.message==p.message;case t2:case T:return s==p+"";case z:var M2=Ke;case s2:var S2=P&a;if(M2||(M2=Xe),s.size!=p.size&&!S2)return!1;var T2=Q.get(s);if(T2)return T2==p;P|=o,Q.set(s,p);var W2=qt(M2(s),M2(p),L,j,P,Q);return Q.delete(s),W2;case l2:if(tt)return tt.call(s)==tt.call(p)}return!1}function j0(s,p,v,L,j,P){var Q=j&a,M2=Z0(s),S2=M2.length,T2=Z0(p),W2=T2.length;if(S2!=W2&&!Q)return!1;for(var Y2=S2;Y2--;){var N2=M2[Y2];if(!(Q?N2 in p:j2.call(p,N2)))return!1}var J2=P.get(s);if(J2&&P.get(p))return J2==p;var h=!0;P.set(s,p),P.set(p,s);for(var k=Q;++Y2<S2;){N2=M2[Y2];var F=s[N2],u2=p[N2];if(L)var E2=Q?L(u2,F,N2,p,s,P):L(F,u2,N2,s,p,P);if(!(E2===void 0?F===u2||v(F,u2,L,j,P):E2)){h=!1;break}k||(k=N2=="constructor")}if(h&&!k){var p2=s.constructor,K2=p.constructor;p2!=K2&&"constructor"in s&&"constructor"in p&&!(typeof p2=="function"&&p2 instanceof p2&&typeof K2=="function"&&K2 instanceof K2)&&(h=!1)}return P.delete(s),P.delete(p),h}function M0(s,p){var v=s.__data__;return Yt(p)?v[typeof p=="string"?"string":"hash"]:v.map}function ze(s){for(var p=Z0(s),v=p.length;v--;){var L=p[v],j=s[L];p[v]=[L,j,Se(j)]}return p}function x0(s,p){var v=Ce(s,p);return Ae(v)?v:void 0}var k0=jt;(Qe&&k0(new Qe(new ArrayBuffer(1)))!=C2||F0&&k0(new F0)!=z||et&&k0(et.resolve())!=a2||y0&&k0(new y0)!=s2||_e&&k0(new _e)!=n2)&&(k0=function(s){var p=V2.call(s),v=p==I?s.constructor:void 0,L=v?z0(v):void 0;if(L)switch(L){case zr:return C2;case Ot:return z;case Sr:return a2;case Ft:return s2;case Er:return n2}return p});function Hr(s,p,v){p=oe(p,s)?[p]:w0(p);for(var L,j=-1,Q=p.length;++j<Q;){var P=N0(p[j]);if(!(L=s!=null&&v(s,P)))break;s=s[P]}if(L)return L;var Q=s?s.length:0;return!!Q&&ct(Q)&&nt(P,Q)&&(o0(s)||se(s))}function Wt(s){return o0(s)||se(s)||!!(v0&&s&&s[v0])}function nt(s,p){return p=p??l,!!p&&(typeof s=="number"||L2.test(s))&&s>-1&&s%1==0&&s<p}function oe(s,p){if(o0(s))return!1;var v=typeof s;return v=="number"||v=="symbol"||v=="boolean"||s==null||V0(s)?!0:Y.test(s)||!W.test(s)||p!=null&&s in Object(p)}function Yt(s){var p=typeof s;return p=="string"||p=="number"||p=="symbol"||p=="boolean"?s!=="__proto__":s===null}function Kt(s){return!!U&&U in s}function ot(s){var p=s&&s.constructor,v=typeof p=="function"&&p.prototype||y;return s===v}function Se(s){return s===s&&!Be(s)}function Ee(s,p){return function(v){return v==null?!1:v[s]===p&&(p!==void 0||s in Object(v))}}var at=ae(function(s){s=Pe(s);var p=[];return i2.test(s)&&p.push(""),s.replace(f2,function(v,L,j,P){p.push(j?P.replace(z2,"$1"):L||v)}),p});function N0(s){if(typeof s=="string"||V0(s))return s;var p=s+"";return p=="0"&&1/s==-1/0?"-0":p}function z0(s){if(s!=null){try{return w2.call(s)}catch{}try{return s+""}catch{}}return""}function st(s,p){return Z2(lt(s,p))}function lt(s,p){var v=o0(s)?qe:Ut;return v(s,Vt(p))}function ae(s,p){if(typeof s!="function"||p&&typeof p!="function")throw new TypeError(i);var v=function(){var L=arguments,j=p?p.apply(this,L):L[0],P=v.cache;if(P.has(j))return P.get(j);var Q=s.apply(this,L);return v.cache=P.set(j,Q),Q};return v.cache=new(ae.Cache||N),v}ae.Cache=N;function De(s,p){return s===p||s!==s&&p!==p}function se(s){return q2(s)&&j2.call(s,"callee")&&(!ke.call(s,"callee")||V2.call(s)==c)}var o0=Array.isArray;function I0(s){return s!=null&&ct(s.length)&&!a0(s)}function q2(s){return S0(s)&&I0(s)}function a0(s){var p=Be(s)?V2.call(s):"";return p==b||p==_}function ct(s){return typeof s=="number"&&s>-1&&s%1==0&&s<=l}function Be(s){var p=typeof s;return!!s&&(p=="object"||p=="function")}function S0(s){return!!s&&typeof s=="object"}function V0(s){return typeof s=="symbol"||S0(s)&&V2.call(s)==l2}var Gt=L0?Ye(L0):It;function Pe(s){return s==null?"":ne(s)}function Te(s,p,v){var L=s==null?void 0:rt(s,p);return L===void 0?v:L}function dt(s,p){return s!=null&&Hr(s,p,$e)}function Z0(s){return I0(s)?P2(s):Zt(s)}function ut(s){return s}function pt(s){return oe(s)?O0(N0(s)):ie(s)}t.exports=st})(Ue,Ue.exports)),Ue.exports}var Wa=qa();const f1=Dt(Wa);function Ya(t,e,r){let i=[];t.filterProperties.length&&t.filterProperties.forEach(o=>{const a={},l=d=>o.format==="date"?Ve(d).unix():parseFloat(d);e.forEach(d=>{if(o.type==="range"){const f=t0(o.key,d);if(Array.isArray(f)){const g=[l(f[0]),l(f[1])];a.min=a.min!==void 0?Math.min(a.min,g[0]):g[0],a.max=a.max!==void 0?Math.max(a.max,g[1]):g[1]}else{const g=l(f);a.min=a.min!==void 0?Math.min(a.min,g):g,a.max=a.max!==void 0?Math.max(a.max,g):g}return}Array.isArray(d[o.key])?d[o.key].forEach(f=>{a[f]=void 0}):o.type==="spatial"?(a.geometry=o?.state?.geometry||void 0,a.geometry&&(o.stringifiedState=a.geometry.type),a.mode=o.mode||"intersects"):o.key?.includes(".")?p1(f1(r.items,o.key)).filter(f=>f).forEach(f=>{a[f]=void 0}):a[d[o.key]]=void 0});const c=o.key||o.keys.join("|");r.filters[c]=Object.assign({type:o.type||"multiselect",dirty:o.state?Object.values(o.state).some(d=>d):void 0,key:c},o.type==="range"?{min:a.min,max:a.max,format:o.format}:{},o),r.filters[c].state=Object.assign({},a,o.state)}),t.matchAllWhenEmpty!==!1&&(r.results=r.sortResults(e),r.requestUpdate()),t.aggregateResults&&(i=Array.from(new Set(e.reduce((o,a)=>o.concat(a[t.aggregateResults]),[]))).filter(o=>o).sort((o,a)=>o.localeCompare(a)));const n=[];return Object.values(r.filters).forEach(o=>{o.type==="text"?o.keys.forEach(a=>{n.includes(a)||n.push(a)}):(o.type==="select"||o.type==="multiselect")&&(n.includes(o.key)||n.push(o.key))}),Qo(e,Object.assign({keys:n},t.fuseConfig)),i}async function Ka(t,e,r){let i;r.externalFilter?i=await ia(e,r.filters,t):i=await ea(e,r.filters,t),r.results=r.sortResults(i)}function Ga(t,e,r){const i=`filter-${t.key}`.replace("|","-");switch(t.type){case"text":return q`<eox-itemfilter-text
|
|
934
890
|
data-type="filter"
|
|
935
891
|
data-cy="text-filter"
|
|
936
892
|
slot="filter"
|
package/package.json
CHANGED
|
@@ -123,6 +123,21 @@ export class EOxItemFilterResults extends LitElement {
|
|
|
123
123
|
toggleAccordion(event, this.config, this);
|
|
124
124
|
}
|
|
125
125
|
|
|
126
|
+
#getAggregationProperties() {
|
|
127
|
+
const aggregationProperties = this.resultAggregation.filter(
|
|
128
|
+
(aggregationProperty) =>
|
|
129
|
+
this.aggregateResults(this.results, aggregationProperty).length,
|
|
130
|
+
);
|
|
131
|
+
const noCategoryResults = this.aggregateResults(
|
|
132
|
+
this.results,
|
|
133
|
+
"No category",
|
|
134
|
+
);
|
|
135
|
+
if (noCategoryResults.length > 0) {
|
|
136
|
+
aggregationProperties.push("No category");
|
|
137
|
+
}
|
|
138
|
+
return aggregationProperties;
|
|
139
|
+
}
|
|
140
|
+
|
|
126
141
|
/**
|
|
127
142
|
* Renders the HTML template for the component.
|
|
128
143
|
*/
|
|
@@ -140,11 +155,7 @@ export class EOxItemFilterResults extends LitElement {
|
|
|
140
155
|
this.config.aggregateResults,
|
|
141
156
|
() =>
|
|
142
157
|
map(
|
|
143
|
-
this
|
|
144
|
-
(aggregationProperty) =>
|
|
145
|
-
this.aggregateResults(this.results, aggregationProperty)
|
|
146
|
-
.length,
|
|
147
|
-
),
|
|
158
|
+
this.#getAggregationProperties(),
|
|
148
159
|
(aggregationProperty) =>
|
|
149
160
|
html`${when(
|
|
150
161
|
this.aggregateResults(this.results, aggregationProperty)
|
package/src/main.js
CHANGED
|
@@ -29,12 +29,29 @@ import {
|
|
|
29
29
|
} from "./helpers/index.js";
|
|
30
30
|
|
|
31
31
|
/**
|
|
32
|
-
*
|
|
33
|
-
* It includes methods for applying filters, searching, sorting results, and resetting filters.
|
|
34
|
-
* The component supports both inline and dropdown modes for filter display.
|
|
32
|
+
* The `eox-itemfilter` element provides a comprehensive item filtering system for lists of items with flexible filter types, result aggregation, and customizable display modes.
|
|
35
33
|
*
|
|
36
|
-
*
|
|
37
|
-
*
|
|
34
|
+
* Features:
|
|
35
|
+
* - Supports `text`, `select`, `multiselect`, `range` (including date), and `spatial` filters
|
|
36
|
+
* - Aggregates results by a property key (e.g. themes)
|
|
37
|
+
* - Inline mode for compact UI
|
|
38
|
+
* - Pre-set filter state via `state` in `filterProperties`
|
|
39
|
+
* - Nested property filtering using dot notation
|
|
40
|
+
* - External search API endpoint support via `externalFilter`
|
|
41
|
+
* - Auto-spreading of single-item aggregations to root level
|
|
42
|
+
* - Card display mode for results (`result-type="cards"`)
|
|
43
|
+
* - Secondary result action button with custom icon and event handler (`click:result-action`)
|
|
44
|
+
* - Customizable layout and styling via CSS variables
|
|
45
|
+
*
|
|
46
|
+
* Usage examples and visual demos are available in Storybook stories, including scenarios for inline mode, external filtering, nested properties, card display, CSS variable customization, and result actions.
|
|
47
|
+
*
|
|
48
|
+
* @element eox-itemfilter
|
|
49
|
+
*
|
|
50
|
+
* @fires filter - When filters are applied, with `results` and `filters` in event detail
|
|
51
|
+
* @fires select - When a result is selected, with `selectedResult` in event detail
|
|
52
|
+
* @fires mouseenter:result - When a result is hovered
|
|
53
|
+
* @fires mouseleave:result - When a result is un-hovered
|
|
54
|
+
* @fires click:result-action - When a result action button is clicked
|
|
38
55
|
*/
|
|
39
56
|
export class EOxItemFilter extends LitElement {
|
|
40
57
|
// Define properties with defaults and types
|
|
@@ -7,25 +7,42 @@
|
|
|
7
7
|
* @returns {Array<Object>} The filtered and aggregated items.
|
|
8
8
|
*/
|
|
9
9
|
export function aggregateResultsMethod(items, property, EOxItemFilterResults) {
|
|
10
|
+
// If the category itself is an empty string, return nothing immediately.
|
|
11
|
+
// This prevents the "Duplicate results" list under the "" header.
|
|
12
|
+
if (!property || (typeof property === "string" && property.trim() === "")) {
|
|
13
|
+
return [];
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
const configKey = EOxItemFilterResults.config.aggregateResults;
|
|
17
|
+
|
|
18
|
+
if (property === "No category") {
|
|
19
|
+
return items.filter((item) => {
|
|
20
|
+
const aggregation = item[configKey];
|
|
21
|
+
if (Array.isArray(aggregation)) {
|
|
22
|
+
// True if array is empty or only contains falsy values
|
|
23
|
+
return aggregation.filter(Boolean).length === 0;
|
|
24
|
+
}
|
|
25
|
+
return !aggregation;
|
|
26
|
+
});
|
|
27
|
+
}
|
|
28
|
+
|
|
10
29
|
return items.filter((item) => {
|
|
11
|
-
|
|
12
|
-
|
|
30
|
+
const aggregation = item[configKey];
|
|
31
|
+
|
|
32
|
+
// Exclude items that should be in "No category"
|
|
33
|
+
if (Array.isArray(aggregation)) {
|
|
34
|
+
if (aggregation.filter(Boolean).length === 0) {
|
|
35
|
+
return false;
|
|
36
|
+
}
|
|
37
|
+
} else if (!aggregation) {
|
|
38
|
+
return false;
|
|
39
|
+
}
|
|
13
40
|
|
|
14
|
-
// Get the current filter state for the aggregation property
|
|
15
41
|
let currentFilter;
|
|
16
|
-
if (
|
|
17
|
-
EOxItemFilterResults.filters[EOxItemFilterResults.config.aggregateResults]
|
|
18
|
-
) {
|
|
42
|
+
if (EOxItemFilterResults.filters[configKey]) {
|
|
19
43
|
currentFilter = Object.keys(
|
|
20
|
-
EOxItemFilterResults.filters[
|
|
21
|
-
|
|
22
|
-
],
|
|
23
|
-
).filter(
|
|
24
|
-
(f) =>
|
|
25
|
-
EOxItemFilterResults.filters[
|
|
26
|
-
EOxItemFilterResults.config.aggregateResults
|
|
27
|
-
].state[f],
|
|
28
|
-
);
|
|
44
|
+
EOxItemFilterResults.filters[configKey],
|
|
45
|
+
).filter((f) => EOxItemFilterResults.filters[configKey].state[f]);
|
|
29
46
|
}
|
|
30
47
|
|
|
31
48
|
// Determine if the property is included in the current filter
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"range.d.ts","sourceRoot":"","sources":["../../../src/components/filters/range.js"],"names":[],"mappings":"AAUA;;;;;;;;;GASG;AACH;IAEE;;;;;;;;;MAGE;IAKA;;OAEG;IACH,kBAAsB;IAOtB;;OAEG;IACH,cAFU,CAAC,GAAG,EAAE,
|
|
1
|
+
{"version":3,"file":"range.d.ts","sourceRoot":"","sources":["../../../src/components/filters/range.js"],"names":[],"mappings":"AAUA;;;;;;;;;GASG;AACH;IAEE;;;;;;;;;MAGE;IAKA;;OAEG;IACH,kBAAsB;IAOtB;;OAEG;IACH,cAFU,CAAC,GAAG,EAAE,YAAY,GAAG,CAAC,KAAK,IAAI,CAEQ;IAEjD;;OAEG;IACH,gCAEE;IAuBJ;;OAEG;IACH,cAEC;IAED;;;;OAIG;IACH,oBAFa,IAAI,CAIhB;IAED;;OAEG;IACH,oBAoBC;;CACF;2BAjHgC,KAAK"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"results.d.ts","sourceRoot":"","sources":["../../src/components/results.js"],"names":[],"mappings":"AAUA;;;;;;;;;;;;GAYG;AACH;IAEE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAUC;IAKC;;OAEG;IACH,YAAkB;IAElB;;OAEG;IACH,eAAmB;IAEnB;;OAEG;IACH,aAAiB;IAEjB;;OAEG;IACH,yBAA2B;IAE3B;;OAEG;IACH,oBAA0B;IAE1B;;OAEG;IACH,mBAAwB;IAExB;;OAEG;IACH,yBAAiC;IAuBnC;;;;;;OAMG;IACH,yCAHW,MAAM,SAKhB;IAED;;;;OAIG;IACH,oBAFa,IAAI,CAIhB;IAED;;;;OAIG;IACH,uBAFW,WAAW,QAIrB;
|
|
1
|
+
{"version":3,"file":"results.d.ts","sourceRoot":"","sources":["../../src/components/results.js"],"names":[],"mappings":"AAUA;;;;;;;;;;;;GAYG;AACH;IAEE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAUC;IAKC;;OAEG;IACH,YAAkB;IAElB;;OAEG;IACH,eAAmB;IAEnB;;OAEG;IACH,aAAiB;IAEjB;;OAEG;IACH,yBAA2B;IAE3B;;OAEG;IACH,oBAA0B;IAE1B;;OAEG;IACH,mBAAwB;IAExB;;OAEG;IACH,yBAAiC;IAuBnC;;;;;;OAMG;IACH,yCAHW,MAAM,SAKhB;IAED;;;;OAIG;IACH,oBAFa,IAAI,CAIhB;IAED;;;;OAIG;IACH,uBAFW,WAAW,QAIrB;IAiBD;;OAEG;IACH,+CA+BC;;CACF;2BA/KyC,KAAK"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"chip-items.d.ts","sourceRoot":"","sources":["../../src/helpers/chip-items.js"],"names":[],"mappings":";AAEA;;;;;GAKG;AACH,6CAFa,
|
|
1
|
+
{"version":3,"file":"chip-items.d.ts","sourceRoot":"","sources":["../../src/helpers/chip-items.js"],"names":[],"mappings":";AAEA;;;;;GAKG;AACH,6CAFa,UAAa,CAUzB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"filter-client.d.ts","sourceRoot":"","sources":["../../src/helpers/filter-client.js"],"names":[],"mappings":"AAYO,kCAHI,
|
|
1
|
+
{"version":3,"file":"filter-client.d.ts","sourceRoot":"","sources":["../../src/helpers/filter-client.js"],"names":[],"mappings":"AAYO,kCAHI,UAAa,yBAYvB;AAUM,8BALI,UAAa,8BAGX,QAAQ,UAAa,CAAC,CAsJlC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"filter-external.d.ts","sourceRoot":"","sources":["../../src/helpers/filter-external.js"],"names":[],"mappings":";AACA;;;;;;;GAOG;AACH,uCALW,
|
|
1
|
+
{"version":3,"file":"filter-external.d.ts","sourceRoot":"","sources":["../../src/helpers/filter-external.js"],"names":[],"mappings":";AACA;;;;;;;GAOG;AACH,uCALW,UAAa,8BAGX,QAAQ,UAAa,CAAC,CAiBlC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"highlighting.d.ts","sourceRoot":"","sources":["../../src/helpers/highlighting.js"],"names":[],"mappings":";AAEA;;;;;;;GAOG;AACH,6CALW,
|
|
1
|
+
{"version":3,"file":"highlighting.d.ts","sourceRoot":"","sources":["../../src/helpers/highlighting.js"],"names":[],"mappings":";AAEA;;;;;;;GAOG;AACH,6CALW,UAAa,uBACb,MAAM,aACN,MAAM,GACJ,UAAa,CAuDzB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"map-layers.d.ts","sourceRoot":"","sources":["../../src/helpers/map-layers.js"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,2DAHW,MAAM,GACJ,
|
|
1
|
+
{"version":3,"file":"map-layers.d.ts","sourceRoot":"","sources":["../../src/helpers/map-layers.js"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,2DAHW,MAAM,GACJ,UAAa,CAoCzB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"merge-highlight-indices.d.ts","sourceRoot":"","sources":["../../src/helpers/merge-highlight-indices.js"],"names":[],"mappings":";AAAA;;;;;;;GAOG;AACH,gDALW,MAAM,EAAE,EAAE
|
|
1
|
+
{"version":3,"file":"merge-highlight-indices.d.ts","sourceRoot":"","sources":["../../src/helpers/merge-highlight-indices.js"],"names":[],"mappings":";AAAA;;;;;;;GAOG;AACH,gDALW,MAAM,EAAE,EAAE;IAEK,aAAa,GAA5B,OAAO;IACL,MAAM,EAAE,EAAE,CAkCtB"}
|
package/types/main.d.ts
CHANGED
|
@@ -1,10 +1,27 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
3
|
-
* It includes methods for applying filters, searching, sorting results, and resetting filters.
|
|
4
|
-
* The component supports both inline and dropdown modes for filter display.
|
|
2
|
+
* The `eox-itemfilter` element provides a comprehensive item filtering system for lists of items with flexible filter types, result aggregation, and customizable display modes.
|
|
5
3
|
*
|
|
6
|
-
*
|
|
7
|
-
*
|
|
4
|
+
* Features:
|
|
5
|
+
* - Supports `text`, `select`, `multiselect`, `range` (including date), and `spatial` filters
|
|
6
|
+
* - Aggregates results by a property key (e.g. themes)
|
|
7
|
+
* - Inline mode for compact UI
|
|
8
|
+
* - Pre-set filter state via `state` in `filterProperties`
|
|
9
|
+
* - Nested property filtering using dot notation
|
|
10
|
+
* - External search API endpoint support via `externalFilter`
|
|
11
|
+
* - Auto-spreading of single-item aggregations to root level
|
|
12
|
+
* - Card display mode for results (`result-type="cards"`)
|
|
13
|
+
* - Secondary result action button with custom icon and event handler (`click:result-action`)
|
|
14
|
+
* - Customizable layout and styling via CSS variables
|
|
15
|
+
*
|
|
16
|
+
* Usage examples and visual demos are available in Storybook stories, including scenarios for inline mode, external filtering, nested properties, card display, CSS variable customization, and result actions.
|
|
17
|
+
*
|
|
18
|
+
* @element eox-itemfilter
|
|
19
|
+
*
|
|
20
|
+
* @fires filter - When filters are applied, with `results` and `filters` in event detail
|
|
21
|
+
* @fires select - When a result is selected, with `selectedResult` in event detail
|
|
22
|
+
* @fires mouseenter:result - When a result is hovered
|
|
23
|
+
* @fires mouseleave:result - When a result is un-hovered
|
|
24
|
+
* @fires click:result-action - When a result action button is clicked
|
|
8
25
|
*/
|
|
9
26
|
export class EOxItemFilter extends LitElement {
|
|
10
27
|
static get properties(): {
|
package/types/main.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"main.d.ts","sourceRoot":"","sources":["../src/main.js"],"names":[],"mappings":"AA8BA
|
|
1
|
+
{"version":3,"file":"main.d.ts","sourceRoot":"","sources":["../src/main.js"],"names":[],"mappings":"AA8BA;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH;IAEE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAkCC;IAoBC;;OAEG;IACH,OAFS,UAAa,CAEL;IAEjB;;;OAGG;IACH,aAAiB;IAEjB;;;OAGG;IACH,SAFS,UAAa,CAEL;IAEjB;;;OAGG;IACH,oBAA0B;IAE1B;;;OAGG;IACH,eAEE;IAEF;;;;OAIG;IACH,yBAAiC;IAEjC;;;;;OAKG;IACH,0BAA6B;IAE7B;;;;OAIG;IACH,4BAA+B;IAE/B;;;;;OAKG;IACH,yBAA0B;IAE1B;;;OAGG;IACH,kBAFS,MAAM;QAAC,GAAG,CAAC,SAAS;QAAC,IAAI,CAAC,EAAE,aAAa,CAAC;QAAC,KAAK,SAAS;QAAC,IAAI,SAAS;QAAC,WAAW,CAAC,SAAS;QAAC,MAAM,CAAC,SAAS;QAAC,KAAK,CAAC,MAAQ;KAAC,CAAC,CAE9G;IAE1B;;;;OAIG;IACH,gBAAoB;IAEpB;;;;;OAKG;IACH,oBAAuB;IAEvB;;;;OAIG;IACH,2BAA6B;IAE7B;;;;OAIG;IACH,qBAAuB;IAEvB;;;;;OAKG;IACH,eAFS,iBAAe,CAEI;IAE5B;;;;;OAKG;IACH,kBAFS,iBAAe,CAES;IAEjC;;;;;OAKG;IACH,eAFS,iBAAe,CAEM;IAE9B;;;;OAIG;IACH,mBAAsB;IAEtB;;;;OAIG;IACH,+BAAiC;IAEjC;;;;OAIG;IACH,uBAAyB;IACzB;;;;OAIG;IACH,+BAAiC;IAEjC;;;;OAIG;IACH,mBAAwB;IAExB;;;;OAIG;IACH,4BAA+B;IAE/B;;;;OAIG;IACH,yBAC65B;IAE75B;;;OAGG;IACH,sBAAuB;IAEvB;;OAEG;IACH,kBAAqB;IAGvB;;OAEG;IACH,cAOC;IAED;;;OAGG;IACH,+BAoBC;IAED;;;;;OAKG;IACH,mBAHW,MAAM,MAAM,CAAC,GACX,MAAM,MAAM,CAAC,CAIzB;IAwBD;;OAEG;IACH,qBAEC;IAED;;;;;OAKG;IACH,sDAcC;IAED;;;;;OAKG;IACH,gDAQC;IAED;;;;OAIG;IACH,kBAFW;QAAC,MAAM,MAAQ;KAAC,QAe1B;IAED;;;;OAIG;IACH,sBAFW;QAAC,MAAM,MAAQ;KAAC,QAa1B;IAED;;;;OAIG;IACH,sBAFW;QAAC,MAAM,MAAQ;KAAC,QAa1B;IAED;;;;OAIG;IACH,sBAFW;QAAC,MAAM,MAAQ;KAAC,QAa1B;IAED;;OAEG;IACH,+CAyIC;;CACF;2BA9mByC,KAAK"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"filter-apply.d.ts","sourceRoot":"","sources":["../../../src/methods/itemfilter/filter-apply.js"],"names":[],"mappings":";AAKA;;;;;;;GAOG;AACH,uDAJW,
|
|
1
|
+
{"version":3,"file":"filter-apply.d.ts","sourceRoot":"","sources":["../../../src/methods/itemfilter/filter-apply.js"],"names":[],"mappings":";AAKA;;;;;;;GAOG;AACH,uDAJW,UAAa,uBAEX,MAAM,MAAM,CAAC,CAoIzB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"search.d.ts","sourceRoot":"","sources":["../../../src/methods/itemfilter/search.js"],"names":[],"mappings":";AAGA;;;;;;;GAOG;AACH,kDAJW,
|
|
1
|
+
{"version":3,"file":"search.d.ts","sourceRoot":"","sources":["../../../src/methods/itemfilter/search.js"],"names":[],"mappings":";AAGA;;;;;;;GAOG;AACH,kDAJW,UAAa,uBAEX,QAAQ,IAAI,CAAC,CAWzB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sort-results.d.ts","sourceRoot":"","sources":["../../../src/methods/itemfilter/sort-results.js"],"names":[],"mappings":";AAEA;;;;;;GAMG;AACH,0CAJW,
|
|
1
|
+
{"version":3,"file":"sort-results.d.ts","sourceRoot":"","sources":["../../../src/methods/itemfilter/sort-results.js"],"names":[],"mappings":";AAEA;;;;;;GAMG;AACH,0CAJW,UAAa,gBAEX,UAAa,CASzB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"aggregate-results.d.ts","sourceRoot":"","sources":["../../../src/methods/results/aggregate-results.js"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AACH,8CALW,
|
|
1
|
+
{"version":3,"file":"aggregate-results.d.ts","sourceRoot":"","sources":["../../../src/methods/results/aggregate-results.js"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AACH,8CALW,UAAa,YACb,MAAM,8BAEJ,UAAa,CAmDzB"}
|