vendor: 4,250 bytes, lines 1-9
1/** 2 * @license 3 * Copyright 2019 Google LLC 4 * SPDX-License-Identifier: BSD-3-Clause 5 */const O=window,k=O.ShadowRoot&&(O.ShadyCSS===void 0||O.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,K=Symbol(),Z=new WeakMap;class _t{constructor(t,e,s){if(this._$cssResult$=!0,s!==K)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(k&&t===void 0){const s=e!==void 0&&e.length===1;s&&(t=Z.get(e)),t===void 0&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),s&&Z.set(e,t))}return t}toString(){return this.cssText}}const bt=r=>new _t(typeof r=="string"?r:r+"",void 0,K),yt=(r,t)=>{k?r.adoptedStyleSheets=t.map(e=>e instanceof CSSStyleSheet?e:e.styleSheet):t.forEach(e=>{const s=document.createElement("style"),i=O.litNonce;i!==void 0&&s.setAttribute("nonce",i),s.textContent=e.cssText,r.appendChild(s)})},G=k?r=>r:r=>r instanceof CSSStyleSheet?(t=>{let e="";for(const s of t.cssRules)e+=s.cssText;return bt(e)})(r):r;/** 6* @license 7* Copyright 2017 Google LLC 8* SPDX-License-Identifier: BSD-3-Clause 9*/var D;const L=window,Q=L.trustedTypes,At=Q?Q.emptyScript:"",wt=L.reactiveElementPolyfillSupport,B={toAttribute(r,t){switch(t){case Boolean:r=r?At:null;break;case Object:case Array:r=r==null?r:JSON.stringify(r)}return r},fromAttribute(r,t){let e=r;switch(t){case Boolean:e=r!==null;break;case Number:e=r===null?null:Number(r);break;case Object:case Array:try{e=JSON.parse(r)}catch{e=null}}return e}},Y=(r,t)=>t!==r&&(t==t||r==r),z={attribute:!0,type:String,converter:B,reflect:!1,hasChanged:Y};class S extends HTMLElement{constructor(){super(),this._$Ei=new Map,this.isUpdatePending=!1,this.hasUpdated=!1,this._$El=null,this.u()}static addInitializer(t){var e;this.finalize(),((e=this.h)!==null&&e!==void 0?e:this.h=[]).push(t)}static get observedAttributes(){this.finalize();const t=[];return this.elementProperties.forEach((e,s)=>{const i=this._$Ep(s,e);i!==void 0&&(this._$Ev.set(i,s),t.push(i))}),t}static createProperty(t,e=z){if(e.state&&(e.attribute=!1),this.finalize(),this.elementProperties.set(t,e),!e.noAccessor&&!this.prototype.hasOwnProperty(t)){const s=typeof t=="symbol"?Symbol():"__"+t,i=this.getPropertyDescriptor(t,s,e);i!==void 0&&Object.defineProperty(this.prototype,t,i)}}static getPropertyDescriptor(t,e,s){return{get(){return this[e]},set(i){const o=this[t];this[e]=i,this.requestUpdate(t,o,s)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)||z}static finalize(){if(this.hasOwnProperty("finalized"))return!1;this.finalized=!0;const t=Object.getPrototypeOf(this);if(t.finalize(),t.h!==void 0&&(this.h=[...t.h]),this.elementProperties=new Map(t.elementProperties),this._$Ev=new Map,this.hasOwnProperty("properties")){const e=this.properties,s=[...Object.getOwnPropertyNames(e),...Object.getOwnPropertySymbols(e)];for(const i of s)this.createProperty(i,e[i])}return this.elementStyles=this.finalizeStyles(this.styles),!0}static finalizeStyles(t){const e=[];if(Array.isArray(t)){const s=new Set(t.flat(1/0).reverse());for(const i of s)e.unshift(G(i))}else t!==void 0&&e.push(G(t));return e}static _$Ep(t,e){const s=e.attribute;return s===!1?void 0:typeof s=="string"?s:typeof t=="string"?t.toLowerCase():void 0}u(){var t;this._$E_=new Promise(e=>this.enableUpdating=e),this._$AL=new Map,this._$Eg(),this.requestUpdate(),(t=this.constructor.h)===null||t===void 0||t.forEach(e=>e(this))}addController(t){var e,s;((e=this._$ES)!==null&&e!==void 0?e:this._$ES=[]).push(t),this.renderRoot!==void 0&&this.isConnected&&((s=t.hostConnected)===null||s===void 0||s.call(t))}removeController(t){var e;(e=this._$ES)===null||e===void 0||e.splice(this._$ES.indexOf(t)>>>0,1)}_$Eg(){this.constructor.elementProperties.forEach((t,e)=>{this.hasOwnProperty(e)&&(this._$Ei.set(e,this[e]),delete this[e])})}createRenderRoot(){var t;const e=(t=this.shadowRoot)!==null&&t!==void 0?t:this.attachShadow(this.constructor.shadowRootOptions);return yt(e,this.constructor.elementStyles),e}connectedCallback(){var t;this.renderRoot===void 0&&(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),(t=this._$ES)===null||t===void 0||t.forEach(e
vendor: 10,394 bytes, lines 9-20
9=>{var s;return(s=e.hostConnected)===null||s===void 0?void 0:s.call(e)})}enableUpdating(t){}disconnectedCallback(){var t;(t=this._$ES)===null||t===void 0||t.forEach(e=>{var s;return(s=e.hostDisconnected)===null||s===void 0?void 0:s.call(e)})}attributeChangedCallback(t,e,s){this._$AK(t,s)}_$EO(t,e,s=z){var i;const o=this.constructor._$Ep(t,s);if(o!==void 0&&s.reflect===!0){const n=(((i=s.converter)===null||i===void 0?void 0:i.toAttribute)!==void 0?s.converter:B).toAttribute(e,s.type);this._$El=t,n==null?this.removeAttribute(o):this.setAttribute(o,n),this._$El=null}}_$AK(t,e){var s;const i=this.constructor,o=i._$Ev.get(t);if(o!==void 0&&this._$El!==o){const n=i.getPropertyOptions(o),d=typeof n.converter=="function"?{fromAttribute:n.converter}:((s=n.converter)===null||s===void 0?void 0:s.fromAttribute)!==void 0?n.converter:B;this._$El=o,this[o]=d.fromAttribute(e,n.type),this._$El=null}}requestUpdate(t,e,s){let i=!0;t!==void 0&&(((s=s||this.constructor.getPropertyOptions(t)).hasChanged||Y)(this[t],e)?(this._$AL.has(t)||this._$AL.set(t,e),s.reflect===!0&&this._$El!==t&&(this._$EC===void 0&&(this._$EC=new Map),this._$EC.set(t,s))):i=!1),!this.isUpdatePending&&i&&(this._$E_=this._$Ej())}async _$Ej(){this.isUpdatePending=!0;try{await this._$E_}catch(e){Promise.reject(e)}const t=this.scheduleUpdate();return t!=null&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){var t;if(!this.isUpdatePending)return;this.hasUpdated,this._$Ei&&(this._$Ei.forEach((i,o)=>this[o]=i),this._$Ei=void 0);let e=!1;const s=this._$AL;try{e=this.shouldUpdate(s),e?(this.willUpdate(s),(t=this._$ES)===null||t===void 0||t.forEach(i=>{var o;return(o=i.hostUpdate)===null||o===void 0?void 0:o.call(i)}),this.update(s)):this._$Ek()}catch(i){throw e=!1,this._$Ek(),i}e&&this._$AE(s)}willUpdate(t){}_$AE(t){var e;(e=this._$ES)===null||e===void 0||e.forEach(s=>{var i;return(i=s.hostUpdated)===null||i===void 0?void 0:i.call(s)}),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$Ek(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$E_}shouldUpdate(t){return!0}update(t){this._$EC!==void 0&&(this._$EC.forEach((e,s)=>this._$EO(s,this[s],e)),this._$EC=void 0),this._$Ek()}updated(t){}firstUpdated(t){}}S.finalized=!0,S.elementProperties=new Map,S.elementStyles=[],S.shadowRootOptions={mode:"open"},wt?.({ReactiveElement:S}),((D=L.reactiveElementVersions)!==null&&D!==void 0?D:L.reactiveElementVersions=[]).push("1.6.1");/** 10* @license 11* Copyright 2017 Google LLC 12* SPDX-License-Identifier: BSD-3-Clause 13*/var j;const R=window,$=R.trustedTypes,tt=$?$.createPolicy("lit-html",{createHTML:r=>r}):void 0,m=`lit$${(Math.random()+"").slice(9)}$`,et="?"+m,St=`<${et}>`,_=document,E=(r="")=>_.createComment(r),x=r=>r===null||typeof r!="object"&&typeof r!="function",st=Array.isArray,Et=r=>st(r)||typeof r?.[Symbol.iterator]=="function",C=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,it=/-->/g,rt=/>/g,f=RegExp(`>|[ 14\f\r](?:([^\\s"'>=/]+)([ 15\f\r]*=[ 16\f\r]*(?:[^ 17\f\r"'\`<>=]|("|')|))|$)`,"g"),ot=/'/g,nt=/"/g,lt=/^(?:script|style|textarea|title)$/i,xt=r=>(t,...e)=>({_$litType$:r,strings:t,values:e}),at=xt(1),b=Symbol.for("lit-noChange"),p=Symbol.for("lit-nothing"),ht=new WeakMap,y=_.createTreeWalker(_,129,null,!1),Ct=(r,t)=>{const e=r.length-1,s=[];let i,o=t===2?"<svg>":"",n=C;for(let l=0;l<e;l++){const a=r[l];let v,c,u=-1,g=0;for(;g<a.length&&(n.lastIndex=g,c=n.exec(a),c!==null);)g=n.lastIndex,n===C?c[1]==="!--"?n=it:c[1]!==void 0?n=rt:c[2]!==void 0?(lt.test(c[2])&&(i=RegExp("</"+c[2],"g")),n=f):c[3]!==void 0&&(n=f):n===f?c[0]===">"?(n=i??C,u=-1):c[1]===void 0?u=-2:(u=n.lastIndex-c[2].length,v=c[1],n=c[3]===void 0?f:c[3]==='"'?nt:ot):n===nt||n===ot?n=f:n===it||n===rt?n=C:(n=f,i=void 0);const M=n===f&&r[l+1].startsWith("/>")?" ":"";o+=n===C?a+St:u>=0?(s.push(v),a.slice(0,u)+"$lit$"+a.slice(u)+m+M):a+m+(u===-2?(s.push(void 0),l):M)}const d=o+(r[e]||"<?>")+(t===2?"</svg>":"");if(!Array.isArray(r)||!r.hasOwnProperty("raw"))throw Error("invalid template strings array");return[tt!==void 0?tt.createHTML(d):d,s]};class P{constructor({strings:t,_$litType$:e},s){let i;this.parts=[];let o=0,n=0;const d=t.length-1,l=this.parts,[a,v]=Ct(t,e);if(this.el=P.createElement(a,s),y.currentNode=this.el.content,e===2){const c=this.el.content,u=c.firstChild;u.remove(),c.append(...u.childNodes)}for(;(i=y.nextNode())!==null&&l.length<d;){if(i.nodeType===1){if(i.hasAttributes()){const c=[];for(const u of i.getAttributeNames())if(u.endsWith("$lit$")||u.startsWith(m)){const g=v[n++];if(c.push(u),g!==void 0){const M=i.getAttribute(g.toLowerCase()+"$lit$").split(m),T=/([.?@])?(.*)/.exec(g);l.push({type:1,index:o,name:T[2],strings:M,ctor:T[1]==="."?Pt:T[1]==="?"?Mt:T[1]==="@"?Tt:N})}else l.push({type:6,index:o})}for(const u of c)i.removeAttribute(u)}if(lt.test(i.tagName)){const c=i.textContent.split(m),u=c.length-1;if(u>0){i.textContent=$?$.emptyScript:"";for(let g=0;g<u;g++)i.append(c[g],E()),y.nextNode(),l.push({type:2,index:++o});i.append(c[u],E())}}}else if(i.nodeType===8)if(i.data===et)l.push({type:2,index:o});else{let c=-1;for(;(c=i.data.indexOf(m,c+1))!==-1;)l.push({type:7,index:o}),c+=m.length-1}o++}}static createElement(t,e){const s=_.createElement("template");return s.innerHTML=t,s}}function A(r,t,e=r,s){var i,o,n,d;if(t===b)return t;let l=s!==void 0?(i=e._$Co)===null||i===void 0?void 0:i[s]:e._$Cl;const a=x(t)?void 0:t._$litDirective$;return l?.constructor!==a&&((o=l?._$AO)===null||o===void 0||o.call(l,!1),a===void 0?l=void 0:(l=new a(r),l._$AT(r,e,s)),s!==void 0?((n=(d=e)._$Co)!==null&&n!==void 0?n:d._$Co=[])[s]=l:e._$Cl=l),l!==void 0&&(t=A(r,l._$AS(r,t.values),l,s)),t}class Ut{constructor(t,e){this.u=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}v(t){var e;const{el:{content:s},parts:i}=this._$AD,o=((e=t?.creationScope)!==null&&e!==void 0?e:_).importNode(s,!0);y.currentNode=o;let n=y.nextNode(),d=0,l=0,a=i[0];for(;a!==void 0;){if(d===a.index){let v;a.type===2?v=new H(n,n.nextSibling,this,t):a.type===1?v=new a.ctor(n,a.name,a.strings,this,t):a.type===6&&(v=new Ot(n,this,t)),this.u.push(v),a=i[++l]}d!==a?.index&&(n=y.nextNode(),d++)}return o}p(t){let e=0;for(const s of this.u)s!==void 0&&(s.strings!==void 0?(s._$AI(t,s,e),e+=s.strings.length-2):s._$AI(t[e])),e++}}class H{constructor(t,e,s,i){var o;this.type=2,this._$AH=p,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=s,this.options=i,this._$Cm=(o=i?.isConnected)===null||o===void 0||o}get _$AU(){var t,e;return(e=(t=this._$AM)===null||t===void 0?void 0:t._$AU)!==null&&e!==void 0?e:this._$Cm}get parentNode(){let t=this._$AA.parentNode;const e=this._$AM;return e!==void 0&&t.nodeType===11&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=A(this,t,e),x(t)?t===p||t==null||t===""?(this._$AH!==p&&this._$AR(),this._$AH=p):t!==this._$AH&&t!==b&&this.g(t):t._$litType$!==void 0?this.$(t):t.nodeType!==void 0?this.T(t):Et(t)?this.k(t):this.g(t)}O(t,e=this._$AB){return this._$AA.parentNode.insertBefore(t,e)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.O(t))}g(t){this._$AH!==p&&x(this._$AH)?this._$AA.nextSibling.data=t:this.T(_.createTextNode(t)),this._$AH=t}$(t){var e;const{values:s,_$litType$:i}=t,o=typeof i=="number"?this._$AC(t):(i.el===void 0&&(i.el=P.createElement(i.h,this.options)),i);if(((e=this._$AH)===null||e===void 0?void 0:e._$AD)===o)this._$AH.p(s);else{const n=new Ut(o,this),d=n.v(this.options);n.p(s),this.T(d),this._$AH=n}}_$AC(t){let e=ht.get(t.strings);return e===void 0&&ht.set(t.strings,e=new P(t)),e}k(t){st(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let s,i=0;for(const o of t)i===e.length?e.push(s=new H(this.O(E()),this.O(E()),this,this.options)):s=e[i],s._$AI(o),i++;i<e.length&&(this._$AR(s&&s._$AB.nextSibling,i),e.length=i)}_$AR(t=this._$AA.nextSibling,e){var s;for((s=this._$AP)===null||s===void 0||s.call(this,!1,!0,e);t&&t!==this._$AB;){const i=t.nextSibling;t.remove(),t=i}}setConnected(t){var e;this._$AM===void 0&&(this._$Cm=t,(e=this._$AP)===null||e===void 0||e.call(this,t))}}class N{constructor(t,e,s,i,o){this.type=1,this._$AH=p,this._$AN=void 0,this.element=t,this.name=e,this._$AM=i,this.options=o,s.length>2||s[0]!==""||s[1]!==""?(this._$AH=Array(s.length-1).fill(new String),this.strings=s):this._$AH=p}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,e=this,s,i){const o=this.strings;let n=!1;if(o===void 0)t=A(this,t,e,0),n=!x(t)||t!==this._$AH&&t!==b,n&&(this._$AH=t);else{const d=t;let l,a;for(t=o[0],l=0;l<o.length-1;l++)a=A(this,d[s+l],e,l),a===b&&(a=this._$AH[l]),n||(n=!x(a)||a!==this._$AH[l]),a===p?t=p:t!==p&&(t+=(a??"")+o[l+1]),this._$AH[l]=a}n&&!i&&this.j(t)}j(t){t===p?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}}class Pt extends N{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===p?void 0:t}}const Ht=$?$.emptyScript:"";class Mt extends N{constructor(){super(...arguments),this.type=4}j(t){t&&t!==p?this.element.setAttribute(this.name,Ht):this.element.removeAttribute(this.name)}}class Tt extends N{constructor(t,e,s,i,o){super(t,e,s,i,o),this.type=5}_$AI(t,e=this){var s;if((t=(s=A(this,t,e,0))!==null&&s!==void 0?s:p)===b)return;const i=this._$AH,o=t===p&&i!==p||t.capture!==i.capture||t.once!==i.once||t.passive!==i.passive,n=t!==p&&(i===p||o);o&&this.element.removeEventListener(this.name,this,i),n&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){var e,s;typeof this._$AH=="function"?this._$AH.call((s=(e=this.options)===null||e===void 0?void 0:e.host)!==null&&s!==void 0?s:this.element,t):this._$AH.handleEvent(t)}}class Ot{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){A(this,t)}}const Lt=R.litHtmlPolyfillSupport;Lt?.(P,H),((j=R.litHtmlVersions)!==null&&j!==void 0?j:R.litHtmlVersions=[]).push("2.6.1");const Rt=(r,t,e)=>{var s,i;const o=(s=e?.renderBefore)!==null&&s!==void 0?s:t;let n=o._$litPart$;if(n===void 0){const d=(i=e?.renderBefore)!==null&&i!==void 0?i:null;o._$litPart$=n=new H(t.insertBefore(E(),d),d,void 0,e??{})}return n._$AI(r),n};/** 18* @license 19* Copyright 2019 Google LLC 20* SPDX-License-Identifier: BSD-3-Clause
vendor: 4,398 bytes, lines 21-25
21*/const I=window.ShadowRoot&&(window.ShadyCSS===void 0||window.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,W=Symbol(),dt=new Map;class ct{constructor(t,e){if(this._$cssResult$=!0,e!==W)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t}get styleSheet(){let t=dt.get(this.cssText);return I&&t===void 0&&(dt.set(this.cssText,t=new CSSStyleSheet),t.replaceSync(this.cssText)),t}toString(){return this.cssText}}const ut=r=>new ct(typeof r=="string"?r:r+"",W),pt=(r,...t)=>{const e=r.length===1?r[0]:t.reduce((s,i,o)=>s+(n=>{if(n._$cssResult$===!0)return n.cssText;if(typeof n=="number")return n;throw Error("Value passed to 'css' function must be a 'css' function result: "+n+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(i)+r[o+1],r[0]);return new ct(e,W)},Nt=(r,t)=>{I?r.adoptedStyleSheets=t.map(e=>e instanceof CSSStyleSheet?e:e.styleSheet):t.forEach(e=>{const s=document.createElement("style"),i=window.litNonce;i!==void 0&&s.setAttribute("nonce",i),s.textContent=e.cssText,r.appendChild(s)})},vt=I?r=>r:r=>r instanceof CSSStyleSheet?(t=>{let e="";for(const s of t.cssRules)e+=s.cssText;return ut(e)})(r):r;/** 22* @license 23* Copyright 2017 Google LLC 24* SPDX-License-Identifier: BSD-3-Clause 25*/var J;const gt=window.trustedTypes,kt=gt?gt.emptyScript:"",Dt=window.reactiveElementPolyfillSupport,V={toAttribute(r,t){switch(t){case Boolean:r=r?kt:null;break;case Object:case Array:r=r==null?r:JSON.stringify(r)}return r},fromAttribute(r,t){let e=r;switch(t){case Boolean:e=r!==null;break;case Number:e=r===null?null:Number(r);break;case Object:case Array:try{e=JSON.parse(r)}catch{e=null}}return e}},mt=(r,t)=>t!==r&&(t==t||r==r),F={attribute:!0,type:String,converter:V,reflect:!1,hasChanged:mt};class w extends HTMLElement{constructor(){super(),this._$Et=new Map,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Ei=null,this.o()}static addInitializer(t){var e;(e=this.l)!==null&&e!==void 0||(this.l=[]),this.l.push(t)}static get observedAttributes(){this.finalize();const t=[];return this.elementProperties.forEach((e,s)=>{const i=this._$Eh(s,e);i!==void 0&&(this._$Eu.set(i,s),t.push(i))}),t}static createProperty(t,e=F){if(e.state&&(e.attribute=!1),this.finalize(),this.elementProperties.set(t,e),!e.noAccessor&&!this.prototype.hasOwnProperty(t)){const s=typeof t=="symbol"?Symbol():"__"+t,i=this.getPropertyDescriptor(t,s,e);i!==void 0&&Object.defineProperty(this.prototype,t,i)}}static getPropertyDescriptor(t,e,s){return{get(){return this[e]},set(i){const o=this[t];this[e]=i,this.requestUpdate(t,o,s)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)||F}static finalize(){if(this.hasOwnProperty("finalized"))return!1;this.finalized=!0;const t=Object.getPrototypeOf(this);if(t.finalize(),this.elementProperties=new Map(t.elementProperties),this._$Eu=new Map,this.hasOwnProperty("properties")){const e=this.properties,s=[...Object.getOwnPropertyNames(e),...Object.getOwnPropertySymbols(e)];for(const i of s)this.createProperty(i,e[i])}return this.elementStyles=this.finalizeStyles(this.styles),!0}static finalizeStyles(t){const e=[];if(Array.isArray(t)){const s=new Set(t.flat(1/0).reverse());for(const i of s)e.unshift(vt(i))}else t!==void 0&&e.push(vt(t));return e}static _$Eh(t,e){const s=e.attribute;return s===!1?void 0:typeof s=="string"?s:typeof t=="string"?t.toLowerCase():void 0}o(){var t;this._$Ep=new Promise(e=>this.enableUpdating=e),this._$AL=new Map,this._$Em(),this.requestUpdate(),(t=this.constructor.l)===null||t===void 0||t.forEach(e=>e(this))}addController(t){var e,s;((e=this._$Eg)!==null&&e!==void 0?e:this._$Eg=[]).push(t),this.renderRoot!==void 0&&this.isConnected&&((s=t.hostConnected)===null||s===void 0||s.call(t))}removeController(t){var e;(e=this._$Eg)===null||e===void 0||e.splice(this._$Eg.indexOf(t)>>>0,1)}_$Em(){this.constructor.elementProperties.forEach((t,e)=>{this.hasOwnProperty(e)&&(this._$Et.set(e,this[e]),delete this[e])})}createRenderRoot(){var t;const e=(t=this.shadowRoot)!==null&&t!==void 0?t:this.attachShadow(this.constructor.shadowRootOptions);return Nt(e,this.constructor.elementStyles),e}connectedCallback(){var t;this.renderRoot===void 0&&(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),(t=this._$Eg)===null||t===void 0||t.forEach(e
25=>{var s;return(s=e.hostConnected)===null||s===void 0?void 0:s.call(e)})}enableUpdating(t){}disconnectedCallback(){var t;(t=this._$Eg)===null||t===void 0||t.forEach(e=>{var s;return(s=e.hostDisconnected)===null||s===void 0?void 0:s.call(e)})}attributeChangedCallback(t,e,s){this._$AK(t,s)}_$ES(t,e,s=F){var i,o;const n=this.constructor._$Eh(t,s);if(n!==void 0&&s.reflect===!0){const d=((o=(i=s.converter)===null||i===void 0?void 0:i.toAttribute)!==null&&o!==void 0?o:V.toAttribute)(e,s.type);this._$Ei=t,d==null?this.removeAttribute(n):this.setAttribute(n,d),this._$Ei=null}}_$AK(t,e){var s,i,o;const n=this.constructor,d=n._$Eu.get(t);if(d!==void 0&&this._$Ei!==d){const l=n.getPropertyOptions(d),a=l.converter,v=(o=(i=(s=a)===null||s===void 0?void 0:s.fromAttribute)!==null&&i!==void 0?i:typeof a=="function"?a:null)!==null&&o!==void 0?o:V.fromAttribute;this._$Ei=d,this[d]=v(e,l.type),this._$Ei=null}}requestUpdate(t,e,s){let i=!0;t!==void 0&&(((s=s||this.constructor.getPropertyOptions(t)).hasChanged||mt)(this[t],e)?(this._$AL.has(t)||this._$AL.set(t,e),s.reflect===!0&&this._$Ei!==t&&(this._$EC===void 0&&(this._$EC=new Map),this._$EC.set(t,s))):i=!1),!this.isUpdatePending&&i&&(this._$Ep=this._$E_())}async _$E_(){this.isUpdatePending=!0;try{await this._$Ep}catch(e){Promise.reject(e)}const t=this.scheduleUpdate();return t!=null&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){var t;if(!this.isUpdatePending)return;this.hasUpdated,this._$Et&&(this._$Et.forEach((i,o)=>this[o]=i),this._$Et=void 0);let e=!1;const s=this._$AL;try{e=this.shouldUpdate(s),e?(this.willUpdate(s),(t=this._$Eg)===null||t===void 0||t.forEach(i=>{var o;return(o=i.hostUpdate)===null||o===void 0?void 0:o.call(i)}),this.update(s)):this._$EU()}catch(i){throw e=!1,this._$EU(),i}e&&this._$AE(s)}willUpdate(t){}_$AE(t){var e;(e=this._$Eg)===null||e===void 0||e.forEach(s=>{var i;return(i=s.hostUpdated)===null||i===void 0?void 0:i.call(s)}),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._$Ep}shouldUpdate(t){return!0}update(t){this._$EC!==void 0&&(this._$EC.forEach((e,s)=>this._$ES(s,this[s],e)),this._$EC=void 0),this._$EU()}updated(t){}firstUpdated(t){}}w.finalized=!0,w.elementProperties=new Map,w.elementStyles=[],w.shadowRootOptions={mode:"open"},Dt?.({ReactiveElement:w}),((J=globalThis.reactiveElementVersions)!==null&&J!==void 0?J:globalThis.reactiveElementVersions=[]).push("1.3.0");/** 26* @license 27* Copyright 2017 Google LLC 28* SPDX-License-Identifier: BSD-3-Clause 29*/var X,q;class U extends w{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){var t,e;const s=super.createRenderRoot();return(t=(e=this.renderOptions).renderBefore)!==null&&t!==void 0||(e.renderBefore=s.firstChild),s}update(t){const e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=Rt(e,this.renderRoot,this.renderOptions)}connectedCallback(){var t;super.connectedCallback(),(t=this._$Do)===null||t===void 0||t.setConnected(!0)}disconnectedCallback(){var t;super.disconnectedCallback(),(t=this._$Do)===null||t===void 0||t.setConnected(!1)}render(){return b}}U.finalized=!0,U._$litElement$=!0,(X=globalThis.litElementHydrateSupport)===null||X===void 0||X.call(globalThis,{LitElement:U});const Bt=globalThis.litElementPolyfillSupport;Bt?.({LitElement:U}),((q=globalThis.litElementVersions)!==null&&q!==void 0?q:globalThis.litElementVersions=[]).push("3.2.2");class zt{static scopedStyles(t){return pt``}constructor(t){(this.host=t).addController(this),this.__styleTag=document.createElement("style"),this.scopedClass=`${this.host.localName}-${Math.floor(Math.random()*1e4)}`}hostConnected(){this.host.classList.add(this.scopedClass),this.__setupStyleTag()}hostDisconnected(){this.__teardownStyleTag()}__setupStyleTag(){this.__styleTag.textContent=this.host.constructor.scopedStyles(ut(this.scopedClass)).toString(),this.host.insertBefore(this.__styleTag,this.host.childNodes[0])}__teardownStyleTag(){this.host.removeChild(this.__styleTag)}}const ft=document.createElement("template");ft.innerHTML=` 30 <style> 31 :host { 32 display: flex; 33 flex-direction: column; 34 flex-wrap: wrap; 35 height: 150px; 36 width: 100%; 37 overflow-x: scroll; 38 scrollbar-width: none; 39 } 40 41 :host::-webkit-scrollbar {
42 display: none; 43 } 44 </style> 45 <slot></slot> 46`;class jt extends HTMLElement{static get observedAttributes(){return["container-height"]}get _scrollLeft(){return this.scrollLeft}set _scrollLeft(t){this.scrollByJS=!0,this.scrollLeft=t}get boxWidth(){return parseFloat(this.getAttribute("box-width"))||150}set boxWidth(t){this.setAttribute("box-width",t)}get containerHeight(){return parseFloat(this.getAttribute("container-height"))||150}set containerHeight(t){this.setAttribute("container-height",t)}get rowAmount(){return parseFloat(this.getAttribute("row-amount"))||1}set rowAmount(t){this.setAttribute("row-amount",t)}get scrollInterval(){return parseFloat(this.getAttribute("scroll-interval"))||1}set scrollInterval(t){this.setAttribute("scroll-interval",t)}get scrollAmount(){return parseFloat(this.getAttribute("scroll-amount"))||1}set scrollAmount(t){this.setAttribute("scroll-amount",t)}get resumeTime(){return parseFloat(this.getAttribute("resume-time"))||2e3}set resumeTime(t){this.setAttribute("resume-time",t)}get dragSpeed(){return parseFloat(this.getAttribute("drag-speed"))||4}set dragSpeed(t){this.setAttribute("drag-speed",t)}get reverse(){return this.hasAttribute("reverse")}set reverse(t){t?this.setAttribute("reverse",""):this.removeAttribute("reverse")}get followUserDirection(){return this.hasAttribute("follow-user-direction")}set followUserDirection(t){t?this.setAttribute("follow-user-direction",""):this.removeAttribute("follow-user-direction")}attributeChangedCallback(t,e,s){t==="container-height"&&e!==s&&this.style.setProperty("height",`${s}px`),t==="reverse"&&e!==s&&(this.__direction=this.reverse?"right":"left")}constructor(){super(),this.attachShadow({mode:"open"}),this.initialBoxLength=this.children.length,this.oldPos=this.scrollLeft,this.scrollByBoxMove=!1,this.scrollByJS=!1,this.xDiff=0,this.interval,this.timeout,this.boundWheelHandler=this.wheelHandler.bind(this),this.boundScrollHandler=this.scrollHandler.bind(this),this.boundMouseUpHandler=this.mouseUpHandler.bind(this),this.boundMouseDownHandler=this.mouseDownHandler.bind(this),this.boundMouseMoveHandler=this.mouseMoveHandler.bind(this)}connectedCallback(){this.shadowRoot.appendChild(ft.content.cloneNode(!0)),this.addEventListener("wheel",this.boundWheelHandler,{passive:!0}),this.addEventListener("scroll",this.boundScrollHandler),window.addEventListener("mouseup",this.boundMouseUpHandler),this.addEventListener("mousedown",this.boundMouseDownHandler),window.addEventListener("mousemove",this.boundMouseMoveHandler),this.__direction=this.reverse?"right":"left",this.startInterval(),this.__direction==="right"&&this.scrollLeft<this.boxWidth&&this.boxPrependHandler()}disconnectedCallback(){this.removeEventListener("wheel",this.boundWheelHandler),this.removeEventListener("scroll",this.boundScrollHandler),window.removeEventListener("mouseup",this.boundMouseUpHandler),this.removeEventListener("mousedown",this.boundMouseDownHandler),window.removeEventListener("mousemove",this.boundMouseMoveHandler)}autoScroll(){this.__direction==="right"?this._scrollLeft-=this.scrollAmount:this._scrollLeft+=this.scrollAmount}startInterval(){this.interval=setInterval(this.autoScroll.bind(this),this.scrollInterval)}startTimeout(){this.timeout&&clearTimeout(this.timeout),this.timeout=setTimeout(()=>{this.startInterval()},this.resumeTime)}wheelHandler(t){t.shiftKey&&(clearInterval(this.interval),this.startTimeout())}boxAppendHandler(){const t=Array.from(this.children);Array(this.rowAmount).fill("").forEach((e,s)=>{this.appendChild(t[s])}),this.scrollByBoxMove=!0,this._scrollLeft-=this.boxWidth}boxPrependHandler(){const t=Array.from(this.children);Array(this.rowAmount).fill("").forEach((e,s)=>{this.prepend(t[t.length-(s+1)])}),this.scrollByBoxMove=!0,this._scrollLeft+=this.boxWidth}scrollHandler(t){if(this.scrollByBoxMove){this.scrollByBoxMove=!1;return}const e=this._scrollLeft>this.oldPos;!this.scrollByJS&&this.followUserDirection&&(this.__direction=e?"left":"right"),e&&this._scrollLeft>this.boxWidth*2?this.boxAppendHandler():this._scrollLeft<this.boxWidth&&this.boxPrependHandler(),this.oldPos=this._scrollLeft,this.scrollByJS=!1}dragHandler(){!this.dragging||(clearInterval(this.interval),this.startTimeout(),this.scrollLeft-=this.xDiff*this.dragSpeed,this.xDiff=0,requestAnimationFrame(this.dragHandler.bind(this)))}
46mouseUpHandler(t){this.dragging=!1}mouseDownHandler(t){t.preventDefault(),this.oldMousePosX=t.clientX,this.dragging=!0,this.dragHandler()}mouseMoveHandler(t){!this.dragging||(this.xDiff=t.clientX-this.oldMousePosX,this.oldMousePosX=t.clientX)}}customElements.define("infini-scroll",jt);const h=r=>`/assets/${r}`,It=[{name:"JavaScript",logo:h("lang/js.svg")},{name:"TypeScript",logo:h("lang/ts.svg")},{name:"Alpine",logo:h("lib/alpine.png")},{name:"Angular",logo:h("lib/angular.svg")},{name:"Astro",logo:h("lib/astro.svg")},{name:"React",logo:h("lib/react.svg")},{name:"React Native",logo:h("lib/react-native.png")},{name:"Vue",logo:h("lib/vuejs.svg")},{name:"Lit",logo:h("lib/lit.svg")},{name:"FAST",logo:h("lib/fast.svg")},{name:"Svelte",logo:h("lib/svelte.svg")},{name:"Preact",logo:h("lib/preact.svg")},{name:"Stencil",logo:h("lib/stencil.svg")},{name:"Solid",logo:h("lib/solid.svg")},{name:"Omi",logo:h("lib/omi.png")},{name:"Tailwindcss",logo:h("lib/tailwindcss.svg")},{name:"Sass",logo:h("lang/sass.svg")},{name:"Less",logo:h("lang/less.svg")},{name:"Markdown",logo:h("lang/markdown.svg")},{name:"MDX",logo:h("lang/mdx.svg")},{name:"Storybook",logo:h("lib/storybook.svg")},{name:"System UI",logo:h("lib/system-ui.svg")},{name:"Style Dictionary",logo:h("lib/style-dictionary.png")},{name:"Styled Components",logo:h("lib/styled-components.png")},{name:"Open Props",logo:h("lib/open-props.svg")},{name:"Twind",logo:h("lib/twind.png")},{name:"CSS Modules",logo:h("lib/css-modules.svg")},{name:"Emotion",logo:h("lib/emotion.png")},{name:"Mithril",logo:h("lib/mithril.svg")},{name:"NextJS",logo:h("lib/nextjs.svg")},{name:"Nuxt",logo:h("lib/nuxt.svg")},{name:"Nunjucks",logo:h("lib/nunjucks.svg")},{name:"LWC",logo:h("lib/lwc.svg")},{name:"Riotjs",logo:h("lib/riotjs.svg")},{name:"WASM",logo:h("lang/wasm.svg")},{name:"Many more",logo:h("icons/code.svg")}];class $t extends U{static scopedStyles(t){return pt` 47 .${t} .technology { 48 height: 80px; 49 width: 80px; 50 position: relative; 51 margin: 1.5rem; 52 display: flex; 53 align-items: center; 54 } 55 56 .${t} .technology img { 57 width: 100%; 58 max-height: 100%; 59 margin: 0 auto; 60 transition: transform 0.1s ease-out, opacity 0.1s ease-out; 61 } 62 63 .${t} .technology:hover img { 64 transform: scale(1.1); 65 } 66 67 .${t} .technology figcaption { 68 position: absolute; 69 bottom: -30px; 70 left: 50%; 71 transform: translateX(-50%); 72 white-space: nowrap; 73 opacity: 0; 74 transition: opacity 0.1s ease-out; 75 } 76 77 .${t} .technology:hover figcaption { 78 opacity: 1; 79 } 80 81 .${t} .infini-wrapper { 82 position: relative; 83 } 84 85 .${t} .infini-wrapper::before, 86 .${t} .infini-wrapper::after { 87 content: ''; 88 position: absolute; 89 height: 100%; 90 width: 30px; 91 z-index: 1; 92 pointer-events: none; 93 } 94 95 .${t} .infini-wrapper::before { 96 inset: 0; 97 background: linear-gradient(to left, rgba(23, 23, 23, 0), currentColor); 98 } 99 100 .${t} .infini-wrapper::after { 101 top: 0; 102 right: 0; 103 background: linear-gradient( 104 to right, 105 rgba(23, 23, 23, 0), 106 currentColor 107 ); 108 } 109 110 @media (min-width: 420px) { 111 .${t} .infini-wrapper::before, 112 .${t} .infini-wrapper::after { 113 width: 70px; 114 } 115 } 116 117 @media (min-width: 600px) { 118 .${t} .infini-wrapper::before, 119 .${t} .infini-wrapper::after { 120 width: 150px; 121 } 122 } 123 `}static get properties(){return{boxSize:{attribute:!1},containerHeight:{attribute:!1},rows:{attribute:!1}}}constructor(){super(),this.boxSize=128,this.rows=3,this.containerHeight=this.rows*this.boxSize+7,this.scopedStylesController=new zt(this)}createRenderRoot(){return this}render(){return at` 124 <section class="text-center text-white bg-black-divriots p-8 relative"> 125 <h2 class="sub-title font-semibold"> 126 All <span class="text-primary">stacks</span> supported 127 </h2> 128 <div class="infini-wrapper text-black-divriots mx-auto max-w-4xl my-32"> 129 <infini-scroll 130 drag-speed="1" 131 scroll-interval="15" 132 container-height="${this.containerHeight}" 133 box-width="${this.boxSize}" 134 row-amount="${this.rows}"
135 follow-user-direction 136 > 137 ${It.map(t=>at` 138 <figure class="technology"> 139 <figcaption> 140 <span class="text-white">${t.name}</span> 141 </figcaption> 142 <img 143 src="${t.logo}" 144 alt="${t.name}" 145 aria-label="${t.name}" 146 loading="lazy" 147 /> 148 </figure> 149 `)} 150 </infini-scroll> 151 </div> 152 </section> 153 `}}customElements.define("lcd-compatibility",$t);export{$t as LcdCompatibility};
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.