vendor: 4,161 bytes, lines 1-11
1/** 2 * @license 3 * Copyright 2019 Google LLC 4 * SPDX-License-Identifier: BSD-3-Clause 5 */ 6var t;const e=globalThis,s=e.ShadowRoot&&(void 0===e.ShadyCSS||e.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,i=Symbol(),n=new WeakMap;let r=class{constructor(t,e,s){if(this._$cssResult$=!0,s!==i)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e}get styleSheet(){let t=this.o;const e=this.t;if(s&&void 0===t){const s=void 0!==e&&1===e.length;s&&(t=n.get(e)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),s&&n.set(e,t))}return t}toString(){return this.cssText}};const o=t=>new r("string"==typeof t?t:t+"",void 0,i),l=(t,...e)=>{const s=1===t.length?t[0]:e.reduce((e,s,i)=>e+(t=>{if(!0===t._$cssResult$)return t.cssText;if("number"==typeof t)return t;throw Error("Value passed to 'css' function must be a 'css' function result: "+t+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(s)+t[i+1],t[0]);return new r(s,t,i)},h=s?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const s of t.cssRules)e+=s.cssText;return o(e)})(t):t,{is:a,defineProperty:c,getOwnPropertyDescriptor:u,getOwnPropertyNames:d,getOwnPropertySymbols:p,getPrototypeOf:v}=Object,$=globalThis,f=$.trustedTypes,_=f?f.emptyScript:"",A=$.reactiveElementPolyfillSupport,b=(t,e)=>t,g={toAttribute(t,e){switch(e){case Boolean:t=t?_:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,e){let s=t;switch(e){case Boolean:s=null!==t;break;case Number:s=null===t?null:Number(t);break;case Object:case Array:try{s=JSON.parse(t)}catch(i){s=null}}return s}},y=(t,e)=>!a(t,e),m={attribute:!0,type:String,converter:g,reflect:!1,hasChanged:y}; 7/** 8 * @license 9 * Copyright 2017 Google LLC 10 * SPDX-License-Identifier: BSD-3-Clause 11 */Symbol.metadata??(Symbol.metadata=Symbol("metadata")),$.litPropertyMetadata??($.litPropertyMetadata=new WeakMap);class E extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??(this.l=[])).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,e=m){if(e.state&&(e.attribute=!1),this._$Ei(),this.elementProperties.set(t,e),!e.noAccessor){const s=Symbol(),i=this.getPropertyDescriptor(t,s,e);void 0!==i&&c(this.prototype,t,i)}}static getPropertyDescriptor(t,e,s){const{get:i,set:n}=u(this.prototype,t)??{get(){return this[e]},set(t){this[e]=t}};return{get(){return null==i?void 0:i.call(this)},set(e){const r=null==i?void 0:i.call(this);n.call(this,e),this.requestUpdate(t,r,s)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??m}static _$Ei(){if(this.hasOwnProperty(b("elementProperties")))return;const t=v(this);t.finalize(),void 0!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(b("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(b("properties"))){const t=this.properties,e=[...d(t),...p(t)];for(const s of e)this.createProperty(s,t[s])}const t=this[Symbol.metadata];if(null!==t){const e=litPropertyMetadata.get(t);if(void 0!==e)for(const[t,s]of e)this.elementProperties.set(t,s)}this._$Eh=new Map;for(const[e,s]of this.elementProperties){const t=this._$Eu(e,s);void 0!==t&&this._$Eh.set(t,e)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){const e=[];if(Array.isArray(t)){const s=new Set(t.flat(1/0).reverse());for(const t of s)e.unshift(h(t))}else void 0!==t&&e.push(h(t));return e}static _$Eu(t,e){const s=e.attribute;return!1===s?void 0:"string"==typeof s?s:"string"==typeof t?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){var t;this._$ES=new Promise(t=>this.enableUpdating=t),this._$AL=new Map,this._$E_(),this.requestUpdate(),null==(t=this.constructor.l)||t.forEach(t=>t(this))}addController(t){var e;(this._$EO??(this._$EO=new Set)).add(t),void 0!==this.renderRoot&&this.isConnected&&(null==(e=t.hostConnected)||e.call(t))}
vendor: 6,030 bytes, lines 11-17
11removeController(t){var e;null==(e=this._$EO)||e.delete(t)}_$E_(){const t=new Map,e=this.constructor.elementProperties;for(const s of e.keys())this.hasOwnProperty(s)&&(t.set(s,this[s]),delete this[s]);t.size>0&&(this._$Ep=t)}createRenderRoot(){const t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return((t,i)=>{if(s)t.adoptedStyleSheets=i.map(t=>t instanceof CSSStyleSheet?t:t.styleSheet);else for(const s of i){const i=document.createElement("style"),n=e.litNonce;void 0!==n&&i.setAttribute("nonce",n),i.textContent=s.cssText,t.appendChild(i)}})(t,this.constructor.elementStyles),t}connectedCallback(){var t;this.renderRoot??(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),null==(t=this._$EO)||t.forEach(t=>{var e;return null==(e=t.hostConnected)?void 0:e.call(t)})}enableUpdating(t){}disconnectedCallback(){var t;null==(t=this._$EO)||t.forEach(t=>{var e;return null==(e=t.hostDisconnected)?void 0:e.call(t)})}attributeChangedCallback(t,e,s){this._$AK(t,s)}_$EC(t,e){var s;const i=this.constructor.elementProperties.get(t),n=this.constructor._$Eu(t,i);if(void 0!==n&&!0===i.reflect){const r=(void 0!==(null==(s=i.converter)?void 0:s.toAttribute)?i.converter:g).toAttribute(e,i.type);this._$Em=t,null==r?this.removeAttribute(n):this.setAttribute(n,r),this._$Em=null}}_$AK(t,e){var s;const i=this.constructor,n=i._$Eh.get(t);if(void 0!==n&&this._$Em!==n){const t=i.getPropertyOptions(n),r="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==(null==(s=t.converter)?void 0:s.fromAttribute)?t.converter:g;this._$Em=n,this[n]=r.fromAttribute(e,t.type),this._$Em=null}}requestUpdate(t,e,s){if(void 0!==t){if(s??(s=this.constructor.getPropertyOptions(t)),!(s.hasChanged??y)(this[t],e))return;this.P(t,e,s)}!1===this.isUpdatePending&&(this._$ES=this._$ET())}P(t,e,s){this._$AL.has(t)||this._$AL.set(t,e),!0===s.reflect&&this._$Em!==t&&(this._$Ej??(this._$Ej=new Set)).add(t)}async _$ET(){this.isUpdatePending=!0;try{await this._$ES}catch(e){Promise.reject(e)}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){var t;if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??(this.renderRoot=this.createRenderRoot()),this._$Ep){for(const[t,e]of this._$Ep)this[t]=e;this._$Ep=void 0}const t=this.constructor.elementProperties;if(t.size>0)for(const[e,s]of t)!0!==s.wrapped||this._$AL.has(e)||void 0===this[e]||this.P(e,this[e],s)}let e=!1;const s=this._$AL;try{e=this.shouldUpdate(s),e?(this.willUpdate(s),null==(t=this._$EO)||t.forEach(t=>{var e;return null==(e=t.hostUpdate)?void 0:e.call(t)}),this.update(s)):this._$EU()}catch(i){throw e=!1,this._$EU(),i}e&&this._$AE(s)}willUpdate(t){}_$AE(t){var e;null==(e=this._$EO)||e.forEach(t=>{var e;return null==(e=t.hostUpdated)?void 0:e.call(t)}),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$EU(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(t){return!0}update(t){this._$Ej&&(this._$Ej=this._$Ej.forEach(t=>this._$EC(t,this[t]))),this._$EU()}updated(t){}firstUpdated(t){}}E.elementStyles=[],E.shadowRootOptions={mode:"open"},E[b("elementProperties")]=new Map,E[b("finalized")]=new Map,null==A||A({ReactiveElement:E}),($.reactiveElementVersions??($.reactiveElementVersions=[])).push("2.0.4"); 12/** 13 * @license 14 * Copyright 2017 Google LLC 15 * SPDX-License-Identifier: BSD-3-Clause 16 */ 17const S=globalThis,w=S.trustedTypes,x=w?w.createPolicy("lit-html",{createHTML:t=>t}):void 0,C="$lit$",P=`lit$${Math.random().toFixed(9).slice(2)}$`,U="?"+P,T=`<${U}>`,k=document,O=()=>k.createComment(""),R=t=>null===t||"object"!=typeof t&&"function"!=typeof t,M=Array.isArray,N="[ \t\n\f\r]",H=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,j=/-->/g,I=/>/g,q=RegExp(`>|${N}(?:([^\\s"'>=/]+)(${N}*=${N}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),L=/'/g,z=/"/g,V=/^(?:script|style|textarea|title)$/i,B=(t,...e)=>({_$litType$:1,strings:t,values:e}),D=Symbol.for("lit-noChange"),W=Symbol.for("lit-nothing"),Y=new WeakMap,Q=k.createTreeWalker(k,129);function Z(t,e){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==x?x.createHTML(e):e}class F{constructor({strings:t,_$litType$:e},s){let i;this.parts=[];let n=0,r=0;const o=t.length-1,l=this.parts,[h,a]=((t,e)=>{const s=t.length-1,i=[];let n,r=2===e?"<svg>":"",o=H;for(let l=0;l<s;l++){const e=t[l];let s,h,a=-1,c=0;for(;c<e.length&&(o.lastIndex=c,h=o.exec(e),null!==h);)c=o.lastIndex,o===H?"!--"===h[1]?o=j:void 0!==h[1]?o=I:void 0!==h[2]?(V.test(h[2])&&(n=RegExp("</"+h[2],"g")),o=q):void 0!==h[3]&&(o=q):o===q?">"===h[0]?(o=n??H,a=-1):void 0===h[1]?a=-2:(a=o.lastIndex-h[2].length,s=h[1],o=void 0===h[3]?q:'"'===h[3]?z:L):o===z||o===L?o=q:o===j||o===I?o=H:(o=q,n=void 0);const u=o===q&&t[l+1].startsWith("/>")?" ":"";r+=o===H?e+T:a>=0?(i.push(s),e.slice(0,a)+C+e.slice(a)+P+u):e+P+(-2===a?l:u)}return[Z(t,r+(t[s]||"<?>")+(2===e?"</svg>":"")),i]})(t,e);if(this.el=F.createElement(h,s),Q.currentNode=this.el.content,2===e){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(i=Q.nextNode())&&l.length<o;){if(1===i.nodeType){if(i.hasAttributes())for(const t of i.getAttributeNames())if(t.endsWith(C)){const e=a[r++],s=i.getAttribute(t).split(P),o=/([.?@])?(.*)/.exec(e);l.push({type:1,index:n,name:o[2],strings:s,ctor:"."===o[1]?tt:"?"===o[1]?et:"@"===o[1]?st:X}),i.removeAttribute(t)}else t.startsWith(P)&&(l.push({type:6,index:n}),i.removeAttribute(t));if(V.test(i.tagName)){const t=i.textContent.split(P),e=t.length-1;if(e>0){i.textContent=w?w.emptyScript:"";for(let s=0;s<e;s++)i.append(t[s],O()),Q.nextNode(),l.push({type:2,index:++n});i.append(t[e],O())}}}else if(8===i.nodeType)if(i.data===U)l.push({type:2,index:n});else{let t=-1;for(;-1!==(t=i.data.indexOf(P,t+1));)l.push({type:7,index:n}),t+=P.length-1}n++}}static createElement(t,e){const s=k.createElement("template");
vendor: 2,309 bytes, line 17
17return s.innerHTML=t,s}}function J(t,e,s=t,i){var n,r;if(e===D)return e;let o=void 0!==i?null==(n=s._$Co)?void 0:n[i]:s._$Cl;const l=R(e)?void 0:e._$litDirective$;return(null==o?void 0:o.constructor)!==l&&(null==(r=null==o?void 0:o._$AO)||r.call(o,!1),void 0===l?o=void 0:(o=new l(t),o._$AT(t,s,i)),void 0!==i?(s._$Co??(s._$Co=[]))[i]=o:s._$Cl=o),void 0!==o&&(e=J(t,o._$AS(t,e.values),o,i)),e}class K{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:s}=this._$AD,i=((null==t?void 0:t.creationScope)??k).importNode(e,!0);Q.currentNode=i;let n=Q.nextNode(),r=0,o=0,l=s[0];for(;void 0!==l;){if(r===l.index){let e;2===l.type?e=new G(n,n.nextSibling,this,t):1===l.type?e=new l.ctor(n,l.name,l.strings,this,t):6===l.type&&(e=new it(n,this,t)),this._$AV.push(e),l=s[++o]}r!==(null==l?void 0:l.index)&&(n=Q.nextNode(),r++)}return Q.currentNode=k,i}p(t){let e=0;for(const s of this._$AV)void 0!==s&&(void 0!==s.strings?(s._$AI(t,s,e),e+=s.strings.length-2):s._$AI(t[e])),e++}}class G{get _$AU(){var t;return(null==(t=this._$AM)?void 0:t._$AU)??this._$Cv}constructor(t,e,s,i){this.type=2,this._$AH=W,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=s,this.options=i,this._$Cv=(null==i?void 0:i.isConnected)??!0}get parentNode(){let t=this._$AA.parentNode;const e=this._$AM;return void 0!==e&&11===(null==t?void 0:t.nodeType)&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=J(this,t,e),R(t)?t===W||null==t||""===t?(this._$AH!==W&&this._$AR(),this._$AH=W):t!==this._$AH&&t!==D&&this._(t):void 0!==t._$litType$?this.$(t):void 0!==t.nodeType?this.T(t):(t=>M(t)||"function"==typeof(null==t?void 0: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!==W&&R(this._$AH)?this._$AA.nextSibling.data=t:this.T(k.createTextNode(t)),this._$AH=t}$(t){var e;const{values:s,_$litType$:i}=t,n="number"==typeof i?this._$AC(t):(void 0===i.el&&(i.el=F.createElement(Z(i.h,i.h[0]),this.options)),i);if((null==(e=this._$AH)?void 0:e._$AD)===n)this._$AH.p(s);else{const t=new K(n,this),e=t.u(this.options);t.p(s),this.T(e),this._$AH=t}}
17_$AC(t){let e=Y.get(t.strings);return void 0===e&&Y.set(t.strings,e=new F(t)),e}k(t){M(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let s,i=0;for(const n of t)i===e.length?e.push(s=new G(this.S(O()),this.S(O()),this,this.options)):s=e[i],s._$AI(n),i++;i<e.length&&(this._$AR(s&&s._$AB.nextSibling,i),e.length=i)}_$AR(t=this._$AA.nextSibling,e){var s;for(null==(s=this._$AP)||s.call(this,!1,!0,e);t&&t!==this._$AB;){const e=t.nextSibling;t.remove(),t=e}}setConnected(t){var e;void 0===this._$AM&&(this._$Cv=t,null==(e=this._$AP)||e.call(this,t))}}class X{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,e,s,i,n){this.type=1,this._$AH=W,this._$AN=void 0,this.element=t,this.name=e,this._$AM=i,this.options=n,s.length>2||""!==s[0]||""!==s[1]?(this._$AH=Array(s.length-1).fill(new String),this.strings=s):this._$AH=W}_$AI(t,e=this,s,i){const n=this.strings;let r=!1;if(void 0===n)t=J(this,t,e,0),r=!R(t)||t!==this._$AH&&t!==D,r&&(this._$AH=t);else{const i=t;let o,l;for(t=n[0],o=0;o<n.length-1;o++)l=J(this,i[s+o],e,o),l===D&&(l=this._$AH[o]),r||(r=!R(l)||l!==this._$AH[o]),l===W?t=W:t!==W&&(t+=(l??"")+n[o+1]),this._$AH[o]=l}r&&!i&&this.j(t)}j(t){t===W?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}}class tt extends X{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===W?void 0:t}}class et extends X{constructor(){super(...arguments),this.type=4}j(t){this.element.toggleAttribute(this.name,!!t&&t!==W)}}class st extends X{constructor(t,e,s,i,n){super(t,e,s,i,n),this.type=5}_$AI(t,e=this){if((t=J(this,t,e,0)??W)===D)return;const s=this._$AH,i=t===W&&s!==W||t.capture!==s.capture||t.once!==s.once||t.passive!==s.passive,n=t!==W&&(s===W||i);i&&this.element.removeEventListener(this.name,this,s),n&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){var e;"function"==typeof this._$AH?this._$AH.call((null==(e=this.options)?void 0:e.host)??this.element,t):this._$AH.handleEvent(t)}}class it{constructor(t,e,s){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=s}get _$AU(){return this._$AM._$AU}_$AI(t){J(this,t)}}const nt={I:G},rt=S.litHtmlPolyfillSupport;null==rt||rt(F,G),(S.litHtmlVersions??(S.litHtmlVersions=[])).push("3.1.3"); 18/** 19 * @license 20 * Copyright 2017 Google LLC 21 * SPDX-License-Identifier: BSD-3-Clause 22 */ 23let ot=class extends E{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(t){const e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=((t,e,s)=>{const i=(null==s?void 0:s.renderBefore)??e;let n=i._$litPart$;if(void 0===n){const t=(null==s?void 0:s.renderBefore)??null;i._$litPart$=n=new G(e.insertBefore(O(),t),t,void 0,s??{})}return n._$AI(t),n})(e,this.renderRoot,this.renderOptions)}connectedCallback(){var t;super.connectedCallback(),null==(t=this._$Do)||t.setConnected(!0)}disconnectedCallback(){var t;super.disconnectedCallback(),null==(t=this._$Do)||t.setConnected(!1)}render(){return D}};ot._$litElement$=!0,ot.finalized=!0,null==(t=globalThis.litElementHydrateSupport)||t.call(globalThis,{LitElement:ot});const lt=globalThis.litElementPolyfillSupport;null==lt||lt({LitElement:ot}),(globalThis.litElementVersions??(globalThis.litElementVersions=[])).push("4.0.5"); 24/** 25 * @license 26 * Copyright 2017 Google LLC 27 * SPDX-License-Identifier: BSD-3-Clause 28 */ 29const ht={INITIAL:0,PENDING:1,COMPLETE:2,ERROR:3},at=Symbol();let ct=class{get taskComplete(){return this.t||(1===this.status?this.t=new Promise((t,e)=>{this.i=t,this.o=e}):3===this.status?this.t=Promise.reject(this.h):this.t=Promise.resolve(this.l)),this.t}constructor(t,e,s){var i;this.u=0,this.status=0,(this.p=t).addController(this);const n="object"==typeof e?e:{task:e,args:s};this._=n.task,this.v=n.args,this.j=n.argsEqual??ut,this.m=n.onComplete,this.g=n.onError,this.autoRun=n.autoRun??!0,"initialValue"in n&&(this.l=n.initialValue,this.status=2,this.k=null==(i=this.A)?void 0:i.call(this))}hostUpdate(){!0===this.autoRun&&this.O()}hostUpdated(){"afterUpdate"===this.autoRun&&this.O()}A(){if(void 0===this.v)return;const t=this.v();if(!Array.isArray(t))throw Error("The args function must return an array");return t}async O(){const t=this.A(),e=this.k;this.k=t,t===e||void 0===t||void 0!==e&&this.j(e,t)||await this.run(t)}async run(t){var e,s,i,n,r;let o,l;t??(t=this.A()),this.k=t,1===this.status?null==(e=this.T)||e.abort():(this.t=void 0,this.i=void 0,this.o=void 0),this.status=1,"afterUpdate"===this.autoRun?queueMicrotask(()=>this.p.requestUpdate()):this.p.requestUpdate();const h=++this.u;this.T=new AbortController;let a=!1;try{o=await this._(t,{signal:this.T.signal})}catch(c){a=!0,l=c}if(this.u===h){if(o===at)this.status=0;else{if(!1===a){try{null==(s=this.m)||s.call(this,o)}catch{}this.status=2,null==(i=this.i)||i.call(this,o)}
29else{try{null==(n=this.g)||n.call(this,l)}catch{}this.status=3,null==(r=this.o)||r.call(this,l)}this.l=o,this.h=l}this.p.requestUpdate()}}abort(t){var e;1===this.status&&(null==(e=this.T)||e.abort(t))}get value(){return this.l}get error(){return this.h}render(t){var e,s,i,n;switch(this.status){case 0:return null==(e=t.initial)?void 0:e.call(t);case 1:return null==(s=t.pending)?void 0:s.call(t);case 2:return null==(i=t.complete)?void 0:i.call(t,this.value);case 3:return null==(n=t.error)?void 0:n.call(t,this.error);default:throw Error("Unexpected status: "+this.status)}}};const ut=(t,e)=>t===e||t.length===e.length&&t.every((t,s)=>!y(t,e[s])),dt=t=>(e,s)=>{void 0!==s?s.addInitializer(()=>{customElements.define(t,e)}):customElements.define(t,e)},pt={attribute:!0,type:String,converter:g,reflect:!1,hasChanged:y},vt=(t=pt,e,s)=>{const{kind:i,metadata:n}=s;let r=globalThis.litPropertyMetadata.get(n);if(void 0===r&&globalThis.litPropertyMetadata.set(n,r=new Map),r.set(s.name,t),"accessor"===i){const{name:i}=s;return{set(s){const n=e.get.call(this);e.set.call(this,s),this.requestUpdate(i,n,t)},init(e){return void 0!==e&&this.P(i,void 0,t),e}}}if("setter"===i){const{name:i}=s;return function(s){const n=this[i];e.call(this,s),this.requestUpdate(i,n,t)}}throw Error("Unsupported decorator location: "+i)}; 30/** 31 * @license 32 * Copyright 2017 Google LLC 33 * SPDX-License-Identifier: BSD-3-Clause 34 */function $t(t){return(e,s)=>"object"==typeof s?vt(t,e,s):((t,e,s)=>{const i=e.hasOwnProperty(s);return e.constructor.createProperty(s,i?{...t,wrapped:!0}:t),i?Object.getOwnPropertyDescriptor(e,s):void 0})(t,e,s)} 35/** 36 * @license 37 * Copyright 2017 Google LLC 38 * SPDX-License-Identifier: BSD-3-Clause 39 */function ft(t){return $t({...t,state:!0,attribute:!1})} 40/** 41 * @license 42 * Copyright 2017 Google LLC 43 * SPDX-License-Identifier: BSD-3-Clause 44 */const _t=(t,e,s)=>(s.configurable=!0,s.enumerable=!0,Reflect.decorate&&"object"!=typeof e&&Object.defineProperty(t,e,s),s); 45/** 46 * @license 47 * Copyright 2017 Google LLC 48 * SPDX-License-Identifier: BSD-3-Clause 49 */function At(t,e){return(e,s,i)=>_t(e,s,{get(){return(()=>{var e;return(null==(e=this.renderRoot)?void 0:e.querySelector(t))??null})()}})} 50/** 51 * @license 52 * Copyright 2017 Google LLC 53 * SPDX-License-Identifier: BSD-3-Clause 54 */let bt;function gt(t){return(e,s)=>_t(e,s,{get(){return(this.renderRoot??bt??(bt=document.createDocumentFragment())).querySelectorAll(t)}})} 55/** 56 * @license 57 * Copyright 2017 Google LLC 58 * SPDX-License-Identifier: BSD-3-Clause 59 */function yt(t){return(e,s)=>_t(e,s,{async get(){var e;return await this.updateComplete,(null==(e=this.renderRoot)?void 0:e.querySelector(t))??null}})} 60/** 61 * @license 62 * Copyright 2021 Google LLC 63 * SPDX-License-Identifier: BSD-3-Clause 64 */function mt(t){return(e,s)=>{const{slot:i,selector:n}={},r="slot"+(i?`[name=${i}]`:":not([name])");return _t(e,s,{get(){var e;const s=null==(e=this.renderRoot)?void 0:e.querySelector(r),i=(null==s?void 0:s.assignedElements(t))??[];return void 0===n?i:i.filter(t=>t.matches(n))}})}} 65/** 66 * @license 67 * Copyright 2021 Google LLC 68 * SPDX-License-Identifier: BSD-3-Clause 69 */let Et=class extends Event{constructor(t,e,s){super("context-request",{bubbles:!0,composed:!0}),this.context=t,this.callback=e,this.subscribe=s??!1}}; 70/** 71 * @license 72 * Copyright 2021 Google LLC 73 * SPDX-License-Identifier: BSD-3-Clause 74 */function St(t){return t} 75/** 76 * @license 77 * Copyright 2021 Google LLC 78 * SPDX-License-Identifier: BSD-3-Clause 79 */let wt=class{constructor(t,e,s,i){if(this.subscribe=!1,this.provided=!1,this.value=void 0,this.t=(t,e)=>{this.unsubscribe&&(this.unsubscribe!==e&&(this.provided=!1,this.unsubscribe()),this.subscribe||this.unsubscribe()),this.value=t,this.host.requestUpdate(),this.provided&&!this.subscribe||(this.provided=!0,this.callback&&this.callback(t,e)),this.unsubscribe=e},this.host=t,void 0!==e.context){const t=e;this.context=t.context,this.callback=t.callback,this.subscribe=t.subscribe??!1}else this.context=e,this.callback=s,this.subscribe=i??!1;this.host.addController(this)}hostConnected(){this.dispatchRequest()}hostDisconnected(){this.unsubscribe&&(this.unsubscribe(),this.unsubscribe=void 0)}dispatchRequest(){this.host.dispatchEvent(new Et(this.context,this.t,this.subscribe))}},xt=class{get value(){return this.o}set value(t){this.setValue(t)}setValue(t,e=!1){const s=e||!Object.is(t,this.o);this.o=t,s&&this.updateObservers()}constructor(t){this.subscriptions=new Map,this.updateObservers=()=>{for(const[t,{disposer:e}]of this.subscriptions)t(this.o,e)},void 0!==t&&(this.value=t)}addCallback(t,e,s){if(!s)return void t(this.value);this.subscriptions.has(t)||this.subscriptions.set(t,{disposer:()=>{this.subscriptions.delete(t)},consumerHost:e});const{disposer:i}
79=this.subscriptions.get(t);t(this.value,i)}clearCallbacks(){this.subscriptions.clear()}},Ct=class extends Event{constructor(t){super("context-provider",{bubbles:!0,composed:!0}),this.context=t}},Pt=class extends xt{constructor(t,e,s){var i,n;super(void 0!==e.context?e.initialValue:s),this.onContextRequest=t=>{const e=t.composedPath()[0];t.context===this.context&&e!==this.host&&(t.stopPropagation(),this.addCallback(t.callback,e,t.subscribe))},this.onProviderRequest=t=>{const e=t.composedPath()[0];if(t.context!==this.context||e===this.host)return;const s=new Set;for(const[i,{consumerHost:n}]of this.subscriptions)s.has(i)||(s.add(i),n.dispatchEvent(new Et(this.context,i,!0)));t.stopPropagation()},this.host=t,void 0!==e.context?this.context=e.context:this.context=e,this.attachListeners(),null==(n=(i=this.host).addController)||n.call(i,this)}attachListeners(){this.host.addEventListener("context-request",this.onContextRequest),this.host.addEventListener("context-provider",this.onProviderRequest)}hostConnected(){this.host.dispatchEvent(new Ct(this.context))}}; 80/** 81 * @license 82 * Copyright 2021 Google LLC 83 * SPDX-License-Identifier: BSD-3-Clause 84 */ 85/** 86 * @license 87 * Copyright 2017 Google LLC 88 * SPDX-License-Identifier: BSD-3-Clause 89 */ 90function Ut({context:t}){return(e,s)=>{const i=new WeakMap;if("object"==typeof s)return s.addInitializer(function(){i.set(this,new Pt(this,{context:t}))}),{get(){return e.get.call(this)},set(t){var s;return null==(s=i.get(this))||s.setValue(t),e.set.call(this,t)},init(t){var e;return null==(e=i.get(this))||e.setValue(t),t}};{e.constructor.addInitializer(e=>{i.set(e,new Pt(e,{context:t}))});const n=Object.getOwnPropertyDescriptor(e,s);let r;if(void 0===n){const t=new WeakMap;r={get:function(){return t.get(this)},set:function(e){i.get(this).setValue(e),t.set(this,e)},configurable:!0,enumerable:!0}}else{const t=n.set;r={...n,set:function(e){i.get(this).setValue(e),null==t||t.call(this,e)}}}return void Object.defineProperty(e,s,r)}}} 91/** 92 * @license 93 * Copyright 2022 Google LLC 94 * SPDX-License-Identifier: BSD-3-Clause 95 */function Tt({context:t,subscribe:e}){return(s,i)=>{"object"==typeof i?i.addInitializer(function(){new wt(this,{context:t,callback:t=>{this[i.name]=t},subscribe:e})}):s.constructor.addInitializer(s=>{new wt(s,{context:t,callback:t=>{s[i]=t},subscribe:e})})}} 96/** 97 * @license 98 * Copyright 2021 Google LLC 99 * SPDX-License-Identifier: BSD-3-Clause 100 */function*kt(t,e){if(void 0!==t){let s=0;for(const i of t)yield e(i,s++)}} 101/** 102 * @license 103 * Copyright 2020 Google LLC 104 * SPDX-License-Identifier: BSD-3-Clause 105 */const{I:Ot}=nt,Rt=()=>document.createComment(""),Mt=(t,e,s)=>{var i;const n=t._$AA.parentNode,r=void 0===e?t._$AB:e._$AA;if(void 0===s){const e=n.insertBefore(Rt(),r),i=n.insertBefore(Rt(),r);s=new Ot(e,i,t,t.options)}else{const e=s._$AB.nextSibling,o=s._$AM,l=o!==t;if(l){let e;null==(i=s._$AQ)||i.call(s,t),s._$AM=t,void 0!==s._$AP&&(e=t._$AU)!==o._$AU&&s._$AP(e)}if(e!==r||l){let t=s._$AA;for(;t!==e;){const e=t.nextSibling;n.insertBefore(t,r),t=e}}}return s},Nt=(t,e,s=t)=>(t._$AI(e,s),t),Ht={},jt=t=>{var e;null==(e=t._$AP)||e.call(t,!1,!0);let s=t._$AA;const i=t._$AB.nextSibling;for(;s!==i;){const t=s.nextSibling;s.remove(),s=t}},It=t=>(...e)=>({_$litDirective$:t,values:e}); 106/** 107 * @license 108 * Copyright 2017 Google LLC 109 * SPDX-License-Identifier: BSD-3-Clause 110 */let qt=class{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,e,s){this._$Ct=t,this._$AM=e,this._$Ci=s}_$AS(t,e){return this.update(t,e)}update(t,e){return this.render(...e)}}; 111/** 112 * @license 113 * Copyright 2017 Google LLC 114 * SPDX-License-Identifier: BSD-3-Clause 115 */const Lt=(t,e)=>{var s;const i=t._$AN;if(void 0===i)return!1;for(const n of i)null==(s=n._$AO)||s.call(n,e,!1),Lt(n,e);return!0},zt=t=>{let e,s;do{if(void 0===(e=t._$AM))break;s=e._$AN,s.delete(t),t=e}while(0===(null==s?void 0:s.size))},Vt=t=>{for(let e;e=t._$AM;t=e){let s=e._$AN;if(void 0===s)e._$AN=s=new Set;else if(s.has(t))break;s.add(t),Wt(e)}};function Bt(t){void 0!==this._$AN?(zt(this),this._$AM=t,Vt(this)):this._$AM=t}function Dt(t,e=!1,s=0){const i=this._$AH,n=this._$AN;if(void 0!==n&&0!==n.size)if(e)if(Array.isArray(i))for(let r=s;r<i.length;r++)Lt(i[r],!1),zt(i[r]);else null!=i&&(Lt(i,!1),zt(i));else Lt(this,t)}const Wt=t=>
115{2==t.type&&(t._$AP??(t._$AP=Dt),t._$AQ??(t._$AQ=Bt))};class Yt extends qt{constructor(){super(...arguments),this._$AN=void 0}_$AT(t,e,s){super._$AT(t,e,s),Vt(this),this.isConnected=t._$AU}_$AO(t,e=!0){var s,i;t!==this.isConnected&&(this.isConnected=t,t?null==(s=this.reconnected)||s.call(this):null==(i=this.disconnected)||i.call(this)),e&&(Lt(this,t),zt(this))}setValue(t){if(void 0===this._$Ct.strings)this._$Ct._$AI(t,this);else{const e=[...this._$Ct._$AH];e[this._$Ci]=t,this._$Ct._$AI(e,this,0)}}disconnected(){}reconnected(){}} 116/** 117 * @license 118 * Copyright 2020 Google LLC 119 * SPDX-License-Identifier: BSD-3-Clause 120 */const Qt=()=>new Zt;class Zt{}const Ft=new WeakMap,Jt=It(class extends Yt{render(t){return W}update(t,[e]){var s;const i=e!==this.Y;return i&&void 0!==this.Y&&this.rt(void 0),(i||this.lt!==this.ct)&&(this.Y=e,this.ht=null==(s=t.options)?void 0:s.host,this.rt(this.ct=t.element)),W}rt(t){if("function"==typeof this.Y){const e=this.ht??globalThis;let s=Ft.get(e);void 0===s&&(s=new WeakMap,Ft.set(e,s)),void 0!==s.get(this.Y)&&this.Y.call(this.ht,void 0),s.set(this.Y,t),void 0!==t&&this.Y.call(this.ht,t)}else this.Y.value=t}get lt(){var t,e;return"function"==typeof this.Y?null==(t=Ft.get(this.ht??globalThis))?void 0:t.get(this.Y):null==(e=this.Y)?void 0:e.value}disconnected(){this.lt===this.ct&&this.rt(void 0)}reconnected(){this.rt(this.ct)}}); 121/** 122 * @license 123 * Copyright 2017 Google LLC 124 * SPDX-License-Identifier: BSD-3-Clause 125 */class Kt extends qt{constructor(t){if(super(t),this.it=W,2!==t.type)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===W||null==t)return this._t=void 0,this.it=t;if(t===D)return t;if("string"!=typeof t)throw Error(this.constructor.directiveName+"() called with a non-string value");if(t===this.it)return this._t;this.it=t;const e=[t];return e.raw=e,this._t={_$litType$:this.constructor.resultType,strings:e,values:[]}}}Kt.directiveName="unsafeHTML",Kt.resultType=1;const Gt=It(Kt),Xt="important",te=" !"+Xt,ee=It(class extends qt{constructor(t){var e;if(super(t),1!==t.type||"style"!==t.name||(null==(e=t.strings)?void 0:e.length)>2)throw Error("The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute.")}render(t){return Object.keys(t).reduce((e,s)=>{const i=t[s];return null==i?e:e+`${s=s.includes("-")?s:s.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${i};`},"")}update(t,[e]){const{style:s}=t.element;if(void 0===this.ft)return this.ft=new Set(Object.keys(e)),this.render(e);for(const i of this.ft)null==e[i]&&(this.ft.delete(i),i.includes("-")?s.removeProperty(i):s[i]=null);for(const i in e){const t=e[i];if(null!=t){this.ft.add(i);const e="string"==typeof t&&t.endsWith(te);i.includes("-")||e?s.setProperty(i,e?t.slice(0,-11):t,e?Xt:""):s[i]=t}}return D}}),se=(t,e,s)=>{const i=new Map;for(let n=e;n<=s;n++)i.set(t[n],n);return i},ie=It(class extends qt{constructor(t){if(super(t),2!==t.type)throw Error("repeat() can only be used in text expressions")}dt(t,e,s){let i;void 0===s?s=e:void 0!==e&&(i=e);const n=[],r=[];let o=0;for(const l of t)n[o]=i?i(l,o):o,r[o]=s(l,o),o++;return{values:r,keys:n}}render(t,e,s){return this.dt(t,e,s).values}update(t,[e,s,i]){const n=t._$AH,{values:r,keys:o}=this.dt(e,s,i);if(!Array.isArray(n))return this.ut=o,r;const l=this.ut??(this.ut=[]),h=[];let a,c,u=0,d=n.length-1,p=0,v=r.length-1;for(;u<=d&&p<=v;)if(null===n[u])u++;else if(null===n[d])d--;else if(l[u]===o[p])h[p]=Nt(n[u],r[p]),u++,p++;else if(l[d]===o[v])h[v]=Nt(n[d],r[v]),d--,v--;else if(l[u]===o[v])h[v]=Nt(n[u],r[v]),Mt(t,h[v+1],n[u]),u++,v--;else if(l[d]===o[p])h[p]=Nt(n[d],r[p]),Mt(t,n[u],n[d]),d--,p++;else if(void 0===a&&(a=se(o,p,v),c=se(l,u,d)),a.has(l[u]))if(a.has(l[d])){const e=c.get(o[p]),s=void 0!==e?n[e]:null;if(null===s){const e=Mt(t,n[u]);Nt(e,r[p]),h[p]=e}else h[p]=Nt(s,r[p]),Mt(t,n[u],s),n[e]=null;p++}else jt(n[d]),d--;else jt(n[u]),u++;for(;p<=v;){const e=Mt(t,h[v+1]);Nt(e,r[p]),h[p++]=e}for(;u<=d;){const t=n[u++];null!==t&&jt(t)}return this.ut=o,((t,e=Ht)=>{t._$AH=e})(t,h),D}}); 126/** 127 * @license 128 * Copyright 2018 Google LLC 129 * SPDX-License-Identifier: BSD-3-Clause 130 */export{W as T,ft as a,ot as b,Tt as c,St as d,At as e,Ut as f,Qt as g,ct as h,l as i,Jt as j,yt as k,mt as l,at as m,$t as n,kt as o,Gt as p,o as q,gt as r,ht as s,dt as t,ee as u,ie as v,B as x};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.