@fluid-topics/ft-text-area 0.3.30 → 0.3.31

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.
@@ -14,7 +14,7 @@
14
14
  *
15
15
  * @see https://github.com/webcomponents/polyfills/tree/master/packages/scoped-custom-element-registry
16
16
  */
17
- if(!ShadowRoot.prototype.createElement){const t=window.HTMLElement,e=window.customElements.define,i=window.customElements.get,o=window.customElements,r=new WeakMap,s=new WeakMap,n=new WeakMap,a=new WeakMap;let l;window.CustomElementRegistry=class{constructor(){this._definitionsByTag=new Map,this._definitionsByClass=new Map,this._whenDefinedPromises=new Map,this._awaitingUpgrade=new Map}define(t,r){if(t=t.toLowerCase(),void 0!==this._getDefinition(t))throw new DOMException(`Failed to execute 'define' on 'CustomElementRegistry': the name "${t}" has already been used with this registry`);if(void 0!==this._definitionsByClass.get(r))throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");const a=r.prototype.attributeChangedCallback,l=new Set(r.observedAttributes||[]);f(r,l,a);const p={elementClass:r,connectedCallback:r.prototype.connectedCallback,disconnectedCallback:r.prototype.disconnectedCallback,adoptedCallback:r.prototype.adoptedCallback,attributeChangedCallback:a,formAssociated:r.formAssociated,formAssociatedCallback:r.prototype.formAssociatedCallback,formDisabledCallback:r.prototype.formDisabledCallback,formResetCallback:r.prototype.formResetCallback,formStateRestoreCallback:r.prototype.formStateRestoreCallback,observedAttributes:l};this._definitionsByTag.set(t,p),this._definitionsByClass.set(r,p);let h=i.call(o,t);h||(h=c(t),e.call(o,t,h)),this===window.customElements&&(n.set(r,p),p.standInClass=h);const d=this._awaitingUpgrade.get(t);if(d){this._awaitingUpgrade.delete(t);for(const t of d)s.delete(t),u(t,p,!0)}const x=this._whenDefinedPromises.get(t);return void 0!==x&&(x.resolve(r),this._whenDefinedPromises.delete(t)),r}upgrade(){y.push(this),o.upgrade.apply(o,arguments),y.pop()}get(t){return this._definitionsByTag.get(t)?.elementClass}_getDefinition(t){return this._definitionsByTag.get(t)}whenDefined(t){const e=this._getDefinition(t);if(void 0!==e)return Promise.resolve(e.elementClass);let i=this._whenDefinedPromises.get(t);return void 0===i&&(i={},i.promise=new Promise((t=>i.resolve=t)),this._whenDefinedPromises.set(t,i)),i.promise}_upgradeWhenDefined(t,e,i){let o=this._awaitingUpgrade.get(e);o||this._awaitingUpgrade.set(e,o=new Set),i?o.add(t):o.delete(t)}},window.HTMLElement=function(){let e=l;if(e)return l=void 0,e;const i=n.get(this.constructor);if(!i)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return e=Reflect.construct(t,[],i.standInClass),Object.setPrototypeOf(e,this.constructor.prototype),r.set(e,i),e},window.HTMLElement.prototype=t.prototype;const p=t=>t===document||t instanceof ShadowRoot,h=t=>{let e=t.getRootNode();if(!p(e)){const t=y[y.length-1];if(t instanceof CustomElementRegistry)return t;e=t.getRootNode(),p(e)||(e=a.get(e)?.getRootNode()||document)}return e.customElements},c=e=>class{static get formAssociated(){return!0}constructor(){const i=Reflect.construct(t,[],this.constructor);Object.setPrototypeOf(i,HTMLElement.prototype);const o=h(i)||window.customElements,r=o._getDefinition(e);return r?u(i,r):s.set(i,o),i}connectedCallback(){const t=r.get(this);t?t.connectedCallback&&t.connectedCallback.apply(this,arguments):s.get(this)._upgradeWhenDefined(this,e,!0)}disconnectedCallback(){const t=r.get(this);t?t.disconnectedCallback&&t.disconnectedCallback.apply(this,arguments):s.get(this)._upgradeWhenDefined(this,e,!1)}adoptedCallback(){r.get(this)?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){const t=r.get(this);t&&t.formAssociated&&t?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){const t=r.get(this);t?.formAssociated&&t?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){const t=r.get(this);t?.formAssociated&&t?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){const t=r.get(this);t?.formAssociated&&t?.formStateRestoreCallback?.apply(this,arguments)}},f=(t,e,i)=>{if(0===e.size||void 0===i)return;const o=t.prototype.setAttribute;o&&(t.prototype.setAttribute=function(t,r){const s=t.toLowerCase();if(e.has(s)){const t=this.getAttribute(s);o.call(this,s,r),i.call(this,s,t,r)}else o.call(this,s,r)});const r=t.prototype.removeAttribute;r&&(t.prototype.removeAttribute=function(t){const o=t.toLowerCase();if(e.has(o)){const t=this.getAttribute(o);r.call(this,o),i.call(this,o,t,null)}else r.call(this,o)})},d=e=>{const i=Object.getPrototypeOf(e);if(i!==window.HTMLElement)return i===t||"HTMLElement"===i?.prototype?.constructor?.name?Object.setPrototypeOf(e,window.HTMLElement):d(i)},u=(t,e,i=!1)=>{Object.setPrototypeOf(t,e.elementClass.prototype),r.set(t,e),l=t;try{new e.elementClass}catch(t){d(e.elementClass),new e.elementClass}e.observedAttributes.forEach((i=>{t.hasAttribute(i)&&e.attributeChangedCallback.call(t,i,null,t.getAttribute(i))})),i&&e.connectedCallback&&t.isConnected&&e.connectedCallback.call(t)},x=Element.prototype.attachShadow;Element.prototype.attachShadow=function(t){const e=x.apply(this,arguments);return t.customElements&&(e.customElements=t.customElements),e};let y=[document];const g=(t,e,i)=>{const o=(i?Object.getPrototypeOf(i):t.prototype)[e];t.prototype[e]=function(){y.push(this);const t=o.apply(i||this,arguments);return void 0!==t&&a.set(t,this),y.pop(),t}};g(ShadowRoot,"createElement",document),g(ShadowRoot,"importNode",document),g(Element,"insertAdjacentHTML");const v=(t,e)=>{const i=Object.getOwnPropertyDescriptor(t.prototype,e);Object.defineProperty(t.prototype,e,{...i,set(t){y.push(this),i.set.call(this,t),y.pop()}})};if(v(Element,"innerHTML"),v(ShadowRoot,"innerHTML"),Object.defineProperty(window,"customElements",{value:new CustomElementRegistry,configurable:!0,writable:!0}),window.ElementInternals&&window.ElementInternals.prototype.setFormValue){const t=new WeakMap,e=HTMLElement.prototype.attachInternals,i=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...i){const o=e.call(this,...i);return t.set(o,this),o},i.forEach((e=>{const i=window.ElementInternals.prototype,o=i[e];i[e]=function(...e){const i=t.get(this);if(!0!==r.get(i).formAssociated)throw new DOMException(`Failed to execute ${o} on 'ElementInternals': The target element is not a form-associated custom element.`);o?.call(this,...e)}}));class o extends Array{constructor(t){super(...t),this._elements=t}get value(){return this._elements.find((t=>!0===t.checked))?.value||""}}class s{constructor(t){const e=new Map;t.forEach(((t,i)=>{const o=t.getAttribute("name"),r=e.get(o)||[];this[+i]=t,r.push(t),e.set(o,r)})),this.length=t.length,e.forEach(((t,e)=>{t&&(1===t.length?this[e]=t[0]:this[e]=new o(t))}))}namedItem(t){return this[t]}}const n=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){const t=n.get.call(this,[]),e=[];for(const i of t){const t=r.get(i);t&&!0!==t.formAssociated||e.push(i)}return new s(e)}})}}try{window.customElements.define("custom-element",null)}catch(We){const t=window.customElements.define;window.customElements.define=(e,i,o)=>{try{t.bind(window.customElements)(e,i,o)}catch(t){console.info(e,i,o,t)}}}class e{constructor(t=0){this.timeout=t,this.callbacks=[]}run(t,e){this.callbacks=[t],this.debounce(e)}queue(t,e){this.callbacks.push(t),this.debounce(e)}cancel(){null!=this._debounce&&window.clearTimeout(this._debounce)}debounce(t){this.cancel(),this._debounce=window.setTimeout((()=>this.runCallbacks()),null!=t?t:this.timeout)}runCallbacks(){for(let t of this.callbacks)t();this.callbacks=[]}}
17
+ if(!ShadowRoot.prototype.createElement){const t=window.HTMLElement,e=window.customElements.define,i=window.customElements.get,o=window.customElements,r=new WeakMap,s=new WeakMap,n=new WeakMap,a=new WeakMap;let l;window.CustomElementRegistry=class{constructor(){this._definitionsByTag=new Map,this._definitionsByClass=new Map,this._whenDefinedPromises=new Map,this._awaitingUpgrade=new Map}define(t,r){if(t=t.toLowerCase(),void 0!==this._getDefinition(t))throw new DOMException(`Failed to execute 'define' on 'CustomElementRegistry': the name "${t}" has already been used with this registry`);if(void 0!==this._definitionsByClass.get(r))throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");const a=r.prototype.attributeChangedCallback,l=new Set(r.observedAttributes||[]);f(r,l,a);const p={elementClass:r,connectedCallback:r.prototype.connectedCallback,disconnectedCallback:r.prototype.disconnectedCallback,adoptedCallback:r.prototype.adoptedCallback,attributeChangedCallback:a,formAssociated:r.formAssociated,formAssociatedCallback:r.prototype.formAssociatedCallback,formDisabledCallback:r.prototype.formDisabledCallback,formResetCallback:r.prototype.formResetCallback,formStateRestoreCallback:r.prototype.formStateRestoreCallback,observedAttributes:l};this._definitionsByTag.set(t,p),this._definitionsByClass.set(r,p);let h=i.call(o,t);h||(h=c(t),e.call(o,t,h)),this===window.customElements&&(n.set(r,p),p.standInClass=h);const d=this._awaitingUpgrade.get(t);if(d){this._awaitingUpgrade.delete(t);for(const t of d)s.delete(t),u(t,p,!0)}const x=this._whenDefinedPromises.get(t);return void 0!==x&&(x.resolve(r),this._whenDefinedPromises.delete(t)),r}upgrade(){y.push(this),o.upgrade.apply(o,arguments),y.pop()}get(t){return this._definitionsByTag.get(t)?.elementClass}_getDefinition(t){return this._definitionsByTag.get(t)}whenDefined(t){const e=this._getDefinition(t);if(void 0!==e)return Promise.resolve(e.elementClass);let i=this._whenDefinedPromises.get(t);return void 0===i&&(i={},i.promise=new Promise((t=>i.resolve=t)),this._whenDefinedPromises.set(t,i)),i.promise}_upgradeWhenDefined(t,e,i){let o=this._awaitingUpgrade.get(e);o||this._awaitingUpgrade.set(e,o=new Set),i?o.add(t):o.delete(t)}},window.HTMLElement=function(){let e=l;if(e)return l=void 0,e;const i=n.get(this.constructor);if(!i)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return e=Reflect.construct(t,[],i.standInClass),Object.setPrototypeOf(e,this.constructor.prototype),r.set(e,i),e},window.HTMLElement.prototype=t.prototype;const p=t=>t===document||t instanceof ShadowRoot,h=t=>{let e=t.getRootNode();if(!p(e)){const t=y[y.length-1];if(t instanceof CustomElementRegistry)return t;e=t.getRootNode(),p(e)||(e=a.get(e)?.getRootNode()||document)}return e.customElements},c=e=>class{static get formAssociated(){return!0}constructor(){const i=Reflect.construct(t,[],this.constructor);Object.setPrototypeOf(i,HTMLElement.prototype);const o=h(i)||window.customElements,r=o._getDefinition(e);return r?u(i,r):s.set(i,o),i}connectedCallback(){const t=r.get(this);t?t.connectedCallback&&t.connectedCallback.apply(this,arguments):s.get(this)._upgradeWhenDefined(this,e,!0)}disconnectedCallback(){const t=r.get(this);t?t.disconnectedCallback&&t.disconnectedCallback.apply(this,arguments):s.get(this)._upgradeWhenDefined(this,e,!1)}adoptedCallback(){r.get(this)?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){const t=r.get(this);t&&t.formAssociated&&t?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){const t=r.get(this);t?.formAssociated&&t?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){const t=r.get(this);t?.formAssociated&&t?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){const t=r.get(this);t?.formAssociated&&t?.formStateRestoreCallback?.apply(this,arguments)}},f=(t,e,i)=>{if(0===e.size||void 0===i)return;const o=t.prototype.setAttribute;o&&(t.prototype.setAttribute=function(t,r){const s=t.toLowerCase();if(e.has(s)){const t=this.getAttribute(s);o.call(this,s,r),i.call(this,s,t,r)}else o.call(this,s,r)});const r=t.prototype.removeAttribute;r&&(t.prototype.removeAttribute=function(t){const o=t.toLowerCase();if(e.has(o)){const t=this.getAttribute(o);r.call(this,o),i.call(this,o,t,null)}else r.call(this,o)})},d=e=>{const i=Object.getPrototypeOf(e);if(i!==window.HTMLElement)return i===t||"HTMLElement"===i?.prototype?.constructor?.name?Object.setPrototypeOf(e,window.HTMLElement):d(i)},u=(t,e,i=!1)=>{Object.setPrototypeOf(t,e.elementClass.prototype),r.set(t,e),l=t;try{new e.elementClass}catch(t){d(e.elementClass),new e.elementClass}e.observedAttributes.forEach((i=>{t.hasAttribute(i)&&e.attributeChangedCallback.call(t,i,null,t.getAttribute(i))})),i&&e.connectedCallback&&t.isConnected&&e.connectedCallback.call(t)},x=Element.prototype.attachShadow;Element.prototype.attachShadow=function(t){const e=x.apply(this,arguments);return t.customElements&&(e.customElements=t.customElements),e};let y=[document];const g=(t,e,i)=>{const o=(i?Object.getPrototypeOf(i):t.prototype)[e];t.prototype[e]=function(){y.push(this);const t=o.apply(i||this,arguments);return void 0!==t&&a.set(t,this),y.pop(),t}};g(ShadowRoot,"createElement",document),g(ShadowRoot,"importNode",document),g(Element,"insertAdjacentHTML");const v=(t,e)=>{const i=Object.getOwnPropertyDescriptor(t.prototype,e);Object.defineProperty(t.prototype,e,{...i,set(t){y.push(this),i.set.call(this,t),y.pop()}})};if(v(Element,"innerHTML"),v(ShadowRoot,"innerHTML"),Object.defineProperty(window,"customElements",{value:new CustomElementRegistry,configurable:!0,writable:!0}),window.ElementInternals&&window.ElementInternals.prototype.setFormValue){const t=new WeakMap,e=HTMLElement.prototype.attachInternals,i=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...i){const o=e.call(this,...i);return t.set(o,this),o},i.forEach((e=>{const i=window.ElementInternals.prototype,o=i[e];i[e]=function(...e){const i=t.get(this);if(!0!==r.get(i).formAssociated)throw new DOMException(`Failed to execute ${o} on 'ElementInternals': The target element is not a form-associated custom element.`);o?.call(this,...e)}}));class o extends Array{constructor(t){super(...t),this._elements=t}get value(){return this._elements.find((t=>!0===t.checked))?.value||""}}class s{constructor(t){const e=new Map;t.forEach(((t,i)=>{const o=t.getAttribute("name"),r=e.get(o)||[];this[+i]=t,r.push(t),e.set(o,r)})),this.length=t.length,e.forEach(((t,e)=>{t&&(1===t.length?this[e]=t[0]:this[e]=new o(t))}))}namedItem(t){return this[t]}}const n=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){const t=n.get.call(this,[]),e=[];for(const i of t){const t=r.get(i);t&&!0!==t.formAssociated||e.push(i)}return new s(e)}})}}try{window.customElements.define("custom-element",null)}catch(We){const t=window.customElements.define;window.customElements.define=(e,i,o)=>{try{t.bind(window.customElements)(e,i,o)}catch(t){console.info(e,i,o,t)}}}class e{constructor(t=0){this.timeout=t,this.callbacks=[]}run(t,e){return this.callbacks=[t],this.debounce(e)}queue(t,e){return this.callbacks.push(t),this.debounce(e)}cancel(){this.clearTimeout(),this.reject()}debounce(t){return null==this.promise&&(this.promise=new Promise(((t,e)=>{this.resolvePromise=t,this.rejectPromise=e}))),this.clearTimeout(),this._debounce=window.setTimeout((()=>this.runCallbacks()),null!=t?t:this.timeout),this.promise}async runCallbacks(){var t,e;const i=[...this.callbacks];this.callbacks=[];const o=null!==(t=this.rejectPromise)&&void 0!==t?t:()=>null,r=null!==(e=this.resolvePromise)&&void 0!==e?e:()=>null;this.clearPromise();for(let t of i)try{await t()}catch(t){o(t)}r()}clearTimeout(){null!=this._debounce&&window.clearTimeout(this._debounce)}reject(){this.rejectPromise&&(this.rejectPromise(),this.clearPromise())}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}}
18
18
  /**
19
19
  * @license
20
20
  * Copyright 2017 Google LLC
@@ -57,7 +57,7 @@ const l=window,p=l.ShadowRoot&&(void 0===l.ShadyCSS||l.ShadyCSS.nativeShadow)&&"
57
57
  * Copyright 2017 Google LLC
58
58
  * SPDX-License-Identifier: BSD-3-Clause
59
59
  */
60
- var N;k.finalized=!0,k.elementProperties=new Map,k.elementStyles=[],k.shadowRootOptions={mode:"open"},null==$||$({ReactiveElement:k}),(null!==(g=v.reactiveElementVersions)&&void 0!==g?g:v.reactiveElementVersions=[]).push("1.4.1");const E=window,C=E.trustedTypes,R=C?C.createPolicy("lit-html",{createHTML:t=>t}):void 0,z=`lit$${(Math.random()+"").slice(9)}$`,M="?"+z,U=`<${M}>`,F=document,j=(t="")=>F.createComment(t),D=t=>null===t||"object"!=typeof t&&"function"!=typeof t,A=Array.isArray,B=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,L=/-->/g,_=/>/g,P=RegExp(">|[ \t\n\f\r](?:([^\\s\"'>=/]+)([ \t\n\f\r]*=[ \t\n\f\r]*(?:[^ \t\n\f\r\"'`<>=]|(\"|')|))|$)","g"),T=/'/g,W=/"/g,I=/^(?:script|style|textarea|title)$/i,H=(t=>(e,...i)=>({_$litType$:t,strings:e,values:i}))(1),K=Symbol.for("lit-noChange"),Z=Symbol.for("lit-nothing"),V=new WeakMap,J=F.createTreeWalker(F,129,null,!1),q=(t,e)=>{const i=t.length-1,o=[];let r,s=2===e?"<svg>":"",n=B;for(let e=0;e<i;e++){const i=t[e];let a,l,p=-1,h=0;for(;h<i.length&&(n.lastIndex=h,l=n.exec(i),null!==l);)h=n.lastIndex,n===B?"!--"===l[1]?n=L:void 0!==l[1]?n=_:void 0!==l[2]?(I.test(l[2])&&(r=RegExp("</"+l[2],"g")),n=P):void 0!==l[3]&&(n=P):n===P?">"===l[0]?(n=null!=r?r:B,p=-1):void 0===l[1]?p=-2:(p=n.lastIndex-l[2].length,a=l[1],n=void 0===l[3]?P:'"'===l[3]?W:T):n===W||n===T?n=P:n===L||n===_?n=B:(n=P,r=void 0);const c=n===P&&t[e+1].startsWith("/>")?" ":"";s+=n===B?i+U:p>=0?(o.push(a),i.slice(0,p)+"$lit$"+i.slice(p)+z+c):i+z+(-2===p?(o.push(void 0),e):c)}const a=s+(t[i]||"<?>")+(2===e?"</svg>":"");if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return[void 0!==R?R.createHTML(a):a,o]};class X{constructor({strings:t,_$litType$:e},i){let o;this.parts=[];let r=0,s=0;const n=t.length-1,a=this.parts,[l,p]=q(t,e);if(this.el=X.createElement(l,i),J.currentNode=this.el.content,2===e){const t=this.el.content,e=t.firstChild;e.remove(),t.append(...e.childNodes)}for(;null!==(o=J.nextNode())&&a.length<n;){if(1===o.nodeType){if(o.hasAttributes()){const t=[];for(const e of o.getAttributeNames())if(e.endsWith("$lit$")||e.startsWith(z)){const i=p[s++];if(t.push(e),void 0!==i){const t=o.getAttribute(i.toLowerCase()+"$lit$").split(z),e=/([.?@])?(.*)/.exec(i);a.push({type:1,index:r,name:e[2],strings:t,ctor:"."===e[1]?et:"?"===e[1]?ot:"@"===e[1]?rt:tt})}else a.push({type:6,index:r})}for(const e of t)o.removeAttribute(e)}if(I.test(o.tagName)){const t=o.textContent.split(z),e=t.length-1;if(e>0){o.textContent=C?C.emptyScript:"";for(let i=0;i<e;i++)o.append(t[i],j()),J.nextNode(),a.push({type:2,index:++r});o.append(t[e],j())}}}else if(8===o.nodeType)if(o.data===M)a.push({type:2,index:r});else{let t=-1;for(;-1!==(t=o.data.indexOf(z,t+1));)a.push({type:7,index:r}),t+=z.length-1}r++}}static createElement(t,e){const i=F.createElement("template");return i.innerHTML=t,i}}function Y(t,e,i=t,o){var r,s,n,a;if(e===K)return e;let l=void 0!==o?null===(r=i._$Co)||void 0===r?void 0:r[o]:i._$Cl;const p=D(e)?void 0:e._$litDirective$;return(null==l?void 0:l.constructor)!==p&&(null===(s=null==l?void 0:l._$AO)||void 0===s||s.call(l,!1),void 0===p?l=void 0:(l=new p(t),l._$AT(t,i,o)),void 0!==o?(null!==(n=(a=i)._$Co)&&void 0!==n?n:a._$Co=[])[o]=l:i._$Cl=l),void 0!==l&&(e=Y(t,l._$AS(t,e.values),l,o)),e}class G{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:i},parts:o}=this._$AD,r=(null!==(e=null==t?void 0:t.creationScope)&&void 0!==e?e:F).importNode(i,!0);J.currentNode=r;let s=J.nextNode(),n=0,a=0,l=o[0];for(;void 0!==l;){if(n===l.index){let e;2===l.type?e=new Q(s,s.nextSibling,this,t):1===l.type?e=new l.ctor(s,l.name,l.strings,this,t):6===l.type&&(e=new st(s,this,t)),this.u.push(e),l=o[++a]}n!==(null==l?void 0:l.index)&&(s=J.nextNode(),n++)}return r}p(t){let e=0;for(const i of this.u)void 0!==i&&(void 0!==i.strings?(i._$AI(t,i,e),e+=i.strings.length-2):i._$AI(t[e])),e++}}class Q{constructor(t,e,i,o){var r;this.type=2,this._$AH=Z,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=i,this.options=o,this._$Cm=null===(r=null==o?void 0:o.isConnected)||void 0===r||r}get _$AU(){var t,e;return null!==(e=null===(t=this._$AM)||void 0===t?void 0:t._$AU)&&void 0!==e?e:this._$Cm}get parentNode(){let t=this._$AA.parentNode;const e=this._$AM;return void 0!==e&&11===t.nodeType&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=Y(this,t,e),D(t)?t===Z||null==t||""===t?(this._$AH!==Z&&this._$AR(),this._$AH=Z):t!==this._$AH&&t!==K&&this.g(t):void 0!==t._$litType$?this.$(t):void 0!==t.nodeType?this.T(t):(t=>A(t)||"function"==typeof(null==t?void 0:t[Symbol.iterator]))(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!==Z&&D(this._$AH)?this._$AA.nextSibling.data=t:this.T(F.createTextNode(t)),this._$AH=t}$(t){var e;const{values:i,_$litType$:o}=t,r="number"==typeof o?this._$AC(t):(void 0===o.el&&(o.el=X.createElement(o.h,this.options)),o);if((null===(e=this._$AH)||void 0===e?void 0:e._$AD)===r)this._$AH.p(i);else{const t=new G(r,this),e=t.v(this.options);t.p(i),this.T(e),this._$AH=t}}_$AC(t){let e=V.get(t.strings);return void 0===e&&V.set(t.strings,e=new X(t)),e}k(t){A(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let i,o=0;for(const r of t)o===e.length?e.push(i=new Q(this.O(j()),this.O(j()),this,this.options)):i=e[o],i._$AI(r),o++;o<e.length&&(this._$AR(i&&i._$AB.nextSibling,o),e.length=o)}_$AR(t=this._$AA.nextSibling,e){var i;for(null===(i=this._$AP)||void 0===i||i.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._$Cm=t,null===(e=this._$AP)||void 0===e||e.call(this,t))}}class tt{constructor(t,e,i,o,r){this.type=1,this._$AH=Z,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=Z}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,e=this,i,o){const r=this.strings;let s=!1;if(void 0===r)t=Y(this,t,e,0),s=!D(t)||t!==this._$AH&&t!==K,s&&(this._$AH=t);else{const o=t;let n,a;for(t=r[0],n=0;n<r.length-1;n++)a=Y(this,o[i+n],e,n),a===K&&(a=this._$AH[n]),s||(s=!D(a)||a!==this._$AH[n]),a===Z?t=Z:t!==Z&&(t+=(null!=a?a:"")+r[n+1]),this._$AH[n]=a}s&&!o&&this.j(t)}j(t){t===Z?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}}class et extends tt{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===Z?void 0:t}}const it=C?C.emptyScript:"";class ot extends tt{constructor(){super(...arguments),this.type=4}j(t){t&&t!==Z?this.element.setAttribute(this.name,it):this.element.removeAttribute(this.name)}}class rt extends tt{constructor(t,e,i,o,r){super(t,e,i,o,r),this.type=5}_$AI(t,e=this){var i;if((t=null!==(i=Y(this,t,e,0))&&void 0!==i?i:Z)===K)return;const o=this._$AH,r=t===Z&&o!==Z||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,s=t!==Z&&(o===Z||r);r&&this.element.removeEventListener(this.name,this,o),s&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){var e,i;"function"==typeof this._$AH?this._$AH.call(null!==(i=null===(e=this.options)||void 0===e?void 0:e.host)&&void 0!==i?i:this.element,t):this._$AH.handleEvent(t)}}class st{constructor(t,e,i){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=i}get _$AU(){return this._$AM._$AU}_$AI(t){Y(this,t)}}const nt=E.litHtmlPolyfillSupport;null==nt||nt(X,Q),(null!==(N=E.litHtmlVersions)&&void 0!==N?N:E.litHtmlVersions=[]).push("2.4.0");
60
+ var N;k.finalized=!0,k.elementProperties=new Map,k.elementStyles=[],k.shadowRootOptions={mode:"open"},null==$||$({ReactiveElement:k}),(null!==(g=v.reactiveElementVersions)&&void 0!==g?g:v.reactiveElementVersions=[]).push("1.4.1");const E=window,C=E.trustedTypes,R=C?C.createPolicy("lit-html",{createHTML:t=>t}):void 0,z=`lit$${(Math.random()+"").slice(9)}$`,M="?"+z,U=`<${M}>`,F=document,j=(t="")=>F.createComment(t),D=t=>null===t||"object"!=typeof t&&"function"!=typeof t,A=Array.isArray,B=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,L=/-->/g,P=/>/g,T=RegExp(">|[ \t\n\f\r](?:([^\\s\"'>=/]+)([ \t\n\f\r]*=[ \t\n\f\r]*(?:[^ \t\n\f\r\"'`<>=]|(\"|')|))|$)","g"),_=/'/g,W=/"/g,I=/^(?:script|style|textarea|title)$/i,H=(t=>(e,...i)=>({_$litType$:t,strings:e,values:i}))(1),K=Symbol.for("lit-noChange"),Z=Symbol.for("lit-nothing"),V=new WeakMap,J=F.createTreeWalker(F,129,null,!1),q=(t,e)=>{const i=t.length-1,o=[];let r,s=2===e?"<svg>":"",n=B;for(let e=0;e<i;e++){const i=t[e];let a,l,p=-1,h=0;for(;h<i.length&&(n.lastIndex=h,l=n.exec(i),null!==l);)h=n.lastIndex,n===B?"!--"===l[1]?n=L:void 0!==l[1]?n=P:void 0!==l[2]?(I.test(l[2])&&(r=RegExp("</"+l[2],"g")),n=T):void 0!==l[3]&&(n=T):n===T?">"===l[0]?(n=null!=r?r:B,p=-1):void 0===l[1]?p=-2:(p=n.lastIndex-l[2].length,a=l[1],n=void 0===l[3]?T:'"'===l[3]?W:_):n===W||n===_?n=T:n===L||n===P?n=B:(n=T,r=void 0);const c=n===T&&t[e+1].startsWith("/>")?" ":"";s+=n===B?i+U:p>=0?(o.push(a),i.slice(0,p)+"$lit$"+i.slice(p)+z+c):i+z+(-2===p?(o.push(void 0),e):c)}const a=s+(t[i]||"<?>")+(2===e?"</svg>":"");if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return[void 0!==R?R.createHTML(a):a,o]};class X{constructor({strings:t,_$litType$:e},i){let o;this.parts=[];let r=0,s=0;const n=t.length-1,a=this.parts,[l,p]=q(t,e);if(this.el=X.createElement(l,i),J.currentNode=this.el.content,2===e){const t=this.el.content,e=t.firstChild;e.remove(),t.append(...e.childNodes)}for(;null!==(o=J.nextNode())&&a.length<n;){if(1===o.nodeType){if(o.hasAttributes()){const t=[];for(const e of o.getAttributeNames())if(e.endsWith("$lit$")||e.startsWith(z)){const i=p[s++];if(t.push(e),void 0!==i){const t=o.getAttribute(i.toLowerCase()+"$lit$").split(z),e=/([.?@])?(.*)/.exec(i);a.push({type:1,index:r,name:e[2],strings:t,ctor:"."===e[1]?et:"?"===e[1]?ot:"@"===e[1]?rt:tt})}else a.push({type:6,index:r})}for(const e of t)o.removeAttribute(e)}if(I.test(o.tagName)){const t=o.textContent.split(z),e=t.length-1;if(e>0){o.textContent=C?C.emptyScript:"";for(let i=0;i<e;i++)o.append(t[i],j()),J.nextNode(),a.push({type:2,index:++r});o.append(t[e],j())}}}else if(8===o.nodeType)if(o.data===M)a.push({type:2,index:r});else{let t=-1;for(;-1!==(t=o.data.indexOf(z,t+1));)a.push({type:7,index:r}),t+=z.length-1}r++}}static createElement(t,e){const i=F.createElement("template");return i.innerHTML=t,i}}function Y(t,e,i=t,o){var r,s,n,a;if(e===K)return e;let l=void 0!==o?null===(r=i._$Co)||void 0===r?void 0:r[o]:i._$Cl;const p=D(e)?void 0:e._$litDirective$;return(null==l?void 0:l.constructor)!==p&&(null===(s=null==l?void 0:l._$AO)||void 0===s||s.call(l,!1),void 0===p?l=void 0:(l=new p(t),l._$AT(t,i,o)),void 0!==o?(null!==(n=(a=i)._$Co)&&void 0!==n?n:a._$Co=[])[o]=l:i._$Cl=l),void 0!==l&&(e=Y(t,l._$AS(t,e.values),l,o)),e}class G{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:i},parts:o}=this._$AD,r=(null!==(e=null==t?void 0:t.creationScope)&&void 0!==e?e:F).importNode(i,!0);J.currentNode=r;let s=J.nextNode(),n=0,a=0,l=o[0];for(;void 0!==l;){if(n===l.index){let e;2===l.type?e=new Q(s,s.nextSibling,this,t):1===l.type?e=new l.ctor(s,l.name,l.strings,this,t):6===l.type&&(e=new st(s,this,t)),this.u.push(e),l=o[++a]}n!==(null==l?void 0:l.index)&&(s=J.nextNode(),n++)}return r}p(t){let e=0;for(const i of this.u)void 0!==i&&(void 0!==i.strings?(i._$AI(t,i,e),e+=i.strings.length-2):i._$AI(t[e])),e++}}class Q{constructor(t,e,i,o){var r;this.type=2,this._$AH=Z,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=i,this.options=o,this._$Cm=null===(r=null==o?void 0:o.isConnected)||void 0===r||r}get _$AU(){var t,e;return null!==(e=null===(t=this._$AM)||void 0===t?void 0:t._$AU)&&void 0!==e?e:this._$Cm}get parentNode(){let t=this._$AA.parentNode;const e=this._$AM;return void 0!==e&&11===t.nodeType&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=Y(this,t,e),D(t)?t===Z||null==t||""===t?(this._$AH!==Z&&this._$AR(),this._$AH=Z):t!==this._$AH&&t!==K&&this.g(t):void 0!==t._$litType$?this.$(t):void 0!==t.nodeType?this.T(t):(t=>A(t)||"function"==typeof(null==t?void 0:t[Symbol.iterator]))(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!==Z&&D(this._$AH)?this._$AA.nextSibling.data=t:this.T(F.createTextNode(t)),this._$AH=t}$(t){var e;const{values:i,_$litType$:o}=t,r="number"==typeof o?this._$AC(t):(void 0===o.el&&(o.el=X.createElement(o.h,this.options)),o);if((null===(e=this._$AH)||void 0===e?void 0:e._$AD)===r)this._$AH.p(i);else{const t=new G(r,this),e=t.v(this.options);t.p(i),this.T(e),this._$AH=t}}_$AC(t){let e=V.get(t.strings);return void 0===e&&V.set(t.strings,e=new X(t)),e}k(t){A(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let i,o=0;for(const r of t)o===e.length?e.push(i=new Q(this.O(j()),this.O(j()),this,this.options)):i=e[o],i._$AI(r),o++;o<e.length&&(this._$AR(i&&i._$AB.nextSibling,o),e.length=o)}_$AR(t=this._$AA.nextSibling,e){var i;for(null===(i=this._$AP)||void 0===i||i.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._$Cm=t,null===(e=this._$AP)||void 0===e||e.call(this,t))}}class tt{constructor(t,e,i,o,r){this.type=1,this._$AH=Z,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=Z}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,e=this,i,o){const r=this.strings;let s=!1;if(void 0===r)t=Y(this,t,e,0),s=!D(t)||t!==this._$AH&&t!==K,s&&(this._$AH=t);else{const o=t;let n,a;for(t=r[0],n=0;n<r.length-1;n++)a=Y(this,o[i+n],e,n),a===K&&(a=this._$AH[n]),s||(s=!D(a)||a!==this._$AH[n]),a===Z?t=Z:t!==Z&&(t+=(null!=a?a:"")+r[n+1]),this._$AH[n]=a}s&&!o&&this.j(t)}j(t){t===Z?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}}class et extends tt{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===Z?void 0:t}}const it=C?C.emptyScript:"";class ot extends tt{constructor(){super(...arguments),this.type=4}j(t){t&&t!==Z?this.element.setAttribute(this.name,it):this.element.removeAttribute(this.name)}}class rt extends tt{constructor(t,e,i,o,r){super(t,e,i,o,r),this.type=5}_$AI(t,e=this){var i;if((t=null!==(i=Y(this,t,e,0))&&void 0!==i?i:Z)===K)return;const o=this._$AH,r=t===Z&&o!==Z||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,s=t!==Z&&(o===Z||r);r&&this.element.removeEventListener(this.name,this,o),s&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){var e,i;"function"==typeof this._$AH?this._$AH.call(null!==(i=null===(e=this.options)||void 0===e?void 0:e.host)&&void 0!==i?i:this.element,t):this._$AH.handleEvent(t)}}class st{constructor(t,e,i){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=i}get _$AU(){return this._$AM._$AU}_$AI(t){Y(this,t)}}const nt=E.litHtmlPolyfillSupport;null==nt||nt(X,Q),(null!==(N=E.litHtmlVersions)&&void 0!==N?N:E.litHtmlVersions=[]).push("2.4.0");
61
61
  /**
62
62
  * @license
63
63
  * Copyright 2017 Google LLC
@@ -68,7 +68,7 @@ var at,lt;class pt extends k{constructor(){super(...arguments),this.renderOption
68
68
  * @license
69
69
  * Copyright 2021 Google LLC
70
70
  * SPDX-License-Identifier: BSD-3-Clause
71
- */var ut=function(t,e,i,o){for(var r,s=arguments.length,n=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,a=t.length-1;a>=0;a--)(r=t[a])&&(n=(s<3?r(n):s>3?r(e,i,n):r(e,i))||n);return s>3&&n&&Object.defineProperty(e,i,n),n};class xt extends(function(t){return class extends t{createRenderRoot(){const t=this.constructor,{registry:e,elementDefinitions:i,shadowRootOptions:o}=t;i&&!e&&(t.registry=new CustomElementRegistry,Object.entries(i).forEach((([e,i])=>t.registry.define(e,i))));const r=this.renderOptions.creationScope=this.attachShadow({...o,customElements:t.registry});return x(r,this.constructor.elementStyles),r}}}(pt)){constructor(){super(...arguments),this.exportpartsDebouncer=new e(5)}getStyles(){return[]}getTemplate(){return null}render(){let t=this.getStyles();return Array.isArray(t)||(t=[t]),H`
71
+ */var ut=function(t,e,i,o){for(var r,s=arguments.length,n=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,a=t.length-1;a>=0;a--)(r=t[a])&&(n=(s<3?r(n):s>3?r(e,i,n):r(e,i))||n);return s>3&&n&&Object.defineProperty(e,i,n),n};class xt extends(function(t){return class extends t{createRenderRoot(){const t=this.constructor,{registry:e,elementDefinitions:i,shadowRootOptions:o}=t;i&&!e&&(t.registry=new CustomElementRegistry,Object.entries(i).forEach((([e,i])=>t.registry.define(e,i))));const r=this.renderOptions.creationScope=this.attachShadow({...o,customElements:t.registry});return x(r,this.constructor.elementStyles),r}}}(pt)){constructor(){super(),this.exportpartsDebouncer=new e(5),this.constructorName=this.constructor.name,this.constructorPrototype=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this.constructorName&&Object.setPrototypeOf(this,this.constructorPrototype)}getStyles(){return[]}getTemplate(){return null}render(){let t=this.getStyles();return Array.isArray(t)||(t=[t]),H`
72
72
  ${t.map((t=>H`
73
73
  <style>${t}</style>
74
74
  `))}
@@ -110,7 +110,7 @@ const bt=1,mt=2,$t=t=>(...e)=>({_$litDirective$:t,values:e});class wt{constructo
110
110
  * @license
111
111
  * Copyright 2020 Google LLC
112
112
  * SPDX-License-Identifier: BSD-3-Clause
113
- */var Rt;!function(t){t.title="title",t.title_dense="title-dense",t.subtitle1="subtitle1",t.subtitle2="subtitle2",t.body1="body1",t.body2="body2",t.caption="caption",t.breadcrumb="breadcrumb",t.overline="overline",t.button="button"}(Rt||(Rt={}));const zt=ct.extend("--ft-typography-font-family",dt.titleFont),Mt=ct.extend("--ft-typography-font-family",dt.contentFont),Ut={fontFamily:Mt,fontSize:ct.create("--ft-typography-font-size","SIZE","16px"),fontWeight:ct.create("--ft-typography-font-weight","UNKNOWN","normal"),letterSpacing:ct.create("--ft-typography-letter-spacing","SIZE","0.496px"),lineHeight:ct.create("--ft-typography-line-height","NUMBER","1.5"),textTransform:ct.create("--ft-typography-text-transform","UNKNOWN","inherit")},Ft=ct.extend("--ft-typography-title-font-family",zt),jt=ct.extend("--ft-typography-title-font-size",Ut.fontSize,"20px"),Dt=ct.extend("--ft-typography-title-font-weight",Ut.fontWeight,"normal"),At=ct.extend("--ft-typography-title-letter-spacing",Ut.letterSpacing,"0.15px"),Bt=ct.extend("--ft-typography-title-line-height",Ut.lineHeight,"1.2"),Lt=ct.extend("--ft-typography-title-text-transform",Ut.textTransform,"inherit"),_t=ct.extend("--ft-typography-title-dense-font-family",zt),Pt=ct.extend("--ft-typography-title-dense-font-size",Ut.fontSize,"14px"),Tt=ct.extend("--ft-typography-title-dense-font-weight",Ut.fontWeight,"normal"),Wt=ct.extend("--ft-typography-title-dense-letter-spacing",Ut.letterSpacing,"0.105px"),It=ct.extend("--ft-typography-title-dense-line-height",Ut.lineHeight,"1.7"),Ht=ct.extend("--ft-typography-title-dense-text-transform",Ut.textTransform,"inherit"),Kt=ct.extend("--ft-typography-subtitle1-font-family",Mt),Zt=ct.extend("--ft-typography-subtitle1-font-size",Ut.fontSize,"16px"),Vt=ct.extend("--ft-typography-subtitle1-font-weight",Ut.fontWeight,"600"),Jt=ct.extend("--ft-typography-subtitle1-letter-spacing",Ut.letterSpacing,"0.144px"),qt=ct.extend("--ft-typography-subtitle1-line-height",Ut.lineHeight,"1.5"),Xt=ct.extend("--ft-typography-subtitle1-text-transform",Ut.textTransform,"inherit"),Yt=ct.extend("--ft-typography-subtitle2-font-family",Mt),Gt=ct.extend("--ft-typography-subtitle2-font-size",Ut.fontSize,"14px"),Qt=ct.extend("--ft-typography-subtitle2-font-weight",Ut.fontWeight,"normal"),te=ct.extend("--ft-typography-subtitle2-letter-spacing",Ut.letterSpacing,"0.098px"),ee=ct.extend("--ft-typography-subtitle2-line-height",Ut.lineHeight,"1.7"),ie=ct.extend("--ft-typography-subtitle2-text-transform",Ut.textTransform,"inherit"),oe={fontFamily:ct.extend("--ft-typography-body1-font-family",Mt),fontSize:ct.extend("--ft-typography-body1-font-size",Ut.fontSize,"16px"),fontWeight:ct.extend("--ft-typography-body1-font-weight",Ut.fontWeight,"normal"),letterSpacing:ct.extend("--ft-typography-body1-letter-spacing",Ut.letterSpacing,"0.496px"),lineHeight:ct.extend("--ft-typography-body1-line-height",Ut.lineHeight,"1.5"),textTransform:ct.extend("--ft-typography-body1-text-transform",Ut.textTransform,"inherit")},re=ct.extend("--ft-typography-body2-font-family",Mt),se=ct.extend("--ft-typography-body2-font-size",Ut.fontSize,"14px"),ne=ct.extend("--ft-typography-body2-font-weight",Ut.fontWeight,"normal"),ae=ct.extend("--ft-typography-body2-letter-spacing",Ut.letterSpacing,"0.252px"),le=ct.extend("--ft-typography-body2-line-height",Ut.lineHeight,"1.4"),pe=ct.extend("--ft-typography-body2-text-transform",Ut.textTransform,"inherit"),he={fontFamily:ct.extend("--ft-typography-caption-font-family",Mt),fontSize:ct.extend("--ft-typography-caption-font-size",Ut.fontSize,"12px"),fontWeight:ct.extend("--ft-typography-caption-font-weight",Ut.fontWeight,"normal"),letterSpacing:ct.extend("--ft-typography-caption-letter-spacing",Ut.letterSpacing,"0.396px"),lineHeight:ct.extend("--ft-typography-caption-line-height",Ut.lineHeight,"1.33"),textTransform:ct.extend("--ft-typography-caption-text-transform",Ut.textTransform,"inherit")},ce=ct.extend("--ft-typography-breadcrumb-font-family",Mt),fe=ct.extend("--ft-typography-breadcrumb-font-size",Ut.fontSize,"10px"),de=ct.extend("--ft-typography-breadcrumb-font-weight",Ut.fontWeight,"normal"),ue=ct.extend("--ft-typography-breadcrumb-letter-spacing",Ut.letterSpacing,"0.33px"),xe=ct.extend("--ft-typography-breadcrumb-line-height",Ut.lineHeight,"1.6"),ye=ct.extend("--ft-typography-breadcrumb-text-transform",Ut.textTransform,"inherit"),ge=ct.extend("--ft-typography-overline-font-family",Mt),ve=ct.extend("--ft-typography-overline-font-size",Ut.fontSize,"10px"),be=ct.extend("--ft-typography-overline-font-weight",Ut.fontWeight,"normal"),me=ct.extend("--ft-typography-overline-letter-spacing",Ut.letterSpacing,"1.5px"),$e=ct.extend("--ft-typography-overline-line-height",Ut.lineHeight,"1.6"),we=ct.extend("--ft-typography-overline-text-transform",Ut.textTransform,"uppercase"),Oe=ct.extend("--ft-typography-button-font-family",Mt),Se=ct.extend("--ft-typography-button-font-size",Ut.fontSize,"14px"),ke=ct.extend("--ft-typography-button-font-weight",Ut.fontWeight,"600"),Ne=ct.extend("--ft-typography-button-letter-spacing",Ut.letterSpacing,"1.246px"),Ee=ct.extend("--ft-typography-button-line-height",Ut.lineHeight,"1.15"),Ce=ct.extend("--ft-typography-button-text-transform",Ut.textTransform,"uppercase"),Re=u`
113
+ */var Rt;!function(t){t.title="title",t.title_dense="title-dense",t.subtitle1="subtitle1",t.subtitle2="subtitle2",t.body1="body1",t.body2="body2",t.caption="caption",t.breadcrumb="breadcrumb",t.overline="overline",t.button="button"}(Rt||(Rt={}));const zt=ct.extend("--ft-typography-font-family",dt.titleFont),Mt=ct.extend("--ft-typography-font-family",dt.contentFont),Ut={fontFamily:Mt,fontSize:ct.create("--ft-typography-font-size","SIZE","16px"),fontWeight:ct.create("--ft-typography-font-weight","UNKNOWN","normal"),letterSpacing:ct.create("--ft-typography-letter-spacing","SIZE","0.496px"),lineHeight:ct.create("--ft-typography-line-height","NUMBER","1.5"),textTransform:ct.create("--ft-typography-text-transform","UNKNOWN","inherit")},Ft=ct.extend("--ft-typography-title-font-family",zt),jt=ct.extend("--ft-typography-title-font-size",Ut.fontSize,"20px"),Dt=ct.extend("--ft-typography-title-font-weight",Ut.fontWeight,"normal"),At=ct.extend("--ft-typography-title-letter-spacing",Ut.letterSpacing,"0.15px"),Bt=ct.extend("--ft-typography-title-line-height",Ut.lineHeight,"1.2"),Lt=ct.extend("--ft-typography-title-text-transform",Ut.textTransform,"inherit"),Pt=ct.extend("--ft-typography-title-dense-font-family",zt),Tt=ct.extend("--ft-typography-title-dense-font-size",Ut.fontSize,"14px"),_t=ct.extend("--ft-typography-title-dense-font-weight",Ut.fontWeight,"normal"),Wt=ct.extend("--ft-typography-title-dense-letter-spacing",Ut.letterSpacing,"0.105px"),It=ct.extend("--ft-typography-title-dense-line-height",Ut.lineHeight,"1.7"),Ht=ct.extend("--ft-typography-title-dense-text-transform",Ut.textTransform,"inherit"),Kt=ct.extend("--ft-typography-subtitle1-font-family",Mt),Zt=ct.extend("--ft-typography-subtitle1-font-size",Ut.fontSize,"16px"),Vt=ct.extend("--ft-typography-subtitle1-font-weight",Ut.fontWeight,"600"),Jt=ct.extend("--ft-typography-subtitle1-letter-spacing",Ut.letterSpacing,"0.144px"),qt=ct.extend("--ft-typography-subtitle1-line-height",Ut.lineHeight,"1.5"),Xt=ct.extend("--ft-typography-subtitle1-text-transform",Ut.textTransform,"inherit"),Yt=ct.extend("--ft-typography-subtitle2-font-family",Mt),Gt=ct.extend("--ft-typography-subtitle2-font-size",Ut.fontSize,"14px"),Qt=ct.extend("--ft-typography-subtitle2-font-weight",Ut.fontWeight,"normal"),te=ct.extend("--ft-typography-subtitle2-letter-spacing",Ut.letterSpacing,"0.098px"),ee=ct.extend("--ft-typography-subtitle2-line-height",Ut.lineHeight,"1.7"),ie=ct.extend("--ft-typography-subtitle2-text-transform",Ut.textTransform,"inherit"),oe={fontFamily:ct.extend("--ft-typography-body1-font-family",Mt),fontSize:ct.extend("--ft-typography-body1-font-size",Ut.fontSize,"16px"),fontWeight:ct.extend("--ft-typography-body1-font-weight",Ut.fontWeight,"normal"),letterSpacing:ct.extend("--ft-typography-body1-letter-spacing",Ut.letterSpacing,"0.496px"),lineHeight:ct.extend("--ft-typography-body1-line-height",Ut.lineHeight,"1.5"),textTransform:ct.extend("--ft-typography-body1-text-transform",Ut.textTransform,"inherit")},re=ct.extend("--ft-typography-body2-font-family",Mt),se=ct.extend("--ft-typography-body2-font-size",Ut.fontSize,"14px"),ne=ct.extend("--ft-typography-body2-font-weight",Ut.fontWeight,"normal"),ae=ct.extend("--ft-typography-body2-letter-spacing",Ut.letterSpacing,"0.252px"),le=ct.extend("--ft-typography-body2-line-height",Ut.lineHeight,"1.4"),pe=ct.extend("--ft-typography-body2-text-transform",Ut.textTransform,"inherit"),he={fontFamily:ct.extend("--ft-typography-caption-font-family",Mt),fontSize:ct.extend("--ft-typography-caption-font-size",Ut.fontSize,"12px"),fontWeight:ct.extend("--ft-typography-caption-font-weight",Ut.fontWeight,"normal"),letterSpacing:ct.extend("--ft-typography-caption-letter-spacing",Ut.letterSpacing,"0.396px"),lineHeight:ct.extend("--ft-typography-caption-line-height",Ut.lineHeight,"1.33"),textTransform:ct.extend("--ft-typography-caption-text-transform",Ut.textTransform,"inherit")},ce=ct.extend("--ft-typography-breadcrumb-font-family",Mt),fe=ct.extend("--ft-typography-breadcrumb-font-size",Ut.fontSize,"10px"),de=ct.extend("--ft-typography-breadcrumb-font-weight",Ut.fontWeight,"normal"),ue=ct.extend("--ft-typography-breadcrumb-letter-spacing",Ut.letterSpacing,"0.33px"),xe=ct.extend("--ft-typography-breadcrumb-line-height",Ut.lineHeight,"1.6"),ye=ct.extend("--ft-typography-breadcrumb-text-transform",Ut.textTransform,"inherit"),ge=ct.extend("--ft-typography-overline-font-family",Mt),ve=ct.extend("--ft-typography-overline-font-size",Ut.fontSize,"10px"),be=ct.extend("--ft-typography-overline-font-weight",Ut.fontWeight,"normal"),me=ct.extend("--ft-typography-overline-letter-spacing",Ut.letterSpacing,"1.5px"),$e=ct.extend("--ft-typography-overline-line-height",Ut.lineHeight,"1.6"),we=ct.extend("--ft-typography-overline-text-transform",Ut.textTransform,"uppercase"),Oe=ct.extend("--ft-typography-button-font-family",Mt),Se=ct.extend("--ft-typography-button-font-size",Ut.fontSize,"14px"),ke=ct.extend("--ft-typography-button-font-weight",Ut.fontWeight,"600"),Ne=ct.extend("--ft-typography-button-letter-spacing",Ut.letterSpacing,"1.246px"),Ee=ct.extend("--ft-typography-button-line-height",Ut.lineHeight,"1.15"),Ce=ct.extend("--ft-typography-button-text-transform",Ut.textTransform,"uppercase"),Re=u`
114
114
  .ft-typography--title {
115
115
  font-family: ${Ft};
116
116
  font-size: ${jt};
@@ -121,9 +121,9 @@ const bt=1,mt=2,$t=t=>(...e)=>({_$litDirective$:t,values:e});class wt{constructo
121
121
  }
122
122
  `,ze=u`
123
123
  .ft-typography--title-dense {
124
- font-family: ${_t};
125
- font-size: ${Pt};
126
- font-weight: ${Tt};
124
+ font-family: ${Pt};
125
+ font-size: ${Tt};
126
+ font-weight: ${_t};
127
127
  letter-spacing: ${Wt};
128
128
  line-height: ${It};
129
129
  text-transform: ${Ht};
@@ -201,18 +201,18 @@ const bt=1,mt=2,$t=t=>(...e)=>({_$litDirective$:t,values:e});class wt{constructo
201
201
  line-height: ${Ee};
202
202
  text-transform: ${Ce};
203
203
  }
204
- `,_e=u`
204
+ `,Pe=u`
205
205
  .ft-typography {
206
206
  vertical-align: inherit;
207
207
  }
208
- `;var Pe=function(t,e,i,o){for(var r,s=arguments.length,n=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,a=t.length-1;a>=0;a--)(r=t[a])&&(n=(s<3?r(n):s>3?r(e,i,n):r(e,i))||n);return s>3&&n&&Object.defineProperty(e,i,n),n};class Te extends xt{constructor(){super(...arguments),this.variant=Rt.body1}render(){return this.element?Ct`
208
+ `;var Te=function(t,e,i,o){for(var r,s=arguments.length,n=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,a=t.length-1;a>=0;a--)(r=t[a])&&(n=(s<3?r(n):s>3?r(e,i,n):r(e,i))||n);return s>3&&n&&Object.defineProperty(e,i,n),n};class _e extends xt{constructor(){super(...arguments),this.variant=Rt.body1}render(){return this.element?Ct`
209
209
  <${Nt(this.element)}
210
210
  class="ft-typography ft-typography--${this.variant}">
211
211
  <slot></slot>
212
212
  </${Nt(this.element)}>
213
213
  `:Ct`
214
214
  <slot class="ft-typography ft-typography--${this.variant}"></slot>
215
- `}}Te.styles=[Re,ze,Me,Ue,Fe,je,De,Ae,Be,Le,_e],Pe([o()],Te.prototype,"element",void 0),Pe([o()],Te.prototype,"variant",void 0),a("ft-typography")(Te);
215
+ `}}_e.styles=[Re,ze,Me,Ue,Fe,je,De,Ae,Be,Le,Pe],Te([o()],_e.prototype,"element",void 0),Te([o()],_e.prototype,"variant",void 0),a("ft-typography")(_e);
216
216
  /**
217
217
  * @license
218
218
  * Copyright 2017 Google LLC
@@ -659,4 +659,4 @@ class We extends wt{constructor(t){if(super(t),this.it=Z,t.type!==mt)throw Error
659
659
  ${this.helper}
660
660
  </ft-typography>`:void 0}
661
661
  </div>
662
- `}updated(t){super.updated(t),t.has("value")&&this.dispatchEvent(new CustomEvent("live-change",{detail:this.value}))}onKeyDown(t){"Enter"!==t.key&&" "!==t.key||t.stopPropagation()}updateValueFromInputField(){this.dispatchEvent(new CustomEvent("change",{detail:this.value}))}liveUpdateValueFromInputField(){var t;this.value=(null===(t=this.textarea)||void 0===t?void 0:t.value)||""}onResize(t){t.detail.height>=50&&(this.height=t.detail.height)}}ki.elementDefinitions={"ft-input-label":hi,"ft-resizer":ni,"ft-ripple":$i,"ft-typography":Te},ki.styles=[Fe,Oi],Si([o({type:String})],ki.prototype,"label",void 0),Si([o({reflect:!0})],ki.prototype,"value",void 0),Si([o({type:String})],ki.prototype,"helper",void 0),Si([o({type:Boolean})],ki.prototype,"outlined",void 0),Si([o({type:Boolean})],ki.prototype,"disabled",void 0),Si([o({type:Boolean})],ki.prototype,"error",void 0),Si([o({type:Number,reflect:!0})],ki.prototype,"height",void 0),Si([s("textarea")],ki.prototype,"textarea",void 0),Si([r()],ki.prototype,"focused",void 0),a("ft-text-area")(ki),t.FtTextArea=ki,t.FtTextAreaCssVariables=wi,t.styles=Oi,Object.defineProperty(t,"i",{value:!0})}({});
662
+ `}updated(t){super.updated(t),t.has("value")&&this.dispatchEvent(new CustomEvent("live-change",{detail:this.value}))}onKeyDown(t){"Enter"!==t.key&&" "!==t.key||t.stopPropagation()}updateValueFromInputField(){this.dispatchEvent(new CustomEvent("change",{detail:this.value}))}liveUpdateValueFromInputField(){var t;this.value=(null===(t=this.textarea)||void 0===t?void 0:t.value)||""}onResize(t){t.detail.height>=50&&(this.height=t.detail.height)}}ki.elementDefinitions={"ft-input-label":hi,"ft-resizer":ni,"ft-ripple":$i,"ft-typography":_e},ki.styles=[Fe,Oi],Si([o({type:String})],ki.prototype,"label",void 0),Si([o({reflect:!0})],ki.prototype,"value",void 0),Si([o({type:String})],ki.prototype,"helper",void 0),Si([o({type:Boolean})],ki.prototype,"outlined",void 0),Si([o({type:Boolean})],ki.prototype,"disabled",void 0),Si([o({type:Boolean})],ki.prototype,"error",void 0),Si([o({type:Number,reflect:!0})],ki.prototype,"height",void 0),Si([s("textarea")],ki.prototype,"textarea",void 0),Si([r()],ki.prototype,"focused",void 0),a("ft-text-area")(ki),t.FtTextArea=ki,t.FtTextAreaCssVariables=wi,t.styles=Oi,Object.defineProperty(t,"i",{value:!0})}({});
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluid-topics/ft-text-area",
3
- "version": "0.3.30",
3
+ "version": "0.3.31",
4
4
  "description": "A fluidtopics text field",
5
5
  "keywords": [
6
6
  "Lit"
@@ -19,10 +19,10 @@
19
19
  "url": "ssh://git@scm.mrs.antidot.net:2222/fluidtopics/ft-web-components.git"
20
20
  },
21
21
  "dependencies": {
22
- "@fluid-topics/ft-resizer": "0.3.30",
23
- "@fluid-topics/ft-ripple": "0.3.30",
24
- "@fluid-topics/ft-wc-utils": "0.3.30",
22
+ "@fluid-topics/ft-resizer": "0.3.31",
23
+ "@fluid-topics/ft-ripple": "0.3.31",
24
+ "@fluid-topics/ft-wc-utils": "0.3.31",
25
25
  "lit": "2.2.8"
26
26
  },
27
- "gitHead": "b82e37919b38b7a367762ddc9a1780dc0280d5d2"
27
+ "gitHead": "65117d677b7174e71b6c695661d333e2a9ac8eae"
28
28
  }