@fluid-topics/ft-notice 1.1.0 → 1.1.2

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.
Files changed (2) hide show
  1. package/build/ft-notice.min.js +108 -104
  2. package/package.json +5 -5
@@ -12,7 +12,7 @@
12
12
  * subject to an additional IP rights grant found at
13
13
  * http://polymer.github.io/PATENTS.txt
14
14
  */
15
- if(!ShadowRoot.prototype.createElement){const t=window.HTMLElement,o=window.customElements.define,e=window.customElements.get,r=window.customElements,i=new WeakMap,a=new WeakMap,n=new WeakMap,s=new WeakMap;let c;window.CustomElementRegistry=class{constructor(){this._definitionsByTag=new Map,this._definitionsByClass=new Map,this._whenDefinedPromises=new Map,this._awaitingUpgrade=new Map}define(t,i){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(i))throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");const s=i.prototype.attributeChangedCallback,c=new Set(i.observedAttributes||[]);h(i,c,s);const l={elementClass:i,connectedCallback:i.prototype.connectedCallback,disconnectedCallback:i.prototype.disconnectedCallback,adoptedCallback:i.prototype.adoptedCallback,attributeChangedCallback:s,formAssociated:i.formAssociated,formAssociatedCallback:i.prototype.formAssociatedCallback,formDisabledCallback:i.prototype.formDisabledCallback,formResetCallback:i.prototype.formResetCallback,formStateRestoreCallback:i.prototype.formStateRestoreCallback,observedAttributes:c};this._definitionsByTag.set(t,l),this._definitionsByClass.set(i,l);let p=e.call(r,t);p||(p=f(t),o.call(r,t,p)),this===window.customElements&&(n.set(i,l),l.standInClass=p);const d=this._awaitingUpgrade.get(t);if(d){this._awaitingUpgrade.delete(t);for(const t of d)a.delete(t),y(t,l,!0)}const g=this._whenDefinedPromises.get(t);return void 0!==g&&(g.resolve(i),this._whenDefinedPromises.delete(t)),i}upgrade(){u.push(this),r.upgrade.apply(r,arguments),u.pop()}get(t){const o=this._definitionsByTag.get(t);return o?.elementClass}_getDefinition(t){return this._definitionsByTag.get(t)}whenDefined(t){const o=this._getDefinition(t);if(void 0!==o)return Promise.resolve(o.elementClass);let e=this._whenDefinedPromises.get(t);return void 0===e&&(e={},e.promise=new Promise((t=>e.resolve=t)),this._whenDefinedPromises.set(t,e)),e.promise}_upgradeWhenDefined(t,o,e){let r=this._awaitingUpgrade.get(o);r||this._awaitingUpgrade.set(o,r=new Set),e?r.add(t):r.delete(t)}},window.HTMLElement=function(){let o=c;if(o)return c=void 0,o;const e=n.get(this.constructor);if(!e)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return o=Reflect.construct(t,[],e.standInClass),Object.setPrototypeOf(o,this.constructor.prototype),i.set(o,e),o},window.HTMLElement.prototype=t.prototype;const l=t=>t===document||t instanceof ShadowRoot,p=t=>{let o=t.getRootNode();if(!l(o)){const t=u[u.length-1];if(t instanceof CustomElementRegistry)return t;o=t.getRootNode(),l(o)||(o=s.get(o)?.getRootNode()||document)}return o.customElements},f=o=>class{static get formAssociated(){return!0}constructor(){const e=Reflect.construct(t,[],this.constructor);Object.setPrototypeOf(e,HTMLElement.prototype);const r=p(e)||window.customElements,i=r._getDefinition(o);return i?y(e,i):a.set(e,r),e}connectedCallback(){const t=i.get(this);t?t.connectedCallback&&t.connectedCallback.apply(this,arguments):a.get(this)._upgradeWhenDefined(this,o,!0)}disconnectedCallback(){const t=i.get(this);t?t.disconnectedCallback&&t.disconnectedCallback.apply(this,arguments):a.get(this)._upgradeWhenDefined(this,o,!1)}adoptedCallback(){const t=i.get(this);t?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){const t=i.get(this);t&&t.formAssociated&&t?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){const t=i.get(this);t?.formAssociated&&t?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){const t=i.get(this);t?.formAssociated&&t?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){const t=i.get(this);t?.formAssociated&&t?.formStateRestoreCallback?.apply(this,arguments)}},h=(t,o,e)=>{if(0===o.size||void 0===e)return;const r=t.prototype.setAttribute;r&&(t.prototype.setAttribute=function(t,i){const a=t.toLowerCase();if(o.has(a)){const t=this.getAttribute(a);r.call(this,a,i),e.call(this,a,t,i)}else r.call(this,a,i)});const i=t.prototype.removeAttribute;i&&(t.prototype.removeAttribute=function(t){const r=t.toLowerCase();if(o.has(r)){const t=this.getAttribute(r);i.call(this,r),e.call(this,r,t,null)}else i.call(this,r)});const a=t.prototype.toggleAttribute;a&&(t.prototype.toggleAttribute=function(t,r){const i=t.toLowerCase();if(o.has(i)){const t=this.getAttribute(i);a.call(this,i,r);const o=this.getAttribute(i);e.call(this,i,t,o)}else a.call(this,i,r)})},d=o=>{const e=Object.getPrototypeOf(o);if(e!==window.HTMLElement)return e===t?Object.setPrototypeOf(o,window.HTMLElement):d(e)},y=(t,o,e=!1)=>{Object.setPrototypeOf(t,o.elementClass.prototype),i.set(t,o),c=t;try{new o.elementClass}catch(t){d(o.elementClass),new o.elementClass}o.attributeChangedCallback&&o.observedAttributes.forEach((e=>{t.hasAttribute(e)&&o.attributeChangedCallback.call(t,e,null,t.getAttribute(e))})),e&&o.connectedCallback&&t.isConnected&&o.connectedCallback.call(t)},g=Element.prototype.attachShadow;Element.prototype.attachShadow=function(t){const o=g.apply(this,arguments);return t.customElements&&(o.customElements=t.customElements),o};let u=[document];const b=(t,o,e=void 0)=>{const r=(e?Object.getPrototypeOf(e):t.prototype)[o];t.prototype[o]=function(){u.push(this);const t=r.apply(e||this,arguments);return void 0!==t&&s.set(t,this),u.pop(),t}};b(ShadowRoot,"createElement",document),b(ShadowRoot,"importNode",document),b(Element,"insertAdjacentHTML");const m=(t,o)=>{const e=Object.getOwnPropertyDescriptor(t.prototype,o);Object.defineProperty(t.prototype,o,{...e,set(t){u.push(this),e.set.call(this,t),u.pop()}})};if(m(Element,"innerHTML"),m(ShadowRoot,"innerHTML"),Object.defineProperty(window,"customElements",{value:new CustomElementRegistry,configurable:!0,writable:!0}),window.ElementInternals&&window.ElementInternals.prototype.setFormValue){const t=new WeakMap,o=HTMLElement.prototype.attachInternals,e=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...e){const r=o.call(this,...e);return t.set(r,this),r},e.forEach((o=>{const e=window.ElementInternals.prototype,r=e[o];e[o]=function(...o){const e=t.get(this);if(!0===i.get(e).formAssociated)return r?.call(this,...o);throw new DOMException(`Failed to execute ${r} on 'ElementInternals': The target element is not a form-associated custom element.`)}}));class r extends Array{constructor(t){super(...t),this._elements=t}get value(){return this._elements.find((t=>!0===t.checked))?.value||""}}class a{constructor(t){const o=new Map;t.forEach(((t,e)=>{const r=t.getAttribute("name"),i=o.get(r)||[];this[+e]=t,i.push(t),o.set(r,i)})),this.length=t.length,o.forEach(((t,o)=>{t&&(1===t.length?this[o]=t[0]:this[o]=new r(t))}))}namedItem(t){return this[t]}}const n=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){const t=n.get.call(this,[]),o=[];for(const e of t){const t=i.get(e);t&&!0!==t.formAssociated||o.push(e)}return new a(o)}})}}try{window.customElements.define("custom-element",null)}catch(_o){const t=window.customElements.define;window.customElements.define=(o,e,r)=>{if(null!==e)try{t.bind(window.customElements)(o,e,r)}catch(t){console.info(o,e,r,t)}}}class o{constructor(t=0){this.timeout=t,this.callbacks=[]}run(t,o){return this.callbacks=[t],this.debounce(o)}queue(t,o){return this.callbacks.push(t),this.debounce(o)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(t){return null==this.promise&&(this.promise=new Promise(((t,o)=>{this.resolvePromise=t,this.rejectPromise=o}))),this.clearTimeout(),this._debounce=window.setTimeout((()=>this.runCallbacks()),null!=t?t:this.timeout),this.promise}async runCallbacks(){var t,o;const e=[...this.callbacks];this.callbacks=[];const r=null!==(t=this.rejectPromise)&&void 0!==t?t:()=>null,i=null!==(o=this.resolvePromise)&&void 0!==o?o:()=>null;this.clearPromise();for(let t of e)try{await t()}catch(t){return void r(t)}i(!0)}clearTimeout(){null!=this._debounce&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}}
15
+ if(!ShadowRoot.prototype.createElement){const t=window.HTMLElement,o=window.customElements.define,e=window.customElements.get,r=window.customElements,i=new WeakMap,a=new WeakMap,n=new WeakMap,s=new WeakMap;let c;window.CustomElementRegistry=class{constructor(){this._definitionsByTag=new Map,this._definitionsByClass=new Map,this._whenDefinedPromises=new Map,this._awaitingUpgrade=new Map}define(t,i){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(i))throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");const s=i.prototype.attributeChangedCallback,c=new Set(i.observedAttributes||[]);h(i,c,s);const l={elementClass:i,connectedCallback:i.prototype.connectedCallback,disconnectedCallback:i.prototype.disconnectedCallback,adoptedCallback:i.prototype.adoptedCallback,attributeChangedCallback:s,formAssociated:i.formAssociated,formAssociatedCallback:i.prototype.formAssociatedCallback,formDisabledCallback:i.prototype.formDisabledCallback,formResetCallback:i.prototype.formResetCallback,formStateRestoreCallback:i.prototype.formStateRestoreCallback,observedAttributes:c};this._definitionsByTag.set(t,l),this._definitionsByClass.set(i,l);let p=e.call(r,t);p||(p=f(t),o.call(r,t,p)),this===window.customElements&&(n.set(i,l),l.standInClass=p);const d=this._awaitingUpgrade.get(t);if(d){this._awaitingUpgrade.delete(t);for(const t of d)a.delete(t),y(t,l,!0)}const g=this._whenDefinedPromises.get(t);return void 0!==g&&(g.resolve(i),this._whenDefinedPromises.delete(t)),i}upgrade(){u.push(this),r.upgrade.apply(r,arguments),u.pop()}get(t){const o=this._definitionsByTag.get(t);return o?.elementClass}_getDefinition(t){return this._definitionsByTag.get(t)}whenDefined(t){const o=this._getDefinition(t);if(void 0!==o)return Promise.resolve(o.elementClass);let e=this._whenDefinedPromises.get(t);return void 0===e&&(e={},e.promise=new Promise((t=>e.resolve=t)),this._whenDefinedPromises.set(t,e)),e.promise}_upgradeWhenDefined(t,o,e){let r=this._awaitingUpgrade.get(o);r||this._awaitingUpgrade.set(o,r=new Set),e?r.add(t):r.delete(t)}},window.HTMLElement=function(){let o=c;if(o)return c=void 0,o;const e=n.get(this.constructor);if(!e)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return o=Reflect.construct(t,[],e.standInClass),Object.setPrototypeOf(o,this.constructor.prototype),i.set(o,e),o},window.HTMLElement.prototype=t.prototype;const l=t=>t===document||t instanceof ShadowRoot,p=t=>{let o=t.getRootNode();if(!l(o)){const t=u[u.length-1];if(t instanceof CustomElementRegistry)return t;o=t.getRootNode(),l(o)||(o=s.get(o)?.getRootNode()||document)}return o.customElements},f=o=>class{static get formAssociated(){return!0}constructor(){const e=Reflect.construct(t,[],this.constructor);Object.setPrototypeOf(e,HTMLElement.prototype);const r=p(e)||window.customElements,i=r._getDefinition(o);return i?y(e,i):a.set(e,r),e}connectedCallback(){const t=i.get(this);t?t.connectedCallback&&t.connectedCallback.apply(this,arguments):a.get(this)._upgradeWhenDefined(this,o,!0)}disconnectedCallback(){const t=i.get(this);t?t.disconnectedCallback&&t.disconnectedCallback.apply(this,arguments):a.get(this)._upgradeWhenDefined(this,o,!1)}adoptedCallback(){const t=i.get(this);t?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){const t=i.get(this);t&&t.formAssociated&&t?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){const t=i.get(this);t?.formAssociated&&t?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){const t=i.get(this);t?.formAssociated&&t?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){const t=i.get(this);t?.formAssociated&&t?.formStateRestoreCallback?.apply(this,arguments)}},h=(t,o,e)=>{if(0===o.size||void 0===e)return;const r=t.prototype.setAttribute;r&&(t.prototype.setAttribute=function(t,i){const a=t.toLowerCase();if(o.has(a)){const t=this.getAttribute(a);r.call(this,a,i),e.call(this,a,t,i)}else r.call(this,a,i)});const i=t.prototype.removeAttribute;i&&(t.prototype.removeAttribute=function(t){const r=t.toLowerCase();if(o.has(r)){const t=this.getAttribute(r);i.call(this,r),e.call(this,r,t,null)}else i.call(this,r)});const a=t.prototype.toggleAttribute;a&&(t.prototype.toggleAttribute=function(t,r){const i=t.toLowerCase();if(o.has(i)){const t=this.getAttribute(i);a.call(this,i,r);const o=this.getAttribute(i);e.call(this,i,t,o)}else a.call(this,i,r)})},d=o=>{const e=Object.getPrototypeOf(o);if(e!==window.HTMLElement)return e===t?Object.setPrototypeOf(o,window.HTMLElement):d(e)},y=(t,o,e=!1)=>{Object.setPrototypeOf(t,o.elementClass.prototype),i.set(t,o),c=t;try{new o.elementClass}catch(t){d(o.elementClass),new o.elementClass}o.attributeChangedCallback&&o.observedAttributes.forEach((e=>{t.hasAttribute(e)&&o.attributeChangedCallback.call(t,e,null,t.getAttribute(e))})),e&&o.connectedCallback&&t.isConnected&&o.connectedCallback.call(t)},g=Element.prototype.attachShadow;Element.prototype.attachShadow=function(t){const o=g.apply(this,arguments);return t.customElements&&(o.customElements=t.customElements),o};let u=[document];const b=(t,o,e=void 0)=>{const r=(e?Object.getPrototypeOf(e):t.prototype)[o];t.prototype[o]=function(){u.push(this);const t=r.apply(e||this,arguments);return void 0!==t&&s.set(t,this),u.pop(),t}};b(ShadowRoot,"createElement",document),b(ShadowRoot,"importNode",document),b(Element,"insertAdjacentHTML");const m=(t,o)=>{const e=Object.getOwnPropertyDescriptor(t.prototype,o);Object.defineProperty(t.prototype,o,{...e,set(t){u.push(this),e.set.call(this,t),u.pop()}})};if(m(Element,"innerHTML"),m(ShadowRoot,"innerHTML"),Object.defineProperty(window,"customElements",{value:new CustomElementRegistry,configurable:!0,writable:!0}),window.ElementInternals&&window.ElementInternals.prototype.setFormValue){const t=new WeakMap,o=HTMLElement.prototype.attachInternals,e=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...e){const r=o.call(this,...e);return t.set(r,this),r},e.forEach((o=>{const e=window.ElementInternals.prototype,r=e[o];e[o]=function(...o){const e=t.get(this);if(!0===i.get(e).formAssociated)return r?.call(this,...o);throw new DOMException(`Failed to execute ${r} on 'ElementInternals': The target element is not a form-associated custom element.`)}}));class r extends Array{constructor(t){super(...t),this._elements=t}get value(){return this._elements.find((t=>!0===t.checked))?.value||""}}class a{constructor(t){const o=new Map;t.forEach(((t,e)=>{const r=t.getAttribute("name"),i=o.get(r)||[];this[+e]=t,i.push(t),o.set(r,i)})),this.length=t.length,o.forEach(((t,o)=>{t&&(1===t.length?this[o]=t[0]:this[o]=new r(t))}))}namedItem(t){return this[t]}}const n=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){const t=n.get.call(this,[]),o=[];for(const e of t){const t=i.get(e);t&&!0!==t.formAssociated||o.push(e)}return new a(o)}})}}try{window.customElements.define("custom-element",null)}catch(jo){const t=window.customElements.define;window.customElements.define=(o,e,r)=>{if(null!==e)try{t.bind(window.customElements)(o,e,r)}catch(t){console.info(o,e,r,t)}}}class o{constructor(t=0){this.timeout=t,this.callbacks=[]}run(t,o){return this.callbacks=[t],this.debounce(o)}queue(t,o){return this.callbacks.push(t),this.debounce(o)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(t){return null==this.promise&&(this.promise=new Promise(((t,o)=>{this.resolvePromise=t,this.rejectPromise=o}))),this.clearTimeout(),this._debounce=window.setTimeout((()=>this.runCallbacks()),null!=t?t:this.timeout),this.promise}async runCallbacks(){var t,o;const e=[...this.callbacks];this.callbacks=[];const r=null!==(t=this.rejectPromise)&&void 0!==t?t:()=>null,i=null!==(o=this.resolvePromise)&&void 0!==o?o:()=>null;this.clearPromise();for(let t of e)try{await t()}catch(t){return void r(t)}i(!0)}clearTimeout(){null!=this._debounce&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}}
16
16
  /**
17
17
  * @license
18
18
  * Copyright 2019 Google LLC
@@ -78,7 +78,11 @@ class yo extends $t{constructor(){super(...arguments),this.renderOptions={host:t
78
78
  * @license
79
79
  * Copyright 2019 Google LLC
80
80
  * SPDX-License-Identifier: BSD-3-Clause
81
- */class wo extends yo{createRenderRoot(){const t=this.constructor;t.elementDefinitions&&!t.registry&&(t.registry=new CustomElementRegistry,Object.entries(t.elementDefinitions).forEach((([o,e])=>t.registry.define(o,e))));const o={...t.shadowRootOptions,customElements:t.registry},e=this.renderOptions.creationScope=this.attachShadow(o);return((t,o)=>{vo?t.adoptedStyleSheets=o.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet)):o.forEach((o=>{const e=document.createElement("style"),r=So.litNonce;void 0!==r&&e.setAttribute("nonce",r),e.textContent=o.cssText,t.appendChild(e)}))})(e,t.elementStyles),e}}var Co,Ro=function(t,o,e,r){for(var i,a=arguments.length,n=a<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,s=t.length-1;s>=0;s--)(i=t[s])&&(n=(a<3?i(n):a>3?i(o,e,n):i(o,e))||n);return a>3&&n&&Object.defineProperty(o,e,n),n};const Uo=Symbol("constructorPrototype"),Eo=Symbol("constructorName"),Io=Symbol("exportpartsDebouncer");class Wo extends wo{constructor(){super(),this[Co]=new o(5),this[Eo]=this.constructor.name,this[Uo]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[Eo]&&Object.setPrototypeOf(this,this[Uo])}updated(t){super.updated(t),setTimeout((()=>{this.contentAvailableCallback(t),this.scheduleExportpartsUpdate()}),0)}contentAvailableCallback(t){var o,e;if((null!==(e=null===(o=this.shadowRoot)||void 0===o?void 0:o.querySelectorAll(".ft-lit-element--custom-stylesheet"))&&void 0!==e?e:[]).forEach((t=>t.remove())),this.customStylesheet){const t=document.createElement("style");t.classList.add("ft-lit-element--custom-stylesheet"),t.innerHTML=this.customStylesheet,this.shadowRoot.append(t)}}scheduleExportpartsUpdate(){this[Io].run((()=>{var t;(null===(t=this.exportpartsPrefix)||void 0===t?void 0:t.trim())?this.setExportpartsAttribute([this.exportpartsPrefix]):null!=this.exportpartsPrefixes&&this.exportpartsPrefixes.length>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)}))}setExportpartsAttribute(t){var o,e,r,i,a,n;const s=t=>null!=t&&t.trim().length>0,c=t.filter(s).map((t=>t.trim()));if(0===c.length)return void this.removeAttribute("exportparts");const l=new Set;for(let t of null!==(e=null===(o=this.shadowRoot)||void 0===o?void 0:o.querySelectorAll("[part],[exportparts]"))&&void 0!==e?e:[]){const o=null!==(i=null===(r=t.getAttribute("part"))||void 0===r?void 0:r.split(" "))&&void 0!==i?i:[],e=null!==(n=null===(a=t.getAttribute("exportparts"))||void 0===a?void 0:a.split(",").map((t=>t.split(":")[1])))&&void 0!==n?n:[];new Array(...o,...e).filter(s).map((t=>t.trim())).forEach((t=>l.add(t)))}if(0===l.size)return void this.removeAttribute("exportparts");const p=[...l.values()].flatMap((t=>c.map((o=>`${t}:${o}--${t}`))));this.setAttribute("exportparts",[...this.part,...p].join(", "))}}var $o,Lo;Co=Io,Ro([C()],Wo.prototype,"exportpartsPrefix",void 0),Ro([function(t,o){const e=()=>JSON.parse(JSON.stringify(t));return C({type:Object,converter:{fromAttribute:t=>{if(null==t)return e();try{return JSON.parse(t)}catch{return e()}},toAttribute:t=>JSON.stringify(t)},hasChanged:(t,o)=>!U(t,o),...null!=o?o:{}})}([])],Wo.prototype,"exportpartsPrefixes",void 0),Ro([C()],Wo.prototype,"customStylesheet",void 0),gt`
81
+ */class wo extends yo{createRenderRoot(){const t=this.constructor;t.elementDefinitions&&!t.registry&&(t.registry=new CustomElementRegistry,Object.entries(t.elementDefinitions).forEach((([o,e])=>t.registry.define(o,e))));const o={...t.shadowRootOptions,customElements:t.registry},e=this.renderOptions.creationScope=this.attachShadow(o);return((t,o)=>{vo?t.adoptedStyleSheets=o.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet)):o.forEach((o=>{const e=document.createElement("style"),r=So.litNonce;void 0!==r&&e.setAttribute("nonce",r),e.textContent=o.cssText,t.appendChild(e)}))})(e,t.elementStyles),e}}var Co,Ro=function(t,o,e,r){for(var i,a=arguments.length,n=a<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,s=t.length-1;s>=0;s--)(i=t[s])&&(n=(a<3?i(n):a>3?i(o,e,n):i(o,e))||n);return a>3&&n&&Object.defineProperty(o,e,n),n};const Uo=Symbol("constructorPrototype"),Eo=Symbol("constructorName"),Io=Symbol("exportpartsDebouncer");class Wo extends wo{constructor(){super(),this[Co]=new o(5),this[Eo]=this.constructor.name,this[Uo]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[Eo]&&Object.setPrototypeOf(this,this[Uo])}updated(t){super.updated(t),setTimeout((()=>{this.contentAvailableCallback(t),this.scheduleExportpartsUpdate()}),0)}contentAvailableCallback(t){var o,e;if((null!==(e=null===(o=this.shadowRoot)||void 0===o?void 0:o.querySelectorAll(".ft-lit-element--custom-stylesheet"))&&void 0!==e?e:[]).forEach((t=>t.remove())),this.customStylesheet){const t=document.createElement("style");t.classList.add("ft-lit-element--custom-stylesheet"),t.innerHTML=this.customStylesheet,this.shadowRoot.append(t)}}scheduleExportpartsUpdate(){this[Io].run((()=>{var t;(null===(t=this.exportpartsPrefix)||void 0===t?void 0:t.trim())?this.setExportpartsAttribute([this.exportpartsPrefix]):null!=this.exportpartsPrefixes&&this.exportpartsPrefixes.length>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)}))}setExportpartsAttribute(t){var o,e,r,i,a,n;const s=t=>null!=t&&t.trim().length>0,c=t.filter(s).map((t=>t.trim()));if(0===c.length)return void this.removeAttribute("exportparts");const l=new Set;for(let t of null!==(e=null===(o=this.shadowRoot)||void 0===o?void 0:o.querySelectorAll("[part],[exportparts]"))&&void 0!==e?e:[]){const o=null!==(i=null===(r=t.getAttribute("part"))||void 0===r?void 0:r.split(" "))&&void 0!==i?i:[],e=null!==(n=null===(a=t.getAttribute("exportparts"))||void 0===a?void 0:a.split(",").map((t=>t.split(":")[1])))&&void 0!==n?n:[];new Array(...o,...e).filter(s).map((t=>t.trim())).forEach((t=>l.add(t)))}if(0===l.size)return void this.removeAttribute("exportparts");const p=[...l.values()].flatMap((t=>c.map((o=>`${t}:${o}--${t}`))));this.setAttribute("exportparts",[...this.part,...p].join(", "))}}Co=Io,Ro([C()],Wo.prototype,"exportpartsPrefix",void 0),Ro([function(t,o){const e=()=>JSON.parse(JSON.stringify(t));return C({type:Object,converter:{fromAttribute:t=>{if(null==t)return e();try{return JSON.parse(t)}catch{return e()}},toAttribute:t=>JSON.stringify(t)},hasChanged:(t,o)=>!U(t,o),...null!=o?o:{}})}([])],Wo.prototype,"exportpartsPrefixes",void 0),Ro([C()],Wo.prototype,"customStylesheet",void 0);const $o=bo.create("--ft-utils-highlight-html-background-color","","COLOR","#FFF26E");var Lo,ko;gt`
82
+ .highlight-html-match {
83
+ background: ${$o};
84
+ }
85
+ `,gt`
82
86
  .ft-no-text-select {
83
87
  -webkit-touch-callout: none;
84
88
  -webkit-user-select: none;
@@ -110,18 +114,18 @@ class yo extends $t{constructor(){super(...arguments),this.renderOptions={host:t
110
114
  display: inline-block;
111
115
  width: 0;
112
116
  }
113
- `,window.ftReduxStores||(window.ftReduxStores={}),navigator.vendor&&navigator.vendor.match(/apple/i)||(null===(Lo=null===($o=window.safari)||void 0===$o?void 0:$o.pushNotification)||void 0===Lo||Lo.toString());
117
+ `,window.ftReduxStores||(window.ftReduxStores={}),navigator.vendor&&navigator.vendor.match(/apple/i)||(null===(ko=null===(Lo=window.safari)||void 0===Lo?void 0:Lo.pushNotification)||void 0===ko||ko.toString());
114
118
  /**
115
119
  * @license
116
120
  * Copyright 2017 Google LLC
117
121
  * SPDX-License-Identifier: BSD-3-Clause
118
122
  */
119
- const ko=2;let Ko=class{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,o,e){this._$Ct=t,this._$AM=o,this._$Ci=e}_$AS(t,o){return this.update(t,o)}update(t,o){return this.render(...o)}},Zo=class extends Ko{constructor(t){if(super(t),this.et=V,t.type!==ko)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===V||null==t)return this.vt=void 0,this.et=t;if(t===J)return t;if("string"!=typeof t)throw Error(this.constructor.directiveName+"() called with a non-string value");if(t===this.et)return this.vt;this.et=t;const o=[t];return o.raw=o,this.vt={_$litType$:this.constructor.resultType,strings:o,values:[]}}};
123
+ const Ko=2;let Zo=class{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,o,e){this._$Ct=t,this._$AM=o,this._$Ci=e}_$AS(t,o){return this.update(t,o)}update(t,o){return this.render(...o)}},zo=class extends Zo{constructor(t){if(super(t),this.et=V,t.type!==Ko)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===V||null==t)return this.vt=void 0,this.et=t;if(t===J)return t;if("string"!=typeof t)throw Error(this.constructor.directiveName+"() called with a non-string value");if(t===this.et)return this.vt;this.et=t;const o=[t];return o.raw=o,this.vt={_$litType$:this.constructor.resultType,strings:o,values:[]}}};
120
124
  /**
121
125
  * @license
122
126
  * Copyright 2017 Google LLC
123
127
  * SPDX-License-Identifier: BSD-3-Clause
124
- */Zo.directiveName="unsafeHTML",Zo.resultType=1;const zo=(t=>(...o)=>({_$litDirective$:t,values:o}))(Zo);var Fo,Ao;!function(t){t.THUMBS_DOWN="&#xe94d;",t.THUMBS_DOWN_PLAIN="&#xe94e;",t.THUMBS_UP="&#xe94f;",t.THUMBS_UP_PLAIN="&#xe950;",t.STAR="&#xe94c;",t.STAR_PLAIN="&#xe900;",t.DESKTOP="&#xe95e;",t.LIFE_RING="&#xe975;",t.GLOBE="&#xe976;",t.PIGGY_BANK="&#xe977;",t.TABLET_LANDSCAPE="&#xe95f;",t.TABLET_PORTRAIT="&#xe960;",t.MOBILE_LANDSCAPE="&#xe961;",t.MOBILE_PORTRAIT="&#xe962;",t.ARROW_RIGHT_TO_LINE="&#xe95d;",t.THIN_ARROW_UP="&#xe95c;",t.CONTEXTUAL="&#xe95b;",t.CHART_SIMPLE="&#xe968;",t.BARS_PROGRESS="&#xe969;",t.LINE_CHART="&#xe96c;",t.STACKED_CHART="&#xe96d;",t.BOOK_OPEN_GEAR="&#xe96a;",t.BOOK_OPEN_GEAR_SLASH="&#xe96b;",t.DIAGRAM_SUNBURST="&#xe963;",t.DIAGRAM_SANKEY="&#xe964;",t.UNSTRUCTURED_DOC="&#xe95a;",t.RESET="&#xe958;",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.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.EXTLINK_LIGHT="&#xe978;",t.CALENDAR="&#xe815;",t.BOOK="&#xe817;",t.DOWNLOAD_PLAIN="&#xe818;",t.CHECK="&#xe819;",t.TOPICS="&#xe901;",t.EYE="&#xf06e;",t.EYE_SLASH="&#xe970;",t.DISC="&#xe902;",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="&#xe90f;",t.ANALYTICS="&#xe929;",t.ADMIN_KHUB="&#xe910;",t.ADMIN_USERS="&#xe912;",t.ADMIN_INTEGRATION="&#xe93c;",t.ADMIN_PORTAL="&#xe94b;",t.COMMENT_QUESTION="&#xe965;",t.COMMENT_QUESTION_PLAIN="&#xe966;",t.MESSAGE_BOT="&#xe967;",t.PIP="&#xe973;",t.PIP_WIDE="&#xe974;",t.EXPAND_WIDE="&#xe972;",t.X_MARK="&#xe971;"}(Fo||(Fo={})),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;"}(Ao||(Ao={})),new Map([...["abw"].map((t=>[t,Ao.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,Ao.AUDIO])),...["avi"].map((t=>[t,Ao.AVI])),...["chm","xhs"].map((t=>[t,Ao.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,Ao.CODE])),...["csv"].map((t=>[t,Ao.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,Ao.DITA])),...["epub"].map((t=>[t,Ao.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,Ao.EXCEL])),...["flac"].map((t=>[t,Ao.FLAC])),...["gif"].map((t=>[t,Ao.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,Ao.GZIP])),...["html","htm","xhtml"].map((t=>[t,Ao.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,Ao.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,Ao.JPEG])),...["json"].map((t=>[t,Ao.JSON])),...["m4a","m4p"].map((t=>[t,Ao.M4A])),...["mov","qt"].map((t=>[t,Ao.MOV])),...["mp3"].map((t=>[t,Ao.MP3])),...["mp4","m4v"].map((t=>[t,Ao.MP4])),...["ogg","oga"].map((t=>[t,Ao.OGG])),...["pdf","ps"].map((t=>[t,Ao.PDF])),...["png"].map((t=>[t,Ao.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,Ao.POWERPOINT])),...["rar"].map((t=>[t,Ao.RAR])),...["stp"].map((t=>[t,Ao.STP])),...["txt","rtf","md","mdown"].map((t=>[t,Ao.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,Ao.VIDEO])),...["wav"].map((t=>[t,Ao.WAV])),...["wma"].map((t=>[t,Ao.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,Ao.WORD])),...["xml","xsl","rdf"].map((t=>[t,Ao.XML])),...["yaml","yml","x-yaml"].map((t=>[t,Ao.YAML])),...["zip"].map((t=>[t,Ao.ZIP]))]);const Mo={size:bo.create("--ft-icon-font-size","","SIZE","24px"),fluidTopicsFontFamily:bo.extend("--ft-icon-fluid-topics-font-family","",bo.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),fileFormatFontFamily:bo.extend("--ft-icon-file-format-font-family","",bo.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),materialFontFamily:bo.extend("--ft-icon-material-font-family","",bo.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),verticalAlign:bo.create("--ft-icon-vertical-align","","UNKNOWN","unset")},Do=gt`
128
+ */zo.directiveName="unsafeHTML",zo.resultType=1;const Fo=(t=>(...o)=>({_$litDirective$:t,values:o}))(zo);var Ao,Mo;!function(t){t.THUMBS_DOWN="&#xe94d;",t.THUMBS_DOWN_PLAIN="&#xe94e;",t.THUMBS_UP="&#xe94f;",t.THUMBS_UP_PLAIN="&#xe950;",t.STAR="&#xe94c;",t.STAR_PLAIN="&#xe900;",t.DESKTOP="&#xe95e;",t.LIFE_RING="&#xe975;",t.GLOBE="&#xe976;",t.PIGGY_BANK="&#xe977;",t.TABLET_LANDSCAPE="&#xe95f;",t.TABLET_PORTRAIT="&#xe960;",t.MOBILE_LANDSCAPE="&#xe961;",t.MOBILE_PORTRAIT="&#xe962;",t.ARROW_RIGHT_TO_LINE="&#xe95d;",t.THIN_ARROW_UP="&#xe95c;",t.CONTEXTUAL="&#xe95b;",t.CHART_SIMPLE="&#xe968;",t.BARS_PROGRESS="&#xe969;",t.LINE_CHART="&#xe96c;",t.STACKED_CHART="&#xe96d;",t.BOOK_OPEN_GEAR="&#xe96a;",t.BOOK_OPEN_GEAR_SLASH="&#xe96b;",t.DIAGRAM_SUNBURST="&#xe963;",t.DIAGRAM_SANKEY="&#xe964;",t.UNSTRUCTURED_DOC="&#xe95a;",t.RESET="&#xe958;",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.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.EXTLINK_LIGHT="&#xe978;",t.CALENDAR="&#xe815;",t.BOOK="&#xe817;",t.DOWNLOAD_PLAIN="&#xe818;",t.CHECK="&#xe819;",t.TOPICS="&#xe901;",t.EYE="&#xf06e;",t.EYE_SLASH="&#xe970;",t.DISC="&#xe902;",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="&#xe90f;",t.ANALYTICS="&#xe929;",t.ADMIN_KHUB="&#xe910;",t.ADMIN_USERS="&#xe912;",t.ADMIN_INTEGRATION="&#xe93c;",t.ADMIN_PORTAL="&#xe94b;",t.COMMENT_QUESTION="&#xe965;",t.COMMENT_QUESTION_PLAIN="&#xe966;",t.MESSAGE_BOT="&#xe967;",t.PIP="&#xe973;",t.PIP_WIDE="&#xe974;",t.EXPAND_WIDE="&#xe972;",t.X_MARK="&#xe971;"}(Ao||(Ao={})),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;"}(Mo||(Mo={})),new Map([...["abw"].map((t=>[t,Mo.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,Mo.AUDIO])),...["avi"].map((t=>[t,Mo.AVI])),...["chm","xhs"].map((t=>[t,Mo.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,Mo.CODE])),...["csv"].map((t=>[t,Mo.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,Mo.DITA])),...["epub"].map((t=>[t,Mo.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,Mo.EXCEL])),...["flac"].map((t=>[t,Mo.FLAC])),...["gif"].map((t=>[t,Mo.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,Mo.GZIP])),...["html","htm","xhtml"].map((t=>[t,Mo.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,Mo.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,Mo.JPEG])),...["json"].map((t=>[t,Mo.JSON])),...["m4a","m4p"].map((t=>[t,Mo.M4A])),...["mov","qt"].map((t=>[t,Mo.MOV])),...["mp3"].map((t=>[t,Mo.MP3])),...["mp4","m4v"].map((t=>[t,Mo.MP4])),...["ogg","oga"].map((t=>[t,Mo.OGG])),...["pdf","ps"].map((t=>[t,Mo.PDF])),...["png"].map((t=>[t,Mo.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,Mo.POWERPOINT])),...["rar"].map((t=>[t,Mo.RAR])),...["stp"].map((t=>[t,Mo.STP])),...["txt","rtf","md","mdown"].map((t=>[t,Mo.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,Mo.VIDEO])),...["wav"].map((t=>[t,Mo.WAV])),...["wma"].map((t=>[t,Mo.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,Mo.WORD])),...["xml","xsl","rdf"].map((t=>[t,Mo.XML])),...["yaml","yml","x-yaml"].map((t=>[t,Mo.YAML])),...["zip"].map((t=>[t,Mo.ZIP]))]);const Do={size:bo.create("--ft-icon-font-size","","SIZE","24px"),fluidTopicsFontFamily:bo.extend("--ft-icon-fluid-topics-font-family","",bo.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),fileFormatFontFamily:bo.extend("--ft-icon-file-format-font-family","",bo.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),materialFontFamily:bo.extend("--ft-icon-material-font-family","",bo.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),verticalAlign:bo.create("--ft-icon-vertical-align","","UNKNOWN","unset")},Bo=gt`
125
129
  :host, i.ft-icon {
126
130
  display: inline-flex;
127
131
  align-items: center;
@@ -130,14 +134,14 @@ const ko=2;let Ko=class{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,
130
134
  }
131
135
 
132
136
  :host {
133
- width: ${Mo.size};
134
- height: ${Mo.size};
137
+ width: ${Do.size};
138
+ height: ${Do.size};
135
139
  }
136
140
 
137
141
  i.ft-icon {
138
142
  width: 100%;
139
143
  height: 100%;
140
- font-size: ${Mo.size};
144
+ font-size: ${Do.size};
141
145
  line-height: 1;
142
146
  font-weight: normal;
143
147
  text-transform: none;
@@ -148,134 +152,134 @@ const ko=2;let Ko=class{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,
148
152
  text-rendering: auto;
149
153
  -webkit-font-smoothing: antialiased;
150
154
  -moz-osx-font-smoothing: grayscale;
151
- vertical-align: ${Mo.verticalAlign};
155
+ vertical-align: ${Do.verticalAlign};
152
156
  }
153
157
 
154
158
  i.ft-icon.ft-icon--fluid-topics {
155
- font-family: ${Mo.fluidTopicsFontFamily}, ft-icons, fticons, sans-serif;
159
+ font-family: ${Do.fluidTopicsFontFamily}, ft-icons, fticons, sans-serif;
156
160
 
157
161
  /* Ugly fix because font is broken */
158
- font-size: calc(0.75 * ${Mo.size});
159
- line-height: ${Mo.size};
162
+ font-size: calc(0.75 * ${Do.size});
163
+ line-height: ${Do.size};
160
164
  position: relative;
161
165
  top: -4%;
162
166
  justify-content: center;
163
167
  }
164
168
 
165
169
  .ft-icon--file-format {
166
- font-family: ${Mo.fileFormatFontFamily}, ft-mime, sans-serif;
170
+ font-family: ${Do.fileFormatFontFamily}, ft-mime, sans-serif;
167
171
  }
168
172
 
169
173
  .ft-icon--material {
170
- font-family: ${Mo.materialFontFamily}, "Material Icons", sans-serif;
174
+ font-family: ${Do.materialFontFamily}, "Material Icons", sans-serif;
171
175
  }
172
- `;var Bo;!function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(Bo||(Bo={}));var Po=function(t,o,e,r){for(var i,a=arguments.length,n=a<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,s=t.length-1;s>=0;s--)(i=t[s])&&(n=(a<3?i(n):a>3?i(o,e,n):i(o,e))||n);return a>3&&n&&Object.defineProperty(o,e,n),n};class Ho extends Wo{constructor(){super(...arguments),this.resolvedIcon=Qt}render(){const t=this.variant&&Object.values(Bo).includes(this.variant)?this.variant:Bo.fluid_topics,o=t!==Bo.material||!!this.value;return qt`
176
+ `;var Po;!function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(Po||(Po={}));var Ho=function(t,o,e,r){for(var i,a=arguments.length,n=a<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,s=t.length-1;s>=0;s--)(i=t[s])&&(n=(a<3?i(n):a>3?i(o,e,n):i(o,e))||n);return a>3&&n&&Object.defineProperty(o,e,n),n};class _o extends Wo{constructor(){super(...arguments),this.resolvedIcon=Qt}render(){const t=this.variant&&Object.values(Po).includes(this.variant)?this.variant:Po.fluid_topics,o=t!==Po.material||!!this.value;return qt`
173
177
  <i class="ft-icon ft-icon--${t}" part="icon icon-${t}">
174
- ${zo(this.resolvedIcon)}
178
+ ${Fo(this.resolvedIcon)}
175
179
  <slot ?hidden=${o}></slot>
176
180
  </i>
177
- `}get textContent(){var t,o;return null!==(o=null===(t=this.slottedContent)||void 0===t?void 0:t.assignedNodes().map((t=>t.textContent)).join("").trim())&&void 0!==o?o:""}update(t){super.update(t),["value","variant"].some((o=>t.has(o)))&&this.resolveIcon()}resolveIcon(){var t,o;let e=this.value||this.textContent;switch(this.variant){case Bo.file_format:this.resolvedIcon=null!==(t=Ao[e.replace("-","_").toUpperCase()])&&void 0!==t?t:e;break;case Bo.material:this.resolvedIcon=this.value||Qt;break;default:this.resolvedIcon=null!==(o=Fo[e.replace("-","_").toUpperCase()])&&void 0!==o?o:e}}firstUpdated(t){super.firstUpdated(t),setTimeout((()=>this.resolveIcon()))}}Ho.elementDefinitions={},Ho.styles=Do,Po([C()],Ho.prototype,"variant",void 0),Po([C()],Ho.prototype,"value",void 0),Po([function(t){return C({...t,state:!0,attribute:!1})}()],Ho.prototype,"resolvedIcon",void 0),Po([function(t,o){return(e,r,i)=>{const a=o=>o.renderRoot?.querySelector(t)??null;if(o){const{get:t,set:o}="object"==typeof r?e:i??(()=>{const t=Symbol();return{get(){return this[t]},set(o){this[t]=o}}})();return R(0,0,{get(){let e=t.call(this);return void 0===e&&(e=a(this),(null!==e||this.hasUpdated)&&o.call(this,e)),e}})}return R(0,0,{get(){return a(this)}})}}("slot")],Ho.prototype,"slottedContent",void 0),E("ft-icon")(Ho);
181
+ `}get textContent(){var t,o;return null!==(o=null===(t=this.slottedContent)||void 0===t?void 0:t.assignedNodes().map((t=>t.textContent)).join("").trim())&&void 0!==o?o:""}update(t){super.update(t),["value","variant"].some((o=>t.has(o)))&&this.resolveIcon()}resolveIcon(){var t,o;let e=this.value||this.textContent;switch(this.variant){case Po.file_format:this.resolvedIcon=null!==(t=Mo[e.replace("-","_").toUpperCase()])&&void 0!==t?t:e;break;case Po.material:this.resolvedIcon=this.value||Qt;break;default:this.resolvedIcon=null!==(o=Ao[e.replace("-","_").toUpperCase()])&&void 0!==o?o:e}}firstUpdated(t){super.firstUpdated(t),setTimeout((()=>this.resolveIcon()))}}_o.elementDefinitions={},_o.styles=Bo,Ho([C()],_o.prototype,"variant",void 0),Ho([C()],_o.prototype,"value",void 0),Ho([function(t){return C({...t,state:!0,attribute:!1})}()],_o.prototype,"resolvedIcon",void 0),Ho([function(t,o){return(e,r,i)=>{const a=o=>o.renderRoot?.querySelector(t)??null;if(o){const{get:t,set:o}="object"==typeof r?e:i??(()=>{const t=Symbol();return{get(){return this[t]},set(o){this[t]=o}}})();return R(0,0,{get(){let e=t.call(this);return void 0===e&&(e=a(this),(null!==e||this.hasUpdated)&&o.call(this,e)),e}})}return R(0,0,{get(){return a(this)}})}}("slot")],_o.prototype,"slottedContent",void 0),E("ft-icon")(_o);
178
182
  /**
179
183
  * @license
180
184
  * Copyright 2020 Google LLC
181
185
  * SPDX-License-Identifier: BSD-3-Clause
182
186
  */
183
- const _o=Symbol.for(""),jo=t=>{if(t?.r===_o)return t?._$litStatic$},To=t=>({_$litStatic$:t,r:_o}),Go=new Map,Yo=(t=>(o,...e)=>{const r=e.length;let i,a;const n=[],s=[];let c,l=0,p=!1;for(;l<r;){for(c=o[l];l<r&&void 0!==(a=e[l],i=jo(a));)c+=i+o[++l],p=!0;l!==r&&s.push(a),n.push(c),l++}if(l===r&&n.push(o[r]),p){const t=n.join("$$lit$$");void 0===(o=Go.get(t))&&(n.raw=n,Go.set(t,o=n)),e=s}return t(o,...e)})(Y);var Jo;!function(t){t.title="title",t.title_dense="title-dense",t.subtitle1="subtitle1",t.subtitle2="subtitle2",t.body1="body1",t.body2="body2",t.caption="caption",t.breadcrumb="breadcrumb",t.overline="overline",t.button="button",t.display="display",t.title1="title-1",t.title2="title-2",t.title3="title-3",t.body1regular="body-1-regular",t.body1medium="body-1-medium",t.body1semibold="body-1-semibold",t.body2regular="body-2-regular",t.body2medium="body-2-medium",t.body2semibold="body-2-semibold",t.label1medium="label-1-medium",t.label1semibold="label-1-semibold",t.label1bold="label-1-bold",t.label2medium="label-2-medium",t.label2semibold="label-2-semibold",t.label2bold="label-2-bold",t.caption1medium="caption-1-medium",t.caption1semibold="caption-1-semibold",t.caption1bold="caption-1-bold",t.caption2medium="caption-2-medium",t.caption2semibold="caption-2-semibold",t.caption2bold="caption-2-bold"}(Jo||(Jo={}));const Vo=bo.extend("--ft-typography-font-family","",No.titleFont),qo=bo.extend("--ft-typography-font-family","",No.contentFont),Xo={fontFamily:qo,fontSize:bo.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:bo.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:bo.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:bo.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:bo.create("--ft-typography-text-transform","","UNKNOWN","inherit")},Qo=bo.extend("--ft-typography-title-font-family","",Vo),te=bo.extend("--ft-typography-title-font-size","",Xo.fontSize,"20px"),oe=bo.extend("--ft-typography-title-font-weight","",Xo.fontWeight,"normal"),ee=bo.extend("--ft-typography-title-letter-spacing","",Xo.letterSpacing,"0.15px"),re=bo.extend("--ft-typography-title-line-height","",Xo.lineHeight,"1.2"),ie=bo.extend("--ft-typography-title-text-transform","",Xo.textTransform,"inherit"),ae=bo.extend("--ft-typography-title-dense-font-family","",Vo),ne=bo.extend("--ft-typography-title-dense-font-size","",Xo.fontSize,"14px"),se=bo.extend("--ft-typography-title-dense-font-weight","",Xo.fontWeight,"normal"),ce=bo.extend("--ft-typography-title-dense-letter-spacing","",Xo.letterSpacing,"0.105px"),le=bo.extend("--ft-typography-title-dense-line-height","",Xo.lineHeight,"1.7"),pe=bo.extend("--ft-typography-title-dense-text-transform","",Xo.textTransform,"inherit"),fe=bo.extend("--ft-typography-subtitle1-font-family","",qo),he=bo.extend("--ft-typography-subtitle1-font-size","",Xo.fontSize,"16px"),de=bo.extend("--ft-typography-subtitle1-font-weight","",Xo.fontWeight,"600"),ye=bo.extend("--ft-typography-subtitle1-letter-spacing","",Xo.letterSpacing,"0.144px"),ge=bo.extend("--ft-typography-subtitle1-line-height","",Xo.lineHeight,"1.5"),ue=bo.extend("--ft-typography-subtitle1-text-transform","",Xo.textTransform,"inherit"),be=bo.extend("--ft-typography-subtitle2-font-family","",qo),me=bo.extend("--ft-typography-subtitle2-font-size","",Xo.fontSize,"14px"),Oe=bo.extend("--ft-typography-subtitle2-font-weight","",Xo.fontWeight,"normal"),xe=bo.extend("--ft-typography-subtitle2-letter-spacing","",Xo.letterSpacing,"0.098px"),Ne=bo.extend("--ft-typography-subtitle2-line-height","",Xo.lineHeight,"1.7"),Se=bo.extend("--ft-typography-subtitle2-text-transform","",Xo.textTransform,"inherit"),ve=bo.extend("--ft-typography-body1-font-family","",qo),we=bo.extend("--ft-typography-body1-font-size","",Xo.fontSize,"16px"),Ce=bo.extend("--ft-typography-body1-font-weight","",Xo.fontWeight,"normal"),Re=bo.extend("--ft-typography-body1-letter-spacing","",Xo.letterSpacing,"0.496px"),Ue=bo.extend("--ft-typography-body1-line-height","",Xo.lineHeight,"1.5"),Ee=bo.extend("--ft-typography-body1-text-transform","",Xo.textTransform,"inherit"),Ie=bo.extend("--ft-typography-body2-font-family","",qo),We=bo.extend("--ft-typography-body2-font-size","",Xo.fontSize,"14px"),$e=bo.extend("--ft-typography-body2-font-weight","",Xo.fontWeight,"normal"),Le=bo.extend("--ft-typography-body2-letter-spacing","",Xo.letterSpacing,"0.252px"),ke=bo.extend("--ft-typography-body2-line-height","",Xo.lineHeight,"1.4"),Ke=bo.extend("--ft-typography-body2-text-transform","",Xo.textTransform,"inherit"),Ze=bo.extend("--ft-typography-caption-font-family","",qo),ze=bo.extend("--ft-typography-caption-font-size","",Xo.fontSize,"12px"),Fe=bo.extend("--ft-typography-caption-font-weight","",Xo.fontWeight,"normal"),Ae=bo.extend("--ft-typography-caption-letter-spacing","",Xo.letterSpacing,"0.396px"),Me=bo.extend("--ft-typography-caption-line-height","",Xo.lineHeight,"1.33"),De=bo.extend("--ft-typography-caption-text-transform","",Xo.textTransform,"inherit"),Be=bo.extend("--ft-typography-breadcrumb-font-family","",qo),Pe=bo.extend("--ft-typography-breadcrumb-font-size","",Xo.fontSize,"10px"),He=bo.extend("--ft-typography-breadcrumb-font-weight","",Xo.fontWeight,"normal"),_e=bo.extend("--ft-typography-breadcrumb-letter-spacing","",Xo.letterSpacing,"0.33px"),je=bo.extend("--ft-typography-breadcrumb-line-height","",Xo.lineHeight,"1.6"),Te=bo.extend("--ft-typography-breadcrumb-text-transform","",Xo.textTransform,"inherit"),Ge=bo.extend("--ft-typography-overline-font-family","",qo),Ye=bo.extend("--ft-typography-overline-font-size","",Xo.fontSize,"10px"),Je=bo.extend("--ft-typography-overline-font-weight","",Xo.fontWeight,"normal"),Ve=bo.extend("--ft-typography-overline-letter-spacing","",Xo.letterSpacing,"1.5px"),qe=bo.extend("--ft-typography-overline-line-height","",Xo.lineHeight,"1.6"),Xe=bo.extend("--ft-typography-overline-text-transform","",Xo.textTransform,"uppercase"),Qe=bo.extend("--ft-typography-button-font-family","",qo),tr=bo.extend("--ft-typography-button-font-size","",Xo.fontSize,"14px"),or=bo.extend("--ft-typography-button-font-weight","",Xo.fontWeight,"600"),er=bo.extend("--ft-typography-button-letter-spacing","",Xo.letterSpacing,"1.246px"),rr=bo.extend("--ft-typography-button-line-height","",Xo.lineHeight,"1.15"),ir=bo.extend("--ft-typography-button-text-transform","",Xo.textTransform,"uppercase"),ar=gt`
187
+ const jo=Symbol.for(""),To=t=>{if(t?.r===jo)return t?._$litStatic$},Go=t=>({_$litStatic$:t,r:jo}),Yo=new Map,Jo=(t=>(o,...e)=>{const r=e.length;let i,a;const n=[],s=[];let c,l=0,p=!1;for(;l<r;){for(c=o[l];l<r&&void 0!==(a=e[l],i=To(a));)c+=i+o[++l],p=!0;l!==r&&s.push(a),n.push(c),l++}if(l===r&&n.push(o[r]),p){const t=n.join("$$lit$$");void 0===(o=Yo.get(t))&&(n.raw=n,Yo.set(t,o=n)),e=s}return t(o,...e)})(Y);var Vo;!function(t){t.title="title",t.title_dense="title-dense",t.subtitle1="subtitle1",t.subtitle2="subtitle2",t.body1="body1",t.body2="body2",t.caption="caption",t.breadcrumb="breadcrumb",t.overline="overline",t.button="button",t.display="display",t.title1="title-1",t.title2="title-2",t.title3="title-3",t.body1regular="body-1-regular",t.body1medium="body-1-medium",t.body1semibold="body-1-semibold",t.body2regular="body-2-regular",t.body2medium="body-2-medium",t.body2semibold="body-2-semibold",t.label1medium="label-1-medium",t.label1semibold="label-1-semibold",t.label1bold="label-1-bold",t.label2medium="label-2-medium",t.label2semibold="label-2-semibold",t.label2bold="label-2-bold",t.caption1medium="caption-1-medium",t.caption1semibold="caption-1-semibold",t.caption1bold="caption-1-bold",t.caption2medium="caption-2-medium",t.caption2semibold="caption-2-semibold",t.caption2bold="caption-2-bold"}(Vo||(Vo={}));const qo=bo.extend("--ft-typography-font-family","",No.titleFont),Xo=bo.extend("--ft-typography-font-family","",No.contentFont),Qo={fontFamily:Xo,fontSize:bo.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:bo.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:bo.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:bo.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:bo.create("--ft-typography-text-transform","","UNKNOWN","inherit")},te=bo.extend("--ft-typography-title-font-family","",qo),oe=bo.extend("--ft-typography-title-font-size","",Qo.fontSize,"20px"),ee=bo.extend("--ft-typography-title-font-weight","",Qo.fontWeight,"normal"),re=bo.extend("--ft-typography-title-letter-spacing","",Qo.letterSpacing,"0.15px"),ie=bo.extend("--ft-typography-title-line-height","",Qo.lineHeight,"1.2"),ae=bo.extend("--ft-typography-title-text-transform","",Qo.textTransform,"inherit"),ne=bo.extend("--ft-typography-title-dense-font-family","",qo),se=bo.extend("--ft-typography-title-dense-font-size","",Qo.fontSize,"14px"),ce=bo.extend("--ft-typography-title-dense-font-weight","",Qo.fontWeight,"normal"),le=bo.extend("--ft-typography-title-dense-letter-spacing","",Qo.letterSpacing,"0.105px"),pe=bo.extend("--ft-typography-title-dense-line-height","",Qo.lineHeight,"1.7"),fe=bo.extend("--ft-typography-title-dense-text-transform","",Qo.textTransform,"inherit"),he=bo.extend("--ft-typography-subtitle1-font-family","",Xo),de=bo.extend("--ft-typography-subtitle1-font-size","",Qo.fontSize,"16px"),ye=bo.extend("--ft-typography-subtitle1-font-weight","",Qo.fontWeight,"600"),ge=bo.extend("--ft-typography-subtitle1-letter-spacing","",Qo.letterSpacing,"0.144px"),ue=bo.extend("--ft-typography-subtitle1-line-height","",Qo.lineHeight,"1.5"),be=bo.extend("--ft-typography-subtitle1-text-transform","",Qo.textTransform,"inherit"),me=bo.extend("--ft-typography-subtitle2-font-family","",Xo),Oe=bo.extend("--ft-typography-subtitle2-font-size","",Qo.fontSize,"14px"),xe=bo.extend("--ft-typography-subtitle2-font-weight","",Qo.fontWeight,"normal"),Ne=bo.extend("--ft-typography-subtitle2-letter-spacing","",Qo.letterSpacing,"0.098px"),Se=bo.extend("--ft-typography-subtitle2-line-height","",Qo.lineHeight,"1.7"),ve=bo.extend("--ft-typography-subtitle2-text-transform","",Qo.textTransform,"inherit"),we=bo.extend("--ft-typography-body1-font-family","",Xo),Ce=bo.extend("--ft-typography-body1-font-size","",Qo.fontSize,"16px"),Re=bo.extend("--ft-typography-body1-font-weight","",Qo.fontWeight,"normal"),Ue=bo.extend("--ft-typography-body1-letter-spacing","",Qo.letterSpacing,"0.496px"),Ee=bo.extend("--ft-typography-body1-line-height","",Qo.lineHeight,"1.5"),Ie=bo.extend("--ft-typography-body1-text-transform","",Qo.textTransform,"inherit"),We=bo.extend("--ft-typography-body2-font-family","",Xo),$e=bo.extend("--ft-typography-body2-font-size","",Qo.fontSize,"14px"),Le=bo.extend("--ft-typography-body2-font-weight","",Qo.fontWeight,"normal"),ke=bo.extend("--ft-typography-body2-letter-spacing","",Qo.letterSpacing,"0.252px"),Ke=bo.extend("--ft-typography-body2-line-height","",Qo.lineHeight,"1.4"),Ze=bo.extend("--ft-typography-body2-text-transform","",Qo.textTransform,"inherit"),ze=bo.extend("--ft-typography-caption-font-family","",Xo),Fe=bo.extend("--ft-typography-caption-font-size","",Qo.fontSize,"12px"),Ae=bo.extend("--ft-typography-caption-font-weight","",Qo.fontWeight,"normal"),Me=bo.extend("--ft-typography-caption-letter-spacing","",Qo.letterSpacing,"0.396px"),De=bo.extend("--ft-typography-caption-line-height","",Qo.lineHeight,"1.33"),Be=bo.extend("--ft-typography-caption-text-transform","",Qo.textTransform,"inherit"),Pe=bo.extend("--ft-typography-breadcrumb-font-family","",Xo),He=bo.extend("--ft-typography-breadcrumb-font-size","",Qo.fontSize,"10px"),_e=bo.extend("--ft-typography-breadcrumb-font-weight","",Qo.fontWeight,"normal"),je=bo.extend("--ft-typography-breadcrumb-letter-spacing","",Qo.letterSpacing,"0.33px"),Te=bo.extend("--ft-typography-breadcrumb-line-height","",Qo.lineHeight,"1.6"),Ge=bo.extend("--ft-typography-breadcrumb-text-transform","",Qo.textTransform,"inherit"),Ye=bo.extend("--ft-typography-overline-font-family","",Xo),Je=bo.extend("--ft-typography-overline-font-size","",Qo.fontSize,"10px"),Ve=bo.extend("--ft-typography-overline-font-weight","",Qo.fontWeight,"normal"),qe=bo.extend("--ft-typography-overline-letter-spacing","",Qo.letterSpacing,"1.5px"),Xe=bo.extend("--ft-typography-overline-line-height","",Qo.lineHeight,"1.6"),Qe=bo.extend("--ft-typography-overline-text-transform","",Qo.textTransform,"uppercase"),tr=bo.extend("--ft-typography-button-font-family","",Xo),or=bo.extend("--ft-typography-button-font-size","",Qo.fontSize,"14px"),er=bo.extend("--ft-typography-button-font-weight","",Qo.fontWeight,"600"),rr=bo.extend("--ft-typography-button-letter-spacing","",Qo.letterSpacing,"1.246px"),ir=bo.extend("--ft-typography-button-line-height","",Qo.lineHeight,"1.15"),ar=bo.extend("--ft-typography-button-text-transform","",Qo.textTransform,"uppercase"),nr=gt`
184
188
  .ft-typography--title {
185
- font-family: ${Qo};
186
- font-size: ${te};
187
- font-weight: ${oe};
188
- letter-spacing: ${ee};
189
- line-height: ${re};
190
- text-transform: ${ie};
189
+ font-family: ${te};
190
+ font-size: ${oe};
191
+ font-weight: ${ee};
192
+ letter-spacing: ${re};
193
+ line-height: ${ie};
194
+ text-transform: ${ae};
191
195
  }
192
- `,nr=gt`
196
+ `,sr=gt`
193
197
  .ft-typography--title-dense {
194
- font-family: ${ae};
195
- font-size: ${ne};
196
- font-weight: ${se};
197
- letter-spacing: ${ce};
198
- line-height: ${le};
199
- text-transform: ${pe};
198
+ font-family: ${ne};
199
+ font-size: ${se};
200
+ font-weight: ${ce};
201
+ letter-spacing: ${le};
202
+ line-height: ${pe};
203
+ text-transform: ${fe};
200
204
  }
201
- `,sr=gt`
205
+ `,cr=gt`
202
206
  .ft-typography--subtitle1 {
203
- font-family: ${fe};
204
- font-size: ${he};
205
- font-weight: ${de};
206
- letter-spacing: ${ye};
207
- line-height: ${ge};
208
- text-transform: ${ue};
207
+ font-family: ${he};
208
+ font-size: ${de};
209
+ font-weight: ${ye};
210
+ letter-spacing: ${ge};
211
+ line-height: ${ue};
212
+ text-transform: ${be};
209
213
  }
210
- `,cr=gt`
214
+ `,lr=gt`
211
215
  .ft-typography--subtitle2 {
212
- font-family: ${be};
213
- font-size: ${me};
214
- font-weight: ${Oe};
215
- letter-spacing: ${xe};
216
- line-height: ${Ne};
217
- text-transform: ${Se};
216
+ font-family: ${me};
217
+ font-size: ${Oe};
218
+ font-weight: ${xe};
219
+ letter-spacing: ${Ne};
220
+ line-height: ${Se};
221
+ text-transform: ${ve};
218
222
  }
219
223
 
220
- `,lr=gt`
224
+ `,pr=gt`
221
225
  .ft-typography--body1 {
222
- font-family: ${ve};
223
- font-size: ${we};
224
- font-weight: ${Ce};
225
- letter-spacing: ${Re};
226
- line-height: ${Ue};
227
- text-transform: ${Ee};
226
+ font-family: ${we};
227
+ font-size: ${Ce};
228
+ font-weight: ${Re};
229
+ letter-spacing: ${Ue};
230
+ line-height: ${Ee};
231
+ text-transform: ${Ie};
228
232
  }
229
- `,pr=gt`
233
+ `,fr=gt`
230
234
  .ft-typography--body2 {
231
- font-family: ${Ie};
232
- font-size: ${We};
233
- font-weight: ${$e};
234
- letter-spacing: ${Le};
235
- line-height: ${ke};
236
- text-transform: ${Ke};
235
+ font-family: ${We};
236
+ font-size: ${$e};
237
+ font-weight: ${Le};
238
+ letter-spacing: ${ke};
239
+ line-height: ${Ke};
240
+ text-transform: ${Ze};
237
241
  }
238
- `,fr=gt`
242
+ `,hr=gt`
239
243
  .ft-typography--caption {
240
- font-family: ${Ze};
241
- font-size: ${ze};
242
- font-weight: ${Fe};
243
- letter-spacing: ${Ae};
244
- line-height: ${Me};
245
- text-transform: ${De};
244
+ font-family: ${ze};
245
+ font-size: ${Fe};
246
+ font-weight: ${Ae};
247
+ letter-spacing: ${Me};
248
+ line-height: ${De};
249
+ text-transform: ${Be};
246
250
  }
247
- `,hr=gt`
251
+ `,dr=gt`
248
252
  .ft-typography--breadcrumb {
249
- font-family: ${Be};
250
- font-size: ${Pe};
251
- font-weight: ${He};
252
- letter-spacing: ${_e};
253
- line-height: ${je};
254
- text-transform: ${Te};
253
+ font-family: ${Pe};
254
+ font-size: ${He};
255
+ font-weight: ${_e};
256
+ letter-spacing: ${je};
257
+ line-height: ${Te};
258
+ text-transform: ${Ge};
255
259
  }
256
- `,dr=gt`
260
+ `,yr=gt`
257
261
  .ft-typography--overline {
258
- font-family: ${Ge};
259
- font-size: ${Ye};
260
- font-weight: ${Je};
261
- letter-spacing: ${Ve};
262
- line-height: ${qe};
263
- text-transform: ${Xe};
262
+ font-family: ${Ye};
263
+ font-size: ${Je};
264
+ font-weight: ${Ve};
265
+ letter-spacing: ${qe};
266
+ line-height: ${Xe};
267
+ text-transform: ${Qe};
264
268
  }
265
- `,yr=gt`
269
+ `,gr=gt`
266
270
  .ft-typography--button {
267
- font-family: ${Qe};
268
- font-size: ${tr};
269
- font-weight: ${or};
270
- letter-spacing: ${er};
271
- line-height: ${rr};
272
- text-transform: ${ir};
271
+ font-family: ${tr};
272
+ font-size: ${or};
273
+ font-weight: ${er};
274
+ letter-spacing: ${rr};
275
+ line-height: ${ir};
276
+ text-transform: ${ar};
273
277
  }
274
- `,gr=gt`
278
+ `,ur=gt`
275
279
  .ft-typography {
276
280
  vertical-align: inherit;
277
281
  }
278
- `,ur=[Object.keys(Oo).map((t=>function(t){const o=Oo[t];return gt`
282
+ `,br=[Object.keys(Oo).map((t=>function(t){const o=Oo[t];return gt`
279
283
  .ft-typography--${yt(t)} {
280
284
  font-family: ${o.fontFamily};
281
285
  font-size: ${o.fontSize};
@@ -284,14 +288,14 @@ const _o=Symbol.for(""),jo=t=>{if(t?.r===_o)return t?._$litStatic$},To=t=>({_$li
284
288
  line-height: ${o.lineHeight};
285
289
  text-transform: ${o.textCase};
286
290
  }
287
- `}(t)))];var br=function(t,o,e,r){for(var i,a=arguments.length,n=a<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,s=t.length-1;s>=0;s--)(i=t[s])&&(n=(a<3?i(n):a>3?i(o,e,n):i(o,e))||n);return a>3&&n&&Object.defineProperty(o,e,n),n};class mr extends Wo{constructor(){super(...arguments),this.variant=Jo.body1}render(){return this.element?Yo`
288
- <${To(this.element)}
291
+ `}(t)))];var mr=function(t,o,e,r){for(var i,a=arguments.length,n=a<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,s=t.length-1;s>=0;s--)(i=t[s])&&(n=(a<3?i(n):a>3?i(o,e,n):i(o,e))||n);return a>3&&n&&Object.defineProperty(o,e,n),n};class Or extends Wo{constructor(){super(...arguments),this.variant=Vo.body1}render(){return this.element?Jo`
292
+ <${Go(this.element)}
289
293
  class="ft-typography ft-typography--${this.variant}">
290
294
  <slot></slot>
291
- </${To(this.element)}>
292
- `:Yo`
295
+ </${Go(this.element)}>
296
+ `:Jo`
293
297
  <slot class="ft-typography ft-typography--${this.variant}"></slot>
294
- `}}mr.styles=[ar,nr,sr,cr,lr,pr,fr,hr,dr,yr,gr,...ur],br([C()],mr.prototype,"element",void 0),br([C()],mr.prototype,"variant",void 0),E("ft-typography")(mr);const Or={noticeColor:bo.extend("--ft-notice-color","",No.colorPrimary),noticeIconColor:bo.extend("--ft-notice-icon-color","",No.colorOnPrimary),borderRadius:bo.external(No.borderRadiusS,"Design System")},xr=gt`
298
+ `}}Or.styles=[nr,sr,cr,lr,pr,fr,hr,dr,yr,gr,ur,...br],mr([C()],Or.prototype,"element",void 0),mr([C()],Or.prototype,"variant",void 0),E("ft-typography")(Or);const xr={noticeColor:bo.extend("--ft-notice-color","",No.colorPrimary),noticeIconColor:bo.extend("--ft-notice-icon-color","",No.colorOnPrimary),borderRadius:bo.external(No.borderRadiusS,"Design System")},Nr=gt`
295
299
  .ft-notice {
296
300
  display: inline-flex;
297
301
  align-items: stretch;
@@ -299,28 +303,28 @@ const _o=Symbol.for(""),jo=t=>{if(t?.r===_o)return t?._$litStatic$},To=t=>({_$li
299
303
  }
300
304
 
301
305
  ft-icon {
302
- ${Nr=Mo.size,Sr="24px",uo(`${Nr.name}: ${Sr}`)};
306
+ ${Sr=Do.size,vr="24px",uo(`${Sr.name}: ${vr}`)};
303
307
  padding: 0 8px;
304
308
  display: flex;
305
309
  align-self: center;
306
310
  }
307
311
 
308
312
  .ft-icon {
309
- color: ${Or.noticeIconColor};
310
- background-color: ${Or.noticeColor};
313
+ color: ${xr.noticeIconColor};
314
+ background-color: ${xr.noticeColor};
311
315
  display: flex;
312
316
  align-items: center;
313
- border-top-left-radius: ${Or.borderRadius};
314
- border-bottom-left-radius: ${Or.borderRadius};
317
+ border-top-left-radius: ${xr.borderRadius};
318
+ border-bottom-left-radius: ${xr.borderRadius};
315
319
  }
316
320
 
317
321
  .ft-notice-label {
318
322
  padding: 8px;
319
- border-top-right-radius: ${Or.borderRadius};
320
- border-bottom-right-radius: ${Or.borderRadius};
321
- border: 1px solid ${Or.noticeColor};
323
+ border-top-right-radius: ${xr.borderRadius};
324
+ border-bottom-right-radius: ${xr.borderRadius};
325
+ border: 1px solid ${xr.noticeColor};
322
326
  }
323
- `;var Nr,Sr,vr=function(t,o,e,r){for(var i,a=arguments.length,n=a<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,s=t.length-1;s>=0;s--)(i=t[s])&&(n=(a<3?i(n):a>3?i(o,e,n):i(o,e))||n);return a>3&&n&&Object.defineProperty(o,e,n),n};class wr extends Wo{constructor(){super(...arguments),this.icon="info"}render(){return qt`
327
+ `;var Sr,vr,wr=function(t,o,e,r){for(var i,a=arguments.length,n=a<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,s=t.length-1;s>=0;s--)(i=t[s])&&(n=(a<3?i(n):a>3?i(o,e,n):i(o,e))||n);return a>3&&n&&Object.defineProperty(o,e,n),n};class Cr extends Wo{constructor(){super(...arguments),this.icon="info"}render(){return qt`
324
328
  <div class="ft-notice">
325
329
  <div class="ft-icon">
326
330
  <ft-icon>${this.icon}</ft-icon>
@@ -329,4 +333,4 @@ const _o=Symbol.for(""),jo=t=>{if(t?.r===_o)return t?._$litStatic$},To=t=>({_$li
329
333
  <slot></slot>
330
334
  </ft-typography>
331
335
  </div>
332
- `}}wr.elementDefinitions={"ft-icon":Ho,"ft-typography":mr},wr.styles=xr,vr([C({type:String})],wr.prototype,"icon",void 0),E("ft-notice")(wr),t.FtNotice=wr,t.FtNoticeCssVariables=Or,t.styles=xr}({});
336
+ `}}Cr.elementDefinitions={"ft-icon":_o,"ft-typography":Or},Cr.styles=Nr,wr([C({type:String})],Cr.prototype,"icon",void 0),E("ft-notice")(Cr),t.FtNotice=Cr,t.FtNoticeCssVariables=xr,t.styles=Nr}({});
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluid-topics/ft-notice",
3
- "version": "1.1.0",
3
+ "version": "1.1.2",
4
4
  "description": "Notice to display different messages",
5
5
  "keywords": [
6
6
  "Lit"
@@ -19,10 +19,10 @@
19
19
  "url": "ssh://git@scm.mrs.antidot.net:2222/fluidtopics/ft-web-components.git"
20
20
  },
21
21
  "dependencies": {
22
- "@fluid-topics/ft-icon": "1.1.0",
23
- "@fluid-topics/ft-typography": "1.1.0",
24
- "@fluid-topics/ft-wc-utils": "1.1.0",
22
+ "@fluid-topics/ft-icon": "1.1.2",
23
+ "@fluid-topics/ft-typography": "1.1.2",
24
+ "@fluid-topics/ft-wc-utils": "1.1.2",
25
25
  "lit": "3.1.0"
26
26
  },
27
- "gitHead": "3f2a051fc84a0e27b942f311efee39954f6d2883"
27
+ "gitHead": "53ce99f657872582bca43cbb7ad691b239b22823"
28
28
  }