@fluid-topics/ft-icon 0.1.17 → 0.1.18

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.
@@ -1,5 +1,4 @@
1
1
  import { ElementDefinitionsMap, FtCssVariable, FtLitElement } from "@fluid-topics/ft-wc-utils";
2
- export * from "./icons";
3
2
  export declare enum FtIconVariants {
4
3
  fluid_topics = "fluid-topics",
5
4
  file_format = "file-format"
@@ -16,10 +15,10 @@ export declare const FtIconFluidTopics: import("lit").CSSResult;
16
15
  export declare const FtIconFileFormat: import("lit").CSSResult;
17
16
  export declare class FtIcon extends FtLitElement implements FtIconProperties {
18
17
  static elementDefinitions: ElementDefinitionsMap;
19
- protected getStyles(): import("lit").CSSResult[];
18
+ static styles: import("lit").CSSResult[];
20
19
  variant: FtIconVariants;
21
20
  private slottedContent?;
22
- protected getTemplate(): import("lit-html").TemplateResult<1>;
21
+ protected render(): import("lit-html").TemplateResult<1>;
23
22
  get textContent(): string;
24
23
  private getIcon;
25
24
  }
@@ -0,0 +1,138 @@
1
+ !function(){
2
+ /**
3
+ * @license
4
+ * Copyright (c) 2020 The Polymer Project Authors. All rights reserved.
5
+ * This code may only be used under the BSD style license found at
6
+ * http://polymer.github.io/LICENSE.txt
7
+ * The complete set of authors may be found at
8
+ * http://polymer.github.io/AUTHORS.txt
9
+ * The complete set of contributors may be found at
10
+ * http://polymer.github.io/CONTRIBUTORS.txt
11
+ * Code distributed by Google as part of the polymer project is also
12
+ * subject to an additional IP rights grant found at
13
+ * http://polymer.github.io/PATENTS.txt
14
+ *
15
+ * @see https://github.com/webcomponents/polyfills/tree/master/packages/scoped-custom-element-registry
16
+ */
17
+ if(!ShadowRoot.prototype.createElement){const t=window.HTMLElement,e=window.customElements.define,i=window.customElements.get,s=window.customElements,n=new WeakMap,o=new WeakMap,r=new WeakMap,l=new WeakMap;let a;window.CustomElementRegistry=class{constructor(){this._definitionsByTag=new Map,this._definitionsByClass=new Map,this._whenDefinedPromises=new Map,this._awaitingUpgrade=new Map}define(t,n){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(n))throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");const l=n.prototype.attributeChangedCallback,a=new Set(n.observedAttributes||[]);u(n,a,l);const c={elementClass:n,connectedCallback:n.prototype.connectedCallback,disconnectedCallback:n.prototype.disconnectedCallback,adoptedCallback:n.prototype.adoptedCallback,attributeChangedCallback:l,formAssociated:n.formAssociated,formAssociatedCallback:n.prototype.formAssociatedCallback,formDisabledCallback:n.prototype.formDisabledCallback,formResetCallback:n.prototype.formResetCallback,formStateRestoreCallback:n.prototype.formStateRestoreCallback,observedAttributes:a};this._definitionsByTag.set(t,c),this._definitionsByClass.set(n,c);let h=i.call(s,t);h||(h=d(t),e.call(s,t,h)),this===window.customElements&&(r.set(n,c),c.standInClass=h);const p=this._awaitingUpgrade.get(t);if(p){this._awaitingUpgrade.delete(t);for(const t of p)o.delete(t),x(t,c,!0)}const f=this._whenDefinedPromises.get(t);return void 0!==f&&(f.resolve(n),this._whenDefinedPromises.delete(t)),n}upgrade(){v.push(this),s.upgrade.apply(s,arguments),v.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 s=this._awaitingUpgrade.get(e);s||this._awaitingUpgrade.set(e,s=new Set),i?s.add(t):s.delete(t)}},window.HTMLElement=function(){let e=a;if(e)return a=void 0,e;const i=r.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),n.set(e,i),e},window.HTMLElement.prototype=t.prototype;const c=t=>t===document||t instanceof ShadowRoot,h=t=>{let e=t.getRootNode();if(!c(e)){const t=v[v.length-1];if(t instanceof CustomElementRegistry)return t;e=t.getRootNode(),c(e)||(e=l.get(e)?.getRootNode()||document)}return e.customElements},d=e=>class{static get formAssociated(){return!0}constructor(){const i=Reflect.construct(t,[],this.constructor);Object.setPrototypeOf(i,HTMLElement.prototype);const s=h(i)||window.customElements,n=s._getDefinition(e);return n?x(i,n):o.set(i,s),i}connectedCallback(){const t=n.get(this);t?t.connectedCallback&&t.connectedCallback.apply(this,arguments):o.get(this)._upgradeWhenDefined(this,e,!0)}disconnectedCallback(){const t=n.get(this);t?t.disconnectedCallback&&t.disconnectedCallback.apply(this,arguments):o.get(this)._upgradeWhenDefined(this,e,!1)}adoptedCallback(){n.get(this)?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){const t=n.get(this);t&&t.formAssociated&&t?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){const t=n.get(this);t?.formAssociated&&t?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){const t=n.get(this);t?.formAssociated&&t?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){const t=n.get(this);t?.formAssociated&&t?.formStateRestoreCallback?.apply(this,arguments)}},u=(t,e,i)=>{if(0===e.size||void 0===i)return;const s=t.prototype.setAttribute;s&&(t.prototype.setAttribute=function(t,n){const o=t.toLowerCase();if(e.has(o)){const t=this.getAttribute(o);s.call(this,o,n),i.call(this,o,t,n)}else s.call(this,o,n)});const n=t.prototype.removeAttribute;n&&(t.prototype.removeAttribute=function(t){const s=t.toLowerCase();if(e.has(s)){const t=this.getAttribute(s);n.call(this,s),i.call(this,s,t,null)}else n.call(this,s)})},p=e=>{const i=Object.getPrototypeOf(e);if(i!==window.HTMLElement)return i===t||"HTMLElement"===i?.prototype?.constructor?.name?Object.setPrototypeOf(e,window.HTMLElement):p(i)},x=(t,e,i=!1)=>{Object.setPrototypeOf(t,e.elementClass.prototype),n.set(t,e),a=t;try{new e.elementClass}catch(t){p(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)},f=Element.prototype.attachShadow;Element.prototype.attachShadow=function(t){const e=f.apply(this,arguments);return t.customElements&&(e.customElements=t.customElements),e};let v=[document];const m=(t,e,i)=>{const s=(i?Object.getPrototypeOf(i):t.prototype)[e];t.prototype[e]=function(){v.push(this);const t=s.apply(i||this,arguments);return void 0!==t&&l.set(t,this),v.pop(),t}};m(ShadowRoot,"createElement",document),m(ShadowRoot,"importNode",document),m(Element,"insertAdjacentHTML");const g=(t,e)=>{const i=Object.getOwnPropertyDescriptor(t.prototype,e);Object.defineProperty(t.prototype,e,{...i,set(t){v.push(this),i.set.call(this,t),v.pop()}})};if(g(Element,"innerHTML"),g(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 s=e.call(this,...i);return t.set(s,this),s},i.forEach((e=>{const i=window.ElementInternals.prototype,s=i[e];i[e]=function(...e){const i=t.get(this);if(!0!==n.get(i).formAssociated)throw new DOMException(`Failed to execute ${s} on 'ElementInternals': The target element is not a form-associated custom element.`);s?.call(this,...e)}}));class s extends Array{constructor(t){super(...t),this._elements=t}get value(){return this._elements.find((t=>!0===t.checked))?.value||""}}class o{constructor(t){const e=new Map;t.forEach(((t,i)=>{const s=t.getAttribute("name"),n=e.get(s)||[];this[+i]=t,n.push(t),e.set(s,n)})),this.length=t.length,e.forEach(((t,e)=>{t&&(1===t.length?this[e]=t[0]:this[e]=new s(t))}))}namedItem(t){return this[t]}}const r=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){const t=r.get.call(this,[]),e=[];for(const i of t){const t=n.get(i);t&&!0!==t.formAssociated||e.push(i)}return new o(e)}})}}try{window.customElements.define("custom-element",null)}catch(lt){const t=window.customElements.define;window.customElements.define=(e,i,s)=>{try{t.bind(window.customElements)(e,i,s)}catch(t){console.warn(e,i,s,t)}}}
18
+ /**
19
+ * @license
20
+ * Copyright 2017 Google LLC
21
+ * SPDX-License-Identifier: BSD-3-Clause
22
+ */const t=(t,e)=>"method"===e.kind&&e.descriptor&&!("value"in e.descriptor)?{...e,finisher(i){i.createProperty(e.key,t)}}:{kind:"field",key:Symbol(),placement:"own",descriptor:{},originalKey:e.key,initializer(){"function"==typeof e.initializer&&(this[e.key]=e.initializer.call(this))},finisher(i){i.createProperty(e.key,t)}};
23
+ /**
24
+ * @license
25
+ * Copyright 2021 Google LLC
26
+ * SPDX-License-Identifier: BSD-3-Clause
27
+ */
28
+ var e;null===(e=window.HTMLSlotElement)||void 0===e||e.prototype.assignedElements;const i=window.ShadowRoot&&(void 0===window.ShadyCSS||window.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,s=Symbol(),n=new Map;
29
+ /**
30
+ * @license
31
+ * Copyright 2019 Google LLC
32
+ * SPDX-License-Identifier: BSD-3-Clause
33
+ */class o{constructor(t,e){if(this._$cssResult$=!0,e!==s)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t}get styleSheet(){let t=n.get(this.cssText);return i&&void 0===t&&(n.set(this.cssText,t=new CSSStyleSheet),t.replaceSync(this.cssText)),t}toString(){return this.cssText}}const r=t=>new o("string"==typeof t?t:t+"",s),l=(t,...e)=>{const i=1===t.length?t[0]:e.reduce(((e,i,s)=>e+(t=>{if(!0===t._$cssResult$)return t.cssText;if("number"==typeof t)return t;throw Error("Value passed to 'css' function must be a 'css' function result: "+t+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(i)+t[s+1]),t[0]);return new o(i,s)},a=(t,e)=>{i?t.adoptedStyleSheets=e.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet)):e.forEach((e=>{const i=document.createElement("style"),s=window.litNonce;void 0!==s&&i.setAttribute("nonce",s),i.textContent=e.cssText,t.appendChild(i)}))},c=i?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const i of t.cssRules)e+=i.cssText;return r(e)})(t):t
34
+ /**
35
+ * @license
36
+ * Copyright 2017 Google LLC
37
+ * SPDX-License-Identifier: BSD-3-Clause
38
+ */;var h;const d=window.trustedTypes,u=d?d.emptyScript:"",p=window.reactiveElementPolyfillSupport,x={toAttribute(t,e){switch(e){case Boolean:t=t?u:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,e){let i=t;switch(e){case Boolean:i=null!==t;break;case Number:i=null===t?null:Number(t);break;case Object:case Array:try{i=JSON.parse(t)}catch(t){i=null}}return i}},f=(t,e)=>e!==t&&(e==e||t==t),v={attribute:!0,type:String,converter:x,reflect:!1,hasChanged:f};class m extends HTMLElement{constructor(){super(),this._$Et=new Map,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Ei=null,this.o()}static addInitializer(t){var e;null!==(e=this.l)&&void 0!==e||(this.l=[]),this.l.push(t)}static get observedAttributes(){this.finalize();const t=[];return this.elementProperties.forEach(((e,i)=>{const s=this._$Eh(i,e);void 0!==s&&(this._$Eu.set(s,i),t.push(s))})),t}static createProperty(t,e=v){if(e.state&&(e.attribute=!1),this.finalize(),this.elementProperties.set(t,e),!e.noAccessor&&!this.prototype.hasOwnProperty(t)){const i="symbol"==typeof t?Symbol():"__"+t,s=this.getPropertyDescriptor(t,i,e);void 0!==s&&Object.defineProperty(this.prototype,t,s)}}static getPropertyDescriptor(t,e,i){return{get(){return this[e]},set(s){const n=this[t];this[e]=s,this.requestUpdate(t,n,i)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)||v}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 t=this.properties,e=[...Object.getOwnPropertyNames(t),...Object.getOwnPropertySymbols(t)];for(const i of e)this.createProperty(i,t[i])}return this.elementStyles=this.finalizeStyles(this.styles),!0}static finalizeStyles(t){const e=[];if(Array.isArray(t)){const i=new Set(t.flat(1/0).reverse());for(const t of i)e.unshift(c(t))}else void 0!==t&&e.push(c(t));return e}static _$Eh(t,e){const i=e.attribute;return!1===i?void 0:"string"==typeof i?i:"string"==typeof t?t.toLowerCase():void 0}o(){var t;this._$Ep=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$Em(),this.requestUpdate(),null===(t=this.constructor.l)||void 0===t||t.forEach((t=>t(this)))}addController(t){var e,i;(null!==(e=this._$Eg)&&void 0!==e?e:this._$Eg=[]).push(t),void 0!==this.renderRoot&&this.isConnected&&(null===(i=t.hostConnected)||void 0===i||i.call(t))}removeController(t){var e;null===(e=this._$Eg)||void 0===e||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=null!==(t=this.shadowRoot)&&void 0!==t?t:this.attachShadow(this.constructor.shadowRootOptions);return a(e,this.constructor.elementStyles),e}connectedCallback(){var t;void 0===this.renderRoot&&(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),null===(t=this._$Eg)||void 0===t||t.forEach((t=>{var e;return null===(e=t.hostConnected)||void 0===e?void 0:e.call(t)}))}enableUpdating(t){}disconnectedCallback(){var t;null===(t=this._$Eg)||void 0===t||t.forEach((t=>{var e;return null===(e=t.hostDisconnected)||void 0===e?void 0:e.call(t)}))}attributeChangedCallback(t,e,i){this._$AK(t,i)}_$ES(t,e,i=v){var s,n;const o=this.constructor._$Eh(t,i);if(void 0!==o&&!0===i.reflect){const r=(null!==(n=null===(s=i.converter)||void 0===s?void 0:s.toAttribute)&&void 0!==n?n:x.toAttribute)(e,i.type);this._$Ei=t,null==r?this.removeAttribute(o):this.setAttribute(o,r),this._$Ei=null}}_$AK(t,e){var i,s,n;const o=this.constructor,r=o._$Eu.get(t);if(void 0!==r&&this._$Ei!==r){const t=o.getPropertyOptions(r),l=t.converter,a=null!==(n=null!==(s=null===(i=l)||void 0===i?void 0:i.fromAttribute)&&void 0!==s?s:"function"==typeof l?l:null)&&void 0!==n?n:x.fromAttribute;this._$Ei=r,this[r]=a(e,t.type),this._$Ei=null}}requestUpdate(t,e,i){let s=!0;void 0!==t&&(((i=i||this.constructor.getPropertyOptions(t)).hasChanged||f)(this[t],e)?(this._$AL.has(t)||this._$AL.set(t,e),!0===i.reflect&&this._$Ei!==t&&(void 0===this._$E_&&(this._$E_=new Map),this._$E_.set(t,i))):s=!1),!this.isUpdatePending&&s&&(this._$Ep=this._$EC())}async _$EC(){this.isUpdatePending=!0;try{await this._$Ep}catch(t){Promise.reject(t)}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){var t;if(!this.isUpdatePending)return;this.hasUpdated,this._$Et&&(this._$Et.forEach(((t,e)=>this[e]=t)),this._$Et=void 0);let e=!1;const i=this._$AL;try{e=this.shouldUpdate(i),e?(this.willUpdate(i),null===(t=this._$Eg)||void 0===t||t.forEach((t=>{var e;return null===(e=t.hostUpdate)||void 0===e?void 0:e.call(t)})),this.update(i)):this._$EU()}catch(t){throw e=!1,this._$EU(),t}e&&this._$AE(i)}willUpdate(t){}_$AE(t){var e;null===(e=this._$Eg)||void 0===e||e.forEach((t=>{var e;return null===(e=t.hostUpdated)||void 0===e?void 0:e.call(t)})),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$EU(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$Ep}shouldUpdate(t){return!0}update(t){void 0!==this._$E_&&(this._$E_.forEach(((t,e)=>this._$ES(e,this[e],t))),this._$E_=void 0),this._$EU()}updated(t){}firstUpdated(t){}}
39
+ /**
40
+ * @license
41
+ * Copyright 2017 Google LLC
42
+ * SPDX-License-Identifier: BSD-3-Clause
43
+ */
44
+ var g;m.finalized=!0,m.elementProperties=new Map,m.elementStyles=[],m.shadowRootOptions={mode:"open"},null==p||p({ReactiveElement:m}),(null!==(h=globalThis.reactiveElementVersions)&&void 0!==h?h:globalThis.reactiveElementVersions=[]).push("1.2.2");const b=globalThis.trustedTypes,w=b?b.createPolicy("lit-html",{createHTML:t=>t}):void 0,y=`lit$${(Math.random()+"").slice(9)}$`,O="?"+y,N=`<${O}>`,R=document,C=(t="")=>R.createComment(t),E=t=>null===t||"object"!=typeof t&&"function"!=typeof t,$=Array.isArray,M=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,S=/-->/g,U=/>/g,k=/>|[ \n \r](?:([^\s"'>=/]+)([ \n \r]*=[ \n \r]*(?:[^ \n \r"'`<>=]|("|')|))|$)/g,F=/'/g,A=/"/g,L=/^(?:script|style|textarea|title)$/i,j=(t=>(e,...i)=>({_$litType$:t,strings:e,values:i}))(1),T=Symbol.for("lit-noChange"),_=Symbol.for("lit-nothing"),B=new WeakMap,W=R.createTreeWalker(R,129,null,!1),z=(t,e)=>{const i=t.length-1,s=[];let n,o=2===e?"<svg>":"",r=M;for(let e=0;e<i;e++){const i=t[e];let l,a,c=-1,h=0;for(;h<i.length&&(r.lastIndex=h,a=r.exec(i),null!==a);)h=r.lastIndex,r===M?"!--"===a[1]?r=S:void 0!==a[1]?r=U:void 0!==a[2]?(L.test(a[2])&&(n=RegExp("</"+a[2],"g")),r=k):void 0!==a[3]&&(r=k):r===k?">"===a[0]?(r=null!=n?n:M,c=-1):void 0===a[1]?c=-2:(c=r.lastIndex-a[2].length,l=a[1],r=void 0===a[3]?k:'"'===a[3]?A:F):r===A||r===F?r=k:r===S||r===U?r=M:(r=k,n=void 0);const d=r===k&&t[e+1].startsWith("/>")?" ":"";o+=r===M?i+N:c>=0?(s.push(l),i.slice(0,c)+"$lit$"+i.slice(c)+y+d):i+y+(-2===c?(s.push(void 0),e):d)}const l=o+(t[i]||"<?>")+(2===e?"</svg>":"");if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return[void 0!==w?w.createHTML(l):l,s]};class K{constructor({strings:t,_$litType$:e},i){let s;this.parts=[];let n=0,o=0;const r=t.length-1,l=this.parts,[a,c]=z(t,e);if(this.el=K.createElement(a,i),W.currentNode=this.el.content,2===e){const t=this.el.content,e=t.firstChild;e.remove(),t.append(...e.childNodes)}for(;null!==(s=W.nextNode())&&l.length<r;){if(1===s.nodeType){if(s.hasAttributes()){const t=[];for(const e of s.getAttributeNames())if(e.endsWith("$lit$")||e.startsWith(y)){const i=c[o++];if(t.push(e),void 0!==i){const t=s.getAttribute(i.toLowerCase()+"$lit$").split(y),e=/([.?@])?(.*)/.exec(i);l.push({type:1,index:n,name:e[2],strings:t,ctor:"."===e[1]?V:"?"===e[1]?q:"@"===e[1]?J:P})}else l.push({type:6,index:n})}for(const e of t)s.removeAttribute(e)}if(L.test(s.tagName)){const t=s.textContent.split(y),e=t.length-1;if(e>0){s.textContent=b?b.emptyScript:"";for(let i=0;i<e;i++)s.append(t[i],C()),W.nextNode(),l.push({type:2,index:++n});s.append(t[e],C())}}}else if(8===s.nodeType)if(s.data===O)l.push({type:2,index:n});else{let t=-1;for(;-1!==(t=s.data.indexOf(y,t+1));)l.push({type:7,index:n}),t+=y.length-1}n++}}static createElement(t,e){const i=R.createElement("template");return i.innerHTML=t,i}}function D(t,e,i=t,s){var n,o,r,l;if(e===T)return e;let a=void 0!==s?null===(n=i._$Cl)||void 0===n?void 0:n[s]:i._$Cu;const c=E(e)?void 0:e._$litDirective$;return(null==a?void 0:a.constructor)!==c&&(null===(o=null==a?void 0:a._$AO)||void 0===o||o.call(a,!1),void 0===c?a=void 0:(a=new c(t),a._$AT(t,i,s)),void 0!==s?(null!==(r=(l=i)._$Cl)&&void 0!==r?r:l._$Cl=[])[s]=a:i._$Cu=a),void 0!==a&&(e=D(t,a._$AS(t,e.values),a,s)),e}class I{constructor(t,e){this.v=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}p(t){var e;const{el:{content:i},parts:s}=this._$AD,n=(null!==(e=null==t?void 0:t.creationScope)&&void 0!==e?e:R).importNode(i,!0);W.currentNode=n;let o=W.nextNode(),r=0,l=0,a=s[0];for(;void 0!==a;){if(r===a.index){let e;2===a.type?e=new H(o,o.nextSibling,this,t):1===a.type?e=new a.ctor(o,a.name,a.strings,this,t):6===a.type&&(e=new X(o,this,t)),this.v.push(e),a=s[++l]}r!==(null==a?void 0:a.index)&&(o=W.nextNode(),r++)}return n}m(t){let e=0;for(const i of this.v)void 0!==i&&(void 0!==i.strings?(i._$AI(t,i,e),e+=i.strings.length-2):i._$AI(t[e])),e++}}class H{constructor(t,e,i,s){var n;this.type=2,this._$AH=_,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=i,this.options=s,this._$Cg=null===(n=null==s?void 0:s.isConnected)||void 0===n||n}get _$AU(){var t,e;return null!==(e=null===(t=this._$AM)||void 0===t?void 0:t._$AU)&&void 0!==e?e:this._$Cg}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=D(this,t,e),E(t)?t===_||null==t||""===t?(this._$AH!==_&&this._$AR(),this._$AH=_):t!==this._$AH&&t!==T&&this.$(t):void 0!==t._$litType$?this.T(t):void 0!==t.nodeType?this.S(t):(t=>{var e;return $(t)||"function"==typeof(null===(e=t)||void 0===e?void 0:e[Symbol.iterator])})(t)?this.A(t):this.$(t)}M(t,e=this._$AB){return this._$AA.parentNode.insertBefore(t,e)}S(t){this._$AH!==t&&(this._$AR(),this._$AH=this.M(t))}$(t){this._$AH!==_&&E(this._$AH)?this._$AA.nextSibling.data=t:this.S(R.createTextNode(t)),this._$AH=t}T(t){var e;const{values:i,_$litType$:s}=t,n="number"==typeof s?this._$AC(t):(void 0===s.el&&(s.el=K.createElement(s.h,this.options)),s);if((null===(e=this._$AH)||void 0===e?void 0:e._$AD)===n)this._$AH.m(i);else{const t=new I(n,this),e=t.p(this.options);t.m(i),this.S(e),this._$AH=t}}_$AC(t){let e=B.get(t.strings);return void 0===e&&B.set(t.strings,e=new K(t)),e}A(t){$(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let i,s=0;for(const n of t)s===e.length?e.push(i=new H(this.M(C()),this.M(C()),this,this.options)):i=e[s],i._$AI(n),s++;s<e.length&&(this._$AR(i&&i._$AB.nextSibling,s),e.length=s)}_$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._$Cg=t,null===(e=this._$AP)||void 0===e||e.call(this,t))}}class P{constructor(t,e,i,s,n){this.type=1,this._$AH=_,this._$AN=void 0,this.element=t,this.name=e,this._$AM=s,this.options=n,i.length>2||""!==i[0]||""!==i[1]?(this._$AH=Array(i.length-1).fill(new String),this.strings=i):this._$AH=_}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,e=this,i,s){const n=this.strings;let o=!1;if(void 0===n)t=D(this,t,e,0),o=!E(t)||t!==this._$AH&&t!==T,o&&(this._$AH=t);else{const s=t;let r,l;for(t=n[0],r=0;r<n.length-1;r++)l=D(this,s[i+r],e,r),l===T&&(l=this._$AH[r]),o||(o=!E(l)||l!==this._$AH[r]),l===_?t=_:t!==_&&(t+=(null!=l?l:"")+n[r+1]),this._$AH[r]=l}o&&!s&&this.k(t)}k(t){t===_?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}}class V extends P{constructor(){super(...arguments),this.type=3}k(t){this.element[this.name]=t===_?void 0:t}}const Z=b?b.emptyScript:"";class q extends P{constructor(){super(...arguments),this.type=4}k(t){t&&t!==_?this.element.setAttribute(this.name,Z):this.element.removeAttribute(this.name)}}class J extends P{constructor(t,e,i,s,n){super(t,e,i,s,n),this.type=5}_$AI(t,e=this){var i;if((t=null!==(i=D(this,t,e,0))&&void 0!==i?i:_)===T)return;const s=this._$AH,n=t===_&&s!==_||t.capture!==s.capture||t.once!==s.once||t.passive!==s.passive,o=t!==_&&(s===_||n);n&&this.element.removeEventListener(this.name,this,s),o&&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 X{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){D(this,t)}}const G=window.litHtmlPolyfillSupport;
45
+ /**
46
+ * @license
47
+ * Copyright 2017 Google LLC
48
+ * SPDX-License-Identifier: BSD-3-Clause
49
+ */
50
+ var Q,Y;null==G||G(K,H),(null!==(g=globalThis.litHtmlVersions)&&void 0!==g?g:globalThis.litHtmlVersions=[]).push("2.1.3");class tt extends m{constructor(){super(...arguments),this.renderOptions={host:this},this._$Dt=void 0}createRenderRoot(){var t,e;const i=super.createRenderRoot();return null!==(t=(e=this.renderOptions).renderBefore)&&void 0!==t||(e.renderBefore=i.firstChild),i}update(t){const e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Dt=((t,e,i)=>{var s,n;const o=null!==(s=null==i?void 0:i.renderBefore)&&void 0!==s?s:e;let r=o._$litPart$;if(void 0===r){const t=null!==(n=null==i?void 0:i.renderBefore)&&void 0!==n?n:null;o._$litPart$=r=new H(e.insertBefore(C(),t),t,void 0,null!=i?i:{})}return r._$AI(t),r})(e,this.renderRoot,this.renderOptions)}connectedCallback(){var t;super.connectedCallback(),null===(t=this._$Dt)||void 0===t||t.setConnected(!0)}disconnectedCallback(){var t;super.disconnectedCallback(),null===(t=this._$Dt)||void 0===t||t.setConnected(!1)}render(){return T}}tt.finalized=!0,tt._$litElement$=!0,null===(Q=globalThis.litElementHydrateSupport)||void 0===Q||Q.call(globalThis,{LitElement:tt});const et=globalThis.litElementPolyfillSupport;null==et||et({LitElement:tt}),(null!==(Y=globalThis.litElementVersions)&&void 0!==Y?Y:globalThis.litElementVersions=[]).push("3.1.2");class it{constructor(t,e,i,s,n){this.name=t,this.category=e,this.fallbackVariable=i,this.defaultValue=s,this.context=n,this._$cssResult$=!0,this.value=this.get()}get cssText(){return this.value.cssText}get styleSheet(){return this.value.styleSheet}toString(){return this.value.toString()}static create(t,e,i){return new it(t,e,void 0,i)}static extend(t,e,i){return new it(t,e.category,e,i)}static external(t,e){return new it(t.name,t.category,t.fallbackVariable,t.defaultValue,e)}get(t){return l`var(${r(this.name)}, ${this.defaultCssValue(t)})`}defaultCssValue(t){return this.fallbackVariable?this.fallbackVariable.get(null!=t?t:this.defaultValue):r(null!=t?t:this.defaultValue)}lastResortDefaultValue(){var t,e;return null!==(t=this.defaultValue)&&void 0!==t?t:null===(e=this.fallbackVariable)||void 0===e?void 0:e.lastResortDefaultValue()}breadcrumb(){return this.fallbackVariable?[this.fallbackVariable.name,...this.fallbackVariable.breadcrumb()]:[]}}it.create("--ft-color-primary","COLOR","#2196F3"),it.create("--ft-color-primary-variant","COLOR","#1976D2"),it.create("--ft-color-secondary","COLOR","#FFCC80"),it.create("--ft-color-secondary-variant","COLOR","#F57C00"),it.create("--ft-color-surface","COLOR","#FFFFFF"),it.create("--ft-color-content","COLOR","rgba(0, 0, 0, 0.87)"),it.create("--ft-color-error","COLOR","#B00020"),it.create("--ft-color-outline","COLOR","rgba(0, 0, 0, 0.14)"),it.create("--ft-color-opacity-high","NUMBER","1"),it.create("--ft-color-opacity-medium","NUMBER","0.74"),it.create("--ft-color-opacity-disabled","NUMBER","0.38"),it.create("--ft-color-on-primary","COLOR","#FFFFFF"),it.create("--ft-color-on-primary-high","COLOR","#FFFFFF"),it.create("--ft-color-on-primary-medium","COLOR","rgba(255, 255, 255, 0.74)"),it.create("--ft-color-on-primary-disabled","COLOR","rgba(255, 255, 255, 0.38)"),it.create("--ft-color-on-secondary","COLOR","#FFFFFF"),it.create("--ft-color-on-secondary-high","COLOR","#FFFFFF"),it.create("--ft-color-on-secondary-medium","COLOR","rgba(255, 255, 255, 0.74)"),it.create("--ft-color-on-secondary-disabled","COLOR","rgba(255, 255, 255, 0.38)"),it.create("--ft-color-on-surface","COLOR","rgba(0, 0, 0, 0.87)"),it.create("--ft-color-on-surface-high","COLOR","rgba(0, 0, 0, 0.87)"),it.create("--ft-color-on-surface-medium","COLOR","rgba(0, 0, 0, 0.60)"),it.create("--ft-color-on-surface-disabled","COLOR","rgba(0, 0, 0, 0.38)"),it.create("--ft-opacity-content-on-surface-disabled","NUMBER","0"),it.create("--ft-opacity-content-on-surface-enable","NUMBER","0"),it.create("--ft-opacity-content-on-surface-hover","NUMBER","0.04"),it.create("--ft-opacity-content-on-surface-focused","NUMBER","0.12"),it.create("--ft-opacity-content-on-surface-pressed","NUMBER","0.10"),it.create("--ft-opacity-content-on-surface-selected","NUMBER","0.08"),it.create("--ft-opacity-content-on-surface-dragged","NUMBER","0.08"),it.create("--ft-opacity-primary-on-surface-disabled","NUMBER","0"),it.create("--ft-opacity-primary-on-surface-enable","NUMBER","0"),it.create("--ft-opacity-primary-on-surface-hover","NUMBER","0.04"),it.create("--ft-opacity-primary-on-surface-focused","NUMBER","0.12"),it.create("--ft-opacity-primary-on-surface-pressed","NUMBER","0.10"),it.create("--ft-opacity-primary-on-surface-selected","NUMBER","0.08"),it.create("--ft-opacity-primary-on-surface-dragged","NUMBER","0.08"),it.create("--ft-opacity-surface-on-primary-disabled","NUMBER","0"),it.create("--ft-opacity-surface-on-primary-enable","NUMBER","0"),it.create("--ft-opacity-surface-on-primary-hover","NUMBER","0.04"),it.create("--ft-opacity-surface-on-primary-focused","NUMBER","0.12"),it.create("--ft-opacity-surface-on-primary-pressed","NUMBER","0.10"),it.create("--ft-opacity-surface-on-primary-selected","NUMBER","0.08"),it.create("--ft-opacity-surface-on-primary-dragged","NUMBER","0.08"),it.create("--ft-elevation-00","UNKNOWN","0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0)"),it.create("--ft-elevation-01","UNKNOWN","0px 1px 4px 0px rgba(0, 0, 0, 0.06), 0px 1px 2px 0px rgba(0, 0, 0, 0.14), 0px 0px 1px 0px rgba(0, 0, 0, 0.06)"),it.create("--ft-elevation-02","UNKNOWN","0px 4px 10px 0px rgba(0, 0, 0, 0.06), 0px 2px 5px 0px rgba(0, 0, 0, 0.14), 0px 0px 1px 0px rgba(0, 0, 0, 0.06)"),it.create("--ft-elevation-03","UNKNOWN","0px 6px 13px 0px rgba(0, 0, 0, 0.06), 0px 3px 7px 0px rgba(0, 0, 0, 0.14), 0px 1px 2px 0px rgba(0, 0, 0, 0.06)"),it.create("--ft-elevation-04","UNKNOWN","0px 8px 16px 0px rgba(0, 0, 0, 0.06), 0px 4px 9px 0px rgba(0, 0, 0, 0.14), 0px 2px 3px 0px rgba(0, 0, 0, 0.06)"),it.create("--ft-elevation-06","UNKNOWN","0px 12px 22px 0px rgba(0, 0, 0, 0.06), 0px 6px 13px 0px rgba(0, 0, 0, 0.14), 0px 4px 5px 0px rgba(0, 0, 0, 0.06)"),it.create("--ft-elevation-08","UNKNOWN","0px 16px 28px 0px rgba(0, 0, 0, 0.06), 0px 8px 17px 0px rgba(0, 0, 0, 0.14), 0px 6px 7px 0px rgba(0, 0, 0, 0.06)"),it.create("--ft-elevation-12","UNKNOWN","0px 22px 40px 0px rgba(0, 0, 0, 0.06), 0px 12px 23px 0px rgba(0, 0, 0, 0.14), 0px 10px 11px 0px rgba(0, 0, 0, 0.06)"),it.create("--ft-elevation-16","UNKNOWN","0px 28px 52px 0px rgba(0, 0, 0, 0.06), 0px 16px 29px 0px rgba(0, 0, 0, 0.14), 0px 14px 15px 0px rgba(0, 0, 0, 0.06)"),it.create("--ft-elevation-24","UNKNOWN","0px 40px 76px 0px rgba(0, 0, 0, 0.06), 0px 24px 41px 0px rgba(0, 0, 0, 0.14), 0px 22px 23px 0px rgba(0, 0, 0, 0.06)"),it.create("--ft-border-radius-S","SIZE","4px"),it.create("--ft-border-radius-M","SIZE","8px"),it.create("--ft-border-radius-L","SIZE","12px"),it.create("--ft-border-radius-XL","SIZE","16px"),it.create("--ft-title-font","UNKNOWN","Ubuntu, system-ui, sans-serif"),it.create("--ft-content-font","UNKNOWN","'Open Sans', system-ui, sans-serif"),it.create("--ft-transition-duration","UNKNOWN","250ms"),it.create("--ft-transition-timing-function","UNKNOWN","ease-in-out");class st extends(
51
+ /**
52
+ * @license
53
+ * Copyright 2021 Google LLC
54
+ * SPDX-License-Identifier: BSD-3-Clause
55
+ */
56
+ function(t){return class extends t{createRenderRoot(){const t=this.constructor,{registry:e,elementDefinitions:i,shadowRootOptions:s}=t;i&&!e&&(t.registry=new CustomElementRegistry,Object.entries(i).forEach((([e,i])=>t.registry.define(e,i))));const n=this.renderOptions.creationScope=this.attachShadow({...s,customElements:t.registry});return a(n,this.constructor.elementStyles),n}}}(tt)){getStyles(){return[]}getTemplate(){return null}render(){let t=this.getStyles();return Array.isArray(t)||(t=[t]),j`
57
+ ${t.map((t=>j`
58
+ <style>${t}</style>
59
+ `))}
60
+ ${this.getTemplate()}
61
+ `}updated(t){super.updated(t),setTimeout((()=>this.contentAvailableCallback(t)),0)}contentAvailableCallback(t){}}var nt,ot;l`
62
+ .ft-no-text-select {
63
+ -webkit-touch-callout: none;
64
+ -webkit-user-select: none;
65
+ -khtml-user-select: none;
66
+ -moz-user-select: none;
67
+ -ms-user-select: none;
68
+ user-select: none;
69
+ }
70
+ `,navigator.vendor&&navigator.vendor.match(/apple/i)||(null===(ot=null===(nt=window.safari)||void 0===nt?void 0:nt.pushNotification)||void 0===ot||ot.toString());
71
+ /**
72
+ * @license
73
+ * Copyright 2017 Google LLC
74
+ * SPDX-License-Identifier: BSD-3-Clause
75
+ */
76
+ const rt=2;
77
+ /**
78
+ * @license
79
+ * Copyright 2017 Google LLC
80
+ * SPDX-License-Identifier: BSD-3-Clause
81
+ */
82
+ class lt extends class{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,e,i){this._$Ct=t,this._$AM=e,this._$Ci=i}_$AS(t,e){return this.update(t,e)}update(t,e){return this.render(...e)}}{constructor(t){if(super(t),this.it=_,t.type!==rt)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===_||null==t)return this.vt=void 0,this.it=t;if(t===T)return t;if("string"!=typeof t)throw Error(this.constructor.directiveName+"() called with a non-string value");if(t===this.it)return this.vt;this.it=t;const e=[t];return e.raw=e,this.vt={_$litType$:this.constructor.resultType,strings:e,values:[]}}}lt.directiveName="unsafeHTML",lt.resultType=1;const at=(t=>(...e)=>({_$litDirective$:t,values:e}))(lt);var ct,ht;!function(t){t.THIN_ARROW_LEFT="&#xe956;",t.THIN_ARROW_RIGHT="&#xe957;",t.MY_COLLECTIONS="&#xe955;",t.OFFLINE_SETTINGS="&#xe954;",t.MY_LIBRARY="&#xe959;",t.RATE_PLAIN="&#xe952;",t.RATE="&#xe953;",t.FEEDBACK_PLAIN="&#xe951;",t.STAR_PLAIN="&#xe94b;",t.STAR="&#xe94c;",t.THUMBS_DOWN_PLAIN="&#xe94d;",t.THUMBS_DOWN="&#xe94e;",t.THUMBS_UP_PLAIN="&#xe94f;",t.THUMBS_UP="&#xe950;",t.PAUSE="&#xe949;",t.PLAY="&#xe94a;",t.RELATIVES_PLAIN="&#xe947;",t.RELATIVES="&#xe948;",t.SHORTCUT_MENU="&#xe946;",t.PRINT="&#xe944;",t.DEFAULT_ROLES="&#xe945;",t.ACCOUNT_SETTINGS="&#xe943;",t.ONLINE="&#xe941;",t.OFFLINE="&#xe816;",t.UPLOAD="&#xe940;",t.BOOK_PLAIN="&#xe93f;",t.SYNC="&#xe93d;",t.SHARED_PBK="&#xe931;",t.COLLECTIONS="&#xe92a;",t.SEARCH_IN_PUBLICATION="&#xe92f;",t.BOOKS="&#xe806;",t.LOCKER="&#xe93b;",t.ARROW_DOWN="&#xe92b;",t.ARROW_LEFT="&#xe92c;",t.ARROW_RIGHT="&#xe92d;",t.ARROW_UP="&#xe92e;",t.SAVE="&#xe93a;",t.MAILS_AND_NOTIFICATIONS="&#xe939;",t.DOT="&#xe936;",t.MINUS="&#xe937;",t.PLUS="&#xe938;",t.FILTERS="&#xe935;",t.STRIPE_ARROW_RIGHT="&#xe934;",t.STRIPE_ARROW_LEFT="&#xe933;",t.ATTACHMENTS="&#xe932;",t.ADD_BOOKMARK="&#xe804;",t.BOOKMARK="&#xe805;",t.EXPORT="&#xe80f;",t.MENU="&#xe807;",t.TAG="&#xe93e;",t.TAG_PLAIN="&#xe942;",t.COPY_TO_CLIPBOARD="&#xe930;",t.COLUMNS="&#xe928;",t.ARTICLE="&#xe927;",t.CLOSE_PLAIN="&#xe925;",t.CHECK_PLAIN="&#xe926;",t.LOGOUT="&#xe923;",t.SIGN_IN="&#xe922;",t.THIN_ARROW="&#xe921;",t.TRIANGLE_BOTTOM="&#xe91d;",t.TRIANGLE_LEFT="&#xe91e;",t.TRIANGLE_RIGHT="&#xe91f;",t.TRIANGLE_TOP="&#xe920;",t.FACET_HAS_DESCENDANT="&#xe91c;",t.MINUS_PLAIN="&#xe91a;",t.PLUS_PLAIN="&#xe91b;",t.INFO="&#xe919;",t.ICON_EXPAND="&#xe917;",t.ICON_COLLAPSE="&#xe918;",t.ADD_TO_PBK="&#xe800;",t.ALERT="&#xe801;",t.ADD_ALERT="&#xe802;",t.BACK_TO_SEARCH="&#xe803;",t.DOWNLOAD="&#xe808;",t.EDIT="&#xe809;",t.FEEDBACK="&#xe80a;",t.MODIFY_PBK="&#xe80c;",t.SCHEDULED="&#xe80d;",t.SEARCH="&#xe80e;",t.SHARE="&#xe80f1;",t.TOC="&#xe810;",t.WRITE_UGC="&#xe811;",t.TRASH="&#xe812;",t.EXTLINK="&#xe814;",t.CALENDAR="&#xe815;",t.BOOK="&#xe817;",t.DOWNLOAD_PLAIN="&#xe818;",t.CHECK="&#xe819;",t.TOPICS="&#xe900;",t.EYE="\f06e",t.DISC="&#xe901;",t.CIRCLE="&#xe903;",t.SHARED="&#xe904;",t.SORT_UNSORTED="&#xe905;",t.SORT_UP="&#xe906;",t.SORT_DOWN="&#xe907;",t.WORKING="&#xe908;",t.CLOSE="&#xe909;",t.ZOOM_OUT="&#xe90a;",t.ZOOM_IN="&#xe90b;",t.ZOOM_REALSIZE="&#xe90c;",t.ZOOM_FULLSCREEN="&#xe90d;",t.ADMIN_RESTRICTED="&#xe90e;",t.ADMIN_THEME="&#xe911;",t.WARNING="&#xe913;",t.CONTEXT="&#xe914;",t.SEARCH_HOME="&#xe915;",t.STEPS="&#xe916;",t.HOME="&#xe80b;",t.TRANSLATE="&#xe924;",t.USER="&#xe813;",t.ADMIN="&#xe902;",t.ANALYTICS="&#xe929;",t.ADMIN_KHUB="&#xe90f;",t.ADMIN_USERS="&#xe910;",t.ADMIN_INTEGRATION="&#xe93c;",t.ADMIN_PORTAL="&#xe912;"}(ct||(ct={})),function(t){t.UNKNOWN="&#xe90a;",t.ABW="&#xe900;",t.AUDIO="&#xe901;",t.AVI="&#xe902;",t.CHM="&#xe904;",t.CODE="&#xe905;",t.CSV="&#xe903;",t.DITA="&#xe906;",t.EPUB="&#xe907;",t.EXCEL="&#xe908;",t.FLAC="&#xe909;",t.GIF="&#xe90b;",t.GZIP="&#xe90c;",t.HTML="&#xe90d;",t.IMAGE="&#xe90e;",t.JPEG="&#xe90f;",t.JSON="&#xe910;",t.M4A="&#xe911;",t.MOV="&#xe912;",t.MP3="&#xe913;",t.MP4="&#xe914;",t.OGG="&#xe915;",t.PDF="&#xe916;",t.PNG="&#xe917;",t.POWERPOINT="&#xe918;",t.RAR="&#xe91a;",t.STP="&#xe91b;",t.TEXT="&#xe91c;",t.VIDEO="&#xe91e;",t.WAV="&#xe91f;",t.WMA="&#xe920;",t.WORD="&#xe921;",t.XML="&#xe922;",t.YAML="&#xe919;",t.ZIP="&#xe923;"}(ht||(ht={})),new Map([...["abw"].map((t=>[t,ht.ABW])),...["3gp","act","aiff","aac","amr","au","awb","dct","dss","dvf","gsm","iklax","ivs","mmf","mpc","msv","opus","ra","rm","raw","sln","tta","vox","wv"].map((t=>[t,ht.AUDIO])),...["avi"].map((t=>[t,ht.AVI])),...["chm","xhs"].map((t=>[t,ht.CHM])),...["java","py","php","php3","php4","php5","js","javascript","rb","rbw","c","cpp","cxx","h","hh","hpp","hxx","sh","bash","zsh","tcsh","ksh","csh","vb","scala","pl","prl","perl","groovy","ceylon","aspx","jsp","scpt","applescript","bas","bat","lua","jsp","mk","cmake","css","sass","less","m","mm","xcodeproj"].map((t=>[t,ht.CODE])),...["csv"].map((t=>[t,ht.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,ht.DITA])),...["epub"].map((t=>[t,ht.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,ht.EXCEL])),...["flac"].map((t=>[t,ht.FLAC])),...["gif"].map((t=>[t,ht.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,ht.GZIP])),...["html","htm","xhtml"].map((t=>[t,ht.HTML])),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf"].map((t=>[t,ht.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,ht.JPEG])),...["json"].map((t=>[t,ht.JSON])),...["m4a","m4p"].map((t=>[t,ht.M4A])),...["mov","qt"].map((t=>[t,ht.MOV])),...["mp3"].map((t=>[t,ht.MP3])),...["mp4","m4v"].map((t=>[t,ht.MP4])),...["ogg","oga"].map((t=>[t,ht.OGG])),...["pdf","ps"].map((t=>[t,ht.PDF])),...["png"].map((t=>[t,ht.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,ht.POWERPOINT])),...["rar"].map((t=>[t,ht.RAR])),...["stp"].map((t=>[t,ht.STP])),...["txt","rtf","md","mdown"].map((t=>[t,ht.TEXT])),...["webm","mkv","flv","vob","ogv","ogg","drc","mng","wmv","yuv","rm","rmvb","asf","mpg","mp2","mpeg","mpe","mpv","m2v","svi","3gp","3g2","mxf","roq","nsv"].map((t=>[t,ht.VIDEO])),...["wav"].map((t=>[t,ht.WAV])),...["wma"].map((t=>[t,ht.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,ht.WORD])),...["xml","xsl","rdf"].map((t=>[t,ht.XML])),...["yaml","yml","x-yaml"].map((t=>[t,ht.YAML])),...["zip"].map((t=>[t,ht.ZIP]))]);var dt,ut=function(t,e,i,s){for(var n,o=arguments.length,r=o<3?e:null===s?s=Object.getOwnPropertyDescriptor(e,i):s,l=t.length-1;l>=0;l--)(n=t[l])&&(r=(o<3?n(r):o>3?n(e,i,r):n(e,i))||r);return o>3&&r&&Object.defineProperty(e,i,r),r};!function(t){t.fluid_topics="fluid-topics",t.file_format="file-format"}(dt||(dt={}));const pt=it.create("--ft-icon-font-size","SIZE","24px"),xt=it.extend("--ft-icon-fluid-topics-font-family",it.create("--ft-icon-font-family","UNKNOWN","ft-icons")),ft=it.extend("--ft-icon-file-format-font-family",it.create("--ft-icon-font-family","UNKNOWN","ft-mime")),vt=l`
83
+ .ft-icon--fluid-topics {
84
+ font-family: ${xt}, ft-icons, fticons, sans-serif;
85
+ font-size: ${pt};
86
+ line-height: 1;
87
+ font-weight: normal;
88
+ text-transform: none;
89
+ font-style: normal;
90
+ font-variant: normal;
91
+ speak: none;
92
+ text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.004);
93
+ text-rendering: auto;
94
+ -webkit-font-smoothing: antialiased;
95
+ -moz-osx-font-smoothing: grayscale;
96
+ }
97
+ `,mt=l`
98
+ .ft-icon--file-format {
99
+ font-family: ${ft}, ft-mime, sans-serif;
100
+ font-size: ${pt};
101
+ line-height: 1;
102
+ font-weight: normal;
103
+ text-transform: none;
104
+ font-style: normal;
105
+ font-variant: normal;
106
+ speak: none;
107
+ text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.004);
108
+ text-rendering: auto;
109
+ -webkit-font-smoothing: antialiased;
110
+ -moz-osx-font-smoothing: grayscale;
111
+ }
112
+ `;class gt extends st{constructor(){super(...arguments),this.variant=dt.fluid_topics}render(){return j`
113
+ <slot @slotchange=${()=>this.requestUpdate()} hidden></slot>
114
+ <i class="ft-icon ${"ft-icon--"+this.variant}">${at(this.getIcon())}</i>
115
+ `}get textContent(){var t,e;return null!==(e=null===(t=this.slottedContent)||void 0===t?void 0:t.assignedNodes().map((t=>t.textContent)).join("").trim())&&void 0!==e?e:""}getIcon(){var t,e;return this.variant===dt.file_format?null!==(t=ht[this.textContent.toUpperCase()])&&void 0!==t?t:this.textContent:null!==(e=ct[this.textContent.toUpperCase()])&&void 0!==e?e:this.textContent}}var bt;gt.elementDefinitions={},gt.styles=[vt,mt,l`
116
+ :host, i.ft-icon {
117
+ display: inline-block;
118
+ width: ${pt};
119
+ height: ${pt};
120
+ text-align: center;
121
+ }
122
+ `],ut([function(e){return(i,s)=>void 0!==s?((t,e,i)=>{e.constructor.createProperty(i,t)})(e,i,s):t(e,i)
123
+ /**
124
+ * @license
125
+ * Copyright 2017 Google LLC
126
+ * SPDX-License-Identifier: BSD-3-Clause
127
+ */}()],gt.prototype,"variant",void 0),ut([
128
+ /**
129
+ * @license
130
+ * Copyright 2017 Google LLC
131
+ * SPDX-License-Identifier: BSD-3-Clause
132
+ */
133
+ function(t,e){return(({finisher:t,descriptor:e})=>(i,s)=>{var n;if(void 0===s){const s=null!==(n=i.originalKey)&&void 0!==n?n:i.key,o=null!=e?{kind:"method",placement:"prototype",key:s,descriptor:e(i.key)}:{...i,key:s};return null!=t&&(o.finisher=function(e){t(e,s)}),o}{const n=i.constructor;void 0!==e&&Object.defineProperty(i,s,e(s)),null==t||t(n,s)}})({descriptor:i=>{const s={get(){var e,i;return null!==(i=null===(e=this.renderRoot)||void 0===e?void 0:e.querySelector(t))&&void 0!==i?i:null},enumerable:!0,configurable:!0};if(e){const e="symbol"==typeof i?Symbol():"__"+i;s.get=function(){var i,s;return void 0===this[e]&&(this[e]=null!==(s=null===(i=this.renderRoot)||void 0===i?void 0:i.querySelector(t))&&void 0!==s?s:null),this[e]}}return s}})}("slot")],gt.prototype,"slottedContent",void 0),(bt="ft-icon",t=>{window.customElements.get(bt)||window.customElements.define(bt,t)})(function t(e){var i;let s;if("elementDefinitions"in e){s={};const i=e.elementDefinitions;for(let e in i)s[e]=t(i[e])}return i=class extends e{constructor(...t){super(t),this._constructor=this.constructor}render(){var t;let i=null!==(t=e.styles)&&void 0!==t?t:[];return Array.isArray(i)||(i=[i]),j`
134
+ ${i.map((t=>j`
135
+ <style>${t}</style>
136
+ `))}
137
+ ${super.render()}
138
+ `}},i.styles=void 0,i.elementDefinitions=s,i}(gt))}();
package/build/ft-icon.js CHANGED
@@ -6,10 +6,9 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
6
6
  };
7
7
  import { css, html } from "lit";
8
8
  import { property, query } from "lit/decorators.js";
9
- import { customElement, FtCssVariable, FtLitElement } from "@fluid-topics/ft-wc-utils";
9
+ import { FtCssVariable, FtLitElement } from "@fluid-topics/ft-wc-utils";
10
10
  import { unsafeHTML } from "lit/directives/unsafe-html.js";
11
11
  import { FtFileFormatIcons, FtIcons } from "./icons";
12
- export * from "./icons";
13
12
  export var FtIconVariants;
14
13
  (function (FtIconVariants) {
15
14
  FtIconVariants["fluid_topics"] = "fluid-topics";
@@ -54,27 +53,12 @@ export const FtIconFileFormat = css `
54
53
  -moz-osx-font-smoothing: grayscale;
55
54
  }
56
55
  `;
57
- let FtIcon = class FtIcon extends FtLitElement {
56
+ export class FtIcon extends FtLitElement {
58
57
  constructor() {
59
58
  super(...arguments);
60
59
  this.variant = FtIconVariants.fluid_topics;
61
60
  }
62
- // language=CSS
63
- getStyles() {
64
- return [
65
- FtIconFluidTopics,
66
- FtIconFileFormat,
67
- css `
68
- :host, i.ft-icon {
69
- display: inline-block;
70
- width: ${FtIconCssVariables.size};
71
- height: ${FtIconCssVariables.size};
72
- text-align: center;
73
- }
74
- `
75
- ];
76
- }
77
- getTemplate() {
61
+ render() {
78
62
  return html `
79
63
  <slot @slotchange=${() => this.requestUpdate()} hidden></slot>
80
64
  <i class="ft-icon ${"ft-icon--" + this.variant}">${unsafeHTML(this.getIcon())}</i>
@@ -91,16 +75,25 @@ let FtIcon = class FtIcon extends FtLitElement {
91
75
  }
92
76
  return (_b = FtIcons[this.textContent.toUpperCase()]) !== null && _b !== void 0 ? _b : this.textContent;
93
77
  }
94
- };
78
+ }
95
79
  FtIcon.elementDefinitions = {};
80
+ // language=CSS
81
+ FtIcon.styles = [
82
+ FtIconFluidTopics,
83
+ FtIconFileFormat,
84
+ css `
85
+ :host, i.ft-icon {
86
+ display: inline-block;
87
+ width: ${FtIconCssVariables.size};
88
+ height: ${FtIconCssVariables.size};
89
+ text-align: center;
90
+ }
91
+ `
92
+ ];
96
93
  __decorate([
97
94
  property()
98
95
  ], FtIcon.prototype, "variant", void 0);
99
96
  __decorate([
100
97
  query("slot")
101
98
  ], FtIcon.prototype, "slottedContent", void 0);
102
- FtIcon = __decorate([
103
- customElement("ft-icon")
104
- ], FtIcon);
105
- export { FtIcon };
106
99
  //# sourceMappingURL=ft-icon.js.map
@@ -1,4 +1,4 @@
1
- !function(e,t,a,o,x){var i,p;e.FtIcons=void 0,(i=e.FtIcons||(e.FtIcons={})).THIN_ARROW_LEFT="&#xe956;",i.THIN_ARROW_RIGHT="&#xe957;",i.MY_COLLECTIONS="&#xe955;",i.OFFLINE_SETTINGS="&#xe954;",i.MY_LIBRARY="&#xe959;",i.RATE_PLAIN="&#xe952;",i.RATE="&#xe953;",i.FEEDBACK_PLAIN="&#xe951;",i.STAR_PLAIN="&#xe94b;",i.STAR="&#xe94c;",i.THUMBS_DOWN_PLAIN="&#xe94d;",i.THUMBS_DOWN="&#xe94e;",i.THUMBS_UP_PLAIN="&#xe94f;",i.THUMBS_UP="&#xe950;",i.PAUSE="&#xe949;",i.PLAY="&#xe94a;",i.RELATIVES_PLAIN="&#xe947;",i.RELATIVES="&#xe948;",i.SHORTCUT_MENU="&#xe946;",i.PRINT="&#xe944;",i.DEFAULT_ROLES="&#xe945;",i.ACCOUNT_SETTINGS="&#xe943;",i.ONLINE="&#xe941;",i.OFFLINE="&#xe816;",i.UPLOAD="&#xe940;",i.BOOK_PLAIN="&#xe93f;",i.SYNC="&#xe93d;",i.SHARED_PBK="&#xe931;",i.COLLECTIONS="&#xe92a;",i.SEARCH_IN_PUBLICATION="&#xe92f;",i.BOOKS="&#xe806;",i.LOCKER="&#xe93b;",i.ARROW_DOWN="&#xe92b;",i.ARROW_LEFT="&#xe92c;",i.ARROW_RIGHT="&#xe92d;",i.ARROW_UP="&#xe92e;",i.SAVE="&#xe93a;",i.MAILS_AND_NOTIFICATIONS="&#xe939;",i.DOT="&#xe936;",i.MINUS="&#xe937;",i.PLUS="&#xe938;",i.FILTERS="&#xe935;",i.STRIPE_ARROW_RIGHT="&#xe934;",i.STRIPE_ARROW_LEFT="&#xe933;",i.ATTACHMENTS="&#xe932;",i.ADD_BOOKMARK="&#xe804;",i.BOOKMARK="&#xe805;",i.EXPORT="&#xe80f;",i.MENU="&#xe807;",i.TAG="&#xe93e;",i.TAG_PLAIN="&#xe942;",i.COPY_TO_CLIPBOARD="&#xe930;",i.COLUMNS="&#xe928;",i.ARTICLE="&#xe927;",i.CLOSE_PLAIN="&#xe925;",i.CHECK_PLAIN="&#xe926;",i.LOGOUT="&#xe923;",i.SIGN_IN="&#xe922;",i.THIN_ARROW="&#xe921;",i.TRIANGLE_BOTTOM="&#xe91d;",i.TRIANGLE_LEFT="&#xe91e;",i.TRIANGLE_RIGHT="&#xe91f;",i.TRIANGLE_TOP="&#xe920;",i.FACET_HAS_DESCENDANT="&#xe91c;",i.MINUS_PLAIN="&#xe91a;",i.PLUS_PLAIN="&#xe91b;",i.INFO="&#xe919;",i.ICON_EXPAND="&#xe917;",i.ICON_COLLAPSE="&#xe918;",i.ADD_TO_PBK="&#xe800;",i.ALERT="&#xe801;",i.ADD_ALERT="&#xe802;",i.BACK_TO_SEARCH="&#xe803;",i.DOWNLOAD="&#xe808;",i.EDIT="&#xe809;",i.FEEDBACK="&#xe80a;",i.MODIFY_PBK="&#xe80c;",i.SCHEDULED="&#xe80d;",i.SEARCH="&#xe80e;",i.SHARE="&#xe80f1;",i.TOC="&#xe810;",i.WRITE_UGC="&#xe811;",i.TRASH="&#xe812;",i.EXTLINK="&#xe814;",i.CALENDAR="&#xe815;",i.BOOK="&#xe817;",i.DOWNLOAD_PLAIN="&#xe818;",i.CHECK="&#xe819;",i.TOPICS="&#xe900;",i.EYE="\f06e",i.DISC="&#xe901;",i.CIRCLE="&#xe903;",i.SHARED="&#xe904;",i.SORT_UNSORTED="&#xe905;",i.SORT_UP="&#xe906;",i.SORT_DOWN="&#xe907;",i.WORKING="&#xe908;",i.CLOSE="&#xe909;",i.ZOOM_OUT="&#xe90a;",i.ZOOM_IN="&#xe90b;",i.ZOOM_REALSIZE="&#xe90c;",i.ZOOM_FULLSCREEN="&#xe90d;",i.ADMIN_RESTRICTED="&#xe90e;",i.ADMIN_THEME="&#xe911;",i.WARNING="&#xe913;",i.CONTEXT="&#xe914;",i.SEARCH_HOME="&#xe915;",i.STEPS="&#xe916;",i.HOME="&#xe80b;",i.TRANSLATE="&#xe924;",i.USER="&#xe813;",i.ADMIN="&#xe902;",i.ANALYTICS="&#xe929;",i.ADMIN_KHUB="&#xe90f;",i.ADMIN_USERS="&#xe910;",i.ADMIN_INTEGRATION="&#xe93c;",i.ADMIN_PORTAL="&#xe912;",e.FtFileFormatIcons=void 0,(p=e.FtFileFormatIcons||(e.FtFileFormatIcons={})).UNKNOWN="&#xe90a;",p.ABW="&#xe900;",p.AUDIO="&#xe901;",p.AVI="&#xe902;",p.CHM="&#xe904;",p.CODE="&#xe905;",p.CSV="&#xe903;",p.DITA="&#xe906;",p.EPUB="&#xe907;",p.EXCEL="&#xe908;",p.FLAC="&#xe909;",p.GIF="&#xe90b;",p.GZIP="&#xe90c;",p.HTML="&#xe90d;",p.IMAGE="&#xe90e;",p.JPEG="&#xe90f;",p.JSON="&#xe910;",p.M4A="&#xe911;",p.MOV="&#xe912;",p.MP3="&#xe913;",p.MP4="&#xe914;",p.OGG="&#xe915;",p.PDF="&#xe916;",p.PNG="&#xe917;",p.POWERPOINT="&#xe918;",p.RAR="&#xe91a;",p.STP="&#xe91b;",p.TEXT="&#xe91c;",p.VIDEO="&#xe91e;",p.WAV="&#xe91f;",p.WMA="&#xe920;",p.WORD="&#xe921;",p.XML="&#xe922;",p.YAML="&#xe919;",p.ZIP="&#xe923;";const n=new Map([...["abw"].map((t=>[t,e.FtFileFormatIcons.ABW])),...["3gp","act","aiff","aac","amr","au","awb","dct","dss","dvf","gsm","iklax","ivs","mmf","mpc","msv","opus","ra","rm","raw","sln","tta","vox","wv"].map((t=>[t,e.FtFileFormatIcons.AUDIO])),...["avi"].map((t=>[t,e.FtFileFormatIcons.AVI])),...["chm","xhs"].map((t=>[t,e.FtFileFormatIcons.CHM])),...["java","py","php","php3","php4","php5","js","javascript","rb","rbw","c","cpp","cxx","h","hh","hpp","hxx","sh","bash","zsh","tcsh","ksh","csh","vb","scala","pl","prl","perl","groovy","ceylon","aspx","jsp","scpt","applescript","bas","bat","lua","jsp","mk","cmake","css","sass","less","m","mm","xcodeproj"].map((t=>[t,e.FtFileFormatIcons.CODE])),...["csv"].map((t=>[t,e.FtFileFormatIcons.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,e.FtFileFormatIcons.DITA])),...["epub"].map((t=>[t,e.FtFileFormatIcons.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,e.FtFileFormatIcons.EXCEL])),...["flac"].map((t=>[t,e.FtFileFormatIcons.FLAC])),...["gif"].map((t=>[t,e.FtFileFormatIcons.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,e.FtFileFormatIcons.GZIP])),...["html","htm","xhtml"].map((t=>[t,e.FtFileFormatIcons.HTML])),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf"].map((t=>[t,e.FtFileFormatIcons.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,e.FtFileFormatIcons.JPEG])),...["json"].map((t=>[t,e.FtFileFormatIcons.JSON])),...["m4a","m4p"].map((t=>[t,e.FtFileFormatIcons.M4A])),...["mov","qt"].map((t=>[t,e.FtFileFormatIcons.MOV])),...["mp3"].map((t=>[t,e.FtFileFormatIcons.MP3])),...["mp4","m4v"].map((t=>[t,e.FtFileFormatIcons.MP4])),...["ogg","oga"].map((t=>[t,e.FtFileFormatIcons.OGG])),...["pdf","ps"].map((t=>[t,e.FtFileFormatIcons.PDF])),...["png"].map((t=>[t,e.FtFileFormatIcons.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,e.FtFileFormatIcons.POWERPOINT])),...["rar"].map((t=>[t,e.FtFileFormatIcons.RAR])),...["stp"].map((t=>[t,e.FtFileFormatIcons.STP])),...["txt","rtf","md","mdown"].map((t=>[t,e.FtFileFormatIcons.TEXT])),...["webm","mkv","flv","vob","ogv","ogg","drc","mng","wmv","yuv","rm","rmvb","asf","mpg","mp2","mpeg","mpe","mpv","m2v","svi","3gp","3g2","mxf","roq","nsv"].map((t=>[t,e.FtFileFormatIcons.VIDEO])),...["wav"].map((t=>[t,e.FtFileFormatIcons.WAV])),...["wma"].map((t=>[t,e.FtFileFormatIcons.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,e.FtFileFormatIcons.WORD])),...["xml","xsl","rdf"].map((t=>[t,e.FtFileFormatIcons.XML])),...["yaml","yml","x-yaml"].map((t=>[t,e.FtFileFormatIcons.YAML])),...["zip"].map((t=>[t,e.FtFileFormatIcons.ZIP]))]),l=new Map([["application/msword","application/doc"],["application/vnd.openxmlformats-officedocument.wordprocessingml.document","application/docx"],["application/vnd.openxmlformats-officedocument.wordprocessingml.template","application/dotx"],["application/vnd.ms-word.document.macroEnabled.12","application/docm"],["application/vnd.ms-word.template.macroEnabled.12","application/dotm"],["application/vnd.ms-excel","application/xls"],["application/vnd.openxmlformats-officedocument.spreadsheetml.sheet","application/xlsx"],["application/vnd.openxmlformats-officedocument.spreadsheetml.template","application/xltx"],["application/vnd.ms-excel.sheet.macroEnabled.12","application/xlsm"],["application/vnd.ms-excel.template.macroEnabled.12","application/xltm"],["application/vnd.ms-excel.addin.macroEnabled.12","application/xlam"],["application/vnd.ms-excel.sheet.binary.macroEnabled.12","application/xlsb"],["application/vnd.ms-powerpoint","application/ppt"],["application/vnd.openxmlformats-officedocument.presentationml.presentation","application/pptx"],["application/vnd.openxmlformats-officedocument.presentationml.template","application/potx"],["application/vnd.openxmlformats-officedocument.presentationml.slideshow","application/ppsx"],["application/vnd.ms-powerpoint.addin.macroEnabled.12","application/ppam"],["application/vnd.ms-powerpoint.presentation.macroEnabled.12","application/pptm"],["application/vnd.ms-powerpoint.template.macroEnabled.12","application/potm"],["application/vnd.ms-powerpoint.slideshow.macroEnabled.12","application/ppsm"],["application/vnd.ms-access","application/mdb"]]);var s,m=function(e,t,a,o){for(var x,i=arguments.length,p=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,a):o,n=e.length-1;n>=0;n--)(x=e[n])&&(p=(i<3?x(p):i>3?x(t,a,p):x(t,a))||p);return i>3&&p&&Object.defineProperty(t,a,p),p};e.FtIconVariants=void 0,(s=e.FtIconVariants||(e.FtIconVariants={})).fluid_topics="fluid-topics",s.file_format="file-format";const c={size:o.FtCssVariable.create("--ft-icon-font-size","SIZE","24px"),fluidTopicsFontFamily:o.FtCssVariable.extend("--ft-icon-fluid-topics-font-family",o.FtCssVariable.create("--ft-icon-font-family","UNKNOWN","ft-icons")),fileFormatFontFamily:o.FtCssVariable.extend("--ft-icon-file-format-font-family",o.FtCssVariable.create("--ft-icon-font-family","UNKNOWN","ft-mime"))},d=t.css`
1
+ !function(e,t,o,a,x){var i,p;e.FtIcons=void 0,(i=e.FtIcons||(e.FtIcons={})).THIN_ARROW_LEFT="&#xe956;",i.THIN_ARROW_RIGHT="&#xe957;",i.MY_COLLECTIONS="&#xe955;",i.OFFLINE_SETTINGS="&#xe954;",i.MY_LIBRARY="&#xe959;",i.RATE_PLAIN="&#xe952;",i.RATE="&#xe953;",i.FEEDBACK_PLAIN="&#xe951;",i.STAR_PLAIN="&#xe94b;",i.STAR="&#xe94c;",i.THUMBS_DOWN_PLAIN="&#xe94d;",i.THUMBS_DOWN="&#xe94e;",i.THUMBS_UP_PLAIN="&#xe94f;",i.THUMBS_UP="&#xe950;",i.PAUSE="&#xe949;",i.PLAY="&#xe94a;",i.RELATIVES_PLAIN="&#xe947;",i.RELATIVES="&#xe948;",i.SHORTCUT_MENU="&#xe946;",i.PRINT="&#xe944;",i.DEFAULT_ROLES="&#xe945;",i.ACCOUNT_SETTINGS="&#xe943;",i.ONLINE="&#xe941;",i.OFFLINE="&#xe816;",i.UPLOAD="&#xe940;",i.BOOK_PLAIN="&#xe93f;",i.SYNC="&#xe93d;",i.SHARED_PBK="&#xe931;",i.COLLECTIONS="&#xe92a;",i.SEARCH_IN_PUBLICATION="&#xe92f;",i.BOOKS="&#xe806;",i.LOCKER="&#xe93b;",i.ARROW_DOWN="&#xe92b;",i.ARROW_LEFT="&#xe92c;",i.ARROW_RIGHT="&#xe92d;",i.ARROW_UP="&#xe92e;",i.SAVE="&#xe93a;",i.MAILS_AND_NOTIFICATIONS="&#xe939;",i.DOT="&#xe936;",i.MINUS="&#xe937;",i.PLUS="&#xe938;",i.FILTERS="&#xe935;",i.STRIPE_ARROW_RIGHT="&#xe934;",i.STRIPE_ARROW_LEFT="&#xe933;",i.ATTACHMENTS="&#xe932;",i.ADD_BOOKMARK="&#xe804;",i.BOOKMARK="&#xe805;",i.EXPORT="&#xe80f;",i.MENU="&#xe807;",i.TAG="&#xe93e;",i.TAG_PLAIN="&#xe942;",i.COPY_TO_CLIPBOARD="&#xe930;",i.COLUMNS="&#xe928;",i.ARTICLE="&#xe927;",i.CLOSE_PLAIN="&#xe925;",i.CHECK_PLAIN="&#xe926;",i.LOGOUT="&#xe923;",i.SIGN_IN="&#xe922;",i.THIN_ARROW="&#xe921;",i.TRIANGLE_BOTTOM="&#xe91d;",i.TRIANGLE_LEFT="&#xe91e;",i.TRIANGLE_RIGHT="&#xe91f;",i.TRIANGLE_TOP="&#xe920;",i.FACET_HAS_DESCENDANT="&#xe91c;",i.MINUS_PLAIN="&#xe91a;",i.PLUS_PLAIN="&#xe91b;",i.INFO="&#xe919;",i.ICON_EXPAND="&#xe917;",i.ICON_COLLAPSE="&#xe918;",i.ADD_TO_PBK="&#xe800;",i.ALERT="&#xe801;",i.ADD_ALERT="&#xe802;",i.BACK_TO_SEARCH="&#xe803;",i.DOWNLOAD="&#xe808;",i.EDIT="&#xe809;",i.FEEDBACK="&#xe80a;",i.MODIFY_PBK="&#xe80c;",i.SCHEDULED="&#xe80d;",i.SEARCH="&#xe80e;",i.SHARE="&#xe80f1;",i.TOC="&#xe810;",i.WRITE_UGC="&#xe811;",i.TRASH="&#xe812;",i.EXTLINK="&#xe814;",i.CALENDAR="&#xe815;",i.BOOK="&#xe817;",i.DOWNLOAD_PLAIN="&#xe818;",i.CHECK="&#xe819;",i.TOPICS="&#xe900;",i.EYE="\f06e",i.DISC="&#xe901;",i.CIRCLE="&#xe903;",i.SHARED="&#xe904;",i.SORT_UNSORTED="&#xe905;",i.SORT_UP="&#xe906;",i.SORT_DOWN="&#xe907;",i.WORKING="&#xe908;",i.CLOSE="&#xe909;",i.ZOOM_OUT="&#xe90a;",i.ZOOM_IN="&#xe90b;",i.ZOOM_REALSIZE="&#xe90c;",i.ZOOM_FULLSCREEN="&#xe90d;",i.ADMIN_RESTRICTED="&#xe90e;",i.ADMIN_THEME="&#xe911;",i.WARNING="&#xe913;",i.CONTEXT="&#xe914;",i.SEARCH_HOME="&#xe915;",i.STEPS="&#xe916;",i.HOME="&#xe80b;",i.TRANSLATE="&#xe924;",i.USER="&#xe813;",i.ADMIN="&#xe902;",i.ANALYTICS="&#xe929;",i.ADMIN_KHUB="&#xe90f;",i.ADMIN_USERS="&#xe910;",i.ADMIN_INTEGRATION="&#xe93c;",i.ADMIN_PORTAL="&#xe912;",e.FtFileFormatIcons=void 0,(p=e.FtFileFormatIcons||(e.FtFileFormatIcons={})).UNKNOWN="&#xe90a;",p.ABW="&#xe900;",p.AUDIO="&#xe901;",p.AVI="&#xe902;",p.CHM="&#xe904;",p.CODE="&#xe905;",p.CSV="&#xe903;",p.DITA="&#xe906;",p.EPUB="&#xe907;",p.EXCEL="&#xe908;",p.FLAC="&#xe909;",p.GIF="&#xe90b;",p.GZIP="&#xe90c;",p.HTML="&#xe90d;",p.IMAGE="&#xe90e;",p.JPEG="&#xe90f;",p.JSON="&#xe910;",p.M4A="&#xe911;",p.MOV="&#xe912;",p.MP3="&#xe913;",p.MP4="&#xe914;",p.OGG="&#xe915;",p.PDF="&#xe916;",p.PNG="&#xe917;",p.POWERPOINT="&#xe918;",p.RAR="&#xe91a;",p.STP="&#xe91b;",p.TEXT="&#xe91c;",p.VIDEO="&#xe91e;",p.WAV="&#xe91f;",p.WMA="&#xe920;",p.WORD="&#xe921;",p.XML="&#xe922;",p.YAML="&#xe919;",p.ZIP="&#xe923;";const n=new Map([...["abw"].map((t=>[t,e.FtFileFormatIcons.ABW])),...["3gp","act","aiff","aac","amr","au","awb","dct","dss","dvf","gsm","iklax","ivs","mmf","mpc","msv","opus","ra","rm","raw","sln","tta","vox","wv"].map((t=>[t,e.FtFileFormatIcons.AUDIO])),...["avi"].map((t=>[t,e.FtFileFormatIcons.AVI])),...["chm","xhs"].map((t=>[t,e.FtFileFormatIcons.CHM])),...["java","py","php","php3","php4","php5","js","javascript","rb","rbw","c","cpp","cxx","h","hh","hpp","hxx","sh","bash","zsh","tcsh","ksh","csh","vb","scala","pl","prl","perl","groovy","ceylon","aspx","jsp","scpt","applescript","bas","bat","lua","jsp","mk","cmake","css","sass","less","m","mm","xcodeproj"].map((t=>[t,e.FtFileFormatIcons.CODE])),...["csv"].map((t=>[t,e.FtFileFormatIcons.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,e.FtFileFormatIcons.DITA])),...["epub"].map((t=>[t,e.FtFileFormatIcons.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,e.FtFileFormatIcons.EXCEL])),...["flac"].map((t=>[t,e.FtFileFormatIcons.FLAC])),...["gif"].map((t=>[t,e.FtFileFormatIcons.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,e.FtFileFormatIcons.GZIP])),...["html","htm","xhtml"].map((t=>[t,e.FtFileFormatIcons.HTML])),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf"].map((t=>[t,e.FtFileFormatIcons.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,e.FtFileFormatIcons.JPEG])),...["json"].map((t=>[t,e.FtFileFormatIcons.JSON])),...["m4a","m4p"].map((t=>[t,e.FtFileFormatIcons.M4A])),...["mov","qt"].map((t=>[t,e.FtFileFormatIcons.MOV])),...["mp3"].map((t=>[t,e.FtFileFormatIcons.MP3])),...["mp4","m4v"].map((t=>[t,e.FtFileFormatIcons.MP4])),...["ogg","oga"].map((t=>[t,e.FtFileFormatIcons.OGG])),...["pdf","ps"].map((t=>[t,e.FtFileFormatIcons.PDF])),...["png"].map((t=>[t,e.FtFileFormatIcons.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,e.FtFileFormatIcons.POWERPOINT])),...["rar"].map((t=>[t,e.FtFileFormatIcons.RAR])),...["stp"].map((t=>[t,e.FtFileFormatIcons.STP])),...["txt","rtf","md","mdown"].map((t=>[t,e.FtFileFormatIcons.TEXT])),...["webm","mkv","flv","vob","ogv","ogg","drc","mng","wmv","yuv","rm","rmvb","asf","mpg","mp2","mpeg","mpe","mpv","m2v","svi","3gp","3g2","mxf","roq","nsv"].map((t=>[t,e.FtFileFormatIcons.VIDEO])),...["wav"].map((t=>[t,e.FtFileFormatIcons.WAV])),...["wma"].map((t=>[t,e.FtFileFormatIcons.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,e.FtFileFormatIcons.WORD])),...["xml","xsl","rdf"].map((t=>[t,e.FtFileFormatIcons.XML])),...["yaml","yml","x-yaml"].map((t=>[t,e.FtFileFormatIcons.YAML])),...["zip"].map((t=>[t,e.FtFileFormatIcons.ZIP]))]),l=new Map([["application/msword","application/doc"],["application/vnd.openxmlformats-officedocument.wordprocessingml.document","application/docx"],["application/vnd.openxmlformats-officedocument.wordprocessingml.template","application/dotx"],["application/vnd.ms-word.document.macroEnabled.12","application/docm"],["application/vnd.ms-word.template.macroEnabled.12","application/dotm"],["application/vnd.ms-excel","application/xls"],["application/vnd.openxmlformats-officedocument.spreadsheetml.sheet","application/xlsx"],["application/vnd.openxmlformats-officedocument.spreadsheetml.template","application/xltx"],["application/vnd.ms-excel.sheet.macroEnabled.12","application/xlsm"],["application/vnd.ms-excel.template.macroEnabled.12","application/xltm"],["application/vnd.ms-excel.addin.macroEnabled.12","application/xlam"],["application/vnd.ms-excel.sheet.binary.macroEnabled.12","application/xlsb"],["application/vnd.ms-powerpoint","application/ppt"],["application/vnd.openxmlformats-officedocument.presentationml.presentation","application/pptx"],["application/vnd.openxmlformats-officedocument.presentationml.template","application/potx"],["application/vnd.openxmlformats-officedocument.presentationml.slideshow","application/ppsx"],["application/vnd.ms-powerpoint.addin.macroEnabled.12","application/ppam"],["application/vnd.ms-powerpoint.presentation.macroEnabled.12","application/pptm"],["application/vnd.ms-powerpoint.template.macroEnabled.12","application/potm"],["application/vnd.ms-powerpoint.slideshow.macroEnabled.12","application/ppsm"],["application/vnd.ms-access","application/mdb"]]);var s,m=function(e,t,o,a){for(var x,i=arguments.length,p=i<3?t:null===a?a=Object.getOwnPropertyDescriptor(t,o):a,n=e.length-1;n>=0;n--)(x=e[n])&&(p=(i<3?x(p):i>3?x(t,o,p):x(t,o))||p);return i>3&&p&&Object.defineProperty(t,o,p),p};e.FtIconVariants=void 0,(s=e.FtIconVariants||(e.FtIconVariants={})).fluid_topics="fluid-topics",s.file_format="file-format";const c={size:t.FtCssVariable.create("--ft-icon-font-size","SIZE","24px"),fluidTopicsFontFamily:t.FtCssVariable.extend("--ft-icon-fluid-topics-font-family",t.FtCssVariable.create("--ft-icon-font-family","UNKNOWN","ft-icons")),fileFormatFontFamily:t.FtCssVariable.extend("--ft-icon-file-format-font-family",t.FtCssVariable.create("--ft-icon-font-family","UNKNOWN","ft-mime"))},d=o.css`
2
2
  .ft-icon--fluid-topics {
3
3
  font-family: ${c.fluidTopicsFontFamily}, ft-icons, fticons, sans-serif;
4
4
  font-size: ${c.size};
@@ -13,7 +13,7 @@
13
13
  -webkit-font-smoothing: antialiased;
14
14
  -moz-osx-font-smoothing: grayscale;
15
15
  }
16
- `,f=t.css`
16
+ `,f=o.css`
17
17
  .ft-icon--file-format {
18
18
  font-family: ${c.fileFormatFontFamily}, ft-mime, sans-serif;
19
19
  font-size: ${c.size};
@@ -28,14 +28,14 @@
28
28
  -webkit-font-smoothing: antialiased;
29
29
  -moz-osx-font-smoothing: grayscale;
30
30
  }
31
- `;e.FtIcon=class extends o.FtLitElement{constructor(){super(...arguments),this.variant=e.FtIconVariants.fluid_topics}getStyles(){return[d,f,t.css`
32
- :host, i.ft-icon {
33
- display: inline-block;
34
- width: ${c.size};
35
- height: ${c.size};
36
- text-align: center;
37
- }
38
- `]}getTemplate(){return t.html`
31
+ `;class r extends t.FtLitElement{constructor(){super(...arguments),this.variant=e.FtIconVariants.fluid_topics}render(){return o.html`
39
32
  <slot @slotchange=${()=>this.requestUpdate()} hidden></slot>
40
33
  <i class="ft-icon ${"ft-icon--"+this.variant}">${x.unsafeHTML(this.getIcon())}</i>
41
- `}get textContent(){var e,t;return null!==(t=null===(e=this.slottedContent)||void 0===e?void 0:e.assignedNodes().map((e=>e.textContent)).join("").trim())&&void 0!==t?t:""}getIcon(){var t,a;return this.variant===e.FtIconVariants.file_format?null!==(t=e.FtFileFormatIcons[this.textContent.toUpperCase()])&&void 0!==t?t:this.textContent:null!==(a=e.FtIcons[this.textContent.toUpperCase()])&&void 0!==a?a:this.textContent}},e.FtIcon.elementDefinitions={},m([a.property()],e.FtIcon.prototype,"variant",void 0),m([a.query("slot")],e.FtIcon.prototype,"slottedContent",void 0),e.FtIcon=m([o.customElement("ft-icon")],e.FtIcon),e.FtIconCssVariables=c,e.FtIconFileFormat=f,e.FtIconFluidTopics=d,e.resolveFileFormatIcon=function(t,a){var o,x,i,p;t=(null!=t?t:"").toLowerCase(),a=(null!=a?a:"").toLowerCase();const[s,m]=((null!==(o=l.get(t))&&void 0!==o?o:t)+"/").split("/");return null!==(p=null!==(i=null!==(x=n.get(m))&&void 0!==x?x:n.get(a))&&void 0!==i?i:n.get(s))&&void 0!==p?p:e.FtFileFormatIcons.UNKNOWN},Object.defineProperty(e,"t",{value:!0})}({},ftGlobals.lit,ftGlobals.litDecorators,ftGlobals.wcUtils,ftGlobals.litUnsafeHTML);
34
+ `}get textContent(){var e,t;return null!==(t=null===(e=this.slottedContent)||void 0===e?void 0:e.assignedNodes().map((e=>e.textContent)).join("").trim())&&void 0!==t?t:""}getIcon(){var t,o;return this.variant===e.FtIconVariants.file_format?null!==(t=e.FtFileFormatIcons[this.textContent.toUpperCase()])&&void 0!==t?t:this.textContent:null!==(o=e.FtIcons[this.textContent.toUpperCase()])&&void 0!==o?o:this.textContent}}r.elementDefinitions={},r.styles=[d,f,o.css`
35
+ :host, i.ft-icon {
36
+ display: inline-block;
37
+ width: ${c.size};
38
+ height: ${c.size};
39
+ text-align: center;
40
+ }
41
+ `],m([a.property()],r.prototype,"variant",void 0),m([a.query("slot")],r.prototype,"slottedContent",void 0),t.customElement("ft-icon")(r),e.FtIcon=r,e.FtIconCssVariables=c,e.FtIconFileFormat=f,e.FtIconFluidTopics=d,e.resolveFileFormatIcon=function(t,o){var a,x,i,p;t=(null!=t?t:"").toLowerCase(),o=(null!=o?o:"").toLowerCase();const[s,m]=((null!==(a=l.get(t))&&void 0!==a?a:t)+"/").split("/");return null!==(p=null!==(i=null!==(x=n.get(m))&&void 0!==x?x:n.get(o))&&void 0!==i?i:n.get(s))&&void 0!==p?p:e.FtFileFormatIcons.UNKNOWN},Object.defineProperty(e,"t",{value:!0})}({},ftGlobals.wcUtils,ftGlobals.lit,ftGlobals.litDecorators,ftGlobals.litUnsafeHTML);
@@ -1,50 +1,64 @@
1
1
  !function(t){
2
2
  /**
3
3
  * @license
4
- * Copyright 2019 Google LLC
5
- * SPDX-License-Identifier: BSD-3-Clause
4
+ * Copyright (c) 2020 The Polymer Project Authors. All rights reserved.
5
+ * This code may only be used under the BSD style license found at
6
+ * http://polymer.github.io/LICENSE.txt
7
+ * The complete set of authors may be found at
8
+ * http://polymer.github.io/AUTHORS.txt
9
+ * The complete set of contributors may be found at
10
+ * http://polymer.github.io/CONTRIBUTORS.txt
11
+ * Code distributed by Google as part of the polymer project is also
12
+ * subject to an additional IP rights grant found at
13
+ * http://polymer.github.io/PATENTS.txt
14
+ *
15
+ * @see https://github.com/webcomponents/polyfills/tree/master/packages/scoped-custom-element-registry
6
16
  */
7
- const e=window.ShadowRoot&&(void 0===window.ShadyCSS||window.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,i=Symbol(),n=new Map;class o{constructor(t,e){if(this._$cssResult$=!0,e!==i)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t}get styleSheet(){let t=n.get(this.cssText);return e&&void 0===t&&(n.set(this.cssText,t=new CSSStyleSheet),t.replaceSync(this.cssText)),t}toString(){return this.cssText}}const s=t=>new o("string"==typeof t?t:t+"",i),r=(t,...e)=>{const n=1===t.length?t[0]:e.reduce(((e,i,n)=>e+(t=>{if(!0===t._$cssResult$)return t.cssText;if("number"==typeof t)return t;throw Error("Value passed to 'css' function must be a 'css' function result: "+t+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(i)+t[n+1]),t[0]);return new o(n,i)},a=(t,i)=>{e?t.adoptedStyleSheets=i.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet)):i.forEach((e=>{const i=document.createElement("style"),n=window.litNonce;void 0!==n&&i.setAttribute("nonce",n),i.textContent=e.cssText,t.appendChild(i)}))},l=e?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const i of t.cssRules)e+=i.cssText;return s(e)})(t):t
17
+ if(!ShadowRoot.prototype.createElement){const t=window.HTMLElement,e=window.customElements.define,i=window.customElements.get,s=window.customElements,o=new WeakMap,n=new WeakMap,r=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,o){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(o))throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");const a=o.prototype.attributeChangedCallback,l=new Set(o.observedAttributes||[]);d(o,l,a);const c={elementClass:o,connectedCallback:o.prototype.connectedCallback,disconnectedCallback:o.prototype.disconnectedCallback,adoptedCallback:o.prototype.adoptedCallback,attributeChangedCallback:a,formAssociated:o.formAssociated,formAssociatedCallback:o.prototype.formAssociatedCallback,formDisabledCallback:o.prototype.formDisabledCallback,formResetCallback:o.prototype.formResetCallback,formStateRestoreCallback:o.prototype.formStateRestoreCallback,observedAttributes:l};this._definitionsByTag.set(t,c),this._definitionsByClass.set(o,c);let h=i.call(s,t);h||(h=p(t),e.call(s,t,h)),this===window.customElements&&(r.set(o,c),c.standInClass=h);const u=this._awaitingUpgrade.get(t);if(u){this._awaitingUpgrade.delete(t);for(const t of u)n.delete(t),x(t,c,!0)}const f=this._whenDefinedPromises.get(t);return void 0!==f&&(f.resolve(o),this._whenDefinedPromises.delete(t)),o}upgrade(){m.push(this),s.upgrade.apply(s,arguments),m.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 s=this._awaitingUpgrade.get(e);s||this._awaitingUpgrade.set(e,s=new Set),i?s.add(t):s.delete(t)}},window.HTMLElement=function(){let e=l;if(e)return l=void 0,e;const i=r.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),o.set(e,i),e},window.HTMLElement.prototype=t.prototype;const c=t=>t===document||t instanceof ShadowRoot,h=t=>{let e=t.getRootNode();if(!c(e)){const t=m[m.length-1];if(t instanceof CustomElementRegistry)return t;e=t.getRootNode(),c(e)||(e=a.get(e)?.getRootNode()||document)}return e.customElements},p=e=>class{static get formAssociated(){return!0}constructor(){const i=Reflect.construct(t,[],this.constructor);Object.setPrototypeOf(i,HTMLElement.prototype);const s=h(i)||window.customElements,o=s._getDefinition(e);return o?x(i,o):n.set(i,s),i}connectedCallback(){const t=o.get(this);t?t.connectedCallback&&t.connectedCallback.apply(this,arguments):n.get(this)._upgradeWhenDefined(this,e,!0)}disconnectedCallback(){const t=o.get(this);t?t.disconnectedCallback&&t.disconnectedCallback.apply(this,arguments):n.get(this)._upgradeWhenDefined(this,e,!1)}adoptedCallback(){o.get(this)?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){const t=o.get(this);t&&t.formAssociated&&t?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){const t=o.get(this);t?.formAssociated&&t?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){const t=o.get(this);t?.formAssociated&&t?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){const t=o.get(this);t?.formAssociated&&t?.formStateRestoreCallback?.apply(this,arguments)}},d=(t,e,i)=>{if(0===e.size||void 0===i)return;const s=t.prototype.setAttribute;s&&(t.prototype.setAttribute=function(t,o){const n=t.toLowerCase();if(e.has(n)){const t=this.getAttribute(n);s.call(this,n,o),i.call(this,n,t,o)}else s.call(this,n,o)});const o=t.prototype.removeAttribute;o&&(t.prototype.removeAttribute=function(t){const s=t.toLowerCase();if(e.has(s)){const t=this.getAttribute(s);o.call(this,s),i.call(this,s,t,null)}else o.call(this,s)})},u=e=>{const i=Object.getPrototypeOf(e);if(i!==window.HTMLElement)return i===t||"HTMLElement"===i?.prototype?.constructor?.name?Object.setPrototypeOf(e,window.HTMLElement):u(i)},x=(t,e,i=!1)=>{Object.setPrototypeOf(t,e.elementClass.prototype),o.set(t,e),l=t;try{new e.elementClass}catch(t){u(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)},f=Element.prototype.attachShadow;Element.prototype.attachShadow=function(t){const e=f.apply(this,arguments);return t.customElements&&(e.customElements=t.customElements),e};let m=[document];const v=(t,e,i)=>{const s=(i?Object.getPrototypeOf(i):t.prototype)[e];t.prototype[e]=function(){m.push(this);const t=s.apply(i||this,arguments);return void 0!==t&&a.set(t,this),m.pop(),t}};v(ShadowRoot,"createElement",document),v(ShadowRoot,"importNode",document),v(Element,"insertAdjacentHTML");const b=(t,e)=>{const i=Object.getOwnPropertyDescriptor(t.prototype,e);Object.defineProperty(t.prototype,e,{...i,set(t){m.push(this),i.set.call(this,t),m.pop()}})};if(b(Element,"innerHTML"),b(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 s=e.call(this,...i);return t.set(s,this),s},i.forEach((e=>{const i=window.ElementInternals.prototype,s=i[e];i[e]=function(...e){const i=t.get(this);if(!0!==o.get(i).formAssociated)throw new DOMException(`Failed to execute ${s} on 'ElementInternals': The target element is not a form-associated custom element.`);s?.call(this,...e)}}));class s extends Array{constructor(t){super(...t),this._elements=t}get value(){return this._elements.find((t=>!0===t.checked))?.value||""}}class n{constructor(t){const e=new Map;t.forEach(((t,i)=>{const s=t.getAttribute("name"),o=e.get(s)||[];this[+i]=t,o.push(t),e.set(s,o)})),this.length=t.length,e.forEach(((t,e)=>{t&&(1===t.length?this[e]=t[0]:this[e]=new s(t))}))}namedItem(t){return this[t]}}const r=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){const t=r.get.call(this,[]),e=[];for(const i of t){const t=o.get(i);t&&!0!==t.formAssociated||e.push(i)}return new n(e)}})}}try{window.customElements.define("custom-element",null)}catch(lt){const t=window.customElements.define;window.customElements.define=(e,i,s)=>{try{t.bind(window.customElements)(e,i,s)}catch(t){console.warn(e,i,s,t)}}}
8
18
  /**
9
19
  * @license
10
20
  * Copyright 2017 Google LLC
11
21
  * SPDX-License-Identifier: BSD-3-Clause
12
- */;var c;const h=window.trustedTypes,p=h?h.emptyScript:"",u=window.reactiveElementPolyfillSupport,d={toAttribute(t,e){switch(e){case Boolean:t=t?p:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,e){let i=t;switch(e){case Boolean:i=null!==t;break;case Number:i=null===t?null:Number(t);break;case Object:case Array:try{i=JSON.parse(t)}catch(t){i=null}}return i}},f=(t,e)=>e!==t&&(e==e||t==t),x={attribute:!0,type:String,converter:d,reflect:!1,hasChanged:f};class v extends HTMLElement{constructor(){super(),this._$Et=new Map,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Ei=null,this.o()}static addInitializer(t){var e;null!==(e=this.l)&&void 0!==e||(this.l=[]),this.l.push(t)}static get observedAttributes(){this.finalize();const t=[];return this.elementProperties.forEach(((e,i)=>{const n=this._$Eh(i,e);void 0!==n&&(this._$Eu.set(n,i),t.push(n))})),t}static createProperty(t,e=x){if(e.state&&(e.attribute=!1),this.finalize(),this.elementProperties.set(t,e),!e.noAccessor&&!this.prototype.hasOwnProperty(t)){const i="symbol"==typeof t?Symbol():"__"+t,n=this.getPropertyDescriptor(t,i,e);void 0!==n&&Object.defineProperty(this.prototype,t,n)}}static getPropertyDescriptor(t,e,i){return{get(){return this[e]},set(n){const o=this[t];this[e]=n,this.requestUpdate(t,o,i)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)||x}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 t=this.properties,e=[...Object.getOwnPropertyNames(t),...Object.getOwnPropertySymbols(t)];for(const i of e)this.createProperty(i,t[i])}return this.elementStyles=this.finalizeStyles(this.styles),!0}static finalizeStyles(t){const e=[];if(Array.isArray(t)){const i=new Set(t.flat(1/0).reverse());for(const t of i)e.unshift(l(t))}else void 0!==t&&e.push(l(t));return e}static _$Eh(t,e){const i=e.attribute;return!1===i?void 0:"string"==typeof i?i:"string"==typeof t?t.toLowerCase():void 0}o(){var t;this._$Ep=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$Em(),this.requestUpdate(),null===(t=this.constructor.l)||void 0===t||t.forEach((t=>t(this)))}addController(t){var e,i;(null!==(e=this._$Eg)&&void 0!==e?e:this._$Eg=[]).push(t),void 0!==this.renderRoot&&this.isConnected&&(null===(i=t.hostConnected)||void 0===i||i.call(t))}removeController(t){var e;null===(e=this._$Eg)||void 0===e||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=null!==(t=this.shadowRoot)&&void 0!==t?t:this.attachShadow(this.constructor.shadowRootOptions);return a(e,this.constructor.elementStyles),e}connectedCallback(){var t;void 0===this.renderRoot&&(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),null===(t=this._$Eg)||void 0===t||t.forEach((t=>{var e;return null===(e=t.hostConnected)||void 0===e?void 0:e.call(t)}))}enableUpdating(t){}disconnectedCallback(){var t;null===(t=this._$Eg)||void 0===t||t.forEach((t=>{var e;return null===(e=t.hostDisconnected)||void 0===e?void 0:e.call(t)}))}attributeChangedCallback(t,e,i){this._$AK(t,i)}_$ES(t,e,i=x){var n,o;const s=this.constructor._$Eh(t,i);if(void 0!==s&&!0===i.reflect){const r=(null!==(o=null===(n=i.converter)||void 0===n?void 0:n.toAttribute)&&void 0!==o?o:d.toAttribute)(e,i.type);this._$Ei=t,null==r?this.removeAttribute(s):this.setAttribute(s,r),this._$Ei=null}}_$AK(t,e){var i,n,o;const s=this.constructor,r=s._$Eu.get(t);if(void 0!==r&&this._$Ei!==r){const t=s.getPropertyOptions(r),a=t.converter,l=null!==(o=null!==(n=null===(i=a)||void 0===i?void 0:i.fromAttribute)&&void 0!==n?n:"function"==typeof a?a:null)&&void 0!==o?o:d.fromAttribute;this._$Ei=r,this[r]=l(e,t.type),this._$Ei=null}}requestUpdate(t,e,i){let n=!0;void 0!==t&&(((i=i||this.constructor.getPropertyOptions(t)).hasChanged||f)(this[t],e)?(this._$AL.has(t)||this._$AL.set(t,e),!0===i.reflect&&this._$Ei!==t&&(void 0===this._$E_&&(this._$E_=new Map),this._$E_.set(t,i))):n=!1),!this.isUpdatePending&&n&&(this._$Ep=this._$EC())}async _$EC(){this.isUpdatePending=!0;try{await this._$Ep}catch(t){Promise.reject(t)}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){var t;if(!this.isUpdatePending)return;this.hasUpdated,this._$Et&&(this._$Et.forEach(((t,e)=>this[e]=t)),this._$Et=void 0);let e=!1;const i=this._$AL;try{e=this.shouldUpdate(i),e?(this.willUpdate(i),null===(t=this._$Eg)||void 0===t||t.forEach((t=>{var e;return null===(e=t.hostUpdate)||void 0===e?void 0:e.call(t)})),this.update(i)):this._$EU()}catch(t){throw e=!1,this._$EU(),t}e&&this._$AE(i)}willUpdate(t){}_$AE(t){var e;null===(e=this._$Eg)||void 0===e||e.forEach((t=>{var e;return null===(e=t.hostUpdated)||void 0===e?void 0:e.call(t)})),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$EU(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$Ep}shouldUpdate(t){return!0}update(t){void 0!==this._$E_&&(this._$E_.forEach(((t,e)=>this._$ES(e,this[e],t))),this._$E_=void 0),this._$EU()}updated(t){}firstUpdated(t){}}
22
+ */const e=(t,e)=>"method"===e.kind&&e.descriptor&&!("value"in e.descriptor)?{...e,finisher(i){i.createProperty(e.key,t)}}:{kind:"field",key:Symbol(),placement:"own",descriptor:{},originalKey:e.key,initializer(){"function"==typeof e.initializer&&(this[e.key]=e.initializer.call(this))},finisher(i){i.createProperty(e.key,t)}};
13
23
  /**
14
24
  * @license
15
- * Copyright 2017 Google LLC
25
+ * Copyright 2021 Google LLC
16
26
  * SPDX-License-Identifier: BSD-3-Clause
17
27
  */
18
- var m;v.finalized=!0,v.elementProperties=new Map,v.elementStyles=[],v.shadowRootOptions={mode:"open"},null==u||u({ReactiveElement:v}),(null!==(c=globalThis.reactiveElementVersions)&&void 0!==c?c:globalThis.reactiveElementVersions=[]).push("1.2.2");const b=globalThis.trustedTypes,g=b?b.createPolicy("lit-html",{createHTML:t=>t}):void 0,w=`lit$${(Math.random()+"").slice(9)}$`,y="?"+w,O=`<${y}>`,E=document,N=(t="")=>E.createComment(t),R=t=>null===t||"object"!=typeof t&&"function"!=typeof t,C=Array.isArray,S=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,M=/-->/g,$=/>/g,U=/>|[ \n \r](?:([^\s"'>=/]+)([ \n \r]*=[ \n \r]*(?:[^ \n \r"'`<>=]|("|')|))|$)/g,j=/'/g,k=/"/g,F=/^(?:script|style|textarea|title)$/i,T=(t=>(e,...i)=>({_$litType$:t,strings:e,values:i}))(1),A=Symbol.for("lit-noChange"),L=Symbol.for("lit-nothing"),_=new WeakMap,B=E.createTreeWalker(E,129,null,!1),W=(t,e)=>{const i=t.length-1,n=[];let o,s=2===e?"<svg>":"",r=S;for(let e=0;e<i;e++){const i=t[e];let a,l,c=-1,h=0;for(;h<i.length&&(r.lastIndex=h,l=r.exec(i),null!==l);)h=r.lastIndex,r===S?"!--"===l[1]?r=M:void 0!==l[1]?r=$:void 0!==l[2]?(F.test(l[2])&&(o=RegExp("</"+l[2],"g")),r=U):void 0!==l[3]&&(r=U):r===U?">"===l[0]?(r=null!=o?o:S,c=-1):void 0===l[1]?c=-2:(c=r.lastIndex-l[2].length,a=l[1],r=void 0===l[3]?U:'"'===l[3]?k:j):r===k||r===j?r=U:r===M||r===$?r=S:(r=U,o=void 0);const p=r===U&&t[e+1].startsWith("/>")?" ":"";s+=r===S?i+O:c>=0?(n.push(a),i.slice(0,c)+"$lit$"+i.slice(c)+w+p):i+w+(-2===c?(n.push(void 0),e):p)}const a=s+(t[i]||"<?>")+(2===e?"</svg>":"");if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return[void 0!==g?g.createHTML(a):a,n]};class z{constructor({strings:t,_$litType$:e},i){let n;this.parts=[];let o=0,s=0;const r=t.length-1,a=this.parts,[l,c]=W(t,e);if(this.el=z.createElement(l,i),B.currentNode=this.el.content,2===e){const t=this.el.content,e=t.firstChild;e.remove(),t.append(...e.childNodes)}for(;null!==(n=B.nextNode())&&a.length<r;){if(1===n.nodeType){if(n.hasAttributes()){const t=[];for(const e of n.getAttributeNames())if(e.endsWith("$lit$")||e.startsWith(w)){const i=c[s++];if(t.push(e),void 0!==i){const t=n.getAttribute(i.toLowerCase()+"$lit$").split(w),e=/([.?@])?(.*)/.exec(i);a.push({type:1,index:o,name:e[2],strings:t,ctor:"."===e[1]?P:"?"===e[1]?Z:"@"===e[1]?q:D})}else a.push({type:6,index:o})}for(const e of t)n.removeAttribute(e)}if(F.test(n.tagName)){const t=n.textContent.split(w),e=t.length-1;if(e>0){n.textContent=b?b.emptyScript:"";for(let i=0;i<e;i++)n.append(t[i],N()),B.nextNode(),a.push({type:2,index:++o});n.append(t[e],N())}}}else if(8===n.nodeType)if(n.data===y)a.push({type:2,index:o});else{let t=-1;for(;-1!==(t=n.data.indexOf(w,t+1));)a.push({type:7,index:o}),t+=w.length-1}o++}}static createElement(t,e){const i=E.createElement("template");return i.innerHTML=t,i}}function K(t,e,i=t,n){var o,s,r,a;if(e===A)return e;let l=void 0!==n?null===(o=i._$Cl)||void 0===o?void 0:o[n]:i._$Cu;const c=R(e)?void 0:e._$litDirective$;return(null==l?void 0:l.constructor)!==c&&(null===(s=null==l?void 0:l._$AO)||void 0===s||s.call(l,!1),void 0===c?l=void 0:(l=new c(t),l._$AT(t,i,n)),void 0!==n?(null!==(r=(a=i)._$Cl)&&void 0!==r?r:a._$Cl=[])[n]=l:i._$Cu=l),void 0!==l&&(e=K(t,l._$AS(t,e.values),l,n)),e}class I{constructor(t,e){this.v=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}p(t){var e;const{el:{content:i},parts:n}=this._$AD,o=(null!==(e=null==t?void 0:t.creationScope)&&void 0!==e?e:E).importNode(i,!0);B.currentNode=o;let s=B.nextNode(),r=0,a=0,l=n[0];for(;void 0!==l;){if(r===l.index){let e;2===l.type?e=new H(s,s.nextSibling,this,t):1===l.type?e=new l.ctor(s,l.name,l.strings,this,t):6===l.type&&(e=new J(s,this,t)),this.v.push(e),l=n[++a]}r!==(null==l?void 0:l.index)&&(s=B.nextNode(),r++)}return o}m(t){let e=0;for(const i of this.v)void 0!==i&&(void 0!==i.strings?(i._$AI(t,i,e),e+=i.strings.length-2):i._$AI(t[e])),e++}}class H{constructor(t,e,i,n){var o;this.type=2,this._$AH=L,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=i,this.options=n,this._$Cg=null===(o=null==n?void 0:n.isConnected)||void 0===o||o}get _$AU(){var t,e;return null!==(e=null===(t=this._$AM)||void 0===t?void 0:t._$AU)&&void 0!==e?e:this._$Cg}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=K(this,t,e),R(t)?t===L||null==t||""===t?(this._$AH!==L&&this._$AR(),this._$AH=L):t!==this._$AH&&t!==A&&this.$(t):void 0!==t._$litType$?this.T(t):void 0!==t.nodeType?this.S(t):(t=>{var e;return C(t)||"function"==typeof(null===(e=t)||void 0===e?void 0:e[Symbol.iterator])})(t)?this.A(t):this.$(t)}M(t,e=this._$AB){return this._$AA.parentNode.insertBefore(t,e)}S(t){this._$AH!==t&&(this._$AR(),this._$AH=this.M(t))}$(t){this._$AH!==L&&R(this._$AH)?this._$AA.nextSibling.data=t:this.S(E.createTextNode(t)),this._$AH=t}T(t){var e;const{values:i,_$litType$:n}=t,o="number"==typeof n?this._$AC(t):(void 0===n.el&&(n.el=z.createElement(n.h,this.options)),n);if((null===(e=this._$AH)||void 0===e?void 0:e._$AD)===o)this._$AH.m(i);else{const t=new I(o,this),e=t.p(this.options);t.m(i),this.S(e),this._$AH=t}}_$AC(t){let e=_.get(t.strings);return void 0===e&&_.set(t.strings,e=new z(t)),e}A(t){C(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let i,n=0;for(const o of t)n===e.length?e.push(i=new H(this.M(N()),this.M(N()),this,this.options)):i=e[n],i._$AI(o),n++;n<e.length&&(this._$AR(i&&i._$AB.nextSibling,n),e.length=n)}_$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._$Cg=t,null===(e=this._$AP)||void 0===e||e.call(this,t))}}class D{constructor(t,e,i,n,o){this.type=1,this._$AH=L,this._$AN=void 0,this.element=t,this.name=e,this._$AM=n,this.options=o,i.length>2||""!==i[0]||""!==i[1]?(this._$AH=Array(i.length-1).fill(new String),this.strings=i):this._$AH=L}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,e=this,i,n){const o=this.strings;let s=!1;if(void 0===o)t=K(this,t,e,0),s=!R(t)||t!==this._$AH&&t!==A,s&&(this._$AH=t);else{const n=t;let r,a;for(t=o[0],r=0;r<o.length-1;r++)a=K(this,n[i+r],e,r),a===A&&(a=this._$AH[r]),s||(s=!R(a)||a!==this._$AH[r]),a===L?t=L:t!==L&&(t+=(null!=a?a:"")+o[r+1]),this._$AH[r]=a}s&&!n&&this.k(t)}k(t){t===L?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}}class P extends D{constructor(){super(...arguments),this.type=3}k(t){this.element[this.name]=t===L?void 0:t}}const V=b?b.emptyScript:"";class Z extends D{constructor(){super(...arguments),this.type=4}k(t){t&&t!==L?this.element.setAttribute(this.name,V):this.element.removeAttribute(this.name)}}class q extends D{constructor(t,e,i,n,o){super(t,e,i,n,o),this.type=5}_$AI(t,e=this){var i;if((t=null!==(i=K(this,t,e,0))&&void 0!==i?i:L)===A)return;const n=this._$AH,o=t===L&&n!==L||t.capture!==n.capture||t.once!==n.once||t.passive!==n.passive,s=t!==L&&(n===L||o);o&&this.element.removeEventListener(this.name,this,n),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 J{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){K(this,t)}}const X=window.litHtmlPolyfillSupport;
28
+ var i;null===(i=window.HTMLSlotElement)||void 0===i||i.prototype.assignedElements;const s=window.ShadowRoot&&(void 0===window.ShadyCSS||window.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,o=Symbol(),n=new Map;
29
+ /**
30
+ * @license
31
+ * Copyright 2019 Google LLC
32
+ * SPDX-License-Identifier: BSD-3-Clause
33
+ */class r{constructor(t,e){if(this._$cssResult$=!0,e!==o)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t}get styleSheet(){let t=n.get(this.cssText);return s&&void 0===t&&(n.set(this.cssText,t=new CSSStyleSheet),t.replaceSync(this.cssText)),t}toString(){return this.cssText}}const a=t=>new r("string"==typeof t?t:t+"",o),l=(t,...e)=>{const i=1===t.length?t[0]:e.reduce(((e,i,s)=>e+(t=>{if(!0===t._$cssResult$)return t.cssText;if("number"==typeof t)return t;throw Error("Value passed to 'css' function must be a 'css' function result: "+t+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(i)+t[s+1]),t[0]);return new r(i,o)},c=(t,e)=>{s?t.adoptedStyleSheets=e.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet)):e.forEach((e=>{const i=document.createElement("style"),s=window.litNonce;void 0!==s&&i.setAttribute("nonce",s),i.textContent=e.cssText,t.appendChild(i)}))},h=s?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const i of t.cssRules)e+=i.cssText;return a(e)})(t):t
19
34
  /**
20
35
  * @license
21
36
  * Copyright 2017 Google LLC
22
37
  * SPDX-License-Identifier: BSD-3-Clause
23
- */
24
- var G,Q;null==X||X(z,H),(null!==(m=globalThis.litHtmlVersions)&&void 0!==m?m:globalThis.litHtmlVersions=[]).push("2.1.3");class Y extends v{constructor(){super(...arguments),this.renderOptions={host:this},this._$Dt=void 0}createRenderRoot(){var t,e;const i=super.createRenderRoot();return null!==(t=(e=this.renderOptions).renderBefore)&&void 0!==t||(e.renderBefore=i.firstChild),i}update(t){const e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Dt=((t,e,i)=>{var n,o;const s=null!==(n=null==i?void 0:i.renderBefore)&&void 0!==n?n:e;let r=s._$litPart$;if(void 0===r){const t=null!==(o=null==i?void 0:i.renderBefore)&&void 0!==o?o:null;s._$litPart$=r=new H(e.insertBefore(N(),t),t,void 0,null!=i?i:{})}return r._$AI(t),r})(e,this.renderRoot,this.renderOptions)}connectedCallback(){var t;super.connectedCallback(),null===(t=this._$Dt)||void 0===t||t.setConnected(!0)}disconnectedCallback(){var t;super.disconnectedCallback(),null===(t=this._$Dt)||void 0===t||t.setConnected(!1)}render(){return A}}Y.finalized=!0,Y._$litElement$=!0,null===(G=globalThis.litElementHydrateSupport)||void 0===G||G.call(globalThis,{LitElement:Y});const tt=globalThis.litElementPolyfillSupport;null==tt||tt({LitElement:Y}),(null!==(Q=globalThis.litElementVersions)&&void 0!==Q?Q:globalThis.litElementVersions=[]).push("3.1.2");
38
+ */;var p;const d=window.trustedTypes,u=d?d.emptyScript:"",x=window.reactiveElementPolyfillSupport,f={toAttribute(t,e){switch(e){case Boolean:t=t?u:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,e){let i=t;switch(e){case Boolean:i=null!==t;break;case Number:i=null===t?null:Number(t);break;case Object:case Array:try{i=JSON.parse(t)}catch(t){i=null}}return i}},m=(t,e)=>e!==t&&(e==e||t==t),v={attribute:!0,type:String,converter:f,reflect:!1,hasChanged:m};class b extends HTMLElement{constructor(){super(),this._$Et=new Map,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Ei=null,this.o()}static addInitializer(t){var e;null!==(e=this.l)&&void 0!==e||(this.l=[]),this.l.push(t)}static get observedAttributes(){this.finalize();const t=[];return this.elementProperties.forEach(((e,i)=>{const s=this._$Eh(i,e);void 0!==s&&(this._$Eu.set(s,i),t.push(s))})),t}static createProperty(t,e=v){if(e.state&&(e.attribute=!1),this.finalize(),this.elementProperties.set(t,e),!e.noAccessor&&!this.prototype.hasOwnProperty(t)){const i="symbol"==typeof t?Symbol():"__"+t,s=this.getPropertyDescriptor(t,i,e);void 0!==s&&Object.defineProperty(this.prototype,t,s)}}static getPropertyDescriptor(t,e,i){return{get(){return this[e]},set(s){const o=this[t];this[e]=s,this.requestUpdate(t,o,i)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)||v}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 t=this.properties,e=[...Object.getOwnPropertyNames(t),...Object.getOwnPropertySymbols(t)];for(const i of e)this.createProperty(i,t[i])}return this.elementStyles=this.finalizeStyles(this.styles),!0}static finalizeStyles(t){const e=[];if(Array.isArray(t)){const i=new Set(t.flat(1/0).reverse());for(const t of i)e.unshift(h(t))}else void 0!==t&&e.push(h(t));return e}static _$Eh(t,e){const i=e.attribute;return!1===i?void 0:"string"==typeof i?i:"string"==typeof t?t.toLowerCase():void 0}o(){var t;this._$Ep=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$Em(),this.requestUpdate(),null===(t=this.constructor.l)||void 0===t||t.forEach((t=>t(this)))}addController(t){var e,i;(null!==(e=this._$Eg)&&void 0!==e?e:this._$Eg=[]).push(t),void 0!==this.renderRoot&&this.isConnected&&(null===(i=t.hostConnected)||void 0===i||i.call(t))}removeController(t){var e;null===(e=this._$Eg)||void 0===e||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=null!==(t=this.shadowRoot)&&void 0!==t?t:this.attachShadow(this.constructor.shadowRootOptions);return c(e,this.constructor.elementStyles),e}connectedCallback(){var t;void 0===this.renderRoot&&(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),null===(t=this._$Eg)||void 0===t||t.forEach((t=>{var e;return null===(e=t.hostConnected)||void 0===e?void 0:e.call(t)}))}enableUpdating(t){}disconnectedCallback(){var t;null===(t=this._$Eg)||void 0===t||t.forEach((t=>{var e;return null===(e=t.hostDisconnected)||void 0===e?void 0:e.call(t)}))}attributeChangedCallback(t,e,i){this._$AK(t,i)}_$ES(t,e,i=v){var s,o;const n=this.constructor._$Eh(t,i);if(void 0!==n&&!0===i.reflect){const r=(null!==(o=null===(s=i.converter)||void 0===s?void 0:s.toAttribute)&&void 0!==o?o:f.toAttribute)(e,i.type);this._$Ei=t,null==r?this.removeAttribute(n):this.setAttribute(n,r),this._$Ei=null}}_$AK(t,e){var i,s,o;const n=this.constructor,r=n._$Eu.get(t);if(void 0!==r&&this._$Ei!==r){const t=n.getPropertyOptions(r),a=t.converter,l=null!==(o=null!==(s=null===(i=a)||void 0===i?void 0:i.fromAttribute)&&void 0!==s?s:"function"==typeof a?a:null)&&void 0!==o?o:f.fromAttribute;this._$Ei=r,this[r]=l(e,t.type),this._$Ei=null}}requestUpdate(t,e,i){let s=!0;void 0!==t&&(((i=i||this.constructor.getPropertyOptions(t)).hasChanged||m)(this[t],e)?(this._$AL.has(t)||this._$AL.set(t,e),!0===i.reflect&&this._$Ei!==t&&(void 0===this._$E_&&(this._$E_=new Map),this._$E_.set(t,i))):s=!1),!this.isUpdatePending&&s&&(this._$Ep=this._$EC())}async _$EC(){this.isUpdatePending=!0;try{await this._$Ep}catch(t){Promise.reject(t)}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){var t;if(!this.isUpdatePending)return;this.hasUpdated,this._$Et&&(this._$Et.forEach(((t,e)=>this[e]=t)),this._$Et=void 0);let e=!1;const i=this._$AL;try{e=this.shouldUpdate(i),e?(this.willUpdate(i),null===(t=this._$Eg)||void 0===t||t.forEach((t=>{var e;return null===(e=t.hostUpdate)||void 0===e?void 0:e.call(t)})),this.update(i)):this._$EU()}catch(t){throw e=!1,this._$EU(),t}e&&this._$AE(i)}willUpdate(t){}_$AE(t){var e;null===(e=this._$Eg)||void 0===e||e.forEach((t=>{var e;return null===(e=t.hostUpdated)||void 0===e?void 0:e.call(t)})),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$EU(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$Ep}shouldUpdate(t){return!0}update(t){void 0!==this._$E_&&(this._$E_.forEach(((t,e)=>this._$ES(e,this[e],t))),this._$E_=void 0),this._$EU()}updated(t){}firstUpdated(t){}}
25
39
  /**
26
40
  * @license
27
41
  * Copyright 2017 Google LLC
28
42
  * SPDX-License-Identifier: BSD-3-Clause
29
43
  */
30
- const et=(t,e)=>"method"===e.kind&&e.descriptor&&!("value"in e.descriptor)?{...e,finisher(i){i.createProperty(e.key,t)}}:{kind:"field",key:Symbol(),placement:"own",descriptor:{},originalKey:e.key,initializer(){"function"==typeof e.initializer&&(this[e.key]=e.initializer.call(this))},finisher(i){i.createProperty(e.key,t)}};
44
+ var g;b.finalized=!0,b.elementProperties=new Map,b.elementStyles=[],b.shadowRootOptions={mode:"open"},null==x||x({ReactiveElement:b}),(null!==(p=globalThis.reactiveElementVersions)&&void 0!==p?p:globalThis.reactiveElementVersions=[]).push("1.2.2");const w=globalThis.trustedTypes,y=w?w.createPolicy("lit-html",{createHTML:t=>t}):void 0,O=`lit$${(Math.random()+"").slice(9)}$`,N="?"+O,E=`<${N}>`,R=document,C=(t="")=>R.createComment(t),M=t=>null===t||"object"!=typeof t&&"function"!=typeof t,S=Array.isArray,$=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,U=/-->/g,k=/>/g,F=/>|[ \n \r](?:([^\s"'>=/]+)([ \n \r]*=[ \n \r]*(?:[^ \n \r"'`<>=]|("|')|))|$)/g,A=/'/g,L=/"/g,j=/^(?:script|style|textarea|title)$/i,T=(t=>(e,...i)=>({_$litType$:t,strings:e,values:i}))(1),_=Symbol.for("lit-noChange"),B=Symbol.for("lit-nothing"),W=new WeakMap,z=R.createTreeWalker(R,129,null,!1),K=(t,e)=>{const i=t.length-1,s=[];let o,n=2===e?"<svg>":"",r=$;for(let e=0;e<i;e++){const i=t[e];let a,l,c=-1,h=0;for(;h<i.length&&(r.lastIndex=h,l=r.exec(i),null!==l);)h=r.lastIndex,r===$?"!--"===l[1]?r=U:void 0!==l[1]?r=k:void 0!==l[2]?(j.test(l[2])&&(o=RegExp("</"+l[2],"g")),r=F):void 0!==l[3]&&(r=F):r===F?">"===l[0]?(r=null!=o?o:$,c=-1):void 0===l[1]?c=-2:(c=r.lastIndex-l[2].length,a=l[1],r=void 0===l[3]?F:'"'===l[3]?L:A):r===L||r===A?r=F:r===U||r===k?r=$:(r=F,o=void 0);const p=r===F&&t[e+1].startsWith("/>")?" ":"";n+=r===$?i+E:c>=0?(s.push(a),i.slice(0,c)+"$lit$"+i.slice(c)+O+p):i+O+(-2===c?(s.push(void 0),e):p)}const a=n+(t[i]||"<?>")+(2===e?"</svg>":"");if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return[void 0!==y?y.createHTML(a):a,s]};class D{constructor({strings:t,_$litType$:e},i){let s;this.parts=[];let o=0,n=0;const r=t.length-1,a=this.parts,[l,c]=K(t,e);if(this.el=D.createElement(l,i),z.currentNode=this.el.content,2===e){const t=this.el.content,e=t.firstChild;e.remove(),t.append(...e.childNodes)}for(;null!==(s=z.nextNode())&&a.length<r;){if(1===s.nodeType){if(s.hasAttributes()){const t=[];for(const e of s.getAttributeNames())if(e.endsWith("$lit$")||e.startsWith(O)){const i=c[n++];if(t.push(e),void 0!==i){const t=s.getAttribute(i.toLowerCase()+"$lit$").split(O),e=/([.?@])?(.*)/.exec(i);a.push({type:1,index:o,name:e[2],strings:t,ctor:"."===e[1]?Z:"?"===e[1]?J:"@"===e[1]?X:V})}else a.push({type:6,index:o})}for(const e of t)s.removeAttribute(e)}if(j.test(s.tagName)){const t=s.textContent.split(O),e=t.length-1;if(e>0){s.textContent=w?w.emptyScript:"";for(let i=0;i<e;i++)s.append(t[i],C()),z.nextNode(),a.push({type:2,index:++o});s.append(t[e],C())}}}else if(8===s.nodeType)if(s.data===N)a.push({type:2,index:o});else{let t=-1;for(;-1!==(t=s.data.indexOf(O,t+1));)a.push({type:7,index:o}),t+=O.length-1}o++}}static createElement(t,e){const i=R.createElement("template");return i.innerHTML=t,i}}function I(t,e,i=t,s){var o,n,r,a;if(e===_)return e;let l=void 0!==s?null===(o=i._$Cl)||void 0===o?void 0:o[s]:i._$Cu;const c=M(e)?void 0:e._$litDirective$;return(null==l?void 0:l.constructor)!==c&&(null===(n=null==l?void 0:l._$AO)||void 0===n||n.call(l,!1),void 0===c?l=void 0:(l=new c(t),l._$AT(t,i,s)),void 0!==s?(null!==(r=(a=i)._$Cl)&&void 0!==r?r:a._$Cl=[])[s]=l:i._$Cu=l),void 0!==l&&(e=I(t,l._$AS(t,e.values),l,s)),e}class H{constructor(t,e){this.v=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}p(t){var e;const{el:{content:i},parts:s}=this._$AD,o=(null!==(e=null==t?void 0:t.creationScope)&&void 0!==e?e:R).importNode(i,!0);z.currentNode=o;let n=z.nextNode(),r=0,a=0,l=s[0];for(;void 0!==l;){if(r===l.index){let e;2===l.type?e=new P(n,n.nextSibling,this,t):1===l.type?e=new l.ctor(n,l.name,l.strings,this,t):6===l.type&&(e=new G(n,this,t)),this.v.push(e),l=s[++a]}r!==(null==l?void 0:l.index)&&(n=z.nextNode(),r++)}return o}m(t){let e=0;for(const i of this.v)void 0!==i&&(void 0!==i.strings?(i._$AI(t,i,e),e+=i.strings.length-2):i._$AI(t[e])),e++}}class P{constructor(t,e,i,s){var o;this.type=2,this._$AH=B,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=i,this.options=s,this._$Cg=null===(o=null==s?void 0:s.isConnected)||void 0===o||o}get _$AU(){var t,e;return null!==(e=null===(t=this._$AM)||void 0===t?void 0:t._$AU)&&void 0!==e?e:this._$Cg}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=I(this,t,e),M(t)?t===B||null==t||""===t?(this._$AH!==B&&this._$AR(),this._$AH=B):t!==this._$AH&&t!==_&&this.$(t):void 0!==t._$litType$?this.T(t):void 0!==t.nodeType?this.S(t):(t=>{var e;return S(t)||"function"==typeof(null===(e=t)||void 0===e?void 0:e[Symbol.iterator])})(t)?this.A(t):this.$(t)}M(t,e=this._$AB){return this._$AA.parentNode.insertBefore(t,e)}S(t){this._$AH!==t&&(this._$AR(),this._$AH=this.M(t))}$(t){this._$AH!==B&&M(this._$AH)?this._$AA.nextSibling.data=t:this.S(R.createTextNode(t)),this._$AH=t}T(t){var e;const{values:i,_$litType$:s}=t,o="number"==typeof s?this._$AC(t):(void 0===s.el&&(s.el=D.createElement(s.h,this.options)),s);if((null===(e=this._$AH)||void 0===e?void 0:e._$AD)===o)this._$AH.m(i);else{const t=new H(o,this),e=t.p(this.options);t.m(i),this.S(e),this._$AH=t}}_$AC(t){let e=W.get(t.strings);return void 0===e&&W.set(t.strings,e=new D(t)),e}A(t){S(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let i,s=0;for(const o of t)s===e.length?e.push(i=new P(this.M(C()),this.M(C()),this,this.options)):i=e[s],i._$AI(o),s++;s<e.length&&(this._$AR(i&&i._$AB.nextSibling,s),e.length=s)}_$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._$Cg=t,null===(e=this._$AP)||void 0===e||e.call(this,t))}}class V{constructor(t,e,i,s,o){this.type=1,this._$AH=B,this._$AN=void 0,this.element=t,this.name=e,this._$AM=s,this.options=o,i.length>2||""!==i[0]||""!==i[1]?(this._$AH=Array(i.length-1).fill(new String),this.strings=i):this._$AH=B}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,e=this,i,s){const o=this.strings;let n=!1;if(void 0===o)t=I(this,t,e,0),n=!M(t)||t!==this._$AH&&t!==_,n&&(this._$AH=t);else{const s=t;let r,a;for(t=o[0],r=0;r<o.length-1;r++)a=I(this,s[i+r],e,r),a===_&&(a=this._$AH[r]),n||(n=!M(a)||a!==this._$AH[r]),a===B?t=B:t!==B&&(t+=(null!=a?a:"")+o[r+1]),this._$AH[r]=a}n&&!s&&this.k(t)}k(t){t===B?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}}class Z extends V{constructor(){super(...arguments),this.type=3}k(t){this.element[this.name]=t===B?void 0:t}}const q=w?w.emptyScript:"";class J extends V{constructor(){super(...arguments),this.type=4}k(t){t&&t!==B?this.element.setAttribute(this.name,q):this.element.removeAttribute(this.name)}}class X extends V{constructor(t,e,i,s,o){super(t,e,i,s,o),this.type=5}_$AI(t,e=this){var i;if((t=null!==(i=I(this,t,e,0))&&void 0!==i?i:B)===_)return;const s=this._$AH,o=t===B&&s!==B||t.capture!==s.capture||t.once!==s.once||t.passive!==s.passive,n=t!==B&&(s===B||o);o&&this.element.removeEventListener(this.name,this,s),n&&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 G{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){I(this,t)}}const Q=window.litHtmlPolyfillSupport;
31
45
  /**
32
46
  * @license
33
- * Copyright 2021 Google LLC
47
+ * Copyright 2017 Google LLC
34
48
  * SPDX-License-Identifier: BSD-3-Clause
35
49
  */
36
- var it;null===(it=window.HTMLSlotElement)||void 0===it||it.prototype.assignedElements,function(){function t(t){var e=0;return function(){return e<t.length?{done:!1,value:t[e++]}:{done:!0}}}function e(e){var i="undefined"!=typeof Symbol&&Symbol.iterator&&e[Symbol.iterator];return i?i.call(e):{next:t(e)}}function i(t){if(!(t instanceof Array)){t=e(t);for(var i,n=[];!(i=t.next()).done;)n.push(i.value);t=n}return t}var n="function"==typeof Object.create?Object.create:function(t){function e(){}return e.prototype=t,new e};var o,s=function(t){t=["object"==typeof globalThis&&globalThis,t,"object"==typeof window&&window,"object"==typeof self&&self,"object"==typeof global&&global];for(var e=0;e<t.length;++e){var i=t[e];if(i&&i.Math==Math)return i}throw Error("Cannot find global object")}(this),r=function(){if("undefined"!=typeof Reflect&&Reflect.construct){if(function(){function t(){}return Reflect.construct(t,[],(function(){})),new t instanceof t}())return Reflect.construct;var t=Reflect.construct;return function(e,i,n){return e=t(e,i),n&&Reflect.setPrototypeOf(e,n.prototype),e}}return function(t,e,i){return void 0===i&&(i=t),i=n(i.prototype||Object.prototype),Function.prototype.apply.call(t,i,e)||i}}();if("function"==typeof Object.setPrototypeOf)o=Object.setPrototypeOf;else{var a;t:{var l={};try{l.__proto__={a:!0},a=l.a;break t}catch(t){}a=!1}o=a?function(t,e){if(t.__proto__=e,t.__proto__!==e)throw new TypeError(t+" is not extensible");return t}:null}var c=o;if(!ShadowRoot.prototype.createElement){var h,p=window.HTMLElement,u=window.customElements.define,d=window.customElements.get,f=window.customElements,x=new WeakMap,v=new WeakMap,m=new WeakMap,b=new WeakMap;window.CustomElementRegistry=function(){this.l=new Map,this.o=new Map,this.i=new Map,this.h=new Map},window.CustomElementRegistry.prototype.define=function(t,i){if(t=t.toLowerCase(),void 0!==this.j(t))throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': the name \""+t+'" has already been used with this registry');if(void 0!==this.o.get(i))throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");var n=i.prototype.attributeChangedCallback,o=new Set(i.observedAttributes||[]);if(w(i,o,n),n={g:i,connectedCallback:i.prototype.connectedCallback,disconnectedCallback:i.prototype.disconnectedCallback,adoptedCallback:i.prototype.adoptedCallback,attributeChangedCallback:n,formAssociated:i.formAssociated,formAssociatedCallback:i.prototype.formAssociatedCallback,formDisabledCallback:i.prototype.formDisabledCallback,formResetCallback:i.prototype.formResetCallback,formStateRestoreCallback:i.prototype.formStateRestoreCallback,observedAttributes:o},this.l.set(t,n),this.o.set(i,n),(o=d.call(f,t))||(o=g(t),u.call(f,t,o)),this===window.customElements&&(m.set(i,n),n.s=o),o=this.h.get(t)){this.h.delete(t);for(var s=(o=e(o)).next();!s.done;s=o.next())s=s.value,v.delete(s),O(s,n,!0)}return void 0!==(n=this.i.get(t))&&(n.resolve(i),this.i.delete(t)),i},window.CustomElementRegistry.prototype.upgrade=function(){N.push(this),f.upgrade.apply(f,arguments),N.pop()},window.CustomElementRegistry.prototype.get=function(t){var e;return null==(e=this.l.get(t))?void 0:e.g},window.CustomElementRegistry.prototype.j=function(t){return this.l.get(t)},window.CustomElementRegistry.prototype.whenDefined=function(t){var e=this.j(t);if(void 0!==e)return Promise.resolve(e.g);var i=this.i.get(t);return void 0===i&&((i={}).promise=new Promise((function(t){return i.resolve=t})),this.i.set(t,i)),i.promise},window.CustomElementRegistry.prototype.m=function(t,e,i){var n=this.h.get(e);n||this.h.set(e,n=new Set),i?n.add(t):n.delete(t)},window.HTMLElement=function(){var t=h;if(t)return h=void 0,t;var e=m.get(this.constructor);if(!e)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return t=Reflect.construct(p,[],e.s),Object.setPrototypeOf(t,this.constructor.prototype),x.set(t,e),t},window.HTMLElement.prototype=p.prototype;var g=function(t){function e(){var e=Reflect.construct(p,[],this.constructor);Object.setPrototypeOf(e,HTMLElement.prototype);t:{var i=e.getRootNode();if(!(i===document||i instanceof ShadowRoot)){if((i=N[N.length-1])instanceof CustomElementRegistry){var n=i;break t}(i=i.getRootNode())===document||i instanceof ShadowRoot||(i=(null==(n=b.get(i))?void 0:n.getRootNode())||document)}n=i.customElements}return(i=(n=n||window.customElements).j(t))?O(e,i):v.set(e,n),e}return s.Object.defineProperty(e,"formAssociated",{configurable:!0,enumerable:!0,get:function(){return!0}}),e.prototype.connectedCallback=function(){var e=x.get(this);e?e.connectedCallback&&e.connectedCallback.apply(this,arguments):v.get(this).m(this,t,!0)},e.prototype.disconnectedCallback=function(){var e=x.get(this);e?e.disconnectedCallback&&e.disconnectedCallback.apply(this,arguments):v.get(this).m(this,t,!1)},e.prototype.adoptedCallback=function(){var t,e;null==(t=x.get(this))||null==(e=t.adoptedCallback)||e.apply(this,arguments)},e.prototype.formAssociatedCallback=function(){var t,e=x.get(this);e&&e.formAssociated&&(null==e||null==(t=e.formAssociatedCallback)||t.apply(this,arguments))},e.prototype.formDisabledCallback=function(){var t,e=x.get(this);null!=e&&e.formAssociated&&(null==e||null==(t=e.formDisabledCallback)||t.apply(this,arguments))},e.prototype.formResetCallback=function(){var t,e=x.get(this);null!=e&&e.formAssociated&&(null==e||null==(t=e.formResetCallback)||t.apply(this,arguments))},e.prototype.formStateRestoreCallback=function(){var t,e=x.get(this);null!=e&&e.formAssociated&&(null==e||null==(t=e.formStateRestoreCallback)||t.apply(this,arguments))},e},w=function(t,e,i){if(0!==e.size&&void 0!==i){var n=t.prototype.setAttribute;n&&(t.prototype.setAttribute=function(t,o){if(t=t.toLowerCase(),e.has(t)){var s=this.getAttribute(t);n.call(this,t,o),i.call(this,t,s,o)}else n.call(this,t,o)});var o=t.prototype.removeAttribute;o&&(t.prototype.removeAttribute=function(t){if(t=t.toLowerCase(),e.has(t)){var n=this.getAttribute(t);o.call(this,t),i.call(this,t,n,null)}else o.call(this,t)})}},y=function(t){var e=Object.getPrototypeOf(t);if(e!==window.HTMLElement)return e===p?Object.setPrototypeOf(t,window.HTMLElement):y(e)},O=function(t,e,i){i=void 0!==i&&i,Object.setPrototypeOf(t,e.g.prototype),x.set(t,e),h=t;try{new e.g}catch(t){y(e.g),new e.g}e.observedAttributes.forEach((function(i){t.hasAttribute(i)&&e.attributeChangedCallback.call(t,i,null,t.getAttribute(i))})),i&&e.connectedCallback&&t.isConnected&&e.connectedCallback.call(t)},E=Element.prototype.attachShadow;Element.prototype.attachShadow=function(t){var e=E.apply(this,arguments);return t.customElements&&(e.customElements=t.customElements),e};var N=[document],R=function(t,e,i){var n=(i?Object.getPrototypeOf(i):t.prototype)[e];t.prototype[e]=function(){N.push(this);var t=n.apply(i||this,arguments);return void 0!==t&&b.set(t,this),N.pop(),t}};R(ShadowRoot,"createElement",document),R(ShadowRoot,"importNode",document),R(Element,"insertAdjacentHTML");var C=function(t){var e=Object.getOwnPropertyDescriptor(t.prototype,"innerHTML");Object.defineProperty(t.prototype,"innerHTML",Object.assign({},e,{set:function(t){N.push(this),e.set.call(this,t),N.pop()}}))};if(C(Element),C(ShadowRoot),Object.defineProperty(window,"customElements",{value:new CustomElementRegistry,configurable:!0,writable:!0}),window.ElementInternals&&window.ElementInternals.prototype.setFormValue){var S=new WeakMap,M=HTMLElement.prototype.attachInternals;HTMLElement.prototype.attachInternals=function(t){for(var e=[],n=0;n<arguments.length;++n)e[n]=arguments[n];return e=M.call.apply(M,[this].concat(i(e))),S.set(e,this),e},["setFormValue","setValidity","checkValidity","reportValidity"].forEach((function(t){var e=window.ElementInternals.prototype,n=e[t];e[t]=function(t){for(var e=[],o=0;o<arguments.length;++o)e[o]=arguments[o];if(o=S.get(this),!0!==x.get(o).formAssociated)throw new DOMException("Failed to execute "+n+" on 'ElementInternals': The target element is not a form-associated custom element.");null==n||n.call.apply(n,[this].concat(i(e)))}}));var $=function(t){var e=r(Array,[].concat(i(t)),this.constructor);return e.h=t,e},U=$,j=Array;if(U.prototype=n(j.prototype),U.prototype.constructor=U,c)c(U,j);else for(var k in j)if("prototype"!=k)if(Object.defineProperties){var F=Object.getOwnPropertyDescriptor(j,k);F&&Object.defineProperty(U,k,F)}else U[k]=j[k];U.u=j.prototype,s.Object.defineProperty($.prototype,"value",{configurable:!0,enumerable:!0,get:function(){var t;return(null==(t=this.h.find((function(t){return!0===t.checked})))?void 0:t.value)||""}});var T=function(t){var e=this,i=new Map;t.forEach((function(t,n){var o=t.getAttribute("name"),s=i.get(o)||[];e[+n]=t,s.push(t),i.set(o,s)})),this.length=t.length,i.forEach((function(t,i){t&&(e[i]=1===t.length?t[0]:new $(t))}))};T.prototype.namedItem=function(t){return this[t]};var A=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){for(var t=A.get.call(this,[]),i=[],n=(t=e(t)).next();!n.done;n=t.next()){n=n.value;var o=x.get(n);o&&!0!==o.formAssociated||i.push(n)}return new T(i)}})}}}.call("object"==typeof globalThis?globalThis:window);try{window.customElements.define("custom-element",null)}catch(lt){const t=window.customElements.define;window.customElements.define=(e,i,n)=>{try{t.bind(window.customElements)(e,i,n)}catch(t){console.warn(e,i,n,t)}}}class nt{constructor(t,e,i,n,o){this.name=t,this.category=e,this.fallbackVariable=i,this.defaultValue=n,this.context=o,this._$cssResult$=!0,this.value=this.get()}get cssText(){return this.value.cssText}get styleSheet(){return this.value.styleSheet}toString(){return this.value.toString()}static create(t,e,i){return new nt(t,e,void 0,i)}static extend(t,e,i){return new nt(t,e.category,e,i)}static external(t,e){return new nt(t.name,t.category,t.fallbackVariable,t.defaultValue,e)}get(t){return r`var(${s(this.name)}, ${this.defaultCssValue(t)})`}defaultCssValue(t){return this.fallbackVariable?this.fallbackVariable.get(null!=t?t:this.defaultValue):s(null!=t?t:this.defaultValue)}lastResortDefaultValue(){var t,e;return null!==(t=this.defaultValue)&&void 0!==t?t:null===(e=this.fallbackVariable)||void 0===e?void 0:e.lastResortDefaultValue()}breadcrumb(){return this.fallbackVariable?[this.fallbackVariable.name,...this.fallbackVariable.breadcrumb()]:[]}}nt.create("--ft-color-primary","COLOR","#2196F3"),nt.create("--ft-color-primary-variant","COLOR","#1976D2"),nt.create("--ft-color-secondary","COLOR","#FFCC80"),nt.create("--ft-color-secondary-variant","COLOR","#F57C00"),nt.create("--ft-color-surface","COLOR","#FFFFFF"),nt.create("--ft-color-content","COLOR","rgba(0, 0, 0, 0.87)"),nt.create("--ft-color-error","COLOR","#B00020"),nt.create("--ft-color-outline","COLOR","rgba(0, 0, 0, 0.14)"),nt.create("--ft-color-opacity-high","NUMBER","1"),nt.create("--ft-color-opacity-medium","NUMBER","0.74"),nt.create("--ft-color-opacity-disabled","NUMBER","0.38"),nt.create("--ft-color-on-primary","COLOR","#FFFFFF"),nt.create("--ft-color-on-primary-high","COLOR","#FFFFFF"),nt.create("--ft-color-on-primary-medium","COLOR","rgba(255, 255, 255, 0.74)"),nt.create("--ft-color-on-primary-disabled","COLOR","rgba(255, 255, 255, 0.38)"),nt.create("--ft-color-on-secondary","COLOR","#FFFFFF"),nt.create("--ft-color-on-secondary-high","COLOR","#FFFFFF"),nt.create("--ft-color-on-secondary-medium","COLOR","rgba(255, 255, 255, 0.74)"),nt.create("--ft-color-on-secondary-disabled","COLOR","rgba(255, 255, 255, 0.38)"),nt.create("--ft-color-on-surface","COLOR","rgba(0, 0, 0, 0.87)"),nt.create("--ft-color-on-surface-high","COLOR","rgba(0, 0, 0, 0.87)"),nt.create("--ft-color-on-surface-medium","COLOR","rgba(0, 0, 0, 0.60)"),nt.create("--ft-color-on-surface-disabled","COLOR","rgba(0, 0, 0, 0.38)"),nt.create("--ft-opacity-content-on-surface-disabled","NUMBER","0"),nt.create("--ft-opacity-content-on-surface-enable","NUMBER","0"),nt.create("--ft-opacity-content-on-surface-hover","NUMBER","0.04"),nt.create("--ft-opacity-content-on-surface-focused","NUMBER","0.12"),nt.create("--ft-opacity-content-on-surface-pressed","NUMBER","0.10"),nt.create("--ft-opacity-content-on-surface-selected","NUMBER","0.08"),nt.create("--ft-opacity-content-on-surface-dragged","NUMBER","0.08"),nt.create("--ft-opacity-primary-on-surface-disabled","NUMBER","0"),nt.create("--ft-opacity-primary-on-surface-enable","NUMBER","0"),nt.create("--ft-opacity-primary-on-surface-hover","NUMBER","0.04"),nt.create("--ft-opacity-primary-on-surface-focused","NUMBER","0.12"),nt.create("--ft-opacity-primary-on-surface-pressed","NUMBER","0.10"),nt.create("--ft-opacity-primary-on-surface-selected","NUMBER","0.08"),nt.create("--ft-opacity-primary-on-surface-dragged","NUMBER","0.08"),nt.create("--ft-opacity-surface-on-primary-disabled","NUMBER","0"),nt.create("--ft-opacity-surface-on-primary-enable","NUMBER","0"),nt.create("--ft-opacity-surface-on-primary-hover","NUMBER","0.04"),nt.create("--ft-opacity-surface-on-primary-focused","NUMBER","0.12"),nt.create("--ft-opacity-surface-on-primary-pressed","NUMBER","0.10"),nt.create("--ft-opacity-surface-on-primary-selected","NUMBER","0.08"),nt.create("--ft-opacity-surface-on-primary-dragged","NUMBER","0.08"),nt.create("--ft-elevation-00","UNKNOWN","0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0)"),nt.create("--ft-elevation-01","UNKNOWN","0px 1px 4px 0px rgba(0, 0, 0, 0.06), 0px 1px 2px 0px rgba(0, 0, 0, 0.14), 0px 0px 1px 0px rgba(0, 0, 0, 0.06)"),nt.create("--ft-elevation-02","UNKNOWN","0px 4px 10px 0px rgba(0, 0, 0, 0.06), 0px 2px 5px 0px rgba(0, 0, 0, 0.14), 0px 0px 1px 0px rgba(0, 0, 0, 0.06)"),nt.create("--ft-elevation-03","UNKNOWN","0px 6px 13px 0px rgba(0, 0, 0, 0.06), 0px 3px 7px 0px rgba(0, 0, 0, 0.14), 0px 1px 2px 0px rgba(0, 0, 0, 0.06)"),nt.create("--ft-elevation-04","UNKNOWN","0px 8px 16px 0px rgba(0, 0, 0, 0.06), 0px 4px 9px 0px rgba(0, 0, 0, 0.14), 0px 2px 3px 0px rgba(0, 0, 0, 0.06)"),nt.create("--ft-elevation-06","UNKNOWN","0px 12px 22px 0px rgba(0, 0, 0, 0.06), 0px 6px 13px 0px rgba(0, 0, 0, 0.14), 0px 4px 5px 0px rgba(0, 0, 0, 0.06)"),nt.create("--ft-elevation-08","UNKNOWN","0px 16px 28px 0px rgba(0, 0, 0, 0.06), 0px 8px 17px 0px rgba(0, 0, 0, 0.14), 0px 6px 7px 0px rgba(0, 0, 0, 0.06)"),nt.create("--ft-elevation-12","UNKNOWN","0px 22px 40px 0px rgba(0, 0, 0, 0.06), 0px 12px 23px 0px rgba(0, 0, 0, 0.14), 0px 10px 11px 0px rgba(0, 0, 0, 0.06)"),nt.create("--ft-elevation-16","UNKNOWN","0px 28px 52px 0px rgba(0, 0, 0, 0.06), 0px 16px 29px 0px rgba(0, 0, 0, 0.14), 0px 14px 15px 0px rgba(0, 0, 0, 0.06)"),nt.create("--ft-elevation-24","UNKNOWN","0px 40px 76px 0px rgba(0, 0, 0, 0.06), 0px 24px 41px 0px rgba(0, 0, 0, 0.14), 0px 22px 23px 0px rgba(0, 0, 0, 0.06)"),nt.create("--ft-border-radius-S","SIZE","4px"),nt.create("--ft-border-radius-M","SIZE","8px"),nt.create("--ft-border-radius-L","SIZE","12px"),nt.create("--ft-border-radius-XL","SIZE","16px"),nt.create("--ft-title-font","UNKNOWN","Ubuntu, system-ui, sans-serif"),nt.create("--ft-content-font","UNKNOWN","'Open Sans', system-ui, sans-serif"),nt.create("--ft-transition-duration","UNKNOWN","250ms"),nt.create("--ft-transition-timing-function","UNKNOWN","ease-in-out");class ot extends(
50
+ var Y,tt;null==Q||Q(D,P),(null!==(g=globalThis.litHtmlVersions)&&void 0!==g?g:globalThis.litHtmlVersions=[]).push("2.1.3");class et extends b{constructor(){super(...arguments),this.renderOptions={host:this},this._$Dt=void 0}createRenderRoot(){var t,e;const i=super.createRenderRoot();return null!==(t=(e=this.renderOptions).renderBefore)&&void 0!==t||(e.renderBefore=i.firstChild),i}update(t){const e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Dt=((t,e,i)=>{var s,o;const n=null!==(s=null==i?void 0:i.renderBefore)&&void 0!==s?s:e;let r=n._$litPart$;if(void 0===r){const t=null!==(o=null==i?void 0:i.renderBefore)&&void 0!==o?o:null;n._$litPart$=r=new P(e.insertBefore(C(),t),t,void 0,null!=i?i:{})}return r._$AI(t),r})(e,this.renderRoot,this.renderOptions)}connectedCallback(){var t;super.connectedCallback(),null===(t=this._$Dt)||void 0===t||t.setConnected(!0)}disconnectedCallback(){var t;super.disconnectedCallback(),null===(t=this._$Dt)||void 0===t||t.setConnected(!1)}render(){return _}}et.finalized=!0,et._$litElement$=!0,null===(Y=globalThis.litElementHydrateSupport)||void 0===Y||Y.call(globalThis,{LitElement:et});const it=globalThis.litElementPolyfillSupport;null==it||it({LitElement:et}),(null!==(tt=globalThis.litElementVersions)&&void 0!==tt?tt:globalThis.litElementVersions=[]).push("3.1.2");class st{constructor(t,e,i,s,o){this.name=t,this.category=e,this.fallbackVariable=i,this.defaultValue=s,this.context=o,this._$cssResult$=!0,this.value=this.get()}get cssText(){return this.value.cssText}get styleSheet(){return this.value.styleSheet}toString(){return this.value.toString()}static create(t,e,i){return new st(t,e,void 0,i)}static extend(t,e,i){return new st(t,e.category,e,i)}static external(t,e){return new st(t.name,t.category,t.fallbackVariable,t.defaultValue,e)}get(t){return l`var(${a(this.name)}, ${this.defaultCssValue(t)})`}defaultCssValue(t){return this.fallbackVariable?this.fallbackVariable.get(null!=t?t:this.defaultValue):a(null!=t?t:this.defaultValue)}lastResortDefaultValue(){var t,e;return null!==(t=this.defaultValue)&&void 0!==t?t:null===(e=this.fallbackVariable)||void 0===e?void 0:e.lastResortDefaultValue()}breadcrumb(){return this.fallbackVariable?[this.fallbackVariable.name,...this.fallbackVariable.breadcrumb()]:[]}}st.create("--ft-color-primary","COLOR","#2196F3"),st.create("--ft-color-primary-variant","COLOR","#1976D2"),st.create("--ft-color-secondary","COLOR","#FFCC80"),st.create("--ft-color-secondary-variant","COLOR","#F57C00"),st.create("--ft-color-surface","COLOR","#FFFFFF"),st.create("--ft-color-content","COLOR","rgba(0, 0, 0, 0.87)"),st.create("--ft-color-error","COLOR","#B00020"),st.create("--ft-color-outline","COLOR","rgba(0, 0, 0, 0.14)"),st.create("--ft-color-opacity-high","NUMBER","1"),st.create("--ft-color-opacity-medium","NUMBER","0.74"),st.create("--ft-color-opacity-disabled","NUMBER","0.38"),st.create("--ft-color-on-primary","COLOR","#FFFFFF"),st.create("--ft-color-on-primary-high","COLOR","#FFFFFF"),st.create("--ft-color-on-primary-medium","COLOR","rgba(255, 255, 255, 0.74)"),st.create("--ft-color-on-primary-disabled","COLOR","rgba(255, 255, 255, 0.38)"),st.create("--ft-color-on-secondary","COLOR","#FFFFFF"),st.create("--ft-color-on-secondary-high","COLOR","#FFFFFF"),st.create("--ft-color-on-secondary-medium","COLOR","rgba(255, 255, 255, 0.74)"),st.create("--ft-color-on-secondary-disabled","COLOR","rgba(255, 255, 255, 0.38)"),st.create("--ft-color-on-surface","COLOR","rgba(0, 0, 0, 0.87)"),st.create("--ft-color-on-surface-high","COLOR","rgba(0, 0, 0, 0.87)"),st.create("--ft-color-on-surface-medium","COLOR","rgba(0, 0, 0, 0.60)"),st.create("--ft-color-on-surface-disabled","COLOR","rgba(0, 0, 0, 0.38)"),st.create("--ft-opacity-content-on-surface-disabled","NUMBER","0"),st.create("--ft-opacity-content-on-surface-enable","NUMBER","0"),st.create("--ft-opacity-content-on-surface-hover","NUMBER","0.04"),st.create("--ft-opacity-content-on-surface-focused","NUMBER","0.12"),st.create("--ft-opacity-content-on-surface-pressed","NUMBER","0.10"),st.create("--ft-opacity-content-on-surface-selected","NUMBER","0.08"),st.create("--ft-opacity-content-on-surface-dragged","NUMBER","0.08"),st.create("--ft-opacity-primary-on-surface-disabled","NUMBER","0"),st.create("--ft-opacity-primary-on-surface-enable","NUMBER","0"),st.create("--ft-opacity-primary-on-surface-hover","NUMBER","0.04"),st.create("--ft-opacity-primary-on-surface-focused","NUMBER","0.12"),st.create("--ft-opacity-primary-on-surface-pressed","NUMBER","0.10"),st.create("--ft-opacity-primary-on-surface-selected","NUMBER","0.08"),st.create("--ft-opacity-primary-on-surface-dragged","NUMBER","0.08"),st.create("--ft-opacity-surface-on-primary-disabled","NUMBER","0"),st.create("--ft-opacity-surface-on-primary-enable","NUMBER","0"),st.create("--ft-opacity-surface-on-primary-hover","NUMBER","0.04"),st.create("--ft-opacity-surface-on-primary-focused","NUMBER","0.12"),st.create("--ft-opacity-surface-on-primary-pressed","NUMBER","0.10"),st.create("--ft-opacity-surface-on-primary-selected","NUMBER","0.08"),st.create("--ft-opacity-surface-on-primary-dragged","NUMBER","0.08"),st.create("--ft-elevation-00","UNKNOWN","0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0)"),st.create("--ft-elevation-01","UNKNOWN","0px 1px 4px 0px rgba(0, 0, 0, 0.06), 0px 1px 2px 0px rgba(0, 0, 0, 0.14), 0px 0px 1px 0px rgba(0, 0, 0, 0.06)"),st.create("--ft-elevation-02","UNKNOWN","0px 4px 10px 0px rgba(0, 0, 0, 0.06), 0px 2px 5px 0px rgba(0, 0, 0, 0.14), 0px 0px 1px 0px rgba(0, 0, 0, 0.06)"),st.create("--ft-elevation-03","UNKNOWN","0px 6px 13px 0px rgba(0, 0, 0, 0.06), 0px 3px 7px 0px rgba(0, 0, 0, 0.14), 0px 1px 2px 0px rgba(0, 0, 0, 0.06)"),st.create("--ft-elevation-04","UNKNOWN","0px 8px 16px 0px rgba(0, 0, 0, 0.06), 0px 4px 9px 0px rgba(0, 0, 0, 0.14), 0px 2px 3px 0px rgba(0, 0, 0, 0.06)"),st.create("--ft-elevation-06","UNKNOWN","0px 12px 22px 0px rgba(0, 0, 0, 0.06), 0px 6px 13px 0px rgba(0, 0, 0, 0.14), 0px 4px 5px 0px rgba(0, 0, 0, 0.06)"),st.create("--ft-elevation-08","UNKNOWN","0px 16px 28px 0px rgba(0, 0, 0, 0.06), 0px 8px 17px 0px rgba(0, 0, 0, 0.14), 0px 6px 7px 0px rgba(0, 0, 0, 0.06)"),st.create("--ft-elevation-12","UNKNOWN","0px 22px 40px 0px rgba(0, 0, 0, 0.06), 0px 12px 23px 0px rgba(0, 0, 0, 0.14), 0px 10px 11px 0px rgba(0, 0, 0, 0.06)"),st.create("--ft-elevation-16","UNKNOWN","0px 28px 52px 0px rgba(0, 0, 0, 0.06), 0px 16px 29px 0px rgba(0, 0, 0, 0.14), 0px 14px 15px 0px rgba(0, 0, 0, 0.06)"),st.create("--ft-elevation-24","UNKNOWN","0px 40px 76px 0px rgba(0, 0, 0, 0.06), 0px 24px 41px 0px rgba(0, 0, 0, 0.14), 0px 22px 23px 0px rgba(0, 0, 0, 0.06)"),st.create("--ft-border-radius-S","SIZE","4px"),st.create("--ft-border-radius-M","SIZE","8px"),st.create("--ft-border-radius-L","SIZE","12px"),st.create("--ft-border-radius-XL","SIZE","16px"),st.create("--ft-title-font","UNKNOWN","Ubuntu, system-ui, sans-serif"),st.create("--ft-content-font","UNKNOWN","'Open Sans', system-ui, sans-serif"),st.create("--ft-transition-duration","UNKNOWN","250ms"),st.create("--ft-transition-timing-function","UNKNOWN","ease-in-out");class ot extends(
37
51
  /**
38
52
  * @license
39
53
  * Copyright 2021 Google LLC
40
54
  * SPDX-License-Identifier: BSD-3-Clause
41
55
  */
42
- function(t){return class extends t{createRenderRoot(){const t=this.constructor,{registry:e,elementDefinitions:i,shadowRootOptions:n}=t;i&&!e&&(t.registry=new CustomElementRegistry,Object.entries(i).forEach((([e,i])=>t.registry.define(e,i))));const o=this.renderOptions.creationScope=this.attachShadow({...n,customElements:t.registry});return a(o,this.constructor.elementStyles),o}}}(Y)){constructor(){super(),this.constructorName=this.constructor.name,this.proto=this.constructor.prototype}getStyles(){return[]}getTemplate(){return null}render(){let t=this.getStyles();return Array.isArray(t)||(t=[t]),T`
56
+ function(t){return class extends t{createRenderRoot(){const t=this.constructor,{registry:e,elementDefinitions:i,shadowRootOptions:s}=t;i&&!e&&(t.registry=new CustomElementRegistry,Object.entries(i).forEach((([e,i])=>t.registry.define(e,i))));const o=this.renderOptions.creationScope=this.attachShadow({...s,customElements:t.registry});return c(o,this.constructor.elementStyles),o}}}(et)){getStyles(){return[]}getTemplate(){return null}render(){let t=this.getStyles();return Array.isArray(t)||(t=[t]),T`
43
57
  ${t.map((t=>T`
44
58
  <style>${t}</style>
45
59
  `))}
46
60
  ${this.getTemplate()}
47
- `}adoptedCallback(){Object.getPrototypeOf(this)!==this.constructorName&&Object.setPrototypeOf(this,this.proto)}updated(t){super.updated(t),setTimeout((()=>this.contentAvailableCallback(t)),0)}contentAvailableCallback(t){}}var st,rt;r`
61
+ `}updated(t){super.updated(t),setTimeout((()=>this.contentAvailableCallback(t)),0)}contentAvailableCallback(t){}}var nt,rt;l`
48
62
  .ft-no-text-select {
49
63
  -webkit-touch-callout: none;
50
64
  -webkit-user-select: none;
@@ -53,7 +67,7 @@ function(t){return class extends t{createRenderRoot(){const t=this.constructor,{
53
67
  -ms-user-select: none;
54
68
  user-select: none;
55
69
  }
56
- `,navigator.vendor&&navigator.vendor.match(/apple/i)||(null===(rt=null===(st=window.safari)||void 0===st?void 0:st.pushNotification)||void 0===rt||rt.toString());
70
+ `,navigator.vendor&&navigator.vendor.match(/apple/i)||(null===(rt=null===(nt=window.safari)||void 0===nt?void 0:nt.pushNotification)||void 0===rt||rt.toString());
57
71
  /**
58
72
  * @license
59
73
  * Copyright 2017 Google LLC
@@ -65,10 +79,10 @@ const at=2;
65
79
  * Copyright 2017 Google LLC
66
80
  * SPDX-License-Identifier: BSD-3-Clause
67
81
  */
68
- class lt extends class{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,e,i){this._$Ct=t,this._$AM=e,this._$Ci=i}_$AS(t,e){return this.update(t,e)}update(t,e){return this.render(...e)}}{constructor(t){if(super(t),this.it=L,t.type!==at)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===L||null==t)return this.vt=void 0,this.it=t;if(t===A)return t;if("string"!=typeof t)throw Error(this.constructor.directiveName+"() called with a non-string value");if(t===this.it)return this.vt;this.it=t;const e=[t];return e.raw=e,this.vt={_$litType$:this.constructor.resultType,strings:e,values:[]}}}lt.directiveName="unsafeHTML",lt.resultType=1;const ct=(t=>(...e)=>({_$litDirective$:t,values:e}))(lt);var ht,pt;t.FtIcons=void 0,(ht=t.FtIcons||(t.FtIcons={})).THIN_ARROW_LEFT="&#xe956;",ht.THIN_ARROW_RIGHT="&#xe957;",ht.MY_COLLECTIONS="&#xe955;",ht.OFFLINE_SETTINGS="&#xe954;",ht.MY_LIBRARY="&#xe959;",ht.RATE_PLAIN="&#xe952;",ht.RATE="&#xe953;",ht.FEEDBACK_PLAIN="&#xe951;",ht.STAR_PLAIN="&#xe94b;",ht.STAR="&#xe94c;",ht.THUMBS_DOWN_PLAIN="&#xe94d;",ht.THUMBS_DOWN="&#xe94e;",ht.THUMBS_UP_PLAIN="&#xe94f;",ht.THUMBS_UP="&#xe950;",ht.PAUSE="&#xe949;",ht.PLAY="&#xe94a;",ht.RELATIVES_PLAIN="&#xe947;",ht.RELATIVES="&#xe948;",ht.SHORTCUT_MENU="&#xe946;",ht.PRINT="&#xe944;",ht.DEFAULT_ROLES="&#xe945;",ht.ACCOUNT_SETTINGS="&#xe943;",ht.ONLINE="&#xe941;",ht.OFFLINE="&#xe816;",ht.UPLOAD="&#xe940;",ht.BOOK_PLAIN="&#xe93f;",ht.SYNC="&#xe93d;",ht.SHARED_PBK="&#xe931;",ht.COLLECTIONS="&#xe92a;",ht.SEARCH_IN_PUBLICATION="&#xe92f;",ht.BOOKS="&#xe806;",ht.LOCKER="&#xe93b;",ht.ARROW_DOWN="&#xe92b;",ht.ARROW_LEFT="&#xe92c;",ht.ARROW_RIGHT="&#xe92d;",ht.ARROW_UP="&#xe92e;",ht.SAVE="&#xe93a;",ht.MAILS_AND_NOTIFICATIONS="&#xe939;",ht.DOT="&#xe936;",ht.MINUS="&#xe937;",ht.PLUS="&#xe938;",ht.FILTERS="&#xe935;",ht.STRIPE_ARROW_RIGHT="&#xe934;",ht.STRIPE_ARROW_LEFT="&#xe933;",ht.ATTACHMENTS="&#xe932;",ht.ADD_BOOKMARK="&#xe804;",ht.BOOKMARK="&#xe805;",ht.EXPORT="&#xe80f;",ht.MENU="&#xe807;",ht.TAG="&#xe93e;",ht.TAG_PLAIN="&#xe942;",ht.COPY_TO_CLIPBOARD="&#xe930;",ht.COLUMNS="&#xe928;",ht.ARTICLE="&#xe927;",ht.CLOSE_PLAIN="&#xe925;",ht.CHECK_PLAIN="&#xe926;",ht.LOGOUT="&#xe923;",ht.SIGN_IN="&#xe922;",ht.THIN_ARROW="&#xe921;",ht.TRIANGLE_BOTTOM="&#xe91d;",ht.TRIANGLE_LEFT="&#xe91e;",ht.TRIANGLE_RIGHT="&#xe91f;",ht.TRIANGLE_TOP="&#xe920;",ht.FACET_HAS_DESCENDANT="&#xe91c;",ht.MINUS_PLAIN="&#xe91a;",ht.PLUS_PLAIN="&#xe91b;",ht.INFO="&#xe919;",ht.ICON_EXPAND="&#xe917;",ht.ICON_COLLAPSE="&#xe918;",ht.ADD_TO_PBK="&#xe800;",ht.ALERT="&#xe801;",ht.ADD_ALERT="&#xe802;",ht.BACK_TO_SEARCH="&#xe803;",ht.DOWNLOAD="&#xe808;",ht.EDIT="&#xe809;",ht.FEEDBACK="&#xe80a;",ht.MODIFY_PBK="&#xe80c;",ht.SCHEDULED="&#xe80d;",ht.SEARCH="&#xe80e;",ht.SHARE="&#xe80f1;",ht.TOC="&#xe810;",ht.WRITE_UGC="&#xe811;",ht.TRASH="&#xe812;",ht.EXTLINK="&#xe814;",ht.CALENDAR="&#xe815;",ht.BOOK="&#xe817;",ht.DOWNLOAD_PLAIN="&#xe818;",ht.CHECK="&#xe819;",ht.TOPICS="&#xe900;",ht.EYE="\f06e",ht.DISC="&#xe901;",ht.CIRCLE="&#xe903;",ht.SHARED="&#xe904;",ht.SORT_UNSORTED="&#xe905;",ht.SORT_UP="&#xe906;",ht.SORT_DOWN="&#xe907;",ht.WORKING="&#xe908;",ht.CLOSE="&#xe909;",ht.ZOOM_OUT="&#xe90a;",ht.ZOOM_IN="&#xe90b;",ht.ZOOM_REALSIZE="&#xe90c;",ht.ZOOM_FULLSCREEN="&#xe90d;",ht.ADMIN_RESTRICTED="&#xe90e;",ht.ADMIN_THEME="&#xe911;",ht.WARNING="&#xe913;",ht.CONTEXT="&#xe914;",ht.SEARCH_HOME="&#xe915;",ht.STEPS="&#xe916;",ht.HOME="&#xe80b;",ht.TRANSLATE="&#xe924;",ht.USER="&#xe813;",ht.ADMIN="&#xe902;",ht.ANALYTICS="&#xe929;",ht.ADMIN_KHUB="&#xe90f;",ht.ADMIN_USERS="&#xe910;",ht.ADMIN_INTEGRATION="&#xe93c;",ht.ADMIN_PORTAL="&#xe912;",t.FtFileFormatIcons=void 0,(pt=t.FtFileFormatIcons||(t.FtFileFormatIcons={})).UNKNOWN="&#xe90a;",pt.ABW="&#xe900;",pt.AUDIO="&#xe901;",pt.AVI="&#xe902;",pt.CHM="&#xe904;",pt.CODE="&#xe905;",pt.CSV="&#xe903;",pt.DITA="&#xe906;",pt.EPUB="&#xe907;",pt.EXCEL="&#xe908;",pt.FLAC="&#xe909;",pt.GIF="&#xe90b;",pt.GZIP="&#xe90c;",pt.HTML="&#xe90d;",pt.IMAGE="&#xe90e;",pt.JPEG="&#xe90f;",pt.JSON="&#xe910;",pt.M4A="&#xe911;",pt.MOV="&#xe912;",pt.MP3="&#xe913;",pt.MP4="&#xe914;",pt.OGG="&#xe915;",pt.PDF="&#xe916;",pt.PNG="&#xe917;",pt.POWERPOINT="&#xe918;",pt.RAR="&#xe91a;",pt.STP="&#xe91b;",pt.TEXT="&#xe91c;",pt.VIDEO="&#xe91e;",pt.WAV="&#xe91f;",pt.WMA="&#xe920;",pt.WORD="&#xe921;",pt.XML="&#xe922;",pt.YAML="&#xe919;",pt.ZIP="&#xe923;";const ut=new Map([...["abw"].map((e=>[e,t.FtFileFormatIcons.ABW])),...["3gp","act","aiff","aac","amr","au","awb","dct","dss","dvf","gsm","iklax","ivs","mmf","mpc","msv","opus","ra","rm","raw","sln","tta","vox","wv"].map((e=>[e,t.FtFileFormatIcons.AUDIO])),...["avi"].map((e=>[e,t.FtFileFormatIcons.AVI])),...["chm","xhs"].map((e=>[e,t.FtFileFormatIcons.CHM])),...["java","py","php","php3","php4","php5","js","javascript","rb","rbw","c","cpp","cxx","h","hh","hpp","hxx","sh","bash","zsh","tcsh","ksh","csh","vb","scala","pl","prl","perl","groovy","ceylon","aspx","jsp","scpt","applescript","bas","bat","lua","jsp","mk","cmake","css","sass","less","m","mm","xcodeproj"].map((e=>[e,t.FtFileFormatIcons.CODE])),...["csv"].map((e=>[e,t.FtFileFormatIcons.CSV])),...["dita","ditamap","ditaval"].map((e=>[e,t.FtFileFormatIcons.DITA])),...["epub"].map((e=>[e,t.FtFileFormatIcons.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((e=>[e,t.FtFileFormatIcons.EXCEL])),...["flac"].map((e=>[e,t.FtFileFormatIcons.FLAC])),...["gif"].map((e=>[e,t.FtFileFormatIcons.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((e=>[e,t.FtFileFormatIcons.GZIP])),...["html","htm","xhtml"].map((e=>[e,t.FtFileFormatIcons.HTML])),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf"].map((e=>[e,t.FtFileFormatIcons.IMAGE])),...["jpeg","jpg","jpe"].map((e=>[e,t.FtFileFormatIcons.JPEG])),...["json"].map((e=>[e,t.FtFileFormatIcons.JSON])),...["m4a","m4p"].map((e=>[e,t.FtFileFormatIcons.M4A])),...["mov","qt"].map((e=>[e,t.FtFileFormatIcons.MOV])),...["mp3"].map((e=>[e,t.FtFileFormatIcons.MP3])),...["mp4","m4v"].map((e=>[e,t.FtFileFormatIcons.MP4])),...["ogg","oga"].map((e=>[e,t.FtFileFormatIcons.OGG])),...["pdf","ps"].map((e=>[e,t.FtFileFormatIcons.PDF])),...["png"].map((e=>[e,t.FtFileFormatIcons.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((e=>[e,t.FtFileFormatIcons.POWERPOINT])),...["rar"].map((e=>[e,t.FtFileFormatIcons.RAR])),...["stp"].map((e=>[e,t.FtFileFormatIcons.STP])),...["txt","rtf","md","mdown"].map((e=>[e,t.FtFileFormatIcons.TEXT])),...["webm","mkv","flv","vob","ogv","ogg","drc","mng","wmv","yuv","rm","rmvb","asf","mpg","mp2","mpeg","mpe","mpv","m2v","svi","3gp","3g2","mxf","roq","nsv"].map((e=>[e,t.FtFileFormatIcons.VIDEO])),...["wav"].map((e=>[e,t.FtFileFormatIcons.WAV])),...["wma"].map((e=>[e,t.FtFileFormatIcons.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((e=>[e,t.FtFileFormatIcons.WORD])),...["xml","xsl","rdf"].map((e=>[e,t.FtFileFormatIcons.XML])),...["yaml","yml","x-yaml"].map((e=>[e,t.FtFileFormatIcons.YAML])),...["zip"].map((e=>[e,t.FtFileFormatIcons.ZIP]))]),dt=new Map([["application/msword","application/doc"],["application/vnd.openxmlformats-officedocument.wordprocessingml.document","application/docx"],["application/vnd.openxmlformats-officedocument.wordprocessingml.template","application/dotx"],["application/vnd.ms-word.document.macroEnabled.12","application/docm"],["application/vnd.ms-word.template.macroEnabled.12","application/dotm"],["application/vnd.ms-excel","application/xls"],["application/vnd.openxmlformats-officedocument.spreadsheetml.sheet","application/xlsx"],["application/vnd.openxmlformats-officedocument.spreadsheetml.template","application/xltx"],["application/vnd.ms-excel.sheet.macroEnabled.12","application/xlsm"],["application/vnd.ms-excel.template.macroEnabled.12","application/xltm"],["application/vnd.ms-excel.addin.macroEnabled.12","application/xlam"],["application/vnd.ms-excel.sheet.binary.macroEnabled.12","application/xlsb"],["application/vnd.ms-powerpoint","application/ppt"],["application/vnd.openxmlformats-officedocument.presentationml.presentation","application/pptx"],["application/vnd.openxmlformats-officedocument.presentationml.template","application/potx"],["application/vnd.openxmlformats-officedocument.presentationml.slideshow","application/ppsx"],["application/vnd.ms-powerpoint.addin.macroEnabled.12","application/ppam"],["application/vnd.ms-powerpoint.presentation.macroEnabled.12","application/pptm"],["application/vnd.ms-powerpoint.template.macroEnabled.12","application/potm"],["application/vnd.ms-powerpoint.slideshow.macroEnabled.12","application/ppsm"],["application/vnd.ms-access","application/mdb"]]);var ft,xt=function(t,e,i,n){for(var o,s=arguments.length,r=s<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,i):n,a=t.length-1;a>=0;a--)(o=t[a])&&(r=(s<3?o(r):s>3?o(e,i,r):o(e,i))||r);return s>3&&r&&Object.defineProperty(e,i,r),r};t.FtIconVariants=void 0,(ft=t.FtIconVariants||(t.FtIconVariants={})).fluid_topics="fluid-topics",ft.file_format="file-format";const vt={size:nt.create("--ft-icon-font-size","SIZE","24px"),fluidTopicsFontFamily:nt.extend("--ft-icon-fluid-topics-font-family",nt.create("--ft-icon-font-family","UNKNOWN","ft-icons")),fileFormatFontFamily:nt.extend("--ft-icon-file-format-font-family",nt.create("--ft-icon-font-family","UNKNOWN","ft-mime"))},mt=r`
82
+ class lt extends class{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,e,i){this._$Ct=t,this._$AM=e,this._$Ci=i}_$AS(t,e){return this.update(t,e)}update(t,e){return this.render(...e)}}{constructor(t){if(super(t),this.it=B,t.type!==at)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===B||null==t)return this.vt=void 0,this.it=t;if(t===_)return t;if("string"!=typeof t)throw Error(this.constructor.directiveName+"() called with a non-string value");if(t===this.it)return this.vt;this.it=t;const e=[t];return e.raw=e,this.vt={_$litType$:this.constructor.resultType,strings:e,values:[]}}}lt.directiveName="unsafeHTML",lt.resultType=1;const ct=(t=>(...e)=>({_$litDirective$:t,values:e}))(lt);var ht,pt;t.FtIcons=void 0,(ht=t.FtIcons||(t.FtIcons={})).THIN_ARROW_LEFT="&#xe956;",ht.THIN_ARROW_RIGHT="&#xe957;",ht.MY_COLLECTIONS="&#xe955;",ht.OFFLINE_SETTINGS="&#xe954;",ht.MY_LIBRARY="&#xe959;",ht.RATE_PLAIN="&#xe952;",ht.RATE="&#xe953;",ht.FEEDBACK_PLAIN="&#xe951;",ht.STAR_PLAIN="&#xe94b;",ht.STAR="&#xe94c;",ht.THUMBS_DOWN_PLAIN="&#xe94d;",ht.THUMBS_DOWN="&#xe94e;",ht.THUMBS_UP_PLAIN="&#xe94f;",ht.THUMBS_UP="&#xe950;",ht.PAUSE="&#xe949;",ht.PLAY="&#xe94a;",ht.RELATIVES_PLAIN="&#xe947;",ht.RELATIVES="&#xe948;",ht.SHORTCUT_MENU="&#xe946;",ht.PRINT="&#xe944;",ht.DEFAULT_ROLES="&#xe945;",ht.ACCOUNT_SETTINGS="&#xe943;",ht.ONLINE="&#xe941;",ht.OFFLINE="&#xe816;",ht.UPLOAD="&#xe940;",ht.BOOK_PLAIN="&#xe93f;",ht.SYNC="&#xe93d;",ht.SHARED_PBK="&#xe931;",ht.COLLECTIONS="&#xe92a;",ht.SEARCH_IN_PUBLICATION="&#xe92f;",ht.BOOKS="&#xe806;",ht.LOCKER="&#xe93b;",ht.ARROW_DOWN="&#xe92b;",ht.ARROW_LEFT="&#xe92c;",ht.ARROW_RIGHT="&#xe92d;",ht.ARROW_UP="&#xe92e;",ht.SAVE="&#xe93a;",ht.MAILS_AND_NOTIFICATIONS="&#xe939;",ht.DOT="&#xe936;",ht.MINUS="&#xe937;",ht.PLUS="&#xe938;",ht.FILTERS="&#xe935;",ht.STRIPE_ARROW_RIGHT="&#xe934;",ht.STRIPE_ARROW_LEFT="&#xe933;",ht.ATTACHMENTS="&#xe932;",ht.ADD_BOOKMARK="&#xe804;",ht.BOOKMARK="&#xe805;",ht.EXPORT="&#xe80f;",ht.MENU="&#xe807;",ht.TAG="&#xe93e;",ht.TAG_PLAIN="&#xe942;",ht.COPY_TO_CLIPBOARD="&#xe930;",ht.COLUMNS="&#xe928;",ht.ARTICLE="&#xe927;",ht.CLOSE_PLAIN="&#xe925;",ht.CHECK_PLAIN="&#xe926;",ht.LOGOUT="&#xe923;",ht.SIGN_IN="&#xe922;",ht.THIN_ARROW="&#xe921;",ht.TRIANGLE_BOTTOM="&#xe91d;",ht.TRIANGLE_LEFT="&#xe91e;",ht.TRIANGLE_RIGHT="&#xe91f;",ht.TRIANGLE_TOP="&#xe920;",ht.FACET_HAS_DESCENDANT="&#xe91c;",ht.MINUS_PLAIN="&#xe91a;",ht.PLUS_PLAIN="&#xe91b;",ht.INFO="&#xe919;",ht.ICON_EXPAND="&#xe917;",ht.ICON_COLLAPSE="&#xe918;",ht.ADD_TO_PBK="&#xe800;",ht.ALERT="&#xe801;",ht.ADD_ALERT="&#xe802;",ht.BACK_TO_SEARCH="&#xe803;",ht.DOWNLOAD="&#xe808;",ht.EDIT="&#xe809;",ht.FEEDBACK="&#xe80a;",ht.MODIFY_PBK="&#xe80c;",ht.SCHEDULED="&#xe80d;",ht.SEARCH="&#xe80e;",ht.SHARE="&#xe80f1;",ht.TOC="&#xe810;",ht.WRITE_UGC="&#xe811;",ht.TRASH="&#xe812;",ht.EXTLINK="&#xe814;",ht.CALENDAR="&#xe815;",ht.BOOK="&#xe817;",ht.DOWNLOAD_PLAIN="&#xe818;",ht.CHECK="&#xe819;",ht.TOPICS="&#xe900;",ht.EYE="\f06e",ht.DISC="&#xe901;",ht.CIRCLE="&#xe903;",ht.SHARED="&#xe904;",ht.SORT_UNSORTED="&#xe905;",ht.SORT_UP="&#xe906;",ht.SORT_DOWN="&#xe907;",ht.WORKING="&#xe908;",ht.CLOSE="&#xe909;",ht.ZOOM_OUT="&#xe90a;",ht.ZOOM_IN="&#xe90b;",ht.ZOOM_REALSIZE="&#xe90c;",ht.ZOOM_FULLSCREEN="&#xe90d;",ht.ADMIN_RESTRICTED="&#xe90e;",ht.ADMIN_THEME="&#xe911;",ht.WARNING="&#xe913;",ht.CONTEXT="&#xe914;",ht.SEARCH_HOME="&#xe915;",ht.STEPS="&#xe916;",ht.HOME="&#xe80b;",ht.TRANSLATE="&#xe924;",ht.USER="&#xe813;",ht.ADMIN="&#xe902;",ht.ANALYTICS="&#xe929;",ht.ADMIN_KHUB="&#xe90f;",ht.ADMIN_USERS="&#xe910;",ht.ADMIN_INTEGRATION="&#xe93c;",ht.ADMIN_PORTAL="&#xe912;",t.FtFileFormatIcons=void 0,(pt=t.FtFileFormatIcons||(t.FtFileFormatIcons={})).UNKNOWN="&#xe90a;",pt.ABW="&#xe900;",pt.AUDIO="&#xe901;",pt.AVI="&#xe902;",pt.CHM="&#xe904;",pt.CODE="&#xe905;",pt.CSV="&#xe903;",pt.DITA="&#xe906;",pt.EPUB="&#xe907;",pt.EXCEL="&#xe908;",pt.FLAC="&#xe909;",pt.GIF="&#xe90b;",pt.GZIP="&#xe90c;",pt.HTML="&#xe90d;",pt.IMAGE="&#xe90e;",pt.JPEG="&#xe90f;",pt.JSON="&#xe910;",pt.M4A="&#xe911;",pt.MOV="&#xe912;",pt.MP3="&#xe913;",pt.MP4="&#xe914;",pt.OGG="&#xe915;",pt.PDF="&#xe916;",pt.PNG="&#xe917;",pt.POWERPOINT="&#xe918;",pt.RAR="&#xe91a;",pt.STP="&#xe91b;",pt.TEXT="&#xe91c;",pt.VIDEO="&#xe91e;",pt.WAV="&#xe91f;",pt.WMA="&#xe920;",pt.WORD="&#xe921;",pt.XML="&#xe922;",pt.YAML="&#xe919;",pt.ZIP="&#xe923;";const dt=new Map([...["abw"].map((e=>[e,t.FtFileFormatIcons.ABW])),...["3gp","act","aiff","aac","amr","au","awb","dct","dss","dvf","gsm","iklax","ivs","mmf","mpc","msv","opus","ra","rm","raw","sln","tta","vox","wv"].map((e=>[e,t.FtFileFormatIcons.AUDIO])),...["avi"].map((e=>[e,t.FtFileFormatIcons.AVI])),...["chm","xhs"].map((e=>[e,t.FtFileFormatIcons.CHM])),...["java","py","php","php3","php4","php5","js","javascript","rb","rbw","c","cpp","cxx","h","hh","hpp","hxx","sh","bash","zsh","tcsh","ksh","csh","vb","scala","pl","prl","perl","groovy","ceylon","aspx","jsp","scpt","applescript","bas","bat","lua","jsp","mk","cmake","css","sass","less","m","mm","xcodeproj"].map((e=>[e,t.FtFileFormatIcons.CODE])),...["csv"].map((e=>[e,t.FtFileFormatIcons.CSV])),...["dita","ditamap","ditaval"].map((e=>[e,t.FtFileFormatIcons.DITA])),...["epub"].map((e=>[e,t.FtFileFormatIcons.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((e=>[e,t.FtFileFormatIcons.EXCEL])),...["flac"].map((e=>[e,t.FtFileFormatIcons.FLAC])),...["gif"].map((e=>[e,t.FtFileFormatIcons.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((e=>[e,t.FtFileFormatIcons.GZIP])),...["html","htm","xhtml"].map((e=>[e,t.FtFileFormatIcons.HTML])),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf"].map((e=>[e,t.FtFileFormatIcons.IMAGE])),...["jpeg","jpg","jpe"].map((e=>[e,t.FtFileFormatIcons.JPEG])),...["json"].map((e=>[e,t.FtFileFormatIcons.JSON])),...["m4a","m4p"].map((e=>[e,t.FtFileFormatIcons.M4A])),...["mov","qt"].map((e=>[e,t.FtFileFormatIcons.MOV])),...["mp3"].map((e=>[e,t.FtFileFormatIcons.MP3])),...["mp4","m4v"].map((e=>[e,t.FtFileFormatIcons.MP4])),...["ogg","oga"].map((e=>[e,t.FtFileFormatIcons.OGG])),...["pdf","ps"].map((e=>[e,t.FtFileFormatIcons.PDF])),...["png"].map((e=>[e,t.FtFileFormatIcons.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((e=>[e,t.FtFileFormatIcons.POWERPOINT])),...["rar"].map((e=>[e,t.FtFileFormatIcons.RAR])),...["stp"].map((e=>[e,t.FtFileFormatIcons.STP])),...["txt","rtf","md","mdown"].map((e=>[e,t.FtFileFormatIcons.TEXT])),...["webm","mkv","flv","vob","ogv","ogg","drc","mng","wmv","yuv","rm","rmvb","asf","mpg","mp2","mpeg","mpe","mpv","m2v","svi","3gp","3g2","mxf","roq","nsv"].map((e=>[e,t.FtFileFormatIcons.VIDEO])),...["wav"].map((e=>[e,t.FtFileFormatIcons.WAV])),...["wma"].map((e=>[e,t.FtFileFormatIcons.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((e=>[e,t.FtFileFormatIcons.WORD])),...["xml","xsl","rdf"].map((e=>[e,t.FtFileFormatIcons.XML])),...["yaml","yml","x-yaml"].map((e=>[e,t.FtFileFormatIcons.YAML])),...["zip"].map((e=>[e,t.FtFileFormatIcons.ZIP]))]),ut=new Map([["application/msword","application/doc"],["application/vnd.openxmlformats-officedocument.wordprocessingml.document","application/docx"],["application/vnd.openxmlformats-officedocument.wordprocessingml.template","application/dotx"],["application/vnd.ms-word.document.macroEnabled.12","application/docm"],["application/vnd.ms-word.template.macroEnabled.12","application/dotm"],["application/vnd.ms-excel","application/xls"],["application/vnd.openxmlformats-officedocument.spreadsheetml.sheet","application/xlsx"],["application/vnd.openxmlformats-officedocument.spreadsheetml.template","application/xltx"],["application/vnd.ms-excel.sheet.macroEnabled.12","application/xlsm"],["application/vnd.ms-excel.template.macroEnabled.12","application/xltm"],["application/vnd.ms-excel.addin.macroEnabled.12","application/xlam"],["application/vnd.ms-excel.sheet.binary.macroEnabled.12","application/xlsb"],["application/vnd.ms-powerpoint","application/ppt"],["application/vnd.openxmlformats-officedocument.presentationml.presentation","application/pptx"],["application/vnd.openxmlformats-officedocument.presentationml.template","application/potx"],["application/vnd.openxmlformats-officedocument.presentationml.slideshow","application/ppsx"],["application/vnd.ms-powerpoint.addin.macroEnabled.12","application/ppam"],["application/vnd.ms-powerpoint.presentation.macroEnabled.12","application/pptm"],["application/vnd.ms-powerpoint.template.macroEnabled.12","application/potm"],["application/vnd.ms-powerpoint.slideshow.macroEnabled.12","application/ppsm"],["application/vnd.ms-access","application/mdb"]]);var xt,ft=function(t,e,i,s){for(var o,n=arguments.length,r=n<3?e:null===s?s=Object.getOwnPropertyDescriptor(e,i):s,a=t.length-1;a>=0;a--)(o=t[a])&&(r=(n<3?o(r):n>3?o(e,i,r):o(e,i))||r);return n>3&&r&&Object.defineProperty(e,i,r),r};t.FtIconVariants=void 0,(xt=t.FtIconVariants||(t.FtIconVariants={})).fluid_topics="fluid-topics",xt.file_format="file-format";const mt={size:st.create("--ft-icon-font-size","SIZE","24px"),fluidTopicsFontFamily:st.extend("--ft-icon-fluid-topics-font-family",st.create("--ft-icon-font-family","UNKNOWN","ft-icons")),fileFormatFontFamily:st.extend("--ft-icon-file-format-font-family",st.create("--ft-icon-font-family","UNKNOWN","ft-mime"))},vt=l`
69
83
  .ft-icon--fluid-topics {
70
- font-family: ${vt.fluidTopicsFontFamily}, ft-icons, fticons, sans-serif;
71
- font-size: ${vt.size};
84
+ font-family: ${mt.fluidTopicsFontFamily}, ft-icons, fticons, sans-serif;
85
+ font-size: ${mt.size};
72
86
  line-height: 1;
73
87
  font-weight: normal;
74
88
  text-transform: none;
@@ -80,10 +94,10 @@ class lt extends class{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,e
80
94
  -webkit-font-smoothing: antialiased;
81
95
  -moz-osx-font-smoothing: grayscale;
82
96
  }
83
- `,bt=r`
97
+ `,bt=l`
84
98
  .ft-icon--file-format {
85
- font-family: ${vt.fileFormatFontFamily}, ft-mime, sans-serif;
86
- font-size: ${vt.size};
99
+ font-family: ${mt.fileFormatFontFamily}, ft-mime, sans-serif;
100
+ font-size: ${mt.size};
87
101
  line-height: 1;
88
102
  font-weight: normal;
89
103
  text-transform: none;
@@ -95,25 +109,25 @@ class lt extends class{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,e
95
109
  -webkit-font-smoothing: antialiased;
96
110
  -moz-osx-font-smoothing: grayscale;
97
111
  }
98
- `;var gt;t.FtIcon=class extends ot{constructor(){super(...arguments),this.variant=t.FtIconVariants.fluid_topics}getStyles(){return[mt,bt,r`
99
- :host, i.ft-icon {
100
- display: inline-block;
101
- width: ${vt.size};
102
- height: ${vt.size};
103
- text-align: center;
104
- }
105
- `]}getTemplate(){return T`
112
+ `;class gt extends ot{constructor(){super(...arguments),this.variant=t.FtIconVariants.fluid_topics}render(){return T`
106
113
  <slot @slotchange=${()=>this.requestUpdate()} hidden></slot>
107
114
  <i class="ft-icon ${"ft-icon--"+this.variant}">${ct(this.getIcon())}</i>
108
- `}get textContent(){var t,e;return null!==(e=null===(t=this.slottedContent)||void 0===t?void 0:t.assignedNodes().map((t=>t.textContent)).join("").trim())&&void 0!==e?e:""}getIcon(){var e,i;return this.variant===t.FtIconVariants.file_format?null!==(e=t.FtFileFormatIcons[this.textContent.toUpperCase()])&&void 0!==e?e:this.textContent:null!==(i=t.FtIcons[this.textContent.toUpperCase()])&&void 0!==i?i:this.textContent}},t.FtIcon.elementDefinitions={},xt([function(t){return(e,i)=>void 0!==i?((t,e,i)=>{e.constructor.createProperty(i,t)})(t,e,i):et(t,e)
115
+ `}get textContent(){var t,e;return null!==(e=null===(t=this.slottedContent)||void 0===t?void 0:t.assignedNodes().map((t=>t.textContent)).join("").trim())&&void 0!==e?e:""}getIcon(){var e,i;return this.variant===t.FtIconVariants.file_format?null!==(e=t.FtFileFormatIcons[this.textContent.toUpperCase()])&&void 0!==e?e:this.textContent:null!==(i=t.FtIcons[this.textContent.toUpperCase()])&&void 0!==i?i:this.textContent}}var wt;gt.elementDefinitions={},gt.styles=[vt,bt,l`
116
+ :host, i.ft-icon {
117
+ display: inline-block;
118
+ width: ${mt.size};
119
+ height: ${mt.size};
120
+ text-align: center;
121
+ }
122
+ `],ft([function(t){return(i,s)=>void 0!==s?((t,e,i)=>{e.constructor.createProperty(i,t)})(t,i,s):e(t,i)
109
123
  /**
110
124
  * @license
111
125
  * Copyright 2017 Google LLC
112
126
  * SPDX-License-Identifier: BSD-3-Clause
113
- */}()],t.FtIcon.prototype,"variant",void 0),xt([
127
+ */}()],gt.prototype,"variant",void 0),ft([
114
128
  /**
115
129
  * @license
116
130
  * Copyright 2017 Google LLC
117
131
  * SPDX-License-Identifier: BSD-3-Clause
118
132
  */
119
- function(t,e){return(({finisher:t,descriptor:e})=>(i,n)=>{var o;if(void 0===n){const n=null!==(o=i.originalKey)&&void 0!==o?o:i.key,s=null!=e?{kind:"method",placement:"prototype",key:n,descriptor:e(i.key)}:{...i,key:n};return null!=t&&(s.finisher=function(e){t(e,n)}),s}{const o=i.constructor;void 0!==e&&Object.defineProperty(i,n,e(n)),null==t||t(o,n)}})({descriptor:i=>{const n={get(){var e,i;return null!==(i=null===(e=this.renderRoot)||void 0===e?void 0:e.querySelector(t))&&void 0!==i?i:null},enumerable:!0,configurable:!0};if(e){const e="symbol"==typeof i?Symbol():"__"+i;n.get=function(){var i,n;return void 0===this[e]&&(this[e]=null!==(n=null===(i=this.renderRoot)||void 0===i?void 0:i.querySelector(t))&&void 0!==n?n:null),this[e]}}return n}})}("slot")],t.FtIcon.prototype,"slottedContent",void 0),t.FtIcon=xt([(gt="ft-icon",t=>{window.customElements.get(gt)||window.customElements.define(gt,t)})],t.FtIcon),t.FtIconCssVariables=vt,t.FtIconFileFormat=bt,t.FtIconFluidTopics=mt,t.resolveFileFormatIcon=function(e,i){var n,o,s,r;e=(null!=e?e:"").toLowerCase(),i=(null!=i?i:"").toLowerCase();const[a,l]=((null!==(n=dt.get(e))&&void 0!==n?n:e)+"/").split("/");return null!==(r=null!==(s=null!==(o=ut.get(l))&&void 0!==o?o:ut.get(i))&&void 0!==s?s:ut.get(a))&&void 0!==r?r:t.FtFileFormatIcons.UNKNOWN},Object.defineProperty(t,"t",{value:!0})}({});
133
+ function(t,e){return(({finisher:t,descriptor:e})=>(i,s)=>{var o;if(void 0===s){const s=null!==(o=i.originalKey)&&void 0!==o?o:i.key,n=null!=e?{kind:"method",placement:"prototype",key:s,descriptor:e(i.key)}:{...i,key:s};return null!=t&&(n.finisher=function(e){t(e,s)}),n}{const o=i.constructor;void 0!==e&&Object.defineProperty(i,s,e(s)),null==t||t(o,s)}})({descriptor:i=>{const s={get(){var e,i;return null!==(i=null===(e=this.renderRoot)||void 0===e?void 0:e.querySelector(t))&&void 0!==i?i:null},enumerable:!0,configurable:!0};if(e){const e="symbol"==typeof i?Symbol():"__"+i;s.get=function(){var i,s;return void 0===this[e]&&(this[e]=null!==(s=null===(i=this.renderRoot)||void 0===i?void 0:i.querySelector(t))&&void 0!==s?s:null),this[e]}}return s}})}("slot")],gt.prototype,"slottedContent",void 0),(wt="ft-icon",t=>{window.customElements.get(wt)||window.customElements.define(wt,t)})(gt),t.FtIcon=gt,t.FtIconCssVariables=mt,t.FtIconFileFormat=bt,t.FtIconFluidTopics=vt,t.resolveFileFormatIcon=function(e,i){var s,o,n,r;e=(null!=e?e:"").toLowerCase(),i=(null!=i?i:"").toLowerCase();const[a,l]=((null!==(s=ut.get(e))&&void 0!==s?s:e)+"/").split("/");return null!==(r=null!==(n=null!==(o=dt.get(l))&&void 0!==o?o:dt.get(i))&&void 0!==n?n:dt.get(a))&&void 0!==r?r:t.FtFileFormatIcons.UNKNOWN},Object.defineProperty(t,"t",{value:!0})}({});
@@ -0,0 +1,3 @@
1
+ export * from "./ft-icon";
2
+ export * from "./icons";
3
+ //# sourceMappingURL=index.d.ts.map
package/build/index.js ADDED
@@ -0,0 +1,6 @@
1
+ import { customElement } from "@fluid-topics/ft-wc-utils";
2
+ import { FtIcon } from "./ft-icon";
3
+ export * from "./ft-icon";
4
+ export * from "./icons";
5
+ customElement("ft-icon")(FtIcon);
6
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=inline-styles.d.ts.map
@@ -0,0 +1,4 @@
1
+ import { customElement, InlineStyles } from "@fluid-topics/ft-wc-utils";
2
+ import { FtIcon } from "./ft-icon";
3
+ customElement("ft-icon")(InlineStyles(FtIcon));
4
+ //# sourceMappingURL=inline-styles.js.map
package/package.json CHANGED
@@ -1,15 +1,15 @@
1
1
  {
2
2
  "name": "@fluid-topics/ft-icon",
3
- "version": "0.1.17",
3
+ "version": "0.1.18",
4
4
  "description": "Typography components",
5
5
  "keywords": [
6
6
  "Lit"
7
7
  ],
8
8
  "author": "Fluid Topics <devtopics@antidot.net>",
9
9
  "license": "ISC",
10
- "main": "build/ft-icon.js",
10
+ "main": "build/index.js",
11
11
  "web": "build/ft-icon.min.js",
12
- "typings": "build/ft-icon",
12
+ "typings": "build/index",
13
13
  "files": [
14
14
  "build/*.ts",
15
15
  "build/*.js"
@@ -19,8 +19,8 @@
19
19
  "url": "ssh://git@scm.mrs.antidot.net:2222/fluidtopics/ft-web-components.git"
20
20
  },
21
21
  "dependencies": {
22
- "@fluid-topics/ft-wc-utils": "^0.1.17",
22
+ "@fluid-topics/ft-wc-utils": "^0.1.18",
23
23
  "lit": "2.1.3"
24
24
  },
25
- "gitHead": "59fc7ad4bb79bb7a36b5edc8217d1279abf471f3"
25
+ "gitHead": "cb05ea190a9302378594a08d3a62a7002e461433"
26
26
  }