@fluid-topics/ft-tabs 0.3.19 → 0.3.20

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.
@@ -111,127 +111,127 @@
111
111
  <div class="ft-ripple--background"></div>
112
112
  <div class="ft-ripple--effect"></div>
113
113
  </div>
114
- `}contentAvailableCallback(t){super.contentAvailableCallback(t),this.ripple&&this.resizeObserver.observe(this.ripple),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}updated(t){var e,i;super.updated(t),t.has("disabled")&&(this.disabled?(this.endRipple(),null===(e=this.target)||void 0===e||e.removeAttribute("data-is-ft-ripple-target")):null===(i=this.target)||void 0===i||i.setAttribute("data-is-ft-ripple-target","true")),t.has("unbounded")&&this.setRippleSize()}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}setRippleSize(){if(this.ripple){const t=this.ripple.getBoundingClientRect();this.rippleSize=(this.unbounded?1:1.7)*Math.max(t.width,t.height)}}connectedCallback(){var t;super.connectedCallback();const e=null===(t=this.shadowRoot)||void 0===t?void 0:t.host.parentElement;e&&this.setupFor(e),this.setRippleSize()}setupFor(t){if(this.target===t)return;this.onDisconnect&&this.onDisconnect(),this.target=t,t.setAttribute("data-is-ft-ripple-target","true");const e=(...t)=>e=>{t.forEach((t=>window.addEventListener(t,this.endPress,{once:!0}))),this.startPress(e)},i=e("mouseup","contextmenu"),s=e("touchend","touchcancel"),o=t=>{["Enter"," "].includes(t.key)&&e("keyup")(t)};t.addEventListener("mouseover",this.startHover),t.addEventListener("mousemove",this.moveRipple),t.addEventListener("mouseleave",this.endHover),t.addEventListener("mousedown",i),t.addEventListener("touchstart",s),t.addEventListener("touchmove",this.moveRipple),t.addEventListener("keydown",o),t.addEventListener("focus",this.startFocus),t.addEventListener("blur",this.endFocus),t.addEventListener("focusin",this.startFocus),t.addEventListener("focusout",this.endFocus),this.onDisconnect=()=>{t.removeAttribute("data-is-ft-ripple-target"),t.removeEventListener("mouseover",this.startHover),t.removeEventListener("mousemove",this.moveRipple),t.removeEventListener("mouseleave",this.endHover),t.removeEventListener("mousedown",i),t.removeEventListener("touchstart",s),t.removeEventListener("touchmove",this.moveRipple),t.removeEventListener("keydown",o),t.removeEventListener("focus",this.startFocus),t.removeEventListener("blur",this.endFocus),t.removeEventListener("focusin",this.startFocus),t.removeEventListener("focusout",this.endFocus),this.onDisconnect=void 0}}getCoordinates(t){const e=t,i=t;let s,o;return null!=e.x?({x:s,y:o}=e):null!=i.touches&&(s=i.touches[0].clientX,o=i.touches[0].clientY),{x:s,y:o}}isIgnored(t){if(this.disabled)return!0;if(null!=t)for(let e of t.composedPath()){if(e===this.target)break;if("hasAttribute"in e&&e.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.resizeObserver.disconnect(),this.endRipple()}}N.elementDefinitions={},N.styles=k,j([s.property({type:Boolean})],N.prototype,"primary",void 0),j([s.property({type:Boolean})],N.prototype,"secondary",void 0),j([s.property({type:Boolean})],N.prototype,"unbounded",void 0),j([s.property({type:Boolean})],N.prototype,"activated",void 0),j([s.property({type:Boolean})],N.prototype,"selected",void 0),j([s.property({type:Boolean})],N.prototype,"disabled",void 0),j([s.state()],N.prototype,"hovered",void 0),j([s.state()],N.prototype,"focused",void 0),j([s.state()],N.prototype,"pressed",void 0),j([s.state()],N.prototype,"rippling",void 0),j([s.state()],N.prototype,"rippleSize",void 0),j([s.state()],N.prototype,"originX",void 0),j([s.state()],N.prototype,"originY",void 0),j([s.query(".ft-ripple")],N.prototype,"ripple",void 0),j([s.query(".ft-ripple--effect")],N.prototype,"rippleEffect",void 0),e.customElement("ft-ripple")(N);const O=globalThis.trustedTypes,S=O?O.createPolicy("lit-html",{createHTML:t=>t}):void 0,A=`lit$${(Math.random()+"").slice(9)}$`,I="?"+A,_=`<${I}>`,M=document,T=(t="")=>M.createComment(t),C=t=>null===t||"object"!=typeof t&&"function"!=typeof t,B=Array.isArray,E=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,U=/-->/g,D=/>/g,R=RegExp(">|[ \t\n\f\r](?:([^\\s\"'>=/]+)([ \t\n\f\r]*=[ \t\n\f\r]*(?:[^ \t\n\f\r\"'`<>=]|(\"|')|))|$)","g"),W=/'/g,G=/"/g,K=/^(?:script|style|textarea|title)$/i,Z=(t=>(e,...i)=>({_$litType$:t,strings:e,values:i}))(1),P=Symbol.for("lit-noChange"),q=Symbol.for("lit-nothing"),F=new WeakMap,H=M.createTreeWalker(M,129,null,!1),L=(t,e)=>{const i=t.length-1,s=[];let o,r=2===e?"<svg>":"",n=E;for(let e=0;e<i;e++){const i=t[e];let a,l,p=-1,h=0;for(;h<i.length&&(n.lastIndex=h,l=n.exec(i),null!==l);)h=n.lastIndex,n===E?"!--"===l[1]?n=U:void 0!==l[1]?n=D:void 0!==l[2]?(K.test(l[2])&&(o=RegExp("</"+l[2],"g")),n=R):void 0!==l[3]&&(n=R):n===R?">"===l[0]?(n=null!=o?o:E,p=-1):void 0===l[1]?p=-2:(p=n.lastIndex-l[2].length,a=l[1],n=void 0===l[3]?R:'"'===l[3]?G:W):n===G||n===W?n=R:n===U||n===D?n=E:(n=R,o=void 0);const f=n===R&&t[e+1].startsWith("/>")?" ":"";r+=n===E?i+_:p>=0?(s.push(a),i.slice(0,p)+"$lit$"+i.slice(p)+A+f):i+A+(-2===p?(s.push(void 0),e):f)}const a=r+(t[i]||"<?>")+(2===e?"</svg>":"");if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return[void 0!==S?S.createHTML(a):a,s]};class V{constructor({strings:t,_$litType$:e},i){let s;this.parts=[];let o=0,r=0;const n=t.length-1,a=this.parts,[l,p]=L(t,e);if(this.el=V.createElement(l,i),H.currentNode=this.el.content,2===e){const t=this.el.content,e=t.firstChild;e.remove(),t.append(...e.childNodes)}for(;null!==(s=H.nextNode())&&a.length<n;){if(1===s.nodeType){if(s.hasAttributes()){const t=[];for(const e of s.getAttributeNames())if(e.endsWith("$lit$")||e.startsWith(A)){const i=p[r++];if(t.push(e),void 0!==i){const t=s.getAttribute(i.toLowerCase()+"$lit$").split(A),e=/([.?@])?(.*)/.exec(i);a.push({type:1,index:o,name:e[2],strings:t,ctor:"."===e[1]?tt:"?"===e[1]?it:"@"===e[1]?st:Q})}else a.push({type:6,index:o})}for(const e of t)s.removeAttribute(e)}if(K.test(s.tagName)){const t=s.textContent.split(A),e=t.length-1;if(e>0){s.textContent=O?O.emptyScript:"";for(let i=0;i<e;i++)s.append(t[i],T()),H.nextNode(),a.push({type:2,index:++o});s.append(t[e],T())}}}else if(8===s.nodeType)if(s.data===I)a.push({type:2,index:o});else{let t=-1;for(;-1!==(t=s.data.indexOf(A,t+1));)a.push({type:7,index:o}),t+=A.length-1}o++}}static createElement(t,e){const i=M.createElement("template");return i.innerHTML=t,i}}function X(t,e,i=t,s){var o,r,n,a;if(e===P)return e;let l=void 0!==s?null===(o=i._$Cl)||void 0===o?void 0:o[s]:i._$Cu;const p=C(e)?void 0:e._$litDirective$;return(null==l?void 0:l.constructor)!==p&&(null===(r=null==l?void 0:l._$AO)||void 0===r||r.call(l,!1),void 0===p?l=void 0:(l=new p(t),l._$AT(t,i,s)),void 0!==s?(null!==(n=(a=i)._$Cl)&&void 0!==n?n:a._$Cl=[])[s]=l:i._$Cu=l),void 0!==l&&(e=X(t,l._$AS(t,e.values),l,s)),e}class Y{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:M).importNode(i,!0);H.currentNode=o;let r=H.nextNode(),n=0,a=0,l=s[0];for(;void 0!==l;){if(n===l.index){let e;2===l.type?e=new J(r,r.nextSibling,this,t):1===l.type?e=new l.ctor(r,l.name,l.strings,this,t):6===l.type&&(e=new ot(r,this,t)),this.v.push(e),l=s[++a]}n!==(null==l?void 0:l.index)&&(r=H.nextNode(),n++)}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 J{constructor(t,e,i,s){var o;this.type=2,this._$AH=q,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=i,this.options=s,this._$C_=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._$C_}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=X(this,t,e),C(t)?t===q||null==t||""===t?(this._$AH!==q&&this._$AR(),this._$AH=q):t!==this._$AH&&t!==P&&this.T(t):void 0!==t._$litType$?this.$(t):void 0!==t.nodeType?this.k(t):(t=>B(t)||"function"==typeof(null==t?void 0:t[Symbol.iterator]))(t)?this.S(t):this.T(t)}j(t,e=this._$AB){return this._$AA.parentNode.insertBefore(t,e)}k(t){this._$AH!==t&&(this._$AR(),this._$AH=this.j(t))}T(t){this._$AH!==q&&C(this._$AH)?this._$AA.nextSibling.data=t:this.k(M.createTextNode(t)),this._$AH=t}$(t){var e;const{values:i,_$litType$:s}=t,o="number"==typeof s?this._$AC(t):(void 0===s.el&&(s.el=V.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 Y(o,this),e=t.p(this.options);t.m(i),this.k(e),this._$AH=t}}_$AC(t){let e=F.get(t.strings);return void 0===e&&F.set(t.strings,e=new V(t)),e}S(t){B(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 J(this.j(T()),this.j(T()),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._$C_=t,null===(e=this._$AP)||void 0===e||e.call(this,t))}}class Q{constructor(t,e,i,s,o){this.type=1,this._$AH=q,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=q}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,e=this,i,s){const o=this.strings;let r=!1;if(void 0===o)t=X(this,t,e,0),r=!C(t)||t!==this._$AH&&t!==P,r&&(this._$AH=t);else{const s=t;let n,a;for(t=o[0],n=0;n<o.length-1;n++)a=X(this,s[i+n],e,n),a===P&&(a=this._$AH[n]),r||(r=!C(a)||a!==this._$AH[n]),a===q?t=q:t!==q&&(t+=(null!=a?a:"")+o[n+1]),this._$AH[n]=a}r&&!s&&this.P(t)}P(t){t===q?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}}class tt extends Q{constructor(){super(...arguments),this.type=3}P(t){this.element[this.name]=t===q?void 0:t}}const et=O?O.emptyScript:"";class it extends Q{constructor(){super(...arguments),this.type=4}P(t){t&&t!==q?this.element.setAttribute(this.name,et):this.element.removeAttribute(this.name)}}class st extends Q{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=X(this,t,e,0))&&void 0!==i?i:q)===P)return;const s=this._$AH,o=t===q&&s!==q||t.capture!==s.capture||t.once!==s.once||t.passive!==s.passive,r=t!==q&&(s===q||o);o&&this.element.removeEventListener(this.name,this,s),r&&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 ot{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){X(this,t)}}const rt=window.litHtmlPolyfillSupport;null==rt||rt(V,J),(null!==(z=globalThis.litHtmlVersions)&&void 0!==z?z:globalThis.litHtmlVersions=[]).push("2.2.7");
114
+ `}contentAvailableCallback(t){super.contentAvailableCallback(t),this.ripple&&this.resizeObserver.observe(this.ripple),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}updated(t){var e,i;super.updated(t),t.has("disabled")&&(this.disabled?(this.endRipple(),null===(e=this.target)||void 0===e||e.removeAttribute("data-is-ft-ripple-target")):null===(i=this.target)||void 0===i||i.setAttribute("data-is-ft-ripple-target","true")),t.has("unbounded")&&this.setRippleSize()}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}setRippleSize(){if(this.ripple){const t=this.ripple.getBoundingClientRect();this.rippleSize=(this.unbounded?1:1.7)*Math.max(t.width,t.height)}}connectedCallback(){var t;super.connectedCallback();const e=null===(t=this.shadowRoot)||void 0===t?void 0:t.host.parentElement;e&&this.setupFor(e),this.setRippleSize()}setupFor(t){if(this.target===t)return;this.onDisconnect&&this.onDisconnect(),this.target=t,t.setAttribute("data-is-ft-ripple-target","true");const e=(...t)=>e=>{t.forEach((t=>window.addEventListener(t,this.endPress,{once:!0}))),this.startPress(e)},i=e("mouseup","contextmenu"),s=e("touchend","touchcancel"),o=t=>{["Enter"," "].includes(t.key)&&e("keyup")(t)};t.addEventListener("mouseover",this.startHover),t.addEventListener("mousemove",this.moveRipple),t.addEventListener("mouseleave",this.endHover),t.addEventListener("mousedown",i),t.addEventListener("touchstart",s),t.addEventListener("touchmove",this.moveRipple),t.addEventListener("keydown",o),t.addEventListener("focus",this.startFocus),t.addEventListener("blur",this.endFocus),t.addEventListener("focusin",this.startFocus),t.addEventListener("focusout",this.endFocus),this.onDisconnect=()=>{t.removeAttribute("data-is-ft-ripple-target"),t.removeEventListener("mouseover",this.startHover),t.removeEventListener("mousemove",this.moveRipple),t.removeEventListener("mouseleave",this.endHover),t.removeEventListener("mousedown",i),t.removeEventListener("touchstart",s),t.removeEventListener("touchmove",this.moveRipple),t.removeEventListener("keydown",o),t.removeEventListener("focus",this.startFocus),t.removeEventListener("blur",this.endFocus),t.removeEventListener("focusin",this.startFocus),t.removeEventListener("focusout",this.endFocus),this.onDisconnect=void 0}}getCoordinates(t){const e=t,i=t;let s,o;return null!=e.x?({x:s,y:o}=e):null!=i.touches&&(s=i.touches[0].clientX,o=i.touches[0].clientY),{x:s,y:o}}isIgnored(t){if(this.disabled)return!0;if(null!=t)for(let e of t.composedPath()){if(e===this.target)break;if("hasAttribute"in e&&e.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.resizeObserver.disconnect(),this.endRipple()}}N.elementDefinitions={},N.styles=k,j([s.property({type:Boolean})],N.prototype,"primary",void 0),j([s.property({type:Boolean})],N.prototype,"secondary",void 0),j([s.property({type:Boolean})],N.prototype,"unbounded",void 0),j([s.property({type:Boolean})],N.prototype,"activated",void 0),j([s.property({type:Boolean})],N.prototype,"selected",void 0),j([s.property({type:Boolean})],N.prototype,"disabled",void 0),j([s.state()],N.prototype,"hovered",void 0),j([s.state()],N.prototype,"focused",void 0),j([s.state()],N.prototype,"pressed",void 0),j([s.state()],N.prototype,"rippling",void 0),j([s.state()],N.prototype,"rippleSize",void 0),j([s.state()],N.prototype,"originX",void 0),j([s.state()],N.prototype,"originY",void 0),j([s.query(".ft-ripple")],N.prototype,"ripple",void 0),j([s.query(".ft-ripple--effect")],N.prototype,"rippleEffect",void 0),e.customElement("ft-ripple")(N);const O=window,S=O.trustedTypes,A=S?S.createPolicy("lit-html",{createHTML:t=>t}):void 0,I=`lit$${(Math.random()+"").slice(9)}$`,_="?"+I,M=`<${_}>`,C=document,B=(t="")=>C.createComment(t),E=t=>null===t||"object"!=typeof t&&"function"!=typeof t,T=Array.isArray,U=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,D=/-->/g,R=/>/g,W=RegExp(">|[ \t\n\f\r](?:([^\\s\"'>=/]+)([ \t\n\f\r]*=[ \t\n\f\r]*(?:[^ \t\n\f\r\"'`<>=]|(\"|')|))|$)","g"),G=/'/g,K=/"/g,Z=/^(?:script|style|textarea|title)$/i,q=(t=>(e,...i)=>({_$litType$:t,strings:e,values:i}))(1),F=Symbol.for("lit-noChange"),H=Symbol.for("lit-nothing"),L=new WeakMap,P=C.createTreeWalker(C,129,null,!1),V=(t,e)=>{const i=t.length-1,s=[];let o,r=2===e?"<svg>":"",n=U;for(let e=0;e<i;e++){const i=t[e];let a,l,p=-1,h=0;for(;h<i.length&&(n.lastIndex=h,l=n.exec(i),null!==l);)h=n.lastIndex,n===U?"!--"===l[1]?n=D:void 0!==l[1]?n=R:void 0!==l[2]?(Z.test(l[2])&&(o=RegExp("</"+l[2],"g")),n=W):void 0!==l[3]&&(n=W):n===W?">"===l[0]?(n=null!=o?o:U,p=-1):void 0===l[1]?p=-2:(p=n.lastIndex-l[2].length,a=l[1],n=void 0===l[3]?W:'"'===l[3]?K:G):n===K||n===G?n=W:n===D||n===R?n=U:(n=W,o=void 0);const f=n===W&&t[e+1].startsWith("/>")?" ":"";r+=n===U?i+M:p>=0?(s.push(a),i.slice(0,p)+"$lit$"+i.slice(p)+I+f):i+I+(-2===p?(s.push(void 0),e):f)}const a=r+(t[i]||"<?>")+(2===e?"</svg>":"");if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return[void 0!==A?A.createHTML(a):a,s]};class X{constructor({strings:t,_$litType$:e},i){let s;this.parts=[];let o=0,r=0;const n=t.length-1,a=this.parts,[l,p]=V(t,e);if(this.el=X.createElement(l,i),P.currentNode=this.el.content,2===e){const t=this.el.content,e=t.firstChild;e.remove(),t.append(...e.childNodes)}for(;null!==(s=P.nextNode())&&a.length<n;){if(1===s.nodeType){if(s.hasAttributes()){const t=[];for(const e of s.getAttributeNames())if(e.endsWith("$lit$")||e.startsWith(I)){const i=p[r++];if(t.push(e),void 0!==i){const t=s.getAttribute(i.toLowerCase()+"$lit$").split(I),e=/([.?@])?(.*)/.exec(i);a.push({type:1,index:o,name:e[2],strings:t,ctor:"."===e[1]?et:"?"===e[1]?st:"@"===e[1]?ot:tt})}else a.push({type:6,index:o})}for(const e of t)s.removeAttribute(e)}if(Z.test(s.tagName)){const t=s.textContent.split(I),e=t.length-1;if(e>0){s.textContent=S?S.emptyScript:"";for(let i=0;i<e;i++)s.append(t[i],B()),P.nextNode(),a.push({type:2,index:++o});s.append(t[e],B())}}}else if(8===s.nodeType)if(s.data===_)a.push({type:2,index:o});else{let t=-1;for(;-1!==(t=s.data.indexOf(I,t+1));)a.push({type:7,index:o}),t+=I.length-1}o++}}static createElement(t,e){const i=C.createElement("template");return i.innerHTML=t,i}}function Y(t,e,i=t,s){var o,r,n,a;if(e===F)return e;let l=void 0!==s?null===(o=i._$Co)||void 0===o?void 0:o[s]:i._$Cl;const p=E(e)?void 0:e._$litDirective$;return(null==l?void 0:l.constructor)!==p&&(null===(r=null==l?void 0:l._$AO)||void 0===r||r.call(l,!1),void 0===p?l=void 0:(l=new p(t),l._$AT(t,i,s)),void 0!==s?(null!==(n=(a=i)._$Co)&&void 0!==n?n:a._$Co=[])[s]=l:i._$Cl=l),void 0!==l&&(e=Y(t,l._$AS(t,e.values),l,s)),e}class J{constructor(t,e){this.u=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}v(t){var e;const{el:{content:i},parts:s}=this._$AD,o=(null!==(e=null==t?void 0:t.creationScope)&&void 0!==e?e:C).importNode(i,!0);P.currentNode=o;let r=P.nextNode(),n=0,a=0,l=s[0];for(;void 0!==l;){if(n===l.index){let e;2===l.type?e=new Q(r,r.nextSibling,this,t):1===l.type?e=new l.ctor(r,l.name,l.strings,this,t):6===l.type&&(e=new rt(r,this,t)),this.u.push(e),l=s[++a]}n!==(null==l?void 0:l.index)&&(r=P.nextNode(),n++)}return o}p(t){let e=0;for(const i of this.u)void 0!==i&&(void 0!==i.strings?(i._$AI(t,i,e),e+=i.strings.length-2):i._$AI(t[e])),e++}}class Q{constructor(t,e,i,s){var o;this.type=2,this._$AH=H,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=i,this.options=s,this._$Cm=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._$Cm}get parentNode(){let t=this._$AA.parentNode;const e=this._$AM;return void 0!==e&&11===t.nodeType&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=Y(this,t,e),E(t)?t===H||null==t||""===t?(this._$AH!==H&&this._$AR(),this._$AH=H):t!==this._$AH&&t!==F&&this.g(t):void 0!==t._$litType$?this.$(t):void 0!==t.nodeType?this.T(t):(t=>T(t)||"function"==typeof(null==t?void 0:t[Symbol.iterator]))(t)?this.k(t):this.g(t)}O(t,e=this._$AB){return this._$AA.parentNode.insertBefore(t,e)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.O(t))}g(t){this._$AH!==H&&E(this._$AH)?this._$AA.nextSibling.data=t:this.T(C.createTextNode(t)),this._$AH=t}$(t){var e;const{values:i,_$litType$:s}=t,o="number"==typeof s?this._$AC(t):(void 0===s.el&&(s.el=X.createElement(s.h,this.options)),s);if((null===(e=this._$AH)||void 0===e?void 0:e._$AD)===o)this._$AH.p(i);else{const t=new J(o,this),e=t.v(this.options);t.p(i),this.T(e),this._$AH=t}}_$AC(t){let e=L.get(t.strings);return void 0===e&&L.set(t.strings,e=new X(t)),e}k(t){T(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 Q(this.O(B()),this.O(B()),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._$Cm=t,null===(e=this._$AP)||void 0===e||e.call(this,t))}}class tt{constructor(t,e,i,s,o){this.type=1,this._$AH=H,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=H}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,e=this,i,s){const o=this.strings;let r=!1;if(void 0===o)t=Y(this,t,e,0),r=!E(t)||t!==this._$AH&&t!==F,r&&(this._$AH=t);else{const s=t;let n,a;for(t=o[0],n=0;n<o.length-1;n++)a=Y(this,s[i+n],e,n),a===F&&(a=this._$AH[n]),r||(r=!E(a)||a!==this._$AH[n]),a===H?t=H:t!==H&&(t+=(null!=a?a:"")+o[n+1]),this._$AH[n]=a}r&&!s&&this.j(t)}j(t){t===H?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}}class et extends tt{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===H?void 0:t}}const it=S?S.emptyScript:"";class st extends tt{constructor(){super(...arguments),this.type=4}j(t){t&&t!==H?this.element.setAttribute(this.name,it):this.element.removeAttribute(this.name)}}class ot extends tt{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=Y(this,t,e,0))&&void 0!==i?i:H)===F)return;const s=this._$AH,o=t===H&&s!==H||t.capture!==s.capture||t.once!==s.once||t.passive!==s.passive,r=t!==H&&(s===H||o);o&&this.element.removeEventListener(this.name,this,s),r&&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 rt{constructor(t,e,i){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=i}get _$AU(){return this._$AM._$AU}_$AI(t){Y(this,t)}}const nt=O.litHtmlPolyfillSupport;null==nt||nt(X,Q),(null!==(z=O.litHtmlVersions)&&void 0!==z?z:O.litHtmlVersions=[]).push("2.4.0");
115
115
  /**
116
116
  * @license
117
117
  * Copyright 2020 Google LLC
118
118
  * SPDX-License-Identifier: BSD-3-Clause
119
119
  */
120
- const nt=Symbol.for(""),at=t=>{if((null==t?void 0:t.r)===nt)return null==t?void 0:t._$litStatic$},lt=t=>({_$litStatic$:t,r:nt}),pt=new Map,ht=(t=>(e,...i)=>{const s=i.length;let o,r;const n=[],a=[];let l,p=0,h=!1;for(;p<s;){for(l=e[p];p<s&&void 0!==(r=i[p],o=at(r));)l+=o+e[++p],h=!0;a.push(r),n.push(l),p++}if(p===s&&n.push(e[s]),h){const t=n.join("$$lit$$");void 0===(e=pt.get(t))&&(n.raw=n,pt.set(t,e=n)),i=a}return t(e,...i)})(Z);var ft;!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"}(ft||(ft={}));const ct=e.FtCssVariableFactory.extend("--ft-typography-font-family",e.designSystemVariables.titleFont),dt=e.FtCssVariableFactory.extend("--ft-typography-font-family",e.designSystemVariables.contentFont),yt={fontFamily:dt,fontSize:e.FtCssVariableFactory.create("--ft-typography-font-size","SIZE","16px"),fontWeight:e.FtCssVariableFactory.create("--ft-typography-font-weight","UNKNOWN","normal"),letterSpacing:e.FtCssVariableFactory.create("--ft-typography-letter-spacing","SIZE","0.496px"),lineHeight:e.FtCssVariableFactory.create("--ft-typography-line-height","NUMBER","1.5"),textTransform:e.FtCssVariableFactory.create("--ft-typography-text-transform","UNKNOWN","inherit")},ut=e.FtCssVariableFactory.extend("--ft-typography-title-font-family",ct),xt=e.FtCssVariableFactory.extend("--ft-typography-title-font-size",yt.fontSize,"20px"),gt=e.FtCssVariableFactory.extend("--ft-typography-title-font-weight",yt.fontWeight,"normal"),vt=e.FtCssVariableFactory.extend("--ft-typography-title-letter-spacing",yt.letterSpacing,"0.15px"),bt=e.FtCssVariableFactory.extend("--ft-typography-title-line-height",yt.lineHeight,"1.2"),mt=e.FtCssVariableFactory.extend("--ft-typography-title-text-transform",yt.textTransform,"inherit"),$t=e.FtCssVariableFactory.extend("--ft-typography-title-dense-font-family",ct),wt=e.FtCssVariableFactory.extend("--ft-typography-title-dense-font-size",yt.fontSize,"14px"),kt=e.FtCssVariableFactory.extend("--ft-typography-title-dense-font-weight",yt.fontWeight,"normal"),zt=e.FtCssVariableFactory.extend("--ft-typography-title-dense-letter-spacing",yt.letterSpacing,"0.105px"),jt=e.FtCssVariableFactory.extend("--ft-typography-title-dense-line-height",yt.lineHeight,"1.7"),Nt=e.FtCssVariableFactory.extend("--ft-typography-title-dense-text-transform",yt.textTransform,"inherit"),Ot=e.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-family",dt),St=e.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-size",yt.fontSize,"16px"),At=e.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-weight",yt.fontWeight,"600"),It=e.FtCssVariableFactory.extend("--ft-typography-subtitle1-letter-spacing",yt.letterSpacing,"0.144px"),_t=e.FtCssVariableFactory.extend("--ft-typography-subtitle1-line-height",yt.lineHeight,"1.5"),Mt=e.FtCssVariableFactory.extend("--ft-typography-subtitle1-text-transform",yt.textTransform,"inherit"),Tt=e.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-family",dt),Ct=e.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-size",yt.fontSize,"14px"),Bt=e.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-weight",yt.fontWeight,"normal"),Et=e.FtCssVariableFactory.extend("--ft-typography-subtitle2-letter-spacing",yt.letterSpacing,"0.098px"),Ut=e.FtCssVariableFactory.extend("--ft-typography-subtitle2-line-height",yt.lineHeight,"1.7"),Dt=e.FtCssVariableFactory.extend("--ft-typography-subtitle2-text-transform",yt.textTransform,"inherit"),Rt=e.FtCssVariableFactory.extend("--ft-typography-body1-font-family",dt),Wt=e.FtCssVariableFactory.extend("--ft-typography-body1-font-size",yt.fontSize,"16px"),Gt=e.FtCssVariableFactory.extend("--ft-typography-body1-font-weight",yt.fontWeight,"normal"),Kt=e.FtCssVariableFactory.extend("--ft-typography-body1-letter-spacing",yt.letterSpacing,"0.496px"),Zt=e.FtCssVariableFactory.extend("--ft-typography-body1-line-height",yt.lineHeight,"1.5"),Pt=e.FtCssVariableFactory.extend("--ft-typography-body1-text-transform",yt.textTransform,"inherit"),qt=e.FtCssVariableFactory.extend("--ft-typography-body2-font-family",dt),Ft=e.FtCssVariableFactory.extend("--ft-typography-body2-font-size",yt.fontSize,"14px"),Ht=e.FtCssVariableFactory.extend("--ft-typography-body2-font-weight",yt.fontWeight,"normal"),Lt=e.FtCssVariableFactory.extend("--ft-typography-body2-letter-spacing",yt.letterSpacing,"0.252px"),Vt=e.FtCssVariableFactory.extend("--ft-typography-body2-line-height",yt.lineHeight,"1.4"),Xt=e.FtCssVariableFactory.extend("--ft-typography-body2-text-transform",yt.textTransform,"inherit"),Yt=e.FtCssVariableFactory.extend("--ft-typography-caption-font-family",dt),Jt=e.FtCssVariableFactory.extend("--ft-typography-caption-font-size",yt.fontSize,"12px"),Qt=e.FtCssVariableFactory.extend("--ft-typography-caption-font-weight",yt.fontWeight,"normal"),te=e.FtCssVariableFactory.extend("--ft-typography-caption-letter-spacing",yt.letterSpacing,"0.396px"),ee=e.FtCssVariableFactory.extend("--ft-typography-caption-line-height",yt.lineHeight,"1.33"),ie=e.FtCssVariableFactory.extend("--ft-typography-caption-text-transform",yt.textTransform,"inherit"),se=e.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-family",dt),oe=e.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-size",yt.fontSize,"10px"),re=e.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-weight",yt.fontWeight,"normal"),ne=e.FtCssVariableFactory.extend("--ft-typography-breadcrumb-letter-spacing",yt.letterSpacing,"0.33px"),ae=e.FtCssVariableFactory.extend("--ft-typography-breadcrumb-line-height",yt.lineHeight,"1.6"),le=e.FtCssVariableFactory.extend("--ft-typography-breadcrumb-text-transform",yt.textTransform,"inherit"),pe=e.FtCssVariableFactory.extend("--ft-typography-overline-font-family",dt),he=e.FtCssVariableFactory.extend("--ft-typography-overline-font-size",yt.fontSize,"10px"),fe=e.FtCssVariableFactory.extend("--ft-typography-overline-font-weight",yt.fontWeight,"normal"),ce=e.FtCssVariableFactory.extend("--ft-typography-overline-letter-spacing",yt.letterSpacing,"1.5px"),de=e.FtCssVariableFactory.extend("--ft-typography-overline-line-height",yt.lineHeight,"1.6"),ye=e.FtCssVariableFactory.extend("--ft-typography-overline-text-transform",yt.textTransform,"uppercase"),ue=e.FtCssVariableFactory.extend("--ft-typography-button-font-family",dt),xe=e.FtCssVariableFactory.extend("--ft-typography-button-font-size",yt.fontSize,"14px"),ge=e.FtCssVariableFactory.extend("--ft-typography-button-font-weight",yt.fontWeight,"600"),ve=e.FtCssVariableFactory.extend("--ft-typography-button-letter-spacing",yt.letterSpacing,"1.246px"),be=e.FtCssVariableFactory.extend("--ft-typography-button-line-height",yt.lineHeight,"1.15"),me=e.FtCssVariableFactory.extend("--ft-typography-button-text-transform",yt.textTransform,"uppercase"),$e=i.css`
120
+ const at=Symbol.for(""),lt=t=>{if((null==t?void 0:t.r)===at)return null==t?void 0:t._$litStatic$},pt=t=>({_$litStatic$:t,r:at}),ht=new Map,ft=(t=>(e,...i)=>{const s=i.length;let o,r;const n=[],a=[];let l,p=0,h=!1;for(;p<s;){for(l=e[p];p<s&&void 0!==(r=i[p],o=lt(r));)l+=o+e[++p],h=!0;a.push(r),n.push(l),p++}if(p===s&&n.push(e[s]),h){const t=n.join("$$lit$$");void 0===(e=ht.get(t))&&(n.raw=n,ht.set(t,e=n)),i=a}return t(e,...i)})(q);var ct;!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"}(ct||(ct={}));const dt=e.FtCssVariableFactory.extend("--ft-typography-font-family",e.designSystemVariables.titleFont),yt=e.FtCssVariableFactory.extend("--ft-typography-font-family",e.designSystemVariables.contentFont),ut={fontFamily:yt,fontSize:e.FtCssVariableFactory.create("--ft-typography-font-size","SIZE","16px"),fontWeight:e.FtCssVariableFactory.create("--ft-typography-font-weight","UNKNOWN","normal"),letterSpacing:e.FtCssVariableFactory.create("--ft-typography-letter-spacing","SIZE","0.496px"),lineHeight:e.FtCssVariableFactory.create("--ft-typography-line-height","NUMBER","1.5"),textTransform:e.FtCssVariableFactory.create("--ft-typography-text-transform","UNKNOWN","inherit")},xt=e.FtCssVariableFactory.extend("--ft-typography-title-font-family",dt),gt=e.FtCssVariableFactory.extend("--ft-typography-title-font-size",ut.fontSize,"20px"),vt=e.FtCssVariableFactory.extend("--ft-typography-title-font-weight",ut.fontWeight,"normal"),bt=e.FtCssVariableFactory.extend("--ft-typography-title-letter-spacing",ut.letterSpacing,"0.15px"),mt=e.FtCssVariableFactory.extend("--ft-typography-title-line-height",ut.lineHeight,"1.2"),$t=e.FtCssVariableFactory.extend("--ft-typography-title-text-transform",ut.textTransform,"inherit"),wt=e.FtCssVariableFactory.extend("--ft-typography-title-dense-font-family",dt),kt=e.FtCssVariableFactory.extend("--ft-typography-title-dense-font-size",ut.fontSize,"14px"),zt=e.FtCssVariableFactory.extend("--ft-typography-title-dense-font-weight",ut.fontWeight,"normal"),jt=e.FtCssVariableFactory.extend("--ft-typography-title-dense-letter-spacing",ut.letterSpacing,"0.105px"),Nt=e.FtCssVariableFactory.extend("--ft-typography-title-dense-line-height",ut.lineHeight,"1.7"),Ot=e.FtCssVariableFactory.extend("--ft-typography-title-dense-text-transform",ut.textTransform,"inherit"),St=e.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-family",yt),At=e.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-size",ut.fontSize,"16px"),It=e.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-weight",ut.fontWeight,"600"),_t=e.FtCssVariableFactory.extend("--ft-typography-subtitle1-letter-spacing",ut.letterSpacing,"0.144px"),Mt=e.FtCssVariableFactory.extend("--ft-typography-subtitle1-line-height",ut.lineHeight,"1.5"),Ct=e.FtCssVariableFactory.extend("--ft-typography-subtitle1-text-transform",ut.textTransform,"inherit"),Bt=e.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-family",yt),Et=e.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-size",ut.fontSize,"14px"),Tt=e.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-weight",ut.fontWeight,"normal"),Ut=e.FtCssVariableFactory.extend("--ft-typography-subtitle2-letter-spacing",ut.letterSpacing,"0.098px"),Dt=e.FtCssVariableFactory.extend("--ft-typography-subtitle2-line-height",ut.lineHeight,"1.7"),Rt=e.FtCssVariableFactory.extend("--ft-typography-subtitle2-text-transform",ut.textTransform,"inherit"),Wt=e.FtCssVariableFactory.extend("--ft-typography-body1-font-family",yt),Gt=e.FtCssVariableFactory.extend("--ft-typography-body1-font-size",ut.fontSize,"16px"),Kt=e.FtCssVariableFactory.extend("--ft-typography-body1-font-weight",ut.fontWeight,"normal"),Zt=e.FtCssVariableFactory.extend("--ft-typography-body1-letter-spacing",ut.letterSpacing,"0.496px"),qt=e.FtCssVariableFactory.extend("--ft-typography-body1-line-height",ut.lineHeight,"1.5"),Ft=e.FtCssVariableFactory.extend("--ft-typography-body1-text-transform",ut.textTransform,"inherit"),Ht=e.FtCssVariableFactory.extend("--ft-typography-body2-font-family",yt),Lt=e.FtCssVariableFactory.extend("--ft-typography-body2-font-size",ut.fontSize,"14px"),Pt=e.FtCssVariableFactory.extend("--ft-typography-body2-font-weight",ut.fontWeight,"normal"),Vt=e.FtCssVariableFactory.extend("--ft-typography-body2-letter-spacing",ut.letterSpacing,"0.252px"),Xt=e.FtCssVariableFactory.extend("--ft-typography-body2-line-height",ut.lineHeight,"1.4"),Yt=e.FtCssVariableFactory.extend("--ft-typography-body2-text-transform",ut.textTransform,"inherit"),Jt=e.FtCssVariableFactory.extend("--ft-typography-caption-font-family",yt),Qt=e.FtCssVariableFactory.extend("--ft-typography-caption-font-size",ut.fontSize,"12px"),te=e.FtCssVariableFactory.extend("--ft-typography-caption-font-weight",ut.fontWeight,"normal"),ee=e.FtCssVariableFactory.extend("--ft-typography-caption-letter-spacing",ut.letterSpacing,"0.396px"),ie=e.FtCssVariableFactory.extend("--ft-typography-caption-line-height",ut.lineHeight,"1.33"),se=e.FtCssVariableFactory.extend("--ft-typography-caption-text-transform",ut.textTransform,"inherit"),oe=e.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-family",yt),re=e.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-size",ut.fontSize,"10px"),ne=e.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-weight",ut.fontWeight,"normal"),ae=e.FtCssVariableFactory.extend("--ft-typography-breadcrumb-letter-spacing",ut.letterSpacing,"0.33px"),le=e.FtCssVariableFactory.extend("--ft-typography-breadcrumb-line-height",ut.lineHeight,"1.6"),pe=e.FtCssVariableFactory.extend("--ft-typography-breadcrumb-text-transform",ut.textTransform,"inherit"),he=e.FtCssVariableFactory.extend("--ft-typography-overline-font-family",yt),fe=e.FtCssVariableFactory.extend("--ft-typography-overline-font-size",ut.fontSize,"10px"),ce=e.FtCssVariableFactory.extend("--ft-typography-overline-font-weight",ut.fontWeight,"normal"),de=e.FtCssVariableFactory.extend("--ft-typography-overline-letter-spacing",ut.letterSpacing,"1.5px"),ye=e.FtCssVariableFactory.extend("--ft-typography-overline-line-height",ut.lineHeight,"1.6"),ue=e.FtCssVariableFactory.extend("--ft-typography-overline-text-transform",ut.textTransform,"uppercase"),xe=e.FtCssVariableFactory.extend("--ft-typography-button-font-family",yt),ge=e.FtCssVariableFactory.extend("--ft-typography-button-font-size",ut.fontSize,"14px"),ve=e.FtCssVariableFactory.extend("--ft-typography-button-font-weight",ut.fontWeight,"600"),be=e.FtCssVariableFactory.extend("--ft-typography-button-letter-spacing",ut.letterSpacing,"1.246px"),me=e.FtCssVariableFactory.extend("--ft-typography-button-line-height",ut.lineHeight,"1.15"),$e=e.FtCssVariableFactory.extend("--ft-typography-button-text-transform",ut.textTransform,"uppercase"),we=i.css`
121
121
  .ft-typography--title {
122
- font-family: ${ut};
123
- font-size: ${xt};
124
- font-weight: ${gt};
125
- letter-spacing: ${vt};
126
- line-height: ${bt};
127
- text-transform: ${mt};
128
- }
129
- `,we=i.css`
130
- .ft-typography--title-dense {
131
- font-family: ${$t};
132
- font-size: ${wt};
133
- font-weight: ${kt};
134
- letter-spacing: ${zt};
135
- line-height: ${jt};
136
- text-transform: ${Nt};
122
+ font-family: ${xt};
123
+ font-size: ${gt};
124
+ font-weight: ${vt};
125
+ letter-spacing: ${bt};
126
+ line-height: ${mt};
127
+ text-transform: ${$t};
137
128
  }
138
129
  `,ke=i.css`
139
- .ft-typography--subtitle1 {
140
- font-family: ${Ot};
141
- font-size: ${St};
142
- font-weight: ${At};
143
- letter-spacing: ${It};
144
- line-height: ${_t};
145
- text-transform: ${Mt};
130
+ .ft-typography--title-dense {
131
+ font-family: ${wt};
132
+ font-size: ${kt};
133
+ font-weight: ${zt};
134
+ letter-spacing: ${jt};
135
+ line-height: ${Nt};
136
+ text-transform: ${Ot};
146
137
  }
147
138
  `,ze=i.css`
148
- .ft-typography--subtitle2 {
149
- font-family: ${Tt};
150
- font-size: ${Ct};
151
- font-weight: ${Bt};
152
- letter-spacing: ${Et};
153
- line-height: ${Ut};
154
- text-transform: ${Dt};
139
+ .ft-typography--subtitle1 {
140
+ font-family: ${St};
141
+ font-size: ${At};
142
+ font-weight: ${It};
143
+ letter-spacing: ${_t};
144
+ line-height: ${Mt};
145
+ text-transform: ${Ct};
155
146
  }
156
-
157
147
  `,je=i.css`
158
- .ft-typography--body1 {
159
- font-family: ${Rt};
160
- font-size: ${Wt};
161
- font-weight: ${Gt};
162
- letter-spacing: ${Kt};
163
- line-height: ${Zt};
164
- text-transform: ${Pt};
148
+ .ft-typography--subtitle2 {
149
+ font-family: ${Bt};
150
+ font-size: ${Et};
151
+ font-weight: ${Tt};
152
+ letter-spacing: ${Ut};
153
+ line-height: ${Dt};
154
+ text-transform: ${Rt};
165
155
  }
156
+
166
157
  `,Ne=i.css`
167
- .ft-typography--body2 {
168
- font-family: ${qt};
169
- font-size: ${Ft};
170
- font-weight: ${Ht};
171
- letter-spacing: ${Lt};
172
- line-height: ${Vt};
173
- text-transform: ${Xt};
158
+ .ft-typography--body1 {
159
+ font-family: ${Wt};
160
+ font-size: ${Gt};
161
+ font-weight: ${Kt};
162
+ letter-spacing: ${Zt};
163
+ line-height: ${qt};
164
+ text-transform: ${Ft};
174
165
  }
175
166
  `,Oe=i.css`
176
- .ft-typography--caption {
177
- font-family: ${Yt};
178
- font-size: ${Jt};
179
- font-weight: ${Qt};
180
- letter-spacing: ${te};
181
- line-height: ${ee};
182
- text-transform: ${ie};
167
+ .ft-typography--body2 {
168
+ font-family: ${Ht};
169
+ font-size: ${Lt};
170
+ font-weight: ${Pt};
171
+ letter-spacing: ${Vt};
172
+ line-height: ${Xt};
173
+ text-transform: ${Yt};
183
174
  }
184
175
  `,Se=i.css`
185
- .ft-typography--breadcrumb {
186
- font-family: ${se};
187
- font-size: ${oe};
188
- font-weight: ${re};
189
- letter-spacing: ${ne};
190
- line-height: ${ae};
191
- text-transform: ${le};
176
+ .ft-typography--caption {
177
+ font-family: ${Jt};
178
+ font-size: ${Qt};
179
+ font-weight: ${te};
180
+ letter-spacing: ${ee};
181
+ line-height: ${ie};
182
+ text-transform: ${se};
192
183
  }
193
184
  `,Ae=i.css`
194
- .ft-typography--overline {
195
- font-family: ${pe};
196
- font-size: ${he};
197
- font-weight: ${fe};
198
- letter-spacing: ${ce};
199
- line-height: ${de};
200
- text-transform: ${ye};
185
+ .ft-typography--breadcrumb {
186
+ font-family: ${oe};
187
+ font-size: ${re};
188
+ font-weight: ${ne};
189
+ letter-spacing: ${ae};
190
+ line-height: ${le};
191
+ text-transform: ${pe};
201
192
  }
202
193
  `,Ie=i.css`
203
- .ft-typography--button {
204
- font-family: ${ue};
205
- font-size: ${xe};
206
- font-weight: ${ge};
207
- letter-spacing: ${ve};
208
- line-height: ${be};
209
- text-transform: ${me};
194
+ .ft-typography--overline {
195
+ font-family: ${he};
196
+ font-size: ${fe};
197
+ font-weight: ${ce};
198
+ letter-spacing: ${de};
199
+ line-height: ${ye};
200
+ text-transform: ${ue};
210
201
  }
211
202
  `,_e=i.css`
203
+ .ft-typography--button {
204
+ font-family: ${xe};
205
+ font-size: ${ge};
206
+ font-weight: ${ve};
207
+ letter-spacing: ${be};
208
+ line-height: ${me};
209
+ text-transform: ${$e};
210
+ }
211
+ `,Me=i.css`
212
212
  .ft-typography {
213
213
  vertical-align: inherit;
214
214
  }
215
- `;var Me,Te,Ce=function(t,e,i,s){for(var o,r=arguments.length,n=r<3?e:null===s?s=Object.getOwnPropertyDescriptor(e,i):s,a=t.length-1;a>=0;a--)(o=t[a])&&(n=(r<3?o(n):r>3?o(e,i,n):o(e,i))||n);return r>3&&n&&Object.defineProperty(e,i,n),n};class Be extends e.FtLitElement{constructor(){super(...arguments),this.variant=ft.body1}render(){return this.element?ht`
216
- <${lt(this.element)}
215
+ `;var Ce,Be,Ee=function(t,e,i,s){for(var o,r=arguments.length,n=r<3?e:null===s?s=Object.getOwnPropertyDescriptor(e,i):s,a=t.length-1;a>=0;a--)(o=t[a])&&(n=(r<3?o(n):r>3?o(e,i,n):o(e,i))||n);return r>3&&n&&Object.defineProperty(e,i,n),n};class Te extends e.FtLitElement{constructor(){super(...arguments),this.variant=ct.body1}render(){return this.element?ft`
216
+ <${pt(this.element)}
217
217
  class="ft-typography ft-typography--${this.variant}">
218
218
  <slot></slot>
219
- </${lt(this.element)}>
220
- `:ht`
219
+ </${pt(this.element)}>
220
+ `:ft`
221
221
  <slot class="ft-typography ft-typography--${this.variant}"></slot>
222
- `}}Be.styles=[$e,we,ke,ze,je,Ne,Oe,Se,Ae,Ie,_e],Ce([s.property()],Be.prototype,"element",void 0),Ce([s.property()],Be.prototype,"variant",void 0),e.customElement("ft-typography")(Be),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;"}(Me||(Me={})),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;"}(Te||(Te={})),new Map([...["abw"].map((t=>[t,Te.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,Te.AUDIO])),...["avi"].map((t=>[t,Te.AVI])),...["chm","xhs"].map((t=>[t,Te.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,Te.CODE])),...["csv"].map((t=>[t,Te.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,Te.DITA])),...["epub"].map((t=>[t,Te.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,Te.EXCEL])),...["flac"].map((t=>[t,Te.FLAC])),...["gif"].map((t=>[t,Te.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,Te.GZIP])),...["html","htm","xhtml"].map((t=>[t,Te.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,Te.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,Te.JPEG])),...["json"].map((t=>[t,Te.JSON])),...["m4a","m4p"].map((t=>[t,Te.M4A])),...["mov","qt"].map((t=>[t,Te.MOV])),...["mp3"].map((t=>[t,Te.MP3])),...["mp4","m4v"].map((t=>[t,Te.MP4])),...["ogg","oga"].map((t=>[t,Te.OGG])),...["pdf","ps"].map((t=>[t,Te.PDF])),...["png"].map((t=>[t,Te.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,Te.POWERPOINT])),...["rar"].map((t=>[t,Te.RAR])),...["stp"].map((t=>[t,Te.STP])),...["txt","rtf","md","mdown"].map((t=>[t,Te.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,Te.VIDEO])),...["wav"].map((t=>[t,Te.WAV])),...["wma"].map((t=>[t,Te.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,Te.WORD])),...["xml","xsl","rdf"].map((t=>[t,Te.XML])),...["yaml","yml","x-yaml"].map((t=>[t,Te.YAML])),...["zip"].map((t=>[t,Te.ZIP]))]);const Ee=e.FtCssVariableFactory.create("--ft-icon-font-size","SIZE","24px"),Ue=e.FtCssVariableFactory.extend("--ft-icon-fluid-topics-font-family",e.FtCssVariableFactory.create("--ft-icon-font-family","UNKNOWN","ft-icons")),De=e.FtCssVariableFactory.extend("--ft-icon-file-format-font-family",e.FtCssVariableFactory.create("--ft-icon-font-family","UNKNOWN","ft-mime")),Re=e.FtCssVariableFactory.extend("--ft-icon-material-font-family",e.FtCssVariableFactory.create("--ft-icon-font-family","UNKNOWN","Material Icons")),We=e.FtCssVariableFactory.create("--ft-icon-vertical-align","UNKNOWN","unset"),Ge=i.css`
222
+ `}}Te.styles=[we,ke,ze,je,Ne,Oe,Se,Ae,Ie,_e,Me],Ee([s.property()],Te.prototype,"element",void 0),Ee([s.property()],Te.prototype,"variant",void 0),e.customElement("ft-typography")(Te),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;"}(Ce||(Ce={})),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;"}(Be||(Be={})),new Map([...["abw"].map((t=>[t,Be.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,Be.AUDIO])),...["avi"].map((t=>[t,Be.AVI])),...["chm","xhs"].map((t=>[t,Be.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,Be.CODE])),...["csv"].map((t=>[t,Be.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,Be.DITA])),...["epub"].map((t=>[t,Be.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,Be.EXCEL])),...["flac"].map((t=>[t,Be.FLAC])),...["gif"].map((t=>[t,Be.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,Be.GZIP])),...["html","htm","xhtml"].map((t=>[t,Be.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,Be.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,Be.JPEG])),...["json"].map((t=>[t,Be.JSON])),...["m4a","m4p"].map((t=>[t,Be.M4A])),...["mov","qt"].map((t=>[t,Be.MOV])),...["mp3"].map((t=>[t,Be.MP3])),...["mp4","m4v"].map((t=>[t,Be.MP4])),...["ogg","oga"].map((t=>[t,Be.OGG])),...["pdf","ps"].map((t=>[t,Be.PDF])),...["png"].map((t=>[t,Be.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,Be.POWERPOINT])),...["rar"].map((t=>[t,Be.RAR])),...["stp"].map((t=>[t,Be.STP])),...["txt","rtf","md","mdown"].map((t=>[t,Be.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,Be.VIDEO])),...["wav"].map((t=>[t,Be.WAV])),...["wma"].map((t=>[t,Be.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,Be.WORD])),...["xml","xsl","rdf"].map((t=>[t,Be.XML])),...["yaml","yml","x-yaml"].map((t=>[t,Be.YAML])),...["zip"].map((t=>[t,Be.ZIP]))]);const Ue=e.FtCssVariableFactory.create("--ft-icon-font-size","SIZE","24px"),De=e.FtCssVariableFactory.extend("--ft-icon-fluid-topics-font-family",e.FtCssVariableFactory.create("--ft-icon-font-family","UNKNOWN","ft-icons")),Re=e.FtCssVariableFactory.extend("--ft-icon-file-format-font-family",e.FtCssVariableFactory.create("--ft-icon-font-family","UNKNOWN","ft-mime")),We=e.FtCssVariableFactory.extend("--ft-icon-material-font-family",e.FtCssVariableFactory.create("--ft-icon-font-family","UNKNOWN","Material Icons")),Ge=e.FtCssVariableFactory.create("--ft-icon-vertical-align","UNKNOWN","unset"),Ke=i.css`
223
223
  :host {
224
224
  display: inline-block;
225
225
  }
226
226
 
227
227
  :host, i.ft-icon {
228
- width: ${Ee};
229
- height: ${Ee};
228
+ width: ${Ue};
229
+ height: ${Ue};
230
230
  text-align: center;
231
231
  }
232
232
 
233
233
  i.ft-icon {
234
- font-size: ${Ee};
234
+ font-size: ${Ue};
235
235
  line-height: 1;
236
236
  font-weight: normal;
237
237
  text-transform: none;
@@ -242,30 +242,30 @@ const nt=Symbol.for(""),at=t=>{if((null==t?void 0:t.r)===nt)return null==t?void
242
242
  text-rendering: auto;
243
243
  -webkit-font-smoothing: antialiased;
244
244
  -moz-osx-font-smoothing: grayscale;
245
- vertical-align: ${We};
245
+ vertical-align: ${Ge};
246
246
  }
247
247
 
248
248
  .ft-icon--fluid-topics {
249
- font-family: ${Ue}, ft-icons, fticons, sans-serif;
249
+ font-family: ${De}, ft-icons, fticons, sans-serif;
250
250
  }
251
251
 
252
252
  .ft-icon--file-format {
253
- font-family: ${De}, ft-mime, sans-serif;
253
+ font-family: ${Re}, ft-mime, sans-serif;
254
254
  }
255
255
 
256
256
  .ft-icon--material {
257
- font-family: ${Re}, "Material Icons", sans-serif;
257
+ font-family: ${We}, "Material Icons", sans-serif;
258
258
  }
259
- `;var Ke,Ze=function(t,e,i,s){for(var o,r=arguments.length,n=r<3?e:null===s?s=Object.getOwnPropertyDescriptor(e,i):s,a=t.length-1;a>=0;a--)(o=t[a])&&(n=(r<3?o(n):r>3?o(e,i,n):o(e,i))||n);return r>3&&n&&Object.defineProperty(e,i,n),n};class Pe extends e.FtLitElement{constructor(){super(...arguments),this.variant=a.fluid_topics,this.resolvedIcon=i.nothing}render(){const t="material"!==this.variant||this.value;return i.html`
259
+ `;var Ze,qe=function(t,e,i,s){for(var o,r=arguments.length,n=r<3?e:null===s?s=Object.getOwnPropertyDescriptor(e,i):s,a=t.length-1;a>=0;a--)(o=t[a])&&(n=(r<3?o(n):r>3?o(e,i,n):o(e,i))||n);return r>3&&n&&Object.defineProperty(e,i,n),n};class Fe extends e.FtLitElement{constructor(){super(...arguments),this.variant=a.fluid_topics,this.resolvedIcon=i.nothing}render(){const t="material"!==this.variant||this.value;return i.html`
260
260
  <i class="ft-icon ${"ft-icon--"+this.variant}">
261
261
  ${n.unsafeHTML(this.resolvedIcon)}
262
262
  <slot ?hidden=${t}></slot>
263
263
  </i>
264
- `}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:""}update(t){super.update(t),["value","variant"].some((e=>t.has(e)))&&this.resolveIcon()}resolveIcon(){var t,e;let s=this.value||this.textContent;switch(this.variant){case a.file_format:this.resolvedIcon=null!==(t=Te[s.toUpperCase()])&&void 0!==t?t:s;break;case a.fluid_topics:this.resolvedIcon=null!==(e=Me[s.toUpperCase()])&&void 0!==e?e:s;break;default:this.resolvedIcon=this.value||i.nothing}}firstUpdated(t){super.firstUpdated(t),setTimeout((()=>{this.resolveIcon()}))}}Pe.elementDefinitions={},Pe.styles=Ge,Ze([s.property()],Pe.prototype,"variant",void 0),Ze([s.property()],Pe.prototype,"value",void 0),Ze([s.state()],Pe.prototype,"resolvedIcon",void 0),Ze([s.query("slot")],Pe.prototype,"slottedContent",void 0),e.customElement("ft-icon")(Pe),t.FtTabsAlignment=void 0,(Ke=t.FtTabsAlignment||(t.FtTabsAlignment={})).left="left",Ke.right="right",Ke.justify="justify";const qe={colorSurface:e.FtCssVariableFactory.external(e.designSystemVariables.colorSurface,"Design system"),colorPrimary:e.FtCssVariableFactory.external(e.designSystemVariables.colorPrimary,"Design system"),colorOnSurfaceMedium:e.FtCssVariableFactory.external(e.designSystemVariables.colorOnSurfaceMedium,"Design system"),colorOnSurfaceDisabled:e.FtCssVariableFactory.external(e.designSystemVariables.colorOnSurfaceDisabled,"Design system")},Fe=i.css`
264
+ `}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:""}update(t){super.update(t),["value","variant"].some((e=>t.has(e)))&&this.resolveIcon()}resolveIcon(){var t,e;let s=this.value||this.textContent;switch(this.variant){case a.file_format:this.resolvedIcon=null!==(t=Be[s.toUpperCase()])&&void 0!==t?t:s;break;case a.fluid_topics:this.resolvedIcon=null!==(e=Ce[s.toUpperCase()])&&void 0!==e?e:s;break;default:this.resolvedIcon=this.value||i.nothing}}firstUpdated(t){super.firstUpdated(t),setTimeout((()=>{this.resolveIcon()}))}}Fe.elementDefinitions={},Fe.styles=Ke,qe([s.property()],Fe.prototype,"variant",void 0),qe([s.property()],Fe.prototype,"value",void 0),qe([s.state()],Fe.prototype,"resolvedIcon",void 0),qe([s.query("slot")],Fe.prototype,"slottedContent",void 0),e.customElement("ft-icon")(Fe),t.FtTabsAlignment=void 0,(Ze=t.FtTabsAlignment||(t.FtTabsAlignment={})).left="left",Ze.right="right",Ze.justify="justify";const He={colorSurface:e.FtCssVariableFactory.external(e.designSystemVariables.colorSurface,"Design system"),colorPrimary:e.FtCssVariableFactory.external(e.designSystemVariables.colorPrimary,"Design system"),colorOnSurfaceMedium:e.FtCssVariableFactory.external(e.designSystemVariables.colorOnSurfaceMedium,"Design system"),colorOnSurfaceDisabled:e.FtCssVariableFactory.external(e.designSystemVariables.colorOnSurfaceDisabled,"Design system")},Le=i.css`
265
265
  .ft-tabs {
266
266
  display: flex;
267
267
  flex-direction: column;
268
- background-color: ${qe.colorSurface};
268
+ background-color: ${He.colorSurface};
269
269
  height: 100%;
270
270
  }
271
271
 
@@ -305,15 +305,15 @@ const nt=Symbol.for(""),at=t=>{if((null==t?void 0:t.r)===nt)return null==t?void
305
305
  outline: none;
306
306
  font-size: 16px;
307
307
  line-height: 1;
308
- color: ${qe.colorOnSurfaceMedium};
308
+ color: ${He.colorOnSurfaceMedium};
309
309
  }
310
310
 
311
311
  [role='tab'][aria-selected='true'] {
312
- color: ${qe.colorPrimary};
312
+ color: ${He.colorPrimary};
313
313
  }
314
314
 
315
315
  [role='tab'][disabled] {
316
- color: ${qe.colorOnSurfaceDisabled};
316
+ color: ${He.colorOnSurfaceDisabled};
317
317
  }
318
318
 
319
319
  .ft-tabs--align-justify [role='tab'] {
@@ -340,7 +340,7 @@ const nt=Symbol.for(""),at=t=>{if((null==t?void 0:t.r)===nt)return null==t?void
340
340
  position: absolute;
341
341
  height: 3px;
342
342
  border-radius: 2px;
343
- background-color: ${qe.colorPrimary};
343
+ background-color: ${He.colorPrimary};
344
344
  transition: width 200ms ease, left 200ms ease, top 200ms ease;
345
345
  }
346
346
 
@@ -349,7 +349,7 @@ const nt=Symbol.for(""),at=t=>{if((null==t?void 0:t.r)===nt)return null==t?void
349
349
  flex-grow: 1;
350
350
  overflow: auto;
351
351
  }
352
- `;var He=function(t,e,i,s){for(var o,r=arguments.length,n=r<3?e:null===s?s=Object.getOwnPropertyDescriptor(e,i):s,a=t.length-1;a>=0;a--)(o=t[a])&&(n=(r<3?o(n):r>3?o(e,i,n):o(e,i))||n);return r>3&&n&&Object.defineProperty(e,i,n),n};class Le extends CustomEvent{constructor(t){super("index-change",{detail:t})}}class Ve extends e.FtLitElement{constructor(){super(...arguments),this.dense=!1,this.contentBefore=!1,this.alignTabs=t.FtTabsAlignment.justify,this.ftTabs=[],this.activeIndex=0,this.updateDebouncer=new e.Debouncer(20),this.scheduleRequestUpdate=()=>this.updateDebouncer.run((()=>this.requestUpdate())),this.resizeObserver=new ResizeObserver((()=>this.placeIndicator()))}render(){const t={"ft-tabs":!0,"ft-tabs--reverse":this.contentBefore,"ft-tabs--dense":this.dense};return i.html`
352
+ `;var Pe=function(t,e,i,s){for(var o,r=arguments.length,n=r<3?e:null===s?s=Object.getOwnPropertyDescriptor(e,i):s,a=t.length-1;a>=0;a--)(o=t[a])&&(n=(r<3?o(n):r>3?o(e,i,n):o(e,i))||n);return r>3&&n&&Object.defineProperty(e,i,n),n};class Ve extends CustomEvent{constructor(t){super("index-change",{detail:t})}}class Xe extends e.FtLitElement{constructor(){super(...arguments),this.dense=!1,this.contentBefore=!1,this.alignTabs=t.FtTabsAlignment.justify,this.ftTabs=[],this.activeIndex=0,this.updateDebouncer=new e.Debouncer(20),this.scheduleRequestUpdate=()=>this.updateDebouncer.run((()=>this.requestUpdate())),this.resizeObserver=new ResizeObserver((()=>this.placeIndicator()))}render(){const t={"ft-tabs":!0,"ft-tabs--reverse":this.contentBefore,"ft-tabs--dense":this.dense};return i.html`
353
353
  <div class="${r.classMap(t)}" part="container">
354
354
  <div class="ft-tabs--align-${this.alignTabs}" role="tablist" part="tablist">
355
355
  ${o.repeat(this.ftTabs,((t,e)=>i.html`
@@ -371,7 +371,7 @@ const nt=Symbol.for(""),at=t=>{if((null==t?void 0:t.r)===nt)return null==t?void
371
371
  </ft-icon>
372
372
  <ft-typography class="ft-tabs--tab-label"
373
373
  part="tab-label"
374
- variant="${ft.body2}">
374
+ variant="${ct.body2}">
375
375
  ${t.label}
376
376
  </ft-typography>
377
377
  </button>
@@ -382,4 +382,4 @@ const nt=Symbol.for(""),at=t=>{if((null==t?void 0:t.r)===nt)return null==t?void
382
382
  <slot @slotchange=${this.onContentChange}></slot>
383
383
  </div>
384
384
  </div>
385
- `}onContentChange(t){const e=t.composedPath()[0];this.ftTabs=e.assignedElements().map((t=>t)),this.ftTabs.forEach((t=>{t.removeEventListener("updated",this.scheduleRequestUpdate),t.addEventListener("updated",this.scheduleRequestUpdate)})),this.updateTabs()}updated(t){super.updated(t),(t.has("tabs")||t.has("activeIndex"))&&this.updateTabs(),t.has("activeIndex")&&this.dispatchEvent(new Le(this.activeIndex))}contentAvailableCallback(t){super.contentAvailableCallback(t),this.tabsContainer&&this.resizeObserver.observe(this.tabsContainer),this.placeIndicator()}placeIndicator(){var t,e,i,s,o,r,n,a,l,p;this.activeTabIndicator&&(this.activeTabIndicator.style.width=(null!==(e=null===(t=this.activeTab)||void 0===t?void 0:t.clientWidth)&&void 0!==e?e:0)+"px",this.activeTabIndicator.style.left=(null!==(s=null===(i=this.activeTab)||void 0===i?void 0:i.offsetLeft)&&void 0!==s?s:0)+"px",this.contentBefore?this.activeTabIndicator.style.top=(null!==(r=null===(o=this.activeTab)||void 0===o?void 0:o.offsetTop)&&void 0!==r?r:0)+"px":this.activeTabIndicator.style.top=(null!==(a=null===(n=this.activeTab)||void 0===n?void 0:n.offsetTop)&&void 0!==a?a:0)+(null!==(p=null===(l=this.activeTab)||void 0===l?void 0:l.clientHeight)&&void 0!==p?p:0)-this.activeTabIndicator.clientHeight+"px")}updateTabs(){this.ftTabs.forEach(((t,e)=>{t.active=e==this.activeIndex}))}}Ve.elementDefinitions={"ft-tab":p,"ft-ripple":N,"ft-typography":Be,"ft-icon":Pe},Ve.styles=Fe,He([s.property({type:Boolean})],Ve.prototype,"dense",void 0),He([s.property({type:Boolean})],Ve.prototype,"contentBefore",void 0),He([s.property()],Ve.prototype,"alignTabs",void 0),He([s.state()],Ve.prototype,"ftTabs",void 0),He([s.query("[role='tablist']")],Ve.prototype,"tabsContainer",void 0),He([s.query("[aria-selected='true']")],Ve.prototype,"activeTab",void 0),He([s.query(".ft-tabs--active-tab-indicator")],Ve.prototype,"activeTabIndicator",void 0),He([s.property({type:Number,reflect:!0})],Ve.prototype,"activeIndex",void 0);e.customElement("ft-tab")(p),e.customElement("ft-tabs")(Ve),t.FtTab=p,t.FtTabCssVariables={},t.FtTabs=Ve,t.FtTabsCssVariables=qe,t.IndexChangeEvent=Le,t.styles=Fe,Object.defineProperty(t,"t",{value:!0})}({},ftGlobals.wcUtils,ftGlobals.lit,ftGlobals.litDecorators,ftGlobals.litRepeat,ftGlobals.litClassMap,ftGlobals.litUnsafeHTML);
385
+ `}onContentChange(t){const e=t.composedPath()[0];this.ftTabs=e.assignedElements().map((t=>t)),this.ftTabs.forEach((t=>{t.removeEventListener("updated",this.scheduleRequestUpdate),t.addEventListener("updated",this.scheduleRequestUpdate)})),this.updateTabs()}updated(t){super.updated(t),(t.has("tabs")||t.has("activeIndex"))&&this.updateTabs(),t.has("activeIndex")&&this.dispatchEvent(new Ve(this.activeIndex))}contentAvailableCallback(t){super.contentAvailableCallback(t),this.tabsContainer&&this.resizeObserver.observe(this.tabsContainer),this.placeIndicator()}placeIndicator(){var t,e,i,s,o,r,n,a,l,p;this.activeTabIndicator&&(this.activeTabIndicator.style.width=(null!==(e=null===(t=this.activeTab)||void 0===t?void 0:t.clientWidth)&&void 0!==e?e:0)+"px",this.activeTabIndicator.style.left=(null!==(s=null===(i=this.activeTab)||void 0===i?void 0:i.offsetLeft)&&void 0!==s?s:0)+"px",this.contentBefore?this.activeTabIndicator.style.top=(null!==(r=null===(o=this.activeTab)||void 0===o?void 0:o.offsetTop)&&void 0!==r?r:0)+"px":this.activeTabIndicator.style.top=(null!==(a=null===(n=this.activeTab)||void 0===n?void 0:n.offsetTop)&&void 0!==a?a:0)+(null!==(p=null===(l=this.activeTab)||void 0===l?void 0:l.clientHeight)&&void 0!==p?p:0)-this.activeTabIndicator.clientHeight+"px")}updateTabs(){this.ftTabs.forEach(((t,e)=>{t.active=e==this.activeIndex}))}}Xe.elementDefinitions={"ft-tab":p,"ft-ripple":N,"ft-typography":Te,"ft-icon":Fe},Xe.styles=Le,Pe([s.property({type:Boolean})],Xe.prototype,"dense",void 0),Pe([s.property({type:Boolean})],Xe.prototype,"contentBefore",void 0),Pe([s.property()],Xe.prototype,"alignTabs",void 0),Pe([s.state()],Xe.prototype,"ftTabs",void 0),Pe([s.query("[role='tablist']")],Xe.prototype,"tabsContainer",void 0),Pe([s.query("[aria-selected='true']")],Xe.prototype,"activeTab",void 0),Pe([s.query(".ft-tabs--active-tab-indicator")],Xe.prototype,"activeTabIndicator",void 0),Pe([s.property({type:Number,reflect:!0})],Xe.prototype,"activeIndex",void 0);e.customElement("ft-tab")(p),e.customElement("ft-tabs")(Xe),t.FtTab=p,t.FtTabCssVariables={},t.FtTabs=Xe,t.FtTabsCssVariables=He,t.IndexChangeEvent=Ve,t.styles=Le,Object.defineProperty(t,"t",{value:!0})}({},ftGlobals.wcUtils,ftGlobals.lit,ftGlobals.litDecorators,ftGlobals.litRepeat,ftGlobals.litClassMap,ftGlobals.litUnsafeHTML);