@eox/itemfilter 1.9.1 → 1.10.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.
Files changed (37) hide show
  1. package/dist/eox-itemfilter.js +3777 -3711
  2. package/dist/eox-itemfilter.umd.cjs +472 -436
  3. package/dist/material-symbols-outlined.woff2 +0 -0
  4. package/dist/material-symbols-rounded.woff2 +0 -0
  5. package/dist/material-symbols-sharp.woff2 +0 -0
  6. package/dist/material-symbols-subset.woff2 +0 -0
  7. package/package.json +3 -2
  8. package/src/components/chips.js +1 -5
  9. package/src/components/expand-container.js +21 -9
  10. package/src/components/filters/range.js +12 -10
  11. package/src/components/filters/selector.js +22 -12
  12. package/src/components/filters/spatial.js +31 -29
  13. package/src/components/filters/text.js +5 -2
  14. package/src/components/itemfilter-container.js +24 -6
  15. package/src/components/results.js +20 -22
  16. package/src/helpers/chip-items.js +1 -1
  17. package/src/main.js +91 -64
  18. package/src/methods/itemfilter/create-reset.js +15 -3
  19. package/src/methods/results/create.js +110 -56
  20. package/src/style.eox.js +103 -197
  21. package/src/style.js +2 -1
  22. package/types/components/chips.d.ts.map +1 -1
  23. package/types/components/expand-container.d.ts.map +1 -1
  24. package/types/components/filters/range.d.ts.map +1 -1
  25. package/types/components/filters/selector.d.ts +6 -0
  26. package/types/components/filters/selector.d.ts.map +1 -1
  27. package/types/components/filters/spatial.d.ts.map +1 -1
  28. package/types/components/filters/text.d.ts.map +1 -1
  29. package/types/components/itemfilter-container.d.ts.map +1 -1
  30. package/types/components/results.d.ts.map +1 -1
  31. package/types/main.d.ts.map +1 -1
  32. package/types/methods/itemfilter/create-reset.d.ts.map +1 -1
  33. package/types/methods/results/create.d.ts.map +1 -1
  34. package/types/style.d.ts +1 -1
  35. package/types/style.d.ts.map +1 -1
  36. package/types/style.eox.d.ts +1 -1
  37. package/types/style.eox.d.ts.map +1 -1
@@ -1,30 +1,30 @@
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 Ru=Object.defineProperty;var Go=me=>{throw TypeError(me)};var Ou=(me,be,He)=>be in me?Ru(me,be,{enumerable:!0,configurable:!0,writable:!0,value:He}):me[be]=He;var Dn=(me,be,He)=>Ou(me,typeof be!="symbol"?be+"":be,He),ls=(me,be,He)=>be.has(me)||Go("Cannot "+He);var ht=(me,be,He)=>(ls(me,be,"read from private field"),He?He.call(me):be.get(me)),it=(me,be,He)=>be.has(me)?Go("Cannot add the same private member more than once"):be instanceof WeakSet?be.add(me):be.set(me,He),vi=(me,be,He,Gr)=>(ls(me,be,"write to private field"),Gr?Gr.call(me,He):be.set(me,He),He),fe=(me,be,He)=>(ls(me,be,"access private method"),He);/**
1
+ (function(ve,be){typeof exports=="object"&&typeof module<"u"?be(exports):typeof define=="function"&&define.amd?define(["exports"],be):(ve=typeof globalThis<"u"?globalThis:ve||self,be(ve["eox-itemfilter"]={}))})(this,function(ve){"use strict";var Dd=Object.defineProperty;var Ga=ve=>{throw TypeError(ve)};var Pd=(ve,be,Be)=>be in ve?Dd(ve,be,{enumerable:!0,configurable:!0,writable:!0,value:Be}):ve[be]=Be;var Ci=(ve,be,Be)=>Pd(ve,typeof be!="symbol"?be+"":be,Be),lo=(ve,be,Be)=>be.has(ve)||Ga("Cannot "+Be);var pt=(ve,be,Be)=>(lo(ve,be,"read from private field"),Be?Be.call(ve):be.get(ve)),nt=(ve,be,Be)=>be.has(ve)?Ga("Cannot add the same private member more than once"):be instanceof WeakSet?be.add(ve):be.set(ve,Be),vn=(ve,be,Be,Gr)=>(lo(ve,be,"write to private field"),Gr?Gr.call(ve,Be):be.set(ve,Be),Be),fe=(ve,be,Be)=>(lo(ve,be,"access private method"),Be);/**
2
2
  * @license
3
3
  * Copyright 2019 Google LLC
4
4
  * SPDX-License-Identifier: BSD-3-Clause
5
- */var Ko,ei,Yo,Ce,Zo,cs,us,Xo,ds,hs,Jo,fs,Qo,ea,ti,or,ps,ta,qt,ra,na,ia,ar,sa,gs,ri,oa,ni,aa,lr,ys,la,cn,Sr,gt,kr,ca,ua;const be=globalThis,He=be.ShadowRoot&&(be.ShadyCSS===void 0||be.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,Gr=Symbol(),bs=new WeakMap;let da=class{constructor(e,r,n){if(this._$cssResult$=!0,n!==Gr)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=bs.get(r)),e===void 0&&((this.o=e=new CSSStyleSheet).replaceSync(this.cssText),n&&bs.set(r,e))}return e}toString(){return this.cssText}};const ha=t=>new da(typeof t=="string"?t:t+"",void 0,Gr),fa=(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)}},ms=He?t=>t:t=>t instanceof CSSStyleSheet?(e=>{let r="";for(const n of e.cssRules)r+=n.cssText;return ha(r)})(t):t;/**
5
+ */var Ka,Zi,Xa,ze,Ja,co,uo,Za,po,fo,Qa,ho,es,ts,Qi,sr,mo,rs,Ft,is,ns,os,lr,as,go,en,ss,tn,ls,cr,bo,cs,si,Cr,mt,Lr,ds,us;const be=globalThis,Be=be.ShadowRoot&&(be.ShadyCSS===void 0||be.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,Gr=Symbol(),vo=new WeakMap;let ps=class{constructor(e,r,i){if(this._$cssResult$=!0,i!==Gr)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(Be&&e===void 0){const i=r!==void 0&&r.length===1;i&&(e=vo.get(r)),e===void 0&&((this.o=e=new CSSStyleSheet).replaceSync(this.cssText),i&&vo.set(r,e))}return e}toString(){return this.cssText}};const fs=t=>new ps(typeof t=="string"?t:t+"",void 0,Gr),hs=(t,e)=>{if(Be)t.adoptedStyleSheets=e.map(r=>r instanceof CSSStyleSheet?r:r.styleSheet);else for(const r of e){const i=document.createElement("style"),n=be.litNonce;n!==void 0&&i.setAttribute("nonce",n),i.textContent=r.cssText,t.appendChild(i)}},yo=Be?t=>t:t=>t instanceof CSSStyleSheet?(e=>{let r="";for(const i of e.cssRules)r+=i.cssText;return fs(r)})(t):t;/**
6
6
  * @license
7
7
  * Copyright 2017 Google LLC
8
8
  * SPDX-License-Identifier: BSD-3-Clause
9
- */const{is:pa,defineProperty:ga,getOwnPropertyDescriptor:ya,getOwnPropertyNames:ba,getOwnPropertySymbols:ma,getPrototypeOf:va}=Object,Ht=globalThis,vs=Ht.trustedTypes,wa=vs?vs.emptyScript:"",wi=Ht.reactiveElementPolyfillSupport,Yr=(t,e)=>t,xi={toAttribute(t,e){switch(e){case Boolean:t=t?wa: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}},ws=(t,e)=>!pa(t,e),xs={attribute:!0,type:String,converter:xi,reflect:!1,hasChanged:ws};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=xs){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&&ga(this.prototype,e,i)}}static getPropertyDescriptor(e,r,n){const{get:i,set:s}=ya(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)??xs}static _$Ei(){if(this.hasOwnProperty(Yr("elementProperties")))return;const e=va(this);e.finalize(),e.l!==void 0&&(this.l=[...e.l]),this.elementProperties=new Map(e.elementProperties)}static finalize(){if(this.hasOwnProperty(Yr("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(Yr("properties"))){const r=this.properties,n=[...ba(r),...ma(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(ms(i))}else e!==void 0&&r.push(ms(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 fa(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:xi).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:xi;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??ws)(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[Yr("elementProperties")]=new Map,vr[Yr("finalized")]=new Map,wi==null||wi({ReactiveElement:vr}),(Ht.reactiveElementVersions??(Ht.reactiveElementVersions=[])).push("2.0.4");/**
9
+ */const{is:ms,defineProperty:gs,getOwnPropertyDescriptor:bs,getOwnPropertyNames:vs,getOwnPropertySymbols:ys,getPrototypeOf:xs}=Object,Bt=globalThis,xo=Bt.trustedTypes,ws=xo?xo.emptyScript:"",yn=Bt.reactiveElementPolyfillSupport,Xr=(t,e)=>t,xn={toAttribute(t,e){switch(e){case Boolean:t=t?ws: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}},wo=(t,e)=>!ms(t,e),ko={attribute:!0,type:String,converter:xn,reflect:!1,hasChanged:wo};Symbol.metadata??(Symbol.metadata=Symbol("metadata")),Bt.litPropertyMetadata??(Bt.litPropertyMetadata=new WeakMap);class xr 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=ko){if(r.state&&(r.attribute=!1),this._$Ei(),this.elementProperties.set(e,r),!r.noAccessor){const i=Symbol(),n=this.getPropertyDescriptor(e,i,r);n!==void 0&&gs(this.prototype,e,n)}}static getPropertyDescriptor(e,r,i){const{get:n,set:o}=bs(this.prototype,e)??{get(){return this[r]},set(a){this[r]=a}};return{get(){return n==null?void 0:n.call(this)},set(a){const l=n==null?void 0:n.call(this);o.call(this,a),this.requestUpdate(e,l,i)},configurable:!0,enumerable:!0}}static getPropertyOptions(e){return this.elementProperties.get(e)??ko}static _$Ei(){if(this.hasOwnProperty(Xr("elementProperties")))return;const e=xs(this);e.finalize(),e.l!==void 0&&(this.l=[...e.l]),this.elementProperties=new Map(e.elementProperties)}static finalize(){if(this.hasOwnProperty(Xr("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(Xr("properties"))){const r=this.properties,i=[...vs(r),...ys(r)];for(const n of i)this.createProperty(n,r[n])}const e=this[Symbol.metadata];if(e!==null){const r=litPropertyMetadata.get(e);if(r!==void 0)for(const[i,n]of r)this.elementProperties.set(i,n)}this._$Eh=new Map;for(const[r,i]of this.elementProperties){const n=this._$Eu(r,i);n!==void 0&&this._$Eh.set(n,r)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(e){const r=[];if(Array.isArray(e)){const i=new Set(e.flat(1/0).reverse());for(const n of i)r.unshift(yo(n))}else e!==void 0&&r.push(yo(e));return r}static _$Eu(e,r){const i=r.attribute;return i===!1?void 0:typeof i=="string"?i:typeof e=="string"?e.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){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 i of r.keys())this.hasOwnProperty(i)&&(e.set(i,this[i]),delete this[i]);e.size>0&&(this._$Ep=e)}createRenderRoot(){const e=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return hs(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 i;return(i=r.hostConnected)==null?void 0:i.call(r)})}enableUpdating(e){}disconnectedCallback(){var e;(e=this._$EO)==null||e.forEach(r=>{var i;return(i=r.hostDisconnected)==null?void 0:i.call(r)})}attributeChangedCallback(e,r,i){this._$AK(e,i)}_$EC(e,r){var o;const i=this.constructor.elementProperties.get(e),n=this.constructor._$Eu(e,i);if(n!==void 0&&i.reflect===!0){const a=(((o=i.converter)==null?void 0:o.toAttribute)!==void 0?i.converter:xn).toAttribute(r,i.type);this._$Em=e,a==null?this.removeAttribute(n):this.setAttribute(n,a),this._$Em=null}}_$AK(e,r){var o;const i=this.constructor,n=i._$Eh.get(e);if(n!==void 0&&this._$Em!==n){const a=i.getPropertyOptions(n),l=typeof a.converter=="function"?{fromAttribute:a.converter}:((o=a.converter)==null?void 0:o.fromAttribute)!==void 0?a.converter:xn;this._$Em=n,this[n]=l.fromAttribute(r,a.type),this._$Em=null}}requestUpdate(e,r,i){if(e!==void 0){if(i??(i=this.constructor.getPropertyOptions(e)),!(i.hasChanged??wo)(this[e],r))return;this.P(e,r,i)}this.isUpdatePending===!1&&(this._$ES=this._$ET())}P(e,r,i){this._$AL.has(e)||this._$AL.set(e,r),i.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 i;if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??(this.renderRoot=this.createRenderRoot()),this._$Ep){for(const[o,a]of this._$Ep)this[o]=a;this._$Ep=void 0}const n=this.constructor.elementProperties;if(n.size>0)for(const[o,a]of n)a.wrapped!==!0||this._$AL.has(o)||this[o]===void 0||this.P(o,this[o],a)}let e=!1;const r=this._$AL;try{e=this.shouldUpdate(r),e?(this.willUpdate(r),(i=this._$EO)==null||i.forEach(n=>{var o;return(o=n.hostUpdate)==null?void 0:o.call(n)}),this.update(r)):this._$EU()}catch(n){throw e=!1,this._$EU(),n}e&&this._$AE(r)}willUpdate(e){}_$AE(e){var r;(r=this._$EO)==null||r.forEach(i=>{var n;return(n=i.hostUpdated)==null?void 0:n.call(i)}),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){}}xr.elementStyles=[],xr.shadowRootOptions={mode:"open"},xr[Xr("elementProperties")]=new Map,xr[Xr("finalized")]=new Map,yn==null||yn({ReactiveElement:xr}),(Bt.reactiveElementVersions??(Bt.reactiveElementVersions=[])).push("2.0.4");/**
10
10
  * @license
11
11
  * Copyright 2017 Google LLC
12
12
  * SPDX-License-Identifier: BSD-3-Clause
13
- */const Zr=globalThis,Pn=Zr.trustedTypes,$s=Pn?Pn.createPolicy("lit-html",{createHTML:t=>t}):void 0,As="$lit$",Nt=`lit$${Math.random().toFixed(9).slice(2)}$`,_s="?"+Nt,xa=`<${_s}>`,Qt=document,Xr=()=>Qt.createComment(""),Jr=t=>t===null||typeof t!="object"&&typeof t!="function",$i=Array.isArray,$a=t=>$i(t)||typeof(t==null?void 0:t[Symbol.iterator])=="function",Ai=`[
14
- \f\r]`,Qr=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Ms=/-->/g,Cs=/>/g,er=RegExp(`>|${Ai}(?:([^\\s"'>=/]+)(${Ai}*=${Ai}*(?:[^
15
- \f\r"'\`<>=]|("|')|))|$)`,"g"),Es=/'/g,Ss=/"/g,ks=/^(?:script|style|textarea|title)$/i,Aa=t=>(e,...r)=>({_$litType$:t,strings:e,values:r}),ee=Aa(1),It=Symbol.for("lit-noChange"),xe=Symbol.for("lit-nothing"),Ls=new WeakMap,tr=Qt.createTreeWalker(Qt,129);function Ds(t,e){if(!$i(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return $s!==void 0?$s.createHTML(e):e}const _a=(t,e)=>{const r=t.length-1,n=[];let i,s=e===2?"<svg>":e===3?"<math>":"",o=Qr;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===Qr?g[1]==="!--"?o=Ms:g[1]!==void 0?o=Cs:g[2]!==void 0?(ks.test(g[2])&&(i=RegExp("</"+g[2],"g")),o=er):g[3]!==void 0&&(o=er):o===er?g[0]===">"?(o=i??Qr,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]==='"'?Ss:Es):o===Ss||o===Es?o=er:o===Ms||o===Cs?o=Qr:(o=er,i=void 0);const b=o===er&&t[l+1].startsWith("/>")?" ":"";s+=o===Qr?c+xa:y>=0?(n.push(u),c.slice(0,y)+As+c.slice(y)+Nt+b):c+Nt+(y===-2?l:b)}return[Ds(t,s+(t[r]||"<?>")+(e===2?"</svg>":e===3?"</math>":"")),n]};class en{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]=_a(e,r);if(this.el=en.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(As)){const x=g[o++],b=i.getAttribute(y).split(Nt),_=/([.?@])?(.*)/.exec(x);c.push({type:1,index:s,name:_[2],strings:b,ctor:_[1]==="."?Ca:_[1]==="?"?Ea:_[1]==="@"?Sa:Tn}),i.removeAttribute(y)}else y.startsWith(Nt)&&(c.push({type:6,index:s}),i.removeAttribute(y));if(ks.test(i.tagName)){const y=i.textContent.split(Nt),x=y.length-1;if(x>0){i.textContent=Pn?Pn.emptyScript:"";for(let b=0;b<x;b++)i.append(y[b],Xr()),tr.nextNode(),c.push({type:2,index:++s});i.append(y[x],Xr())}}}else if(i.nodeType===8)if(i.data===_s)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=Jr(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 Ma=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 ka(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),Jr(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):$a(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&&Jr(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=en.createElement(Ds(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 Ma(i,this),l=o.u(this.options);o.p(r),this.T(l),this._$AH=o}}_$AC(e){let r=Ls.get(e.strings);return r===void 0&&Ls.set(e.strings,r=new en(e)),r}k(e){$i(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(Xr()),this.O(Xr()),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 Tn{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=!Jr(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=!Jr(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 Ca extends Tn{constructor(){super(...arguments),this.type=3}j(e){this.element[this.name]=e===xe?void 0:e}}class Ea extends Tn{constructor(){super(...arguments),this.type=4}j(e){this.element.toggleAttribute(this.name,!!e&&e!==xe)}}class Sa extends Tn{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 ka{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 La={I:xr},_i=Zr.litHtmlPolyfillSupport;_i==null||_i(en,xr),(Zr.litHtmlVersions??(Zr.litHtmlVersions=[])).push("3.2.1");const Da=(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(Xr(),s),s,void 0,r??{})}return i._$AI(t),i};/**
13
+ */const Jr=globalThis,Li=Jr.trustedTypes,_o=Li?Li.createPolicy("lit-html",{createHTML:t=>t}):void 0,$o="$lit$",Nt=`lit$${Math.random().toFixed(9).slice(2)}$`,Ao="?"+Nt,ks=`<${Ao}>`,Qt=document,Zr=()=>Qt.createComment(""),Qr=t=>t===null||typeof t!="object"&&typeof t!="function",wn=Array.isArray,_s=t=>wn(t)||typeof(t==null?void 0:t[Symbol.iterator])=="function",kn=`[
14
+ \f\r]`,ei=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,zo=/-->/g,Mo=/>/g,er=RegExp(`>|${kn}(?:([^\\s"'>=/]+)(${kn}*=${kn}*(?:[^
15
+ \f\r"'\`<>=]|("|')|))|$)`,"g"),So=/'/g,Co=/"/g,Lo=/^(?:script|style|textarea|title)$/i,$s=t=>(e,...r)=>({_$litType$:t,strings:e,values:r}),V=$s(1),Ht=Symbol.for("lit-noChange"),we=Symbol.for("lit-nothing"),Eo=new WeakMap,tr=Qt.createTreeWalker(Qt,129);function Do(t,e){if(!wn(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return _o!==void 0?_o.createHTML(e):e}const As=(t,e)=>{const r=t.length-1,i=[];let n,o=e===2?"<svg>":e===3?"<math>":"",a=ei;for(let l=0;l<r;l++){const c=t[l];let d,m,g=-1,w=0;for(;w<c.length&&(a.lastIndex=w,m=a.exec(c),m!==null);)w=a.lastIndex,a===ei?m[1]==="!--"?a=zo:m[1]!==void 0?a=Mo:m[2]!==void 0?(Lo.test(m[2])&&(n=RegExp("</"+m[2],"g")),a=er):m[3]!==void 0&&(a=er):a===er?m[0]===">"?(a=n??ei,g=-1):m[1]===void 0?g=-2:(g=a.lastIndex-m[2].length,d=m[1],a=m[3]===void 0?er:m[3]==='"'?Co:So):a===Co||a===So?a=er:a===zo||a===Mo?a=ei:(a=er,n=void 0);const b=a===er&&t[l+1].startsWith("/>")?" ":"";o+=a===ei?c+ks:g>=0?(i.push(d),c.slice(0,g)+$o+c.slice(g)+Nt+b):c+Nt+(g===-2?l:b)}return[Do(t,o+(t[r]||"<?>")+(e===2?"</svg>":e===3?"</math>":"")),i]};class ti{constructor({strings:e,_$litType$:r},i){let n;this.parts=[];let o=0,a=0;const l=e.length-1,c=this.parts,[d,m]=As(e,r);if(this.el=ti.createElement(d,i),tr.currentNode=this.el.content,r===2||r===3){const g=this.el.content.firstChild;g.replaceWith(...g.childNodes)}for(;(n=tr.nextNode())!==null&&c.length<l;){if(n.nodeType===1){if(n.hasAttributes())for(const g of n.getAttributeNames())if(g.endsWith($o)){const w=m[a++],b=n.getAttribute(g).split(Nt),$=/([.?@])?(.*)/.exec(w);c.push({type:1,index:o,name:$[2],strings:b,ctor:$[1]==="."?Ms:$[1]==="?"?Ss:$[1]==="@"?Cs:Ei}),n.removeAttribute(g)}else g.startsWith(Nt)&&(c.push({type:6,index:o}),n.removeAttribute(g));if(Lo.test(n.tagName)){const g=n.textContent.split(Nt),w=g.length-1;if(w>0){n.textContent=Li?Li.emptyScript:"";for(let b=0;b<w;b++)n.append(g[b],Zr()),tr.nextNode(),c.push({type:2,index:++o});n.append(g[w],Zr())}}}else if(n.nodeType===8)if(n.data===Ao)c.push({type:2,index:o});else{let g=-1;for(;(g=n.data.indexOf(Nt,g+1))!==-1;)c.push({type:7,index:o}),g+=Nt.length-1}o++}}static createElement(e,r){const i=Qt.createElement("template");return i.innerHTML=e,i}}function wr(t,e,r=t,i){var a,l;if(e===Ht)return e;let n=i!==void 0?(a=r._$Co)==null?void 0:a[i]:r._$Cl;const o=Qr(e)?void 0:e._$litDirective$;return(n==null?void 0:n.constructor)!==o&&((l=n==null?void 0:n._$AO)==null||l.call(n,!1),o===void 0?n=void 0:(n=new o(t),n._$AT(t,r,i)),i!==void 0?(r._$Co??(r._$Co=[]))[i]=n:r._$Cl=n),n!==void 0&&(e=wr(t,n._$AS(t,e.values),n,i)),e}let zs=class{constructor(e,r){this._$AV=[],this._$AN=void 0,this._$AD=e,this._$AM=r}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(e){const{el:{content:r},parts:i}=this._$AD,n=((e==null?void 0:e.creationScope)??Qt).importNode(r,!0);tr.currentNode=n;let o=tr.nextNode(),a=0,l=0,c=i[0];for(;c!==void 0;){if(a===c.index){let d;c.type===2?d=new kr(o,o.nextSibling,this,e):c.type===1?d=new c.ctor(o,c.name,c.strings,this,e):c.type===6&&(d=new Ls(o,this,e)),this._$AV.push(d),c=i[++l]}a!==(c==null?void 0:c.index)&&(o=tr.nextNode(),a++)}return tr.currentNode=Qt,n}p(e){let r=0;for(const i of this._$AV)i!==void 0&&(i.strings!==void 0?(i._$AI(e,i,r),r+=i.strings.length-2):i._$AI(e[r])),r++}};class kr{get _$AU(){var e;return((e=this._$AM)==null?void 0:e._$AU)??this._$Cv}constructor(e,r,i,n){this.type=2,this._$AH=we,this._$AN=void 0,this._$AA=e,this._$AB=r,this._$AM=i,this.options=n,this._$Cv=(n==null?void 0:n.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),Qr(e)?e===we||e==null||e===""?(this._$AH!==we&&this._$AR(),this._$AH=we):e!==this._$AH&&e!==Ht&&this._(e):e._$litType$!==void 0?this.$(e):e.nodeType!==void 0?this.T(e):_s(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!==we&&Qr(this._$AH)?this._$AA.nextSibling.data=e:this.T(Qt.createTextNode(e)),this._$AH=e}$(e){var o;const{values:r,_$litType$:i}=e,n=typeof i=="number"?this._$AC(e):(i.el===void 0&&(i.el=ti.createElement(Do(i.h,i.h[0]),this.options)),i);if(((o=this._$AH)==null?void 0:o._$AD)===n)this._$AH.p(r);else{const a=new zs(n,this),l=a.u(this.options);a.p(r),this.T(l),this._$AH=a}}_$AC(e){let r=Eo.get(e.strings);return r===void 0&&Eo.set(e.strings,r=new ti(e)),r}k(e){wn(this._$AH)||(this._$AH=[],this._$AR());const r=this._$AH;let i,n=0;for(const o of e)n===r.length?r.push(i=new kr(this.O(Zr()),this.O(Zr()),this,this.options)):i=r[n],i._$AI(o),n++;n<r.length&&(this._$AR(i&&i._$AB.nextSibling,n),r.length=n)}_$AR(e=this._$AA.nextSibling,r){var i;for((i=this._$AP)==null?void 0:i.call(this,!1,!0,r);e&&e!==this._$AB;){const n=e.nextSibling;e.remove(),e=n}}setConnected(e){var r;this._$AM===void 0&&(this._$Cv=e,(r=this._$AP)==null||r.call(this,e))}}class Ei{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(e,r,i,n,o){this.type=1,this._$AH=we,this._$AN=void 0,this.element=e,this.name=r,this._$AM=n,this.options=o,i.length>2||i[0]!==""||i[1]!==""?(this._$AH=Array(i.length-1).fill(new String),this.strings=i):this._$AH=we}_$AI(e,r=this,i,n){const o=this.strings;let a=!1;if(o===void 0)e=wr(this,e,r,0),a=!Qr(e)||e!==this._$AH&&e!==Ht,a&&(this._$AH=e);else{const l=e;let c,d;for(e=o[0],c=0;c<o.length-1;c++)d=wr(this,l[i+c],r,c),d===Ht&&(d=this._$AH[c]),a||(a=!Qr(d)||d!==this._$AH[c]),d===we?e=we:e!==we&&(e+=(d??"")+o[c+1]),this._$AH[c]=d}a&&!n&&this.j(e)}j(e){e===we?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e??"")}}class Ms extends Ei{constructor(){super(...arguments),this.type=3}j(e){this.element[this.name]=e===we?void 0:e}}class Ss extends Ei{constructor(){super(...arguments),this.type=4}j(e){this.element.toggleAttribute(this.name,!!e&&e!==we)}}class Cs extends Ei{constructor(e,r,i,n,o){super(e,r,i,n,o),this.type=5}_$AI(e,r=this){if((e=wr(this,e,r,0)??we)===Ht)return;const i=this._$AH,n=e===we&&i!==we||e.capture!==i.capture||e.once!==i.once||e.passive!==i.passive,o=e!==we&&(i===we||n);n&&this.element.removeEventListener(this.name,this,i),o&&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 Ls{constructor(e,r,i){this.element=e,this.type=6,this._$AN=void 0,this._$AM=r,this.options=i}get _$AU(){return this._$AM._$AU}_$AI(e){wr(this,e)}}const Es={I:kr},_n=Jr.litHtmlPolyfillSupport;_n==null||_n(ti,kr),(Jr.litHtmlVersions??(Jr.litHtmlVersions=[])).push("3.2.1");const Ds=(t,e,r)=>{const i=(r==null?void 0:r.renderBefore)??e;let n=i._$litPart$;if(n===void 0){const o=(r==null?void 0:r.renderBefore)??null;i._$litPart$=n=new kr(e.insertBefore(Zr(),o),o,void 0,r??{})}return n._$AI(t),n};/**
16
16
  * @license
17
17
  * Copyright 2017 Google LLC
18
18
  * SPDX-License-Identifier: BSD-3-Clause
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=Da(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,(Ko=globalThis.litElementHydrateSupport)==null||Ko.call(globalThis,{LitElement:tt});const Mi=globalThis.litElementPolyfillSupport;Mi==null||Mi({LitElement:tt}),(globalThis.litElementVersions??(globalThis.litElementVersions=[])).push("4.1.1");/**
19
+ */let tt=class extends xr{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=Ds(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 Ht}};tt._$litElement$=!0,tt.finalized=!0,(Ka=globalThis.litElementHydrateSupport)==null||Ka.call(globalThis,{LitElement:tt});const $n=globalThis.litElementPolyfillSupport;$n==null||$n({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*Rn(t,e){if(t!==void 0){let r=0;for(const n of t)yield e(n,r++)}}/**
23
+ */function*Di(t,e){if(t!==void 0){let r=0;for(const i of t)yield e(i,r++)}}/**
24
24
  * @license
25
25
  * Copyright 2021 Google LLC
26
26
  * SPDX-License-Identifier: BSD-3-Clause
27
- */function Ve(t,e,r){return t?e(t):r==null?void 0:r(t)}const Pa=`
27
+ */function Fe(t,e,r){return t?e(t):r==null?void 0:r(t)}const Ps=`
28
28
  :host {
29
29
  display: flex;
30
30
  box-sizing: border-box;
@@ -44,13 +44,52 @@ form#itemfilter {
44
44
  flex-direction: column;
45
45
  }
46
46
  form#itemfilter:not(.inline) {
47
- overflow-y: auto;
47
+ height: 100%;
48
+ overflow: hidden;
48
49
  }
49
50
  details {
50
51
  width: 100%;
51
52
  }
52
- `,tn=`
53
+ `,Po='@import"https://eox.at/fonts/inter/inter.css";@import"https://eox.at/fonts/materialdesignicons/materialdesignicons.min.css";:root{--size: 1rem;--font: Inter, Roboto, "Helvetica Neue", "Arial Nova", "Nimbus Sans", Noto Sans, Arial, sans-serif;--font-icon: "Material Symbols Outlined";--speed1: .1s;--speed2: .2s;--speed3: .3s;--speed4: .4s;--active: rgb(128 128 128 / .192);--overlay: rgb(0 0 0 / .5);--elevate1: 0 .125rem .125rem 0 rgb(0 0 0 / .32);--elevate2: 0 .25rem .5rem 0 rgb(0 0 0 / .4);--elevate3: 0 .375rem .75rem 0 rgb(0 0 0 / .48);--top: env(safe-area-inset-top);--bottom: env(safe-area-inset-bottom);--left: env(safe-area-inset-left);--right: env(safe-area-inset-right)}:root,body.light{--primary: #6750a4;--on-primary: #ffffff;--primary-container: #e9ddff;--on-primary-container: #22005d;--secondary: #625b71;--on-secondary: #ffffff;--secondary-container: #e8def8;--on-secondary-container: #1e192b;--tertiary: #7e5260;--on-tertiary: #ffffff;--tertiary-container: #ffd9e3;--on-tertiary-container: #31101d;--error: #ba1a1a;--on-error: #ffffff;--error-container: #ffdad6;--on-error-container: #410002;--background: #fffbff;--on-background: #1c1b1e;--surface: #fdf8fd;--on-surface: #1c1b1e;--surface-variant: #e7e0eb;--on-surface-variant: #49454e;--outline: #7a757f;--outline-variant: #cac4cf;--shadow: #000000;--scrim: #000000;--inverse-surface: #313033;--inverse-on-surface: #f4eff4;--inverse-primary: #cfbcff;--surface-dim: #ddd8dd;--surface-bright: #fdf8fd;--surface-container-lowest: #ffffff;--surface-container-low: #f7f2f7;--surface-container: #f2ecf1;--surface-container-high: #ece7eb;--surface-container-highest: #e6e1e6}body.dark{--primary: #cfbcff;--on-primary: #381e72;--primary-container: #4f378a;--on-primary-container: #e9ddff;--secondary: #cbc2db;--on-secondary: #332d41;--secondary-container: #4a4458;--on-secondary-container: #e8def8;--tertiary: #efb8c8;--on-tertiary: #4a2532;--tertiary-container: #633b48;--on-tertiary-container: #ffd9e3;--error: #ffb4ab;--on-error: #690005;--error-container: #93000a;--on-error-container: #ffb4ab;--background: #1c1b1e;--on-background: #e6e1e6;--surface: #141316;--on-surface: #e6e1e6;--surface-variant: #49454e;--on-surface-variant: #cac4cf;--outline: #948f99;--outline-variant: #49454e;--shadow: #000000;--scrim: #000000;--inverse-surface: #e6e1e6;--inverse-on-surface: #313033;--inverse-primary: #6750a4;--surface-dim: #141316;--surface-bright: #3a383c;--surface-container-lowest: #0f0e11;--surface-container-low: #1c1b1e;--surface-container: #201f22;--surface-container-high: #2b292d;--surface-container-highest: #363438}@font-face{font-family:Material Symbols Outlined;font-style:normal;font-weight:400;font-display:block;src:url(/material-symbols-outlined.woff2?no-inline) format("woff2"),url(https://cdn.jsdelivr.net/npm/beercss@3.11.4/dist/cdn/material-symbols-outlined.woff2) format("woff2")}@font-face{font-family:Material Symbols Rounded;font-style:normal;font-weight:400;font-display:block;src:url(/material-symbols-rounded.woff2?no-inline) format("woff2"),url(https://cdn.jsdelivr.net/npm/beercss@3.11.4/dist/cdn/material-symbols-rounded.woff2) format("woff2")}@font-face{font-family:Material Symbols Sharp;font-style:normal;font-weight:400;font-display:block;src:url(/material-symbols-sharp.woff2?no-inline) format("woff2"),url(https://cdn.jsdelivr.net/npm/beercss@3.11.4/dist/cdn/material-symbols-sharp.woff2) format("woff2")}@font-face{font-family:Material Symbols Subset;font-style:normal;font-weight:400;font-display:block;src:url(/material-symbols-subset.woff2?no-inline) format("woff2"),url(https://cdn.jsdelivr.net/npm/beercss@3.11.4/dist/cdn/material-symbols-subset.woff2) format("woff2")}*{-webkit-tap-highlight-color:transparent;position:relative;vertical-align:middle;color:inherit;margin:0;padding:0;border-radius:inherit;box-sizing:border-box}body{color:var(--on-surface);background-color:var(--surface);overflow-x:hidden}label{font-size:.75rem;vertical-align:baseline}a,b,i,span,strong,em,code{vertical-align:baseline}a,button,.button{cursor:pointer;text-decoration:none;display:inline-flex;align-items:center;border:none;font-family:inherit;outline:inherit;justify-content:center}a,button,.button,i,label{-webkit-user-select:none;user-select:none}body ::-webkit-scrollbar,body ::-webkit-scrollbar-thumb,body ::-webkit-scrollbar-button{background:none;inline-size:.4rem;block-size:.4rem}body :is(:hover,:focus)::-webkit-scrollbar-thumb{background:var(--outline);border-radius:1rem}*+:is(address,article,blockquote,code,.field,fieldset,form,.grid,h1,h2,h3,h4,h5,h6,nav,ol,p,pre,.row,section,aside,table,.tabs,ul){margin-block-start:1rem}:is(a,button,.button,.chip):focus-visible{outline:.125rem solid var(--primary);outline-offset:.25rem}:is(nav,.row,li).group>:focus-visible{outline-offset:0}.transparent{background-color:transparent!important;box-shadow:none!important;color:inherit!important}.primary{background-color:var(--primary)!important;color:var(--on-primary)!important}.primary-text{color:var(--primary)!important}.primary-border{border-color:var(--primary)!important}.primary-container{background-color:var(--primary-container)!important;color:var(--on-primary-container)!important}.secondary{background-color:var(--secondary)!important;color:var(--on-secondary)!important}.secondary-text{color:var(--secondary)!important}.secondary-border{border-color:var(--secondary)!important}.secondary-container{background-color:var(--secondary-container)!important;color:var(--on-secondary-container)!important}.tertiary{background-color:var(--tertiary)!important;color:var(--on-tertiary)!important}.tertiary-text{color:var(--tertiary)!important}.tertiary-border{border-color:var(--tertiary)!important}.tertiary-container{background-color:var(--tertiary-container)!important;color:var(--on-tertiary-container)!important}.error{background-color:var(--error)!important;color:var(--on-error)!important}.error-text{color:var(--error)!important}.error-border{border-color:var(--error)!important}.error-container{background-color:var(--error-container)!important;color:var(--on-error-container)!important}.background{background-color:var(--background)!important;color:var(--on-background)!important}.surface,.surface-dim,.surface-bright,.surface-container-lowest,.surface-container-low,.surface-container,.surface-container-high,.surface-container-highest{background-color:var(--surface)!important;color:var(--on-surface)!important}.surface-variant{background-color:var(--surface-variant)!important;color:var(--on-surface-variant)!important}.inverse-surface{background-color:var(--inverse-surface);color:var(--inverse-on-surface)}.inverse-primary{background-color:var(--inverse-primary);color:var(--primary)}.inverse-primary-text{color:var(--inverse-primary)!important}.inverse-primary-border{border-color:var(--inverse-primary)!important}.surface-dim{background-color:var(--surface-dim)!important}.surface-bright{background-color:var(--surface-bright)!important}.surface-container-lowest{background-color:var(--surface-container-lowest)!important}.surface-container{background-color:var(--surface-container)!important}.surface-container-high{background-color:var(--surface-container-high)!important}.surface-container-highest{background-color:var(--surface-container-highest)!important}.surface-container-low{background-color:var(--surface-container-low)!important}.black{background-color:#000!important}.black-border{border-color:#000!important}.black-text{color:#000!important}.white{background-color:#fff!important}.white-border{border-color:#fff!important}.white-text{color:#fff!important}.transparent-border{border-color:transparent!important}.transparent-text{color:transparent!important}.fill:not(i){background-color:var(--surface-variant)!important;color:var(--on-surface-variant)!important}.primary-container>.active,.primary-container.active{background-color:var(--primary)!important;color:var(--on-primary)!important}.secondary-container>.active,.secondary-container.active{background-color:var(--secondary)!important;color:var(--on-secondary)!important}.tertiary-container>.active,.tertiary-container.active{background-color:var(--tertiary)!important;color:var(--on-tertiary)!important}.primary>.active,.primary.active{background-color:var(--primary-container)!important;color:var(--on-primary-container)!important}.secondary>.active,.secondary.active{background-color:var(--secondary-container)!important;color:var(--on-secondary-container)!important}.tertiary>.active,.tertiary.active{background-color:var(--tertiary-container)!important;color:var(--on-tertiary-container)!important}.middle-align{display:flex;align-items:center!important}.bottom-align{display:flex;align-items:flex-end!important}.top-align{display:flex;align-items:flex-start!important}.left-align{text-align:start;justify-content:flex-start!important}.right-align{text-align:end;justify-content:flex-end!important}.center-align{text-align:center;justify-content:center!important}[class*=blur],[class*=blur].light{--_blur: 1rem;-webkit-backdrop-filter:blur(var(--_blur));backdrop-filter:blur(var(--_blur));color:var(--on-surface);background-color:#ffffff80!important}.dark [class*=blur],[class*=blur].dark{background-color:#00000080!important}.small-blur{--_blur: .5rem}.large-blur{--_blur: 1.5rem}.red,.red6{background-color:#f44336!important}.red-border{border-color:#f44336!important}.red-text{color:#f44336!important}.red1{background-color:#ffebee!important}.red2{background-color:#ffcdd2!important}.red3{background-color:#ef9a9a!important}.red4{background-color:#e57373!important}.red5{background-color:#ef5350!important}.red7{background-color:#e53935!important}.red8{background-color:#d32f2f!important}.red9{background-color:#c62828!important}.red10{background-color:#b71c1c!important}.pink,.pink6{background-color:#e91e63!important}.pink-border{border-color:#e91e63!important}.pink-text{color:#e91e63!important}.pink1{background-color:#fce4ec!important}.pink2{background-color:#f8bbd0!important}.pink3{background-color:#f48fb1!important}.pink4{background-color:#f06292!important}.pink5{background-color:#ec407a!important}.pink7{background-color:#d81b60!important}.pink8{background-color:#c2185b!important}.pink9{background-color:#ad1457!important}.pink10{background-color:#880e4f!important}.purple,.purple6{background-color:#9c27b0!important}.purple-border{border-color:#9c27b0!important}.purple-text{color:#9c27b0!important}.purple1{background-color:#f3e5f5!important}.purple2{background-color:#e1bee7!important}.purple3{background-color:#ce93d8!important}.purple4{background-color:#ba68c8!important}.purple5{background-color:#ab47bc!important}.purple7{background-color:#8e24aa!important}.purple8{background-color:#7b1fa2!important}.purple9{background-color:#6a1b9a!important}.purple10{background-color:#4a148c!important}.deep-purple,.deep-purple6{background-color:#673ab7!important}.deep-purple-border{border-color:#673ab7!important}.deep-purple-text{color:#673ab7!important}.deep-purple1{background-color:#ede7f6!important}.deep-purple2{background-color:#d1c4e9!important}.deep-purple3{background-color:#b39ddb!important}.deep-purple4{background-color:#9575cd!important}.deep-purple5{background-color:#7e57c2!important}.deep-purple7{background-color:#5e35b1!important}.deep-purple8{background-color:#512da8!important}.deep-purple9{background-color:#4527a0!important}.deep-purple10{background-color:#311b92!important}.indigo,.indigo6{background-color:#3f51b5!important}.indigo-border{border-color:#3f51b5!important}.indigo-text{color:#3f51b5!important}.indigo1{background-color:#e8eaf6!important}.indigo2{background-color:#c5cae9!important}.indigo3{background-color:#9fa8da!important}.indigo4{background-color:#7986cb!important}.indigo5{background-color:#5c6bc0!important}.indigo7{background-color:#3949ab!important}.indigo8{background-color:#303f9f!important}.indigo9{background-color:#283593!important}.indigo10{background-color:#1a237e!important}.blue,.blue6{background-color:#2196f3!important}.blue-border{border-color:#2196f3!important}.blue-text{color:#2196f3!important}.blue1{background-color:#e3f2fd!important}.blue2{background-color:#bbdefb!important}.blue3{background-color:#90caf9!important}.blue4{background-color:#64b5f6!important}.blue5{background-color:#42a5f5!important}.blue7{background-color:#1e88e5!important}.blue8{background-color:#1976d2!important}.blue9{background-color:#1565c0!important}.blue10{background-color:#0d47a1!important}.light-blue,.light-blue6{background-color:#03a9f4!important}.light-blue-border{border-color:#03a9f4!important}.light-blue-text{color:#03a9f4!important}.light-blue1{background-color:#e1f5fe!important}.light-blue2{background-color:#b3e5fc!important}.light-blue3{background-color:#81d4fa!important}.light-blue4{background-color:#4fc3f7!important}.light-blue5{background-color:#29b6f6!important}.light-blue7{background-color:#039be5!important}.light-blue8{background-color:#0288d1!important}.light-blue9{background-color:#0277bd!important}.light-blue10{background-color:#01579b!important}.cyan,.cyan6{background-color:#00bcd4!important}.cyan-border{border-color:#00bcd4!important}.cyan-text{color:#00bcd4!important}.cyan1{background-color:#e0f7fa!important}.cyan2{background-color:#b2ebf2!important}.cyan3{background-color:#80deea!important}.cyan4{background-color:#4dd0e1!important}.cyan5{background-color:#26c6da!important}.cyan7{background-color:#00acc1!important}.cyan8{background-color:#0097a7!important}.cyan9{background-color:#00838f!important}.cyan10{background-color:#006064!important}.teal,.teal6{background-color:#009688!important}.teal-border{border-color:#009688!important}.teal-text{color:#009688!important}.teal1{background-color:#e0f2f1!important}.teal2{background-color:#b2dfdb!important}.teal3{background-color:#80cbc4!important}.teal4{background-color:#4db6ac!important}.teal5{background-color:#26a69a!important}.teal7{background-color:#00897b!important}.teal8{background-color:#00796b!important}.teal9{background-color:#00695c!important}.teal10{background-color:#004d40!important}.green,.green6{background-color:#4caf50!important}.green-border{border-color:#4caf50!important}.green-text{color:#4caf50!important}.green1{background-color:#e8f5e9!important}.green2{background-color:#c8e6c9!important}.green3{background-color:#a5d6a7!important}.green4{background-color:#81c784!important}.green5{background-color:#66bb6a!important}.green7{background-color:#43a047!important}.green8{background-color:#388e3c!important}.green9{background-color:#2e7d32!important}.green10{background-color:#1b5e20!important}.light-green,.light-green6{background-color:#8bc34a!important}.light-green-border{border-color:#8bc34a!important}.light-green-text{color:#8bc34a!important}.light-green1{background-color:#f1f8e9!important}.light-green2{background-color:#dcedc8!important}.light-green3{background-color:#c5e1a5!important}.light-green4{background-color:#aed581!important}.light-green5{background-color:#9ccc65!important}.light-green7{background-color:#7cb342!important}.light-green8{background-color:#689f38!important}.light-green9{background-color:#558b2f!important}.light-green10{background-color:#33691e!important}.lime,.lime6{background-color:#cddc39!important}.lime-border{border-color:#cddc39!important}.lime-text{color:#cddc39!important}.lime1{background-color:#f9fbe7!important}.lime2{background-color:#f0f4c3!important}.lime3{background-color:#e6ee9c!important}.lime4{background-color:#dce775!important}.lime5{background-color:#d4e157!important}.lime7{background-color:#c0ca33!important}.lime8{background-color:#afb42b!important}.lime9{background-color:#9e9d24!important}.lime10{background-color:#827717!important}.yellow,.yellow6{background-color:#ffeb3b!important}.yellow-border{border-color:#ffeb3b!important}.yellow-text{color:#ffeb3b!important}.yellow1{background-color:#fffde7!important}.yellow2{background-color:#fff9c4!important}.yellow3{background-color:#fff59d!important}.yellow4{background-color:#fff176!important}.yellow5{background-color:#ffee58!important}.yellow7{background-color:#fdd835!important}.yellow8{background-color:#fbc02d!important}.yellow9{background-color:#f9a825!important}.yellow10{background-color:#f57f17!important}.amber,.amber6{background-color:#ffc107!important}.amber-border{border-color:#ffc107!important}.amber-text{color:#ffc107!important}.amber1{background-color:#fff8e1!important}.amber2{background-color:#ffecb3!important}.amber3{background-color:#ffe082!important}.amber4{background-color:#ffd54f!important}.amber5{background-color:#ffca28!important}.amber7{background-color:#ffb300!important}.amber8{background-color:#ffa000!important}.amber9{background-color:#ff8f00!important}.amber10{background-color:#ff6f00!important}.orange,.orange6{background-color:#ff9800!important}.orange-border{border-color:#ff9800!important}.orange-text{color:#ff9800!important}.orange1{background-color:#fff3e0!important}.orange2{background-color:#ffe0b2!important}.orange3{background-color:#ffcc80!important}.orange4{background-color:#ffb74d!important}.orange5{background-color:#ffa726!important}.orange7{background-color:#fb8c00!important}.orange8{background-color:#f57c00!important}.orange9{background-color:#ef6c00!important}.orange10{background-color:#e65100!important}.deep-orange,.deep-orange6{background-color:#ff5722!important}.deep-orange-border{border-color:#ff5722!important}.deep-orange-text{color:#ff5722!important}.deep-orange1{background-color:#fbe9e7!important}.deep-orange2{background-color:#ffccbc!important}.deep-orange3{background-color:#ffab91!important}.deep-orange4{background-color:#ff8a65!important}.deep-orange5{background-color:#ff7043!important}.deep-orange7{background-color:#f4511e!important}.deep-orange8{background-color:#e64a19!important}.deep-orange9{background-color:#d84315!important}.deep-orange10{background-color:#bf360c!important}.brown,.brown6{background-color:#795548!important}.brown-border{border-color:#795548!important}.brown-text{color:#795548!important}.brown1{background-color:#efebe9!important}.brown2{background-color:#d7ccc8!important}.brown3{background-color:#bcaaa4!important}.brown4{background-color:#a1887f!important}.brown5{background-color:#8d6e63!important}.brown7{background-color:#6d4c41!important}.brown8{background-color:#5d4037!important}.brown9{background-color:#4e342e!important}.brown10{background-color:#3e2723!important}.blue-grey,.blue-grey6{background-color:#607d8b!important}.blue-grey-border{border-color:#607d8b!important}.blue-grey-text{color:#607d8b!important}.blue-grey1{background-color:#eceff1!important}.blue-grey2{background-color:#cfd8dc!important}.blue-grey3{background-color:#b0bec5!important}.blue-grey4{background-color:#90a4ae!important}.blue-grey5{background-color:#78909c!important}.blue-grey7{background-color:#546e7a!important}.blue-grey8{background-color:#455a64!important}.blue-grey9{background-color:#37474f!important}.blue-grey10{background-color:#263238!important}.grey,.grey6{background-color:#9e9e9e!important}.grey-border{border-color:#9e9e9e!important}.grey-text{color:#9e9e9e!important}.grey1{background-color:#fafafa!important}.grey2{background-color:#f5f5f5!important}.grey3{background-color:#eee!important}.grey4{background-color:#e0e0e0!important}.grey5{background-color:#bdbdbd!important}.grey7{background-color:#757575!important}.grey8{background-color:#616161!important}.grey9{background-color:#424242!important}.grey10{background-color:#212121!important}.horizontal{display:inline-flex;flex-direction:row!important;gap:1rem;inline-size:auto!important;max-inline-size:none!important}.horizontal>*{margin-block:0!important}.vertical{display:flex;flex-direction:column!important}:is(a,button,.button,.chip).vertical{display:inline-flex;gap:.25rem;block-size:auto!important;max-block-size:none!important;padding-block:.5rem}.vertical>*{margin-inline:0!important}.no-elevate{box-shadow:none!important}.small-elevate,.elevate{box-shadow:var(--elevate1)!important}.medium-elevate{box-shadow:var(--elevate2)!important}.large-elevate{box-shadow:var(--elevate3)!important}[class*=round]{--_round: 2rem;border-radius:var(--_round)!important}.small-round{--_round: .5rem}.large-round{--_round: 3.5rem}.no-round,.square,.top-round,.bottom-round,.left-round,.right-round{border-radius:.5rem!important}.top-round{border-start-start-radius:var(--_round)!important;border-start-end-radius:var(--_round)!important}.bottom-round{border-end-end-radius:var(--_round)!important;border-end-start-radius:var(--_round)!important}.left-round{border-start-start-radius:var(--_round)!important;border-end-start-radius:var(--_round)!important}.right-round{border-start-end-radius:var(--_round)!important;border-end-end-radius:var(--_round)!important}.circle:not(.extend){border-radius:50%}:is(.circle,.square):is(button,.button,.chip){padding:0;block-size:var(--_size);inline-size:var(--_size)}:is(.circle,.square)>span{display:none}:is(.circle,.square).round{border-radius:1rem!important}.border:not(table,.field,.list,menu,article){box-sizing:border-box;border:.0625rem solid var(--outline);background-color:transparent;box-shadow:none}.no-border{border-color:transparent!important}.border:not(.extend,.circle,.square,.badge){box-sizing:content-box}[class*=margin]:not(.left-margin,.right-margin,.top-margin,.bottom-margin,.horizontal-margin,.vertical-margin){margin:var(--_margin)!important}[class*=margin]{--_margin: 1rem}.no-margin{--_margin: 0}.auto-margin{--_margin: auto}.tiny-margin{--_margin: .25rem}.small-margin{--_margin: .5rem}.large-margin{--_margin: 1.5rem}.left-margin,.horizontal-margin{margin-inline-start:var(--_margin)!important}.right-margin,.horizontal-margin{margin-inline-end:var(--_margin)!important}.top-margin,.vertical-margin{margin-block-start:var(--_margin)!important}.bottom-margin,.vertical-margin{margin-block-end:var(--_margin)!important}.no-opacity{opacity:1!important}.opacity{opacity:0!important}.small-opacity{opacity:.75!important}.medium-opacity{opacity:.5!important}.large-opacity{opacity:.25!important}[class*=padding]:not(.left-padding,.right-padding,.top-padding,.bottom-padding,.horizontal-padding,.vertical-padding){padding:var(--_padding)!important}[class*=padding]{--_padding: 1rem}.no-padding{--_padding: 0 !important}.tiny-padding{--_padding: .25rem !important}.small-padding{--_padding: .5rem !important}.large-padding{--_padding: 1.5rem !important}.left-padding,.horizontal-padding{padding-inline-start:var(--_padding)!important}.right-padding,.horizontal-padding{padding-inline-end:var(--_padding)!important}.top-padding,.vertical-padding{padding-block-start:var(--_padding)!important}.bottom-padding,.vertical-padding{padding-block-end:var(--_padding)!important}.front{z-index:10!important}.back{z-index:-10!important}.left{inset-inline-start:0}.right{inset-inline-end:0}.top{inset-block-start:0}.bottom{inset-block-end:0}.center{inset-inline-start:50%;transform:translate(-50%)}[dir=rtl] .center{transform:translate(50%)}.middle{inset-block-start:50%;transform:translateY(-50%)}.middle.center{transform:translate(-50%,-50%)}[dir=rtl] .middle.center{transform:translate(50%,-50%)}.ripple{--_duration: .6s}.fast-ripple{--_duration: .2s}.slow-ripple{--_duration: 1.8s}.ripple-js{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none;overflow:hidden}.ripple-js>div{position:absolute;border-radius:50%;background:currentColor;opacity:.3;transform:scale(0);animation:to-ripple var(--_duration) linear}@keyframes to-ripple{to{transform:scale(4);opacity:0}}.scroll{overflow:auto}.no-scroll{overflow:hidden}.shadow{background-color:#00000050}:is(.left-shadow,.right-shadow,.top-shadow,.bottom-shadow){background-color:transparent!important}.left-shadow{background-image:linear-gradient(to right,black,transparent)!important}.right-shadow{background-image:linear-gradient(to left,black,transparent)!important}.bottom-shadow{background-image:linear-gradient(to top,black,transparent)!important}.top-shadow{background-image:linear-gradient(to bottom,black,transparent)!important}[class*=width]{max-inline-size:100%}.auto-width{inline-size:auto}.small-width{inline-size:12rem!important}.medium-width{inline-size:24rem!important}.large-width{inline-size:36rem!important}.auto-height{block-size:auto}.small-height{block-size:12rem!important}.medium-height{block-size:24rem!important}.large-height{block-size:36rem!important}.wrap{display:block;white-space:normal}.no-wrap:not(menu){display:flex;white-space:nowrap}.tiny-space:not(nav,.row,.grid,table,.tooltip,.list,menu){block-size:.5rem}:is(.space,.small-space):not(nav,.row,.grid,table,.tooltip,.list,menu){block-size:1rem}.medium-space:not(nav,.row,.grid,table,.tooltip,.list,menu){block-size:2rem}.large-space:not(nav,.row,.grid,table,.tooltip,.list,menu){block-size:3rem}.responsive{inline-size:-webkit-fill-available;inline-size:-moz-available}@media only screen and (max-width: 600px){:is(.m,.l):not(.s){display:none!important}}@media only screen and (min-width: 601px) and (max-width: 992px){:is(.s,.l):not(.m){display:none!important}}@media only screen and (min-width: 993px){:is(.m,.s):not(.l){display:none!important}}html{font-size:var(--size)}body{font-family:var(--font);font-size:.875rem;line-height:1.5rem;letter-spacing:.0313rem}h1,h2,h3,h4,h5,h6{font-weight:400;display:block;align-items:center;line-height:normal}h1{font-size:3.5625rem}h2{font-size:2.8125rem}h3{font-size:2.25rem}h4{font-size:2rem}h5{font-size:1.75rem}h6{font-size:1.5rem}h1.small{font-size:3.0625rem}h2.small{font-size:2.3125rem}h3.small{font-size:1.75rem}h4.small{font-size:1.5rem}h5.small{font-size:1.25rem}h6.small{font-size:1rem}h1.large{font-size:4.0625rem}h2.large{font-size:3.3125rem}h3.large{font-size:2.75rem}h4.large{font-size:2.5rem}h5.large{font-size:2.25rem}h6.large{font-size:2rem}.link{color:var(--primary)!important}.inverse-link{color:var(--inverse-primary)!important}.truncate{overflow:hidden;white-space:nowrap!important;text-overflow:ellipsis;flex:inherit}.truncate>*{white-space:nowrap!important}.small-text{font-size:.75rem}.medium-text{font-size:.875rem}.large-text{font-size:1rem}.upper{text-transform:uppercase}.lower{text-transform:lowercase}.capitalize{text-transform:capitalize}.bold{font-weight:700}.overline{text-decoration:line-through}.underline{text-decoration:underline}.italic{font-style:italic}p{margin:.5rem 0}.no-line{line-height:normal}.tiny-line{line-height:1.25rem}.small-line{line-height:1.5rem}.medium-line{line-height:1.75rem}.large-line{line-height:2rem}.extra-line{line-height:2.25rem}pre{border-radius:0;background-color:var(--surface-container);white-space:pre-wrap;padding:1rem;border-inline-start:.25rem solid var(--primary);font-family:inherit}blockquote{border-radius:0;padding:1rem;border-inline-start:.25rem solid var(--primary);font-family:inherit}code{border-radius:0;background-color:var(--surface-container);white-space:pre-wrap;padding:.25rem}pre>code,blockquote>code{padding:0}.scroll>code{white-space:pre}pre:has(>code){direction:ltr;text-align:start}:is(.wave,.chip,.button,button,nav.tabbed>a,.tabs>a,.toolbar>a):not(.slow-ripple,.ripple,.fast-ripple):after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;z-index:1;border-radius:inherit;inline-size:100%;block-size:100%;background-position:center;background-image:radial-gradient(circle,currentColor 1%,transparent 1%);opacity:0;transition:none}:is(.wave,.chip,.button,button,nav.tabbed>a,.tabs>a,.toolbar>a):not(.slow-ripple,.ripple,.fast-ripple):is(:focus-visible,:hover):after{background-size:15000%;opacity:.1;transition:background-size var(--speed2) linear}:is(.wave,.chip,.button,button,nav.tabbed>a,.tabs>a,.toolbar>a):not(.slow-ripple,.ripple,.fast-ripple):active:after{background-size:5000%;opacity:0;transition:none}.no-wave:after,.no-wave:is(:hover,:active):after{display:none}.badge{--_x: 0;--_y: -100%;display:inline-flex;align-items:center;justify-content:center;position:absolute;font-size:.6875rem;text-transform:none;z-index:2;padding:0 .25rem;min-block-size:1rem;min-inline-size:1rem;background-color:var(--error);color:var(--on-error);line-height:normal;border-radius:1rem;inset:50% auto auto 50%;transform:translate(var(--_x, 50%),var(--_y, -50%));font-family:var(--font)}.badge.top{--_y: -100%}.badge.bottom{--_y: 0}.badge.left{--_x: -100%}.badge.right{--_x: 0}.badge.border{border-color:var(--error);color:var(--error);background-color:var(--surface)}.badge:is(.circle,.square){text-align:center;inline-size:auto;block-size:auto;padding:0 .25rem;border-radius:1rem}.badge.square{border-radius:0}.badge.min>*{display:none}.badge.min{clip-path:circle(18.75% at 50% 50%)}nav:is(.left,.right,.top,.bottom)>a>.badge,nav:is(.left,.right,.top,.bottom)>:is(ol,ul)>li>a>.badge{inset:1rem auto auto 50%}.badge.none{inset:auto!important;transform:none;position:relative;margin:0 .125rem}:is(button,.button,.chip)>.badge.none{margin:0 -.5rem}header,footer{display:flex;justify-content:center;flex-direction:column;background-color:var(--surface-container);border-radius:0;padding:0 1rem}:is(nav.drawer,dialog,article)>:is(header,footer){padding-inline:0;top:0;right:0;bottom:0;left:0}header{min-block-size:4rem}footer{min-block-size:5rem}:is(header,footer,menu>*).fixed{position:sticky;top:0;right:0;bottom:0;left:0;z-index:11;background-color:inherit}header.fixed{inset:calc(-1 * var(--_padding)) 0 0 0;margin-block-start:calc(-1 * var(--_padding))}footer.fixed{inset:0 0 calc(-1 * var(--_padding)) 0;margin-block-end:calc(-1 * var(--_padding))}dialog>:is(header,footer){background:none}dialog>header.fixed{background-color:inherit;padding:var(--top) 0 0 0;margin:calc(-1 * var(--top)) 0 0 0;transform:translateY(calc(-1 * (var(--top) + var(--_padding))))}dialog>footer.fixed{background-color:inherit;padding:0 0 var(--bottom) 0;margin:0 0 calc(-1 * var(--bottom)) 0;transform:translateY(calc(var(--bottom) + var(--_padding)))}:is(main,header,footer,section).responsive{max-inline-size:75rem;margin:0 auto}:is(main,header,footer,section).responsive.max{max-inline-size:100%}:has(>main)>:is(header,footer).fixed{z-index:100;transform:none;box-sizing:content-box;top:0;right:0;bottom:0;left:0}:has(>main)>header.fixed{padding-block-start:calc(var(--top) + var(--_top));margin-block-start:calc(-1 * var(--top) - var(--_top))}:has(>main)>footer.fixed{padding-block-end:calc(var(--bottom) + var(--_bottom));margin-block-end:calc(-1 * var(--bottom) - var(--_bottom))}:is(nav,.row)>header{background-color:inherit}nav:is(.left,.right)>header{transform:translateY(-.5rem)}nav.drawer:is(.left,.right)>header+*{margin-block-start:.5rem}dialog>nav.drawer>header+*{margin-block-start:1rem}.button,button{--_padding: 1rem;--_size: 2.5rem;box-sizing:content-box;display:inline-flex;align-items:center;justify-content:center;block-size:var(--_size);font-size:.875rem;font-weight:500;color:var(--on-primary);padding:0 var(--_padding);background-color:var(--primary);margin:0 .5rem;border-radius:var(--_size);transition:transform var(--speed3),border-radius var(--speed2),padding var(--speed3);-webkit-user-select:none;user-select:none;gap:.5rem;line-height:normal}:is(button,.button).small{--_size: 2rem;--_padding: .75rem}:is(button,.button).large{--_size: 3rem;--_padding: 1.25rem}:is(.button,button):is(.extra,.extend){--_size: 3.5rem;font-size:1rem;--_padding: 1.5rem}:is(button,.button):is(.square,.circle){--_padding: 0}:is(button,.button).border{border-color:var(--outline-variant);color:var(--primary)}.extend>span{display:none}.extend:is(:hover,.active){inline-size:auto;--_padding: 1.5rem;padding:0 var(--_padding)}.extend:is(:hover,.active)>i+span{display:inherit;margin-inline-start:var(--_padding)}.extend:is(:hover,.active)>:is(img,svg)+span{display:inherit;margin-inline-start:calc(1rem + var(--_padding))}:is(.button,button)[disabled]{opacity:.5;cursor:not-allowed}.button[disabled]{pointer-events:none}:is(.button,button)[disabled]:before,:is(.button,button)[disabled]:after{display:none}:is(.button,button):not(.chip,.extend).fill{background-color:var(--secondary-container)!important;color:var(--on-secondary-container)!important}:is(.button,button):not(.chip,.extend).active{background-color:var(--primary-container);color:var(--on-primary-container)}:is(.button,button):not(.chip,.extend).fill.active{background-color:var(--secondary)!important;color:var(--on-secondary)!important}:is(.button,button):not(.chip,.extend).border.active{background-color:var(--inverse-surface)!important;color:var(--inverse-on-surface)!important;border-color:var(--inverse-surface)!important}:is(.button,button):not(.chip):active,:is(.button,button):not(.chip).active{border-radius:.5rem!important}article{--_padding: 1rem;box-shadow:var(--elevate1);background-color:var(--surface-container-low);color:var(--on-surface);padding:var(--_padding);border-radius:.75rem;display:block;transition:transform var(--speed3),border-radius var(--speed3),padding var(--speed3)}article.small{block-size:12rem}article.medium{block-size:20rem}article.large{block-size:32rem}article.border{box-shadow:none;border:.0625rem solid var(--outline-variant)}.chip{--_padding: .75rem;--_size: 2rem;box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;block-size:var(--_size);min-inline-size:var(--_size);font-size:.875rem;font-weight:500;background-color:transparent;border:.0625rem solid var(--outline-variant);color:var(--on-surface-variant);padding:0 var(--_padding);margin:0 .5rem;text-transform:none;border-radius:.5rem;transition:transform var(--speed3),border-radius var(--speed3),padding var(--speed3);-webkit-user-select:none;user-select:none;gap:.5rem;line-height:normal;letter-spacing:normal}.chip.medium{--_size: 2.5rem;--_padding: 1rem}.chip.large{--_padding: 1.25rem;--_size: 3rem}.chip.fill{border:none}dialog{--_padding: 1.5rem;display:block;visibility:hidden;border:none;opacity:0;position:fixed;box-shadow:var(--elevate2);color:var(--on-surface);background-color:var(--surface-container-high);padding:var(--_padding);z-index:100;inset:10% auto auto 50%;min-inline-size:20rem;max-inline-size:100%;max-block-size:80%;overflow-x:hidden;overflow-y:auto;transition:all var(--speed3),0s background-color;border-radius:1.75rem;transform:translate(-50%,-4rem);outline:none}dialog.small{inline-size:25%;block-size:25%}dialog.medium{inline-size:50%;block-size:50%}dialog.large{inline-size:75%;block-size:75%}dialog:is(.active,[open]){visibility:visible;opacity:1;transform:translate(-50%)}dialog:popover-open{visibility:visible;opacity:1;transform:translate(-50%)}dialog:is(.top,.right,.bottom,.left,.max){--_padding: 1rem;padding:calc(var(--top) + var(--_padding)) calc(var(--right) + var(--_padding)) calc(var(--bottom) + var(--_padding)) calc(var(--left) + var(--_padding))}dialog:is(.top,.bottom){opacity:1;block-size:auto;inline-size:100%;min-inline-size:auto;max-block-size:100%}dialog.top{inset:0 auto auto 0;transform:translateY(-100%);border-radius:0 0 1rem 1rem;padding-block-end:var(--_padding)}dialog.bottom{inset:auto auto 0 0;transform:translateY(100%);border-radius:1rem 1rem 0 0}dialog:is(.left,.right){opacity:1;inset:0 auto auto 0;inline-size:auto;block-size:100%;max-block-size:100%;background-color:var(--surface)}[dir=rtl] dialog.right,dialog.left{inset:0 auto auto 0;border-radius:0 1rem 1rem 0;transform:translate(-100%)}[dir=rtl] dialog.left,dialog.right{inset:0 0 auto auto;border-radius:1rem 0 0 1rem;transform:translate(100%)}dialog.max{inset:0 auto auto 0;inline-size:100%;block-size:100%;max-inline-size:100%;max-block-size:100%;transform:translateY(4rem);background-color:var(--surface);border-radius:0}dialog:not(.left,.right,.top,.bottom,.max){--top: 0rem;--bottom: 0rem;--left: 0rem;--right: 0rem}dialog:is(.active,[open]):is(.left,.right,.top,.bottom,.max){transform:translate(0)}dialog:popover-open:is(.left,.right,.top,.bottom,.max){transform:translate(0)}dialog.small:is(.left,.right){inline-size:20rem}dialog.medium:is(.left,.right){inline-size:32rem}dialog.large:is(.left,.right){inline-size:44rem}dialog.small:is(.top,.bottom){block-size:16rem}dialog.medium:is(.top,.bottom){block-size:24rem}dialog.large:is(.top,.bottom){block-size:32rem}hr,[class*=divider]{all:unset;min-inline-size:1.5rem;min-block-size:auto;block-size:.0625rem;background-color:var(--outline-variant);display:block}hr+*,[class*=divider]+*{margin:0!important}hr.medium,.medium-divider{margin:1rem 0!important}hr.large,.large-divider{margin:1.5rem 0!important}hr.small,.small-divider{margin:.5rem 0!important}hr.vertical,.divider.vertical{min-inline-size:auto;min-block-size:1.5rem;inline-size:.0625rem}summary,summary:focus{list-style-type:none;cursor:pointer;outline:none}summary::-webkit-details-marker{display:none}.field{--_size: 3rem;--_start: 1.2rem;block-size:var(--_size);margin-block-end:2rem;border-radius:.25rem .25rem 0 0}.grid>*>.field{margin-block-end:1rem}.grid>*>.field+.field{margin-block-start:2rem}.grid.no-space>*>.field+.field{margin-block-start:1rem}.grid.medium-space>*>.field+.field{margin-block-start:2.5rem}.grid.large-space>*>.field+.field{margin-block-start:3rem}.field.small{--_size: 2.5rem;--_start: 1rem}.field.large{--_size: 3.5rem;--_start: 1.4rem}.field.extra{--_size: 4rem;--_start: 1.6rem}.field.border{border-radius:.25rem}.field.round.small{border-radius:1.25rem}.field.round{border-radius:1.5rem}.field.round.large{border-radius:1.75rem}.field.round.extra{border-radius:2rem}.field>:is(i,img,svg,progress,a:not(.helper,.error)){position:absolute;inset:50% auto auto auto;transform:translateY(-50%);cursor:pointer;z-index:0;inline-size:1.5rem;block-size:1.5rem}.field>:is(i,img,svg,progress,a:not(.helper,.error)),[dir=rtl] .field>:is(i,img,svg,progress,a:not(.helper,.error)):first-child{inset:50% 1rem auto auto}.field>:is(i,img,svg,progress,a:not(.helper,.error)):first-child,[dir=rtl] .field>:is(i,img,svg,progress,a:not(.helper,.error)){inset:50% auto auto 1rem}.field.invalid>i{color:var(--error)}.field>progress.circle{inset-block-start:calc(50% - .75rem)!important;border-width:.1875rem}.field>a:not(.helper,.error){z-index:10}.field>a>:is(i,img,svg,progress,a:not(.helper,.error)){inline-size:1.5rem;block-size:1.5rem}.field>:is(input,textarea,select){all:unset;position:relative;display:flex;align-items:center;box-sizing:border-box;border-radius:inherit;border:.0625rem solid transparent;padding:0 .9375rem;font-family:inherit;font-size:1rem;inline-size:100%;block-size:100%;outline:none;z-index:1;background:none;resize:none;text-align:start;cursor:text}input::-webkit-date-and-time-value{text-align:start}:is(input,select,textarea):is(:-webkit-autofill,:autofill){-webkit-background-clip:text;-webkit-text-fill-color:var(--on-surface)}.field>:is(input,textarea,select):focus{border:.125rem solid transparent;padding:0 .875rem}.field.min>textarea{overflow:hidden;position:absolute;top:0;right:0;bottom:0;left:0;max-block-size:12rem}input[type=file],input[type=color],:not(.field)>input[type^=date],:not(.field)>input[type^=time],input::-webkit-calendar-picker-indicator{opacity:0;position:absolute;top:0;right:0;bottom:0;left:0;inline-size:100%;block-size:100%;margin:0;padding:0;border:0;outline:0;z-index:2!important}input::-webkit-search-decoration,input::-webkit-search-cancel-button,input::-webkit-search-results-button,input::-webkit-search-results-decoration,input::-webkit-inner-spin-button,input::-webkit-outer-spin-button{display:none}input[type=number]{-webkit-appearance:textfield;-moz-appearance:textfield;appearance:textfield}.field.border>:is(input,textarea,select){border-color:var(--outline)}.field.border>:is(input,textarea,select):focus{border-color:var(--primary)}.field.round>:is(input,textarea,select){padding-inline:1.4376rem}.field.round>:is(input,textarea,select):focus{padding-inline:1.375rem}.field.prefix>:is(input,textarea,select){padding-inline-start:2.9375rem}.field.prefix>.slider{margin-inline-start:3.5rem}.field.prefix>:is(input,textarea,select):focus{padding-inline-start:2.875rem}.field.suffix>:is(input,textarea,select){padding-inline-end:2.9375rem}.field.suffix>.slider{margin-inline-end:3.5rem}.field.suffix>:is(input,textarea,select):focus{padding-inline-end:2.875rem}.field:not(.border,.round)>:is(input,textarea,select){border-block-end-color:var(--outline)}.field:not(.border,.round)>:is(input,textarea,select):focus{border-block-end-color:var(--primary)}.field.round:not(.border,.fill)>:is(input,textarea,select),.field.round:not(.border)>:is(input,textarea,select):focus{box-shadow:var(--elevate1)}.field.round:not(.border,.fill)>:is(input,textarea,select):focus{box-shadow:var(--elevate2)}.field.invalid:not(.border,.round)>:is(input,textarea,select),.field.invalid:not(.border,.round)>:is(input,textarea,select):focus{border-block-end-color:var(--error)}.field.invalid.border>:is(input,textarea,select),.field.invalid.border>:is(input,textarea,select):focus{border-color:var(--error)}.field:has(>:disabled){opacity:.5;cursor:not-allowed}.field>:disabled{cursor:not-allowed}.field.textarea.small:not(.min){--_size: 5rem}.field.textarea:not(.min){--_size: 5.5rem}.field.textarea.large:not(.min){--_size: 6rem}.field.textarea.extra:not(.min){--_size: 6.5rem}.field>select{-webkit-user-select:none;user-select:none}.field>select>option{background-color:var(--surface-container);color:var(--on-surface)}.field.label>:is(input,select){padding-block-start:1rem}.field.label.border:not(.fill)>:is(input,select){padding-block-start:0}.field>textarea{padding-block-start:var(--_start);white-space:pre-wrap}.field>textarea:focus{padding-block-start:calc(var(--_start) - .06rem)}.field:not(.label)>textarea,.field.border.label:not(.fill)>textarea{padding-block-start:calc(var(--_start) - .5rem)}.field:not(.label)>textarea:focus,.field.border.label:not(.fill)>textarea:focus{padding-block-start:calc(var(--_start) - .56rem)}.field.label>label{position:absolute;inset:-.5rem auto auto 1rem;display:flex;inline-size:calc(100% - 5rem);block-size:calc(var(--_size) + 1rem);line-height:calc(var(--_size) + 1rem);font-size:1rem;transition:all .2s;gap:.25rem;white-space:nowrap}.field.label.textarea:not(.min)>label{block-size:calc(var(--_size) - 1.5rem);line-height:calc(var(--_size) - 1.5rem)}[dir=rtl] .field.label>label{inset:-.5rem 1rem auto auto}.field.label.border.prefix:not(.fill)>:is(label.active,:focus+label,[placeholder]:not(:placeholder-shown)+label,select+label){inset-inline-start:1rem}.field.label.round>label,.field.label.border.prefix.round:not(.fill)>:is(label.active,:focus+label,[placeholder]:not(:placeholder-shown)+label,select+label){inset-inline-start:1.5rem}.field.label.prefix>label{inset-inline-start:3rem}.field.label>:is(label.active,:focus+label,[placeholder]:not(:placeholder-shown)+label,select+label){block-size:2.5rem;line-height:2.5rem;font-size:.75rem}.field.label.border:not(.fill)>:is(label.active,:focus+label,[placeholder]:not(:placeholder-shown)+label,select+label){block-size:1rem;line-height:1rem}.field.label.border:not(.fill)>label:after{content:"";display:block;margin-block-start:.5rem;border-block-start:.0625rem solid var(--outline);block-size:1rem;transition:none;flex:auto}.field.label.border:not(.fill)>:focus+label:after{border-block-start:.125rem solid var(--primary)}.field.label.border:not(.fill)>:is(input,textarea):is(:focus,[placeholder]:not(:placeholder-shown),.active),.field.label.border:not(.fill)>select{clip-path:polygon(-2% -2%,.75rem -2%,.75rem .5rem,calc(100% - 5rem) .5rem,calc(100% - 5rem) -2%,102% -2%,102% 102%,-2% 102%)}[dir=rtl] .field.label.border:not(.fill)>:is(input,textarea):is(:focus,[placeholder]:not(:placeholder-shown),.active),[dir=rtl] .field.label.border:not(.fill)>select{clip-path:polygon(-2% -2%,5rem -2%,5rem .5rem,calc(100% - .75rem) .5rem,calc(100% - .75rem) -2%,102% -2%,102% 102%,-2% 102%)}.field.label.border.round:not(.fill)>:is(input,textarea):is(:focus,[placeholder]:not(:placeholder-shown),.active),.field.label.border.round:not(.fill)>select{clip-path:polygon(-2% -2%,1.25rem -2%,1.25rem .5rem,calc(100% - 5rem) .5rem,calc(100% - 5rem) -2%,102% -2%,102% 102%,-2% 102%)}[dir=rtl] .field.label.border.round:not(.fill)>:is(input,textarea):is(:focus,[placeholder]:not(:placeholder-shown),.active),[dir=rtl] .field.label.border.round:not(.fill)>select{clip-path:polygon(-2% -2%,5rem -2%,5rem .5rem,calc(100% - 1.25rem) .5rem,calc(100% - 1.25rem) -2%,102% -2%,102% 102%,-2% 102%)}.field.label>:focus+label{color:var(--primary)}.field.label.invalid>label,.field.label.invalid>label:after{color:var(--error)!important;border-color:var(--error)!important}.field.label>label>a{block-size:inherit;line-height:inherit;inline-size:1rem}.field.label>label>a>:is(i,img,svg){block-size:1rem;line-height:1rem;inline-size:1rem;font-size:1rem}.field>:is(.helper,.error){position:absolute;inset:auto auto 0 1rem;transform:translateY(100%);font-size:.75rem;background:none!important;padding-block-start:.125rem}[dir=rtl] .field>:is(.helper,.error){inset:auto 1rem 0 auto}a.helper{color:var(--primary)}.field>.error{color:var(--error)!important}.field.round>:is(.helper,.error){inset-inline-start:1.5rem}.field.invalid>.helper{display:none}table td>.field{margin:0}fieldset{border-radius:.25rem;padding:1rem;border:.0625rem solid var(--outline-variant)}fieldset>legend{margin:0 -.25rem;padding:0 .25rem}fieldset>legend+*{margin-block-start:0!important}.grid{--_gap: 1rem;display:grid;grid-template-columns:repeat(12,calc(8.33% - var(--_gap) + (var(--_gap) / 12)));gap:var(--_gap);block-size:auto}.grid.no-space{--_gap: 0rem}.grid.medium-space{--_gap: 1.5rem}.grid.large-space{--_gap: 2rem}.grid>*{margin:0}.s1{grid-area:auto/span 1}.s2{grid-area:auto/span 2}.s3{grid-area:auto/span 3}.s4{grid-area:auto/span 4}.s5{grid-area:auto/span 5}.s6{grid-area:auto/span 6}.s7{grid-area:auto/span 7}.s8{grid-area:auto/span 8}.s9{grid-area:auto/span 9}.s10{grid-area:auto/span 10}.s11{grid-area:auto/span 11}.s12{grid-area:auto/span 12}@media only screen and (min-width: 601px){.m1{grid-area:auto/span 1}.m2{grid-area:auto/span 2}.m3{grid-area:auto/span 3}.m4{grid-area:auto/span 4}.m5{grid-area:auto/span 5}.m6{grid-area:auto/span 6}.m7{grid-area:auto/span 7}.m8{grid-area:auto/span 8}.m9{grid-area:auto/span 9}.m10{grid-area:auto/span 10}.m11{grid-area:auto/span 11}.m12{grid-area:auto/span 12}}@media only screen and (min-width: 993px){.l1{grid-area:auto/span 1}.l2{grid-area:auto/span 2}.l3{grid-area:auto/span 3}.l4{grid-area:auto/span 4}.l5{grid-area:auto/span 5}.l6{grid-area:auto/span 6}.l7{grid-area:auto/span 7}.l8{grid-area:auto/span 8}.l9{grid-area:auto/span 9}.l10{grid-area:auto/span 10}.l11{grid-area:auto/span 11}.l12{grid-area:auto/span 12}}i,:is(.checkbox,.radio,.switch)>span:before,:is(.checkbox,.radio,.switch)>span>i{--_size: 1.5rem;font-family:var(--font-icon);font-weight:400;font-style:normal;font-size:var(--_size);letter-spacing:normal;text-transform:none;display:inline-flex;align-items:center;justify-content:center;white-space:nowrap;word-wrap:normal;direction:ltr;font-feature-settings:"liga";-webkit-font-smoothing:antialiased;vertical-align:middle;text-align:center;overflow:hidden;inline-size:var(--_size);min-inline-size:var(--_size);block-size:var(--_size);min-block-size:var(--_size);box-sizing:content-box;line-height:normal;border-radius:0}i.tiny{--_size: 1rem}.chip>i,i.small{--_size: 1.25rem}i.medium{--_size: 1.5rem}i.large{--_size: 1.75rem}i.extra{--_size: 2rem}i.fill,a.row:is(:hover,:focus)>i,.transparent:is(:hover,:focus)>i{font-variation-settings:"FILL" 1}i>:is(img,svg){inline-size:100%;block-size:100%;background-size:100%;border-radius:inherit;position:absolute;inset:0 auto auto 0;padding:inherit}i[class*=fa-]{font-size:calc(var(--_size) * .85);line-height:normal;block-size:auto;min-block-size:auto}.absolute{position:absolute}.fixed{position:fixed}:is(.absolute,.fixed).left.right{inline-size:auto}:is(.absolute,.fixed).left.right.small{block-size:20rem}:is(.absolute,.fixed).left.right.medium{block-size:28rem}:is(.absolute,.fixed).left.right.large{block-size:44rem}:is(.absolute,.fixed).top.bottom.small{inline-size:20rem}:is(.absolute,.fixed).top.bottom.medium{inline-size:28rem}:is(.absolute,.fixed).top.bottom.large{inline-size:44rem}.list{display:flex;flex-direction:column;padding:0;margin:0;flex:1}.list>li,.list>li>details>summary,.list>li>a:only-child{all:unset;box-sizing:border-box;position:relative;display:flex;align-items:center;align-self:normal;text-align:start;justify-content:flex-start;white-space:nowrap;gap:1rem;min-block-size:3.5rem;padding:.5rem 1rem;cursor:pointer;flex:1}.list>li:has(ul,ol,details[open],a:only-child){padding:0}.list>li>.list{padding:0 0 0 1rem}.list>li>*,.list>li>a:only-child>*,.list>li>details>summary>*{margin:0}.list>li>:is(details,.max),.list>li>a:only-child>.max,.list>li>details>summary>.max{flex:1}.list.border>li:not(:last-child):before,.list.border>li>details[open]>summary:before{content:"";position:absolute;background-color:var(--outline-variant);inset:auto 0 0 0;block-size:.0625rem;inline-size:auto}.list.no-space>li,.list.no-space>li>details>summary{min-block-size:2.5rem}.list.medium-space>li,.list.medium-space>li>details>summary{min-block-size:4.5rem}.list.large-space>li,.list.large-space>li>details>summary{min-block-size:5.5rem}main{flex:1;padding:.5rem;overflow-x:hidden}:has(>main){--_top: 0rem;--_bottom: 0rem;--_left: 0rem;--_right: 0rem;display:flex;flex-direction:column;min-block-size:calc(100vh - var(--top) - var(--_top) - var(--bottom) - var(--_bottom));box-sizing:border-box;background-color:var(--surface);margin-block:calc(var(--top) + var(--_top)) calc(var(--bottom) + var(--_bottom));margin-inline:calc(var(--left) + var(--_left)) calc(var(--right) + var(--_right))}:has(>nav.top:not(.s,.m,.l)){--_top: 5rem}:has(>nav.bottom:not(.s,.m,.l)){--_bottom: 5rem}:has(>nav.left:not(.s,.m,.l)){--_left: 5rem}:has(>nav.right:not(.s,.m,.l)){--_right: 5rem}:has(>nav.drawer.left:not(.s,.m,.l)){--_left: 20rem}:has(>nav.drawer.right:not(.s,.m,.l)){--_right: 20rem}:not(main):has(>aside){overflow:auto}aside{z-index:1}aside:not(.fixed,.absolute).right{float:right}aside:not(.fixed,.absolute).left{float:left}@media only screen and (max-width: 600px){:has(>nav.bottom.s){--_bottom: 5rem}:has(>nav.top.s){--_top: 5rem}:has(>nav.left.s){--_left: 5rem}:has(>nav.right.s){--_right: 5rem}:has(>nav.drawer.left.s){--_left: 20rem}:has(>nav.drawer.right.s){--_right: 20rem}}@media only screen and (min-width: 601px) and (max-width: 992px){:has(>nav.bottom.m){--_bottom: 5rem}:has(>nav.top.m){--_top: 5rem}:has(>nav.left.m){--_left: 5rem}:has(>nav.right.m){--_right: 5rem}:has(>nav.drawer.left.m){--_left: 20rem}:has(>nav.drawer.right.m){--_right: 20rem}}@media only screen and (min-width: 993px){:has(>nav.bottom.l){--_bottom: 5rem}:has(>nav.top.l){--_top: 5rem}:has(>nav.left.l){--_left: 5rem}:has(>nav.right.l){--_right: 5rem}:has(>nav.drawer.left.l){--_left: 20rem}:has(>nav.drawer.right.l){--_right: 20rem}}svg{fill:currentcolor}:is(img,svg,video):is(.small,.medium,.large,.tiny,.extra,.round,.circle,.square,.responsive){--_size: 3rem;object-fit:cover;object-position:center;transition:transform var(--speed3),border-radius var(--speed3),padding var(--speed3);block-size:var(--_size);inline-size:var(--_size)}:is(img,svg,video).round{--_round: .5rem}:is(img,svg,video).tiny{--_size: 2rem}:is(img,svg,video).small{--_size: 2.5rem}:is(img,svg,video).large{--_size: 3.5rem}:is(img,svg,video).extra{--_size: 4rem}:is(img,svg,video).responsive{--_size: 100%;margin:0 auto}:is(img,svg,video).responsive.tiny{inline-size:100%;block-size:4rem}:is(img,svg,video).responsive.small{inline-size:100%;block-size:8rem}:is(img,svg,video).responsive.medium{inline-size:100%;block-size:12rem}:is(img,svg,video).responsive.large{inline-size:100%;block-size:16rem}:is(img,svg,video).responsive.extra{inline-size:100%;block-size:20rem}:is(img,svg,video).responsive.round{--_round: 2rem}:is(img,svg,video).empty-state{max-inline-size:100%;inline-size:24rem}:is(button,.button,.chip):not(.transparent)>.responsive{border:.25rem solid transparent}:is(button,.button,.chip,.field)>:is(img,svg):not(.responsive),.tabs :is(img,svg):not(.responsive){min-inline-size:1.5rem;max-inline-size:1.5rem;min-block-size:1.5rem;max-block-size:1.5rem}:is(button,.button,.chip)>.responsive:first-child{margin-inline-start:calc(-1 * var(--_padding))}:is(button,.button,.chip)>.responsive:not(:first-child){margin-inline-end:calc(-1 * var(--_padding))}:is(.circle,.square,.extend)>.responsive{--_size: inherit;margin:0!important}.extend>:is(.responsive,i){margin:0;position:absolute;inset-inline:1rem;z-index:1}.extend>.responsive{inset-inline:0;inline-size:3.5rem}.extend.border>.responsive{inline-size:3.375rem}menu{opacity:0;visibility:hidden;position:absolute;box-shadow:var(--elevate2);background-color:var(--surface-container);z-index:11;inset:auto auto 0 0;inline-size:100%;max-block-size:50vh;max-inline-size:none!important;overflow-x:hidden;overflow-y:auto;font-size:.875rem;font-weight:400;text-transform:none;color:var(--on-surface);line-height:normal;text-align:start;border-radius:.25rem;transform:scale(.8) translateY(120%);transition:all var(--speed2),0s background-color;justify-content:flex-start}[dir=rtl] menu{inset:auto 0 0 auto}menu.no-wrap{inline-size:max-content;white-space:nowrap!important}menu.active,:not(menu,[data-ui]):focus-within>menu,menu>li:hover>menu,menu>li>menu:hover{opacity:1;visibility:visible;transform:scale(1) translateY(100%)}menu.active.top,:not(menu,[data-ui]):focus-within>menu.top,menu>li:hover>menu.top,menu>li>menu.top:hover{transform:scale(1) translateY(-100%)}menu *{white-space:inherit!important}menu>li,menu>li>a:only-child{all:unset;box-sizing:border-box;position:relative;display:flex;align-items:center;align-self:normal;text-align:start;justify-content:inherit;white-space:nowrap;gap:1rem;padding:.5rem 1rem;min-block-size:3rem;flex:1;margin:0!important;cursor:pointer}menu>li:is(:hover,:focus,.active){background-color:var(--active)}menu>li>:is(.max,.field),menu>li>a:only-child>.max,menu>li:has(.field,a:only-child){flex:1;padding:0;margin:0}menu.min{inset:0 0 auto 0;transform:none!important;background-color:var(--surface-variant)!important;color:var(--on-surface-variant)!important}[dir=rtl] menu.min.right,menu.min.left,menu.top.left{inset:0 0 auto auto}[dir=rtl] menu.min.left,menu.min.right,menu.top,menu.top.right{inset:0 auto auto 0}menu.max{position:fixed;top:0;right:0;bottom:0;left:0;block-size:100%;max-block-size:none;min-block-size:auto;z-index:100;transform:none!important;background-color:var(--surface-variant)!important;color:var(--on-surface-variant)!important;border-radius:0}menu.no-wrap:is(.min,.max){min-inline-size:16rem}[dir=rtl] menu.right,[dir=rtl] menu.top.min.right,menu.left,menu.top.min.left{inset:auto 0 0 auto}[dir=rtl] menu.left,[dir=rtl] menu.top.min.left,menu.right,menu.top.min{inset:auto auto 0 0}menu.top{transform:scale(.8) translateY(-120%)}menu:has(menu){--_child: 1;--_type: 0;overflow:unset;white-space:nowrap;inline-size:auto;min-inline-size:12rem;max-block-size:none}menu>li>:is(menu,menu.right),[dir=rtl] menu>li>menu.left{inset:auto auto calc(3rem * (var(--_child) - var(--_type))) 100%}[dir=rtl] menu>li>:is(menu,menu.right),menu>li>menu.left{inset:auto 100% calc(3rem * (var(--_child) - var(--_type))) auto}menu>li>:is(menu.top,menu.top.right),[dir=rtl] menu>li>menu.top.left{inset:calc(3rem * (var(--_child) - var(--_type))) auto auto 100%}[dir=rtl] menu>li>:is(menu.top,menu.top.right),menu>li>menu.top.left{inset:calc(3rem * (var(--_child) - var(--_type))) 100% auto auto}menu.no-space>li{min-block-size:2.5rem}menu.medium-space>li{min-block-size:3.5rem}menu.large-space>li{min-block-size:4rem}menu.border>li:not(:last-child):before{content:"";position:absolute;background-color:var(--outline-variant);inset:auto 0 0 0;block-size:.0625rem;inline-size:auto}menu.transparent{margin:0 -1rem!important;padding:.5rem}menu.transparent>li{background-color:inherit;box-shadow:none;padding:0}menu>li:nth-last-child(2){--_child: 2}menu>li:nth-last-child(3){--_child: 3}menu>li:nth-last-child(4){--_child: 4}menu>li:nth-last-child(5){--_child: 5}menu>li:nth-last-child(6){--_child: 6}menu>li:nth-last-child(7){--_child: 7}menu>li:nth-last-child(8){--_child: 8}menu>li:nth-last-child(9){--_child: 9}menu>li:nth-last-child(10){--_child: 10}menu>li:nth-last-child(11){--_child: 11}menu>li:nth-last-of-type(2){--_type: 1}menu>li:nth-last-of-type(3){--_type: 2}menu>li:nth-last-of-type(4){--_type: 3}menu>li:nth-last-of-type(5){--_type: 4}menu>li:nth-last-of-type(6){--_type: 5}menu>li:nth-last-of-type(7){--_type: 6}menu>li:nth-last-of-type(8){--_type: 7}menu>li:nth-last-of-type(9){--_type: 8}menu>li:nth-last-of-type(10){--_type: 9}menu>li:nth-last-of-type(11){--_type: 10}nav>:is(ol,ul),nav>:is(ol,ul)>li{all:unset}nav,.row,a.row,nav.drawer>:is(a,label),nav.drawer>:is(ol,ul)>li>:is(a,label){display:flex;align-items:center;align-self:normal;text-align:start;justify-content:flex-start;white-space:nowrap;gap:1rem;border-radius:0}a.row,nav.row{min-block-size:3rem;margin:0}:is(nav,.row,.max)>:only-child,nav>:is(ol,ul)>li>:only-child{margin:0}:is(nav,.row)>:not(ul,ol){margin:0;white-space:normal;flex:none}:is(nav,.row).min{display:inline-flex}:is(nav,.row,li).no-space{gap:0}:is(nav,.row,li).tiny-space{gap:.5rem}:is(nav,.row,li).medium-space{gap:1.5rem}:is(nav,.row,li).large-space{gap:2rem}:is(nav,.row)>.max,:is(nav,.row)>:is(ol,ul)>.max,nav.drawer>:is(a,label)>.max,nav.drawer>:is(ol,ul)>li>:is(a,label)>.max{flex:1}:is(nav,.row).wrap{display:flex;flex-wrap:wrap}:is(header,footer)>:is(nav,.row){min-block-size:inherit}nav:is(.left,.right,.top,.bottom){border:0;position:fixed;color:var(--on-surface);transform:none;z-index:100;block-size:auto;inline-size:auto;text-align:center;padding:calc(var(--top) + .5rem) calc(var(--right) + 1rem) calc(var(--bottom) + .5rem) calc(var(--left) + 1rem);margin:0}nav:is(.left,.right){justify-content:flex-start;flex-direction:column;background-color:var(--surface)}nav:is(.top,.bottom){justify-content:center;flex-direction:row;background-color:var(--surface-container)}nav.top{block-size:calc(var(--top) + 5rem);inset:0 0 auto 0;padding-block-end:.5rem}nav.left,[dir=rtl] nav.right{inline-size:calc(var(--left) + 5rem);inset:0 auto 0 0;padding-inline-end:1rem}[dir=rtl] nav.right{padding-inline-end:calc(var(--left) + 1rem)}nav.right,[dir=rtl] nav.left{inline-size:calc(var(--right) + 5rem);inset:0 0 0 auto;padding-inline-start:1rem}[dir=rtl] nav.left{padding-inline-start:calc(var(--right) + 1rem)}nav.bottom{min-block-size:calc(var(--bottom) + 5rem);inset:auto 0 0 0;padding-block-start:.5rem}nav.drawer,[dir=rtl] nav.drawer{flex-direction:column;align-items:normal;inline-size:20rem;gap:0}nav.drawer:not(.left,.right,.top,.bottom){padding:.5rem 1rem}dialog>nav.drawer:not(.left,.right,.top,.bottom){padding:0 1rem;background-color:inherit}nav.drawer:is(.min,.max){inline-size:auto}nav.drawer.max{inline-size:100%}nav.drawer>:is(a,label),nav.drawer>:is(ol,ul)>li>:is(a,label),:is(a.row,nav.row):is(.wave,.slow-ripple,.ripple,.fast-ripple){padding:.75rem;font-size:inherit}nav.drawer>a,nav.drawer>:is(ol,ul)>li>a{border-radius:2rem}nav.drawer>a:is(:hover,.active),nav.drawer>:is(ol,ul)>li>a:is(:hover,.active){background-color:var(--secondary-container)}nav.drawer>a:is(:hover,:focus,.active)>i,nav.drawer>:is(ol,ul)>li>a:is(:hover,:focus,.active)>i{font-variation-settings:"FILL" 1}nav>:is(ol,ul){all:inherit;flex:auto}nav:not(.left,.right,.bottom,.top)>:is(ol,ul){padding:0}nav:is(.left,.right,.top,.bottom):not(.drawer)>a:not(.button,.chip),nav:is(.left,.right,.top,.bottom):not(.drawer)>:is(ol,ul)>li>a:not(.button,.chip){align-self:center;display:flex;flex-direction:column;gap:.25rem;line-height:normal}nav:is(.top,.bottom):not(.drawer)>a:not(.button,.chip),nav:is(.top,.bottom):not(.drawer)>:is(ol,ul)>li>a:not(.button,.chip){inline-size:3.5rem}nav:is(.left,.right,.top,.bottom):not(.drawer)>a:not(.button,.chip)>i,nav:is(.left,.right,.top,.bottom):not(.drawer)>:is(ol,ul)>li>a:not(.button,.chip)>i{padding:.25rem;border-radius:2rem;transition:padding var(--speed1) linear;margin:0 auto}nav:is(.left,.right,.top,.bottom):not(.drawer)>a:not(.button,.chip):is(:hover,:focus,.active)>i,nav:is(.left,.right,.top,.bottom):not(.drawer)>:is(ol,ul)>li>a:not(.button,.chip):is(:hover,:focus,.active)>i{background-color:var(--secondary-container);color:var(--on-secondary-container);padding:.25rem 1rem;font-variation-settings:"FILL" 1}:is(nav,.row):is(.left-align,.top-align,.vertical){justify-content:flex-start}:is(nav,.row):is(.right-align,.bottom-align){justify-content:flex-end}:is(nav,.row):is(.center-align,.middle-align){justify-content:center}:is(nav,.row):is(.left-align,.top-align,.vertical).vertical{align-items:flex-start}:is(nav,.row):is(.right-align,.bottom-align).vertical{align-items:flex-end}:is(nav,.row):is(.center-align,.middle-align).vertical{align-items:center}:is(.drawer,.vertical)>:is(li,[class*=divider],hr):not(.vertical),:is(.drawer,.vertical)>:is(ol,ul)>li:not(.vertical){align-self:stretch}nav:not(.left,.right)>.space{inline-size:.5rem}nav:not(.left,.right)>.medium-space{inline-size:1rem}nav:not(.left,.right)>.large-space{inline-size:1.5rem}nav.tabbed{background-color:var(--surface-container);border-radius:4rem!important;gap:0rem;block-size:4rem}nav.tabbed.small{block-size:3rem}nav.tabbed.large{block-size:5rem}nav.tabbed>a{border-radius:inherit;block-size:inherit;display:inline-flex;align-items:center;padding-inline:1rem;gap:.5rem;font-size:1rem;flex:1}nav.tabbed>a.active{background-color:var(--primary-container)}nav.toolbar{display:inline-flex;justify-content:space-around;border-radius:2rem;background-color:var(--surface-container);color:var(--on-surface);padding:0 1rem;gap:.5rem;min-block-size:4rem;min-inline-size:4rem}nav.toolbar>a{display:inline-flex;gap:.5rem;min-inline-size:2.5rem;min-block-size:2.5rem;border-radius:1.75rem}nav.toolbar>a:has(>:not(i)){padding:0 1rem}nav.toolbar>a.active{background-color:var(--secondary-container);color:var(--on-secondary-container)}nav.toolbar.fill{background-color:var(--primary-container)!important;color:var(--on-primary-container)!important}nav.toolbar.fill>a.active{background-color:var(--surface-container)!important;color:var(--on-surface)!important}nav.toolbar.vertical{flex-direction:column!important;min-inline-size:4rem;padding:1rem 0;align-self:center;align-items:center!important}nav.toolbar.vertical>a{inline-size:2.5rem;block-size:2.5rem}nav.toolbar.vertical>a>:is(div,span):not(.badge,.tooltip){display:none}nav.toolbar.max{border-radius:0;display:flex}nav.group{gap:.125rem}nav.group>:is(.button,button):not(.chip,.fill,.border).active{background-color:var(--primary);color:var(--on-primary)}nav.group>:is(.button,button):not(.chip,.fill,.border){background-color:var(--surface-container);color:var(--on-surface-container)}nav.group>:is(.button,button):not(.chip).active{border-radius:2rem!important}:not(nav)>:is(ul,ol){all:revert}:is(.scroll,.no-scroll,.no-space,.tabs,.tabbed)>:focus-visible{outline:.125rem solid var(--primary);outline-offset:-.125rem}@media only screen and (max-width: 600px){nav.top,nav.bottom{justify-content:space-around}}.overlay,dialog::backdrop{display:block!important;opacity:0;visibility:hidden;position:fixed;top:0;right:0;bottom:0;left:0;color:var(--on-surface);background-color:var(--overlay);z-index:100;transition:all var(--speed3),0s background-color}.overlay.active{opacity:1;visibility:visible}dialog:popover-open::backdrop{opacity:1;visibility:visible}.overlay+dialog::backdrop,.snackbar::backdrop{display:none}[popover]{border:0}.page{--_transform: translate(0, 0);opacity:0;position:absolute;display:none}.page.active{opacity:1;position:inherit;display:inherit;animation:var(--speed4) to-page ease}.page.active.top{--_transform: translate(0, -4rem)}.page.active.bottom{--_transform: translate(0, 4rem)}.page.active.left{--_transform: translate(-4rem, 0)}.page.active.right{--_transform: translate(4rem, 0)}@keyframes to-page{0%{opacity:0;transform:var(--_transform)}to{opacity:1;transform:translate(0)}}progress{position:relative;inline-size:100%;block-size:.5rem;color:var(--primary);background:var(--primary-container);border-radius:1rem;flex:none;border:none;overflow:hidden;writing-mode:horizontal-tb;direction:ltr;-webkit-appearance:none}progress.small{inline-size:4rem}progress.medium{inline-size:8rem}progress.large{inline-size:12rem}progress:not(.circle,[value]):after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;inline-size:100%;block-size:100%;clip-path:none;background:currentcolor;animation:1.6s to-linear ease infinite}progress:not(.circle,[value])::-moz-progress-bar{animation:1.6s to-linear ease infinite}progress:not(.circle,[value])::-webkit-progress-value{animation:1.6s to-linear ease infinite}progress::-webkit-progress-bar{background:none}progress::-webkit-progress-value{background:currentcolor}progress::-moz-progress-bar{background:currentcolor}progress.circle{display:inline-block;inline-size:2.5rem;block-size:2.5rem;border-radius:50%;border-width:.3rem;border-style:solid;border-color:currentcolor;animation:1.6s to-circular linear infinite;background:none;flex:none}progress.circle::-moz-progress-bar{background:none}progress.circle.small{inline-size:1.5rem;block-size:1.5rem;border-width:.2rem}progress.circle.large{inline-size:3.5rem;block-size:3.5rem;border-width:.4rem}:is(nav,.row,.field)>progress:not(.circle,.small,.medium,.large){flex:auto}progress.max{display:unset;position:absolute;inline-size:100%!important;block-size:100%!important;color:var(--active);background:none;top:0;right:0;bottom:0;left:0;border-radius:inherit;animation:none;writing-mode:horizontal-tb}progress:is(.horizontal,.vertical,.max){display:unset;inline-size:100%!important}progress.vertical{writing-mode:vertical-lr}progress.max.vertical{transform:rotate(-180deg)}progress.max+*{margin-block-start:0}:is(.button,button,.chip)>progress.circle{color:inherit}@supports (-moz-appearance:none){progress.max.vertical{transform:none}}@keyframes to-linear{0%{margin-inline-start:0%;inline-size:0%}50%{margin-inline-start:0%;inline-size:100%}to{margin-inline-start:100%;inline-size:0%}}@keyframes to-circular{0%{transform:rotate(0);clip-path:polygon(50% 50%,0% 0%,50% 0%,50% 0%,50% 0%,50% 0%,50% 0%,50% 0%,50% 0%)}20%{clip-path:polygon(50% 50%,0% 0%,50% 0%,100% 0%,100% 0%,100% 0%,100% 0%,100% 0%,100% 0%)}30%{clip-path:polygon(50% 50%,0% 0%,50% 0%,100% 0%,100% 50%,100% 50%,100% 50%,100% 50%,100% 50%)}40%{clip-path:polygon(50% 50%,0% 0%,50% 0%,100% 0%,100% 50%,100% 100%,100% 100%,100% 100%,100% 100%)}50%{clip-path:polygon(50% 50%,50% 0%,50% 0%,100% 0%,100% 50%,100% 100%,50% 100%,50% 100%,50% 100%)}60%{clip-path:polygon(50% 50%,100% 50%,100% 50%,100% 50%,100% 50%,100% 100%,50% 100%,0% 100%,0% 100%)}70%{clip-path:polygon(50% 50%,50% 100%,50% 100%,50% 100%,50% 100%,50% 100%,50% 100%,0% 100%,0% 50%)}80%{clip-path:polygon(50% 50%,0% 100%,0% 100%,0% 100%,0% 100%,0% 100%,0% 100%,0% 100%,0% 50%)}90%{transform:rotate(360deg);clip-path:polygon(50% 50%,0% 50%,0% 50%,0% 50%,0% 50%,0% 50%,0% 50%,0% 50%,0% 50%)}to{clip-path:polygon(50% 50%,0% 50%,0% 50%,0% 50%,0% 50%,0% 50%,0% 50%,0% 50%,0% 50%)}}.checkbox,.radio,.switch{--_size: 1.5rem;direction:ltr;inline-size:auto;block-size:auto;line-height:normal;white-space:nowrap;cursor:pointer;display:inline-flex;align-items:center}:is(.checkbox,.radio,.switch).small{--_size: 1rem}:is(.checkbox,.radio,.switch).large{--_size: 2rem}:is(.checkbox,.radio,.switch).extra{--_size: 2.5rem}:is(.checkbox,.radio)>input{inline-size:var(--_size);block-size:var(--_size);opacity:0}.switch>input{inline-size:3.25rem;block-size:2rem;opacity:0}:is(.checkbox,.radio,.switch)>span{display:inline-flex;align-items:center;color:var(--on-surface);font-size:.875rem}:is(.checkbox,.radio)>span:not(:empty){padding-inline-start:.25rem}:is(.checkbox,.radio,.switch)>span:before,:is(.checkbox,.radio,.switch)>span>i,:is(.checkbox,.radio)>span:after{--_size: inherit;content:"";inline-size:var(--_size);block-size:var(--_size);box-sizing:border-box;margin:0 auto;outline:none;color:var(--primary);position:absolute;inset:auto auto auto calc(var(--_size) * -1);border-radius:50%;-webkit-user-select:none;user-select:none;z-index:1}.switch>span:before,.switch.icon>span>i{position:absolute;inset:50% auto auto 0;display:inline-flex;align-items:center;justify-content:center;border-radius:50%;transition:all var(--speed2);font-size:calc(var(--_size) - .5rem);-webkit-user-select:none;user-select:none;min-inline-size:var(--_size);min-block-size:var(--_size);content:"";color:var(--surface-variant);background-color:var(--outline)}.switch>span:before,.switch.icon>span>i{transform:translate(-3rem,-50%) scale(.6)}.switch.icon>span>i{transform:translate(-3rem,-50%) scale(1)}.checkbox>span:before{content:"check_box_outline_blank"}.checkbox>input:checked+span:before{content:"check_box";font-variation-settings:"FILL" 1}.checkbox>input:indeterminate+span:before{content:"indeterminate_check_box"}.radio>span:before{content:"radio_button_unchecked"}.radio>input:checked+span:before{content:"radio_button_checked"}:is(.radio,.checkbox,.switch).icon>span:before{content:""!important;font-variation-settings:unset!important}:is(.checkbox,.radio)>span:after{transition:all var(--speed1);background-color:currentColor;box-shadow:0 0 0 0 currentColor;opacity:0}:is(.checkbox,.radio):is(:hover)>input:not(:disabled)+span:after,:is(.checkbox,.radio)>input:not(:disabled):is(:focus)+span:after{box-shadow:0 0 0 .5rem currentColor;opacity:.1}.switch>input:not(:disabled):is(:focus,:hover)+span:before,.switch.icon>input:not(:disabled):is(:focus,:hover)+span>i{box-shadow:0 0 0 .5rem var(--active)}:is(.checkbox,.radio)>input:checked+span:before,:is(.checkbox,.radio).icon>input:checked+span>i{color:var(--primary)}.icon>input:checked+span>i:first-child,.icon>span>i:last-child{opacity:0}.icon>input:checked+span>i:last-child,.icon>span>i:first-child{opacity:1}.switch>input:checked+span:after{border:none;background-color:var(--primary)}.switch>input:checked+span:before,.switch.icon>input:checked+span>i{content:"check";color:var(--primary);background-color:var(--on-primary);transform:translate(-1.75rem,-50%) scale(1)}.switch>input:active:not(:disabled)+span:before,.switch.icon>input:active:not(:disabled)+span>i{transform:translate(-3rem,-50%) scale(1.2)}.switch>input:active:checked:not(:disabled)+span:before,.switch.icon>input:active:checked:not(:disabled)+span>i{transform:translate(-1.75rem,-50%) scale(1.2)}:is(.checkbox,.radio,.switch)>input:disabled+span{opacity:.5;cursor:not-allowed}.switch>span:after{content:"";position:absolute;inset:50% auto auto 0;background-color:var(--active);border:.125rem solid var(--outline);box-sizing:border-box;inline-size:3.25rem;block-size:2rem;border-radius:2rem;transform:translate(-3.25rem,-50%)}.field>:is(nav,.row){flex-grow:1;padding:0 1rem}.field.round>:is(nav,.row){flex-grow:1;padding:0 1.5rem}[dir=rtl] .switch{transform:scale(-1)}[dir=rtl] .switch>span:before,[dir=rtl] .switch.icon>span>i{transform:translate(-3rem,-50%) scale(-.6)}[dir=rtl] .switch.icon>span>i{transform:translate(-3rem,-50%) scale(-1)}[dir=rtl] .switch>input:checked+span:before,[dir=rtl] .switch.icon>input:checked+span>i{transform:translate(-1.75rem,-50%) scale(-1)}.switch>:focus-visible+span:after{outline:.125rem solid var(--primary);outline-offset:.25rem}:is(.checkbox,.radio)>:focus-visible+span:before{outline:.125rem solid var(--primary);outline-offset:.375rem}.slider{--_start: 0%;--_end: 0%;--_value1: "";--_value2: "";display:flex;align-items:center!important;inline-size:auto;block-size:1.25rem;margin:1.125rem;flex:none;direction:ltr}[dir=rtl] .slider{transform:scaleX(-1)}.slider.vertical{flex-direction:row!important;margin:.5rem auto!important;padding:50% 0;transform:rotate(-90deg);inline-size:100%}.slider.small{inline-size:4rem}.slider.medium{inline-size:8rem}.slider.large{inline-size:12rem}.slider>input{-webkit-appearance:none;-moz-appearance:none;appearance:none;box-shadow:none;border:none;outline:none;pointer-events:none;inline-size:100%;block-size:1rem;background:none;z-index:1;padding:0;margin:0;transform:rotate(0)}.slider>input:only-of-type{pointer-events:all}.slider>input+input{position:absolute}.slider>input::-webkit-slider-thumb{-webkit-appearance:none;-moz-appearance:none;appearance:none;box-shadow:none;border:none;outline:none;pointer-events:all;block-size:2.75rem;inline-size:.25rem;border-radius:.25rem;background:var(--primary);cursor:grab;margin:0}.slider>input::-webkit-slider-thumb:active{cursor:grabbing}.slider>input::-moz-range-thumb{-webkit-appearance:none;-moz-appearance:none;appearance:none;box-shadow:none;border:none;outline:none;pointer-events:all;block-size:2.75rem;inline-size:.25rem;border-radius:.25rem;background:var(--primary);cursor:grab;margin:0}.slider>input::-moz-range-thumb:active{cursor:grabbing}.slider>input:not(:disabled):is(:focus)::-webkit-slider-thumb{transform:scaleX(.6)}.slider>input:not(:disabled):is(:focus)::-moz-range-thumb{transform:scaleX(.6)}.slider>input:disabled{cursor:not-allowed;opacity:1}.slider>input:disabled::-webkit-slider-thumb{background:#9e9e9e;cursor:not-allowed}.slider>input:disabled::-moz-range-thumb{background:#9e9e9e;cursor:not-allowed}.slider>input:disabled~span{background:#9e9e9e}.slider>span{position:absolute;block-size:1rem;border-radius:1rem 0 0 1rem;background:var(--primary);z-index:0;inset:calc(50% - .5rem) var(--_end) auto var(--_start);clip-path:polygon(0 0,calc(100% - .5rem) 0,calc(100% - .5rem) 100%,0 100%)}.slider>input[type=range]+input[type=range]~span{border-radius:0;clip-path:polygon(.5rem 0,max(.5rem,calc(100% - .5rem)) 0,max(.5rem,calc(100% - .5rem)) 100%,.5rem 100%)}.field>.slider{inline-size:100%}.slider:before{content:"";position:absolute;inline-size:100%;block-size:1rem;border-radius:1rem;background:var(--primary-container);clip-path:polygon(calc(var(--_start) - .5rem) 0,0 0,0 100%,calc(var(--_start) - .5rem) 100%,calc(var(--_start) - .5rem) 0,calc(100% - var(--_end) + .5rem) 0,100% 0,100% 100%,calc(100% - var(--_end) + .5rem) 100%,calc(100% - var(--_end) + .5rem) 0)}.slider:has(>[disabled]):before{background:var(--active)}.slider>.tooltip{visibility:hidden!important;opacity:0!important;inset:0 auto auto calc(100% - var(--_end));border-radius:2rem;transition:top var(--speed2) ease,opacity var(--speed2) ease;transform:translate(-50%,-50%)!important;padding:.75rem 1rem}[dir=rtl] .slider>.tooltip{transform:translate(-50%,-50%) scaleX(-1)!important}.slider>.tooltip+.tooltip{inset:.25rem calc(100% - var(--_start)) auto auto;transform:translate(50%,-50%)!important}[dir=rtl] .slider>.tooltip+.tooltip{transform:translate(50%,-50%) scaleX(-1)!important}.slider>.tooltip:before{content:var(--_value1)}.slider>.tooltip+.tooltip:before{content:var(--_value2)}.slider>:focus~.tooltip{inset-block-start:-1rem!important;opacity:1!important;visibility:visible!important}.slider.vertical>.tooltip{display:none}:is(nav,.row,.field)>.slider:not(.circle,.small,.medium,.large){flex:auto}.slider.max,.slider.max.vertical,.slider.max>input,.slider.max.vertical>input{all:unset;margin:0!important;position:absolute;color:var(--primary);top:0;right:0;bottom:0;left:0;border-radius:inherit;overflow:hidden;z-index:2;cursor:grab;inline-size:100%;block-size:100%}.slider.max:before{display:none}.slider.max.vertical>input{writing-mode:vertical-lr;transform:rotate(-180deg)}.slider.max>input::-webkit-slider-thumb{opacity:0;inline-size:1rem;block-size:100vh;transform:none!important}.slider.max>input::-moz-range-thumb{opacity:0;inline-size:1rem;block-size:100vh;transform:none!important}.slider.max>span{block-size:auto!important;inset:0 var(--_end) 0 var(--_start);clip-path:none;background:currentcolor;border-radius:0}.slider.max.vertical>span{inset:var(--_end) 0 var(--_start) 0}.slider>input:focus-visible::-webkit-slider-thumb{outline:.1875rem solid var(--primary);outline-offset:.25rem}.slider>input:focus-visible::-moz-range-thumb{outline:.1875rem solid var(--primary);outline-offset:.25rem}.slider.max>input:focus-visible{outline:.1875rem solid var(--primary);outline-offset:-.125rem}@media (pointer: coarse){.slider>:hover~.tooltip{inset-block-start:-1rem!important;opacity:1!important;visibility:visible!important}}.snackbar{position:fixed;inset:auto auto 6rem 50%;inline-size:80%;block-size:auto;z-index:200;visibility:hidden;display:flex;box-shadow:var(--elevate2);color:var(--inverse-on-surface);background-color:var(--inverse-surface);padding:1rem;cursor:pointer;text-align:start;align-items:center;border-radius:.25rem;gap:.5rem;transition:all var(--speed2);transform:translate(-50%,1rem);opacity:0}.snackbar.top{inset:6rem auto auto 50%}.snackbar:is(.active){visibility:visible;transform:translate(-50%);opacity:1}.snackbar:popover-open{visibility:visible;transform:translate(-50%);opacity:1}.snackbar>.max{flex:auto}@media only screen and (min-width: 993px){.snackbar{inline-size:40%}}table{inline-size:100%;border-spacing:0;font-size:.875rem;text-align:start}.scroll>table,table :is(thead,tbody,tfoot,tr,th,td){background-color:inherit;color:inherit}:is(th,td){inline-size:auto;text-align:inherit;padding:.5rem;border-radius:0}:is(th,td)>*{vertical-align:middle}table.border>tbody>tr:not(:last-child)>td,thead>tr>th{border-block-end:.0625rem solid var(--outline)}tfoot>tr>th{border-block-start:.0625rem solid var(--outline)}table.stripes>tbody>tr:nth-child(odd){background-color:var(--active)}table.no-space :is(th,td){padding:0}table.medium-space :is(th,td){padding:.75rem}table.large-space :is(th,td){padding:1rem}table>.fixed,th.fixed{position:sticky;z-index:1;inset-block-start:0}tfoot.fixed,tfoot th.fixed{inset-block-end:0}:is(td,th).min{inline-size:.1%;white-space:nowrap}.tabs{display:flex;white-space:nowrap;border-block-end:.0625rem solid var(--surface-variant);border-radius:0}.tabs:not(.left-align,.right-align,.center-align){justify-content:space-around}.tabs>a{display:flex;font-size:.875rem;font-weight:500;color:var(--on-surface-variant);padding:.5rem 1rem;text-align:center;min-block-size:3rem;inline-size:100%;gap:.25rem}.tabs.small>a{min-block-size:2rem}.tabs.large>a{min-block-size:4rem}.tabs>a.active,.tabs>a.active>i{color:var(--primary)}.tabs>a.active:before{content:"";position:absolute;inset:auto 0 0 0;block-size:.125rem;background-color:var(--primary)}.tabs.min>a.active:before{margin:0 auto;max-inline-size:min(100%,4rem)}.tabs:is(.left-align,.center-align,.right-align)>a{inline-size:auto}.tooltip{--_space: -.5rem;visibility:hidden;display:flex;align-items:center;justify-content:center;gap:.5rem;background-color:var(--inverse-surface);color:var(--inverse-on-surface);font-size:.75rem;text-align:center;border-radius:.25rem;padding:.5rem;position:absolute;z-index:200;inset:0 auto auto 50%;inline-size:auto;white-space:nowrap;font-weight:500;opacity:0;transition:all var(--speed2);line-height:normal;transform:translate(-50%,-100%) scale(.9)}.tooltip.left{inset:50% auto auto 0;transform:translate(-100%,-50%) scale(.9)}.tooltip.right{inset:50% 0 auto auto;transform:translate(100%,-50%) scale(.9)}.tooltip.bottom{inset:auto auto 0 50%;transform:translate(-50%,100%) scale(.9)}.tooltip.small{inline-size:8rem;white-space:normal}.tooltip.medium{inline-size:12rem;white-space:normal}.tooltip.large{inline-size:16rem;white-space:normal}:hover>.tooltip{visibility:visible;opacity:1;transform:translate(-50%,-100%) scale(1)}:hover>.tooltip.left{transform:translate(-100%,-50%) scale(1)}:hover>.tooltip.right{transform:translate(100%,-50%) scale(1)}:hover>.tooltip.bottom{transform:translate(-50%,100%) scale(1)}.tooltip.no-space{--_space: 0}.tooltip.medium-space{--_space: -1rem}.tooltip.large-space{--_space: -1.5rem}.tooltip:not(.left,.right,.bottom){margin-block-start:var(--_space)!important}.tooltip.left,.tooltip.right{margin-inline:var(--_space)!important}.tooltip.bottom{margin-block-end:var(--_space)!important}menu:active~.tooltip,:is(button,.button):focus>menu~.tooltip,.field>:focus~menu~.tooltip{visibility:hidden}.slider>.tooltip{--_space: -1.25rem}.slider.vertical>.tooltip{--_space: -.75rem}.slider.vertical>.tooltip:is(.left,.right){--_space: -.5rem}.tooltip.max{display:block;font-size:inherit;white-space:normal;text-align:start;inline-size:20rem;border-radius:.5rem;padding:1rem;box-shadow:var(--elevate2)}:root{--eox-theme-light-background: 237, 237, 242;--eox-theme-light-code: 245, 245, 245;--eox-theme-light-error-container: 255, 218, 214;--eox-theme-light-error: 186, 26, 26;--eox-theme-light-inverse-on-surface: 240, 240, 245;--eox-theme-light-inverse-primary: 158, 202, 255;--eox-theme-light-inverse-surface: 46, 48, 52;--eox-theme-light-kbd: 33, 37, 41;--eox-theme-light-neutral-palette-key-color: 117, 119, 123;--eox-theme-light-neutral-variant-palette-key-color: 114, 119, 128;--eox-theme-light-on-background: 0, 0, 0;--eox-theme-light-on-code: 0, 0, 0;--eox-theme-light-on-error-container: 65, 0, 2;--eox-theme-light-on-error: 255, 255, 255;--eox-theme-light-on-inverse-on-surface: 0, 0, 0;--eox-theme-light-on-inverse-primary: 0, 0, 0;--eox-theme-light-on-inverse-surface: 255, 255, 255;--eox-theme-light-on-kbd: 255, 255, 255;--eox-theme-light-on-neutral-palette-key-color: 255, 255, 255;--eox-theme-light-on-neutral-variant-palette-key-color: 255, 255, 255;--eox-theme-light-on-outline-variant: 0, 0, 0;--eox-theme-light-on-outline: 255, 255, 255;--eox-theme-light-on-primary-container: 0, 29, 54;--eox-theme-light-on-primary-fixed-dim: 0, 0, 0;--eox-theme-light-on-primary-fixed-variant: 16, 73, 120;--eox-theme-light-on-primary-fixed: 0, 29, 54;--eox-theme-light-on-primary-palette-key-color: 255, 255, 255;--eox-theme-light-on-primary: 255, 255, 255;--eox-theme-light-on-scrim: 255, 255, 255;--eox-theme-light-on-secondary-container: 0, 31, 40;--eox-theme-light-on-secondary-fixed-dim: 0, 0, 0;--eox-theme-light-on-secondary-fixed-variant: 15, 77, 95;--eox-theme-light-on-secondary-fixed: 0, 31, 40;--eox-theme-light-on-secondary-palette-key-color: 255, 255, 255;--eox-theme-light-on-secondary: 255, 255, 255;--eox-theme-light-on-shadow: 255, 255, 255;--eox-theme-light-on-surface-bright: 0, 0, 0;--eox-theme-light-on-surface-container-high: 0, 0, 0;--eox-theme-light-on-surface-container-highest: 0, 0, 0;--eox-theme-light-on-surface-container-low: 0, 0, 0;--eox-theme-light-on-surface-container-lowest: 0, 0, 0;--eox-theme-light-on-surface-container: 0, 0, 0;--eox-theme-light-on-surface-dim: 0, 0, 0;--eox-theme-light-on-surface-light: 0, 0, 0;--eox-theme-light-on-surface-tint: 255, 255, 255;--eox-theme-light-on-surface: 26, 28, 31;--eox-theme-light-on-tertiary-container: 17, 19, 79;--eox-theme-light-on-tertiary-fixed-dim: 0, 0, 0;--eox-theme-light-on-tertiary-fixed-variant: 62, 65, 124;--eox-theme-light-on-tertiary-fixed: 17, 19, 79;--eox-theme-light-on-tertiary-palette-key-color: 255, 255, 255;--eox-theme-light-on-tertiary: 255, 255, 255;--eox-theme-light-outline-variant: 194, 199, 208;--eox-theme-light-outline: 114, 119, 128;--eox-theme-light-primary-container: 209, 228, 255;--eox-theme-light-primary-fixed-dim: 158, 202, 255;--eox-theme-light-primary-fixed: 209, 228, 255;--eox-theme-light-primary-palette-key-color: 0, 65, 112;--eox-theme-light-primary: 0, 65, 112;--eox-theme-light-scrim: 0, 0, 0;--eox-theme-light-secondary-container: 184, 234, 255;--eox-theme-light-secondary-fixed-dim: 154, 206, 228;--eox-theme-light-secondary-fixed: 184, 234, 255;--eox-theme-light-secondary-palette-key-color: 0, 69, 87;--eox-theme-light-secondary: 47, 101, 120;--eox-theme-light-shadow: 0, 0, 0;--eox-theme-light-surface-bright: 249, 249, 254;--eox-theme-light-surface-container-high: 231, 232, 236;--eox-theme-light-surface-container-highest: 226, 226, 231;--eox-theme-light-surface-container-low: 243, 243, 248;--eox-theme-light-surface-container-lowest: 255, 255, 255;--eox-theme-light-surface-container: 237, 237, 242;--eox-theme-light-surface-dim: 217, 218, 222;--eox-theme-light-surface-light: 231, 232, 236;--eox-theme-light-surface-tint: 49, 97, 146;--eox-theme-light-surface: 249, 249, 254;--eox-theme-light-tertiary-container: 225, 224, 255;--eox-theme-light-tertiary-fixed-dim: 191, 193, 255;--eox-theme-light-tertiary-fixed: 225, 224, 255;--eox-theme-light-tertiary-palette-key-color: 54, 57, 116;--eox-theme-light-tertiary: 86, 89, 150}:root{--eox-theme-dark-background: 30, 32, 35;--eox-theme-dark-code: 52, 52, 52;--eox-theme-dark-error-container: 147, 0, 10;--eox-theme-dark-error: 255, 180, 171;--eox-theme-dark-inverse-on-surface: 46, 48, 52;--eox-theme-dark-inverse-primary: 49, 97, 146;--eox-theme-dark-inverse-surface: 226, 226, 231;--eox-theme-dark-kbd: 33, 37, 41;--eox-theme-dark-neutral-palette-key-color: 117, 119, 123;--eox-theme-dark-neutral-variant-palette-key-color: 114, 119, 128;--eox-theme-dark-on-background: 255, 255, 255;--eox-theme-dark-on-code: 204, 204, 204;--eox-theme-dark-on-error-container: 255, 180, 171;--eox-theme-dark-on-error: 105, 0, 5;--eox-theme-dark-on-inverse-on-surface: 255, 255, 255;--eox-theme-dark-on-inverse-primary: 158, 202, 255;--eox-theme-dark-on-inverse-surface: 0, 0, 0;--eox-theme-dark-on-kbd: 255, 255, 255;--eox-theme-dark-on-neutral-palette-key-color: 255, 255, 255;--eox-theme-dark-on-neutral-variant-palette-key-color: 255, 255, 255;--eox-theme-dark-on-outline-variant: 255, 255, 255;--eox-theme-dark-on-outline: 255, 255, 255;--eox-theme-dark-on-primary-container: 209, 228, 255;--eox-theme-dark-on-primary-fixed-dim: 0, 0, 0;--eox-theme-dark-on-primary-fixed-variant: 16, 73, 120;--eox-theme-dark-on-primary-fixed: 0, 29, 54;--eox-theme-dark-on-primary-palette-key-color: 255, 255, 255;--eox-theme-dark-on-primary: 0, 50, 88;--eox-theme-dark-on-scrim: 255, 255, 255;--eox-theme-dark-on-secondary-container: 184, 234, 255;--eox-theme-dark-on-secondary-fixed-dim: 0, 0, 0;--eox-theme-dark-on-secondary-fixed-variant: 15, 77, 95;--eox-theme-dark-on-secondary-fixed: 0, 31, 40;--eox-theme-dark-on-secondary-palette-key-color: 255, 255, 255;--eox-theme-dark-on-secondary: 0, 53, 68;--eox-theme-dark-on-shadow: 255, 255, 255;--eox-theme-dark-on-surface-bright: 255, 255, 255;--eox-theme-dark-on-surface-container-high: 255, 255, 255;--eox-theme-dark-on-surface-container-highest: 255, 255, 255;--eox-theme-dark-on-surface-container-low: 255, 255, 255;--eox-theme-dark-on-surface-container-lowest: 255, 255, 255;--eox-theme-dark-on-surface-container: 255, 255, 255;--eox-theme-dark-on-surface-dim: 255, 255, 255;--eox-theme-dark-on-surface-light: 255, 255, 255;--eox-theme-dark-on-surface-tint: 0, 0, 0;--eox-theme-dark-on-surface: 226, 226, 231;--eox-theme-dark-on-tertiary-container: 225, 224, 255;--eox-theme-dark-on-tertiary-fixed-dim: 0, 0, 0;--eox-theme-dark-on-tertiary-fixed-variant: 62, 65, 124;--eox-theme-dark-on-tertiary-fixed: 17, 19, 79;--eox-theme-dark-on-tertiary-palette-key-color: 255, 255, 255;--eox-theme-dark-on-tertiary: 39, 42, 100;--eox-theme-dark-outline-variant: 66, 71, 79;--eox-theme-dark-outline: 140, 145, 154;--eox-theme-dark-primary-container: 16, 73, 120;--eox-theme-dark-primary-fixed-dim: 158, 202, 255;--eox-theme-dark-primary-fixed-variant: 209, 228, 255;--eox-theme-dark-primary-fixed: 209, 228, 255;--eox-theme-dark-primary-palette-key-color: 0, 65, 112;--eox-theme-dark-primary: 158, 202, 255;--eox-theme-dark-scrim: 0, 0, 0;--eox-theme-dark-secondary-container: 15, 77, 95;--eox-theme-dark-secondary-fixed-dim: 154, 206, 228;--eox-theme-dark-secondary-fixed-variant: 184, 234, 255;--eox-theme-dark-secondary-fixed: 184, 234, 255;--eox-theme-dark-secondary-palette-key-color: 0, 69, 87;--eox-theme-dark-secondary: 154, 206, 228;--eox-theme-dark-shadow: 0, 0, 0;--eox-theme-dark-surface-bright: 55, 57, 61;--eox-theme-dark-surface-container-high: 40, 42, 46;--eox-theme-dark-surface-container-highest: 51, 53, 56;--eox-theme-dark-surface-container-low: 26, 28, 31;--eox-theme-dark-surface-container-lowest: 12, 14, 17;--eox-theme-dark-surface-container: 30, 32, 35;--eox-theme-dark-surface-dim: 17, 19, 23;--eox-theme-dark-surface-light: 55, 57, 61;--eox-theme-dark-surface-tint: 158, 202, 255;--eox-theme-dark-surface: 17, 19, 23;--eox-theme-dark-tertiary-container: 62, 65, 124;--eox-theme-dark-tertiary-fixed-dim: 191, 193, 255;--eox-theme-dark-tertiary-fixed-variant: 225, 224, 255;--eox-theme-dark-tertiary-fixed: 225, 224, 255;--eox-theme-dark-tertiary-palette-key-color: 54, 57, 116;--eox-theme-dark-tertiary: 191, 193, 255}:root{--eox-slider-thumb-height: 20px;--eox-slider-thumb-width: 20px;--eox-slider-track-height: 6px;--eox-slider-track-color: var(--outline-variant);--eox-slider-brightness-hover: 100%;--eox-slider-brightness-down: 100%;--eox-slider-clip-edges: 4px;--eox-slider-margin: 1.125rem}input[type=range]:not(.slider.large input,.slider.small input,.slider.medium input,.slider.extra input){font-size:1.5rem;color:var(--primary);width:100%;background:none;overflow:hidden}input[type=range]:not(.slider input[type=range]){margin:var(--eox-slider-margin);width:100%}input[type=range]:not(.slider.large input,.slider.small input,.slider.medium input,.slider.extra input):active{cursor:grabbing}input[type=range]:not(.slider.large input,.slider.small input,.slider.medium input,.slider.extra input):disabled{filter:grayscale(1);opacity:.3;cursor:not-allowed}input[type=range]:not(.slider.large input,.slider.small input,.slider.medium input,.slider.extra input),input[type=range]:not(.slider.large input,.slider.small input,.slider.medium input,.slider.extra input)::-webkit-slider-runnable-track,input[type=range]:not(.slider.large input,.slider.small input,.slider.medium input,.slider.extra input)::-webkit-slider-thumb{-webkit-appearance:none;transition:all ease .1s;height:var(--eox-slider-thumb-height)}input[type=range]:not(.slider.large input,.slider.small input,.slider.medium input,.slider.extra input)::-webkit-slider-runnable-track,input[type=range]:not(.slider.large input,.slider.small input,.slider.medium input,.slider.extra input)::-webkit-slider-thumb{position:relative}input[type=range]:not(.slider.large input,.slider.small input,.slider.medium input,.slider.extra input)::-webkit-slider-runnable-track{border-radius:var(--eox-slider-track-height)}input[type=range]:not(.slider input)::-webkit-slider-thumb{--thumb-radius: calc((var(--eox-slider-thumb-height) * .5) - 1px);--clip-top: calc( (var(--eox-slider-thumb-height) - var(--eox-slider-track-height)) * .5 - .5px );--clip-bottom: calc(var(--eox-slider-thumb-height) - var(--clip-top));--clip-further: calc(100% + 1px) ;--box-fill: calc( -100vmax - var(--eox-slider-thumb-width, var(--eox-slider-thumb-height)) ) 0 0 100vmax currentColor;width:var(--eox-slider-thumb-width, var(--eox-slider-thumb-height));background:linear-gradient(currentColor 0 0) scroll no-repeat left center / 50% calc(var(--eox-slider-track-height) + 1px);background-color:currentColor;box-shadow:var(--box-fill);border-radius:var(--eox-slider-thumb-width, var(--eox-slider-thumb-height));filter:brightness(100%);clip-path:polygon(100% -1px,var(--eox-slider-clip-edges) -1px,0 var(--clip-top),-100vmax var(--clip-top),-100vmax var(--clip-bottom),0 var(--clip-bottom),var(--eox-slider-clip-edges) 100%,var(--clip-further) var(--clip-further))}input[type=range]:not(.slider.large input,.slider.small input,.slider.medium input,.slider.extra input):hover::-webkit-slider-thumb{filter:brightness(var(--eox-slider-brightness-hover));cursor:grab}input[type=range]:not(.slider.large input,.slider.small input,.slider.medium input,.slider.extra input):active::-webkit-slider-thumb{filter:brightness(var(--eox-slider-brightness-down));cursor:grabbing}input[type=range]:not(.slider input)::-webkit-slider-runnable-track{background:linear-gradient(var(--eox-slider-track-color) 0 0) scroll no-repeat center / 100% calc(var(--eox-slider-track-height) + 1px)}input[type=range]:not(.slider.large input,.slider.small input,.slider.medium input,.slider.extra input):disabled::-webkit-slider-thumb{cursor:not-allowed}input[type=range]:not(.slider.large input,.slider.small input,.slider.medium input,.slider.extra input),input[type=range]:not(.slider.large input,.slider.small input,.slider.medium input,.slider.extra input)::-moz-range-track,input[type=range]:not(.slider.large input,.slider.small input,.slider.medium input,.slider.extra input)::-moz-range-thumb{-webkit-appearance:none;-moz-appearance:none;appearance:none;transition:all ease .1s;height:var(--eox-slider-thumb-height)}input[type=range]:not(.slider.large input,.slider.small input,.slider.medium input,.slider.extra input)::-moz-range-track,input[type=range]:not(.slider.large input,.slider.small input,.slider.medium input,.slider.extra input)::-moz-range-thumb,input[type=range]:not(.slider.large input,.slider.small input,.slider.medium input,.slider.extra input)::-moz-range-progress{background:#fff0}input[type=range]:not(.slider.large input,.slider.small input,.slider.medium input,.slider.extra input)::-moz-range-thumb{background:currentColor;border:0;width:var(--eox-slider-thumb-width, var(--eox-slider-thumb-height));border-radius:var(--eox-slider-thumb-width, var(--eox-slider-thumb-height));cursor:grab}input[type=range]:not(.slider.large input,.slider.small input,.slider.medium input,.slider.extra input):active::-moz-range-thumb{cursor:grabbing}input[type=range]:not(.slider.large input,.slider.small input,.slider.medium input,.slider.extra input)::-moz-range-track{width:100%;background:var(--eox-slider-track-color)}input[type=range]:not(.slider.large input,.slider.small input,.slider.medium input,.slider.extra input)::-moz-range-progress{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:currentColor;transition-delay:30ms}input[type=range]:not(.slider.large input,.slider.small input,.slider.medium input,.slider.extra input)::-moz-range-track,input[type=range]:not(.slider.large input,.slider.small input,.slider.medium input,.slider.extra input)::-moz-range-progress{height:calc(var(--eox-slider-track-height) + 1px);border-radius:var(--eox-slider-track-height)}input[type=range]:not(.slider.large input,.slider.small input,.slider.medium input,.slider.extra input)::-moz-range-thumb,input[type=range]:not(.slider.large input,.slider.small input,.slider.medium input,.slider.extra input)::-moz-range-progress{filter:brightness(100%)}input[type=range]:not(.slider.large input,.slider.small input,.slider.medium input,.slider.extra input):hover::-moz-range-thumb,input[type=range]:not(.slider.large input,.slider.small input,.slider.medium input,.slider.extra input):hover::-moz-range-progress{filter:brightness(var(--eox-slider-brightness-hover))}input[type=range]:not(.slider.large input,.slider.small input,.slider.medium input,.slider.extra input):active::-moz-range-thumb,input[type=range]:not(.slider.large input,.slider.small input,.slider.medium input,.slider.extra input):active::-moz-range-progress{filter:brightness(var(--eox-slider-brightness-down))}input[type=range]:not(.slider.large input,.slider.small input,.slider.medium input,.slider.extra input):disabled::-moz-range-thumb{cursor:not-allowed}label.slider.tiny:before{height:var(--eox-slider-track-height);background:var(--outline-variant);clip-path:none}label.slider.tiny>span,.slider.tiny>input[type=range]+input[type=range]~span{height:var(--eox-slider-track-height);top:var(--eox-slider-track-height) - 1;clip-path:none}.slider.tiny>input[type=range]::-webkit-slider-thumb{box-shadow:unset;width:var(--eox-slider-thumb-width, var(--eox-slider-thumb-height));border-radius:var(--eox-slider-thumb-width, var(--eox-slider-thumb-height))}.slider.tiny>input[type=range]::-webkit-slider-runnable-track{background:unset}.slider.tiny>input[type=range]:not(:disabled):is(:focus)::-webkit-slider-thumb{transform:scaleX(1)}.slider.tiny>input:not(:disabled):is(:focus)::-moz-range-thumb{transform:scaleX(1)}tc-range-slider{--panel-bg-fill: var(--primary);--pointer-bg: var(--primary);--pointer-bg-focus: var(--primary);--pointer-bg-hover: var(--primary);--pointer-border: 0;--pointer-border-focus: 0;--pointer-border-hover: 0;--pointer-width: var( --eox-slider-thumb-width, var(--eox-slider-thumb-height) );--pointer-height: var( --eox-slider-thumb-width, var(--eox-slider-thumb-height) );--pointer-shadow: 0;--pointer-shadow-hover: 0;--height: var(--eox-slider-track-height);--width: 100%;--panel-bg-border-radius: var(--eox-slider-track-height);--panel-bg: var(--eox-slider-track-color);--panel-bg-hover: var(--eox-slider-track-color);display:block;margin:var(--eox-slider-margin)}:root{--eox-body-font-family: Inter, Roboto, "Helvetica Neue", "Arial Nova", "Nimbus Sans", Noto Sans, Arial, sans-serif;--eox-header-font-family: var(--eox-body-font-family);--size: 1rem;--font: var(--eox-body-font-family);--font-icon: "Material Symbols Subset";--speed1: .1s;--speed2: .2s;--speed3: .3s;--speed4: .4s;--active: rgb(128 128 128 / .192);--overlay: rgb(0 0 0 / .5);--elevate1: 0 .125rem .125rem 0 rgb(0 0 0 / .32);--elevate2: 0 .25rem .5rem 0 rgb(0 0 0 / .4);--elevate3: 0 .375rem .75rem 0 rgb(0 0 0 / .48);--top: env(safe-area-inset-top);--bottom: env(safe-area-inset-bottom);--left: env(safe-area-inset-left);--right: env(safe-area-inset-right)}*{font-family:var(--eox-body-font-family)}h1,h2,h3,h4,h5,h6{font-family:var(--eox-header-font-family)}:root,body.light{--primary: rgb(var(--eox-theme-light-primary));--on-primary: rgb(var(--eox-theme-light-on-primary));--primary-container: rgb(var(--eox-theme-light-primary-container));--on-primary-container: #001d36;--secondary: rgb(var(--eox-theme-light-secondary));--on-secondary: rgb(var(--eox-theme-light-on-secondary));--secondary-container: #d7e3f7;--on-secondary-container: #101c2b;--tertiary: rgb(var(--eox-theme-light-tertiary));--on-tertiary: rgb(var(--eox-theme-light-on-tertiary));--tertiary-container: #f2daff;--on-tertiary-container: #251431;--error: rgb(var(--eox-theme-light-error));--on-error: rgb(var(--eox-theme-light-on-error));--error-container: #ffdad6;--on-error-container: #410002;--background: rgb(var(--eox-theme-light-background));--on-background: #1a1c1e;--surface: rgb(var(--eox-theme-light-surface));--on-surface: rgb(var(--eox-theme-light-on-surface));--surface-variant: #dfe2eb;--on-surface-variant: #43474e;--outline: rgb(var(--eox-theme-light-outline));--outline-variant: rgb(var(--eox-theme-light-outline-variant));--shadow: #000000;--scrim: #000000;--inverse-surface: #2f3033;--inverse-on-surface: #f1f0f4;--inverse-primary: #9ecaff;--surface-dim: rgb(var(--eox-theme-light-surface-dim));--surface-bright: rgb(var(--eox-theme-light-surface-bright));--surface-container-lowest: #ffffff;--surface-container-low: #f4f3f7;--surface-container: #eeedf1;--surface-container-high: #e8e8eb;--surface-container-highest: #e2e2e6}body.dark{--primary: rgb(var(--eox-theme-dark-primary));--on-primary: rgb(var(--eox-theme-dark-on-primary));--primary-container: rgb(var(--eox-theme-dark-primary-container));--on-primary-container: #d1e4ff;--secondary: rgb(var(--eox-theme-dark-secondary));--secondary-container: #3b4858;--on-secondary-container: #d7e3f7;--on-secondary-container: rgb(var(--eox-theme-dark-on-secondary-container));--tertiary: rgb(var(--eox-theme-dark-tertiary));--on-tertiary: rgb(var(--eox-theme-dark-on-tertiary));--tertiary-container: #523f5f;--on-tertiary-container: #f2daff;--error: rgb(var(--eox-theme-dark-error));--on-error: rgb(var(--eox-theme-dark-on-error));--error-container: #93000a;--on-error-container: #ffb4ab;--background: rgb(var(--eox-theme-dark-background));--on-background: #e2e2e6;--surface: rgb(var(--eox-theme-dark-surface));--on-surface: rgb(var(--eox-theme-dark-on-surface));--surface-variant: #43474e;--on-surface-variant: #c3c7cf;--outline: rgb(var(--eox-theme-dark-outline));--outline-variant: rgb(var(--eox-theme-dark-outline-variant));--shadow: #000000;--scrim: #000000;--inverse-surface: #e2e2e6;--inverse-on-surface: #2f3033;--inverse-primary: #0161a3;--surface-dim: rgb(var(--eox-theme-dark-surface-dim));--surface-bright: rgb(var(--eox-theme-dark-surface-bright));--surface-container-lowest: #0d0e11;--surface-container-low: #1a1c1e;--surface-container: #1e2022;--surface-container-high: #282a2d;--surface-container-highest: #333538}.list.no-space>li,.list.no-space>li>details>summary{min-block-size:0rem;padding:0 1rem}:is(.checkbox,.radio,.switch).small{--_size: 1.2rem}:is(.checkbox,.radio):is(:hover)>input:not(:disabled)+span:after,:is(.checkbox,.radio)>input:not(:disabled):is(:focus)+span:after{box-shadow:0 0 0 .4rem currentColor}:is(.checkbox,.radio,.switch):is(.no-round,.square)>span:before,:is(.checkbox,.radio,.switch):is(.no-round,.square)>span>i,:is(.checkbox,.radio):is(.no-round,.square)>span:after{border-radius:.15rem}.scroll::-webkit-scrollbar,.scroll::-webkit-scrollbar-thumb,.scroll::-webkit-scrollbar-button{background:none;inline-size:.4rem;block-size:.4rem}.scroll:is(:hover,:focus)::-webkit-scrollbar-thumb{background:var(--outline);border-radius:1rem}';(()=>{const t="eox-elements";if(!document.head.querySelector(`style#${t}`)){const e=new CSSStyleSheet;e.replaceSync(Po);const r=Array.from(e.cssRules).filter(n=>n.cssText.includes(":root")).map(n=>n.cssText).join(" "),i=document.createElement("style");i.setAttribute("id",t),i.innerHTML=`
54
+ @import url("https://eox.at/fonts/inter/inter.css");
55
+
56
+ @font-face {
57
+ font-family: "Material Symbols Subset";
58
+ font-style: normal;
59
+ font-weight: 400;
60
+ font-display: block;
61
+ src: url(https://cdn.jsdelivr.net/npm/@eox/ui@0.3.4/dist/material-symbols-subset.woff2) format("woff2");
62
+ }
63
+
64
+ eox-chart,
65
+ eox-drawtools,
66
+ eox-feedback,
67
+ eox-geosearch,
68
+ eox-itemfilter,
69
+ eox-jsonform,
70
+ eox-layercontrol,
71
+ eox-map,
72
+ eox-stacinfo,
73
+ eox-storytelling,
74
+ eox-timecontrol {
75
+ font-family: var(--font);
76
+ font-size: .875rem;
77
+ line-height: 1.5rem;
78
+ letter-spacing: .0313rem;
79
+ }
80
+ ${r}
81
+ `,document.head.appendChild(i)}})();const An=`
82
+ ${Po}
83
+ .field {
84
+ margin-block-end: 0;
85
+ }
86
+ .field.small>:is(input,textarea,select) {
87
+ font-size: 0.75rem;
88
+ }
89
+
53
90
  :host, :root {
91
+ --primary-color: var(--primary);
92
+ --secondary-color: var(--secondary);
54
93
  --item-color: color-mix(
55
94
  in srgb,
56
95
  var(--primary-color) 10%,
@@ -58,10 +97,10 @@ details {
58
97
  );
59
98
  --item-hover-color: color-mix(
60
99
  in srgb,
61
- var(--secondary-color) 30%,
100
+ var(--surface) 80%,
62
101
  transparent
63
102
  );
64
- --item-select-color: var(--primary-color);
103
+ --item-select-color: var(--surface-variant);
65
104
  --inline-bg-color: color-mix(
66
105
  in srgb,
67
106
  var(--secondary-color) 10%,
@@ -74,136 +113,92 @@ details {
74
113
  );
75
114
  --background-color: var(--eox-background-color, transparent);
76
115
  --padding: 0.5rem;
116
+ --padding-vertical: 0.25rem;
117
+ --list-padding: 2rem;
77
118
  --text-transform: capitalize;
78
119
  --form-flex-direction: column;
79
120
  --filter-display: block;
80
121
  background-color: var(--background-color);
81
- }
82
- * {
83
- font-family: Roboto, sans-serif;
122
+ display: flex;
123
+ flex-direction: column;
84
124
  }
85
125
  form#itemfilter {
86
126
  flex-direction: var(--form-flex-direction);
127
+ margin-top: 0;
87
128
  }
88
129
  eox-itemfilter-container {
89
130
  min-width: 200px;
90
- display: var(--filter-display);
131
+ flex-grow: 0;
132
+ flex-shrink: 0;
133
+ overflow: hidden;
91
134
  }
92
135
  eox-itemfilter-results {
93
136
  flex-grow: 1;
137
+ overflow: hidden;
138
+ max-height: 100%;
139
+ display: flex;
140
+ flex-direction: column;
94
141
  }
95
- ul {
96
- padding-left: 0;
97
- margin-top: 0;
142
+ eox-itemfilter-results button.chip {
143
+ pointer-events: none;
98
144
  }
99
- li {
100
- list-style: none;
145
+ .list li {
146
+ padding: 0 var(--padding) !important;
101
147
  }
102
- li span {
103
- text-overflow: ellipsis;
104
- white-space: nowrap;
105
- display: flex;
106
- align-items: center;
148
+ .list.no-padding > li {
149
+ padding: 0 !important;
107
150
  }
108
151
  li label {
109
152
  display: flex;
110
153
  align-items: center;
111
154
  }
112
- details summary > * {
113
- display: inline;
114
- }
115
- details summary {
116
- display: flex;
117
- align-items: center;
118
- border-bottom: 1px solid #0002;
119
- padding: .5rem var(--padding);
120
- }
121
-
122
- details > summary::-webkit-details-marker {
123
- display: none;
124
- }
125
-
126
155
  .title {
127
- font-size: 13px;
128
- align-items: center;
129
156
  text-transform: var(--text-transform);
130
157
  }
131
158
  .subtitle {
132
- font-size: 11px;
133
159
  opacity: .7;
134
- margin-top: 6px;
135
160
  }
136
161
  .image {
137
- width: 24px;
138
- height: 24px;
139
162
  object-fit: cover;
140
163
  overflow: hidden;
141
- margin-right: 8px;
142
164
  }
143
165
  .title-container {
144
166
  display: flex;
145
167
  flex-direction: column;
146
168
  }
147
- h6.main-heading {
148
- font-size: 1rem;
149
- margin-block-start: 1.33em;
150
- margin-block-end: 1.33em;
151
- margin-top: var(--padding);
152
- padding: 0 var(--padding);
153
- }
154
- details summary .title {
155
- display: flex;
156
- font-weight: 500;
157
- }
158
- details.details-filter summary::after,
159
- details.details-results summary::before {
160
- content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%230009' viewBox='0 0 24 24'%3E%3Ctitle%3Echevron-right%3C/title%3E%3Cpath d='M8.59,16.58L13.17,12L8.59,7.41L10,6L16,12L10,18L8.59,16.58Z' /%3E%3C/svg%3E");
161
- height: 24px;
162
- width: 24px;
163
- }
164
- details.details-filter summary::after {
165
- margin-left: auto;
166
- transform: rotate(90deg);
167
- }
168
- details[open] summary::before {
169
- transform: rotate(90deg);
170
- }
171
- details[open] summary::after {
172
- transform: rotate(270deg);
173
- }
174
169
  eox-itemfilter-expandcontainer {
175
- max-height: 200px;
170
+ max-height: 300px;
171
+ width: 100%;
176
172
  }
177
173
  eox-itemfilter-expandcontainer > [data-type=filter] {
178
174
  display: block;
179
175
  height: calc(100% - 32px);
180
176
  overflow-y: auto;
181
177
  overflow-x: hidden;
182
- padding: 0 var(--padding);
178
+ max-width: 100%;
183
179
  }
184
180
  [data-type=filter] .title,
185
181
  details summary {
186
182
  text-transform: var(--text-transform);
187
183
  }
188
- li,
189
- label,
190
- details,
191
- input[type="checkbox"],
192
- input[type="radio"] {
193
- cursor: pointer;
184
+ details summary nav {
185
+ height: 32px;
194
186
  }
195
- input[type="checkbox"],
196
- input[type="radio"] {
197
- margin: 0;
187
+ details > summary {
188
+ min-block-size: 0rem;
189
+ padding: 0 var(--padding);
190
+ user-select: none;
198
191
  }
199
- input[type="text"] {
200
- box-sizing: border-box;
201
- width: 100%;
202
- margin-top: 0.5rem;
203
- margin-bottom: 0.5rem;
204
- padding: 5px 7px;
205
- border-radius: 4px;
206
- border: 1px solid var(--border-color);
192
+ details > summary i {
193
+ transition: transform 0.1s ease-in-out;
194
+ }
195
+ details[open] > summary i {
196
+ transform: rotate(90deg);
197
+ }
198
+ ul.multiselect.list > li,
199
+ ul.select.list > li,
200
+ details > div > ul#results.list > li {
201
+ padding-left: var(--list-padding) !important;
207
202
  }
208
203
  section:not(section:last-of-type) {
209
204
  margin-bottom: 1rem;
@@ -213,28 +208,17 @@ section:not(section:last-of-type) {
213
208
  flex: 1;
214
209
  display: flex;
215
210
  flex-direction: column;
211
+ margin-top: 0;
216
212
  }
217
- ul:not(#filters) > li {
218
- padding: 5px 0;
219
- }
220
- ul#results li {
221
- padding: 5px var(--padding);
222
- display: flex;
223
- justify-content: space-between;
224
- }
225
- ul#results .result-action {
226
- display: flex;
227
- align-items: center;
228
- height: fit-content;
229
- line-height: 1;
230
- opacity: .5;
231
- transition: opacity .3s ease-in-out;
213
+ #container-results {
214
+ border-radius: none;
232
215
  }
233
- ul#results .result-action:hover {
234
- opacity: 1;
216
+ .no-results {
217
+ padding-left: var(--padding);
218
+ padding-right: var(--padding);
235
219
  }
236
- ul#results .highlighted .result-action > * {
237
- filter: invert(1);
220
+ ul#results li:not(:hover) .result-action {
221
+ display: none;
238
222
  }
239
223
  eox-layout {
240
224
  padding: .5rem var(--padding);
@@ -247,6 +231,10 @@ eox-layout-item {
247
231
  border-radius: var(--card-border-radius, 8px);
248
232
  cursor: pointer;
249
233
  }
234
+ eox-layout-item > span {
235
+ display: block;
236
+ height: 100%;
237
+ }
250
238
  eox-layout-item .image {
251
239
  width: 100%;
252
240
  height: 100%;
@@ -256,6 +244,9 @@ eox-layout-item .image {
256
244
  eox-layout-item:hover .image {
257
245
  filter: brightness(.5);
258
246
  }
247
+ eox-layout-item nav {
248
+ height: 100%;
249
+ }
259
250
  eox-layout-item .title-container {
260
251
  position: absolute;
261
252
  bottom: 0;
@@ -290,23 +281,9 @@ section {
290
281
  position: relative;
291
282
  background-color: var(--background-color);
292
283
  }
293
- button#filter-reset {
294
- position: absolute;
295
- top: 0;
296
- right: var(--padding);
297
- padding: 2px 10px;
298
- }
299
- .count {
300
- display: flex;
301
- justify-content: center;
302
- align-items: center;
303
- background: var(--secondary-color);
304
- padding: 0 12px;
305
- height: 20px;
306
- border-radius: 10px;
307
- color: var(--primary-color);
308
- font-weight: 500;
309
- margin-left: 9px;
284
+ nav.title-nav {
285
+ padding-left: var(--padding);
286
+ padding-right: var(--padding);
310
287
  }
311
288
  eox-itemfilter-range,
312
289
  tc-range-slider {
@@ -314,7 +291,7 @@ tc-range-slider {
314
291
  display: block;
315
292
  }
316
293
  tc-range-slider {
317
- width: calc(100% - 16px);
294
+ width: calc(100% - 32px);
318
295
  margin-left: 8px;
319
296
  margin-right: 8px;
320
297
  --width: 100%;
@@ -328,25 +305,9 @@ tc-range-slider {
328
305
  margin: 1rem 0px;
329
306
  }
330
307
 
331
- button.reset-icon:before {
332
- content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23004170' viewBox='0 0 24 24'%3E%3Ctitle%3Eclose%3C/title%3E%3Cpath d='M19,6.41L17.59,5L12,10.59L6.41,5L5,6.41L10.59,12L5,17.59L6.41,19L12,13.41L17.59,19L19,17.59L13.41,12L19,6.41Z' /%3E%3C/svg%3E");
333
- }
334
- eox-itemfilter-expandcontainer button.reset-icon {
335
- margin-left: 4px;
336
- margin-top: -5px;
337
- height: 14px;
338
- width: 14px;
339
- }
340
- eox-itemfilter-expandcontainer button.reset-icon:before {
341
- height: 14px;
342
- width: 14px;
343
- }
344
308
  .inline-content {
345
- border: 1.5px solid var(--secondary-color);
346
- border-radius: 4px;
347
309
  max-height: 300px;
348
310
  overflow-y: auto;
349
- background: var(--inline-bg-color);
350
311
  margin-top: 4px;
351
312
  padding: 8px;
352
313
  }
@@ -362,16 +323,13 @@ eox-itemfilter-expandcontainer button.reset-icon:before {
362
323
  position: relative;
363
324
  border: 1px solid var(--border-color);
364
325
  border-radius: 4px;
365
- height: 24px;
366
- padding: 8px;
367
326
  flex: 1;
368
327
  justify-content: space-between;
369
328
  cursor: text;
370
329
  transition: all 0.2s ease-in-out;
371
330
  display: flex;
372
- }
373
- .inline-container:hover {
374
- border: 1px solid var(--primary-color);
331
+ inline-size: 100%;
332
+ block-size: 100%;
375
333
  }
376
334
  [popover] {
377
335
  position: fixed;
@@ -412,9 +370,11 @@ button.icon {
412
370
  font-size: large;
413
371
  width: unset;
414
372
  }
373
+ -container-results::-webkit-scrollbar,
415
374
  .inline-container::-webkit-scrollbar {
416
375
  height: 2px;
417
376
  }
377
+ -container-results::-webkit-scrollbar-thumb,
418
378
  .inline-container::-webkit-scrollbar-thumb {
419
379
  background: lightgrey;
420
380
  border-radius: 2px;
@@ -427,50 +387,6 @@ button.icon {
427
387
  .hidden:hover {
428
388
  border: none;
429
389
  }
430
- .chip-title {
431
- pointer-events: none;
432
- text-transform: var(--text-transform);
433
- }
434
- .chip {
435
- display: flex;
436
- align-items: center;
437
- background: var(--item-color);
438
- border-radius: 30px;
439
- margin-right: 4px;
440
- padding: 5px 10px;
441
- font-size: small;
442
- cursor: default;
443
- white-space: nowrap;
444
- }
445
- .chip.highlighted {
446
- background: var(--primary-color);
447
- color: white;
448
- }
449
- .chip-close {
450
- cursor: pointer;
451
- font-weight: 600;
452
- position: absolute;
453
- right: -25px;
454
- background: white;
455
- top: 0;
456
- height: 100%;
457
- display: flex;
458
- align-items: center;
459
- height: 24px;
460
- width: 24px;
461
- }
462
- .chip-close:before {
463
- position: absolute;
464
- text-indent: 0;
465
- line-height: initial;
466
- height: 24px;
467
- width: 24px;
468
- content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23004170' viewBox='0 0 24 24'%3E%3Ctitle%3Eclose%3C/title%3E%3Cpath d='M19,6.41L17.59,5L12,10.59L6.41,5L5,6.41L10.59,12L5,17.59L6.41,19L12,13.41L17.59,19L19,17.59L13.41,12L19,6.41Z' /%3E%3C/svg%3E");
469
- }
470
- .chip-container {
471
- position: relative;
472
- max-width: 75%;
473
- }
474
390
  .autocomplete-container,
475
391
  .text-container {
476
392
  position: relative;
@@ -479,9 +395,6 @@ button.icon {
479
395
  box-sizing: border-box;
480
396
  justify-content: space-between;
481
397
  cursor: text;
482
- margin-top: 0.5rem;
483
- margin-bottom: 0.5rem;
484
- background: white;
485
398
  }
486
399
  .autocomplete-container-wrapper,
487
400
  .text-container-wrapper {
@@ -520,10 +433,6 @@ input[type="text"].autocomplete-input {
520
433
  padding: 9px 6px !important;
521
434
  border-radius: 4px;
522
435
  }
523
- .text-input:hover,
524
- .autocomplete-input:hover {
525
- border: 1px solid var(--primary-color);
526
- }
527
436
  .text-input:invalid {
528
437
  border: 1px solid red;
529
438
  }
@@ -532,15 +441,30 @@ input[type="text"].autocomplete-input {
532
441
  flex-wrap: nowrap;
533
442
  gap: 4px;
534
443
  }
444
+ .select li,
445
+ .multiselect li,
446
+ eox-itemfilter-results li {
447
+ border-radius: .5rem !important;
448
+ display: flex;
449
+ justify-content: space-between;
450
+ min-block-size: 32px !important;
451
+ }
535
452
  .select li:hover,
536
453
  .multiselect li:hover,
537
- eox-itemfilter-results li:hover {
454
+ eox-itemfilter-results li:hover,
455
+ details summary:hover {
538
456
  background: var(--item-hover-color);
539
457
  }
540
458
  eox-itemfilter-results li.highlighted {
541
- color: var(--background-color);
459
+ color: white;
542
460
  background: var(--item-select-color);
543
461
  }
462
+ mark.highlight {
463
+ all: inherit;
464
+ display: inline;
465
+ background: yellow;
466
+ color: black;
467
+ }
544
468
  .selected-item span {
545
469
  margin-right: 8px;
546
470
  }
@@ -567,9 +491,10 @@ eox-itemfilter-results li.highlighted {
567
491
  .multiselect-container input,
568
492
  .select-container input {
569
493
  margin-right: 8px;
494
+ max-width: 170px;
570
495
  }
571
496
  .select-overflow {
572
- max-height: 185px;
497
+ max-height: calc(32px * var(--select-filter-max-items));
573
498
  overflow-y: auto;
574
499
  }
575
500
  .chip-title strong {
@@ -582,79 +507,108 @@ eox-itemfilter-results li.highlighted {
582
507
  .chip-container {
583
508
  display: flex;
584
509
  flex: 0;
510
+ align-items: center;
585
511
  }
586
512
  .input-container.dirty-filter-input {
587
513
  margin-left: 25px;
588
514
  }
589
515
  .error-validation {
590
516
  position: relative;
591
- color: red;
517
+ color: #ba1a1a !important;
592
518
  font-size: x-small;
593
- top: -8px;
519
+ }
520
+ @media (prefers-color-scheme: dark) {
521
+ .error-validation {
522
+ color: #ffb4ab !important;
523
+ }
594
524
  }
595
525
  input {
596
526
  background-color: var(--background-color);
597
527
  }
598
- `,Ta=`: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 Ra extends tt{constructor(){super();it(this,ei);this.filterObject={},this.unstyled=!1}static get properties(){return{filterObject:{attribute:!1,type:Object},unstyled:{type:Boolean}}}render(){return ee`
528
+ `;class Ts extends tt{constructor(){super();nt(this,Zi);this.filterObject={},this.unstyled=!1}static get properties(){return{filterObject:{attribute:!1,type:Object},unstyled:{type:Boolean}}}render(){return V`
599
529
  <style>
600
- ${!this.unstyled&&tn}
530
+ ${!this.unstyled&&An}
601
531
  </style>
602
532
 
603
- ${Ve(this.filterObject.featured,()=>ee`<slot name="filter"></slot>`,()=>ee`<details
604
- @toggle="${fe(this,ei,Yo)}"
605
- class="details-filter"
606
- ?open=${this.filterObject.expanded||xe}
533
+ ${Fe(this.filterObject.featured,()=>V`<slot name="filter"></slot>`,()=>V`<details
534
+ @toggle="${fe(this,Zi,Xa)}"
535
+ class="details-filter max-width"
536
+ ?open=${this.filterObject.expanded||we}
607
537
  >
608
- <summary>
609
- <span
610
- class="title"
611
- style="${!this.filterObject.title&&"text-transform: var(--text-transform)"}"
612
- >
613
- ${this.filterObject.title||this.filterObject.key||"Filter"}
538
+ <summary class="square">
539
+ <nav class="responsive tiny-space">
540
+ <i class="small">
541
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
542
+ <title>chevron-right</title>
543
+ <path
544
+ d="M8.59,16.58L13.17,12L8.59,7.41L10,6L16,12L10,18L8.59,16.58Z"
545
+ />
546
+ </svg>
547
+ </i>
548
+ <span
549
+ class="title max"
550
+ style="${!this.filterObject.title&&"text-transform: var(--text-transform)"}"
551
+ >
552
+ ${this.filterObject.title||this.filterObject.key||"Filter"}
553
+ </span>
614
554
  <slot name="reset-button"></slot>
615
- </span>
555
+ </nav>
616
556
  </summary>
617
557
  <div>
618
558
  <slot name="filter"></slot>
619
559
  </div>
620
560
  </details>`)}
621
- `}}ei=new WeakSet,Yo=function(r){this.dispatchEvent(new CustomEvent("details-toggled",{detail:r,bubbles:!0,composed:!0}))},customElements.define("eox-itemfilter-expandcontainer",Ra);function Dt(t){return Array.isArray?Array.isArray(t):Rs(t)==="[object Array]"}function Oa(t){if(typeof t=="string")return t;let e=t+"";return e=="0"&&1/t==-1/0?"-0":e}function Ba(t){return t==null?"":Oa(t)}function wt(t){return typeof t=="string"}function Ps(t){return typeof t=="number"}function ja(t){return t===!0||t===!1||Ha(t)&&Rs(t)=="[object Boolean]"}function Ts(t){return typeof t=="object"}function Ha(t){return Ts(t)&&t!==null}function st(t){return t!=null}function Ci(t){return!t.trim().length}function Rs(t){return t==null?t===void 0?"[object Undefined]":"[object Null]":Object.prototype.toString.call(t)}const Na="Incorrect 'index' type",Ia=t=>`Invalid value for key ${t}`,za=t=>`Pattern length exceeds max of ${t}.`,Ua=t=>`Missing ${t} property in key`,Fa=t=>`Property 'weight' in key '${t}' must be a positive integer`,Os=Object.prototype.hasOwnProperty;class qa{constructor(e){this._keys=[],this._keyMap={};let r=0;e.forEach(n=>{let i=Bs(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 Bs(t){let e=null,r=null,n=null,i=1,s=null;if(wt(t)||Dt(t))n=t,e=js(t),r=Ei(t);else{if(!Os.call(t,"name"))throw new Error(Ua("name"));const o=t.name;if(n=o,Os.call(t,"weight")&&(i=t.weight,i<=0))throw new Error(Fa(o));e=js(o),r=Ei(o),s=t.getFn}return{path:e,id:r,weight:i,src:n,getFn:s}}function js(t){return Dt(t)?t:t.split(".")}function Ei(t){return Dt(t)?t.join("."):t}function Wa(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)||Ps(u)||ja(u)))r.push(Ba(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:Wa,ignoreLocation:!1,ignoreFieldNorm:!1,fieldNormWeight:1}};const Va=/[^ ]+/g;function Ka(t=1,e=3){const r=new Map,n=Math.pow(10,e);return{get(i){const s=i.match(Va).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 Si{constructor({getFn:e=Y.getFn,fieldNormWeight:r=Y.fieldNormWeight}={}){this.norm=Ka(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)||Ci(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)&&!Ci(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)&&!Ci(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 Hs(t,e,{getFn:r=Y.getFn,fieldNormWeight:n=Y.fieldNormWeight}={}){const i=new Si({getFn:r,fieldNormWeight:n});return i.setKeys(t.map(Bs)),i.setSources(e),i.create(),i}function Ga(t,{getFn:e=Y.getFn,fieldNormWeight:r=Y.fieldNormWeight}={}){const{keys:n,records:i}=t,s=new Si({getFn:e,fieldNormWeight:r});return s.setKeys(n),s.setIndexRecords(i),s}function On(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 Ya(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 Za(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(za(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=On(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;)On(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=On(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(On(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=Ya(q,l);ie.length?c&&(le.indices=ie):le.isMatch=!1}return le}function Xa(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 Bn=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 Ns{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?Bn(e):e,this.pattern=e,this.chunks=[],!this.pattern.length)return;const y=(b,_)=>{this.chunks.push({pattern:b,alphabet:Xa(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?Bn(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}=Za(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 Is(e,this.multiRegex)}static isSingleMatch(e){return Is(e,this.singleRegex)}search(){}}function Is(t,e){const r=t.match(e);return r?r[1]:null}class Ja 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 Qa 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 el 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 tl 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 rl 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 nl 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 zs 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 Ns(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 Us 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 ki=[Ja,Us,el,tl,nl,rl,Qa,zs],Fs=ki.length,il=/ +(?=(?:[^\"]*\"[^\"]*\")*[^\"]*$)/,sl="|";function ol(t,e={}){return t.split(sl).map(r=>{let n=r.trim().split(il).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<Fs;){const g=ki[u];let y=g.isMultiMatch(l);y&&(i.push(new g(y,e)),c=!0)}if(!c)for(u=-1;++u<Fs;){const g=ki[u];let y=g.isSingleMatch(l);if(y){i.push(new g(y,e));break}}}return i})}const al=new Set([zs.type,Us.type]);class ll{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?Bn(e):e,this.pattern=e,this.query=ol(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?Bn(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;al.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 Li=[];function cl(...t){Li.push(...t)}function Di(t,e){for(let r=0,n=Li.length;r<n;r+=1){let i=Li[r];if(i.condition(t,e))return new i(t,e)}return new Ns(t,e)}const jn={AND:"$and",OR:"$or"},Pi={PATH:"$path",PATTERN:"$val"},Ti=t=>!!(t[jn.AND]||t[jn.OR]),ul=t=>!!t[Pi.PATH],dl=t=>!Dt(t)&&Ts(t)&&!Ti(t),qs=t=>({[jn.AND]:Object.keys(t).map(e=>({[e]:t[e]}))});function Ws(t,e,{auto:r=!0}={}){const n=i=>{let s=Object.keys(i);const o=ul(i);if(!o&&s.length>1&&!Ti(i))return n(qs(i));if(dl(i)){const c=o?i[Pi.PATH]:s[0],u=o?i[Pi.PATTERN]:i[c];if(!wt(u))throw new Error(Ia(c));const g={keyId:Ei(c),pattern:u};return r&&(g.searcher=Di(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 Ti(t)||(t=qs(t)),n(t)}function hl(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 fl(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 pl(t,e){e.score=t.score}function gl(t,e,{includeMatches:r=Y.includeMatches,includeScore:n=Y.includeScore}={}){const i=[];return r&&i.push(fl),n&&i.push(pl),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 qa(this.options.keys),this.setCollection(e,n)}setCollection(e,r){if(this._docs=e,r&&!(r instanceof Si))throw new Error(Na);this._myIndex=r||Hs(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 hl(c,{ignoreFieldNorm:l}),s&&c.sort(o),Ps(r)&&r>-1&&(c=c.slice(0,r)),gl(c,this._docs,{includeMatches:n,includeScore:i})}_searchStringList(e){const r=Di(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=Ws(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===jn.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=Di(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=Hs,Ut.parseIndex=Ga,Ut.config=Y,Ut.parseQuery=Ws,cl(ll);function Vs(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 yl(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 Ri=Math.min,$r=Math.max,Hn=Math.round,Nn=Math.floor,xt=t=>({x:t,y:t});function Ks(t){return t.split("-")[0]}function bl(t){return t.split("-")[1]}function ml(t){return t==="x"?"y":"x"}function vl(t){return t==="y"?"height":"width"}function Gs(t){return["top","bottom"].includes(Ks(t))?"y":"x"}function wl(t){return ml(Gs(t))}function Ys(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 Zs(t,e,r){let{reference:n,floating:i}=t;const s=Gs(e),o=wl(e),l=vl(o),c=Ks(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(bl(e)){case"start":b[o]-=x*(r&&u?-1:1);break;case"end":b[o]+=x*(r&&u?-1:1);break}return b}const xl=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}=Zs(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}=Zs(u,x,c)),k=-1)}return{x:g,y,placement:x,strategy:i,middlewareData:b}};function In(){return typeof window<"u"}function Ar(t){return Xs(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=(Xs(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function Xs(t){return In()?t instanceof Node||t instanceof ot(t).Node:!1}function mt(t){return In()?t instanceof Element||t instanceof ot(t).Element:!1}function At(t){return In()?t instanceof HTMLElement||t instanceof ot(t).HTMLElement:!1}function Js(t){return!In()||typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof ot(t).ShadowRoot}function rn(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 $l(t){return["table","td","th"].includes(Ar(t))}function zn(t){return[":popover-open",":modal"].some(e=>{try{return t.matches(e)}catch{return!1}})}function Oi(t){const e=Bi(),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 Al(t){let e=Ft(t);for(;At(e)&&!_r(e);){if(Oi(e))return e;if(zn(e))return null;e=Ft(e)}return null}function Bi(){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 Un(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||Js(t)&&t.host||$t(t);return Js(e)?e.host:e}function Qs(t){const e=Ft(t);return _r(e)?t.ownerDocument?t.ownerDocument.body:t.body:At(e)&&rn(e)?e:Qs(e)}function nn(t,e,r){var n;e===void 0&&(e=[]),r===void 0&&(r=!0);const i=Qs(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 eo(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=Hn(r)!==s||Hn(n)!==o;return l&&(r=s,n=o),{width:r,height:n,$:l}}function Hi(t){return mt(t)?t:t.contextElement}function Mr(t){const e=Hi(t);if(!At(e))return xt(1);const r=e.getBoundingClientRect(),{width:n,height:i,$:s}=eo(e);let o=(s?Hn(r.width):r.width)/n,l=(s?Hn(r.height):r.height)/i;return(!o||!Number.isFinite(o))&&(o=1),(!l||!Number.isFinite(l))&&(l=1),{x:o,y:l}}const _l=xt(0);function to(t){const e=ot(t);return!Bi()||!e.visualViewport?_l:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function Ml(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=Hi(t);let o=xt(1);e&&(n?mt(n)&&(o=Mr(n)):o=Mr(t));const l=Ml(s,r,n)?to(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=ji(_);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=ji(_)}}return Ys({width:g,height:y,x:c,y:u})}function Ni(t,e){const r=Un(t).scrollLeft;return e?e.left+r:nr($t(t)).left+r}function ro(t,e,r){r===void 0&&(r=!1);const n=t.getBoundingClientRect(),i=n.left+e.scrollLeft-(r?0:Ni(t,n)),s=n.top+e.scrollTop;return{x:i,y:s}}function Cl(t){let{elements:e,rect:r,offsetParent:n,strategy:i}=t;const s=i==="fixed",o=$t(n),l=e?zn(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"||rn(o))&&(c=Un(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?ro(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 El(t){return Array.from(t.getClientRects())}function Sl(t){const e=$t(t),r=Un(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+Ni(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 kl(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=Bi();(!u||u&&e==="fixed")&&(l=i.offsetLeft,c=i.offsetTop)}return{width:s,height:o,x:l,y:c}}function Ll(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 no(t,e,r){let n;if(e==="viewport")n=kl(t,r);else if(e==="document")n=Sl($t(t));else if(mt(e))n=Ll(e,r);else{const i=to(t);n={x:e.x-i.x,y:e.y-i.y,width:e.width,height:e.height}}return Ys(n)}function io(t,e){const r=Ft(t);return r===e||!mt(r)||_r(r)?!1:vt(r).position==="fixed"||io(r,e)}function Dl(t,e){const r=e.get(t);if(r)return r;let n=nn(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=Oi(o);!c&&l.position==="fixed"&&(i=null),(s?!c&&!i:!c&&l.position==="static"&&!!i&&["absolute","fixed"].includes(i.position)||rn(o)&&!c&&io(t,o))?n=n.filter(g=>g!==o):i=l,o=Ft(o)}return e.set(t,n),n}function Pl(t){let{element:e,boundary:r,rootBoundary:n,strategy:i}=t;const o=[...r==="clippingAncestors"?zn(e)?[]:Dl(e,this._c):[].concat(r),n],l=o[0],c=o.reduce((u,g)=>{const y=no(e,g,i);return u.top=$r(y.top,u.top),u.right=Ri(y.right,u.right),u.bottom=Ri(y.bottom,u.bottom),u.left=$r(y.left,u.left),u},no(e,l,i));return{width:c.right-c.left,height:c.bottom-c.top,x:c.left,y:c.top}}function Tl(t){const{width:e,height:r}=eo(t);return{width:e,height:r}}function Rl(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"||rn(i))&&(l=Un(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=Ni(i));const u=i&&!n&&!s?ro(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 Ii(t){return vt(t).position==="static"}function so(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 oo(t,e){const r=ot(t);if(zn(t))return r;if(!At(t)){let i=Ft(t);for(;i&&!_r(i);){if(mt(i)&&!Ii(i))return i;i=Ft(i)}return r}let n=so(t,e);for(;n&&$l(n)&&Ii(n);)n=so(n,e);return n&&_r(n)&&Ii(n)&&!Oi(n)?r:n||Al(t)||r}const Ol=async function(t){const e=this.getOffsetParent||oo,r=this.getDimensions,n=await r(t.floating);return{reference:Rl(t.reference,await e(t.floating),t.strategy),floating:{x:0,y:0,width:n.width,height:n.height}}};function Bl(t){return vt(t).direction==="rtl"}const jl={convertOffsetParentRelativeRectToViewportRelativeRect:Cl,getDocumentElement:$t,getClippingRect:Pl,getOffsetParent:oo,getElementRects:Ol,getClientRects:El,getDimensions:Tl,getScale:Mr,isElement:mt,isRTL:Bl};function ao(t,e){return t.x===e.x&&t.y===e.y&&t.width===e.width&&t.height===e.height}function Hl(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 _=Nn(y),k=Nn(i.clientWidth-(g+x)),q=Nn(i.clientHeight-(y+b)),U=Nn(g),te={rootMargin:-_+"px "+-k+"px "+-q+"px "+-U+"px",threshold:$r(0,Ri(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&&!ao(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 Nl(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=Hi(t),g=i||s?[...u?nn(u):[],...nn(e)]:[];g.forEach(U=>{i&&U.addEventListener("scroll",r,{passive:!0}),s&&U.addEventListener("resize",r)});const y=u&&l?Hl(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&&!ao(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 Il=(t,e,r)=>{const n=new Map,i={platform:jl,...r},s={...i.platform,_c:n};return xl(t,e,{...i,platform:s})};function zl(t){const e=t.renderRoot.querySelector(".inline-container-wrapper"),r=t.renderRoot.querySelector("[popover]");return Nl(e,r,()=>{r.matches(":popover-open")&&Il(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 lo(t){t.renderRoot.querySelector("#eox-itemfilter-input-search").value="",Vs({target:{value:""}},t)}function Ul(t,e){e.inlineMode&&t.stopPropagation()}function Fl(t){t.inlineMode&&(t.showDropdown=!0)}function ql(t,e){e.inlineMode&&(t.stopPropagation(),e.showDropdown=!0)}function Wl(t,e){e.inlineMode&&t.key==="Escape"&&e.showDropdown&&(lo(e),e.showDropdown=!1)}function Vl(t,e){e.inlineMode&&t.target instanceof HTMLElement&&t.target.tagName!=="DROPDOWN-FORM"&&t.target.tagName!=="EOX-ITEMFILTER"&&e.showDropdown&&(lo(e),e.showDropdown=!1)}function Kl(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 Gl(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(!co(t[0])||!co(t[1]))throw new Error("coordinates must contain numbers");return ir({type:"Point",coordinates:t},e,r)}function Yl(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 zi(t,e={}){const r={type:"FeatureCollection"};return e.id&&(r.id=e.id),e.bbox&&(r.bbox=e.bbox),r.features=t,r}function Zl(t,e,r={}){return ir({type:"MultiLineString",coordinates:t},e,r)}function co(t){return!isNaN(t)&&t!==null&&!Array.isArray(t)}function uo(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 Xl(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=uo(t),i=Cr(e),s=i.type,o=e.bbox;let l=i.coordinates;if(o&&Jl(n,o)===!1)return!1;s==="Polygon"&&(l=[l]);let c=!1;for(var u=0;u<l.length;++u){const g=Kl(n,l[u]);if(g===0)return!r.ignoreBoundary;g&&(c=!0)}return c}function Jl(t,e){return e[0]<=t[0]&&e[1]<=t[1]&&e[2]>=t[0]&&e[3]>=t[1]}class ho{constructor(e=[],r=Ql){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 Ql(t,e){return t<e?-1:t>e?1:0}function fo(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 ec(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 po{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 tc(t,e){if(t.type==="FeatureCollection"){const r=t.features;for(let n=0;n<r.length;n++)go(r[n],e)}else go(t,e)}let Fn=0,qn=0,Wn=0;function go(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;qn=qn+1;for(let c=0;c<n[i][s].length-1;c++){l=n[i][s][c+1];const u=new po(o,Fn,qn,Wn),g=new po(l,Fn,qn,Wn+1);u.otherEvent=g,g.otherEvent=u,fo(u,g)>0?(g.isLeftEndpoint=!0,u.isLeftEndpoint=!1):(u.isLeftEndpoint=!0,g.isLeftEndpoint=!1),e.push(u),e.push(g),o=l,Wn=Wn+1}}Fn=Fn+1}class rc{constructor(e){this.leftSweepEvent=e,this.rightSweepEvent=e.otherEvent}}function nc(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 ic(t,e){e=e||!1;const r=[],n=new ho([],ec);for(;t.length;){const i=t.pop();if(i.isLeftEndpoint){const s=new rc(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=nc(s,l);c!==!1&&r.push(c)}n.push(s)}else i.isLeftEndpoint===!1&&n.pop()}return r}function sc(t,e){const r=new ho([],fo);return tc(t,r),ic(r,e)}var oc=sc;function Ui(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=oc(zi(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 zi(l.map(c=>Gl(c)))}function yo(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(yo(o.geometries[n],e)===!1)return!1;break;default:throw new Error("Unknown Geometry Type")}}}}}function ac(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 Vn(t,e){ac(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 Fi(t,e={}){const r=Cr(t);switch(!e.properties&&t.type==="Feature"&&(e.properties=t.properties),r.type){case"Polygon":return lc(r,e);case"MultiPolygon":return cc(r,e);default:throw new Error("invalid poly")}}function lc(t,e={}){const n=Cr(t).coordinates,i=e.properties?e.properties:t.type==="Feature"?t.properties:{};return bo(n,i)}function cc(t,e={}){const n=Cr(t).coordinates,i=e.properties?e.properties:t.type==="Feature"?t.properties:{},s=[];return n.forEach(o=>{s.push(bo(o,i))}),zi(s)}function bo(t,e){return t.length>1?Zl(t,e):Yl(t[0],e)}function uc(t,e,{ignoreSelfIntersections:r=!0}={ignoreSelfIntersections:!0}){let n=!0;return Vn(t,i=>{Vn(e,s=>{if(n===!1)return!1;n=dc(i.geometry,s.geometry,r)})}),n}function dc(t,e,r){switch(t.type){case"Point":switch(e.type){case"Point":return!gc(t.coordinates,e.coordinates);case"LineString":return!mo(e,t);case"Polygon":return!ft(t,e)}break;case"LineString":switch(e.type){case"Point":return!mo(t,e);case"LineString":return!hc(t,e,r);case"Polygon":return!vo(e,t,r)}break;case"Polygon":switch(e.type){case"Point":return!ft(e,t);case"LineString":return!vo(t,e,r);case"Polygon":return!fc(e,t,r)}}return!1}function mo(t,e){for(let r=0;r<t.coordinates.length-1;r++)if(pc(t.coordinates[r],t.coordinates[r+1],e.coordinates))return!0;return!1}function hc(t,e,r){return Ui(t,e,{ignoreSelfIntersections:r}).features.length>0}function vo(t,e,r){for(const i of e.coordinates)if(ft(i,t))return!0;return Ui(e,Fi(t),{ignoreSelfIntersections:r}).features.length>0}function fc(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 Ui(Fi(t),Fi(e),{ignoreSelfIntersections:r}).features.length>0}function pc(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 gc(t,e){return t[0]===e[0]&&t[1]===e[1]}function yc(t,e,{ignoreSelfIntersections:r=!0}={}){let n=!1;return Vn(t,i=>{Vn(e,s=>{if(n===!0)return!0;n=!uc(i.geometry,s.geometry,{ignoreSelfIntersections:r})})}),n}var bc=yc;function Kn(t,e={}){if(t.bbox!=null&&e.recompute!==!0)return t.bbox;const r=[1/0,1/0,-1/0,-1/0];return yo(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 Gn(t,e,r={}){const n=uo(t),i=Xl(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")),mc(i[s],i[s+1],n,o,typeof r.epsilon>"u"?null:r.epsilon))return!0}return!1}function mc(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 vc(t,e){var r=Cr(t),n=Cr(e),i=r.type,s=n.type;switch(i){case"Point":switch(s){case"MultiPoint":return wc(r,n);case"LineString":return Gn(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 xc(r,n);case"LineString":return $c(r,n);case"Polygon":case"MultiPolygon":return Ac(r,n);default:throw new Error("feature2 "+s+" geometry not supported")}case"LineString":switch(s){case"LineString":return _c(r,n);case"Polygon":case"MultiPolygon":return Mc(r,n);default:throw new Error("feature2 "+s+" geometry not supported")}case"Polygon":switch(s){case"Polygon":case"MultiPolygon":return Cc(r,n);default:throw new Error("feature2 "+s+" geometry not supported")}default:throw new Error("feature1 "+i+" geometry not supported")}}function wc(t,e){var r,n=!1;for(r=0;r<e.coordinates.length;r++)if(xo(e.coordinates[r],t.coordinates)){n=!0;break}return n}function xc(t,e){for(var r=0;r<t.coordinates.length;r++){for(var n=!1,i=0;i<e.coordinates.length;i++)xo(t.coordinates[r],e.coordinates[i])&&(n=!0);if(!n)return!1}return!0}function $c(t,e){for(var r=!1,n=0;n<t.coordinates.length;n++){if(!Gn(t.coordinates[n],e))return!1;r||(r=Gn(t.coordinates[n],e,{ignoreEndVertices:!0}))}return r}function Ac(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 _c(t,e){for(var r=0;r<t.coordinates.length;r++)if(!Gn(t.coordinates[r],e))return!1;return!0}function Mc(t,e){var r=Kn(e),n=Kn(t);if(!wo(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=Ec(t.coordinates[s],t.coordinates[s+1]);i=ft(o,e,{ignoreBoundary:!0})}}return i}function Cc(t,e){var r=Kn(t),n=Kn(e);if(!wo(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 wo(t,e){return!(t[0]>e[0]||t[2]<e[2]||t[1]>e[1]||t[3]<e[3])}function xo(t,e){return t[0]===e[0]&&t[1]===e[1]}function Ec(t,e){return[(t[0]+e[0])/2,(t[1]+e[1])/2]}var Sc=vc;const kc=(t,e)=>e?bc(t,e):!0,Lc=(t,e)=>e?Sc(t,e):!0;function Dc(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 Yn(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var Zn={exports:{}},Pc=Zn.exports,$o;function Tc(){return $o||($o=1,function(t,e){(function(r,n){t.exports=n()})(Pc,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})}(Zn)),Zn.exports}var Rc=Tc();const sn=Yn(Rc);let Ao;const Oc=(t,e)=>{Ao=new Ut(t,{threshold:.4,distance:50,includeMatches:!0,useExtendedSearch:!0,...e})},Bc=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=Ao.search(l);i=r.enableHighlighting?Dc(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"?sn(_).unix():_,b=on(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=on(g,i[c]),x=o[g].mode||"within";y&&(x==="within"?Lc(y,o[g].geometry):kc(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 jc(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 &copy; OpenStreetMap contributors and others, Rendering &copy; EOX }"}}]}function Xn(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 _o(t,e){return t*2+e}function Hc(t){return Object.keys(t).map(e=>({title:ee`${t[e].title||t[e].key}:
622
- <strong>${t[e].stringifiedState}</strong>`,key:e})).filter(e=>t[e.key].dirty)}function qi(t){return Object.values(t).map(e=>e.dirty).filter(e=>e).length>0}async function Nc(t,e,r){return await(await fetch(`${r.externalFilter(t,e)}`)).json()}function Mo(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 on(t,e){return t!=null&&t.includes(".")?t.split(".").reduce((r,n)=>r&&r[n],e):e[t]}class Ic extends tt{constructor(){super();it(this,Ce);this.filterProperties={},this.unstyled=!1,this.inlineMode=!1,this.filters={},this._handleClickOutside=fe(this,Ce,Xo).bind(this),this._handleKeyDown=fe(this,Ce,ds).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,cs).call(this)}disconnectedCallback(){this.inlineMode&&fe(this,Ce,us).call(this),super.disconnectedCallback()}_overlayCleanup(){}updateInline(){this.inlineMode&&this.requestUpdate()}updated(r){r.has("inlineMode")&&(this.inlineMode?fe(this,Ce,cs).call(this):fe(this,Ce,us).call(this))}render(){return ee`
561
+ `}}Zi=new WeakSet,Xa=function(r){this.dispatchEvent(new CustomEvent("details-toggled",{detail:r,bubbles:!0,composed:!0}))},customElements.define("eox-itemfilter-expandcontainer",Ts);function Et(t){return Array.isArray?Array.isArray(t):Oo(t)==="[object Array]"}function Rs(t){if(typeof t=="string")return t;let e=t+"";return e=="0"&&1/t==-1/0?"-0":e}function Os(t){return t==null?"":Rs(t)}function xt(t){return typeof t=="string"}function To(t){return typeof t=="number"}function js(t){return t===!0||t===!1||Bs(t)&&Oo(t)=="[object Boolean]"}function Ro(t){return typeof t=="object"}function Bs(t){return Ro(t)&&t!==null}function ot(t){return t!=null}function zn(t){return!t.trim().length}function Oo(t){return t==null?t===void 0?"[object Undefined]":"[object Null]":Object.prototype.toString.call(t)}const Ns="Incorrect 'index' type",Hs=t=>`Invalid value for key ${t}`,Is=t=>`Pattern length exceeds max of ${t}.`,qs=t=>`Missing ${t} property in key`,Us=t=>`Property 'weight' in key '${t}' must be a positive integer`,jo=Object.prototype.hasOwnProperty;class Fs{constructor(e){this._keys=[],this._keyMap={};let r=0;e.forEach(i=>{let n=Bo(i);this._keys.push(n),this._keyMap[n.id]=n,r+=n.weight}),this._keys.forEach(i=>{i.weight/=r})}get(e){return this._keyMap[e]}keys(){return this._keys}toJSON(){return JSON.stringify(this._keys)}}function Bo(t){let e=null,r=null,i=null,n=1,o=null;if(xt(t)||Et(t))i=t,e=No(t),r=Mn(t);else{if(!jo.call(t,"name"))throw new Error(qs("name"));const a=t.name;if(i=a,jo.call(t,"weight")&&(n=t.weight,n<=0))throw new Error(Us(a));e=No(a),r=Mn(a),o=t.getFn}return{path:e,id:r,weight:n,src:i,getFn:o}}function No(t){return Et(t)?t:t.split(".")}function Mn(t){return Et(t)?t.join("."):t}function Ws(t,e){let r=[],i=!1;const n=(o,a,l)=>{if(ot(o))if(!a[l])r.push(o);else{let c=a[l];const d=o[c];if(!ot(d))return;if(l===a.length-1&&(xt(d)||To(d)||js(d)))r.push(Os(d));else if(Et(d)){i=!0;for(let m=0,g=d.length;m<g;m+=1)n(d[m],a,l+1)}else a.length&&n(d,a,l+1)}};return n(t,xt(e)?e.split("."):e,0),i?r:r[0]}var X={...{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:Ws,ignoreLocation:!1,ignoreFieldNorm:!1,fieldNormWeight:1}};const Vs=/[^ ]+/g;function Ys(t=1,e=3){const r=new Map,i=Math.pow(10,e);return{get(n){const o=n.match(Vs).length;if(r.has(o))return r.get(o);const a=1/Math.pow(o,.5*t),l=parseFloat(Math.round(a*i)/i);return r.set(o,l),l},clear(){r.clear()}}}class Sn{constructor({getFn:e=X.getFn,fieldNormWeight:r=X.fieldNormWeight}={}){this.norm=Ys(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,i)=>{this._keysMap[r.id]=i})}create(){this.isCreated||!this.docs.length||(this.isCreated=!0,xt(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();xt(e)?this._addString(e,r):this._addObject(e,r)}removeAt(e){this.records.splice(e,1);for(let r=e,i=this.size();r<i;r+=1)this.records[r].i-=1}getValueForItemAtKeyId(e,r){return e[this._keysMap[r]]}size(){return this.records.length}_addString(e,r){if(!ot(e)||zn(e))return;let i={v:e,i:r,n:this.norm.get(e)};this.records.push(i)}_addObject(e,r){let i={i:r,$:{}};this.keys.forEach((n,o)=>{let a=n.getFn?n.getFn(e):this.getFn(e,n.path);if(ot(a)){if(Et(a)){let l=[];const c=[{nestedArrIndex:-1,value:a}];for(;c.length;){const{nestedArrIndex:d,value:m}=c.pop();if(ot(m))if(xt(m)&&!zn(m)){let g={v:m,i:d,n:this.norm.get(m)};l.push(g)}else Et(m)&&m.forEach((g,w)=>{c.push({nestedArrIndex:w,value:g})})}i.$[o]=l}else if(xt(a)&&!zn(a)){let l={v:a,n:this.norm.get(a)};i.$[o]=l}}}),this.records.push(i)}toJSON(){return{keys:this.keys,records:this.records}}}function Ho(t,e,{getFn:r=X.getFn,fieldNormWeight:i=X.fieldNormWeight}={}){const n=new Sn({getFn:r,fieldNormWeight:i});return n.setKeys(t.map(Bo)),n.setSources(e),n.create(),n}function Ks(t,{getFn:e=X.getFn,fieldNormWeight:r=X.fieldNormWeight}={}){const{keys:i,records:n}=t,o=new Sn({getFn:e,fieldNormWeight:r});return o.setKeys(i),o.setIndexRecords(n),o}function Pi(t,{errors:e=0,currentLocation:r=0,expectedLocation:i=0,distance:n=X.distance,ignoreLocation:o=X.ignoreLocation}={}){const a=e/t.length;if(o)return a;const l=Math.abs(i-r);return n?a+l/n:l?1:a}function Gs(t=[],e=X.minMatchCharLength){let r=[],i=-1,n=-1,o=0;for(let a=t.length;o<a;o+=1){let l=t[o];l&&i===-1?i=o:!l&&i!==-1&&(n=o-1,n-i+1>=e&&r.push([i,n]),i=-1)}return t[o-1]&&o-i>=e&&r.push([i,o-1]),r}const rr=32;function Xs(t,e,r,{location:i=X.location,distance:n=X.distance,threshold:o=X.threshold,findAllMatches:a=X.findAllMatches,minMatchCharLength:l=X.minMatchCharLength,includeMatches:c=X.includeMatches,ignoreLocation:d=X.ignoreLocation}={}){if(e.length>rr)throw new Error(Is(rr));const m=e.length,g=t.length,w=Math.max(0,Math.min(i,g));let b=o,$=w;const C=l>1||c,F=C?Array(g):[];let q;for(;(q=t.indexOf(e,$))>-1;){let ne=Pi(e,{currentLocation:q,expectedLocation:w,distance:n,ignoreLocation:d});if(b=Math.min(ne,b),$=q+m,C){let ke=0;for(;ke<m;)F[q+ke]=1,ke+=1}}$=-1;let ae=[],te=1,se=m+g;const R=1<<m-1;for(let ne=0;ne<m;ne+=1){let ke=0,_e=se;for(;ke<_e;)Pi(e,{errors:ne,currentLocation:w+_e,expectedLocation:w,distance:n,ignoreLocation:d})<=b?ke=_e:se=_e,_e=Math.floor((se-ke)/2+ke);se=_e;let he=Math.max(1,w-_e+1),ee=a?g:Math.min(w+_e,g)+m,ye=Array(ee+2);ye[ee+1]=(1<<ne)-1;for(let E=ee;E>=he;E-=1){let M=E-1,z=r[t.charAt(M)];if(C&&(F[M]=+!!z),ye[E]=(ye[E+1]<<1|1)&z,ne&&(ye[E]|=(ae[E+1]|ae[E])<<1|1|ae[E+1]),ye[E]&R&&(te=Pi(e,{errors:ne,currentLocation:M,expectedLocation:w,distance:n,ignoreLocation:d}),te<=b)){if(b=te,$=M,$<=w)break;he=Math.max(1,2*w-$)}}if(Pi(e,{errors:ne+1,currentLocation:w,expectedLocation:w,distance:n,ignoreLocation:d})>b)break;ae=ye}const le={isMatch:$>=0,score:Math.max(.001,te)};if(C){const ne=Gs(F,l);ne.length?c&&(le.indices=ne):le.isMatch=!1}return le}function Js(t){let e={};for(let r=0,i=t.length;r<i;r+=1){const n=t.charAt(r);e[n]=(e[n]||0)|1<<i-r-1}return e}const Ti=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 Io{constructor(e,{location:r=X.location,threshold:i=X.threshold,distance:n=X.distance,includeMatches:o=X.includeMatches,findAllMatches:a=X.findAllMatches,minMatchCharLength:l=X.minMatchCharLength,isCaseSensitive:c=X.isCaseSensitive,ignoreDiacritics:d=X.ignoreDiacritics,ignoreLocation:m=X.ignoreLocation}={}){if(this.options={location:r,threshold:i,distance:n,includeMatches:o,findAllMatches:a,minMatchCharLength:l,isCaseSensitive:c,ignoreDiacritics:d,ignoreLocation:m},e=c?e:e.toLowerCase(),e=d?Ti(e):e,this.pattern=e,this.chunks=[],!this.pattern.length)return;const g=(b,$)=>{this.chunks.push({pattern:b,alphabet:Js(b),startIndex:$})},w=this.pattern.length;if(w>rr){let b=0;const $=w%rr,C=w-$;for(;b<C;)g(this.pattern.substr(b,rr),b),b+=rr;if($){const F=w-rr;g(this.pattern.substr(F),F)}}else g(this.pattern,0)}searchIn(e){const{isCaseSensitive:r,ignoreDiacritics:i,includeMatches:n}=this.options;if(e=r?e:e.toLowerCase(),e=i?Ti(e):e,this.pattern===e){let C={isMatch:!0,score:0};return n&&(C.indices=[[0,e.length-1]]),C}const{location:o,distance:a,threshold:l,findAllMatches:c,minMatchCharLength:d,ignoreLocation:m}=this.options;let g=[],w=0,b=!1;this.chunks.forEach(({pattern:C,alphabet:F,startIndex:q})=>{const{isMatch:ae,score:te,indices:se}=Xs(e,C,F,{location:o+q,distance:a,threshold:l,findAllMatches:c,minMatchCharLength:d,includeMatches:n,ignoreLocation:m});ae&&(b=!0),w+=te,ae&&se&&(g=[...g,...se])});let $={isMatch:b,score:b?w/this.chunks.length:1};return b&&n&&($.indices=g),$}}class It{constructor(e){this.pattern=e}static isMultiMatch(e){return qo(e,this.multiRegex)}static isSingleMatch(e){return qo(e,this.singleRegex)}search(){}}function qo(t,e){const r=t.match(e);return r?r[1]:null}class Zs extends It{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 Qs extends It{constructor(e){super(e)}static get type(){return"inverse-exact"}static get multiRegex(){return/^!"(.*)"$/}static get singleRegex(){return/^!(.*)$/}search(e){const i=e.indexOf(this.pattern)===-1;return{isMatch:i,score:i?0:1,indices:[0,e.length-1]}}}class el extends It{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 tl extends It{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 rl extends It{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 il extends It{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 Uo extends It{constructor(e,{location:r=X.location,threshold:i=X.threshold,distance:n=X.distance,includeMatches:o=X.includeMatches,findAllMatches:a=X.findAllMatches,minMatchCharLength:l=X.minMatchCharLength,isCaseSensitive:c=X.isCaseSensitive,ignoreDiacritics:d=X.ignoreDiacritics,ignoreLocation:m=X.ignoreLocation}={}){super(e),this._bitapSearch=new Io(e,{location:r,threshold:i,distance:n,includeMatches:o,findAllMatches:a,minMatchCharLength:l,isCaseSensitive:c,ignoreDiacritics:d,ignoreLocation:m})}static get type(){return"fuzzy"}static get multiRegex(){return/^"(.*)"$/}static get singleRegex(){return/^(.*)$/}search(e){return this._bitapSearch.searchIn(e)}}class Fo extends It{constructor(e){super(e)}static get type(){return"include"}static get multiRegex(){return/^'"(.*)"$/}static get singleRegex(){return/^'(.*)$/}search(e){let r=0,i;const n=[],o=this.pattern.length;for(;(i=e.indexOf(this.pattern,r))>-1;)r=i+o,n.push([i,r-1]);const a=!!n.length;return{isMatch:a,score:a?0:1,indices:n}}}const Cn=[Zs,Fo,el,tl,il,rl,Qs,Uo],Wo=Cn.length,nl=/ +(?=(?:[^\"]*\"[^\"]*\")*[^\"]*$)/,ol="|";function al(t,e={}){return t.split(ol).map(r=>{let i=r.trim().split(nl).filter(o=>o&&!!o.trim()),n=[];for(let o=0,a=i.length;o<a;o+=1){const l=i[o];let c=!1,d=-1;for(;!c&&++d<Wo;){const m=Cn[d];let g=m.isMultiMatch(l);g&&(n.push(new m(g,e)),c=!0)}if(!c)for(d=-1;++d<Wo;){const m=Cn[d];let g=m.isSingleMatch(l);if(g){n.push(new m(g,e));break}}}return n})}const sl=new Set([Uo.type,Fo.type]);class ll{constructor(e,{isCaseSensitive:r=X.isCaseSensitive,ignoreDiacritics:i=X.ignoreDiacritics,includeMatches:n=X.includeMatches,minMatchCharLength:o=X.minMatchCharLength,ignoreLocation:a=X.ignoreLocation,findAllMatches:l=X.findAllMatches,location:c=X.location,threshold:d=X.threshold,distance:m=X.distance}={}){this.query=null,this.options={isCaseSensitive:r,ignoreDiacritics:i,includeMatches:n,minMatchCharLength:o,findAllMatches:l,ignoreLocation:a,location:c,threshold:d,distance:m},e=r?e:e.toLowerCase(),e=i?Ti(e):e,this.pattern=e,this.query=al(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:i,isCaseSensitive:n,ignoreDiacritics:o}=this.options;e=n?e:e.toLowerCase(),e=o?Ti(e):e;let a=0,l=[],c=0;for(let d=0,m=r.length;d<m;d+=1){const g=r[d];l.length=0,a=0;for(let w=0,b=g.length;w<b;w+=1){const $=g[w],{isMatch:C,indices:F,score:q}=$.search(e);if(C){if(a+=1,c+=q,i){const ae=$.constructor.type;sl.has(ae)?l=[...l,...F]:l.push(F)}}else{c=0,a=0,l.length=0;break}}if(a){let w={isMatch:!0,score:c/a};return i&&(w.indices=l),w}}return{isMatch:!1,score:1}}}const Ln=[];function cl(...t){Ln.push(...t)}function En(t,e){for(let r=0,i=Ln.length;r<i;r+=1){let n=Ln[r];if(n.condition(t,e))return new n(t,e)}return new Io(t,e)}const Ri={AND:"$and",OR:"$or"},Dn={PATH:"$path",PATTERN:"$val"},Pn=t=>!!(t[Ri.AND]||t[Ri.OR]),dl=t=>!!t[Dn.PATH],ul=t=>!Et(t)&&Ro(t)&&!Pn(t),Vo=t=>({[Ri.AND]:Object.keys(t).map(e=>({[e]:t[e]}))});function Yo(t,e,{auto:r=!0}={}){const i=n=>{let o=Object.keys(n);const a=dl(n);if(!a&&o.length>1&&!Pn(n))return i(Vo(n));if(ul(n)){const c=a?n[Dn.PATH]:o[0],d=a?n[Dn.PATTERN]:n[c];if(!xt(d))throw new Error(Hs(c));const m={keyId:Mn(c),pattern:d};return r&&(m.searcher=En(d,e)),m}let l={children:[],operator:o[0]};return o.forEach(c=>{const d=n[c];Et(d)&&d.forEach(m=>{l.children.push(i(m))})}),l};return Pn(t)||(t=Vo(t)),i(t)}function pl(t,{ignoreFieldNorm:e=X.ignoreFieldNorm}){t.forEach(r=>{let i=1;r.matches.forEach(({key:n,norm:o,score:a})=>{const l=n?n.weight:null;i*=Math.pow(a===0&&l?Number.EPSILON:a,(l||1)*(e?1:o))}),r.score=i})}function fl(t,e){const r=t.matches;e.matches=[],ot(r)&&r.forEach(i=>{if(!ot(i.indices)||!i.indices.length)return;const{indices:n,value:o}=i;let a={indices:n,value:o};i.key&&(a.key=i.key.src),i.idx>-1&&(a.refIndex=i.idx),e.matches.push(a)})}function hl(t,e){e.score=t.score}function ml(t,e,{includeMatches:r=X.includeMatches,includeScore:i=X.includeScore}={}){const n=[];return r&&n.push(fl),i&&n.push(hl),t.map(o=>{const{idx:a}=o,l={item:e[a],refIndex:a};return n.length&&n.forEach(c=>{c(o,l)}),l})}class qt{constructor(e,r={},i){this.options={...X,...r},this.options.useExtendedSearch,this._keyStore=new Fs(this.options.keys),this.setCollection(e,i)}setCollection(e,r){if(this._docs=e,r&&!(r instanceof Sn))throw new Error(Ns);this._myIndex=r||Ho(this.options.keys,this._docs,{getFn:this.options.getFn,fieldNormWeight:this.options.fieldNormWeight})}add(e){ot(e)&&(this._docs.push(e),this._myIndex.add(e))}remove(e=()=>!1){const r=[];for(let i=0,n=this._docs.length;i<n;i+=1){const o=this._docs[i];e(o,i)&&(this.removeAt(i),i-=1,n-=1,r.push(o))}return r}removeAt(e){this._docs.splice(e,1),this._myIndex.removeAt(e)}getIndex(){return this._myIndex}search(e,{limit:r=-1}={}){const{includeMatches:i,includeScore:n,shouldSort:o,sortFn:a,ignoreFieldNorm:l}=this.options;let c=xt(e)?xt(this._docs[0])?this._searchStringList(e):this._searchObjectList(e):this._searchLogical(e);return pl(c,{ignoreFieldNorm:l}),o&&c.sort(a),To(r)&&r>-1&&(c=c.slice(0,r)),ml(c,this._docs,{includeMatches:i,includeScore:n})}_searchStringList(e){const r=En(e,this.options),{records:i}=this._myIndex,n=[];return i.forEach(({v:o,i:a,n:l})=>{if(!ot(o))return;const{isMatch:c,score:d,indices:m}=r.searchIn(o);c&&n.push({item:o,idx:a,matches:[{score:d,value:o,norm:l,indices:m}]})}),n}_searchLogical(e){const r=Yo(e,this.options),i=(l,c,d)=>{if(!l.children){const{keyId:g,searcher:w}=l,b=this._findMatches({key:this._keyStore.get(g),value:this._myIndex.getValueForItemAtKeyId(c,g),searcher:w});return b&&b.length?[{idx:d,item:c,matches:b}]:[]}const m=[];for(let g=0,w=l.children.length;g<w;g+=1){const b=l.children[g],$=i(b,c,d);if($.length)m.push(...$);else if(l.operator===Ri.AND)return[]}return m},n=this._myIndex.records,o={},a=[];return n.forEach(({$:l,i:c})=>{if(ot(l)){let d=i(r,l,c);d.length&&(o[c]||(o[c]={idx:c,item:l,matches:[]},a.push(o[c])),d.forEach(({matches:m})=>{o[c].matches.push(...m)}))}}),a}_searchObjectList(e){const r=En(e,this.options),{keys:i,records:n}=this._myIndex,o=[];return n.forEach(({$:a,i:l})=>{if(!ot(a))return;let c=[];i.forEach((d,m)=>{c.push(...this._findMatches({key:d,value:a[m],searcher:r}))}),c.length&&o.push({idx:l,item:a,matches:c})}),o}_findMatches({key:e,value:r,searcher:i}){if(!ot(r))return[];let n=[];if(Et(r))r.forEach(({v:o,i:a,n:l})=>{if(!ot(o))return;const{isMatch:c,score:d,indices:m}=i.searchIn(o);c&&n.push({score:d,key:e,value:o,idx:a,norm:l,indices:m})});else{const{v:o,n:a}=r,{isMatch:l,score:c,indices:d}=i.searchIn(o);l&&n.push({score:c,key:e,value:o,norm:a,indices:d})}return n}}qt.version="7.1.0",qt.createIndex=Ho,qt.parseIndex=Ks,qt.config=X,qt.parseQuery=Yo,cl(ll);function Ko(t,e){const r=new qt(e.filterProperties,{keys:["title"]});if(!(t.target instanceof HTMLInputElement))return;const i=t.target.value,o=r.search(i).map(a=>a.item.key||a.item.keys.join("|"));Object.keys(e.filters).forEach(a=>{e.querySelector(`[data-details="${a}"]`).parentElement.style.display=o.includes(a)||!i?"":"none"})}function gl(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 Tn=Math.min,_r=Math.max,Oi=Math.round,ji=Math.floor,wt=t=>({x:t,y:t});function Go(t){return t.split("-")[0]}function bl(t){return t.split("-")[1]}function vl(t){return t==="x"?"y":"x"}function yl(t){return t==="y"?"height":"width"}function Xo(t){return["top","bottom"].includes(Go(t))?"y":"x"}function xl(t){return vl(Xo(t))}function Jo(t){const{x:e,y:r,width:i,height:n}=t;return{width:i,height:n,top:r,left:e,right:e+i,bottom:r+n,x:e,y:r}}function Zo(t,e,r){let{reference:i,floating:n}=t;const o=Xo(e),a=xl(e),l=yl(a),c=Go(e),d=o==="y",m=i.x+i.width/2-n.width/2,g=i.y+i.height/2-n.height/2,w=i[l]/2-n[l]/2;let b;switch(c){case"top":b={x:m,y:i.y-n.height};break;case"bottom":b={x:m,y:i.y+i.height};break;case"right":b={x:i.x+i.width,y:g};break;case"left":b={x:i.x-n.width,y:g};break;default:b={x:i.x,y:i.y}}switch(bl(e)){case"start":b[a]-=w*(r&&d?-1:1);break;case"end":b[a]+=w*(r&&d?-1:1);break}return b}const wl=async(t,e,r)=>{const{placement:i="bottom",strategy:n="absolute",middleware:o=[],platform:a}=r,l=o.filter(Boolean),c=await(a.isRTL==null?void 0:a.isRTL(e));let d=await a.getElementRects({reference:t,floating:e,strategy:n}),{x:m,y:g}=Zo(d,i,c),w=i,b={},$=0;for(let C=0;C<l.length;C++){const{name:F,fn:q}=l[C],{x:ae,y:te,data:se,reset:R}=await q({x:m,y:g,initialPlacement:i,placement:w,strategy:n,middlewareData:b,rects:d,platform:a,elements:{reference:t,floating:e}});m=ae??m,g=te??g,b={...b,[F]:{...b[F],...se}},R&&$<=50&&($++,typeof R=="object"&&(R.placement&&(w=R.placement),R.rects&&(d=R.rects===!0?await a.getElementRects({reference:t,floating:e,strategy:n}):R.rects),{x:m,y:g}=Zo(d,w,c)),C=-1)}return{x:m,y:g,placement:w,strategy:n,middlewareData:b}};function Bi(){return typeof window<"u"}function $r(t){return Qo(t)?(t.nodeName||"").toLowerCase():"#document"}function at(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function kt(t){var e;return(e=(Qo(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function Qo(t){return Bi()?t instanceof Node||t instanceof at(t).Node:!1}function vt(t){return Bi()?t instanceof Element||t instanceof at(t).Element:!1}function _t(t){return Bi()?t instanceof HTMLElement||t instanceof at(t).HTMLElement:!1}function ea(t){return!Bi()||typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof at(t).ShadowRoot}function ri(t){const{overflow:e,overflowX:r,overflowY:i,display:n}=yt(t);return/auto|scroll|overlay|hidden|clip/.test(e+i+r)&&!["inline","contents"].includes(n)}function kl(t){return["table","td","th"].includes($r(t))}function Ni(t){return[":popover-open",":modal"].some(e=>{try{return t.matches(e)}catch{return!1}})}function Rn(t){const e=On(),r=vt(t)?yt(t):t;return["transform","translate","scale","rotate","perspective"].some(i=>r[i]?r[i]!=="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(i=>(r.willChange||"").includes(i))||["paint","layout","strict","content"].some(i=>(r.contain||"").includes(i))}function _l(t){let e=Ut(t);for(;_t(e)&&!Ar(e);){if(Rn(e))return e;if(Ni(e))return null;e=Ut(e)}return null}function On(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function Ar(t){return["html","body","#document"].includes($r(t))}function yt(t){return at(t).getComputedStyle(t)}function Hi(t){return vt(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.scrollX,scrollTop:t.scrollY}}function Ut(t){if($r(t)==="html")return t;const e=t.assignedSlot||t.parentNode||ea(t)&&t.host||kt(t);return ea(e)?e.host:e}function ta(t){const e=Ut(t);return Ar(e)?t.ownerDocument?t.ownerDocument.body:t.body:_t(e)&&ri(e)?e:ta(e)}function ii(t,e,r){var i;e===void 0&&(e=[]),r===void 0&&(r=!0);const n=ta(t),o=n===((i=t.ownerDocument)==null?void 0:i.body),a=at(n);if(o){const l=jn(a);return e.concat(a,a.visualViewport||[],ri(n)?n:[],l&&r?ii(l):[])}return e.concat(n,ii(n,[],r))}function jn(t){return t.parent&&Object.getPrototypeOf(t.parent)?t.frameElement:null}function ra(t){const e=yt(t);let r=parseFloat(e.width)||0,i=parseFloat(e.height)||0;const n=_t(t),o=n?t.offsetWidth:r,a=n?t.offsetHeight:i,l=Oi(r)!==o||Oi(i)!==a;return l&&(r=o,i=a),{width:r,height:i,$:l}}function Bn(t){return vt(t)?t:t.contextElement}function zr(t){const e=Bn(t);if(!_t(e))return wt(1);const r=e.getBoundingClientRect(),{width:i,height:n,$:o}=ra(e);let a=(o?Oi(r.width):r.width)/i,l=(o?Oi(r.height):r.height)/n;return(!a||!Number.isFinite(a))&&(a=1),(!l||!Number.isFinite(l))&&(l=1),{x:a,y:l}}const $l=wt(0);function ia(t){const e=at(t);return!On()||!e.visualViewport?$l:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function Al(t,e,r){return e===void 0&&(e=!1),!r||e&&r!==at(t)?!1:e}function ir(t,e,r,i){e===void 0&&(e=!1),r===void 0&&(r=!1);const n=t.getBoundingClientRect(),o=Bn(t);let a=wt(1);e&&(i?vt(i)&&(a=zr(i)):a=zr(t));const l=Al(o,r,i)?ia(o):wt(0);let c=(n.left+l.x)/a.x,d=(n.top+l.y)/a.y,m=n.width/a.x,g=n.height/a.y;if(o){const w=at(o),b=i&&vt(i)?at(i):i;let $=w,C=jn($);for(;C&&i&&b!==$;){const F=zr(C),q=C.getBoundingClientRect(),ae=yt(C),te=q.left+(C.clientLeft+parseFloat(ae.paddingLeft))*F.x,se=q.top+(C.clientTop+parseFloat(ae.paddingTop))*F.y;c*=F.x,d*=F.y,m*=F.x,g*=F.y,c+=te,d+=se,$=at(C),C=jn($)}}return Jo({width:m,height:g,x:c,y:d})}function Nn(t,e){const r=Hi(t).scrollLeft;return e?e.left+r:ir(kt(t)).left+r}function na(t,e,r){r===void 0&&(r=!1);const i=t.getBoundingClientRect(),n=i.left+e.scrollLeft-(r?0:Nn(t,i)),o=i.top+e.scrollTop;return{x:n,y:o}}function zl(t){let{elements:e,rect:r,offsetParent:i,strategy:n}=t;const o=n==="fixed",a=kt(i),l=e?Ni(e.floating):!1;if(i===a||l&&o)return r;let c={scrollLeft:0,scrollTop:0},d=wt(1);const m=wt(0),g=_t(i);if((g||!g&&!o)&&(($r(i)!=="body"||ri(a))&&(c=Hi(i)),_t(i))){const b=ir(i);d=zr(i),m.x=b.x+i.clientLeft,m.y=b.y+i.clientTop}const w=a&&!g&&!o?na(a,c,!0):wt(0);return{width:r.width*d.x,height:r.height*d.y,x:r.x*d.x-c.scrollLeft*d.x+m.x+w.x,y:r.y*d.y-c.scrollTop*d.y+m.y+w.y}}function Ml(t){return Array.from(t.getClientRects())}function Sl(t){const e=kt(t),r=Hi(t),i=t.ownerDocument.body,n=_r(e.scrollWidth,e.clientWidth,i.scrollWidth,i.clientWidth),o=_r(e.scrollHeight,e.clientHeight,i.scrollHeight,i.clientHeight);let a=-r.scrollLeft+Nn(t);const l=-r.scrollTop;return yt(i).direction==="rtl"&&(a+=_r(e.clientWidth,i.clientWidth)-n),{width:n,height:o,x:a,y:l}}function Cl(t,e){const r=at(t),i=kt(t),n=r.visualViewport;let o=i.clientWidth,a=i.clientHeight,l=0,c=0;if(n){o=n.width,a=n.height;const d=On();(!d||d&&e==="fixed")&&(l=n.offsetLeft,c=n.offsetTop)}return{width:o,height:a,x:l,y:c}}function Ll(t,e){const r=ir(t,!0,e==="fixed"),i=r.top+t.clientTop,n=r.left+t.clientLeft,o=_t(t)?zr(t):wt(1),a=t.clientWidth*o.x,l=t.clientHeight*o.y,c=n*o.x,d=i*o.y;return{width:a,height:l,x:c,y:d}}function oa(t,e,r){let i;if(e==="viewport")i=Cl(t,r);else if(e==="document")i=Sl(kt(t));else if(vt(e))i=Ll(e,r);else{const n=ia(t);i={x:e.x-n.x,y:e.y-n.y,width:e.width,height:e.height}}return Jo(i)}function aa(t,e){const r=Ut(t);return r===e||!vt(r)||Ar(r)?!1:yt(r).position==="fixed"||aa(r,e)}function El(t,e){const r=e.get(t);if(r)return r;let i=ii(t,[],!1).filter(l=>vt(l)&&$r(l)!=="body"),n=null;const o=yt(t).position==="fixed";let a=o?Ut(t):t;for(;vt(a)&&!Ar(a);){const l=yt(a),c=Rn(a);!c&&l.position==="fixed"&&(n=null),(o?!c&&!n:!c&&l.position==="static"&&!!n&&["absolute","fixed"].includes(n.position)||ri(a)&&!c&&aa(t,a))?i=i.filter(m=>m!==a):n=l,a=Ut(a)}return e.set(t,i),i}function Dl(t){let{element:e,boundary:r,rootBoundary:i,strategy:n}=t;const a=[...r==="clippingAncestors"?Ni(e)?[]:El(e,this._c):[].concat(r),i],l=a[0],c=a.reduce((d,m)=>{const g=oa(e,m,n);return d.top=_r(g.top,d.top),d.right=Tn(g.right,d.right),d.bottom=Tn(g.bottom,d.bottom),d.left=_r(g.left,d.left),d},oa(e,l,n));return{width:c.right-c.left,height:c.bottom-c.top,x:c.left,y:c.top}}function Pl(t){const{width:e,height:r}=ra(t);return{width:e,height:r}}function Tl(t,e,r){const i=_t(e),n=kt(e),o=r==="fixed",a=ir(t,!0,o,e);let l={scrollLeft:0,scrollTop:0};const c=wt(0);if(i||!i&&!o)if(($r(e)!=="body"||ri(n))&&(l=Hi(e)),i){const w=ir(e,!0,o,e);c.x=w.x+e.clientLeft,c.y=w.y+e.clientTop}else n&&(c.x=Nn(n));const d=n&&!i&&!o?na(n,l):wt(0),m=a.left+l.scrollLeft-c.x-d.x,g=a.top+l.scrollTop-c.y-d.y;return{x:m,y:g,width:a.width,height:a.height}}function Hn(t){return yt(t).position==="static"}function sa(t,e){if(!_t(t)||yt(t).position==="fixed")return null;if(e)return e(t);let r=t.offsetParent;return kt(t)===r&&(r=r.ownerDocument.body),r}function la(t,e){const r=at(t);if(Ni(t))return r;if(!_t(t)){let n=Ut(t);for(;n&&!Ar(n);){if(vt(n)&&!Hn(n))return n;n=Ut(n)}return r}let i=sa(t,e);for(;i&&kl(i)&&Hn(i);)i=sa(i,e);return i&&Ar(i)&&Hn(i)&&!Rn(i)?r:i||_l(t)||r}const Rl=async function(t){const e=this.getOffsetParent||la,r=this.getDimensions,i=await r(t.floating);return{reference:Tl(t.reference,await e(t.floating),t.strategy),floating:{x:0,y:0,width:i.width,height:i.height}}};function Ol(t){return yt(t).direction==="rtl"}const jl={convertOffsetParentRelativeRectToViewportRelativeRect:zl,getDocumentElement:kt,getClippingRect:Dl,getOffsetParent:la,getElementRects:Rl,getClientRects:Ml,getDimensions:Pl,getScale:zr,isElement:vt,isRTL:Ol};function ca(t,e){return t.x===e.x&&t.y===e.y&&t.width===e.width&&t.height===e.height}function Bl(t,e){let r=null,i;const n=kt(t);function o(){var l;clearTimeout(i),(l=r)==null||l.disconnect(),r=null}function a(l,c){l===void 0&&(l=!1),c===void 0&&(c=1),o();const d=t.getBoundingClientRect(),{left:m,top:g,width:w,height:b}=d;if(l||e(),!w||!b)return;const $=ji(g),C=ji(n.clientWidth-(m+w)),F=ji(n.clientHeight-(g+b)),q=ji(m),te={rootMargin:-$+"px "+-C+"px "+-F+"px "+-q+"px",threshold:_r(0,Tn(1,c))||1};let se=!0;function R(le){const ne=le[0].intersectionRatio;if(ne!==c){if(!se)return a();ne?a(!1,ne):i=setTimeout(()=>{a(!1,1e-7)},1e3)}ne===1&&!ca(d,t.getBoundingClientRect())&&a(),se=!1}try{r=new IntersectionObserver(R,{...te,root:n.ownerDocument})}catch{r=new IntersectionObserver(R,te)}r.observe(t)}return a(!0),o}function Nl(t,e,r,i){i===void 0&&(i={});const{ancestorScroll:n=!0,ancestorResize:o=!0,elementResize:a=typeof ResizeObserver=="function",layoutShift:l=typeof IntersectionObserver=="function",animationFrame:c=!1}=i,d=Bn(t),m=n||o?[...d?ii(d):[],...ii(e)]:[];m.forEach(q=>{n&&q.addEventListener("scroll",r,{passive:!0}),o&&q.addEventListener("resize",r)});const g=d&&l?Bl(d,r):null;let w=-1,b=null;a&&(b=new ResizeObserver(q=>{let[ae]=q;ae&&ae.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 $,C=c?ir(t):null;c&&F();function F(){const q=ir(t);C&&!ca(C,q)&&r(),C=q,$=requestAnimationFrame(F)}return r(),()=>{var q;m.forEach(ae=>{n&&ae.removeEventListener("scroll",r),o&&ae.removeEventListener("resize",r)}),g==null||g(),(q=b)==null||q.disconnect(),b=null,c&&cancelAnimationFrame($)}}const Hl=(t,e,r)=>{const i=new Map,n={platform:jl,...r},o={...n.platform,_c:i};return wl(t,e,{...n,platform:o})};function Il(t){const e=t.renderRoot.querySelector(".inline-container-wrapper"),r=t.renderRoot.querySelector("[popover]");return Nl(e,r,()=>{r.matches(":popover-open")&&Hl(e,r,{strategy:"fixed"}).then(({x:n,y:o})=>{Object.assign(r.style,{left:`${n}px`,top:`${o}px`,width:`${e.getBoundingClientRect().width}px`})})},{animationFrame:!0})}function da(t){t.renderRoot.querySelector("#eox-itemfilter-input-search").value="",Ko({target:{value:""}},t)}function ql(t,e){e.inlineMode&&t.stopPropagation()}function Ul(t){t.inlineMode&&(t.showDropdown=!0)}function Fl(t,e){e.inlineMode&&(t.stopPropagation(),e.showDropdown=!0)}function Wl(t,e){e.inlineMode&&t.key==="Escape"&&e.showDropdown&&(da(e),e.showDropdown=!1)}function Vl(t,e){e.inlineMode&&t.target instanceof HTMLElement&&t.target.tagName!=="DROPDOWN-FORM"&&t.target.tagName!=="EOX-ITEMFILTER"&&e.showDropdown&&(da(e),e.showDropdown=!1)}function Yl(t,e){var r=0,i=0,n=0,o=0,a=0,l=0,c=0,d=0,m=null,g=null,w=t[0],b=t[1],$=e.length;for(r;r<$;r++){i=0;var C=e[r].length-1,F=e[r];if(m=F[0],m[0]!==F[C][0]&&m[1]!==F[C][1])throw new Error("First and last coordinates in a ring must be the same");for(a=m[0]-w,l=m[1]-b,i;i<C;i++){if(g=F[i+1],d=g[1]-b,l<0&&d<0||l>0&&d>0){m=g,l=d,a=m[0]-w;continue}if(c=g[0]-t[0],d>0&&l<=0){if(o=a*d-c*l,o>0)n=n+1;else if(o===0)return 0}else if(l>0&&d<=0){if(o=a*d-c*l,o<0)n=n+1;else if(o===0)return 0}else if(d===0&&l<0){if(o=a*d-c*l,o===0)return 0}else if(l===0&&d<0){if(o=a*d-c*l,o===0)return 0}else if(l===0&&d===0){if(c<=0&&a>=0)return 0;if(a<=0&&c>=0)return 0}m=g,l=d,a=c}}return n%2!==0}function nr(t,e,r={}){const i={type:"Feature"};return(r.id===0||r.id)&&(i.id=r.id),r.bbox&&(i.bbox=r.bbox),i.properties=e||{},i.geometry=t,i}function Kl(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(!ua(t[0])||!ua(t[1]))throw new Error("coordinates must contain numbers");return nr({type:"Point",coordinates:t},e,r)}function Gl(t,e,r={}){if(t.length<2)throw new Error("coordinates must be an array of two or more positions");return nr({type:"LineString",coordinates:t},e,r)}function In(t,e={}){const r={type:"FeatureCollection"};return e.id&&(r.id=e.id),e.bbox&&(r.bbox=e.bbox),r.features=t,r}function Xl(t,e,r={}){return nr({type:"MultiLineString",coordinates:t},e,r)}function ua(t){return!isNaN(t)&&t!==null&&!Array.isArray(t)}function pa(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 Jl(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 Mr(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 i=pa(t),n=Mr(e),o=n.type,a=e.bbox;let l=n.coordinates;if(a&&Zl(i,a)===!1)return!1;o==="Polygon"&&(l=[l]);let c=!1;for(var d=0;d<l.length;++d){const m=Yl(i,l[d]);if(m===0)return!r.ignoreBoundary;m&&(c=!0)}return c}function Zl(t,e){return e[0]<=t[0]&&e[1]<=t[1]&&e[2]>=t[0]&&e[3]>=t[1]}class fa{constructor(e=[],r=Ql){if(this.data=e,this.length=this.data.length,this.compare=r,this.length>0)for(let i=(this.length>>1)-1;i>=0;i--)this._down(i)}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:i}=this,n=r[e];for(;e>0;){const o=e-1>>1,a=r[o];if(i(n,a)>=0)break;r[e]=a,e=o}r[e]=n}_down(e){const{data:r,compare:i}=this,n=this.length>>1,o=r[e];for(;e<n;){let a=(e<<1)+1,l=r[a];const c=a+1;if(c<this.length&&i(r[c],l)<0&&(a=c,l=r[c]),i(l,o)>=0)break;r[e]=l,e=a}r[e]=o}}function Ql(t,e){return t<e?-1:t>e?1:0}function ha(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 ec(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 ma{constructor(e,r,i,n){this.p={x:e[0],y:e[1]},this.featureId=r,this.ringId=i,this.eventId=n,this.otherEvent=null,this.isLeftEndpoint=null}isSamePoint(e){return this.p.x===e.p.x&&this.p.y===e.p.y}}function tc(t,e){if(t.type==="FeatureCollection"){const r=t.features;for(let i=0;i<r.length;i++)ga(r[i],e)}else ga(t,e)}let Ii=0,qi=0,Ui=0;function ga(t,e){const r=t.type==="Feature"?t.geometry:t;let i=r.coordinates;(r.type==="Polygon"||r.type==="MultiLineString")&&(i=[i]),r.type==="LineString"&&(i=[[i]]);for(let n=0;n<i.length;n++)for(let o=0;o<i[n].length;o++){let a=i[n][o][0],l=null;qi=qi+1;for(let c=0;c<i[n][o].length-1;c++){l=i[n][o][c+1];const d=new ma(a,Ii,qi,Ui),m=new ma(l,Ii,qi,Ui+1);d.otherEvent=m,m.otherEvent=d,ha(d,m)>0?(m.isLeftEndpoint=!0,d.isLeftEndpoint=!1):(d.isLeftEndpoint=!0,m.isLeftEndpoint=!1),e.push(d),e.push(m),a=l,Ui=Ui+1}}Ii=Ii+1}class rc{constructor(e){this.leftSweepEvent=e,this.rightSweepEvent=e.otherEvent}}function ic(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,i=t.leftSweepEvent.p.y,n=t.rightSweepEvent.p.x,o=t.rightSweepEvent.p.y,a=e.leftSweepEvent.p.x,l=e.leftSweepEvent.p.y,c=e.rightSweepEvent.p.x,d=e.rightSweepEvent.p.y,m=(d-l)*(n-r)-(c-a)*(o-i),g=(c-a)*(i-l)-(d-l)*(r-a),w=(n-r)*(i-l)-(o-i)*(r-a);if(m===0)return!1;const b=g/m,$=w/m;if(b>=0&&b<=1&&$>=0&&$<=1){const C=r+b*(n-r),F=i+b*(o-i);return[C,F]}return!1}function nc(t,e){e=e||!1;const r=[],i=new fa([],ec);for(;t.length;){const n=t.pop();if(n.isLeftEndpoint){const o=new rc(n);for(let a=0;a<i.data.length;a++){const l=i.data[a];if(e&&l.leftSweepEvent.featureId===n.featureId)continue;const c=ic(o,l);c!==!1&&r.push(c)}i.push(o)}else n.isLeftEndpoint===!1&&i.pop()}return r}function oc(t,e){const r=new fa([],ha);return tc(t,r),nc(r,e)}var ac=oc;function qn(t,e,r={}){const{removeDuplicates:i=!0,ignoreSelfIntersections:n=!0}=r;let o=[];t.type==="FeatureCollection"?o=o.concat(t.features):t.type==="Feature"?o.push(t):(t.type==="LineString"||t.type==="Polygon"||t.type==="MultiLineString"||t.type==="MultiPolygon")&&o.push(nr(t)),e.type==="FeatureCollection"?o=o.concat(e.features):e.type==="Feature"?o.push(e):(e.type==="LineString"||e.type==="Polygon"||e.type==="MultiLineString"||e.type==="MultiPolygon")&&o.push(nr(e));const a=ac(In(o),n);let l=[];if(i){const c={};a.forEach(d=>{const m=d.join(",");c[m]||(c[m]=!0,l.push(d))})}else l=a;return In(l.map(c=>Kl(c)))}function ba(t,e,r){if(t!==null)for(var i,n,o,a,l,c,d,m=0,g=0,w,b=t.type,$=b==="FeatureCollection",C=b==="Feature",F=$?t.features.length:1,q=0;q<F;q++){d=$?t.features[q].geometry:C?t.geometry:t,w=d?d.type==="GeometryCollection":!1,l=w?d.geometries.length:1;for(var ae=0;ae<l;ae++){var te=0,se=0;if(a=w?d.geometries[ae]:d,a!==null){c=a.coordinates;var R=a.type;switch(m=0,R){case null:break;case"Point":if(e(c,g,q,te,se)===!1)return!1;g++,te++;break;case"LineString":case"MultiPoint":for(i=0;i<c.length;i++){if(e(c[i],g,q,te,se)===!1)return!1;g++,R==="MultiPoint"&&te++}R==="LineString"&&te++;break;case"Polygon":case"MultiLineString":for(i=0;i<c.length;i++){for(n=0;n<c[i].length-m;n++){if(e(c[i][n],g,q,te,se)===!1)return!1;g++}R==="MultiLineString"&&te++,R==="Polygon"&&se++}R==="Polygon"&&te++;break;case"MultiPolygon":for(i=0;i<c.length;i++){for(se=0,n=0;n<c[i].length;n++){for(o=0;o<c[i][n].length-m;o++){if(e(c[i][n][o],g,q,te,se)===!1)return!1;g++}se++}te++}break;case"GeometryCollection":for(i=0;i<a.geometries.length;i++)if(ba(a.geometries[i],e)===!1)return!1;break;default:throw new Error("Unknown Geometry Type")}}}}}function sc(t,e){var r,i,n,o,a,l,c,d,m,g,w=0,b=t.type==="FeatureCollection",$=t.type==="Feature",C=b?t.features.length:1;for(r=0;r<C;r++){for(l=b?t.features[r].geometry:$?t.geometry:t,d=b?t.features[r].properties:$?t.properties:{},m=b?t.features[r].bbox:$?t.bbox:void 0,g=b?t.features[r].id:$?t.id:void 0,c=l?l.type==="GeometryCollection":!1,a=c?l.geometries.length:1,n=0;n<a;n++){if(o=c?l.geometries[n]:l,o===null){if(e(null,w,d,m,g)===!1)return!1;continue}switch(o.type){case"Point":case"LineString":case"MultiPoint":case"Polygon":case"MultiLineString":case"MultiPolygon":{if(e(o,w,d,m,g)===!1)return!1;break}case"GeometryCollection":{for(i=0;i<o.geometries.length;i++)if(e(o.geometries[i],w,d,m,g)===!1)return!1;break}default:throw new Error("Unknown Geometry Type")}}w++}}function Fi(t,e){sc(t,function(r,i,n,o,a){var l=r===null?null:r.type;switch(l){case null:case"Point":case"LineString":case"Polygon":return e(nr(r,n,{bbox:o,id:a}),i,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 m=r.coordinates[d],g={type:c,coordinates:m};if(e(nr(g,n),i,d)===!1)return!1}})}function Un(t,e={}){const r=Mr(t);switch(!e.properties&&t.type==="Feature"&&(e.properties=t.properties),r.type){case"Polygon":return lc(r,e);case"MultiPolygon":return cc(r,e);default:throw new Error("invalid poly")}}function lc(t,e={}){const i=Mr(t).coordinates,n=e.properties?e.properties:t.type==="Feature"?t.properties:{};return va(i,n)}function cc(t,e={}){const i=Mr(t).coordinates,n=e.properties?e.properties:t.type==="Feature"?t.properties:{},o=[];return i.forEach(a=>{o.push(va(a,n))}),In(o)}function va(t,e){return t.length>1?Xl(t,e):Gl(t[0],e)}function dc(t,e,{ignoreSelfIntersections:r=!0}={ignoreSelfIntersections:!0}){let i=!0;return Fi(t,n=>{Fi(e,o=>{if(i===!1)return!1;i=uc(n.geometry,o.geometry,r)})}),i}function uc(t,e,r){switch(t.type){case"Point":switch(e.type){case"Point":return!mc(t.coordinates,e.coordinates);case"LineString":return!ya(e,t);case"Polygon":return!ft(t,e)}break;case"LineString":switch(e.type){case"Point":return!ya(t,e);case"LineString":return!pc(t,e,r);case"Polygon":return!xa(e,t,r)}break;case"Polygon":switch(e.type){case"Point":return!ft(e,t);case"LineString":return!xa(t,e,r);case"Polygon":return!fc(e,t,r)}}return!1}function ya(t,e){for(let r=0;r<t.coordinates.length-1;r++)if(hc(t.coordinates[r],t.coordinates[r+1],e.coordinates))return!0;return!1}function pc(t,e,r){return qn(t,e,{ignoreSelfIntersections:r}).features.length>0}function xa(t,e,r){for(const n of e.coordinates)if(ft(n,t))return!0;return qn(e,Un(t),{ignoreSelfIntersections:r}).features.length>0}function fc(t,e,r){for(const n of t.coordinates[0])if(ft(n,e))return!0;for(const n of e.coordinates[0])if(ft(n,t))return!0;return qn(Un(t),Un(e),{ignoreSelfIntersections:r}).features.length>0}function hc(t,e,r){const i=r[0]-t[0],n=r[1]-t[1],o=e[0]-t[0],a=e[1]-t[1];return i*a-n*o!==0?!1:Math.abs(o)>=Math.abs(a)?o>0?t[0]<=r[0]&&r[0]<=e[0]:e[0]<=r[0]&&r[0]<=t[0]:a>0?t[1]<=r[1]&&r[1]<=e[1]:e[1]<=r[1]&&r[1]<=t[1]}function mc(t,e){return t[0]===e[0]&&t[1]===e[1]}function gc(t,e,{ignoreSelfIntersections:r=!0}={}){let i=!1;return Fi(t,n=>{Fi(e,o=>{if(i===!0)return!0;i=!dc(n.geometry,o.geometry,{ignoreSelfIntersections:r})})}),i}var bc=gc;function Wi(t,e={}){if(t.bbox!=null&&e.recompute!==!0)return t.bbox;const r=[1/0,1/0,-1/0,-1/0];return ba(t,i=>{r[0]>i[0]&&(r[0]=i[0]),r[1]>i[1]&&(r[1]=i[1]),r[2]<i[0]&&(r[2]=i[0]),r[3]<i[1]&&(r[3]=i[1])}),r}function Vi(t,e,r={}){const i=pa(t),n=Jl(e);for(let o=0;o<n.length-1;o++){let a=!1;if(r.ignoreEndVertices&&(o===0&&(a="start"),o===n.length-2&&(a="end"),o===0&&o+1===n.length-1&&(a="both")),vc(n[o],n[o+1],i,a,typeof r.epsilon>"u"?null:r.epsilon))return!0}return!1}function vc(t,e,r,i,n){const o=r[0],a=r[1],l=t[0],c=t[1],d=e[0],m=e[1],g=r[0]-l,w=r[1]-c,b=d-l,$=m-c,C=g*$-w*b;if(n!==null){if(Math.abs(C)>n)return!1}else if(C!==0)return!1;if(Math.abs(b)===Math.abs($)&&Math.abs(b)===0)return i?!1:r[0]===t[0]&&r[1]===t[1];if(i){if(i==="start")return Math.abs(b)>=Math.abs($)?b>0?l<o&&o<=d:d<=o&&o<l:$>0?c<a&&a<=m:m<=a&&a<c;if(i==="end")return Math.abs(b)>=Math.abs($)?b>0?l<=o&&o<d:d<o&&o<=l:$>0?c<=a&&a<m:m<a&&a<=c;if(i==="both")return Math.abs(b)>=Math.abs($)?b>0?l<o&&o<d:d<o&&o<l:$>0?c<a&&a<m:m<a&&a<c}else return Math.abs(b)>=Math.abs($)?b>0?l<=o&&o<=d:d<=o&&o<=l:$>0?c<=a&&a<=m:m<=a&&a<=c;return!1}function yc(t,e){var r=Mr(t),i=Mr(e),n=r.type,o=i.type;switch(n){case"Point":switch(o){case"MultiPoint":return xc(r,i);case"LineString":return Vi(r,i,{ignoreEndVertices:!0});case"Polygon":case"MultiPolygon":return ft(r,i,{ignoreBoundary:!0});default:throw new Error("feature2 "+o+" geometry not supported")}case"MultiPoint":switch(o){case"MultiPoint":return wc(r,i);case"LineString":return kc(r,i);case"Polygon":case"MultiPolygon":return _c(r,i);default:throw new Error("feature2 "+o+" geometry not supported")}case"LineString":switch(o){case"LineString":return $c(r,i);case"Polygon":case"MultiPolygon":return Ac(r,i);default:throw new Error("feature2 "+o+" geometry not supported")}case"Polygon":switch(o){case"Polygon":case"MultiPolygon":return zc(r,i);default:throw new Error("feature2 "+o+" geometry not supported")}default:throw new Error("feature1 "+n+" geometry not supported")}}function xc(t,e){var r,i=!1;for(r=0;r<e.coordinates.length;r++)if(ka(e.coordinates[r],t.coordinates)){i=!0;break}return i}function wc(t,e){for(var r=0;r<t.coordinates.length;r++){for(var i=!1,n=0;n<e.coordinates.length;n++)ka(t.coordinates[r],e.coordinates[n])&&(i=!0);if(!i)return!1}return!0}function kc(t,e){for(var r=!1,i=0;i<t.coordinates.length;i++){if(!Vi(t.coordinates[i],e))return!1;r||(r=Vi(t.coordinates[i],e,{ignoreEndVertices:!0}))}return r}function _c(t,e){for(var r=!0,i=!1,n=0;n<t.coordinates.length;n++){if(i=ft(t.coordinates[n],e),!i){r=!1;break}i=ft(t.coordinates[n],e,{ignoreBoundary:!0})}return r&&i}function $c(t,e){for(var r=0;r<t.coordinates.length;r++)if(!Vi(t.coordinates[r],e))return!1;return!0}function Ac(t,e){var r=Wi(e),i=Wi(t);if(!wa(r,i))return!1;for(var n=!1,o=0;o<t.coordinates.length;o++){if(!ft(t.coordinates[o],e))return!1;if(n||(n=ft(t.coordinates[o],e,{ignoreBoundary:!0})),!n&&o<t.coordinates.length-1){var a=Mc(t.coordinates[o],t.coordinates[o+1]);n=ft(a,e,{ignoreBoundary:!0})}}return n}function zc(t,e){var r=Wi(t),i=Wi(e);if(!wa(i,r))return!1;for(var n=0;n<t.coordinates[0].length;n++)if(!ft(t.coordinates[0][n],e))return!1;return!0}function wa(t,e){return!(t[0]>e[0]||t[2]<e[2]||t[1]>e[1]||t[3]<e[3])}function ka(t,e){return t[0]===e[0]&&t[1]===e[1]}function Mc(t,e){return[(t[0]+e[0])/2,(t[1]+e[1])/2]}var Sc=yc;const Cc=(t,e)=>e?bc(t,e):!0,Lc=(t,e)=>e?Sc(t,e):!0;function Ec(t,e="highlight",r="title"){const i=(o,a,l)=>{const c=a.split(".");let d;for(d=0;d<c.length-1;d++)o=o[c[d]];o[c[d]]=l},n=(o,a=[])=>{let l="",c=0;return a.forEach(d=>{const m=d[1]+1;l+=[o.substring(c,d[0]),`<mark class="${e}">`,o.substring(d[0],m),"</mark>"].join(""),c=m}),l+=o.substring(c),l};return t.filter(({matches:o})=>o&&o.length).map(({item:o,matches:a})=>{const l={...o};return a.forEach(c=>{c.key===r&&i(l,c.key,n(c.value,c.indices))}),l})}var ht=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Yi(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var Ki={exports:{}},Dc=Ki.exports,_a;function Pc(){return _a||(_a=1,function(t,e){(function(r,i){t.exports=i()})(Dc,function(){var r=1e3,i=6e4,n=36e5,o="millisecond",a="second",l="minute",c="hour",d="day",m="week",g="month",w="quarter",b="year",$="date",C="Invalid Date",F=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,q=/\[([^\]]+)]|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,ae={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(E){var M=["th","st","nd","rd"],z=E%100;return"["+E+(M[(z-20)%10]||M[z]||M[0])+"]"}},te=function(E,M,z){var N=String(E);return!N||N.length>=M?E:""+Array(M+1-N.length).join(z)+E},se={s:te,z:function(E){var M=-E.utcOffset(),z=Math.abs(M),N=Math.floor(z/60),L=z%60;return(M<=0?"+":"-")+te(N,2,"0")+":"+te(L,2,"0")},m:function E(M,z){if(M.date()<z.date())return-E(z,M);var N=12*(z.year()-M.year())+(z.month()-M.month()),L=M.clone().add(N,g),Y=z-L<0,K=M.clone().add(N+(Y?-1:1),g);return+(-(N+(z-L)/(Y?L-K:K-L))||0)},a:function(E){return E<0?Math.ceil(E)||0:Math.floor(E)},p:function(E){return{M:g,y:b,w:m,d,D:$,h:c,m:l,s:a,ms:o,Q:w}[E]||String(E||"").toLowerCase().replace(/s$/,"")},u:function(E){return E===void 0}},R="en",le={};le[R]=ae;var ne="$isDayjsObject",ke=function(E){return E instanceof ye||!(!E||!E[ne])},_e=function E(M,z,N){var L;if(!M)return R;if(typeof M=="string"){var Y=M.toLowerCase();le[Y]&&(L=Y),z&&(le[Y]=z,L=Y);var K=M.split("-");if(!L&&K.length>1)return E(K[0])}else{var ie=M.name;le[ie]=M,L=ie}return!N&&L&&(R=L),L||!N&&R},he=function(E,M){if(ke(E))return E.clone();var z=typeof M=="object"?M:{};return z.date=E,z.args=arguments,new ye(z)},ee=se;ee.l=_e,ee.i=ke,ee.w=function(E,M){return he(E,{locale:M.$L,utc:M.$u,x:M.$x,$offset:M.$offset})};var ye=function(){function E(z){this.$L=_e(z.locale,null,!0),this.parse(z),this.$x=this.$x||z.x||{},this[ne]=!0}var M=E.prototype;return M.parse=function(z){this.$d=function(N){var L=N.date,Y=N.utc;if(L===null)return new Date(NaN);if(ee.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(F);if(K){var ie=K[2]-1||0,me=(K[7]||"0").substring(0,3);return Y?new Date(Date.UTC(K[1],ie,K[3]||1,K[4]||0,K[5]||0,K[6]||0,me)):new Date(K[1],ie,K[3]||1,K[4]||0,K[5]||0,K[6]||0,me)}}return new Date(L)}(z),this.init()},M.init=function(){var z=this.$d;this.$y=z.getFullYear(),this.$M=z.getMonth(),this.$D=z.getDate(),this.$W=z.getDay(),this.$H=z.getHours(),this.$m=z.getMinutes(),this.$s=z.getSeconds(),this.$ms=z.getMilliseconds()},M.$utils=function(){return ee},M.isValid=function(){return this.$d.toString()!==C},M.isSame=function(z,N){var L=he(z);return this.startOf(N)<=L&&L<=this.endOf(N)},M.isAfter=function(z,N){return he(z)<this.startOf(N)},M.isBefore=function(z,N){return this.endOf(N)<he(z)},M.$g=function(z,N,L){return ee.u(z)?this[N]:this.set(L,z)},M.unix=function(){return Math.floor(this.valueOf()/1e3)},M.valueOf=function(){return this.$d.getTime()},M.startOf=function(z,N){var L=this,Y=!!ee.u(N)||N,K=ee.p(z),ie=function(Se,G){var Ye=ee.w(L.$u?Date.UTC(L.$y,G,Se):new Date(L.$y,G,Se),L);return Y?Ye:Ye.endOf(d)},me=function(Se,G){return ee.w(L.toDate()[Se].apply(L.toDate("s"),(Y?[0,0,0,0]:[23,59,59,999]).slice(G)),L)},Me=this.$W,Pe=this.$M,Ie=this.$D,Ce="set"+(this.$u?"UTC":"");switch(K){case b:return Y?ie(1,0):ie(31,11);case g:return Y?ie(1,Pe):ie(0,Pe+1);case m:var j=this.$locale().weekStart||0,Oe=(Me<j?Me+7:Me)-j;return ie(Y?Ie-Oe:Ie+(6-Oe),Pe);case d:case $:return me(Ce+"Hours",0);case c:return me(Ce+"Minutes",1);case l:return me(Ce+"Seconds",2);case a:return me(Ce+"Milliseconds",3);default:return this.clone()}},M.endOf=function(z){return this.startOf(z,!1)},M.$set=function(z,N){var L,Y=ee.p(z),K="set"+(this.$u?"UTC":""),ie=(L={},L[d]=K+"Date",L[$]=K+"Date",L[g]=K+"Month",L[b]=K+"FullYear",L[c]=K+"Hours",L[l]=K+"Minutes",L[a]=K+"Seconds",L[o]=K+"Milliseconds",L)[Y],me=Y===d?this.$D+(N-this.$W):N;if(Y===g||Y===b){var Me=this.clone().set($,1);Me.$d[ie](me),Me.init(),this.$d=Me.set($,Math.min(this.$D,Me.daysInMonth())).$d}else ie&&this.$d[ie](me);return this.init(),this},M.set=function(z,N){return this.clone().$set(z,N)},M.get=function(z){return this[ee.p(z)]()},M.add=function(z,N){var L,Y=this;z=Number(z);var K=ee.p(N),ie=function(Pe){var Ie=he(Y);return ee.w(Ie.date(Ie.date()+Math.round(Pe*z)),Y)};if(K===g)return this.set(g,this.$M+z);if(K===b)return this.set(b,this.$y+z);if(K===d)return ie(1);if(K===m)return ie(7);var me=(L={},L[l]=i,L[c]=n,L[a]=r,L)[K]||1,Me=this.$d.getTime()+z*me;return ee.w(Me,this)},M.subtract=function(z,N){return this.add(-1*z,N)},M.format=function(z){var N=this,L=this.$locale();if(!this.isValid())return L.invalidDate||C;var Y=z||"YYYY-MM-DDTHH:mm:ssZ",K=ee.z(this),ie=this.$H,me=this.$m,Me=this.$M,Pe=L.weekdays,Ie=L.months,Ce=L.meridiem,j=function(G,Ye,gt,xe){return G&&(G[Ye]||G(N,Y))||gt[Ye].slice(0,xe)},Oe=function(G){return ee.s(ie%12||12,G,"0")},Se=Ce||function(G,Ye,gt){var xe=G<12?"AM":"PM";return gt?xe.toLowerCase():xe};return Y.replace(q,function(G,Ye){return Ye||function(gt){switch(gt){case"YY":return String(N.$y).slice(-2);case"YYYY":return ee.s(N.$y,4,"0");case"M":return Me+1;case"MM":return ee.s(Me+1,2,"0");case"MMM":return j(L.monthsShort,Me,Ie,3);case"MMMM":return j(Ie,Me);case"D":return N.$D;case"DD":return ee.s(N.$D,2,"0");case"d":return String(N.$W);case"dd":return j(L.weekdaysMin,N.$W,Pe,2);case"ddd":return j(L.weekdaysShort,N.$W,Pe,3);case"dddd":return Pe[N.$W];case"H":return String(ie);case"HH":return ee.s(ie,2,"0");case"h":return Oe(1);case"hh":return Oe(2);case"a":return Se(ie,me,!0);case"A":return Se(ie,me,!1);case"m":return String(me);case"mm":return ee.s(me,2,"0");case"s":return String(N.$s);case"ss":return ee.s(N.$s,2,"0");case"SSS":return ee.s(N.$ms,3,"0");case"Z":return K}return null}(G)||K.replace(":","")})},M.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},M.diff=function(z,N,L){var Y,K=this,ie=ee.p(N),me=he(z),Me=(me.utcOffset()-this.utcOffset())*i,Pe=this-me,Ie=function(){return ee.m(K,me)};switch(ie){case b:Y=Ie()/12;break;case g:Y=Ie();break;case w:Y=Ie()/3;break;case m:Y=(Pe-Me)/6048e5;break;case d:Y=(Pe-Me)/864e5;break;case c:Y=Pe/n;break;case l:Y=Pe/i;break;case a:Y=Pe/r;break;default:Y=Pe}return L?Y:ee.a(Y)},M.daysInMonth=function(){return this.endOf(g).$D},M.$locale=function(){return le[this.$L]},M.locale=function(z,N){if(!z)return this.$L;var L=this.clone(),Y=_e(z,N,!0);return Y&&(L.$L=Y),L},M.clone=function(){return ee.w(this.$d,this)},M.toDate=function(){return new Date(this.valueOf())},M.toJSON=function(){return this.isValid()?this.toISOString():null},M.toISOString=function(){return this.$d.toISOString()},M.toString=function(){return this.$d.toUTCString()},E}(),Ue=ye.prototype;return he.prototype=Ue,[["$ms",o],["$s",a],["$m",l],["$H",c],["$W",d],["$M",g],["$y",b],["$D",$]].forEach(function(E){Ue[E[1]]=function(M){return this.$g(M,E[0],E[1])}}),he.extend=function(E,M){return E.$i||(E(M,ye,he),E.$i=!0),he},he.locale=_e,he.isDayjs=ke,he.unix=function(E){return he(1e3*E)},he.en=le[R],he.Ls=le,he.p={},he})}(Ki)),Ki.exports}var Tc=Pc();const ni=Yi(Tc);let $a;const Rc=(t,e)=>{$a=new qt(t,{threshold:.4,distance:50,includeMatches:!0,useExtendedSearch:!0,...e})},Oc=async(t,e,r)=>{const i=Object.entries(e).filter(([,l])=>l.type==="text"||l.type==="select"||l.type==="multiselect").reduce((l,[c,d])=>{const m="$or",g=[],w=(b,$)=>{const C={};d.type==="text"?C[b]=`${$}`:C[c]=`="${b}"`,g.push(C)};return Object.entries(d.state).filter(([,b])=>b).forEach(([b,$])=>w(b,$)),g.length>0&&l.push({[m]:g}),l},[]);let n;if(!(i.length>0)&&r.matchAllWhenEmpty!==!1)n=t;else{const l={$and:[...i]},c=$a.search(l);n=r.enableHighlighting?Ec(c,"highlight",r.titleProperty):c.map(d=>d.item)}const o=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(o).length>0){const l=[];for(let c=0;c<n.length;c++){const d={};for(const[m,g]of Object.entries(o)){const w=$=>g.format==="date"?ni($).unix():$,b=or(m,n[c]);b?Array.isArray(b)?d[m]=o[m].min<=w(b[1])&&w(b[0])<=o[m].max:w(b)>=o[m].min&&w(b)<=o[m].max?d[m]=!0:d[m]=!1:d[m]=!0}Object.values(d).every(m=>!!m)&&l.push(n[c])}n=[...l]}const a=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(a).map(l=>l.geometry).filter(l=>!!l).length>0){const l=[];for(let c=0;c<n.length;c++){const d={};for(const m of Object.keys(a)){const g=or(m,n[c]),w=a[m].mode||"within";g&&(w==="within"?Lc(g,a[m].geometry):Cc(g,a[m].geometry))?d[m]=!0:d[m]=!1}Object.values(d).every(m=>!!m)&&l.push(n[c])}n=[...l]}return n};function jc(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 &copy; OpenStreetMap contributors and others, Rendering &copy; EOX }"}}]}function Gi(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 Aa(t,e){return t*2+e}function Bc(t){return Object.keys(t).map(e=>({title:V`${t[e].title||t[e].key}:
562
+ ${t[e].stringifiedState}`,key:e})).filter(e=>t[e.key].dirty)}function Fn(t){return Object.values(t).map(e=>e.dirty).filter(e=>e).length>0}async function Nc(t,e,r){return await(await fetch(`${r.externalFilter(t,e)}`)).json()}function za(t,e,r){let i;if(t.detail?i=t.detail.target:i=t.target,i!=null&&i.classList.contains("details-filter")){if(!i.open||e!=null&&e.expandMultipleFilters)return;r.shadowRoot.querySelectorAll("eox-itemfilter-expandcontainer").forEach(n=>{const o=n.shadowRoot.querySelector(".details-filter");o&&o!==i&&o.removeAttribute("open")})}else{if(!(i!=null&&i.open)||e!=null&&e.expandMultipleResults)return;r.querySelectorAll("details").forEach(n=>{n!==i&&n.removeAttribute("open")})}}function or(t,e){return t!=null&&t.includes(".")?t.split(".").reduce((r,i)=>r&&r[i],e):e[t]}class Hc extends tt{constructor(){super();nt(this,ze);this.filterProperties={},this.unstyled=!1,this.inlineMode=!1,this.filters={},this._handleClickOutside=fe(this,ze,Za).bind(this),this._handleKeyDown=fe(this,ze,po).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,ze,co).call(this)}disconnectedCallback(){this.inlineMode&&fe(this,ze,uo).call(this),super.disconnectedCallback()}_overlayCleanup(){}updateInline(){this.inlineMode&&this.requestUpdate()}updated(r){r.has("inlineMode")&&(this.inlineMode?fe(this,ze,co).call(this):fe(this,ze,uo).call(this))}render(){return V`
623
563
  <style>
624
- ${!this.unstyled&&tn}
564
+ ${!this.unstyled&&An}
625
565
  </style>
626
- ${this.inlineMode?ee`
566
+ ${this.inlineMode?V`
627
567
  <div
628
568
  class="inline-container-wrapper"
629
- @click="${fe(this,Ce,hs)}"
569
+ @click="${fe(this,ze,fo)}"
630
570
  >
631
- <div class="inline-container" part="container">
571
+ <div class="inline-container square border" part="container">
632
572
  <div class="chip-container">
633
573
  <div class="chip-wrapper">
634
574
  <eox-itemfilter-chips
635
- .items=${Hc(this.filters)}
636
- .controller=${{remove:r=>fe(this,Ce,Qo).call(this,r)}}
575
+ .items=${Bc(this.filters)}
576
+ .controller=${{remove:r=>fe(this,ze,es).call(this,r)}}
637
577
  >
638
578
  </eox-itemfilter-chips>
639
579
  </div>
640
580
 
641
- ${Ve(qi(this.filters),()=>ee`
642
- <span
643
- class="chip-close"
581
+ ${Fe(Fn(this.filters),()=>V`
582
+ <button
583
+ class="chip-close circle transparent small no-margin"
644
584
  @click=${()=>this.dispatchEvent(new CustomEvent("reset"))}
645
- ></span>
585
+ >
586
+ ${this.unstyled?"x":V`
587
+ <i class="small">
588
+ <svg
589
+ xmlns="http://www.w3.org/2000/svg"
590
+ viewBox="0 0 24 24"
591
+ >
592
+ <title>close</title>
593
+ <path
594
+ d="M19,6.41L17.59,5L12,10.59L6.41,5L5,6.41L10.59,12L5,17.59L6.41,19L12,13.41L17.59,19L19,17.59L13.41,12L19,6.41Z"
595
+ />
596
+ </svg>
597
+ </i>
598
+ `}
599
+ </button>
646
600
  `)}
647
601
  </div>
648
602
  <div
649
- class="input-container ${qi(this.filters)?"dirty-filter-input":""}"
603
+ class="input-container field no-margin ${Fn(this.filters)?"dirty-filter-input":""}"
650
604
  >
651
605
  <input
652
606
  autocomplete="off"
653
607
  id="eox-itemfilter-input-search"
654
608
  type="text"
655
- @click="${fe(this,Ce,hs)}"
656
- @focus="${fe(this,Ce,Jo)}"
657
- @input="${fe(this,Ce,ea)}"
609
+ @click="${fe(this,ze,fo)}"
610
+ @focus="${fe(this,ze,Qa)}"
611
+ @input="${fe(this,ze,ts)}"
658
612
  placeholder="Search and add filter"
659
613
  aria-haspopup="true"
660
614
  aria-expanded="${this.showDropdown}"
@@ -663,21 +617,24 @@ input {
663
617
  </div>
664
618
  <div popover="manual">
665
619
  <div
666
- class="inline-content"
620
+ class="inline-content square border"
667
621
  slot="content"
668
- @keydown="${fe(this,Ce,ds)}"
669
- @click="${fe(this,Ce,fs)}"
670
- @focus="${fe(this,Ce,fs)}"
622
+ @keydown="${fe(this,ze,po)}"
623
+ @click="${fe(this,ze,ho)}"
624
+ @focus="${fe(this,ze,ho)}"
671
625
  >
672
626
  <slot name="section"></slot>
673
627
  </div>
674
628
  </div>
675
629
  </div>
676
- `:ee`<slot name="section"></slot>`}
677
- `}}Ce=new WeakSet,Zo=function(){setTimeout(()=>this._overlayCleanup=zl(this))},cs=function(){document.addEventListener("click",this._handleClickOutside),document.addEventListener("focusout",this._handleClickOutside),document.addEventListener("keydown",this._handleKeyDown),fe(this,Ce,Zo).call(this)},us=function(){document.removeEventListener("click",this._handleClickOutside),document.removeEventListener("focusout",this._handleClickOutside),document.removeEventListener("keydown",this._handleKeyDown),this._overlayCleanup()},Xo=function(r){Vl(r,this)},ds=function(r){Wl(r,this)},hs=function(r){ql(r,this)},Jo=function(){Fl(this)},fs=function(r){Ul(r,this)},Qo=function(r){yl(r,this)},ea=function(r){Vs(r,this)},customElements.define("eox-itemfilter-container",Ic);var Wi,Co;function zc(){if(Co)return Wi;Co=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 Wi=q,Wi}var Uc=zc();const Jn=Yn(Uc);function Fc(t){const e=t.renderRoot.querySelector("input[type='text']");e.value="",Xn(t.filterObject),t.requestUpdate()}function qc(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 Vi="ddd, D MMM YYYY HH:mm:ss";function Wc(t){if(t.filterObject=Xn(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 Vc(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"?`${sn.unix(r).format(Vi)} - ${sn.unix(n).format(Vi)}`:`${r} - ${n}`),e.dispatchEvent(new CustomEvent("filter")),r===e.filterObject.min&&n===e.filterObject.max?e.reset():e.requestUpdate()}function Kc(t,e,r){const n=r.filterObject.format==="date",i=r.filterObject.state[t],s=n?sn.unix(i).format(Vi):i;return ee`<div class="range-${e}">${s}</div>`}function Gc(t){Yc(-1,t),Xn(t.filterObject),t.requestUpdate()}function Yc(t,e){e.selectedItems=[],Ki(e),So(e)}function Eo(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),Ki(e),So(e)}function Zc(t,e){t.target instanceof HTMLInputElement&&(e.query=t.target.value,e.showSuggestions=!0)}function Xc(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&&Eo(e.filteredSuggestions[e.highlightedIndex],e);break;case"Escape":e.showSuggestions=!1;break}}function Jc(t,e){(t.has("suggestions")||t.has("query"))&&Ki(e)}function Qc(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 Ki(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=Qc(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 So(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 eu(t){Xn(t.filterObject),t.renderRoot.querySelector("eox-itemfilter-spatial-filter").reset(),t.requestUpdate()}function tu(t){t.renderRoot.querySelector("#eox-map").innerHTML="",ko(t)}function ru(t,e){e.filterObject.state.mode=t;const r=new CustomEvent("filter",{detail:{[e.filterObject.key]:{}}});e.dispatchEvent(r)}function ko(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&&nu(t.geometry),n=jc(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 nu(t){return`data:text/json,${encodeURIComponent(JSON.stringify({type:"FeatureCollection",features:[{type:"Feature",properties:null,geometry:t}]}))}`}class iu extends tt{constructor(){super();it(this,ti,()=>{qc(this)});Dn(this,"debouncedInputHandler",Jn(ht(this,ti),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(){Fc(this)}createRenderRoot(){return this}render(){return Ve(this.filterObject,()=>{var r;return ee`
630
+ `:V`<slot name="section"></slot>`}
631
+ `}}ze=new WeakSet,Ja=function(){setTimeout(()=>this._overlayCleanup=Il(this))},co=function(){document.addEventListener("click",this._handleClickOutside),document.addEventListener("focusout",this._handleClickOutside),document.addEventListener("keydown",this._handleKeyDown),fe(this,ze,Ja).call(this)},uo=function(){document.removeEventListener("click",this._handleClickOutside),document.removeEventListener("focusout",this._handleClickOutside),document.removeEventListener("keydown",this._handleKeyDown),this._overlayCleanup()},Za=function(r){Vl(r,this)},po=function(r){Wl(r,this)},fo=function(r){Fl(r,this)},Qa=function(){Ul(this)},ho=function(r){ql(r,this)},es=function(r){gl(r,this)},ts=function(r){Ko(r,this)},customElements.define("eox-itemfilter-container",Hc);var Wn,Ma;function Ic(){if(Ma)return Wn;Ma=1;var t="Expected a function",e=NaN,r="[object Symbol]",i=/^\s+|\s+$/g,n=/^[-+]0x[0-9a-f]+$/i,o=/^0b[01]+$/i,a=/^0o[0-7]+$/i,l=parseInt,c=typeof ht=="object"&&ht&&ht.Object===Object&&ht,d=typeof self=="object"&&self&&self.Object===Object&&self,m=c||d||Function("return this")(),g=Object.prototype,w=g.toString,b=Math.max,$=Math.min,C=function(){return m.Date.now()};function F(R,le,ne){var ke,_e,he,ee,ye,Ue,E=0,M=!1,z=!1,N=!0;if(typeof R!="function")throw new TypeError(t);le=se(le)||0,q(ne)&&(M=!!ne.leading,z="maxWait"in ne,he=z?b(se(ne.maxWait)||0,le):he,N="trailing"in ne?!!ne.trailing:N);function L(j){var Oe=ke,Se=_e;return ke=_e=void 0,E=j,ee=R.apply(Se,Oe),ee}function Y(j){return E=j,ye=setTimeout(me,le),M?L(j):ee}function K(j){var Oe=j-Ue,Se=j-E,G=le-Oe;return z?$(G,he-Se):G}function ie(j){var Oe=j-Ue,Se=j-E;return Ue===void 0||Oe>=le||Oe<0||z&&Se>=he}function me(){var j=C();if(ie(j))return Me(j);ye=setTimeout(me,K(j))}function Me(j){return ye=void 0,N&&ke?L(j):(ke=_e=void 0,ee)}function Pe(){ye!==void 0&&clearTimeout(ye),E=0,ke=Ue=_e=ye=void 0}function Ie(){return ye===void 0?ee:Me(C())}function Ce(){var j=C(),Oe=ie(j);if(ke=arguments,_e=this,Ue=j,Oe){if(ye===void 0)return Y(Ue);if(z)return ye=setTimeout(me,le),L(Ue)}return ye===void 0&&(ye=setTimeout(me,le)),ee}return Ce.cancel=Pe,Ce.flush=Ie,Ce}function q(R){var le=typeof R;return!!R&&(le=="object"||le=="function")}function ae(R){return!!R&&typeof R=="object"}function te(R){return typeof R=="symbol"||ae(R)&&w.call(R)==r}function se(R){if(typeof R=="number")return R;if(te(R))return e;if(q(R)){var le=typeof R.valueOf=="function"?R.valueOf():R;R=q(le)?le+"":le}if(typeof R!="string")return R===0?R:+R;R=R.replace(i,"");var ne=o.test(R);return ne||a.test(R)?l(R.slice(2),ne?2:8):n.test(R)?e:+R}return Wn=F,Wn}var qc=Ic();const Xi=Yi(qc);function Uc(t){const e=t.renderRoot.querySelector("input[type='text']");e.value="",Gi(t.filterObject),t.requestUpdate()}function Fc(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 Vn="ddd, D MMM YYYY HH:mm:ss";function Wc(t){if(t.filterObject=Gi(t.filterObject),t.filterObject){const e=t.querySelector("tc-range-slider"),r=t.filterObject.min,i=t.filterObject.max;e.value1!==r&&(e.value1=r),e.value2!==i&&(e.value2=i)}t.requestUpdate()}function Vc(t,e){const[r,i]=t.detail.values;(r!==e.filterObject.state.min||i!==e.filterObject.state.max)&&([e.filterObject.state.min,e.filterObject.state.max]=[r,i],e.filterObject.dirty=!0),e.filterObject.dirty&&(e.filterObject.stringifiedState=e.filterObject.format==="date"?`${ni.unix(r).format(Vn)} - ${ni.unix(i).format(Vn)}`:`${r} - ${i}`),e.dispatchEvent(new CustomEvent("filter")),r===e.filterObject.min&&i===e.filterObject.max?e.reset():e.requestUpdate()}function Yc(t,e,r){const i=r.filterObject.format==="date",n=r.filterObject.state[t],o=i?ni.unix(n).format(Vn):n;return V`<div class="range-${e}">${o}</div>`}function Kc(t){Gc(-1,t),Gi(t.filterObject),t.requestUpdate()}function Gc(t,e){e.selectedItems=[],Yn(e),Ca(e)}function Sa(t,e){const r=e.selectedItems.indexOf(t);r>=0?e.selectedItems=e.selectedItems.filter((i,n)=>n!==r):e.type==="multiselect"?e.selectedItems=[...e.selectedItems,t]:(e.selectedItems=[t],e.showSuggestions=!1),Yn(e),Ca(e)}function Xc(t,e){t.target instanceof HTMLInputElement&&(e.query=t.target.value,e.showSuggestions=!0)}function Jc(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&&Sa(e.filteredSuggestions[e.highlightedIndex],e);break;case"Escape":e.showSuggestions=!1;break}}function Zc(t,e){(t.has("suggestions")||t.has("query"))&&Yn(e)}function Qc(t,e){var i;const r=((i=t.filterObject)==null?void 0:i.sort)||((n,o)=>n.localeCompare(o));return e.sort(r).map(n=>n)}function Yn(t){var r,i,n;let e;t.query&&(e=new qt(t.suggestions,{threshold:.4}).search(t.query).map(a=>a.item)),t.filteredSuggestions=Qc(t,e||t.suggestions),(r=t.filterObject)!=null&&r.filterKeys&&(t.filteredSuggestions=(i=t.filterObject)==null?void 0:i.filterKeys.map(o=>`${o}`),t.filterObject.state=(n=t.filterObject)==null?void 0:n.filterKeys.map(o=>`${o}`).reduce((o,a)=>(a in o||(o[a]=void 0),o),t.filterObject.state)),t.highlightedIndex=-1}function Ca(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 ed(t){Gi(t.filterObject),t.renderRoot.querySelector("eox-itemfilter-spatial-filter").reset(),t.requestUpdate()}function td(t){t.renderRoot.querySelector("#eox-map").innerHTML="",La(t)}function rd(t,e){e.filterObject.state.mode=t;const r=new CustomEvent("filter",{detail:{[e.filterObject.key]:{}}});e.dispatchEvent(r)}function La(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&&id(t.geometry),i=jc(t.geometry,r);t.eoxMap=t.renderRoot.querySelector("eox-map"),setTimeout(()=>{t.eoxMap.layers=i;const n=o=>{const a=new CustomEvent("filter",{detail:{geometry:{type:"Polygon",coordinates:o.getGeometry().clone().transform("EPSG:3857","EPSG:4326").getCoordinates()}}});t.dispatchEvent(a)};t.eoxMap.interactions.drawInteraction.on("drawend",o=>{n(o.feature),t.eoxMap.removeInteraction("drawInteraction")}),t.eoxMap.interactions.drawInteraction_modify.on("modifyend",o=>{n(o.features.getArray()[0])})},1e3)}function id(t){return`data:text/json,${encodeURIComponent(JSON.stringify({type:"FeatureCollection",features:[{type:"Feature",properties:null,geometry:t}]}))}`}class nd extends tt{constructor(){super();nt(this,Qi,()=>{Fc(this)});Ci(this,"debouncedInputHandler",Xi(pt(this,Qi),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(){Uc(this)}createRenderRoot(){return this}render(){return Fe(this.filterObject,()=>{var r;return V`
678
632
  <style></style>
679
633
  <div class="text-container">
680
- <div class="text-container-wrapper">
634
+ <div
635
+ class="text-container-wrapper field small"
636
+ style="margin-left: var(--list-padding)"
637
+ >
681
638
  <input
682
639
  type="text"
683
640
  placeholder=${this.filterObject.placeholder}
@@ -688,233 +645,276 @@ input {
688
645
  tabindex=${this.tabIndex}
689
646
  pattern="${((r=this.filterObject.validation)==null?void 0:r.pattern)||".*"}"
690
647
  @input="${this.debouncedInputHandler}"
691
- @click=${n=>n.stopPropagation()}
648
+ @click=${i=>i.stopPropagation()}
692
649
  />
693
650
  </div>
694
651
  </div>
695
- <small class="error-validation"
652
+ <small class="error-validation" style="margin-left: var(--list-padding)"
696
653
  >${this.filterObject.validation&&this.isValid===!1?this.filterObject.validation.message:""}</small
697
654
  >
698
- `})}}ti=new WeakMap,customElements.define("eox-itemfilter-text",iu);function su(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})}/**
655
+ `})}}Qi=new WeakMap,customElements.define("eox-itemfilter-text",nd);function od(t,e,r){return t.filter(i=>{const n=i[r.config.aggregateResults];let o;return r.filters[r.config.aggregateResults]&&(o=Object.keys(r.filters[r.config.aggregateResults]).filter(l=>r.filters[r.config.aggregateResults].state[l])),(o!=null&&o.length?o.includes(e):!0)&&Array.isArray(n)?n.includes(e):n===e})}/**
699
656
  * @license
700
657
  * Copyright 2020 Google LLC
701
658
  * SPDX-License-Identifier: BSD-3-Clause
702
- */const Lo=Symbol.for(""),ou=t=>{if((t==null?void 0:t.r)===Lo)return t==null?void 0:t._$litStatic$},Er=t=>({_$litStatic$:t,r:Lo}),Do=new Map,au=t=>(e,...r)=>{const n=r.length;let i,s;const o=[],l=[];let c,u=0,g=!1;for(;u<n;){for(c=e[u];u<n&&(s=r[u],(i=ou(s))!==void 0);)c+=i+e[++u],g=!0;u!==n&&l.push(s),o.push(c),u++}if(u===n&&o.push(e[n]),g){const y=o.join("$$lit$$");(e=Do.get(y))===void 0&&(o.raw=o,Do.set(y,e=o)),r=l}return t(e,...r)},Po=au(ee);/**
659
+ */const Ea=Symbol.for(""),ad=t=>{if((t==null?void 0:t.r)===Ea)return t==null?void 0:t._$litStatic$},Sr=t=>({_$litStatic$:t,r:Ea}),Da=new Map,sd=t=>(e,...r)=>{const i=r.length;let n,o;const a=[],l=[];let c,d=0,m=!1;for(;d<i;){for(c=e[d];d<i&&(o=r[d],(n=ad(o))!==void 0);)c+=n+e[++d],m=!0;d!==i&&l.push(o),a.push(c),d++}if(d===i&&a.push(e[i]),m){const g=a.join("$$lit$$");(e=Da.get(g))===void 0&&(a.raw=a,Da.set(g,e=a)),r=l}return t(e,...r)},Pa=sd(V);/**
703
660
  * @license
704
661
  * Copyright 2017 Google LLC
705
662
  * SPDX-License-Identifier: BSD-3-Clause
706
- */const To={CHILD:2},Ro=t=>(...e)=>({_$litDirective$:t,values:e});class Oo{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)}}/**
663
+ */const Ta={CHILD:2},Ra=t=>(...e)=>({_$litDirective$:t,values:e});class Oa{constructor(e){}get _$AU(){return this._$AM._$AU}_$AT(e,r,i){this._$Ct=e,this._$AM=r,this._$Ci=i}_$AS(e,r){return this.update(e,r)}update(e,r){return this.render(...r)}}/**
707
664
  * @license
708
665
  * Copyright 2020 Google LLC
709
666
  * SPDX-License-Identifier: BSD-3-Clause
710
- */const{I:lu}=La,Bo=()=>document.createComment(""),an=(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(Bo(),i),l=n.insertBefore(Bo(),i);r=new lu(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),cu={},uu=(t,e=cu)=>t._$AH=e,du=t=>t._$AH,Gi=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}};/**
667
+ */const{I:ld}=Es,ja=()=>document.createComment(""),oi=(t,e,r)=>{var o;const i=t._$AA.parentNode,n=e===void 0?t._$AB:e._$AA;if(r===void 0){const a=i.insertBefore(ja(),n),l=i.insertBefore(ja(),n);r=new ld(a,l,t,t.options)}else{const a=r._$AB.nextSibling,l=r._$AM,c=l!==t;if(c){let d;(o=r._$AQ)==null||o.call(r,t),r._$AM=t,r._$AP!==void 0&&(d=t._$AU)!==l._$AU&&r._$AP(d)}if(a!==n||c){let d=r._$AA;for(;d!==a;){const m=d.nextSibling;i.insertBefore(d,n),d=m}}}return r},ar=(t,e,r=t)=>(t._$AI(e,r),t),cd={},dd=(t,e=cd)=>t._$AH=e,ud=t=>t._$AH,Kn=t=>{var i;(i=t._$AP)==null||i.call(t,!1,!0);let e=t._$AA;const r=t._$AB.nextSibling;for(;e!==r;){const n=e.nextSibling;e.remove(),e=n}};/**
711
668
  * @license
712
669
  * Copyright 2017 Google LLC
713
670
  * SPDX-License-Identifier: BSD-3-Clause
714
- */const jo=(t,e,r)=>{const n=new Map;for(let i=e;i<=r;i++)n.set(t[i],i);return n},hu=Ro(class extends Oo{constructor(t){if(super(t),t.type!==To.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=du(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[_]),an(t,c[_+1],i[y]),y++,_--;else if(l[x]===o[b])c[b]=sr(i[x],s[b]),an(t,i[y],i[x]),x--,b++;else if(u===void 0&&(u=jo(o,b,_),g=jo(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=an(t,i[y]);sr(U,s[b]),c[b]=U}else c[b]=sr(q,s[b]),an(t,i[y],q),i[k]=null;b++}else Gi(i[x]),x--;else Gi(i[y]),y++;for(;b<=_;){const k=an(t,c[_+1]);sr(k,s[b]),c[b++]=k}for(;y<=x;){const k=i[y++];k!==null&&Gi(k)}return this.ut=o,uu(t,c),It}});/**
671
+ */const Ba=(t,e,r)=>{const i=new Map;for(let n=e;n<=r;n++)i.set(t[n],n);return i},pd=Ra(class extends Oa{constructor(t){if(super(t),t.type!==Ta.CHILD)throw Error("repeat() can only be used in text expressions")}dt(t,e,r){let i;r===void 0?r=e:e!==void 0&&(i=e);const n=[],o=[];let a=0;for(const l of t)n[a]=i?i(l,a):a,o[a]=r(l,a),a++;return{values:o,keys:n}}render(t,e,r){return this.dt(t,e,r).values}update(t,[e,r,i]){const n=ud(t),{values:o,keys:a}=this.dt(e,r,i);if(!Array.isArray(n))return this.ut=a,o;const l=this.ut??(this.ut=[]),c=[];let d,m,g=0,w=n.length-1,b=0,$=o.length-1;for(;g<=w&&b<=$;)if(n[g]===null)g++;else if(n[w]===null)w--;else if(l[g]===a[b])c[b]=ar(n[g],o[b]),g++,b++;else if(l[w]===a[$])c[$]=ar(n[w],o[$]),w--,$--;else if(l[g]===a[$])c[$]=ar(n[g],o[$]),oi(t,c[$+1],n[g]),g++,$--;else if(l[w]===a[b])c[b]=ar(n[w],o[b]),oi(t,n[g],n[w]),w--,b++;else if(d===void 0&&(d=Ba(a,b,$),m=Ba(l,g,w)),d.has(l[g]))if(d.has(l[w])){const C=m.get(a[b]),F=C!==void 0?n[C]:null;if(F===null){const q=oi(t,n[g]);ar(q,o[b]),c[b]=q}else c[b]=ar(F,o[b]),oi(t,n[g],F),n[C]=null;b++}else Kn(n[w]),w--;else Kn(n[g]),g++;for(;b<=$;){const C=oi(t,c[$+1]);ar(C,o[b]),c[b++]=C}for(;g<=w;){const C=n[g++];C!==null&&Kn(C)}return this.ut=a,dd(t,c),Ht}});/**
715
672
  * @license
716
673
  * Copyright 2017 Google LLC
717
674
  * SPDX-License-Identifier: BSD-3-Clause
718
- */class Yi extends Oo{constructor(e){if(super(e),this.it=xe,e.type!==To.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:[]}}}Yi.directiveName="unsafeHTML",Yi.resultType=1;const Qn=Ro(Yi);function fu(t,e){return ee`
675
+ */class Gn extends Oa{constructor(e){if(super(e),this.it=we,e.type!==Ta.CHILD)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(e){if(e===we||e==null)return this._t=void 0,this.it=e;if(e===Ht)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:[]}}}Gn.directiveName="unsafeHTML",Gn.resultType=1;const Ji=Ra(Gn);function fd(t,e){return V`
719
676
  <details
720
677
  class="details-results"
721
678
  @toggle=${e.handleAccordion}
722
- ?open=${e.config.expandResults||xe}
679
+ ?open=${e.config.expandResults||we}
723
680
  >
724
- <summary>
725
- <span class="title">
726
- ${t}
727
- <span class="count"
728
- >${e.aggregateResults(e.results,t).length}</span
681
+ <summary class="square">
682
+ <nav class="responsive tiny-space">
683
+ <i class="small">
684
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
685
+ <title>chevron-right</title>
686
+ <path
687
+ d="M8.59,16.58L13.17,12L8.59,7.41L10,6L16,12L10,18L8.59,16.58Z"
688
+ />
689
+ </svg>
690
+ </i>
691
+ <span class="title"> ${t} </span>
692
+ <button
693
+ class="chip"
694
+ style="--_size: 1rem; padding: 0.7rem; font-size: small"
729
695
  >
730
- </span>
696
+ ${e.aggregateResults(e.results,t).length}
697
+ </button>
698
+ </nav>
731
699
  </summary>
732
700
  <div>
733
- ${Ho(e,t)}
701
+ ${Na(e,t)}
734
702
  </div>
735
703
  </details>
736
- `}function Ho(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 Po`
737
- ${t.resultType==="cards"?Er("<eox-layout fill-grid>"):Er("<ul>")}
738
- ${hu(n,o=>o.id,o=>Po`
739
- ${t.resultType==="cards"?Er("<eox-layout-item"):Er("<li")}
740
- class=${s(o)}
741
- @click=${()=>{t.selectedResult===o?t.selectedResult=null:t.selectedResult=o,t.dispatchEvent(new CustomEvent("result",{detail:t.selectedResult}))}}
704
+ `}function Na(t,e){const r=t.results,i=e?t.aggregateResults(r,e):r,n=t.config,o=a=>{var l;return((l=t.selectedResult)==null?void 0:l[n.idProperty])===a[n.idProperty]?"highlighted":we};return Pa`
705
+ ${t.resultType==="cards"?Sr("<eox-layout fill-grid>"):Sr('<ul id="results" class="list no-space" part="results">')}
706
+ ${pd(i,a=>a.id,a=>Pa`
707
+ ${t.resultType==="cards"?Sr("<eox-layout-item"):Sr("<li")}
708
+ class="${o(a)}"
709
+ @click=${()=>{t.selectedResult===a?t.selectedResult=null:t.selectedResult=a,t.dispatchEvent(new CustomEvent("result",{detail:t.selectedResult}))}}
742
710
  >
743
- <span id="${o.id}">
744
- ${Ve(i.subTitleProperty||i.imageProperty,()=>ee`
745
- ${on(i.imageProperty,o)?ee`
746
- <img
747
- class="image"
748
- src="${on(i.imageProperty,o)}"
749
- />
750
- `:ee`
751
- <svg
752
- class="image"
753
- width="100%"
754
- height="100%"
755
- xmlns="http://www.w3.org/2000/svg"
756
- >
757
- <rect
758
- width="100%"
759
- height="100%"
760
- fill="var(--primary-color)"
761
- />
762
- </svg>
763
- `}
764
- <div class="title-container">
765
- <span class="title"
766
- >${Qn(o[i.titleProperty])}</span
711
+ <nav id="${a.id}" class="responsive tiny-space">
712
+ ${Fe(n.subTitleProperty||n.imageProperty,()=>V`
713
+ ${Fe(t.resultType==="cards",()=>or(n.imageProperty,a)?V`
714
+ <img
715
+ class="image"
716
+ src="${or(n.imageProperty,a)}"
717
+ />
718
+ `:V`
719
+ <svg
720
+ class="image"
721
+ width="100%"
722
+ height="100%"
723
+ xmlns="http://www.w3.org/2000/svg"
724
+ >
725
+ <rect
726
+ width="100%"
727
+ height="100%"
728
+ fill="var(--primary-color)"
729
+ />
730
+ </svg>
731
+ `,()=>V`
732
+ <i class="small">
733
+ ${or(n.imageProperty,a)?V`
734
+ <img
735
+ class="image"
736
+ src="${or(n.imageProperty,a)}"
737
+ />
738
+ `:V`
739
+ <svg
740
+ class="image"
741
+ width="100%"
742
+ height="100%"
743
+ xmlns="http://www.w3.org/2000/svg"
744
+ >
745
+ <rect
746
+ width="100%"
747
+ height="100%"
748
+ fill="var(--primary-color)"
749
+ />
750
+ </svg>
751
+ `}
752
+ </i>
753
+ `)}
754
+ <div class="title-container small-line max truncate">
755
+ <span class="title truncate"
756
+ >${Ji(a[n.titleProperty])}</span
767
757
  >
768
- <span class="subtitle"
769
- >${Qn(o[i.subTitleProperty])}</span
758
+ ${Fe(!!a[n.subTitleProperty],()=>V`
759
+ <small class="subtitle no-line truncate"
760
+ >${Ji(a[n.subTitleProperty].toString())}</small
761
+ >
762
+ `)}
763
+ </div>
764
+ `,()=>V`
765
+ <div class="small-line max truncate">
766
+ <span class="title truncate"
767
+ >${Ji(a[n.titleProperty])}</span
770
768
  >
771
769
  </div>
772
- `,()=>ee`
773
- <span class="title"
774
- >${Qn(o[i.titleProperty])}</span
770
+ `)}
771
+ ${Fe(t.enableResultAction,()=>V`
772
+ <button
773
+ class="result-action square transparent primary-text small"
774
+ @click=${l=>{l.stopPropagation(),t.dispatchEvent(new CustomEvent("click:result-action",{detail:a}))}}
775
775
  >
776
+ <icon class="small"
777
+ >${Ji(t.resultActionIcon)}</icon
778
+ >
779
+ </button>
776
780
  `)}
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
- >${Qn(t.resultActionIcon)}</span
783
- >
784
- `)}
781
+ </nav>
785
782
  </li>
786
783
  `)}
787
- ${t.resultType==="cards"?Er("</eox-layout>"):Er("</ul>")}
788
- `}class pu 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 su(r,n,this)}createRenderRoot(){return this}handleAccordion(r){Mo(r,this.config,this)}render(){return ee`
784
+ ${t.resultType==="cards"?Sr("</eox-layout>"):Sr("</ul>")}
785
+ `}class hd extends tt{constructor(){super();nt(this,sr);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,i){return od(r,i,this)}createRenderRoot(){return this}handleAccordion(r){za(r,this.config,this)}render(){return V`
789
786
  <section id="section-results">
790
787
  <div slot="resultstitle"></div>
791
788
  <div id="container-results" class="scroll">
792
- ${Ve(this.results.length<1,()=>ee`<small class="no-results">No matching items</small>`,()=>xe)}
793
- <ul id="results" part="results">
794
- ${Ve(this.config.aggregateResults,()=>Rn(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,ps).call(this,r)}
796
- </div>`,()=>fe(this,or,ta).call(this,r))}`),()=>fe(this,or,ps).call(this))}
797
- </ul>
789
+ ${Fe(this.results.length<1,()=>V`<small class="no-results">No matching items</small>`,()=>we)}
790
+ ${Fe(this.config.aggregateResults,()=>Di(this.resultAggregation.filter(r=>this.aggregateResults(this.results,r).length),r=>V`${Fe(this.aggregateResults(this.results,r).length===1&&this.config.autoSpreadSingle,()=>V`<div style="margin-left: -8px">
791
+ ${fe(this,sr,mo).call(this,r)}
792
+ </div>`,()=>fe(this,sr,rs).call(this,r))}`),()=>fe(this,sr,mo).call(this))}
798
793
  </div>
799
794
  </section>
800
- `}}or=new WeakSet,ps=function(r){return Ho(this,r)},ta=function(r){return fu(r,this)},customElements.define("eox-itemfilter-results",pu);const gu=`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");}`,yu=`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 No extends tt{constructor(){super();it(this,qt);Dn(this,"debouncedInputHandler",Jn(fe(this,qt,ia),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){Jc(r,this)}reset(){Gc(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`
795
+ `}}sr=new WeakSet,mo=function(r){return Na(this,r)},rs=function(r){return fd(r,this)},customElements.define("eox-itemfilter-results",hd);class Ha extends tt{constructor(){super();nt(this,Ft);Ci(this,"debouncedInputHandler",Xi(fe(this,Ft,os),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){Zc(r,this)}reset(){Kc(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())}createRenderRoot(){return this}render(){const r=this.type.includes("multi")?"checkbox":"radio",i=this.filteredSuggestions.length>5?"select-overflow scroll":we;return V`
801
796
  <style>
802
- ${!this.unstyled&&tn}
803
- ${!this.unstyled&&gu}
804
- ${!this.unstyled&&yu}
797
+ :host,
798
+ :root {
799
+ --select-filter-max-items: 5;
800
+ }
805
801
  </style>
806
- ${Ve(this.suggestions.length>10,()=>ee`<div class="autocomplete-container">
807
- <div class="autocomplete-container-wrapper">
802
+ ${Fe(this.suggestions.length>10,()=>V`<div class="autocomplete-container">
803
+ <div
804
+ class="autocomplete-container-wrapper field small no-round"
805
+ style="margin-left: var(--list-padding)"
806
+ >
808
807
  <input
809
808
  autocomplete="off"
810
809
  tabindex=${this.tabIndex}
811
810
  class="autocomplete-input"
812
811
  type="text"
813
812
  .value=${this.query}
814
- placeholder="${this.filterObject.placeholder||""}"
815
- @input=${fe(this,qt,ra)}
816
- @keydown=${fe(this,qt,na)}
813
+ placeholder="${this.filterObject.placeholder||"Find..."}"
814
+ @input=${fe(this,Ft,is)}
815
+ @keydown=${fe(this,Ft,ns)}
817
816
  @blur=${()=>this.showSuggestions=!1}
818
817
  @focus=${()=>this.showSuggestions=!0}
819
818
  />
820
819
  </div>
821
820
  </div>`)}
822
- <div class="select-container ${n}">
823
- <ul class="${this.type}">
824
- ${this.filteredSuggestions.map(i=>ee`
821
+ <div class="select-container ${i}">
822
+ <ul class="${this.type} list no-space">
823
+ ${this.filteredSuggestions.map(n=>V`
825
824
  <li
826
- data-identifier="${i.toString().toLowerCase()}"
827
- data-title="${i}"
825
+ data-identifier="${n.toString().toLowerCase()}"
826
+ data-title="${n}"
828
827
  >
829
- <label>
828
+ <label class="${r} small max">
830
829
  <input
831
830
  type="${r}"
832
- name=${i}
833
- .checked=${this.selectedItems.includes(i)}
834
- @change=${()=>this.debouncedInputHandler(i)}
835
- @keydown=${s=>{s.key===" "&&this.inlineMode&&this.debouncedInputHandler(i)}}
831
+ name=${n}
832
+ .checked=${this.selectedItems.includes(n)}
833
+ @change=${()=>this.debouncedInputHandler(n)}
834
+ @keydown=${o=>{o.key===" "&&this.inlineMode&&this.debouncedInputHandler(n)}}
836
835
  tabindex=${this.tabIndex+1}
837
836
  />
838
- <span class="title">${i}</span>
837
+ <span class="title small-line">${n}</span>
839
838
  </label>
840
839
  </li>
841
840
  `)}
842
841
  </ul>
843
842
  </div>
844
- `}}qt=new WeakSet,ra=function(r){Zc(r,this)},na=function(r){Xc(r,this)},ia=function(r){Eo(r,this)},Dn(No,"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",No),(()=>{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",Lr=(d,p)=>{d.dispatchEvent(new CustomEvent("onPointerClicked",{detail:{$pointer:p}}))},Dr=(d,p)=>{d.dispatchEvent(new CustomEvent("onMouseDown",{detail:{nativeEvent:p}}))},Pt=(d,p)=>{d.dispatchEvent(new CustomEvent("onMouseUp",{detail:{nativeEvent:p}}))},un=(d,p)=>{d.dispatchEvent(new CustomEvent("onKeyDown",{detail:{nativeEvent:p}}))},dn=(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}}un(d,X)}},ce=()=>{B||Lr(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,hn=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)}%`))}}),Pr="--animate-onclick",dr="--width",fn="--height",pn="--panel-bg-border-radius",gn="--panel-bg",Tr="--panel-bg-hover",yn="--panel-bg-fill",v="--pointer-width",S="--pointer-height",W="--pointer-border-radius",_e="--pointer-bg",qe="--pointer-bg-hover",Ge="--pointer-bg-focus",Rr="--pointer-shadow",at="--pointer-shadow-hover",bt="--pointer-shadow-focus",Or="--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},bn=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],[fn,ie,"sliderHeight",null],[pn,$e,"sliderRadius",null],[gn,Ae,"sliderBg",null],[Tr,pe,"sliderBgHover",null],[yn,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$/],[Rr,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$/],[Or,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$/]],mn=(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",Br="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}},Xi=10,ii=20,Ji=(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},si=(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)}},Qi=(d,p)=>{let $=[["value","ariaLabel","pointerShape","pointerDisabled",0],["value0","ariaLabel0","pointerShape0","pointer0Disabled",0],["value1","ariaLabel1","pointerShape1","pointer1Disabled",0]];for(let w=2;w<Xi;w++)$.push([`value${w}`,`ariaLabel${w}`,`pointer${w}Shape`,`pointer${w}Disabled`,w-1]);for(let w of $)si(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)},vn=(d,p)=>{if(!(!p||d.length<=1)){for(let $ of d)$.$pointer.style.zIndex=ii.toString();p.$pointer.style.zIndex=(ii*2).toString()}},jr=0,lt=100,Kt=2,oi="0.3s",es=(d,p,$)=>{let w=$.map(f=>f[0]),P=null,z=null,re=null,T=null,B=jr,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=oi,wn=[],ai=f=>{je||(f.preventDefault&&f.preventDefault(),Rt(f),window.addEventListener("mousemove",Rt),window.addEventListener("mouseup",Hr),Dr(d,f))},Hr=f=>{je||(Ne=void 0,De=void 0,window.removeEventListener("mousemove",Rt),window.removeEventListener("mouseup",Hr),Et&&p.classList.add(Ct),Pt(d,f))},xn=(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=is(f);if(Ue){let he=A,et=Ir(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(!ns(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},li=()=>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=xn(f.target,A),P&&vn(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 mi=0;mi<w.length;mi++)Xe(mi,w[mi].percent+De);return}let H=li();H!==-1&&(Xe(H,A),P==null||P.$pointer.focus())},Nr=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=li();Oe!==-1&&(de?pr(Oe,w[Oe].percent):gr(Oe,w[Oe].percent))},ci=f=>{je||Ye||(ye===ke?Z?Xe(f,100):Xe(f,0):Le?gr(f,w[f].percent):pr(f,w[f].percent))},ui=f=>{je||Ye||(ye===ke?Z?Xe(f,0):Xe(f,100):Le?pr(f,w[f].percent):gr(f,w[f].percent))},di=f=>{je||Ye||(ye===ke?Z?gr(f,w[f].percent):pr(f,w[f].percent):Le?Xe(f,100):Xe(f,0))},hi=f=>{je||Ye||(ye===ke?Z?pr(f,w[f].percent):gr(f,w[f].percent):Le?Xe(f,0):Xe(f,100))},ns=f=>f.classList.contains("panel"),is=f=>f.classList.contains("panel-fill"),pr=(f,A)=>{if(A===void 0)return;let H=Ir(A);H==null&&(H=1),A-=H,A<0&&(A=0),Xe(f,A)},gr=(f,A)=>{if(A===void 0)return;let H=Ir(A);H==null&&(H=1),A+=H,A>100&&(A=100),Xe(f,A)},St=()=>{!T||T.update({percents:pi(),values:$n(),$pointers:yr(),min:gi(),max:yi(),data:An(),step:kt(),round:Fr(),type:Ur(),textMin:Ot(),textMax:zr(),rightToLeft:Mn(),bottomToTop:Cn(),pointersOverlap:ut(),pointersMinDistance:_n(),pointersMaxDistance:Yt(),rangeDragging:Zt(),disabled:br(),keyboardDisabled:qr(),mousewheelDisabled:mr()})},ss=()=>{St()},os=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)}},fi=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)}},Ir=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,zr=()=>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:""},as=f=>{var A;return w.length<=1||f>=w.length-1||ce?zr():(A=Gt(w[f+1].percent))!=null?A:""},pi=()=>w.map(f=>f.percent),$n=()=>w.map(f=>Gt(f.percent)),yr=()=>w.map(f=>f.$pointer),gi=()=>B,yi=()=>se,An=()=>F,Ur=()=>ye,Fr=()=>rt,_n=()=>X,Yt=()=>Me,Bt=f=>wn[f],Mn=()=>Le,Cn=()=>Z,br=()=>je,qr=()=>Ye,mr=()=>Ze,ut=()=>ce,Zt=()=>Ue,Xe=(f,A)=>{if(A===void 0)return;let H=Ir(A);H!==void 0&&(A=Ke(A,H));let de=w[f];if(!de)return;let Oe=de.updatePosition(A,os(f),fi(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()))}Wr(),Oe&&dn(d,w.map(he=>Gt(he.percent)))},dt=()=>{for(let f=0;f<w.length;f++)Xe(f,w[f].percent)},En=(f,A)=>{B=F!==void 0?0:G(f,jr),se=F!==void 0?F.length-1:G(A,lt),jt(B),Xt(se)},Wr=()=>{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=as(H))!=null?A:"").toString())}},jt=f=>{B=G(f,jr),B>se&&(se=B+lt),dt()},Xt=f=>{se=G(f,lt),se<B&&(se=B+lt),dt()},bi=f=>{ce=!0;for(let A=0;A<f.length;A++)Vr(f[A],A);ce=!1;for(let A=0;A<f.length;A++)Vr(f[A],A)},Vr=(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)},Kr=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},Sn=f=>{ce=f,dt()},Jt=f=>{(!Se(f)||f<0)&&(f=0),X=f},kn=f=>{(!Se(f)||f<0)&&(f=1/0),Me=f},Ln=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",Nr):document.addEventListener("wheel",Nr,{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&&Kr(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(Pr),p.classList.remove(Ct)):(Et=f.toString(),p.style.setProperty(Pr,Et),p.classList.add(Ct))},Re=(f,A)=>{let H=w[f];!H||(H.setAttr("aria-label",A),wn[f]=A)},Ie=f=>{if(Ne=void 0,w.length<=1){Ue=!1,p.classList.remove(Br);return}Ue=f,p.classList.toggle(Br,Ue)},Je=()=>{Ln(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(ci,ui,di,hi),w.push(Oe),Vr(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(ci,ui,di,hi);let H=(f=d.shadowRoot)==null?void 0:f.querySelector(".panel-fill");H&&(z=hn(H)),M(d.getAttribute(k)),I(we(d.getAttribute(U))),R(we(d.getAttribute(oe))),En(d.getAttribute(y),d.getAttribute(x)),Kr(d.getAttribute(b)),m(d.getAttribute(g)),bi($.map(de=>de[1])),Sn(we(d.getAttribute(o))),Jt(G(d.getAttribute(l),0)),kn(G(d.getAttribute(c),1/0)),Ie(we(d.getAttribute(u))),J(G(d.getAttribute(_),Kt)),Je(),Qe(),re=mn(d,p,w),Pe((A=d.getAttribute(Te))!=null?A:oi),p.addEventListener("mousedown",ai),p.addEventListener("mouseup",Hr),p.addEventListener("touchmove",Rt),p.addEventListener("touchstart",Rt),Ze||document.addEventListener("wheel",Nr,{passive:!1}),T=hr(d,ss,{setValues:bi,setMin:jt,setMax:Xt,setStep:Kr,setPointersOverlap:Sn,setPointersMinDistance:Jt,setPointersMaxDistance:kn,setDisabled:Ln,setType:M,setRightToLeft:I,setBottomToTop:R,setRound:J,setKeyboardDisabled:a,setMousewheelDisabled:h,setRangeDragging:Ie,setData:m},{getPercents:pi,getValues:$n,getPointerElements:yr,getMin:gi,getMax:yi,getStep:kt,getData:An,getType:Ur,getRound:Fr,getTextMin:Ot,getTextMax:zr,isRightToLeft:Mn,isBottomToTop:Cn,isDisabled:br,isKeyboardDisabled:qr,isMousewheelDisabled:mr,isPointersOverlap:ut,isRangeDraggingEnabled:Zt,getPointersMinDistance:_n,getPointersMaxDistance:Yt}),T.init()})(),{get pointers(){return w},get styles(){return re},get pluginsManager(){return T},get min(){return Ot()},get max(){return zr()},get step(){return kt()},get pointersOverlap(){return ut()},set pointersOverlap(f){Sn(f)},get pointersMinDistance(){return _n()},set pointersMinDistance(f){Jt(f)},get pointersMaxDistance(){return Yt()},set pointersMaxDistance(f){kn(f)},get disabled(){return br()},set disabled(f){Ln(f)},get data(){return An()},get type(){return Ur()},set type(f){M(f)},get rightToLeft(){return Mn()},set rightToLeft(f){I(f)},get bottomToTop(){return Cn()},set bottomToTop(f){R(f)},get round(){return Fr()},set round(f){J(f)},get animateOnClick(){return Et},set animateOnClick(f){Pe(f)},get keyboardDisabled(){return qr()},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:Vr,setStep:Kr,setData:m,getTextValue:Gt,setAriaLabel:Re,getAriaLabel:Bt,addPointer:We,removePointer:nt,destroy:()=>{p.removeEventListener("mousedown",ai),p.removeEventListener("mouseup",Hr),p.removeEventListener("touchmove",Rt),p.removeEventListener("touchstart",Rt),document.removeEventListener("wheel",Nr);for(let f of w)f.destroy();T==null||T.destroy()}}},ts=(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}}},rs=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;si(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=bn(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=Ji(this,$);this.slider=es(this,w,P),Qi(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||ts(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=rs;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 Io extends tt{constructor(){super();it(this,ar);this.filterObject={},this.tabIndex=0,this.inputHandler=fe(this,ar,sa).bind(this),this.debouncedInputHandler=Jn(this.inputHandler,500,{leading:!1})}reset(){Wc(this)}createRenderRoot(){return this}render(){return Ve(this.filterObject,()=>ee`
845
- ${fe(this,ar,gs).call(this,"min","before")}
846
- <tc-range-slider
847
- min="${this.filterObject.min}"
848
- max="${this.filterObject.max}"
849
- value1="${this.filterObject.state.min||this.filterObject.min}"
850
- value2="${this.filterObject.state.max||this.filterObject.max}"
851
- step="${this.filterObject.step||1}"
852
- @change=${this.debouncedInputHandler}
853
- ></tc-range-slider>
854
- ${fe(this,ar,gs).call(this,"max","after")}
855
- `)}}ar=new WeakSet,sa=function(r){Vc(r,this)},gs=function(r,n){return Kc(r,n,this)},Dn(Io,"properties",{filterObject:{attribute:!1,type:Object},tabIndex:{attribute:!1,type:Number}}),customElements.define("eox-itemfilter-range",Io);class bu extends tt{constructor(){super();it(this,ri);this.filterObject={},this.tabIndex=0}static get properties(){return{filterObject:{type:Object},tabIndex:{attribute:!1,type:Number}}}reset(){eu(this)}createRenderRoot(){return this}render(){return Ve(this.filterObject,()=>{var r;return ee`
856
- <form style="display: inline">
857
- ${Rn(["intersects","within"],n=>ee`
858
- <label>
859
- <input
860
- tabindex=${this.tabIndex}
861
- type="radio"
862
- name="mode"
863
- .checked="${(this.filterObject.state.mode||"")===n||xe}"
864
- value="${n}"
865
- @click=${()=>fe(this,ri,oa).call(this,n)}
866
- />
867
- <small>${n} filter geometry</small>
868
- </label>
869
- `)}
870
- </form>
871
- <eox-itemfilter-spatial-filter
872
- exportparts="map: spatial-filter-map"
873
- .geometry="${(r=this.filterObject.state)==null?void 0:r.geometry}"
874
- @filter="${n=>{this.filterObject.state.geometry=n.detail.geometry,this.filterObject.dirty=!0,this.filterObject.stringifiedState="Polygon",this.dispatchEvent(new CustomEvent("filter"))}}"
875
- ></eox-itemfilter-spatial>
876
- `})}}ri=new WeakSet,oa=function(r){ru(r,this)},customElements.define("eox-itemfilter-spatial",bu);class mu extends tt{constructor(){super();it(this,ni);this.geometry=null,this.eoxMap=null}static get properties(){return{geometry:{type:Object},eoxMap:{type:Object}}}firstUpdated(){fe(this,ni,aa).call(this)}reset(){tu(this)}render(){return ee`<div id="eox-map"></div>`}}ni=new WeakSet,aa=function(){ko(this)},customElements.define("eox-itemfilter-spatial-filter",mu);function vu(t,e){e.renderRoot.querySelectorAll(".chip").forEach(r=>{r.classList.remove("highlighted")}),t.target instanceof HTMLElement&&t.target.classList.add("highlighted"),e.requestUpdate()}function wu(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)&&xu(r,t.target.value??"",e))}function xu(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 $u 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,ys).bind(this))}disconnectedCallback(){super.disconnectedCallback(),this.getRootNode().removeEventListener("keydown",fe(this,lr,ys).bind(this))}_dispatchEvent(){this.dispatchEvent(new CustomEvent("items-selected",{detail:this.items}))}render(){return ee`
877
- <style>
878
- ${tn}
879
- </style>
843
+ `}}Ft=new WeakSet,is=function(r){Xc(r,this)},ns=function(r){Jc(r,this)},os=function(r){Sa(r,this)},Ci(Ha,"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",Ha),(()=>{var t=Object.defineProperty,e=Math.pow,r=(u,h,k)=>h in u?t(u,h,{enumerable:!0,configurable:!0,writable:!0,value:k}):u[h]=k,i=(u,h,k)=>(r(u,typeof h!="symbol"?h+"":h,k),k),n=(u,h)=>` ${h&&h.length>0?h.map(k=>`<link rel="stylesheet" href="${k}" />`).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>`,o=":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}",a="pointers-overlap",l="pointers-min-distance",c="pointers-max-distance",d="range-dragging",m="data",g="min",w="max",b="step",$="round",C="type",F="theme",q="rtl",ae="btt",te="disabled",se="keyboard-disabled",R="mousewheel-disabled",le="slider-width",ne="slider-height",ke="slider-radius",_e="slider-bg",he="slider-bg-hover",ee="slider-bg-fill",ye="pointer-width",Ue="pointer-height",E="pointer-radius",M="pointer-bg",z="pointer-bg-hover",N="pointer-bg-focus",L="pointer-shadow",Y="pointer-shadow-hover",K="pointer-shadow-focus",ie="pointer-border",me="pointer-border-hover",Me="pointer-border-focus",Pe="animate-onclick",Ie="css-links",Ce="vertical",j="horizontal",Oe=(u,h,k,x,D)=>{let I=h-u;return I===0?k:(x-k)*(D-u)/I+k},Se=u=>!isNaN(parseFloat(u))&&isFinite(u),G=(u,h)=>Se(u)?Number(u):h,Ye=(u,h)=>h===0?0:Math.round(u/h)*h,gt=(u,h=1/0)=>{if(h===1/0)return u;let k=e(10,h);return Math.round(u*k)/k},xe=u=>u==null?!1:typeof u=="boolean"?u:u.trim().toLowerCase()==="true",Er=(u,h)=>{u.dispatchEvent(new CustomEvent("onPointerClicked",{detail:{$pointer:h}}))},Dr=(u,h)=>{u.dispatchEvent(new CustomEvent("onMouseDown",{detail:{nativeEvent:h}}))},Dt=(u,h)=>{u.dispatchEvent(new CustomEvent("onMouseUp",{detail:{nativeEvent:h}}))},li=(u,h)=>{u.dispatchEvent(new CustomEvent("onKeyDown",{detail:{nativeEvent:h}}))},ci=(u,h)=>{if(!h||h.length<=0)return;let k=h.map(D=>Se(D)?G(D,D):D),x={values:k||[]};x.value=k[0],x.value0=k[0],x.value1=k[0];for(let D=1;D<k.length;D++)x[`value${D+1}`]=k[D];u.dispatchEvent(new CustomEvent("change",{detail:x}))},dr=(u,h,k)=>{let x=0,D,I,re,P,O=!1,oe=(Z,Ae,qe,Ne,Ee,je)=>{let Ge=x;qe!==void 0&&Z>qe&&(Z=qe),Ae!==void 0&&Z<Ae&&(Z=Ae),x=Z;let Xe=x;return(Ne===Ce&&je||Ne===j&&Ee)&&(Xe=100-Xe),Ne===Ce?h.style.top=`${Xe}%`:h.style.left=`${Xe}%`,Ge!==x},de=Z=>Z===h||h.contains(Z),U=(Z,Ae,qe,Ne)=>{D=Z,I=Ae,re=qe,P=Ne},ge=Z=>{O=Z,h.classList.toggle("disabled",O),O?h.setAttribute("aria-disabled","true"):h.hasAttribute("aria-disabled")&&h.removeAttribute("aria-disabled")},rt=(Z,Ae)=>{Ae==null?h.removeAttribute(Z):h.setAttribute(Z,Ae)},Le=Z=>h.getAttribute(Z),J=Z=>{if(!O){switch(Z.key){case"ArrowLeft":{Z.preventDefault(),typeof D=="function"&&D(k);break}case"ArrowRight":{Z.preventDefault(),typeof I=="function"&&I(k);break}case"ArrowUp":{Z.preventDefault(),typeof re=="function"&&re(k);break}case"ArrowDown":{Z.preventDefault(),typeof P=="function"&&P(k);break}}li(u,Z)}},ce=()=>{O||Er(u,h)};return h.className=`pointer pointer-${k}`,h.addEventListener("keydown",J),h.addEventListener("click",ce),{$pointer:h,get percent(){return x},get disabled(){return O},set disabled(Z){ge(Z)},updatePosition:oe,isClicked:de,setCallbacks:U,setAttr:rt,getAttr:Le,destroy:()=>{h.removeEventListener("keydown",J),h.removeEventListener("click",ce),h.remove()}}},Wt=u=>{if(u==null)return;if(Array.isArray(u))return u;if(u.trim()==="")return;let h=u.split(","),k=[],x=!0;for(let D=0;D<h.length;D++){let I=h[D].trim();I!==""&&(k.push(I),Se(I)||(x=!1))}return x?k.map(D=>Number(D)):k},ur=(u,h)=>h?h.findIndex(k=>k===u||k.toString().trim()===u.toString().trim()):-1,di=u=>({updatePosition:(h,k,x,D)=>{if(k.length<=0)return;let I=k.length===1,re=k[0],P=k[k.length-1];h===Ce?(u.style.removeProperty("width"),u.style.removeProperty("right"),u.style.removeProperty("left"),I?u.style.height=`${re}%`:u.style.height=`${Math.abs(re-P)}%`,D?(u.style.bottom="0%",I?u.style.top="auto":u.style.top=`${Math.min(100-P,100-re)}%`):(u.style.bottom="auto",I?u.style.top="0%":u.style.top=`${Math.min(re,P)}%`)):(u.style.removeProperty("height"),u.style.removeProperty("top"),u.style.removeProperty("bottom"),I?u.style.width=`${re}%`:u.style.width=`${Math.abs(re-P)}%`,x?(u.style.right="0%",I?u.style.left="auto":u.style.left=`${Math.min(100-P,100-re)}%`):(u.style.right="auto",I?u.style.left="0%":u.style.left=`${Math.min(re,P)}%`))}}),Pr="--animate-onclick",pr="--width",ui="--height",pi="--panel-bg-border-radius",fi="--panel-bg",Tr="--panel-bg-hover",hi="--panel-bg-fill",y="--pointer-width",S="--pointer-height",W="--pointer-border-radius",$e="--pointer-bg",We="--pointer-bg-hover",Ke="--pointer-bg-focus",Rr="--pointer-shadow",st="--pointer-shadow-hover",bt="--pointer-shadow-focus",Or="--pointer-border",$t="--pointer-border-hover",At="--pointer-border-focus",Pt=(u,h,k)=>{let x=new Map;for(let D of u.attributes){let I=D.nodeName.trim().toLowerCase();if(!h.test(I))continue;let re=I.replace(/\D/g,"").trim(),P=re===""||re==="0"||re==="1"?0:G(re,0)-1,O=k&&typeof k=="function"?k(D.value):D.value;x.set(P,O)}return x},mi=u=>{if(!u)return null;let h=u.getAttribute(Ie);if(!h)return null;let k=h.split(";"),x=[];for(let D of k)D.trim()!==""&&x.push(D.trim());return x},Vt=[[pr,le,"sliderWidth",null],[ui,ne,"sliderHeight",null],[pi,ke,"sliderRadius",null],[fi,_e,"sliderBg",null],[Tr,he,"sliderBgHover",null],[hi,ee,"sliderBgFill",null],[y,ye,"pointer#Width",/^pointer([0-9]*)-width$/],[S,Ue,"pointer#Height",/^pointer([0-9]*)-height$/],[W,E,"pointer#Radius",/^pointer([0-9]*)-radius$/],[$e,M,"pointer#Bg",/^pointer([0-9]*)-bg$/],[We,z,"pointer#BgHover",/^pointer([0-9]*)-bg-hover$/],[Ke,N,"pointer#BgFocus",/^pointer([0-9]*)-bg-focus$/],[Rr,L,"pointer#Shadow",/^pointer([0-9]*)-shadow$/],[st,Y,"pointer#ShadowHover",/^pointer([0-9]*)-shadow-hover$/],[bt,K,"pointer#ShadowFocus",/^pointer([0-9]*)-shadow-focus$/],[Or,ie,"pointer#Border",/^pointer([0-9]*)-border$/],[$t,me,"pointer#BorderHover",/^pointer([0-9]*)-border-hover$/],[At,Me,"pointer#BorderFocus",/^pointer([0-9]*)-border-focus$/]],gi=(u,h,k)=>{let x=null,D=[],I=new Map,re=(J,ce=h)=>{let Z=[...ce.classList];for(let Ae of Z)Ae.startsWith(J)&&h.classList.remove(Ae)},P=()=>{re("shape");let J=h.querySelectorAll(".pointer");for(let ce of J)re("shape",ce)},O=J=>{x=J,re("theme-"),typeof J=="string"&&h.classList.add(`theme-${J}`)},oe=()=>{if(P(),!(D.length<=0)){h.classList.add("shape",`shape-${D[0]}`);for(let J=1;J<D.length;J++){let ce=D[J];if(!ce)continue;let Z=h.querySelector(`.pointer-${J}`);!Z||Z.classList.add("shape",`shape-${ce}`)}}},de=(J,ce)=>{D[J]=ce,oe()},U=()=>{P();let J=Pt(u,/^pointer([0-9]*)-shape$/);if(!(J.size<=0)){for(let ce of J){let Z=ce[0];D[Z]=ce[1]}oe()}},ge=(J,ce)=>`${J}-${ce}`,rt=(J,ce,Z)=>{let Ae=k[Z];if(!Ae)return;let qe=Z===0?h:Ae.$pointer;if(ce==null){I.has(ge(J,Z))&&I.delete(ge(J,Z)),qe.style.removeProperty(J);return}I.set(ge(J,Z),ce),qe.style.setProperty(J,ce)},Le=(J,ce)=>I.get(ge(J,ce));return(()=>{for(let J of Vt){let[ce,Z,Ae,qe]=J;if(qe){let Ee=Pt(u,qe);for(let je of Ee){let Ge=je[0],Xe=je[1];rt(ce,Xe,Ge)}}else{let Ee=u.getAttribute(Z);rt(ce,Ee,0)}let Ne=[];if(Ae.indexOf("#")===-1)Ne.push([Ae,0]);else{Ne.push([Ae.replace("#",""),0]),Ne.push([Ae.replace("#","0"),0]),Ne.push([Ae.replace("#","1"),0]);for(let Ee=1;Ee<k.length;Ee++)Ne.push([Ae.replace("#",(Ee+1).toString()),Ee])}for(let Ee of Ne)try{let je=Ee[0],Ge=Ee[1];Object.prototype.hasOwnProperty.call(u,je)||Object.defineProperty(u,je,{get(){return Le(ce,Ge)},set:Xe=>{rt(ce,Xe,Ge)}})}catch(je){console.error(je)}}O(u.getAttribute(F)),U()})(),{setStyle:rt,getStyle:Le,get theme(){return x},set theme(J){O(J)},get pointerShapes(){return D},setPointerShape:de}},zt="animate-on-click",jr="range-dragging",fr=(u,h,k,x)=>{let D=[],I=de=>{for(let U of D)U.update&&typeof U.update=="function"&&U.update(de)},re=()=>{for(let de of D)de.destroy&&typeof de.destroy=="function"&&de.destroy()},P=(de,U)=>{for(let ge of D)ge.onAttrChange&&typeof ge.onAttrChange=="function"&&ge.onAttrChange(de,U)},O=de=>{if(de.gettersAndSetters){for(let U of de.gettersAndSetters)if(!(!U.name||!U.attributes))try{Object.prototype.hasOwnProperty.call(u,U.name)||Object.defineProperty(u,U.name,U.attributes)}catch(ge){console.error("defineSettersGetters error:",ge)}}},oe=de=>{var U;if(!de.css)return;let ge=(U=u.shadowRoot)==null?void 0:U.querySelector("style");!ge||(ge.innerHTML+=de.css)};return{init:()=>{if(window.tcRangeSliderPlugins)for(let de of window.tcRangeSliderPlugins){let U=de();D.push(U),U.init&&typeof U.init=="function"&&(U.init(u,h,k,x),O(U),oe(U))}},update:I,onAttrChange:P,destroy:re}},Jn=10,rn=20,Zn=(u,h)=>{let k=new Map,x=/^value([0-9]*)$/;for(let P of u.attributes){let O=P.nodeName.trim().toLowerCase();if(!x.test(O))continue;let oe=O.replace("value","").trim(),de=oe===""||oe==="0"||oe==="1"?0:G(oe,0)-1,U=Se(P.value)?G(P.value,0):P.value;k.set(de,U)}let D=Math.max(...Array.from(k.keys())),I=[];I.push([dr(u,h,0),k.get(0)]);let re=h;for(let P=1;P<=D;P++){let O=h.cloneNode(!0);re.after(O),re=O,I.push([dr(u,O,P),k.get(P)])}return I},nn=(u,h,k,x,D,I,re)=>{try{Object.defineProperty(u,x,{configurable:!0,get(){if(!h)return;let P=h.pointers[k];if(!P)return;let O=h.getTextValue(P.percent);return Se(O)?G(O,O):O},set:P=>{h.pointers[k]?h==null||h.setValue(P,k):h==null||h.addPointer(P)}}),Object.defineProperty(u,D,{configurable:!0,get(){var P,O;return(O=(P=h==null?void 0:h.pointers[k])==null?void 0:P.getAttr("aria-label"))!=null?O:void 0},set:P=>{!h||h.setAriaLabel(k,P)}}),Object.defineProperty(u,I,{configurable:!0,get(){var P,O;return(O=(P=h==null?void 0:h.styles)==null?void 0:P.pointerShapes[k])!=null?O:null},set:P=>{!h||!h.styles||h.styles.setPointerShape(k,P)}}),Object.defineProperty(u,re,{configurable:!0,get(){var P;return(P=h==null?void 0:h.pointers[k].disabled)!=null?P:!1},set:P=>{if(!h)return;let O=h==null?void 0:h.pointers[k];!O||(O.disabled=P)}})}catch(P){console.error(P)}},Qn=(u,h)=>{let k=[["value","ariaLabel","pointerShape","pointerDisabled",0],["value0","ariaLabel0","pointerShape0","pointer0Disabled",0],["value1","ariaLabel1","pointerShape1","pointer1Disabled",0]];for(let x=2;x<Jn;x++)k.push([`value${x}`,`ariaLabel${x}`,`pointer${x}Shape`,`pointer${x}Disabled`,x-1]);for(let x of k)nn(u,h,x[4],x[0],x[1],x[2],x[3])},hr=(u,h,k)=>{var x;let D=(x=k.shadowRoot)==null?void 0:x.querySelector(".container");if(D)for(let I of u)h?D.prepend(I.$pointer):D.append(I.$pointer)},bi=(u,h)=>{if(!(!h||u.length<=1)){for(let k of u)k.$pointer.style.zIndex=rn.toString();h.$pointer.style.zIndex=(rn*2).toString()}},Br=0,lt=100,Yt=2,on="0.3s",eo=(u,h,k)=>{let x=k.map(f=>f[0]),D=null,I=null,re=null,P=null,O=Br,oe=lt,de,U,ge=j,rt=Yt,Le=!1,J=!1,ce=!1,Z=0,Ae=1/0,qe=!1,Ne,Ee,je=!1,Ge=!1,Xe=!1,Mt=on,vi=[],an=f=>{je||(f.preventDefault&&f.preventDefault(),Tt(f),window.addEventListener("mousemove",Tt),window.addEventListener("mouseup",Nr),Dr(u,f))},Nr=f=>{je||(Ne=void 0,Ee=void 0,window.removeEventListener("mousemove",Tt),window.removeEventListener("mouseup",Nr),Mt&&h.classList.add(zt),Dt(u,f))},yi=(f,_)=>{if(x.length<=0)return;if(x.length===1)return x[0].isClicked(f)&&Mt&&h.classList.remove(zt),x[0];let B=no(f);if(qe){let pe=_,et=Ir(pe);et!==void 0&&(pe=Ye(pe,et)),B?(Ne=pe,Ee=0,Mt&&h.classList.remove(zt)):Ne!==void 0&&(Ee=pe-Ne,Ne=pe)}if(!io(f)&&!B){for(let pe of x)if(!(!pe.isClicked(f)||pe.disabled))return Mt&&h.classList.remove(zt),pe;for(let pe of x)if(D===pe)return pe}let ue=1/0,Re=null;for(let pe of x){if(pe.disabled)continue;let et=Math.abs(_-pe.percent);et<ue&&(ue=et,Re=pe)}return Re},sn=()=>x.findIndex(f=>D===f&&!f.disabled),Tt=f=>{let _;if(ge===Ce){let{height:ue,top:Re}=h.getBoundingClientRect(),pe=f.type.indexOf("mouse")!==-1?f.clientY:f.touches[0].clientY;_=Math.min(Math.max(0,pe-Re),ue)*100/ue}else{let{width:ue,left:Re}=h.getBoundingClientRect(),pe=f.type.indexOf("mouse")!==-1?f.clientX:f.touches[0].clientX;_=Math.min(Math.max(0,pe-Re),ue)*100/ue}if((Le||J)&&(_=100-_),D=yi(f.target,_),D&&bi(x,D),qe&&x.length>1&&Ee!==void 0){let ue=x[0],Re=x[x.length-1],pe=ue.percent+Ee<0,et=Re.percent+Ee>100;if(pe||et)return;for(let bn=0;bn<x.length;bn++)Je(bn,x[bn].percent+Ee);return}let B=sn();B!==-1&&(Je(B,_),D==null||D.$pointer.focus())},Hr=f=>{if(je||document.activeElement!==u||D!=null&&D.disabled)return;f.stopPropagation(),f.preventDefault();let _=f.deltaY<0,B=Le||J,ue=_?!B:B,Re=sn();Re!==-1&&(ue?mr(Re,x[Re].percent):gr(Re,x[Re].percent))},ln=f=>{je||Ge||(ge===Ce?J?Je(f,100):Je(f,0):Le?gr(f,x[f].percent):mr(f,x[f].percent))},cn=f=>{je||Ge||(ge===Ce?J?Je(f,0):Je(f,100):Le?mr(f,x[f].percent):gr(f,x[f].percent))},dn=f=>{je||Ge||(ge===Ce?J?gr(f,x[f].percent):mr(f,x[f].percent):Le?Je(f,100):Je(f,0))},un=f=>{je||Ge||(ge===Ce?J?mr(f,x[f].percent):gr(f,x[f].percent):Le?Je(f,0):Je(f,100))},io=f=>f.classList.contains("panel"),no=f=>f.classList.contains("panel-fill"),mr=(f,_)=>{if(_===void 0)return;let B=Ir(_);B==null&&(B=1),_-=B,_<0&&(_=0),Je(f,_)},gr=(f,_)=>{if(_===void 0)return;let B=Ir(_);B==null&&(B=1),_+=B,_>100&&(_=100),Je(f,_)},St=()=>{!P||P.update({percents:fn(),values:xi(),$pointers:br(),min:hn(),max:mn(),data:wi(),step:Ct(),round:Fr(),type:Ur(),textMin:Rt(),textMax:qr(),rightToLeft:_i(),bottomToTop:$i(),pointersOverlap:dt(),pointersMinDistance:ki(),pointersMaxDistance:Gt(),rangeDragging:Xt(),disabled:vr(),keyboardDisabled:Wr(),mousewheelDisabled:yr()})},oo=()=>{St()},ao=f=>{if(!(ce||x.length<=1||oe===O))if(f===0){let _=Ae*100/(oe-O);return Math.max(0,x[f+1].percent-_)}else{let _=Z*100/(oe-O);return Math.min(x[f-1].percent+_,100)}},pn=f=>{if(!(ce||x.length<=1||oe===O))if(f===x.length-1){let _=Ae*100/(oe-O);return Math.min(x[f-1].percent+_,100)}else{let _=Z*100/(oe-O);return Math.max(0,x[f+1].percent-_)}},Ir=f=>{let _;if(typeof de=="function"){let B=Oe(0,100,O,oe,f);_=de(B,f)}else _=de;if(Se(_)){let B=oe-O;return _=B===0?0:_*100/B,_}},Kt=f=>{if(f===void 0)return;let _=Oe(0,100,O,oe,f);return U!==void 0?U[Math.round(_)]:gt(_,rt)},Rt=()=>U!==void 0?U[O]:O,qr=()=>U!==void 0?U[oe]:oe,Ct=()=>de,Lt=f=>{var _;return f<=0||ce?Rt():(_=Kt(x[f-1].percent))!=null?_:""},so=f=>{var _;return x.length<=1||f>=x.length-1||ce?qr():(_=Kt(x[f+1].percent))!=null?_:""},fn=()=>x.map(f=>f.percent),xi=()=>x.map(f=>Kt(f.percent)),br=()=>x.map(f=>f.$pointer),hn=()=>O,mn=()=>oe,wi=()=>U,Ur=()=>ge,Fr=()=>rt,ki=()=>Z,Gt=()=>Ae,Ot=f=>vi[f],_i=()=>Le,$i=()=>J,vr=()=>je,Wr=()=>Ge,yr=()=>Xe,dt=()=>ce,Xt=()=>qe,Je=(f,_)=>{if(_===void 0)return;let B=Ir(_);B!==void 0&&(_=Ye(_,B));let ue=x[f];if(!ue)return;let Re=ue.updatePosition(_,ao(f),pn(f),ge,Le,J);I==null||I.updatePosition(ge,x.map(pe=>pe.percent),Le,J),St();for(let pe of x){let et=Kt(pe.percent);et!==void 0&&(pe.setAttr("aria-valuenow",et.toString()),pe.setAttr("aria-valuetext",et.toString()))}Vr(),Re&&ci(u,x.map(pe=>Kt(pe.percent)))},ut=()=>{for(let f=0;f<x.length;f++)Je(f,x[f].percent)},Ai=(f,_)=>{O=U!==void 0?0:G(f,Br),oe=U!==void 0?U.length-1:G(_,lt),jt(O),Jt(oe)},Vr=()=>{var f,_;for(let B=0;B<x.length;B++){let ue=x[B];ue.setAttr("aria-valuemin",((f=Lt(B))!=null?f:"").toString()),ue.setAttr("aria-valuemax",((_=so(B))!=null?_:"").toString())}},jt=f=>{O=G(f,Br),O>oe&&(oe=O+lt),ut()},Jt=f=>{oe=G(f,lt),oe<O&&(oe=O+lt),ut()},gn=f=>{ce=!0;for(let _=0;_<f.length;_++)Yr(f[_],_);ce=!1;for(let _=0;_<f.length;_++)Yr(f[_],_)},Yr=(f,_)=>{let B;U!==void 0?(B=f==null?0:ur(f,U),B===-1&&(B=0)):(B=G(f,O),B<O&&(B=O),B>oe&&(B=oe));let ue=Oe(O,oe,0,100,B);Je(_,ue)},Kr=f=>{if(f==null){de=void 0;return}if(typeof f=="function"){de=f,ut();return}if(Se(f)){de=G(f,1);let _=Math.abs(oe-O);de>_&&(de=void 0),ut();return}de=void 0},zi=f=>{ce=f,ut()},Zt=f=>{(!Se(f)||f<0)&&(f=0),Z=f},Mi=f=>{(!Se(f)||f<0)&&(f=1/0),Ae=f},Si=f=>{je=f,h.classList.toggle("disabled",je),je?h.setAttribute("aria-disabled","true"):h.hasAttribute("aria-disabled")&&h.removeAttribute("aria-disabled")},s=f=>{Ge=f},p=f=>{Xe=f,Xe?document.removeEventListener("wheel",Hr):document.addEventListener("wheel",Hr,{passive:!1})},v=f=>{if(f==null){U=void 0;return}if(U=Wt(f),U===void 0||U.length<=0){U=void 0;return}jt(0),Jt(U.length-1),de===void 0&&Kr(1)},A=f=>{var _;typeof f=="string"?ge=f.trim().toLowerCase()===Ce?Ce:j:ge=j;let B=(_=u.shadowRoot)==null?void 0:_.querySelector(".range-slider-box");if(!B)return;B.className=`range-slider-box type-${ge}`,ut();let ue=ge===Ce?"vertical":"horizontal";for(let Re of x)Re.setAttr("aria-orientation",ue)},H=f=>{Le=f,x.length>1&&hr(x,Le,u),ut(),St()},T=f=>{J=f,x.length>1&&hr(x,J,u),ut(),St()},Q=f=>{rt=G(f,Yt),rt<0&&(rt=Yt),St()},De=f=>{f==null||f.toString().trim().toLowerCase()==="false"?(Mt=void 0,h.style.removeProperty(Pr),h.classList.remove(zt)):(Mt=f.toString(),h.style.setProperty(Pr,Mt),h.classList.add(zt))},Te=(f,_)=>{let B=x[f];!B||(B.setAttr("aria-label",_),vi[f]=_)},He=f=>{if(Ne=void 0,x.length<=1){qe=!1,h.classList.remove(jr);return}qe=f,h.classList.toggle(jr,qe)},Ze=()=>{Si(xe(u.getAttribute(te))),Ge=xe(u.getAttribute(se)),Xe=xe(u.getAttribute(R));let f=Pt(u,/^pointer([0-9]*)-disabled$/,_=>xe(_));for(let _ of f){let B=_[0];!x[B]||(x[B].disabled=_[1])}},Qe=()=>{let f=Pt(u,/^aria-label([0-9]*)$/);for(let _ of f){let B=_[0];Te(B,_[1])}},Ve=f=>{let _=x.length,B=x[_-1].$pointer,ue=B.cloneNode(!0);B.after(ue);let Re=dr(u,ue,_);return Re.setCallbacks(ln,cn,dn,un),x.push(Re),Yr(f,_),ut(),St(),_},it=()=>{let f=x.length,_=x[f-1];return _?(_.destroy(),x.pop(),x.length<=1&&He(!1),ut(),St(),f-1):-1};return(()=>{var f,_;for(let ue of x)ue.setCallbacks(ln,cn,dn,un);let B=(f=u.shadowRoot)==null?void 0:f.querySelector(".panel-fill");B&&(I=di(B)),A(u.getAttribute(C)),H(xe(u.getAttribute(q))),T(xe(u.getAttribute(ae))),Ai(u.getAttribute(g),u.getAttribute(w)),Kr(u.getAttribute(b)),v(u.getAttribute(m)),gn(k.map(ue=>ue[1])),zi(xe(u.getAttribute(a))),Zt(G(u.getAttribute(l),0)),Mi(G(u.getAttribute(c),1/0)),He(xe(u.getAttribute(d))),Q(G(u.getAttribute($),Yt)),Ze(),Qe(),re=gi(u,h,x),De((_=u.getAttribute(Pe))!=null?_:on),h.addEventListener("mousedown",an),h.addEventListener("mouseup",Nr),h.addEventListener("touchmove",Tt),h.addEventListener("touchstart",Tt),Xe||document.addEventListener("wheel",Hr,{passive:!1}),P=fr(u,oo,{setValues:gn,setMin:jt,setMax:Jt,setStep:Kr,setPointersOverlap:zi,setPointersMinDistance:Zt,setPointersMaxDistance:Mi,setDisabled:Si,setType:A,setRightToLeft:H,setBottomToTop:T,setRound:Q,setKeyboardDisabled:s,setMousewheelDisabled:p,setRangeDragging:He,setData:v},{getPercents:fn,getValues:xi,getPointerElements:br,getMin:hn,getMax:mn,getStep:Ct,getData:wi,getType:Ur,getRound:Fr,getTextMin:Rt,getTextMax:qr,isRightToLeft:_i,isBottomToTop:$i,isDisabled:vr,isKeyboardDisabled:Wr,isMousewheelDisabled:yr,isPointersOverlap:dt,isRangeDraggingEnabled:Xt,getPointersMinDistance:ki,getPointersMaxDistance:Gt}),P.init()})(),{get pointers(){return x},get styles(){return re},get pluginsManager(){return P},get min(){return Rt()},get max(){return qr()},get step(){return Ct()},get pointersOverlap(){return dt()},set pointersOverlap(f){zi(f)},get pointersMinDistance(){return ki()},set pointersMinDistance(f){Zt(f)},get pointersMaxDistance(){return Gt()},set pointersMaxDistance(f){Mi(f)},get disabled(){return vr()},set disabled(f){Si(f)},get data(){return wi()},get type(){return Ur()},set type(f){A(f)},get rightToLeft(){return _i()},set rightToLeft(f){H(f)},get bottomToTop(){return $i()},set bottomToTop(f){T(f)},get round(){return Fr()},set round(f){Q(f)},get animateOnClick(){return Mt},set animateOnClick(f){De(f)},get keyboardDisabled(){return Wr()},set keyboardDisabled(f){s(f)},get mousewheelDisabled(){return yr()},set mousewheelDisabled(f){p(f)},get rangeDragging(){return Xt()},set rangeDragging(f){He(f)},setMin:jt,setMax:Jt,setValue:Yr,setStep:Kr,setData:v,getTextValue:Kt,setAriaLabel:Te,getAriaLabel:Ot,addPointer:Ve,removePointer:it,destroy:()=>{h.removeEventListener("mousedown",an),h.removeEventListener("mouseup",Nr),h.removeEventListener("touchmove",Tt),h.removeEventListener("touchstart",Tt),document.removeEventListener("wheel",Hr);for(let f of x)f.destroy();P==null||P.destroy()}}},to=(u,h,k)=>{let x=Vt.find(([P,O,oe,de])=>O.replace("#","")===h.replace(/\d+/g,""));if(x&&u.styles){let[P,O,oe,de]=x,U=h.replace(/\D/g,"").trim(),ge=U===""||U==="0"||U==="1"?0:G(U,0)-1;u.styles.setStyle(P,k,ge);return}switch(u&&u.pluginsManager&&u.pluginsManager.onAttrChange(h,k),h){case g:{u.setMin(k);break}case w:{u.setMax(k);break}case b:{u.setStep(k);break}case a:{u.pointersOverlap=xe(k);break}case l:{u.pointersMinDistance=G(k,0);break}case d:{u.rangeDragging=xe(k);break}case c:{u.pointersMaxDistance=G(k,1/0);break}case te:{u.disabled=xe(k);break}case se:{u.keyboardDisabled=xe(k);break}case R:{u.mousewheelDisabled=xe(k);break}case m:{u.setData(k);break}case C:{u.type=k;break}case q:{u.rightToLeft=xe(k);break}case ae:{u.bottomToTop=xe(k);break}case $:{u.round=G(k,Yt);break}case F:{u.styles&&(u.styles.theme=k);break}case Pe:{u.animateOnClick=k;break}}let D=null;if(/^value([0-9]*)$/.test(h)&&(D="value"),/^pointer([0-9]*)-disabled$/.test(h)&&(D="pointer-disabled"),/^aria-label([0-9]*)$/.test(h)&&(D="aria-label"),/^pointer([0-9]*)-shape$/.test(h)&&(D="pointer-shape"),!D)return;let I=h.replace(/\D/g,"").trim(),re=I===""||I==="0"||I==="1"?0:G(I,0)-1;switch(D){case"value":{u.setValue(k,re);break}case"pointer-disabled":{let P=u==null?void 0:u.pointers[re];if(!P)return;P.disabled=xe(k);break}case"aria-label":{u.setAriaLabel(re,k);break}case"pointer-shape":{u.styles&&u.styles.setPointerShape(re,k);break}}},ro=class extends HTMLElement{constructor(){super(),i(this,"slider"),i(this,"_externalCSSList",[]),i(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,h;return(h=(u=this.slider)==null?void 0:u.disabled)!=null?h:!1}set data(u){var h;(h=this.slider)==null||h.setData(u)}get data(){var u;return(u=this.slider)==null?void 0:u.data}set min(u){var h;(h=this.slider)==null||h.setMin(u)}get min(){var u;return(u=this.slider)==null?void 0:u.min}set max(u){var h;(h=this.slider)==null||h.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,h;return(h=(u=this.slider)==null?void 0:u.round)!=null?h:Yt}set type(u){!this.slider||(this.slider.type=u??j)}get type(){var u;return((u=this.slider)==null?void 0:u.type)||j}set pointersOverlap(u){!this.slider||(this.slider.pointersOverlap=u)}get pointersOverlap(){var u,h;return(h=(u=this.slider)==null?void 0:u.pointersOverlap)!=null?h:!1}set pointersMinDistance(u){!this.slider||(this.slider.pointersMinDistance=u)}get pointersMinDistance(){var u,h;return(h=(u=this.slider)==null?void 0:u.pointersMinDistance)!=null?h:0}set pointersMaxDistance(u){!this.slider||(this.slider.pointersMaxDistance=u)}get pointersMaxDistance(){var u,h;return(h=(u=this.slider)==null?void 0:u.pointersMaxDistance)!=null?h:1/0}set theme(u){!this.slider||!this.slider.styles||(this.slider.styles.theme=u)}get theme(){var u,h,k;return(k=(h=(u=this.slider)==null?void 0:u.styles)==null?void 0:h.theme)!=null?k:null}set rtl(u){!this.slider||(this.slider.rightToLeft=u)}get rtl(){var u,h;return(h=(u=this.slider)==null?void 0:u.rightToLeft)!=null?h:!1}set btt(u){!this.slider||(this.slider.bottomToTop=u)}get btt(){var u,h;return(h=(u=this.slider)==null?void 0:u.bottomToTop)!=null?h:!1}set keyboardDisabled(u){!this.slider||(this.slider.keyboardDisabled=u)}get keyboardDisabled(){var u,h;return(h=(u=this.slider)==null?void 0:u.keyboardDisabled)!=null?h:!1}set mousewheelDisabled(u){!this.slider||(this.slider.mousewheelDisabled=u)}get mousewheelDisabled(){var u,h;return(h=(u=this.slider)==null?void 0:u.mousewheelDisabled)!=null?h:!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,h;return(h=(u=this.slider)==null?void 0:u.rangeDragging)!=null?h:!1}set rangeDragging(u){this.slider&&(this.slider.rangeDragging=xe(u))}get externalCSSList(){return this._externalCSSList}addPointer(u){var h,k;if(!this.slider)return;let x=(k=(h=this.slider)==null?void 0:h.addPointer(u))!=null?k:0;nn(this,this.slider,x,`value${x+1}`,`ariaLabel${x+1}`,`pointerShape${x+1}`,`pointer${x+1}Disabled`)}removePointer(){var u;!this.slider||(u=this.slider)==null||u.removePointer()}addCSS(u){if(!this.shadowRoot)return;let h=document.createElement("style");h.textContent=u,this.shadowRoot.appendChild(h)}connectedCallback(){var u,h;if(!this.shadowRoot)return;this._externalCSSList=mi(this),this.shadowRoot.innerHTML=n(o,this._externalCSSList);let k=(u=this.shadowRoot)==null?void 0:u.querySelector(".pointer");if(!k)return;let x=(h=this.shadowRoot)==null?void 0:h.getElementById("range-slider");if(!x)return;let D=Zn(this,k);this.slider=eo(this,x,D),Qn(this,this.slider),this._observer=new MutationObserver(I=>{I.forEach(re=>{var P;if(!this.slider||re.type!=="attributes")return;let O=re.attributeName;!O||to(this.slider,O,(P=this.getAttribute(O))!=null?P:"")})}),this._observer.observe(this,{attributes:!0})}disconnectedCallback(){this._observer&&this._observer.disconnect(),this.slider&&this.slider.destroy()}},ct=ro;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 Ia extends tt{constructor(){super();nt(this,lr);this.filterObject={},this.tabIndex=0,this.inputHandler=fe(this,lr,as).bind(this),this.debouncedInputHandler=Xi(this.inputHandler,500,{leading:!1})}reset(){Wc(this)}createRenderRoot(){return this}render(){return Fe(this.filterObject,()=>V`
844
+ <div style="margin-left: var(--list-padding)">
845
+ ${fe(this,lr,go).call(this,"min","before")}
846
+ <tc-range-slider
847
+ min="${this.filterObject.min}"
848
+ max="${this.filterObject.max}"
849
+ value1="${this.filterObject.state.min||this.filterObject.min}"
850
+ value2="${this.filterObject.state.max||this.filterObject.max}"
851
+ step="${this.filterObject.step||1}"
852
+ @change=${this.debouncedInputHandler}
853
+ ></tc-range-slider>
854
+ ${fe(this,lr,go).call(this,"max","after")}
855
+ </div>
856
+ `)}}lr=new WeakSet,as=function(r){Vc(r,this)},go=function(r,i){return Yc(r,i,this)},Ci(Ia,"properties",{filterObject:{attribute:!1,type:Object},tabIndex:{attribute:!1,type:Number}}),customElements.define("eox-itemfilter-range",Ia);class md extends tt{constructor(){super();nt(this,en);this.filterObject={},this.tabIndex=0}static get properties(){return{filterObject:{type:Object},tabIndex:{attribute:!1,type:Number}}}reset(){ed(this)}createRenderRoot(){return this}render(){return Fe(this.filterObject,()=>{var r;return V`
857
+ <div style="margin-left: var(--list-padding)">
858
+ <nav class="vertical-margin small-margin wrap">
859
+ ${Di(["intersects","within"],i=>V`
860
+ <label class="radio small small-text">
861
+ <input
862
+ tabindex=${this.tabIndex}
863
+ type="radio"
864
+ name="mode"
865
+ .checked="${(this.filterObject.state.mode||"")===i||we}"
866
+ value="${i}"
867
+ @click=${()=>fe(this,en,ss).call(this,i)}
868
+ />
869
+ <span>${i} filter geometry</span>
870
+ </label>
871
+ `)}
872
+ </nav>
873
+ <eox-itemfilter-spatial-filter
874
+ exportparts="map: spatial-filter-map"
875
+ .geometry="${(r=this.filterObject.state)==null?void 0:r.geometry}"
876
+ @filter="${i=>{this.filterObject.state.geometry=i.detail.geometry,this.filterObject.dirty=!0,this.filterObject.stringifiedState="Polygon",this.dispatchEvent(new CustomEvent("filter"))}}"
877
+ ></eox-itemfilter-spatial>
878
+ </div>
879
+ `})}}en=new WeakSet,ss=function(r){rd(r,this)},customElements.define("eox-itemfilter-spatial",md);class gd extends tt{constructor(){super();nt(this,tn);this.geometry=null,this.eoxMap=null}static get properties(){return{geometry:{type:Object},eoxMap:{type:Object}}}firstUpdated(){fe(this,tn,ls).call(this)}reset(){td(this)}render(){return V`<div id="eox-map"></div>`}}tn=new WeakSet,ls=function(){La(this)},customElements.define("eox-itemfilter-spatial-filter",gd);function bd(t,e){e.renderRoot.querySelectorAll(".chip").forEach(r=>{r.classList.remove("highlighted")}),t.target instanceof HTMLElement&&t.target.classList.add("highlighted"),e.requestUpdate()}function vd(t,e){const{code:r,target:i}=t;i instanceof HTMLElement&&i.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)&&yd(r,t.target.value??"",e))}function yd(t,e,r){const i=r.renderRoot.querySelector(".chip.highlighted");if((t==="Escape"||e)&&i&&i.classList.remove("highlighted"),t==="Backspace"&&!e){if(r.items.length){i&&(i.querySelector(".chip-item-close").click(),r.items.splice(Array.from(r.renderRoot.querySelectorAll(".chip")).indexOf(i),1));const n=r.renderRoot.querySelectorAll(".chip")[r.renderRoot.querySelectorAll(".chip").length-1];n.classList.contains("highlighted")||n.classList.add("highlighted"),r.requestUpdate()}r._dispatchEvent()}if((t==="ArrowLeft"||t==="ArrowRight")&&!e){if(r.renderRoot.querySelectorAll(".chip").length<1)return;let n=0;const o=r.renderRoot.querySelector(".chip.highlighted");o&&(n=Array.from(r.renderRoot.querySelectorAll(".chip")).indexOf(o),o.classList.remove("highlighted")),n=n+(t==="ArrowLeft"?-1:1),t==="ArrowLeft"&&n<0&&(n=r.renderRoot.querySelectorAll(".chip").length-1),t==="ArrowRight"&&n>r.renderRoot.querySelectorAll(".chip").length-1&&(n=0),Array.from(r.renderRoot.querySelectorAll(".chip"))[n].classList.add("highlighted")}}class xd extends tt{constructor(){super();nt(this,cr);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,cr,bo).bind(this))}disconnectedCallback(){super.disconnectedCallback(),this.getRootNode().removeEventListener("keydown",fe(this,cr,bo).bind(this))}_dispatchEvent(){this.dispatchEvent(new CustomEvent("items-selected",{detail:this.items}))}render(){return V`
880
880
  <span class="chip-container">
881
- ${Rn(this.items,r=>ee`
882
- <span class="chip" @click=${fe(this,lr,la).bind(this)}>
881
+ ${Di(this.items,r=>V`
882
+ <span class="chip tiny-margin" @click=${fe(this,cr,cs).bind(this)}>
883
883
  <span class="chip-title">${r.title}</span>
884
884
  <span
885
885
  class="chip-item-close hidden"
886
886
  data-close=${r.key}
887
- @click=${n=>{n.stopPropagation(),this.controller.remove(n),this.requestUpdate()}}
887
+ @click=${i=>{i.stopPropagation(),this.controller.remove(i),this.requestUpdate()}}
888
888
  ></span>
889
889
  </span>
890
890
  </span>
891
891
  `)}
892
892
  </span>
893
- `}}lr=new WeakSet,ys=function(r){wu(r,this)},la=function(r){vu(r,this)},customElements.define("eox-itemfilter-chips",$u);const Au=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}),zo=["aggregateResults","autoSpreadSingle","enableHighlighting","externalFilter","filterProperties","fuseConfig","inlineMode","matchAllWhenEmpty","showResults","titleProperty","subTitleProperty","imageProperty","idProperty","expandMultipleFilters","expandResults","expandMultipleResults","items"];var Zi,Uo;function _u(){if(Uo)return Zi;Uo=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 Lr(v){return this.__data__.set(v,e),this}function Dr(v){return this.__data__.has(v)}we.prototype.add=we.prototype.push=Lr,we.prototype.has=Dr;function Pt(v,S){for(var W=v.length;W--;)if(pn(v[W][0],S))return W;return-1}function un(v){if(!Tr(v)||Pr(v))return!1;var S=gn(v)||q(v)?pe:o;return S.test(dr(v))}function dn(v,S,W){var _e=-1,qe=g,Ge=v.length,Rr=!0,at=[],bt=at;if(Ge>=t){var Or=cr(v);if(Or)return U(Or);Rr=!1,qe=_,bt=new we}else bt=at;e:for(;++_e<Ge;){var _t=v[_e],Mt=_t;if(_t=_t!==0?_t:0,Rr&&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)}:yn;function Wt(v,S){var W=v.__data__;return hn(S)?W[typeof S=="string"?"string":"hash"]:W.map}function ur(v,S){var W=k(v,S);return un(W)?W:void 0}function hn(v){var S=typeof v;return S=="string"||S=="number"||S=="symbol"||S=="boolean"?v!=="__proto__":v===null}function Pr(v){return!!le&&le in v}function dr(v){if(v!=null){try{return ie.call(v)}catch{}try{return v+""}catch{}}return""}function fn(v){return v&&v.length?dn(v):[]}function pn(v,S){return v===S||v!==v&&S!==S}function gn(v){var S=Tr(v)?Ae.call(v):"";return S==n||S==i}function Tr(v){var S=typeof v;return!!v&&(S=="object"||S=="function")}function yn(){}return Zi=fn,Zi}var Mu=_u();const Fo=Yn(Mu);var ln={exports:{}};ln.exports;var qo;function Cu(){return qo||(qo=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,Lr=we&&Be.process,Dr=function(){try{return Lr&&Lr.binding("util")}catch{}}(),Pt=Dr&&Dr.isTypedArray;function un(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 dn(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 hn(a){return function(h){return a(h)}}function Pr(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 fn(a){var h=-1,m=Array(a.size);return a.forEach(function(M,I){m[++h]=[I,M]}),m}function pn(a,h){return function(m){return a(h(m))}}function gn(a){var h=-1,m=Array(a.size);return a.forEach(function(M){m[++h]=M}),m}var Tr=Array.prototype,yn=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=yn.toString,qe=v.hasOwnProperty,Ge=v.toString,Rr=RegExp("^"+_e.call(qe).replace(Ee,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),at=G.Symbol,bt=G.Uint8Array,Or=v.propertyIsEnumerable,_t=Tr.splice,Mt=at?at.isConcatSpreadable:void 0,Tt=pn(Object.keys,Object),bn=kt(G,"DataView"),Vt=kt(G,"Map"),mn=kt(G,"Promise"),Ct=kt(G,"Set"),Br=kt(G,"WeakMap"),hr=kt(Object,"create"),Xi=Bt(bn),ii=Bt(Vt),Ji=Bt(mn),si=Bt(Ct),Qi=Bt(Br),fr=at?at.prototype:void 0,vn=fr?fr.valueOf:void 0,jr=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 oi(a){return this.has(a)&&delete this.__data__[a]}function es(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 ts(a){var h=this.__data__;return hr?h[a]!==void 0:qe.call(h,a)}function rs(a,h){var m=this.__data__;return m[a]=hr&&h===void 0?i:h,this}lt.prototype.clear=Kt,lt.prototype.delete=oi,lt.prototype.get=es,lt.prototype.has=ts,lt.prototype.set=rs;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"||$n(R,M)))&&m.push(R);return m}function De(a,h){for(var m=a.length;m--;)if(qr(a[m][0],h))return m;return-1}var je=ss(Et);function Ye(a,h,m,M,I){var R=-1,J=a.length;for(m||(m=pi),I||(I=[]);++R<J;){var Pe=a[R];m(Pe)?dn(I,Pe):I[I.length]=Pe}return I}var Ze=os();function Et(a,h){return a&&Ze(a,h,Jt)}function wn(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 ai(a){return Ge.call(a)}function Hr(a,h){return a!=null&&h in Object(a)}function xn(a,h,m,M,I){return a===h?!0:a==null||h==null||!Wr(a)&&!jt(h)?a!==a&&h!==h:li(a,h,xn,m,M,I)}function li(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||bi(a)?fi(a,h,m,M,I,R):Ir(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?xn(Ie,Re,M,s|o,Je):Qe))return!1}}return!0}function Nr(a){if(!Wr(a)||yi(a))return!1;var h=dt(a)||dr(a)?Rr:ze;return h.test(Bt(a))}function ci(a){return jt(a)&&En(a.length)&&!!j[Ge.call(a)]}function ui(a){return typeof a=="function"?a:a==null?kn:typeof a=="object"?ut(a)?is(a[0],a[1]):ns(a):Ln(a)}function di(a){if(!An(a))return Tt(a);var h=[];for(var m in Object(a))qe.call(a,m)&&m!="constructor"&&h.push(m);return h}function hi(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 ns(a){var h=zr(a);return h.length==1&&h[0][2]?Fr(h[0][0],h[0][1]):function(m){return m===a||Rt(m,a,h)}}function is(a,h){return yr(a)&&Ur(h)?Fr(Yt(a),h):function(m){var M=Kr(m,a);return M===void 0&&M===h?Sn(m,a):xn(h,M,void 0,s|o)}}function pr(a){return function(h){return wn(h,a)}}function gr(a){if(typeof a=="string")return a;if(Xt(a))return jr?jr.call(a):"";var h=a+"";return h=="0"&&1/a==-1/0?"-0":h}function St(a){return ut(a)?a:_n(a)}function ss(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 os(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 fi(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 Ir(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 qr(+a,+h);case x:return a.name==h.name&&a.message==h.message;case te:case O:return a==h+"";case k:var Pe=fn;case ae:var Re=R&o;if(Pe||(Pe=gn),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=fi(Pe(a),Pe(h),M,I,R,J);return J.delete(a),Je;case le:if(vn)return vn.call(a)==vn.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 gi(h)?m[typeof h=="string"?"string":"hash"]:m.map}function zr(a){for(var h=Jt(a),m=h.length;m--;){var M=h[m],I=a[M];h[m]=[M,I,Ur(I)]}return h}function kt(a,h){var m=Pr(a,h);return Nr(m)?m:void 0}var Lt=ai;(bn&&Lt(new bn(new ArrayBuffer(1)))!=Ae||Vt&&Lt(new Vt)!=k||mn&&Lt(mn.resolve())!=oe||Ct&&Lt(new Ct)!=ae||Br&&Lt(new Br)!=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 Xi:return Ae;case ii:return k;case Ji:return oe;case si:return ae;case Qi:return ie}return h});function as(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&&En(J)&&$n(R,J)&&(ut(a)||mr(a))}function pi(a){return ut(a)||mr(a)||!!(Mt&&a&&a[Mt])}function $n(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 gi(a){var h=typeof a;return h=="string"||h=="number"||h=="symbol"||h=="boolean"?a!=="__proto__":a===null}function yi(a){return!!W&&W in a}function An(a){var h=a&&a.constructor,m=typeof h=="function"&&h.prototype||v;return a===m}function Ur(a){return a===a&&!Wr(a)}function Fr(a,h){return function(m){return m==null?!1:m[a]===h&&(h!==void 0||a in Object(m))}}var _n=br(function(a){a=Vr(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 Mn(a,h){return Ye(Cn(a,h))}function Cn(a,h){var m=ut(a)?un:hi;return m(a,ui(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 qr(a,h){return a===h||a!==a&&h!==h}function mr(a){return Xe(a)&&qe.call(a,"callee")&&(!Or.call(a,"callee")||Ge.call(a)==c)}var ut=Array.isArray;function Zt(a){return a!=null&&En(a.length)&&!dt(a)}function Xe(a){return jt(a)&&Zt(a)}function dt(a){var h=Wr(a)?Ge.call(a):"";return h==b||h==_}function En(a){return typeof a=="number"&&a>-1&&a%1==0&&a<=l}function Wr(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 bi=Pt?hn(Pt):ci;function Vr(a){return a==null?"":gr(a)}function Kr(a,h,m){var M=a==null?void 0:wn(a,h);return M===void 0?m:M}function Sn(a,h){return a!=null&&as(a,h,Hr)}function Jt(a){return Zt(a)?Ne(a):di(a)}function kn(a){return a}function Ln(a){return yr(a)?Wt(Yt(a)):pr(a)}t.exports=Mn}(ln,ln.exports)),ln.exports}var Eu=Cu();const Wo=Yn(Eu);function Su(t,e,r){let n=[];t.filterProperties.length&&t.filterProperties.forEach(s=>{const o={},l=u=>s.format==="date"?sn(u).unix():parseFloat(u);e.forEach(u=>{var g,y;if(s.type==="range"){const x=on(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(".")?Fo(Wo(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))}),Oc(e,Object.assign({keys:i},t.fuseConfig)),n}async function ku(t,e,r){let n;r.externalFilter?n=await Nc(e,r.filters,t):n=await Bc(e,r.filters,t),r.results=r.sortResults(n)}function Lu(t,e,r){const n=`filter-${t.key}`.replace("|","-");switch(t.type){case"text":return ee`<eox-itemfilter-text
893
+ `}}cr=new WeakSet,bo=function(r){vd(r,this)},cs=function(r){bd(r,this)},customElements.define("eox-itemfilter-chips",xd);const wd=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}),qa=["aggregateResults","autoSpreadSingle","enableHighlighting","externalFilter","filterProperties","fuseConfig","inlineMode","matchAllWhenEmpty","showResults","titleProperty","subTitleProperty","imageProperty","idProperty","expandMultipleFilters","expandResults","expandMultipleResults","items"];var Xn,Ua;function kd(){if(Ua)return Xn;Ua=1;var t=200,e="__lodash_hash_undefined__",r=1/0,i="[object Function]",n="[object GeneratorFunction]",o=/[\\^$.*+?()[\]{}|]/g,a=/^\[object .+?Constructor\]$/,l=typeof ht=="object"&&ht&&ht.Object===Object&&ht,c=typeof self=="object"&&self&&self.Object===Object&&self,d=l||c||Function("return this")();function m(y,S){var W=y?y.length:0;return!!W&&w(y,S,0)>-1}function g(y,S,W,$e){for(var We=y.length,Ke=W+-1;++Ke<We;)if(S(y[Ke],Ke,y))return Ke;return-1}function w(y,S,W){if(S!==S)return g(y,b,W);for(var $e=W-1,We=y.length;++$e<We;)if(y[$e]===S)return $e;return-1}function b(y){return y!==y}function $(y,S){return y.has(S)}function C(y,S){return y==null?void 0:y[S]}function F(y){var S=!1;if(y!=null&&typeof y.toString!="function")try{S=!!(y+"")}catch{}return S}function q(y){var S=-1,W=Array(y.size);return y.forEach(function($e){W[++S]=$e}),W}var ae=Array.prototype,te=Function.prototype,se=Object.prototype,R=d["__core-js_shared__"],le=function(){var y=/[^.]+$/.exec(R&&R.keys&&R.keys.IE_PROTO||"");return y?"Symbol(src)_1."+y:""}(),ne=te.toString,ke=se.hasOwnProperty,_e=se.toString,he=RegExp("^"+ne.call(ke).replace(o,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),ee=ae.splice,ye=ur(d,"Map"),Ue=ur(d,"Set"),E=ur(Object,"create");function M(y){var S=-1,W=y?y.length:0;for(this.clear();++S<W;){var $e=y[S];this.set($e[0],$e[1])}}function z(){this.__data__=E?E(null):{}}function N(y){return this.has(y)&&delete this.__data__[y]}function L(y){var S=this.__data__;if(E){var W=S[y];return W===e?void 0:W}return ke.call(S,y)?S[y]:void 0}function Y(y){var S=this.__data__;return E?S[y]!==void 0:ke.call(S,y)}function K(y,S){var W=this.__data__;return W[y]=E&&S===void 0?e:S,this}M.prototype.clear=z,M.prototype.delete=N,M.prototype.get=L,M.prototype.has=Y,M.prototype.set=K;function ie(y){var S=-1,W=y?y.length:0;for(this.clear();++S<W;){var $e=y[S];this.set($e[0],$e[1])}}function me(){this.__data__=[]}function Me(y){var S=this.__data__,W=Dt(S,y);if(W<0)return!1;var $e=S.length-1;return W==$e?S.pop():ee.call(S,W,1),!0}function Pe(y){var S=this.__data__,W=Dt(S,y);return W<0?void 0:S[W][1]}function Ie(y){return Dt(this.__data__,y)>-1}function Ce(y,S){var W=this.__data__,$e=Dt(W,y);return $e<0?W.push([y,S]):W[$e][1]=S,this}ie.prototype.clear=me,ie.prototype.delete=Me,ie.prototype.get=Pe,ie.prototype.has=Ie,ie.prototype.set=Ce;function j(y){var S=-1,W=y?y.length:0;for(this.clear();++S<W;){var $e=y[S];this.set($e[0],$e[1])}}function Oe(){this.__data__={hash:new M,map:new(ye||ie),string:new M}}function Se(y){return Wt(this,y).delete(y)}function G(y){return Wt(this,y).get(y)}function Ye(y){return Wt(this,y).has(y)}function gt(y,S){return Wt(this,y).set(y,S),this}j.prototype.clear=Oe,j.prototype.delete=Se,j.prototype.get=G,j.prototype.has=Ye,j.prototype.set=gt;function xe(y){var S=-1,W=y?y.length:0;for(this.__data__=new j;++S<W;)this.add(y[S])}function Er(y){return this.__data__.set(y,e),this}function Dr(y){return this.__data__.has(y)}xe.prototype.add=xe.prototype.push=Er,xe.prototype.has=Dr;function Dt(y,S){for(var W=y.length;W--;)if(pi(y[W][0],S))return W;return-1}function li(y){if(!Tr(y)||Pr(y))return!1;var S=fi(y)||F(y)?he:a;return S.test(pr(y))}function ci(y,S,W){var $e=-1,We=m,Ke=y.length,Rr=!0,st=[],bt=st;if(Ke>=t){var Or=dr(y);if(Or)return q(Or);Rr=!1,We=$,bt=new xe}else bt=st;e:for(;++$e<Ke;){var $t=y[$e],At=$t;if($t=$t!==0?$t:0,Rr&&At===At){for(var Pt=bt.length;Pt--;)if(bt[Pt]===At)continue e;st.push($t)}else We(bt,At,W)||(bt!==st&&bt.push(At),st.push($t))}return st}var dr=Ue&&1/q(new Ue([,-0]))[1]==r?function(y){return new Ue(y)}:hi;function Wt(y,S){var W=y.__data__;return di(S)?W[typeof S=="string"?"string":"hash"]:W.map}function ur(y,S){var W=C(y,S);return li(W)?W:void 0}function di(y){var S=typeof y;return S=="string"||S=="number"||S=="symbol"||S=="boolean"?y!=="__proto__":y===null}function Pr(y){return!!le&&le in y}function pr(y){if(y!=null){try{return ne.call(y)}catch{}try{return y+""}catch{}}return""}function ui(y){return y&&y.length?ci(y):[]}function pi(y,S){return y===S||y!==y&&S!==S}function fi(y){var S=Tr(y)?_e.call(y):"";return S==i||S==n}function Tr(y){var S=typeof y;return!!y&&(S=="object"||S=="function")}function hi(){}return Xn=ui,Xn}var _d=kd();const Fa=Yi(_d);var ai={exports:{}};ai.exports;var Wa;function $d(){return Wa||(Wa=1,function(t,e){var r=200,i="Expected a function",n="__lodash_hash_undefined__",o=1,a=2,l=9007199254740991,c="[object Arguments]",d="[object Array]",m="[object Boolean]",g="[object Date]",w="[object Error]",b="[object Function]",$="[object GeneratorFunction]",C="[object Map]",F="[object Number]",q="[object Object]",ae="[object Promise]",te="[object RegExp]",se="[object Set]",R="[object String]",le="[object Symbol]",ne="[object WeakMap]",ke="[object ArrayBuffer]",_e="[object DataView]",he="[object Float32Array]",ee="[object Float64Array]",ye="[object Int8Array]",Ue="[object Int16Array]",E="[object Int32Array]",M="[object Uint8Array]",z="[object Uint8ClampedArray]",N="[object Uint16Array]",L="[object Uint32Array]",Y=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,K=/^\w*$/,ie=/^\./,me=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Me=/[\\^$.*+?()[\]{}|]/g,Pe=/\\(\\)?/g,Ie=/^\[object .+?Constructor\]$/,Ce=/^(?:0|[1-9]\d*)$/,j={};j[he]=j[ee]=j[ye]=j[Ue]=j[E]=j[M]=j[z]=j[N]=j[L]=!0,j[c]=j[d]=j[ke]=j[m]=j[_e]=j[g]=j[w]=j[b]=j[C]=j[F]=j[q]=j[te]=j[se]=j[R]=j[ne]=!1;var Oe=typeof ht=="object"&&ht&&ht.Object===Object&&ht,Se=typeof self=="object"&&self&&self.Object===Object&&self,G=Oe||Se||Function("return this")(),Ye=e&&!e.nodeType&&e,gt=Ye&&!0&&t&&!t.nodeType&&t,xe=gt&&gt.exports===Ye,Er=xe&&Oe.process,Dr=function(){try{return Er&&Er.binding("util")}catch{}}(),Dt=Dr&&Dr.isTypedArray;function li(s,p){for(var v=-1,A=s?s.length:0,H=Array(A);++v<A;)H[v]=p(s[v],v,s);return H}function ci(s,p){for(var v=-1,A=p.length,H=s.length;++v<A;)s[H+v]=p[v];return s}function dr(s,p){for(var v=-1,A=s?s.length:0;++v<A;)if(p(s[v],v,s))return!0;return!1}function Wt(s){return function(p){return p==null?void 0:p[s]}}function ur(s,p){for(var v=-1,A=Array(s);++v<s;)A[v]=p(v);return A}function di(s){return function(p){return s(p)}}function Pr(s,p){return s==null?void 0:s[p]}function pr(s){var p=!1;if(s!=null&&typeof s.toString!="function")try{p=!!(s+"")}catch{}return p}function ui(s){var p=-1,v=Array(s.size);return s.forEach(function(A,H){v[++p]=[H,A]}),v}function pi(s,p){return function(v){return s(p(v))}}function fi(s){var p=-1,v=Array(s.size);return s.forEach(function(A){v[++p]=A}),v}var Tr=Array.prototype,hi=Function.prototype,y=Object.prototype,S=G["__core-js_shared__"],W=function(){var s=/[^.]+$/.exec(S&&S.keys&&S.keys.IE_PROTO||"");return s?"Symbol(src)_1."+s:""}(),$e=hi.toString,We=y.hasOwnProperty,Ke=y.toString,Rr=RegExp("^"+$e.call(We).replace(Me,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),st=G.Symbol,bt=G.Uint8Array,Or=y.propertyIsEnumerable,$t=Tr.splice,At=st?st.isConcatSpreadable:void 0,Pt=pi(Object.keys,Object),mi=Ct(G,"DataView"),Vt=Ct(G,"Map"),gi=Ct(G,"Promise"),zt=Ct(G,"Set"),jr=Ct(G,"WeakMap"),fr=Ct(Object,"create"),Jn=Ot(mi),rn=Ot(Vt),Zn=Ot(gi),nn=Ot(zt),Qn=Ot(jr),hr=st?st.prototype:void 0,bi=hr?hr.valueOf:void 0,Br=hr?hr.toString:void 0;function lt(s){var p=-1,v=s?s.length:0;for(this.clear();++p<v;){var A=s[p];this.set(A[0],A[1])}}function Yt(){this.__data__=fr?fr(null):{}}function on(s){return this.has(s)&&delete this.__data__[s]}function eo(s){var p=this.__data__;if(fr){var v=p[s];return v===n?void 0:v}return We.call(p,s)?p[s]:void 0}function to(s){var p=this.__data__;return fr?p[s]!==void 0:We.call(p,s)}function ro(s,p){var v=this.__data__;return v[s]=fr&&p===void 0?n:p,this}lt.prototype.clear=Yt,lt.prototype.delete=on,lt.prototype.get=eo,lt.prototype.has=to,lt.prototype.set=ro;function ct(s){var p=-1,v=s?s.length:0;for(this.clear();++p<v;){var A=s[p];this.set(A[0],A[1])}}function u(){this.__data__=[]}function h(s){var p=this.__data__,v=Ee(p,s);if(v<0)return!1;var A=p.length-1;return v==A?p.pop():$t.call(p,v,1),!0}function k(s){var p=this.__data__,v=Ee(p,s);return v<0?void 0:p[v][1]}function x(s){return Ee(this.__data__,s)>-1}function D(s,p){var v=this.__data__,A=Ee(v,s);return A<0?v.push([s,p]):v[A][1]=p,this}ct.prototype.clear=u,ct.prototype.delete=h,ct.prototype.get=k,ct.prototype.has=x,ct.prototype.set=D;function I(s){var p=-1,v=s?s.length:0;for(this.clear();++p<v;){var A=s[p];this.set(A[0],A[1])}}function re(){this.__data__={hash:new lt,map:new(Vt||ct),string:new lt}}function P(s){return Rt(this,s).delete(s)}function O(s){return Rt(this,s).get(s)}function oe(s){return Rt(this,s).has(s)}function de(s,p){return Rt(this,s).set(s,p),this}I.prototype.clear=re,I.prototype.delete=P,I.prototype.get=O,I.prototype.has=oe,I.prototype.set=de;function U(s){var p=-1,v=s?s.length:0;for(this.__data__=new I;++p<v;)this.add(s[p])}function ge(s){return this.__data__.set(s,n),this}function rt(s){return this.__data__.has(s)}U.prototype.add=U.prototype.push=ge,U.prototype.has=rt;function Le(s){this.__data__=new ct(s)}function J(){this.__data__=new ct}function ce(s){return this.__data__.delete(s)}function Z(s){return this.__data__.get(s)}function Ae(s){return this.__data__.has(s)}function qe(s,p){var v=this.__data__;if(v instanceof ct){var A=v.__data__;if(!Vt||A.length<r-1)return A.push([s,p]),this;v=this.__data__=new I(A)}return v.set(s,p),this}Le.prototype.clear=J,Le.prototype.delete=ce,Le.prototype.get=Z,Le.prototype.has=Ae,Le.prototype.set=qe;function Ne(s,p){var v=dt(s)||yr(s)?ur(s.length,String):[],A=v.length,H=!!A;for(var T in s)We.call(s,T)&&!(H&&(T=="length"||xi(T,A)))&&v.push(T);return v}function Ee(s,p){for(var v=s.length;v--;)if(Wr(s[v][0],p))return v;return-1}var je=oo(Mt);function Ge(s,p,v,A,H){var T=-1,Q=s.length;for(v||(v=fn),H||(H=[]);++T<Q;){var De=s[T];v(De)?ci(H,De):H[H.length]=De}return H}var Xe=ao();function Mt(s,p){return s&&Xe(s,p,Zt)}function vi(s,p){p=br(p,s)?[p]:St(p);for(var v=0,A=p.length;s!=null&&v<A;)s=s[Gt(p[v++])];return v&&v==A?s:void 0}function an(s){return Ke.call(s)}function Nr(s,p){return s!=null&&p in Object(s)}function yi(s,p,v,A,H){return s===p?!0:s==null||p==null||!Vr(s)&&!jt(p)?s!==s&&p!==p:sn(s,p,yi,v,A,H)}function sn(s,p,v,A,H,T){var Q=dt(s),De=dt(p),Te=d,He=d;Q||(Te=Lt(s),Te=Te==c?q:Te),De||(He=Lt(p),He=He==c?q:He);var Ze=Te==q&&!pr(s),Qe=He==q&&!pr(p),Ve=Te==He;if(Ve&&!Ze)return T||(T=new Le),Q||gn(s)?pn(s,p,v,A,H,T):Ir(s,p,Te,v,A,H,T);if(!(H&a)){var it=Ze&&We.call(s,"__wrapped__"),f=Qe&&We.call(p,"__wrapped__");if(it||f){var _=it?s.value():s,B=f?p.value():p;return T||(T=new Le),v(_,B,A,H,T)}}return Ve?(T||(T=new Le),Kt(s,p,v,A,H,T)):!1}function Tt(s,p,v,A){var H=v.length,T=H;if(s==null)return!T;for(s=Object(s);H--;){var Q=v[H];if(Q[2]?Q[1]!==s[Q[0]]:!(Q[0]in s))return!1}for(;++H<T;){Q=v[H];var De=Q[0],Te=s[De],He=Q[1];if(Q[2]){if(Te===void 0&&!(De in s))return!1}else{var Ze=new Le,Qe;if(!(Qe===void 0?yi(He,Te,A,o|a,Ze):Qe))return!1}}return!0}function Hr(s){if(!Vr(s)||mn(s))return!1;var p=ut(s)||pr(s)?Rr:Ie;return p.test(Ot(s))}function ln(s){return jt(s)&&Ai(s.length)&&!!j[Ke.call(s)]}function cn(s){return typeof s=="function"?s:s==null?Mi:typeof s=="object"?dt(s)?no(s[0],s[1]):io(s):Si(s)}function dn(s){if(!wi(s))return Pt(s);var p=[];for(var v in Object(s))We.call(s,v)&&v!="constructor"&&p.push(v);return p}function un(s,p){var v=-1,A=Xt(s)?Array(s.length):[];return je(s,function(H,T,Q){A[++v]=p(H,T,Q)}),A}function io(s){var p=qr(s);return p.length==1&&p[0][2]?Fr(p[0][0],p[0][1]):function(v){return v===s||Tt(v,s,p)}}function no(s,p){return br(s)&&Ur(p)?Fr(Gt(s),p):function(v){var A=Kr(v,s);return A===void 0&&A===p?zi(v,s):yi(p,A,void 0,o|a)}}function mr(s){return function(p){return vi(p,s)}}function gr(s){if(typeof s=="string")return s;if(Jt(s))return Br?Br.call(s):"";var p=s+"";return p=="0"&&1/s==-1/0?"-0":p}function St(s){return dt(s)?s:ki(s)}function oo(s,p){return function(v,A){if(v==null)return v;if(!Xt(v))return s(v,A);for(var H=v.length,T=-1,Q=Object(v);++T<H&&A(Q[T],T,Q)!==!1;);return v}}function ao(s){return function(p,v,A){for(var H=-1,T=Object(p),Q=A(p),De=Q.length;De--;){var Te=Q[++H];if(v(T[Te],Te,T)===!1)break}return p}}function pn(s,p,v,A,H,T){var Q=H&a,De=s.length,Te=p.length;if(De!=Te&&!(Q&&Te>De))return!1;var He=T.get(s);if(He&&T.get(p))return He==p;var Ze=-1,Qe=!0,Ve=H&o?new U:void 0;for(T.set(s,p),T.set(p,s);++Ze<De;){var it=s[Ze],f=p[Ze];if(A)var _=Q?A(f,it,Ze,p,s,T):A(it,f,Ze,s,p,T);if(_!==void 0){if(_)continue;Qe=!1;break}if(Ve){if(!dr(p,function(B,ue){if(!Ve.has(ue)&&(it===B||v(it,B,A,H,T)))return Ve.add(ue)})){Qe=!1;break}}else if(!(it===f||v(it,f,A,H,T))){Qe=!1;break}}return T.delete(s),T.delete(p),Qe}function Ir(s,p,v,A,H,T,Q){switch(v){case _e:if(s.byteLength!=p.byteLength||s.byteOffset!=p.byteOffset)return!1;s=s.buffer,p=p.buffer;case ke:return!(s.byteLength!=p.byteLength||!A(new bt(s),new bt(p)));case m:case g:case F:return Wr(+s,+p);case w:return s.name==p.name&&s.message==p.message;case te:case R:return s==p+"";case C:var De=ui;case se:var Te=T&a;if(De||(De=fi),s.size!=p.size&&!Te)return!1;var He=Q.get(s);if(He)return He==p;T|=o,Q.set(s,p);var Ze=pn(De(s),De(p),A,H,T,Q);return Q.delete(s),Ze;case le:if(bi)return bi.call(s)==bi.call(p)}return!1}function Kt(s,p,v,A,H,T){var Q=H&a,De=Zt(s),Te=De.length,He=Zt(p),Ze=He.length;if(Te!=Ze&&!Q)return!1;for(var Qe=Te;Qe--;){var Ve=De[Qe];if(!(Q?Ve in p:We.call(p,Ve)))return!1}var it=T.get(s);if(it&&T.get(p))return it==p;var f=!0;T.set(s,p),T.set(p,s);for(var _=Q;++Qe<Te;){Ve=De[Qe];var B=s[Ve],ue=p[Ve];if(A)var Re=Q?A(ue,B,Ve,p,s,T):A(B,ue,Ve,s,p,T);if(!(Re===void 0?B===ue||v(B,ue,A,H,T):Re)){f=!1;break}_||(_=Ve=="constructor")}if(f&&!_){var pe=s.constructor,et=p.constructor;pe!=et&&"constructor"in s&&"constructor"in p&&!(typeof pe=="function"&&pe instanceof pe&&typeof et=="function"&&et instanceof et)&&(f=!1)}return T.delete(s),T.delete(p),f}function Rt(s,p){var v=s.__data__;return hn(p)?v[typeof p=="string"?"string":"hash"]:v.map}function qr(s){for(var p=Zt(s),v=p.length;v--;){var A=p[v],H=s[A];p[v]=[A,H,Ur(H)]}return p}function Ct(s,p){var v=Pr(s,p);return Hr(v)?v:void 0}var Lt=an;(mi&&Lt(new mi(new ArrayBuffer(1)))!=_e||Vt&&Lt(new Vt)!=C||gi&&Lt(gi.resolve())!=ae||zt&&Lt(new zt)!=se||jr&&Lt(new jr)!=ne)&&(Lt=function(s){var p=Ke.call(s),v=p==q?s.constructor:void 0,A=v?Ot(v):void 0;if(A)switch(A){case Jn:return _e;case rn:return C;case Zn:return ae;case nn:return se;case Qn:return ne}return p});function so(s,p,v){p=br(p,s)?[p]:St(p);for(var A,H=-1,Q=p.length;++H<Q;){var T=Gt(p[H]);if(!(A=s!=null&&v(s,T)))break;s=s[T]}if(A)return A;var Q=s?s.length:0;return!!Q&&Ai(Q)&&xi(T,Q)&&(dt(s)||yr(s))}function fn(s){return dt(s)||yr(s)||!!(At&&s&&s[At])}function xi(s,p){return p=p??l,!!p&&(typeof s=="number"||Ce.test(s))&&s>-1&&s%1==0&&s<p}function br(s,p){if(dt(s))return!1;var v=typeof s;return v=="number"||v=="symbol"||v=="boolean"||s==null||Jt(s)?!0:K.test(s)||!Y.test(s)||p!=null&&s in Object(p)}function hn(s){var p=typeof s;return p=="string"||p=="number"||p=="symbol"||p=="boolean"?s!=="__proto__":s===null}function mn(s){return!!W&&W in s}function wi(s){var p=s&&s.constructor,v=typeof p=="function"&&p.prototype||y;return s===v}function Ur(s){return s===s&&!Vr(s)}function Fr(s,p){return function(v){return v==null?!1:v[s]===p&&(p!==void 0||s in Object(v))}}var ki=vr(function(s){s=Yr(s);var p=[];return ie.test(s)&&p.push(""),s.replace(me,function(v,A,H,T){p.push(H?T.replace(Pe,"$1"):A||v)}),p});function Gt(s){if(typeof s=="string"||Jt(s))return s;var p=s+"";return p=="0"&&1/s==-1/0?"-0":p}function Ot(s){if(s!=null){try{return $e.call(s)}catch{}try{return s+""}catch{}}return""}function _i(s,p){return Ge($i(s,p))}function $i(s,p){var v=dt(s)?li:un;return v(s,cn(p))}function vr(s,p){if(typeof s!="function"||p&&typeof p!="function")throw new TypeError(i);var v=function(){var A=arguments,H=p?p.apply(this,A):A[0],T=v.cache;if(T.has(H))return T.get(H);var Q=s.apply(this,A);return v.cache=T.set(H,Q),Q};return v.cache=new(vr.Cache||I),v}vr.Cache=I;function Wr(s,p){return s===p||s!==s&&p!==p}function yr(s){return Je(s)&&We.call(s,"callee")&&(!Or.call(s,"callee")||Ke.call(s)==c)}var dt=Array.isArray;function Xt(s){return s!=null&&Ai(s.length)&&!ut(s)}function Je(s){return jt(s)&&Xt(s)}function ut(s){var p=Vr(s)?Ke.call(s):"";return p==b||p==$}function Ai(s){return typeof s=="number"&&s>-1&&s%1==0&&s<=l}function Vr(s){var p=typeof s;return!!s&&(p=="object"||p=="function")}function jt(s){return!!s&&typeof s=="object"}function Jt(s){return typeof s=="symbol"||jt(s)&&Ke.call(s)==le}var gn=Dt?di(Dt):ln;function Yr(s){return s==null?"":gr(s)}function Kr(s,p,v){var A=s==null?void 0:vi(s,p);return A===void 0?v:A}function zi(s,p){return s!=null&&so(s,p,Nr)}function Zt(s){return Xt(s)?Ne(s):dn(s)}function Mi(s){return s}function Si(s){return br(s)?Wt(Gt(s)):mr(s)}t.exports=_i}(ai,ai.exports)),ai.exports}var Ad=$d();const Va=Yi(Ad);function zd(t,e,r){let i=[];t.filterProperties.length&&t.filterProperties.forEach(o=>{const a={},l=d=>o.format==="date"?ni(d).unix():parseFloat(d);e.forEach(d=>{var m,g;if(o.type==="range"){const w=or(o.key,d);if(Array.isArray(w)){const b=[l(w[0]),l(w[1])];a.min=a.min!==void 0?Math.min(a.min,b[0]):b[0],a.max=a.max!==void 0?Math.max(a.max,b[1]):b[1]}else{const b=l(w);a.min=a.min!==void 0?Math.min(a.min,b):b,a.max=a.max!==void 0?Math.max(a.max,b):b}return}Array.isArray(d[o.key])?d[o.key].forEach(w=>{a[w]=void 0}):o.type==="spatial"?(a.geometry=((m=o==null?void 0:o.state)==null?void 0:m.geometry)||void 0,a.geometry&&(o.stringifiedState=a.geometry.type),a.mode=o.mode||"intersects"):(g=o.key)!=null&&g.includes(".")?Fa(Va(r.items,o.key)).filter(w=>w).forEach(w=>{a[w]=void 0}):a[d[o.key]]=void 0});const c=o.key||o.keys.join("|");r.filters[c]=Object.assign({type:o.type||"multiselect",dirty:o.state?Object.values(o.state).some(d=>d):void 0,key:c},o.type==="range"?{min:a.min,max:a.max,format:o.format}:{},o),r.filters[c].state=Object.assign({},a,o.state)}),t.matchAllWhenEmpty!==!1&&(r.results=r.sortResults(e),r.requestUpdate()),t.aggregateResults&&(i=Array.from(new Set(e.reduce((o,a)=>o.concat(a[t.aggregateResults]),[]))).sort((o,a)=>o.localeCompare(a)));const n=[];return Object.values(r.filters).forEach(o=>{o.type==="text"?o.keys.forEach(a=>{n.includes(a)||n.push(a)}):(o.type==="select"||o.type==="multiselect")&&(n.includes(o.key)||n.push(o.key))}),Rc(e,Object.assign({keys:n},t.fuseConfig)),i}async function Md(t,e,r){let i;r.externalFilter?i=await Nc(e,r.filters,t):i=await Oc(e,r.filters,t),r.results=r.sortResults(i)}function Sd(t,e,r){const i=`filter-${t.key}`.replace("|","-");switch(t.type){case"text":return V`<eox-itemfilter-text
894
894
  data-type="filter"
895
895
  data-cy="text-filter"
896
896
  slot="filter"
897
- id="${n}"
897
+ id="${i}"
898
898
  .tabIndex=${e}
899
899
  .filterObject=${t}
900
900
  .unstyled=${r.unstyled}
901
901
  @filter=${()=>r.search()}
902
- ></eox-itemfilter-text>`;case"multiselect":case"select":return ee`
902
+ ></eox-itemfilter-text>`;case"multiselect":case"select":return V`
903
903
  <eox-itemfilter-select
904
904
  .inlineMode=${r.inlineMode||!1}
905
905
  data-type="filter"
906
- id="${n}"
906
+ id="${i}"
907
907
  .tabIndex=${e}
908
908
  .filterObject=${t}
909
909
  slot="filter"
910
- .suggestions="${Fo(Wo(r.items,t.key)).filter(i=>i)}"
910
+ .suggestions="${Fa(Va(r.items,t.key)).filter(n=>n)}"
911
911
  type="${t.type}"
912
912
  .unstyled=${r.unstyled}
913
913
  @filter=${()=>r.search()}
914
914
  ></eox-itemfilter-select>
915
- `;case"range":return ee`
915
+ `;case"range":return V`
916
916
  <eox-itemfilter-range
917
- id="${n}"
917
+ id="${i}"
918
918
  data-type="filter"
919
919
  .tabIndex=${e}
920
920
  .filterObject=${t}
@@ -922,85 +922,119 @@ input {
922
922
  .unstyled=${r.unstyled}
923
923
  @filter=${()=>r.search()}
924
924
  ></eox-itemfilter-range>
925
- `;case"spatial":return ee`
925
+ `;case"spatial":return V`
926
926
  <eox-itemfilter-spatial
927
- id="${n}"
927
+ id="${i}"
928
928
  data-type="filter"
929
929
  .tabIndex=${e}
930
930
  .filterObject=${t}
931
931
  slot="filter"
932
932
  @filter=${()=>r.search()}
933
933
  ></eox-itemfilter-spatial>
934
- `;default:return ee``}}function Du(t,e){return[...t].sort((r,n)=>r[e.titleProperty].localeCompare(n[e.titleProperty]))}function Pu(t,e,r){return ee`
935
- ${Ve(t.dirty,()=>ee`
934
+ `;default:return V``}}function Cd(t,e){return[...t].sort((r,i)=>r[e.titleProperty].localeCompare(i[e.titleProperty]))}function Ld(t,e,r){return V`
935
+ ${Fe(t.dirty,()=>V`
936
936
  <button
937
937
  type="button"
938
938
  tabindex=${e}
939
939
  slot="reset-button"
940
- class="reset-icon icon"
941
- @click=${n=>{const i=n.target.parentElement.querySelector("[slot=filter]");i&&typeof i.reset=="function"&&i.reset(),r.search(),r.requestUpdate()}}
940
+ class="reset-icon icon square primary-text transparent small no-margin"
941
+ @click=${i=>{const n=i.target.parentElement.querySelector("[slot=filter]");n&&typeof n.reset=="function"&&n.reset(),r.search(),r.requestUpdate()}}
942
942
  >
943
- ${r.unstyled?"Reset":xe}
943
+ ${r.unstyled?"Reset":V`
944
+ <i class="small">
945
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
946
+ <title>close</title>
947
+ <path
948
+ d="M19,6.41L17.59,5L12,10.59L6.41,5L5,6.41L10.59,12L5,17.59L6.41,19L12,13.41L17.59,19L19,17.59L13.41,12L19,6.41Z"
949
+ />
950
+ </svg>
951
+ </i>
952
+ <div class="tooltip left">Reset filter</div>
953
+ `}
944
954
  </button>
945
955
  `)}
946
- `}function Tu(t){t.renderRoot.querySelectorAll("[data-type='filter']").forEach(e=>{typeof e.reset=="function"&&e.reset()}),t.search()}class Vo extends tt{constructor(){super();it(this,kr);it(this,cn,[]);it(this,Sr,[]);it(this,gt,Au);this.items=null,this.filters={},this.results=[],this.selectedResult=null,this.search=Jn(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(){vi(this,cn,Su(ht(this,gt),ht(this,Sr),this)),this.search()}async searchHandler(){await ku(ht(this,gt),ht(this,Sr),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 Du(r,ht(this,gt))}resetFilters(){Tu(this)}firstUpdated(r){var i;let n={};zo.map(s=>{n={...n,[s]:this[s]}}),vi(this,gt,n),vi(this,Sr,((i=this.items)==null?void 0:i.map((s,o)=>Object.assign({id:s[this.idProperty]||`item-${o}`},s)))||[]),this.apply()}updated(r){zo.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`
956
+ `}function Ed(t){t.renderRoot.querySelectorAll("[data-type='filter']").forEach(e=>{typeof e.reset=="function"&&e.reset()}),t.search()}class Ya extends tt{constructor(){super();nt(this,Lr);nt(this,si,[]);nt(this,Cr,[]);nt(this,mt,wd);this.items=null,this.filters={},this.results=[],this.selectedResult=null,this.search=Xi(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="currentColor" 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(){vn(this,si,zd(pt(this,mt),pt(this,Cr),this)),this.search()}async searchHandler(){await Md(pt(this,mt),pt(this,Cr),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 Cd(r,pt(this,mt))}resetFilters(){Ed(this)}firstUpdated(r){var n;let i={};qa.map(o=>{i={...i,[o]:this[o]}}),vn(this,mt,i),vn(this,Cr,((n=this.items)==null?void 0:n.map((o,a)=>Object.assign({id:o[this.idProperty]||`item-${a}`},o)))||[]),this.apply()}updated(r){qa.map(i=>r.has(i)?(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 V`
947
957
  <style>
948
- ${Pa}
949
- ${!this.unstyled&&tn}
950
- ${!this.unstyled&&Ta}
958
+ ${Ps}
959
+ ${!this.unstyled&&An}
951
960
  ${this.styleOverride}
952
961
  </style>
953
962
  <form
954
963
  id="itemfilter"
955
- class=${this.inlineMode?"inline":xe}
956
- @submit="${n=>n.preventDefault()}"
964
+ class=${this.inlineMode?"inline":we}
965
+ @submit="${i=>i.preventDefault()}"
957
966
  >
958
- ${Ve(this.filterProperties,()=>ee`
959
- <eox-itemfilter-container
960
- .filters=${this.filters}
961
- .filterProperties=${this.filterProperties}
962
- .inlineMode=${this.inlineMode||!1}
963
- @reset=${()=>this.resetFilters()}
964
- @filter=${()=>this.search()}
965
- >
966
- <section slot="section">
967
- ${Ve(!this.inlineMode,()=>ee`
968
- <slot name="filterstitle"
969
- ><h6 class="main-heading">Filters</h6></slot
970
- >
971
- `)}
972
- <ul id="filters">
973
- ${Rn(Object.values(this.filters),(n,i)=>ee` <li>
974
- <eox-itemfilter-expandcontainer
975
- .filterObject=${n}
976
- @details-toggled=${s=>Mo(s,ht(this,gt),this)}
977
- data-details="${n.key}"
978
- >
979
- ${fe(this,kr,ua).call(this,n,_o(i,1))}
980
- ${fe(this,kr,ca).call(this,n,_o(i,2))}
981
- </eox-itemfilter-expandcontainer>
982
- </li>`)}
983
- </ul>
984
- ${Ve(!this.inlineMode&&ht(this,gt).filterProperties&&!this.inlineMode&&ht(this,gt).filterProperties&&qi(this.filters),()=>ee`
985
- <button
986
- type="button"
987
- id="filter-reset"
988
- class="outline small icon-text reset-icon"
989
- data-cy="filter-reset"
990
- @click=${()=>this.resetFilters()}
991
- >
992
- Reset all
993
- </a>
994
- `)}
995
- </section>
996
- </eox-itemfilter-container>
967
+ ${Fe(this.filterProperties,()=>V`
968
+ <div style="display: var(--filter-display);">
969
+ <eox-itemfilter-container
970
+ .filters=${this.filters}
971
+ .filterProperties=${this.filterProperties}
972
+ .inlineMode=${this.inlineMode||!1}
973
+ @reset=${()=>this.resetFilters()}
974
+ @filter=${()=>this.search()}
975
+ >
976
+ <section
977
+ slot="section"
978
+ style="height: 100%; overflow: hidden; display: flex; flex-direction: column;"
979
+ >
980
+ ${Fe(!this.inlineMode,()=>V`
981
+ <nav class="title-nav">
982
+ <div class="max">
983
+ <slot name="filterstitle"
984
+ ><p><strong>Filters</strong></p></slot
985
+ >
986
+ </div>
987
+ ${Fe(!this.inlineMode&&pt(this,mt).filterProperties&&!this.inlineMode&&pt(this,mt).filterProperties&&Fn(this.filters),()=>V`
988
+ <button
989
+ type="button"
990
+ id="filter-reset"
991
+ class="reset-icon border small"
992
+ data-cy="filter-reset"
993
+ @click=${()=>this.resetFilters()}
994
+ >
995
+ ${this.unstyled?we:V`
996
+ <i class="small">
997
+ <svg
998
+ xmlns="http://www.w3.org/2000/svg"
999
+ viewBox="0 0 24 24"
1000
+ >
1001
+ <title>close</title>
1002
+ <path
1003
+ d="M19,6.41L17.59,5L12,10.59L6.41,5L5,6.41L10.59,12L5,17.59L6.41,19L12,13.41L17.59,19L19,17.59L13.41,12L19,6.41Z"
1004
+ />
1005
+ </svg>
1006
+ </i>
1007
+ `}
1008
+ <span class="small-text">Reset all</span>
1009
+ </button>
1010
+ `)}
1011
+ </nav>
1012
+ `)}
1013
+ <div class="scroll" style="flex: 1;">
1014
+ <ul id="filters" class="list no-space">
1015
+ ${Di(Object.values(this.filters),(i,n)=>V` <li class="no-padding">
1016
+ <eox-itemfilter-expandcontainer
1017
+ .filterObject=${i}
1018
+ @details-toggled=${o=>za(o,pt(this,mt),this)}
1019
+ data-details="${i.key}"
1020
+ >
1021
+ ${fe(this,Lr,us).call(this,i,Aa(n,1))}
1022
+ ${fe(this,Lr,ds).call(this,i,Aa(n,2))}
1023
+ </eox-itemfilter-expandcontainer>
1024
+ </li>`)}
1025
+ </ul>
1026
+ </div>
1027
+ </section>
1028
+ </eox-itemfilter-container>
1029
+ </div>
997
1030
  `)}
998
- ${Ve(((r=ht(this,gt))==null?void 0:r.showResults)&&this.results,()=>ee`
1031
+ ${Fe(((r=pt(this,mt))==null?void 0:r.showResults)&&this.results,()=>V`
1032
+ <div class="small-space"></div>
999
1033
  <eox-itemfilter-results
1000
- .config=${ht(this,gt)}
1034
+ .config=${pt(this,mt)}
1001
1035
  .results=${this.results}
1002
1036
  .filters=${this.filters}
1003
- .resultAggregation=${ht(this,cn)}
1037
+ .resultAggregation=${pt(this,si)}
1004
1038
  .selectedResult=${this.selectedResult}
1005
1039
  .resultType=${this.resultType}
1006
1040
  .enableResultAction=${this.enableResultAction}
@@ -1008,10 +1042,12 @@ input {
1008
1042
  @result=${this.updateResult}
1009
1043
  @click:result-action=${this.emitResultAction}
1010
1044
  >
1011
- <slot name="resultstitle"
1012
- ><h6 class="main-heading">Results</h6></slot
1013
- >
1045
+ <nav class="title-nav">
1046
+ <slot name="resultstitle"
1047
+ ><p><strong>Results</strong></p></slot
1048
+ >
1049
+ </nav>
1014
1050
  </eox-itemfilter-results>
1015
1051
  `)}
1016
1052
  </form>
1017
- `}}cn=new WeakMap,Sr=new WeakMap,gt=new WeakMap,kr=new WeakSet,ca=function(r,n){return Lu(r,n,this)},ua=function(r,n){return Pu(r,n,this)},customElements.define("eox-itemfilter",Vo),me.EOxItemFilter=Vo,Object.defineProperty(me,Symbol.toStringTag,{value:"Module"})});
1053
+ `}}si=new WeakMap,Cr=new WeakMap,mt=new WeakMap,Lr=new WeakSet,ds=function(r,i){return Sd(r,i,this)},us=function(r,i){return Ld(r,i,this)},customElements.define("eox-itemfilter",Ya),ve.EOxItemFilter=Ya,Object.defineProperty(ve,Symbol.toStringTag,{value:"Module"})});