@eox/itemfilter 0.14.2-dev.1721739772.0 → 1.0.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.
@@ -1,22 +1,22 @@
1
- (function(ge,he){typeof exports=="object"&&typeof module<"u"?he(exports):typeof define=="function"&&define.amd?define(["exports"],he):(ge=typeof globalThis<"u"?globalThis:ge||self,he(ge["eox-itemfilter"]={}))})(this,function(ge){"use strict";var xw=Object.defineProperty;var Tp=ge=>{throw TypeError(ge)};var Sw=(ge,he,Oe)=>he in ge?xw(ge,he,{enumerable:!0,configurable:!0,writable:!0,value:Oe}):ge[he]=Oe;var ui=(ge,he,Oe)=>Sw(ge,typeof he!="symbol"?he+"":he,Oe),Ja=(ge,he,Oe)=>he.has(ge)||Tp("Cannot "+Oe);var ut=(ge,he,Oe)=>(Ja(ge,he,"read from private field"),Oe?Oe.call(ge):he.get(ge)),nt=(ge,he,Oe)=>he.has(ge)?Tp("Cannot add the same private member more than once"):he instanceof WeakSet?he.add(ge):he.set(ge,Oe),Lo=(ge,he,Oe,wn)=>(Ja(ge,he,"write to private field"),wn?wn.call(ge,Oe):he.set(ge,Oe),Oe),Se=(ge,he,Oe)=>(Ja(ge,he,"access private method"),Oe);/**
1
+ (function(ge,he){typeof exports=="object"&&typeof module<"u"?he(exports):typeof define=="function"&&define.amd?define(["exports"],he):(ge=typeof globalThis<"u"?globalThis:ge||self,he(ge["eox-itemfilter"]={}))})(this,function(ge){"use strict";var S1=Object.defineProperty;var Tp=ge=>{throw TypeError(ge)};var A1=(ge,he,Oe)=>he in ge?S1(ge,he,{enumerable:!0,configurable:!0,writable:!0,value:Oe}):ge[he]=Oe;var ui=(ge,he,Oe)=>A1(ge,typeof he!="symbol"?he+"":he,Oe),Ja=(ge,he,Oe)=>he.has(ge)||Tp("Cannot "+Oe);var ut=(ge,he,Oe)=>(Ja(ge,he,"read from private field"),Oe?Oe.call(ge):he.get(ge)),nt=(ge,he,Oe)=>he.has(ge)?Tp("Cannot add the same private member more than once"):he instanceof WeakSet?he.add(ge):he.set(ge,Oe),Lo=(ge,he,Oe,wn)=>(Ja(ge,he,"write to private field"),wn?wn.call(ge,Oe):he.set(ge,Oe),Oe),Se=(ge,he,Oe)=>(Ja(ge,he,"access private method"),Oe);/**
2
2
  * @license
3
3
  * Copyright 2019 Google LLC
4
4
  * SPDX-License-Identifier: BSD-3-Clause
5
- */var Lp,oo,Rp,Be,Dp,Xa,Za,Ip,Qa,jp,Bp,so,xr,el,Np,rr,Hp,Up,Fp,Sr,Wp,tl,ao,zp,lo,qp,Ar,rl,Gp,Gn,tn,ht,rn,Vp,Kp;const he=globalThis,Oe=he.ShadowRoot&&(he.ShadyCSS===void 0||he.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,wn=Symbol(),nl=new WeakMap;let Yp=class{constructor(e,r,n){if(this._$cssResult$=!0,n!==wn)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(Oe&&e===void 0){const n=r!==void 0&&r.length===1;n&&(e=nl.get(r)),e===void 0&&((this.o=e=new CSSStyleSheet).replaceSync(this.cssText),n&&nl.set(r,e))}return e}toString(){return this.cssText}};const Jp=t=>new Yp(typeof t=="string"?t:t+"",void 0,wn),Xp=(t,e)=>{if(Oe)t.adoptedStyleSheets=e.map(r=>r instanceof CSSStyleSheet?r:r.styleSheet);else for(const r of e){const n=document.createElement("style"),i=he.litNonce;i!==void 0&&n.setAttribute("nonce",i),n.textContent=r.cssText,t.appendChild(n)}},il=Oe?t=>t:t=>t instanceof CSSStyleSheet?(e=>{let r="";for(const n of e.cssRules)r+=n.cssText;return Jp(r)})(t):t;/**
5
+ */var Lp,oo,Rp,Be,Ip,Xa,Za,Dp,Qa,jp,Bp,so,xr,el,Np,rr,Hp,Up,Fp,Sr,Wp,tl,ao,zp,lo,qp,Ar,rl,Gp,Gn,tn,ht,rn,Vp,Kp;const he=globalThis,Oe=he.ShadowRoot&&(he.ShadyCSS===void 0||he.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,wn=Symbol(),nl=new WeakMap;let Yp=class{constructor(e,r,n){if(this._$cssResult$=!0,n!==wn)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(Oe&&e===void 0){const n=r!==void 0&&r.length===1;n&&(e=nl.get(r)),e===void 0&&((this.o=e=new CSSStyleSheet).replaceSync(this.cssText),n&&nl.set(r,e))}return e}toString(){return this.cssText}};const Jp=t=>new Yp(typeof t=="string"?t:t+"",void 0,wn),Xp=(t,e)=>{if(Oe)t.adoptedStyleSheets=e.map(r=>r instanceof CSSStyleSheet?r:r.styleSheet);else for(const r of e){const n=document.createElement("style"),i=he.litNonce;i!==void 0&&n.setAttribute("nonce",i),n.textContent=r.cssText,t.appendChild(n)}},il=Oe?t=>t:t=>t instanceof CSSStyleSheet?(e=>{let r="";for(const n of e.cssRules)r+=n.cssText;return Jp(r)})(t):t;/**
6
6
  * @license
7
7
  * Copyright 2017 Google LLC
8
8
  * SPDX-License-Identifier: BSD-3-Clause
9
- */const{is:Zp,defineProperty:Qp,getOwnPropertyDescriptor:eh,getOwnPropertyNames:th,getOwnPropertySymbols:rh,getPrototypeOf:nh}=Object,Wt=globalThis,ol=Wt.trustedTypes,ih=ol?ol.emptyScript:"",To=Wt.reactiveElementPolyfillSupport,$n=(t,e)=>t,Ro={toAttribute(t,e){switch(e){case Boolean:t=t?ih: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}},sl=(t,e)=>!Zp(t,e),al={attribute:!0,type:String,converter:Ro,reflect:!1,hasChanged:sl};Symbol.metadata??(Symbol.metadata=Symbol("metadata")),Wt.litPropertyMetadata??(Wt.litPropertyMetadata=new WeakMap);class Dr 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=al){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&&Qp(this.prototype,e,i)}}static getPropertyDescriptor(e,r,n){const{get:i,set:o}=eh(this.prototype,e)??{get(){return this[r]},set(s){this[r]=s}};return{get(){return i==null?void 0:i.call(this)},set(s){const l=i==null?void 0:i.call(this);o.call(this,s),this.requestUpdate(e,l,n)},configurable:!0,enumerable:!0}}static getPropertyOptions(e){return this.elementProperties.get(e)??al}static _$Ei(){if(this.hasOwnProperty($n("elementProperties")))return;const e=nh(this);e.finalize(),e.l!==void 0&&(this.l=[...e.l]),this.elementProperties=new Map(e.elementProperties)}static finalize(){if(this.hasOwnProperty($n("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty($n("properties"))){const r=this.properties,n=[...th(r),...rh(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(il(i))}else e!==void 0&&r.push(il(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 Xp(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 o;const n=this.constructor.elementProperties.get(e),i=this.constructor._$Eu(e,n);if(i!==void 0&&n.reflect===!0){const s=(((o=n.converter)==null?void 0:o.toAttribute)!==void 0?n.converter:Ro).toAttribute(r,n.type);this._$Em=e,s==null?this.removeAttribute(i):this.setAttribute(i,s),this._$Em=null}}_$AK(e,r){var o;const n=this.constructor,i=n._$Eh.get(e);if(i!==void 0&&this._$Em!==i){const s=n.getPropertyOptions(i),l=typeof s.converter=="function"?{fromAttribute:s.converter}:((o=s.converter)==null?void 0:o.fromAttribute)!==void 0?s.converter:Ro;this._$Em=i,this[i]=l.fromAttribute(r,s.type),this._$Em=null}}requestUpdate(e,r,n){if(e!==void 0){if(n??(n=this.constructor.getPropertyOptions(e)),!(n.hasChanged??sl)(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[o,s]of this._$Ep)this[o]=s;this._$Ep=void 0}const i=this.constructor.elementProperties;if(i.size>0)for(const[o,s]of i)s.wrapped!==!0||this._$AL.has(o)||this[o]===void 0||this.P(o,this[o],s)}let e=!1;const r=this._$AL;try{e=this.shouldUpdate(r),e?(this.willUpdate(r),(n=this._$EO)==null||n.forEach(i=>{var o;return(o=i.hostUpdate)==null?void 0:o.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){}}Dr.elementStyles=[],Dr.shadowRootOptions={mode:"open"},Dr[$n("elementProperties")]=new Map,Dr[$n("finalized")]=new Map,To==null||To({ReactiveElement:Dr}),(Wt.reactiveElementVersions??(Wt.reactiveElementVersions=[])).push("2.0.4");/**
9
+ */const{is:Zp,defineProperty:Qp,getOwnPropertyDescriptor:eh,getOwnPropertyNames:th,getOwnPropertySymbols:rh,getPrototypeOf:nh}=Object,Wt=globalThis,ol=Wt.trustedTypes,ih=ol?ol.emptyScript:"",To=Wt.reactiveElementPolyfillSupport,$n=(t,e)=>t,Ro={toAttribute(t,e){switch(e){case Boolean:t=t?ih: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}},sl=(t,e)=>!Zp(t,e),al={attribute:!0,type:String,converter:Ro,reflect:!1,hasChanged:sl};Symbol.metadata??(Symbol.metadata=Symbol("metadata")),Wt.litPropertyMetadata??(Wt.litPropertyMetadata=new WeakMap);class Ir 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=al){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&&Qp(this.prototype,e,i)}}static getPropertyDescriptor(e,r,n){const{get:i,set:o}=eh(this.prototype,e)??{get(){return this[r]},set(s){this[r]=s}};return{get(){return i==null?void 0:i.call(this)},set(s){const l=i==null?void 0:i.call(this);o.call(this,s),this.requestUpdate(e,l,n)},configurable:!0,enumerable:!0}}static getPropertyOptions(e){return this.elementProperties.get(e)??al}static _$Ei(){if(this.hasOwnProperty($n("elementProperties")))return;const e=nh(this);e.finalize(),e.l!==void 0&&(this.l=[...e.l]),this.elementProperties=new Map(e.elementProperties)}static finalize(){if(this.hasOwnProperty($n("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty($n("properties"))){const r=this.properties,n=[...th(r),...rh(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(il(i))}else e!==void 0&&r.push(il(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 Xp(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 o;const n=this.constructor.elementProperties.get(e),i=this.constructor._$Eu(e,n);if(i!==void 0&&n.reflect===!0){const s=(((o=n.converter)==null?void 0:o.toAttribute)!==void 0?n.converter:Ro).toAttribute(r,n.type);this._$Em=e,s==null?this.removeAttribute(i):this.setAttribute(i,s),this._$Em=null}}_$AK(e,r){var o;const n=this.constructor,i=n._$Eh.get(e);if(i!==void 0&&this._$Em!==i){const s=n.getPropertyOptions(i),l=typeof s.converter=="function"?{fromAttribute:s.converter}:((o=s.converter)==null?void 0:o.fromAttribute)!==void 0?s.converter:Ro;this._$Em=i,this[i]=l.fromAttribute(r,s.type),this._$Em=null}}requestUpdate(e,r,n){if(e!==void 0){if(n??(n=this.constructor.getPropertyOptions(e)),!(n.hasChanged??sl)(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[o,s]of this._$Ep)this[o]=s;this._$Ep=void 0}const i=this.constructor.elementProperties;if(i.size>0)for(const[o,s]of i)s.wrapped!==!0||this._$AL.has(o)||this[o]===void 0||this.P(o,this[o],s)}let e=!1;const r=this._$AL;try{e=this.shouldUpdate(r),e?(this.willUpdate(r),(n=this._$EO)==null||n.forEach(i=>{var o;return(o=i.hostUpdate)==null?void 0:o.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){}}Ir.elementStyles=[],Ir.shadowRootOptions={mode:"open"},Ir[$n("elementProperties")]=new Map,Ir[$n("finalized")]=new Map,To==null||To({ReactiveElement:Ir}),(Wt.reactiveElementVersions??(Wt.reactiveElementVersions=[])).push("2.0.4");/**
10
10
  * @license
11
11
  * Copyright 2017 Google LLC
12
12
  * SPDX-License-Identifier: BSD-3-Clause
13
- */const xn=globalThis,fi=xn.trustedTypes,ll=fi?fi.createPolicy("lit-html",{createHTML:t=>t}):void 0,Do="$lit$",Tt=`lit$${(Math.random()+"").slice(9)}$`,Io="?"+Tt,oh=`<${Io}>`,lr=document,Sn=()=>lr.createComment(""),An=t=>t===null||typeof t!="object"&&typeof t!="function",cl=Array.isArray,ul=t=>cl(t)||typeof(t==null?void 0:t[Symbol.iterator])=="function",jo=`[
13
+ */const xn=globalThis,fi=xn.trustedTypes,ll=fi?fi.createPolicy("lit-html",{createHTML:t=>t}):void 0,Io="$lit$",Tt=`lit$${(Math.random()+"").slice(9)}$`,Do="?"+Tt,oh=`<${Do}>`,lr=document,Sn=()=>lr.createComment(""),An=t=>t===null||typeof t!="object"&&typeof t!="function",cl=Array.isArray,ul=t=>cl(t)||typeof(t==null?void 0:t[Symbol.iterator])=="function",jo=`[
14
14
  \f\r]`,_n=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,fl=/-->/g,pl=/>/g,cr=RegExp(`>|${jo}(?:([^\\s"'>=/]+)(${jo}*=${jo}*(?:[^
15
- \f\r"'\`<>=]|("|')|))|$)`,"g"),hl=/'/g,dl=/"/g,gl=/^(?:script|style|textarea|title)$/i,sh=t=>(e,...r)=>({_$litType$:t,strings:e,values:r}),X=sh(1),zt=Symbol.for("lit-noChange"),be=Symbol.for("lit-nothing"),yl=new WeakMap,ur=lr.createTreeWalker(lr,129);function vl(t,e){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return ll!==void 0?ll.createHTML(e):e}const ml=(t,e)=>{const r=t.length-1,n=[];let i,o=e===2?"<svg>":"",s=_n;for(let l=0;l<r;l++){const a=t[l];let u,h,d=-1,m=0;for(;m<a.length&&(s.lastIndex=m,h=s.exec(a),h!==null);)m=s.lastIndex,s===_n?h[1]==="!--"?s=fl:h[1]!==void 0?s=pl:h[2]!==void 0?(gl.test(h[2])&&(i=RegExp("</"+h[2],"g")),s=cr):h[3]!==void 0&&(s=cr):s===cr?h[0]===">"?(s=i??_n,d=-1):h[1]===void 0?d=-2:(d=s.lastIndex-h[2].length,u=h[1],s=h[3]===void 0?cr:h[3]==='"'?dl:hl):s===dl||s===hl?s=cr:s===fl||s===pl?s=_n:(s=cr,i=void 0);const v=s===cr&&t[l+1].startsWith("/>")?" ":"";o+=s===_n?a+oh:d>=0?(n.push(u),a.slice(0,d)+Do+a.slice(d)+Tt+v):a+Tt+(d===-2?l:v)}return[vl(t,o+(t[r]||"<?>")+(e===2?"</svg>":"")),n]};class En{constructor({strings:e,_$litType$:r},n){let i;this.parts=[];let o=0,s=0;const l=e.length-1,a=this.parts,[u,h]=ml(e,r);if(this.el=En.createElement(u,n),ur.currentNode=this.el.content,r===2){const d=this.el.content.firstChild;d.replaceWith(...d.childNodes)}for(;(i=ur.nextNode())!==null&&a.length<l;){if(i.nodeType===1){if(i.hasAttributes())for(const d of i.getAttributeNames())if(d.endsWith(Do)){const m=h[s++],v=i.getAttribute(d).split(Tt),S=/([.?@])?(.*)/.exec(m);a.push({type:1,index:o,name:S[2],strings:v,ctor:S[1]==="."?wl:S[1]==="?"?$l:S[1]==="@"?xl:Mn}),i.removeAttribute(d)}else d.startsWith(Tt)&&(a.push({type:6,index:o}),i.removeAttribute(d));if(gl.test(i.tagName)){const d=i.textContent.split(Tt),m=d.length-1;if(m>0){i.textContent=fi?fi.emptyScript:"";for(let v=0;v<m;v++)i.append(d[v],Sn()),ur.nextNode(),a.push({type:2,index:++o});i.append(d[m],Sn())}}}else if(i.nodeType===8)if(i.data===Io)a.push({type:2,index:o});else{let d=-1;for(;(d=i.data.indexOf(Tt,d+1))!==-1;)a.push({type:7,index:o}),d+=Tt.length-1}o++}}static createElement(e,r){const n=lr.createElement("template");return n.innerHTML=e,n}}function fr(t,e,r=t,n){var s,l;if(e===zt)return e;let i=n!==void 0?(s=r._$Co)==null?void 0:s[n]:r._$Cl;const o=An(e)?void 0:e._$litDirective$;return(i==null?void 0:i.constructor)!==o&&((l=i==null?void 0:i._$AO)==null||l.call(i,!1),o===void 0?i=void 0:(i=new o(t),i._$AT(t,r,n)),n!==void 0?(r._$Co??(r._$Co=[]))[n]=i:r._$Cl=i),i!==void 0&&(e=fr(t,i._$AS(t,e.values),i,n)),e}class bl{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)??lr).importNode(r,!0);ur.currentNode=i;let o=ur.nextNode(),s=0,l=0,a=n[0];for(;a!==void 0;){if(s===a.index){let u;a.type===2?u=new Ir(o,o.nextSibling,this,e):a.type===1?u=new a.ctor(o,a.name,a.strings,this,e):a.type===6&&(u=new Sl(o,this,e)),this._$AV.push(u),a=n[++l]}s!==(a==null?void 0:a.index)&&(o=ur.nextNode(),s++)}return ur.currentNode=lr,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 Ir{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=be,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=fr(this,e,r),An(e)?e===be||e==null||e===""?(this._$AH!==be&&this._$AR(),this._$AH=be):e!==this._$AH&&e!==zt&&this._(e):e._$litType$!==void 0?this.$(e):e.nodeType!==void 0?this.T(e):ul(e)?this.k(e):this._(e)}S(e){return this._$AA.parentNode.insertBefore(e,this._$AB)}T(e){this._$AH!==e&&(this._$AR(),this._$AH=this.S(e))}_(e){this._$AH!==be&&An(this._$AH)?this._$AA.nextSibling.data=e:this.T(lr.createTextNode(e)),this._$AH=e}$(e){var o;const{values:r,_$litType$:n}=e,i=typeof n=="number"?this._$AC(e):(n.el===void 0&&(n.el=En.createElement(vl(n.h,n.h[0]),this.options)),n);if(((o=this._$AH)==null?void 0:o._$AD)===i)this._$AH.p(r);else{const s=new bl(i,this),l=s.u(this.options);s.p(r),this.T(l),this._$AH=s}}_$AC(e){let r=yl.get(e.strings);return r===void 0&&yl.set(e.strings,r=new En(e)),r}k(e){cl(this._$AH)||(this._$AH=[],this._$AR());const r=this._$AH;let n,i=0;for(const o of e)i===r.length?r.push(n=new Ir(this.S(Sn()),this.S(Sn()),this,this.options)):n=r[i],n._$AI(o),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 Mn{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(e,r,n,i,o){this.type=1,this._$AH=be,this._$AN=void 0,this.element=e,this.name=r,this._$AM=i,this.options=o,n.length>2||n[0]!==""||n[1]!==""?(this._$AH=Array(n.length-1).fill(new String),this.strings=n):this._$AH=be}_$AI(e,r=this,n,i){const o=this.strings;let s=!1;if(o===void 0)e=fr(this,e,r,0),s=!An(e)||e!==this._$AH&&e!==zt,s&&(this._$AH=e);else{const l=e;let a,u;for(e=o[0],a=0;a<o.length-1;a++)u=fr(this,l[n+a],r,a),u===zt&&(u=this._$AH[a]),s||(s=!An(u)||u!==this._$AH[a]),u===be?e=be:e!==be&&(e+=(u??"")+o[a+1]),this._$AH[a]=u}s&&!i&&this.j(e)}j(e){e===be?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e??"")}}class wl extends Mn{constructor(){super(...arguments),this.type=3}j(e){this.element[this.name]=e===be?void 0:e}}class $l extends Mn{constructor(){super(...arguments),this.type=4}j(e){this.element.toggleAttribute(this.name,!!e&&e!==be)}}class xl extends Mn{constructor(e,r,n,i,o){super(e,r,n,i,o),this.type=5}_$AI(e,r=this){if((e=fr(this,e,r,0)??be)===zt)return;const n=this._$AH,i=e===be&&n!==be||e.capture!==n.capture||e.once!==n.once||e.passive!==n.passive,o=e!==be&&(n===be||i);i&&this.element.removeEventListener(this.name,this,n),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 Sl{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){fr(this,e)}}const ah={P:Do,A:Tt,C:Io,M:1,L:ml,R:bl,D:ul,V:fr,I:Ir,H:Mn,N:$l,U:xl,B:wl,F:Sl},Bo=xn.litHtmlPolyfillSupport;Bo==null||Bo(En,Ir),(xn.litHtmlVersions??(xn.litHtmlVersions=[])).push("3.1.2");const lh=(t,e,r)=>{const n=(r==null?void 0:r.renderBefore)??e;let i=n._$litPart$;if(i===void 0){const o=(r==null?void 0:r.renderBefore)??null;n._$litPart$=i=new Ir(e.insertBefore(Sn(),o),o,void 0,r??{})}return i._$AI(t),i};/**
15
+ \f\r"'\`<>=]|("|')|))|$)`,"g"),hl=/'/g,dl=/"/g,gl=/^(?:script|style|textarea|title)$/i,sh=t=>(e,...r)=>({_$litType$:t,strings:e,values:r}),X=sh(1),zt=Symbol.for("lit-noChange"),be=Symbol.for("lit-nothing"),yl=new WeakMap,ur=lr.createTreeWalker(lr,129);function vl(t,e){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return ll!==void 0?ll.createHTML(e):e}const ml=(t,e)=>{const r=t.length-1,n=[];let i,o=e===2?"<svg>":"",s=_n;for(let l=0;l<r;l++){const a=t[l];let u,h,d=-1,m=0;for(;m<a.length&&(s.lastIndex=m,h=s.exec(a),h!==null);)m=s.lastIndex,s===_n?h[1]==="!--"?s=fl:h[1]!==void 0?s=pl:h[2]!==void 0?(gl.test(h[2])&&(i=RegExp("</"+h[2],"g")),s=cr):h[3]!==void 0&&(s=cr):s===cr?h[0]===">"?(s=i??_n,d=-1):h[1]===void 0?d=-2:(d=s.lastIndex-h[2].length,u=h[1],s=h[3]===void 0?cr:h[3]==='"'?dl:hl):s===dl||s===hl?s=cr:s===fl||s===pl?s=_n:(s=cr,i=void 0);const v=s===cr&&t[l+1].startsWith("/>")?" ":"";o+=s===_n?a+oh:d>=0?(n.push(u),a.slice(0,d)+Io+a.slice(d)+Tt+v):a+Tt+(d===-2?l:v)}return[vl(t,o+(t[r]||"<?>")+(e===2?"</svg>":"")),n]};class En{constructor({strings:e,_$litType$:r},n){let i;this.parts=[];let o=0,s=0;const l=e.length-1,a=this.parts,[u,h]=ml(e,r);if(this.el=En.createElement(u,n),ur.currentNode=this.el.content,r===2){const d=this.el.content.firstChild;d.replaceWith(...d.childNodes)}for(;(i=ur.nextNode())!==null&&a.length<l;){if(i.nodeType===1){if(i.hasAttributes())for(const d of i.getAttributeNames())if(d.endsWith(Io)){const m=h[s++],v=i.getAttribute(d).split(Tt),S=/([.?@])?(.*)/.exec(m);a.push({type:1,index:o,name:S[2],strings:v,ctor:S[1]==="."?wl:S[1]==="?"?$l:S[1]==="@"?xl:Mn}),i.removeAttribute(d)}else d.startsWith(Tt)&&(a.push({type:6,index:o}),i.removeAttribute(d));if(gl.test(i.tagName)){const d=i.textContent.split(Tt),m=d.length-1;if(m>0){i.textContent=fi?fi.emptyScript:"";for(let v=0;v<m;v++)i.append(d[v],Sn()),ur.nextNode(),a.push({type:2,index:++o});i.append(d[m],Sn())}}}else if(i.nodeType===8)if(i.data===Do)a.push({type:2,index:o});else{let d=-1;for(;(d=i.data.indexOf(Tt,d+1))!==-1;)a.push({type:7,index:o}),d+=Tt.length-1}o++}}static createElement(e,r){const n=lr.createElement("template");return n.innerHTML=e,n}}function fr(t,e,r=t,n){var s,l;if(e===zt)return e;let i=n!==void 0?(s=r._$Co)==null?void 0:s[n]:r._$Cl;const o=An(e)?void 0:e._$litDirective$;return(i==null?void 0:i.constructor)!==o&&((l=i==null?void 0:i._$AO)==null||l.call(i,!1),o===void 0?i=void 0:(i=new o(t),i._$AT(t,r,n)),n!==void 0?(r._$Co??(r._$Co=[]))[n]=i:r._$Cl=i),i!==void 0&&(e=fr(t,i._$AS(t,e.values),i,n)),e}class bl{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)??lr).importNode(r,!0);ur.currentNode=i;let o=ur.nextNode(),s=0,l=0,a=n[0];for(;a!==void 0;){if(s===a.index){let u;a.type===2?u=new Dr(o,o.nextSibling,this,e):a.type===1?u=new a.ctor(o,a.name,a.strings,this,e):a.type===6&&(u=new Sl(o,this,e)),this._$AV.push(u),a=n[++l]}s!==(a==null?void 0:a.index)&&(o=ur.nextNode(),s++)}return ur.currentNode=lr,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 Dr{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=be,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=fr(this,e,r),An(e)?e===be||e==null||e===""?(this._$AH!==be&&this._$AR(),this._$AH=be):e!==this._$AH&&e!==zt&&this._(e):e._$litType$!==void 0?this.$(e):e.nodeType!==void 0?this.T(e):ul(e)?this.k(e):this._(e)}S(e){return this._$AA.parentNode.insertBefore(e,this._$AB)}T(e){this._$AH!==e&&(this._$AR(),this._$AH=this.S(e))}_(e){this._$AH!==be&&An(this._$AH)?this._$AA.nextSibling.data=e:this.T(lr.createTextNode(e)),this._$AH=e}$(e){var o;const{values:r,_$litType$:n}=e,i=typeof n=="number"?this._$AC(e):(n.el===void 0&&(n.el=En.createElement(vl(n.h,n.h[0]),this.options)),n);if(((o=this._$AH)==null?void 0:o._$AD)===i)this._$AH.p(r);else{const s=new bl(i,this),l=s.u(this.options);s.p(r),this.T(l),this._$AH=s}}_$AC(e){let r=yl.get(e.strings);return r===void 0&&yl.set(e.strings,r=new En(e)),r}k(e){cl(this._$AH)||(this._$AH=[],this._$AR());const r=this._$AH;let n,i=0;for(const o of e)i===r.length?r.push(n=new Dr(this.S(Sn()),this.S(Sn()),this,this.options)):n=r[i],n._$AI(o),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 Mn{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(e,r,n,i,o){this.type=1,this._$AH=be,this._$AN=void 0,this.element=e,this.name=r,this._$AM=i,this.options=o,n.length>2||n[0]!==""||n[1]!==""?(this._$AH=Array(n.length-1).fill(new String),this.strings=n):this._$AH=be}_$AI(e,r=this,n,i){const o=this.strings;let s=!1;if(o===void 0)e=fr(this,e,r,0),s=!An(e)||e!==this._$AH&&e!==zt,s&&(this._$AH=e);else{const l=e;let a,u;for(e=o[0],a=0;a<o.length-1;a++)u=fr(this,l[n+a],r,a),u===zt&&(u=this._$AH[a]),s||(s=!An(u)||u!==this._$AH[a]),u===be?e=be:e!==be&&(e+=(u??"")+o[a+1]),this._$AH[a]=u}s&&!i&&this.j(e)}j(e){e===be?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e??"")}}class wl extends Mn{constructor(){super(...arguments),this.type=3}j(e){this.element[this.name]=e===be?void 0:e}}class $l extends Mn{constructor(){super(...arguments),this.type=4}j(e){this.element.toggleAttribute(this.name,!!e&&e!==be)}}class xl extends Mn{constructor(e,r,n,i,o){super(e,r,n,i,o),this.type=5}_$AI(e,r=this){if((e=fr(this,e,r,0)??be)===zt)return;const n=this._$AH,i=e===be&&n!==be||e.capture!==n.capture||e.once!==n.once||e.passive!==n.passive,o=e!==be&&(n===be||i);i&&this.element.removeEventListener(this.name,this,n),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 Sl{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){fr(this,e)}}const ah={P:Io,A:Tt,C:Do,M:1,L:ml,R:bl,D:ul,V:fr,I:Dr,H:Mn,N:$l,U:xl,B:wl,F:Sl},Bo=xn.litHtmlPolyfillSupport;Bo==null||Bo(En,Dr),(xn.litHtmlVersions??(xn.litHtmlVersions=[])).push("3.1.2");const lh=(t,e,r)=>{const n=(r==null?void 0:r.renderBefore)??e;let i=n._$litPart$;if(i===void 0){const o=(r==null?void 0:r.renderBefore)??null;n._$litPart$=i=new Dr(e.insertBefore(Sn(),o),o,void 0,r??{})}return i._$AI(t),i};/**
16
16
  * @license
17
17
  * Copyright 2017 Google LLC
18
18
  * SPDX-License-Identifier: BSD-3-Clause
19
- */let it=class extends Dr{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=lh(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 zt}};it._$litElement$=!0,it.finalized=!0,(Lp=globalThis.litElementHydrateSupport)==null||Lp.call(globalThis,{LitElement:it});const No=globalThis.litElementPolyfillSupport;No==null||No({LitElement:it}),(globalThis.litElementVersions??(globalThis.litElementVersions=[])).push("4.0.4");/**
19
+ */let it=class extends Ir{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=lh(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 zt}};it._$litElement$=!0,it.finalized=!0,(Lp=globalThis.litElementHydrateSupport)==null||Lp.call(globalThis,{LitElement:it});const No=globalThis.litElementPolyfillSupport;No==null||No({LitElement:it}),(globalThis.litElementVersions??(globalThis.litElementVersions=[])).push("4.0.4");/**
20
20
  * @license
21
21
  * Copyright 2021 Google LLC
22
22
  * SPDX-License-Identifier: BSD-3-Clause
@@ -501,11 +501,11 @@ li.highlighted,
501
501
  <slot name="filter"></slot>
502
502
  </div>
503
503
  </details>`)}
504
- `}}oo=new WeakSet,Rp=function(r){this.dispatchEvent(new CustomEvent("details-toggled",{detail:r,bubbles:!0,composed:!0}))},customElements.define("eox-itemfilter-expandcontainer",fh);const Ho=Math.min,jr=Math.max,hi=Math.round,di=Math.floor,qt=t=>({x:t,y:t});function Al(t){return t.split("-")[0]}function ph(t){return t.split("-")[1]}function hh(t){return t==="x"?"y":"x"}function dh(t){return t==="y"?"height":"width"}function _l(t){return["top","bottom"].includes(Al(t))?"y":"x"}function gh(t){return hh(_l(t))}function El(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 Ml(t,e,r){let{reference:n,floating:i}=t;const o=_l(e),s=gh(e),l=dh(s),a=Al(e),u=o==="y",h=n.x+n.width/2-i.width/2,d=n.y+n.height/2-i.height/2,m=n[l]/2-i[l]/2;let v;switch(a){case"top":v={x:h,y:n.y-i.height};break;case"bottom":v={x:h,y:n.y+n.height};break;case"right":v={x:n.x+n.width,y:d};break;case"left":v={x:n.x-i.width,y:d};break;default:v={x:n.x,y:n.y}}switch(ph(e)){case"start":v[s]-=m*(r&&u?-1:1);break;case"end":v[s]+=m*(r&&u?-1:1);break}return v}const yh=async(t,e,r)=>{const{placement:n="bottom",strategy:i="absolute",middleware:o=[],platform:s}=r,l=o.filter(Boolean),a=await(s.isRTL==null?void 0:s.isRTL(e));let u=await s.getElementRects({reference:t,floating:e,strategy:i}),{x:h,y:d}=Ml(u,n,a),m=n,v={},S=0;for(let _=0;_<l.length;_++){const{name:I,fn:j}=l[_],{x:H,y:W,data:Z,reset:z}=await j({x:h,y:d,initialPlacement:n,placement:m,strategy:i,middlewareData:v,rects:u,platform:s,elements:{reference:t,floating:e}});h=H??h,d=W??d,v={...v,[I]:{...v[I],...Z}},z&&S<=50&&(S++,typeof z=="object"&&(z.placement&&(m=z.placement),z.rects&&(u=z.rects===!0?await s.getElementRects({reference:t,floating:e,strategy:i}):z.rects),{x:h,y:d}=Ml(u,m,a)),_=-1)}return{x:h,y:d,placement:m,strategy:i,middlewareData:v}};function Br(t){return Pl(t)?(t.nodeName||"").toLowerCase():"#document"}function ot(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function Rt(t){var e;return(e=(Pl(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function Pl(t){return t instanceof Node||t instanceof ot(t).Node}function gt(t){return t instanceof Element||t instanceof ot(t).Element}function xt(t){return t instanceof HTMLElement||t instanceof ot(t).HTMLElement}function Ol(t){return typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof ot(t).ShadowRoot}function On(t){const{overflow:e,overflowX:r,overflowY:n,display:i}=yt(t);return/auto|scroll|overlay|hidden|clip/.test(e+n+r)&&!["inline","contents"].includes(i)}function vh(t){return["table","td","th"].includes(Br(t))}function gi(t){return[":popover-open",":modal"].some(e=>{try{return t.matches(e)}catch{return!1}})}function Uo(t){const e=Fo(),r=gt(t)?yt(t):t;return r.transform!=="none"||r.perspective!=="none"||(r.containerType?r.containerType!=="normal":!1)||!e&&(r.backdropFilter?r.backdropFilter!=="none":!1)||!e&&(r.filter?r.filter!=="none":!1)||["transform","perspective","filter"].some(n=>(r.willChange||"").includes(n))||["paint","layout","strict","content"].some(n=>(r.contain||"").includes(n))}function mh(t){let e=Gt(t);for(;xt(e)&&!Nr(e);){if(Uo(e))return e;if(gi(e))return null;e=Gt(e)}return null}function Fo(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function Nr(t){return["html","body","#document"].includes(Br(t))}function yt(t){return ot(t).getComputedStyle(t)}function yi(t){return gt(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.scrollX,scrollTop:t.scrollY}}function Gt(t){if(Br(t)==="html")return t;const e=t.assignedSlot||t.parentNode||Ol(t)&&t.host||Rt(t);return Ol(e)?e.host:e}function Cl(t){const e=Gt(t);return Nr(e)?t.ownerDocument?t.ownerDocument.body:t.body:xt(e)&&On(e)?e:Cl(e)}function Cn(t,e,r){var n;e===void 0&&(e=[]),r===void 0&&(r=!0);const i=Cl(t),o=i===((n=t.ownerDocument)==null?void 0:n.body),s=ot(i);return o?e.concat(s,s.visualViewport||[],On(i)?i:[],s.frameElement&&r?Cn(s.frameElement):[]):e.concat(i,Cn(i,[],r))}function kl(t){const e=yt(t);let r=parseFloat(e.width)||0,n=parseFloat(e.height)||0;const i=xt(t),o=i?t.offsetWidth:r,s=i?t.offsetHeight:n,l=hi(r)!==o||hi(n)!==s;return l&&(r=o,n=s),{width:r,height:n,$:l}}function Wo(t){return gt(t)?t:t.contextElement}function Hr(t){const e=Wo(t);if(!xt(e))return qt(1);const r=e.getBoundingClientRect(),{width:n,height:i,$:o}=kl(e);let s=(o?hi(r.width):r.width)/n,l=(o?hi(r.height):r.height)/i;return(!s||!Number.isFinite(s))&&(s=1),(!l||!Number.isFinite(l))&&(l=1),{x:s,y:l}}const bh=qt(0);function Ll(t){const e=ot(t);return!Fo()||!e.visualViewport?bh:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function wh(t,e,r){return e===void 0&&(e=!1),!r||e&&r!==ot(t)?!1:e}function pr(t,e,r,n){e===void 0&&(e=!1),r===void 0&&(r=!1);const i=t.getBoundingClientRect(),o=Wo(t);let s=qt(1);e&&(n?gt(n)&&(s=Hr(n)):s=Hr(t));const l=wh(o,r,n)?Ll(o):qt(0);let a=(i.left+l.x)/s.x,u=(i.top+l.y)/s.y,h=i.width/s.x,d=i.height/s.y;if(o){const m=ot(o),v=n&&gt(n)?ot(n):n;let S=m,_=S.frameElement;for(;_&&n&&v!==S;){const I=Hr(_),j=_.getBoundingClientRect(),H=yt(_),W=j.left+(_.clientLeft+parseFloat(H.paddingLeft))*I.x,Z=j.top+(_.clientTop+parseFloat(H.paddingTop))*I.y;a*=I.x,u*=I.y,h*=I.x,d*=I.y,a+=W,u+=Z,S=ot(_),_=S.frameElement}}return El({width:h,height:d,x:a,y:u})}function $h(t){let{elements:e,rect:r,offsetParent:n,strategy:i}=t;const o=i==="fixed",s=Rt(n),l=e?gi(e.floating):!1;if(n===s||l&&o)return r;let a={scrollLeft:0,scrollTop:0},u=qt(1);const h=qt(0),d=xt(n);if((d||!d&&!o)&&((Br(n)!=="body"||On(s))&&(a=yi(n)),xt(n))){const m=pr(n);u=Hr(n),h.x=m.x+n.clientLeft,h.y=m.y+n.clientTop}return{width:r.width*u.x,height:r.height*u.y,x:r.x*u.x-a.scrollLeft*u.x+h.x,y:r.y*u.y-a.scrollTop*u.y+h.y}}function xh(t){return Array.from(t.getClientRects())}function Tl(t){return pr(Rt(t)).left+yi(t).scrollLeft}function Sh(t){const e=Rt(t),r=yi(t),n=t.ownerDocument.body,i=jr(e.scrollWidth,e.clientWidth,n.scrollWidth,n.clientWidth),o=jr(e.scrollHeight,e.clientHeight,n.scrollHeight,n.clientHeight);let s=-r.scrollLeft+Tl(t);const l=-r.scrollTop;return yt(n).direction==="rtl"&&(s+=jr(e.clientWidth,n.clientWidth)-i),{width:i,height:o,x:s,y:l}}function Ah(t,e){const r=ot(t),n=Rt(t),i=r.visualViewport;let o=n.clientWidth,s=n.clientHeight,l=0,a=0;if(i){o=i.width,s=i.height;const u=Fo();(!u||u&&e==="fixed")&&(l=i.offsetLeft,a=i.offsetTop)}return{width:o,height:s,x:l,y:a}}function _h(t,e){const r=pr(t,!0,e==="fixed"),n=r.top+t.clientTop,i=r.left+t.clientLeft,o=xt(t)?Hr(t):qt(1),s=t.clientWidth*o.x,l=t.clientHeight*o.y,a=i*o.x,u=n*o.y;return{width:s,height:l,x:a,y:u}}function Rl(t,e,r){let n;if(e==="viewport")n=Ah(t,r);else if(e==="document")n=Sh(Rt(t));else if(gt(e))n=_h(e,r);else{const i=Ll(t);n={...e,x:e.x-i.x,y:e.y-i.y}}return El(n)}function Dl(t,e){const r=Gt(t);return r===e||!gt(r)||Nr(r)?!1:yt(r).position==="fixed"||Dl(r,e)}function Eh(t,e){const r=e.get(t);if(r)return r;let n=Cn(t,[],!1).filter(l=>gt(l)&&Br(l)!=="body"),i=null;const o=yt(t).position==="fixed";let s=o?Gt(t):t;for(;gt(s)&&!Nr(s);){const l=yt(s),a=Uo(s);!a&&l.position==="fixed"&&(i=null),(o?!a&&!i:!a&&l.position==="static"&&!!i&&["absolute","fixed"].includes(i.position)||On(s)&&!a&&Dl(t,s))?n=n.filter(h=>h!==s):i=l,s=Gt(s)}return e.set(t,n),n}function Mh(t){let{element:e,boundary:r,rootBoundary:n,strategy:i}=t;const s=[...r==="clippingAncestors"?gi(e)?[]:Eh(e,this._c):[].concat(r),n],l=s[0],a=s.reduce((u,h)=>{const d=Rl(e,h,i);return u.top=jr(d.top,u.top),u.right=Ho(d.right,u.right),u.bottom=Ho(d.bottom,u.bottom),u.left=jr(d.left,u.left),u},Rl(e,l,i));return{width:a.right-a.left,height:a.bottom-a.top,x:a.left,y:a.top}}function Ph(t){const{width:e,height:r}=kl(t);return{width:e,height:r}}function Oh(t,e,r){const n=xt(e),i=Rt(e),o=r==="fixed",s=pr(t,!0,o,e);let l={scrollLeft:0,scrollTop:0};const a=qt(0);if(n||!n&&!o)if((Br(e)!=="body"||On(i))&&(l=yi(e)),n){const d=pr(e,!0,o,e);a.x=d.x+e.clientLeft,a.y=d.y+e.clientTop}else i&&(a.x=Tl(i));const u=s.left+l.scrollLeft-a.x,h=s.top+l.scrollTop-a.y;return{x:u,y:h,width:s.width,height:s.height}}function zo(t){return yt(t).position==="static"}function Il(t,e){return!xt(t)||yt(t).position==="fixed"?null:e?e(t):t.offsetParent}function jl(t,e){const r=ot(t);if(gi(t))return r;if(!xt(t)){let i=Gt(t);for(;i&&!Nr(i);){if(gt(i)&&!zo(i))return i;i=Gt(i)}return r}let n=Il(t,e);for(;n&&vh(n)&&zo(n);)n=Il(n,e);return n&&Nr(n)&&zo(n)&&!Uo(n)?r:n||mh(t)||r}const Ch=async function(t){const e=this.getOffsetParent||jl,r=this.getDimensions,n=await r(t.floating);return{reference:Oh(t.reference,await e(t.floating),t.strategy),floating:{x:0,y:0,width:n.width,height:n.height}}};function kh(t){return yt(t).direction==="rtl"}const Lh={convertOffsetParentRelativeRectToViewportRelativeRect:$h,getDocumentElement:Rt,getClippingRect:Mh,getOffsetParent:jl,getElementRects:Ch,getClientRects:xh,getDimensions:Ph,getScale:Hr,isElement:gt,isRTL:kh};function Th(t,e){let r=null,n;const i=Rt(t);function o(){var l;clearTimeout(n),(l=r)==null||l.disconnect(),r=null}function s(l,a){l===void 0&&(l=!1),a===void 0&&(a=1),o();const{left:u,top:h,width:d,height:m}=t.getBoundingClientRect();if(l||e(),!d||!m)return;const v=di(h),S=di(i.clientWidth-(u+d)),_=di(i.clientHeight-(h+m)),I=di(u),H={rootMargin:-v+"px "+-S+"px "+-_+"px "+-I+"px",threshold:jr(0,Ho(1,a))||1};let W=!0;function Z(z){const U=z[0].intersectionRatio;if(U!==a){if(!W)return s();U?s(!1,U):n=setTimeout(()=>{s(!1,1e-7)},1e3)}W=!1}try{r=new IntersectionObserver(Z,{...H,root:i.ownerDocument})}catch{r=new IntersectionObserver(Z,H)}r.observe(t)}return s(!0),o}function Rh(t,e,r,n){n===void 0&&(n={});const{ancestorScroll:i=!0,ancestorResize:o=!0,elementResize:s=typeof ResizeObserver=="function",layoutShift:l=typeof IntersectionObserver=="function",animationFrame:a=!1}=n,u=Wo(t),h=i||o?[...u?Cn(u):[],...Cn(e)]:[];h.forEach(j=>{i&&j.addEventListener("scroll",r,{passive:!0}),o&&j.addEventListener("resize",r)});const d=u&&l?Th(u,r):null;let m=-1,v=null;s&&(v=new ResizeObserver(j=>{let[H]=j;H&&H.target===u&&v&&(v.unobserve(e),cancelAnimationFrame(m),m=requestAnimationFrame(()=>{var W;(W=v)==null||W.observe(e)})),r()}),u&&!a&&v.observe(u),v.observe(e));let S,_=a?pr(t):null;a&&I();function I(){const j=pr(t);_&&(j.x!==_.x||j.y!==_.y||j.width!==_.width||j.height!==_.height)&&r(),_=j,S=requestAnimationFrame(I)}return r(),()=>{var j;h.forEach(H=>{i&&H.removeEventListener("scroll",r),o&&H.removeEventListener("resize",r)}),d==null||d(),(j=v)==null||j.disconnect(),v=null,a&&cancelAnimationFrame(S)}}const Dh=(t,e,r)=>{const n=new Map,i={platform:Lh,...r},o={...i.platform,_c:n};return yh(t,e,{...i,platform:o})};function Dt(t){return Array.isArray?Array.isArray(t):Hl(t)==="[object Array]"}const Ih=1/0;function jh(t){if(typeof t=="string")return t;let e=t+"";return e=="0"&&1/t==-Ih?"-0":e}function Bh(t){return t==null?"":jh(t)}function St(t){return typeof t=="string"}function Bl(t){return typeof t=="number"}function Nh(t){return t===!0||t===!1||Hh(t)&&Hl(t)=="[object Boolean]"}function Nl(t){return typeof t=="object"}function Hh(t){return Nl(t)&&t!==null}function st(t){return t!=null}function qo(t){return!t.trim().length}function Hl(t){return t==null?t===void 0?"[object Undefined]":"[object Null]":Object.prototype.toString.call(t)}const Aw="Extended search is not available",Uh="Incorrect 'index' type",Fh=t=>`Invalid value for key ${t}`,Wh=t=>`Pattern length exceeds max of ${t}.`,zh=t=>`Missing ${t} property in key`,qh=t=>`Property 'weight' in key '${t}' must be a positive integer`,Ul=Object.prototype.hasOwnProperty;class Gh{constructor(e){this._keys=[],this._keyMap={};let r=0;e.forEach(n=>{let i=Fl(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 Fl(t){let e=null,r=null,n=null,i=1,o=null;if(St(t)||Dt(t))n=t,e=Wl(t),r=Go(t);else{if(!Ul.call(t,"name"))throw new Error(zh("name"));const s=t.name;if(n=s,Ul.call(t,"weight")&&(i=t.weight,i<=0))throw new Error(qh(s));e=Wl(s),r=Go(s),o=t.getFn}return{path:e,id:r,weight:i,src:n,getFn:o}}function Wl(t){return Dt(t)?t:t.split(".")}function Go(t){return Dt(t)?t.join("."):t}function Vh(t,e){let r=[],n=!1;const i=(o,s,l)=>{if(st(o))if(!s[l])r.push(o);else{let a=s[l];const u=o[a];if(!st(u))return;if(l===s.length-1&&(St(u)||Bl(u)||Nh(u)))r.push(Bh(u));else if(Dt(u)){n=!0;for(let h=0,d=u.length;h<d;h+=1)i(u[h],s,l+1)}else s.length&&i(u,s,l+1)}};return i(t,St(e)?e.split("."):e,0),n?r:r[0]}var K={...{isCaseSensitive:!1,includeScore:!1,keys:[],shouldSort:!0,sortFn:(t,e)=>t.score===e.score?t.idx<e.idx?-1:1:t.score<e.score?-1:1},...{includeMatches:!1,findAllMatches:!1,minMatchCharLength:1},...{location:0,threshold:.6,distance:100},...{useExtendedSearch:!1,getFn:Vh,ignoreLocation:!1,ignoreFieldNorm:!1,fieldNormWeight:1}};const Kh=/[^ ]+/g;function Yh(t=1,e=3){const r=new Map,n=Math.pow(10,e);return{get(i){const o=i.match(Kh).length;if(r.has(o))return r.get(o);const s=1/Math.pow(o,.5*t),l=parseFloat(Math.round(s*n)/n);return r.set(o,l),l},clear(){r.clear()}}}class Vo{constructor({getFn:e=K.getFn,fieldNormWeight:r=K.fieldNormWeight}={}){this.norm=Yh(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,St(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();St(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)||qo(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,o)=>{let s=i.getFn?i.getFn(e):this.getFn(e,i.path);if(st(s)){if(Dt(s)){let l=[];const a=[{nestedArrIndex:-1,value:s}];for(;a.length;){const{nestedArrIndex:u,value:h}=a.pop();if(st(h))if(St(h)&&!qo(h)){let d={v:h,i:u,n:this.norm.get(h)};l.push(d)}else Dt(h)&&h.forEach((d,m)=>{a.push({nestedArrIndex:m,value:d})})}n.$[o]=l}else if(St(s)&&!qo(s)){let l={v:s,n:this.norm.get(s)};n.$[o]=l}}}),this.records.push(n)}toJSON(){return{keys:this.keys,records:this.records}}}function zl(t,e,{getFn:r=K.getFn,fieldNormWeight:n=K.fieldNormWeight}={}){const i=new Vo({getFn:r,fieldNormWeight:n});return i.setKeys(t.map(Fl)),i.setSources(e),i.create(),i}function Jh(t,{getFn:e=K.getFn,fieldNormWeight:r=K.fieldNormWeight}={}){const{keys:n,records:i}=t,o=new Vo({getFn:e,fieldNormWeight:r});return o.setKeys(n),o.setIndexRecords(i),o}function vi(t,{errors:e=0,currentLocation:r=0,expectedLocation:n=0,distance:i=K.distance,ignoreLocation:o=K.ignoreLocation}={}){const s=e/t.length;if(o)return s;const l=Math.abs(n-r);return i?s+l/i:l?1:s}function Xh(t=[],e=K.minMatchCharLength){let r=[],n=-1,i=-1,o=0;for(let s=t.length;o<s;o+=1){let l=t[o];l&&n===-1?n=o:!l&&n!==-1&&(i=o-1,i-n+1>=e&&r.push([n,i]),n=-1)}return t[o-1]&&o-n>=e&&r.push([n,o-1]),r}const hr=32;function Zh(t,e,r,{location:n=K.location,distance:i=K.distance,threshold:o=K.threshold,findAllMatches:s=K.findAllMatches,minMatchCharLength:l=K.minMatchCharLength,includeMatches:a=K.includeMatches,ignoreLocation:u=K.ignoreLocation}={}){if(e.length>hr)throw new Error(Wh(hr));const h=e.length,d=t.length,m=Math.max(0,Math.min(n,d));let v=o,S=m;const _=l>1||a,I=_?Array(d):[];let j;for(;(j=t.indexOf(e,S))>-1;){let ee=vi(e,{currentLocation:j,expectedLocation:m,distance:i,ignoreLocation:u});if(v=Math.min(ee,v),S=j+h,_){let oe=0;for(;oe<h;)I[j+oe]=1,oe+=1}}S=-1;let H=[],W=1,Z=h+d;const z=1<<h-1;for(let ee=0;ee<h;ee+=1){let oe=0,we=Z;for(;oe<we;)vi(e,{errors:ee,currentLocation:m+we,expectedLocation:m,distance:i,ignoreLocation:u})<=v?oe=we:Z=we,we=Math.floor((Z-oe)/2+oe);Z=we;let de=Math.max(1,m-we+1),ne=s?d:Math.min(m+we,d)+h,Ne=Array(ne+2);Ne[ne+1]=(1<<ee)-1;for(let R=ne;R>=de;R-=1){let M=R-1,E=r[t.charAt(M)];if(_&&(I[M]=+!!E),Ne[R]=(Ne[R+1]<<1|1)&E,ee&&(Ne[R]|=(H[R+1]|H[R])<<1|1|H[R+1]),Ne[R]&z&&(W=vi(e,{errors:ee,currentLocation:M,expectedLocation:m,distance:i,ignoreLocation:u}),W<=v)){if(v=W,S=M,S<=m)break;de=Math.max(1,2*m-S)}}if(vi(e,{errors:ee+1,currentLocation:m,expectedLocation:m,distance:i,ignoreLocation:u})>v)break;H=Ne}const U={isMatch:S>=0,score:Math.max(.001,W)};if(_){const ee=Xh(I,l);ee.length?a&&(U.indices=ee):U.isMatch=!1}return U}function Qh(t){let e={};for(let r=0,n=t.length;r<n;r+=1){const i=t.charAt(r);e[i]=(e[i]||0)|1<<n-r-1}return e}class ql{constructor(e,{location:r=K.location,threshold:n=K.threshold,distance:i=K.distance,includeMatches:o=K.includeMatches,findAllMatches:s=K.findAllMatches,minMatchCharLength:l=K.minMatchCharLength,isCaseSensitive:a=K.isCaseSensitive,ignoreLocation:u=K.ignoreLocation}={}){if(this.options={location:r,threshold:n,distance:i,includeMatches:o,findAllMatches:s,minMatchCharLength:l,isCaseSensitive:a,ignoreLocation:u},this.pattern=a?e:e.toLowerCase(),this.chunks=[],!this.pattern.length)return;const h=(m,v)=>{this.chunks.push({pattern:m,alphabet:Qh(m),startIndex:v})},d=this.pattern.length;if(d>hr){let m=0;const v=d%hr,S=d-v;for(;m<S;)h(this.pattern.substr(m,hr),m),m+=hr;if(v){const _=d-hr;h(this.pattern.substr(_),_)}}else h(this.pattern,0)}searchIn(e){const{isCaseSensitive:r,includeMatches:n}=this.options;if(r||(e=e.toLowerCase()),this.pattern===e){let S={isMatch:!0,score:0};return n&&(S.indices=[[0,e.length-1]]),S}const{location:i,distance:o,threshold:s,findAllMatches:l,minMatchCharLength:a,ignoreLocation:u}=this.options;let h=[],d=0,m=!1;this.chunks.forEach(({pattern:S,alphabet:_,startIndex:I})=>{const{isMatch:j,score:H,indices:W}=Zh(e,S,_,{location:i+I,distance:o,threshold:s,findAllMatches:l,minMatchCharLength:a,includeMatches:n,ignoreLocation:u});j&&(m=!0),d+=H,j&&W&&(h=[...h,...W])});let v={isMatch:m,score:m?d/this.chunks.length:1};return m&&n&&(v.indices=h),v}}class Vt{constructor(e){this.pattern=e}static isMultiMatch(e){return Gl(e,this.multiRegex)}static isSingleMatch(e){return Gl(e,this.singleRegex)}search(){}}function Gl(t,e){const r=t.match(e);return r?r[1]:null}class ed extends Vt{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 td extends Vt{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 rd extends Vt{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 nd extends Vt{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 id extends Vt{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 od extends Vt{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 Vl extends Vt{constructor(e,{location:r=K.location,threshold:n=K.threshold,distance:i=K.distance,includeMatches:o=K.includeMatches,findAllMatches:s=K.findAllMatches,minMatchCharLength:l=K.minMatchCharLength,isCaseSensitive:a=K.isCaseSensitive,ignoreLocation:u=K.ignoreLocation}={}){super(e),this._bitapSearch=new ql(e,{location:r,threshold:n,distance:i,includeMatches:o,findAllMatches:s,minMatchCharLength:l,isCaseSensitive:a,ignoreLocation:u})}static get type(){return"fuzzy"}static get multiRegex(){return/^"(.*)"$/}static get singleRegex(){return/^(.*)$/}search(e){return this._bitapSearch.searchIn(e)}}class Kl extends Vt{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=[],o=this.pattern.length;for(;(n=e.indexOf(this.pattern,r))>-1;)r=n+o,i.push([n,r-1]);const s=!!i.length;return{isMatch:s,score:s?0:1,indices:i}}}const Ko=[ed,Kl,rd,nd,od,id,td,Vl],Yl=Ko.length,sd=/ +(?=(?:[^\"]*\"[^\"]*\")*[^\"]*$)/,ad="|";function ld(t,e={}){return t.split(ad).map(r=>{let n=r.trim().split(sd).filter(o=>o&&!!o.trim()),i=[];for(let o=0,s=n.length;o<s;o+=1){const l=n[o];let a=!1,u=-1;for(;!a&&++u<Yl;){const h=Ko[u];let d=h.isMultiMatch(l);d&&(i.push(new h(d,e)),a=!0)}if(!a)for(u=-1;++u<Yl;){const h=Ko[u];let d=h.isSingleMatch(l);if(d){i.push(new h(d,e));break}}}return i})}const cd=new Set([Vl.type,Kl.type]);class ud{constructor(e,{isCaseSensitive:r=K.isCaseSensitive,includeMatches:n=K.includeMatches,minMatchCharLength:i=K.minMatchCharLength,ignoreLocation:o=K.ignoreLocation,findAllMatches:s=K.findAllMatches,location:l=K.location,threshold:a=K.threshold,distance:u=K.distance}={}){this.query=null,this.options={isCaseSensitive:r,includeMatches:n,minMatchCharLength:i,findAllMatches:s,ignoreLocation:o,location:l,threshold:a,distance:u},this.pattern=r?e:e.toLowerCase(),this.query=ld(this.pattern,this.options)}static condition(e,r){return r.useExtendedSearch}searchIn(e){const r=this.query;if(!r)return{isMatch:!1,score:1};const{includeMatches:n,isCaseSensitive:i}=this.options;e=i?e:e.toLowerCase();let o=0,s=[],l=0;for(let a=0,u=r.length;a<u;a+=1){const h=r[a];s.length=0,o=0;for(let d=0,m=h.length;d<m;d+=1){const v=h[d],{isMatch:S,indices:_,score:I}=v.search(e);if(S){if(o+=1,l+=I,n){const j=v.constructor.type;cd.has(j)?s=[...s,..._]:s.push(_)}}else{l=0,o=0,s.length=0;break}}if(o){let d={isMatch:!0,score:l/o};return n&&(d.indices=s),d}}return{isMatch:!1,score:1}}}const Yo=[];function fd(...t){Yo.push(...t)}function Jo(t,e){for(let r=0,n=Yo.length;r<n;r+=1){let i=Yo[r];if(i.condition(t,e))return new i(t,e)}return new ql(t,e)}const mi={AND:"$and",OR:"$or"},Xo={PATH:"$path",PATTERN:"$val"},Zo=t=>!!(t[mi.AND]||t[mi.OR]),pd=t=>!!t[Xo.PATH],hd=t=>!Dt(t)&&Nl(t)&&!Zo(t),Jl=t=>({[mi.AND]:Object.keys(t).map(e=>({[e]:t[e]}))});function Xl(t,e,{auto:r=!0}={}){const n=i=>{let o=Object.keys(i);const s=pd(i);if(!s&&o.length>1&&!Zo(i))return n(Jl(i));if(hd(i)){const a=s?i[Xo.PATH]:o[0],u=s?i[Xo.PATTERN]:i[a];if(!St(u))throw new Error(Fh(a));const h={keyId:Go(a),pattern:u};return r&&(h.searcher=Jo(u,e)),h}let l={children:[],operator:o[0]};return o.forEach(a=>{const u=i[a];Dt(u)&&u.forEach(h=>{l.children.push(n(h))})}),l};return Zo(t)||(t=Jl(t)),n(t)}function dd(t,{ignoreFieldNorm:e=K.ignoreFieldNorm}){t.forEach(r=>{let n=1;r.matches.forEach(({key:i,norm:o,score:s})=>{const l=i?i.weight:null;n*=Math.pow(s===0&&l?Number.EPSILON:s,(l||1)*(e?1:o))}),r.score=n})}function gd(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:o}=n;let s={indices:i,value:o};n.key&&(s.key=n.key.src),n.idx>-1&&(s.refIndex=n.idx),e.matches.push(s)})}function yd(t,e){e.score=t.score}function vd(t,e,{includeMatches:r=K.includeMatches,includeScore:n=K.includeScore}={}){const i=[];return r&&i.push(gd),n&&i.push(yd),t.map(o=>{const{idx:s}=o,l={item:e[s],refIndex:s};return i.length&&i.forEach(a=>{a(o,l)}),l})}class Kt{constructor(e,r={},n){this.options={...K,...r},this.options.useExtendedSearch,this._keyStore=new Gh(this.options.keys),this.setCollection(e,n)}setCollection(e,r){if(this._docs=e,r&&!(r instanceof Vo))throw new Error(Uh);this._myIndex=r||zl(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 o=this._docs[n];e(o,n)&&(this.removeAt(n),n-=1,i-=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:n,includeScore:i,shouldSort:o,sortFn:s,ignoreFieldNorm:l}=this.options;let a=St(e)?St(this._docs[0])?this._searchStringList(e):this._searchObjectList(e):this._searchLogical(e);return dd(a,{ignoreFieldNorm:l}),o&&a.sort(s),Bl(r)&&r>-1&&(a=a.slice(0,r)),vd(a,this._docs,{includeMatches:n,includeScore:i})}_searchStringList(e){const r=Jo(e,this.options),{records:n}=this._myIndex,i=[];return n.forEach(({v:o,i:s,n:l})=>{if(!st(o))return;const{isMatch:a,score:u,indices:h}=r.searchIn(o);a&&i.push({item:o,idx:s,matches:[{score:u,value:o,norm:l,indices:h}]})}),i}_searchLogical(e){const r=Xl(e,this.options),n=(l,a,u)=>{if(!l.children){const{keyId:d,searcher:m}=l,v=this._findMatches({key:this._keyStore.get(d),value:this._myIndex.getValueForItemAtKeyId(a,d),searcher:m});return v&&v.length?[{idx:u,item:a,matches:v}]:[]}const h=[];for(let d=0,m=l.children.length;d<m;d+=1){const v=l.children[d],S=n(v,a,u);if(S.length)h.push(...S);else if(l.operator===mi.AND)return[]}return h},i=this._myIndex.records,o={},s=[];return i.forEach(({$:l,i:a})=>{if(st(l)){let u=n(r,l,a);u.length&&(o[a]||(o[a]={idx:a,item:l,matches:[]},s.push(o[a])),u.forEach(({matches:h})=>{o[a].matches.push(...h)}))}}),s}_searchObjectList(e){const r=Jo(e,this.options),{keys:n,records:i}=this._myIndex,o=[];return i.forEach(({$:s,i:l})=>{if(!st(s))return;let a=[];n.forEach((u,h)=>{a.push(...this._findMatches({key:u,value:s[h],searcher:r}))}),a.length&&o.push({idx:l,item:s,matches:a})}),o}_findMatches({key:e,value:r,searcher:n}){if(!st(r))return[];let i=[];if(Dt(r))r.forEach(({v:o,i:s,n:l})=>{if(!st(o))return;const{isMatch:a,score:u,indices:h}=n.searchIn(o);a&&i.push({score:u,key:e,value:o,idx:s,norm:l,indices:h})});else{const{v:o,n:s}=r,{isMatch:l,score:a,indices:u}=n.searchIn(o);l&&i.push({score:a,key:e,value:o,norm:s,indices:u})}return i}}Kt.version="7.0.0",Kt.createIndex=zl,Kt.parseIndex=Jh,Kt.config=K,Kt.parseQuery=Xl,fd(ud);function Zl(t,e){const r=new Kt(e.filterProperties,{keys:["title"]}),n=t.target.value,o=r.search(n).map(s=>s.item.key||s.item.keys.join("|"));Object.keys(e.filters).forEach(s=>{e.querySelector(`[data-details="${s}"]`).parentElement.style.display=o.includes(s)||!n?"":"none"})}function md(t,e){const r=t.target.getAttribute("data-close").replace("|","-");e.querySelector(`#filter-${r}`).reset(),e.dispatchEvent(new CustomEvent("filter")),e.requestUpdate()}function Ql(t){t.renderRoot.querySelector("#eox-itemfilter-input-search").value="",Zl({target:{value:""}},t)}function bd(t,e){e.inlineMode&&t.stopPropagation()}function wd(t){t.inlineMode&&(t.showDropdown=!0)}function $d(t,e){e.inlineMode&&(t.stopPropagation(),e.showDropdown=!0)}function xd(t,e){e.inlineMode&&t.key==="Escape"&&e.showDropdown&&(Ql(e),e.showDropdown=!1)}function Sd(t,e){e.inlineMode&&t.target.tagName!=="DROPDOWN-FORM"&&t.target.tagName!=="EOX-ITEMFILTER"&&e.showDropdown&&(Ql(e),e.showDropdown=!1)}function Ad(t,e){var r=0,n=0,i=0,o=0,s=0,l=0,a=0,u=0,h=null,d=null,m=t[0],v=t[1],S=e.length;for(r;r<S;r++){n=0;var _=e[r].length-1,I=e[r];if(h=I[0],h[0]!==I[_][0]&&h[1]!==I[_][1])throw new Error("First and last coordinates in a ring must be the same");for(s=h[0]-m,l=h[1]-v,n;n<_;n++){if(d=I[n+1],u=d[1]-v,l<0&&u<0||l>0&&u>0){h=d,l=u,s=h[0]-m;continue}if(a=d[0]-t[0],u>0&&l<=0){if(o=s*u-a*l,o>0)i=i+1;else if(o===0)return 0}else if(l>0&&u<=0){if(o=s*u-a*l,o<0)i=i+1;else if(o===0)return 0}else if(u===0&&l<0){if(o=s*u-a*l,o===0)return 0}else if(l===0&&u<0){if(o=s*u-a*l,o===0)return 0}else if(l===0&&u===0){if(a<=0&&s>=0)return 0;if(s<=0&&a>=0)return 0}h=d,l=u,s=a}}return i%2!==0}var Ve=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function kn(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}function _d(t){if(t.__esModule)return t;var e=t.default;if(typeof e=="function"){var r=function n(){return this instanceof n?Reflect.construct(e,arguments,this.constructor):e.apply(this,arguments)};r.prototype=e.prototype}else r={};return Object.defineProperty(r,"__esModule",{value:!0}),Object.keys(t).forEach(function(n){var i=Object.getOwnPropertyDescriptor(t,n);Object.defineProperty(r,n,i.get?i:{enumerable:!0,get:function(){return t[n]}})}),r}var ec=Object.prototype.toString,tc=function(e){var r=ec.call(e),n=r==="[object Arguments]";return n||(n=r!=="[object Array]"&&e!==null&&typeof e=="object"&&typeof e.length=="number"&&e.length>=0&&ec.call(e.callee)==="[object Function]"),n},Qo,rc;function Ed(){if(rc)return Qo;rc=1;var t;if(!Object.keys){var e=Object.prototype.hasOwnProperty,r=Object.prototype.toString,n=tc,i=Object.prototype.propertyIsEnumerable,o=!i.call({toString:null},"toString"),s=i.call(function(){},"prototype"),l=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],a=function(m){var v=m.constructor;return v&&v.prototype===m},u={$applicationCache:!0,$console:!0,$external:!0,$frame:!0,$frameElement:!0,$frames:!0,$innerHeight:!0,$innerWidth:!0,$onmozfullscreenchange:!0,$onmozfullscreenerror:!0,$outerHeight:!0,$outerWidth:!0,$pageXOffset:!0,$pageYOffset:!0,$parent:!0,$scrollLeft:!0,$scrollTop:!0,$scrollX:!0,$scrollY:!0,$self:!0,$webkitIndexedDB:!0,$webkitStorageInfo:!0,$window:!0},h=function(){if(typeof window>"u")return!1;for(var m in window)try{if(!u["$"+m]&&e.call(window,m)&&window[m]!==null&&typeof window[m]=="object")try{a(window[m])}catch{return!0}}catch{return!0}return!1}(),d=function(m){if(typeof window>"u"||!h)return a(m);try{return a(m)}catch{return!1}};t=function(v){var S=v!==null&&typeof v=="object",_=r.call(v)==="[object Function]",I=n(v),j=S&&r.call(v)==="[object String]",H=[];if(!S&&!_&&!I)throw new TypeError("Object.keys called on a non-object");var W=s&&_;if(j&&v.length>0&&!e.call(v,0))for(var Z=0;Z<v.length;++Z)H.push(String(Z));if(I&&v.length>0)for(var z=0;z<v.length;++z)H.push(String(z));else for(var U in v)!(W&&U==="prototype")&&e.call(v,U)&&H.push(String(U));if(o)for(var ee=d(v),oe=0;oe<l.length;++oe)!(ee&&l[oe]==="constructor")&&e.call(v,l[oe])&&H.push(l[oe]);return H}}return Qo=t,Qo}var Md=Array.prototype.slice,Pd=tc,nc=Object.keys,bi=nc?function(e){return nc(e)}:Ed(),ic=Object.keys;bi.shim=function(){if(Object.keys){var e=function(){var r=Object.keys(arguments);return r&&r.length===arguments.length}(1,2);e||(Object.keys=function(n){return Pd(n)?ic(Md.call(n)):ic(n)})}else Object.keys=bi;return Object.keys||bi};var es=bi,Od=Error,Cd=EvalError,kd=RangeError,Ld=ReferenceError,oc=SyntaxError,Yt=TypeError,Td=URIError,wi=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var e={},r=Symbol("test"),n=Object(r);if(typeof r=="string"||Object.prototype.toString.call(r)!=="[object Symbol]"||Object.prototype.toString.call(n)!=="[object Symbol]")return!1;var i=42;e[r]=i;for(r in e)return!1;if(typeof Object.keys=="function"&&Object.keys(e).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(e).length!==0)return!1;var o=Object.getOwnPropertySymbols(e);if(o.length!==1||o[0]!==r||!Object.prototype.propertyIsEnumerable.call(e,r))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var s=Object.getOwnPropertyDescriptor(e,r);if(s.value!==i||s.enumerable!==!0)return!1}return!0},sc=typeof Symbol<"u"&&Symbol,Rd=wi,ts=function(){return typeof sc!="function"||typeof Symbol!="function"||typeof sc("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:Rd()},ac={foo:{}},Dd=Object,Id=function(){return{__proto__:ac}.foo===ac.foo&&!({__proto__:null}instanceof Dd)},jd="Function.prototype.bind called on incompatible ",Bd=Object.prototype.toString,Nd=Math.max,Hd="[object Function]",lc=function(e,r){for(var n=[],i=0;i<e.length;i+=1)n[i]=e[i];for(var o=0;o<r.length;o+=1)n[o+e.length]=r[o];return n},Ud=function(e,r){for(var n=[],i=r||0,o=0;i<e.length;i+=1,o+=1)n[o]=e[i];return n},Fd=function(t,e){for(var r="",n=0;n<t.length;n+=1)r+=t[n],n+1<t.length&&(r+=e);return r},Wd=function(e){var r=this;if(typeof r!="function"||Bd.apply(r)!==Hd)throw new TypeError(jd+r);for(var n=Ud(arguments,1),i,o=function(){if(this instanceof i){var h=r.apply(this,lc(n,arguments));return Object(h)===h?h:this}return r.apply(e,lc(n,arguments))},s=Nd(0,r.length-n.length),l=[],a=0;a<s;a++)l[a]="$"+a;if(i=Function("binder","return function ("+Fd(l,",")+"){ return binder.apply(this,arguments); }")(o),r.prototype){var u=function(){};u.prototype=r.prototype,i.prototype=new u,u.prototype=null}return i},zd=Wd,rs=Function.prototype.bind||zd,qd=Function.prototype.call,Gd=Object.prototype.hasOwnProperty,Vd=rs,cc=Vd.call(qd,Gd),le,Kd=Od,Yd=Cd,Jd=kd,Xd=Ld,Ur=oc,Fr=Yt,Zd=Td,uc=Function,ns=function(t){try{return uc('"use strict"; return ('+t+").constructor;")()}catch{}},dr=Object.getOwnPropertyDescriptor;if(dr)try{dr({},"")}catch{dr=null}var is=function(){throw new Fr},Qd=dr?function(){try{return arguments.callee,is}catch{try{return dr(arguments,"callee").get}catch{return is}}}():is,Wr=ts(),eg=Id(),Ue=Object.getPrototypeOf||(eg?function(t){return t.__proto__}:null),zr={},tg=typeof Uint8Array>"u"||!Ue?le:Ue(Uint8Array),gr={__proto__:null,"%AggregateError%":typeof AggregateError>"u"?le:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?le:ArrayBuffer,"%ArrayIteratorPrototype%":Wr&&Ue?Ue([][Symbol.iterator]()):le,"%AsyncFromSyncIteratorPrototype%":le,"%AsyncFunction%":zr,"%AsyncGenerator%":zr,"%AsyncGeneratorFunction%":zr,"%AsyncIteratorPrototype%":zr,"%Atomics%":typeof Atomics>"u"?le:Atomics,"%BigInt%":typeof BigInt>"u"?le:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?le:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?le:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?le:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Kd,"%eval%":eval,"%EvalError%":Yd,"%Float32Array%":typeof Float32Array>"u"?le:Float32Array,"%Float64Array%":typeof Float64Array>"u"?le:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?le:FinalizationRegistry,"%Function%":uc,"%GeneratorFunction%":zr,"%Int8Array%":typeof Int8Array>"u"?le:Int8Array,"%Int16Array%":typeof Int16Array>"u"?le:Int16Array,"%Int32Array%":typeof Int32Array>"u"?le:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":Wr&&Ue?Ue(Ue([][Symbol.iterator]())):le,"%JSON%":typeof JSON=="object"?JSON:le,"%Map%":typeof Map>"u"?le:Map,"%MapIteratorPrototype%":typeof Map>"u"||!Wr||!Ue?le:Ue(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?le:Promise,"%Proxy%":typeof Proxy>"u"?le:Proxy,"%RangeError%":Jd,"%ReferenceError%":Xd,"%Reflect%":typeof Reflect>"u"?le:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?le:Set,"%SetIteratorPrototype%":typeof Set>"u"||!Wr||!Ue?le:Ue(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?le:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":Wr&&Ue?Ue(""[Symbol.iterator]()):le,"%Symbol%":Wr?Symbol:le,"%SyntaxError%":Ur,"%ThrowTypeError%":Qd,"%TypedArray%":tg,"%TypeError%":Fr,"%Uint8Array%":typeof Uint8Array>"u"?le:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?le:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?le:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?le:Uint32Array,"%URIError%":Zd,"%WeakMap%":typeof WeakMap>"u"?le:WeakMap,"%WeakRef%":typeof WeakRef>"u"?le:WeakRef,"%WeakSet%":typeof WeakSet>"u"?le:WeakSet};if(Ue)try{null.error}catch(t){var rg=Ue(Ue(t));gr["%Error.prototype%"]=rg}var ng=function t(e){var r;if(e==="%AsyncFunction%")r=ns("async function () {}");else if(e==="%GeneratorFunction%")r=ns("function* () {}");else if(e==="%AsyncGeneratorFunction%")r=ns("async function* () {}");else if(e==="%AsyncGenerator%"){var n=t("%AsyncGeneratorFunction%");n&&(r=n.prototype)}else if(e==="%AsyncIteratorPrototype%"){var i=t("%AsyncGenerator%");i&&Ue&&(r=Ue(i.prototype))}return gr[e]=r,r},fc={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},Ln=rs,$i=cc,ig=Ln.call(Function.call,Array.prototype.concat),og=Ln.call(Function.apply,Array.prototype.splice),pc=Ln.call(Function.call,String.prototype.replace),xi=Ln.call(Function.call,String.prototype.slice),sg=Ln.call(Function.call,RegExp.prototype.exec),ag=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,lg=/\\(\\)?/g,cg=function(e){var r=xi(e,0,1),n=xi(e,-1);if(r==="%"&&n!=="%")throw new Ur("invalid intrinsic syntax, expected closing `%`");if(n==="%"&&r!=="%")throw new Ur("invalid intrinsic syntax, expected opening `%`");var i=[];return pc(e,ag,function(o,s,l,a){i[i.length]=l?pc(a,lg,"$1"):s||o}),i},ug=function(e,r){var n=e,i;if($i(fc,n)&&(i=fc[n],n="%"+i[0]+"%"),$i(gr,n)){var o=gr[n];if(o===zr&&(o=ng(n)),typeof o>"u"&&!r)throw new Fr("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:i,name:n,value:o}}throw new Ur("intrinsic "+e+" does not exist!")},At=function(e,r){if(typeof e!="string"||e.length===0)throw new Fr("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof r!="boolean")throw new Fr('"allowMissing" argument must be a boolean');if(sg(/^%?[^%]*%?$/,e)===null)throw new Ur("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var n=cg(e),i=n.length>0?n[0]:"",o=ug("%"+i+"%",r),s=o.name,l=o.value,a=!1,u=o.alias;u&&(i=u[0],og(n,ig([0,1],u)));for(var h=1,d=!0;h<n.length;h+=1){var m=n[h],v=xi(m,0,1),S=xi(m,-1);if((v==='"'||v==="'"||v==="`"||S==='"'||S==="'"||S==="`")&&v!==S)throw new Ur("property names with quotes must have matching quotes");if((m==="constructor"||!d)&&(a=!0),i+="."+m,s="%"+i+"%",$i(gr,s))l=gr[s];else if(l!=null){if(!(m in l)){if(!r)throw new Fr("base intrinsic for "+e+" exists, but the property is not available.");return}if(dr&&h+1>=n.length){var _=dr(l,m);d=!!_,d&&"get"in _&&!("originalValue"in _.get)?l=_.get:l=l[m]}else d=$i(l,m),l=l[m];d&&!a&&(gr[s]=l)}}return l},fg=At,Si=fg("%Object.defineProperty%",!0)||!1;if(Si)try{Si({},"a",{value:1})}catch{Si=!1}var os=Si,pg=At,Ai=pg("%Object.getOwnPropertyDescriptor%",!0);if(Ai)try{Ai([],"length")}catch{Ai=null}var ss=Ai,hc=os,hg=oc,qr=Yt,dc=ss,as=function(e,r,n){if(!e||typeof e!="object"&&typeof e!="function")throw new qr("`obj` must be an object or a function`");if(typeof r!="string"&&typeof r!="symbol")throw new qr("`property` must be a string or a symbol`");if(arguments.length>3&&typeof arguments[3]!="boolean"&&arguments[3]!==null)throw new qr("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&typeof arguments[4]!="boolean"&&arguments[4]!==null)throw new qr("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&typeof arguments[5]!="boolean"&&arguments[5]!==null)throw new qr("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&typeof arguments[6]!="boolean")throw new qr("`loose`, if provided, must be a boolean");var i=arguments.length>3?arguments[3]:null,o=arguments.length>4?arguments[4]:null,s=arguments.length>5?arguments[5]:null,l=arguments.length>6?arguments[6]:!1,a=!!dc&&dc(e,r);if(hc)hc(e,r,{configurable:s===null&&a?a.configurable:!s,enumerable:i===null&&a?a.enumerable:!i,value:n,writable:o===null&&a?a.writable:!o});else if(l||!i&&!o&&!s)e[r]=n;else throw new hg("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.")},ls=os,gc=function(){return!!ls};gc.hasArrayLengthDefineBug=function(){if(!ls)return null;try{return ls([],"length",{value:1}).length!==1}catch{return!0}};var cs=gc,dg=es,gg=typeof Symbol=="function"&&typeof Symbol("foo")=="symbol",yg=Object.prototype.toString,vg=Array.prototype.concat,yc=as,mg=function(t){return typeof t=="function"&&yg.call(t)==="[object Function]"},vc=cs(),bg=function(t,e,r,n){if(e in t){if(n===!0){if(t[e]===r)return}else if(!mg(n)||!n())return}vc?yc(t,e,r,!0):yc(t,e,r)},mc=function(t,e){var r=arguments.length>2?arguments[2]:{},n=dg(e);gg&&(n=vg.call(n,Object.getOwnPropertySymbols(e)));for(var i=0;i<n.length;i+=1)bg(t,n[i],e[n[i]],r[n[i]])};mc.supportsDescriptors=!!vc;var yr=mc,bc={exports:{}},wg=At,wc=as,$g=cs(),$c=ss,xc=Yt,xg=wg("%Math.floor%"),Sg=function(e,r){if(typeof e!="function")throw new xc("`fn` is not a function");if(typeof r!="number"||r<0||r>4294967295||xg(r)!==r)throw new xc("`length` must be a positive 32-bit integer");var n=arguments.length>2&&!!arguments[2],i=!0,o=!0;if("length"in e&&$c){var s=$c(e,"length");s&&!s.configurable&&(i=!1),s&&!s.writable&&(o=!1)}return(i||o||!n)&&($g?wc(e,"length",r,!0,!0):wc(e,"length",r)),e};(function(t){var e=rs,r=At,n=Sg,i=Yt,o=r("%Function.prototype.apply%"),s=r("%Function.prototype.call%"),l=r("%Reflect.apply%",!0)||e.call(s,o),a=os,u=r("%Math.max%");t.exports=function(m){if(typeof m!="function")throw new i("a function is required");var v=l(e,s,arguments);return n(v,1+u(0,m.length-(arguments.length-1)),!0)};var h=function(){return l(e,o,arguments)};a?a(t.exports,"apply",{value:h}):t.exports.apply=h})(bc);var Gr=bc.exports,Sc=At,Ac=Gr,Ag=Ac(Sc("String.prototype.indexOf")),ft=function(e,r){var n=Sc(e,!!r);return typeof n=="function"&&Ag(e,".prototype.")>-1?Ac(n):n},_g=es,_c=wi(),Ec=ft,Mc=Object,Eg=Ec("Array.prototype.push"),Pc=Ec("Object.prototype.propertyIsEnumerable"),Mg=_c?Object.getOwnPropertySymbols:null,Oc=function(e,r){if(e==null)throw new TypeError("target must be an object");var n=Mc(e);if(arguments.length===1)return n;for(var i=1;i<arguments.length;++i){var o=Mc(arguments[i]),s=_g(o),l=_c&&(Object.getOwnPropertySymbols||Mg);if(l)for(var a=l(o),u=0;u<a.length;++u){var h=a[u];Pc(o,h)&&Eg(s,h)}for(var d=0;d<s.length;++d){var m=s[d];if(Pc(o,m)){var v=o[m];n[m]=v}}}return n},us=Oc,Pg=function(){if(!Object.assign)return!1;for(var t="abcdefghijklmnopqrst",e=t.split(""),r={},n=0;n<e.length;++n)r[e[n]]=e[n];var i=Object.assign({},r),o="";for(var s in i)o+=s;return t!==o},Og=function(){if(!Object.assign||!Object.preventExtensions)return!1;var t=Object.preventExtensions({1:2});try{Object.assign(t,"xy")}catch{return t[1]==="y"}return!1},Cc=function(){return!Object.assign||Pg()||Og()?us:Object.assign},Cg=yr,kg=Cc,Lg=function(){var e=kg();return Cg(Object,{assign:e},{assign:function(){return Object.assign!==e}}),e},Tg=yr,Rg=Gr,Dg=Oc,kc=Cc,Ig=Lg,jg=Rg.apply(kc()),Lc=function(e,r){return jg(Object,arguments)};Tg(Lc,{getPolyfill:kc,implementation:Dg,shim:Ig});var Bg=Lc,Tn=function(){return typeof(function(){}).name=="string"},Rn=Object.getOwnPropertyDescriptor;if(Rn)try{Rn([],"length")}catch{Rn=null}Tn.functionsHaveConfigurableNames=function(){if(!Tn()||!Rn)return!1;var e=Rn(function(){},"name");return!!e&&!!e.configurable};var Ng=Function.prototype.bind;Tn.boundFunctionsHaveNames=function(){return Tn()&&typeof Ng=="function"&&(function(){}).bind().name!==""};var Hg=Tn,Tc=as,Ug=cs(),Fg=Hg.functionsHaveConfigurableNames(),Wg=Yt,zg=function(e,r){if(typeof e!="function")throw new Wg("`fn` is not a function");var n=arguments.length>2&&!!arguments[2];return(!n||Fg)&&(Ug?Tc(e,"name",r,!0,!0):Tc(e,"name",r)),e},qg=zg,Gg=Yt,Vg=Object,Rc=qg(function(){if(this==null||this!==Vg(this))throw new Gg("RegExp.prototype.flags getter called on non-object");var e="";return this.hasIndices&&(e+="d"),this.global&&(e+="g"),this.ignoreCase&&(e+="i"),this.multiline&&(e+="m"),this.dotAll&&(e+="s"),this.unicode&&(e+="u"),this.unicodeSets&&(e+="v"),this.sticky&&(e+="y"),e},"get flags",!0),Kg=Rc,Yg=yr.supportsDescriptors,Jg=Object.getOwnPropertyDescriptor,Dc=function(){if(Yg&&/a/mig.flags==="gim"){var e=Jg(RegExp.prototype,"flags");if(e&&typeof e.get=="function"&&typeof RegExp.prototype.dotAll=="boolean"&&typeof RegExp.prototype.hasIndices=="boolean"){var r="",n={};if(Object.defineProperty(n,"hasIndices",{get:function(){r+="d"}}),Object.defineProperty(n,"sticky",{get:function(){r+="y"}}),r==="dy")return e.get}}return Kg},Xg=yr.supportsDescriptors,Zg=Dc,Qg=Object.getOwnPropertyDescriptor,ey=Object.defineProperty,ty=TypeError,Ic=Object.getPrototypeOf,ry=/a/,ny=function(){if(!Xg||!Ic)throw new ty("RegExp.prototype.flags requires a true ES5 environment that supports property descriptors");var e=Zg(),r=Ic(ry),n=Qg(r,"flags");return(!n||n.get!==e)&&ey(r,"flags",{configurable:!0,enumerable:!1,get:e}),e},iy=yr,oy=Gr,sy=Rc,jc=Dc,ay=ny,Bc=oy(jc());iy(Bc,{getPolyfill:jc,implementation:sy,shim:ay});var ly=Bc,_i={exports:{}},cy=wi,vr=function(){return cy()&&!!Symbol.toStringTag},uy=vr(),fy=ft,fs=fy("Object.prototype.toString"),Ei=function(e){return uy&&e&&typeof e=="object"&&Symbol.toStringTag in e?!1:fs(e)==="[object Arguments]"},Nc=function(e){return Ei(e)?!0:e!==null&&typeof e=="object"&&typeof e.length=="number"&&e.length>=0&&fs(e)!=="[object Array]"&&fs(e.callee)==="[object Function]"},py=function(){return Ei(arguments)}();Ei.isLegacyArguments=Nc;var Hc=py?Ei:Nc;const hy=_d(Object.freeze(Object.defineProperty({__proto__:null,default:{}},Symbol.toStringTag,{value:"Module"})));var ps=typeof Map=="function"&&Map.prototype,hs=Object.getOwnPropertyDescriptor&&ps?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,Mi=ps&&hs&&typeof hs.get=="function"?hs.get:null,Uc=ps&&Map.prototype.forEach,ds=typeof Set=="function"&&Set.prototype,gs=Object.getOwnPropertyDescriptor&&ds?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,Pi=ds&&gs&&typeof gs.get=="function"?gs.get:null,Fc=ds&&Set.prototype.forEach,dy=typeof WeakMap=="function"&&WeakMap.prototype,Dn=dy?WeakMap.prototype.has:null,gy=typeof WeakSet=="function"&&WeakSet.prototype,In=gy?WeakSet.prototype.has:null,yy=typeof WeakRef=="function"&&WeakRef.prototype,Wc=yy?WeakRef.prototype.deref:null,vy=Boolean.prototype.valueOf,my=Object.prototype.toString,by=Function.prototype.toString,wy=String.prototype.match,ys=String.prototype.slice,Jt=String.prototype.replace,$y=String.prototype.toUpperCase,zc=String.prototype.toLowerCase,qc=RegExp.prototype.test,Gc=Array.prototype.concat,_t=Array.prototype.join,xy=Array.prototype.slice,Vc=Math.floor,vs=typeof BigInt=="function"?BigInt.prototype.valueOf:null,ms=Object.getOwnPropertySymbols,bs=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Symbol.prototype.toString:null,Vr=typeof Symbol=="function"&&typeof Symbol.iterator=="object",Ke=typeof Symbol=="function"&&Symbol.toStringTag&&(typeof Symbol.toStringTag===Vr||!0)?Symbol.toStringTag:null,Kc=Object.prototype.propertyIsEnumerable,Yc=(typeof Reflect=="function"?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(t){return t.__proto__}:null);function Jc(t,e){if(t===1/0||t===-1/0||t!==t||t&&t>-1e3&&t<1e3||qc.call(/e/,e))return e;var r=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if(typeof t=="number"){var n=t<0?-Vc(-t):Vc(t);if(n!==t){var i=String(n),o=ys.call(e,i.length+1);return Jt.call(i,r,"$&_")+"."+Jt.call(Jt.call(o,/([0-9]{3})/g,"$&_"),/_$/,"")}}return Jt.call(e,r,"$&_")}var ws=hy,Xc=ws.custom,Zc=tu(Xc)?Xc:null,Sy=function t(e,r,n,i){var o=r||{};if(Xt(o,"quoteStyle")&&o.quoteStyle!=="single"&&o.quoteStyle!=="double")throw new TypeError('option "quoteStyle" must be "single" or "double"');if(Xt(o,"maxStringLength")&&(typeof o.maxStringLength=="number"?o.maxStringLength<0&&o.maxStringLength!==1/0:o.maxStringLength!==null))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var s=Xt(o,"customInspect")?o.customInspect:!0;if(typeof s!="boolean"&&s!=="symbol")throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(Xt(o,"indent")&&o.indent!==null&&o.indent!==" "&&!(parseInt(o.indent,10)===o.indent&&o.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(Xt(o,"numericSeparator")&&typeof o.numericSeparator!="boolean")throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var l=o.numericSeparator;if(typeof e>"u")return"undefined";if(e===null)return"null";if(typeof e=="boolean")return e?"true":"false";if(typeof e=="string")return nu(e,o);if(typeof e=="number"){if(e===0)return 1/0/e>0?"0":"-0";var a=String(e);return l?Jc(e,a):a}if(typeof e=="bigint"){var u=String(e)+"n";return l?Jc(e,u):u}var h=typeof o.depth>"u"?5:o.depth;if(typeof n>"u"&&(n=0),n>=h&&h>0&&typeof e=="object")return $s(e)?"[Array]":"[Object]";var d=Uy(o,n);if(typeof i>"u")i=[];else if(ru(i,e)>=0)return"[Circular]";function m(et,R,M){if(R&&(i=xy.call(i),i.push(R)),M){var E={depth:o.depth};return Xt(o,"quoteStyle")&&(E.quoteStyle=o.quoteStyle),t(et,E,n+1,i)}return t(et,o,n+1,i)}if(typeof e=="function"&&!eu(e)){var v=Ly(e),S=Oi(e,m);return"[Function"+(v?": "+v:" (anonymous)")+"]"+(S.length>0?" { "+_t.call(S,", ")+" }":"")}if(tu(e)){var _=Vr?Jt.call(String(e),/^(Symbol\(.*\))_[^)]*$/,"$1"):bs.call(e);return typeof e=="object"&&!Vr?jn(_):_}if(By(e)){for(var I="<"+zc.call(String(e.nodeName)),j=e.attributes||[],H=0;H<j.length;H++)I+=" "+j[H].name+"="+Qc(Ay(j[H].value),"double",o);return I+=">",e.childNodes&&e.childNodes.length&&(I+="..."),I+="</"+zc.call(String(e.nodeName))+">",I}if($s(e)){if(e.length===0)return"[]";var W=Oi(e,m);return d&&!Hy(W)?"["+Ss(W,d)+"]":"[ "+_t.call(W,", ")+" ]"}if(Ey(e)){var Z=Oi(e,m);return!("cause"in Error.prototype)&&"cause"in e&&!Kc.call(e,"cause")?"{ ["+String(e)+"] "+_t.call(Gc.call("[cause]: "+m(e.cause),Z),", ")+" }":Z.length===0?"["+String(e)+"]":"{ ["+String(e)+"] "+_t.call(Z,", ")+" }"}if(typeof e=="object"&&s){if(Zc&&typeof e[Zc]=="function"&&ws)return ws(e,{depth:h-n});if(s!=="symbol"&&typeof e.inspect=="function")return e.inspect()}if(Ty(e)){var z=[];return Uc&&Uc.call(e,function(et,R){z.push(m(R,e,!0)+" => "+m(et,e))}),iu("Map",Mi.call(e),z,d)}if(Iy(e)){var U=[];return Fc&&Fc.call(e,function(et){U.push(m(et,e))}),iu("Set",Pi.call(e),U,d)}if(Ry(e))return xs("WeakMap");if(jy(e))return xs("WeakSet");if(Dy(e))return xs("WeakRef");if(Py(e))return jn(m(Number(e)));if(Cy(e))return jn(m(vs.call(e)));if(Oy(e))return jn(vy.call(e));if(My(e))return jn(m(String(e)));if(typeof window<"u"&&e===window)return"{ [object Window] }";if(e===Ve)return"{ [object globalThis] }";if(!_y(e)&&!eu(e)){var ee=Oi(e,m),oe=Yc?Yc(e)===Object.prototype:e instanceof Object||e.constructor===Object,we=e instanceof Object?"":"null prototype",de=!oe&&Ke&&Object(e)===e&&Ke in e?ys.call(Zt(e),8,-1):we?"Object":"",ne=oe||typeof e.constructor!="function"?"":e.constructor.name?e.constructor.name+" ":"",Ne=ne+(de||we?"["+_t.call(Gc.call([],de||[],we||[]),": ")+"] ":"");return ee.length===0?Ne+"{}":d?Ne+"{"+Ss(ee,d)+"}":Ne+"{ "+_t.call(ee,", ")+" }"}return String(e)};function Qc(t,e,r){var n=(r.quoteStyle||e)==="double"?'"':"'";return n+t+n}function Ay(t){return Jt.call(String(t),/"/g,"&quot;")}function $s(t){return Zt(t)==="[object Array]"&&(!Ke||!(typeof t=="object"&&Ke in t))}function _y(t){return Zt(t)==="[object Date]"&&(!Ke||!(typeof t=="object"&&Ke in t))}function eu(t){return Zt(t)==="[object RegExp]"&&(!Ke||!(typeof t=="object"&&Ke in t))}function Ey(t){return Zt(t)==="[object Error]"&&(!Ke||!(typeof t=="object"&&Ke in t))}function My(t){return Zt(t)==="[object String]"&&(!Ke||!(typeof t=="object"&&Ke in t))}function Py(t){return Zt(t)==="[object Number]"&&(!Ke||!(typeof t=="object"&&Ke in t))}function Oy(t){return Zt(t)==="[object Boolean]"&&(!Ke||!(typeof t=="object"&&Ke in t))}function tu(t){if(Vr)return t&&typeof t=="object"&&t instanceof Symbol;if(typeof t=="symbol")return!0;if(!t||typeof t!="object"||!bs)return!1;try{return bs.call(t),!0}catch{}return!1}function Cy(t){if(!t||typeof t!="object"||!vs)return!1;try{return vs.call(t),!0}catch{}return!1}var ky=Object.prototype.hasOwnProperty||function(t){return t in this};function Xt(t,e){return ky.call(t,e)}function Zt(t){return my.call(t)}function Ly(t){if(t.name)return t.name;var e=wy.call(by.call(t),/^function\s*([\w$]+)/);return e?e[1]:null}function ru(t,e){if(t.indexOf)return t.indexOf(e);for(var r=0,n=t.length;r<n;r++)if(t[r]===e)return r;return-1}function Ty(t){if(!Mi||!t||typeof t!="object")return!1;try{Mi.call(t);try{Pi.call(t)}catch{return!0}return t instanceof Map}catch{}return!1}function Ry(t){if(!Dn||!t||typeof t!="object")return!1;try{Dn.call(t,Dn);try{In.call(t,In)}catch{return!0}return t instanceof WeakMap}catch{}return!1}function Dy(t){if(!Wc||!t||typeof t!="object")return!1;try{return Wc.call(t),!0}catch{}return!1}function Iy(t){if(!Pi||!t||typeof t!="object")return!1;try{Pi.call(t);try{Mi.call(t)}catch{return!0}return t instanceof Set}catch{}return!1}function jy(t){if(!In||!t||typeof t!="object")return!1;try{In.call(t,In);try{Dn.call(t,Dn)}catch{return!0}return t instanceof WeakSet}catch{}return!1}function By(t){return!t||typeof t!="object"?!1:typeof HTMLElement<"u"&&t instanceof HTMLElement?!0:typeof t.nodeName=="string"&&typeof t.getAttribute=="function"}function nu(t,e){if(t.length>e.maxStringLength){var r=t.length-e.maxStringLength,n="... "+r+" more character"+(r>1?"s":"");return nu(ys.call(t,0,e.maxStringLength),e)+n}var i=Jt.call(Jt.call(t,/(['\\])/g,"\\$1"),/[\x00-\x1f]/g,Ny);return Qc(i,"single",e)}function Ny(t){var e=t.charCodeAt(0),r={8:"b",9:"t",10:"n",12:"f",13:"r"}[e];return r?"\\"+r:"\\x"+(e<16?"0":"")+$y.call(e.toString(16))}function jn(t){return"Object("+t+")"}function xs(t){return t+" { ? }"}function iu(t,e,r,n){var i=n?Ss(r,n):_t.call(r,", ");return t+" ("+e+") {"+i+"}"}function Hy(t){for(var e=0;e<t.length;e++)if(ru(t[e],`
504
+ `}}oo=new WeakSet,Rp=function(r){this.dispatchEvent(new CustomEvent("details-toggled",{detail:r,bubbles:!0,composed:!0}))},customElements.define("eox-itemfilter-expandcontainer",fh);const Ho=Math.min,jr=Math.max,hi=Math.round,di=Math.floor,qt=t=>({x:t,y:t});function Al(t){return t.split("-")[0]}function ph(t){return t.split("-")[1]}function hh(t){return t==="x"?"y":"x"}function dh(t){return t==="y"?"height":"width"}function _l(t){return["top","bottom"].includes(Al(t))?"y":"x"}function gh(t){return hh(_l(t))}function El(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 Ml(t,e,r){let{reference:n,floating:i}=t;const o=_l(e),s=gh(e),l=dh(s),a=Al(e),u=o==="y",h=n.x+n.width/2-i.width/2,d=n.y+n.height/2-i.height/2,m=n[l]/2-i[l]/2;let v;switch(a){case"top":v={x:h,y:n.y-i.height};break;case"bottom":v={x:h,y:n.y+n.height};break;case"right":v={x:n.x+n.width,y:d};break;case"left":v={x:n.x-i.width,y:d};break;default:v={x:n.x,y:n.y}}switch(ph(e)){case"start":v[s]-=m*(r&&u?-1:1);break;case"end":v[s]+=m*(r&&u?-1:1);break}return v}const yh=async(t,e,r)=>{const{placement:n="bottom",strategy:i="absolute",middleware:o=[],platform:s}=r,l=o.filter(Boolean),a=await(s.isRTL==null?void 0:s.isRTL(e));let u=await s.getElementRects({reference:t,floating:e,strategy:i}),{x:h,y:d}=Ml(u,n,a),m=n,v={},S=0;for(let _=0;_<l.length;_++){const{name:D,fn:j}=l[_],{x:H,y:W,data:Z,reset:z}=await j({x:h,y:d,initialPlacement:n,placement:m,strategy:i,middlewareData:v,rects:u,platform:s,elements:{reference:t,floating:e}});h=H??h,d=W??d,v={...v,[D]:{...v[D],...Z}},z&&S<=50&&(S++,typeof z=="object"&&(z.placement&&(m=z.placement),z.rects&&(u=z.rects===!0?await s.getElementRects({reference:t,floating:e,strategy:i}):z.rects),{x:h,y:d}=Ml(u,m,a)),_=-1)}return{x:h,y:d,placement:m,strategy:i,middlewareData:v}};function Br(t){return Pl(t)?(t.nodeName||"").toLowerCase():"#document"}function ot(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function Rt(t){var e;return(e=(Pl(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function Pl(t){return t instanceof Node||t instanceof ot(t).Node}function gt(t){return t instanceof Element||t instanceof ot(t).Element}function xt(t){return t instanceof HTMLElement||t instanceof ot(t).HTMLElement}function Ol(t){return typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof ot(t).ShadowRoot}function On(t){const{overflow:e,overflowX:r,overflowY:n,display:i}=yt(t);return/auto|scroll|overlay|hidden|clip/.test(e+n+r)&&!["inline","contents"].includes(i)}function vh(t){return["table","td","th"].includes(Br(t))}function gi(t){return[":popover-open",":modal"].some(e=>{try{return t.matches(e)}catch{return!1}})}function Uo(t){const e=Fo(),r=gt(t)?yt(t):t;return r.transform!=="none"||r.perspective!=="none"||(r.containerType?r.containerType!=="normal":!1)||!e&&(r.backdropFilter?r.backdropFilter!=="none":!1)||!e&&(r.filter?r.filter!=="none":!1)||["transform","perspective","filter"].some(n=>(r.willChange||"").includes(n))||["paint","layout","strict","content"].some(n=>(r.contain||"").includes(n))}function mh(t){let e=Gt(t);for(;xt(e)&&!Nr(e);){if(Uo(e))return e;if(gi(e))return null;e=Gt(e)}return null}function Fo(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function Nr(t){return["html","body","#document"].includes(Br(t))}function yt(t){return ot(t).getComputedStyle(t)}function yi(t){return gt(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.scrollX,scrollTop:t.scrollY}}function Gt(t){if(Br(t)==="html")return t;const e=t.assignedSlot||t.parentNode||Ol(t)&&t.host||Rt(t);return Ol(e)?e.host:e}function Cl(t){const e=Gt(t);return Nr(e)?t.ownerDocument?t.ownerDocument.body:t.body:xt(e)&&On(e)?e:Cl(e)}function Cn(t,e,r){var n;e===void 0&&(e=[]),r===void 0&&(r=!0);const i=Cl(t),o=i===((n=t.ownerDocument)==null?void 0:n.body),s=ot(i);return o?e.concat(s,s.visualViewport||[],On(i)?i:[],s.frameElement&&r?Cn(s.frameElement):[]):e.concat(i,Cn(i,[],r))}function kl(t){const e=yt(t);let r=parseFloat(e.width)||0,n=parseFloat(e.height)||0;const i=xt(t),o=i?t.offsetWidth:r,s=i?t.offsetHeight:n,l=hi(r)!==o||hi(n)!==s;return l&&(r=o,n=s),{width:r,height:n,$:l}}function Wo(t){return gt(t)?t:t.contextElement}function Hr(t){const e=Wo(t);if(!xt(e))return qt(1);const r=e.getBoundingClientRect(),{width:n,height:i,$:o}=kl(e);let s=(o?hi(r.width):r.width)/n,l=(o?hi(r.height):r.height)/i;return(!s||!Number.isFinite(s))&&(s=1),(!l||!Number.isFinite(l))&&(l=1),{x:s,y:l}}const bh=qt(0);function Ll(t){const e=ot(t);return!Fo()||!e.visualViewport?bh:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function wh(t,e,r){return e===void 0&&(e=!1),!r||e&&r!==ot(t)?!1:e}function pr(t,e,r,n){e===void 0&&(e=!1),r===void 0&&(r=!1);const i=t.getBoundingClientRect(),o=Wo(t);let s=qt(1);e&&(n?gt(n)&&(s=Hr(n)):s=Hr(t));const l=wh(o,r,n)?Ll(o):qt(0);let a=(i.left+l.x)/s.x,u=(i.top+l.y)/s.y,h=i.width/s.x,d=i.height/s.y;if(o){const m=ot(o),v=n&&gt(n)?ot(n):n;let S=m,_=S.frameElement;for(;_&&n&&v!==S;){const D=Hr(_),j=_.getBoundingClientRect(),H=yt(_),W=j.left+(_.clientLeft+parseFloat(H.paddingLeft))*D.x,Z=j.top+(_.clientTop+parseFloat(H.paddingTop))*D.y;a*=D.x,u*=D.y,h*=D.x,d*=D.y,a+=W,u+=Z,S=ot(_),_=S.frameElement}}return El({width:h,height:d,x:a,y:u})}function $h(t){let{elements:e,rect:r,offsetParent:n,strategy:i}=t;const o=i==="fixed",s=Rt(n),l=e?gi(e.floating):!1;if(n===s||l&&o)return r;let a={scrollLeft:0,scrollTop:0},u=qt(1);const h=qt(0),d=xt(n);if((d||!d&&!o)&&((Br(n)!=="body"||On(s))&&(a=yi(n)),xt(n))){const m=pr(n);u=Hr(n),h.x=m.x+n.clientLeft,h.y=m.y+n.clientTop}return{width:r.width*u.x,height:r.height*u.y,x:r.x*u.x-a.scrollLeft*u.x+h.x,y:r.y*u.y-a.scrollTop*u.y+h.y}}function xh(t){return Array.from(t.getClientRects())}function Tl(t){return pr(Rt(t)).left+yi(t).scrollLeft}function Sh(t){const e=Rt(t),r=yi(t),n=t.ownerDocument.body,i=jr(e.scrollWidth,e.clientWidth,n.scrollWidth,n.clientWidth),o=jr(e.scrollHeight,e.clientHeight,n.scrollHeight,n.clientHeight);let s=-r.scrollLeft+Tl(t);const l=-r.scrollTop;return yt(n).direction==="rtl"&&(s+=jr(e.clientWidth,n.clientWidth)-i),{width:i,height:o,x:s,y:l}}function Ah(t,e){const r=ot(t),n=Rt(t),i=r.visualViewport;let o=n.clientWidth,s=n.clientHeight,l=0,a=0;if(i){o=i.width,s=i.height;const u=Fo();(!u||u&&e==="fixed")&&(l=i.offsetLeft,a=i.offsetTop)}return{width:o,height:s,x:l,y:a}}function _h(t,e){const r=pr(t,!0,e==="fixed"),n=r.top+t.clientTop,i=r.left+t.clientLeft,o=xt(t)?Hr(t):qt(1),s=t.clientWidth*o.x,l=t.clientHeight*o.y,a=i*o.x,u=n*o.y;return{width:s,height:l,x:a,y:u}}function Rl(t,e,r){let n;if(e==="viewport")n=Ah(t,r);else if(e==="document")n=Sh(Rt(t));else if(gt(e))n=_h(e,r);else{const i=Ll(t);n={...e,x:e.x-i.x,y:e.y-i.y}}return El(n)}function Il(t,e){const r=Gt(t);return r===e||!gt(r)||Nr(r)?!1:yt(r).position==="fixed"||Il(r,e)}function Eh(t,e){const r=e.get(t);if(r)return r;let n=Cn(t,[],!1).filter(l=>gt(l)&&Br(l)!=="body"),i=null;const o=yt(t).position==="fixed";let s=o?Gt(t):t;for(;gt(s)&&!Nr(s);){const l=yt(s),a=Uo(s);!a&&l.position==="fixed"&&(i=null),(o?!a&&!i:!a&&l.position==="static"&&!!i&&["absolute","fixed"].includes(i.position)||On(s)&&!a&&Il(t,s))?n=n.filter(h=>h!==s):i=l,s=Gt(s)}return e.set(t,n),n}function Mh(t){let{element:e,boundary:r,rootBoundary:n,strategy:i}=t;const s=[...r==="clippingAncestors"?gi(e)?[]:Eh(e,this._c):[].concat(r),n],l=s[0],a=s.reduce((u,h)=>{const d=Rl(e,h,i);return u.top=jr(d.top,u.top),u.right=Ho(d.right,u.right),u.bottom=Ho(d.bottom,u.bottom),u.left=jr(d.left,u.left),u},Rl(e,l,i));return{width:a.right-a.left,height:a.bottom-a.top,x:a.left,y:a.top}}function Ph(t){const{width:e,height:r}=kl(t);return{width:e,height:r}}function Oh(t,e,r){const n=xt(e),i=Rt(e),o=r==="fixed",s=pr(t,!0,o,e);let l={scrollLeft:0,scrollTop:0};const a=qt(0);if(n||!n&&!o)if((Br(e)!=="body"||On(i))&&(l=yi(e)),n){const d=pr(e,!0,o,e);a.x=d.x+e.clientLeft,a.y=d.y+e.clientTop}else i&&(a.x=Tl(i));const u=s.left+l.scrollLeft-a.x,h=s.top+l.scrollTop-a.y;return{x:u,y:h,width:s.width,height:s.height}}function zo(t){return yt(t).position==="static"}function Dl(t,e){return!xt(t)||yt(t).position==="fixed"?null:e?e(t):t.offsetParent}function jl(t,e){const r=ot(t);if(gi(t))return r;if(!xt(t)){let i=Gt(t);for(;i&&!Nr(i);){if(gt(i)&&!zo(i))return i;i=Gt(i)}return r}let n=Dl(t,e);for(;n&&vh(n)&&zo(n);)n=Dl(n,e);return n&&Nr(n)&&zo(n)&&!Uo(n)?r:n||mh(t)||r}const Ch=async function(t){const e=this.getOffsetParent||jl,r=this.getDimensions,n=await r(t.floating);return{reference:Oh(t.reference,await e(t.floating),t.strategy),floating:{x:0,y:0,width:n.width,height:n.height}}};function kh(t){return yt(t).direction==="rtl"}const Lh={convertOffsetParentRelativeRectToViewportRelativeRect:$h,getDocumentElement:Rt,getClippingRect:Mh,getOffsetParent:jl,getElementRects:Ch,getClientRects:xh,getDimensions:Ph,getScale:Hr,isElement:gt,isRTL:kh};function Th(t,e){let r=null,n;const i=Rt(t);function o(){var l;clearTimeout(n),(l=r)==null||l.disconnect(),r=null}function s(l,a){l===void 0&&(l=!1),a===void 0&&(a=1),o();const{left:u,top:h,width:d,height:m}=t.getBoundingClientRect();if(l||e(),!d||!m)return;const v=di(h),S=di(i.clientWidth-(u+d)),_=di(i.clientHeight-(h+m)),D=di(u),H={rootMargin:-v+"px "+-S+"px "+-_+"px "+-D+"px",threshold:jr(0,Ho(1,a))||1};let W=!0;function Z(z){const U=z[0].intersectionRatio;if(U!==a){if(!W)return s();U?s(!1,U):n=setTimeout(()=>{s(!1,1e-7)},1e3)}W=!1}try{r=new IntersectionObserver(Z,{...H,root:i.ownerDocument})}catch{r=new IntersectionObserver(Z,H)}r.observe(t)}return s(!0),o}function Rh(t,e,r,n){n===void 0&&(n={});const{ancestorScroll:i=!0,ancestorResize:o=!0,elementResize:s=typeof ResizeObserver=="function",layoutShift:l=typeof IntersectionObserver=="function",animationFrame:a=!1}=n,u=Wo(t),h=i||o?[...u?Cn(u):[],...Cn(e)]:[];h.forEach(j=>{i&&j.addEventListener("scroll",r,{passive:!0}),o&&j.addEventListener("resize",r)});const d=u&&l?Th(u,r):null;let m=-1,v=null;s&&(v=new ResizeObserver(j=>{let[H]=j;H&&H.target===u&&v&&(v.unobserve(e),cancelAnimationFrame(m),m=requestAnimationFrame(()=>{var W;(W=v)==null||W.observe(e)})),r()}),u&&!a&&v.observe(u),v.observe(e));let S,_=a?pr(t):null;a&&D();function D(){const j=pr(t);_&&(j.x!==_.x||j.y!==_.y||j.width!==_.width||j.height!==_.height)&&r(),_=j,S=requestAnimationFrame(D)}return r(),()=>{var j;h.forEach(H=>{i&&H.removeEventListener("scroll",r),o&&H.removeEventListener("resize",r)}),d==null||d(),(j=v)==null||j.disconnect(),v=null,a&&cancelAnimationFrame(S)}}const Ih=(t,e,r)=>{const n=new Map,i={platform:Lh,...r},o={...i.platform,_c:n};return yh(t,e,{...i,platform:o})};function It(t){return Array.isArray?Array.isArray(t):Hl(t)==="[object Array]"}const Dh=1/0;function jh(t){if(typeof t=="string")return t;let e=t+"";return e=="0"&&1/t==-Dh?"-0":e}function Bh(t){return t==null?"":jh(t)}function St(t){return typeof t=="string"}function Bl(t){return typeof t=="number"}function Nh(t){return t===!0||t===!1||Hh(t)&&Hl(t)=="[object Boolean]"}function Nl(t){return typeof t=="object"}function Hh(t){return Nl(t)&&t!==null}function st(t){return t!=null}function qo(t){return!t.trim().length}function Hl(t){return t==null?t===void 0?"[object Undefined]":"[object Null]":Object.prototype.toString.call(t)}const _1="Extended search is not available",Uh="Incorrect 'index' type",Fh=t=>`Invalid value for key ${t}`,Wh=t=>`Pattern length exceeds max of ${t}.`,zh=t=>`Missing ${t} property in key`,qh=t=>`Property 'weight' in key '${t}' must be a positive integer`,Ul=Object.prototype.hasOwnProperty;class Gh{constructor(e){this._keys=[],this._keyMap={};let r=0;e.forEach(n=>{let i=Fl(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 Fl(t){let e=null,r=null,n=null,i=1,o=null;if(St(t)||It(t))n=t,e=Wl(t),r=Go(t);else{if(!Ul.call(t,"name"))throw new Error(zh("name"));const s=t.name;if(n=s,Ul.call(t,"weight")&&(i=t.weight,i<=0))throw new Error(qh(s));e=Wl(s),r=Go(s),o=t.getFn}return{path:e,id:r,weight:i,src:n,getFn:o}}function Wl(t){return It(t)?t:t.split(".")}function Go(t){return It(t)?t.join("."):t}function Vh(t,e){let r=[],n=!1;const i=(o,s,l)=>{if(st(o))if(!s[l])r.push(o);else{let a=s[l];const u=o[a];if(!st(u))return;if(l===s.length-1&&(St(u)||Bl(u)||Nh(u)))r.push(Bh(u));else if(It(u)){n=!0;for(let h=0,d=u.length;h<d;h+=1)i(u[h],s,l+1)}else s.length&&i(u,s,l+1)}};return i(t,St(e)?e.split("."):e,0),n?r:r[0]}var K={...{isCaseSensitive:!1,includeScore:!1,keys:[],shouldSort:!0,sortFn:(t,e)=>t.score===e.score?t.idx<e.idx?-1:1:t.score<e.score?-1:1},...{includeMatches:!1,findAllMatches:!1,minMatchCharLength:1},...{location:0,threshold:.6,distance:100},...{useExtendedSearch:!1,getFn:Vh,ignoreLocation:!1,ignoreFieldNorm:!1,fieldNormWeight:1}};const Kh=/[^ ]+/g;function Yh(t=1,e=3){const r=new Map,n=Math.pow(10,e);return{get(i){const o=i.match(Kh).length;if(r.has(o))return r.get(o);const s=1/Math.pow(o,.5*t),l=parseFloat(Math.round(s*n)/n);return r.set(o,l),l},clear(){r.clear()}}}class Vo{constructor({getFn:e=K.getFn,fieldNormWeight:r=K.fieldNormWeight}={}){this.norm=Yh(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,St(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();St(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)||qo(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,o)=>{let s=i.getFn?i.getFn(e):this.getFn(e,i.path);if(st(s)){if(It(s)){let l=[];const a=[{nestedArrIndex:-1,value:s}];for(;a.length;){const{nestedArrIndex:u,value:h}=a.pop();if(st(h))if(St(h)&&!qo(h)){let d={v:h,i:u,n:this.norm.get(h)};l.push(d)}else It(h)&&h.forEach((d,m)=>{a.push({nestedArrIndex:m,value:d})})}n.$[o]=l}else if(St(s)&&!qo(s)){let l={v:s,n:this.norm.get(s)};n.$[o]=l}}}),this.records.push(n)}toJSON(){return{keys:this.keys,records:this.records}}}function zl(t,e,{getFn:r=K.getFn,fieldNormWeight:n=K.fieldNormWeight}={}){const i=new Vo({getFn:r,fieldNormWeight:n});return i.setKeys(t.map(Fl)),i.setSources(e),i.create(),i}function Jh(t,{getFn:e=K.getFn,fieldNormWeight:r=K.fieldNormWeight}={}){const{keys:n,records:i}=t,o=new Vo({getFn:e,fieldNormWeight:r});return o.setKeys(n),o.setIndexRecords(i),o}function vi(t,{errors:e=0,currentLocation:r=0,expectedLocation:n=0,distance:i=K.distance,ignoreLocation:o=K.ignoreLocation}={}){const s=e/t.length;if(o)return s;const l=Math.abs(n-r);return i?s+l/i:l?1:s}function Xh(t=[],e=K.minMatchCharLength){let r=[],n=-1,i=-1,o=0;for(let s=t.length;o<s;o+=1){let l=t[o];l&&n===-1?n=o:!l&&n!==-1&&(i=o-1,i-n+1>=e&&r.push([n,i]),n=-1)}return t[o-1]&&o-n>=e&&r.push([n,o-1]),r}const hr=32;function Zh(t,e,r,{location:n=K.location,distance:i=K.distance,threshold:o=K.threshold,findAllMatches:s=K.findAllMatches,minMatchCharLength:l=K.minMatchCharLength,includeMatches:a=K.includeMatches,ignoreLocation:u=K.ignoreLocation}={}){if(e.length>hr)throw new Error(Wh(hr));const h=e.length,d=t.length,m=Math.max(0,Math.min(n,d));let v=o,S=m;const _=l>1||a,D=_?Array(d):[];let j;for(;(j=t.indexOf(e,S))>-1;){let ee=vi(e,{currentLocation:j,expectedLocation:m,distance:i,ignoreLocation:u});if(v=Math.min(ee,v),S=j+h,_){let oe=0;for(;oe<h;)D[j+oe]=1,oe+=1}}S=-1;let H=[],W=1,Z=h+d;const z=1<<h-1;for(let ee=0;ee<h;ee+=1){let oe=0,we=Z;for(;oe<we;)vi(e,{errors:ee,currentLocation:m+we,expectedLocation:m,distance:i,ignoreLocation:u})<=v?oe=we:Z=we,we=Math.floor((Z-oe)/2+oe);Z=we;let de=Math.max(1,m-we+1),ne=s?d:Math.min(m+we,d)+h,Ne=Array(ne+2);Ne[ne+1]=(1<<ee)-1;for(let R=ne;R>=de;R-=1){let M=R-1,E=r[t.charAt(M)];if(_&&(D[M]=+!!E),Ne[R]=(Ne[R+1]<<1|1)&E,ee&&(Ne[R]|=(H[R+1]|H[R])<<1|1|H[R+1]),Ne[R]&z&&(W=vi(e,{errors:ee,currentLocation:M,expectedLocation:m,distance:i,ignoreLocation:u}),W<=v)){if(v=W,S=M,S<=m)break;de=Math.max(1,2*m-S)}}if(vi(e,{errors:ee+1,currentLocation:m,expectedLocation:m,distance:i,ignoreLocation:u})>v)break;H=Ne}const U={isMatch:S>=0,score:Math.max(.001,W)};if(_){const ee=Xh(D,l);ee.length?a&&(U.indices=ee):U.isMatch=!1}return U}function Qh(t){let e={};for(let r=0,n=t.length;r<n;r+=1){const i=t.charAt(r);e[i]=(e[i]||0)|1<<n-r-1}return e}class ql{constructor(e,{location:r=K.location,threshold:n=K.threshold,distance:i=K.distance,includeMatches:o=K.includeMatches,findAllMatches:s=K.findAllMatches,minMatchCharLength:l=K.minMatchCharLength,isCaseSensitive:a=K.isCaseSensitive,ignoreLocation:u=K.ignoreLocation}={}){if(this.options={location:r,threshold:n,distance:i,includeMatches:o,findAllMatches:s,minMatchCharLength:l,isCaseSensitive:a,ignoreLocation:u},this.pattern=a?e:e.toLowerCase(),this.chunks=[],!this.pattern.length)return;const h=(m,v)=>{this.chunks.push({pattern:m,alphabet:Qh(m),startIndex:v})},d=this.pattern.length;if(d>hr){let m=0;const v=d%hr,S=d-v;for(;m<S;)h(this.pattern.substr(m,hr),m),m+=hr;if(v){const _=d-hr;h(this.pattern.substr(_),_)}}else h(this.pattern,0)}searchIn(e){const{isCaseSensitive:r,includeMatches:n}=this.options;if(r||(e=e.toLowerCase()),this.pattern===e){let S={isMatch:!0,score:0};return n&&(S.indices=[[0,e.length-1]]),S}const{location:i,distance:o,threshold:s,findAllMatches:l,minMatchCharLength:a,ignoreLocation:u}=this.options;let h=[],d=0,m=!1;this.chunks.forEach(({pattern:S,alphabet:_,startIndex:D})=>{const{isMatch:j,score:H,indices:W}=Zh(e,S,_,{location:i+D,distance:o,threshold:s,findAllMatches:l,minMatchCharLength:a,includeMatches:n,ignoreLocation:u});j&&(m=!0),d+=H,j&&W&&(h=[...h,...W])});let v={isMatch:m,score:m?d/this.chunks.length:1};return m&&n&&(v.indices=h),v}}class Vt{constructor(e){this.pattern=e}static isMultiMatch(e){return Gl(e,this.multiRegex)}static isSingleMatch(e){return Gl(e,this.singleRegex)}search(){}}function Gl(t,e){const r=t.match(e);return r?r[1]:null}class ed extends Vt{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 td extends Vt{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 rd extends Vt{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 nd extends Vt{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 id extends Vt{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 od extends Vt{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 Vl extends Vt{constructor(e,{location:r=K.location,threshold:n=K.threshold,distance:i=K.distance,includeMatches:o=K.includeMatches,findAllMatches:s=K.findAllMatches,minMatchCharLength:l=K.minMatchCharLength,isCaseSensitive:a=K.isCaseSensitive,ignoreLocation:u=K.ignoreLocation}={}){super(e),this._bitapSearch=new ql(e,{location:r,threshold:n,distance:i,includeMatches:o,findAllMatches:s,minMatchCharLength:l,isCaseSensitive:a,ignoreLocation:u})}static get type(){return"fuzzy"}static get multiRegex(){return/^"(.*)"$/}static get singleRegex(){return/^(.*)$/}search(e){return this._bitapSearch.searchIn(e)}}class Kl extends Vt{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=[],o=this.pattern.length;for(;(n=e.indexOf(this.pattern,r))>-1;)r=n+o,i.push([n,r-1]);const s=!!i.length;return{isMatch:s,score:s?0:1,indices:i}}}const Ko=[ed,Kl,rd,nd,od,id,td,Vl],Yl=Ko.length,sd=/ +(?=(?:[^\"]*\"[^\"]*\")*[^\"]*$)/,ad="|";function ld(t,e={}){return t.split(ad).map(r=>{let n=r.trim().split(sd).filter(o=>o&&!!o.trim()),i=[];for(let o=0,s=n.length;o<s;o+=1){const l=n[o];let a=!1,u=-1;for(;!a&&++u<Yl;){const h=Ko[u];let d=h.isMultiMatch(l);d&&(i.push(new h(d,e)),a=!0)}if(!a)for(u=-1;++u<Yl;){const h=Ko[u];let d=h.isSingleMatch(l);if(d){i.push(new h(d,e));break}}}return i})}const cd=new Set([Vl.type,Kl.type]);class ud{constructor(e,{isCaseSensitive:r=K.isCaseSensitive,includeMatches:n=K.includeMatches,minMatchCharLength:i=K.minMatchCharLength,ignoreLocation:o=K.ignoreLocation,findAllMatches:s=K.findAllMatches,location:l=K.location,threshold:a=K.threshold,distance:u=K.distance}={}){this.query=null,this.options={isCaseSensitive:r,includeMatches:n,minMatchCharLength:i,findAllMatches:s,ignoreLocation:o,location:l,threshold:a,distance:u},this.pattern=r?e:e.toLowerCase(),this.query=ld(this.pattern,this.options)}static condition(e,r){return r.useExtendedSearch}searchIn(e){const r=this.query;if(!r)return{isMatch:!1,score:1};const{includeMatches:n,isCaseSensitive:i}=this.options;e=i?e:e.toLowerCase();let o=0,s=[],l=0;for(let a=0,u=r.length;a<u;a+=1){const h=r[a];s.length=0,o=0;for(let d=0,m=h.length;d<m;d+=1){const v=h[d],{isMatch:S,indices:_,score:D}=v.search(e);if(S){if(o+=1,l+=D,n){const j=v.constructor.type;cd.has(j)?s=[...s,..._]:s.push(_)}}else{l=0,o=0,s.length=0;break}}if(o){let d={isMatch:!0,score:l/o};return n&&(d.indices=s),d}}return{isMatch:!1,score:1}}}const Yo=[];function fd(...t){Yo.push(...t)}function Jo(t,e){for(let r=0,n=Yo.length;r<n;r+=1){let i=Yo[r];if(i.condition(t,e))return new i(t,e)}return new ql(t,e)}const mi={AND:"$and",OR:"$or"},Xo={PATH:"$path",PATTERN:"$val"},Zo=t=>!!(t[mi.AND]||t[mi.OR]),pd=t=>!!t[Xo.PATH],hd=t=>!It(t)&&Nl(t)&&!Zo(t),Jl=t=>({[mi.AND]:Object.keys(t).map(e=>({[e]:t[e]}))});function Xl(t,e,{auto:r=!0}={}){const n=i=>{let o=Object.keys(i);const s=pd(i);if(!s&&o.length>1&&!Zo(i))return n(Jl(i));if(hd(i)){const a=s?i[Xo.PATH]:o[0],u=s?i[Xo.PATTERN]:i[a];if(!St(u))throw new Error(Fh(a));const h={keyId:Go(a),pattern:u};return r&&(h.searcher=Jo(u,e)),h}let l={children:[],operator:o[0]};return o.forEach(a=>{const u=i[a];It(u)&&u.forEach(h=>{l.children.push(n(h))})}),l};return Zo(t)||(t=Jl(t)),n(t)}function dd(t,{ignoreFieldNorm:e=K.ignoreFieldNorm}){t.forEach(r=>{let n=1;r.matches.forEach(({key:i,norm:o,score:s})=>{const l=i?i.weight:null;n*=Math.pow(s===0&&l?Number.EPSILON:s,(l||1)*(e?1:o))}),r.score=n})}function gd(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:o}=n;let s={indices:i,value:o};n.key&&(s.key=n.key.src),n.idx>-1&&(s.refIndex=n.idx),e.matches.push(s)})}function yd(t,e){e.score=t.score}function vd(t,e,{includeMatches:r=K.includeMatches,includeScore:n=K.includeScore}={}){const i=[];return r&&i.push(gd),n&&i.push(yd),t.map(o=>{const{idx:s}=o,l={item:e[s],refIndex:s};return i.length&&i.forEach(a=>{a(o,l)}),l})}class Kt{constructor(e,r={},n){this.options={...K,...r},this.options.useExtendedSearch,this._keyStore=new Gh(this.options.keys),this.setCollection(e,n)}setCollection(e,r){if(this._docs=e,r&&!(r instanceof Vo))throw new Error(Uh);this._myIndex=r||zl(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 o=this._docs[n];e(o,n)&&(this.removeAt(n),n-=1,i-=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:n,includeScore:i,shouldSort:o,sortFn:s,ignoreFieldNorm:l}=this.options;let a=St(e)?St(this._docs[0])?this._searchStringList(e):this._searchObjectList(e):this._searchLogical(e);return dd(a,{ignoreFieldNorm:l}),o&&a.sort(s),Bl(r)&&r>-1&&(a=a.slice(0,r)),vd(a,this._docs,{includeMatches:n,includeScore:i})}_searchStringList(e){const r=Jo(e,this.options),{records:n}=this._myIndex,i=[];return n.forEach(({v:o,i:s,n:l})=>{if(!st(o))return;const{isMatch:a,score:u,indices:h}=r.searchIn(o);a&&i.push({item:o,idx:s,matches:[{score:u,value:o,norm:l,indices:h}]})}),i}_searchLogical(e){const r=Xl(e,this.options),n=(l,a,u)=>{if(!l.children){const{keyId:d,searcher:m}=l,v=this._findMatches({key:this._keyStore.get(d),value:this._myIndex.getValueForItemAtKeyId(a,d),searcher:m});return v&&v.length?[{idx:u,item:a,matches:v}]:[]}const h=[];for(let d=0,m=l.children.length;d<m;d+=1){const v=l.children[d],S=n(v,a,u);if(S.length)h.push(...S);else if(l.operator===mi.AND)return[]}return h},i=this._myIndex.records,o={},s=[];return i.forEach(({$:l,i:a})=>{if(st(l)){let u=n(r,l,a);u.length&&(o[a]||(o[a]={idx:a,item:l,matches:[]},s.push(o[a])),u.forEach(({matches:h})=>{o[a].matches.push(...h)}))}}),s}_searchObjectList(e){const r=Jo(e,this.options),{keys:n,records:i}=this._myIndex,o=[];return i.forEach(({$:s,i:l})=>{if(!st(s))return;let a=[];n.forEach((u,h)=>{a.push(...this._findMatches({key:u,value:s[h],searcher:r}))}),a.length&&o.push({idx:l,item:s,matches:a})}),o}_findMatches({key:e,value:r,searcher:n}){if(!st(r))return[];let i=[];if(It(r))r.forEach(({v:o,i:s,n:l})=>{if(!st(o))return;const{isMatch:a,score:u,indices:h}=n.searchIn(o);a&&i.push({score:u,key:e,value:o,idx:s,norm:l,indices:h})});else{const{v:o,n:s}=r,{isMatch:l,score:a,indices:u}=n.searchIn(o);l&&i.push({score:a,key:e,value:o,norm:s,indices:u})}return i}}Kt.version="7.0.0",Kt.createIndex=zl,Kt.parseIndex=Jh,Kt.config=K,Kt.parseQuery=Xl,fd(ud);function Zl(t,e){const r=new Kt(e.filterProperties,{keys:["title"]}),n=t.target.value,o=r.search(n).map(s=>s.item.key||s.item.keys.join("|"));Object.keys(e.filters).forEach(s=>{e.querySelector(`[data-details="${s}"]`).parentElement.style.display=o.includes(s)||!n?"":"none"})}function md(t,e){const r=t.target.getAttribute("data-close").replace("|","-");e.querySelector(`#filter-${r}`).reset(),e.dispatchEvent(new CustomEvent("filter")),e.requestUpdate()}function Ql(t){t.renderRoot.querySelector("#eox-itemfilter-input-search").value="",Zl({target:{value:""}},t)}function bd(t,e){e.inlineMode&&t.stopPropagation()}function wd(t){t.inlineMode&&(t.showDropdown=!0)}function $d(t,e){e.inlineMode&&(t.stopPropagation(),e.showDropdown=!0)}function xd(t,e){e.inlineMode&&t.key==="Escape"&&e.showDropdown&&(Ql(e),e.showDropdown=!1)}function Sd(t,e){e.inlineMode&&t.target.tagName!=="DROPDOWN-FORM"&&t.target.tagName!=="EOX-ITEMFILTER"&&e.showDropdown&&(Ql(e),e.showDropdown=!1)}function Ad(t,e){var r=0,n=0,i=0,o=0,s=0,l=0,a=0,u=0,h=null,d=null,m=t[0],v=t[1],S=e.length;for(r;r<S;r++){n=0;var _=e[r].length-1,D=e[r];if(h=D[0],h[0]!==D[_][0]&&h[1]!==D[_][1])throw new Error("First and last coordinates in a ring must be the same");for(s=h[0]-m,l=h[1]-v,n;n<_;n++){if(d=D[n+1],u=d[1]-v,l<0&&u<0||l>0&&u>0){h=d,l=u,s=h[0]-m;continue}if(a=d[0]-t[0],u>0&&l<=0){if(o=s*u-a*l,o>0)i=i+1;else if(o===0)return 0}else if(l>0&&u<=0){if(o=s*u-a*l,o<0)i=i+1;else if(o===0)return 0}else if(u===0&&l<0){if(o=s*u-a*l,o===0)return 0}else if(l===0&&u<0){if(o=s*u-a*l,o===0)return 0}else if(l===0&&u===0){if(a<=0&&s>=0)return 0;if(s<=0&&a>=0)return 0}h=d,l=u,s=a}}return i%2!==0}var Ve=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function kn(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}function _d(t){if(t.__esModule)return t;var e=t.default;if(typeof e=="function"){var r=function n(){return this instanceof n?Reflect.construct(e,arguments,this.constructor):e.apply(this,arguments)};r.prototype=e.prototype}else r={};return Object.defineProperty(r,"__esModule",{value:!0}),Object.keys(t).forEach(function(n){var i=Object.getOwnPropertyDescriptor(t,n);Object.defineProperty(r,n,i.get?i:{enumerable:!0,get:function(){return t[n]}})}),r}var ec=Object.prototype.toString,tc=function(e){var r=ec.call(e),n=r==="[object Arguments]";return n||(n=r!=="[object Array]"&&e!==null&&typeof e=="object"&&typeof e.length=="number"&&e.length>=0&&ec.call(e.callee)==="[object Function]"),n},Qo,rc;function Ed(){if(rc)return Qo;rc=1;var t;if(!Object.keys){var e=Object.prototype.hasOwnProperty,r=Object.prototype.toString,n=tc,i=Object.prototype.propertyIsEnumerable,o=!i.call({toString:null},"toString"),s=i.call(function(){},"prototype"),l=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],a=function(m){var v=m.constructor;return v&&v.prototype===m},u={$applicationCache:!0,$console:!0,$external:!0,$frame:!0,$frameElement:!0,$frames:!0,$innerHeight:!0,$innerWidth:!0,$onmozfullscreenchange:!0,$onmozfullscreenerror:!0,$outerHeight:!0,$outerWidth:!0,$pageXOffset:!0,$pageYOffset:!0,$parent:!0,$scrollLeft:!0,$scrollTop:!0,$scrollX:!0,$scrollY:!0,$self:!0,$webkitIndexedDB:!0,$webkitStorageInfo:!0,$window:!0},h=function(){if(typeof window>"u")return!1;for(var m in window)try{if(!u["$"+m]&&e.call(window,m)&&window[m]!==null&&typeof window[m]=="object")try{a(window[m])}catch{return!0}}catch{return!0}return!1}(),d=function(m){if(typeof window>"u"||!h)return a(m);try{return a(m)}catch{return!1}};t=function(v){var S=v!==null&&typeof v=="object",_=r.call(v)==="[object Function]",D=n(v),j=S&&r.call(v)==="[object String]",H=[];if(!S&&!_&&!D)throw new TypeError("Object.keys called on a non-object");var W=s&&_;if(j&&v.length>0&&!e.call(v,0))for(var Z=0;Z<v.length;++Z)H.push(String(Z));if(D&&v.length>0)for(var z=0;z<v.length;++z)H.push(String(z));else for(var U in v)!(W&&U==="prototype")&&e.call(v,U)&&H.push(String(U));if(o)for(var ee=d(v),oe=0;oe<l.length;++oe)!(ee&&l[oe]==="constructor")&&e.call(v,l[oe])&&H.push(l[oe]);return H}}return Qo=t,Qo}var Md=Array.prototype.slice,Pd=tc,nc=Object.keys,bi=nc?function(e){return nc(e)}:Ed(),ic=Object.keys;bi.shim=function(){if(Object.keys){var e=function(){var r=Object.keys(arguments);return r&&r.length===arguments.length}(1,2);e||(Object.keys=function(n){return Pd(n)?ic(Md.call(n)):ic(n)})}else Object.keys=bi;return Object.keys||bi};var es=bi,Od=Error,Cd=EvalError,kd=RangeError,Ld=ReferenceError,oc=SyntaxError,Yt=TypeError,Td=URIError,wi=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var e={},r=Symbol("test"),n=Object(r);if(typeof r=="string"||Object.prototype.toString.call(r)!=="[object Symbol]"||Object.prototype.toString.call(n)!=="[object Symbol]")return!1;var i=42;e[r]=i;for(r in e)return!1;if(typeof Object.keys=="function"&&Object.keys(e).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(e).length!==0)return!1;var o=Object.getOwnPropertySymbols(e);if(o.length!==1||o[0]!==r||!Object.prototype.propertyIsEnumerable.call(e,r))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var s=Object.getOwnPropertyDescriptor(e,r);if(s.value!==i||s.enumerable!==!0)return!1}return!0},sc=typeof Symbol<"u"&&Symbol,Rd=wi,ts=function(){return typeof sc!="function"||typeof Symbol!="function"||typeof sc("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:Rd()},ac={foo:{}},Id=Object,Dd=function(){return{__proto__:ac}.foo===ac.foo&&!({__proto__:null}instanceof Id)},jd="Function.prototype.bind called on incompatible ",Bd=Object.prototype.toString,Nd=Math.max,Hd="[object Function]",lc=function(e,r){for(var n=[],i=0;i<e.length;i+=1)n[i]=e[i];for(var o=0;o<r.length;o+=1)n[o+e.length]=r[o];return n},Ud=function(e,r){for(var n=[],i=r||0,o=0;i<e.length;i+=1,o+=1)n[o]=e[i];return n},Fd=function(t,e){for(var r="",n=0;n<t.length;n+=1)r+=t[n],n+1<t.length&&(r+=e);return r},Wd=function(e){var r=this;if(typeof r!="function"||Bd.apply(r)!==Hd)throw new TypeError(jd+r);for(var n=Ud(arguments,1),i,o=function(){if(this instanceof i){var h=r.apply(this,lc(n,arguments));return Object(h)===h?h:this}return r.apply(e,lc(n,arguments))},s=Nd(0,r.length-n.length),l=[],a=0;a<s;a++)l[a]="$"+a;if(i=Function("binder","return function ("+Fd(l,",")+"){ return binder.apply(this,arguments); }")(o),r.prototype){var u=function(){};u.prototype=r.prototype,i.prototype=new u,u.prototype=null}return i},zd=Wd,rs=Function.prototype.bind||zd,qd=Function.prototype.call,Gd=Object.prototype.hasOwnProperty,Vd=rs,cc=Vd.call(qd,Gd),le,Kd=Od,Yd=Cd,Jd=kd,Xd=Ld,Ur=oc,Fr=Yt,Zd=Td,uc=Function,ns=function(t){try{return uc('"use strict"; return ('+t+").constructor;")()}catch{}},dr=Object.getOwnPropertyDescriptor;if(dr)try{dr({},"")}catch{dr=null}var is=function(){throw new Fr},Qd=dr?function(){try{return arguments.callee,is}catch{try{return dr(arguments,"callee").get}catch{return is}}}():is,Wr=ts(),eg=Dd(),Ue=Object.getPrototypeOf||(eg?function(t){return t.__proto__}:null),zr={},tg=typeof Uint8Array>"u"||!Ue?le:Ue(Uint8Array),gr={__proto__:null,"%AggregateError%":typeof AggregateError>"u"?le:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?le:ArrayBuffer,"%ArrayIteratorPrototype%":Wr&&Ue?Ue([][Symbol.iterator]()):le,"%AsyncFromSyncIteratorPrototype%":le,"%AsyncFunction%":zr,"%AsyncGenerator%":zr,"%AsyncGeneratorFunction%":zr,"%AsyncIteratorPrototype%":zr,"%Atomics%":typeof Atomics>"u"?le:Atomics,"%BigInt%":typeof BigInt>"u"?le:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?le:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?le:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?le:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Kd,"%eval%":eval,"%EvalError%":Yd,"%Float32Array%":typeof Float32Array>"u"?le:Float32Array,"%Float64Array%":typeof Float64Array>"u"?le:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?le:FinalizationRegistry,"%Function%":uc,"%GeneratorFunction%":zr,"%Int8Array%":typeof Int8Array>"u"?le:Int8Array,"%Int16Array%":typeof Int16Array>"u"?le:Int16Array,"%Int32Array%":typeof Int32Array>"u"?le:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":Wr&&Ue?Ue(Ue([][Symbol.iterator]())):le,"%JSON%":typeof JSON=="object"?JSON:le,"%Map%":typeof Map>"u"?le:Map,"%MapIteratorPrototype%":typeof Map>"u"||!Wr||!Ue?le:Ue(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?le:Promise,"%Proxy%":typeof Proxy>"u"?le:Proxy,"%RangeError%":Jd,"%ReferenceError%":Xd,"%Reflect%":typeof Reflect>"u"?le:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?le:Set,"%SetIteratorPrototype%":typeof Set>"u"||!Wr||!Ue?le:Ue(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?le:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":Wr&&Ue?Ue(""[Symbol.iterator]()):le,"%Symbol%":Wr?Symbol:le,"%SyntaxError%":Ur,"%ThrowTypeError%":Qd,"%TypedArray%":tg,"%TypeError%":Fr,"%Uint8Array%":typeof Uint8Array>"u"?le:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?le:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?le:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?le:Uint32Array,"%URIError%":Zd,"%WeakMap%":typeof WeakMap>"u"?le:WeakMap,"%WeakRef%":typeof WeakRef>"u"?le:WeakRef,"%WeakSet%":typeof WeakSet>"u"?le:WeakSet};if(Ue)try{null.error}catch(t){var rg=Ue(Ue(t));gr["%Error.prototype%"]=rg}var ng=function t(e){var r;if(e==="%AsyncFunction%")r=ns("async function () {}");else if(e==="%GeneratorFunction%")r=ns("function* () {}");else if(e==="%AsyncGeneratorFunction%")r=ns("async function* () {}");else if(e==="%AsyncGenerator%"){var n=t("%AsyncGeneratorFunction%");n&&(r=n.prototype)}else if(e==="%AsyncIteratorPrototype%"){var i=t("%AsyncGenerator%");i&&Ue&&(r=Ue(i.prototype))}return gr[e]=r,r},fc={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},Ln=rs,$i=cc,ig=Ln.call(Function.call,Array.prototype.concat),og=Ln.call(Function.apply,Array.prototype.splice),pc=Ln.call(Function.call,String.prototype.replace),xi=Ln.call(Function.call,String.prototype.slice),sg=Ln.call(Function.call,RegExp.prototype.exec),ag=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,lg=/\\(\\)?/g,cg=function(e){var r=xi(e,0,1),n=xi(e,-1);if(r==="%"&&n!=="%")throw new Ur("invalid intrinsic syntax, expected closing `%`");if(n==="%"&&r!=="%")throw new Ur("invalid intrinsic syntax, expected opening `%`");var i=[];return pc(e,ag,function(o,s,l,a){i[i.length]=l?pc(a,lg,"$1"):s||o}),i},ug=function(e,r){var n=e,i;if($i(fc,n)&&(i=fc[n],n="%"+i[0]+"%"),$i(gr,n)){var o=gr[n];if(o===zr&&(o=ng(n)),typeof o>"u"&&!r)throw new Fr("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:i,name:n,value:o}}throw new Ur("intrinsic "+e+" does not exist!")},At=function(e,r){if(typeof e!="string"||e.length===0)throw new Fr("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof r!="boolean")throw new Fr('"allowMissing" argument must be a boolean');if(sg(/^%?[^%]*%?$/,e)===null)throw new Ur("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var n=cg(e),i=n.length>0?n[0]:"",o=ug("%"+i+"%",r),s=o.name,l=o.value,a=!1,u=o.alias;u&&(i=u[0],og(n,ig([0,1],u)));for(var h=1,d=!0;h<n.length;h+=1){var m=n[h],v=xi(m,0,1),S=xi(m,-1);if((v==='"'||v==="'"||v==="`"||S==='"'||S==="'"||S==="`")&&v!==S)throw new Ur("property names with quotes must have matching quotes");if((m==="constructor"||!d)&&(a=!0),i+="."+m,s="%"+i+"%",$i(gr,s))l=gr[s];else if(l!=null){if(!(m in l)){if(!r)throw new Fr("base intrinsic for "+e+" exists, but the property is not available.");return}if(dr&&h+1>=n.length){var _=dr(l,m);d=!!_,d&&"get"in _&&!("originalValue"in _.get)?l=_.get:l=l[m]}else d=$i(l,m),l=l[m];d&&!a&&(gr[s]=l)}}return l},fg=At,Si=fg("%Object.defineProperty%",!0)||!1;if(Si)try{Si({},"a",{value:1})}catch{Si=!1}var os=Si,pg=At,Ai=pg("%Object.getOwnPropertyDescriptor%",!0);if(Ai)try{Ai([],"length")}catch{Ai=null}var ss=Ai,hc=os,hg=oc,qr=Yt,dc=ss,as=function(e,r,n){if(!e||typeof e!="object"&&typeof e!="function")throw new qr("`obj` must be an object or a function`");if(typeof r!="string"&&typeof r!="symbol")throw new qr("`property` must be a string or a symbol`");if(arguments.length>3&&typeof arguments[3]!="boolean"&&arguments[3]!==null)throw new qr("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&typeof arguments[4]!="boolean"&&arguments[4]!==null)throw new qr("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&typeof arguments[5]!="boolean"&&arguments[5]!==null)throw new qr("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&typeof arguments[6]!="boolean")throw new qr("`loose`, if provided, must be a boolean");var i=arguments.length>3?arguments[3]:null,o=arguments.length>4?arguments[4]:null,s=arguments.length>5?arguments[5]:null,l=arguments.length>6?arguments[6]:!1,a=!!dc&&dc(e,r);if(hc)hc(e,r,{configurable:s===null&&a?a.configurable:!s,enumerable:i===null&&a?a.enumerable:!i,value:n,writable:o===null&&a?a.writable:!o});else if(l||!i&&!o&&!s)e[r]=n;else throw new hg("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.")},ls=os,gc=function(){return!!ls};gc.hasArrayLengthDefineBug=function(){if(!ls)return null;try{return ls([],"length",{value:1}).length!==1}catch{return!0}};var cs=gc,dg=es,gg=typeof Symbol=="function"&&typeof Symbol("foo")=="symbol",yg=Object.prototype.toString,vg=Array.prototype.concat,yc=as,mg=function(t){return typeof t=="function"&&yg.call(t)==="[object Function]"},vc=cs(),bg=function(t,e,r,n){if(e in t){if(n===!0){if(t[e]===r)return}else if(!mg(n)||!n())return}vc?yc(t,e,r,!0):yc(t,e,r)},mc=function(t,e){var r=arguments.length>2?arguments[2]:{},n=dg(e);gg&&(n=vg.call(n,Object.getOwnPropertySymbols(e)));for(var i=0;i<n.length;i+=1)bg(t,n[i],e[n[i]],r[n[i]])};mc.supportsDescriptors=!!vc;var yr=mc,bc={exports:{}},wg=At,wc=as,$g=cs(),$c=ss,xc=Yt,xg=wg("%Math.floor%"),Sg=function(e,r){if(typeof e!="function")throw new xc("`fn` is not a function");if(typeof r!="number"||r<0||r>4294967295||xg(r)!==r)throw new xc("`length` must be a positive 32-bit integer");var n=arguments.length>2&&!!arguments[2],i=!0,o=!0;if("length"in e&&$c){var s=$c(e,"length");s&&!s.configurable&&(i=!1),s&&!s.writable&&(o=!1)}return(i||o||!n)&&($g?wc(e,"length",r,!0,!0):wc(e,"length",r)),e};(function(t){var e=rs,r=At,n=Sg,i=Yt,o=r("%Function.prototype.apply%"),s=r("%Function.prototype.call%"),l=r("%Reflect.apply%",!0)||e.call(s,o),a=os,u=r("%Math.max%");t.exports=function(m){if(typeof m!="function")throw new i("a function is required");var v=l(e,s,arguments);return n(v,1+u(0,m.length-(arguments.length-1)),!0)};var h=function(){return l(e,o,arguments)};a?a(t.exports,"apply",{value:h}):t.exports.apply=h})(bc);var Gr=bc.exports,Sc=At,Ac=Gr,Ag=Ac(Sc("String.prototype.indexOf")),ft=function(e,r){var n=Sc(e,!!r);return typeof n=="function"&&Ag(e,".prototype.")>-1?Ac(n):n},_g=es,_c=wi(),Ec=ft,Mc=Object,Eg=Ec("Array.prototype.push"),Pc=Ec("Object.prototype.propertyIsEnumerable"),Mg=_c?Object.getOwnPropertySymbols:null,Oc=function(e,r){if(e==null)throw new TypeError("target must be an object");var n=Mc(e);if(arguments.length===1)return n;for(var i=1;i<arguments.length;++i){var o=Mc(arguments[i]),s=_g(o),l=_c&&(Object.getOwnPropertySymbols||Mg);if(l)for(var a=l(o),u=0;u<a.length;++u){var h=a[u];Pc(o,h)&&Eg(s,h)}for(var d=0;d<s.length;++d){var m=s[d];if(Pc(o,m)){var v=o[m];n[m]=v}}}return n},us=Oc,Pg=function(){if(!Object.assign)return!1;for(var t="abcdefghijklmnopqrst",e=t.split(""),r={},n=0;n<e.length;++n)r[e[n]]=e[n];var i=Object.assign({},r),o="";for(var s in i)o+=s;return t!==o},Og=function(){if(!Object.assign||!Object.preventExtensions)return!1;var t=Object.preventExtensions({1:2});try{Object.assign(t,"xy")}catch{return t[1]==="y"}return!1},Cc=function(){return!Object.assign||Pg()||Og()?us:Object.assign},Cg=yr,kg=Cc,Lg=function(){var e=kg();return Cg(Object,{assign:e},{assign:function(){return Object.assign!==e}}),e},Tg=yr,Rg=Gr,Ig=Oc,kc=Cc,Dg=Lg,jg=Rg.apply(kc()),Lc=function(e,r){return jg(Object,arguments)};Tg(Lc,{getPolyfill:kc,implementation:Ig,shim:Dg});var Bg=Lc,Tn=function(){return typeof(function(){}).name=="string"},Rn=Object.getOwnPropertyDescriptor;if(Rn)try{Rn([],"length")}catch{Rn=null}Tn.functionsHaveConfigurableNames=function(){if(!Tn()||!Rn)return!1;var e=Rn(function(){},"name");return!!e&&!!e.configurable};var Ng=Function.prototype.bind;Tn.boundFunctionsHaveNames=function(){return Tn()&&typeof Ng=="function"&&(function(){}).bind().name!==""};var Hg=Tn,Tc=as,Ug=cs(),Fg=Hg.functionsHaveConfigurableNames(),Wg=Yt,zg=function(e,r){if(typeof e!="function")throw new Wg("`fn` is not a function");var n=arguments.length>2&&!!arguments[2];return(!n||Fg)&&(Ug?Tc(e,"name",r,!0,!0):Tc(e,"name",r)),e},qg=zg,Gg=Yt,Vg=Object,Rc=qg(function(){if(this==null||this!==Vg(this))throw new Gg("RegExp.prototype.flags getter called on non-object");var e="";return this.hasIndices&&(e+="d"),this.global&&(e+="g"),this.ignoreCase&&(e+="i"),this.multiline&&(e+="m"),this.dotAll&&(e+="s"),this.unicode&&(e+="u"),this.unicodeSets&&(e+="v"),this.sticky&&(e+="y"),e},"get flags",!0),Kg=Rc,Yg=yr.supportsDescriptors,Jg=Object.getOwnPropertyDescriptor,Ic=function(){if(Yg&&/a/mig.flags==="gim"){var e=Jg(RegExp.prototype,"flags");if(e&&typeof e.get=="function"&&typeof RegExp.prototype.dotAll=="boolean"&&typeof RegExp.prototype.hasIndices=="boolean"){var r="",n={};if(Object.defineProperty(n,"hasIndices",{get:function(){r+="d"}}),Object.defineProperty(n,"sticky",{get:function(){r+="y"}}),r==="dy")return e.get}}return Kg},Xg=yr.supportsDescriptors,Zg=Ic,Qg=Object.getOwnPropertyDescriptor,ey=Object.defineProperty,ty=TypeError,Dc=Object.getPrototypeOf,ry=/a/,ny=function(){if(!Xg||!Dc)throw new ty("RegExp.prototype.flags requires a true ES5 environment that supports property descriptors");var e=Zg(),r=Dc(ry),n=Qg(r,"flags");return(!n||n.get!==e)&&ey(r,"flags",{configurable:!0,enumerable:!1,get:e}),e},iy=yr,oy=Gr,sy=Rc,jc=Ic,ay=ny,Bc=oy(jc());iy(Bc,{getPolyfill:jc,implementation:sy,shim:ay});var ly=Bc,_i={exports:{}},cy=wi,vr=function(){return cy()&&!!Symbol.toStringTag},uy=vr(),fy=ft,fs=fy("Object.prototype.toString"),Ei=function(e){return uy&&e&&typeof e=="object"&&Symbol.toStringTag in e?!1:fs(e)==="[object Arguments]"},Nc=function(e){return Ei(e)?!0:e!==null&&typeof e=="object"&&typeof e.length=="number"&&e.length>=0&&fs(e)!=="[object Array]"&&fs(e.callee)==="[object Function]"},py=function(){return Ei(arguments)}();Ei.isLegacyArguments=Nc;var Hc=py?Ei:Nc;const hy=_d(Object.freeze(Object.defineProperty({__proto__:null,default:{}},Symbol.toStringTag,{value:"Module"})));var ps=typeof Map=="function"&&Map.prototype,hs=Object.getOwnPropertyDescriptor&&ps?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,Mi=ps&&hs&&typeof hs.get=="function"?hs.get:null,Uc=ps&&Map.prototype.forEach,ds=typeof Set=="function"&&Set.prototype,gs=Object.getOwnPropertyDescriptor&&ds?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,Pi=ds&&gs&&typeof gs.get=="function"?gs.get:null,Fc=ds&&Set.prototype.forEach,dy=typeof WeakMap=="function"&&WeakMap.prototype,In=dy?WeakMap.prototype.has:null,gy=typeof WeakSet=="function"&&WeakSet.prototype,Dn=gy?WeakSet.prototype.has:null,yy=typeof WeakRef=="function"&&WeakRef.prototype,Wc=yy?WeakRef.prototype.deref:null,vy=Boolean.prototype.valueOf,my=Object.prototype.toString,by=Function.prototype.toString,wy=String.prototype.match,ys=String.prototype.slice,Jt=String.prototype.replace,$y=String.prototype.toUpperCase,zc=String.prototype.toLowerCase,qc=RegExp.prototype.test,Gc=Array.prototype.concat,_t=Array.prototype.join,xy=Array.prototype.slice,Vc=Math.floor,vs=typeof BigInt=="function"?BigInt.prototype.valueOf:null,ms=Object.getOwnPropertySymbols,bs=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Symbol.prototype.toString:null,Vr=typeof Symbol=="function"&&typeof Symbol.iterator=="object",Ke=typeof Symbol=="function"&&Symbol.toStringTag&&(typeof Symbol.toStringTag===Vr||!0)?Symbol.toStringTag:null,Kc=Object.prototype.propertyIsEnumerable,Yc=(typeof Reflect=="function"?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(t){return t.__proto__}:null);function Jc(t,e){if(t===1/0||t===-1/0||t!==t||t&&t>-1e3&&t<1e3||qc.call(/e/,e))return e;var r=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if(typeof t=="number"){var n=t<0?-Vc(-t):Vc(t);if(n!==t){var i=String(n),o=ys.call(e,i.length+1);return Jt.call(i,r,"$&_")+"."+Jt.call(Jt.call(o,/([0-9]{3})/g,"$&_"),/_$/,"")}}return Jt.call(e,r,"$&_")}var ws=hy,Xc=ws.custom,Zc=tu(Xc)?Xc:null,Sy=function t(e,r,n,i){var o=r||{};if(Xt(o,"quoteStyle")&&o.quoteStyle!=="single"&&o.quoteStyle!=="double")throw new TypeError('option "quoteStyle" must be "single" or "double"');if(Xt(o,"maxStringLength")&&(typeof o.maxStringLength=="number"?o.maxStringLength<0&&o.maxStringLength!==1/0:o.maxStringLength!==null))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var s=Xt(o,"customInspect")?o.customInspect:!0;if(typeof s!="boolean"&&s!=="symbol")throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(Xt(o,"indent")&&o.indent!==null&&o.indent!==" "&&!(parseInt(o.indent,10)===o.indent&&o.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(Xt(o,"numericSeparator")&&typeof o.numericSeparator!="boolean")throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var l=o.numericSeparator;if(typeof e>"u")return"undefined";if(e===null)return"null";if(typeof e=="boolean")return e?"true":"false";if(typeof e=="string")return nu(e,o);if(typeof e=="number"){if(e===0)return 1/0/e>0?"0":"-0";var a=String(e);return l?Jc(e,a):a}if(typeof e=="bigint"){var u=String(e)+"n";return l?Jc(e,u):u}var h=typeof o.depth>"u"?5:o.depth;if(typeof n>"u"&&(n=0),n>=h&&h>0&&typeof e=="object")return $s(e)?"[Array]":"[Object]";var d=Uy(o,n);if(typeof i>"u")i=[];else if(ru(i,e)>=0)return"[Circular]";function m(et,R,M){if(R&&(i=xy.call(i),i.push(R)),M){var E={depth:o.depth};return Xt(o,"quoteStyle")&&(E.quoteStyle=o.quoteStyle),t(et,E,n+1,i)}return t(et,o,n+1,i)}if(typeof e=="function"&&!eu(e)){var v=Ly(e),S=Oi(e,m);return"[Function"+(v?": "+v:" (anonymous)")+"]"+(S.length>0?" { "+_t.call(S,", ")+" }":"")}if(tu(e)){var _=Vr?Jt.call(String(e),/^(Symbol\(.*\))_[^)]*$/,"$1"):bs.call(e);return typeof e=="object"&&!Vr?jn(_):_}if(By(e)){for(var D="<"+zc.call(String(e.nodeName)),j=e.attributes||[],H=0;H<j.length;H++)D+=" "+j[H].name+"="+Qc(Ay(j[H].value),"double",o);return D+=">",e.childNodes&&e.childNodes.length&&(D+="..."),D+="</"+zc.call(String(e.nodeName))+">",D}if($s(e)){if(e.length===0)return"[]";var W=Oi(e,m);return d&&!Hy(W)?"["+Ss(W,d)+"]":"[ "+_t.call(W,", ")+" ]"}if(Ey(e)){var Z=Oi(e,m);return!("cause"in Error.prototype)&&"cause"in e&&!Kc.call(e,"cause")?"{ ["+String(e)+"] "+_t.call(Gc.call("[cause]: "+m(e.cause),Z),", ")+" }":Z.length===0?"["+String(e)+"]":"{ ["+String(e)+"] "+_t.call(Z,", ")+" }"}if(typeof e=="object"&&s){if(Zc&&typeof e[Zc]=="function"&&ws)return ws(e,{depth:h-n});if(s!=="symbol"&&typeof e.inspect=="function")return e.inspect()}if(Ty(e)){var z=[];return Uc&&Uc.call(e,function(et,R){z.push(m(R,e,!0)+" => "+m(et,e))}),iu("Map",Mi.call(e),z,d)}if(Dy(e)){var U=[];return Fc&&Fc.call(e,function(et){U.push(m(et,e))}),iu("Set",Pi.call(e),U,d)}if(Ry(e))return xs("WeakMap");if(jy(e))return xs("WeakSet");if(Iy(e))return xs("WeakRef");if(Py(e))return jn(m(Number(e)));if(Cy(e))return jn(m(vs.call(e)));if(Oy(e))return jn(vy.call(e));if(My(e))return jn(m(String(e)));if(typeof window<"u"&&e===window)return"{ [object Window] }";if(e===Ve)return"{ [object globalThis] }";if(!_y(e)&&!eu(e)){var ee=Oi(e,m),oe=Yc?Yc(e)===Object.prototype:e instanceof Object||e.constructor===Object,we=e instanceof Object?"":"null prototype",de=!oe&&Ke&&Object(e)===e&&Ke in e?ys.call(Zt(e),8,-1):we?"Object":"",ne=oe||typeof e.constructor!="function"?"":e.constructor.name?e.constructor.name+" ":"",Ne=ne+(de||we?"["+_t.call(Gc.call([],de||[],we||[]),": ")+"] ":"");return ee.length===0?Ne+"{}":d?Ne+"{"+Ss(ee,d)+"}":Ne+"{ "+_t.call(ee,", ")+" }"}return String(e)};function Qc(t,e,r){var n=(r.quoteStyle||e)==="double"?'"':"'";return n+t+n}function Ay(t){return Jt.call(String(t),/"/g,"&quot;")}function $s(t){return Zt(t)==="[object Array]"&&(!Ke||!(typeof t=="object"&&Ke in t))}function _y(t){return Zt(t)==="[object Date]"&&(!Ke||!(typeof t=="object"&&Ke in t))}function eu(t){return Zt(t)==="[object RegExp]"&&(!Ke||!(typeof t=="object"&&Ke in t))}function Ey(t){return Zt(t)==="[object Error]"&&(!Ke||!(typeof t=="object"&&Ke in t))}function My(t){return Zt(t)==="[object String]"&&(!Ke||!(typeof t=="object"&&Ke in t))}function Py(t){return Zt(t)==="[object Number]"&&(!Ke||!(typeof t=="object"&&Ke in t))}function Oy(t){return Zt(t)==="[object Boolean]"&&(!Ke||!(typeof t=="object"&&Ke in t))}function tu(t){if(Vr)return t&&typeof t=="object"&&t instanceof Symbol;if(typeof t=="symbol")return!0;if(!t||typeof t!="object"||!bs)return!1;try{return bs.call(t),!0}catch{}return!1}function Cy(t){if(!t||typeof t!="object"||!vs)return!1;try{return vs.call(t),!0}catch{}return!1}var ky=Object.prototype.hasOwnProperty||function(t){return t in this};function Xt(t,e){return ky.call(t,e)}function Zt(t){return my.call(t)}function Ly(t){if(t.name)return t.name;var e=wy.call(by.call(t),/^function\s*([\w$]+)/);return e?e[1]:null}function ru(t,e){if(t.indexOf)return t.indexOf(e);for(var r=0,n=t.length;r<n;r++)if(t[r]===e)return r;return-1}function Ty(t){if(!Mi||!t||typeof t!="object")return!1;try{Mi.call(t);try{Pi.call(t)}catch{return!0}return t instanceof Map}catch{}return!1}function Ry(t){if(!In||!t||typeof t!="object")return!1;try{In.call(t,In);try{Dn.call(t,Dn)}catch{return!0}return t instanceof WeakMap}catch{}return!1}function Iy(t){if(!Wc||!t||typeof t!="object")return!1;try{return Wc.call(t),!0}catch{}return!1}function Dy(t){if(!Pi||!t||typeof t!="object")return!1;try{Pi.call(t);try{Mi.call(t)}catch{return!0}return t instanceof Set}catch{}return!1}function jy(t){if(!Dn||!t||typeof t!="object")return!1;try{Dn.call(t,Dn);try{In.call(t,In)}catch{return!0}return t instanceof WeakSet}catch{}return!1}function By(t){return!t||typeof t!="object"?!1:typeof HTMLElement<"u"&&t instanceof HTMLElement?!0:typeof t.nodeName=="string"&&typeof t.getAttribute=="function"}function nu(t,e){if(t.length>e.maxStringLength){var r=t.length-e.maxStringLength,n="... "+r+" more character"+(r>1?"s":"");return nu(ys.call(t,0,e.maxStringLength),e)+n}var i=Jt.call(Jt.call(t,/(['\\])/g,"\\$1"),/[\x00-\x1f]/g,Ny);return Qc(i,"single",e)}function Ny(t){var e=t.charCodeAt(0),r={8:"b",9:"t",10:"n",12:"f",13:"r"}[e];return r?"\\"+r:"\\x"+(e<16?"0":"")+$y.call(e.toString(16))}function jn(t){return"Object("+t+")"}function xs(t){return t+" { ? }"}function iu(t,e,r,n){var i=n?Ss(r,n):_t.call(r,", ");return t+" ("+e+") {"+i+"}"}function Hy(t){for(var e=0;e<t.length;e++)if(ru(t[e],`
505
505
  `)>=0)return!1;return!0}function Uy(t,e){var r;if(t.indent===" ")r=" ";else if(typeof t.indent=="number"&&t.indent>0)r=_t.call(Array(t.indent+1)," ");else return null;return{base:r,prev:_t.call(Array(e+1),r)}}function Ss(t,e){if(t.length===0)return"";var r=`
506
506
  `+e.prev+e.base;return r+_t.call(t,","+r)+`
507
- `+e.prev}function Oi(t,e){var r=$s(t),n=[];if(r){n.length=t.length;for(var i=0;i<t.length;i++)n[i]=Xt(t,i)?e(t[i],t):""}var o=typeof ms=="function"?ms(t):[],s;if(Vr){s={};for(var l=0;l<o.length;l++)s["$"+o[l]]=o[l]}for(var a in t)Xt(t,a)&&(r&&String(Number(a))===a&&a<t.length||Vr&&s["$"+a]instanceof Symbol||(qc.call(/[^\w$]/,a)?n.push(e(a,t)+": "+e(t[a],t)):n.push(a+": "+e(t[a],t))));if(typeof ms=="function")for(var u=0;u<o.length;u++)Kc.call(t,o[u])&&n.push("["+e(o[u])+"]: "+e(t[o[u]],t));return n}var ou=At,Kr=ft,Fy=Sy,Wy=Yt,Ci=ou("%WeakMap%",!0),ki=ou("%Map%",!0),zy=Kr("WeakMap.prototype.get",!0),qy=Kr("WeakMap.prototype.set",!0),Gy=Kr("WeakMap.prototype.has",!0),Vy=Kr("Map.prototype.get",!0),Ky=Kr("Map.prototype.set",!0),Yy=Kr("Map.prototype.has",!0),As=function(t,e){for(var r=t,n;(n=r.next)!==null;r=n)if(n.key===e)return r.next=n.next,n.next=t.next,t.next=n,n},Jy=function(t,e){var r=As(t,e);return r&&r.value},Xy=function(t,e,r){var n=As(t,e);n?n.value=r:t.next={key:e,next:t.next,value:r}},Zy=function(t,e){return!!As(t,e)},su=function(){var e,r,n,i={assert:function(o){if(!i.has(o))throw new Wy("Side channel does not contain "+Fy(o))},get:function(o){if(Ci&&o&&(typeof o=="object"||typeof o=="function")){if(e)return zy(e,o)}else if(ki){if(r)return Vy(r,o)}else if(n)return Jy(n,o)},has:function(o){if(Ci&&o&&(typeof o=="object"||typeof o=="function")){if(e)return Gy(e,o)}else if(ki){if(r)return Yy(r,o)}else if(n)return Zy(n,o);return!1},set:function(o,s){Ci&&o&&(typeof o=="object"||typeof o=="function")?(e||(e=new Ci),qy(e,o,s)):ki?(r||(r=new ki),Ky(r,o,s)):(n||(n={key:{},next:null}),Xy(n,o,s))}};return i},Qy=cc,Bn=su(),It=Yt,_s={assert:function(t,e){if(!t||typeof t!="object"&&typeof t!="function")throw new It("`O` is not an object");if(typeof e!="string")throw new It("`slot` must be a string");if(Bn.assert(t),!_s.has(t,e))throw new It("`"+e+"` is not present on `O`")},get:function(t,e){if(!t||typeof t!="object"&&typeof t!="function")throw new It("`O` is not an object");if(typeof e!="string")throw new It("`slot` must be a string");var r=Bn.get(t);return r&&r["$"+e]},has:function(t,e){if(!t||typeof t!="object"&&typeof t!="function")throw new It("`O` is not an object");if(typeof e!="string")throw new It("`slot` must be a string");var r=Bn.get(t);return!!r&&Qy(r,"$"+e)},set:function(t,e,r){if(!t||typeof t!="object"&&typeof t!="function")throw new It("`O` is not an object");if(typeof e!="string")throw new It("`slot` must be a string");var n=Bn.get(t);n||(n={},Bn.set(t,n)),n["$"+e]=r}};Object.freeze&&Object.freeze(_s);var ev=_s,Nn=ev,tv=SyntaxError,au=typeof StopIteration=="object"?StopIteration:null,rv=function(e){if(!au)throw new tv("this environment lacks StopIteration");Nn.set(e,"[[Done]]",!1);var r={next:function(){var i=Nn.get(this,"[[Iterator]]"),o=Nn.get(i,"[[Done]]");try{return{done:o,value:o?void 0:i.next()}}catch(s){if(Nn.set(i,"[[Done]]",!0),s!==au)throw s;return{done:!0,value:void 0}}}};return Nn.set(r,"[[Iterator]]",e),r},Es,lu;function nv(){if(lu)return Es;lu=1;var t={}.toString;return Es=Array.isArray||function(e){return t.call(e)=="[object Array]"},Es}var iv=String.prototype.valueOf,ov=function(e){try{return iv.call(e),!0}catch{return!1}},sv=Object.prototype.toString,av="[object String]",lv=vr(),cu=function(e){return typeof e=="string"?!0:typeof e!="object"?!1:lv?ov(e):sv.call(e)===av},Ms=typeof Map=="function"&&Map.prototype?Map:null,cv=typeof Set=="function"&&Set.prototype?Set:null,Li;Ms||(Li=function(e){return!1});var uu=Ms?Map.prototype.has:null,fu=cv?Set.prototype.has:null;!Li&&!uu&&(Li=function(e){return!1});var pu=Li||function(e){if(!e||typeof e!="object")return!1;try{if(uu.call(e),fu)try{fu.call(e)}catch{return!0}return e instanceof Ms}catch{}return!1},uv=typeof Map=="function"&&Map.prototype?Map:null,Ps=typeof Set=="function"&&Set.prototype?Set:null,Ti;Ps||(Ti=function(e){return!1});var hu=uv?Map.prototype.has:null,du=Ps?Set.prototype.has:null;!Ti&&!du&&(Ti=function(e){return!1});var gu=Ti||function(e){if(!e||typeof e!="object")return!1;try{if(du.call(e),hu)try{hu.call(e)}catch{return!0}return e instanceof Ps}catch{}return!1},yu=Hc,vu=rv;if(ts()||wi()){var Os=Symbol.iterator;_i.exports=function(e){if(e!=null&&typeof e[Os]<"u")return e[Os]();if(yu(e))return Array.prototype[Os].call(e)}}else{var fv=nv(),pv=cu,mu=At,hv=mu("%Map%",!0),dv=mu("%Set%",!0),vt=ft,bu=vt("Array.prototype.push"),wu=vt("String.prototype.charCodeAt"),gv=vt("String.prototype.slice"),yv=function(e,r){var n=e.length;if(r+1>=n)return r+1;var i=wu(e,r);if(i<55296||i>56319)return r+1;var o=wu(e,r+1);return o<56320||o>57343?r+1:r+2},Cs=function(e){var r=0;return{next:function(){var i=r>=e.length,o;return i||(o=e[r],r+=1),{done:i,value:o}}}},$u=function(e,r){if(fv(e)||yu(e))return Cs(e);if(pv(e)){var n=0;return{next:function(){var o=yv(e,n),s=gv(e,n,o);return n=o,{done:o>e.length,value:s}}}}if(r&&typeof e["_es6-shim iterator_"]<"u")return e["_es6-shim iterator_"]()};if(!hv&&!dv)_i.exports=function(e){if(e!=null)return $u(e,!0)};else{var vv=pu,mv=gu,xu=vt("Map.prototype.forEach",!0),Su=vt("Set.prototype.forEach",!0);if(typeof process>"u"||!process.versions||!process.versions.node)var Au=vt("Map.prototype.iterator",!0),_u=vt("Set.prototype.iterator",!0);var Eu=vt("Map.prototype.@@iterator",!0)||vt("Map.prototype._es6-shim iterator_",!0),Mu=vt("Set.prototype.@@iterator",!0)||vt("Set.prototype._es6-shim iterator_",!0),bv=function(e){if(vv(e)){if(Au)return vu(Au(e));if(Eu)return Eu(e);if(xu){var r=[];return xu(e,function(i,o){bu(r,[o,i])}),Cs(r)}}if(mv(e)){if(_u)return vu(_u(e));if(Mu)return Mu(e);if(Su){var n=[];return Su(e,function(i){bu(n,i)}),Cs(n)}}};_i.exports=function(e){return bv(e)||$u(e)}}}var wv=_i.exports,Pu=function(t){return t!==t},Ou=function(e,r){return e===0&&r===0?1/e===1/r:!!(e===r||Pu(e)&&Pu(r))},$v=Ou,Cu=function(){return typeof Object.is=="function"?Object.is:$v},xv=Cu,Sv=yr,Av=function(){var e=xv();return Sv(Object,{is:e},{is:function(){return Object.is!==e}}),e},_v=yr,Ev=Gr,Mv=Ou,ku=Cu,Pv=Av,Lu=Ev(ku(),Object);_v(Lu,{getPolyfill:ku,implementation:Mv,shim:Pv});var Ov=Lu,Cv={}.toString,kv=Array.isArray||function(t){return Cv.call(t)=="[object Array]"},Lv=Gr,Tu=ft,Tv=At,ks=Tv("%ArrayBuffer%",!0),Ri=Tu("ArrayBuffer.prototype.byteLength",!0),Rv=Tu("Object.prototype.toString"),Ru=!!ks&&!Ri&&new ks(0).slice,Du=!!Ru&&Lv(Ru),Iu=Ri||Du?function(e){if(!e||typeof e!="object")return!1;try{return Ri?Ri(e):Du(e,0),!0}catch{return!1}}:ks?function(e){return Rv(e)==="[object ArrayBuffer]"}:function(e){return!1},Dv=Date.prototype.getDay,Iv=function(e){try{return Dv.call(e),!0}catch{return!1}},jv=Object.prototype.toString,Bv="[object Date]",Nv=vr(),Hv=function(e){return typeof e!="object"||e===null?!1:Nv?Iv(e):jv.call(e)===Bv},Ls=ft,ju=vr(),Bu,Nu,Ts,Rs;if(ju){Bu=Ls("Object.prototype.hasOwnProperty"),Nu=Ls("RegExp.prototype.exec"),Ts={};var Ds=function(){throw Ts};Rs={toString:Ds,valueOf:Ds},typeof Symbol.toPrimitive=="symbol"&&(Rs[Symbol.toPrimitive]=Ds)}var Uv=Ls("Object.prototype.toString"),Fv=Object.getOwnPropertyDescriptor,Wv="[object RegExp]",zv=ju?function(e){if(!e||typeof e!="object")return!1;var r=Fv(e,"lastIndex"),n=r&&Bu(r,"value");if(!n)return!1;try{Nu(e,Rs)}catch(i){return i===Ts}}:function(e){return!e||typeof e!="object"&&typeof e!="function"?!1:Uv(e)===Wv},qv=ft,Hu=qv("SharedArrayBuffer.prototype.byteLength",!0),Gv=Hu?function(e){if(!e||typeof e!="object")return!1;try{return Hu(e),!0}catch{return!1}}:function(e){return!1},Vv=Number.prototype.toString,Kv=function(e){try{return Vv.call(e),!0}catch{return!1}},Yv=Object.prototype.toString,Jv="[object Number]",Xv=vr(),Zv=function(e){return typeof e=="number"?!0:typeof e!="object"?!1:Xv?Kv(e):Yv.call(e)===Jv},Uu=ft,Qv=Uu("Boolean.prototype.toString"),em=Uu("Object.prototype.toString"),tm=function(e){try{return Qv(e),!0}catch{return!1}},rm="[object Boolean]",nm=vr(),im=function(e){return typeof e=="boolean"?!0:e===null||typeof e!="object"?!1:nm&&Symbol.toStringTag in e?tm(e):em(e)===rm},Is={exports:{}},om=Object.prototype.toString,sm=ts();if(sm){var am=Symbol.prototype.toString,lm=/^Symbol\(.*\)$/,cm=function(e){return typeof e.valueOf()!="symbol"?!1:lm.test(am.call(e))};Is.exports=function(e){if(typeof e=="symbol")return!0;if(om.call(e)!=="[object Symbol]")return!1;try{return cm(e)}catch{return!1}}}else Is.exports=function(e){return!1};var um=Is.exports,js={exports:{}},Fu=typeof BigInt<"u"&&BigInt,fm=function(){return typeof Fu=="function"&&typeof BigInt=="function"&&typeof Fu(42)=="bigint"&&typeof BigInt(42)=="bigint"},pm=fm();if(pm){var hm=BigInt.prototype.valueOf,dm=function(e){try{return hm.call(e),!0}catch{}return!1};js.exports=function(e){return e===null||typeof e>"u"||typeof e=="boolean"||typeof e=="string"||typeof e=="number"||typeof e=="symbol"||typeof e=="function"?!1:typeof e=="bigint"?!0:dm(e)}}else js.exports=function(e){return!1};var gm=js.exports,ym=cu,vm=Zv,mm=im,bm=um,wm=gm,$m=function(e){if(e==null||typeof e!="object"&&typeof e!="function")return null;if(ym(e))return"String";if(vm(e))return"Number";if(mm(e))return"Boolean";if(bm(e))return"Symbol";if(wm(e))return"BigInt"},Di=typeof WeakMap=="function"&&WeakMap.prototype?WeakMap:null,Wu=typeof WeakSet=="function"&&WeakSet.prototype?WeakSet:null,Ii;Di||(Ii=function(e){return!1});var Bs=Di?Di.prototype.has:null,Ns=Wu?Wu.prototype.has:null;!Ii&&!Bs&&(Ii=function(e){return!1});var xm=Ii||function(e){if(!e||typeof e!="object")return!1;try{if(Bs.call(e,Bs),Ns)try{Ns.call(e,Ns)}catch{return!0}return e instanceof Di}catch{}return!1},Hs={exports:{}},Sm=At,zu=ft,Am=Sm("%WeakSet%",!0),Us=zu("WeakSet.prototype.has",!0);if(Us){var Fs=zu("WeakMap.prototype.has",!0);Hs.exports=function(e){if(!e||typeof e!="object")return!1;try{if(Us(e,Us),Fs)try{Fs(e,Fs)}catch{return!0}return e instanceof Am}catch{}return!1}}else Hs.exports=function(e){return!1};var _m=Hs.exports,Em=pu,Mm=gu,Pm=xm,Om=_m,Cm=function(e){if(e&&typeof e=="object"){if(Em(e))return"Map";if(Mm(e))return"Set";if(Pm(e))return"WeakMap";if(Om(e))return"WeakSet"}return!1},qu=Function.prototype.toString,Yr=typeof Reflect=="object"&&Reflect!==null&&Reflect.apply,Ws,ji;if(typeof Yr=="function"&&typeof Object.defineProperty=="function")try{Ws=Object.defineProperty({},"length",{get:function(){throw ji}}),ji={},Yr(function(){throw 42},null,Ws)}catch(t){t!==ji&&(Yr=null)}else Yr=null;var km=/^\s*class\b/,zs=function(e){try{var r=qu.call(e);return km.test(r)}catch{return!1}},qs=function(e){try{return zs(e)?!1:(qu.call(e),!0)}catch{return!1}},Bi=Object.prototype.toString,Lm="[object Object]",Tm="[object Function]",Rm="[object GeneratorFunction]",Dm="[object HTMLAllCollection]",Im="[object HTML document.all class]",jm="[object HTMLCollection]",Bm=typeof Symbol=="function"&&!!Symbol.toStringTag,Nm=!(0 in[,]),Gs=function(){return!1};if(typeof document=="object"){var Hm=document.all;Bi.call(Hm)===Bi.call(document.all)&&(Gs=function(e){if((Nm||!e)&&(typeof e>"u"||typeof e=="object"))try{var r=Bi.call(e);return(r===Dm||r===Im||r===jm||r===Lm)&&e("")==null}catch{}return!1})}var Um=Yr?function(e){if(Gs(e))return!0;if(!e||typeof e!="function"&&typeof e!="object")return!1;try{Yr(e,null,Ws)}catch(r){if(r!==ji)return!1}return!zs(e)&&qs(e)}:function(e){if(Gs(e))return!0;if(!e||typeof e!="function"&&typeof e!="object")return!1;if(Bm)return qs(e);if(zs(e))return!1;var r=Bi.call(e);return r!==Tm&&r!==Rm&&!/^\[object HTML/.test(r)?!1:qs(e)},Fm=Um,Wm=Object.prototype.toString,Gu=Object.prototype.hasOwnProperty,zm=function(e,r,n){for(var i=0,o=e.length;i<o;i++)Gu.call(e,i)&&(n==null?r(e[i],i,e):r.call(n,e[i],i,e))},qm=function(e,r,n){for(var i=0,o=e.length;i<o;i++)n==null?r(e.charAt(i),i,e):r.call(n,e.charAt(i),i,e)},Gm=function(e,r,n){for(var i in e)Gu.call(e,i)&&(n==null?r(e[i],i,e):r.call(n,e[i],i,e))},Vm=function(e,r,n){if(!Fm(r))throw new TypeError("iterator must be a function");var i;arguments.length>=3&&(i=n),Wm.call(e)==="[object Array]"?zm(e,r,i):typeof e=="string"?qm(e,r,i):Gm(e,r,i)},Km=Vm,Vs=["BigInt64Array","BigUint64Array","Float32Array","Float64Array","Int16Array","Int32Array","Int8Array","Uint16Array","Uint32Array","Uint8Array","Uint8ClampedArray"],Ym=typeof globalThis>"u"?Ve:globalThis,Jm=function(){for(var e=[],r=0;r<Vs.length;r++)typeof Ym[Vs[r]]=="function"&&(e[e.length]=Vs[r]);return e},Ni=Km,Xm=Jm,Vu=Gr,Ks=ft,Hi=ss,Zm=Ks("Object.prototype.toString"),Ku=vr(),Yu=typeof globalThis>"u"?Ve:globalThis,Ys=Xm(),Js=Ks("String.prototype.slice"),Xs=Object.getPrototypeOf,Qm=Ks("Array.prototype.indexOf",!0)||function(e,r){for(var n=0;n<e.length;n+=1)if(e[n]===r)return n;return-1},Ui={__proto__:null};Ku&&Hi&&Xs?Ni(Ys,function(t){var e=new Yu[t];if(Symbol.toStringTag in e){var r=Xs(e),n=Hi(r,Symbol.toStringTag);if(!n){var i=Xs(r);n=Hi(i,Symbol.toStringTag)}Ui["$"+t]=Vu(n.get)}}):Ni(Ys,function(t){var e=new Yu[t],r=e.slice||e.set;r&&(Ui["$"+t]=Vu(r))});var eb=function(e){var r=!1;return Ni(Ui,function(n,i){if(!r)try{"$"+n(e)===i&&(r=Js(i,1))}catch{}}),r},tb=function(e){var r=!1;return Ni(Ui,function(n,i){if(!r)try{n(e),r=Js(i,1)}catch{}}),r},rb=function(e){if(!e||typeof e!="object")return!1;if(!Ku){var r=Js(Zm(e),8,-1);return Qm(Ys,r)>-1?r:r!=="Object"?!1:tb(e)}return Hi?eb(e):null},nb=ft,Ju=nb("ArrayBuffer.prototype.byteLength",!0),ib=Iu,ob=function(e){return ib(e)?Ju?Ju(e):e.byteLength:NaN},Xu=Bg,Et=ft,Zu=ly,sb=At,Jr=wv,ab=su,Qu=Ov,ef=Hc,tf=kv,rf=Iu,nf=Hv,of=zv,sf=Gv,af=es,lf=$m,cf=Cm,uf=rb,ff=ob,pf=Et("SharedArrayBuffer.prototype.byteLength",!0),hf=Et("Date.prototype.getTime"),Zs=Object.getPrototypeOf,df=Et("Object.prototype.toString"),Fi=sb("%Set%",!0),Qs=Et("Map.prototype.has",!0),Wi=Et("Map.prototype.get",!0),gf=Et("Map.prototype.size",!0),zi=Et("Set.prototype.add",!0),yf=Et("Set.prototype.delete",!0),qi=Et("Set.prototype.has",!0),Gi=Et("Set.prototype.size",!0);function vf(t,e,r,n){for(var i=Jr(t),o;(o=i.next())&&!o.done;)if(mt(e,o.value,r,n))return yf(t,o.value),!0;return!1}function mf(t){if(typeof t>"u")return null;if(typeof t!="object")return typeof t=="symbol"?!1:typeof t=="string"||typeof t=="number"?+t==+t:!0}function lb(t,e,r,n,i,o){var s=mf(r);if(s!=null)return s;var l=Wi(e,s),a=Xu({},i,{strict:!1});return typeof l>"u"&&!Qs(e,s)||!mt(n,l,a,o)?!1:!Qs(t,s)&&mt(n,l,a,o)}function cb(t,e,r){var n=mf(r);return n??(qi(e,n)&&!qi(t,n))}function bf(t,e,r,n,i,o){for(var s=Jr(t),l,a;(l=s.next())&&!l.done;)if(a=l.value,mt(r,a,i,o)&&mt(n,Wi(e,a),i,o))return yf(t,a),!0;return!1}function mt(t,e,r,n){var i=r||{};if(i.strict?Qu(t,e):t===e)return!0;var o=lf(t),s=lf(e);if(o!==s)return!1;if(!t||!e||typeof t!="object"&&typeof e!="object")return i.strict?Qu(t,e):t==e;var l=n.has(t),a=n.has(e),u;if(l&&a){if(n.get(t)===n.get(e))return!0}else u={};return l||n.set(t,u),a||n.set(e,u),pb(t,e,i,n)}function wf(t){return!t||typeof t!="object"||typeof t.length!="number"||typeof t.copy!="function"||typeof t.slice!="function"||t.length>0&&typeof t[0]!="number"?!1:!!(t.constructor&&t.constructor.isBuffer&&t.constructor.isBuffer(t))}function ub(t,e,r,n){if(Gi(t)!==Gi(e))return!1;for(var i=Jr(t),o=Jr(e),s,l,a;(s=i.next())&&!s.done;)if(s.value&&typeof s.value=="object")a||(a=new Fi),zi(a,s.value);else if(!qi(e,s.value)){if(r.strict||!cb(t,e,s.value))return!1;a||(a=new Fi),zi(a,s.value)}if(a){for(;(l=o.next())&&!l.done;)if(l.value&&typeof l.value=="object"){if(!vf(a,l.value,r.strict,n))return!1}else if(!r.strict&&!qi(t,l.value)&&!vf(a,l.value,r.strict,n))return!1;return Gi(a)===0}return!0}function fb(t,e,r,n){if(gf(t)!==gf(e))return!1;for(var i=Jr(t),o=Jr(e),s,l,a,u,h,d;(s=i.next())&&!s.done;)if(u=s.value[0],h=s.value[1],u&&typeof u=="object")a||(a=new Fi),zi(a,u);else if(d=Wi(e,u),typeof d>"u"&&!Qs(e,u)||!mt(h,d,r,n)){if(r.strict||!lb(t,e,u,h,r,n))return!1;a||(a=new Fi),zi(a,u)}if(a){for(;(l=o.next())&&!l.done;)if(u=l.value[0],d=l.value[1],u&&typeof u=="object"){if(!bf(a,t,u,d,r,n))return!1}else if(!r.strict&&(!t.has(u)||!mt(Wi(t,u),d,r,n))&&!bf(a,t,u,d,Xu({},r,{strict:!1}),n))return!1;return Gi(a)===0}return!0}function pb(t,e,r,n){var i,o;if(typeof t!=typeof e||t==null||e==null||df(t)!==df(e)||ef(t)!==ef(e))return!1;var s=tf(t),l=tf(e);if(s!==l)return!1;var a=t instanceof Error,u=e instanceof Error;if(a!==u||(a||u)&&(t.name!==e.name||t.message!==e.message))return!1;var h=of(t),d=of(e);if(h!==d||(h||d)&&(t.source!==e.source||Zu(t)!==Zu(e)))return!1;var m=nf(t),v=nf(e);if(m!==v||(m||v)&&hf(t)!==hf(e)||r.strict&&Zs&&Zs(t)!==Zs(e))return!1;var S=uf(t),_=uf(e);if(S!==_)return!1;if(S||_){if(t.length!==e.length)return!1;for(i=0;i<t.length;i++)if(t[i]!==e[i])return!1;return!0}var I=wf(t),j=wf(e);if(I!==j)return!1;if(I||j){if(t.length!==e.length)return!1;for(i=0;i<t.length;i++)if(t[i]!==e[i])return!1;return!0}var H=rf(t),W=rf(e);if(H!==W)return!1;if(H||W)return ff(t)!==ff(e)?!1:typeof Uint8Array=="function"&&mt(new Uint8Array(t),new Uint8Array(e),r,n);var Z=sf(t),z=sf(e);if(Z!==z)return!1;if(Z||z)return pf(t)!==pf(e)?!1:typeof Uint8Array=="function"&&mt(new Uint8Array(t),new Uint8Array(e),r,n);if(typeof t!=typeof e)return!1;var U=af(t),ee=af(e);if(U.length!==ee.length)return!1;for(U.sort(),ee.sort(),i=U.length-1;i>=0;i--)if(U[i]!=ee[i])return!1;for(i=U.length-1;i>=0;i--)if(o=U[i],!mt(t[o],e[o],r,n))return!1;var oe=cf(t),we=cf(e);return oe!==we?!1:oe==="Set"||we==="Set"?ub(t,e,r,n):oe==="Map"?fb(t,e,r,n):!0}var hb=function(e,r,n){return mt(e,r,n,ab())};const db=kn(hb);var gb=Object.defineProperty,ve=(t,e)=>gb(t,"name",{value:e,configurable:!0}),yb=class{constructor(e){this.direction=!1,this.compareProperties=!0;var r,n,i;this.precision=10**-((r=e==null?void 0:e.precision)!=null?r:17),this.direction=(n=e==null?void 0:e.direction)!=null?n:!1,this.compareProperties=(i=e==null?void 0:e.compareProperties)!=null?i:!0}compare(e,r){if(e.type!==r.type||!Hn(e,r))return!1;switch(e.type){case"Point":return this.compareCoord(e.coordinates,r.coordinates);case"LineString":return this.compareLine(e.coordinates,r.coordinates);case"Polygon":return this.comparePolygon(e,r);case"GeometryCollection":return this.compareGeometryCollection(e,r);case"Feature":return this.compareFeature(e,r);case"FeatureCollection":return this.compareFeatureCollection(e,r);default:if(e.type.startsWith("Multi")){const n=ea(e),i=ea(r);return n.every(o=>i.some(s=>this.compare(o,s)))}}return!1}compareCoord(e,r){return e.length===r.length&&e.every((n,i)=>Math.abs(n-r[i])<this.precision)}compareLine(e,r,n=0,i=!1){if(!Hn(e,r))return!1;const o=e;let s=r;if(i&&!this.compareCoord(o[0],s[0])){const a=this.fixStartIndex(s,o);if(a)s=a;else return!1}const l=this.compareCoord(o[n],s[n]);return this.direction||l?this.comparePath(o,s):this.compareCoord(o[n],s[s.length-(1+n)])?this.comparePath(o.slice().reverse(),s):!1}fixStartIndex(e,r){let n,i=-1;for(let o=0;o<e.length;o++)if(this.compareCoord(e[o],r[0])){i=o;break}return i>=0&&(n=[].concat(e.slice(i,e.length),e.slice(1,i+1))),n}comparePath(e,r){return e.every((n,i)=>this.compareCoord(n,r[i]))}comparePolygon(e,r){if(this.compareLine(e.coordinates[0],r.coordinates[0],1,!0)){const n=e.coordinates.slice(1,e.coordinates.length),i=r.coordinates.slice(1,r.coordinates.length);return n.every(o=>i.some(s=>this.compareLine(o,s,1,!0)))}return!1}compareGeometryCollection(e,r){return Hn(e.geometries,r.geometries)&&this.compareBBox(e,r)&&e.geometries.every((n,i)=>this.compare(n,r.geometries[i]))}compareFeature(e,r){return e.id===r.id&&(this.compareProperties?db(e.properties,r.properties):!0)&&this.compareBBox(e,r)&&this.compare(e.geometry,r.geometry)}compareFeatureCollection(e,r){return Hn(e.features,r.features)&&this.compareBBox(e,r)&&e.features.every((n,i)=>this.compare(n,r.features[i]))}compareBBox(e,r){return!e.bbox&&!r.bbox||(e.bbox&&r.bbox?this.compareCoord(e.bbox,r.bbox):!1)}};ve(yb,"GeojsonEquality");function Hn(t,e){return t.coordinates?t.coordinates.length===e.coordinates.length:t.length===e.length}ve(Hn,"sameLength");function ea(t){return t.coordinates.map(e=>({type:t.type.replace("Multi",""),coordinates:e}))}ve(ea,"explode");var at=63710088e-1,$f={centimeters:at*100,centimetres:at*100,degrees:360/(2*Math.PI),feet:at*3.28084,inches:at*39.37,kilometers:at/1e3,kilometres:at/1e3,meters:at,metres:at,miles:at/1609.344,millimeters:at*1e3,millimetres:at*1e3,nauticalmiles:at/1852,radians:1,yards:at*1.0936},xf={acres:247105e-9,centimeters:1e4,centimetres:1e4,feet:10.763910417,hectares:1e-4,inches:1550.003100006,kilometers:1e-6,kilometres:1e-6,meters:1,metres:1,miles:386e-9,nauticalmiles:29155334959812285e-23,millimeters:1e6,millimetres:1e6,yards:1.195990046};function pt(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}ve(pt,"feature");function vb(t,e,r={}){switch(t){case"Point":return Mt(e).geometry;case"LineString":return Pt(e).geometry;case"Polygon":return ta(e).geometry;case"MultiPoint":return Sf(e).geometry;case"MultiLineString":return ra(e).geometry;case"MultiPolygon":return Af(e).geometry;default:throw new Error(t+" is invalid")}}ve(vb,"geometry");function Mt(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(!Xr(t[0])||!Xr(t[1]))throw new Error("coordinates must contain numbers");return pt({type:"Point",coordinates:t},e,r)}ve(Mt,"point");function mb(t,e,r={}){return mr(t.map(n=>Mt(n,e)),r)}ve(mb,"points");function ta(t,e,r={}){for(const i of t){if(i.length<4)throw new Error("Each LinearRing of a Polygon must have 4 or more Positions.");if(i[i.length-1].length!==i[0].length)throw new Error("First and last Position are not equivalent.");for(let o=0;o<i[i.length-1].length;o++)if(i[i.length-1][o]!==i[0][o])throw new Error("First and last Position are not equivalent.")}return pt({type:"Polygon",coordinates:t},e,r)}ve(ta,"polygon");function bb(t,e,r={}){return mr(t.map(n=>ta(n,e)),r)}ve(bb,"polygons");function Pt(t,e,r={}){if(t.length<2)throw new Error("coordinates must be an array of two or more positions");return pt({type:"LineString",coordinates:t},e,r)}ve(Pt,"lineString");function wb(t,e,r={}){return mr(t.map(n=>Pt(n,e)),r)}ve(wb,"lineStrings");function mr(t,e={}){const r={type:"FeatureCollection"};return e.id&&(r.id=e.id),e.bbox&&(r.bbox=e.bbox),r.features=t,r}ve(mr,"featureCollection");function ra(t,e,r={}){return pt({type:"MultiLineString",coordinates:t},e,r)}ve(ra,"multiLineString");function Sf(t,e,r={}){return pt({type:"MultiPoint",coordinates:t},e,r)}ve(Sf,"multiPoint");function Af(t,e,r={}){return pt({type:"MultiPolygon",coordinates:t},e,r)}ve(Af,"multiPolygon");function $b(t,e,r={}){return pt({type:"GeometryCollection",geometries:t},e,r)}ve($b,"geometryCollection");function xb(t,e=0){if(e&&!(e>=0))throw new Error("precision must be a positive number");const r=Math.pow(10,e||0);return Math.round(t*r)/r}ve(xb,"round");function _f(t,e="kilometers"){const r=$f[e];if(!r)throw new Error(e+" units is invalid");return t*r}ve(_f,"radiansToLength");function na(t,e="kilometers"){const r=$f[e];if(!r)throw new Error(e+" units is invalid");return t/r}ve(na,"lengthToRadians");function Sb(t,e){return Ef(na(t,e))}ve(Sb,"lengthToDegrees");function Ab(t){let e=t%360;return e<0&&(e+=360),e}ve(Ab,"bearingToAzimuth");function Ef(t){return t%(2*Math.PI)*180/Math.PI}ve(Ef,"radiansToDegrees");function _b(t){return t%360*Math.PI/180}ve(_b,"degreesToRadians");function Eb(t,e="kilometers",r="kilometers"){if(!(t>=0))throw new Error("length must be a positive number");return _f(na(t,e),r)}ve(Eb,"convertLength");function Mb(t,e="meters",r="kilometers"){if(!(t>=0))throw new Error("area must be a positive number");const n=xf[e];if(!n)throw new Error("invalid original units");const i=xf[r];if(!i)throw new Error("invalid final units");return t/n*i}ve(Mb,"convertArea");function Xr(t){return!isNaN(t)&&t!==null&&!Array.isArray(t)}ve(Xr,"isNumber");function ia(t){return t!==null&&typeof t=="object"&&!Array.isArray(t)}ve(ia,"isObject");function Pb(t){if(!t)throw new Error("bbox is required");if(!Array.isArray(t))throw new Error("bbox must be an Array");if(t.length!==4&&t.length!==6)throw new Error("bbox must be an Array of 4 or 6 numbers");t.forEach(e=>{if(!Xr(e))throw new Error("bbox must only contain numbers")})}ve(Pb,"validateBBox");function Ob(t){if(!t)throw new Error("id is required");if(["string","number"].indexOf(typeof t)===-1)throw new Error("id must be a number or a string")}ve(Ob,"validateId");var Cb=Object.defineProperty,Qt=(t,e)=>Cb(t,"name",{value:e,configurable:!0});function oa(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")}Qt(oa,"getCoord");function Mf(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")}Qt(Mf,"getCoords");function Pf(t){if(t.length>1&&Xr(t[0])&&Xr(t[1]))return!0;if(Array.isArray(t[0])&&t[0].length)return Pf(t[0]);throw new Error("coordinates must only contain numbers")}Qt(Pf,"containsNumber");function kb(t,e,r){if(!e||!r)throw new Error("type and name required");if(!t||t.type!==e)throw new Error("Invalid input to "+r+": must be a "+e+", given "+t.type)}Qt(kb,"geojsonType");function Lb(t,e,r){if(!t)throw new Error("No feature passed");if(!r)throw new Error(".featureOf() requires a name");if(!t||t.type!=="Feature"||!t.geometry)throw new Error("Invalid input to "+r+", Feature with geometry required");if(!t.geometry||t.geometry.type!==e)throw new Error("Invalid input to "+r+": must be a "+e+", given "+t.geometry.type)}Qt(Lb,"featureOf");function Tb(t,e,r){if(!t)throw new Error("No featureCollection passed");if(!r)throw new Error(".collectionOf() requires a name");if(!t||t.type!=="FeatureCollection")throw new Error("Invalid input to "+r+", FeatureCollection required");for(const n of t.features){if(!n||n.type!=="Feature"||!n.geometry)throw new Error("Invalid input to "+r+", Feature with geometry required");if(!n.geometry||n.geometry.type!==e)throw new Error("Invalid input to "+r+": must be a "+e+", given "+n.geometry.type)}}Qt(Tb,"collectionOf");function br(t){return t.type==="Feature"?t.geometry:t}Qt(br,"getGeom");function Rb(t,e){return t.type==="FeatureCollection"?"FeatureCollection":t.type==="GeometryCollection"?"GeometryCollection":t.type==="Feature"&&t.geometry!==null?t.geometry.type:t.type}Qt(Rb,"getType");var Db=Object.defineProperty,Of=(t,e)=>Db(t,"name",{value:e,configurable:!0});function lt(t,e,r={}){if(!t)throw new Error("point is required");if(!e)throw new Error("polygon is required");const n=oa(t),i=br(e),o=i.type,s=e.bbox;let l=i.coordinates;if(s&&Cf(n,s)===!1)return!1;o==="Polygon"&&(l=[l]);let a=!1;for(var u=0;u<l.length;++u){const h=Ad(n,l[u]);if(h===0)return!r.ignoreBoundary;h&&(a=!0)}return a}Of(lt,"booleanPointInPolygon");function Cf(t,e){return e[0]<=t[0]&&e[1]<=t[1]&&e[2]>=t[0]&&e[3]>=t[1]}Of(Cf,"inBBox");class kf{constructor(e=[],r=Ib){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 o=e-1>>1,s=r[o];if(n(i,s)>=0)break;r[e]=s,e=o}r[e]=i}_down(e){const{data:r,compare:n}=this,i=this.length>>1,o=r[e];for(;e<i;){let s=(e<<1)+1,l=r[s];const a=s+1;if(a<this.length&&n(r[a],l)<0&&(s=a,l=r[a]),n(l,o)>=0)break;r[e]=l,e=s}r[e]=o}}function Ib(t,e){return t<e?-1:t>e?1:0}function Lf(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 jb(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 Tf{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 Bb(t,e){if(t.type==="FeatureCollection"){const r=t.features;for(let n=0;n<r.length;n++)Rf(r[n],e)}else Rf(t,e)}let Vi=0,Ki=0,Yi=0;function Rf(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 o=0;o<n[i].length;o++){let s=n[i][o][0],l=null;Ki=Ki+1;for(let a=0;a<n[i][o].length-1;a++){l=n[i][o][a+1];const u=new Tf(s,Vi,Ki,Yi),h=new Tf(l,Vi,Ki,Yi+1);u.otherEvent=h,h.otherEvent=u,Lf(u,h)>0?(h.isLeftEndpoint=!0,u.isLeftEndpoint=!1):(u.isLeftEndpoint=!0,h.isLeftEndpoint=!1),e.push(u),e.push(h),s=l,Yi=Yi+1}}Vi=Vi+1}class Nb{constructor(e){this.leftSweepEvent=e,this.rightSweepEvent=e.otherEvent}}function Hb(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,o=t.rightSweepEvent.p.y,s=e.leftSweepEvent.p.x,l=e.leftSweepEvent.p.y,a=e.rightSweepEvent.p.x,u=e.rightSweepEvent.p.y,h=(u-l)*(i-r)-(a-s)*(o-n),d=(a-s)*(n-l)-(u-l)*(r-s),m=(i-r)*(n-l)-(o-n)*(r-s);if(h===0)return!1;const v=d/h,S=m/h;if(v>=0&&v<=1&&S>=0&&S<=1){const _=r+v*(i-r),I=n+v*(o-n);return[_,I]}return!1}function Ub(t,e){e=e||!1;const r=[],n=new kf([],jb);for(;t.length;){const i=t.pop();if(i.isLeftEndpoint){const o=new Nb(i);for(let s=0;s<n.data.length;s++){const l=n.data[s];if(e&&l.leftSweepEvent.featureId===i.featureId)continue;const a=Hb(o,l);a!==!1&&r.push(a)}n.push(o)}else i.isLeftEndpoint===!1&&n.pop()}return r}function Fb(t,e){const r=new kf([],Lf);return Bb(t,r),Ub(r,e)}var Wb=Object.defineProperty,zb=(t,e)=>Wb(t,"name",{value:e,configurable:!0}),qb=Fb;function Ji(t,e,r={}){const{removeDuplicates:n=!0,ignoreSelfIntersections:i=!1}=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(pt(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(pt(e));const s=qb(mr(o),i);let l=[];if(n){const a={};s.forEach(u=>{const h=u.join(",");a[h]||(a[h]=!0,l.push(u))})}else l=s;return mr(l.map(a=>Mt(a)))}zb(Ji,"lineIntersect");var Gb=Object.defineProperty,We=(t,e)=>Gb(t,"name",{value:e,configurable:!0});function Zr(t,e,r){if(t!==null)for(var n,i,o,s,l,a,u,h=0,d=0,m,v=t.type,S=v==="FeatureCollection",_=v==="Feature",I=S?t.features.length:1,j=0;j<I;j++){u=S?t.features[j].geometry:_?t.geometry:t,m=u?u.type==="GeometryCollection":!1,l=m?u.geometries.length:1;for(var H=0;H<l;H++){var W=0,Z=0;if(s=m?u.geometries[H]:u,s!==null){a=s.coordinates;var z=s.type;switch(h=r&&(z==="Polygon"||z==="MultiPolygon")?1:0,z){case null:break;case"Point":if(e(a,d,j,W,Z)===!1)return!1;d++,W++;break;case"LineString":case"MultiPoint":for(n=0;n<a.length;n++){if(e(a[n],d,j,W,Z)===!1)return!1;d++,z==="MultiPoint"&&W++}z==="LineString"&&W++;break;case"Polygon":case"MultiLineString":for(n=0;n<a.length;n++){for(i=0;i<a[n].length-h;i++){if(e(a[n][i],d,j,W,Z)===!1)return!1;d++}z==="MultiLineString"&&W++,z==="Polygon"&&Z++}z==="Polygon"&&W++;break;case"MultiPolygon":for(n=0;n<a.length;n++){for(Z=0,i=0;i<a[n].length;i++){for(o=0;o<a[n][i].length-h;o++){if(e(a[n][i][o],d,j,W,Z)===!1)return!1;d++}Z++}W++}break;case"GeometryCollection":for(n=0;n<s.geometries.length;n++)if(Zr(s.geometries[n],e,r)===!1)return!1;break;default:throw new Error("Unknown Geometry Type")}}}}}We(Zr,"coordEach");function Vb(t,e,r,n){var i=r;return Zr(t,function(o,s,l,a,u){s===0&&r===void 0?i=o:i=e(i,o,s,l,a,u)},n),i}We(Vb,"coordReduce");function Df(t,e){var r;switch(t.type){case"FeatureCollection":for(r=0;r<t.features.length&&e(t.features[r].properties,r)!==!1;r++);break;case"Feature":e(t.properties,0);break}}We(Df,"propEach");function Kb(t,e,r){var n=r;return Df(t,function(i,o){o===0&&r===void 0?n=i:n=e(n,i,o)}),n}We(Kb,"propReduce");function If(t,e){if(t.type==="Feature")e(t,0);else if(t.type==="FeatureCollection")for(var r=0;r<t.features.length&&e(t.features[r],r)!==!1;r++);}We(If,"featureEach");function Yb(t,e,r){var n=r;return If(t,function(i,o){o===0&&r===void 0?n=i:n=e(n,i,o)}),n}We(Yb,"featureReduce");function Jb(t){var e=[];return Zr(t,function(r){e.push(r)}),e}We(Jb,"coordAll");function sa(t,e){var r,n,i,o,s,l,a,u,h,d,m=0,v=t.type==="FeatureCollection",S=t.type==="Feature",_=v?t.features.length:1;for(r=0;r<_;r++){for(l=v?t.features[r].geometry:S?t.geometry:t,u=v?t.features[r].properties:S?t.properties:{},h=v?t.features[r].bbox:S?t.bbox:void 0,d=v?t.features[r].id:S?t.id:void 0,a=l?l.type==="GeometryCollection":!1,s=a?l.geometries.length:1,i=0;i<s;i++){if(o=a?l.geometries[i]:l,o===null){if(e(null,m,u,h,d)===!1)return!1;continue}switch(o.type){case"Point":case"LineString":case"MultiPoint":case"Polygon":case"MultiLineString":case"MultiPolygon":{if(e(o,m,u,h,d)===!1)return!1;break}case"GeometryCollection":{for(n=0;n<o.geometries.length;n++)if(e(o.geometries[n],m,u,h,d)===!1)return!1;break}default:throw new Error("Unknown Geometry Type")}}m++}}We(sa,"geomEach");function Xb(t,e,r){var n=r;return sa(t,function(i,o,s,l,a){o===0&&r===void 0?n=i:n=e(n,i,o,s,l,a)}),n}We(Xb,"geomReduce");function er(t,e){sa(t,function(r,n,i,o,s){var l=r===null?null:r.type;switch(l){case null:case"Point":case"LineString":case"Polygon":return e(pt(r,i,{bbox:o,id:s}),n,0)===!1?!1:void 0}var a;switch(l){case"MultiPoint":a="Point";break;case"MultiLineString":a="LineString";break;case"MultiPolygon":a="Polygon";break}for(var u=0;u<r.coordinates.length;u++){var h=r.coordinates[u],d={type:a,coordinates:h};if(e(pt(d,i),n,u)===!1)return!1}})}We(er,"flattenEach");function Zb(t,e,r){var n=r;return er(t,function(i,o,s){o===0&&s===0&&r===void 0?n=i:n=e(n,i,o,s)}),n}We(Zb,"flattenReduce");function jf(t,e){er(t,function(r,n,i){var o=0;if(r.geometry){var s=r.geometry.type;if(!(s==="Point"||s==="MultiPoint")){var l,a=0,u=0,h=0;if(Zr(r,function(d,m,v,S,_){if(l===void 0||n>a||S>u||_>h){l=d,a=n,u=S,h=_,o=0;return}var I=Pt([l,d],r.properties);if(e(I,n,i,_,o)===!1)return!1;o++,l=d})===!1)return!1}}})}We(jf,"segmentEach");function Qb(t,e,r){var n=r,i=!1;return jf(t,function(o,s,l,a,u){i===!1&&r===void 0?n=o:n=e(n,o,s,l,a,u),i=!0}),n}We(Qb,"segmentReduce");function Bf(t,e){if(!t)throw new Error("geojson is required");er(t,function(r,n,i){if(r.geometry!==null){var o=r.geometry.type,s=r.geometry.coordinates;switch(o){case"LineString":if(e(r,n,i,0,0)===!1)return!1;break;case"Polygon":for(var l=0;l<s.length;l++)if(e(Pt(s[l],r.properties),n,i,l)===!1)return!1;break}}})}We(Bf,"lineEach");function e0(t,e,r){var n=r;return Bf(t,function(i,o,s,l){o===0&&r===void 0?n=i:n=e(n,i,o,s,l)}),n}We(e0,"lineReduce");function t0(t,e){if(e=e||{},!ia(e))throw new Error("options is invalid");var r=e.featureIndex||0,n=e.multiFeatureIndex||0,i=e.geometryIndex||0,o=e.segmentIndex||0,s=e.properties,l;switch(t.type){case"FeatureCollection":r<0&&(r=t.features.length+r),s=s||t.features[r].properties,l=t.features[r].geometry;break;case"Feature":s=s||t.properties,l=t.geometry;break;case"Point":case"MultiPoint":return null;case"LineString":case"Polygon":case"MultiLineString":case"MultiPolygon":l=t;break;default:throw new Error("geojson is invalid")}if(l===null)return null;var a=l.coordinates;switch(l.type){case"Point":case"MultiPoint":return null;case"LineString":return o<0&&(o=a.length+o-1),Pt([a[o],a[o+1]],s,e);case"Polygon":return i<0&&(i=a.length+i),o<0&&(o=a[i].length+o-1),Pt([a[i][o],a[i][o+1]],s,e);case"MultiLineString":return n<0&&(n=a.length+n),o<0&&(o=a[n].length+o-1),Pt([a[n][o],a[n][o+1]],s,e);case"MultiPolygon":return n<0&&(n=a.length+n),i<0&&(i=a[n].length+i),o<0&&(o=a[n][i].length-o-1),Pt([a[n][i][o],a[n][i][o+1]],s,e)}throw new Error("geojson is invalid")}We(t0,"findSegment");function r0(t,e){if(e=e||{},!ia(e))throw new Error("options is invalid");var r=e.featureIndex||0,n=e.multiFeatureIndex||0,i=e.geometryIndex||0,o=e.coordIndex||0,s=e.properties,l;switch(t.type){case"FeatureCollection":r<0&&(r=t.features.length+r),s=s||t.features[r].properties,l=t.features[r].geometry;break;case"Feature":s=s||t.properties,l=t.geometry;break;case"Point":case"MultiPoint":return null;case"LineString":case"Polygon":case"MultiLineString":case"MultiPolygon":l=t;break;default:throw new Error("geojson is invalid")}if(l===null)return null;var a=l.coordinates;switch(l.type){case"Point":return Mt(a,s,e);case"MultiPoint":return n<0&&(n=a.length+n),Mt(a[n],s,e);case"LineString":return o<0&&(o=a.length+o),Mt(a[o],s,e);case"Polygon":return i<0&&(i=a.length+i),o<0&&(o=a[i].length+o),Mt(a[i][o],s,e);case"MultiLineString":return n<0&&(n=a.length+n),o<0&&(o=a[n].length+o),Mt(a[n][o],s,e);case"MultiPolygon":return n<0&&(n=a.length+n),i<0&&(i=a[n].length+i),o<0&&(o=a[n][i].length-o),Mt(a[n][i][o],s,e)}throw new Error("geojson is invalid")}We(r0,"findPoint");var n0=Object.defineProperty,Xi=(t,e)=>n0(t,"name",{value:e,configurable:!0});function Zi(t,e={}){const r=br(t);switch(!e.properties&&t.type==="Feature"&&(e.properties=t.properties),r.type){case"Polygon":return Nf(r,e);case"MultiPolygon":return Hf(r,e);default:throw new Error("invalid poly")}}Xi(Zi,"polygonToLine");function Nf(t,e={}){const n=br(t).coordinates,i=e.properties?e.properties:t.type==="Feature"?t.properties:{};return aa(n,i)}Xi(Nf,"singlePolygonToLine");function Hf(t,e={}){const n=br(t).coordinates,i=e.properties?e.properties:t.type==="Feature"?t.properties:{},o=[];return n.forEach(s=>{o.push(aa(s,i))}),mr(o)}Xi(Hf,"multiPolygonToLine");function aa(t,e){return t.length>1?ra(t,e):Pt(t[0],e)}Xi(aa,"coordsToLine");var i0=Object.defineProperty,tr=(t,e)=>i0(t,"name",{value:e,configurable:!0});function Uf(t,e){let r=!0;return er(t,n=>{er(e,i=>{if(r===!1)return!1;r=Ff(n.geometry,i.geometry)})}),r}tr(Uf,"booleanDisjoint");function Ff(t,e){switch(t.type){case"Point":switch(e.type){case"Point":return!Gf(t.coordinates,e.coordinates);case"LineString":return!la(e,t);case"Polygon":return!lt(t,e)}break;case"LineString":switch(e.type){case"Point":return!la(t,e);case"LineString":return!Wf(t,e);case"Polygon":return!ca(e,t)}break;case"Polygon":switch(e.type){case"Point":return!lt(e,t);case"LineString":return!ca(t,e);case"Polygon":return!zf(e,t)}}return!1}tr(Ff,"disjoint");function la(t,e){for(let r=0;r<t.coordinates.length-1;r++)if(qf(t.coordinates[r],t.coordinates[r+1],e.coordinates))return!0;return!1}tr(la,"isPointOnLine");function Wf(t,e){return Ji(t,e).features.length>0}tr(Wf,"isLineOnLine");function ca(t,e){for(const n of e.coordinates)if(lt(n,t))return!0;return Ji(e,Zi(t)).features.length>0}tr(ca,"isLineInPoly");function zf(t,e){for(const n of t.coordinates[0])if(lt(n,e))return!0;for(const n of e.coordinates[0])if(lt(n,t))return!0;return Ji(Zi(t),Zi(e)).features.length>0}tr(zf,"isPolyInPoly");function qf(t,e,r){const n=r[0]-t[0],i=r[1]-t[1],o=e[0]-t[0],s=e[1]-t[1];return n*s-i*o!==0?!1:Math.abs(o)>=Math.abs(s)?o>0?t[0]<=r[0]&&r[0]<=e[0]:e[0]<=r[0]&&r[0]<=t[0]:s>0?t[1]<=r[1]&&r[1]<=e[1]:e[1]<=r[1]&&r[1]<=t[1]}tr(qf,"isPointOnLineSegment");function Gf(t,e){return t[0]===e[0]&&t[1]===e[1]}tr(Gf,"compareCoords");var o0=Object.defineProperty,s0=(t,e)=>o0(t,"name",{value:e,configurable:!0});function Vf(t,e){let r=!1;return er(t,n=>{er(e,i=>{if(r===!0)return!0;r=!Uf(n.geometry,i.geometry)})}),r}s0(Vf,"booleanIntersects");var a0=Vf,l0=Object.defineProperty,c0=(t,e)=>l0(t,"name",{value:e,configurable:!0});function Un(t,e={}){if(t.bbox!=null&&e.recompute!==!0)return t.bbox;const r=[1/0,1/0,-1/0,-1/0];return Zr(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}c0(Un,"bbox");var u0=Object.defineProperty,Kf=(t,e)=>u0(t,"name",{value:e,configurable:!0});function Fn(t,e,r={}){const n=oa(t),i=Mf(e);for(let o=0;o<i.length-1;o++){let s=!1;if(r.ignoreEndVertices&&(o===0&&(s="start"),o===i.length-2&&(s="end"),o===0&&o+1===i.length-1&&(s="both")),Yf(i[o],i[o+1],n,s,typeof r.epsilon>"u"?null:r.epsilon))return!0}return!1}Kf(Fn,"booleanPointOnLine");function Yf(t,e,r,n,i){const o=r[0],s=r[1],l=t[0],a=t[1],u=e[0],h=e[1],d=r[0]-l,m=r[1]-a,v=u-l,S=h-a,_=d*S-m*v;if(i!==null){if(Math.abs(_)>i)return!1}else if(_!==0)return!1;if(n){if(n==="start")return Math.abs(v)>=Math.abs(S)?v>0?l<o&&o<=u:u<=o&&o<l:S>0?a<s&&s<=h:h<=s&&s<a;if(n==="end")return Math.abs(v)>=Math.abs(S)?v>0?l<=o&&o<u:u<o&&o<=l:S>0?a<=s&&s<h:h<s&&s<=a;if(n==="both")return Math.abs(v)>=Math.abs(S)?v>0?l<o&&o<u:u<o&&o<l:S>0?a<s&&s<h:h<s&&s<a}else return Math.abs(v)>=Math.abs(S)?v>0?l<=o&&o<=u:u<=o&&o<=l:S>0?a<=s&&s<=h:h<=s&&s<=a;return!1}Kf(Yf,"isPointOnLineSegment");var f0=Object.defineProperty,bt=(t,e)=>f0(t,"name",{value:e,configurable:!0});function Jf(t,e){var r=br(t),n=br(e),i=r.type,o=n.type;switch(i){case"Point":switch(o){case"MultiPoint":return Xf(r,n);case"LineString":return Fn(r,n,{ignoreEndVertices:!0});case"Polygon":case"MultiPolygon":return lt(r,n,{ignoreBoundary:!0});default:throw new Error("feature2 "+o+" geometry not supported")}case"MultiPoint":switch(o){case"MultiPoint":return Zf(r,n);case"LineString":return Qf(r,n);case"Polygon":case"MultiPolygon":return ep(r,n);default:throw new Error("feature2 "+o+" geometry not supported")}case"LineString":switch(o){case"LineString":return tp(r,n);case"Polygon":case"MultiPolygon":return rp(r,n);default:throw new Error("feature2 "+o+" geometry not supported")}case"Polygon":switch(o){case"Polygon":case"MultiPolygon":return np(r,n);default:throw new Error("feature2 "+o+" geometry not supported")}default:throw new Error("feature1 "+i+" geometry not supported")}}bt(Jf,"booleanWithin");function Xf(t,e){var r,n=!1;for(r=0;r<e.coordinates.length;r++)if(fa(e.coordinates[r],t.coordinates)){n=!0;break}return n}bt(Xf,"isPointInMultiPoint");function Zf(t,e){for(var r=0;r<t.coordinates.length;r++){for(var n=!1,i=0;i<e.coordinates.length;i++)fa(t.coordinates[r],e.coordinates[i])&&(n=!0);if(!n)return!1}return!0}bt(Zf,"isMultiPointInMultiPoint");function Qf(t,e){for(var r=!1,n=0;n<t.coordinates.length;n++){if(!Fn(t.coordinates[n],e))return!1;r||(r=Fn(t.coordinates[n],e,{ignoreEndVertices:!0}))}return r}bt(Qf,"isMultiPointOnLine");function ep(t,e){for(var r=!0,n=!1,i=0;i<t.coordinates.length;i++){if(n=lt(t.coordinates[i],e),!n){r=!1;break}n=lt(t.coordinates[i],e,{ignoreBoundary:!0})}return r&&n}bt(ep,"isMultiPointInPoly");function tp(t,e){for(var r=0;r<t.coordinates.length;r++)if(!Fn(t.coordinates[r],e))return!1;return!0}bt(tp,"isLineOnLine");function rp(t,e){var r=Un(e),n=Un(t);if(!ua(r,n))return!1;for(var i=!1,o=0;o<t.coordinates.length;o++){if(!lt(t.coordinates[o],e))return!1;if(i||(i=lt(t.coordinates[o],e,{ignoreBoundary:!0})),!i&&o<t.coordinates.length-1){var s=ip(t.coordinates[o],t.coordinates[o+1]);i=lt(s,e,{ignoreBoundary:!0})}}return i}bt(rp,"isLineInPoly");function np(t,e){var r=Un(t),n=Un(e);if(!ua(n,r))return!1;for(var i=0;i<t.coordinates[0].length;i++)if(!lt(t.coordinates[0][i],e))return!1;return!0}bt(np,"isPolyInPoly");function ua(t,e){return!(t[0]>e[0]||t[2]<e[2]||t[1]>e[1]||t[3]<e[3])}bt(ua,"doBBoxOverlap");function fa(t,e){return t[0]===e[0]&&t[1]===e[1]}bt(fa,"compareCoords");function ip(t,e){return[(t[0]+e[0])/2,(t[1]+e[1])/2]}bt(ip,"getMidpoint");var p0=Jf;const h0=(t,e)=>e?a0(t,e):!0,d0=(t,e)=>e?p0(t,e):!0;function g0(t,e="highlight",r="title"){const n=(o,s,l)=>{const a=s.split(".");let u;for(u=0;u<a.length-1;u++)o=o[a[u]];o[a[u]]=l},i=(o,s=[])=>{let l="",a=0;return s.forEach(u=>{const h=u[1]+1;l+=[o.substring(a,u[0]),`<mark class="${e}">`,o.substring(u[0],h),"</mark>"].join(""),a=h}),l+=o.substring(a),l};return t.filter(({matches:o})=>o&&o.length).map(({item:o,matches:s})=>{const l={...o};return s.forEach(a=>{a.key===r&&n(l,a.key,i(a.value,a.indices))}),l})}var op={exports:{}};(function(t,e){(function(r,n){t.exports=n()})(Ve,function(){var r=1e3,n=6e4,i=36e5,o="millisecond",s="second",l="minute",a="hour",u="day",h="week",d="month",m="quarter",v="year",S="date",_="Invalid Date",I=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,j=/\[([^\]]+)]|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,H={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(R){var M=["th","st","nd","rd"],E=R%100;return"["+R+(M[(E-20)%10]||M[E]||M[0])+"]"}},W=function(R,M,E){var B=String(R);return!B||B.length>=M?R:""+Array(M+1-B.length).join(E)+R},Z={s:W,z:function(R){var M=-R.utcOffset(),E=Math.abs(M),B=Math.floor(E/60),O=E%60;return(M<=0?"+":"-")+W(B,2,"0")+":"+W(O,2,"0")},m:function R(M,E){if(M.date()<E.date())return-R(E,M);var B=12*(E.year()-M.year())+(E.month()-M.month()),O=M.clone().add(B,d),Y=E-O<0,J=M.clone().add(B+(Y?-1:1),d);return+(-(B+(E-O)/(Y?O-J:J-O))||0)},a:function(R){return R<0?Math.ceil(R)||0:Math.floor(R)},p:function(R){return{M:d,y:v,w:h,d:u,D:S,h:a,m:l,s,ms:o,Q:m}[R]||String(R||"").toLowerCase().replace(/s$/,"")},u:function(R){return R===void 0}},z="en",U={};U[z]=H;var ee="$isDayjsObject",oe=function(R){return R instanceof Ne||!(!R||!R[ee])},we=function R(M,E,B){var O;if(!M)return z;if(typeof M=="string"){var Y=M.toLowerCase();U[Y]&&(O=Y),E&&(U[Y]=E,O=Y);var J=M.split("-");if(!O&&J.length>1)return R(J[0])}else{var ye=M.name;U[ye]=M,O=ye}return!B&&O&&(z=O),O||!B&&z},de=function(R,M){if(oe(R))return R.clone();var E=typeof M=="object"?M:{};return E.date=R,E.args=arguments,new Ne(E)},ne=Z;ne.l=we,ne.i=oe,ne.w=function(R,M){return de(R,{locale:M.$L,utc:M.$u,x:M.$x,$offset:M.$offset})};var Ne=function(){function R(E){this.$L=we(E.locale,null,!0),this.parse(E),this.$x=this.$x||E.x||{},this[ee]=!0}var M=R.prototype;return M.parse=function(E){this.$d=function(B){var O=B.date,Y=B.utc;if(O===null)return new Date(NaN);if(ne.u(O))return new Date;if(O instanceof Date)return new Date(O);if(typeof O=="string"&&!/Z$/i.test(O)){var J=O.match(I);if(J){var ye=J[2]-1||0,_e=(J[7]||"0").substring(0,3);return Y?new Date(Date.UTC(J[1],ye,J[3]||1,J[4]||0,J[5]||0,J[6]||0,_e)):new Date(J[1],ye,J[3]||1,J[4]||0,J[5]||0,J[6]||0,_e)}}return new Date(O)}(E),this.init()},M.init=function(){var E=this.$d;this.$y=E.getFullYear(),this.$M=E.getMonth(),this.$D=E.getDate(),this.$W=E.getDay(),this.$H=E.getHours(),this.$m=E.getMinutes(),this.$s=E.getSeconds(),this.$ms=E.getMilliseconds()},M.$utils=function(){return ne},M.isValid=function(){return this.$d.toString()!==_},M.isSame=function(E,B){var O=de(E);return this.startOf(B)<=O&&O<=this.endOf(B)},M.isAfter=function(E,B){return de(E)<this.startOf(B)},M.isBefore=function(E,B){return this.endOf(B)<de(E)},M.$g=function(E,B,O){return ne.u(E)?this[B]:this.set(O,E)},M.unix=function(){return Math.floor(this.valueOf()/1e3)},M.valueOf=function(){return this.$d.getTime()},M.startOf=function(E,B){var O=this,Y=!!ne.u(B)||B,J=ne.p(E),ye=function(Te,se){var Re=ne.w(O.$u?Date.UTC(O.$y,se,Te):new Date(O.$y,se,Te),O);return Y?Re:Re.endOf(u)},_e=function(Te,se){return ne.w(O.toDate()[Te].apply(O.toDate("s"),(Y?[0,0,0,0]:[23,59,59,999]).slice(se)),O)},Pe=this.$W,Ce=this.$M,Ye=this.$D,Le="set"+(this.$u?"UTC":"");switch(J){case v:return Y?ye(1,0):ye(31,11);case d:return Y?ye(1,Ce):ye(0,Ce+1);case h:var Je=this.$locale().weekStart||0,ce=(Pe<Je?Pe+7:Pe)-Je;return ye(Y?Ye-ce:Ye+(6-ce),Ce);case u:case S:return _e(Le+"Hours",0);case a:return _e(Le+"Minutes",1);case l:return _e(Le+"Seconds",2);case s:return _e(Le+"Milliseconds",3);default:return this.clone()}},M.endOf=function(E){return this.startOf(E,!1)},M.$set=function(E,B){var O,Y=ne.p(E),J="set"+(this.$u?"UTC":""),ye=(O={},O[u]=J+"Date",O[S]=J+"Date",O[d]=J+"Month",O[v]=J+"FullYear",O[a]=J+"Hours",O[l]=J+"Minutes",O[s]=J+"Seconds",O[o]=J+"Milliseconds",O)[Y],_e=Y===u?this.$D+(B-this.$W):B;if(Y===d||Y===v){var Pe=this.clone().set(S,1);Pe.$d[ye](_e),Pe.init(),this.$d=Pe.set(S,Math.min(this.$D,Pe.daysInMonth())).$d}else ye&&this.$d[ye](_e);return this.init(),this},M.set=function(E,B){return this.clone().$set(E,B)},M.get=function(E){return this[ne.p(E)]()},M.add=function(E,B){var O,Y=this;E=Number(E);var J=ne.p(B),ye=function(Ce){var Ye=de(Y);return ne.w(Ye.date(Ye.date()+Math.round(Ce*E)),Y)};if(J===d)return this.set(d,this.$M+E);if(J===v)return this.set(v,this.$y+E);if(J===u)return ye(1);if(J===h)return ye(7);var _e=(O={},O[l]=n,O[a]=i,O[s]=r,O)[J]||1,Pe=this.$d.getTime()+E*_e;return ne.w(Pe,this)},M.subtract=function(E,B){return this.add(-1*E,B)},M.format=function(E){var B=this,O=this.$locale();if(!this.isValid())return O.invalidDate||_;var Y=E||"YYYY-MM-DDTHH:mm:ssZ",J=ne.z(this),ye=this.$H,_e=this.$m,Pe=this.$M,Ce=O.weekdays,Ye=O.months,Le=O.meridiem,Je=function(se,Re,Ot,Ee){return se&&(se[Re]||se(B,Y))||Ot[Re].slice(0,Ee)},ce=function(se){return ne.s(ye%12||12,se,"0")},Te=Le||function(se,Re,Ot){var Ee=se<12?"AM":"PM";return Ot?Ee.toLowerCase():Ee};return Y.replace(j,function(se,Re){return Re||function(Ot){switch(Ot){case"YY":return String(B.$y).slice(-2);case"YYYY":return ne.s(B.$y,4,"0");case"M":return Pe+1;case"MM":return ne.s(Pe+1,2,"0");case"MMM":return Je(O.monthsShort,Pe,Ye,3);case"MMMM":return Je(Ye,Pe);case"D":return B.$D;case"DD":return ne.s(B.$D,2,"0");case"d":return String(B.$W);case"dd":return Je(O.weekdaysMin,B.$W,Ce,2);case"ddd":return Je(O.weekdaysShort,B.$W,Ce,3);case"dddd":return Ce[B.$W];case"H":return String(ye);case"HH":return ne.s(ye,2,"0");case"h":return ce(1);case"hh":return ce(2);case"a":return Te(ye,_e,!0);case"A":return Te(ye,_e,!1);case"m":return String(_e);case"mm":return ne.s(_e,2,"0");case"s":return String(B.$s);case"ss":return ne.s(B.$s,2,"0");case"SSS":return ne.s(B.$ms,3,"0");case"Z":return J}return null}(se)||J.replace(":","")})},M.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},M.diff=function(E,B,O){var Y,J=this,ye=ne.p(B),_e=de(E),Pe=(_e.utcOffset()-this.utcOffset())*n,Ce=this-_e,Ye=function(){return ne.m(J,_e)};switch(ye){case v:Y=Ye()/12;break;case d:Y=Ye();break;case m:Y=Ye()/3;break;case h:Y=(Ce-Pe)/6048e5;break;case u:Y=(Ce-Pe)/864e5;break;case a:Y=Ce/i;break;case l:Y=Ce/n;break;case s:Y=Ce/r;break;default:Y=Ce}return O?Y:ne.a(Y)},M.daysInMonth=function(){return this.endOf(d).$D},M.$locale=function(){return U[this.$L]},M.locale=function(E,B){if(!E)return this.$L;var O=this.clone(),Y=we(E,B,!0);return Y&&(O.$L=Y),O},M.clone=function(){return ne.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()},R}(),et=Ne.prototype;return de.prototype=et,[["$ms",o],["$s",s],["$m",l],["$H",a],["$W",u],["$M",d],["$y",v],["$D",S]].forEach(function(R){et[R[1]]=function(M){return this.$g(M,R[0],R[1])}}),de.extend=function(R,M){return R.$i||(R(M,Ne,de),R.$i=!0),de},de.locale=we,de.isDayjs=oe,de.unix=function(R){return de(1e3*R)},de.en=U[z],de.Ls=U,de.p={},de})})(op);var y0=op.exports;const Wn=kn(y0);let sp;const v0=(t,e)=>{sp=new Kt(t,{threshold:.4,distance:50,includeMatches:!0,useExtendedSearch:!0,...e})},m0=async(t,e,r)=>{const n=Object.entries(e).filter(([,l])=>l.type==="text"||l.type==="select"||l.type==="multiselect").reduce((l,[a,u])=>{const h="$or",d=[],m=(v,S)=>{const _={};u.type==="text"?_[v]=`${S}`:_[a]=`="${v}"`,d.push(_)};return Object.entries(u.state).filter(([,v])=>v).forEach(([v,S])=>m(v,S)),d.length>0&&l.push({[h]:d}),l},[]);let i;if(!(n.length>0)&&r.matchAllWhenEmpty!==!1)i=t;else{const l={$and:[...n]},a=sp.search(l);i=r.enableHighlighting?g0(a,"highlight",r.titleProperty):a.map(u=>u.item)}const o=Object.entries(e).filter(([,l])=>l.type==="range").reduce((l,[a,u])=>(l[a]={min:u.state.min,max:u.state.max,format:u.format},l),{});if(Object.keys(o).length>0){const l=[];for(let a=0;a<i.length;a++){const u={};for(const[h,d]of Object.entries(o)){const m=v=>d.format==="date"?Wn(v).unix():v;Object.prototype.hasOwnProperty.call(i[a],h)?Array.isArray(i[a][h])?u[h]=o[h].min<=m(i[a][h][1])&&m(i[a][h][0])<=o[h].max:m(i[a][h])>=o[h].min&&m(i[a][h])<=o[h].max?u[h]=!0:u[h]=!1:u[h]=!0}Object.values(u).every(h=>!!h)&&l.push(i[a])}i=[...l]}const s=Object.entries(e).filter(([,l])=>l.type==="spatial").reduce((l,[a,u])=>(l[a]={geometry:u.state.geometry,mode:u.state.mode},l),{});if(Object.values(s).map(l=>l.geometry).filter(l=>!!l).length>0){const l=[];for(let a=0;a<i.length;a++){const u={};for(const h of Object.keys(s)){const d=s[h].mode||"within";Object.prototype.hasOwnProperty.call(i[a],h)&&(d==="within"?d0(i[a][h],s[h].geometry):h0(i[a][h],s[h].geometry))?u[h]=!0:u[h]=!1}Object.values(u).every(h=>!!h)&&l.push(i[a])}i=[...l]}return i};function b0(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://s2maps-tiles.eu/wmts/1.0.0/osm_3857/default/g/{z}/{y}/{x}.jpg",attribution:"{ OSM: Data &copy; OpenStreetMap contributors and others, Rendering &copy; EOX }"}}]}function Qi(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 ap(t,e){return t*2+e}function w0(t){return Object.keys(t).map(e=>({title:X`${e}:
508
- <strong>${t[e].stringifiedState}</strong>`,key:e})).filter(e=>t[e.key].dirty)}function pa(t){return Object.values(t).map(e=>e.dirty).filter(e=>e).length>0}async function $0(t,e,r){return await(await fetch(`${r.externalFilter(t,e)}`)).json()}function lp(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 o=i.shadowRoot.querySelector(".details-filter");o&&o!==n&&o.removeAttribute("open")})}else{if(!(n!=null&&n.open)||e!=null&&e.expandMultipleResults)return;r.querySelectorAll("details").forEach(i=>{i!==n&&i.removeAttribute("open")})}}class x0 extends it{constructor(){super();nt(this,Be);this.filterProperties={},this.unstyled=!1,this.inlineMode=!1,this.filters={},this._handleClickOutside=Se(this,Be,Dp).bind(this),this._handleKeyDown=Se(this,Be,Xa).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&&(document.addEventListener("click",this._handleClickOutside),document.addEventListener("focusout",this._handleClickOutside),document.addEventListener("keydown",this._handleKeyDown),setTimeout(()=>{const r=this.renderRoot.querySelector(".inline-container-wrapper"),n=this.renderRoot.querySelector("[popover]"),i=()=>{n.matches(":popover-open")&&Dh(r,n,{strategy:"fixed"}).then(({x:o,y:s})=>{Object.assign(n.style,{left:`${o}px`,top:`${s}px`,width:`${r.getBoundingClientRect().width}px`})})};this._overlayCleanup=Rh(r,n,i,{animationFrame:!0})}))}disconnectedCallback(){this.inlineMode&&(document.removeEventListener("click",this._handleClickOutside),document.removeEventListener("focusout",this._handleClickOutside),document.removeEventListener("keydown",this._handleKeyDown),this._overlayCleanup()),super.disconnectedCallback()}_overlayCleanup(){}updateInline(){this.inlineMode&&this.requestUpdate()}render(){return X`
507
+ `+e.prev}function Oi(t,e){var r=$s(t),n=[];if(r){n.length=t.length;for(var i=0;i<t.length;i++)n[i]=Xt(t,i)?e(t[i],t):""}var o=typeof ms=="function"?ms(t):[],s;if(Vr){s={};for(var l=0;l<o.length;l++)s["$"+o[l]]=o[l]}for(var a in t)Xt(t,a)&&(r&&String(Number(a))===a&&a<t.length||Vr&&s["$"+a]instanceof Symbol||(qc.call(/[^\w$]/,a)?n.push(e(a,t)+": "+e(t[a],t)):n.push(a+": "+e(t[a],t))));if(typeof ms=="function")for(var u=0;u<o.length;u++)Kc.call(t,o[u])&&n.push("["+e(o[u])+"]: "+e(t[o[u]],t));return n}var ou=At,Kr=ft,Fy=Sy,Wy=Yt,Ci=ou("%WeakMap%",!0),ki=ou("%Map%",!0),zy=Kr("WeakMap.prototype.get",!0),qy=Kr("WeakMap.prototype.set",!0),Gy=Kr("WeakMap.prototype.has",!0),Vy=Kr("Map.prototype.get",!0),Ky=Kr("Map.prototype.set",!0),Yy=Kr("Map.prototype.has",!0),As=function(t,e){for(var r=t,n;(n=r.next)!==null;r=n)if(n.key===e)return r.next=n.next,n.next=t.next,t.next=n,n},Jy=function(t,e){var r=As(t,e);return r&&r.value},Xy=function(t,e,r){var n=As(t,e);n?n.value=r:t.next={key:e,next:t.next,value:r}},Zy=function(t,e){return!!As(t,e)},su=function(){var e,r,n,i={assert:function(o){if(!i.has(o))throw new Wy("Side channel does not contain "+Fy(o))},get:function(o){if(Ci&&o&&(typeof o=="object"||typeof o=="function")){if(e)return zy(e,o)}else if(ki){if(r)return Vy(r,o)}else if(n)return Jy(n,o)},has:function(o){if(Ci&&o&&(typeof o=="object"||typeof o=="function")){if(e)return Gy(e,o)}else if(ki){if(r)return Yy(r,o)}else if(n)return Zy(n,o);return!1},set:function(o,s){Ci&&o&&(typeof o=="object"||typeof o=="function")?(e||(e=new Ci),qy(e,o,s)):ki?(r||(r=new ki),Ky(r,o,s)):(n||(n={key:{},next:null}),Xy(n,o,s))}};return i},Qy=cc,Bn=su(),Dt=Yt,_s={assert:function(t,e){if(!t||typeof t!="object"&&typeof t!="function")throw new Dt("`O` is not an object");if(typeof e!="string")throw new Dt("`slot` must be a string");if(Bn.assert(t),!_s.has(t,e))throw new Dt("`"+e+"` is not present on `O`")},get:function(t,e){if(!t||typeof t!="object"&&typeof t!="function")throw new Dt("`O` is not an object");if(typeof e!="string")throw new Dt("`slot` must be a string");var r=Bn.get(t);return r&&r["$"+e]},has:function(t,e){if(!t||typeof t!="object"&&typeof t!="function")throw new Dt("`O` is not an object");if(typeof e!="string")throw new Dt("`slot` must be a string");var r=Bn.get(t);return!!r&&Qy(r,"$"+e)},set:function(t,e,r){if(!t||typeof t!="object"&&typeof t!="function")throw new Dt("`O` is not an object");if(typeof e!="string")throw new Dt("`slot` must be a string");var n=Bn.get(t);n||(n={},Bn.set(t,n)),n["$"+e]=r}};Object.freeze&&Object.freeze(_s);var ev=_s,Nn=ev,tv=SyntaxError,au=typeof StopIteration=="object"?StopIteration:null,rv=function(e){if(!au)throw new tv("this environment lacks StopIteration");Nn.set(e,"[[Done]]",!1);var r={next:function(){var i=Nn.get(this,"[[Iterator]]"),o=Nn.get(i,"[[Done]]");try{return{done:o,value:o?void 0:i.next()}}catch(s){if(Nn.set(i,"[[Done]]",!0),s!==au)throw s;return{done:!0,value:void 0}}}};return Nn.set(r,"[[Iterator]]",e),r},Es,lu;function nv(){if(lu)return Es;lu=1;var t={}.toString;return Es=Array.isArray||function(e){return t.call(e)=="[object Array]"},Es}var iv=String.prototype.valueOf,ov=function(e){try{return iv.call(e),!0}catch{return!1}},sv=Object.prototype.toString,av="[object String]",lv=vr(),cu=function(e){return typeof e=="string"?!0:typeof e!="object"?!1:lv?ov(e):sv.call(e)===av},Ms=typeof Map=="function"&&Map.prototype?Map:null,cv=typeof Set=="function"&&Set.prototype?Set:null,Li;Ms||(Li=function(e){return!1});var uu=Ms?Map.prototype.has:null,fu=cv?Set.prototype.has:null;!Li&&!uu&&(Li=function(e){return!1});var pu=Li||function(e){if(!e||typeof e!="object")return!1;try{if(uu.call(e),fu)try{fu.call(e)}catch{return!0}return e instanceof Ms}catch{}return!1},uv=typeof Map=="function"&&Map.prototype?Map:null,Ps=typeof Set=="function"&&Set.prototype?Set:null,Ti;Ps||(Ti=function(e){return!1});var hu=uv?Map.prototype.has:null,du=Ps?Set.prototype.has:null;!Ti&&!du&&(Ti=function(e){return!1});var gu=Ti||function(e){if(!e||typeof e!="object")return!1;try{if(du.call(e),hu)try{hu.call(e)}catch{return!0}return e instanceof Ps}catch{}return!1},yu=Hc,vu=rv;if(ts()||wi()){var Os=Symbol.iterator;_i.exports=function(e){if(e!=null&&typeof e[Os]<"u")return e[Os]();if(yu(e))return Array.prototype[Os].call(e)}}else{var fv=nv(),pv=cu,mu=At,hv=mu("%Map%",!0),dv=mu("%Set%",!0),vt=ft,bu=vt("Array.prototype.push"),wu=vt("String.prototype.charCodeAt"),gv=vt("String.prototype.slice"),yv=function(e,r){var n=e.length;if(r+1>=n)return r+1;var i=wu(e,r);if(i<55296||i>56319)return r+1;var o=wu(e,r+1);return o<56320||o>57343?r+1:r+2},Cs=function(e){var r=0;return{next:function(){var i=r>=e.length,o;return i||(o=e[r],r+=1),{done:i,value:o}}}},$u=function(e,r){if(fv(e)||yu(e))return Cs(e);if(pv(e)){var n=0;return{next:function(){var o=yv(e,n),s=gv(e,n,o);return n=o,{done:o>e.length,value:s}}}}if(r&&typeof e["_es6-shim iterator_"]<"u")return e["_es6-shim iterator_"]()};if(!hv&&!dv)_i.exports=function(e){if(e!=null)return $u(e,!0)};else{var vv=pu,mv=gu,xu=vt("Map.prototype.forEach",!0),Su=vt("Set.prototype.forEach",!0);if(typeof process>"u"||!process.versions||!process.versions.node)var Au=vt("Map.prototype.iterator",!0),_u=vt("Set.prototype.iterator",!0);var Eu=vt("Map.prototype.@@iterator",!0)||vt("Map.prototype._es6-shim iterator_",!0),Mu=vt("Set.prototype.@@iterator",!0)||vt("Set.prototype._es6-shim iterator_",!0),bv=function(e){if(vv(e)){if(Au)return vu(Au(e));if(Eu)return Eu(e);if(xu){var r=[];return xu(e,function(i,o){bu(r,[o,i])}),Cs(r)}}if(mv(e)){if(_u)return vu(_u(e));if(Mu)return Mu(e);if(Su){var n=[];return Su(e,function(i){bu(n,i)}),Cs(n)}}};_i.exports=function(e){return bv(e)||$u(e)}}}var wv=_i.exports,Pu=function(t){return t!==t},Ou=function(e,r){return e===0&&r===0?1/e===1/r:!!(e===r||Pu(e)&&Pu(r))},$v=Ou,Cu=function(){return typeof Object.is=="function"?Object.is:$v},xv=Cu,Sv=yr,Av=function(){var e=xv();return Sv(Object,{is:e},{is:function(){return Object.is!==e}}),e},_v=yr,Ev=Gr,Mv=Ou,ku=Cu,Pv=Av,Lu=Ev(ku(),Object);_v(Lu,{getPolyfill:ku,implementation:Mv,shim:Pv});var Ov=Lu,Cv={}.toString,kv=Array.isArray||function(t){return Cv.call(t)=="[object Array]"},Lv=Gr,Tu=ft,Tv=At,ks=Tv("%ArrayBuffer%",!0),Ri=Tu("ArrayBuffer.prototype.byteLength",!0),Rv=Tu("Object.prototype.toString"),Ru=!!ks&&!Ri&&new ks(0).slice,Iu=!!Ru&&Lv(Ru),Du=Ri||Iu?function(e){if(!e||typeof e!="object")return!1;try{return Ri?Ri(e):Iu(e,0),!0}catch{return!1}}:ks?function(e){return Rv(e)==="[object ArrayBuffer]"}:function(e){return!1},Iv=Date.prototype.getDay,Dv=function(e){try{return Iv.call(e),!0}catch{return!1}},jv=Object.prototype.toString,Bv="[object Date]",Nv=vr(),Hv=function(e){return typeof e!="object"||e===null?!1:Nv?Dv(e):jv.call(e)===Bv},Ls=ft,ju=vr(),Bu,Nu,Ts,Rs;if(ju){Bu=Ls("Object.prototype.hasOwnProperty"),Nu=Ls("RegExp.prototype.exec"),Ts={};var Is=function(){throw Ts};Rs={toString:Is,valueOf:Is},typeof Symbol.toPrimitive=="symbol"&&(Rs[Symbol.toPrimitive]=Is)}var Uv=Ls("Object.prototype.toString"),Fv=Object.getOwnPropertyDescriptor,Wv="[object RegExp]",zv=ju?function(e){if(!e||typeof e!="object")return!1;var r=Fv(e,"lastIndex"),n=r&&Bu(r,"value");if(!n)return!1;try{Nu(e,Rs)}catch(i){return i===Ts}}:function(e){return!e||typeof e!="object"&&typeof e!="function"?!1:Uv(e)===Wv},qv=ft,Hu=qv("SharedArrayBuffer.prototype.byteLength",!0),Gv=Hu?function(e){if(!e||typeof e!="object")return!1;try{return Hu(e),!0}catch{return!1}}:function(e){return!1},Vv=Number.prototype.toString,Kv=function(e){try{return Vv.call(e),!0}catch{return!1}},Yv=Object.prototype.toString,Jv="[object Number]",Xv=vr(),Zv=function(e){return typeof e=="number"?!0:typeof e!="object"?!1:Xv?Kv(e):Yv.call(e)===Jv},Uu=ft,Qv=Uu("Boolean.prototype.toString"),em=Uu("Object.prototype.toString"),tm=function(e){try{return Qv(e),!0}catch{return!1}},rm="[object Boolean]",nm=vr(),im=function(e){return typeof e=="boolean"?!0:e===null||typeof e!="object"?!1:nm&&Symbol.toStringTag in e?tm(e):em(e)===rm},Ds={exports:{}},om=Object.prototype.toString,sm=ts();if(sm){var am=Symbol.prototype.toString,lm=/^Symbol\(.*\)$/,cm=function(e){return typeof e.valueOf()!="symbol"?!1:lm.test(am.call(e))};Ds.exports=function(e){if(typeof e=="symbol")return!0;if(om.call(e)!=="[object Symbol]")return!1;try{return cm(e)}catch{return!1}}}else Ds.exports=function(e){return!1};var um=Ds.exports,js={exports:{}},Fu=typeof BigInt<"u"&&BigInt,fm=function(){return typeof Fu=="function"&&typeof BigInt=="function"&&typeof Fu(42)=="bigint"&&typeof BigInt(42)=="bigint"},pm=fm();if(pm){var hm=BigInt.prototype.valueOf,dm=function(e){try{return hm.call(e),!0}catch{}return!1};js.exports=function(e){return e===null||typeof e>"u"||typeof e=="boolean"||typeof e=="string"||typeof e=="number"||typeof e=="symbol"||typeof e=="function"?!1:typeof e=="bigint"?!0:dm(e)}}else js.exports=function(e){return!1};var gm=js.exports,ym=cu,vm=Zv,mm=im,bm=um,wm=gm,$m=function(e){if(e==null||typeof e!="object"&&typeof e!="function")return null;if(ym(e))return"String";if(vm(e))return"Number";if(mm(e))return"Boolean";if(bm(e))return"Symbol";if(wm(e))return"BigInt"},Ii=typeof WeakMap=="function"&&WeakMap.prototype?WeakMap:null,Wu=typeof WeakSet=="function"&&WeakSet.prototype?WeakSet:null,Di;Ii||(Di=function(e){return!1});var Bs=Ii?Ii.prototype.has:null,Ns=Wu?Wu.prototype.has:null;!Di&&!Bs&&(Di=function(e){return!1});var xm=Di||function(e){if(!e||typeof e!="object")return!1;try{if(Bs.call(e,Bs),Ns)try{Ns.call(e,Ns)}catch{return!0}return e instanceof Ii}catch{}return!1},Hs={exports:{}},Sm=At,zu=ft,Am=Sm("%WeakSet%",!0),Us=zu("WeakSet.prototype.has",!0);if(Us){var Fs=zu("WeakMap.prototype.has",!0);Hs.exports=function(e){if(!e||typeof e!="object")return!1;try{if(Us(e,Us),Fs)try{Fs(e,Fs)}catch{return!0}return e instanceof Am}catch{}return!1}}else Hs.exports=function(e){return!1};var _m=Hs.exports,Em=pu,Mm=gu,Pm=xm,Om=_m,Cm=function(e){if(e&&typeof e=="object"){if(Em(e))return"Map";if(Mm(e))return"Set";if(Pm(e))return"WeakMap";if(Om(e))return"WeakSet"}return!1},qu=Function.prototype.toString,Yr=typeof Reflect=="object"&&Reflect!==null&&Reflect.apply,Ws,ji;if(typeof Yr=="function"&&typeof Object.defineProperty=="function")try{Ws=Object.defineProperty({},"length",{get:function(){throw ji}}),ji={},Yr(function(){throw 42},null,Ws)}catch(t){t!==ji&&(Yr=null)}else Yr=null;var km=/^\s*class\b/,zs=function(e){try{var r=qu.call(e);return km.test(r)}catch{return!1}},qs=function(e){try{return zs(e)?!1:(qu.call(e),!0)}catch{return!1}},Bi=Object.prototype.toString,Lm="[object Object]",Tm="[object Function]",Rm="[object GeneratorFunction]",Im="[object HTMLAllCollection]",Dm="[object HTML document.all class]",jm="[object HTMLCollection]",Bm=typeof Symbol=="function"&&!!Symbol.toStringTag,Nm=!(0 in[,]),Gs=function(){return!1};if(typeof document=="object"){var Hm=document.all;Bi.call(Hm)===Bi.call(document.all)&&(Gs=function(e){if((Nm||!e)&&(typeof e>"u"||typeof e=="object"))try{var r=Bi.call(e);return(r===Im||r===Dm||r===jm||r===Lm)&&e("")==null}catch{}return!1})}var Um=Yr?function(e){if(Gs(e))return!0;if(!e||typeof e!="function"&&typeof e!="object")return!1;try{Yr(e,null,Ws)}catch(r){if(r!==ji)return!1}return!zs(e)&&qs(e)}:function(e){if(Gs(e))return!0;if(!e||typeof e!="function"&&typeof e!="object")return!1;if(Bm)return qs(e);if(zs(e))return!1;var r=Bi.call(e);return r!==Tm&&r!==Rm&&!/^\[object HTML/.test(r)?!1:qs(e)},Fm=Um,Wm=Object.prototype.toString,Gu=Object.prototype.hasOwnProperty,zm=function(e,r,n){for(var i=0,o=e.length;i<o;i++)Gu.call(e,i)&&(n==null?r(e[i],i,e):r.call(n,e[i],i,e))},qm=function(e,r,n){for(var i=0,o=e.length;i<o;i++)n==null?r(e.charAt(i),i,e):r.call(n,e.charAt(i),i,e)},Gm=function(e,r,n){for(var i in e)Gu.call(e,i)&&(n==null?r(e[i],i,e):r.call(n,e[i],i,e))},Vm=function(e,r,n){if(!Fm(r))throw new TypeError("iterator must be a function");var i;arguments.length>=3&&(i=n),Wm.call(e)==="[object Array]"?zm(e,r,i):typeof e=="string"?qm(e,r,i):Gm(e,r,i)},Km=Vm,Vs=["BigInt64Array","BigUint64Array","Float32Array","Float64Array","Int16Array","Int32Array","Int8Array","Uint16Array","Uint32Array","Uint8Array","Uint8ClampedArray"],Ym=typeof globalThis>"u"?Ve:globalThis,Jm=function(){for(var e=[],r=0;r<Vs.length;r++)typeof Ym[Vs[r]]=="function"&&(e[e.length]=Vs[r]);return e},Ni=Km,Xm=Jm,Vu=Gr,Ks=ft,Hi=ss,Zm=Ks("Object.prototype.toString"),Ku=vr(),Yu=typeof globalThis>"u"?Ve:globalThis,Ys=Xm(),Js=Ks("String.prototype.slice"),Xs=Object.getPrototypeOf,Qm=Ks("Array.prototype.indexOf",!0)||function(e,r){for(var n=0;n<e.length;n+=1)if(e[n]===r)return n;return-1},Ui={__proto__:null};Ku&&Hi&&Xs?Ni(Ys,function(t){var e=new Yu[t];if(Symbol.toStringTag in e){var r=Xs(e),n=Hi(r,Symbol.toStringTag);if(!n){var i=Xs(r);n=Hi(i,Symbol.toStringTag)}Ui["$"+t]=Vu(n.get)}}):Ni(Ys,function(t){var e=new Yu[t],r=e.slice||e.set;r&&(Ui["$"+t]=Vu(r))});var eb=function(e){var r=!1;return Ni(Ui,function(n,i){if(!r)try{"$"+n(e)===i&&(r=Js(i,1))}catch{}}),r},tb=function(e){var r=!1;return Ni(Ui,function(n,i){if(!r)try{n(e),r=Js(i,1)}catch{}}),r},rb=function(e){if(!e||typeof e!="object")return!1;if(!Ku){var r=Js(Zm(e),8,-1);return Qm(Ys,r)>-1?r:r!=="Object"?!1:tb(e)}return Hi?eb(e):null},nb=ft,Ju=nb("ArrayBuffer.prototype.byteLength",!0),ib=Du,ob=function(e){return ib(e)?Ju?Ju(e):e.byteLength:NaN},Xu=Bg,Et=ft,Zu=ly,sb=At,Jr=wv,ab=su,Qu=Ov,ef=Hc,tf=kv,rf=Du,nf=Hv,of=zv,sf=Gv,af=es,lf=$m,cf=Cm,uf=rb,ff=ob,pf=Et("SharedArrayBuffer.prototype.byteLength",!0),hf=Et("Date.prototype.getTime"),Zs=Object.getPrototypeOf,df=Et("Object.prototype.toString"),Fi=sb("%Set%",!0),Qs=Et("Map.prototype.has",!0),Wi=Et("Map.prototype.get",!0),gf=Et("Map.prototype.size",!0),zi=Et("Set.prototype.add",!0),yf=Et("Set.prototype.delete",!0),qi=Et("Set.prototype.has",!0),Gi=Et("Set.prototype.size",!0);function vf(t,e,r,n){for(var i=Jr(t),o;(o=i.next())&&!o.done;)if(mt(e,o.value,r,n))return yf(t,o.value),!0;return!1}function mf(t){if(typeof t>"u")return null;if(typeof t!="object")return typeof t=="symbol"?!1:typeof t=="string"||typeof t=="number"?+t==+t:!0}function lb(t,e,r,n,i,o){var s=mf(r);if(s!=null)return s;var l=Wi(e,s),a=Xu({},i,{strict:!1});return typeof l>"u"&&!Qs(e,s)||!mt(n,l,a,o)?!1:!Qs(t,s)&&mt(n,l,a,o)}function cb(t,e,r){var n=mf(r);return n??(qi(e,n)&&!qi(t,n))}function bf(t,e,r,n,i,o){for(var s=Jr(t),l,a;(l=s.next())&&!l.done;)if(a=l.value,mt(r,a,i,o)&&mt(n,Wi(e,a),i,o))return yf(t,a),!0;return!1}function mt(t,e,r,n){var i=r||{};if(i.strict?Qu(t,e):t===e)return!0;var o=lf(t),s=lf(e);if(o!==s)return!1;if(!t||!e||typeof t!="object"&&typeof e!="object")return i.strict?Qu(t,e):t==e;var l=n.has(t),a=n.has(e),u;if(l&&a){if(n.get(t)===n.get(e))return!0}else u={};return l||n.set(t,u),a||n.set(e,u),pb(t,e,i,n)}function wf(t){return!t||typeof t!="object"||typeof t.length!="number"||typeof t.copy!="function"||typeof t.slice!="function"||t.length>0&&typeof t[0]!="number"?!1:!!(t.constructor&&t.constructor.isBuffer&&t.constructor.isBuffer(t))}function ub(t,e,r,n){if(Gi(t)!==Gi(e))return!1;for(var i=Jr(t),o=Jr(e),s,l,a;(s=i.next())&&!s.done;)if(s.value&&typeof s.value=="object")a||(a=new Fi),zi(a,s.value);else if(!qi(e,s.value)){if(r.strict||!cb(t,e,s.value))return!1;a||(a=new Fi),zi(a,s.value)}if(a){for(;(l=o.next())&&!l.done;)if(l.value&&typeof l.value=="object"){if(!vf(a,l.value,r.strict,n))return!1}else if(!r.strict&&!qi(t,l.value)&&!vf(a,l.value,r.strict,n))return!1;return Gi(a)===0}return!0}function fb(t,e,r,n){if(gf(t)!==gf(e))return!1;for(var i=Jr(t),o=Jr(e),s,l,a,u,h,d;(s=i.next())&&!s.done;)if(u=s.value[0],h=s.value[1],u&&typeof u=="object")a||(a=new Fi),zi(a,u);else if(d=Wi(e,u),typeof d>"u"&&!Qs(e,u)||!mt(h,d,r,n)){if(r.strict||!lb(t,e,u,h,r,n))return!1;a||(a=new Fi),zi(a,u)}if(a){for(;(l=o.next())&&!l.done;)if(u=l.value[0],d=l.value[1],u&&typeof u=="object"){if(!bf(a,t,u,d,r,n))return!1}else if(!r.strict&&(!t.has(u)||!mt(Wi(t,u),d,r,n))&&!bf(a,t,u,d,Xu({},r,{strict:!1}),n))return!1;return Gi(a)===0}return!0}function pb(t,e,r,n){var i,o;if(typeof t!=typeof e||t==null||e==null||df(t)!==df(e)||ef(t)!==ef(e))return!1;var s=tf(t),l=tf(e);if(s!==l)return!1;var a=t instanceof Error,u=e instanceof Error;if(a!==u||(a||u)&&(t.name!==e.name||t.message!==e.message))return!1;var h=of(t),d=of(e);if(h!==d||(h||d)&&(t.source!==e.source||Zu(t)!==Zu(e)))return!1;var m=nf(t),v=nf(e);if(m!==v||(m||v)&&hf(t)!==hf(e)||r.strict&&Zs&&Zs(t)!==Zs(e))return!1;var S=uf(t),_=uf(e);if(S!==_)return!1;if(S||_){if(t.length!==e.length)return!1;for(i=0;i<t.length;i++)if(t[i]!==e[i])return!1;return!0}var D=wf(t),j=wf(e);if(D!==j)return!1;if(D||j){if(t.length!==e.length)return!1;for(i=0;i<t.length;i++)if(t[i]!==e[i])return!1;return!0}var H=rf(t),W=rf(e);if(H!==W)return!1;if(H||W)return ff(t)!==ff(e)?!1:typeof Uint8Array=="function"&&mt(new Uint8Array(t),new Uint8Array(e),r,n);var Z=sf(t),z=sf(e);if(Z!==z)return!1;if(Z||z)return pf(t)!==pf(e)?!1:typeof Uint8Array=="function"&&mt(new Uint8Array(t),new Uint8Array(e),r,n);if(typeof t!=typeof e)return!1;var U=af(t),ee=af(e);if(U.length!==ee.length)return!1;for(U.sort(),ee.sort(),i=U.length-1;i>=0;i--)if(U[i]!=ee[i])return!1;for(i=U.length-1;i>=0;i--)if(o=U[i],!mt(t[o],e[o],r,n))return!1;var oe=cf(t),we=cf(e);return oe!==we?!1:oe==="Set"||we==="Set"?ub(t,e,r,n):oe==="Map"?fb(t,e,r,n):!0}var hb=function(e,r,n){return mt(e,r,n,ab())};const db=kn(hb);var gb=Object.defineProperty,ve=(t,e)=>gb(t,"name",{value:e,configurable:!0}),yb=class{constructor(e){this.direction=!1,this.compareProperties=!0;var r,n,i;this.precision=10**-((r=e==null?void 0:e.precision)!=null?r:17),this.direction=(n=e==null?void 0:e.direction)!=null?n:!1,this.compareProperties=(i=e==null?void 0:e.compareProperties)!=null?i:!0}compare(e,r){if(e.type!==r.type||!Hn(e,r))return!1;switch(e.type){case"Point":return this.compareCoord(e.coordinates,r.coordinates);case"LineString":return this.compareLine(e.coordinates,r.coordinates);case"Polygon":return this.comparePolygon(e,r);case"GeometryCollection":return this.compareGeometryCollection(e,r);case"Feature":return this.compareFeature(e,r);case"FeatureCollection":return this.compareFeatureCollection(e,r);default:if(e.type.startsWith("Multi")){const n=ea(e),i=ea(r);return n.every(o=>i.some(s=>this.compare(o,s)))}}return!1}compareCoord(e,r){return e.length===r.length&&e.every((n,i)=>Math.abs(n-r[i])<this.precision)}compareLine(e,r,n=0,i=!1){if(!Hn(e,r))return!1;const o=e;let s=r;if(i&&!this.compareCoord(o[0],s[0])){const a=this.fixStartIndex(s,o);if(a)s=a;else return!1}const l=this.compareCoord(o[n],s[n]);return this.direction||l?this.comparePath(o,s):this.compareCoord(o[n],s[s.length-(1+n)])?this.comparePath(o.slice().reverse(),s):!1}fixStartIndex(e,r){let n,i=-1;for(let o=0;o<e.length;o++)if(this.compareCoord(e[o],r[0])){i=o;break}return i>=0&&(n=[].concat(e.slice(i,e.length),e.slice(1,i+1))),n}comparePath(e,r){return e.every((n,i)=>this.compareCoord(n,r[i]))}comparePolygon(e,r){if(this.compareLine(e.coordinates[0],r.coordinates[0],1,!0)){const n=e.coordinates.slice(1,e.coordinates.length),i=r.coordinates.slice(1,r.coordinates.length);return n.every(o=>i.some(s=>this.compareLine(o,s,1,!0)))}return!1}compareGeometryCollection(e,r){return Hn(e.geometries,r.geometries)&&this.compareBBox(e,r)&&e.geometries.every((n,i)=>this.compare(n,r.geometries[i]))}compareFeature(e,r){return e.id===r.id&&(this.compareProperties?db(e.properties,r.properties):!0)&&this.compareBBox(e,r)&&this.compare(e.geometry,r.geometry)}compareFeatureCollection(e,r){return Hn(e.features,r.features)&&this.compareBBox(e,r)&&e.features.every((n,i)=>this.compare(n,r.features[i]))}compareBBox(e,r){return!e.bbox&&!r.bbox||(e.bbox&&r.bbox?this.compareCoord(e.bbox,r.bbox):!1)}};ve(yb,"GeojsonEquality");function Hn(t,e){return t.coordinates?t.coordinates.length===e.coordinates.length:t.length===e.length}ve(Hn,"sameLength");function ea(t){return t.coordinates.map(e=>({type:t.type.replace("Multi",""),coordinates:e}))}ve(ea,"explode");var at=63710088e-1,$f={centimeters:at*100,centimetres:at*100,degrees:360/(2*Math.PI),feet:at*3.28084,inches:at*39.37,kilometers:at/1e3,kilometres:at/1e3,meters:at,metres:at,miles:at/1609.344,millimeters:at*1e3,millimetres:at*1e3,nauticalmiles:at/1852,radians:1,yards:at*1.0936},xf={acres:247105e-9,centimeters:1e4,centimetres:1e4,feet:10.763910417,hectares:1e-4,inches:1550.003100006,kilometers:1e-6,kilometres:1e-6,meters:1,metres:1,miles:386e-9,nauticalmiles:29155334959812285e-23,millimeters:1e6,millimetres:1e6,yards:1.195990046};function pt(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}ve(pt,"feature");function vb(t,e,r={}){switch(t){case"Point":return Mt(e).geometry;case"LineString":return Pt(e).geometry;case"Polygon":return ta(e).geometry;case"MultiPoint":return Sf(e).geometry;case"MultiLineString":return ra(e).geometry;case"MultiPolygon":return Af(e).geometry;default:throw new Error(t+" is invalid")}}ve(vb,"geometry");function Mt(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(!Xr(t[0])||!Xr(t[1]))throw new Error("coordinates must contain numbers");return pt({type:"Point",coordinates:t},e,r)}ve(Mt,"point");function mb(t,e,r={}){return mr(t.map(n=>Mt(n,e)),r)}ve(mb,"points");function ta(t,e,r={}){for(const i of t){if(i.length<4)throw new Error("Each LinearRing of a Polygon must have 4 or more Positions.");if(i[i.length-1].length!==i[0].length)throw new Error("First and last Position are not equivalent.");for(let o=0;o<i[i.length-1].length;o++)if(i[i.length-1][o]!==i[0][o])throw new Error("First and last Position are not equivalent.")}return pt({type:"Polygon",coordinates:t},e,r)}ve(ta,"polygon");function bb(t,e,r={}){return mr(t.map(n=>ta(n,e)),r)}ve(bb,"polygons");function Pt(t,e,r={}){if(t.length<2)throw new Error("coordinates must be an array of two or more positions");return pt({type:"LineString",coordinates:t},e,r)}ve(Pt,"lineString");function wb(t,e,r={}){return mr(t.map(n=>Pt(n,e)),r)}ve(wb,"lineStrings");function mr(t,e={}){const r={type:"FeatureCollection"};return e.id&&(r.id=e.id),e.bbox&&(r.bbox=e.bbox),r.features=t,r}ve(mr,"featureCollection");function ra(t,e,r={}){return pt({type:"MultiLineString",coordinates:t},e,r)}ve(ra,"multiLineString");function Sf(t,e,r={}){return pt({type:"MultiPoint",coordinates:t},e,r)}ve(Sf,"multiPoint");function Af(t,e,r={}){return pt({type:"MultiPolygon",coordinates:t},e,r)}ve(Af,"multiPolygon");function $b(t,e,r={}){return pt({type:"GeometryCollection",geometries:t},e,r)}ve($b,"geometryCollection");function xb(t,e=0){if(e&&!(e>=0))throw new Error("precision must be a positive number");const r=Math.pow(10,e||0);return Math.round(t*r)/r}ve(xb,"round");function _f(t,e="kilometers"){const r=$f[e];if(!r)throw new Error(e+" units is invalid");return t*r}ve(_f,"radiansToLength");function na(t,e="kilometers"){const r=$f[e];if(!r)throw new Error(e+" units is invalid");return t/r}ve(na,"lengthToRadians");function Sb(t,e){return Ef(na(t,e))}ve(Sb,"lengthToDegrees");function Ab(t){let e=t%360;return e<0&&(e+=360),e}ve(Ab,"bearingToAzimuth");function Ef(t){return t%(2*Math.PI)*180/Math.PI}ve(Ef,"radiansToDegrees");function _b(t){return t%360*Math.PI/180}ve(_b,"degreesToRadians");function Eb(t,e="kilometers",r="kilometers"){if(!(t>=0))throw new Error("length must be a positive number");return _f(na(t,e),r)}ve(Eb,"convertLength");function Mb(t,e="meters",r="kilometers"){if(!(t>=0))throw new Error("area must be a positive number");const n=xf[e];if(!n)throw new Error("invalid original units");const i=xf[r];if(!i)throw new Error("invalid final units");return t/n*i}ve(Mb,"convertArea");function Xr(t){return!isNaN(t)&&t!==null&&!Array.isArray(t)}ve(Xr,"isNumber");function ia(t){return t!==null&&typeof t=="object"&&!Array.isArray(t)}ve(ia,"isObject");function Pb(t){if(!t)throw new Error("bbox is required");if(!Array.isArray(t))throw new Error("bbox must be an Array");if(t.length!==4&&t.length!==6)throw new Error("bbox must be an Array of 4 or 6 numbers");t.forEach(e=>{if(!Xr(e))throw new Error("bbox must only contain numbers")})}ve(Pb,"validateBBox");function Ob(t){if(!t)throw new Error("id is required");if(["string","number"].indexOf(typeof t)===-1)throw new Error("id must be a number or a string")}ve(Ob,"validateId");var Cb=Object.defineProperty,Qt=(t,e)=>Cb(t,"name",{value:e,configurable:!0});function oa(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")}Qt(oa,"getCoord");function Mf(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")}Qt(Mf,"getCoords");function Pf(t){if(t.length>1&&Xr(t[0])&&Xr(t[1]))return!0;if(Array.isArray(t[0])&&t[0].length)return Pf(t[0]);throw new Error("coordinates must only contain numbers")}Qt(Pf,"containsNumber");function kb(t,e,r){if(!e||!r)throw new Error("type and name required");if(!t||t.type!==e)throw new Error("Invalid input to "+r+": must be a "+e+", given "+t.type)}Qt(kb,"geojsonType");function Lb(t,e,r){if(!t)throw new Error("No feature passed");if(!r)throw new Error(".featureOf() requires a name");if(!t||t.type!=="Feature"||!t.geometry)throw new Error("Invalid input to "+r+", Feature with geometry required");if(!t.geometry||t.geometry.type!==e)throw new Error("Invalid input to "+r+": must be a "+e+", given "+t.geometry.type)}Qt(Lb,"featureOf");function Tb(t,e,r){if(!t)throw new Error("No featureCollection passed");if(!r)throw new Error(".collectionOf() requires a name");if(!t||t.type!=="FeatureCollection")throw new Error("Invalid input to "+r+", FeatureCollection required");for(const n of t.features){if(!n||n.type!=="Feature"||!n.geometry)throw new Error("Invalid input to "+r+", Feature with geometry required");if(!n.geometry||n.geometry.type!==e)throw new Error("Invalid input to "+r+": must be a "+e+", given "+n.geometry.type)}}Qt(Tb,"collectionOf");function br(t){return t.type==="Feature"?t.geometry:t}Qt(br,"getGeom");function Rb(t,e){return t.type==="FeatureCollection"?"FeatureCollection":t.type==="GeometryCollection"?"GeometryCollection":t.type==="Feature"&&t.geometry!==null?t.geometry.type:t.type}Qt(Rb,"getType");var Ib=Object.defineProperty,Of=(t,e)=>Ib(t,"name",{value:e,configurable:!0});function lt(t,e,r={}){if(!t)throw new Error("point is required");if(!e)throw new Error("polygon is required");const n=oa(t),i=br(e),o=i.type,s=e.bbox;let l=i.coordinates;if(s&&Cf(n,s)===!1)return!1;o==="Polygon"&&(l=[l]);let a=!1;for(var u=0;u<l.length;++u){const h=Ad(n,l[u]);if(h===0)return!r.ignoreBoundary;h&&(a=!0)}return a}Of(lt,"booleanPointInPolygon");function Cf(t,e){return e[0]<=t[0]&&e[1]<=t[1]&&e[2]>=t[0]&&e[3]>=t[1]}Of(Cf,"inBBox");class kf{constructor(e=[],r=Db){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 o=e-1>>1,s=r[o];if(n(i,s)>=0)break;r[e]=s,e=o}r[e]=i}_down(e){const{data:r,compare:n}=this,i=this.length>>1,o=r[e];for(;e<i;){let s=(e<<1)+1,l=r[s];const a=s+1;if(a<this.length&&n(r[a],l)<0&&(s=a,l=r[a]),n(l,o)>=0)break;r[e]=l,e=s}r[e]=o}}function Db(t,e){return t<e?-1:t>e?1:0}function Lf(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 jb(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 Tf{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 Bb(t,e){if(t.type==="FeatureCollection"){const r=t.features;for(let n=0;n<r.length;n++)Rf(r[n],e)}else Rf(t,e)}let Vi=0,Ki=0,Yi=0;function Rf(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 o=0;o<n[i].length;o++){let s=n[i][o][0],l=null;Ki=Ki+1;for(let a=0;a<n[i][o].length-1;a++){l=n[i][o][a+1];const u=new Tf(s,Vi,Ki,Yi),h=new Tf(l,Vi,Ki,Yi+1);u.otherEvent=h,h.otherEvent=u,Lf(u,h)>0?(h.isLeftEndpoint=!0,u.isLeftEndpoint=!1):(u.isLeftEndpoint=!0,h.isLeftEndpoint=!1),e.push(u),e.push(h),s=l,Yi=Yi+1}}Vi=Vi+1}class Nb{constructor(e){this.leftSweepEvent=e,this.rightSweepEvent=e.otherEvent}}function Hb(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,o=t.rightSweepEvent.p.y,s=e.leftSweepEvent.p.x,l=e.leftSweepEvent.p.y,a=e.rightSweepEvent.p.x,u=e.rightSweepEvent.p.y,h=(u-l)*(i-r)-(a-s)*(o-n),d=(a-s)*(n-l)-(u-l)*(r-s),m=(i-r)*(n-l)-(o-n)*(r-s);if(h===0)return!1;const v=d/h,S=m/h;if(v>=0&&v<=1&&S>=0&&S<=1){const _=r+v*(i-r),D=n+v*(o-n);return[_,D]}return!1}function Ub(t,e){e=e||!1;const r=[],n=new kf([],jb);for(;t.length;){const i=t.pop();if(i.isLeftEndpoint){const o=new Nb(i);for(let s=0;s<n.data.length;s++){const l=n.data[s];if(e&&l.leftSweepEvent.featureId===i.featureId)continue;const a=Hb(o,l);a!==!1&&r.push(a)}n.push(o)}else i.isLeftEndpoint===!1&&n.pop()}return r}function Fb(t,e){const r=new kf([],Lf);return Bb(t,r),Ub(r,e)}var Wb=Object.defineProperty,zb=(t,e)=>Wb(t,"name",{value:e,configurable:!0}),qb=Fb;function Ji(t,e,r={}){const{removeDuplicates:n=!0,ignoreSelfIntersections:i=!1}=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(pt(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(pt(e));const s=qb(mr(o),i);let l=[];if(n){const a={};s.forEach(u=>{const h=u.join(",");a[h]||(a[h]=!0,l.push(u))})}else l=s;return mr(l.map(a=>Mt(a)))}zb(Ji,"lineIntersect");var Gb=Object.defineProperty,We=(t,e)=>Gb(t,"name",{value:e,configurable:!0});function Zr(t,e,r){if(t!==null)for(var n,i,o,s,l,a,u,h=0,d=0,m,v=t.type,S=v==="FeatureCollection",_=v==="Feature",D=S?t.features.length:1,j=0;j<D;j++){u=S?t.features[j].geometry:_?t.geometry:t,m=u?u.type==="GeometryCollection":!1,l=m?u.geometries.length:1;for(var H=0;H<l;H++){var W=0,Z=0;if(s=m?u.geometries[H]:u,s!==null){a=s.coordinates;var z=s.type;switch(h=r&&(z==="Polygon"||z==="MultiPolygon")?1:0,z){case null:break;case"Point":if(e(a,d,j,W,Z)===!1)return!1;d++,W++;break;case"LineString":case"MultiPoint":for(n=0;n<a.length;n++){if(e(a[n],d,j,W,Z)===!1)return!1;d++,z==="MultiPoint"&&W++}z==="LineString"&&W++;break;case"Polygon":case"MultiLineString":for(n=0;n<a.length;n++){for(i=0;i<a[n].length-h;i++){if(e(a[n][i],d,j,W,Z)===!1)return!1;d++}z==="MultiLineString"&&W++,z==="Polygon"&&Z++}z==="Polygon"&&W++;break;case"MultiPolygon":for(n=0;n<a.length;n++){for(Z=0,i=0;i<a[n].length;i++){for(o=0;o<a[n][i].length-h;o++){if(e(a[n][i][o],d,j,W,Z)===!1)return!1;d++}Z++}W++}break;case"GeometryCollection":for(n=0;n<s.geometries.length;n++)if(Zr(s.geometries[n],e,r)===!1)return!1;break;default:throw new Error("Unknown Geometry Type")}}}}}We(Zr,"coordEach");function Vb(t,e,r,n){var i=r;return Zr(t,function(o,s,l,a,u){s===0&&r===void 0?i=o:i=e(i,o,s,l,a,u)},n),i}We(Vb,"coordReduce");function If(t,e){var r;switch(t.type){case"FeatureCollection":for(r=0;r<t.features.length&&e(t.features[r].properties,r)!==!1;r++);break;case"Feature":e(t.properties,0);break}}We(If,"propEach");function Kb(t,e,r){var n=r;return If(t,function(i,o){o===0&&r===void 0?n=i:n=e(n,i,o)}),n}We(Kb,"propReduce");function Df(t,e){if(t.type==="Feature")e(t,0);else if(t.type==="FeatureCollection")for(var r=0;r<t.features.length&&e(t.features[r],r)!==!1;r++);}We(Df,"featureEach");function Yb(t,e,r){var n=r;return Df(t,function(i,o){o===0&&r===void 0?n=i:n=e(n,i,o)}),n}We(Yb,"featureReduce");function Jb(t){var e=[];return Zr(t,function(r){e.push(r)}),e}We(Jb,"coordAll");function sa(t,e){var r,n,i,o,s,l,a,u,h,d,m=0,v=t.type==="FeatureCollection",S=t.type==="Feature",_=v?t.features.length:1;for(r=0;r<_;r++){for(l=v?t.features[r].geometry:S?t.geometry:t,u=v?t.features[r].properties:S?t.properties:{},h=v?t.features[r].bbox:S?t.bbox:void 0,d=v?t.features[r].id:S?t.id:void 0,a=l?l.type==="GeometryCollection":!1,s=a?l.geometries.length:1,i=0;i<s;i++){if(o=a?l.geometries[i]:l,o===null){if(e(null,m,u,h,d)===!1)return!1;continue}switch(o.type){case"Point":case"LineString":case"MultiPoint":case"Polygon":case"MultiLineString":case"MultiPolygon":{if(e(o,m,u,h,d)===!1)return!1;break}case"GeometryCollection":{for(n=0;n<o.geometries.length;n++)if(e(o.geometries[n],m,u,h,d)===!1)return!1;break}default:throw new Error("Unknown Geometry Type")}}m++}}We(sa,"geomEach");function Xb(t,e,r){var n=r;return sa(t,function(i,o,s,l,a){o===0&&r===void 0?n=i:n=e(n,i,o,s,l,a)}),n}We(Xb,"geomReduce");function er(t,e){sa(t,function(r,n,i,o,s){var l=r===null?null:r.type;switch(l){case null:case"Point":case"LineString":case"Polygon":return e(pt(r,i,{bbox:o,id:s}),n,0)===!1?!1:void 0}var a;switch(l){case"MultiPoint":a="Point";break;case"MultiLineString":a="LineString";break;case"MultiPolygon":a="Polygon";break}for(var u=0;u<r.coordinates.length;u++){var h=r.coordinates[u],d={type:a,coordinates:h};if(e(pt(d,i),n,u)===!1)return!1}})}We(er,"flattenEach");function Zb(t,e,r){var n=r;return er(t,function(i,o,s){o===0&&s===0&&r===void 0?n=i:n=e(n,i,o,s)}),n}We(Zb,"flattenReduce");function jf(t,e){er(t,function(r,n,i){var o=0;if(r.geometry){var s=r.geometry.type;if(!(s==="Point"||s==="MultiPoint")){var l,a=0,u=0,h=0;if(Zr(r,function(d,m,v,S,_){if(l===void 0||n>a||S>u||_>h){l=d,a=n,u=S,h=_,o=0;return}var D=Pt([l,d],r.properties);if(e(D,n,i,_,o)===!1)return!1;o++,l=d})===!1)return!1}}})}We(jf,"segmentEach");function Qb(t,e,r){var n=r,i=!1;return jf(t,function(o,s,l,a,u){i===!1&&r===void 0?n=o:n=e(n,o,s,l,a,u),i=!0}),n}We(Qb,"segmentReduce");function Bf(t,e){if(!t)throw new Error("geojson is required");er(t,function(r,n,i){if(r.geometry!==null){var o=r.geometry.type,s=r.geometry.coordinates;switch(o){case"LineString":if(e(r,n,i,0,0)===!1)return!1;break;case"Polygon":for(var l=0;l<s.length;l++)if(e(Pt(s[l],r.properties),n,i,l)===!1)return!1;break}}})}We(Bf,"lineEach");function e0(t,e,r){var n=r;return Bf(t,function(i,o,s,l){o===0&&r===void 0?n=i:n=e(n,i,o,s,l)}),n}We(e0,"lineReduce");function t0(t,e){if(e=e||{},!ia(e))throw new Error("options is invalid");var r=e.featureIndex||0,n=e.multiFeatureIndex||0,i=e.geometryIndex||0,o=e.segmentIndex||0,s=e.properties,l;switch(t.type){case"FeatureCollection":r<0&&(r=t.features.length+r),s=s||t.features[r].properties,l=t.features[r].geometry;break;case"Feature":s=s||t.properties,l=t.geometry;break;case"Point":case"MultiPoint":return null;case"LineString":case"Polygon":case"MultiLineString":case"MultiPolygon":l=t;break;default:throw new Error("geojson is invalid")}if(l===null)return null;var a=l.coordinates;switch(l.type){case"Point":case"MultiPoint":return null;case"LineString":return o<0&&(o=a.length+o-1),Pt([a[o],a[o+1]],s,e);case"Polygon":return i<0&&(i=a.length+i),o<0&&(o=a[i].length+o-1),Pt([a[i][o],a[i][o+1]],s,e);case"MultiLineString":return n<0&&(n=a.length+n),o<0&&(o=a[n].length+o-1),Pt([a[n][o],a[n][o+1]],s,e);case"MultiPolygon":return n<0&&(n=a.length+n),i<0&&(i=a[n].length+i),o<0&&(o=a[n][i].length-o-1),Pt([a[n][i][o],a[n][i][o+1]],s,e)}throw new Error("geojson is invalid")}We(t0,"findSegment");function r0(t,e){if(e=e||{},!ia(e))throw new Error("options is invalid");var r=e.featureIndex||0,n=e.multiFeatureIndex||0,i=e.geometryIndex||0,o=e.coordIndex||0,s=e.properties,l;switch(t.type){case"FeatureCollection":r<0&&(r=t.features.length+r),s=s||t.features[r].properties,l=t.features[r].geometry;break;case"Feature":s=s||t.properties,l=t.geometry;break;case"Point":case"MultiPoint":return null;case"LineString":case"Polygon":case"MultiLineString":case"MultiPolygon":l=t;break;default:throw new Error("geojson is invalid")}if(l===null)return null;var a=l.coordinates;switch(l.type){case"Point":return Mt(a,s,e);case"MultiPoint":return n<0&&(n=a.length+n),Mt(a[n],s,e);case"LineString":return o<0&&(o=a.length+o),Mt(a[o],s,e);case"Polygon":return i<0&&(i=a.length+i),o<0&&(o=a[i].length+o),Mt(a[i][o],s,e);case"MultiLineString":return n<0&&(n=a.length+n),o<0&&(o=a[n].length+o),Mt(a[n][o],s,e);case"MultiPolygon":return n<0&&(n=a.length+n),i<0&&(i=a[n].length+i),o<0&&(o=a[n][i].length-o),Mt(a[n][i][o],s,e)}throw new Error("geojson is invalid")}We(r0,"findPoint");var n0=Object.defineProperty,Xi=(t,e)=>n0(t,"name",{value:e,configurable:!0});function Zi(t,e={}){const r=br(t);switch(!e.properties&&t.type==="Feature"&&(e.properties=t.properties),r.type){case"Polygon":return Nf(r,e);case"MultiPolygon":return Hf(r,e);default:throw new Error("invalid poly")}}Xi(Zi,"polygonToLine");function Nf(t,e={}){const n=br(t).coordinates,i=e.properties?e.properties:t.type==="Feature"?t.properties:{};return aa(n,i)}Xi(Nf,"singlePolygonToLine");function Hf(t,e={}){const n=br(t).coordinates,i=e.properties?e.properties:t.type==="Feature"?t.properties:{},o=[];return n.forEach(s=>{o.push(aa(s,i))}),mr(o)}Xi(Hf,"multiPolygonToLine");function aa(t,e){return t.length>1?ra(t,e):Pt(t[0],e)}Xi(aa,"coordsToLine");var i0=Object.defineProperty,tr=(t,e)=>i0(t,"name",{value:e,configurable:!0});function Uf(t,e){let r=!0;return er(t,n=>{er(e,i=>{if(r===!1)return!1;r=Ff(n.geometry,i.geometry)})}),r}tr(Uf,"booleanDisjoint");function Ff(t,e){switch(t.type){case"Point":switch(e.type){case"Point":return!Gf(t.coordinates,e.coordinates);case"LineString":return!la(e,t);case"Polygon":return!lt(t,e)}break;case"LineString":switch(e.type){case"Point":return!la(t,e);case"LineString":return!Wf(t,e);case"Polygon":return!ca(e,t)}break;case"Polygon":switch(e.type){case"Point":return!lt(e,t);case"LineString":return!ca(t,e);case"Polygon":return!zf(e,t)}}return!1}tr(Ff,"disjoint");function la(t,e){for(let r=0;r<t.coordinates.length-1;r++)if(qf(t.coordinates[r],t.coordinates[r+1],e.coordinates))return!0;return!1}tr(la,"isPointOnLine");function Wf(t,e){return Ji(t,e).features.length>0}tr(Wf,"isLineOnLine");function ca(t,e){for(const n of e.coordinates)if(lt(n,t))return!0;return Ji(e,Zi(t)).features.length>0}tr(ca,"isLineInPoly");function zf(t,e){for(const n of t.coordinates[0])if(lt(n,e))return!0;for(const n of e.coordinates[0])if(lt(n,t))return!0;return Ji(Zi(t),Zi(e)).features.length>0}tr(zf,"isPolyInPoly");function qf(t,e,r){const n=r[0]-t[0],i=r[1]-t[1],o=e[0]-t[0],s=e[1]-t[1];return n*s-i*o!==0?!1:Math.abs(o)>=Math.abs(s)?o>0?t[0]<=r[0]&&r[0]<=e[0]:e[0]<=r[0]&&r[0]<=t[0]:s>0?t[1]<=r[1]&&r[1]<=e[1]:e[1]<=r[1]&&r[1]<=t[1]}tr(qf,"isPointOnLineSegment");function Gf(t,e){return t[0]===e[0]&&t[1]===e[1]}tr(Gf,"compareCoords");var o0=Object.defineProperty,s0=(t,e)=>o0(t,"name",{value:e,configurable:!0});function Vf(t,e){let r=!1;return er(t,n=>{er(e,i=>{if(r===!0)return!0;r=!Uf(n.geometry,i.geometry)})}),r}s0(Vf,"booleanIntersects");var a0=Vf,l0=Object.defineProperty,c0=(t,e)=>l0(t,"name",{value:e,configurable:!0});function Un(t,e={}){if(t.bbox!=null&&e.recompute!==!0)return t.bbox;const r=[1/0,1/0,-1/0,-1/0];return Zr(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}c0(Un,"bbox");var u0=Object.defineProperty,Kf=(t,e)=>u0(t,"name",{value:e,configurable:!0});function Fn(t,e,r={}){const n=oa(t),i=Mf(e);for(let o=0;o<i.length-1;o++){let s=!1;if(r.ignoreEndVertices&&(o===0&&(s="start"),o===i.length-2&&(s="end"),o===0&&o+1===i.length-1&&(s="both")),Yf(i[o],i[o+1],n,s,typeof r.epsilon>"u"?null:r.epsilon))return!0}return!1}Kf(Fn,"booleanPointOnLine");function Yf(t,e,r,n,i){const o=r[0],s=r[1],l=t[0],a=t[1],u=e[0],h=e[1],d=r[0]-l,m=r[1]-a,v=u-l,S=h-a,_=d*S-m*v;if(i!==null){if(Math.abs(_)>i)return!1}else if(_!==0)return!1;if(n){if(n==="start")return Math.abs(v)>=Math.abs(S)?v>0?l<o&&o<=u:u<=o&&o<l:S>0?a<s&&s<=h:h<=s&&s<a;if(n==="end")return Math.abs(v)>=Math.abs(S)?v>0?l<=o&&o<u:u<o&&o<=l:S>0?a<=s&&s<h:h<s&&s<=a;if(n==="both")return Math.abs(v)>=Math.abs(S)?v>0?l<o&&o<u:u<o&&o<l:S>0?a<s&&s<h:h<s&&s<a}else return Math.abs(v)>=Math.abs(S)?v>0?l<=o&&o<=u:u<=o&&o<=l:S>0?a<=s&&s<=h:h<=s&&s<=a;return!1}Kf(Yf,"isPointOnLineSegment");var f0=Object.defineProperty,bt=(t,e)=>f0(t,"name",{value:e,configurable:!0});function Jf(t,e){var r=br(t),n=br(e),i=r.type,o=n.type;switch(i){case"Point":switch(o){case"MultiPoint":return Xf(r,n);case"LineString":return Fn(r,n,{ignoreEndVertices:!0});case"Polygon":case"MultiPolygon":return lt(r,n,{ignoreBoundary:!0});default:throw new Error("feature2 "+o+" geometry not supported")}case"MultiPoint":switch(o){case"MultiPoint":return Zf(r,n);case"LineString":return Qf(r,n);case"Polygon":case"MultiPolygon":return ep(r,n);default:throw new Error("feature2 "+o+" geometry not supported")}case"LineString":switch(o){case"LineString":return tp(r,n);case"Polygon":case"MultiPolygon":return rp(r,n);default:throw new Error("feature2 "+o+" geometry not supported")}case"Polygon":switch(o){case"Polygon":case"MultiPolygon":return np(r,n);default:throw new Error("feature2 "+o+" geometry not supported")}default:throw new Error("feature1 "+i+" geometry not supported")}}bt(Jf,"booleanWithin");function Xf(t,e){var r,n=!1;for(r=0;r<e.coordinates.length;r++)if(fa(e.coordinates[r],t.coordinates)){n=!0;break}return n}bt(Xf,"isPointInMultiPoint");function Zf(t,e){for(var r=0;r<t.coordinates.length;r++){for(var n=!1,i=0;i<e.coordinates.length;i++)fa(t.coordinates[r],e.coordinates[i])&&(n=!0);if(!n)return!1}return!0}bt(Zf,"isMultiPointInMultiPoint");function Qf(t,e){for(var r=!1,n=0;n<t.coordinates.length;n++){if(!Fn(t.coordinates[n],e))return!1;r||(r=Fn(t.coordinates[n],e,{ignoreEndVertices:!0}))}return r}bt(Qf,"isMultiPointOnLine");function ep(t,e){for(var r=!0,n=!1,i=0;i<t.coordinates.length;i++){if(n=lt(t.coordinates[i],e),!n){r=!1;break}n=lt(t.coordinates[i],e,{ignoreBoundary:!0})}return r&&n}bt(ep,"isMultiPointInPoly");function tp(t,e){for(var r=0;r<t.coordinates.length;r++)if(!Fn(t.coordinates[r],e))return!1;return!0}bt(tp,"isLineOnLine");function rp(t,e){var r=Un(e),n=Un(t);if(!ua(r,n))return!1;for(var i=!1,o=0;o<t.coordinates.length;o++){if(!lt(t.coordinates[o],e))return!1;if(i||(i=lt(t.coordinates[o],e,{ignoreBoundary:!0})),!i&&o<t.coordinates.length-1){var s=ip(t.coordinates[o],t.coordinates[o+1]);i=lt(s,e,{ignoreBoundary:!0})}}return i}bt(rp,"isLineInPoly");function np(t,e){var r=Un(t),n=Un(e);if(!ua(n,r))return!1;for(var i=0;i<t.coordinates[0].length;i++)if(!lt(t.coordinates[0][i],e))return!1;return!0}bt(np,"isPolyInPoly");function ua(t,e){return!(t[0]>e[0]||t[2]<e[2]||t[1]>e[1]||t[3]<e[3])}bt(ua,"doBBoxOverlap");function fa(t,e){return t[0]===e[0]&&t[1]===e[1]}bt(fa,"compareCoords");function ip(t,e){return[(t[0]+e[0])/2,(t[1]+e[1])/2]}bt(ip,"getMidpoint");var p0=Jf;const h0=(t,e)=>e?a0(t,e):!0,d0=(t,e)=>e?p0(t,e):!0;function g0(t,e="highlight",r="title"){const n=(o,s,l)=>{const a=s.split(".");let u;for(u=0;u<a.length-1;u++)o=o[a[u]];o[a[u]]=l},i=(o,s=[])=>{let l="",a=0;return s.forEach(u=>{const h=u[1]+1;l+=[o.substring(a,u[0]),`<mark class="${e}">`,o.substring(u[0],h),"</mark>"].join(""),a=h}),l+=o.substring(a),l};return t.filter(({matches:o})=>o&&o.length).map(({item:o,matches:s})=>{const l={...o};return s.forEach(a=>{a.key===r&&n(l,a.key,i(a.value,a.indices))}),l})}var op={exports:{}};(function(t,e){(function(r,n){t.exports=n()})(Ve,function(){var r=1e3,n=6e4,i=36e5,o="millisecond",s="second",l="minute",a="hour",u="day",h="week",d="month",m="quarter",v="year",S="date",_="Invalid Date",D=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,j=/\[([^\]]+)]|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,H={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(R){var M=["th","st","nd","rd"],E=R%100;return"["+R+(M[(E-20)%10]||M[E]||M[0])+"]"}},W=function(R,M,E){var B=String(R);return!B||B.length>=M?R:""+Array(M+1-B.length).join(E)+R},Z={s:W,z:function(R){var M=-R.utcOffset(),E=Math.abs(M),B=Math.floor(E/60),O=E%60;return(M<=0?"+":"-")+W(B,2,"0")+":"+W(O,2,"0")},m:function R(M,E){if(M.date()<E.date())return-R(E,M);var B=12*(E.year()-M.year())+(E.month()-M.month()),O=M.clone().add(B,d),Y=E-O<0,J=M.clone().add(B+(Y?-1:1),d);return+(-(B+(E-O)/(Y?O-J:J-O))||0)},a:function(R){return R<0?Math.ceil(R)||0:Math.floor(R)},p:function(R){return{M:d,y:v,w:h,d:u,D:S,h:a,m:l,s,ms:o,Q:m}[R]||String(R||"").toLowerCase().replace(/s$/,"")},u:function(R){return R===void 0}},z="en",U={};U[z]=H;var ee="$isDayjsObject",oe=function(R){return R instanceof Ne||!(!R||!R[ee])},we=function R(M,E,B){var O;if(!M)return z;if(typeof M=="string"){var Y=M.toLowerCase();U[Y]&&(O=Y),E&&(U[Y]=E,O=Y);var J=M.split("-");if(!O&&J.length>1)return R(J[0])}else{var ye=M.name;U[ye]=M,O=ye}return!B&&O&&(z=O),O||!B&&z},de=function(R,M){if(oe(R))return R.clone();var E=typeof M=="object"?M:{};return E.date=R,E.args=arguments,new Ne(E)},ne=Z;ne.l=we,ne.i=oe,ne.w=function(R,M){return de(R,{locale:M.$L,utc:M.$u,x:M.$x,$offset:M.$offset})};var Ne=function(){function R(E){this.$L=we(E.locale,null,!0),this.parse(E),this.$x=this.$x||E.x||{},this[ee]=!0}var M=R.prototype;return M.parse=function(E){this.$d=function(B){var O=B.date,Y=B.utc;if(O===null)return new Date(NaN);if(ne.u(O))return new Date;if(O instanceof Date)return new Date(O);if(typeof O=="string"&&!/Z$/i.test(O)){var J=O.match(D);if(J){var ye=J[2]-1||0,_e=(J[7]||"0").substring(0,3);return Y?new Date(Date.UTC(J[1],ye,J[3]||1,J[4]||0,J[5]||0,J[6]||0,_e)):new Date(J[1],ye,J[3]||1,J[4]||0,J[5]||0,J[6]||0,_e)}}return new Date(O)}(E),this.init()},M.init=function(){var E=this.$d;this.$y=E.getFullYear(),this.$M=E.getMonth(),this.$D=E.getDate(),this.$W=E.getDay(),this.$H=E.getHours(),this.$m=E.getMinutes(),this.$s=E.getSeconds(),this.$ms=E.getMilliseconds()},M.$utils=function(){return ne},M.isValid=function(){return this.$d.toString()!==_},M.isSame=function(E,B){var O=de(E);return this.startOf(B)<=O&&O<=this.endOf(B)},M.isAfter=function(E,B){return de(E)<this.startOf(B)},M.isBefore=function(E,B){return this.endOf(B)<de(E)},M.$g=function(E,B,O){return ne.u(E)?this[B]:this.set(O,E)},M.unix=function(){return Math.floor(this.valueOf()/1e3)},M.valueOf=function(){return this.$d.getTime()},M.startOf=function(E,B){var O=this,Y=!!ne.u(B)||B,J=ne.p(E),ye=function(Te,se){var Re=ne.w(O.$u?Date.UTC(O.$y,se,Te):new Date(O.$y,se,Te),O);return Y?Re:Re.endOf(u)},_e=function(Te,se){return ne.w(O.toDate()[Te].apply(O.toDate("s"),(Y?[0,0,0,0]:[23,59,59,999]).slice(se)),O)},Pe=this.$W,Ce=this.$M,Ye=this.$D,Le="set"+(this.$u?"UTC":"");switch(J){case v:return Y?ye(1,0):ye(31,11);case d:return Y?ye(1,Ce):ye(0,Ce+1);case h:var Je=this.$locale().weekStart||0,ce=(Pe<Je?Pe+7:Pe)-Je;return ye(Y?Ye-ce:Ye+(6-ce),Ce);case u:case S:return _e(Le+"Hours",0);case a:return _e(Le+"Minutes",1);case l:return _e(Le+"Seconds",2);case s:return _e(Le+"Milliseconds",3);default:return this.clone()}},M.endOf=function(E){return this.startOf(E,!1)},M.$set=function(E,B){var O,Y=ne.p(E),J="set"+(this.$u?"UTC":""),ye=(O={},O[u]=J+"Date",O[S]=J+"Date",O[d]=J+"Month",O[v]=J+"FullYear",O[a]=J+"Hours",O[l]=J+"Minutes",O[s]=J+"Seconds",O[o]=J+"Milliseconds",O)[Y],_e=Y===u?this.$D+(B-this.$W):B;if(Y===d||Y===v){var Pe=this.clone().set(S,1);Pe.$d[ye](_e),Pe.init(),this.$d=Pe.set(S,Math.min(this.$D,Pe.daysInMonth())).$d}else ye&&this.$d[ye](_e);return this.init(),this},M.set=function(E,B){return this.clone().$set(E,B)},M.get=function(E){return this[ne.p(E)]()},M.add=function(E,B){var O,Y=this;E=Number(E);var J=ne.p(B),ye=function(Ce){var Ye=de(Y);return ne.w(Ye.date(Ye.date()+Math.round(Ce*E)),Y)};if(J===d)return this.set(d,this.$M+E);if(J===v)return this.set(v,this.$y+E);if(J===u)return ye(1);if(J===h)return ye(7);var _e=(O={},O[l]=n,O[a]=i,O[s]=r,O)[J]||1,Pe=this.$d.getTime()+E*_e;return ne.w(Pe,this)},M.subtract=function(E,B){return this.add(-1*E,B)},M.format=function(E){var B=this,O=this.$locale();if(!this.isValid())return O.invalidDate||_;var Y=E||"YYYY-MM-DDTHH:mm:ssZ",J=ne.z(this),ye=this.$H,_e=this.$m,Pe=this.$M,Ce=O.weekdays,Ye=O.months,Le=O.meridiem,Je=function(se,Re,Ot,Ee){return se&&(se[Re]||se(B,Y))||Ot[Re].slice(0,Ee)},ce=function(se){return ne.s(ye%12||12,se,"0")},Te=Le||function(se,Re,Ot){var Ee=se<12?"AM":"PM";return Ot?Ee.toLowerCase():Ee};return Y.replace(j,function(se,Re){return Re||function(Ot){switch(Ot){case"YY":return String(B.$y).slice(-2);case"YYYY":return ne.s(B.$y,4,"0");case"M":return Pe+1;case"MM":return ne.s(Pe+1,2,"0");case"MMM":return Je(O.monthsShort,Pe,Ye,3);case"MMMM":return Je(Ye,Pe);case"D":return B.$D;case"DD":return ne.s(B.$D,2,"0");case"d":return String(B.$W);case"dd":return Je(O.weekdaysMin,B.$W,Ce,2);case"ddd":return Je(O.weekdaysShort,B.$W,Ce,3);case"dddd":return Ce[B.$W];case"H":return String(ye);case"HH":return ne.s(ye,2,"0");case"h":return ce(1);case"hh":return ce(2);case"a":return Te(ye,_e,!0);case"A":return Te(ye,_e,!1);case"m":return String(_e);case"mm":return ne.s(_e,2,"0");case"s":return String(B.$s);case"ss":return ne.s(B.$s,2,"0");case"SSS":return ne.s(B.$ms,3,"0");case"Z":return J}return null}(se)||J.replace(":","")})},M.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},M.diff=function(E,B,O){var Y,J=this,ye=ne.p(B),_e=de(E),Pe=(_e.utcOffset()-this.utcOffset())*n,Ce=this-_e,Ye=function(){return ne.m(J,_e)};switch(ye){case v:Y=Ye()/12;break;case d:Y=Ye();break;case m:Y=Ye()/3;break;case h:Y=(Ce-Pe)/6048e5;break;case u:Y=(Ce-Pe)/864e5;break;case a:Y=Ce/i;break;case l:Y=Ce/n;break;case s:Y=Ce/r;break;default:Y=Ce}return O?Y:ne.a(Y)},M.daysInMonth=function(){return this.endOf(d).$D},M.$locale=function(){return U[this.$L]},M.locale=function(E,B){if(!E)return this.$L;var O=this.clone(),Y=we(E,B,!0);return Y&&(O.$L=Y),O},M.clone=function(){return ne.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()},R}(),et=Ne.prototype;return de.prototype=et,[["$ms",o],["$s",s],["$m",l],["$H",a],["$W",u],["$M",d],["$y",v],["$D",S]].forEach(function(R){et[R[1]]=function(M){return this.$g(M,R[0],R[1])}}),de.extend=function(R,M){return R.$i||(R(M,Ne,de),R.$i=!0),de},de.locale=we,de.isDayjs=oe,de.unix=function(R){return de(1e3*R)},de.en=U[z],de.Ls=U,de.p={},de})})(op);var y0=op.exports;const Wn=kn(y0);let sp;const v0=(t,e)=>{sp=new Kt(t,{threshold:.4,distance:50,includeMatches:!0,useExtendedSearch:!0,...e})},m0=async(t,e,r)=>{const n=Object.entries(e).filter(([,l])=>l.type==="text"||l.type==="select"||l.type==="multiselect").reduce((l,[a,u])=>{const h="$or",d=[],m=(v,S)=>{const _={};u.type==="text"?_[v]=`${S}`:_[a]=`="${v}"`,d.push(_)};return Object.entries(u.state).filter(([,v])=>v).forEach(([v,S])=>m(v,S)),d.length>0&&l.push({[h]:d}),l},[]);let i;if(!(n.length>0)&&r.matchAllWhenEmpty!==!1)i=t;else{const l={$and:[...n]},a=sp.search(l);i=r.enableHighlighting?g0(a,"highlight",r.titleProperty):a.map(u=>u.item)}const o=Object.entries(e).filter(([,l])=>l.type==="range").reduce((l,[a,u])=>(l[a]={min:u.state.min,max:u.state.max,format:u.format},l),{});if(Object.keys(o).length>0){const l=[];for(let a=0;a<i.length;a++){const u={};for(const[h,d]of Object.entries(o)){const m=v=>d.format==="date"?Wn(v).unix():v;Object.prototype.hasOwnProperty.call(i[a],h)?Array.isArray(i[a][h])?u[h]=o[h].min<=m(i[a][h][1])&&m(i[a][h][0])<=o[h].max:m(i[a][h])>=o[h].min&&m(i[a][h])<=o[h].max?u[h]=!0:u[h]=!1:u[h]=!0}Object.values(u).every(h=>!!h)&&l.push(i[a])}i=[...l]}const s=Object.entries(e).filter(([,l])=>l.type==="spatial").reduce((l,[a,u])=>(l[a]={geometry:u.state.geometry,mode:u.state.mode},l),{});if(Object.values(s).map(l=>l.geometry).filter(l=>!!l).length>0){const l=[];for(let a=0;a<i.length;a++){const u={};for(const h of Object.keys(s)){const d=s[h].mode||"within";Object.prototype.hasOwnProperty.call(i[a],h)&&(d==="within"?d0(i[a][h],s[h].geometry):h0(i[a][h],s[h].geometry))?u[h]=!0:u[h]=!1}Object.values(u).every(h=>!!h)&&l.push(i[a])}i=[...l]}return i};function b0(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://s2maps-tiles.eu/wmts/1.0.0/osm_3857/default/g/{z}/{y}/{x}.jpg",attribution:"{ OSM: Data &copy; OpenStreetMap contributors and others, Rendering &copy; EOX }"}}]}function Qi(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 ap(t,e){return t*2+e}function w0(t){return Object.keys(t).map(e=>({title:X`${e}:
508
+ <strong>${t[e].stringifiedState}</strong>`,key:e})).filter(e=>t[e.key].dirty)}function pa(t){return Object.values(t).map(e=>e.dirty).filter(e=>e).length>0}async function $0(t,e,r){return await(await fetch(`${r.externalFilter(t,e)}`)).json()}function lp(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 o=i.shadowRoot.querySelector(".details-filter");o&&o!==n&&o.removeAttribute("open")})}else{if(!(n!=null&&n.open)||e!=null&&e.expandMultipleResults)return;r.querySelectorAll("details").forEach(i=>{i!==n&&i.removeAttribute("open")})}}class x0 extends it{constructor(){super();nt(this,Be);this.filterProperties={},this.unstyled=!1,this.inlineMode=!1,this.filters={},this._handleClickOutside=Se(this,Be,Ip).bind(this),this._handleKeyDown=Se(this,Be,Xa).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&&(document.addEventListener("click",this._handleClickOutside),document.addEventListener("focusout",this._handleClickOutside),document.addEventListener("keydown",this._handleKeyDown),setTimeout(()=>{const r=this.renderRoot.querySelector(".inline-container-wrapper"),n=this.renderRoot.querySelector("[popover]"),i=()=>{n.matches(":popover-open")&&Ih(r,n,{strategy:"fixed"}).then(({x:o,y:s})=>{Object.assign(n.style,{left:`${o}px`,top:`${s}px`,width:`${r.getBoundingClientRect().width}px`})})};this._overlayCleanup=Rh(r,n,i,{animationFrame:!0})}))}disconnectedCallback(){this.inlineMode&&(document.removeEventListener("click",this._handleClickOutside),document.removeEventListener("focusout",this._handleClickOutside),document.removeEventListener("keydown",this._handleKeyDown),this._overlayCleanup()),super.disconnectedCallback()}_overlayCleanup(){}updateInline(){this.inlineMode&&this.requestUpdate()}render(){return X`
509
509
  <style>
510
510
  ${!this.unstyled&&Pn}
511
511
  </style>
@@ -539,7 +539,7 @@ li.highlighted,
539
539
  id="eox-itemfilter-input-search"
540
540
  type="text"
541
541
  @click="${Se(this,Be,Za)}"
542
- @focus="${Se(this,Be,Ip)}"
542
+ @focus="${Se(this,Be,Dp)}"
543
543
  @input="${Se(this,Be,Bp)}"
544
544
  placeholder="Search and add filter"
545
545
  aria-haspopup="true"
@@ -560,7 +560,7 @@ li.highlighted,
560
560
  </div>
561
561
  </div>
562
562
  `:X`<slot name="section"></slot>`}
563
- `}}Be=new WeakSet,Dp=function(r){Sd(r,this)},Xa=function(r){xd(r,this)},Za=function(r){$d(r,this)},Ip=function(){wd(this)},Qa=function(r){bd(r,this)},jp=function(r){md(r,this)},Bp=function(r){Zl(r,this)},customElements.define("eox-itemfilter-container",x0);var S0="Expected a function",cp=NaN,A0="[object Symbol]",_0=/^\s+|\s+$/g,E0=/^[-+]0x[0-9a-f]+$/i,M0=/^0b[01]+$/i,P0=/^0o[0-7]+$/i,O0=parseInt,C0=typeof Ve=="object"&&Ve&&Ve.Object===Object&&Ve,k0=typeof self=="object"&&self&&self.Object===Object&&self,L0=C0||k0||Function("return this")(),T0=Object.prototype,R0=T0.toString,D0=Math.max,I0=Math.min,ha=function(){return L0.Date.now()};function j0(t,e,r){var n,i,o,s,l,a,u=0,h=!1,d=!1,m=!0;if(typeof t!="function")throw new TypeError(S0);e=up(e)||0,da(r)&&(h=!!r.leading,d="maxWait"in r,o=d?D0(up(r.maxWait)||0,e):o,m="trailing"in r?!!r.trailing:m);function v(U){var ee=n,oe=i;return n=i=void 0,u=U,s=t.apply(oe,ee),s}function S(U){return u=U,l=setTimeout(j,e),h?v(U):s}function _(U){var ee=U-a,oe=U-u,we=e-ee;return d?I0(we,o-oe):we}function I(U){var ee=U-a,oe=U-u;return a===void 0||ee>=e||ee<0||d&&oe>=o}function j(){var U=ha();if(I(U))return H(U);l=setTimeout(j,_(U))}function H(U){return l=void 0,m&&n?v(U):(n=i=void 0,s)}function W(){l!==void 0&&clearTimeout(l),u=0,n=a=i=l=void 0}function Z(){return l===void 0?s:H(ha())}function z(){var U=ha(),ee=I(U);if(n=arguments,i=this,a=U,ee){if(l===void 0)return S(a);if(d)return l=setTimeout(j,e),v(a)}return l===void 0&&(l=setTimeout(j,e)),s}return z.cancel=W,z.flush=Z,z}function da(t){var e=typeof t;return!!t&&(e=="object"||e=="function")}function B0(t){return!!t&&typeof t=="object"}function N0(t){return typeof t=="symbol"||B0(t)&&R0.call(t)==A0}function up(t){if(typeof t=="number")return t;if(N0(t))return cp;if(da(t)){var e=typeof t.valueOf=="function"?t.valueOf():t;t=da(e)?e+"":e}if(typeof t!="string")return t===0?t:+t;t=t.replace(_0,"");var r=M0.test(t);return r||P0.test(t)?O0(t.slice(2),r?2:8):E0.test(t)?cp:+t}var H0=j0;const eo=kn(H0);function U0(t){const e=t.renderRoot.querySelector("input[type='text']");e.value="",Qi(t.filterObject),t.requestUpdate()}function F0(t){const e=t.renderRoot.querySelector("input[type='text']");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()}function W0(t){Qi(t.filterObject),t.requestUpdate()}function z0(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=`${Wn(r)} - ${Wn(n)}`),e.dispatchEvent(new CustomEvent("filter")),r===e.filterObject.min&&n===e.filterObject.max?e.reset():e.requestUpdate()}function q0(t,e,r){const n=r.filterObject.format==="date",i=r.filterObject.state[t],o=n?Wn.unix(i):i;return X`<div class="range-${e}">${o}</div>`}function G0(t){V0(-1,t),Qi(t.filterObject),t.requestUpdate()}function V0(t,e){e.selectedItems=t===-1?[]:e.selectedItems.filter((r,n)=>n!==t),ga(e),pp(e)}function fp(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),ga(e),pp(e)}function K0(t,e){e.query=t.target.value,e.showSuggestions=!0}function Y0(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&&fp(e.filteredSuggestions[e.highlightedIndex],e);break;case"Escape":e.showSuggestions=!1;break}}function J0(t,e){(t.has("suggestions")||t.has("query"))&&ga(e)}function X0(t,e){var n;const r=((n=t.filterObject)==null?void 0:n.sort)||((i,o)=>i.localeCompare(o));return e.sort(r).map(i=>i)}function ga(t){var r,n,i;let e;t.query&&(e=new Kt(t.suggestions,{threshold:.4}).search(t.query).map(s=>s.item)),t.filteredSuggestions=X0(t,e||t.suggestions),(r=t.filterObject)!=null&&r.filterKeys&&(t.filteredSuggestions=(n=t.filterObject)==null?void 0:n.filterKeys.map(o=>`${o}`),t.filterObject.state=(i=t.filterObject)==null?void 0:i.filterKeys.map(o=>`${o}`).reduce((o,s)=>(s in o||(o[s]=void 0),o),t.filterObject.state)),t.highlightedIndex=-1}function pp(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 Z0(t){Qi(t.filterObject),t.renderRoot.querySelector("eox-itemfilter-spatial-filter").reset(),t.requestUpdate()}function Q0(t){t.renderRoot.querySelector("#eox-map").innerHTML="",hp(t)}function e1(t,e){e.filterObject.state.mode=t;const r=new CustomEvent("filter",{detail:{[e.filterObject.key]:{}}});e.dispatchEvent(r)}function hp(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&&t1(t.geometry),n=b0(t.geometry,r);t.eoxMap=t.renderRoot.querySelector("eox-map"),setTimeout(()=>{t.eoxMap.layers=n;const i=o=>{const s=new CustomEvent("filter",{detail:{geometry:{type:"Polygon",coordinates:o.getGeometry().clone().transform("EPSG:3857","EPSG:4326").getCoordinates()}}});t.dispatchEvent(s)};t.eoxMap.interactions.drawInteraction.on("drawend",o=>{i(o.feature),t.eoxMap.removeInteraction("drawInteraction")}),t.eoxMap.interactions.drawInteraction_modify.on("modifyend",o=>{i(o.features.getArray()[0])})},1e3)}function t1(t){return`data:text/json,${encodeURIComponent(JSON.stringify({type:"FeatureCollection",features:[{type:"Feature",properties:null,geometry:t}]}))}`}class r1 extends it{constructor(){super();nt(this,so,()=>{F0(this)});ui(this,"debouncedInputHandler",eo(ut(this,so),500,{leading:!0}));this.filterObject={},this.unstyled=!1,this.tabIndex=0}static get properties(){return{filterObject:{attribute:!1,type:Object},tabIndex:{attribute:!1,type:Number},unstyled:{type:Boolean}}}reset(){U0(this)}createRenderRoot(){return this}render(){return Ge(this.filterObject,()=>X`
563
+ `}}Be=new WeakSet,Ip=function(r){Sd(r,this)},Xa=function(r){xd(r,this)},Za=function(r){$d(r,this)},Dp=function(){wd(this)},Qa=function(r){bd(r,this)},jp=function(r){md(r,this)},Bp=function(r){Zl(r,this)},customElements.define("eox-itemfilter-container",x0);var S0="Expected a function",cp=NaN,A0="[object Symbol]",_0=/^\s+|\s+$/g,E0=/^[-+]0x[0-9a-f]+$/i,M0=/^0b[01]+$/i,P0=/^0o[0-7]+$/i,O0=parseInt,C0=typeof Ve=="object"&&Ve&&Ve.Object===Object&&Ve,k0=typeof self=="object"&&self&&self.Object===Object&&self,L0=C0||k0||Function("return this")(),T0=Object.prototype,R0=T0.toString,I0=Math.max,D0=Math.min,ha=function(){return L0.Date.now()};function j0(t,e,r){var n,i,o,s,l,a,u=0,h=!1,d=!1,m=!0;if(typeof t!="function")throw new TypeError(S0);e=up(e)||0,da(r)&&(h=!!r.leading,d="maxWait"in r,o=d?I0(up(r.maxWait)||0,e):o,m="trailing"in r?!!r.trailing:m);function v(U){var ee=n,oe=i;return n=i=void 0,u=U,s=t.apply(oe,ee),s}function S(U){return u=U,l=setTimeout(j,e),h?v(U):s}function _(U){var ee=U-a,oe=U-u,we=e-ee;return d?D0(we,o-oe):we}function D(U){var ee=U-a,oe=U-u;return a===void 0||ee>=e||ee<0||d&&oe>=o}function j(){var U=ha();if(D(U))return H(U);l=setTimeout(j,_(U))}function H(U){return l=void 0,m&&n?v(U):(n=i=void 0,s)}function W(){l!==void 0&&clearTimeout(l),u=0,n=a=i=l=void 0}function Z(){return l===void 0?s:H(ha())}function z(){var U=ha(),ee=D(U);if(n=arguments,i=this,a=U,ee){if(l===void 0)return S(a);if(d)return l=setTimeout(j,e),v(a)}return l===void 0&&(l=setTimeout(j,e)),s}return z.cancel=W,z.flush=Z,z}function da(t){var e=typeof t;return!!t&&(e=="object"||e=="function")}function B0(t){return!!t&&typeof t=="object"}function N0(t){return typeof t=="symbol"||B0(t)&&R0.call(t)==A0}function up(t){if(typeof t=="number")return t;if(N0(t))return cp;if(da(t)){var e=typeof t.valueOf=="function"?t.valueOf():t;t=da(e)?e+"":e}if(typeof t!="string")return t===0?t:+t;t=t.replace(_0,"");var r=M0.test(t);return r||P0.test(t)?O0(t.slice(2),r?2:8):E0.test(t)?cp:+t}var H0=j0;const eo=kn(H0);function U0(t){const e=t.renderRoot.querySelector("input[type='text']");e.value="",Qi(t.filterObject),t.requestUpdate()}function F0(t){const e=t.renderRoot.querySelector("input[type='text']");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()}function W0(t){Qi(t.filterObject),t.requestUpdate()}function z0(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=`${Wn(r)} - ${Wn(n)}`),e.dispatchEvent(new CustomEvent("filter")),r===e.filterObject.min&&n===e.filterObject.max?e.reset():e.requestUpdate()}function q0(t,e,r){const n=r.filterObject.format==="date",i=r.filterObject.state[t],o=n?Wn.unix(i):i;return X`<div class="range-${e}">${o}</div>`}function G0(t){V0(-1,t),Qi(t.filterObject),t.requestUpdate()}function V0(t,e){e.selectedItems=t===-1?[]:e.selectedItems.filter((r,n)=>n!==t),ga(e),pp(e)}function fp(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),ga(e),pp(e)}function K0(t,e){e.query=t.target.value,e.showSuggestions=!0}function Y0(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&&fp(e.filteredSuggestions[e.highlightedIndex],e);break;case"Escape":e.showSuggestions=!1;break}}function J0(t,e){(t.has("suggestions")||t.has("query"))&&ga(e)}function X0(t,e){var n;const r=((n=t.filterObject)==null?void 0:n.sort)||((i,o)=>i.localeCompare(o));return e.sort(r).map(i=>i)}function ga(t){var r,n,i;let e;t.query&&(e=new Kt(t.suggestions,{threshold:.4}).search(t.query).map(s=>s.item)),t.filteredSuggestions=X0(t,e||t.suggestions),(r=t.filterObject)!=null&&r.filterKeys&&(t.filteredSuggestions=(n=t.filterObject)==null?void 0:n.filterKeys.map(o=>`${o}`),t.filterObject.state=(i=t.filterObject)==null?void 0:i.filterKeys.map(o=>`${o}`).reduce((o,s)=>(s in o||(o[s]=void 0),o),t.filterObject.state)),t.highlightedIndex=-1}function pp(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 Z0(t){Qi(t.filterObject),t.renderRoot.querySelector("eox-itemfilter-spatial-filter").reset(),t.requestUpdate()}function Q0(t){t.renderRoot.querySelector("#eox-map").innerHTML="",hp(t)}function ew(t,e){e.filterObject.state.mode=t;const r=new CustomEvent("filter",{detail:{[e.filterObject.key]:{}}});e.dispatchEvent(r)}function hp(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&&tw(t.geometry),n=b0(t.geometry,r);t.eoxMap=t.renderRoot.querySelector("eox-map"),setTimeout(()=>{t.eoxMap.layers=n;const i=o=>{const s=new CustomEvent("filter",{detail:{geometry:{type:"Polygon",coordinates:o.getGeometry().clone().transform("EPSG:3857","EPSG:4326").getCoordinates()}}});t.dispatchEvent(s)};t.eoxMap.interactions.drawInteraction.on("drawend",o=>{i(o.feature),t.eoxMap.removeInteraction("drawInteraction")}),t.eoxMap.interactions.drawInteraction_modify.on("modifyend",o=>{i(o.features.getArray()[0])})},1e3)}function tw(t){return`data:text/json,${encodeURIComponent(JSON.stringify({type:"FeatureCollection",features:[{type:"Feature",properties:null,geometry:t}]}))}`}class rw extends it{constructor(){super();nt(this,so,()=>{F0(this)});ui(this,"debouncedInputHandler",eo(ut(this,so),500,{leading:!0}));this.filterObject={},this.unstyled=!1,this.tabIndex=0}static get properties(){return{filterObject:{attribute:!1,type:Object},tabIndex:{attribute:!1,type:Number},unstyled:{type:Boolean}}}reset(){U0(this)}createRenderRoot(){return this}render(){return Ge(this.filterObject,()=>X`
564
564
  <style></style>
565
565
  <div class="text-container">
566
566
  <div class="text-container-wrapper">
@@ -577,7 +577,7 @@ li.highlighted,
577
577
  />
578
578
  </div>
579
579
  </div>
580
- `)}}so=new WeakMap,customElements.define("eox-itemfilter-text",r1);class dp extends it{constructor(){super(...arguments),this.templates={},this._renderedTemplates={}}setBindingSyntax(e,r){this._startExpression=e,this._endExpression=r;const n=this.escapeRegex(this._startExpression),i=this.escapeRegex(this._endExpression);this._expression=new RegExp(`${n}\\s*([$\\w\\.,'"\\s()\\[\\]]+)\\s*${i}`,"g")}hasTemplate(e){return this.templates&&!!this.templates[e]}renderTemplate(e,r,n){if(!this.hasTemplate(e))return null;n=n||e;const i=X` <slot name=${n}></slot> `,o={[e]:{...r}};if(this._renderedTemplates.hasOwnProperty(n)){const{slot:l}=this._renderedTemplates[n];this.contains(l)&&this.removeChild(l)}const s=document.createElement("div");return s.slot=n,s.dataset.generated="template",this._renderTemplate(s,this.templates[e],o),this.appendChild(s),this._renderedTemplates[n]={context:o,slot:s},i}getTemplates(){const e={};for(let r=0;r<this.children.length;r++){const n=this.children[r];if(n.nodeName==="RENDER-TEMPLATE"){const i=n;i.dataset.type?e[i.dataset.type]=i:e.default=i,i.templateOrder=r}}return e}_renderTemplate(e,r,n){let i;if(r&&r.childNodes.length){const o=r.cloneNode(!0);i=this.renderNode(o,e,n)}i&&e.appendChild(i)}expandExpressionsAsString(e,r){return e.replace(this.expression,(n,i)=>{const o=this.evalInContext(i||this.trimExpression(n),r);return o?typeof o=="object"?JSON.stringify(o):o.toString():""})}get expression(){return this._expression||this.setBindingSyntax("{{","}}"),this._expression}escapeRegex(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}evalInContext(e,r){r={...r};const n=new Function("with(this) { return "+e+";}");let i;try{i=n.call(r)}catch{}return i}trimExpression(e){return e=e.trim(),e.startsWith(this._startExpression)&&e.endsWith(this._endExpression)&&(e=e.substr(this._startExpression.length,e.length-this._startExpression.length-this._endExpression.length),e=e.trim()),e}renderNode(e,r,n){if(e.nodeName==="#text")return e.textContent=this.expandExpressionsAsString(e.textContent,n),e;if(e.nodeName==="TEMPLATE")return e.$parentTemplateContext=n,e;for(let i=0;i<e.childNodes.length;i++){const o=e.childNodes[i];this.renderNode(o,r,n)}return e}firstUpdated(){this.templates=this.getTemplates()}}function n1(t,e,r){return t.filter(n=>{const i=n[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(i)?i.includes(e):i===e})}/**
580
+ `)}}so=new WeakMap,customElements.define("eox-itemfilter-text",rw);class dp extends it{constructor(){super(...arguments),this.templates={},this._renderedTemplates={}}setBindingSyntax(e,r){this._startExpression=e,this._endExpression=r;const n=this.escapeRegex(this._startExpression),i=this.escapeRegex(this._endExpression);this._expression=new RegExp(`${n}\\s*([$\\w\\.,'"\\s()\\[\\]]+)\\s*${i}`,"g")}hasTemplate(e){return this.templates&&!!this.templates[e]}renderTemplate(e,r,n){if(!this.hasTemplate(e))return null;n=n||e;const i=X` <slot name=${n}></slot> `,o={[e]:{...r}};if(this._renderedTemplates.hasOwnProperty(n)){const{slot:l}=this._renderedTemplates[n];this.contains(l)&&this.removeChild(l)}const s=document.createElement("div");return s.slot=n,s.dataset.generated="template",this._renderTemplate(s,this.templates[e],o),this.appendChild(s),this._renderedTemplates[n]={context:o,slot:s},i}getTemplates(){const e={};for(let r=0;r<this.children.length;r++){const n=this.children[r];if(n.nodeName==="RENDER-TEMPLATE"){const i=n;i.dataset.type?e[i.dataset.type]=i:e.default=i,i.templateOrder=r}}return e}_renderTemplate(e,r,n){let i;if(r&&r.childNodes.length){const o=r.cloneNode(!0);i=this.renderNode(o,e,n)}i&&e.appendChild(i)}expandExpressionsAsString(e,r){return e.replace(this.expression,(n,i)=>{const o=this.evalInContext(i||this.trimExpression(n),r);return o?typeof o=="object"?JSON.stringify(o):o.toString():""})}get expression(){return this._expression||this.setBindingSyntax("{{","}}"),this._expression}escapeRegex(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}evalInContext(e,r){r={...r};const n=new Function("with(this) { return "+e+";}");let i;try{i=n.call(r)}catch{}return i}trimExpression(e){return e=e.trim(),e.startsWith(this._startExpression)&&e.endsWith(this._endExpression)&&(e=e.substr(this._startExpression.length,e.length-this._startExpression.length-this._endExpression.length),e=e.trim()),e}renderNode(e,r,n){if(e.nodeName==="#text")return e.textContent=this.expandExpressionsAsString(e.textContent,n),e;if(e.nodeName==="TEMPLATE")return e.$parentTemplateContext=n,e;for(let i=0;i<e.childNodes.length;i++){const o=e.childNodes[i];this.renderNode(o,r,n)}return e}firstUpdated(){this.templates=this.getTemplates()}}function nw(t,e,r){return t.filter(n=>{const i=n[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(i)?i.includes(e):i===e})}/**
581
581
  * @license
582
582
  * Copyright 2017 Google LLC
583
583
  * SPDX-License-Identifier: BSD-3-Clause
@@ -585,15 +585,15 @@ li.highlighted,
585
585
  * @license
586
586
  * Copyright 2020 Google LLC
587
587
  * SPDX-License-Identifier: BSD-3-Clause
588
- */const{I:i1}=ah,mp=()=>document.createComment(""),zn=(t,e,r)=>{var o;const n=t._$AA.parentNode,i=e===void 0?t._$AB:e._$AA;if(r===void 0){const s=n.insertBefore(mp(),i),l=n.insertBefore(mp(),i);r=new i1(s,l,t,t.options)}else{const s=r._$AB.nextSibling,l=r._$AM,a=l!==t;if(a){let u;(o=r._$AQ)==null||o.call(r,t),r._$AM=t,r._$AP!==void 0&&(u=t._$AU)!==l._$AU&&r._$AP(u)}if(s!==i||a){let u=r._$AA;for(;u!==s;){const h=u.nextSibling;n.insertBefore(u,i),u=h}}}return r},wr=(t,e,r=t)=>(t._$AI(e,r),t),o1={},s1=(t,e=o1)=>t._$AH=e,a1=t=>t._$AH,ya=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}};/**
588
+ */const{I:iw}=ah,mp=()=>document.createComment(""),zn=(t,e,r)=>{var o;const n=t._$AA.parentNode,i=e===void 0?t._$AB:e._$AA;if(r===void 0){const s=n.insertBefore(mp(),i),l=n.insertBefore(mp(),i);r=new iw(s,l,t,t.options)}else{const s=r._$AB.nextSibling,l=r._$AM,a=l!==t;if(a){let u;(o=r._$AQ)==null||o.call(r,t),r._$AM=t,r._$AP!==void 0&&(u=t._$AU)!==l._$AU&&r._$AP(u)}if(s!==i||a){let u=r._$AA;for(;u!==s;){const h=u.nextSibling;n.insertBefore(u,i),u=h}}}return r},wr=(t,e,r=t)=>(t._$AI(e,r),t),ow={},sw=(t,e=ow)=>t._$AH=e,aw=t=>t._$AH,ya=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}};/**
589
589
  * @license
590
590
  * Copyright 2017 Google LLC
591
591
  * SPDX-License-Identifier: BSD-3-Clause
592
- */const bp=(t,e,r)=>{const n=new Map;for(let i=e;i<=r;i++)n.set(t[i],i);return n},l1=yp(class extends vp{constructor(t){if(super(t),t.type!==gp.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=[],o=[];let s=0;for(const l of t)i[s]=n?n(l,s):s,o[s]=r(l,s),s++;return{values:o,keys:i}}render(t,e,r){return this.dt(t,e,r).values}update(t,[e,r,n]){const i=a1(t),{values:o,keys:s}=this.dt(e,r,n);if(!Array.isArray(i))return this.ut=s,o;const l=this.ut??(this.ut=[]),a=[];let u,h,d=0,m=i.length-1,v=0,S=o.length-1;for(;d<=m&&v<=S;)if(i[d]===null)d++;else if(i[m]===null)m--;else if(l[d]===s[v])a[v]=wr(i[d],o[v]),d++,v++;else if(l[m]===s[S])a[S]=wr(i[m],o[S]),m--,S--;else if(l[d]===s[S])a[S]=wr(i[d],o[S]),zn(t,a[S+1],i[d]),d++,S--;else if(l[m]===s[v])a[v]=wr(i[m],o[v]),zn(t,i[d],i[m]),m--,v++;else if(u===void 0&&(u=bp(s,v,S),h=bp(l,d,m)),u.has(l[d]))if(u.has(l[m])){const _=h.get(s[v]),I=_!==void 0?i[_]:null;if(I===null){const j=zn(t,i[d]);wr(j,o[v]),a[v]=j}else a[v]=wr(I,o[v]),zn(t,i[d],I),i[_]=null;v++}else ya(i[m]),m--;else ya(i[d]),d++;for(;v<=S;){const _=zn(t,a[S+1]);wr(_,o[v]),a[v++]=_}for(;d<=m;){const _=i[d++];_!==null&&ya(_)}return this.ut=s,s1(t,a),zt}});/**
592
+ */const bp=(t,e,r)=>{const n=new Map;for(let i=e;i<=r;i++)n.set(t[i],i);return n},lw=yp(class extends vp{constructor(t){if(super(t),t.type!==gp.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=[],o=[];let s=0;for(const l of t)i[s]=n?n(l,s):s,o[s]=r(l,s),s++;return{values:o,keys:i}}render(t,e,r){return this.dt(t,e,r).values}update(t,[e,r,n]){const i=aw(t),{values:o,keys:s}=this.dt(e,r,n);if(!Array.isArray(i))return this.ut=s,o;const l=this.ut??(this.ut=[]),a=[];let u,h,d=0,m=i.length-1,v=0,S=o.length-1;for(;d<=m&&v<=S;)if(i[d]===null)d++;else if(i[m]===null)m--;else if(l[d]===s[v])a[v]=wr(i[d],o[v]),d++,v++;else if(l[m]===s[S])a[S]=wr(i[m],o[S]),m--,S--;else if(l[d]===s[S])a[S]=wr(i[d],o[S]),zn(t,a[S+1],i[d]),d++,S--;else if(l[m]===s[v])a[v]=wr(i[m],o[v]),zn(t,i[d],i[m]),m--,v++;else if(u===void 0&&(u=bp(s,v,S),h=bp(l,d,m)),u.has(l[d]))if(u.has(l[m])){const _=h.get(s[v]),D=_!==void 0?i[_]:null;if(D===null){const j=zn(t,i[d]);wr(j,o[v]),a[v]=j}else a[v]=wr(D,o[v]),zn(t,i[d],D),i[_]=null;v++}else ya(i[m]),m--;else ya(i[d]),d++;for(;v<=S;){const _=zn(t,a[S+1]);wr(_,o[v]),a[v++]=_}for(;d<=m;){const _=i[d++];_!==null&&ya(_)}return this.ut=s,sw(t,a),zt}});/**
593
593
  * @license
594
594
  * Copyright 2017 Google LLC
595
595
  * SPDX-License-Identifier: BSD-3-Clause
596
- */class va extends vp{constructor(e){if(super(e),this.it=be,e.type!==gp.CHILD)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(e){if(e===be||e==null)return this._t=void 0,this.it=e;if(e===zt)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:[]}}}va.directiveName="unsafeHTML",va.resultType=1;const ma=yp(va);function c1(t,e){return X`
596
+ */class va extends vp{constructor(e){if(super(e),this.it=be,e.type!==gp.CHILD)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(e){if(e===be||e==null)return this._t=void 0,this.it=e;if(e===zt)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:[]}}}va.directiveName="unsafeHTML",va.resultType=1;const ma=yp(va);function cw(t,e){return X`
597
597
  <details
598
598
  class="details-results"
599
599
  @toggle=${e.handleAccordion}
@@ -613,7 +613,7 @@ li.highlighted,
613
613
  </details>
614
614
  `}function wp(t,e){const r=e.results,n=t?e.aggregateResults(r,t):r,i=e.config,o=s=>{var l;return((l=e.selectedResult)==null?void 0:l[i.idProperty])===s[i.idProperty]?"highlighted":be};return X`
615
615
  <ul>
616
- ${l1(n,s=>s.id,s=>X`
616
+ ${lw(n,s=>s.id,s=>X`
617
617
  <li class=${o(s)}>
618
618
  <span
619
619
  id="${s.id}"
@@ -639,7 +639,7 @@ li.highlighted,
639
639
  </li>
640
640
  `)}
641
641
  </ul>
642
- `}class u1 extends dp{constructor(){super();nt(this,xr);this.config=null,this.filters={},this.resultAggregation=[],this.selectedResult=null}static get properties(){return{config:{attribute:!1,type:Object},results:{state:!0,type:Object},filters:{state:!0,type:Object},resultAggregation:{attribute:!1,type:Array},selectedResult:{state:!0,type:Object}}}aggregateResults(r,n){return n1(r,n,this)}createRenderRoot(){return this}handleAccordion(r){lp(r,this.config,this)}render(){return X`
642
+ `}class uw extends dp{constructor(){super();nt(this,xr);this.config=null,this.filters={},this.resultAggregation=[],this.selectedResult=null}static get properties(){return{config:{attribute:!1,type:Object},results:{state:!0,type:Object},filters:{state:!0,type:Object},resultAggregation:{attribute:!1,type:Array},selectedResult:{state:!0,type:Object}}}aggregateResults(r,n){return nw(r,n,this)}createRenderRoot(){return this}handleAccordion(r){lp(r,this.config,this)}render(){return X`
643
643
  <section id="section-results">
644
644
  <div>
645
645
  <h6 style="padding: 8px 0px;">Results</h6>
@@ -653,11 +653,11 @@ li.highlighted,
653
653
  </ul>
654
654
  </div>
655
655
  </section>
656
- `}}xr=new WeakSet,el=function(r){return wp(r,this)},Np=function(r){return c1(r,this)},customElements.define("eox-itemfilter-results",u1);const f1=`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");}`,p1=`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 $p extends it{constructor(){super();nt(this,rr);ui(this,"debouncedInputHandler",eo(Se(this,rr,Fp),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){J0(r,this)}reset(){G0(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":be;return X`
656
+ `}}xr=new WeakSet,el=function(r){return wp(r,this)},Np=function(r){return cw(r,this)},customElements.define("eox-itemfilter-results",uw);const fw=`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");}`,pw=`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 $p extends it{constructor(){super();nt(this,rr);ui(this,"debouncedInputHandler",eo(Se(this,rr,Fp),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){J0(r,this)}reset(){G0(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":be;return X`
657
657
  <style>
658
658
  ${!this.unstyled&&Pn}
659
- ${!this.unstyled&&f1}
660
- ${!this.unstyled&&p1}
659
+ ${!this.unstyled&&fw}
660
+ ${!this.unstyled&&pw}
661
661
  </style>
662
662
  ${Ge(this.suggestions.length>10,()=>X`<div class="autocomplete-container">
663
663
  <div class="autocomplete-container-wrapper">
@@ -697,7 +697,7 @@ li.highlighted,
697
697
  `)}
698
698
  </ul>
699
699
  </div>
700
- `}}rr=new WeakSet,Hp=function(r){K0(r,this)},Up=function(r){Y0(r,this)},Fp=function(r){fp(r,this)},ui($p,"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",$p),(()=>{var t=Object.defineProperty,e=Math.pow,r=(f,y,x)=>y in f?t(f,y,{enumerable:!0,configurable:!0,writable:!0,value:x}):f[y]=x,n=(f,y,x)=>(r(f,typeof y!="symbol"?y+"":y,x),x),i=(f,y)=>` ${y&&y.length>0?y.map(x=>`<link rel="stylesheet" href="${x}" />`).join(""):""} <style> ${f} </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}",s="pointers-overlap",l="pointers-min-distance",a="pointers-max-distance",u="range-dragging",h="data",d="min",m="max",v="step",S="round",_="type",I="theme",j="rtl",H="btt",W="disabled",Z="keyboard-disabled",z="mousewheel-disabled",U="slider-width",ee="slider-height",oe="slider-radius",we="slider-bg",de="slider-bg-hover",ne="slider-bg-fill",Ne="pointer-width",et="pointer-height",R="pointer-radius",M="pointer-bg",E="pointer-bg-hover",B="pointer-bg-focus",O="pointer-shadow",Y="pointer-shadow-hover",J="pointer-shadow-focus",ye="pointer-border",_e="pointer-border-hover",Pe="pointer-border-focus",Ce="animate-onclick",Ye="css-links",Le="vertical",Je="horizontal",ce=(f,y,x,w,P)=>{let q=y-f;return q===0?x:(w-x)*(P-f)/q+x},Te=f=>!isNaN(parseFloat(f))&&isFinite(f),se=(f,y)=>Te(f)?Number(f):y,Re=(f,y)=>y===0?0:Math.round(f/y)*y,Ot=(f,y=1/0)=>{if(y===1/0)return f;let x=e(10,y);return Math.round(f*x)/x},Ee=f=>f==null?!1:typeof f=="boolean"?f:f.trim().toLowerCase()==="true",_a=(f,y)=>{f.dispatchEvent(new CustomEvent("onPointerClicked",{detail:{$pointer:y}}))},co=(f,y)=>{f.dispatchEvent(new CustomEvent("onMouseDown",{detail:{nativeEvent:y}}))},uo=(f,y)=>{f.dispatchEvent(new CustomEvent("onMouseUp",{detail:{nativeEvent:y}}))},fo=(f,y)=>{f.dispatchEvent(new CustomEvent("onKeyDown",{detail:{nativeEvent:y}}))},Ea=(f,y)=>{if(!y||y.length<=0)return;let x=y.map(P=>Te(P)?se(P,P):P),w={values:x||[]};w.value=x[0],w.value0=x[0],w.value1=x[0];for(let P=1;P<x.length;P++)w[`value${P+1}`]=x[P];f.dispatchEvent(new CustomEvent("change",{detail:w}))},Vn=(f,y,x)=>{let w=0,P,q,G,k,L=!1,te=(V,$e,De,ke,Me,Ae)=>{let Xe=w;De!==void 0&&V>De&&(V=De),$e!==void 0&&V<$e&&(V=$e),w=V;let ze=w;return(ke===Le&&Ae||ke===Je&&Me)&&(ze=100-ze),ke===Le?y.style.top=`${ze}%`:y.style.left=`${ze}%`,Xe!==w},ae=V=>V===y||y.contains(V),F=(V,$e,De,ke)=>{P=V,q=$e,G=De,k=ke},ue=V=>{L=V,y.classList.toggle("disabled",L),L?y.setAttribute("aria-disabled","true"):y.hasAttribute("aria-disabled")&&y.removeAttribute("aria-disabled")},rt=(V,$e)=>{$e==null?y.removeAttribute(V):y.setAttribute(V,$e)},Fe=V=>y.getAttribute(V),N=V=>{if(!L){switch(V.key){case"ArrowLeft":{V.preventDefault(),typeof P=="function"&&P(x);break}case"ArrowRight":{V.preventDefault(),typeof q=="function"&&q(x);break}case"ArrowUp":{V.preventDefault(),typeof G=="function"&&G(x);break}case"ArrowDown":{V.preventDefault(),typeof k=="function"&&k(x);break}}fo(f,V)}},ie=()=>{L||_a(f,y)};return y.className=`pointer pointer-${x}`,y.addEventListener("keydown",N),y.addEventListener("click",ie),{$pointer:y,get percent(){return w},get disabled(){return L},set disabled(V){ue(V)},updatePosition:te,isClicked:ae,setCallbacks:F,setAttr:rt,getAttr:Fe,destroy:()=>{y.removeEventListener("keydown",N),y.removeEventListener("click",ie),y.remove()}}},Ma=f=>{if(f==null)return;if(Array.isArray(f))return f;if(f.trim()==="")return;let y=f.split(","),x=[],w=!0;for(let P=0;P<y.length;P++){let q=y[P].trim();q!==""&&(x.push(q),Te(q)||(w=!1))}return w?x.map(P=>Number(P)):x},Pa=(f,y)=>y?y.findIndex(x=>x===f||x.toString().trim()===f.toString().trim()):-1,Oa=f=>({updatePosition:(y,x,w,P)=>{if(x.length<=0)return;let q=x.length===1,G=x[0],k=x[x.length-1];y===Le?(f.style.removeProperty("width"),f.style.removeProperty("right"),f.style.removeProperty("left"),q?f.style.height=`${G}%`:f.style.height=`${Math.abs(G-k)}%`,P?(f.style.bottom="0%",q?f.style.top="auto":f.style.top=`${Math.min(100-k,100-G)}%`):(f.style.bottom="auto",q?f.style.top="0%":f.style.top=`${Math.min(G,k)}%`)):(f.style.removeProperty("height"),f.style.removeProperty("top"),f.style.removeProperty("bottom"),q?f.style.width=`${G}%`:f.style.width=`${Math.abs(G-k)}%`,w?(f.style.right="0%",q?f.style.left="auto":f.style.left=`${Math.min(100-k,100-G)}%`):(f.style.right="auto",q?f.style.left="0%":f.style.left=`${Math.min(G,k)}%`))}}),po="--animate-onclick",Ca="--width",Kn="--height",ka="--panel-bg-border-radius",La="--panel-bg",Ta="--panel-bg-hover",Ra="--panel-bg-fill",Da="--pointer-width",nn="--pointer-height",Yn="--pointer-border-radius",ho="--pointer-bg",go="--pointer-bg-hover",wt="--pointer-bg-focus",nr="--pointer-shadow",Ia="--pointer-shadow-hover",on="--pointer-shadow-focus",yo="--pointer-border",ja="--pointer-border-hover",Ba="--pointer-border-focus",_r=(f,y,x)=>{let w=new Map;for(let P of f.attributes){let q=P.nodeName.trim().toLowerCase();if(!y.test(q))continue;let G=q.replace(/\D/g,"").trim(),k=G===""||G==="0"||G==="1"?0:se(G,0)-1,L=x&&typeof x=="function"?x(P.value):P.value;w.set(k,L)}return w},Na=f=>{if(!f)return null;let y=f.getAttribute(Ye);if(!y)return null;let x=y.split(";"),w=[];for(let P of x)P.trim()!==""&&w.push(P.trim());return w},sn=[[Ca,U,"sliderWidth",null],[Kn,ee,"sliderHeight",null],[ka,oe,"sliderRadius",null],[La,we,"sliderBg",null],[Ta,de,"sliderBgHover",null],[Ra,ne,"sliderBgFill",null],[Da,Ne,"pointer#Width",/^pointer([0-9]*)-width$/],[nn,et,"pointer#Height",/^pointer([0-9]*)-height$/],[Yn,R,"pointer#Radius",/^pointer([0-9]*)-radius$/],[ho,M,"pointer#Bg",/^pointer([0-9]*)-bg$/],[go,E,"pointer#BgHover",/^pointer([0-9]*)-bg-hover$/],[wt,B,"pointer#BgFocus",/^pointer([0-9]*)-bg-focus$/],[nr,O,"pointer#Shadow",/^pointer([0-9]*)-shadow$/],[Ia,Y,"pointer#ShadowHover",/^pointer([0-9]*)-shadow-hover$/],[on,J,"pointer#ShadowFocus",/^pointer([0-9]*)-shadow-focus$/],[yo,ye,"pointer#Border",/^pointer([0-9]*)-border$/],[ja,_e,"pointer#BorderHover",/^pointer([0-9]*)-border-hover$/],[Ba,Pe,"pointer#BorderFocus",/^pointer([0-9]*)-border-focus$/]],Er=(f,y,x)=>{let w=null,P=[],q=new Map,G=(N,ie=y)=>{let V=[...ie.classList];for(let $e of V)$e.startsWith(N)&&y.classList.remove($e)},k=()=>{G("shape");let N=y.querySelectorAll(".pointer");for(let ie of N)G("shape",ie)},L=N=>{w=N,G("theme-"),typeof N=="string"&&y.classList.add(`theme-${N}`)},te=()=>{if(k(),!(P.length<=0)){y.classList.add("shape",`shape-${P[0]}`);for(let N=1;N<P.length;N++){let ie=P[N];if(!ie)continue;let V=y.querySelector(`.pointer-${N}`);!V||V.classList.add("shape",`shape-${ie}`)}}},ae=(N,ie)=>{P[N]=ie,te()},F=()=>{k();let N=_r(f,/^pointer([0-9]*)-shape$/);if(!(N.size<=0)){for(let ie of N){let V=ie[0];P[V]=ie[1]}te()}},ue=(N,ie)=>`${N}-${ie}`,rt=(N,ie,V)=>{let $e=x[V];if(!$e)return;let De=V===0?y:$e.$pointer;if(ie==null){q.has(ue(N,V))&&q.delete(ue(N,V)),De.style.removeProperty(N);return}q.set(ue(N,V),ie),De.style.setProperty(N,ie)},Fe=(N,ie)=>q.get(ue(N,ie));return(()=>{for(let N of sn){let[ie,V,$e,De]=N;if(De){let Me=_r(f,De);for(let Ae of Me){let Xe=Ae[0],ze=Ae[1];rt(ie,ze,Xe)}}else{let Me=f.getAttribute(V);rt(ie,Me,0)}let ke=[];if($e.indexOf("#")===-1)ke.push([$e,0]);else{ke.push([$e.replace("#",""),0]),ke.push([$e.replace("#","0"),0]),ke.push([$e.replace("#","1"),0]);for(let Me=1;Me<x.length;Me++)ke.push([$e.replace("#",(Me+1).toString()),Me])}for(let Me of ke)try{let Ae=Me[0],Xe=Me[1];Object.prototype.hasOwnProperty.call(f,Ae)||Object.defineProperty(f,Ae,{get(){return Fe(ie,Xe)},set:ze=>{rt(ie,ze,Xe)}})}catch(Ae){console.error(Ae)}}L(f.getAttribute(I)),F()})(),{setStyle:rt,getStyle:Fe,get theme(){return w},set theme(N){L(N)},get pointerShapes(){return P},setPointerShape:ae}},Ct="animate-on-click",an="range-dragging",Jn=(f,y,x,w)=>{let P=[],q=ae=>{for(let F of P)F.update&&typeof F.update=="function"&&F.update(ae)},G=()=>{for(let ae of P)ae.destroy&&typeof ae.destroy=="function"&&ae.destroy()},k=(ae,F)=>{for(let ue of P)ue.onAttrChange&&typeof ue.onAttrChange=="function"&&ue.onAttrChange(ae,F)},L=ae=>{if(ae.gettersAndSetters){for(let F of ae.gettersAndSetters)if(!(!F.name||!F.attributes))try{Object.prototype.hasOwnProperty.call(f,F.name)||Object.defineProperty(f,F.name,F.attributes)}catch(ue){console.error("defineSettersGetters error:",ue)}}},te=ae=>{var F;if(!ae.css)return;let ue=(F=f.shadowRoot)==null?void 0:F.querySelector("style");!ue||(ue.innerHTML+=ae.css)};return{init:()=>{if(window.tcRangeSliderPlugins)for(let ae of window.tcRangeSliderPlugins){let F=ae();P.push(F),F.init&&typeof F.init=="function"&&(F.init(f,y,x,w),L(F),te(F))}},update:q,onAttrChange:k,destroy:G}},Mr=10,vo=20,Ha=(f,y)=>{let x=new Map,w=/^value([0-9]*)$/;for(let k of f.attributes){let L=k.nodeName.trim().toLowerCase();if(!w.test(L))continue;let te=L.replace("value","").trim(),ae=te===""||te==="0"||te==="1"?0:se(te,0)-1,F=Te(k.value)?se(k.value,0):k.value;x.set(ae,F)}let P=Math.max(...Array.from(x.keys())),q=[];q.push([Vn(f,y,0),x.get(0)]);let G=y;for(let k=1;k<=P;k++){let L=y.cloneNode(!0);G.after(L),G=L,q.push([Vn(f,L,k),x.get(k)])}return q},mo=(f,y,x,w,P,q,G)=>{try{Object.defineProperty(f,w,{configurable:!0,get(){if(!y)return;let k=y.pointers[x];if(!k)return;let L=y.getTextValue(k.percent);return Te(L)?se(L,L):L},set:k=>{y.pointers[x]?y==null||y.setValue(k,x):y==null||y.addPointer(k)}}),Object.defineProperty(f,P,{configurable:!0,get(){var k,L;return(L=(k=y==null?void 0:y.pointers[x])==null?void 0:k.getAttr("aria-label"))!=null?L:void 0},set:k=>{!y||y.setAriaLabel(x,k)}}),Object.defineProperty(f,q,{configurable:!0,get(){var k,L;return(L=(k=y==null?void 0:y.styles)==null?void 0:k.pointerShapes[x])!=null?L:null},set:k=>{!y||!y.styles||y.styles.setPointerShape(x,k)}}),Object.defineProperty(f,G,{configurable:!0,get(){var k;return(k=y==null?void 0:y.pointers[x].disabled)!=null?k:!1},set:k=>{if(!y)return;let L=y==null?void 0:y.pointers[x];!L||(L.disabled=k)}})}catch(k){console.error(k)}},Ua=(f,y)=>{let x=[["value","ariaLabel","pointerShape","pointerDisabled",0],["value0","ariaLabel0","pointerShape0","pointer0Disabled",0],["value1","ariaLabel1","pointerShape1","pointer1Disabled",0]];for(let w=2;w<Mr;w++)x.push([`value${w}`,`ariaLabel${w}`,`pointer${w}Shape`,`pointer${w}Disabled`,w-1]);for(let w of x)mo(f,y,w[4],w[0],w[1],w[2],w[3])},bo=(f,y,x)=>{var w;let P=(w=x.shadowRoot)==null?void 0:w.querySelector(".container");if(P)for(let q of f)y?P.prepend(q.$pointer):P.append(q.$pointer)},ln=(f,y)=>{if(!(!y||f.length<=1)){for(let x of f)x.$pointer.style.zIndex=vo.toString();y.$pointer.style.zIndex=(vo*2).toString()}},Pr=0,ir=100,tt=2,wo="0.3s",Fa=(f,y,x)=>{let w=x.map(g=>g[0]),P=null,q=null,G=null,k=null,L=Pr,te=ir,ae,F,ue=Je,rt=tt,Fe=!1,N=!1,ie=!1,V=0,$e=1/0,De=!1,ke,Me,Ae=!1,Xe=!1,ze=!1,kt=wo,$o=[],Zn=g=>{Ae||(g.preventDefault&&g.preventDefault(),jt(g),window.addEventListener("mousemove",jt),window.addEventListener("mouseup",cn),co(f,g))},cn=g=>{Ae||(ke=void 0,Me=void 0,window.removeEventListener("mousemove",jt),window.removeEventListener("mouseup",cn),kt&&y.classList.add(Ct),uo(f,g))},qa=(g,$)=>{if(w.length<=0)return;if(w.length===1)return w[0].isClicked(g)&&kt&&y.classList.remove(Ct),w[0];let T=Va(g);if(De){let pe=$,Qe=kr(pe);Qe!==void 0&&(pe=Re(pe,Qe)),T?(ke=pe,Me=0,kt&&y.classList.remove(Ct)):ke!==void 0&&(Me=pe-ke,ke=pe)}if(!Ga(g)&&!T){for(let pe of w)if(!(!pe.isClicked(g)||pe.disabled))return kt&&y.classList.remove(Ct),pe;for(let pe of w)if(P===pe)return pe}let re=1/0,me=null;for(let pe of w){if(pe.disabled)continue;let Qe=Math.abs($-pe.percent);Qe<re&&(re=Qe,me=pe)}return me},un=()=>w.findIndex(g=>P===g&&!g.disabled),jt=g=>{let $;if(ue===Le){let{height:re,top:me}=y.getBoundingClientRect(),pe=g.type.indexOf("mouse")!==-1?g.clientY:g.touches[0].clientY;$=Math.min(Math.max(0,pe-me),re)*100/re}else{let{width:re,left:me}=y.getBoundingClientRect(),pe=g.type.indexOf("mouse")!==-1?g.clientX:g.touches[0].clientX;$=Math.min(Math.max(0,pe-me),re)*100/re}if((Fe||N)&&($=100-$),P=qa(g.target,$),P&&ln(w,P),De&&w.length>1&&Me!==void 0){let re=w[0],me=w[w.length-1],pe=re.percent+Me<0,Qe=me.percent+Me>100;if(pe||Qe)return;for(let Ft=0;Ft<w.length;Ft++)He(Ft,w[Ft].percent+Me);return}let T=un();T!==-1&&(He(T,$),P==null||P.$pointer.focus())},fn=g=>{if(Ae||document.activeElement!==f||P!=null&&P.disabled)return;g.stopPropagation(),g.preventDefault();let $=g.deltaY<0,T=Fe||N,re=$?!T:T,me=un();me!==-1&&(re?Or(me,w[me].percent):Cr(me,w[me].percent))},xo=g=>{Ae||Xe||(ue===Le?N?He(g,100):He(g,0):Fe?Cr(g,w[g].percent):Or(g,w[g].percent))},So=g=>{Ae||Xe||(ue===Le?N?He(g,0):He(g,100):Fe?Or(g,w[g].percent):Cr(g,w[g].percent))},Ao=g=>{Ae||Xe||(ue===Le?N?Cr(g,w[g].percent):Or(g,w[g].percent):Fe?He(g,100):He(g,0))},_o=g=>{Ae||Xe||(ue===Le?N?Or(g,w[g].percent):Cr(g,w[g].percent):Fe?He(g,0):He(g,100))},Ga=g=>g.classList.contains("panel"),Va=g=>g.classList.contains("panel-fill"),Or=(g,$)=>{if($===void 0)return;let T=kr($);T==null&&(T=1),$-=T,$<0&&($=0),He(g,$)},Cr=(g,$)=>{if($===void 0)return;let T=kr($);T==null&&(T=1),$+=T,$>100&&($=100),He(g,$)},Bt=()=>{!k||k.update({percents:Mo(),values:Po(),$pointers:ei(),min:Lr(),max:Oo(),data:ti(),step:Qn(),round:hn(),type:ri(),textMin:pn(),textMax:Nt(),rightToLeft:$t(),bottomToTop:ii(),pointersOverlap:Rr(),pointersMinDistance:dn(),pointersMaxDistance:ni(),rangeDragging:ct(),disabled:oi(),keyboardDisabled:Tr(),mousewheelDisabled:yn()})},Eo=()=>{Bt()},Ka=g=>{if(!(ie||w.length<=1||te===L))if(g===0){let $=$e*100/(te-L);return Math.max(0,w[g+1].percent-$)}else{let $=V*100/(te-L);return Math.min(w[g-1].percent+$,100)}},Ya=g=>{if(!(ie||w.length<=1||te===L))if(g===w.length-1){let $=$e*100/(te-L);return Math.min(w[g-1].percent+$,100)}else{let $=V*100/(te-L);return Math.max(0,w[g+1].percent-$)}},kr=g=>{let $;if(typeof ae=="function"){let T=ce(0,100,L,te,g);$=ae(T,g)}else $=ae;if(Te($)){let T=te-L;return $=T===0?0:$*100/T,$}},or=g=>{if(g===void 0)return;let $=ce(0,100,L,te,g);return F!==void 0?F[Math.round($)]:Ot($,rt)},pn=()=>F!==void 0?F[L]:L,Nt=()=>F!==void 0?F[te]:te,Qn=()=>ae,sr=g=>{var $;return g<=0||ie?pn():($=or(w[g-1].percent))!=null?$:""},Lt=g=>{var $;return w.length<=1||g>=w.length-1||ie?Nt():($=or(w[g+1].percent))!=null?$:""},Mo=()=>w.map(g=>g.percent),Po=()=>w.map(g=>or(g.percent)),ei=()=>w.map(g=>g.$pointer),Lr=()=>L,Oo=()=>te,ti=()=>F,ri=()=>ue,hn=()=>rt,dn=()=>V,ni=()=>$e,gn=g=>$o[g],$t=()=>Fe,ii=()=>N,oi=()=>Ae,Tr=()=>Xe,yn=()=>ze,Rr=()=>ie,ct=()=>De,He=(g,$)=>{if($===void 0)return;let T=kr($);T!==void 0&&($=Re($,T));let re=w[g];if(!re)return;let me=re.updatePosition($,Ka(g),Ya(g),ue,Fe,N);q==null||q.updatePosition(ue,w.map(pe=>pe.percent),Fe,N),Bt();for(let pe of w){let Qe=or(pe.percent);Qe!==void 0&&(pe.setAttr("aria-valuenow",Qe.toString()),pe.setAttr("aria-valuetext",Qe.toString()))}si(),me&&Ea(f,w.map(pe=>or(pe.percent)))},dt=()=>{for(let g=0;g<w.length;g++)He(g,w[g].percent)},Co=(g,$)=>{L=F!==void 0?0:se(g,Pr),te=F!==void 0?F.length-1:se($,ir),Ht(L),Ut(te)},si=()=>{var g,$;for(let T=0;T<w.length;T++){let re=w[T];re.setAttr("aria-valuemin",((g=sr(T))!=null?g:"").toString()),re.setAttr("aria-valuemax",(($=Lt(T))!=null?$:"").toString())}},Ht=g=>{L=se(g,Pr),L>te&&(te=L+ir),dt()},Ut=g=>{te=se(g,ir),te<L&&(te=L+ir),dt()},vn=g=>{ie=!0;for(let $=0;$<g.length;$++)mn(g[$],$);ie=!1;for(let $=0;$<g.length;$++)mn(g[$],$)},mn=(g,$)=>{let T;F!==void 0?(T=g==null?0:Pa(g,F),T===-1&&(T=0)):(T=se(g,L),T<L&&(T=L),T>te&&(T=te));let re=ce(L,te,0,100,T);He($,re)},bn=g=>{if(g==null){ae=void 0;return}if(typeof g=="function"){ae=g,dt();return}if(Te(g)){ae=se(g,1);let $=Math.abs(te-L);ae>$&&(ae=void 0),dt();return}ae=void 0},ai=g=>{ie=g,dt()},li=g=>{(!Te(g)||g<0)&&(g=0),V=g},ar=g=>{(!Te(g)||g<0)&&(g=1/0),$e=g},ci=g=>{Ae=g,y.classList.toggle("disabled",Ae),Ae?y.setAttribute("aria-disabled","true"):y.hasAttribute("aria-disabled")&&y.removeAttribute("aria-disabled")},ko=g=>{Xe=g},c=g=>{ze=g,ze?document.removeEventListener("wheel",fn):document.addEventListener("wheel",fn,{passive:!1})},p=g=>{if(g==null){F=void 0;return}if(F=Ma(g),F===void 0||F.length<=0){F=void 0;return}Ht(0),Ut(F.length-1),ae===void 0&&bn(1)},b=g=>{var $;typeof g=="string"?ue=g.trim().toLowerCase()===Le?Le:Je:ue=Je;let T=($=f.shadowRoot)==null?void 0:$.querySelector(".range-slider-box");if(!T)return;T.className=`range-slider-box type-${ue}`,dt();let re=ue===Le?"vertical":"horizontal";for(let me of w)me.setAttr("aria-orientation",re)},A=g=>{Fe=g,w.length>1&&bo(w,Fe,f),dt(),Bt()},D=g=>{N=g,w.length>1&&bo(w,N,f),dt(),Bt()},C=g=>{rt=se(g,tt),rt<0&&(rt=tt),Bt()},Q=g=>{g==null||g.toString().trim().toLowerCase()==="false"?(kt=void 0,y.style.removeProperty(po),y.classList.remove(Ct)):(kt=g.toString(),y.style.setProperty(po,kt),y.classList.add(Ct))},fe=(g,$)=>{let T=w[g];!T||(T.setAttr("aria-label",$),$o[g]=$)},xe=g=>{if(ke=void 0,w.length<=1){De=!1,y.classList.remove(an);return}De=g,y.classList.toggle(an,De)},Ie=()=>{ci(Ee(f.getAttribute(W))),Xe=Ee(f.getAttribute(Z)),ze=Ee(f.getAttribute(z));let g=_r(f,/^pointer([0-9]*)-disabled$/,$=>Ee($));for(let $ of g){let T=$[0];!w[T]||(w[T].disabled=$[1])}},qe=()=>{let g=_r(f,/^aria-label([0-9]*)$/);for(let $ of g){let T=$[0];fe(T,$[1])}},Ze=g=>{let $=w.length,T=w[$-1].$pointer,re=T.cloneNode(!0);T.after(re);let me=Vn(f,re,$);return me.setCallbacks(xo,So,Ao,_o),w.push(me),mn(g,$),dt(),Bt(),$},je=()=>{let g=w.length,$=w[g-1];return $?($.destroy(),w.pop(),w.length<=1&&xe(!1),dt(),Bt(),g-1):-1};return(()=>{var g,$;for(let re of w)re.setCallbacks(xo,So,Ao,_o);let T=(g=f.shadowRoot)==null?void 0:g.querySelector(".panel-fill");T&&(q=Oa(T)),b(f.getAttribute(_)),A(Ee(f.getAttribute(j))),D(Ee(f.getAttribute(H))),Co(f.getAttribute(d),f.getAttribute(m)),bn(f.getAttribute(v)),p(f.getAttribute(h)),vn(x.map(re=>re[1])),ai(Ee(f.getAttribute(s))),li(se(f.getAttribute(l),0)),ar(se(f.getAttribute(a),1/0)),xe(Ee(f.getAttribute(u))),C(se(f.getAttribute(S),tt)),Ie(),qe(),G=Er(f,y,w),Q(($=f.getAttribute(Ce))!=null?$:wo),y.addEventListener("mousedown",Zn),y.addEventListener("mouseup",cn),y.addEventListener("touchmove",jt),y.addEventListener("touchstart",jt),ze||document.addEventListener("wheel",fn,{passive:!1}),k=Jn(f,Eo,{setValues:vn,setMin:Ht,setMax:Ut,setStep:bn,setPointersOverlap:ai,setPointersMinDistance:li,setPointersMaxDistance:ar,setDisabled:ci,setType:b,setRightToLeft:A,setBottomToTop:D,setRound:C,setKeyboardDisabled:ko,setMousewheelDisabled:c,setRangeDragging:xe,setData:p},{getPercents:Mo,getValues:Po,getPointerElements:ei,getMin:Lr,getMax:Oo,getStep:Qn,getData:ti,getType:ri,getRound:hn,getTextMin:pn,getTextMax:Nt,isRightToLeft:$t,isBottomToTop:ii,isDisabled:oi,isKeyboardDisabled:Tr,isMousewheelDisabled:yn,isPointersOverlap:Rr,isRangeDraggingEnabled:ct,getPointersMinDistance:dn,getPointersMaxDistance:ni}),k.init()})(),{get pointers(){return w},get styles(){return G},get pluginsManager(){return k},get min(){return pn()},get max(){return Nt()},get step(){return Qn()},get pointersOverlap(){return Rr()},set pointersOverlap(g){ai(g)},get pointersMinDistance(){return dn()},set pointersMinDistance(g){li(g)},get pointersMaxDistance(){return ni()},set pointersMaxDistance(g){ar(g)},get disabled(){return oi()},set disabled(g){ci(g)},get data(){return ti()},get type(){return ri()},set type(g){b(g)},get rightToLeft(){return $t()},set rightToLeft(g){A(g)},get bottomToTop(){return ii()},set bottomToTop(g){D(g)},get round(){return hn()},set round(g){C(g)},get animateOnClick(){return kt},set animateOnClick(g){Q(g)},get keyboardDisabled(){return Tr()},set keyboardDisabled(g){ko(g)},get mousewheelDisabled(){return yn()},set mousewheelDisabled(g){c(g)},get rangeDragging(){return ct()},set rangeDragging(g){xe(g)},setMin:Ht,setMax:Ut,setValue:mn,setStep:bn,setData:p,getTextValue:or,setAriaLabel:fe,getAriaLabel:gn,addPointer:Ze,removePointer:je,destroy:()=>{y.removeEventListener("mousedown",Zn),y.removeEventListener("mouseup",cn),y.removeEventListener("touchmove",jt),y.removeEventListener("touchstart",jt),document.removeEventListener("wheel",fn);for(let g of w)g.destroy();k==null||k.destroy()}}},Wa=(f,y,x)=>{let w=sn.find(([k,L,te,ae])=>L.replace("#","")===y.replace(/\d+/g,""));if(w&&f.styles){let[k,L,te,ae]=w,F=y.replace(/\D/g,"").trim(),ue=F===""||F==="0"||F==="1"?0:se(F,0)-1;f.styles.setStyle(k,x,ue);return}switch(f&&f.pluginsManager&&f.pluginsManager.onAttrChange(y,x),y){case d:{f.setMin(x);break}case m:{f.setMax(x);break}case v:{f.setStep(x);break}case s:{f.pointersOverlap=Ee(x);break}case l:{f.pointersMinDistance=se(x,0);break}case u:{f.rangeDragging=Ee(x);break}case a:{f.pointersMaxDistance=se(x,1/0);break}case W:{f.disabled=Ee(x);break}case Z:{f.keyboardDisabled=Ee(x);break}case z:{f.mousewheelDisabled=Ee(x);break}case h:{f.setData(x);break}case _:{f.type=x;break}case j:{f.rightToLeft=Ee(x);break}case H:{f.bottomToTop=Ee(x);break}case S:{f.round=se(x,tt);break}case I:{f.styles&&(f.styles.theme=x);break}case Ce:{f.animateOnClick=x;break}}let P=null;if(/^value([0-9]*)$/.test(y)&&(P="value"),/^pointer([0-9]*)-disabled$/.test(y)&&(P="pointer-disabled"),/^aria-label([0-9]*)$/.test(y)&&(P="aria-label"),/^pointer([0-9]*)-shape$/.test(y)&&(P="pointer-shape"),!P)return;let q=y.replace(/\D/g,"").trim(),G=q===""||q==="0"||q==="1"?0:se(q,0)-1;switch(P){case"value":{f.setValue(x,G);break}case"pointer-disabled":{let k=f==null?void 0:f.pointers[G];if(!k)return;k.disabled=Ee(x);break}case"aria-label":{f.setAriaLabel(G,x);break}case"pointer-shape":{f.styles&&f.styles.setPointerShape(G,x);break}}},za=class extends HTMLElement{constructor(){super(),n(this,"slider"),n(this,"_externalCSSList",[]),n(this,"_observer",null),this.attachShadow({mode:"open"})}set step(f){this.slider&&this.slider.setStep(f)}get step(){var f;return(f=this.slider)==null?void 0:f.step}set disabled(f){this.slider&&(this.slider.disabled=f)}get disabled(){var f,y;return(y=(f=this.slider)==null?void 0:f.disabled)!=null?y:!1}set data(f){var y;(y=this.slider)==null||y.setData(f)}get data(){var f;return(f=this.slider)==null?void 0:f.data}set min(f){var y;(y=this.slider)==null||y.setMin(f)}get min(){var f;return(f=this.slider)==null?void 0:f.min}set max(f){var y;(y=this.slider)==null||y.setMax(f)}get max(){var f;return(f=this.slider)==null?void 0:f.max}set round(f){!this.slider||(this.slider.round=f)}get round(){var f,y;return(y=(f=this.slider)==null?void 0:f.round)!=null?y:tt}set type(f){!this.slider||(this.slider.type=f??Je)}get type(){var f;return((f=this.slider)==null?void 0:f.type)||Je}set pointersOverlap(f){!this.slider||(this.slider.pointersOverlap=f)}get pointersOverlap(){var f,y;return(y=(f=this.slider)==null?void 0:f.pointersOverlap)!=null?y:!1}set pointersMinDistance(f){!this.slider||(this.slider.pointersMinDistance=f)}get pointersMinDistance(){var f,y;return(y=(f=this.slider)==null?void 0:f.pointersMinDistance)!=null?y:0}set pointersMaxDistance(f){!this.slider||(this.slider.pointersMaxDistance=f)}get pointersMaxDistance(){var f,y;return(y=(f=this.slider)==null?void 0:f.pointersMaxDistance)!=null?y:1/0}set theme(f){!this.slider||!this.slider.styles||(this.slider.styles.theme=f)}get theme(){var f,y,x;return(x=(y=(f=this.slider)==null?void 0:f.styles)==null?void 0:y.theme)!=null?x:null}set rtl(f){!this.slider||(this.slider.rightToLeft=f)}get rtl(){var f,y;return(y=(f=this.slider)==null?void 0:f.rightToLeft)!=null?y:!1}set btt(f){!this.slider||(this.slider.bottomToTop=f)}get btt(){var f,y;return(y=(f=this.slider)==null?void 0:f.bottomToTop)!=null?y:!1}set keyboardDisabled(f){!this.slider||(this.slider.keyboardDisabled=f)}get keyboardDisabled(){var f,y;return(y=(f=this.slider)==null?void 0:f.keyboardDisabled)!=null?y:!1}set mousewheelDisabled(f){!this.slider||(this.slider.mousewheelDisabled=f)}get mousewheelDisabled(){var f,y;return(y=(f=this.slider)==null?void 0:f.mousewheelDisabled)!=null?y:!1}set animateOnClick(f){!this.slider||(this.slider.animateOnClick=f)}get animateOnClick(){var f;return(f=this.slider)==null?void 0:f.animateOnClick}get rangeDragging(){var f,y;return(y=(f=this.slider)==null?void 0:f.rangeDragging)!=null?y:!1}set rangeDragging(f){this.slider&&(this.slider.rangeDragging=Ee(f))}get externalCSSList(){return this._externalCSSList}addPointer(f){var y,x;if(!this.slider)return;let w=(x=(y=this.slider)==null?void 0:y.addPointer(f))!=null?x:0;mo(this,this.slider,w,`value${w+1}`,`ariaLabel${w+1}`,`pointerShape${w+1}`,`pointer${w+1}Disabled`)}removePointer(){var f;!this.slider||(f=this.slider)==null||f.removePointer()}addCSS(f){if(!this.shadowRoot)return;let y=document.createElement("style");y.textContent=f,this.shadowRoot.appendChild(y)}connectedCallback(){var f,y;if(!this.shadowRoot)return;this._externalCSSList=Na(this),this.shadowRoot.innerHTML=i(o,this._externalCSSList);let x=(f=this.shadowRoot)==null?void 0:f.querySelector(".pointer");if(!x)return;let w=(y=this.shadowRoot)==null?void 0:y.getElementById("range-slider");if(!w)return;let P=Ha(this,x);this.slider=Fa(this,w,P),Ua(this,this.slider),this._observer=new MutationObserver(q=>{q.forEach(G=>{var k;if(!this.slider||G.type!=="attributes")return;let L=G.attributeName;!L||Wa(this.slider,L,(k=this.getAttribute(L))!=null?k:"")})}),this._observer.observe(this,{attributes:!0})}disconnectedCallback(){this._observer&&this._observer.disconnect(),this.slider&&this.slider.destroy()}},Xn=za;window.tcRangeSlider=Xn,customElements.get("toolcool-range-slider")||customElements.define("toolcool-range-slider",Xn),customElements.get("tc-range-slider")||customElements.define("tc-range-slider",class extends Xn{})})();class xp extends it{constructor(){super();nt(this,Sr);this.filterObject={},this.tabIndex=0,this.inputHandler=Se(this,Sr,Wp).bind(this),this.debouncedInputHandler=eo(this.inputHandler,0,{leading:!0})}reset(){W0(this)}createRenderRoot(){return this}render(){return Ge(this.filterObject,()=>X`
700
+ `}}rr=new WeakSet,Hp=function(r){K0(r,this)},Up=function(r){Y0(r,this)},Fp=function(r){fp(r,this)},ui($p,"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",$p),(()=>{var t=Object.defineProperty,e=Math.pow,r=(f,y,x)=>y in f?t(f,y,{enumerable:!0,configurable:!0,writable:!0,value:x}):f[y]=x,n=(f,y,x)=>(r(f,typeof y!="symbol"?y+"":y,x),x),i=(f,y)=>` ${y&&y.length>0?y.map(x=>`<link rel="stylesheet" href="${x}" />`).join(""):""} <style> ${f} </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}",s="pointers-overlap",l="pointers-min-distance",a="pointers-max-distance",u="range-dragging",h="data",d="min",m="max",v="step",S="round",_="type",D="theme",j="rtl",H="btt",W="disabled",Z="keyboard-disabled",z="mousewheel-disabled",U="slider-width",ee="slider-height",oe="slider-radius",we="slider-bg",de="slider-bg-hover",ne="slider-bg-fill",Ne="pointer-width",et="pointer-height",R="pointer-radius",M="pointer-bg",E="pointer-bg-hover",B="pointer-bg-focus",O="pointer-shadow",Y="pointer-shadow-hover",J="pointer-shadow-focus",ye="pointer-border",_e="pointer-border-hover",Pe="pointer-border-focus",Ce="animate-onclick",Ye="css-links",Le="vertical",Je="horizontal",ce=(f,y,x,w,P)=>{let q=y-f;return q===0?x:(w-x)*(P-f)/q+x},Te=f=>!isNaN(parseFloat(f))&&isFinite(f),se=(f,y)=>Te(f)?Number(f):y,Re=(f,y)=>y===0?0:Math.round(f/y)*y,Ot=(f,y=1/0)=>{if(y===1/0)return f;let x=e(10,y);return Math.round(f*x)/x},Ee=f=>f==null?!1:typeof f=="boolean"?f:f.trim().toLowerCase()==="true",_a=(f,y)=>{f.dispatchEvent(new CustomEvent("onPointerClicked",{detail:{$pointer:y}}))},co=(f,y)=>{f.dispatchEvent(new CustomEvent("onMouseDown",{detail:{nativeEvent:y}}))},uo=(f,y)=>{f.dispatchEvent(new CustomEvent("onMouseUp",{detail:{nativeEvent:y}}))},fo=(f,y)=>{f.dispatchEvent(new CustomEvent("onKeyDown",{detail:{nativeEvent:y}}))},Ea=(f,y)=>{if(!y||y.length<=0)return;let x=y.map(P=>Te(P)?se(P,P):P),w={values:x||[]};w.value=x[0],w.value0=x[0],w.value1=x[0];for(let P=1;P<x.length;P++)w[`value${P+1}`]=x[P];f.dispatchEvent(new CustomEvent("change",{detail:w}))},Vn=(f,y,x)=>{let w=0,P,q,G,k,L=!1,te=(V,$e,Ie,ke,Me,Ae)=>{let Xe=w;Ie!==void 0&&V>Ie&&(V=Ie),$e!==void 0&&V<$e&&(V=$e),w=V;let ze=w;return(ke===Le&&Ae||ke===Je&&Me)&&(ze=100-ze),ke===Le?y.style.top=`${ze}%`:y.style.left=`${ze}%`,Xe!==w},ae=V=>V===y||y.contains(V),F=(V,$e,Ie,ke)=>{P=V,q=$e,G=Ie,k=ke},ue=V=>{L=V,y.classList.toggle("disabled",L),L?y.setAttribute("aria-disabled","true"):y.hasAttribute("aria-disabled")&&y.removeAttribute("aria-disabled")},rt=(V,$e)=>{$e==null?y.removeAttribute(V):y.setAttribute(V,$e)},Fe=V=>y.getAttribute(V),N=V=>{if(!L){switch(V.key){case"ArrowLeft":{V.preventDefault(),typeof P=="function"&&P(x);break}case"ArrowRight":{V.preventDefault(),typeof q=="function"&&q(x);break}case"ArrowUp":{V.preventDefault(),typeof G=="function"&&G(x);break}case"ArrowDown":{V.preventDefault(),typeof k=="function"&&k(x);break}}fo(f,V)}},ie=()=>{L||_a(f,y)};return y.className=`pointer pointer-${x}`,y.addEventListener("keydown",N),y.addEventListener("click",ie),{$pointer:y,get percent(){return w},get disabled(){return L},set disabled(V){ue(V)},updatePosition:te,isClicked:ae,setCallbacks:F,setAttr:rt,getAttr:Fe,destroy:()=>{y.removeEventListener("keydown",N),y.removeEventListener("click",ie),y.remove()}}},Ma=f=>{if(f==null)return;if(Array.isArray(f))return f;if(f.trim()==="")return;let y=f.split(","),x=[],w=!0;for(let P=0;P<y.length;P++){let q=y[P].trim();q!==""&&(x.push(q),Te(q)||(w=!1))}return w?x.map(P=>Number(P)):x},Pa=(f,y)=>y?y.findIndex(x=>x===f||x.toString().trim()===f.toString().trim()):-1,Oa=f=>({updatePosition:(y,x,w,P)=>{if(x.length<=0)return;let q=x.length===1,G=x[0],k=x[x.length-1];y===Le?(f.style.removeProperty("width"),f.style.removeProperty("right"),f.style.removeProperty("left"),q?f.style.height=`${G}%`:f.style.height=`${Math.abs(G-k)}%`,P?(f.style.bottom="0%",q?f.style.top="auto":f.style.top=`${Math.min(100-k,100-G)}%`):(f.style.bottom="auto",q?f.style.top="0%":f.style.top=`${Math.min(G,k)}%`)):(f.style.removeProperty("height"),f.style.removeProperty("top"),f.style.removeProperty("bottom"),q?f.style.width=`${G}%`:f.style.width=`${Math.abs(G-k)}%`,w?(f.style.right="0%",q?f.style.left="auto":f.style.left=`${Math.min(100-k,100-G)}%`):(f.style.right="auto",q?f.style.left="0%":f.style.left=`${Math.min(G,k)}%`))}}),po="--animate-onclick",Ca="--width",Kn="--height",ka="--panel-bg-border-radius",La="--panel-bg",Ta="--panel-bg-hover",Ra="--panel-bg-fill",Ia="--pointer-width",nn="--pointer-height",Yn="--pointer-border-radius",ho="--pointer-bg",go="--pointer-bg-hover",wt="--pointer-bg-focus",nr="--pointer-shadow",Da="--pointer-shadow-hover",on="--pointer-shadow-focus",yo="--pointer-border",ja="--pointer-border-hover",Ba="--pointer-border-focus",_r=(f,y,x)=>{let w=new Map;for(let P of f.attributes){let q=P.nodeName.trim().toLowerCase();if(!y.test(q))continue;let G=q.replace(/\D/g,"").trim(),k=G===""||G==="0"||G==="1"?0:se(G,0)-1,L=x&&typeof x=="function"?x(P.value):P.value;w.set(k,L)}return w},Na=f=>{if(!f)return null;let y=f.getAttribute(Ye);if(!y)return null;let x=y.split(";"),w=[];for(let P of x)P.trim()!==""&&w.push(P.trim());return w},sn=[[Ca,U,"sliderWidth",null],[Kn,ee,"sliderHeight",null],[ka,oe,"sliderRadius",null],[La,we,"sliderBg",null],[Ta,de,"sliderBgHover",null],[Ra,ne,"sliderBgFill",null],[Ia,Ne,"pointer#Width",/^pointer([0-9]*)-width$/],[nn,et,"pointer#Height",/^pointer([0-9]*)-height$/],[Yn,R,"pointer#Radius",/^pointer([0-9]*)-radius$/],[ho,M,"pointer#Bg",/^pointer([0-9]*)-bg$/],[go,E,"pointer#BgHover",/^pointer([0-9]*)-bg-hover$/],[wt,B,"pointer#BgFocus",/^pointer([0-9]*)-bg-focus$/],[nr,O,"pointer#Shadow",/^pointer([0-9]*)-shadow$/],[Da,Y,"pointer#ShadowHover",/^pointer([0-9]*)-shadow-hover$/],[on,J,"pointer#ShadowFocus",/^pointer([0-9]*)-shadow-focus$/],[yo,ye,"pointer#Border",/^pointer([0-9]*)-border$/],[ja,_e,"pointer#BorderHover",/^pointer([0-9]*)-border-hover$/],[Ba,Pe,"pointer#BorderFocus",/^pointer([0-9]*)-border-focus$/]],Er=(f,y,x)=>{let w=null,P=[],q=new Map,G=(N,ie=y)=>{let V=[...ie.classList];for(let $e of V)$e.startsWith(N)&&y.classList.remove($e)},k=()=>{G("shape");let N=y.querySelectorAll(".pointer");for(let ie of N)G("shape",ie)},L=N=>{w=N,G("theme-"),typeof N=="string"&&y.classList.add(`theme-${N}`)},te=()=>{if(k(),!(P.length<=0)){y.classList.add("shape",`shape-${P[0]}`);for(let N=1;N<P.length;N++){let ie=P[N];if(!ie)continue;let V=y.querySelector(`.pointer-${N}`);!V||V.classList.add("shape",`shape-${ie}`)}}},ae=(N,ie)=>{P[N]=ie,te()},F=()=>{k();let N=_r(f,/^pointer([0-9]*)-shape$/);if(!(N.size<=0)){for(let ie of N){let V=ie[0];P[V]=ie[1]}te()}},ue=(N,ie)=>`${N}-${ie}`,rt=(N,ie,V)=>{let $e=x[V];if(!$e)return;let Ie=V===0?y:$e.$pointer;if(ie==null){q.has(ue(N,V))&&q.delete(ue(N,V)),Ie.style.removeProperty(N);return}q.set(ue(N,V),ie),Ie.style.setProperty(N,ie)},Fe=(N,ie)=>q.get(ue(N,ie));return(()=>{for(let N of sn){let[ie,V,$e,Ie]=N;if(Ie){let Me=_r(f,Ie);for(let Ae of Me){let Xe=Ae[0],ze=Ae[1];rt(ie,ze,Xe)}}else{let Me=f.getAttribute(V);rt(ie,Me,0)}let ke=[];if($e.indexOf("#")===-1)ke.push([$e,0]);else{ke.push([$e.replace("#",""),0]),ke.push([$e.replace("#","0"),0]),ke.push([$e.replace("#","1"),0]);for(let Me=1;Me<x.length;Me++)ke.push([$e.replace("#",(Me+1).toString()),Me])}for(let Me of ke)try{let Ae=Me[0],Xe=Me[1];Object.prototype.hasOwnProperty.call(f,Ae)||Object.defineProperty(f,Ae,{get(){return Fe(ie,Xe)},set:ze=>{rt(ie,ze,Xe)}})}catch(Ae){console.error(Ae)}}L(f.getAttribute(D)),F()})(),{setStyle:rt,getStyle:Fe,get theme(){return w},set theme(N){L(N)},get pointerShapes(){return P},setPointerShape:ae}},Ct="animate-on-click",an="range-dragging",Jn=(f,y,x,w)=>{let P=[],q=ae=>{for(let F of P)F.update&&typeof F.update=="function"&&F.update(ae)},G=()=>{for(let ae of P)ae.destroy&&typeof ae.destroy=="function"&&ae.destroy()},k=(ae,F)=>{for(let ue of P)ue.onAttrChange&&typeof ue.onAttrChange=="function"&&ue.onAttrChange(ae,F)},L=ae=>{if(ae.gettersAndSetters){for(let F of ae.gettersAndSetters)if(!(!F.name||!F.attributes))try{Object.prototype.hasOwnProperty.call(f,F.name)||Object.defineProperty(f,F.name,F.attributes)}catch(ue){console.error("defineSettersGetters error:",ue)}}},te=ae=>{var F;if(!ae.css)return;let ue=(F=f.shadowRoot)==null?void 0:F.querySelector("style");!ue||(ue.innerHTML+=ae.css)};return{init:()=>{if(window.tcRangeSliderPlugins)for(let ae of window.tcRangeSliderPlugins){let F=ae();P.push(F),F.init&&typeof F.init=="function"&&(F.init(f,y,x,w),L(F),te(F))}},update:q,onAttrChange:k,destroy:G}},Mr=10,vo=20,Ha=(f,y)=>{let x=new Map,w=/^value([0-9]*)$/;for(let k of f.attributes){let L=k.nodeName.trim().toLowerCase();if(!w.test(L))continue;let te=L.replace("value","").trim(),ae=te===""||te==="0"||te==="1"?0:se(te,0)-1,F=Te(k.value)?se(k.value,0):k.value;x.set(ae,F)}let P=Math.max(...Array.from(x.keys())),q=[];q.push([Vn(f,y,0),x.get(0)]);let G=y;for(let k=1;k<=P;k++){let L=y.cloneNode(!0);G.after(L),G=L,q.push([Vn(f,L,k),x.get(k)])}return q},mo=(f,y,x,w,P,q,G)=>{try{Object.defineProperty(f,w,{configurable:!0,get(){if(!y)return;let k=y.pointers[x];if(!k)return;let L=y.getTextValue(k.percent);return Te(L)?se(L,L):L},set:k=>{y.pointers[x]?y==null||y.setValue(k,x):y==null||y.addPointer(k)}}),Object.defineProperty(f,P,{configurable:!0,get(){var k,L;return(L=(k=y==null?void 0:y.pointers[x])==null?void 0:k.getAttr("aria-label"))!=null?L:void 0},set:k=>{!y||y.setAriaLabel(x,k)}}),Object.defineProperty(f,q,{configurable:!0,get(){var k,L;return(L=(k=y==null?void 0:y.styles)==null?void 0:k.pointerShapes[x])!=null?L:null},set:k=>{!y||!y.styles||y.styles.setPointerShape(x,k)}}),Object.defineProperty(f,G,{configurable:!0,get(){var k;return(k=y==null?void 0:y.pointers[x].disabled)!=null?k:!1},set:k=>{if(!y)return;let L=y==null?void 0:y.pointers[x];!L||(L.disabled=k)}})}catch(k){console.error(k)}},Ua=(f,y)=>{let x=[["value","ariaLabel","pointerShape","pointerDisabled",0],["value0","ariaLabel0","pointerShape0","pointer0Disabled",0],["value1","ariaLabel1","pointerShape1","pointer1Disabled",0]];for(let w=2;w<Mr;w++)x.push([`value${w}`,`ariaLabel${w}`,`pointer${w}Shape`,`pointer${w}Disabled`,w-1]);for(let w of x)mo(f,y,w[4],w[0],w[1],w[2],w[3])},bo=(f,y,x)=>{var w;let P=(w=x.shadowRoot)==null?void 0:w.querySelector(".container");if(P)for(let q of f)y?P.prepend(q.$pointer):P.append(q.$pointer)},ln=(f,y)=>{if(!(!y||f.length<=1)){for(let x of f)x.$pointer.style.zIndex=vo.toString();y.$pointer.style.zIndex=(vo*2).toString()}},Pr=0,ir=100,tt=2,wo="0.3s",Fa=(f,y,x)=>{let w=x.map(g=>g[0]),P=null,q=null,G=null,k=null,L=Pr,te=ir,ae,F,ue=Je,rt=tt,Fe=!1,N=!1,ie=!1,V=0,$e=1/0,Ie=!1,ke,Me,Ae=!1,Xe=!1,ze=!1,kt=wo,$o=[],Zn=g=>{Ae||(g.preventDefault&&g.preventDefault(),jt(g),window.addEventListener("mousemove",jt),window.addEventListener("mouseup",cn),co(f,g))},cn=g=>{Ae||(ke=void 0,Me=void 0,window.removeEventListener("mousemove",jt),window.removeEventListener("mouseup",cn),kt&&y.classList.add(Ct),uo(f,g))},qa=(g,$)=>{if(w.length<=0)return;if(w.length===1)return w[0].isClicked(g)&&kt&&y.classList.remove(Ct),w[0];let T=Va(g);if(Ie){let pe=$,Qe=kr(pe);Qe!==void 0&&(pe=Re(pe,Qe)),T?(ke=pe,Me=0,kt&&y.classList.remove(Ct)):ke!==void 0&&(Me=pe-ke,ke=pe)}if(!Ga(g)&&!T){for(let pe of w)if(!(!pe.isClicked(g)||pe.disabled))return kt&&y.classList.remove(Ct),pe;for(let pe of w)if(P===pe)return pe}let re=1/0,me=null;for(let pe of w){if(pe.disabled)continue;let Qe=Math.abs($-pe.percent);Qe<re&&(re=Qe,me=pe)}return me},un=()=>w.findIndex(g=>P===g&&!g.disabled),jt=g=>{let $;if(ue===Le){let{height:re,top:me}=y.getBoundingClientRect(),pe=g.type.indexOf("mouse")!==-1?g.clientY:g.touches[0].clientY;$=Math.min(Math.max(0,pe-me),re)*100/re}else{let{width:re,left:me}=y.getBoundingClientRect(),pe=g.type.indexOf("mouse")!==-1?g.clientX:g.touches[0].clientX;$=Math.min(Math.max(0,pe-me),re)*100/re}if((Fe||N)&&($=100-$),P=qa(g.target,$),P&&ln(w,P),Ie&&w.length>1&&Me!==void 0){let re=w[0],me=w[w.length-1],pe=re.percent+Me<0,Qe=me.percent+Me>100;if(pe||Qe)return;for(let Ft=0;Ft<w.length;Ft++)He(Ft,w[Ft].percent+Me);return}let T=un();T!==-1&&(He(T,$),P==null||P.$pointer.focus())},fn=g=>{if(Ae||document.activeElement!==f||P!=null&&P.disabled)return;g.stopPropagation(),g.preventDefault();let $=g.deltaY<0,T=Fe||N,re=$?!T:T,me=un();me!==-1&&(re?Or(me,w[me].percent):Cr(me,w[me].percent))},xo=g=>{Ae||Xe||(ue===Le?N?He(g,100):He(g,0):Fe?Cr(g,w[g].percent):Or(g,w[g].percent))},So=g=>{Ae||Xe||(ue===Le?N?He(g,0):He(g,100):Fe?Or(g,w[g].percent):Cr(g,w[g].percent))},Ao=g=>{Ae||Xe||(ue===Le?N?Cr(g,w[g].percent):Or(g,w[g].percent):Fe?He(g,100):He(g,0))},_o=g=>{Ae||Xe||(ue===Le?N?Or(g,w[g].percent):Cr(g,w[g].percent):Fe?He(g,0):He(g,100))},Ga=g=>g.classList.contains("panel"),Va=g=>g.classList.contains("panel-fill"),Or=(g,$)=>{if($===void 0)return;let T=kr($);T==null&&(T=1),$-=T,$<0&&($=0),He(g,$)},Cr=(g,$)=>{if($===void 0)return;let T=kr($);T==null&&(T=1),$+=T,$>100&&($=100),He(g,$)},Bt=()=>{!k||k.update({percents:Mo(),values:Po(),$pointers:ei(),min:Lr(),max:Oo(),data:ti(),step:Qn(),round:hn(),type:ri(),textMin:pn(),textMax:Nt(),rightToLeft:$t(),bottomToTop:ii(),pointersOverlap:Rr(),pointersMinDistance:dn(),pointersMaxDistance:ni(),rangeDragging:ct(),disabled:oi(),keyboardDisabled:Tr(),mousewheelDisabled:yn()})},Eo=()=>{Bt()},Ka=g=>{if(!(ie||w.length<=1||te===L))if(g===0){let $=$e*100/(te-L);return Math.max(0,w[g+1].percent-$)}else{let $=V*100/(te-L);return Math.min(w[g-1].percent+$,100)}},Ya=g=>{if(!(ie||w.length<=1||te===L))if(g===w.length-1){let $=$e*100/(te-L);return Math.min(w[g-1].percent+$,100)}else{let $=V*100/(te-L);return Math.max(0,w[g+1].percent-$)}},kr=g=>{let $;if(typeof ae=="function"){let T=ce(0,100,L,te,g);$=ae(T,g)}else $=ae;if(Te($)){let T=te-L;return $=T===0?0:$*100/T,$}},or=g=>{if(g===void 0)return;let $=ce(0,100,L,te,g);return F!==void 0?F[Math.round($)]:Ot($,rt)},pn=()=>F!==void 0?F[L]:L,Nt=()=>F!==void 0?F[te]:te,Qn=()=>ae,sr=g=>{var $;return g<=0||ie?pn():($=or(w[g-1].percent))!=null?$:""},Lt=g=>{var $;return w.length<=1||g>=w.length-1||ie?Nt():($=or(w[g+1].percent))!=null?$:""},Mo=()=>w.map(g=>g.percent),Po=()=>w.map(g=>or(g.percent)),ei=()=>w.map(g=>g.$pointer),Lr=()=>L,Oo=()=>te,ti=()=>F,ri=()=>ue,hn=()=>rt,dn=()=>V,ni=()=>$e,gn=g=>$o[g],$t=()=>Fe,ii=()=>N,oi=()=>Ae,Tr=()=>Xe,yn=()=>ze,Rr=()=>ie,ct=()=>Ie,He=(g,$)=>{if($===void 0)return;let T=kr($);T!==void 0&&($=Re($,T));let re=w[g];if(!re)return;let me=re.updatePosition($,Ka(g),Ya(g),ue,Fe,N);q==null||q.updatePosition(ue,w.map(pe=>pe.percent),Fe,N),Bt();for(let pe of w){let Qe=or(pe.percent);Qe!==void 0&&(pe.setAttr("aria-valuenow",Qe.toString()),pe.setAttr("aria-valuetext",Qe.toString()))}si(),me&&Ea(f,w.map(pe=>or(pe.percent)))},dt=()=>{for(let g=0;g<w.length;g++)He(g,w[g].percent)},Co=(g,$)=>{L=F!==void 0?0:se(g,Pr),te=F!==void 0?F.length-1:se($,ir),Ht(L),Ut(te)},si=()=>{var g,$;for(let T=0;T<w.length;T++){let re=w[T];re.setAttr("aria-valuemin",((g=sr(T))!=null?g:"").toString()),re.setAttr("aria-valuemax",(($=Lt(T))!=null?$:"").toString())}},Ht=g=>{L=se(g,Pr),L>te&&(te=L+ir),dt()},Ut=g=>{te=se(g,ir),te<L&&(te=L+ir),dt()},vn=g=>{ie=!0;for(let $=0;$<g.length;$++)mn(g[$],$);ie=!1;for(let $=0;$<g.length;$++)mn(g[$],$)},mn=(g,$)=>{let T;F!==void 0?(T=g==null?0:Pa(g,F),T===-1&&(T=0)):(T=se(g,L),T<L&&(T=L),T>te&&(T=te));let re=ce(L,te,0,100,T);He($,re)},bn=g=>{if(g==null){ae=void 0;return}if(typeof g=="function"){ae=g,dt();return}if(Te(g)){ae=se(g,1);let $=Math.abs(te-L);ae>$&&(ae=void 0),dt();return}ae=void 0},ai=g=>{ie=g,dt()},li=g=>{(!Te(g)||g<0)&&(g=0),V=g},ar=g=>{(!Te(g)||g<0)&&(g=1/0),$e=g},ci=g=>{Ae=g,y.classList.toggle("disabled",Ae),Ae?y.setAttribute("aria-disabled","true"):y.hasAttribute("aria-disabled")&&y.removeAttribute("aria-disabled")},ko=g=>{Xe=g},c=g=>{ze=g,ze?document.removeEventListener("wheel",fn):document.addEventListener("wheel",fn,{passive:!1})},p=g=>{if(g==null){F=void 0;return}if(F=Ma(g),F===void 0||F.length<=0){F=void 0;return}Ht(0),Ut(F.length-1),ae===void 0&&bn(1)},b=g=>{var $;typeof g=="string"?ue=g.trim().toLowerCase()===Le?Le:Je:ue=Je;let T=($=f.shadowRoot)==null?void 0:$.querySelector(".range-slider-box");if(!T)return;T.className=`range-slider-box type-${ue}`,dt();let re=ue===Le?"vertical":"horizontal";for(let me of w)me.setAttr("aria-orientation",re)},A=g=>{Fe=g,w.length>1&&bo(w,Fe,f),dt(),Bt()},I=g=>{N=g,w.length>1&&bo(w,N,f),dt(),Bt()},C=g=>{rt=se(g,tt),rt<0&&(rt=tt),Bt()},Q=g=>{g==null||g.toString().trim().toLowerCase()==="false"?(kt=void 0,y.style.removeProperty(po),y.classList.remove(Ct)):(kt=g.toString(),y.style.setProperty(po,kt),y.classList.add(Ct))},fe=(g,$)=>{let T=w[g];!T||(T.setAttr("aria-label",$),$o[g]=$)},xe=g=>{if(ke=void 0,w.length<=1){Ie=!1,y.classList.remove(an);return}Ie=g,y.classList.toggle(an,Ie)},De=()=>{ci(Ee(f.getAttribute(W))),Xe=Ee(f.getAttribute(Z)),ze=Ee(f.getAttribute(z));let g=_r(f,/^pointer([0-9]*)-disabled$/,$=>Ee($));for(let $ of g){let T=$[0];!w[T]||(w[T].disabled=$[1])}},qe=()=>{let g=_r(f,/^aria-label([0-9]*)$/);for(let $ of g){let T=$[0];fe(T,$[1])}},Ze=g=>{let $=w.length,T=w[$-1].$pointer,re=T.cloneNode(!0);T.after(re);let me=Vn(f,re,$);return me.setCallbacks(xo,So,Ao,_o),w.push(me),mn(g,$),dt(),Bt(),$},je=()=>{let g=w.length,$=w[g-1];return $?($.destroy(),w.pop(),w.length<=1&&xe(!1),dt(),Bt(),g-1):-1};return(()=>{var g,$;for(let re of w)re.setCallbacks(xo,So,Ao,_o);let T=(g=f.shadowRoot)==null?void 0:g.querySelector(".panel-fill");T&&(q=Oa(T)),b(f.getAttribute(_)),A(Ee(f.getAttribute(j))),I(Ee(f.getAttribute(H))),Co(f.getAttribute(d),f.getAttribute(m)),bn(f.getAttribute(v)),p(f.getAttribute(h)),vn(x.map(re=>re[1])),ai(Ee(f.getAttribute(s))),li(se(f.getAttribute(l),0)),ar(se(f.getAttribute(a),1/0)),xe(Ee(f.getAttribute(u))),C(se(f.getAttribute(S),tt)),De(),qe(),G=Er(f,y,w),Q(($=f.getAttribute(Ce))!=null?$:wo),y.addEventListener("mousedown",Zn),y.addEventListener("mouseup",cn),y.addEventListener("touchmove",jt),y.addEventListener("touchstart",jt),ze||document.addEventListener("wheel",fn,{passive:!1}),k=Jn(f,Eo,{setValues:vn,setMin:Ht,setMax:Ut,setStep:bn,setPointersOverlap:ai,setPointersMinDistance:li,setPointersMaxDistance:ar,setDisabled:ci,setType:b,setRightToLeft:A,setBottomToTop:I,setRound:C,setKeyboardDisabled:ko,setMousewheelDisabled:c,setRangeDragging:xe,setData:p},{getPercents:Mo,getValues:Po,getPointerElements:ei,getMin:Lr,getMax:Oo,getStep:Qn,getData:ti,getType:ri,getRound:hn,getTextMin:pn,getTextMax:Nt,isRightToLeft:$t,isBottomToTop:ii,isDisabled:oi,isKeyboardDisabled:Tr,isMousewheelDisabled:yn,isPointersOverlap:Rr,isRangeDraggingEnabled:ct,getPointersMinDistance:dn,getPointersMaxDistance:ni}),k.init()})(),{get pointers(){return w},get styles(){return G},get pluginsManager(){return k},get min(){return pn()},get max(){return Nt()},get step(){return Qn()},get pointersOverlap(){return Rr()},set pointersOverlap(g){ai(g)},get pointersMinDistance(){return dn()},set pointersMinDistance(g){li(g)},get pointersMaxDistance(){return ni()},set pointersMaxDistance(g){ar(g)},get disabled(){return oi()},set disabled(g){ci(g)},get data(){return ti()},get type(){return ri()},set type(g){b(g)},get rightToLeft(){return $t()},set rightToLeft(g){A(g)},get bottomToTop(){return ii()},set bottomToTop(g){I(g)},get round(){return hn()},set round(g){C(g)},get animateOnClick(){return kt},set animateOnClick(g){Q(g)},get keyboardDisabled(){return Tr()},set keyboardDisabled(g){ko(g)},get mousewheelDisabled(){return yn()},set mousewheelDisabled(g){c(g)},get rangeDragging(){return ct()},set rangeDragging(g){xe(g)},setMin:Ht,setMax:Ut,setValue:mn,setStep:bn,setData:p,getTextValue:or,setAriaLabel:fe,getAriaLabel:gn,addPointer:Ze,removePointer:je,destroy:()=>{y.removeEventListener("mousedown",Zn),y.removeEventListener("mouseup",cn),y.removeEventListener("touchmove",jt),y.removeEventListener("touchstart",jt),document.removeEventListener("wheel",fn);for(let g of w)g.destroy();k==null||k.destroy()}}},Wa=(f,y,x)=>{let w=sn.find(([k,L,te,ae])=>L.replace("#","")===y.replace(/\d+/g,""));if(w&&f.styles){let[k,L,te,ae]=w,F=y.replace(/\D/g,"").trim(),ue=F===""||F==="0"||F==="1"?0:se(F,0)-1;f.styles.setStyle(k,x,ue);return}switch(f&&f.pluginsManager&&f.pluginsManager.onAttrChange(y,x),y){case d:{f.setMin(x);break}case m:{f.setMax(x);break}case v:{f.setStep(x);break}case s:{f.pointersOverlap=Ee(x);break}case l:{f.pointersMinDistance=se(x,0);break}case u:{f.rangeDragging=Ee(x);break}case a:{f.pointersMaxDistance=se(x,1/0);break}case W:{f.disabled=Ee(x);break}case Z:{f.keyboardDisabled=Ee(x);break}case z:{f.mousewheelDisabled=Ee(x);break}case h:{f.setData(x);break}case _:{f.type=x;break}case j:{f.rightToLeft=Ee(x);break}case H:{f.bottomToTop=Ee(x);break}case S:{f.round=se(x,tt);break}case D:{f.styles&&(f.styles.theme=x);break}case Ce:{f.animateOnClick=x;break}}let P=null;if(/^value([0-9]*)$/.test(y)&&(P="value"),/^pointer([0-9]*)-disabled$/.test(y)&&(P="pointer-disabled"),/^aria-label([0-9]*)$/.test(y)&&(P="aria-label"),/^pointer([0-9]*)-shape$/.test(y)&&(P="pointer-shape"),!P)return;let q=y.replace(/\D/g,"").trim(),G=q===""||q==="0"||q==="1"?0:se(q,0)-1;switch(P){case"value":{f.setValue(x,G);break}case"pointer-disabled":{let k=f==null?void 0:f.pointers[G];if(!k)return;k.disabled=Ee(x);break}case"aria-label":{f.setAriaLabel(G,x);break}case"pointer-shape":{f.styles&&f.styles.setPointerShape(G,x);break}}},za=class extends HTMLElement{constructor(){super(),n(this,"slider"),n(this,"_externalCSSList",[]),n(this,"_observer",null),this.attachShadow({mode:"open"})}set step(f){this.slider&&this.slider.setStep(f)}get step(){var f;return(f=this.slider)==null?void 0:f.step}set disabled(f){this.slider&&(this.slider.disabled=f)}get disabled(){var f,y;return(y=(f=this.slider)==null?void 0:f.disabled)!=null?y:!1}set data(f){var y;(y=this.slider)==null||y.setData(f)}get data(){var f;return(f=this.slider)==null?void 0:f.data}set min(f){var y;(y=this.slider)==null||y.setMin(f)}get min(){var f;return(f=this.slider)==null?void 0:f.min}set max(f){var y;(y=this.slider)==null||y.setMax(f)}get max(){var f;return(f=this.slider)==null?void 0:f.max}set round(f){!this.slider||(this.slider.round=f)}get round(){var f,y;return(y=(f=this.slider)==null?void 0:f.round)!=null?y:tt}set type(f){!this.slider||(this.slider.type=f??Je)}get type(){var f;return((f=this.slider)==null?void 0:f.type)||Je}set pointersOverlap(f){!this.slider||(this.slider.pointersOverlap=f)}get pointersOverlap(){var f,y;return(y=(f=this.slider)==null?void 0:f.pointersOverlap)!=null?y:!1}set pointersMinDistance(f){!this.slider||(this.slider.pointersMinDistance=f)}get pointersMinDistance(){var f,y;return(y=(f=this.slider)==null?void 0:f.pointersMinDistance)!=null?y:0}set pointersMaxDistance(f){!this.slider||(this.slider.pointersMaxDistance=f)}get pointersMaxDistance(){var f,y;return(y=(f=this.slider)==null?void 0:f.pointersMaxDistance)!=null?y:1/0}set theme(f){!this.slider||!this.slider.styles||(this.slider.styles.theme=f)}get theme(){var f,y,x;return(x=(y=(f=this.slider)==null?void 0:f.styles)==null?void 0:y.theme)!=null?x:null}set rtl(f){!this.slider||(this.slider.rightToLeft=f)}get rtl(){var f,y;return(y=(f=this.slider)==null?void 0:f.rightToLeft)!=null?y:!1}set btt(f){!this.slider||(this.slider.bottomToTop=f)}get btt(){var f,y;return(y=(f=this.slider)==null?void 0:f.bottomToTop)!=null?y:!1}set keyboardDisabled(f){!this.slider||(this.slider.keyboardDisabled=f)}get keyboardDisabled(){var f,y;return(y=(f=this.slider)==null?void 0:f.keyboardDisabled)!=null?y:!1}set mousewheelDisabled(f){!this.slider||(this.slider.mousewheelDisabled=f)}get mousewheelDisabled(){var f,y;return(y=(f=this.slider)==null?void 0:f.mousewheelDisabled)!=null?y:!1}set animateOnClick(f){!this.slider||(this.slider.animateOnClick=f)}get animateOnClick(){var f;return(f=this.slider)==null?void 0:f.animateOnClick}get rangeDragging(){var f,y;return(y=(f=this.slider)==null?void 0:f.rangeDragging)!=null?y:!1}set rangeDragging(f){this.slider&&(this.slider.rangeDragging=Ee(f))}get externalCSSList(){return this._externalCSSList}addPointer(f){var y,x;if(!this.slider)return;let w=(x=(y=this.slider)==null?void 0:y.addPointer(f))!=null?x:0;mo(this,this.slider,w,`value${w+1}`,`ariaLabel${w+1}`,`pointerShape${w+1}`,`pointer${w+1}Disabled`)}removePointer(){var f;!this.slider||(f=this.slider)==null||f.removePointer()}addCSS(f){if(!this.shadowRoot)return;let y=document.createElement("style");y.textContent=f,this.shadowRoot.appendChild(y)}connectedCallback(){var f,y;if(!this.shadowRoot)return;this._externalCSSList=Na(this),this.shadowRoot.innerHTML=i(o,this._externalCSSList);let x=(f=this.shadowRoot)==null?void 0:f.querySelector(".pointer");if(!x)return;let w=(y=this.shadowRoot)==null?void 0:y.getElementById("range-slider");if(!w)return;let P=Ha(this,x);this.slider=Fa(this,w,P),Ua(this,this.slider),this._observer=new MutationObserver(q=>{q.forEach(G=>{var k;if(!this.slider||G.type!=="attributes")return;let L=G.attributeName;!L||Wa(this.slider,L,(k=this.getAttribute(L))!=null?k:"")})}),this._observer.observe(this,{attributes:!0})}disconnectedCallback(){this._observer&&this._observer.disconnect(),this.slider&&this.slider.destroy()}},Xn=za;window.tcRangeSlider=Xn,customElements.get("toolcool-range-slider")||customElements.define("toolcool-range-slider",Xn),customElements.get("tc-range-slider")||customElements.define("tc-range-slider",class extends Xn{})})();class xp extends it{constructor(){super();nt(this,Sr);this.filterObject={},this.tabIndex=0,this.inputHandler=Se(this,Sr,Wp).bind(this),this.debouncedInputHandler=eo(this.inputHandler,0,{leading:!0})}reset(){W0(this)}createRenderRoot(){return this}render(){return Ge(this.filterObject,()=>X`
701
701
  ${Se(this,Sr,tl).call(this,"min","before")}
702
702
  <tc-range-slider
703
703
  min="${this.filterObject.min}"
@@ -708,7 +708,7 @@ li.highlighted,
708
708
  @change=${this.debouncedInputHandler}
709
709
  ></tc-range-slider>
710
710
  ${Se(this,Sr,tl).call(this,"max","after")}
711
- `)}}Sr=new WeakSet,Wp=function(r){z0(r,this)},tl=function(r,n){return q0(r,n,this)},ui(xp,"properties",{filterObject:{attribute:!1,type:Object},tabIndex:{attribute:!1,type:Number}}),customElements.define("eox-itemfilter-range",xp);class h1 extends it{constructor(){super();nt(this,ao);this.filterObject={},this.tabIndex=0}static get properties(){return{filterObject:{type:Object},tabIndex:{attribute:!1,type:Number}}}reset(){Z0(this)}createRenderRoot(){return this}render(){return Ge(this.filterObject,()=>{var r;return X`
711
+ `)}}Sr=new WeakSet,Wp=function(r){z0(r,this)},tl=function(r,n){return q0(r,n,this)},ui(xp,"properties",{filterObject:{attribute:!1,type:Object},tabIndex:{attribute:!1,type:Number}}),customElements.define("eox-itemfilter-range",xp);class hw extends it{constructor(){super();nt(this,ao);this.filterObject={},this.tabIndex=0}static get properties(){return{filterObject:{type:Object},tabIndex:{attribute:!1,type:Number}}}reset(){Z0(this)}createRenderRoot(){return this}render(){return Ge(this.filterObject,()=>{var r;return X`
712
712
  <form style="display: inline">
713
713
  ${pi(["intersects","within"],n=>X`
714
714
  <label>
@@ -729,7 +729,7 @@ li.highlighted,
729
729
  .geometry="${(r=this.filterObject.state)==null?void 0:r.geometry}"
730
730
  @filter="${n=>{this.filterObject.state.geometry=n.detail.geometry,this.filterObject.dirty=!0,this.filterObject.stringifiedState="Polygon",this.dispatchEvent(new CustomEvent("filter"))}}"
731
731
  ></eox-itemfilter-spatial>
732
- `})}}ao=new WeakSet,zp=function(r){e1(r,this)},customElements.define("eox-itemfilter-spatial",h1);class d1 extends it{constructor(){super();nt(this,lo);this.geometry=null,this.eoxMap=null}static get properties(){return{geometry:{type:Object},eoxMap:{type:Object}}}firstUpdated(){Se(this,lo,qp).call(this)}reset(){Q0(this)}render(){return X`<div id="eox-map"></div>`}}lo=new WeakSet,qp=function(){hp(this)},customElements.define("eox-itemfilter-spatial-filter",d1);function g1(t,e){e.renderRoot.querySelectorAll(".chip").forEach(r=>{r.classList.remove("highlighted")}),t.target.classList.add("highlighted"),e.requestUpdate()}function y1(t,e){const{code:r,target:n}=t;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)&&v1(r,t.target.value??"",e)))}function v1(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 o=r.renderRoot.querySelector(".chip.highlighted");o&&(i=Array.from(r.renderRoot.querySelectorAll(".chip")).indexOf(o),o.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 m1 extends it{constructor(){super();nt(this,Ar);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",Se(this,Ar,rl).bind(this))}disconnectedCallback(){super.disconnectedCallback(),this.getRootNode().removeEventListener("keydown",Se(this,Ar,rl).bind(this))}_dispatchEvent(){this.dispatchEvent(new CustomEvent("items-selected",{detail:this.items}))}render(){return X`
732
+ `})}}ao=new WeakSet,zp=function(r){ew(r,this)},customElements.define("eox-itemfilter-spatial",hw);class dw extends it{constructor(){super();nt(this,lo);this.geometry=null,this.eoxMap=null}static get properties(){return{geometry:{type:Object},eoxMap:{type:Object}}}firstUpdated(){Se(this,lo,qp).call(this)}reset(){Q0(this)}render(){return X`<div id="eox-map"></div>`}}lo=new WeakSet,qp=function(){hp(this)},customElements.define("eox-itemfilter-spatial-filter",dw);function gw(t,e){e.renderRoot.querySelectorAll(".chip").forEach(r=>{r.classList.remove("highlighted")}),t.target.classList.add("highlighted"),e.requestUpdate()}function yw(t,e){const{code:r,target:n}=t;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)&&vw(r,t.target.value??"",e)))}function vw(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 o=r.renderRoot.querySelector(".chip.highlighted");o&&(i=Array.from(r.renderRoot.querySelectorAll(".chip")).indexOf(o),o.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 mw extends it{constructor(){super();nt(this,Ar);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",Se(this,Ar,rl).bind(this))}disconnectedCallback(){super.disconnectedCallback(),this.getRootNode().removeEventListener("keydown",Se(this,Ar,rl).bind(this))}_dispatchEvent(){this.dispatchEvent(new CustomEvent("items-selected",{detail:this.items}))}render(){return X`
733
733
  <style>
734
734
  ${Pn}
735
735
  </style>
@@ -746,7 +746,7 @@ li.highlighted,
746
746
  </span>
747
747
  `)}
748
748
  </span>
749
- `}}Ar=new WeakSet,rl=function(r){y1(r,this)},Gp=function(r){g1(r,this)},customElements.define("eox-itemfilter-chips",m1);const Sp=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,expandMultipleFilters:!0,expandResults:!0,expandMultipleResults:!0});var b1=200,ba="__lodash_hash_undefined__",w1=1/0,$1="[object Function]",x1="[object GeneratorFunction]",S1=/[\\^$.*+?()[\]{}|]/g,A1=/^\[object .+?Constructor\]$/,_1=typeof Ve=="object"&&Ve&&Ve.Object===Object&&Ve,E1=typeof self=="object"&&self&&self.Object===Object&&self,wa=_1||E1||Function("return this")();function M1(t,e){var r=t?t.length:0;return!!r&&C1(t,e,0)>-1}function P1(t,e,r){for(var n=-1,i=t?t.length:0;++n<i;)if(r(e,t[n]))return!0;return!1}function O1(t,e,r,n){for(var i=t.length,o=r+(n?1:-1);n?o--:++o<i;)if(e(t[o],o,t))return o;return-1}function C1(t,e,r){if(e!==e)return O1(t,k1,r);for(var n=r-1,i=t.length;++n<i;)if(t[n]===e)return n;return-1}function k1(t){return t!==t}function L1(t,e){return t.has(e)}function T1(t,e){return t==null?void 0:t[e]}function R1(t){var e=!1;if(t!=null&&typeof t.toString!="function")try{e=!!(t+"")}catch{}return e}function Ap(t){var e=-1,r=Array(t.size);return t.forEach(function(n){r[++e]=n}),r}var D1=Array.prototype,I1=Function.prototype,_p=Object.prototype,$a=wa["__core-js_shared__"],Ep=function(){var t=/[^.]+$/.exec($a&&$a.keys&&$a.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}(),Mp=I1.toString,xa=_p.hasOwnProperty,j1=_p.toString,B1=RegExp("^"+Mp.call(xa).replace(S1,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),N1=D1.splice,H1=Aa(wa,"Map"),Sa=Aa(wa,"Set"),qn=Aa(Object,"create");function $r(t){var e=-1,r=t?t.length:0;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}function U1(){this.__data__=qn?qn(null):{}}function F1(t){return this.has(t)&&delete this.__data__[t]}function W1(t){var e=this.__data__;if(qn){var r=e[t];return r===ba?void 0:r}return xa.call(e,t)?e[t]:void 0}function z1(t){var e=this.__data__;return qn?e[t]!==void 0:xa.call(e,t)}function q1(t,e){var r=this.__data__;return r[t]=qn&&e===void 0?ba:e,this}$r.prototype.clear=U1,$r.prototype.delete=F1,$r.prototype.get=W1,$r.prototype.has=z1,$r.prototype.set=q1;function Qr(t){var e=-1,r=t?t.length:0;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}function G1(){this.__data__=[]}function V1(t){var e=this.__data__,r=ro(e,t);if(r<0)return!1;var n=e.length-1;return r==n?e.pop():N1.call(e,r,1),!0}function K1(t){var e=this.__data__,r=ro(e,t);return r<0?void 0:e[r][1]}function Y1(t){return ro(this.__data__,t)>-1}function J1(t,e){var r=this.__data__,n=ro(r,t);return n<0?r.push([t,e]):r[n][1]=e,this}Qr.prototype.clear=G1,Qr.prototype.delete=V1,Qr.prototype.get=K1,Qr.prototype.has=Y1,Qr.prototype.set=J1;function en(t){var e=-1,r=t?t.length:0;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}function X1(){this.__data__={hash:new $r,map:new(H1||Qr),string:new $r}}function Z1(t){return no(this,t).delete(t)}function Q1(t){return no(this,t).get(t)}function ew(t){return no(this,t).has(t)}function tw(t,e){return no(this,t).set(t,e),this}en.prototype.clear=X1,en.prototype.delete=Z1,en.prototype.get=Q1,en.prototype.has=ew,en.prototype.set=tw;function to(t){var e=-1,r=t?t.length:0;for(this.__data__=new en;++e<r;)this.add(t[e])}function rw(t){return this.__data__.set(t,ba),this}function nw(t){return this.__data__.has(t)}to.prototype.add=to.prototype.push=rw,to.prototype.has=nw;function ro(t,e){for(var r=t.length;r--;)if(fw(t[r][0],e))return r;return-1}function iw(t){if(!Pp(t)||lw(t))return!1;var e=pw(t)||R1(t)?B1:A1;return e.test(cw(t))}function ow(t,e,r){var n=-1,i=M1,o=t.length,s=!0,l=[],a=l;if(r)s=!1,i=P1;else if(o>=b1){var u=e?null:sw(t);if(u)return Ap(u);s=!1,i=L1,a=new to}else a=e?[]:l;e:for(;++n<o;){var h=t[n],d=e?e(h):h;if(h=r||h!==0?h:0,s&&d===d){for(var m=a.length;m--;)if(a[m]===d)continue e;e&&a.push(d),l.push(h)}else i(a,d,r)||(a!==l&&a.push(d),l.push(h))}return l}var sw=Sa&&1/Ap(new Sa([,-0]))[1]==w1?function(t){return new Sa(t)}:hw;function no(t,e){var r=t.__data__;return aw(e)?r[typeof e=="string"?"string":"hash"]:r.map}function Aa(t,e){var r=T1(t,e);return iw(r)?r:void 0}function aw(t){var e=typeof t;return e=="string"||e=="number"||e=="symbol"||e=="boolean"?t!=="__proto__":t===null}function lw(t){return!!Ep&&Ep in t}function cw(t){if(t!=null){try{return Mp.call(t)}catch{}try{return t+""}catch{}}return""}function uw(t){return t&&t.length?ow(t):[]}function fw(t,e){return t===e||t!==t&&e!==e}function pw(t){var e=Pp(t)?j1.call(t):"";return e==$1||e==x1}function Pp(t){var e=typeof t;return!!t&&(e=="object"||e=="function")}function hw(){}var dw=uw;const Op=kn(dw);var io={exports:{}};io.exports,function(t,e){var r=200,n="Expected a function",i="__lodash_hash_undefined__",o=1,s=2,l=1/0,a=9007199254740991,u="[object Arguments]",h="[object Array]",d="[object Boolean]",m="[object Date]",v="[object Error]",S="[object Function]",_="[object GeneratorFunction]",I="[object Map]",j="[object Number]",H="[object Object]",W="[object Promise]",Z="[object RegExp]",z="[object Set]",U="[object String]",ee="[object Symbol]",oe="[object WeakMap]",we="[object ArrayBuffer]",de="[object DataView]",ne="[object Float32Array]",Ne="[object Float64Array]",et="[object Int8Array]",R="[object Int16Array]",M="[object Int32Array]",E="[object Uint8Array]",B="[object Uint8ClampedArray]",O="[object Uint16Array]",Y="[object Uint32Array]",J=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,ye=/^\w*$/,_e=/^\./,Pe=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Ce=/[\\^$.*+?()[\]{}|]/g,Ye=/\\(\\)?/g,Le=/^\[object .+?Constructor\]$/,Je=/^(?:0|[1-9]\d*)$/,ce={};ce[ne]=ce[Ne]=ce[et]=ce[R]=ce[M]=ce[E]=ce[B]=ce[O]=ce[Y]=!0,ce[u]=ce[h]=ce[we]=ce[d]=ce[de]=ce[m]=ce[v]=ce[S]=ce[I]=ce[j]=ce[H]=ce[Z]=ce[z]=ce[U]=ce[oe]=!1;var Te=typeof Ve=="object"&&Ve&&Ve.Object===Object&&Ve,se=typeof self=="object"&&self&&self.Object===Object&&self,Re=Te||se||Function("return this")(),Ot=e&&!e.nodeType&&e,Ee=Ot&&!0&&t&&!t.nodeType&&t,_a=Ee&&Ee.exports===Ot,co=_a&&Te.process,uo=function(){try{return co&&co.binding("util")}catch{}}(),fo=uo&&uo.isTypedArray;function Ea(c,p){for(var b=-1,A=c?c.length:0,D=Array(A);++b<A;)D[b]=p(c[b],b,c);return D}function Vn(c,p){for(var b=-1,A=p.length,D=c.length;++b<A;)c[D+b]=p[b];return c}function Ma(c,p){for(var b=-1,A=c?c.length:0;++b<A;)if(p(c[b],b,c))return!0;return!1}function Pa(c){return function(p){return p==null?void 0:p[c]}}function Oa(c,p){for(var b=-1,A=Array(c);++b<c;)A[b]=p(b);return A}function po(c){return function(p){return c(p)}}function Ca(c,p){return c==null?void 0:c[p]}function Kn(c){var p=!1;if(c!=null&&typeof c.toString!="function")try{p=!!(c+"")}catch{}return p}function ka(c){var p=-1,b=Array(c.size);return c.forEach(function(A,D){b[++p]=[D,A]}),b}function La(c,p){return function(b){return c(p(b))}}function Ta(c){var p=-1,b=Array(c.size);return c.forEach(function(A){b[++p]=A}),b}var Ra=Array.prototype,Da=Function.prototype,nn=Object.prototype,Yn=Re["__core-js_shared__"],ho=function(){var c=/[^.]+$/.exec(Yn&&Yn.keys&&Yn.keys.IE_PROTO||"");return c?"Symbol(src)_1."+c:""}(),go=Da.toString,wt=nn.hasOwnProperty,nr=nn.toString,Ia=RegExp("^"+go.call(wt).replace(Ce,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),on=Re.Symbol,yo=Re.Uint8Array,ja=nn.propertyIsEnumerable,Ba=Ra.splice,_r=on?on.isConcatSpreadable:void 0,Na=La(Object.keys,Object),sn=sr(Re,"DataView"),Er=sr(Re,"Map"),Ct=sr(Re,"Promise"),an=sr(Re,"Set"),Jn=sr(Re,"WeakMap"),Mr=sr(Object,"create"),vo=$t(sn),Ha=$t(Er),mo=$t(Ct),Ua=$t(an),bo=$t(Jn),ln=on?on.prototype:void 0,Pr=ln?ln.valueOf:void 0,ir=ln?ln.toString:void 0;function tt(c){var p=-1,b=c?c.length:0;for(this.clear();++p<b;){var A=c[p];this.set(A[0],A[1])}}function wo(){this.__data__=Mr?Mr(null):{}}function Fa(c){return this.has(c)&&delete this.__data__[c]}function Wa(c){var p=this.__data__;if(Mr){var b=p[c];return b===i?void 0:b}return wt.call(p,c)?p[c]:void 0}function za(c){var p=this.__data__;return Mr?p[c]!==void 0:wt.call(p,c)}function Xn(c,p){var b=this.__data__;return b[c]=Mr&&p===void 0?i:p,this}tt.prototype.clear=wo,tt.prototype.delete=Fa,tt.prototype.get=Wa,tt.prototype.has=za,tt.prototype.set=Xn;function f(c){var p=-1,b=c?c.length:0;for(this.clear();++p<b;){var A=c[p];this.set(A[0],A[1])}}function y(){this.__data__=[]}function x(c){var p=this.__data__,b=Ae(p,c);if(b<0)return!1;var A=p.length-1;return b==A?p.pop():Ba.call(p,b,1),!0}function w(c){var p=this.__data__,b=Ae(p,c);return b<0?void 0:p[b][1]}function P(c){return Ae(this.__data__,c)>-1}function q(c,p){var b=this.__data__,A=Ae(b,c);return A<0?b.push([c,p]):b[A][1]=p,this}f.prototype.clear=y,f.prototype.delete=x,f.prototype.get=w,f.prototype.has=P,f.prototype.set=q;function G(c){var p=-1,b=c?c.length:0;for(this.clear();++p<b;){var A=c[p];this.set(A[0],A[1])}}function k(){this.__data__={hash:new tt,map:new(Er||f),string:new tt}}function L(c){return Nt(this,c).delete(c)}function te(c){return Nt(this,c).get(c)}function ae(c){return Nt(this,c).has(c)}function F(c,p){return Nt(this,c).set(c,p),this}G.prototype.clear=k,G.prototype.delete=L,G.prototype.get=te,G.prototype.has=ae,G.prototype.set=F;function ue(c){var p=-1,b=c?c.length:0;for(this.__data__=new G;++p<b;)this.add(c[p])}function rt(c){return this.__data__.set(c,i),this}function Fe(c){return this.__data__.has(c)}ue.prototype.add=ue.prototype.push=rt,ue.prototype.has=Fe;function N(c){this.__data__=new f(c)}function ie(){this.__data__=new f}function V(c){return this.__data__.delete(c)}function $e(c){return this.__data__.get(c)}function De(c){return this.__data__.has(c)}function ke(c,p){var b=this.__data__;if(b instanceof f){var A=b.__data__;if(!Er||A.length<r-1)return A.push([c,p]),this;b=this.__data__=new G(A)}return b.set(c,p),this}N.prototype.clear=ie,N.prototype.delete=V,N.prototype.get=$e,N.prototype.has=De,N.prototype.set=ke;function Me(c,p){var b=ct(c)||Rr(c)?Oa(c.length,String):[],A=b.length,D=!!A;for(var C in c)(p||wt.call(c,C))&&!(D&&(C=="length"||ei(C,A)))&&b.push(C);return b}function Ae(c,p){for(var b=c.length;b--;)if(yn(c[b][0],p))return b;return-1}var Xe=Ka($o);function ze(c,p,b,A,D){var C=-1,Q=c.length;for(b||(b=Po),D||(D=[]);++C<Q;){var fe=c[C];p>0&&b(fe)?p>1?ze(fe,p-1,b,A,D):Vn(D,fe):A||(D[D.length]=fe)}return D}var kt=Ya();function $o(c,p){return c&&kt(c,p,ar)}function Zn(c,p){p=Lr(p,c)?[p]:Eo(p);for(var b=0,A=p.length;c!=null&&b<A;)c=c[gn(p[b++])];return b&&b==A?c:void 0}function cn(c){return nr.call(c)}function qa(c,p){return c!=null&&p in Object(c)}function un(c,p,b,A,D){return c===p?!0:c==null||p==null||!Ht(c)&&!Ut(p)?c!==c&&p!==p:jt(c,p,un,b,A,D)}function jt(c,p,b,A,D,C){var Q=ct(c),fe=ct(p),xe=h,Ie=h;Q||(xe=Lt(c),xe=xe==u?H:xe),fe||(Ie=Lt(p),Ie=Ie==u?H:Ie);var qe=xe==H&&!Kn(c),Ze=Ie==H&&!Kn(p),je=xe==Ie;if(je&&!qe)return C||(C=new N),Q||mn(c)?kr(c,p,b,A,D,C):or(c,p,xe,b,A,D,C);if(!(D&s)){var g=qe&&wt.call(c,"__wrapped__"),$=Ze&&wt.call(p,"__wrapped__");if(g||$){var T=g?c.value():c,re=$?p.value():p;return C||(C=new N),b(T,re,A,D,C)}}return je?(C||(C=new N),pn(c,p,b,A,D,C)):!1}function fn(c,p,b,A){var D=b.length,C=D,Q=!A;if(c==null)return!C;for(c=Object(c);D--;){var fe=b[D];if(Q&&fe[2]?fe[1]!==c[fe[0]]:!(fe[0]in c))return!1}for(;++D<C;){fe=b[D];var xe=fe[0],Ie=c[xe],qe=fe[1];if(Q&&fe[2]){if(Ie===void 0&&!(xe in c))return!1}else{var Ze=new N;if(A)var je=A(Ie,qe,xe,c,p,Ze);if(!(je===void 0?un(qe,Ie,A,o|s,Ze):je))return!1}}return!0}function xo(c){if(!Ht(c)||ti(c))return!1;var p=Co(c)||Kn(c)?Ia:Le;return p.test($t(c))}function So(c){return Ut(c)&&si(c.length)&&!!ce[nr.call(c)]}function Ao(c){return typeof c=="function"?c:c==null?ci:typeof c=="object"?ct(c)?Or(c[0],c[1]):Va(c):ko(c)}function _o(c){if(!ri(c))return Na(c);var p=[];for(var b in Object(c))wt.call(c,b)&&b!="constructor"&&p.push(b);return p}function Ga(c,p){var b=-1,A=He(c)?Array(c.length):[];return Xe(c,function(D,C,Q){A[++b]=p(D,C,Q)}),A}function Va(c){var p=Qn(c);return p.length==1&&p[0][2]?dn(p[0][0],p[0][1]):function(b){return b===c||fn(b,c,p)}}function Or(c,p){return Lr(c)&&hn(p)?dn(gn(c),p):function(b){var A=ai(b,c);return A===void 0&&A===p?li(b,c):un(p,A,void 0,o|s)}}function Cr(c){return function(p){return Zn(p,c)}}function Bt(c){if(typeof c=="string")return c;if(vn(c))return ir?ir.call(c):"";var p=c+"";return p=="0"&&1/c==-l?"-0":p}function Eo(c){return ct(c)?c:ni(c)}function Ka(c,p){return function(b,A){if(b==null)return b;if(!He(b))return c(b,A);for(var D=b.length,C=p?D:-1,Q=Object(b);(p?C--:++C<D)&&A(Q[C],C,Q)!==!1;);return b}}function Ya(c){return function(p,b,A){for(var D=-1,C=Object(p),Q=A(p),fe=Q.length;fe--;){var xe=Q[c?fe:++D];if(b(C[xe],xe,C)===!1)break}return p}}function kr(c,p,b,A,D,C){var Q=D&s,fe=c.length,xe=p.length;if(fe!=xe&&!(Q&&xe>fe))return!1;var Ie=C.get(c);if(Ie&&C.get(p))return Ie==p;var qe=-1,Ze=!0,je=D&o?new ue:void 0;for(C.set(c,p),C.set(p,c);++qe<fe;){var g=c[qe],$=p[qe];if(A)var T=Q?A($,g,qe,p,c,C):A(g,$,qe,c,p,C);if(T!==void 0){if(T)continue;Ze=!1;break}if(je){if(!Ma(p,function(re,me){if(!je.has(me)&&(g===re||b(g,re,A,D,C)))return je.add(me)})){Ze=!1;break}}else if(!(g===$||b(g,$,A,D,C))){Ze=!1;break}}return C.delete(c),C.delete(p),Ze}function or(c,p,b,A,D,C,Q){switch(b){case de:if(c.byteLength!=p.byteLength||c.byteOffset!=p.byteOffset)return!1;c=c.buffer,p=p.buffer;case we:return!(c.byteLength!=p.byteLength||!A(new yo(c),new yo(p)));case d:case m:case j:return yn(+c,+p);case v:return c.name==p.name&&c.message==p.message;case Z:case U:return c==p+"";case I:var fe=ka;case z:var xe=C&s;if(fe||(fe=Ta),c.size!=p.size&&!xe)return!1;var Ie=Q.get(c);if(Ie)return Ie==p;C|=o,Q.set(c,p);var qe=kr(fe(c),fe(p),A,D,C,Q);return Q.delete(c),qe;case ee:if(Pr)return Pr.call(c)==Pr.call(p)}return!1}function pn(c,p,b,A,D,C){var Q=D&s,fe=ar(c),xe=fe.length,Ie=ar(p),qe=Ie.length;if(xe!=qe&&!Q)return!1;for(var Ze=xe;Ze--;){var je=fe[Ze];if(!(Q?je in p:wt.call(p,je)))return!1}var g=C.get(c);if(g&&C.get(p))return g==p;var $=!0;C.set(c,p),C.set(p,c);for(var T=Q;++Ze<xe;){je=fe[Ze];var re=c[je],me=p[je];if(A)var pe=Q?A(me,re,je,p,c,C):A(re,me,je,c,p,C);if(!(pe===void 0?re===me||b(re,me,A,D,C):pe)){$=!1;break}T||(T=je=="constructor")}if($&&!T){var Qe=c.constructor,Ft=p.constructor;Qe!=Ft&&"constructor"in c&&"constructor"in p&&!(typeof Qe=="function"&&Qe instanceof Qe&&typeof Ft=="function"&&Ft instanceof Ft)&&($=!1)}return C.delete(c),C.delete(p),$}function Nt(c,p){var b=c.__data__;return Oo(p)?b[typeof p=="string"?"string":"hash"]:b.map}function Qn(c){for(var p=ar(c),b=p.length;b--;){var A=p[b],D=c[A];p[b]=[A,D,hn(D)]}return p}function sr(c,p){var b=Ca(c,p);return xo(b)?b:void 0}var Lt=cn;(sn&&Lt(new sn(new ArrayBuffer(1)))!=de||Er&&Lt(new Er)!=I||Ct&&Lt(Ct.resolve())!=W||an&&Lt(new an)!=z||Jn&&Lt(new Jn)!=oe)&&(Lt=function(c){var p=nr.call(c),b=p==H?c.constructor:void 0,A=b?$t(b):void 0;if(A)switch(A){case vo:return de;case Ha:return I;case mo:return W;case Ua:return z;case bo:return oe}return p});function Mo(c,p,b){p=Lr(p,c)?[p]:Eo(p);for(var A,D=-1,Q=p.length;++D<Q;){var C=gn(p[D]);if(!(A=c!=null&&b(c,C)))break;c=c[C]}if(A)return A;var Q=c?c.length:0;return!!Q&&si(Q)&&ei(C,Q)&&(ct(c)||Rr(c))}function Po(c){return ct(c)||Rr(c)||!!(_r&&c&&c[_r])}function ei(c,p){return p=p??a,!!p&&(typeof c=="number"||Je.test(c))&&c>-1&&c%1==0&&c<p}function Lr(c,p){if(ct(c))return!1;var b=typeof c;return b=="number"||b=="symbol"||b=="boolean"||c==null||vn(c)?!0:ye.test(c)||!J.test(c)||p!=null&&c in Object(p)}function Oo(c){var p=typeof c;return p=="string"||p=="number"||p=="symbol"||p=="boolean"?c!=="__proto__":c===null}function ti(c){return!!ho&&ho in c}function ri(c){var p=c&&c.constructor,b=typeof p=="function"&&p.prototype||nn;return c===b}function hn(c){return c===c&&!Ht(c)}function dn(c,p){return function(b){return b==null?!1:b[c]===p&&(p!==void 0||c in Object(b))}}var ni=Tr(function(c){c=bn(c);var p=[];return _e.test(c)&&p.push(""),c.replace(Pe,function(b,A,D,C){p.push(D?C.replace(Ye,"$1"):A||b)}),p});function gn(c){if(typeof c=="string"||vn(c))return c;var p=c+"";return p=="0"&&1/c==-l?"-0":p}function $t(c){if(c!=null){try{return go.call(c)}catch{}try{return c+""}catch{}}return""}function ii(c,p){return ze(oi(c,p),1)}function oi(c,p){var b=ct(c)?Ea:Ga;return b(c,Ao(p))}function Tr(c,p){if(typeof c!="function"||p&&typeof p!="function")throw new TypeError(n);var b=function(){var A=arguments,D=p?p.apply(this,A):A[0],C=b.cache;if(C.has(D))return C.get(D);var Q=c.apply(this,A);return b.cache=C.set(D,Q),Q};return b.cache=new(Tr.Cache||G),b}Tr.Cache=G;function yn(c,p){return c===p||c!==c&&p!==p}function Rr(c){return dt(c)&&wt.call(c,"callee")&&(!ja.call(c,"callee")||nr.call(c)==u)}var ct=Array.isArray;function He(c){return c!=null&&si(c.length)&&!Co(c)}function dt(c){return Ut(c)&&He(c)}function Co(c){var p=Ht(c)?nr.call(c):"";return p==S||p==_}function si(c){return typeof c=="number"&&c>-1&&c%1==0&&c<=a}function Ht(c){var p=typeof c;return!!c&&(p=="object"||p=="function")}function Ut(c){return!!c&&typeof c=="object"}function vn(c){return typeof c=="symbol"||Ut(c)&&nr.call(c)==ee}var mn=fo?po(fo):So;function bn(c){return c==null?"":Bt(c)}function ai(c,p,b){var A=c==null?void 0:Zn(c,p);return A===void 0?b:A}function li(c,p){return c!=null&&Mo(c,p,qa)}function ar(c){return He(c)?Me(c):_o(c)}function ci(c){return c}function ko(c){return Lr(c)?Pa(gn(c)):Cr(c)}t.exports=ii}(io,io.exports);var gw=io.exports;const Cp=kn(gw);function yw(t,e,r){let n=[];t.filterProperties.length&&t.filterProperties.forEach(o=>{const s={},l=u=>o.format==="date"?Wn(u).unix():parseInt(u,10);e.forEach(u=>{var h;if(o.type==="range"){if(Array.isArray(u[o.key])){const d=[l(u[o.key][0]),l(u[o.key][1])];s.min=s.min!==void 0?Math.min(s.min,d[0]):d[0],s.max=s.max!==void 0?Math.max(s.max,d[1]):d[1]}else{const d=l(u[o.key]);s.min=s.min!==void 0?Math.min(s.min,d):d,s.max=s.max!==void 0?Math.max(s.max,d):d}return}Array.isArray(u[o.key])?u[o.key].forEach(d=>{s[d]=void 0}):o.type==="spatial"?(s.geometry=void 0,s.mode=o.mode||"intersects"):(h=o.key)!=null&&h.includes(".")?Op(Cp(r.items,o.key)).filter(d=>d).forEach(d=>{s[d]=void 0}):s[u[o.key]]=void 0});const a=o.key||o.keys.join("|");r.filters[a]=Object.assign({type:o.type||"multiselect",dirty:o.state?!1:void 0,key:a},o.type==="range"?{min:s.min,max:s.max,format:o.format}:{},o),r.filters[a].state=Object.assign({},s,o.state)}),t.matchAllWhenEmpty!==!1&&(r.results=r.sortResults(e),r.requestUpdate()),t.aggregateResults&&(n=Array.from(new Set(e.reduce((o,s)=>o.concat(s[t.aggregateResults]),[]))).sort((o,s)=>o.localeCompare(s)));const i=[];return Object.values(r.filters).forEach(o=>{o.type==="text"?o.keys.forEach(s=>{i.includes(s)||i.push(s)}):(o.type==="select"||o.type==="multiselect")&&(i.includes(o.key)||i.push(o.key))}),v0(e,Object.assign({keys:i},t.fuseConfig)),n}async function vw(t,e,r){var i;let n;(i=r.config)!=null&&i.externalFilter?n=await $0(e,r.filters,t):n=await m0(e,r.filters,t),r.results=r.sortResults(n)}function mw(t,e,r){const n=`filter-${t.key}`.replace("|","-");switch(t.type){case"text":return X`<eox-itemfilter-text
749
+ `}}Ar=new WeakSet,rl=function(r){yw(r,this)},Gp=function(r){gw(r,this)},customElements.define("eox-itemfilter-chips",mw);const bw=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,expandMultipleFilters:!0,expandResults:!0,expandMultipleResults:!0}),Sp=["aggregateResults","autoSpreadSingle","enableHighlighting","externalFilter","filterProperties","fuseConfig","inlineMode","matchAllWhenEmpty","showResults","titleProperty","subTitleProperty","idProperty","expandMultipleFilters","expandResults","expandMultipleResults","items"];var ww=200,ba="__lodash_hash_undefined__",$w=1/0,xw="[object Function]",Sw="[object GeneratorFunction]",Aw=/[\\^$.*+?()[\]{}|]/g,_w=/^\[object .+?Constructor\]$/,Ew=typeof Ve=="object"&&Ve&&Ve.Object===Object&&Ve,Mw=typeof self=="object"&&self&&self.Object===Object&&self,wa=Ew||Mw||Function("return this")();function Pw(t,e){var r=t?t.length:0;return!!r&&kw(t,e,0)>-1}function Ow(t,e,r){for(var n=-1,i=t?t.length:0;++n<i;)if(r(e,t[n]))return!0;return!1}function Cw(t,e,r,n){for(var i=t.length,o=r+(n?1:-1);n?o--:++o<i;)if(e(t[o],o,t))return o;return-1}function kw(t,e,r){if(e!==e)return Cw(t,Lw,r);for(var n=r-1,i=t.length;++n<i;)if(t[n]===e)return n;return-1}function Lw(t){return t!==t}function Tw(t,e){return t.has(e)}function Rw(t,e){return t==null?void 0:t[e]}function Iw(t){var e=!1;if(t!=null&&typeof t.toString!="function")try{e=!!(t+"")}catch{}return e}function Ap(t){var e=-1,r=Array(t.size);return t.forEach(function(n){r[++e]=n}),r}var Dw=Array.prototype,jw=Function.prototype,_p=Object.prototype,$a=wa["__core-js_shared__"],Ep=function(){var t=/[^.]+$/.exec($a&&$a.keys&&$a.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}(),Mp=jw.toString,xa=_p.hasOwnProperty,Bw=_p.toString,Nw=RegExp("^"+Mp.call(xa).replace(Aw,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Hw=Dw.splice,Uw=Aa(wa,"Map"),Sa=Aa(wa,"Set"),qn=Aa(Object,"create");function $r(t){var e=-1,r=t?t.length:0;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}function Fw(){this.__data__=qn?qn(null):{}}function Ww(t){return this.has(t)&&delete this.__data__[t]}function zw(t){var e=this.__data__;if(qn){var r=e[t];return r===ba?void 0:r}return xa.call(e,t)?e[t]:void 0}function qw(t){var e=this.__data__;return qn?e[t]!==void 0:xa.call(e,t)}function Gw(t,e){var r=this.__data__;return r[t]=qn&&e===void 0?ba:e,this}$r.prototype.clear=Fw,$r.prototype.delete=Ww,$r.prototype.get=zw,$r.prototype.has=qw,$r.prototype.set=Gw;function Qr(t){var e=-1,r=t?t.length:0;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}function Vw(){this.__data__=[]}function Kw(t){var e=this.__data__,r=ro(e,t);if(r<0)return!1;var n=e.length-1;return r==n?e.pop():Hw.call(e,r,1),!0}function Yw(t){var e=this.__data__,r=ro(e,t);return r<0?void 0:e[r][1]}function Jw(t){return ro(this.__data__,t)>-1}function Xw(t,e){var r=this.__data__,n=ro(r,t);return n<0?r.push([t,e]):r[n][1]=e,this}Qr.prototype.clear=Vw,Qr.prototype.delete=Kw,Qr.prototype.get=Yw,Qr.prototype.has=Jw,Qr.prototype.set=Xw;function en(t){var e=-1,r=t?t.length:0;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}function Zw(){this.__data__={hash:new $r,map:new(Uw||Qr),string:new $r}}function Qw(t){return no(this,t).delete(t)}function e1(t){return no(this,t).get(t)}function t1(t){return no(this,t).has(t)}function r1(t,e){return no(this,t).set(t,e),this}en.prototype.clear=Zw,en.prototype.delete=Qw,en.prototype.get=e1,en.prototype.has=t1,en.prototype.set=r1;function to(t){var e=-1,r=t?t.length:0;for(this.__data__=new en;++e<r;)this.add(t[e])}function n1(t){return this.__data__.set(t,ba),this}function i1(t){return this.__data__.has(t)}to.prototype.add=to.prototype.push=n1,to.prototype.has=i1;function ro(t,e){for(var r=t.length;r--;)if(p1(t[r][0],e))return r;return-1}function o1(t){if(!Pp(t)||c1(t))return!1;var e=h1(t)||Iw(t)?Nw:_w;return e.test(u1(t))}function s1(t,e,r){var n=-1,i=Pw,o=t.length,s=!0,l=[],a=l;if(r)s=!1,i=Ow;else if(o>=ww){var u=e?null:a1(t);if(u)return Ap(u);s=!1,i=Tw,a=new to}else a=e?[]:l;e:for(;++n<o;){var h=t[n],d=e?e(h):h;if(h=r||h!==0?h:0,s&&d===d){for(var m=a.length;m--;)if(a[m]===d)continue e;e&&a.push(d),l.push(h)}else i(a,d,r)||(a!==l&&a.push(d),l.push(h))}return l}var a1=Sa&&1/Ap(new Sa([,-0]))[1]==$w?function(t){return new Sa(t)}:d1;function no(t,e){var r=t.__data__;return l1(e)?r[typeof e=="string"?"string":"hash"]:r.map}function Aa(t,e){var r=Rw(t,e);return o1(r)?r:void 0}function l1(t){var e=typeof t;return e=="string"||e=="number"||e=="symbol"||e=="boolean"?t!=="__proto__":t===null}function c1(t){return!!Ep&&Ep in t}function u1(t){if(t!=null){try{return Mp.call(t)}catch{}try{return t+""}catch{}}return""}function f1(t){return t&&t.length?s1(t):[]}function p1(t,e){return t===e||t!==t&&e!==e}function h1(t){var e=Pp(t)?Bw.call(t):"";return e==xw||e==Sw}function Pp(t){var e=typeof t;return!!t&&(e=="object"||e=="function")}function d1(){}var g1=f1;const Op=kn(g1);var io={exports:{}};io.exports,function(t,e){var r=200,n="Expected a function",i="__lodash_hash_undefined__",o=1,s=2,l=1/0,a=9007199254740991,u="[object Arguments]",h="[object Array]",d="[object Boolean]",m="[object Date]",v="[object Error]",S="[object Function]",_="[object GeneratorFunction]",D="[object Map]",j="[object Number]",H="[object Object]",W="[object Promise]",Z="[object RegExp]",z="[object Set]",U="[object String]",ee="[object Symbol]",oe="[object WeakMap]",we="[object ArrayBuffer]",de="[object DataView]",ne="[object Float32Array]",Ne="[object Float64Array]",et="[object Int8Array]",R="[object Int16Array]",M="[object Int32Array]",E="[object Uint8Array]",B="[object Uint8ClampedArray]",O="[object Uint16Array]",Y="[object Uint32Array]",J=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,ye=/^\w*$/,_e=/^\./,Pe=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Ce=/[\\^$.*+?()[\]{}|]/g,Ye=/\\(\\)?/g,Le=/^\[object .+?Constructor\]$/,Je=/^(?:0|[1-9]\d*)$/,ce={};ce[ne]=ce[Ne]=ce[et]=ce[R]=ce[M]=ce[E]=ce[B]=ce[O]=ce[Y]=!0,ce[u]=ce[h]=ce[we]=ce[d]=ce[de]=ce[m]=ce[v]=ce[S]=ce[D]=ce[j]=ce[H]=ce[Z]=ce[z]=ce[U]=ce[oe]=!1;var Te=typeof Ve=="object"&&Ve&&Ve.Object===Object&&Ve,se=typeof self=="object"&&self&&self.Object===Object&&self,Re=Te||se||Function("return this")(),Ot=e&&!e.nodeType&&e,Ee=Ot&&!0&&t&&!t.nodeType&&t,_a=Ee&&Ee.exports===Ot,co=_a&&Te.process,uo=function(){try{return co&&co.binding("util")}catch{}}(),fo=uo&&uo.isTypedArray;function Ea(c,p){for(var b=-1,A=c?c.length:0,I=Array(A);++b<A;)I[b]=p(c[b],b,c);return I}function Vn(c,p){for(var b=-1,A=p.length,I=c.length;++b<A;)c[I+b]=p[b];return c}function Ma(c,p){for(var b=-1,A=c?c.length:0;++b<A;)if(p(c[b],b,c))return!0;return!1}function Pa(c){return function(p){return p==null?void 0:p[c]}}function Oa(c,p){for(var b=-1,A=Array(c);++b<c;)A[b]=p(b);return A}function po(c){return function(p){return c(p)}}function Ca(c,p){return c==null?void 0:c[p]}function Kn(c){var p=!1;if(c!=null&&typeof c.toString!="function")try{p=!!(c+"")}catch{}return p}function ka(c){var p=-1,b=Array(c.size);return c.forEach(function(A,I){b[++p]=[I,A]}),b}function La(c,p){return function(b){return c(p(b))}}function Ta(c){var p=-1,b=Array(c.size);return c.forEach(function(A){b[++p]=A}),b}var Ra=Array.prototype,Ia=Function.prototype,nn=Object.prototype,Yn=Re["__core-js_shared__"],ho=function(){var c=/[^.]+$/.exec(Yn&&Yn.keys&&Yn.keys.IE_PROTO||"");return c?"Symbol(src)_1."+c:""}(),go=Ia.toString,wt=nn.hasOwnProperty,nr=nn.toString,Da=RegExp("^"+go.call(wt).replace(Ce,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),on=Re.Symbol,yo=Re.Uint8Array,ja=nn.propertyIsEnumerable,Ba=Ra.splice,_r=on?on.isConcatSpreadable:void 0,Na=La(Object.keys,Object),sn=sr(Re,"DataView"),Er=sr(Re,"Map"),Ct=sr(Re,"Promise"),an=sr(Re,"Set"),Jn=sr(Re,"WeakMap"),Mr=sr(Object,"create"),vo=$t(sn),Ha=$t(Er),mo=$t(Ct),Ua=$t(an),bo=$t(Jn),ln=on?on.prototype:void 0,Pr=ln?ln.valueOf:void 0,ir=ln?ln.toString:void 0;function tt(c){var p=-1,b=c?c.length:0;for(this.clear();++p<b;){var A=c[p];this.set(A[0],A[1])}}function wo(){this.__data__=Mr?Mr(null):{}}function Fa(c){return this.has(c)&&delete this.__data__[c]}function Wa(c){var p=this.__data__;if(Mr){var b=p[c];return b===i?void 0:b}return wt.call(p,c)?p[c]:void 0}function za(c){var p=this.__data__;return Mr?p[c]!==void 0:wt.call(p,c)}function Xn(c,p){var b=this.__data__;return b[c]=Mr&&p===void 0?i:p,this}tt.prototype.clear=wo,tt.prototype.delete=Fa,tt.prototype.get=Wa,tt.prototype.has=za,tt.prototype.set=Xn;function f(c){var p=-1,b=c?c.length:0;for(this.clear();++p<b;){var A=c[p];this.set(A[0],A[1])}}function y(){this.__data__=[]}function x(c){var p=this.__data__,b=Ae(p,c);if(b<0)return!1;var A=p.length-1;return b==A?p.pop():Ba.call(p,b,1),!0}function w(c){var p=this.__data__,b=Ae(p,c);return b<0?void 0:p[b][1]}function P(c){return Ae(this.__data__,c)>-1}function q(c,p){var b=this.__data__,A=Ae(b,c);return A<0?b.push([c,p]):b[A][1]=p,this}f.prototype.clear=y,f.prototype.delete=x,f.prototype.get=w,f.prototype.has=P,f.prototype.set=q;function G(c){var p=-1,b=c?c.length:0;for(this.clear();++p<b;){var A=c[p];this.set(A[0],A[1])}}function k(){this.__data__={hash:new tt,map:new(Er||f),string:new tt}}function L(c){return Nt(this,c).delete(c)}function te(c){return Nt(this,c).get(c)}function ae(c){return Nt(this,c).has(c)}function F(c,p){return Nt(this,c).set(c,p),this}G.prototype.clear=k,G.prototype.delete=L,G.prototype.get=te,G.prototype.has=ae,G.prototype.set=F;function ue(c){var p=-1,b=c?c.length:0;for(this.__data__=new G;++p<b;)this.add(c[p])}function rt(c){return this.__data__.set(c,i),this}function Fe(c){return this.__data__.has(c)}ue.prototype.add=ue.prototype.push=rt,ue.prototype.has=Fe;function N(c){this.__data__=new f(c)}function ie(){this.__data__=new f}function V(c){return this.__data__.delete(c)}function $e(c){return this.__data__.get(c)}function Ie(c){return this.__data__.has(c)}function ke(c,p){var b=this.__data__;if(b instanceof f){var A=b.__data__;if(!Er||A.length<r-1)return A.push([c,p]),this;b=this.__data__=new G(A)}return b.set(c,p),this}N.prototype.clear=ie,N.prototype.delete=V,N.prototype.get=$e,N.prototype.has=Ie,N.prototype.set=ke;function Me(c,p){var b=ct(c)||Rr(c)?Oa(c.length,String):[],A=b.length,I=!!A;for(var C in c)(p||wt.call(c,C))&&!(I&&(C=="length"||ei(C,A)))&&b.push(C);return b}function Ae(c,p){for(var b=c.length;b--;)if(yn(c[b][0],p))return b;return-1}var Xe=Ka($o);function ze(c,p,b,A,I){var C=-1,Q=c.length;for(b||(b=Po),I||(I=[]);++C<Q;){var fe=c[C];p>0&&b(fe)?p>1?ze(fe,p-1,b,A,I):Vn(I,fe):A||(I[I.length]=fe)}return I}var kt=Ya();function $o(c,p){return c&&kt(c,p,ar)}function Zn(c,p){p=Lr(p,c)?[p]:Eo(p);for(var b=0,A=p.length;c!=null&&b<A;)c=c[gn(p[b++])];return b&&b==A?c:void 0}function cn(c){return nr.call(c)}function qa(c,p){return c!=null&&p in Object(c)}function un(c,p,b,A,I){return c===p?!0:c==null||p==null||!Ht(c)&&!Ut(p)?c!==c&&p!==p:jt(c,p,un,b,A,I)}function jt(c,p,b,A,I,C){var Q=ct(c),fe=ct(p),xe=h,De=h;Q||(xe=Lt(c),xe=xe==u?H:xe),fe||(De=Lt(p),De=De==u?H:De);var qe=xe==H&&!Kn(c),Ze=De==H&&!Kn(p),je=xe==De;if(je&&!qe)return C||(C=new N),Q||mn(c)?kr(c,p,b,A,I,C):or(c,p,xe,b,A,I,C);if(!(I&s)){var g=qe&&wt.call(c,"__wrapped__"),$=Ze&&wt.call(p,"__wrapped__");if(g||$){var T=g?c.value():c,re=$?p.value():p;return C||(C=new N),b(T,re,A,I,C)}}return je?(C||(C=new N),pn(c,p,b,A,I,C)):!1}function fn(c,p,b,A){var I=b.length,C=I,Q=!A;if(c==null)return!C;for(c=Object(c);I--;){var fe=b[I];if(Q&&fe[2]?fe[1]!==c[fe[0]]:!(fe[0]in c))return!1}for(;++I<C;){fe=b[I];var xe=fe[0],De=c[xe],qe=fe[1];if(Q&&fe[2]){if(De===void 0&&!(xe in c))return!1}else{var Ze=new N;if(A)var je=A(De,qe,xe,c,p,Ze);if(!(je===void 0?un(qe,De,A,o|s,Ze):je))return!1}}return!0}function xo(c){if(!Ht(c)||ti(c))return!1;var p=Co(c)||Kn(c)?Da:Le;return p.test($t(c))}function So(c){return Ut(c)&&si(c.length)&&!!ce[nr.call(c)]}function Ao(c){return typeof c=="function"?c:c==null?ci:typeof c=="object"?ct(c)?Or(c[0],c[1]):Va(c):ko(c)}function _o(c){if(!ri(c))return Na(c);var p=[];for(var b in Object(c))wt.call(c,b)&&b!="constructor"&&p.push(b);return p}function Ga(c,p){var b=-1,A=He(c)?Array(c.length):[];return Xe(c,function(I,C,Q){A[++b]=p(I,C,Q)}),A}function Va(c){var p=Qn(c);return p.length==1&&p[0][2]?dn(p[0][0],p[0][1]):function(b){return b===c||fn(b,c,p)}}function Or(c,p){return Lr(c)&&hn(p)?dn(gn(c),p):function(b){var A=ai(b,c);return A===void 0&&A===p?li(b,c):un(p,A,void 0,o|s)}}function Cr(c){return function(p){return Zn(p,c)}}function Bt(c){if(typeof c=="string")return c;if(vn(c))return ir?ir.call(c):"";var p=c+"";return p=="0"&&1/c==-l?"-0":p}function Eo(c){return ct(c)?c:ni(c)}function Ka(c,p){return function(b,A){if(b==null)return b;if(!He(b))return c(b,A);for(var I=b.length,C=p?I:-1,Q=Object(b);(p?C--:++C<I)&&A(Q[C],C,Q)!==!1;);return b}}function Ya(c){return function(p,b,A){for(var I=-1,C=Object(p),Q=A(p),fe=Q.length;fe--;){var xe=Q[c?fe:++I];if(b(C[xe],xe,C)===!1)break}return p}}function kr(c,p,b,A,I,C){var Q=I&s,fe=c.length,xe=p.length;if(fe!=xe&&!(Q&&xe>fe))return!1;var De=C.get(c);if(De&&C.get(p))return De==p;var qe=-1,Ze=!0,je=I&o?new ue:void 0;for(C.set(c,p),C.set(p,c);++qe<fe;){var g=c[qe],$=p[qe];if(A)var T=Q?A($,g,qe,p,c,C):A(g,$,qe,c,p,C);if(T!==void 0){if(T)continue;Ze=!1;break}if(je){if(!Ma(p,function(re,me){if(!je.has(me)&&(g===re||b(g,re,A,I,C)))return je.add(me)})){Ze=!1;break}}else if(!(g===$||b(g,$,A,I,C))){Ze=!1;break}}return C.delete(c),C.delete(p),Ze}function or(c,p,b,A,I,C,Q){switch(b){case de:if(c.byteLength!=p.byteLength||c.byteOffset!=p.byteOffset)return!1;c=c.buffer,p=p.buffer;case we:return!(c.byteLength!=p.byteLength||!A(new yo(c),new yo(p)));case d:case m:case j:return yn(+c,+p);case v:return c.name==p.name&&c.message==p.message;case Z:case U:return c==p+"";case D:var fe=ka;case z:var xe=C&s;if(fe||(fe=Ta),c.size!=p.size&&!xe)return!1;var De=Q.get(c);if(De)return De==p;C|=o,Q.set(c,p);var qe=kr(fe(c),fe(p),A,I,C,Q);return Q.delete(c),qe;case ee:if(Pr)return Pr.call(c)==Pr.call(p)}return!1}function pn(c,p,b,A,I,C){var Q=I&s,fe=ar(c),xe=fe.length,De=ar(p),qe=De.length;if(xe!=qe&&!Q)return!1;for(var Ze=xe;Ze--;){var je=fe[Ze];if(!(Q?je in p:wt.call(p,je)))return!1}var g=C.get(c);if(g&&C.get(p))return g==p;var $=!0;C.set(c,p),C.set(p,c);for(var T=Q;++Ze<xe;){je=fe[Ze];var re=c[je],me=p[je];if(A)var pe=Q?A(me,re,je,p,c,C):A(re,me,je,c,p,C);if(!(pe===void 0?re===me||b(re,me,A,I,C):pe)){$=!1;break}T||(T=je=="constructor")}if($&&!T){var Qe=c.constructor,Ft=p.constructor;Qe!=Ft&&"constructor"in c&&"constructor"in p&&!(typeof Qe=="function"&&Qe instanceof Qe&&typeof Ft=="function"&&Ft instanceof Ft)&&($=!1)}return C.delete(c),C.delete(p),$}function Nt(c,p){var b=c.__data__;return Oo(p)?b[typeof p=="string"?"string":"hash"]:b.map}function Qn(c){for(var p=ar(c),b=p.length;b--;){var A=p[b],I=c[A];p[b]=[A,I,hn(I)]}return p}function sr(c,p){var b=Ca(c,p);return xo(b)?b:void 0}var Lt=cn;(sn&&Lt(new sn(new ArrayBuffer(1)))!=de||Er&&Lt(new Er)!=D||Ct&&Lt(Ct.resolve())!=W||an&&Lt(new an)!=z||Jn&&Lt(new Jn)!=oe)&&(Lt=function(c){var p=nr.call(c),b=p==H?c.constructor:void 0,A=b?$t(b):void 0;if(A)switch(A){case vo:return de;case Ha:return D;case mo:return W;case Ua:return z;case bo:return oe}return p});function Mo(c,p,b){p=Lr(p,c)?[p]:Eo(p);for(var A,I=-1,Q=p.length;++I<Q;){var C=gn(p[I]);if(!(A=c!=null&&b(c,C)))break;c=c[C]}if(A)return A;var Q=c?c.length:0;return!!Q&&si(Q)&&ei(C,Q)&&(ct(c)||Rr(c))}function Po(c){return ct(c)||Rr(c)||!!(_r&&c&&c[_r])}function ei(c,p){return p=p??a,!!p&&(typeof c=="number"||Je.test(c))&&c>-1&&c%1==0&&c<p}function Lr(c,p){if(ct(c))return!1;var b=typeof c;return b=="number"||b=="symbol"||b=="boolean"||c==null||vn(c)?!0:ye.test(c)||!J.test(c)||p!=null&&c in Object(p)}function Oo(c){var p=typeof c;return p=="string"||p=="number"||p=="symbol"||p=="boolean"?c!=="__proto__":c===null}function ti(c){return!!ho&&ho in c}function ri(c){var p=c&&c.constructor,b=typeof p=="function"&&p.prototype||nn;return c===b}function hn(c){return c===c&&!Ht(c)}function dn(c,p){return function(b){return b==null?!1:b[c]===p&&(p!==void 0||c in Object(b))}}var ni=Tr(function(c){c=bn(c);var p=[];return _e.test(c)&&p.push(""),c.replace(Pe,function(b,A,I,C){p.push(I?C.replace(Ye,"$1"):A||b)}),p});function gn(c){if(typeof c=="string"||vn(c))return c;var p=c+"";return p=="0"&&1/c==-l?"-0":p}function $t(c){if(c!=null){try{return go.call(c)}catch{}try{return c+""}catch{}}return""}function ii(c,p){return ze(oi(c,p),1)}function oi(c,p){var b=ct(c)?Ea:Ga;return b(c,Ao(p))}function Tr(c,p){if(typeof c!="function"||p&&typeof p!="function")throw new TypeError(n);var b=function(){var A=arguments,I=p?p.apply(this,A):A[0],C=b.cache;if(C.has(I))return C.get(I);var Q=c.apply(this,A);return b.cache=C.set(I,Q),Q};return b.cache=new(Tr.Cache||G),b}Tr.Cache=G;function yn(c,p){return c===p||c!==c&&p!==p}function Rr(c){return dt(c)&&wt.call(c,"callee")&&(!ja.call(c,"callee")||nr.call(c)==u)}var ct=Array.isArray;function He(c){return c!=null&&si(c.length)&&!Co(c)}function dt(c){return Ut(c)&&He(c)}function Co(c){var p=Ht(c)?nr.call(c):"";return p==S||p==_}function si(c){return typeof c=="number"&&c>-1&&c%1==0&&c<=a}function Ht(c){var p=typeof c;return!!c&&(p=="object"||p=="function")}function Ut(c){return!!c&&typeof c=="object"}function vn(c){return typeof c=="symbol"||Ut(c)&&nr.call(c)==ee}var mn=fo?po(fo):So;function bn(c){return c==null?"":Bt(c)}function ai(c,p,b){var A=c==null?void 0:Zn(c,p);return A===void 0?b:A}function li(c,p){return c!=null&&Mo(c,p,qa)}function ar(c){return He(c)?Me(c):_o(c)}function ci(c){return c}function ko(c){return Lr(c)?Pa(gn(c)):Cr(c)}t.exports=ii}(io,io.exports);var y1=io.exports;const Cp=kn(y1);function v1(t,e,r){let n=[];t.filterProperties.length&&t.filterProperties.forEach(o=>{const s={},l=u=>o.format==="date"?Wn(u).unix():parseInt(u,10);e.forEach(u=>{var h;if(o.type==="range"){if(Array.isArray(u[o.key])){const d=[l(u[o.key][0]),l(u[o.key][1])];s.min=s.min!==void 0?Math.min(s.min,d[0]):d[0],s.max=s.max!==void 0?Math.max(s.max,d[1]):d[1]}else{const d=l(u[o.key]);s.min=s.min!==void 0?Math.min(s.min,d):d,s.max=s.max!==void 0?Math.max(s.max,d):d}return}Array.isArray(u[o.key])?u[o.key].forEach(d=>{s[d]=void 0}):o.type==="spatial"?(s.geometry=void 0,s.mode=o.mode||"intersects"):(h=o.key)!=null&&h.includes(".")?Op(Cp(r.items,o.key)).filter(d=>d).forEach(d=>{s[d]=void 0}):s[u[o.key]]=void 0});const a=o.key||o.keys.join("|");r.filters[a]=Object.assign({type:o.type||"multiselect",dirty:o.state?!1:void 0,key:a},o.type==="range"?{min:s.min,max:s.max,format:o.format}:{},o),r.filters[a].state=Object.assign({},s,o.state)}),t.matchAllWhenEmpty!==!1&&(r.results=r.sortResults(e),r.requestUpdate()),t.aggregateResults&&(n=Array.from(new Set(e.reduce((o,s)=>o.concat(s[t.aggregateResults]),[]))).sort((o,s)=>o.localeCompare(s)));const i=[];return Object.values(r.filters).forEach(o=>{o.type==="text"?o.keys.forEach(s=>{i.includes(s)||i.push(s)}):(o.type==="select"||o.type==="multiselect")&&(i.includes(o.key)||i.push(o.key))}),v0(e,Object.assign({keys:i},t.fuseConfig)),n}async function m1(t,e,r){let n;r.externalFilter?n=await $0(e,r.filters,t):n=await m0(e,r.filters,t),r.results=r.sortResults(n)}function b1(t,e,r){const n=`filter-${t.key}`.replace("|","-");switch(t.type){case"text":return X`<eox-itemfilter-text
750
750
  data-type="filter"
751
751
  slot="filter"
752
752
  id="${n}"
@@ -756,7 +756,7 @@ li.highlighted,
756
756
  @filter=${()=>r.search()}
757
757
  ></eox-itemfilter-text>`;case"multiselect":case"select":return X`
758
758
  <eox-itemfilter-select
759
- .inlineMode=${r.config.inlineMode||!1}
759
+ .inlineMode=${r.inlineMode||!1}
760
760
  data-type="filter"
761
761
  id="${n}"
762
762
  .tabIndex=${e}
@@ -786,7 +786,7 @@ li.highlighted,
786
786
  slot="filter"
787
787
  @filter=${()=>r.search()}
788
788
  ></eox-itemfilter-spatial>
789
- `;default:return X``}}function bw(t,e){return[...t].sort((r,n)=>r[e.titleProperty].localeCompare(n[e.titleProperty]))}function ww(t,e,r){return X`
789
+ `;default:return X``}}function w1(t,e){return[...t].sort((r,n)=>r[e.titleProperty].localeCompare(n[e.titleProperty]))}function $1(t,e,r){return X`
790
790
  ${Ge(t.dirty,()=>X`
791
791
  <button
792
792
  type="button"
@@ -798,7 +798,7 @@ li.highlighted,
798
798
  ${r.unstyled?"Reset":be}
799
799
  </button>
800
800
  `)}
801
- `}function $w(t){t.renderRoot.querySelectorAll("[data-type='filter']").forEach(e=>{typeof e.reset=="function"&&e.reset()}),t.search()}class kp extends dp{constructor(){super();nt(this,rn);nt(this,Gn,[]);nt(this,tn,[]);nt(this,ht,Sp);this.config=null,this.items=null,this.filters={},this.selectedResult=null,this.search=eo(this.searchHandler,100,{leading:!0})}static get properties(){return{config:{attribute:!1,type:Object},items:{attribute:!1,type:Object},results:{state:!0,attribute:!1,type:Object},filters:{state:!0,attribute:!1,type:Object},selectedResult:{attribute:!1,type:Object},unstyled:{type:Boolean}}}apply(){Lo(this,Gn,yw(ut(this,ht),ut(this,tn),this)),this.search()}async searchHandler(){var r;await vw(ut(this,ht),ut(this,tn),this),this.dispatchEvent(new CustomEvent("filter",{detail:{results:this.results,filters:this.filters},bubbles:!0,composed:!0})),(r=this.config)!=null&&r.inlineMode&&this.renderRoot.querySelector("eox-itemfilter-container").updateInline(),this.requestUpdate()}sortResults(r){return bw(r,ut(this,ht))}resetFilters(){$w(this)}firstUpdated(r){var n;Lo(this,ht,{...Sp,...this.config}),Lo(this,tn,((n=this.items)==null?void 0:n.map((i,o)=>Object.assign({id:i[this.config.idProperty]||`item-${o}`},i)))||[]),this.apply()}updated(r){(r.has("config")||r.has("items"))&&this.firstUpdated()}updateResult(r){this.selectedResult=r.detail,this.dispatchEvent(new CustomEvent("select",{detail:this.selectedResult,bubbles:!0,composed:!0})),this.requestUpdate()}render(){var r,n,i;return X`
801
+ `}function x1(t){t.renderRoot.querySelectorAll("[data-type='filter']").forEach(e=>{typeof e.reset=="function"&&e.reset()}),t.search()}class kp extends dp{constructor(){super();nt(this,rn);nt(this,Gn,[]);nt(this,tn,[]);nt(this,ht,bw);this.items=null,this.filters={},this.results=[],this.selectedResult=null,this.search=eo(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.idProperty="id",this.expandMultipleFilters=!0,this.expandResults=!0,this.expandMultipleResults=!0,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},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},unstyled:{type:Boolean}}}apply(){Lo(this,Gn,v1(ut(this,ht),ut(this,tn),this)),this.search()}async searchHandler(){await m1(ut(this,ht),ut(this,tn),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 w1(r,ut(this,ht))}resetFilters(){x1(this)}firstUpdated(r){var i;let n={};Sp.map(o=>{n={...n,[o]:this[o]}}),Lo(this,ht,n),Lo(this,tn,((i=this.items)==null?void 0:i.map((o,s)=>Object.assign({id:o[this.idProperty]||`item-${s}`},o)))||[]),this.apply()}updated(r){Sp.map(n=>{if(r.has(n))return this.firstUpdated(),!0})}updateResult(r){this.selectedResult=r.detail,this.dispatchEvent(new CustomEvent("select",{detail:this.selectedResult,bubbles:!0,composed:!0})),this.requestUpdate()}render(){var r;return X`
802
802
  <style>
803
803
  ${ch}
804
804
  ${!this.unstyled&&Pn}
@@ -807,36 +807,36 @@ li.highlighted,
807
807
  </style>
808
808
  <form
809
809
  id="itemfilter"
810
- class=${(r=this.config)!=null&&r.inlineMode?"inline":be}
811
- @submit="${o=>o.preventDefault()}"
810
+ class=${this.inlineMode?"inline":be}
811
+ @submit="${n=>n.preventDefault()}"
812
812
  >
813
- ${Ge((n=this.config)==null?void 0:n.filterProperties,()=>X`
813
+ ${Ge(this.filterProperties,()=>X`
814
814
  <eox-itemfilter-container
815
815
  .filters=${this.filters}
816
- .filterProperties=${this.config.filterProperties}
817
- .inlineMode=${this.config.inlineMode||!1}
816
+ .filterProperties=${this.filterProperties}
817
+ .inlineMode=${this.inlineMode||!1}
818
818
  @reset=${()=>this.resetFilters()}
819
819
  @filter=${()=>this.search()}
820
820
  >
821
821
  <section slot="section">
822
- ${Ge(!this.config.inlineMode,()=>X`
822
+ ${Ge(!this.inlineMode,()=>X`
823
823
  <slot name="filterstitle"
824
824
  ><h6 class="main-heading">Filters</h6></slot
825
825
  >
826
826
  `)}
827
827
  <ul id="filters">
828
- ${pi(Object.values(this.filters),(o,s)=>X` <li>
828
+ ${pi(Object.values(this.filters),(n,i)=>X` <li>
829
829
  <eox-itemfilter-expandcontainer
830
- .filterObject=${o}
831
- @details-toggled=${l=>lp(l,ut(this,ht),this)}
832
- data-details="${o.key}"
830
+ .filterObject=${n}
831
+ @details-toggled=${o=>lp(o,ut(this,ht),this)}
832
+ data-details="${n.key}"
833
833
  >
834
- ${Se(this,rn,Kp).call(this,o,ap(s,1))}
835
- ${Se(this,rn,Vp).call(this,o,ap(s,2))}
834
+ ${Se(this,rn,Kp).call(this,n,ap(i,1))}
835
+ ${Se(this,rn,Vp).call(this,n,ap(i,2))}
836
836
  </eox-itemfilter-expandcontainer>
837
837
  </li>`)}
838
838
  </ul>
839
- ${Ge(!this.config.inlineMode&&ut(this,ht).filterProperties&&!this.config.inlineMode&&ut(this,ht).filterProperties&&pa(this.filters),()=>X`
839
+ ${Ge(!this.inlineMode&&ut(this,ht).filterProperties&&!this.inlineMode&&ut(this,ht).filterProperties&&pa(this.filters),()=>X`
840
840
  <button
841
841
  type="button"
842
842
  id="filter-reset"
@@ -850,7 +850,7 @@ li.highlighted,
850
850
  </section>
851
851
  </eox-itemfilter-container>
852
852
  `)}
853
- ${Ge(((i=ut(this,ht))==null?void 0:i.showResults)&&this.results,()=>X`
853
+ ${Ge(((r=ut(this,ht))==null?void 0:r.showResults)&&this.results,()=>X`
854
854
  <eox-itemfilter-results
855
855
  .config=${ut(this,ht)}
856
856
  .results=${this.results}
@@ -861,4 +861,4 @@ li.highlighted,
861
861
  ></eox-itemfilter-results>
862
862
  `)}
863
863
  </form>
864
- `}}Gn=new WeakMap,tn=new WeakMap,ht=new WeakMap,rn=new WeakSet,Vp=function(r,n){return mw(r,n,this)},Kp=function(r,n){return ww(r,n,this)},customElements.define("eox-itemfilter",kp),ge.EOxItemFilter=kp,Object.defineProperty(ge,Symbol.toStringTag,{value:"Module"})});
864
+ `}}Gn=new WeakMap,tn=new WeakMap,ht=new WeakMap,rn=new WeakSet,Vp=function(r,n){return b1(r,n,this)},Kp=function(r,n){return $1(r,n,this)},customElements.define("eox-itemfilter",kp),ge.EOxItemFilter=kp,Object.defineProperty(ge,Symbol.toStringTag,{value:"Module"})});