New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@fluid-topics/ft-accordion

Package Overview
Dependencies
Maintainers
2
Versions
298
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@fluid-topics/ft-accordion - npm Package Compare versions

Comparing version

to
0.3.20

176

build/ft-accordion.light.js

@@ -5,7 +5,7 @@ !function(t,e,i,o,s,r){const n=i.css`

}
`;var l=function(t,e,i,o){for(var s,r=arguments.length,n=r<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,l=t.length-1;l>=0;l--)(s=t[l])&&(n=(r<3?s(n):r>3?s(e,i,n):s(e,i))||n);return r>3&&n&&Object.defineProperty(e,i,n),n};class p extends e.FtLitElement{constructor(){super(...arguments),this.multi=!1}render(){return i.html`
`;var p=function(t,e,i,o){for(var s,r=arguments.length,n=r<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,p=t.length-1;p>=0;p--)(s=t[p])&&(n=(r<3?s(n):r>3?s(e,i,n):s(e,i))||n);return r>3&&n&&Object.defineProperty(e,i,n),n};class l extends e.FtLitElement{constructor(){super(...arguments),this.multi=!1}render(){return i.html`
<div class="ft-accordion">
<slot @activated=${this.onChange}></slot>
</div>
`}onChange(t){t.stopPropagation(),this.multi||this.content.assignedElements().forEach((e=>e.active=e===t.target))}}p.elementDefinitions={},p.styles=n,l([o.property({type:Boolean})],p.prototype,"multi",void 0),l([o.query("slot")],p.prototype,"content",void 0);const a=e.FtCssVariableFactory.extend("--ft-ripple-color",e.designSystemVariables.colorContent),f=a,h=e.FtCssVariableFactory.extend("--ft-ripple-background-color",a),c=e.FtCssVariableFactory.external(e.designSystemVariables.opacityContentOnSurfacePressed,"Design system"),d=e.FtCssVariableFactory.external(e.designSystemVariables.opacityContentOnSurfaceHover,"Design system"),g=e.FtCssVariableFactory.external(e.designSystemVariables.opacityContentOnSurfaceFocused,"Design system"),y=e.FtCssVariableFactory.external(e.designSystemVariables.opacityContentOnSurfaceSelected,"Design system"),x=e.FtCssVariableFactory.extend("--ft-ripple-color",e.designSystemVariables.colorPrimary),u=x,v=e.FtCssVariableFactory.extend("--ft-ripple-background-color",x),m=e.FtCssVariableFactory.extend("--ft-ripple-color",e.designSystemVariables.colorSecondary),b=m,$=e.FtCssVariableFactory.extend("--ft-ripple-background-color",m),w=i.css`
`}onChange(t){t.stopPropagation(),this.multi||this.content.assignedElements().forEach((e=>e.active=e===t.target))}}l.elementDefinitions={},l.styles=n,p([o.property({type:Boolean})],l.prototype,"multi",void 0),p([o.query("slot")],l.prototype,"content",void 0);const a=e.FtCssVariableFactory.extend("--ft-ripple-color",e.designSystemVariables.colorContent),f=a,h=e.FtCssVariableFactory.extend("--ft-ripple-background-color",a),c=e.FtCssVariableFactory.external(e.designSystemVariables.opacityContentOnSurfacePressed,"Design system"),d=e.FtCssVariableFactory.external(e.designSystemVariables.opacityContentOnSurfaceHover,"Design system"),g=e.FtCssVariableFactory.external(e.designSystemVariables.opacityContentOnSurfaceFocused,"Design system"),y=e.FtCssVariableFactory.external(e.designSystemVariables.opacityContentOnSurfaceSelected,"Design system"),x=e.FtCssVariableFactory.extend("--ft-ripple-color",e.designSystemVariables.colorPrimary),u=x,v=e.FtCssVariableFactory.extend("--ft-ripple-background-color",x),m=e.FtCssVariableFactory.extend("--ft-ripple-color",e.designSystemVariables.colorSecondary),b=m,$=e.FtCssVariableFactory.extend("--ft-ripple-background-color",m),w=i.css`
:host {

@@ -99,3 +99,3 @@ display: contents;

}
`;var k,z=function(t,e,i,o){for(var s,r=arguments.length,n=r<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,l=t.length-1;l>=0;l--)(s=t[l])&&(n=(r<3?s(n):r>3?s(e,i,n):s(e,i))||n);return r>3&&n&&Object.defineProperty(e,i,n),n};class N extends e.FtLitElement{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.unbounded=!1,this.activated=!1,this.selected=!1,this.disabled=!1,this.hovered=!1,this.focused=!1,this.pressed=!1,this.rippling=!1,this.rippleSize=0,this.originX=0,this.originY=0,this.resizeObserver=new ResizeObserver((()=>this.setRippleSize())),this.debouncer=new e.Debouncer(1e3),this.onTransitionStart=t=>{"transform"===t.propertyName&&(this.rippling=this.pressed,this.debouncer.run((()=>this.rippling=!1)))},this.onTransitionEnd=t=>{"transform"===t.propertyName&&(this.rippling=!1)},this.moveRipple=t=>{var e,i;let{x:o,y:s}=this.getCoordinates(t),r=null!==(i=null===(e=this.ripple)||void 0===e?void 0:e.getBoundingClientRect())&&void 0!==i?i:{x:0,y:0,width:0,height:0};this.originX=Math.round(null!=o?o-r.x:r.width/2),this.originY=Math.round(null!=s?s-r.y:r.height/2)},this.startPress=t=>{this.moveRipple(t),this.pressed=!this.isIgnored(t)},this.endPress=()=>{this.pressed=!1},this.startHover=t=>{this.hovered=!this.isIgnored(t)},this.endHover=()=>{this.hovered=!1},this.startFocus=t=>{this.focused=!this.isIgnored(t)},this.endFocus=()=>{this.focused=!1}}render(){let t={"ft-ripple":!0,"ft-ripple--primary":this.primary,"ft-ripple--secondary":this.secondary,"ft-ripple--unbounded":this.unbounded,"ft-ripple--selected":(this.selected||this.activated)&&!this.disabled,"ft-ripple--pressed":(this.pressed||this.rippling)&&!this.disabled,"ft-ripple--hovered":this.hovered&&!this.disabled,"ft-ripple--focused":this.focused&&!this.disabled};return i.html`
`;var k,z=function(t,e,i,o){for(var s,r=arguments.length,n=r<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,p=t.length-1;p>=0;p--)(s=t[p])&&(n=(r<3?s(n):r>3?s(e,i,n):s(e,i))||n);return r>3&&n&&Object.defineProperty(e,i,n),n};class j extends e.FtLitElement{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.unbounded=!1,this.activated=!1,this.selected=!1,this.disabled=!1,this.hovered=!1,this.focused=!1,this.pressed=!1,this.rippling=!1,this.rippleSize=0,this.originX=0,this.originY=0,this.resizeObserver=new ResizeObserver((()=>this.setRippleSize())),this.debouncer=new e.Debouncer(1e3),this.onTransitionStart=t=>{"transform"===t.propertyName&&(this.rippling=this.pressed,this.debouncer.run((()=>this.rippling=!1)))},this.onTransitionEnd=t=>{"transform"===t.propertyName&&(this.rippling=!1)},this.moveRipple=t=>{var e,i;let{x:o,y:s}=this.getCoordinates(t),r=null!==(i=null===(e=this.ripple)||void 0===e?void 0:e.getBoundingClientRect())&&void 0!==i?i:{x:0,y:0,width:0,height:0};this.originX=Math.round(null!=o?o-r.x:r.width/2),this.originY=Math.round(null!=s?s-r.y:r.height/2)},this.startPress=t=>{this.moveRipple(t),this.pressed=!this.isIgnored(t)},this.endPress=()=>{this.pressed=!1},this.startHover=t=>{this.hovered=!this.isIgnored(t)},this.endHover=()=>{this.hovered=!1},this.startFocus=t=>{this.focused=!this.isIgnored(t)},this.endFocus=()=>{this.focused=!1}}render(){let t={"ft-ripple":!0,"ft-ripple--primary":this.primary,"ft-ripple--secondary":this.secondary,"ft-ripple--unbounded":this.unbounded,"ft-ripple--selected":(this.selected||this.activated)&&!this.disabled,"ft-ripple--pressed":(this.pressed||this.rippling)&&!this.disabled,"ft-ripple--hovered":this.hovered&&!this.disabled,"ft-ripple--focused":this.focused&&!this.disabled};return i.html`
<style>

@@ -117,3 +117,3 @@ .ft-ripple .ft-ripple--effect,

</div>
`}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"),o=e("touchend","touchcancel"),s=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",o),t.addEventListener("touchmove",this.moveRipple),t.addEventListener("keydown",s),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",o),t.removeEventListener("touchmove",this.moveRipple),t.removeEventListener("keydown",s),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 o,s;return null!=e.x?({x:o,y:s}=e):null!=i.touches&&(o=i.touches[0].clientX,s=i.touches[0].clientY),{x:o,y:s}}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=w,z([o.property({type:Boolean})],N.prototype,"primary",void 0),z([o.property({type:Boolean})],N.prototype,"secondary",void 0),z([o.property({type:Boolean})],N.prototype,"unbounded",void 0),z([o.property({type:Boolean})],N.prototype,"activated",void 0),z([o.property({type:Boolean})],N.prototype,"selected",void 0),z([o.property({type:Boolean})],N.prototype,"disabled",void 0),z([o.state()],N.prototype,"hovered",void 0),z([o.state()],N.prototype,"focused",void 0),z([o.state()],N.prototype,"pressed",void 0),z([o.state()],N.prototype,"rippling",void 0),z([o.state()],N.prototype,"rippleSize",void 0),z([o.state()],N.prototype,"originX",void 0),z([o.state()],N.prototype,"originY",void 0),z([o.query(".ft-ripple")],N.prototype,"ripple",void 0),z([o.query(".ft-ripple--effect")],N.prototype,"rippleEffect",void 0),e.customElement("ft-ripple")(N);const j=globalThis.trustedTypes,S=j?j.createPolicy("lit-html",{createHTML:t=>t}):void 0,O=`lit$${(Math.random()+"").slice(9)}$`,_="?"+O,A=`<${_}>`,E=document,I=(t="")=>E.createComment(t),M=t=>null===t||"object"!=typeof t&&"function"!=typeof t,U=Array.isArray,T=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,C=/-->/g,B=/>/g,W=RegExp(">|[ \t\n\f\r](?:([^\\s\"'>=/]+)([ \t\n\f\r]*=[ \t\n\f\r]*(?:[^ \t\n\f\r\"'`<>=]|(\"|')|))|$)","g"),K=/'/g,R=/"/g,Z=/^(?:script|style|textarea|title)$/i,D=(t=>(e,...i)=>({_$litType$:t,strings:e,values:i}))(1),G=Symbol.for("lit-noChange"),P=Symbol.for("lit-nothing"),q=new WeakMap,F=E.createTreeWalker(E,129,null,!1),H=(t,e)=>{const i=t.length-1,o=[];let s,r=2===e?"<svg>":"",n=T;for(let e=0;e<i;e++){const i=t[e];let l,p,a=-1,f=0;for(;f<i.length&&(n.lastIndex=f,p=n.exec(i),null!==p);)f=n.lastIndex,n===T?"!--"===p[1]?n=C:void 0!==p[1]?n=B:void 0!==p[2]?(Z.test(p[2])&&(s=RegExp("</"+p[2],"g")),n=W):void 0!==p[3]&&(n=W):n===W?">"===p[0]?(n=null!=s?s:T,a=-1):void 0===p[1]?a=-2:(a=n.lastIndex-p[2].length,l=p[1],n=void 0===p[3]?W:'"'===p[3]?R:K):n===R||n===K?n=W:n===C||n===B?n=T:(n=W,s=void 0);const h=n===W&&t[e+1].startsWith("/>")?" ":"";r+=n===T?i+A:a>=0?(o.push(l),i.slice(0,a)+"$lit$"+i.slice(a)+O+h):i+O+(-2===a?(o.push(void 0),e):h)}const l=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(l):l,o]};class L{constructor({strings:t,_$litType$:e},i){let o;this.parts=[];let s=0,r=0;const n=t.length-1,l=this.parts,[p,a]=H(t,e);if(this.el=L.createElement(p,i),F.currentNode=this.el.content,2===e){const t=this.el.content,e=t.firstChild;e.remove(),t.append(...e.childNodes)}for(;null!==(o=F.nextNode())&&l.length<n;){if(1===o.nodeType){if(o.hasAttributes()){const t=[];for(const e of o.getAttributeNames())if(e.endsWith("$lit$")||e.startsWith(O)){const i=a[r++];if(t.push(e),void 0!==i){const t=o.getAttribute(i.toLowerCase()+"$lit$").split(O),e=/([.?@])?(.*)/.exec(i);l.push({type:1,index:s,name:e[2],strings:t,ctor:"."===e[1]?V:"?"===e[1]?et:"@"===e[1]?it:Q})}else l.push({type:6,index:s})}for(const e of t)o.removeAttribute(e)}if(Z.test(o.tagName)){const t=o.textContent.split(O),e=t.length-1;if(e>0){o.textContent=j?j.emptyScript:"";for(let i=0;i<e;i++)o.append(t[i],I()),F.nextNode(),l.push({type:2,index:++s});o.append(t[e],I())}}}else if(8===o.nodeType)if(o.data===_)l.push({type:2,index:s});else{let t=-1;for(;-1!==(t=o.data.indexOf(O,t+1));)l.push({type:7,index:s}),t+=O.length-1}s++}}static createElement(t,e){const i=E.createElement("template");return i.innerHTML=t,i}}function X(t,e,i=t,o){var s,r,n,l;if(e===G)return e;let p=void 0!==o?null===(s=i._$Cl)||void 0===s?void 0:s[o]:i._$Cu;const a=M(e)?void 0:e._$litDirective$;return(null==p?void 0:p.constructor)!==a&&(null===(r=null==p?void 0:p._$AO)||void 0===r||r.call(p,!1),void 0===a?p=void 0:(p=new a(t),p._$AT(t,i,o)),void 0!==o?(null!==(n=(l=i)._$Cl)&&void 0!==n?n:l._$Cl=[])[o]=p:i._$Cu=p),void 0!==p&&(e=X(t,p._$AS(t,e.values),p,o)),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:o}=this._$AD,s=(null!==(e=null==t?void 0:t.creationScope)&&void 0!==e?e:E).importNode(i,!0);F.currentNode=s;let r=F.nextNode(),n=0,l=0,p=o[0];for(;void 0!==p;){if(n===p.index){let e;2===p.type?e=new J(r,r.nextSibling,this,t):1===p.type?e=new p.ctor(r,p.name,p.strings,this,t):6===p.type&&(e=new ot(r,this,t)),this.v.push(e),p=o[++l]}n!==(null==p?void 0:p.index)&&(r=F.nextNode(),n++)}return s}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,o){var s;this.type=2,this._$AH=P,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=i,this.options=o,this._$C_=null===(s=null==o?void 0:o.isConnected)||void 0===s||s}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),M(t)?t===P||null==t||""===t?(this._$AH!==P&&this._$AR(),this._$AH=P):t!==this._$AH&&t!==G&&this.T(t):void 0!==t._$litType$?this.$(t):void 0!==t.nodeType?this.k(t):(t=>U(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!==P&&M(this._$AH)?this._$AA.nextSibling.data=t:this.k(E.createTextNode(t)),this._$AH=t}$(t){var e;const{values:i,_$litType$:o}=t,s="number"==typeof o?this._$AC(t):(void 0===o.el&&(o.el=L.createElement(o.h,this.options)),o);if((null===(e=this._$AH)||void 0===e?void 0:e._$AD)===s)this._$AH.m(i);else{const t=new Y(s,this),e=t.p(this.options);t.m(i),this.k(e),this._$AH=t}}_$AC(t){let e=q.get(t.strings);return void 0===e&&q.set(t.strings,e=new L(t)),e}S(t){U(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let i,o=0;for(const s of t)o===e.length?e.push(i=new J(this.j(I()),this.j(I()),this,this.options)):i=e[o],i._$AI(s),o++;o<e.length&&(this._$AR(i&&i._$AB.nextSibling,o),e.length=o)}_$AR(t=this._$AA.nextSibling,e){var i;for(null===(i=this._$AP)||void 0===i||i.call(this,!1,!0,e);t&&t!==this._$AB;){const e=t.nextSibling;t.remove(),t=e}}setConnected(t){var e;void 0===this._$AM&&(this._$C_=t,null===(e=this._$AP)||void 0===e||e.call(this,t))}}class Q{constructor(t,e,i,o,s){this.type=1,this._$AH=P,this._$AN=void 0,this.element=t,this.name=e,this._$AM=o,this.options=s,i.length>2||""!==i[0]||""!==i[1]?(this._$AH=Array(i.length-1).fill(new String),this.strings=i):this._$AH=P}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,e=this,i,o){const s=this.strings;let r=!1;if(void 0===s)t=X(this,t,e,0),r=!M(t)||t!==this._$AH&&t!==G,r&&(this._$AH=t);else{const o=t;let n,l;for(t=s[0],n=0;n<s.length-1;n++)l=X(this,o[i+n],e,n),l===G&&(l=this._$AH[n]),r||(r=!M(l)||l!==this._$AH[n]),l===P?t=P:t!==P&&(t+=(null!=l?l:"")+s[n+1]),this._$AH[n]=l}r&&!o&&this.P(t)}P(t){t===P?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}}class V extends Q{constructor(){super(...arguments),this.type=3}P(t){this.element[this.name]=t===P?void 0:t}}const tt=j?j.emptyScript:"";class et extends Q{constructor(){super(...arguments),this.type=4}P(t){t&&t!==P?this.element.setAttribute(this.name,tt):this.element.removeAttribute(this.name)}}class it extends Q{constructor(t,e,i,o,s){super(t,e,i,o,s),this.type=5}_$AI(t,e=this){var i;if((t=null!==(i=X(this,t,e,0))&&void 0!==i?i:P)===G)return;const o=this._$AH,s=t===P&&o!==P||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,r=t!==P&&(o===P||s);s&&this.element.removeEventListener(this.name,this,o),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 st=window.litHtmlPolyfillSupport;null==st||st(L,J),(null!==(k=globalThis.litHtmlVersions)&&void 0!==k?k:globalThis.litHtmlVersions=[]).push("2.2.7");
`}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"),o=e("touchend","touchcancel"),s=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",o),t.addEventListener("touchmove",this.moveRipple),t.addEventListener("keydown",s),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",o),t.removeEventListener("touchmove",this.moveRipple),t.removeEventListener("keydown",s),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 o,s;return null!=e.x?({x:o,y:s}=e):null!=i.touches&&(o=i.touches[0].clientX,s=i.touches[0].clientY),{x:o,y:s}}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()}}j.elementDefinitions={},j.styles=w,z([o.property({type:Boolean})],j.prototype,"primary",void 0),z([o.property({type:Boolean})],j.prototype,"secondary",void 0),z([o.property({type:Boolean})],j.prototype,"unbounded",void 0),z([o.property({type:Boolean})],j.prototype,"activated",void 0),z([o.property({type:Boolean})],j.prototype,"selected",void 0),z([o.property({type:Boolean})],j.prototype,"disabled",void 0),z([o.state()],j.prototype,"hovered",void 0),z([o.state()],j.prototype,"focused",void 0),z([o.state()],j.prototype,"pressed",void 0),z([o.state()],j.prototype,"rippling",void 0),z([o.state()],j.prototype,"rippleSize",void 0),z([o.state()],j.prototype,"originX",void 0),z([o.state()],j.prototype,"originY",void 0),z([o.query(".ft-ripple")],j.prototype,"ripple",void 0),z([o.query(".ft-ripple--effect")],j.prototype,"rippleEffect",void 0),e.customElement("ft-ripple")(j);const N=window,O=N.trustedTypes,S=O?O.createPolicy("lit-html",{createHTML:t=>t}):void 0,_=`lit$${(Math.random()+"").slice(9)}$`,A="?"+_,E=`<${A}>`,I=document,M=(t="")=>I.createComment(t),U=t=>null===t||"object"!=typeof t&&"function"!=typeof t,C=Array.isArray,B=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,T=/-->/g,W=/>/g,K=RegExp(">|[ \t\n\f\r](?:([^\\s\"'>=/]+)([ \t\n\f\r]*=[ \t\n\f\r]*(?:[^ \t\n\f\r\"'`<>=]|(\"|')|))|$)","g"),R=/'/g,Z=/"/g,D=/^(?:script|style|textarea|title)$/i,G=(t=>(e,...i)=>({_$litType$:t,strings:e,values:i}))(1),q=Symbol.for("lit-noChange"),F=Symbol.for("lit-nothing"),H=new WeakMap,L=I.createTreeWalker(I,129,null,!1),X=(t,e)=>{const i=t.length-1,o=[];let s,r=2===e?"<svg>":"",n=B;for(let e=0;e<i;e++){const i=t[e];let p,l,a=-1,f=0;for(;f<i.length&&(n.lastIndex=f,l=n.exec(i),null!==l);)f=n.lastIndex,n===B?"!--"===l[1]?n=T:void 0!==l[1]?n=W:void 0!==l[2]?(D.test(l[2])&&(s=RegExp("</"+l[2],"g")),n=K):void 0!==l[3]&&(n=K):n===K?">"===l[0]?(n=null!=s?s:B,a=-1):void 0===l[1]?a=-2:(a=n.lastIndex-l[2].length,p=l[1],n=void 0===l[3]?K:'"'===l[3]?Z:R):n===Z||n===R?n=K:n===T||n===W?n=B:(n=K,s=void 0);const h=n===K&&t[e+1].startsWith("/>")?" ":"";r+=n===B?i+E:a>=0?(o.push(p),i.slice(0,a)+"$lit$"+i.slice(a)+_+h):i+_+(-2===a?(o.push(void 0),e):h)}const p=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(p):p,o]};class Y{constructor({strings:t,_$litType$:e},i){let o;this.parts=[];let s=0,r=0;const n=t.length-1,p=this.parts,[l,a]=X(t,e);if(this.el=Y.createElement(l,i),L.currentNode=this.el.content,2===e){const t=this.el.content,e=t.firstChild;e.remove(),t.append(...e.childNodes)}for(;null!==(o=L.nextNode())&&p.length<n;){if(1===o.nodeType){if(o.hasAttributes()){const t=[];for(const e of o.getAttributeNames())if(e.endsWith("$lit$")||e.startsWith(_)){const i=a[r++];if(t.push(e),void 0!==i){const t=o.getAttribute(i.toLowerCase()+"$lit$").split(_),e=/([.?@])?(.*)/.exec(i);p.push({type:1,index:s,name:e[2],strings:t,ctor:"."===e[1]?tt:"?"===e[1]?it:"@"===e[1]?ot:V})}else p.push({type:6,index:s})}for(const e of t)o.removeAttribute(e)}if(D.test(o.tagName)){const t=o.textContent.split(_),e=t.length-1;if(e>0){o.textContent=O?O.emptyScript:"";for(let i=0;i<e;i++)o.append(t[i],M()),L.nextNode(),p.push({type:2,index:++s});o.append(t[e],M())}}}else if(8===o.nodeType)if(o.data===A)p.push({type:2,index:s});else{let t=-1;for(;-1!==(t=o.data.indexOf(_,t+1));)p.push({type:7,index:s}),t+=_.length-1}s++}}static createElement(t,e){const i=I.createElement("template");return i.innerHTML=t,i}}function J(t,e,i=t,o){var s,r,n,p;if(e===q)return e;let l=void 0!==o?null===(s=i._$Co)||void 0===s?void 0:s[o]:i._$Cl;const a=U(e)?void 0:e._$litDirective$;return(null==l?void 0:l.constructor)!==a&&(null===(r=null==l?void 0:l._$AO)||void 0===r||r.call(l,!1),void 0===a?l=void 0:(l=new a(t),l._$AT(t,i,o)),void 0!==o?(null!==(n=(p=i)._$Co)&&void 0!==n?n:p._$Co=[])[o]=l:i._$Cl=l),void 0!==l&&(e=J(t,l._$AS(t,e.values),l,o)),e}class P{constructor(t,e){this.u=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}v(t){var e;const{el:{content:i},parts:o}=this._$AD,s=(null!==(e=null==t?void 0:t.creationScope)&&void 0!==e?e:I).importNode(i,!0);L.currentNode=s;let r=L.nextNode(),n=0,p=0,l=o[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 st(r,this,t)),this.u.push(e),l=o[++p]}n!==(null==l?void 0:l.index)&&(r=L.nextNode(),n++)}return s}p(t){let e=0;for(const i of this.u)void 0!==i&&(void 0!==i.strings?(i._$AI(t,i,e),e+=i.strings.length-2):i._$AI(t[e])),e++}}class Q{constructor(t,e,i,o){var s;this.type=2,this._$AH=F,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=i,this.options=o,this._$Cm=null===(s=null==o?void 0:o.isConnected)||void 0===s||s}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=J(this,t,e),U(t)?t===F||null==t||""===t?(this._$AH!==F&&this._$AR(),this._$AH=F):t!==this._$AH&&t!==q&&this.g(t):void 0!==t._$litType$?this.$(t):void 0!==t.nodeType?this.T(t):(t=>C(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!==F&&U(this._$AH)?this._$AA.nextSibling.data=t:this.T(I.createTextNode(t)),this._$AH=t}$(t){var e;const{values:i,_$litType$:o}=t,s="number"==typeof o?this._$AC(t):(void 0===o.el&&(o.el=Y.createElement(o.h,this.options)),o);if((null===(e=this._$AH)||void 0===e?void 0:e._$AD)===s)this._$AH.p(i);else{const t=new P(s,this),e=t.v(this.options);t.p(i),this.T(e),this._$AH=t}}_$AC(t){let e=H.get(t.strings);return void 0===e&&H.set(t.strings,e=new Y(t)),e}k(t){C(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let i,o=0;for(const s of t)o===e.length?e.push(i=new Q(this.O(M()),this.O(M()),this,this.options)):i=e[o],i._$AI(s),o++;o<e.length&&(this._$AR(i&&i._$AB.nextSibling,o),e.length=o)}_$AR(t=this._$AA.nextSibling,e){var i;for(null===(i=this._$AP)||void 0===i||i.call(this,!1,!0,e);t&&t!==this._$AB;){const e=t.nextSibling;t.remove(),t=e}}setConnected(t){var e;void 0===this._$AM&&(this._$Cm=t,null===(e=this._$AP)||void 0===e||e.call(this,t))}}class V{constructor(t,e,i,o,s){this.type=1,this._$AH=F,this._$AN=void 0,this.element=t,this.name=e,this._$AM=o,this.options=s,i.length>2||""!==i[0]||""!==i[1]?(this._$AH=Array(i.length-1).fill(new String),this.strings=i):this._$AH=F}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,e=this,i,o){const s=this.strings;let r=!1;if(void 0===s)t=J(this,t,e,0),r=!U(t)||t!==this._$AH&&t!==q,r&&(this._$AH=t);else{const o=t;let n,p;for(t=s[0],n=0;n<s.length-1;n++)p=J(this,o[i+n],e,n),p===q&&(p=this._$AH[n]),r||(r=!U(p)||p!==this._$AH[n]),p===F?t=F:t!==F&&(t+=(null!=p?p:"")+s[n+1]),this._$AH[n]=p}r&&!o&&this.j(t)}j(t){t===F?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}}class tt extends V{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===F?void 0:t}}const et=O?O.emptyScript:"";class it extends V{constructor(){super(...arguments),this.type=4}j(t){t&&t!==F?this.element.setAttribute(this.name,et):this.element.removeAttribute(this.name)}}class ot extends V{constructor(t,e,i,o,s){super(t,e,i,o,s),this.type=5}_$AI(t,e=this){var i;if((t=null!==(i=J(this,t,e,0))&&void 0!==i?i:F)===q)return;const o=this._$AH,s=t===F&&o!==F||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,r=t!==F&&(o===F||s);s&&this.element.removeEventListener(this.name,this,o),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 st{constructor(t,e,i){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=i}get _$AU(){return this._$AM._$AU}_$AI(t){J(this,t)}}const rt=N.litHtmlPolyfillSupport;null==rt||rt(Y,Q),(null!==(k=N.litHtmlVersions)&&void 0!==k?k:N.litHtmlVersions=[]).push("2.4.0");
/**

@@ -124,98 +124,98 @@ * @license

*/
const rt=Symbol.for(""),nt=t=>{if((null==t?void 0:t.r)===rt)return null==t?void 0:t._$litStatic$},lt=t=>({_$litStatic$:t,r:rt}),pt=new Map,at=(t=>(e,...i)=>{const o=i.length;let s,r;const n=[],l=[];let p,a=0,f=!1;for(;a<o;){for(p=e[a];a<o&&void 0!==(r=i[a],s=nt(r));)p+=s+e[++a],f=!0;l.push(r),n.push(p),a++}if(a===o&&n.push(e[o]),f){const t=n.join("$$lit$$");void 0===(e=pt.get(t))&&(n.raw=n,pt.set(t,e=n)),i=l}return t(e,...i)})(D);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 ht=e.FtCssVariableFactory.extend("--ft-typography-font-family",e.designSystemVariables.titleFont),ct=e.FtCssVariableFactory.extend("--ft-typography-font-family",e.designSystemVariables.contentFont),dt={fontFamily:ct,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")},gt=e.FtCssVariableFactory.extend("--ft-typography-title-font-family",ht),yt=e.FtCssVariableFactory.extend("--ft-typography-title-font-size",dt.fontSize,"20px"),xt=e.FtCssVariableFactory.extend("--ft-typography-title-font-weight",dt.fontWeight,"normal"),ut=e.FtCssVariableFactory.extend("--ft-typography-title-letter-spacing",dt.letterSpacing,"0.15px"),vt=e.FtCssVariableFactory.extend("--ft-typography-title-line-height",dt.lineHeight,"1.2"),mt=e.FtCssVariableFactory.extend("--ft-typography-title-text-transform",dt.textTransform,"inherit"),bt=e.FtCssVariableFactory.extend("--ft-typography-title-dense-font-family",ht),$t=e.FtCssVariableFactory.extend("--ft-typography-title-dense-font-size",dt.fontSize,"14px"),wt=e.FtCssVariableFactory.extend("--ft-typography-title-dense-font-weight",dt.fontWeight,"normal"),kt=e.FtCssVariableFactory.extend("--ft-typography-title-dense-letter-spacing",dt.letterSpacing,"0.105px"),zt=e.FtCssVariableFactory.extend("--ft-typography-title-dense-line-height",dt.lineHeight,"1.7"),Nt=e.FtCssVariableFactory.extend("--ft-typography-title-dense-text-transform",dt.textTransform,"inherit"),jt=e.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-family",ct),St=e.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-size",dt.fontSize,"16px"),Ot=e.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-weight",dt.fontWeight,"600"),_t=e.FtCssVariableFactory.extend("--ft-typography-subtitle1-letter-spacing",dt.letterSpacing,"0.144px"),At=e.FtCssVariableFactory.extend("--ft-typography-subtitle1-line-height",dt.lineHeight,"1.5"),Et=e.FtCssVariableFactory.extend("--ft-typography-subtitle1-text-transform",dt.textTransform,"inherit"),It=e.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-family",ct),Mt=e.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-size",dt.fontSize,"14px"),Ut=e.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-weight",dt.fontWeight,"normal"),Tt=e.FtCssVariableFactory.extend("--ft-typography-subtitle2-letter-spacing",dt.letterSpacing,"0.098px"),Ct=e.FtCssVariableFactory.extend("--ft-typography-subtitle2-line-height",dt.lineHeight,"1.7"),Bt=e.FtCssVariableFactory.extend("--ft-typography-subtitle2-text-transform",dt.textTransform,"inherit"),Wt=e.FtCssVariableFactory.extend("--ft-typography-body1-font-family",ct),Kt=e.FtCssVariableFactory.extend("--ft-typography-body1-font-size",dt.fontSize,"16px"),Rt=e.FtCssVariableFactory.extend("--ft-typography-body1-font-weight",dt.fontWeight,"normal"),Zt=e.FtCssVariableFactory.extend("--ft-typography-body1-letter-spacing",dt.letterSpacing,"0.496px"),Dt=e.FtCssVariableFactory.extend("--ft-typography-body1-line-height",dt.lineHeight,"1.5"),Gt=e.FtCssVariableFactory.extend("--ft-typography-body1-text-transform",dt.textTransform,"inherit"),Pt=e.FtCssVariableFactory.extend("--ft-typography-body2-font-family",ct),qt=e.FtCssVariableFactory.extend("--ft-typography-body2-font-size",dt.fontSize,"14px"),Ft=e.FtCssVariableFactory.extend("--ft-typography-body2-font-weight",dt.fontWeight,"normal"),Ht=e.FtCssVariableFactory.extend("--ft-typography-body2-letter-spacing",dt.letterSpacing,"0.252px"),Lt=e.FtCssVariableFactory.extend("--ft-typography-body2-line-height",dt.lineHeight,"1.4"),Xt=e.FtCssVariableFactory.extend("--ft-typography-body2-text-transform",dt.textTransform,"inherit"),Yt=e.FtCssVariableFactory.extend("--ft-typography-caption-font-family",ct),Jt=e.FtCssVariableFactory.extend("--ft-typography-caption-font-size",dt.fontSize,"12px"),Qt=e.FtCssVariableFactory.extend("--ft-typography-caption-font-weight",dt.fontWeight,"normal"),Vt=e.FtCssVariableFactory.extend("--ft-typography-caption-letter-spacing",dt.letterSpacing,"0.396px"),te=e.FtCssVariableFactory.extend("--ft-typography-caption-line-height",dt.lineHeight,"1.33"),ee=e.FtCssVariableFactory.extend("--ft-typography-caption-text-transform",dt.textTransform,"inherit"),ie=e.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-family",ct),oe=e.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-size",dt.fontSize,"10px"),se=e.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-weight",dt.fontWeight,"normal"),re=e.FtCssVariableFactory.extend("--ft-typography-breadcrumb-letter-spacing",dt.letterSpacing,"0.33px"),ne=e.FtCssVariableFactory.extend("--ft-typography-breadcrumb-line-height",dt.lineHeight,"1.6"),le=e.FtCssVariableFactory.extend("--ft-typography-breadcrumb-text-transform",dt.textTransform,"inherit"),pe=e.FtCssVariableFactory.extend("--ft-typography-overline-font-family",ct),ae=e.FtCssVariableFactory.extend("--ft-typography-overline-font-size",dt.fontSize,"10px"),fe=e.FtCssVariableFactory.extend("--ft-typography-overline-font-weight",dt.fontWeight,"normal"),he=e.FtCssVariableFactory.extend("--ft-typography-overline-letter-spacing",dt.letterSpacing,"1.5px"),ce=e.FtCssVariableFactory.extend("--ft-typography-overline-line-height",dt.lineHeight,"1.6"),de=e.FtCssVariableFactory.extend("--ft-typography-overline-text-transform",dt.textTransform,"uppercase"),ge=e.FtCssVariableFactory.extend("--ft-typography-button-font-family",ct),ye=e.FtCssVariableFactory.extend("--ft-typography-button-font-size",dt.fontSize,"14px"),xe=e.FtCssVariableFactory.extend("--ft-typography-button-font-weight",dt.fontWeight,"600"),ue=e.FtCssVariableFactory.extend("--ft-typography-button-letter-spacing",dt.letterSpacing,"1.246px"),ve=e.FtCssVariableFactory.extend("--ft-typography-button-line-height",dt.lineHeight,"1.15"),me=e.FtCssVariableFactory.extend("--ft-typography-button-text-transform",dt.textTransform,"uppercase"),be=i.css`
const nt=Symbol.for(""),pt=t=>{if((null==t?void 0:t.r)===nt)return null==t?void 0:t._$litStatic$},lt=t=>({_$litStatic$:t,r:nt}),at=new Map,ft=(t=>(e,...i)=>{const o=i.length;let s,r;const n=[],p=[];let l,a=0,f=!1;for(;a<o;){for(l=e[a];a<o&&void 0!==(r=i[a],s=pt(r));)l+=s+e[++a],f=!0;p.push(r),n.push(l),a++}if(a===o&&n.push(e[o]),f){const t=n.join("$$lit$$");void 0===(e=at.get(t))&&(n.raw=n,at.set(t,e=n)),i=p}return t(e,...i)})(G);var ht;!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"}(ht||(ht={}));const ct=e.FtCssVariableFactory.extend("--ft-typography-font-family",e.designSystemVariables.titleFont),dt=e.FtCssVariableFactory.extend("--ft-typography-font-family",e.designSystemVariables.contentFont),gt={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")},yt=e.FtCssVariableFactory.extend("--ft-typography-title-font-family",ct),xt=e.FtCssVariableFactory.extend("--ft-typography-title-font-size",gt.fontSize,"20px"),ut=e.FtCssVariableFactory.extend("--ft-typography-title-font-weight",gt.fontWeight,"normal"),vt=e.FtCssVariableFactory.extend("--ft-typography-title-letter-spacing",gt.letterSpacing,"0.15px"),mt=e.FtCssVariableFactory.extend("--ft-typography-title-line-height",gt.lineHeight,"1.2"),bt=e.FtCssVariableFactory.extend("--ft-typography-title-text-transform",gt.textTransform,"inherit"),$t=e.FtCssVariableFactory.extend("--ft-typography-title-dense-font-family",ct),wt=e.FtCssVariableFactory.extend("--ft-typography-title-dense-font-size",gt.fontSize,"14px"),kt=e.FtCssVariableFactory.extend("--ft-typography-title-dense-font-weight",gt.fontWeight,"normal"),zt=e.FtCssVariableFactory.extend("--ft-typography-title-dense-letter-spacing",gt.letterSpacing,"0.105px"),jt=e.FtCssVariableFactory.extend("--ft-typography-title-dense-line-height",gt.lineHeight,"1.7"),Nt=e.FtCssVariableFactory.extend("--ft-typography-title-dense-text-transform",gt.textTransform,"inherit"),Ot=e.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-family",dt),St=e.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-size",gt.fontSize,"16px"),_t=e.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-weight",gt.fontWeight,"600"),At=e.FtCssVariableFactory.extend("--ft-typography-subtitle1-letter-spacing",gt.letterSpacing,"0.144px"),Et=e.FtCssVariableFactory.extend("--ft-typography-subtitle1-line-height",gt.lineHeight,"1.5"),It=e.FtCssVariableFactory.extend("--ft-typography-subtitle1-text-transform",gt.textTransform,"inherit"),Mt=e.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-family",dt),Ut=e.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-size",gt.fontSize,"14px"),Ct=e.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-weight",gt.fontWeight,"normal"),Bt=e.FtCssVariableFactory.extend("--ft-typography-subtitle2-letter-spacing",gt.letterSpacing,"0.098px"),Tt=e.FtCssVariableFactory.extend("--ft-typography-subtitle2-line-height",gt.lineHeight,"1.7"),Wt=e.FtCssVariableFactory.extend("--ft-typography-subtitle2-text-transform",gt.textTransform,"inherit"),Kt=e.FtCssVariableFactory.extend("--ft-typography-body1-font-family",dt),Rt=e.FtCssVariableFactory.extend("--ft-typography-body1-font-size",gt.fontSize,"16px"),Zt=e.FtCssVariableFactory.extend("--ft-typography-body1-font-weight",gt.fontWeight,"normal"),Dt=e.FtCssVariableFactory.extend("--ft-typography-body1-letter-spacing",gt.letterSpacing,"0.496px"),Gt=e.FtCssVariableFactory.extend("--ft-typography-body1-line-height",gt.lineHeight,"1.5"),qt=e.FtCssVariableFactory.extend("--ft-typography-body1-text-transform",gt.textTransform,"inherit"),Ft=e.FtCssVariableFactory.extend("--ft-typography-body2-font-family",dt),Ht=e.FtCssVariableFactory.extend("--ft-typography-body2-font-size",gt.fontSize,"14px"),Lt=e.FtCssVariableFactory.extend("--ft-typography-body2-font-weight",gt.fontWeight,"normal"),Xt=e.FtCssVariableFactory.extend("--ft-typography-body2-letter-spacing",gt.letterSpacing,"0.252px"),Yt=e.FtCssVariableFactory.extend("--ft-typography-body2-line-height",gt.lineHeight,"1.4"),Jt=e.FtCssVariableFactory.extend("--ft-typography-body2-text-transform",gt.textTransform,"inherit"),Pt=e.FtCssVariableFactory.extend("--ft-typography-caption-font-family",dt),Qt=e.FtCssVariableFactory.extend("--ft-typography-caption-font-size",gt.fontSize,"12px"),Vt=e.FtCssVariableFactory.extend("--ft-typography-caption-font-weight",gt.fontWeight,"normal"),te=e.FtCssVariableFactory.extend("--ft-typography-caption-letter-spacing",gt.letterSpacing,"0.396px"),ee=e.FtCssVariableFactory.extend("--ft-typography-caption-line-height",gt.lineHeight,"1.33"),ie=e.FtCssVariableFactory.extend("--ft-typography-caption-text-transform",gt.textTransform,"inherit"),oe=e.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-family",dt),se=e.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-size",gt.fontSize,"10px"),re=e.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-weight",gt.fontWeight,"normal"),ne=e.FtCssVariableFactory.extend("--ft-typography-breadcrumb-letter-spacing",gt.letterSpacing,"0.33px"),pe=e.FtCssVariableFactory.extend("--ft-typography-breadcrumb-line-height",gt.lineHeight,"1.6"),le=e.FtCssVariableFactory.extend("--ft-typography-breadcrumb-text-transform",gt.textTransform,"inherit"),ae=e.FtCssVariableFactory.extend("--ft-typography-overline-font-family",dt),fe=e.FtCssVariableFactory.extend("--ft-typography-overline-font-size",gt.fontSize,"10px"),he=e.FtCssVariableFactory.extend("--ft-typography-overline-font-weight",gt.fontWeight,"normal"),ce=e.FtCssVariableFactory.extend("--ft-typography-overline-letter-spacing",gt.letterSpacing,"1.5px"),de=e.FtCssVariableFactory.extend("--ft-typography-overline-line-height",gt.lineHeight,"1.6"),ge=e.FtCssVariableFactory.extend("--ft-typography-overline-text-transform",gt.textTransform,"uppercase"),ye=e.FtCssVariableFactory.extend("--ft-typography-button-font-family",dt),xe=e.FtCssVariableFactory.extend("--ft-typography-button-font-size",gt.fontSize,"14px"),ue=e.FtCssVariableFactory.extend("--ft-typography-button-font-weight",gt.fontWeight,"600"),ve=e.FtCssVariableFactory.extend("--ft-typography-button-letter-spacing",gt.letterSpacing,"1.246px"),me=e.FtCssVariableFactory.extend("--ft-typography-button-line-height",gt.lineHeight,"1.15"),be=e.FtCssVariableFactory.extend("--ft-typography-button-text-transform",gt.textTransform,"uppercase"),$e=i.css`
.ft-typography--title {
font-family: ${gt};
font-size: ${yt};
font-weight: ${xt};
letter-spacing: ${ut};
line-height: ${vt};
text-transform: ${mt};
font-family: ${yt};
font-size: ${xt};
font-weight: ${ut};
letter-spacing: ${vt};
line-height: ${mt};
text-transform: ${bt};
}
`,$e=i.css`
`,we=i.css`
.ft-typography--title-dense {
font-family: ${bt};
font-size: ${$t};
font-weight: ${wt};
letter-spacing: ${kt};
line-height: ${zt};
font-family: ${$t};
font-size: ${wt};
font-weight: ${kt};
letter-spacing: ${zt};
line-height: ${jt};
text-transform: ${Nt};
}
`,we=i.css`
`,ke=i.css`
.ft-typography--subtitle1 {
font-family: ${jt};
font-family: ${Ot};
font-size: ${St};
font-weight: ${Ot};
letter-spacing: ${_t};
line-height: ${At};
text-transform: ${Et};
font-weight: ${_t};
letter-spacing: ${At};
line-height: ${Et};
text-transform: ${It};
}
`,ke=i.css`
`,ze=i.css`
.ft-typography--subtitle2 {
font-family: ${It};
font-size: ${Mt};
font-weight: ${Ut};
letter-spacing: ${Tt};
line-height: ${Ct};
text-transform: ${Bt};
font-family: ${Mt};
font-size: ${Ut};
font-weight: ${Ct};
letter-spacing: ${Bt};
line-height: ${Tt};
text-transform: ${Wt};
}
`,ze=i.css`
`,je=i.css`
.ft-typography--body1 {
font-family: ${Wt};
font-size: ${Kt};
font-weight: ${Rt};
letter-spacing: ${Zt};
line-height: ${Dt};
text-transform: ${Gt};
font-family: ${Kt};
font-size: ${Rt};
font-weight: ${Zt};
letter-spacing: ${Dt};
line-height: ${Gt};
text-transform: ${qt};
}
`,Ne=i.css`
.ft-typography--body2 {
font-family: ${Pt};
font-size: ${qt};
font-weight: ${Ft};
letter-spacing: ${Ht};
line-height: ${Lt};
text-transform: ${Xt};
font-family: ${Ft};
font-size: ${Ht};
font-weight: ${Lt};
letter-spacing: ${Xt};
line-height: ${Yt};
text-transform: ${Jt};
}
`,je=i.css`
`,Oe=i.css`
.ft-typography--caption {
font-family: ${Yt};
font-size: ${Jt};
font-weight: ${Qt};
letter-spacing: ${Vt};
line-height: ${te};
text-transform: ${ee};
font-family: ${Pt};
font-size: ${Qt};
font-weight: ${Vt};
letter-spacing: ${te};
line-height: ${ee};
text-transform: ${ie};
}
`,Se=i.css`
.ft-typography--breadcrumb {
font-family: ${ie};
font-size: ${oe};
font-weight: ${se};
letter-spacing: ${re};
line-height: ${ne};
font-family: ${oe};
font-size: ${se};
font-weight: ${re};
letter-spacing: ${ne};
line-height: ${pe};
text-transform: ${le};
}
`,Oe=i.css`
`,_e=i.css`
.ft-typography--overline {
font-family: ${pe};
font-size: ${ae};
font-weight: ${fe};
letter-spacing: ${he};
line-height: ${ce};
text-transform: ${de};
font-family: ${ae};
font-size: ${fe};
font-weight: ${he};
letter-spacing: ${ce};
line-height: ${de};
text-transform: ${ge};
}
`,_e=i.css`
`,Ae=i.css`
.ft-typography--button {
font-family: ${ge};
font-size: ${ye};
font-weight: ${xe};
letter-spacing: ${ue};
line-height: ${ve};
text-transform: ${me};
font-family: ${ye};
font-size: ${xe};
font-weight: ${ue};
letter-spacing: ${ve};
line-height: ${me};
text-transform: ${be};
}
`,Ae=i.css`
`,Ee=i.css`
.ft-typography {
vertical-align: inherit;
}
`;var Ee,Ie,Me=function(t,e,i,o){for(var s,r=arguments.length,n=r<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,l=t.length-1;l>=0;l--)(s=t[l])&&(n=(r<3?s(n):r>3?s(e,i,n):s(e,i))||n);return r>3&&n&&Object.defineProperty(e,i,n),n};class Ue extends e.FtLitElement{constructor(){super(...arguments),this.variant=ft.body1}render(){return this.element?at`
`;var Ie,Me,Ue=function(t,e,i,o){for(var s,r=arguments.length,n=r<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,p=t.length-1;p>=0;p--)(s=t[p])&&(n=(r<3?s(n):r>3?s(e,i,n):s(e,i))||n);return r>3&&n&&Object.defineProperty(e,i,n),n};class Ce extends e.FtLitElement{constructor(){super(...arguments),this.variant=ht.body1}render(){return this.element?ft`
<${lt(this.element)}

@@ -225,5 +225,5 @@ class="ft-typography ft-typography--${this.variant}">

</${lt(this.element)}>
`:at`
`:ft`
<slot class="ft-typography ft-typography--${this.variant}"></slot>
`}}Ue.styles=[be,$e,we,ke,ze,Ne,je,Se,Oe,_e,Ae],Me([o.property()],Ue.prototype,"element",void 0),Me([o.property()],Ue.prototype,"variant",void 0),e.customElement("ft-typography")(Ue),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;"}(Ee||(Ee={})),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;"}(Ie||(Ie={})),new Map([...["abw"].map((t=>[t,Ie.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,Ie.AUDIO])),...["avi"].map((t=>[t,Ie.AVI])),...["chm","xhs"].map((t=>[t,Ie.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,Ie.CODE])),...["csv"].map((t=>[t,Ie.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,Ie.DITA])),...["epub"].map((t=>[t,Ie.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,Ie.EXCEL])),...["flac"].map((t=>[t,Ie.FLAC])),...["gif"].map((t=>[t,Ie.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,Ie.GZIP])),...["html","htm","xhtml"].map((t=>[t,Ie.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,Ie.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,Ie.JPEG])),...["json"].map((t=>[t,Ie.JSON])),...["m4a","m4p"].map((t=>[t,Ie.M4A])),...["mov","qt"].map((t=>[t,Ie.MOV])),...["mp3"].map((t=>[t,Ie.MP3])),...["mp4","m4v"].map((t=>[t,Ie.MP4])),...["ogg","oga"].map((t=>[t,Ie.OGG])),...["pdf","ps"].map((t=>[t,Ie.PDF])),...["png"].map((t=>[t,Ie.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,Ie.POWERPOINT])),...["rar"].map((t=>[t,Ie.RAR])),...["stp"].map((t=>[t,Ie.STP])),...["txt","rtf","md","mdown"].map((t=>[t,Ie.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,Ie.VIDEO])),...["wav"].map((t=>[t,Ie.WAV])),...["wma"].map((t=>[t,Ie.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,Ie.WORD])),...["xml","xsl","rdf"].map((t=>[t,Ie.XML])),...["yaml","yml","x-yaml"].map((t=>[t,Ie.YAML])),...["zip"].map((t=>[t,Ie.ZIP]))]);const Te=e.FtCssVariableFactory.create("--ft-icon-font-size","SIZE","24px"),Ce=e.FtCssVariableFactory.extend("--ft-icon-fluid-topics-font-family",e.FtCssVariableFactory.create("--ft-icon-font-family","UNKNOWN","ft-icons")),Be=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")),Ke=e.FtCssVariableFactory.create("--ft-icon-vertical-align","UNKNOWN","unset"),Re=i.css`
`}}Ce.styles=[$e,we,ke,ze,je,Ne,Oe,Se,_e,Ae,Ee],Ue([o.property()],Ce.prototype,"element",void 0),Ue([o.property()],Ce.prototype,"variant",void 0),e.customElement("ft-typography")(Ce),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;"}(Ie||(Ie={})),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;"}(Me||(Me={})),new Map([...["abw"].map((t=>[t,Me.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,Me.AUDIO])),...["avi"].map((t=>[t,Me.AVI])),...["chm","xhs"].map((t=>[t,Me.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,Me.CODE])),...["csv"].map((t=>[t,Me.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,Me.DITA])),...["epub"].map((t=>[t,Me.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,Me.EXCEL])),...["flac"].map((t=>[t,Me.FLAC])),...["gif"].map((t=>[t,Me.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,Me.GZIP])),...["html","htm","xhtml"].map((t=>[t,Me.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,Me.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,Me.JPEG])),...["json"].map((t=>[t,Me.JSON])),...["m4a","m4p"].map((t=>[t,Me.M4A])),...["mov","qt"].map((t=>[t,Me.MOV])),...["mp3"].map((t=>[t,Me.MP3])),...["mp4","m4v"].map((t=>[t,Me.MP4])),...["ogg","oga"].map((t=>[t,Me.OGG])),...["pdf","ps"].map((t=>[t,Me.PDF])),...["png"].map((t=>[t,Me.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,Me.POWERPOINT])),...["rar"].map((t=>[t,Me.RAR])),...["stp"].map((t=>[t,Me.STP])),...["txt","rtf","md","mdown"].map((t=>[t,Me.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,Me.VIDEO])),...["wav"].map((t=>[t,Me.WAV])),...["wma"].map((t=>[t,Me.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,Me.WORD])),...["xml","xsl","rdf"].map((t=>[t,Me.XML])),...["yaml","yml","x-yaml"].map((t=>[t,Me.YAML])),...["zip"].map((t=>[t,Me.ZIP]))]);const Be=e.FtCssVariableFactory.create("--ft-icon-font-size","SIZE","24px"),Te=e.FtCssVariableFactory.extend("--ft-icon-fluid-topics-font-family",e.FtCssVariableFactory.create("--ft-icon-font-family","UNKNOWN","ft-icons")),We=e.FtCssVariableFactory.extend("--ft-icon-file-format-font-family",e.FtCssVariableFactory.create("--ft-icon-font-family","UNKNOWN","ft-mime")),Ke=e.FtCssVariableFactory.extend("--ft-icon-material-font-family",e.FtCssVariableFactory.create("--ft-icon-font-family","UNKNOWN","Material Icons")),Re=e.FtCssVariableFactory.create("--ft-icon-vertical-align","UNKNOWN","unset"),Ze=i.css`
:host {

@@ -234,4 +234,4 @@ display: inline-block;

:host, i.ft-icon {
width: ${Te};
height: ${Te};
width: ${Be};
height: ${Be};
text-align: center;

@@ -241,3 +241,3 @@ }

i.ft-icon {
font-size: ${Te};
font-size: ${Be};
line-height: 1;

@@ -253,17 +253,17 @@ font-weight: normal;

-moz-osx-font-smoothing: grayscale;
vertical-align: ${Ke};
vertical-align: ${Re};
}
.ft-icon--fluid-topics {
font-family: ${Ce}, ft-icons, fticons, sans-serif;
font-family: ${Te}, ft-icons, fticons, sans-serif;
}
.ft-icon--file-format {
font-family: ${Be}, ft-mime, sans-serif;
font-family: ${We}, ft-mime, sans-serif;
}
.ft-icon--material {
font-family: ${We}, "Material Icons", sans-serif;
font-family: ${Ke}, "Material Icons", sans-serif;
}
`;var Ze;!function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(Ze||(Ze={}));var De=function(t,e,i,o){for(var s,r=arguments.length,n=r<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,l=t.length-1;l>=0;l--)(s=t[l])&&(n=(r<3?s(n):r>3?s(e,i,n):s(e,i))||n);return r>3&&n&&Object.defineProperty(e,i,n),n};class Ge extends e.FtLitElement{constructor(){super(...arguments),this.variant=Ze.fluid_topics,this.resolvedIcon=i.nothing}render(){const t="material"!==this.variant||this.value;return i.html`
`;var De;!function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(De||(De={}));var Ge=function(t,e,i,o){for(var s,r=arguments.length,n=r<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,p=t.length-1;p>=0;p--)(s=t[p])&&(n=(r<3?s(n):r>3?s(e,i,n):s(e,i))||n);return r>3&&n&&Object.defineProperty(e,i,n),n};class qe extends e.FtLitElement{constructor(){super(...arguments),this.variant=De.fluid_topics,this.resolvedIcon=i.nothing}render(){const t="material"!==this.variant||this.value;return i.html`
<i class="ft-icon ${"ft-icon--"+this.variant}">

@@ -273,3 +273,3 @@ ${r.unsafeHTML(this.resolvedIcon)}

</i>
`}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 o=this.value||this.textContent;switch(this.variant){case Ze.file_format:this.resolvedIcon=null!==(t=Ie[o.toUpperCase()])&&void 0!==t?t:o;break;case Ze.fluid_topics:this.resolvedIcon=null!==(e=Ee[o.toUpperCase()])&&void 0!==e?e:o;break;default:this.resolvedIcon=this.value||i.nothing}}firstUpdated(t){super.firstUpdated(t),setTimeout((()=>{this.resolveIcon()}))}}Ge.elementDefinitions={},Ge.styles=Re,De([o.property()],Ge.prototype,"variant",void 0),De([o.property()],Ge.prototype,"value",void 0),De([o.state()],Ge.prototype,"resolvedIcon",void 0),De([o.query("slot")],Ge.prototype,"slottedContent",void 0),e.customElement("ft-icon")(Ge);const Pe={horizontalSpacing:e.FtCssVariableFactory.create("--ft-accordion-toggle-horizontal-spacing","SIZE","16px"),verticalSpacing:e.FtCssVariableFactory.create("--ft-accordion-toggle-vertical-spacing","SIZE","16px"),colorOutline:e.FtCssVariableFactory.external(e.designSystemVariables.colorOutline,"Design system")},qe=i.css`
`}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 o=this.value||this.textContent;switch(this.variant){case De.file_format:this.resolvedIcon=null!==(t=Me[o.toUpperCase()])&&void 0!==t?t:o;break;case De.fluid_topics:this.resolvedIcon=null!==(e=Ie[o.toUpperCase()])&&void 0!==e?e:o;break;default:this.resolvedIcon=this.value||i.nothing}}firstUpdated(t){super.firstUpdated(t),setTimeout((()=>{this.resolveIcon()}))}}qe.elementDefinitions={},qe.styles=Ze,Ge([o.property()],qe.prototype,"variant",void 0),Ge([o.property()],qe.prototype,"value",void 0),Ge([o.state()],qe.prototype,"resolvedIcon",void 0),Ge([o.query("slot")],qe.prototype,"slottedContent",void 0),e.customElement("ft-icon")(qe);const Fe={horizontalSpacing:e.FtCssVariableFactory.create("--ft-accordion-toggle-horizontal-spacing","SIZE","16px"),verticalSpacing:e.FtCssVariableFactory.create("--ft-accordion-toggle-vertical-spacing","SIZE","16px"),colorOutline:e.FtCssVariableFactory.external(e.designSystemVariables.colorOutline,"Design system")},He=i.css`
.ft-accordion-item {

@@ -287,4 +287,4 @@ display: flex;

cursor: pointer;
padding: ${Pe.verticalSpacing} ${Pe.horizontalSpacing};
gap: calc(${Pe.horizontalSpacing} / 2);
padding: ${Fe.verticalSpacing} ${Fe.horizontalSpacing};
gap: calc(${Fe.horizontalSpacing} / 2);
outline: none;

@@ -314,9 +314,9 @@ }

overflow: visible;
padding: ${Pe.verticalSpacing} ${Pe.horizontalSpacing};
padding: ${Fe.verticalSpacing} ${Fe.horizontalSpacing};
}
.ft-accordion-item--separator {
border-bottom: 1px solid ${Pe.colorOutline};
border-bottom: 1px solid ${Fe.colorOutline};
}
`;var Fe=function(t,e,i,o){for(var s,r=arguments.length,n=r<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,l=t.length-1;l>=0;l--)(s=t[l])&&(n=(r<3?s(n):r>3?s(e,i,n):s(e,i))||n);return r>3&&n&&Object.defineProperty(e,i,n),n};class He extends e.FtLitElement{constructor(){super(...arguments),this.icon="",this.label="",this.active=!1}render(){return i.html`
`;var Le=function(t,e,i,o){for(var s,r=arguments.length,n=r<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,p=t.length-1;p>=0;p--)(s=t[p])&&(n=(r<3?s(n):r>3?s(e,i,n):s(e,i))||n);return r>3&&n&&Object.defineProperty(e,i,n),n};class Xe extends e.FtLitElement{constructor(){super(...arguments),this.icon="",this.label="",this.active=!1}render(){return i.html`
<div class="ft-accordion-item ${this.active?"ft-accordion-item--active":""}">

@@ -345,2 +345,2 @@ <div class="ft-accordion-item--toggle"

</div>
`}update(t){super.update(t),t.has("active")&&this.active&&this.dispatchEvent(new Event("activated",{composed:!0,bubbles:!0}))}onToggleKeyDown(t){"Enter"!==t.key&&" "!==t.key||(t.preventDefault(),this.active=!this.active)}}He.elementDefinitions={"ft-ripple":N,"ft-typography":Ue,"ft-icon":Ge},He.styles=qe,Fe([o.property({type:String})],He.prototype,"icon",void 0),Fe([o.property({type:String})],He.prototype,"label",void 0),Fe([o.property({type:Boolean,reflect:!0})],He.prototype,"active",void 0),e.customElement("ft-accordion")(p),e.customElement("ft-accordion-item")(He),t.FtAccordion=p,t.FtAccordionCssVariables={},t.FtAccordionItem=He,t.FtAccordionItemCssVariables=Pe,t.itemStyles=qe,t.styles=n,Object.defineProperty(t,"t",{value:!0})}({},ftGlobals.wcUtils,ftGlobals.lit,ftGlobals.litDecorators,ftGlobals.litClassMap,ftGlobals.litUnsafeHTML);
`}update(t){super.update(t),t.has("active")&&this.active&&this.dispatchEvent(new Event("activated",{composed:!0,bubbles:!0}))}onToggleKeyDown(t){"Enter"!==t.key&&" "!==t.key||(t.preventDefault(),this.active=!this.active)}}Xe.elementDefinitions={"ft-ripple":j,"ft-typography":Ce,"ft-icon":qe},Xe.styles=He,Le([o.property({type:String})],Xe.prototype,"icon",void 0),Le([o.property({type:String})],Xe.prototype,"label",void 0),Le([o.property({type:Boolean,reflect:!0})],Xe.prototype,"active",void 0),e.customElement("ft-accordion")(l),e.customElement("ft-accordion-item")(Xe),t.FtAccordion=l,t.FtAccordionCssVariables={},t.FtAccordionItem=Xe,t.FtAccordionItemCssVariables=Fe,t.itemStyles=He,t.styles=n,Object.defineProperty(t,"t",{value:!0})}({},ftGlobals.wcUtils,ftGlobals.lit,ftGlobals.litDecorators,ftGlobals.litClassMap,ftGlobals.litUnsafeHTML);
{
"name": "@fluid-topics/ft-accordion",
"version": "0.3.19",
"version": "0.3.20",
"description": "The accordion component allows the user to show and hide sections of related content on a page.",

@@ -22,9 +22,9 @@ "keywords": [

"dependencies": {
"@fluid-topics/ft-icon": "0.3.19",
"@fluid-topics/ft-ripple": "0.3.19",
"@fluid-topics/ft-typography": "0.3.19",
"@fluid-topics/ft-wc-utils": "0.3.19",
"@fluid-topics/ft-icon": "0.3.20",
"@fluid-topics/ft-ripple": "0.3.20",
"@fluid-topics/ft-typography": "0.3.20",
"@fluid-topics/ft-wc-utils": "0.3.20",
"lit": "2.2.8"
},
"gitHead": "675c2ceb687246109347352e64772e8ebad2cc17"
"gitHead": "f06e98f4cd6c9f9ae741ca86f9a24cb84ce15ec5"
}

Sorry, the diff of this file is too big to display