@fluid-topics/ft-collapsible 0.3.21 → 0.3.22

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.
@@ -56,7 +56,7 @@ const h=window,c=h.ShadowRoot&&(void 0===h.ShadyCSS||h.ShadyCSS.nativeShadow)&&"
56
56
  * Copyright 2017 Google LLC
57
57
  * SPDX-License-Identifier: BSD-3-Clause
58
58
  */
59
- var E;C.finalized=!0,C.elementProperties=new Map,C.elementStyles=[],C.shadowRootOptions={mode:"open"},null==O||O({ReactiveElement:C}),(null!==(g=m.reactiveElementVersions)&&void 0!==g?g:m.reactiveElementVersions=[]).push("1.4.1");const R=window,M=R.trustedTypes,z=M?M.createPolicy("lit-html",{createHTML:t=>t}):void 0,F=`lit$${(Math.random()+"").slice(9)}$`,U="?"+F,j=`<${U}>`,B=document,A=(t="")=>B.createComment(t),T=t=>null===t||"object"!=typeof t&&"function"!=typeof t,L=Array.isArray,_=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,P=/-->/g,D=/>/g,I=RegExp(">|[ \t\n\f\r](?:([^\\s\"'>=/]+)([ \t\n\f\r]*=[ \t\n\f\r]*(?:[^ \t\n\f\r\"'`<>=]|(\"|')|))|$)","g"),W=/'/g,H=/"/g,K=/^(?:script|style|textarea|title)$/i,Z=(t=>(e,...i)=>({_$litType$:t,strings:e,values:i}))(1),V=Symbol.for("lit-noChange"),J=Symbol.for("lit-nothing"),q=new WeakMap,X=B.createTreeWalker(B,129,null,!1),Y=(t,e)=>{const i=t.length-1,o=[];let n,r=2===e?"<svg>":"",s=_;for(let e=0;e<i;e++){const i=t[e];let a,l,p=-1,h=0;for(;h<i.length&&(s.lastIndex=h,l=s.exec(i),null!==l);)h=s.lastIndex,s===_?"!--"===l[1]?s=P:void 0!==l[1]?s=D:void 0!==l[2]?(K.test(l[2])&&(n=RegExp("</"+l[2],"g")),s=I):void 0!==l[3]&&(s=I):s===I?">"===l[0]?(s=null!=n?n:_,p=-1):void 0===l[1]?p=-2:(p=s.lastIndex-l[2].length,a=l[1],s=void 0===l[3]?I:'"'===l[3]?H:W):s===H||s===W?s=I:s===P||s===D?s=_:(s=I,n=void 0);const c=s===I&&t[e+1].startsWith("/>")?" ":"";r+=s===_?i+j:p>=0?(o.push(a),i.slice(0,p)+"$lit$"+i.slice(p)+F+c):i+F+(-2===p?(o.push(void 0),e):c)}const a=r+(t[i]||"<?>")+(2===e?"</svg>":"");if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return[void 0!==z?z.createHTML(a):a,o]};class G{constructor({strings:t,_$litType$:e},i){let o;this.parts=[];let n=0,r=0;const s=t.length-1,a=this.parts,[l,p]=Y(t,e);if(this.el=G.createElement(l,i),X.currentNode=this.el.content,2===e){const t=this.el.content,e=t.firstChild;e.remove(),t.append(...e.childNodes)}for(;null!==(o=X.nextNode())&&a.length<s;){if(1===o.nodeType){if(o.hasAttributes()){const t=[];for(const e of o.getAttributeNames())if(e.endsWith("$lit$")||e.startsWith(F)){const i=p[r++];if(t.push(e),void 0!==i){const t=o.getAttribute(i.toLowerCase()+"$lit$").split(F),e=/([.?@])?(.*)/.exec(i);a.push({type:1,index:n,name:e[2],strings:t,ctor:"."===e[1]?ot:"?"===e[1]?rt:"@"===e[1]?st:it})}else a.push({type:6,index:n})}for(const e of t)o.removeAttribute(e)}if(K.test(o.tagName)){const t=o.textContent.split(F),e=t.length-1;if(e>0){o.textContent=M?M.emptyScript:"";for(let i=0;i<e;i++)o.append(t[i],A()),X.nextNode(),a.push({type:2,index:++n});o.append(t[e],A())}}}else if(8===o.nodeType)if(o.data===U)a.push({type:2,index:n});else{let t=-1;for(;-1!==(t=o.data.indexOf(F,t+1));)a.push({type:7,index:n}),t+=F.length-1}n++}}static createElement(t,e){const i=B.createElement("template");return i.innerHTML=t,i}}function Q(t,e,i=t,o){var n,r,s,a;if(e===V)return e;let l=void 0!==o?null===(n=i._$Co)||void 0===n?void 0:n[o]:i._$Cl;const p=T(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,o)),void 0!==o?(null!==(s=(a=i)._$Co)&&void 0!==s?s:a._$Co=[])[o]=l:i._$Cl=l),void 0!==l&&(e=Q(t,l._$AS(t,e.values),l,o)),e}class tt{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,n=(null!==(e=null==t?void 0:t.creationScope)&&void 0!==e?e:B).importNode(i,!0);X.currentNode=n;let r=X.nextNode(),s=0,a=0,l=o[0];for(;void 0!==l;){if(s===l.index){let e;2===l.type?e=new et(r,r.nextSibling,this,t):1===l.type?e=new l.ctor(r,l.name,l.strings,this,t):6===l.type&&(e=new at(r,this,t)),this.u.push(e),l=o[++a]}s!==(null==l?void 0:l.index)&&(r=X.nextNode(),s++)}return n}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 et{constructor(t,e,i,o){var n;this.type=2,this._$AH=J,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=i,this.options=o,this._$Cm=null===(n=null==o?void 0:o.isConnected)||void 0===n||n}get _$AU(){var t,e;return null!==(e=null===(t=this._$AM)||void 0===t?void 0:t._$AU)&&void 0!==e?e:this._$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=Q(this,t,e),T(t)?t===J||null==t||""===t?(this._$AH!==J&&this._$AR(),this._$AH=J):t!==this._$AH&&t!==V&&this.g(t):void 0!==t._$litType$?this.$(t):void 0!==t.nodeType?this.T(t):(t=>L(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!==J&&T(this._$AH)?this._$AA.nextSibling.data=t:this.T(B.createTextNode(t)),this._$AH=t}$(t){var e;const{values:i,_$litType$:o}=t,n="number"==typeof o?this._$AC(t):(void 0===o.el&&(o.el=G.createElement(o.h,this.options)),o);if((null===(e=this._$AH)||void 0===e?void 0:e._$AD)===n)this._$AH.p(i);else{const t=new tt(n,this),e=t.v(this.options);t.p(i),this.T(e),this._$AH=t}}_$AC(t){let e=q.get(t.strings);return void 0===e&&q.set(t.strings,e=new G(t)),e}k(t){L(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let i,o=0;for(const n of t)o===e.length?e.push(i=new et(this.O(A()),this.O(A()),this,this.options)):i=e[o],i._$AI(n),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 it{constructor(t,e,i,o,n){this.type=1,this._$AH=J,this._$AN=void 0,this.element=t,this.name=e,this._$AM=o,this.options=n,i.length>2||""!==i[0]||""!==i[1]?(this._$AH=Array(i.length-1).fill(new String),this.strings=i):this._$AH=J}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,e=this,i,o){const n=this.strings;let r=!1;if(void 0===n)t=Q(this,t,e,0),r=!T(t)||t!==this._$AH&&t!==V,r&&(this._$AH=t);else{const o=t;let s,a;for(t=n[0],s=0;s<n.length-1;s++)a=Q(this,o[i+s],e,s),a===V&&(a=this._$AH[s]),r||(r=!T(a)||a!==this._$AH[s]),a===J?t=J:t!==J&&(t+=(null!=a?a:"")+n[s+1]),this._$AH[s]=a}r&&!o&&this.j(t)}j(t){t===J?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}}class ot extends it{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===J?void 0:t}}const nt=M?M.emptyScript:"";class rt extends it{constructor(){super(...arguments),this.type=4}j(t){t&&t!==J?this.element.setAttribute(this.name,nt):this.element.removeAttribute(this.name)}}class st extends it{constructor(t,e,i,o,n){super(t,e,i,o,n),this.type=5}_$AI(t,e=this){var i;if((t=null!==(i=Q(this,t,e,0))&&void 0!==i?i:J)===V)return;const o=this._$AH,n=t===J&&o!==J||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,r=t!==J&&(o===J||n);n&&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 at{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){Q(this,t)}}const lt=R.litHtmlPolyfillSupport;null==lt||lt(G,et),(null!==(E=R.litHtmlVersions)&&void 0!==E?E:R.litHtmlVersions=[]).push("2.4.0");
59
+ var E;C.finalized=!0,C.elementProperties=new Map,C.elementStyles=[],C.shadowRootOptions={mode:"open"},null==O||O({ReactiveElement:C}),(null!==(g=m.reactiveElementVersions)&&void 0!==g?g:m.reactiveElementVersions=[]).push("1.4.1");const R=window,M=R.trustedTypes,z=M?M.createPolicy("lit-html",{createHTML:t=>t}):void 0,U=`lit$${(Math.random()+"").slice(9)}$`,F="?"+U,j=`<${F}>`,B=document,A=(t="")=>B.createComment(t),T=t=>null===t||"object"!=typeof t&&"function"!=typeof t,L=Array.isArray,_=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,P=/-->/g,D=/>/g,I=RegExp(">|[ \t\n\f\r](?:([^\\s\"'>=/]+)([ \t\n\f\r]*=[ \t\n\f\r]*(?:[^ \t\n\f\r\"'`<>=]|(\"|')|))|$)","g"),W=/'/g,H=/"/g,K=/^(?:script|style|textarea|title)$/i,Z=(t=>(e,...i)=>({_$litType$:t,strings:e,values:i}))(1),V=Symbol.for("lit-noChange"),J=Symbol.for("lit-nothing"),q=new WeakMap,X=B.createTreeWalker(B,129,null,!1),Y=(t,e)=>{const i=t.length-1,o=[];let n,r=2===e?"<svg>":"",s=_;for(let e=0;e<i;e++){const i=t[e];let a,l,p=-1,h=0;for(;h<i.length&&(s.lastIndex=h,l=s.exec(i),null!==l);)h=s.lastIndex,s===_?"!--"===l[1]?s=P:void 0!==l[1]?s=D:void 0!==l[2]?(K.test(l[2])&&(n=RegExp("</"+l[2],"g")),s=I):void 0!==l[3]&&(s=I):s===I?">"===l[0]?(s=null!=n?n:_,p=-1):void 0===l[1]?p=-2:(p=s.lastIndex-l[2].length,a=l[1],s=void 0===l[3]?I:'"'===l[3]?H:W):s===H||s===W?s=I:s===P||s===D?s=_:(s=I,n=void 0);const c=s===I&&t[e+1].startsWith("/>")?" ":"";r+=s===_?i+j:p>=0?(o.push(a),i.slice(0,p)+"$lit$"+i.slice(p)+U+c):i+U+(-2===p?(o.push(void 0),e):c)}const a=r+(t[i]||"<?>")+(2===e?"</svg>":"");if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return[void 0!==z?z.createHTML(a):a,o]};class G{constructor({strings:t,_$litType$:e},i){let o;this.parts=[];let n=0,r=0;const s=t.length-1,a=this.parts,[l,p]=Y(t,e);if(this.el=G.createElement(l,i),X.currentNode=this.el.content,2===e){const t=this.el.content,e=t.firstChild;e.remove(),t.append(...e.childNodes)}for(;null!==(o=X.nextNode())&&a.length<s;){if(1===o.nodeType){if(o.hasAttributes()){const t=[];for(const e of o.getAttributeNames())if(e.endsWith("$lit$")||e.startsWith(U)){const i=p[r++];if(t.push(e),void 0!==i){const t=o.getAttribute(i.toLowerCase()+"$lit$").split(U),e=/([.?@])?(.*)/.exec(i);a.push({type:1,index:n,name:e[2],strings:t,ctor:"."===e[1]?ot:"?"===e[1]?rt:"@"===e[1]?st:it})}else a.push({type:6,index:n})}for(const e of t)o.removeAttribute(e)}if(K.test(o.tagName)){const t=o.textContent.split(U),e=t.length-1;if(e>0){o.textContent=M?M.emptyScript:"";for(let i=0;i<e;i++)o.append(t[i],A()),X.nextNode(),a.push({type:2,index:++n});o.append(t[e],A())}}}else if(8===o.nodeType)if(o.data===F)a.push({type:2,index:n});else{let t=-1;for(;-1!==(t=o.data.indexOf(U,t+1));)a.push({type:7,index:n}),t+=U.length-1}n++}}static createElement(t,e){const i=B.createElement("template");return i.innerHTML=t,i}}function Q(t,e,i=t,o){var n,r,s,a;if(e===V)return e;let l=void 0!==o?null===(n=i._$Co)||void 0===n?void 0:n[o]:i._$Cl;const p=T(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,o)),void 0!==o?(null!==(s=(a=i)._$Co)&&void 0!==s?s:a._$Co=[])[o]=l:i._$Cl=l),void 0!==l&&(e=Q(t,l._$AS(t,e.values),l,o)),e}class tt{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,n=(null!==(e=null==t?void 0:t.creationScope)&&void 0!==e?e:B).importNode(i,!0);X.currentNode=n;let r=X.nextNode(),s=0,a=0,l=o[0];for(;void 0!==l;){if(s===l.index){let e;2===l.type?e=new et(r,r.nextSibling,this,t):1===l.type?e=new l.ctor(r,l.name,l.strings,this,t):6===l.type&&(e=new at(r,this,t)),this.u.push(e),l=o[++a]}s!==(null==l?void 0:l.index)&&(r=X.nextNode(),s++)}return n}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 et{constructor(t,e,i,o){var n;this.type=2,this._$AH=J,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=i,this.options=o,this._$Cm=null===(n=null==o?void 0:o.isConnected)||void 0===n||n}get _$AU(){var t,e;return null!==(e=null===(t=this._$AM)||void 0===t?void 0:t._$AU)&&void 0!==e?e:this._$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=Q(this,t,e),T(t)?t===J||null==t||""===t?(this._$AH!==J&&this._$AR(),this._$AH=J):t!==this._$AH&&t!==V&&this.g(t):void 0!==t._$litType$?this.$(t):void 0!==t.nodeType?this.T(t):(t=>L(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!==J&&T(this._$AH)?this._$AA.nextSibling.data=t:this.T(B.createTextNode(t)),this._$AH=t}$(t){var e;const{values:i,_$litType$:o}=t,n="number"==typeof o?this._$AC(t):(void 0===o.el&&(o.el=G.createElement(o.h,this.options)),o);if((null===(e=this._$AH)||void 0===e?void 0:e._$AD)===n)this._$AH.p(i);else{const t=new tt(n,this),e=t.v(this.options);t.p(i),this.T(e),this._$AH=t}}_$AC(t){let e=q.get(t.strings);return void 0===e&&q.set(t.strings,e=new G(t)),e}k(t){L(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let i,o=0;for(const n of t)o===e.length?e.push(i=new et(this.O(A()),this.O(A()),this,this.options)):i=e[o],i._$AI(n),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 it{constructor(t,e,i,o,n){this.type=1,this._$AH=J,this._$AN=void 0,this.element=t,this.name=e,this._$AM=o,this.options=n,i.length>2||""!==i[0]||""!==i[1]?(this._$AH=Array(i.length-1).fill(new String),this.strings=i):this._$AH=J}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,e=this,i,o){const n=this.strings;let r=!1;if(void 0===n)t=Q(this,t,e,0),r=!T(t)||t!==this._$AH&&t!==V,r&&(this._$AH=t);else{const o=t;let s,a;for(t=n[0],s=0;s<n.length-1;s++)a=Q(this,o[i+s],e,s),a===V&&(a=this._$AH[s]),r||(r=!T(a)||a!==this._$AH[s]),a===J?t=J:t!==J&&(t+=(null!=a?a:"")+n[s+1]),this._$AH[s]=a}r&&!o&&this.j(t)}j(t){t===J?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}}class ot extends it{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===J?void 0:t}}const nt=M?M.emptyScript:"";class rt extends it{constructor(){super(...arguments),this.type=4}j(t){t&&t!==J?this.element.setAttribute(this.name,nt):this.element.removeAttribute(this.name)}}class st extends it{constructor(t,e,i,o,n){super(t,e,i,o,n),this.type=5}_$AI(t,e=this){var i;if((t=null!==(i=Q(this,t,e,0))&&void 0!==i?i:J)===V)return;const o=this._$AH,n=t===J&&o!==J||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,r=t!==J&&(o===J||n);n&&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 at{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){Q(this,t)}}const lt=R.litHtmlPolyfillSupport;null==lt||lt(G,et),(null!==(E=R.litHtmlVersions)&&void 0!==E?E:R.litHtmlVersions=[]).push("2.4.0");
60
60
  /**
61
61
  * @license
62
62
  * Copyright 2017 Google LLC
@@ -67,12 +67,12 @@ var pt,ht;class ct extends C{constructor(){super(...arguments),this.renderOption
67
67
  * @license
68
68
  * Copyright 2021 Google LLC
69
69
  * SPDX-License-Identifier: BSD-3-Clause
70
- */var vt=function(t,e,i,o){for(var n,r=arguments.length,s=r<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,a=t.length-1;a>=0;a--)(n=t[a])&&(s=(r<3?n(s):r>3?n(e,i,s):n(e,i))||s);return r>3&&s&&Object.defineProperty(e,i,s),s};class bt extends(function(t){return class extends t{createRenderRoot(){const t=this.constructor,{registry:e,elementDefinitions:i,shadowRootOptions:o}=t;i&&!e&&(t.registry=new CustomElementRegistry,Object.entries(i).forEach((([e,i])=>t.registry.define(e,i))));const n=this.renderOptions.creationScope=this.attachShadow({...o,customElements:t.registry});return b(n,this.constructor.elementStyles),n}}}(ct)){getStyles(){return[]}getTemplate(){return null}render(){let t=this.getStyles();return Array.isArray(t)||(t=[t]),Z`
70
+ */var vt=function(t,e,i,o){for(var n,r=arguments.length,s=r<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,a=t.length-1;a>=0;a--)(n=t[a])&&(s=(r<3?n(s):r>3?n(e,i,s):n(e,i))||s);return r>3&&s&&Object.defineProperty(e,i,s),s};class bt extends(function(t){return class extends t{createRenderRoot(){const t=this.constructor,{registry:e,elementDefinitions:i,shadowRootOptions:o}=t;i&&!e&&(t.registry=new CustomElementRegistry,Object.entries(i).forEach((([e,i])=>t.registry.define(e,i))));const n=this.renderOptions.creationScope=this.attachShadow({...o,customElements:t.registry});return b(n,this.constructor.elementStyles),n}}}(ct)){constructor(){super(...arguments),this.exportpartsDebouncer=new e(5)}getStyles(){return[]}getTemplate(){return null}render(){let t=this.getStyles();return Array.isArray(t)||(t=[t]),Z`
71
71
  ${t.map((t=>Z`
72
72
  <style>${t}</style>
73
73
  `))}
74
74
  ${this.getTemplate()}
75
- `}updated(t){super.updated(t),setTimeout((()=>{var e;this.contentAvailableCallback(t),(null===(e=this.exportpartsPrefix)||void 0===e?void 0:e.trim())?this.setExportpartsAttribute([this.exportpartsPrefix]):null!=this.exportpartsPrefixes&&this.exportpartsPrefixes.length>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)}),0)}setExportpartsAttribute(t){var e,i,o,n,r,s;const a=t=>null!=t&&t.trim().length>0,l=t.filter(a).map((t=>t.trim()));if(0===l.length)return void this.removeAttribute("exportparts");const p=new Set;for(let t of null!==(i=null===(e=this.shadowRoot)||void 0===e?void 0:e.querySelectorAll("[part],[exportparts]"))&&void 0!==i?i:[]){const e=null!==(n=null===(o=t.getAttribute("part"))||void 0===o?void 0:o.split(" "))&&void 0!==n?n:[],i=null!==(s=null===(r=t.getAttribute("exportparts"))||void 0===r?void 0:r.split(",").map((t=>t.split(":")[1])))&&void 0!==s?s:[];new Array(...e,...i).filter(a).map((t=>t.trim())).forEach((t=>p.add(t)))}if(0===p.size)return void this.removeAttribute("exportparts");const h=[...p.values()].flatMap((t=>l.map((e=>`${t}:${e}--${t}`))));this.setAttribute("exportparts",[...this.part,...h].join(", "))}contentAvailableCallback(t){}}vt([o()],bt.prototype,"exportpartsPrefix",void 0),vt([function(t,e){const i=()=>JSON.parse(JSON.stringify(t));return o({type:Object,converter:{fromAttribute:t=>{if(null==t)return i();try{return JSON.parse(t)}catch{return i()}},toAttribute:t=>JSON.stringify(t)},...null!=e?e:{}})}([])],bt.prototype,"exportpartsPrefixes",void 0);const xt=v`
75
+ `}updated(t){super.updated(t),setTimeout((()=>{this.contentAvailableCallback(t),this.scheduleExportpartsUpdate()}),0)}contentAvailableCallback(t){}scheduleExportpartsUpdate(){this.exportpartsDebouncer.run((()=>{var t;(null===(t=this.exportpartsPrefix)||void 0===t?void 0:t.trim())?this.setExportpartsAttribute([this.exportpartsPrefix]):null!=this.exportpartsPrefixes&&this.exportpartsPrefixes.length>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)}))}setExportpartsAttribute(t){var e,i,o,n,r,s;const a=t=>null!=t&&t.trim().length>0,l=t.filter(a).map((t=>t.trim()));if(0===l.length)return void this.removeAttribute("exportparts");const p=new Set;for(let t of null!==(i=null===(e=this.shadowRoot)||void 0===e?void 0:e.querySelectorAll("[part],[exportparts]"))&&void 0!==i?i:[]){const e=null!==(n=null===(o=t.getAttribute("part"))||void 0===o?void 0:o.split(" "))&&void 0!==n?n:[],i=null!==(s=null===(r=t.getAttribute("exportparts"))||void 0===r?void 0:r.split(",").map((t=>t.split(":")[1])))&&void 0!==s?s:[];new Array(...e,...i).filter(a).map((t=>t.trim())).forEach((t=>p.add(t)))}if(0===p.size)return void this.removeAttribute("exportparts");const h=[...p.values()].flatMap((t=>l.map((e=>`${t}:${e}--${t}`))));this.setAttribute("exportparts",[...this.part,...h].join(", "))}}vt([o()],bt.prototype,"exportpartsPrefix",void 0),vt([function(t,e){const i=()=>JSON.parse(JSON.stringify(t));return o({type:Object,converter:{fromAttribute:t=>{if(null==t)return i();try{return JSON.parse(t)}catch{return i()}},toAttribute:t=>JSON.stringify(t)},...null!=e?e:{}})}([])],bt.prototype,"exportpartsPrefixes",void 0);const xt=v`
76
76
  .ft-no-text-select {
77
77
  -webkit-touch-callout: none;
78
78
  -webkit-user-select: none;
@@ -103,7 +103,7 @@ var pt,ht;class ct extends C{constructor(){super(...arguments),this.renderOption
103
103
  * @license
104
104
  * Copyright 2018 Google LLC
105
105
  * SPDX-License-Identifier: BSD-3-Clause
106
- */const Ct=kt(class extends Nt{constructor(t){var e;if(super(t),t.type!==Ot||"class"!==t.name||(null===(e=t.strings)||void 0===e?void 0:e.length)>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(t){return" "+Object.keys(t).filter((e=>t[e])).join(" ")+" "}update(t,[e]){var i,o;if(void 0===this.nt){this.nt=new Set,void 0!==t.strings&&(this.st=new Set(t.strings.join(" ").split(/\s/).filter((t=>""!==t))));for(const t in e)e[t]&&!(null===(i=this.st)||void 0===i?void 0:i.has(t))&&this.nt.add(t);return this.render(e)}const n=t.element.classList;this.nt.forEach((t=>{t in e||(n.remove(t),this.nt.delete(t))}));for(const t in e){const i=!!e[t];i===this.nt.has(t)||(null===(o=this.st)||void 0===o?void 0:o.has(t))||(i?(n.add(t),this.nt.add(t)):(n.remove(t),this.nt.delete(t)))}return V}}),Et=dt.extend("--ft-ripple-color",yt.colorContent),Rt={color:Et,backgroundColor:dt.extend("--ft-ripple-background-color",Et),opacityContentOnSurfacePressed:dt.external(yt.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:dt.external(yt.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:dt.external(yt.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:dt.external(yt.opacityContentOnSurfaceSelected,"Design system")},Mt=dt.extend("--ft-ripple-color",yt.colorPrimary),zt=Mt,Ft=dt.extend("--ft-ripple-background-color",Mt),Ut=dt.extend("--ft-ripple-color",yt.colorSecondary),jt=Ut,Bt=dt.extend("--ft-ripple-background-color",Ut),At=v`
106
+ */const Ct=kt(class extends Nt{constructor(t){var e;if(super(t),t.type!==Ot||"class"!==t.name||(null===(e=t.strings)||void 0===e?void 0:e.length)>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(t){return" "+Object.keys(t).filter((e=>t[e])).join(" ")+" "}update(t,[e]){var i,o;if(void 0===this.nt){this.nt=new Set,void 0!==t.strings&&(this.st=new Set(t.strings.join(" ").split(/\s/).filter((t=>""!==t))));for(const t in e)e[t]&&!(null===(i=this.st)||void 0===i?void 0:i.has(t))&&this.nt.add(t);return this.render(e)}const n=t.element.classList;this.nt.forEach((t=>{t in e||(n.remove(t),this.nt.delete(t))}));for(const t in e){const i=!!e[t];i===this.nt.has(t)||(null===(o=this.st)||void 0===o?void 0:o.has(t))||(i?(n.add(t),this.nt.add(t)):(n.remove(t),this.nt.delete(t)))}return V}}),Et=dt.extend("--ft-ripple-color",yt.colorContent),Rt={color:Et,backgroundColor:dt.extend("--ft-ripple-background-color",Et),opacityContentOnSurfacePressed:dt.external(yt.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:dt.external(yt.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:dt.external(yt.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:dt.external(yt.opacityContentOnSurfaceSelected,"Design system")},Mt=dt.extend("--ft-ripple-color",yt.colorPrimary),zt=Mt,Ut=dt.extend("--ft-ripple-background-color",Mt),Ft=dt.extend("--ft-ripple-color",yt.colorSecondary),jt=Ft,Bt=dt.extend("--ft-ripple-background-color",Ft),At=v`
107
107
  :host {
108
108
  display: contents;
109
109
  }
@@ -141,7 +141,7 @@ var pt,ht;class ct extends C{constructor(){super(...arguments),this.renderOption
141
141
  }
142
142
 
143
143
  .ft-ripple.ft-ripple--primary .ft-ripple--background {
144
- background-color: ${Ft};
144
+ background-color: ${Ut};
145
145
  }
146
146
 
147
147
  .ft-ripple.ft-ripple--primary .ft-ripple--effect {
@@ -215,7 +215,7 @@ var pt,ht;class ct extends C{constructor(){super(...arguments),this.renderOption
215
215
  * Copyright 2020 Google LLC
216
216
  * SPDX-License-Identifier: BSD-3-Clause
217
217
  */
218
- const _t=Symbol.for(""),Pt=t=>{if((null==t?void 0:t.r)===_t)return null==t?void 0:t._$litStatic$},Dt=t=>({_$litStatic$:t,r:_t}),It=new Map,Wt=(t=>(e,...i)=>{const o=i.length;let n,r;const s=[],a=[];let l,p=0,h=!1;for(;p<o;){for(l=e[p];p<o&&void 0!==(r=i[p],n=Pt(r));)l+=n+e[++p],h=!0;a.push(r),s.push(l),p++}if(p===o&&s.push(e[o]),h){const t=s.join("$$lit$$");void 0===(e=It.get(t))&&(s.raw=s,It.set(t,e=s)),i=a}return t(e,...i)})(Z);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 Kt=dt.extend("--ft-typography-font-family",yt.titleFont),Zt=dt.extend("--ft-typography-font-family",yt.contentFont),Vt={fontFamily:Zt,fontSize:dt.create("--ft-typography-font-size","SIZE","16px"),fontWeight:dt.create("--ft-typography-font-weight","UNKNOWN","normal"),letterSpacing:dt.create("--ft-typography-letter-spacing","SIZE","0.496px"),lineHeight:dt.create("--ft-typography-line-height","NUMBER","1.5"),textTransform:dt.create("--ft-typography-text-transform","UNKNOWN","inherit")},Jt=dt.extend("--ft-typography-title-font-family",Kt),qt=dt.extend("--ft-typography-title-font-size",Vt.fontSize,"20px"),Xt=dt.extend("--ft-typography-title-font-weight",Vt.fontWeight,"normal"),Yt=dt.extend("--ft-typography-title-letter-spacing",Vt.letterSpacing,"0.15px"),Gt=dt.extend("--ft-typography-title-line-height",Vt.lineHeight,"1.2"),Qt=dt.extend("--ft-typography-title-text-transform",Vt.textTransform,"inherit"),te=dt.extend("--ft-typography-title-dense-font-family",Kt),ee=dt.extend("--ft-typography-title-dense-font-size",Vt.fontSize,"14px"),ie=dt.extend("--ft-typography-title-dense-font-weight",Vt.fontWeight,"normal"),oe=dt.extend("--ft-typography-title-dense-letter-spacing",Vt.letterSpacing,"0.105px"),ne=dt.extend("--ft-typography-title-dense-line-height",Vt.lineHeight,"1.7"),re=dt.extend("--ft-typography-title-dense-text-transform",Vt.textTransform,"inherit"),se=dt.extend("--ft-typography-subtitle1-font-family",Zt),ae=dt.extend("--ft-typography-subtitle1-font-size",Vt.fontSize,"16px"),le=dt.extend("--ft-typography-subtitle1-font-weight",Vt.fontWeight,"600"),pe=dt.extend("--ft-typography-subtitle1-letter-spacing",Vt.letterSpacing,"0.144px"),he=dt.extend("--ft-typography-subtitle1-line-height",Vt.lineHeight,"1.5"),ce=dt.extend("--ft-typography-subtitle1-text-transform",Vt.textTransform,"inherit"),fe=dt.extend("--ft-typography-subtitle2-font-family",Zt),de=dt.extend("--ft-typography-subtitle2-font-size",Vt.fontSize,"14px"),ue=dt.extend("--ft-typography-subtitle2-font-weight",Vt.fontWeight,"normal"),ye=dt.extend("--ft-typography-subtitle2-letter-spacing",Vt.letterSpacing,"0.098px"),ve=dt.extend("--ft-typography-subtitle2-line-height",Vt.lineHeight,"1.7"),be=dt.extend("--ft-typography-subtitle2-text-transform",Vt.textTransform,"inherit"),xe=dt.extend("--ft-typography-body1-font-family",Zt),ge=dt.extend("--ft-typography-body1-font-size",Vt.fontSize,"16px"),me=dt.extend("--ft-typography-body1-font-weight",Vt.fontWeight,"normal"),we=dt.extend("--ft-typography-body1-letter-spacing",Vt.letterSpacing,"0.496px"),$e=dt.extend("--ft-typography-body1-line-height",Vt.lineHeight,"1.5"),Oe=dt.extend("--ft-typography-body1-text-transform",Vt.textTransform,"inherit"),Se=dt.extend("--ft-typography-body2-font-family",Zt),ke=dt.extend("--ft-typography-body2-font-size",Vt.fontSize,"14px"),Ne=dt.extend("--ft-typography-body2-font-weight",Vt.fontWeight,"normal"),Ce=dt.extend("--ft-typography-body2-letter-spacing",Vt.letterSpacing,"0.252px"),Ee=dt.extend("--ft-typography-body2-line-height",Vt.lineHeight,"1.4"),Re=dt.extend("--ft-typography-body2-text-transform",Vt.textTransform,"inherit"),Me=dt.extend("--ft-typography-caption-font-family",Zt),ze=dt.extend("--ft-typography-caption-font-size",Vt.fontSize,"12px"),Fe=dt.extend("--ft-typography-caption-font-weight",Vt.fontWeight,"normal"),Ue=dt.extend("--ft-typography-caption-letter-spacing",Vt.letterSpacing,"0.396px"),je=dt.extend("--ft-typography-caption-line-height",Vt.lineHeight,"1.33"),Be=dt.extend("--ft-typography-caption-text-transform",Vt.textTransform,"inherit"),Ae=dt.extend("--ft-typography-breadcrumb-font-family",Zt),Te=dt.extend("--ft-typography-breadcrumb-font-size",Vt.fontSize,"10px"),Le=dt.extend("--ft-typography-breadcrumb-font-weight",Vt.fontWeight,"normal"),_e=dt.extend("--ft-typography-breadcrumb-letter-spacing",Vt.letterSpacing,"0.33px"),Pe=dt.extend("--ft-typography-breadcrumb-line-height",Vt.lineHeight,"1.6"),De=dt.extend("--ft-typography-breadcrumb-text-transform",Vt.textTransform,"inherit"),Ie=dt.extend("--ft-typography-overline-font-family",Zt),We=dt.extend("--ft-typography-overline-font-size",Vt.fontSize,"10px"),He=dt.extend("--ft-typography-overline-font-weight",Vt.fontWeight,"normal"),Ke=dt.extend("--ft-typography-overline-letter-spacing",Vt.letterSpacing,"1.5px"),Ze=dt.extend("--ft-typography-overline-line-height",Vt.lineHeight,"1.6"),Ve=dt.extend("--ft-typography-overline-text-transform",Vt.textTransform,"uppercase"),Je={fontFamily:dt.extend("--ft-typography-button-font-family",Zt),fontSize:dt.extend("--ft-typography-button-font-size",Vt.fontSize,"14px"),fontWeight:dt.extend("--ft-typography-button-font-weight",Vt.fontWeight,"600"),letterSpacing:dt.extend("--ft-typography-button-letter-spacing",Vt.letterSpacing,"1.246px"),lineHeight:dt.extend("--ft-typography-button-line-height",Vt.lineHeight,"1.15"),textTransform:dt.extend("--ft-typography-button-text-transform",Vt.textTransform,"uppercase")},qe=v`
218
+ const _t=Symbol.for(""),Pt=t=>{if((null==t?void 0:t.r)===_t)return null==t?void 0:t._$litStatic$},Dt=t=>({_$litStatic$:t,r:_t}),It=new Map,Wt=(t=>(e,...i)=>{const o=i.length;let n,r;const s=[],a=[];let l,p=0,h=!1;for(;p<o;){for(l=e[p];p<o&&void 0!==(r=i[p],n=Pt(r));)l+=n+e[++p],h=!0;a.push(r),s.push(l),p++}if(p===o&&s.push(e[o]),h){const t=s.join("$$lit$$");void 0===(e=It.get(t))&&(s.raw=s,It.set(t,e=s)),i=a}return t(e,...i)})(Z);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 Kt=dt.extend("--ft-typography-font-family",yt.titleFont),Zt=dt.extend("--ft-typography-font-family",yt.contentFont),Vt={fontFamily:Zt,fontSize:dt.create("--ft-typography-font-size","SIZE","16px"),fontWeight:dt.create("--ft-typography-font-weight","UNKNOWN","normal"),letterSpacing:dt.create("--ft-typography-letter-spacing","SIZE","0.496px"),lineHeight:dt.create("--ft-typography-line-height","NUMBER","1.5"),textTransform:dt.create("--ft-typography-text-transform","UNKNOWN","inherit")},Jt=dt.extend("--ft-typography-title-font-family",Kt),qt=dt.extend("--ft-typography-title-font-size",Vt.fontSize,"20px"),Xt=dt.extend("--ft-typography-title-font-weight",Vt.fontWeight,"normal"),Yt=dt.extend("--ft-typography-title-letter-spacing",Vt.letterSpacing,"0.15px"),Gt=dt.extend("--ft-typography-title-line-height",Vt.lineHeight,"1.2"),Qt=dt.extend("--ft-typography-title-text-transform",Vt.textTransform,"inherit"),te=dt.extend("--ft-typography-title-dense-font-family",Kt),ee=dt.extend("--ft-typography-title-dense-font-size",Vt.fontSize,"14px"),ie=dt.extend("--ft-typography-title-dense-font-weight",Vt.fontWeight,"normal"),oe=dt.extend("--ft-typography-title-dense-letter-spacing",Vt.letterSpacing,"0.105px"),ne=dt.extend("--ft-typography-title-dense-line-height",Vt.lineHeight,"1.7"),re=dt.extend("--ft-typography-title-dense-text-transform",Vt.textTransform,"inherit"),se=dt.extend("--ft-typography-subtitle1-font-family",Zt),ae=dt.extend("--ft-typography-subtitle1-font-size",Vt.fontSize,"16px"),le=dt.extend("--ft-typography-subtitle1-font-weight",Vt.fontWeight,"600"),pe=dt.extend("--ft-typography-subtitle1-letter-spacing",Vt.letterSpacing,"0.144px"),he=dt.extend("--ft-typography-subtitle1-line-height",Vt.lineHeight,"1.5"),ce=dt.extend("--ft-typography-subtitle1-text-transform",Vt.textTransform,"inherit"),fe=dt.extend("--ft-typography-subtitle2-font-family",Zt),de=dt.extend("--ft-typography-subtitle2-font-size",Vt.fontSize,"14px"),ue=dt.extend("--ft-typography-subtitle2-font-weight",Vt.fontWeight,"normal"),ye=dt.extend("--ft-typography-subtitle2-letter-spacing",Vt.letterSpacing,"0.098px"),ve=dt.extend("--ft-typography-subtitle2-line-height",Vt.lineHeight,"1.7"),be=dt.extend("--ft-typography-subtitle2-text-transform",Vt.textTransform,"inherit"),xe=dt.extend("--ft-typography-body1-font-family",Zt),ge=dt.extend("--ft-typography-body1-font-size",Vt.fontSize,"16px"),me=dt.extend("--ft-typography-body1-font-weight",Vt.fontWeight,"normal"),we=dt.extend("--ft-typography-body1-letter-spacing",Vt.letterSpacing,"0.496px"),$e=dt.extend("--ft-typography-body1-line-height",Vt.lineHeight,"1.5"),Oe=dt.extend("--ft-typography-body1-text-transform",Vt.textTransform,"inherit"),Se=dt.extend("--ft-typography-body2-font-family",Zt),ke=dt.extend("--ft-typography-body2-font-size",Vt.fontSize,"14px"),Ne=dt.extend("--ft-typography-body2-font-weight",Vt.fontWeight,"normal"),Ce=dt.extend("--ft-typography-body2-letter-spacing",Vt.letterSpacing,"0.252px"),Ee=dt.extend("--ft-typography-body2-line-height",Vt.lineHeight,"1.4"),Re=dt.extend("--ft-typography-body2-text-transform",Vt.textTransform,"inherit"),Me=dt.extend("--ft-typography-caption-font-family",Zt),ze=dt.extend("--ft-typography-caption-font-size",Vt.fontSize,"12px"),Ue=dt.extend("--ft-typography-caption-font-weight",Vt.fontWeight,"normal"),Fe=dt.extend("--ft-typography-caption-letter-spacing",Vt.letterSpacing,"0.396px"),je=dt.extend("--ft-typography-caption-line-height",Vt.lineHeight,"1.33"),Be=dt.extend("--ft-typography-caption-text-transform",Vt.textTransform,"inherit"),Ae=dt.extend("--ft-typography-breadcrumb-font-family",Zt),Te=dt.extend("--ft-typography-breadcrumb-font-size",Vt.fontSize,"10px"),Le=dt.extend("--ft-typography-breadcrumb-font-weight",Vt.fontWeight,"normal"),_e=dt.extend("--ft-typography-breadcrumb-letter-spacing",Vt.letterSpacing,"0.33px"),Pe=dt.extend("--ft-typography-breadcrumb-line-height",Vt.lineHeight,"1.6"),De=dt.extend("--ft-typography-breadcrumb-text-transform",Vt.textTransform,"inherit"),Ie=dt.extend("--ft-typography-overline-font-family",Zt),We=dt.extend("--ft-typography-overline-font-size",Vt.fontSize,"10px"),He=dt.extend("--ft-typography-overline-font-weight",Vt.fontWeight,"normal"),Ke=dt.extend("--ft-typography-overline-letter-spacing",Vt.letterSpacing,"1.5px"),Ze=dt.extend("--ft-typography-overline-line-height",Vt.lineHeight,"1.6"),Ve=dt.extend("--ft-typography-overline-text-transform",Vt.textTransform,"uppercase"),Je={fontFamily:dt.extend("--ft-typography-button-font-family",Zt),fontSize:dt.extend("--ft-typography-button-font-size",Vt.fontSize,"14px"),fontWeight:dt.extend("--ft-typography-button-font-weight",Vt.fontWeight,"600"),letterSpacing:dt.extend("--ft-typography-button-letter-spacing",Vt.letterSpacing,"1.246px"),lineHeight:dt.extend("--ft-typography-button-line-height",Vt.lineHeight,"1.15"),textTransform:dt.extend("--ft-typography-button-text-transform",Vt.textTransform,"uppercase")},qe=v`
219
219
  .ft-typography--title {
220
220
  font-family: ${Jt};
221
221
  font-size: ${qt};
@@ -274,8 +274,8 @@ const _t=Symbol.for(""),Pt=t=>{if((null==t?void 0:t.r)===_t)return null==t?void
274
274
  .ft-typography--caption {
275
275
  font-family: ${Me};
276
276
  font-size: ${ze};
277
- font-weight: ${Fe};
278
- letter-spacing: ${Ue};
277
+ font-weight: ${Ue};
278
+ letter-spacing: ${Fe};
279
279
  line-height: ${je};
280
280
  text-transform: ${Be};
281
281
  }
@@ -495,7 +495,7 @@ class mi extends Nt{constructor(t){if(super(t),this.it=J,t.type!==St)throw Error
495
495
  ${wi(this.resolvedIcon)}
496
496
  <slot ?hidden=${t}></slot>
497
497
  </i>
498
- `}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 i=this.value||this.textContent;switch(this.variant){case Ni.file_format:this.resolvedIcon=null!==(t=Oi[i.toUpperCase()])&&void 0!==t?t:i;break;case Ni.fluid_topics:this.resolvedIcon=null!==(e=$i[i.toUpperCase()])&&void 0!==e?e:i;break;default:this.resolvedIcon=this.value||J}}firstUpdated(t){super.firstUpdated(t),setTimeout((()=>{this.resolveIcon()}))}}Ei.elementDefinitions={},Ei.styles=ki,Ci([o()],Ei.prototype,"variant",void 0),Ci([o()],Ei.prototype,"value",void 0),Ci([n()],Ei.prototype,"resolvedIcon",void 0),Ci([s("slot")],Ei.prototype,"slottedContent",void 0),p("ft-icon")(Ei);const Ri=dt.extend("--ft-button-color",yt.colorPrimary),Mi={backgroundColor:dt.extend("--ft-button-background-color",yt.colorSurface),borderRadius:dt.extend("--ft-button-border-radius",yt.borderRadiusL),color:Ri,fontSize:dt.extend("--ft-button-font-size",Je.fontSize),iconSize:dt.create("--ft-button-icon-size","SIZE","24px"),rippleColor:dt.extend("--ft-button-ripple-color",Ri),opacityDisabled:dt.external(yt.colorOpacityDisabled,"Design system")},zi=dt.extend("--ft-button-primary-color",dt.extend("--ft-button-color",yt.colorOnPrimary)),Fi={backgroundColor:dt.extend("--ft-button-primary-background-color",dt.extend("--ft-button-background-color",yt.colorPrimary)),color:zi,rippleColor:dt.extend("--ft-button-primary-ripple-color",zi)},Ui=dt.extend("--ft-button-dense-border-radius",dt.extend("--ft-button-border-radius",yt.borderRadiusM)),ji=[xt,v`
498
+ `}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 i=this.value||this.textContent;switch(this.variant){case Ni.file_format:this.resolvedIcon=null!==(t=Oi[i.toUpperCase()])&&void 0!==t?t:i;break;case Ni.fluid_topics:this.resolvedIcon=null!==(e=$i[i.toUpperCase()])&&void 0!==e?e:i;break;default:this.resolvedIcon=this.value||J}}firstUpdated(t){super.firstUpdated(t),setTimeout((()=>{this.resolveIcon()}))}}Ei.elementDefinitions={},Ei.styles=ki,Ci([o()],Ei.prototype,"variant",void 0),Ci([o()],Ei.prototype,"value",void 0),Ci([n()],Ei.prototype,"resolvedIcon",void 0),Ci([s("slot")],Ei.prototype,"slottedContent",void 0),p("ft-icon")(Ei);const Ri=dt.extend("--ft-button-color",yt.colorPrimary),Mi={backgroundColor:dt.extend("--ft-button-background-color",yt.colorSurface),borderRadius:dt.extend("--ft-button-border-radius",yt.borderRadiusL),color:Ri,fontSize:dt.extend("--ft-button-font-size",Je.fontSize),iconSize:dt.create("--ft-button-icon-size","SIZE","24px"),rippleColor:dt.extend("--ft-button-ripple-color",Ri),opacityDisabled:dt.external(yt.colorOpacityDisabled,"Design system")},zi=dt.extend("--ft-button-primary-color",dt.extend("--ft-button-color",yt.colorOnPrimary)),Ui={backgroundColor:dt.extend("--ft-button-primary-background-color",dt.extend("--ft-button-background-color",yt.colorPrimary)),color:zi,rippleColor:dt.extend("--ft-button-primary-ripple-color",zi)},Fi=dt.extend("--ft-button-dense-border-radius",dt.extend("--ft-button-border-radius",yt.borderRadiusM)),ji=[xt,v`
499
499
  :host {
500
500
  display: inline-block;
501
501
  max-width: 100%;
@@ -557,7 +557,7 @@ class mi extends Nt{constructor(t){if(super(t),this.it=J,t.type!==St)throw Error
557
557
  .ft-button--dense {
558
558
  --ft-button-internal-vertical-padding: 2px;
559
559
  --ft-button-internal-horizontal-padding: 4px;
560
- border-radius: ${Ui};
560
+ border-radius: ${Fi};
561
561
  }
562
562
 
563
563
  .ft-button--round {
@@ -570,9 +570,9 @@ class mi extends Nt{constructor(t){if(super(t),this.it=J,t.type!==St)throw Error
570
570
  }
571
571
 
572
572
  .ft-button.ft-button--primary {
573
- background-color: ${Fi.backgroundColor};
574
- --ft-button-internal-color: ${Fi.color};
575
- ${ut(Rt.color,Fi.rippleColor)};
573
+ background-color: ${Ui.backgroundColor};
574
+ --ft-button-internal-color: ${Ui.color};
575
+ ${ut(Rt.color,Ui.rippleColor)};
576
576
  }
577
577
 
578
578
  .ft-button.ft-button--outlined {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluid-topics/ft-collapsible",
3
- "version": "0.3.21",
3
+ "version": "0.3.22",
4
4
  "description": "Collapsible web component",
5
5
  "keywords": [
6
6
  "Lit"
@@ -19,9 +19,9 @@
19
19
  "url": "ssh://git@scm.mrs.antidot.net:2222/fluidtopics/ft-web-components.git"
20
20
  },
21
21
  "dependencies": {
22
- "@fluid-topics/ft-button": "0.3.21",
23
- "@fluid-topics/ft-wc-utils": "0.3.21",
22
+ "@fluid-topics/ft-button": "0.3.22",
23
+ "@fluid-topics/ft-wc-utils": "0.3.22",
24
24
  "lit": "2.2.8"
25
25
  },
26
- "gitHead": "44d378afb4633e1b5a2be18fb6051968816e577a"
26
+ "gitHead": "5ca6dd4bc6ec9dca0bf645892ec3f07e4b62683d"
27
27
  }