mealz-components 0.2.1 → 0.3.0-alpha.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,23 @@
1
+ (function(u,b){typeof exports=="object"&&typeof module<"u"?b(exports):typeof define=="function"&&define.amd?define(["exports"],b):(u=typeof globalThis<"u"?globalThis:u||self,b(u.MealzRecipeCard={}))})(this,function(u){"use strict";/**
2
+ * @license
3
+ * Copyright 2017 Google LLC
4
+ * SPDX-License-Identifier: BSD-3-Clause
5
+ */var ot;const b=r=>(t,e)=>{e!==void 0?e.addInitializer(()=>{customElements.define(r,t)}):customElements.define(r,t)};/**
6
+ * @license
7
+ * Copyright 2019 Google LLC
8
+ * SPDX-License-Identifier: BSD-3-Clause
9
+ */const T=globalThis,k=T.ShadowRoot&&(T.ShadyCSS===void 0||T.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,q=Symbol(),W=new WeakMap;let ht=class{constructor(t,e,s){if(this._$cssResult$=!0,s!==q)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=W.get(e)),t===void 0&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),s&&W.set(e,t))}return t}toString(){return this.cssText}};const at=r=>new ht(typeof r=="string"?r:r+"",void 0,q),lt=(r,t)=>{if(k)r.adoptedStyleSheets=t.map(e=>e instanceof CSSStyleSheet?e:e.styleSheet);else for(const e of t){const s=document.createElement("style"),i=T.litNonce;i!==void 0&&s.setAttribute("nonce",i),s.textContent=e.cssText,r.appendChild(s)}},V=k?r=>r:r=>r instanceof CSSStyleSheet?(t=>{let e="";for(const s of t.cssRules)e+=s.cssText;return at(e)})(r):r;/**
10
+ * @license
11
+ * Copyright 2017 Google LLC
12
+ * SPDX-License-Identifier: BSD-3-Clause
13
+ */const{is:ct,defineProperty:dt,getOwnPropertyDescriptor:pt,getOwnPropertyNames:ut,getOwnPropertySymbols:$t,getPrototypeOf:_t}=Object,_=globalThis,J=_.trustedTypes,ft=J?J.emptyScript:"",I=_.reactiveElementPolyfillSupport,C=(r,t)=>r,L={toAttribute(r,t){switch(t){case Boolean:r=r?ft: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}},K=(r,t)=>!ct(r,t),F={attribute:!0,type:String,converter:L,reflect:!1,hasChanged:K};Symbol.metadata??(Symbol.metadata=Symbol("metadata")),_.litPropertyMetadata??(_.litPropertyMetadata=new WeakMap);class v 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=F){if(e.state&&(e.attribute=!1),this._$Ei(),this.elementProperties.set(t,e),!e.noAccessor){const s=Symbol(),i=this.getPropertyDescriptor(t,s,e);i!==void 0&&dt(this.prototype,t,i)}}static getPropertyDescriptor(t,e,s){const{get:i,set:n}=pt(this.prototype,t)??{get(){return this[e]},set(o){this[e]=o}};return{get(){return i==null?void 0:i.call(this)},set(o){const l=i==null?void 0:i.call(this);n.call(this,o),this.requestUpdate(t,l,s)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??F}static _$Ei(){if(this.hasOwnProperty(C("elementProperties")))return;const t=_t(this);t.finalize(),t.l!==void 0&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(C("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(C("properties"))){const e=this.properties,s=[...ut(e),...$t(e)];for(const i of s)this.createProperty(i,e[i])}const t=this[Symbol.metadata];if(t!==null){const e=litPropertyMetadata.get(t);if(e!==void 0)for(const[s,i]of e)this.elementProperties.set(s,i)}this._$Eh=new Map;for(const[e,s]of this.elementProperties){const i=this._$Eu(e,s);i!==void 0&&this._$Eh.set(i,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 i of s)e.unshift(V(i))}else t!==void 0&&e.push(V(t));return e}static _$Eu(t,e){const s=e.attribute;return s===!1?void 0:typeof s=="string"?s:typeof t=="string"?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(e=>this.enableUpdating=e),this._$AL=new Map,this._$E_(),this.requestUpdate(),(t=this.constructor.l)==null||t.forEach(e=>e(this))}addController(t){var e;(this._$EO??(this._$EO=new Set)).add(t),this.renderRoot!==void 0&&this.isConnected&&((e=t.hostConnected)==null||e.call(t))}removeController(t){var e;(e=this._$EO)==null||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 lt(t,this.constructor.elementStyles),t}connectedCallback(){var t;this.renderRoot??(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),(t=this._$EO)==null||t.forEach(e=>{var s;return(s=e.hostConnected)==null?void 0:s.call(e)})}enableUpdating(t){}disconnectedCallback(){var t;(t=this._$EO)==null||t.forEach(e=>{var s;return(s=e.hostDisconnected)==null?void 0:s.call(e)})}attributeChangedCallback(t,e,s){this._$AK(t,s)}_$EC(t,e){var n;const s=this.constructor.elementProperties.get(t),i=this.constructor._$Eu(t,s);if(i!==void 0&&s.reflect===!0){const o=(((n=s.converter)==null?void 0:n.toAttribute)!==void 0?s.converter:L).toAttribute(e,s.type);this._$Em=t,o==null?this.removeAttribute(i):this.setAttribute(i,o),this._$Em=null}}_$AK(t,e){var n;const s=this.constructor,i=s._$Eh.get(t);if(i!==void 0&&this._$Em!==i){const o=s.getPropertyOptions(i),l=typeof o.converter=="function"?{fromAttribute:o.converter}:((n=o.converter)==null?void 0:n.fromAttribute)!==void 0?o.converter:L;this._$Em=i,this[i]=l.fromAttribute(e,o.type),this._$Em=null}}requestUpdate(t,e,s){if(t!==void 0){if(s??(s=this.constructor.getPropertyOptions(t)),!(s.hasChanged??K)(this[t],e))return;this.P(t,e,s)}this.isUpdatePending===!1&&(this._$ES=this._$ET())}P(t,e,s){this._$AL.has(t)||this._$AL.set(t,e),s.reflect===!0&&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 t!=null&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){var s;if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??(this.renderRoot=this.createRenderRoot()),this._$Ep){for(const[n,o]of this._$Ep)this[n]=o;this._$Ep=void 0}const i=this.constructor.elementProperties;if(i.size>0)for(const[n,o]of i)o.wrapped!==!0||this._$AL.has(n)||this[n]===void 0||this.P(n,this[n],o)}let t=!1;const e=this._$AL;try{t=this.shouldUpdate(e),t?(this.willUpdate(e),(s=this._$EO)==null||s.forEach(i=>{var n;return(n=i.hostUpdate)==null?void 0:n.call(i)}),this.update(e)):this._$EU()}catch(i){throw t=!1,this._$EU(),i}t&&this._$AE(e)}willUpdate(t){}_$AE(t){var e;(e=this._$EO)==null||e.forEach(s=>{var i;return(i=s.hostUpdated)==null?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._$ES}shouldUpdate(t){return!0}update(t){this._$Ej&&(this._$Ej=this._$Ej.forEach(e=>this._$EC(e,this[e]))),this._$EU()}updated(t){}firstUpdated(t){}}v.elementStyles=[],v.shadowRootOptions={mode:"open"},v[C("elementProperties")]=new Map,v[C("finalized")]=new Map,I==null||I({ReactiveElement:v}),(_.reactiveElementVersions??(_.reactiveElementVersions=[])).push("2.0.4");/**
14
+ * @license
15
+ * Copyright 2017 Google LLC
16
+ * SPDX-License-Identifier: BSD-3-Clause
17
+ */const w=globalThis,N=w.trustedTypes,Z=N?N.createPolicy("lit-html",{createHTML:r=>r}):void 0,G="$lit$",f=`lit$${Math.random().toFixed(9).slice(2)}$`,Q="?"+f,At=`<${Q}>`,m=document,P=()=>m.createComment(""),U=r=>r===null||typeof r!="object"&&typeof r!="function",X=Array.isArray,mt=r=>X(r)||typeof(r==null?void 0:r[Symbol.iterator])=="function",j=`[
18
+ \f\r]`,x=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Y=/-->/g,tt=/>/g,g=RegExp(`>|${j}(?:([^\\s"'>=/]+)(${j}*=${j}*(?:[^
19
+ \f\r"'\`<>=]|("|')|))|$)`,"g"),et=/'/g,st=/"/g,it=/^(?:script|style|textarea|title)$/i,S=Symbol.for("lit-noChange"),c=Symbol.for("lit-nothing"),rt=new WeakMap,y=m.createTreeWalker(m,129);function nt(r,t){if(!Array.isArray(r)||!r.hasOwnProperty("raw"))throw Error("invalid template strings array");return Z!==void 0?Z.createHTML(t):t}const gt=(r,t)=>{const e=r.length-1,s=[];let i,n=t===2?"<svg>":"",o=x;for(let l=0;l<e;l++){const h=r[l];let d,p,a=-1,$=0;for(;$<h.length&&(o.lastIndex=$,p=o.exec(h),p!==null);)$=o.lastIndex,o===x?p[1]==="!--"?o=Y:p[1]!==void 0?o=tt:p[2]!==void 0?(it.test(p[2])&&(i=RegExp("</"+p[2],"g")),o=g):p[3]!==void 0&&(o=g):o===g?p[0]===">"?(o=i??x,a=-1):p[1]===void 0?a=-2:(a=o.lastIndex-p[2].length,d=p[1],o=p[3]===void 0?g:p[3]==='"'?st:et):o===st||o===et?o=g:o===Y||o===tt?o=x:(o=g,i=void 0);const A=o===g&&r[l+1].startsWith("/>")?" ":"";n+=o===x?h+At:a>=0?(s.push(d),h.slice(0,a)+G+h.slice(a)+f+A):h+f+(a===-2?l:A)}return[nt(r,n+(r[e]||"<?>")+(t===2?"</svg>":"")),s]};class H{constructor({strings:t,_$litType$:e},s){let i;this.parts=[];let n=0,o=0;const l=t.length-1,h=this.parts,[d,p]=gt(t,e);if(this.el=H.createElement(d,s),y.currentNode=this.el.content,e===2){const a=this.el.content.firstChild;a.replaceWith(...a.childNodes)}for(;(i=y.nextNode())!==null&&h.length<l;){if(i.nodeType===1){if(i.hasAttributes())for(const a of i.getAttributeNames())if(a.endsWith(G)){const $=p[o++],A=i.getAttribute(a).split(f),z=/([.?@])?(.*)/.exec($);h.push({type:1,index:n,name:z[2],strings:A,ctor:z[1]==="."?vt:z[1]==="?"?St:z[1]==="@"?Et:O}),i.removeAttribute(a)}else a.startsWith(f)&&(h.push({type:6,index:n}),i.removeAttribute(a));if(it.test(i.tagName)){const a=i.textContent.split(f),$=a.length-1;if($>0){i.textContent=N?N.emptyScript:"";for(let A=0;A<$;A++)i.append(a[A],P()),y.nextNode(),h.push({type:2,index:++n});i.append(a[$],P())}}}else if(i.nodeType===8)if(i.data===Q)h.push({type:2,index:n});else{let a=-1;for(;(a=i.data.indexOf(f,a+1))!==-1;)h.push({type:7,index:n}),a+=f.length-1}n++}}static createElement(t,e){const s=m.createElement("template");return s.innerHTML=t,s}}function E(r,t,e=r,s){var o,l;if(t===S)return t;let i=s!==void 0?(o=e._$Co)==null?void 0:o[s]:e._$Cl;const n=U(t)?void 0:t._$litDirective$;return(i==null?void 0:i.constructor)!==n&&((l=i==null?void 0:i._$AO)==null||l.call(i,!1),n===void 0?i=void 0:(i=new n(r),i._$AT(r,e,s)),s!==void 0?(e._$Co??(e._$Co=[]))[s]=i:e._$Cl=i),i!==void 0&&(t=E(r,i._$AS(r,t.values),i,s)),t}class yt{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=((t==null?void 0:t.creationScope)??m).importNode(e,!0);y.currentNode=i;let n=y.nextNode(),o=0,l=0,h=s[0];for(;h!==void 0;){if(o===h.index){let d;h.type===2?d=new R(n,n.nextSibling,this,t):h.type===1?d=new h.ctor(n,h.name,h.strings,this,t):h.type===6&&(d=new bt(n,this,t)),this._$AV.push(d),h=s[++l]}o!==(h==null?void 0:h.index)&&(n=y.nextNode(),o++)}return y.currentNode=m,i}p(t){let e=0;for(const s of this._$AV)s!==void 0&&(s.strings!==void 0?(s._$AI(t,s,e),e+=s.strings.length-2):s._$AI(t[e])),e++}}class R{get _$AU(){var t;return((t=this._$AM)==null?void 0:t._$AU)??this._$Cv}constructor(t,e,s,i){this.type=2,this._$AH=c,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=s,this.options=i,this._$Cv=(i==null?void 0:i.isConnected)??!0}get parentNode(){let t=this._$AA.parentNode;const e=this._$AM;return e!==void 0&&(t==null?void 0:t.nodeType)===11&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=E(this,t,e),U(t)?t===c||t==null||t===""?(this._$AH!==c&&this._$AR(),this._$AH=c):t!==this._$AH&&t!==S&&this._(t):t._$litType$!==void 0?this.$(t):t.nodeType!==void 0?this.T(t):mt(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!==c&&U(this._$AH)?this._$AA.nextSibling.data=t:this.T(m.createTextNode(t)),this._$AH=t}$(t){var n;const{values:e,_$litType$:s}=t,i=typeof s=="number"?this._$AC(t):(s.el===void 0&&(s.el=H.createElement(nt(s.h,s.h[0]),this.options)),s);if(((n=this._$AH)==null?void 0:n._$AD)===i)this._$AH.p(e);else{const o=new yt(i,this),l=o.u(this.options);o.p(e),this.T(l),this._$AH=o}}_$AC(t){let e=rt.get(t.strings);return e===void 0&&rt.set(t.strings,e=new H(t)),e}k(t){X(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 R(this.S(P()),this.S(P()),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((s=this._$AP)==null?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._$Cv=t,(e=this._$AP)==null||e.call(this,t))}}class O{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,e,s,i,n){this.type=1,this._$AH=c,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=c}_$AI(t,e=this,s,i){const n=this.strings;let o=!1;if(n===void 0)t=E(this,t,e,0),o=!U(t)||t!==this._$AH&&t!==S,o&&(this._$AH=t);else{const l=t;let h,d;for(t=n[0],h=0;h<n.length-1;h++)d=E(this,l[s+h],e,h),d===S&&(d=this._$AH[h]),o||(o=!U(d)||d!==this._$AH[h]),d===c?t=c:t!==c&&(t+=(d??"")+n[h+1]),this._$AH[h]=d}o&&!i&&this.j(t)}j(t){t===c?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}}class vt extends O{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===c?void 0:t}}class St extends O{constructor(){super(...arguments),this.type=4}j(t){this.element.toggleAttribute(this.name,!!t&&t!==c)}}class Et extends O{constructor(t,e,s,i,n){super(t,e,s,i,n),this.type=5}_$AI(t,e=this){if((t=E(this,t,e,0)??c)===S)return;const s=this._$AH,i=t===c&&s!==c||t.capture!==s.capture||t.once!==s.once||t.passive!==s.passive,n=t!==c&&(s===c||i);i&&this.element.removeEventListener(this.name,this,s),n&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){var e;typeof this._$AH=="function"?this._$AH.call(((e=this.options)==null?void 0:e.host)??this.element,t):this._$AH.handleEvent(t)}}class bt{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){E(this,t)}}const D=w.litHtmlPolyfillSupport;D==null||D(H,R),(w.litHtmlVersions??(w.litHtmlVersions=[])).push("3.1.3");const Ct=(r,t,e)=>{const s=(e==null?void 0:e.renderBefore)??t;let i=s._$litPart$;if(i===void 0){const n=(e==null?void 0:e.renderBefore)??null;s._$litPart$=i=new R(t.insertBefore(P(),n),n,void 0,e??{})}return i._$AI(r),i};/**
20
+ * @license
21
+ * Copyright 2017 Google LLC
22
+ * SPDX-License-Identifier: BSD-3-Clause
23
+ */class M extends v{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){var e;const t=super.createRenderRoot();return(e=this.renderOptions).renderBefore??(e.renderBefore=t.firstChild),t}update(t){const e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=Ct(e,this.renderRoot,this.renderOptions)}connectedCallback(){var t;super.connectedCallback(),(t=this._$Do)==null||t.setConnected(!0)}disconnectedCallback(){var t;super.disconnectedCallback(),(t=this._$Do)==null||t.setConnected(!1)}render(){return S}}M._$litElement$=!0,M.finalized=!0,(ot=globalThis.litElementHydrateSupport)==null||ot.call(globalThis,{LitElement:M});const B=globalThis.litElementPolyfillSupport;B==null||B({LitElement:M}),(globalThis.litElementVersions??(globalThis.litElementVersions=[])).push("4.0.5");class wt extends M{createRenderRoot(){return this}}var Pt=(r,t,e,s)=>{for(var i=t,n=r.length-1,o;n>=0;n--)(o=r[n])&&(i=o(i)||i);return i};u.MealzRecipeCard=class extends wt{constructor(){super(...arguments),this.titleRecipeCard="",this.recipeId="",this.requestHeaders=new Headers}connectedCallback(){super.connectedCallback(),console.debug("[MealzComponents] loading recipe card"),this.requestHeaders.append("Authorization","Bearer <your-token>"),this.requestHeaders.append("miam-origin","partners"),this.requestHeaders.append("Content-Type","application/vnd.api+json")}render(){this.recipeCard=this.querySelector(".mealz-recipe-card"),this.recipeCard&&this.getInitialStatus()}getInitialStatus(){var i;const t=(i=this.attributes["starting-data"])==null?void 0:i.value;if(console.log(t),!t)return;const{id:e,title:s}=JSON.parse(t);this.recipeId=e,this.titleRecipeCard=s,this.removeAttribute("starting-data"),this.updateDOM()}updateDOM(){this.recipeCard.querySelectorAll("span").forEach(t=>t.textContent=this.titleRecipeCard)}},u.MealzRecipeCard=Pt([b("mealz-recipe-card")],u.MealzRecipeCard),window.customElements.get("mealz-recipe-card")||window.customElements.define("mealz-recipe-card",u.MealzRecipeCard),Object.defineProperty(u,Symbol.toStringTag,{value:"Module"})});
@@ -4,7 +4,7 @@
4
4
  * SPDX-License-Identifier: BSD-3-Clause
5
5
  */
6
6
  const N = globalThis, V = N.ShadowRoot && (N.ShadyCSS === void 0 || N.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, F = Symbol(), W = /* @__PURE__ */ new WeakMap();
7
- let nt = class {
7
+ let ot = class {
8
8
  constructor(t, e, i) {
9
9
  if (this._$cssResult$ = !0, i !== F)
10
10
  throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
@@ -23,7 +23,7 @@ let nt = class {
23
23
  return this.cssText;
24
24
  }
25
25
  };
26
- const dt = (s) => new nt(typeof s == "string" ? s : s + "", void 0, F), ct = (s, ...t) => {
26
+ const dt = (s) => new ot(typeof s == "string" ? s : s + "", void 0, F), ht = (s, ...t) => {
27
27
  const e = s.length === 1 ? s[0] : t.reduce((i, o, r) => i + ((n) => {
28
28
  if (n._$cssResult$ === !0)
29
29
  return n.cssText;
@@ -31,8 +31,8 @@ const dt = (s) => new nt(typeof s == "string" ? s : s + "", void 0, F), ct = (s,
31
31
  return n;
32
32
  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.");
33
33
  })(o) + s[r + 1], s[0]);
34
- return new nt(e, s, F);
35
- }, ut = (s, t) => {
34
+ return new ot(e, s, F);
35
+ }, ct = (s, t) => {
36
36
  if (V)
37
37
  s.adoptedStyleSheets = t.map((e) => e instanceof CSSStyleSheet ? e : e.styleSheet);
38
38
  else
@@ -51,10 +51,10 @@ const dt = (s) => new nt(typeof s == "string" ? s : s + "", void 0, F), ct = (s,
51
51
  * Copyright 2017 Google LLC
52
52
  * SPDX-License-Identifier: BSD-3-Clause
53
53
  */
54
- const { is: mt, defineProperty: gt, getOwnPropertyDescriptor: ft, getOwnPropertyNames: _t, getOwnPropertySymbols: $t, getPrototypeOf: bt } = Object, b = globalThis, Z = b.trustedTypes, yt = Z ? Z.emptyScript : "", z = b.reactiveElementPolyfillSupport, P = (s, t) => s, I = { toAttribute(s, t) {
54
+ const { is: ut, defineProperty: mt, getOwnPropertyDescriptor: gt, getOwnPropertyNames: ft, getOwnPropertySymbols: _t, getPrototypeOf: $t } = Object, b = globalThis, Z = b.trustedTypes, bt = Z ? Z.emptyScript : "", z = b.reactiveElementPolyfillSupport, P = (s, t) => s, I = { toAttribute(s, t) {
55
55
  switch (t) {
56
56
  case Boolean:
57
- s = s ? yt : null;
57
+ s = s ? bt : null;
58
58
  break;
59
59
  case Object:
60
60
  case Array:
@@ -79,7 +79,7 @@ const { is: mt, defineProperty: gt, getOwnPropertyDescriptor: ft, getOwnProperty
79
79
  }
80
80
  }
81
81
  return e;
82
- } }, J = (s, t) => !mt(s, t), K = { attribute: !0, type: String, converter: I, reflect: !1, hasChanged: J };
82
+ } }, J = (s, t) => !ut(s, t), K = { attribute: !0, type: String, converter: I, reflect: !1, hasChanged: J };
83
83
  Symbol.metadata ?? (Symbol.metadata = Symbol("metadata")), b.litPropertyMetadata ?? (b.litPropertyMetadata = /* @__PURE__ */ new WeakMap());
84
84
  class w extends HTMLElement {
85
85
  static addInitializer(t) {
@@ -91,11 +91,11 @@ class w extends HTMLElement {
91
91
  static createProperty(t, e = K) {
92
92
  if (e.state && (e.attribute = !1), this._$Ei(), this.elementProperties.set(t, e), !e.noAccessor) {
93
93
  const i = Symbol(), o = this.getPropertyDescriptor(t, i, e);
94
- o !== void 0 && gt(this.prototype, t, o);
94
+ o !== void 0 && mt(this.prototype, t, o);
95
95
  }
96
96
  }
97
97
  static getPropertyDescriptor(t, e, i) {
98
- const { get: o, set: r } = ft(this.prototype, t) ?? { get() {
98
+ const { get: o, set: r } = gt(this.prototype, t) ?? { get() {
99
99
  return this[e];
100
100
  }, set(n) {
101
101
  this[e] = n;
@@ -113,14 +113,14 @@ class w extends HTMLElement {
113
113
  static _$Ei() {
114
114
  if (this.hasOwnProperty(P("elementProperties")))
115
115
  return;
116
- const t = bt(this);
116
+ const t = $t(this);
117
117
  t.finalize(), t.l !== void 0 && (this.l = [...t.l]), this.elementProperties = new Map(t.elementProperties);
118
118
  }
119
119
  static finalize() {
120
120
  if (this.hasOwnProperty(P("finalized")))
121
121
  return;
122
122
  if (this.finalized = !0, this._$Ei(), this.hasOwnProperty(P("properties"))) {
123
- const e = this.properties, i = [..._t(e), ...$t(e)];
123
+ const e = this.properties, i = [...ft(e), ..._t(e)];
124
124
  for (const o of i)
125
125
  this.createProperty(o, e[o]);
126
126
  }
@@ -175,7 +175,7 @@ class w extends HTMLElement {
175
175
  }
176
176
  createRenderRoot() {
177
177
  const t = this.shadowRoot ?? this.attachShadow(this.constructor.shadowRootOptions);
178
- return ut(t, this.constructor.elementStyles), t;
178
+ return ct(t, this.constructor.elementStyles), t;
179
179
  }
180
180
  connectedCallback() {
181
181
  var t;
@@ -298,34 +298,34 @@ w.elementStyles = [], w.shadowRootOptions = { mode: "open" }, w[P("elementProper
298
298
  * Copyright 2017 Google LLC
299
299
  * SPDX-License-Identifier: BSD-3-Clause
300
300
  */
301
- const L = globalThis, B = L.trustedTypes, Y = B ? B.createPolicy("lit-html", { createHTML: (s) => s }) : void 0, rt = "$lit$", $ = `lit$${(Math.random() + "").slice(9)}$`, at = "?" + $, vt = `<${at}>`, A = document, U = () => A.createComment(""), M = (s) => s === null || typeof s != "object" && typeof s != "function", lt = Array.isArray, xt = (s) => lt(s) || typeof (s == null ? void 0 : s[Symbol.iterator]) == "function", D = `[
301
+ const L = globalThis, B = L.trustedTypes, Y = B ? B.createPolicy("lit-html", { createHTML: (s) => s }) : void 0, nt = "$lit$", $ = `lit$${Math.random().toFixed(9).slice(2)}$`, rt = "?" + $, yt = `<${rt}>`, A = document, U = () => A.createComment(""), M = (s) => s === null || typeof s != "object" && typeof s != "function", at = Array.isArray, vt = (s) => at(s) || typeof (s == null ? void 0 : s[Symbol.iterator]) == "function", D = `[
302
302
  \f\r]`, C = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, Q = /-->/g, X = />/g, v = RegExp(`>|${D}(?:([^\\s"'>=/]+)(${D}*=${D}*(?:[^
303
- \f\r"'\`<>=]|("|')|))|$)`, "g"), tt = /'/g, et = /"/g, pt = /^(?:script|style|textarea|title)$/i, At = (s) => (t, ...e) => ({ _$litType$: s, strings: t, values: e }), u = At(1), S = Symbol.for("lit-noChange"), d = Symbol.for("lit-nothing"), st = /* @__PURE__ */ new WeakMap(), x = A.createTreeWalker(A, 129);
304
- function ht(s, t) {
303
+ \f\r"'\`<>=]|("|')|))|$)`, "g"), tt = /'/g, et = /"/g, lt = /^(?:script|style|textarea|title)$/i, xt = (s) => (t, ...e) => ({ _$litType$: s, strings: t, values: e }), u = xt(1), S = Symbol.for("lit-noChange"), h = Symbol.for("lit-nothing"), st = /* @__PURE__ */ new WeakMap(), x = A.createTreeWalker(A, 129);
304
+ function pt(s, t) {
305
305
  if (!Array.isArray(s) || !s.hasOwnProperty("raw"))
306
306
  throw Error("invalid template strings array");
307
307
  return Y !== void 0 ? Y.createHTML(t) : t;
308
308
  }
309
- const wt = (s, t) => {
309
+ const At = (s, t) => {
310
310
  const e = s.length - 1, i = [];
311
311
  let o, r = t === 2 ? "<svg>" : "", n = C;
312
312
  for (let l = 0; l < e; l++) {
313
313
  const a = s[l];
314
- let h, c, p = -1, f = 0;
314
+ let d, c, p = -1, f = 0;
315
315
  for (; f < a.length && (n.lastIndex = f, c = n.exec(a), c !== null); )
316
- f = n.lastIndex, n === C ? c[1] === "!--" ? n = Q : c[1] !== void 0 ? n = X : c[2] !== void 0 ? (pt.test(c[2]) && (o = RegExp("</" + c[2], "g")), n = v) : c[3] !== void 0 && (n = v) : n === v ? c[0] === ">" ? (n = o ?? C, p = -1) : c[1] === void 0 ? p = -2 : (p = n.lastIndex - c[2].length, h = c[1], n = c[3] === void 0 ? v : c[3] === '"' ? et : tt) : n === et || n === tt ? n = v : n === Q || n === X ? n = C : (n = v, o = void 0);
316
+ f = n.lastIndex, n === C ? c[1] === "!--" ? n = Q : c[1] !== void 0 ? n = X : c[2] !== void 0 ? (lt.test(c[2]) && (o = RegExp("</" + c[2], "g")), n = v) : c[3] !== void 0 && (n = v) : n === v ? c[0] === ">" ? (n = o ?? C, p = -1) : c[1] === void 0 ? p = -2 : (p = n.lastIndex - c[2].length, d = c[1], n = c[3] === void 0 ? v : c[3] === '"' ? et : tt) : n === et || n === tt ? n = v : n === Q || n === X ? n = C : (n = v, o = void 0);
317
317
  const _ = n === v && s[l + 1].startsWith("/>") ? " " : "";
318
- r += n === C ? a + vt : p >= 0 ? (i.push(h), a.slice(0, p) + rt + a.slice(p) + $ + _) : a + $ + (p === -2 ? l : _);
318
+ r += n === C ? a + yt : p >= 0 ? (i.push(d), a.slice(0, p) + nt + a.slice(p) + $ + _) : a + $ + (p === -2 ? l : _);
319
319
  }
320
- return [ht(s, r + (s[e] || "<?>") + (t === 2 ? "</svg>" : "")), i];
320
+ return [pt(s, r + (s[e] || "<?>") + (t === 2 ? "</svg>" : "")), i];
321
321
  };
322
322
  class R {
323
323
  constructor({ strings: t, _$litType$: e }, i) {
324
324
  let o;
325
325
  this.parts = [];
326
326
  let r = 0, n = 0;
327
- const l = t.length - 1, a = this.parts, [h, c] = wt(t, e);
328
- if (this.el = R.createElement(h, i), x.currentNode = this.el.content, e === 2) {
327
+ const l = t.length - 1, a = this.parts, [d, c] = At(t, e);
328
+ if (this.el = R.createElement(d, i), x.currentNode = this.el.content, e === 2) {
329
329
  const p = this.el.content.firstChild;
330
330
  p.replaceWith(...p.childNodes);
331
331
  }
@@ -333,12 +333,12 @@ class R {
333
333
  if (o.nodeType === 1) {
334
334
  if (o.hasAttributes())
335
335
  for (const p of o.getAttributeNames())
336
- if (p.endsWith(rt)) {
336
+ if (p.endsWith(nt)) {
337
337
  const f = c[n++], _ = o.getAttribute(p).split($), O = /([.?@])?(.*)/.exec(f);
338
- a.push({ type: 1, index: r, name: O[2], strings: _, ctor: O[1] === "." ? Et : O[1] === "?" ? Ct : O[1] === "@" ? Pt : H }), o.removeAttribute(p);
338
+ a.push({ type: 1, index: r, name: O[2], strings: _, ctor: O[1] === "." ? St : O[1] === "?" ? Et : O[1] === "@" ? Ct : H }), o.removeAttribute(p);
339
339
  } else
340
340
  p.startsWith($) && (a.push({ type: 6, index: r }), o.removeAttribute(p));
341
- if (pt.test(o.tagName)) {
341
+ if (lt.test(o.tagName)) {
342
342
  const p = o.textContent.split($), f = p.length - 1;
343
343
  if (f > 0) {
344
344
  o.textContent = B ? B.emptyScript : "";
@@ -348,7 +348,7 @@ class R {
348
348
  }
349
349
  }
350
350
  } else if (o.nodeType === 8)
351
- if (o.data === at)
351
+ if (o.data === rt)
352
352
  a.push({ type: 2, index: r });
353
353
  else {
354
354
  let p = -1;
@@ -371,7 +371,7 @@ function E(s, t, e = s, i) {
371
371
  const r = M(t) ? void 0 : t._$litDirective$;
372
372
  return (o == null ? void 0 : o.constructor) !== r && ((l = o == null ? void 0 : o._$AO) == null || l.call(o, !1), r === void 0 ? o = void 0 : (o = new r(s), o._$AT(s, e, i)), i !== void 0 ? (e._$Co ?? (e._$Co = []))[i] = o : e._$Cl = o), o !== void 0 && (t = E(s, o._$AS(s, t.values), o, i)), t;
373
373
  }
374
- class St {
374
+ class wt {
375
375
  constructor(t, e) {
376
376
  this._$AV = [], this._$AN = void 0, this._$AD = t, this._$AM = e;
377
377
  }
@@ -387,8 +387,8 @@ class St {
387
387
  let r = x.nextNode(), n = 0, l = 0, a = i[0];
388
388
  for (; a !== void 0; ) {
389
389
  if (n === a.index) {
390
- let h;
391
- a.type === 2 ? h = new k(r, r.nextSibling, this, t) : a.type === 1 ? h = new a.ctor(r, a.name, a.strings, this, t) : a.type === 6 && (h = new Lt(r, this, t)), this._$AV.push(h), a = i[++l];
390
+ let d;
391
+ a.type === 2 ? d = new k(r, r.nextSibling, this, t) : a.type === 1 ? d = new a.ctor(r, a.name, a.strings, this, t) : a.type === 6 && (d = new Pt(r, this, t)), this._$AV.push(d), a = i[++l];
392
392
  }
393
393
  n !== (a == null ? void 0 : a.index) && (r = x.nextNode(), n++);
394
394
  }
@@ -406,7 +406,7 @@ class k {
406
406
  return ((t = this._$AM) == null ? void 0 : t._$AU) ?? this._$Cv;
407
407
  }
408
408
  constructor(t, e, i, o) {
409
- this.type = 2, this._$AH = d, this._$AN = void 0, this._$AA = t, this._$AB = e, this._$AM = i, this.options = o, this._$Cv = (o == null ? void 0 : o.isConnected) ?? !0;
409
+ this.type = 2, this._$AH = h, this._$AN = void 0, this._$AA = t, this._$AB = e, this._$AM = i, this.options = o, this._$Cv = (o == null ? void 0 : o.isConnected) ?? !0;
410
410
  }
411
411
  get parentNode() {
412
412
  let t = this._$AA.parentNode;
@@ -420,7 +420,7 @@ class k {
420
420
  return this._$AB;
421
421
  }
422
422
  _$AI(t, e = this) {
423
- t = E(this, t, e), M(t) ? t === d || t == null || t === "" ? (this._$AH !== d && this._$AR(), this._$AH = d) : t !== this._$AH && t !== S && this._(t) : t._$litType$ !== void 0 ? this.$(t) : t.nodeType !== void 0 ? this.T(t) : xt(t) ? this.k(t) : this._(t);
423
+ t = E(this, t, e), M(t) ? t === h || t == null || t === "" ? (this._$AH !== h && this._$AR(), this._$AH = h) : t !== this._$AH && t !== S && this._(t) : t._$litType$ !== void 0 ? this.$(t) : t.nodeType !== void 0 ? this.T(t) : vt(t) ? this.k(t) : this._(t);
424
424
  }
425
425
  S(t) {
426
426
  return this._$AA.parentNode.insertBefore(t, this._$AB);
@@ -429,15 +429,15 @@ class k {
429
429
  this._$AH !== t && (this._$AR(), this._$AH = this.S(t));
430
430
  }
431
431
  _(t) {
432
- this._$AH !== d && M(this._$AH) ? this._$AA.nextSibling.data = t : this.T(A.createTextNode(t)), this._$AH = t;
432
+ this._$AH !== h && M(this._$AH) ? this._$AA.nextSibling.data = t : this.T(A.createTextNode(t)), this._$AH = t;
433
433
  }
434
434
  $(t) {
435
435
  var r;
436
- const { values: e, _$litType$: i } = t, o = typeof i == "number" ? this._$AC(t) : (i.el === void 0 && (i.el = R.createElement(ht(i.h, i.h[0]), this.options)), i);
436
+ const { values: e, _$litType$: i } = t, o = typeof i == "number" ? this._$AC(t) : (i.el === void 0 && (i.el = R.createElement(pt(i.h, i.h[0]), this.options)), i);
437
437
  if (((r = this._$AH) == null ? void 0 : r._$AD) === o)
438
438
  this._$AH.p(e);
439
439
  else {
440
- const n = new St(o, this), l = n.u(this.options);
440
+ const n = new wt(o, this), l = n.u(this.options);
441
441
  n.p(e), this.T(l), this._$AH = n;
442
442
  }
443
443
  }
@@ -446,7 +446,7 @@ class k {
446
446
  return e === void 0 && st.set(t.strings, e = new R(t)), e;
447
447
  }
448
448
  k(t) {
449
- lt(this._$AH) || (this._$AH = [], this._$AR());
449
+ at(this._$AH) || (this._$AH = [], this._$AR());
450
450
  const e = this._$AH;
451
451
  let i, o = 0;
452
452
  for (const r of t)
@@ -473,7 +473,7 @@ class H {
473
473
  return this._$AM._$AU;
474
474
  }
475
475
  constructor(t, e, i, o, r) {
476
- this.type = 1, this._$AH = d, this._$AN = void 0, this.element = t, this.name = e, this._$AM = o, this.options = r, i.length > 2 || i[0] !== "" || i[1] !== "" ? (this._$AH = Array(i.length - 1).fill(new String()), this.strings = i) : this._$AH = d;
476
+ this.type = 1, this._$AH = h, this._$AN = void 0, this.element = t, this.name = e, this._$AM = o, this.options = r, i.length > 2 || i[0] !== "" || i[1] !== "" ? (this._$AH = Array(i.length - 1).fill(new String()), this.strings = i) : this._$AH = h;
477
477
  }
478
478
  _$AI(t, e = this, i, o) {
479
479
  const r = this.strings;
@@ -482,40 +482,40 @@ class H {
482
482
  t = E(this, t, e, 0), n = !M(t) || t !== this._$AH && t !== S, n && (this._$AH = t);
483
483
  else {
484
484
  const l = t;
485
- let a, h;
485
+ let a, d;
486
486
  for (t = r[0], a = 0; a < r.length - 1; a++)
487
- h = E(this, l[i + a], e, a), h === S && (h = this._$AH[a]), n || (n = !M(h) || h !== this._$AH[a]), h === d ? t = d : t !== d && (t += (h ?? "") + r[a + 1]), this._$AH[a] = h;
487
+ d = E(this, l[i + a], e, a), d === S && (d = this._$AH[a]), n || (n = !M(d) || d !== this._$AH[a]), d === h ? t = h : t !== h && (t += (d ?? "") + r[a + 1]), this._$AH[a] = d;
488
488
  }
489
489
  n && !o && this.j(t);
490
490
  }
491
491
  j(t) {
492
- t === d ? this.element.removeAttribute(this.name) : this.element.setAttribute(this.name, t ?? "");
492
+ t === h ? this.element.removeAttribute(this.name) : this.element.setAttribute(this.name, t ?? "");
493
493
  }
494
494
  }
495
- class Et extends H {
495
+ class St extends H {
496
496
  constructor() {
497
497
  super(...arguments), this.type = 3;
498
498
  }
499
499
  j(t) {
500
- this.element[this.name] = t === d ? void 0 : t;
500
+ this.element[this.name] = t === h ? void 0 : t;
501
501
  }
502
502
  }
503
- class Ct extends H {
503
+ class Et extends H {
504
504
  constructor() {
505
505
  super(...arguments), this.type = 4;
506
506
  }
507
507
  j(t) {
508
- this.element.toggleAttribute(this.name, !!t && t !== d);
508
+ this.element.toggleAttribute(this.name, !!t && t !== h);
509
509
  }
510
510
  }
511
- class Pt extends H {
511
+ class Ct extends H {
512
512
  constructor(t, e, i, o, r) {
513
513
  super(t, e, i, o, r), this.type = 5;
514
514
  }
515
515
  _$AI(t, e = this) {
516
- if ((t = E(this, t, e, 0) ?? d) === S)
516
+ if ((t = E(this, t, e, 0) ?? h) === S)
517
517
  return;
518
- const i = this._$AH, o = t === d && i !== d || t.capture !== i.capture || t.once !== i.once || t.passive !== i.passive, r = t !== d && (i === d || o);
518
+ const i = this._$AH, o = t === h && i !== h || t.capture !== i.capture || t.once !== i.once || t.passive !== i.passive, r = t !== h && (i === h || o);
519
519
  o && this.element.removeEventListener(this.name, this, i), r && this.element.addEventListener(this.name, this, t), this._$AH = t;
520
520
  }
521
521
  handleEvent(t) {
@@ -523,7 +523,7 @@ class Pt extends H {
523
523
  typeof this._$AH == "function" ? this._$AH.call(((e = this.options) == null ? void 0 : e.host) ?? this.element, t) : this._$AH.handleEvent(t);
524
524
  }
525
525
  }
526
- class Lt {
526
+ class Pt {
527
527
  constructor(t, e, i) {
528
528
  this.element = t, this.type = 6, this._$AN = void 0, this._$AM = e, this.options = i;
529
529
  }
@@ -535,8 +535,8 @@ class Lt {
535
535
  }
536
536
  }
537
537
  const j = L.litHtmlPolyfillSupport;
538
- j == null || j(R, k), (L.litHtmlVersions ?? (L.litHtmlVersions = [])).push("3.1.2");
539
- const Tt = (s, t, e) => {
538
+ j == null || j(R, k), (L.litHtmlVersions ?? (L.litHtmlVersions = [])).push("3.1.3");
539
+ const Lt = (s, t, e) => {
540
540
  const i = (e == null ? void 0 : e.renderBefore) ?? t;
541
541
  let o = i._$litPart$;
542
542
  if (o === void 0) {
@@ -561,7 +561,7 @@ class T extends w {
561
561
  }
562
562
  update(t) {
563
563
  const e = this.render();
564
- this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), super.update(t), this._$Do = Tt(e, this.renderRoot, this.renderOptions);
564
+ this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), super.update(t), this._$Do = Lt(e, this.renderRoot, this.renderOptions);
565
565
  }
566
566
  connectedCallback() {
567
567
  var t;
@@ -575,17 +575,17 @@ class T extends w {
575
575
  return S;
576
576
  }
577
577
  }
578
- var ot;
579
- T._$litElement$ = !0, T.finalized = !0, (ot = globalThis.litElementHydrateSupport) == null || ot.call(globalThis, { LitElement: T });
578
+ var it;
579
+ T._$litElement$ = !0, T.finalized = !0, (it = globalThis.litElementHydrateSupport) == null || it.call(globalThis, { LitElement: T });
580
580
  const q = globalThis.litElementPolyfillSupport;
581
581
  q == null || q({ LitElement: T });
582
- (globalThis.litElementVersions ?? (globalThis.litElementVersions = [])).push("4.0.4");
582
+ (globalThis.litElementVersions ?? (globalThis.litElementVersions = [])).push("4.0.5");
583
583
  /**
584
584
  * @license
585
585
  * Copyright 2017 Google LLC
586
586
  * SPDX-License-Identifier: BSD-3-Clause
587
587
  */
588
- const Ut = (s) => (t, e) => {
588
+ const Tt = (s) => (t, e) => {
589
589
  e !== void 0 ? e.addInitializer(() => {
590
590
  customElements.define(s, t);
591
591
  }) : customElements.define(s, t);
@@ -595,7 +595,7 @@ const Ut = (s) => (t, e) => {
595
595
  * Copyright 2017 Google LLC
596
596
  * SPDX-License-Identifier: BSD-3-Clause
597
597
  */
598
- const Mt = { attribute: !0, type: String, converter: I, reflect: !1, hasChanged: J }, Rt = (s = Mt, t, e) => {
598
+ const Ut = { attribute: !0, type: String, converter: I, reflect: !1, hasChanged: J }, Mt = (s = Ut, t, e) => {
599
599
  const { kind: i, metadata: o } = e;
600
600
  let r = globalThis.litPropertyMetadata.get(o);
601
601
  if (r === void 0 && globalThis.litPropertyMetadata.set(o, r = /* @__PURE__ */ new Map()), r.set(e.name, s), i === "accessor") {
@@ -617,7 +617,7 @@ const Mt = { attribute: !0, type: String, converter: I, reflect: !1, hasChanged:
617
617
  throw Error("Unsupported decorator location: " + i);
618
618
  };
619
619
  function y(s) {
620
- return (t, e) => typeof e == "object" ? Rt(s, t, e) : ((i, o, r) => {
620
+ return (t, e) => typeof e == "object" ? Mt(s, t, e) : ((i, o, r) => {
621
621
  const n = o.hasOwnProperty(r);
622
622
  return o.constructor.createProperty(r, n ? { ...i, wrapped: !0 } : i), n ? Object.getOwnPropertyDescriptor(o, r) : void 0;
623
623
  })(s, t, e);
@@ -627,7 +627,7 @@ function y(s) {
627
627
  * Copyright 2017 Google LLC
628
628
  * SPDX-License-Identifier: BSD-3-Clause
629
629
  */
630
- function kt(s) {
630
+ function Rt(s) {
631
631
  return y({ ...s, state: !0, attribute: !1 });
632
632
  }
633
633
  /**
@@ -635,7 +635,7 @@ function kt(s) {
635
635
  * Copyright 2017 Google LLC
636
636
  * SPDX-License-Identifier: BSD-3-Clause
637
637
  */
638
- const it = (s, t, e) => (e.configurable = !0, e.enumerable = !0, Reflect.decorate && typeof t != "object" && Object.defineProperty(s, t, e), e);
638
+ const kt = (s, t, e) => (e.configurable = !0, e.enumerable = !0, Reflect.decorate && typeof t != "object" && Object.defineProperty(s, t, e), e);
639
639
  /**
640
640
  * @license
641
641
  * Copyright 2017 Google LLC
@@ -647,21 +647,7 @@ function Ot(s, t) {
647
647
  var l;
648
648
  return ((l = n.renderRoot) == null ? void 0 : l.querySelector(s)) ?? null;
649
649
  };
650
- if (t) {
651
- const { get: n, set: l } = typeof i == "object" ? e : o ?? (() => {
652
- const a = Symbol();
653
- return { get() {
654
- return this[a];
655
- }, set(h) {
656
- this[a] = h;
657
- } };
658
- })();
659
- return it(e, i, { get() {
660
- let a = n.call(this);
661
- return a === void 0 && (a = r(this), (a !== null || this.hasUpdated) && l.call(this, a)), a;
662
- } });
663
- }
664
- return it(e, i, { get() {
650
+ return kt(e, i, { get() {
665
651
  return r(this);
666
652
  } });
667
653
  };
@@ -964,7 +950,7 @@ let m = class extends T {
964
950
  }
965
951
  };
966
952
  m.styles = [
967
- ct`
953
+ ht`
968
954
  :host {
969
955
  display: block;
970
956
  height: 100%;
@@ -1305,13 +1291,13 @@ g([
1305
1291
  y()
1306
1292
  ], m.prototype, "getAffiliateSuppliers", 2);
1307
1293
  g([
1308
- kt()
1294
+ Rt()
1309
1295
  ], m.prototype, "_geolocationCoordinates", 2);
1310
1296
  g([
1311
1297
  Ot("input")
1312
1298
  ], m.prototype, "_addressInput", 2);
1313
1299
  m = g([
1314
- Ut("mealz-store-locator")
1300
+ Tt("mealz-store-locator")
1315
1301
  ], m);
1316
1302
  window.customElements.get("mealz-store-locator") || window.customElements.define("mealz-store-locator", m);
1317
1303
  export {