@eox/itemfilter 1.7.1 → 1.8.0
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 +2642 -2578
- package/dist/eox-itemfilter.umd.cjs +126 -89
- package/package.json +3 -2
- package/src/components/chips.js +3 -3
- package/src/components/expand-container.js +0 -1
- package/src/components/filters/range.js +3 -5
- package/src/components/filters/selector.js +1 -4
- package/src/components/filters/spatial.js +0 -3
- package/src/components/filters/text.js +1 -3
- package/src/components/itemfilter-container.js +8 -12
- package/src/components/results.js +17 -8
- package/src/helpers/toggle-accordion.js +1 -1
- package/src/main.js +52 -6
- package/src/methods/chips/handler.js +15 -5
- package/src/methods/container/handler.js +2 -1
- package/src/methods/container/init-popver.js +1 -1
- package/src/methods/container/reset-filter.js +3 -0
- package/src/methods/container/reset-search.js +4 -1
- package/src/methods/container/search-filter.js +3 -0
- package/src/methods/filters/range.js +5 -2
- package/src/methods/filters/selector.js +4 -1
- package/src/methods/itemfilter/create-filter.js +1 -1
- package/src/methods/itemfilter/create-reset.js +1 -1
- package/src/methods/results/create.js +22 -5
- package/src/style.eox.js +27 -0
- package/types/components/chips.d.ts.map +1 -1
- package/types/components/expand-container.d.ts.map +1 -1
- package/types/components/filters/range.d.ts +2 -2
- package/types/components/filters/range.d.ts.map +1 -1
- package/types/components/filters/selector.d.ts.map +1 -1
- package/types/components/filters/spatial.d.ts.map +1 -1
- package/types/components/filters/text.d.ts +4 -0
- package/types/components/filters/text.d.ts.map +1 -1
- package/types/components/itemfilter-container.d.ts +6 -4
- package/types/components/itemfilter-container.d.ts.map +1 -1
- package/types/components/results.d.ts +15 -3
- 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/toggle-accordion.d.ts +2 -2
- package/types/helpers/toggle-accordion.d.ts.map +1 -1
- package/types/main.d.ts +36 -0
- package/types/main.d.ts.map +1 -1
- package/types/methods/chips/handler.d.ts +2 -2
- package/types/methods/chips/handler.d.ts.map +1 -1
- package/types/methods/container/handler.d.ts +2 -2
- package/types/methods/container/handler.d.ts.map +1 -1
- package/types/methods/container/init-popver.d.ts +2 -2
- package/types/methods/container/init-popver.d.ts.map +1 -1
- package/types/methods/container/reset-filter.d.ts.map +1 -1
- package/types/methods/container/reset-search.d.ts.map +1 -1
- package/types/methods/container/search-filter.d.ts.map +1 -1
- package/types/methods/filters/range.d.ts +4 -4
- package/types/methods/filters/range.d.ts.map +1 -1
- package/types/methods/filters/selector.d.ts +2 -2
- package/types/methods/filters/selector.d.ts.map +1 -1
- package/types/methods/itemfilter/create-filter.d.ts +2 -2
- package/types/methods/itemfilter/create-filter.d.ts.map +1 -1
- package/types/methods/itemfilter/create-reset.d.ts +2 -2
- package/types/methods/itemfilter/create-reset.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/types/methods/results/create.d.ts +5 -5
- package/types/methods/results/create.d.ts.map +1 -1
- package/types/style.eox.d.ts +1 -1
- package/types/style.eox.d.ts.map +1 -1
|
@@ -1,30 +1,30 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(me,be){typeof exports=="object"&&typeof module<"u"?be(exports):typeof define=="function"&&define.amd?define(["exports"],be):(me=typeof globalThis<"u"?globalThis:me||self,be(me["eox-itemfilter"]={}))})(this,function(me){"use strict";var Su=Object.defineProperty;var qo=me=>{throw TypeError(me)};var ku=(me,be,He)=>be in me?Su(me,be,{enumerable:!0,configurable:!0,writable:!0,value:He}):me[be]=He;var Ln=(me,be,He)=>ku(me,typeof be!="symbol"?be+"":be,He),as=(me,be,He)=>be.has(me)||qo("Cannot "+He);var ht=(me,be,He)=>(as(me,be,"read from private field"),He?He.call(me):be.get(me)),it=(me,be,He)=>be.has(me)?qo("Cannot add the same private member more than once"):be instanceof WeakSet?be.add(me):be.set(me,He),mi=(me,be,He,Kr)=>(as(me,be,"write to private field"),Kr?Kr.call(me,He):be.set(me,He),He),fe=(me,be,He)=>(as(me,be,"access private method"),He);/**
|
|
2
2
|
* @license
|
|
3
3
|
* Copyright 2019 Google LLC
|
|
4
4
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
5
|
-
*/var
|
|
5
|
+
*/var Fo,Qn,Wo,Ce,Vo,ls,cs,Ko,us,ds,Go,hs,Yo,Zo,ei,or,fs,Xo,qt,Jo,Qo,ea,ar,ta,ps,ti,ra,ri,na,lr,gs,ia,ln,Er,gt,Sr,sa,oa;const be=globalThis,He=be.ShadowRoot&&(be.ShadyCSS===void 0||be.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,Kr=Symbol(),ys=new WeakMap;let aa=class{constructor(e,r,n){if(this._$cssResult$=!0,n!==Kr)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(He&&e===void 0){const n=r!==void 0&&r.length===1;n&&(e=ys.get(r)),e===void 0&&((this.o=e=new CSSStyleSheet).replaceSync(this.cssText),n&&ys.set(r,e))}return e}toString(){return this.cssText}};const la=t=>new aa(typeof t=="string"?t:t+"",void 0,Kr),ca=(t,e)=>{if(He)t.adoptedStyleSheets=e.map(r=>r instanceof CSSStyleSheet?r:r.styleSheet);else for(const r of e){const n=document.createElement("style"),i=be.litNonce;i!==void 0&&n.setAttribute("nonce",i),n.textContent=r.cssText,t.appendChild(n)}},bs=He?t=>t:t=>t instanceof CSSStyleSheet?(e=>{let r="";for(const n of e.cssRules)r+=n.cssText;return la(r)})(t):t;/**
|
|
6
6
|
* @license
|
|
7
7
|
* Copyright 2017 Google LLC
|
|
8
8
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
9
|
-
*/const{is:
|
|
9
|
+
*/const{is:ua,defineProperty:da,getOwnPropertyDescriptor:ha,getOwnPropertyNames:fa,getOwnPropertySymbols:pa,getPrototypeOf:ga}=Object,Ht=globalThis,ms=Ht.trustedTypes,ya=ms?ms.emptyScript:"",vi=Ht.reactiveElementPolyfillSupport,Gr=(t,e)=>t,wi={toAttribute(t,e){switch(e){case Boolean:t=t?ya: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}},vs=(t,e)=>!ua(t,e),ws={attribute:!0,type:String,converter:wi,reflect:!1,hasChanged:vs};Symbol.metadata??(Symbol.metadata=Symbol("metadata")),Ht.litPropertyMetadata??(Ht.litPropertyMetadata=new WeakMap);class vr extends HTMLElement{static addInitializer(e){this._$Ei(),(this.l??(this.l=[])).push(e)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(e,r=ws){if(r.state&&(r.attribute=!1),this._$Ei(),this.elementProperties.set(e,r),!r.noAccessor){const n=Symbol(),i=this.getPropertyDescriptor(e,n,r);i!==void 0&&da(this.prototype,e,i)}}static getPropertyDescriptor(e,r,n){const{get:i,set:s}=ha(this.prototype,e)??{get(){return this[r]},set(o){this[r]=o}};return{get(){return i==null?void 0:i.call(this)},set(o){const l=i==null?void 0:i.call(this);s.call(this,o),this.requestUpdate(e,l,n)},configurable:!0,enumerable:!0}}static getPropertyOptions(e){return this.elementProperties.get(e)??ws}static _$Ei(){if(this.hasOwnProperty(Gr("elementProperties")))return;const e=ga(this);e.finalize(),e.l!==void 0&&(this.l=[...e.l]),this.elementProperties=new Map(e.elementProperties)}static finalize(){if(this.hasOwnProperty(Gr("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(Gr("properties"))){const r=this.properties,n=[...fa(r),...pa(r)];for(const i of n)this.createProperty(i,r[i])}const e=this[Symbol.metadata];if(e!==null){const r=litPropertyMetadata.get(e);if(r!==void 0)for(const[n,i]of r)this.elementProperties.set(n,i)}this._$Eh=new Map;for(const[r,n]of this.elementProperties){const i=this._$Eu(r,n);i!==void 0&&this._$Eh.set(i,r)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(e){const r=[];if(Array.isArray(e)){const n=new Set(e.flat(1/0).reverse());for(const i of n)r.unshift(bs(i))}else e!==void 0&&r.push(bs(e));return r}static _$Eu(e,r){const n=r.attribute;return n===!1?void 0:typeof n=="string"?n: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(){var e;this._$ES=new Promise(r=>this.enableUpdating=r),this._$AL=new Map,this._$E_(),this.requestUpdate(),(e=this.constructor.l)==null||e.forEach(r=>r(this))}addController(e){var r;(this._$EO??(this._$EO=new Set)).add(e),this.renderRoot!==void 0&&this.isConnected&&((r=e.hostConnected)==null||r.call(e))}removeController(e){var r;(r=this._$EO)==null||r.delete(e)}_$E_(){const e=new Map,r=this.constructor.elementProperties;for(const n of r.keys())this.hasOwnProperty(n)&&(e.set(n,this[n]),delete this[n]);e.size>0&&(this._$Ep=e)}createRenderRoot(){const e=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return ca(e,this.constructor.elementStyles),e}connectedCallback(){var e;this.renderRoot??(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),(e=this._$EO)==null||e.forEach(r=>{var n;return(n=r.hostConnected)==null?void 0:n.call(r)})}enableUpdating(e){}disconnectedCallback(){var e;(e=this._$EO)==null||e.forEach(r=>{var n;return(n=r.hostDisconnected)==null?void 0:n.call(r)})}attributeChangedCallback(e,r,n){this._$AK(e,n)}_$EC(e,r){var s;const n=this.constructor.elementProperties.get(e),i=this.constructor._$Eu(e,n);if(i!==void 0&&n.reflect===!0){const o=(((s=n.converter)==null?void 0:s.toAttribute)!==void 0?n.converter:wi).toAttribute(r,n.type);this._$Em=e,o==null?this.removeAttribute(i):this.setAttribute(i,o),this._$Em=null}}_$AK(e,r){var s;const n=this.constructor,i=n._$Eh.get(e);if(i!==void 0&&this._$Em!==i){const o=n.getPropertyOptions(i),l=typeof o.converter=="function"?{fromAttribute:o.converter}:((s=o.converter)==null?void 0:s.fromAttribute)!==void 0?o.converter:wi;this._$Em=i,this[i]=l.fromAttribute(r,o.type),this._$Em=null}}requestUpdate(e,r,n){if(e!==void 0){if(n??(n=this.constructor.getPropertyOptions(e)),!(n.hasChanged??vs)(this[e],r))return;this.P(e,r,n)}this.isUpdatePending===!1&&(this._$ES=this._$ET())}P(e,r,n){this._$AL.has(e)||this._$AL.set(e,r),n.reflect===!0&&this._$Em!==e&&(this._$Ej??(this._$Ej=new Set)).add(e)}async _$ET(){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(){var n;if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??(this.renderRoot=this.createRenderRoot()),this._$Ep){for(const[s,o]of this._$Ep)this[s]=o;this._$Ep=void 0}const i=this.constructor.elementProperties;if(i.size>0)for(const[s,o]of i)o.wrapped!==!0||this._$AL.has(s)||this[s]===void 0||this.P(s,this[s],o)}let e=!1;const r=this._$AL;try{e=this.shouldUpdate(r),e?(this.willUpdate(r),(n=this._$EO)==null||n.forEach(i=>{var s;return(s=i.hostUpdate)==null?void 0:s.call(i)}),this.update(r)):this._$EU()}catch(i){throw e=!1,this._$EU(),i}e&&this._$AE(r)}willUpdate(e){}_$AE(e){var r;(r=this._$EO)==null||r.forEach(n=>{var i;return(i=n.hostUpdated)==null?void 0:i.call(n)}),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(e)),this.updated(e)}_$EU(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(e){return!0}update(e){this._$Ej&&(this._$Ej=this._$Ej.forEach(r=>this._$EC(r,this[r]))),this._$EU()}updated(e){}firstUpdated(e){}}vr.elementStyles=[],vr.shadowRootOptions={mode:"open"},vr[Gr("elementProperties")]=new Map,vr[Gr("finalized")]=new Map,vi==null||vi({ReactiveElement:vr}),(Ht.reactiveElementVersions??(Ht.reactiveElementVersions=[])).push("2.0.4");/**
|
|
10
10
|
* @license
|
|
11
11
|
* Copyright 2017 Google LLC
|
|
12
12
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
13
|
-
*/const
|
|
14
|
-
\f\r]`,Jr=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,
|
|
15
|
-
\f\r"'\`<>=]|("|')|))|$)`,"g"),
|
|
13
|
+
*/const Yr=globalThis,Dn=Yr.trustedTypes,xs=Dn?Dn.createPolicy("lit-html",{createHTML:t=>t}):void 0,$s="$lit$",Nt=`lit$${Math.random().toFixed(9).slice(2)}$`,As="?"+Nt,ba=`<${As}>`,Qt=document,Zr=()=>Qt.createComment(""),Xr=t=>t===null||typeof t!="object"&&typeof t!="function",xi=Array.isArray,ma=t=>xi(t)||typeof(t==null?void 0:t[Symbol.iterator])=="function",$i=`[
|
|
14
|
+
\f\r]`,Jr=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,_s=/-->/g,Ms=/>/g,er=RegExp(`>|${$i}(?:([^\\s"'>=/]+)(${$i}*=${$i}*(?:[^
|
|
15
|
+
\f\r"'\`<>=]|("|')|))|$)`,"g"),Cs=/'/g,Es=/"/g,Ss=/^(?:script|style|textarea|title)$/i,va=t=>(e,...r)=>({_$litType$:t,strings:e,values:r}),ee=va(1),It=Symbol.for("lit-noChange"),xe=Symbol.for("lit-nothing"),ks=new WeakMap,tr=Qt.createTreeWalker(Qt,129);function Ls(t,e){if(!xi(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return xs!==void 0?xs.createHTML(e):e}const wa=(t,e)=>{const r=t.length-1,n=[];let i,s=e===2?"<svg>":e===3?"<math>":"",o=Jr;for(let l=0;l<r;l++){const c=t[l];let u,g,y=-1,x=0;for(;x<c.length&&(o.lastIndex=x,g=o.exec(c),g!==null);)x=o.lastIndex,o===Jr?g[1]==="!--"?o=_s:g[1]!==void 0?o=Ms:g[2]!==void 0?(Ss.test(g[2])&&(i=RegExp("</"+g[2],"g")),o=er):g[3]!==void 0&&(o=er):o===er?g[0]===">"?(o=i??Jr,y=-1):g[1]===void 0?y=-2:(y=o.lastIndex-g[2].length,u=g[1],o=g[3]===void 0?er:g[3]==='"'?Es:Cs):o===Es||o===Cs?o=er:o===_s||o===Ms?o=Jr:(o=er,i=void 0);const b=o===er&&t[l+1].startsWith("/>")?" ":"";s+=o===Jr?c+ba:y>=0?(n.push(u),c.slice(0,y)+$s+c.slice(y)+Nt+b):c+Nt+(y===-2?l:b)}return[Ls(t,s+(t[r]||"<?>")+(e===2?"</svg>":e===3?"</math>":"")),n]};class Qr{constructor({strings:e,_$litType$:r},n){let i;this.parts=[];let s=0,o=0;const l=e.length-1,c=this.parts,[u,g]=wa(e,r);if(this.el=Qr.createElement(u,n),tr.currentNode=this.el.content,r===2||r===3){const y=this.el.content.firstChild;y.replaceWith(...y.childNodes)}for(;(i=tr.nextNode())!==null&&c.length<l;){if(i.nodeType===1){if(i.hasAttributes())for(const y of i.getAttributeNames())if(y.endsWith($s)){const x=g[o++],b=i.getAttribute(y).split(Nt),_=/([.?@])?(.*)/.exec(x);c.push({type:1,index:s,name:_[2],strings:b,ctor:_[1]==="."?$a:_[1]==="?"?Aa:_[1]==="@"?_a:Pn}),i.removeAttribute(y)}else y.startsWith(Nt)&&(c.push({type:6,index:s}),i.removeAttribute(y));if(Ss.test(i.tagName)){const y=i.textContent.split(Nt),x=y.length-1;if(x>0){i.textContent=Dn?Dn.emptyScript:"";for(let b=0;b<x;b++)i.append(y[b],Zr()),tr.nextNode(),c.push({type:2,index:++s});i.append(y[x],Zr())}}}else if(i.nodeType===8)if(i.data===As)c.push({type:2,index:s});else{let y=-1;for(;(y=i.data.indexOf(Nt,y+1))!==-1;)c.push({type:7,index:s}),y+=Nt.length-1}s++}}static createElement(e,r){const n=Qt.createElement("template");return n.innerHTML=e,n}}function wr(t,e,r=t,n){var o,l;if(e===It)return e;let i=n!==void 0?(o=r._$Co)==null?void 0:o[n]:r._$Cl;const s=Xr(e)?void 0:e._$litDirective$;return(i==null?void 0:i.constructor)!==s&&((l=i==null?void 0:i._$AO)==null||l.call(i,!1),s===void 0?i=void 0:(i=new s(t),i._$AT(t,r,n)),n!==void 0?(r._$Co??(r._$Co=[]))[n]=i:r._$Cl=i),i!==void 0&&(e=wr(t,i._$AS(t,e.values),i,n)),e}let xa=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:n}=this._$AD,i=((e==null?void 0:e.creationScope)??Qt).importNode(r,!0);tr.currentNode=i;let s=tr.nextNode(),o=0,l=0,c=n[0];for(;c!==void 0;){if(o===c.index){let u;c.type===2?u=new xr(s,s.nextSibling,this,e):c.type===1?u=new c.ctor(s,c.name,c.strings,this,e):c.type===6&&(u=new Ma(s,this,e)),this._$AV.push(u),c=n[++l]}o!==(c==null?void 0:c.index)&&(s=tr.nextNode(),o++)}return tr.currentNode=Qt,i}p(e){let r=0;for(const n of this._$AV)n!==void 0&&(n.strings!==void 0?(n._$AI(e,n,r),r+=n.strings.length-2):n._$AI(e[r])),r++}};class xr{get _$AU(){var e;return((e=this._$AM)==null?void 0:e._$AU)??this._$Cv}constructor(e,r,n,i){this.type=2,this._$AH=xe,this._$AN=void 0,this._$AA=e,this._$AB=r,this._$AM=n,this.options=i,this._$Cv=(i==null?void 0:i.isConnected)??!0}get parentNode(){let e=this._$AA.parentNode;const r=this._$AM;return r!==void 0&&(e==null?void 0:e.nodeType)===11&&(e=r.parentNode),e}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(e,r=this){e=wr(this,e,r),Xr(e)?e===xe||e==null||e===""?(this._$AH!==xe&&this._$AR(),this._$AH=xe):e!==this._$AH&&e!==It&&this._(e):e._$litType$!==void 0?this.$(e):e.nodeType!==void 0?this.T(e):ma(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!==xe&&Xr(this._$AH)?this._$AA.nextSibling.data=e:this.T(Qt.createTextNode(e)),this._$AH=e}$(e){var s;const{values:r,_$litType$:n}=e,i=typeof n=="number"?this._$AC(e):(n.el===void 0&&(n.el=Qr.createElement(Ls(n.h,n.h[0]),this.options)),n);if(((s=this._$AH)==null?void 0:s._$AD)===i)this._$AH.p(r);else{const o=new xa(i,this),l=o.u(this.options);o.p(r),this.T(l),this._$AH=o}}_$AC(e){let r=ks.get(e.strings);return r===void 0&&ks.set(e.strings,r=new Qr(e)),r}k(e){xi(this._$AH)||(this._$AH=[],this._$AR());const r=this._$AH;let n,i=0;for(const s of e)i===r.length?r.push(n=new xr(this.O(Zr()),this.O(Zr()),this,this.options)):n=r[i],n._$AI(s),i++;i<r.length&&(this._$AR(n&&n._$AB.nextSibling,i),r.length=i)}_$AR(e=this._$AA.nextSibling,r){var n;for((n=this._$AP)==null?void 0:n.call(this,!1,!0,r);e&&e!==this._$AB;){const i=e.nextSibling;e.remove(),e=i}}setConnected(e){var r;this._$AM===void 0&&(this._$Cv=e,(r=this._$AP)==null||r.call(this,e))}}class Pn{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(e,r,n,i,s){this.type=1,this._$AH=xe,this._$AN=void 0,this.element=e,this.name=r,this._$AM=i,this.options=s,n.length>2||n[0]!==""||n[1]!==""?(this._$AH=Array(n.length-1).fill(new String),this.strings=n):this._$AH=xe}_$AI(e,r=this,n,i){const s=this.strings;let o=!1;if(s===void 0)e=wr(this,e,r,0),o=!Xr(e)||e!==this._$AH&&e!==It,o&&(this._$AH=e);else{const l=e;let c,u;for(e=s[0],c=0;c<s.length-1;c++)u=wr(this,l[n+c],r,c),u===It&&(u=this._$AH[c]),o||(o=!Xr(u)||u!==this._$AH[c]),u===xe?e=xe:e!==xe&&(e+=(u??"")+s[c+1]),this._$AH[c]=u}o&&!i&&this.j(e)}j(e){e===xe?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e??"")}}class $a extends Pn{constructor(){super(...arguments),this.type=3}j(e){this.element[this.name]=e===xe?void 0:e}}class Aa extends Pn{constructor(){super(...arguments),this.type=4}j(e){this.element.toggleAttribute(this.name,!!e&&e!==xe)}}class _a extends Pn{constructor(e,r,n,i,s){super(e,r,n,i,s),this.type=5}_$AI(e,r=this){if((e=wr(this,e,r,0)??xe)===It)return;const n=this._$AH,i=e===xe&&n!==xe||e.capture!==n.capture||e.once!==n.once||e.passive!==n.passive,s=e!==xe&&(n===xe||i);i&&this.element.removeEventListener(this.name,this,n),s&&this.element.addEventListener(this.name,this,e),this._$AH=e}handleEvent(e){var r;typeof this._$AH=="function"?this._$AH.call(((r=this.options)==null?void 0:r.host)??this.element,e):this._$AH.handleEvent(e)}}class Ma{constructor(e,r,n){this.element=e,this.type=6,this._$AN=void 0,this._$AM=r,this.options=n}get _$AU(){return this._$AM._$AU}_$AI(e){wr(this,e)}}const Ca={I:xr},Ai=Yr.litHtmlPolyfillSupport;Ai==null||Ai(Qr,xr),(Yr.litHtmlVersions??(Yr.litHtmlVersions=[])).push("3.2.1");const Ea=(t,e,r)=>{const n=(r==null?void 0:r.renderBefore)??e;let i=n._$litPart$;if(i===void 0){const s=(r==null?void 0:r.renderBefore)??null;n._$litPart$=i=new xr(e.insertBefore(Zr(),s),s,void 0,r??{})}return i._$AI(t),i};/**
|
|
16
16
|
* @license
|
|
17
17
|
* Copyright 2017 Google LLC
|
|
18
18
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
19
|
-
*/let
|
|
19
|
+
*/let tt=class extends vr{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){var r;const e=super.createRenderRoot();return(r=this.renderOptions).renderBefore??(r.renderBefore=e.firstChild),e}update(e){const r=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(e),this._$Do=Ea(r,this.renderRoot,this.renderOptions)}connectedCallback(){var e;super.connectedCallback(),(e=this._$Do)==null||e.setConnected(!0)}disconnectedCallback(){var e;super.disconnectedCallback(),(e=this._$Do)==null||e.setConnected(!1)}render(){return It}};tt._$litElement$=!0,tt.finalized=!0,(Fo=globalThis.litElementHydrateSupport)==null||Fo.call(globalThis,{LitElement:tt});const _i=globalThis.litElementPolyfillSupport;_i==null||_i({LitElement:tt}),(globalThis.litElementVersions??(globalThis.litElementVersions=[])).push("4.1.1");/**
|
|
20
20
|
* @license
|
|
21
21
|
* Copyright 2021 Google LLC
|
|
22
22
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
23
|
-
*/function*
|
|
23
|
+
*/function*Tn(t,e){if(t!==void 0){let r=0;for(const n of t)yield e(n,r++)}}/**
|
|
24
24
|
* @license
|
|
25
25
|
* Copyright 2021 Google LLC
|
|
26
26
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
27
|
-
*/function
|
|
27
|
+
*/function Ve(t,e,r){return t?e(t):r==null?void 0:r(t)}const Sa=`
|
|
28
28
|
:host {
|
|
29
29
|
display: flex;
|
|
30
30
|
box-sizing: border-box;
|
|
@@ -49,7 +49,7 @@ form#itemfilter:not(.inline) {
|
|
|
49
49
|
details {
|
|
50
50
|
width: 100%;
|
|
51
51
|
}
|
|
52
|
-
`,
|
|
52
|
+
`,en=`
|
|
53
53
|
:host, :root {
|
|
54
54
|
--item-color: color-mix(
|
|
55
55
|
in srgb,
|
|
@@ -107,6 +107,7 @@ li span {
|
|
|
107
107
|
}
|
|
108
108
|
.cards li span {
|
|
109
109
|
display: block;
|
|
110
|
+
flex-basis: 100%;
|
|
110
111
|
}
|
|
111
112
|
li label {
|
|
112
113
|
display: flex;
|
|
@@ -160,6 +161,15 @@ details > summary::-webkit-details-marker {
|
|
|
160
161
|
height: 190px;
|
|
161
162
|
margin-bottom: 8px;
|
|
162
163
|
}
|
|
164
|
+
.cards .result-action {
|
|
165
|
+
position: absolute;
|
|
166
|
+
top: 0;
|
|
167
|
+
right: 0;
|
|
168
|
+
margin: 10px 12px;
|
|
169
|
+
padding: 6px;
|
|
170
|
+
background: white;
|
|
171
|
+
border-radius: 50%;
|
|
172
|
+
}
|
|
163
173
|
.title-container {
|
|
164
174
|
display: flex;
|
|
165
175
|
flex-direction: column;
|
|
@@ -239,6 +249,22 @@ ul:not(#filters) > li {
|
|
|
239
249
|
}
|
|
240
250
|
ul#results li {
|
|
241
251
|
padding: 5px var(--padding);
|
|
252
|
+
display: flex;
|
|
253
|
+
justify-content: space-between;
|
|
254
|
+
}
|
|
255
|
+
ul#results li .result-action {
|
|
256
|
+
display: flex;
|
|
257
|
+
align-items: center;
|
|
258
|
+
height: fit-content;
|
|
259
|
+
line-height: 1;
|
|
260
|
+
opacity: .5;
|
|
261
|
+
transition: opacity .3s ease-in-out;
|
|
262
|
+
}
|
|
263
|
+
ul#results li .result-action:hover {
|
|
264
|
+
opacity: 1;
|
|
265
|
+
}
|
|
266
|
+
ul#results li.highlighted .result-action > * {
|
|
267
|
+
filter: invert(1);
|
|
242
268
|
}
|
|
243
269
|
ul#results ul.cards {
|
|
244
270
|
display: flex;
|
|
@@ -252,6 +278,7 @@ ul#results ul.cards li {
|
|
|
252
278
|
flex-basis: calc(33.3% - 77px);
|
|
253
279
|
min-width: 0;
|
|
254
280
|
align-self: flex-start;
|
|
281
|
+
position: relative;
|
|
255
282
|
}
|
|
256
283
|
@media screen and (max-width: 768px) {
|
|
257
284
|
ul#results ul.cards li {
|
|
@@ -572,15 +599,15 @@ eox-itemfilter-results li.highlighted {
|
|
|
572
599
|
input {
|
|
573
600
|
background-color: var(--background-color);
|
|
574
601
|
}
|
|
575
|
-
`,Ea=`:root,:host { --spacing: 1rem; --block-spacing-vertical: calc(var(--spacing) * 2); --block-spacing-horizontal: var(--spacing); --background-color: var(--eox-background-color, transparent); --color: var(--eox-color, #2c3d49); --h-color: var(--eox-h-color, var(--color)); --hover-transparency: var(--eox-hover-transparency, 20%); --bg-hover-transparency: var(--eox-bg-hover-transparency, 40%); --btn-hover-transparency: var(--eox-btn-hover-transparency, 80%); --primary-color: var(--eox-primary-color, #004170); --primary-color-hover: color-mix( in srgb, var(--primary-color) var(--hover-transparency), transparent ); --primary-bg-color-hover: color-mix( in srgb, var(--primary-color) var(--bg-hover-transparency), transparent ); --primary-btn-color-hover: color-mix( in srgb, var(--primary-color) var(--btn-hover-transparency), transparent ); --secondary-color: var(--eox-secondary-color, #c6d4df); --secondary-color-hover: color-mix( in srgb, var(--secondary-color) var(--hover-transparency), transparent ); --secondary-bg-color-hover: color-mix( in srgb, var(--secondary-color) var(--bg-hover-transparency), transparent ); --secondary-btn-color-hover: color-mix( in srgb, var(--secondary-color) var(--btn-hover-transparency), transparent ); --success: var(--eox-success, #26cc0f); --warning: var(--eox-warning, #f18e32); --error: var(--eox-error, #ff5252); --header-font-family: var(--eox-header-font-family, "Roboto", sans-serif); --body-font-family: var(--eox-body-font-family, "Roboto", sans-serif);}* { font-size: normal; font-family: var(--body-font-family); color: var(--eox-color);}h1,h2,h3,h4,h5,h6 { font-family: var(--header-font-family);}span,p,div,main,label { font-family: var(--body-font-family);}@media (min-width: 576px) { .container { max-width: 510px; padding-right: 0; padding-left: 0; --block-spacing-vertical: calc(var(--spacing) * 2.5); }}@media (min-width: 768px) { .container { max-width: 700px; --block-spacing-vertical: calc(var(--spacing) * 3); }}@media (min-width: 992px) { .container { max-width: 920px; --block-spacing-vertical: calc(var(--spacing) * 3.5); }}@media (min-width: 1200px) { .container { max-width: 1130px; --block-spacing-vertical: calc(var(--spacing) * 4); }}.container { width: 100%; margin-right: auto; margin-left: auto; display: block; padding: var(--block-spacing-vertical) var(--block-spacing-horizontal);}h1,h2,h3 { line-height: 120%; margin-top: 0.8rem; margin-bottom: 0.8rem;}p { --font-size: 1rem; font-weight: 400; line-height: 170%; margin-top: 0.8rem; margin-bottom: 1.6rem; font-size: var(--font-size);}body { padding: 0; margin: 0;}.sb-show-main.sb-main-padded { padding: 0;}h1,h2,h3,h4,h5,h6 { --font-weight: 700;}h1 { --font-size: 3rem; --typography-spacing-vertical: 0.5rem;}h2 { --font-size: 2rem; --typography-spacing-vertical: 0.5rem;}h3 { --font-size: 1.75rem; --typography-spacing-vertical: 0.5rem;}h4 { --font-size: 1.5rem; --typography-spacing-vertical: 0.5rem;}h5 { --font-size: 1.25rem; --typography-spacing-vertical: 0.5rem;}h1,h2,h3,h4,h5,h6 { margin-top: 0; margin-bottom: var(--typography-spacing-vertical); color: var(--h-color); font-weight: var(--font-weight); font-size: var(--font-size); font-family: var(--header-font-family);}pre { position: relative; border-radius: 4px; z-index: 1; margin: 0; padding: 20px 0; background: transparent; background: var(--code-bg-color, #8e96aa24); overflow: auto;}code { display: block; padding: 0 24px; width: fit-content; min-width: 100%; line-height: var(--code-line-height, 1.7); font-family: var(--code-font-family, monospace); font-size: var(--code-font-size, var(--font-size)); color: var(--code-color, #004170);}:not(pre) > code { display: inline; border-radius: 4px; background: var(--code-bg-color, #8e96aa24); padding: var(--code-padding, 3px 6px);}button,.button { /* TODO: why does this only work here and not from :root? */ --primary-color: #004170; --primary-color-hover: #004170cc; --error-color: #ff5252; display: inline-flex; position: relative; align-items: center; color: #fff; border-width: 0; outline: none; border-radius: 4px; padding: 16px; height: 36px; cursor: pointer; font-family: inherit; font-size: 0.875rem; text-transform: uppercase; letter-spacing: 1.25px; font-weight: 500; box-shadow: 0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12); transition-property: box-shadow, transform, opacity, background; transition-duration: 0.28s; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);}button:hover:not([disabled]):not(.icon),.button:hover:not([disabled]):not(.icon) { box-shadow: 0px 2px 4px -1px rgba(0, 0, 0, 0.2), 0px 4px 5px 0px rgba(0, 0, 0, 0.14), 0px 1px 10px 0px rgba(0, 0, 0, 0.12); background: var(--primary-color-hover);}button,button:active,.button,.button:active { background: var(--primary-color);}button[disabled],.button[disabled] { opacity: 0.5; cursor: not-allowed;}button.block,.button.block { display: block;}button.outline,.button.outline { background: transparent; box-shadow: none; color: var(--primary-color); outline: 1px solid var(--primary-color);}button.outline:hover,.button.outline:hover { background: transparent;}button.icon,.button.icon { background: transparent; border: none; box-shadow: none; padding: 0; border-radius: 50%; width: 24px; height: 24px; text-indent: -9999px;}button.icon-text,.button.icon-text { text-indent: 26px;}button.icon-text.block,.button.icon-text.block { text-indent: 20px;}button.icon:before,button.icon-text:before,.button.icon:before,.button.icon-text:before { position: absolute; text-indent: 0; line-height: initial;}button.icon-text.block:before,.button.icon-text.block:before { text-indent: -54px;}button.icon:before,.button.icon:before { width: 24px; height: 24px; margin-right: 0;}button.icon-text:before,.button.icon-text:before { width: 18px; height: 18px;}button.small,.button.small { height: 28px; padding: 12.4px; font-size: 0.75rem;}button.smallest.icon,button.smallest.icon::before { height: 16px; width: 16px; padding: 0px;}input[type="checkbox"] { appearance: none; -webkit-appearance: none; margin: 0; cursor: pointer; display: flex; flex-direction: row; align-items: center; width: 24px; height: 24px;}input[type="checkbox"]:after { display: block; content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23004170' viewBox='0 0 24 24'%3E%3Ctitle%3Echeckbox-blank-outline%3C/title%3E%3Cpath d='M19,3H5C3.89,3 3,3.89 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V5C21,3.89 20.1,3 19,3M19,5V19H5V5H19Z' /%3E%3C/svg%3E"); width: 20px; height: 20px; margin-right: 4px;}input[type="checkbox"]:checked:after { content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23004170' viewBox='0 0 24 24'%3E%3Ctitle%3Echeckbox-marked%3C/title%3E%3Cpath d='M10,17L5,12L6.41,10.58L10,14.17L17.59,6.58L19,8M19,3H5C3.89,3 3,3.89 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V5C21,3.89 20.1,3 19,3Z' /%3E%3C/svg%3E");}textarea { height: 90px; resize: none; border-radius: 4px; box-sizing: border-box !important; width: 100%; padding: 5px 7px; border: 1px solid var(--secondary-color); font-size: smaller; background: var(--background-color);}input,input[type="text"],input[type="url"],input[type="email"],input[type="password"],input[type="text"],input[type="number"],input[type="search"],input[type="tel"],select { box-sizing: border-box; width: 100%; margin-top: 0.5rem; margin-bottom: 0.5rem; padding: 5px 7px; border-radius: 4px; border: 1px solid #0004; background-color: var(--background-color);}ul.list-wrap { padding: 0;}ul.list-wrap li:hover,ul.list-wrap li.selected { background: var(--secondary-bg-color-hover);}ul.list-wrap li { list-style: none; padding: 4px;}ul.list-wrap li { border-bottom: 1.2px solid var(--secondary-color);}ul.list-wrap li:first-child { border-top: 1.2px solid var(--secondary-color);}ul.list-wrap li .list { width: 100%; align-items: center; justify-content: space-between; display: flex; align-items: center; cursor: pointer; font-size: small; gap: 10px;}ul.list-wrap li .list span { display: flex; align-items: center; cursor: pointer; font-size: small; flex-grow: 1;}input[type="radio"] { appearance: none; -webkit-appearance: none; margin: 0; cursor: pointer; display: flex; flex-direction: row; align-items: center; width: 24px; height: 24px;}label span { font-size: small;}input[type="radio"]:after { display: block; content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23004170' viewBox='0 0 24 24'%3E%3Ctitle%3Eradiobox-blank%3C/title%3E%3Cpath d='M12,20A8,8 0 0,1 4,12A8,8 0 0,1 12,4A8,8 0 0,1 20,12A8,8 0 0,1 12,20M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2Z' /%3E%3C/svg%3E"); width: 20px; height: 20px; margin-right: 4px;}input[type="radio"]:checked:after { content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23004170' viewBox='0 0 24 24'%3E%3Ctitle%3Eradiobox-marked%3C/title%3E%3Cpath d='M12,20A8,8 0 0,1 4,12A8,8 0 0,1 12,4A8,8 0 0,1 20,12A8,8 0 0,1 12,20M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2M12,7A5,5 0 0,0 7,12A5,5 0 0,0 12,17A5,5 0 0,0 17,12A5,5 0 0,0 12,7Z' /%3E%3C/svg%3E");}:root,:host { --range-slider-height: 6px; --range-slider-thumb-size: 15px; --range-slider-thumb-border-radius: 50%; --range-slider-color: #004170; --range-slider-track-color: #d7dcdf; --range-slider-track-border-radius: 0;}input[type="range"] { -webkit-appearance: none; border: none; color: var(--range-slider-color); overflow: hidden; padding-left: 0; margin-left: 7px;}/*webkit*/input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: var(--range-slider-thumb-size); height: var(--range-slider-thumb-size); border-radius: var(--range-slider-thumb-border-radius); background: var(--range-slider-color); border: none; box-shadow: none; margin-top: calc( var(--range-slider-height) * 0.5 - var(--range-slider-thumb-size) * 0.5 );}input[type="range"]::-webkit-slider-runnable-track { height: var(--range-slider-height); border: none; border-radius: var(--range-slider-track-border-radius); background: var(--range-slider-track-color); box-shadow: none;}input[type="range"]::-webkit-slider-thumb { cursor: grab; --clip-edges: 4px; --clip-top: calc( (var(--range-slider-thumb-size) - var(--range-slider-height)) * 0.5 ); --clip-bottom: calc(var(--range-slider-thumb-size) - var(--clip-top)); --clip-further: calc(100% + 1px); --box-fill: calc( -100vmax - var(--range-slider-thumb-size, var(--range-slider-thumb-size)) + 1px ) 0 0 100vmax currentColor; background: linear-gradient(currentColor 0 0) scroll no-repeat left center / 50% calc(var(--range-slider-height) + 1px); background-color: currentColor; box-shadow: var(--box-fill); border-radius: var(--range-slider-thumb-size, var(--range-slider-thumb-size)); filter: brightness(100%); clip-path: polygon( 100% -1px, var(--clip-edges) -1px, 0 var(--clip-top), -100vmax var(--clip-top), -100vmax var(--clip-bottom), 0 var(--clip-bottom), var(--clip-edges) 100%, var(--clip-further) var(--clip-further) );}/*mozilla*/input[type="range"]::-moz-range-thumb { width: var(--range-slider-thumb-size); height: var(--range-slider-thumb-size); border-radius: var(--range-slider-thumb-border-radius); background: var(--range-slider-color); border: none; box-shadow: none; cursor: grab;}input[type="range"]::-moz-range-track { border: none; border-radius: var(--range-slider-track-border-radius); background: var(--range-slider-track-color); box-shadow: none;}input[type="range"]::-moz-range-progress { appearance: none; background: currentColor; transition-delay: 30ms;}input[type="range"]::-moz-range-track,input[type="range"]::-moz-range-progress { height: calc(var(--range-slider-height)); border-radius: var(--range-slider-track-border-radius);}/*toolcool slider*/tc-range-slider { --height: var(--range-slider-height); --panel-bg: var(--range-slider-track-color); --panel-bg-hover: var(--range-slider-track-color); --panel-bg-fill: var(--range-slider-color); --panel-bg-border-radius: var(--range-slider-track-border-radius); --pointer-bg: var(--range-slider-color); --pointer-bg-hover: var(--range-slider-color); --pointer-bg-focus: var(--range-slider-color); --pointer-width: var(--range-slider-thumb-size); --pointer-height: var(--range-slider-thumb-size); --pointer-shadow: none; --pointer-shadow-hover: none; --pointer-shadow-focus: none; --pointer-border: none; --pointer-border-hover: 0; --pointer-border-focus: 0; --pointer-border-radius: var(--range-slider-thumb-border-radius);}`;class Ca extends et{constructor(){super();it(this,Xn);this.filterObject={},this.unstyled=!1}static get properties(){return{filterObject:{attribute:!1,type:Object},unstyled:{type:Boolean}}}render(){return ee`
|
|
602
|
+
`,ka=`:root,:host { --spacing: 1rem; --block-spacing-vertical: calc(var(--spacing) * 2); --block-spacing-horizontal: var(--spacing); --background-color: var(--eox-background-color, transparent); --color: var(--eox-color, #2c3d49); --h-color: var(--eox-h-color, var(--color)); --hover-transparency: var(--eox-hover-transparency, 20%); --bg-hover-transparency: var(--eox-bg-hover-transparency, 40%); --btn-hover-transparency: var(--eox-btn-hover-transparency, 80%); --primary-color: var(--eox-primary-color, #004170); --primary-color-hover: color-mix( in srgb, var(--primary-color) var(--hover-transparency), transparent ); --primary-bg-color-hover: color-mix( in srgb, var(--primary-color) var(--bg-hover-transparency), transparent ); --primary-btn-color-hover: color-mix( in srgb, var(--primary-color) var(--btn-hover-transparency), transparent ); --secondary-color: var(--eox-secondary-color, #c6d4df); --secondary-color-hover: color-mix( in srgb, var(--secondary-color) var(--hover-transparency), transparent ); --secondary-bg-color-hover: color-mix( in srgb, var(--secondary-color) var(--bg-hover-transparency), transparent ); --secondary-btn-color-hover: color-mix( in srgb, var(--secondary-color) var(--btn-hover-transparency), transparent ); --success: var(--eox-success, #26cc0f); --warning: var(--eox-warning, #f18e32); --error: var(--eox-error, #ff5252); --header-font-family: var(--eox-header-font-family, "Roboto", sans-serif); --body-font-family: var(--eox-body-font-family, "Roboto", sans-serif);}* { font-size: normal; font-family: var(--body-font-family); color: var(--eox-color);}h1,h2,h3,h4,h5,h6 { font-family: var(--header-font-family);}span,p,div,main,label { font-family: var(--body-font-family);}@media (min-width: 576px) { .container { max-width: 510px; padding-right: 0; padding-left: 0; --block-spacing-vertical: calc(var(--spacing) * 2.5); }}@media (min-width: 768px) { .container { max-width: 700px; --block-spacing-vertical: calc(var(--spacing) * 3); }}@media (min-width: 992px) { .container { max-width: 920px; --block-spacing-vertical: calc(var(--spacing) * 3.5); }}@media (min-width: 1200px) { .container { max-width: 1130px; --block-spacing-vertical: calc(var(--spacing) * 4); }}.container { width: 100%; margin-right: auto; margin-left: auto; display: block; padding: var(--block-spacing-vertical) var(--block-spacing-horizontal);}h1,h2,h3 { line-height: 120%; margin-top: 0.8rem; margin-bottom: 0.8rem;}p { --font-size: 1rem; font-weight: 400; line-height: 170%; margin-top: 0.8rem; margin-bottom: 1.6rem; font-size: var(--font-size);}body { padding: 0; margin: 0;}.sb-show-main.sb-main-padded { padding: 0;}h1,h2,h3,h4,h5,h6 { --font-weight: 700;}h1 { --font-size: 3rem; --typography-spacing-vertical: 0.5rem;}h2 { --font-size: 2rem; --typography-spacing-vertical: 0.5rem;}h3 { --font-size: 1.75rem; --typography-spacing-vertical: 0.5rem;}h4 { --font-size: 1.5rem; --typography-spacing-vertical: 0.5rem;}h5 { --font-size: 1.25rem; --typography-spacing-vertical: 0.5rem;}h1,h2,h3,h4,h5,h6 { margin-top: 0; margin-bottom: var(--typography-spacing-vertical); color: var(--h-color); font-weight: var(--font-weight); font-size: var(--font-size); font-family: var(--header-font-family);}pre { position: relative; border-radius: 4px; z-index: 1; margin: 0; padding: 20px 0; background: transparent; background: var(--code-bg-color, #8e96aa24); overflow: auto;}code { display: block; padding: 0 24px; width: fit-content; min-width: 100%; line-height: var(--code-line-height, 1.7); font-family: var(--code-font-family, monospace); font-size: var(--code-font-size, var(--font-size)); color: var(--code-color, #004170);}:not(pre) > code { display: inline; border-radius: 4px; background: var(--code-bg-color, #8e96aa24); padding: var(--code-padding, 3px 6px);}button,.button { /* TODO: why does this only work here and not from :root? */ --primary-color: #004170; --primary-color-hover: #004170cc; --error-color: #ff5252; display: inline-flex; position: relative; align-items: center; color: #fff; border-width: 0; outline: none; border-radius: 4px; padding: 16px; height: 36px; cursor: pointer; font-family: inherit; font-size: 0.875rem; text-transform: uppercase; letter-spacing: 1.25px; font-weight: 500; box-shadow: 0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12); transition-property: box-shadow, transform, opacity, background; transition-duration: 0.28s; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);}button:hover:not([disabled]):not(.icon),.button:hover:not([disabled]):not(.icon) { box-shadow: 0px 2px 4px -1px rgba(0, 0, 0, 0.2), 0px 4px 5px 0px rgba(0, 0, 0, 0.14), 0px 1px 10px 0px rgba(0, 0, 0, 0.12); background: var(--primary-color-hover);}button,button:active,.button,.button:active { background: var(--primary-color);}button[disabled],.button[disabled] { opacity: 0.5; cursor: not-allowed;}button.block,.button.block { display: block;}button.outline,.button.outline { background: transparent; box-shadow: none; color: var(--primary-color); outline: 1px solid var(--primary-color);}button.outline:hover,.button.outline:hover { background: transparent;}button.icon,.button.icon { background: transparent; border: none; box-shadow: none; padding: 0; border-radius: 50%; width: 24px; height: 24px; text-indent: -9999px;}button.icon-text,.button.icon-text { text-indent: 26px;}button.icon-text.block,.button.icon-text.block { text-indent: 20px;}button.icon:before,button.icon-text:before,.button.icon:before,.button.icon-text:before { position: absolute; text-indent: 0; line-height: initial;}button.icon-text.block:before,.button.icon-text.block:before { text-indent: -54px;}button.icon:before,.button.icon:before { width: 24px; height: 24px; margin-right: 0;}button.icon-text:before,.button.icon-text:before { width: 18px; height: 18px;}button.small,.button.small { height: 28px; padding: 12.4px; font-size: 0.75rem;}button.smallest.icon,button.smallest.icon::before { height: 16px; width: 16px; padding: 0px;}input[type="checkbox"] { appearance: none; -webkit-appearance: none; margin: 0; cursor: pointer; display: flex; flex-direction: row; align-items: center; width: 24px; height: 24px;}input[type="checkbox"]:after { display: block; content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23004170' viewBox='0 0 24 24'%3E%3Ctitle%3Echeckbox-blank-outline%3C/title%3E%3Cpath d='M19,3H5C3.89,3 3,3.89 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V5C21,3.89 20.1,3 19,3M19,5V19H5V5H19Z' /%3E%3C/svg%3E"); width: 20px; height: 20px; margin-right: 4px;}input[type="checkbox"]:checked:after { content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23004170' viewBox='0 0 24 24'%3E%3Ctitle%3Echeckbox-marked%3C/title%3E%3Cpath d='M10,17L5,12L6.41,10.58L10,14.17L17.59,6.58L19,8M19,3H5C3.89,3 3,3.89 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V5C21,3.89 20.1,3 19,3Z' /%3E%3C/svg%3E");}textarea { height: 90px; resize: none; border-radius: 4px; box-sizing: border-box !important; width: 100%; padding: 5px 7px; border: 1px solid var(--secondary-color); font-size: smaller; background: var(--background-color);}input,input[type="text"],input[type="url"],input[type="email"],input[type="password"],input[type="text"],input[type="number"],input[type="search"],input[type="tel"],select { box-sizing: border-box; width: 100%; margin-top: 0.5rem; margin-bottom: 0.5rem; padding: 5px 7px; border-radius: 4px; border: 1px solid #0004; background-color: var(--background-color);}ul.list-wrap { padding: 0;}ul.list-wrap li:hover,ul.list-wrap li.selected { background: var(--secondary-bg-color-hover);}ul.list-wrap li { list-style: none; padding: 4px;}ul.list-wrap li { border-bottom: 1.2px solid var(--secondary-color);}ul.list-wrap li:first-child { border-top: 1.2px solid var(--secondary-color);}ul.list-wrap li .list { width: 100%; align-items: center; justify-content: space-between; display: flex; align-items: center; cursor: pointer; font-size: small; gap: 10px;}ul.list-wrap li .list span { display: flex; align-items: center; cursor: pointer; font-size: small; flex-grow: 1;}input[type="radio"] { appearance: none; -webkit-appearance: none; margin: 0; cursor: pointer; display: flex; flex-direction: row; align-items: center; width: 24px; height: 24px;}label span { font-size: small;}input[type="radio"]:after { display: block; content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23004170' viewBox='0 0 24 24'%3E%3Ctitle%3Eradiobox-blank%3C/title%3E%3Cpath d='M12,20A8,8 0 0,1 4,12A8,8 0 0,1 12,4A8,8 0 0,1 20,12A8,8 0 0,1 12,20M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2Z' /%3E%3C/svg%3E"); width: 20px; height: 20px; margin-right: 4px;}input[type="radio"]:checked:after { content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23004170' viewBox='0 0 24 24'%3E%3Ctitle%3Eradiobox-marked%3C/title%3E%3Cpath d='M12,20A8,8 0 0,1 4,12A8,8 0 0,1 12,4A8,8 0 0,1 20,12A8,8 0 0,1 12,20M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2M12,7A5,5 0 0,0 7,12A5,5 0 0,0 12,17A5,5 0 0,0 17,12A5,5 0 0,0 12,7Z' /%3E%3C/svg%3E");}:root,:host { --range-slider-height: 6px; --range-slider-thumb-size: 15px; --range-slider-thumb-border-radius: 50%; --range-slider-color: #004170; --range-slider-track-color: #d7dcdf; --range-slider-track-border-radius: 0;}input[type="range"] { -webkit-appearance: none; border: none; color: var(--range-slider-color); overflow: hidden; padding-left: 0; margin-left: 7px;}/*webkit*/input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: var(--range-slider-thumb-size); height: var(--range-slider-thumb-size); border-radius: var(--range-slider-thumb-border-radius); background: var(--range-slider-color); border: none; box-shadow: none; margin-top: calc( var(--range-slider-height) * 0.5 - var(--range-slider-thumb-size) * 0.5 );}input[type="range"]::-webkit-slider-runnable-track { height: var(--range-slider-height); border: none; border-radius: var(--range-slider-track-border-radius); background: var(--range-slider-track-color); box-shadow: none;}input[type="range"]::-webkit-slider-thumb { cursor: grab; --clip-edges: 4px; --clip-top: calc( (var(--range-slider-thumb-size) - var(--range-slider-height)) * 0.5 ); --clip-bottom: calc(var(--range-slider-thumb-size) - var(--clip-top)); --clip-further: calc(100% + 1px); --box-fill: calc( -100vmax - var(--range-slider-thumb-size, var(--range-slider-thumb-size)) + 1px ) 0 0 100vmax currentColor; background: linear-gradient(currentColor 0 0) scroll no-repeat left center / 50% calc(var(--range-slider-height) + 1px); background-color: currentColor; box-shadow: var(--box-fill); border-radius: var(--range-slider-thumb-size, var(--range-slider-thumb-size)); filter: brightness(100%); clip-path: polygon( 100% -1px, var(--clip-edges) -1px, 0 var(--clip-top), -100vmax var(--clip-top), -100vmax var(--clip-bottom), 0 var(--clip-bottom), var(--clip-edges) 100%, var(--clip-further) var(--clip-further) );}/*mozilla*/input[type="range"]::-moz-range-thumb { width: var(--range-slider-thumb-size); height: var(--range-slider-thumb-size); border-radius: var(--range-slider-thumb-border-radius); background: var(--range-slider-color); border: none; box-shadow: none; cursor: grab;}input[type="range"]::-moz-range-track { border: none; border-radius: var(--range-slider-track-border-radius); background: var(--range-slider-track-color); box-shadow: none;}input[type="range"]::-moz-range-progress { appearance: none; background: currentColor; transition-delay: 30ms;}input[type="range"]::-moz-range-track,input[type="range"]::-moz-range-progress { height: calc(var(--range-slider-height)); border-radius: var(--range-slider-track-border-radius);}/*toolcool slider*/tc-range-slider { --height: var(--range-slider-height); --panel-bg: var(--range-slider-track-color); --panel-bg-hover: var(--range-slider-track-color); --panel-bg-fill: var(--range-slider-color); --panel-bg-border-radius: var(--range-slider-track-border-radius); --pointer-bg: var(--range-slider-color); --pointer-bg-hover: var(--range-slider-color); --pointer-bg-focus: var(--range-slider-color); --pointer-width: var(--range-slider-thumb-size); --pointer-height: var(--range-slider-thumb-size); --pointer-shadow: none; --pointer-shadow-hover: none; --pointer-shadow-focus: none; --pointer-border: none; --pointer-border-hover: 0; --pointer-border-focus: 0; --pointer-border-radius: var(--range-slider-thumb-border-radius);}`;class La extends tt{constructor(){super();it(this,Qn);this.filterObject={},this.unstyled=!1}static get properties(){return{filterObject:{attribute:!1,type:Object},unstyled:{type:Boolean}}}render(){return ee`
|
|
576
603
|
<style>
|
|
577
|
-
${!this.unstyled&&
|
|
604
|
+
${!this.unstyled&&en}
|
|
578
605
|
</style>
|
|
579
606
|
|
|
580
|
-
${
|
|
581
|
-
@toggle="${
|
|
607
|
+
${Ve(this.filterObject.featured,()=>ee`<slot name="filter"></slot>`,()=>ee`<details
|
|
608
|
+
@toggle="${fe(this,Qn,Wo)}"
|
|
582
609
|
class="details-filter"
|
|
583
|
-
?open=${this.filterObject.expanded||
|
|
610
|
+
?open=${this.filterObject.expanded||xe}
|
|
584
611
|
>
|
|
585
612
|
<summary>
|
|
586
613
|
<span
|
|
@@ -595,27 +622,27 @@ input {
|
|
|
595
622
|
<slot name="filter"></slot>
|
|
596
623
|
</div>
|
|
597
624
|
</details>`)}
|
|
598
|
-
`}}Xn=new WeakSet,Zo=function(r){this.dispatchEvent(new CustomEvent("details-toggled",{detail:r,bubbles:!0,composed:!0}))},customElements.define("eox-itemfilter-expandcontainer",Ca);function Lt(t){return Array.isArray?Array.isArray(t):Is(t)==="[object Array]"}const ka=1/0;function La(t){if(typeof t=="string")return t;let e=t+"";return e=="0"&&1/t==-ka?"-0":e}function Pa(t){return t==null?"":La(t)}function vt(t){return typeof t=="string"}function Ns(t){return typeof t=="number"}function Ta(t){return t===!0||t===!1||Oa(t)&&Is(t)=="[object Boolean]"}function Hs(t){return typeof t=="object"}function Oa(t){return Hs(t)&&t!==null}function st(t){return t!=null}function Mi(t){return!t.trim().length}function Is(t){return t==null?t===void 0?"[object Undefined]":"[object Null]":Object.prototype.toString.call(t)}const ku="Extended search is not available",Ra="Incorrect 'index' type",Da=t=>`Invalid value for key ${t}`,ja=t=>`Pattern length exceeds max of ${t}.`,Na=t=>`Missing ${t} property in key`,Ha=t=>`Property 'weight' in key '${t}' must be a positive integer`,Bs=Object.prototype.hasOwnProperty;class Ia{constructor(e){this._keys=[],this._keyMap={};let r=0;e.forEach(n=>{let i=zs(n);this._keys.push(i),this._keyMap[i.id]=i,r+=i.weight}),this._keys.forEach(n=>{n.weight/=r})}get(e){return this._keyMap[e]}keys(){return this._keys}toJSON(){return JSON.stringify(this._keys)}}function zs(t){let e=null,r=null,n=null,i=1,s=null;if(vt(t)||Lt(t))n=t,e=Us(t),r=Si(t);else{if(!Bs.call(t,"name"))throw new Error(Na("name"));const o=t.name;if(n=o,Bs.call(t,"weight")&&(i=t.weight,i<=0))throw new Error(Ha(o));e=Us(o),r=Si(o),s=t.getFn}return{path:e,id:r,weight:i,src:n,getFn:s}}function Us(t){return Lt(t)?t:t.split(".")}function Si(t){return Lt(t)?t.join("."):t}function Ba(t,e){let r=[],n=!1;const i=(s,o,l)=>{if(st(s))if(!o[l])r.push(s);else{let c=o[l];const d=s[c];if(!st(d))return;if(l===o.length-1&&(vt(d)||Ns(d)||Ta(d)))r.push(Pa(d));else if(Lt(d)){n=!0;for(let g=0,y=d.length;g<y;g+=1)i(d[g],o,l+1)}else o.length&&i(d,o,l+1)}};return i(t,vt(e)?e.split("."):e,0),n?r:r[0]}var J={...{isCaseSensitive:!1,includeScore:!1,keys:[],shouldSort:!0,sortFn:(t,e)=>t.score===e.score?t.idx<e.idx?-1:1:t.score<e.score?-1:1},...{includeMatches:!1,findAllMatches:!1,minMatchCharLength:1},...{location:0,threshold:.6,distance:100},...{useExtendedSearch:!1,getFn:Ba,ignoreLocation:!1,ignoreFieldNorm:!1,fieldNormWeight:1}};const za=/[^ ]+/g;function Ua(t=1,e=3){const r=new Map,n=Math.pow(10,e);return{get(i){const s=i.match(za).length;if(r.has(s))return r.get(s);const o=1/Math.pow(s,.5*t),l=parseFloat(Math.round(o*n)/n);return r.set(s,l),l},clear(){r.clear()}}}class Ei{constructor({getFn:e=J.getFn,fieldNormWeight:r=J.fieldNormWeight}={}){this.norm=Ua(r,3),this.getFn=e,this.isCreated=!1,this.setIndexRecords()}setSources(e=[]){this.docs=e}setIndexRecords(e=[]){this.records=e}setKeys(e=[]){this.keys=e,this._keysMap={},e.forEach((r,n)=>{this._keysMap[r.id]=n})}create(){this.isCreated||!this.docs.length||(this.isCreated=!0,vt(this.docs[0])?this.docs.forEach((e,r)=>{this._addString(e,r)}):this.docs.forEach((e,r)=>{this._addObject(e,r)}),this.norm.clear())}add(e){const r=this.size();vt(e)?this._addString(e,r):this._addObject(e,r)}removeAt(e){this.records.splice(e,1);for(let r=e,n=this.size();r<n;r+=1)this.records[r].i-=1}getValueForItemAtKeyId(e,r){return e[this._keysMap[r]]}size(){return this.records.length}_addString(e,r){if(!st(e)||Mi(e))return;let n={v:e,i:r,n:this.norm.get(e)};this.records.push(n)}_addObject(e,r){let n={i:r,$:{}};this.keys.forEach((i,s)=>{let o=i.getFn?i.getFn(e):this.getFn(e,i.path);if(st(o)){if(Lt(o)){let l=[];const c=[{nestedArrIndex:-1,value:o}];for(;c.length;){const{nestedArrIndex:d,value:g}=c.pop();if(st(g))if(vt(g)&&!Mi(g)){let y={v:g,i:d,n:this.norm.get(g)};l.push(y)}else Lt(g)&&g.forEach((y,w)=>{c.push({nestedArrIndex:w,value:y})})}n.$[s]=l}else if(vt(o)&&!Mi(o)){let l={v:o,n:this.norm.get(o)};n.$[s]=l}}}),this.records.push(n)}toJSON(){return{keys:this.keys,records:this.records}}}function qs(t,e,{getFn:r=J.getFn,fieldNormWeight:n=J.fieldNormWeight}={}){const i=new Ei({getFn:r,fieldNormWeight:n});return i.setKeys(t.map(zs)),i.setSources(e),i.create(),i}function qa(t,{getFn:e=J.getFn,fieldNormWeight:r=J.fieldNormWeight}={}){const{keys:n,records:i}=t,s=new Ei({getFn:e,fieldNormWeight:r});return s.setKeys(n),s.setIndexRecords(i),s}function Rn(t,{errors:e=0,currentLocation:r=0,expectedLocation:n=0,distance:i=J.distance,ignoreLocation:s=J.ignoreLocation}={}){const o=e/t.length;if(s)return o;const l=Math.abs(n-r);return i?o+l/i:l?1:o}function Wa(t=[],e=J.minMatchCharLength){let r=[],n=-1,i=-1,s=0;for(let o=t.length;s<o;s+=1){let l=t[s];l&&n===-1?n=s:!l&&n!==-1&&(i=s-1,i-n+1>=e&&r.push([n,i]),n=-1)}return t[s-1]&&s-n>=e&&r.push([n,s-1]),r}const er=32;function Va(t,e,r,{location:n=J.location,distance:i=J.distance,threshold:s=J.threshold,findAllMatches:o=J.findAllMatches,minMatchCharLength:l=J.minMatchCharLength,includeMatches:c=J.includeMatches,ignoreLocation:d=J.ignoreLocation}={}){if(e.length>er)throw new Error(ja(er));const g=e.length,y=t.length,w=Math.max(0,Math.min(n,y));let b=s,A=w;const k=l>1||c,W=k?Array(y):[];let z;for(;(z=t.indexOf(e,A))>-1;){let ge=Rn(e,{currentLocation:z,expectedLocation:w,distance:i,ignoreLocation:d});if(b=Math.min(ge,b),A=z+g,k){let xe=0;for(;xe<g;)W[z+xe]=1,xe+=1}}A=-1;let ie=[],te=1,pe=g+y;const O=1<<g-1;for(let ge=0;ge<g;ge+=1){let xe=0,Pe=pe;for(;xe<Pe;)Rn(e,{errors:ge,currentLocation:w+Pe,expectedLocation:w,distance:i,ignoreLocation:d})<=b?xe=Pe:pe=Pe,Pe=Math.floor((pe-xe)/2+xe);pe=Pe;let de=Math.max(1,w-Pe+1),Q=o?y:Math.min(w+Pe,y)+g,$e=Array(Q+2);$e[Q+1]=(1<<ge)-1;for(let P=Q;P>=de;P-=1){let C=P-1,S=r[t.charAt(C)];if(k&&(W[C]=+!!S),$e[P]=($e[P+1]<<1|1)&S,ge&&($e[P]|=(ie[P+1]|ie[P])<<1|1|ie[P+1]),$e[P]&O&&(te=Rn(e,{errors:ge,currentLocation:C,expectedLocation:w,distance:i,ignoreLocation:d}),te<=b)){if(b=te,A=C,A<=w)break;de=Math.max(1,2*w-A)}}if(Rn(e,{errors:ge+1,currentLocation:w,expectedLocation:w,distance:i,ignoreLocation:d})>b)break;ie=$e}const oe={isMatch:A>=0,score:Math.max(.001,te)};if(k){const ge=Wa(W,l);ge.length?c&&(oe.indices=ge):oe.isMatch=!1}return oe}function Ka(t){let e={};for(let r=0,n=t.length;r<n;r+=1){const i=t.charAt(r);e[i]=(e[i]||0)|1<<n-r-1}return e}class Ws{constructor(e,{location:r=J.location,threshold:n=J.threshold,distance:i=J.distance,includeMatches:s=J.includeMatches,findAllMatches:o=J.findAllMatches,minMatchCharLength:l=J.minMatchCharLength,isCaseSensitive:c=J.isCaseSensitive,ignoreLocation:d=J.ignoreLocation}={}){if(this.options={location:r,threshold:n,distance:i,includeMatches:s,findAllMatches:o,minMatchCharLength:l,isCaseSensitive:c,ignoreLocation:d},this.pattern=c?e:e.toLowerCase(),this.chunks=[],!this.pattern.length)return;const g=(w,b)=>{this.chunks.push({pattern:w,alphabet:Ka(w),startIndex:b})},y=this.pattern.length;if(y>er){let w=0;const b=y%er,A=y-b;for(;w<A;)g(this.pattern.substr(w,er),w),w+=er;if(b){const k=y-er;g(this.pattern.substr(k),k)}}else g(this.pattern,0)}searchIn(e){const{isCaseSensitive:r,includeMatches:n}=this.options;if(r||(e=e.toLowerCase()),this.pattern===e){let A={isMatch:!0,score:0};return n&&(A.indices=[[0,e.length-1]]),A}const{location:i,distance:s,threshold:o,findAllMatches:l,minMatchCharLength:c,ignoreLocation:d}=this.options;let g=[],y=0,w=!1;this.chunks.forEach(({pattern:A,alphabet:k,startIndex:W})=>{const{isMatch:z,score:ie,indices:te}=Va(e,A,k,{location:i+W,distance:s,threshold:o,findAllMatches:l,minMatchCharLength:c,includeMatches:n,ignoreLocation:d});z&&(w=!0),y+=ie,z&&te&&(g=[...g,...te])});let b={isMatch:w,score:w?y/this.chunks.length:1};return w&&n&&(b.indices=g),b}}class zt{constructor(e){this.pattern=e}static isMultiMatch(e){return Vs(e,this.multiRegex)}static isSingleMatch(e){return Vs(e,this.singleRegex)}search(){}}function Vs(t,e){const r=t.match(e);return r?r[1]:null}class Ga extends zt{constructor(e){super(e)}static get type(){return"exact"}static get multiRegex(){return/^="(.*)"$/}static get singleRegex(){return/^=(.*)$/}search(e){const r=e===this.pattern;return{isMatch:r,score:r?0:1,indices:[0,this.pattern.length-1]}}}class Ya extends zt{constructor(e){super(e)}static get type(){return"inverse-exact"}static get multiRegex(){return/^!"(.*)"$/}static get singleRegex(){return/^!(.*)$/}search(e){const n=e.indexOf(this.pattern)===-1;return{isMatch:n,score:n?0:1,indices:[0,e.length-1]}}}class Fa extends zt{constructor(e){super(e)}static get type(){return"prefix-exact"}static get multiRegex(){return/^\^"(.*)"$/}static get singleRegex(){return/^\^(.*)$/}search(e){const r=e.startsWith(this.pattern);return{isMatch:r,score:r?0:1,indices:[0,this.pattern.length-1]}}}class Za extends zt{constructor(e){super(e)}static get type(){return"inverse-prefix-exact"}static get multiRegex(){return/^!\^"(.*)"$/}static get singleRegex(){return/^!\^(.*)$/}search(e){const r=!e.startsWith(this.pattern);return{isMatch:r,score:r?0:1,indices:[0,e.length-1]}}}class Xa extends zt{constructor(e){super(e)}static get type(){return"suffix-exact"}static get multiRegex(){return/^"(.*)"\$$/}static get singleRegex(){return/^(.*)\$$/}search(e){const r=e.endsWith(this.pattern);return{isMatch:r,score:r?0:1,indices:[e.length-this.pattern.length,e.length-1]}}}class Ja extends zt{constructor(e){super(e)}static get type(){return"inverse-suffix-exact"}static get multiRegex(){return/^!"(.*)"\$$/}static get singleRegex(){return/^!(.*)\$$/}search(e){const r=!e.endsWith(this.pattern);return{isMatch:r,score:r?0:1,indices:[0,e.length-1]}}}class Ks extends zt{constructor(e,{location:r=J.location,threshold:n=J.threshold,distance:i=J.distance,includeMatches:s=J.includeMatches,findAllMatches:o=J.findAllMatches,minMatchCharLength:l=J.minMatchCharLength,isCaseSensitive:c=J.isCaseSensitive,ignoreLocation:d=J.ignoreLocation}={}){super(e),this._bitapSearch=new Ws(e,{location:r,threshold:n,distance:i,includeMatches:s,findAllMatches:o,minMatchCharLength:l,isCaseSensitive:c,ignoreLocation:d})}static get type(){return"fuzzy"}static get multiRegex(){return/^"(.*)"$/}static get singleRegex(){return/^(.*)$/}search(e){return this._bitapSearch.searchIn(e)}}class Gs extends zt{constructor(e){super(e)}static get type(){return"include"}static get multiRegex(){return/^'"(.*)"$/}static get singleRegex(){return/^'(.*)$/}search(e){let r=0,n;const i=[],s=this.pattern.length;for(;(n=e.indexOf(this.pattern,r))>-1;)r=n+s,i.push([n,r-1]);const o=!!i.length;return{isMatch:o,score:o?0:1,indices:i}}}const Ci=[Ga,Gs,Fa,Za,Ja,Xa,Ya,Ks],Ys=Ci.length,Qa=/ +(?=(?:[^\"]*\"[^\"]*\")*[^\"]*$)/,el="|";function tl(t,e={}){return t.split(el).map(r=>{let n=r.trim().split(Qa).filter(s=>s&&!!s.trim()),i=[];for(let s=0,o=n.length;s<o;s+=1){const l=n[s];let c=!1,d=-1;for(;!c&&++d<Ys;){const g=Ci[d];let y=g.isMultiMatch(l);y&&(i.push(new g(y,e)),c=!0)}if(!c)for(d=-1;++d<Ys;){const g=Ci[d];let y=g.isSingleMatch(l);if(y){i.push(new g(y,e));break}}}return i})}const rl=new Set([Ks.type,Gs.type]);class nl{constructor(e,{isCaseSensitive:r=J.isCaseSensitive,includeMatches:n=J.includeMatches,minMatchCharLength:i=J.minMatchCharLength,ignoreLocation:s=J.ignoreLocation,findAllMatches:o=J.findAllMatches,location:l=J.location,threshold:c=J.threshold,distance:d=J.distance}={}){this.query=null,this.options={isCaseSensitive:r,includeMatches:n,minMatchCharLength:i,findAllMatches:o,ignoreLocation:s,location:l,threshold:c,distance:d},this.pattern=r?e:e.toLowerCase(),this.query=tl(this.pattern,this.options)}static condition(e,r){return r.useExtendedSearch}searchIn(e){const r=this.query;if(!r)return{isMatch:!1,score:1};const{includeMatches:n,isCaseSensitive:i}=this.options;e=i?e:e.toLowerCase();let s=0,o=[],l=0;for(let c=0,d=r.length;c<d;c+=1){const g=r[c];o.length=0,s=0;for(let y=0,w=g.length;y<w;y+=1){const b=g[y],{isMatch:A,indices:k,score:W}=b.search(e);if(A){if(s+=1,l+=W,n){const z=b.constructor.type;rl.has(z)?o=[...o,...k]:o.push(k)}}else{l=0,s=0,o.length=0;break}}if(s){let y={isMatch:!0,score:l/s};return n&&(y.indices=o),y}}return{isMatch:!1,score:1}}}const ki=[];function il(...t){ki.push(...t)}function Li(t,e){for(let r=0,n=ki.length;r<n;r+=1){let i=ki[r];if(i.condition(t,e))return new i(t,e)}return new Ws(t,e)}const Dn={AND:"$and",OR:"$or"},Pi={PATH:"$path",PATTERN:"$val"},Ti=t=>!!(t[Dn.AND]||t[Dn.OR]),sl=t=>!!t[Pi.PATH],ol=t=>!Lt(t)&&Hs(t)&&!Ti(t),Fs=t=>({[Dn.AND]:Object.keys(t).map(e=>({[e]:t[e]}))});function Zs(t,e,{auto:r=!0}={}){const n=i=>{let s=Object.keys(i);const o=sl(i);if(!o&&s.length>1&&!Ti(i))return n(Fs(i));if(ol(i)){const c=o?i[Pi.PATH]:s[0],d=o?i[Pi.PATTERN]:i[c];if(!vt(d))throw new Error(Da(c));const g={keyId:Si(c),pattern:d};return r&&(g.searcher=Li(d,e)),g}let l={children:[],operator:s[0]};return s.forEach(c=>{const d=i[c];Lt(d)&&d.forEach(g=>{l.children.push(n(g))})}),l};return Ti(t)||(t=Fs(t)),n(t)}function al(t,{ignoreFieldNorm:e=J.ignoreFieldNorm}){t.forEach(r=>{let n=1;r.matches.forEach(({key:i,norm:s,score:o})=>{const l=i?i.weight:null;n*=Math.pow(o===0&&l?Number.EPSILON:o,(l||1)*(e?1:s))}),r.score=n})}function ll(t,e){const r=t.matches;e.matches=[],st(r)&&r.forEach(n=>{if(!st(n.indices)||!n.indices.length)return;const{indices:i,value:s}=n;let o={indices:i,value:s};n.key&&(o.key=n.key.src),n.idx>-1&&(o.refIndex=n.idx),e.matches.push(o)})}function cl(t,e){e.score=t.score}function ul(t,e,{includeMatches:r=J.includeMatches,includeScore:n=J.includeScore}={}){const i=[];return r&&i.push(ll),n&&i.push(cl),t.map(s=>{const{idx:o}=s,l={item:e[o],refIndex:o};return i.length&&i.forEach(c=>{c(s,l)}),l})}class Ut{constructor(e,r={},n){this.options={...J,...r},this.options.useExtendedSearch,this._keyStore=new Ia(this.options.keys),this.setCollection(e,n)}setCollection(e,r){if(this._docs=e,r&&!(r instanceof Ei))throw new Error(Ra);this._myIndex=r||qs(this.options.keys,this._docs,{getFn:this.options.getFn,fieldNormWeight:this.options.fieldNormWeight})}add(e){st(e)&&(this._docs.push(e),this._myIndex.add(e))}remove(e=()=>!1){const r=[];for(let n=0,i=this._docs.length;n<i;n+=1){const s=this._docs[n];e(s,n)&&(this.removeAt(n),n-=1,i-=1,r.push(s))}return r}removeAt(e){this._docs.splice(e,1),this._myIndex.removeAt(e)}getIndex(){return this._myIndex}search(e,{limit:r=-1}={}){const{includeMatches:n,includeScore:i,shouldSort:s,sortFn:o,ignoreFieldNorm:l}=this.options;let c=vt(e)?vt(this._docs[0])?this._searchStringList(e):this._searchObjectList(e):this._searchLogical(e);return al(c,{ignoreFieldNorm:l}),s&&c.sort(o),Ns(r)&&r>-1&&(c=c.slice(0,r)),ul(c,this._docs,{includeMatches:n,includeScore:i})}_searchStringList(e){const r=Li(e,this.options),{records:n}=this._myIndex,i=[];return n.forEach(({v:s,i:o,n:l})=>{if(!st(s))return;const{isMatch:c,score:d,indices:g}=r.searchIn(s);c&&i.push({item:s,idx:o,matches:[{score:d,value:s,norm:l,indices:g}]})}),i}_searchLogical(e){const r=Zs(e,this.options),n=(l,c,d)=>{if(!l.children){const{keyId:y,searcher:w}=l,b=this._findMatches({key:this._keyStore.get(y),value:this._myIndex.getValueForItemAtKeyId(c,y),searcher:w});return b&&b.length?[{idx:d,item:c,matches:b}]:[]}const g=[];for(let y=0,w=l.children.length;y<w;y+=1){const b=l.children[y],A=n(b,c,d);if(A.length)g.push(...A);else if(l.operator===Dn.AND)return[]}return g},i=this._myIndex.records,s={},o=[];return i.forEach(({$:l,i:c})=>{if(st(l)){let d=n(r,l,c);d.length&&(s[c]||(s[c]={idx:c,item:l,matches:[]},o.push(s[c])),d.forEach(({matches:g})=>{s[c].matches.push(...g)}))}}),o}_searchObjectList(e){const r=Li(e,this.options),{keys:n,records:i}=this._myIndex,s=[];return i.forEach(({$:o,i:l})=>{if(!st(o))return;let c=[];n.forEach((d,g)=>{c.push(...this._findMatches({key:d,value:o[g],searcher:r}))}),c.length&&s.push({idx:l,item:o,matches:c})}),s}_findMatches({key:e,value:r,searcher:n}){if(!st(r))return[];let i=[];if(Lt(r))r.forEach(({v:s,i:o,n:l})=>{if(!st(s))return;const{isMatch:c,score:d,indices:g}=n.searchIn(s);c&&i.push({score:d,key:e,value:s,idx:o,norm:l,indices:g})});else{const{v:s,n:o}=r,{isMatch:l,score:c,indices:d}=n.searchIn(s);l&&i.push({score:c,key:e,value:s,norm:o,indices:d})}return i}}Ut.version="7.0.0",Ut.createIndex=qs,Ut.parseIndex=qa,Ut.config=J,Ut.parseQuery=Zs,il(nl);function Xs(t,e){const r=new Ut(e.filterProperties,{keys:["title"]}),n=t.target.value,s=r.search(n).map(o=>o.item.key||o.item.keys.join("|"));Object.keys(e.filters).forEach(o=>{e.querySelector(`[data-details="${o}"]`).parentElement.style.display=s.includes(o)||!n?"":"none"})}function dl(t,e){const r=t.target.getAttribute("data-close").replace("|","-");e.querySelector(`#filter-${r}`).reset(),e.dispatchEvent(new CustomEvent("filter")),e.requestUpdate()}const Oi=Math.min,$r=Math.max,jn=Math.round,Nn=Math.floor,wt=t=>({x:t,y:t});function Js(t){return t.split("-")[0]}function hl(t){return t.split("-")[1]}function fl(t){return t==="x"?"y":"x"}function pl(t){return t==="y"?"height":"width"}function Qs(t){return["top","bottom"].includes(Js(t))?"y":"x"}function gl(t){return fl(Qs(t))}function eo(t){const{x:e,y:r,width:n,height:i}=t;return{width:n,height:i,top:r,left:e,right:e+n,bottom:r+i,x:e,y:r}}function to(t,e,r){let{reference:n,floating:i}=t;const s=Qs(e),o=gl(e),l=pl(o),c=Js(e),d=s==="y",g=n.x+n.width/2-i.width/2,y=n.y+n.height/2-i.height/2,w=n[l]/2-i[l]/2;let b;switch(c){case"top":b={x:g,y:n.y-i.height};break;case"bottom":b={x:g,y:n.y+n.height};break;case"right":b={x:n.x+n.width,y};break;case"left":b={x:n.x-i.width,y};break;default:b={x:n.x,y:n.y}}switch(hl(e)){case"start":b[o]-=w*(r&&d?-1:1);break;case"end":b[o]+=w*(r&&d?-1:1);break}return b}const yl=async(t,e,r)=>{const{placement:n="bottom",strategy:i="absolute",middleware:s=[],platform:o}=r,l=s.filter(Boolean),c=await(o.isRTL==null?void 0:o.isRTL(e));let d=await o.getElementRects({reference:t,floating:e,strategy:i}),{x:g,y}=to(d,n,c),w=n,b={},A=0;for(let k=0;k<l.length;k++){const{name:W,fn:z}=l[k],{x:ie,y:te,data:pe,reset:O}=await z({x:g,y,initialPlacement:n,placement:w,strategy:i,middlewareData:b,rects:d,platform:o,elements:{reference:t,floating:e}});g=ie??g,y=te??y,b={...b,[W]:{...b[W],...pe}},O&&A<=50&&(A++,typeof O=="object"&&(O.placement&&(w=O.placement),O.rects&&(d=O.rects===!0?await o.getElementRects({reference:t,floating:e,strategy:i}):O.rects),{x:g,y}=to(d,w,c)),k=-1)}return{x:g,y,placement:w,strategy:i,middlewareData:b}};function Hn(){return typeof window<"u"}function _r(t){return ro(t)?(t.nodeName||"").toLowerCase():"#document"}function ot(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function xt(t){var e;return(e=(ro(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function ro(t){return Hn()?t instanceof Node||t instanceof ot(t).Node:!1}function pt(t){return Hn()?t instanceof Element||t instanceof ot(t).Element:!1}function $t(t){return Hn()?t instanceof HTMLElement||t instanceof ot(t).HTMLElement:!1}function no(t){return!Hn()||typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof ot(t).ShadowRoot}function rn(t){const{overflow:e,overflowX:r,overflowY:n,display:i}=gt(t);return/auto|scroll|overlay|hidden|clip/.test(e+n+r)&&!["inline","contents"].includes(i)}function bl(t){return["table","td","th"].includes(_r(t))}function In(t){return[":popover-open",":modal"].some(e=>{try{return t.matches(e)}catch{return!1}})}function Ri(t){const e=Di(),r=pt(t)?gt(t):t;return r.transform!=="none"||r.perspective!=="none"||(r.containerType?r.containerType!=="normal":!1)||!e&&(r.backdropFilter?r.backdropFilter!=="none":!1)||!e&&(r.filter?r.filter!=="none":!1)||["transform","perspective","filter"].some(n=>(r.willChange||"").includes(n))||["paint","layout","strict","content"].some(n=>(r.contain||"").includes(n))}function ml(t){let e=qt(t);for(;$t(e)&&!Ar(e);){if(Ri(e))return e;if(In(e))return null;e=qt(e)}return null}function Di(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function Ar(t){return["html","body","#document"].includes(_r(t))}function gt(t){return ot(t).getComputedStyle(t)}function Bn(t){return pt(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.scrollX,scrollTop:t.scrollY}}function qt(t){if(_r(t)==="html")return t;const e=t.assignedSlot||t.parentNode||no(t)&&t.host||xt(t);return no(e)?e.host:e}function io(t){const e=qt(t);return Ar(e)?t.ownerDocument?t.ownerDocument.body:t.body:$t(e)&&rn(e)?e:io(e)}function nn(t,e,r){var n;e===void 0&&(e=[]),r===void 0&&(r=!0);const i=io(t),s=i===((n=t.ownerDocument)==null?void 0:n.body),o=ot(i);if(s){const l=ji(o);return e.concat(o,o.visualViewport||[],rn(i)?i:[],l&&r?nn(l):[])}return e.concat(i,nn(i,[],r))}function ji(t){return t.parent&&Object.getPrototypeOf(t.parent)?t.frameElement:null}function so(t){const e=gt(t);let r=parseFloat(e.width)||0,n=parseFloat(e.height)||0;const i=$t(t),s=i?t.offsetWidth:r,o=i?t.offsetHeight:n,l=jn(r)!==s||jn(n)!==o;return l&&(r=s,n=o),{width:r,height:n,$:l}}function Ni(t){return pt(t)?t:t.contextElement}function Mr(t){const e=Ni(t);if(!$t(e))return wt(1);const r=e.getBoundingClientRect(),{width:n,height:i,$:s}=so(e);let o=(s?jn(r.width):r.width)/n,l=(s?jn(r.height):r.height)/i;return(!o||!Number.isFinite(o))&&(o=1),(!l||!Number.isFinite(l))&&(l=1),{x:o,y:l}}const vl=wt(0);function oo(t){const e=ot(t);return!Di()||!e.visualViewport?vl:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function wl(t,e,r){return e===void 0&&(e=!1),!r||e&&r!==ot(t)?!1:e}function tr(t,e,r,n){e===void 0&&(e=!1),r===void 0&&(r=!1);const i=t.getBoundingClientRect(),s=Ni(t);let o=wt(1);e&&(n?pt(n)&&(o=Mr(n)):o=Mr(t));const l=wl(s,r,n)?oo(s):wt(0);let c=(i.left+l.x)/o.x,d=(i.top+l.y)/o.y,g=i.width/o.x,y=i.height/o.y;if(s){const w=ot(s),b=n&&pt(n)?ot(n):n;let A=w,k=ji(A);for(;k&&n&&b!==A;){const W=Mr(k),z=k.getBoundingClientRect(),ie=gt(k),te=z.left+(k.clientLeft+parseFloat(ie.paddingLeft))*W.x,pe=z.top+(k.clientTop+parseFloat(ie.paddingTop))*W.y;c*=W.x,d*=W.y,g*=W.x,y*=W.y,c+=te,d+=pe,A=ot(k),k=ji(A)}}return eo({width:g,height:y,x:c,y:d})}function Hi(t,e){const r=Bn(t).scrollLeft;return e?e.left+r:tr(xt(t)).left+r}function ao(t,e,r){r===void 0&&(r=!1);const n=t.getBoundingClientRect(),i=n.left+e.scrollLeft-(r?0:Hi(t,n)),s=n.top+e.scrollTop;return{x:i,y:s}}function xl(t){let{elements:e,rect:r,offsetParent:n,strategy:i}=t;const s=i==="fixed",o=xt(n),l=e?In(e.floating):!1;if(n===o||l&&s)return r;let c={scrollLeft:0,scrollTop:0},d=wt(1);const g=wt(0),y=$t(n);if((y||!y&&!s)&&((_r(n)!=="body"||rn(o))&&(c=Bn(n)),$t(n))){const b=tr(n);d=Mr(n),g.x=b.x+n.clientLeft,g.y=b.y+n.clientTop}const w=o&&!y&&!s?ao(o,c,!0):wt(0);return{width:r.width*d.x,height:r.height*d.y,x:r.x*d.x-c.scrollLeft*d.x+g.x+w.x,y:r.y*d.y-c.scrollTop*d.y+g.y+w.y}}function $l(t){return Array.from(t.getClientRects())}function _l(t){const e=xt(t),r=Bn(t),n=t.ownerDocument.body,i=$r(e.scrollWidth,e.clientWidth,n.scrollWidth,n.clientWidth),s=$r(e.scrollHeight,e.clientHeight,n.scrollHeight,n.clientHeight);let o=-r.scrollLeft+Hi(t);const l=-r.scrollTop;return gt(n).direction==="rtl"&&(o+=$r(e.clientWidth,n.clientWidth)-i),{width:i,height:s,x:o,y:l}}function Al(t,e){const r=ot(t),n=xt(t),i=r.visualViewport;let s=n.clientWidth,o=n.clientHeight,l=0,c=0;if(i){s=i.width,o=i.height;const d=Di();(!d||d&&e==="fixed")&&(l=i.offsetLeft,c=i.offsetTop)}return{width:s,height:o,x:l,y:c}}function Ml(t,e){const r=tr(t,!0,e==="fixed"),n=r.top+t.clientTop,i=r.left+t.clientLeft,s=$t(t)?Mr(t):wt(1),o=t.clientWidth*s.x,l=t.clientHeight*s.y,c=i*s.x,d=n*s.y;return{width:o,height:l,x:c,y:d}}function lo(t,e,r){let n;if(e==="viewport")n=Al(t,r);else if(e==="document")n=_l(xt(t));else if(pt(e))n=Ml(e,r);else{const i=oo(t);n={x:e.x-i.x,y:e.y-i.y,width:e.width,height:e.height}}return eo(n)}function co(t,e){const r=qt(t);return r===e||!pt(r)||Ar(r)?!1:gt(r).position==="fixed"||co(r,e)}function Sl(t,e){const r=e.get(t);if(r)return r;let n=nn(t,[],!1).filter(l=>pt(l)&&_r(l)!=="body"),i=null;const s=gt(t).position==="fixed";let o=s?qt(t):t;for(;pt(o)&&!Ar(o);){const l=gt(o),c=Ri(o);!c&&l.position==="fixed"&&(i=null),(s?!c&&!i:!c&&l.position==="static"&&!!i&&["absolute","fixed"].includes(i.position)||rn(o)&&!c&&co(t,o))?n=n.filter(g=>g!==o):i=l,o=qt(o)}return e.set(t,n),n}function El(t){let{element:e,boundary:r,rootBoundary:n,strategy:i}=t;const o=[...r==="clippingAncestors"?In(e)?[]:Sl(e,this._c):[].concat(r),n],l=o[0],c=o.reduce((d,g)=>{const y=lo(e,g,i);return d.top=$r(y.top,d.top),d.right=Oi(y.right,d.right),d.bottom=Oi(y.bottom,d.bottom),d.left=$r(y.left,d.left),d},lo(e,l,i));return{width:c.right-c.left,height:c.bottom-c.top,x:c.left,y:c.top}}function Cl(t){const{width:e,height:r}=so(t);return{width:e,height:r}}function kl(t,e,r){const n=$t(e),i=xt(e),s=r==="fixed",o=tr(t,!0,s,e);let l={scrollLeft:0,scrollTop:0};const c=wt(0);if(n||!n&&!s)if((_r(e)!=="body"||rn(i))&&(l=Bn(e)),n){const w=tr(e,!0,s,e);c.x=w.x+e.clientLeft,c.y=w.y+e.clientTop}else i&&(c.x=Hi(i));const d=i&&!n&&!s?ao(i,l):wt(0),g=o.left+l.scrollLeft-c.x-d.x,y=o.top+l.scrollTop-c.y-d.y;return{x:g,y,width:o.width,height:o.height}}function Ii(t){return gt(t).position==="static"}function uo(t,e){if(!$t(t)||gt(t).position==="fixed")return null;if(e)return e(t);let r=t.offsetParent;return xt(t)===r&&(r=r.ownerDocument.body),r}function ho(t,e){const r=ot(t);if(In(t))return r;if(!$t(t)){let i=qt(t);for(;i&&!Ar(i);){if(pt(i)&&!Ii(i))return i;i=qt(i)}return r}let n=uo(t,e);for(;n&&bl(n)&&Ii(n);)n=uo(n,e);return n&&Ar(n)&&Ii(n)&&!Ri(n)?r:n||ml(t)||r}const Ll=async function(t){const e=this.getOffsetParent||ho,r=this.getDimensions,n=await r(t.floating);return{reference:kl(t.reference,await e(t.floating),t.strategy),floating:{x:0,y:0,width:n.width,height:n.height}}};function Pl(t){return gt(t).direction==="rtl"}const Tl={convertOffsetParentRelativeRectToViewportRelativeRect:xl,getDocumentElement:xt,getClippingRect:El,getOffsetParent:ho,getElementRects:Ll,getClientRects:$l,getDimensions:Cl,getScale:Mr,isElement:pt,isRTL:Pl};function Ol(t,e){let r=null,n;const i=xt(t);function s(){var l;clearTimeout(n),(l=r)==null||l.disconnect(),r=null}function o(l,c){l===void 0&&(l=!1),c===void 0&&(c=1),s();const{left:d,top:g,width:y,height:w}=t.getBoundingClientRect();if(l||e(),!y||!w)return;const b=Nn(g),A=Nn(i.clientWidth-(d+y)),k=Nn(i.clientHeight-(g+w)),W=Nn(d),ie={rootMargin:-b+"px "+-A+"px "+-k+"px "+-W+"px",threshold:$r(0,Oi(1,c))||1};let te=!0;function pe(O){const oe=O[0].intersectionRatio;if(oe!==c){if(!te)return o();oe?o(!1,oe):n=setTimeout(()=>{o(!1,1e-7)},1e3)}te=!1}try{r=new IntersectionObserver(pe,{...ie,root:i.ownerDocument})}catch{r=new IntersectionObserver(pe,ie)}r.observe(t)}return o(!0),s}function Rl(t,e,r,n){n===void 0&&(n={});const{ancestorScroll:i=!0,ancestorResize:s=!0,elementResize:o=typeof ResizeObserver=="function",layoutShift:l=typeof IntersectionObserver=="function",animationFrame:c=!1}=n,d=Ni(t),g=i||s?[...d?nn(d):[],...nn(e)]:[];g.forEach(z=>{i&&z.addEventListener("scroll",r,{passive:!0}),s&&z.addEventListener("resize",r)});const y=d&&l?Ol(d,r):null;let w=-1,b=null;o&&(b=new ResizeObserver(z=>{let[ie]=z;ie&&ie.target===d&&b&&(b.unobserve(e),cancelAnimationFrame(w),w=requestAnimationFrame(()=>{var te;(te=b)==null||te.observe(e)})),r()}),d&&!c&&b.observe(d),b.observe(e));let A,k=c?tr(t):null;c&&W();function W(){const z=tr(t);k&&(z.x!==k.x||z.y!==k.y||z.width!==k.width||z.height!==k.height)&&r(),k=z,A=requestAnimationFrame(W)}return r(),()=>{var z;g.forEach(ie=>{i&&ie.removeEventListener("scroll",r),s&&ie.removeEventListener("resize",r)}),y==null||y(),(z=b)==null||z.disconnect(),b=null,c&&cancelAnimationFrame(A)}}const Dl=(t,e,r)=>{const n=new Map,i={platform:Tl,...r},s={...i.platform,_c:n};return yl(t,e,{...i,platform:s})};function jl(t){const e=t.renderRoot.querySelector(".inline-container-wrapper"),r=t.renderRoot.querySelector("[popover]");return Rl(e,r,()=>{r.matches(":popover-open")&&Dl(e,r,{strategy:"fixed"}).then(({x:i,y:s})=>{Object.assign(r.style,{left:`${i}px`,top:`${s}px`,width:`${e.getBoundingClientRect().width}px`})})},{animationFrame:!0})}function fo(t){t.renderRoot.querySelector("#eox-itemfilter-input-search").value="",Xs({target:{value:""}},t)}function Nl(t,e){e.inlineMode&&t.stopPropagation()}function Hl(t){t.inlineMode&&(t.showDropdown=!0)}function Il(t,e){e.inlineMode&&(t.stopPropagation(),e.showDropdown=!0)}function Bl(t,e){e.inlineMode&&t.key==="Escape"&&e.showDropdown&&(fo(e),e.showDropdown=!1)}function zl(t,e){e.inlineMode&&t.target.tagName!=="DROPDOWN-FORM"&&t.target.tagName!=="EOX-ITEMFILTER"&&e.showDropdown&&(fo(e),e.showDropdown=!1)}function Ul(t,e){var r=0,n=0,i=0,s=0,o=0,l=0,c=0,d=0,g=null,y=null,w=t[0],b=t[1],A=e.length;for(r;r<A;r++){n=0;var k=e[r].length-1,W=e[r];if(g=W[0],g[0]!==W[k][0]&&g[1]!==W[k][1])throw new Error("First and last coordinates in a ring must be the same");for(o=g[0]-w,l=g[1]-b,n;n<k;n++){if(y=W[n+1],d=y[1]-b,l<0&&d<0||l>0&&d>0){g=y,l=d,o=g[0]-w;continue}if(c=y[0]-t[0],d>0&&l<=0){if(s=o*d-c*l,s>0)i=i+1;else if(s===0)return 0}else if(l>0&&d<=0){if(s=o*d-c*l,s<0)i=i+1;else if(s===0)return 0}else if(d===0&&l<0){if(s=o*d-c*l,s===0)return 0}else if(l===0&&d<0){if(s=o*d-c*l,s===0)return 0}else if(l===0&&d===0){if(c<=0&&o>=0)return 0;if(o<=0&&c>=0)return 0}g=y,l=d,o=c}}return i%2!==0}function rr(t,e,r={}){const n={type:"Feature"};return(r.id===0||r.id)&&(n.id=r.id),r.bbox&&(n.bbox=r.bbox),n.properties=e||{},n.geometry=t,n}function ql(t,e,r={}){if(!t)throw new Error("coordinates is required");if(!Array.isArray(t))throw new Error("coordinates must be an Array");if(t.length<2)throw new Error("coordinates must be at least 2 numbers long");if(!po(t[0])||!po(t[1]))throw new Error("coordinates must contain numbers");return rr({type:"Point",coordinates:t},e,r)}function Wl(t,e,r={}){if(t.length<2)throw new Error("coordinates must be an array of two or more positions");return rr({type:"LineString",coordinates:t},e,r)}function Bi(t,e={}){const r={type:"FeatureCollection"};return e.id&&(r.id=e.id),e.bbox&&(r.bbox=e.bbox),r.features=t,r}function Vl(t,e,r={}){return rr({type:"MultiLineString",coordinates:t},e,r)}function po(t){return!isNaN(t)&&t!==null&&!Array.isArray(t)}function go(t){if(!t)throw new Error("coord is required");if(!Array.isArray(t)){if(t.type==="Feature"&&t.geometry!==null&&t.geometry.type==="Point")return[...t.geometry.coordinates];if(t.type==="Point")return[...t.coordinates]}if(Array.isArray(t)&&t.length>=2&&!Array.isArray(t[0])&&!Array.isArray(t[1]))return[...t];throw new Error("coord must be GeoJSON Point or an Array of numbers")}function Kl(t){if(Array.isArray(t))return t;if(t.type==="Feature"){if(t.geometry!==null)return t.geometry.coordinates}else if(t.coordinates)return t.coordinates;throw new Error("coords must be GeoJSON Feature, Geometry Object or an Array")}function Sr(t){return t.type==="Feature"?t.geometry:t}function ct(t,e,r={}){if(!t)throw new Error("point is required");if(!e)throw new Error("polygon is required");const n=go(t),i=Sr(e),s=i.type,o=e.bbox;let l=i.coordinates;if(o&&Gl(n,o)===!1)return!1;s==="Polygon"&&(l=[l]);let c=!1;for(var d=0;d<l.length;++d){const g=Ul(n,l[d]);if(g===0)return!r.ignoreBoundary;g&&(c=!0)}return c}function Gl(t,e){return e[0]<=t[0]&&e[1]<=t[1]&&e[2]>=t[0]&&e[3]>=t[1]}class yo{constructor(e=[],r=Yl){if(this.data=e,this.length=this.data.length,this.compare=r,this.length>0)for(let n=(this.length>>1)-1;n>=0;n--)this._down(n)}push(e){this.data.push(e),this.length++,this._up(this.length-1)}pop(){if(this.length===0)return;const e=this.data[0],r=this.data.pop();return this.length--,this.length>0&&(this.data[0]=r,this._down(0)),e}peek(){return this.data[0]}_up(e){const{data:r,compare:n}=this,i=r[e];for(;e>0;){const s=e-1>>1,o=r[s];if(n(i,o)>=0)break;r[e]=o,e=s}r[e]=i}_down(e){const{data:r,compare:n}=this,i=this.length>>1,s=r[e];for(;e<i;){let o=(e<<1)+1,l=r[o];const c=o+1;if(c<this.length&&n(r[c],l)<0&&(o=c,l=r[c]),n(l,s)>=0)break;r[e]=l,e=o}r[e]=s}}function Yl(t,e){return t<e?-1:t>e?1:0}function bo(t,e){return t.p.x>e.p.x?1:t.p.x<e.p.x?-1:t.p.y!==e.p.y?t.p.y>e.p.y?1:-1:1}function Fl(t,e){return t.rightSweepEvent.p.x>e.rightSweepEvent.p.x?1:t.rightSweepEvent.p.x<e.rightSweepEvent.p.x?-1:t.rightSweepEvent.p.y!==e.rightSweepEvent.p.y?t.rightSweepEvent.p.y<e.rightSweepEvent.p.y?1:-1:1}class mo{constructor(e,r,n,i){this.p={x:e[0],y:e[1]},this.featureId=r,this.ringId=n,this.eventId=i,this.otherEvent=null,this.isLeftEndpoint=null}isSamePoint(e){return this.p.x===e.p.x&&this.p.y===e.p.y}}function Zl(t,e){if(t.type==="FeatureCollection"){const r=t.features;for(let n=0;n<r.length;n++)vo(r[n],e)}else vo(t,e)}let zn=0,Un=0,qn=0;function vo(t,e){const r=t.type==="Feature"?t.geometry:t;let n=r.coordinates;(r.type==="Polygon"||r.type==="MultiLineString")&&(n=[n]),r.type==="LineString"&&(n=[[n]]);for(let i=0;i<n.length;i++)for(let s=0;s<n[i].length;s++){let o=n[i][s][0],l=null;Un=Un+1;for(let c=0;c<n[i][s].length-1;c++){l=n[i][s][c+1];const d=new mo(o,zn,Un,qn),g=new mo(l,zn,Un,qn+1);d.otherEvent=g,g.otherEvent=d,bo(d,g)>0?(g.isLeftEndpoint=!0,d.isLeftEndpoint=!1):(d.isLeftEndpoint=!0,g.isLeftEndpoint=!1),e.push(d),e.push(g),o=l,qn=qn+1}}zn=zn+1}class Xl{constructor(e){this.leftSweepEvent=e,this.rightSweepEvent=e.otherEvent}}function Jl(t,e){if(t===null||e===null||t.leftSweepEvent.ringId===e.leftSweepEvent.ringId&&(t.rightSweepEvent.isSamePoint(e.leftSweepEvent)||t.rightSweepEvent.isSamePoint(e.leftSweepEvent)||t.rightSweepEvent.isSamePoint(e.rightSweepEvent)||t.leftSweepEvent.isSamePoint(e.leftSweepEvent)||t.leftSweepEvent.isSamePoint(e.rightSweepEvent)))return!1;const r=t.leftSweepEvent.p.x,n=t.leftSweepEvent.p.y,i=t.rightSweepEvent.p.x,s=t.rightSweepEvent.p.y,o=e.leftSweepEvent.p.x,l=e.leftSweepEvent.p.y,c=e.rightSweepEvent.p.x,d=e.rightSweepEvent.p.y,g=(d-l)*(i-r)-(c-o)*(s-n),y=(c-o)*(n-l)-(d-l)*(r-o),w=(i-r)*(n-l)-(s-n)*(r-o);if(g===0)return!1;const b=y/g,A=w/g;if(b>=0&&b<=1&&A>=0&&A<=1){const k=r+b*(i-r),W=n+b*(s-n);return[k,W]}return!1}function Ql(t,e){e=e||!1;const r=[],n=new yo([],Fl);for(;t.length;){const i=t.pop();if(i.isLeftEndpoint){const s=new Xl(i);for(let o=0;o<n.data.length;o++){const l=n.data[o];if(e&&l.leftSweepEvent.featureId===i.featureId)continue;const c=Jl(s,l);c!==!1&&r.push(c)}n.push(s)}else i.isLeftEndpoint===!1&&n.pop()}return r}function ec(t,e){const r=new yo([],bo);return Zl(t,r),Ql(r,e)}var tc=ec;function zi(t,e,r={}){const{removeDuplicates:n=!0,ignoreSelfIntersections:i=!0}=r;let s=[];t.type==="FeatureCollection"?s=s.concat(t.features):t.type==="Feature"?s.push(t):(t.type==="LineString"||t.type==="Polygon"||t.type==="MultiLineString"||t.type==="MultiPolygon")&&s.push(rr(t)),e.type==="FeatureCollection"?s=s.concat(e.features):e.type==="Feature"?s.push(e):(e.type==="LineString"||e.type==="Polygon"||e.type==="MultiLineString"||e.type==="MultiPolygon")&&s.push(rr(e));const o=tc(Bi(s),i);let l=[];if(n){const c={};o.forEach(d=>{const g=d.join(",");c[g]||(c[g]=!0,l.push(d))})}else l=o;return Bi(l.map(c=>ql(c)))}function wo(t,e,r){if(t!==null)for(var n,i,s,o,l,c,d,g=0,y=0,w,b=t.type,A=b==="FeatureCollection",k=b==="Feature",W=A?t.features.length:1,z=0;z<W;z++){d=A?t.features[z].geometry:k?t.geometry:t,w=d?d.type==="GeometryCollection":!1,l=w?d.geometries.length:1;for(var ie=0;ie<l;ie++){var te=0,pe=0;if(o=w?d.geometries[ie]:d,o!==null){c=o.coordinates;var O=o.type;switch(g=0,O){case null:break;case"Point":if(e(c,y,z,te,pe)===!1)return!1;y++,te++;break;case"LineString":case"MultiPoint":for(n=0;n<c.length;n++){if(e(c[n],y,z,te,pe)===!1)return!1;y++,O==="MultiPoint"&&te++}O==="LineString"&&te++;break;case"Polygon":case"MultiLineString":for(n=0;n<c.length;n++){for(i=0;i<c[n].length-g;i++){if(e(c[n][i],y,z,te,pe)===!1)return!1;y++}O==="MultiLineString"&&te++,O==="Polygon"&&pe++}O==="Polygon"&&te++;break;case"MultiPolygon":for(n=0;n<c.length;n++){for(pe=0,i=0;i<c[n].length;i++){for(s=0;s<c[n][i].length-g;s++){if(e(c[n][i][s],y,z,te,pe)===!1)return!1;y++}pe++}te++}break;case"GeometryCollection":for(n=0;n<o.geometries.length;n++)if(wo(o.geometries[n],e)===!1)return!1;break;default:throw new Error("Unknown Geometry Type")}}}}}function rc(t,e){var r,n,i,s,o,l,c,d,g,y,w=0,b=t.type==="FeatureCollection",A=t.type==="Feature",k=b?t.features.length:1;for(r=0;r<k;r++){for(l=b?t.features[r].geometry:A?t.geometry:t,d=b?t.features[r].properties:A?t.properties:{},g=b?t.features[r].bbox:A?t.bbox:void 0,y=b?t.features[r].id:A?t.id:void 0,c=l?l.type==="GeometryCollection":!1,o=c?l.geometries.length:1,i=0;i<o;i++){if(s=c?l.geometries[i]:l,s===null){if(e(null,w,d,g,y)===!1)return!1;continue}switch(s.type){case"Point":case"LineString":case"MultiPoint":case"Polygon":case"MultiLineString":case"MultiPolygon":{if(e(s,w,d,g,y)===!1)return!1;break}case"GeometryCollection":{for(n=0;n<s.geometries.length;n++)if(e(s.geometries[n],w,d,g,y)===!1)return!1;break}default:throw new Error("Unknown Geometry Type")}}w++}}function Wn(t,e){rc(t,function(r,n,i,s,o){var l=r===null?null:r.type;switch(l){case null:case"Point":case"LineString":case"Polygon":return e(rr(r,i,{bbox:s,id:o}),n,0)===!1?!1:void 0}var c;switch(l){case"MultiPoint":c="Point";break;case"MultiLineString":c="LineString";break;case"MultiPolygon":c="Polygon";break}for(var d=0;d<r.coordinates.length;d++){var g=r.coordinates[d],y={type:c,coordinates:g};if(e(rr(y,i),n,d)===!1)return!1}})}function Ui(t,e={}){const r=Sr(t);switch(!e.properties&&t.type==="Feature"&&(e.properties=t.properties),r.type){case"Polygon":return nc(r,e);case"MultiPolygon":return ic(r,e);default:throw new Error("invalid poly")}}function nc(t,e={}){const n=Sr(t).coordinates,i=e.properties?e.properties:t.type==="Feature"?t.properties:{};return xo(n,i)}function ic(t,e={}){const n=Sr(t).coordinates,i=e.properties?e.properties:t.type==="Feature"?t.properties:{},s=[];return n.forEach(o=>{s.push(xo(o,i))}),Bi(s)}function xo(t,e){return t.length>1?Vl(t,e):Wl(t[0],e)}function sc(t,e,{ignoreSelfIntersections:r=!0}={ignoreSelfIntersections:!0}){let n=!0;return Wn(t,i=>{Wn(e,s=>{if(n===!1)return!1;n=oc(i.geometry,s.geometry,r)})}),n}function oc(t,e,r){switch(t.type){case"Point":switch(e.type){case"Point":return!uc(t.coordinates,e.coordinates);case"LineString":return!$o(e,t);case"Polygon":return!ct(t,e)}break;case"LineString":switch(e.type){case"Point":return!$o(t,e);case"LineString":return!ac(t,e,r);case"Polygon":return!_o(e,t,r)}break;case"Polygon":switch(e.type){case"Point":return!ct(e,t);case"LineString":return!_o(t,e,r);case"Polygon":return!lc(e,t,r)}}return!1}function $o(t,e){for(let r=0;r<t.coordinates.length-1;r++)if(cc(t.coordinates[r],t.coordinates[r+1],e.coordinates))return!0;return!1}function ac(t,e,r){return zi(t,e,{ignoreSelfIntersections:r}).features.length>0}function _o(t,e,r){for(const i of e.coordinates)if(ct(i,t))return!0;return zi(e,Ui(t),{ignoreSelfIntersections:r}).features.length>0}function lc(t,e,r){for(const i of t.coordinates[0])if(ct(i,e))return!0;for(const i of e.coordinates[0])if(ct(i,t))return!0;return zi(Ui(t),Ui(e),{ignoreSelfIntersections:r}).features.length>0}function cc(t,e,r){const n=r[0]-t[0],i=r[1]-t[1],s=e[0]-t[0],o=e[1]-t[1];return n*o-i*s!==0?!1:Math.abs(s)>=Math.abs(o)?s>0?t[0]<=r[0]&&r[0]<=e[0]:e[0]<=r[0]&&r[0]<=t[0]:o>0?t[1]<=r[1]&&r[1]<=e[1]:e[1]<=r[1]&&r[1]<=t[1]}function uc(t,e){return t[0]===e[0]&&t[1]===e[1]}function dc(t,e,{ignoreSelfIntersections:r=!0}={}){let n=!1;return Wn(t,i=>{Wn(e,s=>{if(n===!0)return!0;n=!sc(i.geometry,s.geometry,{ignoreSelfIntersections:r})})}),n}var hc=dc;function Vn(t,e={}){if(t.bbox!=null&&e.recompute!==!0)return t.bbox;const r=[1/0,1/0,-1/0,-1/0];return wo(t,n=>{r[0]>n[0]&&(r[0]=n[0]),r[1]>n[1]&&(r[1]=n[1]),r[2]<n[0]&&(r[2]=n[0]),r[3]<n[1]&&(r[3]=n[1])}),r}function Kn(t,e,r={}){const n=go(t),i=Kl(e);for(let s=0;s<i.length-1;s++){let o=!1;if(r.ignoreEndVertices&&(s===0&&(o="start"),s===i.length-2&&(o="end"),s===0&&s+1===i.length-1&&(o="both")),fc(i[s],i[s+1],n,o,typeof r.epsilon>"u"?null:r.epsilon))return!0}return!1}function fc(t,e,r,n,i){const s=r[0],o=r[1],l=t[0],c=t[1],d=e[0],g=e[1],y=r[0]-l,w=r[1]-c,b=d-l,A=g-c,k=y*A-w*b;if(i!==null){if(Math.abs(k)>i)return!1}else if(k!==0)return!1;if(Math.abs(b)===Math.abs(A)&&Math.abs(b)===0)return n?!1:r[0]===t[0]&&r[1]===t[1];if(n){if(n==="start")return Math.abs(b)>=Math.abs(A)?b>0?l<s&&s<=d:d<=s&&s<l:A>0?c<o&&o<=g:g<=o&&o<c;if(n==="end")return Math.abs(b)>=Math.abs(A)?b>0?l<=s&&s<d:d<s&&s<=l:A>0?c<=o&&o<g:g<o&&o<=c;if(n==="both")return Math.abs(b)>=Math.abs(A)?b>0?l<s&&s<d:d<s&&s<l:A>0?c<o&&o<g:g<o&&o<c}else return Math.abs(b)>=Math.abs(A)?b>0?l<=s&&s<=d:d<=s&&s<=l:A>0?c<=o&&o<=g:g<=o&&o<=c;return!1}function pc(t,e){var r=Sr(t),n=Sr(e),i=r.type,s=n.type;switch(i){case"Point":switch(s){case"MultiPoint":return gc(r,n);case"LineString":return Kn(r,n,{ignoreEndVertices:!0});case"Polygon":case"MultiPolygon":return ct(r,n,{ignoreBoundary:!0});default:throw new Error("feature2 "+s+" geometry not supported")}case"MultiPoint":switch(s){case"MultiPoint":return yc(r,n);case"LineString":return bc(r,n);case"Polygon":case"MultiPolygon":return mc(r,n);default:throw new Error("feature2 "+s+" geometry not supported")}case"LineString":switch(s){case"LineString":return vc(r,n);case"Polygon":case"MultiPolygon":return wc(r,n);default:throw new Error("feature2 "+s+" geometry not supported")}case"Polygon":switch(s){case"Polygon":case"MultiPolygon":return xc(r,n);default:throw new Error("feature2 "+s+" geometry not supported")}default:throw new Error("feature1 "+i+" geometry not supported")}}function gc(t,e){var r,n=!1;for(r=0;r<e.coordinates.length;r++)if(Mo(e.coordinates[r],t.coordinates)){n=!0;break}return n}function yc(t,e){for(var r=0;r<t.coordinates.length;r++){for(var n=!1,i=0;i<e.coordinates.length;i++)Mo(t.coordinates[r],e.coordinates[i])&&(n=!0);if(!n)return!1}return!0}function bc(t,e){for(var r=!1,n=0;n<t.coordinates.length;n++){if(!Kn(t.coordinates[n],e))return!1;r||(r=Kn(t.coordinates[n],e,{ignoreEndVertices:!0}))}return r}function mc(t,e){for(var r=!0,n=!1,i=0;i<t.coordinates.length;i++){if(n=ct(t.coordinates[i],e),!n){r=!1;break}n=ct(t.coordinates[i],e,{ignoreBoundary:!0})}return r&&n}function vc(t,e){for(var r=0;r<t.coordinates.length;r++)if(!Kn(t.coordinates[r],e))return!1;return!0}function wc(t,e){var r=Vn(e),n=Vn(t);if(!Ao(r,n))return!1;for(var i=!1,s=0;s<t.coordinates.length;s++){if(!ct(t.coordinates[s],e))return!1;if(i||(i=ct(t.coordinates[s],e,{ignoreBoundary:!0})),!i&&s<t.coordinates.length-1){var o=$c(t.coordinates[s],t.coordinates[s+1]);i=ct(o,e,{ignoreBoundary:!0})}}return i}function xc(t,e){var r=Vn(t),n=Vn(e);if(!Ao(n,r))return!1;for(var i=0;i<t.coordinates[0].length;i++)if(!ct(t.coordinates[0][i],e))return!1;return!0}function Ao(t,e){return!(t[0]>e[0]||t[2]<e[2]||t[1]>e[1]||t[3]<e[3])}function Mo(t,e){return t[0]===e[0]&&t[1]===e[1]}function $c(t,e){return[(t[0]+e[0])/2,(t[1]+e[1])/2]}var _c=pc;const Ac=(t,e)=>e?hc(t,e):!0,Mc=(t,e)=>e?_c(t,e):!0;function Sc(t,e="highlight",r="title"){const n=(s,o,l)=>{const c=o.split(".");let d;for(d=0;d<c.length-1;d++)s=s[c[d]];s[c[d]]=l},i=(s,o=[])=>{let l="",c=0;return o.forEach(d=>{const g=d[1]+1;l+=[s.substring(c,d[0]),`<mark class="${e}">`,s.substring(d[0],g),"</mark>"].join(""),c=g}),l+=s.substring(c),l};return t.filter(({matches:s})=>s&&s.length).map(({item:s,matches:o})=>{const l={...s};return o.forEach(c=>{c.key===r&&n(l,c.key,i(c.value,c.indices))}),l})}var ut=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Gn(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var Yn={exports:{}},Ec=Yn.exports,So;function Cc(){return So||(So=1,function(t,e){(function(r,n){t.exports=n()})(Ec,function(){var r=1e3,n=6e4,i=36e5,s="millisecond",o="second",l="minute",c="hour",d="day",g="week",y="month",w="quarter",b="year",A="date",k="Invalid Date",W=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,z=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,ie={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(P){var C=["th","st","nd","rd"],S=P%100;return"["+P+(C[(S-20)%10]||C[S]||C[0])+"]"}},te=function(P,C,S){var H=String(P);return!H||H.length>=C?P:""+Array(C+1-H.length).join(S)+P},pe={s:te,z:function(P){var C=-P.utcOffset(),S=Math.abs(C),H=Math.floor(S/60),L=S%60;return(C<=0?"+":"-")+te(H,2,"0")+":"+te(L,2,"0")},m:function P(C,S){if(C.date()<S.date())return-P(S,C);var H=12*(S.year()-C.year())+(S.month()-C.month()),L=C.clone().add(H,y),V=S-L<0,K=C.clone().add(H+(V?-1:1),y);return+(-(H+(S-L)/(V?L-K:K-L))||0)},a:function(P){return P<0?Math.ceil(P)||0:Math.floor(P)},p:function(P){return{M:y,y:b,w:g,d,D:A,h:c,m:l,s:o,ms:s,Q:w}[P]||String(P||"").toLowerCase().replace(/s$/,"")},u:function(P){return P===void 0}},O="en",oe={};oe[O]=ie;var ge="$isDayjsObject",xe=function(P){return P instanceof $e||!(!P||!P[ge])},Pe=function P(C,S,H){var L;if(!C)return O;if(typeof C=="string"){var V=C.toLowerCase();oe[V]&&(L=V),S&&(oe[V]=S,L=V);var K=C.split("-");if(!L&&K.length>1)return P(K[0])}else{var se=C.name;oe[se]=C,L=se}return!H&&L&&(O=L),L||!H&&O},de=function(P,C){if(xe(P))return P.clone();var S=typeof C=="object"?C:{};return S.date=P,S.args=arguments,new $e(S)},Q=pe;Q.l=Pe,Q.i=xe,Q.w=function(P,C){return de(P,{locale:C.$L,utc:C.$u,x:C.$x,$offset:C.$offset})};var $e=function(){function P(S){this.$L=Pe(S.locale,null,!0),this.parse(S),this.$x=this.$x||S.x||{},this[ge]=!0}var C=P.prototype;return C.parse=function(S){this.$d=function(H){var L=H.date,V=H.utc;if(L===null)return new Date(NaN);if(Q.u(L))return new Date;if(L instanceof Date)return new Date(L);if(typeof L=="string"&&!/Z$/i.test(L)){var K=L.match(W);if(K){var se=K[2]-1||0,be=(K[7]||"0").substring(0,3);return V?new Date(Date.UTC(K[1],se,K[3]||1,K[4]||0,K[5]||0,K[6]||0,be)):new Date(K[1],se,K[3]||1,K[4]||0,K[5]||0,K[6]||0,be)}}return new Date(L)}(S),this.init()},C.init=function(){var S=this.$d;this.$y=S.getFullYear(),this.$M=S.getMonth(),this.$D=S.getDate(),this.$W=S.getDay(),this.$H=S.getHours(),this.$m=S.getMinutes(),this.$s=S.getSeconds(),this.$ms=S.getMilliseconds()},C.$utils=function(){return Q},C.isValid=function(){return this.$d.toString()!==k},C.isSame=function(S,H){var L=de(S);return this.startOf(H)<=L&&L<=this.endOf(H)},C.isAfter=function(S,H){return de(S)<this.startOf(H)},C.isBefore=function(S,H){return this.endOf(H)<de(S)},C.$g=function(S,H,L){return Q.u(S)?this[H]:this.set(L,S)},C.unix=function(){return Math.floor(this.valueOf()/1e3)},C.valueOf=function(){return this.$d.getTime()},C.startOf=function(S,H){var L=this,V=!!Q.u(H)||H,K=Q.p(S),se=function(Me,ne){var Ne=Q.w(L.$u?Date.UTC(L.$y,ne,Me):new Date(L.$y,ne,Me),L);return V?Ne:Ne.endOf(d)},be=function(Me,ne){return Q.w(L.toDate()[Me].apply(L.toDate("s"),(V?[0,0,0,0]:[23,59,59,999]).slice(ne)),L)},ke=this.$W,De=this.$M,Be=this.$D,Te="set"+(this.$u?"UTC":"");switch(K){case b:return V?se(1,0):se(31,11);case y:return V?se(1,De):se(0,De+1);case g:var re=this.$locale().weekStart||0,Z=(ke<re?ke+7:ke)-re;return se(V?Be-Z:Be+(6-Z),De);case d:case A:return be(Te+"Hours",0);case c:return be(Te+"Minutes",1);case l:return be(Te+"Seconds",2);case o:return be(Te+"Milliseconds",3);default:return this.clone()}},C.endOf=function(S){return this.startOf(S,!1)},C.$set=function(S,H){var L,V=Q.p(S),K="set"+(this.$u?"UTC":""),se=(L={},L[d]=K+"Date",L[A]=K+"Date",L[y]=K+"Month",L[b]=K+"FullYear",L[c]=K+"Hours",L[l]=K+"Minutes",L[o]=K+"Seconds",L[s]=K+"Milliseconds",L)[V],be=V===d?this.$D+(H-this.$W):H;if(V===y||V===b){var ke=this.clone().set(A,1);ke.$d[se](be),ke.init(),this.$d=ke.set(A,Math.min(this.$D,ke.daysInMonth())).$d}else se&&this.$d[se](be);return this.init(),this},C.set=function(S,H){return this.clone().$set(S,H)},C.get=function(S){return this[Q.p(S)]()},C.add=function(S,H){var L,V=this;S=Number(S);var K=Q.p(H),se=function(De){var Be=de(V);return Q.w(Be.date(Be.date()+Math.round(De*S)),V)};if(K===y)return this.set(y,this.$M+S);if(K===b)return this.set(b,this.$y+S);if(K===d)return se(1);if(K===g)return se(7);var be=(L={},L[l]=n,L[c]=i,L[o]=r,L)[K]||1,ke=this.$d.getTime()+S*be;return Q.w(ke,this)},C.subtract=function(S,H){return this.add(-1*S,H)},C.format=function(S){var H=this,L=this.$locale();if(!this.isValid())return L.invalidDate||k;var V=S||"YYYY-MM-DDTHH:mm:ssZ",K=Q.z(this),se=this.$H,be=this.$m,ke=this.$M,De=L.weekdays,Be=L.months,Te=L.meridiem,re=function(ne,Ne,ht,we){return ne&&(ne[Ne]||ne(H,V))||ht[Ne].slice(0,we)},Z=function(ne){return Q.s(se%12||12,ne,"0")},Me=Te||function(ne,Ne,ht){var we=ne<12?"AM":"PM";return ht?we.toLowerCase():we};return V.replace(z,function(ne,Ne){return Ne||function(ht){switch(ht){case"YY":return String(H.$y).slice(-2);case"YYYY":return Q.s(H.$y,4,"0");case"M":return ke+1;case"MM":return Q.s(ke+1,2,"0");case"MMM":return re(L.monthsShort,ke,Be,3);case"MMMM":return re(Be,ke);case"D":return H.$D;case"DD":return Q.s(H.$D,2,"0");case"d":return String(H.$W);case"dd":return re(L.weekdaysMin,H.$W,De,2);case"ddd":return re(L.weekdaysShort,H.$W,De,3);case"dddd":return De[H.$W];case"H":return String(se);case"HH":return Q.s(se,2,"0");case"h":return Z(1);case"hh":return Z(2);case"a":return Me(se,be,!0);case"A":return Me(se,be,!1);case"m":return String(be);case"mm":return Q.s(be,2,"0");case"s":return String(H.$s);case"ss":return Q.s(H.$s,2,"0");case"SSS":return Q.s(H.$ms,3,"0");case"Z":return K}return null}(ne)||K.replace(":","")})},C.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},C.diff=function(S,H,L){var V,K=this,se=Q.p(H),be=de(S),ke=(be.utcOffset()-this.utcOffset())*n,De=this-be,Be=function(){return Q.m(K,be)};switch(se){case b:V=Be()/12;break;case y:V=Be();break;case w:V=Be()/3;break;case g:V=(De-ke)/6048e5;break;case d:V=(De-ke)/864e5;break;case c:V=De/i;break;case l:V=De/n;break;case o:V=De/r;break;default:V=De}return L?V:Q.a(V)},C.daysInMonth=function(){return this.endOf(y).$D},C.$locale=function(){return oe[this.$L]},C.locale=function(S,H){if(!S)return this.$L;var L=this.clone(),V=Pe(S,H,!0);return V&&(L.$L=V),L},C.clone=function(){return Q.w(this.$d,this)},C.toDate=function(){return new Date(this.valueOf())},C.toJSON=function(){return this.isValid()?this.toISOString():null},C.toISOString=function(){return this.$d.toISOString()},C.toString=function(){return this.$d.toUTCString()},P}(),Ue=$e.prototype;return de.prototype=Ue,[["$ms",s],["$s",o],["$m",l],["$H",c],["$W",d],["$M",y],["$y",b],["$D",A]].forEach(function(P){Ue[P[1]]=function(C){return this.$g(C,P[0],P[1])}}),de.extend=function(P,C){return P.$i||(P(C,$e,de),P.$i=!0),de},de.locale=Pe,de.isDayjs=xe,de.unix=function(P){return de(1e3*P)},de.en=oe[O],de.Ls=oe,de.p={},de})}(Yn)),Yn.exports}var kc=Cc();const sn=Gn(kc);let Eo;const Lc=(t,e)=>{Eo=new Ut(t,{threshold:.4,distance:50,includeMatches:!0,useExtendedSearch:!0,...e})},Pc=async(t,e,r)=>{const n=Object.entries(e).filter(([,l])=>l.type==="text"||l.type==="select"||l.type==="multiselect").reduce((l,[c,d])=>{const g="$or",y=[],w=(b,A)=>{const k={};d.type==="text"?k[b]=`${A}`:k[c]=`="${b}"`,y.push(k)};return Object.entries(d.state).filter(([,b])=>b).forEach(([b,A])=>w(b,A)),y.length>0&&l.push({[g]:y}),l},[]);let i;if(!(n.length>0)&&r.matchAllWhenEmpty!==!1)i=t;else{const l={$and:[...n]},c=Eo.search(l);i=r.enableHighlighting?Sc(c,"highlight",r.titleProperty):c.map(d=>d.item)}const s=Object.entries(e).filter(([,l])=>l.type==="range").reduce((l,[c,d])=>(l[c]={min:d.state.min,max:d.state.max,format:d.format},l),{});if(Object.keys(s).length>0){const l=[];for(let c=0;c<i.length;c++){const d={};for(const[g,y]of Object.entries(s)){const w=A=>y.format==="date"?sn(A).unix():A,b=on(g,i[c]);b?Array.isArray(b)?d[g]=s[g].min<=w(b[1])&&w(b[0])<=s[g].max:w(b)>=s[g].min&&w(b)<=s[g].max?d[g]=!0:d[g]=!1:d[g]=!0}Object.values(d).every(g=>!!g)&&l.push(i[c])}i=[...l]}const o=Object.entries(e).filter(([,l])=>l.type==="spatial").reduce((l,[c,d])=>(l[c]={geometry:d.state.geometry,mode:d.state.mode},l),{});if(Object.values(o).map(l=>l.geometry).filter(l=>!!l).length>0){const l=[];for(let c=0;c<i.length;c++){const d={};for(const g of Object.keys(o)){const y=on(g,i[c]),w=o[g].mode||"within";y&&(w==="within"?Mc(y,o[g].geometry):Ac(y,o[g].geometry))?d[g]=!0:d[g]=!1}Object.values(d).every(g=>!!g)&&l.push(i[c])}i=[...l]}return i};function Tc(t,e){return[{type:"Vector",properties:{id:"draw"},source:{type:"Vector",...t&&{format:"GeoJSON"},...t&&{url:e}},zIndex:1,interactions:[{type:"draw",options:{id:"drawInteraction",type:"Box",modify:!0}}]},{type:"Tile",source:{type:"XYZ",url:"https://tiles.maps.eox.at/wmts/1.0.0/osm_3857/default/g/{z}/{y}/{x}.jpg",attribution:"{ OSM: Data © OpenStreetMap contributors and others, Rendering © EOX }"}}]}function Fn(t){if(!t.dirty)return null;switch(t.type){case"multiselect":for(const r in t.state)t.state.hasOwnProperty(r)&&(t.state[r]=!1);break;case"range":t.state.min=t.min,t.state.max=t.max;break;case"select":for(const r in t.state)t.state.hasOwnProperty(r)&&(t.state[r]=!1);break;case"spatial":t.state.geometry=void 0;break;case"text":t.keys.forEach(r=>{t.state[r]=void 0});break}return delete t.stringifiedState,delete t.dirty,t}function Co(t,e){return t*2+e}function Oc(t){return Object.keys(t).map(e=>({title:ee`${t[e].title||t[e].key}:
|
|
599
|
-
<strong>${t[e].stringifiedState}</strong>`,key:e})).filter(e=>t[e.key].dirty)}function
|
|
625
|
+
`}}Qn=new WeakSet,Wo=function(r){this.dispatchEvent(new CustomEvent("details-toggled",{detail:r,bubbles:!0,composed:!0}))},customElements.define("eox-itemfilter-expandcontainer",La);function Dt(t){return Array.isArray?Array.isArray(t):Ts(t)==="[object Array]"}function Da(t){if(typeof t=="string")return t;let e=t+"";return e=="0"&&1/t==-1/0?"-0":e}function Pa(t){return t==null?"":Da(t)}function wt(t){return typeof t=="string"}function Ds(t){return typeof t=="number"}function Ta(t){return t===!0||t===!1||Ra(t)&&Ts(t)=="[object Boolean]"}function Ps(t){return typeof t=="object"}function Ra(t){return Ps(t)&&t!==null}function st(t){return t!=null}function Mi(t){return!t.trim().length}function Ts(t){return t==null?t===void 0?"[object Undefined]":"[object Null]":Object.prototype.toString.call(t)}const Oa="Incorrect 'index' type",Ba=t=>`Invalid value for key ${t}`,ja=t=>`Pattern length exceeds max of ${t}.`,Ha=t=>`Missing ${t} property in key`,Na=t=>`Property 'weight' in key '${t}' must be a positive integer`,Rs=Object.prototype.hasOwnProperty;class Ia{constructor(e){this._keys=[],this._keyMap={};let r=0;e.forEach(n=>{let i=Os(n);this._keys.push(i),this._keyMap[i.id]=i,r+=i.weight}),this._keys.forEach(n=>{n.weight/=r})}get(e){return this._keyMap[e]}keys(){return this._keys}toJSON(){return JSON.stringify(this._keys)}}function Os(t){let e=null,r=null,n=null,i=1,s=null;if(wt(t)||Dt(t))n=t,e=Bs(t),r=Ci(t);else{if(!Rs.call(t,"name"))throw new Error(Ha("name"));const o=t.name;if(n=o,Rs.call(t,"weight")&&(i=t.weight,i<=0))throw new Error(Na(o));e=Bs(o),r=Ci(o),s=t.getFn}return{path:e,id:r,weight:i,src:n,getFn:s}}function Bs(t){return Dt(t)?t:t.split(".")}function Ci(t){return Dt(t)?t.join("."):t}function za(t,e){let r=[],n=!1;const i=(s,o,l)=>{if(st(s))if(!o[l])r.push(s);else{let c=o[l];const u=s[c];if(!st(u))return;if(l===o.length-1&&(wt(u)||Ds(u)||Ta(u)))r.push(Pa(u));else if(Dt(u)){n=!0;for(let g=0,y=u.length;g<y;g+=1)i(u[g],o,l+1)}else o.length&&i(u,o,l+1)}};return i(t,wt(e)?e.split("."):e,0),n?r:r[0]}var Y={...{isCaseSensitive:!1,ignoreDiacritics:!1,includeScore:!1,keys:[],shouldSort:!0,sortFn:(t,e)=>t.score===e.score?t.idx<e.idx?-1:1:t.score<e.score?-1:1},...{includeMatches:!1,findAllMatches:!1,minMatchCharLength:1},...{location:0,threshold:.6,distance:100},...{useExtendedSearch:!1,getFn:za,ignoreLocation:!1,ignoreFieldNorm:!1,fieldNormWeight:1}};const Ua=/[^ ]+/g;function Fa(t=1,e=3){const r=new Map,n=Math.pow(10,e);return{get(i){const s=i.match(Ua).length;if(r.has(s))return r.get(s);const o=1/Math.pow(s,.5*t),l=parseFloat(Math.round(o*n)/n);return r.set(s,l),l},clear(){r.clear()}}}class Ei{constructor({getFn:e=Y.getFn,fieldNormWeight:r=Y.fieldNormWeight}={}){this.norm=Fa(r,3),this.getFn=e,this.isCreated=!1,this.setIndexRecords()}setSources(e=[]){this.docs=e}setIndexRecords(e=[]){this.records=e}setKeys(e=[]){this.keys=e,this._keysMap={},e.forEach((r,n)=>{this._keysMap[r.id]=n})}create(){this.isCreated||!this.docs.length||(this.isCreated=!0,wt(this.docs[0])?this.docs.forEach((e,r)=>{this._addString(e,r)}):this.docs.forEach((e,r)=>{this._addObject(e,r)}),this.norm.clear())}add(e){const r=this.size();wt(e)?this._addString(e,r):this._addObject(e,r)}removeAt(e){this.records.splice(e,1);for(let r=e,n=this.size();r<n;r+=1)this.records[r].i-=1}getValueForItemAtKeyId(e,r){return e[this._keysMap[r]]}size(){return this.records.length}_addString(e,r){if(!st(e)||Mi(e))return;let n={v:e,i:r,n:this.norm.get(e)};this.records.push(n)}_addObject(e,r){let n={i:r,$:{}};this.keys.forEach((i,s)=>{let o=i.getFn?i.getFn(e):this.getFn(e,i.path);if(st(o)){if(Dt(o)){let l=[];const c=[{nestedArrIndex:-1,value:o}];for(;c.length;){const{nestedArrIndex:u,value:g}=c.pop();if(st(g))if(wt(g)&&!Mi(g)){let y={v:g,i:u,n:this.norm.get(g)};l.push(y)}else Dt(g)&&g.forEach((y,x)=>{c.push({nestedArrIndex:x,value:y})})}n.$[s]=l}else if(wt(o)&&!Mi(o)){let l={v:o,n:this.norm.get(o)};n.$[s]=l}}}),this.records.push(n)}toJSON(){return{keys:this.keys,records:this.records}}}function js(t,e,{getFn:r=Y.getFn,fieldNormWeight:n=Y.fieldNormWeight}={}){const i=new Ei({getFn:r,fieldNormWeight:n});return i.setKeys(t.map(Os)),i.setSources(e),i.create(),i}function qa(t,{getFn:e=Y.getFn,fieldNormWeight:r=Y.fieldNormWeight}={}){const{keys:n,records:i}=t,s=new Ei({getFn:e,fieldNormWeight:r});return s.setKeys(n),s.setIndexRecords(i),s}function Rn(t,{errors:e=0,currentLocation:r=0,expectedLocation:n=0,distance:i=Y.distance,ignoreLocation:s=Y.ignoreLocation}={}){const o=e/t.length;if(s)return o;const l=Math.abs(n-r);return i?o+l/i:l?1:o}function Wa(t=[],e=Y.minMatchCharLength){let r=[],n=-1,i=-1,s=0;for(let o=t.length;s<o;s+=1){let l=t[s];l&&n===-1?n=s:!l&&n!==-1&&(i=s-1,i-n+1>=e&&r.push([n,i]),n=-1)}return t[s-1]&&s-n>=e&&r.push([n,s-1]),r}const rr=32;function Va(t,e,r,{location:n=Y.location,distance:i=Y.distance,threshold:s=Y.threshold,findAllMatches:o=Y.findAllMatches,minMatchCharLength:l=Y.minMatchCharLength,includeMatches:c=Y.includeMatches,ignoreLocation:u=Y.ignoreLocation}={}){if(e.length>rr)throw new Error(ja(rr));const g=e.length,y=t.length,x=Math.max(0,Math.min(n,y));let b=s,_=x;const k=l>1||c,q=k?Array(y):[];let U;for(;(U=t.indexOf(e,_))>-1;){let ie=Rn(e,{currentLocation:U,expectedLocation:x,distance:i,ignoreLocation:u});if(b=Math.min(ie,b),_=U+g,k){let $e=0;for(;$e<g;)q[U+$e]=1,$e+=1}}_=-1;let oe=[],te=1,ae=g+y;const O=1<<g-1;for(let ie=0;ie<g;ie+=1){let $e=0,Ae=ae;for(;$e<Ae;)Rn(e,{errors:ie,currentLocation:x+Ae,expectedLocation:x,distance:i,ignoreLocation:u})<=b?$e=Ae:ae=Ae,Ae=Math.floor((ae-$e)/2+$e);ae=Ae;let pe=Math.max(1,x-Ae+1),Q=o?y:Math.min(x+Ae,y)+g,ve=Array(Q+2);ve[Q+1]=(1<<ie)-1;for(let D=Q;D>=pe;D-=1){let E=D-1,C=r[t.charAt(E)];if(k&&(q[E]=+!!C),ve[D]=(ve[D+1]<<1|1)&C,ie&&(ve[D]|=(oe[D+1]|oe[D])<<1|1|oe[D+1]),ve[D]&O&&(te=Rn(e,{errors:ie,currentLocation:E,expectedLocation:x,distance:i,ignoreLocation:u}),te<=b)){if(b=te,_=E,_<=x)break;pe=Math.max(1,2*x-_)}}if(Rn(e,{errors:ie+1,currentLocation:x,expectedLocation:x,distance:i,ignoreLocation:u})>b)break;oe=ve}const le={isMatch:_>=0,score:Math.max(.001,te)};if(k){const ie=Wa(q,l);ie.length?c&&(le.indices=ie):le.isMatch=!1}return le}function Ka(t){let e={};for(let r=0,n=t.length;r<n;r+=1){const i=t.charAt(r);e[i]=(e[i]||0)|1<<n-r-1}return e}const On=String.prototype.normalize?t=>t.normalize("NFD").replace(/[\u0300-\u036F\u0483-\u0489\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u065F\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u0711\u0730-\u074A\u07A6-\u07B0\u07EB-\u07F3\u07FD\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u08D3-\u08E1\u08E3-\u0903\u093A-\u093C\u093E-\u094F\u0951-\u0957\u0962\u0963\u0981-\u0983\u09BC\u09BE-\u09C4\u09C7\u09C8\u09CB-\u09CD\u09D7\u09E2\u09E3\u09FE\u0A01-\u0A03\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A70\u0A71\u0A75\u0A81-\u0A83\u0ABC\u0ABE-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AE2\u0AE3\u0AFA-\u0AFF\u0B01-\u0B03\u0B3C\u0B3E-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B62\u0B63\u0B82\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD7\u0C00-\u0C04\u0C3E-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C81-\u0C83\u0CBC\u0CBE-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0D00-\u0D03\u0D3B\u0D3C\u0D3E-\u0D44\u0D46-\u0D48\u0D4A-\u0D4D\u0D57\u0D62\u0D63\u0D82\u0D83\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DF2\u0DF3\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0EB1\u0EB4-\u0EB9\u0EBB\u0EBC\u0EC8-\u0ECD\u0F18\u0F19\u0F35\u0F37\u0F39\u0F3E\u0F3F\u0F71-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102B-\u103E\u1056-\u1059\u105E-\u1060\u1062-\u1064\u1067-\u106D\u1071-\u1074\u1082-\u108D\u108F\u109A-\u109D\u135D-\u135F\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4-\u17D3\u17DD\u180B-\u180D\u1885\u1886\u18A9\u1920-\u192B\u1930-\u193B\u1A17-\u1A1B\u1A55-\u1A5E\u1A60-\u1A7C\u1A7F\u1AB0-\u1ABE\u1B00-\u1B04\u1B34-\u1B44\u1B6B-\u1B73\u1B80-\u1B82\u1BA1-\u1BAD\u1BE6-\u1BF3\u1C24-\u1C37\u1CD0-\u1CD2\u1CD4-\u1CE8\u1CED\u1CF2-\u1CF4\u1CF7-\u1CF9\u1DC0-\u1DF9\u1DFB-\u1DFF\u20D0-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\uA66F-\uA672\uA674-\uA67D\uA69E\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA823-\uA827\uA880\uA881\uA8B4-\uA8C5\uA8E0-\uA8F1\uA8FF\uA926-\uA92D\uA947-\uA953\uA980-\uA983\uA9B3-\uA9C0\uA9E5\uAA29-\uAA36\uAA43\uAA4C\uAA4D\uAA7B-\uAA7D\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEB-\uAAEF\uAAF5\uAAF6\uABE3-\uABEA\uABEC\uABED\uFB1E\uFE00-\uFE0F\uFE20-\uFE2F]/g,""):t=>t;class Hs{constructor(e,{location:r=Y.location,threshold:n=Y.threshold,distance:i=Y.distance,includeMatches:s=Y.includeMatches,findAllMatches:o=Y.findAllMatches,minMatchCharLength:l=Y.minMatchCharLength,isCaseSensitive:c=Y.isCaseSensitive,ignoreDiacritics:u=Y.ignoreDiacritics,ignoreLocation:g=Y.ignoreLocation}={}){if(this.options={location:r,threshold:n,distance:i,includeMatches:s,findAllMatches:o,minMatchCharLength:l,isCaseSensitive:c,ignoreDiacritics:u,ignoreLocation:g},e=c?e:e.toLowerCase(),e=u?On(e):e,this.pattern=e,this.chunks=[],!this.pattern.length)return;const y=(b,_)=>{this.chunks.push({pattern:b,alphabet:Ka(b),startIndex:_})},x=this.pattern.length;if(x>rr){let b=0;const _=x%rr,k=x-_;for(;b<k;)y(this.pattern.substr(b,rr),b),b+=rr;if(_){const q=x-rr;y(this.pattern.substr(q),q)}}else y(this.pattern,0)}searchIn(e){const{isCaseSensitive:r,ignoreDiacritics:n,includeMatches:i}=this.options;if(e=r?e:e.toLowerCase(),e=n?On(e):e,this.pattern===e){let k={isMatch:!0,score:0};return i&&(k.indices=[[0,e.length-1]]),k}const{location:s,distance:o,threshold:l,findAllMatches:c,minMatchCharLength:u,ignoreLocation:g}=this.options;let y=[],x=0,b=!1;this.chunks.forEach(({pattern:k,alphabet:q,startIndex:U})=>{const{isMatch:oe,score:te,indices:ae}=Va(e,k,q,{location:s+U,distance:o,threshold:l,findAllMatches:c,minMatchCharLength:u,includeMatches:i,ignoreLocation:g});oe&&(b=!0),x+=te,oe&&ae&&(y=[...y,...ae])});let _={isMatch:b,score:b?x/this.chunks.length:1};return b&&i&&(_.indices=y),_}}class zt{constructor(e){this.pattern=e}static isMultiMatch(e){return Ns(e,this.multiRegex)}static isSingleMatch(e){return Ns(e,this.singleRegex)}search(){}}function Ns(t,e){const r=t.match(e);return r?r[1]:null}class Ga extends zt{constructor(e){super(e)}static get type(){return"exact"}static get multiRegex(){return/^="(.*)"$/}static get singleRegex(){return/^=(.*)$/}search(e){const r=e===this.pattern;return{isMatch:r,score:r?0:1,indices:[0,this.pattern.length-1]}}}class Ya extends zt{constructor(e){super(e)}static get type(){return"inverse-exact"}static get multiRegex(){return/^!"(.*)"$/}static get singleRegex(){return/^!(.*)$/}search(e){const n=e.indexOf(this.pattern)===-1;return{isMatch:n,score:n?0:1,indices:[0,e.length-1]}}}class Za extends zt{constructor(e){super(e)}static get type(){return"prefix-exact"}static get multiRegex(){return/^\^"(.*)"$/}static get singleRegex(){return/^\^(.*)$/}search(e){const r=e.startsWith(this.pattern);return{isMatch:r,score:r?0:1,indices:[0,this.pattern.length-1]}}}class Xa extends zt{constructor(e){super(e)}static get type(){return"inverse-prefix-exact"}static get multiRegex(){return/^!\^"(.*)"$/}static get singleRegex(){return/^!\^(.*)$/}search(e){const r=!e.startsWith(this.pattern);return{isMatch:r,score:r?0:1,indices:[0,e.length-1]}}}class Ja extends zt{constructor(e){super(e)}static get type(){return"suffix-exact"}static get multiRegex(){return/^"(.*)"\$$/}static get singleRegex(){return/^(.*)\$$/}search(e){const r=e.endsWith(this.pattern);return{isMatch:r,score:r?0:1,indices:[e.length-this.pattern.length,e.length-1]}}}class Qa extends zt{constructor(e){super(e)}static get type(){return"inverse-suffix-exact"}static get multiRegex(){return/^!"(.*)"\$$/}static get singleRegex(){return/^!(.*)\$$/}search(e){const r=!e.endsWith(this.pattern);return{isMatch:r,score:r?0:1,indices:[0,e.length-1]}}}class Is extends zt{constructor(e,{location:r=Y.location,threshold:n=Y.threshold,distance:i=Y.distance,includeMatches:s=Y.includeMatches,findAllMatches:o=Y.findAllMatches,minMatchCharLength:l=Y.minMatchCharLength,isCaseSensitive:c=Y.isCaseSensitive,ignoreDiacritics:u=Y.ignoreDiacritics,ignoreLocation:g=Y.ignoreLocation}={}){super(e),this._bitapSearch=new Hs(e,{location:r,threshold:n,distance:i,includeMatches:s,findAllMatches:o,minMatchCharLength:l,isCaseSensitive:c,ignoreDiacritics:u,ignoreLocation:g})}static get type(){return"fuzzy"}static get multiRegex(){return/^"(.*)"$/}static get singleRegex(){return/^(.*)$/}search(e){return this._bitapSearch.searchIn(e)}}class zs extends zt{constructor(e){super(e)}static get type(){return"include"}static get multiRegex(){return/^'"(.*)"$/}static get singleRegex(){return/^'(.*)$/}search(e){let r=0,n;const i=[],s=this.pattern.length;for(;(n=e.indexOf(this.pattern,r))>-1;)r=n+s,i.push([n,r-1]);const o=!!i.length;return{isMatch:o,score:o?0:1,indices:i}}}const Si=[Ga,zs,Za,Xa,Qa,Ja,Ya,Is],Us=Si.length,el=/ +(?=(?:[^\"]*\"[^\"]*\")*[^\"]*$)/,tl="|";function rl(t,e={}){return t.split(tl).map(r=>{let n=r.trim().split(el).filter(s=>s&&!!s.trim()),i=[];for(let s=0,o=n.length;s<o;s+=1){const l=n[s];let c=!1,u=-1;for(;!c&&++u<Us;){const g=Si[u];let y=g.isMultiMatch(l);y&&(i.push(new g(y,e)),c=!0)}if(!c)for(u=-1;++u<Us;){const g=Si[u];let y=g.isSingleMatch(l);if(y){i.push(new g(y,e));break}}}return i})}const nl=new Set([Is.type,zs.type]);class il{constructor(e,{isCaseSensitive:r=Y.isCaseSensitive,ignoreDiacritics:n=Y.ignoreDiacritics,includeMatches:i=Y.includeMatches,minMatchCharLength:s=Y.minMatchCharLength,ignoreLocation:o=Y.ignoreLocation,findAllMatches:l=Y.findAllMatches,location:c=Y.location,threshold:u=Y.threshold,distance:g=Y.distance}={}){this.query=null,this.options={isCaseSensitive:r,ignoreDiacritics:n,includeMatches:i,minMatchCharLength:s,findAllMatches:l,ignoreLocation:o,location:c,threshold:u,distance:g},e=r?e:e.toLowerCase(),e=n?On(e):e,this.pattern=e,this.query=rl(this.pattern,this.options)}static condition(e,r){return r.useExtendedSearch}searchIn(e){const r=this.query;if(!r)return{isMatch:!1,score:1};const{includeMatches:n,isCaseSensitive:i,ignoreDiacritics:s}=this.options;e=i?e:e.toLowerCase(),e=s?On(e):e;let o=0,l=[],c=0;for(let u=0,g=r.length;u<g;u+=1){const y=r[u];l.length=0,o=0;for(let x=0,b=y.length;x<b;x+=1){const _=y[x],{isMatch:k,indices:q,score:U}=_.search(e);if(k){if(o+=1,c+=U,n){const oe=_.constructor.type;nl.has(oe)?l=[...l,...q]:l.push(q)}}else{c=0,o=0,l.length=0;break}}if(o){let x={isMatch:!0,score:c/o};return n&&(x.indices=l),x}}return{isMatch:!1,score:1}}}const ki=[];function sl(...t){ki.push(...t)}function Li(t,e){for(let r=0,n=ki.length;r<n;r+=1){let i=ki[r];if(i.condition(t,e))return new i(t,e)}return new Hs(t,e)}const Bn={AND:"$and",OR:"$or"},Di={PATH:"$path",PATTERN:"$val"},Pi=t=>!!(t[Bn.AND]||t[Bn.OR]),ol=t=>!!t[Di.PATH],al=t=>!Dt(t)&&Ps(t)&&!Pi(t),Fs=t=>({[Bn.AND]:Object.keys(t).map(e=>({[e]:t[e]}))});function qs(t,e,{auto:r=!0}={}){const n=i=>{let s=Object.keys(i);const o=ol(i);if(!o&&s.length>1&&!Pi(i))return n(Fs(i));if(al(i)){const c=o?i[Di.PATH]:s[0],u=o?i[Di.PATTERN]:i[c];if(!wt(u))throw new Error(Ba(c));const g={keyId:Ci(c),pattern:u};return r&&(g.searcher=Li(u,e)),g}let l={children:[],operator:s[0]};return s.forEach(c=>{const u=i[c];Dt(u)&&u.forEach(g=>{l.children.push(n(g))})}),l};return Pi(t)||(t=Fs(t)),n(t)}function ll(t,{ignoreFieldNorm:e=Y.ignoreFieldNorm}){t.forEach(r=>{let n=1;r.matches.forEach(({key:i,norm:s,score:o})=>{const l=i?i.weight:null;n*=Math.pow(o===0&&l?Number.EPSILON:o,(l||1)*(e?1:s))}),r.score=n})}function cl(t,e){const r=t.matches;e.matches=[],st(r)&&r.forEach(n=>{if(!st(n.indices)||!n.indices.length)return;const{indices:i,value:s}=n;let o={indices:i,value:s};n.key&&(o.key=n.key.src),n.idx>-1&&(o.refIndex=n.idx),e.matches.push(o)})}function ul(t,e){e.score=t.score}function dl(t,e,{includeMatches:r=Y.includeMatches,includeScore:n=Y.includeScore}={}){const i=[];return r&&i.push(cl),n&&i.push(ul),t.map(s=>{const{idx:o}=s,l={item:e[o],refIndex:o};return i.length&&i.forEach(c=>{c(s,l)}),l})}class Ut{constructor(e,r={},n){this.options={...Y,...r},this.options.useExtendedSearch,this._keyStore=new Ia(this.options.keys),this.setCollection(e,n)}setCollection(e,r){if(this._docs=e,r&&!(r instanceof Ei))throw new Error(Oa);this._myIndex=r||js(this.options.keys,this._docs,{getFn:this.options.getFn,fieldNormWeight:this.options.fieldNormWeight})}add(e){st(e)&&(this._docs.push(e),this._myIndex.add(e))}remove(e=()=>!1){const r=[];for(let n=0,i=this._docs.length;n<i;n+=1){const s=this._docs[n];e(s,n)&&(this.removeAt(n),n-=1,i-=1,r.push(s))}return r}removeAt(e){this._docs.splice(e,1),this._myIndex.removeAt(e)}getIndex(){return this._myIndex}search(e,{limit:r=-1}={}){const{includeMatches:n,includeScore:i,shouldSort:s,sortFn:o,ignoreFieldNorm:l}=this.options;let c=wt(e)?wt(this._docs[0])?this._searchStringList(e):this._searchObjectList(e):this._searchLogical(e);return ll(c,{ignoreFieldNorm:l}),s&&c.sort(o),Ds(r)&&r>-1&&(c=c.slice(0,r)),dl(c,this._docs,{includeMatches:n,includeScore:i})}_searchStringList(e){const r=Li(e,this.options),{records:n}=this._myIndex,i=[];return n.forEach(({v:s,i:o,n:l})=>{if(!st(s))return;const{isMatch:c,score:u,indices:g}=r.searchIn(s);c&&i.push({item:s,idx:o,matches:[{score:u,value:s,norm:l,indices:g}]})}),i}_searchLogical(e){const r=qs(e,this.options),n=(l,c,u)=>{if(!l.children){const{keyId:y,searcher:x}=l,b=this._findMatches({key:this._keyStore.get(y),value:this._myIndex.getValueForItemAtKeyId(c,y),searcher:x});return b&&b.length?[{idx:u,item:c,matches:b}]:[]}const g=[];for(let y=0,x=l.children.length;y<x;y+=1){const b=l.children[y],_=n(b,c,u);if(_.length)g.push(..._);else if(l.operator===Bn.AND)return[]}return g},i=this._myIndex.records,s={},o=[];return i.forEach(({$:l,i:c})=>{if(st(l)){let u=n(r,l,c);u.length&&(s[c]||(s[c]={idx:c,item:l,matches:[]},o.push(s[c])),u.forEach(({matches:g})=>{s[c].matches.push(...g)}))}}),o}_searchObjectList(e){const r=Li(e,this.options),{keys:n,records:i}=this._myIndex,s=[];return i.forEach(({$:o,i:l})=>{if(!st(o))return;let c=[];n.forEach((u,g)=>{c.push(...this._findMatches({key:u,value:o[g],searcher:r}))}),c.length&&s.push({idx:l,item:o,matches:c})}),s}_findMatches({key:e,value:r,searcher:n}){if(!st(r))return[];let i=[];if(Dt(r))r.forEach(({v:s,i:o,n:l})=>{if(!st(s))return;const{isMatch:c,score:u,indices:g}=n.searchIn(s);c&&i.push({score:u,key:e,value:s,idx:o,norm:l,indices:g})});else{const{v:s,n:o}=r,{isMatch:l,score:c,indices:u}=n.searchIn(s);l&&i.push({score:c,key:e,value:s,norm:o,indices:u})}return i}}Ut.version="7.1.0",Ut.createIndex=js,Ut.parseIndex=qa,Ut.config=Y,Ut.parseQuery=qs,sl(il);function Ws(t,e){const r=new Ut(e.filterProperties,{keys:["title"]});if(!(t.target instanceof HTMLInputElement))return;const n=t.target.value,s=r.search(n).map(o=>o.item.key||o.item.keys.join("|"));Object.keys(e.filters).forEach(o=>{e.querySelector(`[data-details="${o}"]`).parentElement.style.display=s.includes(o)||!n?"":"none"})}function hl(t,e){if(!(t.target instanceof HTMLElement))return;const r=t.target.getAttribute("data-close").replace("|","-");e.querySelector(`#filter-${r}`).reset(),e.dispatchEvent(new CustomEvent("filter")),e.requestUpdate()}const Ti=Math.min,$r=Math.max,jn=Math.round,Hn=Math.floor,xt=t=>({x:t,y:t});function Vs(t){return t.split("-")[0]}function fl(t){return t.split("-")[1]}function pl(t){return t==="x"?"y":"x"}function gl(t){return t==="y"?"height":"width"}function Ks(t){return["top","bottom"].includes(Vs(t))?"y":"x"}function yl(t){return pl(Ks(t))}function Gs(t){const{x:e,y:r,width:n,height:i}=t;return{width:n,height:i,top:r,left:e,right:e+n,bottom:r+i,x:e,y:r}}function Ys(t,e,r){let{reference:n,floating:i}=t;const s=Ks(e),o=yl(e),l=gl(o),c=Vs(e),u=s==="y",g=n.x+n.width/2-i.width/2,y=n.y+n.height/2-i.height/2,x=n[l]/2-i[l]/2;let b;switch(c){case"top":b={x:g,y:n.y-i.height};break;case"bottom":b={x:g,y:n.y+n.height};break;case"right":b={x:n.x+n.width,y};break;case"left":b={x:n.x-i.width,y};break;default:b={x:n.x,y:n.y}}switch(fl(e)){case"start":b[o]-=x*(r&&u?-1:1);break;case"end":b[o]+=x*(r&&u?-1:1);break}return b}const bl=async(t,e,r)=>{const{placement:n="bottom",strategy:i="absolute",middleware:s=[],platform:o}=r,l=s.filter(Boolean),c=await(o.isRTL==null?void 0:o.isRTL(e));let u=await o.getElementRects({reference:t,floating:e,strategy:i}),{x:g,y}=Ys(u,n,c),x=n,b={},_=0;for(let k=0;k<l.length;k++){const{name:q,fn:U}=l[k],{x:oe,y:te,data:ae,reset:O}=await U({x:g,y,initialPlacement:n,placement:x,strategy:i,middlewareData:b,rects:u,platform:o,elements:{reference:t,floating:e}});g=oe??g,y=te??y,b={...b,[q]:{...b[q],...ae}},O&&_<=50&&(_++,typeof O=="object"&&(O.placement&&(x=O.placement),O.rects&&(u=O.rects===!0?await o.getElementRects({reference:t,floating:e,strategy:i}):O.rects),{x:g,y}=Ys(u,x,c)),k=-1)}return{x:g,y,placement:x,strategy:i,middlewareData:b}};function Nn(){return typeof window<"u"}function Ar(t){return Zs(t)?(t.nodeName||"").toLowerCase():"#document"}function ot(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function $t(t){var e;return(e=(Zs(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function Zs(t){return Nn()?t instanceof Node||t instanceof ot(t).Node:!1}function mt(t){return Nn()?t instanceof Element||t instanceof ot(t).Element:!1}function At(t){return Nn()?t instanceof HTMLElement||t instanceof ot(t).HTMLElement:!1}function Xs(t){return!Nn()||typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof ot(t).ShadowRoot}function tn(t){const{overflow:e,overflowX:r,overflowY:n,display:i}=vt(t);return/auto|scroll|overlay|hidden|clip/.test(e+n+r)&&!["inline","contents"].includes(i)}function ml(t){return["table","td","th"].includes(Ar(t))}function In(t){return[":popover-open",":modal"].some(e=>{try{return t.matches(e)}catch{return!1}})}function Ri(t){const e=Oi(),r=mt(t)?vt(t):t;return["transform","translate","scale","rotate","perspective"].some(n=>r[n]?r[n]!=="none":!1)||(r.containerType?r.containerType!=="normal":!1)||!e&&(r.backdropFilter?r.backdropFilter!=="none":!1)||!e&&(r.filter?r.filter!=="none":!1)||["transform","translate","scale","rotate","perspective","filter"].some(n=>(r.willChange||"").includes(n))||["paint","layout","strict","content"].some(n=>(r.contain||"").includes(n))}function vl(t){let e=Ft(t);for(;At(e)&&!_r(e);){if(Ri(e))return e;if(In(e))return null;e=Ft(e)}return null}function Oi(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function _r(t){return["html","body","#document"].includes(Ar(t))}function vt(t){return ot(t).getComputedStyle(t)}function zn(t){return mt(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.scrollX,scrollTop:t.scrollY}}function Ft(t){if(Ar(t)==="html")return t;const e=t.assignedSlot||t.parentNode||Xs(t)&&t.host||$t(t);return Xs(e)?e.host:e}function Js(t){const e=Ft(t);return _r(e)?t.ownerDocument?t.ownerDocument.body:t.body:At(e)&&tn(e)?e:Js(e)}function rn(t,e,r){var n;e===void 0&&(e=[]),r===void 0&&(r=!0);const i=Js(t),s=i===((n=t.ownerDocument)==null?void 0:n.body),o=ot(i);if(s){const l=Bi(o);return e.concat(o,o.visualViewport||[],tn(i)?i:[],l&&r?rn(l):[])}return e.concat(i,rn(i,[],r))}function Bi(t){return t.parent&&Object.getPrototypeOf(t.parent)?t.frameElement:null}function Qs(t){const e=vt(t);let r=parseFloat(e.width)||0,n=parseFloat(e.height)||0;const i=At(t),s=i?t.offsetWidth:r,o=i?t.offsetHeight:n,l=jn(r)!==s||jn(n)!==o;return l&&(r=s,n=o),{width:r,height:n,$:l}}function ji(t){return mt(t)?t:t.contextElement}function Mr(t){const e=ji(t);if(!At(e))return xt(1);const r=e.getBoundingClientRect(),{width:n,height:i,$:s}=Qs(e);let o=(s?jn(r.width):r.width)/n,l=(s?jn(r.height):r.height)/i;return(!o||!Number.isFinite(o))&&(o=1),(!l||!Number.isFinite(l))&&(l=1),{x:o,y:l}}const wl=xt(0);function eo(t){const e=ot(t);return!Oi()||!e.visualViewport?wl:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function xl(t,e,r){return e===void 0&&(e=!1),!r||e&&r!==ot(t)?!1:e}function nr(t,e,r,n){e===void 0&&(e=!1),r===void 0&&(r=!1);const i=t.getBoundingClientRect(),s=ji(t);let o=xt(1);e&&(n?mt(n)&&(o=Mr(n)):o=Mr(t));const l=xl(s,r,n)?eo(s):xt(0);let c=(i.left+l.x)/o.x,u=(i.top+l.y)/o.y,g=i.width/o.x,y=i.height/o.y;if(s){const x=ot(s),b=n&&mt(n)?ot(n):n;let _=x,k=Bi(_);for(;k&&n&&b!==_;){const q=Mr(k),U=k.getBoundingClientRect(),oe=vt(k),te=U.left+(k.clientLeft+parseFloat(oe.paddingLeft))*q.x,ae=U.top+(k.clientTop+parseFloat(oe.paddingTop))*q.y;c*=q.x,u*=q.y,g*=q.x,y*=q.y,c+=te,u+=ae,_=ot(k),k=Bi(_)}}return Gs({width:g,height:y,x:c,y:u})}function Hi(t,e){const r=zn(t).scrollLeft;return e?e.left+r:nr($t(t)).left+r}function to(t,e,r){r===void 0&&(r=!1);const n=t.getBoundingClientRect(),i=n.left+e.scrollLeft-(r?0:Hi(t,n)),s=n.top+e.scrollTop;return{x:i,y:s}}function $l(t){let{elements:e,rect:r,offsetParent:n,strategy:i}=t;const s=i==="fixed",o=$t(n),l=e?In(e.floating):!1;if(n===o||l&&s)return r;let c={scrollLeft:0,scrollTop:0},u=xt(1);const g=xt(0),y=At(n);if((y||!y&&!s)&&((Ar(n)!=="body"||tn(o))&&(c=zn(n)),At(n))){const b=nr(n);u=Mr(n),g.x=b.x+n.clientLeft,g.y=b.y+n.clientTop}const x=o&&!y&&!s?to(o,c,!0):xt(0);return{width:r.width*u.x,height:r.height*u.y,x:r.x*u.x-c.scrollLeft*u.x+g.x+x.x,y:r.y*u.y-c.scrollTop*u.y+g.y+x.y}}function Al(t){return Array.from(t.getClientRects())}function _l(t){const e=$t(t),r=zn(t),n=t.ownerDocument.body,i=$r(e.scrollWidth,e.clientWidth,n.scrollWidth,n.clientWidth),s=$r(e.scrollHeight,e.clientHeight,n.scrollHeight,n.clientHeight);let o=-r.scrollLeft+Hi(t);const l=-r.scrollTop;return vt(n).direction==="rtl"&&(o+=$r(e.clientWidth,n.clientWidth)-i),{width:i,height:s,x:o,y:l}}function Ml(t,e){const r=ot(t),n=$t(t),i=r.visualViewport;let s=n.clientWidth,o=n.clientHeight,l=0,c=0;if(i){s=i.width,o=i.height;const u=Oi();(!u||u&&e==="fixed")&&(l=i.offsetLeft,c=i.offsetTop)}return{width:s,height:o,x:l,y:c}}function Cl(t,e){const r=nr(t,!0,e==="fixed"),n=r.top+t.clientTop,i=r.left+t.clientLeft,s=At(t)?Mr(t):xt(1),o=t.clientWidth*s.x,l=t.clientHeight*s.y,c=i*s.x,u=n*s.y;return{width:o,height:l,x:c,y:u}}function ro(t,e,r){let n;if(e==="viewport")n=Ml(t,r);else if(e==="document")n=_l($t(t));else if(mt(e))n=Cl(e,r);else{const i=eo(t);n={x:e.x-i.x,y:e.y-i.y,width:e.width,height:e.height}}return Gs(n)}function no(t,e){const r=Ft(t);return r===e||!mt(r)||_r(r)?!1:vt(r).position==="fixed"||no(r,e)}function El(t,e){const r=e.get(t);if(r)return r;let n=rn(t,[],!1).filter(l=>mt(l)&&Ar(l)!=="body"),i=null;const s=vt(t).position==="fixed";let o=s?Ft(t):t;for(;mt(o)&&!_r(o);){const l=vt(o),c=Ri(o);!c&&l.position==="fixed"&&(i=null),(s?!c&&!i:!c&&l.position==="static"&&!!i&&["absolute","fixed"].includes(i.position)||tn(o)&&!c&&no(t,o))?n=n.filter(g=>g!==o):i=l,o=Ft(o)}return e.set(t,n),n}function Sl(t){let{element:e,boundary:r,rootBoundary:n,strategy:i}=t;const o=[...r==="clippingAncestors"?In(e)?[]:El(e,this._c):[].concat(r),n],l=o[0],c=o.reduce((u,g)=>{const y=ro(e,g,i);return u.top=$r(y.top,u.top),u.right=Ti(y.right,u.right),u.bottom=Ti(y.bottom,u.bottom),u.left=$r(y.left,u.left),u},ro(e,l,i));return{width:c.right-c.left,height:c.bottom-c.top,x:c.left,y:c.top}}function kl(t){const{width:e,height:r}=Qs(t);return{width:e,height:r}}function Ll(t,e,r){const n=At(e),i=$t(e),s=r==="fixed",o=nr(t,!0,s,e);let l={scrollLeft:0,scrollTop:0};const c=xt(0);if(n||!n&&!s)if((Ar(e)!=="body"||tn(i))&&(l=zn(e)),n){const x=nr(e,!0,s,e);c.x=x.x+e.clientLeft,c.y=x.y+e.clientTop}else i&&(c.x=Hi(i));const u=i&&!n&&!s?to(i,l):xt(0),g=o.left+l.scrollLeft-c.x-u.x,y=o.top+l.scrollTop-c.y-u.y;return{x:g,y,width:o.width,height:o.height}}function Ni(t){return vt(t).position==="static"}function io(t,e){if(!At(t)||vt(t).position==="fixed")return null;if(e)return e(t);let r=t.offsetParent;return $t(t)===r&&(r=r.ownerDocument.body),r}function so(t,e){const r=ot(t);if(In(t))return r;if(!At(t)){let i=Ft(t);for(;i&&!_r(i);){if(mt(i)&&!Ni(i))return i;i=Ft(i)}return r}let n=io(t,e);for(;n&&ml(n)&&Ni(n);)n=io(n,e);return n&&_r(n)&&Ni(n)&&!Ri(n)?r:n||vl(t)||r}const Dl=async function(t){const e=this.getOffsetParent||so,r=this.getDimensions,n=await r(t.floating);return{reference:Ll(t.reference,await e(t.floating),t.strategy),floating:{x:0,y:0,width:n.width,height:n.height}}};function Pl(t){return vt(t).direction==="rtl"}const Tl={convertOffsetParentRelativeRectToViewportRelativeRect:$l,getDocumentElement:$t,getClippingRect:Sl,getOffsetParent:so,getElementRects:Dl,getClientRects:Al,getDimensions:kl,getScale:Mr,isElement:mt,isRTL:Pl};function oo(t,e){return t.x===e.x&&t.y===e.y&&t.width===e.width&&t.height===e.height}function Rl(t,e){let r=null,n;const i=$t(t);function s(){var l;clearTimeout(n),(l=r)==null||l.disconnect(),r=null}function o(l,c){l===void 0&&(l=!1),c===void 0&&(c=1),s();const u=t.getBoundingClientRect(),{left:g,top:y,width:x,height:b}=u;if(l||e(),!x||!b)return;const _=Hn(y),k=Hn(i.clientWidth-(g+x)),q=Hn(i.clientHeight-(y+b)),U=Hn(g),te={rootMargin:-_+"px "+-k+"px "+-q+"px "+-U+"px",threshold:$r(0,Ti(1,c))||1};let ae=!0;function O(le){const ie=le[0].intersectionRatio;if(ie!==c){if(!ae)return o();ie?o(!1,ie):n=setTimeout(()=>{o(!1,1e-7)},1e3)}ie===1&&!oo(u,t.getBoundingClientRect())&&o(),ae=!1}try{r=new IntersectionObserver(O,{...te,root:i.ownerDocument})}catch{r=new IntersectionObserver(O,te)}r.observe(t)}return o(!0),s}function Ol(t,e,r,n){n===void 0&&(n={});const{ancestorScroll:i=!0,ancestorResize:s=!0,elementResize:o=typeof ResizeObserver=="function",layoutShift:l=typeof IntersectionObserver=="function",animationFrame:c=!1}=n,u=ji(t),g=i||s?[...u?rn(u):[],...rn(e)]:[];g.forEach(U=>{i&&U.addEventListener("scroll",r,{passive:!0}),s&&U.addEventListener("resize",r)});const y=u&&l?Rl(u,r):null;let x=-1,b=null;o&&(b=new ResizeObserver(U=>{let[oe]=U;oe&&oe.target===u&&b&&(b.unobserve(e),cancelAnimationFrame(x),x=requestAnimationFrame(()=>{var te;(te=b)==null||te.observe(e)})),r()}),u&&!c&&b.observe(u),b.observe(e));let _,k=c?nr(t):null;c&&q();function q(){const U=nr(t);k&&!oo(k,U)&&r(),k=U,_=requestAnimationFrame(q)}return r(),()=>{var U;g.forEach(oe=>{i&&oe.removeEventListener("scroll",r),s&&oe.removeEventListener("resize",r)}),y==null||y(),(U=b)==null||U.disconnect(),b=null,c&&cancelAnimationFrame(_)}}const Bl=(t,e,r)=>{const n=new Map,i={platform:Tl,...r},s={...i.platform,_c:n};return bl(t,e,{...i,platform:s})};function jl(t){const e=t.renderRoot.querySelector(".inline-container-wrapper"),r=t.renderRoot.querySelector("[popover]");return Ol(e,r,()=>{r.matches(":popover-open")&&Bl(e,r,{strategy:"fixed"}).then(({x:i,y:s})=>{Object.assign(r.style,{left:`${i}px`,top:`${s}px`,width:`${e.getBoundingClientRect().width}px`})})},{animationFrame:!0})}function ao(t){t.renderRoot.querySelector("#eox-itemfilter-input-search").value="",Ws({target:{value:""}},t)}function Hl(t,e){e.inlineMode&&t.stopPropagation()}function Nl(t){t.inlineMode&&(t.showDropdown=!0)}function Il(t,e){e.inlineMode&&(t.stopPropagation(),e.showDropdown=!0)}function zl(t,e){e.inlineMode&&t.key==="Escape"&&e.showDropdown&&(ao(e),e.showDropdown=!1)}function Ul(t,e){e.inlineMode&&t.target instanceof HTMLElement&&t.target.tagName!=="DROPDOWN-FORM"&&t.target.tagName!=="EOX-ITEMFILTER"&&e.showDropdown&&(ao(e),e.showDropdown=!1)}function Fl(t,e){var r=0,n=0,i=0,s=0,o=0,l=0,c=0,u=0,g=null,y=null,x=t[0],b=t[1],_=e.length;for(r;r<_;r++){n=0;var k=e[r].length-1,q=e[r];if(g=q[0],g[0]!==q[k][0]&&g[1]!==q[k][1])throw new Error("First and last coordinates in a ring must be the same");for(o=g[0]-x,l=g[1]-b,n;n<k;n++){if(y=q[n+1],u=y[1]-b,l<0&&u<0||l>0&&u>0){g=y,l=u,o=g[0]-x;continue}if(c=y[0]-t[0],u>0&&l<=0){if(s=o*u-c*l,s>0)i=i+1;else if(s===0)return 0}else if(l>0&&u<=0){if(s=o*u-c*l,s<0)i=i+1;else if(s===0)return 0}else if(u===0&&l<0){if(s=o*u-c*l,s===0)return 0}else if(l===0&&u<0){if(s=o*u-c*l,s===0)return 0}else if(l===0&&u===0){if(c<=0&&o>=0)return 0;if(o<=0&&c>=0)return 0}g=y,l=u,o=c}}return i%2!==0}function ir(t,e,r={}){const n={type:"Feature"};return(r.id===0||r.id)&&(n.id=r.id),r.bbox&&(n.bbox=r.bbox),n.properties=e||{},n.geometry=t,n}function ql(t,e,r={}){if(!t)throw new Error("coordinates is required");if(!Array.isArray(t))throw new Error("coordinates must be an Array");if(t.length<2)throw new Error("coordinates must be at least 2 numbers long");if(!lo(t[0])||!lo(t[1]))throw new Error("coordinates must contain numbers");return ir({type:"Point",coordinates:t},e,r)}function Wl(t,e,r={}){if(t.length<2)throw new Error("coordinates must be an array of two or more positions");return ir({type:"LineString",coordinates:t},e,r)}function Ii(t,e={}){const r={type:"FeatureCollection"};return e.id&&(r.id=e.id),e.bbox&&(r.bbox=e.bbox),r.features=t,r}function Vl(t,e,r={}){return ir({type:"MultiLineString",coordinates:t},e,r)}function lo(t){return!isNaN(t)&&t!==null&&!Array.isArray(t)}function co(t){if(!t)throw new Error("coord is required");if(!Array.isArray(t)){if(t.type==="Feature"&&t.geometry!==null&&t.geometry.type==="Point")return[...t.geometry.coordinates];if(t.type==="Point")return[...t.coordinates]}if(Array.isArray(t)&&t.length>=2&&!Array.isArray(t[0])&&!Array.isArray(t[1]))return[...t];throw new Error("coord must be GeoJSON Point or an Array of numbers")}function Kl(t){if(Array.isArray(t))return t;if(t.type==="Feature"){if(t.geometry!==null)return t.geometry.coordinates}else if(t.coordinates)return t.coordinates;throw new Error("coords must be GeoJSON Feature, Geometry Object or an Array")}function Cr(t){return t.type==="Feature"?t.geometry:t}function ft(t,e,r={}){if(!t)throw new Error("point is required");if(!e)throw new Error("polygon is required");const n=co(t),i=Cr(e),s=i.type,o=e.bbox;let l=i.coordinates;if(o&&Gl(n,o)===!1)return!1;s==="Polygon"&&(l=[l]);let c=!1;for(var u=0;u<l.length;++u){const g=Fl(n,l[u]);if(g===0)return!r.ignoreBoundary;g&&(c=!0)}return c}function Gl(t,e){return e[0]<=t[0]&&e[1]<=t[1]&&e[2]>=t[0]&&e[3]>=t[1]}class uo{constructor(e=[],r=Yl){if(this.data=e,this.length=this.data.length,this.compare=r,this.length>0)for(let n=(this.length>>1)-1;n>=0;n--)this._down(n)}push(e){this.data.push(e),this.length++,this._up(this.length-1)}pop(){if(this.length===0)return;const e=this.data[0],r=this.data.pop();return this.length--,this.length>0&&(this.data[0]=r,this._down(0)),e}peek(){return this.data[0]}_up(e){const{data:r,compare:n}=this,i=r[e];for(;e>0;){const s=e-1>>1,o=r[s];if(n(i,o)>=0)break;r[e]=o,e=s}r[e]=i}_down(e){const{data:r,compare:n}=this,i=this.length>>1,s=r[e];for(;e<i;){let o=(e<<1)+1,l=r[o];const c=o+1;if(c<this.length&&n(r[c],l)<0&&(o=c,l=r[c]),n(l,s)>=0)break;r[e]=l,e=o}r[e]=s}}function Yl(t,e){return t<e?-1:t>e?1:0}function ho(t,e){return t.p.x>e.p.x?1:t.p.x<e.p.x?-1:t.p.y!==e.p.y?t.p.y>e.p.y?1:-1:1}function Zl(t,e){return t.rightSweepEvent.p.x>e.rightSweepEvent.p.x?1:t.rightSweepEvent.p.x<e.rightSweepEvent.p.x?-1:t.rightSweepEvent.p.y!==e.rightSweepEvent.p.y?t.rightSweepEvent.p.y<e.rightSweepEvent.p.y?1:-1:1}class fo{constructor(e,r,n,i){this.p={x:e[0],y:e[1]},this.featureId=r,this.ringId=n,this.eventId=i,this.otherEvent=null,this.isLeftEndpoint=null}isSamePoint(e){return this.p.x===e.p.x&&this.p.y===e.p.y}}function Xl(t,e){if(t.type==="FeatureCollection"){const r=t.features;for(let n=0;n<r.length;n++)po(r[n],e)}else po(t,e)}let Un=0,Fn=0,qn=0;function po(t,e){const r=t.type==="Feature"?t.geometry:t;let n=r.coordinates;(r.type==="Polygon"||r.type==="MultiLineString")&&(n=[n]),r.type==="LineString"&&(n=[[n]]);for(let i=0;i<n.length;i++)for(let s=0;s<n[i].length;s++){let o=n[i][s][0],l=null;Fn=Fn+1;for(let c=0;c<n[i][s].length-1;c++){l=n[i][s][c+1];const u=new fo(o,Un,Fn,qn),g=new fo(l,Un,Fn,qn+1);u.otherEvent=g,g.otherEvent=u,ho(u,g)>0?(g.isLeftEndpoint=!0,u.isLeftEndpoint=!1):(u.isLeftEndpoint=!0,g.isLeftEndpoint=!1),e.push(u),e.push(g),o=l,qn=qn+1}}Un=Un+1}class Jl{constructor(e){this.leftSweepEvent=e,this.rightSweepEvent=e.otherEvent}}function Ql(t,e){if(t===null||e===null||t.leftSweepEvent.ringId===e.leftSweepEvent.ringId&&(t.rightSweepEvent.isSamePoint(e.leftSweepEvent)||t.rightSweepEvent.isSamePoint(e.leftSweepEvent)||t.rightSweepEvent.isSamePoint(e.rightSweepEvent)||t.leftSweepEvent.isSamePoint(e.leftSweepEvent)||t.leftSweepEvent.isSamePoint(e.rightSweepEvent)))return!1;const r=t.leftSweepEvent.p.x,n=t.leftSweepEvent.p.y,i=t.rightSweepEvent.p.x,s=t.rightSweepEvent.p.y,o=e.leftSweepEvent.p.x,l=e.leftSweepEvent.p.y,c=e.rightSweepEvent.p.x,u=e.rightSweepEvent.p.y,g=(u-l)*(i-r)-(c-o)*(s-n),y=(c-o)*(n-l)-(u-l)*(r-o),x=(i-r)*(n-l)-(s-n)*(r-o);if(g===0)return!1;const b=y/g,_=x/g;if(b>=0&&b<=1&&_>=0&&_<=1){const k=r+b*(i-r),q=n+b*(s-n);return[k,q]}return!1}function ec(t,e){e=e||!1;const r=[],n=new uo([],Zl);for(;t.length;){const i=t.pop();if(i.isLeftEndpoint){const s=new Jl(i);for(let o=0;o<n.data.length;o++){const l=n.data[o];if(e&&l.leftSweepEvent.featureId===i.featureId)continue;const c=Ql(s,l);c!==!1&&r.push(c)}n.push(s)}else i.isLeftEndpoint===!1&&n.pop()}return r}function tc(t,e){const r=new uo([],ho);return Xl(t,r),ec(r,e)}var rc=tc;function zi(t,e,r={}){const{removeDuplicates:n=!0,ignoreSelfIntersections:i=!0}=r;let s=[];t.type==="FeatureCollection"?s=s.concat(t.features):t.type==="Feature"?s.push(t):(t.type==="LineString"||t.type==="Polygon"||t.type==="MultiLineString"||t.type==="MultiPolygon")&&s.push(ir(t)),e.type==="FeatureCollection"?s=s.concat(e.features):e.type==="Feature"?s.push(e):(e.type==="LineString"||e.type==="Polygon"||e.type==="MultiLineString"||e.type==="MultiPolygon")&&s.push(ir(e));const o=rc(Ii(s),i);let l=[];if(n){const c={};o.forEach(u=>{const g=u.join(",");c[g]||(c[g]=!0,l.push(u))})}else l=o;return Ii(l.map(c=>ql(c)))}function go(t,e,r){if(t!==null)for(var n,i,s,o,l,c,u,g=0,y=0,x,b=t.type,_=b==="FeatureCollection",k=b==="Feature",q=_?t.features.length:1,U=0;U<q;U++){u=_?t.features[U].geometry:k?t.geometry:t,x=u?u.type==="GeometryCollection":!1,l=x?u.geometries.length:1;for(var oe=0;oe<l;oe++){var te=0,ae=0;if(o=x?u.geometries[oe]:u,o!==null){c=o.coordinates;var O=o.type;switch(g=0,O){case null:break;case"Point":if(e(c,y,U,te,ae)===!1)return!1;y++,te++;break;case"LineString":case"MultiPoint":for(n=0;n<c.length;n++){if(e(c[n],y,U,te,ae)===!1)return!1;y++,O==="MultiPoint"&&te++}O==="LineString"&&te++;break;case"Polygon":case"MultiLineString":for(n=0;n<c.length;n++){for(i=0;i<c[n].length-g;i++){if(e(c[n][i],y,U,te,ae)===!1)return!1;y++}O==="MultiLineString"&&te++,O==="Polygon"&&ae++}O==="Polygon"&&te++;break;case"MultiPolygon":for(n=0;n<c.length;n++){for(ae=0,i=0;i<c[n].length;i++){for(s=0;s<c[n][i].length-g;s++){if(e(c[n][i][s],y,U,te,ae)===!1)return!1;y++}ae++}te++}break;case"GeometryCollection":for(n=0;n<o.geometries.length;n++)if(go(o.geometries[n],e)===!1)return!1;break;default:throw new Error("Unknown Geometry Type")}}}}}function nc(t,e){var r,n,i,s,o,l,c,u,g,y,x=0,b=t.type==="FeatureCollection",_=t.type==="Feature",k=b?t.features.length:1;for(r=0;r<k;r++){for(l=b?t.features[r].geometry:_?t.geometry:t,u=b?t.features[r].properties:_?t.properties:{},g=b?t.features[r].bbox:_?t.bbox:void 0,y=b?t.features[r].id:_?t.id:void 0,c=l?l.type==="GeometryCollection":!1,o=c?l.geometries.length:1,i=0;i<o;i++){if(s=c?l.geometries[i]:l,s===null){if(e(null,x,u,g,y)===!1)return!1;continue}switch(s.type){case"Point":case"LineString":case"MultiPoint":case"Polygon":case"MultiLineString":case"MultiPolygon":{if(e(s,x,u,g,y)===!1)return!1;break}case"GeometryCollection":{for(n=0;n<s.geometries.length;n++)if(e(s.geometries[n],x,u,g,y)===!1)return!1;break}default:throw new Error("Unknown Geometry Type")}}x++}}function Wn(t,e){nc(t,function(r,n,i,s,o){var l=r===null?null:r.type;switch(l){case null:case"Point":case"LineString":case"Polygon":return e(ir(r,i,{bbox:s,id:o}),n,0)===!1?!1:void 0}var c;switch(l){case"MultiPoint":c="Point";break;case"MultiLineString":c="LineString";break;case"MultiPolygon":c="Polygon";break}for(var u=0;u<r.coordinates.length;u++){var g=r.coordinates[u],y={type:c,coordinates:g};if(e(ir(y,i),n,u)===!1)return!1}})}function Ui(t,e={}){const r=Cr(t);switch(!e.properties&&t.type==="Feature"&&(e.properties=t.properties),r.type){case"Polygon":return ic(r,e);case"MultiPolygon":return sc(r,e);default:throw new Error("invalid poly")}}function ic(t,e={}){const n=Cr(t).coordinates,i=e.properties?e.properties:t.type==="Feature"?t.properties:{};return yo(n,i)}function sc(t,e={}){const n=Cr(t).coordinates,i=e.properties?e.properties:t.type==="Feature"?t.properties:{},s=[];return n.forEach(o=>{s.push(yo(o,i))}),Ii(s)}function yo(t,e){return t.length>1?Vl(t,e):Wl(t[0],e)}function oc(t,e,{ignoreSelfIntersections:r=!0}={ignoreSelfIntersections:!0}){let n=!0;return Wn(t,i=>{Wn(e,s=>{if(n===!1)return!1;n=ac(i.geometry,s.geometry,r)})}),n}function ac(t,e,r){switch(t.type){case"Point":switch(e.type){case"Point":return!dc(t.coordinates,e.coordinates);case"LineString":return!bo(e,t);case"Polygon":return!ft(t,e)}break;case"LineString":switch(e.type){case"Point":return!bo(t,e);case"LineString":return!lc(t,e,r);case"Polygon":return!mo(e,t,r)}break;case"Polygon":switch(e.type){case"Point":return!ft(e,t);case"LineString":return!mo(t,e,r);case"Polygon":return!cc(e,t,r)}}return!1}function bo(t,e){for(let r=0;r<t.coordinates.length-1;r++)if(uc(t.coordinates[r],t.coordinates[r+1],e.coordinates))return!0;return!1}function lc(t,e,r){return zi(t,e,{ignoreSelfIntersections:r}).features.length>0}function mo(t,e,r){for(const i of e.coordinates)if(ft(i,t))return!0;return zi(e,Ui(t),{ignoreSelfIntersections:r}).features.length>0}function cc(t,e,r){for(const i of t.coordinates[0])if(ft(i,e))return!0;for(const i of e.coordinates[0])if(ft(i,t))return!0;return zi(Ui(t),Ui(e),{ignoreSelfIntersections:r}).features.length>0}function uc(t,e,r){const n=r[0]-t[0],i=r[1]-t[1],s=e[0]-t[0],o=e[1]-t[1];return n*o-i*s!==0?!1:Math.abs(s)>=Math.abs(o)?s>0?t[0]<=r[0]&&r[0]<=e[0]:e[0]<=r[0]&&r[0]<=t[0]:o>0?t[1]<=r[1]&&r[1]<=e[1]:e[1]<=r[1]&&r[1]<=t[1]}function dc(t,e){return t[0]===e[0]&&t[1]===e[1]}function hc(t,e,{ignoreSelfIntersections:r=!0}={}){let n=!1;return Wn(t,i=>{Wn(e,s=>{if(n===!0)return!0;n=!oc(i.geometry,s.geometry,{ignoreSelfIntersections:r})})}),n}var fc=hc;function Vn(t,e={}){if(t.bbox!=null&&e.recompute!==!0)return t.bbox;const r=[1/0,1/0,-1/0,-1/0];return go(t,n=>{r[0]>n[0]&&(r[0]=n[0]),r[1]>n[1]&&(r[1]=n[1]),r[2]<n[0]&&(r[2]=n[0]),r[3]<n[1]&&(r[3]=n[1])}),r}function Kn(t,e,r={}){const n=co(t),i=Kl(e);for(let s=0;s<i.length-1;s++){let o=!1;if(r.ignoreEndVertices&&(s===0&&(o="start"),s===i.length-2&&(o="end"),s===0&&s+1===i.length-1&&(o="both")),pc(i[s],i[s+1],n,o,typeof r.epsilon>"u"?null:r.epsilon))return!0}return!1}function pc(t,e,r,n,i){const s=r[0],o=r[1],l=t[0],c=t[1],u=e[0],g=e[1],y=r[0]-l,x=r[1]-c,b=u-l,_=g-c,k=y*_-x*b;if(i!==null){if(Math.abs(k)>i)return!1}else if(k!==0)return!1;if(Math.abs(b)===Math.abs(_)&&Math.abs(b)===0)return n?!1:r[0]===t[0]&&r[1]===t[1];if(n){if(n==="start")return Math.abs(b)>=Math.abs(_)?b>0?l<s&&s<=u:u<=s&&s<l:_>0?c<o&&o<=g:g<=o&&o<c;if(n==="end")return Math.abs(b)>=Math.abs(_)?b>0?l<=s&&s<u:u<s&&s<=l:_>0?c<=o&&o<g:g<o&&o<=c;if(n==="both")return Math.abs(b)>=Math.abs(_)?b>0?l<s&&s<u:u<s&&s<l:_>0?c<o&&o<g:g<o&&o<c}else return Math.abs(b)>=Math.abs(_)?b>0?l<=s&&s<=u:u<=s&&s<=l:_>0?c<=o&&o<=g:g<=o&&o<=c;return!1}function gc(t,e){var r=Cr(t),n=Cr(e),i=r.type,s=n.type;switch(i){case"Point":switch(s){case"MultiPoint":return yc(r,n);case"LineString":return Kn(r,n,{ignoreEndVertices:!0});case"Polygon":case"MultiPolygon":return ft(r,n,{ignoreBoundary:!0});default:throw new Error("feature2 "+s+" geometry not supported")}case"MultiPoint":switch(s){case"MultiPoint":return bc(r,n);case"LineString":return mc(r,n);case"Polygon":case"MultiPolygon":return vc(r,n);default:throw new Error("feature2 "+s+" geometry not supported")}case"LineString":switch(s){case"LineString":return wc(r,n);case"Polygon":case"MultiPolygon":return xc(r,n);default:throw new Error("feature2 "+s+" geometry not supported")}case"Polygon":switch(s){case"Polygon":case"MultiPolygon":return $c(r,n);default:throw new Error("feature2 "+s+" geometry not supported")}default:throw new Error("feature1 "+i+" geometry not supported")}}function yc(t,e){var r,n=!1;for(r=0;r<e.coordinates.length;r++)if(wo(e.coordinates[r],t.coordinates)){n=!0;break}return n}function bc(t,e){for(var r=0;r<t.coordinates.length;r++){for(var n=!1,i=0;i<e.coordinates.length;i++)wo(t.coordinates[r],e.coordinates[i])&&(n=!0);if(!n)return!1}return!0}function mc(t,e){for(var r=!1,n=0;n<t.coordinates.length;n++){if(!Kn(t.coordinates[n],e))return!1;r||(r=Kn(t.coordinates[n],e,{ignoreEndVertices:!0}))}return r}function vc(t,e){for(var r=!0,n=!1,i=0;i<t.coordinates.length;i++){if(n=ft(t.coordinates[i],e),!n){r=!1;break}n=ft(t.coordinates[i],e,{ignoreBoundary:!0})}return r&&n}function wc(t,e){for(var r=0;r<t.coordinates.length;r++)if(!Kn(t.coordinates[r],e))return!1;return!0}function xc(t,e){var r=Vn(e),n=Vn(t);if(!vo(r,n))return!1;for(var i=!1,s=0;s<t.coordinates.length;s++){if(!ft(t.coordinates[s],e))return!1;if(i||(i=ft(t.coordinates[s],e,{ignoreBoundary:!0})),!i&&s<t.coordinates.length-1){var o=Ac(t.coordinates[s],t.coordinates[s+1]);i=ft(o,e,{ignoreBoundary:!0})}}return i}function $c(t,e){var r=Vn(t),n=Vn(e);if(!vo(n,r))return!1;for(var i=0;i<t.coordinates[0].length;i++)if(!ft(t.coordinates[0][i],e))return!1;return!0}function vo(t,e){return!(t[0]>e[0]||t[2]<e[2]||t[1]>e[1]||t[3]<e[3])}function wo(t,e){return t[0]===e[0]&&t[1]===e[1]}function Ac(t,e){return[(t[0]+e[0])/2,(t[1]+e[1])/2]}var _c=gc;const Mc=(t,e)=>e?fc(t,e):!0,Cc=(t,e)=>e?_c(t,e):!0;function Ec(t,e="highlight",r="title"){const n=(s,o,l)=>{const c=o.split(".");let u;for(u=0;u<c.length-1;u++)s=s[c[u]];s[c[u]]=l},i=(s,o=[])=>{let l="",c=0;return o.forEach(u=>{const g=u[1]+1;l+=[s.substring(c,u[0]),`<mark class="${e}">`,s.substring(u[0],g),"</mark>"].join(""),c=g}),l+=s.substring(c),l};return t.filter(({matches:s})=>s&&s.length).map(({item:s,matches:o})=>{const l={...s};return o.forEach(c=>{c.key===r&&n(l,c.key,i(c.value,c.indices))}),l})}var pt=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Gn(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var Yn={exports:{}},Sc=Yn.exports,xo;function kc(){return xo||(xo=1,function(t,e){(function(r,n){t.exports=n()})(Sc,function(){var r=1e3,n=6e4,i=36e5,s="millisecond",o="second",l="minute",c="hour",u="day",g="week",y="month",x="quarter",b="year",_="date",k="Invalid Date",q=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,U=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,oe={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(D){var E=["th","st","nd","rd"],C=D%100;return"["+D+(E[(C-20)%10]||E[C]||E[0])+"]"}},te=function(D,E,C){var N=String(D);return!N||N.length>=E?D:""+Array(E+1-N.length).join(C)+D},ae={s:te,z:function(D){var E=-D.utcOffset(),C=Math.abs(E),N=Math.floor(C/60),L=C%60;return(E<=0?"+":"-")+te(N,2,"0")+":"+te(L,2,"0")},m:function D(E,C){if(E.date()<C.date())return-D(C,E);var N=12*(C.year()-E.year())+(C.month()-E.month()),L=E.clone().add(N,y),V=C-L<0,K=E.clone().add(N+(V?-1:1),y);return+(-(N+(C-L)/(V?L-K:K-L))||0)},a:function(D){return D<0?Math.ceil(D)||0:Math.floor(D)},p:function(D){return{M:y,y:b,w:g,d:u,D:_,h:c,m:l,s:o,ms:s,Q:x}[D]||String(D||"").toLowerCase().replace(/s$/,"")},u:function(D){return D===void 0}},O="en",le={};le[O]=oe;var ie="$isDayjsObject",$e=function(D){return D instanceof ve||!(!D||!D[ie])},Ae=function D(E,C,N){var L;if(!E)return O;if(typeof E=="string"){var V=E.toLowerCase();le[V]&&(L=V),C&&(le[V]=C,L=V);var K=E.split("-");if(!L&&K.length>1)return D(K[0])}else{var ne=E.name;le[ne]=E,L=ne}return!N&&L&&(O=L),L||!N&&O},pe=function(D,E){if($e(D))return D.clone();var C=typeof E=="object"?E:{};return C.date=D,C.args=arguments,new ve(C)},Q=ae;Q.l=Ae,Q.i=$e,Q.w=function(D,E){return pe(D,{locale:E.$L,utc:E.$u,x:E.$x,$offset:E.$offset})};var ve=function(){function D(C){this.$L=Ae(C.locale,null,!0),this.parse(C),this.$x=this.$x||C.x||{},this[ie]=!0}var E=D.prototype;return E.parse=function(C){this.$d=function(N){var L=N.date,V=N.utc;if(L===null)return new Date(NaN);if(Q.u(L))return new Date;if(L instanceof Date)return new Date(L);if(typeof L=="string"&&!/Z$/i.test(L)){var K=L.match(q);if(K){var ne=K[2]-1||0,ge=(K[7]||"0").substring(0,3);return V?new Date(Date.UTC(K[1],ne,K[3]||1,K[4]||0,K[5]||0,K[6]||0,ge)):new Date(K[1],ne,K[3]||1,K[4]||0,K[5]||0,K[6]||0,ge)}}return new Date(L)}(C),this.init()},E.init=function(){var C=this.$d;this.$y=C.getFullYear(),this.$M=C.getMonth(),this.$D=C.getDate(),this.$W=C.getDay(),this.$H=C.getHours(),this.$m=C.getMinutes(),this.$s=C.getSeconds(),this.$ms=C.getMilliseconds()},E.$utils=function(){return Q},E.isValid=function(){return this.$d.toString()!==k},E.isSame=function(C,N){var L=pe(C);return this.startOf(N)<=L&&L<=this.endOf(N)},E.isAfter=function(C,N){return pe(C)<this.startOf(N)},E.isBefore=function(C,N){return this.endOf(N)<pe(C)},E.$g=function(C,N,L){return Q.u(C)?this[N]:this.set(L,C)},E.unix=function(){return Math.floor(this.valueOf()/1e3)},E.valueOf=function(){return this.$d.getTime()},E.startOf=function(C,N){var L=this,V=!!Q.u(N)||N,K=Q.p(C),ne=function(Se,G){var Ke=Q.w(L.$u?Date.UTC(L.$y,G,Se):new Date(L.$y,G,Se),L);return V?Ke:Ke.endOf(u)},ge=function(Se,G){return Q.w(L.toDate()[Se].apply(L.toDate("s"),(V?[0,0,0,0]:[23,59,59,999]).slice(G)),L)},Ee=this.$W,Te=this.$M,ze=this.$D,ke="set"+(this.$u?"UTC":"");switch(K){case b:return V?ne(1,0):ne(31,11);case y:return V?ne(1,Te):ne(0,Te+1);case g:var j=this.$locale().weekStart||0,Be=(Ee<j?Ee+7:Ee)-j;return ne(V?ze-Be:ze+(6-Be),Te);case u:case _:return ge(ke+"Hours",0);case c:return ge(ke+"Minutes",1);case l:return ge(ke+"Seconds",2);case o:return ge(ke+"Milliseconds",3);default:return this.clone()}},E.endOf=function(C){return this.startOf(C,!1)},E.$set=function(C,N){var L,V=Q.p(C),K="set"+(this.$u?"UTC":""),ne=(L={},L[u]=K+"Date",L[_]=K+"Date",L[y]=K+"Month",L[b]=K+"FullYear",L[c]=K+"Hours",L[l]=K+"Minutes",L[o]=K+"Seconds",L[s]=K+"Milliseconds",L)[V],ge=V===u?this.$D+(N-this.$W):N;if(V===y||V===b){var Ee=this.clone().set(_,1);Ee.$d[ne](ge),Ee.init(),this.$d=Ee.set(_,Math.min(this.$D,Ee.daysInMonth())).$d}else ne&&this.$d[ne](ge);return this.init(),this},E.set=function(C,N){return this.clone().$set(C,N)},E.get=function(C){return this[Q.p(C)]()},E.add=function(C,N){var L,V=this;C=Number(C);var K=Q.p(N),ne=function(Te){var ze=pe(V);return Q.w(ze.date(ze.date()+Math.round(Te*C)),V)};if(K===y)return this.set(y,this.$M+C);if(K===b)return this.set(b,this.$y+C);if(K===u)return ne(1);if(K===g)return ne(7);var ge=(L={},L[l]=n,L[c]=i,L[o]=r,L)[K]||1,Ee=this.$d.getTime()+C*ge;return Q.w(Ee,this)},E.subtract=function(C,N){return this.add(-1*C,N)},E.format=function(C){var N=this,L=this.$locale();if(!this.isValid())return L.invalidDate||k;var V=C||"YYYY-MM-DDTHH:mm:ssZ",K=Q.z(this),ne=this.$H,ge=this.$m,Ee=this.$M,Te=L.weekdays,ze=L.months,ke=L.meridiem,j=function(G,Ke,yt,we){return G&&(G[Ke]||G(N,V))||yt[Ke].slice(0,we)},Be=function(G){return Q.s(ne%12||12,G,"0")},Se=ke||function(G,Ke,yt){var we=G<12?"AM":"PM";return yt?we.toLowerCase():we};return V.replace(U,function(G,Ke){return Ke||function(yt){switch(yt){case"YY":return String(N.$y).slice(-2);case"YYYY":return Q.s(N.$y,4,"0");case"M":return Ee+1;case"MM":return Q.s(Ee+1,2,"0");case"MMM":return j(L.monthsShort,Ee,ze,3);case"MMMM":return j(ze,Ee);case"D":return N.$D;case"DD":return Q.s(N.$D,2,"0");case"d":return String(N.$W);case"dd":return j(L.weekdaysMin,N.$W,Te,2);case"ddd":return j(L.weekdaysShort,N.$W,Te,3);case"dddd":return Te[N.$W];case"H":return String(ne);case"HH":return Q.s(ne,2,"0");case"h":return Be(1);case"hh":return Be(2);case"a":return Se(ne,ge,!0);case"A":return Se(ne,ge,!1);case"m":return String(ge);case"mm":return Q.s(ge,2,"0");case"s":return String(N.$s);case"ss":return Q.s(N.$s,2,"0");case"SSS":return Q.s(N.$ms,3,"0");case"Z":return K}return null}(G)||K.replace(":","")})},E.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},E.diff=function(C,N,L){var V,K=this,ne=Q.p(N),ge=pe(C),Ee=(ge.utcOffset()-this.utcOffset())*n,Te=this-ge,ze=function(){return Q.m(K,ge)};switch(ne){case b:V=ze()/12;break;case y:V=ze();break;case x:V=ze()/3;break;case g:V=(Te-Ee)/6048e5;break;case u:V=(Te-Ee)/864e5;break;case c:V=Te/i;break;case l:V=Te/n;break;case o:V=Te/r;break;default:V=Te}return L?V:Q.a(V)},E.daysInMonth=function(){return this.endOf(y).$D},E.$locale=function(){return le[this.$L]},E.locale=function(C,N){if(!C)return this.$L;var L=this.clone(),V=Ae(C,N,!0);return V&&(L.$L=V),L},E.clone=function(){return Q.w(this.$d,this)},E.toDate=function(){return new Date(this.valueOf())},E.toJSON=function(){return this.isValid()?this.toISOString():null},E.toISOString=function(){return this.$d.toISOString()},E.toString=function(){return this.$d.toUTCString()},D}(),Fe=ve.prototype;return pe.prototype=Fe,[["$ms",s],["$s",o],["$m",l],["$H",c],["$W",u],["$M",y],["$y",b],["$D",_]].forEach(function(D){Fe[D[1]]=function(E){return this.$g(E,D[0],D[1])}}),pe.extend=function(D,E){return D.$i||(D(E,ve,pe),D.$i=!0),pe},pe.locale=Ae,pe.isDayjs=$e,pe.unix=function(D){return pe(1e3*D)},pe.en=le[O],pe.Ls=le,pe.p={},pe})}(Yn)),Yn.exports}var Lc=kc();const nn=Gn(Lc);let $o;const Dc=(t,e)=>{$o=new Ut(t,{threshold:.4,distance:50,includeMatches:!0,useExtendedSearch:!0,...e})},Pc=async(t,e,r)=>{const n=Object.entries(e).filter(([,l])=>l.type==="text"||l.type==="select"||l.type==="multiselect").reduce((l,[c,u])=>{const g="$or",y=[],x=(b,_)=>{const k={};u.type==="text"?k[b]=`${_}`:k[c]=`="${b}"`,y.push(k)};return Object.entries(u.state).filter(([,b])=>b).forEach(([b,_])=>x(b,_)),y.length>0&&l.push({[g]:y}),l},[]);let i;if(!(n.length>0)&&r.matchAllWhenEmpty!==!1)i=t;else{const l={$and:[...n]},c=$o.search(l);i=r.enableHighlighting?Ec(c,"highlight",r.titleProperty):c.map(u=>u.item)}const s=Object.entries(e).filter(([,l])=>l.type==="range").reduce((l,[c,u])=>(l[c]={min:u.state.min,max:u.state.max,format:u.format},l),{});if(Object.keys(s).length>0){const l=[];for(let c=0;c<i.length;c++){const u={};for(const[g,y]of Object.entries(s)){const x=_=>y.format==="date"?nn(_).unix():_,b=sn(g,i[c]);b?Array.isArray(b)?u[g]=s[g].min<=x(b[1])&&x(b[0])<=s[g].max:x(b)>=s[g].min&&x(b)<=s[g].max?u[g]=!0:u[g]=!1:u[g]=!0}Object.values(u).every(g=>!!g)&&l.push(i[c])}i=[...l]}const o=Object.entries(e).filter(([,l])=>l.type==="spatial").reduce((l,[c,u])=>(l[c]={geometry:u.state.geometry,mode:u.state.mode},l),{});if(Object.values(o).map(l=>l.geometry).filter(l=>!!l).length>0){const l=[];for(let c=0;c<i.length;c++){const u={};for(const g of Object.keys(o)){const y=sn(g,i[c]),x=o[g].mode||"within";y&&(x==="within"?Cc(y,o[g].geometry):Mc(y,o[g].geometry))?u[g]=!0:u[g]=!1}Object.values(u).every(g=>!!g)&&l.push(i[c])}i=[...l]}return i};function Tc(t,e){return[{type:"Vector",properties:{id:"draw"},source:{type:"Vector",...t&&{format:"GeoJSON"},...t&&{url:e}},zIndex:1,interactions:[{type:"draw",options:{id:"drawInteraction",type:"Box",modify:!0}}]},{type:"Tile",source:{type:"XYZ",url:"https://tiles.maps.eox.at/wmts/1.0.0/osm_3857/default/g/{z}/{y}/{x}.jpg",attribution:"{ OSM: Data © OpenStreetMap contributors and others, Rendering © EOX }"}}]}function Zn(t){if(!t.dirty)return null;switch(t.type){case"multiselect":for(const r in t.state)t.state.hasOwnProperty(r)&&(t.state[r]=!1);break;case"range":t.state.min=t.min,t.state.max=t.max;break;case"select":for(const r in t.state)t.state.hasOwnProperty(r)&&(t.state[r]=!1);break;case"spatial":t.state.geometry=void 0;break;case"text":t.keys.forEach(r=>{t.state[r]=void 0});break}return delete t.stringifiedState,delete t.dirty,t}function Ao(t,e){return t*2+e}function Rc(t){return Object.keys(t).map(e=>({title:ee`${t[e].title||t[e].key}:
|
|
626
|
+
<strong>${t[e].stringifiedState}</strong>`,key:e})).filter(e=>t[e.key].dirty)}function Fi(t){return Object.values(t).map(e=>e.dirty).filter(e=>e).length>0}async function Oc(t,e,r){return await(await fetch(`${r.externalFilter(t,e)}`)).json()}function _o(t,e,r){let n;if(t.detail?n=t.detail.target:n=t.target,n!=null&&n.classList.contains("details-filter")){if(!n.open||e!=null&&e.expandMultipleFilters)return;r.shadowRoot.querySelectorAll("eox-itemfilter-expandcontainer").forEach(i=>{const s=i.shadowRoot.querySelector(".details-filter");s&&s!==n&&s.removeAttribute("open")})}else{if(!(n!=null&&n.open)||e!=null&&e.expandMultipleResults)return;r.querySelectorAll("details").forEach(i=>{i!==n&&i.removeAttribute("open")})}}function sn(t,e){return t!=null&&t.includes(".")?t.split(".").reduce((r,n)=>r&&r[n],e):e[t]}class Bc extends tt{constructor(){super();it(this,Ce);this.filterProperties={},this.unstyled=!1,this.inlineMode=!1,this.filters={},this._handleClickOutside=fe(this,Ce,Ko).bind(this),this._handleKeyDown=fe(this,Ce,us).bind(this)}static get properties(){return{filterProperties:{attribute:!1,type:Object},inlineMode:{attribute:"inline-mode",type:Boolean},unstyled:{type:Boolean},filters:{state:!0,type:Object}}}set showDropdown(r){this.renderRoot.querySelector("[popover]").togglePopover(r)}get showDropdown(){var r;return(r=this.renderRoot.querySelector("[popover]"))==null?void 0:r.matches(":popover-open")}connectedCallback(){super.connectedCallback(),this.inlineMode&&fe(this,Ce,ls).call(this)}disconnectedCallback(){this.inlineMode&&fe(this,Ce,cs).call(this),super.disconnectedCallback()}_overlayCleanup(){}updateInline(){this.inlineMode&&this.requestUpdate()}updated(r){r.has("inlineMode")&&(this.inlineMode?fe(this,Ce,ls).call(this):fe(this,Ce,cs).call(this))}render(){return ee`
|
|
600
627
|
<style>
|
|
601
|
-
${!this.unstyled&&
|
|
628
|
+
${!this.unstyled&&en}
|
|
602
629
|
</style>
|
|
603
630
|
${this.inlineMode?ee`
|
|
604
631
|
<div
|
|
605
632
|
class="inline-container-wrapper"
|
|
606
|
-
@click="${
|
|
633
|
+
@click="${fe(this,Ce,ds)}"
|
|
607
634
|
>
|
|
608
635
|
<div class="inline-container" part="container">
|
|
609
636
|
<div class="chip-container">
|
|
610
637
|
<div class="chip-wrapper">
|
|
611
638
|
<eox-itemfilter-chips
|
|
612
|
-
.items=${
|
|
613
|
-
.controller=${{remove:r=>
|
|
639
|
+
.items=${Rc(this.filters)}
|
|
640
|
+
.controller=${{remove:r=>fe(this,Ce,Yo).call(this,r)}}
|
|
614
641
|
>
|
|
615
642
|
</eox-itemfilter-chips>
|
|
616
643
|
</div>
|
|
617
644
|
|
|
618
|
-
${
|
|
645
|
+
${Ve(Fi(this.filters),()=>ee`
|
|
619
646
|
<span
|
|
620
647
|
class="chip-close"
|
|
621
648
|
@click=${()=>this.dispatchEvent(new CustomEvent("reset"))}
|
|
@@ -623,15 +650,15 @@ input {
|
|
|
623
650
|
`)}
|
|
624
651
|
</div>
|
|
625
652
|
<div
|
|
626
|
-
class="input-container ${
|
|
653
|
+
class="input-container ${Fi(this.filters)?"dirty-filter-input":""}"
|
|
627
654
|
>
|
|
628
655
|
<input
|
|
629
656
|
autocomplete="off"
|
|
630
657
|
id="eox-itemfilter-input-search"
|
|
631
658
|
type="text"
|
|
632
|
-
@click="${
|
|
633
|
-
@focus="${
|
|
634
|
-
@input="${
|
|
659
|
+
@click="${fe(this,Ce,ds)}"
|
|
660
|
+
@focus="${fe(this,Ce,Go)}"
|
|
661
|
+
@input="${fe(this,Ce,Zo)}"
|
|
635
662
|
placeholder="Search and add filter"
|
|
636
663
|
aria-haspopup="true"
|
|
637
664
|
aria-expanded="${this.showDropdown}"
|
|
@@ -642,16 +669,16 @@ input {
|
|
|
642
669
|
<div
|
|
643
670
|
class="inline-content"
|
|
644
671
|
slot="content"
|
|
645
|
-
@keydown="${
|
|
646
|
-
@click="${
|
|
647
|
-
@focus="${
|
|
672
|
+
@keydown="${fe(this,Ce,us)}"
|
|
673
|
+
@click="${fe(this,Ce,hs)}"
|
|
674
|
+
@focus="${fe(this,Ce,hs)}"
|
|
648
675
|
>
|
|
649
676
|
<slot name="section"></slot>
|
|
650
677
|
</div>
|
|
651
678
|
</div>
|
|
652
679
|
</div>
|
|
653
680
|
`:ee`<slot name="section"></slot>`}
|
|
654
|
-
`}}Ce=new WeakSet,
|
|
681
|
+
`}}Ce=new WeakSet,Vo=function(){setTimeout(()=>this._overlayCleanup=jl(this))},ls=function(){document.addEventListener("click",this._handleClickOutside),document.addEventListener("focusout",this._handleClickOutside),document.addEventListener("keydown",this._handleKeyDown),fe(this,Ce,Vo).call(this)},cs=function(){document.removeEventListener("click",this._handleClickOutside),document.removeEventListener("focusout",this._handleClickOutside),document.removeEventListener("keydown",this._handleKeyDown),this._overlayCleanup()},Ko=function(r){Ul(r,this)},us=function(r){zl(r,this)},ds=function(r){Il(r,this)},Go=function(){Nl(this)},hs=function(r){Hl(r,this)},Yo=function(r){hl(r,this)},Zo=function(r){Ws(r,this)},customElements.define("eox-itemfilter-container",Bc);var qi,Mo;function jc(){if(Mo)return qi;Mo=1;var t="Expected a function",e=NaN,r="[object Symbol]",n=/^\s+|\s+$/g,i=/^[-+]0x[0-9a-f]+$/i,s=/^0b[01]+$/i,o=/^0o[0-7]+$/i,l=parseInt,c=typeof pt=="object"&&pt&&pt.Object===Object&&pt,u=typeof self=="object"&&self&&self.Object===Object&&self,g=c||u||Function("return this")(),y=Object.prototype,x=y.toString,b=Math.max,_=Math.min,k=function(){return g.Date.now()};function q(O,le,ie){var $e,Ae,pe,Q,ve,Fe,D=0,E=!1,C=!1,N=!0;if(typeof O!="function")throw new TypeError(t);le=ae(le)||0,U(ie)&&(E=!!ie.leading,C="maxWait"in ie,pe=C?b(ae(ie.maxWait)||0,le):pe,N="trailing"in ie?!!ie.trailing:N);function L(j){var Be=$e,Se=Ae;return $e=Ae=void 0,D=j,Q=O.apply(Se,Be),Q}function V(j){return D=j,ve=setTimeout(ge,le),E?L(j):Q}function K(j){var Be=j-Fe,Se=j-D,G=le-Be;return C?_(G,pe-Se):G}function ne(j){var Be=j-Fe,Se=j-D;return Fe===void 0||Be>=le||Be<0||C&&Se>=pe}function ge(){var j=k();if(ne(j))return Ee(j);ve=setTimeout(ge,K(j))}function Ee(j){return ve=void 0,N&&$e?L(j):($e=Ae=void 0,Q)}function Te(){ve!==void 0&&clearTimeout(ve),D=0,$e=Fe=Ae=ve=void 0}function ze(){return ve===void 0?Q:Ee(k())}function ke(){var j=k(),Be=ne(j);if($e=arguments,Ae=this,Fe=j,Be){if(ve===void 0)return V(Fe);if(C)return ve=setTimeout(ge,le),L(Fe)}return ve===void 0&&(ve=setTimeout(ge,le)),Q}return ke.cancel=Te,ke.flush=ze,ke}function U(O){var le=typeof O;return!!O&&(le=="object"||le=="function")}function oe(O){return!!O&&typeof O=="object"}function te(O){return typeof O=="symbol"||oe(O)&&x.call(O)==r}function ae(O){if(typeof O=="number")return O;if(te(O))return e;if(U(O)){var le=typeof O.valueOf=="function"?O.valueOf():O;O=U(le)?le+"":le}if(typeof O!="string")return O===0?O:+O;O=O.replace(n,"");var ie=s.test(O);return ie||o.test(O)?l(O.slice(2),ie?2:8):i.test(O)?e:+O}return qi=q,qi}var Hc=jc();const Xn=Gn(Hc);function Nc(t){const e=t.renderRoot.querySelector("input[type='text']");e.value="",Zn(t.filterObject),t.requestUpdate()}function Ic(t){const e=t.renderRoot.querySelector("input[type='text']");t.isValid=e.checkValidity(),t.filterObject.keys.forEach(r=>{t.filterObject.state[r]=e.value}),t.filterObject.dirty=!0,t.filterObject.stringifiedState=e.value,t.dispatchEvent(new CustomEvent("filter")),e.value===""&&t.reset()}const Wi="ddd, D MMM YYYY HH:mm:ss";function zc(t){if(t.filterObject=Zn(t.filterObject),t.filterObject){const e=t.querySelector("tc-range-slider"),r=t.filterObject.min,n=t.filterObject.max;e.value1!==r&&(e.value1=r),e.value2!==n&&(e.value2=n)}t.requestUpdate()}function Uc(t,e){const[r,n]=t.detail.values;(r!==e.filterObject.state.min||n!==e.filterObject.state.max)&&([e.filterObject.state.min,e.filterObject.state.max]=[r,n],e.filterObject.dirty=!0),e.filterObject.dirty&&(e.filterObject.stringifiedState=e.filterObject.format==="date"?`${nn.unix(r).format(Wi)} - ${nn.unix(n).format(Wi)}`:`${r} - ${n}`),e.dispatchEvent(new CustomEvent("filter")),r===e.filterObject.min&&n===e.filterObject.max?e.reset():e.requestUpdate()}function Fc(t,e,r){const n=r.filterObject.format==="date",i=r.filterObject.state[t],s=n?nn.unix(i).format(Wi):i;return ee`<div class="range-${e}">${s}</div>`}function qc(t){Wc(-1,t),Zn(t.filterObject),t.requestUpdate()}function Wc(t,e){e.selectedItems=[],Vi(e),Eo(e)}function Co(t,e){const r=e.selectedItems.indexOf(t);r>=0?e.selectedItems=e.selectedItems.filter((n,i)=>i!==r):e.type==="multiselect"?e.selectedItems=[...e.selectedItems,t]:(e.selectedItems=[t],e.showSuggestions=!1),Vi(e),Eo(e)}function Vc(t,e){t.target instanceof HTMLInputElement&&(e.query=t.target.value,e.showSuggestions=!0)}function Kc(t,e){switch(t.key){case"ArrowDown":e.highlightedIndex=Math.min(e.highlightedIndex+1,e.filteredSuggestions.length-1);break;case"ArrowUp":e.highlightedIndex=Math.max(e.highlightedIndex-1,0);break;case"Enter":e.highlightedIndex>=0&&Co(e.filteredSuggestions[e.highlightedIndex],e);break;case"Escape":e.showSuggestions=!1;break}}function Gc(t,e){(t.has("suggestions")||t.has("query"))&&Vi(e)}function Yc(t,e){var n;const r=((n=t.filterObject)==null?void 0:n.sort)||((i,s)=>i.localeCompare(s));return e.sort(r).map(i=>i)}function Vi(t){var r,n,i;let e;t.query&&(e=new Ut(t.suggestions,{threshold:.4}).search(t.query).map(o=>o.item)),t.filteredSuggestions=Yc(t,e||t.suggestions),(r=t.filterObject)!=null&&r.filterKeys&&(t.filteredSuggestions=(n=t.filterObject)==null?void 0:n.filterKeys.map(s=>`${s}`),t.filterObject.state=(i=t.filterObject)==null?void 0:i.filterKeys.map(s=>`${s}`).reduce((s,o)=>(o in s||(s[o]=void 0),s),t.filterObject.state)),t.highlightedIndex=-1}function Eo(t){Object.keys(t.filterObject.state).forEach(e=>{t.filterObject.state[e]=t.selectedItems.includes(e)}),t.filterObject.stringifiedState=Object.keys(t.filterObject.state).filter(e=>t.filterObject.state[e]).join(", ")||"",t.filterObject.dirty=t.filterObject.stringifiedState.length>0,t.dispatchEvent(new CustomEvent("filter")),t.requestUpdate()}function Zc(t){Zn(t.filterObject),t.renderRoot.querySelector("eox-itemfilter-spatial-filter").reset(),t.requestUpdate()}function Xc(t){t.renderRoot.querySelector("#eox-map").innerHTML="",So(t)}function Jc(t,e){e.filterObject.state.mode=t;const r=new CustomEvent("filter",{detail:{[e.filterObject.key]:{}}});e.dispatchEvent(r)}function So(t){const e=t.renderRoot.querySelector("#eox-map");e.innerHTML===""&&(e.innerHTML='<eox-map part="map" style="height: 400px"></eox-map>');const r=t.geometry&&Qc(t.geometry),n=Tc(t.geometry,r);t.eoxMap=t.renderRoot.querySelector("eox-map"),setTimeout(()=>{t.eoxMap.layers=n;const i=s=>{const o=new CustomEvent("filter",{detail:{geometry:{type:"Polygon",coordinates:s.getGeometry().clone().transform("EPSG:3857","EPSG:4326").getCoordinates()}}});t.dispatchEvent(o)};t.eoxMap.interactions.drawInteraction.on("drawend",s=>{i(s.feature),t.eoxMap.removeInteraction("drawInteraction")}),t.eoxMap.interactions.drawInteraction_modify.on("modifyend",s=>{i(s.features.getArray()[0])})},1e3)}function Qc(t){return`data:text/json,${encodeURIComponent(JSON.stringify({type:"FeatureCollection",features:[{type:"Feature",properties:null,geometry:t}]}))}`}class eu extends tt{constructor(){super();it(this,ei,()=>{Ic(this)});Ln(this,"debouncedInputHandler",Xn(ht(this,ei),500,{leading:!0}));this.filterObject={},this.unstyled=!1,this.tabIndex=0,this.isValid=!1}static get properties(){return{filterObject:{attribute:!1,type:Object},tabIndex:{attribute:!1,type:Number},unstyled:{type:Boolean},isValid:{state:!0,type:Boolean}}}reset(){Nc(this)}createRenderRoot(){return this}render(){return Ve(this.filterObject,()=>{var r;return ee`
|
|
655
682
|
<style></style>
|
|
656
683
|
<div class="text-container">
|
|
657
684
|
<div class="text-container-wrapper">
|
|
@@ -672,27 +699,27 @@ input {
|
|
|
672
699
|
<small class="error-validation"
|
|
673
700
|
>${this.filterObject.validation&&this.isValid===!1?this.filterObject.validation.message:""}</small
|
|
674
701
|
>
|
|
675
|
-
`})}}
|
|
702
|
+
`})}}ei=new WeakMap,customElements.define("eox-itemfilter-text",eu);function tu(t,e,r){return t.filter(n=>{const i=n[r.config.aggregateResults];let s;return r.filters[r.config.aggregateResults]&&(s=Object.keys(r.filters[r.config.aggregateResults]).filter(l=>r.filters[r.config.aggregateResults].state[l])),(s!=null&&s.length?s.includes(e):!0)&&Array.isArray(i)?i.includes(e):i===e})}/**
|
|
676
703
|
* @license
|
|
677
704
|
* Copyright 2017 Google LLC
|
|
678
705
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
679
|
-
*/const
|
|
706
|
+
*/const ko={CHILD:2},Lo=t=>(...e)=>({_$litDirective$:t,values:e});class Do{constructor(e){}get _$AU(){return this._$AM._$AU}_$AT(e,r,n){this._$Ct=e,this._$AM=r,this._$Ci=n}_$AS(e,r){return this.update(e,r)}update(e,r){return this.render(...r)}}/**
|
|
680
707
|
* @license
|
|
681
708
|
* Copyright 2020 Google LLC
|
|
682
709
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
683
|
-
*/const{I:
|
|
710
|
+
*/const{I:ru}=Ca,Po=()=>document.createComment(""),on=(t,e,r)=>{var s;const n=t._$AA.parentNode,i=e===void 0?t._$AB:e._$AA;if(r===void 0){const o=n.insertBefore(Po(),i),l=n.insertBefore(Po(),i);r=new ru(o,l,t,t.options)}else{const o=r._$AB.nextSibling,l=r._$AM,c=l!==t;if(c){let u;(s=r._$AQ)==null||s.call(r,t),r._$AM=t,r._$AP!==void 0&&(u=t._$AU)!==l._$AU&&r._$AP(u)}if(o!==i||c){let u=r._$AA;for(;u!==o;){const g=u.nextSibling;n.insertBefore(u,i),u=g}}}return r},sr=(t,e,r=t)=>(t._$AI(e,r),t),nu={},iu=(t,e=nu)=>t._$AH=e,su=t=>t._$AH,Ki=t=>{var n;(n=t._$AP)==null||n.call(t,!1,!0);let e=t._$AA;const r=t._$AB.nextSibling;for(;e!==r;){const i=e.nextSibling;e.remove(),e=i}};/**
|
|
684
711
|
* @license
|
|
685
712
|
* Copyright 2017 Google LLC
|
|
686
713
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
687
|
-
*/const
|
|
714
|
+
*/const To=(t,e,r)=>{const n=new Map;for(let i=e;i<=r;i++)n.set(t[i],i);return n},ou=Lo(class extends Do{constructor(t){if(super(t),t.type!==ko.CHILD)throw Error("repeat() can only be used in text expressions")}dt(t,e,r){let n;r===void 0?r=e:e!==void 0&&(n=e);const i=[],s=[];let o=0;for(const l of t)i[o]=n?n(l,o):o,s[o]=r(l,o),o++;return{values:s,keys:i}}render(t,e,r){return this.dt(t,e,r).values}update(t,[e,r,n]){const i=su(t),{values:s,keys:o}=this.dt(e,r,n);if(!Array.isArray(i))return this.ut=o,s;const l=this.ut??(this.ut=[]),c=[];let u,g,y=0,x=i.length-1,b=0,_=s.length-1;for(;y<=x&&b<=_;)if(i[y]===null)y++;else if(i[x]===null)x--;else if(l[y]===o[b])c[b]=sr(i[y],s[b]),y++,b++;else if(l[x]===o[_])c[_]=sr(i[x],s[_]),x--,_--;else if(l[y]===o[_])c[_]=sr(i[y],s[_]),on(t,c[_+1],i[y]),y++,_--;else if(l[x]===o[b])c[b]=sr(i[x],s[b]),on(t,i[y],i[x]),x--,b++;else if(u===void 0&&(u=To(o,b,_),g=To(l,y,x)),u.has(l[y]))if(u.has(l[x])){const k=g.get(o[b]),q=k!==void 0?i[k]:null;if(q===null){const U=on(t,i[y]);sr(U,s[b]),c[b]=U}else c[b]=sr(q,s[b]),on(t,i[y],q),i[k]=null;b++}else Ki(i[x]),x--;else Ki(i[y]),y++;for(;b<=_;){const k=on(t,c[_+1]);sr(k,s[b]),c[b++]=k}for(;y<=x;){const k=i[y++];k!==null&&Ki(k)}return this.ut=o,iu(t,c),It}});/**
|
|
688
715
|
* @license
|
|
689
716
|
* Copyright 2017 Google LLC
|
|
690
717
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
691
|
-
*/class
|
|
718
|
+
*/class Gi extends Do{constructor(e){if(super(e),this.it=xe,e.type!==ko.CHILD)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(e){if(e===xe||e==null)return this._t=void 0,this.it=e;if(e===It)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:[]}}}Gi.directiveName="unsafeHTML",Gi.resultType=1;const Jn=Lo(Gi);function au(t,e){return ee`
|
|
692
719
|
<details
|
|
693
720
|
class="details-results"
|
|
694
721
|
@toggle=${e.handleAccordion}
|
|
695
|
-
?open=${e.config.expandResults||
|
|
722
|
+
?open=${e.config.expandResults||xe}
|
|
696
723
|
>
|
|
697
724
|
<summary>
|
|
698
725
|
<span class="title">
|
|
@@ -703,22 +730,22 @@ input {
|
|
|
703
730
|
</span>
|
|
704
731
|
</summary>
|
|
705
732
|
<div>
|
|
706
|
-
${
|
|
733
|
+
${Ro(e,t)}
|
|
707
734
|
</div>
|
|
708
735
|
</details>
|
|
709
|
-
`}function
|
|
710
|
-
<ul class=${
|
|
711
|
-
${
|
|
736
|
+
`}function Ro(t,e){const r=t.results,n=e?t.aggregateResults(r,e):r,i=t.config,s=o=>{var l;return((l=t.selectedResult)==null?void 0:l[i.idProperty])===o[i.idProperty]?"highlighted":xe};return ee`
|
|
737
|
+
<ul class=${t.resultType}>
|
|
738
|
+
${ou(n,o=>o.id,o=>ee`
|
|
712
739
|
<li
|
|
713
740
|
class=${s(o)}
|
|
714
|
-
@click=${()=>{
|
|
741
|
+
@click=${()=>{t.selectedResult===o?t.selectedResult=null:t.selectedResult=o,t.dispatchEvent(new CustomEvent("result",{detail:t.selectedResult}))}}
|
|
715
742
|
>
|
|
716
743
|
<span id="${o.id}">
|
|
717
|
-
${
|
|
718
|
-
${
|
|
744
|
+
${Ve(i.subTitleProperty||i.imageProperty,()=>ee`
|
|
745
|
+
${sn(i.imageProperty,o)?ee`
|
|
719
746
|
<img
|
|
720
747
|
class="image"
|
|
721
|
-
src="${
|
|
748
|
+
src="${sn(i.imageProperty,o)}"
|
|
722
749
|
/>
|
|
723
750
|
`:ee`
|
|
724
751
|
<svg
|
|
@@ -736,40 +763,47 @@ input {
|
|
|
736
763
|
`}
|
|
737
764
|
<div class="title-container">
|
|
738
765
|
<span class="title"
|
|
739
|
-
>${
|
|
766
|
+
>${Jn(o[i.titleProperty])}</span
|
|
740
767
|
>
|
|
741
768
|
<span class="subtitle"
|
|
742
|
-
>${
|
|
769
|
+
>${Jn(o[i.subTitleProperty])}</span
|
|
743
770
|
>
|
|
744
771
|
</div>
|
|
745
772
|
`,()=>ee`
|
|
746
773
|
<span class="title"
|
|
747
|
-
>${
|
|
774
|
+
>${Jn(o[i.titleProperty])}</span
|
|
748
775
|
>
|
|
749
776
|
`)}
|
|
750
777
|
</span>
|
|
778
|
+
${Ve(t.enableResultAction,()=>ee`
|
|
779
|
+
<span
|
|
780
|
+
class="result-action"
|
|
781
|
+
@click=${l=>{l.stopPropagation(),t.dispatchEvent(new CustomEvent("click:result-action",{detail:o}))}}
|
|
782
|
+
>${Jn(t.resultActionIcon)}</span
|
|
783
|
+
>
|
|
784
|
+
`)}
|
|
751
785
|
</li>
|
|
752
786
|
`)}
|
|
753
787
|
</ul>
|
|
754
|
-
`}class
|
|
788
|
+
`}class lu extends tt{constructor(){super();it(this,or);this.config=null,this.results=null,this.filters={},this.resultAggregation=[],this.selectedResult=null,this.resultType="list",this.resultActionIcon=void 0}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}}}aggregateResults(r,n){return tu(r,n,this)}createRenderRoot(){return this}handleAccordion(r){_o(r,this.config,this)}render(){return ee`
|
|
755
789
|
<section id="section-results">
|
|
756
790
|
<div slot="resultstitle"></div>
|
|
757
791
|
<div id="container-results" class="scroll">
|
|
758
|
-
${
|
|
792
|
+
${Ve(this.results.length<1,()=>ee`<small class="no-results">No matching items</small>`,()=>xe)}
|
|
759
793
|
<ul id="results" part="results">
|
|
760
|
-
${
|
|
761
|
-
${
|
|
762
|
-
</div>`,()=>
|
|
794
|
+
${Ve(this.config.aggregateResults,()=>Tn(this.resultAggregation.filter(r=>this.aggregateResults(this.results,r).length),r=>ee`${Ve(this.aggregateResults(this.results,r).length===1&&this.config.autoSpreadSingle,()=>ee`<div style="margin-left: -8px">
|
|
795
|
+
${fe(this,or,fs).call(this,r)}
|
|
796
|
+
</div>`,()=>fe(this,or,Xo).call(this,r))}`),()=>fe(this,or,fs).call(this))}
|
|
763
797
|
</ul>
|
|
764
798
|
</div>
|
|
765
799
|
</section>
|
|
766
|
-
`}}
|
|
800
|
+
`}}or=new WeakSet,fs=function(r){return Ro(this,r)},Xo=function(r){return au(r,this)},customElements.define("eox-itemfilter-results",lu);const cu=`input[type="checkbox"] { appearance: none; -webkit-appearance: none; margin: 0; cursor: pointer; display: flex; flex-direction: row; align-items: center; width: 24px; height: 24px;}input[type="checkbox"]:after { display: block; content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23004170' viewBox='0 0 24 24'%3E%3Ctitle%3Echeckbox-blank-outline%3C/title%3E%3Cpath d='M19,3H5C3.89,3 3,3.89 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V5C21,3.89 20.1,3 19,3M19,5V19H5V5H19Z' /%3E%3C/svg%3E"); width: 20px; height: 20px; margin-right: 4px;}input[type="checkbox"]:checked:after { content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23004170' viewBox='0 0 24 24'%3E%3Ctitle%3Echeckbox-marked%3C/title%3E%3Cpath d='M10,17L5,12L6.41,10.58L10,14.17L17.59,6.58L19,8M19,3H5C3.89,3 3,3.89 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V5C21,3.89 20.1,3 19,3Z' /%3E%3C/svg%3E");}`,uu=`input[type="radio"] { appearance: none; -webkit-appearance: none; margin: 0; cursor: pointer; display: flex; flex-direction: row; align-items: center; width: 24px; height: 24px;}label span { font-size: small;}input[type="radio"]:after { display: block; content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23004170' viewBox='0 0 24 24'%3E%3Ctitle%3Eradiobox-blank%3C/title%3E%3Cpath d='M12,20A8,8 0 0,1 4,12A8,8 0 0,1 12,4A8,8 0 0,1 20,12A8,8 0 0,1 12,20M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2Z' /%3E%3C/svg%3E"); width: 20px; height: 20px; margin-right: 4px;}input[type="radio"]:checked:after { content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23004170' viewBox='0 0 24 24'%3E%3Ctitle%3Eradiobox-marked%3C/title%3E%3Cpath d='M12,20A8,8 0 0,1 4,12A8,8 0 0,1 12,4A8,8 0 0,1 20,12A8,8 0 0,1 12,20M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2M12,7A5,5 0 0,0 7,12A5,5 0 0,0 12,17A5,5 0 0,0 17,12A5,5 0 0,0 12,7Z' /%3E%3C/svg%3E");}`;class Oo extends tt{constructor(){super();it(this,qt);Ln(this,"debouncedInputHandler",Xn(fe(this,qt,ea),500,{leading:!0}));this.filterObject={},this.suggestions=[],this.selectedItems=[],this.query="",this.showSuggestions=!1,this.highlightedIndex=-1,this.filteredSuggestions=[],this.type="select",this.unstyled=!1,this.tabIndex=0,this.inlineMode=!1}updated(r){Gc(r,this)}reset(){qc(this)}firstUpdated(){this.filterObject.state&&(this.selectedItems=Object.keys(this.filterObject.state).map(r=>this.filterObject.state[r]?r:null).filter(r=>!!r),this.filterObject.stringifiedState=this.selectedItems.join(", ")||"",this.requestUpdate())}render(){const r=this.type.includes("multi")?"checkbox":"radio",n=this.filteredSuggestions.length>5?"select-overflow":xe;return ee`
|
|
767
801
|
<style>
|
|
768
|
-
${!this.unstyled&&
|
|
769
|
-
${!this.unstyled&&lu}
|
|
802
|
+
${!this.unstyled&&en}
|
|
770
803
|
${!this.unstyled&&cu}
|
|
804
|
+
${!this.unstyled&&uu}
|
|
771
805
|
</style>
|
|
772
|
-
${
|
|
806
|
+
${Ve(this.suggestions.length>10,()=>ee`<div class="autocomplete-container">
|
|
773
807
|
<div class="autocomplete-container-wrapper">
|
|
774
808
|
<input
|
|
775
809
|
autocomplete="off"
|
|
@@ -778,8 +812,8 @@ input {
|
|
|
778
812
|
type="text"
|
|
779
813
|
.value=${this.query}
|
|
780
814
|
placeholder="${this.filterObject.placeholder||""}"
|
|
781
|
-
@input=${
|
|
782
|
-
@keydown=${
|
|
815
|
+
@input=${fe(this,qt,Jo)}
|
|
816
|
+
@keydown=${fe(this,qt,Qo)}
|
|
783
817
|
@blur=${()=>this.showSuggestions=!1}
|
|
784
818
|
@focus=${()=>this.showSuggestions=!0}
|
|
785
819
|
/>
|
|
@@ -807,8 +841,8 @@ input {
|
|
|
807
841
|
`)}
|
|
808
842
|
</ul>
|
|
809
843
|
</div>
|
|
810
|
-
`}}Wt=new WeakSet,na=function(r){Vc(r,this)},ia=function(r){Kc(r,this)},sa=function(r){Po(r,this)},Pn(Bo,"properties",{filterObject:{attribute:!1,type:Object},suggestions:{attribute:!1,type:Array},selectedItems:{state:!0,type:Array},query:{state:!0,type:String},showSuggestions:{state:!0,type:Boolean},highlightedIndex:{state:!0,type:Number},filteredSuggestions:{state:!0,type:Array},type:{attribute:!0,type:String},unstyled:{type:Boolean},tabIndex:{attribute:!1,type:Number},inlineMode:{attribute:"inline-mode",type:Boolean}}),customElements.define("eox-itemfilter-select",Bo),(()=>{var t=Object.defineProperty,e=Math.pow,r=(u,p,_)=>p in u?t(u,p,{enumerable:!0,configurable:!0,writable:!0,value:_}):u[p]=_,n=(u,p,_)=>(r(u,typeof p!="symbol"?p+"":p,_),_),i=(u,p)=>` ${p&&p.length>0?p.map(_=>`<link rel="stylesheet" href="${_}" />`).join(""):""} <style> ${u} </style> <div class="range-slider-box"> <div class="row"> <div id="range-slider" class="range-slider"> <div class="container"> <div class="panel"></div> <div class="panel-fill"></div> <div class="container"> <div class="pointer" tabindex="0" role="slider"> <div class="pointer-shape"></div> </div> </div> </div> </div> </div> </div>`,s=":host{--width:300px;--height:.25rem;--opacity:.4;--panel-bg:#cbd5e1;--panel-bg-hover:#94a3b8;--panel-bg-fill:#475569;--panel-bg-border-radius:1rem;--pointer-width:1rem;--pointer-height:1rem;--pointer-bg:#fff;--pointer-bg-hover:#dcdcdc;--pointer-bg-focus:#dcdcdc;--pointer-shadow:0 0 2px rgba(0,0,0,0.8);--pointer-shadow-hover:0 0 2px #000;--pointer-shadow-focus:var(--pointer-shadow-hover);--pointer-border:1px solid hsla(0,0%,88%,0.5);--pointer-border-hover:1px solid #94a3b8;--pointer-border-focus:var(--pointer-border-hover);--pointer-border-radius:100%;--animate-onclick:.3s}:host{max-width:100%}.range-slider-box{display:flex;position:relative;flex-direction:column}.range-slider{position:relative;width:var(--width,100%);height:var(--height,0.25rem);touch-action:none;max-width:100%;box-sizing:border-box;cursor:pointer}.row{width:100%;display:flex;align-items:center}.range-slider.disabled{opacity:var(--opacity,0.4);cursor:default}.pointer.disabled{-webkit-filter:brightness(0.8);filter:brightness(0.8);cursor:default}.range-slider *{box-sizing:border-box}.container{position:absolute;width:100%;height:100%}.panel{position:absolute;z-index:10;width:100%;height:100%;background:var(--panel-bg,#2d4373);border-radius:var(--panel-bg-border-radius,1rem);overflow:hidden;transition:.3s all ease}.panel-fill{background:var(--panel-bg-fill,#000);border-radius:var(--panel-bg-border-radius,1rem);overflow:hidden;height:100%;position:absolute;z-index:10}.panel:hover{background:var(--panel-bg-hover,#5f79b7)}.disabled .panel:hover{background:var(--panel-bg,#5f79b7)}.pointer{position:absolute;z-index:20;outline:0;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%)}.pointer-shape{background:var(--pointer-bg,#fff);background-size:contain;box-shadow:var(--pointer-shadow);border:var(--pointer-border);border-radius:var(--pointer-border-radius,100%);-webkit-transform:translateX(-50%);transform:translateX(-50%);width:var(--pointer-width,15px);height:var(--pointer-height,15px);transition:.3s all ease}.pointer-shape:hover{background:var(--pointer-bg-hover,#fff);background-size:contain;border:var(--pointer-border-hover);box-shadow:var(--pointer-shadow-hover)}.disabled .pointer-shape:hover{background:var(--pointer-bg,#fff);background-size:contain;border:var(--pointer-border);box-shadow:var(--pointer-shadow)}.pointer:focus .pointer-shape{background:var(--pointer-bg-focus,#fff);background-size:contain;border:var(--pointer-border-focus);box-shadow:var(--pointer-shadow-focus)}.disabled .pointer:focus .pointer-shape{background:var(--pointer-bg,#fff);background-size:contain;border:var(--pointer-border);box-shadow:var(--pointer-shadow)}.type-vertical .range-slider{--width:.25rem;--height:300px;max-height:100%}.type-vertical .range-slider .pointer{left:50%}.type-vertical .range-slider .panel-fill{width:100%}.type-vertical.range-slider-box{flex-direction:row}.type-vertical .row{flex-direction:column}.animate-on-click .pointer,.animate-on-click .panel-fill{transition:all var(--animate-onclick)}.range-dragging .panel-fill{cursor:move}",o="pointers-overlap",l="pointers-min-distance",c="pointers-max-distance",d="range-dragging",g="data",y="min",w="max",b="step",A="round",k="type",W="theme",z="rtl",ie="btt",te="disabled",pe="keyboard-disabled",O="mousewheel-disabled",oe="slider-width",ge="slider-height",xe="slider-radius",Pe="slider-bg",de="slider-bg-hover",Q="slider-bg-fill",$e="pointer-width",Ue="pointer-height",P="pointer-radius",C="pointer-bg",S="pointer-bg-hover",H="pointer-bg-focus",L="pointer-shadow",V="pointer-shadow-hover",K="pointer-shadow-focus",se="pointer-border",be="pointer-border-hover",ke="pointer-border-focus",De="animate-onclick",Be="css-links",Te="vertical",re="horizontal",Z=(u,p,_,v,T)=>{let G=p-u;return G===0?_:(v-_)*(T-u)/G+_},Me=u=>!isNaN(parseFloat(u))&&isFinite(u),ne=(u,p)=>Me(u)?Number(u):p,Ne=(u,p)=>p===0?0:Math.round(u/p)*p,ht=(u,p=1/0)=>{if(p===1/0)return u;let _=e(10,p);return Math.round(u*_)/_},we=u=>u==null?!1:typeof u=="boolean"?u:u.trim().toLowerCase()==="true",un=(u,p)=>{u.dispatchEvent(new CustomEvent("onPointerClicked",{detail:{$pointer:p}}))},kr=(u,p)=>{u.dispatchEvent(new CustomEvent("onMouseDown",{detail:{nativeEvent:p}}))},Pt=(u,p)=>{u.dispatchEvent(new CustomEvent("onMouseUp",{detail:{nativeEvent:p}}))},Lr=(u,p)=>{u.dispatchEvent(new CustomEvent("onKeyDown",{detail:{nativeEvent:p}}))},dn=(u,p)=>{if(!p||p.length<=0)return;let _=p.map(T=>Me(T)?ne(T,T):T),v={values:_||[]};v.value=_[0],v.value0=_[0],v.value1=_[0];for(let T=1;T<_.length;T++)v[`value${T+1}`]=_[T];u.dispatchEvent(new CustomEvent("change",{detail:v}))},ar=(u,p,_)=>{let v=0,T,G,Y,R,j=!1,ae=(F,Ee,ze,Ie,je,Oe)=>{let Ye=v;ze!==void 0&&F>ze&&(F=ze),Ee!==void 0&&F<Ee&&(F=Ee),v=F;let Fe=v;return(Ie===Te&&Oe||Ie===re&&je)&&(Fe=100-Fe),Ie===Te?p.style.top=`${Fe}%`:p.style.left=`${Fe}%`,Ye!==v},ue=F=>F===p||p.contains(F),U=(F,Ee,ze,Ie)=>{T=F,G=Ee,Y=ze,R=Ie},he=F=>{j=F,p.classList.toggle("disabled",j),j?p.setAttribute("aria-disabled","true"):p.hasAttribute("aria-disabled")&&p.removeAttribute("aria-disabled")},nt=(F,Ee)=>{Ee==null?p.removeAttribute(F):p.setAttribute(F,Ee)},Ve=F=>p.getAttribute(F),B=F=>{if(!j){switch(F.key){case"ArrowLeft":{F.preventDefault(),typeof T=="function"&&T(_);break}case"ArrowRight":{F.preventDefault(),typeof G=="function"&&G(_);break}case"ArrowUp":{F.preventDefault(),typeof Y=="function"&&Y(_);break}case"ArrowDown":{F.preventDefault(),typeof R=="function"&&R(_);break}}Lr(u,F)}},ce=()=>{j||un(u,p)};return p.className=`pointer pointer-${_}`,p.addEventListener("keydown",B),p.addEventListener("click",ce),{$pointer:p,get percent(){return v},get disabled(){return j},set disabled(F){he(F)},updatePosition:ae,isClicked:ue,setCallbacks:U,setAttr:nt,getAttr:Ve,destroy:()=>{p.removeEventListener("keydown",B),p.removeEventListener("click",ce),p.remove()}}},Vt=u=>{if(u==null)return;if(Array.isArray(u))return u;if(u.trim()==="")return;let p=u.split(","),_=[],v=!0;for(let T=0;T<p.length;T++){let G=p[T].trim();G!==""&&(_.push(G),Me(G)||(v=!1))}return v?_.map(T=>Number(T)):_},lr=(u,p)=>p?p.findIndex(_=>_===u||_.toString().trim()===u.toString().trim()):-1,hn=u=>({updatePosition:(p,_,v,T)=>{if(_.length<=0)return;let G=_.length===1,Y=_[0],R=_[_.length-1];p===Te?(u.style.removeProperty("width"),u.style.removeProperty("right"),u.style.removeProperty("left"),G?u.style.height=`${Y}%`:u.style.height=`${Math.abs(Y-R)}%`,T?(u.style.bottom="0%",G?u.style.top="auto":u.style.top=`${Math.min(100-R,100-Y)}%`):(u.style.bottom="auto",G?u.style.top="0%":u.style.top=`${Math.min(Y,R)}%`)):(u.style.removeProperty("height"),u.style.removeProperty("top"),u.style.removeProperty("bottom"),G?u.style.width=`${Y}%`:u.style.width=`${Math.abs(Y-R)}%`,v?(u.style.right="0%",G?u.style.left="auto":u.style.left=`${Math.min(100-R,100-Y)}%`):(u.style.right="auto",G?u.style.left="0%":u.style.left=`${Math.min(Y,R)}%`))}}),Pr="--animate-onclick",fn="--width",cr="--height",pn="--panel-bg-border-radius",gn="--panel-bg",Tr="--panel-bg-hover",yn="--panel-bg-fill",x="--pointer-width",E="--pointer-height",q="--pointer-border-radius",Se="--pointer-bg",yt="--pointer-bg-hover",qe="--pointer-bg-focus",bt="--pointer-shadow",_t="--pointer-shadow-hover",tt="--pointer-shadow-focus",ur="--pointer-border",At="--pointer-border-hover",Tt="--pointer-border-focus",Mt=(u,p,_)=>{let v=new Map;for(let T of u.attributes){let G=T.nodeName.trim().toLowerCase();if(!p.test(G))continue;let Y=G.replace(/\D/g,"").trim(),R=Y===""||Y==="0"||Y==="1"?0:ne(Y,0)-1,j=_&&typeof _=="function"?_(T.value):T.value;v.set(R,j)}return v},Xi=u=>{if(!u)return null;let p=u.getAttribute(Be);if(!p)return null;let _=p.split(";"),v=[];for(let T of _)T.trim()!==""&&v.push(T.trim());return v},Or=[[fn,oe,"sliderWidth",null],[cr,ge,"sliderHeight",null],[pn,xe,"sliderRadius",null],[gn,Pe,"sliderBg",null],[Tr,de,"sliderBgHover",null],[yn,Q,"sliderBgFill",null],[x,$e,"pointer#Width",/^pointer([0-9]*)-width$/],[E,Ue,"pointer#Height",/^pointer([0-9]*)-height$/],[q,P,"pointer#Radius",/^pointer([0-9]*)-radius$/],[Se,C,"pointer#Bg",/^pointer([0-9]*)-bg$/],[yt,S,"pointer#BgHover",/^pointer([0-9]*)-bg-hover$/],[qe,H,"pointer#BgFocus",/^pointer([0-9]*)-bg-focus$/],[bt,L,"pointer#Shadow",/^pointer([0-9]*)-shadow$/],[_t,V,"pointer#ShadowHover",/^pointer([0-9]*)-shadow-hover$/],[tt,K,"pointer#ShadowFocus",/^pointer([0-9]*)-shadow-focus$/],[ur,se,"pointer#Border",/^pointer([0-9]*)-border$/],[At,be,"pointer#BorderHover",/^pointer([0-9]*)-border-hover$/],[Tt,ke,"pointer#BorderFocus",/^pointer([0-9]*)-border-focus$/]],dr=(u,p,_)=>{let v=null,T=[],G=new Map,Y=(B,ce=p)=>{let F=[...ce.classList];for(let Ee of F)Ee.startsWith(B)&&p.classList.remove(Ee)},R=()=>{Y("shape");let B=p.querySelectorAll(".pointer");for(let ce of B)Y("shape",ce)},j=B=>{v=B,Y("theme-"),typeof B=="string"&&p.classList.add(`theme-${B}`)},ae=()=>{if(R(),!(T.length<=0)){p.classList.add("shape",`shape-${T[0]}`);for(let B=1;B<T.length;B++){let ce=T[B];if(!ce)continue;let F=p.querySelector(`.pointer-${B}`);!F||F.classList.add("shape",`shape-${ce}`)}}},ue=(B,ce)=>{T[B]=ce,ae()},U=()=>{R();let B=Mt(u,/^pointer([0-9]*)-shape$/);if(!(B.size<=0)){for(let ce of B){let F=ce[0];T[F]=ce[1]}ae()}},he=(B,ce)=>`${B}-${ce}`,nt=(B,ce,F)=>{let Ee=_[F];if(!Ee)return;let ze=F===0?p:Ee.$pointer;if(ce==null){G.has(he(B,F))&&G.delete(he(B,F)),ze.style.removeProperty(B);return}G.set(he(B,F),ce),ze.style.setProperty(B,ce)},Ve=(B,ce)=>G.get(he(B,ce));return(()=>{for(let B of Or){let[ce,F,Ee,ze]=B;if(ze){let je=Mt(u,ze);for(let Oe of je){let Ye=Oe[0],Fe=Oe[1];nt(ce,Fe,Ye)}}else{let je=u.getAttribute(F);nt(ce,je,0)}let Ie=[];if(Ee.indexOf("#")===-1)Ie.push([Ee,0]);else{Ie.push([Ee.replace("#",""),0]),Ie.push([Ee.replace("#","0"),0]),Ie.push([Ee.replace("#","1"),0]);for(let je=1;je<_.length;je++)Ie.push([Ee.replace("#",(je+1).toString()),je])}for(let je of Ie)try{let Oe=je[0],Ye=je[1];Object.prototype.hasOwnProperty.call(u,Oe)||Object.defineProperty(u,Oe,{get(){return Ve(ce,Ye)},set:Fe=>{nt(ce,Fe,Ye)}})}catch(Oe){console.error(Oe)}}j(u.getAttribute(W)),U()})(),{setStyle:nt,getStyle:Ve,get theme(){return v},set theme(B){j(B)},get pointerShapes(){return T},setPointerShape:ue}},St="animate-on-click",Rr="range-dragging",bn=(u,p,_,v)=>{let T=[],G=ue=>{for(let U of T)U.update&&typeof U.update=="function"&&U.update(ue)},Y=()=>{for(let ue of T)ue.destroy&&typeof ue.destroy=="function"&&ue.destroy()},R=(ue,U)=>{for(let he of T)he.onAttrChange&&typeof he.onAttrChange=="function"&&he.onAttrChange(ue,U)},j=ue=>{if(ue.gettersAndSetters){for(let U of ue.gettersAndSetters)if(!(!U.name||!U.attributes))try{Object.prototype.hasOwnProperty.call(u,U.name)||Object.defineProperty(u,U.name,U.attributes)}catch(he){console.error("defineSettersGetters error:",he)}}},ae=ue=>{var U;if(!ue.css)return;let he=(U=u.shadowRoot)==null?void 0:U.querySelector("style");!he||(he.innerHTML+=ue.css)};return{init:()=>{if(window.tcRangeSliderPlugins)for(let ue of window.tcRangeSliderPlugins){let U=ue();T.push(U),U.init&&typeof U.init=="function"&&(U.init(u,p,_,v),j(U),ae(U))}},update:G,onAttrChange:R,destroy:Y}},hr=10,ti=20,Ji=(u,p)=>{let _=new Map,v=/^value([0-9]*)$/;for(let R of u.attributes){let j=R.nodeName.trim().toLowerCase();if(!v.test(j))continue;let ae=j.replace("value","").trim(),ue=ae===""||ae==="0"||ae==="1"?0:ne(ae,0)-1,U=Me(R.value)?ne(R.value,0):R.value;_.set(ue,U)}let T=Math.max(...Array.from(_.keys())),G=[];G.push([ar(u,p,0),_.get(0)]);let Y=p;for(let R=1;R<=T;R++){let j=p.cloneNode(!0);Y.after(j),Y=j,G.push([ar(u,j,R),_.get(R)])}return G},ri=(u,p,_,v,T,G,Y)=>{try{Object.defineProperty(u,v,{configurable:!0,get(){if(!p)return;let R=p.pointers[_];if(!R)return;let j=p.getTextValue(R.percent);return Me(j)?ne(j,j):j},set:R=>{p.pointers[_]?p==null||p.setValue(R,_):p==null||p.addPointer(R)}}),Object.defineProperty(u,T,{configurable:!0,get(){var R,j;return(j=(R=p==null?void 0:p.pointers[_])==null?void 0:R.getAttr("aria-label"))!=null?j:void 0},set:R=>{!p||p.setAriaLabel(_,R)}}),Object.defineProperty(u,G,{configurable:!0,get(){var R,j;return(j=(R=p==null?void 0:p.styles)==null?void 0:R.pointerShapes[_])!=null?j:null},set:R=>{!p||!p.styles||p.styles.setPointerShape(_,R)}}),Object.defineProperty(u,Y,{configurable:!0,get(){var R;return(R=p==null?void 0:p.pointers[_].disabled)!=null?R:!1},set:R=>{if(!p)return;let j=p==null?void 0:p.pointers[_];!j||(j.disabled=R)}})}catch(R){console.error(R)}},Qi=(u,p)=>{let _=[["value","ariaLabel","pointerShape","pointerDisabled",0],["value0","ariaLabel0","pointerShape0","pointer0Disabled",0],["value1","ariaLabel1","pointerShape1","pointer1Disabled",0]];for(let v=2;v<hr;v++)_.push([`value${v}`,`ariaLabel${v}`,`pointer${v}Shape`,`pointer${v}Disabled`,v-1]);for(let v of _)ri(u,p,v[4],v[0],v[1],v[2],v[3])},ni=(u,p,_)=>{var v;let T=(v=_.shadowRoot)==null?void 0:v.querySelector(".container");if(T)for(let G of u)p?T.prepend(G.$pointer):T.append(G.$pointer)},Dr=(u,p)=>{if(!(!p||u.length<=1)){for(let _ of u)_.$pointer.style.zIndex=ti.toString();p.$pointer.style.zIndex=(ti*2).toString()}},fr=0,Kt=100,rt=2,ii="0.3s",es=(u,p,_)=>{let v=_.map(f=>f[0]),T=null,G=null,Y=null,R=null,j=fr,ae=Kt,ue,U,he=re,nt=rt,Ve=!1,B=!1,ce=!1,F=0,Ee=1/0,ze=!1,Ie,je,Oe=!1,Ye=!1,Fe=!1,Et=ii,si=[],vn=f=>{Oe||(f.preventDefault&&f.preventDefault(),Ot(f),window.addEventListener("mousemove",Ot),window.addEventListener("mouseup",jr),kr(u,f))},jr=f=>{Oe||(Ie=void 0,je=void 0,window.removeEventListener("mousemove",Ot),window.removeEventListener("mouseup",jr),Et&&p.classList.add(St),Pt(u,f))},ns=(f,$)=>{if(v.length<=0)return;if(v.length===1)return v[0].isClicked(f)&&Et&&p.classList.remove(St),v[0];let N=ss(f);if(ze){let fe=$,Je=yr(fe);Je!==void 0&&(fe=Ne(fe,Je)),N?(Ie=fe,je=0,Et&&p.classList.remove(St)):Ie!==void 0&&(je=fe-Ie,Ie=fe)}if(!is(f)&&!N){for(let fe of v)if(!(!fe.isClicked(f)||fe.disabled))return Et&&p.classList.remove(St),fe;for(let fe of v)if(T===fe)return fe}let le=1/0,_e=null;for(let fe of v){if(fe.disabled)continue;let Je=Math.abs($-fe.percent);Je<le&&(le=Je,_e=fe)}return _e},Nr=()=>v.findIndex(f=>T===f&&!f.disabled),Ot=f=>{let $;if(he===Te){let{height:le,top:_e}=p.getBoundingClientRect(),fe=f.type.indexOf("mouse")!==-1?f.clientY:f.touches[0].clientY;$=Math.min(Math.max(0,fe-_e),le)*100/le}else{let{width:le,left:_e}=p.getBoundingClientRect(),fe=f.type.indexOf("mouse")!==-1?f.clientX:f.touches[0].clientX;$=Math.min(Math.max(0,fe-_e),le)*100/le}if((Ve||B)&&($=100-$),T=ns(f.target,$),T&&Dr(v,T),ze&&v.length>1&&je!==void 0){let le=v[0],_e=v[v.length-1],fe=le.percent+je<0,Je=_e.percent+je>100;if(fe||Je)return;for(let Ht=0;Ht<v.length;Ht++)We(Ht,v[Ht].percent+je);return}let N=Nr();N!==-1&&(We(N,$),T==null||T.$pointer.focus())},Hr=f=>{if(Oe||document.activeElement!==u||T!=null&&T.disabled)return;f.stopPropagation(),f.preventDefault();let $=f.deltaY<0,N=Ve||B,le=$?!N:N,_e=Nr();_e!==-1&&(le?pr(_e,v[_e].percent):gr(_e,v[_e].percent))},oi=f=>{Oe||Ye||(he===Te?B?We(f,100):We(f,0):Ve?gr(f,v[f].percent):pr(f,v[f].percent))},ai=f=>{Oe||Ye||(he===Te?B?We(f,0):We(f,100):Ve?pr(f,v[f].percent):gr(f,v[f].percent))},li=f=>{Oe||Ye||(he===Te?B?gr(f,v[f].percent):pr(f,v[f].percent):Ve?We(f,100):We(f,0))},ci=f=>{Oe||Ye||(he===Te?B?pr(f,v[f].percent):gr(f,v[f].percent):Ve?We(f,0):We(f,100))},is=f=>f.classList.contains("panel"),ss=f=>f.classList.contains("panel-fill"),pr=(f,$)=>{if($===void 0)return;let N=yr($);N==null&&(N=1),$-=N,$<0&&($=0),We(f,$)},gr=(f,$)=>{if($===void 0)return;let N=yr($);N==null&&(N=1),$+=N,$>100&&($=100),We(f,$)},Rt=()=>{!R||R.update({percents:di(),values:hi(),$pointers:xn(),min:br(),max:fi(),data:$n(),step:wn(),round:Br(),type:_n(),textMin:Ir(),textMax:Dt(),rightToLeft:mt(),bottomToTop:Mn(),pointersOverlap:vr(),pointersMinDistance:zr(),pointersMaxDistance:An(),rangeDragging:at(),disabled:Sn(),keyboardDisabled:mr(),mousewheelDisabled:qr()})},ui=()=>{Rt()},os=f=>{if(!(ce||v.length<=1||ae===j))if(f===0){let $=Ee*100/(ae-j);return Math.max(0,v[f+1].percent-$)}else{let $=F*100/(ae-j);return Math.min(v[f-1].percent+$,100)}},as=f=>{if(!(ce||v.length<=1||ae===j))if(f===v.length-1){let $=Ee*100/(ae-j);return Math.min(v[f-1].percent+$,100)}else{let $=F*100/(ae-j);return Math.max(0,v[f+1].percent-$)}},yr=f=>{let $;if(typeof ue=="function"){let N=Z(0,100,j,ae,f);$=ue(N,f)}else $=ue;if(Me($)){let N=ae-j;return $=N===0?0:$*100/N,$}},Gt=f=>{if(f===void 0)return;let $=Z(0,100,j,ae,f);return U!==void 0?U[Math.round($)]:ht($,nt)},Ir=()=>U!==void 0?U[j]:j,Dt=()=>U!==void 0?U[ae]:ae,wn=()=>ue,Yt=f=>{var $;return f<=0||ce?Ir():($=Gt(v[f-1].percent))!=null?$:""},Ct=f=>{var $;return v.length<=1||f>=v.length-1||ce?Dt():($=Gt(v[f+1].percent))!=null?$:""},di=()=>v.map(f=>f.percent),hi=()=>v.map(f=>Gt(f.percent)),xn=()=>v.map(f=>f.$pointer),br=()=>j,fi=()=>ae,$n=()=>U,_n=()=>he,Br=()=>nt,zr=()=>F,An=()=>Ee,Ur=f=>si[f],mt=()=>Ve,Mn=()=>B,Sn=()=>Oe,mr=()=>Ye,qr=()=>Fe,vr=()=>ce,at=()=>ze,We=(f,$)=>{if($===void 0)return;let N=yr($);N!==void 0&&($=Ne($,N));let le=v[f];if(!le)return;let _e=le.updatePosition($,os(f),as(f),he,Ve,B);G==null||G.updatePosition(he,v.map(fe=>fe.percent),Ve,B),Rt();for(let fe of v){let Je=Gt(fe.percent);Je!==void 0&&(fe.setAttr("aria-valuenow",Je.toString()),fe.setAttr("aria-valuetext",Je.toString()))}En(),_e&&dn(u,v.map(fe=>Gt(fe.percent)))},ft=()=>{for(let f=0;f<v.length;f++)We(f,v[f].percent)},pi=(f,$)=>{j=U!==void 0?0:ne(f,fr),ae=U!==void 0?U.length-1:ne($,Kt),jt(j),Nt(ae)},En=()=>{var f,$;for(let N=0;N<v.length;N++){let le=v[N];le.setAttr("aria-valuemin",((f=Yt(N))!=null?f:"").toString()),le.setAttr("aria-valuemax",(($=Ct(N))!=null?$:"").toString())}},jt=f=>{j=ne(f,fr),j>ae&&(ae=j+Kt),ft()},Nt=f=>{ae=ne(f,Kt),ae<j&&(ae=j+Kt),ft()},Wr=f=>{ce=!0;for(let $=0;$<f.length;$++)Vr(f[$],$);ce=!1;for(let $=0;$<f.length;$++)Vr(f[$],$)},Vr=(f,$)=>{let N;U!==void 0?(N=f==null?0:lr(f,U),N===-1&&(N=0)):(N=ne(f,j),N<j&&(N=j),N>ae&&(N=ae));let le=Z(j,ae,0,100,N);We($,le)},Kr=f=>{if(f==null){ue=void 0;return}if(typeof f=="function"){ue=f,ft();return}if(Me(f)){ue=ne(f,1);let $=Math.abs(ae-j);ue>$&&(ue=void 0),ft();return}ue=void 0},Cn=f=>{ce=f,ft()},kn=f=>{(!Me(f)||f<0)&&(f=0),F=f},Ft=f=>{(!Me(f)||f<0)&&(f=1/0),Ee=f},Ln=f=>{Oe=f,p.classList.toggle("disabled",Oe),Oe?p.setAttribute("aria-disabled","true"):p.hasAttribute("aria-disabled")&&p.removeAttribute("aria-disabled")},gi=f=>{Ye=f},a=f=>{Fe=f,Fe?document.removeEventListener("wheel",Hr):document.addEventListener("wheel",Hr,{passive:!1})},h=f=>{if(f==null){U=void 0;return}if(U=Vt(f),U===void 0||U.length<=0){U=void 0;return}jt(0),Nt(U.length-1),ue===void 0&&Kr(1)},m=f=>{var $;typeof f=="string"?he=f.trim().toLowerCase()===Te?Te:re:he=re;let N=($=u.shadowRoot)==null?void 0:$.querySelector(".range-slider-box");if(!N)return;N.className=`range-slider-box type-${he}`,ft();let le=he===Te?"vertical":"horizontal";for(let _e of v)_e.setAttr("aria-orientation",le)},M=f=>{Ve=f,v.length>1&&ni(v,Ve,u),ft(),Rt()},I=f=>{B=f,v.length>1&&ni(v,B,u),ft(),Rt()},D=f=>{nt=ne(f,rt),nt<0&&(nt=rt),Rt()},X=f=>{f==null||f.toString().trim().toLowerCase()==="false"?(Et=void 0,p.style.removeProperty(Pr),p.classList.remove(St)):(Et=f.toString(),p.style.setProperty(Pr,Et),p.classList.add(St))},Re=(f,$)=>{let N=v[f];!N||(N.setAttr("aria-label",$),si[f]=$)},Le=f=>{if(Ie=void 0,v.length<=1){ze=!1,p.classList.remove(Rr);return}ze=f,p.classList.toggle(Rr,ze)},Ke=()=>{Ln(we(u.getAttribute(te))),Ye=we(u.getAttribute(pe)),Fe=we(u.getAttribute(O));let f=Mt(u,/^pointer([0-9]*)-disabled$/,$=>we($));for(let $ of f){let N=$[0];!v[N]||(v[N].disabled=$[1])}},Ze=()=>{let f=Mt(u,/^aria-label([0-9]*)$/);for(let $ of f){let N=$[0];Re(N,$[1])}},Xe=f=>{let $=v.length,N=v[$-1].$pointer,le=N.cloneNode(!0);N.after(le);let _e=ar(u,le,$);return _e.setCallbacks(oi,ai,li,ci),v.push(_e),Vr(f,$),ft(),Rt(),$},Ge=()=>{let f=v.length,$=v[f-1];return $?($.destroy(),v.pop(),v.length<=1&&Le(!1),ft(),Rt(),f-1):-1};return(()=>{var f,$;for(let le of v)le.setCallbacks(oi,ai,li,ci);let N=(f=u.shadowRoot)==null?void 0:f.querySelector(".panel-fill");N&&(G=hn(N)),m(u.getAttribute(k)),M(we(u.getAttribute(z))),I(we(u.getAttribute(ie))),pi(u.getAttribute(y),u.getAttribute(w)),Kr(u.getAttribute(b)),h(u.getAttribute(g)),Wr(_.map(le=>le[1])),Cn(we(u.getAttribute(o))),kn(ne(u.getAttribute(l),0)),Ft(ne(u.getAttribute(c),1/0)),Le(we(u.getAttribute(d))),D(ne(u.getAttribute(A),rt)),Ke(),Ze(),Y=dr(u,p,v),X(($=u.getAttribute(De))!=null?$:ii),p.addEventListener("mousedown",vn),p.addEventListener("mouseup",jr),p.addEventListener("touchmove",Ot),p.addEventListener("touchstart",Ot),Fe||document.addEventListener("wheel",Hr,{passive:!1}),R=bn(u,ui,{setValues:Wr,setMin:jt,setMax:Nt,setStep:Kr,setPointersOverlap:Cn,setPointersMinDistance:kn,setPointersMaxDistance:Ft,setDisabled:Ln,setType:m,setRightToLeft:M,setBottomToTop:I,setRound:D,setKeyboardDisabled:gi,setMousewheelDisabled:a,setRangeDragging:Le,setData:h},{getPercents:di,getValues:hi,getPointerElements:xn,getMin:br,getMax:fi,getStep:wn,getData:$n,getType:_n,getRound:Br,getTextMin:Ir,getTextMax:Dt,isRightToLeft:mt,isBottomToTop:Mn,isDisabled:Sn,isKeyboardDisabled:mr,isMousewheelDisabled:qr,isPointersOverlap:vr,isRangeDraggingEnabled:at,getPointersMinDistance:zr,getPointersMaxDistance:An}),R.init()})(),{get pointers(){return v},get styles(){return Y},get pluginsManager(){return R},get min(){return Ir()},get max(){return Dt()},get step(){return wn()},get pointersOverlap(){return vr()},set pointersOverlap(f){Cn(f)},get pointersMinDistance(){return zr()},set pointersMinDistance(f){kn(f)},get pointersMaxDistance(){return An()},set pointersMaxDistance(f){Ft(f)},get disabled(){return Sn()},set disabled(f){Ln(f)},get data(){return $n()},get type(){return _n()},set type(f){m(f)},get rightToLeft(){return mt()},set rightToLeft(f){M(f)},get bottomToTop(){return Mn()},set bottomToTop(f){I(f)},get round(){return Br()},set round(f){D(f)},get animateOnClick(){return Et},set animateOnClick(f){X(f)},get keyboardDisabled(){return mr()},set keyboardDisabled(f){gi(f)},get mousewheelDisabled(){return qr()},set mousewheelDisabled(f){a(f)},get rangeDragging(){return at()},set rangeDragging(f){Le(f)},setMin:jt,setMax:Nt,setValue:Vr,setStep:Kr,setData:h,getTextValue:Gt,setAriaLabel:Re,getAriaLabel:Ur,addPointer:Xe,removePointer:Ge,destroy:()=>{p.removeEventListener("mousedown",vn),p.removeEventListener("mouseup",jr),p.removeEventListener("touchmove",Ot),p.removeEventListener("touchstart",Ot),document.removeEventListener("wheel",Hr);for(let f of v)f.destroy();R==null||R.destroy()}}},ts=(u,p,_)=>{let v=Or.find(([R,j,ae,ue])=>j.replace("#","")===p.replace(/\d+/g,""));if(v&&u.styles){let[R,j,ae,ue]=v,U=p.replace(/\D/g,"").trim(),he=U===""||U==="0"||U==="1"?0:ne(U,0)-1;u.styles.setStyle(R,_,he);return}switch(u&&u.pluginsManager&&u.pluginsManager.onAttrChange(p,_),p){case y:{u.setMin(_);break}case w:{u.setMax(_);break}case b:{u.setStep(_);break}case o:{u.pointersOverlap=we(_);break}case l:{u.pointersMinDistance=ne(_,0);break}case d:{u.rangeDragging=we(_);break}case c:{u.pointersMaxDistance=ne(_,1/0);break}case te:{u.disabled=we(_);break}case pe:{u.keyboardDisabled=we(_);break}case O:{u.mousewheelDisabled=we(_);break}case g:{u.setData(_);break}case k:{u.type=_;break}case z:{u.rightToLeft=we(_);break}case ie:{u.bottomToTop=we(_);break}case A:{u.round=ne(_,rt);break}case W:{u.styles&&(u.styles.theme=_);break}case De:{u.animateOnClick=_;break}}let T=null;if(/^value([0-9]*)$/.test(p)&&(T="value"),/^pointer([0-9]*)-disabled$/.test(p)&&(T="pointer-disabled"),/^aria-label([0-9]*)$/.test(p)&&(T="aria-label"),/^pointer([0-9]*)-shape$/.test(p)&&(T="pointer-shape"),!T)return;let G=p.replace(/\D/g,"").trim(),Y=G===""||G==="0"||G==="1"?0:ne(G,0)-1;switch(T){case"value":{u.setValue(_,Y);break}case"pointer-disabled":{let R=u==null?void 0:u.pointers[Y];if(!R)return;R.disabled=we(_);break}case"aria-label":{u.setAriaLabel(Y,_);break}case"pointer-shape":{u.styles&&u.styles.setPointerShape(Y,_);break}}},rs=class extends HTMLElement{constructor(){super(),n(this,"slider"),n(this,"_externalCSSList",[]),n(this,"_observer",null),this.attachShadow({mode:"open"})}set step(u){this.slider&&this.slider.setStep(u)}get step(){var u;return(u=this.slider)==null?void 0:u.step}set disabled(u){this.slider&&(this.slider.disabled=u)}get disabled(){var u,p;return(p=(u=this.slider)==null?void 0:u.disabled)!=null?p:!1}set data(u){var p;(p=this.slider)==null||p.setData(u)}get data(){var u;return(u=this.slider)==null?void 0:u.data}set min(u){var p;(p=this.slider)==null||p.setMin(u)}get min(){var u;return(u=this.slider)==null?void 0:u.min}set max(u){var p;(p=this.slider)==null||p.setMax(u)}get max(){var u;return(u=this.slider)==null?void 0:u.max}set round(u){!this.slider||(this.slider.round=u)}get round(){var u,p;return(p=(u=this.slider)==null?void 0:u.round)!=null?p:rt}set type(u){!this.slider||(this.slider.type=u??re)}get type(){var u;return((u=this.slider)==null?void 0:u.type)||re}set pointersOverlap(u){!this.slider||(this.slider.pointersOverlap=u)}get pointersOverlap(){var u,p;return(p=(u=this.slider)==null?void 0:u.pointersOverlap)!=null?p:!1}set pointersMinDistance(u){!this.slider||(this.slider.pointersMinDistance=u)}get pointersMinDistance(){var u,p;return(p=(u=this.slider)==null?void 0:u.pointersMinDistance)!=null?p:0}set pointersMaxDistance(u){!this.slider||(this.slider.pointersMaxDistance=u)}get pointersMaxDistance(){var u,p;return(p=(u=this.slider)==null?void 0:u.pointersMaxDistance)!=null?p:1/0}set theme(u){!this.slider||!this.slider.styles||(this.slider.styles.theme=u)}get theme(){var u,p,_;return(_=(p=(u=this.slider)==null?void 0:u.styles)==null?void 0:p.theme)!=null?_:null}set rtl(u){!this.slider||(this.slider.rightToLeft=u)}get rtl(){var u,p;return(p=(u=this.slider)==null?void 0:u.rightToLeft)!=null?p:!1}set btt(u){!this.slider||(this.slider.bottomToTop=u)}get btt(){var u,p;return(p=(u=this.slider)==null?void 0:u.bottomToTop)!=null?p:!1}set keyboardDisabled(u){!this.slider||(this.slider.keyboardDisabled=u)}get keyboardDisabled(){var u,p;return(p=(u=this.slider)==null?void 0:u.keyboardDisabled)!=null?p:!1}set mousewheelDisabled(u){!this.slider||(this.slider.mousewheelDisabled=u)}get mousewheelDisabled(){var u,p;return(p=(u=this.slider)==null?void 0:u.mousewheelDisabled)!=null?p:!1}set animateOnClick(u){!this.slider||(this.slider.animateOnClick=u)}get animateOnClick(){var u;return(u=this.slider)==null?void 0:u.animateOnClick}get rangeDragging(){var u,p;return(p=(u=this.slider)==null?void 0:u.rangeDragging)!=null?p:!1}set rangeDragging(u){this.slider&&(this.slider.rangeDragging=we(u))}get externalCSSList(){return this._externalCSSList}addPointer(u){var p,_;if(!this.slider)return;let v=(_=(p=this.slider)==null?void 0:p.addPointer(u))!=null?_:0;ri(this,this.slider,v,`value${v+1}`,`ariaLabel${v+1}`,`pointerShape${v+1}`,`pointer${v+1}Disabled`)}removePointer(){var u;!this.slider||(u=this.slider)==null||u.removePointer()}addCSS(u){if(!this.shadowRoot)return;let p=document.createElement("style");p.textContent=u,this.shadowRoot.appendChild(p)}connectedCallback(){var u,p;if(!this.shadowRoot)return;this._externalCSSList=Xi(this),this.shadowRoot.innerHTML=i(s,this._externalCSSList);let _=(u=this.shadowRoot)==null?void 0:u.querySelector(".pointer");if(!_)return;let v=(p=this.shadowRoot)==null?void 0:p.getElementById("range-slider");if(!v)return;let T=Ji(this,_);this.slider=es(this,v,T),Qi(this,this.slider),this._observer=new MutationObserver(G=>{G.forEach(Y=>{var R;if(!this.slider||Y.type!=="attributes")return;let j=Y.attributeName;!j||ts(this.slider,j,(R=this.getAttribute(j))!=null?R:"")})}),this._observer.observe(this,{attributes:!0})}disconnectedCallback(){this._observer&&this._observer.disconnect(),this.slider&&this.slider.destroy()}},mn=rs;window.tcRangeSlider=mn,customElements.get("toolcool-range-slider")||customElements.define("toolcool-range-slider",mn),customElements.get("tc-range-slider")||customElements.define("tc-range-slider",class extends mn{})})();class zo extends et{constructor(){super();it(this,sr);this.filterObject={},this.tabIndex=0,this.inputHandler=ye(this,sr,oa).bind(this),this.debouncedInputHandler=Zn(this.inputHandler,500,{leading:!1})}reset(){Bc(this)}createRenderRoot(){return this}render(){return Qe(this.filterObject,()=>ee`
|
|
811
|
-
${
|
|
844
|
+
`}}qt=new WeakSet,Jo=function(r){Vc(r,this)},Qo=function(r){Kc(r,this)},ea=function(r){Co(r,this)},Ln(Oo,"properties",{filterObject:{attribute:!1,type:Object},suggestions:{attribute:!1,type:Array},selectedItems:{state:!0,type:Array},query:{state:!0,type:String},showSuggestions:{state:!0,type:Boolean},highlightedIndex:{state:!0,type:Number},filteredSuggestions:{state:!0,type:Array},type:{attribute:!0,type:String},unstyled:{type:Boolean},tabIndex:{attribute:!1,type:Number},inlineMode:{attribute:"inline-mode",type:Boolean}}),customElements.define("eox-itemfilter-select",Oo),(()=>{var t=Object.defineProperty,e=Math.pow,r=(d,p,$)=>p in d?t(d,p,{enumerable:!0,configurable:!0,writable:!0,value:$}):d[p]=$,n=(d,p,$)=>(r(d,typeof p!="symbol"?p+"":p,$),$),i=(d,p)=>` ${p&&p.length>0?p.map($=>`<link rel="stylesheet" href="${$}" />`).join(""):""} <style> ${d} </style> <div class="range-slider-box"> <div class="row"> <div id="range-slider" class="range-slider"> <div class="container"> <div class="panel"></div> <div class="panel-fill"></div> <div class="container"> <div class="pointer" tabindex="0" role="slider"> <div class="pointer-shape"></div> </div> </div> </div> </div> </div> </div>`,s=":host{--width:300px;--height:.25rem;--opacity:.4;--panel-bg:#cbd5e1;--panel-bg-hover:#94a3b8;--panel-bg-fill:#475569;--panel-bg-border-radius:1rem;--pointer-width:1rem;--pointer-height:1rem;--pointer-bg:#fff;--pointer-bg-hover:#dcdcdc;--pointer-bg-focus:#dcdcdc;--pointer-shadow:0 0 2px rgba(0,0,0,0.8);--pointer-shadow-hover:0 0 2px #000;--pointer-shadow-focus:var(--pointer-shadow-hover);--pointer-border:1px solid hsla(0,0%,88%,0.5);--pointer-border-hover:1px solid #94a3b8;--pointer-border-focus:var(--pointer-border-hover);--pointer-border-radius:100%;--animate-onclick:.3s}:host{max-width:100%}.range-slider-box{display:flex;position:relative;flex-direction:column}.range-slider{position:relative;width:var(--width,100%);height:var(--height,0.25rem);touch-action:none;max-width:100%;box-sizing:border-box;cursor:pointer}.row{width:100%;display:flex;align-items:center}.range-slider.disabled{opacity:var(--opacity,0.4);cursor:default}.pointer.disabled{-webkit-filter:brightness(0.8);filter:brightness(0.8);cursor:default}.range-slider *{box-sizing:border-box}.container{position:absolute;width:100%;height:100%}.panel{position:absolute;z-index:10;width:100%;height:100%;background:var(--panel-bg,#2d4373);border-radius:var(--panel-bg-border-radius,1rem);overflow:hidden;transition:.3s all ease}.panel-fill{background:var(--panel-bg-fill,#000);border-radius:var(--panel-bg-border-radius,1rem);overflow:hidden;height:100%;position:absolute;z-index:10}.panel:hover{background:var(--panel-bg-hover,#5f79b7)}.disabled .panel:hover{background:var(--panel-bg,#5f79b7)}.pointer{position:absolute;z-index:20;outline:0;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%)}.pointer-shape{background:var(--pointer-bg,#fff);background-size:contain;box-shadow:var(--pointer-shadow);border:var(--pointer-border);border-radius:var(--pointer-border-radius,100%);-webkit-transform:translateX(-50%);transform:translateX(-50%);width:var(--pointer-width,15px);height:var(--pointer-height,15px);transition:.3s all ease}.pointer-shape:hover{background:var(--pointer-bg-hover,#fff);background-size:contain;border:var(--pointer-border-hover);box-shadow:var(--pointer-shadow-hover)}.disabled .pointer-shape:hover{background:var(--pointer-bg,#fff);background-size:contain;border:var(--pointer-border);box-shadow:var(--pointer-shadow)}.pointer:focus .pointer-shape{background:var(--pointer-bg-focus,#fff);background-size:contain;border:var(--pointer-border-focus);box-shadow:var(--pointer-shadow-focus)}.disabled .pointer:focus .pointer-shape{background:var(--pointer-bg,#fff);background-size:contain;border:var(--pointer-border);box-shadow:var(--pointer-shadow)}.type-vertical .range-slider{--width:.25rem;--height:300px;max-height:100%}.type-vertical .range-slider .pointer{left:50%}.type-vertical .range-slider .panel-fill{width:100%}.type-vertical.range-slider-box{flex-direction:row}.type-vertical .row{flex-direction:column}.animate-on-click .pointer,.animate-on-click .panel-fill{transition:all var(--animate-onclick)}.range-dragging .panel-fill{cursor:move}",o="pointers-overlap",l="pointers-min-distance",c="pointers-max-distance",u="range-dragging",g="data",y="min",x="max",b="step",_="round",k="type",q="theme",U="rtl",oe="btt",te="disabled",ae="keyboard-disabled",O="mousewheel-disabled",le="slider-width",ie="slider-height",$e="slider-radius",Ae="slider-bg",pe="slider-bg-hover",Q="slider-bg-fill",ve="pointer-width",Fe="pointer-height",D="pointer-radius",E="pointer-bg",C="pointer-bg-hover",N="pointer-bg-focus",L="pointer-shadow",V="pointer-shadow-hover",K="pointer-shadow-focus",ne="pointer-border",ge="pointer-border-hover",Ee="pointer-border-focus",Te="animate-onclick",ze="css-links",ke="vertical",j="horizontal",Be=(d,p,$,w,P)=>{let z=p-d;return z===0?$:(w-$)*(P-d)/z+$},Se=d=>!isNaN(parseFloat(d))&&isFinite(d),G=(d,p)=>Se(d)?Number(d):p,Ke=(d,p)=>p===0?0:Math.round(d/p)*p,yt=(d,p=1/0)=>{if(p===1/0)return d;let $=e(10,p);return Math.round(d*$)/$},we=d=>d==null?!1:typeof d=="boolean"?d:d.trim().toLowerCase()==="true",kr=(d,p)=>{d.dispatchEvent(new CustomEvent("onPointerClicked",{detail:{$pointer:p}}))},Lr=(d,p)=>{d.dispatchEvent(new CustomEvent("onMouseDown",{detail:{nativeEvent:p}}))},Pt=(d,p)=>{d.dispatchEvent(new CustomEvent("onMouseUp",{detail:{nativeEvent:p}}))},cn=(d,p)=>{d.dispatchEvent(new CustomEvent("onKeyDown",{detail:{nativeEvent:p}}))},un=(d,p)=>{if(!p||p.length<=0)return;let $=p.map(P=>Se(P)?G(P,P):P),w={values:$||[]};w.value=$[0],w.value0=$[0],w.value1=$[0];for(let P=1;P<$.length;P++)w[`value${P+1}`]=$[P];d.dispatchEvent(new CustomEvent("change",{detail:w}))},cr=(d,p,$)=>{let w=0,P,z,re,T,B=!1,se=(X,Me,Ue,Ne,De,je)=>{let Ye=w;Ue!==void 0&&X>Ue&&(X=Ue),Me!==void 0&&X<Me&&(X=Me),w=X;let Ze=w;return(Ne===ke&&je||Ne===j&&De)&&(Ze=100-Ze),Ne===ke?p.style.top=`${Ze}%`:p.style.left=`${Ze}%`,Ye!==w},ue=X=>X===p||p.contains(X),F=(X,Me,Ue,Ne)=>{P=X,z=Me,re=Ue,T=Ne},ye=X=>{B=X,p.classList.toggle("disabled",B),B?p.setAttribute("aria-disabled","true"):p.hasAttribute("aria-disabled")&&p.removeAttribute("aria-disabled")},rt=(X,Me)=>{Me==null?p.removeAttribute(X):p.setAttribute(X,Me)},Le=X=>p.getAttribute(X),Z=X=>{if(!B){switch(X.key){case"ArrowLeft":{X.preventDefault(),typeof P=="function"&&P($);break}case"ArrowRight":{X.preventDefault(),typeof z=="function"&&z($);break}case"ArrowUp":{X.preventDefault(),typeof re=="function"&&re($);break}case"ArrowDown":{X.preventDefault(),typeof T=="function"&&T($);break}}cn(d,X)}},ce=()=>{B||kr(d,p)};return p.className=`pointer pointer-${$}`,p.addEventListener("keydown",Z),p.addEventListener("click",ce),{$pointer:p,get percent(){return w},get disabled(){return B},set disabled(X){ye(X)},updatePosition:se,isClicked:ue,setCallbacks:F,setAttr:rt,getAttr:Le,destroy:()=>{p.removeEventListener("keydown",Z),p.removeEventListener("click",ce),p.remove()}}},Wt=d=>{if(d==null)return;if(Array.isArray(d))return d;if(d.trim()==="")return;let p=d.split(","),$=[],w=!0;for(let P=0;P<p.length;P++){let z=p[P].trim();z!==""&&($.push(z),Se(z)||(w=!1))}return w?$.map(P=>Number(P)):$},ur=(d,p)=>p?p.findIndex($=>$===d||$.toString().trim()===d.toString().trim()):-1,dn=d=>({updatePosition:(p,$,w,P)=>{if($.length<=0)return;let z=$.length===1,re=$[0],T=$[$.length-1];p===ke?(d.style.removeProperty("width"),d.style.removeProperty("right"),d.style.removeProperty("left"),z?d.style.height=`${re}%`:d.style.height=`${Math.abs(re-T)}%`,P?(d.style.bottom="0%",z?d.style.top="auto":d.style.top=`${Math.min(100-T,100-re)}%`):(d.style.bottom="auto",z?d.style.top="0%":d.style.top=`${Math.min(re,T)}%`)):(d.style.removeProperty("height"),d.style.removeProperty("top"),d.style.removeProperty("bottom"),z?d.style.width=`${re}%`:d.style.width=`${Math.abs(re-T)}%`,w?(d.style.right="0%",z?d.style.left="auto":d.style.left=`${Math.min(100-T,100-re)}%`):(d.style.right="auto",z?d.style.left="0%":d.style.left=`${Math.min(re,T)}%`))}}),Dr="--animate-onclick",dr="--width",hn="--height",fn="--panel-bg-border-radius",pn="--panel-bg",Pr="--panel-bg-hover",gn="--panel-bg-fill",v="--pointer-width",S="--pointer-height",W="--pointer-border-radius",_e="--pointer-bg",qe="--pointer-bg-hover",Ge="--pointer-bg-focus",Tr="--pointer-shadow",at="--pointer-shadow-hover",bt="--pointer-shadow-focus",Rr="--pointer-border",_t="--pointer-border-hover",Mt="--pointer-border-focus",Tt=(d,p,$)=>{let w=new Map;for(let P of d.attributes){let z=P.nodeName.trim().toLowerCase();if(!p.test(z))continue;let re=z.replace(/\D/g,"").trim(),T=re===""||re==="0"||re==="1"?0:G(re,0)-1,B=$&&typeof $=="function"?$(P.value):P.value;w.set(T,B)}return w},yn=d=>{if(!d)return null;let p=d.getAttribute(ze);if(!p)return null;let $=p.split(";"),w=[];for(let P of $)P.trim()!==""&&w.push(P.trim());return w},Vt=[[dr,le,"sliderWidth",null],[hn,ie,"sliderHeight",null],[fn,$e,"sliderRadius",null],[pn,Ae,"sliderBg",null],[Pr,pe,"sliderBgHover",null],[gn,Q,"sliderBgFill",null],[v,ve,"pointer#Width",/^pointer([0-9]*)-width$/],[S,Fe,"pointer#Height",/^pointer([0-9]*)-height$/],[W,D,"pointer#Radius",/^pointer([0-9]*)-radius$/],[_e,E,"pointer#Bg",/^pointer([0-9]*)-bg$/],[qe,C,"pointer#BgHover",/^pointer([0-9]*)-bg-hover$/],[Ge,N,"pointer#BgFocus",/^pointer([0-9]*)-bg-focus$/],[Tr,L,"pointer#Shadow",/^pointer([0-9]*)-shadow$/],[at,V,"pointer#ShadowHover",/^pointer([0-9]*)-shadow-hover$/],[bt,K,"pointer#ShadowFocus",/^pointer([0-9]*)-shadow-focus$/],[Rr,ne,"pointer#Border",/^pointer([0-9]*)-border$/],[_t,ge,"pointer#BorderHover",/^pointer([0-9]*)-border-hover$/],[Mt,Ee,"pointer#BorderFocus",/^pointer([0-9]*)-border-focus$/]],bn=(d,p,$)=>{let w=null,P=[],z=new Map,re=(Z,ce=p)=>{let X=[...ce.classList];for(let Me of X)Me.startsWith(Z)&&p.classList.remove(Me)},T=()=>{re("shape");let Z=p.querySelectorAll(".pointer");for(let ce of Z)re("shape",ce)},B=Z=>{w=Z,re("theme-"),typeof Z=="string"&&p.classList.add(`theme-${Z}`)},se=()=>{if(T(),!(P.length<=0)){p.classList.add("shape",`shape-${P[0]}`);for(let Z=1;Z<P.length;Z++){let ce=P[Z];if(!ce)continue;let X=p.querySelector(`.pointer-${Z}`);!X||X.classList.add("shape",`shape-${ce}`)}}},ue=(Z,ce)=>{P[Z]=ce,se()},F=()=>{T();let Z=Tt(d,/^pointer([0-9]*)-shape$/);if(!(Z.size<=0)){for(let ce of Z){let X=ce[0];P[X]=ce[1]}se()}},ye=(Z,ce)=>`${Z}-${ce}`,rt=(Z,ce,X)=>{let Me=$[X];if(!Me)return;let Ue=X===0?p:Me.$pointer;if(ce==null){z.has(ye(Z,X))&&z.delete(ye(Z,X)),Ue.style.removeProperty(Z);return}z.set(ye(Z,X),ce),Ue.style.setProperty(Z,ce)},Le=(Z,ce)=>z.get(ye(Z,ce));return(()=>{for(let Z of Vt){let[ce,X,Me,Ue]=Z;if(Ue){let De=Tt(d,Ue);for(let je of De){let Ye=je[0],Ze=je[1];rt(ce,Ze,Ye)}}else{let De=d.getAttribute(X);rt(ce,De,0)}let Ne=[];if(Me.indexOf("#")===-1)Ne.push([Me,0]);else{Ne.push([Me.replace("#",""),0]),Ne.push([Me.replace("#","0"),0]),Ne.push([Me.replace("#","1"),0]);for(let De=1;De<$.length;De++)Ne.push([Me.replace("#",(De+1).toString()),De])}for(let De of Ne)try{let je=De[0],Ye=De[1];Object.prototype.hasOwnProperty.call(d,je)||Object.defineProperty(d,je,{get(){return Le(ce,Ye)},set:Ze=>{rt(ce,Ze,Ye)}})}catch(je){console.error(je)}}B(d.getAttribute(q)),F()})(),{setStyle:rt,getStyle:Le,get theme(){return w},set theme(Z){B(Z)},get pointerShapes(){return P},setPointerShape:ue}},Ct="animate-on-click",Or="range-dragging",hr=(d,p,$,w)=>{let P=[],z=ue=>{for(let F of P)F.update&&typeof F.update=="function"&&F.update(ue)},re=()=>{for(let ue of P)ue.destroy&&typeof ue.destroy=="function"&&ue.destroy()},T=(ue,F)=>{for(let ye of P)ye.onAttrChange&&typeof ye.onAttrChange=="function"&&ye.onAttrChange(ue,F)},B=ue=>{if(ue.gettersAndSetters){for(let F of ue.gettersAndSetters)if(!(!F.name||!F.attributes))try{Object.prototype.hasOwnProperty.call(d,F.name)||Object.defineProperty(d,F.name,F.attributes)}catch(ye){console.error("defineSettersGetters error:",ye)}}},se=ue=>{var F;if(!ue.css)return;let ye=(F=d.shadowRoot)==null?void 0:F.querySelector("style");!ye||(ye.innerHTML+=ue.css)};return{init:()=>{if(window.tcRangeSliderPlugins)for(let ue of window.tcRangeSliderPlugins){let F=ue();P.push(F),F.init&&typeof F.init=="function"&&(F.init(d,p,$,w),B(F),se(F))}},update:z,onAttrChange:T,destroy:re}},Zi=10,ni=20,Xi=(d,p)=>{let $=new Map,w=/^value([0-9]*)$/;for(let T of d.attributes){let B=T.nodeName.trim().toLowerCase();if(!w.test(B))continue;let se=B.replace("value","").trim(),ue=se===""||se==="0"||se==="1"?0:G(se,0)-1,F=Se(T.value)?G(T.value,0):T.value;$.set(ue,F)}let P=Math.max(...Array.from($.keys())),z=[];z.push([cr(d,p,0),$.get(0)]);let re=p;for(let T=1;T<=P;T++){let B=p.cloneNode(!0);re.after(B),re=B,z.push([cr(d,B,T),$.get(T)])}return z},ii=(d,p,$,w,P,z,re)=>{try{Object.defineProperty(d,w,{configurable:!0,get(){if(!p)return;let T=p.pointers[$];if(!T)return;let B=p.getTextValue(T.percent);return Se(B)?G(B,B):B},set:T=>{p.pointers[$]?p==null||p.setValue(T,$):p==null||p.addPointer(T)}}),Object.defineProperty(d,P,{configurable:!0,get(){var T,B;return(B=(T=p==null?void 0:p.pointers[$])==null?void 0:T.getAttr("aria-label"))!=null?B:void 0},set:T=>{!p||p.setAriaLabel($,T)}}),Object.defineProperty(d,z,{configurable:!0,get(){var T,B;return(B=(T=p==null?void 0:p.styles)==null?void 0:T.pointerShapes[$])!=null?B:null},set:T=>{!p||!p.styles||p.styles.setPointerShape($,T)}}),Object.defineProperty(d,re,{configurable:!0,get(){var T;return(T=p==null?void 0:p.pointers[$].disabled)!=null?T:!1},set:T=>{if(!p)return;let B=p==null?void 0:p.pointers[$];!B||(B.disabled=T)}})}catch(T){console.error(T)}},Ji=(d,p)=>{let $=[["value","ariaLabel","pointerShape","pointerDisabled",0],["value0","ariaLabel0","pointerShape0","pointer0Disabled",0],["value1","ariaLabel1","pointerShape1","pointer1Disabled",0]];for(let w=2;w<Zi;w++)$.push([`value${w}`,`ariaLabel${w}`,`pointer${w}Shape`,`pointer${w}Disabled`,w-1]);for(let w of $)ii(d,p,w[4],w[0],w[1],w[2],w[3])},fr=(d,p,$)=>{var w;let P=(w=$.shadowRoot)==null?void 0:w.querySelector(".container");if(P)for(let z of d)p?P.prepend(z.$pointer):P.append(z.$pointer)},mn=(d,p)=>{if(!(!p||d.length<=1)){for(let $ of d)$.$pointer.style.zIndex=ni.toString();p.$pointer.style.zIndex=(ni*2).toString()}},Br=0,lt=100,Kt=2,si="0.3s",Qi=(d,p,$)=>{let w=$.map(f=>f[0]),P=null,z=null,re=null,T=null,B=Br,se=lt,ue,F,ye=j,rt=Kt,Le=!1,Z=!1,ce=!1,X=0,Me=1/0,Ue=!1,Ne,De,je=!1,Ye=!1,Ze=!1,Et=si,vn=[],oi=f=>{je||(f.preventDefault&&f.preventDefault(),Rt(f),window.addEventListener("mousemove",Rt),window.addEventListener("mouseup",jr),Lr(d,f))},jr=f=>{je||(Ne=void 0,De=void 0,window.removeEventListener("mousemove",Rt),window.removeEventListener("mouseup",jr),Et&&p.classList.add(Ct),Pt(d,f))},wn=(f,A)=>{if(w.length<=0)return;if(w.length===1)return w[0].isClicked(f)&&Et&&p.classList.remove(Ct),w[0];let H=ns(f);if(Ue){let he=A,et=Nr(he);et!==void 0&&(he=Ke(he,et)),H?(Ne=he,De=0,Et&&p.classList.remove(Ct)):Ne!==void 0&&(De=he-Ne,Ne=he)}if(!rs(f)&&!H){for(let he of w)if(!(!he.isClicked(f)||he.disabled))return Et&&p.classList.remove(Ct),he;for(let he of w)if(P===he)return he}let de=1/0,Oe=null;for(let he of w){if(he.disabled)continue;let et=Math.abs(A-he.percent);et<de&&(de=et,Oe=he)}return Oe},ai=()=>w.findIndex(f=>P===f&&!f.disabled),Rt=f=>{let A;if(ye===ke){let{height:de,top:Oe}=p.getBoundingClientRect(),he=f.type.indexOf("mouse")!==-1?f.clientY:f.touches[0].clientY;A=Math.min(Math.max(0,he-Oe),de)*100/de}else{let{width:de,left:Oe}=p.getBoundingClientRect(),he=f.type.indexOf("mouse")!==-1?f.clientX:f.touches[0].clientX;A=Math.min(Math.max(0,he-Oe),de)*100/de}if((Le||Z)&&(A=100-A),P=wn(f.target,A),P&&mn(w,P),Ue&&w.length>1&&De!==void 0){let de=w[0],Oe=w[w.length-1],he=de.percent+De<0,et=Oe.percent+De>100;if(he||et)return;for(let bi=0;bi<w.length;bi++)Xe(bi,w[bi].percent+De);return}let H=ai();H!==-1&&(Xe(H,A),P==null||P.$pointer.focus())},Hr=f=>{if(je||document.activeElement!==d||P!=null&&P.disabled)return;f.stopPropagation(),f.preventDefault();let A=f.deltaY<0,H=Le||Z,de=A?!H:H,Oe=ai();Oe!==-1&&(de?pr(Oe,w[Oe].percent):gr(Oe,w[Oe].percent))},li=f=>{je||Ye||(ye===ke?Z?Xe(f,100):Xe(f,0):Le?gr(f,w[f].percent):pr(f,w[f].percent))},ci=f=>{je||Ye||(ye===ke?Z?Xe(f,0):Xe(f,100):Le?pr(f,w[f].percent):gr(f,w[f].percent))},ui=f=>{je||Ye||(ye===ke?Z?gr(f,w[f].percent):pr(f,w[f].percent):Le?Xe(f,100):Xe(f,0))},di=f=>{je||Ye||(ye===ke?Z?pr(f,w[f].percent):gr(f,w[f].percent):Le?Xe(f,0):Xe(f,100))},rs=f=>f.classList.contains("panel"),ns=f=>f.classList.contains("panel-fill"),pr=(f,A)=>{if(A===void 0)return;let H=Nr(A);H==null&&(H=1),A-=H,A<0&&(A=0),Xe(f,A)},gr=(f,A)=>{if(A===void 0)return;let H=Nr(A);H==null&&(H=1),A+=H,A>100&&(A=100),Xe(f,A)},St=()=>{!T||T.update({percents:fi(),values:xn(),$pointers:yr(),min:pi(),max:gi(),data:$n(),step:kt(),round:Ur(),type:zr(),textMin:Ot(),textMax:Ir(),rightToLeft:_n(),bottomToTop:Mn(),pointersOverlap:ut(),pointersMinDistance:An(),pointersMaxDistance:Yt(),rangeDragging:Zt(),disabled:br(),keyboardDisabled:Fr(),mousewheelDisabled:mr()})},is=()=>{St()},ss=f=>{if(!(ce||w.length<=1||se===B))if(f===0){let A=Me*100/(se-B);return Math.max(0,w[f+1].percent-A)}else{let A=X*100/(se-B);return Math.min(w[f-1].percent+A,100)}},hi=f=>{if(!(ce||w.length<=1||se===B))if(f===w.length-1){let A=Me*100/(se-B);return Math.min(w[f-1].percent+A,100)}else{let A=X*100/(se-B);return Math.max(0,w[f+1].percent-A)}},Nr=f=>{let A;if(typeof ue=="function"){let H=Be(0,100,B,se,f);A=ue(H,f)}else A=ue;if(Se(A)){let H=se-B;return A=H===0?0:A*100/H,A}},Gt=f=>{if(f===void 0)return;let A=Be(0,100,B,se,f);return F!==void 0?F[Math.round(A)]:yt(A,rt)},Ot=()=>F!==void 0?F[B]:B,Ir=()=>F!==void 0?F[se]:se,kt=()=>ue,Lt=f=>{var A;return f<=0||ce?Ot():(A=Gt(w[f-1].percent))!=null?A:""},os=f=>{var A;return w.length<=1||f>=w.length-1||ce?Ir():(A=Gt(w[f+1].percent))!=null?A:""},fi=()=>w.map(f=>f.percent),xn=()=>w.map(f=>Gt(f.percent)),yr=()=>w.map(f=>f.$pointer),pi=()=>B,gi=()=>se,$n=()=>F,zr=()=>ye,Ur=()=>rt,An=()=>X,Yt=()=>Me,Bt=f=>vn[f],_n=()=>Le,Mn=()=>Z,br=()=>je,Fr=()=>Ye,mr=()=>Ze,ut=()=>ce,Zt=()=>Ue,Xe=(f,A)=>{if(A===void 0)return;let H=Nr(A);H!==void 0&&(A=Ke(A,H));let de=w[f];if(!de)return;let Oe=de.updatePosition(A,ss(f),hi(f),ye,Le,Z);z==null||z.updatePosition(ye,w.map(he=>he.percent),Le,Z),St();for(let he of w){let et=Gt(he.percent);et!==void 0&&(he.setAttr("aria-valuenow",et.toString()),he.setAttr("aria-valuetext",et.toString()))}qr(),Oe&&un(d,w.map(he=>Gt(he.percent)))},dt=()=>{for(let f=0;f<w.length;f++)Xe(f,w[f].percent)},Cn=(f,A)=>{B=F!==void 0?0:G(f,Br),se=F!==void 0?F.length-1:G(A,lt),jt(B),Xt(se)},qr=()=>{var f,A;for(let H=0;H<w.length;H++){let de=w[H];de.setAttr("aria-valuemin",((f=Lt(H))!=null?f:"").toString()),de.setAttr("aria-valuemax",((A=os(H))!=null?A:"").toString())}},jt=f=>{B=G(f,Br),B>se&&(se=B+lt),dt()},Xt=f=>{se=G(f,lt),se<B&&(se=B+lt),dt()},yi=f=>{ce=!0;for(let A=0;A<f.length;A++)Wr(f[A],A);ce=!1;for(let A=0;A<f.length;A++)Wr(f[A],A)},Wr=(f,A)=>{let H;F!==void 0?(H=f==null?0:ur(f,F),H===-1&&(H=0)):(H=G(f,B),H<B&&(H=B),H>se&&(H=se));let de=Be(B,se,0,100,H);Xe(A,de)},Vr=f=>{if(f==null){ue=void 0;return}if(typeof f=="function"){ue=f,dt();return}if(Se(f)){ue=G(f,1);let A=Math.abs(se-B);ue>A&&(ue=void 0),dt();return}ue=void 0},En=f=>{ce=f,dt()},Jt=f=>{(!Se(f)||f<0)&&(f=0),X=f},Sn=f=>{(!Se(f)||f<0)&&(f=1/0),Me=f},kn=f=>{je=f,p.classList.toggle("disabled",je),je?p.setAttribute("aria-disabled","true"):p.hasAttribute("aria-disabled")&&p.removeAttribute("aria-disabled")},a=f=>{Ye=f},h=f=>{Ze=f,Ze?document.removeEventListener("wheel",Hr):document.addEventListener("wheel",Hr,{passive:!1})},m=f=>{if(f==null){F=void 0;return}if(F=Wt(f),F===void 0||F.length<=0){F=void 0;return}jt(0),Xt(F.length-1),ue===void 0&&Vr(1)},M=f=>{var A;typeof f=="string"?ye=f.trim().toLowerCase()===ke?ke:j:ye=j;let H=(A=d.shadowRoot)==null?void 0:A.querySelector(".range-slider-box");if(!H)return;H.className=`range-slider-box type-${ye}`,dt();let de=ye===ke?"vertical":"horizontal";for(let Oe of w)Oe.setAttr("aria-orientation",de)},I=f=>{Le=f,w.length>1&&fr(w,Le,d),dt(),St()},R=f=>{Z=f,w.length>1&&fr(w,Z,d),dt(),St()},J=f=>{rt=G(f,Kt),rt<0&&(rt=Kt),St()},Pe=f=>{f==null||f.toString().trim().toLowerCase()==="false"?(Et=void 0,p.style.removeProperty(Dr),p.classList.remove(Ct)):(Et=f.toString(),p.style.setProperty(Dr,Et),p.classList.add(Ct))},Re=(f,A)=>{let H=w[f];!H||(H.setAttr("aria-label",A),vn[f]=A)},Ie=f=>{if(Ne=void 0,w.length<=1){Ue=!1,p.classList.remove(Or);return}Ue=f,p.classList.toggle(Or,Ue)},Je=()=>{kn(we(d.getAttribute(te))),Ye=we(d.getAttribute(ae)),Ze=we(d.getAttribute(O));let f=Tt(d,/^pointer([0-9]*)-disabled$/,A=>we(A));for(let A of f){let H=A[0];!w[H]||(w[H].disabled=A[1])}},Qe=()=>{let f=Tt(d,/^aria-label([0-9]*)$/);for(let A of f){let H=A[0];Re(H,A[1])}},We=f=>{let A=w.length,H=w[A-1].$pointer,de=H.cloneNode(!0);H.after(de);let Oe=cr(d,de,A);return Oe.setCallbacks(li,ci,ui,di),w.push(Oe),Wr(f,A),dt(),St(),A},nt=()=>{let f=w.length,A=w[f-1];return A?(A.destroy(),w.pop(),w.length<=1&&Ie(!1),dt(),St(),f-1):-1};return(()=>{var f,A;for(let de of w)de.setCallbacks(li,ci,ui,di);let H=(f=d.shadowRoot)==null?void 0:f.querySelector(".panel-fill");H&&(z=dn(H)),M(d.getAttribute(k)),I(we(d.getAttribute(U))),R(we(d.getAttribute(oe))),Cn(d.getAttribute(y),d.getAttribute(x)),Vr(d.getAttribute(b)),m(d.getAttribute(g)),yi($.map(de=>de[1])),En(we(d.getAttribute(o))),Jt(G(d.getAttribute(l),0)),Sn(G(d.getAttribute(c),1/0)),Ie(we(d.getAttribute(u))),J(G(d.getAttribute(_),Kt)),Je(),Qe(),re=bn(d,p,w),Pe((A=d.getAttribute(Te))!=null?A:si),p.addEventListener("mousedown",oi),p.addEventListener("mouseup",jr),p.addEventListener("touchmove",Rt),p.addEventListener("touchstart",Rt),Ze||document.addEventListener("wheel",Hr,{passive:!1}),T=hr(d,is,{setValues:yi,setMin:jt,setMax:Xt,setStep:Vr,setPointersOverlap:En,setPointersMinDistance:Jt,setPointersMaxDistance:Sn,setDisabled:kn,setType:M,setRightToLeft:I,setBottomToTop:R,setRound:J,setKeyboardDisabled:a,setMousewheelDisabled:h,setRangeDragging:Ie,setData:m},{getPercents:fi,getValues:xn,getPointerElements:yr,getMin:pi,getMax:gi,getStep:kt,getData:$n,getType:zr,getRound:Ur,getTextMin:Ot,getTextMax:Ir,isRightToLeft:_n,isBottomToTop:Mn,isDisabled:br,isKeyboardDisabled:Fr,isMousewheelDisabled:mr,isPointersOverlap:ut,isRangeDraggingEnabled:Zt,getPointersMinDistance:An,getPointersMaxDistance:Yt}),T.init()})(),{get pointers(){return w},get styles(){return re},get pluginsManager(){return T},get min(){return Ot()},get max(){return Ir()},get step(){return kt()},get pointersOverlap(){return ut()},set pointersOverlap(f){En(f)},get pointersMinDistance(){return An()},set pointersMinDistance(f){Jt(f)},get pointersMaxDistance(){return Yt()},set pointersMaxDistance(f){Sn(f)},get disabled(){return br()},set disabled(f){kn(f)},get data(){return $n()},get type(){return zr()},set type(f){M(f)},get rightToLeft(){return _n()},set rightToLeft(f){I(f)},get bottomToTop(){return Mn()},set bottomToTop(f){R(f)},get round(){return Ur()},set round(f){J(f)},get animateOnClick(){return Et},set animateOnClick(f){Pe(f)},get keyboardDisabled(){return Fr()},set keyboardDisabled(f){a(f)},get mousewheelDisabled(){return mr()},set mousewheelDisabled(f){h(f)},get rangeDragging(){return Zt()},set rangeDragging(f){Ie(f)},setMin:jt,setMax:Xt,setValue:Wr,setStep:Vr,setData:m,getTextValue:Gt,setAriaLabel:Re,getAriaLabel:Bt,addPointer:We,removePointer:nt,destroy:()=>{p.removeEventListener("mousedown",oi),p.removeEventListener("mouseup",jr),p.removeEventListener("touchmove",Rt),p.removeEventListener("touchstart",Rt),document.removeEventListener("wheel",Hr);for(let f of w)f.destroy();T==null||T.destroy()}}},es=(d,p,$)=>{let w=Vt.find(([T,B,se,ue])=>B.replace("#","")===p.replace(/\d+/g,""));if(w&&d.styles){let[T,B,se,ue]=w,F=p.replace(/\D/g,"").trim(),ye=F===""||F==="0"||F==="1"?0:G(F,0)-1;d.styles.setStyle(T,$,ye);return}switch(d&&d.pluginsManager&&d.pluginsManager.onAttrChange(p,$),p){case y:{d.setMin($);break}case x:{d.setMax($);break}case b:{d.setStep($);break}case o:{d.pointersOverlap=we($);break}case l:{d.pointersMinDistance=G($,0);break}case u:{d.rangeDragging=we($);break}case c:{d.pointersMaxDistance=G($,1/0);break}case te:{d.disabled=we($);break}case ae:{d.keyboardDisabled=we($);break}case O:{d.mousewheelDisabled=we($);break}case g:{d.setData($);break}case k:{d.type=$;break}case U:{d.rightToLeft=we($);break}case oe:{d.bottomToTop=we($);break}case _:{d.round=G($,Kt);break}case q:{d.styles&&(d.styles.theme=$);break}case Te:{d.animateOnClick=$;break}}let P=null;if(/^value([0-9]*)$/.test(p)&&(P="value"),/^pointer([0-9]*)-disabled$/.test(p)&&(P="pointer-disabled"),/^aria-label([0-9]*)$/.test(p)&&(P="aria-label"),/^pointer([0-9]*)-shape$/.test(p)&&(P="pointer-shape"),!P)return;let z=p.replace(/\D/g,"").trim(),re=z===""||z==="0"||z==="1"?0:G(z,0)-1;switch(P){case"value":{d.setValue($,re);break}case"pointer-disabled":{let T=d==null?void 0:d.pointers[re];if(!T)return;T.disabled=we($);break}case"aria-label":{d.setAriaLabel(re,$);break}case"pointer-shape":{d.styles&&d.styles.setPointerShape(re,$);break}}},ts=class extends HTMLElement{constructor(){super(),n(this,"slider"),n(this,"_externalCSSList",[]),n(this,"_observer",null),this.attachShadow({mode:"open"})}set step(d){this.slider&&this.slider.setStep(d)}get step(){var d;return(d=this.slider)==null?void 0:d.step}set disabled(d){this.slider&&(this.slider.disabled=d)}get disabled(){var d,p;return(p=(d=this.slider)==null?void 0:d.disabled)!=null?p:!1}set data(d){var p;(p=this.slider)==null||p.setData(d)}get data(){var d;return(d=this.slider)==null?void 0:d.data}set min(d){var p;(p=this.slider)==null||p.setMin(d)}get min(){var d;return(d=this.slider)==null?void 0:d.min}set max(d){var p;(p=this.slider)==null||p.setMax(d)}get max(){var d;return(d=this.slider)==null?void 0:d.max}set round(d){!this.slider||(this.slider.round=d)}get round(){var d,p;return(p=(d=this.slider)==null?void 0:d.round)!=null?p:Kt}set type(d){!this.slider||(this.slider.type=d??j)}get type(){var d;return((d=this.slider)==null?void 0:d.type)||j}set pointersOverlap(d){!this.slider||(this.slider.pointersOverlap=d)}get pointersOverlap(){var d,p;return(p=(d=this.slider)==null?void 0:d.pointersOverlap)!=null?p:!1}set pointersMinDistance(d){!this.slider||(this.slider.pointersMinDistance=d)}get pointersMinDistance(){var d,p;return(p=(d=this.slider)==null?void 0:d.pointersMinDistance)!=null?p:0}set pointersMaxDistance(d){!this.slider||(this.slider.pointersMaxDistance=d)}get pointersMaxDistance(){var d,p;return(p=(d=this.slider)==null?void 0:d.pointersMaxDistance)!=null?p:1/0}set theme(d){!this.slider||!this.slider.styles||(this.slider.styles.theme=d)}get theme(){var d,p,$;return($=(p=(d=this.slider)==null?void 0:d.styles)==null?void 0:p.theme)!=null?$:null}set rtl(d){!this.slider||(this.slider.rightToLeft=d)}get rtl(){var d,p;return(p=(d=this.slider)==null?void 0:d.rightToLeft)!=null?p:!1}set btt(d){!this.slider||(this.slider.bottomToTop=d)}get btt(){var d,p;return(p=(d=this.slider)==null?void 0:d.bottomToTop)!=null?p:!1}set keyboardDisabled(d){!this.slider||(this.slider.keyboardDisabled=d)}get keyboardDisabled(){var d,p;return(p=(d=this.slider)==null?void 0:d.keyboardDisabled)!=null?p:!1}set mousewheelDisabled(d){!this.slider||(this.slider.mousewheelDisabled=d)}get mousewheelDisabled(){var d,p;return(p=(d=this.slider)==null?void 0:d.mousewheelDisabled)!=null?p:!1}set animateOnClick(d){!this.slider||(this.slider.animateOnClick=d)}get animateOnClick(){var d;return(d=this.slider)==null?void 0:d.animateOnClick}get rangeDragging(){var d,p;return(p=(d=this.slider)==null?void 0:d.rangeDragging)!=null?p:!1}set rangeDragging(d){this.slider&&(this.slider.rangeDragging=we(d))}get externalCSSList(){return this._externalCSSList}addPointer(d){var p,$;if(!this.slider)return;let w=($=(p=this.slider)==null?void 0:p.addPointer(d))!=null?$:0;ii(this,this.slider,w,`value${w+1}`,`ariaLabel${w+1}`,`pointerShape${w+1}`,`pointer${w+1}Disabled`)}removePointer(){var d;!this.slider||(d=this.slider)==null||d.removePointer()}addCSS(d){if(!this.shadowRoot)return;let p=document.createElement("style");p.textContent=d,this.shadowRoot.appendChild(p)}connectedCallback(){var d,p;if(!this.shadowRoot)return;this._externalCSSList=yn(this),this.shadowRoot.innerHTML=i(s,this._externalCSSList);let $=(d=this.shadowRoot)==null?void 0:d.querySelector(".pointer");if(!$)return;let w=(p=this.shadowRoot)==null?void 0:p.getElementById("range-slider");if(!w)return;let P=Xi(this,$);this.slider=Qi(this,w,P),Ji(this,this.slider),this._observer=new MutationObserver(z=>{z.forEach(re=>{var T;if(!this.slider||re.type!=="attributes")return;let B=re.attributeName;!B||es(this.slider,B,(T=this.getAttribute(B))!=null?T:"")})}),this._observer.observe(this,{attributes:!0})}disconnectedCallback(){this._observer&&this._observer.disconnect(),this.slider&&this.slider.destroy()}},ct=ts;window.tcRangeSlider=ct,customElements.get("toolcool-range-slider")||customElements.define("toolcool-range-slider",ct),customElements.get("tc-range-slider")||customElements.define("tc-range-slider",class extends ct{})})();class Bo extends tt{constructor(){super();it(this,ar);this.filterObject={},this.tabIndex=0,this.inputHandler=fe(this,ar,ta).bind(this),this.debouncedInputHandler=Xn(this.inputHandler,500,{leading:!1})}reset(){zc(this)}createRenderRoot(){return this}render(){return Ve(this.filterObject,()=>ee`
|
|
845
|
+
${fe(this,ar,ps).call(this,"min","before")}
|
|
812
846
|
<tc-range-slider
|
|
813
847
|
min="${this.filterObject.min}"
|
|
814
848
|
max="${this.filterObject.max}"
|
|
@@ -817,18 +851,18 @@ input {
|
|
|
817
851
|
step="${this.filterObject.step||1}"
|
|
818
852
|
@change=${this.debouncedInputHandler}
|
|
819
853
|
></tc-range-slider>
|
|
820
|
-
${
|
|
821
|
-
`)}}
|
|
854
|
+
${fe(this,ar,ps).call(this,"max","after")}
|
|
855
|
+
`)}}ar=new WeakSet,ta=function(r){Uc(r,this)},ps=function(r,n){return Fc(r,n,this)},Ln(Bo,"properties",{filterObject:{attribute:!1,type:Object},tabIndex:{attribute:!1,type:Number}}),customElements.define("eox-itemfilter-range",Bo);class du extends tt{constructor(){super();it(this,ti);this.filterObject={},this.tabIndex=0}static get properties(){return{filterObject:{type:Object},tabIndex:{attribute:!1,type:Number}}}reset(){Zc(this)}createRenderRoot(){return this}render(){return Ve(this.filterObject,()=>{var r;return ee`
|
|
822
856
|
<form style="display: inline">
|
|
823
|
-
${
|
|
857
|
+
${Tn(["intersects","within"],n=>ee`
|
|
824
858
|
<label>
|
|
825
859
|
<input
|
|
826
860
|
tabindex=${this.tabIndex}
|
|
827
861
|
type="radio"
|
|
828
862
|
name="mode"
|
|
829
|
-
.checked="${(this.filterObject.state.mode||"")===n||
|
|
863
|
+
.checked="${(this.filterObject.state.mode||"")===n||xe}"
|
|
830
864
|
value="${n}"
|
|
831
|
-
@click=${()=>
|
|
865
|
+
@click=${()=>fe(this,ti,ra).call(this,n)}
|
|
832
866
|
/>
|
|
833
867
|
<small>${n} filter geometry</small>
|
|
834
868
|
</label>
|
|
@@ -839,13 +873,13 @@ input {
|
|
|
839
873
|
.geometry="${(r=this.filterObject.state)==null?void 0:r.geometry}"
|
|
840
874
|
@filter="${n=>{this.filterObject.state.geometry=n.detail.geometry,this.filterObject.dirty=!0,this.filterObject.stringifiedState="Polygon",this.dispatchEvent(new CustomEvent("filter"))}}"
|
|
841
875
|
></eox-itemfilter-spatial>
|
|
842
|
-
`})}}
|
|
876
|
+
`})}}ti=new WeakSet,ra=function(r){Jc(r,this)},customElements.define("eox-itemfilter-spatial",du);class hu extends tt{constructor(){super();it(this,ri);this.geometry=null,this.eoxMap=null}static get properties(){return{geometry:{type:Object},eoxMap:{type:Object}}}firstUpdated(){fe(this,ri,na).call(this)}reset(){Xc(this)}render(){return ee`<div id="eox-map"></div>`}}ri=new WeakSet,na=function(){So(this)},customElements.define("eox-itemfilter-spatial-filter",hu);function fu(t,e){e.renderRoot.querySelectorAll(".chip").forEach(r=>{r.classList.remove("highlighted")}),t.target instanceof HTMLElement&&t.target.classList.add("highlighted"),e.requestUpdate()}function pu(t,e){const{code:r,target:n}=t;n instanceof HTMLElement&&n.id!=="eox-itemfilter-input-search"||e.parentElement.classList.contains("hidden")&&["ArrowLeft","ArrowRight","Backspace"].includes(r)||(r==="Space"&&t.preventDefault(),["Escape","Space","Enter"].includes(r)||t.stopPropagation(),["ArrowLeft","ArrowRight","Escape","Backspace"].includes(r)&&gu(r,t.target.value??"",e))}function gu(t,e,r){const n=r.renderRoot.querySelector(".chip.highlighted");if((t==="Escape"||e)&&n&&n.classList.remove("highlighted"),t==="Backspace"&&!e){if(r.items.length){n&&(n.querySelector(".chip-item-close").click(),r.items.splice(Array.from(r.renderRoot.querySelectorAll(".chip")).indexOf(n),1));const i=r.renderRoot.querySelectorAll(".chip")[r.renderRoot.querySelectorAll(".chip").length-1];i.classList.contains("highlighted")||i.classList.add("highlighted"),r.requestUpdate()}r._dispatchEvent()}if((t==="ArrowLeft"||t==="ArrowRight")&&!e){if(r.renderRoot.querySelectorAll(".chip").length<1)return;let i=0;const s=r.renderRoot.querySelector(".chip.highlighted");s&&(i=Array.from(r.renderRoot.querySelectorAll(".chip")).indexOf(s),s.classList.remove("highlighted")),i=i+(t==="ArrowLeft"?-1:1),t==="ArrowLeft"&&i<0&&(i=r.renderRoot.querySelectorAll(".chip").length-1),t==="ArrowRight"&&i>r.renderRoot.querySelectorAll(".chip").length-1&&(i=0),Array.from(r.renderRoot.querySelectorAll(".chip"))[i].classList.add("highlighted")}}class yu extends tt{constructor(){super();it(this,lr);this.items={},this.controller={}}static get properties(){return{items:{attribute:!1,type:Object},controller:{attribute:!1,type:Object}}}connectedCallback(){super.connectedCallback(),this.getRootNode().addEventListener("keydown",fe(this,lr,gs).bind(this))}disconnectedCallback(){super.disconnectedCallback(),this.getRootNode().removeEventListener("keydown",fe(this,lr,gs).bind(this))}_dispatchEvent(){this.dispatchEvent(new CustomEvent("items-selected",{detail:this.items}))}render(){return ee`
|
|
843
877
|
<style>
|
|
844
|
-
${
|
|
878
|
+
${en}
|
|
845
879
|
</style>
|
|
846
880
|
<span class="chip-container">
|
|
847
|
-
${
|
|
848
|
-
<span class="chip" @click=${
|
|
881
|
+
${Tn(this.items,r=>ee`
|
|
882
|
+
<span class="chip" @click=${fe(this,lr,ia).bind(this)}>
|
|
849
883
|
<span class="chip-title">${r.title}</span>
|
|
850
884
|
<span
|
|
851
885
|
class="chip-item-close hidden"
|
|
@@ -856,7 +890,7 @@ input {
|
|
|
856
890
|
</span>
|
|
857
891
|
`)}
|
|
858
892
|
</span>
|
|
859
|
-
`}}or=new WeakSet,ys=function(r){fu(r,this)},ca=function(r){hu(r,this)},customElements.define("eox-itemfilter-chips",gu);const yu=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}),Uo=["aggregateResults","autoSpreadSingle","enableHighlighting","externalFilter","filterProperties","fuseConfig","inlineMode","matchAllWhenEmpty","showResults","titleProperty","subTitleProperty","imageProperty","idProperty","expandMultipleFilters","expandResults","expandMultipleResults","items"];var Zi,qo;function bu(){if(qo)return Zi;qo=1;var t=200,e="__lodash_hash_undefined__",r=1/0,n="[object Function]",i="[object GeneratorFunction]",s=/[\\^$.*+?()[\]{}|]/g,o=/^\[object .+?Constructor\]$/,l=typeof ut=="object"&&ut&&ut.Object===Object&&ut,c=typeof self=="object"&&self&&self.Object===Object&&self,d=l||c||Function("return this")();function g(x,E){var q=x?x.length:0;return!!q&&w(x,E,0)>-1}function y(x,E,q,Se){for(var yt=x.length,qe=q+-1;++qe<yt;)if(E(x[qe],qe,x))return qe;return-1}function w(x,E,q){if(E!==E)return y(x,b,q);for(var Se=q-1,yt=x.length;++Se<yt;)if(x[Se]===E)return Se;return-1}function b(x){return x!==x}function A(x,E){return x.has(E)}function k(x,E){return x==null?void 0:x[E]}function W(x){var E=!1;if(x!=null&&typeof x.toString!="function")try{E=!!(x+"")}catch{}return E}function z(x){var E=-1,q=Array(x.size);return x.forEach(function(Se){q[++E]=Se}),q}var ie=Array.prototype,te=Function.prototype,pe=Object.prototype,O=d["__core-js_shared__"],oe=function(){var x=/[^.]+$/.exec(O&&O.keys&&O.keys.IE_PROTO||"");return x?"Symbol(src)_1."+x:""}(),ge=te.toString,xe=pe.hasOwnProperty,Pe=pe.toString,de=RegExp("^"+ge.call(xe).replace(s,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Q=ie.splice,$e=lr(d,"Map"),Ue=lr(d,"Set"),P=lr(Object,"create");function C(x){var E=-1,q=x?x.length:0;for(this.clear();++E<q;){var Se=x[E];this.set(Se[0],Se[1])}}function S(){this.__data__=P?P(null):{}}function H(x){return this.has(x)&&delete this.__data__[x]}function L(x){var E=this.__data__;if(P){var q=E[x];return q===e?void 0:q}return xe.call(E,x)?E[x]:void 0}function V(x){var E=this.__data__;return P?E[x]!==void 0:xe.call(E,x)}function K(x,E){var q=this.__data__;return q[x]=P&&E===void 0?e:E,this}C.prototype.clear=S,C.prototype.delete=H,C.prototype.get=L,C.prototype.has=V,C.prototype.set=K;function se(x){var E=-1,q=x?x.length:0;for(this.clear();++E<q;){var Se=x[E];this.set(Se[0],Se[1])}}function be(){this.__data__=[]}function ke(x){var E=this.__data__,q=Pt(E,x);if(q<0)return!1;var Se=E.length-1;return q==Se?E.pop():Q.call(E,q,1),!0}function De(x){var E=this.__data__,q=Pt(E,x);return q<0?void 0:E[q][1]}function Be(x){return Pt(this.__data__,x)>-1}function Te(x,E){var q=this.__data__,Se=Pt(q,x);return Se<0?q.push([x,E]):q[Se][1]=E,this}se.prototype.clear=be,se.prototype.delete=ke,se.prototype.get=De,se.prototype.has=Be,se.prototype.set=Te;function re(x){var E=-1,q=x?x.length:0;for(this.clear();++E<q;){var Se=x[E];this.set(Se[0],Se[1])}}function Z(){this.__data__={hash:new C,map:new($e||se),string:new C}}function Me(x){return Vt(this,x).delete(x)}function ne(x){return Vt(this,x).get(x)}function Ne(x){return Vt(this,x).has(x)}function ht(x,E){return Vt(this,x).set(x,E),this}re.prototype.clear=Z,re.prototype.delete=Me,re.prototype.get=ne,re.prototype.has=Ne,re.prototype.set=ht;function we(x){var E=-1,q=x?x.length:0;for(this.__data__=new re;++E<q;)this.add(x[E])}function un(x){return this.__data__.set(x,e),this}function kr(x){return this.__data__.has(x)}we.prototype.add=we.prototype.push=un,we.prototype.has=kr;function Pt(x,E){for(var q=x.length;q--;)if(pn(x[q][0],E))return q;return-1}function Lr(x){if(!Tr(x)||Pr(x))return!1;var E=gn(x)||W(x)?de:o;return E.test(fn(x))}function dn(x,E,q){var Se=-1,yt=g,qe=x.length,bt=!0,_t=[],tt=_t;if(qe>=t){var ur=ar(x);if(ur)return z(ur);bt=!1,yt=A,tt=new we}else tt=_t;e:for(;++Se<qe;){var At=x[Se],Tt=At;if(At=At!==0?At:0,bt&&Tt===Tt){for(var Mt=tt.length;Mt--;)if(tt[Mt]===Tt)continue e;_t.push(At)}else yt(tt,Tt,q)||(tt!==_t&&tt.push(Tt),_t.push(At))}return _t}var ar=Ue&&1/z(new Ue([,-0]))[1]==r?function(x){return new Ue(x)}:yn;function Vt(x,E){var q=x.__data__;return hn(E)?q[typeof E=="string"?"string":"hash"]:q.map}function lr(x,E){var q=k(x,E);return Lr(q)?q:void 0}function hn(x){var E=typeof x;return E=="string"||E=="number"||E=="symbol"||E=="boolean"?x!=="__proto__":x===null}function Pr(x){return!!oe&&oe in x}function fn(x){if(x!=null){try{return ge.call(x)}catch{}try{return x+""}catch{}}return""}function cr(x){return x&&x.length?dn(x):[]}function pn(x,E){return x===E||x!==x&&E!==E}function gn(x){var E=Tr(x)?Pe.call(x):"";return E==n||E==i}function Tr(x){var E=typeof x;return!!x&&(E=="object"||E=="function")}function yn(){}return Zi=cr,Zi}var mu=bu();const Wo=Gn(mu);var ln={exports:{}};ln.exports;var Vo;function vu(){return Vo||(Vo=1,function(t,e){var r=200,n="Expected a function",i="__lodash_hash_undefined__",s=1,o=2,l=1/0,c=9007199254740991,d="[object Arguments]",g="[object Array]",y="[object Boolean]",w="[object Date]",b="[object Error]",A="[object Function]",k="[object GeneratorFunction]",W="[object Map]",z="[object Number]",ie="[object Object]",te="[object Promise]",pe="[object RegExp]",O="[object Set]",oe="[object String]",ge="[object Symbol]",xe="[object WeakMap]",Pe="[object ArrayBuffer]",de="[object DataView]",Q="[object Float32Array]",$e="[object Float64Array]",Ue="[object Int8Array]",P="[object Int16Array]",C="[object Int32Array]",S="[object Uint8Array]",H="[object Uint8ClampedArray]",L="[object Uint16Array]",V="[object Uint32Array]",K=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,se=/^\w*$/,be=/^\./,ke=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,De=/[\\^$.*+?()[\]{}|]/g,Be=/\\(\\)?/g,Te=/^\[object .+?Constructor\]$/,re=/^(?:0|[1-9]\d*)$/,Z={};Z[Q]=Z[$e]=Z[Ue]=Z[P]=Z[C]=Z[S]=Z[H]=Z[L]=Z[V]=!0,Z[d]=Z[g]=Z[Pe]=Z[y]=Z[de]=Z[w]=Z[b]=Z[A]=Z[W]=Z[z]=Z[ie]=Z[pe]=Z[O]=Z[oe]=Z[xe]=!1;var Me=typeof ut=="object"&&ut&&ut.Object===Object&&ut,ne=typeof self=="object"&&self&&self.Object===Object&&self,Ne=Me||ne||Function("return this")(),ht=e&&!e.nodeType&&e,we=ht&&!0&&t&&!t.nodeType&&t,un=we&&we.exports===ht,kr=un&&Me.process,Pt=function(){try{return kr&&kr.binding("util")}catch{}}(),Lr=Pt&&Pt.isTypedArray;function dn(a,h){for(var m=-1,M=a?a.length:0,I=Array(M);++m<M;)I[m]=h(a[m],m,a);return I}function ar(a,h){for(var m=-1,M=h.length,I=a.length;++m<M;)a[I+m]=h[m];return a}function Vt(a,h){for(var m=-1,M=a?a.length:0;++m<M;)if(h(a[m],m,a))return!0;return!1}function lr(a){return function(h){return h==null?void 0:h[a]}}function hn(a,h){for(var m=-1,M=Array(a);++m<a;)M[m]=h(m);return M}function Pr(a){return function(h){return a(h)}}function fn(a,h){return a==null?void 0:a[h]}function cr(a){var h=!1;if(a!=null&&typeof a.toString!="function")try{h=!!(a+"")}catch{}return h}function pn(a){var h=-1,m=Array(a.size);return a.forEach(function(M,I){m[++h]=[I,M]}),m}function gn(a,h){return function(m){return a(h(m))}}function Tr(a){var h=-1,m=Array(a.size);return a.forEach(function(M){m[++h]=M}),m}var yn=Array.prototype,x=Function.prototype,E=Object.prototype,q=Ne["__core-js_shared__"],Se=function(){var a=/[^.]+$/.exec(q&&q.keys&&q.keys.IE_PROTO||"");return a?"Symbol(src)_1."+a:""}(),yt=x.toString,qe=E.hasOwnProperty,bt=E.toString,_t=RegExp("^"+yt.call(qe).replace(De,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),tt=Ne.Symbol,ur=Ne.Uint8Array,At=E.propertyIsEnumerable,Tt=yn.splice,Mt=tt?tt.isConcatSpreadable:void 0,Xi=gn(Object.keys,Object),Or=Yt(Ne,"DataView"),dr=Yt(Ne,"Map"),St=Yt(Ne,"Promise"),Rr=Yt(Ne,"Set"),bn=Yt(Ne,"WeakMap"),hr=Yt(Object,"create"),ti=mt(Or),Ji=mt(dr),ri=mt(St),Qi=mt(Rr),ni=mt(bn),Dr=tt?tt.prototype:void 0,fr=Dr?Dr.valueOf:void 0,Kt=Dr?Dr.toString:void 0;function rt(a){var h=-1,m=a?a.length:0;for(this.clear();++h<m;){var M=a[h];this.set(M[0],M[1])}}function ii(){this.__data__=hr?hr(null):{}}function es(a){return this.has(a)&&delete this.__data__[a]}function ts(a){var h=this.__data__;if(hr){var m=h[a];return m===i?void 0:m}return qe.call(h,a)?h[a]:void 0}function rs(a){var h=this.__data__;return hr?h[a]!==void 0:qe.call(h,a)}function mn(a,h){var m=this.__data__;return m[a]=hr&&h===void 0?i:h,this}rt.prototype.clear=ii,rt.prototype.delete=es,rt.prototype.get=ts,rt.prototype.has=rs,rt.prototype.set=mn;function u(a){var h=-1,m=a?a.length:0;for(this.clear();++h<m;){var M=a[h];this.set(M[0],M[1])}}function p(){this.__data__=[]}function _(a){var h=this.__data__,m=Oe(h,a);if(m<0)return!1;var M=h.length-1;return m==M?h.pop():Tt.call(h,m,1),!0}function v(a){var h=this.__data__,m=Oe(h,a);return m<0?void 0:h[m][1]}function T(a){return Oe(this.__data__,a)>-1}function G(a,h){var m=this.__data__,M=Oe(m,a);return M<0?m.push([a,h]):m[M][1]=h,this}u.prototype.clear=p,u.prototype.delete=_,u.prototype.get=v,u.prototype.has=T,u.prototype.set=G;function Y(a){var h=-1,m=a?a.length:0;for(this.clear();++h<m;){var M=a[h];this.set(M[0],M[1])}}function R(){this.__data__={hash:new rt,map:new(dr||u),string:new rt}}function j(a){return Dt(this,a).delete(a)}function ae(a){return Dt(this,a).get(a)}function ue(a){return Dt(this,a).has(a)}function U(a,h){return Dt(this,a).set(a,h),this}Y.prototype.clear=R,Y.prototype.delete=j,Y.prototype.get=ae,Y.prototype.has=ue,Y.prototype.set=U;function he(a){var h=-1,m=a?a.length:0;for(this.__data__=new Y;++h<m;)this.add(a[h])}function nt(a){return this.__data__.set(a,i),this}function Ve(a){return this.__data__.has(a)}he.prototype.add=he.prototype.push=nt,he.prototype.has=Ve;function B(a){this.__data__=new u(a)}function ce(){this.__data__=new u}function F(a){return this.__data__.delete(a)}function Ee(a){return this.__data__.get(a)}function ze(a){return this.__data__.has(a)}function Ie(a,h){var m=this.__data__;if(m instanceof u){var M=m.__data__;if(!dr||M.length<r-1)return M.push([a,h]),this;m=this.__data__=new Y(M)}return m.set(a,h),this}B.prototype.clear=ce,B.prototype.delete=F,B.prototype.get=Ee,B.prototype.has=ze,B.prototype.set=Ie;function je(a,h){var m=at(a)||vr(a)?hn(a.length,String):[],M=m.length,I=!!M;for(var D in a)qe.call(a,D)&&!(I&&(D=="length"||xn(D,M)))&&m.push(D);return m}function Oe(a,h){for(var m=a.length;m--;)if(qr(a[m][0],h))return m;return-1}var Ye=os(si);function Fe(a,h,m,M,I){var D=-1,X=a.length;for(m||(m=hi),I||(I=[]);++D<X;){var Re=a[D];m(Re)?ar(I,Re):I[I.length]=Re}return I}var Et=as();function si(a,h){return a&&Et(a,h,Ft)}function vn(a,h){h=br(h,a)?[h]:ui(h);for(var m=0,M=h.length;a!=null&&m<M;)a=a[Ur(h[m++])];return m&&m==M?a:void 0}function jr(a){return bt.call(a)}function ns(a,h){return a!=null&&h in Object(a)}function Nr(a,h,m,M,I){return a===h?!0:a==null||h==null||!jt(a)&&!Nt(h)?a!==a&&h!==h:Ot(a,h,Nr,m,M,I)}function Ot(a,h,m,M,I,D){var X=at(a),Re=at(h),Le=g,Ke=g;X||(Le=Ct(a),Le=Le==d?ie:Le),Re||(Ke=Ct(h),Ke=Ke==d?ie:Ke);var Ze=Le==ie&&!cr(a),Xe=Ke==ie&&!cr(h),Ge=Le==Ke;if(Ge&&!Ze)return D||(D=new B),X||Vr(a)?yr(a,h,m,M,I,D):Gt(a,h,Le,m,M,I,D);if(!(I&o)){var f=Ze&&qe.call(a,"__wrapped__"),$=Xe&&qe.call(h,"__wrapped__");if(f||$){var N=f?a.value():a,le=$?h.value():h;return D||(D=new B),m(N,le,M,I,D)}}return Ge?(D||(D=new B),Ir(a,h,m,M,I,D)):!1}function Hr(a,h,m,M){var I=m.length,D=I;if(a==null)return!D;for(a=Object(a);I--;){var X=m[I];if(X[2]?X[1]!==a[X[0]]:!(X[0]in a))return!1}for(;++I<D;){X=m[I];var Re=X[0],Le=a[Re],Ke=X[1];if(X[2]){if(Le===void 0&&!(Re in a))return!1}else{var Ze=new B,Xe;if(!(Xe===void 0?Nr(Ke,Le,M,s|o,Ze):Xe))return!1}}return!0}function oi(a){if(!jt(a)||$n(a))return!1;var h=pi(a)||cr(a)?_t:Te;return h.test(mt(a))}function ai(a){return Nt(a)&&En(a.length)&&!!Z[bt.call(a)]}function li(a){return typeof a=="function"?a:a==null?Ln:typeof a=="object"?at(a)?pr(a[0],a[1]):ss(a):gi(a)}function ci(a){if(!_n(a))return Xi(a);var h=[];for(var m in Object(a))qe.call(a,m)&&m!="constructor"&&h.push(m);return h}function is(a,h){var m=-1,M=We(a)?Array(a.length):[];return Ye(a,function(I,D,X){M[++m]=h(I,D,X)}),M}function ss(a){var h=wn(a);return h.length==1&&h[0][2]?zr(h[0][0],h[0][1]):function(m){return m===a||Hr(m,a,h)}}function pr(a,h){return br(a)&&Br(h)?zr(Ur(a),h):function(m){var M=Cn(m,a);return M===void 0&&M===h?kn(m,a):Nr(h,M,void 0,s|o)}}function gr(a){return function(h){return vn(h,a)}}function Rt(a){if(typeof a=="string")return a;if(Wr(a))return Kt?Kt.call(a):"";var h=a+"";return h=="0"&&1/a==-l?"-0":h}function ui(a){return at(a)?a:An(a)}function os(a,h){return function(m,M){if(m==null)return m;if(!We(m))return a(m,M);for(var I=m.length,D=-1,X=Object(m);++D<I&&M(X[D],D,X)!==!1;);return m}}function as(a){return function(h,m,M){for(var I=-1,D=Object(h),X=M(h),Re=X.length;Re--;){var Le=X[++I];if(m(D[Le],Le,D)===!1)break}return h}}function yr(a,h,m,M,I,D){var X=I&o,Re=a.length,Le=h.length;if(Re!=Le&&!(X&&Le>Re))return!1;var Ke=D.get(a);if(Ke&&D.get(h))return Ke==h;var Ze=-1,Xe=!0,Ge=I&s?new he:void 0;for(D.set(a,h),D.set(h,a);++Ze<Re;){var f=a[Ze],$=h[Ze];if(M)var N=X?M($,f,Ze,h,a,D):M(f,$,Ze,a,h,D);if(N!==void 0){if(N)continue;Xe=!1;break}if(Ge){if(!Vt(h,function(le,_e){if(!Ge.has(_e)&&(f===le||m(f,le,M,I,D)))return Ge.add(_e)})){Xe=!1;break}}else if(!(f===$||m(f,$,M,I,D))){Xe=!1;break}}return D.delete(a),D.delete(h),Xe}function Gt(a,h,m,M,I,D,X){switch(m){case de:if(a.byteLength!=h.byteLength||a.byteOffset!=h.byteOffset)return!1;a=a.buffer,h=h.buffer;case Pe:return!(a.byteLength!=h.byteLength||!M(new ur(a),new ur(h)));case y:case w:case z:return qr(+a,+h);case b:return a.name==h.name&&a.message==h.message;case pe:case oe:return a==h+"";case W:var Re=pn;case O:var Le=D&o;if(Re||(Re=Tr),a.size!=h.size&&!Le)return!1;var Ke=X.get(a);if(Ke)return Ke==h;D|=s,X.set(a,h);var Ze=yr(Re(a),Re(h),M,I,D,X);return X.delete(a),Ze;case ge:if(fr)return fr.call(a)==fr.call(h)}return!1}function Ir(a,h,m,M,I,D){var X=I&o,Re=Ft(a),Le=Re.length,Ke=Ft(h),Ze=Ke.length;if(Le!=Ze&&!X)return!1;for(var Xe=Le;Xe--;){var Ge=Re[Xe];if(!(X?Ge in h:qe.call(h,Ge)))return!1}var f=D.get(a);if(f&&D.get(h))return f==h;var $=!0;D.set(a,h),D.set(h,a);for(var N=X;++Xe<Le;){Ge=Re[Xe];var le=a[Ge],_e=h[Ge];if(M)var fe=X?M(_e,le,Ge,h,a,D):M(le,_e,Ge,a,h,D);if(!(fe===void 0?le===_e||m(le,_e,M,I,D):fe)){$=!1;break}N||(N=Ge=="constructor")}if($&&!N){var Je=a.constructor,Ht=h.constructor;Je!=Ht&&"constructor"in a&&"constructor"in h&&!(typeof Je=="function"&&Je instanceof Je&&typeof Ht=="function"&&Ht instanceof Ht)&&($=!1)}return D.delete(a),D.delete(h),$}function Dt(a,h){var m=a.__data__;return fi(h)?m[typeof h=="string"?"string":"hash"]:m.map}function wn(a){for(var h=Ft(a),m=h.length;m--;){var M=h[m],I=a[M];h[m]=[M,I,Br(I)]}return h}function Yt(a,h){var m=fn(a,h);return oi(m)?m:void 0}var Ct=jr;(Or&&Ct(new Or(new ArrayBuffer(1)))!=de||dr&&Ct(new dr)!=W||St&&Ct(St.resolve())!=te||Rr&&Ct(new Rr)!=O||bn&&Ct(new bn)!=xe)&&(Ct=function(a){var h=bt.call(a),m=h==ie?a.constructor:void 0,M=m?mt(m):void 0;if(M)switch(M){case ti:return de;case Ji:return W;case ri:return te;case Qi:return O;case ni:return xe}return h});function di(a,h,m){h=br(h,a)?[h]:ui(h);for(var M,I=-1,X=h.length;++I<X;){var D=Ur(h[I]);if(!(M=a!=null&&m(a,D)))break;a=a[D]}if(M)return M;var X=a?a.length:0;return!!X&&En(X)&&xn(D,X)&&(at(a)||vr(a))}function hi(a){return at(a)||vr(a)||!!(Mt&&a&&a[Mt])}function xn(a,h){return h=h??c,!!h&&(typeof a=="number"||re.test(a))&&a>-1&&a%1==0&&a<h}function br(a,h){if(at(a))return!1;var m=typeof a;return m=="number"||m=="symbol"||m=="boolean"||a==null||Wr(a)?!0:se.test(a)||!K.test(a)||h!=null&&a in Object(h)}function fi(a){var h=typeof a;return h=="string"||h=="number"||h=="symbol"||h=="boolean"?a!=="__proto__":a===null}function $n(a){return!!Se&&Se in a}function _n(a){var h=a&&a.constructor,m=typeof h=="function"&&h.prototype||E;return a===m}function Br(a){return a===a&&!jt(a)}function zr(a,h){return function(m){return m==null?!1:m[a]===h&&(h!==void 0||a in Object(m))}}var An=mr(function(a){a=Kr(a);var h=[];return be.test(a)&&h.push(""),a.replace(ke,function(m,M,I,D){h.push(I?D.replace(Be,"$1"):M||m)}),h});function Ur(a){if(typeof a=="string"||Wr(a))return a;var h=a+"";return h=="0"&&1/a==-l?"-0":h}function mt(a){if(a!=null){try{return yt.call(a)}catch{}try{return a+""}catch{}}return""}function Mn(a,h){return Fe(Sn(a,h))}function Sn(a,h){var m=at(a)?dn:is;return m(a,li(h))}function mr(a,h){if(typeof a!="function"||h&&typeof h!="function")throw new TypeError(n);var m=function(){var M=arguments,I=h?h.apply(this,M):M[0],D=m.cache;if(D.has(I))return D.get(I);var X=a.apply(this,M);return m.cache=D.set(I,X),X};return m.cache=new(mr.Cache||Y),m}mr.Cache=Y;function qr(a,h){return a===h||a!==a&&h!==h}function vr(a){return ft(a)&&qe.call(a,"callee")&&(!At.call(a,"callee")||bt.call(a)==d)}var at=Array.isArray;function We(a){return a!=null&&En(a.length)&&!pi(a)}function ft(a){return Nt(a)&&We(a)}function pi(a){var h=jt(a)?bt.call(a):"";return h==A||h==k}function En(a){return typeof a=="number"&&a>-1&&a%1==0&&a<=c}function jt(a){var h=typeof a;return!!a&&(h=="object"||h=="function")}function Nt(a){return!!a&&typeof a=="object"}function Wr(a){return typeof a=="symbol"||Nt(a)&&bt.call(a)==ge}var Vr=Lr?Pr(Lr):ai;function Kr(a){return a==null?"":Rt(a)}function Cn(a,h,m){var M=a==null?void 0:vn(a,h);return M===void 0?m:M}function kn(a,h){return a!=null&&di(a,h,ns)}function Ft(a){return We(a)?je(a):ci(a)}function Ln(a){return a}function gi(a){return br(a)?lr(Ur(a)):gr(a)}t.exports=Mn}(ln,ln.exports)),ln.exports}var wu=vu();const Ko=Gn(wu);function xu(t,e,r){let n=[];t.filterProperties.length&&t.filterProperties.forEach(s=>{const o={},l=d=>s.format==="date"?sn(d).unix():parseFloat(d);e.forEach(d=>{var g,y;if(s.type==="range"){const w=on(s.key,d);if(Array.isArray(w)){const b=[l(w[0]),l(w[1])];o.min=o.min!==void 0?Math.min(o.min,b[0]):b[0],o.max=o.max!==void 0?Math.max(o.max,b[1]):b[1]}else{const b=l(w);o.min=o.min!==void 0?Math.min(o.min,b):b,o.max=o.max!==void 0?Math.max(o.max,b):b}return}Array.isArray(d[s.key])?d[s.key].forEach(w=>{o[w]=void 0}):s.type==="spatial"?(o.geometry=((g=s==null?void 0:s.state)==null?void 0:g.geometry)||void 0,o.geometry&&(s.stringifiedState=o.geometry.type),o.mode=s.mode||"intersects"):(y=s.key)!=null&&y.includes(".")?Wo(Ko(r.items,s.key)).filter(w=>w).forEach(w=>{o[w]=void 0}):o[d[s.key]]=void 0});const c=s.key||s.keys.join("|");r.filters[c]=Object.assign({type:s.type||"multiselect",dirty:s.state?Object.values(s.state).some(d=>d):void 0,key:c},s.type==="range"?{min:o.min,max:o.max,format:s.format}:{},s),r.filters[c].state=Object.assign({},o,s.state)}),t.matchAllWhenEmpty!==!1&&(r.results=r.sortResults(e),r.requestUpdate()),t.aggregateResults&&(n=Array.from(new Set(e.reduce((s,o)=>s.concat(o[t.aggregateResults]),[]))).sort((s,o)=>s.localeCompare(o)));const i=[];return Object.values(r.filters).forEach(s=>{s.type==="text"?s.keys.forEach(o=>{i.includes(o)||i.push(o)}):(s.type==="select"||s.type==="multiselect")&&(i.includes(s.key)||i.push(s.key))}),Lc(e,Object.assign({keys:i},t.fuseConfig)),n}async function $u(t,e,r){let n;r.externalFilter?n=await Rc(e,r.filters,t):n=await Pc(e,r.filters,t),r.results=r.sortResults(n)}function _u(t,e,r){const n=`filter-${t.key}`.replace("|","-");switch(t.type){case"text":return ee`<eox-itemfilter-text
|
|
893
|
+
`}}lr=new WeakSet,gs=function(r){pu(r,this)},ia=function(r){fu(r,this)},customElements.define("eox-itemfilter-chips",yu);const bu=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}),jo=["aggregateResults","autoSpreadSingle","enableHighlighting","externalFilter","filterProperties","fuseConfig","inlineMode","matchAllWhenEmpty","showResults","titleProperty","subTitleProperty","imageProperty","idProperty","expandMultipleFilters","expandResults","expandMultipleResults","items"];var Yi,Ho;function mu(){if(Ho)return Yi;Ho=1;var t=200,e="__lodash_hash_undefined__",r=1/0,n="[object Function]",i="[object GeneratorFunction]",s=/[\\^$.*+?()[\]{}|]/g,o=/^\[object .+?Constructor\]$/,l=typeof pt=="object"&&pt&&pt.Object===Object&&pt,c=typeof self=="object"&&self&&self.Object===Object&&self,u=l||c||Function("return this")();function g(v,S){var W=v?v.length:0;return!!W&&x(v,S,0)>-1}function y(v,S,W,_e){for(var qe=v.length,Ge=W+-1;++Ge<qe;)if(S(v[Ge],Ge,v))return Ge;return-1}function x(v,S,W){if(S!==S)return y(v,b,W);for(var _e=W-1,qe=v.length;++_e<qe;)if(v[_e]===S)return _e;return-1}function b(v){return v!==v}function _(v,S){return v.has(S)}function k(v,S){return v==null?void 0:v[S]}function q(v){var S=!1;if(v!=null&&typeof v.toString!="function")try{S=!!(v+"")}catch{}return S}function U(v){var S=-1,W=Array(v.size);return v.forEach(function(_e){W[++S]=_e}),W}var oe=Array.prototype,te=Function.prototype,ae=Object.prototype,O=u["__core-js_shared__"],le=function(){var v=/[^.]+$/.exec(O&&O.keys&&O.keys.IE_PROTO||"");return v?"Symbol(src)_1."+v:""}(),ie=te.toString,$e=ae.hasOwnProperty,Ae=ae.toString,pe=RegExp("^"+ie.call($e).replace(s,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Q=oe.splice,ve=ur(u,"Map"),Fe=ur(u,"Set"),D=ur(Object,"create");function E(v){var S=-1,W=v?v.length:0;for(this.clear();++S<W;){var _e=v[S];this.set(_e[0],_e[1])}}function C(){this.__data__=D?D(null):{}}function N(v){return this.has(v)&&delete this.__data__[v]}function L(v){var S=this.__data__;if(D){var W=S[v];return W===e?void 0:W}return $e.call(S,v)?S[v]:void 0}function V(v){var S=this.__data__;return D?S[v]!==void 0:$e.call(S,v)}function K(v,S){var W=this.__data__;return W[v]=D&&S===void 0?e:S,this}E.prototype.clear=C,E.prototype.delete=N,E.prototype.get=L,E.prototype.has=V,E.prototype.set=K;function ne(v){var S=-1,W=v?v.length:0;for(this.clear();++S<W;){var _e=v[S];this.set(_e[0],_e[1])}}function ge(){this.__data__=[]}function Ee(v){var S=this.__data__,W=Pt(S,v);if(W<0)return!1;var _e=S.length-1;return W==_e?S.pop():Q.call(S,W,1),!0}function Te(v){var S=this.__data__,W=Pt(S,v);return W<0?void 0:S[W][1]}function ze(v){return Pt(this.__data__,v)>-1}function ke(v,S){var W=this.__data__,_e=Pt(W,v);return _e<0?W.push([v,S]):W[_e][1]=S,this}ne.prototype.clear=ge,ne.prototype.delete=Ee,ne.prototype.get=Te,ne.prototype.has=ze,ne.prototype.set=ke;function j(v){var S=-1,W=v?v.length:0;for(this.clear();++S<W;){var _e=v[S];this.set(_e[0],_e[1])}}function Be(){this.__data__={hash:new E,map:new(ve||ne),string:new E}}function Se(v){return Wt(this,v).delete(v)}function G(v){return Wt(this,v).get(v)}function Ke(v){return Wt(this,v).has(v)}function yt(v,S){return Wt(this,v).set(v,S),this}j.prototype.clear=Be,j.prototype.delete=Se,j.prototype.get=G,j.prototype.has=Ke,j.prototype.set=yt;function we(v){var S=-1,W=v?v.length:0;for(this.__data__=new j;++S<W;)this.add(v[S])}function kr(v){return this.__data__.set(v,e),this}function Lr(v){return this.__data__.has(v)}we.prototype.add=we.prototype.push=kr,we.prototype.has=Lr;function Pt(v,S){for(var W=v.length;W--;)if(fn(v[W][0],S))return W;return-1}function cn(v){if(!Pr(v)||Dr(v))return!1;var S=pn(v)||q(v)?pe:o;return S.test(dr(v))}function un(v,S,W){var _e=-1,qe=g,Ge=v.length,Tr=!0,at=[],bt=at;if(Ge>=t){var Rr=cr(v);if(Rr)return U(Rr);Tr=!1,qe=_,bt=new we}else bt=at;e:for(;++_e<Ge;){var _t=v[_e],Mt=_t;if(_t=_t!==0?_t:0,Tr&&Mt===Mt){for(var Tt=bt.length;Tt--;)if(bt[Tt]===Mt)continue e;at.push(_t)}else qe(bt,Mt,W)||(bt!==at&&bt.push(Mt),at.push(_t))}return at}var cr=Fe&&1/U(new Fe([,-0]))[1]==r?function(v){return new Fe(v)}:gn;function Wt(v,S){var W=v.__data__;return dn(S)?W[typeof S=="string"?"string":"hash"]:W.map}function ur(v,S){var W=k(v,S);return cn(W)?W:void 0}function dn(v){var S=typeof v;return S=="string"||S=="number"||S=="symbol"||S=="boolean"?v!=="__proto__":v===null}function Dr(v){return!!le&&le in v}function dr(v){if(v!=null){try{return ie.call(v)}catch{}try{return v+""}catch{}}return""}function hn(v){return v&&v.length?un(v):[]}function fn(v,S){return v===S||v!==v&&S!==S}function pn(v){var S=Pr(v)?Ae.call(v):"";return S==n||S==i}function Pr(v){var S=typeof v;return!!v&&(S=="object"||S=="function")}function gn(){}return Yi=hn,Yi}var vu=mu();const No=Gn(vu);var an={exports:{}};an.exports;var Io;function wu(){return Io||(Io=1,function(t,e){var r=200,n="Expected a function",i="__lodash_hash_undefined__",s=1,o=2,l=9007199254740991,c="[object Arguments]",u="[object Array]",g="[object Boolean]",y="[object Date]",x="[object Error]",b="[object Function]",_="[object GeneratorFunction]",k="[object Map]",q="[object Number]",U="[object Object]",oe="[object Promise]",te="[object RegExp]",ae="[object Set]",O="[object String]",le="[object Symbol]",ie="[object WeakMap]",$e="[object ArrayBuffer]",Ae="[object DataView]",pe="[object Float32Array]",Q="[object Float64Array]",ve="[object Int8Array]",Fe="[object Int16Array]",D="[object Int32Array]",E="[object Uint8Array]",C="[object Uint8ClampedArray]",N="[object Uint16Array]",L="[object Uint32Array]",V=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,K=/^\w*$/,ne=/^\./,ge=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Ee=/[\\^$.*+?()[\]{}|]/g,Te=/\\(\\)?/g,ze=/^\[object .+?Constructor\]$/,ke=/^(?:0|[1-9]\d*)$/,j={};j[pe]=j[Q]=j[ve]=j[Fe]=j[D]=j[E]=j[C]=j[N]=j[L]=!0,j[c]=j[u]=j[$e]=j[g]=j[Ae]=j[y]=j[x]=j[b]=j[k]=j[q]=j[U]=j[te]=j[ae]=j[O]=j[ie]=!1;var Be=typeof pt=="object"&&pt&&pt.Object===Object&&pt,Se=typeof self=="object"&&self&&self.Object===Object&&self,G=Be||Se||Function("return this")(),Ke=e&&!e.nodeType&&e,yt=Ke&&!0&&t&&!t.nodeType&&t,we=yt&&yt.exports===Ke,kr=we&&Be.process,Lr=function(){try{return kr&&kr.binding("util")}catch{}}(),Pt=Lr&&Lr.isTypedArray;function cn(a,h){for(var m=-1,M=a?a.length:0,I=Array(M);++m<M;)I[m]=h(a[m],m,a);return I}function un(a,h){for(var m=-1,M=h.length,I=a.length;++m<M;)a[I+m]=h[m];return a}function cr(a,h){for(var m=-1,M=a?a.length:0;++m<M;)if(h(a[m],m,a))return!0;return!1}function Wt(a){return function(h){return h==null?void 0:h[a]}}function ur(a,h){for(var m=-1,M=Array(a);++m<a;)M[m]=h(m);return M}function dn(a){return function(h){return a(h)}}function Dr(a,h){return a==null?void 0:a[h]}function dr(a){var h=!1;if(a!=null&&typeof a.toString!="function")try{h=!!(a+"")}catch{}return h}function hn(a){var h=-1,m=Array(a.size);return a.forEach(function(M,I){m[++h]=[I,M]}),m}function fn(a,h){return function(m){return a(h(m))}}function pn(a){var h=-1,m=Array(a.size);return a.forEach(function(M){m[++h]=M}),m}var Pr=Array.prototype,gn=Function.prototype,v=Object.prototype,S=G["__core-js_shared__"],W=function(){var a=/[^.]+$/.exec(S&&S.keys&&S.keys.IE_PROTO||"");return a?"Symbol(src)_1."+a:""}(),_e=gn.toString,qe=v.hasOwnProperty,Ge=v.toString,Tr=RegExp("^"+_e.call(qe).replace(Ee,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),at=G.Symbol,bt=G.Uint8Array,Rr=v.propertyIsEnumerable,_t=Pr.splice,Mt=at?at.isConcatSpreadable:void 0,Tt=fn(Object.keys,Object),yn=kt(G,"DataView"),Vt=kt(G,"Map"),bn=kt(G,"Promise"),Ct=kt(G,"Set"),Or=kt(G,"WeakMap"),hr=kt(Object,"create"),Zi=Bt(yn),ni=Bt(Vt),Xi=Bt(bn),ii=Bt(Ct),Ji=Bt(Or),fr=at?at.prototype:void 0,mn=fr?fr.valueOf:void 0,Br=fr?fr.toString:void 0;function lt(a){var h=-1,m=a?a.length:0;for(this.clear();++h<m;){var M=a[h];this.set(M[0],M[1])}}function Kt(){this.__data__=hr?hr(null):{}}function si(a){return this.has(a)&&delete this.__data__[a]}function Qi(a){var h=this.__data__;if(hr){var m=h[a];return m===i?void 0:m}return qe.call(h,a)?h[a]:void 0}function es(a){var h=this.__data__;return hr?h[a]!==void 0:qe.call(h,a)}function ts(a,h){var m=this.__data__;return m[a]=hr&&h===void 0?i:h,this}lt.prototype.clear=Kt,lt.prototype.delete=si,lt.prototype.get=Qi,lt.prototype.has=es,lt.prototype.set=ts;function ct(a){var h=-1,m=a?a.length:0;for(this.clear();++h<m;){var M=a[h];this.set(M[0],M[1])}}function d(){this.__data__=[]}function p(a){var h=this.__data__,m=De(h,a);if(m<0)return!1;var M=h.length-1;return m==M?h.pop():_t.call(h,m,1),!0}function $(a){var h=this.__data__,m=De(h,a);return m<0?void 0:h[m][1]}function w(a){return De(this.__data__,a)>-1}function P(a,h){var m=this.__data__,M=De(m,a);return M<0?m.push([a,h]):m[M][1]=h,this}ct.prototype.clear=d,ct.prototype.delete=p,ct.prototype.get=$,ct.prototype.has=w,ct.prototype.set=P;function z(a){var h=-1,m=a?a.length:0;for(this.clear();++h<m;){var M=a[h];this.set(M[0],M[1])}}function re(){this.__data__={hash:new lt,map:new(Vt||ct),string:new lt}}function T(a){return Ot(this,a).delete(a)}function B(a){return Ot(this,a).get(a)}function se(a){return Ot(this,a).has(a)}function ue(a,h){return Ot(this,a).set(a,h),this}z.prototype.clear=re,z.prototype.delete=T,z.prototype.get=B,z.prototype.has=se,z.prototype.set=ue;function F(a){var h=-1,m=a?a.length:0;for(this.__data__=new z;++h<m;)this.add(a[h])}function ye(a){return this.__data__.set(a,i),this}function rt(a){return this.__data__.has(a)}F.prototype.add=F.prototype.push=ye,F.prototype.has=rt;function Le(a){this.__data__=new ct(a)}function Z(){this.__data__=new ct}function ce(a){return this.__data__.delete(a)}function X(a){return this.__data__.get(a)}function Me(a){return this.__data__.has(a)}function Ue(a,h){var m=this.__data__;if(m instanceof ct){var M=m.__data__;if(!Vt||M.length<r-1)return M.push([a,h]),this;m=this.__data__=new z(M)}return m.set(a,h),this}Le.prototype.clear=Z,Le.prototype.delete=ce,Le.prototype.get=X,Le.prototype.has=Me,Le.prototype.set=Ue;function Ne(a,h){var m=ut(a)||mr(a)?ur(a.length,String):[],M=m.length,I=!!M;for(var R in a)qe.call(a,R)&&!(I&&(R=="length"||xn(R,M)))&&m.push(R);return m}function De(a,h){for(var m=a.length;m--;)if(Fr(a[m][0],h))return m;return-1}var je=is(Et);function Ye(a,h,m,M,I){var R=-1,J=a.length;for(m||(m=fi),I||(I=[]);++R<J;){var Pe=a[R];m(Pe)?un(I,Pe):I[I.length]=Pe}return I}var Ze=ss();function Et(a,h){return a&&Ze(a,h,Jt)}function vn(a,h){h=yr(h,a)?[h]:St(h);for(var m=0,M=h.length;a!=null&&m<M;)a=a[Yt(h[m++])];return m&&m==M?a:void 0}function oi(a){return Ge.call(a)}function jr(a,h){return a!=null&&h in Object(a)}function wn(a,h,m,M,I){return a===h?!0:a==null||h==null||!qr(a)&&!jt(h)?a!==a&&h!==h:ai(a,h,wn,m,M,I)}function ai(a,h,m,M,I,R){var J=ut(a),Pe=ut(h),Re=u,Ie=u;J||(Re=Lt(a),Re=Re==c?U:Re),Pe||(Ie=Lt(h),Ie=Ie==c?U:Ie);var Je=Re==U&&!dr(a),Qe=Ie==U&&!dr(h),We=Re==Ie;if(We&&!Je)return R||(R=new Le),J||yi(a)?hi(a,h,m,M,I,R):Nr(a,h,Re,m,M,I,R);if(!(I&o)){var nt=Je&&qe.call(a,"__wrapped__"),f=Qe&&qe.call(h,"__wrapped__");if(nt||f){var A=nt?a.value():a,H=f?h.value():h;return R||(R=new Le),m(A,H,M,I,R)}}return We?(R||(R=new Le),Gt(a,h,m,M,I,R)):!1}function Rt(a,h,m,M){var I=m.length,R=I;if(a==null)return!R;for(a=Object(a);I--;){var J=m[I];if(J[2]?J[1]!==a[J[0]]:!(J[0]in a))return!1}for(;++I<R;){J=m[I];var Pe=J[0],Re=a[Pe],Ie=J[1];if(J[2]){if(Re===void 0&&!(Pe in a))return!1}else{var Je=new Le,Qe;if(!(Qe===void 0?wn(Ie,Re,M,s|o,Je):Qe))return!1}}return!0}function Hr(a){if(!qr(a)||gi(a))return!1;var h=dt(a)||dr(a)?Tr:ze;return h.test(Bt(a))}function li(a){return jt(a)&&Cn(a.length)&&!!j[Ge.call(a)]}function ci(a){return typeof a=="function"?a:a==null?Sn:typeof a=="object"?ut(a)?ns(a[0],a[1]):rs(a):kn(a)}function ui(a){if(!$n(a))return Tt(a);var h=[];for(var m in Object(a))qe.call(a,m)&&m!="constructor"&&h.push(m);return h}function di(a,h){var m=-1,M=Zt(a)?Array(a.length):[];return je(a,function(I,R,J){M[++m]=h(I,R,J)}),M}function rs(a){var h=Ir(a);return h.length==1&&h[0][2]?Ur(h[0][0],h[0][1]):function(m){return m===a||Rt(m,a,h)}}function ns(a,h){return yr(a)&&zr(h)?Ur(Yt(a),h):function(m){var M=Vr(m,a);return M===void 0&&M===h?En(m,a):wn(h,M,void 0,s|o)}}function pr(a){return function(h){return vn(h,a)}}function gr(a){if(typeof a=="string")return a;if(Xt(a))return Br?Br.call(a):"";var h=a+"";return h=="0"&&1/a==-1/0?"-0":h}function St(a){return ut(a)?a:An(a)}function is(a,h){return function(m,M){if(m==null)return m;if(!Zt(m))return a(m,M);for(var I=m.length,R=-1,J=Object(m);++R<I&&M(J[R],R,J)!==!1;);return m}}function ss(a){return function(h,m,M){for(var I=-1,R=Object(h),J=M(h),Pe=J.length;Pe--;){var Re=J[++I];if(m(R[Re],Re,R)===!1)break}return h}}function hi(a,h,m,M,I,R){var J=I&o,Pe=a.length,Re=h.length;if(Pe!=Re&&!(J&&Re>Pe))return!1;var Ie=R.get(a);if(Ie&&R.get(h))return Ie==h;var Je=-1,Qe=!0,We=I&s?new F:void 0;for(R.set(a,h),R.set(h,a);++Je<Pe;){var nt=a[Je],f=h[Je];if(M)var A=J?M(f,nt,Je,h,a,R):M(nt,f,Je,a,h,R);if(A!==void 0){if(A)continue;Qe=!1;break}if(We){if(!cr(h,function(H,de){if(!We.has(de)&&(nt===H||m(nt,H,M,I,R)))return We.add(de)})){Qe=!1;break}}else if(!(nt===f||m(nt,f,M,I,R))){Qe=!1;break}}return R.delete(a),R.delete(h),Qe}function Nr(a,h,m,M,I,R,J){switch(m){case Ae:if(a.byteLength!=h.byteLength||a.byteOffset!=h.byteOffset)return!1;a=a.buffer,h=h.buffer;case $e:return!(a.byteLength!=h.byteLength||!M(new bt(a),new bt(h)));case g:case y:case q:return Fr(+a,+h);case x:return a.name==h.name&&a.message==h.message;case te:case O:return a==h+"";case k:var Pe=hn;case ae:var Re=R&o;if(Pe||(Pe=pn),a.size!=h.size&&!Re)return!1;var Ie=J.get(a);if(Ie)return Ie==h;R|=s,J.set(a,h);var Je=hi(Pe(a),Pe(h),M,I,R,J);return J.delete(a),Je;case le:if(mn)return mn.call(a)==mn.call(h)}return!1}function Gt(a,h,m,M,I,R){var J=I&o,Pe=Jt(a),Re=Pe.length,Ie=Jt(h),Je=Ie.length;if(Re!=Je&&!J)return!1;for(var Qe=Re;Qe--;){var We=Pe[Qe];if(!(J?We in h:qe.call(h,We)))return!1}var nt=R.get(a);if(nt&&R.get(h))return nt==h;var f=!0;R.set(a,h),R.set(h,a);for(var A=J;++Qe<Re;){We=Pe[Qe];var H=a[We],de=h[We];if(M)var Oe=J?M(de,H,We,h,a,R):M(H,de,We,a,h,R);if(!(Oe===void 0?H===de||m(H,de,M,I,R):Oe)){f=!1;break}A||(A=We=="constructor")}if(f&&!A){var he=a.constructor,et=h.constructor;he!=et&&"constructor"in a&&"constructor"in h&&!(typeof he=="function"&&he instanceof he&&typeof et=="function"&&et instanceof et)&&(f=!1)}return R.delete(a),R.delete(h),f}function Ot(a,h){var m=a.__data__;return pi(h)?m[typeof h=="string"?"string":"hash"]:m.map}function Ir(a){for(var h=Jt(a),m=h.length;m--;){var M=h[m],I=a[M];h[m]=[M,I,zr(I)]}return h}function kt(a,h){var m=Dr(a,h);return Hr(m)?m:void 0}var Lt=oi;(yn&&Lt(new yn(new ArrayBuffer(1)))!=Ae||Vt&&Lt(new Vt)!=k||bn&&Lt(bn.resolve())!=oe||Ct&&Lt(new Ct)!=ae||Or&&Lt(new Or)!=ie)&&(Lt=function(a){var h=Ge.call(a),m=h==U?a.constructor:void 0,M=m?Bt(m):void 0;if(M)switch(M){case Zi:return Ae;case ni:return k;case Xi:return oe;case ii:return ae;case Ji:return ie}return h});function os(a,h,m){h=yr(h,a)?[h]:St(h);for(var M,I=-1,J=h.length;++I<J;){var R=Yt(h[I]);if(!(M=a!=null&&m(a,R)))break;a=a[R]}if(M)return M;var J=a?a.length:0;return!!J&&Cn(J)&&xn(R,J)&&(ut(a)||mr(a))}function fi(a){return ut(a)||mr(a)||!!(Mt&&a&&a[Mt])}function xn(a,h){return h=h??l,!!h&&(typeof a=="number"||ke.test(a))&&a>-1&&a%1==0&&a<h}function yr(a,h){if(ut(a))return!1;var m=typeof a;return m=="number"||m=="symbol"||m=="boolean"||a==null||Xt(a)?!0:K.test(a)||!V.test(a)||h!=null&&a in Object(h)}function pi(a){var h=typeof a;return h=="string"||h=="number"||h=="symbol"||h=="boolean"?a!=="__proto__":a===null}function gi(a){return!!W&&W in a}function $n(a){var h=a&&a.constructor,m=typeof h=="function"&&h.prototype||v;return a===m}function zr(a){return a===a&&!qr(a)}function Ur(a,h){return function(m){return m==null?!1:m[a]===h&&(h!==void 0||a in Object(m))}}var An=br(function(a){a=Wr(a);var h=[];return ne.test(a)&&h.push(""),a.replace(ge,function(m,M,I,R){h.push(I?R.replace(Te,"$1"):M||m)}),h});function Yt(a){if(typeof a=="string"||Xt(a))return a;var h=a+"";return h=="0"&&1/a==-1/0?"-0":h}function Bt(a){if(a!=null){try{return _e.call(a)}catch{}try{return a+""}catch{}}return""}function _n(a,h){return Ye(Mn(a,h))}function Mn(a,h){var m=ut(a)?cn:di;return m(a,ci(h))}function br(a,h){if(typeof a!="function"||h&&typeof h!="function")throw new TypeError(n);var m=function(){var M=arguments,I=h?h.apply(this,M):M[0],R=m.cache;if(R.has(I))return R.get(I);var J=a.apply(this,M);return m.cache=R.set(I,J),J};return m.cache=new(br.Cache||z),m}br.Cache=z;function Fr(a,h){return a===h||a!==a&&h!==h}function mr(a){return Xe(a)&&qe.call(a,"callee")&&(!Rr.call(a,"callee")||Ge.call(a)==c)}var ut=Array.isArray;function Zt(a){return a!=null&&Cn(a.length)&&!dt(a)}function Xe(a){return jt(a)&&Zt(a)}function dt(a){var h=qr(a)?Ge.call(a):"";return h==b||h==_}function Cn(a){return typeof a=="number"&&a>-1&&a%1==0&&a<=l}function qr(a){var h=typeof a;return!!a&&(h=="object"||h=="function")}function jt(a){return!!a&&typeof a=="object"}function Xt(a){return typeof a=="symbol"||jt(a)&&Ge.call(a)==le}var yi=Pt?dn(Pt):li;function Wr(a){return a==null?"":gr(a)}function Vr(a,h,m){var M=a==null?void 0:vn(a,h);return M===void 0?m:M}function En(a,h){return a!=null&&os(a,h,jr)}function Jt(a){return Zt(a)?Ne(a):ui(a)}function Sn(a){return a}function kn(a){return yr(a)?Wt(Yt(a)):pr(a)}t.exports=_n}(an,an.exports)),an.exports}var xu=wu();const zo=Gn(xu);function $u(t,e,r){let n=[];t.filterProperties.length&&t.filterProperties.forEach(s=>{const o={},l=u=>s.format==="date"?nn(u).unix():parseFloat(u);e.forEach(u=>{var g,y;if(s.type==="range"){const x=sn(s.key,u);if(Array.isArray(x)){const b=[l(x[0]),l(x[1])];o.min=o.min!==void 0?Math.min(o.min,b[0]):b[0],o.max=o.max!==void 0?Math.max(o.max,b[1]):b[1]}else{const b=l(x);o.min=o.min!==void 0?Math.min(o.min,b):b,o.max=o.max!==void 0?Math.max(o.max,b):b}return}Array.isArray(u[s.key])?u[s.key].forEach(x=>{o[x]=void 0}):s.type==="spatial"?(o.geometry=((g=s==null?void 0:s.state)==null?void 0:g.geometry)||void 0,o.geometry&&(s.stringifiedState=o.geometry.type),o.mode=s.mode||"intersects"):(y=s.key)!=null&&y.includes(".")?No(zo(r.items,s.key)).filter(x=>x).forEach(x=>{o[x]=void 0}):o[u[s.key]]=void 0});const c=s.key||s.keys.join("|");r.filters[c]=Object.assign({type:s.type||"multiselect",dirty:s.state?Object.values(s.state).some(u=>u):void 0,key:c},s.type==="range"?{min:o.min,max:o.max,format:s.format}:{},s),r.filters[c].state=Object.assign({},o,s.state)}),t.matchAllWhenEmpty!==!1&&(r.results=r.sortResults(e),r.requestUpdate()),t.aggregateResults&&(n=Array.from(new Set(e.reduce((s,o)=>s.concat(o[t.aggregateResults]),[]))).sort((s,o)=>s.localeCompare(o)));const i=[];return Object.values(r.filters).forEach(s=>{s.type==="text"?s.keys.forEach(o=>{i.includes(o)||i.push(o)}):(s.type==="select"||s.type==="multiselect")&&(i.includes(s.key)||i.push(s.key))}),Dc(e,Object.assign({keys:i},t.fuseConfig)),n}async function Au(t,e,r){let n;r.externalFilter?n=await Oc(e,r.filters,t):n=await Pc(e,r.filters,t),r.results=r.sortResults(n)}function _u(t,e,r){const n=`filter-${t.key}`.replace("|","-");switch(t.type){case"text":return ee`<eox-itemfilter-text
|
|
860
894
|
data-type="filter"
|
|
861
895
|
data-cy="text-filter"
|
|
862
896
|
slot="filter"
|
|
@@ -873,7 +907,7 @@ input {
|
|
|
873
907
|
.tabIndex=${e}
|
|
874
908
|
.filterObject=${t}
|
|
875
909
|
slot="filter"
|
|
876
|
-
.suggestions="${
|
|
910
|
+
.suggestions="${No(zo(r.items,t.key)).filter(i=>i)}"
|
|
877
911
|
type="${t.type}"
|
|
878
912
|
.unstyled=${r.unstyled}
|
|
879
913
|
@filter=${()=>r.search()}
|
|
@@ -897,8 +931,8 @@ input {
|
|
|
897
931
|
slot="filter"
|
|
898
932
|
@filter=${()=>r.search()}
|
|
899
933
|
></eox-itemfilter-spatial>
|
|
900
|
-
`;default:return ee``}}function
|
|
901
|
-
${
|
|
934
|
+
`;default:return ee``}}function Mu(t,e){return[...t].sort((r,n)=>r[e.titleProperty].localeCompare(n[e.titleProperty]))}function Cu(t,e,r){return ee`
|
|
935
|
+
${Ve(t.dirty,()=>ee`
|
|
902
936
|
<button
|
|
903
937
|
type="button"
|
|
904
938
|
tabindex=${e}
|
|
@@ -906,22 +940,22 @@ input {
|
|
|
906
940
|
class="reset-icon icon"
|
|
907
941
|
@click=${n=>{const i=n.target.parentElement.querySelector("[slot=filter]");i&&typeof i.reset=="function"&&i.reset(),r.search(),r.requestUpdate()}}
|
|
908
942
|
>
|
|
909
|
-
${r.unstyled?"Reset":
|
|
943
|
+
${r.unstyled?"Reset":xe}
|
|
910
944
|
</button>
|
|
911
945
|
`)}
|
|
912
|
-
`}function
|
|
946
|
+
`}function Eu(t){t.renderRoot.querySelectorAll("[data-type='filter']").forEach(e=>{typeof e.reset=="function"&&e.reset()}),t.search()}class Uo extends tt{constructor(){super();it(this,Sr);it(this,ln,[]);it(this,Er,[]);it(this,gt,bu);this.items=null,this.filters={},this.results=[],this.selectedResult=null,this.search=Xn(this.searchHandler,100,{leading:!0}),this.aggregateResults=void 0,this.autoSpreadSingle=!1,this.enableHighlighting=!1,this.externalFilter=null,this.filterProperties=[],this.fuseConfig={},this.inlineMode=!1,this.matchAllWhenEmpty=!0,this.showResults=!0,this.titleProperty="title",this.subTitleProperty=void 0,this.imageProperty=void 0,this.idProperty="id",this.expandMultipleFilters=!0,this.expandResults=!0,this.expandMultipleResults=!0,this.resultType="list",this.enableResultAction=!1,this.resultActionIcon='<svg style="width: 24px;" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><title>click me!</title><path fill="#004170" d="M11.5,11L17.88,16.37L17,16.55L16.36,16.67C15.73,16.8 15.37,17.5 15.65,18.07L15.92,18.65L17.28,21.59L15.86,22.25L14.5,19.32L14.24,18.74C13.97,18.15 13.22,17.97 12.72,18.38L12.21,18.78L11.5,19.35V11M10.76,8.69A0.76,0.76 0 0,0 10,9.45V20.9C10,21.32 10.34,21.66 10.76,21.66C10.95,21.66 11.11,21.6 11.24,21.5L13.15,19.95L14.81,23.57C14.94,23.84 15.21,24 15.5,24C15.61,24 15.72,24 15.83,23.92L18.59,22.64C18.97,22.46 19.15,22 18.95,21.63L17.28,18L19.69,17.55C19.85,17.5 20,17.43 20.12,17.29C20.39,16.97 20.35,16.5 20,16.21L11.26,8.86L11.25,8.87C11.12,8.76 10.95,8.69 10.76,8.69M15,10V8H20V10H15M13.83,4.76L16.66,1.93L18.07,3.34L15.24,6.17L13.83,4.76M10,0H12V5H10V0M3.93,14.66L6.76,11.83L8.17,13.24L5.34,16.07L3.93,14.66M3.93,3.34L5.34,1.93L8.17,4.76L6.76,6.17L3.93,3.34M7,10H2V8H7V10" /></svg>',this.styleOverride="",this.unstyled=!1}static get properties(){return{items:{attribute:!1,type:Object},results:{state:!0,attribute:!1,type:Object},filters:{state:!0,attribute:!1,type:Object},selectedResult:{attribute:!1,type:Object},aggregateResults:{attribute:"aggregate-results",type:String},autoSpreadSingle:{attribute:"auto-spread-single",type:Boolean},enableHighlighting:{attribute:"enable-highlighting",type:Boolean},filterProperties:{attribute:!1,type:Array},fuseConfig:{attribute:!1,type:Object},inlineMode:{attribute:"inline-mode",type:Boolean},matchAllWhenEmpty:{attribute:"match-all-when-empty",type:Boolean},showResults:{attribute:"show-result",type:Boolean},idProperty:{attribute:"id-property",type:String},titleProperty:{attribute:"title-property",type:String},subTitleProperty:{attribute:"sub-title-property",type:String},imageProperty:{attribute:"image-property",type:String},expandMultipleFilters:{attribute:"enable-multiple-filter",type:Boolean},expandResults:{attribute:"expand-result",type:Boolean},expandMultipleResults:{attribute:"expand-multiple-results",type:Boolean},externalFilter:{attribute:!1,type:Function},resultType:{attribute:"result-type",type:String},enableResultAction:{attribute:!1,type:Boolean},resultActionIcon:{attribute:!1,type:String},styleOverride:{type:String},unstyled:{type:Boolean}}}apply(){mi(this,ln,$u(ht(this,gt),ht(this,Er),this)),this.search()}async searchHandler(){await Au(ht(this,gt),ht(this,Er),this),this.dispatchEvent(new CustomEvent("filter",{detail:{results:this.results,filters:this.filters},bubbles:!0,composed:!0})),this.inlineMode&&this.renderRoot.querySelector("eox-itemfilter-container").updateInline(),this.requestUpdate()}sortResults(r){return Mu(r,ht(this,gt))}resetFilters(){Eu(this)}firstUpdated(r){var i;let n={};jo.map(s=>{n={...n,[s]:this[s]}}),mi(this,gt,n),mi(this,Er,((i=this.items)==null?void 0:i.map((s,o)=>Object.assign({id:s[this.idProperty]||`item-${o}`},s)))||[]),this.apply()}updated(r){jo.map(n=>r.has(n)?(this.firstUpdated(void 0),!0):!1)}updateResult(r){this.selectedResult=r.detail,this.dispatchEvent(new CustomEvent("select",{detail:this.selectedResult,bubbles:!0,composed:!0})),this.requestUpdate()}emitResultAction(r){this.dispatchEvent(new CustomEvent("click:result-action",{detail:r.detail,bubbles:!0,composed:!0}))}render(){var r;return ee`
|
|
913
947
|
<style>
|
|
914
948
|
${Sa}
|
|
915
|
-
${!this.unstyled&&
|
|
916
|
-
${!this.unstyled&&
|
|
949
|
+
${!this.unstyled&&en}
|
|
950
|
+
${!this.unstyled&&ka}
|
|
917
951
|
${this.styleOverride}
|
|
918
952
|
</style>
|
|
919
953
|
<form
|
|
920
954
|
id="itemfilter"
|
|
921
|
-
class=${this.inlineMode?"inline":
|
|
955
|
+
class=${this.inlineMode?"inline":xe}
|
|
922
956
|
@submit="${n=>n.preventDefault()}"
|
|
923
957
|
>
|
|
924
|
-
${
|
|
958
|
+
${Ve(this.filterProperties,()=>ee`
|
|
925
959
|
<eox-itemfilter-container
|
|
926
960
|
.filters=${this.filters}
|
|
927
961
|
.filterProperties=${this.filterProperties}
|
|
@@ -930,24 +964,24 @@ input {
|
|
|
930
964
|
@filter=${()=>this.search()}
|
|
931
965
|
>
|
|
932
966
|
<section slot="section">
|
|
933
|
-
${
|
|
967
|
+
${Ve(!this.inlineMode,()=>ee`
|
|
934
968
|
<slot name="filterstitle"
|
|
935
969
|
><h6 class="main-heading">Filters</h6></slot
|
|
936
970
|
>
|
|
937
971
|
`)}
|
|
938
972
|
<ul id="filters">
|
|
939
|
-
${
|
|
973
|
+
${Tn(Object.values(this.filters),(n,i)=>ee` <li>
|
|
940
974
|
<eox-itemfilter-expandcontainer
|
|
941
975
|
.filterObject=${n}
|
|
942
|
-
@details-toggled=${s=>
|
|
976
|
+
@details-toggled=${s=>_o(s,ht(this,gt),this)}
|
|
943
977
|
data-details="${n.key}"
|
|
944
978
|
>
|
|
945
|
-
${
|
|
946
|
-
${
|
|
979
|
+
${fe(this,Sr,oa).call(this,n,Ao(i,1))}
|
|
980
|
+
${fe(this,Sr,sa).call(this,n,Ao(i,2))}
|
|
947
981
|
</eox-itemfilter-expandcontainer>
|
|
948
982
|
</li>`)}
|
|
949
983
|
</ul>
|
|
950
|
-
${
|
|
984
|
+
${Ve(!this.inlineMode&&ht(this,gt).filterProperties&&!this.inlineMode&&ht(this,gt).filterProperties&&Fi(this.filters),()=>ee`
|
|
951
985
|
<button
|
|
952
986
|
type="button"
|
|
953
987
|
id="filter-reset"
|
|
@@ -961,15 +995,18 @@ input {
|
|
|
961
995
|
</section>
|
|
962
996
|
</eox-itemfilter-container>
|
|
963
997
|
`)}
|
|
964
|
-
${
|
|
998
|
+
${Ve(((r=ht(this,gt))==null?void 0:r.showResults)&&this.results,()=>ee`
|
|
965
999
|
<eox-itemfilter-results
|
|
966
|
-
.config=${
|
|
1000
|
+
.config=${ht(this,gt)}
|
|
967
1001
|
.results=${this.results}
|
|
968
1002
|
.filters=${this.filters}
|
|
969
|
-
.resultAggregation=${
|
|
1003
|
+
.resultAggregation=${ht(this,ln)}
|
|
970
1004
|
.selectedResult=${this.selectedResult}
|
|
971
1005
|
.resultType=${this.resultType}
|
|
1006
|
+
.enableResultAction=${this.enableResultAction}
|
|
1007
|
+
.resultActionIcon=${this.resultActionIcon}
|
|
972
1008
|
@result=${this.updateResult}
|
|
1009
|
+
@click:result-action=${this.emitResultAction}
|
|
973
1010
|
>
|
|
974
1011
|
<slot name="resultstitle"
|
|
975
1012
|
><h6 class="main-heading">Results</h6></slot
|
|
@@ -977,4 +1014,4 @@ input {
|
|
|
977
1014
|
</eox-itemfilter-results>
|
|
978
1015
|
`)}
|
|
979
1016
|
</form>
|
|
980
|
-
`}}
|
|
1017
|
+
`}}ln=new WeakMap,Er=new WeakMap,gt=new WeakMap,Sr=new WeakSet,sa=function(r,n){return _u(r,n,this)},oa=function(r,n){return Cu(r,n,this)},customElements.define("eox-itemfilter",Uo),me.EOxItemFilter=Uo,Object.defineProperty(me,Symbol.toStringTag,{value:"Module"})});
|