New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@nightingale-elements/nightingale-filter

Package Overview
Dependencies
Maintainers
0
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@nightingale-elements/nightingale-filter - npm Package Compare versions

Comparing version 5.2.0 to 5.3.0

17

dist/index.js

@@ -28,3 +28,3 @@ import t from"@nightingale-elements/nightingale-new-core";function e(t,e,r,i){var s,n=arguments.length,o=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,e,r,i);else for(var a=t.length-1;a>=0;a--)(s=t[a])&&(o=(n<3?s(o):n>3?s(e,r,o):s(e,r))||o);return n>3&&o&&Object.defineProperty(e,r,o),o}function r(t,e,r,i){if("a"===r&&!i)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof e?t!==e||!i:!e.has(t))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===r?i:"a"===r?i.call(t):i?i.value:e.get(t)}"function"==typeof SuppressedError&&SuppressedError;

* SPDX-License-Identifier: BSD-3-Clause
*/}const P=globalThis,O=P.trustedTypes,x=O?O.createPolicy("lit-html",{createHTML:t=>t}):void 0,C="$lit$",U=`lit$${Math.random().toFixed(9).slice(2)}$`,T="?"+U,H=`<${T}>`,M=document,N=()=>M.createComment(""),R=t=>null===t||"object"!=typeof t&&"function"!=typeof t,k=Array.isArray,z="[ \t\n\f\r]",L=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,D=/-->/g,I=/>/g,B=RegExp(`>|${z}(?:([^\\s"'>=/]+)(${z}*=${z}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),W=/'/g,V=/"/g,F=/^(?:script|style|textarea|title)$/i,q=Symbol.for("lit-noChange"),J=Symbol.for("lit-nothing"),K=new WeakMap,Z=M.createTreeWalker(M,129);function G(t,e){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==x?x.createHTML(e):e}let Q=class t{constructor({strings:e,_$litType$:r},i){let s;this.parts=[];let n=0,o=0;const a=e.length-1,h=this.parts,[c,l]=((t,e)=>{const r=t.length-1,i=[];let s,n=2===e?"<svg>":"",o=L;for(let e=0;e<r;e++){const r=t[e];let a,h,c=-1,l=0;for(;l<r.length&&(o.lastIndex=l,h=o.exec(r),null!==h);)l=o.lastIndex,o===L?"!--"===h[1]?o=D:void 0!==h[1]?o=I:void 0!==h[2]?(F.test(h[2])&&(s=RegExp("</"+h[2],"g")),o=B):void 0!==h[3]&&(o=B):o===B?">"===h[0]?(o=s??L,c=-1):void 0===h[1]?c=-2:(c=o.lastIndex-h[2].length,a=h[1],o=void 0===h[3]?B:'"'===h[3]?V:W):o===V||o===W?o=B:o===D||o===I?o=L:(o=B,s=void 0);const u=o===B&&t[e+1].startsWith("/>")?" ":"";n+=o===L?r+H:c>=0?(i.push(a),r.slice(0,c)+C+r.slice(c)+U+u):r+U+(-2===c?e:u)}return[G(t,n+(t[r]||"<?>")+(2===e?"</svg>":"")),i]})(e,r);if(this.el=t.createElement(c,i),Z.currentNode=this.el.content,2===r){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(s=Z.nextNode())&&h.length<a;){if(1===s.nodeType){if(s.hasAttributes())for(const t of s.getAttributeNames())if(t.endsWith(C)){const e=l[o++],r=s.getAttribute(t).split(U),i=/([.?@])?(.*)/.exec(e);h.push({type:1,index:n,name:i[2],strings:r,ctor:"."===i[1]?rt:"?"===i[1]?it:"@"===i[1]?st:et}),s.removeAttribute(t)}else t.startsWith(U)&&(h.push({type:6,index:n}),s.removeAttribute(t));if(F.test(s.tagName)){const t=s.textContent.split(U),e=t.length-1;if(e>0){s.textContent=O?O.emptyScript:"";for(let r=0;r<e;r++)s.append(t[r],N()),Z.nextNode(),h.push({type:2,index:++n});s.append(t[e],N())}}}else if(8===s.nodeType)if(s.data===T)h.push({type:2,index:n});else{let t=-1;for(;-1!==(t=s.data.indexOf(U,t+1));)h.push({type:7,index:n}),t+=U.length-1}n++}}static createElement(t,e){const r=M.createElement("template");return r.innerHTML=t,r}};function X(t,e,r=t,i){if(e===q)return e;let s=void 0!==i?r._$Co?.[i]:r._$Cl;const n=R(e)?void 0:e._$litDirective$;return s?.constructor!==n&&(s?._$AO?.(!1),void 0===n?s=void 0:(s=new n(t),s._$AT(t,r,i)),void 0!==i?(r._$Co??=[])[i]=s:r._$Cl=s),void 0!==s&&(e=X(t,s._$AS(t,e.values),s,i)),e}let Y=class{constructor(t,e){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:e},parts:r}=this._$AD,i=(t?.creationScope??M).importNode(e,!0);Z.currentNode=i;let s=Z.nextNode(),n=0,o=0,a=r[0];for(;void 0!==a;){if(n===a.index){let e;2===a.type?e=new tt(s,s.nextSibling,this,t):1===a.type?e=new a.ctor(s,a.name,a.strings,this,t):6===a.type&&(e=new nt(s,this,t)),this._$AV.push(e),a=r[++o]}n!==a?.index&&(s=Z.nextNode(),n++)}return Z.currentNode=M,i}p(t){let e=0;for(const r of this._$AV)void 0!==r&&(void 0!==r.strings?(r._$AI(t,r,e),e+=r.strings.length-2):r._$AI(t[e])),e++}},tt=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,e,r,i){this.type=2,this._$AH=J,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=r,this.options=i,this._$Cv=i?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode;const e=this._$AM;return void 0!==e&&11===t?.nodeType&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=X(this,t,e),R(t)?t===J||null==t||""===t?(this._$AH!==J&&this._$AR(),this._$AH=J):t!==this._$AH&&t!==q&&this._(t):void 0!==t._$litType$?this.$(t):void 0!==t.nodeType?this.T(t):(t=>k(t)||"function"==typeof t?.[Symbol.iterator])(t)?this.k(t):this._(t)}S(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.S(t))}_(t){this._$AH!==J&&R(this._$AH)?this._$AA.nextSibling.data=t:this.T(M.createTextNode(t)),this._$AH=t}$(t){const{values:e,_$litType$:r}=t,i="number"==typeof r?this._$AC(t):(void 0===r.el&&(r.el=Q.createElement(G(r.h,r.h[0]),this.options)),r);if(this._$AH?._$AD===i)this._$AH.p(e);else{const t=new Y(i,this),r=t.u(this.options);t.p(e),this.T(r),this._$AH=t}}_$AC(t){let e=K.get(t.strings);return void 0===e&&K.set(t.strings,e=new Q(t)),e}k(e){k(this._$AH)||(this._$AH=[],this._$AR());const r=this._$AH;let i,s=0;for(const n of e)s===r.length?r.push(i=new t(this.S(N()),this.S(N()),this,this.options)):i=r[s],i._$AI(n),s++;s<r.length&&(this._$AR(i&&i._$AB.nextSibling,s),r.length=s)}_$AR(t=this._$AA.nextSibling,e){for(this._$AP?.(!1,!0,e);t&&t!==this._$AB;){const e=t.nextSibling;t.remove(),t=e}}setConnected(t){void 0===this._$AM&&(this._$Cv=t,this._$AP?.(t))}},et=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,e,r,i,s){this.type=1,this._$AH=J,this._$AN=void 0,this.element=t,this.name=e,this._$AM=i,this.options=s,r.length>2||""!==r[0]||""!==r[1]?(this._$AH=Array(r.length-1).fill(new String),this.strings=r):this._$AH=J}_$AI(t,e=this,r,i){const s=this.strings;let n=!1;if(void 0===s)t=X(this,t,e,0),n=!R(t)||t!==this._$AH&&t!==q,n&&(this._$AH=t);else{const i=t;let o,a;for(t=s[0],o=0;o<s.length-1;o++)a=X(this,i[r+o],e,o),a===q&&(a=this._$AH[o]),n||=!R(a)||a!==this._$AH[o],a===J?t=J:t!==J&&(t+=(a??"")+s[o+1]),this._$AH[o]=a}n&&!i&&this.j(t)}j(t){t===J?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},rt=class extends et{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===J?void 0:t}},it=class extends et{constructor(){super(...arguments),this.type=4}j(t){this.element.toggleAttribute(this.name,!!t&&t!==J)}},st=class extends et{constructor(t,e,r,i,s){super(t,e,r,i,s),this.type=5}_$AI(t,e=this){if((t=X(this,t,e,0)??J)===q)return;const r=this._$AH,i=t===J&&r!==J||t.capture!==r.capture||t.once!==r.once||t.passive!==r.passive,s=t!==J&&(r===J||i);i&&this.element.removeEventListener(this.name,this,r),s&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){"function"==typeof this._$AH?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}},nt=class{constructor(t,e,r){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=r}get _$AU(){return this._$AM._$AU}_$AI(t){X(this,t)}};const ot=P.litHtmlPolyfillSupport;ot?.(Q,tt),(P.litHtmlVersions??=[]).push("3.1.3");
*/}const P=globalThis,O=P.trustedTypes,x=O?O.createPolicy("lit-html",{createHTML:t=>t}):void 0,C="$lit$",U=`lit$${Math.random().toFixed(9).slice(2)}$`,T="?"+U,H=`<${T}>`,M=document,N=()=>M.createComment(""),k=t=>null===t||"object"!=typeof t&&"function"!=typeof t,R=Array.isArray,z="[ \t\n\f\r]",L=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,D=/-->/g,I=/>/g,B=RegExp(`>|${z}(?:([^\\s"'>=/]+)(${z}*=${z}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),W=/'/g,V=/"/g,F=/^(?:script|style|textarea|title)$/i,q=Symbol.for("lit-noChange"),J=Symbol.for("lit-nothing"),K=new WeakMap,Z=M.createTreeWalker(M,129);function G(t,e){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==x?x.createHTML(e):e}let Q=class t{constructor({strings:e,_$litType$:r},i){let s;this.parts=[];let n=0,o=0;const a=e.length-1,h=this.parts,[c,l]=((t,e)=>{const r=t.length-1,i=[];let s,n=2===e?"<svg>":"",o=L;for(let e=0;e<r;e++){const r=t[e];let a,h,c=-1,l=0;for(;l<r.length&&(o.lastIndex=l,h=o.exec(r),null!==h);)l=o.lastIndex,o===L?"!--"===h[1]?o=D:void 0!==h[1]?o=I:void 0!==h[2]?(F.test(h[2])&&(s=RegExp("</"+h[2],"g")),o=B):void 0!==h[3]&&(o=B):o===B?">"===h[0]?(o=s??L,c=-1):void 0===h[1]?c=-2:(c=o.lastIndex-h[2].length,a=h[1],o=void 0===h[3]?B:'"'===h[3]?V:W):o===V||o===W?o=B:o===D||o===I?o=L:(o=B,s=void 0);const u=o===B&&t[e+1].startsWith("/>")?" ":"";n+=o===L?r+H:c>=0?(i.push(a),r.slice(0,c)+C+r.slice(c)+U+u):r+U+(-2===c?e:u)}return[G(t,n+(t[r]||"<?>")+(2===e?"</svg>":"")),i]})(e,r);if(this.el=t.createElement(c,i),Z.currentNode=this.el.content,2===r){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(s=Z.nextNode())&&h.length<a;){if(1===s.nodeType){if(s.hasAttributes())for(const t of s.getAttributeNames())if(t.endsWith(C)){const e=l[o++],r=s.getAttribute(t).split(U),i=/([.?@])?(.*)/.exec(e);h.push({type:1,index:n,name:i[2],strings:r,ctor:"."===i[1]?rt:"?"===i[1]?it:"@"===i[1]?st:et}),s.removeAttribute(t)}else t.startsWith(U)&&(h.push({type:6,index:n}),s.removeAttribute(t));if(F.test(s.tagName)){const t=s.textContent.split(U),e=t.length-1;if(e>0){s.textContent=O?O.emptyScript:"";for(let r=0;r<e;r++)s.append(t[r],N()),Z.nextNode(),h.push({type:2,index:++n});s.append(t[e],N())}}}else if(8===s.nodeType)if(s.data===T)h.push({type:2,index:n});else{let t=-1;for(;-1!==(t=s.data.indexOf(U,t+1));)h.push({type:7,index:n}),t+=U.length-1}n++}}static createElement(t,e){const r=M.createElement("template");return r.innerHTML=t,r}};function X(t,e,r=t,i){if(e===q)return e;let s=void 0!==i?r._$Co?.[i]:r._$Cl;const n=k(e)?void 0:e._$litDirective$;return s?.constructor!==n&&(s?._$AO?.(!1),void 0===n?s=void 0:(s=new n(t),s._$AT(t,r,i)),void 0!==i?(r._$Co??=[])[i]=s:r._$Cl=s),void 0!==s&&(e=X(t,s._$AS(t,e.values),s,i)),e}let Y=class{constructor(t,e){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:e},parts:r}=this._$AD,i=(t?.creationScope??M).importNode(e,!0);Z.currentNode=i;let s=Z.nextNode(),n=0,o=0,a=r[0];for(;void 0!==a;){if(n===a.index){let e;2===a.type?e=new tt(s,s.nextSibling,this,t):1===a.type?e=new a.ctor(s,a.name,a.strings,this,t):6===a.type&&(e=new nt(s,this,t)),this._$AV.push(e),a=r[++o]}n!==a?.index&&(s=Z.nextNode(),n++)}return Z.currentNode=M,i}p(t){let e=0;for(const r of this._$AV)void 0!==r&&(void 0!==r.strings?(r._$AI(t,r,e),e+=r.strings.length-2):r._$AI(t[e])),e++}},tt=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,e,r,i){this.type=2,this._$AH=J,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=r,this.options=i,this._$Cv=i?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode;const e=this._$AM;return void 0!==e&&11===t?.nodeType&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=X(this,t,e),k(t)?t===J||null==t||""===t?(this._$AH!==J&&this._$AR(),this._$AH=J):t!==this._$AH&&t!==q&&this._(t):void 0!==t._$litType$?this.$(t):void 0!==t.nodeType?this.T(t):(t=>R(t)||"function"==typeof t?.[Symbol.iterator])(t)?this.k(t):this._(t)}S(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.S(t))}_(t){this._$AH!==J&&k(this._$AH)?this._$AA.nextSibling.data=t:this.T(M.createTextNode(t)),this._$AH=t}$(t){const{values:e,_$litType$:r}=t,i="number"==typeof r?this._$AC(t):(void 0===r.el&&(r.el=Q.createElement(G(r.h,r.h[0]),this.options)),r);if(this._$AH?._$AD===i)this._$AH.p(e);else{const t=new Y(i,this),r=t.u(this.options);t.p(e),this.T(r),this._$AH=t}}_$AC(t){let e=K.get(t.strings);return void 0===e&&K.set(t.strings,e=new Q(t)),e}k(e){R(this._$AH)||(this._$AH=[],this._$AR());const r=this._$AH;let i,s=0;for(const n of e)s===r.length?r.push(i=new t(this.S(N()),this.S(N()),this,this.options)):i=r[s],i._$AI(n),s++;s<r.length&&(this._$AR(i&&i._$AB.nextSibling,s),r.length=s)}_$AR(t=this._$AA.nextSibling,e){for(this._$AP?.(!1,!0,e);t&&t!==this._$AB;){const e=t.nextSibling;t.remove(),t=e}}setConnected(t){void 0===this._$AM&&(this._$Cv=t,this._$AP?.(t))}},et=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,e,r,i,s){this.type=1,this._$AH=J,this._$AN=void 0,this.element=t,this.name=e,this._$AM=i,this.options=s,r.length>2||""!==r[0]||""!==r[1]?(this._$AH=Array(r.length-1).fill(new String),this.strings=r):this._$AH=J}_$AI(t,e=this,r,i){const s=this.strings;let n=!1;if(void 0===s)t=X(this,t,e,0),n=!k(t)||t!==this._$AH&&t!==q,n&&(this._$AH=t);else{const i=t;let o,a;for(t=s[0],o=0;o<s.length-1;o++)a=X(this,i[r+o],e,o),a===q&&(a=this._$AH[o]),n||=!k(a)||a!==this._$AH[o],a===J?t=J:t!==J&&(t+=(a??"")+s[o+1]),this._$AH[o]=a}n&&!i&&this.j(t)}j(t){t===J?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},rt=class extends et{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===J?void 0:t}},it=class extends et{constructor(){super(...arguments),this.type=4}j(t){this.element.toggleAttribute(this.name,!!t&&t!==J)}},st=class extends et{constructor(t,e,r,i,s){super(t,e,r,i,s),this.type=5}_$AI(t,e=this){if((t=X(this,t,e,0)??J)===q)return;const r=this._$AH,i=t===J&&r!==J||t.capture!==r.capture||t.once!==r.once||t.passive!==r.passive,s=t!==J&&(r===J||i);i&&this.element.removeEventListener(this.name,this,r),s&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){"function"==typeof this._$AH?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}},nt=class{constructor(t,e,r){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=r}get _$AU(){return this._$AM._$AU}_$AI(t){X(this,t)}};const ot=P.litHtmlPolyfillSupport;ot?.(Q,tt),(P.litHtmlVersions??=[]).push("3.1.3");
/**

@@ -46,3 +46,3 @@ * @license

*/
const Ot=globalThis,xt=Ot.trustedTypes,Ct=xt?xt.createPolicy("lit-html",{createHTML:t=>t}):void 0,Ut="$lit$",Tt=`lit$${Math.random().toFixed(9).slice(2)}$`,Ht="?"+Tt,Mt=`<${Ht}>`,Nt=document,Rt=()=>Nt.createComment(""),kt=t=>null===t||"object"!=typeof t&&"function"!=typeof t,zt=Array.isArray,Lt="[ \t\n\f\r]",Dt=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,It=/-->/g,Bt=/>/g,Wt=RegExp(`>|${Lt}(?:([^\\s"'>=/]+)(${Lt}*=${Lt}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),Vt=/'/g,Ft=/"/g,qt=/^(?:script|style|textarea|title)$/i,Jt=(t=>(e,...r)=>({_$litType$:t,strings:e,values:r}))(1),Kt=Symbol.for("lit-noChange"),Zt=Symbol.for("lit-nothing"),Gt=new WeakMap,Qt=Nt.createTreeWalker(Nt,129);function Xt(t,e){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==Ct?Ct.createHTML(e):e}const Yt=(t,e)=>{const r=t.length-1,i=[];let s,n=2===e?"<svg>":"",o=Dt;for(let e=0;e<r;e++){const r=t[e];let a,h,c=-1,l=0;for(;l<r.length&&(o.lastIndex=l,h=o.exec(r),null!==h);)l=o.lastIndex,o===Dt?"!--"===h[1]?o=It:void 0!==h[1]?o=Bt:void 0!==h[2]?(qt.test(h[2])&&(s=RegExp("</"+h[2],"g")),o=Wt):void 0!==h[3]&&(o=Wt):o===Wt?">"===h[0]?(o=s??Dt,c=-1):void 0===h[1]?c=-2:(c=o.lastIndex-h[2].length,a=h[1],o=void 0===h[3]?Wt:'"'===h[3]?Ft:Vt):o===Ft||o===Vt?o=Wt:o===It||o===Bt?o=Dt:(o=Wt,s=void 0);const u=o===Wt&&t[e+1].startsWith("/>")?" ":"";n+=o===Dt?r+Mt:c>=0?(i.push(a),r.slice(0,c)+Ut+r.slice(c)+Tt+u):r+Tt+(-2===c?e:u)}return[Xt(t,n+(t[r]||"<?>")+(2===e?"</svg>":"")),i]};class te{constructor({strings:t,_$litType$:e},r){let i;this.parts=[];let s=0,n=0;const o=t.length-1,a=this.parts,[h,c]=Yt(t,e);if(this.el=te.createElement(h,r),Qt.currentNode=this.el.content,2===e){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(i=Qt.nextNode())&&a.length<o;){if(1===i.nodeType){if(i.hasAttributes())for(const t of i.getAttributeNames())if(t.endsWith(Ut)){const e=c[n++],r=i.getAttribute(t).split(Tt),o=/([.?@])?(.*)/.exec(e);a.push({type:1,index:s,name:o[2],strings:r,ctor:"."===o[1]?ne:"?"===o[1]?oe:"@"===o[1]?ae:se}),i.removeAttribute(t)}else t.startsWith(Tt)&&(a.push({type:6,index:s}),i.removeAttribute(t));if(qt.test(i.tagName)){const t=i.textContent.split(Tt),e=t.length-1;if(e>0){i.textContent=xt?xt.emptyScript:"";for(let r=0;r<e;r++)i.append(t[r],Rt()),Qt.nextNode(),a.push({type:2,index:++s});i.append(t[e],Rt())}}}else if(8===i.nodeType)if(i.data===Ht)a.push({type:2,index:s});else{let t=-1;for(;-1!==(t=i.data.indexOf(Tt,t+1));)a.push({type:7,index:s}),t+=Tt.length-1}s++}}static createElement(t,e){const r=Nt.createElement("template");return r.innerHTML=t,r}}function ee(t,e,r=t,i){if(e===Kt)return e;let s=void 0!==i?r._$Co?.[i]:r._$Cl;const n=kt(e)?void 0:e._$litDirective$;return s?.constructor!==n&&(s?._$AO?.(!1),void 0===n?s=void 0:(s=new n(t),s._$AT(t,r,i)),void 0!==i?(r._$Co??=[])[i]=s:r._$Cl=s),void 0!==s&&(e=ee(t,s._$AS(t,e.values),s,i)),e}class re{constructor(t,e){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:e},parts:r}=this._$AD,i=(t?.creationScope??Nt).importNode(e,!0);Qt.currentNode=i;let s=Qt.nextNode(),n=0,o=0,a=r[0];for(;void 0!==a;){if(n===a.index){let e;2===a.type?e=new ie(s,s.nextSibling,this,t):1===a.type?e=new a.ctor(s,a.name,a.strings,this,t):6===a.type&&(e=new he(s,this,t)),this._$AV.push(e),a=r[++o]}n!==a?.index&&(s=Qt.nextNode(),n++)}return Qt.currentNode=Nt,i}p(t){let e=0;for(const r of this._$AV)void 0!==r&&(void 0!==r.strings?(r._$AI(t,r,e),e+=r.strings.length-2):r._$AI(t[e])),e++}}class ie{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,e,r,i){this.type=2,this._$AH=Zt,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=r,this.options=i,this._$Cv=i?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode;const e=this._$AM;return void 0!==e&&11===t?.nodeType&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=ee(this,t,e),kt(t)?t===Zt||null==t||""===t?(this._$AH!==Zt&&this._$AR(),this._$AH=Zt):t!==this._$AH&&t!==Kt&&this._(t):void 0!==t._$litType$?this.$(t):void 0!==t.nodeType?this.T(t):(t=>zt(t)||"function"==typeof t?.[Symbol.iterator])(t)?this.k(t):this._(t)}S(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.S(t))}_(t){this._$AH!==Zt&&kt(this._$AH)?this._$AA.nextSibling.data=t:this.T(Nt.createTextNode(t)),this._$AH=t}$(t){const{values:e,_$litType$:r}=t,i="number"==typeof r?this._$AC(t):(void 0===r.el&&(r.el=te.createElement(Xt(r.h,r.h[0]),this.options)),r);if(this._$AH?._$AD===i)this._$AH.p(e);else{const t=new re(i,this),r=t.u(this.options);t.p(e),this.T(r),this._$AH=t}}_$AC(t){let e=Gt.get(t.strings);return void 0===e&&Gt.set(t.strings,e=new te(t)),e}k(t){zt(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let r,i=0;for(const s of t)i===e.length?e.push(r=new ie(this.S(Rt()),this.S(Rt()),this,this.options)):r=e[i],r._$AI(s),i++;i<e.length&&(this._$AR(r&&r._$AB.nextSibling,i),e.length=i)}_$AR(t=this._$AA.nextSibling,e){for(this._$AP?.(!1,!0,e);t&&t!==this._$AB;){const e=t.nextSibling;t.remove(),t=e}}setConnected(t){void 0===this._$AM&&(this._$Cv=t,this._$AP?.(t))}}class se{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,e,r,i,s){this.type=1,this._$AH=Zt,this._$AN=void 0,this.element=t,this.name=e,this._$AM=i,this.options=s,r.length>2||""!==r[0]||""!==r[1]?(this._$AH=Array(r.length-1).fill(new String),this.strings=r):this._$AH=Zt}_$AI(t,e=this,r,i){const s=this.strings;let n=!1;if(void 0===s)t=ee(this,t,e,0),n=!kt(t)||t!==this._$AH&&t!==Kt,n&&(this._$AH=t);else{const i=t;let o,a;for(t=s[0],o=0;o<s.length-1;o++)a=ee(this,i[r+o],e,o),a===Kt&&(a=this._$AH[o]),n||=!kt(a)||a!==this._$AH[o],a===Zt?t=Zt:t!==Zt&&(t+=(a??"")+s[o+1]),this._$AH[o]=a}n&&!i&&this.j(t)}j(t){t===Zt?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}}class ne extends se{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===Zt?void 0:t}}class oe extends se{constructor(){super(...arguments),this.type=4}j(t){this.element.toggleAttribute(this.name,!!t&&t!==Zt)}}class ae extends se{constructor(t,e,r,i,s){super(t,e,r,i,s),this.type=5}_$AI(t,e=this){if((t=ee(this,t,e,0)??Zt)===Kt)return;const r=this._$AH,i=t===Zt&&r!==Zt||t.capture!==r.capture||t.once!==r.once||t.passive!==r.passive,s=t!==Zt&&(r===Zt||i);i&&this.element.removeEventListener(this.name,this,r),s&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){"function"==typeof this._$AH?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}}class he{constructor(t,e,r){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=r}get _$AU(){return this._$AM._$AU}_$AI(t){ee(this,t)}}const ce=Ot.litHtmlPolyfillSupport;ce?.(te,ie),(Ot.litHtmlVersions??=[]).push("3.1.3");
const Ot=globalThis,xt=Ot.trustedTypes,Ct=xt?xt.createPolicy("lit-html",{createHTML:t=>t}):void 0,Ut="$lit$",Tt=`lit$${Math.random().toFixed(9).slice(2)}$`,Ht="?"+Tt,Mt=`<${Ht}>`,Nt=document,kt=()=>Nt.createComment(""),Rt=t=>null===t||"object"!=typeof t&&"function"!=typeof t,zt=Array.isArray,Lt="[ \t\n\f\r]",Dt=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,It=/-->/g,Bt=/>/g,Wt=RegExp(`>|${Lt}(?:([^\\s"'>=/]+)(${Lt}*=${Lt}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),Vt=/'/g,Ft=/"/g,qt=/^(?:script|style|textarea|title)$/i,Jt=(t=>(e,...r)=>({_$litType$:t,strings:e,values:r}))(1),Kt=Symbol.for("lit-noChange"),Zt=Symbol.for("lit-nothing"),Gt=new WeakMap,Qt=Nt.createTreeWalker(Nt,129);function Xt(t,e){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==Ct?Ct.createHTML(e):e}const Yt=(t,e)=>{const r=t.length-1,i=[];let s,n=2===e?"<svg>":"",o=Dt;for(let e=0;e<r;e++){const r=t[e];let a,h,c=-1,l=0;for(;l<r.length&&(o.lastIndex=l,h=o.exec(r),null!==h);)l=o.lastIndex,o===Dt?"!--"===h[1]?o=It:void 0!==h[1]?o=Bt:void 0!==h[2]?(qt.test(h[2])&&(s=RegExp("</"+h[2],"g")),o=Wt):void 0!==h[3]&&(o=Wt):o===Wt?">"===h[0]?(o=s??Dt,c=-1):void 0===h[1]?c=-2:(c=o.lastIndex-h[2].length,a=h[1],o=void 0===h[3]?Wt:'"'===h[3]?Ft:Vt):o===Ft||o===Vt?o=Wt:o===It||o===Bt?o=Dt:(o=Wt,s=void 0);const u=o===Wt&&t[e+1].startsWith("/>")?" ":"";n+=o===Dt?r+Mt:c>=0?(i.push(a),r.slice(0,c)+Ut+r.slice(c)+Tt+u):r+Tt+(-2===c?e:u)}return[Xt(t,n+(t[r]||"<?>")+(2===e?"</svg>":"")),i]};class te{constructor({strings:t,_$litType$:e},r){let i;this.parts=[];let s=0,n=0;const o=t.length-1,a=this.parts,[h,c]=Yt(t,e);if(this.el=te.createElement(h,r),Qt.currentNode=this.el.content,2===e){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(i=Qt.nextNode())&&a.length<o;){if(1===i.nodeType){if(i.hasAttributes())for(const t of i.getAttributeNames())if(t.endsWith(Ut)){const e=c[n++],r=i.getAttribute(t).split(Tt),o=/([.?@])?(.*)/.exec(e);a.push({type:1,index:s,name:o[2],strings:r,ctor:"."===o[1]?ne:"?"===o[1]?oe:"@"===o[1]?ae:se}),i.removeAttribute(t)}else t.startsWith(Tt)&&(a.push({type:6,index:s}),i.removeAttribute(t));if(qt.test(i.tagName)){const t=i.textContent.split(Tt),e=t.length-1;if(e>0){i.textContent=xt?xt.emptyScript:"";for(let r=0;r<e;r++)i.append(t[r],kt()),Qt.nextNode(),a.push({type:2,index:++s});i.append(t[e],kt())}}}else if(8===i.nodeType)if(i.data===Ht)a.push({type:2,index:s});else{let t=-1;for(;-1!==(t=i.data.indexOf(Tt,t+1));)a.push({type:7,index:s}),t+=Tt.length-1}s++}}static createElement(t,e){const r=Nt.createElement("template");return r.innerHTML=t,r}}function ee(t,e,r=t,i){if(e===Kt)return e;let s=void 0!==i?r._$Co?.[i]:r._$Cl;const n=Rt(e)?void 0:e._$litDirective$;return s?.constructor!==n&&(s?._$AO?.(!1),void 0===n?s=void 0:(s=new n(t),s._$AT(t,r,i)),void 0!==i?(r._$Co??=[])[i]=s:r._$Cl=s),void 0!==s&&(e=ee(t,s._$AS(t,e.values),s,i)),e}class re{constructor(t,e){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:e},parts:r}=this._$AD,i=(t?.creationScope??Nt).importNode(e,!0);Qt.currentNode=i;let s=Qt.nextNode(),n=0,o=0,a=r[0];for(;void 0!==a;){if(n===a.index){let e;2===a.type?e=new ie(s,s.nextSibling,this,t):1===a.type?e=new a.ctor(s,a.name,a.strings,this,t):6===a.type&&(e=new he(s,this,t)),this._$AV.push(e),a=r[++o]}n!==a?.index&&(s=Qt.nextNode(),n++)}return Qt.currentNode=Nt,i}p(t){let e=0;for(const r of this._$AV)void 0!==r&&(void 0!==r.strings?(r._$AI(t,r,e),e+=r.strings.length-2):r._$AI(t[e])),e++}}class ie{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,e,r,i){this.type=2,this._$AH=Zt,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=r,this.options=i,this._$Cv=i?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode;const e=this._$AM;return void 0!==e&&11===t?.nodeType&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=ee(this,t,e),Rt(t)?t===Zt||null==t||""===t?(this._$AH!==Zt&&this._$AR(),this._$AH=Zt):t!==this._$AH&&t!==Kt&&this._(t):void 0!==t._$litType$?this.$(t):void 0!==t.nodeType?this.T(t):(t=>zt(t)||"function"==typeof t?.[Symbol.iterator])(t)?this.k(t):this._(t)}S(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.S(t))}_(t){this._$AH!==Zt&&Rt(this._$AH)?this._$AA.nextSibling.data=t:this.T(Nt.createTextNode(t)),this._$AH=t}$(t){const{values:e,_$litType$:r}=t,i="number"==typeof r?this._$AC(t):(void 0===r.el&&(r.el=te.createElement(Xt(r.h,r.h[0]),this.options)),r);if(this._$AH?._$AD===i)this._$AH.p(e);else{const t=new re(i,this),r=t.u(this.options);t.p(e),this.T(r),this._$AH=t}}_$AC(t){let e=Gt.get(t.strings);return void 0===e&&Gt.set(t.strings,e=new te(t)),e}k(t){zt(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let r,i=0;for(const s of t)i===e.length?e.push(r=new ie(this.S(kt()),this.S(kt()),this,this.options)):r=e[i],r._$AI(s),i++;i<e.length&&(this._$AR(r&&r._$AB.nextSibling,i),e.length=i)}_$AR(t=this._$AA.nextSibling,e){for(this._$AP?.(!1,!0,e);t&&t!==this._$AB;){const e=t.nextSibling;t.remove(),t=e}}setConnected(t){void 0===this._$AM&&(this._$Cv=t,this._$AP?.(t))}}class se{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,e,r,i,s){this.type=1,this._$AH=Zt,this._$AN=void 0,this.element=t,this.name=e,this._$AM=i,this.options=s,r.length>2||""!==r[0]||""!==r[1]?(this._$AH=Array(r.length-1).fill(new String),this.strings=r):this._$AH=Zt}_$AI(t,e=this,r,i){const s=this.strings;let n=!1;if(void 0===s)t=ee(this,t,e,0),n=!Rt(t)||t!==this._$AH&&t!==Kt,n&&(this._$AH=t);else{const i=t;let o,a;for(t=s[0],o=0;o<s.length-1;o++)a=ee(this,i[r+o],e,o),a===Kt&&(a=this._$AH[o]),n||=!Rt(a)||a!==this._$AH[o],a===Zt?t=Zt:t!==Zt&&(t+=(a??"")+s[o+1]),this._$AH[o]=a}n&&!i&&this.j(t)}j(t){t===Zt?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}}class ne extends se{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===Zt?void 0:t}}class oe extends se{constructor(){super(...arguments),this.type=4}j(t){this.element.toggleAttribute(this.name,!!t&&t!==Zt)}}class ae extends se{constructor(t,e,r,i,s){super(t,e,r,i,s),this.type=5}_$AI(t,e=this){if((t=ee(this,t,e,0)??Zt)===Kt)return;const r=this._$AH,i=t===Zt&&r!==Zt||t.capture!==r.capture||t.once!==r.once||t.passive!==r.passive,s=t!==Zt&&(r===Zt||i);i&&this.element.removeEventListener(this.name,this,r),s&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){"function"==typeof this._$AH?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}}class he{constructor(t,e,r){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=r}get _$AU(){return this._$AM._$AU}_$AI(t){ee(this,t)}}const ce=Ot.litHtmlPolyfillSupport;ce?.(te,ie),(Ot.litHtmlVersions??=[]).push("3.1.3");
/**

@@ -53,4 +53,8 @@ * @license

*/
class le extends Pt{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){const t=super.createRenderRoot();return this.renderOptions.renderBefore??=t.firstChild,t}update(t){const e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=((t,e,r)=>{const i=r?.renderBefore??e;let s=i._$litPart$;if(void 0===s){const t=r?.renderBefore??null;i._$litPart$=s=new ie(e.insertBefore(Rt(),t),t,void 0,r??{})}return s._$AI(t),s})(e,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return Kt}}le._$litElement$=!0,le.finalized=!0,globalThis.litElementHydrateSupport?.({LitElement:le});const ue=globalThis.litElementPolyfillSupport;ue?.({LitElement:le}),(globalThis.litElementVersions??=[]).push("4.0.5");var pe="object"==typeof global&&global&&global.Object===Object&&global,de="object"==typeof self&&self&&self.Object===Object&&self,fe=pe||de||Function("return this")(),_e=fe.Symbol,ye=Object.prototype,$e=ye.hasOwnProperty,ve=ye.toString,ge=_e?_e.toStringTag:void 0;var be=Object.prototype.toString;var Ae="[object Null]",me="[object Undefined]",Se=_e?_e.toStringTag:void 0;function Ee(t){return null==t?void 0===t?me:Ae:Se&&Se in Object(t)?function(t){var e=$e.call(t,ge),r=t[ge];try{t[ge]=void 0;var i=!0}catch(t){}var s=ve.call(t);return i&&(e?t[ge]=r:delete t[ge]),s}(t):function(t){return be.call(t)}(t)}function we(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}var je="[object AsyncFunction]",Pe="[object Function]",Oe="[object GeneratorFunction]",xe="[object Proxy]";function Ce(t){if(!we(t))return!1;var e=Ee(t);return e==Pe||e==Oe||e==je||e==xe}var Ue,Te=fe["__core-js_shared__"],He=(Ue=/[^.]+$/.exec(Te&&Te.keys&&Te.keys.IE_PROTO||""))?"Symbol(src)_1."+Ue:"";var Me=Function.prototype.toString;function Ne(t){if(null!=t){try{return Me.call(t)}catch(t){}try{return t+""}catch(t){}}return""}var Re=/^\[object .+?Constructor\]$/,ke=Function.prototype,ze=Object.prototype,Le=ke.toString,De=ze.hasOwnProperty,Ie=RegExp("^"+Le.call(De).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function Be(t){return!(!we(t)||(e=t,He&&He in e))&&(Ce(t)?Ie:Re).test(Ne(t));var e}function We(t,e){var r=function(t,e){return null==t?void 0:t[e]}(t,e);return Be(r)?r:void 0}var Ve=function(){try{var t=We(Object,"defineProperty");return t({},"",{}),t}catch(t){}}();function Fe(t,e,r,i){for(var s=-1,n=null==t?0:t.length;++s<n;){var o=t[s];e(i,o,r(o),t)}return i}var qe=function(t,e,r){for(var i=-1,s=Object(t),n=r(t),o=n.length;o--;){var a=n[++i];if(!1===e(s[a],a,s))break}return t};function Je(t){return null!=t&&"object"==typeof t}function Ke(t){return Je(t)&&"[object Arguments]"==Ee(t)}var Ze=Object.prototype,Ge=Ze.hasOwnProperty,Qe=Ze.propertyIsEnumerable,Xe=Ke(function(){return arguments}())?Ke:function(t){return Je(t)&&Ge.call(t,"callee")&&!Qe.call(t,"callee")},Ye=Array.isArray;var tr="object"==typeof exports&&exports&&!exports.nodeType&&exports,er=tr&&"object"==typeof module&&module&&!module.nodeType&&module,rr=er&&er.exports===tr?fe.Buffer:void 0,ir=(rr?rr.isBuffer:void 0)||function(){return!1},sr=9007199254740991,nr=/^(?:0|[1-9]\d*)$/;function or(t,e){var r=typeof t;return!!(e=e??sr)&&("number"==r||"symbol"!=r&&nr.test(t))&&t>-1&&t%1==0&&t<e}var ar=9007199254740991;function hr(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=ar}var cr={};cr["[object Float32Array]"]=cr["[object Float64Array]"]=cr["[object Int8Array]"]=cr["[object Int16Array]"]=cr["[object Int32Array]"]=cr["[object Uint8Array]"]=cr["[object Uint8ClampedArray]"]=cr["[object Uint16Array]"]=cr["[object Uint32Array]"]=!0,cr["[object Arguments]"]=cr["[object Array]"]=cr["[object ArrayBuffer]"]=cr["[object Boolean]"]=cr["[object DataView]"]=cr["[object Date]"]=cr["[object Error]"]=cr["[object Function]"]=cr["[object Map]"]=cr["[object Number]"]=cr["[object Object]"]=cr["[object RegExp]"]=cr["[object Set]"]=cr["[object String]"]=cr["[object WeakMap]"]=!1;var lr,ur="object"==typeof exports&&exports&&!exports.nodeType&&exports,pr=ur&&"object"==typeof module&&module&&!module.nodeType&&module,dr=pr&&pr.exports===ur&&pe.process,fr=function(){try{var t=pr&&pr.require&&pr.require("util").types;return t||dr&&dr.binding&&dr.binding("util")}catch(t){}}(),_r=fr&&fr.isTypedArray,yr=_r?(lr=_r,function(t){return lr(t)}):function(t){return Je(t)&&hr(t.length)&&!!cr[Ee(t)]},$r=Object.prototype.hasOwnProperty;function vr(t,e){var r=Ye(t),i=!r&&Xe(t),s=!r&&!i&&ir(t),n=!r&&!i&&!s&&yr(t),o=r||i||s||n,a=o?function(t,e){for(var r=-1,i=Array(t);++r<t;)i[r]=e(r);return i}(t.length,String):[],h=a.length;for(var c in t)!$r.call(t,c)||o&&("length"==c||s&&("offset"==c||"parent"==c)||n&&("buffer"==c||"byteLength"==c||"byteOffset"==c)||or(c,h))||a.push(c);return a}var gr=Object.prototype;var br=function(t,e){return function(r){return t(e(r))}}(Object.keys,Object),Ar=Object.prototype.hasOwnProperty;function mr(t){if(r=(e=t)&&e.constructor,e!==("function"==typeof r&&r.prototype||gr))return br(t);var e,r,i=[];for(var s in Object(t))Ar.call(t,s)&&"constructor"!=s&&i.push(s);return i}function Sr(t){return null!=t&&hr(t.length)&&!Ce(t)}function Er(t){return Sr(t)?vr(t):mr(t)}var wr,jr=(wr=function(t,e){return t&&qe(t,e,Er)},function(t,e){if(null==t)return t;if(!Sr(t))return wr(t,e);for(var r=t.length,i=-1,s=Object(t);++i<r&&!1!==e(s[i],i,s););return t});function Pr(t,e,r,i){return jr(t,(function(t,s,n){e(i,t,r(t),n)})),i}function Or(t,e){return t===e||t!=t&&e!=e}function xr(t,e){for(var r=t.length;r--;)if(Or(t[r][0],e))return r;return-1}var Cr=Array.prototype.splice;function Ur(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var i=t[e];this.set(i[0],i[1])}}Ur.prototype.clear=function(){this.__data__=[],this.size=0},Ur.prototype.delete=function(t){var e=this.__data__,r=xr(e,t);return!(r<0)&&(r==e.length-1?e.pop():Cr.call(e,r,1),--this.size,!0)},Ur.prototype.get=function(t){var e=this.__data__,r=xr(e,t);return r<0?void 0:e[r][1]},Ur.prototype.has=function(t){return xr(this.__data__,t)>-1},Ur.prototype.set=function(t,e){var r=this.__data__,i=xr(r,t);return i<0?(++this.size,r.push([t,e])):r[i][1]=e,this};var Tr=We(fe,"Map"),Hr=We(Object,"create");var Mr=Object.prototype.hasOwnProperty;var Nr=Object.prototype.hasOwnProperty;function Rr(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var i=t[e];this.set(i[0],i[1])}}function kr(t,e){var r,i,s=t.__data__;return("string"==(i=typeof(r=e))||"number"==i||"symbol"==i||"boolean"==i?"__proto__"!==r:null===r)?s["string"==typeof e?"string":"hash"]:s.map}function zr(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var i=t[e];this.set(i[0],i[1])}}Rr.prototype.clear=function(){this.__data__=Hr?Hr(null):{},this.size=0},Rr.prototype.delete=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e},Rr.prototype.get=function(t){var e=this.__data__;if(Hr){var r=e[t];return"__lodash_hash_undefined__"===r?void 0:r}return Mr.call(e,t)?e[t]:void 0},Rr.prototype.has=function(t){var e=this.__data__;return Hr?void 0!==e[t]:Nr.call(e,t)},Rr.prototype.set=function(t,e){var r=this.__data__;return this.size+=this.has(t)?0:1,r[t]=Hr&&void 0===e?"__lodash_hash_undefined__":e,this},zr.prototype.clear=function(){this.size=0,this.__data__={hash:new Rr,map:new(Tr||Ur),string:new Rr}},zr.prototype.delete=function(t){var e=kr(this,t).delete(t);return this.size-=e?1:0,e},zr.prototype.get=function(t){return kr(this,t).get(t)},zr.prototype.has=function(t){return kr(this,t).has(t)},zr.prototype.set=function(t,e){var r=kr(this,t),i=r.size;return r.set(t,e),this.size+=r.size==i?0:1,this};function Lr(t){var e=this.__data__=new Ur(t);this.size=e.size}Lr.prototype.clear=function(){this.__data__=new Ur,this.size=0},Lr.prototype.delete=function(t){var e=this.__data__,r=e.delete(t);return this.size=e.size,r},Lr.prototype.get=function(t){return this.__data__.get(t)},Lr.prototype.has=function(t){return this.__data__.has(t)},Lr.prototype.set=function(t,e){var r=this.__data__;if(r instanceof Ur){var i=r.__data__;if(!Tr||i.length<199)return i.push([t,e]),this.size=++r.size,this;r=this.__data__=new zr(i)}return r.set(t,e),this.size=r.size,this};function Dr(t){var e=-1,r=null==t?0:t.length;for(this.__data__=new zr;++e<r;)this.add(t[e])}function Ir(t,e){for(var r=-1,i=null==t?0:t.length;++r<i;)if(e(t[r],r,t))return!0;return!1}Dr.prototype.add=Dr.prototype.push=function(t){return this.__data__.set(t,"__lodash_hash_undefined__"),this},Dr.prototype.has=function(t){return this.__data__.has(t)};var Br=1,Wr=2;function Vr(t,e,r,i,s,n){var o=r&Br,a=t.length,h=e.length;if(a!=h&&!(o&&h>a))return!1;var c=n.get(t),l=n.get(e);if(c&&l)return c==e&&l==t;var u=-1,p=!0,d=r&Wr?new Dr:void 0;for(n.set(t,e),n.set(e,t);++u<a;){var f=t[u],_=e[u];if(i)var y=o?i(_,f,u,e,t,n):i(f,_,u,t,e,n);if(void 0!==y){if(y)continue;p=!1;break}if(d){if(!Ir(e,(function(t,e){if(o=e,!d.has(o)&&(f===t||s(f,t,r,i,n)))return d.push(e);var o}))){p=!1;break}}else if(f!==_&&!s(f,_,r,i,n)){p=!1;break}}return n.delete(t),n.delete(e),p}var Fr=fe.Uint8Array;function qr(t){var e=-1,r=Array(t.size);return t.forEach((function(t,i){r[++e]=[i,t]})),r}function Jr(t){var e=-1,r=Array(t.size);return t.forEach((function(t){r[++e]=t})),r}var Kr=1,Zr=2,Gr="[object Boolean]",Qr="[object Date]",Xr="[object Error]",Yr="[object Map]",ti="[object Number]",ei="[object RegExp]",ri="[object Set]",ii="[object String]",si="[object Symbol]",ni="[object ArrayBuffer]",oi="[object DataView]",ai=_e?_e.prototype:void 0,hi=ai?ai.valueOf:void 0;var ci=Object.prototype.propertyIsEnumerable,li=Object.getOwnPropertySymbols,ui=li?function(t){return null==t?[]:(t=Object(t),function(t,e){for(var r=-1,i=null==t?0:t.length,s=0,n=[];++r<i;){var o=t[r];e(o,r,t)&&(n[s++]=o)}return n}(li(t),(function(e){return ci.call(t,e)})))}:function(){return[]};function pi(t){return function(t,e,r){var i=e(t);return Ye(t)?i:function(t,e){for(var r=-1,i=e.length,s=t.length;++r<i;)t[s+r]=e[r];return t}(i,r(t))}(t,Er,ui)}var di=1,fi=Object.prototype.hasOwnProperty;var _i=We(fe,"DataView"),yi=We(fe,"Promise"),$i=We(fe,"Set"),vi=We(fe,"WeakMap"),gi="[object Map]",bi="[object Promise]",Ai="[object Set]",mi="[object WeakMap]",Si="[object DataView]",Ei=Ne(_i),wi=Ne(Tr),ji=Ne(yi),Pi=Ne($i),Oi=Ne(vi),xi=Ee;(_i&&xi(new _i(new ArrayBuffer(1)))!=Si||Tr&&xi(new Tr)!=gi||yi&&xi(yi.resolve())!=bi||$i&&xi(new $i)!=Ai||vi&&xi(new vi)!=mi)&&(xi=function(t){var e=Ee(t),r="[object Object]"==e?t.constructor:void 0,i=r?Ne(r):"";if(i)switch(i){case Ei:return Si;case wi:return gi;case ji:return bi;case Pi:return Ai;case Oi:return mi}return e});var Ci=1,Ui="[object Arguments]",Ti="[object Array]",Hi="[object Object]",Mi=Object.prototype.hasOwnProperty;function Ni(t,e,r,i,s,n){var o=Ye(t),a=Ye(e),h=o?Ti:xi(t),c=a?Ti:xi(e),l=(h=h==Ui?Hi:h)==Hi,u=(c=c==Ui?Hi:c)==Hi,p=h==c;if(p&&ir(t)){if(!ir(e))return!1;o=!0,l=!1}if(p&&!l)return n||(n=new Lr),o||yr(t)?Vr(t,e,r,i,s,n):function(t,e,r,i,s,n,o){switch(r){case oi:if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)return!1;t=t.buffer,e=e.buffer;case ni:return!(t.byteLength!=e.byteLength||!n(new Fr(t),new Fr(e)));case Gr:case Qr:case ti:return Or(+t,+e);case Xr:return t.name==e.name&&t.message==e.message;case ei:case ii:return t==e+"";case Yr:var a=qr;case ri:var h=i&Kr;if(a||(a=Jr),t.size!=e.size&&!h)return!1;var c=o.get(t);if(c)return c==e;i|=Zr,o.set(t,e);var l=Vr(a(t),a(e),i,s,n,o);return o.delete(t),l;case si:if(hi)return hi.call(t)==hi.call(e)}return!1}(t,e,h,r,i,s,n);if(!(r&Ci)){var d=l&&Mi.call(t,"__wrapped__"),f=u&&Mi.call(e,"__wrapped__");if(d||f){var _=d?t.value():t,y=f?e.value():e;return n||(n=new Lr),s(_,y,r,i,n)}}return!!p&&(n||(n=new Lr),function(t,e,r,i,s,n){var o=r&di,a=pi(t),h=a.length;if(h!=pi(e).length&&!o)return!1;for(var c=h;c--;){var l=a[c];if(!(o?l in e:fi.call(e,l)))return!1}var u=n.get(t),p=n.get(e);if(u&&p)return u==e&&p==t;var d=!0;n.set(t,e),n.set(e,t);for(var f=o;++c<h;){var _=t[l=a[c]],y=e[l];if(i)var $=o?i(y,_,l,e,t,n):i(_,y,l,t,e,n);if(!(void 0===$?_===y||s(_,y,r,i,n):$)){d=!1;break}f||(f="constructor"==l)}if(d&&!f){var v=t.constructor,g=e.constructor;v==g||!("constructor"in t)||!("constructor"in e)||"function"==typeof v&&v instanceof v&&"function"==typeof g&&g instanceof g||(d=!1)}return n.delete(t),n.delete(e),d}(t,e,r,i,s,n))}function Ri(t,e,r,i,s){return t===e||(null==t||null==e||!Je(t)&&!Je(e)?t!=t&&e!=e:Ni(t,e,r,i,Ri,s))}var ki=1,zi=2;function Li(t){return t==t&&!we(t)}function Di(t,e){return function(r){return null!=r&&(r[t]===e&&(void 0!==e||t in Object(r)))}}function Ii(t){var e=function(t){for(var e=Er(t),r=e.length;r--;){var i=e[r],s=t[i];e[r]=[i,s,Li(s)]}return e}(t);return 1==e.length&&e[0][2]?Di(e[0][0],e[0][1]):function(r){return r===t||function(t,e,r,i){var s=r.length,n=s;if(null==t)return!n;for(t=Object(t);s--;){var o=r[s];if(o[2]?o[1]!==t[o[0]]:!(o[0]in t))return!1}for(;++s<n;){var a=(o=r[s])[0],h=t[a],c=o[1];if(o[2]){if(void 0===h&&!(a in t))return!1}else{var l=new Lr;if(!Ri(c,h,ki|zi,i,l))return!1}}return!0}(r,0,e)}}var Bi="[object Symbol]";function Wi(t){return"symbol"==typeof t||Je(t)&&Ee(t)==Bi}var Vi=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Fi=/^\w*$/;function qi(t,e){if(Ye(t))return!1;var r=typeof t;return!("number"!=r&&"symbol"!=r&&"boolean"!=r&&null!=t&&!Wi(t))||(Fi.test(t)||!Vi.test(t)||null!=e&&t in Object(e))}var Ji="Expected a function";function Ki(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw new TypeError(Ji);var r=function(){var i=arguments,s=e?e.apply(this,i):i[0],n=r.cache;if(n.has(s))return n.get(s);var o=t.apply(this,i);return r.cache=n.set(s,o)||n,o};return r.cache=new(Ki.Cache||zr),r}Ki.Cache=zr;var Zi=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Gi=/\\(\\)?/g,Qi=function(t){var e=Ki(t,(function(t){return 500===r.size&&r.clear(),t})),r=e.cache;return e}((function(t){var e=[];return 46===t.charCodeAt(0)&&e.push(""),t.replace(Zi,(function(t,r,i,s){e.push(i?s.replace(Gi,"$1"):r||t)})),e}));var Xi=1/0,Yi=_e?_e.prototype:void 0,ts=Yi?Yi.toString:void 0;function es(t){if("string"==typeof t)return t;if(Ye(t))return function(t,e){for(var r=-1,i=null==t?0:t.length,s=Array(i);++r<i;)s[r]=e(t[r],r,t);return s}(t,es)+"";if(Wi(t))return ts?ts.call(t):"";var e=t+"";return"0"==e&&1/t==-Xi?"-0":e}function rs(t,e){return Ye(t)?t:qi(t,e)?[t]:Qi(function(t){return null==t?"":es(t)}(t))}var is=1/0;function ss(t){if("string"==typeof t||Wi(t))return t;var e=t+"";return"0"==e&&1/t==-is?"-0":e}function ns(t,e){for(var r=0,i=(e=rs(e,t)).length;null!=t&&r<i;)t=t[ss(e[r++])];return r&&r==i?t:void 0}function os(t,e){return null!=t&&e in Object(t)}function as(t,e){return null!=t&&function(t,e,r){for(var i=-1,s=(e=rs(e,t)).length,n=!1;++i<s;){var o=ss(e[i]);if(!(n=null!=t&&r(t,o)))break;t=t[o]}return n||++i!=s?n:!!(s=null==t?0:t.length)&&hr(s)&&or(o,s)&&(Ye(t)||Xe(t))}(t,e,os)}var hs=1,cs=2;function ls(t,e){return qi(t)&&Li(e)?Di(ss(t),e):function(r){var i=function(t,e,r){var i=null==t?void 0:ns(t,e);return void 0===i?r:i}(r,t);return void 0===i&&i===e?as(r,t):Ri(e,i,hs|cs)}}function us(t){return t}function ps(t){return qi(t)?(e=ss(t),function(t){return null==t?void 0:t[e]}):function(t){return function(e){return ns(e,t)}}(t);var e}var ds,fs,_s,ys=Object.prototype.hasOwnProperty,$s=(ds=function(t,e,r){ys.call(t,r)?t[r].push(e):function(t,e,r){"__proto__"==e&&Ve?Ve(t,e,{configurable:!0,enumerable:!0,value:r,writable:!0}):t[e]=r}(t,r,[e])},function(t,e){var r;return(Ye(t)?Fe:Pr)(t,ds,"function"==typeof(r=e)?r:null==r?us:"object"==typeof r?Ye(r)?ls(r[0],r[1]):Ii(r):ps(r),{})});let vs=class extends t{constructor(){super(),this.filters=[],this.for="",fs.set(this,new Set),_s.set(this,void 0),this.filters=[]}connectedCallback(){super.connectedCallback(),this.closest("nightingale-manager")&&(!function(t,e,r,i,s){if("m"===i)throw new TypeError("Private method is not writable");if("a"===i&&!s)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof e?t!==e||!s:!e.has(t))throw new TypeError("Cannot write private member to an object whose class did not declare it");"a"===i?s.call(t,r):s?s.value=r:e.set(t,r)}(this,_s,this.closest("nightingale-manager"),"f"),r(this,_s,"f").register(this))}disconnectedCallback(){super.disconnectedCallback(),r(this,_s,"f")&&r(this,_s,"f").unregister(this)}render(){const t=$s(this.filters,(t=>t.type.text));return Jt`
class le extends Pt{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){const t=super.createRenderRoot();return this.renderOptions.renderBefore??=t.firstChild,t}update(t){const e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=((t,e,r)=>{const i=r?.renderBefore??e;let s=i._$litPart$;if(void 0===s){const t=r?.renderBefore??null;i._$litPart$=s=new ie(e.insertBefore(kt(),t),t,void 0,r??{})}return s._$AI(t),s})(e,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return Kt}}le._$litElement$=!0,le.finalized=!0,globalThis.litElementHydrateSupport?.({LitElement:le});const ue=globalThis.litElementPolyfillSupport;ue?.({LitElement:le}),(globalThis.litElementVersions??=[]).push("4.0.5");var pe="object"==typeof global&&global&&global.Object===Object&&global,de="object"==typeof self&&self&&self.Object===Object&&self,fe=pe||de||Function("return this")(),_e=fe.Symbol,ye=Object.prototype,$e=ye.hasOwnProperty,ve=ye.toString,ge=_e?_e.toStringTag:void 0;var be=Object.prototype.toString;var Ae="[object Null]",me="[object Undefined]",Se=_e?_e.toStringTag:void 0;function Ee(t){return null==t?void 0===t?me:Ae:Se&&Se in Object(t)?function(t){var e=$e.call(t,ge),r=t[ge];try{t[ge]=void 0;var i=!0}catch(t){}var s=ve.call(t);return i&&(e?t[ge]=r:delete t[ge]),s}(t):function(t){return be.call(t)}(t)}function we(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}var je="[object AsyncFunction]",Pe="[object Function]",Oe="[object GeneratorFunction]",xe="[object Proxy]";function Ce(t){if(!we(t))return!1;var e=Ee(t);return e==Pe||e==Oe||e==je||e==xe}var Ue,Te=fe["__core-js_shared__"],He=(Ue=/[^.]+$/.exec(Te&&Te.keys&&Te.keys.IE_PROTO||""))?"Symbol(src)_1."+Ue:"";var Me=Function.prototype.toString;function Ne(t){if(null!=t){try{return Me.call(t)}catch(t){}try{return t+""}catch(t){}}return""}var ke=/^\[object .+?Constructor\]$/,Re=Function.prototype,ze=Object.prototype,Le=Re.toString,De=ze.hasOwnProperty,Ie=RegExp("^"+Le.call(De).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function Be(t){return!(!we(t)||(e=t,He&&He in e))&&(Ce(t)?Ie:ke).test(Ne(t));var e}function We(t,e){var r=function(t,e){return null==t?void 0:t[e]}(t,e);return Be(r)?r:void 0}var Ve=function(){try{var t=We(Object,"defineProperty");return t({},"",{}),t}catch(t){}}();function Fe(t,e,r,i){for(var s=-1,n=null==t?0:t.length;++s<n;){var o=t[s];e(i,o,r(o),t)}return i}var qe=function(t,e,r){for(var i=-1,s=Object(t),n=r(t),o=n.length;o--;){var a=n[++i];if(!1===e(s[a],a,s))break}return t};function Je(t){return null!=t&&"object"==typeof t}function Ke(t){return Je(t)&&"[object Arguments]"==Ee(t)}var Ze=Object.prototype,Ge=Ze.hasOwnProperty,Qe=Ze.propertyIsEnumerable,Xe=Ke(function(){return arguments}())?Ke:function(t){return Je(t)&&Ge.call(t,"callee")&&!Qe.call(t,"callee")},Ye=Array.isArray;var tr="object"==typeof exports&&exports&&!exports.nodeType&&exports,er=tr&&"object"==typeof module&&module&&!module.nodeType&&module,rr=er&&er.exports===tr?fe.Buffer:void 0,ir=(rr?rr.isBuffer:void 0)||function(){return!1},sr=9007199254740991,nr=/^(?:0|[1-9]\d*)$/;function or(t,e){var r=typeof t;return!!(e=e??sr)&&("number"==r||"symbol"!=r&&nr.test(t))&&t>-1&&t%1==0&&t<e}var ar=9007199254740991;function hr(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=ar}var cr={};cr["[object Float32Array]"]=cr["[object Float64Array]"]=cr["[object Int8Array]"]=cr["[object Int16Array]"]=cr["[object Int32Array]"]=cr["[object Uint8Array]"]=cr["[object Uint8ClampedArray]"]=cr["[object Uint16Array]"]=cr["[object Uint32Array]"]=!0,cr["[object Arguments]"]=cr["[object Array]"]=cr["[object ArrayBuffer]"]=cr["[object Boolean]"]=cr["[object DataView]"]=cr["[object Date]"]=cr["[object Error]"]=cr["[object Function]"]=cr["[object Map]"]=cr["[object Number]"]=cr["[object Object]"]=cr["[object RegExp]"]=cr["[object Set]"]=cr["[object String]"]=cr["[object WeakMap]"]=!1;var lr,ur="object"==typeof exports&&exports&&!exports.nodeType&&exports,pr=ur&&"object"==typeof module&&module&&!module.nodeType&&module,dr=pr&&pr.exports===ur&&pe.process,fr=function(){try{var t=pr&&pr.require&&pr.require("util").types;return t||dr&&dr.binding&&dr.binding("util")}catch(t){}}(),_r=fr&&fr.isTypedArray,yr=_r?(lr=_r,function(t){return lr(t)}):function(t){return Je(t)&&hr(t.length)&&!!cr[Ee(t)]},$r=Object.prototype.hasOwnProperty;function vr(t,e){var r=Ye(t),i=!r&&Xe(t),s=!r&&!i&&ir(t),n=!r&&!i&&!s&&yr(t),o=r||i||s||n,a=o?function(t,e){for(var r=-1,i=Array(t);++r<t;)i[r]=e(r);return i}(t.length,String):[],h=a.length;for(var c in t)!$r.call(t,c)||o&&("length"==c||s&&("offset"==c||"parent"==c)||n&&("buffer"==c||"byteLength"==c||"byteOffset"==c)||or(c,h))||a.push(c);return a}var gr=Object.prototype;var br=function(t,e){return function(r){return t(e(r))}}(Object.keys,Object),Ar=Object.prototype.hasOwnProperty;function mr(t){if(r=(e=t)&&e.constructor,e!==("function"==typeof r&&r.prototype||gr))return br(t);var e,r,i=[];for(var s in Object(t))Ar.call(t,s)&&"constructor"!=s&&i.push(s);return i}function Sr(t){return null!=t&&hr(t.length)&&!Ce(t)}function Er(t){return Sr(t)?vr(t):mr(t)}var wr,jr=(wr=function(t,e){return t&&qe(t,e,Er)},function(t,e){if(null==t)return t;if(!Sr(t))return wr(t,e);for(var r=t.length,i=-1,s=Object(t);++i<r&&!1!==e(s[i],i,s););return t});function Pr(t,e,r,i){return jr(t,(function(t,s,n){e(i,t,r(t),n)})),i}function Or(t,e){return t===e||t!=t&&e!=e}function xr(t,e){for(var r=t.length;r--;)if(Or(t[r][0],e))return r;return-1}var Cr=Array.prototype.splice;function Ur(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var i=t[e];this.set(i[0],i[1])}}Ur.prototype.clear=function(){this.__data__=[],this.size=0},Ur.prototype.delete=function(t){var e=this.__data__,r=xr(e,t);return!(r<0)&&(r==e.length-1?e.pop():Cr.call(e,r,1),--this.size,!0)},Ur.prototype.get=function(t){var e=this.__data__,r=xr(e,t);return r<0?void 0:e[r][1]},Ur.prototype.has=function(t){return xr(this.__data__,t)>-1},Ur.prototype.set=function(t,e){var r=this.__data__,i=xr(r,t);return i<0?(++this.size,r.push([t,e])):r[i][1]=e,this};var Tr=We(fe,"Map"),Hr=We(Object,"create");var Mr=Object.prototype.hasOwnProperty;var Nr=Object.prototype.hasOwnProperty;function kr(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var i=t[e];this.set(i[0],i[1])}}function Rr(t,e){var r,i,s=t.__data__;return("string"==(i=typeof(r=e))||"number"==i||"symbol"==i||"boolean"==i?"__proto__"!==r:null===r)?s["string"==typeof e?"string":"hash"]:s.map}function zr(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var i=t[e];this.set(i[0],i[1])}}kr.prototype.clear=function(){this.__data__=Hr?Hr(null):{},this.size=0},kr.prototype.delete=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e},kr.prototype.get=function(t){var e=this.__data__;if(Hr){var r=e[t];return"__lodash_hash_undefined__"===r?void 0:r}return Mr.call(e,t)?e[t]:void 0},kr.prototype.has=function(t){var e=this.__data__;return Hr?void 0!==e[t]:Nr.call(e,t)},kr.prototype.set=function(t,e){var r=this.__data__;return this.size+=this.has(t)?0:1,r[t]=Hr&&void 0===e?"__lodash_hash_undefined__":e,this},zr.prototype.clear=function(){this.size=0,this.__data__={hash:new kr,map:new(Tr||Ur),string:new kr}},zr.prototype.delete=function(t){var e=Rr(this,t).delete(t);return this.size-=e?1:0,e},zr.prototype.get=function(t){return Rr(this,t).get(t)},zr.prototype.has=function(t){return Rr(this,t).has(t)},zr.prototype.set=function(t,e){var r=Rr(this,t),i=r.size;return r.set(t,e),this.size+=r.size==i?0:1,this};function Lr(t){var e=this.__data__=new Ur(t);this.size=e.size}Lr.prototype.clear=function(){this.__data__=new Ur,this.size=0},Lr.prototype.delete=function(t){var e=this.__data__,r=e.delete(t);return this.size=e.size,r},Lr.prototype.get=function(t){return this.__data__.get(t)},Lr.prototype.has=function(t){return this.__data__.has(t)},Lr.prototype.set=function(t,e){var r=this.__data__;if(r instanceof Ur){var i=r.__data__;if(!Tr||i.length<199)return i.push([t,e]),this.size=++r.size,this;r=this.__data__=new zr(i)}return r.set(t,e),this.size=r.size,this};function Dr(t){var e=-1,r=null==t?0:t.length;for(this.__data__=new zr;++e<r;)this.add(t[e])}function Ir(t,e){for(var r=-1,i=null==t?0:t.length;++r<i;)if(e(t[r],r,t))return!0;return!1}Dr.prototype.add=Dr.prototype.push=function(t){return this.__data__.set(t,"__lodash_hash_undefined__"),this},Dr.prototype.has=function(t){return this.__data__.has(t)};var Br=1,Wr=2;function Vr(t,e,r,i,s,n){var o=r&Br,a=t.length,h=e.length;if(a!=h&&!(o&&h>a))return!1;var c=n.get(t),l=n.get(e);if(c&&l)return c==e&&l==t;var u=-1,p=!0,d=r&Wr?new Dr:void 0;for(n.set(t,e),n.set(e,t);++u<a;){var f=t[u],_=e[u];if(i)var y=o?i(_,f,u,e,t,n):i(f,_,u,t,e,n);if(void 0!==y){if(y)continue;p=!1;break}if(d){if(!Ir(e,(function(t,e){if(o=e,!d.has(o)&&(f===t||s(f,t,r,i,n)))return d.push(e);var o}))){p=!1;break}}else if(f!==_&&!s(f,_,r,i,n)){p=!1;break}}return n.delete(t),n.delete(e),p}var Fr=fe.Uint8Array;function qr(t){var e=-1,r=Array(t.size);return t.forEach((function(t,i){r[++e]=[i,t]})),r}function Jr(t){var e=-1,r=Array(t.size);return t.forEach((function(t){r[++e]=t})),r}var Kr=1,Zr=2,Gr="[object Boolean]",Qr="[object Date]",Xr="[object Error]",Yr="[object Map]",ti="[object Number]",ei="[object RegExp]",ri="[object Set]",ii="[object String]",si="[object Symbol]",ni="[object ArrayBuffer]",oi="[object DataView]",ai=_e?_e.prototype:void 0,hi=ai?ai.valueOf:void 0;var ci=Object.prototype.propertyIsEnumerable,li=Object.getOwnPropertySymbols,ui=li?function(t){return null==t?[]:(t=Object(t),function(t,e){for(var r=-1,i=null==t?0:t.length,s=0,n=[];++r<i;){var o=t[r];e(o,r,t)&&(n[s++]=o)}return n}(li(t),(function(e){return ci.call(t,e)})))}:function(){return[]};function pi(t){return function(t,e,r){var i=e(t);return Ye(t)?i:function(t,e){for(var r=-1,i=e.length,s=t.length;++r<i;)t[s+r]=e[r];return t}(i,r(t))}(t,Er,ui)}var di=1,fi=Object.prototype.hasOwnProperty;var _i=We(fe,"DataView"),yi=We(fe,"Promise"),$i=We(fe,"Set"),vi=We(fe,"WeakMap"),gi="[object Map]",bi="[object Promise]",Ai="[object Set]",mi="[object WeakMap]",Si="[object DataView]",Ei=Ne(_i),wi=Ne(Tr),ji=Ne(yi),Pi=Ne($i),Oi=Ne(vi),xi=Ee;(_i&&xi(new _i(new ArrayBuffer(1)))!=Si||Tr&&xi(new Tr)!=gi||yi&&xi(yi.resolve())!=bi||$i&&xi(new $i)!=Ai||vi&&xi(new vi)!=mi)&&(xi=function(t){var e=Ee(t),r="[object Object]"==e?t.constructor:void 0,i=r?Ne(r):"";if(i)switch(i){case Ei:return Si;case wi:return gi;case ji:return bi;case Pi:return Ai;case Oi:return mi}return e});var Ci=1,Ui="[object Arguments]",Ti="[object Array]",Hi="[object Object]",Mi=Object.prototype.hasOwnProperty;function Ni(t,e,r,i,s,n){var o=Ye(t),a=Ye(e),h=o?Ti:xi(t),c=a?Ti:xi(e),l=(h=h==Ui?Hi:h)==Hi,u=(c=c==Ui?Hi:c)==Hi,p=h==c;if(p&&ir(t)){if(!ir(e))return!1;o=!0,l=!1}if(p&&!l)return n||(n=new Lr),o||yr(t)?Vr(t,e,r,i,s,n):function(t,e,r,i,s,n,o){switch(r){case oi:if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)return!1;t=t.buffer,e=e.buffer;case ni:return!(t.byteLength!=e.byteLength||!n(new Fr(t),new Fr(e)));case Gr:case Qr:case ti:return Or(+t,+e);case Xr:return t.name==e.name&&t.message==e.message;case ei:case ii:return t==e+"";case Yr:var a=qr;case ri:var h=i&Kr;if(a||(a=Jr),t.size!=e.size&&!h)return!1;var c=o.get(t);if(c)return c==e;i|=Zr,o.set(t,e);var l=Vr(a(t),a(e),i,s,n,o);return o.delete(t),l;case si:if(hi)return hi.call(t)==hi.call(e)}return!1}(t,e,h,r,i,s,n);if(!(r&Ci)){var d=l&&Mi.call(t,"__wrapped__"),f=u&&Mi.call(e,"__wrapped__");if(d||f){var _=d?t.value():t,y=f?e.value():e;return n||(n=new Lr),s(_,y,r,i,n)}}return!!p&&(n||(n=new Lr),function(t,e,r,i,s,n){var o=r&di,a=pi(t),h=a.length;if(h!=pi(e).length&&!o)return!1;for(var c=h;c--;){var l=a[c];if(!(o?l in e:fi.call(e,l)))return!1}var u=n.get(t),p=n.get(e);if(u&&p)return u==e&&p==t;var d=!0;n.set(t,e),n.set(e,t);for(var f=o;++c<h;){var _=t[l=a[c]],y=e[l];if(i)var $=o?i(y,_,l,e,t,n):i(_,y,l,t,e,n);if(!(void 0===$?_===y||s(_,y,r,i,n):$)){d=!1;break}f||(f="constructor"==l)}if(d&&!f){var v=t.constructor,g=e.constructor;v==g||!("constructor"in t)||!("constructor"in e)||"function"==typeof v&&v instanceof v&&"function"==typeof g&&g instanceof g||(d=!1)}return n.delete(t),n.delete(e),d}(t,e,r,i,s,n))}function ki(t,e,r,i,s){return t===e||(null==t||null==e||!Je(t)&&!Je(e)?t!=t&&e!=e:Ni(t,e,r,i,ki,s))}var Ri=1,zi=2;function Li(t){return t==t&&!we(t)}function Di(t,e){return function(r){return null!=r&&(r[t]===e&&(void 0!==e||t in Object(r)))}}function Ii(t){var e=function(t){for(var e=Er(t),r=e.length;r--;){var i=e[r],s=t[i];e[r]=[i,s,Li(s)]}return e}(t);return 1==e.length&&e[0][2]?Di(e[0][0],e[0][1]):function(r){return r===t||function(t,e,r,i){var s=r.length,n=s;if(null==t)return!n;for(t=Object(t);s--;){var o=r[s];if(o[2]?o[1]!==t[o[0]]:!(o[0]in t))return!1}for(;++s<n;){var a=(o=r[s])[0],h=t[a],c=o[1];if(o[2]){if(void 0===h&&!(a in t))return!1}else{var l=new Lr;if(!ki(c,h,Ri|zi,i,l))return!1}}return!0}(r,0,e)}}var Bi="[object Symbol]";function Wi(t){return"symbol"==typeof t||Je(t)&&Ee(t)==Bi}var Vi=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Fi=/^\w*$/;function qi(t,e){if(Ye(t))return!1;var r=typeof t;return!("number"!=r&&"symbol"!=r&&"boolean"!=r&&null!=t&&!Wi(t))||(Fi.test(t)||!Vi.test(t)||null!=e&&t in Object(e))}var Ji="Expected a function";function Ki(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw new TypeError(Ji);var r=function(){var i=arguments,s=e?e.apply(this,i):i[0],n=r.cache;if(n.has(s))return n.get(s);var o=t.apply(this,i);return r.cache=n.set(s,o)||n,o};return r.cache=new(Ki.Cache||zr),r}Ki.Cache=zr;var Zi=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Gi=/\\(\\)?/g,Qi=function(t){var e=Ki(t,(function(t){return 500===r.size&&r.clear(),t})),r=e.cache;return e}((function(t){var e=[];return 46===t.charCodeAt(0)&&e.push(""),t.replace(Zi,(function(t,r,i,s){e.push(i?s.replace(Gi,"$1"):r||t)})),e}));var Xi=1/0,Yi=_e?_e.prototype:void 0,ts=Yi?Yi.toString:void 0;function es(t){if("string"==typeof t)return t;if(Ye(t))return function(t,e){for(var r=-1,i=null==t?0:t.length,s=Array(i);++r<i;)s[r]=e(t[r],r,t);return s}(t,es)+"";if(Wi(t))return ts?ts.call(t):"";var e=t+"";return"0"==e&&1/t==-Xi?"-0":e}function rs(t,e){return Ye(t)?t:qi(t,e)?[t]:Qi(function(t){return null==t?"":es(t)}(t))}var is=1/0;function ss(t){if("string"==typeof t||Wi(t))return t;var e=t+"";return"0"==e&&1/t==-is?"-0":e}function ns(t,e){for(var r=0,i=(e=rs(e,t)).length;null!=t&&r<i;)t=t[ss(e[r++])];return r&&r==i?t:void 0}function os(t,e){return null!=t&&e in Object(t)}function as(t,e){return null!=t&&function(t,e,r){for(var i=-1,s=(e=rs(e,t)).length,n=!1;++i<s;){var o=ss(e[i]);if(!(n=null!=t&&r(t,o)))break;t=t[o]}return n||++i!=s?n:!!(s=null==t?0:t.length)&&hr(s)&&or(o,s)&&(Ye(t)||Xe(t))}(t,e,os)}var hs=1,cs=2;function ls(t,e){return qi(t)&&Li(e)?Di(ss(t),e):function(r){var i=function(t,e,r){var i=null==t?void 0:ns(t,e);return void 0===i?r:i}(r,t);return void 0===i&&i===e?as(r,t):ki(e,i,hs|cs)}}function us(t){return t}function ps(t){return qi(t)?(e=ss(t),function(t){return null==t?void 0:t[e]}):function(t){return function(e){return ns(e,t)}}(t);var e}var ds,fs,_s,ys=Object.prototype.hasOwnProperty,$s=(ds=function(t,e,r){ys.call(t,r)?t[r].push(e):function(t,e,r){"__proto__"==e&&Ve?Ve(t,e,{configurable:!0,enumerable:!0,value:r,writable:!0}):t[e]=r}(t,r,[e])},function(t,e){var r;return(Ye(t)?Fe:Pr)(t,ds,"function"==typeof(r=e)?r:null==r?us:"object"==typeof r?Ye(r)?ls(r[0],r[1]):Ii(r):ps(r),{})});let vs=class extends t{constructor(){super(),this.filters=[],this.for="",fs.set(this,new Set),_s.set(this,void 0),this.filters=[]}connectedCallback(){super.connectedCallback(),this.closest("nightingale-manager")&&(!function(t,e,r,i,s){if("m"===i)throw new TypeError("Private method is not writable");if("a"===i&&!s)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof e?t!==e||!s:!e.has(t))throw new TypeError("Cannot write private member to an object whose class did not declare it");"a"===i?s.call(t,r):s?s.value=r:e.set(t,r)}(this,_s,this.closest("nightingale-manager"),"f"),r(this,_s,"f").register(this))}disconnectedCallback(){super.disconnectedCallback(),r(this,_s,"f")&&r(this,_s,"f").unregister(this)}render(){const t=$s(this.filters,(t=>t.type.text));return Jt`
<style>
.group-title {
line-height: normal;
}
.group {

@@ -71,2 +75,6 @@ margin-bottom: 2.5rem;

.protvista_checkbox_input {
margin: 0 0.25rem 0 0;
}
.protvista_checkbox_label {

@@ -78,3 +86,3 @@ margin-left: 0.2rem;

${Object.entries(t).map((([t,e])=>Jt`
<h4>${t}</h4>
<h4 class="group-title">${t}</h4>
<div class="group">

@@ -91,2 +99,3 @@ ${e.map((t=>Jt` ${this.getCheckBox(t)} `))}

.value="${e}"
class="protvista_checkbox_input"
@change="${()=>this.toggleFilter(e)}"

@@ -93,0 +102,0 @@ />

{
"name": "@nightingale-elements/nightingale-filter",
"version": "5.2.0",
"version": "5.3.0",
"description": "Filter component",

@@ -20,5 +20,5 @@ "files": [

"dependencies": {
"@nightingale-elements/nightingale-manager": "^5.2.0",
"@nightingale-elements/nightingale-new-core": "^5.2.0",
"lodash-es": "^4.17.11"
"@nightingale-elements/nightingale-manager": "^5.3.0",
"@nightingale-elements/nightingale-new-core": "^5.3.0",
"lodash-es": "4.17.11"
},

@@ -38,3 +38,3 @@ "keywords": [

"homepage": "https://ebi-webcomponents.github.io/nightingale/",
"gitHead": "d7b2f1a01554087e840a53465bc2310c2756ce6e"
"gitHead": "5f50b6ae15f51f21cb75c971f4cd680353c0761e"
}

@@ -55,2 +55,6 @@ import { customElement, property } from "lit/decorators.js";

<style>
.group-title {
line-height: normal;
}
.group {

@@ -71,2 +75,6 @@ margin-bottom: 2.5rem;

.protvista_checkbox_input {
margin: 0 0.25rem 0 0;
}
.protvista_checkbox_label {

@@ -79,3 +87,3 @@ margin-left: 0.2rem;

([type, group]) => html`
<h4>${type}</h4>
<h4 class="group-title">${type}</h4>
<div class="group">

@@ -102,2 +110,3 @@ ${group.map(

.value="${name}"
class="protvista_checkbox_input"
@change="${() => this.toggleFilter(name)}"

@@ -104,0 +113,0 @@ />

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc