@eox/layercontrol 0.29.1 → 1.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/eox-layercontrol.js +2999 -2864
- package/dist/eox-layercontrol.umd.cjs +627 -566
- package/dist/material-symbols-outlined.woff2 +0 -0
- package/dist/material-symbols-rounded.woff2 +0 -0
- package/dist/material-symbols-sharp.woff2 +0 -0
- package/dist/material-symbols-subset.woff2 +0 -0
- package/package.json +4 -3
- package/src/components/add-layers.js +78 -178
- package/src/components/layer-config.js +22 -3
- package/src/components/layer-group.js +38 -17
- package/src/components/layer-legend.js +7 -4
- package/src/components/layer-list.js +27 -19
- package/src/components/layer-tools.js +60 -118
- package/src/components/layer.js +220 -60
- package/src/components/optional-list.js +32 -25
- package/src/components/tools-items.js +34 -31
- package/src/enums/index.js +1 -0
- package/src/enums/stories/index.js +4 -2
- package/src/helpers/create-sortable.js +4 -1
- package/src/helpers/get-layer-type.js +2 -1
- package/src/helpers/index.js +1 -0
- package/src/helpers/layer-tools.js +75 -13
- package/src/main.js +36 -6
- package/types/layercontrol/src/components/add-layers.d.ts.map +1 -1
- package/types/layercontrol/src/components/layer-config.d.ts.map +1 -1
- package/types/layercontrol/src/components/layer-group.d.ts.map +1 -1
- package/types/layercontrol/src/components/layer-legend.d.ts.map +1 -1
- package/types/layercontrol/src/components/layer-list.d.ts.map +1 -1
- package/types/layercontrol/src/components/layer-tools.d.ts +8 -4
- package/types/layercontrol/src/components/layer-tools.d.ts.map +1 -1
- package/types/layercontrol/src/components/layer.d.ts +9 -0
- package/types/layercontrol/src/components/layer.d.ts.map +1 -1
- package/types/layercontrol/src/components/optional-list.d.ts.map +1 -1
- package/types/layercontrol/src/components/tools-items.d.ts.map +1 -1
- package/types/layercontrol/src/enums/index.d.ts +1 -1
- package/types/layercontrol/src/enums/stories/index.d.ts +1 -0
- package/types/layercontrol/src/enums/stories/index.d.ts.map +1 -1
- package/types/layercontrol/src/helpers/create-sortable.d.ts.map +1 -1
- package/types/layercontrol/src/helpers/get-layer-type.d.ts.map +1 -1
- package/types/layercontrol/src/helpers/index.d.ts +1 -1
- package/types/layercontrol/src/helpers/layer-tools.d.ts +13 -3
- package/types/layercontrol/src/helpers/layer-tools.d.ts.map +1 -1
- package/types/layercontrol/src/main.d.ts.map +1 -1
- package/types/map/src/components/compare.d.ts +2 -2
- package/types/map/src/components/compare.d.ts.map +1 -1
- package/types/map/src/components/tooltip.d.ts +7 -2
- package/types/map/src/components/tooltip.d.ts.map +1 -1
- package/types/map/src/controls/controls.d.ts +0 -6
- package/types/map/src/controls/controls.d.ts.map +1 -1
- package/types/map/src/controls/geo-location.d.ts +3 -3
- package/types/map/src/controls/geo-location.d.ts.map +1 -1
- package/types/map/src/controls/loading-indicator.d.ts +1 -1
- package/types/map/src/controls/loading-indicator.d.ts.map +1 -1
- package/types/map/src/custom/sources/FlatGeoBuf.d.ts +27 -0
- package/types/map/src/custom/sources/FlatGeoBuf.d.ts.map +1 -0
- package/types/map/src/custom/sources/WMTSCapabilities.d.ts +35 -0
- package/types/map/src/custom/sources/WMTSCapabilities.d.ts.map +1 -0
- package/types/map/src/helpers/add-new-feature.d.ts +2 -1
- package/types/map/src/helpers/add-new-feature.d.ts.map +1 -1
- package/types/map/src/helpers/generate.d.ts +5 -4
- package/types/map/src/helpers/generate.d.ts.map +1 -1
- package/types/map/src/helpers/interactions.d.ts.map +1 -1
- package/types/map/src/helpers/parse-text.d.ts +3 -1
- package/types/map/src/helpers/parse-text.d.ts.map +1 -1
- package/types/map/src/helpers/select.d.ts +5 -5
- package/types/map/src/helpers/select.d.ts.map +1 -1
- package/types/map/src/helpers/tile-grid.d.ts +2 -2
- package/types/map/src/helpers/tile-grid.d.ts.map +1 -1
- package/types/map/src/layers.d.ts +116 -0
- package/types/map/src/layers.d.ts.map +1 -0
- package/types/map/src/main.d.ts +7 -7
- package/types/map/src/main.d.ts.map +1 -1
- package/types/map/src/methods/map/add-update-layer.d.ts +2 -2
- package/types/map/src/methods/map/add-update-layer.d.ts.map +1 -1
- package/types/map/src/methods/map/setters.d.ts +2 -2
- package/types/map/src/methods/map/setters.d.ts.map +1 -1
- package/types/map/src/types.d.ts +28 -38
- package/types/map/src/types.d.ts.map +1 -1
|
@@ -1,152 +1,218 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(D,T){typeof exports=="object"&&typeof module<"u"?T(exports):typeof define=="function"&&define.amd?define(["exports"],T):(D=typeof globalThis<"u"?globalThis:D||self,T(D["eox-layercontrol"]={}))})(this,function(D){"use strict";var xl=Object.defineProperty;var Uo=D=>{throw TypeError(D)};var kl=(D,T,Y)=>T in D?xl(D,T,{enumerable:!0,configurable:!0,writable:!0,value:Y}):D[T]=Y;var Z=(D,T,Y)=>kl(D,typeof T!="symbol"?T+"":T,Y),fi=(D,T,Y)=>T.has(D)||Uo("Cannot "+Y);var $=(D,T,Y)=>(fi(D,T,"read from private field"),Y?Y.call(D):T.get(D)),L=(D,T,Y)=>T.has(D)?Uo("Cannot add the same private member more than once"):T instanceof WeakSet?T.add(D):T.set(D,Y),He=(D,T,Y,ot)=>(fi(D,T,"write to private field"),ot?ot.call(D,Y):T.set(D,Y),Y),q=(D,T,Y)=>(fi(D,T,"access private method"),Y);/**
|
|
2
2
|
* @license
|
|
3
3
|
* Copyright 2019 Google LLC
|
|
4
4
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
5
|
-
*/var
|
|
5
|
+
*/var No,_e,sr,cr,Oe,ft,Ht,Mt,gi,dr,ur,pr,jo,mr,hr,Vt,fr,gr,br,vr,Ee,gt,qo,yr,xr,kr,wr,_r,$r,Sr,Fo,ae,Xo,Zo,bi,Yo,Wo,Tr,zr,qe,Fe,Go,Jo,Ko,Ar;const T=globalThis,Y=T.ShadowRoot&&(T.ShadyCSS===void 0||T.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,ot=Symbol(),vi=new WeakMap;let yi=class{constructor(e,t,i){if(this._$cssResult$=!0,i!==ot)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=e,this.t=t}get styleSheet(){let e=this.o;const t=this.t;if(Y&&e===void 0){const i=t!==void 0&&t.length===1;i&&(e=vi.get(t)),e===void 0&&((this.o=e=new CSSStyleSheet).replaceSync(this.cssText),i&&vi.set(t,e))}return e}toString(){return this.cssText}};const Qo=r=>new yi(typeof r=="string"?r:r+"",void 0,ot),Lr=(r,...e)=>{const t=r.length===1?r[0]:e.reduce((i,o,n)=>i+(a=>{if(a._$cssResult$===!0)return a.cssText;if(typeof a=="number")return a;throw Error("Value passed to 'css' function must be a 'css' function result: "+a+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(o)+r[n+1],r[0]);return new yi(t,r,ot)},en=(r,e)=>{if(Y)r.adoptedStyleSheets=e.map(t=>t instanceof CSSStyleSheet?t:t.styleSheet);else for(const t of e){const i=document.createElement("style"),o=T.litNonce;o!==void 0&&i.setAttribute("nonce",o),i.textContent=t.cssText,r.appendChild(i)}},xi=Y?r=>r:r=>r instanceof CSSStyleSheet?(e=>{let t="";for(const i of e.cssRules)t+=i.cssText;return Qo(t)})(r):r;/**
|
|
6
6
|
* @license
|
|
7
7
|
* Copyright 2017 Google LLC
|
|
8
8
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
9
|
-
*/const{is:
|
|
9
|
+
*/const{is:tn,defineProperty:rn,getOwnPropertyDescriptor:on,getOwnPropertyNames:nn,getOwnPropertySymbols:an,getPrototypeOf:ln}=Object,Me=globalThis,ki=Me.trustedTypes,sn=ki?ki.emptyScript:"",Dr=Me.reactiveElementPolyfillSupport,bt=(r,e)=>r,Pr={toAttribute(r,e){switch(e){case Boolean:r=r?sn:null;break;case Object:case Array:r=r==null?r:JSON.stringify(r)}return r},fromAttribute(r,e){let t=r;switch(e){case Boolean:t=r!==null;break;case Number:t=r===null?null:Number(r);break;case Object:case Array:try{t=JSON.parse(r)}catch{t=null}}return t}},wi=(r,e)=>!tn(r,e),_i={attribute:!0,type:String,converter:Pr,reflect:!1,hasChanged:wi};Symbol.metadata??(Symbol.metadata=Symbol("metadata")),Me.litPropertyMetadata??(Me.litPropertyMetadata=new WeakMap);class nt 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,t=_i){if(t.state&&(t.attribute=!1),this._$Ei(),this.elementProperties.set(e,t),!t.noAccessor){const i=Symbol(),o=this.getPropertyDescriptor(e,i,t);o!==void 0&&rn(this.prototype,e,o)}}static getPropertyDescriptor(e,t,i){const{get:o,set:n}=on(this.prototype,e)??{get(){return this[t]},set(a){this[t]=a}};return{get(){return o==null?void 0:o.call(this)},set(a){const l=o==null?void 0:o.call(this);n.call(this,a),this.requestUpdate(e,l,i)},configurable:!0,enumerable:!0}}static getPropertyOptions(e){return this.elementProperties.get(e)??_i}static _$Ei(){if(this.hasOwnProperty(bt("elementProperties")))return;const e=ln(this);e.finalize(),e.l!==void 0&&(this.l=[...e.l]),this.elementProperties=new Map(e.elementProperties)}static finalize(){if(this.hasOwnProperty(bt("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(bt("properties"))){const t=this.properties,i=[...nn(t),...an(t)];for(const o of i)this.createProperty(o,t[o])}const e=this[Symbol.metadata];if(e!==null){const t=litPropertyMetadata.get(e);if(t!==void 0)for(const[i,o]of t)this.elementProperties.set(i,o)}this._$Eh=new Map;for(const[t,i]of this.elementProperties){const o=this._$Eu(t,i);o!==void 0&&this._$Eh.set(o,t)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(e){const t=[];if(Array.isArray(e)){const i=new Set(e.flat(1/0).reverse());for(const o of i)t.unshift(xi(o))}else e!==void 0&&t.push(xi(e));return t}static _$Eu(e,t){const i=t.attribute;return i===!1?void 0:typeof i=="string"?i:typeof e=="string"?e.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){var e;this._$ES=new Promise(t=>this.enableUpdating=t),this._$AL=new Map,this._$E_(),this.requestUpdate(),(e=this.constructor.l)==null||e.forEach(t=>t(this))}addController(e){var t;(this._$EO??(this._$EO=new Set)).add(e),this.renderRoot!==void 0&&this.isConnected&&((t=e.hostConnected)==null||t.call(e))}removeController(e){var t;(t=this._$EO)==null||t.delete(e)}_$E_(){const e=new Map,t=this.constructor.elementProperties;for(const i of t.keys())this.hasOwnProperty(i)&&(e.set(i,this[i]),delete this[i]);e.size>0&&(this._$Ep=e)}createRenderRoot(){const e=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return en(e,this.constructor.elementStyles),e}connectedCallback(){var e;this.renderRoot??(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),(e=this._$EO)==null||e.forEach(t=>{var i;return(i=t.hostConnected)==null?void 0:i.call(t)})}enableUpdating(e){}disconnectedCallback(){var e;(e=this._$EO)==null||e.forEach(t=>{var i;return(i=t.hostDisconnected)==null?void 0:i.call(t)})}attributeChangedCallback(e,t,i){this._$AK(e,i)}_$EC(e,t){var n;const i=this.constructor.elementProperties.get(e),o=this.constructor._$Eu(e,i);if(o!==void 0&&i.reflect===!0){const a=(((n=i.converter)==null?void 0:n.toAttribute)!==void 0?i.converter:Pr).toAttribute(t,i.type);this._$Em=e,a==null?this.removeAttribute(o):this.setAttribute(o,a),this._$Em=null}}_$AK(e,t){var n;const i=this.constructor,o=i._$Eh.get(e);if(o!==void 0&&this._$Em!==o){const a=i.getPropertyOptions(o),l=typeof a.converter=="function"?{fromAttribute:a.converter}:((n=a.converter)==null?void 0:n.fromAttribute)!==void 0?a.converter:Pr;this._$Em=o,this[o]=l.fromAttribute(t,a.type),this._$Em=null}}requestUpdate(e,t,i){if(e!==void 0){if(i??(i=this.constructor.getPropertyOptions(e)),!(i.hasChanged??wi)(this[e],t))return;this.P(e,t,i)}this.isUpdatePending===!1&&(this._$ES=this._$ET())}P(e,t,i){this._$AL.has(e)||this._$AL.set(e,t),i.reflect===!0&&this._$Em!==e&&(this._$Ej??(this._$Ej=new Set)).add(e)}async _$ET(){this.isUpdatePending=!0;try{await this._$ES}catch(t){Promise.reject(t)}const e=this.scheduleUpdate();return e!=null&&await e,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){var i;if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??(this.renderRoot=this.createRenderRoot()),this._$Ep){for(const[n,a]of this._$Ep)this[n]=a;this._$Ep=void 0}const o=this.constructor.elementProperties;if(o.size>0)for(const[n,a]of o)a.wrapped!==!0||this._$AL.has(n)||this[n]===void 0||this.P(n,this[n],a)}let e=!1;const t=this._$AL;try{e=this.shouldUpdate(t),e?(this.willUpdate(t),(i=this._$EO)==null||i.forEach(o=>{var n;return(n=o.hostUpdate)==null?void 0:n.call(o)}),this.update(t)):this._$EU()}catch(o){throw e=!1,this._$EU(),o}e&&this._$AE(t)}willUpdate(e){}_$AE(e){var t;(t=this._$EO)==null||t.forEach(i=>{var o;return(o=i.hostUpdated)==null?void 0:o.call(i)}),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(e)),this.updated(e)}_$EU(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(e){return!0}update(e){this._$Ej&&(this._$Ej=this._$Ej.forEach(t=>this._$EC(t,this[t]))),this._$EU()}updated(e){}firstUpdated(e){}}nt.elementStyles=[],nt.shadowRootOptions={mode:"open"},nt[bt("elementProperties")]=new Map,nt[bt("finalized")]=new Map,Dr==null||Dr({ReactiveElement:nt}),(Me.reactiveElementVersions??(Me.reactiveElementVersions=[])).push("2.0.4");/**
|
|
10
10
|
* @license
|
|
11
11
|
* Copyright 2017 Google LLC
|
|
12
12
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
13
|
-
*/const
|
|
14
|
-
\f\r]`,
|
|
15
|
-
\f\r"'\`<>=]|("|')|))|$)`,"g"),
|
|
13
|
+
*/const vt=globalThis,Nt=vt.trustedTypes,$i=Nt?Nt.createPolicy("lit-html",{createHTML:r=>r}):void 0,Si="$lit$",Ve=`lit$${Math.random().toFixed(9).slice(2)}$`,zi="?"+Ve,cn=`<${zi}>`,Ze=document,yt=()=>Ze.createComment(""),xt=r=>r===null||typeof r!="object"&&typeof r!="function",Or=Array.isArray,dn=r=>Or(r)||typeof(r==null?void 0:r[Symbol.iterator])=="function",Rr=`[
|
|
14
|
+
\f\r]`,kt=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Ai=/-->/g,Ei=/>/g,Ye=RegExp(`>|${Rr}(?:([^\\s"'>=/]+)(${Rr}*=${Rr}*(?:[^
|
|
15
|
+
\f\r"'\`<>=]|("|')|))|$)`,"g"),Ci=/'/g,Ti=/"/g,Li=/^(?:script|style|textarea|title)$/i,un=r=>(e,...t)=>({_$litType$:r,strings:e,values:t}),g=un(1),ke=Symbol.for("lit-noChange"),O=Symbol.for("lit-nothing"),Di=new WeakMap,We=Ze.createTreeWalker(Ze,129);function Pi(r,e){if(!Or(r)||!r.hasOwnProperty("raw"))throw Error("invalid template strings array");return $i!==void 0?$i.createHTML(e):e}const pn=(r,e)=>{const t=r.length-1,i=[];let o,n=e===2?"<svg>":e===3?"<math>":"",a=kt;for(let l=0;l<t;l++){const s=r[l];let c,u,d=-1,m=0;for(;m<s.length&&(a.lastIndex=m,u=a.exec(s),u!==null);)m=a.lastIndex,a===kt?u[1]==="!--"?a=Ai:u[1]!==void 0?a=Ei:u[2]!==void 0?(Li.test(u[2])&&(o=RegExp("</"+u[2],"g")),a=Ye):u[3]!==void 0&&(a=Ye):a===Ye?u[0]===">"?(a=o??kt,d=-1):u[1]===void 0?d=-2:(d=a.lastIndex-u[2].length,c=u[1],a=u[3]===void 0?Ye:u[3]==='"'?Ti:Ci):a===Ti||a===Ci?a=Ye:a===Ai||a===Ei?a=kt:(a=Ye,o=void 0);const h=a===Ye&&r[l+1].startsWith("/>")?" ":"";n+=a===kt?s+cn:d>=0?(i.push(c),s.slice(0,d)+Si+s.slice(d)+Ve+h):s+Ve+(d===-2?l:h)}return[Pi(r,n+(r[t]||"<?>")+(e===2?"</svg>":e===3?"</math>":"")),i]};class wt{constructor({strings:e,_$litType$:t},i){let o;this.parts=[];let n=0,a=0;const l=e.length-1,s=this.parts,[c,u]=pn(e,t);if(this.el=wt.createElement(c,i),We.currentNode=this.el.content,t===2||t===3){const d=this.el.content.firstChild;d.replaceWith(...d.childNodes)}for(;(o=We.nextNode())!==null&&s.length<l;){if(o.nodeType===1){if(o.hasAttributes())for(const d of o.getAttributeNames())if(d.endsWith(Si)){const m=u[a++],h=o.getAttribute(d).split(Ve),f=/([.?@])?(.*)/.exec(m);s.push({type:1,index:n,name:f[2],strings:h,ctor:f[1]==="."?hn:f[1]==="?"?fn:f[1]==="@"?gn:Bt}),o.removeAttribute(d)}else d.startsWith(Ve)&&(s.push({type:6,index:n}),o.removeAttribute(d));if(Li.test(o.tagName)){const d=o.textContent.split(Ve),m=d.length-1;if(m>0){o.textContent=Nt?Nt.emptyScript:"";for(let h=0;h<m;h++)o.append(d[h],yt()),We.nextNode(),s.push({type:2,index:++n});o.append(d[m],yt())}}}else if(o.nodeType===8)if(o.data===zi)s.push({type:2,index:n});else{let d=-1;for(;(d=o.data.indexOf(Ve,d+1))!==-1;)s.push({type:7,index:n}),d+=Ve.length-1}n++}}static createElement(e,t){const i=Ze.createElement("template");return i.innerHTML=e,i}}function at(r,e,t=r,i){var a,l;if(e===ke)return e;let o=i!==void 0?(a=t._$Co)==null?void 0:a[i]:t._$Cl;const n=xt(e)?void 0:e._$litDirective$;return(o==null?void 0:o.constructor)!==n&&((l=o==null?void 0:o._$AO)==null||l.call(o,!1),n===void 0?o=void 0:(o=new n(r),o._$AT(r,t,i)),i!==void 0?(t._$Co??(t._$Co=[]))[i]=o:t._$Cl=o),o!==void 0&&(e=at(r,o._$AS(r,e.values),o,i)),e}let mn=class{constructor(e,t){this._$AV=[],this._$AN=void 0,this._$AD=e,this._$AM=t}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(e){const{el:{content:t},parts:i}=this._$AD,o=((e==null?void 0:e.creationScope)??Ze).importNode(t,!0);We.currentNode=o;let n=We.nextNode(),a=0,l=0,s=i[0];for(;s!==void 0;){if(a===s.index){let c;s.type===2?c=new lt(n,n.nextSibling,this,e):s.type===1?c=new s.ctor(n,s.name,s.strings,this,e):s.type===6&&(c=new bn(n,this,e)),this._$AV.push(c),s=i[++l]}a!==(s==null?void 0:s.index)&&(n=We.nextNode(),a++)}return We.currentNode=Ze,o}p(e){let t=0;for(const i of this._$AV)i!==void 0&&(i.strings!==void 0?(i._$AI(e,i,t),t+=i.strings.length-2):i._$AI(e[t])),t++}};class lt{get _$AU(){var e;return((e=this._$AM)==null?void 0:e._$AU)??this._$Cv}constructor(e,t,i,o){this.type=2,this._$AH=O,this._$AN=void 0,this._$AA=e,this._$AB=t,this._$AM=i,this.options=o,this._$Cv=(o==null?void 0:o.isConnected)??!0}get parentNode(){let e=this._$AA.parentNode;const t=this._$AM;return t!==void 0&&(e==null?void 0:e.nodeType)===11&&(e=t.parentNode),e}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(e,t=this){e=at(this,e,t),xt(e)?e===O||e==null||e===""?(this._$AH!==O&&this._$AR(),this._$AH=O):e!==this._$AH&&e!==ke&&this._(e):e._$litType$!==void 0?this.$(e):e.nodeType!==void 0?this.T(e):dn(e)?this.k(e):this._(e)}O(e){return this._$AA.parentNode.insertBefore(e,this._$AB)}T(e){this._$AH!==e&&(this._$AR(),this._$AH=this.O(e))}_(e){this._$AH!==O&&xt(this._$AH)?this._$AA.nextSibling.data=e:this.T(Ze.createTextNode(e)),this._$AH=e}$(e){var n;const{values:t,_$litType$:i}=e,o=typeof i=="number"?this._$AC(e):(i.el===void 0&&(i.el=wt.createElement(Pi(i.h,i.h[0]),this.options)),i);if(((n=this._$AH)==null?void 0:n._$AD)===o)this._$AH.p(t);else{const a=new mn(o,this),l=a.u(this.options);a.p(t),this.T(l),this._$AH=a}}_$AC(e){let t=Di.get(e.strings);return t===void 0&&Di.set(e.strings,t=new wt(e)),t}k(e){Or(this._$AH)||(this._$AH=[],this._$AR());const t=this._$AH;let i,o=0;for(const n of e)o===t.length?t.push(i=new lt(this.O(yt()),this.O(yt()),this,this.options)):i=t[o],i._$AI(n),o++;o<t.length&&(this._$AR(i&&i._$AB.nextSibling,o),t.length=o)}_$AR(e=this._$AA.nextSibling,t){var i;for((i=this._$AP)==null?void 0:i.call(this,!1,!0,t);e&&e!==this._$AB;){const o=e.nextSibling;e.remove(),e=o}}setConnected(e){var t;this._$AM===void 0&&(this._$Cv=e,(t=this._$AP)==null||t.call(this,e))}}class Bt{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(e,t,i,o,n){this.type=1,this._$AH=O,this._$AN=void 0,this.element=e,this.name=t,this._$AM=o,this.options=n,i.length>2||i[0]!==""||i[1]!==""?(this._$AH=Array(i.length-1).fill(new String),this.strings=i):this._$AH=O}_$AI(e,t=this,i,o){const n=this.strings;let a=!1;if(n===void 0)e=at(this,e,t,0),a=!xt(e)||e!==this._$AH&&e!==ke,a&&(this._$AH=e);else{const l=e;let s,c;for(e=n[0],s=0;s<n.length-1;s++)c=at(this,l[i+s],t,s),c===ke&&(c=this._$AH[s]),a||(a=!xt(c)||c!==this._$AH[s]),c===O?e=O:e!==O&&(e+=(c??"")+n[s+1]),this._$AH[s]=c}a&&!o&&this.j(e)}j(e){e===O?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e??"")}}class hn extends Bt{constructor(){super(...arguments),this.type=3}j(e){this.element[this.name]=e===O?void 0:e}}class fn extends Bt{constructor(){super(...arguments),this.type=4}j(e){this.element.toggleAttribute(this.name,!!e&&e!==O)}}class gn extends Bt{constructor(e,t,i,o,n){super(e,t,i,o,n),this.type=5}_$AI(e,t=this){if((e=at(this,e,t,0)??O)===ke)return;const i=this._$AH,o=e===O&&i!==O||e.capture!==i.capture||e.once!==i.once||e.passive!==i.passive,n=e!==O&&(i===O||o);o&&this.element.removeEventListener(this.name,this,i),n&&this.element.addEventListener(this.name,this,e),this._$AH=e}handleEvent(e){var t;typeof this._$AH=="function"?this._$AH.call(((t=this.options)==null?void 0:t.host)??this.element,e):this._$AH.handleEvent(e)}}class bn{constructor(e,t,i){this.element=e,this.type=6,this._$AN=void 0,this._$AM=t,this.options=i}get _$AU(){return this._$AM._$AU}_$AI(e){at(this,e)}}const vn={I:lt},Hr=vt.litHtmlPolyfillSupport;Hr==null||Hr(wt,lt),(vt.litHtmlVersions??(vt.litHtmlVersions=[])).push("3.2.1");const yn=(r,e,t)=>{const i=(t==null?void 0:t.renderBefore)??e;let o=i._$litPart$;if(o===void 0){const n=(t==null?void 0:t.renderBefore)??null;i._$litPart$=o=new lt(e.insertBefore(yt(),n),n,void 0,t??{})}return o._$AI(r),o};/**
|
|
16
16
|
* @license
|
|
17
17
|
* Copyright 2017 Google LLC
|
|
18
18
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
19
|
-
*/let
|
|
19
|
+
*/let ce=class extends nt{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){var t;const e=super.createRenderRoot();return(t=this.renderOptions).renderBefore??(t.renderBefore=e.firstChild),e}update(e){const t=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(e),this._$Do=yn(t,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 ke}};ce._$litElement$=!0,ce.finalized=!0,(No=globalThis.litElementHydrateSupport)==null||No.call(globalThis,{LitElement:ce});const Mr=globalThis.litElementPolyfillSupport;Mr==null||Mr({LitElement:ce}),(globalThis.litElementVersions??(globalThis.litElementVersions=[])).push("4.1.1");/**
|
|
20
20
|
* @license
|
|
21
21
|
* Copyright 2021 Google LLC
|
|
22
22
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
23
|
-
*/function
|
|
23
|
+
*/function I(r,e,t){return r?e(r):t==null?void 0:t(r)}/**
|
|
24
24
|
* @license
|
|
25
25
|
* Copyright 2017 Google LLC
|
|
26
26
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
27
|
-
*/const
|
|
27
|
+
*/const Ie={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4},Vr=r=>(...e)=>({_$litDirective$:r,values:e});class Ir{constructor(e){}get _$AU(){return this._$AM._$AU}_$AT(e,t,i){this._$Ct=e,this._$AM=t,this._$Ci=i}_$AS(e,t){return this.update(e,t)}update(e,t){return this.render(...t)}}/**
|
|
28
28
|
* @license
|
|
29
29
|
* Copyright 2020 Google LLC
|
|
30
30
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
31
|
-
*/const{I:
|
|
31
|
+
*/const{I:xn}=vn,kn=r=>r.strings===void 0,Oi=()=>document.createComment(""),_t=(r,e,t)=>{var n;const i=r._$AA.parentNode,o=e===void 0?r._$AB:e._$AA;if(t===void 0){const a=i.insertBefore(Oi(),o),l=i.insertBefore(Oi(),o);t=new xn(a,l,r,r.options)}else{const a=t._$AB.nextSibling,l=t._$AM,s=l!==r;if(s){let c;(n=t._$AQ)==null||n.call(t,r),t._$AM=r,t._$AP!==void 0&&(c=r._$AU)!==l._$AU&&t._$AP(c)}if(a!==o||s){let c=t._$AA;for(;c!==a;){const u=c.nextSibling;i.insertBefore(c,o),c=u}}}return t},Ge=(r,e,t=r)=>(r._$AI(e,t),r),wn={},Ri=(r,e=wn)=>r._$AH=e,_n=r=>r._$AH,Nr=r=>{var i;(i=r._$AP)==null||i.call(r,!1,!0);let e=r._$AA;const t=r._$AB.nextSibling;for(;e!==t;){const o=e.nextSibling;e.remove(),e=o}};/**
|
|
32
32
|
* @license
|
|
33
33
|
* Copyright 2017 Google LLC
|
|
34
34
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
35
|
-
*/const
|
|
35
|
+
*/const Hi=(r,e,t)=>{const i=new Map;for(let o=e;o<=t;o++)i.set(r[o],o);return i},$n=Vr(class extends Ir{constructor(r){if(super(r),r.type!==Ie.CHILD)throw Error("repeat() can only be used in text expressions")}dt(r,e,t){let i;t===void 0?t=e:e!==void 0&&(i=e);const o=[],n=[];let a=0;for(const l of r)o[a]=i?i(l,a):a,n[a]=t(l,a),a++;return{values:n,keys:o}}render(r,e,t){return this.dt(r,e,t).values}update(r,[e,t,i]){const o=_n(r),{values:n,keys:a}=this.dt(e,t,i);if(!Array.isArray(o))return this.ut=a,n;const l=this.ut??(this.ut=[]),s=[];let c,u,d=0,m=o.length-1,h=0,f=n.length-1;for(;d<=m&&h<=f;)if(o[d]===null)d++;else if(o[m]===null)m--;else if(l[d]===a[h])s[h]=Ge(o[d],n[h]),d++,h++;else if(l[m]===a[f])s[f]=Ge(o[m],n[f]),m--,f--;else if(l[d]===a[f])s[f]=Ge(o[d],n[f]),_t(r,s[f+1],o[d]),d++,f--;else if(l[m]===a[h])s[h]=Ge(o[m],n[h]),_t(r,o[d],o[m]),m--,h++;else if(c===void 0&&(c=Hi(a,h,f),u=Hi(l,d,m)),c.has(l[d]))if(c.has(l[m])){const v=u.get(a[h]),V=v!==void 0?o[v]:null;if(V===null){const te=_t(r,o[d]);Ge(te,n[h]),s[h]=te}else s[h]=Ge(V,n[h]),_t(r,o[d],V),o[v]=null;h++}else Nr(o[m]),m--;else Nr(o[d]),d++;for(;h<=f;){const v=_t(r,s[f+1]);Ge(v,n[h]),s[h++]=v}for(;d<=m;){const v=o[d++];v!==null&&Nr(v)}return this.ut=a,Ri(r,s),ke}});/**
|
|
36
36
|
* wms-capabilities @0.6.0
|
|
37
37
|
* @description WMS service Capabilities > JSON, based on openlayers
|
|
38
38
|
* @license BSD-2-Clause
|
|
39
39
|
* @preserve
|
|
40
|
-
*/var
|
|
40
|
+
*/var S=r=>r!==void 0,Mi=(r,e,t)=>e in r?r[e]:r[e]=t;const $t={ELEMENT:1,TEXT:3,CDATA_SECTION:4};class Sn{constructor(e){this._parser=new e}toDocument(e){return this._parser.parseFromString(e,"application/xml")}getAllTextContent(e,t){return Ut(e,t).join("")}}function Ut(r,e){return Vi(r,e,[]).join("")}function Vi(r,e,t){if(r.nodeType===$t.CDATA_SECTION||r.nodeType===$t.TEXT)e?t.push(String(r.nodeValue).replace(/(\r\n|\r|\n)/g,"")):t.push(r.nodeValue);else{var i;for(i=r.firstChild;i;i=i.nextSibling)Vi(i,e,t)}return t}function zn(r,e,t,i){for(var o=An(e);o;o=En(o)){var n=o.namespaceURI||null,a=r[n];if(S(a)){var l=a[o.localName];S(l)&&l.call(i,o,t)}}}function An(r){let e=r.firstElementChild||r.firstChild;for(;e&&e.nodeType!==$t.ELEMENT;)e=e.nextSibling;return e}function En(r){let e=r.nextElementSibling||r.nextSibling;for(;e&&e.nodeType!==$t.ELEMENT;)e=e.nextSibling;return e}function ie(r,e,t){return Cn(r,e,t)}function Cn(r,e,t){var i=S(t)?t:{},o,n;for(o=0,n=r.length;o<n;++o)i[r[o]]=e;return i}function Ii(r,e){return function(t,i){var o=r.call(S(e)?e:this,t,i);if(S(o)){var n=i[i.length-1];n.push(o)}}}function ee(r,e,t,i,o){return i.push(r),zn(e,t,i,o),i.pop()}function y(r,e,t){return function(i,o){let n=r.call(S(t)?t:this,i,o);if(S(n)){var a=o[o.length-1],l=S(e)?e:i.localName;a[l]=n}}}function pe(r,e,t){return function(i,o){var n=r.call(S(t)?t:this,i,o);if(S(n)){var a=o[o.length-1],l=S(e)?e:i.localName,s=Mi(a,l,[]);s.push(n)}}}const Tn=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g;function Ln(r){return r.replace(Tn,"")}function Je(r){const e=/^\s*(true|1)|(false|0)\s*$/.exec(r);if(e)return S(e[1])||!1}function st(r){return Ce(Ut(r,!1))}function Ce(r){const e=/^\s*([+\-]?\d*\.?\d+(?:e[+\-]?\d+)?)\s*$/i.exec(r);if(e)return parseFloat(e[1])}function Br(r){return jt(Ut(r,!1))}function jt(r){const e=/^\s*(\d+)\s*$/.exec(r);if(e)return parseInt(e[1],10)}function C(r){return Ln(Ut(r,!1))}const Dn="http://www.w3.org/1999/xlink";function Ur(r){return r.getAttributeNS(Dn,"href")}function Pn(r,e){return ee({},aa,r,e)}function Ni(r){return[Ce(r.getAttribute("minx")),Ce(r.getAttribute("miny")),Ce(r.getAttribute("maxx")),Ce(r.getAttribute("maxy"))]}function On(r,e){const t=Ni(r),i=[Ce(r.getAttribute("resx")),Ce(r.getAttribute("resy"))];return{crs:r.getAttribute("CRS")||r.getAttribute("SRS"),extent:t,res:i}}function Rn(r,e){const t=Ni(r);if(!(!S(t[0])||!S(t[1])||!S(t[2])||!S(t[3])))return t}function Hn(r,e){const t=parseFloat(r.getAttribute("min")),i=parseFloat(r.getAttribute("max"));return{min:t,max:i}}function Mn(r,e){const t=ee({},la,r,e);if(!S(t))return;const i=t.westBoundLongitude,o=t.southBoundLatitude,n=t.eastBoundLongitude,a=t.northBoundLatitude;if(!(!S(i)||!S(o)||!S(n)||!S(a)))return[i,o,n,a]}function Vn(r,e){return ee({},ea,r,e)}function In(r,e){return ee({},ta,r,e)}function Nn(r,e){return ee({},ra,r,e)}function Bn(r,e){return ee({},ia,r,e)}function Un(r,e){return ee({},oa,r,e)}function jn(r,e){return ee([],na,r,e)}function qn(r,e){const t=Je(r.getAttribute("queryable"));return ee({queryable:S(t)?t:!1},ji,r,e)}function Fn(r,e){var t=e[e.length-1];const i=ee({},ji,r,e);if(!S(i))return;let o=Je(r.getAttribute("queryable"));S(o)||(o=t.queryable),i.queryable=S(o)?o:!1;let n=jt(r.getAttribute("cascaded"));S(n)||(n=t.cascaded),i.cascaded=n;let a=Je(r.getAttribute("opaque"));S(a)||(a=t.opaque),i.opaque=S(a)?a:!1;let l=Je(r.getAttribute("noSubsets"));S(l)||(l=t.noSubsets),i.noSubsets=S(l)?l:!1;let s=Ce(r.getAttribute("fixedWidth"));S(s)||(s=t.fixedWidth),i.fixedWidth=s;let c=Ce(r.getAttribute("fixedHeight"));S(c)||(c=t.fixedHeight),i.fixedHeight=c;const u=["Style","CRS","AuthorityURL"];for(let m=0,h=u.length;m<h;m++){const f=u[m],v=t[f];if(S(v)){let V=Mi(i,f,[]);V=V.concat(v),i[f]=V}}const d=["EX_GeographicBoundingBox","BoundingBox","Dimension","Attribution","MinScaleDenominator","MaxScaleDenominator"];for(let m=0,h=d.length;m<h;m++){const f=d[m],v=i[f];if(!S(v)){const V=t[f];i[f]=V}}return i}function Xn(r,e){return{name:r.getAttribute("name"),units:r.getAttribute("units"),unitSymbol:r.getAttribute("unitSymbol"),default:r.getAttribute("default"),multipleValues:Je(r.getAttribute("multipleValues")),nearestValue:Je(r.getAttribute("nearestValue")),current:Je(r.getAttribute("current")),values:C(r)}}function Te(r,e){return ee({},ma,r,e)}function Zn(r,e){return ee({},sa,r,e)}function Yn(r,e){return ee({},da,r,e)}function Wn(r,e){return ee({},ua,r,e)}function jr(r,e){return ee({},ca,r,e)}function Bi(r,e){var t=Te(r,e);if(S(t)){const i=[jt(r.getAttribute("width")),jt(r.getAttribute("height"))];return t.size=i,t}}function Gn(r,e){var t=Te(r,e);if(S(t))return t.name=r.getAttribute("name"),t}function Jn(r,e){var t=Te(r,e);if(S(t))return t.type=r.getAttribute("type"),t}function Kn(r,e){return ee({},pa,r,e)}function Ui(r,e){return ee([],ha,r,e)}const oe=[null,"http://www.opengis.net/wms"],Qn=ie(oe,{Service:y(In),Capability:y(Vn)}),ea=ie(oe,{Request:y(Zn),Exception:y(jn),Layer:y(qn)}),ta=ie(oe,{Name:y(C),Title:y(C),Abstract:y(C),KeywordList:y(Ui),OnlineResource:y(Ur),ContactInformation:y(Nn),Fees:y(C),AccessConstraints:y(C),LayerLimit:y(Br),MaxWidth:y(Br),MaxHeight:y(Br)}),ra=ie(oe,{ContactPersonPrimary:y(Bn),ContactPosition:y(C),ContactAddress:y(Un),ContactVoiceTelephone:y(C),ContactFacsimileTelephone:y(C),ContactElectronicMailAddress:y(C)}),ia=ie(oe,{ContactPerson:y(C),ContactOrganization:y(C)}),oa=ie(oe,{AddressType:y(C),Address:y(C),City:y(C),StateOrProvince:y(C),PostCode:y(C),Country:y(C)}),na=ie(oe,{Format:Ii(C)}),ji=ie(oe,{Name:y(C),Title:y(C),Abstract:y(C),KeywordList:y(Ui),CRS:pe(C),SRS:pe(C),EX_GeographicBoundingBox:y(Mn),LatLonBoundingBox:y(Rn),BoundingBox:pe(On),Dimension:pe(Xn),Attribution:y(Pn),AuthorityURL:pe(Gn),Identifier:pe(C),MetadataURL:pe(Jn),DataURL:pe(Te),FeatureListURL:pe(Te),Style:pe(Kn),MinScaleDenominator:y(st),MaxScaleDenominator:y(st),ScaleHint:y(Hn),Layer:pe(Fn)}),aa=ie(oe,{Title:y(C),OnlineResource:y(Ur),LogoURL:y(Bi)}),la=ie(oe,{westBoundLongitude:y(st),eastBoundLongitude:y(st),southBoundLatitude:y(st),northBoundLatitude:y(st)}),sa=ie(oe,{GetCapabilities:y(jr),GetMap:y(jr),GetFeatureInfo:y(jr)}),ca=ie(oe,{Format:pe(C),DCPType:pe(Yn)}),da=ie(oe,{HTTP:y(Wn)}),ua=ie(oe,{Get:y(Te),Post:y(Te)}),pa=ie(oe,{Name:y(C),Title:y(C),Abstract:y(C),LegendURL:pe(Bi),StyleSheetURL:y(Te),StyleURL:y(Te)}),ma=ie(oe,{Format:y(C),OnlineResource:y(Ur)}),ha=ie(oe,{Keyword:Ii(C)});class fa{constructor(e,t){!t&&typeof window<"u"&&(t=window.DOMParser),this.version=void 0,this._parser=new Sn(t),this._data=e}data(e){return this._data=e,this}toJSON(e){return e=e||this._data,this.parse(e)}parse(e){return this.readFromDocument(this._parser.toDocument(e))}readFromDocument(e){for(let t=e.firstChild;t;t=t.nextSibling)if(t.nodeType==$t.ELEMENT)return this.readFromNode(t);return null}readFromNode(e){return this.version=e.getAttribute("version"),ee({version:this.version},Qn,e,[])||null}}async function ga(r){let e=new URL(r),t=e.searchParams;t.set("SERVICE","WMS"),t.set("REQUEST","GetCapabilities");let i=e.toString();const o=await fetch(i);if(o.ok){const n=await o.text();return new fa(n).toJSON()}else throw new Error(`Error: ${o.status}`)}function qr(r){const e=/\b(?:wms|ows)\b/i,t=/{(?:z|x|y-?)}\/{(?:z|x|y-?)}\/{(?:z|x|y-?)}/i;return e.test(r)?"TileWMS":t.test(r)?"XYZ":!1}function ba(r){const t=/^(?:(?:https?|ftp):\/\/|\/\/)?(?:localhost|\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}|(?:\w+[\w-]*\.)+\w+)(?::\d+)?(?:\/\S*)?$/.test(r),i=qr(r);return!!(r&&t&&i)}function qi(r){return r.replace(/(['"])?([a-zA-Z0-9_]+)(['"])?:/g,'"$2": ').replace(/,\s*}/g,"}").replace(/,\s*]/g,"]").replace(/\s*(\{|}|\[|\]|,)\s*/g,"$1").replaceAll('": //',"://")}function va(r){try{return JSON.parse(qi(r)),!!r}catch{return!1}}function ya(r,e){const t=new URL(r).searchParams;Object.entries(e).forEach(([a,l])=>{typeof l=="object"&&!Array.isArray(l)&&l!==null?Object.keys(l).forEach(s=>{t.set(s,l[s])}):t.set(a,l)});const i=r.split("?")[0],o=t.toString();return`${i}?${o}`}/**!
|
|
41
41
|
* Sortable 1.15.6
|
|
42
42
|
* @author RubaXa <trash@rubaxa.org>
|
|
43
43
|
* @author owenm <owen23355@gmail.com>
|
|
44
44
|
* @license MIT
|
|
45
|
-
*/function Zn(i,t){var e=Object.keys(i);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(i);t&&(n=n.filter(function(r){return Object.getOwnPropertyDescriptor(i,r).enumerable})),e.push.apply(e,n)}return e}function _t(i){for(var t=1;t<arguments.length;t++){var e=arguments[t]!=null?arguments[t]:{};t%2?Zn(Object(e),!0).forEach(function(n){gs(i,n,e[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(i,Object.getOwnPropertyDescriptors(e)):Zn(Object(e)).forEach(function(n){Object.defineProperty(i,n,Object.getOwnPropertyDescriptor(e,n))})}return i}function je(i){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?je=function(t){return typeof t}:je=function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},je(i)}function gs(i,t,e){return t in i?Object.defineProperty(i,t,{value:e,enumerable:!0,configurable:!0,writable:!0}):i[t]=e,i}function Ot(){return Ot=Object.assign||function(i){for(var t=1;t<arguments.length;t++){var e=arguments[t];for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(i[n]=e[n])}return i},Ot.apply(this,arguments)}function ms(i,t){if(i==null)return{};var e={},n=Object.keys(i),r,o;for(o=0;o<n.length;o++)r=n[o],!(t.indexOf(r)>=0)&&(e[r]=i[r]);return e}function ys(i,t){if(i==null)return{};var e=ms(i,t),n,r;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(i);for(r=0;r<o.length;r++)n=o[r],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(i,n)&&(e[n]=i[n])}return e}var bs="1.15.6";function Rt(i){if(typeof window<"u"&&window.navigator)return!!navigator.userAgent.match(i)}var Lt=Rt(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i),Ae=Rt(/Edge/i),qn=Rt(/firefox/i),_e=Rt(/safari/i)&&!Rt(/chrome/i)&&!Rt(/android/i),ji=Rt(/iP(ad|od|hone)/i),Xn=Rt(/chrome/i)&&Rt(/android/i),Wn={capture:!1,passive:!1};function T(i,t,e){i.addEventListener(t,e,!Lt&&Wn)}function _(i,t,e){i.removeEventListener(t,e,!Lt&&Wn)}function ze(i,t){if(t){if(t[0]===">"&&(t=t.substring(1)),i)try{if(i.matches)return i.matches(t);if(i.msMatchesSelector)return i.msMatchesSelector(t);if(i.webkitMatchesSelector)return i.webkitMatchesSelector(t)}catch{return!1}return!1}}function Yn(i){return i.host&&i!==document&&i.host.nodeType?i.host:i.parentNode}function St(i,t,e,n){if(i){e=e||document;do{if(t!=null&&(t[0]===">"?i.parentNode===e&&ze(i,t):ze(i,t))||n&&i===e)return i;if(i===e)break}while(i=Yn(i))}return null}var Gn=/\s+/g;function bt(i,t,e){if(i&&t)if(i.classList)i.classList[e?"add":"remove"](t);else{var n=(" "+i.className+" ").replace(Gn," ").replace(" "+t+" "," ");i.className=(n+(e?" "+t:"")).replace(Gn," ")}}function w(i,t,e){var n=i&&i.style;if(n){if(e===void 0)return document.defaultView&&document.defaultView.getComputedStyle?e=document.defaultView.getComputedStyle(i,""):i.currentStyle&&(e=i.currentStyle),t===void 0?e:e[t];!(t in n)&&t.indexOf("webkit")===-1&&(t="-webkit-"+t),n[t]=e+(typeof e=="string"?"":"px")}}function de(i,t){var e="";if(typeof i=="string")e=i;else do{var n=w(i,"transform");n&&n!=="none"&&(e=n+" "+e)}while(!t&&(i=i.parentNode));var r=window.DOMMatrix||window.WebKitCSSMatrix||window.CSSMatrix||window.MSCSSMatrix;return r&&new r(e)}function Jn(i,t,e){if(i){var n=i.getElementsByTagName(t),r=0,o=n.length;if(e)for(;r<o;r++)e(n[r],r);return n}return[]}function Ct(){var i=document.scrollingElement;return i||document.documentElement}function Y(i,t,e,n,r){if(!(!i.getBoundingClientRect&&i!==window)){var o,s,a,l,d,c,u;if(i!==window&&i.parentNode&&i!==Ct()?(o=i.getBoundingClientRect(),s=o.top,a=o.left,l=o.bottom,d=o.right,c=o.height,u=o.width):(s=0,a=0,l=window.innerHeight,d=window.innerWidth,c=window.innerHeight,u=window.innerWidth),(t||e)&&i!==window&&(r=r||i.parentNode,!Lt))do if(r&&r.getBoundingClientRect&&(w(r,"transform")!=="none"||e&&w(r,"position")!=="static")){var p=r.getBoundingClientRect();s-=p.top+parseInt(w(r,"border-top-width")),a-=p.left+parseInt(w(r,"border-left-width")),l=s+o.height,d=a+o.width;break}while(r=r.parentNode);if(n&&i!==window){var f=de(r||i),g=f&&f.a,b=f&&f.d;f&&(s/=b,a/=g,u/=g,c/=b,l=s+c,d=a+u)}return{top:s,left:a,bottom:l,right:d,width:u,height:c}}}function Kn(i,t,e){for(var n=Bt(i,!0),r=Y(i)[t];n;){var o=Y(n)[e],s=void 0;if(s=r>=o,!s)return n;if(n===Ct())break;n=Bt(n,!1)}return!1}function ue(i,t,e,n){for(var r=0,o=0,s=i.children;o<s.length;){if(s[o].style.display!=="none"&&s[o]!==x.ghost&&(n||s[o]!==x.dragged)&&St(s[o],e.draggable,i,!1)){if(r===t)return s[o];r++}o++}return null}function zi(i,t){for(var e=i.lastElementChild;e&&(e===x.ghost||w(e,"display")==="none"||t&&!ze(e,t));)e=e.previousElementSibling;return e||null}function $t(i,t){var e=0;if(!i||!i.parentNode)return-1;for(;i=i.previousElementSibling;)i.nodeName.toUpperCase()!=="TEMPLATE"&&i!==x.clone&&(!t||ze(i,t))&&e++;return e}function Qn(i){var t=0,e=0,n=Ct();if(i)do{var r=de(i),o=r.a,s=r.d;t+=i.scrollLeft*o,e+=i.scrollTop*s}while(i!==n&&(i=i.parentNode));return[t,e]}function vs(i,t){for(var e in i)if(i.hasOwnProperty(e)){for(var n in t)if(t.hasOwnProperty(n)&&t[n]===i[e][n])return Number(e)}return-1}function Bt(i,t){if(!i||!i.getBoundingClientRect)return Ct();var e=i,n=!1;do if(e.clientWidth<e.scrollWidth||e.clientHeight<e.scrollHeight){var r=w(e);if(e.clientWidth<e.scrollWidth&&(r.overflowX=="auto"||r.overflowX=="scroll")||e.clientHeight<e.scrollHeight&&(r.overflowY=="auto"||r.overflowY=="scroll")){if(!e.getBoundingClientRect||e===document.body)return Ct();if(n||t)return e;n=!0}}while(e=e.parentNode);return Ct()}function ws(i,t){if(i&&t)for(var e in t)t.hasOwnProperty(e)&&(i[e]=t[e]);return i}function Zi(i,t){return Math.round(i.top)===Math.round(t.top)&&Math.round(i.left)===Math.round(t.left)&&Math.round(i.height)===Math.round(t.height)&&Math.round(i.width)===Math.round(t.width)}var Ce;function tr(i,t){return function(){if(!Ce){var e=arguments,n=this;e.length===1?i.call(n,e[0]):i.apply(n,e),Ce=setTimeout(function(){Ce=void 0},t)}}}function xs(){clearTimeout(Ce),Ce=void 0}function er(i,t,e){i.scrollLeft+=t,i.scrollTop+=e}function ir(i){var t=window.Polymer,e=window.jQuery||window.Zepto;return t&&t.dom?t.dom(i).cloneNode(!0):e?e(i).clone(!0)[0]:i.cloneNode(!0)}function nr(i,t,e){var n={};return Array.from(i.children).forEach(function(r){var o,s,a,l;if(!(!St(r,t.draggable,i,!1)||r.animated||r===e)){var d=Y(r);n.left=Math.min((o=n.left)!==null&&o!==void 0?o:1/0,d.left),n.top=Math.min((s=n.top)!==null&&s!==void 0?s:1/0,d.top),n.right=Math.max((a=n.right)!==null&&a!==void 0?a:-1/0,d.right),n.bottom=Math.max((l=n.bottom)!==null&&l!==void 0?l:-1/0,d.bottom)}}),n.width=n.right-n.left,n.height=n.bottom-n.top,n.x=n.left,n.y=n.top,n}var pt="Sortable"+new Date().getTime();function $s(){var i=[],t;return{captureAnimationState:function(){if(i=[],!!this.options.animation){var n=[].slice.call(this.el.children);n.forEach(function(r){if(!(w(r,"display")==="none"||r===x.ghost)){i.push({target:r,rect:Y(r)});var o=_t({},i[i.length-1].rect);if(r.thisAnimationDuration){var s=de(r,!0);s&&(o.top-=s.f,o.left-=s.e)}r.fromRect=o}})}},addAnimationState:function(n){i.push(n)},removeAnimationState:function(n){i.splice(vs(i,{target:n}),1)},animateAll:function(n){var r=this;if(!this.options.animation){clearTimeout(t),typeof n=="function"&&n();return}var o=!1,s=0;i.forEach(function(a){var l=0,d=a.target,c=d.fromRect,u=Y(d),p=d.prevFromRect,f=d.prevToRect,g=a.rect,b=de(d,!0);b&&(u.top-=b.f,u.left-=b.e),d.toRect=u,d.thisAnimationDuration&&Zi(p,u)&&!Zi(c,u)&&(g.top-u.top)/(g.left-u.left)===(c.top-u.top)/(c.left-u.left)&&(l=Ss(g,p,f,r.options)),Zi(u,c)||(d.prevFromRect=c,d.prevToRect=u,l||(l=r.options.animation),r.animate(d,g,u,l)),l&&(o=!0,s=Math.max(s,l),clearTimeout(d.animationResetTimer),d.animationResetTimer=setTimeout(function(){d.animationTime=0,d.prevFromRect=null,d.fromRect=null,d.prevToRect=null,d.thisAnimationDuration=null},l),d.thisAnimationDuration=l)}),clearTimeout(t),o?t=setTimeout(function(){typeof n=="function"&&n()},s):typeof n=="function"&&n(),i=[]},animate:function(n,r,o,s){if(s){w(n,"transition",""),w(n,"transform","");var a=de(this.el),l=a&&a.a,d=a&&a.d,c=(r.left-o.left)/(l||1),u=(r.top-o.top)/(d||1);n.animatingX=!!c,n.animatingY=!!u,w(n,"transform","translate3d("+c+"px,"+u+"px,0)"),this.forRepaintDummy=Es(n),w(n,"transition","transform "+s+"ms"+(this.options.easing?" "+this.options.easing:"")),w(n,"transform","translate3d(0,0,0)"),typeof n.animated=="number"&&clearTimeout(n.animated),n.animated=setTimeout(function(){w(n,"transition",""),w(n,"transform",""),n.animated=!1,n.animatingX=!1,n.animatingY=!1},s)}}}}function Es(i){return i.offsetWidth}function Ss(i,t,e,n){return Math.sqrt(Math.pow(t.top-i.top,2)+Math.pow(t.left-i.left,2))/Math.sqrt(Math.pow(t.top-e.top,2)+Math.pow(t.left-e.left,2))*n.animation}var ce=[],qi={initializeByDefault:!0},Te={mount:function(t){for(var e in qi)qi.hasOwnProperty(e)&&!(e in t)&&(t[e]=qi[e]);ce.forEach(function(n){if(n.pluginName===t.pluginName)throw"Sortable: Cannot mount plugin ".concat(t.pluginName," more than once")}),ce.push(t)},pluginEvent:function(t,e,n){var r=this;this.eventCanceled=!1,n.cancel=function(){r.eventCanceled=!0};var o=t+"Global";ce.forEach(function(s){e[s.pluginName]&&(e[s.pluginName][o]&&e[s.pluginName][o](_t({sortable:e},n)),e.options[s.pluginName]&&e[s.pluginName][t]&&e[s.pluginName][t](_t({sortable:e},n)))})},initializePlugins:function(t,e,n,r){ce.forEach(function(a){var l=a.pluginName;if(!(!t.options[l]&&!a.initializeByDefault)){var d=new a(t,e,t.options);d.sortable=t,d.options=t.options,t[l]=d,Ot(n,d.defaults)}});for(var o in t.options)if(t.options.hasOwnProperty(o)){var s=this.modifyOption(t,o,t.options[o]);typeof s<"u"&&(t.options[o]=s)}},getEventProperties:function(t,e){var n={};return ce.forEach(function(r){typeof r.eventProperties=="function"&&Ot(n,r.eventProperties.call(e[r.pluginName],t))}),n},modifyOption:function(t,e,n){var r;return ce.forEach(function(o){t[o.pluginName]&&o.optionListeners&&typeof o.optionListeners[e]=="function"&&(r=o.optionListeners[e].call(t[o.pluginName],n))}),r}};function As(i){var t=i.sortable,e=i.rootEl,n=i.name,r=i.targetEl,o=i.cloneEl,s=i.toEl,a=i.fromEl,l=i.oldIndex,d=i.newIndex,c=i.oldDraggableIndex,u=i.newDraggableIndex,p=i.originalEvent,f=i.putSortable,g=i.extraEventProperties;if(t=t||e&&e[pt],!!t){var b,V=t.options,et="on"+n.charAt(0).toUpperCase()+n.substr(1);window.CustomEvent&&!Lt&&!Ae?b=new CustomEvent(n,{bubbles:!0,cancelable:!0}):(b=document.createEvent("Event"),b.initEvent(n,!0,!0)),b.to=s||e,b.from=a||e,b.item=r||e,b.clone=o,b.oldIndex=l,b.newIndex=d,b.oldDraggableIndex=c,b.newDraggableIndex=u,b.originalEvent=p,b.pullMode=f?f.lastPutMode:void 0;var Z=_t(_t({},g),Te.getEventProperties(n,t));for(var ct in Z)b[ct]=Z[ct];e&&e.dispatchEvent(b),V[et]&&V[et].call(t,b)}}var _s=["evt"],ft=function(t,e){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},r=n.evt,o=ys(n,_s);Te.pluginEvent.bind(x)(t,e,_t({dragEl:h,parentEl:z,ghostEl:$,rootEl:k,nextEl:Kt,lastDownEl:Ze,cloneEl:U,cloneHidden:Ut,dragStarted:Pe,putSortable:ot,activeSortable:x.active,originalEvent:r,oldIndex:he,oldDraggableIndex:De,newIndex:vt,newDraggableIndex:Ft,hideGhostForTarget:ur,unhideGhostForTarget:cr,cloneNowHidden:function(){Ut=!0},cloneNowShown:function(){Ut=!1},dispatchSortableEvent:function(a){ut({sortable:e,name:a,originalEvent:r})}},o))};function ut(i){As(_t({putSortable:ot,cloneEl:U,targetEl:h,rootEl:k,oldIndex:he,oldDraggableIndex:De,newIndex:vt,newDraggableIndex:Ft},i))}var h,z,$,k,Kt,Ze,U,Ut,he,vt,De,Ft,qe,ot,pe=!1,Xe=!1,We=[],Qt,At,Xi,Wi,rr,or,Pe,fe,Oe,Re=!1,Ye=!1,Ge,lt,Yi=[],Gi=!1,Je=[],Ke=typeof document<"u",Qe=ji,sr=Ae||Lt?"cssFloat":"float",Cs=Ke&&!Xn&&!ji&&"draggable"in document.createElement("div"),ar=function(){if(Ke){if(Lt)return!1;var i=document.createElement("x");return i.style.cssText="pointer-events:auto",i.style.pointerEvents==="auto"}}(),lr=function(t,e){var n=w(t),r=parseInt(n.width)-parseInt(n.paddingLeft)-parseInt(n.paddingRight)-parseInt(n.borderLeftWidth)-parseInt(n.borderRightWidth),o=ue(t,0,e),s=ue(t,1,e),a=o&&w(o),l=s&&w(s),d=a&&parseInt(a.marginLeft)+parseInt(a.marginRight)+Y(o).width,c=l&&parseInt(l.marginLeft)+parseInt(l.marginRight)+Y(s).width;if(n.display==="flex")return n.flexDirection==="column"||n.flexDirection==="column-reverse"?"vertical":"horizontal";if(n.display==="grid")return n.gridTemplateColumns.split(" ").length<=1?"vertical":"horizontal";if(o&&a.float&&a.float!=="none"){var u=a.float==="left"?"left":"right";return s&&(l.clear==="both"||l.clear===u)?"vertical":"horizontal"}return o&&(a.display==="block"||a.display==="flex"||a.display==="table"||a.display==="grid"||d>=r&&n[sr]==="none"||s&&n[sr]==="none"&&d+c>r)?"vertical":"horizontal"},Ts=function(t,e,n){var r=n?t.left:t.top,o=n?t.right:t.bottom,s=n?t.width:t.height,a=n?e.left:e.top,l=n?e.right:e.bottom,d=n?e.width:e.height;return r===a||o===l||r+s/2===a+d/2},Ds=function(t,e){var n;return We.some(function(r){var o=r[pt].options.emptyInsertThreshold;if(!(!o||zi(r))){var s=Y(r),a=t>=s.left-o&&t<=s.right+o,l=e>=s.top-o&&e<=s.bottom+o;if(a&&l)return n=r}}),n},dr=function(t){function e(o,s){return function(a,l,d,c){var u=a.options.group.name&&l.options.group.name&&a.options.group.name===l.options.group.name;if(o==null&&(s||u))return!0;if(o==null||o===!1)return!1;if(s&&o==="clone")return o;if(typeof o=="function")return e(o(a,l,d,c),s)(a,l,d,c);var p=(s?a:l).options.group.name;return o===!0||typeof o=="string"&&o===p||o.join&&o.indexOf(p)>-1}}var n={},r=t.group;(!r||je(r)!="object")&&(r={name:r}),n.name=r.name,n.checkPull=e(r.pull,!0),n.checkPut=e(r.put),n.revertClone=r.revertClone,t.group=n},ur=function(){!ar&&$&&w($,"display","none")},cr=function(){!ar&&$&&w($,"display","")};Ke&&!Xn&&document.addEventListener("click",function(i){if(Xe)return i.preventDefault(),i.stopPropagation&&i.stopPropagation(),i.stopImmediatePropagation&&i.stopImmediatePropagation(),Xe=!1,!1},!0);var te=function(t){if(h){t=t.touches?t.touches[0]:t;var e=Ds(t.clientX,t.clientY);if(e){var n={};for(var r in t)t.hasOwnProperty(r)&&(n[r]=t[r]);n.target=n.rootEl=e,n.preventDefault=void 0,n.stopPropagation=void 0,e[pt]._onDragOver(n)}}},Ps=function(t){h&&h.parentNode[pt]._isOutsideThisEl(t.target)};function x(i,t){if(!(i&&i.nodeType&&i.nodeType===1))throw"Sortable: `el` must be an HTMLElement, not ".concat({}.toString.call(i));this.el=i,this.options=t=Ot({},t),i[pt]=this;var e={group:null,sort:!0,disabled:!1,store:null,handle:null,draggable:/^[uo]l$/i.test(i.nodeName)?">li":">*",swapThreshold:1,invertSwap:!1,invertedSwapThreshold:null,removeCloneOnHide:!0,direction:function(){return lr(i,this.options)},ghostClass:"sortable-ghost",chosenClass:"sortable-chosen",dragClass:"sortable-drag",ignore:"a, img",filter:null,preventOnFilter:!0,animation:0,easing:null,setData:function(s,a){s.setData("Text",a.textContent)},dropBubble:!1,dragoverBubble:!1,dataIdAttr:"data-id",delay:0,delayOnTouchOnly:!1,touchStartThreshold:(Number.parseInt?Number:window).parseInt(window.devicePixelRatio,10)||1,forceFallback:!1,fallbackClass:"sortable-fallback",fallbackOnBody:!1,fallbackTolerance:0,fallbackOffset:{x:0,y:0},supportPointer:x.supportPointer!==!1&&"PointerEvent"in window&&(!_e||ji),emptyInsertThreshold:5};Te.initializePlugins(this,i,e);for(var n in e)!(n in t)&&(t[n]=e[n]);dr(t);for(var r in this)r.charAt(0)==="_"&&typeof this[r]=="function"&&(this[r]=this[r].bind(this));this.nativeDraggable=t.forceFallback?!1:Cs,this.nativeDraggable&&(this.options.touchStartThreshold=1),t.supportPointer?T(i,"pointerdown",this._onTapStart):(T(i,"mousedown",this._onTapStart),T(i,"touchstart",this._onTapStart)),this.nativeDraggable&&(T(i,"dragover",this),T(i,"dragenter",this)),We.push(this.el),t.store&&t.store.get&&this.sort(t.store.get(this)||[]),Ot(this,$s())}x.prototype={constructor:x,_isOutsideThisEl:function(t){!this.el.contains(t)&&t!==this.el&&(fe=null)},_getDirection:function(t,e){return typeof this.options.direction=="function"?this.options.direction.call(this,t,e,h):this.options.direction},_onTapStart:function(t){if(t.cancelable){var e=this,n=this.el,r=this.options,o=r.preventOnFilter,s=t.type,a=t.touches&&t.touches[0]||t.pointerType&&t.pointerType==="touch"&&t,l=(a||t).target,d=t.target.shadowRoot&&(t.path&&t.path[0]||t.composedPath&&t.composedPath()[0])||l,c=r.filter;if(Vs(n),!h&&!(/mousedown|pointerdown/.test(s)&&t.button!==0||r.disabled)&&!d.isContentEditable&&!(!this.nativeDraggable&&_e&&l&&l.tagName.toUpperCase()==="SELECT")&&(l=St(l,r.draggable,n,!1),!(l&&l.animated)&&Ze!==l)){if(he=$t(l),De=$t(l,r.draggable),typeof c=="function"){if(c.call(this,t,l,this)){ut({sortable:e,rootEl:d,name:"filter",targetEl:l,toEl:n,fromEl:n}),ft("filter",e,{evt:t}),o&&t.preventDefault();return}}else if(c&&(c=c.split(",").some(function(u){if(u=St(d,u.trim(),n,!1),u)return ut({sortable:e,rootEl:u,name:"filter",targetEl:l,fromEl:n,toEl:n}),ft("filter",e,{evt:t}),!0}),c)){o&&t.preventDefault();return}r.handle&&!St(d,r.handle,n,!1)||this._prepareDragStart(t,a,l)}}},_prepareDragStart:function(t,e,n){var r=this,o=r.el,s=r.options,a=o.ownerDocument,l;if(n&&!h&&n.parentNode===o){var d=Y(n);if(k=o,h=n,z=h.parentNode,Kt=h.nextSibling,Ze=n,qe=s.group,x.dragged=h,Qt={target:h,clientX:(e||t).clientX,clientY:(e||t).clientY},rr=Qt.clientX-d.left,or=Qt.clientY-d.top,this._lastX=(e||t).clientX,this._lastY=(e||t).clientY,h.style["will-change"]="all",l=function(){if(ft("delayEnded",r,{evt:t}),x.eventCanceled){r._onDrop();return}r._disableDelayedDragEvents(),!qn&&r.nativeDraggable&&(h.draggable=!0),r._triggerDragStart(t,e),ut({sortable:r,name:"choose",originalEvent:t}),bt(h,s.chosenClass,!0)},s.ignore.split(",").forEach(function(c){Jn(h,c.trim(),Ji)}),T(a,"dragover",te),T(a,"mousemove",te),T(a,"touchmove",te),s.supportPointer?(T(a,"pointerup",r._onDrop),!this.nativeDraggable&&T(a,"pointercancel",r._onDrop)):(T(a,"mouseup",r._onDrop),T(a,"touchend",r._onDrop),T(a,"touchcancel",r._onDrop)),qn&&this.nativeDraggable&&(this.options.touchStartThreshold=4,h.draggable=!0),ft("delayStart",this,{evt:t}),s.delay&&(!s.delayOnTouchOnly||e)&&(!this.nativeDraggable||!(Ae||Lt))){if(x.eventCanceled){this._onDrop();return}s.supportPointer?(T(a,"pointerup",r._disableDelayedDrag),T(a,"pointercancel",r._disableDelayedDrag)):(T(a,"mouseup",r._disableDelayedDrag),T(a,"touchend",r._disableDelayedDrag),T(a,"touchcancel",r._disableDelayedDrag)),T(a,"mousemove",r._delayedDragTouchMoveHandler),T(a,"touchmove",r._delayedDragTouchMoveHandler),s.supportPointer&&T(a,"pointermove",r._delayedDragTouchMoveHandler),r._dragStartTimer=setTimeout(l,s.delay)}else l()}},_delayedDragTouchMoveHandler:function(t){var e=t.touches?t.touches[0]:t;Math.max(Math.abs(e.clientX-this._lastX),Math.abs(e.clientY-this._lastY))>=Math.floor(this.options.touchStartThreshold/(this.nativeDraggable&&window.devicePixelRatio||1))&&this._disableDelayedDrag()},_disableDelayedDrag:function(){h&&Ji(h),clearTimeout(this._dragStartTimer),this._disableDelayedDragEvents()},_disableDelayedDragEvents:function(){var t=this.el.ownerDocument;_(t,"mouseup",this._disableDelayedDrag),_(t,"touchend",this._disableDelayedDrag),_(t,"touchcancel",this._disableDelayedDrag),_(t,"pointerup",this._disableDelayedDrag),_(t,"pointercancel",this._disableDelayedDrag),_(t,"mousemove",this._delayedDragTouchMoveHandler),_(t,"touchmove",this._delayedDragTouchMoveHandler),_(t,"pointermove",this._delayedDragTouchMoveHandler)},_triggerDragStart:function(t,e){e=e||t.pointerType=="touch"&&t,!this.nativeDraggable||e?this.options.supportPointer?T(document,"pointermove",this._onTouchMove):e?T(document,"touchmove",this._onTouchMove):T(document,"mousemove",this._onTouchMove):(T(h,"dragend",this),T(k,"dragstart",this._onDragStart));try{document.selection?ei(function(){document.selection.empty()}):window.getSelection().removeAllRanges()}catch{}},_dragStarted:function(t,e){if(pe=!1,k&&h){ft("dragStarted",this,{evt:e}),this.nativeDraggable&&T(document,"dragover",Ps);var n=this.options;!t&&bt(h,n.dragClass,!1),bt(h,n.ghostClass,!0),x.active=this,t&&this._appendGhost(),ut({sortable:this,name:"start",originalEvent:e})}else this._nulling()},_emulateDragOver:function(){if(At){this._lastX=At.clientX,this._lastY=At.clientY,ur();for(var t=document.elementFromPoint(At.clientX,At.clientY),e=t;t&&t.shadowRoot&&(t=t.shadowRoot.elementFromPoint(At.clientX,At.clientY),t!==e);)e=t;if(h.parentNode[pt]._isOutsideThisEl(t),e)do{if(e[pt]){var n=void 0;if(n=e[pt]._onDragOver({clientX:At.clientX,clientY:At.clientY,target:t,rootEl:e}),n&&!this.options.dragoverBubble)break}t=e}while(e=Yn(e));cr()}},_onTouchMove:function(t){if(Qt){var e=this.options,n=e.fallbackTolerance,r=e.fallbackOffset,o=t.touches?t.touches[0]:t,s=$&&de($,!0),a=$&&s&&s.a,l=$&&s&&s.d,d=Qe&<&&Qn(lt),c=(o.clientX-Qt.clientX+r.x)/(a||1)+(d?d[0]-Yi[0]:0)/(a||1),u=(o.clientY-Qt.clientY+r.y)/(l||1)+(d?d[1]-Yi[1]:0)/(l||1);if(!x.active&&!pe){if(n&&Math.max(Math.abs(o.clientX-this._lastX),Math.abs(o.clientY-this._lastY))<n)return;this._onDragStart(t,!0)}if($){s?(s.e+=c-(Xi||0),s.f+=u-(Wi||0)):s={a:1,b:0,c:0,d:1,e:c,f:u};var p="matrix(".concat(s.a,",").concat(s.b,",").concat(s.c,",").concat(s.d,",").concat(s.e,",").concat(s.f,")");w($,"webkitTransform",p),w($,"mozTransform",p),w($,"msTransform",p),w($,"transform",p),Xi=c,Wi=u,At=o}t.cancelable&&t.preventDefault()}},_appendGhost:function(){if(!$){var t=this.options.fallbackOnBody?document.body:k,e=Y(h,!0,Qe,!0,t),n=this.options;if(Qe){for(lt=t;w(lt,"position")==="static"&&w(lt,"transform")==="none"&<!==document;)lt=lt.parentNode;lt!==document.body&<!==document.documentElement?(lt===document&&(lt=Ct()),e.top+=lt.scrollTop,e.left+=lt.scrollLeft):lt=Ct(),Yi=Qn(lt)}$=h.cloneNode(!0),bt($,n.ghostClass,!1),bt($,n.fallbackClass,!0),bt($,n.dragClass,!0),w($,"transition",""),w($,"transform",""),w($,"box-sizing","border-box"),w($,"margin",0),w($,"top",e.top),w($,"left",e.left),w($,"width",e.width),w($,"height",e.height),w($,"opacity","0.8"),w($,"position",Qe?"absolute":"fixed"),w($,"zIndex","100000"),w($,"pointerEvents","none"),x.ghost=$,t.appendChild($),w($,"transform-origin",rr/parseInt($.style.width)*100+"% "+or/parseInt($.style.height)*100+"%")}},_onDragStart:function(t,e){var n=this,r=t.dataTransfer,o=n.options;if(ft("dragStart",this,{evt:t}),x.eventCanceled){this._onDrop();return}ft("setupClone",this),x.eventCanceled||(U=ir(h),U.removeAttribute("id"),U.draggable=!1,U.style["will-change"]="",this._hideClone(),bt(U,this.options.chosenClass,!1),x.clone=U),n.cloneId=ei(function(){ft("clone",n),!x.eventCanceled&&(n.options.removeCloneOnHide||k.insertBefore(U,h),n._hideClone(),ut({sortable:n,name:"clone"}))}),!e&&bt(h,o.dragClass,!0),e?(Xe=!0,n._loopId=setInterval(n._emulateDragOver,50)):(_(document,"mouseup",n._onDrop),_(document,"touchend",n._onDrop),_(document,"touchcancel",n._onDrop),r&&(r.effectAllowed="move",o.setData&&o.setData.call(n,r,h)),T(document,"drop",n),w(h,"transform","translateZ(0)")),pe=!0,n._dragStartId=ei(n._dragStarted.bind(n,e,t)),T(document,"selectstart",n),Pe=!0,window.getSelection().removeAllRanges(),_e&&w(document.body,"user-select","none")},_onDragOver:function(t){var e=this.el,n=t.target,r,o,s,a=this.options,l=a.group,d=x.active,c=qe===l,u=a.sort,p=ot||d,f,g=this,b=!1;if(Gi)return;function V(wt,ee){ft(wt,g,_t({evt:t,isOwner:c,axis:f?"vertical":"horizontal",revert:s,dragRect:r,targetRect:o,canSort:u,fromSortable:p,target:n,completed:Z,onMove:function(ie,It){return ti(k,e,h,r,ie,Y(ie),t,It)},changed:ct},ee))}function et(){V("dragOverAnimationCapture"),g.captureAnimationState(),g!==p&&p.captureAnimationState()}function Z(wt){return V("dragOverCompleted",{insertion:wt}),wt&&(c?d._hideClone():d._showClone(g),g!==p&&(bt(h,ot?ot.options.ghostClass:d.options.ghostClass,!1),bt(h,a.ghostClass,!0)),ot!==g&&g!==x.active?ot=g:g===x.active&&ot&&(ot=null),p===g&&(g._ignoreWhileAnimating=n),g.animateAll(function(){V("dragOverAnimationComplete"),g._ignoreWhileAnimating=null}),g!==p&&(p.animateAll(),p._ignoreWhileAnimating=null)),(n===h&&!h.animated||n===e&&!n.animated)&&(fe=null),!a.dragoverBubble&&!t.rootEl&&n!==document&&(h.parentNode[pt]._isOutsideThisEl(t.target),!wt&&te(t)),!a.dragoverBubble&&t.stopPropagation&&t.stopPropagation(),b=!0}function ct(){vt=$t(h),Ft=$t(h,a.draggable),ut({sortable:g,name:"change",toEl:e,newIndex:vt,newDraggableIndex:Ft,originalEvent:t})}if(t.preventDefault!==void 0&&t.cancelable&&t.preventDefault(),n=St(n,a.draggable,e,!0),V("dragOver"),x.eventCanceled)return b;if(h.contains(t.target)||n.animated&&n.animatingX&&n.animatingY||g._ignoreWhileAnimating===n)return Z(!1);if(Xe=!1,d&&!a.disabled&&(c?u||(s=z!==k):ot===this||(this.lastPutMode=qe.checkPull(this,d,h,t))&&l.checkPut(this,d,h,t))){if(f=this._getDirection(t,n)==="vertical",r=Y(h),V("dragOverValid"),x.eventCanceled)return b;if(s)return z=k,et(),this._hideClone(),V("revert"),x.eventCanceled||(Kt?k.insertBefore(h,Kt):k.appendChild(h)),Z(!0);var it=zi(e,a.draggable);if(!it||Ms(t,f,this)&&!it.animated){if(it===h)return Z(!1);if(it&&e===t.target&&(n=it),n&&(o=Y(n)),ti(k,e,h,r,n,o,t,!!n)!==!1)return et(),it&&it.nextSibling?e.insertBefore(h,it.nextSibling):e.appendChild(h),z=e,ct(),Z(!0)}else if(it&&Ls(t,f,this)){var E=ue(e,0,a,!0);if(E===h)return Z(!1);if(n=E,o=Y(n),ti(k,e,h,r,n,o,t,!1)!==!1)return et(),e.insertBefore(h,E),z=e,ct(),Z(!0)}else if(n.parentNode===e){o=Y(n);var m=0,C,H=h.parentNode!==e,M=!Ts(h.animated&&h.toRect||r,n.animated&&n.toRect||o,f),J=f?"top":"left",K=Kn(n,"top","top")||Kn(h,"top","top"),B=K?K.scrollTop:void 0;fe!==n&&(C=o[J],Re=!1,Ye=!M&&a.invertSwap||H),m=Is(t,n,o,f,M?1:a.swapThreshold,a.invertedSwapThreshold==null?a.swapThreshold:a.invertedSwapThreshold,Ye,fe===n);var I;if(m!==0){var W=$t(h);do W-=m,I=z.children[W];while(I&&(w(I,"display")==="none"||I===$))}if(m===0||I===n)return Z(!1);fe=n,Oe=m;var gt=n.nextElementSibling,at=!1;at=m===1;var mt=ti(k,e,h,r,n,o,t,at);if(mt!==!1)return(mt===1||mt===-1)&&(at=mt===1),Gi=!0,setTimeout(Rs,30),et(),at&&!gt?e.appendChild(h):n.parentNode.insertBefore(h,at?gt:n),K&&er(K,0,B-K.scrollTop),z=h.parentNode,C!==void 0&&!Ye&&(Ge=Math.abs(C-Y(n)[J])),ct(),Z(!0)}if(e.contains(h))return Z(!1)}return!1},_ignoreWhileAnimating:null,_offMoveEvents:function(){_(document,"mousemove",this._onTouchMove),_(document,"touchmove",this._onTouchMove),_(document,"pointermove",this._onTouchMove),_(document,"dragover",te),_(document,"mousemove",te),_(document,"touchmove",te)},_offUpEvents:function(){var t=this.el.ownerDocument;_(t,"mouseup",this._onDrop),_(t,"touchend",this._onDrop),_(t,"pointerup",this._onDrop),_(t,"pointercancel",this._onDrop),_(t,"touchcancel",this._onDrop),_(document,"selectstart",this)},_onDrop:function(t){var e=this.el,n=this.options;if(vt=$t(h),Ft=$t(h,n.draggable),ft("drop",this,{evt:t}),z=h&&h.parentNode,vt=$t(h),Ft=$t(h,n.draggable),x.eventCanceled){this._nulling();return}pe=!1,Ye=!1,Re=!1,clearInterval(this._loopId),clearTimeout(this._dragStartTimer),Ki(this.cloneId),Ki(this._dragStartId),this.nativeDraggable&&(_(document,"drop",this),_(e,"dragstart",this._onDragStart)),this._offMoveEvents(),this._offUpEvents(),_e&&w(document.body,"user-select",""),w(h,"transform",""),t&&(Pe&&(t.cancelable&&t.preventDefault(),!n.dropBubble&&t.stopPropagation()),$&&$.parentNode&&$.parentNode.removeChild($),(k===z||ot&&ot.lastPutMode!=="clone")&&U&&U.parentNode&&U.parentNode.removeChild(U),h&&(this.nativeDraggable&&_(h,"dragend",this),Ji(h),h.style["will-change"]="",Pe&&!pe&&bt(h,ot?ot.options.ghostClass:this.options.ghostClass,!1),bt(h,this.options.chosenClass,!1),ut({sortable:this,name:"unchoose",toEl:z,newIndex:null,newDraggableIndex:null,originalEvent:t}),k!==z?(vt>=0&&(ut({rootEl:z,name:"add",toEl:z,fromEl:k,originalEvent:t}),ut({sortable:this,name:"remove",toEl:z,originalEvent:t}),ut({rootEl:z,name:"sort",toEl:z,fromEl:k,originalEvent:t}),ut({sortable:this,name:"sort",toEl:z,originalEvent:t})),ot&&ot.save()):vt!==he&&vt>=0&&(ut({sortable:this,name:"update",toEl:z,originalEvent:t}),ut({sortable:this,name:"sort",toEl:z,originalEvent:t})),x.active&&((vt==null||vt===-1)&&(vt=he,Ft=De),ut({sortable:this,name:"end",toEl:z,originalEvent:t}),this.save()))),this._nulling()},_nulling:function(){ft("nulling",this),k=h=z=$=Kt=U=Ze=Ut=Qt=At=Pe=vt=Ft=he=De=fe=Oe=ot=qe=x.dragged=x.ghost=x.clone=x.active=null,Je.forEach(function(t){t.checked=!0}),Je.length=Xi=Wi=0},handleEvent:function(t){switch(t.type){case"drop":case"dragend":this._onDrop(t);break;case"dragenter":case"dragover":h&&(this._onDragOver(t),Os(t));break;case"selectstart":t.preventDefault();break}},toArray:function(){for(var t=[],e,n=this.el.children,r=0,o=n.length,s=this.options;r<o;r++)e=n[r],St(e,s.draggable,this.el,!1)&&t.push(e.getAttribute(s.dataIdAttr)||Ns(e));return t},sort:function(t,e){var n={},r=this.el;this.toArray().forEach(function(o,s){var a=r.children[s];St(a,this.options.draggable,r,!1)&&(n[o]=a)},this),e&&this.captureAnimationState(),t.forEach(function(o){n[o]&&(r.removeChild(n[o]),r.appendChild(n[o]))}),e&&this.animateAll()},save:function(){var t=this.options.store;t&&t.set&&t.set(this)},closest:function(t,e){return St(t,e||this.options.draggable,this.el,!1)},option:function(t,e){var n=this.options;if(e===void 0)return n[t];var r=Te.modifyOption(this,t,e);typeof r<"u"?n[t]=r:n[t]=e,t==="group"&&dr(n)},destroy:function(){ft("destroy",this);var t=this.el;t[pt]=null,_(t,"mousedown",this._onTapStart),_(t,"touchstart",this._onTapStart),_(t,"pointerdown",this._onTapStart),this.nativeDraggable&&(_(t,"dragover",this),_(t,"dragenter",this)),Array.prototype.forEach.call(t.querySelectorAll("[draggable]"),function(e){e.removeAttribute("draggable")}),this._onDrop(),this._disableDelayedDragEvents(),We.splice(We.indexOf(this.el),1),this.el=t=null},_hideClone:function(){if(!Ut){if(ft("hideClone",this),x.eventCanceled)return;w(U,"display","none"),this.options.removeCloneOnHide&&U.parentNode&&U.parentNode.removeChild(U),Ut=!0}},_showClone:function(t){if(t.lastPutMode!=="clone"){this._hideClone();return}if(Ut){if(ft("showClone",this),x.eventCanceled)return;h.parentNode==k&&!this.options.group.revertClone?k.insertBefore(U,h):Kt?k.insertBefore(U,Kt):k.appendChild(U),this.options.group.revertClone&&this.animate(h,U),w(U,"display",""),Ut=!1}}};function Os(i){i.dataTransfer&&(i.dataTransfer.dropEffect="move"),i.cancelable&&i.preventDefault()}function ti(i,t,e,n,r,o,s,a){var l,d=i[pt],c=d.options.onMove,u;return window.CustomEvent&&!Lt&&!Ae?l=new CustomEvent("move",{bubbles:!0,cancelable:!0}):(l=document.createEvent("Event"),l.initEvent("move",!0,!0)),l.to=t,l.from=i,l.dragged=e,l.draggedRect=n,l.related=r||t,l.relatedRect=o||Y(t),l.willInsertAfter=a,l.originalEvent=s,i.dispatchEvent(l),c&&(u=c.call(d,l,s)),u}function Ji(i){i.draggable=!1}function Rs(){Gi=!1}function Ls(i,t,e){var n=Y(ue(e.el,0,e.options,!0)),r=nr(e.el,e.options,$),o=10;return t?i.clientX<r.left-o||i.clientY<n.top&&i.clientX<n.right:i.clientY<r.top-o||i.clientY<n.bottom&&i.clientX<n.left}function Ms(i,t,e){var n=Y(zi(e.el,e.options.draggable)),r=nr(e.el,e.options,$),o=10;return t?i.clientX>r.right+o||i.clientY>n.bottom&&i.clientX>n.left:i.clientY>r.bottom+o||i.clientX>n.right&&i.clientY>n.top}function Is(i,t,e,n,r,o,s,a){var l=n?i.clientY:i.clientX,d=n?e.height:e.width,c=n?e.top:e.left,u=n?e.bottom:e.right,p=!1;if(!s){if(a&&Ge<d*r){if(!Re&&(Oe===1?l>c+d*o/2:l<u-d*o/2)&&(Re=!0),Re)p=!0;else if(Oe===1?l<c+Ge:l>u-Ge)return-Oe}else if(l>c+d*(1-r)/2&&l<u-d*(1-r)/2)return Hs(t)}return p=p||s,p&&(l<c+d*o/2||l>u-d*o/2)?l>c+d/2?1:-1:0}function Hs(i){return $t(h)<$t(i)?1:-1}function Ns(i){for(var t=i.tagName+i.className+i.src+i.href+i.textContent,e=t.length,n=0;e--;)n+=t.charCodeAt(e);return n.toString(36)}function Vs(i){Je.length=0;for(var t=i.getElementsByTagName("input"),e=t.length;e--;){var n=t[e];n.checked&&Je.push(n)}}function ei(i){return setTimeout(i,0)}function Ki(i){return clearTimeout(i)}Ke&&T(document,"touchmove",function(i){(x.active||pe)&&i.cancelable&&i.preventDefault()}),x.utils={on:T,off:_,css:w,find:Jn,is:function(t,e){return!!St(t,e,t,!1)},extend:ws,throttle:tr,closest:St,toggleClass:bt,clone:ir,index:$t,nextTick:ei,cancelNextTick:Ki,detectDirection:lr,getChild:ue,expando:pt},x.get=function(i){return i[pt]},x.mount=function(){for(var i=arguments.length,t=new Array(i),e=0;e<i;e++)t[e]=arguments[e];t[0].constructor===Array&&(t=t[0]),t.forEach(function(n){if(!n.prototype||!n.prototype.constructor)throw"Sortable: Mounted plugin must be a constructor function, not ".concat({}.toString.call(n));n.utils&&(x.utils=_t(_t({},x.utils),n.utils)),Te.mount(n)})},x.create=function(i,t){return new x(i,t)},x.version=bs;var G=[],Le,Qi,tn=!1,en,nn,ii,Me;function ks(){function i(){this.defaults={scroll:!0,forceAutoScrollFallback:!1,scrollSensitivity:30,scrollSpeed:10,bubbleScroll:!0};for(var t in this)t.charAt(0)==="_"&&typeof this[t]=="function"&&(this[t]=this[t].bind(this))}return i.prototype={dragStarted:function(e){var n=e.originalEvent;this.sortable.nativeDraggable?T(document,"dragover",this._handleAutoScroll):this.options.supportPointer?T(document,"pointermove",this._handleFallbackAutoScroll):n.touches?T(document,"touchmove",this._handleFallbackAutoScroll):T(document,"mousemove",this._handleFallbackAutoScroll)},dragOverCompleted:function(e){var n=e.originalEvent;!this.options.dragOverBubble&&!n.rootEl&&this._handleAutoScroll(n)},drop:function(){this.sortable.nativeDraggable?_(document,"dragover",this._handleAutoScroll):(_(document,"pointermove",this._handleFallbackAutoScroll),_(document,"touchmove",this._handleFallbackAutoScroll),_(document,"mousemove",this._handleFallbackAutoScroll)),hr(),ni(),xs()},nulling:function(){ii=Qi=Le=tn=Me=en=nn=null,G.length=0},_handleFallbackAutoScroll:function(e){this._handleAutoScroll(e,!0)},_handleAutoScroll:function(e,n){var r=this,o=(e.touches?e.touches[0]:e).clientX,s=(e.touches?e.touches[0]:e).clientY,a=document.elementFromPoint(o,s);if(ii=e,n||this.options.forceAutoScrollFallback||Ae||Lt||_e){rn(e,this.options,a,n);var l=Bt(a,!0);tn&&(!Me||o!==en||s!==nn)&&(Me&&hr(),Me=setInterval(function(){var d=Bt(document.elementFromPoint(o,s),!0);d!==l&&(l=d,ni()),rn(e,r.options,d,n)},10),en=o,nn=s)}else{if(!this.options.bubbleScroll||Bt(a,!0)===Ct()){ni();return}rn(e,this.options,Bt(a,!1),!1)}}},Ot(i,{pluginName:"scroll",initializeByDefault:!0})}function ni(){G.forEach(function(i){clearInterval(i.pid)}),G=[]}function hr(){clearInterval(Me)}var rn=tr(function(i,t,e,n){if(t.scroll){var r=(i.touches?i.touches[0]:i).clientX,o=(i.touches?i.touches[0]:i).clientY,s=t.scrollSensitivity,a=t.scrollSpeed,l=Ct(),d=!1,c;Qi!==e&&(Qi=e,ni(),Le=t.scroll,c=t.scrollFn,Le===!0&&(Le=Bt(e,!0)));var u=0,p=Le;do{var f=p,g=Y(f),b=g.top,V=g.bottom,et=g.left,Z=g.right,ct=g.width,it=g.height,E=void 0,m=void 0,C=f.scrollWidth,H=f.scrollHeight,M=w(f),J=f.scrollLeft,K=f.scrollTop;f===l?(E=ct<C&&(M.overflowX==="auto"||M.overflowX==="scroll"||M.overflowX==="visible"),m=it<H&&(M.overflowY==="auto"||M.overflowY==="scroll"||M.overflowY==="visible")):(E=ct<C&&(M.overflowX==="auto"||M.overflowX==="scroll"),m=it<H&&(M.overflowY==="auto"||M.overflowY==="scroll"));var B=E&&(Math.abs(Z-r)<=s&&J+ct<C)-(Math.abs(et-r)<=s&&!!J),I=m&&(Math.abs(V-o)<=s&&K+it<H)-(Math.abs(b-o)<=s&&!!K);if(!G[u])for(var W=0;W<=u;W++)G[W]||(G[W]={});(G[u].vx!=B||G[u].vy!=I||G[u].el!==f)&&(G[u].el=f,G[u].vx=B,G[u].vy=I,clearInterval(G[u].pid),(B!=0||I!=0)&&(d=!0,G[u].pid=setInterval((function(){n&&this.layer===0&&x.active._onTouchMove(ii);var gt=G[this.layer].vy?G[this.layer].vy*a:0,at=G[this.layer].vx?G[this.layer].vx*a:0;typeof c=="function"&&c.call(x.dragged.parentNode[pt],at,gt,i,ii,G[this.layer].el)!=="continue"||er(G[this.layer].el,at,gt)}).bind({layer:u}),24))),u++}while(t.bubbleScroll&&p!==l&&(p=Bt(p,!1)));tn=d}},30),pr=function(t){var e=t.originalEvent,n=t.putSortable,r=t.dragEl,o=t.activeSortable,s=t.dispatchSortableEvent,a=t.hideGhostForTarget,l=t.unhideGhostForTarget;if(e){var d=n||o;a();var c=e.changedTouches&&e.changedTouches.length?e.changedTouches[0]:e,u=document.elementFromPoint(c.clientX,c.clientY);l(),d&&!d.el.contains(u)&&(s("spill"),this.onSpill({dragEl:r,putSortable:n}))}};function on(){}on.prototype={startIndex:null,dragStart:function(t){var e=t.oldDraggableIndex;this.startIndex=e},onSpill:function(t){var e=t.dragEl,n=t.putSortable;this.sortable.captureAnimationState(),n&&n.captureAnimationState();var r=ue(this.sortable.el,this.startIndex,this.options);r?this.sortable.el.insertBefore(e,r):this.sortable.el.appendChild(e),this.sortable.animateAll(),n&&n.animateAll()},drop:pr},Ot(on,{pluginName:"revertOnSpill"});function sn(){}sn.prototype={onSpill:function(t){var e=t.dragEl,n=t.putSortable,r=n||this.sortable;r.captureAnimationState(),e.parentNode&&e.parentNode.removeChild(e),r.animateAll()},drop:pr},Ot(sn,{pluginName:"removeOnSpill"}),x.mount(new ks),x.mount(sn,on);const Bs=i=>{const t=i.item;let e=Array.prototype.slice.call(t.parentNode.childNodes);return e=e.filter(n=>n.nodeType!=Node.ELEMENT_NODE||!n.classList.contains("sortable-fallback")),e},Us=(i,t,e,n,r,o)=>{const a=i.item.parentNode;for(const b of e)a.appendChild(b);if(i.oldIndex==i.newIndex)return;const l=n.getArray(),d=i.item.querySelector("eox-layercontrol-layer").layer.get(r),c=l.find(b=>b.get(r)===d),u=o.dataset.layer,p=l.find(b=>b.get(r)==u);let f,g;for(f=0;f<l.length;f++)if(l[f]==c){n.removeAt(f);break}for(g=0;g<l.length;g++)if(l[g]===p){f>g?n.insertAt(g,c):n.insertAt(g+1,c);break}t.requestUpdate()};function Fs(i,t,e,n){let r=[],o=null;i._sortable=x.create(i,{handle:".drag-handle",filter:".drag-handle.disabled",swapThreshold:.5,animation:150,easing:"cubic-bezier(1, 0, 0, 1)",onStart:s=>r=Bs(s),onMove:s=>{o=s.related},onEnd:s=>Us(s,n,r,t,e,o)})}function js(i,t,e,n){const r=i.getArray();let o=!1;r.forEach(s=>{const a=s.ol_uid;s.get(t)||(s.set(t,a),o=!0),s.get(e)||(s.set(e,`layer ${a}`),o=!0),o&&n.requestUpdate()})}function an(i,t,e){let n=[];const r=(o,s,a)=>{n=[...n,...o.filter(d=>d.get(s)===a)];const l=o.filter(d=>d.getLayers);return l.length>0&&l.forEach(d=>r(d.getLayers().getArray(),s,a)),n};return r(i,t,e),n}function zs(i,t,e){if(!i||!t)return!1;if(!fr(i,e))return!0;const n=i.get("minZoom"),r=i.get("maxZoom"),o=t.getView().getZoom();return o>n&&o<r}function fr(i,t){const e=i.get("minZoom"),n=i.get("maxZoom");return!!(t&&(e!==-1/0||n!==1/0))}function Zs(i,t){var r,o,s;return!i||!t?void 0:i.getLayers?"group":((s=(r=t.getInteractions().getArray().filter(a=>a.freehand_!==void 0).map(a=>a.source_))==null?void 0:r.ol_uid)==null?void 0:s.includes(i.getSource?(o=i.getSource())==null?void 0:o.ol_uid:void 0))?"draw":i.declutter_!==void 0?"vector":"raster"}const qs=(i,t,e)=>{let n=t;return e.layer.getSource().getTileUrlFunction()&&(n||(n=e.layer.getSource().getTileUrlFunction()),e.layer.getSource().setTileUrlFunction((...r)=>fs(n(...r),i)),e.layer.getSource().setKey(new Date)),n};function Xs(i,t,e){const n="updateStyleVariables"in t,r="setStyle"in t,o=n?t.style_:e.style;let s=o==null?void 0:o.variables;if(s){const a=ln(i);if(o.variables={...s,...a},n)t.updateStyleVariables(a);else if(r){const l=Ws(o);t.setStyle(l)}}}const ln=i=>{const t={};for(const e in i)if(typeof i[e]=="object"&&i[e]!==null){const n=ln(i[e]);for(const r in n)t[r]=n==null?void 0:n[r]}else t[e]=i==null?void 0:i[e];return t};function Ws(i){let t=i;if("variables"in i){let e=JSON.stringify(i);const{variables:n}=i;for(const r in n)typeof n[r]=="number"?e=e.replaceAll(`["var","${r}"]`,n[r]):e=e.replaceAll(`["var","${r}"]`,`"${n[r]}"`);t=JSON.parse(e)}return t}const Ys=(i,t)=>{if(!i)return;const e=ln(t);let n,r;return Array.isArray(i)?r=structuredClone(i):r=[structuredClone(i)],n=r.filter(o=>{if(!("boundTo"in o))return!0;const s=o.boundTo.key,a=o.boundTo.value;return!(s in e)||e[s]==a}),n.length||(n=r),n.map(o=>{var s;return delete o.boundTo,!("domainProperties"in o)||"domain"in o?o:(s=Object.keys(o))==null?void 0:s.reduce((a,l)=>(l==="domainProperties"?a.domain=o[l].map(d=>e[d]):a[l]=o[l],a),{})})};function gr(i,t){var n;let e={};for(const r in i){const o=i[r].type;if(o&&o!=="object")e[r]=o==="number"?Number(t[r]):t[r];else if(typeof i[r]=="object"&&((n=i[r])!=null&&n.properties)){const s=gr(i[r].properties,t);Object.keys(s).length>0&&(e[r]=s)}}return e}function Gs(i,t){var o,s,a,l,d;if(!t)return null;let e={},n="updateStyleVariables"in i?(o=i.style_)==null?void 0:o.variables:(s=t.style)==null?void 0:s.variables;if((t.type==="style"||t.style)&&n)e=n;else if((l=(a=i.getSource())==null?void 0:a.getTileUrlFunction)!=null&&l.call(a)){const c=new URL(i.getSource().getTileUrlFunction()([0,0,0]));e=Object.fromEntries(c.searchParams.entries())}else return null;const r=gr(((d=t.schema)==null?void 0:d.properties)||t.schema,e);return Object.keys(r).length?r:null}const Js=(i,t)=>i==null?void 0:i.filter(e=>["remove","sort"].filter(n=>t!=null&&t.get("layerControlDisable")?n!=="sort":!0).includes(e)),Ks=(i,t)=>i==null?void 0:i.filter(e=>{let n=!0;return["remove","sort"].includes(e)&&(n=!1),e==="info"&&(n=t.get("description")),e==="config"&&(n=t.get("layerConfig")),e==="datetime"&&(n=t.get("layerDatetime")),e==="legend"&&(n=t.get("layerLegend")),n}),Qs=(i,t)=>v`
|
|
46
|
-
<button slot="${i}-icon" class="icon">${t?i:D}</button>
|
|
47
|
-
`,ta=i=>v`
|
|
45
|
+
*/function Fi(r,e){var t=Object.keys(r);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(r);e&&(i=i.filter(function(o){return Object.getOwnPropertyDescriptor(r,o).enumerable})),t.push.apply(t,i)}return t}function ze(r){for(var e=1;e<arguments.length;e++){var t=arguments[e]!=null?arguments[e]:{};e%2?Fi(Object(t),!0).forEach(function(i){xa(r,i,t[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(t)):Fi(Object(t)).forEach(function(i){Object.defineProperty(r,i,Object.getOwnPropertyDescriptor(t,i))})}return r}function qt(r){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?qt=function(e){return typeof e}:qt=function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},qt(r)}function xa(r,e,t){return e in r?Object.defineProperty(r,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):r[e]=t,r}function Le(){return Le=Object.assign||function(r){for(var e=1;e<arguments.length;e++){var t=arguments[e];for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(r[i]=t[i])}return r},Le.apply(this,arguments)}function ka(r,e){if(r==null)return{};var t={},i=Object.keys(r),o,n;for(n=0;n<i.length;n++)o=i[n],!(e.indexOf(o)>=0)&&(t[o]=r[o]);return t}function wa(r,e){if(r==null)return{};var t=ka(r,e),i,o;if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(r);for(o=0;o<n.length;o++)i=n[o],!(e.indexOf(i)>=0)&&Object.prototype.propertyIsEnumerable.call(r,i)&&(t[i]=r[i])}return t}var _a="1.15.6";function De(r){if(typeof window<"u"&&window.navigator)return!!navigator.userAgent.match(r)}var Pe=De(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i),St=De(/Edge/i),Xi=De(/firefox/i),zt=De(/safari/i)&&!De(/chrome/i)&&!De(/android/i),Fr=De(/iP(ad|od|hone)/i),Zi=De(/chrome/i)&&De(/android/i),Yi={capture:!1,passive:!1};function E(r,e,t){r.addEventListener(e,t,!Pe&&Yi)}function z(r,e,t){r.removeEventListener(e,t,!Pe&&Yi)}function Ft(r,e){if(e){if(e[0]===">"&&(e=e.substring(1)),r)try{if(r.matches)return r.matches(e);if(r.msMatchesSelector)return r.msMatchesSelector(e);if(r.webkitMatchesSelector)return r.webkitMatchesSelector(e)}catch{return!1}return!1}}function Wi(r){return r.host&&r!==document&&r.host.nodeType?r.host:r.parentNode}function $e(r,e,t,i){if(r){t=t||document;do{if(e!=null&&(e[0]===">"?r.parentNode===t&&Ft(r,e):Ft(r,e))||i&&r===t)return r;if(r===t)break}while(r=Wi(r))}return null}var Gi=/\s+/g;function ve(r,e,t){if(r&&e)if(r.classList)r.classList[t?"add":"remove"](e);else{var i=(" "+r.className+" ").replace(Gi," ").replace(" "+e+" "," ");r.className=(i+(t?" "+e:"")).replace(Gi," ")}}function x(r,e,t){var i=r&&r.style;if(i){if(t===void 0)return document.defaultView&&document.defaultView.getComputedStyle?t=document.defaultView.getComputedStyle(r,""):r.currentStyle&&(t=r.currentStyle),e===void 0?t:t[e];!(e in i)&&e.indexOf("webkit")===-1&&(e="-webkit-"+e),i[e]=t+(typeof t=="string"?"":"px")}}function ct(r,e){var t="";if(typeof r=="string")t=r;else do{var i=x(r,"transform");i&&i!=="none"&&(t=i+" "+t)}while(!e&&(r=r.parentNode));var o=window.DOMMatrix||window.WebKitCSSMatrix||window.CSSMatrix||window.MSCSSMatrix;return o&&new o(t)}function Ji(r,e,t){if(r){var i=r.getElementsByTagName(e),o=0,n=i.length;if(t)for(;o<n;o++)t(i[o],o);return i}return[]}function Ae(){var r=document.scrollingElement;return r||document.documentElement}function G(r,e,t,i,o){if(!(!r.getBoundingClientRect&&r!==window)){var n,a,l,s,c,u,d;if(r!==window&&r.parentNode&&r!==Ae()?(n=r.getBoundingClientRect(),a=n.top,l=n.left,s=n.bottom,c=n.right,u=n.height,d=n.width):(a=0,l=0,s=window.innerHeight,c=window.innerWidth,u=window.innerHeight,d=window.innerWidth),(e||t)&&r!==window&&(o=o||r.parentNode,!Pe))do if(o&&o.getBoundingClientRect&&(x(o,"transform")!=="none"||t&&x(o,"position")!=="static")){var m=o.getBoundingClientRect();a-=m.top+parseInt(x(o,"border-top-width")),l-=m.left+parseInt(x(o,"border-left-width")),s=a+n.height,c=l+n.width;break}while(o=o.parentNode);if(i&&r!==window){var h=ct(o||r),f=h&&h.a,v=h&&h.d;h&&(a/=v,l/=f,d/=f,u/=v,s=a+u,c=l+d)}return{top:a,left:l,bottom:s,right:c,width:d,height:u}}}function Ki(r,e,t){for(var i=Ne(r,!0),o=G(r)[e];i;){var n=G(i)[t],a=void 0;if(a=o>=n,!a)return i;if(i===Ae())break;i=Ne(i,!1)}return!1}function dt(r,e,t,i){for(var o=0,n=0,a=r.children;n<a.length;){if(a[n].style.display!=="none"&&a[n]!==k.ghost&&(i||a[n]!==k.dragged)&&$e(a[n],t.draggable,r,!1)){if(o===e)return a[n];o++}n++}return null}function Xr(r,e){for(var t=r.lastElementChild;t&&(t===k.ghost||x(t,"display")==="none"||e&&!Ft(t,e));)t=t.previousElementSibling;return t||null}function we(r,e){var t=0;if(!r||!r.parentNode)return-1;for(;r=r.previousElementSibling;)r.nodeName.toUpperCase()!=="TEMPLATE"&&r!==k.clone&&(!e||Ft(r,e))&&t++;return t}function Qi(r){var e=0,t=0,i=Ae();if(r)do{var o=ct(r),n=o.a,a=o.d;e+=r.scrollLeft*n,t+=r.scrollTop*a}while(r!==i&&(r=r.parentNode));return[e,t]}function $a(r,e){for(var t in r)if(r.hasOwnProperty(t)){for(var i in e)if(e.hasOwnProperty(i)&&e[i]===r[t][i])return Number(t)}return-1}function Ne(r,e){if(!r||!r.getBoundingClientRect)return Ae();var t=r,i=!1;do if(t.clientWidth<t.scrollWidth||t.clientHeight<t.scrollHeight){var o=x(t);if(t.clientWidth<t.scrollWidth&&(o.overflowX=="auto"||o.overflowX=="scroll")||t.clientHeight<t.scrollHeight&&(o.overflowY=="auto"||o.overflowY=="scroll")){if(!t.getBoundingClientRect||t===document.body)return Ae();if(i||e)return t;i=!0}}while(t=t.parentNode);return Ae()}function Sa(r,e){if(r&&e)for(var t in e)e.hasOwnProperty(t)&&(r[t]=e[t]);return r}function Zr(r,e){return Math.round(r.top)===Math.round(e.top)&&Math.round(r.left)===Math.round(e.left)&&Math.round(r.height)===Math.round(e.height)&&Math.round(r.width)===Math.round(e.width)}var At;function eo(r,e){return function(){if(!At){var t=arguments,i=this;t.length===1?r.call(i,t[0]):r.apply(i,t),At=setTimeout(function(){At=void 0},e)}}}function za(){clearTimeout(At),At=void 0}function to(r,e,t){r.scrollLeft+=e,r.scrollTop+=t}function ro(r){var e=window.Polymer,t=window.jQuery||window.Zepto;return e&&e.dom?e.dom(r).cloneNode(!0):t?t(r).clone(!0)[0]:r.cloneNode(!0)}function io(r,e,t){var i={};return Array.from(r.children).forEach(function(o){var n,a,l,s;if(!(!$e(o,e.draggable,r,!1)||o.animated||o===t)){var c=G(o);i.left=Math.min((n=i.left)!==null&&n!==void 0?n:1/0,c.left),i.top=Math.min((a=i.top)!==null&&a!==void 0?a:1/0,c.top),i.right=Math.max((l=i.right)!==null&&l!==void 0?l:-1/0,c.right),i.bottom=Math.max((s=i.bottom)!==null&&s!==void 0?s:-1/0,c.bottom)}}),i.width=i.right-i.left,i.height=i.bottom-i.top,i.x=i.left,i.y=i.top,i}var me="Sortable"+new Date().getTime();function Aa(){var r=[],e;return{captureAnimationState:function(){if(r=[],!!this.options.animation){var i=[].slice.call(this.el.children);i.forEach(function(o){if(!(x(o,"display")==="none"||o===k.ghost)){r.push({target:o,rect:G(o)});var n=ze({},r[r.length-1].rect);if(o.thisAnimationDuration){var a=ct(o,!0);a&&(n.top-=a.f,n.left-=a.e)}o.fromRect=n}})}},addAnimationState:function(i){r.push(i)},removeAnimationState:function(i){r.splice($a(r,{target:i}),1)},animateAll:function(i){var o=this;if(!this.options.animation){clearTimeout(e),typeof i=="function"&&i();return}var n=!1,a=0;r.forEach(function(l){var s=0,c=l.target,u=c.fromRect,d=G(c),m=c.prevFromRect,h=c.prevToRect,f=l.rect,v=ct(c,!0);v&&(d.top-=v.f,d.left-=v.e),c.toRect=d,c.thisAnimationDuration&&Zr(m,d)&&!Zr(u,d)&&(f.top-d.top)/(f.left-d.left)===(u.top-d.top)/(u.left-d.left)&&(s=Ca(f,m,h,o.options)),Zr(d,u)||(c.prevFromRect=u,c.prevToRect=d,s||(s=o.options.animation),o.animate(c,f,d,s)),s&&(n=!0,a=Math.max(a,s),clearTimeout(c.animationResetTimer),c.animationResetTimer=setTimeout(function(){c.animationTime=0,c.prevFromRect=null,c.fromRect=null,c.prevToRect=null,c.thisAnimationDuration=null},s),c.thisAnimationDuration=s)}),clearTimeout(e),n?e=setTimeout(function(){typeof i=="function"&&i()},a):typeof i=="function"&&i(),r=[]},animate:function(i,o,n,a){if(a){x(i,"transition",""),x(i,"transform","");var l=ct(this.el),s=l&&l.a,c=l&&l.d,u=(o.left-n.left)/(s||1),d=(o.top-n.top)/(c||1);i.animatingX=!!u,i.animatingY=!!d,x(i,"transform","translate3d("+u+"px,"+d+"px,0)"),this.forRepaintDummy=Ea(i),x(i,"transition","transform "+a+"ms"+(this.options.easing?" "+this.options.easing:"")),x(i,"transform","translate3d(0,0,0)"),typeof i.animated=="number"&&clearTimeout(i.animated),i.animated=setTimeout(function(){x(i,"transition",""),x(i,"transform",""),i.animated=!1,i.animatingX=!1,i.animatingY=!1},a)}}}}function Ea(r){return r.offsetWidth}function Ca(r,e,t,i){return Math.sqrt(Math.pow(e.top-r.top,2)+Math.pow(e.left-r.left,2))/Math.sqrt(Math.pow(e.top-t.top,2)+Math.pow(e.left-t.left,2))*i.animation}var ut=[],Yr={initializeByDefault:!0},Et={mount:function(e){for(var t in Yr)Yr.hasOwnProperty(t)&&!(t in e)&&(e[t]=Yr[t]);ut.forEach(function(i){if(i.pluginName===e.pluginName)throw"Sortable: Cannot mount plugin ".concat(e.pluginName," more than once")}),ut.push(e)},pluginEvent:function(e,t,i){var o=this;this.eventCanceled=!1,i.cancel=function(){o.eventCanceled=!0};var n=e+"Global";ut.forEach(function(a){t[a.pluginName]&&(t[a.pluginName][n]&&t[a.pluginName][n](ze({sortable:t},i)),t.options[a.pluginName]&&t[a.pluginName][e]&&t[a.pluginName][e](ze({sortable:t},i)))})},initializePlugins:function(e,t,i,o){ut.forEach(function(l){var s=l.pluginName;if(!(!e.options[s]&&!l.initializeByDefault)){var c=new l(e,t,e.options);c.sortable=e,c.options=e.options,e[s]=c,Le(i,c.defaults)}});for(var n in e.options)if(e.options.hasOwnProperty(n)){var a=this.modifyOption(e,n,e.options[n]);typeof a<"u"&&(e.options[n]=a)}},getEventProperties:function(e,t){var i={};return ut.forEach(function(o){typeof o.eventProperties=="function"&&Le(i,o.eventProperties.call(t[o.pluginName],e))}),i},modifyOption:function(e,t,i){var o;return ut.forEach(function(n){e[n.pluginName]&&n.optionListeners&&typeof n.optionListeners[t]=="function"&&(o=n.optionListeners[t].call(e[n.pluginName],i))}),o}};function Ta(r){var e=r.sortable,t=r.rootEl,i=r.name,o=r.targetEl,n=r.cloneEl,a=r.toEl,l=r.fromEl,s=r.oldIndex,c=r.newIndex,u=r.oldDraggableIndex,d=r.newDraggableIndex,m=r.originalEvent,h=r.putSortable,f=r.extraEventProperties;if(e=e||t&&t[me],!!e){var v,V=e.options,te="on"+i.charAt(0).toUpperCase()+i.substr(1);window.CustomEvent&&!Pe&&!St?v=new CustomEvent(i,{bubbles:!0,cancelable:!0}):(v=document.createEvent("Event"),v.initEvent(i,!0,!0)),v.to=a||t,v.from=l||t,v.item=o||t,v.clone=n,v.oldIndex=s,v.newIndex=c,v.oldDraggableIndex=u,v.newDraggableIndex=d,v.originalEvent=m,v.pullMode=h?h.lastPutMode:void 0;var X=ze(ze({},f),Et.getEventProperties(i,e));for(var ue in X)v[ue]=X[ue];t&&t.dispatchEvent(v),V[te]&&V[te].call(e,v)}}var La=["evt"],he=function(e,t){var i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},o=i.evt,n=wa(i,La);Et.pluginEvent.bind(k)(e,t,ze({dragEl:p,parentEl:F,ghostEl:w,rootEl:N,nextEl:Ke,lastDownEl:Xt,cloneEl:U,cloneHidden:Be,dragStarted:Tt,putSortable:ne,activeSortable:k.active,originalEvent:o,oldIndex:pt,oldDraggableIndex:Ct,newIndex:ye,newDraggableIndex:Ue,hideGhostForTarget:uo,unhideGhostForTarget:po,cloneNowHidden:function(){Be=!0},cloneNowShown:function(){Be=!1},dispatchSortableEvent:function(l){de({sortable:t,name:l,originalEvent:o})}},n))};function de(r){Ta(ze({putSortable:ne,cloneEl:U,targetEl:p,rootEl:N,oldIndex:pt,oldDraggableIndex:Ct,newIndex:ye,newDraggableIndex:Ue},r))}var p,F,w,N,Ke,Xt,U,Be,pt,ye,Ct,Ue,Zt,ne,mt=!1,Yt=!1,Wt=[],Qe,Se,Wr,Gr,oo,no,Tt,ht,Lt,Dt=!1,Gt=!1,Jt,se,Jr=[],Kr=!1,Kt=[],Qt=typeof document<"u",er=Fr,ao=St||Pe?"cssFloat":"float",Da=Qt&&!Zi&&!Fr&&"draggable"in document.createElement("div"),lo=function(){if(Qt){if(Pe)return!1;var r=document.createElement("x");return r.style.cssText="pointer-events:auto",r.style.pointerEvents==="auto"}}(),so=function(e,t){var i=x(e),o=parseInt(i.width)-parseInt(i.paddingLeft)-parseInt(i.paddingRight)-parseInt(i.borderLeftWidth)-parseInt(i.borderRightWidth),n=dt(e,0,t),a=dt(e,1,t),l=n&&x(n),s=a&&x(a),c=l&&parseInt(l.marginLeft)+parseInt(l.marginRight)+G(n).width,u=s&&parseInt(s.marginLeft)+parseInt(s.marginRight)+G(a).width;if(i.display==="flex")return i.flexDirection==="column"||i.flexDirection==="column-reverse"?"vertical":"horizontal";if(i.display==="grid")return i.gridTemplateColumns.split(" ").length<=1?"vertical":"horizontal";if(n&&l.float&&l.float!=="none"){var d=l.float==="left"?"left":"right";return a&&(s.clear==="both"||s.clear===d)?"vertical":"horizontal"}return n&&(l.display==="block"||l.display==="flex"||l.display==="table"||l.display==="grid"||c>=o&&i[ao]==="none"||a&&i[ao]==="none"&&c+u>o)?"vertical":"horizontal"},Pa=function(e,t,i){var o=i?e.left:e.top,n=i?e.right:e.bottom,a=i?e.width:e.height,l=i?t.left:t.top,s=i?t.right:t.bottom,c=i?t.width:t.height;return o===l||n===s||o+a/2===l+c/2},Oa=function(e,t){var i;return Wt.some(function(o){var n=o[me].options.emptyInsertThreshold;if(!(!n||Xr(o))){var a=G(o),l=e>=a.left-n&&e<=a.right+n,s=t>=a.top-n&&t<=a.bottom+n;if(l&&s)return i=o}}),i},co=function(e){function t(n,a){return function(l,s,c,u){var d=l.options.group.name&&s.options.group.name&&l.options.group.name===s.options.group.name;if(n==null&&(a||d))return!0;if(n==null||n===!1)return!1;if(a&&n==="clone")return n;if(typeof n=="function")return t(n(l,s,c,u),a)(l,s,c,u);var m=(a?l:s).options.group.name;return n===!0||typeof n=="string"&&n===m||n.join&&n.indexOf(m)>-1}}var i={},o=e.group;(!o||qt(o)!="object")&&(o={name:o}),i.name=o.name,i.checkPull=t(o.pull,!0),i.checkPut=t(o.put),i.revertClone=o.revertClone,e.group=i},uo=function(){!lo&&w&&x(w,"display","none")},po=function(){!lo&&w&&x(w,"display","")};Qt&&!Zi&&document.addEventListener("click",function(r){if(Yt)return r.preventDefault(),r.stopPropagation&&r.stopPropagation(),r.stopImmediatePropagation&&r.stopImmediatePropagation(),Yt=!1,!1},!0);var et=function(e){if(p){e=e.touches?e.touches[0]:e;var t=Oa(e.clientX,e.clientY);if(t){var i={};for(var o in e)e.hasOwnProperty(o)&&(i[o]=e[o]);i.target=i.rootEl=t,i.preventDefault=void 0,i.stopPropagation=void 0,t[me]._onDragOver(i)}}},Ra=function(e){p&&p.parentNode[me]._isOutsideThisEl(e.target)};function k(r,e){if(!(r&&r.nodeType&&r.nodeType===1))throw"Sortable: `el` must be an HTMLElement, not ".concat({}.toString.call(r));this.el=r,this.options=e=Le({},e),r[me]=this;var t={group:null,sort:!0,disabled:!1,store:null,handle:null,draggable:/^[uo]l$/i.test(r.nodeName)?">li":">*",swapThreshold:1,invertSwap:!1,invertedSwapThreshold:null,removeCloneOnHide:!0,direction:function(){return so(r,this.options)},ghostClass:"sortable-ghost",chosenClass:"sortable-chosen",dragClass:"sortable-drag",ignore:"a, img",filter:null,preventOnFilter:!0,animation:0,easing:null,setData:function(a,l){a.setData("Text",l.textContent)},dropBubble:!1,dragoverBubble:!1,dataIdAttr:"data-id",delay:0,delayOnTouchOnly:!1,touchStartThreshold:(Number.parseInt?Number:window).parseInt(window.devicePixelRatio,10)||1,forceFallback:!1,fallbackClass:"sortable-fallback",fallbackOnBody:!1,fallbackTolerance:0,fallbackOffset:{x:0,y:0},supportPointer:k.supportPointer!==!1&&"PointerEvent"in window&&(!zt||Fr),emptyInsertThreshold:5};Et.initializePlugins(this,r,t);for(var i in t)!(i in e)&&(e[i]=t[i]);co(e);for(var o in this)o.charAt(0)==="_"&&typeof this[o]=="function"&&(this[o]=this[o].bind(this));this.nativeDraggable=e.forceFallback?!1:Da,this.nativeDraggable&&(this.options.touchStartThreshold=1),e.supportPointer?E(r,"pointerdown",this._onTapStart):(E(r,"mousedown",this._onTapStart),E(r,"touchstart",this._onTapStart)),this.nativeDraggable&&(E(r,"dragover",this),E(r,"dragenter",this)),Wt.push(this.el),e.store&&e.store.get&&this.sort(e.store.get(this)||[]),Le(this,Aa())}k.prototype={constructor:k,_isOutsideThisEl:function(e){!this.el.contains(e)&&e!==this.el&&(ht=null)},_getDirection:function(e,t){return typeof this.options.direction=="function"?this.options.direction.call(this,e,t,p):this.options.direction},_onTapStart:function(e){if(e.cancelable){var t=this,i=this.el,o=this.options,n=o.preventOnFilter,a=e.type,l=e.touches&&e.touches[0]||e.pointerType&&e.pointerType==="touch"&&e,s=(l||e).target,c=e.target.shadowRoot&&(e.path&&e.path[0]||e.composedPath&&e.composedPath()[0])||s,u=o.filter;if(ja(i),!p&&!(/mousedown|pointerdown/.test(a)&&e.button!==0||o.disabled)&&!c.isContentEditable&&!(!this.nativeDraggable&&zt&&s&&s.tagName.toUpperCase()==="SELECT")&&(s=$e(s,o.draggable,i,!1),!(s&&s.animated)&&Xt!==s)){if(pt=we(s),Ct=we(s,o.draggable),typeof u=="function"){if(u.call(this,e,s,this)){de({sortable:t,rootEl:c,name:"filter",targetEl:s,toEl:i,fromEl:i}),he("filter",t,{evt:e}),n&&e.preventDefault();return}}else if(u&&(u=u.split(",").some(function(d){if(d=$e(c,d.trim(),i,!1),d)return de({sortable:t,rootEl:d,name:"filter",targetEl:s,fromEl:i,toEl:i}),he("filter",t,{evt:e}),!0}),u)){n&&e.preventDefault();return}o.handle&&!$e(c,o.handle,i,!1)||this._prepareDragStart(e,l,s)}}},_prepareDragStart:function(e,t,i){var o=this,n=o.el,a=o.options,l=n.ownerDocument,s;if(i&&!p&&i.parentNode===n){var c=G(i);if(N=n,p=i,F=p.parentNode,Ke=p.nextSibling,Xt=i,Zt=a.group,k.dragged=p,Qe={target:p,clientX:(t||e).clientX,clientY:(t||e).clientY},oo=Qe.clientX-c.left,no=Qe.clientY-c.top,this._lastX=(t||e).clientX,this._lastY=(t||e).clientY,p.style["will-change"]="all",s=function(){if(he("delayEnded",o,{evt:e}),k.eventCanceled){o._onDrop();return}o._disableDelayedDragEvents(),!Xi&&o.nativeDraggable&&(p.draggable=!0),o._triggerDragStart(e,t),de({sortable:o,name:"choose",originalEvent:e}),ve(p,a.chosenClass,!0)},a.ignore.split(",").forEach(function(u){Ji(p,u.trim(),Qr)}),E(l,"dragover",et),E(l,"mousemove",et),E(l,"touchmove",et),a.supportPointer?(E(l,"pointerup",o._onDrop),!this.nativeDraggable&&E(l,"pointercancel",o._onDrop)):(E(l,"mouseup",o._onDrop),E(l,"touchend",o._onDrop),E(l,"touchcancel",o._onDrop)),Xi&&this.nativeDraggable&&(this.options.touchStartThreshold=4,p.draggable=!0),he("delayStart",this,{evt:e}),a.delay&&(!a.delayOnTouchOnly||t)&&(!this.nativeDraggable||!(St||Pe))){if(k.eventCanceled){this._onDrop();return}a.supportPointer?(E(l,"pointerup",o._disableDelayedDrag),E(l,"pointercancel",o._disableDelayedDrag)):(E(l,"mouseup",o._disableDelayedDrag),E(l,"touchend",o._disableDelayedDrag),E(l,"touchcancel",o._disableDelayedDrag)),E(l,"mousemove",o._delayedDragTouchMoveHandler),E(l,"touchmove",o._delayedDragTouchMoveHandler),a.supportPointer&&E(l,"pointermove",o._delayedDragTouchMoveHandler),o._dragStartTimer=setTimeout(s,a.delay)}else s()}},_delayedDragTouchMoveHandler:function(e){var t=e.touches?e.touches[0]:e;Math.max(Math.abs(t.clientX-this._lastX),Math.abs(t.clientY-this._lastY))>=Math.floor(this.options.touchStartThreshold/(this.nativeDraggable&&window.devicePixelRatio||1))&&this._disableDelayedDrag()},_disableDelayedDrag:function(){p&&Qr(p),clearTimeout(this._dragStartTimer),this._disableDelayedDragEvents()},_disableDelayedDragEvents:function(){var e=this.el.ownerDocument;z(e,"mouseup",this._disableDelayedDrag),z(e,"touchend",this._disableDelayedDrag),z(e,"touchcancel",this._disableDelayedDrag),z(e,"pointerup",this._disableDelayedDrag),z(e,"pointercancel",this._disableDelayedDrag),z(e,"mousemove",this._delayedDragTouchMoveHandler),z(e,"touchmove",this._delayedDragTouchMoveHandler),z(e,"pointermove",this._delayedDragTouchMoveHandler)},_triggerDragStart:function(e,t){t=t||e.pointerType=="touch"&&e,!this.nativeDraggable||t?this.options.supportPointer?E(document,"pointermove",this._onTouchMove):t?E(document,"touchmove",this._onTouchMove):E(document,"mousemove",this._onTouchMove):(E(p,"dragend",this),E(N,"dragstart",this._onDragStart));try{document.selection?rr(function(){document.selection.empty()}):window.getSelection().removeAllRanges()}catch{}},_dragStarted:function(e,t){if(mt=!1,N&&p){he("dragStarted",this,{evt:t}),this.nativeDraggable&&E(document,"dragover",Ra);var i=this.options;!e&&ve(p,i.dragClass,!1),ve(p,i.ghostClass,!0),k.active=this,e&&this._appendGhost(),de({sortable:this,name:"start",originalEvent:t})}else this._nulling()},_emulateDragOver:function(){if(Se){this._lastX=Se.clientX,this._lastY=Se.clientY,uo();for(var e=document.elementFromPoint(Se.clientX,Se.clientY),t=e;e&&e.shadowRoot&&(e=e.shadowRoot.elementFromPoint(Se.clientX,Se.clientY),e!==t);)t=e;if(p.parentNode[me]._isOutsideThisEl(e),t)do{if(t[me]){var i=void 0;if(i=t[me]._onDragOver({clientX:Se.clientX,clientY:Se.clientY,target:e,rootEl:t}),i&&!this.options.dragoverBubble)break}e=t}while(t=Wi(t));po()}},_onTouchMove:function(e){if(Qe){var t=this.options,i=t.fallbackTolerance,o=t.fallbackOffset,n=e.touches?e.touches[0]:e,a=w&&ct(w,!0),l=w&&a&&a.a,s=w&&a&&a.d,c=er&&se&&Qi(se),u=(n.clientX-Qe.clientX+o.x)/(l||1)+(c?c[0]-Jr[0]:0)/(l||1),d=(n.clientY-Qe.clientY+o.y)/(s||1)+(c?c[1]-Jr[1]:0)/(s||1);if(!k.active&&!mt){if(i&&Math.max(Math.abs(n.clientX-this._lastX),Math.abs(n.clientY-this._lastY))<i)return;this._onDragStart(e,!0)}if(w){a?(a.e+=u-(Wr||0),a.f+=d-(Gr||0)):a={a:1,b:0,c:0,d:1,e:u,f:d};var m="matrix(".concat(a.a,",").concat(a.b,",").concat(a.c,",").concat(a.d,",").concat(a.e,",").concat(a.f,")");x(w,"webkitTransform",m),x(w,"mozTransform",m),x(w,"msTransform",m),x(w,"transform",m),Wr=u,Gr=d,Se=n}e.cancelable&&e.preventDefault()}},_appendGhost:function(){if(!w){var e=this.options.fallbackOnBody?document.body:N,t=G(p,!0,er,!0,e),i=this.options;if(er){for(se=e;x(se,"position")==="static"&&x(se,"transform")==="none"&&se!==document;)se=se.parentNode;se!==document.body&&se!==document.documentElement?(se===document&&(se=Ae()),t.top+=se.scrollTop,t.left+=se.scrollLeft):se=Ae(),Jr=Qi(se)}w=p.cloneNode(!0),ve(w,i.ghostClass,!1),ve(w,i.fallbackClass,!0),ve(w,i.dragClass,!0),x(w,"transition",""),x(w,"transform",""),x(w,"box-sizing","border-box"),x(w,"margin",0),x(w,"top",t.top),x(w,"left",t.left),x(w,"width",t.width),x(w,"height",t.height),x(w,"opacity","0.8"),x(w,"position",er?"absolute":"fixed"),x(w,"zIndex","100000"),x(w,"pointerEvents","none"),k.ghost=w,e.appendChild(w),x(w,"transform-origin",oo/parseInt(w.style.width)*100+"% "+no/parseInt(w.style.height)*100+"%")}},_onDragStart:function(e,t){var i=this,o=e.dataTransfer,n=i.options;if(he("dragStart",this,{evt:e}),k.eventCanceled){this._onDrop();return}he("setupClone",this),k.eventCanceled||(U=ro(p),U.removeAttribute("id"),U.draggable=!1,U.style["will-change"]="",this._hideClone(),ve(U,this.options.chosenClass,!1),k.clone=U),i.cloneId=rr(function(){he("clone",i),!k.eventCanceled&&(i.options.removeCloneOnHide||N.insertBefore(U,p),i._hideClone(),de({sortable:i,name:"clone"}))}),!t&&ve(p,n.dragClass,!0),t?(Yt=!0,i._loopId=setInterval(i._emulateDragOver,50)):(z(document,"mouseup",i._onDrop),z(document,"touchend",i._onDrop),z(document,"touchcancel",i._onDrop),o&&(o.effectAllowed="move",n.setData&&n.setData.call(i,o,p)),E(document,"drop",i),x(p,"transform","translateZ(0)")),mt=!0,i._dragStartId=rr(i._dragStarted.bind(i,t,e)),E(document,"selectstart",i),Tt=!0,window.getSelection().removeAllRanges(),zt&&x(document.body,"user-select","none")},_onDragOver:function(e){var t=this.el,i=e.target,o,n,a,l=this.options,s=l.group,c=k.active,u=Zt===s,d=l.sort,m=ne||c,h,f=this,v=!1;if(Kr)return;function V(xe,tt){he(xe,f,ze({evt:e,isOwner:u,axis:h?"vertical":"horizontal",revert:a,dragRect:o,targetRect:n,canSort:d,fromSortable:m,target:i,completed:X,onMove:function(rt,Re){return tr(N,t,p,o,rt,G(rt),e,Re)},changed:ue},tt))}function te(){V("dragOverAnimationCapture"),f.captureAnimationState(),f!==m&&m.captureAnimationState()}function X(xe){return V("dragOverCompleted",{insertion:xe}),xe&&(u?c._hideClone():c._showClone(f),f!==m&&(ve(p,ne?ne.options.ghostClass:c.options.ghostClass,!1),ve(p,l.ghostClass,!0)),ne!==f&&f!==k.active?ne=f:f===k.active&&ne&&(ne=null),m===f&&(f._ignoreWhileAnimating=i),f.animateAll(function(){V("dragOverAnimationComplete"),f._ignoreWhileAnimating=null}),f!==m&&(m.animateAll(),m._ignoreWhileAnimating=null)),(i===p&&!p.animated||i===t&&!i.animated)&&(ht=null),!l.dragoverBubble&&!e.rootEl&&i!==document&&(p.parentNode[me]._isOutsideThisEl(e.target),!xe&&et(e)),!l.dragoverBubble&&e.stopPropagation&&e.stopPropagation(),v=!0}function ue(){ye=we(p),Ue=we(p,l.draggable),de({sortable:f,name:"change",toEl:t,newIndex:ye,newDraggableIndex:Ue,originalEvent:e})}if(e.preventDefault!==void 0&&e.cancelable&&e.preventDefault(),i=$e(i,l.draggable,t,!0),V("dragOver"),k.eventCanceled)return v;if(p.contains(e.target)||i.animated&&i.animatingX&&i.animatingY||f._ignoreWhileAnimating===i)return X(!1);if(Yt=!1,c&&!l.disabled&&(u?d||(a=F!==N):ne===this||(this.lastPutMode=Zt.checkPull(this,c,p,e))&&s.checkPut(this,c,p,e))){if(h=this._getDirection(e,i)==="vertical",o=G(p),V("dragOverValid"),k.eventCanceled)return v;if(a)return F=N,te(),this._hideClone(),V("revert"),k.eventCanceled||(Ke?N.insertBefore(p,Ke):N.appendChild(p)),X(!0);var re=Xr(t,l.draggable);if(!re||Ia(e,h,this)&&!re.animated){if(re===p)return X(!1);if(re&&t===e.target&&(i=re),i&&(n=G(i)),tr(N,t,p,o,i,n,e,!!i)!==!1)return te(),re&&re.nextSibling?t.insertBefore(p,re.nextSibling):t.appendChild(p),F=t,ue(),X(!0)}else if(re&&Va(e,h,this)){var _=dt(t,0,l,!0);if(_===p)return X(!1);if(i=_,n=G(i),tr(N,t,p,o,i,n,e,!1)!==!1)return te(),t.insertBefore(p,_),F=t,ue(),X(!0)}else if(i.parentNode===t){n=G(i);var b=0,A,H=p.parentNode!==t,P=!Pa(p.animated&&p.toRect||o,i.animated&&i.toRect||n,h),K=h?"top":"left",Q=Ki(i,"top","top")||Ki(p,"top","top"),B=Q?Q.scrollTop:void 0;ht!==i&&(A=n[K],Dt=!1,Gt=!P&&l.invertSwap||H),b=Na(e,i,n,h,P?1:l.swapThreshold,l.invertedSwapThreshold==null?l.swapThreshold:l.invertedSwapThreshold,Gt,ht===i);var R;if(b!==0){var W=we(p);do W-=b,R=F.children[W];while(R&&(x(R,"display")==="none"||R===w))}if(b===0||R===i)return X(!1);ht=i,Lt=b;var fe=i.nextElementSibling,le=!1;le=b===1;var ge=tr(N,t,p,o,i,n,e,le);if(ge!==!1)return(ge===1||ge===-1)&&(le=ge===1),Kr=!0,setTimeout(Ma,30),te(),le&&!fe?t.appendChild(p):i.parentNode.insertBefore(p,le?fe:i),Q&&to(Q,0,B-Q.scrollTop),F=p.parentNode,A!==void 0&&!Gt&&(Jt=Math.abs(A-G(i)[K])),ue(),X(!0)}if(t.contains(p))return X(!1)}return!1},_ignoreWhileAnimating:null,_offMoveEvents:function(){z(document,"mousemove",this._onTouchMove),z(document,"touchmove",this._onTouchMove),z(document,"pointermove",this._onTouchMove),z(document,"dragover",et),z(document,"mousemove",et),z(document,"touchmove",et)},_offUpEvents:function(){var e=this.el.ownerDocument;z(e,"mouseup",this._onDrop),z(e,"touchend",this._onDrop),z(e,"pointerup",this._onDrop),z(e,"pointercancel",this._onDrop),z(e,"touchcancel",this._onDrop),z(document,"selectstart",this)},_onDrop:function(e){var t=this.el,i=this.options;if(ye=we(p),Ue=we(p,i.draggable),he("drop",this,{evt:e}),F=p&&p.parentNode,ye=we(p),Ue=we(p,i.draggable),k.eventCanceled){this._nulling();return}mt=!1,Gt=!1,Dt=!1,clearInterval(this._loopId),clearTimeout(this._dragStartTimer),ei(this.cloneId),ei(this._dragStartId),this.nativeDraggable&&(z(document,"drop",this),z(t,"dragstart",this._onDragStart)),this._offMoveEvents(),this._offUpEvents(),zt&&x(document.body,"user-select",""),x(p,"transform",""),e&&(Tt&&(e.cancelable&&e.preventDefault(),!i.dropBubble&&e.stopPropagation()),w&&w.parentNode&&w.parentNode.removeChild(w),(N===F||ne&&ne.lastPutMode!=="clone")&&U&&U.parentNode&&U.parentNode.removeChild(U),p&&(this.nativeDraggable&&z(p,"dragend",this),Qr(p),p.style["will-change"]="",Tt&&!mt&&ve(p,ne?ne.options.ghostClass:this.options.ghostClass,!1),ve(p,this.options.chosenClass,!1),de({sortable:this,name:"unchoose",toEl:F,newIndex:null,newDraggableIndex:null,originalEvent:e}),N!==F?(ye>=0&&(de({rootEl:F,name:"add",toEl:F,fromEl:N,originalEvent:e}),de({sortable:this,name:"remove",toEl:F,originalEvent:e}),de({rootEl:F,name:"sort",toEl:F,fromEl:N,originalEvent:e}),de({sortable:this,name:"sort",toEl:F,originalEvent:e})),ne&&ne.save()):ye!==pt&&ye>=0&&(de({sortable:this,name:"update",toEl:F,originalEvent:e}),de({sortable:this,name:"sort",toEl:F,originalEvent:e})),k.active&&((ye==null||ye===-1)&&(ye=pt,Ue=Ct),de({sortable:this,name:"end",toEl:F,originalEvent:e}),this.save()))),this._nulling()},_nulling:function(){he("nulling",this),N=p=F=w=Ke=U=Xt=Be=Qe=Se=Tt=ye=Ue=pt=Ct=ht=Lt=ne=Zt=k.dragged=k.ghost=k.clone=k.active=null,Kt.forEach(function(e){e.checked=!0}),Kt.length=Wr=Gr=0},handleEvent:function(e){switch(e.type){case"drop":case"dragend":this._onDrop(e);break;case"dragenter":case"dragover":p&&(this._onDragOver(e),Ha(e));break;case"selectstart":e.preventDefault();break}},toArray:function(){for(var e=[],t,i=this.el.children,o=0,n=i.length,a=this.options;o<n;o++)t=i[o],$e(t,a.draggable,this.el,!1)&&e.push(t.getAttribute(a.dataIdAttr)||Ua(t));return e},sort:function(e,t){var i={},o=this.el;this.toArray().forEach(function(n,a){var l=o.children[a];$e(l,this.options.draggable,o,!1)&&(i[n]=l)},this),t&&this.captureAnimationState(),e.forEach(function(n){i[n]&&(o.removeChild(i[n]),o.appendChild(i[n]))}),t&&this.animateAll()},save:function(){var e=this.options.store;e&&e.set&&e.set(this)},closest:function(e,t){return $e(e,t||this.options.draggable,this.el,!1)},option:function(e,t){var i=this.options;if(t===void 0)return i[e];var o=Et.modifyOption(this,e,t);typeof o<"u"?i[e]=o:i[e]=t,e==="group"&&co(i)},destroy:function(){he("destroy",this);var e=this.el;e[me]=null,z(e,"mousedown",this._onTapStart),z(e,"touchstart",this._onTapStart),z(e,"pointerdown",this._onTapStart),this.nativeDraggable&&(z(e,"dragover",this),z(e,"dragenter",this)),Array.prototype.forEach.call(e.querySelectorAll("[draggable]"),function(t){t.removeAttribute("draggable")}),this._onDrop(),this._disableDelayedDragEvents(),Wt.splice(Wt.indexOf(this.el),1),this.el=e=null},_hideClone:function(){if(!Be){if(he("hideClone",this),k.eventCanceled)return;x(U,"display","none"),this.options.removeCloneOnHide&&U.parentNode&&U.parentNode.removeChild(U),Be=!0}},_showClone:function(e){if(e.lastPutMode!=="clone"){this._hideClone();return}if(Be){if(he("showClone",this),k.eventCanceled)return;p.parentNode==N&&!this.options.group.revertClone?N.insertBefore(U,p):Ke?N.insertBefore(U,Ke):N.appendChild(U),this.options.group.revertClone&&this.animate(p,U),x(U,"display",""),Be=!1}}};function Ha(r){r.dataTransfer&&(r.dataTransfer.dropEffect="move"),r.cancelable&&r.preventDefault()}function tr(r,e,t,i,o,n,a,l){var s,c=r[me],u=c.options.onMove,d;return window.CustomEvent&&!Pe&&!St?s=new CustomEvent("move",{bubbles:!0,cancelable:!0}):(s=document.createEvent("Event"),s.initEvent("move",!0,!0)),s.to=e,s.from=r,s.dragged=t,s.draggedRect=i,s.related=o||e,s.relatedRect=n||G(e),s.willInsertAfter=l,s.originalEvent=a,r.dispatchEvent(s),u&&(d=u.call(c,s,a)),d}function Qr(r){r.draggable=!1}function Ma(){Kr=!1}function Va(r,e,t){var i=G(dt(t.el,0,t.options,!0)),o=io(t.el,t.options,w),n=10;return e?r.clientX<o.left-n||r.clientY<i.top&&r.clientX<i.right:r.clientY<o.top-n||r.clientY<i.bottom&&r.clientX<i.left}function Ia(r,e,t){var i=G(Xr(t.el,t.options.draggable)),o=io(t.el,t.options,w),n=10;return e?r.clientX>o.right+n||r.clientY>i.bottom&&r.clientX>i.left:r.clientY>o.bottom+n||r.clientX>i.right&&r.clientY>i.top}function Na(r,e,t,i,o,n,a,l){var s=i?r.clientY:r.clientX,c=i?t.height:t.width,u=i?t.top:t.left,d=i?t.bottom:t.right,m=!1;if(!a){if(l&&Jt<c*o){if(!Dt&&(Lt===1?s>u+c*n/2:s<d-c*n/2)&&(Dt=!0),Dt)m=!0;else if(Lt===1?s<u+Jt:s>d-Jt)return-Lt}else if(s>u+c*(1-o)/2&&s<d-c*(1-o)/2)return Ba(e)}return m=m||a,m&&(s<u+c*n/2||s>d-c*n/2)?s>u+c/2?1:-1:0}function Ba(r){return we(p)<we(r)?1:-1}function Ua(r){for(var e=r.tagName+r.className+r.src+r.href+r.textContent,t=e.length,i=0;t--;)i+=e.charCodeAt(t);return i.toString(36)}function ja(r){Kt.length=0;for(var e=r.getElementsByTagName("input"),t=e.length;t--;){var i=e[t];i.checked&&Kt.push(i)}}function rr(r){return setTimeout(r,0)}function ei(r){return clearTimeout(r)}Qt&&E(document,"touchmove",function(r){(k.active||mt)&&r.cancelable&&r.preventDefault()}),k.utils={on:E,off:z,css:x,find:Ji,is:function(e,t){return!!$e(e,t,e,!1)},extend:Sa,throttle:eo,closest:$e,toggleClass:ve,clone:ro,index:we,nextTick:rr,cancelNextTick:ei,detectDirection:so,getChild:dt,expando:me},k.get=function(r){return r[me]},k.mount=function(){for(var r=arguments.length,e=new Array(r),t=0;t<r;t++)e[t]=arguments[t];e[0].constructor===Array&&(e=e[0]),e.forEach(function(i){if(!i.prototype||!i.prototype.constructor)throw"Sortable: Mounted plugin must be a constructor function, not ".concat({}.toString.call(i));i.utils&&(k.utils=ze(ze({},k.utils),i.utils)),Et.mount(i)})},k.create=function(r,e){return new k(r,e)},k.version=_a;var J=[],Pt,ti,ri=!1,ii,oi,ir,Ot;function qa(){function r(){this.defaults={scroll:!0,forceAutoScrollFallback:!1,scrollSensitivity:30,scrollSpeed:10,bubbleScroll:!0};for(var e in this)e.charAt(0)==="_"&&typeof this[e]=="function"&&(this[e]=this[e].bind(this))}return r.prototype={dragStarted:function(t){var i=t.originalEvent;this.sortable.nativeDraggable?E(document,"dragover",this._handleAutoScroll):this.options.supportPointer?E(document,"pointermove",this._handleFallbackAutoScroll):i.touches?E(document,"touchmove",this._handleFallbackAutoScroll):E(document,"mousemove",this._handleFallbackAutoScroll)},dragOverCompleted:function(t){var i=t.originalEvent;!this.options.dragOverBubble&&!i.rootEl&&this._handleAutoScroll(i)},drop:function(){this.sortable.nativeDraggable?z(document,"dragover",this._handleAutoScroll):(z(document,"pointermove",this._handleFallbackAutoScroll),z(document,"touchmove",this._handleFallbackAutoScroll),z(document,"mousemove",this._handleFallbackAutoScroll)),mo(),or(),za()},nulling:function(){ir=ti=Pt=ri=Ot=ii=oi=null,J.length=0},_handleFallbackAutoScroll:function(t){this._handleAutoScroll(t,!0)},_handleAutoScroll:function(t,i){var o=this,n=(t.touches?t.touches[0]:t).clientX,a=(t.touches?t.touches[0]:t).clientY,l=document.elementFromPoint(n,a);if(ir=t,i||this.options.forceAutoScrollFallback||St||Pe||zt){ni(t,this.options,l,i);var s=Ne(l,!0);ri&&(!Ot||n!==ii||a!==oi)&&(Ot&&mo(),Ot=setInterval(function(){var c=Ne(document.elementFromPoint(n,a),!0);c!==s&&(s=c,or()),ni(t,o.options,c,i)},10),ii=n,oi=a)}else{if(!this.options.bubbleScroll||Ne(l,!0)===Ae()){or();return}ni(t,this.options,Ne(l,!1),!1)}}},Le(r,{pluginName:"scroll",initializeByDefault:!0})}function or(){J.forEach(function(r){clearInterval(r.pid)}),J=[]}function mo(){clearInterval(Ot)}var ni=eo(function(r,e,t,i){if(e.scroll){var o=(r.touches?r.touches[0]:r).clientX,n=(r.touches?r.touches[0]:r).clientY,a=e.scrollSensitivity,l=e.scrollSpeed,s=Ae(),c=!1,u;ti!==t&&(ti=t,or(),Pt=e.scroll,u=e.scrollFn,Pt===!0&&(Pt=Ne(t,!0)));var d=0,m=Pt;do{var h=m,f=G(h),v=f.top,V=f.bottom,te=f.left,X=f.right,ue=f.width,re=f.height,_=void 0,b=void 0,A=h.scrollWidth,H=h.scrollHeight,P=x(h),K=h.scrollLeft,Q=h.scrollTop;h===s?(_=ue<A&&(P.overflowX==="auto"||P.overflowX==="scroll"||P.overflowX==="visible"),b=re<H&&(P.overflowY==="auto"||P.overflowY==="scroll"||P.overflowY==="visible")):(_=ue<A&&(P.overflowX==="auto"||P.overflowX==="scroll"),b=re<H&&(P.overflowY==="auto"||P.overflowY==="scroll"));var B=_&&(Math.abs(X-o)<=a&&K+ue<A)-(Math.abs(te-o)<=a&&!!K),R=b&&(Math.abs(V-n)<=a&&Q+re<H)-(Math.abs(v-n)<=a&&!!Q);if(!J[d])for(var W=0;W<=d;W++)J[W]||(J[W]={});(J[d].vx!=B||J[d].vy!=R||J[d].el!==h)&&(J[d].el=h,J[d].vx=B,J[d].vy=R,clearInterval(J[d].pid),(B!=0||R!=0)&&(c=!0,J[d].pid=setInterval((function(){i&&this.layer===0&&k.active._onTouchMove(ir);var fe=J[this.layer].vy?J[this.layer].vy*l:0,le=J[this.layer].vx?J[this.layer].vx*l:0;typeof u=="function"&&u.call(k.dragged.parentNode[me],le,fe,r,ir,J[this.layer].el)!=="continue"||to(J[this.layer].el,le,fe)}).bind({layer:d}),24))),d++}while(e.bubbleScroll&&m!==s&&(m=Ne(m,!1)));ri=c}},30),ho=function(e){var t=e.originalEvent,i=e.putSortable,o=e.dragEl,n=e.activeSortable,a=e.dispatchSortableEvent,l=e.hideGhostForTarget,s=e.unhideGhostForTarget;if(t){var c=i||n;l();var u=t.changedTouches&&t.changedTouches.length?t.changedTouches[0]:t,d=document.elementFromPoint(u.clientX,u.clientY);s(),c&&!c.el.contains(d)&&(a("spill"),this.onSpill({dragEl:o,putSortable:i}))}};function ai(){}ai.prototype={startIndex:null,dragStart:function(e){var t=e.oldDraggableIndex;this.startIndex=t},onSpill:function(e){var t=e.dragEl,i=e.putSortable;this.sortable.captureAnimationState(),i&&i.captureAnimationState();var o=dt(this.sortable.el,this.startIndex,this.options);o?this.sortable.el.insertBefore(t,o):this.sortable.el.appendChild(t),this.sortable.animateAll(),i&&i.animateAll()},drop:ho},Le(ai,{pluginName:"revertOnSpill"});function li(){}li.prototype={onSpill:function(e){var t=e.dragEl,i=e.putSortable,o=i||this.sortable;o.captureAnimationState(),t.parentNode&&t.parentNode.removeChild(t),o.animateAll()},drop:ho},Le(li,{pluginName:"removeOnSpill"}),k.mount(new qa),k.mount(li,ai);const Fa=r=>{const e=r.item;let t=Array.prototype.slice.call(e.parentNode.childNodes);return t=t.filter(i=>i.nodeType!=Node.ELEMENT_NODE||!i.classList.contains("sortable-fallback")),t},Xa=(r,e,t,i,o,n)=>{const l=r.item.parentNode;for(const v of t)l.appendChild(v);if(r.oldIndex==r.newIndex)return;const s=i.getArray(),c=r.item.querySelector("eox-layercontrol-layer").layer.get(o),u=s.find(v=>v.get(o)===c),d=n.dataset.layer,m=s.find(v=>v.get(o)==d);let h,f;for(h=0;h<s.length;h++)if(s[h]==u){i.removeAt(h);break}for(f=0;f<s.length;f++)if(s[f]===m){h>f?i.insertAt(f,u):i.insertAt(f+1,u);break}e.requestUpdate()};function Za(r,e,t,i){let o=[],n=null;r._sortable=k.create(r,{handle:".drag-handle",filter:".drag-handle.disabled",swapThreshold:.5,animation:150,easing:"cubic-bezier(1, 0, 0, 1)",onStart:a=>{console.log(a),o=Fa(a)},onMove:a=>{n=a.related},onEnd:a=>Xa(a,i,o,e,t,n)})}function Ya(r,e,t,i){const o=r.getArray();let n=!1;o.forEach(a=>{const l=a.ol_uid;a.get(e)||(a.set(e,l),n=!0),a.get(t)||(a.set(t,`layer ${l}`),n=!0),n&&i.requestUpdate()})}function si(r,e,t){let i=[];const o=(n,a,l)=>{i=[...i,...n.filter(c=>c.get(a)===l)];const s=n.filter(c=>c.getLayers);return s.length>0&&s.forEach(c=>o(c.getLayers().getArray(),a,l)),i};return o(r,e,t),i}function Wa(r,e,t){if(!r||!e)return!1;if(!fo(r,t))return!0;const i=r.get("minZoom"),o=r.get("maxZoom"),n=e.getView().getZoom();return n>i&&n<o}function fo(r,e){const t=r.get("minZoom"),i=r.get("maxZoom");return!!(e&&(t!==-1/0||i!==1/0))}function go(r,e){var o,n,a;return!r||!e?void 0:r.getLayers?"group":((a=(o=e.getInteractions().getArray().filter(l=>l.freehand_!==void 0).map(l=>l.source_))==null?void 0:o.ol_uid)==null?void 0:a.includes(r.getSource?(n=r.getSource())==null?void 0:n.ol_uid:void 0))?"draw":r.declutter_!==void 0||r.get("type")==="Vector"?"vector":"raster"}const Ga=(r,e,t)=>{let i=e;return t.layer.getSource().getTileUrlFunction()&&(i||(i=t.layer.getSource().getTileUrlFunction()),t.layer.getSource().setTileUrlFunction((...o)=>ya(i(...o),r)),t.layer.getSource().setKey(new Date)),i};function Ja(r,e,t){const i="updateStyleVariables"in e,o="setStyle"in e,n=i?e.style_:t.style;let a=n==null?void 0:n.variables;if(a){const l=ci(r);if(n.variables={...a,...l},i)e.updateStyleVariables(l);else if(o){const s=Ka(n);e.setStyle(s)}}}const ci=r=>{const e={};for(const t in r)if(typeof r[t]=="object"&&r[t]!==null){const i=ci(r[t]);for(const o in i)e[o]=i==null?void 0:i[o]}else e[t]=r==null?void 0:r[t];return e};function Ka(r){let e=r;if("variables"in r){let t=JSON.stringify(r);const{variables:i}=r;for(const o in i)typeof i[o]=="number"?t=t.replaceAll(`["var","${o}"]`,i[o]):t=t.replaceAll(`["var","${o}"]`,`"${i[o]}"`);e=JSON.parse(t)}return e}const Qa=(r,e)=>{if(!r)return;const t=ci(e);let i,o;return Array.isArray(r)?o=structuredClone(r):o=[structuredClone(r)],i=o.filter(n=>{if(!("boundTo"in n))return!0;const a=n.boundTo.key,l=n.boundTo.value;return!(a in t)||t[a]==l}),i.length||(i=o),i.map(n=>{var a;return delete n.boundTo,!("domainProperties"in n)||"domain"in n?n:(a=Object.keys(n))==null?void 0:a.reduce((l,s)=>(s==="domainProperties"?l.domain=n[s].map(c=>t[c]):l[s]=n[s],l),{})})};function bo(r,e){var i;let t={};for(const o in r){const n=r[o].type;if(n&&n!=="object")t[o]=n==="number"?Number(e[o]):e[o];else if(typeof r[o]=="object"&&((i=r[o])!=null&&i.properties)){const a=bo(r[o].properties,e);Object.keys(a).length>0&&(t[o]=a)}}return t}function el(r,e){var n,a,l,s,c;if(!e)return null;let t={},i="updateStyleVariables"in r?(n=r.style_)==null?void 0:n.variables:(a=e.style)==null?void 0:a.variables;if((e.type==="style"||e.style)&&i)t=i;else if((s=(l=r.getSource())==null?void 0:l.getTileUrlFunction)!=null&&s.call(l)){const u=new URL(r.getSource().getTileUrlFunction()([0,0,0]));t=Object.fromEntries(u.searchParams.entries())}else return null;const o=bo(((c=e.schema)==null?void 0:c.properties)||e.schema,t);return Object.keys(o).length?o:null}const vo=(r,e)=>r==null?void 0:r.filter(t=>["remove","sort"].filter(i=>e!=null&&e.get("layerControlDisable")?i!=="sort":!0).includes(t)),yo=(r,e)=>r==null?void 0:r.filter(t=>{let i=!0;return["remove","sort"].includes(t)&&(i=!1),t==="info"&&(i=e.get("description")),t==="config"&&(i=e.get("layerConfig")),t==="datetime"&&(i=e.get("layerDatetime")),t==="legend"&&(i=e.get("layerLegend")),i}),tl=(r,e,t)=>g`
|
|
48
46
|
<button
|
|
49
|
-
|
|
50
|
-
|
|
47
|
+
slot="${r}-icon"
|
|
48
|
+
class="no-margin transparent square primary-text small"
|
|
51
49
|
>
|
|
52
|
-
${i
|
|
50
|
+
${t?r:g`<i class="small primary-text">${e}</i>`}
|
|
53
51
|
</button>
|
|
54
|
-
`,
|
|
55
|
-
<
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
52
|
+
`,xo=(r,e)=>g`
|
|
53
|
+
<button
|
|
54
|
+
class="remove-icon no-margin transparent square small action"
|
|
55
|
+
@click=${()=>{const{layer:t}=r;t==null||t.set("layerControlOptional",!0),t==null||t.setVisible(!1),r.dispatchEvent(new CustomEvent("changed",{detail:t,bubbles:!0}))}}
|
|
56
|
+
>
|
|
57
|
+
${r.unstyled?"x":g`<i class="small red-text">${e}</i>`}
|
|
58
|
+
</button>
|
|
59
|
+
`,ko=(r,e,t)=>g`
|
|
60
|
+
<button
|
|
61
|
+
class="sort-icon no-margin transparent square primary-text drag-handle small action ${r.layer.get("layerControlDisable")?"disabled":""}"
|
|
62
|
+
style="cursor: ns-resize;"
|
|
63
|
+
>
|
|
64
|
+
${t?"═":g`<i class="small primary-text">${e}</i>`}
|
|
65
|
+
</button>
|
|
66
|
+
`;function Rt(){return{dots:g`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
|
|
67
|
+
<title>menu-down</title>
|
|
68
|
+
<path d="M7,10L12,15L17,10H7Z" />
|
|
69
|
+
</svg>`,info:g`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
|
|
70
|
+
<title>information-outline</title>
|
|
71
|
+
<path
|
|
72
|
+
d="M11,9H13V7H11M12,20C7.59,20 4,16.41 4,12C4,7.59 7.59,4 12,4C16.41,4 20,7.59 20,12C20,16.41 16.41,20 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,2M11,17H13V11H11V17Z"
|
|
73
|
+
/>
|
|
74
|
+
</svg>`,opacity:g`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
|
|
75
|
+
<title>circle-opacity</title>
|
|
76
|
+
<path
|
|
77
|
+
d="M18 10V8H20V10H18M18 12V10H16V12H18M18 8V6H16V8H18M16 2.84V4H18C17.37 3.54 16.71 3.15 16 2.84M18 4V6H20C19.42 5.25 18.75 4.58 18 4M20 6V8H21.16C20.85 7.29 20.46 6.63 20 6M22 12C22 11.32 21.93 10.65 21.8 10H20V12H22M16 6V4H14V6H16M16 16H18V14H16V16M18 18H20L20 18V16H18V18M16 20H18L18 20V18H16V20M14 21.8C14.7 21.66 15.36 21.44 16 21.16V20H14V21.8M18 14H20V12H18V14M16 8H14V10H16V8M20 16H21.16C21.44 15.36 21.66 14.7 21.8 14H20V16M16 12H14V14H16V12M12 18V16H14V14H12V12H14V10H12V8H14V6H12V4H14V2.2C13.35 2.07 12.69 2 12 2C6.5 2 2 6.5 2 12S6.5 22 12 22V20H14V18H12M14 18H16V16H14V18Z"
|
|
78
|
+
/>
|
|
79
|
+
</svg>`,config:g`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
|
|
80
|
+
<title>tune</title>
|
|
81
|
+
<path
|
|
82
|
+
d="M3,17V19H9V17H3M3,5V7H13V5H3M13,21V19H21V17H13V15H11V21H13M7,9V11H3V13H7V15H9V9H7M21,13V11H11V13H21M15,9H17V7H21V5H17V3H15V9Z"
|
|
83
|
+
/>
|
|
84
|
+
</svg>`,datetime:g`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
|
|
85
|
+
<title>calendar-clock-outline</title>
|
|
86
|
+
<path
|
|
87
|
+
d="M6 1V3H5C3.89 3 3 3.89 3 5V19C3 20.1 3.89 21 5 21H11.1C12.36 22.24 14.09 23 16 23C19.87 23 23 19.87 23 16C23 14.09 22.24 12.36 21 11.1V5C21 3.9 20.11 3 19 3H18V1H16V3H8V1M5 5H19V7H5M5 9H19V9.67C18.09 9.24 17.07 9 16 9C12.13 9 9 12.13 9 16C9 17.07 9.24 18.09 9.67 19H5M16 11.15C18.68 11.15 20.85 13.32 20.85 16C20.85 18.68 18.68 20.85 16 20.85C13.32 20.85 11.15 18.68 11.15 16C11.15 13.32 13.32 11.15 16 11.15M15 13V16.69L18.19 18.53L18.94 17.23L16.5 15.82V13Z"
|
|
88
|
+
/>
|
|
89
|
+
</svg>`,legend:g`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
|
|
90
|
+
<title>map-legend</title>
|
|
91
|
+
<path
|
|
92
|
+
d="M9,3L3.36,4.9C3.15,4.97 3,5.15 3,5.38V20.5A0.5,0.5 0 0,0 3.5,21L3.66,20.97L9,18.9L15,21L20.64,19.1C20.85,19.03 21,18.85 21,18.62V3.5A0.5,0.5 0 0,0 20.5,3L20.34,3.03L15,5.1L9,3M8,5.45V17.15L5,18.31V6.46L8,5.45M10,5.47L14,6.87V18.53L10,17.13V5.47M19,5.7V17.54L16,18.55V6.86L19,5.7M7.46,6.3L5.57,6.97V9.12L7.46,8.45V6.3M7.46,9.05L5.57,9.72V11.87L7.46,11.2V9.05M7.46,11.8L5.57,12.47V14.62L7.46,13.95V11.8M7.46,14.55L5.57,15.22V17.37L7.46,16.7V14.55Z"
|
|
93
|
+
/>
|
|
94
|
+
</svg>`,remove:g`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
|
|
95
|
+
<title>delete-outline</title>
|
|
96
|
+
<path
|
|
97
|
+
d="M6,19A2,2 0 0,0 8,21H16A2,2 0 0,0 18,19V7H6V19M8,9H16V19H8V9M15.5,4L14.5,3H9.5L8.5,4H5V6H19V4H15.5Z"
|
|
98
|
+
/>
|
|
99
|
+
</svg>`,sort:g`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
|
|
100
|
+
<title>drag-horizontal-variant</title>
|
|
101
|
+
<path d="M21 11H3V9H21V11M21 13H3V15H21V13Z" />
|
|
102
|
+
</svg>`}}const wo=r=>{var t;const e=["layerControlHide","layerControlOptional"];return(t=r==null?void 0:r.getArray())==null?void 0:t.filter(i=>e.every(o=>!i.get(o)))};/**
|
|
59
103
|
* @license
|
|
60
104
|
* Copyright 2020 Google LLC
|
|
61
105
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
62
|
-
*/const
|
|
106
|
+
*/const _o=Vr(class extends Ir{constructor(r){if(super(r),r.type!==Ie.PROPERTY&&r.type!==Ie.ATTRIBUTE&&r.type!==Ie.BOOLEAN_ATTRIBUTE)throw Error("The `live` directive is not allowed on child or event bindings");if(!kn(r))throw Error("`live` bindings can only contain a single expression")}render(r){return r}update(r,[e]){if(e===ke||e===O)return e;const t=r.element,i=r.name;if(r.type===Ie.PROPERTY){if(e===t[i])return ke}else if(r.type===Ie.BOOLEAN_ATTRIBUTE){if(!!e===t.hasAttribute(i))return ke}else if(r.type===Ie.ATTRIBUTE&&t.getAttribute(i)===e+"")return ke;return Ri(r),e}});/**
|
|
63
107
|
* @license
|
|
64
108
|
* Copyright 2017 Google LLC
|
|
65
109
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
66
|
-
*/class
|
|
110
|
+
*/class di extends Ir{constructor(e){if(super(e),this.it=O,e.type!==Ie.CHILD)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(e){if(e===O||e==null)return this._t=void 0,this.it=e;if(e===ke)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 t=[e];return t.raw=t,this._t={_$litType$:this.constructor.resultType,strings:t,values:[]}}}di.directiveName="unsafeHTML",di.resultType=1;const rl=Vr(di);/**
|
|
67
111
|
* @license
|
|
68
112
|
* Copyright 2021 Google LLC
|
|
69
113
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
70
|
-
*/function*ri(i,t){if(i!==void 0){let e=0;for(const n of i)yield t(n,e++)}}var jt=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function br(i){return i&&i.__esModule&&Object.prototype.hasOwnProperty.call(i,"default")?i.default:i}var un,vr;function na(){if(vr)return un;vr=1;var i="Expected a function",t=NaN,e="[object Symbol]",n=/^\s+|\s+$/g,r=/^[-+]0x[0-9a-f]+$/i,o=/^0b[01]+$/i,s=/^0o[0-7]+$/i,a=parseInt,l=typeof jt=="object"&&jt&&jt.Object===Object&&jt,d=typeof self=="object"&&self&&self.Object===Object&&self,c=l||d||Function("return this")(),u=Object.prototype,p=u.toString,f=Math.max,g=Math.min,b=function(){return c.Date.now()};function V(m,C,H){var M,J,K,B,I,W,gt=0,at=!1,mt=!1,wt=!0;if(typeof m!="function")throw new TypeError(i);C=E(C)||0,Z(H)&&(at=!!H.leading,mt="maxWait"in H,K=mt?f(E(H.maxWait)||0,C):K,wt="trailing"in H?!!H.trailing:wt);function ee(N){var yt=M,qt=J;return M=J=void 0,gt=N,B=m.apply(qt,yt),B}function Ci(N){return gt=N,I=setTimeout(ne,C),at?ee(N):B}function ie(N){var yt=N-W,qt=N-gt,Hr=C-yt;return mt?g(Hr,K-qt):Hr}function It(N){var yt=N-W,qt=N-gt;return W===void 0||yt>=C||yt<0||mt&&qt>=K}function ne(){var N=b();if(It(N))return Ti(N);I=setTimeout(ne,ie(N))}function Ti(N){return I=void 0,wt&&M?ee(N):(M=J=void 0,B)}function pn(){I!==void 0&&clearTimeout(I),gt=0,M=W=J=I=void 0}function Ve(){return I===void 0?B:Ti(b())}function F(){var N=b(),yt=It(N);if(M=arguments,J=this,W=N,yt){if(I===void 0)return Ci(W);if(mt)return I=setTimeout(ne,C),ee(W)}return I===void 0&&(I=setTimeout(ne,C)),B}return F.cancel=pn,F.flush=Ve,F}function et(m,C,H){var M=!0,J=!0;if(typeof m!="function")throw new TypeError(i);return Z(H)&&(M="leading"in H?!!H.leading:M,J="trailing"in H?!!H.trailing:J),V(m,C,{leading:M,maxWait:C,trailing:J})}function Z(m){var C=typeof m;return!!m&&(C=="object"||C=="function")}function ct(m){return!!m&&typeof m=="object"}function it(m){return typeof m=="symbol"||ct(m)&&p.call(m)==e}function E(m){if(typeof m=="number")return m;if(it(m))return t;if(Z(m)){var C=typeof m.valueOf=="function"?m.valueOf():m;m=Z(C)?C+"":C}if(typeof m!="string")return m===0?m:+m;m=m.replace(n,"");var H=o.test(m);return H||s.test(m)?a(m.slice(2),H?2:8):r.test(m)?t:+m}return un=et,un}var ra=na();const wr=br(ra);/**
|
|
114
|
+
*/function*nr(r,e){if(r!==void 0){let t=0;for(const i of r)yield e(i,t++)}}const ar='@import"https://eox.at/fonts/inter/inter.css";@import"https://eox.at/fonts/materialdesignicons/materialdesignicons.min.css";:root{--size: 1rem;--font: Inter, Roboto, "Helvetica Neue", "Arial Nova", "Nimbus Sans", Noto Sans, Arial, sans-serif;--font-icon: "Material Symbols Outlined";--speed1: .1s;--speed2: .2s;--speed3: .3s;--speed4: .4s;--active: rgb(128 128 128 / .192);--overlay: rgb(0 0 0 / .5);--elevate1: 0 .125rem .125rem 0 rgb(0 0 0 / .32);--elevate2: 0 .25rem .5rem 0 rgb(0 0 0 / .4);--elevate3: 0 .375rem .75rem 0 rgb(0 0 0 / .48);--top: env(safe-area-inset-top);--bottom: env(safe-area-inset-bottom);--left: env(safe-area-inset-left);--right: env(safe-area-inset-right)}:root,body.light{--primary: #6750a4;--on-primary: #ffffff;--primary-container: #e9ddff;--on-primary-container: #22005d;--secondary: #625b71;--on-secondary: #ffffff;--secondary-container: #e8def8;--on-secondary-container: #1e192b;--tertiary: #7e5260;--on-tertiary: #ffffff;--tertiary-container: #ffd9e3;--on-tertiary-container: #31101d;--error: #ba1a1a;--on-error: #ffffff;--error-container: #ffdad6;--on-error-container: #410002;--background: #fffbff;--on-background: #1c1b1e;--surface: #fdf8fd;--on-surface: #1c1b1e;--surface-variant: #e7e0eb;--on-surface-variant: #49454e;--outline: #7a757f;--outline-variant: #cac4cf;--shadow: #000000;--scrim: #000000;--inverse-surface: #313033;--inverse-on-surface: #f4eff4;--inverse-primary: #cfbcff;--surface-dim: #ddd8dd;--surface-bright: #fdf8fd;--surface-container-lowest: #ffffff;--surface-container-low: #f7f2f7;--surface-container: #f2ecf1;--surface-container-high: #ece7eb;--surface-container-highest: #e6e1e6}body.dark{--primary: #cfbcff;--on-primary: #381e72;--primary-container: #4f378a;--on-primary-container: #e9ddff;--secondary: #cbc2db;--on-secondary: #332d41;--secondary-container: #4a4458;--on-secondary-container: #e8def8;--tertiary: #efb8c8;--on-tertiary: #4a2532;--tertiary-container: #633b48;--on-tertiary-container: #ffd9e3;--error: #ffb4ab;--on-error: #690005;--error-container: #93000a;--on-error-container: #ffb4ab;--background: #1c1b1e;--on-background: #e6e1e6;--surface: #141316;--on-surface: #e6e1e6;--surface-variant: #49454e;--on-surface-variant: #cac4cf;--outline: #948f99;--outline-variant: #49454e;--shadow: #000000;--scrim: #000000;--inverse-surface: #e6e1e6;--inverse-on-surface: #313033;--inverse-primary: #6750a4;--surface-dim: #141316;--surface-bright: #3a383c;--surface-container-lowest: #0f0e11;--surface-container-low: #1c1b1e;--surface-container: #201f22;--surface-container-high: #2b292d;--surface-container-highest: #363438}@font-face{font-family:Material Symbols Outlined;font-style:normal;font-weight:400;font-display:block;src:url(/material-symbols-outlined.woff2?no-inline) format("woff2"),url(https://cdn.jsdelivr.net/npm/beercss@3.11.4/dist/cdn/material-symbols-outlined.woff2) format("woff2")}@font-face{font-family:Material Symbols Rounded;font-style:normal;font-weight:400;font-display:block;src:url(/material-symbols-rounded.woff2?no-inline) format("woff2"),url(https://cdn.jsdelivr.net/npm/beercss@3.11.4/dist/cdn/material-symbols-rounded.woff2) format("woff2")}@font-face{font-family:Material Symbols Sharp;font-style:normal;font-weight:400;font-display:block;src:url(/material-symbols-sharp.woff2?no-inline) format("woff2"),url(https://cdn.jsdelivr.net/npm/beercss@3.11.4/dist/cdn/material-symbols-sharp.woff2) format("woff2")}@font-face{font-family:Material Symbols Subset;font-style:normal;font-weight:400;font-display:block;src:url(/material-symbols-subset.woff2?no-inline) format("woff2"),url(https://cdn.jsdelivr.net/npm/beercss@3.11.4/dist/cdn/material-symbols-subset.woff2) format("woff2")}*{-webkit-tap-highlight-color:transparent;position:relative;vertical-align:middle;color:inherit;margin:0;padding:0;border-radius:inherit;box-sizing:border-box}body{color:var(--on-surface);background-color:var(--surface);overflow-x:hidden}label{font-size:.75rem;vertical-align:baseline}a,b,i,span,strong,em,code{vertical-align:baseline}a,button,.button{cursor:pointer;text-decoration:none;display:inline-flex;align-items:center;border:none;font-family:inherit;outline:inherit;justify-content:center}a,button,.button,i,label{-webkit-user-select:none;user-select:none}body ::-webkit-scrollbar,body ::-webkit-scrollbar-thumb,body ::-webkit-scrollbar-button{background:none;inline-size:.4rem;block-size:.4rem}body :is(:hover,:focus)::-webkit-scrollbar-thumb{background:var(--outline);border-radius:1rem}*+:is(address,article,blockquote,code,.field,fieldset,form,.grid,h1,h2,h3,h4,h5,h6,nav,ol,p,pre,.row,section,aside,table,.tabs,ul){margin-block-start:1rem}:is(a,button,.button,.chip):focus-visible{outline:.125rem solid var(--primary);outline-offset:.25rem}:is(nav,.row,li).group>:focus-visible{outline-offset:0}.transparent{background-color:transparent!important;box-shadow:none!important;color:inherit!important}.primary{background-color:var(--primary)!important;color:var(--on-primary)!important}.primary-text{color:var(--primary)!important}.primary-border{border-color:var(--primary)!important}.primary-container{background-color:var(--primary-container)!important;color:var(--on-primary-container)!important}.secondary{background-color:var(--secondary)!important;color:var(--on-secondary)!important}.secondary-text{color:var(--secondary)!important}.secondary-border{border-color:var(--secondary)!important}.secondary-container{background-color:var(--secondary-container)!important;color:var(--on-secondary-container)!important}.tertiary{background-color:var(--tertiary)!important;color:var(--on-tertiary)!important}.tertiary-text{color:var(--tertiary)!important}.tertiary-border{border-color:var(--tertiary)!important}.tertiary-container{background-color:var(--tertiary-container)!important;color:var(--on-tertiary-container)!important}.error{background-color:var(--error)!important;color:var(--on-error)!important}.error-text{color:var(--error)!important}.error-border{border-color:var(--error)!important}.error-container{background-color:var(--error-container)!important;color:var(--on-error-container)!important}.background{background-color:var(--background)!important;color:var(--on-background)!important}.surface,.surface-dim,.surface-bright,.surface-container-lowest,.surface-container-low,.surface-container,.surface-container-high,.surface-container-highest{background-color:var(--surface)!important;color:var(--on-surface)!important}.surface-variant{background-color:var(--surface-variant)!important;color:var(--on-surface-variant)!important}.inverse-surface{background-color:var(--inverse-surface);color:var(--inverse-on-surface)}.inverse-primary{background-color:var(--inverse-primary);color:var(--primary)}.inverse-primary-text{color:var(--inverse-primary)!important}.inverse-primary-border{border-color:var(--inverse-primary)!important}.surface-dim{background-color:var(--surface-dim)!important}.surface-bright{background-color:var(--surface-bright)!important}.surface-container-lowest{background-color:var(--surface-container-lowest)!important}.surface-container{background-color:var(--surface-container)!important}.surface-container-high{background-color:var(--surface-container-high)!important}.surface-container-highest{background-color:var(--surface-container-highest)!important}.surface-container-low{background-color:var(--surface-container-low)!important}.black{background-color:#000!important}.black-border{border-color:#000!important}.black-text{color:#000!important}.white{background-color:#fff!important}.white-border{border-color:#fff!important}.white-text{color:#fff!important}.transparent-border{border-color:transparent!important}.transparent-text{color:transparent!important}.fill:not(i){background-color:var(--surface-variant)!important;color:var(--on-surface-variant)!important}.primary-container>.active,.primary-container.active{background-color:var(--primary)!important;color:var(--on-primary)!important}.secondary-container>.active,.secondary-container.active{background-color:var(--secondary)!important;color:var(--on-secondary)!important}.tertiary-container>.active,.tertiary-container.active{background-color:var(--tertiary)!important;color:var(--on-tertiary)!important}.primary>.active,.primary.active{background-color:var(--primary-container)!important;color:var(--on-primary-container)!important}.secondary>.active,.secondary.active{background-color:var(--secondary-container)!important;color:var(--on-secondary-container)!important}.tertiary>.active,.tertiary.active{background-color:var(--tertiary-container)!important;color:var(--on-tertiary-container)!important}.middle-align{display:flex;align-items:center!important}.bottom-align{display:flex;align-items:flex-end!important}.top-align{display:flex;align-items:flex-start!important}.left-align{text-align:start;justify-content:flex-start!important}.right-align{text-align:end;justify-content:flex-end!important}.center-align{text-align:center;justify-content:center!important}[class*=blur],[class*=blur].light{--_blur: 1rem;-webkit-backdrop-filter:blur(var(--_blur));backdrop-filter:blur(var(--_blur));color:var(--on-surface);background-color:#ffffff80!important}.dark [class*=blur],[class*=blur].dark{background-color:#00000080!important}.small-blur{--_blur: .5rem}.large-blur{--_blur: 1.5rem}.red,.red6{background-color:#f44336!important}.red-border{border-color:#f44336!important}.red-text{color:#f44336!important}.red1{background-color:#ffebee!important}.red2{background-color:#ffcdd2!important}.red3{background-color:#ef9a9a!important}.red4{background-color:#e57373!important}.red5{background-color:#ef5350!important}.red7{background-color:#e53935!important}.red8{background-color:#d32f2f!important}.red9{background-color:#c62828!important}.red10{background-color:#b71c1c!important}.pink,.pink6{background-color:#e91e63!important}.pink-border{border-color:#e91e63!important}.pink-text{color:#e91e63!important}.pink1{background-color:#fce4ec!important}.pink2{background-color:#f8bbd0!important}.pink3{background-color:#f48fb1!important}.pink4{background-color:#f06292!important}.pink5{background-color:#ec407a!important}.pink7{background-color:#d81b60!important}.pink8{background-color:#c2185b!important}.pink9{background-color:#ad1457!important}.pink10{background-color:#880e4f!important}.purple,.purple6{background-color:#9c27b0!important}.purple-border{border-color:#9c27b0!important}.purple-text{color:#9c27b0!important}.purple1{background-color:#f3e5f5!important}.purple2{background-color:#e1bee7!important}.purple3{background-color:#ce93d8!important}.purple4{background-color:#ba68c8!important}.purple5{background-color:#ab47bc!important}.purple7{background-color:#8e24aa!important}.purple8{background-color:#7b1fa2!important}.purple9{background-color:#6a1b9a!important}.purple10{background-color:#4a148c!important}.deep-purple,.deep-purple6{background-color:#673ab7!important}.deep-purple-border{border-color:#673ab7!important}.deep-purple-text{color:#673ab7!important}.deep-purple1{background-color:#ede7f6!important}.deep-purple2{background-color:#d1c4e9!important}.deep-purple3{background-color:#b39ddb!important}.deep-purple4{background-color:#9575cd!important}.deep-purple5{background-color:#7e57c2!important}.deep-purple7{background-color:#5e35b1!important}.deep-purple8{background-color:#512da8!important}.deep-purple9{background-color:#4527a0!important}.deep-purple10{background-color:#311b92!important}.indigo,.indigo6{background-color:#3f51b5!important}.indigo-border{border-color:#3f51b5!important}.indigo-text{color:#3f51b5!important}.indigo1{background-color:#e8eaf6!important}.indigo2{background-color:#c5cae9!important}.indigo3{background-color:#9fa8da!important}.indigo4{background-color:#7986cb!important}.indigo5{background-color:#5c6bc0!important}.indigo7{background-color:#3949ab!important}.indigo8{background-color:#303f9f!important}.indigo9{background-color:#283593!important}.indigo10{background-color:#1a237e!important}.blue,.blue6{background-color:#2196f3!important}.blue-border{border-color:#2196f3!important}.blue-text{color:#2196f3!important}.blue1{background-color:#e3f2fd!important}.blue2{background-color:#bbdefb!important}.blue3{background-color:#90caf9!important}.blue4{background-color:#64b5f6!important}.blue5{background-color:#42a5f5!important}.blue7{background-color:#1e88e5!important}.blue8{background-color:#1976d2!important}.blue9{background-color:#1565c0!important}.blue10{background-color:#0d47a1!important}.light-blue,.light-blue6{background-color:#03a9f4!important}.light-blue-border{border-color:#03a9f4!important}.light-blue-text{color:#03a9f4!important}.light-blue1{background-color:#e1f5fe!important}.light-blue2{background-color:#b3e5fc!important}.light-blue3{background-color:#81d4fa!important}.light-blue4{background-color:#4fc3f7!important}.light-blue5{background-color:#29b6f6!important}.light-blue7{background-color:#039be5!important}.light-blue8{background-color:#0288d1!important}.light-blue9{background-color:#0277bd!important}.light-blue10{background-color:#01579b!important}.cyan,.cyan6{background-color:#00bcd4!important}.cyan-border{border-color:#00bcd4!important}.cyan-text{color:#00bcd4!important}.cyan1{background-color:#e0f7fa!important}.cyan2{background-color:#b2ebf2!important}.cyan3{background-color:#80deea!important}.cyan4{background-color:#4dd0e1!important}.cyan5{background-color:#26c6da!important}.cyan7{background-color:#00acc1!important}.cyan8{background-color:#0097a7!important}.cyan9{background-color:#00838f!important}.cyan10{background-color:#006064!important}.teal,.teal6{background-color:#009688!important}.teal-border{border-color:#009688!important}.teal-text{color:#009688!important}.teal1{background-color:#e0f2f1!important}.teal2{background-color:#b2dfdb!important}.teal3{background-color:#80cbc4!important}.teal4{background-color:#4db6ac!important}.teal5{background-color:#26a69a!important}.teal7{background-color:#00897b!important}.teal8{background-color:#00796b!important}.teal9{background-color:#00695c!important}.teal10{background-color:#004d40!important}.green,.green6{background-color:#4caf50!important}.green-border{border-color:#4caf50!important}.green-text{color:#4caf50!important}.green1{background-color:#e8f5e9!important}.green2{background-color:#c8e6c9!important}.green3{background-color:#a5d6a7!important}.green4{background-color:#81c784!important}.green5{background-color:#66bb6a!important}.green7{background-color:#43a047!important}.green8{background-color:#388e3c!important}.green9{background-color:#2e7d32!important}.green10{background-color:#1b5e20!important}.light-green,.light-green6{background-color:#8bc34a!important}.light-green-border{border-color:#8bc34a!important}.light-green-text{color:#8bc34a!important}.light-green1{background-color:#f1f8e9!important}.light-green2{background-color:#dcedc8!important}.light-green3{background-color:#c5e1a5!important}.light-green4{background-color:#aed581!important}.light-green5{background-color:#9ccc65!important}.light-green7{background-color:#7cb342!important}.light-green8{background-color:#689f38!important}.light-green9{background-color:#558b2f!important}.light-green10{background-color:#33691e!important}.lime,.lime6{background-color:#cddc39!important}.lime-border{border-color:#cddc39!important}.lime-text{color:#cddc39!important}.lime1{background-color:#f9fbe7!important}.lime2{background-color:#f0f4c3!important}.lime3{background-color:#e6ee9c!important}.lime4{background-color:#dce775!important}.lime5{background-color:#d4e157!important}.lime7{background-color:#c0ca33!important}.lime8{background-color:#afb42b!important}.lime9{background-color:#9e9d24!important}.lime10{background-color:#827717!important}.yellow,.yellow6{background-color:#ffeb3b!important}.yellow-border{border-color:#ffeb3b!important}.yellow-text{color:#ffeb3b!important}.yellow1{background-color:#fffde7!important}.yellow2{background-color:#fff9c4!important}.yellow3{background-color:#fff59d!important}.yellow4{background-color:#fff176!important}.yellow5{background-color:#ffee58!important}.yellow7{background-color:#fdd835!important}.yellow8{background-color:#fbc02d!important}.yellow9{background-color:#f9a825!important}.yellow10{background-color:#f57f17!important}.amber,.amber6{background-color:#ffc107!important}.amber-border{border-color:#ffc107!important}.amber-text{color:#ffc107!important}.amber1{background-color:#fff8e1!important}.amber2{background-color:#ffecb3!important}.amber3{background-color:#ffe082!important}.amber4{background-color:#ffd54f!important}.amber5{background-color:#ffca28!important}.amber7{background-color:#ffb300!important}.amber8{background-color:#ffa000!important}.amber9{background-color:#ff8f00!important}.amber10{background-color:#ff6f00!important}.orange,.orange6{background-color:#ff9800!important}.orange-border{border-color:#ff9800!important}.orange-text{color:#ff9800!important}.orange1{background-color:#fff3e0!important}.orange2{background-color:#ffe0b2!important}.orange3{background-color:#ffcc80!important}.orange4{background-color:#ffb74d!important}.orange5{background-color:#ffa726!important}.orange7{background-color:#fb8c00!important}.orange8{background-color:#f57c00!important}.orange9{background-color:#ef6c00!important}.orange10{background-color:#e65100!important}.deep-orange,.deep-orange6{background-color:#ff5722!important}.deep-orange-border{border-color:#ff5722!important}.deep-orange-text{color:#ff5722!important}.deep-orange1{background-color:#fbe9e7!important}.deep-orange2{background-color:#ffccbc!important}.deep-orange3{background-color:#ffab91!important}.deep-orange4{background-color:#ff8a65!important}.deep-orange5{background-color:#ff7043!important}.deep-orange7{background-color:#f4511e!important}.deep-orange8{background-color:#e64a19!important}.deep-orange9{background-color:#d84315!important}.deep-orange10{background-color:#bf360c!important}.brown,.brown6{background-color:#795548!important}.brown-border{border-color:#795548!important}.brown-text{color:#795548!important}.brown1{background-color:#efebe9!important}.brown2{background-color:#d7ccc8!important}.brown3{background-color:#bcaaa4!important}.brown4{background-color:#a1887f!important}.brown5{background-color:#8d6e63!important}.brown7{background-color:#6d4c41!important}.brown8{background-color:#5d4037!important}.brown9{background-color:#4e342e!important}.brown10{background-color:#3e2723!important}.blue-grey,.blue-grey6{background-color:#607d8b!important}.blue-grey-border{border-color:#607d8b!important}.blue-grey-text{color:#607d8b!important}.blue-grey1{background-color:#eceff1!important}.blue-grey2{background-color:#cfd8dc!important}.blue-grey3{background-color:#b0bec5!important}.blue-grey4{background-color:#90a4ae!important}.blue-grey5{background-color:#78909c!important}.blue-grey7{background-color:#546e7a!important}.blue-grey8{background-color:#455a64!important}.blue-grey9{background-color:#37474f!important}.blue-grey10{background-color:#263238!important}.grey,.grey6{background-color:#9e9e9e!important}.grey-border{border-color:#9e9e9e!important}.grey-text{color:#9e9e9e!important}.grey1{background-color:#fafafa!important}.grey2{background-color:#f5f5f5!important}.grey3{background-color:#eee!important}.grey4{background-color:#e0e0e0!important}.grey5{background-color:#bdbdbd!important}.grey7{background-color:#757575!important}.grey8{background-color:#616161!important}.grey9{background-color:#424242!important}.grey10{background-color:#212121!important}.horizontal{display:inline-flex;flex-direction:row!important;gap:1rem;inline-size:auto!important;max-inline-size:none!important}.horizontal>*{margin-block:0!important}.vertical{display:flex;flex-direction:column!important}:is(a,button,.button,.chip).vertical{display:inline-flex;gap:.25rem;block-size:auto!important;max-block-size:none!important;padding-block:.5rem}.vertical>*{margin-inline:0!important}.no-elevate{box-shadow:none!important}.small-elevate,.elevate{box-shadow:var(--elevate1)!important}.medium-elevate{box-shadow:var(--elevate2)!important}.large-elevate{box-shadow:var(--elevate3)!important}[class*=round]{--_round: 2rem;border-radius:var(--_round)!important}.small-round{--_round: .5rem}.large-round{--_round: 3.5rem}.no-round,.square,.top-round,.bottom-round,.left-round,.right-round{border-radius:.5rem!important}.top-round{border-start-start-radius:var(--_round)!important;border-start-end-radius:var(--_round)!important}.bottom-round{border-end-end-radius:var(--_round)!important;border-end-start-radius:var(--_round)!important}.left-round{border-start-start-radius:var(--_round)!important;border-end-start-radius:var(--_round)!important}.right-round{border-start-end-radius:var(--_round)!important;border-end-end-radius:var(--_round)!important}.circle:not(.extend){border-radius:50%}:is(.circle,.square):is(button,.button,.chip){padding:0;block-size:var(--_size);inline-size:var(--_size)}:is(.circle,.square)>span{display:none}:is(.circle,.square).round{border-radius:1rem!important}.border:not(table,.field,.list,menu,article){box-sizing:border-box;border:.0625rem solid var(--outline);background-color:transparent;box-shadow:none}.no-border{border-color:transparent!important}.border:not(.extend,.circle,.square,.badge){box-sizing:content-box}[class*=margin]:not(.left-margin,.right-margin,.top-margin,.bottom-margin,.horizontal-margin,.vertical-margin){margin:var(--_margin)!important}[class*=margin]{--_margin: 1rem}.no-margin{--_margin: 0}.auto-margin{--_margin: auto}.tiny-margin{--_margin: .25rem}.small-margin{--_margin: .5rem}.large-margin{--_margin: 1.5rem}.left-margin,.horizontal-margin{margin-inline-start:var(--_margin)!important}.right-margin,.horizontal-margin{margin-inline-end:var(--_margin)!important}.top-margin,.vertical-margin{margin-block-start:var(--_margin)!important}.bottom-margin,.vertical-margin{margin-block-end:var(--_margin)!important}.no-opacity{opacity:1!important}.opacity{opacity:0!important}.small-opacity{opacity:.75!important}.medium-opacity{opacity:.5!important}.large-opacity{opacity:.25!important}[class*=padding]:not(.left-padding,.right-padding,.top-padding,.bottom-padding,.horizontal-padding,.vertical-padding){padding:var(--_padding)!important}[class*=padding]{--_padding: 1rem}.no-padding{--_padding: 0 !important}.tiny-padding{--_padding: .25rem !important}.small-padding{--_padding: .5rem !important}.large-padding{--_padding: 1.5rem !important}.left-padding,.horizontal-padding{padding-inline-start:var(--_padding)!important}.right-padding,.horizontal-padding{padding-inline-end:var(--_padding)!important}.top-padding,.vertical-padding{padding-block-start:var(--_padding)!important}.bottom-padding,.vertical-padding{padding-block-end:var(--_padding)!important}.front{z-index:10!important}.back{z-index:-10!important}.left{inset-inline-start:0}.right{inset-inline-end:0}.top{inset-block-start:0}.bottom{inset-block-end:0}.center{inset-inline-start:50%;transform:translate(-50%)}[dir=rtl] .center{transform:translate(50%)}.middle{inset-block-start:50%;transform:translateY(-50%)}.middle.center{transform:translate(-50%,-50%)}[dir=rtl] .middle.center{transform:translate(50%,-50%)}.ripple{--_duration: .6s}.fast-ripple{--_duration: .2s}.slow-ripple{--_duration: 1.8s}.ripple-js{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none;overflow:hidden}.ripple-js>div{position:absolute;border-radius:50%;background:currentColor;opacity:.3;transform:scale(0);animation:to-ripple var(--_duration) linear}@keyframes to-ripple{to{transform:scale(4);opacity:0}}.scroll{overflow:auto}.no-scroll{overflow:hidden}.shadow{background-color:#00000050}:is(.left-shadow,.right-shadow,.top-shadow,.bottom-shadow){background-color:transparent!important}.left-shadow{background-image:linear-gradient(to right,black,transparent)!important}.right-shadow{background-image:linear-gradient(to left,black,transparent)!important}.bottom-shadow{background-image:linear-gradient(to top,black,transparent)!important}.top-shadow{background-image:linear-gradient(to bottom,black,transparent)!important}[class*=width]{max-inline-size:100%}.auto-width{inline-size:auto}.small-width{inline-size:12rem!important}.medium-width{inline-size:24rem!important}.large-width{inline-size:36rem!important}.auto-height{block-size:auto}.small-height{block-size:12rem!important}.medium-height{block-size:24rem!important}.large-height{block-size:36rem!important}.wrap{display:block;white-space:normal}.no-wrap:not(menu){display:flex;white-space:nowrap}.tiny-space:not(nav,.row,.grid,table,.tooltip,.list,menu){block-size:.5rem}:is(.space,.small-space):not(nav,.row,.grid,table,.tooltip,.list,menu){block-size:1rem}.medium-space:not(nav,.row,.grid,table,.tooltip,.list,menu){block-size:2rem}.large-space:not(nav,.row,.grid,table,.tooltip,.list,menu){block-size:3rem}.responsive{inline-size:-webkit-fill-available;inline-size:-moz-available}@media only screen and (max-width: 600px){:is(.m,.l):not(.s){display:none!important}}@media only screen and (min-width: 601px) and (max-width: 992px){:is(.s,.l):not(.m){display:none!important}}@media only screen and (min-width: 993px){:is(.m,.s):not(.l){display:none!important}}html{font-size:var(--size)}body{font-family:var(--font);font-size:.875rem;line-height:1.5rem;letter-spacing:.0313rem}h1,h2,h3,h4,h5,h6{font-weight:400;display:block;align-items:center;line-height:normal}h1{font-size:3.5625rem}h2{font-size:2.8125rem}h3{font-size:2.25rem}h4{font-size:2rem}h5{font-size:1.75rem}h6{font-size:1.5rem}h1.small{font-size:3.0625rem}h2.small{font-size:2.3125rem}h3.small{font-size:1.75rem}h4.small{font-size:1.5rem}h5.small{font-size:1.25rem}h6.small{font-size:1rem}h1.large{font-size:4.0625rem}h2.large{font-size:3.3125rem}h3.large{font-size:2.75rem}h4.large{font-size:2.5rem}h5.large{font-size:2.25rem}h6.large{font-size:2rem}.link{color:var(--primary)!important}.inverse-link{color:var(--inverse-primary)!important}.truncate{overflow:hidden;white-space:nowrap!important;text-overflow:ellipsis;flex:inherit}.truncate>*{white-space:nowrap!important}.small-text{font-size:.75rem}.medium-text{font-size:.875rem}.large-text{font-size:1rem}.upper{text-transform:uppercase}.lower{text-transform:lowercase}.capitalize{text-transform:capitalize}.bold{font-weight:700}.overline{text-decoration:line-through}.underline{text-decoration:underline}.italic{font-style:italic}p{margin:.5rem 0}.no-line{line-height:normal}.tiny-line{line-height:1.25rem}.small-line{line-height:1.5rem}.medium-line{line-height:1.75rem}.large-line{line-height:2rem}.extra-line{line-height:2.25rem}pre{border-radius:0;background-color:var(--surface-container);white-space:pre-wrap;padding:1rem;border-inline-start:.25rem solid var(--primary);font-family:inherit}blockquote{border-radius:0;padding:1rem;border-inline-start:.25rem solid var(--primary);font-family:inherit}code{border-radius:0;background-color:var(--surface-container);white-space:pre-wrap;padding:.25rem}pre>code,blockquote>code{padding:0}.scroll>code{white-space:pre}pre:has(>code){direction:ltr;text-align:start}:is(.wave,.chip,.button,button,nav.tabbed>a,.tabs>a,.toolbar>a):not(.slow-ripple,.ripple,.fast-ripple):after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;z-index:1;border-radius:inherit;inline-size:100%;block-size:100%;background-position:center;background-image:radial-gradient(circle,currentColor 1%,transparent 1%);opacity:0;transition:none}:is(.wave,.chip,.button,button,nav.tabbed>a,.tabs>a,.toolbar>a):not(.slow-ripple,.ripple,.fast-ripple):is(:focus-visible,:hover):after{background-size:15000%;opacity:.1;transition:background-size var(--speed2) linear}:is(.wave,.chip,.button,button,nav.tabbed>a,.tabs>a,.toolbar>a):not(.slow-ripple,.ripple,.fast-ripple):active:after{background-size:5000%;opacity:0;transition:none}.no-wave:after,.no-wave:is(:hover,:active):after{display:none}.badge{--_x: 0;--_y: -100%;display:inline-flex;align-items:center;justify-content:center;position:absolute;font-size:.6875rem;text-transform:none;z-index:2;padding:0 .25rem;min-block-size:1rem;min-inline-size:1rem;background-color:var(--error);color:var(--on-error);line-height:normal;border-radius:1rem;inset:50% auto auto 50%;transform:translate(var(--_x, 50%),var(--_y, -50%));font-family:var(--font)}.badge.top{--_y: -100%}.badge.bottom{--_y: 0}.badge.left{--_x: -100%}.badge.right{--_x: 0}.badge.border{border-color:var(--error);color:var(--error);background-color:var(--surface)}.badge:is(.circle,.square){text-align:center;inline-size:auto;block-size:auto;padding:0 .25rem;border-radius:1rem}.badge.square{border-radius:0}.badge.min>*{display:none}.badge.min{clip-path:circle(18.75% at 50% 50%)}nav:is(.left,.right,.top,.bottom)>a>.badge,nav:is(.left,.right,.top,.bottom)>:is(ol,ul)>li>a>.badge{inset:1rem auto auto 50%}.badge.none{inset:auto!important;transform:none;position:relative;margin:0 .125rem}:is(button,.button,.chip)>.badge.none{margin:0 -.5rem}header,footer{display:flex;justify-content:center;flex-direction:column;background-color:var(--surface-container);border-radius:0;padding:0 1rem}:is(nav.drawer,dialog,article)>:is(header,footer){padding-inline:0;top:0;right:0;bottom:0;left:0}header{min-block-size:4rem}footer{min-block-size:5rem}:is(header,footer,menu>*).fixed{position:sticky;top:0;right:0;bottom:0;left:0;z-index:11;background-color:inherit}header.fixed{inset:calc(-1 * var(--_padding)) 0 0 0;margin-block-start:calc(-1 * var(--_padding))}footer.fixed{inset:0 0 calc(-1 * var(--_padding)) 0;margin-block-end:calc(-1 * var(--_padding))}dialog>:is(header,footer){background:none}dialog>header.fixed{background-color:inherit;padding:var(--top) 0 0 0;margin:calc(-1 * var(--top)) 0 0 0;transform:translateY(calc(-1 * (var(--top) + var(--_padding))))}dialog>footer.fixed{background-color:inherit;padding:0 0 var(--bottom) 0;margin:0 0 calc(-1 * var(--bottom)) 0;transform:translateY(calc(var(--bottom) + var(--_padding)))}:is(main,header,footer,section).responsive{max-inline-size:75rem;margin:0 auto}:is(main,header,footer,section).responsive.max{max-inline-size:100%}:has(>main)>:is(header,footer).fixed{z-index:100;transform:none;box-sizing:content-box;top:0;right:0;bottom:0;left:0}:has(>main)>header.fixed{padding-block-start:calc(var(--top) + var(--_top));margin-block-start:calc(-1 * var(--top) - var(--_top))}:has(>main)>footer.fixed{padding-block-end:calc(var(--bottom) + var(--_bottom));margin-block-end:calc(-1 * var(--bottom) - var(--_bottom))}:is(nav,.row)>header{background-color:inherit}nav:is(.left,.right)>header{transform:translateY(-.5rem)}nav.drawer:is(.left,.right)>header+*{margin-block-start:.5rem}dialog>nav.drawer>header+*{margin-block-start:1rem}.button,button{--_padding: 1rem;--_size: 2.5rem;box-sizing:content-box;display:inline-flex;align-items:center;justify-content:center;block-size:var(--_size);font-size:.875rem;font-weight:500;color:var(--on-primary);padding:0 var(--_padding);background-color:var(--primary);margin:0 .5rem;border-radius:var(--_size);transition:transform var(--speed3),border-radius var(--speed2),padding var(--speed3);-webkit-user-select:none;user-select:none;gap:.5rem;line-height:normal}:is(button,.button).small{--_size: 2rem;--_padding: .75rem}:is(button,.button).large{--_size: 3rem;--_padding: 1.25rem}:is(.button,button):is(.extra,.extend){--_size: 3.5rem;font-size:1rem;--_padding: 1.5rem}:is(button,.button):is(.square,.circle){--_padding: 0}:is(button,.button).border{border-color:var(--outline-variant);color:var(--primary)}.extend>span{display:none}.extend:is(:hover,.active){inline-size:auto;--_padding: 1.5rem;padding:0 var(--_padding)}.extend:is(:hover,.active)>i+span{display:inherit;margin-inline-start:var(--_padding)}.extend:is(:hover,.active)>:is(img,svg)+span{display:inherit;margin-inline-start:calc(1rem + var(--_padding))}:is(.button,button)[disabled]{opacity:.5;cursor:not-allowed}.button[disabled]{pointer-events:none}:is(.button,button)[disabled]:before,:is(.button,button)[disabled]:after{display:none}:is(.button,button):not(.chip,.extend).fill{background-color:var(--secondary-container)!important;color:var(--on-secondary-container)!important}:is(.button,button):not(.chip,.extend).active{background-color:var(--primary-container);color:var(--on-primary-container)}:is(.button,button):not(.chip,.extend).fill.active{background-color:var(--secondary)!important;color:var(--on-secondary)!important}:is(.button,button):not(.chip,.extend).border.active{background-color:var(--inverse-surface)!important;color:var(--inverse-on-surface)!important;border-color:var(--inverse-surface)!important}:is(.button,button):not(.chip):active,:is(.button,button):not(.chip).active{border-radius:.5rem!important}article{--_padding: 1rem;box-shadow:var(--elevate1);background-color:var(--surface-container-low);color:var(--on-surface);padding:var(--_padding);border-radius:.75rem;display:block;transition:transform var(--speed3),border-radius var(--speed3),padding var(--speed3)}article.small{block-size:12rem}article.medium{block-size:20rem}article.large{block-size:32rem}article.border{box-shadow:none;border:.0625rem solid var(--outline-variant)}.chip{--_padding: .75rem;--_size: 2rem;box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;block-size:var(--_size);min-inline-size:var(--_size);font-size:.875rem;font-weight:500;background-color:transparent;border:.0625rem solid var(--outline-variant);color:var(--on-surface-variant);padding:0 var(--_padding);margin:0 .5rem;text-transform:none;border-radius:.5rem;transition:transform var(--speed3),border-radius var(--speed3),padding var(--speed3);-webkit-user-select:none;user-select:none;gap:.5rem;line-height:normal;letter-spacing:normal}.chip.medium{--_size: 2.5rem;--_padding: 1rem}.chip.large{--_padding: 1.25rem;--_size: 3rem}.chip.fill{border:none}dialog{--_padding: 1.5rem;display:block;visibility:hidden;border:none;opacity:0;position:fixed;box-shadow:var(--elevate2);color:var(--on-surface);background-color:var(--surface-container-high);padding:var(--_padding);z-index:100;inset:10% auto auto 50%;min-inline-size:20rem;max-inline-size:100%;max-block-size:80%;overflow-x:hidden;overflow-y:auto;transition:all var(--speed3),0s background-color;border-radius:1.75rem;transform:translate(-50%,-4rem);outline:none}dialog.small{inline-size:25%;block-size:25%}dialog.medium{inline-size:50%;block-size:50%}dialog.large{inline-size:75%;block-size:75%}dialog:is(.active,[open]){visibility:visible;opacity:1;transform:translate(-50%)}dialog:popover-open{visibility:visible;opacity:1;transform:translate(-50%)}dialog:is(.top,.right,.bottom,.left,.max){--_padding: 1rem;padding:calc(var(--top) + var(--_padding)) calc(var(--right) + var(--_padding)) calc(var(--bottom) + var(--_padding)) calc(var(--left) + var(--_padding))}dialog:is(.top,.bottom){opacity:1;block-size:auto;inline-size:100%;min-inline-size:auto;max-block-size:100%}dialog.top{inset:0 auto auto 0;transform:translateY(-100%);border-radius:0 0 1rem 1rem;padding-block-end:var(--_padding)}dialog.bottom{inset:auto auto 0 0;transform:translateY(100%);border-radius:1rem 1rem 0 0}dialog:is(.left,.right){opacity:1;inset:0 auto auto 0;inline-size:auto;block-size:100%;max-block-size:100%;background-color:var(--surface)}[dir=rtl] dialog.right,dialog.left{inset:0 auto auto 0;border-radius:0 1rem 1rem 0;transform:translate(-100%)}[dir=rtl] dialog.left,dialog.right{inset:0 0 auto auto;border-radius:1rem 0 0 1rem;transform:translate(100%)}dialog.max{inset:0 auto auto 0;inline-size:100%;block-size:100%;max-inline-size:100%;max-block-size:100%;transform:translateY(4rem);background-color:var(--surface);border-radius:0}dialog:not(.left,.right,.top,.bottom,.max){--top: 0rem;--bottom: 0rem;--left: 0rem;--right: 0rem}dialog:is(.active,[open]):is(.left,.right,.top,.bottom,.max){transform:translate(0)}dialog:popover-open:is(.left,.right,.top,.bottom,.max){transform:translate(0)}dialog.small:is(.left,.right){inline-size:20rem}dialog.medium:is(.left,.right){inline-size:32rem}dialog.large:is(.left,.right){inline-size:44rem}dialog.small:is(.top,.bottom){block-size:16rem}dialog.medium:is(.top,.bottom){block-size:24rem}dialog.large:is(.top,.bottom){block-size:32rem}hr,[class*=divider]{all:unset;min-inline-size:1.5rem;min-block-size:auto;block-size:.0625rem;background-color:var(--outline-variant);display:block}hr+*,[class*=divider]+*{margin:0!important}hr.medium,.medium-divider{margin:1rem 0!important}hr.large,.large-divider{margin:1.5rem 0!important}hr.small,.small-divider{margin:.5rem 0!important}hr.vertical,.divider.vertical{min-inline-size:auto;min-block-size:1.5rem;inline-size:.0625rem}summary,summary:focus{list-style-type:none;cursor:pointer;outline:none}summary::-webkit-details-marker{display:none}.field{--_size: 3rem;--_start: 1.2rem;block-size:var(--_size);margin-block-end:2rem;border-radius:.25rem .25rem 0 0}.grid>*>.field{margin-block-end:1rem}.grid>*>.field+.field{margin-block-start:2rem}.grid.no-space>*>.field+.field{margin-block-start:1rem}.grid.medium-space>*>.field+.field{margin-block-start:2.5rem}.grid.large-space>*>.field+.field{margin-block-start:3rem}.field.small{--_size: 2.5rem;--_start: 1rem}.field.large{--_size: 3.5rem;--_start: 1.4rem}.field.extra{--_size: 4rem;--_start: 1.6rem}.field.border{border-radius:.25rem}.field.round.small{border-radius:1.25rem}.field.round{border-radius:1.5rem}.field.round.large{border-radius:1.75rem}.field.round.extra{border-radius:2rem}.field>:is(i,img,svg,progress,a:not(.helper,.error)){position:absolute;inset:50% auto auto auto;transform:translateY(-50%);cursor:pointer;z-index:0;inline-size:1.5rem;block-size:1.5rem}.field>:is(i,img,svg,progress,a:not(.helper,.error)),[dir=rtl] .field>:is(i,img,svg,progress,a:not(.helper,.error)):first-child{inset:50% 1rem auto auto}.field>:is(i,img,svg,progress,a:not(.helper,.error)):first-child,[dir=rtl] .field>:is(i,img,svg,progress,a:not(.helper,.error)){inset:50% auto auto 1rem}.field.invalid>i{color:var(--error)}.field>progress.circle{inset-block-start:calc(50% - .75rem)!important;border-width:.1875rem}.field>a:not(.helper,.error){z-index:10}.field>a>:is(i,img,svg,progress,a:not(.helper,.error)){inline-size:1.5rem;block-size:1.5rem}.field>:is(input,textarea,select){all:unset;position:relative;display:flex;align-items:center;box-sizing:border-box;border-radius:inherit;border:.0625rem solid transparent;padding:0 .9375rem;font-family:inherit;font-size:1rem;inline-size:100%;block-size:100%;outline:none;z-index:1;background:none;resize:none;text-align:start;cursor:text}input::-webkit-date-and-time-value{text-align:start}:is(input,select,textarea):is(:-webkit-autofill,:autofill){-webkit-background-clip:text;-webkit-text-fill-color:var(--on-surface)}.field>:is(input,textarea,select):focus{border:.125rem solid transparent;padding:0 .875rem}.field.min>textarea{overflow:hidden;position:absolute;top:0;right:0;bottom:0;left:0;max-block-size:12rem}input[type=file],input[type=color],:not(.field)>input[type^=date],:not(.field)>input[type^=time],input::-webkit-calendar-picker-indicator{opacity:0;position:absolute;top:0;right:0;bottom:0;left:0;inline-size:100%;block-size:100%;margin:0;padding:0;border:0;outline:0;z-index:2!important}input::-webkit-search-decoration,input::-webkit-search-cancel-button,input::-webkit-search-results-button,input::-webkit-search-results-decoration,input::-webkit-inner-spin-button,input::-webkit-outer-spin-button{display:none}input[type=number]{-webkit-appearance:textfield;-moz-appearance:textfield;appearance:textfield}.field.border>:is(input,textarea,select){border-color:var(--outline)}.field.border>:is(input,textarea,select):focus{border-color:var(--primary)}.field.round>:is(input,textarea,select){padding-inline:1.4376rem}.field.round>:is(input,textarea,select):focus{padding-inline:1.375rem}.field.prefix>:is(input,textarea,select){padding-inline-start:2.9375rem}.field.prefix>.slider{margin-inline-start:3.5rem}.field.prefix>:is(input,textarea,select):focus{padding-inline-start:2.875rem}.field.suffix>:is(input,textarea,select){padding-inline-end:2.9375rem}.field.suffix>.slider{margin-inline-end:3.5rem}.field.suffix>:is(input,textarea,select):focus{padding-inline-end:2.875rem}.field:not(.border,.round)>:is(input,textarea,select){border-block-end-color:var(--outline)}.field:not(.border,.round)>:is(input,textarea,select):focus{border-block-end-color:var(--primary)}.field.round:not(.border,.fill)>:is(input,textarea,select),.field.round:not(.border)>:is(input,textarea,select):focus{box-shadow:var(--elevate1)}.field.round:not(.border,.fill)>:is(input,textarea,select):focus{box-shadow:var(--elevate2)}.field.invalid:not(.border,.round)>:is(input,textarea,select),.field.invalid:not(.border,.round)>:is(input,textarea,select):focus{border-block-end-color:var(--error)}.field.invalid.border>:is(input,textarea,select),.field.invalid.border>:is(input,textarea,select):focus{border-color:var(--error)}.field:has(>:disabled){opacity:.5;cursor:not-allowed}.field>:disabled{cursor:not-allowed}.field.textarea.small:not(.min){--_size: 5rem}.field.textarea:not(.min){--_size: 5.5rem}.field.textarea.large:not(.min){--_size: 6rem}.field.textarea.extra:not(.min){--_size: 6.5rem}.field>select{-webkit-user-select:none;user-select:none}.field>select>option{background-color:var(--surface-container);color:var(--on-surface)}.field.label>:is(input,select){padding-block-start:1rem}.field.label.border:not(.fill)>:is(input,select){padding-block-start:0}.field>textarea{padding-block-start:var(--_start);white-space:pre-wrap}.field>textarea:focus{padding-block-start:calc(var(--_start) - .06rem)}.field:not(.label)>textarea,.field.border.label:not(.fill)>textarea{padding-block-start:calc(var(--_start) - .5rem)}.field:not(.label)>textarea:focus,.field.border.label:not(.fill)>textarea:focus{padding-block-start:calc(var(--_start) - .56rem)}.field.label>label{position:absolute;inset:-.5rem auto auto 1rem;display:flex;inline-size:calc(100% - 5rem);block-size:calc(var(--_size) + 1rem);line-height:calc(var(--_size) + 1rem);font-size:1rem;transition:all .2s;gap:.25rem;white-space:nowrap}.field.label.textarea:not(.min)>label{block-size:calc(var(--_size) - 1.5rem);line-height:calc(var(--_size) - 1.5rem)}[dir=rtl] .field.label>label{inset:-.5rem 1rem auto auto}.field.label.border.prefix:not(.fill)>:is(label.active,:focus+label,[placeholder]:not(:placeholder-shown)+label,select+label){inset-inline-start:1rem}.field.label.round>label,.field.label.border.prefix.round:not(.fill)>:is(label.active,:focus+label,[placeholder]:not(:placeholder-shown)+label,select+label){inset-inline-start:1.5rem}.field.label.prefix>label{inset-inline-start:3rem}.field.label>:is(label.active,:focus+label,[placeholder]:not(:placeholder-shown)+label,select+label){block-size:2.5rem;line-height:2.5rem;font-size:.75rem}.field.label.border:not(.fill)>:is(label.active,:focus+label,[placeholder]:not(:placeholder-shown)+label,select+label){block-size:1rem;line-height:1rem}.field.label.border:not(.fill)>label:after{content:"";display:block;margin-block-start:.5rem;border-block-start:.0625rem solid var(--outline);block-size:1rem;transition:none;flex:auto}.field.label.border:not(.fill)>:focus+label:after{border-block-start:.125rem solid var(--primary)}.field.label.border:not(.fill)>:is(input,textarea):is(:focus,[placeholder]:not(:placeholder-shown),.active),.field.label.border:not(.fill)>select{clip-path:polygon(-2% -2%,.75rem -2%,.75rem .5rem,calc(100% - 5rem) .5rem,calc(100% - 5rem) -2%,102% -2%,102% 102%,-2% 102%)}[dir=rtl] .field.label.border:not(.fill)>:is(input,textarea):is(:focus,[placeholder]:not(:placeholder-shown),.active),[dir=rtl] .field.label.border:not(.fill)>select{clip-path:polygon(-2% -2%,5rem -2%,5rem .5rem,calc(100% - .75rem) .5rem,calc(100% - .75rem) -2%,102% -2%,102% 102%,-2% 102%)}.field.label.border.round:not(.fill)>:is(input,textarea):is(:focus,[placeholder]:not(:placeholder-shown),.active),.field.label.border.round:not(.fill)>select{clip-path:polygon(-2% -2%,1.25rem -2%,1.25rem .5rem,calc(100% - 5rem) .5rem,calc(100% - 5rem) -2%,102% -2%,102% 102%,-2% 102%)}[dir=rtl] .field.label.border.round:not(.fill)>:is(input,textarea):is(:focus,[placeholder]:not(:placeholder-shown),.active),[dir=rtl] .field.label.border.round:not(.fill)>select{clip-path:polygon(-2% -2%,5rem -2%,5rem .5rem,calc(100% - 1.25rem) .5rem,calc(100% - 1.25rem) -2%,102% -2%,102% 102%,-2% 102%)}.field.label>:focus+label{color:var(--primary)}.field.label.invalid>label,.field.label.invalid>label:after{color:var(--error)!important;border-color:var(--error)!important}.field.label>label>a{block-size:inherit;line-height:inherit;inline-size:1rem}.field.label>label>a>:is(i,img,svg){block-size:1rem;line-height:1rem;inline-size:1rem;font-size:1rem}.field>:is(.helper,.error){position:absolute;inset:auto auto 0 1rem;transform:translateY(100%);font-size:.75rem;background:none!important;padding-block-start:.125rem}[dir=rtl] .field>:is(.helper,.error){inset:auto 1rem 0 auto}a.helper{color:var(--primary)}.field>.error{color:var(--error)!important}.field.round>:is(.helper,.error){inset-inline-start:1.5rem}.field.invalid>.helper{display:none}table td>.field{margin:0}fieldset{border-radius:.25rem;padding:1rem;border:.0625rem solid var(--outline-variant)}fieldset>legend{margin:0 -.25rem;padding:0 .25rem}fieldset>legend+*{margin-block-start:0!important}.grid{--_gap: 1rem;display:grid;grid-template-columns:repeat(12,calc(8.33% - var(--_gap) + (var(--_gap) / 12)));gap:var(--_gap);block-size:auto}.grid.no-space{--_gap: 0rem}.grid.medium-space{--_gap: 1.5rem}.grid.large-space{--_gap: 2rem}.grid>*{margin:0}.s1{grid-area:auto/span 1}.s2{grid-area:auto/span 2}.s3{grid-area:auto/span 3}.s4{grid-area:auto/span 4}.s5{grid-area:auto/span 5}.s6{grid-area:auto/span 6}.s7{grid-area:auto/span 7}.s8{grid-area:auto/span 8}.s9{grid-area:auto/span 9}.s10{grid-area:auto/span 10}.s11{grid-area:auto/span 11}.s12{grid-area:auto/span 12}@media only screen and (min-width: 601px){.m1{grid-area:auto/span 1}.m2{grid-area:auto/span 2}.m3{grid-area:auto/span 3}.m4{grid-area:auto/span 4}.m5{grid-area:auto/span 5}.m6{grid-area:auto/span 6}.m7{grid-area:auto/span 7}.m8{grid-area:auto/span 8}.m9{grid-area:auto/span 9}.m10{grid-area:auto/span 10}.m11{grid-area:auto/span 11}.m12{grid-area:auto/span 12}}@media only screen and (min-width: 993px){.l1{grid-area:auto/span 1}.l2{grid-area:auto/span 2}.l3{grid-area:auto/span 3}.l4{grid-area:auto/span 4}.l5{grid-area:auto/span 5}.l6{grid-area:auto/span 6}.l7{grid-area:auto/span 7}.l8{grid-area:auto/span 8}.l9{grid-area:auto/span 9}.l10{grid-area:auto/span 10}.l11{grid-area:auto/span 11}.l12{grid-area:auto/span 12}}i,:is(.checkbox,.radio,.switch)>span:before,:is(.checkbox,.radio,.switch)>span>i{--_size: 1.5rem;font-family:var(--font-icon);font-weight:400;font-style:normal;font-size:var(--_size);letter-spacing:normal;text-transform:none;display:inline-flex;align-items:center;justify-content:center;white-space:nowrap;word-wrap:normal;direction:ltr;font-feature-settings:"liga";-webkit-font-smoothing:antialiased;vertical-align:middle;text-align:center;overflow:hidden;inline-size:var(--_size);min-inline-size:var(--_size);block-size:var(--_size);min-block-size:var(--_size);box-sizing:content-box;line-height:normal;border-radius:0}i.tiny{--_size: 1rem}.chip>i,i.small{--_size: 1.25rem}i.medium{--_size: 1.5rem}i.large{--_size: 1.75rem}i.extra{--_size: 2rem}i.fill,a.row:is(:hover,:focus)>i,.transparent:is(:hover,:focus)>i{font-variation-settings:"FILL" 1}i>:is(img,svg){inline-size:100%;block-size:100%;background-size:100%;border-radius:inherit;position:absolute;inset:0 auto auto 0;padding:inherit}i[class*=fa-]{font-size:calc(var(--_size) * .85);line-height:normal;block-size:auto;min-block-size:auto}.absolute{position:absolute}.fixed{position:fixed}:is(.absolute,.fixed).left.right{inline-size:auto}:is(.absolute,.fixed).left.right.small{block-size:20rem}:is(.absolute,.fixed).left.right.medium{block-size:28rem}:is(.absolute,.fixed).left.right.large{block-size:44rem}:is(.absolute,.fixed).top.bottom.small{inline-size:20rem}:is(.absolute,.fixed).top.bottom.medium{inline-size:28rem}:is(.absolute,.fixed).top.bottom.large{inline-size:44rem}.list{display:flex;flex-direction:column;padding:0;margin:0;flex:1}.list>li,.list>li>details>summary,.list>li>a:only-child{all:unset;box-sizing:border-box;position:relative;display:flex;align-items:center;align-self:normal;text-align:start;justify-content:flex-start;white-space:nowrap;gap:1rem;min-block-size:3.5rem;padding:.5rem 1rem;cursor:pointer;flex:1}.list>li:has(ul,ol,details[open],a:only-child){padding:0}.list>li>.list{padding:0 0 0 1rem}.list>li>*,.list>li>a:only-child>*,.list>li>details>summary>*{margin:0}.list>li>:is(details,.max),.list>li>a:only-child>.max,.list>li>details>summary>.max{flex:1}.list.border>li:not(:last-child):before,.list.border>li>details[open]>summary:before{content:"";position:absolute;background-color:var(--outline-variant);inset:auto 0 0 0;block-size:.0625rem;inline-size:auto}.list.no-space>li,.list.no-space>li>details>summary{min-block-size:2.5rem}.list.medium-space>li,.list.medium-space>li>details>summary{min-block-size:4.5rem}.list.large-space>li,.list.large-space>li>details>summary{min-block-size:5.5rem}main{flex:1;padding:.5rem;overflow-x:hidden}:has(>main){--_top: 0rem;--_bottom: 0rem;--_left: 0rem;--_right: 0rem;display:flex;flex-direction:column;min-block-size:calc(100vh - var(--top) - var(--_top) - var(--bottom) - var(--_bottom));box-sizing:border-box;background-color:var(--surface);margin-block:calc(var(--top) + var(--_top)) calc(var(--bottom) + var(--_bottom));margin-inline:calc(var(--left) + var(--_left)) calc(var(--right) + var(--_right))}:has(>nav.top:not(.s,.m,.l)){--_top: 5rem}:has(>nav.bottom:not(.s,.m,.l)){--_bottom: 5rem}:has(>nav.left:not(.s,.m,.l)){--_left: 5rem}:has(>nav.right:not(.s,.m,.l)){--_right: 5rem}:has(>nav.drawer.left:not(.s,.m,.l)){--_left: 20rem}:has(>nav.drawer.right:not(.s,.m,.l)){--_right: 20rem}:not(main):has(>aside){overflow:auto}aside{z-index:1}aside:not(.fixed,.absolute).right{float:right}aside:not(.fixed,.absolute).left{float:left}@media only screen and (max-width: 600px){:has(>nav.bottom.s){--_bottom: 5rem}:has(>nav.top.s){--_top: 5rem}:has(>nav.left.s){--_left: 5rem}:has(>nav.right.s){--_right: 5rem}:has(>nav.drawer.left.s){--_left: 20rem}:has(>nav.drawer.right.s){--_right: 20rem}}@media only screen and (min-width: 601px) and (max-width: 992px){:has(>nav.bottom.m){--_bottom: 5rem}:has(>nav.top.m){--_top: 5rem}:has(>nav.left.m){--_left: 5rem}:has(>nav.right.m){--_right: 5rem}:has(>nav.drawer.left.m){--_left: 20rem}:has(>nav.drawer.right.m){--_right: 20rem}}@media only screen and (min-width: 993px){:has(>nav.bottom.l){--_bottom: 5rem}:has(>nav.top.l){--_top: 5rem}:has(>nav.left.l){--_left: 5rem}:has(>nav.right.l){--_right: 5rem}:has(>nav.drawer.left.l){--_left: 20rem}:has(>nav.drawer.right.l){--_right: 20rem}}svg{fill:currentcolor}:is(img,svg,video):is(.small,.medium,.large,.tiny,.extra,.round,.circle,.square,.responsive){--_size: 3rem;object-fit:cover;object-position:center;transition:transform var(--speed3),border-radius var(--speed3),padding var(--speed3);block-size:var(--_size);inline-size:var(--_size)}:is(img,svg,video).round{--_round: .5rem}:is(img,svg,video).tiny{--_size: 2rem}:is(img,svg,video).small{--_size: 2.5rem}:is(img,svg,video).large{--_size: 3.5rem}:is(img,svg,video).extra{--_size: 4rem}:is(img,svg,video).responsive{--_size: 100%;margin:0 auto}:is(img,svg,video).responsive.tiny{inline-size:100%;block-size:4rem}:is(img,svg,video).responsive.small{inline-size:100%;block-size:8rem}:is(img,svg,video).responsive.medium{inline-size:100%;block-size:12rem}:is(img,svg,video).responsive.large{inline-size:100%;block-size:16rem}:is(img,svg,video).responsive.extra{inline-size:100%;block-size:20rem}:is(img,svg,video).responsive.round{--_round: 2rem}:is(img,svg,video).empty-state{max-inline-size:100%;inline-size:24rem}:is(button,.button,.chip):not(.transparent)>.responsive{border:.25rem solid transparent}:is(button,.button,.chip,.field)>:is(img,svg):not(.responsive),.tabs :is(img,svg):not(.responsive){min-inline-size:1.5rem;max-inline-size:1.5rem;min-block-size:1.5rem;max-block-size:1.5rem}:is(button,.button,.chip)>.responsive:first-child{margin-inline-start:calc(-1 * var(--_padding))}:is(button,.button,.chip)>.responsive:not(:first-child){margin-inline-end:calc(-1 * var(--_padding))}:is(.circle,.square,.extend)>.responsive{--_size: inherit;margin:0!important}.extend>:is(.responsive,i){margin:0;position:absolute;inset-inline:1rem;z-index:1}.extend>.responsive{inset-inline:0;inline-size:3.5rem}.extend.border>.responsive{inline-size:3.375rem}menu{opacity:0;visibility:hidden;position:absolute;box-shadow:var(--elevate2);background-color:var(--surface-container);z-index:11;inset:auto auto 0 0;inline-size:100%;max-block-size:50vh;max-inline-size:none!important;overflow-x:hidden;overflow-y:auto;font-size:.875rem;font-weight:400;text-transform:none;color:var(--on-surface);line-height:normal;text-align:start;border-radius:.25rem;transform:scale(.8) translateY(120%);transition:all var(--speed2),0s background-color;justify-content:flex-start}[dir=rtl] menu{inset:auto 0 0 auto}menu.no-wrap{inline-size:max-content;white-space:nowrap!important}menu.active,:not(menu,[data-ui]):focus-within>menu,menu>li:hover>menu,menu>li>menu:hover{opacity:1;visibility:visible;transform:scale(1) translateY(100%)}menu.active.top,:not(menu,[data-ui]):focus-within>menu.top,menu>li:hover>menu.top,menu>li>menu.top:hover{transform:scale(1) translateY(-100%)}menu *{white-space:inherit!important}menu>li,menu>li>a:only-child{all:unset;box-sizing:border-box;position:relative;display:flex;align-items:center;align-self:normal;text-align:start;justify-content:inherit;white-space:nowrap;gap:1rem;padding:.5rem 1rem;min-block-size:3rem;flex:1;margin:0!important;cursor:pointer}menu>li:is(:hover,:focus,.active){background-color:var(--active)}menu>li>:is(.max,.field),menu>li>a:only-child>.max,menu>li:has(.field,a:only-child){flex:1;padding:0;margin:0}menu.min{inset:0 0 auto 0;transform:none!important;background-color:var(--surface-variant)!important;color:var(--on-surface-variant)!important}[dir=rtl] menu.min.right,menu.min.left,menu.top.left{inset:0 0 auto auto}[dir=rtl] menu.min.left,menu.min.right,menu.top,menu.top.right{inset:0 auto auto 0}menu.max{position:fixed;top:0;right:0;bottom:0;left:0;block-size:100%;max-block-size:none;min-block-size:auto;z-index:100;transform:none!important;background-color:var(--surface-variant)!important;color:var(--on-surface-variant)!important;border-radius:0}menu.no-wrap:is(.min,.max){min-inline-size:16rem}[dir=rtl] menu.right,[dir=rtl] menu.top.min.right,menu.left,menu.top.min.left{inset:auto 0 0 auto}[dir=rtl] menu.left,[dir=rtl] menu.top.min.left,menu.right,menu.top.min{inset:auto auto 0 0}menu.top{transform:scale(.8) translateY(-120%)}menu:has(menu){--_child: 1;--_type: 0;overflow:unset;white-space:nowrap;inline-size:auto;min-inline-size:12rem;max-block-size:none}menu>li>:is(menu,menu.right),[dir=rtl] menu>li>menu.left{inset:auto auto calc(3rem * (var(--_child) - var(--_type))) 100%}[dir=rtl] menu>li>:is(menu,menu.right),menu>li>menu.left{inset:auto 100% calc(3rem * (var(--_child) - var(--_type))) auto}menu>li>:is(menu.top,menu.top.right),[dir=rtl] menu>li>menu.top.left{inset:calc(3rem * (var(--_child) - var(--_type))) auto auto 100%}[dir=rtl] menu>li>:is(menu.top,menu.top.right),menu>li>menu.top.left{inset:calc(3rem * (var(--_child) - var(--_type))) 100% auto auto}menu.no-space>li{min-block-size:2.5rem}menu.medium-space>li{min-block-size:3.5rem}menu.large-space>li{min-block-size:4rem}menu.border>li:not(:last-child):before{content:"";position:absolute;background-color:var(--outline-variant);inset:auto 0 0 0;block-size:.0625rem;inline-size:auto}menu.transparent{margin:0 -1rem!important;padding:.5rem}menu.transparent>li{background-color:inherit;box-shadow:none;padding:0}menu>li:nth-last-child(2){--_child: 2}menu>li:nth-last-child(3){--_child: 3}menu>li:nth-last-child(4){--_child: 4}menu>li:nth-last-child(5){--_child: 5}menu>li:nth-last-child(6){--_child: 6}menu>li:nth-last-child(7){--_child: 7}menu>li:nth-last-child(8){--_child: 8}menu>li:nth-last-child(9){--_child: 9}menu>li:nth-last-child(10){--_child: 10}menu>li:nth-last-child(11){--_child: 11}menu>li:nth-last-of-type(2){--_type: 1}menu>li:nth-last-of-type(3){--_type: 2}menu>li:nth-last-of-type(4){--_type: 3}menu>li:nth-last-of-type(5){--_type: 4}menu>li:nth-last-of-type(6){--_type: 5}menu>li:nth-last-of-type(7){--_type: 6}menu>li:nth-last-of-type(8){--_type: 7}menu>li:nth-last-of-type(9){--_type: 8}menu>li:nth-last-of-type(10){--_type: 9}menu>li:nth-last-of-type(11){--_type: 10}nav>:is(ol,ul),nav>:is(ol,ul)>li{all:unset}nav,.row,a.row,nav.drawer>:is(a,label),nav.drawer>:is(ol,ul)>li>:is(a,label){display:flex;align-items:center;align-self:normal;text-align:start;justify-content:flex-start;white-space:nowrap;gap:1rem;border-radius:0}a.row,nav.row{min-block-size:3rem;margin:0}:is(nav,.row,.max)>:only-child,nav>:is(ol,ul)>li>:only-child{margin:0}:is(nav,.row)>:not(ul,ol){margin:0;white-space:normal;flex:none}:is(nav,.row).min{display:inline-flex}:is(nav,.row,li).no-space{gap:0}:is(nav,.row,li).tiny-space{gap:.5rem}:is(nav,.row,li).medium-space{gap:1.5rem}:is(nav,.row,li).large-space{gap:2rem}:is(nav,.row)>.max,:is(nav,.row)>:is(ol,ul)>.max,nav.drawer>:is(a,label)>.max,nav.drawer>:is(ol,ul)>li>:is(a,label)>.max{flex:1}:is(nav,.row).wrap{display:flex;flex-wrap:wrap}:is(header,footer)>:is(nav,.row){min-block-size:inherit}nav:is(.left,.right,.top,.bottom){border:0;position:fixed;color:var(--on-surface);transform:none;z-index:100;block-size:auto;inline-size:auto;text-align:center;padding:calc(var(--top) + .5rem) calc(var(--right) + 1rem) calc(var(--bottom) + .5rem) calc(var(--left) + 1rem);margin:0}nav:is(.left,.right){justify-content:flex-start;flex-direction:column;background-color:var(--surface)}nav:is(.top,.bottom){justify-content:center;flex-direction:row;background-color:var(--surface-container)}nav.top{block-size:calc(var(--top) + 5rem);inset:0 0 auto 0;padding-block-end:.5rem}nav.left,[dir=rtl] nav.right{inline-size:calc(var(--left) + 5rem);inset:0 auto 0 0;padding-inline-end:1rem}[dir=rtl] nav.right{padding-inline-end:calc(var(--left) + 1rem)}nav.right,[dir=rtl] nav.left{inline-size:calc(var(--right) + 5rem);inset:0 0 0 auto;padding-inline-start:1rem}[dir=rtl] nav.left{padding-inline-start:calc(var(--right) + 1rem)}nav.bottom{min-block-size:calc(var(--bottom) + 5rem);inset:auto 0 0 0;padding-block-start:.5rem}nav.drawer,[dir=rtl] nav.drawer{flex-direction:column;align-items:normal;inline-size:20rem;gap:0}nav.drawer:not(.left,.right,.top,.bottom){padding:.5rem 1rem}dialog>nav.drawer:not(.left,.right,.top,.bottom){padding:0 1rem;background-color:inherit}nav.drawer:is(.min,.max){inline-size:auto}nav.drawer.max{inline-size:100%}nav.drawer>:is(a,label),nav.drawer>:is(ol,ul)>li>:is(a,label),:is(a.row,nav.row):is(.wave,.slow-ripple,.ripple,.fast-ripple){padding:.75rem;font-size:inherit}nav.drawer>a,nav.drawer>:is(ol,ul)>li>a{border-radius:2rem}nav.drawer>a:is(:hover,.active),nav.drawer>:is(ol,ul)>li>a:is(:hover,.active){background-color:var(--secondary-container)}nav.drawer>a:is(:hover,:focus,.active)>i,nav.drawer>:is(ol,ul)>li>a:is(:hover,:focus,.active)>i{font-variation-settings:"FILL" 1}nav>:is(ol,ul){all:inherit;flex:auto}nav:not(.left,.right,.bottom,.top)>:is(ol,ul){padding:0}nav:is(.left,.right,.top,.bottom):not(.drawer)>a:not(.button,.chip),nav:is(.left,.right,.top,.bottom):not(.drawer)>:is(ol,ul)>li>a:not(.button,.chip){align-self:center;display:flex;flex-direction:column;gap:.25rem;line-height:normal}nav:is(.top,.bottom):not(.drawer)>a:not(.button,.chip),nav:is(.top,.bottom):not(.drawer)>:is(ol,ul)>li>a:not(.button,.chip){inline-size:3.5rem}nav:is(.left,.right,.top,.bottom):not(.drawer)>a:not(.button,.chip)>i,nav:is(.left,.right,.top,.bottom):not(.drawer)>:is(ol,ul)>li>a:not(.button,.chip)>i{padding:.25rem;border-radius:2rem;transition:padding var(--speed1) linear;margin:0 auto}nav:is(.left,.right,.top,.bottom):not(.drawer)>a:not(.button,.chip):is(:hover,:focus,.active)>i,nav:is(.left,.right,.top,.bottom):not(.drawer)>:is(ol,ul)>li>a:not(.button,.chip):is(:hover,:focus,.active)>i{background-color:var(--secondary-container);color:var(--on-secondary-container);padding:.25rem 1rem;font-variation-settings:"FILL" 1}:is(nav,.row):is(.left-align,.top-align,.vertical){justify-content:flex-start}:is(nav,.row):is(.right-align,.bottom-align){justify-content:flex-end}:is(nav,.row):is(.center-align,.middle-align){justify-content:center}:is(nav,.row):is(.left-align,.top-align,.vertical).vertical{align-items:flex-start}:is(nav,.row):is(.right-align,.bottom-align).vertical{align-items:flex-end}:is(nav,.row):is(.center-align,.middle-align).vertical{align-items:center}:is(.drawer,.vertical)>:is(li,[class*=divider],hr):not(.vertical),:is(.drawer,.vertical)>:is(ol,ul)>li:not(.vertical){align-self:stretch}nav:not(.left,.right)>.space{inline-size:.5rem}nav:not(.left,.right)>.medium-space{inline-size:1rem}nav:not(.left,.right)>.large-space{inline-size:1.5rem}nav.tabbed{background-color:var(--surface-container);border-radius:4rem!important;gap:0rem;block-size:4rem}nav.tabbed.small{block-size:3rem}nav.tabbed.large{block-size:5rem}nav.tabbed>a{border-radius:inherit;block-size:inherit;display:inline-flex;align-items:center;padding-inline:1rem;gap:.5rem;font-size:1rem;flex:1}nav.tabbed>a.active{background-color:var(--primary-container)}nav.toolbar{display:inline-flex;justify-content:space-around;border-radius:2rem;background-color:var(--surface-container);color:var(--on-surface);padding:0 1rem;gap:.5rem;min-block-size:4rem;min-inline-size:4rem}nav.toolbar>a{display:inline-flex;gap:.5rem;min-inline-size:2.5rem;min-block-size:2.5rem;border-radius:1.75rem}nav.toolbar>a:has(>:not(i)){padding:0 1rem}nav.toolbar>a.active{background-color:var(--secondary-container);color:var(--on-secondary-container)}nav.toolbar.fill{background-color:var(--primary-container)!important;color:var(--on-primary-container)!important}nav.toolbar.fill>a.active{background-color:var(--surface-container)!important;color:var(--on-surface)!important}nav.toolbar.vertical{flex-direction:column!important;min-inline-size:4rem;padding:1rem 0;align-self:center;align-items:center!important}nav.toolbar.vertical>a{inline-size:2.5rem;block-size:2.5rem}nav.toolbar.vertical>a>:is(div,span):not(.badge,.tooltip){display:none}nav.toolbar.max{border-radius:0;display:flex}nav.group{gap:.125rem}nav.group>:is(.button,button):not(.chip,.fill,.border).active{background-color:var(--primary);color:var(--on-primary)}nav.group>:is(.button,button):not(.chip,.fill,.border){background-color:var(--surface-container);color:var(--on-surface-container)}nav.group>:is(.button,button):not(.chip).active{border-radius:2rem!important}:not(nav)>:is(ul,ol){all:revert}:is(.scroll,.no-scroll,.no-space,.tabs,.tabbed)>:focus-visible{outline:.125rem solid var(--primary);outline-offset:-.125rem}@media only screen and (max-width: 600px){nav.top,nav.bottom{justify-content:space-around}}.overlay,dialog::backdrop{display:block!important;opacity:0;visibility:hidden;position:fixed;top:0;right:0;bottom:0;left:0;color:var(--on-surface);background-color:var(--overlay);z-index:100;transition:all var(--speed3),0s background-color}.overlay.active{opacity:1;visibility:visible}dialog:popover-open::backdrop{opacity:1;visibility:visible}.overlay+dialog::backdrop,.snackbar::backdrop{display:none}[popover]{border:0}.page{--_transform: translate(0, 0);opacity:0;position:absolute;display:none}.page.active{opacity:1;position:inherit;display:inherit;animation:var(--speed4) to-page ease}.page.active.top{--_transform: translate(0, -4rem)}.page.active.bottom{--_transform: translate(0, 4rem)}.page.active.left{--_transform: translate(-4rem, 0)}.page.active.right{--_transform: translate(4rem, 0)}@keyframes to-page{0%{opacity:0;transform:var(--_transform)}to{opacity:1;transform:translate(0)}}progress{position:relative;inline-size:100%;block-size:.5rem;color:var(--primary);background:var(--primary-container);border-radius:1rem;flex:none;border:none;overflow:hidden;writing-mode:horizontal-tb;direction:ltr;-webkit-appearance:none}progress.small{inline-size:4rem}progress.medium{inline-size:8rem}progress.large{inline-size:12rem}progress:not(.circle,[value]):after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;inline-size:100%;block-size:100%;clip-path:none;background:currentcolor;animation:1.6s to-linear ease infinite}progress:not(.circle,[value])::-moz-progress-bar{animation:1.6s to-linear ease infinite}progress:not(.circle,[value])::-webkit-progress-value{animation:1.6s to-linear ease infinite}progress::-webkit-progress-bar{background:none}progress::-webkit-progress-value{background:currentcolor}progress::-moz-progress-bar{background:currentcolor}progress.circle{display:inline-block;inline-size:2.5rem;block-size:2.5rem;border-radius:50%;border-width:.3rem;border-style:solid;border-color:currentcolor;animation:1.6s to-circular linear infinite;background:none;flex:none}progress.circle::-moz-progress-bar{background:none}progress.circle.small{inline-size:1.5rem;block-size:1.5rem;border-width:.2rem}progress.circle.large{inline-size:3.5rem;block-size:3.5rem;border-width:.4rem}:is(nav,.row,.field)>progress:not(.circle,.small,.medium,.large){flex:auto}progress.max{display:unset;position:absolute;inline-size:100%!important;block-size:100%!important;color:var(--active);background:none;top:0;right:0;bottom:0;left:0;border-radius:inherit;animation:none;writing-mode:horizontal-tb}progress:is(.horizontal,.vertical,.max){display:unset;inline-size:100%!important}progress.vertical{writing-mode:vertical-lr}progress.max.vertical{transform:rotate(-180deg)}progress.max+*{margin-block-start:0}:is(.button,button,.chip)>progress.circle{color:inherit}@supports (-moz-appearance:none){progress.max.vertical{transform:none}}@keyframes to-linear{0%{margin-inline-start:0%;inline-size:0%}50%{margin-inline-start:0%;inline-size:100%}to{margin-inline-start:100%;inline-size:0%}}@keyframes to-circular{0%{transform:rotate(0);clip-path:polygon(50% 50%,0% 0%,50% 0%,50% 0%,50% 0%,50% 0%,50% 0%,50% 0%,50% 0%)}20%{clip-path:polygon(50% 50%,0% 0%,50% 0%,100% 0%,100% 0%,100% 0%,100% 0%,100% 0%,100% 0%)}30%{clip-path:polygon(50% 50%,0% 0%,50% 0%,100% 0%,100% 50%,100% 50%,100% 50%,100% 50%,100% 50%)}40%{clip-path:polygon(50% 50%,0% 0%,50% 0%,100% 0%,100% 50%,100% 100%,100% 100%,100% 100%,100% 100%)}50%{clip-path:polygon(50% 50%,50% 0%,50% 0%,100% 0%,100% 50%,100% 100%,50% 100%,50% 100%,50% 100%)}60%{clip-path:polygon(50% 50%,100% 50%,100% 50%,100% 50%,100% 50%,100% 100%,50% 100%,0% 100%,0% 100%)}70%{clip-path:polygon(50% 50%,50% 100%,50% 100%,50% 100%,50% 100%,50% 100%,50% 100%,0% 100%,0% 50%)}80%{clip-path:polygon(50% 50%,0% 100%,0% 100%,0% 100%,0% 100%,0% 100%,0% 100%,0% 100%,0% 50%)}90%{transform:rotate(360deg);clip-path:polygon(50% 50%,0% 50%,0% 50%,0% 50%,0% 50%,0% 50%,0% 50%,0% 50%,0% 50%)}to{clip-path:polygon(50% 50%,0% 50%,0% 50%,0% 50%,0% 50%,0% 50%,0% 50%,0% 50%,0% 50%)}}.checkbox,.radio,.switch{--_size: 1.5rem;direction:ltr;inline-size:auto;block-size:auto;line-height:normal;white-space:nowrap;cursor:pointer;display:inline-flex;align-items:center}:is(.checkbox,.radio,.switch).small{--_size: 1rem}:is(.checkbox,.radio,.switch).large{--_size: 2rem}:is(.checkbox,.radio,.switch).extra{--_size: 2.5rem}:is(.checkbox,.radio)>input{inline-size:var(--_size);block-size:var(--_size);opacity:0}.switch>input{inline-size:3.25rem;block-size:2rem;opacity:0}:is(.checkbox,.radio,.switch)>span{display:inline-flex;align-items:center;color:var(--on-surface);font-size:.875rem}:is(.checkbox,.radio)>span:not(:empty){padding-inline-start:.25rem}:is(.checkbox,.radio,.switch)>span:before,:is(.checkbox,.radio,.switch)>span>i,:is(.checkbox,.radio)>span:after{--_size: inherit;content:"";inline-size:var(--_size);block-size:var(--_size);box-sizing:border-box;margin:0 auto;outline:none;color:var(--primary);position:absolute;inset:auto auto auto calc(var(--_size) * -1);border-radius:50%;-webkit-user-select:none;user-select:none;z-index:1}.switch>span:before,.switch.icon>span>i{position:absolute;inset:50% auto auto 0;display:inline-flex;align-items:center;justify-content:center;border-radius:50%;transition:all var(--speed2);font-size:calc(var(--_size) - .5rem);-webkit-user-select:none;user-select:none;min-inline-size:var(--_size);min-block-size:var(--_size);content:"";color:var(--surface-variant);background-color:var(--outline)}.switch>span:before,.switch.icon>span>i{transform:translate(-3rem,-50%) scale(.6)}.switch.icon>span>i{transform:translate(-3rem,-50%) scale(1)}.checkbox>span:before{content:"check_box_outline_blank"}.checkbox>input:checked+span:before{content:"check_box";font-variation-settings:"FILL" 1}.checkbox>input:indeterminate+span:before{content:"indeterminate_check_box"}.radio>span:before{content:"radio_button_unchecked"}.radio>input:checked+span:before{content:"radio_button_checked"}:is(.radio,.checkbox,.switch).icon>span:before{content:""!important;font-variation-settings:unset!important}:is(.checkbox,.radio)>span:after{transition:all var(--speed1);background-color:currentColor;box-shadow:0 0 0 0 currentColor;opacity:0}:is(.checkbox,.radio):is(:hover)>input:not(:disabled)+span:after,:is(.checkbox,.radio)>input:not(:disabled):is(:focus)+span:after{box-shadow:0 0 0 .5rem currentColor;opacity:.1}.switch>input:not(:disabled):is(:focus,:hover)+span:before,.switch.icon>input:not(:disabled):is(:focus,:hover)+span>i{box-shadow:0 0 0 .5rem var(--active)}:is(.checkbox,.radio)>input:checked+span:before,:is(.checkbox,.radio).icon>input:checked+span>i{color:var(--primary)}.icon>input:checked+span>i:first-child,.icon>span>i:last-child{opacity:0}.icon>input:checked+span>i:last-child,.icon>span>i:first-child{opacity:1}.switch>input:checked+span:after{border:none;background-color:var(--primary)}.switch>input:checked+span:before,.switch.icon>input:checked+span>i{content:"check";color:var(--primary);background-color:var(--on-primary);transform:translate(-1.75rem,-50%) scale(1)}.switch>input:active:not(:disabled)+span:before,.switch.icon>input:active:not(:disabled)+span>i{transform:translate(-3rem,-50%) scale(1.2)}.switch>input:active:checked:not(:disabled)+span:before,.switch.icon>input:active:checked:not(:disabled)+span>i{transform:translate(-1.75rem,-50%) scale(1.2)}:is(.checkbox,.radio,.switch)>input:disabled+span{opacity:.5;cursor:not-allowed}.switch>span:after{content:"";position:absolute;inset:50% auto auto 0;background-color:var(--active);border:.125rem solid var(--outline);box-sizing:border-box;inline-size:3.25rem;block-size:2rem;border-radius:2rem;transform:translate(-3.25rem,-50%)}.field>:is(nav,.row){flex-grow:1;padding:0 1rem}.field.round>:is(nav,.row){flex-grow:1;padding:0 1.5rem}[dir=rtl] .switch{transform:scale(-1)}[dir=rtl] .switch>span:before,[dir=rtl] .switch.icon>span>i{transform:translate(-3rem,-50%) scale(-.6)}[dir=rtl] .switch.icon>span>i{transform:translate(-3rem,-50%) scale(-1)}[dir=rtl] .switch>input:checked+span:before,[dir=rtl] .switch.icon>input:checked+span>i{transform:translate(-1.75rem,-50%) scale(-1)}.switch>:focus-visible+span:after{outline:.125rem solid var(--primary);outline-offset:.25rem}:is(.checkbox,.radio)>:focus-visible+span:before{outline:.125rem solid var(--primary);outline-offset:.375rem}.slider{--_start: 0%;--_end: 0%;--_value1: "";--_value2: "";display:flex;align-items:center!important;inline-size:auto;block-size:1.25rem;margin:1.125rem;flex:none;direction:ltr}[dir=rtl] .slider{transform:scaleX(-1)}.slider.vertical{flex-direction:row!important;margin:.5rem auto!important;padding:50% 0;transform:rotate(-90deg);inline-size:100%}.slider.small{inline-size:4rem}.slider.medium{inline-size:8rem}.slider.large{inline-size:12rem}.slider>input{-webkit-appearance:none;-moz-appearance:none;appearance:none;box-shadow:none;border:none;outline:none;pointer-events:none;inline-size:100%;block-size:1rem;background:none;z-index:1;padding:0;margin:0;transform:rotate(0)}.slider>input:only-of-type{pointer-events:all}.slider>input+input{position:absolute}.slider>input::-webkit-slider-thumb{-webkit-appearance:none;-moz-appearance:none;appearance:none;box-shadow:none;border:none;outline:none;pointer-events:all;block-size:2.75rem;inline-size:.25rem;border-radius:.25rem;background:var(--primary);cursor:grab;margin:0}.slider>input::-webkit-slider-thumb:active{cursor:grabbing}.slider>input::-moz-range-thumb{-webkit-appearance:none;-moz-appearance:none;appearance:none;box-shadow:none;border:none;outline:none;pointer-events:all;block-size:2.75rem;inline-size:.25rem;border-radius:.25rem;background:var(--primary);cursor:grab;margin:0}.slider>input::-moz-range-thumb:active{cursor:grabbing}.slider>input:not(:disabled):is(:focus)::-webkit-slider-thumb{transform:scaleX(.6)}.slider>input:not(:disabled):is(:focus)::-moz-range-thumb{transform:scaleX(.6)}.slider>input:disabled{cursor:not-allowed;opacity:1}.slider>input:disabled::-webkit-slider-thumb{background:#9e9e9e;cursor:not-allowed}.slider>input:disabled::-moz-range-thumb{background:#9e9e9e;cursor:not-allowed}.slider>input:disabled~span{background:#9e9e9e}.slider>span{position:absolute;block-size:1rem;border-radius:1rem 0 0 1rem;background:var(--primary);z-index:0;inset:calc(50% - .5rem) var(--_end) auto var(--_start);clip-path:polygon(0 0,calc(100% - .5rem) 0,calc(100% - .5rem) 100%,0 100%)}.slider>input[type=range]+input[type=range]~span{border-radius:0;clip-path:polygon(.5rem 0,max(.5rem,calc(100% - .5rem)) 0,max(.5rem,calc(100% - .5rem)) 100%,.5rem 100%)}.field>.slider{inline-size:100%}.slider:before{content:"";position:absolute;inline-size:100%;block-size:1rem;border-radius:1rem;background:var(--primary-container);clip-path:polygon(calc(var(--_start) - .5rem) 0,0 0,0 100%,calc(var(--_start) - .5rem) 100%,calc(var(--_start) - .5rem) 0,calc(100% - var(--_end) + .5rem) 0,100% 0,100% 100%,calc(100% - var(--_end) + .5rem) 100%,calc(100% - var(--_end) + .5rem) 0)}.slider:has(>[disabled]):before{background:var(--active)}.slider>.tooltip{visibility:hidden!important;opacity:0!important;inset:0 auto auto calc(100% - var(--_end));border-radius:2rem;transition:top var(--speed2) ease,opacity var(--speed2) ease;transform:translate(-50%,-50%)!important;padding:.75rem 1rem}[dir=rtl] .slider>.tooltip{transform:translate(-50%,-50%) scaleX(-1)!important}.slider>.tooltip+.tooltip{inset:.25rem calc(100% - var(--_start)) auto auto;transform:translate(50%,-50%)!important}[dir=rtl] .slider>.tooltip+.tooltip{transform:translate(50%,-50%) scaleX(-1)!important}.slider>.tooltip:before{content:var(--_value1)}.slider>.tooltip+.tooltip:before{content:var(--_value2)}.slider>:focus~.tooltip{inset-block-start:-1rem!important;opacity:1!important;visibility:visible!important}.slider.vertical>.tooltip{display:none}:is(nav,.row,.field)>.slider:not(.circle,.small,.medium,.large){flex:auto}.slider.max,.slider.max.vertical,.slider.max>input,.slider.max.vertical>input{all:unset;margin:0!important;position:absolute;color:var(--primary);top:0;right:0;bottom:0;left:0;border-radius:inherit;overflow:hidden;z-index:2;cursor:grab;inline-size:100%;block-size:100%}.slider.max:before{display:none}.slider.max.vertical>input{writing-mode:vertical-lr;transform:rotate(-180deg)}.slider.max>input::-webkit-slider-thumb{opacity:0;inline-size:1rem;block-size:100vh;transform:none!important}.slider.max>input::-moz-range-thumb{opacity:0;inline-size:1rem;block-size:100vh;transform:none!important}.slider.max>span{block-size:auto!important;inset:0 var(--_end) 0 var(--_start);clip-path:none;background:currentcolor;border-radius:0}.slider.max.vertical>span{inset:var(--_end) 0 var(--_start) 0}.slider>input:focus-visible::-webkit-slider-thumb{outline:.1875rem solid var(--primary);outline-offset:.25rem}.slider>input:focus-visible::-moz-range-thumb{outline:.1875rem solid var(--primary);outline-offset:.25rem}.slider.max>input:focus-visible{outline:.1875rem solid var(--primary);outline-offset:-.125rem}@media (pointer: coarse){.slider>:hover~.tooltip{inset-block-start:-1rem!important;opacity:1!important;visibility:visible!important}}.snackbar{position:fixed;inset:auto auto 6rem 50%;inline-size:80%;block-size:auto;z-index:200;visibility:hidden;display:flex;box-shadow:var(--elevate2);color:var(--inverse-on-surface);background-color:var(--inverse-surface);padding:1rem;cursor:pointer;text-align:start;align-items:center;border-radius:.25rem;gap:.5rem;transition:all var(--speed2);transform:translate(-50%,1rem);opacity:0}.snackbar.top{inset:6rem auto auto 50%}.snackbar:is(.active){visibility:visible;transform:translate(-50%);opacity:1}.snackbar:popover-open{visibility:visible;transform:translate(-50%);opacity:1}.snackbar>.max{flex:auto}@media only screen and (min-width: 993px){.snackbar{inline-size:40%}}table{inline-size:100%;border-spacing:0;font-size:.875rem;text-align:start}.scroll>table,table :is(thead,tbody,tfoot,tr,th,td){background-color:inherit;color:inherit}:is(th,td){inline-size:auto;text-align:inherit;padding:.5rem;border-radius:0}:is(th,td)>*{vertical-align:middle}table.border>tbody>tr:not(:last-child)>td,thead>tr>th{border-block-end:.0625rem solid var(--outline)}tfoot>tr>th{border-block-start:.0625rem solid var(--outline)}table.stripes>tbody>tr:nth-child(odd){background-color:var(--active)}table.no-space :is(th,td){padding:0}table.medium-space :is(th,td){padding:.75rem}table.large-space :is(th,td){padding:1rem}table>.fixed,th.fixed{position:sticky;z-index:1;inset-block-start:0}tfoot.fixed,tfoot th.fixed{inset-block-end:0}:is(td,th).min{inline-size:.1%;white-space:nowrap}.tabs{display:flex;white-space:nowrap;border-block-end:.0625rem solid var(--surface-variant);border-radius:0}.tabs:not(.left-align,.right-align,.center-align){justify-content:space-around}.tabs>a{display:flex;font-size:.875rem;font-weight:500;color:var(--on-surface-variant);padding:.5rem 1rem;text-align:center;min-block-size:3rem;inline-size:100%;gap:.25rem}.tabs.small>a{min-block-size:2rem}.tabs.large>a{min-block-size:4rem}.tabs>a.active,.tabs>a.active>i{color:var(--primary)}.tabs>a.active:before{content:"";position:absolute;inset:auto 0 0 0;block-size:.125rem;background-color:var(--primary)}.tabs.min>a.active:before{margin:0 auto;max-inline-size:min(100%,4rem)}.tabs:is(.left-align,.center-align,.right-align)>a{inline-size:auto}.tooltip{--_space: -.5rem;visibility:hidden;display:flex;align-items:center;justify-content:center;gap:.5rem;background-color:var(--inverse-surface);color:var(--inverse-on-surface);font-size:.75rem;text-align:center;border-radius:.25rem;padding:.5rem;position:absolute;z-index:200;inset:0 auto auto 50%;inline-size:auto;white-space:nowrap;font-weight:500;opacity:0;transition:all var(--speed2);line-height:normal;transform:translate(-50%,-100%) scale(.9)}.tooltip.left{inset:50% auto auto 0;transform:translate(-100%,-50%) scale(.9)}.tooltip.right{inset:50% 0 auto auto;transform:translate(100%,-50%) scale(.9)}.tooltip.bottom{inset:auto auto 0 50%;transform:translate(-50%,100%) scale(.9)}.tooltip.small{inline-size:8rem;white-space:normal}.tooltip.medium{inline-size:12rem;white-space:normal}.tooltip.large{inline-size:16rem;white-space:normal}:hover>.tooltip{visibility:visible;opacity:1;transform:translate(-50%,-100%) scale(1)}:hover>.tooltip.left{transform:translate(-100%,-50%) scale(1)}:hover>.tooltip.right{transform:translate(100%,-50%) scale(1)}:hover>.tooltip.bottom{transform:translate(-50%,100%) scale(1)}.tooltip.no-space{--_space: 0}.tooltip.medium-space{--_space: -1rem}.tooltip.large-space{--_space: -1.5rem}.tooltip:not(.left,.right,.bottom){margin-block-start:var(--_space)!important}.tooltip.left,.tooltip.right{margin-inline:var(--_space)!important}.tooltip.bottom{margin-block-end:var(--_space)!important}menu:active~.tooltip,:is(button,.button):focus>menu~.tooltip,.field>:focus~menu~.tooltip{visibility:hidden}.slider>.tooltip{--_space: -1.25rem}.slider.vertical>.tooltip{--_space: -.75rem}.slider.vertical>.tooltip:is(.left,.right){--_space: -.5rem}.tooltip.max{display:block;font-size:inherit;white-space:normal;text-align:start;inline-size:20rem;border-radius:.5rem;padding:1rem;box-shadow:var(--elevate2)}:root{--eox-theme-light-background: 237, 237, 242;--eox-theme-light-code: 245, 245, 245;--eox-theme-light-error-container: 255, 218, 214;--eox-theme-light-error: 186, 26, 26;--eox-theme-light-inverse-on-surface: 240, 240, 245;--eox-theme-light-inverse-primary: 158, 202, 255;--eox-theme-light-inverse-surface: 46, 48, 52;--eox-theme-light-kbd: 33, 37, 41;--eox-theme-light-neutral-palette-key-color: 117, 119, 123;--eox-theme-light-neutral-variant-palette-key-color: 114, 119, 128;--eox-theme-light-on-background: 0, 0, 0;--eox-theme-light-on-code: 0, 0, 0;--eox-theme-light-on-error-container: 65, 0, 2;--eox-theme-light-on-error: 255, 255, 255;--eox-theme-light-on-inverse-on-surface: 0, 0, 0;--eox-theme-light-on-inverse-primary: 0, 0, 0;--eox-theme-light-on-inverse-surface: 255, 255, 255;--eox-theme-light-on-kbd: 255, 255, 255;--eox-theme-light-on-neutral-palette-key-color: 255, 255, 255;--eox-theme-light-on-neutral-variant-palette-key-color: 255, 255, 255;--eox-theme-light-on-outline-variant: 0, 0, 0;--eox-theme-light-on-outline: 255, 255, 255;--eox-theme-light-on-primary-container: 0, 29, 54;--eox-theme-light-on-primary-fixed-dim: 0, 0, 0;--eox-theme-light-on-primary-fixed-variant: 16, 73, 120;--eox-theme-light-on-primary-fixed: 0, 29, 54;--eox-theme-light-on-primary-palette-key-color: 255, 255, 255;--eox-theme-light-on-primary: 255, 255, 255;--eox-theme-light-on-scrim: 255, 255, 255;--eox-theme-light-on-secondary-container: 0, 31, 40;--eox-theme-light-on-secondary-fixed-dim: 0, 0, 0;--eox-theme-light-on-secondary-fixed-variant: 15, 77, 95;--eox-theme-light-on-secondary-fixed: 0, 31, 40;--eox-theme-light-on-secondary-palette-key-color: 255, 255, 255;--eox-theme-light-on-secondary: 255, 255, 255;--eox-theme-light-on-shadow: 255, 255, 255;--eox-theme-light-on-surface-bright: 0, 0, 0;--eox-theme-light-on-surface-container-high: 0, 0, 0;--eox-theme-light-on-surface-container-highest: 0, 0, 0;--eox-theme-light-on-surface-container-low: 0, 0, 0;--eox-theme-light-on-surface-container-lowest: 0, 0, 0;--eox-theme-light-on-surface-container: 0, 0, 0;--eox-theme-light-on-surface-dim: 0, 0, 0;--eox-theme-light-on-surface-light: 0, 0, 0;--eox-theme-light-on-surface-tint: 255, 255, 255;--eox-theme-light-on-surface: 26, 28, 31;--eox-theme-light-on-tertiary-container: 17, 19, 79;--eox-theme-light-on-tertiary-fixed-dim: 0, 0, 0;--eox-theme-light-on-tertiary-fixed-variant: 62, 65, 124;--eox-theme-light-on-tertiary-fixed: 17, 19, 79;--eox-theme-light-on-tertiary-palette-key-color: 255, 255, 255;--eox-theme-light-on-tertiary: 255, 255, 255;--eox-theme-light-outline-variant: 194, 199, 208;--eox-theme-light-outline: 114, 119, 128;--eox-theme-light-primary-container: 209, 228, 255;--eox-theme-light-primary-fixed-dim: 158, 202, 255;--eox-theme-light-primary-fixed: 209, 228, 255;--eox-theme-light-primary-palette-key-color: 0, 65, 112;--eox-theme-light-primary: 0, 65, 112;--eox-theme-light-scrim: 0, 0, 0;--eox-theme-light-secondary-container: 184, 234, 255;--eox-theme-light-secondary-fixed-dim: 154, 206, 228;--eox-theme-light-secondary-fixed: 184, 234, 255;--eox-theme-light-secondary-palette-key-color: 0, 69, 87;--eox-theme-light-secondary: 47, 101, 120;--eox-theme-light-shadow: 0, 0, 0;--eox-theme-light-surface-bright: 249, 249, 254;--eox-theme-light-surface-container-high: 231, 232, 236;--eox-theme-light-surface-container-highest: 226, 226, 231;--eox-theme-light-surface-container-low: 243, 243, 248;--eox-theme-light-surface-container-lowest: 255, 255, 255;--eox-theme-light-surface-container: 237, 237, 242;--eox-theme-light-surface-dim: 217, 218, 222;--eox-theme-light-surface-light: 231, 232, 236;--eox-theme-light-surface-tint: 49, 97, 146;--eox-theme-light-surface: 249, 249, 254;--eox-theme-light-tertiary-container: 225, 224, 255;--eox-theme-light-tertiary-fixed-dim: 191, 193, 255;--eox-theme-light-tertiary-fixed: 225, 224, 255;--eox-theme-light-tertiary-palette-key-color: 54, 57, 116;--eox-theme-light-tertiary: 86, 89, 150}:root{--eox-theme-dark-background: 30, 32, 35;--eox-theme-dark-code: 52, 52, 52;--eox-theme-dark-error-container: 147, 0, 10;--eox-theme-dark-error: 255, 180, 171;--eox-theme-dark-inverse-on-surface: 46, 48, 52;--eox-theme-dark-inverse-primary: 49, 97, 146;--eox-theme-dark-inverse-surface: 226, 226, 231;--eox-theme-dark-kbd: 33, 37, 41;--eox-theme-dark-neutral-palette-key-color: 117, 119, 123;--eox-theme-dark-neutral-variant-palette-key-color: 114, 119, 128;--eox-theme-dark-on-background: 255, 255, 255;--eox-theme-dark-on-code: 204, 204, 204;--eox-theme-dark-on-error-container: 255, 180, 171;--eox-theme-dark-on-error: 105, 0, 5;--eox-theme-dark-on-inverse-on-surface: 255, 255, 255;--eox-theme-dark-on-inverse-primary: 158, 202, 255;--eox-theme-dark-on-inverse-surface: 0, 0, 0;--eox-theme-dark-on-kbd: 255, 255, 255;--eox-theme-dark-on-neutral-palette-key-color: 255, 255, 255;--eox-theme-dark-on-neutral-variant-palette-key-color: 255, 255, 255;--eox-theme-dark-on-outline-variant: 255, 255, 255;--eox-theme-dark-on-outline: 255, 255, 255;--eox-theme-dark-on-primary-container: 209, 228, 255;--eox-theme-dark-on-primary-fixed-dim: 0, 0, 0;--eox-theme-dark-on-primary-fixed-variant: 16, 73, 120;--eox-theme-dark-on-primary-fixed: 0, 29, 54;--eox-theme-dark-on-primary-palette-key-color: 255, 255, 255;--eox-theme-dark-on-primary: 0, 50, 88;--eox-theme-dark-on-scrim: 255, 255, 255;--eox-theme-dark-on-secondary-container: 184, 234, 255;--eox-theme-dark-on-secondary-fixed-dim: 0, 0, 0;--eox-theme-dark-on-secondary-fixed-variant: 15, 77, 95;--eox-theme-dark-on-secondary-fixed: 0, 31, 40;--eox-theme-dark-on-secondary-palette-key-color: 255, 255, 255;--eox-theme-dark-on-secondary: 0, 53, 68;--eox-theme-dark-on-shadow: 255, 255, 255;--eox-theme-dark-on-surface-bright: 255, 255, 255;--eox-theme-dark-on-surface-container-high: 255, 255, 255;--eox-theme-dark-on-surface-container-highest: 255, 255, 255;--eox-theme-dark-on-surface-container-low: 255, 255, 255;--eox-theme-dark-on-surface-container-lowest: 255, 255, 255;--eox-theme-dark-on-surface-container: 255, 255, 255;--eox-theme-dark-on-surface-dim: 255, 255, 255;--eox-theme-dark-on-surface-light: 255, 255, 255;--eox-theme-dark-on-surface-tint: 0, 0, 0;--eox-theme-dark-on-surface: 226, 226, 231;--eox-theme-dark-on-tertiary-container: 225, 224, 255;--eox-theme-dark-on-tertiary-fixed-dim: 0, 0, 0;--eox-theme-dark-on-tertiary-fixed-variant: 62, 65, 124;--eox-theme-dark-on-tertiary-fixed: 17, 19, 79;--eox-theme-dark-on-tertiary-palette-key-color: 255, 255, 255;--eox-theme-dark-on-tertiary: 39, 42, 100;--eox-theme-dark-outline-variant: 66, 71, 79;--eox-theme-dark-outline: 140, 145, 154;--eox-theme-dark-primary-container: 16, 73, 120;--eox-theme-dark-primary-fixed-dim: 158, 202, 255;--eox-theme-dark-primary-fixed-variant: 209, 228, 255;--eox-theme-dark-primary-fixed: 209, 228, 255;--eox-theme-dark-primary-palette-key-color: 0, 65, 112;--eox-theme-dark-primary: 158, 202, 255;--eox-theme-dark-scrim: 0, 0, 0;--eox-theme-dark-secondary-container: 15, 77, 95;--eox-theme-dark-secondary-fixed-dim: 154, 206, 228;--eox-theme-dark-secondary-fixed-variant: 184, 234, 255;--eox-theme-dark-secondary-fixed: 184, 234, 255;--eox-theme-dark-secondary-palette-key-color: 0, 69, 87;--eox-theme-dark-secondary: 154, 206, 228;--eox-theme-dark-shadow: 0, 0, 0;--eox-theme-dark-surface-bright: 55, 57, 61;--eox-theme-dark-surface-container-high: 40, 42, 46;--eox-theme-dark-surface-container-highest: 51, 53, 56;--eox-theme-dark-surface-container-low: 26, 28, 31;--eox-theme-dark-surface-container-lowest: 12, 14, 17;--eox-theme-dark-surface-container: 30, 32, 35;--eox-theme-dark-surface-dim: 17, 19, 23;--eox-theme-dark-surface-light: 55, 57, 61;--eox-theme-dark-surface-tint: 158, 202, 255;--eox-theme-dark-surface: 17, 19, 23;--eox-theme-dark-tertiary-container: 62, 65, 124;--eox-theme-dark-tertiary-fixed-dim: 191, 193, 255;--eox-theme-dark-tertiary-fixed-variant: 225, 224, 255;--eox-theme-dark-tertiary-fixed: 225, 224, 255;--eox-theme-dark-tertiary-palette-key-color: 54, 57, 116;--eox-theme-dark-tertiary: 191, 193, 255}:root{--eox-slider-thumb-height: 20px;--eox-slider-thumb-width: 20px;--eox-slider-track-height: 6px;--eox-slider-track-color: var(--outline-variant);--eox-slider-brightness-hover: 100%;--eox-slider-brightness-down: 100%;--eox-slider-clip-edges: 4px;--eox-slider-margin: 1.125rem}input[type=range]:not(.slider.large input,.slider.small input,.slider.medium input,.slider.extra input){font-size:1.5rem;color:var(--primary);width:100%;background:none;overflow:hidden}input[type=range]:not(.slider input[type=range]){margin:var(--eox-slider-margin);width:100%}input[type=range]:not(.slider.large input,.slider.small input,.slider.medium input,.slider.extra input):active{cursor:grabbing}input[type=range]:not(.slider.large input,.slider.small input,.slider.medium input,.slider.extra input):disabled{filter:grayscale(1);opacity:.3;cursor:not-allowed}input[type=range]:not(.slider.large input,.slider.small input,.slider.medium input,.slider.extra input),input[type=range]:not(.slider.large input,.slider.small input,.slider.medium input,.slider.extra input)::-webkit-slider-runnable-track,input[type=range]:not(.slider.large input,.slider.small input,.slider.medium input,.slider.extra input)::-webkit-slider-thumb{-webkit-appearance:none;transition:all ease .1s;height:var(--eox-slider-thumb-height)}input[type=range]:not(.slider.large input,.slider.small input,.slider.medium input,.slider.extra input)::-webkit-slider-runnable-track,input[type=range]:not(.slider.large input,.slider.small input,.slider.medium input,.slider.extra input)::-webkit-slider-thumb{position:relative}input[type=range]:not(.slider.large input,.slider.small input,.slider.medium input,.slider.extra input)::-webkit-slider-runnable-track{border-radius:var(--eox-slider-track-height)}input[type=range]:not(.slider input)::-webkit-slider-thumb{--thumb-radius: calc((var(--eox-slider-thumb-height) * .5) - 1px);--clip-top: calc( (var(--eox-slider-thumb-height) - var(--eox-slider-track-height)) * .5 - .5px );--clip-bottom: calc(var(--eox-slider-thumb-height) - var(--clip-top));--clip-further: calc(100% + 1px) ;--box-fill: calc( -100vmax - var(--eox-slider-thumb-width, var(--eox-slider-thumb-height)) ) 0 0 100vmax currentColor;width:var(--eox-slider-thumb-width, var(--eox-slider-thumb-height));background:linear-gradient(currentColor 0 0) scroll no-repeat left center / 50% calc(var(--eox-slider-track-height) + 1px);background-color:currentColor;box-shadow:var(--box-fill);border-radius:var(--eox-slider-thumb-width, var(--eox-slider-thumb-height));filter:brightness(100%);clip-path:polygon(100% -1px,var(--eox-slider-clip-edges) -1px,0 var(--clip-top),-100vmax var(--clip-top),-100vmax var(--clip-bottom),0 var(--clip-bottom),var(--eox-slider-clip-edges) 100%,var(--clip-further) var(--clip-further))}input[type=range]:not(.slider.large input,.slider.small input,.slider.medium input,.slider.extra input):hover::-webkit-slider-thumb{filter:brightness(var(--eox-slider-brightness-hover));cursor:grab}input[type=range]:not(.slider.large input,.slider.small input,.slider.medium input,.slider.extra input):active::-webkit-slider-thumb{filter:brightness(var(--eox-slider-brightness-down));cursor:grabbing}input[type=range]:not(.slider input)::-webkit-slider-runnable-track{background:linear-gradient(var(--eox-slider-track-color) 0 0) scroll no-repeat center / 100% calc(var(--eox-slider-track-height) + 1px)}input[type=range]:not(.slider.large input,.slider.small input,.slider.medium input,.slider.extra input):disabled::-webkit-slider-thumb{cursor:not-allowed}input[type=range]:not(.slider.large input,.slider.small input,.slider.medium input,.slider.extra input),input[type=range]:not(.slider.large input,.slider.small input,.slider.medium input,.slider.extra input)::-moz-range-track,input[type=range]:not(.slider.large input,.slider.small input,.slider.medium input,.slider.extra input)::-moz-range-thumb{-webkit-appearance:none;-moz-appearance:none;appearance:none;transition:all ease .1s;height:var(--eox-slider-thumb-height)}input[type=range]:not(.slider.large input,.slider.small input,.slider.medium input,.slider.extra input)::-moz-range-track,input[type=range]:not(.slider.large input,.slider.small input,.slider.medium input,.slider.extra input)::-moz-range-thumb,input[type=range]:not(.slider.large input,.slider.small input,.slider.medium input,.slider.extra input)::-moz-range-progress{background:#fff0}input[type=range]:not(.slider.large input,.slider.small input,.slider.medium input,.slider.extra input)::-moz-range-thumb{background:currentColor;border:0;width:var(--eox-slider-thumb-width, var(--eox-slider-thumb-height));border-radius:var(--eox-slider-thumb-width, var(--eox-slider-thumb-height));cursor:grab}input[type=range]:not(.slider.large input,.slider.small input,.slider.medium input,.slider.extra input):active::-moz-range-thumb{cursor:grabbing}input[type=range]:not(.slider.large input,.slider.small input,.slider.medium input,.slider.extra input)::-moz-range-track{width:100%;background:var(--eox-slider-track-color)}input[type=range]:not(.slider.large input,.slider.small input,.slider.medium input,.slider.extra input)::-moz-range-progress{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:currentColor;transition-delay:30ms}input[type=range]:not(.slider.large input,.slider.small input,.slider.medium input,.slider.extra input)::-moz-range-track,input[type=range]:not(.slider.large input,.slider.small input,.slider.medium input,.slider.extra input)::-moz-range-progress{height:calc(var(--eox-slider-track-height) + 1px);border-radius:var(--eox-slider-track-height)}input[type=range]:not(.slider.large input,.slider.small input,.slider.medium input,.slider.extra input)::-moz-range-thumb,input[type=range]:not(.slider.large input,.slider.small input,.slider.medium input,.slider.extra input)::-moz-range-progress{filter:brightness(100%)}input[type=range]:not(.slider.large input,.slider.small input,.slider.medium input,.slider.extra input):hover::-moz-range-thumb,input[type=range]:not(.slider.large input,.slider.small input,.slider.medium input,.slider.extra input):hover::-moz-range-progress{filter:brightness(var(--eox-slider-brightness-hover))}input[type=range]:not(.slider.large input,.slider.small input,.slider.medium input,.slider.extra input):active::-moz-range-thumb,input[type=range]:not(.slider.large input,.slider.small input,.slider.medium input,.slider.extra input):active::-moz-range-progress{filter:brightness(var(--eox-slider-brightness-down))}input[type=range]:not(.slider.large input,.slider.small input,.slider.medium input,.slider.extra input):disabled::-moz-range-thumb{cursor:not-allowed}label.slider.tiny:before{height:var(--eox-slider-track-height);background:var(--outline-variant);clip-path:none}label.slider.tiny>span,.slider.tiny>input[type=range]+input[type=range]~span{height:var(--eox-slider-track-height);top:var(--eox-slider-track-height) - 1;clip-path:none}.slider.tiny>input[type=range]::-webkit-slider-thumb{box-shadow:unset;width:var(--eox-slider-thumb-width, var(--eox-slider-thumb-height));border-radius:var(--eox-slider-thumb-width, var(--eox-slider-thumb-height))}.slider.tiny>input[type=range]::-webkit-slider-runnable-track{background:unset}.slider.tiny>input[type=range]:not(:disabled):is(:focus)::-webkit-slider-thumb{transform:scaleX(1)}.slider.tiny>input:not(:disabled):is(:focus)::-moz-range-thumb{transform:scaleX(1)}tc-range-slider{--panel-bg-fill: var(--primary);--pointer-bg: var(--primary);--pointer-bg-focus: var(--primary);--pointer-bg-hover: var(--primary);--pointer-border: 0;--pointer-border-focus: 0;--pointer-border-hover: 0;--pointer-width: var( --eox-slider-thumb-width, var(--eox-slider-thumb-height) );--pointer-height: var( --eox-slider-thumb-width, var(--eox-slider-thumb-height) );--pointer-shadow: 0;--pointer-shadow-hover: 0;--height: var(--eox-slider-track-height);--width: 100%;--panel-bg-border-radius: var(--eox-slider-track-height);--panel-bg: var(--eox-slider-track-color);--panel-bg-hover: var(--eox-slider-track-color);display:block;margin:var(--eox-slider-margin)}:root{--eox-body-font-family: Inter, Roboto, "Helvetica Neue", "Arial Nova", "Nimbus Sans", Noto Sans, Arial, sans-serif;--eox-header-font-family: var(--eox-body-font-family);--size: 1rem;--font: var(--eox-body-font-family);--font-icon: "Material Symbols Subset";--speed1: .1s;--speed2: .2s;--speed3: .3s;--speed4: .4s;--active: rgb(128 128 128 / .192);--overlay: rgb(0 0 0 / .5);--elevate1: 0 .125rem .125rem 0 rgb(0 0 0 / .32);--elevate2: 0 .25rem .5rem 0 rgb(0 0 0 / .4);--elevate3: 0 .375rem .75rem 0 rgb(0 0 0 / .48);--top: env(safe-area-inset-top);--bottom: env(safe-area-inset-bottom);--left: env(safe-area-inset-left);--right: env(safe-area-inset-right)}*{font-family:var(--eox-body-font-family)}h1,h2,h3,h4,h5,h6{font-family:var(--eox-header-font-family)}:root,body.light{--primary: rgb(var(--eox-theme-light-primary));--on-primary: rgb(var(--eox-theme-light-on-primary));--primary-container: rgb(var(--eox-theme-light-primary-container));--on-primary-container: #001d36;--secondary: rgb(var(--eox-theme-light-secondary));--on-secondary: rgb(var(--eox-theme-light-on-secondary));--secondary-container: #d7e3f7;--on-secondary-container: #101c2b;--tertiary: rgb(var(--eox-theme-light-tertiary));--on-tertiary: rgb(var(--eox-theme-light-on-tertiary));--tertiary-container: #f2daff;--on-tertiary-container: #251431;--error: rgb(var(--eox-theme-light-error));--on-error: rgb(var(--eox-theme-light-on-error));--error-container: #ffdad6;--on-error-container: #410002;--background: rgb(var(--eox-theme-light-background));--on-background: #1a1c1e;--surface: rgb(var(--eox-theme-light-surface));--on-surface: rgb(var(--eox-theme-light-on-surface));--surface-variant: #dfe2eb;--on-surface-variant: #43474e;--outline: rgb(var(--eox-theme-light-outline));--outline-variant: rgb(var(--eox-theme-light-outline-variant));--shadow: #000000;--scrim: #000000;--inverse-surface: #2f3033;--inverse-on-surface: #f1f0f4;--inverse-primary: #9ecaff;--surface-dim: rgb(var(--eox-theme-light-surface-dim));--surface-bright: rgb(var(--eox-theme-light-surface-bright));--surface-container-lowest: #ffffff;--surface-container-low: #f4f3f7;--surface-container: #eeedf1;--surface-container-high: #e8e8eb;--surface-container-highest: #e2e2e6}body.dark{--primary: rgb(var(--eox-theme-dark-primary));--on-primary: rgb(var(--eox-theme-dark-on-primary));--primary-container: rgb(var(--eox-theme-dark-primary-container));--on-primary-container: #d1e4ff;--secondary: rgb(var(--eox-theme-dark-secondary));--secondary-container: #3b4858;--on-secondary-container: #d7e3f7;--on-secondary-container: rgb(var(--eox-theme-dark-on-secondary-container));--tertiary: rgb(var(--eox-theme-dark-tertiary));--on-tertiary: rgb(var(--eox-theme-dark-on-tertiary));--tertiary-container: #523f5f;--on-tertiary-container: #f2daff;--error: rgb(var(--eox-theme-dark-error));--on-error: rgb(var(--eox-theme-dark-on-error));--error-container: #93000a;--on-error-container: #ffb4ab;--background: rgb(var(--eox-theme-dark-background));--on-background: #e2e2e6;--surface: rgb(var(--eox-theme-dark-surface));--on-surface: rgb(var(--eox-theme-dark-on-surface));--surface-variant: #43474e;--on-surface-variant: #c3c7cf;--outline: rgb(var(--eox-theme-dark-outline));--outline-variant: rgb(var(--eox-theme-dark-outline-variant));--shadow: #000000;--scrim: #000000;--inverse-surface: #e2e2e6;--inverse-on-surface: #2f3033;--inverse-primary: #0161a3;--surface-dim: rgb(var(--eox-theme-dark-surface-dim));--surface-bright: rgb(var(--eox-theme-dark-surface-bright));--surface-container-lowest: #0d0e11;--surface-container-low: #1a1c1e;--surface-container: #1e2022;--surface-container-high: #282a2d;--surface-container-highest: #333538}.list.no-space>li,.list.no-space>li>details>summary{min-block-size:0rem;padding:0 1rem}:is(.checkbox,.radio,.switch).small{--_size: 1.2rem}:is(.checkbox,.radio):is(:hover)>input:not(:disabled)+span:after,:is(.checkbox,.radio)>input:not(:disabled):is(:focus)+span:after{box-shadow:0 0 0 .4rem currentColor}:is(.checkbox,.radio,.switch):is(.no-round,.square)>span:before,:is(.checkbox,.radio,.switch):is(.no-round,.square)>span>i,:is(.checkbox,.radio):is(.no-round,.square)>span:after{border-radius:.15rem}.scroll::-webkit-scrollbar,.scroll::-webkit-scrollbar-thumb,.scroll::-webkit-scrollbar-button{background:none;inline-size:.4rem;block-size:.4rem}.scroll:is(:hover,:focus)::-webkit-scrollbar-thumb{background:var(--outline);border-radius:1rem}';var je=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function $o(r){return r&&r.__esModule&&Object.prototype.hasOwnProperty.call(r,"default")?r.default:r}var ui,So;function il(){if(So)return ui;So=1;var r="Expected a function",e=NaN,t="[object Symbol]",i=/^\s+|\s+$/g,o=/^[-+]0x[0-9a-f]+$/i,n=/^0b[01]+$/i,a=/^0o[0-7]+$/i,l=parseInt,s=typeof je=="object"&&je&&je.Object===Object&&je,c=typeof self=="object"&&self&&self.Object===Object&&self,u=s||c||Function("return this")(),d=Object.prototype,m=d.toString,h=Math.max,f=Math.min,v=function(){return u.Date.now()};function V(b,A,H){var P,K,Q,B,R,W,fe=0,le=!1,ge=!1,xe=!0;if(typeof b!="function")throw new TypeError(r);A=_(A)||0,X(H)&&(le=!!H.leading,ge="maxWait"in H,Q=ge?h(_(H.maxWait)||0,A):Q,xe="trailing"in H?!!H.trailing:xe);function tt(M){var be=P,Xe=K;return P=K=void 0,fe=M,B=b.apply(Xe,be),B}function Er(M){return fe=M,R=setTimeout(it,A),le?tt(M):B}function rt(M){var be=M-W,Xe=M-fe,Bo=A-be;return ge?f(Bo,Q-Xe):Bo}function Re(M){var be=M-W,Xe=M-fe;return W===void 0||be>=A||be<0||ge&&Xe>=Q}function it(){var M=v();if(Re(M))return Cr(M);R=setTimeout(it,rt(M))}function Cr(M){return R=void 0,xe&&P?tt(M):(P=K=void 0,B)}function hi(){R!==void 0&&clearTimeout(R),fe=0,P=W=K=R=void 0}function It(){return R===void 0?B:Cr(v())}function j(){var M=v(),be=Re(M);if(P=arguments,K=this,W=M,be){if(R===void 0)return Er(W);if(ge)return R=setTimeout(it,A),tt(W)}return R===void 0&&(R=setTimeout(it,A)),B}return j.cancel=hi,j.flush=It,j}function te(b,A,H){var P=!0,K=!0;if(typeof b!="function")throw new TypeError(r);return X(H)&&(P="leading"in H?!!H.leading:P,K="trailing"in H?!!H.trailing:K),V(b,A,{leading:P,maxWait:A,trailing:K})}function X(b){var A=typeof b;return!!b&&(A=="object"||A=="function")}function ue(b){return!!b&&typeof b=="object"}function re(b){return typeof b=="symbol"||ue(b)&&m.call(b)==t}function _(b){if(typeof b=="number")return b;if(re(b))return e;if(X(b)){var A=typeof b.valueOf=="function"?b.valueOf():b;b=X(A)?A+"":A}if(typeof b!="string")return b===0?b:+b;b=b.replace(i,"");var H=n.test(b);return H||a.test(b)?l(b.slice(2),H?2:8):o.test(b)?e:+b}return ui=te,ui}var ol=il();const zo=$o(ol);/**
|
|
71
115
|
* @license
|
|
72
116
|
* Copyright 2018 Google LLC
|
|
73
117
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
74
|
-
*/const
|
|
118
|
+
*/const lr=r=>r??O;class Ao extends ce{constructor(){super();L(this,_e,[]);L(this,sr,Lr`
|
|
75
119
|
.separator {
|
|
76
120
|
margin: 0 0 24px 0;
|
|
77
121
|
}
|
|
78
122
|
color-legend {
|
|
79
123
|
--cle-background: transparent;
|
|
80
124
|
--cle-font-family: inherit;
|
|
81
|
-
--cle-font-size:
|
|
82
|
-
--cle-font-
|
|
125
|
+
--cle-font-size: 12px;
|
|
126
|
+
--cle-font-size-title: 12px;
|
|
127
|
+
--cle-font-weight: 400;
|
|
128
|
+
--cle-font-weight-title: 400;
|
|
129
|
+
--cle-letter-spacing: inherit;
|
|
83
130
|
--cle-letter-spacing-title: inherit;
|
|
84
131
|
--cle-padding: 0;
|
|
85
132
|
}
|
|
86
|
-
`);
|
|
133
|
+
`);L(this,cr,"");this.unstyled=!1,this.noShadow=!1,this.layer=null}get layerLegend(){return $(this,_e)?$(this,_e).length>1?$(this,_e):$(this,_e)[0]:null}set layerLegend(t){var i;Array.isArray(t)?He(this,_e,t.map((o,n)=>{var a;return{id:(((a=this.layer)==null?void 0:a.get("id"))??"")+n,...o}})):He(this,_e,[{id:(((i=this.layer)==null?void 0:i.get("id"))??"")+0,...t}])}createRenderRoot(){return this.noShadow?this:super.createRenderRoot()}firstUpdated(){this.layerLegend&&new ResizeObserver(()=>{var t;He(this,_e,(t=$(this,_e))==null?void 0:t.map(i=>(this.offsetWidth!==i.width&&(i.width=this.offsetWidth),{...i}))),this.requestUpdate()}).observe(this.renderRoot.querySelector(".legend-container"))}render(){return customElements.get("color-legend")||console.error("Please import `color-legend-element` in order to use layerLegend"),g`
|
|
87
134
|
<style>
|
|
88
|
-
${
|
|
89
|
-
${!this.unstyled
|
|
135
|
+
${$(this,sr)}
|
|
136
|
+
${!this.unstyled&&$(this,cr)}
|
|
90
137
|
</style>
|
|
91
|
-
${
|
|
138
|
+
${I(this.layerLegend,()=>g`
|
|
92
139
|
<div class="legend-container">
|
|
93
140
|
<!-- Render color-legend-->
|
|
94
|
-
${
|
|
141
|
+
${$(this,_e).map((t,i,o)=>g`
|
|
95
142
|
<color-legend
|
|
96
|
-
id="${
|
|
97
|
-
width=${
|
|
98
|
-
scaleType="${
|
|
99
|
-
markType="${
|
|
100
|
-
titleText="${
|
|
101
|
-
.range=${
|
|
102
|
-
.domain=${
|
|
103
|
-
tickFormat="${
|
|
104
|
-
.ticks=${
|
|
105
|
-
.tickValues=${
|
|
106
|
-
.marginLeft=${
|
|
107
|
-
.marginRight=${
|
|
143
|
+
id="${t.id}"
|
|
144
|
+
width=${t.width??325}
|
|
145
|
+
scaleType="${lr(t.scaleType)}"
|
|
146
|
+
markType="${lr(t.markType)}"
|
|
147
|
+
titleText="${lr(t.title)}"
|
|
148
|
+
.range=${t.range}
|
|
149
|
+
.domain=${t.domain}
|
|
150
|
+
tickFormat="${lr(t.tickFormat)}"
|
|
151
|
+
.ticks=${t.ticks??5}
|
|
152
|
+
.tickValues=${t.tickValues}
|
|
153
|
+
.marginLeft=${8}
|
|
154
|
+
.marginRight=${8}
|
|
108
155
|
>
|
|
109
156
|
</color-legend>
|
|
110
|
-
${
|
|
157
|
+
${i!==o.length-1?g`<div class="separator"></div>`:O}
|
|
111
158
|
`)}
|
|
112
159
|
</div>
|
|
113
160
|
`)}
|
|
114
|
-
`}}
|
|
161
|
+
`}}_e=new WeakMap,sr=new WeakMap,cr=new WeakMap,Z(Ao,"properties",{unstyled:{type:Boolean},noShadow:{type:Boolean},layerLegend:{attribute:!1},layer:{attribute:!1}}),customElements.define("eox-layercontrol-layer-legend",Ao);class Eo extends ce{constructor(){super();L(this,Mt);L(this,Oe,{});L(this,ft,null);L(this,Ht);L(this,dr,Lr`
|
|
115
162
|
color-legend {
|
|
116
163
|
--cle-background: transparent;
|
|
117
164
|
--cle-font-family: inherit;
|
|
118
|
-
--cle-font-size:
|
|
119
|
-
--cle-font-
|
|
165
|
+
--cle-font-size: 12px;
|
|
166
|
+
--cle-font-size-title: 12px;
|
|
167
|
+
--cle-font-weight: 400;
|
|
168
|
+
--cle-font-weight-title: 400;
|
|
169
|
+
--cle-letter-spacing: inherit;
|
|
120
170
|
--cle-letter-spacing-title: inherit;
|
|
171
|
+
font-size: small;
|
|
172
|
+
}
|
|
173
|
+
`);L(this,ur,Lr`
|
|
174
|
+
input[type="range"],
|
|
175
|
+
eox-jsonform {
|
|
176
|
+
--eox-slider-thumb-height: 10px !important;
|
|
177
|
+
--eox-slider-thumb-width: 10px !important;
|
|
178
|
+
--eox-slider-track-height: 4px !important;
|
|
179
|
+
--eox-panel-spacing: 0 !important;
|
|
180
|
+
--eox-slider-margin: 0 !important;
|
|
181
|
+
font-size: small;
|
|
182
|
+
}
|
|
183
|
+
eox-layercontrol-layer-legend {
|
|
184
|
+
display: block;
|
|
185
|
+
margin-bottom: 1rem;
|
|
121
186
|
}
|
|
122
|
-
`);
|
|
187
|
+
`);this.layer=null,this.unstyled=!1,this.noShadow=!1,this.layerConfig=null,this.throttleDataChange=zo(q(this,Mt,gi),1e3)}updated(t){if(t.has("layerConfig")){const i=this.layerConfig.type==="style"||this.layerConfig.style?100:1e3;this.throttleDataChange=zo(q(this,Mt,gi),i),this.requestUpdate()}}createRenderRoot(){return this.noShadow?this:super.createRenderRoot()}render(){He(this,ft,el(this.layer,this.layerConfig)),Object.keys($(this,Oe)).length!==0&&He(this,ft,$(this,Oe)),customElements.get("eox-jsonform")||console.error("Please import @eox/jsonform in order to use layerconfig");const t={disable_edit_json:!0,disable_collapse:!0,disable_properties:!0};return g`
|
|
123
188
|
<style>
|
|
124
|
-
${
|
|
125
|
-
${!this.unstyled
|
|
189
|
+
${$(this,dr)}
|
|
190
|
+
${!this.unstyled&&$(this,ur)}
|
|
126
191
|
</style>
|
|
127
|
-
${
|
|
128
|
-
${
|
|
192
|
+
${I(this.layerConfig,()=>g`
|
|
193
|
+
${I(this.layerConfig.legend,()=>g`
|
|
129
194
|
<eox-layercontrol-layer-legend
|
|
130
195
|
.noShadow=${!0}
|
|
131
196
|
.unstyled=${this.unstyled}
|
|
132
197
|
.layer=${this.layer}
|
|
133
|
-
.layerLegend=${
|
|
198
|
+
.layerLegend=${Qa(this.layerConfig.legend,$(this,Oe))}
|
|
134
199
|
></eox-layercontrol-layer-legend>
|
|
135
200
|
`)}
|
|
136
201
|
<!-- Render a JSON form for layer configuration -->
|
|
137
202
|
<eox-jsonform
|
|
138
203
|
.schema=${this.layerConfig.schema}
|
|
139
|
-
.value=${
|
|
140
|
-
.options=${
|
|
204
|
+
.value=${$(this,ft)}
|
|
205
|
+
.options=${t}
|
|
206
|
+
.noShadow=${!0}
|
|
141
207
|
@change=${this.throttleDataChange}
|
|
142
208
|
></eox-jsonform>
|
|
143
209
|
`)}
|
|
144
|
-
`}}
|
|
210
|
+
`}}Oe=new WeakMap,ft=new WeakMap,Ht=new WeakMap,Mt=new WeakSet,gi=function(t){He(this,Oe,t.detail),this.layerConfig.type==="style"||this.layerConfig.style?"setStyle"in this.layer||"updateStyleVariables"in this.layer?Ja($(this,Oe),this.layer,this.layerConfig):console.error(`Layer type ${this.layer.get("type")??""} does not support styles configuration`):He(this,Ht,Ga($(this,Oe),$(this,Ht),this)),this.dispatchEvent(new CustomEvent("layerConfig:change",{bubbles:!0,detail:{jsonformValue:t.detail,layer:this.layer}})),this.requestUpdate()},dr=new WeakMap,ur=new WeakMap,Z(Eo,"properties",{layer:{attribute:!1},unstyled:{type:Boolean},noShadow:{type:Boolean},layerConfig:{attribute:!1}}),customElements.define("eox-layercontrol-layerconfig",Eo);class Co extends ce{constructor(){super();L(this,pr);L(this,mr,"");L(this,hr,"");this.unstyled=!1,this.noShadow=!1,this.layerDatetime=null,this.layer=null}createRenderRoot(){return this.noShadow?this:super.createRenderRoot()}render(){return customElements.get("eox-timecontrol")||console.error("Please import @eox/timecontrol in order to use layerDatetime"),g`
|
|
145
211
|
<style>
|
|
146
|
-
${
|
|
147
|
-
${!this.unstyled
|
|
212
|
+
${$(this,mr)}
|
|
213
|
+
${!this.unstyled&&$(this,hr)}
|
|
148
214
|
</style>
|
|
149
|
-
${
|
|
215
|
+
${I(this.layerDatetime,()=>g`
|
|
150
216
|
<!-- Render a Timecontrol for layer date time -->
|
|
151
217
|
<eox-timecontrol
|
|
152
218
|
?unstyled=${this.unstyled}
|
|
@@ -159,10 +225,10 @@
|
|
|
159
225
|
.controlProperty=${void 0}
|
|
160
226
|
current-step=${this.layerDatetime.currentStep}
|
|
161
227
|
.displayFormat=${this.layerDatetime.displayFormat}
|
|
162
|
-
@stepchange=${
|
|
228
|
+
@stepchange=${q(this,pr,jo)}
|
|
163
229
|
></eox-timecontrol>
|
|
164
230
|
`)}
|
|
165
|
-
`}}
|
|
231
|
+
`}}pr=new WeakSet,jo=function(t){this.dispatchEvent(new CustomEvent("datetime:updated",{bubbles:!0,detail:{datetime:t.detail.currentStep,layer:this.layer}})),this.layerDatetime.currentStep=t.detail.currentStep,this.requestUpdate()},mr=new WeakMap,hr=new WeakMap,Z(Co,"properties",{unstyled:{type:Boolean},noShadow:{type:Boolean},layerDatetime:{attribute:!1},layer:{attribute:!1}}),customElements.define("eox-layercontrol-layer-datetime",Co);class To extends ce{constructor(){super();L(this,Vt,t=>(this.selectedTab===t||this.toolsAsList)&&"highlighted");L(this,fr,`
|
|
166
232
|
.tabbed figure,
|
|
167
233
|
.listed figure {
|
|
168
234
|
margin: 0;
|
|
@@ -184,113 +250,116 @@
|
|
|
184
250
|
.listed .tab.highlighted {
|
|
185
251
|
display: block;
|
|
186
252
|
}
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
display: flex;
|
|
190
|
-
justify-content: start;
|
|
191
|
-
align-items: center;
|
|
192
|
-
background: var(--background-color) !important;
|
|
253
|
+
.listed .tab {
|
|
254
|
+
margin-bottom: .5rem;
|
|
193
255
|
}
|
|
194
|
-
|
|
195
|
-
|
|
256
|
+
`);L(this,gr,`
|
|
257
|
+
${ar}
|
|
258
|
+
figure {
|
|
259
|
+
padding: var(--padding-vertical) var(--padding);
|
|
260
|
+
background-color: var(--surface); /* fallback */
|
|
261
|
+
background-color: var(--item-hover-color);
|
|
196
262
|
}
|
|
197
|
-
.listed
|
|
198
|
-
|
|
199
|
-
font-weight: 300;
|
|
263
|
+
.listed [name*=-icon] {
|
|
264
|
+
display: none;
|
|
200
265
|
}
|
|
201
|
-
.
|
|
202
|
-
|
|
266
|
+
.listed [name*=-icon]+span {
|
|
267
|
+
text-transform: capitalize;
|
|
268
|
+
font-weight: bold;
|
|
203
269
|
}
|
|
204
|
-
.tabbed label
|
|
205
|
-
|
|
206
|
-
border-
|
|
207
|
-
border-bottom: none;
|
|
208
|
-
pointer-events: none;
|
|
270
|
+
.tabbed > nav > div > label,
|
|
271
|
+
.tabbed > nav > div > span {
|
|
272
|
+
border-bottom: 1px solid var(--surface);
|
|
209
273
|
}
|
|
210
|
-
nav div label,
|
|
211
|
-
nav div span {
|
|
212
|
-
|
|
213
|
-
height: 20px;
|
|
214
|
-
display: flex;
|
|
215
|
-
align-items: center;
|
|
216
|
-
justify-content: center;
|
|
217
|
-
cursor: pointer;
|
|
274
|
+
.tabbed > nav > div > label.highlighted,
|
|
275
|
+
.tabbed > nav > div > span.highlighted {
|
|
276
|
+
border-bottom: 2px solid var(--outline-variant);
|
|
218
277
|
}
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
278
|
+
:host {
|
|
279
|
+
--eox-slider-thumb-height: 10px !important;
|
|
280
|
+
--eox-slider-thumb-width: 10px !important;
|
|
281
|
+
--eox-slider-track-height: 4px !important;
|
|
282
|
+
--eox-panel-spacing: 0 !important;
|
|
283
|
+
--eox-slider-margin: 0 !important;
|
|
284
|
+
font-size: small;
|
|
224
285
|
}
|
|
225
|
-
`);this.actions=[],this.selectedTab=0,this.tabs=[],this.unstyled=!1,this.noShadow=!1,this.toolsAsList=!1}createRenderRoot(){return this.noShadow?this:super.createRenderRoot()}render(){const
|
|
286
|
+
`);this.actions=[],this.selectedTab=0,this.tabs=[],this.unstyled=!1,this.noShadow=!1,this.toolsAsList=!1}createRenderRoot(){return this.noShadow?this:super.createRenderRoot()}render(){const t=this.tabs,i=this.actions,o=i.length+t.length>1;return g`
|
|
226
287
|
<style>
|
|
227
|
-
${
|
|
228
|
-
${!this.unstyled
|
|
288
|
+
${$(this,fr)}
|
|
289
|
+
${!this.unstyled&&$(this,gr)}
|
|
229
290
|
</style>
|
|
230
291
|
<div class="${this.toolsAsList?"listed":"tabbed"}">
|
|
231
292
|
<!-- Navigation for tabs and actions -->
|
|
232
|
-
${
|
|
293
|
+
${I(o,()=>g`
|
|
233
294
|
<nav>
|
|
234
|
-
${
|
|
295
|
+
${I(!this.toolsAsList,()=>g`
|
|
235
296
|
<div>
|
|
236
297
|
<!-- Labels for tabs -->
|
|
237
|
-
${
|
|
298
|
+
${nr(t,(n,a)=>g`
|
|
238
299
|
<label
|
|
239
|
-
class=${
|
|
240
|
-
@click=${()=>this.selectedTab=
|
|
300
|
+
class=${$(this,Vt).call(this,a)}
|
|
301
|
+
@click=${()=>this.selectedTab=a}
|
|
241
302
|
>
|
|
242
303
|
<!-- Customizable icon for each tab -->
|
|
243
|
-
<slot name=${`${
|
|
304
|
+
<slot name=${`${n}-icon`}>${n}</slot>
|
|
244
305
|
</label>
|
|
245
306
|
`)}
|
|
246
307
|
</div>
|
|
247
308
|
<div>
|
|
248
309
|
<!-- Icons for actions -->
|
|
249
|
-
${
|
|
310
|
+
${nr(i,n=>g`
|
|
250
311
|
<span>
|
|
251
312
|
<!-- Customizable icon for each action -->
|
|
252
|
-
<slot name=${`${
|
|
313
|
+
<slot name=${`${n}-icon`}>${n}</slot>
|
|
253
314
|
</span>
|
|
254
315
|
`)}
|
|
255
316
|
</div>
|
|
256
317
|
`)}
|
|
257
318
|
</nav>
|
|
258
319
|
`)}
|
|
259
|
-
<figure
|
|
320
|
+
<figure
|
|
321
|
+
class="no-round small-padding vertical-padding"
|
|
322
|
+
style="overflow: hidden; white-space: normal"
|
|
323
|
+
>
|
|
260
324
|
<!-- Content for each tab -->
|
|
261
|
-
${
|
|
262
|
-
${
|
|
325
|
+
${nr(t,(n,a)=>g`
|
|
326
|
+
${I(this.toolsAsList,()=>g`
|
|
263
327
|
<label>
|
|
264
328
|
<!-- Customizable icon for each tab -->
|
|
265
|
-
<slot name=${`${
|
|
266
|
-
<span>${
|
|
329
|
+
<slot name=${`${n}-icon`}>${n}</slot>
|
|
330
|
+
<span>${n}</span>
|
|
267
331
|
</label>
|
|
268
332
|
`)}
|
|
269
|
-
<div class="tab ${
|
|
333
|
+
<div class="tab ${$(this,Vt).call(this,a)}">
|
|
270
334
|
<!-- Content slot for each tab -->
|
|
271
|
-
<slot name=${`${
|
|
335
|
+
<slot name=${`${n}-content`}>${n}</slot>
|
|
272
336
|
</div>
|
|
337
|
+
${I(this.toolsAsList&&a<t.length-1,()=>g`<hr class="small" />`)}
|
|
273
338
|
`)}
|
|
274
339
|
</figure>
|
|
275
340
|
</div>
|
|
276
|
-
`}}
|
|
341
|
+
`}}Vt=new WeakMap,fr=new WeakMap,gr=new WeakMap,Z(To,"properties",{actions:{attribute:!1},selectedTab:{state:!0},tabs:{attribute:!1},unstyled:{type:Boolean},noShadow:{type:Boolean},toolsAsList:{type:Boolean}}),customElements.define("eox-layercontrol-tools-items",To);class Lo extends ce{constructor(){super();Z(this,"_removeButton",t=>xo(this,t));Z(this,"_sortButton",t=>ko(this,t,this.unstyled));Z(this,"_button",(t,i)=>tl(t,i,this.unstyled));Z(this,"_getDefaultTools",t=>{var i,o;return g`
|
|
277
342
|
<div slot="info-content">
|
|
278
|
-
${
|
|
343
|
+
${rl(this.layer.get("description"))}
|
|
279
344
|
</div>
|
|
280
345
|
<div slot="opacity-content">
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
346
|
+
<div class="row">
|
|
347
|
+
<!-- Input for opacity -->
|
|
348
|
+
<input
|
|
349
|
+
type="range"
|
|
350
|
+
min="0"
|
|
351
|
+
max="1"
|
|
352
|
+
step="0.01"
|
|
353
|
+
value=${_o((i=this.layer)==null?void 0:i.getOpacity())}
|
|
354
|
+
class="tiny max"
|
|
355
|
+
@input=${n=>{this.layer.setOpacity(parseFloat(n.target.value)),this.requestUpdate()}}
|
|
356
|
+
/>
|
|
357
|
+
<span class="small-text" style="width: 30px; text-align: right">${Math.round(((o=this.layer)==null?void 0:o.getOpacity())*100)}%</span>
|
|
358
|
+
</div class="row">
|
|
290
359
|
</div>
|
|
291
360
|
<div slot="config-content">
|
|
292
361
|
<!-- Layer configuration -->
|
|
293
|
-
${
|
|
362
|
+
${I(this.layer.get("layerConfig"),()=>g`
|
|
294
363
|
<eox-layercontrol-layerconfig
|
|
295
364
|
slot="config-content"
|
|
296
365
|
.layer=${this.layer}
|
|
@@ -303,7 +372,7 @@
|
|
|
303
372
|
</div>
|
|
304
373
|
<div slot="datetime-content">
|
|
305
374
|
<!-- Layer datetime -->
|
|
306
|
-
${
|
|
375
|
+
${I(this.layer.get("layerDatetime"),()=>g`
|
|
307
376
|
<eox-layercontrol-layer-datetime
|
|
308
377
|
slot="datetime-content"
|
|
309
378
|
.noShadow=${!0}
|
|
@@ -316,7 +385,7 @@
|
|
|
316
385
|
</div>
|
|
317
386
|
<div slot="legend-content">
|
|
318
387
|
<!-- Layer legend -->
|
|
319
|
-
${
|
|
388
|
+
${I(this.layer.get("layerLegend"),()=>g`
|
|
320
389
|
<eox-layercontrol-layer-legend
|
|
321
390
|
slot="legend-content"
|
|
322
391
|
.noShadow=${!0}
|
|
@@ -327,119 +396,45 @@
|
|
|
327
396
|
></eox-layercontrol-layer-legend>
|
|
328
397
|
`)}
|
|
329
398
|
</div>
|
|
330
|
-
<div slot="remove-icon">${this._removeButton()}</div>
|
|
331
|
-
<div slot="sort-icon">${this._sortButton()}</div>
|
|
332
|
-
`});
|
|
333
|
-
${
|
|
334
|
-
${sa}
|
|
335
|
-
${Ar}
|
|
336
|
-
${aa}
|
|
399
|
+
<div slot="remove-icon">${this._removeButton(t.remove)}</div>
|
|
400
|
+
<div slot="sort-icon">${this._sortButton(t.sort)}</div>
|
|
401
|
+
`});L(this,br,"");L(this,vr,`
|
|
402
|
+
${this.embedded?"":ar}
|
|
337
403
|
.drag-handle {
|
|
338
|
-
|
|
404
|
+
-webkit-user-drag: element;
|
|
405
|
+
user-select: none;
|
|
339
406
|
}
|
|
340
407
|
.single-action-container,
|
|
341
408
|
details.tools {
|
|
342
409
|
position: relative;
|
|
343
410
|
}
|
|
344
|
-
eox-layercontrol-layer details summary::before {
|
|
345
|
-
content: "";
|
|
346
|
-
}
|
|
347
|
-
details.tools[open] {
|
|
348
|
-
/*border-top: 1px solid #0041703a;*/
|
|
349
|
-
}
|
|
350
411
|
.single-action {
|
|
351
412
|
position: relative;
|
|
352
413
|
}
|
|
353
|
-
details.tools summary
|
|
414
|
+
details.tools summary button {
|
|
354
415
|
pointer-events: none;
|
|
355
416
|
}
|
|
356
417
|
.single-action,
|
|
357
418
|
details.tools summary {
|
|
358
419
|
position: absolute;
|
|
359
|
-
right:
|
|
360
|
-
top: -
|
|
420
|
+
right: 1.5rem;
|
|
421
|
+
top: -32px;
|
|
361
422
|
height: 24px;
|
|
362
423
|
cursor: pointer;
|
|
363
424
|
display: var(--layer-tools-button-visibility);
|
|
364
425
|
}
|
|
365
|
-
.single-action .icon::before,
|
|
366
|
-
details.tools summary .icon::before {
|
|
367
|
-
content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23004170' viewBox='0 0 24 24'%3E%3Ctitle%3Edots-vertical%3C/title%3E%3Cpath d='M12,16A2,2 0 0,1 14,18A2,2 0 0,1 12,20A2,2 0 0,1 10,18A2,2 0 0,1 12,16M12,10A2,2 0 0,1 14,12A2,2 0 0,1 12,14A2,2 0 0,1 10,12A2,2 0 0,1 12,10M12,4A2,2 0 0,1 14,6A2,2 0 0,1 12,8A2,2 0 0,1 10,6A2,2 0 0,1 12,4Z' /%3E%3C/svg%3E");
|
|
368
|
-
}
|
|
369
426
|
.single-action,
|
|
370
|
-
details.tools summary
|
|
371
|
-
eox-layercontrol-tools-items button.icon {
|
|
427
|
+
details.tools summary {
|
|
372
428
|
transition: opacity .2s;
|
|
373
429
|
}
|
|
374
430
|
.single-action,
|
|
375
431
|
details.tools summary {
|
|
376
432
|
opacity: .5;
|
|
377
433
|
}
|
|
378
|
-
eox-layercontrol-tools-items button.icon {
|
|
379
|
-
opacity: .7;
|
|
380
|
-
}
|
|
381
|
-
eox-layercontrol-tools-items.tools-list button.icon {
|
|
382
|
-
cursor: auto;
|
|
383
|
-
}
|
|
384
434
|
.single-action:hover,
|
|
385
|
-
details.tools summary:hover
|
|
386
|
-
eox-layercontrol-tools-items button.icon:hover {
|
|
435
|
+
details.tools summary:hover {
|
|
387
436
|
opacity: 1;
|
|
388
437
|
}
|
|
389
|
-
eox-layercontrol-tools-items.tools-list button.icon:hover {
|
|
390
|
-
opacity: .7;
|
|
391
|
-
}
|
|
392
|
-
.tools-placeholder,
|
|
393
|
-
.single-action .icon,
|
|
394
|
-
.single-action .icon::before,
|
|
395
|
-
details.tools summary .icon,
|
|
396
|
-
details.tools summary .icon::before {
|
|
397
|
-
height: 16px;
|
|
398
|
-
width: 16px;
|
|
399
|
-
margin-right: var(--padding);
|
|
400
|
-
}
|
|
401
|
-
eox-layercontrol-tools-items button.icon,
|
|
402
|
-
eox-layercontrol-tools-items .button.icon {
|
|
403
|
-
display: flex;
|
|
404
|
-
justify-content: center;
|
|
405
|
-
}
|
|
406
|
-
eox-layercontrol-tools-items.tools-list button.icon,
|
|
407
|
-
eox-layercontrol-tools-items.tools-list .button.icon {
|
|
408
|
-
margin-left: -6px;
|
|
409
|
-
}
|
|
410
|
-
eox-layercontrol-tools-items button.icon::before,
|
|
411
|
-
eox-layercontrol-tools-items .button.icon::before {
|
|
412
|
-
width: 16px;
|
|
413
|
-
height: 16px;
|
|
414
|
-
}
|
|
415
|
-
details.tools summary .info-icon,
|
|
416
|
-
button.icon[slot=info-icon]::before {
|
|
417
|
-
content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23004170' viewBox='0 0 24 24'%3E%3Ctitle%3Einformation-outline%3C/title%3E%3Cpath d='M11,9H13V7H11M12,20C7.59,20 4,16.41 4,12C4,7.59 7.59,4 12,4C16.41,4 20,7.59 20,12C20,16.41 16.41,20 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,2M11,17H13V11H11V17Z' /%3E%3C/svg%3E");
|
|
418
|
-
}
|
|
419
|
-
details.tools summary .opacity-icon,
|
|
420
|
-
button.icon[slot=opacity-icon]::before {
|
|
421
|
-
content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23004170' viewBox='0 0 24 24'%3E%3Ctitle%3Eopacity%3C/title%3E%3Cpath d='M17.66,8L12,2.35L6.34,8C4.78,9.56 4,11.64 4,13.64C4,15.64 4.78,17.75 6.34,19.31C7.9,20.87 9.95,21.66 12,21.66C14.05,21.66 16.1,20.87 17.66,19.31C19.22,17.75 20,15.64 20,13.64C20,11.64 19.22,9.56 17.66,8M6,14C6,12 6.62,10.73 7.76,9.6L12,5.27L16.24,9.65C17.38,10.77 18,12 18,14H6Z' /%3E%3C/svg%3E");
|
|
422
|
-
}
|
|
423
|
-
details.tools summary .config-icon,
|
|
424
|
-
button.icon[slot=config-icon]::before {
|
|
425
|
-
content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23004170' viewBox='0 0 24 24'%3E%3Ctitle%3Etune%3C/title%3E%3Cpath d='M3,17V19H9V17H3M3,5V7H13V5H3M13,21V19H21V17H13V15H11V21H13M7,9V11H3V13H7V15H9V9H7M21,13V11H11V13H21M15,9H17V7H21V5H17V3H15V9Z' /%3E%3C/svg%3E");
|
|
426
|
-
}
|
|
427
|
-
details.tools summary .datetime-icon,
|
|
428
|
-
button.icon[slot=datetime-icon]::before {
|
|
429
|
-
content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ctitle%3Eclock-outline%3C/title%3E%3Cpath d='M12,20A8,8 0 0,0 20,12A8,8 0 0,0 12,4A8,8 0 0,0 4,12A8,8 0 0,0 12,20M12,2A10,10 0 0,1 22,12A10,10 0 0,1 12,22C6.47,22 2,17.5 2,12A10,10 0 0,1 12,2M12.5,7V12.25L17,14.92L16.25,16.15L11,13V7H12.5Z' /%3E%3C/svg%3E");
|
|
430
|
-
}
|
|
431
|
-
details.tools summary .legend-icon,
|
|
432
|
-
button.icon[slot=legend-icon]::before {
|
|
433
|
-
content: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Ctitle%3Emap-legend%3C%2Ftitle%3E%3Cpath%20d%3D%22M9%2C3L3.36%2C4.9C3.15%2C4.97%203%2C5.15%203%2C5.38V20.5A0.5%2C0.5%200%200%2C0%203.5%2C21L3.66%2C20.97L9%2C18.9L15%2C21L20.64%2C19.1C20.85%2C19.03%2021%2C18.85%2021%2C18.62V3.5A0.5%2C0.5%200%200%2C0%2020.5%2C3L20.34%2C3.03L15%2C5.1L9%2C3M8%2C5.45V17.15L5%2C18.31V6.46L8%2C5.45M10%2C5.47L14%2C6.87V18.53L10%2C17.13V5.47M19%2C5.7V17.54L16%2C18.55V6.86L19%2C5.7M7.46%2C6.3L5.57%2C6.97V9.12L7.46%2C8.45V6.3M7.46%2C9.05L5.57%2C9.72V11.87L7.46%2C11.2V9.05M7.46%2C11.8L5.57%2C12.47V14.62L7.46%2C13.95V11.8M7.46%2C14.55L5.57%2C15.22V17.37L7.46%2C16.7V14.55Z%22%20%2F%3E%3C%2Fsvg%3E");
|
|
434
|
-
}
|
|
435
|
-
.single-action .remove-icon::before,
|
|
436
|
-
[slot=remove-icon] button.icon::before {
|
|
437
|
-
content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23ff0000' viewBox='0 0 24 24'%3E%3Ctitle%3Edelete-outline%3C/title%3E%3Cpath d='M6,19A2,2 0 0,0 8,21H16A2,2 0 0,0 18,19V7H6V19M8,9H16V19H8V9M15.5,4L14.5,3H9.5L8.5,4H5V6H19V4H15.5Z' /%3E%3C/svg%3E");
|
|
438
|
-
}
|
|
439
|
-
.single-action .sort-icon::before,
|
|
440
|
-
[slot=sort-icon] .button.icon::before {
|
|
441
|
-
content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23004170' viewBox='0 0 24 24'%3E%3Ctitle%3Edrag-horizontal-variant%3C/title%3E%3Cpath d='M21 11H3V9H21V11M21 13H3V15H21V13Z' /%3E%3C/svg%3E");
|
|
442
|
-
}
|
|
443
438
|
[slot=info-content],
|
|
444
439
|
[slot=opacity-content],
|
|
445
440
|
[slot=config-content],
|
|
@@ -450,171 +445,276 @@
|
|
|
450
445
|
[slot=info-content] * {
|
|
451
446
|
max-width: 100%;
|
|
452
447
|
}
|
|
453
|
-
|
|
448
|
+
/*eox-layercontrol-layerconfig {
|
|
449
|
+
border: 1px solid var(--outline-variant);
|
|
450
|
+
padding: .5rem !important;
|
|
451
|
+
display: block;
|
|
452
|
+
}*/
|
|
453
|
+
`);this.layer=null,this.tools=[],this.unstyled=!1,this.noShadow=!1,this.toolsAsList=!1,setTimeout(()=>{var t;this.embedded=((t=this.parentElement)==null?void 0:t.tagName)==="EOX-LAYERCONTROL-LAYER"})}createRenderRoot(){return this.noShadow?this:super.createRenderRoot()}render(){const t=vo(this.tools,this.layer),i=yo(this.tools,this.layer),o=t==null?void 0:t.length,n=i==null?void 0:i.length;return g`
|
|
454
454
|
<style>
|
|
455
|
-
${
|
|
456
|
-
${!this.unstyled
|
|
455
|
+
${$(this,br)}
|
|
456
|
+
${!this.unstyled&&$(this,vr)}
|
|
457
457
|
</style>
|
|
458
|
-
${
|
|
459
|
-
${
|
|
460
|
-
<div class="single-action-container">
|
|
461
|
-
<div class="single-action">${r}</div>
|
|
462
|
-
</div>
|
|
463
|
-
`,()=>v`
|
|
458
|
+
${I(o+n>0,()=>g`
|
|
459
|
+
${I(!(o===1&&n===0),()=>g`
|
|
464
460
|
<details
|
|
465
461
|
class="tools"
|
|
466
|
-
open=${this.layer.get("layerControlToolsExpand")||
|
|
462
|
+
open=${this.embedded===!1?!0:this.layer.get("layerControlToolsExpand")||O}
|
|
467
463
|
>
|
|
468
|
-
<summary>
|
|
469
|
-
<button class="icon ${o}">Tools</button>
|
|
470
|
-
</summary>
|
|
464
|
+
<summary></summary>
|
|
471
465
|
<eox-layercontrol-tools-items
|
|
472
466
|
class="${this.toolsAsList?"tools-list":"tools-tab"}"
|
|
473
467
|
.noShadow=${!1}
|
|
474
|
-
.actions=${
|
|
475
|
-
.tabs=${
|
|
468
|
+
.actions=${t}
|
|
469
|
+
.tabs=${i}
|
|
476
470
|
.unstyled=${this.unstyled}
|
|
477
471
|
.toolsAsList=${this.toolsAsList}
|
|
478
472
|
>
|
|
479
473
|
<!-- Rendering tabs and content -->
|
|
480
|
-
${
|
|
474
|
+
${nr(i,a=>this._button(a,Rt()[a]))}
|
|
481
475
|
<!-- Including default tools -->
|
|
482
|
-
${this._getDefaultTools()}
|
|
476
|
+
${this._getDefaultTools(Rt())}
|
|
483
477
|
</eox-layercontrol-tools-items>
|
|
484
478
|
</details>
|
|
485
479
|
`)}
|
|
486
480
|
`)}
|
|
487
|
-
`}}
|
|
488
|
-
${Ar}
|
|
481
|
+
`}}br=new WeakMap,vr=new WeakMap,Z(Lo,"properties",{layer:{attribute:!1},tools:{attribute:!1},unstyled:{type:Boolean},noShadow:{type:Boolean},toolsAsList:{type:Boolean},embedded:{state:!0}}),customElements.define("eox-layercontrol-layer-tools",Lo);const nl=r=>{const e=()=>{const t=Wa(r.layer,r.map,r.showLayerZoomState);let i=!1;!t&&r.currLayerVisibilityBasedOnZoom?(r.currLayerVisibilityBasedOnZoom=!1,i=!0):t&&!r.currLayerVisibilityBasedOnZoom&&(r.currLayerVisibilityBasedOnZoom=!0,i=!0),i&&(r.requestUpdate(),r.dispatchEvent(new CustomEvent("change:resolution",{bubbles:!0})))};fo(r.layer,r.showLayerZoomState)&&(e(),r.map.getView().on("change:resolution",()=>e()))},al=(r,e)=>{const t=e.layer;t.setVisible(r.target.checked),r.target.checked&&t.get("layerControlExclusive")&&e.closest(".layers > ul").querySelectorAll("eox-layercontrol-layer").forEach(o=>{var n;o.layer!==t&&((n=o.layer)!=null&&n.get("layerControlExclusive"))&&(o.layer.setVisible(!1),o.requestUpdate())}),e.dispatchEvent(new CustomEvent("changed",{bubbles:!0,detail:t})),e.requestUpdate()};class Do extends ce{constructor(){super();L(this,Ee);Z(this,"currLayerVisibilityBasedOnZoom",!0);L(this,yr,"");L(this,xr,`
|
|
489
482
|
eox-layercontrol-layer {
|
|
490
483
|
width: 100%;
|
|
491
484
|
position: relative;
|
|
492
485
|
}
|
|
486
|
+
eox-layercontrol-layer nav {
|
|
487
|
+
height: 32px;
|
|
488
|
+
margin-block-start: 0 !important;
|
|
489
|
+
}
|
|
490
|
+
eox-layercontrol-layer > nav > .action.tools {
|
|
491
|
+
display: var(--layer-tools-button-visibility);
|
|
492
|
+
}
|
|
493
|
+
eox-layercontrol-layer .action.tools.dots {
|
|
494
|
+
transition: rotate 0s;
|
|
495
|
+
}
|
|
496
|
+
eox-layercontrol-layer:has(eox-layercontrol-layer-tools > details[open]) .action.tools.dots {
|
|
497
|
+
transform: rotate(180deg);
|
|
498
|
+
}
|
|
499
|
+
eox-layercontrol-layer > nav > .action.visibility {
|
|
500
|
+
padding: .3rem;
|
|
501
|
+
transform: translateX(.3rem);
|
|
502
|
+
}
|
|
503
|
+
@media (pointer:fine) {
|
|
504
|
+
eox-layercontrol-layer:not(:hover) > nav > .action {
|
|
505
|
+
display: var(--layer-toggle-button-visibility);
|
|
506
|
+
}
|
|
507
|
+
}
|
|
508
|
+
eox-layercontrol-layer nav:has(.action input[type=checkbox]:not(:checked)),
|
|
509
|
+
eox-layercontrol-layer nav:has(.action input[type=radio]:not(:checked)),
|
|
510
|
+
eox-layercontrol-layer:has(.action input[type=checkbox]:not(:checked)) eox-layercontrol-layer-tools,
|
|
511
|
+
eox-layercontrol-layer:has(.action input[type=radio]:not(:checked)) eox-layercontrol-layer-tools,
|
|
512
|
+
eox-layercontrol-layer-group:has(summary .action input[type=checkbox]:not(:checked)) eox-layercontrol-layer-list,
|
|
513
|
+
eox-layercontrol-layer-group:has(summary .action input[type=radio]:not(:checked)) eox-layercontrol-layer-list,
|
|
514
|
+
eox-layercontrol-layer-group:has(summary .action input[type=checkbox]:not(:checked)) .arrow-container,
|
|
515
|
+
eox-layercontrol-layer-group:has(summary .action input[type=radio]:not(:checked)) .arrow-container,
|
|
516
|
+
eox-layercontrol-layer-group:has(summary .action input[type=checkbox]:not(:checked)) eox-layercontrol-layer-tools,
|
|
517
|
+
eox-layercontrol-layer-group:has(summary .action input[type=radio]:not(:checked)) eox-layercontrol-layer-tools {
|
|
518
|
+
opacity: .5;
|
|
519
|
+
}
|
|
520
|
+
.tooltip {
|
|
521
|
+
opacity: 1;
|
|
522
|
+
}
|
|
493
523
|
.layer input[type=checkbox],
|
|
494
524
|
.layer input[type=radio] {
|
|
495
525
|
display: var(--layer-input-visibility);
|
|
496
526
|
}
|
|
497
527
|
.layer.zoom-state-invisible {
|
|
498
|
-
|
|
499
|
-
opacity: 0.3;
|
|
528
|
+
opacity: 0.5;
|
|
500
529
|
}
|
|
501
530
|
.layer {
|
|
502
|
-
width: 100%;
|
|
503
|
-
align-items: center;
|
|
504
|
-
justify-content: space-between;
|
|
505
531
|
padding: var(--padding-vertical) 0;
|
|
506
532
|
display: var(--layer-visibility);
|
|
533
|
+
user-select: none;
|
|
507
534
|
}
|
|
508
|
-
|
|
509
|
-
display: flex;
|
|
510
|
-
align-items: center;
|
|
511
|
-
cursor: pointer;
|
|
512
|
-
}
|
|
513
|
-
.title {
|
|
535
|
+
.layertitle {
|
|
514
536
|
display: var(--layer-title-visibility);
|
|
515
537
|
}
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
height: 20px;
|
|
520
|
-
margin-right: 6px;
|
|
521
|
-
display: var(--layer-type-visibility);
|
|
522
|
-
}
|
|
523
|
-
[data-type] .title.color-swatch::before {
|
|
524
|
-
background: var(--layer-color);
|
|
525
|
-
border-radius: 3px;
|
|
526
|
-
content: "" !important;
|
|
527
|
-
width: 16px;
|
|
528
|
-
min-width: 16px;
|
|
529
|
-
height: 16px;
|
|
530
|
-
}
|
|
531
|
-
[data-type=group] .title::before {
|
|
532
|
-
content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%230041703a' viewBox='0 0 24 24'%3E%3Ctitle%3Efolder-outline%3C/title%3E%3Cpath d='M20,18H4V8H20M20,6H12L10,4H4C2.89,4 2,4.89 2,6V18A2,2 0 0,0 4,20H20A2,2 0 0,0 22,18V8C22,6.89 21.1,6 20,6Z' /%3E%3C/svg%3E");
|
|
533
|
-
}
|
|
534
|
-
[data-type=group] > eox-layercontrol-layer-group > details[open] > summary > eox-layercontrol-layer > .layer > label > .title::before {
|
|
535
|
-
content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%230041703a' viewBox='0 0 24 24'%3E%3Ctitle%3Efolder-open-outline%3C/title%3E%3Cpath d='M6.1,10L4,18V8H21A2,2 0 0,0 19,6H12L10,4H4A2,2 0 0,0 2,6V18A2,2 0 0,0 4,20H19C19.9,20 20.7,19.4 20.9,18.5L23.2,10H6.1M19,18H6L7.6,12H20.6L19,18Z' /%3E%3C/svg%3E");
|
|
536
|
-
}
|
|
537
|
-
[data-type=raster] .title::before {
|
|
538
|
-
content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%230041703a' viewBox='0 0 24 24'%3E%3Ctitle%3Echeckerboard%3C/title%3E%3Cpath d='M2 2V22H22V2H2M20 12H16V16H20V20H16V16H12V20H8V16H4V12H8V8H4V4H8V8H12V4H16V8H20V12M16 8V12H12V8H16M12 12V16H8V12H12Z' /%3E%3C/svg%3E");
|
|
539
|
-
}
|
|
540
|
-
[data-type=vector] .title::before {
|
|
541
|
-
content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%230041703a' viewBox='0 0 24 24'%3E%3Ctitle%3Eshape-outline%3C/title%3E%3Cpath d='M11,13.5V21.5H3V13.5H11M9,15.5H5V19.5H9V15.5M12,2L17.5,11H6.5L12,2M12,5.86L10.08,9H13.92L12,5.86M17.5,13C20,13 22,15 22,17.5C22,20 20,22 17.5,22C15,22 13,20 13,17.5C13,15 15,13 17.5,13M17.5,15A2.5,2.5 0 0,0 15,17.5A2.5,2.5 0 0,0 17.5,20A2.5,2.5 0 0,0 20,17.5A2.5,2.5 0 0,0 17.5,15Z' /%3E%3C/svg%3E");
|
|
538
|
+
.drag-handle {
|
|
539
|
+
-webkit-user-drag: element;
|
|
540
|
+
user-select: none;
|
|
542
541
|
}
|
|
543
|
-
|
|
544
|
-
|
|
542
|
+
:is(.checkbox,.radio)>span:after {
|
|
543
|
+
transition: none !important;
|
|
545
544
|
}
|
|
546
|
-
`);this.layer=null,this.map=null,this.titleProperty="title",this.showLayerZoomState=!1,this.tools=[],this.unstyled=!1,this.noShadow=!1,this.toolsAsList=!1}createRenderRoot(){return this.noShadow?this:super.createRenderRoot()}firstUpdated(){
|
|
545
|
+
`);this.layer=null,this.layerType=void 0,this.map=null,this.titleProperty="title",this.showLayerZoomState=!1,this.tools=[],this.unstyled=!1,this.noShadow=!1,this.toolsAsList=!1}createRenderRoot(){return this.noShadow?this:super.createRenderRoot()}firstUpdated(){nl(this)}render(){var u,d;const t=this.layer.getVisible(),i=t?"visible":"",o=this.currLayerVisibilityBasedOnZoom?"":"zoom-state-invisible",n=q(this,Ee,gt).call(this,"layerControlDisable")?"disabled":"",a=q(this,Ee,gt).call(this,"layerControlExclusive")?"radio":"checkbox",l=((u=vo(this.tools,this.layer))==null?void 0:u.length)>0,s=((d=yo(this.tools,this.layer))==null?void 0:d.length)>0,c=document.querySelector("eox-layercontrol-layer-tools");return c&&Object.assign(c,{layer:this.layer,tools:this.tools,toolsAsList:this.toolsAsList}),g`
|
|
547
546
|
<style>
|
|
548
|
-
${
|
|
549
|
-
${!this.unstyled
|
|
547
|
+
${$(this,yr)}
|
|
548
|
+
${!this.unstyled&&$(this,xr)}
|
|
550
549
|
</style>
|
|
551
|
-
${
|
|
550
|
+
${I(this.layer,()=>g`
|
|
552
551
|
<!-- Render the layer -->
|
|
553
|
-
<
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
552
|
+
<nav
|
|
553
|
+
class="layer ${n} ${i} ${o} responsive tiny-space"
|
|
554
|
+
>
|
|
555
|
+
${I(!this.unstyled,()=>{if(q(this,Ee,gt).call(this,"color"))return g`
|
|
556
|
+
<i class="small" style="color: ${q(this,Ee,gt).call(this,"color")}">
|
|
557
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
|
|
558
|
+
<title>square-rounded</title>
|
|
559
|
+
<path
|
|
560
|
+
d="M8 3H16C18.76 3 21 5.24 21 8V16C21 18.76 18.76 21 16 21H8C5.24 21 3 18.76 3 16V8C3 5.24 5.24 3 8 3Z"
|
|
561
|
+
/>
|
|
562
|
+
</svg>
|
|
563
|
+
</i>
|
|
564
|
+
`;switch(this.layerType){case"group":return g` <i class="small"> </i> `;case"draw":return g`
|
|
565
|
+
<i class="small grey-text">
|
|
566
|
+
<svg
|
|
567
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
568
|
+
viewBox="0 0 24 24"
|
|
569
|
+
>
|
|
570
|
+
<title>vector-square-edit</title>
|
|
571
|
+
<path
|
|
572
|
+
d="M22.7 14.4L21.7 15.4L19.6 13.3L20.6 12.3C20.8 12.1 21.2 12.1 21.4 12.3L22.7 13.6C22.9 13.8 22.9 14.1 22.7 14.4M13 19.9L19.1 13.8L21.2 15.9L15.1 22H13V19.9M11 19.9V19.1L11.6 18.5L12.1 18H8V16H6V8H8V6H16V8H18V12.1L19.1 11L19.3 10.8C19.5 10.6 19.8 10.4 20.1 10.3V8H22.1V2H16.1V4H8V2H2V8H4V16H2V22H8V20L11 19.9M18 4H20V6H18V4M4 4H6V6H4V4M6 20H4V18H6V20Z"
|
|
573
|
+
/>
|
|
574
|
+
</svg>
|
|
575
|
+
</i>
|
|
576
|
+
`;case"vector":return g`
|
|
577
|
+
<i class="small grey-text">
|
|
578
|
+
<svg
|
|
579
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
580
|
+
viewBox="0 0 24 24"
|
|
581
|
+
>
|
|
582
|
+
<title>vector-polygon</title>
|
|
583
|
+
<path
|
|
584
|
+
d="M2,2V8H4.28L5.57,16H4V22H10V20.06L15,20.05V22H21V16H19.17L20,9H22V3H16V6.53L14.8,8H9.59L8,5.82V2M4,4H6V6H4M18,5H20V7H18M6.31,8H7.11L9,10.59V14H15V10.91L16.57,9H18L17.16,16H15V18.06H10V16H7.6M11,10H13V12H11M6,18H8V20H6M17,18H19V20H17"
|
|
585
|
+
/>
|
|
586
|
+
</svg>
|
|
587
|
+
</i>
|
|
588
|
+
`;case"raster":return g`
|
|
589
|
+
<i class="small grey-text">
|
|
590
|
+
<svg
|
|
591
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
592
|
+
viewBox="0 0 24 24"
|
|
593
|
+
>
|
|
594
|
+
<title>checkerboard</title>
|
|
595
|
+
<path
|
|
596
|
+
d="M2 2V22H22V2H2M20 12H16V16H20V20H16V16H12V20H8V16H4V12H8V8H4V4H8V8H12V4H16V8H20V12M16 8V12H12V8H16M12 12V16H8V12H12Z"
|
|
597
|
+
/>
|
|
598
|
+
</svg>
|
|
599
|
+
</i>
|
|
600
|
+
`;default:return g` <i class="small grey-text"> </i> `}})}
|
|
561
601
|
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
602
|
+
<!-- Layer title -->
|
|
603
|
+
<div class="max truncate drag-handle ${n}">
|
|
604
|
+
<span class="layertitle truncate"
|
|
605
|
+
>${q(this,Ee,gt).call(this,this.titleProperty)}</span
|
|
566
606
|
>
|
|
567
|
-
|
|
607
|
+
</div>
|
|
608
|
+
|
|
609
|
+
${I(s,()=>g`
|
|
610
|
+
<button
|
|
611
|
+
class="transparent square primary-text small action tools ${this.tools.length===1?this.tools[0]:"dots"}"
|
|
612
|
+
@click=${()=>{var h,f,v;const m=((f=(h=this.renderRoot.querySelector("eox-layercontrol-layer-tools"))==null?void 0:h.shadowRoot)==null?void 0:f.querySelector("details"))||((v=this.renderRoot.querySelector("eox-layercontrol-layer-tools"))==null?void 0:v.querySelector("details"));m.open=!m.open}}
|
|
613
|
+
>
|
|
614
|
+
<i class="small">
|
|
615
|
+
${Rt()[this.tools.length>1?"dots":this.tools[0]]}
|
|
616
|
+
</i>
|
|
617
|
+
<!--<div class="tooltip top" style="pointer-events: none">Tools</div>-->
|
|
618
|
+
</button>
|
|
619
|
+
`)}
|
|
620
|
+
${I(!s&&l,()=>this.tools[0]==="remove"?xo(this,Rt()[this.tools[0]]):ko(this,Rt()[this.tools[0]],!1))}
|
|
621
|
+
|
|
622
|
+
<!-- Input element for layer visibility -->
|
|
623
|
+
<label
|
|
624
|
+
class="${n} ${a} icon square primary-text action visibility small"
|
|
625
|
+
>
|
|
626
|
+
<input
|
|
627
|
+
type=${a}
|
|
628
|
+
.checked=${_o(t)}
|
|
629
|
+
@click=${q(this,Ee,qo)}
|
|
630
|
+
disabled=${n||O}
|
|
631
|
+
/>
|
|
632
|
+
<span>
|
|
633
|
+
<i>
|
|
634
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
|
|
635
|
+
<title>eye-off-outline</title>
|
|
636
|
+
<path
|
|
637
|
+
d="M2,5.27L3.28,4L20,20.72L18.73,22L15.65,18.92C14.5,19.3 13.28,19.5 12,19.5C7,19.5 2.73,16.39 1,12C1.69,10.24 2.79,8.69 4.19,7.46L2,5.27M12,9A3,3 0 0,1 15,12C15,12.35 14.94,12.69 14.83,13L11,9.17C11.31,9.06 11.65,9 12,9M12,4.5C17,4.5 21.27,7.61 23,12C22.18,14.08 20.79,15.88 19,17.19L17.58,15.76C18.94,14.82 20.06,13.54 20.82,12C19.17,8.64 15.76,6.5 12,6.5C10.91,6.5 9.84,6.68 8.84,7L7.3,5.47C8.74,4.85 10.33,4.5 12,4.5M3.18,12C4.83,15.36 8.24,17.5 12,17.5C12.69,17.5 13.37,17.43 14,17.29L11.72,15C10.29,14.85 9.15,13.71 9,12.28L5.6,8.87C4.61,9.72 3.78,10.78 3.18,12Z"
|
|
638
|
+
/>
|
|
639
|
+
</svg>
|
|
640
|
+
</i>
|
|
641
|
+
<i>
|
|
642
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
|
|
643
|
+
<title>eye</title>
|
|
644
|
+
<path
|
|
645
|
+
d="M12,9A3,3 0 0,0 9,12A3,3 0 0,0 12,15A3,3 0 0,0 15,12A3,3 0 0,0 12,9M12,17A5,5 0 0,1 7,12A5,5 0 0,1 12,7A5,5 0 0,1 17,12A5,5 0 0,1 12,17M12,4.5C7,4.5 2.73,7.61 1,12C2.73,16.39 7,19.5 12,19.5C17,19.5 21.27,16.39 23,12C21.27,7.61 17,4.5 12,4.5Z"
|
|
646
|
+
/>
|
|
647
|
+
</svg>
|
|
648
|
+
</i>
|
|
568
649
|
</span>
|
|
569
|
-
|
|
650
|
+
<!--<div class="tooltip top" style="pointer-events: none">${t?"Hide":"Show"}</div>-->
|
|
570
651
|
</label>
|
|
571
|
-
</
|
|
652
|
+
</nav>
|
|
653
|
+
`)}
|
|
572
654
|
|
|
573
|
-
|
|
655
|
+
<!-- Render layer tools -->
|
|
656
|
+
${I(s&&!c,()=>g`
|
|
574
657
|
<eox-layercontrol-layer-tools
|
|
575
|
-
.noShadow=${!
|
|
658
|
+
.noShadow=${!1}
|
|
576
659
|
.layer=${this.layer}
|
|
577
660
|
.tools=${this.tools}
|
|
578
661
|
.unstyled=${this.unstyled}
|
|
579
662
|
.toolsAsList=${this.toolsAsList}
|
|
580
663
|
></eox-layercontrol-layer-tools>
|
|
581
664
|
`)}
|
|
582
|
-
`}}
|
|
583
|
-
details summary {
|
|
584
|
-
|
|
665
|
+
`}}Ee=new WeakSet,gt=function(t){var i;return(i=this.layer)==null?void 0:i.get(t)},qo=function(t){al(t,this)},yr=new WeakMap,xr=new WeakMap,Z(Do,"properties",{layer:{attribute:!1},layerType:{attribute:!1},map:{attribute:!1,state:!0},titleProperty:{attribute:"title-property",type:String},showLayerZoomState:{attribute:"show-layer-zoom-state",type:Boolean},tools:{attribute:!1},unstyled:{type:Boolean},noShadow:{type:Boolean},toolsAsList:{type:Boolean}}),customElements.define("eox-layercontrol-layer",Do);class Po extends ce{constructor(){super();L(this,kr,"");L(this,wr,`
|
|
666
|
+
details > summary {
|
|
667
|
+
min-block-size: 0rem;
|
|
585
668
|
display: var(--layer-summary-visibility);
|
|
669
|
+
user-select: none;
|
|
586
670
|
}
|
|
587
|
-
details
|
|
588
|
-
details summary::-webkit-details-marker { display: none; } /* Chrome */
|
|
589
|
-
details summary::marker { display: none; }
|
|
590
|
-
details summary::before {
|
|
591
|
-
display: var(--layer-visibility);
|
|
592
|
-
content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23004170' viewBox='0 0 24 24'%3E%3Ctitle%3Echevron-right%3C/title%3E%3Cpath d='M8.59,16.58L13.17,12L8.59,7.41L10,6L16,12L10,18L8.59,16.58Z' /%3E%3C/svg%3E");
|
|
593
|
-
font-size: 13px;
|
|
594
|
-
width: 24px;
|
|
595
|
-
height: 24px;
|
|
596
|
-
margin: 4px 0;
|
|
597
|
-
transform-origin: center;
|
|
671
|
+
details .arrow-container > i {
|
|
598
672
|
transition: transform 0.1s ease-in-out;
|
|
599
673
|
}
|
|
600
|
-
details[open] > summary
|
|
674
|
+
details[open] > summary > .arrow-container > i {
|
|
601
675
|
transform: rotate(90deg);
|
|
602
676
|
}
|
|
603
|
-
|
|
604
|
-
|
|
677
|
+
.arrow-container {
|
|
678
|
+
position: absolute;
|
|
679
|
+
height: 32px;
|
|
680
|
+
display: flex;
|
|
681
|
+
align-items: center;
|
|
682
|
+
left: calc(var(--padding));
|
|
683
|
+
z-index: 1;
|
|
605
684
|
}
|
|
606
|
-
|
|
685
|
+
.list li ul.list > li .arrow-container {
|
|
686
|
+
left: calc(var(--padding) + var(--list-padding) - .5rem);
|
|
687
|
+
}
|
|
688
|
+
`);this.group=null,this.idProperty="id",this.map=null,this.titleProperty="title",this.showLayerZoomState=!1,this.tools=[],this.unstyled=!1,this.noShadow=!1,this.toolsAsList=!1}createRenderRoot(){return this.noShadow?this:super.createRenderRoot()}render(){var o,n;const t=!!((o=this.group)!=null&&o.get("layerControlExpand")),i=(n=wo(this.group.getLayers()))==null?void 0:n.length;return g`
|
|
607
689
|
<style>
|
|
608
|
-
${
|
|
609
|
-
${!this.unstyled
|
|
690
|
+
${$(this,kr)}
|
|
691
|
+
${!this.unstyled&&$(this,wr)}
|
|
610
692
|
</style>
|
|
611
|
-
${
|
|
693
|
+
${I(this.group,()=>g`
|
|
612
694
|
<!-- Render the details element with the layer control -->
|
|
613
695
|
<details
|
|
614
|
-
|
|
615
|
-
|
|
696
|
+
class="max-width"
|
|
697
|
+
open=${t||O}
|
|
698
|
+
data-children-length=${i}
|
|
616
699
|
>
|
|
617
|
-
<summary>
|
|
700
|
+
<summary class="square">
|
|
701
|
+
${I(i>0,()=>g`
|
|
702
|
+
<!-- Open/close arrow -->
|
|
703
|
+
<div class="arrow-container">
|
|
704
|
+
<i class="small">
|
|
705
|
+
<svg
|
|
706
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
707
|
+
viewBox="0 0 24 24"
|
|
708
|
+
>
|
|
709
|
+
<title>chevron-right</title>
|
|
710
|
+
<path
|
|
711
|
+
d="M8.59,16.58L13.17,12L8.59,7.41L10,6L16,12L10,18L8.59,16.58Z"
|
|
712
|
+
/>
|
|
713
|
+
</svg>
|
|
714
|
+
</i>
|
|
715
|
+
</div>
|
|
716
|
+
`)}
|
|
717
|
+
|
|
618
718
|
<!-- Render the layer control within the summary -->
|
|
619
719
|
<eox-layercontrol-layer
|
|
620
720
|
.noShadow=${!0}
|
|
@@ -622,6 +722,7 @@
|
|
|
622
722
|
.map=${this.map}
|
|
623
723
|
.titleProperty=${this.titleProperty}
|
|
624
724
|
.showLayerZoomState=${this.showLayerZoomState}
|
|
725
|
+
.layerType=${"group"}
|
|
625
726
|
.tools=${this.tools}
|
|
626
727
|
.unstyled=${this.unstyled}
|
|
627
728
|
.toolsAsList=${this.toolsAsList}
|
|
@@ -644,49 +745,56 @@
|
|
|
644
745
|
></eox-layercontrol-layer-list>
|
|
645
746
|
</details>
|
|
646
747
|
`)}
|
|
647
|
-
`}}
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
|
|
748
|
+
`}}kr=new WeakMap,wr=new WeakMap,Z(Po,"properties",{group:{attribute:!1},idProperty:{attribute:"id-property"},map:{attribute:!1,state:!0},titleProperty:{attribute:"title-property",type:String},showLayerZoomState:{attribute:"show-layer-zoom-state",type:Boolean},tools:{attribute:!1},unstyled:{type:Boolean},noShadow:{type:Boolean},toolsAsList:{type:Boolean}}),customElements.define("eox-layercontrol-layer-group",Po);var pi,Oo;function ll(){if(Oo)return pi;Oo=1;var r="Expected a function",e=NaN,t="[object Symbol]",i=/^\s+|\s+$/g,o=/^[-+]0x[0-9a-f]+$/i,n=/^0b[01]+$/i,a=/^0o[0-7]+$/i,l=parseInt,s=typeof je=="object"&&je&&je.Object===Object&&je,c=typeof self=="object"&&self&&self.Object===Object&&self,u=s||c||Function("return this")(),d=Object.prototype,m=d.toString,h=Math.max,f=Math.min,v=function(){return u.Date.now()};function V(_,b,A){var H,P,K,Q,B,R,W=0,fe=!1,le=!1,ge=!0;if(typeof _!="function")throw new TypeError(r);b=re(b)||0,te(A)&&(fe=!!A.leading,le="maxWait"in A,K=le?h(re(A.maxWait)||0,b):K,ge="trailing"in A?!!A.trailing:ge);function xe(j){var M=H,be=P;return H=P=void 0,W=j,Q=_.apply(be,M),Q}function tt(j){return W=j,B=setTimeout(Re,b),fe?xe(j):Q}function Er(j){var M=j-R,be=j-W,Xe=b-M;return le?f(Xe,K-be):Xe}function rt(j){var M=j-R,be=j-W;return R===void 0||M>=b||M<0||le&&be>=K}function Re(){var j=v();if(rt(j))return it(j);B=setTimeout(Re,Er(j))}function it(j){return B=void 0,ge&&H?xe(j):(H=P=void 0,Q)}function Cr(){B!==void 0&&clearTimeout(B),W=0,H=R=P=B=void 0}function hi(){return B===void 0?Q:it(v())}function It(){var j=v(),M=rt(j);if(H=arguments,P=this,R=j,M){if(B===void 0)return tt(R);if(le)return B=setTimeout(Re,b),xe(R)}return B===void 0&&(B=setTimeout(Re,b)),Q}return It.cancel=Cr,It.flush=hi,It}function te(_){var b=typeof _;return!!_&&(b=="object"||b=="function")}function X(_){return!!_&&typeof _=="object"}function ue(_){return typeof _=="symbol"||X(_)&&m.call(_)==t}function re(_){if(typeof _=="number")return _;if(ue(_))return e;if(te(_)){var b=typeof _.valueOf=="function"?_.valueOf():_;_=te(b)?b+"":b}if(typeof _!="string")return _===0?_:+_;_=_.replace(i,"");var A=n.test(_);return A||a.test(_)?l(_.slice(2),A?2:8):o.test(_)?e:+_}return pi=V,pi}var sl=ll();const cl=$o(sl),dl=r=>{const{layers:e,idProperty:t,titleProperty:i,renderRoot:o}=r,n=cl(()=>{r.requestUpdate(),r.dispatchEvent(new CustomEvent("changed",{bubbles:!0}))},50),a=()=>n();if(e&&(e.hasListener("change:length")&&(e==null||e.un("change:length",a)),e.on("change:length",a),e)){const l=o.querySelector("ul");Ya(e,t,i,r),Za(l,e,t,r)}};class Ro extends ce{constructor(){super();L(this,_r,"");L(this,$r,`
|
|
749
|
+
eox-layercontrol-layer-group {
|
|
750
|
+
box-sizing: border-box;
|
|
751
|
+
width: 100%;
|
|
651
752
|
}
|
|
652
|
-
|
|
653
|
-
|
|
753
|
+
eox-layercontrol-layer.sortable-chosen {
|
|
754
|
+
background: #eeea !important;
|
|
654
755
|
}
|
|
655
|
-
|
|
656
|
-
|
|
756
|
+
eox-layercontrol-layer.sortable-drag {
|
|
757
|
+
opacity: 0;
|
|
657
758
|
}
|
|
658
|
-
|
|
659
|
-
list-style: none;
|
|
660
|
-
border-bottom: 1px solid #0041703a;
|
|
661
|
-
border: var(--layer-visibility);
|
|
759
|
+
eox-layercontrol-layer.sortable-ghost {
|
|
662
760
|
}
|
|
663
|
-
|
|
664
|
-
|
|
761
|
+
eox-layercontrol-layer {
|
|
762
|
+
padding: 0 var(--padding);
|
|
665
763
|
}
|
|
666
|
-
|
|
667
|
-
|
|
764
|
+
@media (pointer:fine) {
|
|
765
|
+
eox-layercontrol-layer:not(:has(details[open])):hover {
|
|
766
|
+
background-color: var(--item-hover-color);
|
|
767
|
+
}
|
|
668
768
|
}
|
|
669
|
-
li.
|
|
670
|
-
|
|
769
|
+
.list li ul.list > li eox-layercontrol-layer {
|
|
770
|
+
padding-left: var(--list-padding);
|
|
771
|
+
}
|
|
772
|
+
.list li ul.list li ul.list > li eox-layercontrol-layer {
|
|
773
|
+
padding-left: calc(var(--list-padding) * 2 - .5rem);
|
|
774
|
+
}
|
|
775
|
+
.list li ul.list > li:has(details[open]) eox-layercontrol-tools-items {
|
|
776
|
+
display: block;
|
|
671
777
|
}
|
|
672
|
-
|
|
778
|
+
.list.no-space li.square {
|
|
779
|
+
padding: 0;
|
|
673
780
|
}
|
|
674
|
-
`);this.idProperty="id",this.layers=null,this.map=null,this.tools=void 0,this.titleProperty="title",this.showLayerZoomState=!1,this.unstyled=!1,this.noShadow=!1,this.toolsAsList=!1}firstUpdated(){
|
|
781
|
+
`);this.idProperty="id",this.layers=null,this.map=null,this.tools=void 0,this.titleProperty="title",this.showLayerZoomState=!1,this.unstyled=!1,this.noShadow=!1,this.toolsAsList=!1}firstUpdated(){dl(this)}createRenderRoot(){return this.noShadow?this:super.createRenderRoot()}render(){const t=this.layers?wo(this.layers).reverse():[];return g`
|
|
675
782
|
<style>
|
|
676
|
-
${
|
|
677
|
-
${!this.unstyled
|
|
783
|
+
${$(this,_r)}
|
|
784
|
+
${!this.unstyled&&$(this,$r)}
|
|
678
785
|
</style>
|
|
679
|
-
<ul>
|
|
680
|
-
${
|
|
681
|
-
${
|
|
786
|
+
<ul class="list no-space">
|
|
787
|
+
${I(this.layers,()=>g`
|
|
788
|
+
${$n(t,i=>i,i=>g`
|
|
682
789
|
<li
|
|
683
|
-
data-layer="${
|
|
684
|
-
data-type="${
|
|
790
|
+
data-layer="${i.get(this.idProperty)}"
|
|
791
|
+
data-type="${go(i,this.map)}"
|
|
792
|
+
class="square"
|
|
685
793
|
>
|
|
686
|
-
${
|
|
794
|
+
${i.getLayers?g`
|
|
687
795
|
<eox-layercontrol-layer-group
|
|
688
796
|
.noShadow=${!0}
|
|
689
|
-
.group=${
|
|
797
|
+
.group=${i}
|
|
690
798
|
.idProperty=${this.idProperty}
|
|
691
799
|
.map=${this.map}
|
|
692
800
|
.titleProperty=${this.titleProperty}
|
|
@@ -697,13 +805,14 @@
|
|
|
697
805
|
@changed=${()=>this.requestUpdate()}
|
|
698
806
|
>
|
|
699
807
|
</eox-layercontrol-layer-group>
|
|
700
|
-
`:
|
|
808
|
+
`:g`
|
|
701
809
|
<eox-layercontrol-layer
|
|
702
810
|
.noShadow=${!0}
|
|
703
|
-
.layer=${
|
|
811
|
+
.layer=${i}
|
|
704
812
|
.map=${this.map}
|
|
705
813
|
.titleProperty=${this.titleProperty}
|
|
706
814
|
.showLayerZoomState=${this.showLayerZoomState}
|
|
815
|
+
.layerType=${go(i,this.map)}
|
|
707
816
|
.tools=${this.tools}
|
|
708
817
|
.unstyled=${this.unstyled}
|
|
709
818
|
.toolsAsList=${this.toolsAsList}
|
|
@@ -714,289 +823,241 @@
|
|
|
714
823
|
`)}
|
|
715
824
|
`)}
|
|
716
825
|
</ul>
|
|
717
|
-
`}}
|
|
718
|
-
|
|
719
|
-
|
|
826
|
+
`}}_r=new WeakMap,$r=new WeakMap,Z(Ro,"properties",{idProperty:{attribute:"id-property"},layers:{attribute:!1},map:{attribute:!1,state:!0},titleProperty:{attribute:"title-property",type:String},showLayerZoomState:{attribute:"show-layer-zoom-state",type:Boolean},tools:{attribute:!1},unstyled:{type:Boolean},noShadow:{type:Boolean},toolsAsList:{type:Boolean}}),customElements.define("eox-layercontrol-layer-list",Ro);const ul=r=>{const e=r.querySelector("select[name=optional]"),t=e?e.value:null,i=si(r.layers.getArray(),"layerControlOptional",!0).find(o=>(o.get(r.idProperty)||o.ol_uid)===t);i==null||i.set("layerControlOptional",!1),i==null||i.setVisible(!0),r.dispatchEvent(new CustomEvent("changed",{bubbles:!0})),r.renderRoot.parentNode.querySelectorAll("eox-layercontrol-layer-list").forEach(o=>o.requestUpdate()),r.requestUpdate()};class Ho extends ce{constructor(){super();L(this,Sr);this.idProperty="id",this.layers=null,this.titleProperty="title",this.unstyled=!1,this.noShadow=!1}createRenderRoot(){return this.noShadow?this:super.createRenderRoot()}render(){const t=si(this.layers.getArray(),"layerControlOptional",!0);return g`
|
|
827
|
+
<nav class="bottom-padding large-padding">
|
|
828
|
+
<div class="field suffix border small max">
|
|
829
|
+
<!-- Dropdown select element -->
|
|
830
|
+
<select
|
|
831
|
+
name="optional"
|
|
832
|
+
data-cy="optionalLayers"
|
|
833
|
+
class="small-padding"
|
|
834
|
+
style="font-size: small"
|
|
835
|
+
>
|
|
836
|
+
<!-- Default placeholder option -->
|
|
837
|
+
<option disabled selected value>-- select --</option>
|
|
720
838
|
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
<option disabled selected value>
|
|
725
|
-
-- select an optional layer to add --
|
|
726
|
-
</option>
|
|
839
|
+
<!-- Mapping through filtered layers list to generate dropdown options -->
|
|
840
|
+
${t.map(i=>{const o=i.get(this.idProperty)||i.ol_uid,n=i.get(this.titleProperty),a=`layer ${i.get(this.idProperty)}`;return g` <option value="${o}">${n||a}</option> `})}
|
|
841
|
+
</select>
|
|
727
842
|
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
|
|
843
|
+
<!-- Label for the dropdown -->
|
|
844
|
+
<label for="optional">Optional layers</label>
|
|
845
|
+
</div>
|
|
731
846
|
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
|
|
847
|
+
<!-- Button to handle adding layers -->
|
|
848
|
+
<button class="small" @click="${q(this,Sr,Fo)}">Add</button>
|
|
849
|
+
</nav>
|
|
850
|
+
`}}Sr=new WeakSet,Fo=function(){ul(this)},Z(Ho,"properties",{idProperty:{attribute:"id-property"},layers:{attribute:!1},titleProperty:{attribute:"title-property",type:String},unstyled:{type:Boolean},noShadow:{type:Boolean}}),customElements.define("eox-layercontrol-optional-list",Ho);const pl=(r,e)=>{e.jsonInput=r.target.value,e.requestUpdate()},Mo=r=>{const e=JSON.parse(`{"data":${qi(r.jsonInput)}}`);Array.isArray(e.data)?e.data.forEach(t=>{r.eoxMap.addOrUpdateLayer(t)}):r.eoxMap.addOrUpdateLayer(e.data),r.jsonInput=null,r.requestUpdate()},ml=(r,e)=>{e.urlInput=r.target.value,e.requestUpdate()};async function hl(r){const e=r.urlInput;if(r.wmsCapabilities=null,r.searchLoad=!0,r.requestUpdate(),!e)return!1;if(qr(e)==="XYZ")return{Name:e};try{const t=await ga(e);r.wmsCapabilities=t}catch{}finally{r.searchLoad=!1,r.requestUpdate()}return!1}const fl=(r,e)=>{const{Name:t}=r,i=qr(e.urlInput)||"XYZ",o={type:"Tile",properties:{id:t,title:t},source:{type:i,url:e.urlInput,params:{LAYERS:t}}};e.jsonInput=JSON.stringify(o)},gl=(r,e)=>{e.open=r||null,e.urlInput=null,e.jsonInput=null,e.wmsCapabilities=null,e.requestUpdate()};class Vo extends ce{constructor(){super();L(this,ae);Z(this,"urlInput",null);Z(this,"jsonInput",null);Z(this,"open",null);Z(this,"searchLoad",!1);Z(this,"wmsCapabilities",null);L(this,zr,`
|
|
735
851
|
.eox-add-layer-main .open {
|
|
736
852
|
position: relative;
|
|
737
853
|
}
|
|
738
854
|
.eox-add-layer-main .close {
|
|
739
855
|
display: none;
|
|
740
856
|
}
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
background: #f0f2f5;
|
|
744
|
-
border-top: 1px solid #0041701a;
|
|
745
|
-
padding: 0.5rem;
|
|
746
|
-
font-size: small;
|
|
747
|
-
}
|
|
748
|
-
.eox-add-layer-col, .eox-add-layer-tab {
|
|
749
|
-
display: flex;
|
|
750
|
-
width: 100%;
|
|
751
|
-
}
|
|
752
|
-
.eox-add-layer-main .close {
|
|
753
|
-
display: none;
|
|
754
|
-
}
|
|
755
|
-
.eox-add-layer-main .open {
|
|
756
|
-
position: relative;
|
|
757
|
-
}
|
|
758
|
-
button.icon.add-icon {
|
|
759
|
-
flex-grow: 1;
|
|
760
|
-
}
|
|
761
|
-
.eox-add-layer-tab li {
|
|
762
|
-
border: 0 !important;
|
|
763
|
-
font-size: smaller;
|
|
764
|
-
padding: 0.2rem 0.7rem;
|
|
765
|
-
background: #f0f2f5;
|
|
766
|
-
border-radius: 4px 4px 0px 0px;
|
|
767
|
-
font-size: 0.8rem;
|
|
768
|
-
font-weight: 500;
|
|
769
|
-
cursor: pointer;
|
|
770
|
-
}
|
|
771
|
-
.eox-add-layer-tab li.active {
|
|
772
|
-
background: #204270;
|
|
773
|
-
color: white;
|
|
774
|
-
font-weight: 700;
|
|
775
|
-
}
|
|
776
|
-
.relative {
|
|
777
|
-
position: relative
|
|
857
|
+
.field.small > :is(input, textarea, select) {
|
|
858
|
+
font-size: 0.75rem;
|
|
778
859
|
}
|
|
779
|
-
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
justify-content: end;
|
|
794
|
-
transition: opacity .2s;
|
|
795
|
-
opacity: .7;
|
|
796
|
-
}
|
|
797
|
-
button.icon:hover {
|
|
798
|
-
opacity: 1;
|
|
799
|
-
}
|
|
800
|
-
button.icon.add-layer-icon::before {
|
|
801
|
-
width: 16px;
|
|
802
|
-
min-width: 16px;
|
|
803
|
-
height: 16px;
|
|
804
|
-
}
|
|
805
|
-
button.icon.add-icon::before {
|
|
806
|
-
width: 18px;
|
|
807
|
-
min-width: 18px;
|
|
808
|
-
height: 18px;
|
|
809
|
-
}
|
|
810
|
-
.add-icon.icon::before {
|
|
811
|
-
content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath xmlns='http://www.w3.org/2000/svg' d='M17,14H19V17H22V19H19V22H17V19H14V17H17V14M11,16L2,9L11,2L20,9L11,16M11,18.54L12,17.75V18C12,18.71 12.12,19.39 12.35,20L11,21.07L2,14.07L3.62,12.81L11,18.54Z' fill='%23004270'/%3E%3C/svg%3E");
|
|
812
|
-
}
|
|
813
|
-
.add-layer-icon::before {
|
|
814
|
-
content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ctitle%3Eplus-thick%3C/title%3E%3Cpath fill='%23004270' d='M20 14H14V20H10V14H4V10H10V4H14V10H20V14Z' /%3E%3C/svg%3E");
|
|
815
|
-
}
|
|
816
|
-
.json-add-layer {
|
|
817
|
-
content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ctitle%3Eplus-thick%3C/title%3E%3Cpath fill='white' d='M20 14H14V20H10V14H4V10H10V4H14V10H20V14Z' /%3E%3C/svg%3E");
|
|
818
|
-
}
|
|
819
|
-
.search-icon::after {
|
|
820
|
-
content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ctitle%3Emagnify%3C/title%3E%3Cpath d='M9.5,3A6.5,6.5 0 0,1 16,9.5C16,11.11 15.41,12.59 14.44,13.73L14.71,14H15.5L20.5,19L19,20.5L14,15.5V14.71L13.73,14.44C12.59,15.41 11.11,16 9.5,16A6.5,6.5 0 0,1 3,9.5A6.5,6.5 0 0,1 9.5,3M9.5,5C7,5 5,7 5,9.5C5,12 7,14 9.5,14C12,14 14,12 14,9.5C14,7 12,5 9.5,5Z' fill='white' /%3E%3C/svg%3E");
|
|
821
|
-
}
|
|
822
|
-
.search-icon::after, .json-add-layer::before {
|
|
823
|
-
width: 14px;
|
|
824
|
-
min-width: 14px;
|
|
825
|
-
height: 14px;
|
|
826
|
-
display:flex
|
|
827
|
-
margin-right: 6px;
|
|
828
|
-
color: white;
|
|
829
|
-
}
|
|
830
|
-
.search-icon, .json-add-layer {
|
|
831
|
-
padding: 4px 6px;
|
|
832
|
-
height: 28px;
|
|
833
|
-
border-radius: 0px 4px 4px 0px;
|
|
834
|
-
box-shadow: none;
|
|
835
|
-
}
|
|
836
|
-
.json-add-layer {
|
|
837
|
-
position: absolute;
|
|
838
|
-
bottom: 16px;
|
|
839
|
-
right: 14px;
|
|
840
|
-
border-radius: 4px;
|
|
841
|
-
height: 24px;
|
|
842
|
-
padding: 4px;
|
|
843
|
-
}
|
|
844
|
-
input.add-url, textarea.add-layer-input {
|
|
845
|
-
box-sizing: border-box !important;
|
|
846
|
-
width: 100%;
|
|
847
|
-
height: 28px;
|
|
848
|
-
padding: 5px 7px !important;
|
|
849
|
-
border: 1px solid #0004 !important;
|
|
850
|
-
font-size: smaller;
|
|
851
|
-
border-radius: 4px 0px 0px 4px;
|
|
852
|
-
}
|
|
853
|
-
textarea.add-layer-input {
|
|
854
|
-
height: 90px;
|
|
855
|
-
resize: none;
|
|
856
|
-
border-radius: 4px;
|
|
857
|
-
}
|
|
858
|
-
.divider {
|
|
859
|
-
margin: 1rem 0px;
|
|
860
|
-
height: 1px;
|
|
861
|
-
border-top: 1.5px solid #00417059;
|
|
862
|
-
text-align: center;
|
|
863
|
-
position: relative;
|
|
864
|
-
}
|
|
865
|
-
.divider span {
|
|
866
|
-
position: relative;
|
|
867
|
-
top: -.6em;
|
|
868
|
-
padding: 0px 0.5rem;
|
|
869
|
-
background: #f0f2f5;
|
|
870
|
-
color: #00417059;
|
|
871
|
-
font-weight: bold;
|
|
872
|
-
display: inline-block;
|
|
873
|
-
}
|
|
874
|
-
`);this.eoxMap=null,this.unstyled=!1,this.noShadow=!1}createRenderRoot(){return this.noShadow?this:super.createRenderRoot()}render(){const e=this.open?"open":"close",n=this.open==="url",r=this.open==="json",o=!hs(this.urlInput)||this.searchLoad?!0:D;return v`
|
|
860
|
+
`);this.eoxMap=null,this.unstyled=!1,this.noShadow=!1}createRenderRoot(){return this.noShadow?this:super.createRenderRoot()}render(){const t={add:g`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
|
|
861
|
+
<title>layers-plus</title>
|
|
862
|
+
<path
|
|
863
|
+
d="M17,14H19V17H22V19H19V22H17V19H14V17H17V14M11,16L2,9L11,2L20,9L11,16M11,18.54L12,17.75V18C12,18.71 12.12,19.39 12.35,20L11,21.07L2,14.07L3.62,12.81L11,18.54Z"
|
|
864
|
+
/>
|
|
865
|
+
</svg>`,plus:g`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
|
|
866
|
+
<title>plus</title>
|
|
867
|
+
<path d="M19,13H13V19H11V13H5V11H11V5H13V11H19V13Z" />
|
|
868
|
+
</svg>`,search:g`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
|
|
869
|
+
<title>magnify</title>
|
|
870
|
+
<path
|
|
871
|
+
d="M9.5,3A6.5,6.5 0 0,1 16,9.5C16,11.11 15.41,12.59 14.44,13.73L14.71,14H15.5L20.5,19L19,20.5L14,15.5V14.71L13.73,14.44C12.59,15.41 11.11,16 9.5,16A6.5,6.5 0 0,1 3,9.5A6.5,6.5 0 0,1 9.5,3M9.5,5C7,5 5,7 5,9.5C5,12 7,14 9.5,14C12,14 14,12 14,9.5C14,7 12,5 9.5,5Z"
|
|
872
|
+
/>
|
|
873
|
+
</svg>`},i=this.open?"open":"close",o=this.open==="url",n=this.open==="json",a=!ba(this.urlInput)||this.searchLoad?!0:O;return g`
|
|
875
874
|
<style>
|
|
876
|
-
${
|
|
877
|
-
${!this.unstyled&&S(this,Ai)}
|
|
875
|
+
${$(this,zr)}
|
|
878
876
|
</style>
|
|
879
877
|
<div class="eox-add-layer-main">
|
|
880
|
-
<
|
|
878
|
+
<nav class="eox-add-layer-col">
|
|
881
879
|
<!-- Tabbed interface for URL and JSON -->
|
|
882
|
-
<
|
|
883
|
-
|
|
884
|
-
|
|
885
|
-
|
|
880
|
+
<div
|
|
881
|
+
class="eox-add-layer-tab tabs min left-align ${i}"
|
|
882
|
+
>
|
|
883
|
+
<a
|
|
884
|
+
@click=${()=>q(this,ae,Tr).call(this,"url")}
|
|
885
|
+
class="${o?"active":""}"
|
|
886
886
|
>
|
|
887
887
|
URL
|
|
888
|
-
</
|
|
889
|
-
<
|
|
890
|
-
@click=${()=>
|
|
891
|
-
class="${
|
|
888
|
+
</a>
|
|
889
|
+
<a
|
|
890
|
+
@click=${()=>q(this,ae,Tr).call(this,"json")}
|
|
891
|
+
class="${n?"active":""}"
|
|
892
892
|
>
|
|
893
893
|
JSON
|
|
894
|
-
</
|
|
895
|
-
</
|
|
894
|
+
</a>
|
|
895
|
+
</div>
|
|
896
|
+
|
|
897
|
+
<div class="max"></div>
|
|
896
898
|
|
|
897
899
|
<!-- Button to toggle tabs -->
|
|
898
900
|
<button
|
|
899
|
-
class="add-icon
|
|
900
|
-
@click=${()=>
|
|
901
|
+
class="add-icon transparent square primary-text small"
|
|
902
|
+
@click=${()=>q(this,ae,Tr).call(this,this.open?null:"url")}
|
|
901
903
|
>
|
|
902
|
-
${this.unstyled?"Add Layer":""}
|
|
904
|
+
${this.unstyled?"Add Layer":g`<i class="small primary-text">${t.add}</i>`}
|
|
903
905
|
</button>
|
|
904
|
-
</
|
|
905
|
-
<div class="eox-add ${
|
|
906
|
-
${
|
|
907
|
-
|
|
908
|
-
|
|
909
|
-
|
|
910
|
-
|
|
911
|
-
|
|
912
|
-
|
|
913
|
-
|
|
914
|
-
|
|
915
|
-
|
|
916
|
-
|
|
917
|
-
|
|
918
|
-
|
|
919
|
-
|
|
920
|
-
|
|
921
|
-
|
|
922
|
-
|
|
923
|
-
|
|
924
|
-
|
|
925
|
-
|
|
906
|
+
</nav>
|
|
907
|
+
<div class="eox-add ${i}" style="padding: 15px 0">
|
|
908
|
+
${o?g`
|
|
909
|
+
<nav>
|
|
910
|
+
<!-- Input field for URL -->
|
|
911
|
+
<div class="eox-add-layer-col field border small responsive">
|
|
912
|
+
<input
|
|
913
|
+
type="text"
|
|
914
|
+
class="add-url"
|
|
915
|
+
placeholder="Add URL (WMS/XYZ)"
|
|
916
|
+
.value="${this.urlInput}"
|
|
917
|
+
@input=${q(this,ae,Xo)}
|
|
918
|
+
/>
|
|
919
|
+
</div>
|
|
920
|
+
<!-- Search button for URL -->
|
|
921
|
+
<button
|
|
922
|
+
class="search-icon"
|
|
923
|
+
disabled=${a}
|
|
924
|
+
@click=${q(this,ae,Zo)}
|
|
925
|
+
>
|
|
926
|
+
${this.unstyled?"Search":g`<i class="small">${t.search}</i>`}
|
|
927
|
+
</button>
|
|
928
|
+
</nav>
|
|
926
929
|
|
|
927
|
-
|
|
928
|
-
|
|
929
|
-
${this.wmsCapabilities.Capability.Layer.Layer.map(
|
|
930
|
+
<!-- Display layers for WMS capabilities -->
|
|
931
|
+
${this.wmsCapabilities?g`<ul class="search-lists">
|
|
932
|
+
${this.wmsCapabilities.Capability.Layer.Layer.map(l=>{const s=l.Name;return g`
|
|
930
933
|
<li class="search-list">
|
|
931
|
-
${
|
|
934
|
+
${s}
|
|
932
935
|
<!-- Button to add layer -->
|
|
933
936
|
<button
|
|
934
937
|
class="add-layer-icon icon"
|
|
935
|
-
@click=${()=>
|
|
938
|
+
@click=${()=>q(this,ae,bi).call(this,l)}
|
|
936
939
|
>
|
|
937
940
|
${this.unstyled?"+":""}
|
|
938
941
|
</button>
|
|
939
942
|
</li>
|
|
940
943
|
`})}
|
|
941
|
-
</ul>`:
|
|
942
|
-
|
|
944
|
+
</ul>`:O}
|
|
945
|
+
`:g`
|
|
943
946
|
<!-- Textarea for JSON input -->
|
|
944
|
-
<textarea
|
|
945
|
-
|
|
946
|
-
|
|
947
|
-
|
|
948
|
-
|
|
949
|
-
|
|
947
|
+
<div class="field textarea small border no-margin">
|
|
948
|
+
<textarea
|
|
949
|
+
class="add-layer-input small"
|
|
950
|
+
style="overflow-wrap: break-word; font-family: monospace;"
|
|
951
|
+
placeholder="Please input a valid eox-map layer JSON."
|
|
952
|
+
@input=${q(this,ae,Wo)}
|
|
953
|
+
.value=${this.jsonInput}
|
|
954
|
+
></textarea>
|
|
955
|
+
</div>
|
|
950
956
|
|
|
951
957
|
<!-- Button to add JSON layer -->
|
|
952
958
|
<button
|
|
953
|
-
class="add-layer-icon json-add-layer"
|
|
954
|
-
|
|
955
|
-
|
|
959
|
+
class="add-layer-icon json-add-layer small square small-margin"
|
|
960
|
+
style="position: absolute; bottom: 15px; right: 0;"
|
|
961
|
+
disabled=${va(this.jsonInput)?O:!0}
|
|
962
|
+
@click=${q(this,ae,Yo)}
|
|
956
963
|
>
|
|
957
|
-
${this.unstyled?"Add JSON":""}
|
|
964
|
+
${this.unstyled?"Add JSON":g`<i class="small">${t.plus}</i>`}
|
|
958
965
|
</button>
|
|
959
966
|
`}
|
|
960
967
|
</div>
|
|
961
968
|
</div>
|
|
962
|
-
`}}
|
|
969
|
+
`}}ae=new WeakSet,Xo=function(t){ml(t,this)},Zo=async function(){const t=await hl(this);t&&q(this,ae,bi).call(this,t)},bi=function(t){fl(t,this),Mo(this)},Yo=function(){Mo(this)},Wo=function(t){pl(t,this)},Tr=function(t){gl(t,this)},zr=new WeakMap,Z(Vo,"properties",{eoxMap:{attribute:!1,state:!0},unstyled:{type:Boolean},noShadow:{type:Boolean}}),customElements.define("eox-layercontrol-add-layers",Vo);const bl=(r,e)=>{if(e.requestUpdate(),r.target.tagName==="EOX-LAYERCONTROL-LAYER-TOOLS"){const t=e.renderRoot.querySelector("eox-layercontrol-optional-list");t==null||t.requestUpdate()}},vl=()=>{const r="eox-elements";if(!document.head.querySelector(`style#${r}`)){const e=new CSSStyleSheet;e.replaceSync(ar);const t=Array.from(e.cssRules).filter(o=>o.cssText.includes(":root")).map(o=>o.cssText).join(" "),i=document.createElement("style");i.setAttribute("id",r),i.innerHTML=`
|
|
970
|
+
@import url("https://eox.at/fonts/inter/inter.css");
|
|
971
|
+
|
|
972
|
+
@font-face {
|
|
973
|
+
font-family: "Material Symbols Subset";
|
|
974
|
+
font-style: normal;
|
|
975
|
+
font-weight: 400;
|
|
976
|
+
font-display: block;
|
|
977
|
+
src: url(https://cdn.jsdelivr.net/npm/@eox/ui@0.3.4/dist/material-symbols-subset.woff2) format("woff2");
|
|
978
|
+
}
|
|
979
|
+
|
|
980
|
+
eox-chart,
|
|
981
|
+
eox-drawtools,
|
|
982
|
+
eox-feedback,
|
|
983
|
+
eox-geosearch,
|
|
984
|
+
eox-itemfilter,
|
|
985
|
+
eox-jsonform,
|
|
986
|
+
eox-layercontrol,
|
|
987
|
+
eox-map,
|
|
988
|
+
eox-stacinfo,
|
|
989
|
+
eox-storytelling,
|
|
990
|
+
eox-timecontrol {
|
|
991
|
+
font-family: var(--font);
|
|
992
|
+
font-size: .875rem;
|
|
993
|
+
line-height: 1.5rem;
|
|
994
|
+
letter-spacing: .0313rem;
|
|
995
|
+
}
|
|
996
|
+
${t}
|
|
997
|
+
`,document.head.appendChild(i)}},yl=r=>{let e;return typeof r=="string"?e=document.querySelector(r):e=r,e},Io=r=>{const e=yl(r.for);return e&&e.map!==r.map&&(r.map=e.map),e};vl();class mi extends ce{constructor(){super();L(this,Fe);L(this,qe);L(this,Ar,`
|
|
998
|
+
${ar}
|
|
963
999
|
:host, :root {
|
|
964
|
-
font-family: Roboto, sans-serif;
|
|
965
1000
|
--padding: 0.5rem;
|
|
966
1001
|
--padding-vertical: .2rem;
|
|
967
|
-
--list-padding:
|
|
1002
|
+
--list-padding: 2rem;
|
|
968
1003
|
--layer-input-visibility: flex;
|
|
969
1004
|
--layer-summary-visibility: flex;
|
|
970
1005
|
--layer-type-visibility: block;
|
|
971
|
-
--layer-title-visibility:
|
|
972
|
-
--layer-visibility:
|
|
1006
|
+
--layer-title-visibility: inline;
|
|
1007
|
+
--layer-visibility: flex;
|
|
973
1008
|
--layer-tools-button-visibility: flex;
|
|
1009
|
+
--layer-toggle-button-visibility: none;
|
|
974
1010
|
|
|
975
|
-
|
|
976
|
-
|
|
1011
|
+
--primary-color: var(--primary);
|
|
1012
|
+
--secondary-color: var(--secondary);
|
|
1013
|
+
--item-color: color-mix(
|
|
1014
|
+
in srgb,
|
|
1015
|
+
var(--primary-color) 10%,
|
|
1016
|
+
transparent
|
|
1017
|
+
);
|
|
1018
|
+
--item-hover-color: color-mix(
|
|
1019
|
+
in srgb,
|
|
1020
|
+
var(--surface) 80%,
|
|
1021
|
+
transparent
|
|
1022
|
+
);
|
|
1023
|
+
|
|
1024
|
+
display: flex;
|
|
1025
|
+
flex-direction: column;
|
|
977
1026
|
--background-color: var(--eox-background-color, transparent);
|
|
978
1027
|
background-color: var(--background-color, transparent);
|
|
979
1028
|
}
|
|
1029
|
+
|
|
1030
|
+
.layerstitle {
|
|
1031
|
+
display: block;
|
|
1032
|
+
padding-left: var(--padding);
|
|
1033
|
+
padding-right: var(--padding);
|
|
1034
|
+
}
|
|
980
1035
|
select {
|
|
981
1036
|
background-color: var(--background-color);
|
|
982
1037
|
}
|
|
983
|
-
`);this.for="eox-map",this.idProperty="id",this.map=null,this.titleProperty="title",this.showLayerZoomState=!1,this.tools=["info","opacity","datetime","config","remove","sort"],this.addExternalLayers=!1,this.unstyled=!1,this.styleOverride="",this.toolsAsList=!1}firstUpdated(){this.eoxMap=
|
|
1038
|
+
`);this.for="eox-map",this.idProperty="id",this.map=null,this.titleProperty="title",this.showLayerZoomState=!1,this.tools=["info","opacity","datetime","config","remove","sort"],this.addExternalLayers=!1,this.unstyled=!1,this.styleOverride="",this.toolsAsList=!1}firstUpdated(){this.eoxMap=Io(this)}updated(t){t.has("for")&&(this.eoxMap=Io(this))}get eoxMap(){return $(this,qe)}set eoxMap(t){const i=$(this,qe);He(this,qe,t),this.requestUpdate("eoxMap",i)}render(){var o,n,a;const t=(o=this.map)==null?void 0:o.getLayers().getArray(),i=t&&((n=si(t,"layerControlOptional",!0))==null?void 0:n.length)>0;return g`
|
|
984
1039
|
<style>
|
|
985
|
-
${!this.unstyled
|
|
1040
|
+
${!this.unstyled&&$(this,Ar)}
|
|
986
1041
|
${this.styleOverride}
|
|
987
1042
|
</style>
|
|
988
1043
|
|
|
1044
|
+
<span class="layerstitle">
|
|
1045
|
+
<slot name="layerstitle"
|
|
1046
|
+
><p><strong>Layers</strong></p></slot
|
|
1047
|
+
>
|
|
1048
|
+
</span>
|
|
1049
|
+
|
|
989
1050
|
<!-- Conditional rendering of add layers component -->
|
|
990
|
-
${
|
|
1051
|
+
${I(this.addExternalLayers&&((a=$(this,qe))==null?void 0:a.addOrUpdateLayer),()=>g`
|
|
991
1052
|
<eox-layercontrol-add-layers
|
|
992
1053
|
.noShadow=${!0}
|
|
993
|
-
.eoxMap=${
|
|
1054
|
+
.eoxMap=${$(this,qe)}
|
|
994
1055
|
.unstyled=${this.unstyled}
|
|
995
1056
|
></eox-layercontrol-add-layers>
|
|
996
1057
|
`)}
|
|
997
1058
|
|
|
998
1059
|
<!-- Conditional rendering of layer list component -->
|
|
999
|
-
${
|
|
1060
|
+
${I(this.map,()=>g`
|
|
1000
1061
|
<eox-layercontrol-layer-list
|
|
1001
1062
|
.noShadow=${!0}
|
|
1002
1063
|
class="layers"
|
|
@@ -1008,14 +1069,14 @@
|
|
|
1008
1069
|
.tools=${this.tools}
|
|
1009
1070
|
.unstyled=${this.unstyled}
|
|
1010
1071
|
.toolsAsList=${this.toolsAsList}
|
|
1011
|
-
@changed=${
|
|
1012
|
-
@datetime:updated=${
|
|
1013
|
-
@layerConfig:change=${
|
|
1072
|
+
@changed=${q(this,Fe,Go)}
|
|
1073
|
+
@datetime:updated=${q(this,Fe,Jo)}
|
|
1074
|
+
@layerConfig:change=${q(this,Fe,Ko)}
|
|
1014
1075
|
></eox-layercontrol-layer-list>
|
|
1015
1076
|
`)}
|
|
1016
1077
|
|
|
1017
1078
|
<!-- Conditional rendering of optional list component -->
|
|
1018
|
-
${
|
|
1079
|
+
${I(i,()=>g`
|
|
1019
1080
|
<eox-layercontrol-optional-list
|
|
1020
1081
|
.noShadow=${!0}
|
|
1021
1082
|
.idProperty=${this.idProperty}
|
|
@@ -1024,4 +1085,4 @@
|
|
|
1024
1085
|
@changed=${()=>this.requestUpdate()}
|
|
1025
1086
|
></eox-layercontrol-optional-list>
|
|
1026
1087
|
`)}
|
|
1027
|
-
`}}
|
|
1088
|
+
`}}qe=new WeakMap,Fe=new WeakSet,Go=function(t){bl(t,this),this.dispatchEvent(new CustomEvent("layerchange",{detail:t.detail}))},Jo=function(t){this.dispatchEvent(new CustomEvent("datetime:updated",{detail:t.detail}))},Ko=function(t){this.dispatchEvent(new CustomEvent("layerConfig:change",{detail:t.detail}))},Ar=new WeakMap,Z(mi,"properties",{for:{type:String},idProperty:{attribute:"id-property"},map:{attribute:!1,state:!0},titleProperty:{attribute:"title-property",type:String},showLayerZoomState:{attribute:"show-layer-zoom-state",type:Boolean},tools:{attribute:!1},addExternalLayers:{attribute:!1},unstyled:{type:Boolean},styleOverride:{type:String},toolsAsList:{type:Boolean}}),customElements.define("eox-layercontrol",mi),D.EOxLayerControl=mi,Object.defineProperty(D,Symbol.toStringTag,{value:"Module"})});
|